@dialpad/dialtone-vue 3.92.1 → 3.93.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.json +1 -1
- package/CHANGELOG.md +15 -0
- package/dist/component-documentation.json +1 -1
- package/dist/dialtone-vue.cjs +5 -5
- package/dist/dialtone-vue.js +2540 -2247
- package/dist/directives.cjs +1 -1
- package/dist/directives.js +32 -63
- package/dist/emoji-125c2250.cjs +1 -0
- package/dist/{emoji-8734fb7e.js → emoji-ee056efb.js} +237 -228
- package/dist/emoji.cjs +1 -1
- package/dist/emoji.js +3 -3
- package/dist/{message_input-42cfff5f.js → message_input-08860f81.js} +2 -2
- package/dist/{message_input-15d74c9c.cjs → message_input-ab3be145.cjs} +1 -1
- package/dist/message_input.cjs +1 -1
- package/dist/message_input.js +3 -3
- package/dist/style.css +1 -1
- package/dist/{tooltip-5fcb8c80.js → tooltip-02b802bc.js} +504 -475
- package/dist/tooltip-3390fc3b.cjs +25 -0
- package/dist/types/common/dates.d.ts +49 -0
- package/dist/types/common/dates.d.ts.map +1 -0
- package/dist/types/common/utils.d.ts +8 -0
- package/dist/types/common/utils.d.ts.map +1 -1
- package/dist/types/components/button/button.vue.d.ts +2 -1
- package/dist/types/components/button/button.vue.d.ts.map +1 -1
- package/dist/types/components/tooltip/tooltip.vue.d.ts +23 -1
- package/dist/types/components/tooltip/tooltip.vue.d.ts.map +1 -1
- package/dist/types/components/tooltip/tooltip_variants.vue.d.ts +0 -1
- package/dist/types/directives/tooltip/tooltip.d.ts.map +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/recipes/conversation_view/feed_pill/feed_item_pill.vue.d.ts +9 -0
- package/dist/types/recipes/conversation_view/feed_pill/feed_item_pill.vue.d.ts.map +1 -1
- package/package.json +3 -3
- package/dist/emoji-1de73abd.cjs +0 -1
- package/dist/tooltip-a095f59b.cjs +0 -25
package/dist/emoji.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./emoji-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./emoji-125c2250.cjs"),n=require("vue");require("./tooltip-3390fc3b.cjs");const a={name:"DtEmojiTextWrapper",components:{DtEmoji:e.DtEmoji},inheritAttrs:!1,props:{elementType:{type:String,default:"div"},size:{type:String,default:"500",validator:t=>Object.keys(e.ICON_SIZE_MODIFIERS).includes(t)}},data(){return{loadingEmojiJson:!0}},async created(){this.loadingEmojiJson=!1},methods:{replaceDtEmojis(t,o){const i=new RegExp(`(${t.join("|")})`,"g");return o.split(i).map(r=>t.includes(r)?n.h(e.DtEmoji,{...this.$attrs,class:"d-mx4 d-d-inline-block",size:this.size,code:r}):r)},searchVNodes(t){var i;if(typeof t=="string")return this.searchCodes(t);if(typeof t.type=="symbol")return this.searchCodes(t.children);if((i=t.props)!=null&&i.innerHTML)return this.searchVNodes(t.props.innerHTML);const o=Array.isArray(t.children)?t.children:[t.children];return n.h(t.type,t.props,o.map(s=>this.searchVNodes(s)))},replaceVueComponentVNodeContent(t){},searchCodes(t){const o=e.findShortCodes(t),i=e.findEmojis(t),s=[...o,...i];return s.length===0?t:this.replaceDtEmojis(s,t)}},render(){const t=this.$slots.default?this.$slots.default():[];return n.h(this.elementType,{"data-qa":"emoji-text-wrapper",class:this.$attrs.class},this.loadingEmojiJson?t:t.map(o=>this.searchVNodes(o)))}};exports.CDN_URL=e.CDN_URL;exports.DtEmoji=e.DtEmoji;exports.DtEmojiPicker=e._sfc_main;exports.EMOJIS_PER_ROW=e.EMOJIS_PER_ROW;exports.EMOJI_CATEGORIES=e.EMOJI_CATEGORIES;exports.EMOJI_SKIN_TONE_MODIFIERS=e.EMOJI_SKIN_TONE_MODIFIERS;exports.codeToEmojiData=e.codeToEmojiData;Object.defineProperty(exports,"customEmojiAssetUrl",{enumerable:!0,get:()=>e.customEmojiAssetUrl});exports.defaultEmojiAssetUrl=e.defaultEmojiAssetUrl;Object.defineProperty(exports,"emojiFileExtensionLarge",{enumerable:!0,get:()=>e.emojiFileExtensionLarge});Object.defineProperty(exports,"emojiFileExtensionSmall",{enumerable:!0,get:()=>e.emojiFileExtensionSmall});Object.defineProperty(exports,"emojiImageUrlLarge",{enumerable:!0,get:()=>e.emojiImageUrlLarge});Object.defineProperty(exports,"emojiImageUrlSmall",{enumerable:!0,get:()=>e.emojiImageUrlSmall});exports.emojiJson=e.emojiJson;exports.emojiVersion=e.emojiVersion;exports.filterValidShortCodes=e.filterValidShortCodes;exports.findEmojis=e.findEmojis;exports.findShortCodes=e.findShortCodes;exports.getEmojiData=e.getEmojiData;exports.setCustomEmojiJson=e.setCustomEmojiJson;exports.setCustomEmojiUrl=e.setCustomEmojiUrl;exports.setEmojiAssetUrlLarge=e.setEmojiAssetUrlLarge;exports.setEmojiAssetUrlSmall=e.setEmojiAssetUrlSmall;exports.shortcodeToEmojiData=e.shortcodeToEmojiData;exports.stringToUnicode=e.stringToUnicode;exports.unicodeToString=e.unicodeToString;exports.validateCustomEmojiJson=e.validateCustomEmojiJson;exports.DtEmojiTextWrapper=a;
|
package/dist/emoji.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { g as o, y as n, F as l, H as m } from "./emoji-
|
|
2
|
-
import { z as u, _ as f, E as g, B as S, A as y, a3 as I, N as D, K as T, R as _, P as C, Q as O, O as J, U, J as A, a4 as R, V as x, Z as M, Y as L, X as $, W as F, a0 as z, a2 as W, a1 as b, $ as k } from "./emoji-
|
|
1
|
+
import { g as o, y as n, F as l, H as m } from "./emoji-ee056efb.js";
|
|
2
|
+
import { z as u, _ as f, E as g, B as S, A as y, a3 as I, N as D, K as T, R as _, P as C, Q as O, O as J, U, J as A, a4 as R, V as x, Z as M, Y as L, X as $, W as F, a0 as z, a2 as W, a1 as b, $ as k } from "./emoji-ee056efb.js";
|
|
3
3
|
import { h as r } from "vue";
|
|
4
|
-
import "./tooltip-
|
|
4
|
+
import "./tooltip-02b802bc.js";
|
|
5
5
|
const h = {
|
|
6
6
|
name: "DtEmojiTextWrapper",
|
|
7
7
|
components: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as q,
|
|
1
|
+
import { _ as q, q as nl, g as tr, r as rl, h as hn, u as il, t as sl, d as ol, v as ll, w as al, x as cl, y as pn, z as dl, A as ul, D as fl } from "./tooltip-02b802bc.js";
|
|
2
2
|
import { openBlock as w, createElementBlock as B, toDisplayString as Se, createCommentVNode as V, createElementVNode as G, normalizeClass as H, resolveComponent as N, createBlock as F, resolveDynamicComponent as Xe, withCtx as D, mergeProps as St, renderSlot as L, createVNode as _, createTextVNode as Ht, withKeys as Ve, withModifiers as dt, toHandlers as as, createSlots as hl, renderList as cs, Teleport as ds, defineComponent as xt, ref as mn, onMounted as us, onBeforeUnmount as xr, h as Ke, getCurrentInstance as pl, watchEffect as ml, nextTick as gl, unref as yl, markRaw as gn, reactive as fs, provide as qr, customRef as bl, withDirectives as kl, Fragment as hs, vShow as Sl } from "vue";
|
|
3
|
-
import { a5 as xl, D as nt, y as Cl, b as yn, L as wl, j as vl, g as ps, a6 as El, a0 as Ml, a3 as ms, _ as Ol, f as Tl } from "./emoji-
|
|
3
|
+
import { a5 as xl, D as nt, y as Cl, b as yn, L as wl, j as vl, g as ps, a6 as El, a0 as Ml, a3 as ms, _ as Ol, f as Tl } from "./emoji-ee056efb.js";
|
|
4
4
|
const Ot = {
|
|
5
5
|
BUSY: "busy",
|
|
6
6
|
AWAY: "away",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const O=require("./tooltip-
|
|
1
|
+
"use strict";const O=require("./tooltip-3390fc3b.cjs"),f=require("vue"),R=require("./emoji-125c2250.cjs"),Ge={BUSY:"busy",AWAY:"away",OFFLINE:"offline",ACTIVE:"active"},Fi=[Ge.BUSY,Ge.AWAY,Ge.OFFLINE,Ge.ACTIVE],$o={name:"DtPresence",props:{presence:{type:String,default:Ge.ACTIVE,validator:n=>Fi.includes(n)},srText:{type:String,default:null}}},qo=["aria-live"],Ko={key:0,"data-qa":"dt-presence-sr-text",class:"sr-only"};function Wo(n,e,t,r,i,s){return f.openBlock(),f.createElementBlock("div",{class:"d-presence","data-qa":"dt-presence",role:"status","aria-live":n.$attrs.ariaLive||"off"},[t.srText?(f.openBlock(),f.createElementBlock("span",Ko,f.toDisplayString(t.srText),1)):f.createCommentVNode("",!0),f.createElementVNode("div",{class:f.normalizeClass(["d-presence__inner",{"d-presence__inner--active":t.presence==="active","d-presence__inner--away":t.presence==="away","d-presence__inner--busy":t.presence==="busy","d-presence__inner--offline":t.presence==="offline"}])},null,2)],8,qo)}const Vi=O._export_sfc($o,[["render",Wo]]),_t={xs:"d-avatar--xs",sm:"d-avatar--sm",md:"d-avatar--md",lg:"d-avatar--lg",xl:"d-avatar--xl"},zi={default:"",icon:"d-avatar__icon",initials:"d-avatar__initials"},ji={md:"d-avatar__presence--md",lg:"d-avatar__presence--lg"},Rn={NONE:"",BUSY:"busy",AWAY:"away",OFFLINE:"offline",ACTIVE:"active"},Hi={xs:"100",sm:"200",md:"300",lg:"500",xl:"600"},$i=["100","200","300","400","500","600","700","800","900","1000","1100","1200","1300","1400","1500","1600","1700","1800"],Bn=n=>n>1;function Jo(){return[void 0,...Object.keys(R.dialtoneIcons).map(n=>O.pascalCaseToKebabCase(n))]}const Uo=n=>{if(typeof n!="string"||!n.trim())return"";const e=n.trim().split(/\s+/g);return e.length===1?e.join("").substring(0,2):e.filter((t,r)=>r===0||r===e.length-1).map(t=>t.slice(0,1).toUpperCase()).join("")};const Go=Jo(),Yo={name:"DtAvatar",components:{DtPresence:Vi,DtIcon:R.DtIcon},inheritAttrs:!1,props:{id:{type:String,default(){return O.getUniqueString()}},seed:{type:String,default:void 0},color:{type:String,default:void 0},size:{type:String,default:"md",validator:n=>Object.keys(_t).includes(n)},avatarClass:{type:[String,Array,Object],default:""},canvasClass:{type:[String,Array,Object],default:""},iconClass:{type:[String,Array,Object],default:""},presence:{type:String,default:Rn.NONE,validator:n=>Object.values(Rn).includes(n)},presenceProps:{type:Object,default:()=>({})},group:{type:Number,default:void 0,validator:n=>Bn(n)},overlayIcon:{type:String,default:""},overlayText:{type:String,default:""},overlayClass:{type:[String,Array,Object],default:""},imageSrc:{type:String,default:""},imageAlt:{type:String,default:""},iconName:{type:String,default:void 0,validator:n=>Go.includes(n)},iconSize:{type:String,default:"",validator:n=>!n||Object.keys(R.ICON_SIZE_MODIFIERS).includes(n)},fullName:{type:String,default:""},clickable:{type:Boolean,default:!1}},emits:["click"],data(){return{AVATAR_SIZE_MODIFIERS:_t,AVATAR_KIND_MODIFIERS:zi,AVATAR_PRESENCE_SIZE_MODIFIERS:ji,AVATAR_ICON_SIZES:Hi,imageLoadedSuccessfully:null,formattedInitials:"",initializing:!1}},computed:{isNotIconType(){return!this.iconName},avatarClasses(){return["d-avatar",_t[this.validatedSize],this.avatarClass,{"d-avatar--group":this.showGroup,[`d-avatar--color-${this.getColor()}`]:this.isNotIconType,"d-avatar--clickable":this.clickable}]},overlayClasses(){return["d-avatar__overlay",this.overlayClass]},showGroup(){return Bn(this.group)},formattedGroup(){return this.group>99?"99+":this.group},validatedSize(){return this.group?"xs":this.size},showImage(){return this.imageLoadedSuccessfully!==!1&&this.imageSrc},buttonAriaLabel(){if(this.clickable)return this.fullName||this.imageAlt||this.$attrs["aria-label"]}},watch:{fullName:{immediate:!0,handler(n){this.formatInitials(n)}},imageSrc(n){this.imageLoadedSuccessfully=null,n&&(this.validateProps(),this.setImageListeners())}},mounted(){this.validateProps(),this.setImageListeners()},methods:{async setImageListeners(){await this.$nextTick();const n=this.$refs.avatarImage;n&&(n.addEventListener("load",()=>this._loadedImageEventHandler(n),{once:!0}),n.addEventListener("error",()=>this._erroredImageEventHandler(n),{once:!0}))},formatInitials(n){const e=Uo(n);this.validatedSize==="xs"?this.formattedInitials="":this.validatedSize==="sm"?this.formattedInitials=e[0]:this.formattedInitials=e},getColor(){return this.color??O.getRandomElement($i,this.seed)},_loadedImageEventHandler(n){this.imageLoadedSuccessfully=!0,n.classList.remove("d-d-none")},_erroredImageEventHandler(n){this.imageLoadedSuccessfully=!1,n.classList.add("d-d-none")},validateProps(){if(this.imageSrc&&!(this.fullName||this.imageAlt))throw new Error("full-name or image-alt must be set if image-src is provided")},handleClick(n){this.clickable&&this.$emit("click",n)}}},Xo=["src","alt"],Zo={key:1,class:"d-avatar__overlay-text"},Qo={key:1,class:"d-avatar__count","data-qa":"dt-avatar-count"};function el(n,e,t,r,i,s){const o=f.resolveComponent("dt-icon"),l=f.resolveComponent("dt-presence");return f.openBlock(),f.createBlock(f.resolveDynamicComponent(t.clickable?"button":"div"),{id:t.id,class:f.normalizeClass(s.avatarClasses),"data-qa":"dt-avatar","aria-label":s.buttonAriaLabel,onClick:s.handleClick},{default:f.withCtx(()=>[f.createElementVNode("div",{ref:"canvas",class:f.normalizeClass([t.canvasClass,"d-avatar__canvas",{"d-avatar--image-loaded":i.imageLoadedSuccessfully}])},[s.showImage?(f.openBlock(),f.createElementBlock("img",{key:0,ref:"avatarImage",class:"d-avatar__image","data-qa":"dt-avatar-image",src:t.imageSrc,alt:t.imageAlt||t.fullName},null,8,Xo)):t.iconName?(f.openBlock(),f.createBlock(o,{key:1,name:t.iconName,size:t.iconSize||i.AVATAR_ICON_SIZES[t.size],class:f.normalizeClass([t.iconClass,i.AVATAR_KIND_MODIFIERS.icon]),"data-qa":"dt-avatar-icon"},null,8,["name","size","class"])):(f.openBlock(),f.createElementBlock("span",{key:2,class:f.normalizeClass([i.AVATAR_KIND_MODIFIERS.initials,"d-ps-absolute d-zi-base d-us-none"])},f.toDisplayString(i.formattedInitials),3))],2),t.overlayIcon||t.overlayText?(f.openBlock(),f.createElementBlock("div",{key:0,class:f.normalizeClass(s.overlayClasses)},[t.overlayIcon?(f.openBlock(),f.createBlock(o,{key:0,class:"d-avatar__overlay-icon",name:t.overlayIcon},null,8,["name"])):t.overlayText?(f.openBlock(),f.createElementBlock("p",Zo,f.toDisplayString(t.overlayText),1)):f.createCommentVNode("",!0)],2)):f.createCommentVNode("",!0),s.showGroup?(f.openBlock(),f.createElementBlock("span",Qo,f.toDisplayString(s.formattedGroup),1)):f.createCommentVNode("",!0),t.presence&&!s.showGroup?(f.openBlock(),f.createBlock(l,f.mergeProps({key:2,presence:t.presence,class:["d-avatar__presence",i.AVATAR_PRESENCE_SIZE_MODIFIERS[t.size]]},t.presenceProps,{"data-qa":"dt-presence"}),null,16,["presence","class"])):f.createCommentVNode("",!0)]),_:1},8,["id","class","aria-label","onClick"])}const qi=O._export_sfc(Yo,[["render",el]]),Yt=["base","error","info","success","warning"],tl=["alert","alertdialog","status"],nl=new Map([["info","info"],["success","check-circle"],["warning","alert-triangle"],["error","alert-circle"],["base","bell"]]),rl={name:"DtNoticeIcon",components:{DtIcon:R.DtIcon},props:{kind:{type:String,default:"base",validate(n){return Yt.includes(n)}}},data(){return{hasSlotContent:O.hasSlotContent}},computed:{defaultIcon(){return nl.get(this.kind)}}},il={key:0,"aria-hidden":"true",class:"d-notice__icon"};function sl(n,e,t,r,i,s){const o=f.resolveComponent("dt-icon");return s.defaultIcon||i.hasSlotContent(n.$slots.default)?(f.openBlock(),f.createElementBlock("div",il,[f.renderSlot(n.$slots,"default",{},()=>[f.createVNode(o,{name:s.defaultIcon,size:"400"},null,8,["name"])])])):f.createCommentVNode("",!0)}const Ki=O._export_sfc(rl,[["render",sl]]),ol={name:"DtNoticeContent",props:{title:{type:String,default:""},titleId:{type:String,default:void 0},contentId:{type:String,default:void 0}},data(){return{hasSlotContent:O.hasSlotContent}}},ll={class:"d-notice__content","data-qa":"notice-content"},al=["id"],cl=["id"];function dl(n,e,t,r,i,s){return f.openBlock(),f.createElementBlock("div",ll,[t.title||i.hasSlotContent(n.$slots.titleOverride)?(f.openBlock(),f.createElementBlock("p",{key:0,id:t.titleId,class:"d-notice__title","data-qa":"notice-content-title"},[f.renderSlot(n.$slots,"titleOverride",{},()=>[f.createTextVNode(f.toDisplayString(t.title),1)])],8,al)):f.createCommentVNode("",!0),f.createElementVNode("p",{id:t.contentId,class:"d-notice__message","data-qa":"notice-content-message"},[f.renderSlot(n.$slots,"default")],8,cl)])}const Wi=O._export_sfc(ol,[["render",dl]]),Xt={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
2
|
a visually hidden close button and you must set the visuallyHiddenCloseLabel prop.`)}}},ul={name:"SrOnlyCloseButton",components:{DtIcon:R.DtIcon,DtButton:R.DtButton},props:{visuallyHiddenCloseLabel:{type:String,default:null}},emits:["close"],methods:{close(){this.$emit("close")}}};function fl(n,e,t,r,i,s){const o=f.resolveComponent("dt-icon"),l=f.resolveComponent("dt-button");return f.openBlock(),f.createBlock(l,{id:"sr-only-close-button","data-qa":"dt-sr-only-close-button",class:"d-vi-visible-sr","aria-label":t.visuallyHiddenCloseLabel,onClick:s.close,onKeydown:f.withKeys(f.withModifiers(s.close,["prevent","stop"]),["space"])},{default:f.withCtx(()=>[f.createVNode(o,{name:"close"})]),_:1},8,["aria-label","onClick","onKeydown"])}const ir=O._export_sfc(ul,[["render",fl]]),hl={name:"DtNoticeAction",components:{DtIcon:R.DtIcon,DtButton:R.DtButton,SrOnlyCloseButton:ir},mixins:[Xt],props:{closeButtonProps:{type:Object,default:()=>({})},hideClose:{type:Boolean,default:!1}},emits:["close"],created(){!this.hideClose&&!this.closeButtonProps.ariaLabel&&console.error("Invalid props: you must pass in closeButtonProps.ariaLabel if the close button is displayed.")},mounted(){this.hideClose||(this.lastFocusedElement=document.activeElement)},beforeUnmount(){var n;(n=this.lastFocusedElement)==null||n.focus()},methods:{close(){this.$emit("close")}}},pl={class:"d-notice__actions","data-qa":"notice-content-actions"};function ml(n,e,t,r,i,s){const o=f.resolveComponent("dt-icon"),l=f.resolveComponent("dt-button"),a=f.resolveComponent("sr-only-close-button");return f.openBlock(),f.createElementBlock("div",pl,[f.renderSlot(n.$slots,"default"),t.hideClose?f.createCommentVNode("",!0):(f.openBlock(),f.createBlock(l,f.mergeProps({key:0,ref:"closeButton","data-qa":"dt-notice-action-close-button",size:"sm",importance:"clear",circle:"","aria-label":t.closeButtonProps.ariaLabel?t.closeButtonProps.ariaLabel:"Close"},t.closeButtonProps,{onClick:s.close}),{icon:f.withCtx(()=>[f.createVNode(o,{name:"close",size:"200"})]),_:1},16,["aria-label","onClick"])),n.showVisuallyHiddenClose?(f.openBlock(),f.createBlock(a,{key:1,"visually-hidden-close-label":n.visuallyHiddenCloseLabel,onClose:s.close},null,8,["visually-hidden-close-label","onClose"])):f.createCommentVNode("",!0)])}const Ji=O._export_sfc(hl,[["render",ml]]),Ui=':not(:disabled):not([aria-disabled="true"]):not([role="presentation"])',gl=`${Ui}:not([tabindex="-1"])`,yl="button,[href],input,select,textarea,details,[tabindex]",Gi={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(t=>t.checked&&t.name===e.name)||e),e},_getFocusableElements(n=this.$el,e=!1){return n?[...n.querySelectorAll(yl)].filter(r=>{const i=window.getComputedStyle(r);return i.getPropertyValue("display")!=="none"&&i.getPropertyValue("visibility")!=="hidden"&&r.matches(e?Ui:gl)}):[]},focusTrappedTabPress(n,e){if(!(n.key==="Tab"))return;const r=this._getFocusableElements(e);if(!r.length){n.preventDefault();return}const i=this._getFirstFocusElement(r),s=r[r.length-1];n.shiftKey?document.activeElement===i&&(s.focus(),n.preventDefault()):document.activeElement===s&&(i.focus(),n.preventDefault())}}},bl={name:"DtLink",props:{kind:{type:String,default:"",validator(n){return R.LINK_VARIANTS.includes(n)}}},data(){return{LINK_KIND_MODIFIERS:R.LINK_KIND_MODIFIERS}}},kl=["href"];function Sl(n,e,t,r,i,s){return f.openBlock(),f.createElementBlock("a",{class:f.normalizeClass(["d-link",i.LINK_KIND_MODIFIERS[t.kind]]),"data-qa":"dt-link",href:"href"in n.$attrs?n.$attrs.href:"javascript:void(0)"},[f.renderSlot(n.$slots,"default")],10,kl)}const Yi=O._export_sfc(bl,[["render",Sl]]),hn={DEFAULT:"default",CUSTOM:"custom"},ft={ARROW_KEYS:"arrow-keys",TAB:"tab",NONE:"none"};const Cl={name:"DtItemLayout",props:{as:{type:String,default:"div"}}},xl={key:0,"data-qa":"dt-item-layout-left-wrapper",class:"dt-item-layout--left"},wl={"data-qa":"dt-item-layout-content-wrapper",class:"dt-item-layout--content"},El={key:0,"data-qa":"dt-item-layout-title-wrapper",class:"dt-item-layout--title"},vl={key:2,"data-qa":"dt-item-layout-bottom-wrapper",class:"dt-item-layout--bottom"},Ol={key:1,"data-qa":"dt-item-layout-right-wrapper",class:"dt-item-layout--right"},Ml={key:2,"data-qa":"dt-item-layout-selected-wrapper",class:"dt-item-layout--selected"};function Tl(n,e,t,r,i,s){return f.openBlock(),f.createBlock(f.resolveDynamicComponent(t.as),{class:"dt-item-layout"},{default:f.withCtx(()=>[n.$slots.left?(f.openBlock(),f.createElementBlock("section",xl,[f.renderSlot(n.$slots,"left",{},void 0,!0)])):f.createCommentVNode("",!0),f.createElementVNode("section",wl,[n.$slots.default?(f.openBlock(),f.createElementBlock("div",El,[f.renderSlot(n.$slots,"default",{},void 0,!0)])):f.createCommentVNode("",!0),n.$slots.subtitle?(f.openBlock(),f.createElementBlock("div",{key:1,"data-qa":"dt-item-layout-subtitle-wrapper",class:f.normalizeClass(["dt-item-layout--subtitle",{"d-mtn2":n.$slots.default}])},[f.renderSlot(n.$slots,"subtitle",{},void 0,!0)],2)):f.createCommentVNode("",!0),n.$slots.bottom?(f.openBlock(),f.createElementBlock("div",vl,[f.renderSlot(n.$slots,"bottom",{},void 0,!0)])):f.createCommentVNode("",!0)]),n.$slots.right?(f.openBlock(),f.createElementBlock("section",Ol,[f.renderSlot(n.$slots,"right",{},void 0,!0)])):f.createCommentVNode("",!0),n.$slots.selected?(f.openBlock(),f.createElementBlock("section",Ml,[f.renderSlot(n.$slots,"selected",{},void 0,!0)])):f.createCommentVNode("",!0)]),_:3})}const Ln=O._export_sfc(Cl,[["render",Tl],["__scopeId","data-v-9afad3c4"]]);const Nl={name:"DtListItem",components:{DtItemLayout:Ln,DtIcon:R.DtIcon},inject:{highlightId:{default:null}},props:{id:{type:String,default(){return O.utils.getUniqueString()}},role:{type:String,default:"listitem"},elementType:{type:String,default:"li"},type:{type:String,default:hn.DEFAULT,validator:n=>Object.values(hn).includes(n)},navigationType:{type:String,default:ft.NONE,validator:n=>Object.values(ft).includes(n)},selected:{type:Boolean,default:!1}},emits:["keydown","mousemove","mouseleave","mousedown"],data(){return{injected:!1,mouseHighlighted:!1}},computed:{listItemType(){switch(this.type){case hn.DEFAULT:return Ln;default:return null}},listItemListeners(){return{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===ft.TAB},isHoverable(){return this.navigationType!==ft.NONE}},methods:{onClick(n){this.$emit("click",n)},onMouseHover(){this.mouseHighlighted=!0},onMouseLeave(){this.mouseHighlighted=!1}}};function Dl(n,e,t,r,i,s){const o=f.resolveComponent("dt-icon");return f.openBlock(),f.createBlock(f.resolveDynamicComponent(t.elementType),f.mergeProps({id:t.id,class:["dt-list-item",{"dt-list-item--focusable":s.isFocusable,"dt-list-item--highlighted":s.isHighlighted,"dt-list-item--static":!s.isHoverable}],tabindex:s.isFocusable?0:-1,role:t.role,"aria-selected":s.isHighlighted},f.toHandlers(s.listItemListeners)),{default:f.withCtx(()=>[s.listItemType?(f.openBlock(),f.createBlock(f.resolveDynamicComponent(s.listItemType),{key:0},f.createSlots({_:2},[f.renderList(n.$slots,(l,a)=>({name:a,fn:f.withCtx(()=>[f.renderSlot(n.$slots,a)])})),t.selected?{name:"selected",fn:f.withCtx(()=>[f.createVNode(o,{name:"check",size:"400",class:"dt-list-item--selected-icon"})]),key:"0"}:void 0]),1024)):f.renderSlot(n.$slots,"default",{key:1})]),_:3},16,["id","class","tabindex","role","aria-selected"])}const Xi=O._export_sfc(Nl,[["render",Dl]]),Fn={none:void 0,small:"d-p4",medium:"d-p8",large:"d-p16"},Zi={none:void 0,small:"d-pl4",medium:"d-pl8",large:"d-pl16"},Qi=["dialog","menu","listbox","tree","grid"],es=["","anchor"],ts=["none","dialog","first"],ns=["parent","body"],Al=[...O.TIPPY_STICKY_VALUES],Il={name:"PopoverHeaderFooter",components:{DtButton:R.DtButton,DtIcon:R.DtIcon},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"],data(){return{hasSlotContent:O.hasSlotContent}},methods:{focusCloseButton(){var e;const n=(e=this.$refs["popover__close-button"])==null?void 0:e.$el;n==null||n.focus()}}};function Pl(n,e,t,r,i,s){const o=f.resolveComponent("dt-icon"),l=f.resolveComponent("dt-button");return f.openBlock(),f.createElementBlock("div",{"data-qa":"dt-popover-header-footer",class:f.normalizeClass({"d-popover__header":t.type==="header","d-popover__footer":t.type==="footer"})},[i.hasSlotContent(n.$slots.content)?(f.openBlock(),f.createElementBlock("div",{key:0,"data-qa":"dt-popover-header-footer-content",class:f.normalizeClass(["d-to-ellipsis","d-w100p",t.contentClass])},[f.renderSlot(n.$slots,"content")],2)):f.createCommentVNode("",!0),t.showCloseButton?(f.openBlock(),f.createBlock(l,f.mergeProps({key:1,ref:"popover__close-button","data-qa":"dt-popover-close",class:"d-p6 d-mr6 d-bc-transparent",importance:"outlined",kind:"muted",circle:""},t.closeButtonProps,{onClick:e[0]||(e[0]=a=>n.$emit("close"))}),{icon:f.withCtx(()=>[f.createVNode(o,{name:"close",size:"300"})]),_:1},16)):f.createCommentVNode("",!0)],2)}const _l=O._export_sfc(Il,[["render",Pl]]);const Rl={name:"DtPopover",components:{SrOnlyCloseButton:ir,DtLazyShow:O.DtLazyShow,PopoverHeaderFooter:_l},mixins:[Gi,Xt],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=>Qi.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(Fn).some(e=>e===n)},contentClass:{type:[String,Array,Object],default:""},contentWidth:{type:String,default:"",validator:n=>es.includes(n)},contentAppear:{type:Boolean,default:null},contentTabindex:{type:Number||null,default:-1},externalAnchor:{type:String,default:""},id:{type:String,default(){return O.getUniqueString()}},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=>Al.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=>ts.includes(n)||n instanceof HTMLElement||n.startsWith("#")},openWithArrowKeys:{type:Boolean,default:!1},appendTo:{type:[HTMLElement,String],default:"body",validator:n=>ns.includes(n)||n instanceof HTMLElement}},emits:["keydown","update:open","opened"],data(){return{POPOVER_PADDING_CLASSES:Fn,POPOVER_HEADER_FOOTER_PADDING_CLASSES:Zi,intersectionObserver:null,isOutsideViewport:!1,isOpen:!1,toAppear:!1,anchorEl:null,popoverContentEl:null,hasSlotContent:O.hasSlotContent}},computed:{popoverListeners(){return{keydown:n=>{this.onKeydown(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&&O.getUniqueString("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),n===!0&&(this.toAppear=!0)},immediate:!0},contentAppear:{handler:function(n){n!==null&&(this.toAppear=n)}},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)},beforeUnmount(){var n;(n=this.tip)==null||n.destroy(),this.intersectionObserver.disconnect(),this.removeReferences(),this.removeEventListeners()},methods:{hasIntersectedViewport(n){var r;const e=(r=n==null?void 0:n[0])==null?void 0:r.target;if(!e)return;const t=O.isOutOfViewPort(e);this.isOutsideViewport=t.bottom||t.top},popperOptions(){return O.getPopperOptions({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,t,r;if(!this.openOnContext&&(this.open===null||this.open===void 0)){if(!((e=this.anchorEl)!=null&&e.contains(n.target))&&!((t=this.anchorEl)!=null&&t.isEqualNode(n.target))||(r=this.anchorEl)!=null&&r.disabled)return;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)),this.$emit("keydown",n))},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,t;const n=(e=this.anchorEl)==null?void 0:e.closest("body, .tippy-box");n&&(((t=n.tagName)==null?void 0:t.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,t,r;const n=(t=(e=this.$refs.content)==null?void 0:e.$el)==null?void 0:t.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():(r=this.$refs.content)==null||r.$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(),this.$emit("keydown",n)},async setPopoverContentAnchorWidth(){var n;await this.$nextTick(),this.popoverContentEl.style.width=`${(n=this.anchorEl)==null?void 0:n.clientWidth}px`},focusFirstElementIfNeeded(n){var t,r;this._getFocusableElements(n,!0).length!==0?this.focusFirstElement(n):this.showCloseButton?(t=this.$refs.popover__header)==null||t.focusCloseButton():(r=this.$refs.content)==null||r.$el.focus()},initTippyInstance(){var n,e;this.tip=O.createTippy(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})}}},Bl=["aria-hidden"],Ll=["id","tabindex"];function Fl(n,e,t,r,i,s){const o=f.resolveComponent("popover-header-footer"),l=f.resolveComponent("sr-only-close-button"),a=f.resolveComponent("dt-lazy-show");return f.openBlock(),f.createElementBlock("div",null,[t.modal&&i.isOpen?(f.openBlock(),f.createBlock(f.Teleport,{key:0,to:"body"},[f.createElementVNode("div",{class:"d-modal--transparent","aria-hidden":t.modal&&i.isOpen?"false":"true",onClick:e[0]||(e[0]=f.withModifiers(()=>{},["prevent","stop"]))},null,8,Bl)])):f.createCommentVNode("",!0),(f.openBlock(),f.createBlock(f.resolveDynamicComponent(t.elementType),{ref:"popover",class:f.normalizeClass(["d-popover",{"d-popover__anchor--opened":i.isOpen}]),"data-qa":"dt-popover-container"},{default:f.withCtx(()=>[f.createElementVNode("div",{id:!t.ariaLabelledby&&s.labelledBy,ref:"anchor","data-qa":"dt-popover-anchor",tabindex:t.openOnContext?0:void 0,onClickCapture:e[1]||(e[1]=(...c)=>s.defaultToggleOpen&&s.defaultToggleOpen(...c)),onContextmenu:e[2]||(e[2]=(...c)=>s.onContext&&s.onContext(...c)),onKeydown:[e[3]||(e[3]=f.withKeys(f.withModifiers((...c)=>s.onArrowKeyPress&&s.onArrowKeyPress(...c),["prevent"]),["up"])),e[4]||(e[4]=f.withKeys(f.withModifiers((...c)=>s.onArrowKeyPress&&s.onArrowKeyPress(...c),["prevent"]),["down"])),e[6]||(e[6]=f.withKeys(c=>n.$emit("keydown",c),["enter"])),e[7]||(e[7]=f.withKeys(c=>n.$emit("keydown",c),["space"]))],onKeydownCapture:e[5]||(e[5]=f.withKeys((...c)=>s.closePopover&&s.closePopover(...c),["escape"]))},[f.renderSlot(n.$slots,"anchor",{attrs:{"aria-expanded":i.isOpen.toString(),"aria-controls":t.id,"aria-haspopup":t.role}})],40,Ll),f.createVNode(a,f.mergeProps({id:t.id,ref:"content",role:t.role,"data-qa":"dt-popover","aria-hidden":`${!i.isOpen}`,"aria-labelledby":s.labelledBy,"aria-label":t.ariaLabel,"aria-modal":`${!t.modal}`,transition:t.transition,show:i.isOpen,appear:i.toAppear,class:["d-popover__dialog",{"d-popover__dialog--modal":t.modal},t.dialogClass],style:{"max-height":s.calculatedMaxHeight,"max-width":t.maxWidth},css:n.$attrs.css,tabindex:t.contentTabindex},f.toHandlers(s.popoverListeners)),{default:f.withCtx(()=>[i.hasSlotContent(n.$slots.headerContent)||t.showCloseButton?(f.openBlock(),f.createBlock(o,{key:0,ref:"popover__header",class:f.normalizeClass(i.POPOVER_HEADER_FOOTER_PADDING_CLASSES[t.padding]),"content-class":t.headerClass,type:"header","show-close-button":t.showCloseButton,"close-button-props":t.closeButtonProps,onClose:s.closePopover},{content:f.withCtx(()=>[f.renderSlot(n.$slots,"headerContent",{close:s.closePopover})]),_:3},8,["class","content-class","show-close-button","close-button-props","onClose"])):f.createCommentVNode("",!0),f.createElementVNode("div",{ref:"popover__content","data-qa":"dt-popover-content",class:f.normalizeClass(["d-popover__content",i.POPOVER_PADDING_CLASSES[t.padding],t.contentClass])},[f.renderSlot(n.$slots,"content",{close:s.closePopover})],2),i.hasSlotContent(n.$slots.footerContent)?(f.openBlock(),f.createBlock(o,{key:1,ref:"popover__footer",type:"footer",class:f.normalizeClass(i.POPOVER_HEADER_FOOTER_PADDING_CLASSES[t.padding]),"content-class":t.footerClass},{content:f.withCtx(()=>[f.renderSlot(n.$slots,"footerContent",{close:s.closePopover})]),_:3},8,["class","content-class"])):f.createCommentVNode("",!0),n.showVisuallyHiddenClose?(f.openBlock(),f.createBlock(l,{key:2,"visually-hidden-close-label":n.visuallyHiddenCloseLabel,onClose:s.closePopover},null,8,["visually-hidden-close-label","onClose"])):f.createCommentVNode("",!0)]),_:3},16,["id","role","aria-hidden","aria-labelledby","aria-label","aria-modal","transition","show","appear","class","style","css","tabindex"])]),_:3},8,["class"]))])}const rs=O._export_sfc(Rl,[["render",Fl]]),Vl={name:"DtNotice",components:{DtNoticeIcon:Ki,DtNoticeContent:Wi,DtNoticeAction:Ji},mixins:[Xt],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 tl.includes(n)}},important:{type:Boolean,default:!1},kind:{type:String,default:"base",validate(n){return Yt.includes(n)}},closeButtonProps:{type:Object,default:()=>({})},hideClose:{type:Boolean,default:!1}},emits:["close","click"],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}]}}};function zl(n,e,t,r,i,s){const o=f.resolveComponent("dt-notice-icon"),l=f.resolveComponent("dt-notice-content"),a=f.resolveComponent("dt-notice-action");return f.openBlock(),f.createElementBlock("aside",{class:f.normalizeClass(s.noticeClass),"data-qa":"notice"},[f.createVNode(o,{kind:t.kind},{default:f.withCtx(()=>[f.renderSlot(n.$slots,"icon")]),_:3},8,["kind"]),f.createVNode(l,{"title-id":t.titleId,"content-id":t.contentId,title:t.title,role:t.role},{titleOverride:f.withCtx(()=>[f.renderSlot(n.$slots,"titleOverride")]),default:f.withCtx(()=>[f.renderSlot(n.$slots,"default")]),_:3},8,["title-id","content-id","title","role"]),f.createVNode(a,{"hide-close":t.hideClose,"close-button-props":t.closeButtonProps,"visually-hidden-close":n.visuallyHiddenClose,"visually-hidden-close-label":n.visuallyHiddenCloseLabel,onClose:e[0]||(e[0]=c=>n.$emit("close"))},{default:f.withCtx(()=>[f.renderSlot(n.$slots,"action")]),_:3},8,["hide-close","close-button-props","visually-hidden-close","visually-hidden-close-label"])],2)}const is=O._export_sfc(Vl,[["render",zl]]),ze={default:"column",column:"column",row:"row","row-reverse":"row-reverse","column-reverse":"column-reverse"},ss=["sm","md","lg","xl"],sr=["0","100","200","300","400","500","600"];function Or(n){return n===ze.default}function Mr(n){if(Ct(n)==="string")return Or(n)?null:ze[n];if(Ct(n)==="object"){const{default:e}=n;return Or(e)?null:ze[e]}else return null}function Ct(n){return typeof n}function jl(n){return Mr(n)?`d-stack--${ze[Mr(n)]}`:null}function Hl(n){return Ct(n)==="object"?[...ss.map(e=>n[e]?`d-stack--${e}--${n[e]}`:null)]:null}function $l(n){return sr.includes(n)?`d-stack--gap-${n}`:null}function ql(n){if(Ct(n)==="string")return Object.keys(ze).includes(n);if(Ct(n)==="object"){const{default:e}=n;return Object.keys(ze).includes(e)}else return null}function Kl(n){return sr.includes(n)}const Wl={name:"DtStack",props:{direction:{type:[String,Object],default:"column",validator:n=>ql(n)},as:{type:String,default:"div"},gap:{type:String,default:"0",validator:n=>Kl(n)}},data(){return{DT_STACK_DIRECTION:ze,DT_STACK_GAP:sr,DT_STACK_RESPONSIVE_BREAKPOINTS:ss}},computed:{stackGap(){return $l(this.gap)},defaultDirection(){return jl(this.direction)},stackResponsive(){return Hl(this.direction)}}};function Jl(n,e,t,r,i,s){return f.openBlock(),f.createBlock(f.resolveDynamicComponent(t.as),{class:f.normalizeClass(["d-stack",s.defaultDirection,s.stackResponsive,s.stackGap])},{default:f.withCtx(()=>[f.renderSlot(n.$slots,"default")]),_:3},8,["class"])}const or=O._export_sfc(Wl,[["render",Jl]]);function j(n){this.content=n}j.prototype={constructor:j,find:function(n){for(var e=0;e<this.content.length;e+=2)if(this.content[e]===n)return e;return-1},get:function(n){var e=this.find(n);return e==-1?void 0:this.content[e+1]},update:function(n,e,t){var r=t&&t!=n?this.remove(t):this,i=r.find(n),s=r.content.slice();return i==-1?s.push(t||n,e):(s[i+1]=e,t&&(s[i]=t)),new j(s)},remove:function(n){var e=this.find(n);if(e==-1)return this;var t=this.content.slice();return t.splice(e,2),new j(t)},addToStart:function(n,e){return new j([n,e].concat(this.remove(n).content))},addToEnd:function(n,e){var t=this.remove(n).content.slice();return t.push(n,e),new j(t)},addBefore:function(n,e,t){var r=this.remove(e),i=r.content.slice(),s=r.find(n);return i.splice(s==-1?i.length:s,0,e,t),new j(i)},forEach:function(n){for(var e=0;e<this.content.length;e+=2)n(this.content[e],this.content[e+1])},prepend:function(n){return n=j.from(n),n.size?new j(n.content.concat(this.subtract(n).content)):this},append:function(n){return n=j.from(n),n.size?new j(this.subtract(n).content.concat(n.content)):this},subtract:function(n){var e=this;n=j.from(n);for(var t=0;t<n.content.length;t+=2)e=e.remove(n.content[t]);return e},toObject:function(){var n={};return this.forEach(function(e,t){n[e]=t}),n},get size(){return this.content.length>>1}};j.from=function(n){if(n instanceof j)return n;var e=[];if(n)for(var t in n)e.push(t,n[t]);return new j(e)};function ls(n,e,t){for(let r=0;;r++){if(r==n.childCount||r==e.childCount)return n.childCount==e.childCount?null:t;let i=n.child(r),s=e.child(r);if(i==s){t+=i.nodeSize;continue}if(!i.sameMarkup(s))return t;if(i.isText&&i.text!=s.text){for(let o=0;i.text[o]==s.text[o];o++)t++;return t}if(i.content.size||s.content.size){let o=ls(i.content,s.content,t+1);if(o!=null)return o}t+=i.nodeSize}}function as(n,e,t,r){for(let i=n.childCount,s=e.childCount;;){if(i==0||s==0)return i==s?null:{a:t,b:r};let o=n.child(--i),l=e.child(--s),a=o.nodeSize;if(o==l){t-=a,r-=a;continue}if(!o.sameMarkup(l))return{a:t,b:r};if(o.isText&&o.text!=l.text){let c=0,d=Math.min(o.text.length,l.text.length);for(;c<d&&o.text[o.text.length-c-1]==l.text[l.text.length-c-1];)c++,t--,r--;return{a:t,b:r}}if(o.content.size||l.content.size){let c=as(o.content,l.content,t-1,r-1);if(c)return c}t-=a,r-=a}}class k{constructor(e,t){if(this.content=e,this.size=t||0,t==null)for(let r=0;r<e.length;r++)this.size+=e[r].nodeSize}nodesBetween(e,t,r,i=0,s){for(let o=0,l=0;l<t;o++){let a=this.content[o],c=l+a.nodeSize;if(c>e&&r(a,i+l,s||null,o)!==!1&&a.content.size){let d=l+1;a.nodesBetween(Math.max(0,e-d),Math.min(a.content.size,t-d),r,i+d)}l=c}}descendants(e){this.nodesBetween(0,this.size,e)}textBetween(e,t,r,i){let s="",o=!0;return this.nodesBetween(e,t,(l,a)=>{l.isText?(s+=l.text.slice(Math.max(e,a)-a,t-a),o=!r):l.isLeaf?(i?s+=typeof i=="function"?i(l):i:l.type.spec.leafText&&(s+=l.type.spec.leafText(l)),o=!r):!o&&l.isBlock&&(s+=r,o=!0)},0),s}append(e){if(!e.size)return this;if(!this.size)return e;let t=this.lastChild,r=e.firstChild,i=this.content.slice(),s=0;for(t.isText&&t.sameMarkup(r)&&(i[i.length-1]=t.withText(t.text+r.text),s=1);s<e.content.length;s++)i.push(e.content[s]);return new k(i,this.size+e.size)}cut(e,t=this.size){if(e==0&&t==this.size)return this;let r=[],i=0;if(t>e)for(let s=0,o=0;o<t;s++){let l=this.content[s],a=o+l.nodeSize;a>e&&((o<e||a>t)&&(l.isText?l=l.cut(Math.max(0,e-o),Math.min(l.text.length,t-o)):l=l.cut(Math.max(0,e-o-1),Math.min(l.content.size,t-o-1))),r.push(l),i+=l.nodeSize),o=a}return new k(r,i)}cutByIndex(e,t){return e==t?k.empty:e==0&&t==this.content.length?this:new k(this.content.slice(e,t))}replaceChild(e,t){let r=this.content[e];if(r==t)return this;let i=this.content.slice(),s=this.size+t.nodeSize-r.nodeSize;return i[e]=t,new k(i,s)}addToStart(e){return new k([e].concat(this.content),this.size+e.nodeSize)}addToEnd(e){return new k(this.content.concat(e),this.size+e.nodeSize)}eq(e){if(this.content.length!=e.content.length)return!1;for(let t=0;t<this.content.length;t++)if(!this.content[t].eq(e.content[t]))return!1;return!0}get firstChild(){return this.content.length?this.content[0]:null}get lastChild(){return this.content.length?this.content[this.content.length-1]:null}get childCount(){return this.content.length}child(e){let t=this.content[e];if(!t)throw new RangeError("Index "+e+" out of range for "+this);return t}maybeChild(e){return this.content[e]||null}forEach(e){for(let t=0,r=0;t<this.content.length;t++){let i=this.content[t];e(i,r,t),r+=i.nodeSize}}findDiffStart(e,t=0){return ls(this,e,t)}findDiffEnd(e,t=this.size,r=e.size){return as(this,e,t,r)}findIndex(e,t=-1){if(e==0)return At(0,e);if(e==this.size)return At(this.content.length,e);if(e>this.size||e<0)throw new RangeError(`Position ${e} outside of fragment (${this})`);for(let r=0,i=0;;r++){let s=this.child(r),o=i+s.nodeSize;if(o>=e)return o==e||t>0?At(r+1,o):At(r,i);i=o}}toString(){return"<"+this.toStringInner()+">"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map(e=>e.toJSON()):null}static fromJSON(e,t){if(!t)return k.empty;if(!Array.isArray(t))throw new RangeError("Invalid input for Fragment.fromJSON");return new k(t.map(e.nodeFromJSON))}static fromArray(e){if(!e.length)return k.empty;let t,r=0;for(let i=0;i<e.length;i++){let s=e[i];r+=s.nodeSize,i&&s.isText&&e[i-1].sameMarkup(s)?(t||(t=e.slice(0,i)),t[t.length-1]=s.withText(t[t.length-1].text+s.text)):t&&t.push(s)}return new k(t||e,r)}static from(e){if(!e)return k.empty;if(e instanceof k)return e;if(Array.isArray(e))return this.fromArray(e);if(e.attrs)return new k([e],e.nodeSize);throw new RangeError("Can not convert "+e+" to a Fragment"+(e.nodesBetween?" (looks like multiple versions of prosemirror-model were loaded)":""))}}k.empty=new k([],0);const pn={index:0,offset:0};function At(n,e){return pn.index=n,pn.offset=e,pn}function Lt(n,e){if(n===e)return!0;if(!(n&&typeof n=="object")||!(e&&typeof e=="object"))return!1;let t=Array.isArray(n);if(Array.isArray(e)!=t)return!1;if(t){if(n.length!=e.length)return!1;for(let r=0;r<n.length;r++)if(!Lt(n[r],e[r]))return!1}else{for(let r in n)if(!(r in e)||!Lt(n[r],e[r]))return!1;for(let r in e)if(!(r in n))return!1}return!0}let P=class Vn{constructor(e,t){this.type=e,this.attrs=t}addToSet(e){let t,r=!1;for(let i=0;i<e.length;i++){let s=e[i];if(this.eq(s))return e;if(this.type.excludes(s.type))t||(t=e.slice(0,i));else{if(s.type.excludes(this.type))return e;!r&&s.type.rank>this.type.rank&&(t||(t=e.slice(0,i)),t.push(this),r=!0),t&&t.push(s)}}return t||(t=e.slice()),r||t.push(this),t}removeFromSet(e){for(let t=0;t<e.length;t++)if(this.eq(e[t]))return e.slice(0,t).concat(e.slice(t+1));return e}isInSet(e){for(let t=0;t<e.length;t++)if(this.eq(e[t]))return!0;return!1}eq(e){return this==e||this.type==e.type&&Lt(this.attrs,e.attrs)}toJSON(){let e={type:this.type.name};for(let t in this.attrs){e.attrs=this.attrs;break}return e}static fromJSON(e,t){if(!t)throw new RangeError("Invalid input for Mark.fromJSON");let r=e.marks[t.type];if(!r)throw new RangeError(`There is no mark type ${t.type} in this schema`);return r.create(t.attrs)}static sameSet(e,t){if(e==t)return!0;if(e.length!=t.length)return!1;for(let r=0;r<e.length;r++)if(!e[r].eq(t[r]))return!1;return!0}static setFrom(e){if(!e||Array.isArray(e)&&e.length==0)return Vn.none;if(e instanceof Vn)return[e];let t=e.slice();return t.sort((r,i)=>r.type.rank-i.type.rank),t}};P.none=[];class Ft extends Error{}class S{constructor(e,t,r){this.content=e,this.openStart=t,this.openEnd=r}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(e,t){let r=ds(this.content,e+this.openStart,t);return r&&new S(r,this.openStart,this.openEnd)}removeBetween(e,t){return new S(cs(this.content,e+this.openStart,t+this.openStart),this.openStart,this.openEnd)}eq(e){return this.content.eq(e.content)&&this.openStart==e.openStart&&this.openEnd==e.openEnd}toString(){return this.content+"("+this.openStart+","+this.openEnd+")"}toJSON(){if(!this.content.size)return null;let e={content:this.content.toJSON()};return this.openStart>0&&(e.openStart=this.openStart),this.openEnd>0&&(e.openEnd=this.openEnd),e}static fromJSON(e,t){if(!t)return S.empty;let r=t.openStart||0,i=t.openEnd||0;if(typeof r!="number"||typeof i!="number")throw new RangeError("Invalid input for Slice.fromJSON");return new S(k.fromJSON(e,t.content),r,i)}static maxOpen(e,t=!0){let r=0,i=0;for(let s=e.firstChild;s&&!s.isLeaf&&(t||!s.type.spec.isolating);s=s.firstChild)r++;for(let s=e.lastChild;s&&!s.isLeaf&&(t||!s.type.spec.isolating);s=s.lastChild)i++;return new S(e,r,i)}}S.empty=new S(k.empty,0,0);function cs(n,e,t){let{index:r,offset:i}=n.findIndex(e),s=n.maybeChild(r),{index:o,offset:l}=n.findIndex(t);if(i==e||s.isText){if(l!=t&&!n.child(o).isText)throw new RangeError("Removing non-flat range");return n.cut(0,e).append(n.cut(t))}if(r!=o)throw new RangeError("Removing non-flat range");return n.replaceChild(r,s.copy(cs(s.content,e-i-1,t-i-1)))}function ds(n,e,t,r){let{index:i,offset:s}=n.findIndex(e),o=n.maybeChild(i);if(s==e||o.isText)return r&&!r.canReplace(i,i,t)?null:n.cut(0,e).append(t).append(n.cut(e));let l=ds(o.content,e-s-1,t);return l&&n.replaceChild(i,o.copy(l))}function Ul(n,e,t){if(t.openStart>n.depth)throw new Ft("Inserted content deeper than insertion position");if(n.depth-t.openStart!=e.depth-t.openEnd)throw new Ft("Inconsistent open depths");return us(n,e,t,0)}function us(n,e,t,r){let i=n.index(r),s=n.node(r);if(i==e.index(r)&&r<n.depth-t.openStart){let o=us(n,e,t,r+1);return s.copy(s.content.replaceChild(i,o))}else if(t.content.size)if(!t.openStart&&!t.openEnd&&n.depth==r&&e.depth==r){let o=n.parent,l=o.content;return Be(o,l.cut(0,n.parentOffset).append(t.content).append(l.cut(e.parentOffset)))}else{let{start:o,end:l}=Gl(t,n);return Be(s,hs(n,o,l,e,r))}else return Be(s,Vt(n,e,r))}function fs(n,e){if(!e.type.compatibleContent(n.type))throw new Ft("Cannot join "+e.type.name+" onto "+n.type.name)}function zn(n,e,t){let r=n.node(t);return fs(r,e.node(t)),r}function Re(n,e){let t=e.length-1;t>=0&&n.isText&&n.sameMarkup(e[t])?e[t]=n.withText(e[t].text+n.text):e.push(n)}function gt(n,e,t,r){let i=(e||n).node(t),s=0,o=e?e.index(t):i.childCount;n&&(s=n.index(t),n.depth>t?s++:n.textOffset&&(Re(n.nodeAfter,r),s++));for(let l=s;l<o;l++)Re(i.child(l),r);e&&e.depth==t&&e.textOffset&&Re(e.nodeBefore,r)}function Be(n,e){return n.type.checkContent(e),n.copy(e)}function hs(n,e,t,r,i){let s=n.depth>i&&zn(n,e,i+1),o=r.depth>i&&zn(t,r,i+1),l=[];return gt(null,n,i,l),s&&o&&e.index(i)==t.index(i)?(fs(s,o),Re(Be(s,hs(n,e,t,r,i+1)),l)):(s&&Re(Be(s,Vt(n,e,i+1)),l),gt(e,t,i,l),o&&Re(Be(o,Vt(t,r,i+1)),l)),gt(r,null,i,l),new k(l)}function Vt(n,e,t){let r=[];if(gt(null,n,t,r),n.depth>t){let i=zn(n,e,t+1);Re(Be(i,Vt(n,e,t+1)),r)}return gt(e,null,t,r),new k(r)}function Gl(n,e){let t=e.depth-n.openStart,i=e.node(t).copy(n.content);for(let s=t-1;s>=0;s--)i=e.node(s).copy(k.from(i));return{start:i.resolveNoCache(n.openStart+t),end:i.resolveNoCache(i.content.size-n.openEnd-t)}}class xt{constructor(e,t,r){this.pos=e,this.path=t,this.parentOffset=r,this.depth=t.length/3-1}resolveDepth(e){return e==null?this.depth:e<0?this.depth+e:e}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(e){return this.path[this.resolveDepth(e)*3]}index(e){return this.path[this.resolveDepth(e)*3+1]}indexAfter(e){return e=this.resolveDepth(e),this.index(e)+(e==this.depth&&!this.textOffset?0:1)}start(e){return e=this.resolveDepth(e),e==0?0:this.path[e*3-1]+1}end(e){return e=this.resolveDepth(e),this.start(e)+this.node(e).content.size}before(e){if(e=this.resolveDepth(e),!e)throw new RangeError("There is no position before the top-level node");return e==this.depth+1?this.pos:this.path[e*3-1]}after(e){if(e=this.resolveDepth(e),!e)throw new RangeError("There is no position after the top-level node");return e==this.depth+1?this.pos:this.path[e*3-1]+this.path[e*3].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let e=this.parent,t=this.index(this.depth);if(t==e.childCount)return null;let r=this.pos-this.path[this.path.length-1],i=e.child(t);return r?e.child(t).cut(r):i}get nodeBefore(){let e=this.index(this.depth),t=this.pos-this.path[this.path.length-1];return t?this.parent.child(e).cut(0,t):e==0?null:this.parent.child(e-1)}posAtIndex(e,t){t=this.resolveDepth(t);let r=this.path[t*3],i=t==0?0:this.path[t*3-1]+1;for(let s=0;s<e;s++)i+=r.child(s).nodeSize;return i}marks(){let e=this.parent,t=this.index();if(e.content.size==0)return P.none;if(this.textOffset)return e.child(t).marks;let r=e.maybeChild(t-1),i=e.maybeChild(t);if(!r){let l=r;r=i,i=l}let s=r.marks;for(var o=0;o<s.length;o++)s[o].type.spec.inclusive===!1&&(!i||!s[o].isInSet(i.marks))&&(s=s[o--].removeFromSet(s));return s}marksAcross(e){let t=this.parent.maybeChild(this.index());if(!t||!t.isInline)return null;let r=t.marks,i=e.parent.maybeChild(e.index());for(var s=0;s<r.length;s++)r[s].type.spec.inclusive===!1&&(!i||!r[s].isInSet(i.marks))&&(r=r[s--].removeFromSet(r));return r}sharedDepth(e){for(let t=this.depth;t>0;t--)if(this.start(t)<=e&&this.end(t)>=e)return t;return 0}blockRange(e=this,t){if(e.pos<this.pos)return e.blockRange(this);for(let r=this.depth-(this.parent.inlineContent||this.pos==e.pos?1:0);r>=0;r--)if(e.pos<=this.end(r)&&(!t||t(this.node(r))))return new zt(this,e,r);return null}sameParent(e){return this.pos-this.parentOffset==e.pos-e.parentOffset}max(e){return e.pos>this.pos?e:this}min(e){return e.pos<this.pos?e:this}toString(){let e="";for(let t=1;t<=this.depth;t++)e+=(e?"/":"")+this.node(t).type.name+"_"+this.index(t-1);return e+":"+this.parentOffset}static resolve(e,t){if(!(t>=0&&t<=e.content.size))throw new RangeError("Position "+t+" out of range");let r=[],i=0,s=t;for(let o=e;;){let{index:l,offset:a}=o.content.findIndex(s),c=s-a;if(r.push(o,l,i+a),!c||(o=o.child(l),o.isText))break;s=c-1,i+=a+1}return new xt(t,r,s)}static resolveCached(e,t){for(let i=0;i<mn.length;i++){let s=mn[i];if(s.pos==t&&s.doc==e)return s}let r=mn[gn]=xt.resolve(e,t);return gn=(gn+1)%Yl,r}}let mn=[],gn=0,Yl=12;class zt{constructor(e,t,r){this.$from=e,this.$to=t,this.depth=r}get start(){return this.$from.before(this.depth+1)}get end(){return this.$to.after(this.depth+1)}get parent(){return this.$from.node(this.depth)}get startIndex(){return this.$from.index(this.depth)}get endIndex(){return this.$to.indexAfter(this.depth)}}const Xl=Object.create(null);let Le=class jn{constructor(e,t,r,i=P.none){this.type=e,this.attrs=t,this.marks=i,this.content=r||k.empty}get nodeSize(){return this.isLeaf?1:2+this.content.size}get childCount(){return this.content.childCount}child(e){return this.content.child(e)}maybeChild(e){return this.content.maybeChild(e)}forEach(e){this.content.forEach(e)}nodesBetween(e,t,r,i=0){this.content.nodesBetween(e,t,r,i,this)}descendants(e){this.nodesBetween(0,this.content.size,e)}get textContent(){return this.isLeaf&&this.type.spec.leafText?this.type.spec.leafText(this):this.textBetween(0,this.content.size,"")}textBetween(e,t,r,i){return this.content.textBetween(e,t,r,i)}get firstChild(){return this.content.firstChild}get lastChild(){return this.content.lastChild}eq(e){return this==e||this.sameMarkup(e)&&this.content.eq(e.content)}sameMarkup(e){return this.hasMarkup(e.type,e.attrs,e.marks)}hasMarkup(e,t,r){return this.type==e&&Lt(this.attrs,t||e.defaultAttrs||Xl)&&P.sameSet(this.marks,r||P.none)}copy(e=null){return e==this.content?this:new jn(this.type,this.attrs,e,this.marks)}mark(e){return e==this.marks?this:new jn(this.type,this.attrs,this.content,e)}cut(e,t=this.content.size){return e==0&&t==this.content.size?this:this.copy(this.content.cut(e,t))}slice(e,t=this.content.size,r=!1){if(e==t)return S.empty;let i=this.resolve(e),s=this.resolve(t),o=r?0:i.sharedDepth(t),l=i.start(o),c=i.node(o).content.cut(i.pos-l,s.pos-l);return new S(c,i.depth-o,s.depth-o)}replace(e,t,r){return Ul(this.resolve(e),this.resolve(t),r)}nodeAt(e){for(let t=this;;){let{index:r,offset:i}=t.content.findIndex(e);if(t=t.maybeChild(r),!t)return null;if(i==e||t.isText)return t;e-=i+1}}childAfter(e){let{index:t,offset:r}=this.content.findIndex(e);return{node:this.content.maybeChild(t),index:t,offset:r}}childBefore(e){if(e==0)return{node:null,index:0,offset:0};let{index:t,offset:r}=this.content.findIndex(e);if(r<e)return{node:this.content.child(t),index:t,offset:r};let i=this.content.child(t-1);return{node:i,index:t-1,offset:r-i.nodeSize}}resolve(e){return xt.resolveCached(this,e)}resolveNoCache(e){return xt.resolve(this,e)}rangeHasMark(e,t,r){let i=!1;return t>e&&this.nodesBetween(e,t,s=>(r.isInSet(s.marks)&&(i=!0),!i)),i}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let e=this.type.name;return this.content.size&&(e+="("+this.content.toStringInner()+")"),ps(this.marks,e)}contentMatchAt(e){let t=this.type.contentMatch.matchFragment(this.content,0,e);if(!t)throw new Error("Called contentMatchAt on a node with invalid content");return t}canReplace(e,t,r=k.empty,i=0,s=r.childCount){let o=this.contentMatchAt(e).matchFragment(r,i,s),l=o&&o.matchFragment(this.content,t);if(!l||!l.validEnd)return!1;for(let a=i;a<s;a++)if(!this.type.allowsMarks(r.child(a).marks))return!1;return!0}canReplaceWith(e,t,r,i){if(i&&!this.type.allowsMarks(i))return!1;let s=this.contentMatchAt(e).matchType(r),o=s&&s.matchFragment(this.content,t);return o?o.validEnd:!1}canAppend(e){return e.content.size?this.canReplace(this.childCount,this.childCount,e.content):this.type.compatibleContent(e.type)}check(){this.type.checkContent(this.content);let e=P.none;for(let t=0;t<this.marks.length;t++)e=this.marks[t].addToSet(e);if(!P.sameSet(e,this.marks))throw new RangeError(`Invalid collection of marks for node ${this.type.name}: ${this.marks.map(t=>t.type.name)}`);this.content.forEach(t=>t.check())}toJSON(){let e={type:this.type.name};for(let t in this.attrs){e.attrs=this.attrs;break}return this.content.size&&(e.content=this.content.toJSON()),this.marks.length&&(e.marks=this.marks.map(t=>t.toJSON())),e}static fromJSON(e,t){if(!t)throw new RangeError("Invalid input for Node.fromJSON");let r=null;if(t.marks){if(!Array.isArray(t.marks))throw new RangeError("Invalid mark data for Node.fromJSON");r=t.marks.map(e.markFromJSON)}if(t.type=="text"){if(typeof t.text!="string")throw new RangeError("Invalid text node in JSON");return e.text(t.text,r)}let i=k.fromJSON(e,t.content);return e.nodeType(t.type).create(t.attrs,i,r)}};Le.prototype.text=void 0;class jt extends Le{constructor(e,t,r,i){if(super(e,t,null,i),!r)throw new RangeError("Empty text nodes are not allowed");this.text=r}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):ps(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(e,t){return this.text.slice(e,t)}get nodeSize(){return this.text.length}mark(e){return e==this.marks?this:new jt(this.type,this.attrs,this.text,e)}withText(e){return e==this.text?this:new jt(this.type,this.attrs,e,this.marks)}cut(e=0,t=this.text.length){return e==0&&t==this.text.length?this:this.withText(this.text.slice(e,t))}eq(e){return this.sameMarkup(e)&&this.text==e.text}toJSON(){let e=super.toJSON();return e.text=this.text,e}}function ps(n,e){for(let t=n.length-1;t>=0;t--)e=n[t].type.name+"("+e+")";return e}class je{constructor(e){this.validEnd=e,this.next=[],this.wrapCache=[]}static parse(e,t){let r=new Zl(e,t);if(r.next==null)return je.empty;let i=ms(r);r.next&&r.err("Unexpected trailing text");let s=sa(ia(i));return oa(s,r),s}matchType(e){for(let t=0;t<this.next.length;t++)if(this.next[t].type==e)return this.next[t].next;return null}matchFragment(e,t=0,r=e.childCount){let i=this;for(let s=t;i&&s<r;s++)i=i.matchType(e.child(s).type);return i}get inlineContent(){return this.next.length!=0&&this.next[0].type.isInline}get defaultType(){for(let e=0;e<this.next.length;e++){let{type:t}=this.next[e];if(!(t.isText||t.hasRequiredAttrs()))return t}return null}compatible(e){for(let t=0;t<this.next.length;t++)for(let r=0;r<e.next.length;r++)if(this.next[t].type==e.next[r].type)return!0;return!1}fillBefore(e,t=!1,r=0){let i=[this];function s(o,l){let a=o.matchFragment(e,r);if(a&&(!t||a.validEnd))return k.from(l.map(c=>c.createAndFill()));for(let c=0;c<o.next.length;c++){let{type:d,next:u}=o.next[c];if(!(d.isText||d.hasRequiredAttrs())&&i.indexOf(u)==-1){i.push(u);let h=s(u,l.concat(d));if(h)return h}}return null}return s(this,[])}findWrapping(e){for(let r=0;r<this.wrapCache.length;r+=2)if(this.wrapCache[r]==e)return this.wrapCache[r+1];let t=this.computeWrapping(e);return this.wrapCache.push(e,t),t}computeWrapping(e){let t=Object.create(null),r=[{match:this,type:null,via:null}];for(;r.length;){let i=r.shift(),s=i.match;if(s.matchType(e)){let o=[];for(let l=i;l.type;l=l.via)o.push(l.type);return o.reverse()}for(let o=0;o<s.next.length;o++){let{type:l,next:a}=s.next[o];!l.isLeaf&&!l.hasRequiredAttrs()&&!(l.name in t)&&(!i.type||a.validEnd)&&(r.push({match:l.contentMatch,type:l,via:i}),t[l.name]=!0)}}return null}get edgeCount(){return this.next.length}edge(e){if(e>=this.next.length)throw new RangeError(`There's no ${e}th edge in this content match`);return this.next[e]}toString(){let e=[];function t(r){e.push(r);for(let i=0;i<r.next.length;i++)e.indexOf(r.next[i].next)==-1&&t(r.next[i].next)}return t(this),e.map((r,i)=>{let s=i+(r.validEnd?"*":" ")+" ";for(let o=0;o<r.next.length;o++)s+=(o?", ":"")+r.next[o].type.name+"->"+e.indexOf(r.next[o].next);return s}).join(`
|
|
3
3
|
`)}}je.empty=new je(!0);class Zl{constructor(e,t){this.string=e,this.nodeTypes=t,this.inline=null,this.pos=0,this.tokens=e.split(/\s*(?=\b|\W|$)/),this.tokens[this.tokens.length-1]==""&&this.tokens.pop(),this.tokens[0]==""&&this.tokens.shift()}get next(){return this.tokens[this.pos]}eat(e){return this.next==e&&(this.pos++||!0)}err(e){throw new SyntaxError(e+" (in content expression '"+this.string+"')")}}function ms(n){let e=[];do e.push(Ql(n));while(n.eat("|"));return e.length==1?e[0]:{type:"choice",exprs:e}}function Ql(n){let e=[];do e.push(ea(n));while(n.next&&n.next!=")"&&n.next!="|");return e.length==1?e[0]:{type:"seq",exprs:e}}function ea(n){let e=ra(n);for(;;)if(n.eat("+"))e={type:"plus",expr:e};else if(n.eat("*"))e={type:"star",expr:e};else if(n.eat("?"))e={type:"opt",expr:e};else if(n.eat("{"))e=ta(n,e);else break;return e}function Tr(n){/\D/.test(n.next)&&n.err("Expected number, got '"+n.next+"'");let e=Number(n.next);return n.pos++,e}function ta(n,e){let t=Tr(n),r=t;return n.eat(",")&&(n.next!="}"?r=Tr(n):r=-1),n.eat("}")||n.err("Unclosed braced range"),{type:"range",min:t,max:r,expr:e}}function na(n,e){let t=n.nodeTypes,r=t[e];if(r)return[r];let i=[];for(let s in t){let o=t[s];o.groups.indexOf(e)>-1&&i.push(o)}return i.length==0&&n.err("No node type or group '"+e+"' found"),i}function ra(n){if(n.eat("(")){let e=ms(n);return n.eat(")")||n.err("Missing closing paren"),e}else if(/\W/.test(n.next))n.err("Unexpected token '"+n.next+"'");else{let e=na(n,n.next).map(t=>(n.inline==null?n.inline=t.isInline:n.inline!=t.isInline&&n.err("Mixing inline and block content"),{type:"name",value:t}));return n.pos++,e.length==1?e[0]:{type:"choice",exprs:e}}}function ia(n){let e=[[]];return i(s(n,0),t()),e;function t(){return e.push([])-1}function r(o,l,a){let c={term:a,to:l};return e[o].push(c),c}function i(o,l){o.forEach(a=>a.to=l)}function s(o,l){if(o.type=="choice")return o.exprs.reduce((a,c)=>a.concat(s(c,l)),[]);if(o.type=="seq")for(let a=0;;a++){let c=s(o.exprs[a],l);if(a==o.exprs.length-1)return c;i(c,l=t())}else if(o.type=="star"){let a=t();return r(l,a),i(s(o.expr,a),a),[r(a)]}else if(o.type=="plus"){let a=t();return i(s(o.expr,l),a),i(s(o.expr,a),a),[r(a)]}else{if(o.type=="opt")return[r(l)].concat(s(o.expr,l));if(o.type=="range"){let a=l;for(let c=0;c<o.min;c++){let d=t();i(s(o.expr,a),d),a=d}if(o.max==-1)i(s(o.expr,a),a);else for(let c=o.min;c<o.max;c++){let d=t();r(a,d),i(s(o.expr,a),d),a=d}return[r(a)]}else{if(o.type=="name")return[r(l,void 0,o.value)];throw new Error("Unknown expr type")}}}}function gs(n,e){return e-n}function Nr(n,e){let t=[];return r(e),t.sort(gs);function r(i){let s=n[i];if(s.length==1&&!s[0].term)return r(s[0].to);t.push(i);for(let o=0;o<s.length;o++){let{term:l,to:a}=s[o];!l&&t.indexOf(a)==-1&&r(a)}}}function sa(n){let e=Object.create(null);return t(Nr(n,0));function t(r){let i=[];r.forEach(o=>{n[o].forEach(({term:l,to:a})=>{if(!l)return;let c;for(let d=0;d<i.length;d++)i[d][0]==l&&(c=i[d][1]);Nr(n,a).forEach(d=>{c||i.push([l,c=[]]),c.indexOf(d)==-1&&c.push(d)})})});let s=e[r.join(",")]=new je(r.indexOf(n.length-1)>-1);for(let o=0;o<i.length;o++){let l=i[o][1].sort(gs);s.next.push({type:i[o][0],next:e[l.join(",")]||t(l)})}return s}}function oa(n,e){for(let t=0,r=[n];t<r.length;t++){let i=r[t],s=!i.validEnd,o=[];for(let l=0;l<i.next.length;l++){let{type:a,next:c}=i.next[l];o.push(a.name),s&&!(a.isText||a.hasRequiredAttrs())&&(s=!1),r.indexOf(c)==-1&&r.push(c)}s&&e.err("Only non-generatable nodes ("+o.join(", ")+") in a required position (see https://prosemirror.net/docs/guide/#generatable)")}}function ys(n){let e=Object.create(null);for(let t in n){let r=n[t];if(!r.hasDefault)return null;e[t]=r.default}return e}function bs(n,e){let t=Object.create(null);for(let r in n){let i=e&&e[r];if(i===void 0){let s=n[r];if(s.hasDefault)i=s.default;else throw new RangeError("No value supplied for attribute "+r)}t[r]=i}return t}function ks(n){let e=Object.create(null);if(n)for(let t in n)e[t]=new la(n[t]);return e}let Dr=class Ss{constructor(e,t,r){this.name=e,this.schema=t,this.spec=r,this.markSet=null,this.groups=r.group?r.group.split(" "):[],this.attrs=ks(r.attrs),this.defaultAttrs=ys(this.attrs),this.contentMatch=null,this.inlineContent=null,this.isBlock=!(r.inline||e=="text"),this.isText=e=="text"}get isInline(){return!this.isBlock}get isTextblock(){return this.isBlock&&this.inlineContent}get isLeaf(){return this.contentMatch==je.empty}get isAtom(){return this.isLeaf||!!this.spec.atom}get whitespace(){return this.spec.whitespace||(this.spec.code?"pre":"normal")}hasRequiredAttrs(){for(let e in this.attrs)if(this.attrs[e].isRequired)return!0;return!1}compatibleContent(e){return this==e||this.contentMatch.compatible(e.contentMatch)}computeAttrs(e){return!e&&this.defaultAttrs?this.defaultAttrs:bs(this.attrs,e)}create(e=null,t,r){if(this.isText)throw new Error("NodeType.create can't construct text nodes");return new Le(this,this.computeAttrs(e),k.from(t),P.setFrom(r))}createChecked(e=null,t,r){return t=k.from(t),this.checkContent(t),new Le(this,this.computeAttrs(e),t,P.setFrom(r))}createAndFill(e=null,t,r){if(e=this.computeAttrs(e),t=k.from(t),t.size){let o=this.contentMatch.fillBefore(t);if(!o)return null;t=o.append(t)}let i=this.contentMatch.matchFragment(t),s=i&&i.fillBefore(k.empty,!0);return s?new Le(this,e,t.append(s),P.setFrom(r)):null}validContent(e){let t=this.contentMatch.matchFragment(e);if(!t||!t.validEnd)return!1;for(let r=0;r<e.childCount;r++)if(!this.allowsMarks(e.child(r).marks))return!1;return!0}checkContent(e){if(!this.validContent(e))throw new RangeError(`Invalid content for node ${this.name}: ${e.toString().slice(0,50)}`)}allowsMarkType(e){return this.markSet==null||this.markSet.indexOf(e)>-1}allowsMarks(e){if(this.markSet==null)return!0;for(let t=0;t<e.length;t++)if(!this.allowsMarkType(e[t].type))return!1;return!0}allowedMarks(e){if(this.markSet==null)return e;let t;for(let r=0;r<e.length;r++)this.allowsMarkType(e[r].type)?t&&t.push(e[r]):t||(t=e.slice(0,r));return t?t.length?t:P.none:e}static compile(e,t){let r=Object.create(null);e.forEach((s,o)=>r[s]=new Ss(s,t,o));let i=t.spec.topNode||"doc";if(!r[i])throw new RangeError("Schema is missing its top node type ('"+i+"')");if(!r.text)throw new RangeError("Every schema needs a 'text' type");for(let s in r.text.attrs)throw new RangeError("The text node type should not have attributes");return r}};class la{constructor(e){this.hasDefault=Object.prototype.hasOwnProperty.call(e,"default"),this.default=e.default}get isRequired(){return!this.hasDefault}}class Zt{constructor(e,t,r,i){this.name=e,this.rank=t,this.schema=r,this.spec=i,this.attrs=ks(i.attrs),this.excluded=null;let s=ys(this.attrs);this.instance=s?new P(this,s):null}create(e=null){return!e&&this.instance?this.instance:new P(this,bs(this.attrs,e))}static compile(e,t){let r=Object.create(null),i=0;return e.forEach((s,o)=>r[s]=new Zt(s,i++,t,o)),r}removeFromSet(e){for(var t=0;t<e.length;t++)e[t].type==this&&(e=e.slice(0,t).concat(e.slice(t+1)),t--);return e}isInSet(e){for(let t=0;t<e.length;t++)if(e[t].type==this)return e[t]}excludes(e){return this.excluded.indexOf(e)>-1}}class aa{constructor(e){this.cached=Object.create(null);let t=this.spec={};for(let i in e)t[i]=e[i];t.nodes=j.from(e.nodes),t.marks=j.from(e.marks||{}),this.nodes=Dr.compile(this.spec.nodes,this),this.marks=Zt.compile(this.spec.marks,this);let r=Object.create(null);for(let i in this.nodes){if(i in this.marks)throw new RangeError(i+" can not be both a node and a mark");let s=this.nodes[i],o=s.spec.content||"",l=s.spec.marks;s.contentMatch=r[o]||(r[o]=je.parse(o,this.nodes)),s.inlineContent=s.contentMatch.inlineContent,s.markSet=l=="_"?null:l?Ar(this,l.split(" ")):l==""||!s.inlineContent?[]:null}for(let i in this.marks){let s=this.marks[i],o=s.spec.excludes;s.excluded=o==null?[s]:o==""?[]:Ar(this,o.split(" "))}this.nodeFromJSON=this.nodeFromJSON.bind(this),this.markFromJSON=this.markFromJSON.bind(this),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached.wrappings=Object.create(null)}node(e,t=null,r,i){if(typeof e=="string")e=this.nodeType(e);else if(e instanceof Dr){if(e.schema!=this)throw new RangeError("Node type from different schema used ("+e.name+")")}else throw new RangeError("Invalid node type: "+e);return e.createChecked(t,r,i)}text(e,t){let r=this.nodes.text;return new jt(r,r.defaultAttrs,e,P.setFrom(t))}mark(e,t){return typeof e=="string"&&(e=this.marks[e]),e.create(t)}nodeFromJSON(e){return Le.fromJSON(this,e)}markFromJSON(e){return P.fromJSON(this,e)}nodeType(e){let t=this.nodes[e];if(!t)throw new RangeError("Unknown node type: "+e);return t}}function Ar(n,e){let t=[];for(let r=0;r<e.length;r++){let i=e[r],s=n.marks[i],o=s;if(s)t.push(s);else for(let l in n.marks){let a=n.marks[l];(i=="_"||a.spec.group&&a.spec.group.split(" ").indexOf(i)>-1)&&t.push(o=a)}if(!o)throw new SyntaxError("Unknown mark type: '"+e[r]+"'")}return t}class tt{constructor(e,t){this.schema=e,this.rules=t,this.tags=[],this.styles=[],t.forEach(r=>{r.tag?this.tags.push(r):r.style&&this.styles.push(r)}),this.normalizeLists=!this.tags.some(r=>{if(!/^(ul|ol)\b/.test(r.tag)||!r.node)return!1;let i=e.nodes[r.node];return i.contentMatch.matchType(i)})}parse(e,t={}){let r=new Pr(this,t,!1);return r.addAll(e,t.from,t.to),r.finish()}parseSlice(e,t={}){let r=new Pr(this,t,!0);return r.addAll(e,t.from,t.to),S.maxOpen(r.finish())}matchTag(e,t,r){for(let i=r?this.tags.indexOf(r)+1:0;i<this.tags.length;i++){let s=this.tags[i];if(ua(e,s.tag)&&(s.namespace===void 0||e.namespaceURI==s.namespace)&&(!s.context||t.matchesContext(s.context))){if(s.getAttrs){let o=s.getAttrs(e);if(o===!1)continue;s.attrs=o||void 0}return s}}}matchStyle(e,t,r,i){for(let s=i?this.styles.indexOf(i)+1:0;s<this.styles.length;s++){let o=this.styles[s],l=o.style;if(!(l.indexOf(e)!=0||o.context&&!r.matchesContext(o.context)||l.length>e.length&&(l.charCodeAt(e.length)!=61||l.slice(e.length+1)!=t))){if(o.getAttrs){let a=o.getAttrs(t);if(a===!1)continue;o.attrs=a||void 0}return o}}}static schemaRules(e){let t=[];function r(i){let s=i.priority==null?50:i.priority,o=0;for(;o<t.length;o++){let l=t[o];if((l.priority==null?50:l.priority)<s)break}t.splice(o,0,i)}for(let i in e.marks){let s=e.marks[i].spec.parseDOM;s&&s.forEach(o=>{r(o=_r(o)),o.mark||o.ignore||o.clearMark||(o.mark=i)})}for(let i in e.nodes){let s=e.nodes[i].spec.parseDOM;s&&s.forEach(o=>{r(o=_r(o)),o.node||o.ignore||o.mark||(o.node=i)})}return t}static fromSchema(e){return e.cached.domParser||(e.cached.domParser=new tt(e,tt.schemaRules(e)))}}const Cs={address:!0,article:!0,aside:!0,blockquote:!0,canvas:!0,dd:!0,div:!0,dl:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,li:!0,noscript:!0,ol:!0,output:!0,p:!0,pre:!0,section:!0,table:!0,tfoot:!0,ul:!0},ca={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},xs={ol:!0,ul:!0},Ht=1,$t=2,yt=4;function Ir(n,e,t){return e!=null?(e?Ht:0)|(e==="full"?$t:0):n&&n.whitespace=="pre"?Ht|$t:t&~yt}class It{constructor(e,t,r,i,s,o,l){this.type=e,this.attrs=t,this.marks=r,this.pendingMarks=i,this.solid=s,this.options=l,this.content=[],this.activeMarks=P.none,this.stashMarks=[],this.match=o||(l&yt?null:e.contentMatch)}findWrapping(e){if(!this.match){if(!this.type)return[];let t=this.type.contentMatch.fillBefore(k.from(e));if(t)this.match=this.type.contentMatch.matchFragment(t);else{let r=this.type.contentMatch,i;return(i=r.findWrapping(e.type))?(this.match=r,i):null}}return this.match.findWrapping(e.type)}finish(e){if(!(this.options&Ht)){let r=this.content[this.content.length-1],i;if(r&&r.isText&&(i=/[ \t\r\n\u000c]+$/.exec(r.text))){let s=r;r.text.length==i[0].length?this.content.pop():this.content[this.content.length-1]=s.withText(s.text.slice(0,s.text.length-i[0].length))}}let t=k.from(this.content);return!e&&this.match&&(t=t.append(this.match.fillBefore(k.empty,!0))),this.type?this.type.create(this.attrs,t,this.marks):t}popFromStashMark(e){for(let t=this.stashMarks.length-1;t>=0;t--)if(e.eq(this.stashMarks[t]))return this.stashMarks.splice(t,1)[0]}applyPending(e){for(let t=0,r=this.pendingMarks;t<r.length;t++){let i=r[t];(this.type?this.type.allowsMarkType(i.type):ha(i.type,e))&&!i.isInSet(this.activeMarks)&&(this.activeMarks=i.addToSet(this.activeMarks),this.pendingMarks=i.removeFromSet(this.pendingMarks))}}inlineContext(e){return this.type?this.type.inlineContent:this.content.length?this.content[0].isInline:e.parentNode&&!Cs.hasOwnProperty(e.parentNode.nodeName.toLowerCase())}}class Pr{constructor(e,t,r){this.parser=e,this.options=t,this.isOpen=r,this.open=0;let i=t.topNode,s,o=Ir(null,t.preserveWhitespace,0)|(r?yt:0);i?s=new It(i.type,i.attrs,P.none,P.none,!0,t.topMatch||i.type.contentMatch,o):r?s=new It(null,null,P.none,P.none,!0,null,o):s=new It(e.schema.topNodeType,null,P.none,P.none,!0,null,o),this.nodes=[s],this.find=t.findPositions,this.needsBlock=!1}get top(){return this.nodes[this.open]}addDOM(e){if(e.nodeType==3)this.addTextNode(e);else if(e.nodeType==1){let t=e.getAttribute("style");if(!t)this.addElement(e);else{let r=this.readStyles(fa(t));if(!r)return;let[i,s]=r,o=this.top;for(let l=0;l<s.length;l++)this.removePendingMark(s[l],o);for(let l=0;l<i.length;l++)this.addPendingMark(i[l]);this.addElement(e);for(let l=0;l<i.length;l++)this.removePendingMark(i[l],o);for(let l=0;l<s.length;l++)this.addPendingMark(s[l])}}}addTextNode(e){let t=e.nodeValue,r=this.top;if(r.options&$t||r.inlineContext(e)||/[^ \t\r\n\u000c]/.test(t)){if(r.options&Ht)r.options&$t?t=t.replace(/\r\n?/g,`
|
|
4
4
|
`):t=t.replace(/\r?\n|\r/g," ");else if(t=t.replace(/[ \t\r\n\u000c]+/g," "),/^[ \t\r\n\u000c]/.test(t)&&this.open==this.nodes.length-1){let i=r.content[r.content.length-1],s=e.previousSibling;(!i||s&&s.nodeName=="BR"||i.isText&&/[ \t\r\n\u000c]$/.test(i.text))&&(t=t.slice(1))}t&&this.insertNode(this.parser.schema.text(t)),this.findInText(e)}else this.findInside(e)}addElement(e,t){let r=e.nodeName.toLowerCase(),i;xs.hasOwnProperty(r)&&this.parser.normalizeLists&&da(e);let s=this.options.ruleFromNode&&this.options.ruleFromNode(e)||(i=this.parser.matchTag(e,this,t));if(s?s.ignore:ca.hasOwnProperty(r))this.findInside(e),this.ignoreFallback(e);else if(!s||s.skip||s.closeParent){s&&s.closeParent?this.open=Math.max(0,this.open-1):s&&s.skip.nodeType&&(e=s.skip);let o,l=this.top,a=this.needsBlock;if(Cs.hasOwnProperty(r))l.content.length&&l.content[0].isInline&&this.open&&(this.open--,l=this.top),o=!0,l.type||(this.needsBlock=!0);else if(!e.firstChild){this.leafFallback(e);return}this.addAll(e),o&&this.sync(l),this.needsBlock=a}else this.addElementByRule(e,s,s.consuming===!1?i:void 0)}leafFallback(e){e.nodeName=="BR"&&this.top.type&&this.top.type.inlineContent&&this.addTextNode(e.ownerDocument.createTextNode(`
|
package/dist/message_input.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./message_input-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./message_input-ab3be145.cjs");require("./tooltip-3390fc3b.cjs");require("vue");require("./emoji-125c2250.cjs");exports.DtRecipeMessageInput=e.message_input;
|
package/dist/message_input.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { y as i } from "./message_input-
|
|
2
|
-
import "./tooltip-
|
|
1
|
+
import { y as i } from "./message_input-08860f81.js";
|
|
2
|
+
import "./tooltip-02b802bc.js";
|
|
3
3
|
import "vue";
|
|
4
|
-
import "./emoji-
|
|
4
|
+
import "./emoji-ee056efb.js";
|
|
5
5
|
export {
|
|
6
6
|
i as DtRecipeMessageInput
|
|
7
7
|
};
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.skeleton-placeholder{display:flex;stroke:none;fill:var(--placeholder-from-color, var(--dt-color-black-300));background:var(--placeholder-from-color, var(--dt-color-black-300))}.skeleton-placeholder--animate{animation-name:placeholder-throb;animation-iteration-count:infinite}@keyframes placeholder-throb{10%{fill:var(--placeholder-from-color, var(--dt-color-black-300));background:var(--placeholder-from-color, var(--dt-color-black-300))}50%{fill:var(--placeholder-to-color, var(--dt-color-black-100));background:var(--placeholder-to-color, var(--dt-color-black-100))}90%{fill:var(--placeholder-from-color, var(--dt-color-black-300));background:var(--placeholder-from-color, var(--dt-color-black-300))}}.dt-emoji[data-v-6ad3e149]{display:inline-block}.tippy-box[data-popper-reference-hidden] .d-tooltip,.tippy-box[data-popper-escaped] .d-tooltip{visibility:hidden;pointer-events:none}.dt-empty-list-item{display:flex;align-items:center;justify-content:center;font-size:var(--dt-font-size-200);line-height:var(--lh4);padding:var(--dt-space-300) var(--dt-space-450)}.enter-active,.leave-active{overflow:hidden;transition:height var(--td300) var(--ttf-quint)}.d-context-menu-list{width:var(--dt-size-850)}.dt-list-item[role=menuitem]{border-radius:var(--dt-size-300)}.dt-list-separator{border-top:var(--dt-size-100) solid var(--dt-color-border-default);list-style:none}.dt-list-section[tabindex="-1"]:focus{outline:none}.vue-recycle-scroller{position:relative}.vue-recycle-scroller.direction-vertical:not(.page-mode){overflow-y:auto}.vue-recycle-scroller.direction-horizontal:not(.page-mode){overflow-x:auto}.vue-recycle-scroller.direction-horizontal{display:flex}.vue-recycle-scroller__slot{flex:auto 0 0}.vue-recycle-scroller__item-wrapper{flex:1;box-sizing:border-box;overflow:hidden;position:relative}.vue-recycle-scroller.ready .vue-recycle-scroller__item-view{position:absolute;top:0;left:0;will-change:transform}.vue-recycle-scroller.direction-vertical .vue-recycle-scroller__item-wrapper{width:100%}.vue-recycle-scroller.direction-horizontal .vue-recycle-scroller__item-wrapper{height:100%}.vue-recycle-scroller.ready.direction-vertical .vue-recycle-scroller__item-view{width:100%}.vue-recycle-scroller.ready.direction-horizontal .vue-recycle-scroller__item-view{height:100%}.dt-recipe-callbar-button:not(.dt-recipe-callbar-button--circle){line-height:var(--dt-font-line-height-300)}.dt-recipe-callbar-button--circle{border-radius:var(--dt-size-radius-circle)}.dt-recipe-callbar-button.d-btn[disabled]{background-color:unset;opacity:.5}.dt-recipe-callbar-button--circle.d-btn[disabled]{border-color:unset}.dt-recipe-callbar-button--active .base-button__icon,.dt-recipe-callbar-button--active:hover .base-button__icon{color:var(--primary-color)}.dt-recipe--callbar-button-with-popover--arrow.d-btn--circle{margin-top:var(--dt-space-350-negative);margin-left:calc(var(--dt-space-300-negative) * 5);width:var(--dt-size-500);height:var(--dt-size-500);padding:var(--dt-space-400);border-radius:var(--dt-size-300)}.dt-recipe--callbar-button-with-popover--arrow.d-btn--circle.d-btn--active{background:var(--dt-color-surface-moderate-opaque)}.dt-recipe--callbar-button-with-popover--popover .d-popover__header{background:var(--dt-color-surface-contrast);color:var(--dt-color-foreground-primary-inverted)}.dt-recipe--callbar-button-with-popover--popover .d-popover__header .d-btn{color:var(--dt-color-foreground-primary-inverted)}.dt-recipe--callbar-button-with-popover--button .d-tab--selected:after,.dt-recipe--callbar-button-with-popover--button .d-tab--selected:hover:after{--tab--bgc: var(--dt-color-surface-contrast)}.dt-recipe--callbar-button-with-popover--button .tab-group{display:flex;flex-direction:column;height:100%}.dt-recipe--callbar-button-with-popover--button .tab-content{flex:1 1 100%;overflow-y:auto}.dt-contact-info[data-v-3d0f9d2e]{--contact-info-avatar-border-color: var(--dt-color-surface-primary);display:flex}.dt-contact-info[data-v-3d0f9d2e] .dt-item-layout{flex:1 1 0}.dt-contact-info[data-v-3d0f9d2e] .dt-item-layout--content{min-width:var(--dt-space-825)}.dt-contact-info[data-v-3d0f9d2e] .dt-item-layout--left{min-width:var(--dt-space-650);justify-content:flex-start;align-items:center}.dt-contact-info[data-v-3d0f9d2e] .dt-item-layout--right{min-width:0;align-items:center}.dt-contact-info--avatars .d-avatar[data-v-3d0f9d2e]{border-radius:var(--dt-size-radius-pill);border:var(--dt-size-300) solid var(--contact-info-avatar-border-color);box-sizing:unset}.d-top-banner-info__left{margin:var(--dt-space-300) 0 var(--dt-space-300) var(--dt-space-400);min-width:20%}.d-top-banner-info__middle{display:flex;align-items:center;gap:var(--dt-size-300)}.d-top-banner-info__right{display:flex;align-items:baseline;justify-content:flex-end;gap:var(--dt-size-300);margin:var(--dt-space-300) var(--dt-space-500) var(--dt-space-300) 0;min-width:20%}.ivr_node__width{width:280px}.ivr_node__goto_icon{transform:rotate(90deg)}.ivr-connector{z-index:var(--zi-base);display:flex;justify-content:center;align-items:center;border-color:var(--dt-color-purple-600);background-color:var(--dt-color-purple-600)}.dt-chip-content{font-variant-numeric:tabular-nums}.settings-menu-button[data-v-b0dfa8b3]{padding:var(--dt-space-0);border-radius:var(--dt-size-550);height:var(--dt-size-600);width:var(--dt-size-550);color:var(--dt-theme-topbar-button-color-foreground);background-color:var(--dt-theme-topbar-button-color-background)}.settings-menu-button[data-v-b0dfa8b3]:hover{background-color:var(--dt-theme-topbar-button-color-background-hover);color:var(--dt-theme-topbar-button-color-foreground-hover)}.settings-menu-button[data-v-b0dfa8b3]:active{background-color:var(--dt-theme-topbar-button-color-background-active)}.settings-menu-button-update[data-v-b0dfa8b3]{background-color:hsla(var(--dt-color-blue-200-hsl) / 25%);color:var(--dt-color-blue-500);border-color:hsla(var(--dt-color-blue-200-hsl) / 25%);border-radius:var(--dt-size-radius-pill);height:var(--dt-size-600)}.settings-menu-button-update[data-v-b0dfa8b3]:hover{background-color:hsla(var(--dt-color-blue-200-hsl) / 50%);color:var(--dt-theme-topbar-button-color-foreground-hover)}.dt-leftbar-row[data-v-49d75ce6]{--leftbar-row-color-foreground: var(--dt-theme-sidebar-color-foreground);--leftbar-row-color-background: var(--dt-theme-sidebar-row-color-background);--leftbar-row-radius: var(--dt-size-radius-pill);--leftbar-row-opacity: 100%;--leftbar-row-alpha-color-foreground: var(--dt-theme-sidebar-icon-color-foreground);--leftbar-row-alpha-width: calc(var(--dt-size-300) * 10);--leftbar-row-alpha-height: calc(var(--dt-size-300) * 9);--leftbar-row-omega-height: var(--leftbar-row-alpha-height);--leftbar-row-unread-badge-display: inline-flex;--leftbar-row-description-color-foreground: var(--dt-theme-sidebar-color-foreground);--leftbar-row-description-font-weight: var(--dt-font-weight-normal);--leftbar-row-description-font-size: var(--dt-font-size-200);--leftbar-row-description-line-height: var(--dt-font-line-height-200);--leftbar-row-status-color-foreground: var(--dt-theme-sidebar-status-color-foreground);--leftbar-row-status-font-size: var(--dt-font-size-100);--leftbar-row-status-line-height: var(--dt-font-line-height-100);--leftbar-row-action-position-right: var(--dt-size-400);--leftbar-row-action-position-bottom: 50%;--leftbar-row-action-width: var(--dt-size-550);--leftbar-row-action-height: var(--leftbar-row-action-width);position:relative;opacity:var(--leftbar-row-opacity);display:flex;background-color:var(--dt-theme-sidebar-row-color-background);border-radius:var(--leftbar-row-radius);transition-duration:var(--td200);transition-property:background-color,border,box-shadow;transition-timing-function:var(--ttf-out-quint);cursor:pointer}.dt-leftbar-row[data-v-49d75ce6]:not(.dt-leftbar-row--no-action):hover,.dt-leftbar-row[data-v-49d75ce6]:not(.dt-leftbar-row--no-action):focus-within{--leftbar-row-unread-badge-display: none}.dt-leftbar-row[data-v-49d75ce6]:not(.dt-leftbar-row--no-action):hover .dt-leftbar-row__action,.dt-leftbar-row[data-v-49d75ce6]:not(.dt-leftbar-row--no-action):focus-within .dt-leftbar-row__action{display:inline-flex}.dt-leftbar-row[data-v-49d75ce6]:not(.dt-leftbar-row--no-action):hover .dt-leftbar-row__action-button,.dt-leftbar-row[data-v-49d75ce6]:not(.dt-leftbar-row--no-action):focus-within .dt-leftbar-row__action-button{opacity:1}.dt-leftbar-row[data-v-49d75ce6]:hover,.dt-leftbar-row[data-v-49d75ce6]:focus-within{--leftbar-row-color-background: var(--dt-theme-sidebar-row-color-background-hover)}.dt-leftbar-row[data-v-49d75ce6]:hover .d-presence,.dt-leftbar-row[data-v-49d75ce6]:focus-within .d-presence{--presence-color-border-base: var(--dt-color-black-200)}.dt-leftbar-row[data-v-49d75ce6]:hover .d-avatar__count,.dt-leftbar-row[data-v-49d75ce6]:focus-within .d-avatar__count{--avatar-count-color-shadow: var(--dt-theme-sidebar-selected-row-color-background)}.dt-leftbar-row--has-unread[data-v-49d75ce6]{--leftbar-row-description-font-weight: var(--dt-font-weight-bold);--leftbar-row-description-color-foreground: var(--dt-theme-sidebar-color-foreground-unread);--leftbar-row-alpha-color-foreground: var(--dt-theme-sidebar-color-foreground-unread)}.dt-leftbar-row--unread-count[data-v-49d75ce6] .dt-leftbar-row__action{display:none}.dt-leftbar-row--muted[data-v-49d75ce6]{--leftbar-row-opacity: 60%}.dt-leftbar-row--selected[data-v-49d75ce6]{--leftbar-row-color-background: var(--dt-theme-sidebar-selected-row-color-background);--leftbar-row-description-color-foreground: var(--dt-theme-sidebar-selected-row-color-foreground)}.dt-leftbar-row--selected[data-v-49d75ce6] .d-presence{--presence-color-border-base: var(--dt-color-black-200)}.dt-leftbar-row--selected[data-v-49d75ce6] .d-avatar__count{--avatar-count-color-shadow: var(--dt-theme-sidebar-selected-row-color-background)}.dt-leftbar-row__is-typing[data-v-49d75ce6]{--is-typing-size-shape: var(--dt-size-550);height:var(--is-typing-size-shape);width:var(--is-typing-size-shape);position:absolute;display:flex;align-items:center;justify-content:center;gap:2px;border-radius:var(--dt-size-radius-pill);opacity:.75}.dt-leftbar-row__is-typing span[data-v-49d75ce6]{transition:all .5s ease;background:var(--dt-color-surface-strong);height:4px;width:4px;display:inline-block;padding:0;opacity:.3;border-radius:var(--dt-size-radius-pill);animation:wave-49d75ce6 1.5s ease infinite}.dt-leftbar-row__is-typing span[data-v-49d75ce6]:nth-child(1){animation-delay:0ms}.dt-leftbar-row__is-typing span[data-v-49d75ce6]:nth-child(2){animation-delay:var(--td100)}.dt-leftbar-row__is-typing span[data-v-49d75ce6]:nth-child(3){animation-delay:var(--td200)}.dt-leftbar-row__primary[data-v-49d75ce6]{display:flex;align-items:center;flex:1;width:100%;text-align:left;background-color:var(--leftbar-row-color-background);color:var(--leftbar-row-color-foreground);text-decoration:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-size:inherit;line-height:inherit;margin:0;border:0;padding:0;border-radius:var(--leftbar-row-radius)}.dt-leftbar-row__primary[data-v-49d75ce6]:active{--leftbar-row-color-background: var(--dt-theme-sidebar-row-color-background-active)}.dt-leftbar-row__primary[data-v-49d75ce6]:focus-visible{box-shadow:var(--dt-shadow-focus-inset)}.dt-leftbar-row__action-button[data-v-49d75ce6]{opacity:0;width:var(--leftbar-row-action-width);height:var(--leftbar-row-action-height)}.dt-leftbar-row__alpha[data-v-49d75ce6]{color:var(--leftbar-row-alpha-color-foreground);display:flex;box-sizing:border-box;justify-content:center;align-items:center;padding-left:var(--dt-space-400);padding-right:var(--dt-space-400);width:var(--leftbar-row-alpha-width);height:var(--leftbar-row-alpha-height);border-radius:var(--leftbar-row-radius) 0 0 var(--leftbar-row-radius)}.dt-leftbar-row__label[data-v-49d75ce6]{flex:0 1;min-width:0}.dt-leftbar-row__omega[data-v-49d75ce6]{position:absolute;display:flex;right:var(--leftbar-row-action-position-right);top:var(--leftbar-row-action-position-bottom);transform:translateY(calc(var(--leftbar-row-action-position-bottom) * -1));gap:var(--dt-space-300);justify-content:flex-end;align-items:center;box-sizing:border-box;border-radius:var(--leftbar-row-radius)}.dt-leftbar-row__unread-badge[data-v-49d75ce6]{display:var(--leftbar-row-unread-badge-display)}.dt-leftbar-row__active-voice[data-v-49d75ce6]{color:var(--dt-color-foreground-success);display:inline-flex;-webkit-animation-name:opacity-pulsate-49d75ce6;-webkit-animation-duration:1s;-webkit-animation-iteration-count:infinite;-webkit-animation-fill-mode:both;-moz-animation-name:opacity-pulsate-49d75ce6;-moz-animation-duration:1s;-moz-animation-iteration-count:infinite;-moz-animation-fill-mode:both;animation-name:opacity-pulsate-49d75ce6;animation-duration:1s;animation-iteration-count:infinite;animation-fill-mode:both}.dt-leftbar-row__dnd[data-v-49d75ce6]{padding-top:var(--dt-space-200);padding-right:var(--dt-space-300);color:var(--dt-color-foreground-tertiary);font-size:var(--dt-font-size-100);line-height:var(--dt-font-line-height-400);font-weight:var(--dt-font-weight-medium)}.dt-leftbar-row[data-v-49d75ce6] .dt-leftbar-row__description{display:block;font-weight:var(--leftbar-row-description-font-weight);font-size:var(--leftbar-row-description-font-size);line-height:var(--leftbar-row-description-line-height);color:var(--leftbar-row-description-color-foreground);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dt-leftbar-row[data-v-49d75ce6] .dt-leftbar-row__status{display:block;color:var(--leftbar-row-status-color-foreground);font-size:var(--leftbar-row-status-font-size);line-height:var(--leftbar-row-status-line-height);padding-bottom:var(--dt-space-100);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dt-leftbar-row[data-v-49d75ce6] .dt-leftbar-row__meta-context~.dt-leftbar-row__meta-custom:not(:empty):before{content:" • ";color:var(--dt-theme-sidebar-status-color-foreground)}.dt-leftbar-row__icon-cc[data-v-49d75ce6]{border-radius:var(--dt-size-200);width:calc(var(--dt-size-300) * 3.5);height:calc(var(--dt-size-300) * 3.5)}.opacity-pulsate[data-v-49d75ce6]{-webkit-animation-name:opacity-pulsate-49d75ce6;-webkit-animation-duration:1s;-webkit-animation-iteration-count:infinite;-webkit-animation-fill-mode:both;-moz-animation-name:opacity-pulsate-49d75ce6;-moz-animation-duration:1s;-moz-animation-iteration-count:infinite;-moz-animation-fill-mode:both;animation-name:opacity-pulsate-49d75ce6;animation-duration:1s;animation-iteration-count:infinite;animation-fill-mode:both}@-webkit-keyframes opacity-pulsate-49d75ce6{0%,to{opacity:.2}50%{opacity:1}}@-moz-keyframes opacity-pulsate-49d75ce6{0%,to{opacity:.2}50%{opacity:1}}@keyframes opacity-pulsate-49d75ce6{0%,to{opacity:.2}50%{opacity:1}}@keyframes wave-49d75ce6{0%,50%,to{transform:translate(0)}10%{transform:translateY(-5px);opacity:90%}}.dt-leftbar-unread-pill{display:flex;align-items:center;justify-content:center;padding:var(--dt-space-200) var(--dt-space-500) var(--dt-space-200) var(--dt-space-400);gap:var(--dt-space-300);font-size:var(--dt-font-size-100);box-shadow:var(--dt-shadow-medium);border-radius:var(--dt-size-radius-pill);border:none;line-height:var(--dt-font-line-height-600);cursor:pointer}.dt-leftbar-unread-pill--mentions{font-weight:var(--dt-font-weight-bold);background-color:var(--dt-theme-mention-color-background);color:var(--dt-theme-mention-color-foreground)}.dt-leftbar-unread-pill--messages{background-color:var(--dt-color-surface-contrast);color:var(--dt-color-foreground-secondary-inverted)}.dt-feed-item-row[data-v-5db9c697]{transition-duration:2s!important}.dt-feed-item-row .content-text-wrapper-class[data-v-5db9c697]:not(img){line-height:1.6rem}.dt-feed-item-row[data-v-5db9c697] .dt-item-layout--left .d-avatar{align-self:flex-start;margin-top:var(--dt-space-300)}.dt-feed-item-pill--border[data-v-59051987]{border:double 1px transparent;border-radius:4.8rem;background-origin:border-box;background-clip:content-box,border-box;overflow:hidden}.dt-feed-item-pill--border-default[data-v-59051987]{background:var(--dt-color-border-default)}.dt-feed-item-pill--border-ai[data-v-59051987]{background-image:linear-gradient(var(--dt-color-surface-primary),var(--dt-color-surface-primary)),var(--dt-badge-color-background-ai)}.dt-feed-item-pill--border-critical[data-v-59051987]{background:var(--dt-color-foreground-critical)}.dt-feed-item-pill--icon[data-v-59051987]{animation:fade-59051987 .15s ease-in}@keyframes fade-59051987{0%{transform:scale(0)}to{transform:scale(1)}}.dt-emoji-row{display:flex;flex-wrap:wrap}.dt-emoji-row__reaction{padding:var(--dt-space-300) var(--dt-space-400);gap:var(--dt-space-300);border-radius:var(--dt-size-radius-500);margin-bottom:0;transition-delay:0s;transition-duration:var(--td50);transition-property:all;transition-timing-function:var(--ttf-in-out);color:var(--dt-color-foreground-secondary);background-color:var(--dt-color-surface-moderate-opaque)}.dt-emoji-row__reaction:hover,.dt-emoji-row__reaction:focus{border-color:hsla(var(--dt-color-black-600-hsl)/100%)!important}.dt-emoji-row__reaction--selected{color:var(--dt-color-link-primary);background-color:var(--dt-color-purple-100)!important;border-color:var(--dt-color-brand-purple)!important}.dt-emoji-row__reaction--selected:hover{color:var(--dt-color-link-primary)}.progress-bar__circle{fill:none;stroke-width:2;stroke-dasharray:var(--stroke-dasharray)}.progress-bar__circle:nth-child(1){stroke-dashoffset:0;stroke:var(--dt-color-black-100)}.progress-bar__circle:nth-child(2){stroke-dashoffset:var(--stroke-dashoffset);stroke:var(--dt-color-purple-500);transition:stroke-dashoffset .5s linear}.dt-attachment-image{position:relative}.dt-attachment-image:focus-within .dt-attachment-image__close-button,.dt-attachment-image:hover .dt-attachment-image__close-button{opacity:1}.dt-attachment-image__image-viewer{height:var(--dt-size-700);width:var(--dt-size-700);border:var(--dt-space-100) solid;border-radius:var(--br4);border-width:var(--dt-size-350);border-color:var(--dt-color-border-subtle);object-fit:cover}.dt-attachment-image__top-right{position:absolute;top:var(--dt-size-100);right:var(--dt-size-100)}.dt-attachment-image__close-button{opacity:0;position:absolute;top:inherit;right:inherit;color:var(--dt-color-neutral-white);background-color:var(--dt-color-black-400);border:var(--dt-space-100) solid;border-width:var(--dt-size-200);border-color:var(--dt-color-neutral-white)}.dt-attachment-image__progress-bar{position:absolute;top:inherit;right:inherit;background-color:var(--dt-color-neutral-white);border-radius:50%;display:flex;transform:rotate(-90deg);border:var(--dt-space-100) solid;border-width:var(--dt-size-200);border-color:var(--dt-color-border-subtle)}.dt-attachment-carousel{position:relative;max-height:100px;width:var(--dt-space-1000)}.dt-attachment-carousel__media-list{display:flex;flex-direction:row;padding-left:0;overflow-x:scroll}.dt-attachment-carousel__media-list::-webkit-scrollbar{display:none}.dt-attachment-carousel__arrow{position:absolute;opacity:0;background-color:var(--dt-color-neutral-white);top:var(--dt-space-30-percent);border:var(--dt-space-100) solid;border-width:var(--dt-size-100);border-color:var(--bc-default)}.dt-attachment-carousel:hover .dt-attachment-carousel__arrow{opacity:1}.dt-attachment-carousel__arrow--left{left:var(--dt-space-300)}.dt-attachment-carousel__arrow--right{right:var(--dt-space-300)}.dt-attachment-carousel__image-viewer{height:var(--dt-size-700);width:var(--dt-size-700);border-radius:var(--br4);border:var(--dt-space-100) solid;border-width:var(--dt-size-350);border-color:var(--dt-color-border-subtle)}.dt-recipe-callbox[data-v-66800ae7]{padding:0;color:var(--dt-color-foreground-primary);background-color:var(--dt-color-surface-primary);border-radius:var(--dt-size-radius-300)}.dt-recipe-callbox--video[data-v-66800ae7]{display:flex;border-radius:var(--dt-size-radius-200) var(--dt-size-radius-200) 0 0;overflow:clip;margin-bottom:var(--dt-space-300-negative)}.dt-recipe-callbox--main-content[data-v-66800ae7]{padding:0;border-radius:var(--dt-size-radius-300);border:var(--dt-size-border-100) solid transparent;align-items:stretch}.dt-recipe-callbox--main-content.dt-recipe-callbox--border-default[data-v-66800ae7]{border-color:var(--dt-color-border-default)}.dt-recipe-callbox--main-content.dt-recipe-callbox--border-ai[data-v-66800ae7]{background:linear-gradient(var(--dt-color-surface-primary),var(--dt-color-surface-primary)) padding-box,linear-gradient(135deg,var(--dt-color-border-accent),var(--dt-color-border-brand)) border-box}.dt-recipe-callbox--main-content.dt-recipe-callbox--border-critical[data-v-66800ae7]{background:radial-gradient(var(--dt-color-surface-primary),var(--dt-color-surface-primary)) padding-box,radial-gradient(circle,#E7301D,#F78B23) border-box}.dt-recipe-callbox--main-content-top[data-v-66800ae7]{display:flex;align-items:center;padding:var(--dt-space-350) var(--dt-space-400)}.dt-recipe-callbox--main-content-bottom[data-v-66800ae7]{border-top:1px solid var(--dt-color-border-subtle)}.dt-recipe-callbox--avatar[data-v-66800ae7]{margin-right:var(--dt-space-400)}.dt-recipe-callbox--content[data-v-66800ae7]{display:flex;flex-direction:column;flex:1 0 auto;min-width:0}.dt-recipe-callbox--content-title[data-v-66800ae7]{overflow:clip;white-space:nowrap;text-overflow:ellipsis;color:var(--dt-color-foreground-primary);background-color:var(--dt-color-surface-primary);font-weight:var(--dt-font-weight-bold);border:none;padding:0;width:0;min-width:100%;text-align:left;-webkit-user-select:text;user-select:text;line-height:normal}.dt-recipe-callbox--content-badge[data-v-66800ae7]{line-height:normal}.dt-recipe-callbox--content-subtitle[data-v-66800ae7]{padding:0;font-size:var(--dt-font-size-100);color:var(--dt-color-foreground-tertiary);line-height:normal;overflow:hidden;width:0;min-width:100%}.dt-recipe-callbox--right[data-v-66800ae7]{display:flex;justify-content:right}.dt-recipe-callbox--clickable .dt-recipe-callbox--content-title[data-v-66800ae7]{cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:var(--dt-size-100)}.dt-recipe-callbox--clickable .dt-recipe-callbox--content-title[data-v-66800ae7]:focus-visible{outline:none;box-shadow:var(--dt-shadow-focus)}.dt-recipe-callbox--clickable .dt-recipe-callbox--content-title[data-v-66800ae7]:hover,.dt-recipe-callbox--clickable .dt-recipe-callbox--content-title[data-v-66800ae7]:active{text-decoration:underline}.dt-recipe-callbox .dt-recipe-callbox-badge--warning[data-v-66800ae7]{background-color:var(--dt-color-surface-warning)}.d-avatar--image-loaded{background-color:transparent;background-image:unset}.d-avatar__count,.d-avatar__presence{z-index:var(--zi-base)}.d-avatar__overlay{background-color:var(--dt-color-surface-contrast-opaque);opacity:var(--dt-opacity-900);position:absolute;width:100%;height:100%;display:flex;align-items:center;justify-content:center;border-radius:var(--dt-size-radius-circle);z-index:var(--zi-base)}.d-avatar__overlay-icon{color:var(--dt-color-foreground-primary-inverted);width:100%}.d-avatar__overlay-text{color:var(--dt-color-foreground-primary-inverted);font-weight:var(--dt-font-weight-bold);font-size:var(--dt-font-size-200);width:100%;text-align:center}.d-avatar--clickable{--avatar-color-border: transparent;cursor:pointer;padding:0;background-color:transparent;border-radius:var(--dt-size-radius-circle);border:var(--dt-size-border-100) solid var(--avatar-color-border)}.d-avatar--clickable:focus-visible{outline:none;box-shadow:var(--dt-shadow-focus)}.d-avatar--clickable:hover{--avatar-color-border: var(--dt-color-border-default)}.d-avatar--clickable:active{--avatar-color-border: var(--dt-color-border-moderate);transform:scale(.98)}.dt-item-layout[data-v-9afad3c4]{align-items:stretch}.dt-item-layout--content[data-v-9afad3c4]{display:flex;flex-direction:column;justify-content:center}.dt-item-layout--selected[data-v-9afad3c4]{display:flex;align-items:center}.dt-list-item{list-style:none;background-color:var(--dt-action-color-background-muted-default)}.dt-list-item:not(.dt-list-item--static){cursor:pointer;border-radius:var(--dt-size-radius-300)}.dt-list-item--focusable:focus,.dt-list-item--focusable:focus-within,.dt-list-item--highlighted{background-color:var(--dt-action-color-background-muted-hover)}.dt-list-item--highlighted:active{background-color:var(--dt-action-color-background-muted-active)}.dt-list-item--selected-icon{margin-left:var(--dt-space-400)}.dt-list-item :focus-visible{outline:none;box-shadow:var(--dt-shadow-focus)}.tippy-box[data-popper-reference-hidden] .d-popover__dialog,.tippy-box[data-popper-escaped] .d-popover__dialog{visibility:hidden;pointer-events:none}.dt-suggestion-list{position:relative;padding:var(--dt-size-300);max-height:var(--dt-size-875)!important;min-width:var(--dt-size-925);max-width:var(--dt-size-975)}.dt-suggestion-list--item{border:var(--dt-size-100) solid transparent}.dt-link--mention{background-color:hsl(var(--dt-color-purple-400-hsl) / 10%);color:var(--dt-color-link-primary);border-radius:var(--dt-space-200);height:1.8rem}.dt-link--mention:hover{color:var(--dt-color-link-primary);background-color:hsl(var(--dt-color-purple-500-hsl) / 10%)}.ProseMirror p.is-editor-empty:first-child:before{content:attr(data-placeholder);float:left;color:var(--dt-color-foreground-placeholder);pointer-events:none;height:0}.dt-message-input--remaining-char{font-size:1.2rem}.message-input-button__disabled{background-color:unset;color:var(--theme-sidebar-icon-color);cursor:default}.dt-message-input-notice .d-notice__icon{margin-right:8px}
|
|
1
|
+
.skeleton-placeholder{display:flex;stroke:none;fill:var(--placeholder-from-color, var(--dt-color-black-300));background:var(--placeholder-from-color, var(--dt-color-black-300))}.skeleton-placeholder--animate{animation-name:placeholder-throb;animation-iteration-count:infinite}@keyframes placeholder-throb{10%{fill:var(--placeholder-from-color, var(--dt-color-black-300));background:var(--placeholder-from-color, var(--dt-color-black-300))}50%{fill:var(--placeholder-to-color, var(--dt-color-black-100));background:var(--placeholder-to-color, var(--dt-color-black-100))}90%{fill:var(--placeholder-from-color, var(--dt-color-black-300));background:var(--placeholder-from-color, var(--dt-color-black-300))}}.dt-emoji[data-v-6ad3e149]{display:inline-block}.tippy-box[data-popper-reference-hidden] .d-tooltip,.tippy-box[data-popper-escaped] .d-tooltip{visibility:hidden;pointer-events:none}.dt-empty-list-item{display:flex;align-items:center;justify-content:center;font-size:var(--dt-font-size-200);line-height:var(--lh4);padding:var(--dt-space-300) var(--dt-space-450)}.enter-active,.leave-active{overflow:hidden;transition:height var(--td300) var(--ttf-quint)}.d-context-menu-list{width:var(--dt-size-850)}.dt-list-item[role=menuitem]{border-radius:var(--dt-size-300)}.dt-list-separator{border-top:var(--dt-size-100) solid var(--dt-color-border-default);list-style:none}.dt-list-section[tabindex="-1"]:focus{outline:none}.vue-recycle-scroller{position:relative}.vue-recycle-scroller.direction-vertical:not(.page-mode){overflow-y:auto}.vue-recycle-scroller.direction-horizontal:not(.page-mode){overflow-x:auto}.vue-recycle-scroller.direction-horizontal{display:flex}.vue-recycle-scroller__slot{flex:auto 0 0}.vue-recycle-scroller__item-wrapper{flex:1;box-sizing:border-box;overflow:hidden;position:relative}.vue-recycle-scroller.ready .vue-recycle-scroller__item-view{position:absolute;top:0;left:0;will-change:transform}.vue-recycle-scroller.direction-vertical .vue-recycle-scroller__item-wrapper{width:100%}.vue-recycle-scroller.direction-horizontal .vue-recycle-scroller__item-wrapper{height:100%}.vue-recycle-scroller.ready.direction-vertical .vue-recycle-scroller__item-view{width:100%}.vue-recycle-scroller.ready.direction-horizontal .vue-recycle-scroller__item-view{height:100%}.dt-recipe-callbar-button:not(.dt-recipe-callbar-button--circle){line-height:var(--dt-font-line-height-300)}.dt-recipe-callbar-button--circle{border-radius:var(--dt-size-radius-circle)}.dt-recipe-callbar-button.d-btn[disabled]{background-color:unset;opacity:.5}.dt-recipe-callbar-button--circle.d-btn[disabled]{border-color:unset}.dt-recipe-callbar-button--active .base-button__icon,.dt-recipe-callbar-button--active:hover .base-button__icon{color:var(--primary-color)}.dt-recipe--callbar-button-with-popover--arrow.d-btn--circle{margin-top:var(--dt-space-350-negative);margin-left:calc(var(--dt-space-300-negative) * 5);width:var(--dt-size-500);height:var(--dt-size-500);padding:var(--dt-space-400);border-radius:var(--dt-size-300)}.dt-recipe--callbar-button-with-popover--arrow.d-btn--circle.d-btn--active{background:var(--dt-color-surface-moderate-opaque)}.dt-recipe--callbar-button-with-popover--popover .d-popover__header{background:var(--dt-color-surface-contrast);color:var(--dt-color-foreground-primary-inverted)}.dt-recipe--callbar-button-with-popover--popover .d-popover__header .d-btn{color:var(--dt-color-foreground-primary-inverted)}.dt-recipe--callbar-button-with-popover--button .d-tab--selected:after,.dt-recipe--callbar-button-with-popover--button .d-tab--selected:hover:after{--tab--bgc: var(--dt-color-surface-contrast)}.dt-recipe--callbar-button-with-popover--button .tab-group{display:flex;flex-direction:column;height:100%}.dt-recipe--callbar-button-with-popover--button .tab-content{flex:1 1 100%;overflow-y:auto}.dt-contact-info[data-v-3d0f9d2e]{--contact-info-avatar-border-color: var(--dt-color-surface-primary);display:flex}.dt-contact-info[data-v-3d0f9d2e] .dt-item-layout{flex:1 1 0}.dt-contact-info[data-v-3d0f9d2e] .dt-item-layout--content{min-width:var(--dt-space-825)}.dt-contact-info[data-v-3d0f9d2e] .dt-item-layout--left{min-width:var(--dt-space-650);justify-content:flex-start;align-items:center}.dt-contact-info[data-v-3d0f9d2e] .dt-item-layout--right{min-width:0;align-items:center}.dt-contact-info--avatars .d-avatar[data-v-3d0f9d2e]{border-radius:var(--dt-size-radius-pill);border:var(--dt-size-300) solid var(--contact-info-avatar-border-color);box-sizing:unset}.d-top-banner-info__left{margin:var(--dt-space-300) 0 var(--dt-space-300) var(--dt-space-400);min-width:20%}.d-top-banner-info__middle{display:flex;align-items:center;gap:var(--dt-size-300)}.d-top-banner-info__right{display:flex;align-items:baseline;justify-content:flex-end;gap:var(--dt-size-300);margin:var(--dt-space-300) var(--dt-space-500) var(--dt-space-300) 0;min-width:20%}.ivr_node__width{width:280px}.ivr_node__goto_icon{transform:rotate(90deg)}.ivr-connector{z-index:var(--zi-base);display:flex;justify-content:center;align-items:center;border-color:var(--dt-color-purple-600);background-color:var(--dt-color-purple-600)}.dt-chip-content{font-variant-numeric:tabular-nums}.settings-menu-button[data-v-b0dfa8b3]{padding:var(--dt-space-0);border-radius:var(--dt-size-550);height:var(--dt-size-600);width:var(--dt-size-550);color:var(--dt-theme-topbar-button-color-foreground);background-color:var(--dt-theme-topbar-button-color-background)}.settings-menu-button[data-v-b0dfa8b3]:hover{background-color:var(--dt-theme-topbar-button-color-background-hover);color:var(--dt-theme-topbar-button-color-foreground-hover)}.settings-menu-button[data-v-b0dfa8b3]:active{background-color:var(--dt-theme-topbar-button-color-background-active)}.settings-menu-button-update[data-v-b0dfa8b3]{background-color:hsla(var(--dt-color-blue-200-hsl) / 25%);color:var(--dt-color-blue-500);border-color:hsla(var(--dt-color-blue-200-hsl) / 25%);border-radius:var(--dt-size-radius-pill);height:var(--dt-size-600)}.settings-menu-button-update[data-v-b0dfa8b3]:hover{background-color:hsla(var(--dt-color-blue-200-hsl) / 50%);color:var(--dt-theme-topbar-button-color-foreground-hover)}.dt-leftbar-row[data-v-49d75ce6]{--leftbar-row-color-foreground: var(--dt-theme-sidebar-color-foreground);--leftbar-row-color-background: var(--dt-theme-sidebar-row-color-background);--leftbar-row-radius: var(--dt-size-radius-pill);--leftbar-row-opacity: 100%;--leftbar-row-alpha-color-foreground: var(--dt-theme-sidebar-icon-color-foreground);--leftbar-row-alpha-width: calc(var(--dt-size-300) * 10);--leftbar-row-alpha-height: calc(var(--dt-size-300) * 9);--leftbar-row-omega-height: var(--leftbar-row-alpha-height);--leftbar-row-unread-badge-display: inline-flex;--leftbar-row-description-color-foreground: var(--dt-theme-sidebar-color-foreground);--leftbar-row-description-font-weight: var(--dt-font-weight-normal);--leftbar-row-description-font-size: var(--dt-font-size-200);--leftbar-row-description-line-height: var(--dt-font-line-height-200);--leftbar-row-status-color-foreground: var(--dt-theme-sidebar-status-color-foreground);--leftbar-row-status-font-size: var(--dt-font-size-100);--leftbar-row-status-line-height: var(--dt-font-line-height-100);--leftbar-row-action-position-right: var(--dt-size-400);--leftbar-row-action-position-bottom: 50%;--leftbar-row-action-width: var(--dt-size-550);--leftbar-row-action-height: var(--leftbar-row-action-width);position:relative;opacity:var(--leftbar-row-opacity);display:flex;background-color:var(--dt-theme-sidebar-row-color-background);border-radius:var(--leftbar-row-radius);transition-duration:var(--td200);transition-property:background-color,border,box-shadow;transition-timing-function:var(--ttf-out-quint);cursor:pointer}.dt-leftbar-row[data-v-49d75ce6]:not(.dt-leftbar-row--no-action):hover,.dt-leftbar-row[data-v-49d75ce6]:not(.dt-leftbar-row--no-action):focus-within{--leftbar-row-unread-badge-display: none}.dt-leftbar-row[data-v-49d75ce6]:not(.dt-leftbar-row--no-action):hover .dt-leftbar-row__action,.dt-leftbar-row[data-v-49d75ce6]:not(.dt-leftbar-row--no-action):focus-within .dt-leftbar-row__action{display:inline-flex}.dt-leftbar-row[data-v-49d75ce6]:not(.dt-leftbar-row--no-action):hover .dt-leftbar-row__action-button,.dt-leftbar-row[data-v-49d75ce6]:not(.dt-leftbar-row--no-action):focus-within .dt-leftbar-row__action-button{opacity:1}.dt-leftbar-row[data-v-49d75ce6]:hover,.dt-leftbar-row[data-v-49d75ce6]:focus-within{--leftbar-row-color-background: var(--dt-theme-sidebar-row-color-background-hover)}.dt-leftbar-row[data-v-49d75ce6]:hover .d-presence,.dt-leftbar-row[data-v-49d75ce6]:focus-within .d-presence{--presence-color-border-base: var(--dt-color-black-200)}.dt-leftbar-row[data-v-49d75ce6]:hover .d-avatar__count,.dt-leftbar-row[data-v-49d75ce6]:focus-within .d-avatar__count{--avatar-count-color-shadow: var(--dt-theme-sidebar-selected-row-color-background)}.dt-leftbar-row--has-unread[data-v-49d75ce6]{--leftbar-row-description-font-weight: var(--dt-font-weight-bold);--leftbar-row-description-color-foreground: var(--dt-theme-sidebar-color-foreground-unread);--leftbar-row-alpha-color-foreground: var(--dt-theme-sidebar-color-foreground-unread)}.dt-leftbar-row--unread-count[data-v-49d75ce6] .dt-leftbar-row__action{display:none}.dt-leftbar-row--muted[data-v-49d75ce6]{--leftbar-row-opacity: 60%}.dt-leftbar-row--selected[data-v-49d75ce6]{--leftbar-row-color-background: var(--dt-theme-sidebar-selected-row-color-background);--leftbar-row-description-color-foreground: var(--dt-theme-sidebar-selected-row-color-foreground)}.dt-leftbar-row--selected[data-v-49d75ce6] .d-presence{--presence-color-border-base: var(--dt-color-black-200)}.dt-leftbar-row--selected[data-v-49d75ce6] .d-avatar__count{--avatar-count-color-shadow: var(--dt-theme-sidebar-selected-row-color-background)}.dt-leftbar-row__is-typing[data-v-49d75ce6]{--is-typing-size-shape: var(--dt-size-550);height:var(--is-typing-size-shape);width:var(--is-typing-size-shape);position:absolute;display:flex;align-items:center;justify-content:center;gap:2px;border-radius:var(--dt-size-radius-pill);opacity:.75}.dt-leftbar-row__is-typing span[data-v-49d75ce6]{transition:all .5s ease;background:var(--dt-color-surface-strong);height:4px;width:4px;display:inline-block;padding:0;opacity:.3;border-radius:var(--dt-size-radius-pill);animation:wave-49d75ce6 1.5s ease infinite}.dt-leftbar-row__is-typing span[data-v-49d75ce6]:nth-child(1){animation-delay:0ms}.dt-leftbar-row__is-typing span[data-v-49d75ce6]:nth-child(2){animation-delay:var(--td100)}.dt-leftbar-row__is-typing span[data-v-49d75ce6]:nth-child(3){animation-delay:var(--td200)}.dt-leftbar-row__primary[data-v-49d75ce6]{display:flex;align-items:center;flex:1;width:100%;text-align:left;background-color:var(--leftbar-row-color-background);color:var(--leftbar-row-color-foreground);text-decoration:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-size:inherit;line-height:inherit;margin:0;border:0;padding:0;border-radius:var(--leftbar-row-radius)}.dt-leftbar-row__primary[data-v-49d75ce6]:active{--leftbar-row-color-background: var(--dt-theme-sidebar-row-color-background-active)}.dt-leftbar-row__primary[data-v-49d75ce6]:focus-visible{box-shadow:var(--dt-shadow-focus-inset)}.dt-leftbar-row__action-button[data-v-49d75ce6]{opacity:0;width:var(--leftbar-row-action-width);height:var(--leftbar-row-action-height)}.dt-leftbar-row__alpha[data-v-49d75ce6]{color:var(--leftbar-row-alpha-color-foreground);display:flex;box-sizing:border-box;justify-content:center;align-items:center;padding-left:var(--dt-space-400);padding-right:var(--dt-space-400);width:var(--leftbar-row-alpha-width);height:var(--leftbar-row-alpha-height);border-radius:var(--leftbar-row-radius) 0 0 var(--leftbar-row-radius)}.dt-leftbar-row__label[data-v-49d75ce6]{flex:0 1;min-width:0}.dt-leftbar-row__omega[data-v-49d75ce6]{position:absolute;display:flex;right:var(--leftbar-row-action-position-right);top:var(--leftbar-row-action-position-bottom);transform:translateY(calc(var(--leftbar-row-action-position-bottom) * -1));gap:var(--dt-space-300);justify-content:flex-end;align-items:center;box-sizing:border-box;border-radius:var(--leftbar-row-radius)}.dt-leftbar-row__unread-badge[data-v-49d75ce6]{display:var(--leftbar-row-unread-badge-display)}.dt-leftbar-row__active-voice[data-v-49d75ce6]{color:var(--dt-color-foreground-success);display:inline-flex;-webkit-animation-name:opacity-pulsate-49d75ce6;-webkit-animation-duration:1s;-webkit-animation-iteration-count:infinite;-webkit-animation-fill-mode:both;-moz-animation-name:opacity-pulsate-49d75ce6;-moz-animation-duration:1s;-moz-animation-iteration-count:infinite;-moz-animation-fill-mode:both;animation-name:opacity-pulsate-49d75ce6;animation-duration:1s;animation-iteration-count:infinite;animation-fill-mode:both}.dt-leftbar-row__dnd[data-v-49d75ce6]{padding-top:var(--dt-space-200);padding-right:var(--dt-space-300);color:var(--dt-color-foreground-tertiary);font-size:var(--dt-font-size-100);line-height:var(--dt-font-line-height-400);font-weight:var(--dt-font-weight-medium)}.dt-leftbar-row[data-v-49d75ce6] .dt-leftbar-row__description{display:block;font-weight:var(--leftbar-row-description-font-weight);font-size:var(--leftbar-row-description-font-size);line-height:var(--leftbar-row-description-line-height);color:var(--leftbar-row-description-color-foreground);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dt-leftbar-row[data-v-49d75ce6] .dt-leftbar-row__status{display:block;color:var(--leftbar-row-status-color-foreground);font-size:var(--leftbar-row-status-font-size);line-height:var(--leftbar-row-status-line-height);padding-bottom:var(--dt-space-100);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dt-leftbar-row[data-v-49d75ce6] .dt-leftbar-row__meta-context~.dt-leftbar-row__meta-custom:not(:empty):before{content:" • ";color:var(--dt-theme-sidebar-status-color-foreground)}.dt-leftbar-row__icon-cc[data-v-49d75ce6]{border-radius:var(--dt-size-200);width:calc(var(--dt-size-300) * 3.5);height:calc(var(--dt-size-300) * 3.5)}.opacity-pulsate[data-v-49d75ce6]{-webkit-animation-name:opacity-pulsate-49d75ce6;-webkit-animation-duration:1s;-webkit-animation-iteration-count:infinite;-webkit-animation-fill-mode:both;-moz-animation-name:opacity-pulsate-49d75ce6;-moz-animation-duration:1s;-moz-animation-iteration-count:infinite;-moz-animation-fill-mode:both;animation-name:opacity-pulsate-49d75ce6;animation-duration:1s;animation-iteration-count:infinite;animation-fill-mode:both}@-webkit-keyframes opacity-pulsate-49d75ce6{0%,to{opacity:.2}50%{opacity:1}}@-moz-keyframes opacity-pulsate-49d75ce6{0%,to{opacity:.2}50%{opacity:1}}@keyframes opacity-pulsate-49d75ce6{0%,to{opacity:.2}50%{opacity:1}}@keyframes wave-49d75ce6{0%,50%,to{transform:translate(0)}10%{transform:translateY(-5px);opacity:90%}}.dt-leftbar-unread-pill{display:flex;align-items:center;justify-content:center;padding:var(--dt-space-200) var(--dt-space-500) var(--dt-space-200) var(--dt-space-400);gap:var(--dt-space-300);font-size:var(--dt-font-size-100);box-shadow:var(--dt-shadow-medium);border-radius:var(--dt-size-radius-pill);border:none;line-height:var(--dt-font-line-height-600);cursor:pointer}.dt-leftbar-unread-pill--mentions{font-weight:var(--dt-font-weight-bold);background-color:var(--dt-theme-mention-color-background);color:var(--dt-theme-mention-color-foreground)}.dt-leftbar-unread-pill--messages{background-color:var(--dt-color-surface-contrast);color:var(--dt-color-foreground-secondary-inverted)}.dt-feed-item-row[data-v-5db9c697]{transition-duration:2s!important}.dt-feed-item-row .content-text-wrapper-class[data-v-5db9c697]:not(img){line-height:1.6rem}.dt-feed-item-row[data-v-5db9c697] .dt-item-layout--left .d-avatar{align-self:flex-start;margin-top:var(--dt-space-300)}.dt-recipe-feed-item-pill__wrapper[data-v-2e98d8f9]{background-color:var(--dt-color-surface-secondary);padding:var(--dt-space-400)}.dt-recipe-feed-item-pill__button[data-v-2e98d8f9]{background-color:var(--dt-color-surface-moderate);text-align:left;width:100%;cursor:pointer;border-width:0;border-radius:var(--dt-size-radius-600);--button-padding-x: var(--button-padding-y-md);--button-padding-y: var(--button-padding-y-md);--button-color-text: var(--dt-action-color-foreground-muted-default);--button-border-radius: var(--dt-size-radius-600)}.dt-recipe-feed-item-pill__layout[data-v-2e98d8f9]{padding:var(--dt-space-400);width:100%}.dt-recipe-feed-item-pill__icon[data-v-2e98d8f9]{animation:fade-2e98d8f9 .15s ease-in;margin-right:var(--dt-space-400)}.dt-recipe-feed-item-pill__content[data-v-2e98d8f9]{display:flex;justify-content:center}.dt-recipe-feed-item-pill__title[data-v-2e98d8f9]{font-weight:var(--dt-font-weight-bold)}.dt-recipe-feed-item-pill__border[data-v-2e98d8f9]{border:double 1px transparent;border-radius:var(--dt-size-radius-600);background-origin:border-box;background-clip:content-box,border-box;overflow:hidden}.dt-recipe-feed-item-pill__border-default[data-v-2e98d8f9]{background:var(--dt-color-border-default)}.dt-recipe-feed-item-pill__border-ai[data-v-2e98d8f9]{background-image:linear-gradient(var(--dt-color-surface-primary),var(--dt-color-surface-primary)),var(--dt-badge-color-background-ai)}.dt-recipe-feed-item-pill__border-critical[data-v-2e98d8f9]{background:var(--dt-color-foreground-critical)}@keyframes fade-2e98d8f9{0%{transform:scale(0)}to{transform:scale(1)}}.dt-emoji-row{display:flex;flex-wrap:wrap}.dt-emoji-row__reaction{padding:var(--dt-space-300) var(--dt-space-400);gap:var(--dt-space-300);border-radius:var(--dt-size-radius-500);margin-bottom:0;transition-delay:0s;transition-duration:var(--td50);transition-property:all;transition-timing-function:var(--ttf-in-out);color:var(--dt-color-foreground-secondary);background-color:var(--dt-color-surface-moderate-opaque)}.dt-emoji-row__reaction:hover,.dt-emoji-row__reaction:focus{border-color:hsla(var(--dt-color-black-600-hsl)/100%)!important}.dt-emoji-row__reaction--selected{color:var(--dt-color-link-primary);background-color:var(--dt-color-purple-100)!important;border-color:var(--dt-color-brand-purple)!important}.dt-emoji-row__reaction--selected:hover{color:var(--dt-color-link-primary)}.progress-bar__circle{fill:none;stroke-width:2;stroke-dasharray:var(--stroke-dasharray)}.progress-bar__circle:nth-child(1){stroke-dashoffset:0;stroke:var(--dt-color-black-100)}.progress-bar__circle:nth-child(2){stroke-dashoffset:var(--stroke-dashoffset);stroke:var(--dt-color-purple-500);transition:stroke-dashoffset .5s linear}.dt-attachment-image{position:relative}.dt-attachment-image:focus-within .dt-attachment-image__close-button,.dt-attachment-image:hover .dt-attachment-image__close-button{opacity:1}.dt-attachment-image__image-viewer{height:var(--dt-size-700);width:var(--dt-size-700);border:var(--dt-space-100) solid;border-radius:var(--br4);border-width:var(--dt-size-350);border-color:var(--dt-color-border-subtle);object-fit:cover}.dt-attachment-image__top-right{position:absolute;top:var(--dt-size-100);right:var(--dt-size-100)}.dt-attachment-image__close-button{opacity:0;position:absolute;top:inherit;right:inherit;color:var(--dt-color-neutral-white);background-color:var(--dt-color-black-400);border:var(--dt-space-100) solid;border-width:var(--dt-size-200);border-color:var(--dt-color-neutral-white)}.dt-attachment-image__progress-bar{position:absolute;top:inherit;right:inherit;background-color:var(--dt-color-neutral-white);border-radius:50%;display:flex;transform:rotate(-90deg);border:var(--dt-space-100) solid;border-width:var(--dt-size-200);border-color:var(--dt-color-border-subtle)}.dt-attachment-carousel{position:relative;max-height:100px;width:var(--dt-space-1000)}.dt-attachment-carousel__media-list{display:flex;flex-direction:row;padding-left:0;overflow-x:scroll}.dt-attachment-carousel__media-list::-webkit-scrollbar{display:none}.dt-attachment-carousel__arrow{position:absolute;opacity:0;background-color:var(--dt-color-neutral-white);top:var(--dt-space-30-percent);border:var(--dt-space-100) solid;border-width:var(--dt-size-100);border-color:var(--bc-default)}.dt-attachment-carousel:hover .dt-attachment-carousel__arrow{opacity:1}.dt-attachment-carousel__arrow--left{left:var(--dt-space-300)}.dt-attachment-carousel__arrow--right{right:var(--dt-space-300)}.dt-attachment-carousel__image-viewer{height:var(--dt-size-700);width:var(--dt-size-700);border-radius:var(--br4);border:var(--dt-space-100) solid;border-width:var(--dt-size-350);border-color:var(--dt-color-border-subtle)}.dt-recipe-callbox[data-v-66800ae7]{padding:0;color:var(--dt-color-foreground-primary);background-color:var(--dt-color-surface-primary);border-radius:var(--dt-size-radius-300)}.dt-recipe-callbox--video[data-v-66800ae7]{display:flex;border-radius:var(--dt-size-radius-200) var(--dt-size-radius-200) 0 0;overflow:clip;margin-bottom:var(--dt-space-300-negative)}.dt-recipe-callbox--main-content[data-v-66800ae7]{padding:0;border-radius:var(--dt-size-radius-300);border:var(--dt-size-border-100) solid transparent;align-items:stretch}.dt-recipe-callbox--main-content.dt-recipe-callbox--border-default[data-v-66800ae7]{border-color:var(--dt-color-border-default)}.dt-recipe-callbox--main-content.dt-recipe-callbox--border-ai[data-v-66800ae7]{background:linear-gradient(var(--dt-color-surface-primary),var(--dt-color-surface-primary)) padding-box,linear-gradient(135deg,var(--dt-color-border-accent),var(--dt-color-border-brand)) border-box}.dt-recipe-callbox--main-content.dt-recipe-callbox--border-critical[data-v-66800ae7]{background:radial-gradient(var(--dt-color-surface-primary),var(--dt-color-surface-primary)) padding-box,radial-gradient(circle,#E7301D,#F78B23) border-box}.dt-recipe-callbox--main-content-top[data-v-66800ae7]{display:flex;align-items:center;padding:var(--dt-space-350) var(--dt-space-400)}.dt-recipe-callbox--main-content-bottom[data-v-66800ae7]{border-top:1px solid var(--dt-color-border-subtle)}.dt-recipe-callbox--avatar[data-v-66800ae7]{margin-right:var(--dt-space-400)}.dt-recipe-callbox--content[data-v-66800ae7]{display:flex;flex-direction:column;flex:1 0 auto;min-width:0}.dt-recipe-callbox--content-title[data-v-66800ae7]{overflow:clip;white-space:nowrap;text-overflow:ellipsis;color:var(--dt-color-foreground-primary);background-color:var(--dt-color-surface-primary);font-weight:var(--dt-font-weight-bold);border:none;padding:0;width:0;min-width:100%;text-align:left;-webkit-user-select:text;user-select:text;line-height:normal}.dt-recipe-callbox--content-badge[data-v-66800ae7]{line-height:normal}.dt-recipe-callbox--content-subtitle[data-v-66800ae7]{padding:0;font-size:var(--dt-font-size-100);color:var(--dt-color-foreground-tertiary);line-height:normal;overflow:hidden;width:0;min-width:100%}.dt-recipe-callbox--right[data-v-66800ae7]{display:flex;justify-content:right}.dt-recipe-callbox--clickable .dt-recipe-callbox--content-title[data-v-66800ae7]{cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:var(--dt-size-100)}.dt-recipe-callbox--clickable .dt-recipe-callbox--content-title[data-v-66800ae7]:focus-visible{outline:none;box-shadow:var(--dt-shadow-focus)}.dt-recipe-callbox--clickable .dt-recipe-callbox--content-title[data-v-66800ae7]:hover,.dt-recipe-callbox--clickable .dt-recipe-callbox--content-title[data-v-66800ae7]:active{text-decoration:underline}.dt-recipe-callbox .dt-recipe-callbox-badge--warning[data-v-66800ae7]{background-color:var(--dt-color-surface-warning)}.d-avatar--image-loaded{background-color:transparent;background-image:unset}.d-avatar__count,.d-avatar__presence{z-index:var(--zi-base)}.d-avatar__overlay{background-color:var(--dt-color-surface-contrast-opaque);opacity:var(--dt-opacity-900);position:absolute;width:100%;height:100%;display:flex;align-items:center;justify-content:center;border-radius:var(--dt-size-radius-circle);z-index:var(--zi-base)}.d-avatar__overlay-icon{color:var(--dt-color-foreground-primary-inverted);width:100%}.d-avatar__overlay-text{color:var(--dt-color-foreground-primary-inverted);font-weight:var(--dt-font-weight-bold);font-size:var(--dt-font-size-200);width:100%;text-align:center}.d-avatar--clickable{--avatar-color-border: transparent;cursor:pointer;padding:0;background-color:transparent;border-radius:var(--dt-size-radius-circle);border:var(--dt-size-border-100) solid var(--avatar-color-border)}.d-avatar--clickable:focus-visible{outline:none;box-shadow:var(--dt-shadow-focus)}.d-avatar--clickable:hover{--avatar-color-border: var(--dt-color-border-default)}.d-avatar--clickable:active{--avatar-color-border: var(--dt-color-border-moderate);transform:scale(.98)}.dt-item-layout[data-v-9afad3c4]{align-items:stretch}.dt-item-layout--content[data-v-9afad3c4]{display:flex;flex-direction:column;justify-content:center}.dt-item-layout--selected[data-v-9afad3c4]{display:flex;align-items:center}.dt-list-item{list-style:none;background-color:var(--dt-action-color-background-muted-default)}.dt-list-item:not(.dt-list-item--static){cursor:pointer;border-radius:var(--dt-size-radius-300)}.dt-list-item--focusable:focus,.dt-list-item--focusable:focus-within,.dt-list-item--highlighted{background-color:var(--dt-action-color-background-muted-hover)}.dt-list-item--highlighted:active{background-color:var(--dt-action-color-background-muted-active)}.dt-list-item--selected-icon{margin-left:var(--dt-space-400)}.dt-list-item :focus-visible{outline:none;box-shadow:var(--dt-shadow-focus)}.tippy-box[data-popper-reference-hidden] .d-popover__dialog,.tippy-box[data-popper-escaped] .d-popover__dialog{visibility:hidden;pointer-events:none}.dt-suggestion-list{position:relative;padding:var(--dt-size-300);max-height:var(--dt-size-875)!important;min-width:var(--dt-size-925);max-width:var(--dt-size-975)}.dt-suggestion-list--item{border:var(--dt-size-100) solid transparent}.dt-link--mention{background-color:hsl(var(--dt-color-purple-400-hsl) / 10%);color:var(--dt-color-link-primary);border-radius:var(--dt-space-200);height:1.8rem}.dt-link--mention:hover{color:var(--dt-color-link-primary);background-color:hsl(var(--dt-color-purple-500-hsl) / 10%)}.ProseMirror p.is-editor-empty:first-child:before{content:attr(data-placeholder);float:left;color:var(--dt-color-foreground-placeholder);pointer-events:none;height:0}.dt-message-input--remaining-char{font-size:1.2rem}.message-input-button__disabled{background-color:unset;color:var(--theme-sidebar-icon-color);cursor:default}.dt-message-input-notice .d-notice__icon{margin-right:8px}
|