@beterdichtbij/component-library 0.45.1 → 0.45.3

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.
@@ -175,33 +175,33 @@ img.ProseMirror-separator {
175
175
  1. Must only contain digits, lowercase ASCII letters or "-"
176
176
  2. Cannot start or end with "-"
177
177
  3. "-" cannot repeat`);qe.customSchemes.push([n,e])}function eS(){qe.scanner=WT(qe.customSchemes);for(let n=0;n<qe.tokenQueue.length;n++)qe.tokenQueue[n][1]({scanner:qe.scanner});qe.parser=QT(qe.scanner.tokens);for(let n=0;n<qe.pluginQueue.length;n++)qe.pluginQueue[n][1]({scanner:qe.scanner,parser:qe.parser});qe.initialized=!0}function tS(n){return qe.initialized||eS(),ZT(qe.parser.start,n,KT(qe.scanner.start,n))}function pd(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 hd(t),o=tS(n),s=[];for(let i=0;i<o.length;i++){const l=o[i];l.isLink&&(!e||l.t===e)&&r.check(l)&&s.push(l.toFormattedObject(r))}return s}function nS(n){return new Ft({key:new gn("autolink"),appendTransaction:(e,t,r)=>{const o=e.some(u=>u.docChanged)&&!t.doc.eq(r.doc),s=e.some(u=>u.getMeta("preventAutolink"));if(!o||s)return;const{tr:i}=r,l=wA(t.doc,[...e]);if(OA(l).forEach(({newRange:u})=>{const d=SA(r.doc,u,p=>p.isTextblock);let f,h;if(d.length>1?(f=d[0],h=r.doc.textBetween(f.pos,f.pos+f.node.nodeSize,void 0," ")):d.length&&r.doc.textBetween(u.from,u.to," "," ").endsWith(" ")&&(f=d[0],h=r.doc.textBetween(f.pos,u.to,void 0," ")),f&&h){const p=h.split(" ").filter(v=>v!=="");if(p.length<=0)return!1;const m=p[p.length-1],g=f.pos+h.lastIndexOf(m);if(!m)return!1;pd(m).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=>{Gu(v.from,v.to,r.doc).some(C=>C.mark.type===n.type)||i.addMark(v.from,v.to,n.type.create({href:v.href}))})}}),!!i.steps.length)return i}})}function rS(n){return new Ft({key:new gn("handleClickLink"),props:{handleClick:(e,t,r)=>{var o,s;if(r.button!==0||r.target.nodeName!=="A")return!1;const l=b0(e.state,n.type.name),a=r.target,u=(o=a==null?void 0:a.href)!==null&&o!==void 0?o:l.href,d=(s=a==null?void 0:a.target)!==null&&s!==void 0?s:l.target;return a&&u?(e.editable&&window.open(u,d),!0):!1}}})}function oS(n){return new Ft({key:new gn("handlePasteLink"),props:{handlePaste:(e,t,r)=>{var o;const{state:s}=e,{selection:i}=s,{empty:l}=i;if(l)return!1;let a="";r.content.forEach(m=>{a+=m.textContent});const u=pd(a).find(m=>m.isLink&&m.value===a);if(!a||!u)return!1;const d=(o=t.clipboardData)===null||o===void 0?void 0:o.getData("text/html"),f=/href="([^"]*)"/,h=d==null?void 0:d.match(f),p=h?h[1]:u.href;return n.editor.commands.setMark(n.type,{href:p}),!0}}})}const sS=On.create({name:"link",priority:1e3,keepOnSplit:!1,onCreate(){this.options.protocols.forEach(n=>{if(typeof n=="string"){Oh(n);return}Oh(n.scheme,n.optionalSlashes)})},onDestroy(){qT()},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",Ot(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[Os({find:n=>pd(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"),s=/href="([^"]*)"/,i=o==null?void 0:o.match(s);return i?{href:i[1]}:{href:(r=n.data)===null||r===void 0?void 0:r.href}}})]},addProseMirrorPlugins(){const n=[];return this.options.autolink&&n.push(nS({type:this.type,validate:this.options.validate})),this.options.openOnClick&&n.push(rS({type:this.type})),this.options.linkOnPaste&&n.push(oS({editor:this.editor,type:this.type})),n}}),iS=sS.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})}}}}),aS=rn.create({name:"placeholder",addOptions(){return{emptyEditorClass:"is-editor-empty",emptyNodeClass:"is-empty",placeholder:"Write something …",showOnlyWhenEditable:!0,showOnlyCurrent:!0,includeChildren:!1}},addProseMirrorPlugins(){return[new Ft({key:new gn("placeholder"),props:{decorations:({doc:n,selection:e})=>{const t=this.editor.isEditable||!this.options.showOnlyWhenEditable,{anchor:r}=e,o=[];if(!t)return null;const s=n.type.createAndFill(),i=(s==null?void 0:s.sameMarkup(n))&&s.content.findDiffStart(n.content)===null;return n.descendants((l,a)=>{const u=r>=a&&r<=a+l.nodeSize,d=!l.isLeaf&&!l.childCount;if((u||!this.options.showOnlyCurrent)&&d){const f=[this.options.emptyNodeClass];i&&f.push(this.options.emptyEditorClass);const h=tn.node(a,a+l.nodeSize,{class:f.join(" "),"data-placeholder":typeof this.options.placeholder=="function"?this.options.placeholder({editor:this.editor,node:l,pos:a,hasAnchor:u}):this.options.placeholder});o.push(h)}return this.options.includeChildren}),it.create(n,o)}}})]}}),lS=/(?:^|\s)((?:\*\*)((?:[^*]+))(?:\*\*))$/,cS=/(?:^|\s)((?:\*\*)((?:[^*]+))(?:\*\*))/g,uS=/(?:^|\s)((?:__)((?:[^__]+))(?:__))$/,dS=/(?:^|\s)((?:__)((?:[^__]+))(?:__))/g,fS=On.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",Ot(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[Yi({find:lS,type:this.type}),Yi({find:uS,type:this.type})]},addPasteRules(){return[Os({find:cS,type:this.type}),Os({find:dS,type:this.type})]}}),hS=/(?:^|\s)((?:\*)((?:[^*]+))(?:\*))$/,pS=/(?:^|\s)((?:\*)((?:[^*]+))(?:\*))/g,mS=/(?:^|\s)((?:_)((?:[^_]+))(?:_))$/,gS=/(?:^|\s)((?:_)((?:[^_]+))(?:_))/g,vS=On.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",Ot(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[Yi({find:hS,type:this.type}),Yi({find:mS,type:this.type})]},addPasteRules(){return[Os({find:pS,type:this.type}),Os({find:gS,type:this.type})]}}),yS=On.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",Ot(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()}}}),ES=Gn.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:n}){return["li",Ot(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)}}}),CS=Gn.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:n}){return["li",Ot(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)}}}),Lh=On.create({name:"textStyle",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"span",getAttrs:n=>n.hasAttribute("style")?{}:!1}]},renderHTML({HTMLAttributes:n}){return["span",Ot(this.options.HTMLAttributes,n),0]},addCommands(){return{removeEmptyTextStyle:()=>({state:n,commands:e})=>{const t=Xa(n,this.type);return Object.entries(t).some(([,o])=>!!o)?!0:e.unsetMark(this.name)}}}}),Dh=/^\s*([-+*])\s$/,bS=Gn.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",Ot(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(CS.name,this.editor.getAttributes(Lh.name)).run():n.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-8":()=>this.editor.commands.toggleBulletList()}},addInputRules(){let n=Gi({find:Dh,type:this.type});return(this.options.keepMarks||this.options.keepAttributes)&&(n=Gi({find:Dh,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:()=>this.editor.getAttributes(Lh.name),editor:this.editor})),[n]}}),AS=Gn.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:n}){return["li",Ot(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)}}}),Rh=On.create({name:"textStyle",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"span",getAttrs:n=>n.hasAttribute("style")?{}:!1}]},renderHTML({HTMLAttributes:n}){return["span",Ot(this.options.HTMLAttributes,n),0]},addCommands(){return{removeEmptyTextStyle:()=>({state:n,commands:e})=>{const t=Xa(n,this.type);return Object.entries(t).some(([,o])=>!!o)?!0:e.unsetMark(this.name)}}}}),Bh=/^(\d+)\.\s$/,wS=Gn.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",Ot(this.options.HTMLAttributes,t),0]:["ol",Ot(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(AS.name,this.editor.getAttributes(Rh.name)).run():n.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-7":()=>this.editor.commands.toggleOrderedList()}},addInputRules(){let n=Gi({find:Bh,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=Gi({find:Bh,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:e=>({start:+e[1],...this.editor.getAttributes(Rh.name)}),joinPredicate:(e,t)=>t.childCount+t.attrs.start===+e[1],editor:this.editor})),[n]}}),TS=Gn.create({name:"hardBreak",addOptions(){return{keepMarks:!0,HTMLAttributes:{}}},inline:!0,group:"inline",selectable:!1,parseHTML(){return[{tag:"br"}]},renderHTML({HTMLAttributes:n}){return["br",Ot(this.options.HTMLAttributes,n)]},renderText(){return`
178
- `},addCommands(){return{setHardBreak:()=>({commands:n,chain:e,state:t,editor:r})=>n.first([()=>n.exitCode(),()=>n.command(()=>{const{selection:o,storedMarks:s}=t;if(o.$from.parent.type.spec.isolating)return!1;const{keepMarks:i}=this.options,{splittableMarks:l}=r.extensionManager,a=s||o.$to.parentOffset&&o.$from.marks();return e().insertContent({type:this.name}).command(({tr:u,dispatch:d})=>{if(d&&a&&i){const f=a.filter(h=>l.includes(h.type.name));u.ensureMarks(f)}return!0}).run()})])}},addKeyboardShortcuts(){return{"Mod-Enter":()=>this.editor.commands.setHardBreak(),"Shift-Enter":()=>this.editor.commands.setHardBreak()}}}),SS=n=>(c.pushScopeId("data-v-534ff769"),n=n(),c.popScopeId(),n),kS={class:"popover bd-link-input-popover show bd-link-input-bottom"},_S=SS(()=>c.createElementVNode("div",{class:"popover-header"},"Voeg een link toe",-1)),xS={class:"popover-body"},NS={class:"form-label"},IS=c.defineComponent({__name:"BDLinkInput",props:{previousUrl:{}},emits:["submit","cancel"],setup(n,{emit:e}){const t=n,r=c.ref(t.previousUrl??""),o=()=>e("submit",r.value),s=()=>e("cancel");return(i,l)=>(c.openBlock(),c.createElementBlock("div",kS,[_S,c.createElementVNode("div",xS,[c.createElementVNode("label",NS,[c.createTextVNode(" URL: "),c.withDirectives(c.createElementVNode("input",{"onUpdate:modelValue":l[0]||(l[0]=a=>r.value=a),type:"text",class:"form-control",placeholder:"https://www.example.com"},null,512),[[c.vModelText,r.value]])]),c.createElementVNode("div",{class:"d-flex gap-2 mt-2"},[c.createElementVNode("button",{type:"button",class:"btn btn-primary btn-sm",onClick:o}," Toevoegen "),c.createElementVNode("button",{type:"button",class:"btn btn-secondary btn-sm",onClick:s}," Annuleren ")])])]))}});const MS=Ee(IS,[["__scopeId","data-v-534ff769"]]),Zl={BASIC:"basic",FULL:"full"},OS={class:"attachment-list"},LS={class:"attachment-link"},DS={key:1,class:"attachment-no-download"},RS=["href"],ol=c.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)=>(c.openBlock(),c.createElementBlock("ul",OS,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(r.files,s=>(c.openBlock(),c.createElementBlock("li",{class:"attachment-list__item",key:s.CorrelationId},[c.createElementVNode("div",LS,[r.showDelete?(c.openBlock(),c.createBlock(Qe,{key:0,variant:"remove",onClick:i=>t(s),"aria-label":"verwijder"},{default:c.withCtx(()=>[c.createVNode(c.unref(zs))]),_:2},1032,["onClick"])):c.createCommentVNode("",!0),r.noDownload?(c.openBlock(),c.createElementBlock("div",DS,[c.createVNode(c.unref(Jr)),c.createTextVNode(" "+c.toDisplayString(s.Naam.trim()),1)])):(c.openBlock(),c.createElementBlock("a",{key:2,href:s.downloadUrl},[c.createVNode(c.unref(Jr)),c.createTextVNode(" "+c.toDisplayString(s.Naam.trim()),1)],8,RS))])]))),128))]))}}),BS={class:"attachment-list"},PS={class:"attachment"},FS=["onClick"],VS=["src","alt"],$S=["onClick"],US=["href"],zS={class:"btn btn-light download-button-image"},HS=["src","alt"],sl=c.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=s=>{e("delete",s)},o=(s,i)=>{s.target&&s.target.className==="img-preview"&&e("show",i)};return(s,i)=>(c.openBlock(),c.createElementBlock("ul",BS,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(s.files,l=>(c.openBlock(),c.createElementBlock("li",{class:"attachment-list__item",key:l.CorrelationId},[c.createElementVNode("div",PS,[s.showDelete?(c.openBlock(),c.createBlock(Qe,{key:0,variant:"remove","aria-label":"verwijder",onClick:c.withModifiers(a=>r(l),["prevent"])},{default:c.withCtx(()=>[c.createVNode(c.unref(zs))]),_:2},1032,["onClick"])):c.createCommentVNode("",!0),t.noDownload?(c.openBlock(),c.createElementBlock("div",{key:1,onClick:a=>o(a,l)},[c.createElementVNode("img",{src:l.previewUrl,class:"img-preview",alt:l.altName,loading:"lazy"},null,8,VS)],8,FS)):(c.openBlock(),c.createElementBlock("div",{key:2,onClick:a=>o(a,l)},[t.fastDownload?(c.openBlock(),c.createElementBlock("a",{key:0,href:l.downloadUrl,class:"download-link"},[c.createElementVNode("button",zS,[c.createVNode(c.unref(mu))])],8,US)):c.createCommentVNode("",!0),c.createElementVNode("img",{src:l.previewUrl,alt:l.altName,class:"img-preview",loading:"lazy"},null,8,HS)],8,$S))])]))),128))]))}}),Ph=n=>n.Naam.toLowerCase().endsWith(".png")||n.Naam.toLowerCase().endsWith(".jpg")||n.Naam.toLowerCase().endsWith(".jpeg")||n.Naam.toLowerCase().endsWith(".gif"),jS=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,WS=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,KS=n=>n.identifier?`/Collega/api/Conversation/GetConversationAttachment?conversationId=${n.conversationId}&fileMetadataId=${n.identifier}`:null,YS=(n,e)=>e?Ph(n):!Ph(n),_a=(n,e)=>n===void 0?void 0:n.filter(r=>YS(r,e)).map(r=>{const o=typeof r.CorrelationId=="string"?r.CorrelationId:r.CorrelationId!=null?r.CorrelationId.toString():"";return{downloadUrl:jS(r),previewUrl:WS(r),fullImageUrl:KS(r),altName:`${r.Naam}`,...r,CorrelationId:o}});/*!
178
+ `},addCommands(){return{setHardBreak:()=>({commands:n,chain:e,state:t,editor:r})=>n.first([()=>n.exitCode(),()=>n.command(()=>{const{selection:o,storedMarks:s}=t;if(o.$from.parent.type.spec.isolating)return!1;const{keepMarks:i}=this.options,{splittableMarks:l}=r.extensionManager,a=s||o.$to.parentOffset&&o.$from.marks();return e().insertContent({type:this.name}).command(({tr:u,dispatch:d})=>{if(d&&a&&i){const f=a.filter(h=>l.includes(h.type.name));u.ensureMarks(f)}return!0}).run()})])}},addKeyboardShortcuts(){return{"Mod-Enter":()=>this.editor.commands.setHardBreak(),"Shift-Enter":()=>this.editor.commands.setHardBreak()}}}),SS={class:"popover bd-link-input-popover show bd-link-input-bottom"},kS=c.createElementVNode("div",{class:"popover-header"},"Voeg een link toe",-1),_S={class:"popover-body"},xS={class:"form-label"},NS=c.defineComponent({__name:"BDLinkInput",props:{previousUrl:{}},emits:["submit","cancel"],setup(n,{emit:e}){const t=n,r=c.ref(t.previousUrl??""),o=()=>e("submit",r.value),s=()=>e("cancel");return(i,l)=>(c.openBlock(),c.createElementBlock("div",SS,[kS,c.createElementVNode("div",_S,[c.createElementVNode("label",xS,[c.createTextVNode(" URL: "),c.withDirectives(c.createElementVNode("input",{"onUpdate:modelValue":l[0]||(l[0]=a=>r.value=a),type:"text",class:"form-control",placeholder:"https://www.example.com"},null,512),[[c.vModelText,r.value]])]),c.createElementVNode("div",{class:"d-flex gap-2 mt-2"},[c.createElementVNode("button",{type:"button",class:"btn btn-primary btn-sm",onClick:o}," Toevoegen "),c.createElementVNode("button",{type:"button",class:"btn btn-secondary btn-sm",onClick:s}," Annuleren ")])])]))}}),Zl={BASIC:"basic",FULL:"full"},IS={class:"attachment-list"},MS={class:"attachment-link"},OS={key:1,class:"attachment-no-download"},LS=["href"],ol=c.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)=>(c.openBlock(),c.createElementBlock("ul",IS,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(r.files,s=>(c.openBlock(),c.createElementBlock("li",{class:"attachment-list__item",key:s.CorrelationId},[c.createElementVNode("div",MS,[r.showDelete?(c.openBlock(),c.createBlock(Qe,{key:0,variant:"remove",onClick:i=>t(s),"aria-label":"verwijder"},{default:c.withCtx(()=>[c.createVNode(c.unref(zs))]),_:2},1032,["onClick"])):c.createCommentVNode("",!0),r.noDownload?(c.openBlock(),c.createElementBlock("div",OS,[c.createVNode(c.unref(Jr)),c.createTextVNode(" "+c.toDisplayString(s.Naam.trim()),1)])):(c.openBlock(),c.createElementBlock("a",{key:2,href:s.downloadUrl},[c.createVNode(c.unref(Jr)),c.createTextVNode(" "+c.toDisplayString(s.Naam.trim()),1)],8,LS))])]))),128))]))}}),DS={class:"attachment-list"},RS={class:"attachment"},BS=["onClick"],PS=["src","alt"],FS=["onClick"],VS=["href"],$S={class:"btn btn-light download-button-image"},US=["src","alt"],sl=c.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=s=>{e("delete",s)},o=(s,i)=>{s.target&&s.target.className==="img-preview"&&e("show",i)};return(s,i)=>(c.openBlock(),c.createElementBlock("ul",DS,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(s.files,l=>(c.openBlock(),c.createElementBlock("li",{class:"attachment-list__item",key:l.CorrelationId},[c.createElementVNode("div",RS,[s.showDelete?(c.openBlock(),c.createBlock(Qe,{key:0,variant:"remove","aria-label":"verwijder",onClick:c.withModifiers(a=>r(l),["prevent"])},{default:c.withCtx(()=>[c.createVNode(c.unref(zs))]),_:2},1032,["onClick"])):c.createCommentVNode("",!0),t.noDownload?(c.openBlock(),c.createElementBlock("div",{key:1,onClick:a=>o(a,l)},[c.createElementVNode("img",{src:l.previewUrl,class:"img-preview",alt:l.altName,loading:"lazy"},null,8,PS)],8,BS)):(c.openBlock(),c.createElementBlock("div",{key:2,onClick:a=>o(a,l)},[t.fastDownload?(c.openBlock(),c.createElementBlock("a",{key:0,href:l.downloadUrl,class:"download-link"},[c.createElementVNode("button",$S,[c.createVNode(c.unref(mu))])],8,VS)):c.createCommentVNode("",!0),c.createElementVNode("img",{src:l.previewUrl,alt:l.altName,class:"img-preview",loading:"lazy"},null,8,US)],8,FS))])]))),128))]))}}),Ph=n=>n.Naam.toLowerCase().endsWith(".png")||n.Naam.toLowerCase().endsWith(".jpg")||n.Naam.toLowerCase().endsWith(".jpeg")||n.Naam.toLowerCase().endsWith(".gif"),zS=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,HS=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,jS=n=>n.identifier?`/Collega/api/Conversation/GetConversationAttachment?conversationId=${n.conversationId}&fileMetadataId=${n.identifier}`:null,WS=(n,e)=>e?Ph(n):!Ph(n),_a=(n,e)=>n===void 0?void 0:n.filter(r=>WS(r,e)).map(r=>{const o=typeof r.CorrelationId=="string"?r.CorrelationId:r.CorrelationId!=null?r.CorrelationId.toString():"";return{downloadUrl:zS(r),previewUrl:HS(r),fullImageUrl:jS(r),altName:`${r.Naam}`,...r,CorrelationId:o}});/*!
179
179
  * Bootstrap v5.3.0 (https://getbootstrap.com/)
180
180
  * Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
181
181
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
182
- */const tr=new Map,Jl={set(n,e,t){tr.has(n)||tr.set(n,new Map);const r=tr.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 tr.has(n)&&tr.get(n).get(e)||null},remove(n,e){if(!tr.has(n))return;const t=tr.get(n);t.delete(e),t.size===0&&tr.delete(n)}},GS=1e6,QS=1e3,Gc="transitionend",d2=n=>(n&&window.CSS&&window.CSS.escape&&(n=n.replace(/#([^\s"#']+)/g,(e,t)=>`#${CSS.escape(t)}`)),n),ZS=n=>n==null?`${n}`:Object.prototype.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase(),JS=n=>{do n+=Math.floor(Math.random()*GS);while(document.getElementById(n));return n},XS=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))*QS)},f2=n=>{n.dispatchEvent(new Event(Gc))},Wn=n=>!n||typeof n!="object"?!1:(typeof n.jquery<"u"&&(n=n[0]),typeof n.nodeType<"u"),gr=n=>Wn(n)?n.jquery?n[0]:n:typeof n=="string"&&n.length>0?document.querySelector(d2(n)):null,qo=n=>{if(!Wn(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},vr=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",h2=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?h2(n.parentNode):null},xa=()=>{},Gs=n=>{n.offsetHeight},p2=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Xl=[],qS=n=>{document.readyState==="loading"?(Xl.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of Xl)e()}),Xl.push(n)):n()},on=()=>document.documentElement.dir==="rtl",an=n=>{qS(()=>{const e=p2();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)}})},Bt=(n,e=[],t=n)=>typeof n=="function"?n(...e):t,m2=(n,e,t=!0)=>{if(!t){Bt(n);return}const r=5,o=XS(e)+r;let s=!1;const i=({target:l})=>{l===e&&(s=!0,e.removeEventListener(Gc,i),Bt(n))};e.addEventListener(Gc,i),setTimeout(()=>{s||f2(e)},o)},md=(n,e,t,r)=>{const o=n.length;let s=n.indexOf(e);return s===-1?!t&&r?n[o-1]:n[0]:(s+=t?1:-1,r&&(s=(s+o)%o),n[Math.max(0,Math.min(s,o-1))])},ek=/[^.]*(?=\..*)\.|.*/,tk=/\..*/,nk=/::\d+$/,ql={};let Fh=1;const g2={mouseenter:"mouseover",mouseleave:"mouseout"},rk=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 v2(n,e){return e&&`${e}::${Fh++}`||n.uidEvent||Fh++}function y2(n){const e=v2(n);return n.uidEvent=e,ql[e]=ql[e]||{},ql[e]}function ok(n,e){return function t(r){return gd(r,{delegateTarget:n}),t.oneOff&&le.off(n,r.type,e),e.apply(n,[r])}}function sk(n,e,t){return function r(o){const s=n.querySelectorAll(e);for(let{target:i}=o;i&&i!==this;i=i.parentNode)for(const l of s)if(l===i)return gd(o,{delegateTarget:i}),r.oneOff&&le.off(n,o.type,e,t),t.apply(i,[o])}}function E2(n,e,t=null){return Object.values(n).find(r=>r.callable===e&&r.delegationSelector===t)}function C2(n,e,t){const r=typeof e=="string",o=r?t:e||t;let s=b2(n);return rk.has(s)||(s=n),[r,o,s]}function Vh(n,e,t,r,o){if(typeof e!="string"||!n)return;let[s,i,l]=C2(e,t,r);e in g2&&(i=(m=>function(g){if(!g.relatedTarget||g.relatedTarget!==g.delegateTarget&&!g.delegateTarget.contains(g.relatedTarget))return m.call(this,g)})(i));const a=y2(n),u=a[l]||(a[l]={}),d=E2(u,i,s?t:null);if(d){d.oneOff=d.oneOff&&o;return}const f=v2(i,e.replace(ek,"")),h=s?sk(n,t,i):ok(n,i);h.delegationSelector=s?t:null,h.callable=i,h.oneOff=o,h.uidEvent=f,u[f]=h,n.addEventListener(l,h,s)}function Qc(n,e,t,r,o){const s=E2(e[t],r,o);s&&(n.removeEventListener(t,s,!!o),delete e[t][s.uidEvent])}function ik(n,e,t,r){const o=e[t]||{};for(const[s,i]of Object.entries(o))s.includes(r)&&Qc(n,e,t,i.callable,i.delegationSelector)}function b2(n){return n=n.replace(tk,""),g2[n]||n}const le={on(n,e,t,r){Vh(n,e,t,r,!1)},one(n,e,t,r){Vh(n,e,t,r,!0)},off(n,e,t,r){if(typeof e!="string"||!n)return;const[o,s,i]=C2(e,t,r),l=i!==e,a=y2(n),u=a[i]||{},d=e.startsWith(".");if(typeof s<"u"){if(!Object.keys(u).length)return;Qc(n,a,i,s,o?t:null);return}if(d)for(const f of Object.keys(a))ik(n,a,f,e.slice(1));for(const[f,h]of Object.entries(u)){const p=f.replace(nk,"");(!l||e.includes(p))&&Qc(n,a,i,h.callable,h.delegationSelector)}},trigger(n,e,t){if(typeof e!="string"||!n)return null;const r=p2(),o=b2(e),s=e!==o;let i=null,l=!0,a=!0,u=!1;s&&r&&(i=r.Event(e,t),r(n).trigger(i),l=!i.isPropagationStopped(),a=!i.isImmediatePropagationStopped(),u=i.isDefaultPrevented());const d=gd(new Event(e,{bubbles:l,cancelable:!0}),t);return u&&d.preventDefault(),a&&n.dispatchEvent(d),d.defaultPrevented&&i&&i.preventDefault(),d}};function gd(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 $h(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 ec(n){return n.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}const Kn={setDataAttribute(n,e,t){n.setAttribute(`data-bs-${ec(e)}`,t)},removeDataAttribute(n,e){n.removeAttribute(`data-bs-${ec(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]=$h(n.dataset[r])}return e},getDataAttribute(n,e){return $h(n.getAttribute(`data-bs-${ec(e)}`))}};class Qs{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=Wn(t)?Kn.getDataAttribute(t,"config"):{};return{...this.constructor.Default,...typeof r=="object"?r:{},...Wn(t)?Kn.getDataAttributes(t):{},...typeof e=="object"?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(const[r,o]of Object.entries(t)){const s=e[r],i=Wn(s)?"element":ZS(s);if(!new RegExp(o).test(i))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${r}" provided type "${i}" but expected type "${o}".`)}}}const ak="5.3.0";class vn extends Qs{constructor(e,t){super(),e=gr(e),e&&(this._element=e,this._config=this._getConfig(t),Jl.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Jl.remove(this._element,this.constructor.DATA_KEY),le.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,r=!0){m2(e,t,r)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return Jl.get(gr(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,typeof t=="object"?t:null)}static get VERSION(){return ak}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 tc=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 d2(e)},Ie={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=>!vr(t)&&qo(t))},getSelectorFromElement(n){const e=tc(n);return e&&Ie.findOne(e)?e:null},getElementFromSelector(n){const e=tc(n);return e?Ie.findOne(e):null},getMultipleElementsFromSelector(n){const e=tc(n);return e?Ie.find(e):[]}},il=(n,e="hide")=>{const t=`click.dismiss${n.EVENT_KEY}`,r=n.NAME;le.on(document,t,`[data-bs-dismiss="${r}"]`,function(o){if(["A","AREA"].includes(this.tagName)&&o.preventDefault(),vr(this))return;const s=Ie.getElementFromSelector(this)||this.closest(`.${r}`);n.getOrCreateInstance(s)[e]()})},lk="alert",ck="bs.alert",A2=`.${ck}`,uk=`close${A2}`,dk=`closed${A2}`,fk="fade",hk="show";class al extends vn{static get NAME(){return lk}close(){if(le.trigger(this._element,uk).defaultPrevented)return;this._element.classList.remove(hk);const t=this._element.classList.contains(fk);this._queueCallback(()=>this._destroyElement(),this._element,t)}_destroyElement(){this._element.remove(),le.trigger(this._element,dk),this.dispose()}static jQueryInterface(e){return this.each(function(){const t=al.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)}})}}il(al,"close");an(al);const pk="button",mk="bs.button",gk=`.${mk}`,vk=".data-api",yk="active",Uh='[data-bs-toggle="button"]',Ek=`click${gk}${vk}`;class ll extends vn{static get NAME(){return pk}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(yk))}static jQueryInterface(e){return this.each(function(){const t=ll.getOrCreateInstance(this);e==="toggle"&&t[e]()})}}le.on(document,Ek,Uh,n=>{n.preventDefault();const e=n.target.closest(Uh);ll.getOrCreateInstance(e).toggle()});an(ll);const Ck="swipe",es=".bs.swipe",bk=`touchstart${es}`,Ak=`touchmove${es}`,wk=`touchend${es}`,Tk=`pointerdown${es}`,Sk=`pointerup${es}`,kk="touch",_k="pen",xk="pointer-event",Nk=40,Ik={endCallback:null,leftCallback:null,rightCallback:null},Mk={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Na extends Qs{constructor(e,t){super(),this._element=e,!(!e||!Na.isSupported())&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return Ik}static get DefaultType(){return Mk}static get NAME(){return Ck}dispose(){le.off(this._element,es)}_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(),Bt(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<=Nk)return;const t=e/this._deltaX;this._deltaX=0,t&&Bt(t>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(le.on(this._element,Tk,e=>this._start(e)),le.on(this._element,Sk,e=>this._end(e)),this._element.classList.add(xk)):(le.on(this._element,bk,e=>this._start(e)),le.on(this._element,Ak,e=>this._move(e)),le.on(this._element,wk,e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&(e.pointerType===_k||e.pointerType===kk)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const Ok="carousel",Lk="bs.carousel",Tr=`.${Lk}`,w2=".data-api",Dk="ArrowLeft",Rk="ArrowRight",Bk=500,ss="next",mo="prev",Ao="left",ki="right",Pk=`slide${Tr}`,nc=`slid${Tr}`,Fk=`keydown${Tr}`,Vk=`mouseenter${Tr}`,$k=`mouseleave${Tr}`,Uk=`dragstart${Tr}`,zk=`load${Tr}${w2}`,Hk=`click${Tr}${w2}`,T2="carousel",hi="active",jk="slide",Wk="carousel-item-end",Kk="carousel-item-start",Yk="carousel-item-next",Gk="carousel-item-prev",S2=".active",k2=".carousel-item",Qk=S2+k2,Zk=".carousel-item img",Jk=".carousel-indicators",Xk="[data-bs-slide], [data-bs-slide-to]",qk='[data-bs-ride="carousel"]',e_={[Dk]:ki,[Rk]:Ao},t_={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},n_={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Zs extends vn{constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=Ie.findOne(Jk,this._element),this._addEventListeners(),this._config.ride===T2&&this.cycle()}static get Default(){return t_}static get DefaultType(){return n_}static get NAME(){return Ok}next(){this._slide(ss)}nextWhenVisible(){!document.hidden&&qo(this._element)&&this.next()}prev(){this._slide(mo)}pause(){this._isSliding&&f2(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){le.one(this._element,nc,()=>this.cycle());return}this.cycle()}}to(e){const t=this._getItems();if(e>t.length-1||e<0)return;if(this._isSliding){le.one(this._element,nc,()=>this.to(e));return}const r=this._getItemIndex(this._getActive());if(r===e)return;const o=e>r?ss:mo;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&&le.on(this._element,Fk,e=>this._keydown(e)),this._config.pause==="hover"&&(le.on(this._element,Vk,()=>this.pause()),le.on(this._element,$k,()=>this._maybeEnableCycle())),this._config.touch&&Na.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const r of Ie.find(Zk,this._element))le.on(r,Uk,o=>o.preventDefault());const t={leftCallback:()=>this._slide(this._directionToOrder(Ao)),rightCallback:()=>this._slide(this._directionToOrder(ki)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),Bk+this._config.interval))}};this._swipeHelper=new Na(this._element,t)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=e_[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=Ie.findOne(S2,this._indicatorsElement);t.classList.remove(hi),t.removeAttribute("aria-current");const r=Ie.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);r&&(r.classList.add(hi),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===ss,s=t||md(this._getItems(),r,o,this._config.wrap);if(s===r)return;const i=this._getItemIndex(s),l=p=>le.trigger(this._element,p,{relatedTarget:s,direction:this._orderToDirection(e),from:this._getItemIndex(r),to:i});if(l(Pk).defaultPrevented||!r||!s)return;const u=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(i),this._activeElement=s;const d=o?Kk:Wk,f=o?Yk:Gk;s.classList.add(f),Gs(s),r.classList.add(d),s.classList.add(d);const h=()=>{s.classList.remove(d,f),s.classList.add(hi),r.classList.remove(hi,f,d),this._isSliding=!1,l(nc)};this._queueCallback(h,r,this._isAnimated()),u&&this.cycle()}_isAnimated(){return this._element.classList.contains(jk)}_getActive(){return Ie.findOne(Qk,this._element)}_getItems(){return Ie.find(k2,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return on()?e===Ao?mo:ss:e===Ao?ss:mo}_orderToDirection(e){return on()?e===mo?Ao:ki:e===mo?ki:Ao}static jQueryInterface(e){return this.each(function(){const t=Zs.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]()}})}}le.on(document,Hk,Xk,function(n){const e=Ie.getElementFromSelector(this);if(!e||!e.classList.contains(T2))return;n.preventDefault();const t=Zs.getOrCreateInstance(e),r=this.getAttribute("data-bs-slide-to");if(r){t.to(r),t._maybeEnableCycle();return}if(Kn.getDataAttribute(this,"slide")==="next"){t.next(),t._maybeEnableCycle();return}t.prev(),t._maybeEnableCycle()});le.on(window,zk,()=>{const n=Ie.find(qk);for(const e of n)Zs.getOrCreateInstance(e)});an(Zs);const r_="collapse",o_="bs.collapse",Js=`.${o_}`,s_=".data-api",i_=`show${Js}`,a_=`shown${Js}`,l_=`hide${Js}`,c_=`hidden${Js}`,u_=`click${Js}${s_}`,rc="show",xo="collapse",pi="collapsing",d_="collapsed",f_=`:scope .${xo} .${xo}`,h_="collapse-horizontal",p_="width",m_="height",g_=".collapse.show, .collapse.collapsing",Zc='[data-bs-toggle="collapse"]',v_={parent:null,toggle:!0},y_={parent:"(null|element)",toggle:"boolean"};class Ps extends vn{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const r=Ie.find(Zc);for(const o of r){const s=Ie.getSelectorFromElement(o),i=Ie.find(s).filter(l=>l===this._element);s!==null&&i.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 v_}static get DefaultType(){return y_}static get NAME(){return r_}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(g_).filter(l=>l!==this._element).map(l=>Ps.getOrCreateInstance(l,{toggle:!1}))),e.length&&e[0]._isTransitioning||le.trigger(this._element,i_).defaultPrevented)return;for(const l of e)l.hide();const r=this._getDimension();this._element.classList.remove(xo),this._element.classList.add(pi),this._element.style[r]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const o=()=>{this._isTransitioning=!1,this._element.classList.remove(pi),this._element.classList.add(xo,rc),this._element.style[r]="",le.trigger(this._element,a_)},i=`scroll${r[0].toUpperCase()+r.slice(1)}`;this._queueCallback(o,this._element,!0),this._element.style[r]=`${this._element[i]}px`}hide(){if(this._isTransitioning||!this._isShown()||le.trigger(this._element,l_).defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,Gs(this._element),this._element.classList.add(pi),this._element.classList.remove(xo,rc);for(const o of this._triggerArray){const s=Ie.getElementFromSelector(o);s&&!this._isShown(s)&&this._addAriaAndCollapsedClass([o],!1)}this._isTransitioning=!0;const r=()=>{this._isTransitioning=!1,this._element.classList.remove(pi),this._element.classList.add(xo),le.trigger(this._element,c_)};this._element.style[t]="",this._queueCallback(r,this._element,!0)}_isShown(e=this._element){return e.classList.contains(rc)}_configAfterMerge(e){return e.toggle=!!e.toggle,e.parent=gr(e.parent),e}_getDimension(){return this._element.classList.contains(h_)?p_:m_}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(Zc);for(const t of e){const r=Ie.getElementFromSelector(t);r&&this._addAriaAndCollapsedClass([t],this._isShown(r))}}_getFirstLevelChildren(e){const t=Ie.find(f_,this._config.parent);return Ie.find(e,this._config.parent).filter(r=>!t.includes(r))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const r of e)r.classList.toggle(d_,!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=Ps.getOrCreateInstance(this,t);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e]()}})}}le.on(document,u_,Zc,function(n){(n.target.tagName==="A"||n.delegateTarget&&n.delegateTarget.tagName==="A")&&n.preventDefault();for(const e of Ie.getMultipleElementsFromSelector(this))Ps.getOrCreateInstance(e,{toggle:!1}).toggle()});an(Ps);const zh="dropdown",E_="bs.dropdown",ao=`.${E_}`,vd=".data-api",C_="Escape",Hh="Tab",b_="ArrowUp",jh="ArrowDown",A_=2,w_=`hide${ao}`,T_=`hidden${ao}`,S_=`show${ao}`,k_=`shown${ao}`,_2=`click${ao}${vd}`,x2=`keydown${ao}${vd}`,__=`keyup${ao}${vd}`,wo="show",x_="dropup",N_="dropend",I_="dropstart",M_="dropup-center",O_="dropdown-center",$r='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',L_=`${$r}.${wo}`,_i=".dropdown-menu",D_=".navbar",R_=".navbar-nav",B_=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",P_=on()?"top-end":"top-start",F_=on()?"top-start":"top-end",V_=on()?"bottom-end":"bottom-start",$_=on()?"bottom-start":"bottom-end",U_=on()?"left-start":"right-start",z_=on()?"right-start":"left-start",H_="top",j_="bottom",W_={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},K_={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class Nn extends vn{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=Ie.next(this._element,_i)[0]||Ie.prev(this._element,_i)[0]||Ie.findOne(_i,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return W_}static get DefaultType(){return K_}static get NAME(){return zh}toggle(){return this._isShown()?this.hide():this.show()}show(){if(vr(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!le.trigger(this._element,S_,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(R_))for(const r of[].concat(...document.body.children))le.on(r,"mouseover",xa);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(wo),this._element.classList.add(wo),le.trigger(this._element,k_,e)}}hide(){if(vr(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(!le.trigger(this._element,w_,e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const r of[].concat(...document.body.children))le.off(r,"mouseover",xa);this._popper&&this._popper.destroy(),this._menu.classList.remove(wo),this._element.classList.remove(wo),this._element.setAttribute("aria-expanded","false"),Kn.removeDataAttribute(this._menu,"popper"),le.trigger(this._element,T_,e)}}_getConfig(e){if(e=super._getConfig(e),typeof e.reference=="object"&&!Wn(e.reference)&&typeof e.reference.getBoundingClientRect!="function")throw new TypeError(`${zh.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(typeof K0>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;this._config.reference==="parent"?e=this._parent:Wn(this._config.reference)?e=gr(this._config.reference):typeof this._config.reference=="object"&&(e=this._config.reference);const t=this._getPopperConfig();this._popper=nl(e,this._menu,t)}_isShown(){return this._menu.classList.contains(wo)}_getPlacement(){const e=this._parent;if(e.classList.contains(N_))return U_;if(e.classList.contains(I_))return z_;if(e.classList.contains(M_))return H_;if(e.classList.contains(O_))return j_;const t=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return e.classList.contains(x_)?t?F_:P_:t?$_:V_}_detectNavbar(){return this._element.closest(D_)!==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")&&(Kn.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...Bt(this._config.popperConfig,[e])}}_selectMenuItem({key:e,target:t}){const r=Ie.find(B_,this._menu).filter(o=>qo(o));r.length&&md(r,t,e===jh,!r.includes(t)).focus()}static jQueryInterface(e){return this.each(function(){const t=Nn.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===A_||e.type==="keyup"&&e.key!==Hh)return;const t=Ie.find(L_);for(const r of t){const o=Nn.getInstance(r);if(!o||o._config.autoClose===!1)continue;const s=e.composedPath(),i=s.includes(o._menu);if(s.includes(o._element)||o._config.autoClose==="inside"&&!i||o._config.autoClose==="outside"&&i||o._menu.contains(e.target)&&(e.type==="keyup"&&e.key===Hh||/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===C_,o=[b_,jh].includes(e.key);if(!o&&!r||t&&!r)return;e.preventDefault();const s=this.matches($r)?this:Ie.prev(this,$r)[0]||Ie.next(this,$r)[0]||Ie.findOne($r,e.delegateTarget.parentNode),i=Nn.getOrCreateInstance(s);if(o){e.stopPropagation(),i.show(),i._selectMenuItem(e);return}i._isShown()&&(e.stopPropagation(),i.hide(),s.focus())}}le.on(document,x2,$r,Nn.dataApiKeydownHandler);le.on(document,x2,_i,Nn.dataApiKeydownHandler);le.on(document,_2,Nn.clearMenus);le.on(document,__,Nn.clearMenus);le.on(document,_2,$r,function(n){n.preventDefault(),Nn.getOrCreateInstance(this).toggle()});an(Nn);const N2="backdrop",Y_="fade",Wh="show",Kh=`mousedown.bs.${N2}`,G_={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Q_={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class I2 extends Qs{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return G_}static get DefaultType(){return Q_}static get NAME(){return N2}show(e){if(!this._config.isVisible){Bt(e);return}this._append();const t=this._getElement();this._config.isAnimated&&Gs(t),t.classList.add(Wh),this._emulateAnimation(()=>{Bt(e)})}hide(e){if(!this._config.isVisible){Bt(e);return}this._getElement().classList.remove(Wh),this._emulateAnimation(()=>{this.dispose(),Bt(e)})}dispose(){this._isAppended&&(le.off(this._element,Kh),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(Y_),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=gr(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),le.on(e,Kh,()=>{Bt(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){m2(e,this._getElement(),this._config.isAnimated)}}const Z_="focustrap",J_="bs.focustrap",Ia=`.${J_}`,X_=`focusin${Ia}`,q_=`keydown.tab${Ia}`,ex="Tab",tx="forward",Yh="backward",nx={autofocus:!0,trapElement:null},rx={autofocus:"boolean",trapElement:"element"};class M2 extends Qs{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return nx}static get DefaultType(){return rx}static get NAME(){return Z_}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),le.off(document,Ia),le.on(document,X_,e=>this._handleFocusin(e)),le.on(document,q_,e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,le.off(document,Ia))}_handleFocusin(e){const{trapElement:t}=this._config;if(e.target===document||e.target===t||t.contains(e.target))return;const r=Ie.focusableChildren(t);r.length===0?t.focus():this._lastTabNavDirection===Yh?r[r.length-1].focus():r[0].focus()}_handleKeydown(e){e.key===ex&&(this._lastTabNavDirection=e.shiftKey?Yh:tx)}}const Gh=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Qh=".sticky-top",mi="padding-right",Zh="margin-right";class Jc{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,mi,t=>t+e),this._setElementAttributes(Gh,mi,t=>t+e),this._setElementAttributes(Qh,Zh,t=>t-e)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,mi),this._resetElementAttributes(Gh,mi),this._resetElementAttributes(Qh,Zh)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,r){const o=this.getWidth(),s=i=>{if(i!==this._element&&window.innerWidth>i.clientWidth+o)return;this._saveInitialAttribute(i,t);const l=window.getComputedStyle(i).getPropertyValue(t);i.style.setProperty(t,`${r(Number.parseFloat(l))}px`)};this._applyManipulationCallback(e,s)}_saveInitialAttribute(e,t){const r=e.style.getPropertyValue(t);r&&Kn.setDataAttribute(e,t,r)}_resetElementAttributes(e,t){const r=o=>{const s=Kn.getDataAttribute(o,t);if(s===null){o.style.removeProperty(t);return}Kn.removeDataAttribute(o,t),o.style.setProperty(t,s)};this._applyManipulationCallback(e,r)}_applyManipulationCallback(e,t){if(Wn(e)){t(e);return}for(const r of Ie.find(e,this._element))t(r)}}const ox="modal",sx="bs.modal",sn=`.${sx}`,ix=".data-api",ax="Escape",lx=`hide${sn}`,cx=`hidePrevented${sn}`,O2=`hidden${sn}`,L2=`show${sn}`,ux=`shown${sn}`,dx=`resize${sn}`,fx=`click.dismiss${sn}`,hx=`mousedown.dismiss${sn}`,px=`keydown.dismiss${sn}`,mx=`click${sn}${ix}`,Jh="modal-open",gx="fade",Xh="show",oc="modal-static",vx=".modal.show",yx=".modal-dialog",Ex=".modal-body",Cx='[data-bs-toggle="modal"]',bx={backdrop:!0,focus:!0,keyboard:!0},Ax={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class yr extends vn{constructor(e,t){super(e,t),this._dialog=Ie.findOne(yx,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Jc,this._addEventListeners()}static get Default(){return bx}static get DefaultType(){return Ax}static get NAME(){return ox}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||le.trigger(this._element,L2,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Jh),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){!this._isShown||this._isTransitioning||le.trigger(this._element,lx).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Xh),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){le.off(window,sn),le.off(this._dialog,sn),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new I2({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new M2({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=Ie.findOne(Ex,this._dialog);t&&(t.scrollTop=0),Gs(this._element),this._element.classList.add(Xh);const r=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,le.trigger(this._element,ux,{relatedTarget:e})};this._queueCallback(r,this._dialog,this._isAnimated())}_addEventListeners(){le.on(this._element,px,e=>{if(e.key===ax){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),le.on(window,dx,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),le.on(this._element,hx,e=>{le.one(this._element,fx,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(Jh),this._resetAdjustments(),this._scrollBar.reset(),le.trigger(this._element,O2)})}_isAnimated(){return this._element.classList.contains(gx)}_triggerBackdropTransition(){if(le.trigger(this._element,cx).defaultPrevented)return;const t=this._element.scrollHeight>document.documentElement.clientHeight,r=this._element.style.overflowY;r==="hidden"||this._element.classList.contains(oc)||(t||(this._element.style.overflowY="hidden"),this._element.classList.add(oc),this._queueCallback(()=>{this._element.classList.remove(oc),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=on()?"paddingLeft":"paddingRight";this._element.style[o]=`${t}px`}if(!r&&e){const o=on()?"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=yr.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e](t)}})}}le.on(document,mx,Cx,function(n){const e=Ie.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&n.preventDefault(),le.one(e,L2,o=>{o.defaultPrevented||le.one(e,O2,()=>{qo(this)&&this.focus()})});const t=Ie.findOne(vx);t&&yr.getInstance(t).hide(),yr.getOrCreateInstance(e).toggle(this)});il(yr);an(yr);const wx="offcanvas",Tx="bs.offcanvas",Qn=`.${Tx}`,D2=".data-api",Sx=`load${Qn}${D2}`,kx="Escape",qh="show",ep="showing",tp="hiding",_x="offcanvas-backdrop",R2=".offcanvas.show",xx=`show${Qn}`,Nx=`shown${Qn}`,Ix=`hide${Qn}`,np=`hidePrevented${Qn}`,B2=`hidden${Qn}`,Mx=`resize${Qn}`,Ox=`click${Qn}${D2}`,Lx=`keydown.dismiss${Qn}`,Dx='[data-bs-toggle="offcanvas"]',Rx={backdrop:!0,keyboard:!0,scroll:!1},Bx={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Er extends vn{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Rx}static get DefaultType(){return Bx}static get NAME(){return wx}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown||le.trigger(this._element,xx,{relatedTarget:e}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new Jc().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(ep);const r=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(qh),this._element.classList.remove(ep),le.trigger(this._element,Nx,{relatedTarget:e})};this._queueCallback(r,this._element,!0)}hide(){if(!this._isShown||le.trigger(this._element,Ix).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(tp),this._backdrop.hide();const t=()=>{this._element.classList.remove(qh,tp),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new Jc().reset(),le.trigger(this._element,B2)};this._queueCallback(t,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=()=>{if(this._config.backdrop==="static"){le.trigger(this._element,np);return}this.hide()},t=!!this._config.backdrop;return new I2({className:_x,isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?e:null})}_initializeFocusTrap(){return new M2({trapElement:this._element})}_addEventListeners(){le.on(this._element,Lx,e=>{if(e.key===kx){if(this._config.keyboard){this.hide();return}le.trigger(this._element,np)}})}static jQueryInterface(e){return this.each(function(){const t=Er.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)}})}}le.on(document,Ox,Dx,function(n){const e=Ie.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),vr(this))return;le.one(e,B2,()=>{qo(this)&&this.focus()});const t=Ie.findOne(R2);t&&t!==e&&Er.getInstance(t).hide(),Er.getOrCreateInstance(e).toggle(this)});le.on(window,Sx,()=>{for(const n of Ie.find(R2))Er.getOrCreateInstance(n).show()});le.on(window,Mx,()=>{for(const n of Ie.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(n).position!=="fixed"&&Er.getOrCreateInstance(n).hide()});il(Er);an(Er);const Px=/^aria-[\w-]*$/i,P2={"*":["class","dir","id","lang","role",Px],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:[]},Fx=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Vx=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,$x=(n,e)=>{const t=n.nodeName.toLowerCase();return e.includes(t)?Fx.has(t)?!!Vx.test(n.nodeValue):!0:e.filter(r=>r instanceof RegExp).some(r=>r.test(t))};function Ux(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"),s=[].concat(...o.body.querySelectorAll("*"));for(const i of s){const l=i.nodeName.toLowerCase();if(!Object.keys(e).includes(l)){i.remove();continue}const a=[].concat(...i.attributes),u=[].concat(e["*"]||[],e[l]||[]);for(const d of a)$x(d,u)||i.removeAttribute(d.nodeName)}return o.body.innerHTML}const zx="TemplateFactory",Hx={allowList:P2,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},jx={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Wx={entry:"(string|element|function|null)",selector:"(string|element)"};class Kx extends Qs{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return Hx}static get DefaultType(){return jx}static get NAME(){return zx}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,s]of Object.entries(this._config.content))this._setContent(e,s,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},Wx)}_setContent(e,t,r){const o=Ie.findOne(r,e);if(o){if(t=this._resolvePossibleFunction(t),!t){o.remove();return}if(Wn(t)){this._putElementInTemplate(gr(t),o);return}if(this._config.html){o.innerHTML=this._maybeSanitize(t);return}o.textContent=t}}_maybeSanitize(e){return this._config.sanitize?Ux(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return Bt(e,[this])}_putElementInTemplate(e,t){if(this._config.html){t.innerHTML="",t.append(e);return}t.textContent=e.textContent}}const Yx="tooltip",Gx=new Set(["sanitize","allowList","sanitizeFn"]),sc="fade",Qx="modal",gi="show",Zx=".tooltip-inner",rp=`.${Qx}`,op="hide.bs.modal",is="hover",ic="focus",Jx="click",Xx="manual",qx="hide",eN="hidden",tN="show",nN="shown",rN="inserted",oN="click",sN="focusin",iN="focusout",aN="mouseenter",lN="mouseleave",cN={AUTO:"auto",TOP:"top",RIGHT:on()?"left":"right",BOTTOM:"bottom",LEFT:on()?"right":"left"},uN={allowList:P2,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"},dN={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 _n extends vn{constructor(e,t){if(typeof K0>"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 uN}static get DefaultType(){return dN}static get NAME(){return Yx}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),le.off(this._element.closest(rp),op,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=le.trigger(this._element,this.constructor.eventName(tN)),r=(h2(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:s}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(s.append(o),le.trigger(this._element,this.constructor.eventName(rN))),this._popper=this._createPopper(o),o.classList.add(gi),"ontouchstart"in document.documentElement)for(const l of[].concat(...document.body.children))le.on(l,"mouseover",xa);const i=()=>{le.trigger(this._element,this.constructor.eventName(nN)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(i,this.tip,this._isAnimated())}hide(){if(!this._isShown()||le.trigger(this._element,this.constructor.eventName(qx)).defaultPrevented)return;if(this._getTipElement().classList.remove(gi),"ontouchstart"in document.documentElement)for(const o of[].concat(...document.body.children))le.off(o,"mouseover",xa);this._activeTrigger[Jx]=!1,this._activeTrigger[ic]=!1,this._activeTrigger[is]=!1,this._isHovered=null;const r=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),le.trigger(this._element,this.constructor.eventName(eN)))};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(sc,gi),t.classList.add(`bs-${this.constructor.NAME}-auto`);const r=JS(this.constructor.NAME).toString();return t.setAttribute("id",r),this._isAnimated()&&t.classList.add(sc),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new Kx({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[Zx]: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(sc)}_isShown(){return this.tip&&this.tip.classList.contains(gi)}_createPopper(e){const t=Bt(this._config.placement,[this,e,this._element]),r=cN[t.toUpperCase()];return nl(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 Bt(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,...Bt(this._config.popperConfig,[t])}}_setListeners(){const e=this._config.trigger.split(" ");for(const t of e)if(t==="click")le.on(this._element,this.constructor.eventName(oN),this._config.selector,r=>{this._initializeOnDelegatedTarget(r).toggle()});else if(t!==Xx){const r=t===is?this.constructor.eventName(aN):this.constructor.eventName(sN),o=t===is?this.constructor.eventName(lN):this.constructor.eventName(iN);le.on(this._element,r,this._config.selector,s=>{const i=this._initializeOnDelegatedTarget(s);i._activeTrigger[s.type==="focusin"?ic:is]=!0,i._enter()}),le.on(this._element,o,this._config.selector,s=>{const i=this._initializeOnDelegatedTarget(s);i._activeTrigger[s.type==="focusout"?ic:is]=i._element.contains(s.relatedTarget),i._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},le.on(this._element.closest(rp),op,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=Kn.getDataAttributes(this._element);for(const r of Object.keys(t))Gx.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:gr(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=_n.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e]()}})}}an(_n);const fN="popover",hN=".popover-header",pN=".popover-body",mN={..._n.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"},gN={..._n.DefaultType,content:"(null|string|element|function)"};class Ur extends _n{static get Default(){return mN}static get DefaultType(){return gN}static get NAME(){return fN}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[hN]:this._getTitle(),[pN]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each(function(){const t=Ur.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e]()}})}}an(Ur);const vN="scrollspy",yN="bs.scrollspy",yd=`.${yN}`,EN=".data-api",CN=`activate${yd}`,sp=`click${yd}`,bN=`load${yd}${EN}`,AN="dropdown-item",go="active",wN='[data-bs-spy="scroll"]',ac="[href]",TN=".nav, .list-group",ip=".nav-link",SN=".nav-item",kN=".list-group-item",_N=`${ip}, ${SN} > ${ip}, ${kN}`,xN=".dropdown",NN=".dropdown-toggle",IN={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},MN={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class cl extends vn{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 IN}static get DefaultType(){return MN}static get NAME(){return vN}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=gr(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&&(le.off(this._config.target,sp),le.on(this._config.target,sp,ac,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=i=>this._targetLinks.get(`#${i.target.id}`),r=i=>{this._previousScrollData.visibleEntryTop=i.target.offsetTop,this._process(t(i))},o=(this._rootElement||document.documentElement).scrollTop,s=o>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=o;for(const i of e){if(!i.isIntersecting){this._activeTarget=null,this._clearActiveClass(t(i));continue}const l=i.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(s&&l){if(r(i),!o)return;continue}!s&&!l&&r(i)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=Ie.find(ac,this._config.target);for(const t of e){if(!t.hash||vr(t))continue;const r=Ie.findOne(decodeURI(t.hash),this._element);qo(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(go),this._activateParents(e),le.trigger(this._element,CN,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains(AN)){Ie.findOne(NN,e.closest(xN)).classList.add(go);return}for(const t of Ie.parents(e,TN))for(const r of Ie.prev(t,_N))r.classList.add(go)}_clearActiveClass(e){e.classList.remove(go);const t=Ie.find(`${ac}.${go}`,e);for(const r of t)r.classList.remove(go)}static jQueryInterface(e){return this.each(function(){const t=cl.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]()}})}}le.on(window,bN,()=>{for(const n of Ie.find(wN))cl.getOrCreateInstance(n)});an(cl);const ON="tab",LN="bs.tab",lo=`.${LN}`,DN=`hide${lo}`,RN=`hidden${lo}`,BN=`show${lo}`,PN=`shown${lo}`,FN=`click${lo}`,VN=`keydown${lo}`,$N=`load${lo}`,UN="ArrowLeft",ap="ArrowRight",zN="ArrowUp",lp="ArrowDown",zr="active",cp="fade",lc="show",HN="dropdown",jN=".dropdown-toggle",WN=".dropdown-menu",cc=":not(.dropdown-toggle)",KN='.list-group, .nav, [role="tablist"]',YN=".nav-item, .list-group-item",GN=`.nav-link${cc}, .list-group-item${cc}, [role="tab"]${cc}`,F2='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',uc=`${GN}, ${F2}`,QN=`.${zr}[data-bs-toggle="tab"], .${zr}[data-bs-toggle="pill"], .${zr}[data-bs-toggle="list"]`;class jo extends vn{constructor(e){super(e),this._parent=this._element.closest(KN),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),le.on(this._element,VN,t=>this._keydown(t)))}static get NAME(){return ON}show(){const e=this._element;if(this._elemIsActive(e))return;const t=this._getActiveElem(),r=t?le.trigger(t,DN,{relatedTarget:e}):null;le.trigger(e,BN,{relatedTarget:t}).defaultPrevented||r&&r.defaultPrevented||(this._deactivate(t,e),this._activate(e,t))}_activate(e,t){if(!e)return;e.classList.add(zr),this._activate(Ie.getElementFromSelector(e));const r=()=>{if(e.getAttribute("role")!=="tab"){e.classList.add(lc);return}e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),le.trigger(e,PN,{relatedTarget:t})};this._queueCallback(r,e,e.classList.contains(cp))}_deactivate(e,t){if(!e)return;e.classList.remove(zr),e.blur(),this._deactivate(Ie.getElementFromSelector(e));const r=()=>{if(e.getAttribute("role")!=="tab"){e.classList.remove(lc);return}e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),le.trigger(e,RN,{relatedTarget:t})};this._queueCallback(r,e,e.classList.contains(cp))}_keydown(e){if(![UN,ap,zN,lp].includes(e.key))return;e.stopPropagation(),e.preventDefault();const t=[ap,lp].includes(e.key),r=md(this._getChildren().filter(o=>!vr(o)),e.target,t,!0);r&&(r.focus({preventScroll:!0}),jo.getOrCreateInstance(r).show())}_getChildren(){return Ie.find(uc,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=Ie.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(HN))return;const o=(s,i)=>{const l=Ie.findOne(s,r);l&&l.classList.toggle(i,t)};o(jN,zr),o(WN,lc),r.setAttribute("aria-expanded",t)}_setAttributeIfNotExists(e,t,r){e.hasAttribute(t)||e.setAttribute(t,r)}_elemIsActive(e){return e.classList.contains(zr)}_getInnerElement(e){return e.matches(uc)?e:Ie.findOne(uc,e)}_getOuterElement(e){return e.closest(YN)||e}static jQueryInterface(e){return this.each(function(){const t=jo.getOrCreateInstance(this);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()}})}}le.on(document,FN,F2,function(n){["A","AREA"].includes(this.tagName)&&n.preventDefault(),!vr(this)&&jo.getOrCreateInstance(this).show()});le.on(window,$N,()=>{for(const n of Ie.find(QN))jo.getOrCreateInstance(n)});an(jo);const ZN="toast",JN="bs.toast",Sr=`.${JN}`,XN=`mouseover${Sr}`,qN=`mouseout${Sr}`,eI=`focusin${Sr}`,tI=`focusout${Sr}`,nI=`hide${Sr}`,rI=`hidden${Sr}`,oI=`show${Sr}`,sI=`shown${Sr}`,iI="fade",up="hide",vi="show",yi="showing",aI={animation:"boolean",autohide:"boolean",delay:"number"},lI={animation:!0,autohide:!0,delay:5e3};class ts extends vn{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return lI}static get DefaultType(){return aI}static get NAME(){return ZN}show(){if(le.trigger(this._element,oI).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(iI);const t=()=>{this._element.classList.remove(yi),le.trigger(this._element,sI),this._maybeScheduleHide()};this._element.classList.remove(up),Gs(this._element),this._element.classList.add(vi,yi),this._queueCallback(t,this._element,this._config.animation)}hide(){if(!this.isShown()||le.trigger(this._element,nI).defaultPrevented)return;const t=()=>{this._element.classList.add(up),this._element.classList.remove(yi,vi),le.trigger(this._element,rI)};this._element.classList.add(yi),this._queueCallback(t,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(vi),super.dispose()}isShown(){return this._element.classList.contains(vi)}_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(){le.on(this._element,XN,e=>this._onInteraction(e,!0)),le.on(this._element,qN,e=>this._onInteraction(e,!1)),le.on(this._element,eI,e=>this._onInteraction(e,!0)),le.on(this._element,tI,e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const t=ts.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e](this)}})}}il(ts);an(ts);function dp(n,e){return e.value||n.getAttribute("title")||""}const Xs={mounted:(n,e)=>{const t=dp(n,e);t&&n.setAttribute("title",t),new _n(n)},updated:(n,e)=>{const t=_n.getInstance(n);t&&t.dispose();const r=dp(n,e);r&&n.setAttribute("title",r),new _n(n)},unmounted:n=>{const e=_n.getInstance(n);e&&e.dispose()}},cI={key:0,class:"pills-list__wrapper"},uI={class:"pills-list__ul"},dI={class:"bd-markdown-editor__menu-bottom"},fI={key:0,class:"vr"},hI=c.defineComponent({__name:"BDMarkdownEditor",props:{placeholder:{default:"Typ een bericht"},errorText:{default:"er is iets fout gegaan"},state:{type:[Boolean,null],default:null},variant:{default:Zl.BASIC},files:{default:void 0},pills:{default:void 0},modelValue:{}},emits:["update:modelValue","upload","action"],setup(n,{emit:e}){const t=n,r=()=>{e("upload")},o=io(t,"modelValue",e),s=[DT,RT,BT,aS.configure({placeholder:t.placeholder}),TS,iS.configure({openOnClick:!1,validate:P=>/^(https?:\/\/|www\.)/i.test(P)})];t.variant===Zl.FULL&&s.push(fS,vS,yS,ES,bS,wS);const i=LT({content:o.value,extensions:s,onUpdate:({editor:P})=>{const{view:Y,state:G}=P,{from:K,to:H}=Y.state.selection;if(G.doc.textBetween(K-1,H,"")==" "&&P.getAttributes("link").href!=null&&P.chain().setTextSelection({from:K-1,to:H}).toggleLink({href:P.getAttributes("link").href}).setTextSelection({from:H,to:H}).run(),P.getText().trim()===""){e("update:modelValue","");return}e("update:modelValue",P.getHTML())}});c.watch(()=>t.modelValue,P=>{i.value.getHTML()!==P&&i.value.commands.setContent(P,!0,{preserveWhitespace:"full"})});const l=c.computed(()=>t.state===!1?"is-invalid":null),a=c.computed(()=>g("bold")),u=c.computed(()=>g("italic")),d=c.computed(()=>g("underline")),f=c.computed(()=>g("bulletList")),h=c.computed(()=>g("orderedList")),p=c.computed(()=>g("link")),m=c.computed(()=>t.variant===Zl.FULL),g=P=>i.value&&i.value.isActive(P)?"active":null,v=c.computed(()=>t.files&&t.files.length>0?_a(t.files,!1):null),C=c.computed(()=>t.files&&t.files.length>0?_a(t.files,!0):null),w=P=>{e("action",{name:"delete-attachment",obj:P})},E=P=>{e("action",{name:"image-attachment",obj:P})},y=c.computed(()=>{if(!i.value)return!1;const{from:P,to:Y}=i.value.state.selection;return P!==Y}),x=c.computed(()=>y.value?"Voeg een link toe":"Selecteer eerst tekst"),A=c.ref(!1),I=c.ref(""),B=c.ref(null),R=()=>{I.value=i.value.getAttributes("link").href||"",A.value=!0},U=P=>{if(A.value=!1,!P){i.value.chain().focus().unsetLink().run();return}/^www\./i.test(P)&&(P=`https://${P}`),i.value.chain().focus().toggleLink({href:P}).run()},$=()=>{A.value=!1};return(P,Y)=>(c.openBlock(),c.createElementBlock(c.Fragment,null,[c.createElementVNode("div",{class:c.normalizeClass(["bd-markdown-editor",l.value])},[c.createVNode(c.unref(OT),{editor:c.unref(i)},null,8,["editor"]),P.pills?(c.openBlock(),c.createElementBlock("div",cI,[c.createElementVNode("ul",uI,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(P.pills,(G,K)=>(c.openBlock(),c.createElementBlock("li",{key:K,class:"pills-list__li"},[c.createVNode($a,c.normalizeProps(c.guardReactiveProps(G)),null,16)]))),128))])])):c.createCommentVNode("",!0),c.renderSlot(P.$slots,"default",{},void 0,!0),v.value?(c.openBlock(),c.createBlock(ol,{key:1,files:v.value,"no-download":!0,"show-delete":!0,onDelete:w},null,8,["files"])):c.createCommentVNode("",!0),C.value?(c.openBlock(),c.createBlock(sl,{key:2,files:C.value,"no-download":!0,"show-delete":!0,onDelete:w,onShow:E},null,8,["files"])):c.createCommentVNode("",!0),c.createElementVNode("div",dI,[c.createVNode(Qe,{variant:"light",type:"button",onClick:r},{default:c.withCtx(()=>[c.createVNode(c.unref(Jr))]),_:1}),m.value?(c.openBlock(),c.createElementBlock("div",fI)):c.createCommentVNode("",!0),m.value?(c.openBlock(),c.createBlock(Qe,{key:1,variant:"light",type:"button",class:c.normalizeClass(a.value),onClick:Y[0]||(Y[0]=G=>c.unref(i).chain().focus().toggleBold().run())},{default:c.withCtx(()=>[c.createVNode(c.unref(cu))]),_:1},8,["class"])):c.createCommentVNode("",!0),m.value?(c.openBlock(),c.createBlock(Qe,{key:2,variant:"light",type:"button",class:c.normalizeClass(u.value),onClick:Y[1]||(Y[1]=G=>c.unref(i).chain().focus().toggleItalic().run())},{default:c.withCtx(()=>[c.createVNode(c.unref(vu))]),_:1},8,["class"])):c.createCommentVNode("",!0),m.value?(c.openBlock(),c.createBlock(Qe,{key:3,variant:"light",type:"button",class:c.normalizeClass(d.value),onClick:Y[2]||(Y[2]=G=>c.unref(i).chain().focus().toggleUnderline().run())},{default:c.withCtx(()=>[c.createVNode(c.unref(Tu))]),_:1},8,["class"])):c.createCommentVNode("",!0),m.value?(c.openBlock(),c.createBlock(Qe,{key:4,variant:"light",type:"button",class:c.normalizeClass(f.value),onClick:Y[3]||(Y[3]=G=>c.unref(i).chain().focus().toggleBulletList().run())},{default:c.withCtx(()=>[c.createVNode(c.unref(uu))]),_:1},8,["class"])):c.createCommentVNode("",!0),m.value?(c.openBlock(),c.createBlock(Qe,{key:5,variant:"light",type:"button",class:c.normalizeClass(h.value),onClick:Y[4]||(Y[4]=G=>c.unref(i).chain().focus().toggleOrderedList().run())},{default:c.withCtx(()=>[c.createVNode(c.unref(Eu))]),_:1},8,["class"])):c.createCommentVNode("",!0),c.withDirectives((c.openBlock(),c.createElementBlock("span",null,[m.value?(c.openBlock(),c.createBlock(Qe,{key:0,ref_key:"linkButton",ref:B,variant:"light",type:"button",class:c.normalizeClass(p.value),onClick:R,disabled:!y.value},{default:c.withCtx(()=>[c.createVNode(c.unref(Ba))]),_:1},8,["class","disabled"])):c.createCommentVNode("",!0)])),[[c.unref(Xs),x.value]])]),A.value?(c.openBlock(),c.createBlock(MS,{key:3,previousUrl:I.value,onSubmit:U,onCancel:$},null,8,["previousUrl"])):c.createCommentVNode("",!0)],2),c.createVNode(Va,{text:t.errorText,state:t.state},null,8,["text","state"])],64))}});const V2=Ee(hI,[["__scopeId","data-v-40a710e8"]]),pI={class:"header"},mI=c.createElementVNode("div",null,"Menu",-1),gI={class:"icon-close-wrapper"},vI={class:"navbar"},yI={class:"nav navbar-nav w-100"},EI={class:"nav-item"},CI={class:"nav-item"},Ed=c.defineComponent({__name:"BDMobileMenu",props:{active:{type:Boolean,default:void 0},options:{}},emits:["hide","signout"],setup(n,{emit:e}){const t=n,r=c.computed(()=>({active:t.active===!0,inactive:t.active===!1})),o=()=>e("hide"),s=()=>e("signout");return(i,l)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(["bd-mobile-menu",r.value])},[c.createElementVNode("div",pI,[mI,c.createElementVNode("div",gI,[c.createVNode(Da,{onClick:o})])]),c.createElementVNode("nav",vI,[c.createElementVNode("ul",yI,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(t.options,a=>(c.openBlock(),c.createElementBlock("li",EI,[c.createVNode(Zr,c.mergeProps({class:"nav-link"},a,{onClick:o}),null,16)]))),256)),c.renderSlot(i.$slots,"special-options"),c.createElementVNode("li",CI,[c.createVNode(Zr,{class:"nav-link",text:"Uitloggen",onClick:s})])])])],2))}}),bI={class:"bd-user"},AI={class:"bd-user__information"},wI={class:"text-break"},TI={class:"overflow-x-hidden"},$2=c.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=c.computed(()=>{var r;return typeof e.details=="string"?e.details:(r=e.details)==null?void 0:r.join(" • ")});return(r,o)=>(c.openBlock(),c.createElementBlock("div",bI,[e.hideImage?c.createCommentVNode("",!0):(c.openBlock(),c.createBlock(Hs,c.mergeProps({key:0},e.img,{size:"sm"}),null,16)),c.createElementVNode("div",AI,[c.createElementVNode("header",null,[c.createElementVNode("h5",wI,c.toDisplayString(e.name),1),c.renderSlot(r.$slots,"header-extra")]),c.createElementVNode("span",TI,c.toDisplayString(t.value),1)])]))}}),SI={class:"bd-chat-cloud-card"},kI={class:"bd-chat-cloud-card__header"},_I={class:"bd-chat-cloud-card__body"},xI=["innerHTML"],NI={class:"bd-chat-cloud-card__footer"},II={key:0,class:"pills-list__wrapper"},MI={class:"pills-list__ul"},U2=c.defineComponent({__name:"BDChatCloud",props:{headerTitle:{default:""},src:{default:void 0},username:{default:null},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=c.computed(()=>t.isSender?"sender":Fe),o=c.computed(()=>_a(t.files,!1)),s=c.computed(()=>_a(t.files,!0)),i=()=>{e("action","copy-message")},l=a=>{e("show-attachment",a)};return(a,u)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(["bd-chat-cloud",r.value])},[c.createVNode(Hs,{src:t.src,username:t.username,size:"sm"},null,8,["src","username"]),c.createElementVNode("div",SI,[c.createElementVNode("div",kI,[c.renderSlot(a.$slots,"header",{},()=>[c.createTextVNode(c.toDisplayString(a.headerTitle),1)]),c.createVNode(Qe,{variant:"outline-primary-dark",size:"sm",onClick:i},{default:c.withCtx(()=>[c.createTextVNode(" kopieer ")]),_:1})]),c.createElementVNode("div",_I,[c.renderSlot(a.$slots,"body",{},()=>[c.createElementVNode("div",{class:"bd-chat-cloud-card__message",innerHTML:t.message},null,8,xI)])]),c.createElementVNode("div",NI,[c.renderSlot(a.$slots,"footer",{},()=>[a.pills?(c.openBlock(),c.createElementBlock("div",II,[c.createElementVNode("ul",MI,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(a.pills,(d,f)=>(c.openBlock(),c.createElementBlock("li",{key:f,class:"pills-list__li"},[c.createVNode($a,c.normalizeProps(c.guardReactiveProps(d)),null,16)]))),128))])])):c.createCommentVNode("",!0),o.value&&o.value.length>0?(c.openBlock(),c.createBlock(ol,{key:1,files:o.value},null,8,["files"])):c.createCommentVNode("",!0),s.value&&s.value.length>0?(c.openBlock(),c.createBlock(sl,{key:2,"fast-download":!0,files:s.value,onShow:l},null,8,["files"])):c.createCommentVNode("",!0)])])])],2))}}),OI=c.defineComponent({__name:"BDTableSortHeader",props:["active","label","sortDesc"],emits:["sortAsc","sortDesc"],setup(n,{emit:e}){const t=n,r=c.ref(t.sortDesc),o=()=>{t.active&&(r.value=!r.value)},s=()=>{if(!t.active)return;const l=r.value?"sortDesc":"sortAsc";e(l)},i=c.computed(()=>({"bd-table-sort":!0,active:t.active}));return c.watch(()=>t.active,(l,a)=>{l&&!a&&(r.value=!1,e("sortAsc"))}),s(),(l,a)=>(c.openBlock(),c.createElementBlock("th",{class:c.normalizeClass(i.value),onClick:a[0]||(a[0]=u=>{o(),s()})},[c.createElementVNode("span",null,c.toDisplayString(t.label),1),t.active&&!r.value?(c.openBlock(),c.createBlock(c.unref(Cu),{key:0})):t.active&&r.value?(c.openBlock(),c.createBlock(c.unref(bu),{key:1})):(c.openBlock(),c.createBlock(c.unref(Au),{key:2}))],2))}}),LI={class:"bd-table"},DI={key:0,class:"table"},RI={key:1},BI=["onClick"],PI={key:0},FI={key:1,class:"empty-text"},z2=c.defineComponent({__name:"BDTable",props:["fields","items","sortBy","sortDesc","tbodyTrClass","emptyText"],emits:["row-click","sort-changed"],setup(n,{expose:e,emit:t}){const r=n,o=c.ref(r.items),s=c.ref(r.sortBy),i=f=>s.value=f,l=(f,h,p)=>{const m=h[f],g=p[f];if(m==null)return 1;if(g==null)return-1;const v=m.toString(),C=g.toString();return v.localeCompare(C,void 0,{numeric:!0})},a=f=>{o.value=o.value.sort((p,m)=>l(f,p,m)),t("sort-changed",{sortBy:f,sortDesc:!1})},u=f=>{o.value=o.value.sort((p,m)=>l(f,m,p)),t("sort-changed",{sortBy:f,sortDesc:!0})},d=()=>{o.value=r.items};return c.watch(()=>r.items,f=>{o.value=f}),e({Refresh:d}),(f,h)=>(c.openBlock(),c.createElementBlock("div",LI,[r.items&&r.items.length>0?(c.openBlock(),c.createElementBlock("table",DI,[c.createElementVNode("thead",null,[c.createElementVNode("tr",null,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(r.fields,p=>(c.openBlock(),c.createElementBlock(c.Fragment,null,[p.isVisible?(c.openBlock(),c.createElementBlock(c.Fragment,{key:0},[p.sortable?(c.openBlock(),c.createBlock(OI,{key:0,label:p.label,active:p.key==s.value,sortDesc:r.sortDesc,onClick:m=>i(p.key),onSortAsc:m=>a(p.key),onSortDesc:m=>u(p.key)},null,8,["label","active","sortDesc","onClick","onSortAsc","onSortDesc"])):(c.openBlock(),c.createElementBlock("th",RI,c.toDisplayString(p.label),1))],64)):c.createCommentVNode("",!0)],64))),256))])]),c.createElementVNode("tbody",null,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(o.value,p=>(c.openBlock(),c.createElementBlock("tr",{class:c.normalizeClass(r.tbodyTrClass&&r.tbodyTrClass(p)),onClick:m=>t("row-click",p)},[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(n.fields,m=>(c.openBlock(),c.createElementBlock(c.Fragment,null,[m.isVisible?(c.openBlock(),c.createElementBlock("td",PI,[f.$slots.hasOwnProperty(m.key)?c.renderSlot(f.$slots,m.key,{key:0,row:p,item:p,value:p[m.key]}):(c.openBlock(),c.createElementBlock(c.Fragment,{key:1},[c.createTextVNode(c.toDisplayString(p[m.key]),1)],64))])):c.createCommentVNode("",!0)],64))),256))],10,BI))),256))])])):(c.openBlock(),c.createElementBlock("p",FI,c.toDisplayString(r.emptyText),1))]))}}),VI=["id"],$I={key:0,class:"toast-body__title"},UI={class:"actions"},zI=["textContent"],HI=["textContent"],jI={class:"icon-wrapper"},WI=["textContent"],KI=["textContent"],fp=3e4,hp=5e3,H2=c.defineComponent({__name:"BDVideoCallToast",props:{id:{},contactInfoReceiver:{},isSender:{type:Boolean},firstNameSender:{},canceled:{type:Boolean},disabled:{type:Boolean},localization:{}},emits:["reject-video-call","accept-video-call"],setup(n,{emit:e}){const t=n;let r=c.ref(!1),o=c.ref(!1),s=null,i=null;const l=c.computed(()=>{let w="video-call-toast";return t.id&&(w+=`-${t.id}`),w}),a=c.computed(()=>r.value?[r.value?"is-handled":Fe,o.value?"is-handled--success":Fe,t.canceled?"is-handled--canceled":Fe].join(" "):Fe),u=c.computed(()=>t.canceled?t.localization.videoCallCanceled:o.value?t.localization.videoCallAccepted:t.localization.videoCallRejected),d=c.computed(()=>t.canceled?`${t.firstNameSender}${t.localization.notifyCallerWhenCanceled}`:t.isSender?t.contactInfoReceiver?`${t.contactInfoReceiver.name}${t.localization.notifyCallerWhenRejected}`:t.localization.notifyCallerWhenRejected:o.value?t.localization.openNewTabWhenAccepted:`${t.localization.notifyReceiverWhenRejected.start}${t.firstNameSender}${t.localization.notifyReceiverWhenRejected.end}`.replace(/\s\s+/g," "));c.watch(()=>t.canceled,()=>{r.value=!0});const f=()=>{const w=l.value,E=document.querySelector(`#${w}`);if(E){E.addEventListener("hide.bs.toast",C);var y={autohide:!0,delay:fp+hp};i=ts.getOrCreateInstance(E,y),i.show(),s=window.setTimeout(h,fp)}};c.onMounted(f);const h=()=>{r.value||m()},p=()=>{m(),v()},m=()=>{r.value||(r.value=!0,e("reject-video-call",t.id))},g=()=>{r.value=!0,o.value=!0,e("accept-video-call",t.id),v()},v=()=>{window.clearTimeout(s),window.setTimeout(()=>i.hide(),hp)},C=()=>{r.value=!1,o.value=!1};return(w,E)=>(c.openBlock(),c.createElementBlock("div",{id:l.value,class:"toast bd-video-call-toast",role:"alert","aria-live":"assertive","aria-atomic":"true"},[c.unref(r)?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",$I,c.toDisplayString(t.localization.incomingVideoCall),1)),c.createElementVNode("div",{class:c.normalizeClass(["toast-body__main",a.value])},[c.unref(r)?(c.openBlock(),c.createElementBlock(c.Fragment,{key:1},[c.createElementVNode("div",jI,[c.createVNode(Ii)]),c.createElementVNode("div",null,[c.createElementVNode("p",{textContent:c.toDisplayString(u.value),class:"title"},null,8,WI),c.createElementVNode("p",{textContent:c.toDisplayString(d.value)},null,8,KI)])],64)):(c.openBlock(),c.createElementBlock(c.Fragment,{key:0},[c.createVNode(_u,{value:w.contactInfoReceiver},null,8,["value"]),c.createElementVNode("div",UI,[c.createVNode(Qe,{variant:"danger",class:"text-center",onClick:p},{default:c.withCtx(()=>[c.createVNode(du),c.createElementVNode("span",{textContent:c.toDisplayString(t.localization.rejectVideoCall)},null,8,zI)]),_:1}),c.createVNode(Qe,{variant:"success",class:"text-center",onClick:g},{default:c.withCtx(()=>[c.createVNode(Ii),c.createElementVNode("span",{textContent:c.toDisplayString(t.localization.acceptVideoCall)},null,8,HI)]),_:1})])],64))],2)],8,VI))}}),Cd=c.defineComponent({__name:"BDDropdown",props:{size:{default:Tt.MD},variant:{default:Pa.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}=Qo(),r=`__BD__DROPDOWN__${t.value}`,o=c.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})),s=c.computed(()=>({"dropdown-menu-end":e.right,"dropdown-menu-action":e.actionToggle})),i=c.computed(()=>({"aria-labelledby":r})),l=c.ref(),a=c.ref(),u=()=>{l.value.classList.remove("show"),a.value.classList.remove("show"),a.value.removeAttribute("aria-expanded")};return(d,f)=>(c.openBlock(),c.createElementBlock("div",{class:"bd-dropdown dropdown",onClick:f[0]||(f[0]=c.withModifiers(()=>{},["stop"]))},[(c.openBlock(),c.createBlock(c.resolveDynamicComponent(e.toggleTag),c.mergeProps({ref_key:"dropdownToggle",ref:a,class:"dropdown-toggle",target:"_self",role:"button","data-bs-toggle":"dropdown"},o.value),{default:c.withCtx(()=>[c.createElementVNode("span",null,c.toDisplayString(e.text),1)]),_:1},16)),c.createElementVNode("ul",c.mergeProps({ref_key:"dropdownMenu",ref:l,class:["dropdown-menu",s.value]},i.value,{onClick:u}),[c.renderSlot(d.$slots,"default")],16)]))}}),YI={class:"row bd-header"},GI={class:"col logo-mix"},QI=["src","alt"],ZI=c.createElementVNode("div",null,"Menu",-1),JI={key:1,class:"col header-options"},XI={class:"col bd-btn-settings"},qI={key:2},bd=c.defineComponent({__name:"BDHeader",props:{isEmbedded:{type:Boolean},dropdownMenuTitle:{},dropdownOptions:{},headerOptions:{},profileImageSrc:{},profileImageAlt:{},organizationLogoSrc:{},organizationLogoAlt:{},hasLogoutOption:{type:Boolean,default:!0}},emits:["click-logo","signout"],setup(n,{emit:e}){const t=n,r=c.computed(()=>{let d=[];return t.isEmbedded||(t.headerOptions&&(d=d.concat(t.headerOptions)),t.dropdownOptions&&(d=d.concat(t.dropdownOptions))),d}),o=c.computed(()=>!t.isEmbedded&&t.headerOptions&&t.headerOptions.length!==0),s=c.ref(void 0),i=()=>{t.isEmbedded||e("click-logo")},l=()=>e("signout"),a=()=>s.value=!0,u=()=>s.value=!1;return(d,f)=>(c.openBlock(),c.createElementBlock(c.Fragment,null,[c.createElementVNode("nav",YI,[c.createElementVNode("div",GI,[c.createVNode(lu,{viewBox:"0 0 351 61",class:"logo bd-logo",onClick:i}),t.organizationLogoSrc?(c.openBlock(),c.createElementBlock("img",{key:0,class:"logo organization-logo",src:t.organizationLogoSrc,alt:t.organizationLogoAlt},null,8,QI)):c.createCommentVNode("",!0)]),t.isEmbedded?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",{key:0,class:"col bd-hamburger",onClick:a},[ZI,c.createVNode(yu)])),o.value?(c.openBlock(),c.createElementBlock("div",JI,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(t.headerOptions,h=>(c.openBlock(),c.createBlock(Qe,{class:"btn-header",to:h.to,variant:"neutral"},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(h.text),1)]),_:2},1032,["to"]))),256))])):c.createCommentVNode("",!0),c.createElementVNode("div",XI,[t.isEmbedded?c.createCommentVNode("",!0):c.renderSlot(d.$slots,"profile-side",{key:0}),t.profileImageSrc?(c.openBlock(),c.createBlock(Hs,{key:1,src:t.profileImageSrc,alt:t.profileImageAlt,size:"sm"},null,8,["src","alt"])):c.createCommentVNode("",!0),t.isEmbedded?(c.openBlock(),c.createElementBlock("span",qI,c.toDisplayString(t.dropdownMenuTitle),1)):c.createCommentVNode("",!0),t.isEmbedded?c.createCommentVNode("",!0):(c.openBlock(),c.createBlock(Cd,{key:3,text:t.dropdownMenuTitle,variant:"primary",toggleTag:"a",right:!0},{default:c.withCtx(()=>[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(t.dropdownOptions,(h,p)=>(c.openBlock(),c.createBlock(Oi,c.mergeProps({key:p},h),null,16))),128)),t.hasLogoutOption?(c.openBlock(),c.createBlock(Oi,{key:0,text:"Uitloggen",onClick:l})):c.createCommentVNode("",!0)]),_:1},8,["text"]))])]),t.isEmbedded?c.createCommentVNode("",!0):(c.openBlock(),c.createBlock(Ed,{key:0,active:s.value,options:r.value,onHide:u,onSignout:l},{"special-options":c.withCtx(()=>[c.renderSlot(d.$slots,"mobile-menu-special-options")]),_:3},8,["active","options"]))],64))}});/*!
182
+ */const tr=new Map,Jl={set(n,e,t){tr.has(n)||tr.set(n,new Map);const r=tr.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 tr.has(n)&&tr.get(n).get(e)||null},remove(n,e){if(!tr.has(n))return;const t=tr.get(n);t.delete(e),t.size===0&&tr.delete(n)}},KS=1e6,YS=1e3,Gc="transitionend",d2=n=>(n&&window.CSS&&window.CSS.escape&&(n=n.replace(/#([^\s"#']+)/g,(e,t)=>`#${CSS.escape(t)}`)),n),GS=n=>n==null?`${n}`:Object.prototype.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase(),QS=n=>{do n+=Math.floor(Math.random()*KS);while(document.getElementById(n));return n},ZS=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))*YS)},f2=n=>{n.dispatchEvent(new Event(Gc))},Wn=n=>!n||typeof n!="object"?!1:(typeof n.jquery<"u"&&(n=n[0]),typeof n.nodeType<"u"),gr=n=>Wn(n)?n.jquery?n[0]:n:typeof n=="string"&&n.length>0?document.querySelector(d2(n)):null,qo=n=>{if(!Wn(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},vr=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",h2=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?h2(n.parentNode):null},xa=()=>{},Gs=n=>{n.offsetHeight},p2=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Xl=[],JS=n=>{document.readyState==="loading"?(Xl.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of Xl)e()}),Xl.push(n)):n()},on=()=>document.documentElement.dir==="rtl",an=n=>{JS(()=>{const e=p2();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)}})},Bt=(n,e=[],t=n)=>typeof n=="function"?n(...e):t,m2=(n,e,t=!0)=>{if(!t){Bt(n);return}const r=5,o=ZS(e)+r;let s=!1;const i=({target:l})=>{l===e&&(s=!0,e.removeEventListener(Gc,i),Bt(n))};e.addEventListener(Gc,i),setTimeout(()=>{s||f2(e)},o)},md=(n,e,t,r)=>{const o=n.length;let s=n.indexOf(e);return s===-1?!t&&r?n[o-1]:n[0]:(s+=t?1:-1,r&&(s=(s+o)%o),n[Math.max(0,Math.min(s,o-1))])},XS=/[^.]*(?=\..*)\.|.*/,qS=/\..*/,ek=/::\d+$/,ql={};let Fh=1;const g2={mouseenter:"mouseover",mouseleave:"mouseout"},tk=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 v2(n,e){return e&&`${e}::${Fh++}`||n.uidEvent||Fh++}function y2(n){const e=v2(n);return n.uidEvent=e,ql[e]=ql[e]||{},ql[e]}function nk(n,e){return function t(r){return gd(r,{delegateTarget:n}),t.oneOff&&le.off(n,r.type,e),e.apply(n,[r])}}function rk(n,e,t){return function r(o){const s=n.querySelectorAll(e);for(let{target:i}=o;i&&i!==this;i=i.parentNode)for(const l of s)if(l===i)return gd(o,{delegateTarget:i}),r.oneOff&&le.off(n,o.type,e,t),t.apply(i,[o])}}function E2(n,e,t=null){return Object.values(n).find(r=>r.callable===e&&r.delegationSelector===t)}function C2(n,e,t){const r=typeof e=="string",o=r?t:e||t;let s=b2(n);return tk.has(s)||(s=n),[r,o,s]}function Vh(n,e,t,r,o){if(typeof e!="string"||!n)return;let[s,i,l]=C2(e,t,r);e in g2&&(i=(m=>function(g){if(!g.relatedTarget||g.relatedTarget!==g.delegateTarget&&!g.delegateTarget.contains(g.relatedTarget))return m.call(this,g)})(i));const a=y2(n),u=a[l]||(a[l]={}),d=E2(u,i,s?t:null);if(d){d.oneOff=d.oneOff&&o;return}const f=v2(i,e.replace(XS,"")),h=s?rk(n,t,i):nk(n,i);h.delegationSelector=s?t:null,h.callable=i,h.oneOff=o,h.uidEvent=f,u[f]=h,n.addEventListener(l,h,s)}function Qc(n,e,t,r,o){const s=E2(e[t],r,o);s&&(n.removeEventListener(t,s,!!o),delete e[t][s.uidEvent])}function ok(n,e,t,r){const o=e[t]||{};for(const[s,i]of Object.entries(o))s.includes(r)&&Qc(n,e,t,i.callable,i.delegationSelector)}function b2(n){return n=n.replace(qS,""),g2[n]||n}const le={on(n,e,t,r){Vh(n,e,t,r,!1)},one(n,e,t,r){Vh(n,e,t,r,!0)},off(n,e,t,r){if(typeof e!="string"||!n)return;const[o,s,i]=C2(e,t,r),l=i!==e,a=y2(n),u=a[i]||{},d=e.startsWith(".");if(typeof s<"u"){if(!Object.keys(u).length)return;Qc(n,a,i,s,o?t:null);return}if(d)for(const f of Object.keys(a))ok(n,a,f,e.slice(1));for(const[f,h]of Object.entries(u)){const p=f.replace(ek,"");(!l||e.includes(p))&&Qc(n,a,i,h.callable,h.delegationSelector)}},trigger(n,e,t){if(typeof e!="string"||!n)return null;const r=p2(),o=b2(e),s=e!==o;let i=null,l=!0,a=!0,u=!1;s&&r&&(i=r.Event(e,t),r(n).trigger(i),l=!i.isPropagationStopped(),a=!i.isImmediatePropagationStopped(),u=i.isDefaultPrevented());const d=gd(new Event(e,{bubbles:l,cancelable:!0}),t);return u&&d.preventDefault(),a&&n.dispatchEvent(d),d.defaultPrevented&&i&&i.preventDefault(),d}};function gd(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 $h(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 ec(n){return n.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}const Kn={setDataAttribute(n,e,t){n.setAttribute(`data-bs-${ec(e)}`,t)},removeDataAttribute(n,e){n.removeAttribute(`data-bs-${ec(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]=$h(n.dataset[r])}return e},getDataAttribute(n,e){return $h(n.getAttribute(`data-bs-${ec(e)}`))}};class Qs{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=Wn(t)?Kn.getDataAttribute(t,"config"):{};return{...this.constructor.Default,...typeof r=="object"?r:{},...Wn(t)?Kn.getDataAttributes(t):{},...typeof e=="object"?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(const[r,o]of Object.entries(t)){const s=e[r],i=Wn(s)?"element":GS(s);if(!new RegExp(o).test(i))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${r}" provided type "${i}" but expected type "${o}".`)}}}const sk="5.3.0";class vn extends Qs{constructor(e,t){super(),e=gr(e),e&&(this._element=e,this._config=this._getConfig(t),Jl.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Jl.remove(this._element,this.constructor.DATA_KEY),le.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,r=!0){m2(e,t,r)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return Jl.get(gr(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,typeof t=="object"?t:null)}static get VERSION(){return sk}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 tc=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 d2(e)},Ie={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=>!vr(t)&&qo(t))},getSelectorFromElement(n){const e=tc(n);return e&&Ie.findOne(e)?e:null},getElementFromSelector(n){const e=tc(n);return e?Ie.findOne(e):null},getMultipleElementsFromSelector(n){const e=tc(n);return e?Ie.find(e):[]}},il=(n,e="hide")=>{const t=`click.dismiss${n.EVENT_KEY}`,r=n.NAME;le.on(document,t,`[data-bs-dismiss="${r}"]`,function(o){if(["A","AREA"].includes(this.tagName)&&o.preventDefault(),vr(this))return;const s=Ie.getElementFromSelector(this)||this.closest(`.${r}`);n.getOrCreateInstance(s)[e]()})},ik="alert",ak="bs.alert",A2=`.${ak}`,lk=`close${A2}`,ck=`closed${A2}`,uk="fade",dk="show";class al extends vn{static get NAME(){return ik}close(){if(le.trigger(this._element,lk).defaultPrevented)return;this._element.classList.remove(dk);const t=this._element.classList.contains(uk);this._queueCallback(()=>this._destroyElement(),this._element,t)}_destroyElement(){this._element.remove(),le.trigger(this._element,ck),this.dispose()}static jQueryInterface(e){return this.each(function(){const t=al.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)}})}}il(al,"close");an(al);const fk="button",hk="bs.button",pk=`.${hk}`,mk=".data-api",gk="active",Uh='[data-bs-toggle="button"]',vk=`click${pk}${mk}`;class ll extends vn{static get NAME(){return fk}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(gk))}static jQueryInterface(e){return this.each(function(){const t=ll.getOrCreateInstance(this);e==="toggle"&&t[e]()})}}le.on(document,vk,Uh,n=>{n.preventDefault();const e=n.target.closest(Uh);ll.getOrCreateInstance(e).toggle()});an(ll);const yk="swipe",es=".bs.swipe",Ek=`touchstart${es}`,Ck=`touchmove${es}`,bk=`touchend${es}`,Ak=`pointerdown${es}`,wk=`pointerup${es}`,Tk="touch",Sk="pen",kk="pointer-event",_k=40,xk={endCallback:null,leftCallback:null,rightCallback:null},Nk={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Na extends Qs{constructor(e,t){super(),this._element=e,!(!e||!Na.isSupported())&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return xk}static get DefaultType(){return Nk}static get NAME(){return yk}dispose(){le.off(this._element,es)}_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(),Bt(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<=_k)return;const t=e/this._deltaX;this._deltaX=0,t&&Bt(t>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(le.on(this._element,Ak,e=>this._start(e)),le.on(this._element,wk,e=>this._end(e)),this._element.classList.add(kk)):(le.on(this._element,Ek,e=>this._start(e)),le.on(this._element,Ck,e=>this._move(e)),le.on(this._element,bk,e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&(e.pointerType===Sk||e.pointerType===Tk)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const Ik="carousel",Mk="bs.carousel",Tr=`.${Mk}`,w2=".data-api",Ok="ArrowLeft",Lk="ArrowRight",Dk=500,ss="next",mo="prev",Ao="left",ki="right",Rk=`slide${Tr}`,nc=`slid${Tr}`,Bk=`keydown${Tr}`,Pk=`mouseenter${Tr}`,Fk=`mouseleave${Tr}`,Vk=`dragstart${Tr}`,$k=`load${Tr}${w2}`,Uk=`click${Tr}${w2}`,T2="carousel",hi="active",zk="slide",Hk="carousel-item-end",jk="carousel-item-start",Wk="carousel-item-next",Kk="carousel-item-prev",S2=".active",k2=".carousel-item",Yk=S2+k2,Gk=".carousel-item img",Qk=".carousel-indicators",Zk="[data-bs-slide], [data-bs-slide-to]",Jk='[data-bs-ride="carousel"]',Xk={[Ok]:ki,[Lk]:Ao},qk={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},e_={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Zs extends vn{constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=Ie.findOne(Qk,this._element),this._addEventListeners(),this._config.ride===T2&&this.cycle()}static get Default(){return qk}static get DefaultType(){return e_}static get NAME(){return Ik}next(){this._slide(ss)}nextWhenVisible(){!document.hidden&&qo(this._element)&&this.next()}prev(){this._slide(mo)}pause(){this._isSliding&&f2(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){le.one(this._element,nc,()=>this.cycle());return}this.cycle()}}to(e){const t=this._getItems();if(e>t.length-1||e<0)return;if(this._isSliding){le.one(this._element,nc,()=>this.to(e));return}const r=this._getItemIndex(this._getActive());if(r===e)return;const o=e>r?ss:mo;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&&le.on(this._element,Bk,e=>this._keydown(e)),this._config.pause==="hover"&&(le.on(this._element,Pk,()=>this.pause()),le.on(this._element,Fk,()=>this._maybeEnableCycle())),this._config.touch&&Na.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const r of Ie.find(Gk,this._element))le.on(r,Vk,o=>o.preventDefault());const t={leftCallback:()=>this._slide(this._directionToOrder(Ao)),rightCallback:()=>this._slide(this._directionToOrder(ki)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),Dk+this._config.interval))}};this._swipeHelper=new Na(this._element,t)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=Xk[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=Ie.findOne(S2,this._indicatorsElement);t.classList.remove(hi),t.removeAttribute("aria-current");const r=Ie.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);r&&(r.classList.add(hi),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===ss,s=t||md(this._getItems(),r,o,this._config.wrap);if(s===r)return;const i=this._getItemIndex(s),l=p=>le.trigger(this._element,p,{relatedTarget:s,direction:this._orderToDirection(e),from:this._getItemIndex(r),to:i});if(l(Rk).defaultPrevented||!r||!s)return;const u=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(i),this._activeElement=s;const d=o?jk:Hk,f=o?Wk:Kk;s.classList.add(f),Gs(s),r.classList.add(d),s.classList.add(d);const h=()=>{s.classList.remove(d,f),s.classList.add(hi),r.classList.remove(hi,f,d),this._isSliding=!1,l(nc)};this._queueCallback(h,r,this._isAnimated()),u&&this.cycle()}_isAnimated(){return this._element.classList.contains(zk)}_getActive(){return Ie.findOne(Yk,this._element)}_getItems(){return Ie.find(k2,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return on()?e===Ao?mo:ss:e===Ao?ss:mo}_orderToDirection(e){return on()?e===mo?Ao:ki:e===mo?ki:Ao}static jQueryInterface(e){return this.each(function(){const t=Zs.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]()}})}}le.on(document,Uk,Zk,function(n){const e=Ie.getElementFromSelector(this);if(!e||!e.classList.contains(T2))return;n.preventDefault();const t=Zs.getOrCreateInstance(e),r=this.getAttribute("data-bs-slide-to");if(r){t.to(r),t._maybeEnableCycle();return}if(Kn.getDataAttribute(this,"slide")==="next"){t.next(),t._maybeEnableCycle();return}t.prev(),t._maybeEnableCycle()});le.on(window,$k,()=>{const n=Ie.find(Jk);for(const e of n)Zs.getOrCreateInstance(e)});an(Zs);const t_="collapse",n_="bs.collapse",Js=`.${n_}`,r_=".data-api",o_=`show${Js}`,s_=`shown${Js}`,i_=`hide${Js}`,a_=`hidden${Js}`,l_=`click${Js}${r_}`,rc="show",xo="collapse",pi="collapsing",c_="collapsed",u_=`:scope .${xo} .${xo}`,d_="collapse-horizontal",f_="width",h_="height",p_=".collapse.show, .collapse.collapsing",Zc='[data-bs-toggle="collapse"]',m_={parent:null,toggle:!0},g_={parent:"(null|element)",toggle:"boolean"};class Ps extends vn{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const r=Ie.find(Zc);for(const o of r){const s=Ie.getSelectorFromElement(o),i=Ie.find(s).filter(l=>l===this._element);s!==null&&i.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 m_}static get DefaultType(){return g_}static get NAME(){return t_}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(p_).filter(l=>l!==this._element).map(l=>Ps.getOrCreateInstance(l,{toggle:!1}))),e.length&&e[0]._isTransitioning||le.trigger(this._element,o_).defaultPrevented)return;for(const l of e)l.hide();const r=this._getDimension();this._element.classList.remove(xo),this._element.classList.add(pi),this._element.style[r]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const o=()=>{this._isTransitioning=!1,this._element.classList.remove(pi),this._element.classList.add(xo,rc),this._element.style[r]="",le.trigger(this._element,s_)},i=`scroll${r[0].toUpperCase()+r.slice(1)}`;this._queueCallback(o,this._element,!0),this._element.style[r]=`${this._element[i]}px`}hide(){if(this._isTransitioning||!this._isShown()||le.trigger(this._element,i_).defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,Gs(this._element),this._element.classList.add(pi),this._element.classList.remove(xo,rc);for(const o of this._triggerArray){const s=Ie.getElementFromSelector(o);s&&!this._isShown(s)&&this._addAriaAndCollapsedClass([o],!1)}this._isTransitioning=!0;const r=()=>{this._isTransitioning=!1,this._element.classList.remove(pi),this._element.classList.add(xo),le.trigger(this._element,a_)};this._element.style[t]="",this._queueCallback(r,this._element,!0)}_isShown(e=this._element){return e.classList.contains(rc)}_configAfterMerge(e){return e.toggle=!!e.toggle,e.parent=gr(e.parent),e}_getDimension(){return this._element.classList.contains(d_)?f_:h_}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(Zc);for(const t of e){const r=Ie.getElementFromSelector(t);r&&this._addAriaAndCollapsedClass([t],this._isShown(r))}}_getFirstLevelChildren(e){const t=Ie.find(u_,this._config.parent);return Ie.find(e,this._config.parent).filter(r=>!t.includes(r))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const r of e)r.classList.toggle(c_,!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=Ps.getOrCreateInstance(this,t);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e]()}})}}le.on(document,l_,Zc,function(n){(n.target.tagName==="A"||n.delegateTarget&&n.delegateTarget.tagName==="A")&&n.preventDefault();for(const e of Ie.getMultipleElementsFromSelector(this))Ps.getOrCreateInstance(e,{toggle:!1}).toggle()});an(Ps);const zh="dropdown",v_="bs.dropdown",ao=`.${v_}`,vd=".data-api",y_="Escape",Hh="Tab",E_="ArrowUp",jh="ArrowDown",C_=2,b_=`hide${ao}`,A_=`hidden${ao}`,w_=`show${ao}`,T_=`shown${ao}`,_2=`click${ao}${vd}`,x2=`keydown${ao}${vd}`,S_=`keyup${ao}${vd}`,wo="show",k_="dropup",__="dropend",x_="dropstart",N_="dropup-center",I_="dropdown-center",$r='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',M_=`${$r}.${wo}`,_i=".dropdown-menu",O_=".navbar",L_=".navbar-nav",D_=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",R_=on()?"top-end":"top-start",B_=on()?"top-start":"top-end",P_=on()?"bottom-end":"bottom-start",F_=on()?"bottom-start":"bottom-end",V_=on()?"left-start":"right-start",$_=on()?"right-start":"left-start",U_="top",z_="bottom",H_={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},j_={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class Nn extends vn{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=Ie.next(this._element,_i)[0]||Ie.prev(this._element,_i)[0]||Ie.findOne(_i,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return H_}static get DefaultType(){return j_}static get NAME(){return zh}toggle(){return this._isShown()?this.hide():this.show()}show(){if(vr(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!le.trigger(this._element,w_,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(L_))for(const r of[].concat(...document.body.children))le.on(r,"mouseover",xa);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(wo),this._element.classList.add(wo),le.trigger(this._element,T_,e)}}hide(){if(vr(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(!le.trigger(this._element,b_,e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const r of[].concat(...document.body.children))le.off(r,"mouseover",xa);this._popper&&this._popper.destroy(),this._menu.classList.remove(wo),this._element.classList.remove(wo),this._element.setAttribute("aria-expanded","false"),Kn.removeDataAttribute(this._menu,"popper"),le.trigger(this._element,A_,e)}}_getConfig(e){if(e=super._getConfig(e),typeof e.reference=="object"&&!Wn(e.reference)&&typeof e.reference.getBoundingClientRect!="function")throw new TypeError(`${zh.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(typeof K0>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;this._config.reference==="parent"?e=this._parent:Wn(this._config.reference)?e=gr(this._config.reference):typeof this._config.reference=="object"&&(e=this._config.reference);const t=this._getPopperConfig();this._popper=nl(e,this._menu,t)}_isShown(){return this._menu.classList.contains(wo)}_getPlacement(){const e=this._parent;if(e.classList.contains(__))return V_;if(e.classList.contains(x_))return $_;if(e.classList.contains(N_))return U_;if(e.classList.contains(I_))return z_;const t=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return e.classList.contains(k_)?t?B_:R_:t?F_:P_}_detectNavbar(){return this._element.closest(O_)!==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")&&(Kn.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...Bt(this._config.popperConfig,[e])}}_selectMenuItem({key:e,target:t}){const r=Ie.find(D_,this._menu).filter(o=>qo(o));r.length&&md(r,t,e===jh,!r.includes(t)).focus()}static jQueryInterface(e){return this.each(function(){const t=Nn.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===C_||e.type==="keyup"&&e.key!==Hh)return;const t=Ie.find(M_);for(const r of t){const o=Nn.getInstance(r);if(!o||o._config.autoClose===!1)continue;const s=e.composedPath(),i=s.includes(o._menu);if(s.includes(o._element)||o._config.autoClose==="inside"&&!i||o._config.autoClose==="outside"&&i||o._menu.contains(e.target)&&(e.type==="keyup"&&e.key===Hh||/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===y_,o=[E_,jh].includes(e.key);if(!o&&!r||t&&!r)return;e.preventDefault();const s=this.matches($r)?this:Ie.prev(this,$r)[0]||Ie.next(this,$r)[0]||Ie.findOne($r,e.delegateTarget.parentNode),i=Nn.getOrCreateInstance(s);if(o){e.stopPropagation(),i.show(),i._selectMenuItem(e);return}i._isShown()&&(e.stopPropagation(),i.hide(),s.focus())}}le.on(document,x2,$r,Nn.dataApiKeydownHandler);le.on(document,x2,_i,Nn.dataApiKeydownHandler);le.on(document,_2,Nn.clearMenus);le.on(document,S_,Nn.clearMenus);le.on(document,_2,$r,function(n){n.preventDefault(),Nn.getOrCreateInstance(this).toggle()});an(Nn);const N2="backdrop",W_="fade",Wh="show",Kh=`mousedown.bs.${N2}`,K_={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Y_={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class I2 extends Qs{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return K_}static get DefaultType(){return Y_}static get NAME(){return N2}show(e){if(!this._config.isVisible){Bt(e);return}this._append();const t=this._getElement();this._config.isAnimated&&Gs(t),t.classList.add(Wh),this._emulateAnimation(()=>{Bt(e)})}hide(e){if(!this._config.isVisible){Bt(e);return}this._getElement().classList.remove(Wh),this._emulateAnimation(()=>{this.dispose(),Bt(e)})}dispose(){this._isAppended&&(le.off(this._element,Kh),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(W_),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=gr(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),le.on(e,Kh,()=>{Bt(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){m2(e,this._getElement(),this._config.isAnimated)}}const G_="focustrap",Q_="bs.focustrap",Ia=`.${Q_}`,Z_=`focusin${Ia}`,J_=`keydown.tab${Ia}`,X_="Tab",q_="forward",Yh="backward",ex={autofocus:!0,trapElement:null},tx={autofocus:"boolean",trapElement:"element"};class M2 extends Qs{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return ex}static get DefaultType(){return tx}static get NAME(){return G_}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),le.off(document,Ia),le.on(document,Z_,e=>this._handleFocusin(e)),le.on(document,J_,e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,le.off(document,Ia))}_handleFocusin(e){const{trapElement:t}=this._config;if(e.target===document||e.target===t||t.contains(e.target))return;const r=Ie.focusableChildren(t);r.length===0?t.focus():this._lastTabNavDirection===Yh?r[r.length-1].focus():r[0].focus()}_handleKeydown(e){e.key===X_&&(this._lastTabNavDirection=e.shiftKey?Yh:q_)}}const Gh=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Qh=".sticky-top",mi="padding-right",Zh="margin-right";class Jc{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,mi,t=>t+e),this._setElementAttributes(Gh,mi,t=>t+e),this._setElementAttributes(Qh,Zh,t=>t-e)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,mi),this._resetElementAttributes(Gh,mi),this._resetElementAttributes(Qh,Zh)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,r){const o=this.getWidth(),s=i=>{if(i!==this._element&&window.innerWidth>i.clientWidth+o)return;this._saveInitialAttribute(i,t);const l=window.getComputedStyle(i).getPropertyValue(t);i.style.setProperty(t,`${r(Number.parseFloat(l))}px`)};this._applyManipulationCallback(e,s)}_saveInitialAttribute(e,t){const r=e.style.getPropertyValue(t);r&&Kn.setDataAttribute(e,t,r)}_resetElementAttributes(e,t){const r=o=>{const s=Kn.getDataAttribute(o,t);if(s===null){o.style.removeProperty(t);return}Kn.removeDataAttribute(o,t),o.style.setProperty(t,s)};this._applyManipulationCallback(e,r)}_applyManipulationCallback(e,t){if(Wn(e)){t(e);return}for(const r of Ie.find(e,this._element))t(r)}}const nx="modal",rx="bs.modal",sn=`.${rx}`,ox=".data-api",sx="Escape",ix=`hide${sn}`,ax=`hidePrevented${sn}`,O2=`hidden${sn}`,L2=`show${sn}`,lx=`shown${sn}`,cx=`resize${sn}`,ux=`click.dismiss${sn}`,dx=`mousedown.dismiss${sn}`,fx=`keydown.dismiss${sn}`,hx=`click${sn}${ox}`,Jh="modal-open",px="fade",Xh="show",oc="modal-static",mx=".modal.show",gx=".modal-dialog",vx=".modal-body",yx='[data-bs-toggle="modal"]',Ex={backdrop:!0,focus:!0,keyboard:!0},Cx={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class yr extends vn{constructor(e,t){super(e,t),this._dialog=Ie.findOne(gx,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Jc,this._addEventListeners()}static get Default(){return Ex}static get DefaultType(){return Cx}static get NAME(){return nx}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||le.trigger(this._element,L2,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Jh),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){!this._isShown||this._isTransitioning||le.trigger(this._element,ix).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Xh),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){le.off(window,sn),le.off(this._dialog,sn),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new I2({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new M2({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=Ie.findOne(vx,this._dialog);t&&(t.scrollTop=0),Gs(this._element),this._element.classList.add(Xh);const r=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,le.trigger(this._element,lx,{relatedTarget:e})};this._queueCallback(r,this._dialog,this._isAnimated())}_addEventListeners(){le.on(this._element,fx,e=>{if(e.key===sx){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),le.on(window,cx,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),le.on(this._element,dx,e=>{le.one(this._element,ux,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(Jh),this._resetAdjustments(),this._scrollBar.reset(),le.trigger(this._element,O2)})}_isAnimated(){return this._element.classList.contains(px)}_triggerBackdropTransition(){if(le.trigger(this._element,ax).defaultPrevented)return;const t=this._element.scrollHeight>document.documentElement.clientHeight,r=this._element.style.overflowY;r==="hidden"||this._element.classList.contains(oc)||(t||(this._element.style.overflowY="hidden"),this._element.classList.add(oc),this._queueCallback(()=>{this._element.classList.remove(oc),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=on()?"paddingLeft":"paddingRight";this._element.style[o]=`${t}px`}if(!r&&e){const o=on()?"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=yr.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e](t)}})}}le.on(document,hx,yx,function(n){const e=Ie.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&n.preventDefault(),le.one(e,L2,o=>{o.defaultPrevented||le.one(e,O2,()=>{qo(this)&&this.focus()})});const t=Ie.findOne(mx);t&&yr.getInstance(t).hide(),yr.getOrCreateInstance(e).toggle(this)});il(yr);an(yr);const bx="offcanvas",Ax="bs.offcanvas",Qn=`.${Ax}`,D2=".data-api",wx=`load${Qn}${D2}`,Tx="Escape",qh="show",ep="showing",tp="hiding",Sx="offcanvas-backdrop",R2=".offcanvas.show",kx=`show${Qn}`,_x=`shown${Qn}`,xx=`hide${Qn}`,np=`hidePrevented${Qn}`,B2=`hidden${Qn}`,Nx=`resize${Qn}`,Ix=`click${Qn}${D2}`,Mx=`keydown.dismiss${Qn}`,Ox='[data-bs-toggle="offcanvas"]',Lx={backdrop:!0,keyboard:!0,scroll:!1},Dx={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Er extends vn{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Lx}static get DefaultType(){return Dx}static get NAME(){return bx}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown||le.trigger(this._element,kx,{relatedTarget:e}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new Jc().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(ep);const r=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(qh),this._element.classList.remove(ep),le.trigger(this._element,_x,{relatedTarget:e})};this._queueCallback(r,this._element,!0)}hide(){if(!this._isShown||le.trigger(this._element,xx).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(tp),this._backdrop.hide();const t=()=>{this._element.classList.remove(qh,tp),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new Jc().reset(),le.trigger(this._element,B2)};this._queueCallback(t,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=()=>{if(this._config.backdrop==="static"){le.trigger(this._element,np);return}this.hide()},t=!!this._config.backdrop;return new I2({className:Sx,isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?e:null})}_initializeFocusTrap(){return new M2({trapElement:this._element})}_addEventListeners(){le.on(this._element,Mx,e=>{if(e.key===Tx){if(this._config.keyboard){this.hide();return}le.trigger(this._element,np)}})}static jQueryInterface(e){return this.each(function(){const t=Er.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)}})}}le.on(document,Ix,Ox,function(n){const e=Ie.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),vr(this))return;le.one(e,B2,()=>{qo(this)&&this.focus()});const t=Ie.findOne(R2);t&&t!==e&&Er.getInstance(t).hide(),Er.getOrCreateInstance(e).toggle(this)});le.on(window,wx,()=>{for(const n of Ie.find(R2))Er.getOrCreateInstance(n).show()});le.on(window,Nx,()=>{for(const n of Ie.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(n).position!=="fixed"&&Er.getOrCreateInstance(n).hide()});il(Er);an(Er);const Rx=/^aria-[\w-]*$/i,P2={"*":["class","dir","id","lang","role",Rx],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:[]},Bx=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Px=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Fx=(n,e)=>{const t=n.nodeName.toLowerCase();return e.includes(t)?Bx.has(t)?!!Px.test(n.nodeValue):!0:e.filter(r=>r instanceof RegExp).some(r=>r.test(t))};function Vx(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"),s=[].concat(...o.body.querySelectorAll("*"));for(const i of s){const l=i.nodeName.toLowerCase();if(!Object.keys(e).includes(l)){i.remove();continue}const a=[].concat(...i.attributes),u=[].concat(e["*"]||[],e[l]||[]);for(const d of a)Fx(d,u)||i.removeAttribute(d.nodeName)}return o.body.innerHTML}const $x="TemplateFactory",Ux={allowList:P2,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},zx={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Hx={entry:"(string|element|function|null)",selector:"(string|element)"};class jx extends Qs{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return Ux}static get DefaultType(){return zx}static get NAME(){return $x}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,s]of Object.entries(this._config.content))this._setContent(e,s,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},Hx)}_setContent(e,t,r){const o=Ie.findOne(r,e);if(o){if(t=this._resolvePossibleFunction(t),!t){o.remove();return}if(Wn(t)){this._putElementInTemplate(gr(t),o);return}if(this._config.html){o.innerHTML=this._maybeSanitize(t);return}o.textContent=t}}_maybeSanitize(e){return this._config.sanitize?Vx(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return Bt(e,[this])}_putElementInTemplate(e,t){if(this._config.html){t.innerHTML="",t.append(e);return}t.textContent=e.textContent}}const Wx="tooltip",Kx=new Set(["sanitize","allowList","sanitizeFn"]),sc="fade",Yx="modal",gi="show",Gx=".tooltip-inner",rp=`.${Yx}`,op="hide.bs.modal",is="hover",ic="focus",Qx="click",Zx="manual",Jx="hide",Xx="hidden",qx="show",eN="shown",tN="inserted",nN="click",rN="focusin",oN="focusout",sN="mouseenter",iN="mouseleave",aN={AUTO:"auto",TOP:"top",RIGHT:on()?"left":"right",BOTTOM:"bottom",LEFT:on()?"right":"left"},lN={allowList:P2,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"},cN={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 _n extends vn{constructor(e,t){if(typeof K0>"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 lN}static get DefaultType(){return cN}static get NAME(){return Wx}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),le.off(this._element.closest(rp),op,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=le.trigger(this._element,this.constructor.eventName(qx)),r=(h2(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:s}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(s.append(o),le.trigger(this._element,this.constructor.eventName(tN))),this._popper=this._createPopper(o),o.classList.add(gi),"ontouchstart"in document.documentElement)for(const l of[].concat(...document.body.children))le.on(l,"mouseover",xa);const i=()=>{le.trigger(this._element,this.constructor.eventName(eN)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(i,this.tip,this._isAnimated())}hide(){if(!this._isShown()||le.trigger(this._element,this.constructor.eventName(Jx)).defaultPrevented)return;if(this._getTipElement().classList.remove(gi),"ontouchstart"in document.documentElement)for(const o of[].concat(...document.body.children))le.off(o,"mouseover",xa);this._activeTrigger[Qx]=!1,this._activeTrigger[ic]=!1,this._activeTrigger[is]=!1,this._isHovered=null;const r=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),le.trigger(this._element,this.constructor.eventName(Xx)))};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(sc,gi),t.classList.add(`bs-${this.constructor.NAME}-auto`);const r=QS(this.constructor.NAME).toString();return t.setAttribute("id",r),this._isAnimated()&&t.classList.add(sc),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new jx({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[Gx]: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(sc)}_isShown(){return this.tip&&this.tip.classList.contains(gi)}_createPopper(e){const t=Bt(this._config.placement,[this,e,this._element]),r=aN[t.toUpperCase()];return nl(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 Bt(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,...Bt(this._config.popperConfig,[t])}}_setListeners(){const e=this._config.trigger.split(" ");for(const t of e)if(t==="click")le.on(this._element,this.constructor.eventName(nN),this._config.selector,r=>{this._initializeOnDelegatedTarget(r).toggle()});else if(t!==Zx){const r=t===is?this.constructor.eventName(sN):this.constructor.eventName(rN),o=t===is?this.constructor.eventName(iN):this.constructor.eventName(oN);le.on(this._element,r,this._config.selector,s=>{const i=this._initializeOnDelegatedTarget(s);i._activeTrigger[s.type==="focusin"?ic:is]=!0,i._enter()}),le.on(this._element,o,this._config.selector,s=>{const i=this._initializeOnDelegatedTarget(s);i._activeTrigger[s.type==="focusout"?ic:is]=i._element.contains(s.relatedTarget),i._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},le.on(this._element.closest(rp),op,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=Kn.getDataAttributes(this._element);for(const r of Object.keys(t))Kx.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:gr(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=_n.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e]()}})}}an(_n);const uN="popover",dN=".popover-header",fN=".popover-body",hN={..._n.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"},pN={..._n.DefaultType,content:"(null|string|element|function)"};class Ur extends _n{static get Default(){return hN}static get DefaultType(){return pN}static get NAME(){return uN}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[dN]:this._getTitle(),[fN]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each(function(){const t=Ur.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e]()}})}}an(Ur);const mN="scrollspy",gN="bs.scrollspy",yd=`.${gN}`,vN=".data-api",yN=`activate${yd}`,sp=`click${yd}`,EN=`load${yd}${vN}`,CN="dropdown-item",go="active",bN='[data-bs-spy="scroll"]',ac="[href]",AN=".nav, .list-group",ip=".nav-link",wN=".nav-item",TN=".list-group-item",SN=`${ip}, ${wN} > ${ip}, ${TN}`,kN=".dropdown",_N=".dropdown-toggle",xN={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},NN={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class cl extends vn{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 xN}static get DefaultType(){return NN}static get NAME(){return mN}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=gr(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&&(le.off(this._config.target,sp),le.on(this._config.target,sp,ac,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=i=>this._targetLinks.get(`#${i.target.id}`),r=i=>{this._previousScrollData.visibleEntryTop=i.target.offsetTop,this._process(t(i))},o=(this._rootElement||document.documentElement).scrollTop,s=o>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=o;for(const i of e){if(!i.isIntersecting){this._activeTarget=null,this._clearActiveClass(t(i));continue}const l=i.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(s&&l){if(r(i),!o)return;continue}!s&&!l&&r(i)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=Ie.find(ac,this._config.target);for(const t of e){if(!t.hash||vr(t))continue;const r=Ie.findOne(decodeURI(t.hash),this._element);qo(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(go),this._activateParents(e),le.trigger(this._element,yN,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains(CN)){Ie.findOne(_N,e.closest(kN)).classList.add(go);return}for(const t of Ie.parents(e,AN))for(const r of Ie.prev(t,SN))r.classList.add(go)}_clearActiveClass(e){e.classList.remove(go);const t=Ie.find(`${ac}.${go}`,e);for(const r of t)r.classList.remove(go)}static jQueryInterface(e){return this.each(function(){const t=cl.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]()}})}}le.on(window,EN,()=>{for(const n of Ie.find(bN))cl.getOrCreateInstance(n)});an(cl);const IN="tab",MN="bs.tab",lo=`.${MN}`,ON=`hide${lo}`,LN=`hidden${lo}`,DN=`show${lo}`,RN=`shown${lo}`,BN=`click${lo}`,PN=`keydown${lo}`,FN=`load${lo}`,VN="ArrowLeft",ap="ArrowRight",$N="ArrowUp",lp="ArrowDown",zr="active",cp="fade",lc="show",UN="dropdown",zN=".dropdown-toggle",HN=".dropdown-menu",cc=":not(.dropdown-toggle)",jN='.list-group, .nav, [role="tablist"]',WN=".nav-item, .list-group-item",KN=`.nav-link${cc}, .list-group-item${cc}, [role="tab"]${cc}`,F2='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',uc=`${KN}, ${F2}`,YN=`.${zr}[data-bs-toggle="tab"], .${zr}[data-bs-toggle="pill"], .${zr}[data-bs-toggle="list"]`;class jo extends vn{constructor(e){super(e),this._parent=this._element.closest(jN),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),le.on(this._element,PN,t=>this._keydown(t)))}static get NAME(){return IN}show(){const e=this._element;if(this._elemIsActive(e))return;const t=this._getActiveElem(),r=t?le.trigger(t,ON,{relatedTarget:e}):null;le.trigger(e,DN,{relatedTarget:t}).defaultPrevented||r&&r.defaultPrevented||(this._deactivate(t,e),this._activate(e,t))}_activate(e,t){if(!e)return;e.classList.add(zr),this._activate(Ie.getElementFromSelector(e));const r=()=>{if(e.getAttribute("role")!=="tab"){e.classList.add(lc);return}e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),le.trigger(e,RN,{relatedTarget:t})};this._queueCallback(r,e,e.classList.contains(cp))}_deactivate(e,t){if(!e)return;e.classList.remove(zr),e.blur(),this._deactivate(Ie.getElementFromSelector(e));const r=()=>{if(e.getAttribute("role")!=="tab"){e.classList.remove(lc);return}e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),le.trigger(e,LN,{relatedTarget:t})};this._queueCallback(r,e,e.classList.contains(cp))}_keydown(e){if(![VN,ap,$N,lp].includes(e.key))return;e.stopPropagation(),e.preventDefault();const t=[ap,lp].includes(e.key),r=md(this._getChildren().filter(o=>!vr(o)),e.target,t,!0);r&&(r.focus({preventScroll:!0}),jo.getOrCreateInstance(r).show())}_getChildren(){return Ie.find(uc,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=Ie.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(UN))return;const o=(s,i)=>{const l=Ie.findOne(s,r);l&&l.classList.toggle(i,t)};o(zN,zr),o(HN,lc),r.setAttribute("aria-expanded",t)}_setAttributeIfNotExists(e,t,r){e.hasAttribute(t)||e.setAttribute(t,r)}_elemIsActive(e){return e.classList.contains(zr)}_getInnerElement(e){return e.matches(uc)?e:Ie.findOne(uc,e)}_getOuterElement(e){return e.closest(WN)||e}static jQueryInterface(e){return this.each(function(){const t=jo.getOrCreateInstance(this);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()}})}}le.on(document,BN,F2,function(n){["A","AREA"].includes(this.tagName)&&n.preventDefault(),!vr(this)&&jo.getOrCreateInstance(this).show()});le.on(window,FN,()=>{for(const n of Ie.find(YN))jo.getOrCreateInstance(n)});an(jo);const GN="toast",QN="bs.toast",Sr=`.${QN}`,ZN=`mouseover${Sr}`,JN=`mouseout${Sr}`,XN=`focusin${Sr}`,qN=`focusout${Sr}`,eI=`hide${Sr}`,tI=`hidden${Sr}`,nI=`show${Sr}`,rI=`shown${Sr}`,oI="fade",up="hide",vi="show",yi="showing",sI={animation:"boolean",autohide:"boolean",delay:"number"},iI={animation:!0,autohide:!0,delay:5e3};class ts extends vn{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return iI}static get DefaultType(){return sI}static get NAME(){return GN}show(){if(le.trigger(this._element,nI).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(oI);const t=()=>{this._element.classList.remove(yi),le.trigger(this._element,rI),this._maybeScheduleHide()};this._element.classList.remove(up),Gs(this._element),this._element.classList.add(vi,yi),this._queueCallback(t,this._element,this._config.animation)}hide(){if(!this.isShown()||le.trigger(this._element,eI).defaultPrevented)return;const t=()=>{this._element.classList.add(up),this._element.classList.remove(yi,vi),le.trigger(this._element,tI)};this._element.classList.add(yi),this._queueCallback(t,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(vi),super.dispose()}isShown(){return this._element.classList.contains(vi)}_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(){le.on(this._element,ZN,e=>this._onInteraction(e,!0)),le.on(this._element,JN,e=>this._onInteraction(e,!1)),le.on(this._element,XN,e=>this._onInteraction(e,!0)),le.on(this._element,qN,e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const t=ts.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e](this)}})}}il(ts);an(ts);function dp(n,e){return e.value||n.getAttribute("title")||""}const Xs={mounted:(n,e)=>{const t=dp(n,e);t&&n.setAttribute("title",t),new _n(n)},updated:(n,e)=>{const t=_n.getInstance(n);t&&t.dispose();const r=dp(n,e);r&&n.setAttribute("title",r),new _n(n)},unmounted:n=>{const e=_n.getInstance(n);e&&e.dispose()}},aI={key:0,class:"pills-list__wrapper"},lI={class:"pills-list__ul"},cI={class:"bd-markdown-editor__menu-bottom"},uI={key:0,class:"vr"},V2=c.defineComponent({__name:"BDMarkdownEditor",props:{placeholder:{default:"Typ een bericht"},errorText:{default:"er is iets fout gegaan"},state:{type:[Boolean,null],default:null},variant:{default:Zl.BASIC},files:{default:void 0},pills:{default:void 0},modelValue:{}},emits:["update:modelValue","upload","action"],setup(n,{emit:e}){const t=n,r=()=>{e("upload")},o=io(t,"modelValue",e),s=[DT,RT,BT,aS.configure({placeholder:t.placeholder}),TS,iS.configure({openOnClick:!1,validate:P=>/^(https?:\/\/|www\.)/i.test(P)})];t.variant===Zl.FULL&&s.push(fS,vS,yS,ES,bS,wS);const i=LT({content:o.value,extensions:s,onUpdate:({editor:P})=>{const{view:Y,state:G}=P,{from:K,to:H}=Y.state.selection;if(G.doc.textBetween(K-1,H,"")==" "&&P.getAttributes("link").href!=null&&P.chain().setTextSelection({from:K-1,to:H}).toggleLink({href:P.getAttributes("link").href}).setTextSelection({from:H,to:H}).run(),P.getText().trim()===""){e("update:modelValue","");return}e("update:modelValue",P.getHTML())}});c.watch(()=>t.modelValue,P=>{i.value.getHTML()!==P&&i.value.commands.setContent(P,!0,{preserveWhitespace:"full"})});const l=c.computed(()=>t.state===!1?"is-invalid":null),a=c.computed(()=>g("bold")),u=c.computed(()=>g("italic")),d=c.computed(()=>g("underline")),f=c.computed(()=>g("bulletList")),h=c.computed(()=>g("orderedList")),p=c.computed(()=>g("link")),m=c.computed(()=>t.variant===Zl.FULL),g=P=>i.value&&i.value.isActive(P)?"active":null,v=c.computed(()=>t.files&&t.files.length>0?_a(t.files,!1):null),C=c.computed(()=>t.files&&t.files.length>0?_a(t.files,!0):null),w=P=>{e("action",{name:"delete-attachment",obj:P})},E=P=>{e("action",{name:"image-attachment",obj:P})},y=c.computed(()=>{if(!i.value)return!1;const{from:P,to:Y}=i.value.state.selection;return P!==Y}),x=c.computed(()=>y.value?"Voeg een link toe":"Selecteer eerst tekst"),A=c.ref(!1),I=c.ref(""),B=c.ref(null),R=()=>{I.value=i.value.getAttributes("link").href||"",A.value=!0},U=P=>{if(A.value=!1,!P){i.value.chain().focus().unsetLink().run();return}/^www\./i.test(P)&&(P=`https://${P}`),i.value.chain().focus().toggleLink({href:P}).run()},$=()=>{A.value=!1};return(P,Y)=>(c.openBlock(),c.createElementBlock(c.Fragment,null,[c.createElementVNode("div",{class:c.normalizeClass(["bd-markdown-editor",l.value])},[c.createVNode(c.unref(OT),{editor:c.unref(i)},null,8,["editor"]),P.pills?(c.openBlock(),c.createElementBlock("div",aI,[c.createElementVNode("ul",lI,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(P.pills,(G,K)=>(c.openBlock(),c.createElementBlock("li",{key:K,class:"pills-list__li"},[c.createVNode($a,c.normalizeProps(c.guardReactiveProps(G)),null,16)]))),128))])])):c.createCommentVNode("",!0),c.renderSlot(P.$slots,"default"),v.value?(c.openBlock(),c.createBlock(ol,{key:1,files:v.value,"no-download":!0,"show-delete":!0,onDelete:w},null,8,["files"])):c.createCommentVNode("",!0),C.value?(c.openBlock(),c.createBlock(sl,{key:2,files:C.value,"no-download":!0,"show-delete":!0,onDelete:w,onShow:E},null,8,["files"])):c.createCommentVNode("",!0),c.createElementVNode("div",cI,[c.createVNode(Qe,{variant:"light",type:"button",onClick:r},{default:c.withCtx(()=>[c.createVNode(c.unref(Jr))]),_:1}),m.value?(c.openBlock(),c.createElementBlock("div",uI)):c.createCommentVNode("",!0),m.value?(c.openBlock(),c.createBlock(Qe,{key:1,variant:"light",type:"button",class:c.normalizeClass(a.value),onClick:Y[0]||(Y[0]=G=>c.unref(i).chain().focus().toggleBold().run())},{default:c.withCtx(()=>[c.createVNode(c.unref(cu))]),_:1},8,["class"])):c.createCommentVNode("",!0),m.value?(c.openBlock(),c.createBlock(Qe,{key:2,variant:"light",type:"button",class:c.normalizeClass(u.value),onClick:Y[1]||(Y[1]=G=>c.unref(i).chain().focus().toggleItalic().run())},{default:c.withCtx(()=>[c.createVNode(c.unref(vu))]),_:1},8,["class"])):c.createCommentVNode("",!0),m.value?(c.openBlock(),c.createBlock(Qe,{key:3,variant:"light",type:"button",class:c.normalizeClass(d.value),onClick:Y[2]||(Y[2]=G=>c.unref(i).chain().focus().toggleUnderline().run())},{default:c.withCtx(()=>[c.createVNode(c.unref(Tu))]),_:1},8,["class"])):c.createCommentVNode("",!0),m.value?(c.openBlock(),c.createBlock(Qe,{key:4,variant:"light",type:"button",class:c.normalizeClass(f.value),onClick:Y[3]||(Y[3]=G=>c.unref(i).chain().focus().toggleBulletList().run())},{default:c.withCtx(()=>[c.createVNode(c.unref(uu))]),_:1},8,["class"])):c.createCommentVNode("",!0),m.value?(c.openBlock(),c.createBlock(Qe,{key:5,variant:"light",type:"button",class:c.normalizeClass(h.value),onClick:Y[4]||(Y[4]=G=>c.unref(i).chain().focus().toggleOrderedList().run())},{default:c.withCtx(()=>[c.createVNode(c.unref(Eu))]),_:1},8,["class"])):c.createCommentVNode("",!0),c.withDirectives((c.openBlock(),c.createElementBlock("span",null,[m.value?(c.openBlock(),c.createBlock(Qe,{key:0,ref_key:"linkButton",ref:B,variant:"light",type:"button",class:c.normalizeClass(p.value),onClick:R,disabled:!y.value},{default:c.withCtx(()=>[c.createVNode(c.unref(Ba))]),_:1},8,["class","disabled"])):c.createCommentVNode("",!0)])),[[c.unref(Xs),x.value]])]),A.value?(c.openBlock(),c.createBlock(NS,{key:3,previousUrl:I.value,onSubmit:U,onCancel:$},null,8,["previousUrl"])):c.createCommentVNode("",!0)],2),c.createVNode(Va,{text:t.errorText,state:t.state},null,8,["text","state"])],64))}}),dI={class:"header"},fI=c.createElementVNode("div",null,"Menu",-1),hI={class:"icon-close-wrapper"},pI={class:"navbar"},mI={class:"nav navbar-nav w-100"},gI={class:"nav-item"},vI={class:"nav-item"},Ed=c.defineComponent({__name:"BDMobileMenu",props:{active:{type:Boolean,default:void 0},options:{}},emits:["hide","signout"],setup(n,{emit:e}){const t=n,r=c.computed(()=>({active:t.active===!0,inactive:t.active===!1})),o=()=>e("hide"),s=()=>e("signout");return(i,l)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(["bd-mobile-menu",r.value])},[c.createElementVNode("div",dI,[fI,c.createElementVNode("div",hI,[c.createVNode(Da,{onClick:o})])]),c.createElementVNode("nav",pI,[c.createElementVNode("ul",mI,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(t.options,a=>(c.openBlock(),c.createElementBlock("li",gI,[c.createVNode(Zr,c.mergeProps({class:"nav-link"},a,{onClick:o}),null,16)]))),256)),c.renderSlot(i.$slots,"special-options"),c.createElementVNode("li",vI,[c.createVNode(Zr,{class:"nav-link",text:"Uitloggen",onClick:s})])])])],2))}}),yI={class:"bd-user"},EI={class:"bd-user__information"},CI={class:"text-break"},bI={class:"overflow-x-hidden"},$2=c.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=c.computed(()=>{var r;return typeof e.details=="string"?e.details:(r=e.details)==null?void 0:r.join(" • ")});return(r,o)=>(c.openBlock(),c.createElementBlock("div",yI,[e.hideImage?c.createCommentVNode("",!0):(c.openBlock(),c.createBlock(Hs,c.mergeProps({key:0},e.img,{size:"sm"}),null,16)),c.createElementVNode("div",EI,[c.createElementVNode("header",null,[c.createElementVNode("h5",CI,c.toDisplayString(e.name),1),c.renderSlot(r.$slots,"header-extra")]),c.createElementVNode("span",bI,c.toDisplayString(t.value),1)])]))}}),AI={class:"bd-chat-cloud-card"},wI={class:"bd-chat-cloud-card__header"},TI={class:"bd-chat-cloud-card__body"},SI=["innerHTML"],kI={class:"bd-chat-cloud-card__footer"},_I={key:0,class:"pills-list__wrapper"},xI={class:"pills-list__ul"},U2=c.defineComponent({__name:"BDChatCloud",props:{headerTitle:{default:""},src:{default:void 0},username:{default:null},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=c.computed(()=>t.isSender?"sender":Fe),o=c.computed(()=>_a(t.files,!1)),s=c.computed(()=>_a(t.files,!0)),i=()=>{e("action","copy-message")},l=a=>{e("show-attachment",a)};return(a,u)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(["bd-chat-cloud",r.value])},[c.createVNode(Hs,{src:t.src,username:t.username,size:"sm"},null,8,["src","username"]),c.createElementVNode("div",AI,[c.createElementVNode("div",wI,[c.renderSlot(a.$slots,"header",{},()=>[c.createTextVNode(c.toDisplayString(a.headerTitle),1)]),c.createVNode(Qe,{variant:"outline-primary-dark",size:"sm",onClick:i},{default:c.withCtx(()=>[c.createTextVNode(" kopieer ")]),_:1})]),c.createElementVNode("div",TI,[c.renderSlot(a.$slots,"body",{},()=>[c.createElementVNode("div",{class:"bd-chat-cloud-card__message",innerHTML:t.message},null,8,SI)])]),c.createElementVNode("div",kI,[c.renderSlot(a.$slots,"footer",{},()=>[a.pills?(c.openBlock(),c.createElementBlock("div",_I,[c.createElementVNode("ul",xI,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(a.pills,(d,f)=>(c.openBlock(),c.createElementBlock("li",{key:f,class:"pills-list__li"},[c.createVNode($a,c.normalizeProps(c.guardReactiveProps(d)),null,16)]))),128))])])):c.createCommentVNode("",!0),o.value&&o.value.length>0?(c.openBlock(),c.createBlock(ol,{key:1,files:o.value},null,8,["files"])):c.createCommentVNode("",!0),s.value&&s.value.length>0?(c.openBlock(),c.createBlock(sl,{key:2,"fast-download":!0,files:s.value,onShow:l},null,8,["files"])):c.createCommentVNode("",!0)])])])],2))}}),NI=c.defineComponent({__name:"BDTableSortHeader",props:["active","label","sortDesc"],emits:["sortAsc","sortDesc"],setup(n,{emit:e}){const t=n,r=c.ref(t.sortDesc),o=()=>{t.active&&(r.value=!r.value)},s=()=>{if(!t.active)return;const l=r.value?"sortDesc":"sortAsc";e(l)},i=c.computed(()=>({"bd-table-sort":!0,active:t.active}));return c.watch(()=>t.active,(l,a)=>{l&&!a&&(r.value=!1,e("sortAsc"))}),s(),(l,a)=>(c.openBlock(),c.createElementBlock("th",{class:c.normalizeClass(i.value),onClick:a[0]||(a[0]=u=>{o(),s()})},[c.createElementVNode("span",null,c.toDisplayString(t.label),1),t.active&&!r.value?(c.openBlock(),c.createBlock(c.unref(Cu),{key:0})):t.active&&r.value?(c.openBlock(),c.createBlock(c.unref(bu),{key:1})):(c.openBlock(),c.createBlock(c.unref(Au),{key:2}))],2))}}),II={class:"bd-table"},MI={key:0,class:"table"},OI={key:1},LI=["onClick"],DI={key:0},RI={key:1,class:"empty-text"},z2=c.defineComponent({__name:"BDTable",props:["fields","items","sortBy","sortDesc","tbodyTrClass","emptyText"],emits:["row-click","sort-changed"],setup(n,{expose:e,emit:t}){const r=n,o=c.ref(r.items),s=c.ref(r.sortBy),i=f=>s.value=f,l=(f,h,p)=>{const m=h[f],g=p[f];if(m==null)return 1;if(g==null)return-1;const v=m.toString(),C=g.toString();return v.localeCompare(C,void 0,{numeric:!0})},a=f=>{o.value=o.value.sort((p,m)=>l(f,p,m)),t("sort-changed",{sortBy:f,sortDesc:!1})},u=f=>{o.value=o.value.sort((p,m)=>l(f,m,p)),t("sort-changed",{sortBy:f,sortDesc:!0})},d=()=>{o.value=r.items};return c.watch(()=>r.items,f=>{o.value=f}),e({Refresh:d}),(f,h)=>(c.openBlock(),c.createElementBlock("div",II,[r.items&&r.items.length>0?(c.openBlock(),c.createElementBlock("table",MI,[c.createElementVNode("thead",null,[c.createElementVNode("tr",null,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(r.fields,p=>(c.openBlock(),c.createElementBlock(c.Fragment,null,[p.isVisible?(c.openBlock(),c.createElementBlock(c.Fragment,{key:0},[p.sortable?(c.openBlock(),c.createBlock(NI,{key:0,label:p.label,active:p.key==s.value,sortDesc:r.sortDesc,onClick:m=>i(p.key),onSortAsc:m=>a(p.key),onSortDesc:m=>u(p.key)},null,8,["label","active","sortDesc","onClick","onSortAsc","onSortDesc"])):(c.openBlock(),c.createElementBlock("th",OI,c.toDisplayString(p.label),1))],64)):c.createCommentVNode("",!0)],64))),256))])]),c.createElementVNode("tbody",null,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(o.value,p=>(c.openBlock(),c.createElementBlock("tr",{class:c.normalizeClass(r.tbodyTrClass&&r.tbodyTrClass(p)),onClick:m=>t("row-click",p)},[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(n.fields,m=>(c.openBlock(),c.createElementBlock(c.Fragment,null,[m.isVisible?(c.openBlock(),c.createElementBlock("td",DI,[f.$slots.hasOwnProperty(m.key)?c.renderSlot(f.$slots,m.key,{key:0,row:p,item:p,value:p[m.key]}):(c.openBlock(),c.createElementBlock(c.Fragment,{key:1},[c.createTextVNode(c.toDisplayString(p[m.key]),1)],64))])):c.createCommentVNode("",!0)],64))),256))],10,LI))),256))])])):(c.openBlock(),c.createElementBlock("p",RI,c.toDisplayString(r.emptyText),1))]))}}),BI=["id"],PI={key:0,class:"toast-body__title"},FI={class:"actions"},VI=["textContent"],$I=["textContent"],UI={class:"icon-wrapper"},zI=["textContent"],HI=["textContent"],fp=3e4,hp=5e3,H2=c.defineComponent({__name:"BDVideoCallToast",props:{id:{},contactInfoReceiver:{},isSender:{type:Boolean},firstNameSender:{},canceled:{type:Boolean},disabled:{type:Boolean},localization:{}},emits:["reject-video-call","accept-video-call"],setup(n,{emit:e}){const t=n;let r=c.ref(!1),o=c.ref(!1),s=null,i=null;const l=c.computed(()=>{let w="video-call-toast";return t.id&&(w+=`-${t.id}`),w}),a=c.computed(()=>r.value?[r.value?"is-handled":Fe,o.value?"is-handled--success":Fe,t.canceled?"is-handled--canceled":Fe].join(" "):Fe),u=c.computed(()=>t.canceled?t.localization.videoCallCanceled:o.value?t.localization.videoCallAccepted:t.localization.videoCallRejected),d=c.computed(()=>t.canceled?`${t.firstNameSender}${t.localization.notifyCallerWhenCanceled}`:t.isSender?t.contactInfoReceiver?`${t.contactInfoReceiver.name}${t.localization.notifyCallerWhenRejected}`:t.localization.notifyCallerWhenRejected:o.value?t.localization.openNewTabWhenAccepted:`${t.localization.notifyReceiverWhenRejected.start}${t.firstNameSender}${t.localization.notifyReceiverWhenRejected.end}`.replace(/\s\s+/g," "));c.watch(()=>t.canceled,()=>{r.value=!0});const f=()=>{const w=l.value,E=document.querySelector(`#${w}`);if(E){E.addEventListener("hide.bs.toast",C);var y={autohide:!0,delay:fp+hp};i=ts.getOrCreateInstance(E,y),i.show(),s=window.setTimeout(h,fp)}};c.onMounted(f);const h=()=>{r.value||m()},p=()=>{m(),v()},m=()=>{r.value||(r.value=!0,e("reject-video-call",t.id))},g=()=>{r.value=!0,o.value=!0,e("accept-video-call",t.id),v()},v=()=>{window.clearTimeout(s),window.setTimeout(()=>i.hide(),hp)},C=()=>{r.value=!1,o.value=!1};return(w,E)=>(c.openBlock(),c.createElementBlock("div",{id:l.value,class:"toast bd-video-call-toast",role:"alert","aria-live":"assertive","aria-atomic":"true"},[c.unref(r)?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",PI,c.toDisplayString(t.localization.incomingVideoCall),1)),c.createElementVNode("div",{class:c.normalizeClass(["toast-body__main",a.value])},[c.unref(r)?(c.openBlock(),c.createElementBlock(c.Fragment,{key:1},[c.createElementVNode("div",UI,[c.createVNode(Ii)]),c.createElementVNode("div",null,[c.createElementVNode("p",{textContent:c.toDisplayString(u.value),class:"title"},null,8,zI),c.createElementVNode("p",{textContent:c.toDisplayString(d.value)},null,8,HI)])],64)):(c.openBlock(),c.createElementBlock(c.Fragment,{key:0},[c.createVNode(_u,{value:w.contactInfoReceiver},null,8,["value"]),c.createElementVNode("div",FI,[c.createVNode(Qe,{variant:"danger",class:"text-center",onClick:p},{default:c.withCtx(()=>[c.createVNode(du),c.createElementVNode("span",{textContent:c.toDisplayString(t.localization.rejectVideoCall)},null,8,VI)]),_:1}),c.createVNode(Qe,{variant:"success",class:"text-center",onClick:g},{default:c.withCtx(()=>[c.createVNode(Ii),c.createElementVNode("span",{textContent:c.toDisplayString(t.localization.acceptVideoCall)},null,8,$I)]),_:1})])],64))],2)],8,BI))}}),Cd=c.defineComponent({__name:"BDDropdown",props:{size:{default:Tt.MD},variant:{default:Pa.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}=Qo(),r=`__BD__DROPDOWN__${t.value}`,o=c.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})),s=c.computed(()=>({"dropdown-menu-end":e.right,"dropdown-menu-action":e.actionToggle})),i=c.computed(()=>({"aria-labelledby":r})),l=c.ref(),a=c.ref(),u=()=>{l.value.classList.remove("show"),a.value.classList.remove("show"),a.value.removeAttribute("aria-expanded")};return(d,f)=>(c.openBlock(),c.createElementBlock("div",{class:"bd-dropdown dropdown",onClick:f[0]||(f[0]=c.withModifiers(()=>{},["stop"]))},[(c.openBlock(),c.createBlock(c.resolveDynamicComponent(e.toggleTag),c.mergeProps({ref_key:"dropdownToggle",ref:a,class:"dropdown-toggle",target:"_self",role:"button","data-bs-toggle":"dropdown"},o.value),{default:c.withCtx(()=>[c.createElementVNode("span",null,c.toDisplayString(e.text),1)]),_:1},16)),c.createElementVNode("ul",c.mergeProps({ref_key:"dropdownMenu",ref:l,class:["dropdown-menu",s.value]},i.value,{onClick:u}),[c.renderSlot(d.$slots,"default")],16)]))}}),jI={class:"row bd-header"},WI={class:"col logo-mix"},KI=["src"],YI=c.createElementVNode("div",null,"Menu",-1),GI={key:1,class:"col header-options"},QI={class:"col bd-btn-settings"},ZI={key:2},bd=c.defineComponent({__name:"BDHeader",props:{isEmbedded:{type:Boolean},dropdownMenuTitle:{},dropdownOptions:{},headerOptions:{},profileImageSrc:{},profileImageAlt:{},organizationLogoSrc:{},hasLogoutOption:{type:Boolean,default:!0}},emits:["click-logo","signout"],setup(n,{emit:e}){const t=n,r=c.computed(()=>{let d=[];return t.isEmbedded||(t.headerOptions&&(d=d.concat(t.headerOptions)),t.dropdownOptions&&(d=d.concat(t.dropdownOptions))),d}),o=c.computed(()=>!t.isEmbedded&&t.headerOptions&&t.headerOptions.length!==0),s=c.ref(void 0),i=()=>{t.isEmbedded||e("click-logo")},l=()=>e("signout"),a=()=>s.value=!0,u=()=>s.value=!1;return(d,f)=>(c.openBlock(),c.createElementBlock(c.Fragment,null,[c.createElementVNode("nav",jI,[c.createElementVNode("div",WI,[c.createVNode(lu,{viewBox:"0 0 351 61",class:"logo bd-logo",onClick:i}),t.organizationLogoSrc?(c.openBlock(),c.createElementBlock("img",{key:0,class:"logo organization-logo",src:t.organizationLogoSrc,alt:""},null,8,KI)):c.createCommentVNode("",!0)]),t.isEmbedded?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",{key:0,class:"col bd-hamburger",onClick:a},[YI,c.createVNode(yu)])),o.value?(c.openBlock(),c.createElementBlock("div",GI,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(t.headerOptions,h=>(c.openBlock(),c.createBlock(Qe,{class:"btn-header",to:h.to,variant:"neutral"},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(h.text),1)]),_:2},1032,["to"]))),256))])):c.createCommentVNode("",!0),c.createElementVNode("div",QI,[t.isEmbedded?c.createCommentVNode("",!0):c.renderSlot(d.$slots,"profile-side",{key:0}),t.profileImageSrc?(c.openBlock(),c.createBlock(Hs,{key:1,src:t.profileImageSrc,alt:t.profileImageAlt,size:"sm"},null,8,["src","alt"])):c.createCommentVNode("",!0),t.isEmbedded?(c.openBlock(),c.createElementBlock("span",ZI,c.toDisplayString(t.dropdownMenuTitle),1)):c.createCommentVNode("",!0),t.isEmbedded?c.createCommentVNode("",!0):(c.openBlock(),c.createBlock(Cd,{key:3,text:t.dropdownMenuTitle,variant:"primary",toggleTag:"a",right:!0},{default:c.withCtx(()=>[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(t.dropdownOptions,(h,p)=>(c.openBlock(),c.createBlock(Oi,c.mergeProps({key:p},h),null,16))),128)),t.hasLogoutOption?(c.openBlock(),c.createBlock(Oi,{key:0,text:"Uitloggen",onClick:l})):c.createCommentVNode("",!0)]),_:1},8,["text"]))])]),t.isEmbedded?c.createCommentVNode("",!0):(c.openBlock(),c.createBlock(Ed,{key:0,active:s.value,options:r.value,onHide:u,onSignout:l},{"special-options":c.withCtx(()=>[c.renderSlot(d.$slots,"mobile-menu-special-options")]),_:3},8,["active","options"]))],64))}});/*!
183
183
  * shared v9.14.4
184
184
  * (c) 2025 kazuya kawaguchi
185
185
  * Released under the MIT License.
186
- */const Yn=typeof window<"u";let zt,ro;if(process.env.NODE_ENV!=="production"){const n=Yn&&window.performance;n&&n.mark&&n.measure&&n.clearMarks&&n.clearMeasures&&(zt=e=>{n.mark(e)},ro=(e,t,r)=>{n.measure(e,t,r),n.clearMarks(t),n.clearMarks(r)})}const eM=/\{([0-9a-zA-Z]+)\}/g;function Ad(n,...e){return e.length===1&&He(e[0])&&(e=e[0]),(!e||!e.hasOwnProperty)&&(e={}),n.replace(eM,(t,r)=>e.hasOwnProperty(r)?e[r]:"")}const Zn=(n,e=!1)=>e?Symbol.for(n):Symbol(n),tM=(n,e,t)=>nM({l:n,k:e,s:t}),nM=n=>JSON.stringify(n).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),ct=n=>typeof n=="number"&&isFinite(n),rM=n=>W2(n)==="[object Date]",Wo=n=>W2(n)==="[object RegExp]",ul=n=>Ue(n)&&Object.keys(n).length===0,yt=Object.assign,oM=Object.create,Ke=(n=null)=>oM(n);let pp;const zn=()=>pp||(pp=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:Ke());function mp(n){return n.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const sM=Object.prototype.hasOwnProperty;function un(n,e){return sM.call(n,e)}const st=Array.isArray,Ge=n=>typeof n=="function",Se=n=>typeof n=="string",Ye=n=>typeof n=="boolean",He=n=>n!==null&&typeof n=="object",iM=n=>He(n)&&Ge(n.then)&&Ge(n.catch),j2=Object.prototype.toString,W2=n=>j2.call(n),Ue=n=>{if(!He(n))return!1;const e=Object.getPrototypeOf(n);return e===null||e.constructor===Object},aM=n=>n==null?"":st(n)||Ue(n)&&n.toString===j2?JSON.stringify(n,null,2):String(n);function lM(n,e=""){return n.reduce((t,r,o)=>o===0?t+r:t+e+r,"")}const gp=2;function cM(n,e=0,t=n.length){const r=n.split(/\r?\n/);let o=0;const s=[];for(let i=0;i<r.length;i++)if(o+=r[i].length+1,o>=e){for(let l=i-gp;l<=i+gp||t>o;l++){if(l<0||l>=r.length)continue;const a=l+1;s.push(`${a}${" ".repeat(3-String(a).length)}| ${r[l]}`);const u=r[l].length;if(l===i){const d=e-(o-u)+1,f=Math.max(1,t>o?u-d:t-e);s.push(" | "+" ".repeat(d)+"^".repeat(f))}else if(l>i){if(t>o){const d=Math.max(Math.min(t-o,u),1);s.push(" | "+"^".repeat(d))}o+=u+1}}break}return s.join(`
187
- `)}function dl(n){let e=n;return()=>++e}function Jn(n,e){typeof console<"u"&&(console.warn("[intlify] "+n),e&&console.warn(e.stack))}const vp={};function K2(n){vp[n]||(vp[n]=!0,Jn(n))}function uM(){const n=new Map;return{events:n,on(t,r){const o=n.get(t);o&&o.push(r)||n.set(t,[r])},off(t,r){const o=n.get(t);o&&o.splice(o.indexOf(r)>>>0,1)},emit(t,r){(n.get(t)||[]).slice().map(o=>o(r)),(n.get("*")||[]).slice().map(o=>o(t,r))}}}const Ei=n=>!He(n)||st(n);function xi(n,e){if(Ei(n)||Ei(e))throw new Error("Invalid value");const t=[{src:n,des:e}];for(;t.length;){const{src:r,des:o}=t.pop();Object.keys(r).forEach(s=>{s!=="__proto__"&&(He(r[s])&&!He(o[s])&&(o[s]=Array.isArray(r[s])?[]:Ke()),Ei(o[s])||Ei(r[s])?o[s]=r[s]:t.push({src:r[s],des:o[s]}))})}}/*!
186
+ */const Yn=typeof window<"u";let zt,ro;if(process.env.NODE_ENV!=="production"){const n=Yn&&window.performance;n&&n.mark&&n.measure&&n.clearMarks&&n.clearMeasures&&(zt=e=>{n.mark(e)},ro=(e,t,r)=>{n.measure(e,t,r),n.clearMarks(t),n.clearMarks(r)})}const JI=/\{([0-9a-zA-Z]+)\}/g;function Ad(n,...e){return e.length===1&&He(e[0])&&(e=e[0]),(!e||!e.hasOwnProperty)&&(e={}),n.replace(JI,(t,r)=>e.hasOwnProperty(r)?e[r]:"")}const Zn=(n,e=!1)=>e?Symbol.for(n):Symbol(n),XI=(n,e,t)=>qI({l:n,k:e,s:t}),qI=n=>JSON.stringify(n).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),ct=n=>typeof n=="number"&&isFinite(n),eM=n=>W2(n)==="[object Date]",Wo=n=>W2(n)==="[object RegExp]",ul=n=>Ue(n)&&Object.keys(n).length===0,yt=Object.assign,tM=Object.create,Ke=(n=null)=>tM(n);let pp;const zn=()=>pp||(pp=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:Ke());function mp(n){return n.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const nM=Object.prototype.hasOwnProperty;function un(n,e){return nM.call(n,e)}const st=Array.isArray,Ge=n=>typeof n=="function",Se=n=>typeof n=="string",Ye=n=>typeof n=="boolean",He=n=>n!==null&&typeof n=="object",rM=n=>He(n)&&Ge(n.then)&&Ge(n.catch),j2=Object.prototype.toString,W2=n=>j2.call(n),Ue=n=>{if(!He(n))return!1;const e=Object.getPrototypeOf(n);return e===null||e.constructor===Object},oM=n=>n==null?"":st(n)||Ue(n)&&n.toString===j2?JSON.stringify(n,null,2):String(n);function sM(n,e=""){return n.reduce((t,r,o)=>o===0?t+r:t+e+r,"")}const gp=2;function iM(n,e=0,t=n.length){const r=n.split(/\r?\n/);let o=0;const s=[];for(let i=0;i<r.length;i++)if(o+=r[i].length+1,o>=e){for(let l=i-gp;l<=i+gp||t>o;l++){if(l<0||l>=r.length)continue;const a=l+1;s.push(`${a}${" ".repeat(3-String(a).length)}| ${r[l]}`);const u=r[l].length;if(l===i){const d=e-(o-u)+1,f=Math.max(1,t>o?u-d:t-e);s.push(" | "+" ".repeat(d)+"^".repeat(f))}else if(l>i){if(t>o){const d=Math.max(Math.min(t-o,u),1);s.push(" | "+"^".repeat(d))}o+=u+1}}break}return s.join(`
187
+ `)}function dl(n){let e=n;return()=>++e}function Jn(n,e){typeof console<"u"&&(console.warn("[intlify] "+n),e&&console.warn(e.stack))}const vp={};function K2(n){vp[n]||(vp[n]=!0,Jn(n))}function aM(){const n=new Map;return{events:n,on(t,r){const o=n.get(t);o&&o.push(r)||n.set(t,[r])},off(t,r){const o=n.get(t);o&&o.splice(o.indexOf(r)>>>0,1)},emit(t,r){(n.get(t)||[]).slice().map(o=>o(r)),(n.get("*")||[]).slice().map(o=>o(t,r))}}}const Ei=n=>!He(n)||st(n);function xi(n,e){if(Ei(n)||Ei(e))throw new Error("Invalid value");const t=[{src:n,des:e}];for(;t.length;){const{src:r,des:o}=t.pop();Object.keys(r).forEach(s=>{s!=="__proto__"&&(He(r[s])&&!He(o[s])&&(o[s]=Array.isArray(r[s])?[]:Ke()),Ei(o[s])||Ei(r[s])?o[s]=r[s]:t.push({src:r[s],des:o[s]}))})}}/*!
188
188
  * message-compiler v9.14.4
189
189
  * (c) 2025 kazuya kawaguchi
190
190
  * Released under the MIT License.
191
- */function dM(n,e,t){return{line:n,column:e,offset:t}}function Ma(n,e,t){const r={start:n,end:e};return t!=null&&(r.source=t),r}const fM=/\{([0-9a-zA-Z]+)\}/g;function Y2(n,...e){return e.length===1&&hM(e[0])&&(e=e[0]),(!e||!e.hasOwnProperty)&&(e={}),n.replace(fM,(t,r)=>e.hasOwnProperty(r)?e[r]:"")}const G2=Object.assign,yp=n=>typeof n=="string",hM=n=>n!==null&&typeof n=="object";function Q2(n,e=""){return n.reduce((t,r,o)=>o===0?t+r:t+e+r,"")}const fl={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},pM={[fl.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function mM(n,e,...t){const r=Y2(pM[n]||"",...t||[]),o={message:String(r),code:n};return e&&(o.location=e),o}const Oe={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},gM={[Oe.EXPECTED_TOKEN]:"Expected token: '{0}'",[Oe.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[Oe.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[Oe.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[Oe.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[Oe.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[Oe.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[Oe.EMPTY_PLACEHOLDER]:"Empty placeholder",[Oe.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[Oe.INVALID_LINKED_FORMAT]:"Invalid linked format",[Oe.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[Oe.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[Oe.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[Oe.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[Oe.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[Oe.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function ns(n,e,t={}){const{domain:r,messages:o,args:s}=t,i=Y2((o||gM)[n]||"",...s||[]),l=new SyntaxError(String(i));return l.code=n,e&&(l.location=e),l.domain=r,l}function vM(n){throw n}const yM=/<\/?[\w\s="/.':;#-\/]+>/,EM=n=>yM.test(n),Pn=" ",CM="\r",wt=`
192
- `,bM=String.fromCharCode(8232),AM=String.fromCharCode(8233);function wM(n){const e=n;let t=0,r=1,o=1,s=0;const i=I=>e[I]===CM&&e[I+1]===wt,l=I=>e[I]===wt,a=I=>e[I]===AM,u=I=>e[I]===bM,d=I=>i(I)||l(I)||a(I)||u(I),f=()=>t,h=()=>r,p=()=>o,m=()=>s,g=I=>i(I)||a(I)||u(I)?wt:e[I],v=()=>g(t),C=()=>g(t+s);function w(){return s=0,d(t)&&(r++,o=0),i(t)&&t++,t++,o++,e[t]}function E(){return i(t+s)&&s++,s++,e[t+s]}function y(){t=0,r=1,o=1,s=0}function x(I=0){s=I}function A(){const I=t+s;for(;I!==t;)w();s=0}return{index:f,line:h,column:p,peekOffset:m,charAt:g,currentChar:v,currentPeek:C,next:w,peek:E,reset:y,resetPeek:x,skipToPeek:A}}const nr=void 0,TM=".",Ep="'",SM="tokenizer";function kM(n,e={}){const t=e.location!==!1,r=wM(n),o=()=>r.index(),s=()=>dM(r.line(),r.column(),r.index()),i=s(),l=o(),a={currentType:14,offset:l,startLoc:i,endLoc:i,lastType:14,lastOffset:l,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},u=()=>a,{onError:d}=e;function f(S,k,V,...Q){const ie=u();if(k.column+=V,k.offset+=V,d){const he=t?Ma(ie.startLoc,k):null,Ae=ns(S,he,{domain:SM,args:Q});d(Ae)}}function h(S,k,V){S.endLoc=s(),S.currentType=k;const Q={type:k};return t&&(Q.loc=Ma(S.startLoc,S.endLoc)),V!=null&&(Q.value=V),Q}const p=S=>h(S,14);function m(S,k){return S.currentChar()===k?(S.next(),k):(f(Oe.EXPECTED_TOKEN,s(),0,k),"")}function g(S){let k="";for(;S.currentPeek()===Pn||S.currentPeek()===wt;)k+=S.currentPeek(),S.peek();return k}function v(S){const k=g(S);return S.skipToPeek(),k}function C(S){if(S===nr)return!1;const k=S.charCodeAt(0);return k>=97&&k<=122||k>=65&&k<=90||k===95}function w(S){if(S===nr)return!1;const k=S.charCodeAt(0);return k>=48&&k<=57}function E(S,k){const{currentType:V}=k;if(V!==2)return!1;g(S);const Q=C(S.currentPeek());return S.resetPeek(),Q}function y(S,k){const{currentType:V}=k;if(V!==2)return!1;g(S);const Q=S.currentPeek()==="-"?S.peek():S.currentPeek(),ie=w(Q);return S.resetPeek(),ie}function x(S,k){const{currentType:V}=k;if(V!==2)return!1;g(S);const Q=S.currentPeek()===Ep;return S.resetPeek(),Q}function A(S,k){const{currentType:V}=k;if(V!==8)return!1;g(S);const Q=S.currentPeek()===".";return S.resetPeek(),Q}function I(S,k){const{currentType:V}=k;if(V!==9)return!1;g(S);const Q=C(S.currentPeek());return S.resetPeek(),Q}function B(S,k){const{currentType:V}=k;if(!(V===8||V===12))return!1;g(S);const Q=S.currentPeek()===":";return S.resetPeek(),Q}function R(S,k){const{currentType:V}=k;if(V!==10)return!1;const Q=()=>{const he=S.currentPeek();return he==="{"?C(S.peek()):he==="@"||he==="%"||he==="|"||he===":"||he==="."||he===Pn||!he?!1:he===wt?(S.peek(),Q()):P(S,!1)},ie=Q();return S.resetPeek(),ie}function U(S){g(S);const k=S.currentPeek()==="|";return S.resetPeek(),k}function $(S){const k=g(S),V=S.currentPeek()==="%"&&S.peek()==="{";return S.resetPeek(),{isModulo:V,hasSpace:k.length>0}}function P(S,k=!0){const V=(ie=!1,he="",Ae=!1)=>{const q=S.currentPeek();return q==="{"?he==="%"?!1:ie:q==="@"||!q?he==="%"?!0:ie:q==="%"?(S.peek(),V(ie,"%",!0)):q==="|"?he==="%"||Ae?!0:!(he===Pn||he===wt):q===Pn?(S.peek(),V(!0,Pn,Ae)):q===wt?(S.peek(),V(!0,wt,Ae)):!0},Q=V();return k&&S.resetPeek(),Q}function Y(S,k){const V=S.currentChar();return V===nr?nr:k(V)?(S.next(),V):null}function G(S){const k=S.charCodeAt(0);return k>=97&&k<=122||k>=65&&k<=90||k>=48&&k<=57||k===95||k===36}function K(S){return Y(S,G)}function H(S){const k=S.charCodeAt(0);return k>=97&&k<=122||k>=65&&k<=90||k>=48&&k<=57||k===95||k===36||k===45}function J(S){return Y(S,H)}function z(S){const k=S.charCodeAt(0);return k>=48&&k<=57}function ee(S){return Y(S,z)}function ne(S){const k=S.charCodeAt(0);return k>=48&&k<=57||k>=65&&k<=70||k>=97&&k<=102}function ce(S){return Y(S,ne)}function me(S){let k="",V="";for(;k=ee(S);)V+=k;return V}function ve(S){v(S);const k=S.currentChar();return k!=="%"&&f(Oe.EXPECTED_TOKEN,s(),0,k),S.next(),"%"}function Te(S){let k="";for(;;){const V=S.currentChar();if(V==="{"||V==="}"||V==="@"||V==="|"||!V)break;if(V==="%")if(P(S))k+=V,S.next();else break;else if(V===Pn||V===wt)if(P(S))k+=V,S.next();else{if(U(S))break;k+=V,S.next()}else k+=V,S.next()}return k}function ke(S){v(S);let k="",V="";for(;k=J(S);)V+=k;return S.currentChar()===nr&&f(Oe.UNTERMINATED_CLOSING_BRACE,s(),0),V}function Ne(S){v(S);let k="";return S.currentChar()==="-"?(S.next(),k+=`-${me(S)}`):k+=me(S),S.currentChar()===nr&&f(Oe.UNTERMINATED_CLOSING_BRACE,s(),0),k}function Ce(S){return S!==Ep&&S!==wt}function O(S){v(S),m(S,"'");let k="",V="";for(;k=Y(S,Ce);)k==="\\"?V+=D(S):V+=k;const Q=S.currentChar();return Q===wt||Q===nr?(f(Oe.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,s(),0),Q===wt&&(S.next(),m(S,"'")),V):(m(S,"'"),V)}function D(S){const k=S.currentChar();switch(k){case"\\":case"'":return S.next(),`\\${k}`;case"u":return N(S,k,4);case"U":return N(S,k,6);default:return f(Oe.UNKNOWN_ESCAPE_SEQUENCE,s(),0,k),""}}function N(S,k,V){m(S,k);let Q="";for(let ie=0;ie<V;ie++){const he=ce(S);if(!he){f(Oe.INVALID_UNICODE_ESCAPE_SEQUENCE,s(),0,`\\${k}${Q}${S.currentChar()}`);break}Q+=he}return`\\${k}${Q}`}function L(S){return S!=="{"&&S!=="}"&&S!==Pn&&S!==wt}function b(S){v(S);let k="",V="";for(;k=Y(S,L);)V+=k;return V}function T(S){let k="",V="";for(;k=K(S);)V+=k;return V}function _(S){const k=V=>{const Q=S.currentChar();return Q==="{"||Q==="%"||Q==="@"||Q==="|"||Q==="("||Q===")"||!Q||Q===Pn?V:(V+=Q,S.next(),k(V))};return k("")}function M(S){v(S);const k=m(S,"|");return v(S),k}function j(S,k){let V=null;switch(S.currentChar()){case"{":return k.braceNest>=1&&f(Oe.NOT_ALLOW_NEST_PLACEHOLDER,s(),0),S.next(),V=h(k,2,"{"),v(S),k.braceNest++,V;case"}":return k.braceNest>0&&k.currentType===2&&f(Oe.EMPTY_PLACEHOLDER,s(),0),S.next(),V=h(k,3,"}"),k.braceNest--,k.braceNest>0&&v(S),k.inLinked&&k.braceNest===0&&(k.inLinked=!1),V;case"@":return k.braceNest>0&&f(Oe.UNTERMINATED_CLOSING_BRACE,s(),0),V=W(S,k)||p(k),k.braceNest=0,V;default:{let ie=!0,he=!0,Ae=!0;if(U(S))return k.braceNest>0&&f(Oe.UNTERMINATED_CLOSING_BRACE,s(),0),V=h(k,1,M(S)),k.braceNest=0,k.inLinked=!1,V;if(k.braceNest>0&&(k.currentType===5||k.currentType===6||k.currentType===7))return f(Oe.UNTERMINATED_CLOSING_BRACE,s(),0),k.braceNest=0,Z(S,k);if(ie=E(S,k))return V=h(k,5,ke(S)),v(S),V;if(he=y(S,k))return V=h(k,6,Ne(S)),v(S),V;if(Ae=x(S,k))return V=h(k,7,O(S)),v(S),V;if(!ie&&!he&&!Ae)return V=h(k,13,b(S)),f(Oe.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,V.value),v(S),V;break}}return V}function W(S,k){const{currentType:V}=k;let Q=null;const ie=S.currentChar();switch((V===8||V===9||V===12||V===10)&&(ie===wt||ie===Pn)&&f(Oe.INVALID_LINKED_FORMAT,s(),0),ie){case"@":return S.next(),Q=h(k,8,"@"),k.inLinked=!0,Q;case".":return v(S),S.next(),h(k,9,".");case":":return v(S),S.next(),h(k,10,":");default:return U(S)?(Q=h(k,1,M(S)),k.braceNest=0,k.inLinked=!1,Q):A(S,k)||B(S,k)?(v(S),W(S,k)):I(S,k)?(v(S),h(k,12,T(S))):R(S,k)?(v(S),ie==="{"?j(S,k)||Q:h(k,11,_(S))):(V===8&&f(Oe.INVALID_LINKED_FORMAT,s(),0),k.braceNest=0,k.inLinked=!1,Z(S,k))}}function Z(S,k){let V={type:14};if(k.braceNest>0)return j(S,k)||p(k);if(k.inLinked)return W(S,k)||p(k);switch(S.currentChar()){case"{":return j(S,k)||p(k);case"}":return f(Oe.UNBALANCED_CLOSING_BRACE,s(),0),S.next(),h(k,3,"}");case"@":return W(S,k)||p(k);default:{if(U(S))return V=h(k,1,M(S)),k.braceNest=0,k.inLinked=!1,V;const{isModulo:ie,hasSpace:he}=$(S);if(ie)return he?h(k,0,Te(S)):h(k,4,ve(S));if(P(S))return h(k,0,Te(S));break}}return V}function X(){const{currentType:S,offset:k,startLoc:V,endLoc:Q}=a;return a.lastType=S,a.lastOffset=k,a.lastStartLoc=V,a.lastEndLoc=Q,a.offset=o(),a.startLoc=s(),r.currentChar()===nr?h(a,14):Z(r,a)}return{nextToken:X,currentOffset:o,currentPosition:s,context:u}}const _M="parser",xM=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function NM(n,e,t){switch(n){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(e||t,16);return r<=55295||r>=57344?String.fromCodePoint(r):"�"}}}function IM(n={}){const e=n.location!==!1,{onError:t,onWarn:r}=n;function o(E,y,x,A,...I){const B=E.currentPosition();if(B.offset+=A,B.column+=A,t){const R=e?Ma(x,B):null,U=ns(y,R,{domain:_M,args:I});t(U)}}function s(E,y,x,A,...I){const B=E.currentPosition();if(B.offset+=A,B.column+=A,r){const R=e?Ma(x,B):null;r(mM(y,R,I))}}function i(E,y,x){const A={type:E};return e&&(A.start=y,A.end=y,A.loc={start:x,end:x}),A}function l(E,y,x,A){A&&(E.type=A),e&&(E.end=y,E.loc&&(E.loc.end=x))}function a(E,y){const x=E.context(),A=i(3,x.offset,x.startLoc);return A.value=y,l(A,E.currentOffset(),E.currentPosition()),A}function u(E,y){const x=E.context(),{lastOffset:A,lastStartLoc:I}=x,B=i(5,A,I);return B.index=parseInt(y,10),E.nextToken(),l(B,E.currentOffset(),E.currentPosition()),B}function d(E,y,x){const A=E.context(),{lastOffset:I,lastStartLoc:B}=A,R=i(4,I,B);return R.key=y,x===!0&&(R.modulo=!0),E.nextToken(),l(R,E.currentOffset(),E.currentPosition()),R}function f(E,y){const x=E.context(),{lastOffset:A,lastStartLoc:I}=x,B=i(9,A,I);return B.value=y.replace(xM,NM),E.nextToken(),l(B,E.currentOffset(),E.currentPosition()),B}function h(E){const y=E.nextToken(),x=E.context(),{lastOffset:A,lastStartLoc:I}=x,B=i(8,A,I);return y.type!==12?(o(E,Oe.UNEXPECTED_EMPTY_LINKED_MODIFIER,x.lastStartLoc,0),B.value="",l(B,A,I),{nextConsumeToken:y,node:B}):(y.value==null&&o(E,Oe.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,ln(y)),B.value=y.value||"",l(B,E.currentOffset(),E.currentPosition()),{node:B})}function p(E,y){const x=E.context(),A=i(7,x.offset,x.startLoc);return A.value=y,l(A,E.currentOffset(),E.currentPosition()),A}function m(E){const y=E.context(),x=i(6,y.offset,y.startLoc);let A=E.nextToken();if(A.type===9){const I=h(E);x.modifier=I.node,A=I.nextConsumeToken||E.nextToken()}switch(A.type!==10&&o(E,Oe.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,ln(A)),A=E.nextToken(),A.type===2&&(A=E.nextToken()),A.type){case 11:A.value==null&&o(E,Oe.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,ln(A)),x.key=p(E,A.value||"");break;case 5:A.value==null&&o(E,Oe.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,ln(A)),x.key=d(E,A.value||"");break;case 6:A.value==null&&o(E,Oe.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,ln(A)),x.key=u(E,A.value||"");break;case 7:A.value==null&&o(E,Oe.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,ln(A)),x.key=f(E,A.value||"");break;default:{o(E,Oe.UNEXPECTED_EMPTY_LINKED_KEY,y.lastStartLoc,0);const I=E.context(),B=i(7,I.offset,I.startLoc);return B.value="",l(B,I.offset,I.startLoc),x.key=B,l(x,I.offset,I.startLoc),{nextConsumeToken:A,node:x}}}return l(x,E.currentOffset(),E.currentPosition()),{node:x}}function g(E){const y=E.context(),x=y.currentType===1?E.currentOffset():y.offset,A=y.currentType===1?y.endLoc:y.startLoc,I=i(2,x,A);I.items=[];let B=null,R=null;do{const P=B||E.nextToken();switch(B=null,P.type){case 0:P.value==null&&o(E,Oe.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,ln(P)),I.items.push(a(E,P.value||""));break;case 6:P.value==null&&o(E,Oe.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,ln(P)),I.items.push(u(E,P.value||""));break;case 4:R=!0;break;case 5:P.value==null&&o(E,Oe.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,ln(P)),I.items.push(d(E,P.value||"",!!R)),R&&(s(E,fl.USE_MODULO_SYNTAX,y.lastStartLoc,0,ln(P)),R=null);break;case 7:P.value==null&&o(E,Oe.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,ln(P)),I.items.push(f(E,P.value||""));break;case 8:{const Y=m(E);I.items.push(Y.node),B=Y.nextConsumeToken||null;break}}}while(y.currentType!==14&&y.currentType!==1);const U=y.currentType===1?y.lastOffset:E.currentOffset(),$=y.currentType===1?y.lastEndLoc:E.currentPosition();return l(I,U,$),I}function v(E,y,x,A){const I=E.context();let B=A.items.length===0;const R=i(1,y,x);R.cases=[],R.cases.push(A);do{const U=g(E);B||(B=U.items.length===0),R.cases.push(U)}while(I.currentType!==14);return B&&o(E,Oe.MUST_HAVE_MESSAGES_IN_PLURAL,x,0),l(R,E.currentOffset(),E.currentPosition()),R}function C(E){const y=E.context(),{offset:x,startLoc:A}=y,I=g(E);return y.currentType===14?I:v(E,x,A,I)}function w(E){const y=kM(E,G2({},n)),x=y.context(),A=i(0,x.offset,x.startLoc);return e&&A.loc&&(A.loc.source=E),A.body=C(y),n.onCacheKey&&(A.cacheKey=n.onCacheKey(E)),x.currentType!==14&&o(y,Oe.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,E[x.offset]||""),l(A,y.currentOffset(),y.currentPosition()),A}return{parse:w}}function ln(n){if(n.type===14)return"EOF";const e=(n.value||"").replace(/\r?\n/gu,"\\n");return e.length>10?e.slice(0,9)+"…":e}function MM(n,e={}){const t={ast:n,helpers:new Set};return{context:()=>t,helper:s=>(t.helpers.add(s),s)}}function Cp(n,e){for(let t=0;t<n.length;t++)wd(n[t],e)}function wd(n,e){switch(n.type){case 1:Cp(n.cases,e),e.helper("plural");break;case 2:Cp(n.items,e);break;case 6:{wd(n.key,e),e.helper("linked"),e.helper("type");break}case 5:e.helper("interpolate"),e.helper("list");break;case 4:e.helper("interpolate"),e.helper("named");break}}function OM(n,e={}){const t=MM(n);t.helper("normalize"),n.body&&wd(n.body,t);const r=t.context();n.helpers=Array.from(r.helpers)}function LM(n){const e=n.body;return e.type===2?bp(e):e.cases.forEach(t=>bp(t)),n}function bp(n){if(n.items.length===1){const e=n.items[0];(e.type===3||e.type===9)&&(n.static=e.value,delete e.value)}else{const e=[];for(let t=0;t<n.items.length;t++){const r=n.items[t];if(!(r.type===3||r.type===9)||r.value==null)break;e.push(r.value)}if(e.length===n.items.length){n.static=Q2(e);for(let t=0;t<n.items.length;t++){const r=n.items[t];(r.type===3||r.type===9)&&delete r.value}}}}const DM="minifier";function To(n){switch(n.t=n.type,n.type){case 0:{const e=n;To(e.body),e.b=e.body,delete e.body;break}case 1:{const e=n,t=e.cases;for(let r=0;r<t.length;r++)To(t[r]);e.c=t,delete e.cases;break}case 2:{const e=n,t=e.items;for(let r=0;r<t.length;r++)To(t[r]);e.i=t,delete e.items,e.static&&(e.s=e.static,delete e.static);break}case 3:case 9:case 8:case 7:{const e=n;e.value&&(e.v=e.value,delete e.value);break}case 6:{const e=n;To(e.key),e.k=e.key,delete e.key,e.modifier&&(To(e.modifier),e.m=e.modifier,delete e.modifier);break}case 5:{const e=n;e.i=e.index,delete e.index;break}case 4:{const e=n;e.k=e.key,delete e.key;break}default:throw ns(Oe.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:DM,args:[n.type]})}delete n.type}const RM="parser";function BM(n,e){const{sourceMap:t,filename:r,breakLineCode:o,needIndent:s}=e,i=e.location!==!1,l={filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:o,needIndent:s,indentLevel:0};i&&n.loc&&(l.source=n.loc.source);const a=()=>l;function u(v,C){l.code+=v}function d(v,C=!0){const w=C?o:"";u(s?w+" ".repeat(v):w)}function f(v=!0){const C=++l.indentLevel;v&&d(C)}function h(v=!0){const C=--l.indentLevel;v&&d(C)}function p(){d(l.indentLevel)}return{context:a,push:u,indent:f,deindent:h,newline:p,helper:v=>`_${v}`,needIndent:()=>l.needIndent}}function PM(n,e){const{helper:t}=n;n.push(`${t("linked")}(`),Ko(n,e.key),e.modifier?(n.push(", "),Ko(n,e.modifier),n.push(", _type")):n.push(", undefined, _type"),n.push(")")}function FM(n,e){const{helper:t,needIndent:r}=n;n.push(`${t("normalize")}([`),n.indent(r());const o=e.items.length;for(let s=0;s<o&&(Ko(n,e.items[s]),s!==o-1);s++)n.push(", ");n.deindent(r()),n.push("])")}function VM(n,e){const{helper:t,needIndent:r}=n;if(e.cases.length>1){n.push(`${t("plural")}([`),n.indent(r());const o=e.cases.length;for(let s=0;s<o&&(Ko(n,e.cases[s]),s!==o-1);s++)n.push(", ");n.deindent(r()),n.push("])")}}function $M(n,e){e.body?Ko(n,e.body):n.push("null")}function Ko(n,e){const{helper:t}=n;switch(e.type){case 0:$M(n,e);break;case 1:VM(n,e);break;case 2:FM(n,e);break;case 6:PM(n,e);break;case 8:n.push(JSON.stringify(e.value),e);break;case 7:n.push(JSON.stringify(e.value),e);break;case 5:n.push(`${t("interpolate")}(${t("list")}(${e.index}))`,e);break;case 4:n.push(`${t("interpolate")}(${t("named")}(${JSON.stringify(e.key)}))`,e);break;case 9:n.push(JSON.stringify(e.value),e);break;case 3:n.push(JSON.stringify(e.value),e);break;default:throw ns(Oe.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:RM,args:[e.type]})}}const UM=(n,e={})=>{const t=yp(e.mode)?e.mode:"normal",r=yp(e.filename)?e.filename:"message.intl",o=!!e.sourceMap,s=e.breakLineCode!=null?e.breakLineCode:t==="arrow"?";":`
193
- `,i=e.needIndent?e.needIndent:t!=="arrow",l=n.helpers||[],a=BM(n,{mode:t,filename:r,sourceMap:o,breakLineCode:s,needIndent:i});a.push(t==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),a.indent(i),l.length>0&&(a.push(`const { ${Q2(l.map(f=>`${f}: _${f}`),", ")} } = ctx`),a.newline()),a.push("return "),Ko(a,n),a.deindent(i),a.push("}"),delete n.helpers;const{code:u,map:d}=a.context();return{ast:n,code:u,map:d?d.toJSON():void 0}};function zM(n,e={}){const t=G2({},e),r=!!t.jit,o=!!t.minify,s=t.optimize==null?!0:t.optimize,l=IM(t).parse(n);return r?(s&&LM(l),o&&To(l),{ast:l,code:""}):(OM(l,t),UM(l,t))}/*!
191
+ */function lM(n,e,t){return{line:n,column:e,offset:t}}function Ma(n,e,t){const r={start:n,end:e};return t!=null&&(r.source=t),r}const cM=/\{([0-9a-zA-Z]+)\}/g;function Y2(n,...e){return e.length===1&&uM(e[0])&&(e=e[0]),(!e||!e.hasOwnProperty)&&(e={}),n.replace(cM,(t,r)=>e.hasOwnProperty(r)?e[r]:"")}const G2=Object.assign,yp=n=>typeof n=="string",uM=n=>n!==null&&typeof n=="object";function Q2(n,e=""){return n.reduce((t,r,o)=>o===0?t+r:t+e+r,"")}const fl={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},dM={[fl.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function fM(n,e,...t){const r=Y2(dM[n]||"",...t||[]),o={message:String(r),code:n};return e&&(o.location=e),o}const Oe={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},hM={[Oe.EXPECTED_TOKEN]:"Expected token: '{0}'",[Oe.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[Oe.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[Oe.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[Oe.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[Oe.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[Oe.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[Oe.EMPTY_PLACEHOLDER]:"Empty placeholder",[Oe.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[Oe.INVALID_LINKED_FORMAT]:"Invalid linked format",[Oe.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[Oe.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[Oe.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[Oe.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[Oe.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[Oe.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function ns(n,e,t={}){const{domain:r,messages:o,args:s}=t,i=Y2((o||hM)[n]||"",...s||[]),l=new SyntaxError(String(i));return l.code=n,e&&(l.location=e),l.domain=r,l}function pM(n){throw n}const mM=/<\/?[\w\s="/.':;#-\/]+>/,gM=n=>mM.test(n),Pn=" ",vM="\r",wt=`
192
+ `,yM=String.fromCharCode(8232),EM=String.fromCharCode(8233);function CM(n){const e=n;let t=0,r=1,o=1,s=0;const i=I=>e[I]===vM&&e[I+1]===wt,l=I=>e[I]===wt,a=I=>e[I]===EM,u=I=>e[I]===yM,d=I=>i(I)||l(I)||a(I)||u(I),f=()=>t,h=()=>r,p=()=>o,m=()=>s,g=I=>i(I)||a(I)||u(I)?wt:e[I],v=()=>g(t),C=()=>g(t+s);function w(){return s=0,d(t)&&(r++,o=0),i(t)&&t++,t++,o++,e[t]}function E(){return i(t+s)&&s++,s++,e[t+s]}function y(){t=0,r=1,o=1,s=0}function x(I=0){s=I}function A(){const I=t+s;for(;I!==t;)w();s=0}return{index:f,line:h,column:p,peekOffset:m,charAt:g,currentChar:v,currentPeek:C,next:w,peek:E,reset:y,resetPeek:x,skipToPeek:A}}const nr=void 0,bM=".",Ep="'",AM="tokenizer";function wM(n,e={}){const t=e.location!==!1,r=CM(n),o=()=>r.index(),s=()=>lM(r.line(),r.column(),r.index()),i=s(),l=o(),a={currentType:14,offset:l,startLoc:i,endLoc:i,lastType:14,lastOffset:l,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},u=()=>a,{onError:d}=e;function f(S,k,V,...Q){const ie=u();if(k.column+=V,k.offset+=V,d){const he=t?Ma(ie.startLoc,k):null,Ae=ns(S,he,{domain:AM,args:Q});d(Ae)}}function h(S,k,V){S.endLoc=s(),S.currentType=k;const Q={type:k};return t&&(Q.loc=Ma(S.startLoc,S.endLoc)),V!=null&&(Q.value=V),Q}const p=S=>h(S,14);function m(S,k){return S.currentChar()===k?(S.next(),k):(f(Oe.EXPECTED_TOKEN,s(),0,k),"")}function g(S){let k="";for(;S.currentPeek()===Pn||S.currentPeek()===wt;)k+=S.currentPeek(),S.peek();return k}function v(S){const k=g(S);return S.skipToPeek(),k}function C(S){if(S===nr)return!1;const k=S.charCodeAt(0);return k>=97&&k<=122||k>=65&&k<=90||k===95}function w(S){if(S===nr)return!1;const k=S.charCodeAt(0);return k>=48&&k<=57}function E(S,k){const{currentType:V}=k;if(V!==2)return!1;g(S);const Q=C(S.currentPeek());return S.resetPeek(),Q}function y(S,k){const{currentType:V}=k;if(V!==2)return!1;g(S);const Q=S.currentPeek()==="-"?S.peek():S.currentPeek(),ie=w(Q);return S.resetPeek(),ie}function x(S,k){const{currentType:V}=k;if(V!==2)return!1;g(S);const Q=S.currentPeek()===Ep;return S.resetPeek(),Q}function A(S,k){const{currentType:V}=k;if(V!==8)return!1;g(S);const Q=S.currentPeek()===".";return S.resetPeek(),Q}function I(S,k){const{currentType:V}=k;if(V!==9)return!1;g(S);const Q=C(S.currentPeek());return S.resetPeek(),Q}function B(S,k){const{currentType:V}=k;if(!(V===8||V===12))return!1;g(S);const Q=S.currentPeek()===":";return S.resetPeek(),Q}function R(S,k){const{currentType:V}=k;if(V!==10)return!1;const Q=()=>{const he=S.currentPeek();return he==="{"?C(S.peek()):he==="@"||he==="%"||he==="|"||he===":"||he==="."||he===Pn||!he?!1:he===wt?(S.peek(),Q()):P(S,!1)},ie=Q();return S.resetPeek(),ie}function U(S){g(S);const k=S.currentPeek()==="|";return S.resetPeek(),k}function $(S){const k=g(S),V=S.currentPeek()==="%"&&S.peek()==="{";return S.resetPeek(),{isModulo:V,hasSpace:k.length>0}}function P(S,k=!0){const V=(ie=!1,he="",Ae=!1)=>{const q=S.currentPeek();return q==="{"?he==="%"?!1:ie:q==="@"||!q?he==="%"?!0:ie:q==="%"?(S.peek(),V(ie,"%",!0)):q==="|"?he==="%"||Ae?!0:!(he===Pn||he===wt):q===Pn?(S.peek(),V(!0,Pn,Ae)):q===wt?(S.peek(),V(!0,wt,Ae)):!0},Q=V();return k&&S.resetPeek(),Q}function Y(S,k){const V=S.currentChar();return V===nr?nr:k(V)?(S.next(),V):null}function G(S){const k=S.charCodeAt(0);return k>=97&&k<=122||k>=65&&k<=90||k>=48&&k<=57||k===95||k===36}function K(S){return Y(S,G)}function H(S){const k=S.charCodeAt(0);return k>=97&&k<=122||k>=65&&k<=90||k>=48&&k<=57||k===95||k===36||k===45}function J(S){return Y(S,H)}function z(S){const k=S.charCodeAt(0);return k>=48&&k<=57}function ee(S){return Y(S,z)}function ne(S){const k=S.charCodeAt(0);return k>=48&&k<=57||k>=65&&k<=70||k>=97&&k<=102}function ce(S){return Y(S,ne)}function me(S){let k="",V="";for(;k=ee(S);)V+=k;return V}function ve(S){v(S);const k=S.currentChar();return k!=="%"&&f(Oe.EXPECTED_TOKEN,s(),0,k),S.next(),"%"}function Te(S){let k="";for(;;){const V=S.currentChar();if(V==="{"||V==="}"||V==="@"||V==="|"||!V)break;if(V==="%")if(P(S))k+=V,S.next();else break;else if(V===Pn||V===wt)if(P(S))k+=V,S.next();else{if(U(S))break;k+=V,S.next()}else k+=V,S.next()}return k}function ke(S){v(S);let k="",V="";for(;k=J(S);)V+=k;return S.currentChar()===nr&&f(Oe.UNTERMINATED_CLOSING_BRACE,s(),0),V}function Ne(S){v(S);let k="";return S.currentChar()==="-"?(S.next(),k+=`-${me(S)}`):k+=me(S),S.currentChar()===nr&&f(Oe.UNTERMINATED_CLOSING_BRACE,s(),0),k}function Ce(S){return S!==Ep&&S!==wt}function O(S){v(S),m(S,"'");let k="",V="";for(;k=Y(S,Ce);)k==="\\"?V+=D(S):V+=k;const Q=S.currentChar();return Q===wt||Q===nr?(f(Oe.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,s(),0),Q===wt&&(S.next(),m(S,"'")),V):(m(S,"'"),V)}function D(S){const k=S.currentChar();switch(k){case"\\":case"'":return S.next(),`\\${k}`;case"u":return N(S,k,4);case"U":return N(S,k,6);default:return f(Oe.UNKNOWN_ESCAPE_SEQUENCE,s(),0,k),""}}function N(S,k,V){m(S,k);let Q="";for(let ie=0;ie<V;ie++){const he=ce(S);if(!he){f(Oe.INVALID_UNICODE_ESCAPE_SEQUENCE,s(),0,`\\${k}${Q}${S.currentChar()}`);break}Q+=he}return`\\${k}${Q}`}function L(S){return S!=="{"&&S!=="}"&&S!==Pn&&S!==wt}function b(S){v(S);let k="",V="";for(;k=Y(S,L);)V+=k;return V}function T(S){let k="",V="";for(;k=K(S);)V+=k;return V}function _(S){const k=V=>{const Q=S.currentChar();return Q==="{"||Q==="%"||Q==="@"||Q==="|"||Q==="("||Q===")"||!Q||Q===Pn?V:(V+=Q,S.next(),k(V))};return k("")}function M(S){v(S);const k=m(S,"|");return v(S),k}function j(S,k){let V=null;switch(S.currentChar()){case"{":return k.braceNest>=1&&f(Oe.NOT_ALLOW_NEST_PLACEHOLDER,s(),0),S.next(),V=h(k,2,"{"),v(S),k.braceNest++,V;case"}":return k.braceNest>0&&k.currentType===2&&f(Oe.EMPTY_PLACEHOLDER,s(),0),S.next(),V=h(k,3,"}"),k.braceNest--,k.braceNest>0&&v(S),k.inLinked&&k.braceNest===0&&(k.inLinked=!1),V;case"@":return k.braceNest>0&&f(Oe.UNTERMINATED_CLOSING_BRACE,s(),0),V=W(S,k)||p(k),k.braceNest=0,V;default:{let ie=!0,he=!0,Ae=!0;if(U(S))return k.braceNest>0&&f(Oe.UNTERMINATED_CLOSING_BRACE,s(),0),V=h(k,1,M(S)),k.braceNest=0,k.inLinked=!1,V;if(k.braceNest>0&&(k.currentType===5||k.currentType===6||k.currentType===7))return f(Oe.UNTERMINATED_CLOSING_BRACE,s(),0),k.braceNest=0,Z(S,k);if(ie=E(S,k))return V=h(k,5,ke(S)),v(S),V;if(he=y(S,k))return V=h(k,6,Ne(S)),v(S),V;if(Ae=x(S,k))return V=h(k,7,O(S)),v(S),V;if(!ie&&!he&&!Ae)return V=h(k,13,b(S)),f(Oe.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,V.value),v(S),V;break}}return V}function W(S,k){const{currentType:V}=k;let Q=null;const ie=S.currentChar();switch((V===8||V===9||V===12||V===10)&&(ie===wt||ie===Pn)&&f(Oe.INVALID_LINKED_FORMAT,s(),0),ie){case"@":return S.next(),Q=h(k,8,"@"),k.inLinked=!0,Q;case".":return v(S),S.next(),h(k,9,".");case":":return v(S),S.next(),h(k,10,":");default:return U(S)?(Q=h(k,1,M(S)),k.braceNest=0,k.inLinked=!1,Q):A(S,k)||B(S,k)?(v(S),W(S,k)):I(S,k)?(v(S),h(k,12,T(S))):R(S,k)?(v(S),ie==="{"?j(S,k)||Q:h(k,11,_(S))):(V===8&&f(Oe.INVALID_LINKED_FORMAT,s(),0),k.braceNest=0,k.inLinked=!1,Z(S,k))}}function Z(S,k){let V={type:14};if(k.braceNest>0)return j(S,k)||p(k);if(k.inLinked)return W(S,k)||p(k);switch(S.currentChar()){case"{":return j(S,k)||p(k);case"}":return f(Oe.UNBALANCED_CLOSING_BRACE,s(),0),S.next(),h(k,3,"}");case"@":return W(S,k)||p(k);default:{if(U(S))return V=h(k,1,M(S)),k.braceNest=0,k.inLinked=!1,V;const{isModulo:ie,hasSpace:he}=$(S);if(ie)return he?h(k,0,Te(S)):h(k,4,ve(S));if(P(S))return h(k,0,Te(S));break}}return V}function X(){const{currentType:S,offset:k,startLoc:V,endLoc:Q}=a;return a.lastType=S,a.lastOffset=k,a.lastStartLoc=V,a.lastEndLoc=Q,a.offset=o(),a.startLoc=s(),r.currentChar()===nr?h(a,14):Z(r,a)}return{nextToken:X,currentOffset:o,currentPosition:s,context:u}}const TM="parser",SM=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function kM(n,e,t){switch(n){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(e||t,16);return r<=55295||r>=57344?String.fromCodePoint(r):"�"}}}function _M(n={}){const e=n.location!==!1,{onError:t,onWarn:r}=n;function o(E,y,x,A,...I){const B=E.currentPosition();if(B.offset+=A,B.column+=A,t){const R=e?Ma(x,B):null,U=ns(y,R,{domain:TM,args:I});t(U)}}function s(E,y,x,A,...I){const B=E.currentPosition();if(B.offset+=A,B.column+=A,r){const R=e?Ma(x,B):null;r(fM(y,R,I))}}function i(E,y,x){const A={type:E};return e&&(A.start=y,A.end=y,A.loc={start:x,end:x}),A}function l(E,y,x,A){A&&(E.type=A),e&&(E.end=y,E.loc&&(E.loc.end=x))}function a(E,y){const x=E.context(),A=i(3,x.offset,x.startLoc);return A.value=y,l(A,E.currentOffset(),E.currentPosition()),A}function u(E,y){const x=E.context(),{lastOffset:A,lastStartLoc:I}=x,B=i(5,A,I);return B.index=parseInt(y,10),E.nextToken(),l(B,E.currentOffset(),E.currentPosition()),B}function d(E,y,x){const A=E.context(),{lastOffset:I,lastStartLoc:B}=A,R=i(4,I,B);return R.key=y,x===!0&&(R.modulo=!0),E.nextToken(),l(R,E.currentOffset(),E.currentPosition()),R}function f(E,y){const x=E.context(),{lastOffset:A,lastStartLoc:I}=x,B=i(9,A,I);return B.value=y.replace(SM,kM),E.nextToken(),l(B,E.currentOffset(),E.currentPosition()),B}function h(E){const y=E.nextToken(),x=E.context(),{lastOffset:A,lastStartLoc:I}=x,B=i(8,A,I);return y.type!==12?(o(E,Oe.UNEXPECTED_EMPTY_LINKED_MODIFIER,x.lastStartLoc,0),B.value="",l(B,A,I),{nextConsumeToken:y,node:B}):(y.value==null&&o(E,Oe.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,ln(y)),B.value=y.value||"",l(B,E.currentOffset(),E.currentPosition()),{node:B})}function p(E,y){const x=E.context(),A=i(7,x.offset,x.startLoc);return A.value=y,l(A,E.currentOffset(),E.currentPosition()),A}function m(E){const y=E.context(),x=i(6,y.offset,y.startLoc);let A=E.nextToken();if(A.type===9){const I=h(E);x.modifier=I.node,A=I.nextConsumeToken||E.nextToken()}switch(A.type!==10&&o(E,Oe.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,ln(A)),A=E.nextToken(),A.type===2&&(A=E.nextToken()),A.type){case 11:A.value==null&&o(E,Oe.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,ln(A)),x.key=p(E,A.value||"");break;case 5:A.value==null&&o(E,Oe.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,ln(A)),x.key=d(E,A.value||"");break;case 6:A.value==null&&o(E,Oe.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,ln(A)),x.key=u(E,A.value||"");break;case 7:A.value==null&&o(E,Oe.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,ln(A)),x.key=f(E,A.value||"");break;default:{o(E,Oe.UNEXPECTED_EMPTY_LINKED_KEY,y.lastStartLoc,0);const I=E.context(),B=i(7,I.offset,I.startLoc);return B.value="",l(B,I.offset,I.startLoc),x.key=B,l(x,I.offset,I.startLoc),{nextConsumeToken:A,node:x}}}return l(x,E.currentOffset(),E.currentPosition()),{node:x}}function g(E){const y=E.context(),x=y.currentType===1?E.currentOffset():y.offset,A=y.currentType===1?y.endLoc:y.startLoc,I=i(2,x,A);I.items=[];let B=null,R=null;do{const P=B||E.nextToken();switch(B=null,P.type){case 0:P.value==null&&o(E,Oe.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,ln(P)),I.items.push(a(E,P.value||""));break;case 6:P.value==null&&o(E,Oe.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,ln(P)),I.items.push(u(E,P.value||""));break;case 4:R=!0;break;case 5:P.value==null&&o(E,Oe.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,ln(P)),I.items.push(d(E,P.value||"",!!R)),R&&(s(E,fl.USE_MODULO_SYNTAX,y.lastStartLoc,0,ln(P)),R=null);break;case 7:P.value==null&&o(E,Oe.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,ln(P)),I.items.push(f(E,P.value||""));break;case 8:{const Y=m(E);I.items.push(Y.node),B=Y.nextConsumeToken||null;break}}}while(y.currentType!==14&&y.currentType!==1);const U=y.currentType===1?y.lastOffset:E.currentOffset(),$=y.currentType===1?y.lastEndLoc:E.currentPosition();return l(I,U,$),I}function v(E,y,x,A){const I=E.context();let B=A.items.length===0;const R=i(1,y,x);R.cases=[],R.cases.push(A);do{const U=g(E);B||(B=U.items.length===0),R.cases.push(U)}while(I.currentType!==14);return B&&o(E,Oe.MUST_HAVE_MESSAGES_IN_PLURAL,x,0),l(R,E.currentOffset(),E.currentPosition()),R}function C(E){const y=E.context(),{offset:x,startLoc:A}=y,I=g(E);return y.currentType===14?I:v(E,x,A,I)}function w(E){const y=wM(E,G2({},n)),x=y.context(),A=i(0,x.offset,x.startLoc);return e&&A.loc&&(A.loc.source=E),A.body=C(y),n.onCacheKey&&(A.cacheKey=n.onCacheKey(E)),x.currentType!==14&&o(y,Oe.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,E[x.offset]||""),l(A,y.currentOffset(),y.currentPosition()),A}return{parse:w}}function ln(n){if(n.type===14)return"EOF";const e=(n.value||"").replace(/\r?\n/gu,"\\n");return e.length>10?e.slice(0,9)+"…":e}function xM(n,e={}){const t={ast:n,helpers:new Set};return{context:()=>t,helper:s=>(t.helpers.add(s),s)}}function Cp(n,e){for(let t=0;t<n.length;t++)wd(n[t],e)}function wd(n,e){switch(n.type){case 1:Cp(n.cases,e),e.helper("plural");break;case 2:Cp(n.items,e);break;case 6:{wd(n.key,e),e.helper("linked"),e.helper("type");break}case 5:e.helper("interpolate"),e.helper("list");break;case 4:e.helper("interpolate"),e.helper("named");break}}function NM(n,e={}){const t=xM(n);t.helper("normalize"),n.body&&wd(n.body,t);const r=t.context();n.helpers=Array.from(r.helpers)}function IM(n){const e=n.body;return e.type===2?bp(e):e.cases.forEach(t=>bp(t)),n}function bp(n){if(n.items.length===1){const e=n.items[0];(e.type===3||e.type===9)&&(n.static=e.value,delete e.value)}else{const e=[];for(let t=0;t<n.items.length;t++){const r=n.items[t];if(!(r.type===3||r.type===9)||r.value==null)break;e.push(r.value)}if(e.length===n.items.length){n.static=Q2(e);for(let t=0;t<n.items.length;t++){const r=n.items[t];(r.type===3||r.type===9)&&delete r.value}}}}const MM="minifier";function To(n){switch(n.t=n.type,n.type){case 0:{const e=n;To(e.body),e.b=e.body,delete e.body;break}case 1:{const e=n,t=e.cases;for(let r=0;r<t.length;r++)To(t[r]);e.c=t,delete e.cases;break}case 2:{const e=n,t=e.items;for(let r=0;r<t.length;r++)To(t[r]);e.i=t,delete e.items,e.static&&(e.s=e.static,delete e.static);break}case 3:case 9:case 8:case 7:{const e=n;e.value&&(e.v=e.value,delete e.value);break}case 6:{const e=n;To(e.key),e.k=e.key,delete e.key,e.modifier&&(To(e.modifier),e.m=e.modifier,delete e.modifier);break}case 5:{const e=n;e.i=e.index,delete e.index;break}case 4:{const e=n;e.k=e.key,delete e.key;break}default:throw ns(Oe.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:MM,args:[n.type]})}delete n.type}const OM="parser";function LM(n,e){const{sourceMap:t,filename:r,breakLineCode:o,needIndent:s}=e,i=e.location!==!1,l={filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:o,needIndent:s,indentLevel:0};i&&n.loc&&(l.source=n.loc.source);const a=()=>l;function u(v,C){l.code+=v}function d(v,C=!0){const w=C?o:"";u(s?w+" ".repeat(v):w)}function f(v=!0){const C=++l.indentLevel;v&&d(C)}function h(v=!0){const C=--l.indentLevel;v&&d(C)}function p(){d(l.indentLevel)}return{context:a,push:u,indent:f,deindent:h,newline:p,helper:v=>`_${v}`,needIndent:()=>l.needIndent}}function DM(n,e){const{helper:t}=n;n.push(`${t("linked")}(`),Ko(n,e.key),e.modifier?(n.push(", "),Ko(n,e.modifier),n.push(", _type")):n.push(", undefined, _type"),n.push(")")}function RM(n,e){const{helper:t,needIndent:r}=n;n.push(`${t("normalize")}([`),n.indent(r());const o=e.items.length;for(let s=0;s<o&&(Ko(n,e.items[s]),s!==o-1);s++)n.push(", ");n.deindent(r()),n.push("])")}function BM(n,e){const{helper:t,needIndent:r}=n;if(e.cases.length>1){n.push(`${t("plural")}([`),n.indent(r());const o=e.cases.length;for(let s=0;s<o&&(Ko(n,e.cases[s]),s!==o-1);s++)n.push(", ");n.deindent(r()),n.push("])")}}function PM(n,e){e.body?Ko(n,e.body):n.push("null")}function Ko(n,e){const{helper:t}=n;switch(e.type){case 0:PM(n,e);break;case 1:BM(n,e);break;case 2:RM(n,e);break;case 6:DM(n,e);break;case 8:n.push(JSON.stringify(e.value),e);break;case 7:n.push(JSON.stringify(e.value),e);break;case 5:n.push(`${t("interpolate")}(${t("list")}(${e.index}))`,e);break;case 4:n.push(`${t("interpolate")}(${t("named")}(${JSON.stringify(e.key)}))`,e);break;case 9:n.push(JSON.stringify(e.value),e);break;case 3:n.push(JSON.stringify(e.value),e);break;default:throw ns(Oe.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:OM,args:[e.type]})}}const FM=(n,e={})=>{const t=yp(e.mode)?e.mode:"normal",r=yp(e.filename)?e.filename:"message.intl",o=!!e.sourceMap,s=e.breakLineCode!=null?e.breakLineCode:t==="arrow"?";":`
193
+ `,i=e.needIndent?e.needIndent:t!=="arrow",l=n.helpers||[],a=LM(n,{mode:t,filename:r,sourceMap:o,breakLineCode:s,needIndent:i});a.push(t==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),a.indent(i),l.length>0&&(a.push(`const { ${Q2(l.map(f=>`${f}: _${f}`),", ")} } = ctx`),a.newline()),a.push("return "),Ko(a,n),a.deindent(i),a.push("}"),delete n.helpers;const{code:u,map:d}=a.context();return{ast:n,code:u,map:d?d.toJSON():void 0}};function VM(n,e={}){const t=G2({},e),r=!!t.jit,o=!!t.minify,s=t.optimize==null?!0:t.optimize,l=_M(t).parse(n);return r?(s&&IM(l),o&&To(l),{ast:l,code:""}):(NM(l,t),FM(l,t))}/*!
194
194
  * core-base v9.14.4
195
195
  * (c) 2025 kazuya kawaguchi
196
196
  * Released under the MIT License.
197
- */function HM(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(zn().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(zn().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(zn().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function hn(n){return He(n)&&Td(n)===0&&(un(n,"b")||un(n,"body"))}const Z2=["b","body"];function jM(n){return kr(n,Z2)}const J2=["c","cases"];function WM(n){return kr(n,J2,[])}const X2=["s","static"];function KM(n){return kr(n,X2)}const q2=["i","items"];function YM(n){return kr(n,q2,[])}const eg=["t","type"];function Td(n){return kr(n,eg)}const tg=["v","value"];function Ci(n,e){const t=kr(n,tg);if(t!=null)return t;throw Fs(e)}const ng=["m","modifier"];function GM(n){return kr(n,ng)}const rg=["k","key"];function QM(n){const e=kr(n,rg);if(e)return e;throw Fs(6)}function kr(n,e,t){for(let r=0;r<e.length;r++){const o=e[r];if(un(n,o)&&n[o]!=null)return n[o]}return t}const og=[...Z2,...J2,...X2,...q2,...rg,...ng,...tg,...eg];function Fs(n){return new Error(`unhandled node type: ${n}`)}const _r=[];_r[0]={w:[0],i:[3,0],"[":[4],o:[7]};_r[1]={w:[1],".":[2],"[":[4],o:[7]};_r[2]={w:[2],i:[3,0],0:[3,0]};_r[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};_r[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};_r[5]={"'":[4,0],o:8,l:[5,0]};_r[6]={'"':[4,0],o:8,l:[6,0]};const ZM=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function JM(n){return ZM.test(n)}function XM(n){const e=n.charCodeAt(0),t=n.charCodeAt(n.length-1);return e===t&&(e===34||e===39)?n.slice(1,-1):n}function qM(n){if(n==null)return"o";switch(n.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return n;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function eO(n){const e=n.trim();return n.charAt(0)==="0"&&isNaN(parseInt(n))?!1:JM(e)?XM(e):"*"+e}function tO(n){const e=[];let t=-1,r=0,o=0,s,i,l,a,u,d,f;const h=[];h[0]=()=>{i===void 0?i=l:i+=l},h[1]=()=>{i!==void 0&&(e.push(i),i=void 0)},h[2]=()=>{h[0](),o++},h[3]=()=>{if(o>0)o--,r=4,h[0]();else{if(o=0,i===void 0||(i=eO(i),i===!1))return!1;h[1]()}};function p(){const m=n[t+1];if(r===5&&m==="'"||r===6&&m==='"')return t++,l="\\"+m,h[0](),!0}for(;r!==null;)if(t++,s=n[t],!(s==="\\"&&p())){if(a=qM(s),f=_r[r],u=f[a]||f.l||8,u===8||(r=u[0],u[1]!==void 0&&(d=h[u[1]],d&&(l=s,d()===!1))))return;if(r===7)return e}}const Ap=new Map;function nO(n,e){return He(n)?n[e]:null}function rO(n,e){if(!He(n))return null;let t=Ap.get(e);if(t||(t=tO(e),t&&Ap.set(e,t)),!t)return null;const r=t.length;let o=n,s=0;for(;s<r;){const i=t[s];if(og.includes(i)&&hn(o))return null;const l=o[i];if(l===void 0||Ge(o))return null;o=l,s++}return o}const oO=n=>n,sO=n=>"",iO="text",aO=n=>n.length===0?"":lM(n),lO=aM;function wp(n,e){return n=Math.abs(n),e===2?n?n>1?1:0:1:n?Math.min(n,2):0}function cO(n){const e=ct(n.pluralIndex)?n.pluralIndex:-1;return n.named&&(ct(n.named.count)||ct(n.named.n))?ct(n.named.count)?n.named.count:ct(n.named.n)?n.named.n:e:e}function uO(n,e){e.count||(e.count=n),e.n||(e.n=n)}function dO(n={}){const e=n.locale,t=cO(n),r=He(n.pluralRules)&&Se(e)&&Ge(n.pluralRules[e])?n.pluralRules[e]:wp,o=He(n.pluralRules)&&Se(e)&&Ge(n.pluralRules[e])?wp:void 0,s=C=>C[r(t,C.length,o)],i=n.list||[],l=C=>i[C],a=n.named||Ke();ct(n.pluralIndex)&&uO(t,a);const u=C=>a[C];function d(C){const w=Ge(n.messages)?n.messages(C):He(n.messages)?n.messages[C]:!1;return w||(n.parent?n.parent.message(C):sO)}const f=C=>n.modifiers?n.modifiers[C]:oO,h=Ue(n.processor)&&Ge(n.processor.normalize)?n.processor.normalize:aO,p=Ue(n.processor)&&Ge(n.processor.interpolate)?n.processor.interpolate:lO,m=Ue(n.processor)&&Se(n.processor.type)?n.processor.type:iO,v={list:l,named:u,plural:s,linked:(C,...w)=>{const[E,y]=w;let x="text",A="";w.length===1?He(E)?(A=E.modifier||A,x=E.type||x):Se(E)&&(A=E||A):w.length===2&&(Se(E)&&(A=E||A),Se(y)&&(x=y||x));const I=d(C)(v),B=x==="vnode"&&st(I)&&A?I[0]:I;return A?f(A)(B,x):B},message:d,type:m,interpolate:p,normalize:h,values:yt(Ke(),i,a)};return v}let Vs=null;function fO(n){Vs=n}function hO(n,e,t){Vs&&Vs.emit("i18n:init",{timestamp:Date.now(),i18n:n,version:e,meta:t})}const pO=mO("function:translate");function mO(n){return e=>Vs&&Vs.emit(n,e)}const sg=fl.__EXTEND_POINT__,Ir=dl(sg),St={NOT_FOUND_KEY:sg,FALLBACK_TO_TRANSLATE:Ir(),CANNOT_FORMAT_NUMBER:Ir(),FALLBACK_TO_NUMBER_FORMAT:Ir(),CANNOT_FORMAT_DATE:Ir(),FALLBACK_TO_DATE_FORMAT:Ir(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:Ir(),__EXTEND_POINT__:Ir()},gO={[St.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[St.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[St.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[St.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[St.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[St.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[St.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:"This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."};function oo(n,...e){return Ad(gO[n],...e)}const ig=Oe.__EXTEND_POINT__,Mr=dl(ig),lt={INVALID_ARGUMENT:ig,INVALID_DATE_ARGUMENT:Mr(),INVALID_ISO_DATE_ARGUMENT:Mr(),NOT_SUPPORT_NON_STRING_MESSAGE:Mr(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:Mr(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:Mr(),NOT_SUPPORT_LOCALE_TYPE:Mr(),__EXTEND_POINT__:Mr()};function xn(n){return ns(n,null,process.env.NODE_ENV!=="production"?{messages:vO}:void 0)}const vO={[lt.INVALID_ARGUMENT]:"Invalid arguments",[lt.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[lt.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[lt.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[lt.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[lt.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[lt.NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function Sd(n,e){return e.locale!=null?Tp(e.locale):Tp(n.locale)}let dc;function Tp(n){if(Se(n))return n;if(Ge(n)){if(n.resolvedOnce&&dc!=null)return dc;if(n.constructor.name==="Function"){const e=n();if(iM(e))throw xn(lt.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return dc=e}else throw xn(lt.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw xn(lt.NOT_SUPPORT_LOCALE_TYPE)}function yO(n,e,t){return[...new Set([t,...st(e)?e:He(e)?Object.keys(e):Se(e)?[e]:[t]])]}function ag(n,e,t){const r=Se(t)?t:$s,o=n;o.__localeChainCache||(o.__localeChainCache=new Map);let s=o.__localeChainCache.get(r);if(!s){s=[];let i=[t];for(;st(i);)i=Sp(s,i,e);const l=st(e)||!Ue(e)?e:e.default?e.default:null;i=Se(l)?[l]:l,st(i)&&Sp(s,i,!1),o.__localeChainCache.set(r,s)}return s}function Sp(n,e,t){let r=!0;for(let o=0;o<e.length&&Ye(r);o++){const s=e[o];Se(s)&&(r=EO(n,e[o],t))}return r}function EO(n,e,t){let r;const o=e.split("-");do{const s=o.join("-");r=CO(n,s,t),o.splice(-1,1)}while(o.length&&r===!0);return r}function CO(n,e,t){let r=!1;if(!n.includes(e)&&(r=!0,e)){r=e[e.length-1]!=="!";const o=e.replace(/!/g,"");n.push(o),(st(t)||Ue(t))&&t[o]&&(r=t[o])}return r}const bO="9.14.4",hl=-1,$s="en-US",Oa="",kp=n=>`${n.charAt(0).toLocaleUpperCase()}${n.substr(1)}`;function AO(){return{upper:(n,e)=>e==="text"&&Se(n)?n.toUpperCase():e==="vnode"&&He(n)&&"__v_isVNode"in n?n.children.toUpperCase():n,lower:(n,e)=>e==="text"&&Se(n)?n.toLowerCase():e==="vnode"&&He(n)&&"__v_isVNode"in n?n.children.toLowerCase():n,capitalize:(n,e)=>e==="text"&&Se(n)?kp(n):e==="vnode"&&He(n)&&"__v_isVNode"in n?kp(n.children):n}}let lg;function _p(n){lg=n}let cg;function wO(n){cg=n}let ug;function TO(n){ug=n}let dg=null;const SO=n=>{dg=n},kO=()=>dg;let fg=null;const xp=n=>{fg=n},_O=()=>fg;let Np=0;function xO(n={}){const e=Ge(n.onWarn)?n.onWarn:Jn,t=Se(n.version)?n.version:bO,r=Se(n.locale)||Ge(n.locale)?n.locale:$s,o=Ge(r)?$s:r,s=st(n.fallbackLocale)||Ue(n.fallbackLocale)||Se(n.fallbackLocale)||n.fallbackLocale===!1?n.fallbackLocale:o,i=Ue(n.messages)?n.messages:fc(o),l=Ue(n.datetimeFormats)?n.datetimeFormats:fc(o),a=Ue(n.numberFormats)?n.numberFormats:fc(o),u=yt(Ke(),n.modifiers,AO()),d=n.pluralRules||Ke(),f=Ge(n.missing)?n.missing:null,h=Ye(n.missingWarn)||Wo(n.missingWarn)?n.missingWarn:!0,p=Ye(n.fallbackWarn)||Wo(n.fallbackWarn)?n.fallbackWarn:!0,m=!!n.fallbackFormat,g=!!n.unresolving,v=Ge(n.postTranslation)?n.postTranslation:null,C=Ue(n.processor)?n.processor:null,w=Ye(n.warnHtmlMessage)?n.warnHtmlMessage:!0,E=!!n.escapeParameter,y=Ge(n.messageCompiler)?n.messageCompiler:lg;process.env.NODE_ENV!=="production"&&Ge(n.messageCompiler)&&K2(oo(St.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const x=Ge(n.messageResolver)?n.messageResolver:cg||nO,A=Ge(n.localeFallbacker)?n.localeFallbacker:ug||yO,I=He(n.fallbackContext)?n.fallbackContext:void 0,B=n,R=He(B.__datetimeFormatters)?B.__datetimeFormatters:new Map,U=He(B.__numberFormatters)?B.__numberFormatters:new Map,$=He(B.__meta)?B.__meta:{};Np++;const P={version:t,cid:Np,locale:r,fallbackLocale:s,messages:i,modifiers:u,pluralRules:d,missing:f,missingWarn:h,fallbackWarn:p,fallbackFormat:m,unresolving:g,postTranslation:v,processor:C,warnHtmlMessage:w,escapeParameter:E,messageCompiler:y,messageResolver:x,localeFallbacker:A,fallbackContext:I,onWarn:e,__meta:$};return P.datetimeFormats=l,P.numberFormats=a,P.__datetimeFormatters=R,P.__numberFormatters=U,process.env.NODE_ENV!=="production"&&(P.__v_emitter=B.__v_emitter!=null?B.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&hO(P,t,$),P}const fc=n=>({[n]:Ke()});function pl(n,e){return n instanceof RegExp?n.test(e):n}function hg(n,e){return n instanceof RegExp?n.test(e):n}function kd(n,e,t,r,o){const{missing:s,onWarn:i}=n;if(process.env.NODE_ENV!=="production"){const l=n.__v_emitter;l&&l.emit("missing",{locale:t,key:e,type:o,groupId:`${o}:${e}`})}if(s!==null){const l=s(n,t,e,o);return Se(l)?l:e}else return process.env.NODE_ENV!=="production"&&hg(r,e)&&i(oo(St.NOT_FOUND_KEY,{key:e,locale:t})),e}function as(n,e,t){const r=n;r.__localeChainCache=new Map,n.localeFallbacker(n,t,e)}function pg(n,e){return n===e?!1:n.split("-")[0]===e.split("-")[0]}function NO(n,e){const t=e.indexOf(n);if(t===-1)return!1;for(let r=t+1;r<e.length;r++)if(pg(n,e[r]))return!0;return!1}function hc(n){return t=>IO(t,n)}function IO(n,e){const t=jM(e);if(t==null)throw Fs(0);if(Td(t)===1){const s=WM(t);return n.plural(s.reduce((i,l)=>[...i,Ip(n,l)],[]))}else return Ip(n,t)}function Ip(n,e){const t=KM(e);if(t!=null)return n.type==="text"?t:n.normalize([t]);{const r=YM(e).reduce((o,s)=>[...o,Xc(n,s)],[]);return n.normalize(r)}}function Xc(n,e){const t=Td(e);switch(t){case 3:return Ci(e,t);case 9:return Ci(e,t);case 4:{const r=e;if(un(r,"k")&&r.k)return n.interpolate(n.named(r.k));if(un(r,"key")&&r.key)return n.interpolate(n.named(r.key));throw Fs(t)}case 5:{const r=e;if(un(r,"i")&&ct(r.i))return n.interpolate(n.list(r.i));if(un(r,"index")&&ct(r.index))return n.interpolate(n.list(r.index));throw Fs(t)}case 6:{const r=e,o=GM(r),s=QM(r);return n.linked(Xc(n,s),o?Xc(n,o):void 0,n.type)}case 7:return Ci(e,t);case 8:return Ci(e,t);default:throw new Error(`unhandled node on format message part: ${t}`)}}const MO="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function mg(n,e){e&&EM(n)&&Jn(Ad(MO,{source:n}))}const gg=n=>n;let No=Ke();function vg(n){n.code===fl.USE_MODULO_SYNTAX&&Jn(`The use of named interpolation with modulo syntax is deprecated. It will be removed in v10.
197
+ */function $M(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(zn().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(zn().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(zn().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function hn(n){return He(n)&&Td(n)===0&&(un(n,"b")||un(n,"body"))}const Z2=["b","body"];function UM(n){return kr(n,Z2)}const J2=["c","cases"];function zM(n){return kr(n,J2,[])}const X2=["s","static"];function HM(n){return kr(n,X2)}const q2=["i","items"];function jM(n){return kr(n,q2,[])}const eg=["t","type"];function Td(n){return kr(n,eg)}const tg=["v","value"];function Ci(n,e){const t=kr(n,tg);if(t!=null)return t;throw Fs(e)}const ng=["m","modifier"];function WM(n){return kr(n,ng)}const rg=["k","key"];function KM(n){const e=kr(n,rg);if(e)return e;throw Fs(6)}function kr(n,e,t){for(let r=0;r<e.length;r++){const o=e[r];if(un(n,o)&&n[o]!=null)return n[o]}return t}const og=[...Z2,...J2,...X2,...q2,...rg,...ng,...tg,...eg];function Fs(n){return new Error(`unhandled node type: ${n}`)}const _r=[];_r[0]={w:[0],i:[3,0],"[":[4],o:[7]};_r[1]={w:[1],".":[2],"[":[4],o:[7]};_r[2]={w:[2],i:[3,0],0:[3,0]};_r[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};_r[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};_r[5]={"'":[4,0],o:8,l:[5,0]};_r[6]={'"':[4,0],o:8,l:[6,0]};const YM=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function GM(n){return YM.test(n)}function QM(n){const e=n.charCodeAt(0),t=n.charCodeAt(n.length-1);return e===t&&(e===34||e===39)?n.slice(1,-1):n}function ZM(n){if(n==null)return"o";switch(n.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return n;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function JM(n){const e=n.trim();return n.charAt(0)==="0"&&isNaN(parseInt(n))?!1:GM(e)?QM(e):"*"+e}function XM(n){const e=[];let t=-1,r=0,o=0,s,i,l,a,u,d,f;const h=[];h[0]=()=>{i===void 0?i=l:i+=l},h[1]=()=>{i!==void 0&&(e.push(i),i=void 0)},h[2]=()=>{h[0](),o++},h[3]=()=>{if(o>0)o--,r=4,h[0]();else{if(o=0,i===void 0||(i=JM(i),i===!1))return!1;h[1]()}};function p(){const m=n[t+1];if(r===5&&m==="'"||r===6&&m==='"')return t++,l="\\"+m,h[0](),!0}for(;r!==null;)if(t++,s=n[t],!(s==="\\"&&p())){if(a=ZM(s),f=_r[r],u=f[a]||f.l||8,u===8||(r=u[0],u[1]!==void 0&&(d=h[u[1]],d&&(l=s,d()===!1))))return;if(r===7)return e}}const Ap=new Map;function qM(n,e){return He(n)?n[e]:null}function eO(n,e){if(!He(n))return null;let t=Ap.get(e);if(t||(t=XM(e),t&&Ap.set(e,t)),!t)return null;const r=t.length;let o=n,s=0;for(;s<r;){const i=t[s];if(og.includes(i)&&hn(o))return null;const l=o[i];if(l===void 0||Ge(o))return null;o=l,s++}return o}const tO=n=>n,nO=n=>"",rO="text",oO=n=>n.length===0?"":sM(n),sO=oM;function wp(n,e){return n=Math.abs(n),e===2?n?n>1?1:0:1:n?Math.min(n,2):0}function iO(n){const e=ct(n.pluralIndex)?n.pluralIndex:-1;return n.named&&(ct(n.named.count)||ct(n.named.n))?ct(n.named.count)?n.named.count:ct(n.named.n)?n.named.n:e:e}function aO(n,e){e.count||(e.count=n),e.n||(e.n=n)}function lO(n={}){const e=n.locale,t=iO(n),r=He(n.pluralRules)&&Se(e)&&Ge(n.pluralRules[e])?n.pluralRules[e]:wp,o=He(n.pluralRules)&&Se(e)&&Ge(n.pluralRules[e])?wp:void 0,s=C=>C[r(t,C.length,o)],i=n.list||[],l=C=>i[C],a=n.named||Ke();ct(n.pluralIndex)&&aO(t,a);const u=C=>a[C];function d(C){const w=Ge(n.messages)?n.messages(C):He(n.messages)?n.messages[C]:!1;return w||(n.parent?n.parent.message(C):nO)}const f=C=>n.modifiers?n.modifiers[C]:tO,h=Ue(n.processor)&&Ge(n.processor.normalize)?n.processor.normalize:oO,p=Ue(n.processor)&&Ge(n.processor.interpolate)?n.processor.interpolate:sO,m=Ue(n.processor)&&Se(n.processor.type)?n.processor.type:rO,v={list:l,named:u,plural:s,linked:(C,...w)=>{const[E,y]=w;let x="text",A="";w.length===1?He(E)?(A=E.modifier||A,x=E.type||x):Se(E)&&(A=E||A):w.length===2&&(Se(E)&&(A=E||A),Se(y)&&(x=y||x));const I=d(C)(v),B=x==="vnode"&&st(I)&&A?I[0]:I;return A?f(A)(B,x):B},message:d,type:m,interpolate:p,normalize:h,values:yt(Ke(),i,a)};return v}let Vs=null;function cO(n){Vs=n}function uO(n,e,t){Vs&&Vs.emit("i18n:init",{timestamp:Date.now(),i18n:n,version:e,meta:t})}const dO=fO("function:translate");function fO(n){return e=>Vs&&Vs.emit(n,e)}const sg=fl.__EXTEND_POINT__,Ir=dl(sg),St={NOT_FOUND_KEY:sg,FALLBACK_TO_TRANSLATE:Ir(),CANNOT_FORMAT_NUMBER:Ir(),FALLBACK_TO_NUMBER_FORMAT:Ir(),CANNOT_FORMAT_DATE:Ir(),FALLBACK_TO_DATE_FORMAT:Ir(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:Ir(),__EXTEND_POINT__:Ir()},hO={[St.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[St.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[St.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[St.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[St.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[St.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[St.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:"This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."};function oo(n,...e){return Ad(hO[n],...e)}const ig=Oe.__EXTEND_POINT__,Mr=dl(ig),lt={INVALID_ARGUMENT:ig,INVALID_DATE_ARGUMENT:Mr(),INVALID_ISO_DATE_ARGUMENT:Mr(),NOT_SUPPORT_NON_STRING_MESSAGE:Mr(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:Mr(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:Mr(),NOT_SUPPORT_LOCALE_TYPE:Mr(),__EXTEND_POINT__:Mr()};function xn(n){return ns(n,null,process.env.NODE_ENV!=="production"?{messages:pO}:void 0)}const pO={[lt.INVALID_ARGUMENT]:"Invalid arguments",[lt.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[lt.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[lt.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[lt.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[lt.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[lt.NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function Sd(n,e){return e.locale!=null?Tp(e.locale):Tp(n.locale)}let dc;function Tp(n){if(Se(n))return n;if(Ge(n)){if(n.resolvedOnce&&dc!=null)return dc;if(n.constructor.name==="Function"){const e=n();if(rM(e))throw xn(lt.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return dc=e}else throw xn(lt.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw xn(lt.NOT_SUPPORT_LOCALE_TYPE)}function mO(n,e,t){return[...new Set([t,...st(e)?e:He(e)?Object.keys(e):Se(e)?[e]:[t]])]}function ag(n,e,t){const r=Se(t)?t:$s,o=n;o.__localeChainCache||(o.__localeChainCache=new Map);let s=o.__localeChainCache.get(r);if(!s){s=[];let i=[t];for(;st(i);)i=Sp(s,i,e);const l=st(e)||!Ue(e)?e:e.default?e.default:null;i=Se(l)?[l]:l,st(i)&&Sp(s,i,!1),o.__localeChainCache.set(r,s)}return s}function Sp(n,e,t){let r=!0;for(let o=0;o<e.length&&Ye(r);o++){const s=e[o];Se(s)&&(r=gO(n,e[o],t))}return r}function gO(n,e,t){let r;const o=e.split("-");do{const s=o.join("-");r=vO(n,s,t),o.splice(-1,1)}while(o.length&&r===!0);return r}function vO(n,e,t){let r=!1;if(!n.includes(e)&&(r=!0,e)){r=e[e.length-1]!=="!";const o=e.replace(/!/g,"");n.push(o),(st(t)||Ue(t))&&t[o]&&(r=t[o])}return r}const yO="9.14.4",hl=-1,$s="en-US",Oa="",kp=n=>`${n.charAt(0).toLocaleUpperCase()}${n.substr(1)}`;function EO(){return{upper:(n,e)=>e==="text"&&Se(n)?n.toUpperCase():e==="vnode"&&He(n)&&"__v_isVNode"in n?n.children.toUpperCase():n,lower:(n,e)=>e==="text"&&Se(n)?n.toLowerCase():e==="vnode"&&He(n)&&"__v_isVNode"in n?n.children.toLowerCase():n,capitalize:(n,e)=>e==="text"&&Se(n)?kp(n):e==="vnode"&&He(n)&&"__v_isVNode"in n?kp(n.children):n}}let lg;function _p(n){lg=n}let cg;function CO(n){cg=n}let ug;function bO(n){ug=n}let dg=null;const AO=n=>{dg=n},wO=()=>dg;let fg=null;const xp=n=>{fg=n},TO=()=>fg;let Np=0;function SO(n={}){const e=Ge(n.onWarn)?n.onWarn:Jn,t=Se(n.version)?n.version:yO,r=Se(n.locale)||Ge(n.locale)?n.locale:$s,o=Ge(r)?$s:r,s=st(n.fallbackLocale)||Ue(n.fallbackLocale)||Se(n.fallbackLocale)||n.fallbackLocale===!1?n.fallbackLocale:o,i=Ue(n.messages)?n.messages:fc(o),l=Ue(n.datetimeFormats)?n.datetimeFormats:fc(o),a=Ue(n.numberFormats)?n.numberFormats:fc(o),u=yt(Ke(),n.modifiers,EO()),d=n.pluralRules||Ke(),f=Ge(n.missing)?n.missing:null,h=Ye(n.missingWarn)||Wo(n.missingWarn)?n.missingWarn:!0,p=Ye(n.fallbackWarn)||Wo(n.fallbackWarn)?n.fallbackWarn:!0,m=!!n.fallbackFormat,g=!!n.unresolving,v=Ge(n.postTranslation)?n.postTranslation:null,C=Ue(n.processor)?n.processor:null,w=Ye(n.warnHtmlMessage)?n.warnHtmlMessage:!0,E=!!n.escapeParameter,y=Ge(n.messageCompiler)?n.messageCompiler:lg;process.env.NODE_ENV!=="production"&&Ge(n.messageCompiler)&&K2(oo(St.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const x=Ge(n.messageResolver)?n.messageResolver:cg||qM,A=Ge(n.localeFallbacker)?n.localeFallbacker:ug||mO,I=He(n.fallbackContext)?n.fallbackContext:void 0,B=n,R=He(B.__datetimeFormatters)?B.__datetimeFormatters:new Map,U=He(B.__numberFormatters)?B.__numberFormatters:new Map,$=He(B.__meta)?B.__meta:{};Np++;const P={version:t,cid:Np,locale:r,fallbackLocale:s,messages:i,modifiers:u,pluralRules:d,missing:f,missingWarn:h,fallbackWarn:p,fallbackFormat:m,unresolving:g,postTranslation:v,processor:C,warnHtmlMessage:w,escapeParameter:E,messageCompiler:y,messageResolver:x,localeFallbacker:A,fallbackContext:I,onWarn:e,__meta:$};return P.datetimeFormats=l,P.numberFormats=a,P.__datetimeFormatters=R,P.__numberFormatters=U,process.env.NODE_ENV!=="production"&&(P.__v_emitter=B.__v_emitter!=null?B.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&uO(P,t,$),P}const fc=n=>({[n]:Ke()});function pl(n,e){return n instanceof RegExp?n.test(e):n}function hg(n,e){return n instanceof RegExp?n.test(e):n}function kd(n,e,t,r,o){const{missing:s,onWarn:i}=n;if(process.env.NODE_ENV!=="production"){const l=n.__v_emitter;l&&l.emit("missing",{locale:t,key:e,type:o,groupId:`${o}:${e}`})}if(s!==null){const l=s(n,t,e,o);return Se(l)?l:e}else return process.env.NODE_ENV!=="production"&&hg(r,e)&&i(oo(St.NOT_FOUND_KEY,{key:e,locale:t})),e}function as(n,e,t){const r=n;r.__localeChainCache=new Map,n.localeFallbacker(n,t,e)}function pg(n,e){return n===e?!1:n.split("-")[0]===e.split("-")[0]}function kO(n,e){const t=e.indexOf(n);if(t===-1)return!1;for(let r=t+1;r<e.length;r++)if(pg(n,e[r]))return!0;return!1}function hc(n){return t=>_O(t,n)}function _O(n,e){const t=UM(e);if(t==null)throw Fs(0);if(Td(t)===1){const s=zM(t);return n.plural(s.reduce((i,l)=>[...i,Ip(n,l)],[]))}else return Ip(n,t)}function Ip(n,e){const t=HM(e);if(t!=null)return n.type==="text"?t:n.normalize([t]);{const r=jM(e).reduce((o,s)=>[...o,Xc(n,s)],[]);return n.normalize(r)}}function Xc(n,e){const t=Td(e);switch(t){case 3:return Ci(e,t);case 9:return Ci(e,t);case 4:{const r=e;if(un(r,"k")&&r.k)return n.interpolate(n.named(r.k));if(un(r,"key")&&r.key)return n.interpolate(n.named(r.key));throw Fs(t)}case 5:{const r=e;if(un(r,"i")&&ct(r.i))return n.interpolate(n.list(r.i));if(un(r,"index")&&ct(r.index))return n.interpolate(n.list(r.index));throw Fs(t)}case 6:{const r=e,o=WM(r),s=KM(r);return n.linked(Xc(n,s),o?Xc(n,o):void 0,n.type)}case 7:return Ci(e,t);case 8:return Ci(e,t);default:throw new Error(`unhandled node on format message part: ${t}`)}}const xO="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function mg(n,e){e&&gM(n)&&Jn(Ad(xO,{source:n}))}const gg=n=>n;let No=Ke();function vg(n){n.code===fl.USE_MODULO_SYNTAX&&Jn(`The use of named interpolation with modulo syntax is deprecated. It will be removed in v10.
198
198
  reference: https://vue-i18n.intlify.dev/guide/essentials/syntax#rails-i18n-format
199
- (message compiler warning message: ${n.message})`)}function yg(n,e={}){let t=!1;const r=e.onError||vM;return e.onError=o=>{t=!0,r(o)},{...zM(n,e),detectError:t}}const OO=(n,e)=>{if(!Se(n))throw xn(lt.NOT_SUPPORT_NON_STRING_MESSAGE);process.env.NODE_ENV!=="production"&&(e.onWarn=vg);{const t=Ye(e.warnHtmlMessage)?e.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&mg(n,t);const o=(e.onCacheKey||gg)(n),s=No[o];if(s)return s;const{code:i,detectError:l}=yg(n,e),a=new Function(`return ${i}`)();return l?a:No[o]=a}};function LO(n,e){if(process.env.NODE_ENV!=="production"&&(e.onWarn=vg),__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&Se(n)){const t=Ye(e.warnHtmlMessage)?e.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&mg(n,t);const o=(e.onCacheKey||gg)(n),s=No[o];if(s)return s;const{ast:i,detectError:l}=yg(n,{...e,location:process.env.NODE_ENV!=="production",jit:!0}),a=hc(i);return l?a:No[o]=a}else{if(process.env.NODE_ENV!=="production"&&!hn(n))return Jn(`the message that is resolve with key '${e.key}' is not supported for jit compilation`),()=>n;const t=n.cacheKey;if(t){const r=No[t];return r||(No[t]=hc(n))}else return hc(n)}}const Mp=()=>"",en=n=>Ge(n);function Op(n,...e){const{fallbackFormat:t,postTranslation:r,unresolving:o,messageCompiler:s,fallbackLocale:i,messages:l}=n,[a,u]=qc(...e),d=Ye(u.missingWarn)?u.missingWarn:n.missingWarn,f=Ye(u.fallbackWarn)?u.fallbackWarn:n.fallbackWarn,h=Ye(u.escapeParameter)?u.escapeParameter:n.escapeParameter,p=!!u.resolvedMessage,m=Se(u.default)||Ye(u.default)?Ye(u.default)?s?a:()=>a:u.default:t?s?a:()=>a:"",g=t||m!=="",v=Sd(n,u);h&&DO(u);let[C,w,E]=p?[a,v,l[v]||Ke()]:Eg(n,a,v,i,f,d),y=C,x=a;if(!p&&!(Se(y)||hn(y)||en(y))&&g&&(y=m,x=y),!p&&(!(Se(y)||hn(y)||en(y))||!Se(w)))return o?hl:a;if(process.env.NODE_ENV!=="production"&&Se(y)&&n.messageCompiler==null)return Jn(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${a}'.`),a;let A=!1;const I=()=>{A=!0},B=en(y)?y:Cg(n,a,w,y,x,I);if(A)return y;const R=FO(n,w,E,u),U=dO(R),$=RO(n,B,U),P=r?r($,a):$;if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const Y={timestamp:Date.now(),key:Se(a)?a:en(y)?y.key:"",locale:w||(en(y)?y.locale:""),format:Se(y)?y:en(y)?y.source:"",message:P};Y.meta=yt({},n.__meta,kO()||{}),pO(Y)}return P}function DO(n){st(n.list)?n.list=n.list.map(e=>Se(e)?mp(e):e):He(n.named)&&Object.keys(n.named).forEach(e=>{Se(n.named[e])&&(n.named[e]=mp(n.named[e]))})}function Eg(n,e,t,r,o,s){const{messages:i,onWarn:l,messageResolver:a,localeFallbacker:u}=n,d=u(n,r,t);let f=Ke(),h,p=null,m=t,g=null;const v="translate";for(let C=0;C<d.length;C++){if(h=g=d[C],process.env.NODE_ENV!=="production"&&t!==h&&!pg(t,h)&&pl(o,e)&&l(oo(St.FALLBACK_TO_TRANSLATE,{key:e,target:h})),process.env.NODE_ENV!=="production"&&t!==h){const x=n.__v_emitter;x&&x.emit("fallback",{type:v,key:e,from:m,to:g,groupId:`${v}:${e}`})}f=i[h]||Ke();let w=null,E,y;if(process.env.NODE_ENV!=="production"&&Yn&&(w=window.performance.now(),E="intlify-message-resolve-start",y="intlify-message-resolve-end",zt&&zt(E)),(p=a(f,e))===null&&(p=f[e]),process.env.NODE_ENV!=="production"&&Yn){const x=window.performance.now(),A=n.__v_emitter;A&&w&&p&&A.emit("message-resolve",{type:"message-resolve",key:e,message:p,time:x-w,groupId:`${v}:${e}`}),E&&y&&zt&&ro&&(zt(y),ro("intlify message resolve",E,y))}if(Se(p)||hn(p)||en(p))break;if(!NO(h,d)){const x=kd(n,e,h,s,v);x!==e&&(p=x)}m=g}return[p,h,f]}function Cg(n,e,t,r,o,s){const{messageCompiler:i,warnHtmlMessage:l}=n;if(en(r)){const h=r;return h.locale=h.locale||t,h.key=h.key||e,h}if(i==null){const h=()=>r;return h.locale=t,h.key=e,h}let a=null,u,d;process.env.NODE_ENV!=="production"&&Yn&&(a=window.performance.now(),u="intlify-message-compilation-start",d="intlify-message-compilation-end",zt&&zt(u));const f=i(r,BO(n,t,o,r,l,s));if(process.env.NODE_ENV!=="production"&&Yn){const h=window.performance.now(),p=n.__v_emitter;p&&a&&p.emit("message-compilation",{type:"message-compilation",message:r,time:h-a,groupId:`translate:${e}`}),u&&d&&zt&&ro&&(zt(d),ro("intlify message compilation",u,d))}return f.locale=t,f.key=e,f.source=r,f}function RO(n,e,t){let r=null,o,s;process.env.NODE_ENV!=="production"&&Yn&&(r=window.performance.now(),o="intlify-message-evaluation-start",s="intlify-message-evaluation-end",zt&&zt(o));const i=e(t);if(process.env.NODE_ENV!=="production"&&Yn){const l=window.performance.now(),a=n.__v_emitter;a&&r&&a.emit("message-evaluation",{type:"message-evaluation",value:i,time:l-r,groupId:`translate:${e.key}`}),o&&s&&zt&&ro&&(zt(s),ro("intlify message evaluation",o,s))}return i}function qc(...n){const[e,t,r]=n,o=Ke();if(!Se(e)&&!ct(e)&&!en(e)&&!hn(e))throw xn(lt.INVALID_ARGUMENT);const s=ct(e)?String(e):(en(e),e);return ct(t)?o.plural=t:Se(t)?o.default=t:Ue(t)&&!ul(t)?o.named=t:st(t)&&(o.list=t),ct(r)?o.plural=r:Se(r)?o.default=r:Ue(r)&&yt(o,r),[s,o]}function BO(n,e,t,r,o,s){return{locale:e,key:t,warnHtmlMessage:o,onError:i=>{if(s&&s(i),process.env.NODE_ENV!=="production"){const l=PO(r),a=`Message compilation error: ${i.message}`,u=i.location&&l&&cM(l,i.location.start.offset,i.location.end.offset),d=n.__v_emitter;d&&l&&d.emit("compile-error",{message:l,error:i.message,start:i.location&&i.location.start.offset,end:i.location&&i.location.end.offset,groupId:`translate:${t}`}),console.error(u?`${a}
200
- ${u}`:a)}else throw i},onCacheKey:i=>tM(e,t,i)}}function PO(n){if(Se(n))return n;if(n.loc&&n.loc.source)return n.loc.source}function FO(n,e,t,r){const{modifiers:o,pluralRules:s,messageResolver:i,fallbackLocale:l,fallbackWarn:a,missingWarn:u,fallbackContext:d}=n,h={locale:e,modifiers:o,pluralRules:s,messages:p=>{let m=i(t,p);if(m==null&&d){const[,,g]=Eg(d,p,e,l,a,u);m=i(g,p)}if(Se(m)||hn(m)){let g=!1;const C=Cg(n,p,e,m,p,()=>{g=!0});return g?Mp:C}else return en(m)?m:Mp}};return n.processor&&(h.processor=n.processor),r.list&&(h.list=r.list),r.named&&(h.named=r.named),ct(r.plural)&&(h.pluralIndex=r.plural),h}const Lp=typeof Intl<"u",bg={dateTimeFormat:Lp&&typeof Intl.DateTimeFormat<"u",numberFormat:Lp&&typeof Intl.NumberFormat<"u"};function Dp(n,...e){const{datetimeFormats:t,unresolving:r,fallbackLocale:o,onWarn:s,localeFallbacker:i}=n,{__datetimeFormatters:l}=n;if(process.env.NODE_ENV!=="production"&&!bg.dateTimeFormat)return s(oo(St.CANNOT_FORMAT_DATE)),Oa;const[a,u,d,f]=eu(...e),h=Ye(d.missingWarn)?d.missingWarn:n.missingWarn,p=Ye(d.fallbackWarn)?d.fallbackWarn:n.fallbackWarn,m=!!d.part,g=Sd(n,d),v=i(n,o,g);if(!Se(a)||a==="")return new Intl.DateTimeFormat(g,f).format(u);let C={},w,E=null,y=g,x=null;const A="datetime format";for(let R=0;R<v.length;R++){if(w=x=v[R],process.env.NODE_ENV!=="production"&&g!==w&&pl(p,a)&&s(oo(St.FALLBACK_TO_DATE_FORMAT,{key:a,target:w})),process.env.NODE_ENV!=="production"&&g!==w){const U=n.__v_emitter;U&&U.emit("fallback",{type:A,key:a,from:y,to:x,groupId:`${A}:${a}`})}if(C=t[w]||{},E=C[a],Ue(E))break;kd(n,a,w,h,A),y=x}if(!Ue(E)||!Se(w))return r?hl:a;let I=`${w}__${a}`;ul(f)||(I=`${I}__${JSON.stringify(f)}`);let B=l.get(I);return B||(B=new Intl.DateTimeFormat(w,yt({},E,f)),l.set(I,B)),m?B.formatToParts(u):B.format(u)}const Ag=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function eu(...n){const[e,t,r,o]=n,s=Ke();let i=Ke(),l;if(Se(e)){const a=e.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!a)throw xn(lt.INVALID_ISO_DATE_ARGUMENT);const u=a[3]?a[3].trim().startsWith("T")?`${a[1].trim()}${a[3].trim()}`:`${a[1].trim()}T${a[3].trim()}`:a[1].trim();l=new Date(u);try{l.toISOString()}catch{throw xn(lt.INVALID_ISO_DATE_ARGUMENT)}}else if(rM(e)){if(isNaN(e.getTime()))throw xn(lt.INVALID_DATE_ARGUMENT);l=e}else if(ct(e))l=e;else throw xn(lt.INVALID_ARGUMENT);return Se(t)?s.key=t:Ue(t)&&Object.keys(t).forEach(a=>{Ag.includes(a)?i[a]=t[a]:s[a]=t[a]}),Se(r)?s.locale=r:Ue(r)&&(i=r),Ue(o)&&(i=o),[s.key||"",l,s,i]}function Rp(n,e,t){const r=n;for(const o in t){const s=`${e}__${o}`;r.__datetimeFormatters.has(s)&&r.__datetimeFormatters.delete(s)}}function Bp(n,...e){const{numberFormats:t,unresolving:r,fallbackLocale:o,onWarn:s,localeFallbacker:i}=n,{__numberFormatters:l}=n;if(process.env.NODE_ENV!=="production"&&!bg.numberFormat)return s(oo(St.CANNOT_FORMAT_NUMBER)),Oa;const[a,u,d,f]=tu(...e),h=Ye(d.missingWarn)?d.missingWarn:n.missingWarn,p=Ye(d.fallbackWarn)?d.fallbackWarn:n.fallbackWarn,m=!!d.part,g=Sd(n,d),v=i(n,o,g);if(!Se(a)||a==="")return new Intl.NumberFormat(g,f).format(u);let C={},w,E=null,y=g,x=null;const A="number format";for(let R=0;R<v.length;R++){if(w=x=v[R],process.env.NODE_ENV!=="production"&&g!==w&&pl(p,a)&&s(oo(St.FALLBACK_TO_NUMBER_FORMAT,{key:a,target:w})),process.env.NODE_ENV!=="production"&&g!==w){const U=n.__v_emitter;U&&U.emit("fallback",{type:A,key:a,from:y,to:x,groupId:`${A}:${a}`})}if(C=t[w]||{},E=C[a],Ue(E))break;kd(n,a,w,h,A),y=x}if(!Ue(E)||!Se(w))return r?hl:a;let I=`${w}__${a}`;ul(f)||(I=`${I}__${JSON.stringify(f)}`);let B=l.get(I);return B||(B=new Intl.NumberFormat(w,yt({},E,f)),l.set(I,B)),m?B.formatToParts(u):B.format(u)}const wg=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function tu(...n){const[e,t,r,o]=n,s=Ke();let i=Ke();if(!ct(e))throw xn(lt.INVALID_ARGUMENT);const l=e;return Se(t)?s.key=t:Ue(t)&&Object.keys(t).forEach(a=>{wg.includes(a)?i[a]=t[a]:s[a]=t[a]}),Se(r)?s.locale=r:Ue(r)&&(i=r),Ue(o)&&(i=o),[s.key||"",l,s,i]}function Pp(n,e,t){const r=n;for(const o in t){const s=`${e}__${o}`;r.__numberFormatters.has(s)&&r.__numberFormatters.delete(s)}}HM();/*!
199
+ (message compiler warning message: ${n.message})`)}function yg(n,e={}){let t=!1;const r=e.onError||pM;return e.onError=o=>{t=!0,r(o)},{...VM(n,e),detectError:t}}const NO=(n,e)=>{if(!Se(n))throw xn(lt.NOT_SUPPORT_NON_STRING_MESSAGE);process.env.NODE_ENV!=="production"&&(e.onWarn=vg);{const t=Ye(e.warnHtmlMessage)?e.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&mg(n,t);const o=(e.onCacheKey||gg)(n),s=No[o];if(s)return s;const{code:i,detectError:l}=yg(n,e),a=new Function(`return ${i}`)();return l?a:No[o]=a}};function IO(n,e){if(process.env.NODE_ENV!=="production"&&(e.onWarn=vg),__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&Se(n)){const t=Ye(e.warnHtmlMessage)?e.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&mg(n,t);const o=(e.onCacheKey||gg)(n),s=No[o];if(s)return s;const{ast:i,detectError:l}=yg(n,{...e,location:process.env.NODE_ENV!=="production",jit:!0}),a=hc(i);return l?a:No[o]=a}else{if(process.env.NODE_ENV!=="production"&&!hn(n))return Jn(`the message that is resolve with key '${e.key}' is not supported for jit compilation`),()=>n;const t=n.cacheKey;if(t){const r=No[t];return r||(No[t]=hc(n))}else return hc(n)}}const Mp=()=>"",en=n=>Ge(n);function Op(n,...e){const{fallbackFormat:t,postTranslation:r,unresolving:o,messageCompiler:s,fallbackLocale:i,messages:l}=n,[a,u]=qc(...e),d=Ye(u.missingWarn)?u.missingWarn:n.missingWarn,f=Ye(u.fallbackWarn)?u.fallbackWarn:n.fallbackWarn,h=Ye(u.escapeParameter)?u.escapeParameter:n.escapeParameter,p=!!u.resolvedMessage,m=Se(u.default)||Ye(u.default)?Ye(u.default)?s?a:()=>a:u.default:t?s?a:()=>a:"",g=t||m!=="",v=Sd(n,u);h&&MO(u);let[C,w,E]=p?[a,v,l[v]||Ke()]:Eg(n,a,v,i,f,d),y=C,x=a;if(!p&&!(Se(y)||hn(y)||en(y))&&g&&(y=m,x=y),!p&&(!(Se(y)||hn(y)||en(y))||!Se(w)))return o?hl:a;if(process.env.NODE_ENV!=="production"&&Se(y)&&n.messageCompiler==null)return Jn(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${a}'.`),a;let A=!1;const I=()=>{A=!0},B=en(y)?y:Cg(n,a,w,y,x,I);if(A)return y;const R=RO(n,w,E,u),U=lO(R),$=OO(n,B,U),P=r?r($,a):$;if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const Y={timestamp:Date.now(),key:Se(a)?a:en(y)?y.key:"",locale:w||(en(y)?y.locale:""),format:Se(y)?y:en(y)?y.source:"",message:P};Y.meta=yt({},n.__meta,wO()||{}),dO(Y)}return P}function MO(n){st(n.list)?n.list=n.list.map(e=>Se(e)?mp(e):e):He(n.named)&&Object.keys(n.named).forEach(e=>{Se(n.named[e])&&(n.named[e]=mp(n.named[e]))})}function Eg(n,e,t,r,o,s){const{messages:i,onWarn:l,messageResolver:a,localeFallbacker:u}=n,d=u(n,r,t);let f=Ke(),h,p=null,m=t,g=null;const v="translate";for(let C=0;C<d.length;C++){if(h=g=d[C],process.env.NODE_ENV!=="production"&&t!==h&&!pg(t,h)&&pl(o,e)&&l(oo(St.FALLBACK_TO_TRANSLATE,{key:e,target:h})),process.env.NODE_ENV!=="production"&&t!==h){const x=n.__v_emitter;x&&x.emit("fallback",{type:v,key:e,from:m,to:g,groupId:`${v}:${e}`})}f=i[h]||Ke();let w=null,E,y;if(process.env.NODE_ENV!=="production"&&Yn&&(w=window.performance.now(),E="intlify-message-resolve-start",y="intlify-message-resolve-end",zt&&zt(E)),(p=a(f,e))===null&&(p=f[e]),process.env.NODE_ENV!=="production"&&Yn){const x=window.performance.now(),A=n.__v_emitter;A&&w&&p&&A.emit("message-resolve",{type:"message-resolve",key:e,message:p,time:x-w,groupId:`${v}:${e}`}),E&&y&&zt&&ro&&(zt(y),ro("intlify message resolve",E,y))}if(Se(p)||hn(p)||en(p))break;if(!kO(h,d)){const x=kd(n,e,h,s,v);x!==e&&(p=x)}m=g}return[p,h,f]}function Cg(n,e,t,r,o,s){const{messageCompiler:i,warnHtmlMessage:l}=n;if(en(r)){const h=r;return h.locale=h.locale||t,h.key=h.key||e,h}if(i==null){const h=()=>r;return h.locale=t,h.key=e,h}let a=null,u,d;process.env.NODE_ENV!=="production"&&Yn&&(a=window.performance.now(),u="intlify-message-compilation-start",d="intlify-message-compilation-end",zt&&zt(u));const f=i(r,LO(n,t,o,r,l,s));if(process.env.NODE_ENV!=="production"&&Yn){const h=window.performance.now(),p=n.__v_emitter;p&&a&&p.emit("message-compilation",{type:"message-compilation",message:r,time:h-a,groupId:`translate:${e}`}),u&&d&&zt&&ro&&(zt(d),ro("intlify message compilation",u,d))}return f.locale=t,f.key=e,f.source=r,f}function OO(n,e,t){let r=null,o,s;process.env.NODE_ENV!=="production"&&Yn&&(r=window.performance.now(),o="intlify-message-evaluation-start",s="intlify-message-evaluation-end",zt&&zt(o));const i=e(t);if(process.env.NODE_ENV!=="production"&&Yn){const l=window.performance.now(),a=n.__v_emitter;a&&r&&a.emit("message-evaluation",{type:"message-evaluation",value:i,time:l-r,groupId:`translate:${e.key}`}),o&&s&&zt&&ro&&(zt(s),ro("intlify message evaluation",o,s))}return i}function qc(...n){const[e,t,r]=n,o=Ke();if(!Se(e)&&!ct(e)&&!en(e)&&!hn(e))throw xn(lt.INVALID_ARGUMENT);const s=ct(e)?String(e):(en(e),e);return ct(t)?o.plural=t:Se(t)?o.default=t:Ue(t)&&!ul(t)?o.named=t:st(t)&&(o.list=t),ct(r)?o.plural=r:Se(r)?o.default=r:Ue(r)&&yt(o,r),[s,o]}function LO(n,e,t,r,o,s){return{locale:e,key:t,warnHtmlMessage:o,onError:i=>{if(s&&s(i),process.env.NODE_ENV!=="production"){const l=DO(r),a=`Message compilation error: ${i.message}`,u=i.location&&l&&iM(l,i.location.start.offset,i.location.end.offset),d=n.__v_emitter;d&&l&&d.emit("compile-error",{message:l,error:i.message,start:i.location&&i.location.start.offset,end:i.location&&i.location.end.offset,groupId:`translate:${t}`}),console.error(u?`${a}
200
+ ${u}`:a)}else throw i},onCacheKey:i=>XI(e,t,i)}}function DO(n){if(Se(n))return n;if(n.loc&&n.loc.source)return n.loc.source}function RO(n,e,t,r){const{modifiers:o,pluralRules:s,messageResolver:i,fallbackLocale:l,fallbackWarn:a,missingWarn:u,fallbackContext:d}=n,h={locale:e,modifiers:o,pluralRules:s,messages:p=>{let m=i(t,p);if(m==null&&d){const[,,g]=Eg(d,p,e,l,a,u);m=i(g,p)}if(Se(m)||hn(m)){let g=!1;const C=Cg(n,p,e,m,p,()=>{g=!0});return g?Mp:C}else return en(m)?m:Mp}};return n.processor&&(h.processor=n.processor),r.list&&(h.list=r.list),r.named&&(h.named=r.named),ct(r.plural)&&(h.pluralIndex=r.plural),h}const Lp=typeof Intl<"u",bg={dateTimeFormat:Lp&&typeof Intl.DateTimeFormat<"u",numberFormat:Lp&&typeof Intl.NumberFormat<"u"};function Dp(n,...e){const{datetimeFormats:t,unresolving:r,fallbackLocale:o,onWarn:s,localeFallbacker:i}=n,{__datetimeFormatters:l}=n;if(process.env.NODE_ENV!=="production"&&!bg.dateTimeFormat)return s(oo(St.CANNOT_FORMAT_DATE)),Oa;const[a,u,d,f]=eu(...e),h=Ye(d.missingWarn)?d.missingWarn:n.missingWarn,p=Ye(d.fallbackWarn)?d.fallbackWarn:n.fallbackWarn,m=!!d.part,g=Sd(n,d),v=i(n,o,g);if(!Se(a)||a==="")return new Intl.DateTimeFormat(g,f).format(u);let C={},w,E=null,y=g,x=null;const A="datetime format";for(let R=0;R<v.length;R++){if(w=x=v[R],process.env.NODE_ENV!=="production"&&g!==w&&pl(p,a)&&s(oo(St.FALLBACK_TO_DATE_FORMAT,{key:a,target:w})),process.env.NODE_ENV!=="production"&&g!==w){const U=n.__v_emitter;U&&U.emit("fallback",{type:A,key:a,from:y,to:x,groupId:`${A}:${a}`})}if(C=t[w]||{},E=C[a],Ue(E))break;kd(n,a,w,h,A),y=x}if(!Ue(E)||!Se(w))return r?hl:a;let I=`${w}__${a}`;ul(f)||(I=`${I}__${JSON.stringify(f)}`);let B=l.get(I);return B||(B=new Intl.DateTimeFormat(w,yt({},E,f)),l.set(I,B)),m?B.formatToParts(u):B.format(u)}const Ag=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function eu(...n){const[e,t,r,o]=n,s=Ke();let i=Ke(),l;if(Se(e)){const a=e.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!a)throw xn(lt.INVALID_ISO_DATE_ARGUMENT);const u=a[3]?a[3].trim().startsWith("T")?`${a[1].trim()}${a[3].trim()}`:`${a[1].trim()}T${a[3].trim()}`:a[1].trim();l=new Date(u);try{l.toISOString()}catch{throw xn(lt.INVALID_ISO_DATE_ARGUMENT)}}else if(eM(e)){if(isNaN(e.getTime()))throw xn(lt.INVALID_DATE_ARGUMENT);l=e}else if(ct(e))l=e;else throw xn(lt.INVALID_ARGUMENT);return Se(t)?s.key=t:Ue(t)&&Object.keys(t).forEach(a=>{Ag.includes(a)?i[a]=t[a]:s[a]=t[a]}),Se(r)?s.locale=r:Ue(r)&&(i=r),Ue(o)&&(i=o),[s.key||"",l,s,i]}function Rp(n,e,t){const r=n;for(const o in t){const s=`${e}__${o}`;r.__datetimeFormatters.has(s)&&r.__datetimeFormatters.delete(s)}}function Bp(n,...e){const{numberFormats:t,unresolving:r,fallbackLocale:o,onWarn:s,localeFallbacker:i}=n,{__numberFormatters:l}=n;if(process.env.NODE_ENV!=="production"&&!bg.numberFormat)return s(oo(St.CANNOT_FORMAT_NUMBER)),Oa;const[a,u,d,f]=tu(...e),h=Ye(d.missingWarn)?d.missingWarn:n.missingWarn,p=Ye(d.fallbackWarn)?d.fallbackWarn:n.fallbackWarn,m=!!d.part,g=Sd(n,d),v=i(n,o,g);if(!Se(a)||a==="")return new Intl.NumberFormat(g,f).format(u);let C={},w,E=null,y=g,x=null;const A="number format";for(let R=0;R<v.length;R++){if(w=x=v[R],process.env.NODE_ENV!=="production"&&g!==w&&pl(p,a)&&s(oo(St.FALLBACK_TO_NUMBER_FORMAT,{key:a,target:w})),process.env.NODE_ENV!=="production"&&g!==w){const U=n.__v_emitter;U&&U.emit("fallback",{type:A,key:a,from:y,to:x,groupId:`${A}:${a}`})}if(C=t[w]||{},E=C[a],Ue(E))break;kd(n,a,w,h,A),y=x}if(!Ue(E)||!Se(w))return r?hl:a;let I=`${w}__${a}`;ul(f)||(I=`${I}__${JSON.stringify(f)}`);let B=l.get(I);return B||(B=new Intl.NumberFormat(w,yt({},E,f)),l.set(I,B)),m?B.formatToParts(u):B.format(u)}const wg=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function tu(...n){const[e,t,r,o]=n,s=Ke();let i=Ke();if(!ct(e))throw xn(lt.INVALID_ARGUMENT);const l=e;return Se(t)?s.key=t:Ue(t)&&Object.keys(t).forEach(a=>{wg.includes(a)?i[a]=t[a]:s[a]=t[a]}),Se(r)?s.locale=r:Ue(r)&&(i=r),Ue(o)&&(i=o),[s.key||"",l,s,i]}function Pp(n,e,t){const r=n;for(const o in t){const s=`${e}__${o}`;r.__numberFormatters.has(s)&&r.__numberFormatters.delete(s)}}$M();/*!
201
201
  * vue-i18n v9.14.4
202
202
  * (c) 2025 kazuya kawaguchi
203
203
  * Released under the MIT License.
204
- */const VO="9.14.4";function $O(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(zn().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(zn().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(zn().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(zn().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(zn().__INTLIFY_PROD_DEVTOOLS__=!1)}const Tg=St.__EXTEND_POINT__,Fn=dl(Tg),Dt={FALLBACK_TO_ROOT:Tg,NOT_SUPPORTED_PRESERVE:Fn(),NOT_SUPPORTED_FORMATTER:Fn(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:Fn(),NOT_SUPPORTED_GET_CHOICE_INDEX:Fn(),COMPONENT_NAME_LEGACY_COMPATIBLE:Fn(),NOT_FOUND_PARENT_SCOPE:Fn(),IGNORE_OBJ_FLATTEN:Fn(),NOTICE_DROP_ALLOW_COMPOSITION:Fn(),NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG:Fn()},UO={[Dt.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[Dt.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[Dt.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[Dt.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[Dt.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[Dt.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[Dt.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[Dt.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[Dt.NOTICE_DROP_ALLOW_COMPOSITION]:"'allowComposition' option will be dropped in the next major version. For more information, please see 👉 https://tinyurl.com/2p97mcze",[Dt.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG]:"'translateExistCompatible' option will be dropped in the next major version."};function La(n,...e){return Ad(UO[n],...e)}const Sg=lt.__EXTEND_POINT__,Lt=dl(Sg),Xe={UNEXPECTED_RETURN_TYPE:Sg,INVALID_ARGUMENT:Lt(),MUST_BE_CALL_SETUP_TOP:Lt(),NOT_INSTALLED:Lt(),NOT_AVAILABLE_IN_LEGACY_MODE:Lt(),REQUIRED_VALUE:Lt(),INVALID_VALUE:Lt(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Lt(),NOT_INSTALLED_WITH_PROVIDE:Lt(),UNEXPECTED_ERROR:Lt(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Lt(),BRIDGE_SUPPORT_VUE_2_ONLY:Lt(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Lt(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Lt(),__EXTEND_POINT__:Lt()};function pr(n,...e){return ns(n,null,process.env.NODE_ENV!=="production"?{messages:zO,args:e}:void 0)}const zO={[Xe.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[Xe.INVALID_ARGUMENT]:"Invalid argument",[Xe.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[Xe.NOT_INSTALLED]:"Need to install with `app.use` function",[Xe.UNEXPECTED_ERROR]:"Unexpected error",[Xe.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[Xe.REQUIRED_VALUE]:"Required in value: {0}",[Xe.INVALID_VALUE]:"Invalid value",[Xe.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[Xe.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[Xe.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[Xe.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[Xe.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION]:"Must define ‘i18n’ option or custom block in Composition API with using local scope in Legacy API mode",[Xe.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},nu=Zn("__translateVNode"),ru=Zn("__datetimeParts"),ou=Zn("__numberParts"),su=Zn("__enableEmitter"),iu=Zn("__disableEmitter"),HO=Zn("__setPluralRules"),kg=Zn("__injectWithOption"),au=Zn("__dispose");function Us(n){if(!He(n)||hn(n))return n;for(const e in n)if(un(n,e))if(!e.includes("."))He(n[e])&&Us(n[e]);else{const t=e.split("."),r=t.length-1;let o=n,s=!1;for(let i=0;i<r;i++){if(t[i]==="__proto__")throw new Error(`unsafe key: ${t[i]}`);if(t[i]in o||(o[t[i]]=Ke()),!He(o[t[i]])){process.env.NODE_ENV!=="production"&&Jn(La(Dt.IGNORE_OBJ_FLATTEN,{key:t[i]})),s=!0;break}o=o[t[i]]}if(s||(hn(o)?og.includes(t[r])||delete n[e]:(o[t[r]]=n[e],delete n[e])),!hn(o)){const i=o[t[r]];He(i)&&Us(i)}}return n}function _d(n,e){const{messages:t,__i18n:r,messageResolver:o,flatJson:s}=e,i=Ue(t)?t:st(r)?Ke():{[n]:Ke()};if(st(r)&&r.forEach(l=>{if("locale"in l&&"resource"in l){const{locale:a,resource:u}=l;a?(i[a]=i[a]||Ke(),xi(u,i[a])):xi(u,i)}else Se(l)&&xi(JSON.parse(l),i)}),o==null&&s)for(const l in i)un(i,l)&&Us(i[l]);return i}function _g(n){return n.type}function jO(n,e,t){let r=He(e.messages)?e.messages:Ke();"__i18nGlobal"in t&&(r=_d(n.locale.value,{messages:r,__i18n:t.__i18nGlobal}));const o=Object.keys(r);o.length&&o.forEach(s=>{n.mergeLocaleMessage(s,r[s])});{if(He(e.datetimeFormats)){const s=Object.keys(e.datetimeFormats);s.length&&s.forEach(i=>{n.mergeDateTimeFormat(i,e.datetimeFormats[i])})}if(He(e.numberFormats)){const s=Object.keys(e.numberFormats);s.length&&s.forEach(i=>{n.mergeNumberFormat(i,e.numberFormats[i])})}}}function Fp(n){return c.createVNode(c.Text,null,n,0)}const Vp="__INTLIFY_META__",$p=()=>[],WO=()=>!1;let Up=0;function zp(n){return(e,t,r,o)=>n(t,r,c.getCurrentInstance()||void 0,o)}const KO=()=>{const n=c.getCurrentInstance();let e=null;return n&&(e=_g(n)[Vp])?{[Vp]:e}:null};function YO(n={},e){const{__root:t,__injectWithOption:r}=n,o=t===void 0,s=n.flatJson,i=Yn?c.ref:c.shallowRef,l=!!n.translateExistCompatible;process.env.NODE_ENV!=="production"&&l&&K2(La(Dt.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG));let a=Ye(n.inheritLocale)?n.inheritLocale:!0;const u=i(t&&a?t.locale.value:Se(n.locale)?n.locale:$s),d=i(t&&a?t.fallbackLocale.value:Se(n.fallbackLocale)||st(n.fallbackLocale)||Ue(n.fallbackLocale)||n.fallbackLocale===!1?n.fallbackLocale:u.value),f=i(_d(u.value,n)),h=i(Ue(n.datetimeFormats)?n.datetimeFormats:{[u.value]:{}}),p=i(Ue(n.numberFormats)?n.numberFormats:{[u.value]:{}});let m=t?t.missingWarn:Ye(n.missingWarn)||Wo(n.missingWarn)?n.missingWarn:!0,g=t?t.fallbackWarn:Ye(n.fallbackWarn)||Wo(n.fallbackWarn)?n.fallbackWarn:!0,v=t?t.fallbackRoot:Ye(n.fallbackRoot)?n.fallbackRoot:!0,C=!!n.fallbackFormat,w=Ge(n.missing)?n.missing:null,E=Ge(n.missing)?zp(n.missing):null,y=Ge(n.postTranslation)?n.postTranslation:null,x=t?t.warnHtmlMessage:Ye(n.warnHtmlMessage)?n.warnHtmlMessage:!0,A=!!n.escapeParameter;const I=t?t.modifiers:Ue(n.modifiers)?n.modifiers:{};let B=n.pluralRules||t&&t.pluralRules,R;R=(()=>{o&&xp(null);const q={version:VO,locale:u.value,fallbackLocale:d.value,messages:f.value,modifiers:I,pluralRules:B,missing:E===null?void 0:E,missingWarn:m,fallbackWarn:g,fallbackFormat:C,unresolving:!0,postTranslation:y===null?void 0:y,warnHtmlMessage:x,escapeParameter:A,messageResolver:n.messageResolver,messageCompiler:n.messageCompiler,__meta:{framework:"vue"}};q.datetimeFormats=h.value,q.numberFormats=p.value,q.__datetimeFormatters=Ue(R)?R.__datetimeFormatters:void 0,q.__numberFormatters=Ue(R)?R.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(q.__v_emitter=Ue(R)?R.__v_emitter:void 0);const se=xO(q);return o&&xp(se),se})(),as(R,u.value,d.value);function $(){return[u.value,d.value,f.value,h.value,p.value]}const P=c.computed({get:()=>u.value,set:q=>{u.value=q,R.locale=u.value}}),Y=c.computed({get:()=>d.value,set:q=>{d.value=q,R.fallbackLocale=d.value,as(R,u.value,q)}}),G=c.computed(()=>f.value),K=c.computed(()=>h.value),H=c.computed(()=>p.value);function J(){return Ge(y)?y:null}function z(q){y=q,R.postTranslation=q}function ee(){return w}function ne(q){q!==null&&(E=zp(q)),w=q,R.missing=E}function ce(q,se){return q!=="translate"||!se.resolvedMessage}const me=(q,se,be,Be,Ze,tt)=>{$();let Ct;try{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,o||(R.fallbackContext=t?_O():void 0),Ct=q(R)}finally{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,o||(R.fallbackContext=void 0)}if(be!=="translate exists"&&ct(Ct)&&Ct===hl||be==="translate exists"&&!Ct){const[te,ge]=se();if(process.env.NODE_ENV!=="production"&&t&&Se(te)&&ce(be,ge)&&(v&&(pl(g,te)||hg(m,te))&&Jn(La(Dt.FALLBACK_TO_ROOT,{key:te,type:be})),process.env.NODE_ENV!=="production")){const{__v_emitter:pe}=R;pe&&v&&pe.emit("fallback",{type:be,key:te,to:"global",groupId:`${be}:${te}`})}return t&&v?Be(t):Ze(te)}else{if(tt(Ct))return Ct;throw pr(Xe.UNEXPECTED_RETURN_TYPE)}};function ve(...q){return me(se=>Reflect.apply(Op,null,[se,...q]),()=>qc(...q),"translate",se=>Reflect.apply(se.t,se,[...q]),se=>se,se=>Se(se))}function Te(...q){const[se,be,Be]=q;if(Be&&!He(Be))throw pr(Xe.INVALID_ARGUMENT);return ve(se,be,yt({resolvedMessage:!0},Be||{}))}function ke(...q){return me(se=>Reflect.apply(Dp,null,[se,...q]),()=>eu(...q),"datetime format",se=>Reflect.apply(se.d,se,[...q]),()=>Oa,se=>Se(se))}function Ne(...q){return me(se=>Reflect.apply(Bp,null,[se,...q]),()=>tu(...q),"number format",se=>Reflect.apply(se.n,se,[...q]),()=>Oa,se=>Se(se))}function Ce(q){return q.map(se=>Se(se)||ct(se)||Ye(se)?Fp(String(se)):se)}const D={normalize:Ce,interpolate:q=>q,type:"vnode"};function N(...q){return me(se=>{let be;const Be=se;try{Be.processor=D,be=Reflect.apply(Op,null,[Be,...q])}finally{Be.processor=null}return be},()=>qc(...q),"translate",se=>se[nu](...q),se=>[Fp(se)],se=>st(se))}function L(...q){return me(se=>Reflect.apply(Bp,null,[se,...q]),()=>tu(...q),"number format",se=>se[ou](...q),$p,se=>Se(se)||st(se))}function b(...q){return me(se=>Reflect.apply(Dp,null,[se,...q]),()=>eu(...q),"datetime format",se=>se[ru](...q),$p,se=>Se(se)||st(se))}function T(q){B=q,R.pluralRules=B}function _(q,se){return me(()=>{if(!q)return!1;const be=Se(se)?se:u.value,Be=W(be),Ze=R.messageResolver(Be,q);return l?Ze!=null:hn(Ze)||en(Ze)||Se(Ze)},()=>[q],"translate exists",be=>Reflect.apply(be.te,be,[q,se]),WO,be=>Ye(be))}function M(q){let se=null;const be=ag(R,d.value,u.value);for(let Be=0;Be<be.length;Be++){const Ze=f.value[be[Be]]||{},tt=R.messageResolver(Ze,q);if(tt!=null){se=tt;break}}return se}function j(q){const se=M(q);return se??(t?t.tm(q)||{}:{})}function W(q){return f.value[q]||{}}function Z(q,se){if(s){const be={[q]:se};for(const Be in be)un(be,Be)&&Us(be[Be]);se=be[q]}f.value[q]=se,R.messages=f.value}function X(q,se){f.value[q]=f.value[q]||{};const be={[q]:se};if(s)for(const Be in be)un(be,Be)&&Us(be[Be]);se=be[q],xi(se,f.value[q]),R.messages=f.value}function S(q){return h.value[q]||{}}function k(q,se){h.value[q]=se,R.datetimeFormats=h.value,Rp(R,q,se)}function V(q,se){h.value[q]=yt(h.value[q]||{},se),R.datetimeFormats=h.value,Rp(R,q,se)}function Q(q){return p.value[q]||{}}function ie(q,se){p.value[q]=se,R.numberFormats=p.value,Pp(R,q,se)}function he(q,se){p.value[q]=yt(p.value[q]||{},se),R.numberFormats=p.value,Pp(R,q,se)}Up++,t&&Yn&&(c.watch(t.locale,q=>{a&&(u.value=q,R.locale=q,as(R,u.value,d.value))}),c.watch(t.fallbackLocale,q=>{a&&(d.value=q,R.fallbackLocale=q,as(R,u.value,d.value))}));const Ae={id:Up,locale:P,fallbackLocale:Y,get inheritLocale(){return a},set inheritLocale(q){a=q,q&&t&&(u.value=t.locale.value,d.value=t.fallbackLocale.value,as(R,u.value,d.value))},get availableLocales(){return Object.keys(f.value).sort()},messages:G,get modifiers(){return I},get pluralRules(){return B||{}},get isGlobal(){return o},get missingWarn(){return m},set missingWarn(q){m=q,R.missingWarn=m},get fallbackWarn(){return g},set fallbackWarn(q){g=q,R.fallbackWarn=g},get fallbackRoot(){return v},set fallbackRoot(q){v=q},get fallbackFormat(){return C},set fallbackFormat(q){C=q,R.fallbackFormat=C},get warnHtmlMessage(){return x},set warnHtmlMessage(q){x=q,R.warnHtmlMessage=q},get escapeParameter(){return A},set escapeParameter(q){A=q,R.escapeParameter=q},t:ve,getLocaleMessage:W,setLocaleMessage:Z,mergeLocaleMessage:X,getPostTranslationHandler:J,setPostTranslationHandler:z,getMissingHandler:ee,setMissingHandler:ne,[HO]:T};return Ae.datetimeFormats=K,Ae.numberFormats=H,Ae.rt=Te,Ae.te=_,Ae.tm=j,Ae.d=ke,Ae.n=Ne,Ae.getDateTimeFormat=S,Ae.setDateTimeFormat=k,Ae.mergeDateTimeFormat=V,Ae.getNumberFormat=Q,Ae.setNumberFormat=ie,Ae.mergeNumberFormat=he,Ae[kg]=r,Ae[nu]=N,Ae[ru]=b,Ae[ou]=L,process.env.NODE_ENV!=="production"&&(Ae[su]=q=>{R.__v_emitter=q},Ae[iu]=()=>{R.__v_emitter=void 0}),Ae}const xd={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:n=>n==="parent"||n==="global",default:"parent"},i18n:{type:Object}};function GO({slots:n},e){return e.length===1&&e[0]==="default"?(n.default?n.default():[]).reduce((r,o)=>[...r,...o.type===c.Fragment?o.children:[o]],[]):e.reduce((t,r)=>{const o=n[r];return o&&(t[r]=o()),t},Ke())}function xg(n){return c.Fragment}yt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:n=>ct(n)||!isNaN(n)}},xd);function QO(n){return st(n)&&!Se(n[0])}function Ng(n,e,t,r){const{slots:o,attrs:s}=e;return()=>{const i={part:!0};let l=Ke();n.locale&&(i.locale=n.locale),Se(n.format)?i.key=n.format:He(n.format)&&(Se(n.format.key)&&(i.key=n.format.key),l=Object.keys(n.format).reduce((h,p)=>t.includes(p)?yt(Ke(),h,{[p]:n.format[p]}):h,Ke()));const a=r(n.value,i,l);let u=[i.key];st(a)?u=a.map((h,p)=>{const m=o[h.type],g=m?m({[h.type]:h.value,index:p,parts:a}):[h.value];return QO(g)&&(g[0].key=`${h.type}-${p}`),g}):Se(a)&&(u=[a]);const d=yt(Ke(),s),f=Se(n.tag)||He(n.tag)?n.tag:xg();return c.h(f,d,u)}}yt({value:{type:Number,required:!0},format:{type:[String,Object]}},xd);yt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},xd);function Hp(n,e){}const ZO=Zn("global-vue-i18n");function qs(n={}){const e=c.getCurrentInstance();if(e==null)throw pr(Xe.MUST_BE_CALL_SETUP_TOP);if(!e.isCE&&e.appContext.app!=null&&!e.appContext.app.__VUE_I18N_SYMBOL__)throw pr(Xe.NOT_INSTALLED);const t=JO(e),r=qO(t),o=_g(e),s=XO(n,o);if(__VUE_I18N_LEGACY_API__&&t.mode==="legacy"&&!n.__useComponent){if(!t.allowComposition)throw pr(Xe.NOT_AVAILABLE_IN_LEGACY_MODE);return rL(e,s,r,n)}if(s==="global")return jO(r,n,o),r;if(s==="parent"){let a=eL(t,e,n.__useComponent);return a==null&&(process.env.NODE_ENV!=="production"&&Jn(La(Dt.NOT_FOUND_PARENT_SCOPE)),a=r),a}const i=t;let l=i.__getInstance(e);if(l==null){const a=yt({},n);"__i18n"in o&&(a.__i18n=o.__i18n),r&&(a.__root=r),l=YO(a),i.__composerExtend&&(l[au]=i.__composerExtend(l)),nL(i,e,l),i.__setInstance(e,l)}return l}function JO(n){{const e=c.inject(n.isCE?ZO:n.appContext.app.__VUE_I18N_SYMBOL__);if(!e)throw pr(n.isCE?Xe.NOT_INSTALLED_WITH_PROVIDE:Xe.UNEXPECTED_ERROR);return e}}function XO(n,e){return ul(n)?"__i18n"in e?"local":"global":n.useScope?n.useScope:"local"}function qO(n){return n.mode==="composition"?n.global:n.global.__composer}function eL(n,e,t=!1){let r=null;const o=e.root;let s=tL(e,t);for(;s!=null;){const i=n;if(n.mode==="composition")r=i.__getInstance(s);else if(__VUE_I18N_LEGACY_API__){const l=i.__getInstance(s);l!=null&&(r=l.__composer,t&&r&&!r[kg]&&(r=null))}if(r!=null||o===s)break;s=s.parent}return r}function tL(n,e=!1){return n==null?null:e&&n.vnode.ctx||n.parent}function nL(n,e,t){let r=null;c.onMounted(()=>{if(process.env.NODE_ENV!=="production"&&e.vnode.el){e.vnode.el.__VUE_I18N__=t,r=uM();const o=t;o[su]&&o[su](r),r.on("*",Hp)}},e),c.onUnmounted(()=>{const o=t;process.env.NODE_ENV!=="production"&&e.vnode.el&&e.vnode.el.__VUE_I18N__&&(r&&r.off("*",Hp),o[iu]&&o[iu](),delete e.vnode.el.__VUE_I18N__),n.__deleteInstance(e);const s=o[au];s&&(s(),delete o[au])},e)}function rL(n,e,t,r={}){const o=e==="local",s=c.shallowRef(null);if(o&&n.proxy&&!(n.proxy.$options.i18n||n.proxy.$options.__i18n))throw pr(Xe.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const i=Ye(r.inheritLocale)?r.inheritLocale:!Se(r.locale),l=c.ref(!o||i?t.locale.value:Se(r.locale)?r.locale:$s),a=c.ref(!o||i?t.fallbackLocale.value:Se(r.fallbackLocale)||st(r.fallbackLocale)||Ue(r.fallbackLocale)||r.fallbackLocale===!1?r.fallbackLocale:l.value),u=c.ref(_d(l.value,r)),d=c.ref(Ue(r.datetimeFormats)?r.datetimeFormats:{[l.value]:{}}),f=c.ref(Ue(r.numberFormats)?r.numberFormats:{[l.value]:{}}),h=o?t.missingWarn:Ye(r.missingWarn)||Wo(r.missingWarn)?r.missingWarn:!0,p=o?t.fallbackWarn:Ye(r.fallbackWarn)||Wo(r.fallbackWarn)?r.fallbackWarn:!0,m=o?t.fallbackRoot:Ye(r.fallbackRoot)?r.fallbackRoot:!0,g=!!r.fallbackFormat,v=Ge(r.missing)?r.missing:null,C=Ge(r.postTranslation)?r.postTranslation:null,w=o?t.warnHtmlMessage:Ye(r.warnHtmlMessage)?r.warnHtmlMessage:!0,E=!!r.escapeParameter,y=o?t.modifiers:Ue(r.modifiers)?r.modifiers:{},x=r.pluralRules||o&&t.pluralRules;function A(){return[l.value,a.value,u.value,d.value,f.value]}const I=c.computed({get:()=>s.value?s.value.locale.value:l.value,set:_=>{s.value&&(s.value.locale.value=_),l.value=_}}),B=c.computed({get:()=>s.value?s.value.fallbackLocale.value:a.value,set:_=>{s.value&&(s.value.fallbackLocale.value=_),a.value=_}}),R=c.computed(()=>s.value?s.value.messages.value:u.value),U=c.computed(()=>d.value),$=c.computed(()=>f.value);function P(){return s.value?s.value.getPostTranslationHandler():C}function Y(_){s.value&&s.value.setPostTranslationHandler(_)}function G(){return s.value?s.value.getMissingHandler():v}function K(_){s.value&&s.value.setMissingHandler(_)}function H(_){return A(),_()}function J(..._){return s.value?H(()=>Reflect.apply(s.value.t,null,[..._])):H(()=>"")}function z(..._){return s.value?Reflect.apply(s.value.rt,null,[..._]):""}function ee(..._){return s.value?H(()=>Reflect.apply(s.value.d,null,[..._])):H(()=>"")}function ne(..._){return s.value?H(()=>Reflect.apply(s.value.n,null,[..._])):H(()=>"")}function ce(_){return s.value?s.value.tm(_):{}}function me(_,M){return s.value?s.value.te(_,M):!1}function ve(_){return s.value?s.value.getLocaleMessage(_):{}}function Te(_,M){s.value&&(s.value.setLocaleMessage(_,M),u.value[_]=M)}function ke(_,M){s.value&&s.value.mergeLocaleMessage(_,M)}function Ne(_){return s.value?s.value.getDateTimeFormat(_):{}}function Ce(_,M){s.value&&(s.value.setDateTimeFormat(_,M),d.value[_]=M)}function O(_,M){s.value&&s.value.mergeDateTimeFormat(_,M)}function D(_){return s.value?s.value.getNumberFormat(_):{}}function N(_,M){s.value&&(s.value.setNumberFormat(_,M),f.value[_]=M)}function L(_,M){s.value&&s.value.mergeNumberFormat(_,M)}const b={get id(){return s.value?s.value.id:-1},locale:I,fallbackLocale:B,messages:R,datetimeFormats:U,numberFormats:$,get inheritLocale(){return s.value?s.value.inheritLocale:i},set inheritLocale(_){s.value&&(s.value.inheritLocale=_)},get availableLocales(){return s.value?s.value.availableLocales:Object.keys(u.value)},get modifiers(){return s.value?s.value.modifiers:y},get pluralRules(){return s.value?s.value.pluralRules:x},get isGlobal(){return s.value?s.value.isGlobal:!1},get missingWarn(){return s.value?s.value.missingWarn:h},set missingWarn(_){s.value&&(s.value.missingWarn=_)},get fallbackWarn(){return s.value?s.value.fallbackWarn:p},set fallbackWarn(_){s.value&&(s.value.missingWarn=_)},get fallbackRoot(){return s.value?s.value.fallbackRoot:m},set fallbackRoot(_){s.value&&(s.value.fallbackRoot=_)},get fallbackFormat(){return s.value?s.value.fallbackFormat:g},set fallbackFormat(_){s.value&&(s.value.fallbackFormat=_)},get warnHtmlMessage(){return s.value?s.value.warnHtmlMessage:w},set warnHtmlMessage(_){s.value&&(s.value.warnHtmlMessage=_)},get escapeParameter(){return s.value?s.value.escapeParameter:E},set escapeParameter(_){s.value&&(s.value.escapeParameter=_)},t:J,getPostTranslationHandler:P,setPostTranslationHandler:Y,getMissingHandler:G,setMissingHandler:K,rt:z,d:ee,n:ne,tm:ce,te:me,getLocaleMessage:ve,setLocaleMessage:Te,mergeLocaleMessage:ke,getDateTimeFormat:Ne,setDateTimeFormat:Ce,mergeDateTimeFormat:O,getNumberFormat:D,setNumberFormat:N,mergeNumberFormat:L};function T(_){_.locale.value=l.value,_.fallbackLocale.value=a.value,Object.keys(u.value).forEach(M=>{_.mergeLocaleMessage(M,u.value[M])}),Object.keys(d.value).forEach(M=>{_.mergeDateTimeFormat(M,d.value[M])}),Object.keys(f.value).forEach(M=>{_.mergeNumberFormat(M,f.value[M])}),_.escapeParameter=E,_.fallbackFormat=g,_.fallbackRoot=m,_.fallbackWarn=p,_.missingWarn=h,_.warnHtmlMessage=w}return c.onBeforeMount(()=>{if(n.proxy==null||n.proxy.$i18n==null)throw pr(Xe.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const _=s.value=n.proxy.$i18n.__composer;e==="global"?(l.value=_.locale.value,a.value=_.fallbackLocale.value,u.value=_.messages.value,d.value=_.datetimeFormats.value,f.value=_.numberFormats.value):o&&T(_)}),b}$O();__INTLIFY_JIT_COMPILATION__?_p(LO):_p(OO);wO(rO);TO(ag);if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const n=zn();n.__INTLIFY__=!0,fO(n.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const oL="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgaGVpZ2h0PSI4MDBweCIKICAgd2lkdGg9IjgwMHB4IgogICB2aWV3Qm94PSIwIDAgODAwIDgwMCIKICAgZmlsbD0ibm9uZSIKICAgdmVyc2lvbj0iMS4xIgogICBpZD0ic3ZnMiIKICAgc29kaXBvZGk6ZG9jbmFtZT0iYmVsbC1pY29uLnN2ZyIKICAgaW5rc2NhcGU6dmVyc2lvbj0iMS40LjIgKGViZjBlOTQsIDIwMjUtMDUtMDgpIgogICB4bWxuczppbmtzY2FwZT0iaHR0cDovL3d3dy5pbmtzY2FwZS5vcmcvbmFtZXNwYWNlcy9pbmtzY2FwZSIKICAgeG1sbnM6c29kaXBvZGk9Imh0dHA6Ly9zb2RpcG9kaS5zb3VyY2Vmb3JnZS5uZXQvRFREL3NvZGlwb2RpLTAuZHRkIgogICB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogIDxkZWZzCiAgICAgaWQ9ImRlZnMyIiAvPgogIDxzb2RpcG9kaTpuYW1lZHZpZXcKICAgICBpZD0ibmFtZWR2aWV3MiIKICAgICBwYWdlY29sb3I9IiNmZmZmZmYiCiAgICAgYm9yZGVyY29sb3I9IiMwMDAwMDAiCiAgICAgYm9yZGVyb3BhY2l0eT0iMC4yNSIKICAgICBpbmtzY2FwZTpzaG93cGFnZXNoYWRvdz0iMiIKICAgICBpbmtzY2FwZTpwYWdlb3BhY2l0eT0iMC4wIgogICAgIGlua3NjYXBlOnBhZ2VjaGVja2VyYm9hcmQ9IjAiCiAgICAgaW5rc2NhcGU6ZGVza2NvbG9yPSIjZDFkMWQxIgogICAgIGlua3NjYXBlOnpvb209IjAuOTM5MDI2MDEiCiAgICAgaW5rc2NhcGU6Y3g9IjM2MS4wMTIzNiIKICAgICBpbmtzY2FwZTpjeT0iNDI1LjQ0MDgyIgogICAgIGlua3NjYXBlOndpbmRvdy13aWR0aD0iMjMyMyIKICAgICBpbmtzY2FwZTp3aW5kb3ctaGVpZ2h0PSIxMzIxIgogICAgIGlua3NjYXBlOndpbmRvdy14PSI2OSIKICAgICBpbmtzY2FwZTp3aW5kb3cteT0iLTkiCiAgICAgaW5rc2NhcGU6d2luZG93LW1heGltaXplZD0iMSIKICAgICBpbmtzY2FwZTpjdXJyZW50LWxheWVyPSJzdmcyIgogICAgIGlua3NjYXBlOmxvY2tndWlkZXM9ImZhbHNlIiAvPgogIDxwYXRoCiAgICAgZmlsbD0iIzM5NDE1NiIKICAgICBkPSJtIDU3NC43MTM0LDUxNy43MDgzOSBjIC00My4wMjM0MywtMTkuNDI5NTggLTQwLjMzOTkxLC05Mi4wMzE3MyAtNDAuMzcxNjYsLTk0LjEzNjAzIGwgLTAuODY0MDMsLTU1LjA4NjIyIGMgLTAuODQ0NTIsLTUzLjg0MjYzIC0zMi43NjI4OSwtMTAxLjAxNzg3IC03OS41MjI2MSwtMTIwLjczMzg5IC0wLjEwMDU1LC0yNy42ODUzOCAtMjYuMjQ3ODcsLTUwLjE3NzEzIC01My45NTM3NSwtNTAuMTc3MTMgLTI3LjcwNjU1LDAgLTUzLjg1MzIsMjIuNDkzMDcgLTUzLjk1NDQyLDUwLjE3NTgxIC00Ni43NTc3NCwxOS43MTYwMSAtNzcuNjczOTUsNjguNjIxNjYgLTc4LjY1NzI0LDEyMi40NjE5MyBsIC0wLjg2NDAzLDQ3LjMxIGMgLTAuMDMwNCwyLjEwNDMgMS43ODc3Myw4MC43NTQ2MyAtNDEuMjM3MDMsMTAwLjE4NDIgLTQuOTAxMjIsMi4yMTQxMiAtNy41OTQ5NCwxMi45NDczIC02LjQ2MTc1LDE4LjIwNTA4IDEuMTMxODcsNS4yNTg0MyAzLjk4MjM3LDE0LjQxMTkgOS4zNjEyMiwxNC40MTE5IGggMTEwLjg3MTE1IGMgMi4yMzU5NSwxMi4zMDAzNSA4LjA1MjA1LDIzLjc0MzM2IDE2Ljk0NzU0LDMzLjAxMTk2IDExLjgxNDgsMTIuMzA5NjEgMjcuNDM5MywxOS4wODg4OCA0My45OTI1NywxOS4wODg4OCAxNi41NTQ2LDAgMzIuMTc5MSwtNi43NzkyNyA0My45OTI1OCwtMTkuMDg4ODggOC44OTY4MSwtOS4yNjkyNSAxNC43MTI5MSwtMjAuNzEyOTQgMTYuOTQ3NTQsLTMzLjAxMTk2IGggMTEwLjg3MTE1IGMgNS4zNzg4NSwwIDguMjI4NjksLTkuMTUyOCA5LjM2MTg5LC0xNC40MTE5IDEuMTM0NDksLTUuMjU3NzggLTEuNTU3ODksLTE1Ljk5MDMgLTYuNDU5MTIsLTE4LjIwMzc1IHogbSAtNjUuNDU3NDIsLTI3Ljc0MTc4IGMgNC41MjI4MiwxMy43MTIwNCA3LjI1NzA3LDE2LjIwNjczIDE2LjMzODQ1LDI3LjY2NTYyIGwgLTI1MC4zOTQ3NSwtMC43OTI3NSBjIDkuMDgwMDUsLTExLjQ1NzU2IDEwLjM3MTQsLTEzLjE1ODg1IDE0Ljg5NDIyLC0yNi44NzI4NyB6IE0gNDAwLjAwMTM1LDIyNC4wMDYyMiBjIDEyLjUzMjU1LDAgMTkuNTMwMTUsNC44MjI1MiAyMi44NDU3LDE2LjMwMTI2IC04LjU0MTU5LC0xLjc3MTU2IC0xMy43ODc0NywtMi43MDU2MyAtMjIuODQ1NywtMi43MDU2MyAtOS4wNTgyMywwIC0xNC4zMDQxMiwwLjkzMzQxIC0yMi44NDU2OSwyLjcwNTYzIDMuMzE2MiwtMTEuNDc4MDggMTAuMzEzODEsLTE2LjMwMTI2IDIyLjg0NTY5LC0xNi4zMDEyNiB6IG0gLTEwMy41ODg0OCwxOTkuNjM0OTQgMS43OTkzMywtNTQuMjIxNyBjIDEuOTYwMjIsLTU5LjA2OTg5IDQyLjY4NTQzLC05Ni42NzQ5NyAxMDEuNzg5MTUsLTk2LjY3NDk3IDU5LjEwMzczLDAgOTkuODk0OTksMzUuODAzNTkgMTAxLjc4OTE2LDk0Ljg3NTY0IGwgMS43OTkzMyw1Ni4xMTQzIGMgMC4wMTUyLDEuNzE3MzEgMS40NzQyMiwxMi41NjgzIDEuMjMyNDMsMzQuNzg2MiBIIDI5NS4xNzc3OCBjIDAuNzE4OTQsLTIyLjIzOTA2IDEuMjIxMTksLTMzLjEyMTggMS4yMzUwOSwtMzQuODc5NDcgeiBtIDEwMy41ODg0OCwxNDguOTY5NzggYyAtMTcuNDI1MTcsMCAtMjUuNDM1NTgsLTUuNTgwMTUgLTMwLjMxNjk0LC0yMi4yODYyNCBoIDYwLjYzMjU3IGMgLTQuODgxMzgsMTYuNzA2MDkgLTEyLjg4OTE0LDIyLjI4NjI0IC0zMC4zMTU2MywyMi4yODYyNCB6IgogICAgIGlkPSJwYXRoMSIKICAgICBzdHlsZT0ic3Ryb2tlLXdpZHRoOjAuODk5NjY2O3N0cm9rZS1kYXNoYXJyYXk6bm9uZSIKICAgICBzb2RpcG9kaTpub2RldHlwZXM9ImNjc2NzY3NjY2NzY2NzY2NzY2NjY2NjY3Njc2NzY3Nzc2NjY2NzY2NzIiAvPgogIDxwYXRoCiAgICAgZmlsbD0iIzM5NDE1NiIKICAgICBkPSJtIDM5Ny45Njk0NCwyODMuMzM2NjkgYyAtNDkuNDE4NTUsMCAtODkuNjIzNjEsNDAuMjAzNzMgLTg5LjYyMzYxLDg5LjYyMTYxIDAsNi4zNDM1NCA1LjE0Mjg2LDExLjQ4NjQgMTEuNDg2MzksMTEuNDg2NCA2LjM0MzU1LDAgMTEuNDg2NDEsLTUuMTQyODYgMTEuNDg2NDEsLTExLjQ4NjQgMCwtMzYuNzUwNzYgMjkuODk5MzgsLTY2LjY0OTQ4IDY2LjY1MTQ4LC02Ni42NDk0OCA2LjM0MzUzLDAgMTEuNDg2MzksLTUuMTQyODUgMTEuNDg2MzksLTExLjQ4NjQgLTYuNmUtNCwtNi4zNDQyIC01LjE0MzUzLC0xMS40ODU3MyAtMTEuNDg3MDYsLTExLjQ4NTczIHoiCiAgICAgaWQ9InBhdGgyIgogICAgIHN0eWxlPSJzdHJva2Utd2lkdGg6MC45MDQ3MTI7c3Ryb2tlLWRhc2hhcnJheTpub25lIgogICAgIHNvZGlwb2RpOm5vZGV0eXBlcz0ic3Nzc3NjcyIgLz4KPC9zdmc+Cg==",jp=async(n,e)=>{const t=n+e,o=new TextEncoder().encode(t),s=await crypto.subtle.digest("SHA-256",o);return Array.from(new Uint8Array(s)).map(l=>l.toString(16).padStart(2,"0")).join("")};function Nd(){const n=()=>new Promise(t=>{if(document.readyState==="complete")return t();window.addEventListener("load",()=>t(),{once:!0})});return{OnWindowLoaded:t=>{c.onMounted(()=>n().then(t))}}}const sL=(n,e,t)=>{const{OnWindowLoaded:r}=Nd(),o="lkj298fhGGJihge",s=c.ref(!1),i=()=>e+"|"+t();return r(async()=>{if(e==null||t==null||t()==null){s.value=!1;return}const u=i(),d=localStorage.getItem(n),f=JSON.parse(d)||[],h=await jp(u,o);s.value=!f.includes(h)}),{hasUnfulfilledInteraction:s,MarkInteractionPerformed:async()=>{const u=i(),d=await jp(u,o),f=localStorage.getItem(n),h=JSON.parse(f)||[];h.includes(d)||(h.push(d),localStorage.setItem(n,JSON.stringify(h))),s.value=!1}}};function Ig(n){const{OnWindowLoaded:e}=Nd();let t;const r=()=>{t=document.addEventListener("click",s=>{if(!s||!s.target)return;let i=null;if(s.target instanceof Element&&(i=s.target.closest(".popover")),i)return;const l=Ur.getInstance(n.value);l&&l.hide()})};c.onMounted(r);const o=()=>{if((n==null?void 0:n.value)==null)return;Ur.getInstance(n.value)||new Ur(n.value)};e(o),c.watch(n,o),c.onUnmounted(()=>{if((n==null?void 0:n.value)!=null){const s=Ur.getInstance(n.value);s&&s.dispose()}t&&document.removeEventListener("click",t)})}const iL=["data-bs-title","data-bs-content"],aL=["title"],lL={key:0,class:"number-circle",textContent:1},cL=c.defineComponent({__name:"BDNotificationButton",props:{userId:{},getNotification:{}},setup(n){const e=n,t=()=>{var d;return(d=e.getNotification)==null?void 0:d.linkUrl},{hasUnfulfilledInteraction:r,MarkInteractionPerformed:o}=sL("notificationsRead",e.userId,t),s=c.ref();Ig(s);const i=c.computed(()=>{const d=e.getNotification;if(!d)return!1;const{isActive:f,startDate:h,endDate:p}=d;if(!f)return!1;const m=new Date(h),g=new Date(p),v=new Date;return v>=m&&v<=g}),l=c.computed(()=>{var d;return(d=e.getNotification)==null?void 0:d.tooltip}),a=c.computed(()=>{var d;return(d=e.getNotification)==null?void 0:d.title}),u=c.computed(()=>{const d=e.getNotification;if(!d)return"";const{text:f,linkUrl:h,linkText:p}=d;return`
204
+ */const BO="9.14.4";function PO(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(zn().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(zn().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(zn().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(zn().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(zn().__INTLIFY_PROD_DEVTOOLS__=!1)}const Tg=St.__EXTEND_POINT__,Fn=dl(Tg),Dt={FALLBACK_TO_ROOT:Tg,NOT_SUPPORTED_PRESERVE:Fn(),NOT_SUPPORTED_FORMATTER:Fn(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:Fn(),NOT_SUPPORTED_GET_CHOICE_INDEX:Fn(),COMPONENT_NAME_LEGACY_COMPATIBLE:Fn(),NOT_FOUND_PARENT_SCOPE:Fn(),IGNORE_OBJ_FLATTEN:Fn(),NOTICE_DROP_ALLOW_COMPOSITION:Fn(),NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG:Fn()},FO={[Dt.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[Dt.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[Dt.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[Dt.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[Dt.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[Dt.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[Dt.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[Dt.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[Dt.NOTICE_DROP_ALLOW_COMPOSITION]:"'allowComposition' option will be dropped in the next major version. For more information, please see 👉 https://tinyurl.com/2p97mcze",[Dt.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG]:"'translateExistCompatible' option will be dropped in the next major version."};function La(n,...e){return Ad(FO[n],...e)}const Sg=lt.__EXTEND_POINT__,Lt=dl(Sg),Xe={UNEXPECTED_RETURN_TYPE:Sg,INVALID_ARGUMENT:Lt(),MUST_BE_CALL_SETUP_TOP:Lt(),NOT_INSTALLED:Lt(),NOT_AVAILABLE_IN_LEGACY_MODE:Lt(),REQUIRED_VALUE:Lt(),INVALID_VALUE:Lt(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Lt(),NOT_INSTALLED_WITH_PROVIDE:Lt(),UNEXPECTED_ERROR:Lt(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Lt(),BRIDGE_SUPPORT_VUE_2_ONLY:Lt(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Lt(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Lt(),__EXTEND_POINT__:Lt()};function pr(n,...e){return ns(n,null,process.env.NODE_ENV!=="production"?{messages:VO,args:e}:void 0)}const VO={[Xe.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[Xe.INVALID_ARGUMENT]:"Invalid argument",[Xe.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[Xe.NOT_INSTALLED]:"Need to install with `app.use` function",[Xe.UNEXPECTED_ERROR]:"Unexpected error",[Xe.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[Xe.REQUIRED_VALUE]:"Required in value: {0}",[Xe.INVALID_VALUE]:"Invalid value",[Xe.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[Xe.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[Xe.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[Xe.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[Xe.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION]:"Must define ‘i18n’ option or custom block in Composition API with using local scope in Legacy API mode",[Xe.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},nu=Zn("__translateVNode"),ru=Zn("__datetimeParts"),ou=Zn("__numberParts"),su=Zn("__enableEmitter"),iu=Zn("__disableEmitter"),$O=Zn("__setPluralRules"),kg=Zn("__injectWithOption"),au=Zn("__dispose");function Us(n){if(!He(n)||hn(n))return n;for(const e in n)if(un(n,e))if(!e.includes("."))He(n[e])&&Us(n[e]);else{const t=e.split("."),r=t.length-1;let o=n,s=!1;for(let i=0;i<r;i++){if(t[i]==="__proto__")throw new Error(`unsafe key: ${t[i]}`);if(t[i]in o||(o[t[i]]=Ke()),!He(o[t[i]])){process.env.NODE_ENV!=="production"&&Jn(La(Dt.IGNORE_OBJ_FLATTEN,{key:t[i]})),s=!0;break}o=o[t[i]]}if(s||(hn(o)?og.includes(t[r])||delete n[e]:(o[t[r]]=n[e],delete n[e])),!hn(o)){const i=o[t[r]];He(i)&&Us(i)}}return n}function _d(n,e){const{messages:t,__i18n:r,messageResolver:o,flatJson:s}=e,i=Ue(t)?t:st(r)?Ke():{[n]:Ke()};if(st(r)&&r.forEach(l=>{if("locale"in l&&"resource"in l){const{locale:a,resource:u}=l;a?(i[a]=i[a]||Ke(),xi(u,i[a])):xi(u,i)}else Se(l)&&xi(JSON.parse(l),i)}),o==null&&s)for(const l in i)un(i,l)&&Us(i[l]);return i}function _g(n){return n.type}function UO(n,e,t){let r=He(e.messages)?e.messages:Ke();"__i18nGlobal"in t&&(r=_d(n.locale.value,{messages:r,__i18n:t.__i18nGlobal}));const o=Object.keys(r);o.length&&o.forEach(s=>{n.mergeLocaleMessage(s,r[s])});{if(He(e.datetimeFormats)){const s=Object.keys(e.datetimeFormats);s.length&&s.forEach(i=>{n.mergeDateTimeFormat(i,e.datetimeFormats[i])})}if(He(e.numberFormats)){const s=Object.keys(e.numberFormats);s.length&&s.forEach(i=>{n.mergeNumberFormat(i,e.numberFormats[i])})}}}function Fp(n){return c.createVNode(c.Text,null,n,0)}const Vp="__INTLIFY_META__",$p=()=>[],zO=()=>!1;let Up=0;function zp(n){return(e,t,r,o)=>n(t,r,c.getCurrentInstance()||void 0,o)}const HO=()=>{const n=c.getCurrentInstance();let e=null;return n&&(e=_g(n)[Vp])?{[Vp]:e}:null};function jO(n={},e){const{__root:t,__injectWithOption:r}=n,o=t===void 0,s=n.flatJson,i=Yn?c.ref:c.shallowRef,l=!!n.translateExistCompatible;process.env.NODE_ENV!=="production"&&l&&K2(La(Dt.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG));let a=Ye(n.inheritLocale)?n.inheritLocale:!0;const u=i(t&&a?t.locale.value:Se(n.locale)?n.locale:$s),d=i(t&&a?t.fallbackLocale.value:Se(n.fallbackLocale)||st(n.fallbackLocale)||Ue(n.fallbackLocale)||n.fallbackLocale===!1?n.fallbackLocale:u.value),f=i(_d(u.value,n)),h=i(Ue(n.datetimeFormats)?n.datetimeFormats:{[u.value]:{}}),p=i(Ue(n.numberFormats)?n.numberFormats:{[u.value]:{}});let m=t?t.missingWarn:Ye(n.missingWarn)||Wo(n.missingWarn)?n.missingWarn:!0,g=t?t.fallbackWarn:Ye(n.fallbackWarn)||Wo(n.fallbackWarn)?n.fallbackWarn:!0,v=t?t.fallbackRoot:Ye(n.fallbackRoot)?n.fallbackRoot:!0,C=!!n.fallbackFormat,w=Ge(n.missing)?n.missing:null,E=Ge(n.missing)?zp(n.missing):null,y=Ge(n.postTranslation)?n.postTranslation:null,x=t?t.warnHtmlMessage:Ye(n.warnHtmlMessage)?n.warnHtmlMessage:!0,A=!!n.escapeParameter;const I=t?t.modifiers:Ue(n.modifiers)?n.modifiers:{};let B=n.pluralRules||t&&t.pluralRules,R;R=(()=>{o&&xp(null);const q={version:BO,locale:u.value,fallbackLocale:d.value,messages:f.value,modifiers:I,pluralRules:B,missing:E===null?void 0:E,missingWarn:m,fallbackWarn:g,fallbackFormat:C,unresolving:!0,postTranslation:y===null?void 0:y,warnHtmlMessage:x,escapeParameter:A,messageResolver:n.messageResolver,messageCompiler:n.messageCompiler,__meta:{framework:"vue"}};q.datetimeFormats=h.value,q.numberFormats=p.value,q.__datetimeFormatters=Ue(R)?R.__datetimeFormatters:void 0,q.__numberFormatters=Ue(R)?R.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(q.__v_emitter=Ue(R)?R.__v_emitter:void 0);const se=SO(q);return o&&xp(se),se})(),as(R,u.value,d.value);function $(){return[u.value,d.value,f.value,h.value,p.value]}const P=c.computed({get:()=>u.value,set:q=>{u.value=q,R.locale=u.value}}),Y=c.computed({get:()=>d.value,set:q=>{d.value=q,R.fallbackLocale=d.value,as(R,u.value,q)}}),G=c.computed(()=>f.value),K=c.computed(()=>h.value),H=c.computed(()=>p.value);function J(){return Ge(y)?y:null}function z(q){y=q,R.postTranslation=q}function ee(){return w}function ne(q){q!==null&&(E=zp(q)),w=q,R.missing=E}function ce(q,se){return q!=="translate"||!se.resolvedMessage}const me=(q,se,be,Be,Ze,tt)=>{$();let Ct;try{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,o||(R.fallbackContext=t?TO():void 0),Ct=q(R)}finally{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,o||(R.fallbackContext=void 0)}if(be!=="translate exists"&&ct(Ct)&&Ct===hl||be==="translate exists"&&!Ct){const[te,ge]=se();if(process.env.NODE_ENV!=="production"&&t&&Se(te)&&ce(be,ge)&&(v&&(pl(g,te)||hg(m,te))&&Jn(La(Dt.FALLBACK_TO_ROOT,{key:te,type:be})),process.env.NODE_ENV!=="production")){const{__v_emitter:pe}=R;pe&&v&&pe.emit("fallback",{type:be,key:te,to:"global",groupId:`${be}:${te}`})}return t&&v?Be(t):Ze(te)}else{if(tt(Ct))return Ct;throw pr(Xe.UNEXPECTED_RETURN_TYPE)}};function ve(...q){return me(se=>Reflect.apply(Op,null,[se,...q]),()=>qc(...q),"translate",se=>Reflect.apply(se.t,se,[...q]),se=>se,se=>Se(se))}function Te(...q){const[se,be,Be]=q;if(Be&&!He(Be))throw pr(Xe.INVALID_ARGUMENT);return ve(se,be,yt({resolvedMessage:!0},Be||{}))}function ke(...q){return me(se=>Reflect.apply(Dp,null,[se,...q]),()=>eu(...q),"datetime format",se=>Reflect.apply(se.d,se,[...q]),()=>Oa,se=>Se(se))}function Ne(...q){return me(se=>Reflect.apply(Bp,null,[se,...q]),()=>tu(...q),"number format",se=>Reflect.apply(se.n,se,[...q]),()=>Oa,se=>Se(se))}function Ce(q){return q.map(se=>Se(se)||ct(se)||Ye(se)?Fp(String(se)):se)}const D={normalize:Ce,interpolate:q=>q,type:"vnode"};function N(...q){return me(se=>{let be;const Be=se;try{Be.processor=D,be=Reflect.apply(Op,null,[Be,...q])}finally{Be.processor=null}return be},()=>qc(...q),"translate",se=>se[nu](...q),se=>[Fp(se)],se=>st(se))}function L(...q){return me(se=>Reflect.apply(Bp,null,[se,...q]),()=>tu(...q),"number format",se=>se[ou](...q),$p,se=>Se(se)||st(se))}function b(...q){return me(se=>Reflect.apply(Dp,null,[se,...q]),()=>eu(...q),"datetime format",se=>se[ru](...q),$p,se=>Se(se)||st(se))}function T(q){B=q,R.pluralRules=B}function _(q,se){return me(()=>{if(!q)return!1;const be=Se(se)?se:u.value,Be=W(be),Ze=R.messageResolver(Be,q);return l?Ze!=null:hn(Ze)||en(Ze)||Se(Ze)},()=>[q],"translate exists",be=>Reflect.apply(be.te,be,[q,se]),zO,be=>Ye(be))}function M(q){let se=null;const be=ag(R,d.value,u.value);for(let Be=0;Be<be.length;Be++){const Ze=f.value[be[Be]]||{},tt=R.messageResolver(Ze,q);if(tt!=null){se=tt;break}}return se}function j(q){const se=M(q);return se??(t?t.tm(q)||{}:{})}function W(q){return f.value[q]||{}}function Z(q,se){if(s){const be={[q]:se};for(const Be in be)un(be,Be)&&Us(be[Be]);se=be[q]}f.value[q]=se,R.messages=f.value}function X(q,se){f.value[q]=f.value[q]||{};const be={[q]:se};if(s)for(const Be in be)un(be,Be)&&Us(be[Be]);se=be[q],xi(se,f.value[q]),R.messages=f.value}function S(q){return h.value[q]||{}}function k(q,se){h.value[q]=se,R.datetimeFormats=h.value,Rp(R,q,se)}function V(q,se){h.value[q]=yt(h.value[q]||{},se),R.datetimeFormats=h.value,Rp(R,q,se)}function Q(q){return p.value[q]||{}}function ie(q,se){p.value[q]=se,R.numberFormats=p.value,Pp(R,q,se)}function he(q,se){p.value[q]=yt(p.value[q]||{},se),R.numberFormats=p.value,Pp(R,q,se)}Up++,t&&Yn&&(c.watch(t.locale,q=>{a&&(u.value=q,R.locale=q,as(R,u.value,d.value))}),c.watch(t.fallbackLocale,q=>{a&&(d.value=q,R.fallbackLocale=q,as(R,u.value,d.value))}));const Ae={id:Up,locale:P,fallbackLocale:Y,get inheritLocale(){return a},set inheritLocale(q){a=q,q&&t&&(u.value=t.locale.value,d.value=t.fallbackLocale.value,as(R,u.value,d.value))},get availableLocales(){return Object.keys(f.value).sort()},messages:G,get modifiers(){return I},get pluralRules(){return B||{}},get isGlobal(){return o},get missingWarn(){return m},set missingWarn(q){m=q,R.missingWarn=m},get fallbackWarn(){return g},set fallbackWarn(q){g=q,R.fallbackWarn=g},get fallbackRoot(){return v},set fallbackRoot(q){v=q},get fallbackFormat(){return C},set fallbackFormat(q){C=q,R.fallbackFormat=C},get warnHtmlMessage(){return x},set warnHtmlMessage(q){x=q,R.warnHtmlMessage=q},get escapeParameter(){return A},set escapeParameter(q){A=q,R.escapeParameter=q},t:ve,getLocaleMessage:W,setLocaleMessage:Z,mergeLocaleMessage:X,getPostTranslationHandler:J,setPostTranslationHandler:z,getMissingHandler:ee,setMissingHandler:ne,[$O]:T};return Ae.datetimeFormats=K,Ae.numberFormats=H,Ae.rt=Te,Ae.te=_,Ae.tm=j,Ae.d=ke,Ae.n=Ne,Ae.getDateTimeFormat=S,Ae.setDateTimeFormat=k,Ae.mergeDateTimeFormat=V,Ae.getNumberFormat=Q,Ae.setNumberFormat=ie,Ae.mergeNumberFormat=he,Ae[kg]=r,Ae[nu]=N,Ae[ru]=b,Ae[ou]=L,process.env.NODE_ENV!=="production"&&(Ae[su]=q=>{R.__v_emitter=q},Ae[iu]=()=>{R.__v_emitter=void 0}),Ae}const xd={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:n=>n==="parent"||n==="global",default:"parent"},i18n:{type:Object}};function WO({slots:n},e){return e.length===1&&e[0]==="default"?(n.default?n.default():[]).reduce((r,o)=>[...r,...o.type===c.Fragment?o.children:[o]],[]):e.reduce((t,r)=>{const o=n[r];return o&&(t[r]=o()),t},Ke())}function xg(n){return c.Fragment}yt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:n=>ct(n)||!isNaN(n)}},xd);function KO(n){return st(n)&&!Se(n[0])}function Ng(n,e,t,r){const{slots:o,attrs:s}=e;return()=>{const i={part:!0};let l=Ke();n.locale&&(i.locale=n.locale),Se(n.format)?i.key=n.format:He(n.format)&&(Se(n.format.key)&&(i.key=n.format.key),l=Object.keys(n.format).reduce((h,p)=>t.includes(p)?yt(Ke(),h,{[p]:n.format[p]}):h,Ke()));const a=r(n.value,i,l);let u=[i.key];st(a)?u=a.map((h,p)=>{const m=o[h.type],g=m?m({[h.type]:h.value,index:p,parts:a}):[h.value];return KO(g)&&(g[0].key=`${h.type}-${p}`),g}):Se(a)&&(u=[a]);const d=yt(Ke(),s),f=Se(n.tag)||He(n.tag)?n.tag:xg();return c.h(f,d,u)}}yt({value:{type:Number,required:!0},format:{type:[String,Object]}},xd);yt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},xd);function Hp(n,e){}const YO=Zn("global-vue-i18n");function qs(n={}){const e=c.getCurrentInstance();if(e==null)throw pr(Xe.MUST_BE_CALL_SETUP_TOP);if(!e.isCE&&e.appContext.app!=null&&!e.appContext.app.__VUE_I18N_SYMBOL__)throw pr(Xe.NOT_INSTALLED);const t=GO(e),r=ZO(t),o=_g(e),s=QO(n,o);if(__VUE_I18N_LEGACY_API__&&t.mode==="legacy"&&!n.__useComponent){if(!t.allowComposition)throw pr(Xe.NOT_AVAILABLE_IN_LEGACY_MODE);return eL(e,s,r,n)}if(s==="global")return UO(r,n,o),r;if(s==="parent"){let a=JO(t,e,n.__useComponent);return a==null&&(process.env.NODE_ENV!=="production"&&Jn(La(Dt.NOT_FOUND_PARENT_SCOPE)),a=r),a}const i=t;let l=i.__getInstance(e);if(l==null){const a=yt({},n);"__i18n"in o&&(a.__i18n=o.__i18n),r&&(a.__root=r),l=jO(a),i.__composerExtend&&(l[au]=i.__composerExtend(l)),qO(i,e,l),i.__setInstance(e,l)}return l}function GO(n){{const e=c.inject(n.isCE?YO:n.appContext.app.__VUE_I18N_SYMBOL__);if(!e)throw pr(n.isCE?Xe.NOT_INSTALLED_WITH_PROVIDE:Xe.UNEXPECTED_ERROR);return e}}function QO(n,e){return ul(n)?"__i18n"in e?"local":"global":n.useScope?n.useScope:"local"}function ZO(n){return n.mode==="composition"?n.global:n.global.__composer}function JO(n,e,t=!1){let r=null;const o=e.root;let s=XO(e,t);for(;s!=null;){const i=n;if(n.mode==="composition")r=i.__getInstance(s);else if(__VUE_I18N_LEGACY_API__){const l=i.__getInstance(s);l!=null&&(r=l.__composer,t&&r&&!r[kg]&&(r=null))}if(r!=null||o===s)break;s=s.parent}return r}function XO(n,e=!1){return n==null?null:e&&n.vnode.ctx||n.parent}function qO(n,e,t){let r=null;c.onMounted(()=>{if(process.env.NODE_ENV!=="production"&&e.vnode.el){e.vnode.el.__VUE_I18N__=t,r=aM();const o=t;o[su]&&o[su](r),r.on("*",Hp)}},e),c.onUnmounted(()=>{const o=t;process.env.NODE_ENV!=="production"&&e.vnode.el&&e.vnode.el.__VUE_I18N__&&(r&&r.off("*",Hp),o[iu]&&o[iu](),delete e.vnode.el.__VUE_I18N__),n.__deleteInstance(e);const s=o[au];s&&(s(),delete o[au])},e)}function eL(n,e,t,r={}){const o=e==="local",s=c.shallowRef(null);if(o&&n.proxy&&!(n.proxy.$options.i18n||n.proxy.$options.__i18n))throw pr(Xe.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const i=Ye(r.inheritLocale)?r.inheritLocale:!Se(r.locale),l=c.ref(!o||i?t.locale.value:Se(r.locale)?r.locale:$s),a=c.ref(!o||i?t.fallbackLocale.value:Se(r.fallbackLocale)||st(r.fallbackLocale)||Ue(r.fallbackLocale)||r.fallbackLocale===!1?r.fallbackLocale:l.value),u=c.ref(_d(l.value,r)),d=c.ref(Ue(r.datetimeFormats)?r.datetimeFormats:{[l.value]:{}}),f=c.ref(Ue(r.numberFormats)?r.numberFormats:{[l.value]:{}}),h=o?t.missingWarn:Ye(r.missingWarn)||Wo(r.missingWarn)?r.missingWarn:!0,p=o?t.fallbackWarn:Ye(r.fallbackWarn)||Wo(r.fallbackWarn)?r.fallbackWarn:!0,m=o?t.fallbackRoot:Ye(r.fallbackRoot)?r.fallbackRoot:!0,g=!!r.fallbackFormat,v=Ge(r.missing)?r.missing:null,C=Ge(r.postTranslation)?r.postTranslation:null,w=o?t.warnHtmlMessage:Ye(r.warnHtmlMessage)?r.warnHtmlMessage:!0,E=!!r.escapeParameter,y=o?t.modifiers:Ue(r.modifiers)?r.modifiers:{},x=r.pluralRules||o&&t.pluralRules;function A(){return[l.value,a.value,u.value,d.value,f.value]}const I=c.computed({get:()=>s.value?s.value.locale.value:l.value,set:_=>{s.value&&(s.value.locale.value=_),l.value=_}}),B=c.computed({get:()=>s.value?s.value.fallbackLocale.value:a.value,set:_=>{s.value&&(s.value.fallbackLocale.value=_),a.value=_}}),R=c.computed(()=>s.value?s.value.messages.value:u.value),U=c.computed(()=>d.value),$=c.computed(()=>f.value);function P(){return s.value?s.value.getPostTranslationHandler():C}function Y(_){s.value&&s.value.setPostTranslationHandler(_)}function G(){return s.value?s.value.getMissingHandler():v}function K(_){s.value&&s.value.setMissingHandler(_)}function H(_){return A(),_()}function J(..._){return s.value?H(()=>Reflect.apply(s.value.t,null,[..._])):H(()=>"")}function z(..._){return s.value?Reflect.apply(s.value.rt,null,[..._]):""}function ee(..._){return s.value?H(()=>Reflect.apply(s.value.d,null,[..._])):H(()=>"")}function ne(..._){return s.value?H(()=>Reflect.apply(s.value.n,null,[..._])):H(()=>"")}function ce(_){return s.value?s.value.tm(_):{}}function me(_,M){return s.value?s.value.te(_,M):!1}function ve(_){return s.value?s.value.getLocaleMessage(_):{}}function Te(_,M){s.value&&(s.value.setLocaleMessage(_,M),u.value[_]=M)}function ke(_,M){s.value&&s.value.mergeLocaleMessage(_,M)}function Ne(_){return s.value?s.value.getDateTimeFormat(_):{}}function Ce(_,M){s.value&&(s.value.setDateTimeFormat(_,M),d.value[_]=M)}function O(_,M){s.value&&s.value.mergeDateTimeFormat(_,M)}function D(_){return s.value?s.value.getNumberFormat(_):{}}function N(_,M){s.value&&(s.value.setNumberFormat(_,M),f.value[_]=M)}function L(_,M){s.value&&s.value.mergeNumberFormat(_,M)}const b={get id(){return s.value?s.value.id:-1},locale:I,fallbackLocale:B,messages:R,datetimeFormats:U,numberFormats:$,get inheritLocale(){return s.value?s.value.inheritLocale:i},set inheritLocale(_){s.value&&(s.value.inheritLocale=_)},get availableLocales(){return s.value?s.value.availableLocales:Object.keys(u.value)},get modifiers(){return s.value?s.value.modifiers:y},get pluralRules(){return s.value?s.value.pluralRules:x},get isGlobal(){return s.value?s.value.isGlobal:!1},get missingWarn(){return s.value?s.value.missingWarn:h},set missingWarn(_){s.value&&(s.value.missingWarn=_)},get fallbackWarn(){return s.value?s.value.fallbackWarn:p},set fallbackWarn(_){s.value&&(s.value.missingWarn=_)},get fallbackRoot(){return s.value?s.value.fallbackRoot:m},set fallbackRoot(_){s.value&&(s.value.fallbackRoot=_)},get fallbackFormat(){return s.value?s.value.fallbackFormat:g},set fallbackFormat(_){s.value&&(s.value.fallbackFormat=_)},get warnHtmlMessage(){return s.value?s.value.warnHtmlMessage:w},set warnHtmlMessage(_){s.value&&(s.value.warnHtmlMessage=_)},get escapeParameter(){return s.value?s.value.escapeParameter:E},set escapeParameter(_){s.value&&(s.value.escapeParameter=_)},t:J,getPostTranslationHandler:P,setPostTranslationHandler:Y,getMissingHandler:G,setMissingHandler:K,rt:z,d:ee,n:ne,tm:ce,te:me,getLocaleMessage:ve,setLocaleMessage:Te,mergeLocaleMessage:ke,getDateTimeFormat:Ne,setDateTimeFormat:Ce,mergeDateTimeFormat:O,getNumberFormat:D,setNumberFormat:N,mergeNumberFormat:L};function T(_){_.locale.value=l.value,_.fallbackLocale.value=a.value,Object.keys(u.value).forEach(M=>{_.mergeLocaleMessage(M,u.value[M])}),Object.keys(d.value).forEach(M=>{_.mergeDateTimeFormat(M,d.value[M])}),Object.keys(f.value).forEach(M=>{_.mergeNumberFormat(M,f.value[M])}),_.escapeParameter=E,_.fallbackFormat=g,_.fallbackRoot=m,_.fallbackWarn=p,_.missingWarn=h,_.warnHtmlMessage=w}return c.onBeforeMount(()=>{if(n.proxy==null||n.proxy.$i18n==null)throw pr(Xe.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const _=s.value=n.proxy.$i18n.__composer;e==="global"?(l.value=_.locale.value,a.value=_.fallbackLocale.value,u.value=_.messages.value,d.value=_.datetimeFormats.value,f.value=_.numberFormats.value):o&&T(_)}),b}PO();__INTLIFY_JIT_COMPILATION__?_p(IO):_p(NO);CO(eO);bO(ag);if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const n=zn();n.__INTLIFY__=!0,cO(n.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const tL="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgaGVpZ2h0PSI4MDBweCIKICAgd2lkdGg9IjgwMHB4IgogICB2aWV3Qm94PSIwIDAgODAwIDgwMCIKICAgZmlsbD0ibm9uZSIKICAgdmVyc2lvbj0iMS4xIgogICBpZD0ic3ZnMiIKICAgc29kaXBvZGk6ZG9jbmFtZT0iYmVsbC1pY29uLnN2ZyIKICAgaW5rc2NhcGU6dmVyc2lvbj0iMS40LjIgKGViZjBlOTQsIDIwMjUtMDUtMDgpIgogICB4bWxuczppbmtzY2FwZT0iaHR0cDovL3d3dy5pbmtzY2FwZS5vcmcvbmFtZXNwYWNlcy9pbmtzY2FwZSIKICAgeG1sbnM6c29kaXBvZGk9Imh0dHA6Ly9zb2RpcG9kaS5zb3VyY2Vmb3JnZS5uZXQvRFREL3NvZGlwb2RpLTAuZHRkIgogICB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogIDxkZWZzCiAgICAgaWQ9ImRlZnMyIiAvPgogIDxzb2RpcG9kaTpuYW1lZHZpZXcKICAgICBpZD0ibmFtZWR2aWV3MiIKICAgICBwYWdlY29sb3I9IiNmZmZmZmYiCiAgICAgYm9yZGVyY29sb3I9IiMwMDAwMDAiCiAgICAgYm9yZGVyb3BhY2l0eT0iMC4yNSIKICAgICBpbmtzY2FwZTpzaG93cGFnZXNoYWRvdz0iMiIKICAgICBpbmtzY2FwZTpwYWdlb3BhY2l0eT0iMC4wIgogICAgIGlua3NjYXBlOnBhZ2VjaGVja2VyYm9hcmQ9IjAiCiAgICAgaW5rc2NhcGU6ZGVza2NvbG9yPSIjZDFkMWQxIgogICAgIGlua3NjYXBlOnpvb209IjAuOTM5MDI2MDEiCiAgICAgaW5rc2NhcGU6Y3g9IjM2MS4wMTIzNiIKICAgICBpbmtzY2FwZTpjeT0iNDI1LjQ0MDgyIgogICAgIGlua3NjYXBlOndpbmRvdy13aWR0aD0iMjMyMyIKICAgICBpbmtzY2FwZTp3aW5kb3ctaGVpZ2h0PSIxMzIxIgogICAgIGlua3NjYXBlOndpbmRvdy14PSI2OSIKICAgICBpbmtzY2FwZTp3aW5kb3cteT0iLTkiCiAgICAgaW5rc2NhcGU6d2luZG93LW1heGltaXplZD0iMSIKICAgICBpbmtzY2FwZTpjdXJyZW50LWxheWVyPSJzdmcyIgogICAgIGlua3NjYXBlOmxvY2tndWlkZXM9ImZhbHNlIiAvPgogIDxwYXRoCiAgICAgZmlsbD0iIzM5NDE1NiIKICAgICBkPSJtIDU3NC43MTM0LDUxNy43MDgzOSBjIC00My4wMjM0MywtMTkuNDI5NTggLTQwLjMzOTkxLC05Mi4wMzE3MyAtNDAuMzcxNjYsLTk0LjEzNjAzIGwgLTAuODY0MDMsLTU1LjA4NjIyIGMgLTAuODQ0NTIsLTUzLjg0MjYzIC0zMi43NjI4OSwtMTAxLjAxNzg3IC03OS41MjI2MSwtMTIwLjczMzg5IC0wLjEwMDU1LC0yNy42ODUzOCAtMjYuMjQ3ODcsLTUwLjE3NzEzIC01My45NTM3NSwtNTAuMTc3MTMgLTI3LjcwNjU1LDAgLTUzLjg1MzIsMjIuNDkzMDcgLTUzLjk1NDQyLDUwLjE3NTgxIC00Ni43NTc3NCwxOS43MTYwMSAtNzcuNjczOTUsNjguNjIxNjYgLTc4LjY1NzI0LDEyMi40NjE5MyBsIC0wLjg2NDAzLDQ3LjMxIGMgLTAuMDMwNCwyLjEwNDMgMS43ODc3Myw4MC43NTQ2MyAtNDEuMjM3MDMsMTAwLjE4NDIgLTQuOTAxMjIsMi4yMTQxMiAtNy41OTQ5NCwxMi45NDczIC02LjQ2MTc1LDE4LjIwNTA4IDEuMTMxODcsNS4yNTg0MyAzLjk4MjM3LDE0LjQxMTkgOS4zNjEyMiwxNC40MTE5IGggMTEwLjg3MTE1IGMgMi4yMzU5NSwxMi4zMDAzNSA4LjA1MjA1LDIzLjc0MzM2IDE2Ljk0NzU0LDMzLjAxMTk2IDExLjgxNDgsMTIuMzA5NjEgMjcuNDM5MywxOS4wODg4OCA0My45OTI1NywxOS4wODg4OCAxNi41NTQ2LDAgMzIuMTc5MSwtNi43NzkyNyA0My45OTI1OCwtMTkuMDg4ODggOC44OTY4MSwtOS4yNjkyNSAxNC43MTI5MSwtMjAuNzEyOTQgMTYuOTQ3NTQsLTMzLjAxMTk2IGggMTEwLjg3MTE1IGMgNS4zNzg4NSwwIDguMjI4NjksLTkuMTUyOCA5LjM2MTg5LC0xNC40MTE5IDEuMTM0NDksLTUuMjU3NzggLTEuNTU3ODksLTE1Ljk5MDMgLTYuNDU5MTIsLTE4LjIwMzc1IHogbSAtNjUuNDU3NDIsLTI3Ljc0MTc4IGMgNC41MjI4MiwxMy43MTIwNCA3LjI1NzA3LDE2LjIwNjczIDE2LjMzODQ1LDI3LjY2NTYyIGwgLTI1MC4zOTQ3NSwtMC43OTI3NSBjIDkuMDgwMDUsLTExLjQ1NzU2IDEwLjM3MTQsLTEzLjE1ODg1IDE0Ljg5NDIyLC0yNi44NzI4NyB6IE0gNDAwLjAwMTM1LDIyNC4wMDYyMiBjIDEyLjUzMjU1LDAgMTkuNTMwMTUsNC44MjI1MiAyMi44NDU3LDE2LjMwMTI2IC04LjU0MTU5LC0xLjc3MTU2IC0xMy43ODc0NywtMi43MDU2MyAtMjIuODQ1NywtMi43MDU2MyAtOS4wNTgyMywwIC0xNC4zMDQxMiwwLjkzMzQxIC0yMi44NDU2OSwyLjcwNTYzIDMuMzE2MiwtMTEuNDc4MDggMTAuMzEzODEsLTE2LjMwMTI2IDIyLjg0NTY5LC0xNi4zMDEyNiB6IG0gLTEwMy41ODg0OCwxOTkuNjM0OTQgMS43OTkzMywtNTQuMjIxNyBjIDEuOTYwMjIsLTU5LjA2OTg5IDQyLjY4NTQzLC05Ni42NzQ5NyAxMDEuNzg5MTUsLTk2LjY3NDk3IDU5LjEwMzczLDAgOTkuODk0OTksMzUuODAzNTkgMTAxLjc4OTE2LDk0Ljg3NTY0IGwgMS43OTkzMyw1Ni4xMTQzIGMgMC4wMTUyLDEuNzE3MzEgMS40NzQyMiwxMi41NjgzIDEuMjMyNDMsMzQuNzg2MiBIIDI5NS4xNzc3OCBjIDAuNzE4OTQsLTIyLjIzOTA2IDEuMjIxMTksLTMzLjEyMTggMS4yMzUwOSwtMzQuODc5NDcgeiBtIDEwMy41ODg0OCwxNDguOTY5NzggYyAtMTcuNDI1MTcsMCAtMjUuNDM1NTgsLTUuNTgwMTUgLTMwLjMxNjk0LC0yMi4yODYyNCBoIDYwLjYzMjU3IGMgLTQuODgxMzgsMTYuNzA2MDkgLTEyLjg4OTE0LDIyLjI4NjI0IC0zMC4zMTU2MywyMi4yODYyNCB6IgogICAgIGlkPSJwYXRoMSIKICAgICBzdHlsZT0ic3Ryb2tlLXdpZHRoOjAuODk5NjY2O3N0cm9rZS1kYXNoYXJyYXk6bm9uZSIKICAgICBzb2RpcG9kaTpub2RldHlwZXM9ImNjc2NzY3NjY2NzY2NzY2NzY2NjY2NjY3Njc2NzY3Nzc2NjY2NzY2NzIiAvPgogIDxwYXRoCiAgICAgZmlsbD0iIzM5NDE1NiIKICAgICBkPSJtIDM5Ny45Njk0NCwyODMuMzM2NjkgYyAtNDkuNDE4NTUsMCAtODkuNjIzNjEsNDAuMjAzNzMgLTg5LjYyMzYxLDg5LjYyMTYxIDAsNi4zNDM1NCA1LjE0Mjg2LDExLjQ4NjQgMTEuNDg2MzksMTEuNDg2NCA2LjM0MzU1LDAgMTEuNDg2NDEsLTUuMTQyODYgMTEuNDg2NDEsLTExLjQ4NjQgMCwtMzYuNzUwNzYgMjkuODk5MzgsLTY2LjY0OTQ4IDY2LjY1MTQ4LC02Ni42NDk0OCA2LjM0MzUzLDAgMTEuNDg2MzksLTUuMTQyODUgMTEuNDg2MzksLTExLjQ4NjQgLTYuNmUtNCwtNi4zNDQyIC01LjE0MzUzLC0xMS40ODU3MyAtMTEuNDg3MDYsLTExLjQ4NTczIHoiCiAgICAgaWQ9InBhdGgyIgogICAgIHN0eWxlPSJzdHJva2Utd2lkdGg6MC45MDQ3MTI7c3Ryb2tlLWRhc2hhcnJheTpub25lIgogICAgIHNvZGlwb2RpOm5vZGV0eXBlcz0ic3Nzc3NjcyIgLz4KPC9zdmc+Cg==",jp=async(n,e)=>{const t=n+e,o=new TextEncoder().encode(t),s=await crypto.subtle.digest("SHA-256",o);return Array.from(new Uint8Array(s)).map(l=>l.toString(16).padStart(2,"0")).join("")};function Nd(){const n=()=>new Promise(t=>{if(document.readyState==="complete")return t();window.addEventListener("load",()=>t(),{once:!0})});return{OnWindowLoaded:t=>{c.onMounted(()=>n().then(t))}}}const nL=(n,e,t)=>{const{OnWindowLoaded:r}=Nd(),o="lkj298fhGGJihge",s=c.ref(!1),i=()=>e+"|"+t();return r(async()=>{if(e==null||t==null||t()==null){s.value=!1;return}const u=i(),d=localStorage.getItem(n),f=JSON.parse(d)||[],h=await jp(u,o);s.value=!f.includes(h)}),{hasUnfulfilledInteraction:s,MarkInteractionPerformed:async()=>{const u=i(),d=await jp(u,o),f=localStorage.getItem(n),h=JSON.parse(f)||[];h.includes(d)||(h.push(d),localStorage.setItem(n,JSON.stringify(h))),s.value=!1}}};function Ig(n){const{OnWindowLoaded:e}=Nd();let t;const r=()=>{t=document.addEventListener("click",s=>{if(!s||!s.target)return;let i=null;if(s.target instanceof Element&&(i=s.target.closest(".popover")),i)return;const l=Ur.getInstance(n.value);l&&l.hide()})};c.onMounted(r);const o=()=>{if((n==null?void 0:n.value)==null)return;Ur.getInstance(n.value)||new Ur(n.value)};e(o),c.watch(n,o),c.onUnmounted(()=>{if((n==null?void 0:n.value)!=null){const s=Ur.getInstance(n.value);s&&s.dispose()}t&&document.removeEventListener("click",t)})}const rL=["data-bs-title","data-bs-content"],oL=["title"],sL={key:0,class:"number-circle",textContent:1},iL=c.defineComponent({__name:"BDNotificationButton",props:{userId:{},getNotification:{}},setup(n){const e=n,t=()=>{var d;return(d=e.getNotification)==null?void 0:d.linkUrl},{hasUnfulfilledInteraction:r,MarkInteractionPerformed:o}=nL("notificationsRead",e.userId,t),s=c.ref();Ig(s);const i=c.computed(()=>{const d=e.getNotification;if(!d)return!1;const{isActive:f,startDate:h,endDate:p}=d;if(!f)return!1;const m=new Date(h),g=new Date(p),v=new Date;return v>=m&&v<=g}),l=c.computed(()=>{var d;return(d=e.getNotification)==null?void 0:d.tooltip}),a=c.computed(()=>{var d;return(d=e.getNotification)==null?void 0:d.title}),u=c.computed(()=>{const d=e.getNotification;if(!d)return"";const{text:f,linkUrl:h,linkText:p}=d;return`
205
205
  <p>${f}</p>
206
206
  <a href='${h}' target='_blank'>${p}</a>
207
- `});return(d,f)=>i.value?(c.openBlock(),c.createElementBlock("a",{key:0,ref_key:"notificationButton",ref:s,tabindex:"0",class:"bd-notification-button",role:"button","data-bs-toggle":"popover","data-bs-placement":"bottom","data-bs-title":a.value,"data-bs-content":u.value,"data-bs-html":!0,onClick:f[0]||(f[0]=(...h)=>c.unref(o)&&c.unref(o)(...h))},[c.withDirectives(c.createElementVNode("img",{src:oL,alt:"BeterDichtbij nieuws notificatie bel.",title:l.value},null,8,aL),[[c.unref(Xs)]]),c.unref(r)?(c.openBlock(),c.createElementBlock("div",lL)):c.createCommentVNode("",!0)],8,iL)):c.createCommentVNode("",!0)}}),uL={class:"profile-side"},dL=["href"],fL={class:"nav-item"},hL=["textContent"],Mg=c.defineComponent({__name:"BDPractitionerHeader",props:{academyUrl:{},userId:{},getNotification:{}},setup(n){const e=n,{t}=qs(),r=c.computed(()=>t("practitionerHeader.academyTooltip")),o=c.computed(()=>t("practitionerHeader.AcademyMenuItem"));return(s,i)=>(c.openBlock(),c.createBlock(bd,null,c.createSlots({"profile-side":c.withCtx(()=>[c.createElementVNode("div",uL,[c.createVNode(cL,{"user-id":e.userId,"get-notification":e.getNotification},null,8,["user-id","get-notification"]),e.academyUrl?(c.openBlock(),c.createElementBlock("a",{key:0,href:e.academyUrl,target:"_blank",rel:"noopener,noreferrer"},[c.withDirectives(c.createVNode(c.unref(Ni),{title:r.value},null,8,["title"]),[[c.unref(Xs)]])],8,dL)):c.createCommentVNode("",!0)])]),_:2},[e.academyUrl?{name:"mobile-menu-special-options",fn:c.withCtx(()=>[c.createElementVNode("li",fL,[c.createVNode(Zr,{class:"nav-link",to:e.academyUrl},{default:c.withCtx(()=>[c.createVNode(c.unref(Ni)),c.createElementVNode("span",{textContent:c.toDisplayString(o.value)},null,8,hL)]),_:1},8,["to"])])]),key:"0"}:void 0]),1024))}}),pL={class:"modal-dialog"},mL={class:"modal-content"},gL={class:"modal-header"},vL={class:"modal-title"},yL=["src"],EL=c.createElementVNode("span",null,"Sluiten",-1),CL={class:"modal-body"},bL={key:0,class:"modal-footer"},AL=["disabled"],ei=c.defineComponent({__name:"BDModal",props:{title:{default:""},titleImage:{default:""},submitButtonTitle:{default:"Opslaan"},closeButtonTitle:{default:"Annuleren"},hideFooterCancelButton:{type:Boolean,default:!1},hideFooterSubmitButton:{type:Boolean,default:!1},hideFooter:{type:Boolean,default:!1},hideCloseButton:{type:Boolean,default:!1},disableSubmitButton:{type:Boolean,default:!1},size:{default:"lg"}},emits:["submit","cancel"],setup(n,{emit:e}){const t=n,r=c.computed(()=>`modal bd-modal modal-${t.size}`),o=()=>e("submit"),s=()=>e("cancel");return(i,l)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(r.value),tabindex:"-1"},[c.createElementVNode("div",pL,[c.createElementVNode("div",mL,[c.createElementVNode("div",gL,[c.createElementVNode("h2",vL,[t.titleImage?(c.openBlock(),c.createElementBlock("img",{key:0,src:t.titleImage,class:"title-image",alt:""},null,8,yL)):c.createCommentVNode("",!0),c.createElementVNode("span",null,c.toDisplayString(t.title),1)]),c.renderSlot(i.$slots,"modal-header-space-between"),t.hideCloseButton?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("button",{key:0,type:"button",class:"btn-close w-auto","data-bs-dismiss":"modal","aria-label":"Sluiten",onClick:s},[EL,c.createVNode(c.unref(Da))]))]),c.createElementVNode("div",CL,[c.renderSlot(i.$slots,"default")]),i.hideFooter?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",bL,[t.hideFooterSubmitButton?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("button",{key:0,class:"btn btn-primary",disabled:t.disableSubmitButton,onClick:o},c.toDisplayString(t.submitButtonTitle),9,AL)),c.renderSlot(i.$slots,"buttons"),t.hideFooterCancelButton?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("button",{key:1,type:"button",class:"btn btn-link","data-bs-dismiss":"modal",onClick:s,"aria-label":"Annuleren"},c.toDisplayString(t.closeButtonTitle),1))]))])])],2))}}),ml=n=>{const e=c.ref(null);return{showModal:()=>{const o=document.getElementById(n);o instanceof HTMLElement?(e.value=yr.getOrCreateInstance(o),e.value.show()):console.error(`Modal '${n}' niet gevonden.`)},closeModal:()=>{if(e.value){e.value.hide();return}const o=document.getElementById(n);if(o instanceof HTMLElement){const s=yr.getInstance(o);s&&s.hide()}}}};function Og(){const n=c.ref(0),e=c.ref(!0),t=c.ref(null),r=c.ref({top:0,left:0,x:0,y:0}),o=c.computed(()=>n.value>0?`zoom-${n.value}`:"");return{zoom:n,mouseDown:e,imageHolderRef:t,pos:r,SetZoom:o,OnMouseDown:a=>{if(!t.value)return;r.value.left=t.value.scrollLeft,r.value.top=t.value.scrollTop;const u=document.querySelector("#image-attachment-modal"),d=document.querySelector(".image-preview-image-holder");u&&(u.style.cursor="grabbing"),d&&(d.style.cursor="grabbing"),r.value.x=a.clientX,r.value.y=a.clientY,e.value=!0},OnMouseMove:a=>{if(e.value){const u=a.clientX-r.value.x,d=a.clientY-r.value.y;t.value&&(t.value.scrollTop=r.value.top-d,t.value.scrollLeft=r.value.left-u)}},OnMouseUp:()=>{const a=document.querySelector("#image-attachment-modal"),u=document.querySelector(".image-preview-image-holder");a&&a.style&&(a.style.cursor=""),u&&u.style&&(u.style.cursor="grab"),e.value=!1}}}const wL=["src","alt"],TL={key:0,class:"show-spinner"},SL={class:"spinner-border text-primary",role:"status"},kL={class:"visually-hidden"},_L=["href"],Lg=c.defineComponent({__name:"BDImageAttachmentModal",props:["loadingText","downloadText"],setup(n,{expose:e}){const t=n,{showModal:r}=ml("image-attachment-modal"),{zoom:o,imageHolderRef:s,SetZoom:i,OnMouseDown:l,OnMouseMove:a,OnMouseUp:u}=Og(),d=c.ref(!0),f=c.ref({BerichtId:0,Id:void 0,MimeType:null,Naam:Fe,altName:Fe,downloadUrl:Fe,fullImageUrl:Fe,previewUrl:Fe});e({Show:g=>{f.value=g,o.value=0,r()}});const p=()=>{d.value=!1},m=()=>{f.value={BerichtId:0,Id:void 0,MimeType:null,Naam:Fe,altName:Fe,downloadUrl:Fe,fullImageUrl:Fe,previewUrl:Fe}};return(g,v)=>(c.openBlock(),c.createBlock(ei,{id:"image-attachment-modal",class:c.normalizeClass(c.unref(Fe)),title:f.value.Naam,hideFooterCancelButton:!0,showHeaderButton:!0,onCancel:m},{default:c.withCtx(()=>[c.createElementVNode("div",{class:"image-preview-image-holder",ref_key:"imageHolderRef",ref:s,onMousedown:v[0]||(v[0]=(...C)=>c.unref(l)&&c.unref(l)(...C)),onMousemove:v[1]||(v[1]=(...C)=>c.unref(a)&&c.unref(a)(...C)),onMouseup:v[2]||(v[2]=(...C)=>c.unref(u)&&c.unref(u)(...C))},[f.value?(c.openBlock(),c.createElementBlock("img",{key:0,src:f.value.downloadUrl,alt:f.value.Naam,class:c.normalizeClass(["image-preview-modal",c.unref(i)]),onLoad:p,draggable:!1},null,42,wL)):c.createCommentVNode("",!0)],544),d.value?(c.openBlock(),c.createElementBlock("div",TL,[c.createElementVNode("div",SL,[c.createElementVNode("span",kL,c.toDisplayString(t.loadingText),1)])])):c.createCommentVNode("",!0),c.createVNode(Su,{modelValue:c.unref(o),"onUpdate:modelValue":v[3]||(v[3]=C=>c.isRef(o)?o.value=C:null),class:"image-preview-bd-zoom-slider","max-value":4},null,8,["modelValue"]),c.createElementVNode("a",{href:f.value.downloadUrl},[c.createVNode(Qe,{variant:"primary",class:"download-image"},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(t.downloadText),1)]),_:1})],8,_L)]),_:1},8,["class","title"]))}});function gl(n=void 0){const e=l=>s("Succesvol",l,So.SUCCESS),t=l=>s("Waarschuwing",l,So.WARNING),r=l=>s("Informatie",l,So.INFO),o=l=>s("Mislukt",l,So.DANGER);function s(l,a,u){const d=`toast-${z1()}`,f={id:d,variant:u,title:l,text:a},h=document.querySelector(".toast-container");if(!h){console.error("There was no element with class 'toast-container' found, which is required for useToaster.");return}const p=c.h(ku,f),g=c.createApp({render:()=>p}).mount(document.createElement("div"));h.appendChild(g.$el);const v=document.querySelector(`#${d}`);v&&(ts.getOrCreateInstance(v,n).show(),i(v))}function i(l){function a(f,h){f.forEach(p=>{if(p.attributeName!="class")return;const m=p.target;if(m.classList.contains("hide")){m.remove(),h.disconnect();return}})}const u=new MutationObserver(a),d={attributes:!0};u.observe(l,d)}return{showSuccessToast:e,showInformationToast:r,showWarningToast:t,showDangerToast:o}}const{showDangerToast:xL}=gl();function Id(n){const e=c.ref(null),t=(a,u="serverErrors")=>{var f;let d=[];if(Array.isArray((f=a==null?void 0:a.response)==null?void 0:f.data)?d=a.response.data.filter(h=>ri(h.ErrorMessage)&&h.ErrorMessage!==Fe):a.response.data.ErrorMessage?d=[a.response.data.ErrorMessage]:d=null,ri(u))e.value=d;else if(Array.isArray(u)){let h=e.value;for(let p=0;p<u.length;p++)p===u.length-1?h[u[p]]=d:h=h[u[p]]}r(a),i(e)},r=a=>{if(n==null)return;const d=new URL(a.request.responseURL).pathname;if(d in n.error){const f=n.error[d];f&&xL(f)}},o=c.ref(null),s=c.ref(""),i=a=>{t9(a.value)?o.value=a.value.map(u=>ri(u)?u:u.ErrorMessage):ri(a.value)&&(s.value=a.value)};function l(){e.value=null,o.value=null,s.value=Fe}return{serverErrors:e,errorMessages:o,errorMessageText:s,MapErrors:i,MapServerErrors:t,ResetServerErrors:l}}const NL={key:0},IL={key:1},ML={class:"bd-form-field"},OL={class:"bd-form-field"},Dg=c.defineComponent({__name:"BDPhoneNumberEditModal",props:["modalTitle","submitButtonTitle","phoneNumberLabel","phoneNumberUnchangedText","confirmationCodeLabel","confirmationCodeRequiredText","confirmationCodeSentText","editSuccessText","editCanceledText","sendConfirmationCodeText","startPhoneNumberUpdate","confirmPhoneNumberUpdate"],emits:["startPhoneNumberUpdate","confirmPhoneNumberUpdate","setPhoneNumber"],setup(n,{expose:e,emit:t}){const r=n,{showSuccessToast:o,showWarningToast:s}=gl(),{serverErrors:i,errorMessages:l,errorMessageText:a,MapServerErrors:u,ResetServerErrors:d}=Id(null),{closeModal:f}=ml("phone-number-edit-modal");let h=Fe;const p=c.ref(),m=c.ref(null),g=c.ref(),v=c.ref(),C=c.ref(null),w=c.computed(()=>v.value==null||v.value==""),E=()=>{if(m.value=null,d(),!p.value||p.value==h){m.value=!1;return}const R={newPhonenumber:p.value};r.startPhoneNumberUpdate(R).then(x).catch(u)},y=()=>{if(!v.value){C.value=!1;return}const R={requestIdentifier:g.value,token:v.value};r.confirmPhoneNumberUpdate(R).then(A).catch(u)},x=R=>{m.value=null,o(r.confirmationCodeSentText),g.value=R.data.RequestIdentifier},A=()=>{t("setPhoneNumber",p.value),o(r.editSuccessText),f(),m.value=null,C.value=null},I=R=>{h=R,p.value=h,m.value=null,g.value=void 0,v.value=void 0,C.value=null},B=()=>{I(h),d(),s(r.editCanceledText)};return e({Reset:I}),(R,U)=>(c.openBlock(),c.createBlock(ei,{id:"phone-number-edit-modal",class:c.normalizeClass(c.unref(Fe)),title:r.modalTitle,submitButtonTitle:r.submitButtonTitle,hideFooterCancelButton:!1,"disable-submit-button":w.value,serverErrors:c.unref(i),errorMessages:c.unref(l),errorMessageText:c.unref(a),onSubmit:y,onCancel:B},{default:c.withCtx(()=>[c.unref(a)||c.unref(l)?(c.openBlock(),c.createBlock(Ts,{key:0,variant:"danger"},{default:c.withCtx(()=>[c.unref(l)?(c.openBlock(),c.createElementBlock("div",NL,[c.createElementVNode("ul",null,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(c.unref(l),($,P)=>(c.openBlock(),c.createElementBlock("li",{key:P},[c.createVNode(so),c.createElementVNode("span",null,c.toDisplayString($),1)]))),128))])])):(c.openBlock(),c.createElementBlock("div",IL,c.toDisplayString(c.unref(a)),1))]),_:1})):c.createCommentVNode("",!0),c.createElementVNode("div",ML,[c.createVNode(Hr,{id:"form-input-phone-number",label:r.phoneNumberLabel,modelValue:p.value,"onUpdate:modelValue":U[0]||(U[0]=$=>p.value=$),state:m.value,type:"text","form-field-class":"form-input-with-button","invalid-feedback-text":r.phoneNumberUnchangedText},{default:c.withCtx(()=>[c.createVNode(Qe,{textContent:c.toDisplayString(r.sendConfirmationCodeText),class:"tablet-device-up",type:"button",onClick:E},null,8,["textContent"])]),_:1},8,["label","modelValue","state","invalid-feedback-text"]),c.createVNode(Qe,{textContent:c.toDisplayString(r.sendConfirmationCodeText),class:"mobile-device",type:"button",onClick:E},null,8,["textContent"])]),c.createElementVNode("div",OL,[g.value?(c.openBlock(),c.createBlock(Hr,{key:0,label:r.confirmationCodeLabel,modelValue:v.value,"onUpdate:modelValue":U[1]||(U[1]=$=>v.value=$),state:C.value,"invalid-feedback-text":r.confirmationCodeRequiredText},null,8,["label","modelValue","state","invalid-feedback-text"])):c.createCommentVNode("",!0)])]),_:1},8,["class","title","submitButtonTitle","disable-submit-button","serverErrors","errorMessages","errorMessageText"]))}});var Rg={exports:{}};(function(n,e){(function(t,r){n.exports=r()})(xu,function(){var t=1e3,r=6e4,o=36e5,s="millisecond",i="second",l="minute",a="hour",u="day",d="week",f="month",h="quarter",p="year",m="date",g="Invalid Date",v=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,C=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,w={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(G){var K=["th","st","nd","rd"],H=G%100;return"["+G+(K[(H-20)%10]||K[H]||K[0])+"]"}},E=function(G,K,H){var J=String(G);return!J||J.length>=K?G:""+Array(K+1-J.length).join(H)+G},y={s:E,z:function(G){var K=-G.utcOffset(),H=Math.abs(K),J=Math.floor(H/60),z=H%60;return(K<=0?"+":"-")+E(J,2,"0")+":"+E(z,2,"0")},m:function G(K,H){if(K.date()<H.date())return-G(H,K);var J=12*(H.year()-K.year())+(H.month()-K.month()),z=K.clone().add(J,f),ee=H-z<0,ne=K.clone().add(J+(ee?-1:1),f);return+(-(J+(H-z)/(ee?z-ne:ne-z))||0)},a:function(G){return G<0?Math.ceil(G)||0:Math.floor(G)},p:function(G){return{M:f,y:p,w:d,d:u,D:m,h:a,m:l,s:i,ms:s,Q:h}[G]||String(G||"").toLowerCase().replace(/s$/,"")},u:function(G){return G===void 0}},x="en",A={};A[x]=w;var I="$isDayjsObject",B=function(G){return G instanceof P||!(!G||!G[I])},R=function G(K,H,J){var z;if(!K)return x;if(typeof K=="string"){var ee=K.toLowerCase();A[ee]&&(z=ee),H&&(A[ee]=H,z=ee);var ne=K.split("-");if(!z&&ne.length>1)return G(ne[0])}else{var ce=K.name;A[ce]=K,z=ce}return!J&&z&&(x=z),z||!J&&x},U=function(G,K){if(B(G))return G.clone();var H=typeof K=="object"?K:{};return H.date=G,H.args=arguments,new P(H)},$=y;$.l=R,$.i=B,$.w=function(G,K){return U(G,{locale:K.$L,utc:K.$u,x:K.$x,$offset:K.$offset})};var P=function(){function G(H){this.$L=R(H.locale,null,!0),this.parse(H),this.$x=this.$x||H.x||{},this[I]=!0}var K=G.prototype;return K.parse=function(H){this.$d=function(J){var z=J.date,ee=J.utc;if(z===null)return new Date(NaN);if($.u(z))return new Date;if(z instanceof Date)return new Date(z);if(typeof z=="string"&&!/Z$/i.test(z)){var ne=z.match(v);if(ne){var ce=ne[2]-1||0,me=(ne[7]||"0").substring(0,3);return ee?new Date(Date.UTC(ne[1],ce,ne[3]||1,ne[4]||0,ne[5]||0,ne[6]||0,me)):new Date(ne[1],ce,ne[3]||1,ne[4]||0,ne[5]||0,ne[6]||0,me)}}return new Date(z)}(H),this.init()},K.init=function(){var H=this.$d;this.$y=H.getFullYear(),this.$M=H.getMonth(),this.$D=H.getDate(),this.$W=H.getDay(),this.$H=H.getHours(),this.$m=H.getMinutes(),this.$s=H.getSeconds(),this.$ms=H.getMilliseconds()},K.$utils=function(){return $},K.isValid=function(){return this.$d.toString()!==g},K.isSame=function(H,J){var z=U(H);return this.startOf(J)<=z&&z<=this.endOf(J)},K.isAfter=function(H,J){return U(H)<this.startOf(J)},K.isBefore=function(H,J){return this.endOf(J)<U(H)},K.$g=function(H,J,z){return $.u(H)?this[J]:this.set(z,H)},K.unix=function(){return Math.floor(this.valueOf()/1e3)},K.valueOf=function(){return this.$d.getTime()},K.startOf=function(H,J){var z=this,ee=!!$.u(J)||J,ne=$.p(H),ce=function(D,N){var L=$.w(z.$u?Date.UTC(z.$y,N,D):new Date(z.$y,N,D),z);return ee?L:L.endOf(u)},me=function(D,N){return $.w(z.toDate()[D].apply(z.toDate("s"),(ee?[0,0,0,0]:[23,59,59,999]).slice(N)),z)},ve=this.$W,Te=this.$M,ke=this.$D,Ne="set"+(this.$u?"UTC":"");switch(ne){case p:return ee?ce(1,0):ce(31,11);case f:return ee?ce(1,Te):ce(0,Te+1);case d:var Ce=this.$locale().weekStart||0,O=(ve<Ce?ve+7:ve)-Ce;return ce(ee?ke-O:ke+(6-O),Te);case u:case m:return me(Ne+"Hours",0);case a:return me(Ne+"Minutes",1);case l:return me(Ne+"Seconds",2);case i:return me(Ne+"Milliseconds",3);default:return this.clone()}},K.endOf=function(H){return this.startOf(H,!1)},K.$set=function(H,J){var z,ee=$.p(H),ne="set"+(this.$u?"UTC":""),ce=(z={},z[u]=ne+"Date",z[m]=ne+"Date",z[f]=ne+"Month",z[p]=ne+"FullYear",z[a]=ne+"Hours",z[l]=ne+"Minutes",z[i]=ne+"Seconds",z[s]=ne+"Milliseconds",z)[ee],me=ee===u?this.$D+(J-this.$W):J;if(ee===f||ee===p){var ve=this.clone().set(m,1);ve.$d[ce](me),ve.init(),this.$d=ve.set(m,Math.min(this.$D,ve.daysInMonth())).$d}else ce&&this.$d[ce](me);return this.init(),this},K.set=function(H,J){return this.clone().$set(H,J)},K.get=function(H){return this[$.p(H)]()},K.add=function(H,J){var z,ee=this;H=Number(H);var ne=$.p(J),ce=function(Te){var ke=U(ee);return $.w(ke.date(ke.date()+Math.round(Te*H)),ee)};if(ne===f)return this.set(f,this.$M+H);if(ne===p)return this.set(p,this.$y+H);if(ne===u)return ce(1);if(ne===d)return ce(7);var me=(z={},z[l]=r,z[a]=o,z[i]=t,z)[ne]||1,ve=this.$d.getTime()+H*me;return $.w(ve,this)},K.subtract=function(H,J){return this.add(-1*H,J)},K.format=function(H){var J=this,z=this.$locale();if(!this.isValid())return z.invalidDate||g;var ee=H||"YYYY-MM-DDTHH:mm:ssZ",ne=$.z(this),ce=this.$H,me=this.$m,ve=this.$M,Te=z.weekdays,ke=z.months,Ne=z.meridiem,Ce=function(N,L,b,T){return N&&(N[L]||N(J,ee))||b[L].slice(0,T)},O=function(N){return $.s(ce%12||12,N,"0")},D=Ne||function(N,L,b){var T=N<12?"AM":"PM";return b?T.toLowerCase():T};return ee.replace(C,function(N,L){return L||function(b){switch(b){case"YY":return String(J.$y).slice(-2);case"YYYY":return $.s(J.$y,4,"0");case"M":return ve+1;case"MM":return $.s(ve+1,2,"0");case"MMM":return Ce(z.monthsShort,ve,ke,3);case"MMMM":return Ce(ke,ve);case"D":return J.$D;case"DD":return $.s(J.$D,2,"0");case"d":return String(J.$W);case"dd":return Ce(z.weekdaysMin,J.$W,Te,2);case"ddd":return Ce(z.weekdaysShort,J.$W,Te,3);case"dddd":return Te[J.$W];case"H":return String(ce);case"HH":return $.s(ce,2,"0");case"h":return O(1);case"hh":return O(2);case"a":return D(ce,me,!0);case"A":return D(ce,me,!1);case"m":return String(me);case"mm":return $.s(me,2,"0");case"s":return String(J.$s);case"ss":return $.s(J.$s,2,"0");case"SSS":return $.s(J.$ms,3,"0");case"Z":return ne}return null}(N)||ne.replace(":","")})},K.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},K.diff=function(H,J,z){var ee,ne=this,ce=$.p(J),me=U(H),ve=(me.utcOffset()-this.utcOffset())*r,Te=this-me,ke=function(){return $.m(ne,me)};switch(ce){case p:ee=ke()/12;break;case f:ee=ke();break;case h:ee=ke()/3;break;case d:ee=(Te-ve)/6048e5;break;case u:ee=(Te-ve)/864e5;break;case a:ee=Te/o;break;case l:ee=Te/r;break;case i:ee=Te/t;break;default:ee=Te}return z?ee:$.a(ee)},K.daysInMonth=function(){return this.endOf(f).$D},K.$locale=function(){return A[this.$L]},K.locale=function(H,J){if(!H)return this.$L;var z=this.clone(),ee=R(H,J,!0);return ee&&(z.$L=ee),z},K.clone=function(){return $.w(this.$d,this)},K.toDate=function(){return new Date(this.valueOf())},K.toJSON=function(){return this.isValid()?this.toISOString():null},K.toISOString=function(){return this.$d.toISOString()},K.toString=function(){return this.$d.toUTCString()},G}(),Y=P.prototype;return U.prototype=Y,[["$ms",s],["$s",i],["$m",l],["$H",a],["$W",u],["$M",f],["$y",p],["$D",m]].forEach(function(G){Y[G[1]]=function(K){return this.$g(K,G[0],G[1])}}),U.extend=function(G,K){return G.$i||(G(K,P,U),G.$i=!0),U},U.locale=R,U.isDayjs=B,U.unix=function(G){return U(1e3*G)},U.en=A[x],U.Ls=A,U.p={},U})})(Rg);var Bg=Rg.exports;const Yo=Nu(Bg),Pg=(n,e,t,r,o,s)=>{const i=c.ref(null),l=c.ref(null),a=c.ref(!1),u=c.ref(null),{showModal:d,closeModal:f}=ml("session-time-out-modal"),h=c.computed(()=>i.value&&n?n-(i.value+1):0),p=c.computed(()=>l.value?60-l.value:0),m=c.computed(()=>a.value),g=()=>{u.value=setInterval(C,1e3),r(u.value)},v=()=>{u.value&&clearInterval(u.value)},C=()=>{i.value=Yo().diff(t(),"m"),l.value=Yo().subtract(i.value,"m").diff(t(),"s");const B=n??Number.MAX_SAFE_INTEGER,R=e??0;i.value>=B?(a.value=!0,d(),localStorage.setItem("session-timeout","true"),window.onbeforeunload=w):i.value>=B-R?d():f()},w=B=>{B.stopPropagation(),y()},E=()=>{o(),v(),i.value=null,l.value=null,g()},y=()=>{v(),i.value=null,l.value=null,localStorage.removeItem("session-timeout"),s()},x=()=>{a.value?y():E()},A=()=>{y()},I=()=>{a.value?y():f()};return c.onMounted(()=>{const B=document.getElementById("session-time-out-modal");B&&B.addEventListener("hidden.bs.modal",x),v(),g()}),{IsExpired:m,Minutes:h,Seconds:p,OnLogOut:A,OnSubmit:I}},Fg=c.defineComponent({__name:"BDSessionTimeOutModal",props:["expiredTitle","expiredMessage","expiredButtonText","almostExpiredTitle","almostExpiredMessage","almostExpiredButtonText","almostExpiredCancelButtonText","threshold","warningThreshold","getTime","setTaskId","setNewTime","logout","hideCancelButton"],setup(n){const e=n,{IsExpired:t,Minutes:r,Seconds:o,OnLogOut:s,OnSubmit:i}=Pg(e.threshold,e.warningThreshold,e.getTime,e.setTaskId,e.setNewTime,e.logout),l=c.computed(()=>t.value?e.expiredTitle:e.almostExpiredTitle),a=c.computed(()=>t.value?e.expiredMessage:`${e.almostExpiredMessage} ${r.value}:${o.value<10?"0"+o.value:o.value}`),u=c.computed(()=>e.hideCancelButton||t.value),d=c.computed(()=>t.value?e.expiredButtonText:e.almostExpiredButtonText);return(f,h)=>(c.openBlock(),c.createBlock(ei,{id:"session-time-out-modal",title:l.value,"hide-close-button":!0,"hide-footer-cancel-button":u.value,"close-button-title":e.almostExpiredCancelButtonText,"submit-button-title":d.value,size:"md",onSubmit:c.unref(i),onCancel:c.unref(s)},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(a.value),1)]),_:1},8,["title","hide-footer-cancel-button","close-button-title","submit-button-title","onSubmit","onCancel"]))}}),Vg=()=>({ResetValidation:t=>{for(const r in t.value)t.value[r].state=null},ValidationObjectIsValid:t=>{for(let r in t)if(t[r].state===!1)return!1;return!0}}),LL={class:"template change-password-template"},DL={class:"template-title"},RL={key:0},BL={key:1},PL=["onSubmit","onReset"],FL={class:"bd-form-field"},VL={class:"bd-form-field"},$L={class:"bd-form-field"},UL={class:"bd-form-buttons"},$g=c.defineComponent({__name:"BDChangePasswordTemplate",props:{templateTitle:{},alertText:{},currentPasswordLabel:{},newPasswordLabel:{},confirmNewPasswordLabel:{},submitButtonText:{},cancelButtonText:{},successText:{},failureText:{},requiredText:{},incompatibleText:{},minimalRequirementsText:{},submitPassword:{type:Function}},setup(n){const e=n,{showDangerToast:t,showSuccessToast:r}=gl(),{errorMessages:o,errorMessageText:s,MapServerErrors:i,ResetServerErrors:l}=Id(null),{ValidationObjectIsValid:a}=Vg();let u=c.ref({password:Fe,passwordNew:Fe,passwordRepeat:Fe}),d=c.ref({password:{state:null,errorLabel:Fe},passwordNew:{state:null,errorLabel:Fe},passwordRepeat:{state:null,errorLabel:Fe}});const f=()=>{if(!h())return;const g=e.submitPassword(u.value);g&&g.then(()=>{r(e.successText),p()}).catch(v=>{t(e.failureText),i(v)})},h=()=>{const m=/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[@$!%*?&])[A-Za-z\d@$!%*?&]{8,}$/;if(u.value.passwordNew&&!m.test(u.value.passwordNew))d.value.passwordNew.state=!1,d.value.passwordNew.errorLabel=e.minimalRequirementsText;else{const g=u.value.passwordRepeat===u.value.passwordNew,v=g?e.requiredText:e.incompatibleText;d.value.passwordNew.state=u.value.passwordNew!==Fe&&g?null:!1,d.value.passwordNew.errorLabel=v,d.value.passwordRepeat.state=u.value.passwordRepeat!==Fe&&g?null:!1,d.value.passwordRepeat.errorLabel=v}return d.value.password.state=u.value.password!==Fe?null:!1,d.value.password.errorLabel=d.value.password.state?Fe:e.requiredText,a(d.value)},p=()=>{u.value.password=Fe,u.value.passwordNew=Fe,u.value.passwordRepeat=Fe,d.value.password.state=null,d.value.passwordNew.state=null,d.value.passwordRepeat.state=null,l()};return(m,g)=>(c.openBlock(),c.createElementBlock("main",LL,[c.createVNode(ws,{class:"container-xl"},{default:c.withCtx(()=>[c.createVNode(Dr,{class:"justify-content-md-center template-header"},{default:c.withCtx(()=>[c.createVNode(Lr,{xs:12,md:10,lg:7},{default:c.withCtx(()=>[c.createElementVNode("h1",DL,c.toDisplayString(e.templateTitle),1)]),_:1})]),_:1}),c.createVNode(Dr,{class:"justify-content-md-center"},{default:c.withCtx(()=>[c.createVNode(Lr,{xs:12,md:10,lg:7},{default:c.withCtx(()=>[c.createVNode(Fa,{class:"bd-card-template","no-header":!0},{body:c.withCtx(()=>[c.createVNode(ws,{class:"container-fluid"},{default:c.withCtx(()=>[c.createVNode(Dr,null,{default:c.withCtx(()=>[c.createVNode(Lr,null,{default:c.withCtx(()=>[c.createVNode(Ts,{variant:"warning"},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(m.alertText),1)]),_:1})]),_:1})]),_:1}),c.unref(o)||c.unref(s)?(c.openBlock(),c.createBlock(Dr,{key:0},{default:c.withCtx(()=>[c.createVNode(Lr,null,{default:c.withCtx(()=>[c.createVNode(Ts,{variant:"danger"},{default:c.withCtx(()=>[c.unref(o)?(c.openBlock(),c.createElementBlock("div",RL,[c.createElementVNode("ul",null,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(c.unref(o),(v,C)=>(c.openBlock(),c.createElementBlock("li",{key:C},[c.createVNode(so),c.createElementVNode("span",null,c.toDisplayString(v),1)]))),128))])])):(c.openBlock(),c.createElementBlock("div",BL,c.toDisplayString(c.unref(s)),1))]),_:1})]),_:1})]),_:1})):c.createCommentVNode("",!0),c.createVNode(Dr,null,{default:c.withCtx(()=>[c.createVNode(Lr,{class:"bd-card-form",sm:12,md:12},{default:c.withCtx(()=>[c.createElementVNode("form",{onSubmit:c.withModifiers(f,["prevent"]),onReset:c.withModifiers(p,["prevent"]),class:"form"},[c.createElementVNode("div",FL,[c.createVNode(Hr,{modelValue:c.unref(u).password,"onUpdate:modelValue":g[0]||(g[0]=v=>c.unref(u).password=v),label:m.currentPasswordLabel,state:c.unref(d).password.state,type:"password","invalid-feedback-text":c.unref(d).password.errorLabel},null,8,["modelValue","label","state","invalid-feedback-text"])]),c.createElementVNode("div",VL,[c.createVNode(Hr,{modelValue:c.unref(u).passwordNew,"onUpdate:modelValue":g[1]||(g[1]=v=>c.unref(u).passwordNew=v),label:m.newPasswordLabel,state:c.unref(d).passwordNew.state,type:"password","invalid-feedback-text":c.unref(d).passwordNew.errorLabel},null,8,["modelValue","label","state","invalid-feedback-text"])]),c.createElementVNode("div",$L,[c.createVNode(Hr,{modelValue:c.unref(u).passwordRepeat,"onUpdate:modelValue":g[2]||(g[2]=v=>c.unref(u).passwordRepeat=v),label:m.confirmNewPasswordLabel,state:c.unref(d).passwordRepeat.state,type:"password","invalid-feedback-text":c.unref(d).passwordRepeat.errorLabel},null,8,["modelValue","label","state","invalid-feedback-text"])]),c.createElementVNode("div",UL,[c.createVNode(Qe,{type:"submit"},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(m.submitButtonText),1)]),_:1}),c.createVNode(Qe,{type:"reset",variant:"link"},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(m.cancelButtonText),1)]),_:1})])],40,PL)]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]))}}),zL={class:"template not-found-template"},HL={class:"center-screen"},jL={class:"container-warning"},WL=["textContent"],KL=["textContent"],Ug=c.defineComponent({__name:"BDNotFoundTemplate",props:{buttonText:{type:String}},emits:["navigate"],setup(n,{emit:e}){const t=n,{t:r}=qs(),o=c.computed(()=>t.buttonText||r("notFoundTemplate.buttonDefault")),s=c.computed(()=>r("notFoundTemplate.title")),i=c.computed(()=>r("notFoundTemplate.description")),l=()=>e("navigate");return(a,u)=>(c.openBlock(),c.createElementBlock("main",zL,[c.createVNode(ws,{class:"container-xl"},{default:c.withCtx(()=>[c.createElementVNode("div",HL,[c.createElementVNode("div",jL,[c.createVNode(wu),c.createElementVNode("h5",{textContent:c.toDisplayString(s.value)},null,8,WL),c.createElementVNode("p",{textContent:c.toDisplayString(i.value)},null,8,KL),c.createVNode(Qe,{onClick:l,variant:"primary",type:"button",textContent:c.toDisplayString(o.value)},null,8,["textContent"])])])]),_:1})]))}});var YL={exports:{}};(function(n,e){(function(t,r){n.exports=r(Bg)})(xu,function(t){function r(i){return i&&typeof i=="object"&&"default"in i?i:{default:i}}var o=r(t),s={name:"nl",weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),ordinal:function(i){return"["+i+(i===1||i===8||i>=20?"ste":"de")+"]"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"een minuut",mm:"%d minuten",h:"een uur",hh:"%d uur",d:"een dag",dd:"%d dagen",M:"een maand",MM:"%d maanden",y:"een jaar",yy:"%d jaar"}};return o.default.locale(s,null,!0),s})})(YL);var zg={exports:{}};(function(n,e){(function(t,r){n.exports=r()})(xu,function(){var t={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,o=/\d/,s=/\d\d/,i=/\d\d?/,l=/\d*[^-_:/,()\s\d]+/,a={},u=function(v){return(v=+v)+(v>68?1900:2e3)},d=function(v){return function(C){this[v]=+C}},f=[/[+-]\d\d:?(\d\d)?|Z/,function(v){(this.zone||(this.zone={})).offset=function(C){if(!C||C==="Z")return 0;var w=C.match(/([+-]|\d\d)/g),E=60*w[1]+(+w[2]||0);return E===0?0:w[0]==="+"?-E:E}(v)}],h=function(v){var C=a[v];return C&&(C.indexOf?C:C.s.concat(C.f))},p=function(v,C){var w,E=a.meridiem;if(E){for(var y=1;y<=24;y+=1)if(v.indexOf(E(y,0,C))>-1){w=y>12;break}}else w=v===(C?"pm":"PM");return w},m={A:[l,function(v){this.afternoon=p(v,!1)}],a:[l,function(v){this.afternoon=p(v,!0)}],Q:[o,function(v){this.month=3*(v-1)+1}],S:[o,function(v){this.milliseconds=100*+v}],SS:[s,function(v){this.milliseconds=10*+v}],SSS:[/\d{3}/,function(v){this.milliseconds=+v}],s:[i,d("seconds")],ss:[i,d("seconds")],m:[i,d("minutes")],mm:[i,d("minutes")],H:[i,d("hours")],h:[i,d("hours")],HH:[i,d("hours")],hh:[i,d("hours")],D:[i,d("day")],DD:[s,d("day")],Do:[l,function(v){var C=a.ordinal,w=v.match(/\d+/);if(this.day=w[0],C)for(var E=1;E<=31;E+=1)C(E).replace(/\[|\]/g,"")===v&&(this.day=E)}],w:[i,d("week")],ww:[s,d("week")],M:[i,d("month")],MM:[s,d("month")],MMM:[l,function(v){var C=h("months"),w=(h("monthsShort")||C.map(function(E){return E.slice(0,3)})).indexOf(v)+1;if(w<1)throw new Error;this.month=w%12||w}],MMMM:[l,function(v){var C=h("months").indexOf(v)+1;if(C<1)throw new Error;this.month=C%12||C}],Y:[/[+-]?\d+/,d("year")],YY:[s,function(v){this.year=u(v)}],YYYY:[/\d{4}/,d("year")],Z:f,ZZ:f};function g(v){var C,w;C=v,w=a&&a.formats;for(var E=(v=C.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(U,$,P){var Y=P&&P.toUpperCase();return $||w[P]||t[P]||w[Y].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(G,K,H){return K||H.slice(1)})})).match(r),y=E.length,x=0;x<y;x+=1){var A=E[x],I=m[A],B=I&&I[0],R=I&&I[1];E[x]=R?{regex:B,parser:R}:A.replace(/^\[|\]$/g,"")}return function(U){for(var $={},P=0,Y=0;P<y;P+=1){var G=E[P];if(typeof G=="string")Y+=G.length;else{var K=G.regex,H=G.parser,J=U.slice(Y),z=K.exec(J)[0];H.call($,z),U=U.replace(z,"")}}return function(ee){var ne=ee.afternoon;if(ne!==void 0){var ce=ee.hours;ne?ce<12&&(ee.hours+=12):ce===12&&(ee.hours=0),delete ee.afternoon}}($),$}}return function(v,C,w){w.p.customParseFormat=!0,v&&v.parseTwoDigitYear&&(u=v.parseTwoDigitYear);var E=C.prototype,y=E.parse;E.parse=function(x){var A=x.date,I=x.utc,B=x.args;this.$u=I;var R=B[1];if(typeof R=="string"){var U=B[2]===!0,$=B[3]===!0,P=U||$,Y=B[2];$&&(Y=B[2]),a=this.$locale(),!U&&Y&&(a=w.Ls[Y]),this.$d=function(J,z,ee,ne){try{if(["x","X"].indexOf(z)>-1)return new Date((z==="X"?1e3:1)*J);var ce=g(z)(J),me=ce.year,ve=ce.month,Te=ce.day,ke=ce.hours,Ne=ce.minutes,Ce=ce.seconds,O=ce.milliseconds,D=ce.zone,N=ce.week,L=new Date,b=Te||(me||ve?1:L.getDate()),T=me||L.getFullYear(),_=0;me&&!ve||(_=ve>0?ve-1:L.getMonth());var M,j=ke||0,W=Ne||0,Z=Ce||0,X=O||0;return D?new Date(Date.UTC(T,_,b,j,W,Z,X+60*D.offset*1e3)):ee?new Date(Date.UTC(T,_,b,j,W,Z,X)):(M=new Date(T,_,b,j,W,Z,X),N&&(M=ne(M).week(N).toDate()),M)}catch{return new Date("")}}(A,R,I,w),this.init(),Y&&Y!==!0&&(this.$L=this.locale(Y).$L),P&&A!=this.format(R)&&(this.$d=new Date("")),a={}}else if(R instanceof Array)for(var G=R.length,K=1;K<=G;K+=1){B[1]=R[K-1];var H=w.apply(this,B);if(H.isValid()){this.$d=H.$d,this.$L=H.$L,this.init();break}K===G&&(this.$d=new Date(""))}else y.call(this,x)}}})})(zg);var GL=zg.exports;const QL=Nu(GL);Yo.extend(QL);Yo.locale("nl");function ZL(n,e=Yo().startOf("day")){const t="DD-MM-YYYY",r=Yo(n,t);if(r.isSame(e))return"vandaag";const s=e.subtract(1,"day");if(r.isSame(s))return"gister";const l=e.subtract(2,"day");if(r.isSame(l))return"eergister";const u=e.subtract(7,"day");if(r.isAfter(u)){const h="dddd";return r.format(h)}if(r.year()==e.year()){const h="D MMM";return r.format(h)}return r.format(t)}const JL=n=>{const e=new RegExp("(?<=^|a>)(((?!<a).)*)"),t=/((https?:\/\/|www\.)[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-zA-Z0-9()]{2,24}\b([-a-zA-Z0-9()!@:%_+.~#?&/=]*))/;let r=new RegExp(e.source+t.source,"g");return n.replace(r,(o,s,i,l)=>{const a=l.startsWith("www.")?`http://${l}`:l;return`${s}<a href="${a}" target="_blank" rel="noopener noreferrer">${l}</a>`})},XL=(n,e)=>`<p><a href="${n}" title="${e}" target="_blank" rel="noopener noreferrer">${e}</a></p>`,qL=n=>n.startsWith("http://")||n.startsWith("https://"),eD={install:n=>{n.component("BDAlert",Ts),n.component("BDArticle",J1),n.component("BDAttachmentPreviewList",ol),n.component("BDBadge",K1),n.component("BDButton",Qe),n.component("BDCard",Fa),n.component("BDChangePasswordTemplate",$g),n.component("BDChatCloud",U2),n.component("BDCol",Lr),n.component("BDCollapsableCard",H1),n.component("BDContainer",ws),n.component("BDDropdown",Cd),n.component("BDDropdownItem",Oi),n.component("BDDropzone",q1),n.component("BDForm",Y1),n.component("BDFormCheckbox",Z1),n.component("BDFormInput",Hr),n.component("BDFormInvalidFeedback",Va),n.component("BDFormSelect",Q1),n.component("BDHeader",bd),n.component("BDImageAttachmentModal",Lg),n.component("BDImageAttachmentPreviewList",sl),n.component("BDInputGroup",W1),n.component("BDLink",Zr),n.component("BDLogo",lu),n.component("BDMarkdownEditor",V2),n.component("BDMobileMenu",Ed),n.component("BDModal",ei),n.component("BDNotFoundTemplate",Ug),n.component("BDPagination",G1),n.component("BDPhoneNumberEditModal",Dg),n.component("BDPill",$a),n.component("BDPractitionerHeader",Mg),n.component("BDProfileImage",Hs),n.component("BDRow",Dr),n.component("BDSessionTimeOutModal",Fg),n.component("BDTable",z2),n.component("BDToast",ku),n.component("BDUser",$2),n.component("BDUserInformation",_u),n.component("BDVideoCallToast",H2),n.component("BDZoomslider",Su),n.component("IconAcademy",Ni),n.component("IconArrowDown",Wp),n.component("IconArrowUp",Kp),n.component("IconAttachment",Jr),n.component("IconBold",cu),n.component("IconBulletList",uu),n.component("IconCalendar",Yp),n.component("IconCall",Ii),n.component("IconCallReject",du),n.component("IconCardView",Gp),n.component("IconCaretDown",fu),n.component("IconCaretLeft",hu),n.component("IconCaretRight",pu),n.component("IconCheck",Go),n.component("IconClipboard",Qp),n.component("IconClose",Da),n.component("IconComment",Zp),n.component("IconCommentActive",Jp),n.component("IconCommonFileEmpty",qp),n.component("IconCommonFileWarning",e1),n.component("IconCommentStatic",Xp),n.component("IconContactPerson",t1),n.component("IconCopy",n1),n.component("IconDelete",r1),n.component("IconDoubleCheck",o1),n.component("IconDownloadImage",mu),n.component("IconEdit",s1),n.component("IconEndCall",i1),n.component("IconError",Ra),n.component("IconExternal",a1),n.component("IconEyeShow",l1),n.component("IconEyeSlash",c1),n.component("IconFile",gu),n.component("IconFileAdded",u1),n.component("IconForward",d1),n.component("IconHix",f1),n.component("IconHyperlink",Ba),n.component("IconImageFileLandscape",h1),n.component("IconImageFileWarning",p1),n.component("IconInfo",so),n.component("IconInformationCircle",m1),n.component("IconItalic",vu),n.component("IconListView",g1),n.component("IconLock",v1),n.component("IconLusciiEscalated",y1),n.component("IconLusciiLogo",E1),n.component("IconLusciiOpen",C1),n.component("IconLusciiPriorityHigh",b1),n.component("IconLusciiPriorityLow",A1),n.component("IconLusciiPriorityMedium",w1),n.component("IconMenu",yu),n.component("IconMessage",T1),n.component("IconMessageForward",S1),n.component("IconMicrophoneSlash",k1),n.component("IconMicrosoftTeams",_1),n.component("IconMin",x1),n.component("IconOrderedList",Eu),n.component("IconPlus",N1),n.component("IconRefresh",I1),n.component("IconRemove",zs),n.component("IconSananetLogo",M1),n.component("IconService",O1),n.component("IconShareScreen",L1),n.component("IconSingleNeutral",D1),n.component("IconSort",R1),n.component("IconSortAsc",Cu),n.component("IconSortDesc",bu),n.component("IconSortNone",Au),n.component("IconTriangleDown",B1),n.component("IconTriangleExclamation",wu),n.component("IconUnderline",Tu),n.component("IconVideoDisabled",F1),n.component("IconVideocall",P1),n.component("IconZorgkaart",V1),n.directive("vBDTooltip",Xs)}};exports.BDAlert=Ts;exports.BDArticle=J1;exports.BDAttachmentPreviewList=ol;exports.BDBadge=K1;exports.BDButton=Qe;exports.BDCard=Fa;exports.BDChangePasswordTemplate=$g;exports.BDChatCloud=U2;exports.BDCol=Lr;exports.BDCollapsableCard=H1;exports.BDContainer=ws;exports.BDDropdown=Cd;exports.BDDropdownItem=Oi;exports.BDDropzone=q1;exports.BDForm=Y1;exports.BDFormCheckbox=Z1;exports.BDFormInput=Hr;exports.BDFormInvalidFeedback=Va;exports.BDFormSelect=Q1;exports.BDHeader=bd;exports.BDImageAttachmentModal=Lg;exports.BDImageAttachmentPreviewList=sl;exports.BDInputGroup=W1;exports.BDLink=Zr;exports.BDLogo=lu;exports.BDMarkdownEditor=V2;exports.BDMobileMenu=Ed;exports.BDModal=ei;exports.BDNotFoundTemplate=Ug;exports.BDPagination=G1;exports.BDPhoneNumberEditModal=Dg;exports.BDPill=$a;exports.BDPractitionerHeader=Mg;exports.BDProfileImage=Hs;exports.BDRow=Dr;exports.BDSessionTimeOutModal=Fg;exports.BDTable=z2;exports.BDToast=ku;exports.BDUser=$2;exports.BDUserInformation=_u;exports.BDVideoCallToast=H2;exports.BDZoomslider=Su;exports.CreateHyperlinkParagraph=XL;exports.IconAcademy=Ni;exports.IconArrowDown=Wp;exports.IconArrowUp=Kp;exports.IconAttachment=Jr;exports.IconBold=cu;exports.IconBulletList=uu;exports.IconCalendar=Yp;exports.IconCall=Ii;exports.IconCallReject=du;exports.IconCardView=Gp;exports.IconCaretDown=fu;exports.IconCaretLeft=hu;exports.IconCaretRight=pu;exports.IconCheck=Go;exports.IconClipboard=Qp;exports.IconClose=Da;exports.IconComment=Zp;exports.IconCommentActive=Jp;exports.IconCommentStatic=Xp;exports.IconCommonFileEmpty=qp;exports.IconCommonFileWarning=e1;exports.IconContactPerson=t1;exports.IconCopy=n1;exports.IconDelete=r1;exports.IconDoubleCheck=o1;exports.IconDownloadImage=mu;exports.IconEdit=s1;exports.IconEndCall=i1;exports.IconError=Ra;exports.IconExternal=a1;exports.IconEyeShow=l1;exports.IconEyeSlash=c1;exports.IconFile=gu;exports.IconFileAdded=u1;exports.IconForward=d1;exports.IconHix=f1;exports.IconHyperlink=Ba;exports.IconImageFileLandscape=h1;exports.IconImageFileWarning=p1;exports.IconInfo=so;exports.IconInformationCircle=m1;exports.IconItalic=vu;exports.IconListView=g1;exports.IconLock=v1;exports.IconLusciiEscalated=y1;exports.IconLusciiLogo=E1;exports.IconLusciiOpen=C1;exports.IconLusciiPriorityHigh=b1;exports.IconLusciiPriorityLow=A1;exports.IconLusciiPriorityMedium=w1;exports.IconMenu=yu;exports.IconMessage=T1;exports.IconMessageForward=S1;exports.IconMicrophoneSlash=k1;exports.IconMicrosoftTeams=_1;exports.IconMin=x1;exports.IconOrderedList=Eu;exports.IconPlus=N1;exports.IconRefresh=I1;exports.IconRemove=zs;exports.IconSananetLogo=M1;exports.IconService=O1;exports.IconShareScreen=L1;exports.IconSingleNeutral=D1;exports.IconSort=R1;exports.IconSortAsc=Cu;exports.IconSortDesc=bu;exports.IconSortNone=Au;exports.IconTriangleDown=B1;exports.IconTriangleExclamation=wu;exports.IconUnderline=Tu;exports.IconVideoDisabled=F1;exports.IconVideocall=P1;exports.IconZorgkaart=V1;exports.TransformHyperlinks=JL;exports.ValidateUrl=qL;exports.default=eD;exports.getDisplayDate=ZL;exports.useModal=ml;exports.usePopover=Ig;exports.useServerErrors=Id;exports.useSessionTimeOut=Pg;exports.useToaster=gl;exports.useValidation=Vg;exports.useWindow=Nd;exports.useZoom=Og;exports.vBdTooltip=Xs;
207
+ `});return(d,f)=>i.value?(c.openBlock(),c.createElementBlock("a",{key:0,ref_key:"notificationButton",ref:s,tabindex:"0",class:"bd-notification-button",role:"button","data-bs-toggle":"popover","data-bs-placement":"bottom","data-bs-title":a.value,"data-bs-content":u.value,"data-bs-html":!0,onClick:f[0]||(f[0]=(...h)=>c.unref(o)&&c.unref(o)(...h))},[c.withDirectives(c.createElementVNode("img",{src:tL,alt:"BeterDichtbij nieuws notificatie bel.",title:l.value},null,8,oL),[[c.unref(Xs)]]),c.unref(r)?(c.openBlock(),c.createElementBlock("div",sL)):c.createCommentVNode("",!0)],8,rL)):c.createCommentVNode("",!0)}}),aL={class:"profile-side"},lL=["href"],cL={class:"nav-item"},uL=["textContent"],Mg=c.defineComponent({__name:"BDPractitionerHeader",props:{academyUrl:{},userId:{},getNotification:{}},setup(n){const e=n,{t}=qs(),r=c.computed(()=>t("practitionerHeader.academyTooltip")),o=c.computed(()=>t("practitionerHeader.AcademyMenuItem"));return(s,i)=>(c.openBlock(),c.createBlock(bd,null,c.createSlots({"profile-side":c.withCtx(()=>[c.createElementVNode("div",aL,[c.createVNode(iL,{"user-id":e.userId,"get-notification":e.getNotification},null,8,["user-id","get-notification"]),e.academyUrl?(c.openBlock(),c.createElementBlock("a",{key:0,href:e.academyUrl,target:"_blank",rel:"noopener,noreferrer"},[c.withDirectives(c.createVNode(c.unref(Ni),{title:r.value},null,8,["title"]),[[c.unref(Xs)]])],8,lL)):c.createCommentVNode("",!0)])]),_:2},[e.academyUrl?{name:"mobile-menu-special-options",fn:c.withCtx(()=>[c.createElementVNode("li",cL,[c.createVNode(Zr,{class:"nav-link",to:e.academyUrl},{default:c.withCtx(()=>[c.createVNode(c.unref(Ni)),c.createElementVNode("span",{textContent:c.toDisplayString(o.value)},null,8,uL)]),_:1},8,["to"])])]),key:"0"}:void 0]),1024))}}),dL={class:"modal-dialog"},fL={class:"modal-content"},hL={class:"modal-header"},pL={class:"modal-title"},mL=["src"],gL=c.createElementVNode("span",null,"Sluiten",-1),vL={class:"modal-body"},yL={key:0,class:"modal-footer"},EL=["disabled"],ei=c.defineComponent({__name:"BDModal",props:{title:{default:""},titleImage:{default:""},submitButtonTitle:{default:"Opslaan"},closeButtonTitle:{default:"Annuleren"},hideFooterCancelButton:{type:Boolean,default:!1},hideFooterSubmitButton:{type:Boolean,default:!1},hideFooter:{type:Boolean,default:!1},hideCloseButton:{type:Boolean,default:!1},disableSubmitButton:{type:Boolean,default:!1},size:{default:"lg"}},emits:["submit","cancel"],setup(n,{emit:e}){const t=n,r=c.computed(()=>`modal bd-modal modal-${t.size}`),o=()=>e("submit"),s=()=>e("cancel");return(i,l)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(r.value),tabindex:"-1"},[c.createElementVNode("div",dL,[c.createElementVNode("div",fL,[c.createElementVNode("div",hL,[c.createElementVNode("h2",pL,[t.titleImage?(c.openBlock(),c.createElementBlock("img",{key:0,src:t.titleImage,class:"title-image",alt:""},null,8,mL)):c.createCommentVNode("",!0),c.createElementVNode("span",null,c.toDisplayString(t.title),1)]),c.renderSlot(i.$slots,"modal-header-space-between"),t.hideCloseButton?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("button",{key:0,type:"button",class:"btn-close w-auto","data-bs-dismiss":"modal","aria-label":"Sluiten",onClick:s},[gL,c.createVNode(c.unref(Da))]))]),c.createElementVNode("div",vL,[c.renderSlot(i.$slots,"default")]),i.hideFooter?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",yL,[t.hideFooterSubmitButton?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("button",{key:0,class:"btn btn-primary",disabled:t.disableSubmitButton,onClick:o},c.toDisplayString(t.submitButtonTitle),9,EL)),c.renderSlot(i.$slots,"buttons"),t.hideFooterCancelButton?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("button",{key:1,type:"button",class:"btn btn-link","data-bs-dismiss":"modal",onClick:s,"aria-label":"Annuleren"},c.toDisplayString(t.closeButtonTitle),1))]))])])],2))}}),ml=n=>{const e=c.ref(null);return{showModal:()=>{const o=document.getElementById(n);o instanceof HTMLElement?(e.value=yr.getOrCreateInstance(o),e.value.show()):console.error(`Modal '${n}' niet gevonden.`)},closeModal:()=>{if(e.value){e.value.hide();return}const o=document.getElementById(n);if(o instanceof HTMLElement){const s=yr.getInstance(o);s&&s.hide()}}}};function Og(){const n=c.ref(0),e=c.ref(!0),t=c.ref(null),r=c.ref({top:0,left:0,x:0,y:0}),o=c.computed(()=>n.value>0?`zoom-${n.value}`:"");return{zoom:n,mouseDown:e,imageHolderRef:t,pos:r,SetZoom:o,OnMouseDown:a=>{if(!t.value)return;r.value.left=t.value.scrollLeft,r.value.top=t.value.scrollTop;const u=document.querySelector("#image-attachment-modal"),d=document.querySelector(".image-preview-image-holder");u&&(u.style.cursor="grabbing"),d&&(d.style.cursor="grabbing"),r.value.x=a.clientX,r.value.y=a.clientY,e.value=!0},OnMouseMove:a=>{if(e.value){const u=a.clientX-r.value.x,d=a.clientY-r.value.y;t.value&&(t.value.scrollTop=r.value.top-d,t.value.scrollLeft=r.value.left-u)}},OnMouseUp:()=>{const a=document.querySelector("#image-attachment-modal"),u=document.querySelector(".image-preview-image-holder");a&&a.style&&(a.style.cursor=""),u&&u.style&&(u.style.cursor="grab"),e.value=!1}}}const CL=["src","alt"],bL={key:0,class:"show-spinner"},AL={class:"spinner-border text-primary",role:"status"},wL={class:"visually-hidden"},TL=["href"],Lg=c.defineComponent({__name:"BDImageAttachmentModal",props:["loadingText","downloadText"],setup(n,{expose:e}){const t=n,{showModal:r}=ml("image-attachment-modal"),{zoom:o,imageHolderRef:s,SetZoom:i,OnMouseDown:l,OnMouseMove:a,OnMouseUp:u}=Og(),d=c.ref(!0),f=c.ref({BerichtId:0,Id:void 0,MimeType:null,Naam:Fe,altName:Fe,downloadUrl:Fe,fullImageUrl:Fe,previewUrl:Fe});e({Show:g=>{f.value=g,o.value=0,r()}});const p=()=>{d.value=!1},m=()=>{f.value={BerichtId:0,Id:void 0,MimeType:null,Naam:Fe,altName:Fe,downloadUrl:Fe,fullImageUrl:Fe,previewUrl:Fe}};return(g,v)=>(c.openBlock(),c.createBlock(ei,{id:"image-attachment-modal",class:c.normalizeClass(c.unref(Fe)),title:f.value.Naam,hideFooterCancelButton:!0,showHeaderButton:!0,onCancel:m},{default:c.withCtx(()=>[c.createElementVNode("div",{class:"image-preview-image-holder",ref_key:"imageHolderRef",ref:s,onMousedown:v[0]||(v[0]=(...C)=>c.unref(l)&&c.unref(l)(...C)),onMousemove:v[1]||(v[1]=(...C)=>c.unref(a)&&c.unref(a)(...C)),onMouseup:v[2]||(v[2]=(...C)=>c.unref(u)&&c.unref(u)(...C))},[f.value?(c.openBlock(),c.createElementBlock("img",{key:0,src:f.value.downloadUrl,alt:f.value.Naam,class:c.normalizeClass(["image-preview-modal",c.unref(i)]),onLoad:p,draggable:!1},null,42,CL)):c.createCommentVNode("",!0)],544),d.value?(c.openBlock(),c.createElementBlock("div",bL,[c.createElementVNode("div",AL,[c.createElementVNode("span",wL,c.toDisplayString(t.loadingText),1)])])):c.createCommentVNode("",!0),c.createVNode(Su,{modelValue:c.unref(o),"onUpdate:modelValue":v[3]||(v[3]=C=>c.isRef(o)?o.value=C:null),class:"image-preview-bd-zoom-slider","max-value":4},null,8,["modelValue"]),c.createElementVNode("a",{href:f.value.downloadUrl},[c.createVNode(Qe,{variant:"primary",class:"download-image"},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(t.downloadText),1)]),_:1})],8,TL)]),_:1},8,["class","title"]))}});function gl(n=void 0){const e=l=>s("Succesvol",l,So.SUCCESS),t=l=>s("Waarschuwing",l,So.WARNING),r=l=>s("Informatie",l,So.INFO),o=l=>s("Mislukt",l,So.DANGER);function s(l,a,u){const d=`toast-${z1()}`,f={id:d,variant:u,title:l,text:a},h=document.querySelector(".toast-container");if(!h){console.error("There was no element with class 'toast-container' found, which is required for useToaster.");return}const p=c.h(ku,f),g=c.createApp({render:()=>p}).mount(document.createElement("div"));h.appendChild(g.$el);const v=document.querySelector(`#${d}`);v&&(ts.getOrCreateInstance(v,n).show(),i(v))}function i(l){function a(f,h){f.forEach(p=>{if(p.attributeName!="class")return;const m=p.target;if(m.classList.contains("hide")){m.remove(),h.disconnect();return}})}const u=new MutationObserver(a),d={attributes:!0};u.observe(l,d)}return{showSuccessToast:e,showInformationToast:r,showWarningToast:t,showDangerToast:o}}const{showDangerToast:SL}=gl();function Id(n){const e=c.ref(null),t=(a,u="serverErrors")=>{var f;let d=[];if(Array.isArray((f=a==null?void 0:a.response)==null?void 0:f.data)?d=a.response.data.filter(h=>ri(h.ErrorMessage)&&h.ErrorMessage!==Fe):a.response.data.ErrorMessage?d=[a.response.data.ErrorMessage]:d=null,ri(u))e.value=d;else if(Array.isArray(u)){let h=e.value;for(let p=0;p<u.length;p++)p===u.length-1?h[u[p]]=d:h=h[u[p]]}r(a),i(e)},r=a=>{if(n==null)return;const d=new URL(a.request.responseURL).pathname;if(d in n.error){const f=n.error[d];f&&SL(f)}},o=c.ref(null),s=c.ref(""),i=a=>{t9(a.value)?o.value=a.value.map(u=>ri(u)?u:u.ErrorMessage):ri(a.value)&&(s.value=a.value)};function l(){e.value=null,o.value=null,s.value=Fe}return{serverErrors:e,errorMessages:o,errorMessageText:s,MapErrors:i,MapServerErrors:t,ResetServerErrors:l}}const kL={key:0},_L={key:1},xL={class:"bd-form-field"},NL={class:"bd-form-field"},Dg=c.defineComponent({__name:"BDPhoneNumberEditModal",props:["modalTitle","submitButtonTitle","phoneNumberLabel","phoneNumberUnchangedText","confirmationCodeLabel","confirmationCodeRequiredText","confirmationCodeSentText","editSuccessText","editCanceledText","sendConfirmationCodeText","startPhoneNumberUpdate","confirmPhoneNumberUpdate"],emits:["startPhoneNumberUpdate","confirmPhoneNumberUpdate","setPhoneNumber"],setup(n,{expose:e,emit:t}){const r=n,{showSuccessToast:o,showWarningToast:s}=gl(),{serverErrors:i,errorMessages:l,errorMessageText:a,MapServerErrors:u,ResetServerErrors:d}=Id(null),{closeModal:f}=ml("phone-number-edit-modal");let h=Fe;const p=c.ref(),m=c.ref(null),g=c.ref(),v=c.ref(),C=c.ref(null),w=c.computed(()=>v.value==null||v.value==""),E=()=>{if(m.value=null,d(),!p.value||p.value==h){m.value=!1;return}const R={newPhonenumber:p.value};r.startPhoneNumberUpdate(R).then(x).catch(u)},y=()=>{if(!v.value){C.value=!1;return}const R={requestIdentifier:g.value,token:v.value};r.confirmPhoneNumberUpdate(R).then(A).catch(u)},x=R=>{m.value=null,o(r.confirmationCodeSentText),g.value=R.data.RequestIdentifier},A=()=>{t("setPhoneNumber",p.value),o(r.editSuccessText),f(),m.value=null,C.value=null},I=R=>{h=R,p.value=h,m.value=null,g.value=void 0,v.value=void 0,C.value=null},B=()=>{I(h),d(),s(r.editCanceledText)};return e({Reset:I}),(R,U)=>(c.openBlock(),c.createBlock(ei,{id:"phone-number-edit-modal",class:c.normalizeClass(c.unref(Fe)),title:r.modalTitle,submitButtonTitle:r.submitButtonTitle,hideFooterCancelButton:!1,"disable-submit-button":w.value,serverErrors:c.unref(i),errorMessages:c.unref(l),errorMessageText:c.unref(a),onSubmit:y,onCancel:B},{default:c.withCtx(()=>[c.unref(a)||c.unref(l)?(c.openBlock(),c.createBlock(Ts,{key:0,variant:"danger"},{default:c.withCtx(()=>[c.unref(l)?(c.openBlock(),c.createElementBlock("div",kL,[c.createElementVNode("ul",null,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(c.unref(l),($,P)=>(c.openBlock(),c.createElementBlock("li",{key:P},[c.createVNode(so),c.createElementVNode("span",null,c.toDisplayString($),1)]))),128))])])):(c.openBlock(),c.createElementBlock("div",_L,c.toDisplayString(c.unref(a)),1))]),_:1})):c.createCommentVNode("",!0),c.createElementVNode("div",xL,[c.createVNode(Hr,{id:"form-input-phone-number",label:r.phoneNumberLabel,modelValue:p.value,"onUpdate:modelValue":U[0]||(U[0]=$=>p.value=$),state:m.value,type:"text","form-field-class":"form-input-with-button","invalid-feedback-text":r.phoneNumberUnchangedText},{default:c.withCtx(()=>[c.createVNode(Qe,{textContent:c.toDisplayString(r.sendConfirmationCodeText),class:"tablet-device-up",type:"button",onClick:E},null,8,["textContent"])]),_:1},8,["label","modelValue","state","invalid-feedback-text"]),c.createVNode(Qe,{textContent:c.toDisplayString(r.sendConfirmationCodeText),class:"mobile-device",type:"button",onClick:E},null,8,["textContent"])]),c.createElementVNode("div",NL,[g.value?(c.openBlock(),c.createBlock(Hr,{key:0,label:r.confirmationCodeLabel,modelValue:v.value,"onUpdate:modelValue":U[1]||(U[1]=$=>v.value=$),state:C.value,"invalid-feedback-text":r.confirmationCodeRequiredText},null,8,["label","modelValue","state","invalid-feedback-text"])):c.createCommentVNode("",!0)])]),_:1},8,["class","title","submitButtonTitle","disable-submit-button","serverErrors","errorMessages","errorMessageText"]))}});var Rg={exports:{}};(function(n,e){(function(t,r){n.exports=r()})(xu,function(){var t=1e3,r=6e4,o=36e5,s="millisecond",i="second",l="minute",a="hour",u="day",d="week",f="month",h="quarter",p="year",m="date",g="Invalid Date",v=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,C=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,w={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(G){var K=["th","st","nd","rd"],H=G%100;return"["+G+(K[(H-20)%10]||K[H]||K[0])+"]"}},E=function(G,K,H){var J=String(G);return!J||J.length>=K?G:""+Array(K+1-J.length).join(H)+G},y={s:E,z:function(G){var K=-G.utcOffset(),H=Math.abs(K),J=Math.floor(H/60),z=H%60;return(K<=0?"+":"-")+E(J,2,"0")+":"+E(z,2,"0")},m:function G(K,H){if(K.date()<H.date())return-G(H,K);var J=12*(H.year()-K.year())+(H.month()-K.month()),z=K.clone().add(J,f),ee=H-z<0,ne=K.clone().add(J+(ee?-1:1),f);return+(-(J+(H-z)/(ee?z-ne:ne-z))||0)},a:function(G){return G<0?Math.ceil(G)||0:Math.floor(G)},p:function(G){return{M:f,y:p,w:d,d:u,D:m,h:a,m:l,s:i,ms:s,Q:h}[G]||String(G||"").toLowerCase().replace(/s$/,"")},u:function(G){return G===void 0}},x="en",A={};A[x]=w;var I="$isDayjsObject",B=function(G){return G instanceof P||!(!G||!G[I])},R=function G(K,H,J){var z;if(!K)return x;if(typeof K=="string"){var ee=K.toLowerCase();A[ee]&&(z=ee),H&&(A[ee]=H,z=ee);var ne=K.split("-");if(!z&&ne.length>1)return G(ne[0])}else{var ce=K.name;A[ce]=K,z=ce}return!J&&z&&(x=z),z||!J&&x},U=function(G,K){if(B(G))return G.clone();var H=typeof K=="object"?K:{};return H.date=G,H.args=arguments,new P(H)},$=y;$.l=R,$.i=B,$.w=function(G,K){return U(G,{locale:K.$L,utc:K.$u,x:K.$x,$offset:K.$offset})};var P=function(){function G(H){this.$L=R(H.locale,null,!0),this.parse(H),this.$x=this.$x||H.x||{},this[I]=!0}var K=G.prototype;return K.parse=function(H){this.$d=function(J){var z=J.date,ee=J.utc;if(z===null)return new Date(NaN);if($.u(z))return new Date;if(z instanceof Date)return new Date(z);if(typeof z=="string"&&!/Z$/i.test(z)){var ne=z.match(v);if(ne){var ce=ne[2]-1||0,me=(ne[7]||"0").substring(0,3);return ee?new Date(Date.UTC(ne[1],ce,ne[3]||1,ne[4]||0,ne[5]||0,ne[6]||0,me)):new Date(ne[1],ce,ne[3]||1,ne[4]||0,ne[5]||0,ne[6]||0,me)}}return new Date(z)}(H),this.init()},K.init=function(){var H=this.$d;this.$y=H.getFullYear(),this.$M=H.getMonth(),this.$D=H.getDate(),this.$W=H.getDay(),this.$H=H.getHours(),this.$m=H.getMinutes(),this.$s=H.getSeconds(),this.$ms=H.getMilliseconds()},K.$utils=function(){return $},K.isValid=function(){return this.$d.toString()!==g},K.isSame=function(H,J){var z=U(H);return this.startOf(J)<=z&&z<=this.endOf(J)},K.isAfter=function(H,J){return U(H)<this.startOf(J)},K.isBefore=function(H,J){return this.endOf(J)<U(H)},K.$g=function(H,J,z){return $.u(H)?this[J]:this.set(z,H)},K.unix=function(){return Math.floor(this.valueOf()/1e3)},K.valueOf=function(){return this.$d.getTime()},K.startOf=function(H,J){var z=this,ee=!!$.u(J)||J,ne=$.p(H),ce=function(D,N){var L=$.w(z.$u?Date.UTC(z.$y,N,D):new Date(z.$y,N,D),z);return ee?L:L.endOf(u)},me=function(D,N){return $.w(z.toDate()[D].apply(z.toDate("s"),(ee?[0,0,0,0]:[23,59,59,999]).slice(N)),z)},ve=this.$W,Te=this.$M,ke=this.$D,Ne="set"+(this.$u?"UTC":"");switch(ne){case p:return ee?ce(1,0):ce(31,11);case f:return ee?ce(1,Te):ce(0,Te+1);case d:var Ce=this.$locale().weekStart||0,O=(ve<Ce?ve+7:ve)-Ce;return ce(ee?ke-O:ke+(6-O),Te);case u:case m:return me(Ne+"Hours",0);case a:return me(Ne+"Minutes",1);case l:return me(Ne+"Seconds",2);case i:return me(Ne+"Milliseconds",3);default:return this.clone()}},K.endOf=function(H){return this.startOf(H,!1)},K.$set=function(H,J){var z,ee=$.p(H),ne="set"+(this.$u?"UTC":""),ce=(z={},z[u]=ne+"Date",z[m]=ne+"Date",z[f]=ne+"Month",z[p]=ne+"FullYear",z[a]=ne+"Hours",z[l]=ne+"Minutes",z[i]=ne+"Seconds",z[s]=ne+"Milliseconds",z)[ee],me=ee===u?this.$D+(J-this.$W):J;if(ee===f||ee===p){var ve=this.clone().set(m,1);ve.$d[ce](me),ve.init(),this.$d=ve.set(m,Math.min(this.$D,ve.daysInMonth())).$d}else ce&&this.$d[ce](me);return this.init(),this},K.set=function(H,J){return this.clone().$set(H,J)},K.get=function(H){return this[$.p(H)]()},K.add=function(H,J){var z,ee=this;H=Number(H);var ne=$.p(J),ce=function(Te){var ke=U(ee);return $.w(ke.date(ke.date()+Math.round(Te*H)),ee)};if(ne===f)return this.set(f,this.$M+H);if(ne===p)return this.set(p,this.$y+H);if(ne===u)return ce(1);if(ne===d)return ce(7);var me=(z={},z[l]=r,z[a]=o,z[i]=t,z)[ne]||1,ve=this.$d.getTime()+H*me;return $.w(ve,this)},K.subtract=function(H,J){return this.add(-1*H,J)},K.format=function(H){var J=this,z=this.$locale();if(!this.isValid())return z.invalidDate||g;var ee=H||"YYYY-MM-DDTHH:mm:ssZ",ne=$.z(this),ce=this.$H,me=this.$m,ve=this.$M,Te=z.weekdays,ke=z.months,Ne=z.meridiem,Ce=function(N,L,b,T){return N&&(N[L]||N(J,ee))||b[L].slice(0,T)},O=function(N){return $.s(ce%12||12,N,"0")},D=Ne||function(N,L,b){var T=N<12?"AM":"PM";return b?T.toLowerCase():T};return ee.replace(C,function(N,L){return L||function(b){switch(b){case"YY":return String(J.$y).slice(-2);case"YYYY":return $.s(J.$y,4,"0");case"M":return ve+1;case"MM":return $.s(ve+1,2,"0");case"MMM":return Ce(z.monthsShort,ve,ke,3);case"MMMM":return Ce(ke,ve);case"D":return J.$D;case"DD":return $.s(J.$D,2,"0");case"d":return String(J.$W);case"dd":return Ce(z.weekdaysMin,J.$W,Te,2);case"ddd":return Ce(z.weekdaysShort,J.$W,Te,3);case"dddd":return Te[J.$W];case"H":return String(ce);case"HH":return $.s(ce,2,"0");case"h":return O(1);case"hh":return O(2);case"a":return D(ce,me,!0);case"A":return D(ce,me,!1);case"m":return String(me);case"mm":return $.s(me,2,"0");case"s":return String(J.$s);case"ss":return $.s(J.$s,2,"0");case"SSS":return $.s(J.$ms,3,"0");case"Z":return ne}return null}(N)||ne.replace(":","")})},K.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},K.diff=function(H,J,z){var ee,ne=this,ce=$.p(J),me=U(H),ve=(me.utcOffset()-this.utcOffset())*r,Te=this-me,ke=function(){return $.m(ne,me)};switch(ce){case p:ee=ke()/12;break;case f:ee=ke();break;case h:ee=ke()/3;break;case d:ee=(Te-ve)/6048e5;break;case u:ee=(Te-ve)/864e5;break;case a:ee=Te/o;break;case l:ee=Te/r;break;case i:ee=Te/t;break;default:ee=Te}return z?ee:$.a(ee)},K.daysInMonth=function(){return this.endOf(f).$D},K.$locale=function(){return A[this.$L]},K.locale=function(H,J){if(!H)return this.$L;var z=this.clone(),ee=R(H,J,!0);return ee&&(z.$L=ee),z},K.clone=function(){return $.w(this.$d,this)},K.toDate=function(){return new Date(this.valueOf())},K.toJSON=function(){return this.isValid()?this.toISOString():null},K.toISOString=function(){return this.$d.toISOString()},K.toString=function(){return this.$d.toUTCString()},G}(),Y=P.prototype;return U.prototype=Y,[["$ms",s],["$s",i],["$m",l],["$H",a],["$W",u],["$M",f],["$y",p],["$D",m]].forEach(function(G){Y[G[1]]=function(K){return this.$g(K,G[0],G[1])}}),U.extend=function(G,K){return G.$i||(G(K,P,U),G.$i=!0),U},U.locale=R,U.isDayjs=B,U.unix=function(G){return U(1e3*G)},U.en=A[x],U.Ls=A,U.p={},U})})(Rg);var Bg=Rg.exports;const Yo=Nu(Bg),Pg=(n,e,t,r,o,s)=>{const i=c.ref(null),l=c.ref(null),a=c.ref(!1),u=c.ref(null),{showModal:d,closeModal:f}=ml("session-time-out-modal"),h=c.computed(()=>i.value&&n?n-(i.value+1):0),p=c.computed(()=>l.value?60-l.value:0),m=c.computed(()=>a.value),g=()=>{u.value=setInterval(C,1e3),r(u.value)},v=()=>{u.value&&clearInterval(u.value)},C=()=>{i.value=Yo().diff(t(),"m"),l.value=Yo().subtract(i.value,"m").diff(t(),"s");const B=n??Number.MAX_SAFE_INTEGER,R=e??0;i.value>=B?(a.value=!0,d(),localStorage.setItem("session-timeout","true"),window.onbeforeunload=w):i.value>=B-R?d():f()},w=B=>{B.stopPropagation(),y()},E=()=>{o(),v(),i.value=null,l.value=null,g()},y=()=>{v(),i.value=null,l.value=null,localStorage.removeItem("session-timeout"),s()},x=()=>{a.value?y():E()},A=()=>{y()},I=()=>{a.value?y():f()};return c.onMounted(()=>{const B=document.getElementById("session-time-out-modal");B&&B.addEventListener("hidden.bs.modal",x),v(),g()}),{IsExpired:m,Minutes:h,Seconds:p,OnLogOut:A,OnSubmit:I}},Fg=c.defineComponent({__name:"BDSessionTimeOutModal",props:["expiredTitle","expiredMessage","expiredButtonText","almostExpiredTitle","almostExpiredMessage","almostExpiredButtonText","almostExpiredCancelButtonText","threshold","warningThreshold","getTime","setTaskId","setNewTime","logout","hideCancelButton"],setup(n){const e=n,{IsExpired:t,Minutes:r,Seconds:o,OnLogOut:s,OnSubmit:i}=Pg(e.threshold,e.warningThreshold,e.getTime,e.setTaskId,e.setNewTime,e.logout),l=c.computed(()=>t.value?e.expiredTitle:e.almostExpiredTitle),a=c.computed(()=>t.value?e.expiredMessage:`${e.almostExpiredMessage} ${r.value}:${o.value<10?"0"+o.value:o.value}`),u=c.computed(()=>e.hideCancelButton||t.value),d=c.computed(()=>t.value?e.expiredButtonText:e.almostExpiredButtonText);return(f,h)=>(c.openBlock(),c.createBlock(ei,{id:"session-time-out-modal",title:l.value,"hide-close-button":!0,"hide-footer-cancel-button":u.value,"close-button-title":e.almostExpiredCancelButtonText,"submit-button-title":d.value,size:"md",onSubmit:c.unref(i),onCancel:c.unref(s)},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(a.value),1)]),_:1},8,["title","hide-footer-cancel-button","close-button-title","submit-button-title","onSubmit","onCancel"]))}}),Vg=()=>({ResetValidation:t=>{for(const r in t.value)t.value[r].state=null},ValidationObjectIsValid:t=>{for(let r in t)if(t[r].state===!1)return!1;return!0}}),IL={class:"template change-password-template"},ML={class:"template-title"},OL={key:0},LL={key:1},DL=["onSubmit","onReset"],RL={class:"bd-form-field"},BL={class:"bd-form-field"},PL={class:"bd-form-field"},FL={class:"bd-form-buttons"},$g=c.defineComponent({__name:"BDChangePasswordTemplate",props:{templateTitle:{},alertText:{},currentPasswordLabel:{},newPasswordLabel:{},confirmNewPasswordLabel:{},submitButtonText:{},cancelButtonText:{},successText:{},failureText:{},requiredText:{},incompatibleText:{},minimalRequirementsText:{},submitPassword:{type:Function}},setup(n){const e=n,{showDangerToast:t,showSuccessToast:r}=gl(),{errorMessages:o,errorMessageText:s,MapServerErrors:i,ResetServerErrors:l}=Id(null),{ValidationObjectIsValid:a}=Vg();let u=c.ref({password:Fe,passwordNew:Fe,passwordRepeat:Fe}),d=c.ref({password:{state:null,errorLabel:Fe},passwordNew:{state:null,errorLabel:Fe},passwordRepeat:{state:null,errorLabel:Fe}});const f=()=>{if(!h())return;const g=e.submitPassword(u.value);g&&g.then(()=>{r(e.successText),p()}).catch(v=>{t(e.failureText),i(v)})},h=()=>{const m=/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[@$!%*?&])[A-Za-z\d@$!%*?&]{8,}$/;if(u.value.passwordNew&&!m.test(u.value.passwordNew))d.value.passwordNew.state=!1,d.value.passwordNew.errorLabel=e.minimalRequirementsText;else{const g=u.value.passwordRepeat===u.value.passwordNew,v=g?e.requiredText:e.incompatibleText;d.value.passwordNew.state=u.value.passwordNew!==Fe&&g?null:!1,d.value.passwordNew.errorLabel=v,d.value.passwordRepeat.state=u.value.passwordRepeat!==Fe&&g?null:!1,d.value.passwordRepeat.errorLabel=v}return d.value.password.state=u.value.password!==Fe?null:!1,d.value.password.errorLabel=d.value.password.state?Fe:e.requiredText,a(d.value)},p=()=>{u.value.password=Fe,u.value.passwordNew=Fe,u.value.passwordRepeat=Fe,d.value.password.state=null,d.value.passwordNew.state=null,d.value.passwordRepeat.state=null,l()};return(m,g)=>(c.openBlock(),c.createElementBlock("main",IL,[c.createVNode(ws,{class:"container-xl"},{default:c.withCtx(()=>[c.createVNode(Dr,{class:"justify-content-md-center template-header"},{default:c.withCtx(()=>[c.createVNode(Lr,{xs:12,md:10,lg:7},{default:c.withCtx(()=>[c.createElementVNode("h1",ML,c.toDisplayString(e.templateTitle),1)]),_:1})]),_:1}),c.createVNode(Dr,{class:"justify-content-md-center"},{default:c.withCtx(()=>[c.createVNode(Lr,{xs:12,md:10,lg:7},{default:c.withCtx(()=>[c.createVNode(Fa,{class:"bd-card-template","no-header":!0},{body:c.withCtx(()=>[c.createVNode(ws,{class:"container-fluid"},{default:c.withCtx(()=>[c.createVNode(Dr,null,{default:c.withCtx(()=>[c.createVNode(Lr,null,{default:c.withCtx(()=>[c.createVNode(Ts,{variant:"warning"},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(m.alertText),1)]),_:1})]),_:1})]),_:1}),c.unref(o)||c.unref(s)?(c.openBlock(),c.createBlock(Dr,{key:0},{default:c.withCtx(()=>[c.createVNode(Lr,null,{default:c.withCtx(()=>[c.createVNode(Ts,{variant:"danger"},{default:c.withCtx(()=>[c.unref(o)?(c.openBlock(),c.createElementBlock("div",OL,[c.createElementVNode("ul",null,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(c.unref(o),(v,C)=>(c.openBlock(),c.createElementBlock("li",{key:C},[c.createVNode(so),c.createElementVNode("span",null,c.toDisplayString(v),1)]))),128))])])):(c.openBlock(),c.createElementBlock("div",LL,c.toDisplayString(c.unref(s)),1))]),_:1})]),_:1})]),_:1})):c.createCommentVNode("",!0),c.createVNode(Dr,null,{default:c.withCtx(()=>[c.createVNode(Lr,{class:"bd-card-form",sm:12,md:12},{default:c.withCtx(()=>[c.createElementVNode("form",{onSubmit:c.withModifiers(f,["prevent"]),onReset:c.withModifiers(p,["prevent"]),class:"form"},[c.createElementVNode("div",RL,[c.createVNode(Hr,{modelValue:c.unref(u).password,"onUpdate:modelValue":g[0]||(g[0]=v=>c.unref(u).password=v),label:m.currentPasswordLabel,state:c.unref(d).password.state,type:"password","invalid-feedback-text":c.unref(d).password.errorLabel},null,8,["modelValue","label","state","invalid-feedback-text"])]),c.createElementVNode("div",BL,[c.createVNode(Hr,{modelValue:c.unref(u).passwordNew,"onUpdate:modelValue":g[1]||(g[1]=v=>c.unref(u).passwordNew=v),label:m.newPasswordLabel,state:c.unref(d).passwordNew.state,type:"password","invalid-feedback-text":c.unref(d).passwordNew.errorLabel},null,8,["modelValue","label","state","invalid-feedback-text"])]),c.createElementVNode("div",PL,[c.createVNode(Hr,{modelValue:c.unref(u).passwordRepeat,"onUpdate:modelValue":g[2]||(g[2]=v=>c.unref(u).passwordRepeat=v),label:m.confirmNewPasswordLabel,state:c.unref(d).passwordRepeat.state,type:"password","invalid-feedback-text":c.unref(d).passwordRepeat.errorLabel},null,8,["modelValue","label","state","invalid-feedback-text"])]),c.createElementVNode("div",FL,[c.createVNode(Qe,{type:"submit"},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(m.submitButtonText),1)]),_:1}),c.createVNode(Qe,{type:"reset",variant:"link"},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(m.cancelButtonText),1)]),_:1})])],40,DL)]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]))}}),VL={class:"template not-found-template"},$L={class:"center-screen"},UL={class:"container-warning"},zL=["textContent"],HL=["textContent"],Ug=c.defineComponent({__name:"BDNotFoundTemplate",props:{buttonText:{type:String}},emits:["navigate"],setup(n,{emit:e}){const t=n,{t:r}=qs(),o=c.computed(()=>t.buttonText||r("notFoundTemplate.buttonDefault")),s=c.computed(()=>r("notFoundTemplate.title")),i=c.computed(()=>r("notFoundTemplate.description")),l=()=>e("navigate");return(a,u)=>(c.openBlock(),c.createElementBlock("main",VL,[c.createVNode(ws,{class:"container-xl"},{default:c.withCtx(()=>[c.createElementVNode("div",$L,[c.createElementVNode("div",UL,[c.createVNode(wu),c.createElementVNode("h5",{textContent:c.toDisplayString(s.value)},null,8,zL),c.createElementVNode("p",{textContent:c.toDisplayString(i.value)},null,8,HL),c.createVNode(Qe,{onClick:l,variant:"primary",type:"button",textContent:c.toDisplayString(o.value)},null,8,["textContent"])])])]),_:1})]))}});var jL={exports:{}};(function(n,e){(function(t,r){n.exports=r(Bg)})(xu,function(t){function r(i){return i&&typeof i=="object"&&"default"in i?i:{default:i}}var o=r(t),s={name:"nl",weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),ordinal:function(i){return"["+i+(i===1||i===8||i>=20?"ste":"de")+"]"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"een minuut",mm:"%d minuten",h:"een uur",hh:"%d uur",d:"een dag",dd:"%d dagen",M:"een maand",MM:"%d maanden",y:"een jaar",yy:"%d jaar"}};return o.default.locale(s,null,!0),s})})(jL);var zg={exports:{}};(function(n,e){(function(t,r){n.exports=r()})(xu,function(){var t={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,o=/\d/,s=/\d\d/,i=/\d\d?/,l=/\d*[^-_:/,()\s\d]+/,a={},u=function(v){return(v=+v)+(v>68?1900:2e3)},d=function(v){return function(C){this[v]=+C}},f=[/[+-]\d\d:?(\d\d)?|Z/,function(v){(this.zone||(this.zone={})).offset=function(C){if(!C||C==="Z")return 0;var w=C.match(/([+-]|\d\d)/g),E=60*w[1]+(+w[2]||0);return E===0?0:w[0]==="+"?-E:E}(v)}],h=function(v){var C=a[v];return C&&(C.indexOf?C:C.s.concat(C.f))},p=function(v,C){var w,E=a.meridiem;if(E){for(var y=1;y<=24;y+=1)if(v.indexOf(E(y,0,C))>-1){w=y>12;break}}else w=v===(C?"pm":"PM");return w},m={A:[l,function(v){this.afternoon=p(v,!1)}],a:[l,function(v){this.afternoon=p(v,!0)}],Q:[o,function(v){this.month=3*(v-1)+1}],S:[o,function(v){this.milliseconds=100*+v}],SS:[s,function(v){this.milliseconds=10*+v}],SSS:[/\d{3}/,function(v){this.milliseconds=+v}],s:[i,d("seconds")],ss:[i,d("seconds")],m:[i,d("minutes")],mm:[i,d("minutes")],H:[i,d("hours")],h:[i,d("hours")],HH:[i,d("hours")],hh:[i,d("hours")],D:[i,d("day")],DD:[s,d("day")],Do:[l,function(v){var C=a.ordinal,w=v.match(/\d+/);if(this.day=w[0],C)for(var E=1;E<=31;E+=1)C(E).replace(/\[|\]/g,"")===v&&(this.day=E)}],w:[i,d("week")],ww:[s,d("week")],M:[i,d("month")],MM:[s,d("month")],MMM:[l,function(v){var C=h("months"),w=(h("monthsShort")||C.map(function(E){return E.slice(0,3)})).indexOf(v)+1;if(w<1)throw new Error;this.month=w%12||w}],MMMM:[l,function(v){var C=h("months").indexOf(v)+1;if(C<1)throw new Error;this.month=C%12||C}],Y:[/[+-]?\d+/,d("year")],YY:[s,function(v){this.year=u(v)}],YYYY:[/\d{4}/,d("year")],Z:f,ZZ:f};function g(v){var C,w;C=v,w=a&&a.formats;for(var E=(v=C.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(U,$,P){var Y=P&&P.toUpperCase();return $||w[P]||t[P]||w[Y].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(G,K,H){return K||H.slice(1)})})).match(r),y=E.length,x=0;x<y;x+=1){var A=E[x],I=m[A],B=I&&I[0],R=I&&I[1];E[x]=R?{regex:B,parser:R}:A.replace(/^\[|\]$/g,"")}return function(U){for(var $={},P=0,Y=0;P<y;P+=1){var G=E[P];if(typeof G=="string")Y+=G.length;else{var K=G.regex,H=G.parser,J=U.slice(Y),z=K.exec(J)[0];H.call($,z),U=U.replace(z,"")}}return function(ee){var ne=ee.afternoon;if(ne!==void 0){var ce=ee.hours;ne?ce<12&&(ee.hours+=12):ce===12&&(ee.hours=0),delete ee.afternoon}}($),$}}return function(v,C,w){w.p.customParseFormat=!0,v&&v.parseTwoDigitYear&&(u=v.parseTwoDigitYear);var E=C.prototype,y=E.parse;E.parse=function(x){var A=x.date,I=x.utc,B=x.args;this.$u=I;var R=B[1];if(typeof R=="string"){var U=B[2]===!0,$=B[3]===!0,P=U||$,Y=B[2];$&&(Y=B[2]),a=this.$locale(),!U&&Y&&(a=w.Ls[Y]),this.$d=function(J,z,ee,ne){try{if(["x","X"].indexOf(z)>-1)return new Date((z==="X"?1e3:1)*J);var ce=g(z)(J),me=ce.year,ve=ce.month,Te=ce.day,ke=ce.hours,Ne=ce.minutes,Ce=ce.seconds,O=ce.milliseconds,D=ce.zone,N=ce.week,L=new Date,b=Te||(me||ve?1:L.getDate()),T=me||L.getFullYear(),_=0;me&&!ve||(_=ve>0?ve-1:L.getMonth());var M,j=ke||0,W=Ne||0,Z=Ce||0,X=O||0;return D?new Date(Date.UTC(T,_,b,j,W,Z,X+60*D.offset*1e3)):ee?new Date(Date.UTC(T,_,b,j,W,Z,X)):(M=new Date(T,_,b,j,W,Z,X),N&&(M=ne(M).week(N).toDate()),M)}catch{return new Date("")}}(A,R,I,w),this.init(),Y&&Y!==!0&&(this.$L=this.locale(Y).$L),P&&A!=this.format(R)&&(this.$d=new Date("")),a={}}else if(R instanceof Array)for(var G=R.length,K=1;K<=G;K+=1){B[1]=R[K-1];var H=w.apply(this,B);if(H.isValid()){this.$d=H.$d,this.$L=H.$L,this.init();break}K===G&&(this.$d=new Date(""))}else y.call(this,x)}}})})(zg);var WL=zg.exports;const KL=Nu(WL);Yo.extend(KL);Yo.locale("nl");function YL(n,e=Yo().startOf("day")){const t="DD-MM-YYYY",r=Yo(n,t);if(r.isSame(e))return"vandaag";const s=e.subtract(1,"day");if(r.isSame(s))return"gister";const l=e.subtract(2,"day");if(r.isSame(l))return"eergister";const u=e.subtract(7,"day");if(r.isAfter(u)){const h="dddd";return r.format(h)}if(r.year()==e.year()){const h="D MMM";return r.format(h)}return r.format(t)}const GL=n=>{const e=new RegExp("(?<=^|a>)(((?!<a).)*)"),t=/((https?:\/\/|www\.)[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-zA-Z0-9()]{2,24}\b([-a-zA-Z0-9()!@:%_+.~#?&/=]*))/;let r=new RegExp(e.source+t.source,"g");return n.replace(r,(o,s,i,l)=>{const a=l.startsWith("www.")?`http://${l}`:l;return`${s}<a href="${a}" target="_blank" rel="noopener noreferrer">${l}</a>`})},QL=(n,e)=>`<p><a href="${n}" title="${e}" target="_blank" rel="noopener noreferrer">${e}</a></p>`,ZL=n=>n.startsWith("http://")||n.startsWith("https://"),JL={install:n=>{n.component("BDAlert",Ts),n.component("BDArticle",J1),n.component("BDAttachmentPreviewList",ol),n.component("BDBadge",K1),n.component("BDButton",Qe),n.component("BDCard",Fa),n.component("BDChangePasswordTemplate",$g),n.component("BDChatCloud",U2),n.component("BDCol",Lr),n.component("BDCollapsableCard",H1),n.component("BDContainer",ws),n.component("BDDropdown",Cd),n.component("BDDropdownItem",Oi),n.component("BDDropzone",q1),n.component("BDForm",Y1),n.component("BDFormCheckbox",Z1),n.component("BDFormInput",Hr),n.component("BDFormInvalidFeedback",Va),n.component("BDFormSelect",Q1),n.component("BDHeader",bd),n.component("BDImageAttachmentModal",Lg),n.component("BDImageAttachmentPreviewList",sl),n.component("BDInputGroup",W1),n.component("BDLink",Zr),n.component("BDLogo",lu),n.component("BDMarkdownEditor",V2),n.component("BDMobileMenu",Ed),n.component("BDModal",ei),n.component("BDNotFoundTemplate",Ug),n.component("BDPagination",G1),n.component("BDPhoneNumberEditModal",Dg),n.component("BDPill",$a),n.component("BDPractitionerHeader",Mg),n.component("BDProfileImage",Hs),n.component("BDRow",Dr),n.component("BDSessionTimeOutModal",Fg),n.component("BDTable",z2),n.component("BDToast",ku),n.component("BDUser",$2),n.component("BDUserInformation",_u),n.component("BDVideoCallToast",H2),n.component("BDZoomslider",Su),n.component("IconAcademy",Ni),n.component("IconArrowDown",Wp),n.component("IconArrowUp",Kp),n.component("IconAttachment",Jr),n.component("IconBold",cu),n.component("IconBulletList",uu),n.component("IconCalendar",Yp),n.component("IconCall",Ii),n.component("IconCallReject",du),n.component("IconCardView",Gp),n.component("IconCaretDown",fu),n.component("IconCaretLeft",hu),n.component("IconCaretRight",pu),n.component("IconCheck",Go),n.component("IconClipboard",Qp),n.component("IconClose",Da),n.component("IconComment",Zp),n.component("IconCommentActive",Jp),n.component("IconCommonFileEmpty",qp),n.component("IconCommonFileWarning",e1),n.component("IconCommentStatic",Xp),n.component("IconContactPerson",t1),n.component("IconCopy",n1),n.component("IconDelete",r1),n.component("IconDoubleCheck",o1),n.component("IconDownloadImage",mu),n.component("IconEdit",s1),n.component("IconEndCall",i1),n.component("IconError",Ra),n.component("IconExternal",a1),n.component("IconEyeShow",l1),n.component("IconEyeSlash",c1),n.component("IconFile",gu),n.component("IconFileAdded",u1),n.component("IconForward",d1),n.component("IconHix",f1),n.component("IconHyperlink",Ba),n.component("IconImageFileLandscape",h1),n.component("IconImageFileWarning",p1),n.component("IconInfo",so),n.component("IconInformationCircle",m1),n.component("IconItalic",vu),n.component("IconListView",g1),n.component("IconLock",v1),n.component("IconLusciiEscalated",y1),n.component("IconLusciiLogo",E1),n.component("IconLusciiOpen",C1),n.component("IconLusciiPriorityHigh",b1),n.component("IconLusciiPriorityLow",A1),n.component("IconLusciiPriorityMedium",w1),n.component("IconMenu",yu),n.component("IconMessage",T1),n.component("IconMessageForward",S1),n.component("IconMicrophoneSlash",k1),n.component("IconMicrosoftTeams",_1),n.component("IconMin",x1),n.component("IconOrderedList",Eu),n.component("IconPlus",N1),n.component("IconRefresh",I1),n.component("IconRemove",zs),n.component("IconSananetLogo",M1),n.component("IconService",O1),n.component("IconShareScreen",L1),n.component("IconSingleNeutral",D1),n.component("IconSort",R1),n.component("IconSortAsc",Cu),n.component("IconSortDesc",bu),n.component("IconSortNone",Au),n.component("IconTriangleDown",B1),n.component("IconTriangleExclamation",wu),n.component("IconUnderline",Tu),n.component("IconVideoDisabled",F1),n.component("IconVideocall",P1),n.component("IconZorgkaart",V1),n.directive("vBDTooltip",Xs)}};exports.BDAlert=Ts;exports.BDArticle=J1;exports.BDAttachmentPreviewList=ol;exports.BDBadge=K1;exports.BDButton=Qe;exports.BDCard=Fa;exports.BDChangePasswordTemplate=$g;exports.BDChatCloud=U2;exports.BDCol=Lr;exports.BDCollapsableCard=H1;exports.BDContainer=ws;exports.BDDropdown=Cd;exports.BDDropdownItem=Oi;exports.BDDropzone=q1;exports.BDForm=Y1;exports.BDFormCheckbox=Z1;exports.BDFormInput=Hr;exports.BDFormInvalidFeedback=Va;exports.BDFormSelect=Q1;exports.BDHeader=bd;exports.BDImageAttachmentModal=Lg;exports.BDImageAttachmentPreviewList=sl;exports.BDInputGroup=W1;exports.BDLink=Zr;exports.BDLogo=lu;exports.BDMarkdownEditor=V2;exports.BDMobileMenu=Ed;exports.BDModal=ei;exports.BDNotFoundTemplate=Ug;exports.BDPagination=G1;exports.BDPhoneNumberEditModal=Dg;exports.BDPill=$a;exports.BDPractitionerHeader=Mg;exports.BDProfileImage=Hs;exports.BDRow=Dr;exports.BDSessionTimeOutModal=Fg;exports.BDTable=z2;exports.BDToast=ku;exports.BDUser=$2;exports.BDUserInformation=_u;exports.BDVideoCallToast=H2;exports.BDZoomslider=Su;exports.CreateHyperlinkParagraph=QL;exports.IconAcademy=Ni;exports.IconArrowDown=Wp;exports.IconArrowUp=Kp;exports.IconAttachment=Jr;exports.IconBold=cu;exports.IconBulletList=uu;exports.IconCalendar=Yp;exports.IconCall=Ii;exports.IconCallReject=du;exports.IconCardView=Gp;exports.IconCaretDown=fu;exports.IconCaretLeft=hu;exports.IconCaretRight=pu;exports.IconCheck=Go;exports.IconClipboard=Qp;exports.IconClose=Da;exports.IconComment=Zp;exports.IconCommentActive=Jp;exports.IconCommentStatic=Xp;exports.IconCommonFileEmpty=qp;exports.IconCommonFileWarning=e1;exports.IconContactPerson=t1;exports.IconCopy=n1;exports.IconDelete=r1;exports.IconDoubleCheck=o1;exports.IconDownloadImage=mu;exports.IconEdit=s1;exports.IconEndCall=i1;exports.IconError=Ra;exports.IconExternal=a1;exports.IconEyeShow=l1;exports.IconEyeSlash=c1;exports.IconFile=gu;exports.IconFileAdded=u1;exports.IconForward=d1;exports.IconHix=f1;exports.IconHyperlink=Ba;exports.IconImageFileLandscape=h1;exports.IconImageFileWarning=p1;exports.IconInfo=so;exports.IconInformationCircle=m1;exports.IconItalic=vu;exports.IconListView=g1;exports.IconLock=v1;exports.IconLusciiEscalated=y1;exports.IconLusciiLogo=E1;exports.IconLusciiOpen=C1;exports.IconLusciiPriorityHigh=b1;exports.IconLusciiPriorityLow=A1;exports.IconLusciiPriorityMedium=w1;exports.IconMenu=yu;exports.IconMessage=T1;exports.IconMessageForward=S1;exports.IconMicrophoneSlash=k1;exports.IconMicrosoftTeams=_1;exports.IconMin=x1;exports.IconOrderedList=Eu;exports.IconPlus=N1;exports.IconRefresh=I1;exports.IconRemove=zs;exports.IconSananetLogo=M1;exports.IconService=O1;exports.IconShareScreen=L1;exports.IconSingleNeutral=D1;exports.IconSort=R1;exports.IconSortAsc=Cu;exports.IconSortDesc=bu;exports.IconSortNone=Au;exports.IconTriangleDown=B1;exports.IconTriangleExclamation=wu;exports.IconUnderline=Tu;exports.IconVideoDisabled=F1;exports.IconVideocall=P1;exports.IconZorgkaart=V1;exports.TransformHyperlinks=GL;exports.ValidateUrl=ZL;exports.default=JL;exports.getDisplayDate=YL;exports.useModal=ml;exports.usePopover=Ig;exports.useServerErrors=Id;exports.useSessionTimeOut=Pg;exports.useToaster=gl;exports.useValidation=Vg;exports.useWindow=Nd;exports.useZoom=Og;exports.vBdTooltip=Xs;