@beterdichtbij/component-library 0.22.0 → 0.22.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -124,8 +124,8 @@ img.ProseMirror-separator {
|
|
|
124
124
|
1. Must only contain digits, lowercase ASCII letters or "-"
|
|
125
125
|
2. Cannot start or end with "-"
|
|
126
126
|
3. "-" cannot repeat`);ze.customSchemes.push([n,e])}function sC(){ze.scanner=X3(ze.customSchemes);for(let n=0;n<ze.tokenQueue.length;n++)ze.tokenQueue[n][1]({scanner:ze.scanner});ze.parser=tC(ze.scanner.tokens);for(let n=0;n<ze.pluginQueue.length;n++)ze.pluginQueue[n][1]({scanner:ze.scanner,parser:ze.parser});ze.initialized=!0}function aC(n){return ze.initialized||sC(),nC(ze.parser.start,n,Q3(ze.scanner.start,n))}function Ac(n,e,t){if(e===void 0&&(e=null),t===void 0&&(t=null),e&&typeof e=="object"){if(t)throw Error(`linkifyjs: Invalid link type ${e}; must be a string`);t=e,e=null}const r=new kc(t),o=aC(n),i=[];for(let s=0;s<o.length;s++){const l=o[s];l.isLink&&(!e||l.t===e)&&r.check(l)&&i.push(l.toFormattedObject(r))}return i}function lC(n){return new Et({key:new Kt("autolink"),appendTransaction:(e,t,r)=>{const o=e.some(c=>c.docChanged)&&!t.doc.eq(r.doc),i=e.some(c=>c.getMeta("preventAutolink"));if(!o||i)return;const{tr:s}=r,l=Mb(t.doc,[...e]);if($b(l).forEach(({newRange:c})=>{const u=Ib(r.doc,c,m=>m.isTextblock);let d,h;if(u.length>1?(d=u[0],h=r.doc.textBetween(d.pos,d.pos+d.node.nodeSize,void 0," ")):u.length&&r.doc.textBetween(c.from,c.to," "," ").endsWith(" ")&&(d=u[0],h=r.doc.textBetween(d.pos,c.to,void 0," ")),d&&h){const m=h.split(" ").filter(v=>v!=="");if(m.length<=0)return!1;const p=m[m.length-1],g=d.pos+h.lastIndexOf(p);if(!p)return!1;Ac(p).filter(v=>v.isLink).map(v=>({...v,from:g+v.start+1,to:g+v.end+1})).filter(v=>r.schema.marks.code?!r.doc.rangeHasMark(v.from,v.to,r.schema.marks.code):!0).filter(v=>n.validate?n.validate(v.value):!0).forEach(v=>{ac(v.from,v.to,r.doc).some(C=>C.mark.type===n.type)||s.addMark(v.from,v.to,n.type.create({href:v.href}))})}}),!!s.steps.length)return s}})}function cC(n){return new Et({key:new Kt("handleClickLink"),props:{handleClick:(e,t,r)=>{var o,i;if(r.button!==0||r.target.nodeName!=="A")return!1;const l=up(e.state,n.type.name),a=r.target,c=(o=a==null?void 0:a.href)!==null&&o!==void 0?o:l.href,u=(i=a==null?void 0:a.target)!==null&&i!==void 0?i:l.target;return a&&c?(e.editable&&window.open(c,u),!0):!1}}})}function uC(n){return new Et({key:new Kt("handlePasteLink"),props:{handlePaste:(e,t,r)=>{var o;const{state:i}=e,{selection:s}=i,{empty:l}=s;if(l)return!1;let a="";r.content.forEach(p=>{a+=p.textContent});const c=Ac(a).find(p=>p.isLink&&p.value===a);if(!a||!c)return!1;const u=(o=t.clipboardData)===null||o===void 0?void 0:o.getData("text/html"),d=/href="([^"]*)"/,h=u==null?void 0:u.match(d),m=h?h[1]:c.href;return n.editor.commands.setMark(n.type,{href:m}),!0}}})}const dC=an.create({name:"link",priority:1e3,keepOnSplit:!1,onCreate(){this.options.protocols.forEach(n=>{if(typeof n=="string"){Rd(n);return}Rd(n.scheme,n.optionalSlashes)})},onDestroy(){iC()},inclusive(){return this.options.autolink},addOptions(){return{openOnClick:!0,linkOnPaste:!0,autolink:!0,protocols:[],HTMLAttributes:{target:"_blank",rel:"noopener noreferrer nofollow",class:null},validate:void 0}},addAttributes(){return{href:{default:null},target:{default:this.options.HTMLAttributes.target},rel:{default:this.options.HTMLAttributes.rel},class:{default:this.options.HTMLAttributes.class}}},parseHTML(){return[{tag:'a[href]:not([href *= "javascript:" i])'}]},renderHTML({HTMLAttributes:n}){return["a",mt(this.options.HTMLAttributes,n),0]},addCommands(){return{setLink:n=>({chain:e})=>e().setMark(this.name,n).setMeta("preventAutolink",!0).run(),toggleLink:n=>({chain:e})=>e().toggleMark(this.name,n,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run(),unsetLink:()=>({chain:n})=>n().unsetMark(this.name,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run()}},addPasteRules(){return[Io({find:n=>Ac(n).filter(e=>this.options.validate?this.options.validate(e.value):!0).filter(e=>e.isLink).map(e=>({text:e.value,index:e.start,data:e})),type:this.type,getAttributes:(n,e)=>{var t,r;const o=(t=e==null?void 0:e.clipboardData)===null||t===void 0?void 0:t.getData("text/html"),i=/href="([^"]*)"/,s=o==null?void 0:o.match(i);return s?{href:s[1]}:{href:(r=n.data)===null||r===void 0?void 0:r.href}}})]},addProseMirrorPlugins(){const n=[];return this.options.autolink&&n.push(lC({type:this.type,validate:this.options.validate})),this.options.openOnClick&&n.push(cC({type:this.type})),this.options.linkOnPaste&&n.push(uC({editor:this.editor,type:this.type})),n}}),fC=dC.extend({addAttributes(){var n;return{...(n=this.parent)==null?void 0:n.call(this),title:{default:null,parseHTML:e=>e.getAttribute("title"),renderHTML:e=>({title:e.title})}}}}),hC=Bt.create({name:"placeholder",addOptions(){return{emptyEditorClass:"is-editor-empty",emptyNodeClass:"is-empty",placeholder:"Write something …",showOnlyWhenEditable:!0,showOnlyCurrent:!0,includeChildren:!1}},addProseMirrorPlugins(){return[new Et({key:new Kt("placeholder"),props:{decorations:({doc:n,selection:e})=>{const t=this.editor.isEditable||!this.options.showOnlyWhenEditable,{anchor:r}=e,o=[];if(!t)return null;const i=n.type.createAndFill(),s=(i==null?void 0:i.sameMarkup(n))&&i.content.findDiffStart(n.content)===null;return n.descendants((l,a)=>{const c=r>=a&&r<=a+l.nodeSize,u=!l.isLeaf&&!l.childCount;if((c||!this.options.showOnlyCurrent)&&u){const d=[this.options.emptyNodeClass];s&&d.push(this.options.emptyEditorClass);const h=Rt.node(a,a+l.nodeSize,{class:d.join(" "),"data-placeholder":typeof this.options.placeholder=="function"?this.options.placeholder({editor:this.editor,node:l,pos:a,hasAnchor:c}):this.options.placeholder});o.push(h)}return this.options.includeChildren}),Ge.create(n,o)}}})]}}),pC=/(?:^|\s)((?:\*\*)((?:[^*]+))(?:\*\*))$/,mC=/(?:^|\s)((?:\*\*)((?:[^*]+))(?:\*\*))/g,gC=/(?:^|\s)((?:__)((?:[^__]+))(?:__))$/,vC=/(?:^|\s)((?:__)((?:[^__]+))(?:__))/g,yC=an.create({name:"bold",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"strong"},{tag:"b",getAttrs:n=>n.style.fontWeight!=="normal"&&null},{style:"font-weight",getAttrs:n=>/^(bold(er)?|[5-9]\d{2,})$/.test(n)&&null}]},renderHTML({HTMLAttributes:n}){return["strong",mt(this.options.HTMLAttributes,n),0]},addCommands(){return{setBold:()=>({commands:n})=>n.setMark(this.name),toggleBold:()=>({commands:n})=>n.toggleMark(this.name),unsetBold:()=>({commands:n})=>n.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-b":()=>this.editor.commands.toggleBold(),"Mod-B":()=>this.editor.commands.toggleBold()}},addInputRules(){return[$i({find:pC,type:this.type}),$i({find:gC,type:this.type})]},addPasteRules(){return[Io({find:mC,type:this.type}),Io({find:vC,type:this.type})]}}),bC=/(?:^|\s)((?:\*)((?:[^*]+))(?:\*))$/,EC=/(?:^|\s)((?:\*)((?:[^*]+))(?:\*))/g,CC=/(?:^|\s)((?:_)((?:[^_]+))(?:_))$/,SC=/(?:^|\s)((?:_)((?:[^_]+))(?:_))/g,wC=an.create({name:"italic",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"em"},{tag:"i",getAttrs:n=>n.style.fontStyle!=="normal"&&null},{style:"font-style=italic"}]},renderHTML({HTMLAttributes:n}){return["em",mt(this.options.HTMLAttributes,n),0]},addCommands(){return{setItalic:()=>({commands:n})=>n.setMark(this.name),toggleItalic:()=>({commands:n})=>n.toggleMark(this.name),unsetItalic:()=>({commands:n})=>n.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-i":()=>this.editor.commands.toggleItalic(),"Mod-I":()=>this.editor.commands.toggleItalic()}},addInputRules(){return[$i({find:bC,type:this.type}),$i({find:CC,type:this.type})]},addPasteRules(){return[Io({find:EC,type:this.type}),Io({find:SC,type:this.type})]}}),xC=an.create({name:"underline",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"u"},{style:"text-decoration",consuming:!1,getAttrs:n=>n.includes("underline")?{}:!1}]},renderHTML({HTMLAttributes:n}){return["u",mt(this.options.HTMLAttributes,n),0]},addCommands(){return{setUnderline:()=>({commands:n})=>n.setMark(this.name),toggleUnderline:()=>({commands:n})=>n.toggleMark(this.name),unsetUnderline:()=>({commands:n})=>n.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-u":()=>this.editor.commands.toggleUnderline(),"Mod-U":()=>this.editor.commands.toggleUnderline()}}}),TC=bn.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:n}){return["li",mt(this.options.HTMLAttributes,n),0]},addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}}),kC=bn.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:n}){return["li",mt(this.options.HTMLAttributes,n),0]},addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}}),Pd=an.create({name:"textStyle",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"span",getAttrs:n=>n.hasAttribute("style")?{}:!1}]},renderHTML({HTMLAttributes:n}){return["span",mt(this.options.HTMLAttributes,n),0]},addCommands(){return{removeEmptyTextStyle:()=>({state:n,commands:e})=>{const t=Fs(n,this.type);return Object.entries(t).some(([,o])=>!!o)?!0:e.unsetMark(this.name)}}}}),Bd=/^\s*([-+*])\s$/,AC=bn.create({name:"bulletList",addOptions(){return{itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}},group:"block list",content(){return`${this.options.itemTypeName}+`},parseHTML(){return[{tag:"ul"}]},renderHTML({HTMLAttributes:n}){return["ul",mt(this.options.HTMLAttributes,n),0]},addCommands(){return{toggleBulletList:()=>({commands:n,chain:e})=>this.options.keepAttributes?e().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(kC.name,this.editor.getAttributes(Pd.name)).run():n.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-8":()=>this.editor.commands.toggleBulletList()}},addInputRules(){let n=Fi({find:Bd,type:this.type});return(this.options.keepMarks||this.options.keepAttributes)&&(n=Fi({find:Bd,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:()=>this.editor.getAttributes(Pd.name),editor:this.editor})),[n]}}),OC=bn.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:n}){return["li",mt(this.options.HTMLAttributes,n),0]},addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}}),$d=an.create({name:"textStyle",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"span",getAttrs:n=>n.hasAttribute("style")?{}:!1}]},renderHTML({HTMLAttributes:n}){return["span",mt(this.options.HTMLAttributes,n),0]},addCommands(){return{removeEmptyTextStyle:()=>({state:n,commands:e})=>{const t=Fs(n,this.type);return Object.entries(t).some(([,o])=>!!o)?!0:e.unsetMark(this.name)}}}}),Fd=/^(\d+)\.\s$/,MC=bn.create({name:"orderedList",addOptions(){return{itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}},group:"block list",content(){return`${this.options.itemTypeName}+`},addAttributes(){return{start:{default:1,parseHTML:n=>n.hasAttribute("start")?parseInt(n.getAttribute("start")||"",10):1}}},parseHTML(){return[{tag:"ol"}]},renderHTML({HTMLAttributes:n}){const{start:e,...t}=n;return e===1?["ol",mt(this.options.HTMLAttributes,t),0]:["ol",mt(this.options.HTMLAttributes,n),0]},addCommands(){return{toggleOrderedList:()=>({commands:n,chain:e})=>this.options.keepAttributes?e().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(OC.name,this.editor.getAttributes($d.name)).run():n.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-7":()=>this.editor.commands.toggleOrderedList()}},addInputRules(){let n=Fi({find:Fd,type:this.type,getAttributes:e=>({start:+e[1]}),joinPredicate:(e,t)=>t.childCount+t.attrs.start===+e[1]});return(this.options.keepMarks||this.options.keepAttributes)&&(n=Fi({find:Fd,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:e=>({start:+e[1],...this.editor.getAttributes($d.name)}),joinPredicate:(e,t)=>t.childCount+t.attrs.start===+e[1],editor:this.editor})),[n]}}),NC=bn.create({name:"hardBreak",addOptions(){return{keepMarks:!0,HTMLAttributes:{}}},inline:!0,group:"inline",selectable:!1,parseHTML(){return[{tag:"br"}]},renderHTML({HTMLAttributes:n}){return["br",mt(this.options.HTMLAttributes,n)]},renderText(){return`
|
|
127
|
-
`},addCommands(){return{setHardBreak:()=>({commands:n,chain:e,state:t,editor:r})=>n.first([()=>n.exitCode(),()=>n.command(()=>{const{selection:o,storedMarks:i}=t;if(o.$from.parent.type.spec.isolating)return!1;const{keepMarks:s}=this.options,{splittableMarks:l}=r.extensionManager,a=i||o.$to.parentOffset&&o.$from.marks();return e().insertContent({type:this.name}).command(({tr:c,dispatch:u})=>{if(u&&a&&s){const d=a.filter(h=>l.includes(h.type.name));c.ensureMarks(d)}return!0}).run()})])}},addKeyboardShortcuts(){return{"Mod-Enter":()=>this.editor.commands.setHardBreak(),"Shift-Enter":()=>this.editor.commands.setHardBreak()}}}),Na={BASIC:"basic",FULL:"full"},IC={class:"attachment-list"},DC={class:"attachment-link"},_C={key:1,class:"attachment-no-download"},LC=["href"],Ws=f.defineComponent({__name:"BDAttachmentPreviewList",props:{files:{default:[]},showDelete:{type:Boolean,default:!1},noDownload:{type:Boolean,default:!1}},emits:["delete"],setup(n,{emit:e}){const t=r=>{e("delete",r)};return(r,o)=>(f.openBlock(),f.createElementBlock("ul",IC,[(f.openBlock(!0),f.createElementBlock(f.Fragment,null,f.renderList(r.files,i=>(f.openBlock(),f.createElementBlock("li",{class:"attachment-list__item",key:i.CorrelationId},[f.createElementVNode("div",DC,[r.showDelete?(f.openBlock(),f.createBlock(lt,{key:0,variant:"remove",onClick:s=>t(i),"aria-label":"verwijder"},{default:f.withCtx(()=>[f.createVNode(f.unref($o))]),_:2},1032,["onClick"])):f.createCommentVNode("",!0),r.noDownload?(f.openBlock(),f.createElementBlock("div",_C,[f.createVNode(f.unref(cr)),f.createTextVNode(" "+f.toDisplayString(i.Naam.trim()),1)])):(f.openBlock(),f.createElementBlock("a",{key:2,href:i.downloadUrl},[f.createVNode(f.unref(cr)),f.createTextVNode(" "+f.toDisplayString(i.Naam.trim()),1)],8,LC))])]))),128))]))}}),RC={class:"attachment-list"},PC={class:"attachment"},BC=["onClick"],$C=["src","alt"],FC=["onClick"],VC=["href"],zC={class:"btn btn-light download-button-image"},HC=["src","alt"],Ks=f.defineComponent({__name:"BDImageAttachmentPreviewList",props:{fastDownload:{type:Boolean,default:!1},files:{default:void 0},showDelete:{type:Boolean,default:!1},noDownload:{type:Boolean,default:!1}},emits:["delete","show"],setup(n,{emit:e}){const t=n,r=i=>{e("delete",i)},o=(i,s)=>{i.target&&i.target.className==="img-preview"&&e("show",s)};return(i,s)=>(f.openBlock(),f.createElementBlock("ul",RC,[(f.openBlock(!0),f.createElementBlock(f.Fragment,null,f.renderList(i.files,l=>(f.openBlock(),f.createElementBlock("li",{class:"attachment-list__item",key:l.CorrelationId},[f.createElementVNode("div",PC,[i.showDelete?(f.openBlock(),f.createBlock(lt,{key:0,variant:"remove",onClick:a=>r(l),"aria-label":"verwijder"},{default:f.withCtx(()=>[f.createVNode(f.unref($o))]),_:2},1032,["onClick"])):f.createCommentVNode("",!0),t.noDownload?(f.openBlock(),f.createElementBlock("div",{key:1,onClick:a=>o(a,l)},[f.createElementVNode("img",{src:l.previewUrl,class:"img-preview",alt:l.altName,loading:"lazy"},null,8,$C)],8,BC)):(f.openBlock(),f.createElementBlock("div",{key:2,onClick:a=>o(a,l)},[t.fastDownload?(f.openBlock(),f.createElementBlock("a",{key:0,href:l.downloadUrl,class:"download-link"},[f.createElementVNode("button",zC,[f.createVNode(f.unref(Ei))])],8,VC)):f.createCommentVNode("",!0),f.createElementVNode("img",{src:l.previewUrl,alt:l.altName,class:"img-preview",loading:"lazy"},null,8,HC)],8,FC))])]))),128))]))}}),Vd=n=>n.Naam.toLowerCase().endsWith(".png")||n.Naam.toLowerCase().endsWith(".jpg")||n.Naam.toLowerCase().endsWith(".jpeg")||n.Naam.toLowerCase().endsWith(".gif"),UC=n=>n.DownloadUrl?n.DownloadUrl:n.identifier?`/Collega/api/Conversation/GetConversationAttachment?conversationId=${n.conversationId}&fileMetadataId=${n.identifier}`:n.url?n.url:n.Id?"/Portaal/DownloadBerichtBijlage/"+n.Id:n.FileId?`/Portaal/DownloadStandardMessageAttachment/${n.StandardAttachmentId}/${n.FileId}`:"/Portaal/DownloadBerichtStagingBijlage/"+n.CorrelationId,jC=n=>n.ThumbnailUrl?n.ThumbnailUrl:n.identifier?`/Collega/api/Conversation/GetConversationAttachmentThumbnail?conversationId=${n.conversationId}&fileMetadataId=${n.identifier}`:n.url?n.url:n.Id?"/Portaal/DownloadBerichtBijlageThumbnail/"+n.Id:n.StandardAttachmentId||n.standardAttachmentId?`/Portaal/DownloadStandardMessageAttachmentThumbnail/${n.StandardAttachmentId}/${n.FileId}`:"/Portaal/DownloadBerichtStagingBijlageThumbnail/"+n.CorrelationId,WC=n=>n.identifier?`/Collega/api/Conversation/GetConversationAttachment?conversationId=${n.conversationId}&fileMetadataId=${n.identifier}`:null,KC=(n,e)=>e?Vd(n):!Vd(n),bs=(n,e)=>n===void 0?void 0:n.filter(o=>KC(o,e)).map(o=>{const i=typeof o.CorrelationId=="string"?o.CorrelationId:o.CorrelationId!==void 0?o.CorrelationId.toString():"";return{downloadUrl:UC(o),previewUrl:jC(o),fullImageUrl:WC(o),altName:`${o.Naam}`,...o,CorrelationId:i}}),GC={class:"bd-markdown-editor__menu-bottom"},YC={key:0,class:"vr"},JC={key:4,class:"vr"},ZC={key:7,class:"vr"},em=f.defineComponent({__name:"BDMarkdownEditor",props:{placeholder:{default:"Typ een bericht"},errorText:{default:"er is iets fout gegaan"},state:{type:Boolean,default:void 0},variant:{default:Na.BASIC},files:{default:void 0},modelValue:{}},emits:["update:modelValue","upload","action"],setup(n,{emit:e}){const t=n,r=()=>{e("upload")},o=gr(t,"modelValue",e),i=[V3,z3,H3,hC.configure({placeholder:t.placeholder}),NC];t.variant===Na.FULL&&i.push(yC,wC,xC,TC,AC,MC,fC.configure({openOnClick:!1,validate:C=>/^https?:\/\//.test(C)}));const s=F3({content:o.value,extensions:i,onUpdate:({editor:C})=>{const{view:S,state:x}=C,{from:b,to:D}=S.state.selection;if(x.doc.textBetween(b-1,D,"")==" "&&C.getAttributes("link").href!=null&&C.chain().setTextSelection({from:b-1,to:D}).toggleLink({href:C.getAttributes("link").href}).setTextSelection({from:D,to:D}).run(),C.getText().trim()===""){e("update:modelValue","");return}e("update:modelValue",C.getHTML())}});f.watch(()=>t.modelValue,C=>{s.value.getHTML()!==C&&s.value.commands.setContent(C,!0,{preserveWhitespace:"full"})});const l=f.computed(()=>t.state?"is-invalid":null),a=f.computed(()=>h("bold")),c=f.computed(()=>h("italic")),u=f.computed(()=>h("underline"));f.computed(()=>h("bulletList")),f.computed(()=>h("orderedList"));const d=f.computed(()=>t.variant===Na.FULL),h=C=>s.value&&s.value.isActive(C)?"active":null,m=f.computed(()=>t.files&&t.files.length>0?bs(t.files,!1):null),p=f.computed(()=>t.files&&t.files.length>0?bs(t.files,!0):null),g=C=>{e("action",{name:"delete-attachment",obj:C})},v=C=>{e("action",{name:"image-attachment",obj:C})};return(C,S)=>(f.openBlock(),f.createElementBlock(f.Fragment,null,[f.createElementVNode("div",{class:f.normalizeClass(["bd-markdown-editor",l.value])},[f.createVNode(f.unref($3),{editor:f.unref(s)},null,8,["editor"]),f.renderSlot(C.$slots,"default"),m.value?(f.openBlock(),f.createBlock(Ws,{key:0,files:m.value,"no-download":!0,"show-delete":!0,onDelete:g},null,8,["files"])):f.createCommentVNode("",!0),p.value?(f.openBlock(),f.createBlock(Ks,{key:1,files:p.value,"no-download":!0,"show-delete":!0,onDelete:g,onShow:v},null,8,["files"])):f.createCommentVNode("",!0),f.createElementVNode("div",GC,[f.createVNode(lt,{variant:"light",type:"button",onClick:r},{default:f.withCtx(()=>[f.createVNode(f.unref(cr))]),_:1}),d.value?(f.openBlock(),f.createElementBlock("div",YC)):f.createCommentVNode("",!0),d.value?(f.openBlock(),f.createBlock(lt,{key:1,variant:"light",type:"button",class:f.normalizeClass(a.value),onClick:S[0]||(S[0]=x=>f.unref(s).chain().focus().toggleBold().run())},{default:f.withCtx(()=>[f.createVNode(f.unref(Nl))]),_:1},8,["class"])):f.createCommentVNode("",!0),d.value?(f.openBlock(),f.createBlock(lt,{key:2,variant:"light",type:"button",class:f.normalizeClass(c.value),onClick:S[1]||(S[1]=x=>f.unref(s).chain().focus().toggleItalic().run())},{default:f.withCtx(()=>[f.createVNode(f.unref(Bl))]),_:1},8,["class"])):f.createCommentVNode("",!0),d.value?(f.openBlock(),f.createBlock(lt,{key:3,variant:"light",type:"button",class:f.normalizeClass(u.value),onClick:S[2]||(S[2]=x=>f.unref(s).chain().focus().toggleUnderline().run())},{default:f.withCtx(()=>[f.createVNode(f.unref(Fl))]),_:1},8,["class"])):f.createCommentVNode("",!0),d.value?(f.openBlock(),f.createElementBlock("div",JC)):f.createCommentVNode("",!0),d.value?(f.openBlock(),f.createBlock(lt,{key:5,variant:"light",type:"button",class:"IsUnderlineActive",onClick:S[3]||(S[3]=x=>f.unref(s).chain().focus().toggleUnderline().run())},{default:f.withCtx(()=>[f.createVNode(f.unref(Il))]),_:1})):f.createCommentVNode("",!0),d.value?(f.openBlock(),f.createBlock(lt,{key:6,variant:"light",type:"button",class:"IsBulletListActive",onClick:S[4]||(S[4]=x=>f.unref(s).chain().focus().toggleBulletList().run())},{default:f.withCtx(()=>[f.createVNode(f.unref($l))]),_:1})):f.createCommentVNode("",!0),d.value?(f.openBlock(),f.createElementBlock("div",ZC)):f.createCommentVNode("",!0),d.value?(f.openBlock(),f.createBlock(lt,{key:8,variant:"light",type:"button",class:"IsOrderedListActive",onClick:S[5]||(S[5]=x=>f.unref(s).chain().focus().toggleOrderedList().run())},{default:f.withCtx(()=>[f.createVNode(f.unref(Pl))]),_:1})):f.createCommentVNode("",!0)])],2),f.createVNode(f.unref(As),{text:t.errorText,state:t.state},null,8,["text","state"])],64))}}),XC={class:"header"},QC=f.createElementVNode("div",null,"Menu",-1),qC={class:"icon-close-wrapper"},eS={class:"navbar"},tS={class:"nav navbar-nav w-100"},nS={class:"nav-item"},rS={class:"nav-item"},Oc=f.defineComponent({__name:"BDMobileMenu",props:{active:{type:Boolean,default:void 0},options:{}},emits:["hide","signout"],setup(n,{emit:e}){const t=n,r=f.computed(()=>({active:t.active===!0,inactive:t.active===!1})),o=()=>e("hide"),i=()=>e("signout");return(s,l)=>(f.openBlock(),f.createElementBlock("div",{class:f.normalizeClass(["bd-mobile-menu",r.value])},[f.createElementVNode("div",XC,[QC,f.createElementVNode("div",qC,[f.createVNode(ws,{onClick:o})])]),f.createElementVNode("nav",eS,[f.createElementVNode("ul",tS,[(f.openBlock(!0),f.createElementBlock(f.Fragment,null,f.renderList(t.options,a=>(f.openBlock(),f.createElementBlock("li",nS,[f.createVNode(zr,f.mergeProps({class:"nav-link"},a,{onClick:o}),null,16)]))),256)),f.createElementVNode("li",rS,[f.createVNode(zr,{class:"nav-link",text:"Uitloggen",onClick:i})])])])],2))}}),oS={class:"bd-user"},iS={class:"bd-user__information"},sS={class:"text-break"},aS={class:"overflow-x-hidden"},tm=f.defineComponent({__name:"BDUser",props:{name:{default:""},img:{default:void 0},details:{default:void 0},hideImage:{type:Boolean,default:!1}},setup(n){const e=n,t=f.computed(()=>{var r;return typeof e.details=="string"?e.details:(r=e.details)==null?void 0:r.join(" • ")});return(r,o)=>(f.openBlock(),f.createElementBlock("div",oS,[e.hideImage?f.createCommentVNode("",!0):(f.openBlock(),f.createBlock(Fo,f.mergeProps({key:0},e.img,{size:"sm"}),null,16)),f.createElementVNode("div",iS,[f.createElementVNode("header",null,[f.createElementVNode("h5",sS,f.toDisplayString(e.name),1),f.renderSlot(r.$slots,"header-extra")]),f.createElementVNode("span",aS,f.toDisplayString(t.value),1)])]))}}),lS="",cS={class:"bd-chat-cloud-card"},uS={class:"bd-chat-cloud-card__header"},dS={class:"bd-chat-cloud-card__body"},fS=["innerHTML"],hS={class:"bd-chat-cloud-card__footer"},nm=f.defineComponent({__name:"BDChatCloud",props:{headerTitle:{default:""},src:{default:void 0},AltProfileImage:{default:""},message:{default:""},isSender:{type:Boolean,default:!1},files:{default:void 0},pills:{default:void 0}},emits:["show-attachment","action"],setup(n,{emit:e}){const t=n,r=f.computed(()=>t.isSender?"sender":lS),o=f.computed(()=>bs(t.files,!1)),i=f.computed(()=>bs(t.files,!0)),s=()=>{e("action","copy-message")},l=a=>{e("show-attachment",a)};return(a,c)=>(f.openBlock(),f.createElementBlock("div",{class:f.normalizeClass(["bd-chat-cloud",r.value])},[f.createVNode(Fo,{src:t.src,size:"sm"},null,8,["src"]),f.createElementVNode("div",cS,[f.createElementVNode("div",uS,[f.renderSlot(a.$slots,"header",{},()=>[f.createTextVNode(f.toDisplayString(a.headerTitle),1)]),f.createVNode(lt,{variant:"outline-primary-dark",size:"sm",onClick:s},{default:f.withCtx(()=>[f.createTextVNode("kopieer")]),_:1})]),f.createElementVNode("div",dS,[f.renderSlot(a.$slots,"body",{},()=>[f.createElementVNode("div",{class:"bd-chat-cloud-card__message",innerHTML:t.message},null,8,fS)])]),f.createElementVNode("div",hS,[f.renderSlot(a.$slots,"footer",{},()=>[o.value?(f.openBlock(),f.createBlock(Ws,{key:0,files:o.value},null,8,["files"])):f.createCommentVNode("",!0),i.value?(f.openBlock(),f.createBlock(Ks,{key:1,files:i.value,onShow:l,"fast-download":!0},null,8,["files"])):f.createCommentVNode("",!0)])])])],2))}}),pS={class:"bd-dropdown dropdown"},Mc=f.defineComponent({__name:"BDDropdown",props:{size:{default:at.MD},variant:{default:ks.PRIMARY},right:{type:Boolean,default:void 0},noFlip:{type:Boolean,default:void 0},toggleTag:{default:"button"},toggleClass:{},actionToggle:{type:Boolean,default:void 0},text:{default:""},offset:{default:void 0}},setup(n){const e=n,{uniqueIdentifier:t}=Vo(),r=`__BD__DROPDOWN__${t.value}`,o=f.computed(()=>({class:{btn:e.toggleTag==="button",[`btn-${e.variant}`]:e.toggleTag==="button"&&e.variant,[`btn-${e.size}`]:e.toggleTag==="button"&&e.size,[`${e.toggleClass}`]:e.toggleClass!==void 0,"dropdown-toggle-action":e.actionToggle},"data-bs-display":e.noFlip?"static":null,"data-bs-offset":e.offset?e.offset:null,id:r})),i=f.computed(()=>({"dropdown-menu-end":e.right,"dropdown-menu-action":e.actionToggle})),s=f.computed(()=>({"aria-labelledby":r}));return(l,a)=>(f.openBlock(),f.createElementBlock("div",pS,[(f.openBlock(),f.createBlock(f.resolveDynamicComponent(e.toggleTag),f.mergeProps({class:"dropdown-toggle",target:"_self",role:"button","data-bs-toggle":"dropdown"},o.value),{default:f.withCtx(()=>[f.createElementVNode("span",null,f.toDisplayString(e.text),1)]),_:1},16)),f.createElementVNode("ul",f.mergeProps({class:["dropdown-menu",i.value]},s.value),[f.renderSlot(l.$slots,"default")],16)]))}}),mS={class:"navbar navbar-expand-lg header-navbar"},gS=f.createElementVNode("div",null,"Menu",-1),vS={class:"bd-btn-settings d-flex gap-2 align-items-center"},yS="sm",rm=f.defineComponent({__name:"BDHeader",props:{dropdownMenuTitle:{},dropdownOptions:{},headerOptions:{},src:{},profileImageAlt:{},profileImageSize:{}},emits:["click","signout"],setup(n,{emit:e}){const t=n,r=f.ref(void 0),o=()=>e("click"),i=()=>{e("signout")},s=()=>r.value=!0,l=()=>r.value=!1,a=f.computed(()=>{if(!t.dropdownOptions)return[];let c=t.dropdownOptions.slice(0);return c.unshift({to:{name:"Overview"},text:"Gesprekken"}),c});return(c,u)=>(f.openBlock(),f.createElementBlock(f.Fragment,null,[f.createElementVNode("nav",mS,[f.createVNode(Vl,{viewBox:"0 0 351 61",class:"d-inline-block b-d-logo",onClick:o}),f.createElementVNode("div",{class:"bd-hamburger",onClick:s},[gS,f.createVNode(Ci)]),f.createElementVNode("div",null,[(f.openBlock(!0),f.createElementBlock(f.Fragment,null,f.renderList(t.headerOptions,d=>(f.openBlock(),f.createBlock(lt,{class:"btn-header",to:d.to},{default:f.withCtx(()=>[f.createTextVNode(f.toDisplayString(d.text),1)]),_:2},1032,["to"]))),256))]),f.createElementVNode("div",vS,[t.src?(f.openBlock(),f.createBlock(Fo,{key:0,src:t.src,alt:t.profileImageAlt,size:yS},null,8,["src","alt"])):f.createCommentVNode("",!0),f.createVNode(Mc,{text:t.dropdownMenuTitle,variant:"primary",toggleTag:"a",right:!0},{default:f.withCtx(()=>[(f.openBlock(!0),f.createElementBlock(f.Fragment,null,f.renderList(t.dropdownOptions,(d,h)=>(f.openBlock(),f.createBlock(wi,f.mergeProps({key:h},d),null,16))),128)),f.createVNode(wi,{text:"Uitloggen",onClick:i})]),_:1},8,["text"])])]),f.createVNode(Oc,{active:r.value,options:a.value,onHide:l,onSignout:i},null,8,["active","options"])],64))}}),bS={class:"modal bd-modal modal-lg",tabindex:"-1"},ES={class:"modal-dialog"},CS={class:"modal-content"},SS={class:"modal-header"},wS={class:"modal-title"},xS={class:"modal-body"},TS={key:0,class:"modal-footer"},kS=["disabled"],om=f.defineComponent({__name:"BDModal",props:{title:{default:""},submitButtonTitle:{default:"Opslaan"},closeButtonTitle:{default:"Annuleren"},hideFooterCancelButton:{type:Boolean,default:!1},hideFooterSubmitButton:{type:Boolean,default:!1},hideFooter:{type:Boolean,default:!1},disableSubmitButton:{type:Boolean,default:!1}},emits:["submit","cancel"],setup(n,{emit:e}){const t=n,r=()=>{e("submit")},o=()=>{e("cancel")};return(i,s)=>(f.openBlock(),f.createElementBlock("div",bS,[f.createElementVNode("div",ES,[f.createElementVNode("div",CS,[f.createElementVNode("div",SS,[f.createElementVNode("h2",wS,f.toDisplayString(t.title),1),f.renderSlot(i.$slots,"modal-header-space-between"),f.createElementVNode("button",{type:"button",class:"btn-close w-auto","data-bs-dismiss":"modal","aria-label":"Sluiten",onClick:o},[f.createTextVNode("Sluiten "),f.createVNode(f.unref(ws),{class:"bg-primary"})])]),f.createElementVNode("div",xS,[f.renderSlot(i.$slots,"default")]),i.hideFooter?f.createCommentVNode("",!0):(f.openBlock(),f.createElementBlock("div",TS,[t.hideFooterSubmitButton?f.createCommentVNode("",!0):(f.openBlock(),f.createElementBlock("button",{key:0,type:"button",class:"btn btn-primary",disabled:t.disableSubmitButton,onClick:r},f.toDisplayString(t.submitButtonTitle),9,kS)),t.hideFooterCancelButton?f.createCommentVNode("",!0):(f.openBlock(),f.createElementBlock("button",{key:1,type:"button",class:"btn btn-link","data-bs-dismiss":"modal",onClick:o,"aria-label":"Annuleren"},f.toDisplayString(t.closeButtonTitle),1))]))])])]))}});/*!
|
|
127
|
+
`},addCommands(){return{setHardBreak:()=>({commands:n,chain:e,state:t,editor:r})=>n.first([()=>n.exitCode(),()=>n.command(()=>{const{selection:o,storedMarks:i}=t;if(o.$from.parent.type.spec.isolating)return!1;const{keepMarks:s}=this.options,{splittableMarks:l}=r.extensionManager,a=i||o.$to.parentOffset&&o.$from.marks();return e().insertContent({type:this.name}).command(({tr:c,dispatch:u})=>{if(u&&a&&s){const d=a.filter(h=>l.includes(h.type.name));c.ensureMarks(d)}return!0}).run()})])}},addKeyboardShortcuts(){return{"Mod-Enter":()=>this.editor.commands.setHardBreak(),"Shift-Enter":()=>this.editor.commands.setHardBreak()}}}),Na={BASIC:"basic",FULL:"full"},IC={class:"attachment-list"},DC={class:"attachment-link"},_C={key:1,class:"attachment-no-download"},LC=["href"],Ws=f.defineComponent({__name:"BDAttachmentPreviewList",props:{files:{default:[]},showDelete:{type:Boolean,default:!1},noDownload:{type:Boolean,default:!1}},emits:["delete"],setup(n,{emit:e}){const t=r=>{e("delete",r)};return(r,o)=>(f.openBlock(),f.createElementBlock("ul",IC,[(f.openBlock(!0),f.createElementBlock(f.Fragment,null,f.renderList(r.files,i=>(f.openBlock(),f.createElementBlock("li",{class:"attachment-list__item",key:i.CorrelationId},[f.createElementVNode("div",DC,[r.showDelete?(f.openBlock(),f.createBlock(lt,{key:0,variant:"remove",onClick:s=>t(i),"aria-label":"verwijder"},{default:f.withCtx(()=>[f.createVNode(f.unref($o))]),_:2},1032,["onClick"])):f.createCommentVNode("",!0),r.noDownload?(f.openBlock(),f.createElementBlock("div",_C,[f.createVNode(f.unref(cr)),f.createTextVNode(" "+f.toDisplayString(i.Naam.trim()),1)])):(f.openBlock(),f.createElementBlock("a",{key:2,href:i.downloadUrl},[f.createVNode(f.unref(cr)),f.createTextVNode(" "+f.toDisplayString(i.Naam.trim()),1)],8,LC))])]))),128))]))}}),RC={class:"attachment-list"},PC={class:"attachment"},BC=["onClick"],$C=["src","alt"],FC=["onClick"],VC=["href"],zC={class:"btn btn-light download-button-image"},HC=["src","alt"],Ks=f.defineComponent({__name:"BDImageAttachmentPreviewList",props:{fastDownload:{type:Boolean,default:!1},files:{default:void 0},showDelete:{type:Boolean,default:!1},noDownload:{type:Boolean,default:!1}},emits:["delete","show"],setup(n,{emit:e}){const t=n,r=i=>{e("delete",i)},o=(i,s)=>{i.target&&i.target.className==="img-preview"&&e("show",s)};return(i,s)=>(f.openBlock(),f.createElementBlock("ul",RC,[(f.openBlock(!0),f.createElementBlock(f.Fragment,null,f.renderList(i.files,l=>(f.openBlock(),f.createElementBlock("li",{class:"attachment-list__item",key:l.CorrelationId},[f.createElementVNode("div",PC,[i.showDelete?(f.openBlock(),f.createBlock(lt,{key:0,variant:"remove",onClick:a=>r(l),"aria-label":"verwijder"},{default:f.withCtx(()=>[f.createVNode(f.unref($o))]),_:2},1032,["onClick"])):f.createCommentVNode("",!0),t.noDownload?(f.openBlock(),f.createElementBlock("div",{key:1,onClick:a=>o(a,l)},[f.createElementVNode("img",{src:l.previewUrl,class:"img-preview",alt:l.altName,loading:"lazy"},null,8,$C)],8,BC)):(f.openBlock(),f.createElementBlock("div",{key:2,onClick:a=>o(a,l)},[t.fastDownload?(f.openBlock(),f.createElementBlock("a",{key:0,href:l.downloadUrl,class:"download-link"},[f.createElementVNode("button",zC,[f.createVNode(f.unref(Ei))])],8,VC)):f.createCommentVNode("",!0),f.createElementVNode("img",{src:l.previewUrl,alt:l.altName,class:"img-preview",loading:"lazy"},null,8,HC)],8,FC))])]))),128))]))}}),Vd=n=>n.Naam.toLowerCase().endsWith(".png")||n.Naam.toLowerCase().endsWith(".jpg")||n.Naam.toLowerCase().endsWith(".jpeg")||n.Naam.toLowerCase().endsWith(".gif"),UC=n=>n.DownloadUrl?n.DownloadUrl:n.identifier?`/Collega/api/Conversation/GetConversationAttachment?conversationId=${n.conversationId}&fileMetadataId=${n.identifier}`:n.url?n.url:n.Id?"/Portaal/DownloadBerichtBijlage/"+n.Id:n.FileId?`/Portaal/DownloadStandardMessageAttachment/${n.StandardAttachmentId}/${n.FileId}`:"/Portaal/DownloadBerichtStagingBijlage/"+n.CorrelationId,jC=n=>n.ThumbnailUrl?n.ThumbnailUrl:n.identifier?`/Collega/api/Conversation/GetConversationAttachmentThumbnail?conversationId=${n.conversationId}&fileMetadataId=${n.identifier}`:n.url?n.url:n.Id?"/Portaal/DownloadBerichtBijlageThumbnail/"+n.Id:n.StandardAttachmentId||n.standardAttachmentId?`/Portaal/DownloadStandardMessageAttachmentThumbnail/${n.StandardAttachmentId}/${n.FileId}`:"/Portaal/DownloadBerichtStagingBijlageThumbnail/"+n.CorrelationId,WC=n=>n.identifier?`/Collega/api/Conversation/GetConversationAttachment?conversationId=${n.conversationId}&fileMetadataId=${n.identifier}`:null,KC=(n,e)=>e?Vd(n):!Vd(n),bs=(n,e)=>n===void 0?void 0:n.filter(o=>KC(o,e)).map(o=>{const i=typeof o.CorrelationId=="string"?o.CorrelationId:o.CorrelationId!==void 0?o.CorrelationId.toString():"";return{downloadUrl:UC(o),previewUrl:jC(o),fullImageUrl:WC(o),altName:`${o.Naam}`,...o,CorrelationId:i}}),GC={class:"bd-markdown-editor__menu-bottom"},YC={key:0,class:"vr"},JC={key:4,class:"vr"},ZC={key:7,class:"vr"},em=f.defineComponent({__name:"BDMarkdownEditor",props:{placeholder:{default:"Typ een bericht"},errorText:{default:"er is iets fout gegaan"},state:{type:Boolean,default:void 0},variant:{default:Na.BASIC},files:{default:void 0},modelValue:{}},emits:["update:modelValue","upload","action"],setup(n,{emit:e}){const t=n,r=()=>{e("upload")},o=gr(t,"modelValue",e),i=[V3,z3,H3,hC.configure({placeholder:t.placeholder}),NC];t.variant===Na.FULL&&i.push(yC,wC,xC,TC,AC,MC,fC.configure({openOnClick:!1,validate:C=>/^https?:\/\//.test(C)}));const s=F3({content:o.value,extensions:i,onUpdate:({editor:C})=>{const{view:S,state:x}=C,{from:b,to:D}=S.state.selection;if(x.doc.textBetween(b-1,D,"")==" "&&C.getAttributes("link").href!=null&&C.chain().setTextSelection({from:b-1,to:D}).toggleLink({href:C.getAttributes("link").href}).setTextSelection({from:D,to:D}).run(),C.getText().trim()===""){e("update:modelValue","");return}e("update:modelValue",C.getHTML())}});f.watch(()=>t.modelValue,C=>{s.value.getHTML()!==C&&s.value.commands.setContent(C,!0,{preserveWhitespace:"full"})});const l=f.computed(()=>t.state?"is-invalid":null),a=f.computed(()=>h("bold")),c=f.computed(()=>h("italic")),u=f.computed(()=>h("underline"));f.computed(()=>h("bulletList")),f.computed(()=>h("orderedList"));const d=f.computed(()=>t.variant===Na.FULL),h=C=>s.value&&s.value.isActive(C)?"active":null,m=f.computed(()=>t.files&&t.files.length>0?bs(t.files,!1):null),p=f.computed(()=>t.files&&t.files.length>0?bs(t.files,!0):null),g=C=>{e("action",{name:"delete-attachment",obj:C})},v=C=>{e("action",{name:"image-attachment",obj:C})};return(C,S)=>(f.openBlock(),f.createElementBlock(f.Fragment,null,[f.createElementVNode("div",{class:f.normalizeClass(["bd-markdown-editor",l.value])},[f.createVNode(f.unref($3),{editor:f.unref(s)},null,8,["editor"]),f.renderSlot(C.$slots,"default"),m.value?(f.openBlock(),f.createBlock(Ws,{key:0,files:m.value,"no-download":!0,"show-delete":!0,onDelete:g},null,8,["files"])):f.createCommentVNode("",!0),p.value?(f.openBlock(),f.createBlock(Ks,{key:1,files:p.value,"no-download":!0,"show-delete":!0,onDelete:g,onShow:v},null,8,["files"])):f.createCommentVNode("",!0),f.createElementVNode("div",GC,[f.createVNode(lt,{variant:"light",type:"button",onClick:r},{default:f.withCtx(()=>[f.createVNode(f.unref(cr))]),_:1}),d.value?(f.openBlock(),f.createElementBlock("div",YC)):f.createCommentVNode("",!0),d.value?(f.openBlock(),f.createBlock(lt,{key:1,variant:"light",type:"button",class:f.normalizeClass(a.value),onClick:S[0]||(S[0]=x=>f.unref(s).chain().focus().toggleBold().run())},{default:f.withCtx(()=>[f.createVNode(f.unref(Nl))]),_:1},8,["class"])):f.createCommentVNode("",!0),d.value?(f.openBlock(),f.createBlock(lt,{key:2,variant:"light",type:"button",class:f.normalizeClass(c.value),onClick:S[1]||(S[1]=x=>f.unref(s).chain().focus().toggleItalic().run())},{default:f.withCtx(()=>[f.createVNode(f.unref(Bl))]),_:1},8,["class"])):f.createCommentVNode("",!0),d.value?(f.openBlock(),f.createBlock(lt,{key:3,variant:"light",type:"button",class:f.normalizeClass(u.value),onClick:S[2]||(S[2]=x=>f.unref(s).chain().focus().toggleUnderline().run())},{default:f.withCtx(()=>[f.createVNode(f.unref(Fl))]),_:1},8,["class"])):f.createCommentVNode("",!0),d.value?(f.openBlock(),f.createElementBlock("div",JC)):f.createCommentVNode("",!0),d.value?(f.openBlock(),f.createBlock(lt,{key:5,variant:"light",type:"button",class:"IsUnderlineActive",onClick:S[3]||(S[3]=x=>f.unref(s).chain().focus().toggleUnderline().run())},{default:f.withCtx(()=>[f.createVNode(f.unref(Il))]),_:1})):f.createCommentVNode("",!0),d.value?(f.openBlock(),f.createBlock(lt,{key:6,variant:"light",type:"button",class:"IsBulletListActive",onClick:S[4]||(S[4]=x=>f.unref(s).chain().focus().toggleBulletList().run())},{default:f.withCtx(()=>[f.createVNode(f.unref($l))]),_:1})):f.createCommentVNode("",!0),d.value?(f.openBlock(),f.createElementBlock("div",ZC)):f.createCommentVNode("",!0),d.value?(f.openBlock(),f.createBlock(lt,{key:8,variant:"light",type:"button",class:"IsOrderedListActive",onClick:S[5]||(S[5]=x=>f.unref(s).chain().focus().toggleOrderedList().run())},{default:f.withCtx(()=>[f.createVNode(f.unref(Pl))]),_:1})):f.createCommentVNode("",!0)])],2),f.createVNode(f.unref(As),{text:t.errorText,state:t.state},null,8,["text","state"])],64))}}),XC={class:"header"},QC=f.createElementVNode("div",null,"Menu",-1),qC={class:"icon-close-wrapper"},eS={class:"navbar"},tS={class:"nav navbar-nav w-100"},nS={class:"nav-item"},rS={class:"nav-item"},Oc=f.defineComponent({__name:"BDMobileMenu",props:{active:{type:Boolean,default:void 0},options:{}},emits:["hide","signout"],setup(n,{emit:e}){const t=n,r=f.computed(()=>({active:t.active===!0,inactive:t.active===!1})),o=()=>e("hide"),i=()=>e("signout");return(s,l)=>(f.openBlock(),f.createElementBlock("div",{class:f.normalizeClass(["bd-mobile-menu",r.value])},[f.createElementVNode("div",XC,[QC,f.createElementVNode("div",qC,[f.createVNode(ws,{onClick:o})])]),f.createElementVNode("nav",eS,[f.createElementVNode("ul",tS,[(f.openBlock(!0),f.createElementBlock(f.Fragment,null,f.renderList(t.options,a=>(f.openBlock(),f.createElementBlock("li",nS,[f.createVNode(zr,f.mergeProps({class:"nav-link"},a,{onClick:o}),null,16)]))),256)),f.createElementVNode("li",rS,[f.createVNode(zr,{class:"nav-link",text:"Uitloggen",onClick:i})])])])],2))}}),oS={class:"bd-user"},iS={class:"bd-user__information"},sS={class:"text-break"},aS={class:"overflow-x-hidden"},tm=f.defineComponent({__name:"BDUser",props:{name:{default:""},img:{default:void 0},details:{default:void 0},hideImage:{type:Boolean,default:!1}},setup(n){const e=n,t=f.computed(()=>{var r;return typeof e.details=="string"?e.details:(r=e.details)==null?void 0:r.join(" • ")});return(r,o)=>(f.openBlock(),f.createElementBlock("div",oS,[e.hideImage?f.createCommentVNode("",!0):(f.openBlock(),f.createBlock(Fo,f.mergeProps({key:0},e.img,{size:"sm"}),null,16)),f.createElementVNode("div",iS,[f.createElementVNode("header",null,[f.createElementVNode("h5",sS,f.toDisplayString(e.name),1),f.renderSlot(r.$slots,"header-extra")]),f.createElementVNode("span",aS,f.toDisplayString(t.value),1)])]))}}),lS="",cS={class:"bd-chat-cloud-card"},uS={class:"bd-chat-cloud-card__header"},dS={class:"bd-chat-cloud-card__body"},fS=["innerHTML"],hS={class:"bd-chat-cloud-card__footer"},nm=f.defineComponent({__name:"BDChatCloud",props:{headerTitle:{default:""},src:{default:void 0},AltProfileImage:{default:""},message:{default:""},isSender:{type:Boolean,default:!1},files:{default:void 0},pills:{default:void 0}},emits:["show-attachment","action"],setup(n,{emit:e}){const t=n,r=f.computed(()=>t.isSender?"sender":lS),o=f.computed(()=>bs(t.files,!1)),i=f.computed(()=>bs(t.files,!0)),s=()=>{e("action","copy-message")},l=a=>{e("show-attachment",a)};return(a,c)=>(f.openBlock(),f.createElementBlock("div",{class:f.normalizeClass(["bd-chat-cloud",r.value])},[f.createVNode(Fo,{src:t.src,size:"sm"},null,8,["src"]),f.createElementVNode("div",cS,[f.createElementVNode("div",uS,[f.renderSlot(a.$slots,"header",{},()=>[f.createTextVNode(f.toDisplayString(a.headerTitle),1)]),f.createVNode(lt,{variant:"outline-primary-dark",size:"sm",onClick:s},{default:f.withCtx(()=>[f.createTextVNode("kopieer")]),_:1})]),f.createElementVNode("div",dS,[f.renderSlot(a.$slots,"body",{},()=>[f.createElementVNode("div",{class:"bd-chat-cloud-card__message",innerHTML:t.message},null,8,fS)])]),f.createElementVNode("div",hS,[f.renderSlot(a.$slots,"footer",{},()=>[o.value?(f.openBlock(),f.createBlock(Ws,{key:0,files:o.value},null,8,["files"])):f.createCommentVNode("",!0),i.value?(f.openBlock(),f.createBlock(Ks,{key:1,files:i.value,onShow:l,"fast-download":!0},null,8,["files"])):f.createCommentVNode("",!0)])])])],2))}}),pS={class:"bd-dropdown dropdown"},Mc=f.defineComponent({__name:"BDDropdown",props:{size:{default:at.MD},variant:{default:ks.PRIMARY},right:{type:Boolean,default:void 0},noFlip:{type:Boolean,default:void 0},toggleTag:{default:"button"},toggleClass:{},actionToggle:{type:Boolean,default:void 0},text:{default:""},offset:{default:void 0}},setup(n){const e=n,{uniqueIdentifier:t}=Vo(),r=`__BD__DROPDOWN__${t.value}`,o=f.computed(()=>({class:{btn:e.toggleTag==="button",[`btn-${e.variant}`]:e.toggleTag==="button"&&e.variant,[`btn-${e.size}`]:e.toggleTag==="button"&&e.size,[`${e.toggleClass}`]:e.toggleClass!==void 0,"dropdown-toggle-action":e.actionToggle},"data-bs-display":e.noFlip?"static":null,"data-bs-offset":e.offset?e.offset:null,id:r})),i=f.computed(()=>({"dropdown-menu-end":e.right,"dropdown-menu-action":e.actionToggle})),s=f.computed(()=>({"aria-labelledby":r}));return(l,a)=>(f.openBlock(),f.createElementBlock("div",pS,[(f.openBlock(),f.createBlock(f.resolveDynamicComponent(e.toggleTag),f.mergeProps({class:"dropdown-toggle",target:"_self",role:"button","data-bs-toggle":"dropdown"},o.value),{default:f.withCtx(()=>[f.createElementVNode("span",null,f.toDisplayString(e.text),1)]),_:1},16)),f.createElementVNode("ul",f.mergeProps({class:["dropdown-menu",i.value]},s.value),[f.renderSlot(l.$slots,"default")],16)]))}}),mS={class:"navbar navbar-expand-lg header-navbar"},gS=f.createElementVNode("div",null,"Menu",-1),vS={key:0,class:"header-options"},yS={class:"bd-btn-settings d-flex gap-2 align-items-center"},bS="sm",rm=f.defineComponent({__name:"BDHeader",props:{dropdownMenuTitle:{},dropdownOptions:{},headerOptions:{},src:{},profileImageAlt:{},profileImageSize:{}},emits:["click","signout"],setup(n,{emit:e}){const t=n,r=f.ref(void 0),o=()=>e("click"),i=()=>{e("signout")},s=()=>r.value=!0,l=()=>r.value=!1,a=f.computed(()=>{if(!t.dropdownOptions)return[];let c=t.dropdownOptions.slice(0);return c.unshift({to:{name:"Overview"},text:"Gesprekken"}),c});return(c,u)=>(f.openBlock(),f.createElementBlock(f.Fragment,null,[f.createElementVNode("nav",mS,[f.createVNode(Vl,{viewBox:"0 0 351 61",class:"d-inline-block b-d-logo",onClick:o}),f.createElementVNode("div",{class:"bd-hamburger",onClick:s},[gS,f.createVNode(Ci)]),t.headerOptions&&t.headerOptions.length!==0?(f.openBlock(),f.createElementBlock("div",vS,[(f.openBlock(!0),f.createElementBlock(f.Fragment,null,f.renderList(t.headerOptions,d=>(f.openBlock(),f.createBlock(lt,{class:"btn-header",to:d.to},{default:f.withCtx(()=>[f.createTextVNode(f.toDisplayString(d.text),1)]),_:2},1032,["to"]))),256))])):f.createCommentVNode("",!0),f.createElementVNode("div",yS,[t.src?(f.openBlock(),f.createBlock(Fo,{key:0,src:t.src,alt:t.profileImageAlt,size:bS},null,8,["src","alt"])):f.createCommentVNode("",!0),f.createVNode(Mc,{text:t.dropdownMenuTitle,variant:"primary",toggleTag:"a",right:!0},{default:f.withCtx(()=>[(f.openBlock(!0),f.createElementBlock(f.Fragment,null,f.renderList(t.dropdownOptions,(d,h)=>(f.openBlock(),f.createBlock(wi,f.mergeProps({key:h},d),null,16))),128)),f.createVNode(wi,{text:"Uitloggen",onClick:i})]),_:1},8,["text"])])]),f.createVNode(Oc,{active:r.value,options:a.value,onHide:l,onSignout:i},null,8,["active","options"])],64))}}),ES={class:"modal bd-modal modal-lg",tabindex:"-1"},CS={class:"modal-dialog"},SS={class:"modal-content"},wS={class:"modal-header"},xS={class:"modal-title"},TS={class:"modal-body"},kS={key:0,class:"modal-footer"},AS=["disabled"],om=f.defineComponent({__name:"BDModal",props:{title:{default:""},submitButtonTitle:{default:"Opslaan"},closeButtonTitle:{default:"Annuleren"},hideFooterCancelButton:{type:Boolean,default:!1},hideFooterSubmitButton:{type:Boolean,default:!1},hideFooter:{type:Boolean,default:!1},disableSubmitButton:{type:Boolean,default:!1}},emits:["submit","cancel"],setup(n,{emit:e}){const t=n,r=()=>{e("submit")},o=()=>{e("cancel")};return(i,s)=>(f.openBlock(),f.createElementBlock("div",ES,[f.createElementVNode("div",CS,[f.createElementVNode("div",SS,[f.createElementVNode("div",wS,[f.createElementVNode("h2",xS,f.toDisplayString(t.title),1),f.renderSlot(i.$slots,"modal-header-space-between"),f.createElementVNode("button",{type:"button",class:"btn-close w-auto","data-bs-dismiss":"modal","aria-label":"Sluiten",onClick:o},[f.createTextVNode("Sluiten "),f.createVNode(f.unref(ws),{class:"bg-primary"})])]),f.createElementVNode("div",TS,[f.renderSlot(i.$slots,"default")]),i.hideFooter?f.createCommentVNode("",!0):(f.openBlock(),f.createElementBlock("div",kS,[t.hideFooterSubmitButton?f.createCommentVNode("",!0):(f.openBlock(),f.createElementBlock("button",{key:0,type:"button",class:"btn btn-primary",disabled:t.disableSubmitButton,onClick:r},f.toDisplayString(t.submitButtonTitle),9,AS)),t.hideFooterCancelButton?f.createCommentVNode("",!0):(f.openBlock(),f.createElementBlock("button",{key:1,type:"button",class:"btn btn-link","data-bs-dismiss":"modal",onClick:o,"aria-label":"Annuleren"},f.toDisplayString(t.closeButtonTitle),1))]))])])]))}});/*!
|
|
128
128
|
* Bootstrap v5.3.0 (https://getbootstrap.com/)
|
|
129
129
|
* Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
|
130
130
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
131
|
-
*/const Tn=new Map,Ia={set(n,e,t){Tn.has(n)||Tn.set(n,new Map);const r=Tn.get(n);if(!r.has(e)&&r.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(r.keys())[0]}.`);return}r.set(e,t)},get(n,e){return Tn.has(n)&&Tn.get(n).get(e)||null},remove(n,e){if(!Tn.has(n))return;const t=Tn.get(n);t.delete(e),t.size===0&&Tn.delete(n)}},AS=1e6,OS=1e3,kl="transitionend",im=n=>(n&&window.CSS&&window.CSS.escape&&(n=n.replace(/#([^\s"#']+)/g,(e,t)=>`#${CSS.escape(t)}`)),n),MS=n=>n==null?`${n}`:Object.prototype.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase(),NS=n=>{do n+=Math.floor(Math.random()*AS);while(document.getElementById(n));return n},IS=n=>{if(!n)return 0;let{transitionDuration:e,transitionDelay:t}=window.getComputedStyle(n);const r=Number.parseFloat(e),o=Number.parseFloat(t);return!r&&!o?0:(e=e.split(",")[0],t=t.split(",")[0],(Number.parseFloat(e)+Number.parseFloat(t))*OS)},sm=n=>{n.dispatchEvent(new Event(kl))},vn=n=>!n||typeof n!="object"?!1:(typeof n.jquery<"u"&&(n=n[0]),typeof n.nodeType<"u"),$n=n=>vn(n)?n.jquery?n[0]:n:typeof n=="string"&&n.length>0?document.querySelector(im(n)):null,ro=n=>{if(!vn(n)||n.getClientRects().length===0)return!1;const e=getComputedStyle(n).getPropertyValue("visibility")==="visible",t=n.closest("details:not([open])");if(!t)return e;if(t!==n){const r=n.closest("summary");if(r&&r.parentNode!==t||r===null)return!1}return e},Fn=n=>!n||n.nodeType!==Node.ELEMENT_NODE||n.classList.contains("disabled")?!0:typeof n.disabled<"u"?n.disabled:n.hasAttribute("disabled")&&n.getAttribute("disabled")!=="false",am=n=>{if(!document.documentElement.attachShadow)return null;if(typeof n.getRootNode=="function"){const e=n.getRootNode();return e instanceof ShadowRoot?e:null}return n instanceof ShadowRoot?n:n.parentNode?am(n.parentNode):null},Es=()=>{},Wo=n=>{n.offsetHeight},lm=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Da=[],DS=n=>{document.readyState==="loading"?(Da.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of Da)e()}),Da.push(n)):n()},$t=()=>document.documentElement.dir==="rtl",Vt=n=>{DS(()=>{const e=lm();if(e){const t=n.NAME,r=e.fn[t];e.fn[t]=n.jQueryInterface,e.fn[t].Constructor=n,e.fn[t].noConflict=()=>(e.fn[t]=r,n.jQueryInterface)}})},yt=(n,e=[],t=n)=>typeof n=="function"?n(...e):t,cm=(n,e,t=!0)=>{if(!t){yt(n);return}const r=5,o=IS(e)+r;let i=!1;const s=({target:l})=>{l===e&&(i=!0,e.removeEventListener(kl,s),yt(n))};e.addEventListener(kl,s),setTimeout(()=>{i||sm(e)},o)},Nc=(n,e,t,r)=>{const o=n.length;let i=n.indexOf(e);return i===-1?!t&&r?n[o-1]:n[0]:(i+=t?1:-1,r&&(i=(i+o)%o),n[Math.max(0,Math.min(i,o-1))])},_S=/[^.]*(?=\..*)\.|.*/,LS=/\..*/,RS=/::\d+$/,_a={};let zd=1;const um={mouseenter:"mouseover",mouseleave:"mouseout"},PS=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function dm(n,e){return e&&`${e}::${zd++}`||n.uidEvent||zd++}function fm(n){const e=dm(n);return n.uidEvent=e,_a[e]=_a[e]||{},_a[e]}function BS(n,e){return function t(r){return Ic(r,{delegateTarget:n}),t.oneOff&&ne.off(n,r.type,e),e.apply(n,[r])}}function $S(n,e,t){return function r(o){const i=n.querySelectorAll(e);for(let{target:s}=o;s&&s!==this;s=s.parentNode)for(const l of i)if(l===s)return Ic(o,{delegateTarget:s}),r.oneOff&&ne.off(n,o.type,e,t),t.apply(s,[o])}}function hm(n,e,t=null){return Object.values(n).find(r=>r.callable===e&&r.delegationSelector===t)}function pm(n,e,t){const r=typeof e=="string",o=r?t:e||t;let i=mm(n);return PS.has(i)||(i=n),[r,o,i]}function Hd(n,e,t,r,o){if(typeof e!="string"||!n)return;let[i,s,l]=pm(e,t,r);e in um&&(s=(p=>function(g){if(!g.relatedTarget||g.relatedTarget!==g.delegateTarget&&!g.delegateTarget.contains(g.relatedTarget))return p.call(this,g)})(s));const a=fm(n),c=a[l]||(a[l]={}),u=hm(c,s,i?t:null);if(u){u.oneOff=u.oneOff&&o;return}const d=dm(s,e.replace(_S,"")),h=i?$S(n,t,s):BS(n,s);h.delegationSelector=i?t:null,h.callable=s,h.oneOff=o,h.uidEvent=d,c[d]=h,n.addEventListener(l,h,i)}function Al(n,e,t,r,o){const i=hm(e[t],r,o);i&&(n.removeEventListener(t,i,!!o),delete e[t][i.uidEvent])}function FS(n,e,t,r){const o=e[t]||{};for(const[i,s]of Object.entries(o))i.includes(r)&&Al(n,e,t,s.callable,s.delegationSelector)}function mm(n){return n=n.replace(LS,""),um[n]||n}const ne={on(n,e,t,r){Hd(n,e,t,r,!1)},one(n,e,t,r){Hd(n,e,t,r,!0)},off(n,e,t,r){if(typeof e!="string"||!n)return;const[o,i,s]=pm(e,t,r),l=s!==e,a=fm(n),c=a[s]||{},u=e.startsWith(".");if(typeof i<"u"){if(!Object.keys(c).length)return;Al(n,a,s,i,o?t:null);return}if(u)for(const d of Object.keys(a))FS(n,a,d,e.slice(1));for(const[d,h]of Object.entries(c)){const m=d.replace(RS,"");(!l||e.includes(m))&&Al(n,a,s,h.callable,h.delegationSelector)}},trigger(n,e,t){if(typeof e!="string"||!n)return null;const r=lm(),o=mm(e),i=e!==o;let s=null,l=!0,a=!0,c=!1;i&&r&&(s=r.Event(e,t),r(n).trigger(s),l=!s.isPropagationStopped(),a=!s.isImmediatePropagationStopped(),c=s.isDefaultPrevented());const u=Ic(new Event(e,{bubbles:l,cancelable:!0}),t);return c&&u.preventDefault(),a&&n.dispatchEvent(u),u.defaultPrevented&&s&&s.preventDefault(),u}};function Ic(n,e={}){for(const[t,r]of Object.entries(e))try{n[t]=r}catch{Object.defineProperty(n,t,{configurable:!0,get(){return r}})}return n}function Ud(n){if(n==="true")return!0;if(n==="false")return!1;if(n===Number(n).toString())return Number(n);if(n===""||n==="null")return null;if(typeof n!="string")return n;try{return JSON.parse(decodeURIComponent(n))}catch{return n}}function La(n){return n.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}const yn={setDataAttribute(n,e,t){n.setAttribute(`data-bs-${La(e)}`,t)},removeDataAttribute(n,e){n.removeAttribute(`data-bs-${La(e)}`)},getDataAttributes(n){if(!n)return{};const e={},t=Object.keys(n.dataset).filter(r=>r.startsWith("bs")&&!r.startsWith("bsConfig"));for(const r of t){let o=r.replace(/^bs/,"");o=o.charAt(0).toLowerCase()+o.slice(1,o.length),e[o]=Ud(n.dataset[r])}return e},getDataAttribute(n,e){return Ud(n.getAttribute(`data-bs-${La(e)}`))}};class Ko{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,t){const r=vn(t)?yn.getDataAttribute(t,"config"):{};return{...this.constructor.Default,...typeof r=="object"?r:{},...vn(t)?yn.getDataAttributes(t):{},...typeof e=="object"?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(const[r,o]of Object.entries(t)){const i=e[r],s=vn(i)?"element":MS(i);if(!new RegExp(o).test(s))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${r}" provided type "${s}" but expected type "${o}".`)}}}const VS="5.3.0";class Gt extends Ko{constructor(e,t){super(),e=$n(e),e&&(this._element=e,this._config=this._getConfig(t),Ia.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Ia.remove(this._element,this.constructor.DATA_KEY),ne.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,r=!0){cm(e,t,r)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return Ia.get($n(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,typeof t=="object"?t:null)}static get VERSION(){return VS}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}}const Ra=n=>{let e=n.getAttribute("data-bs-target");if(!e||e==="#"){let t=n.getAttribute("href");if(!t||!t.includes("#")&&!t.startsWith("."))return null;t.includes("#")&&!t.startsWith("#")&&(t=`#${t.split("#")[1]}`),e=t&&t!=="#"?t.trim():null}return im(e)},ye={find(n,e=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(e,n))},findOne(n,e=document.documentElement){return Element.prototype.querySelector.call(e,n)},children(n,e){return[].concat(...n.children).filter(t=>t.matches(e))},parents(n,e){const t=[];let r=n.parentNode.closest(e);for(;r;)t.push(r),r=r.parentNode.closest(e);return t},prev(n,e){let t=n.previousElementSibling;for(;t;){if(t.matches(e))return[t];t=t.previousElementSibling}return[]},next(n,e){let t=n.nextElementSibling;for(;t;){if(t.matches(e))return[t];t=t.nextElementSibling}return[]},focusableChildren(n){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(t=>`${t}:not([tabindex^="-"])`).join(",");return this.find(e,n).filter(t=>!Fn(t)&&ro(t))},getSelectorFromElement(n){const e=Ra(n);return e&&ye.findOne(e)?e:null},getElementFromSelector(n){const e=Ra(n);return e?ye.findOne(e):null},getMultipleElementsFromSelector(n){const e=Ra(n);return e?ye.find(e):[]}},Gs=(n,e="hide")=>{const t=`click.dismiss${n.EVENT_KEY}`,r=n.NAME;ne.on(document,t,`[data-bs-dismiss="${r}"]`,function(o){if(["A","AREA"].includes(this.tagName)&&o.preventDefault(),Fn(this))return;const i=ye.getElementFromSelector(this)||this.closest(`.${r}`);n.getOrCreateInstance(i)[e]()})},zS="alert",HS="bs.alert",gm=`.${HS}`,US=`close${gm}`,jS=`closed${gm}`,WS="fade",KS="show";class Ys extends Gt{static get NAME(){return zS}close(){if(ne.trigger(this._element,US).defaultPrevented)return;this._element.classList.remove(KS);const t=this._element.classList.contains(WS);this._queueCallback(()=>this._destroyElement(),this._element,t)}_destroyElement(){this._element.remove(),ne.trigger(this._element,jS),this.dispose()}static jQueryInterface(e){return this.each(function(){const t=Ys.getOrCreateInstance(this);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e](this)}})}}Gs(Ys,"close");Vt(Ys);const GS="button",YS="bs.button",JS=`.${YS}`,ZS=".data-api",XS="active",jd='[data-bs-toggle="button"]',QS=`click${JS}${ZS}`;class Js extends Gt{static get NAME(){return GS}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(XS))}static jQueryInterface(e){return this.each(function(){const t=Js.getOrCreateInstance(this);e==="toggle"&&t[e]()})}}ne.on(document,QS,jd,n=>{n.preventDefault();const e=n.target.closest(jd);Js.getOrCreateInstance(e).toggle()});Vt(Js);const qS="swipe",oo=".bs.swipe",e4=`touchstart${oo}`,t4=`touchmove${oo}`,n4=`touchend${oo}`,r4=`pointerdown${oo}`,o4=`pointerup${oo}`,i4="touch",s4="pen",a4="pointer-event",l4=40,c4={endCallback:null,leftCallback:null,rightCallback:null},u4={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Cs extends Ko{constructor(e,t){super(),this._element=e,!(!e||!Cs.isSupported())&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return c4}static get DefaultType(){return u4}static get NAME(){return qS}dispose(){ne.off(this._element,oo)}_start(e){if(!this._supportPointerEvents){this._deltaX=e.touches[0].clientX;return}this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX)}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),yt(this._config.endCallback)}_move(e){this._deltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this._deltaX}_handleSwipe(){const e=Math.abs(this._deltaX);if(e<=l4)return;const t=e/this._deltaX;this._deltaX=0,t&&yt(t>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(ne.on(this._element,r4,e=>this._start(e)),ne.on(this._element,o4,e=>this._end(e)),this._element.classList.add(a4)):(ne.on(this._element,e4,e=>this._start(e)),ne.on(this._element,t4,e=>this._move(e)),ne.on(this._element,n4,e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&(e.pointerType===s4||e.pointerType===i4)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const d4="carousel",f4="bs.carousel",Wn=`.${f4}`,vm=".data-api",h4="ArrowLeft",p4="ArrowRight",m4=500,so="next",Tr="prev",Dr="left",yi="right",g4=`slide${Wn}`,Pa=`slid${Wn}`,v4=`keydown${Wn}`,y4=`mouseenter${Wn}`,b4=`mouseleave${Wn}`,E4=`dragstart${Wn}`,C4=`load${Wn}${vm}`,S4=`click${Wn}${vm}`,ym="carousel",ai="active",w4="slide",x4="carousel-item-end",T4="carousel-item-start",k4="carousel-item-next",A4="carousel-item-prev",bm=".active",Em=".carousel-item",O4=bm+Em,M4=".carousel-item img",N4=".carousel-indicators",I4="[data-bs-slide], [data-bs-slide-to]",D4='[data-bs-ride="carousel"]',_4={[h4]:yi,[p4]:Dr},L4={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},R4={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Go extends Gt{constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=ye.findOne(N4,this._element),this._addEventListeners(),this._config.ride===ym&&this.cycle()}static get Default(){return L4}static get DefaultType(){return R4}static get NAME(){return d4}next(){this._slide(so)}nextWhenVisible(){!document.hidden&&ro(this._element)&&this.next()}prev(){this._slide(Tr)}pause(){this._isSliding&&sm(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding){ne.one(this._element,Pa,()=>this.cycle());return}this.cycle()}}to(e){const t=this._getItems();if(e>t.length-1||e<0)return;if(this._isSliding){ne.one(this._element,Pa,()=>this.to(e));return}const r=this._getItemIndex(this._getActive());if(r===e)return;const o=e>r?so:Tr;this._slide(o,t[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&ne.on(this._element,v4,e=>this._keydown(e)),this._config.pause==="hover"&&(ne.on(this._element,y4,()=>this.pause()),ne.on(this._element,b4,()=>this._maybeEnableCycle())),this._config.touch&&Cs.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const r of ye.find(M4,this._element))ne.on(r,E4,o=>o.preventDefault());const t={leftCallback:()=>this._slide(this._directionToOrder(Dr)),rightCallback:()=>this._slide(this._directionToOrder(yi)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),m4+this._config.interval))}};this._swipeHelper=new Cs(this._element,t)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=_4[e.key];t&&(e.preventDefault(),this._slide(this._directionToOrder(t)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){if(!this._indicatorsElement)return;const t=ye.findOne(bm,this._indicatorsElement);t.classList.remove(ai),t.removeAttribute("aria-current");const r=ye.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);r&&(r.classList.add(ai),r.setAttribute("aria-current","true"))}_updateInterval(){const e=this._activeElement||this._getActive();if(!e)return;const t=Number.parseInt(e.getAttribute("data-bs-interval"),10);this._config.interval=t||this._config.defaultInterval}_slide(e,t=null){if(this._isSliding)return;const r=this._getActive(),o=e===so,i=t||Nc(this._getItems(),r,o,this._config.wrap);if(i===r)return;const s=this._getItemIndex(i),l=m=>ne.trigger(this._element,m,{relatedTarget:i,direction:this._orderToDirection(e),from:this._getItemIndex(r),to:s});if(l(g4).defaultPrevented||!r||!i)return;const c=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(s),this._activeElement=i;const u=o?T4:x4,d=o?k4:A4;i.classList.add(d),Wo(i),r.classList.add(u),i.classList.add(u);const h=()=>{i.classList.remove(u,d),i.classList.add(ai),r.classList.remove(ai,d,u),this._isSliding=!1,l(Pa)};this._queueCallback(h,r,this._isAnimated()),c&&this.cycle()}_isAnimated(){return this._element.classList.contains(w4)}_getActive(){return ye.findOne(O4,this._element)}_getItems(){return ye.find(Em,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return $t()?e===Dr?Tr:so:e===Dr?so:Tr}_orderToDirection(e){return $t()?e===Tr?Dr:yi:e===Tr?yi:Dr}static jQueryInterface(e){return this.each(function(){const t=Go.getOrCreateInstance(this,e);if(typeof e=="number"){t.to(e);return}if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()}})}}ne.on(document,S4,I4,function(n){const e=ye.getElementFromSelector(this);if(!e||!e.classList.contains(ym))return;n.preventDefault();const t=Go.getOrCreateInstance(e),r=this.getAttribute("data-bs-slide-to");if(r){t.to(r),t._maybeEnableCycle();return}if(yn.getDataAttribute(this,"slide")==="next"){t.next(),t._maybeEnableCycle();return}t.prev(),t._maybeEnableCycle()});ne.on(window,C4,()=>{const n=ye.find(D4);for(const e of n)Go.getOrCreateInstance(e)});Vt(Go);const P4="collapse",B4="bs.collapse",Yo=`.${B4}`,$4=".data-api",F4=`show${Yo}`,V4=`shown${Yo}`,z4=`hide${Yo}`,H4=`hidden${Yo}`,U4=`click${Yo}${$4}`,Ba="show",Br="collapse",li="collapsing",j4="collapsed",W4=`:scope .${Br} .${Br}`,K4="collapse-horizontal",G4="width",Y4="height",J4=".collapse.show, .collapse.collapsing",Ol='[data-bs-toggle="collapse"]',Z4={parent:null,toggle:!0},X4={parent:"(null|element)",toggle:"boolean"};class Po extends Gt{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const r=ye.find(Ol);for(const o of r){const i=ye.getSelectorFromElement(o),s=ye.find(i).filter(l=>l===this._element);i!==null&&s.length&&this._triggerArray.push(o)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Z4}static get DefaultType(){return X4}static get NAME(){return P4}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(J4).filter(l=>l!==this._element).map(l=>Po.getOrCreateInstance(l,{toggle:!1}))),e.length&&e[0]._isTransitioning||ne.trigger(this._element,F4).defaultPrevented)return;for(const l of e)l.hide();const r=this._getDimension();this._element.classList.remove(Br),this._element.classList.add(li),this._element.style[r]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const o=()=>{this._isTransitioning=!1,this._element.classList.remove(li),this._element.classList.add(Br,Ba),this._element.style[r]="",ne.trigger(this._element,V4)},s=`scroll${r[0].toUpperCase()+r.slice(1)}`;this._queueCallback(o,this._element,!0),this._element.style[r]=`${this._element[s]}px`}hide(){if(this._isTransitioning||!this._isShown()||ne.trigger(this._element,z4).defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,Wo(this._element),this._element.classList.add(li),this._element.classList.remove(Br,Ba);for(const o of this._triggerArray){const i=ye.getElementFromSelector(o);i&&!this._isShown(i)&&this._addAriaAndCollapsedClass([o],!1)}this._isTransitioning=!0;const r=()=>{this._isTransitioning=!1,this._element.classList.remove(li),this._element.classList.add(Br),ne.trigger(this._element,H4)};this._element.style[t]="",this._queueCallback(r,this._element,!0)}_isShown(e=this._element){return e.classList.contains(Ba)}_configAfterMerge(e){return e.toggle=!!e.toggle,e.parent=$n(e.parent),e}_getDimension(){return this._element.classList.contains(K4)?G4:Y4}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(Ol);for(const t of e){const r=ye.getElementFromSelector(t);r&&this._addAriaAndCollapsedClass([t],this._isShown(r))}}_getFirstLevelChildren(e){const t=ye.find(W4,this._config.parent);return ye.find(e,this._config.parent).filter(r=>!t.includes(r))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const r of e)r.classList.toggle(j4,!t),r.setAttribute("aria-expanded",t)}static jQueryInterface(e){const t={};return typeof e=="string"&&/show|hide/.test(e)&&(t.toggle=!1),this.each(function(){const r=Po.getOrCreateInstance(this,t);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e]()}})}}ne.on(document,U4,Ol,function(n){(n.target.tagName==="A"||n.delegateTarget&&n.delegateTarget.tagName==="A")&&n.preventDefault();for(const e of ye.getMultipleElementsFromSelector(this))Po.getOrCreateInstance(e,{toggle:!1}).toggle()});Vt(Po);const Wd="dropdown",Q4="bs.dropdown",vr=`.${Q4}`,Dc=".data-api",q4="Escape",Kd="Tab",e7="ArrowUp",Gd="ArrowDown",t7=2,n7=`hide${vr}`,r7=`hidden${vr}`,o7=`show${vr}`,i7=`shown${vr}`,Cm=`click${vr}${Dc}`,Sm=`keydown${vr}${Dc}`,s7=`keyup${vr}${Dc}`,_r="show",a7="dropup",l7="dropend",c7="dropstart",u7="dropup-center",d7="dropdown-center",tr='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',f7=`${tr}.${_r}`,bi=".dropdown-menu",h7=".navbar",p7=".navbar-nav",m7=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",g7=$t()?"top-end":"top-start",v7=$t()?"top-start":"top-end",y7=$t()?"bottom-end":"bottom-start",b7=$t()?"bottom-start":"bottom-end",E7=$t()?"left-start":"right-start",C7=$t()?"right-start":"left-start",S7="top",w7="bottom",x7={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},T7={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class rn extends Gt{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=ye.next(this._element,bi)[0]||ye.prev(this._element,bi)[0]||ye.findOne(bi,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return x7}static get DefaultType(){return T7}static get NAME(){return Wd}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Fn(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!ne.trigger(this._element,o7,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(p7))for(const r of[].concat(...document.body.children))ne.on(r,"mouseover",Es);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(_r),this._element.classList.add(_r),ne.trigger(this._element,i7,e)}}hide(){if(Fn(this._element)||!this._isShown())return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){if(!ne.trigger(this._element,n7,e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const r of[].concat(...document.body.children))ne.off(r,"mouseover",Es);this._popper&&this._popper.destroy(),this._menu.classList.remove(_r),this._element.classList.remove(_r),this._element.setAttribute("aria-expanded","false"),yn.removeDataAttribute(this._menu,"popper"),ne.trigger(this._element,r7,e)}}_getConfig(e){if(e=super._getConfig(e),typeof e.reference=="object"&&!vn(e.reference)&&typeof e.reference.getBoundingClientRect!="function")throw new TypeError(`${Wd.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(typeof Rp>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;this._config.reference==="parent"?e=this._parent:vn(this._config.reference)?e=$n(this._config.reference):typeof this._config.reference=="object"&&(e=this._config.reference);const t=this._getPopperConfig();this._popper=Us(e,this._menu,t)}_isShown(){return this._menu.classList.contains(_r)}_getPlacement(){const e=this._parent;if(e.classList.contains(l7))return E7;if(e.classList.contains(c7))return C7;if(e.classList.contains(u7))return S7;if(e.classList.contains(d7))return w7;const t=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return e.classList.contains(a7)?t?v7:g7:t?b7:y7}_detectNavbar(){return this._element.closest(h7)!==null}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(t=>Number.parseInt(t,10)):typeof e=="function"?t=>e(t,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(yn.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...yt(this._config.popperConfig,[e])}}_selectMenuItem({key:e,target:t}){const r=ye.find(m7,this._menu).filter(o=>ro(o));r.length&&Nc(r,t,e===Gd,!r.includes(t)).focus()}static jQueryInterface(e){return this.each(function(){const t=rn.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e]()}})}static clearMenus(e){if(e.button===t7||e.type==="keyup"&&e.key!==Kd)return;const t=ye.find(f7);for(const r of t){const o=rn.getInstance(r);if(!o||o._config.autoClose===!1)continue;const i=e.composedPath(),s=i.includes(o._menu);if(i.includes(o._element)||o._config.autoClose==="inside"&&!s||o._config.autoClose==="outside"&&s||o._menu.contains(e.target)&&(e.type==="keyup"&&e.key===Kd||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const l={relatedTarget:o._element};e.type==="click"&&(l.clickEvent=e),o._completeHide(l)}}static dataApiKeydownHandler(e){const t=/input|textarea/i.test(e.target.tagName),r=e.key===q4,o=[e7,Gd].includes(e.key);if(!o&&!r||t&&!r)return;e.preventDefault();const i=this.matches(tr)?this:ye.prev(this,tr)[0]||ye.next(this,tr)[0]||ye.findOne(tr,e.delegateTarget.parentNode),s=rn.getOrCreateInstance(i);if(o){e.stopPropagation(),s.show(),s._selectMenuItem(e);return}s._isShown()&&(e.stopPropagation(),s.hide(),i.focus())}}ne.on(document,Sm,tr,rn.dataApiKeydownHandler);ne.on(document,Sm,bi,rn.dataApiKeydownHandler);ne.on(document,Cm,rn.clearMenus);ne.on(document,s7,rn.clearMenus);ne.on(document,Cm,tr,function(n){n.preventDefault(),rn.getOrCreateInstance(this).toggle()});Vt(rn);const wm="backdrop",k7="fade",Yd="show",Jd=`mousedown.bs.${wm}`,A7={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},O7={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class xm extends Ko{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return A7}static get DefaultType(){return O7}static get NAME(){return wm}show(e){if(!this._config.isVisible){yt(e);return}this._append();const t=this._getElement();this._config.isAnimated&&Wo(t),t.classList.add(Yd),this._emulateAnimation(()=>{yt(e)})}hide(e){if(!this._config.isVisible){yt(e);return}this._getElement().classList.remove(Yd),this._emulateAnimation(()=>{this.dispose(),yt(e)})}dispose(){this._isAppended&&(ne.off(this._element,Jd),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add(k7),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=$n(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),ne.on(e,Jd,()=>{yt(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){cm(e,this._getElement(),this._config.isAnimated)}}const M7="focustrap",N7="bs.focustrap",Ss=`.${N7}`,I7=`focusin${Ss}`,D7=`keydown.tab${Ss}`,_7="Tab",L7="forward",Zd="backward",R7={autofocus:!0,trapElement:null},P7={autofocus:"boolean",trapElement:"element"};class Tm extends Ko{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return R7}static get DefaultType(){return P7}static get NAME(){return M7}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),ne.off(document,Ss),ne.on(document,I7,e=>this._handleFocusin(e)),ne.on(document,D7,e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,ne.off(document,Ss))}_handleFocusin(e){const{trapElement:t}=this._config;if(e.target===document||e.target===t||t.contains(e.target))return;const r=ye.focusableChildren(t);r.length===0?t.focus():this._lastTabNavDirection===Zd?r[r.length-1].focus():r[0].focus()}_handleKeydown(e){e.key===_7&&(this._lastTabNavDirection=e.shiftKey?Zd:L7)}}const Xd=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Qd=".sticky-top",ci="padding-right",qd="margin-right";class Ml{constructor(){this._element=document.body}getWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,ci,t=>t+e),this._setElementAttributes(Xd,ci,t=>t+e),this._setElementAttributes(Qd,qd,t=>t-e)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,ci),this._resetElementAttributes(Xd,ci),this._resetElementAttributes(Qd,qd)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,r){const o=this.getWidth(),i=s=>{if(s!==this._element&&window.innerWidth>s.clientWidth+o)return;this._saveInitialAttribute(s,t);const l=window.getComputedStyle(s).getPropertyValue(t);s.style.setProperty(t,`${r(Number.parseFloat(l))}px`)};this._applyManipulationCallback(e,i)}_saveInitialAttribute(e,t){const r=e.style.getPropertyValue(t);r&&yn.setDataAttribute(e,t,r)}_resetElementAttributes(e,t){const r=o=>{const i=yn.getDataAttribute(o,t);if(i===null){o.style.removeProperty(t);return}yn.removeDataAttribute(o,t),o.style.setProperty(t,i)};this._applyManipulationCallback(e,r)}_applyManipulationCallback(e,t){if(vn(e)){t(e);return}for(const r of ye.find(e,this._element))t(r)}}const B7="modal",$7="bs.modal",Ft=`.${$7}`,F7=".data-api",V7="Escape",z7=`hide${Ft}`,H7=`hidePrevented${Ft}`,km=`hidden${Ft}`,Am=`show${Ft}`,U7=`shown${Ft}`,j7=`resize${Ft}`,W7=`click.dismiss${Ft}`,K7=`mousedown.dismiss${Ft}`,G7=`keydown.dismiss${Ft}`,Y7=`click${Ft}${F7}`,ef="modal-open",J7="fade",tf="show",$a="modal-static",Z7=".modal.show",X7=".modal-dialog",Q7=".modal-body",q7='[data-bs-toggle="modal"]',ew={backdrop:!0,focus:!0,keyboard:!0},tw={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class mr extends Gt{constructor(e,t){super(e,t),this._dialog=ye.findOne(X7,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Ml,this._addEventListeners()}static get Default(){return ew}static get DefaultType(){return tw}static get NAME(){return B7}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||ne.trigger(this._element,Am,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(ef),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){!this._isShown||this._isTransitioning||ne.trigger(this._element,z7).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(tf),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){ne.off(window,Ft),ne.off(this._dialog,Ft),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new xm({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Tm({trapElement:this._element})}_showElement(e){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const t=ye.findOne(Q7,this._dialog);t&&(t.scrollTop=0),Wo(this._element),this._element.classList.add(tf);const r=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,ne.trigger(this._element,U7,{relatedTarget:e})};this._queueCallback(r,this._dialog,this._isAnimated())}_addEventListeners(){ne.on(this._element,G7,e=>{if(e.key===V7){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),ne.on(window,j7,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),ne.on(this._element,K7,e=>{ne.one(this._element,W7,t=>{if(!(this._element!==e.target||this._element!==t.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(ef),this._resetAdjustments(),this._scrollBar.reset(),ne.trigger(this._element,km)})}_isAnimated(){return this._element.classList.contains(J7)}_triggerBackdropTransition(){if(ne.trigger(this._element,H7).defaultPrevented)return;const t=this._element.scrollHeight>document.documentElement.clientHeight,r=this._element.style.overflowY;r==="hidden"||this._element.classList.contains($a)||(t||(this._element.style.overflowY="hidden"),this._element.classList.add($a),this._queueCallback(()=>{this._element.classList.remove($a),this._queueCallback(()=>{this._element.style.overflowY=r},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),r=t>0;if(r&&!e){const o=$t()?"paddingLeft":"paddingRight";this._element.style[o]=`${t}px`}if(!r&&e){const o=$t()?"paddingRight":"paddingLeft";this._element.style[o]=`${t}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,t){return this.each(function(){const r=mr.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e](t)}})}}ne.on(document,Y7,q7,function(n){const e=ye.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&n.preventDefault(),ne.one(e,Am,o=>{o.defaultPrevented||ne.one(e,km,()=>{ro(this)&&this.focus()})});const t=ye.findOne(Z7);t&&mr.getInstance(t).hide(),mr.getOrCreateInstance(e).toggle(this)});Gs(mr);Vt(mr);const nw="offcanvas",rw="bs.offcanvas",En=`.${rw}`,Om=".data-api",ow=`load${En}${Om}`,iw="Escape",nf="show",rf="showing",of="hiding",sw="offcanvas-backdrop",Mm=".offcanvas.show",aw=`show${En}`,lw=`shown${En}`,cw=`hide${En}`,sf=`hidePrevented${En}`,Nm=`hidden${En}`,uw=`resize${En}`,dw=`click${En}${Om}`,fw=`keydown.dismiss${En}`,hw='[data-bs-toggle="offcanvas"]',pw={backdrop:!0,keyboard:!0,scroll:!1},mw={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Vn extends Gt{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return pw}static get DefaultType(){return mw}static get NAME(){return nw}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown||ne.trigger(this._element,aw,{relatedTarget:e}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new Ml().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(rf);const r=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(nf),this._element.classList.remove(rf),ne.trigger(this._element,lw,{relatedTarget:e})};this._queueCallback(r,this._element,!0)}hide(){if(!this._isShown||ne.trigger(this._element,cw).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(of),this._backdrop.hide();const t=()=>{this._element.classList.remove(nf,of),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new Ml().reset(),ne.trigger(this._element,Nm)};this._queueCallback(t,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=()=>{if(this._config.backdrop==="static"){ne.trigger(this._element,sf);return}this.hide()},t=!!this._config.backdrop;return new xm({className:sw,isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?e:null})}_initializeFocusTrap(){return new Tm({trapElement:this._element})}_addEventListeners(){ne.on(this._element,fw,e=>{if(e.key===iw){if(this._config.keyboard){this.hide();return}ne.trigger(this._element,sf)}})}static jQueryInterface(e){return this.each(function(){const t=Vn.getOrCreateInstance(this,e);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e](this)}})}}ne.on(document,dw,hw,function(n){const e=ye.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),Fn(this))return;ne.one(e,Nm,()=>{ro(this)&&this.focus()});const t=ye.findOne(Mm);t&&t!==e&&Vn.getInstance(t).hide(),Vn.getOrCreateInstance(e).toggle(this)});ne.on(window,ow,()=>{for(const n of ye.find(Mm))Vn.getOrCreateInstance(n).show()});ne.on(window,uw,()=>{for(const n of ye.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(n).position!=="fixed"&&Vn.getOrCreateInstance(n).hide()});Gs(Vn);Vt(Vn);const gw=/^aria-[\w-]*$/i,Im={"*":["class","dir","id","lang","role",gw],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},vw=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),yw=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,bw=(n,e)=>{const t=n.nodeName.toLowerCase();return e.includes(t)?vw.has(t)?!!yw.test(n.nodeValue):!0:e.filter(r=>r instanceof RegExp).some(r=>r.test(t))};function Ew(n,e,t){if(!n.length)return n;if(t&&typeof t=="function")return t(n);const o=new window.DOMParser().parseFromString(n,"text/html"),i=[].concat(...o.body.querySelectorAll("*"));for(const s of i){const l=s.nodeName.toLowerCase();if(!Object.keys(e).includes(l)){s.remove();continue}const a=[].concat(...s.attributes),c=[].concat(e["*"]||[],e[l]||[]);for(const u of a)bw(u,c)||s.removeAttribute(u.nodeName)}return o.body.innerHTML}const Cw="TemplateFactory",Sw={allowList:Im,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},ww={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},xw={entry:"(string|element|function|null)",selector:"(string|element)"};class Tw extends Ko{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return Sw}static get DefaultType(){return ww}static get NAME(){return Cw}getContent(){return Object.values(this._config.content).map(e=>this._resolvePossibleFunction(e)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){const e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(const[o,i]of Object.entries(this._config.content))this._setContent(e,i,o);const t=e.children[0],r=this._resolvePossibleFunction(this._config.extraClass);return r&&t.classList.add(...r.split(" ")),t}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[t,r]of Object.entries(e))super._typeCheckConfig({selector:t,entry:r},xw)}_setContent(e,t,r){const o=ye.findOne(r,e);if(o){if(t=this._resolvePossibleFunction(t),!t){o.remove();return}if(vn(t)){this._putElementInTemplate($n(t),o);return}if(this._config.html){o.innerHTML=this._maybeSanitize(t);return}o.textContent=t}}_maybeSanitize(e){return this._config.sanitize?Ew(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return yt(e,[this])}_putElementInTemplate(e,t){if(this._config.html){t.innerHTML="",t.append(e);return}t.textContent=e.textContent}}const kw="tooltip",Aw=new Set(["sanitize","allowList","sanitizeFn"]),Fa="fade",Ow="modal",ui="show",Mw=".tooltip-inner",af=`.${Ow}`,lf="hide.bs.modal",ao="hover",Va="focus",Nw="click",Iw="manual",Dw="hide",_w="hidden",Lw="show",Rw="shown",Pw="inserted",Bw="click",$w="focusin",Fw="focusout",Vw="mouseenter",zw="mouseleave",Hw={AUTO:"auto",TOP:"top",RIGHT:$t()?"left":"right",BOTTOM:"bottom",LEFT:$t()?"right":"left"},Uw={allowList:Im,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},jw={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class yr extends Gt{constructor(e,t){if(typeof Rp>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e,t),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return Uw}static get DefaultType(){return jw}static get NAME(){return kw}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),ne.off(this._element.closest(af),lf,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;const e=ne.trigger(this._element,this.constructor.eventName(Lw)),r=(am(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!r)return;this._disposePopper();const o=this._getTipElement();this._element.setAttribute("aria-describedby",o.getAttribute("id"));const{container:i}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(i.append(o),ne.trigger(this._element,this.constructor.eventName(Pw))),this._popper=this._createPopper(o),o.classList.add(ui),"ontouchstart"in document.documentElement)for(const l of[].concat(...document.body.children))ne.on(l,"mouseover",Es);const s=()=>{ne.trigger(this._element,this.constructor.eventName(Rw)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(s,this.tip,this._isAnimated())}hide(){if(!this._isShown()||ne.trigger(this._element,this.constructor.eventName(Dw)).defaultPrevented)return;if(this._getTipElement().classList.remove(ui),"ontouchstart"in document.documentElement)for(const o of[].concat(...document.body.children))ne.off(o,"mouseover",Es);this._activeTrigger[Nw]=!1,this._activeTrigger[Va]=!1,this._activeTrigger[ao]=!1,this._isHovered=null;const r=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),ne.trigger(this._element,this.constructor.eventName(_w)))};this._queueCallback(r,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(e){const t=this._getTemplateFactory(e).toHtml();if(!t)return null;t.classList.remove(Fa,ui),t.classList.add(`bs-${this.constructor.NAME}-auto`);const r=NS(this.constructor.NAME).toString();return t.setAttribute("id",r),this._isAnimated()&&t.classList.add(Fa),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new Tw({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[Mw]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Fa)}_isShown(){return this.tip&&this.tip.classList.contains(ui)}_createPopper(e){const t=yt(this._config.placement,[this,e,this._element]),r=Hw[t.toUpperCase()];return Us(this._element,e,this._getPopperConfig(r))}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(t=>Number.parseInt(t,10)):typeof e=="function"?t=>e(t,this._element):e}_resolvePossibleFunction(e){return yt(e,[this._element])}_getPopperConfig(e){const t={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:r=>{this._getTipElement().setAttribute("data-popper-placement",r.state.placement)}}]};return{...t,...yt(this._config.popperConfig,[t])}}_setListeners(){const e=this._config.trigger.split(" ");for(const t of e)if(t==="click")ne.on(this._element,this.constructor.eventName(Bw),this._config.selector,r=>{this._initializeOnDelegatedTarget(r).toggle()});else if(t!==Iw){const r=t===ao?this.constructor.eventName(Vw):this.constructor.eventName($w),o=t===ao?this.constructor.eventName(zw):this.constructor.eventName(Fw);ne.on(this._element,r,this._config.selector,i=>{const s=this._initializeOnDelegatedTarget(i);s._activeTrigger[i.type==="focusin"?Va:ao]=!0,s._enter()}),ne.on(this._element,o,this._config.selector,i=>{const s=this._initializeOnDelegatedTarget(i);s._activeTrigger[i.type==="focusout"?Va:ao]=s._element.contains(i.relatedTarget),s._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},ne.on(this._element.closest(af),lf,this._hideModalHandler)}_fixTitle(){const e=this._element.getAttribute("title");e&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",e),this._element.setAttribute("data-bs-original-title",e),this._element.removeAttribute("title"))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){const t=yn.getDataAttributes(this._element);for(const r of Object.keys(t))Aw.has(r)&&delete t[r];return e={...t,...typeof e=="object"&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=e.container===!1?document.body:$n(e.container),typeof e.delay=="number"&&(e.delay={show:e.delay,hide:e.delay}),typeof e.title=="number"&&(e.title=e.title.toString()),typeof e.content=="number"&&(e.content=e.content.toString()),e}_getDelegateConfig(){const e={};for(const[t,r]of Object.entries(this._config))this.constructor.Default[t]!==r&&(e[t]=r);return e.selector=!1,e.trigger="manual",e}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(e){return this.each(function(){const t=yr.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e]()}})}}Vt(yr);const Ww="popover",Kw=".popover-header",Gw=".popover-body",Yw={...yr.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},Jw={...yr.DefaultType,content:"(null|string|element|function)"};class _c extends yr{static get Default(){return Yw}static get DefaultType(){return Jw}static get NAME(){return Ww}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[Kw]:this._getTitle(),[Gw]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each(function(){const t=_c.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e]()}})}}Vt(_c);const Zw="scrollspy",Xw="bs.scrollspy",Lc=`.${Xw}`,Qw=".data-api",qw=`activate${Lc}`,cf=`click${Lc}`,ex=`load${Lc}${Qw}`,tx="dropdown-item",kr="active",nx='[data-bs-spy="scroll"]',za="[href]",rx=".nav, .list-group",uf=".nav-link",ox=".nav-item",ix=".list-group-item",sx=`${uf}, ${ox} > ${uf}, ${ix}`,ax=".dropdown",lx=".dropdown-toggle",cx={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},ux={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Zs extends Gt{constructor(e,t){super(e,t),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return cx}static get DefaultType(){return ux}static get NAME(){return Zw}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=$n(e.target)||document.body,e.rootMargin=e.offset?`${e.offset}px 0px -30%`:e.rootMargin,typeof e.threshold=="string"&&(e.threshold=e.threshold.split(",").map(t=>Number.parseFloat(t))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(ne.off(this._config.target,cf),ne.on(this._config.target,cf,za,e=>{const t=this._observableSections.get(e.target.hash);if(t){e.preventDefault();const r=this._rootElement||window,o=t.offsetTop-this._element.offsetTop;if(r.scrollTo){r.scrollTo({top:o,behavior:"smooth"});return}r.scrollTop=o}}))}_getNewObserver(){const e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(t=>this._observerCallback(t),e)}_observerCallback(e){const t=s=>this._targetLinks.get(`#${s.target.id}`),r=s=>{this._previousScrollData.visibleEntryTop=s.target.offsetTop,this._process(t(s))},o=(this._rootElement||document.documentElement).scrollTop,i=o>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=o;for(const s of e){if(!s.isIntersecting){this._activeTarget=null,this._clearActiveClass(t(s));continue}const l=s.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(i&&l){if(r(s),!o)return;continue}!i&&!l&&r(s)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=ye.find(za,this._config.target);for(const t of e){if(!t.hash||Fn(t))continue;const r=ye.findOne(decodeURI(t.hash),this._element);ro(r)&&(this._targetLinks.set(decodeURI(t.hash),t),this._observableSections.set(t.hash,r))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(kr),this._activateParents(e),ne.trigger(this._element,qw,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains(tx)){ye.findOne(lx,e.closest(ax)).classList.add(kr);return}for(const t of ye.parents(e,rx))for(const r of ye.prev(t,sx))r.classList.add(kr)}_clearActiveClass(e){e.classList.remove(kr);const t=ye.find(`${za}.${kr}`,e);for(const r of t)r.classList.remove(kr)}static jQueryInterface(e){return this.each(function(){const t=Zs.getOrCreateInstance(this,e);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()}})}}ne.on(window,ex,()=>{for(const n of ye.find(nx))Zs.getOrCreateInstance(n)});Vt(Zs);const dx="tab",fx="bs.tab",br=`.${fx}`,hx=`hide${br}`,px=`hidden${br}`,mx=`show${br}`,gx=`shown${br}`,vx=`click${br}`,yx=`keydown${br}`,bx=`load${br}`,Ex="ArrowLeft",df="ArrowRight",Cx="ArrowUp",ff="ArrowDown",nr="active",hf="fade",Ha="show",Sx="dropdown",wx=".dropdown-toggle",xx=".dropdown-menu",Ua=":not(.dropdown-toggle)",Tx='.list-group, .nav, [role="tablist"]',kx=".nav-item, .list-group-item",Ax=`.nav-link${Ua}, .list-group-item${Ua}, [role="tab"]${Ua}`,Dm='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',ja=`${Ax}, ${Dm}`,Ox=`.${nr}[data-bs-toggle="tab"], .${nr}[data-bs-toggle="pill"], .${nr}[data-bs-toggle="list"]`;class qr extends Gt{constructor(e){super(e),this._parent=this._element.closest(Tx),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),ne.on(this._element,yx,t=>this._keydown(t)))}static get NAME(){return dx}show(){const e=this._element;if(this._elemIsActive(e))return;const t=this._getActiveElem(),r=t?ne.trigger(t,hx,{relatedTarget:e}):null;ne.trigger(e,mx,{relatedTarget:t}).defaultPrevented||r&&r.defaultPrevented||(this._deactivate(t,e),this._activate(e,t))}_activate(e,t){if(!e)return;e.classList.add(nr),this._activate(ye.getElementFromSelector(e));const r=()=>{if(e.getAttribute("role")!=="tab"){e.classList.add(Ha);return}e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),ne.trigger(e,gx,{relatedTarget:t})};this._queueCallback(r,e,e.classList.contains(hf))}_deactivate(e,t){if(!e)return;e.classList.remove(nr),e.blur(),this._deactivate(ye.getElementFromSelector(e));const r=()=>{if(e.getAttribute("role")!=="tab"){e.classList.remove(Ha);return}e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),ne.trigger(e,px,{relatedTarget:t})};this._queueCallback(r,e,e.classList.contains(hf))}_keydown(e){if(![Ex,df,Cx,ff].includes(e.key))return;e.stopPropagation(),e.preventDefault();const t=[df,ff].includes(e.key),r=Nc(this._getChildren().filter(o=>!Fn(o)),e.target,t,!0);r&&(r.focus({preventScroll:!0}),qr.getOrCreateInstance(r).show())}_getChildren(){return ye.find(ja,this._parent)}_getActiveElem(){return this._getChildren().find(e=>this._elemIsActive(e))||null}_setInitialAttributes(e,t){this._setAttributeIfNotExists(e,"role","tablist");for(const r of t)this._setInitialAttributesOnChild(r)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);const t=this._elemIsActive(e),r=this._getOuterElement(e);e.setAttribute("aria-selected",t),r!==e&&this._setAttributeIfNotExists(r,"role","presentation"),t||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){const t=ye.getElementFromSelector(e);t&&(this._setAttributeIfNotExists(t,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(t,"aria-labelledby",`${e.id}`))}_toggleDropDown(e,t){const r=this._getOuterElement(e);if(!r.classList.contains(Sx))return;const o=(i,s)=>{const l=ye.findOne(i,r);l&&l.classList.toggle(s,t)};o(wx,nr),o(xx,Ha),r.setAttribute("aria-expanded",t)}_setAttributeIfNotExists(e,t,r){e.hasAttribute(t)||e.setAttribute(t,r)}_elemIsActive(e){return e.classList.contains(nr)}_getInnerElement(e){return e.matches(ja)?e:ye.findOne(ja,e)}_getOuterElement(e){return e.closest(kx)||e}static jQueryInterface(e){return this.each(function(){const t=qr.getOrCreateInstance(this);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()}})}}ne.on(document,vx,Dm,function(n){["A","AREA"].includes(this.tagName)&&n.preventDefault(),!Fn(this)&&qr.getOrCreateInstance(this).show()});ne.on(window,bx,()=>{for(const n of ye.find(Ox))qr.getOrCreateInstance(n)});Vt(qr);const Mx="toast",Nx="bs.toast",Kn=`.${Nx}`,Ix=`mouseover${Kn}`,Dx=`mouseout${Kn}`,_x=`focusin${Kn}`,Lx=`focusout${Kn}`,Rx=`hide${Kn}`,Px=`hidden${Kn}`,Bx=`show${Kn}`,$x=`shown${Kn}`,Fx="fade",pf="hide",di="show",fi="showing",Vx={animation:"boolean",autohide:"boolean",delay:"number"},zx={animation:!0,autohide:!0,delay:5e3};class Jo extends Gt{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return zx}static get DefaultType(){return Vx}static get NAME(){return Mx}show(){if(ne.trigger(this._element,Bx).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(Fx);const t=()=>{this._element.classList.remove(fi),ne.trigger(this._element,$x),this._maybeScheduleHide()};this._element.classList.remove(pf),Wo(this._element),this._element.classList.add(di,fi),this._queueCallback(t,this._element,this._config.animation)}hide(){if(!this.isShown()||ne.trigger(this._element,Rx).defaultPrevented)return;const t=()=>{this._element.classList.add(pf),this._element.classList.remove(fi,di),ne.trigger(this._element,Px)};this._element.classList.add(fi),this._queueCallback(t,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(di),super.dispose()}isShown(){return this._element.classList.contains(di)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(e,t){switch(e.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=t;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=t;break}}if(t){this._clearTimeout();return}const r=e.relatedTarget;this._element===r||this._element.contains(r)||this._maybeScheduleHide()}_setListeners(){ne.on(this._element,Ix,e=>this._onInteraction(e,!0)),ne.on(this._element,Dx,e=>this._onInteraction(e,!1)),ne.on(this._element,_x,e=>this._onInteraction(e,!0)),ne.on(this._element,Lx,e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const t=Jo.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e](this)}})}}Gs(Jo);Vt(Jo);const Hx=n=>{const e=f.ref(null);return{showModal:()=>{const o=document.getElementById(n);o instanceof HTMLElement?(e.value||(e.value=new mr(o,{})),e.value.show()):console.error(`Modal '${n}' niet gevonden.`)},closeModal:()=>{e.value&&e.value.hide()}}};function Ux(n=void 0){const e=l=>i("Succesvol",l,Lr.SUCCESS),t=l=>i("Waarschuwing",l,Lr.WARNING),r=l=>i("Informatie",l,Lr.INFO),o=l=>i("Mislukt",l,Lr.DANGER);function i(l,a,c){const u=`toast-${Nf()}`,d={id:u,show:!0,variant:c,title:l,text:a},h=document.querySelector(".toast-container"),m=f.h(Hl,d),g=f.createApp({render:()=>m}).mount(document.createElement("div"));h.appendChild(g.$el);const v=document.querySelector(`#${u}`),C=Jo.getOrCreateInstance(v,n);C&&(C.show(),s(v))}function s(l){function a(d,h){d.forEach(m=>{if(m.attributeName!="class")return;const p=m.target;if(p.classList.contains("hide")){p.remove(),h.disconnect();return}})}const c=new MutationObserver(a),u={attributes:!0};c.observe(l,u)}return{showSuccessToast:e,showInformationToast:r,showWarningToast:t,showDangerToast:o}}const _m={mounted:n=>{new yr(n)}},jx={PRIMARY:"primary",SECONDARY:"secondary",COLLEAGUE:"colleague",DANGER:"danger",OUT_PRIMARY:"outline-primary",OUT_PRIMARY_DARK:"outline-primary-dark",OUT_TERTIARY:"outline-tertiary",OUT_LINK:"link",LIGHT:"light",DARK:"dark",REMOVE:"remove"},lt=f.defineComponent({__name:"BDButton",props:{size:{default:at.MD},variant:{default:jx.PRIMARY},blockElement:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},to:{},target:{},text:{},rel:{}},emits:["click"],setup(n,{emit:e}){const t=n,r=f.computed(()=>({btn:!0,[`btn-${t.variant}`]:t.variant,[`btn-${t.size}`]:!0,"d-grid":t.blockElement&&typeof t.to=="string",[`${t.class}`]:t.class,disabled:t.disabled})),o=f.computed(()=>t.to?zr:"button"),i=f.computed(()=>{const l={};return t.to?(l.to=t.to,l.role="button"):l.type="submit",l}),s=()=>{e("click")};return(l,a)=>(f.openBlock(),f.createBlock(f.resolveDynamicComponent(o.value),f.mergeProps({class:["bd-btn",r.value]},i.value,{onClick:s}),{default:f.withCtx(()=>[f.renderSlot(l.$slots,"default",{},()=>[f.createTextVNode(f.toDisplayString(t.text),1)])]),_:3},16,["class"]))}}),Wx={install:n=>{n.component("BDCol",mf),n.component("BDContainer",gf),n.component("BDRow",vf),n.component("BDButton",lt),n.component("BDLogo",Vl),n.component("BDLink",zr),n.component("BDDropdownItem",wi),n.component("BDDropdown",Mc),n.component("BDAlert",kf),n.component("BDProfileImage",Fo),n.component("BDZoomslider",Of),n.component("BDCard",zl),n.component("BDCollapsableCard",If),n.component("BDFormInput",_f),n.component("BDInputGroup",Lf),n.component("BDFormInvalidFeedback",As),n.component("BDBadge",Rf),n.component("BDForm",Pf),n.component("BDPagination",Bf),n.component("BDDropzone",Hf),n.component("BDMarkdownEditor",em),n.component("BDModal",om),n.component("BDFormSelect",$f),n.component("BDUser",tm),n.component("BDArticle",Vf),n.component("BDFormCheckbox",Ff),n.component("BDToast",Hl),n.component("BDAttachmentPreviewList",Ws),n.component("BDImageAttachmentPreviewList",Ks),n.component("BDHeader",rm),n.component("BDMobileMenu",Oc),n.component("BDChatCloud",nm),n.component("IconAcademy",yf),n.component("IconArrowDown",bf),n.component("IconArrowUp",Ef),n.component("IconAttachment",cr),n.component("IconBold",Nl),n.component("IconBulletList",Il),n.component("IconCalendar",Wa),n.component("IconCalendar",Wa),n.component("IconCardView",Cf),n.component("IconCaretDown",Dl),n.component("IconCaretLeft",_l),n.component("IconCaretRight",Ll),n.component("IconCheck",Bo),n.component("IconClose",ws),n.component("IconDownloadImage",Ei),n.component("IconDownloadImage",Ei),n.component("IconEdit",Sf),n.component("IconError",xs),n.component("IconEyeShow",wf),n.component("IconEyeSlash",xf),n.component("IconFile",Rl),n.component("IconHyperlink",Pl),n.component("IconInfo",Ts),n.component("IconItalic",Bl),n.component("IconListView",Tf),n.component("IconMenu",Ci),n.component("IconMenu",Ci),n.component("IconOrderedList",$l),n.component("IconRemove",$o),n.component("IconUnderline",Fl),n.directive("vBDTooltip",_m)}};exports.BDAlert=kf;exports.BDArticle=Vf;exports.BDAttachmentPreviewList=Ws;exports.BDBadge=Rf;exports.BDButton=lt;exports.BDCard=zl;exports.BDChatCloud=nm;exports.BDCol=mf;exports.BDCollapsableCard=If;exports.BDContainer=gf;exports.BDDropdown=Mc;exports.BDDropdownItem=wi;exports.BDDropzone=Hf;exports.BDForm=Pf;exports.BDFormCheckbox=Ff;exports.BDFormInput=_f;exports.BDFormInvalidFeedback=As;exports.BDFormSelect=$f;exports.BDHeader=rm;exports.BDImageAttachmentPreviewList=Ks;exports.BDInputGroup=Lf;exports.BDLink=zr;exports.BDLogo=Vl;exports.BDMarkdownEditor=em;exports.BDMobileMenu=Oc;exports.BDModal=om;exports.BDPagination=Bf;exports.BDProfileImage=Fo;exports.BDRow=vf;exports.BDToast=Hl;exports.BDUser=tm;exports.BDZoomslider=Of;exports.IconAcademy=yf;exports.IconArrowDown=bf;exports.IconArrowUp=Ef;exports.IconAttachment=cr;exports.IconBold=Nl;exports.IconBulletList=Il;exports.IconCalendar=Wa;exports.IconCardView=Cf;exports.IconCaretDown=Dl;exports.IconCaretLeft=_l;exports.IconCaretRight=Ll;exports.IconCheck=Bo;exports.IconClose=ws;exports.IconDownloadImage=Ei;exports.IconEdit=Sf;exports.IconError=xs;exports.IconEyeShow=wf;exports.IconEyeSlash=xf;exports.IconFile=Rl;exports.IconHyperlink=Pl;exports.IconInfo=Ts;exports.IconItalic=Bl;exports.IconListView=Tf;exports.IconMenu=Ci;exports.IconOrderedList=$l;exports.IconRemove=$o;exports.IconUnderline=Fl;exports.default=Wx;exports.useModal=Hx;exports.useToaster=Ux;exports.vBdTooltip=_m;
|
|
131
|
+
*/const Tn=new Map,Ia={set(n,e,t){Tn.has(n)||Tn.set(n,new Map);const r=Tn.get(n);if(!r.has(e)&&r.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(r.keys())[0]}.`);return}r.set(e,t)},get(n,e){return Tn.has(n)&&Tn.get(n).get(e)||null},remove(n,e){if(!Tn.has(n))return;const t=Tn.get(n);t.delete(e),t.size===0&&Tn.delete(n)}},OS=1e6,MS=1e3,kl="transitionend",im=n=>(n&&window.CSS&&window.CSS.escape&&(n=n.replace(/#([^\s"#']+)/g,(e,t)=>`#${CSS.escape(t)}`)),n),NS=n=>n==null?`${n}`:Object.prototype.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase(),IS=n=>{do n+=Math.floor(Math.random()*OS);while(document.getElementById(n));return n},DS=n=>{if(!n)return 0;let{transitionDuration:e,transitionDelay:t}=window.getComputedStyle(n);const r=Number.parseFloat(e),o=Number.parseFloat(t);return!r&&!o?0:(e=e.split(",")[0],t=t.split(",")[0],(Number.parseFloat(e)+Number.parseFloat(t))*MS)},sm=n=>{n.dispatchEvent(new Event(kl))},vn=n=>!n||typeof n!="object"?!1:(typeof n.jquery<"u"&&(n=n[0]),typeof n.nodeType<"u"),$n=n=>vn(n)?n.jquery?n[0]:n:typeof n=="string"&&n.length>0?document.querySelector(im(n)):null,ro=n=>{if(!vn(n)||n.getClientRects().length===0)return!1;const e=getComputedStyle(n).getPropertyValue("visibility")==="visible",t=n.closest("details:not([open])");if(!t)return e;if(t!==n){const r=n.closest("summary");if(r&&r.parentNode!==t||r===null)return!1}return e},Fn=n=>!n||n.nodeType!==Node.ELEMENT_NODE||n.classList.contains("disabled")?!0:typeof n.disabled<"u"?n.disabled:n.hasAttribute("disabled")&&n.getAttribute("disabled")!=="false",am=n=>{if(!document.documentElement.attachShadow)return null;if(typeof n.getRootNode=="function"){const e=n.getRootNode();return e instanceof ShadowRoot?e:null}return n instanceof ShadowRoot?n:n.parentNode?am(n.parentNode):null},Es=()=>{},Wo=n=>{n.offsetHeight},lm=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Da=[],_S=n=>{document.readyState==="loading"?(Da.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of Da)e()}),Da.push(n)):n()},$t=()=>document.documentElement.dir==="rtl",Vt=n=>{_S(()=>{const e=lm();if(e){const t=n.NAME,r=e.fn[t];e.fn[t]=n.jQueryInterface,e.fn[t].Constructor=n,e.fn[t].noConflict=()=>(e.fn[t]=r,n.jQueryInterface)}})},yt=(n,e=[],t=n)=>typeof n=="function"?n(...e):t,cm=(n,e,t=!0)=>{if(!t){yt(n);return}const r=5,o=DS(e)+r;let i=!1;const s=({target:l})=>{l===e&&(i=!0,e.removeEventListener(kl,s),yt(n))};e.addEventListener(kl,s),setTimeout(()=>{i||sm(e)},o)},Nc=(n,e,t,r)=>{const o=n.length;let i=n.indexOf(e);return i===-1?!t&&r?n[o-1]:n[0]:(i+=t?1:-1,r&&(i=(i+o)%o),n[Math.max(0,Math.min(i,o-1))])},LS=/[^.]*(?=\..*)\.|.*/,RS=/\..*/,PS=/::\d+$/,_a={};let zd=1;const um={mouseenter:"mouseover",mouseleave:"mouseout"},BS=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function dm(n,e){return e&&`${e}::${zd++}`||n.uidEvent||zd++}function fm(n){const e=dm(n);return n.uidEvent=e,_a[e]=_a[e]||{},_a[e]}function $S(n,e){return function t(r){return Ic(r,{delegateTarget:n}),t.oneOff&&ne.off(n,r.type,e),e.apply(n,[r])}}function FS(n,e,t){return function r(o){const i=n.querySelectorAll(e);for(let{target:s}=o;s&&s!==this;s=s.parentNode)for(const l of i)if(l===s)return Ic(o,{delegateTarget:s}),r.oneOff&&ne.off(n,o.type,e,t),t.apply(s,[o])}}function hm(n,e,t=null){return Object.values(n).find(r=>r.callable===e&&r.delegationSelector===t)}function pm(n,e,t){const r=typeof e=="string",o=r?t:e||t;let i=mm(n);return BS.has(i)||(i=n),[r,o,i]}function Hd(n,e,t,r,o){if(typeof e!="string"||!n)return;let[i,s,l]=pm(e,t,r);e in um&&(s=(p=>function(g){if(!g.relatedTarget||g.relatedTarget!==g.delegateTarget&&!g.delegateTarget.contains(g.relatedTarget))return p.call(this,g)})(s));const a=fm(n),c=a[l]||(a[l]={}),u=hm(c,s,i?t:null);if(u){u.oneOff=u.oneOff&&o;return}const d=dm(s,e.replace(LS,"")),h=i?FS(n,t,s):$S(n,s);h.delegationSelector=i?t:null,h.callable=s,h.oneOff=o,h.uidEvent=d,c[d]=h,n.addEventListener(l,h,i)}function Al(n,e,t,r,o){const i=hm(e[t],r,o);i&&(n.removeEventListener(t,i,!!o),delete e[t][i.uidEvent])}function VS(n,e,t,r){const o=e[t]||{};for(const[i,s]of Object.entries(o))i.includes(r)&&Al(n,e,t,s.callable,s.delegationSelector)}function mm(n){return n=n.replace(RS,""),um[n]||n}const ne={on(n,e,t,r){Hd(n,e,t,r,!1)},one(n,e,t,r){Hd(n,e,t,r,!0)},off(n,e,t,r){if(typeof e!="string"||!n)return;const[o,i,s]=pm(e,t,r),l=s!==e,a=fm(n),c=a[s]||{},u=e.startsWith(".");if(typeof i<"u"){if(!Object.keys(c).length)return;Al(n,a,s,i,o?t:null);return}if(u)for(const d of Object.keys(a))VS(n,a,d,e.slice(1));for(const[d,h]of Object.entries(c)){const m=d.replace(PS,"");(!l||e.includes(m))&&Al(n,a,s,h.callable,h.delegationSelector)}},trigger(n,e,t){if(typeof e!="string"||!n)return null;const r=lm(),o=mm(e),i=e!==o;let s=null,l=!0,a=!0,c=!1;i&&r&&(s=r.Event(e,t),r(n).trigger(s),l=!s.isPropagationStopped(),a=!s.isImmediatePropagationStopped(),c=s.isDefaultPrevented());const u=Ic(new Event(e,{bubbles:l,cancelable:!0}),t);return c&&u.preventDefault(),a&&n.dispatchEvent(u),u.defaultPrevented&&s&&s.preventDefault(),u}};function Ic(n,e={}){for(const[t,r]of Object.entries(e))try{n[t]=r}catch{Object.defineProperty(n,t,{configurable:!0,get(){return r}})}return n}function Ud(n){if(n==="true")return!0;if(n==="false")return!1;if(n===Number(n).toString())return Number(n);if(n===""||n==="null")return null;if(typeof n!="string")return n;try{return JSON.parse(decodeURIComponent(n))}catch{return n}}function La(n){return n.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}const yn={setDataAttribute(n,e,t){n.setAttribute(`data-bs-${La(e)}`,t)},removeDataAttribute(n,e){n.removeAttribute(`data-bs-${La(e)}`)},getDataAttributes(n){if(!n)return{};const e={},t=Object.keys(n.dataset).filter(r=>r.startsWith("bs")&&!r.startsWith("bsConfig"));for(const r of t){let o=r.replace(/^bs/,"");o=o.charAt(0).toLowerCase()+o.slice(1,o.length),e[o]=Ud(n.dataset[r])}return e},getDataAttribute(n,e){return Ud(n.getAttribute(`data-bs-${La(e)}`))}};class Ko{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,t){const r=vn(t)?yn.getDataAttribute(t,"config"):{};return{...this.constructor.Default,...typeof r=="object"?r:{},...vn(t)?yn.getDataAttributes(t):{},...typeof e=="object"?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(const[r,o]of Object.entries(t)){const i=e[r],s=vn(i)?"element":NS(i);if(!new RegExp(o).test(s))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${r}" provided type "${s}" but expected type "${o}".`)}}}const zS="5.3.0";class Gt extends Ko{constructor(e,t){super(),e=$n(e),e&&(this._element=e,this._config=this._getConfig(t),Ia.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Ia.remove(this._element,this.constructor.DATA_KEY),ne.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,r=!0){cm(e,t,r)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return Ia.get($n(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,typeof t=="object"?t:null)}static get VERSION(){return zS}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}}const Ra=n=>{let e=n.getAttribute("data-bs-target");if(!e||e==="#"){let t=n.getAttribute("href");if(!t||!t.includes("#")&&!t.startsWith("."))return null;t.includes("#")&&!t.startsWith("#")&&(t=`#${t.split("#")[1]}`),e=t&&t!=="#"?t.trim():null}return im(e)},ye={find(n,e=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(e,n))},findOne(n,e=document.documentElement){return Element.prototype.querySelector.call(e,n)},children(n,e){return[].concat(...n.children).filter(t=>t.matches(e))},parents(n,e){const t=[];let r=n.parentNode.closest(e);for(;r;)t.push(r),r=r.parentNode.closest(e);return t},prev(n,e){let t=n.previousElementSibling;for(;t;){if(t.matches(e))return[t];t=t.previousElementSibling}return[]},next(n,e){let t=n.nextElementSibling;for(;t;){if(t.matches(e))return[t];t=t.nextElementSibling}return[]},focusableChildren(n){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(t=>`${t}:not([tabindex^="-"])`).join(",");return this.find(e,n).filter(t=>!Fn(t)&&ro(t))},getSelectorFromElement(n){const e=Ra(n);return e&&ye.findOne(e)?e:null},getElementFromSelector(n){const e=Ra(n);return e?ye.findOne(e):null},getMultipleElementsFromSelector(n){const e=Ra(n);return e?ye.find(e):[]}},Gs=(n,e="hide")=>{const t=`click.dismiss${n.EVENT_KEY}`,r=n.NAME;ne.on(document,t,`[data-bs-dismiss="${r}"]`,function(o){if(["A","AREA"].includes(this.tagName)&&o.preventDefault(),Fn(this))return;const i=ye.getElementFromSelector(this)||this.closest(`.${r}`);n.getOrCreateInstance(i)[e]()})},HS="alert",US="bs.alert",gm=`.${US}`,jS=`close${gm}`,WS=`closed${gm}`,KS="fade",GS="show";class Ys extends Gt{static get NAME(){return HS}close(){if(ne.trigger(this._element,jS).defaultPrevented)return;this._element.classList.remove(GS);const t=this._element.classList.contains(KS);this._queueCallback(()=>this._destroyElement(),this._element,t)}_destroyElement(){this._element.remove(),ne.trigger(this._element,WS),this.dispose()}static jQueryInterface(e){return this.each(function(){const t=Ys.getOrCreateInstance(this);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e](this)}})}}Gs(Ys,"close");Vt(Ys);const YS="button",JS="bs.button",ZS=`.${JS}`,XS=".data-api",QS="active",jd='[data-bs-toggle="button"]',qS=`click${ZS}${XS}`;class Js extends Gt{static get NAME(){return YS}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(QS))}static jQueryInterface(e){return this.each(function(){const t=Js.getOrCreateInstance(this);e==="toggle"&&t[e]()})}}ne.on(document,qS,jd,n=>{n.preventDefault();const e=n.target.closest(jd);Js.getOrCreateInstance(e).toggle()});Vt(Js);const e4="swipe",oo=".bs.swipe",t4=`touchstart${oo}`,n4=`touchmove${oo}`,r4=`touchend${oo}`,o4=`pointerdown${oo}`,i4=`pointerup${oo}`,s4="touch",a4="pen",l4="pointer-event",c4=40,u4={endCallback:null,leftCallback:null,rightCallback:null},d4={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Cs extends Ko{constructor(e,t){super(),this._element=e,!(!e||!Cs.isSupported())&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return u4}static get DefaultType(){return d4}static get NAME(){return e4}dispose(){ne.off(this._element,oo)}_start(e){if(!this._supportPointerEvents){this._deltaX=e.touches[0].clientX;return}this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX)}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),yt(this._config.endCallback)}_move(e){this._deltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this._deltaX}_handleSwipe(){const e=Math.abs(this._deltaX);if(e<=c4)return;const t=e/this._deltaX;this._deltaX=0,t&&yt(t>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(ne.on(this._element,o4,e=>this._start(e)),ne.on(this._element,i4,e=>this._end(e)),this._element.classList.add(l4)):(ne.on(this._element,t4,e=>this._start(e)),ne.on(this._element,n4,e=>this._move(e)),ne.on(this._element,r4,e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&(e.pointerType===a4||e.pointerType===s4)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const f4="carousel",h4="bs.carousel",Wn=`.${h4}`,vm=".data-api",p4="ArrowLeft",m4="ArrowRight",g4=500,so="next",Tr="prev",Dr="left",yi="right",v4=`slide${Wn}`,Pa=`slid${Wn}`,y4=`keydown${Wn}`,b4=`mouseenter${Wn}`,E4=`mouseleave${Wn}`,C4=`dragstart${Wn}`,S4=`load${Wn}${vm}`,w4=`click${Wn}${vm}`,ym="carousel",ai="active",x4="slide",T4="carousel-item-end",k4="carousel-item-start",A4="carousel-item-next",O4="carousel-item-prev",bm=".active",Em=".carousel-item",M4=bm+Em,N4=".carousel-item img",I4=".carousel-indicators",D4="[data-bs-slide], [data-bs-slide-to]",_4='[data-bs-ride="carousel"]',L4={[p4]:yi,[m4]:Dr},R4={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},P4={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Go extends Gt{constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=ye.findOne(I4,this._element),this._addEventListeners(),this._config.ride===ym&&this.cycle()}static get Default(){return R4}static get DefaultType(){return P4}static get NAME(){return f4}next(){this._slide(so)}nextWhenVisible(){!document.hidden&&ro(this._element)&&this.next()}prev(){this._slide(Tr)}pause(){this._isSliding&&sm(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding){ne.one(this._element,Pa,()=>this.cycle());return}this.cycle()}}to(e){const t=this._getItems();if(e>t.length-1||e<0)return;if(this._isSliding){ne.one(this._element,Pa,()=>this.to(e));return}const r=this._getItemIndex(this._getActive());if(r===e)return;const o=e>r?so:Tr;this._slide(o,t[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&ne.on(this._element,y4,e=>this._keydown(e)),this._config.pause==="hover"&&(ne.on(this._element,b4,()=>this.pause()),ne.on(this._element,E4,()=>this._maybeEnableCycle())),this._config.touch&&Cs.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const r of ye.find(N4,this._element))ne.on(r,C4,o=>o.preventDefault());const t={leftCallback:()=>this._slide(this._directionToOrder(Dr)),rightCallback:()=>this._slide(this._directionToOrder(yi)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),g4+this._config.interval))}};this._swipeHelper=new Cs(this._element,t)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=L4[e.key];t&&(e.preventDefault(),this._slide(this._directionToOrder(t)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){if(!this._indicatorsElement)return;const t=ye.findOne(bm,this._indicatorsElement);t.classList.remove(ai),t.removeAttribute("aria-current");const r=ye.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);r&&(r.classList.add(ai),r.setAttribute("aria-current","true"))}_updateInterval(){const e=this._activeElement||this._getActive();if(!e)return;const t=Number.parseInt(e.getAttribute("data-bs-interval"),10);this._config.interval=t||this._config.defaultInterval}_slide(e,t=null){if(this._isSliding)return;const r=this._getActive(),o=e===so,i=t||Nc(this._getItems(),r,o,this._config.wrap);if(i===r)return;const s=this._getItemIndex(i),l=m=>ne.trigger(this._element,m,{relatedTarget:i,direction:this._orderToDirection(e),from:this._getItemIndex(r),to:s});if(l(v4).defaultPrevented||!r||!i)return;const c=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(s),this._activeElement=i;const u=o?k4:T4,d=o?A4:O4;i.classList.add(d),Wo(i),r.classList.add(u),i.classList.add(u);const h=()=>{i.classList.remove(u,d),i.classList.add(ai),r.classList.remove(ai,d,u),this._isSliding=!1,l(Pa)};this._queueCallback(h,r,this._isAnimated()),c&&this.cycle()}_isAnimated(){return this._element.classList.contains(x4)}_getActive(){return ye.findOne(M4,this._element)}_getItems(){return ye.find(Em,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return $t()?e===Dr?Tr:so:e===Dr?so:Tr}_orderToDirection(e){return $t()?e===Tr?Dr:yi:e===Tr?yi:Dr}static jQueryInterface(e){return this.each(function(){const t=Go.getOrCreateInstance(this,e);if(typeof e=="number"){t.to(e);return}if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()}})}}ne.on(document,w4,D4,function(n){const e=ye.getElementFromSelector(this);if(!e||!e.classList.contains(ym))return;n.preventDefault();const t=Go.getOrCreateInstance(e),r=this.getAttribute("data-bs-slide-to");if(r){t.to(r),t._maybeEnableCycle();return}if(yn.getDataAttribute(this,"slide")==="next"){t.next(),t._maybeEnableCycle();return}t.prev(),t._maybeEnableCycle()});ne.on(window,S4,()=>{const n=ye.find(_4);for(const e of n)Go.getOrCreateInstance(e)});Vt(Go);const B4="collapse",$4="bs.collapse",Yo=`.${$4}`,F4=".data-api",V4=`show${Yo}`,z4=`shown${Yo}`,H4=`hide${Yo}`,U4=`hidden${Yo}`,j4=`click${Yo}${F4}`,Ba="show",Br="collapse",li="collapsing",W4="collapsed",K4=`:scope .${Br} .${Br}`,G4="collapse-horizontal",Y4="width",J4="height",Z4=".collapse.show, .collapse.collapsing",Ol='[data-bs-toggle="collapse"]',X4={parent:null,toggle:!0},Q4={parent:"(null|element)",toggle:"boolean"};class Po extends Gt{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const r=ye.find(Ol);for(const o of r){const i=ye.getSelectorFromElement(o),s=ye.find(i).filter(l=>l===this._element);i!==null&&s.length&&this._triggerArray.push(o)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return X4}static get DefaultType(){return Q4}static get NAME(){return B4}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(Z4).filter(l=>l!==this._element).map(l=>Po.getOrCreateInstance(l,{toggle:!1}))),e.length&&e[0]._isTransitioning||ne.trigger(this._element,V4).defaultPrevented)return;for(const l of e)l.hide();const r=this._getDimension();this._element.classList.remove(Br),this._element.classList.add(li),this._element.style[r]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const o=()=>{this._isTransitioning=!1,this._element.classList.remove(li),this._element.classList.add(Br,Ba),this._element.style[r]="",ne.trigger(this._element,z4)},s=`scroll${r[0].toUpperCase()+r.slice(1)}`;this._queueCallback(o,this._element,!0),this._element.style[r]=`${this._element[s]}px`}hide(){if(this._isTransitioning||!this._isShown()||ne.trigger(this._element,H4).defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,Wo(this._element),this._element.classList.add(li),this._element.classList.remove(Br,Ba);for(const o of this._triggerArray){const i=ye.getElementFromSelector(o);i&&!this._isShown(i)&&this._addAriaAndCollapsedClass([o],!1)}this._isTransitioning=!0;const r=()=>{this._isTransitioning=!1,this._element.classList.remove(li),this._element.classList.add(Br),ne.trigger(this._element,U4)};this._element.style[t]="",this._queueCallback(r,this._element,!0)}_isShown(e=this._element){return e.classList.contains(Ba)}_configAfterMerge(e){return e.toggle=!!e.toggle,e.parent=$n(e.parent),e}_getDimension(){return this._element.classList.contains(G4)?Y4:J4}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(Ol);for(const t of e){const r=ye.getElementFromSelector(t);r&&this._addAriaAndCollapsedClass([t],this._isShown(r))}}_getFirstLevelChildren(e){const t=ye.find(K4,this._config.parent);return ye.find(e,this._config.parent).filter(r=>!t.includes(r))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const r of e)r.classList.toggle(W4,!t),r.setAttribute("aria-expanded",t)}static jQueryInterface(e){const t={};return typeof e=="string"&&/show|hide/.test(e)&&(t.toggle=!1),this.each(function(){const r=Po.getOrCreateInstance(this,t);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e]()}})}}ne.on(document,j4,Ol,function(n){(n.target.tagName==="A"||n.delegateTarget&&n.delegateTarget.tagName==="A")&&n.preventDefault();for(const e of ye.getMultipleElementsFromSelector(this))Po.getOrCreateInstance(e,{toggle:!1}).toggle()});Vt(Po);const Wd="dropdown",q4="bs.dropdown",vr=`.${q4}`,Dc=".data-api",e7="Escape",Kd="Tab",t7="ArrowUp",Gd="ArrowDown",n7=2,r7=`hide${vr}`,o7=`hidden${vr}`,i7=`show${vr}`,s7=`shown${vr}`,Cm=`click${vr}${Dc}`,Sm=`keydown${vr}${Dc}`,a7=`keyup${vr}${Dc}`,_r="show",l7="dropup",c7="dropend",u7="dropstart",d7="dropup-center",f7="dropdown-center",tr='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',h7=`${tr}.${_r}`,bi=".dropdown-menu",p7=".navbar",m7=".navbar-nav",g7=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",v7=$t()?"top-end":"top-start",y7=$t()?"top-start":"top-end",b7=$t()?"bottom-end":"bottom-start",E7=$t()?"bottom-start":"bottom-end",C7=$t()?"left-start":"right-start",S7=$t()?"right-start":"left-start",w7="top",x7="bottom",T7={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},k7={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class rn extends Gt{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=ye.next(this._element,bi)[0]||ye.prev(this._element,bi)[0]||ye.findOne(bi,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return T7}static get DefaultType(){return k7}static get NAME(){return Wd}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Fn(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!ne.trigger(this._element,i7,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(m7))for(const r of[].concat(...document.body.children))ne.on(r,"mouseover",Es);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(_r),this._element.classList.add(_r),ne.trigger(this._element,s7,e)}}hide(){if(Fn(this._element)||!this._isShown())return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){if(!ne.trigger(this._element,r7,e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const r of[].concat(...document.body.children))ne.off(r,"mouseover",Es);this._popper&&this._popper.destroy(),this._menu.classList.remove(_r),this._element.classList.remove(_r),this._element.setAttribute("aria-expanded","false"),yn.removeDataAttribute(this._menu,"popper"),ne.trigger(this._element,o7,e)}}_getConfig(e){if(e=super._getConfig(e),typeof e.reference=="object"&&!vn(e.reference)&&typeof e.reference.getBoundingClientRect!="function")throw new TypeError(`${Wd.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(typeof Rp>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;this._config.reference==="parent"?e=this._parent:vn(this._config.reference)?e=$n(this._config.reference):typeof this._config.reference=="object"&&(e=this._config.reference);const t=this._getPopperConfig();this._popper=Us(e,this._menu,t)}_isShown(){return this._menu.classList.contains(_r)}_getPlacement(){const e=this._parent;if(e.classList.contains(c7))return C7;if(e.classList.contains(u7))return S7;if(e.classList.contains(d7))return w7;if(e.classList.contains(f7))return x7;const t=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return e.classList.contains(l7)?t?y7:v7:t?E7:b7}_detectNavbar(){return this._element.closest(p7)!==null}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(t=>Number.parseInt(t,10)):typeof e=="function"?t=>e(t,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(yn.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...yt(this._config.popperConfig,[e])}}_selectMenuItem({key:e,target:t}){const r=ye.find(g7,this._menu).filter(o=>ro(o));r.length&&Nc(r,t,e===Gd,!r.includes(t)).focus()}static jQueryInterface(e){return this.each(function(){const t=rn.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e]()}})}static clearMenus(e){if(e.button===n7||e.type==="keyup"&&e.key!==Kd)return;const t=ye.find(h7);for(const r of t){const o=rn.getInstance(r);if(!o||o._config.autoClose===!1)continue;const i=e.composedPath(),s=i.includes(o._menu);if(i.includes(o._element)||o._config.autoClose==="inside"&&!s||o._config.autoClose==="outside"&&s||o._menu.contains(e.target)&&(e.type==="keyup"&&e.key===Kd||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const l={relatedTarget:o._element};e.type==="click"&&(l.clickEvent=e),o._completeHide(l)}}static dataApiKeydownHandler(e){const t=/input|textarea/i.test(e.target.tagName),r=e.key===e7,o=[t7,Gd].includes(e.key);if(!o&&!r||t&&!r)return;e.preventDefault();const i=this.matches(tr)?this:ye.prev(this,tr)[0]||ye.next(this,tr)[0]||ye.findOne(tr,e.delegateTarget.parentNode),s=rn.getOrCreateInstance(i);if(o){e.stopPropagation(),s.show(),s._selectMenuItem(e);return}s._isShown()&&(e.stopPropagation(),s.hide(),i.focus())}}ne.on(document,Sm,tr,rn.dataApiKeydownHandler);ne.on(document,Sm,bi,rn.dataApiKeydownHandler);ne.on(document,Cm,rn.clearMenus);ne.on(document,a7,rn.clearMenus);ne.on(document,Cm,tr,function(n){n.preventDefault(),rn.getOrCreateInstance(this).toggle()});Vt(rn);const wm="backdrop",A7="fade",Yd="show",Jd=`mousedown.bs.${wm}`,O7={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},M7={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class xm extends Ko{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return O7}static get DefaultType(){return M7}static get NAME(){return wm}show(e){if(!this._config.isVisible){yt(e);return}this._append();const t=this._getElement();this._config.isAnimated&&Wo(t),t.classList.add(Yd),this._emulateAnimation(()=>{yt(e)})}hide(e){if(!this._config.isVisible){yt(e);return}this._getElement().classList.remove(Yd),this._emulateAnimation(()=>{this.dispose(),yt(e)})}dispose(){this._isAppended&&(ne.off(this._element,Jd),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add(A7),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=$n(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),ne.on(e,Jd,()=>{yt(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){cm(e,this._getElement(),this._config.isAnimated)}}const N7="focustrap",I7="bs.focustrap",Ss=`.${I7}`,D7=`focusin${Ss}`,_7=`keydown.tab${Ss}`,L7="Tab",R7="forward",Zd="backward",P7={autofocus:!0,trapElement:null},B7={autofocus:"boolean",trapElement:"element"};class Tm extends Ko{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return P7}static get DefaultType(){return B7}static get NAME(){return N7}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),ne.off(document,Ss),ne.on(document,D7,e=>this._handleFocusin(e)),ne.on(document,_7,e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,ne.off(document,Ss))}_handleFocusin(e){const{trapElement:t}=this._config;if(e.target===document||e.target===t||t.contains(e.target))return;const r=ye.focusableChildren(t);r.length===0?t.focus():this._lastTabNavDirection===Zd?r[r.length-1].focus():r[0].focus()}_handleKeydown(e){e.key===L7&&(this._lastTabNavDirection=e.shiftKey?Zd:R7)}}const Xd=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Qd=".sticky-top",ci="padding-right",qd="margin-right";class Ml{constructor(){this._element=document.body}getWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,ci,t=>t+e),this._setElementAttributes(Xd,ci,t=>t+e),this._setElementAttributes(Qd,qd,t=>t-e)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,ci),this._resetElementAttributes(Xd,ci),this._resetElementAttributes(Qd,qd)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,r){const o=this.getWidth(),i=s=>{if(s!==this._element&&window.innerWidth>s.clientWidth+o)return;this._saveInitialAttribute(s,t);const l=window.getComputedStyle(s).getPropertyValue(t);s.style.setProperty(t,`${r(Number.parseFloat(l))}px`)};this._applyManipulationCallback(e,i)}_saveInitialAttribute(e,t){const r=e.style.getPropertyValue(t);r&&yn.setDataAttribute(e,t,r)}_resetElementAttributes(e,t){const r=o=>{const i=yn.getDataAttribute(o,t);if(i===null){o.style.removeProperty(t);return}yn.removeDataAttribute(o,t),o.style.setProperty(t,i)};this._applyManipulationCallback(e,r)}_applyManipulationCallback(e,t){if(vn(e)){t(e);return}for(const r of ye.find(e,this._element))t(r)}}const $7="modal",F7="bs.modal",Ft=`.${F7}`,V7=".data-api",z7="Escape",H7=`hide${Ft}`,U7=`hidePrevented${Ft}`,km=`hidden${Ft}`,Am=`show${Ft}`,j7=`shown${Ft}`,W7=`resize${Ft}`,K7=`click.dismiss${Ft}`,G7=`mousedown.dismiss${Ft}`,Y7=`keydown.dismiss${Ft}`,J7=`click${Ft}${V7}`,ef="modal-open",Z7="fade",tf="show",$a="modal-static",X7=".modal.show",Q7=".modal-dialog",q7=".modal-body",ew='[data-bs-toggle="modal"]',tw={backdrop:!0,focus:!0,keyboard:!0},nw={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class mr extends Gt{constructor(e,t){super(e,t),this._dialog=ye.findOne(Q7,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Ml,this._addEventListeners()}static get Default(){return tw}static get DefaultType(){return nw}static get NAME(){return $7}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||ne.trigger(this._element,Am,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(ef),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){!this._isShown||this._isTransitioning||ne.trigger(this._element,H7).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(tf),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){ne.off(window,Ft),ne.off(this._dialog,Ft),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new xm({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Tm({trapElement:this._element})}_showElement(e){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const t=ye.findOne(q7,this._dialog);t&&(t.scrollTop=0),Wo(this._element),this._element.classList.add(tf);const r=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,ne.trigger(this._element,j7,{relatedTarget:e})};this._queueCallback(r,this._dialog,this._isAnimated())}_addEventListeners(){ne.on(this._element,Y7,e=>{if(e.key===z7){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),ne.on(window,W7,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),ne.on(this._element,G7,e=>{ne.one(this._element,K7,t=>{if(!(this._element!==e.target||this._element!==t.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(ef),this._resetAdjustments(),this._scrollBar.reset(),ne.trigger(this._element,km)})}_isAnimated(){return this._element.classList.contains(Z7)}_triggerBackdropTransition(){if(ne.trigger(this._element,U7).defaultPrevented)return;const t=this._element.scrollHeight>document.documentElement.clientHeight,r=this._element.style.overflowY;r==="hidden"||this._element.classList.contains($a)||(t||(this._element.style.overflowY="hidden"),this._element.classList.add($a),this._queueCallback(()=>{this._element.classList.remove($a),this._queueCallback(()=>{this._element.style.overflowY=r},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),r=t>0;if(r&&!e){const o=$t()?"paddingLeft":"paddingRight";this._element.style[o]=`${t}px`}if(!r&&e){const o=$t()?"paddingRight":"paddingLeft";this._element.style[o]=`${t}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,t){return this.each(function(){const r=mr.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e](t)}})}}ne.on(document,J7,ew,function(n){const e=ye.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&n.preventDefault(),ne.one(e,Am,o=>{o.defaultPrevented||ne.one(e,km,()=>{ro(this)&&this.focus()})});const t=ye.findOne(X7);t&&mr.getInstance(t).hide(),mr.getOrCreateInstance(e).toggle(this)});Gs(mr);Vt(mr);const rw="offcanvas",ow="bs.offcanvas",En=`.${ow}`,Om=".data-api",iw=`load${En}${Om}`,sw="Escape",nf="show",rf="showing",of="hiding",aw="offcanvas-backdrop",Mm=".offcanvas.show",lw=`show${En}`,cw=`shown${En}`,uw=`hide${En}`,sf=`hidePrevented${En}`,Nm=`hidden${En}`,dw=`resize${En}`,fw=`click${En}${Om}`,hw=`keydown.dismiss${En}`,pw='[data-bs-toggle="offcanvas"]',mw={backdrop:!0,keyboard:!0,scroll:!1},gw={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Vn extends Gt{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return mw}static get DefaultType(){return gw}static get NAME(){return rw}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown||ne.trigger(this._element,lw,{relatedTarget:e}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new Ml().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(rf);const r=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(nf),this._element.classList.remove(rf),ne.trigger(this._element,cw,{relatedTarget:e})};this._queueCallback(r,this._element,!0)}hide(){if(!this._isShown||ne.trigger(this._element,uw).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(of),this._backdrop.hide();const t=()=>{this._element.classList.remove(nf,of),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new Ml().reset(),ne.trigger(this._element,Nm)};this._queueCallback(t,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=()=>{if(this._config.backdrop==="static"){ne.trigger(this._element,sf);return}this.hide()},t=!!this._config.backdrop;return new xm({className:aw,isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?e:null})}_initializeFocusTrap(){return new Tm({trapElement:this._element})}_addEventListeners(){ne.on(this._element,hw,e=>{if(e.key===sw){if(this._config.keyboard){this.hide();return}ne.trigger(this._element,sf)}})}static jQueryInterface(e){return this.each(function(){const t=Vn.getOrCreateInstance(this,e);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e](this)}})}}ne.on(document,fw,pw,function(n){const e=ye.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),Fn(this))return;ne.one(e,Nm,()=>{ro(this)&&this.focus()});const t=ye.findOne(Mm);t&&t!==e&&Vn.getInstance(t).hide(),Vn.getOrCreateInstance(e).toggle(this)});ne.on(window,iw,()=>{for(const n of ye.find(Mm))Vn.getOrCreateInstance(n).show()});ne.on(window,dw,()=>{for(const n of ye.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(n).position!=="fixed"&&Vn.getOrCreateInstance(n).hide()});Gs(Vn);Vt(Vn);const vw=/^aria-[\w-]*$/i,Im={"*":["class","dir","id","lang","role",vw],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},yw=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),bw=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Ew=(n,e)=>{const t=n.nodeName.toLowerCase();return e.includes(t)?yw.has(t)?!!bw.test(n.nodeValue):!0:e.filter(r=>r instanceof RegExp).some(r=>r.test(t))};function Cw(n,e,t){if(!n.length)return n;if(t&&typeof t=="function")return t(n);const o=new window.DOMParser().parseFromString(n,"text/html"),i=[].concat(...o.body.querySelectorAll("*"));for(const s of i){const l=s.nodeName.toLowerCase();if(!Object.keys(e).includes(l)){s.remove();continue}const a=[].concat(...s.attributes),c=[].concat(e["*"]||[],e[l]||[]);for(const u of a)Ew(u,c)||s.removeAttribute(u.nodeName)}return o.body.innerHTML}const Sw="TemplateFactory",ww={allowList:Im,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},xw={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Tw={entry:"(string|element|function|null)",selector:"(string|element)"};class kw extends Ko{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return ww}static get DefaultType(){return xw}static get NAME(){return Sw}getContent(){return Object.values(this._config.content).map(e=>this._resolvePossibleFunction(e)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){const e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(const[o,i]of Object.entries(this._config.content))this._setContent(e,i,o);const t=e.children[0],r=this._resolvePossibleFunction(this._config.extraClass);return r&&t.classList.add(...r.split(" ")),t}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[t,r]of Object.entries(e))super._typeCheckConfig({selector:t,entry:r},Tw)}_setContent(e,t,r){const o=ye.findOne(r,e);if(o){if(t=this._resolvePossibleFunction(t),!t){o.remove();return}if(vn(t)){this._putElementInTemplate($n(t),o);return}if(this._config.html){o.innerHTML=this._maybeSanitize(t);return}o.textContent=t}}_maybeSanitize(e){return this._config.sanitize?Cw(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return yt(e,[this])}_putElementInTemplate(e,t){if(this._config.html){t.innerHTML="",t.append(e);return}t.textContent=e.textContent}}const Aw="tooltip",Ow=new Set(["sanitize","allowList","sanitizeFn"]),Fa="fade",Mw="modal",ui="show",Nw=".tooltip-inner",af=`.${Mw}`,lf="hide.bs.modal",ao="hover",Va="focus",Iw="click",Dw="manual",_w="hide",Lw="hidden",Rw="show",Pw="shown",Bw="inserted",$w="click",Fw="focusin",Vw="focusout",zw="mouseenter",Hw="mouseleave",Uw={AUTO:"auto",TOP:"top",RIGHT:$t()?"left":"right",BOTTOM:"bottom",LEFT:$t()?"right":"left"},jw={allowList:Im,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},Ww={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class yr extends Gt{constructor(e,t){if(typeof Rp>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e,t),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return jw}static get DefaultType(){return Ww}static get NAME(){return Aw}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),ne.off(this._element.closest(af),lf,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;const e=ne.trigger(this._element,this.constructor.eventName(Rw)),r=(am(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!r)return;this._disposePopper();const o=this._getTipElement();this._element.setAttribute("aria-describedby",o.getAttribute("id"));const{container:i}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(i.append(o),ne.trigger(this._element,this.constructor.eventName(Bw))),this._popper=this._createPopper(o),o.classList.add(ui),"ontouchstart"in document.documentElement)for(const l of[].concat(...document.body.children))ne.on(l,"mouseover",Es);const s=()=>{ne.trigger(this._element,this.constructor.eventName(Pw)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(s,this.tip,this._isAnimated())}hide(){if(!this._isShown()||ne.trigger(this._element,this.constructor.eventName(_w)).defaultPrevented)return;if(this._getTipElement().classList.remove(ui),"ontouchstart"in document.documentElement)for(const o of[].concat(...document.body.children))ne.off(o,"mouseover",Es);this._activeTrigger[Iw]=!1,this._activeTrigger[Va]=!1,this._activeTrigger[ao]=!1,this._isHovered=null;const r=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),ne.trigger(this._element,this.constructor.eventName(Lw)))};this._queueCallback(r,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(e){const t=this._getTemplateFactory(e).toHtml();if(!t)return null;t.classList.remove(Fa,ui),t.classList.add(`bs-${this.constructor.NAME}-auto`);const r=IS(this.constructor.NAME).toString();return t.setAttribute("id",r),this._isAnimated()&&t.classList.add(Fa),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new kw({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[Nw]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Fa)}_isShown(){return this.tip&&this.tip.classList.contains(ui)}_createPopper(e){const t=yt(this._config.placement,[this,e,this._element]),r=Uw[t.toUpperCase()];return Us(this._element,e,this._getPopperConfig(r))}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(t=>Number.parseInt(t,10)):typeof e=="function"?t=>e(t,this._element):e}_resolvePossibleFunction(e){return yt(e,[this._element])}_getPopperConfig(e){const t={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:r=>{this._getTipElement().setAttribute("data-popper-placement",r.state.placement)}}]};return{...t,...yt(this._config.popperConfig,[t])}}_setListeners(){const e=this._config.trigger.split(" ");for(const t of e)if(t==="click")ne.on(this._element,this.constructor.eventName($w),this._config.selector,r=>{this._initializeOnDelegatedTarget(r).toggle()});else if(t!==Dw){const r=t===ao?this.constructor.eventName(zw):this.constructor.eventName(Fw),o=t===ao?this.constructor.eventName(Hw):this.constructor.eventName(Vw);ne.on(this._element,r,this._config.selector,i=>{const s=this._initializeOnDelegatedTarget(i);s._activeTrigger[i.type==="focusin"?Va:ao]=!0,s._enter()}),ne.on(this._element,o,this._config.selector,i=>{const s=this._initializeOnDelegatedTarget(i);s._activeTrigger[i.type==="focusout"?Va:ao]=s._element.contains(i.relatedTarget),s._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},ne.on(this._element.closest(af),lf,this._hideModalHandler)}_fixTitle(){const e=this._element.getAttribute("title");e&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",e),this._element.setAttribute("data-bs-original-title",e),this._element.removeAttribute("title"))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){const t=yn.getDataAttributes(this._element);for(const r of Object.keys(t))Ow.has(r)&&delete t[r];return e={...t,...typeof e=="object"&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=e.container===!1?document.body:$n(e.container),typeof e.delay=="number"&&(e.delay={show:e.delay,hide:e.delay}),typeof e.title=="number"&&(e.title=e.title.toString()),typeof e.content=="number"&&(e.content=e.content.toString()),e}_getDelegateConfig(){const e={};for(const[t,r]of Object.entries(this._config))this.constructor.Default[t]!==r&&(e[t]=r);return e.selector=!1,e.trigger="manual",e}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(e){return this.each(function(){const t=yr.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e]()}})}}Vt(yr);const Kw="popover",Gw=".popover-header",Yw=".popover-body",Jw={...yr.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},Zw={...yr.DefaultType,content:"(null|string|element|function)"};class _c extends yr{static get Default(){return Jw}static get DefaultType(){return Zw}static get NAME(){return Kw}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[Gw]:this._getTitle(),[Yw]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each(function(){const t=_c.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e]()}})}}Vt(_c);const Xw="scrollspy",Qw="bs.scrollspy",Lc=`.${Qw}`,qw=".data-api",ex=`activate${Lc}`,cf=`click${Lc}`,tx=`load${Lc}${qw}`,nx="dropdown-item",kr="active",rx='[data-bs-spy="scroll"]',za="[href]",ox=".nav, .list-group",uf=".nav-link",ix=".nav-item",sx=".list-group-item",ax=`${uf}, ${ix} > ${uf}, ${sx}`,lx=".dropdown",cx=".dropdown-toggle",ux={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},dx={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Zs extends Gt{constructor(e,t){super(e,t),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return ux}static get DefaultType(){return dx}static get NAME(){return Xw}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=$n(e.target)||document.body,e.rootMargin=e.offset?`${e.offset}px 0px -30%`:e.rootMargin,typeof e.threshold=="string"&&(e.threshold=e.threshold.split(",").map(t=>Number.parseFloat(t))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(ne.off(this._config.target,cf),ne.on(this._config.target,cf,za,e=>{const t=this._observableSections.get(e.target.hash);if(t){e.preventDefault();const r=this._rootElement||window,o=t.offsetTop-this._element.offsetTop;if(r.scrollTo){r.scrollTo({top:o,behavior:"smooth"});return}r.scrollTop=o}}))}_getNewObserver(){const e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(t=>this._observerCallback(t),e)}_observerCallback(e){const t=s=>this._targetLinks.get(`#${s.target.id}`),r=s=>{this._previousScrollData.visibleEntryTop=s.target.offsetTop,this._process(t(s))},o=(this._rootElement||document.documentElement).scrollTop,i=o>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=o;for(const s of e){if(!s.isIntersecting){this._activeTarget=null,this._clearActiveClass(t(s));continue}const l=s.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(i&&l){if(r(s),!o)return;continue}!i&&!l&&r(s)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=ye.find(za,this._config.target);for(const t of e){if(!t.hash||Fn(t))continue;const r=ye.findOne(decodeURI(t.hash),this._element);ro(r)&&(this._targetLinks.set(decodeURI(t.hash),t),this._observableSections.set(t.hash,r))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(kr),this._activateParents(e),ne.trigger(this._element,ex,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains(nx)){ye.findOne(cx,e.closest(lx)).classList.add(kr);return}for(const t of ye.parents(e,ox))for(const r of ye.prev(t,ax))r.classList.add(kr)}_clearActiveClass(e){e.classList.remove(kr);const t=ye.find(`${za}.${kr}`,e);for(const r of t)r.classList.remove(kr)}static jQueryInterface(e){return this.each(function(){const t=Zs.getOrCreateInstance(this,e);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()}})}}ne.on(window,tx,()=>{for(const n of ye.find(rx))Zs.getOrCreateInstance(n)});Vt(Zs);const fx="tab",hx="bs.tab",br=`.${hx}`,px=`hide${br}`,mx=`hidden${br}`,gx=`show${br}`,vx=`shown${br}`,yx=`click${br}`,bx=`keydown${br}`,Ex=`load${br}`,Cx="ArrowLeft",df="ArrowRight",Sx="ArrowUp",ff="ArrowDown",nr="active",hf="fade",Ha="show",wx="dropdown",xx=".dropdown-toggle",Tx=".dropdown-menu",Ua=":not(.dropdown-toggle)",kx='.list-group, .nav, [role="tablist"]',Ax=".nav-item, .list-group-item",Ox=`.nav-link${Ua}, .list-group-item${Ua}, [role="tab"]${Ua}`,Dm='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',ja=`${Ox}, ${Dm}`,Mx=`.${nr}[data-bs-toggle="tab"], .${nr}[data-bs-toggle="pill"], .${nr}[data-bs-toggle="list"]`;class qr extends Gt{constructor(e){super(e),this._parent=this._element.closest(kx),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),ne.on(this._element,bx,t=>this._keydown(t)))}static get NAME(){return fx}show(){const e=this._element;if(this._elemIsActive(e))return;const t=this._getActiveElem(),r=t?ne.trigger(t,px,{relatedTarget:e}):null;ne.trigger(e,gx,{relatedTarget:t}).defaultPrevented||r&&r.defaultPrevented||(this._deactivate(t,e),this._activate(e,t))}_activate(e,t){if(!e)return;e.classList.add(nr),this._activate(ye.getElementFromSelector(e));const r=()=>{if(e.getAttribute("role")!=="tab"){e.classList.add(Ha);return}e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),ne.trigger(e,vx,{relatedTarget:t})};this._queueCallback(r,e,e.classList.contains(hf))}_deactivate(e,t){if(!e)return;e.classList.remove(nr),e.blur(),this._deactivate(ye.getElementFromSelector(e));const r=()=>{if(e.getAttribute("role")!=="tab"){e.classList.remove(Ha);return}e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),ne.trigger(e,mx,{relatedTarget:t})};this._queueCallback(r,e,e.classList.contains(hf))}_keydown(e){if(![Cx,df,Sx,ff].includes(e.key))return;e.stopPropagation(),e.preventDefault();const t=[df,ff].includes(e.key),r=Nc(this._getChildren().filter(o=>!Fn(o)),e.target,t,!0);r&&(r.focus({preventScroll:!0}),qr.getOrCreateInstance(r).show())}_getChildren(){return ye.find(ja,this._parent)}_getActiveElem(){return this._getChildren().find(e=>this._elemIsActive(e))||null}_setInitialAttributes(e,t){this._setAttributeIfNotExists(e,"role","tablist");for(const r of t)this._setInitialAttributesOnChild(r)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);const t=this._elemIsActive(e),r=this._getOuterElement(e);e.setAttribute("aria-selected",t),r!==e&&this._setAttributeIfNotExists(r,"role","presentation"),t||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){const t=ye.getElementFromSelector(e);t&&(this._setAttributeIfNotExists(t,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(t,"aria-labelledby",`${e.id}`))}_toggleDropDown(e,t){const r=this._getOuterElement(e);if(!r.classList.contains(wx))return;const o=(i,s)=>{const l=ye.findOne(i,r);l&&l.classList.toggle(s,t)};o(xx,nr),o(Tx,Ha),r.setAttribute("aria-expanded",t)}_setAttributeIfNotExists(e,t,r){e.hasAttribute(t)||e.setAttribute(t,r)}_elemIsActive(e){return e.classList.contains(nr)}_getInnerElement(e){return e.matches(ja)?e:ye.findOne(ja,e)}_getOuterElement(e){return e.closest(Ax)||e}static jQueryInterface(e){return this.each(function(){const t=qr.getOrCreateInstance(this);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()}})}}ne.on(document,yx,Dm,function(n){["A","AREA"].includes(this.tagName)&&n.preventDefault(),!Fn(this)&&qr.getOrCreateInstance(this).show()});ne.on(window,Ex,()=>{for(const n of ye.find(Mx))qr.getOrCreateInstance(n)});Vt(qr);const Nx="toast",Ix="bs.toast",Kn=`.${Ix}`,Dx=`mouseover${Kn}`,_x=`mouseout${Kn}`,Lx=`focusin${Kn}`,Rx=`focusout${Kn}`,Px=`hide${Kn}`,Bx=`hidden${Kn}`,$x=`show${Kn}`,Fx=`shown${Kn}`,Vx="fade",pf="hide",di="show",fi="showing",zx={animation:"boolean",autohide:"boolean",delay:"number"},Hx={animation:!0,autohide:!0,delay:5e3};class Jo extends Gt{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Hx}static get DefaultType(){return zx}static get NAME(){return Nx}show(){if(ne.trigger(this._element,$x).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(Vx);const t=()=>{this._element.classList.remove(fi),ne.trigger(this._element,Fx),this._maybeScheduleHide()};this._element.classList.remove(pf),Wo(this._element),this._element.classList.add(di,fi),this._queueCallback(t,this._element,this._config.animation)}hide(){if(!this.isShown()||ne.trigger(this._element,Px).defaultPrevented)return;const t=()=>{this._element.classList.add(pf),this._element.classList.remove(fi,di),ne.trigger(this._element,Bx)};this._element.classList.add(fi),this._queueCallback(t,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(di),super.dispose()}isShown(){return this._element.classList.contains(di)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(e,t){switch(e.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=t;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=t;break}}if(t){this._clearTimeout();return}const r=e.relatedTarget;this._element===r||this._element.contains(r)||this._maybeScheduleHide()}_setListeners(){ne.on(this._element,Dx,e=>this._onInteraction(e,!0)),ne.on(this._element,_x,e=>this._onInteraction(e,!1)),ne.on(this._element,Lx,e=>this._onInteraction(e,!0)),ne.on(this._element,Rx,e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const t=Jo.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e](this)}})}}Gs(Jo);Vt(Jo);const Ux=n=>{const e=f.ref(null);return{showModal:()=>{const o=document.getElementById(n);o instanceof HTMLElement?(e.value||(e.value=new mr(o,{})),e.value.show()):console.error(`Modal '${n}' niet gevonden.`)},closeModal:()=>{e.value&&e.value.hide()}}};function jx(n=void 0){const e=l=>i("Succesvol",l,Lr.SUCCESS),t=l=>i("Waarschuwing",l,Lr.WARNING),r=l=>i("Informatie",l,Lr.INFO),o=l=>i("Mislukt",l,Lr.DANGER);function i(l,a,c){const u=`toast-${Nf()}`,d={id:u,show:!0,variant:c,title:l,text:a},h=document.querySelector(".toast-container"),m=f.h(Hl,d),g=f.createApp({render:()=>m}).mount(document.createElement("div"));h.appendChild(g.$el);const v=document.querySelector(`#${u}`),C=Jo.getOrCreateInstance(v,n);C&&(C.show(),s(v))}function s(l){function a(d,h){d.forEach(m=>{if(m.attributeName!="class")return;const p=m.target;if(p.classList.contains("hide")){p.remove(),h.disconnect();return}})}const c=new MutationObserver(a),u={attributes:!0};c.observe(l,u)}return{showSuccessToast:e,showInformationToast:r,showWarningToast:t,showDangerToast:o}}const _m={mounted:n=>{new yr(n)}},Wx={PRIMARY:"primary",SECONDARY:"secondary",COLLEAGUE:"colleague",DANGER:"danger",OUT_PRIMARY:"outline-primary",OUT_PRIMARY_DARK:"outline-primary-dark",OUT_TERTIARY:"outline-tertiary",OUT_LINK:"link",LIGHT:"light",DARK:"dark",REMOVE:"remove"},lt=f.defineComponent({__name:"BDButton",props:{size:{default:at.MD},variant:{default:Wx.PRIMARY},blockElement:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},to:{},target:{},text:{},rel:{}},emits:["click"],setup(n,{emit:e}){const t=n,r=f.computed(()=>({btn:!0,[`btn-${t.variant}`]:t.variant,[`btn-${t.size}`]:!0,"d-grid":t.blockElement&&typeof t.to=="string",[`${t.class}`]:t.class,disabled:t.disabled})),o=f.computed(()=>t.to?zr:"button"),i=f.computed(()=>{const l={};return t.to?(l.to=t.to,l.role="button"):l.type="submit",l}),s=()=>{e("click")};return(l,a)=>(f.openBlock(),f.createBlock(f.resolveDynamicComponent(o.value),f.mergeProps({class:["bd-btn",r.value]},i.value,{onClick:s}),{default:f.withCtx(()=>[f.renderSlot(l.$slots,"default",{},()=>[f.createTextVNode(f.toDisplayString(t.text),1)])]),_:3},16,["class"]))}}),Kx={install:n=>{n.component("BDCol",mf),n.component("BDContainer",gf),n.component("BDRow",vf),n.component("BDButton",lt),n.component("BDLogo",Vl),n.component("BDLink",zr),n.component("BDDropdownItem",wi),n.component("BDDropdown",Mc),n.component("BDAlert",kf),n.component("BDProfileImage",Fo),n.component("BDZoomslider",Of),n.component("BDCard",zl),n.component("BDCollapsableCard",If),n.component("BDFormInput",_f),n.component("BDInputGroup",Lf),n.component("BDFormInvalidFeedback",As),n.component("BDBadge",Rf),n.component("BDForm",Pf),n.component("BDPagination",Bf),n.component("BDDropzone",Hf),n.component("BDMarkdownEditor",em),n.component("BDModal",om),n.component("BDFormSelect",$f),n.component("BDUser",tm),n.component("BDArticle",Vf),n.component("BDFormCheckbox",Ff),n.component("BDToast",Hl),n.component("BDAttachmentPreviewList",Ws),n.component("BDImageAttachmentPreviewList",Ks),n.component("BDHeader",rm),n.component("BDMobileMenu",Oc),n.component("BDChatCloud",nm),n.component("IconAcademy",yf),n.component("IconArrowDown",bf),n.component("IconArrowUp",Ef),n.component("IconAttachment",cr),n.component("IconBold",Nl),n.component("IconBulletList",Il),n.component("IconCalendar",Wa),n.component("IconCalendar",Wa),n.component("IconCardView",Cf),n.component("IconCaretDown",Dl),n.component("IconCaretLeft",_l),n.component("IconCaretRight",Ll),n.component("IconCheck",Bo),n.component("IconClose",ws),n.component("IconDownloadImage",Ei),n.component("IconDownloadImage",Ei),n.component("IconEdit",Sf),n.component("IconError",xs),n.component("IconEyeShow",wf),n.component("IconEyeSlash",xf),n.component("IconFile",Rl),n.component("IconHyperlink",Pl),n.component("IconInfo",Ts),n.component("IconItalic",Bl),n.component("IconListView",Tf),n.component("IconMenu",Ci),n.component("IconMenu",Ci),n.component("IconOrderedList",$l),n.component("IconRemove",$o),n.component("IconUnderline",Fl),n.directive("vBDTooltip",_m)}};exports.BDAlert=kf;exports.BDArticle=Vf;exports.BDAttachmentPreviewList=Ws;exports.BDBadge=Rf;exports.BDButton=lt;exports.BDCard=zl;exports.BDChatCloud=nm;exports.BDCol=mf;exports.BDCollapsableCard=If;exports.BDContainer=gf;exports.BDDropdown=Mc;exports.BDDropdownItem=wi;exports.BDDropzone=Hf;exports.BDForm=Pf;exports.BDFormCheckbox=Ff;exports.BDFormInput=_f;exports.BDFormInvalidFeedback=As;exports.BDFormSelect=$f;exports.BDHeader=rm;exports.BDImageAttachmentPreviewList=Ks;exports.BDInputGroup=Lf;exports.BDLink=zr;exports.BDLogo=Vl;exports.BDMarkdownEditor=em;exports.BDMobileMenu=Oc;exports.BDModal=om;exports.BDPagination=Bf;exports.BDProfileImage=Fo;exports.BDRow=vf;exports.BDToast=Hl;exports.BDUser=tm;exports.BDZoomslider=Of;exports.IconAcademy=yf;exports.IconArrowDown=bf;exports.IconArrowUp=Ef;exports.IconAttachment=cr;exports.IconBold=Nl;exports.IconBulletList=Il;exports.IconCalendar=Wa;exports.IconCardView=Cf;exports.IconCaretDown=Dl;exports.IconCaretLeft=_l;exports.IconCaretRight=Ll;exports.IconCheck=Bo;exports.IconClose=ws;exports.IconDownloadImage=Ei;exports.IconEdit=Sf;exports.IconError=xs;exports.IconEyeShow=wf;exports.IconEyeSlash=xf;exports.IconFile=Rl;exports.IconHyperlink=Pl;exports.IconInfo=Ts;exports.IconItalic=Bl;exports.IconListView=Tf;exports.IconMenu=Ci;exports.IconOrderedList=$l;exports.IconRemove=$o;exports.IconUnderline=Fl;exports.default=Kx;exports.useModal=Ux;exports.useToaster=jx;exports.vBdTooltip=_m;
|