@beterdichtbij/component-library 0.41.3 → 0.42.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bd-component-lib.cjs.js +36 -36
- package/dist/bd-component-lib.es.js +5292 -5135
- package/dist/bd-component-lib.umd.js +35 -35
- package/dist/components/atoms/BDAlert/BDAlert.vue.d.ts +1 -1
- package/dist/components/atoms/BDArticle/BDArticle.vue.d.ts +2 -2
- package/dist/components/atoms/BDButton/BDButton.vue.d.ts +1 -1
- package/dist/components/atoms/BDCard/BDCard.vue.d.ts +2 -2
- package/dist/components/atoms/BDCollapsableCard/BDCollapsableCard.vue.d.ts +1 -1
- package/dist/components/atoms/BDForm/BDForm.vue.d.ts +2 -2
- package/dist/components/atoms/BDFormCheckbox/BDFormCheckbox.vue.d.ts +4 -4
- package/dist/components/atoms/BDFormInput/BDFormInput.vue.d.ts +6 -6
- package/dist/components/atoms/BDFormSelect/BDFormSelect.vue.d.ts +4 -4
- package/dist/components/atoms/BDLink/BDLink.vue.d.ts +1 -1
- package/dist/components/atoms/BDProfileImage/BDProfileImage.vue.d.ts +1 -1
- package/dist/components/atoms/BDToast/BDToast.vue.d.ts +2 -2
- package/dist/components/atoms/BDUserInformation/BDUserInformation.vue.d.ts +14 -0
- package/dist/components/atoms/BDUserInformation/BDUserInformation.vue.d.ts.map +1 -0
- package/dist/components/molecules/BDChatCloud/BDChatCloud.vue.d.ts +3 -3
- package/dist/components/molecules/BDDropdownItem/BDDropdownItem.vue.d.ts +1 -1
- package/dist/components/molecules/BDDropzone/BDDropzone.vue.d.ts +3 -3
- package/dist/components/molecules/BDImageAttachmentPreviewList/BDImageAttachmentPreviewList.vue.d.ts +1 -1
- package/dist/components/molecules/BDMarkdownEditor/BDMarkdownEditor.vue.d.ts +5 -5
- package/dist/components/molecules/BDMobileMenu/BDMobileMenu.vue.d.ts +2 -2
- package/dist/components/molecules/BDTable/BDTable.vue.d.ts +3 -3
- package/dist/components/molecules/BDUser/BDUser.vue.d.ts +2 -2
- package/dist/components/molecules/BDVideoCallToast/BDVideoCallToast.vue.d.ts +65 -0
- package/dist/components/molecules/BDVideoCallToast/BDVideoCallToast.vue.d.ts.map +1 -0
- package/dist/components/organisms/BDDropdown/BDDropdown.vue.d.ts +2 -2
- package/dist/components/organisms/BDModal/BDModal.vue.d.ts +3 -3
- package/dist/interfaces/BDVideoCallToastLocalization.d.ts +15 -0
- package/dist/scss/_button.scss +1 -0
- package/dist/scss/_user-information.scss +27 -0
- package/dist/scss/_video-call-toast.scss +101 -0
- package/dist/scss/component-library-styling.scss +2 -1
- package/dist/types/ButtonColorVariants.d.ts +1 -0
- package/dist/utils/array.d.ts +1 -0
- package/package.json +1 -1
- package/dist/index.d.ts +0 -54
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
(function(ee,c){typeof exports=="object"&&typeof module<"u"?c(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],c):(ee=typeof globalThis<"u"?globalThis:ee||self,c(ee.BDComponentLibrary={},ee.Vue))})(this,function(ee,c){"use strict";const Zn=c.defineComponent({__name:"BDCol",props:{class:{},cols:{},xs:{},sm:{},md:{},lg:{},xxl:{},orderClass:{},offsetClass:{}},setup(n){const e=n,t=c.computed(()=>({col:!e.cols&&!e.xs&&!e.sm&&!e.md&&!e.lg&&!e.xxl,[`col-${e.cols}`]:e.cols,[`col-xs-${e.xs}`]:e.xs,[`col-sm-${e.sm}`]:e.sm,[`col-md-${e.md}`]:e.md,[`col-lg-${e.lg}`]:e.lg,[`col-xxl-${e.xxl}`]:e.xxl,[`${e.orderClass}`]:e.orderClass,[`${e.offsetClass}`]:e.offsetClass,[`${e.class}`]:e.class}));return(r,o)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(t.value)},[c.renderSlot(r.$slots,"default")],2))}}),si=c.defineComponent({__name:"BDContainer",props:{class:{default:""},fluid:{type:Boolean,default:!1}},setup(n){const e=n,t=c.computed(()=>({container:!e.fluid,"container-fluid":e.fluid===!0,[`container-${e.fluid}`]:e.fluid&&e.fluid!==!0,[e.class]:!0}));return(r,o)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(t.value)},[c.renderSlot(r.$slots,"default")],2))}}),Gn=c.defineComponent({__name:"BDRow",props:{class:{}},setup(n){return(e,t)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(["row",e.class])},[c.renderSlot(e.$slots,"default")],2))}}),lt={XS:"xs",SM:"sm",MD:"md",LG:"lg"},me=(n,e)=>{const t=n.__vccOpts||n;for(const[r,o]of e)t[r]=o;return t},J0={},Z0={class:"icon icon-academy",viewBox:"0 0 40 40",xmlns:"http://www.w3.org/2000/svg"},G0=[c.createElementVNode("path",{d:"M30.6523 16.0664C31.0039 16.207 31.25 16.5234 31.25 16.875C31.25 17.2617 31.0039 17.5781 30.6523 17.7188L20.7383 21.2695C20.4922 21.3398 20.2461 21.375 20 21.375C19.7188 21.375 19.4727 21.3398 19.2266 21.2695L12.5469 18.8789C12.125 19.3359 11.8086 19.8984 11.668 20.5312C11.9141 20.707 12.125 21.0234 12.125 21.375C12.125 21.7266 11.9492 22.043 11.7031 22.2539L12.5469 27.4922C12.6172 27.8438 12.3359 28.125 12.0195 28.125H9.94531C9.62891 28.125 9.34766 27.8438 9.41797 27.4922L10.2617 22.2539C10.0156 22.043 9.875 21.7266 9.875 21.375C9.875 20.918 10.1562 20.5312 10.543 20.3555C10.6836 19.6523 11 19.0195 11.4219 18.457L9.3125 17.7188C8.96094 17.5781 8.75 17.2617 8.75 16.875C8.75 16.5234 8.96094 16.207 9.3125 16.0664L19.2266 12.5156C19.4727 12.4453 19.7188 12.375 20 12.375C20.2461 12.375 20.4922 12.4453 20.7031 12.5156L30.6523 16.0664ZM20.1758 19.6875L27.9453 16.875L20.1406 14.0977C20.0703 14.0977 19.9297 14.0625 19.7891 14.0977L12.0195 16.875L13.1445 17.2969L19.8242 15.2227C20.1055 15.1172 20.4219 15.293 20.5273 15.6094C20.5977 15.8906 20.457 16.207 20.1406 16.3125L14.9023 17.9297L19.8242 19.6875C19.8594 19.6875 20 19.7227 20.1758 19.6875ZM24.6406 21.0586L26.2578 20.4961L26.7148 24.9258C26.75 27.0703 23.3398 28.125 20 28.125C16.625 28.125 13.25 27.0703 13.25 24.9258L13.707 20.4961L15.3242 21.0586L14.9375 24.9961C14.9375 25.3828 16.6602 26.4375 20 26.4375C23.3047 26.4375 25.0625 25.3828 25.0625 24.9961L24.6406 21.0586Z"},null,-1)];function X0(n,e){return c.openBlock(),c.createElementBlock("svg",Z0,G0)}const ed=me(J0,[["render",X0]]),q0={},em={class:"icon",viewBox:"0 0 20 20",height:"20",width:"20",xmlns:"http://www.w3.org/2000/svg"},tm=[c.createElementVNode("g",{transform:"matrix(0.8333333333333334,0,0,0.8333333333333334,0,0)"},[c.createElementVNode("path",{d:"M12,19.5a2.3,2.3,0,0,1-1.729-.78L.46,7.568A1.847,1.847,0,0,1,3.233,5.129l8.579,9.752a.25.25,0,0,0,.376,0l8.579-9.752A1.847,1.847,0,1,1,23.54,7.568L13.732,18.716A2.31,2.31,0,0,1,12,19.5Z",stroke:"none","stroke-linecap":"round","stroke-linejoin":"round"})],-1)];function nm(n,e){return c.openBlock(),c.createElementBlock("svg",em,tm)}const td=me(q0,[["render",nm]]),rm={},om={class:"icon",viewBox:"0 0 20 20",height:"20",width:"20",xmlns:"http://www.w3.org/2000/svg"},im=[c.createElementVNode("g",{transform:"matrix(0.8333333333333334,0,0,0.8333333333333334,0,0)"},[c.createElementVNode("path",{d:"M12,4.5a2.3,2.3,0,0,1,1.729.78l9.811,11.15a1.847,1.847,0,1,1-2.773,2.439L12.188,9.119a.25.25,0,0,0-.376,0L3.233,18.871A1.847,1.847,0,1,1,.46,16.432L10.268,5.284A2.31,2.31,0,0,1,12,4.5Z",stroke:"none","stroke-linecap":"round","stroke-linejoin":"round"})],-1)];function sm(n,e){return c.openBlock(),c.createElementBlock("svg",om,im)}const nd=me(rm,[["render",sm]]),am={},lm={class:"icon icon-attachment",width:"17",height:"18",viewBox:"0 0 17 18",xmlns:"http://www.w3.org/2000/svg"},cm=[c.createElementVNode("path",{d:"M15.56 7.97l-7.135 7.135a3.91 3.91 0 0 1-5.53-5.53L10.03 2.44a2.357 2.357 0 0 1 3.333 3.334L6.22 12.907a.804.804 0 1 1-1.137-1.136l6.591-6.582a.75.75 0 0 0-1.06-1.062l-6.59 6.583a2.304 2.304 0 1 0 3.256 3.258l7.142-7.134A3.857 3.857 0 1 0 8.97 1.38L1.835 8.514a5.41 5.41 0 0 0 7.651 7.651l7.134-7.134a.75.75 0 1 0-1.06-1.06z"},null,-1)];function dm(n,e){return c.openBlock(),c.createElementBlock("svg",lm,cm)}const Xn=me(am,[["render",dm]]),um={},fm={width:"11",height:"13",viewBox:"0 0 11 13",xmlns:"http://www.w3.org/2000/svg",class:"icon icon-bold"},hm=[c.createElementVNode("path",{d:"M8.85547 6.25781C9.21094 5.84766 9.53906 5.05469 9.59375 4.48047C9.78516 2.40234 8.17188 0.625 6.12109 0.625H0.679688C0.433594 0.625 0.242188 0.84375 0.242188 1.0625V2.375C0.242188 2.62109 0.433594 2.8125 0.679688 2.8125H1.52734V10.6875H0.679688C0.433594 10.6875 0.242188 10.9062 0.242188 11.125V12.4375C0.242188 12.6836 0.433594 12.875 0.679688 12.875H6.39453C8.33594 12.875 10.0586 11.4805 10.25 9.53906C10.3867 8.22656 9.78516 7.02344 8.85547 6.25781ZM3.71484 2.8125H6.12109C6.83203 2.8125 7.43359 3.41406 7.43359 4.125C7.43359 4.86328 6.83203 5.4375 6.12109 5.4375H3.71484V2.8125ZM6.12109 10.6875H3.71484V7.625H6.12109C6.96875 7.625 7.65234 8.33594 7.65234 9.15625C7.65234 10.0039 6.96875 10.6875 6.12109 10.6875Z"},null,-1)];function pm(n,e){return c.openBlock(),c.createElementBlock("svg",fm,hm)}const ua=me(um,[["render",pm]]),mm={},gm={width:"16",height:"14",viewBox:"0 0 16 14",xmlns:"http://www.w3.org/2000/svg",class:"icon icon-bullet-list"},vm=[c.createElementVNode("path",{d:"M2.5 5.5H0.5C0.21875 5.5 0 5.75 0 6V8C0 8.28125 0.21875 8.5 0.5 8.5H2.5C2.75 8.5 3 8.28125 3 8V6C3 5.75 2.75 5.5 2.5 5.5ZM2.5 10.5H0.5C0.21875 10.5 0 10.75 0 11V13C0 13.2812 0.21875 13.5 0.5 13.5H2.5C2.75 13.5 3 13.2812 3 13V11C3 10.75 2.75 10.5 2.5 10.5ZM2.5 0.5H0.5C0.21875 0.5 0 0.75 0 1V3C0 3.28125 0.21875 3.5 0.5 3.5H2.5C2.75 3.5 3 3.28125 3 3V1C3 0.75 2.75 0.5 2.5 0.5ZM15.25 6.25H5.71875C5.3125 6.25 5 6.59375 5 7C5 7.4375 5.3125 7.75 5.71875 7.75H15.25C15.6562 7.75 16 7.4375 16 7C16 6.59375 15.6562 6.25 15.25 6.25ZM15.25 1.25H5.71875C5.3125 1.25 5 1.59375 5 2C5 2.375 5.3125 2.75 5.71875 2.75H15.25C15.6562 2.75 16 2.4375 16 2.03125C16 1.65625 15.6562 1.25 15.25 1.25ZM15.25 11.25H5.71875C5.3125 11.25 5 11.5938 5 12C5 12.4375 5.3125 12.75 5.71875 12.75H15.25C15.6562 12.75 16 12.4375 16 12C16 11.5938 15.6562 11.25 15.25 11.25Z"},null,-1)];function ym(n,e){return c.openBlock(),c.createElementBlock("svg",gm,vm)}const fa=me(mm,[["render",ym]]),Cm={},Em={class:"icon icon-calendar",xmlns:"http://www.w3.org/2000/svg",width:"17",height:"18",viewBox:"0 0 17 18"},bm=[c.createElementVNode("path",{d:"M4.25 3.35H3c-.69 0-1.25.56-1.25 1.25v2.05h12.9V4.6c0-.69-.56-1.25-1.25-1.25h-1.25v.85a.75.75 0 1 1-1.5 0v-.85h-4.9v.85a.75.75 0 0 1-1.5 0v-.85zm1.5-1.5h4.9V1a.75.75 0 1 1 1.5 0v.85h1.25a2.75 2.75 0 0 1 2.75 2.75V15a2.75 2.75 0 0 1-2.75 2.75H3A2.75 2.75 0 0 1 .25 15V4.6A2.75 2.75 0 0 1 3 1.85h1.25V1a.75.75 0 0 1 1.5 0v.85zm8.9 6.3H1.75V15c0 .69.56 1.25 1.25 1.25h10.4c.69 0 1.25-.56 1.25-1.25V8.15z"},null,-1)];function Am(n,e){return c.openBlock(),c.createElementBlock("svg",Em,bm)}const rd=me(Cm,[["render",Am]]),wm={},Sm={class:"icon icon-call",width:"16",height:"17",viewBox:"0 0 16 17",xmlns:"http://www.w3.org/2000/svg"},km=[c.createElementVNode("path",{d:"M5.80469 1.60731C5.59961 1.05067 4.98438 0.787001 4.42773 0.933486L1.84961 1.63661C1.35156 1.7831 1 2.22255 1 2.74989C1 10.0155 6.85938 15.8749 14.125 15.8749C14.6523 15.8749 15.0918 15.5233 15.2383 15.0253L15.9414 12.4472C16.0879 11.8905 15.8242 11.2753 15.2676 11.0702L12.4551 9.89833C11.9863 9.69325 11.4297 9.81044 11.1074 10.2206L9.90625 11.6561C7.85547 10.6893 6.18555 9.01942 5.21875 6.96864L6.6543 5.76747C7.06445 5.4452 7.18164 4.88856 6.97656 4.41981L5.80469 1.60731Z"},null,-1)];function xm(n,e){return c.openBlock(),c.createElementBlock("svg",Sm,km)}const od=me(wm,[["render",xm]]),Tm={},Mm={class:"icon icon-call-reject",width:"16",height:"17",viewBox:"0 0 16 17",xmlns:"http://www.w3.org/2000/svg"},Im=[c.createElementVNode("path",{d:"M5.80469 1.60731C5.59961 1.05067 4.98438 0.787001 4.42773 0.933486L1.84961 1.63661C1.35156 1.7831 1 2.22255 1 2.74989C1 10.0155 6.85938 15.8749 14.125 15.8749C14.6523 15.8749 15.0918 15.5233 15.2383 15.0253L15.9414 12.4472C16.0879 11.8905 15.8242 11.2753 15.2676 11.0702L12.4551 9.89833C11.9863 9.69325 11.4297 9.81044 11.1074 10.2206L9.90625 11.6561C7.85547 10.6893 6.18555 9.01942 5.21875 6.96864L6.6543 5.76747C7.06445 5.4452 7.18164 4.88856 6.97656 4.41981L5.80469 1.60731Z"},null,-1)];function Om(n,e){return c.openBlock(),c.createElementBlock("svg",Mm,Im)}const id=me(Tm,[["render",Om]]),_m={},Nm={class:"icon icon-card-view",viewBox:"0 0 24 19",fill:"red",xmlns:"http://www.w3.org/2000/svg"},Lm=[c.createElementVNode("path",{d:"M21.375 0.75H2.625C1.57031 0.75 0.75 1.60938 0.75 2.625V16.375C0.75 17.4297 1.57031 18.25 2.625 18.25H21.375C22.3906 18.25 23.25 17.4297 23.25 16.375V2.625C23.25 1.60938 22.3906 0.75 21.375 0.75ZM21.375 16.375H2.625V2.625H21.375V16.375ZM8.875 9.5C10.2422 9.5 11.375 8.40625 11.375 7C11.375 5.63281 10.2422 4.5 8.875 4.5C7.46875 4.5 6.375 5.63281 6.375 7C6.375 8.40625 7.46875 9.5 8.875 9.5ZM5.35938 14.5H12.3516C12.8594 14.5 13.25 14.1875 13.25 13.7578V13.0156C13.25 11.7656 12.0391 10.75 10.5938 10.75C10.2031 10.75 9.89062 11.0625 8.875 11.0625C7.82031 11.0625 7.54688 10.75 7.11719 10.75C5.67188 10.75 4.5 11.7656 4.5 13.0156V13.7578C4.5 14.1875 4.89062 14.5 5.35938 14.5ZM14.8125 12H19.1875C19.3438 12 19.5 11.8828 19.5 11.6875V11.0625C19.5 10.9062 19.3438 10.75 19.1875 10.75H14.8125C14.6172 10.75 14.5 10.9062 14.5 11.0625V11.6875C14.5 11.8828 14.6172 12 14.8125 12ZM14.8125 9.5H19.1875C19.3438 9.5 19.5 9.38281 19.5 9.1875V8.5625C19.5 8.40625 19.3438 8.25 19.1875 8.25H14.8125C14.6172 8.25 14.5 8.40625 14.5 8.5625V9.1875C14.5 9.38281 14.6172 9.5 14.8125 9.5ZM14.8125 7H19.1875C19.3438 7 19.5 6.88281 19.5 6.6875V6.0625C19.5 5.90625 19.3438 5.75 19.1875 5.75H14.8125C14.6172 5.75 14.5 5.90625 14.5 6.0625V6.6875C14.5 6.88281 14.6172 7 14.8125 7Z",fill:"#6B758A"},null,-1)];function Dm(n,e){return c.openBlock(),c.createElementBlock("svg",Nm,Lm)}const sd=me(_m,[["render",Dm]]),Bm={},Rm={xmlns:"http://www.w3.org/2000/svg",width:"18",height:"10"},Pm=[c.createElementVNode("path",{d:"M8.828 6.207L14.632.404a1 1 0 0 1 1.414 0l.707.707a1 1 0 0 1 0 1.414L9.682 9.596a.999.999 0 0 1-.854.282.999.999 0 0 1-.853-.282L.904 2.526a1 1 0 0 1 0-1.415L1.61.404a1 1 0 0 1 1.414 0l5.803 5.803z",fill:"#3594CF"},null,-1)];function Fm(n,e){return c.openBlock(),c.createElementBlock("svg",Rm,Pm)}const ha=me(Bm,[["render",Fm]]),Vm={},$m={class:"icon icon-caret-left",xmlns:"http://www.w3.org/2000/svg",width:"6",height:"10",viewBox:"0 0 6 10"},zm=[c.createElementVNode("path",{d:"M2.276 4.897l3.27 3.27A.9.9 0 1 1 4.273 9.44L.454 5.62a.898.898 0 0 1-.259-.724.898.898 0 0 1 .26-.724L4.272.354a.9.9 0 1 1 1.273 1.273l-3.27 3.27z"},null,-1)];function Hm(n,e){return c.openBlock(),c.createElementBlock("svg",$m,zm)}const pa=me(Vm,[["render",Hm]]),Um={},jm={class:"icon icon-caret-right",xmlns:"http://www.w3.org/2000/svg",width:"7",height:"11",viewBox:"0 0 7 11"},Wm=[c.createElementVNode("path",{d:"M4.324 5.703l-3.27-3.27A.9.9 0 1 1 2.327 1.16L6.146 4.98a.898.898 0 0 1 .259.724.898.898 0 0 1-.26.724l-3.818 3.819a.9.9 0 1 1-1.273-1.273l3.27-3.27z"},null,-1)];function Km(n,e){return c.openBlock(),c.createElementBlock("svg",jm,Wm)}const ma=me(Um,[["render",Km]]),Qm={},Ym={class:"icon icon-check",xmlns:"http://www.w3.org/2000/svg",width:"18",height:"13",viewBox:"0 0 18 13"},Jm=[c.createElementVNode("path",{d:"M6 10.586L1.707 6.293A1 1 0 0 0 .293 7.707l5 5a1 1 0 0 0 1.414 0l11-11A1 1 0 1 0 16.293.293L6 10.586z"},null,-1)];function Zm(n,e){return c.openBlock(),c.createElementBlock("svg",Ym,Jm)}const xr=me(Qm,[["render",Zm]]),Gm={},Xm={class:"icon icon-clipboard",viewBox:"0 0 48 48",height:"48",width:"48",xmlns:"http://www.w3.org/2000/svg"},qm=[c.createStaticVNode('<g transform="matrix(2,0,0,2,0,0)"><path d="M20.25,8.249v-3a1.5,1.5,0,0,0-1.5-1.5h-4" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M6.25,3.749h-4a1.5,1.5,0,0,0-1.5,1.5v16.5a1.5,1.5,0,0,0,1.5,1.5h6" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M14.421,4.736a.751.751,0,0,1-.712.513H7.291a.751.751,0,0,1-.712-.513l-1-3A.749.749,0,0,1,6.291.749h8.418a.749.749,0,0,1,.712.987Z" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M11.250 11.249 L23.250 11.249 L23.250 23.249 L11.250 23.249 Z" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M14.25 14.249L20.25 14.249" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M14.25 17.249L20.25 17.249" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M14.25 20.249L16.5 20.249" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path></g>',1)];function e2(n,e){return c.openBlock(),c.createElementBlock("svg",Xm,qm)}const ad=me(Gm,[["render",e2]]),t2={},n2={class:"icon icon-close",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"-4 -4 22 22"},r2=[c.createElementVNode("path",{d:"M8.414 7l5.293 5.293a1 1 0 0 1-1.414 1.414L7 8.414l-5.293 5.293a1 1 0 1 1-1.414-1.414L5.586 7 .293 1.707A1 1 0 1 1 1.707.293L7 5.586 12.293.293a1 1 0 0 1 1.414 1.414L8.414 7z"},null,-1)];function o2(n,e){return c.openBlock(),c.createElementBlock("svg",n2,r2)}const ai=me(t2,[["render",o2]]),i2={},s2={class:"icon icon-comment",xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18"},a2=[c.createElementVNode("path",{d:"M1.139 8.555a8.304 8.304 0 0 1 4.59-7.424A8.198 8.198 0 0 1 9.444.25L9.93.25c4.218.233 7.586 3.6 7.82 7.86v.445-.002a8.197 8.197 0 0 1-.88 3.715 8.305 8.305 0 0 1-7.424 4.592 8.199 8.199 0 0 1-3.43-.742l-4.779 1.593a.75.75 0 0 1-.949-.95l1.593-4.778a8.197 8.197 0 0 1-.742-3.429zm1.047 7.26L5.829 14.6a.75.75 0 0 1 .576.042 6.7 6.7 0 0 0 3.04.72 6.807 6.807 0 0 0 6.086-3.767 6.7 6.7 0 0 0 .719-3.038l.001-.405c-.19-3.454-2.949-6.213-6.362-6.402h-.446a6.703 6.703 0 0 0-3.041.72 6.806 6.806 0 0 0-3.763 6.088 6.699 6.699 0 0 0 .72 3.037.75.75 0 0 1 .041.576l-1.214 3.643z"},null,-1)];function l2(n,e){return c.openBlock(),c.createElementBlock("svg",s2,a2)}const ld=me(i2,[["render",l2]]),c2={},d2={class:"icon icon-comment-active",xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18"},u2=[c.createElementVNode("g",{"fill-rule":"nonzero",fill:"none"},[c.createElementVNode("path",{fill:"#4D5875",d:"M10.845 1.872a6.686 6.686 0 0 0-.956-.122h-.446a6.704 6.704 0 0 0-3.041.72 6.806 6.806 0 0 0-3.763 6.088 6.699 6.699 0 0 0 .72 3.037.75.75 0 0 1 .041.576l-1.214 3.643L5.829 14.6a.75.75 0 0 1 .576.042 6.7 6.7 0 0 0 3.04.72 6.807 6.807 0 0 0 6.086-3.767 6.702 6.702 0 0 0 .72-3.04v-.403a6.83 6.83 0 0 0-.128-.995 4.01 4.01 0 0 0 1.307-.934 8.43 8.43 0 0 1 .32 1.888v.444a8.198 8.198 0 0 1-.88 3.714 8.305 8.305 0 0 1-7.424 4.592 8.199 8.199 0 0 1-3.43-.742l-4.779 1.593a.75.75 0 0 1-.949-.95l1.593-4.778A8.304 8.304 0 0 1 5.728 1.13 8.199 8.199 0 0 1 9.445.25L9.93.25c.64.035 1.26.143 1.852.314a4.01 4.01 0 0 0-.937 1.307z"}),c.createElementVNode("path",{fill:"#30B451",d:"M14.5 6.5a3 3 0 1 1 0-6 3 3 0 0 1 0 6z"})],-1)];function f2(n,e){return c.openBlock(),c.createElementBlock("svg",d2,u2)}const cd=me(c2,[["render",f2]]),h2={},p2={class:"icon icon-comment-static",xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18"},m2=[c.createElementVNode("path",{d:"M9.889 1.75h-.446a6.704 6.704 0 0 0-3.041.72 6.806 6.806 0 0 0-3.763 6.088 6.699 6.699 0 0 0 .72 3.037.75.75 0 0 1 .041.576l-1.214 3.643L5.829 14.6a.75.75 0 0 1 .576.042 6.7 6.7 0 0 0 3.04.72 6.807 6.807 0 0 0 6.086-3.767 6.702 6.702 0 0 0 .72-3.04v-.403a6.83 6.83 0 0 0-.128-.995 4.01 4.01 0 0 0 1.307-.934c.175.603.284 1.235.32 1.888v.444a8.198 8.198 0 0 1-.88 3.714 8.305 8.305 0 0 1-7.424 4.592 8.199 8.199 0 0 1-3.43-.742l-4.779 1.593a.75.75 0 0 1-.949-.95l1.593-4.778A8.304 8.304 0 0 1 5.728 1.13 8.2 8.2 0 0 1 9.445.25L9.93.25c.64.035 1.26.143 1.852.314a4.01 4.01 0 0 0-.937 1.307 6.687 6.687 0 0 0-.956-.122zM14.5 6.5a3 3 0 1 1 0-6 3 3 0 0 1 0 6z"},null,-1)];function g2(n,e){return c.openBlock(),c.createElementBlock("svg",p2,m2)}const dd=me(h2,[["render",g2]]),v2={},y2={version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 24 24",style:{"enable-background":"new 0 0 24 24"},"xml:space":"preserve",class:"icon icon-common-file-empty"},C2=[c.createElementVNode("title",null,"common-file-empty",-1),c.createElementVNode("g",null,[c.createElementVNode("path",{d:`M3.023,24c-1.241,0-2.25-1.009-2.25-2.25V2.25C0.773,1.009,1.782,0,3.023,0h15c0.59,0,1.147,0.227,1.571,0.639l2.955,2.883
|
|
1
|
+
(function(q,c){typeof exports=="object"&&typeof module<"u"?c(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],c):(q=typeof globalThis<"u"?globalThis:q||self,c(q.BDComponentLibrary={},q.Vue))})(this,function(q,c){"use strict";const Zn=c.defineComponent({__name:"BDCol",props:{class:{},cols:{},xs:{},sm:{},md:{},lg:{},xxl:{},orderClass:{},offsetClass:{}},setup(n){const e=n,t=c.computed(()=>({col:!e.cols&&!e.xs&&!e.sm&&!e.md&&!e.lg&&!e.xxl,[`col-${e.cols}`]:e.cols,[`col-xs-${e.xs}`]:e.xs,[`col-sm-${e.sm}`]:e.sm,[`col-md-${e.md}`]:e.md,[`col-lg-${e.lg}`]:e.lg,[`col-xxl-${e.xxl}`]:e.xxl,[`${e.orderClass}`]:e.orderClass,[`${e.offsetClass}`]:e.offsetClass,[`${e.class}`]:e.class}));return(r,o)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(t.value)},[c.renderSlot(r.$slots,"default")],2))}}),si=c.defineComponent({__name:"BDContainer",props:{class:{default:""},fluid:{type:Boolean,default:!1}},setup(n){const e=n,t=c.computed(()=>({container:!e.fluid,"container-fluid":e.fluid===!0,[`container-${e.fluid}`]:e.fluid&&e.fluid!==!0,[e.class]:!0}));return(r,o)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(t.value)},[c.renderSlot(r.$slots,"default")],2))}}),Jn=c.defineComponent({__name:"BDRow",props:{class:{}},setup(n){return(e,t)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(["row",e.class])},[c.renderSlot(e.$slots,"default")],2))}}),lt={XS:"xs",SM:"sm",MD:"md",LG:"lg"},rd=/^https:/i,xr=c.defineComponent({__name:"BDLink",props:{to:{default:""},target:{default:"_blank"},text:{default:void 0},rel:{default:"noopener noreferrer"}},setup(n){const e=n,t=c.computed(()=>typeof e.to=="string"&&rd.test(e.to)?"a":typeof e.to!="string"&&typeof c.resolveComponent("router-link")!="string"?"router-link":"div"),r=c.computed(()=>{if(typeof e.to=="string"&&rd.test(e.to)){const{to:o,target:i,rel:s}=e;return{href:o,target:i,rel:s}}else{const{to:o}=e;return{to:o}}});return(o,i)=>(c.openBlock(),c.createBlock(c.resolveDynamicComponent(t.value),c.mergeProps({class:"bd-link"},r.value),{default:c.withCtx(()=>[c.renderSlot(o.$slots,"default",{},()=>[c.createTextVNode(c.toDisplayString(e.text),1)])]),_:3},16))}}),q0={PRIMARY:"primary",SECONDARY:"secondary",COLLEAGUE:"colleague",SUCCESS:"success",DANGER:"danger",OUT_PRIMARY:"outline-primary",OUT_PRIMARY_DARK:"outline-primary-dark",OUT_TERTIARY:"outline-tertiary",OUT_LINK:"link",LIGHT:"light",DARK:"dark",REMOVE:"remove"},He=c.defineComponent({__name:"BDButton",props:{size:{default:lt.MD},variant:{default:q0.PRIMARY},blockElement:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},to:{},target:{},text:{},rel:{}},emits:["click"],setup(n,{emit:e}){const t=n,r=c.computed(()=>({btn:!0,[`btn-${t.variant}`]:t.variant,[`btn-${t.size}`]:!0,"d-grid":t.blockElement&&typeof t.to=="string",[`${t.class}`]:t.class,disabled:t.disabled})),o=c.computed(()=>t.to?xr:"button"),i=c.computed(()=>{const l={};return t.to?(l.to=t.to,l.role="button"):l.type="submit",l}),s=l=>{e("click",l)};return(l,a)=>(c.openBlock(),c.createBlock(c.resolveDynamicComponent(o.value),c.mergeProps({class:["bd-btn",r.value]},i.value,{onClick:s}),{default:c.withCtx(()=>[c.renderSlot(l.$slots,"default",{},()=>[c.createTextVNode(c.toDisplayString(t.text),1)])]),_:3},16,["class"]))}}),me=(n,e)=>{const t=n.__vccOpts||n;for(const[r,o]of e)t[r]=o;return t},em={},tm=[c.createStaticVNode('<title>BeterDichtbij logo</title><g id="Logo" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="Group-3-Copy-2" transform="translate(0.000000, -14.000000)"><g id="Master-Copy" transform="translate(0.000000, 21.000000)" fill="#E1523D"><g id="Group-36-Copy-2"><path d="M0,7.07801038 C0,4.71449972 1.60969434,3.38479666 3.84879725,3.38479666 L13.2067282,3.38479666 C18.2745524,3.38479666 22.3693254,6.83325734 22.3693254,12.0497847 C22.3693254,15.4945924 20.9549647,17.8069606 17.8368602,19.2827849 L17.8368602,19.3814167 C21.978658,19.9732076 25.2450714,23.4655047 25.2450714,27.7468563 C25.2450714,34.687614 20.6619642,38.4283171 13.9374209,38.4283171 L3.89943932,38.4283171 C1.65671912,38.4283171 0,36.9999822 0,34.687614 L0,7.07801038 Z M7.3105444,17.2663121 L11.1123169,17.2663121 C13.4997287,17.2663121 15.058781,15.8379772 15.058781,13.3758348 C15.058781,11.0634665 13.2537529,9.88353771 11.1123169,9.88353771 L7.3105444,9.88353771 L7.3105444,17.2663121 Z M7.3105444,31.9332291 L13.0620365,31.9332291 C15.6918068,31.9332291 17.6415265,30.4062624 17.6415265,27.6482244 C17.6415265,25.3358562 15.8871405,23.7614001 12.4760354,23.7614001 L7.3105444,23.7614001 L7.3105444,31.9332291 Z" id="Fill-10"></path><path d="M33.6758908,27.6990016 C34.164225,31.1912986 37.0399711,32.8168971 40.3027672,32.8168971 C43.909206,32.8168971 46.3942847,29.9638804 48.2463375,29.9638804 C49.758365,29.9638804 51.1220836,31.4871941 51.1220836,33.0141608 C51.1220836,36.0644411 44.8858745,39.0197427 39.6697414,39.0197427 C31.7768132,39.0197427 26.5136553,33.2114244 26.5136553,25.3866333 C26.5136553,18.2011226 31.6791463,11.6548921 39.0873576,11.6548921 C46.6872852,11.6548921 51.7080846,18.6431393 51.7080846,24.5500894 C51.7080846,26.665194 50.7820582,27.6990016 48.6370049,27.6990016 L33.6758908,27.6990016 Z M44.6905408,22.9756333 C44.2998734,19.8742105 42.3501537,17.5618423 39.0873576,17.5618423 C35.9656357,17.5618423 33.8712245,19.9728423 33.5311991,22.9756333 L44.6905408,22.9756333 Z" id="Fill-12"></path><path d="M55.9001628,18.4462409 L54.3411105,18.4462409 C52.4384156,18.4462409 51.2700307,17.2663121 51.2700307,15.3448181 C51.2700307,13.5730984 52.5867245,12.2470484 54.3411105,12.2470484 L55.9001628,12.2470484 L55.9001628,8.01318615 C55.9001628,5.6496755 57.3615482,4.0752194 59.4089347,4.0752194 C61.4563212,4.0752194 62.9177066,5.6496755 62.9177066,8.01318615 L62.9177066,12.2470484 L64.9144511,12.2470484 C66.7194791,12.2470484 68.2785314,13.0799393 68.2785314,15.3448181 C68.2785314,17.5585545 66.7194791,18.4462409 64.9144511,18.4462409 L62.9177066,18.4462409 L62.9177066,34.7862458 C62.9177066,37.1497565 61.4563212,38.7205595 59.4089347,38.7205595 C57.3615482,38.7205595 55.9001628,37.1497565 55.9001628,34.7862458 L55.9001628,18.4462409 Z" id="Fill-14"></path><path d="M74.2727437,27.6990016 C74.761078,31.1912986 77.636824,32.8168971 80.8996202,32.8168971 C84.506059,32.8168971 86.9911376,29.9638804 88.8431905,29.9638804 C90.3552179,29.9638804 91.7189365,31.4871941 91.7189365,33.0141608 C91.7189365,36.0644411 85.4827274,39.0197427 80.2665943,39.0197427 C72.3736661,39.0197427 67.1105082,33.2114244 67.1105082,25.3866333 C67.1105082,18.2011226 72.2759993,11.6548921 79.6805932,11.6548921 C87.2841382,11.6548921 92.3049376,18.6431393 92.3049376,24.5500894 C92.3049376,26.665194 91.3789112,27.6990016 89.2338578,27.6990016 L74.2727437,27.6990016 Z M85.2873937,22.9756333 C84.8967264,19.8742105 82.9470067,17.5618423 79.6805932,17.5618423 C76.5624887,17.5618423 74.4680774,19.9728423 74.1280521,22.9756333 L85.2873937,22.9756333 Z" id="Fill-16"></path><path d="M94.6934346,15.4934965 C94.6934346,13.1299858 96.5454874,11.950057 98.2998734,11.950057 C100.151926,11.950057 101.710978,12.6404797 101.710978,14.9017055 L101.808645,14.9017055 C103.125339,12.9327222 104.5397,11.950057 106.731778,11.950057 C108.435522,11.950057 110.142883,13.1811282 110.142883,15.7382495 C110.142883,18.0506177 108.044854,18.200392 105.950443,19.1830571 C103.856032,20.1693753 101.710978,21.1045511 101.710978,23.9100785 L101.710978,34.7851499 C101.710978,37.1486606 100.249593,38.7231166 98.2022065,38.7231166 C96.15482,38.7231166 94.6934346,37.1486606 94.6934346,34.7851499 L94.6934346,15.4934965 Z" id="Fill-18"></path><path d="M114.139266,7.17591159 C114.139266,4.91103276 115.698318,3.38771909 117.890396,3.38771909 L125.982275,3.38771909 C136.899258,3.38771909 143.135468,10.474598 143.135468,21.4008119 C143.135468,31.7352348 136.508591,38.4275865 126.47061,38.4275865 L117.988063,38.4275865 C116.381986,38.4275865 114.139266,37.5435531 114.139266,34.7380258 L114.139266,7.17591159 Z M121.44981,31.636603 L126.369325,31.636603 C132.659794,31.636603 135.531923,26.9607241 135.531923,21.053774 C135.531923,14.7559496 132.609152,10.1787026 125.884608,10.1787026 L121.44981,10.1787026 L121.44981,31.636603 Z" id="Fill-20"></path><path d="M153.809731,5.20729352 C153.809731,7.42102993 152.055345,9.29138148 149.863266,9.29138148 C147.765238,9.29138148 145.913185,7.37354053 145.913185,5.20729352 C145.913185,3.19082075 147.765238,1.32046919 149.863266,1.32046919 C151.957678,1.32046919 153.809731,3.13967832 153.809731,5.20729352 L153.809731,5.20729352 Z M146.354494,15.8887543 C146.354494,13.5252437 147.81588,11.9507876 149.863266,11.9507876 C151.910653,11.9507876 153.372038,13.5252437 153.372038,15.8887543 L153.372038,34.7858805 C153.372038,37.1493912 151.910653,38.7238473 149.863266,38.7238473 C147.81588,38.7238473 146.354494,37.1493912 146.354494,34.7858805 L146.354494,15.8887543 Z" id="Fill-22"></path><path d="M174.716947,19.5289991 C172.962561,19.5289991 171.403509,18.1518067 169.160789,18.1518067 C165.163682,18.1518067 163.264605,21.7427355 163.264605,25.3848068 C163.264605,28.8807569 165.359016,32.5228282 169.160789,32.5228282 C170.915175,32.5228282 173.548562,31.0470039 174.376922,31.0470039 C176.033641,31.0470039 177.397359,32.4716858 177.397359,34.1447737 C177.397359,37.786845 171.352867,39.0179162 168.820763,39.0179162 C161.26786,39.0179162 156.247061,32.7675812 156.247061,25.3848068 C156.247061,18.1992961 161.412552,11.6530656 168.820763,11.6530656 C171.598842,11.6530656 177.397359,12.6868732 177.397359,16.1316809 C177.397359,17.6075051 176.373666,19.5289991 174.716947,19.5289991" id="Fill-24"></path><path d="M179.83469,4.46901608 C179.83469,2.10550542 181.296075,0.531049329 183.343462,0.531049329 C185.390848,0.531049329 186.852234,2.10550542 186.852234,4.46901608 L186.852234,14.1166693 L186.949901,14.1166693 C188.411286,12.2938072 191.14234,11.6545268 193.334419,11.6545268 C198.839935,11.6545268 202.934708,15.1979663 202.934708,21.2035482 L202.934708,34.7855152 C202.934708,37.1490259 201.473322,38.723482 199.425936,38.723482 C197.378549,38.723482 195.917164,37.1490259 195.917164,34.7855152 L195.917164,22.4346195 C195.917164,19.1359331 193.869778,17.561477 191.337674,17.561477 C188.461928,17.561477 186.852234,19.6765816 186.852234,22.4346195 L186.852234,34.7855152 C186.852234,37.1490259 185.390848,38.723482 183.343462,38.723482 C181.296075,38.723482 179.83469,37.1490259 179.83469,34.7855152 L179.83469,4.46901608 Z" id="Fill-26"></path><path d="M208.63809,18.4462409 L207.079038,18.4462409 C205.17996,18.4462409 204.007958,17.2663121 204.007958,15.3448181 C204.007958,13.5730984 205.324652,12.2470484 207.079038,12.2470484 L208.63809,12.2470484 L208.63809,8.01318615 C208.63809,5.6496755 210.099475,4.0752194 212.146862,4.0752194 C214.194249,4.0752194 215.655634,5.6496755 215.655634,8.01318615 L215.655634,12.2470484 L217.652378,12.2470484 C219.457406,12.2470484 221.016459,13.0799393 221.016459,15.3448181 C221.016459,17.5585545 219.457406,18.4462409 217.652378,18.4462409 L215.655634,18.4462409 L215.655634,34.7862458 C215.655634,37.1497565 214.194249,38.7205595 212.146862,38.7205595 C210.099475,38.7205595 208.63809,37.1497565 208.63809,34.7862458 L208.63809,18.4462409 Z" id="Fill-28"></path><path d="M222.820402,4.46865078 C222.820402,2.10514012 224.281787,0.530684026 226.329173,0.530684026 C228.37656,0.530684026 229.837945,2.10514012 229.837945,4.46865078 L229.837945,14.116304 C231.689998,12.4907055 234.07741,11.6541615 236.515464,11.6541615 C244.068367,11.6541615 247.819497,18.7921829 247.819497,25.6817982 C247.819497,32.3741498 243.337674,39.0190121 236.269488,39.0190121 C233.882076,39.0190121 231.154639,37.9340621 229.837945,35.7714681 C229.400253,37.6418197 228.278893,38.7231166 226.329173,38.7231166 C224.281787,38.7231166 222.820402,37.1486606 222.820402,34.7851499 L222.820402,4.46865078 Z M235.343462,32.5202711 C239.000543,32.5202711 240.801953,28.6845892 240.801953,25.3859027 C240.801953,22.0397269 239.000543,18.1492495 235.343462,18.1492495 C231.592331,18.1492495 229.837945,21.692689 229.837945,25.1411497 C229.837945,28.5859573 231.494664,32.5202711 235.343462,32.5202711 L235.343462,32.5202711 Z" id="Fill-30"></path><path d="M258.153735,5.20729352 C258.153735,7.42102993 256.399349,9.29138148 254.207271,9.29138148 C252.109242,9.29138148 250.257189,7.37354053 250.257189,5.20729352 C250.257189,3.19082075 252.109242,1.32046919 254.207271,1.32046919 C256.301682,1.32046919 258.153735,3.13967832 258.153735,5.20729352 L258.153735,5.20729352 Z M250.698499,15.8887543 C250.698499,13.5252437 252.159884,11.9507876 254.207271,11.9507876 C256.254657,11.9507876 257.716043,13.5252437 257.716043,15.8887543 L257.716043,34.7858805 C257.716043,37.1493912 256.254657,38.7238473 254.207271,38.7238473 C252.159884,38.7238473 250.698499,37.1493912 250.698499,34.7858805 L250.698499,15.8887543 Z" id="Fill-32"></path><path d="M268.972689,5.20729352 C268.972689,7.42102993 267.218303,9.29138148 265.026225,9.29138148 C262.928197,9.29138148 261.076144,7.37354053 261.076144,5.20729352 C261.076144,3.19082075 262.928197,1.32046919 265.026225,1.32046919 C267.120637,1.32046919 268.972689,3.13967832 268.972689,5.20729352 L268.972689,5.20729352 Z M261.517453,15.8887543 C261.517453,13.5252437 262.978839,11.9507876 265.026225,11.9507876 C267.073612,11.9507876 268.534997,13.5252437 268.534997,15.8887543 L268.534997,45.2189353 C268.534997,47.5824459 267.073612,49.156902 265.026225,49.156902 C262.978839,49.156902 261.517453,47.5824459 261.517453,45.2189353 L261.517453,15.8887543 Z" id="Fill-34"></path></g></g><polyline id="Path" stroke="#E1523D" stroke-width="6.4" stroke-linecap="round" stroke-linejoin="round" transform="translate(346.970563, 44.470563) rotate(-45.000000) translate(-346.970563, -44.470563) " points="334.970563 56.4705627 334.970563 32.4705627 334.970563 32.4705627 358.970563 32.4705627"></polyline><g id="Group-2" transform="translate(319.970563, 44.500000) rotate(90.000000) translate(-319.970563, -44.500000) translate(275.970563, 27.500000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.4"><polyline id="Path-Copy-2" stroke="#418FDE" transform="translate(70.970563, 17.000000) rotate(-45.000000) translate(-70.970563, -17.000000) " points="58.9705627 29 58.9705627 5 82.9705627 5"></polyline><polyline id="Path-Copy-3" stroke="#FFC72C" transform="translate(16.970563, 17.000000) scale(-1, 1) rotate(-45.000000) translate(-16.970563, -17.000000) " points="4.97056275 29 4.97056275 5 28.9705627 5"></polyline></g><polyline id="Path-Copy" stroke="#00BF6F" stroke-width="6.4" stroke-linecap="round" stroke-linejoin="round" transform="translate(292.970563, 44.470563) scale(-1, 1) rotate(-45.000000) translate(-292.970563, -44.470563) " points="280.970563 56.4705627 280.970563 32.4705627 280.970563 32.4705627 304.970563 32.4705627"></polyline></g></g>',2)];function nm(n,e){return c.openBlock(),c.createElementBlock("svg",c.mergeProps({class:"bd-logo"},n.$attrs,{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}),tm,16)}const fa=me(em,[["render",nm]]),rm={},om={class:"icon icon-academy",viewBox:"0 0 40 40",xmlns:"http://www.w3.org/2000/svg"},im=[c.createElementVNode("path",{d:"M30.6523 16.0664C31.0039 16.207 31.25 16.5234 31.25 16.875C31.25 17.2617 31.0039 17.5781 30.6523 17.7188L20.7383 21.2695C20.4922 21.3398 20.2461 21.375 20 21.375C19.7188 21.375 19.4727 21.3398 19.2266 21.2695L12.5469 18.8789C12.125 19.3359 11.8086 19.8984 11.668 20.5312C11.9141 20.707 12.125 21.0234 12.125 21.375C12.125 21.7266 11.9492 22.043 11.7031 22.2539L12.5469 27.4922C12.6172 27.8438 12.3359 28.125 12.0195 28.125H9.94531C9.62891 28.125 9.34766 27.8438 9.41797 27.4922L10.2617 22.2539C10.0156 22.043 9.875 21.7266 9.875 21.375C9.875 20.918 10.1562 20.5312 10.543 20.3555C10.6836 19.6523 11 19.0195 11.4219 18.457L9.3125 17.7188C8.96094 17.5781 8.75 17.2617 8.75 16.875C8.75 16.5234 8.96094 16.207 9.3125 16.0664L19.2266 12.5156C19.4727 12.4453 19.7188 12.375 20 12.375C20.2461 12.375 20.4922 12.4453 20.7031 12.5156L30.6523 16.0664ZM20.1758 19.6875L27.9453 16.875L20.1406 14.0977C20.0703 14.0977 19.9297 14.0625 19.7891 14.0977L12.0195 16.875L13.1445 17.2969L19.8242 15.2227C20.1055 15.1172 20.4219 15.293 20.5273 15.6094C20.5977 15.8906 20.457 16.207 20.1406 16.3125L14.9023 17.9297L19.8242 19.6875C19.8594 19.6875 20 19.7227 20.1758 19.6875ZM24.6406 21.0586L26.2578 20.4961L26.7148 24.9258C26.75 27.0703 23.3398 28.125 20 28.125C16.625 28.125 13.25 27.0703 13.25 24.9258L13.707 20.4961L15.3242 21.0586L14.9375 24.9961C14.9375 25.3828 16.6602 26.4375 20 26.4375C23.3047 26.4375 25.0625 25.3828 25.0625 24.9961L24.6406 21.0586Z"},null,-1)];function sm(n,e){return c.openBlock(),c.createElementBlock("svg",om,im)}const od=me(rm,[["render",sm]]),am={},lm={class:"icon",viewBox:"0 0 20 20",height:"20",width:"20",xmlns:"http://www.w3.org/2000/svg"},cm=[c.createElementVNode("g",{transform:"matrix(0.8333333333333334,0,0,0.8333333333333334,0,0)"},[c.createElementVNode("path",{d:"M12,19.5a2.3,2.3,0,0,1-1.729-.78L.46,7.568A1.847,1.847,0,0,1,3.233,5.129l8.579,9.752a.25.25,0,0,0,.376,0l8.579-9.752A1.847,1.847,0,1,1,23.54,7.568L13.732,18.716A2.31,2.31,0,0,1,12,19.5Z",stroke:"none","stroke-linecap":"round","stroke-linejoin":"round"})],-1)];function dm(n,e){return c.openBlock(),c.createElementBlock("svg",lm,cm)}const id=me(am,[["render",dm]]),um={},fm={class:"icon",viewBox:"0 0 20 20",height:"20",width:"20",xmlns:"http://www.w3.org/2000/svg"},hm=[c.createElementVNode("g",{transform:"matrix(0.8333333333333334,0,0,0.8333333333333334,0,0)"},[c.createElementVNode("path",{d:"M12,4.5a2.3,2.3,0,0,1,1.729.78l9.811,11.15a1.847,1.847,0,1,1-2.773,2.439L12.188,9.119a.25.25,0,0,0-.376,0L3.233,18.871A1.847,1.847,0,1,1,.46,16.432L10.268,5.284A2.31,2.31,0,0,1,12,4.5Z",stroke:"none","stroke-linecap":"round","stroke-linejoin":"round"})],-1)];function pm(n,e){return c.openBlock(),c.createElementBlock("svg",fm,hm)}const sd=me(um,[["render",pm]]),mm={},gm={class:"icon icon-attachment",width:"17",height:"18",viewBox:"0 0 17 18",xmlns:"http://www.w3.org/2000/svg"},vm=[c.createElementVNode("path",{d:"M15.56 7.97l-7.135 7.135a3.91 3.91 0 0 1-5.53-5.53L10.03 2.44a2.357 2.357 0 0 1 3.333 3.334L6.22 12.907a.804.804 0 1 1-1.137-1.136l6.591-6.582a.75.75 0 0 0-1.06-1.062l-6.59 6.583a2.304 2.304 0 1 0 3.256 3.258l7.142-7.134A3.857 3.857 0 1 0 8.97 1.38L1.835 8.514a5.41 5.41 0 0 0 7.651 7.651l7.134-7.134a.75.75 0 1 0-1.06-1.06z"},null,-1)];function ym(n,e){return c.openBlock(),c.createElementBlock("svg",gm,vm)}const Xn=me(mm,[["render",ym]]),Cm={},Em={width:"11",height:"13",viewBox:"0 0 11 13",xmlns:"http://www.w3.org/2000/svg",class:"icon icon-bold"},bm=[c.createElementVNode("path",{d:"M8.85547 6.25781C9.21094 5.84766 9.53906 5.05469 9.59375 4.48047C9.78516 2.40234 8.17188 0.625 6.12109 0.625H0.679688C0.433594 0.625 0.242188 0.84375 0.242188 1.0625V2.375C0.242188 2.62109 0.433594 2.8125 0.679688 2.8125H1.52734V10.6875H0.679688C0.433594 10.6875 0.242188 10.9062 0.242188 11.125V12.4375C0.242188 12.6836 0.433594 12.875 0.679688 12.875H6.39453C8.33594 12.875 10.0586 11.4805 10.25 9.53906C10.3867 8.22656 9.78516 7.02344 8.85547 6.25781ZM3.71484 2.8125H6.12109C6.83203 2.8125 7.43359 3.41406 7.43359 4.125C7.43359 4.86328 6.83203 5.4375 6.12109 5.4375H3.71484V2.8125ZM6.12109 10.6875H3.71484V7.625H6.12109C6.96875 7.625 7.65234 8.33594 7.65234 9.15625C7.65234 10.0039 6.96875 10.6875 6.12109 10.6875Z"},null,-1)];function Am(n,e){return c.openBlock(),c.createElementBlock("svg",Em,bm)}const ha=me(Cm,[["render",Am]]),wm={},Sm={width:"16",height:"14",viewBox:"0 0 16 14",xmlns:"http://www.w3.org/2000/svg",class:"icon icon-bullet-list"},km=[c.createElementVNode("path",{d:"M2.5 5.5H0.5C0.21875 5.5 0 5.75 0 6V8C0 8.28125 0.21875 8.5 0.5 8.5H2.5C2.75 8.5 3 8.28125 3 8V6C3 5.75 2.75 5.5 2.5 5.5ZM2.5 10.5H0.5C0.21875 10.5 0 10.75 0 11V13C0 13.2812 0.21875 13.5 0.5 13.5H2.5C2.75 13.5 3 13.2812 3 13V11C3 10.75 2.75 10.5 2.5 10.5ZM2.5 0.5H0.5C0.21875 0.5 0 0.75 0 1V3C0 3.28125 0.21875 3.5 0.5 3.5H2.5C2.75 3.5 3 3.28125 3 3V1C3 0.75 2.75 0.5 2.5 0.5ZM15.25 6.25H5.71875C5.3125 6.25 5 6.59375 5 7C5 7.4375 5.3125 7.75 5.71875 7.75H15.25C15.6562 7.75 16 7.4375 16 7C16 6.59375 15.6562 6.25 15.25 6.25ZM15.25 1.25H5.71875C5.3125 1.25 5 1.59375 5 2C5 2.375 5.3125 2.75 5.71875 2.75H15.25C15.6562 2.75 16 2.4375 16 2.03125C16 1.65625 15.6562 1.25 15.25 1.25ZM15.25 11.25H5.71875C5.3125 11.25 5 11.5938 5 12C5 12.4375 5.3125 12.75 5.71875 12.75H15.25C15.6562 12.75 16 12.4375 16 12C16 11.5938 15.6562 11.25 15.25 11.25Z"},null,-1)];function xm(n,e){return c.openBlock(),c.createElementBlock("svg",Sm,km)}const pa=me(wm,[["render",xm]]),Tm={},Mm={class:"icon icon-calendar",xmlns:"http://www.w3.org/2000/svg",width:"17",height:"18",viewBox:"0 0 17 18"},Im=[c.createElementVNode("path",{d:"M4.25 3.35H3c-.69 0-1.25.56-1.25 1.25v2.05h12.9V4.6c0-.69-.56-1.25-1.25-1.25h-1.25v.85a.75.75 0 1 1-1.5 0v-.85h-4.9v.85a.75.75 0 0 1-1.5 0v-.85zm1.5-1.5h4.9V1a.75.75 0 1 1 1.5 0v.85h1.25a2.75 2.75 0 0 1 2.75 2.75V15a2.75 2.75 0 0 1-2.75 2.75H3A2.75 2.75 0 0 1 .25 15V4.6A2.75 2.75 0 0 1 3 1.85h1.25V1a.75.75 0 0 1 1.5 0v.85zm8.9 6.3H1.75V15c0 .69.56 1.25 1.25 1.25h10.4c.69 0 1.25-.56 1.25-1.25V8.15z"},null,-1)];function Om(n,e){return c.openBlock(),c.createElementBlock("svg",Mm,Im)}const ad=me(Tm,[["render",Om]]),_m={},Nm={class:"icon icon-call",width:"16",height:"17",viewBox:"0 0 16 17",xmlns:"http://www.w3.org/2000/svg"},Lm=[c.createElementVNode("path",{d:"M5.80469 1.60731C5.59961 1.05067 4.98438 0.787001 4.42773 0.933486L1.84961 1.63661C1.35156 1.7831 1 2.22255 1 2.74989C1 10.0155 6.85938 15.8749 14.125 15.8749C14.6523 15.8749 15.0918 15.5233 15.2383 15.0253L15.9414 12.4472C16.0879 11.8905 15.8242 11.2753 15.2676 11.0702L12.4551 9.89833C11.9863 9.69325 11.4297 9.81044 11.1074 10.2206L9.90625 11.6561C7.85547 10.6893 6.18555 9.01942 5.21875 6.96864L6.6543 5.76747C7.06445 5.4452 7.18164 4.88856 6.97656 4.41981L5.80469 1.60731Z"},null,-1)];function Dm(n,e){return c.openBlock(),c.createElementBlock("svg",Nm,Lm)}const ai=me(_m,[["render",Dm]]),Bm={},Rm={class:"icon icon-call-reject",width:"16",height:"17",viewBox:"0 0 16 17",xmlns:"http://www.w3.org/2000/svg"},Pm=[c.createElementVNode("path",{d:"M5.80469 1.60731C5.59961 1.05067 4.98438 0.787001 4.42773 0.933486L1.84961 1.63661C1.35156 1.7831 1 2.22255 1 2.74989C1 10.0155 6.85938 15.8749 14.125 15.8749C14.6523 15.8749 15.0918 15.5233 15.2383 15.0253L15.9414 12.4472C16.0879 11.8905 15.8242 11.2753 15.2676 11.0702L12.4551 9.89833C11.9863 9.69325 11.4297 9.81044 11.1074 10.2206L9.90625 11.6561C7.85547 10.6893 6.18555 9.01942 5.21875 6.96864L6.6543 5.76747C7.06445 5.4452 7.18164 4.88856 6.97656 4.41981L5.80469 1.60731Z"},null,-1)];function Vm(n,e){return c.openBlock(),c.createElementBlock("svg",Rm,Pm)}const ma=me(Bm,[["render",Vm]]),Fm={},$m={class:"icon icon-card-view",viewBox:"0 0 24 19",fill:"red",xmlns:"http://www.w3.org/2000/svg"},zm=[c.createElementVNode("path",{d:"M21.375 0.75H2.625C1.57031 0.75 0.75 1.60938 0.75 2.625V16.375C0.75 17.4297 1.57031 18.25 2.625 18.25H21.375C22.3906 18.25 23.25 17.4297 23.25 16.375V2.625C23.25 1.60938 22.3906 0.75 21.375 0.75ZM21.375 16.375H2.625V2.625H21.375V16.375ZM8.875 9.5C10.2422 9.5 11.375 8.40625 11.375 7C11.375 5.63281 10.2422 4.5 8.875 4.5C7.46875 4.5 6.375 5.63281 6.375 7C6.375 8.40625 7.46875 9.5 8.875 9.5ZM5.35938 14.5H12.3516C12.8594 14.5 13.25 14.1875 13.25 13.7578V13.0156C13.25 11.7656 12.0391 10.75 10.5938 10.75C10.2031 10.75 9.89062 11.0625 8.875 11.0625C7.82031 11.0625 7.54688 10.75 7.11719 10.75C5.67188 10.75 4.5 11.7656 4.5 13.0156V13.7578C4.5 14.1875 4.89062 14.5 5.35938 14.5ZM14.8125 12H19.1875C19.3438 12 19.5 11.8828 19.5 11.6875V11.0625C19.5 10.9062 19.3438 10.75 19.1875 10.75H14.8125C14.6172 10.75 14.5 10.9062 14.5 11.0625V11.6875C14.5 11.8828 14.6172 12 14.8125 12ZM14.8125 9.5H19.1875C19.3438 9.5 19.5 9.38281 19.5 9.1875V8.5625C19.5 8.40625 19.3438 8.25 19.1875 8.25H14.8125C14.6172 8.25 14.5 8.40625 14.5 8.5625V9.1875C14.5 9.38281 14.6172 9.5 14.8125 9.5ZM14.8125 7H19.1875C19.3438 7 19.5 6.88281 19.5 6.6875V6.0625C19.5 5.90625 19.3438 5.75 19.1875 5.75H14.8125C14.6172 5.75 14.5 5.90625 14.5 6.0625V6.6875C14.5 6.88281 14.6172 7 14.8125 7Z",fill:"#6B758A"},null,-1)];function Hm(n,e){return c.openBlock(),c.createElementBlock("svg",$m,zm)}const ld=me(Fm,[["render",Hm]]),Um={},jm={xmlns:"http://www.w3.org/2000/svg",width:"18",height:"10"},Wm=[c.createElementVNode("path",{d:"M8.828 6.207L14.632.404a1 1 0 0 1 1.414 0l.707.707a1 1 0 0 1 0 1.414L9.682 9.596a.999.999 0 0 1-.854.282.999.999 0 0 1-.853-.282L.904 2.526a1 1 0 0 1 0-1.415L1.61.404a1 1 0 0 1 1.414 0l5.803 5.803z",fill:"#3594CF"},null,-1)];function Km(n,e){return c.openBlock(),c.createElementBlock("svg",jm,Wm)}const ga=me(Um,[["render",Km]]),Qm={},Ym={class:"icon icon-caret-left",xmlns:"http://www.w3.org/2000/svg",width:"6",height:"10",viewBox:"0 0 6 10"},Gm=[c.createElementVNode("path",{d:"M2.276 4.897l3.27 3.27A.9.9 0 1 1 4.273 9.44L.454 5.62a.898.898 0 0 1-.259-.724.898.898 0 0 1 .26-.724L4.272.354a.9.9 0 1 1 1.273 1.273l-3.27 3.27z"},null,-1)];function Zm(n,e){return c.openBlock(),c.createElementBlock("svg",Ym,Gm)}const va=me(Qm,[["render",Zm]]),Jm={},Xm={class:"icon icon-caret-right",xmlns:"http://www.w3.org/2000/svg",width:"7",height:"11",viewBox:"0 0 7 11"},qm=[c.createElementVNode("path",{d:"M4.324 5.703l-3.27-3.27A.9.9 0 1 1 2.327 1.16L6.146 4.98a.898.898 0 0 1 .259.724.898.898 0 0 1-.26.724l-3.818 3.819a.9.9 0 1 1-1.273-1.273l3.27-3.27z"},null,-1)];function e2(n,e){return c.openBlock(),c.createElementBlock("svg",Xm,qm)}const ya=me(Jm,[["render",e2]]),t2={},n2={class:"icon icon-check",xmlns:"http://www.w3.org/2000/svg",width:"18",height:"13",viewBox:"0 0 18 13"},r2=[c.createElementVNode("path",{d:"M6 10.586L1.707 6.293A1 1 0 0 0 .293 7.707l5 5a1 1 0 0 0 1.414 0l11-11A1 1 0 1 0 16.293.293L6 10.586z"},null,-1)];function o2(n,e){return c.openBlock(),c.createElementBlock("svg",n2,r2)}const Tr=me(t2,[["render",o2]]),i2={},s2={class:"icon icon-clipboard",viewBox:"0 0 48 48",height:"48",width:"48",xmlns:"http://www.w3.org/2000/svg"},a2=[c.createStaticVNode('<g transform="matrix(2,0,0,2,0,0)"><path d="M20.25,8.249v-3a1.5,1.5,0,0,0-1.5-1.5h-4" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M6.25,3.749h-4a1.5,1.5,0,0,0-1.5,1.5v16.5a1.5,1.5,0,0,0,1.5,1.5h6" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M14.421,4.736a.751.751,0,0,1-.712.513H7.291a.751.751,0,0,1-.712-.513l-1-3A.749.749,0,0,1,6.291.749h8.418a.749.749,0,0,1,.712.987Z" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M11.250 11.249 L23.250 11.249 L23.250 23.249 L11.250 23.249 Z" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M14.25 14.249L20.25 14.249" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M14.25 17.249L20.25 17.249" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M14.25 20.249L16.5 20.249" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path></g>',1)];function l2(n,e){return c.openBlock(),c.createElementBlock("svg",s2,a2)}const cd=me(i2,[["render",l2]]),c2={},d2={class:"icon icon-close",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"-4 -4 22 22"},u2=[c.createElementVNode("path",{d:"M8.414 7l5.293 5.293a1 1 0 0 1-1.414 1.414L7 8.414l-5.293 5.293a1 1 0 1 1-1.414-1.414L5.586 7 .293 1.707A1 1 0 1 1 1.707.293L7 5.586 12.293.293a1 1 0 0 1 1.414 1.414L8.414 7z"},null,-1)];function f2(n,e){return c.openBlock(),c.createElementBlock("svg",d2,u2)}const li=me(c2,[["render",f2]]),h2={},p2={class:"icon icon-comment",xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18"},m2=[c.createElementVNode("path",{d:"M1.139 8.555a8.304 8.304 0 0 1 4.59-7.424A8.198 8.198 0 0 1 9.444.25L9.93.25c4.218.233 7.586 3.6 7.82 7.86v.445-.002a8.197 8.197 0 0 1-.88 3.715 8.305 8.305 0 0 1-7.424 4.592 8.199 8.199 0 0 1-3.43-.742l-4.779 1.593a.75.75 0 0 1-.949-.95l1.593-4.778a8.197 8.197 0 0 1-.742-3.429zm1.047 7.26L5.829 14.6a.75.75 0 0 1 .576.042 6.7 6.7 0 0 0 3.04.72 6.807 6.807 0 0 0 6.086-3.767 6.7 6.7 0 0 0 .719-3.038l.001-.405c-.19-3.454-2.949-6.213-6.362-6.402h-.446a6.703 6.703 0 0 0-3.041.72 6.806 6.806 0 0 0-3.763 6.088 6.699 6.699 0 0 0 .72 3.037.75.75 0 0 1 .041.576l-1.214 3.643z"},null,-1)];function g2(n,e){return c.openBlock(),c.createElementBlock("svg",p2,m2)}const dd=me(h2,[["render",g2]]),v2={},y2={class:"icon icon-comment-active",xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18"},C2=[c.createElementVNode("g",{"fill-rule":"nonzero",fill:"none"},[c.createElementVNode("path",{fill:"#4D5875",d:"M10.845 1.872a6.686 6.686 0 0 0-.956-.122h-.446a6.704 6.704 0 0 0-3.041.72 6.806 6.806 0 0 0-3.763 6.088 6.699 6.699 0 0 0 .72 3.037.75.75 0 0 1 .041.576l-1.214 3.643L5.829 14.6a.75.75 0 0 1 .576.042 6.7 6.7 0 0 0 3.04.72 6.807 6.807 0 0 0 6.086-3.767 6.702 6.702 0 0 0 .72-3.04v-.403a6.83 6.83 0 0 0-.128-.995 4.01 4.01 0 0 0 1.307-.934 8.43 8.43 0 0 1 .32 1.888v.444a8.198 8.198 0 0 1-.88 3.714 8.305 8.305 0 0 1-7.424 4.592 8.199 8.199 0 0 1-3.43-.742l-4.779 1.593a.75.75 0 0 1-.949-.95l1.593-4.778A8.304 8.304 0 0 1 5.728 1.13 8.199 8.199 0 0 1 9.445.25L9.93.25c.64.035 1.26.143 1.852.314a4.01 4.01 0 0 0-.937 1.307z"}),c.createElementVNode("path",{fill:"#30B451",d:"M14.5 6.5a3 3 0 1 1 0-6 3 3 0 0 1 0 6z"})],-1)];function E2(n,e){return c.openBlock(),c.createElementBlock("svg",y2,C2)}const ud=me(v2,[["render",E2]]),b2={},A2={class:"icon icon-comment-static",xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18"},w2=[c.createElementVNode("path",{d:"M9.889 1.75h-.446a6.704 6.704 0 0 0-3.041.72 6.806 6.806 0 0 0-3.763 6.088 6.699 6.699 0 0 0 .72 3.037.75.75 0 0 1 .041.576l-1.214 3.643L5.829 14.6a.75.75 0 0 1 .576.042 6.7 6.7 0 0 0 3.04.72 6.807 6.807 0 0 0 6.086-3.767 6.702 6.702 0 0 0 .72-3.04v-.403a6.83 6.83 0 0 0-.128-.995 4.01 4.01 0 0 0 1.307-.934c.175.603.284 1.235.32 1.888v.444a8.198 8.198 0 0 1-.88 3.714 8.305 8.305 0 0 1-7.424 4.592 8.199 8.199 0 0 1-3.43-.742l-4.779 1.593a.75.75 0 0 1-.949-.95l1.593-4.778A8.304 8.304 0 0 1 5.728 1.13 8.2 8.2 0 0 1 9.445.25L9.93.25c.64.035 1.26.143 1.852.314a4.01 4.01 0 0 0-.937 1.307 6.687 6.687 0 0 0-.956-.122zM14.5 6.5a3 3 0 1 1 0-6 3 3 0 0 1 0 6z"},null,-1)];function S2(n,e){return c.openBlock(),c.createElementBlock("svg",A2,w2)}const fd=me(b2,[["render",S2]]),k2={},x2={version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 24 24",style:{"enable-background":"new 0 0 24 24"},"xml:space":"preserve",class:"icon icon-common-file-empty"},T2=[c.createElementVNode("title",null,"common-file-empty",-1),c.createElementVNode("g",null,[c.createElementVNode("path",{d:`M3.023,24c-1.241,0-2.25-1.009-2.25-2.25V2.25C0.773,1.009,1.782,0,3.023,0h15c0.59,0,1.147,0.227,1.571,0.639l2.955,2.883
|
|
2
2
|
c0.431,0.422,0.678,1.009,0.678,1.611V21.75c0,1.241-1.009,2.25-2.25,2.25H3.023z M3.023,1.5c-0.414,0-0.75,0.336-0.75,0.75v19.5
|
|
3
3
|
c0,0.414,0.336,0.75,0.75,0.75h17.954c0.414,0,0.75-0.336,0.75-0.75V5.133c0-0.201-0.082-0.397-0.226-0.537l-2.955-2.883
|
|
4
|
-
C18.406,1.576,18.22,1.5,18.023,1.5H3.023z`})],-1)];function
|
|
4
|
+
C18.406,1.576,18.22,1.5,18.023,1.5H3.023z`})],-1)];function M2(n,e){return c.openBlock(),c.createElementBlock("svg",x2,T2)}const hd=me(k2,[["render",M2]]),I2={},O2={version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 24 24",style:{"enable-background":"new 0 0 24 24"},"xml:space":"preserve"},_2=[c.createElementVNode("title",null,"common-file-warning",-1),c.createElementVNode("g",null,[c.createElementVNode("circle",{cx:"17.249",cy:"20.625",r:"1.125"}),c.createElementVNode("path",{d:`M17.249,18.75c-0.414,0-0.75-0.336-0.75-0.75v-3c0-0.414,0.336-0.75,0.75-0.75s0.75,0.336,0.75,0.75v3
|
|
5
5
|
C17.999,18.414,17.663,18.75,17.249,18.75z`}),c.createElementVNode("path",{d:`M13.023,24c-1.391,0-2.524-1.132-2.525-2.523c0-0.39,0.092-0.781,0.267-1.131l4.226-8.451
|
|
6
6
|
c0.43-0.861,1.297-1.396,2.262-1.396c0.393,0,0.771,0.089,1.124,0.266c0.486,0.243,0.887,0.644,1.13,1.13l4.226,8.451
|
|
7
7
|
c0.623,1.244,0.117,2.764-1.127,3.386C22.256,23.908,21.865,24,21.475,24H13.023z M17.252,12c-0.392,0-0.744,0.217-0.918,0.567
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
c0.504-0.252,0.709-0.869,0.457-1.374l-4.226-8.451c-0.099-0.197-0.261-0.36-0.458-0.459C17.564,12.036,17.41,12,17.252,12z`}),c.createElementVNode("path",{d:`M2.249,21c-1.241,0-2.25-1.009-2.25-2.25V2.25c0-1.241,1.009-2.25,2.25-2.25h10.629c0.601,0,1.165,0.234,1.59,0.658
|
|
10
10
|
l2.872,2.872c0.425,0.425,0.659,0.99,0.659,1.59V8.25c0,0.414-0.336,0.75-0.75,0.75s-0.75-0.336-0.75-0.75V5.121
|
|
11
11
|
c0-0.197-0.08-0.39-0.219-0.53l-2.872-2.872c-0.142-0.141-0.33-0.219-0.53-0.219H2.249c-0.414,0-0.75,0.336-0.75,0.75v16.5
|
|
12
|
-
c0,0.414,0.336,0.75,0.75,0.75h6c0.414,0,0.75,0.336,0.75,0.75S8.663,21,8.249,21H2.249z`})],-1)];function S2(n,e){return c.openBlock(),c.createElementBlock("svg",A2,w2)}const fd=me(b2,[["render",S2]]),k2={},x2={xmlns:"http://www.w3.org/2000/svg",width:"23",height:"17",viewBox:"0 0 18 15",fill:"none"},T2=[c.createElementVNode("path",{d:"M6.375 7.75C4.43359 7.75 2.875 6.19141 2.875 4.25C2.875 2.33594 4.43359 0.75 6.375 0.75C8.28906 0.75 9.875 2.33594 9.875 4.25C9.875 6.19141 8.28906 7.75 6.375 7.75ZM6.375 2.0625C5.14453 2.0625 4.1875 3.04688 4.1875 4.25C4.1875 5.48047 5.14453 6.4375 6.375 6.4375C7.57812 6.4375 8.5625 5.48047 8.5625 4.25C8.5625 3.04688 7.57812 2.0625 6.375 2.0625ZM7.74219 9.0625C10.3672 9.0625 12.5 11.1953 12.5 13.8203C12.5 14.3398 12.0625 14.75 11.543 14.75H1.17969C0.660156 14.75 0.25 14.3398 0.25 13.8203C0.25 11.1953 2.35547 9.0625 4.98047 9.0625H7.74219ZM1.5625 13.4375H11.1602C10.9414 11.7422 9.51953 10.375 7.74219 10.375H4.98047C3.20312 10.375 1.75391 11.7422 1.5625 13.4375ZM13.3477 9.5C15.7812 9.5 17.75 11.4688 17.75 13.875C17.75 14.3672 17.3398 14.75 16.875 14.75H13.1016C13.2656 14.4766 13.375 14.1758 13.375 13.8203C13.375 12.0977 12.582 10.5391 11.3242 9.5H13.3477ZM12.0625 7.75C11.1875 7.75 10.4219 7.42188 9.875 6.84766C10.4219 6.13672 10.75 5.23438 10.75 4.25C10.75 3.53906 10.5312 2.85547 10.2305 2.25391C10.7227 1.87109 11.3516 1.625 12.0625 1.625C13.7305 1.625 15.125 3.01953 15.125 4.6875C15.125 6.38281 13.7305 7.75 12.0625 7.75Z",fill:"#394156"},null,-1)];function M2(n,e){return c.openBlock(),c.createElementBlock("svg",x2,T2)}const hd=me(k2,[["render",M2]]),I2={},O2={class:"icon icon-copy",width:"11",height:"14",viewBox:"0 0 11 14",xmlns:"http://www.w3.org/2000/svg"},_2=[c.createElementVNode("path",{d:"M9 10V5a3 3 0 0 0-3-3H4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2zM2 3h4a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z"},null,-1)];function N2(n,e){return c.openBlock(),c.createElementBlock("svg",O2,_2)}const pd=me(I2,[["render",N2]]),L2={},D2={class:"icon icon-delete",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"20",viewBox:"0 0 16 20"},B2=[c.createElementVNode("path",{d:"M5.293 1.75A.749.749 0 0 1 6 .75h4a.75.75 0 0 1 .707 1H12.7a2.355 2.355 0 0 1 2.35 2.35v12.8a2.355 2.355 0 0 1-2.35 2.35H3.1A2.355 2.355 0 0 1 .75 16.9V4.1A2.355 2.355 0 0 1 3.1 1.75h2.193zM2.25 6.25V16.9c0 .466.384.85.85.85h9.6c.466 0 .85-.384.85-.85V6.25H2.25zm0-1.5h11.3V4.1a.855.855 0 0 0-.85-.85H3.1a.855.855 0 0 0-.85.85v.65zm5 4.75a.75.75 0 0 1 1.5 0v6a.75.75 0 1 1-1.5 0v-6zm3 0a.75.75 0 1 1 1.5 0v6a.75.75 0 1 1-1.5 0v-6zm-6 0a.75.75 0 0 1 1.5 0v6a.75.75 0 1 1-1.5 0v-6z"},null,-1)];function R2(n,e){return c.openBlock(),c.createElementBlock("svg",D2,B2)}const md=me(L2,[["render",R2]]),P2={},F2={class:"icon icon-double-check",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"13",viewBox:"0 0 24 13"},V2=[c.createElementVNode("path",{d:"M6 10.586L16.293.293a1 1 0 0 1 1.414 1.414l-11 11a1 1 0 0 1-1.414 0l-5-5a1 1 0 0 1 1.414-1.414L6 10.586zm6 0L22.293.293a1 1 0 0 1 1.414 1.414l-11 11a1 1 0 0 1-1.414 0l-1-1a1 1 0 0 1 1.414-1.414l.293.293z"},null,-1)];function $2(n,e){return c.openBlock(),c.createElementBlock("svg",F2,V2)}const gd=me(P2,[["render",$2]]),z2={},H2={viewBox:"0 0 20 20",height:"20",width:"20",xmlns:"http://www.w3.org/2000/svg",class:"icon icon-download-link"},U2=[c.createStaticVNode('<g transform="matrix(0.8333333333333334,0,0,0.8333333333333334,0,0)"><path d="M11.250 17.250 A6.000 6.000 0 1 0 23.250 17.250 A6.000 6.000 0 1 0 11.250 17.250 Z" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M17.25 14.25L17.25 20.25" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M17.25 20.25L15 18" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M17.25 20.25L19.5 18" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M8.25,20.25h-6a1.5,1.5,0,0,1-1.5-1.5V2.25A1.5,1.5,0,0,1,2.25.75H12.879a1.5,1.5,0,0,1,1.06.439l2.872,2.872a1.5,1.5,0,0,1,.439,1.06V8.25" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M5.25,5.625A.375.375,0,1,1,4.875,6a.375.375,0,0,1,.375-.375" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M12.085,9.586,11.25,8.25a.749.749,0,0,0-1.238-.014l-2,2.851L6.78,10.1a.75.75,0,0,0-1.093.169L3.75,14.25h4.5" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path></g>',1)];function j2(n,e){return c.openBlock(),c.createElementBlock("svg",H2,U2)}const ga=me(z2,[["render",j2]]),W2={},K2={xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18"},Q2=[c.createElementVNode("path",{d:"M8.967 3.528L8.94 3.5 10 2.44l.028.027L12.025.47a.75.75 0 0 1 1.06 0l4.445 4.444a.75.75 0 0 1 0 1.06L5.975 17.53a.75.75 0 0 1-.53.22H1A.75.75 0 0 1 .25 17v-4.444a.75.75 0 0 1 .22-.53l8.497-8.498zm1.06 1.06L1.75 12.866v3.384h3.384l8.278-8.278-3.384-3.384zm1.061-1.06l3.384 3.384 1.467-1.468-3.383-3.383-1.468 1.467z"},null,-1)];function Y2(n,e){return c.openBlock(),c.createElementBlock("svg",K2,Q2)}const vd=me(W2,[["render",Y2]]),J2={},Z2={class:"icon icon-end-call",width:"16",height:"16",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"},G2=[c.createElementVNode("path",{d:"M1.05664 14.8926L4.10352 15.5957C4.42578 15.6836 4.77734 15.5078 4.92383 15.1855L6.33008 11.9043C6.44727 11.6113 6.35938 11.2891 6.125 11.084L4.33789 9.61914C5.39258 7.39258 7.23828 5.51758 9.52344 4.43359L10.9883 6.2207C11.1934 6.45508 11.5156 6.54297 11.8086 6.42578L15.0898 5.01953C15.4121 4.87305 15.5586 4.52148 15.5 4.19922L14.7969 1.15234C14.709 0.830078 14.4453 0.625 14.0938 0.625C6.59375 0.625 0.5 6.68945 0.5 14.2188C0.5 14.541 0.734375 14.8047 1.05664 14.8926Z"},null,-1)];function X2(n,e){return c.openBlock(),c.createElementBlock("svg",Z2,G2)}const yd=me(J2,[["render",X2]]),q2={},e5={class:"icon icon-error",xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18"},t5=[c.createElementVNode("path",{d:"M9 18A9 9 0 1 1 9 0a9 9 0 0 1 0 18zm.542-7.01l.102-7.654h-1.42l.094 7.654h1.224zm-1.37 2.329c0 .22.067.401.201.546.135.144.334.216.597.216.264 0 .464-.072.6-.216a.761.761 0 0 0 .206-.546.787.787 0 0 0-.205-.553c-.137-.15-.337-.224-.6-.224-.264 0-.463.075-.598.224a.795.795 0 0 0-.201.553z"},null,-1)];function n5(n,e){return c.openBlock(),c.createElementBlock("svg",e5,t5)}const li=me(q2,[["render",n5]]),r5={},o5={class:"icon icon-external",width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},i5=[c.createElementVNode("path",{d:"M1 .25h7.352a.75.75 0 0 1 .101 1.493l-.101.007H1.75v14.5h14.5V9.52a.75.75 0 0 1 1.493-.101l.007.101V17a.75.75 0 0 1-.648.743L17 17.75H1a.75.75 0 0 1-.743-.648L.25 17V1A.75.75 0 0 1 .898.257L1 .25h7.352H1zm10.352 0h5.665c.02 0 .04.002.06.004L17 .25a.754.754 0 0 1 .53.22L17.452.4a.754.754 0 0 1 .291.497l.003.028c.002.015.003.03.003.046L17.75 1v5.56a.75.75 0 0 1-1.493.101l-.007-.101V2.81l-9.173 9.174a.75.75 0 0 1-.976.072l-.085-.072a.75.75 0 0 1 0-1.061l9.172-9.173h-3.836A.75.75 0 0 1 11.25.257l.102-.007H17h-5.648z"},null,-1)];function s5(n,e){return c.openBlock(),c.createElementBlock("svg",o5,i5)}const Cd=me(r5,[["render",s5]]),a5={},l5={width:"30px",height:"30px",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon icon-eye-show"},c5=[c.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12.0001 5.25C9.22586 5.25 6.79699 6.91121 5.12801 8.44832C4.28012 9.22922 3.59626 10.0078 3.12442 10.5906C2.88804 10.8825 2.70368 11.1268 2.57736 11.2997C2.51417 11.3862 2.46542 11.4549 2.43187 11.5029C2.41509 11.5269 2.4021 11.5457 2.393 11.559L2.38227 11.5747L2.37911 11.5794L2.10547 12.0132L2.37809 12.4191L2.37911 12.4206L2.38227 12.4253L2.393 12.441C2.4021 12.4543 2.41509 12.4731 2.43187 12.4971C2.46542 12.5451 2.51417 12.6138 2.57736 12.7003C2.70368 12.8732 2.88804 13.1175 3.12442 13.4094C3.59626 13.9922 4.28012 14.7708 5.12801 15.5517C6.79699 17.0888 9.22586 18.75 12.0001 18.75C14.7743 18.75 17.2031 17.0888 18.8721 15.5517C19.72 14.7708 20.4039 13.9922 20.8757 13.4094C21.1121 13.1175 21.2964 12.8732 21.4228 12.7003C21.4859 12.6138 21.5347 12.5451 21.5682 12.4971C21.585 12.4731 21.598 12.4543 21.6071 12.441L21.6178 12.4253L21.621 12.4206L21.6224 12.4186L21.9035 12L21.622 11.5809L21.621 11.5794L21.6178 11.5747L21.6071 11.559C21.598 11.5457 21.585 11.5269 21.5682 11.5029C21.5347 11.4549 21.4859 11.3862 21.4228 11.2997C21.2964 11.1268 21.1121 10.8825 20.8757 10.5906C20.4039 10.0078 19.72 9.22922 18.8721 8.44832C17.2031 6.91121 14.7743 5.25 12.0001 5.25ZM4.29022 12.4656C4.14684 12.2885 4.02478 12.1311 3.92575 12C4.02478 11.8689 4.14684 11.7115 4.29022 11.5344C4.72924 10.9922 5.36339 10.2708 6.14419 9.55168C7.73256 8.08879 9.80369 6.75 12.0001 6.75C14.1964 6.75 16.2676 8.08879 17.8559 9.55168C18.6367 10.2708 19.2709 10.9922 19.7099 11.5344C19.8533 11.7115 19.9753 11.8689 20.0744 12C19.9753 12.1311 19.8533 12.2885 19.7099 12.4656C19.2709 13.0078 18.6367 13.7292 17.8559 14.4483C16.2676 15.9112 14.1964 17.25 12.0001 17.25C9.80369 17.25 7.73256 15.9112 6.14419 14.4483C5.36339 13.7292 4.72924 13.0078 4.29022 12.4656ZM14.25 12C14.25 13.2426 13.2427 14.25 12 14.25C10.7574 14.25 9.75005 13.2426 9.75005 12C9.75005 10.7574 10.7574 9.75 12 9.75C13.2427 9.75 14.25 10.7574 14.25 12ZM15.75 12C15.75 14.0711 14.0711 15.75 12 15.75C9.92898 15.75 8.25005 14.0711 8.25005 12C8.25005 9.92893 9.92898 8.25 12 8.25C14.0711 8.25 15.75 9.92893 15.75 12Z",fill:"#080341"},null,-1)];function d5(n,e){return c.openBlock(),c.createElementBlock("svg",l5,c5)}const Ed=me(a5,[["render",d5]]),u5={},f5={fill:"#000000",width:"30px",height:"30px",viewBox:"0 0 32 32",version:"1.1",xmlns:"http://www.w3.org/2000/svg",class:"icon icon-eye-slash"},h5=[c.createElementVNode("path",{d:"M18.822 22.904c-5.215 1.275-10.524-1.051-15.818-6.904 1.337-1.501 2.79-2.843 4.364-4.034l0.076-0.055c0.186-0.138 0.305-0.357 0.305-0.604 0-0.414-0.336-0.75-0.75-0.75-0.166 0-0.32 0.054-0.444 0.146l0.002-0.001c-1.91 1.447-3.588 3.024-5.086 4.761l-0.036 0.042c-0.115 0.131-0.185 0.305-0.185 0.494s0.070 0.363 0.186 0.495l-0.001-0.001c4.803 5.488 9.693 8.254 14.582 8.254 1.123-0.001 2.212-0.142 3.252-0.406l-0.092 0.020c0.332-0.082 0.573-0.377 0.573-0.729 0-0.414-0.336-0.75-0.75-0.75-0.064 0-0.125 0.008-0.184 0.023l0.005-0.001zM16.75 20c-0-0.414-0.336-0.75-0.75-0.75v0c-1.794-0.002-3.248-1.456-3.25-3.25v-0c0-0.414-0.336-0.75-0.75-0.75s-0.75 0.336-0.75 0.75v0c0.003 2.622 2.128 4.747 4.75 4.75h0c0.414-0 0.75-0.336 0.75-0.75v0zM23.565 22.503c2.701-1.672 5.010-3.665 6.965-5.967l0.034-0.042c0.116-0.131 0.186-0.304 0.186-0.494s-0.070-0.363-0.187-0.495l0.001 0.001c-6.844-7.82-13.822-10.081-20.758-6.76l-7.277-7.276c-0.135-0.131-0.32-0.212-0.523-0.212-0.414 0-0.75 0.336-0.75 0.75 0 0.203 0.081 0.388 0.213 0.523l27.999 28.001c0.136 0.136 0.324 0.22 0.531 0.22 0.415 0 0.751-0.336 0.751-0.751 0-0.207-0.084-0.395-0.22-0.531v0zM28.996 16c-1.852 2.121-4.004 3.919-6.402 5.345l-0.121 0.067-2.636-2.635c0.569-0.767 0.911-1.731 0.912-2.776v-0c-0.003-2.622-2.128-4.747-4.75-4.75h-0c-1.045 0.002-2.009 0.344-2.789 0.921l0.013-0.009-2.29-2.29c6.027-2.647 11.95-0.64 18.062 6.127zM14.301 13.239c0.486-0.307 1.077-0.489 1.711-0.489 1.788 0 3.238 1.45 3.238 3.238 0 0.634-0.182 1.225-0.497 1.724l0.008-0.013z"},null,-1)];function p5(n,e){return c.openBlock(),c.createElementBlock("svg",f5,h5)}const bd=me(u5,[["render",p5]]),m5={},g5={version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 24 24",style:{"enable-background":"new 0 0 24 24"},"xml:space":"preserve",class:"icon icon-file"},v5=[c.createElementVNode("title",null,"common-file-empty",-1),c.createElementVNode("g",null,[c.createElementVNode("path",{d:`M3.023,24c-1.241,0-2.25-1.009-2.25-2.25V2.25C0.773,1.009,1.782,0,3.023,0h15c0.59,0,1.147,0.227,1.571,0.639l2.955,2.883
|
|
12
|
+
c0,0.414,0.336,0.75,0.75,0.75h6c0.414,0,0.75,0.336,0.75,0.75S8.663,21,8.249,21H2.249z`})],-1)];function N2(n,e){return c.openBlock(),c.createElementBlock("svg",O2,_2)}const pd=me(I2,[["render",N2]]),L2={},D2={xmlns:"http://www.w3.org/2000/svg",width:"23",height:"17",viewBox:"0 0 18 15",fill:"none"},B2=[c.createElementVNode("path",{d:"M6.375 7.75C4.43359 7.75 2.875 6.19141 2.875 4.25C2.875 2.33594 4.43359 0.75 6.375 0.75C8.28906 0.75 9.875 2.33594 9.875 4.25C9.875 6.19141 8.28906 7.75 6.375 7.75ZM6.375 2.0625C5.14453 2.0625 4.1875 3.04688 4.1875 4.25C4.1875 5.48047 5.14453 6.4375 6.375 6.4375C7.57812 6.4375 8.5625 5.48047 8.5625 4.25C8.5625 3.04688 7.57812 2.0625 6.375 2.0625ZM7.74219 9.0625C10.3672 9.0625 12.5 11.1953 12.5 13.8203C12.5 14.3398 12.0625 14.75 11.543 14.75H1.17969C0.660156 14.75 0.25 14.3398 0.25 13.8203C0.25 11.1953 2.35547 9.0625 4.98047 9.0625H7.74219ZM1.5625 13.4375H11.1602C10.9414 11.7422 9.51953 10.375 7.74219 10.375H4.98047C3.20312 10.375 1.75391 11.7422 1.5625 13.4375ZM13.3477 9.5C15.7812 9.5 17.75 11.4688 17.75 13.875C17.75 14.3672 17.3398 14.75 16.875 14.75H13.1016C13.2656 14.4766 13.375 14.1758 13.375 13.8203C13.375 12.0977 12.582 10.5391 11.3242 9.5H13.3477ZM12.0625 7.75C11.1875 7.75 10.4219 7.42188 9.875 6.84766C10.4219 6.13672 10.75 5.23438 10.75 4.25C10.75 3.53906 10.5312 2.85547 10.2305 2.25391C10.7227 1.87109 11.3516 1.625 12.0625 1.625C13.7305 1.625 15.125 3.01953 15.125 4.6875C15.125 6.38281 13.7305 7.75 12.0625 7.75Z",fill:"#394156"},null,-1)];function R2(n,e){return c.openBlock(),c.createElementBlock("svg",D2,B2)}const md=me(L2,[["render",R2]]),P2={},V2={class:"icon icon-copy",width:"11",height:"14",viewBox:"0 0 11 14",xmlns:"http://www.w3.org/2000/svg"},F2=[c.createElementVNode("path",{d:"M9 10V5a3 3 0 0 0-3-3H4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2zM2 3h4a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z"},null,-1)];function $2(n,e){return c.openBlock(),c.createElementBlock("svg",V2,F2)}const gd=me(P2,[["render",$2]]),z2={},H2={class:"icon icon-delete",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"20",viewBox:"0 0 16 20"},U2=[c.createElementVNode("path",{d:"M5.293 1.75A.749.749 0 0 1 6 .75h4a.75.75 0 0 1 .707 1H12.7a2.355 2.355 0 0 1 2.35 2.35v12.8a2.355 2.355 0 0 1-2.35 2.35H3.1A2.355 2.355 0 0 1 .75 16.9V4.1A2.355 2.355 0 0 1 3.1 1.75h2.193zM2.25 6.25V16.9c0 .466.384.85.85.85h9.6c.466 0 .85-.384.85-.85V6.25H2.25zm0-1.5h11.3V4.1a.855.855 0 0 0-.85-.85H3.1a.855.855 0 0 0-.85.85v.65zm5 4.75a.75.75 0 0 1 1.5 0v6a.75.75 0 1 1-1.5 0v-6zm3 0a.75.75 0 1 1 1.5 0v6a.75.75 0 1 1-1.5 0v-6zm-6 0a.75.75 0 0 1 1.5 0v6a.75.75 0 1 1-1.5 0v-6z"},null,-1)];function j2(n,e){return c.openBlock(),c.createElementBlock("svg",H2,U2)}const vd=me(z2,[["render",j2]]),W2={},K2={class:"icon icon-double-check",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"13",viewBox:"0 0 24 13"},Q2=[c.createElementVNode("path",{d:"M6 10.586L16.293.293a1 1 0 0 1 1.414 1.414l-11 11a1 1 0 0 1-1.414 0l-5-5a1 1 0 0 1 1.414-1.414L6 10.586zm6 0L22.293.293a1 1 0 0 1 1.414 1.414l-11 11a1 1 0 0 1-1.414 0l-1-1a1 1 0 0 1 1.414-1.414l.293.293z"},null,-1)];function Y2(n,e){return c.openBlock(),c.createElementBlock("svg",K2,Q2)}const yd=me(W2,[["render",Y2]]),G2={},Z2={viewBox:"0 0 20 20",height:"20",width:"20",xmlns:"http://www.w3.org/2000/svg",class:"icon icon-download-link"},J2=[c.createStaticVNode('<g transform="matrix(0.8333333333333334,0,0,0.8333333333333334,0,0)"><path d="M11.250 17.250 A6.000 6.000 0 1 0 23.250 17.250 A6.000 6.000 0 1 0 11.250 17.250 Z" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M17.25 14.25L17.25 20.25" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M17.25 20.25L15 18" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M17.25 20.25L19.5 18" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M8.25,20.25h-6a1.5,1.5,0,0,1-1.5-1.5V2.25A1.5,1.5,0,0,1,2.25.75H12.879a1.5,1.5,0,0,1,1.06.439l2.872,2.872a1.5,1.5,0,0,1,.439,1.06V8.25" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M5.25,5.625A.375.375,0,1,1,4.875,6a.375.375,0,0,1,.375-.375" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M12.085,9.586,11.25,8.25a.749.749,0,0,0-1.238-.014l-2,2.851L6.78,10.1a.75.75,0,0,0-1.093.169L3.75,14.25h4.5" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path></g>',1)];function X2(n,e){return c.openBlock(),c.createElementBlock("svg",Z2,J2)}const Ca=me(G2,[["render",X2]]),q2={},e5={xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18"},t5=[c.createElementVNode("path",{d:"M8.967 3.528L8.94 3.5 10 2.44l.028.027L12.025.47a.75.75 0 0 1 1.06 0l4.445 4.444a.75.75 0 0 1 0 1.06L5.975 17.53a.75.75 0 0 1-.53.22H1A.75.75 0 0 1 .25 17v-4.444a.75.75 0 0 1 .22-.53l8.497-8.498zm1.06 1.06L1.75 12.866v3.384h3.384l8.278-8.278-3.384-3.384zm1.061-1.06l3.384 3.384 1.467-1.468-3.383-3.383-1.468 1.467z"},null,-1)];function n5(n,e){return c.openBlock(),c.createElementBlock("svg",e5,t5)}const Cd=me(q2,[["render",n5]]),r5={},o5={class:"icon icon-end-call",width:"16",height:"16",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"},i5=[c.createElementVNode("path",{d:"M1.05664 14.8926L4.10352 15.5957C4.42578 15.6836 4.77734 15.5078 4.92383 15.1855L6.33008 11.9043C6.44727 11.6113 6.35938 11.2891 6.125 11.084L4.33789 9.61914C5.39258 7.39258 7.23828 5.51758 9.52344 4.43359L10.9883 6.2207C11.1934 6.45508 11.5156 6.54297 11.8086 6.42578L15.0898 5.01953C15.4121 4.87305 15.5586 4.52148 15.5 4.19922L14.7969 1.15234C14.709 0.830078 14.4453 0.625 14.0938 0.625C6.59375 0.625 0.5 6.68945 0.5 14.2188C0.5 14.541 0.734375 14.8047 1.05664 14.8926Z"},null,-1)];function s5(n,e){return c.openBlock(),c.createElementBlock("svg",o5,i5)}const Ed=me(r5,[["render",s5]]),a5={},l5={class:"icon icon-error",xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18"},c5=[c.createElementVNode("path",{d:"M9 18A9 9 0 1 1 9 0a9 9 0 0 1 0 18zm.542-7.01l.102-7.654h-1.42l.094 7.654h1.224zm-1.37 2.329c0 .22.067.401.201.546.135.144.334.216.597.216.264 0 .464-.072.6-.216a.761.761 0 0 0 .206-.546.787.787 0 0 0-.205-.553c-.137-.15-.337-.224-.6-.224-.264 0-.463.075-.598.224a.795.795 0 0 0-.201.553z"},null,-1)];function d5(n,e){return c.openBlock(),c.createElementBlock("svg",l5,c5)}const ci=me(a5,[["render",d5]]),u5={},f5={class:"icon icon-external",width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},h5=[c.createElementVNode("path",{d:"M1 .25h7.352a.75.75 0 0 1 .101 1.493l-.101.007H1.75v14.5h14.5V9.52a.75.75 0 0 1 1.493-.101l.007.101V17a.75.75 0 0 1-.648.743L17 17.75H1a.75.75 0 0 1-.743-.648L.25 17V1A.75.75 0 0 1 .898.257L1 .25h7.352H1zm10.352 0h5.665c.02 0 .04.002.06.004L17 .25a.754.754 0 0 1 .53.22L17.452.4a.754.754 0 0 1 .291.497l.003.028c.002.015.003.03.003.046L17.75 1v5.56a.75.75 0 0 1-1.493.101l-.007-.101V2.81l-9.173 9.174a.75.75 0 0 1-.976.072l-.085-.072a.75.75 0 0 1 0-1.061l9.172-9.173h-3.836A.75.75 0 0 1 11.25.257l.102-.007H17h-5.648z"},null,-1)];function p5(n,e){return c.openBlock(),c.createElementBlock("svg",f5,h5)}const bd=me(u5,[["render",p5]]),m5={},g5={width:"30px",height:"30px",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon icon-eye-show"},v5=[c.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12.0001 5.25C9.22586 5.25 6.79699 6.91121 5.12801 8.44832C4.28012 9.22922 3.59626 10.0078 3.12442 10.5906C2.88804 10.8825 2.70368 11.1268 2.57736 11.2997C2.51417 11.3862 2.46542 11.4549 2.43187 11.5029C2.41509 11.5269 2.4021 11.5457 2.393 11.559L2.38227 11.5747L2.37911 11.5794L2.10547 12.0132L2.37809 12.4191L2.37911 12.4206L2.38227 12.4253L2.393 12.441C2.4021 12.4543 2.41509 12.4731 2.43187 12.4971C2.46542 12.5451 2.51417 12.6138 2.57736 12.7003C2.70368 12.8732 2.88804 13.1175 3.12442 13.4094C3.59626 13.9922 4.28012 14.7708 5.12801 15.5517C6.79699 17.0888 9.22586 18.75 12.0001 18.75C14.7743 18.75 17.2031 17.0888 18.8721 15.5517C19.72 14.7708 20.4039 13.9922 20.8757 13.4094C21.1121 13.1175 21.2964 12.8732 21.4228 12.7003C21.4859 12.6138 21.5347 12.5451 21.5682 12.4971C21.585 12.4731 21.598 12.4543 21.6071 12.441L21.6178 12.4253L21.621 12.4206L21.6224 12.4186L21.9035 12L21.622 11.5809L21.621 11.5794L21.6178 11.5747L21.6071 11.559C21.598 11.5457 21.585 11.5269 21.5682 11.5029C21.5347 11.4549 21.4859 11.3862 21.4228 11.2997C21.2964 11.1268 21.1121 10.8825 20.8757 10.5906C20.4039 10.0078 19.72 9.22922 18.8721 8.44832C17.2031 6.91121 14.7743 5.25 12.0001 5.25ZM4.29022 12.4656C4.14684 12.2885 4.02478 12.1311 3.92575 12C4.02478 11.8689 4.14684 11.7115 4.29022 11.5344C4.72924 10.9922 5.36339 10.2708 6.14419 9.55168C7.73256 8.08879 9.80369 6.75 12.0001 6.75C14.1964 6.75 16.2676 8.08879 17.8559 9.55168C18.6367 10.2708 19.2709 10.9922 19.7099 11.5344C19.8533 11.7115 19.9753 11.8689 20.0744 12C19.9753 12.1311 19.8533 12.2885 19.7099 12.4656C19.2709 13.0078 18.6367 13.7292 17.8559 14.4483C16.2676 15.9112 14.1964 17.25 12.0001 17.25C9.80369 17.25 7.73256 15.9112 6.14419 14.4483C5.36339 13.7292 4.72924 13.0078 4.29022 12.4656ZM14.25 12C14.25 13.2426 13.2427 14.25 12 14.25C10.7574 14.25 9.75005 13.2426 9.75005 12C9.75005 10.7574 10.7574 9.75 12 9.75C13.2427 9.75 14.25 10.7574 14.25 12ZM15.75 12C15.75 14.0711 14.0711 15.75 12 15.75C9.92898 15.75 8.25005 14.0711 8.25005 12C8.25005 9.92893 9.92898 8.25 12 8.25C14.0711 8.25 15.75 9.92893 15.75 12Z",fill:"#080341"},null,-1)];function y5(n,e){return c.openBlock(),c.createElementBlock("svg",g5,v5)}const Ad=me(m5,[["render",y5]]),C5={},E5={fill:"#000000",width:"30px",height:"30px",viewBox:"0 0 32 32",version:"1.1",xmlns:"http://www.w3.org/2000/svg",class:"icon icon-eye-slash"},b5=[c.createElementVNode("path",{d:"M18.822 22.904c-5.215 1.275-10.524-1.051-15.818-6.904 1.337-1.501 2.79-2.843 4.364-4.034l0.076-0.055c0.186-0.138 0.305-0.357 0.305-0.604 0-0.414-0.336-0.75-0.75-0.75-0.166 0-0.32 0.054-0.444 0.146l0.002-0.001c-1.91 1.447-3.588 3.024-5.086 4.761l-0.036 0.042c-0.115 0.131-0.185 0.305-0.185 0.494s0.070 0.363 0.186 0.495l-0.001-0.001c4.803 5.488 9.693 8.254 14.582 8.254 1.123-0.001 2.212-0.142 3.252-0.406l-0.092 0.020c0.332-0.082 0.573-0.377 0.573-0.729 0-0.414-0.336-0.75-0.75-0.75-0.064 0-0.125 0.008-0.184 0.023l0.005-0.001zM16.75 20c-0-0.414-0.336-0.75-0.75-0.75v0c-1.794-0.002-3.248-1.456-3.25-3.25v-0c0-0.414-0.336-0.75-0.75-0.75s-0.75 0.336-0.75 0.75v0c0.003 2.622 2.128 4.747 4.75 4.75h0c0.414-0 0.75-0.336 0.75-0.75v0zM23.565 22.503c2.701-1.672 5.010-3.665 6.965-5.967l0.034-0.042c0.116-0.131 0.186-0.304 0.186-0.494s-0.070-0.363-0.187-0.495l0.001 0.001c-6.844-7.82-13.822-10.081-20.758-6.76l-7.277-7.276c-0.135-0.131-0.32-0.212-0.523-0.212-0.414 0-0.75 0.336-0.75 0.75 0 0.203 0.081 0.388 0.213 0.523l27.999 28.001c0.136 0.136 0.324 0.22 0.531 0.22 0.415 0 0.751-0.336 0.751-0.751 0-0.207-0.084-0.395-0.22-0.531v0zM28.996 16c-1.852 2.121-4.004 3.919-6.402 5.345l-0.121 0.067-2.636-2.635c0.569-0.767 0.911-1.731 0.912-2.776v-0c-0.003-2.622-2.128-4.747-4.75-4.75h-0c-1.045 0.002-2.009 0.344-2.789 0.921l0.013-0.009-2.29-2.29c6.027-2.647 11.95-0.64 18.062 6.127zM14.301 13.239c0.486-0.307 1.077-0.489 1.711-0.489 1.788 0 3.238 1.45 3.238 3.238 0 0.634-0.182 1.225-0.497 1.724l0.008-0.013z"},null,-1)];function A5(n,e){return c.openBlock(),c.createElementBlock("svg",E5,b5)}const wd=me(C5,[["render",A5]]),w5={},S5={version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 24 24",style:{"enable-background":"new 0 0 24 24"},"xml:space":"preserve",class:"icon icon-file"},k5=[c.createElementVNode("title",null,"common-file-empty",-1),c.createElementVNode("g",null,[c.createElementVNode("path",{d:`M3.023,24c-1.241,0-2.25-1.009-2.25-2.25V2.25C0.773,1.009,1.782,0,3.023,0h15c0.59,0,1.147,0.227,1.571,0.639l2.955,2.883
|
|
13
13
|
c0.431,0.422,0.678,1.009,0.678,1.611V21.75c0,1.241-1.009,2.25-2.25,2.25H3.023z M3.023,1.5c-0.414,0-0.75,0.336-0.75,0.75v19.5
|
|
14
14
|
c0,0.414,0.336,0.75,0.75,0.75h17.954c0.414,0,0.75-0.336,0.75-0.75V5.133c0-0.201-0.082-0.397-0.226-0.537l-2.955-2.883
|
|
15
|
-
C18.406,1.576,18.22,1.5,18.023,1.5H3.023z`})],-1)];function y5(n,e){return c.openBlock(),c.createElementBlock("svg",g5,v5)}const va=me(m5,[["render",y5]]),C5={},E5={class:"icon icon-file-added",width:"14",height:"18",viewBox:"0 0 14 18",xmlns:"http://www.w3.org/2000/svg"},b5=[c.createElementVNode("path",{d:"M9.235.25c.2 0 .393.08.534.223l3.764 3.808a.75.75 0 0 1 .217.528V17a.75.75 0 0 1-.75.75H1A.75.75 0 0 1 .25 17V1A.75.75 0 0 1 1 .25h8.235zM8.08 1.75H1.75v14.5h10.5V6.085H8.83a.75.75 0 0 1-.744-.648l-.007-.102V1.75zm.349 7.047a.75.75 0 1 1 1.253.824L7.19 13.412a.75.75 0 0 1-1.12.153l-1.562-1.364a.75.75 0 1 1 .986-1.13l.915.799 2.02-3.073zm1.151-6.382v2.17h2.146l-2.146-2.17z"},null,-1)];function A5(n,e){return c.openBlock(),c.createElementBlock("svg",E5,b5)}const Ad=me(C5,[["render",A5]]),w5={},S5={class:"icon icon-forward",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"14",viewBox:"0 0 16 14"},k5=[c.createElementVNode("path",{d:"M15.782.14a.588.588 0 0 0-.61-.081L.572 6.426a.947.947 0 0 0-.57.93.94.94 0 0 0 .675.857l3.6 1.088a.59.59 0 0 0 .341-1.128l-3.013-.911L13.01 2.288 6.284 9.003c-.004.003-.007.01-.014.013l-.026.026a.1.1 0 0 0-.016.023c-.003.007-.01.013-.013.02-.004.003-.004.006-.004.006-.006.007-.01.017-.016.023-.007.01-.01.02-.016.03-.004.006-.007.016-.01.023-.007.01-.01.023-.017.033-.003.006-.006.013-.006.02-.003.012-.01.022-.013.035-.004.007-.004.013-.007.02l-.01.04c0 .006-.003.012-.003.019-.003.013-.003.026-.003.04v.075l.177 3.36a.91.91 0 0 0 1.583.561l1.348-1.488 2.656 1.839a.963.963 0 0 0 .898.101.95.95 0 0 0 .58-.688L15.985.721a.593.593 0 0 0-.203-.58zM7.434 12.102l-.078-1.511.888.616-.81.895zm4.836.456L7.618 9.334l6.764-6.75-2.112 9.973z"},null,-1)];function x5(n,e){return c.openBlock(),c.createElementBlock("svg",S5,k5)}const wd=me(w5,[["render",x5]]),T5={},M5={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},I5=[c.createElementVNode("rect",{width:"20",height:"20",fill:"url(#pattern0)"},null,-1),c.createElementVNode("defs",null,[c.createElementVNode("pattern",{id:"pattern0",patternContentUnits:"objectBoundingBox",width:"1",height:"1"},[c.createElementVNode("use",{"xlink:href":"#image0",transform:"translate(-0.00125313) scale(0.00250627)"})]),c.createElementVNode("image",{id:"image0",width:"400",height:"399","xlink:href":"data:image/png;base64,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"})],-1)];function O5(n,e){return c.openBlock(),c.createElementBlock("svg",M5,I5)}const Sd=me(T5,[["render",O5]]),_5={},N5={class:"icon icon-hyperlink",xmlns:"http://www.w3.org/2000/svg",version:"1.1","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:svgjs":"http://svgjs.com/svgjs",viewBox:"0 0 20 20",width:"20",height:"20"},L5=[c.createElementVNode("g",{transform:"matrix(0.8333333333333334,0,0,0.8333333333333334,0,0)"},[c.createElementVNode("path",{d:"M10.458,18.374,7.721,21.11a2.853,2.853,0,0,1-3.942,0l-.892-.891a2.787,2.787,0,0,1,0-3.941l5.8-5.8a2.789,2.789,0,0,1,3.942,0l.893.892A1,1,0,0,0,14.94,9.952l-.893-.892a4.791,4.791,0,0,0-6.771,0l-5.8,5.8a4.787,4.787,0,0,0,0,6.77l.892.891a4.785,4.785,0,0,0,6.771,0l2.736-2.735a1,1,0,1,0-1.414-1.415Z",stroke:"none","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"0"}),c.createElementVNode("path",{d:"M22.526,2.363l-.892-.892a4.8,4.8,0,0,0-6.77,0l-2.905,2.9a1,1,0,0,0,1.414,1.414l2.9-2.9a2.79,2.79,0,0,1,3.941,0l.893.893a2.786,2.786,0,0,1,0,3.942l-5.8,5.8a2.769,2.769,0,0,1-1.971.817h0a2.766,2.766,0,0,1-1.969-.816,1,1,0,1,0-1.415,1.412,4.751,4.751,0,0,0,3.384,1.4h0a4.752,4.752,0,0,0,3.385-1.4l5.8-5.8a4.786,4.786,0,0,0,0-6.771Z",stroke:"none","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"0"})],-1)];function D5(n,e){return c.openBlock(),c.createElementBlock("svg",N5,L5)}const ci=me(_5,[["render",D5]]),B5={},R5={version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 24 24",style:{"enable-background":"new 0 0 24 24"},"xml:space":"preserve"},P5=[c.createElementVNode("title",null,"image-file-landscape",-1),c.createElementVNode("g",null,[c.createElementVNode("path",{d:`M3.023,24c-1.241,0-2.25-1.009-2.25-2.25V2.25C0.773,1.009,1.782,0,3.023,0h15c0.59,0,1.147,0.227,1.571,0.639l2.955,2.883
|
|
15
|
+
C18.406,1.576,18.22,1.5,18.023,1.5H3.023z`})],-1)];function x5(n,e){return c.openBlock(),c.createElementBlock("svg",S5,k5)}const Ea=me(w5,[["render",x5]]),T5={},M5={class:"icon icon-file-added",width:"14",height:"18",viewBox:"0 0 14 18",xmlns:"http://www.w3.org/2000/svg"},I5=[c.createElementVNode("path",{d:"M9.235.25c.2 0 .393.08.534.223l3.764 3.808a.75.75 0 0 1 .217.528V17a.75.75 0 0 1-.75.75H1A.75.75 0 0 1 .25 17V1A.75.75 0 0 1 1 .25h8.235zM8.08 1.75H1.75v14.5h10.5V6.085H8.83a.75.75 0 0 1-.744-.648l-.007-.102V1.75zm.349 7.047a.75.75 0 1 1 1.253.824L7.19 13.412a.75.75 0 0 1-1.12.153l-1.562-1.364a.75.75 0 1 1 .986-1.13l.915.799 2.02-3.073zm1.151-6.382v2.17h2.146l-2.146-2.17z"},null,-1)];function O5(n,e){return c.openBlock(),c.createElementBlock("svg",M5,I5)}const Sd=me(T5,[["render",O5]]),_5={},N5={class:"icon icon-forward",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"14",viewBox:"0 0 16 14"},L5=[c.createElementVNode("path",{d:"M15.782.14a.588.588 0 0 0-.61-.081L.572 6.426a.947.947 0 0 0-.57.93.94.94 0 0 0 .675.857l3.6 1.088a.59.59 0 0 0 .341-1.128l-3.013-.911L13.01 2.288 6.284 9.003c-.004.003-.007.01-.014.013l-.026.026a.1.1 0 0 0-.016.023c-.003.007-.01.013-.013.02-.004.003-.004.006-.004.006-.006.007-.01.017-.016.023-.007.01-.01.02-.016.03-.004.006-.007.016-.01.023-.007.01-.01.023-.017.033-.003.006-.006.013-.006.02-.003.012-.01.022-.013.035-.004.007-.004.013-.007.02l-.01.04c0 .006-.003.012-.003.019-.003.013-.003.026-.003.04v.075l.177 3.36a.91.91 0 0 0 1.583.561l1.348-1.488 2.656 1.839a.963.963 0 0 0 .898.101.95.95 0 0 0 .58-.688L15.985.721a.593.593 0 0 0-.203-.58zM7.434 12.102l-.078-1.511.888.616-.81.895zm4.836.456L7.618 9.334l6.764-6.75-2.112 9.973z"},null,-1)];function D5(n,e){return c.openBlock(),c.createElementBlock("svg",N5,L5)}const kd=me(_5,[["render",D5]]),B5={},R5={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},P5=[c.createElementVNode("rect",{width:"20",height:"20",fill:"url(#pattern0)"},null,-1),c.createElementVNode("defs",null,[c.createElementVNode("pattern",{id:"pattern0",patternContentUnits:"objectBoundingBox",width:"1",height:"1"},[c.createElementVNode("use",{"xlink:href":"#image0",transform:"translate(-0.00125313) scale(0.00250627)"})]),c.createElementVNode("image",{id:"image0",width:"400",height:"399","xlink:href":"data:image/png;base64,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"})],-1)];function V5(n,e){return c.openBlock(),c.createElementBlock("svg",R5,P5)}const xd=me(B5,[["render",V5]]),F5={},$5={class:"icon icon-hyperlink",xmlns:"http://www.w3.org/2000/svg",version:"1.1","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:svgjs":"http://svgjs.com/svgjs",viewBox:"0 0 20 20",width:"20",height:"20"},z5=[c.createElementVNode("g",{transform:"matrix(0.8333333333333334,0,0,0.8333333333333334,0,0)"},[c.createElementVNode("path",{d:"M10.458,18.374,7.721,21.11a2.853,2.853,0,0,1-3.942,0l-.892-.891a2.787,2.787,0,0,1,0-3.941l5.8-5.8a2.789,2.789,0,0,1,3.942,0l.893.892A1,1,0,0,0,14.94,9.952l-.893-.892a4.791,4.791,0,0,0-6.771,0l-5.8,5.8a4.787,4.787,0,0,0,0,6.77l.892.891a4.785,4.785,0,0,0,6.771,0l2.736-2.735a1,1,0,1,0-1.414-1.415Z",stroke:"none","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"0"}),c.createElementVNode("path",{d:"M22.526,2.363l-.892-.892a4.8,4.8,0,0,0-6.77,0l-2.905,2.9a1,1,0,0,0,1.414,1.414l2.9-2.9a2.79,2.79,0,0,1,3.941,0l.893.893a2.786,2.786,0,0,1,0,3.942l-5.8,5.8a2.769,2.769,0,0,1-1.971.817h0a2.766,2.766,0,0,1-1.969-.816,1,1,0,1,0-1.415,1.412,4.751,4.751,0,0,0,3.384,1.4h0a4.752,4.752,0,0,0,3.385-1.4l5.8-5.8a4.786,4.786,0,0,0,0-6.771Z",stroke:"none","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"0"})],-1)];function H5(n,e){return c.openBlock(),c.createElementBlock("svg",$5,z5)}const di=me(F5,[["render",H5]]),U5={},j5={version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 24 24",style:{"enable-background":"new 0 0 24 24"},"xml:space":"preserve"},W5=[c.createElementVNode("title",null,"image-file-landscape",-1),c.createElementVNode("g",null,[c.createElementVNode("path",{d:`M3.023,24c-1.241,0-2.25-1.009-2.25-2.25V2.25C0.773,1.009,1.782,0,3.023,0h15c0.59,0,1.147,0.227,1.571,0.639l2.955,2.883
|
|
16
16
|
c0.431,0.422,0.678,1.009,0.678,1.611V21.75c0,1.241-1.009,2.25-2.25,2.25H3.023z M3.023,1.5c-0.414,0-0.75,0.336-0.75,0.75v19.5
|
|
17
17
|
c0,0.414,0.336,0.75,0.75,0.75h17.954c0.414,0,0.75-0.336,0.75-0.75V5.133c0-0.201-0.082-0.397-0.226-0.537l-2.955-2.883
|
|
18
18
|
C18.406,1.576,18.22,1.5,18.023,1.5H3.023z`}),c.createElementVNode("path",{d:`M8.273,10.5c-1.654,0-3-1.346-3-3s1.346-3,3-3s3,1.346,3,3S9.927,10.5,8.273,10.5z M8.273,6c-0.827,0-1.5,0.673-1.5,1.5
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
c-0.148,0-0.292-0.043-0.415-0.125c-0.344-0.229-0.438-0.696-0.209-1.04l2.111-3.171c0.028-0.042,0.059-0.085,0.093-0.127
|
|
24
24
|
c0.293-0.366,0.713-0.597,1.18-0.648c0.066-0.007,0.132-0.011,0.198-0.011c0.401,0,0.78,0.134,1.096,0.387l1.044,0.837l2.232-3.189
|
|
25
25
|
c0.126-0.181,0.284-0.335,0.468-0.458c0.289-0.193,0.625-0.294,0.973-0.294c0.593,0,1.142,0.294,1.469,0.786l3.925,5.887
|
|
26
|
-
c0.111,0.167,0.151,0.367,0.112,0.563c-0.04,0.197-0.153,0.366-0.32,0.477C19.105,18.906,18.961,18.95,18.813,18.95L18.813,18.95z`})],-1)];function
|
|
26
|
+
c0.111,0.167,0.151,0.367,0.112,0.563c-0.04,0.197-0.153,0.366-0.32,0.477C19.105,18.906,18.961,18.95,18.813,18.95L18.813,18.95z`})],-1)];function K5(n,e){return c.openBlock(),c.createElementBlock("svg",j5,W5)}const Td=me(U5,[["render",K5]]),Q5={},Y5={version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 24 24",style:{"enable-background":"new 0 0 24 24"},"xml:space":"preserve",class:"icon icon-image-file-warning"},G5=[c.createStaticVNode(`<title>image-file-warning</title><g><circle cx="17.249" cy="20.625" r="1.125"></circle><path d="M17.249,18.75c-0.414,0-0.75-0.336-0.75-0.75v-3c0-0.414,0.336-0.75,0.75-0.75s0.75,0.336,0.75,0.75v3
|
|
27
27
|
C17.999,18.414,17.663,18.75,17.249,18.75z"></path><path d="M13.023,24c-1.391,0-2.524-1.132-2.525-2.523c0-0.39,0.092-0.781,0.267-1.131l4.226-8.451
|
|
28
28
|
c0.43-0.861,1.297-1.396,2.262-1.396c0.393,0,0.771,0.089,1.124,0.266c0.486,0.243,0.887,0.644,1.13,1.13l4.226,8.451
|
|
29
29
|
c0.623,1.244,0.117,2.764-1.127,3.386C22.256,23.908,21.865,24,21.475,24H13.023z M17.252,12c-0.392,0-0.744,0.217-0.918,0.567
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
c0.504,0,0.972,0.25,1.25,0.669l1.618,2.588c0.219,0.351,0.112,0.814-0.239,1.033c-0.12,0.075-0.257,0.114-0.397,0.114
|
|
38
38
|
c-0.26,0-0.498-0.132-0.636-0.352l-1.606-2.57l-1.988,2.87c-0.118,0.169-0.304,0.283-0.508,0.312
|
|
39
39
|
c-0.036,0.005-0.071,0.007-0.106,0.007c-0.17,0-0.337-0.059-0.469-0.165L6.316,10.69L4.948,13.5h4.801
|
|
40
|
-
c0.414,0,0.75,0.336,0.75,0.75S10.163,15,9.749,15H3.749z"></path></g>`,2)];function
|
|
40
|
+
c0.414,0,0.75,0.336,0.75,0.75S10.163,15,9.749,15H3.749z"></path></g>`,2)];function Z5(n,e){return c.openBlock(),c.createElementBlock("svg",Y5,G5)}const Md=me(Q5,[["render",Z5]]),J5={},X5={class:"icon icon-info",xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18"},q5=[c.createElementVNode("path",{d:"M9 18A9 9 0 1 1 9 0a9 9 0 0 1 0 18zm.498-4V6.075H8.143V14h1.355zM8.033 3.973c0 .22.067.403.201.55.134.146.333.22.597.22.264 0 .464-.074.6-.22a.774.774 0 0 0 .206-.55.8.8 0 0 0-.205-.556c-.137-.152-.337-.228-.6-.228-.265 0-.464.076-.598.228a.809.809 0 0 0-.201.556z"},null,-1)];function eg(n,e){return c.openBlock(),c.createElementBlock("svg",X5,q5)}const qn=me(J5,[["render",eg]]),tg={},ng={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",class:"icon-info-circle"},rg=[c.createStaticVNode('<g transform="matrix(0.8333333333333334,0,0,0.8333333333333334,0,0)"><path stroke-linecap="round" stroke-linejoin="round" d="M14.25 16.5H13.5C13.1022 16.5 12.7206 16.342 12.4393 16.0607C12.158 15.7794 12 15.3978 12 15V11.25C12 11.0511 11.921 10.8603 11.7803 10.7197C11.6397 10.579 11.4489 10.5 11.25 10.5H10.5"></path><path d="M11.625 7.5C11.4179 7.5 11.25 7.33211 11.25 7.125C11.25 6.91789 11.4179 6.75 11.625 6.75"></path><path d="M11.625 7.5C11.8321 7.5 12 7.33211 12 7.125C12 6.91789 11.8321 6.75 11.625 6.75"></path><path stroke-linecap="round" stroke-linejoin="round" d="M12 23.25C18.2132 23.25 23.25 18.2132 23.25 12C23.25 5.7868 18.2132 0.75 12 0.75C5.7868 0.75 0.75 5.7868 0.75 12C0.75 18.2132 5.7868 23.25 12 23.25Z"></path></g>',1)];function og(n,e){return c.openBlock(),c.createElementBlock("svg",ng,rg)}const Id=me(tg,[["render",og]]),ig={},sg={width:"12",height:"14",viewBox:"0 0 12 14",xmlns:"http://www.w3.org/2000/svg",class:"icon icon-italic"},ag=[c.createElementVNode("path",{d:"M12 0.75C12 1.1875 11.6562 1.5 11.25 1.5H9.125L4.53125 12.5H7.25C7.65625 12.5 8 12.8438 8 13.25C8 13.6875 7.65625 14 7.25 14H0.75C0.3125 14 0 13.6875 0 13.25C0 12.8438 0.3125 12.5 0.75 12.5H2.9375L7.53125 1.5H4.75C4.3125 1.5 4 1.1875 4 0.75C4 0.34375 4.3125 0 4.75 0H11.25C11.6562 0 12 0.34375 12 0.75Z"},null,-1)];function lg(n,e){return c.openBlock(),c.createElementBlock("svg",sg,ag)}const ba=me(ig,[["render",lg]]),cg={},dg={class:"icon icon-list-view",width:"20",height:"19",viewBox:"0 0 20 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"},ug=[c.createElementVNode("path",{d:"M0 2.625V16.375C0 17.4297 0.820312 18.25 1.875 18.25H18.125C19.1406 18.25 20 17.4297 20 16.375V2.625C20 1.60938 19.1406 0.75 18.125 0.75H1.875C0.820312 0.75 0 1.60938 0 2.625ZM18.4375 11.375H7.69531V7.625H18.4375V11.375ZM18.4375 12.9375V16.2188C18.4375 16.4922 18.2031 16.6875 17.9688 16.6875H7.69531V12.9375H18.4375ZM1.5625 7.625H6.13281V11.375H1.5625V7.625ZM7.69531 6.0625V2.3125H17.9688C18.2031 2.3125 18.4375 2.54688 18.4375 2.78125V6.0625H7.69531ZM6.13281 2.3125V6.0625H1.5625V2.78125C1.5625 2.54688 1.75781 2.3125 2.03125 2.3125H6.13281ZM1.5625 12.9375H6.13281V16.6875H2.03125C1.75781 16.6875 1.5625 16.4922 1.5625 16.2188V12.9375Z",fill:"#394156"},null,-1)];function fg(n,e){return c.openBlock(),c.createElementBlock("svg",dg,ug)}const Od=me(cg,[["render",fg]]),hg={},pg={class:"icon icon-lock",width:"13",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13 18"},mg=[c.createElementVNode("path",{d:"M5.75 12.8a1.5 1.5 0 1 1 1.5 0v.7a.75.75 0 1 1-1.5 0v-.7zm-3.5-6.55V4.5a4.25 4.25 0 1 1 8.5 0v1.75H11c.966 0 1.75.784 1.75 1.75v8A1.75 1.75 0 0 1 11 17.75H2A1.75 1.75 0 0 1 .25 16V8c0-.966.784-1.75 1.75-1.75h.25zm1.5 0h5.5V4.5a2.75 2.75 0 1 0-5.5 0v1.75zM2 7.75a.25.25 0 0 0-.25.25v8c0 .138.112.25.25.25h9a.25.25 0 0 0 .25-.25V8a.25.25 0 0 0-.25-.25H2z"},null,-1)];function gg(n,e){return c.openBlock(),c.createElementBlock("svg",pg,mg)}const _d=me(hg,[["render",gg]]),vg={},yg={width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Cg=[c.createElementVNode("circle",{cx:"6",cy:"6",r:"6",fill:"#F65139"},null,-1)];function Eg(n,e){return c.openBlock(),c.createElementBlock("svg",yg,Cg)}const Nd=me(vg,[["render",Eg]]),bg={},Ag={version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",class:"icon-luscii-logo",viewBox:"0 0 283.46 283.46",style:{"enable-background":"new 0 0 283.46 283.46"},"xml:space":"preserve"},wg=[c.createStaticVNode(`<g><path class="st0" d="M182.51,146.67l34.45-34.45l-0.02-0.01c4.39-4.3,7.13-10.28,7.13-16.91c0-13.07-10.6-23.67-23.67-23.67
|
|
41
41
|
c-7.19,0-13.61,3.22-17.95,8.27c-4.34-5.06-10.77-8.27-17.95-8.27c-13.07,0-23.67,10.6-23.67,23.67c0,6.36,2.51,12.13,6.58,16.38
|
|
42
42
|
L182.51,146.67z"></path><g><path class="st1" d="M182.52,146.67C182.52,146.66,182.53,146.66,182.52,146.67l-0.07-0.08
|
|
43
43
|
C182.48,146.61,182.5,146.64,182.52,146.67z"></path><linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="0.1062" y1="200.7396" x2="182.5212" y2="200.7396"><stop offset="0" style="stop-color:#9AD0BC;"></stop><stop offset="3.045450e-03" style="stop-color:#9AD0BC;"></stop><stop offset="0.9441" style="stop-color:#61BBA1;"></stop><stop offset="1" style="stop-color:#61BBA1;"></stop></linearGradient><path class="st2" d="M182.52,146.67c-0.02-0.03-0.04-0.05-0.07-0.08l-28.65-28.57c-28.32,22.4-64.09,35.82-103,35.82
|
|
@@ -52,25 +52,25 @@
|
|
|
52
52
|
C194.48,8.24,172.09,1.23,148.13,0.16c1.97,26.33,10.08,50.92,22.88,72.4C175.53,73.86,179.51,76.43,182.48,79.9z"></path><path class="st7" d="M182.54,146.67L182.54,146.67c-0.01-0.01-0.01,0-0.02,0c21.62,28.06,34.51,63.19,34.51,101.35
|
|
53
53
|
c0,4.78-0.25,9.5-0.64,14.18c37.8-23.48,63.72-64.24,66.74-111.25c-26.87-5.02-51.45-16.5-72.1-32.78L182.54,146.67z"></path><path class="st8" d="M182.52,146.67c-21.86,28.14-34.91,63.46-34.91,101.86c0,11.86,1.27,23.43,3.63,34.59
|
|
54
54
|
c23.8-1.58,46-9.02,65.15-20.91c0.4-4.68,0.64-9.4,0.64-14.18C217.04,209.86,204.14,174.73,182.52,146.67z"></path><path class="st9" d="M272.67,87.44c-22.45,5.72-43.03,16.06-60.78,29.87l-0.86,0.86c20.64,16.28,45.23,27.76,72.1,32.78
|
|
55
|
-
c0.2-3.05,0.33-6.12,0.33-9.22C283.46,122.5,279.61,104.17,272.67,87.44z"></path></g></g>`,1)];function gg(n,e){return c.openBlock(),c.createElementBlock("svg",pg,mg)}const _d=me(hg,[["render",gg]]),vg={},yg={class:"icon icon-luscii-open luscii-open",width:"14",height:"12",viewBox:"0 0 14 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Cg=[c.createElementVNode("path",{d:"M7 0.5L13.5 11.5H0.5L7 0.5Z",fill:"#FF8800"},null,-1)];function Eg(n,e){return c.openBlock(),c.createElementBlock("svg",yg,Cg)}const Nd=me(vg,[["render",Eg]]),bg={},Ag={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wg=[c.createElementVNode("circle",{cx:"12",cy:"12",r:"6",fill:"#FF6266"},null,-1),c.createElementVNode("circle",{cx:"14.5",cy:"9.5",r:"1.5",fill:"white","fill-opacity":"0.1"},null,-1)];function Sg(n,e){return c.openBlock(),c.createElementBlock("svg",Ag,wg)}const Ld=me(bg,[["render",Sg]]),kg={},xg={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Tg=[c.createElementVNode("path",{d:"M4.92892 13.4142C4.14787 12.6332 4.14787 11.3668 4.92892 10.5858L10.5858 4.92893C11.3668 4.14788 12.6332 4.14788 13.4142 4.92893L19.0711 10.5858C19.8521 11.3668 19.8521 12.6332 19.0711 13.4142L13.4142 19.0711C12.6332 19.8521 11.3668 19.8521 10.5858 19.0711L4.92892 13.4142Z",fill:"#9CA3AF"},null,-1),c.createElementVNode("circle",{cx:"12",cy:"7.05029",r:"1.5",transform:"rotate(-45 12 7.05029)",fill:"white","fill-opacity":"0.1"},null,-1)];function Mg(n,e){return c.openBlock(),c.createElementBlock("svg",xg,Tg)}const Dd=me(kg,[["render",Mg]]),Ig={},Og={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},_g=[c.createElementVNode("rect",{x:"6",y:"6",width:"12",height:"12",rx:"2",fill:"#FB923C"},null,-1),c.createElementVNode("circle",{cx:"15.5",cy:"8.5",r:"1.5",fill:"white","fill-opacity":"0.1"},null,-1)];function Ng(n,e){return c.openBlock(),c.createElementBlock("svg",Og,_g)}const Bd=me(Ig,[["render",Ng]]),Lg={},Dg={class:"icon icon-menu",xmlns:"http://www.w3.org/2000/svg",width:"19",height:"12",viewBox:"0 0 19 12"},Bg=[c.createElementVNode("path",{d:"M1.386 2a1 1 0 1 1 0-2H18a1 1 0 0 1 0 2H1.386zm0 5a1 1 0 1 1 0-2H18a1 1 0 0 1 0 2H1.386zm0 5a1 1 0 0 1 0-2H18a1 1 0 0 1 0 2H1.386z"},null,-1)];function Rg(n,e){return c.openBlock(),c.createElementBlock("svg",Dg,Bg)}const Ca=me(Lg,[["render",Rg]]),Pg={},Fg={class:"icon icon-message",xmlns:"http://www.w3.org/2000/svg",width:"18",height:"15",viewBox:"0 0 18 15"},Vg=[c.createElementVNode("path",{d:"M17.75 2.587V12.2a2.355 2.355 0 0 1-2.35 2.35H2.6A2.355 2.355 0 0 1 .25 12.2V2.61v-.023A2.355 2.355 0 0 1 2.6.25h12.8a2.355 2.355 0 0 1 2.35 2.337zm-1.572-.327a.855.855 0 0 0-.778-.51H2.6a.855.855 0 0 0-.778.51L9 7.285l7.178-5.025zm.072 1.78L9.43 8.814a.75.75 0 0 1-.86 0L1.75 4.04v8.16c0 .466.384.85.85.85h12.8c.466 0 .85-.384.85-.85V4.04z"},null,-1)];function $g(n,e){return c.openBlock(),c.createElementBlock("svg",Fg,Vg)}const Rd=me(Pg,[["render",$g]]),zg={},Hg={class:"icon icon-message-forward",xmlns:"http://www.w3.org/2000/svg",width:"21",height:"19",viewBox:"0 0 21 19"},Ug=[c.createElementVNode("path",{d:"M17.75 8.755a5.25 5.25 0 1 1-7.395 5.795H2.6A2.355 2.355 0 0 1 .25 12.2V2.587A2.355 2.355 0 0 1 2.6.25h12.8a2.355 2.355 0 0 1 2.35 2.337v6.168zm-1.5-.452V4.04L9.43 8.814a.75.75 0 0 1-.86 0L1.75 4.04v8.16c0 .466.384.85.85.85h7.669a5.25 5.25 0 0 1 5.981-4.747zm-.072-6.043a.855.855 0 0 0-.778-.51H2.6a.855.855 0 0 0-.778.51L9 7.285l7.178-5.025zM15.5 17.25a3.75 3.75 0 1 0 0-7.5 3.75 3.75 0 0 0 0 7.5zm-.31-3l.84.841a.75.75 0 1 1-1.06 1.06l-2.122-2.12a.75.75 0 0 1 0-1.061l2.122-2.122a.75.75 0 0 1 1.06 1.061l-.84.841h2.431a.75.75 0 1 1 0 1.5H15.19z"},null,-1)];function jg(n,e){return c.openBlock(),c.createElementBlock("svg",Hg,Ug)}const Pd=me(zg,[["render",jg]]),Wg={},Kg=[c.createElementVNode("path",{d:"M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L472.1 344.7c15.2-26 23.9-56.3 23.9-88.7V216c0-13.3-10.7-24-24-24s-24 10.7-24 24v40c0 21.2-5.1 41.1-14.2 58.7L416 300.8V96c0-53-43-96-96-96s-96 43-96 96v54.3L38.8 5.1zM344 430.4c20.4-2.8 39.7-9.1 57.3-18.2l-43.1-33.9C346.1 382 333.3 384 320 384c-70.7 0-128-57.3-128-128v-8.7L144.7 210c-.5 1.9-.7 3.9-.7 6v40c0 89.1 66.2 162.7 152 174.4V464H248c-13.3 0-24 10.7-24 24s10.7 24 24 24h72 72c13.3 0 24-10.7 24-24s-10.7-24-24-24H344V430.4z"},null,-1)];function Qg(n,e){return c.openBlock(),c.createElementBlock("svg",c.mergeProps(n.$attrs,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512",class:"icon"}),Kg,16)}const Fd=me(Wg,[["render",Qg]]),Yg={},Jg={class:"icon icon-microsoft-teams",xmlns:"http://www.w3.org/2000/svg",width:"18px",height:"18px",viewBox:"0 0 64 64"},Zg=[c.createStaticVNode('<path d="M42 40.531V27.205A1.204 1.204 0 0143.204 26h13.494A2.302 2.302 0 0159 28.302v12.23A8.469 8.469 0 0150.531 49h-.062A8.469 8.469 0 0142 40.531z" fill="#5059c9"></path><circle cx="50.5" cy="17.5" r="5.5" fill="#5059c9"></circle><path d="M49.855 49.622q-.17-.008-.35-.022.174.015.35.022zm.157.005l-.077-.002z" fill="#5059c9"></path><circle cx="33" cy="15" r="8" fill="#7b83eb"></circle><path d="M45.667 26H22.333A2.32 2.32 0 0020 28.308v13.846a14 14 0 0028 0V28.308A2.32 2.32 0 0045.667 26z" fill="#7b83eb"></path><path d="M33 26v20.67a1.734 1.734 0 01-.04.4A2.314 2.314 0 0130.67 49h-8.83a10.81 10.81 0 01-.53-1c-.16-.33-.3-.66-.43-1a13.69 13.69 0 01-.88-4.85V28.31A2.316 2.316 0 0122.33 26zm0-5.67V23a8.257 8.257 0 01-1-.06A8.02 8.02 0 0125.58 18h5.09A2.326 2.326 0 0133 20.33z" opacity=".2"></path><path d="M34 26v18.67A3.362 3.362 0 0130.67 48h-9.36c-.16-.33-.3-.66-.43-1a13.69 13.69 0 01-.88-4.85V28.31A2.316 2.316 0 0122.33 26zm0-5.67v2.61a8.355 8.355 0 01-2 0A8.02 8.02 0 0125.58 18a8.353 8.353 0 01-.33-1h5.42A3.342 3.342 0 0134 20.33z" opacity=".1"></path><path d="M33 26v18.67A2.326 2.326 0 0130.67 47h-9.79a13.69 13.69 0 01-.88-4.85V28.31A2.316 2.316 0 0122.33 26zm0-5.67V23a8.257 8.257 0 01-1-.06A8.02 8.02 0 0125.58 18h5.09A2.326 2.326 0 0133 20.33z" opacity=".2"></path><path d="M32 20.33v2.61A8.02 8.02 0 0125.58 18h4.09A2.326 2.326 0 0132 20.33zM22.33 26H32v18.67A2.326 2.326 0 0129.67 47h-8.79a13.69 13.69 0 01-.88-4.85V28.31A2.316 2.316 0 0122.33 26z" opacity=".1"></path><rect x="4" y="18" width="28" height="28" rx="2.333" fill="#4b53bc"></rect><path d="M24.008 26.528h-4.564v13.028h-2.909V26.528h-4.543V24h12.016z" fill="#fff"></path>',11)];function Gg(n,e){return c.openBlock(),c.createElementBlock("svg",Jg,Zg)}const Vd=me(Yg,[["render",Gg]]),Xg={},qg={class:"icon icon-min",viewBox:"0 0 21 2",width:"21",height:"2",xmlns:"http://www.w3.org/2000/svg"},e3=[c.createElementVNode("path",{d:"M1.525 2h18.05a1 1 0 0 0 0-2H1.525a1 1 0 0 0 0 2z"},null,-1)];function t3(n,e){return c.openBlock(),c.createElementBlock("svg",qg,e3)}const $d=me(Xg,[["render",t3]]),n3={},r3={width:"17",height:"15",viewBox:"0 0 17 15",xmlns:"http://www.w3.org/2000/svg",class:"icon icon-ordered-list"},o3=[c.createElementVNode("path",{d:"M7.75 3.75H16.25C16.6562 3.75 17 3.4375 17 3C17 2.59375 16.6562 2.25 16.25 2.25H7.75C7.3125 2.25 7 2.59375 7 3C7 3.4375 7.3125 3.75 7.75 3.75ZM16.25 12.25H7.75C7.3125 12.25 7 12.5938 7 13C7 13.4375 7.3125 13.75 7.75 13.75H16.25C16.6562 13.75 17 13.4375 17 13C17 12.5938 16.6562 12.25 16.25 12.25ZM16.25 7.25H7.75C7.3125 7.25 7 7.59375 7 8C7 8.4375 7.3125 8.75 7.75 8.75H16.25C16.6562 8.75 17 8.4375 17 8C17 7.59375 16.6562 7.25 16.25 7.25ZM2.25 7H4.75C5.15625 7 5.5 6.6875 5.5 6.25C5.5 5.78125 5.15625 5.5 4.75 5.5H4.25V1.75C4.25 1.5 4.09375 1.25 3.84375 1.125C3.625 0.96875 3.34375 0.96875 3.09375 1.125L2.09375 1.6875C1.75 1.90625 1.625 2.375 1.84375 2.71875C2.03125 3.03125 2.40625 3.1875 2.75 3.0625V5.5H2.25C1.8125 5.5 1.5 5.84375 1.5 6.25C1.5 6.6875 1.8125 7 2.25 7ZM5.25 13.5H3.6875L4.84375 12.5C5.78125 11.6875 5.875 10.2812 5.09375 9.34375C4.6875 8.84375 4.125 8.5625 3.5 8.53125C2.90625 8.46875 2.28125 8.65625 1.8125 9.0625L1.4375 9.40625C1.125 9.6875 1.09375 10.1562 1.34375 10.4688C1.625 10.7812 2.09375 10.8125 2.40625 10.5625L2.8125 10.2188C2.96875 10.0625 3.1875 10 3.40625 10.0312C3.625 10.0312 3.8125 10.125 3.9375 10.3125C4.21875 10.625 4.1875 11.0938 3.84375 11.375L1.25 13.7188C1 13.9062 0.9375 14.25 1.03125 14.5312C1.15625 14.8125 1.4375 15 1.71875 15H5.25C5.65625 15 6 14.6875 6 14.2812C6 13.8438 5.65625 13.5 5.25 13.5Z"},null,-1)];function i3(n,e){return c.openBlock(),c.createElementBlock("svg",r3,o3)}const Ea=me(n3,[["render",i3]]),s3={},a3={class:"icon icon-plus",width:"12",height:"13",viewBox:"0 0 12 13",xmlns:"http://www.w3.org/2000/svg"},l3=[c.createElementVNode("path",{d:"M11.604 7.675H7.027v4.807H4.888V7.675h-4.6V5.628h4.6V.844h2.139v4.784h4.577z"},null,-1)];function c3(n,e){return c.openBlock(),c.createElementBlock("svg",a3,l3)}const zd=me(s3,[["render",c3]]),d3={},u3={class:"icon icon-refresh",xmlns:"http://www.w3.org/2000/svg",width:"18",height:"15",viewBox:"0 0 18 15"},f3=[c.createElementVNode("path",{d:"M15.107 5.34l-2.012-1.891a5.795 5.795 0 0 0-9.563 2.163.75.75 0 0 1-1.414-.5 7.295 7.295 0 0 1 12.021-2.74l2.111 1.983v-2.63a.75.75 0 1 1 1.5 0V6.09a.75.75 0 0 1-.75.75h-4.364a.75.75 0 0 1 0-1.5h2.47zM1.75 10.731v2.63a.75.75 0 0 1-1.5 0V8.998a.75.75 0 0 1 .75-.75h4.364a.75.75 0 1 1 0 1.5h-2.47l2.011 1.891a5.795 5.795 0 0 0 9.563-2.164.75.75 0 0 1 1.414.5 7.295 7.295 0 0 1-12.021 2.74L1.75 10.733z"},null,-1)];function h3(n,e){return c.openBlock(),c.createElementBlock("svg",u3,f3)}const Hd=me(d3,[["render",h3]]),p3={},m3={class:"icon icon-remove",width:"11",height:"11",viewBox:"0 0 11 11",xmlns:"http://www.w3.org/2000/svg"},g3=[c.createElementVNode("path",{d:"M.893.893a1 1 0 0 1 1.414 0L5.5 4.085 8.693.893a1 1 0 0 1 1.32-.083l.094.083a1 1 0 0 1 0 1.414L6.915 5.5l3.192 3.193a1 1 0 0 1 .083 1.32l-.083.094a1 1 0 0 1-1.414 0L5.5 6.915l-3.193 3.192a1 1 0 0 1-1.32.083l-.094-.083a1 1 0 0 1 0-1.414L4.085 5.5.893 2.307A1 1 0 0 1 .81.987L.893.893z"},null,-1)];function v3(n,e){return c.openBlock(),c.createElementBlock("svg",m3,g3)}const go=me(p3,[["render",v3]]),y3={},C3={"xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:cc":"http://creativecommons.org/ns#","xmlns:rdf":"http://www.w3.org/1999/02/22-rdf-syntax-ns#","xmlns:svg":"http://www.w3.org/2000/svg",xmlns:"http://www.w3.org/2000/svg",class:"icon icon-sananet",viewBox:"0 0 145.82668 130.58667",height:"130.58667",width:"145.82668","xml:space":"preserve",id:"svg2",version:"1.1"},E3={id:"metadata8"},b3=c.createStaticVNode('<defs id="defs6"><clipPath id="clipPath32" clipPathUnits="userSpaceOnUse"><path id="path30" d="M 0,0 H 1094 V 979 H 0 Z"></path></clipPath><clipPath id="clipPath38" clipPathUnits="userSpaceOnUse"><path id="path36" d="m 726.516,800.508 c 0,-98.836 -80.121,-178.938 -178.938,-178.938 -98.816,0 -178.926,80.102 -178.926,178.938 0,98.808 80.11,178.918 178.926,178.918 98.817,0 178.938,-80.11 178.938,-178.918 z"></path></clipPath><radialGradient id="radialGradient46" spreadMethod="pad" gradientTransform="matrix(390.284,0,0,-390.284,547.578,925.479)" gradientUnits="userSpaceOnUse" r="1" cy="0" cx="0" fy="0.151961" fx="-0.24949799"><stop id="stop40" offset="0" style="stop-opacity:1;stop-color:#ffffff;"></stop><stop id="stop42" offset="0.715" style="stop-opacity:1;stop-color:#f5772a;"></stop><stop id="stop44" offset="1" style="stop-opacity:1;stop-color:#f5772a;"></stop></radialGradient></defs><g transform="matrix(1.3333333,0,0,-1.3333333,0,130.58667)" id="g10"><g transform="scale(0.1)" id="g12"><path id="path14" style="fill:#bfc1e2;fill-opacity:1;fill-rule:nonzero;stroke:none;" d="M 546.836,0 C 250.422,0 0,111.121 0,242.648 c 0,43.133 26.418,84.11 72.6016,119.688 -17.586,-23.32 -27.0821,-48.32 -27.0821,-74.328 0,-127.442 220.2035,-227.2736 501.3165,-227.2736 281.102,0 501.304,99.8316 501.304,227.2736 0,26.008 -9.5,51.015 -27.09,74.336 46.19,-35.586 72.61,-76.563 72.61,-119.696 C 1093.66,111.121 843.242,0 546.836,0"></path><path id="path16" style="fill:#9ba1d3;fill-opacity:1;fill-rule:nonzero;stroke:none;" d="m 546.621,125.039 c -195.918,0 -361.433,66.113 -361.433,144.367 0,29.305 22.75,56.942 61.714,80.028 -17.468,-16.329 -27.097,-34.356 -27.097,-53.274 0,-74.39 143.554,-132.664 326.816,-132.664 183.289,0 326.875,58.274 326.875,132.664 0,18.879 -9.59,36.86 -26.98,53.156 38.843,-23.066 61.519,-50.656 61.519,-79.91 0,-78.254 -165.508,-144.367 -361.414,-144.367"></path><path id="path18" style="fill:#516ab4;fill-opacity:1;fill-rule:nonzero;stroke:none;" d="m 546.621,205.82 c -118.73,0 -219.031,39.27 -219.031,85.754 0,12.711 7.39,24.91 20.625,35.906 -3.379,-6.242 -5.156,-12.773 -5.156,-19.5 0,-47.296 89.414,-84.335 203.562,-84.335 114.133,0 203.535,37.039 203.535,84.335 0,6.727 -1.777,13.243 -5.144,19.481 13.211,-10.996 20.593,-23.176 20.593,-35.887 0,-46.484 -100.285,-85.754 -218.984,-85.754"></path><path id="path20" style="fill:#2350a1;fill-opacity:1;fill-rule:nonzero;stroke:none;" d="m 423.379,332.805 c -6.934,-6.223 -10.801,-12.989 -10.801,-19.953 0,-28.321 61.387,-52.247 134.043,-52.247 72.637,0 133.992,23.926 133.992,52.247 0,6.925 -3.816,13.652 -10.672,19.843 1.36,-3.152 2.063,-6.418 2.063,-9.765 0,-29.258 -55.078,-52.168 -125.383,-52.168 -70.293,0 -125.351,22.91 -125.351,52.168 0,3.39 0.722,6.687 2.109,9.875"></path><path id="path22" style="fill:#2350a1;fill-opacity:1;fill-rule:nonzero;stroke:none;" d="m 358.75,618.84 c 0,0 144.551,-54.758 144.551,-297.871 h -24.102 c 0,0 -2.187,205.886 -124.824,219.019 l 4.375,78.852"></path><path id="path24" style="fill:#2350a1;fill-opacity:1;fill-rule:nonzero;stroke:none;" d="m 735.313,618.84 c 0,0 -144.551,-54.758 -144.551,-297.871 h 24.101 c 0,0 2.188,205.886 124.832,219.019 l -4.382,78.852"></path><g id="g26"><g clip-path="url(#clipPath32)" id="g28"><g clip-path="url(#clipPath38)" id="g34"><path id="path48" style="fill:url(#radialGradient46);fill-opacity:1;fill-rule:nonzero;stroke:none;" d="m 536,621 v 1 h -11 v 1 h -6 v 1 h -7 v 1 h -4 v 1 h -4 v 1 h -4 v 1 h -4 v 1 h -3 v 1 h -3 v 1 h -3 v 1 h -2 v 1 h -3 v 1 h -3 v 1 h -2 v 1 h -2 v 1 h -2 v 1 h -3 v 1 h -2 v 1 h -2 v 1 h -2 v 1 h -2 v 1 h -2 v 1 h -1 v 1 h -2 v 1 h -2 v 1 h -1 v 1 h -2 v 1 h -1 v 1 h -2 v 1 h -2 v 1 h -1 v 1 h -1 v 1 h -2 v 1 h -1 v 1 h -1 v 1 h -2 v 1 h -1 v 1 h -1 v 1 h -2 v 1 h -1 v 1 h -1 v 1 h -1 v 1 h -2 v 1 h -1 v 1 h -1 v 1 h -1 v 1 h -1 v 1 h -1 v 1 h -1 v 1 h -1 v 1 h -1 v 1 h -1 v 1 h -1 v 1 h -1 v 1 h -1 v 1 h -1 v 1 h -1 v 1 h -1 v 1 h -1 v 1 h -1 v 1 h -1 v 1 h -1 v 2 h -1 v 1 h -1 v 1 h -1 v 1 h -1 v 2 h -1 v 1 h -1 v 1 h -1 v 2 h -1 v 1 h -1 v 1 h -1 v 2 h -1 v 1 h -1 v 1 h -1 v 2 h -1 v 2 h -1 v 1 h -1 v 2 h -1 v 2 h -1 v 1 h -1 v 2 h -1 v 1 h -1 v 2 h -1 v 2 h -1 v 2 h -1 v 2 h -1 v 3 h -1 v 2 h -1 v 2 h -1 v 2 h -1 v 2 h -1 v 3 h -1 v 3 h -1 v 3 h -1 v 2 h -1 v 3 h -1 v 4 h -1 v 3 h -1 v 4 h -1 v 4 h -1 v 5 h -1 v 6 h -1 v 7 h -1 v 11 h -1 v 21 h 1 v 11 h 1 v 7 h 1 v 6 h 1 v 5 h 1 v 4 h 1 v 4 h 1 v 3 h 1 v 4 h 1 v 3 h 1 v 2 h 1 v 3 h 1 v 3 h 1 v 3 h 1 v 2 h 1 v 2 h 1 v 2 h 1 v 2 h 1 v 3 h 1 v 2 h 1 v 2 h 1 v 2 h 1 v 2 h 1 v 1 h 1 v 2 h 1 v 1 h 1 v 2 h 1 v 2 h 1 v 1 h 1 v 2 h 1 v 2 h 1 v 1 h 1 v 1 h 1 v 2 h 1 v 1 h 1 v 1 h 1 v 2 h 1 v 1 h 1 v 1 h 1 v 2 h 1 v 1 h 1 v 1 h 1 v 1 h 1 v 2 h 1 v 1 h 1 v 1 h 1 v 1 h 1 v 1 h 1 v 1 h 1 v 1 h 1 v 1 h 1 v 1 h 1 v 1 h 1 v 1 h 1 v 1 h 1 v 1 h 1 v 1 h 1 v 1 h 1 v 1 h 1 v 1 h 1 v 1 h 1 v 1 h 1 v 1 h 2 v 1 h 1 v 1 h 1 v 1 h 1 v 1 h 2 v 1 h 1 v 1 h 1 v 1 h 2 v 1 h 1 v 1 h 1 v 1 h 2 v 1 h 1 v 1 h 1 v 1 h 2 v 1 h 2 v 1 h 1 v 1 h 2 v 1 h 1 v 1 h 2 v 1 h 2 v 1 h 1 v 1 h 2 v 1 h 2 v 1 h 2 v 1 h 2 v 1 h 2 v 1 h 3 v 1 h 2 v 1 h 2 v 1 h 2 v 1 h 3 v 1 h 3 v 1 h 2 v 1 h 3 v 1 h 3 v 1 h 3 v 1 h 4 v 1 h 4 v 1 h 4 v 1 h 4 v 1 h 7 v 1 h 7 v 1 h 44 v -1 h 6 v -1 h 7 v -1 h 4 v -1 h 4 v -1 h 4 v -1 h 4 v -1 h 3 v -1 h 3 v -1 h 3 v -1 h 3 v -1 h 2 v -1 h 3 v -1 h 2 v -1 h 3 v -1 h 2 v -1 h 2 v -1 h 2 v -1 h 2 v -1 h 2 v -1 h 2 v -1 h 2 v -1 h 1 v -1 h 2 v -1 h 2 v -1 h 1 v -1 h 2 v -1 h 2 v -1 h 1 v -1 h 2 v -1 h 1 v -1 h 2 v -1 h 1 v -1 h 1 v -1 h 2 v -1 h 1 v -1 h 1 v -1 h 2 v -1 h 1 v -1 h 1 v -1 h 2 v -1 h 1 v -1 h 1 v -1 h 1 v -1 h 1 v -1 h 1 v -1 h 1 v -1 h 1 v -1 h 1 v -1 h 1 v -1 h 2 v -1 h 1 v -1 h 1 v -2 h 1 v -1 h 1 v -1 h 1 v -1 h 1 v -1 h 1 v -1 h 1 v -1 h 1 v -1 h 1 v -1 h 1 v -1 h 1 v -2 h 1 v -1 h 1 v -1 h 1 v -2 h 1 v -1 h 1 v -1 h 1 v -2 h 1 v -1 h 1 v -1 h 1 v -2 h 1 v -1 h 1 v -2 h 1 v -1 h 1 v -2 h 1 v -2 h 1 v -1 h 1 v -2 h 1 v -2 h 1 v -1 h 1 v -2 h 1 v -2 h 1 v -2 h 1 v -2 h 1 v -2 h 1 v -2 h 1 v -2 h 1 v -2 h 1 v -3 h 1 v -3 h 1 v -2 h 1 v -3 h 1 v -3 h 1 v -3 h 1 v -3 h 1 v -4 h 1 v -4 h 1 v -4 h 1 v -4 h 1 v -6 h 1 v -7 h 1 v -10 h 1 v -25 h -1 v -10 h -1 v -7 h -1 v -6 h -1 v -4 h -1 v -4 h -1 v -4 h -1 v -4 h -1 v -3 h -1 v -3 h -1 v -3 h -1 v -3 h -1 v -2 h -1 v -3 h -1 v -3 h -1 v -2 h -1 v -2 h -1 v -2 h -1 v -2 h -1 v -2 h -1 v -2 h -1 v -2 h -1 v -2 h -1 v -1 h -1 v -2 h -1 v -2 h -1 v -1 h -1 v -2 h -1 v -2 h -1 v -1 h -1 v -2 h -1 v -1 h -1 v -2 h -1 v -1 h -1 v -1 h -1 v -2 h -1 v -1 h -1 v -1 h -1 v -2 h -1 v -1 h -1 v -1 h -1 v -2 h -1 v -1 h -1 v -1 h -1 v -1 h -1 v -1 h -1 v -1 h -1 v -1 h -1 v -1 h -1 v -1 h -1 v -1 h -1 v -2 h -1 v -1 h -1 v -1 h -2 v -1 h -1 v -1 h -1 v -1 h -1 v -1 h -1 v -1 h -1 v -1 h -1 v -1 h -1 v -1 h -1 v -1 h -1 v -1 h -2 v -1 h -1 v -1 h -1 v -1 h -2 v -1 h -1 v -1 h -1 v -1 h -2 v -1 h -1 v -1 h -1 v -1 h -2 v -1 h -1 v -1 h -2 v -1 h -1 v -1 h -2 v -1 h -2 v -1 h -1 v -1 h -2 v -1 h -2 v -1 h -1 v -1 h -2 v -1 h -2 v -1 h -2 v -1 h -2 v -1 h -2 v -1 h -2 v -1 h -2 v -1 h -3 v -1 h -2 v -1 h -3 v -1 h -2 v -1 h -3 v -1 h -3 v -1 h -3 v -1 h -3 v -1 h -4 v -1 h -4 v -1 h -4 v -1 h -4 v -1 h -7 v -1 h -6 v -1 h -11 v -1"></path></g></g></g></g></g>',2);function A3(n,e){const t=c.resolveComponent("dc:format"),r=c.resolveComponent("dc:type"),o=c.resolveComponent("cc:Work"),i=c.resolveComponent("rdf:RDF");return c.openBlock(),c.createElementBlock("svg",C3,[c.createElementVNode("metadata",E3,[c.createVNode(i,null,{default:c.withCtx(()=>[c.createVNode(o,{"rdf:about":""},{default:c.withCtx(()=>[c.createVNode(t,null,{default:c.withCtx(()=>[c.createTextVNode("image/svg+xml")]),_:1}),c.createVNode(r,{"rdf:resource":"http://purl.org/dc/dcmitype/StillImage"})]),_:1})]),_:1})]),b3])}const Ud=me(y3,[["render",A3]]),w3={},S3={class:"icon icon-service",viewBox:"0 0 20 21",xmlns:"http://www.w3.org/2000/svg"},k3=[c.createElementVNode("path",{d:"M1.875 10.5V12.0625C1.875 12.6094 1.44531 13 0.9375 13C0.390625 13 0 12.6094 0 12.0625V10.5C0 4.99219 4.45312 0.5 10 0.5C15.5078 0.5 20 4.99219 20 10.5V16.1641C20 18.0391 18.4375 19.6016 16.5625 19.6016L12.2266 19.5625C11.9141 20.1484 11.2891 20.5 10.625 20.5H9.375C8.32031 20.5 7.5 19.6797 7.5 18.625C7.5 17.6094 8.32031 16.75 9.375 16.75H10.625C11.2891 16.75 11.9141 17.1406 12.2266 17.6875L16.5625 17.7266C17.4219 17.7266 18.125 17.0234 18.125 16.1641V10.5C18.125 6.04688 14.4531 2.375 10 2.375C5.50781 2.375 1.875 6.04688 1.875 10.5ZM6.25 9.25C5.54688 9.25 5 9.83594 5 10.5V12.375C5 13.0781 5.54688 13.625 6.25 13.625V9.25ZM3.125 10.5C3.125 8.78125 4.49219 7.375 6.25 7.375H6.875C7.53906 7.375 8.125 7.96094 8.125 8.625V14.25C8.125 14.9531 7.53906 15.5 6.875 15.5H6.25C4.49219 15.5 3.125 14.1328 3.125 12.375V10.5ZM13.75 9.25V13.625C14.4141 13.625 15 13.0781 15 12.375V10.5C15 9.83594 14.4141 9.25 13.75 9.25ZM16.875 10.5V12.375C16.875 14.1328 15.4688 15.5 13.75 15.5H13.125C12.4219 15.5 11.875 14.9531 11.875 14.25V8.625C11.875 7.96094 12.4219 7.375 13.125 7.375H13.75C15.4688 7.375 16.875 8.78125 16.875 10.5Z"},null,-1)];function x3(n,e){return c.openBlock(),c.createElementBlock("svg",S3,k3)}const jd=me(w3,[["render",x3]]),T3={},M3={class:"icon icon-share-screen",width:"12",height:"16",viewBox:"0 0 12 16",xmlns:"http://www.w3.org/2000/svg"},I3=[c.createElementVNode("path",{d:"M-1.31134e-07 12.9961C-5.87372e-08 14.6523 1.34375 15.9961 3 15.9961L9 15.9961C10.6562 15.9961 12 14.6523 12 12.9961L12 10.3711C12 10.1836 11.8437 9.99609 11.625 9.99609L10.875 9.99609C10.6875 9.99609 10.5 10.1836 10.5 10.3711L10.5 12.9961C10.5 13.8398 9.84375 14.4961 9 14.4961L3 14.4961C2.1875 14.4961 1.5 13.8398 1.5 12.9961L1.5 10.3711C1.5 10.1836 1.34375 9.99609 1.125 9.99609L0.375 9.99609C0.1875 9.99609 -2.54072e-07 10.1836 -2.45877e-07 10.3711L-1.31134e-07 12.9961ZM0.625 5.77734L1.25 6.40234C1.375 6.55859 1.625 6.55859 1.78125 6.40234L5.1875 2.87109L5.1875 10.6211C5.1875 10.8398 5.375 10.9961 5.5625 10.9961L6.4375 10.9961C6.65625 10.9961 6.8125 10.8398 6.8125 10.6211L6.8125 2.87109L10.25 6.40234C10.4062 6.55859 10.6562 6.55859 10.7812 6.40234L11.4062 5.77734C11.5625 5.65234 11.5625 5.40234 11.4062 5.24609L6.28125 0.121093C6.125 -0.0351565 5.90625 -0.0351565 5.75 0.121093L0.625 5.24609C0.46875 5.40234 0.46875 5.65234 0.625 5.77734Z"},null,-1)];function O3(n,e){return c.openBlock(),c.createElementBlock("svg",M3,I3)}const Wd=me(T3,[["render",O3]]),_3={},N3={xmlns:"http://www.w3.org/2000/svg",version:"1.1","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:svgjs":"http://svgjs.com/svgjs",viewBox:"0 0 18 18",width:"18",height:"18"},L3=[c.createElementVNode("g",{transform:"matrix(0.75,0,0,0.75,0,0)"},[c.createElementVNode("path",{d:"M6.750 6.000 A5.250 5.250 0 1 0 17.250 6.000 A5.250 5.250 0 1 0 6.750 6.000 Z",fill:"none",stroke:"#ffffff","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5"}),c.createElementVNode("path",{d:"M2.25,23.25a9.75,9.75,0,0,1,19.5,0",fill:"none",stroke:"#ffffff","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5"})],-1)];function D3(n,e){return c.openBlock(),c.createElementBlock("svg",N3,L3)}const Kd=me(_3,[["render",D3]]),B3={},R3={xmlns:"http://www.w3.org/2000/svg",width:"9",height:"14",viewBox:"0 0 9 14"},P3=[c.createStaticVNode('<g id="Symbols" fill="none" fill-rule="evenodd" stroke="none" stroke-width="1"><g id="icon/sort" fill="#4D5875" transform="translate(-6 -4)"><g id="Group" transform="translate(5 3)"><path id="Rectangle" d="M8.585786,8.32943141 L8.585786,12.585786 C8.585786,13.1380707 8.13807075,13.585786 7.585786,13.585786 L3.32943141,13.585786 C2.77714666,13.585786 2.32943141,13.1380707 2.32943141,12.585786 C2.32943141,12.3205695 2.43478825,12.0662156 2.62232463,11.8786792 L6.87867922,7.62232463 C7.26920351,7.23180034 7.90236849,7.23180034 8.29289278,7.62232463 C8.48042916,7.80986101 8.585786,8.06421492 8.585786,8.32943141 Z" transform="rotate(45 5.293 10.293)"></path><path id="Rectangle" d="M8.585786,3.32943141 L8.585786,7.585786 C8.585786,8.13807075 8.13807075,8.585786 7.585786,8.585786 L3.32943141,8.585786 C2.77714666,8.585786 2.32943141,8.13807075 2.32943141,7.585786 C2.32943141,7.32056951 2.43478825,7.0662156 2.62232463,6.87867922 L6.87867922,2.62232463 C7.26920351,2.23180034 7.90236849,2.23180034 8.29289278,2.62232463 C8.48042916,2.80986101 8.585786,3.06421492 8.585786,3.32943141 Z" transform="rotate(-135 5.293 5.293)"></path></g></g></g>',1)];function F3(n,e){return c.openBlock(),c.createElementBlock("svg",R3,P3)}const Qd=me(B3,[["render",F3]]),V3={},$3={xmlns:"http://www.w3.org/2000/svg",width:"9",height:"14",viewBox:"0 0 9 14"},z3=[c.createStaticVNode('<g id="Symbols" fill="none" fill-rule="evenodd" stroke="none" stroke-width="1"><g id="icon/sort" transform="translate(-6 -4)"><g id="Group" transform="translate(5 3)"><path id="Rectangle" fill="rgb(57, 65, 86)" d="M8.585786,8.32943141 L8.585786,12.585786 C8.585786,13.1380707 8.13807075,13.585786 7.585786,13.585786 L3.32943141,13.585786 C2.77714666,13.585786 2.32943141,13.1380707 2.32943141,12.585786 C2.32943141,12.3205695 2.43478825,12.0662156 2.62232463,11.8786792 L6.87867922,7.62232463 C7.26920351,7.23180034 7.90236849,7.23180034 8.29289278,7.62232463 C8.48042916,7.80986101 8.585786,8.06421492 8.585786,8.32943141 Z" transform="rotate(45 5.293 10.293)"></path><path id="Rectangle" fill="#ABB0BE" d="M8.585786,3.32943141 L8.585786,7.585786 C8.585786,8.13807075 8.13807075,8.585786 7.585786,8.585786 L3.32943141,8.585786 C2.77714666,8.585786 2.32943141,8.13807075 2.32943141,7.585786 C2.32943141,7.32056951 2.43478825,7.0662156 2.62232463,6.87867922 L6.87867922,2.62232463 C7.26920351,2.23180034 7.90236849,2.23180034 8.29289278,2.62232463 C8.48042916,2.80986101 8.585786,3.06421492 8.585786,3.32943141 Z" transform="rotate(-135 5.293 5.293)"></path></g></g></g>',1)];function H3(n,e){return c.openBlock(),c.createElementBlock("svg",$3,z3)}const ba=me(V3,[["render",H3]]),U3={},j3={xmlns:"http://www.w3.org/2000/svg",width:"9",height:"14",viewBox:"0 0 9 14"},W3=[c.createStaticVNode('<g id="Symbols" fill="none" fill-rule="evenodd" stroke="none" stroke-width="1"><g id="icon/sort" transform="translate(-6 -4)"><g id="Group" transform="translate(5 3)"><path id="Rectangle" fill="#ABB0BE" d="M8.585786,8.32943141 L8.585786,12.585786 C8.585786,13.1380707 8.13807075,13.585786 7.585786,13.585786 L3.32943141,13.585786 C2.77714666,13.585786 2.32943141,13.1380707 2.32943141,12.585786 C2.32943141,12.3205695 2.43478825,12.0662156 2.62232463,11.8786792 L6.87867922,7.62232463 C7.26920351,7.23180034 7.90236849,7.23180034 8.29289278,7.62232463 C8.48042916,7.80986101 8.585786,8.06421492 8.585786,8.32943141 Z" transform="rotate(45 5.293 10.293)"></path><path id="Rectangle" fill="rgb(57, 65, 86)" d="M8.585786,3.32943141 L8.585786,7.585786 C8.585786,8.13807075 8.13807075,8.585786 7.585786,8.585786 L3.32943141,8.585786 C2.77714666,8.585786 2.32943141,8.13807075 2.32943141,7.585786 C2.32943141,7.32056951 2.43478825,7.0662156 2.62232463,6.87867922 L6.87867922,2.62232463 C7.26920351,2.23180034 7.90236849,2.23180034 8.29289278,2.62232463 C8.48042916,2.80986101 8.585786,3.06421492 8.585786,3.32943141 Z" transform="rotate(-135 5.293 5.293)"></path></g></g></g>',1)];function K3(n,e){return c.openBlock(),c.createElementBlock("svg",j3,W3)}const Aa=me(U3,[["render",K3]]),Q3={},Y3={xmlns:"http://www.w3.org/2000/svg",width:"9",height:"14",viewBox:"0 0 9 14"},J3=[c.createStaticVNode('<g id="Symbols" fill="none" fill-rule="evenodd" stroke="none" stroke-width="1"><g id="icon/sort" fill="#ABB0BE" transform="translate(-6 -4)"><g id="Group" transform="translate(5 3)"><path id="Rectangle" d="M8.585786,8.32943141 L8.585786,12.585786 C8.585786,13.1380707 8.13807075,13.585786 7.585786,13.585786 L3.32943141,13.585786 C2.77714666,13.585786 2.32943141,13.1380707 2.32943141,12.585786 C2.32943141,12.3205695 2.43478825,12.0662156 2.62232463,11.8786792 L6.87867922,7.62232463 C7.26920351,7.23180034 7.90236849,7.23180034 8.29289278,7.62232463 C8.48042916,7.80986101 8.585786,8.06421492 8.585786,8.32943141 Z" transform="rotate(45 5.293 10.293)"></path><path id="Rectangle" d="M8.585786,3.32943141 L8.585786,7.585786 C8.585786,8.13807075 8.13807075,8.585786 7.585786,8.585786 L3.32943141,8.585786 C2.77714666,8.585786 2.32943141,8.13807075 2.32943141,7.585786 C2.32943141,7.32056951 2.43478825,7.0662156 2.62232463,6.87867922 L6.87867922,2.62232463 C7.26920351,2.23180034 7.90236849,2.23180034 8.29289278,2.62232463 C8.48042916,2.80986101 8.585786,3.06421492 8.585786,3.32943141 Z" transform="rotate(-135 5.293 5.293)"></path></g></g></g>',1)];function Z3(n,e){return c.openBlock(),c.createElementBlock("svg",Y3,J3)}const wa=me(Q3,[["render",Z3]]),G3={},X3={class:"icon icon-triangle-down",xmlns:"http://www.w3.org/2000/svg",width:"12",height:"8",viewBox:"0 0 12 8"},q3=[c.createElementVNode("path",{d:"M11.071 2.414L6.414 7.071a1 1 0 0 1-1.414 0L.343 2.414A1 1 0 0 1 1.05.707h9.314a1 1 0 0 1 .707 1.707z"},null,-1)];function e7(n,e){return c.openBlock(),c.createElementBlock("svg",X3,q3)}const Yd=me(G3,[["render",e7]]),t7={},n7={width:"40",height:"34",viewBox:"0 0 40 34",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r7=[c.createElementVNode("path",{d:"M38.5547 28.6992C39.7422 30.7773 38.2578 33.375 35.8086 33.375H4.11719C1.66797 33.375 0.183594 30.7773 1.29688 28.6992L17.1797 1.68359C17.8477 0.644531 18.8867 0.125 20 0.125C21.0391 0.125 22.0781 0.644531 22.7461 1.68359L38.5547 28.6992ZM4.85938 29.8125H35.0664L19.9258 4.05859L4.85938 29.8125ZM20 22.8359C21.2617 22.8359 22.3008 23.875 22.3008 25.1367C22.3008 26.3984 21.2617 27.4375 20 27.4375C18.6641 27.4375 17.625 26.3984 17.625 25.1367C17.625 23.875 18.6641 22.8359 20 22.8359ZM18.2188 11.4062C18.2188 10.4414 18.9609 9.625 20 9.625C20.9648 9.625 21.7812 10.4414 21.7812 11.4062V18.5312C21.7812 19.5703 20.9648 20.3125 20 20.3125C18.9609 20.3125 18.2188 19.5703 18.2188 18.5312V11.4062Z",fill:"#F65139"},null,-1)];function o7(n,e){return c.openBlock(),c.createElementBlock("svg",n7,r7)}const Jd=me(t7,[["render",o7]]),i7={},s7={width:"14",height:"16",viewBox:"0 0 14 16",xmlns:"http://www.w3.org/2000/svg",class:"icon icon-underline"},a7=[c.createElementVNode("path",{d:"M1.25 1.5H2V7.5C2 10.2812 4.21875 12.5 7 12.5C9.75 12.5 12 10.2812 12 7.5V1.5H12.75C13.1562 1.5 13.5 1.1875 13.5 0.75C13.5 0.34375 13.1562 0 12.75 0H9.75C9.3125 0 9 0.34375 9 0.75C9 1.1875 9.3125 1.5 9.75 1.5H10.5V7.5C10.5 9.4375 8.90625 11 7 11C5.0625 11 3.5 9.4375 3.5 7.5V1.5H4.25C4.65625 1.5 5 1.1875 5 0.75C5 0.34375 4.65625 0 4.25 0H1.25C0.8125 0 0.5 0.34375 0.5 0.75C0.5 1.1875 0.8125 1.5 1.25 1.5ZM13.25 14.5H0.75C0.3125 14.5 0 14.8438 0 15.25C0 15.6875 0.3125 16 0.75 16H13.25C13.6562 16 14 15.6875 14 15.25C14 14.8438 13.6562 14.5 13.25 14.5Z"},null,-1)];function l7(n,e){return c.openBlock(),c.createElementBlock("svg",s7,a7)}const Sa=me(i7,[["render",l7]]),c7={},d7={class:"icon icon-videocall",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"14",viewBox:"0 0 20 14"},u7=[c.createElementVNode("path",{d:"M12.673.25c1.48 0 2.68 1.186 2.68 2.648V4.16l2.76-1.82a.733.733 0 0 1 1.13.502l.007.1v7.703a.73.73 0 0 1-1.035.657l-2.862-1.298v.598c0 1.462-1.2 2.648-2.68 2.648H2.93C1.45 13.25.25 12.064.25 10.602V2.898C.25 1.436 1.45.25 2.93.25h9.743zm0 1.444H2.93a1.21 1.21 0 0 0-1.217 1.204v7.704a1.21 1.21 0 0 0 1.217 1.204h9.744a1.21 1.21 0 0 0 1.218-1.204V5.53 2.898a1.21 1.21 0 0 0-1.218-1.204zm5.115 2.597l-2.435 1.605v2.519l2.435 1.104V4.291z"},null,-1)];function f7(n,e){return c.openBlock(),c.createElementBlock("svg",d7,u7)}const Zd=me(c7,[["render",f7]]),h7={},p7=[c.createElementVNode("path",{d:"M14.1719 4.1875C14.2422 4.1875 14.2773 4.22266 14.3125 4.25781V8.26562L16 9.56641V8.23047L19.9375 5.76953V12.6602L21.5898 13.9609C21.5898 13.8906 21.625 13.8555 21.625 13.7852V4.75C21.625 4.08203 21.0625 3.625 20.4648 3.625C20.2539 3.625 20.043 3.69531 19.832 3.83594L16 6.26172V4.1875C16 3.27344 15.1562 2.5 14.1719 2.5H6.96484L9.10938 4.1875H14.1719ZM22.5391 16.8086L17.0898 12.5898L14.3125 10.4102L4.29297 2.57031L4.22266 2.5L1.51562 0.390625C1.26953 0.179688 0.917969 0.25 0.707031 0.460938L0.355469 0.917969C0.179688 1.16406 0.214844 1.51562 0.460938 1.69141L2.00781 2.92188L3.37891 4.01172L21.4844 18.1445C21.6953 18.3203 22.082 18.2852 22.2578 18.0391L22.6094 17.6172C22.8203 17.3711 22.75 17.0195 22.5391 16.8086ZM3.16797 14.3125C3.09766 14.3125 3.0625 14.3125 3.0625 14.2773V5.875L1.375 4.57422V14.3477C1.375 15.2617 2.18359 16 3.16797 16H14.1719C14.6641 16 15.0859 15.8242 15.4023 15.543L13.8555 14.3125H3.16797Z"},null,-1)];function m7(n,e,t,r,o,i){return c.openBlock(),c.createElementBlock("svg",c.mergeProps(n.$attrs,{class:"icon icon-video-disabled",width:"23",height:"19",viewBox:"0 0 23 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),p7,16)}const Gd=me(h7,[["render",m7]]),g7={},v7={width:"162",height:"124",viewBox:"0 0 162 124",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon icon-zorgkaart-nederland"},y7=[c.createStaticVNode('<path d="M61.5 38.1C60 38.1 58.8 36.9 58.8 35.4C58.8 33.9 60 32.7 61.5 32.7C63 32.7 64.2 33.9 64.2 35.4C64.2 36.9 63 38.1 61.5 38.1Z" fill="#F29018"></path><path d="M68.1 38.1C66.6 38.1 65.4 36.9 65.4 35.4C65.4 33.9 66.6 32.7 68.1 32.7C69.6 32.7 70.8 33.9 70.8 35.4C70.8 36.9 69.6 38.1 68.1 38.1Z" fill="#F29018"></path><path d="M74.6 38.1C73.1 38.1 71.9 36.9 71.9 35.4C71.9 33.9 73.1 32.7 74.6 32.7C76.1 32.7 77.3 33.9 77.3 35.4C77.3 36.9 76.1 38.1 74.6 38.1Z" fill="#F29018"></path><path d="M81.1 38.1C79.6 38.1 78.4 36.9 78.4 35.4C78.4 33.9 79.6 32.7 81.1 32.7C82.6 32.7 83.8 33.9 83.8 35.4C83.8 36.9 82.6 38.1 81.1 38.1Z" fill="#F29018"></path><path d="M61.5 44.6C60 44.6 58.8 43.4 58.8 41.9C58.8 40.4 60 39.2 61.5 39.2C63 39.2 64.2 40.4 64.2 41.9C64.2 43.4 63 44.6 61.5 44.6Z" fill="#F29018"></path><path d="M68.1 44.6C66.6 44.6 65.4 43.4 65.4 41.9C65.4 40.4 66.6 39.2 68.1 39.2C69.6 39.2 70.8 40.4 70.8 41.9C70.8 43.4 69.6 44.6 68.1 44.6Z" fill="#F29018"></path><path d="M74.6 44.6C73.1 44.6 71.9 43.4 71.9 41.9C71.9 40.4 73.1 39.2 74.6 39.2C76.1 39.2 77.3 40.4 77.3 41.9C77.3 43.4 76.1 44.6 74.6 44.6Z" fill="#F29018"></path><path d="M61.5 51.2C60 51.2 58.8 50 58.8 48.5C58.8 47 60 45.8 61.5 45.8C63 45.8 64.2 47 64.2 48.5C64.2 50 63 51.2 61.5 51.2Z" fill="#F29018"></path><path d="M68.1 51.2C66.6 51.2 65.4 50 65.4 48.5C65.4 47 66.6 45.8 68.1 45.8C69.6 45.8 70.8 47 70.8 48.5C70.8 50 69.6 51.2 68.1 51.2Z" fill="#F29018"></path><path d="M74.6 51.2C73.1 51.2 71.9 50 71.9 48.5C71.9 47 73.1 45.8 74.6 45.8C76.1 45.8 77.3 47 77.3 48.5C77.3 50 76.1 51.2 74.6 51.2Z" fill="#F29018"></path><path d="M61.5 57.7C60 57.7 58.8 56.5 58.8 55C58.8 53.5 60 52.3 61.5 52.3C63 52.3 64.2 53.5 64.2 55C64.2 56.5 63 57.7 61.5 57.7Z" fill="#F29018"></path><path d="M68.1 57.7C66.6 57.7 65.4 56.5 65.4 55C65.4 53.5 66.6 52.3 68.1 52.3C69.6 52.3 70.8 53.5 70.8 55C70.8 56.5 69.6 57.7 68.1 57.7Z" fill="#F29018"></path><path d="M74.6 57.7C73.1 57.7 71.9 56.5 71.9 55C71.9 53.5 73.1 52.3 74.6 52.3C76.1 52.3 77.3 53.5 77.3 55C77.3 56.5 76.1 57.7 74.6 57.7Z" fill="#F29018"></path><path d="M41.9 57.7C40.4 57.7 39.2 56.5 39.2 55C39.2 53.5 40.4 52.3 41.9 52.3C43.4 52.3 44.6 53.5 44.6 55C44.6 56.5 43.4 57.7 41.9 57.7Z" fill="#F29018"></path><path d="M35.4 57.7C33.9 57.7 32.7 56.5 32.7 55C32.7 53.5 33.9 52.3 35.4 52.3C36.9 52.3 38.1 53.5 38.1 55C38.1 56.5 36.9 57.7 35.4 57.7Z" fill="#F29018"></path><path d="M41.9 51.2C40.4 51.2 39.2 50 39.2 48.5C39.2 47 40.4 45.8 41.9 45.8C43.4 45.8 44.6 47 44.6 48.5C44.6 50 43.4 51.2 41.9 51.2Z" fill="#F29018"></path><path d="M35.4 51.2C33.9 51.2 32.7 50 32.7 48.5C32.7 47 33.9 45.8 35.4 45.8C36.9 45.8 38.1 47 38.1 48.5C38.1 50 36.9 51.2 35.4 51.2Z" fill="#F29018"></path><path d="M41.9 44.6C40.4 44.6 39.2 43.4 39.2 41.9C39.2 40.4 40.4 39.2 41.9 39.2C43.4 39.2 44.6 40.4 44.6 41.9C44.6 43.4 43.4 44.6 41.9 44.6Z" fill="#F29018"></path><path d="M35.4 44.6C33.9 44.6 32.7 43.4 32.7 41.9C32.7 40.4 33.9 39.2 35.4 39.2C36.9 39.2 38.1 40.4 38.1 41.9C38.1 43.4 36.9 44.6 35.4 44.6Z" fill="#F29018"></path><path d="M41.9 38.1C40.4 38.1 39.2 36.9 39.2 35.4C39.2 33.9 40.4 32.7 41.9 32.7C43.4 32.7 44.6 33.9 44.6 35.4C44.6 36.9 43.4 38.1 41.9 38.1Z" fill="#F29018"></path><path d="M35.4 38.1C33.9 38.1 32.7 36.9 32.7 35.4C32.7 33.9 33.9 32.7 35.4 32.7C36.9 32.7 38.1 33.9 38.1 35.4C38.1 36.9 36.9 38.1 35.4 38.1Z" fill="#F29018"></path><path d="M48.4 57.7C46.9 57.7 45.7 56.5 45.7 55C45.7 53.5 46.9 52.3 48.4 52.3C49.9 52.3 51.1 53.5 51.1 55C51.2 56.5 49.9 57.7 48.4 57.7Z" fill="#F29018"></path><path d="M55 57.7C53.5 57.7 52.3 56.5 52.3 55C52.3 53.5 53.5 52.3 55 52.3C56.5 52.3 57.7 53.5 57.7 55C57.7 56.5 56.5 57.7 55 57.7Z" fill="#F29018"></path><path d="M61.5 64.3C60 64.3 58.8 63.1 58.8 61.6C58.8 60.1 60 58.9 61.5 58.9C63 58.9 64.2 60.1 64.2 61.6C64.2 63 63 64.3 61.5 64.3Z" fill="#F29018"></path><path d="M68.1 64.3C66.6 64.3 65.4 63.1 65.4 61.6C65.4 60.1 66.6 58.9 68.1 58.9C69.6 58.9 70.8 60.1 70.8 61.6C70.8 63 69.6 64.3 68.1 64.3Z" fill="#F29018"></path><path d="M74.6 64.3C73.1 64.3 71.9 63.1 71.9 61.6C71.9 60.1 73.1 58.9 74.6 58.9C76.1 58.9 77.3 60.1 77.3 61.6C77.3 63 76.1 64.3 74.6 64.3Z" fill="#F29018"></path><path d="M41.9 64.3C40.4 64.3 39.2 63.1 39.2 61.6C39.2 60.1 40.4 58.9 41.9 58.9C43.4 58.9 44.6 60.1 44.6 61.6C44.6 63 43.4 64.3 41.9 64.3Z" fill="#F29018"></path><path d="M35.4 64.3C33.9 64.3 32.7 63.1 32.7 61.6C32.7 60.1 33.9 58.9 35.4 58.9C36.9 58.9 38.1 60 38.1 61.5C38.1 63 36.9 64.3 35.4 64.3Z" fill="#F29018"></path><path d="M28.8 64.3C27.3 64.3 26.1 63.1 26.1 61.6C26.1 60.1 27.3 58.9 28.8 58.9C30.3 58.9 31.5 60.1 31.5 61.6C31.5 63 30.3 64.3 28.8 64.3Z" fill="#F29018"></path><path d="M48.4 64.3C46.9 64.3 45.7 63.1 45.7 61.6C45.7 60.1 46.9 58.9 48.4 58.9C49.9 58.9 51.1 60.1 51.1 61.6C51.2 63 49.9 64.3 48.4 64.3Z" fill="#F29018"></path><path d="M55 64.3C53.5 64.3 52.3 63.1 52.3 61.6C52.3 60.1 53.5 58.9 55 58.9C56.5 58.9 57.7 60.1 57.7 61.6C57.7 63 56.5 64.3 55 64.3Z" fill="#F29018"></path><path d="M61.5 70.8C60 70.8 58.8 69.6 58.8 68.1C58.8 66.6 60 65.4 61.5 65.4C63 65.4 64.2 66.6 64.2 68.1C64.2 69.6 63 70.8 61.5 70.8Z" fill="#F29018"></path><path d="M68.1 70.8C66.6 70.8 65.4 69.6 65.4 68.1C65.4 66.6 66.6 65.4 68.1 65.4C69.6 65.4 70.8 66.6 70.8 68.1C70.8 69.6 69.6 70.8 68.1 70.8Z" fill="#F29018"></path><path d="M74.6 70.8C73.1 70.8 71.9 69.6 71.9 68.1C71.9 66.6 73.1 65.4 74.6 65.4C76.1 65.4 77.3 66.6 77.3 68.1C77.3 69.6 76.1 70.8 74.6 70.8Z" fill="#F29018"></path><path d="M41.9 70.8C40.4 70.8 39.2 69.6 39.2 68.1C39.2 66.6 40.4 65.4 41.9 65.4C43.4 65.4 44.6 66.6 44.6 68.1C44.6 69.6 43.4 70.8 41.9 70.8Z" fill="#F29018"></path><path d="M35.4 70.8C33.9 70.8 32.7 69.6 32.7 68.1C32.7 66.6 33.9 65.4 35.4 65.4C36.9 65.4 38.1 66.6 38.1 68.1C38.1 69.6 36.9 70.8 35.4 70.8Z" fill="#F29018"></path><path d="M28.8 70.8C27.3 70.8 26.1 69.6 26.1 68.1C26.1 66.6 27.3 65.4 28.8 65.4C30.3 65.4 31.5 66.6 31.5 68.1C31.5 69.6 30.3 70.8 28.8 70.8Z" fill="#F29018"></path><path d="M48.4 70.8C46.9 70.8 45.7 69.6 45.7 68.1C45.7 66.6 46.9 65.4 48.4 65.4C49.9 65.4 51.1 66.6 51.1 68.1C51.2 69.6 49.9 70.8 48.4 70.8Z" fill="#F29018"></path><path d="M55 70.8C53.5 70.8 52.3 69.6 52.3 68.1C52.3 66.6 53.5 65.4 55 65.4C56.5 65.4 57.7 66.6 57.7 68.1C57.7 69.6 56.5 70.8 55 70.8Z" fill="#F29018"></path><path d="M55 77.3C53.5 77.3 52.3 76.1 52.3 74.6C52.3 73.1 53.5 71.9 55 71.9C56.5 71.9 57.7 73.1 57.7 74.6C57.7 76.1 56.5 77.3 55 77.3Z" fill="#F29018"></path><path d="M61.5 77.3C60 77.3 58.8 76.1 58.8 74.6C58.8 73.1 60 71.9 61.5 71.9C63 71.9 64.2 73.1 64.2 74.6C64.2 76.1 63 77.3 61.5 77.3Z" fill="#F29018"></path><path d="M68.1 77.3C66.6 77.3 65.4 76.1 65.4 74.6C65.4 73.1 66.6 71.9 68.1 71.9C69.6 71.9 70.8 73.1 70.8 74.6C70.8 76.1 69.6 77.3 68.1 77.3Z" fill="#F29018"></path><path d="M35.4 77.3C33.9 77.3 32.7 76.1 32.7 74.6C32.7 73.1 33.9 71.9 35.4 71.9C36.9 71.9 38.1 73.1 38.1 74.6C38.1 76.1 36.9 77.3 35.4 77.3Z" fill="#F29018"></path><path d="M28.8 77.3C27.3 77.3 26.1 76.1 26.1 74.6C26.1 73.1 27.3 71.9 28.8 71.9C30.3 71.9 31.5 73.1 31.5 74.6C31.5 76.1 30.3 77.3 28.8 77.3Z" fill="#F29018"></path><path d="M22.3 77.3C20.8 77.3 19.6 76.1 19.6 74.6C19.6 73.1 20.8 71.9 22.3 71.9C23.8 71.9 25 73.1 25 74.6C25 76.1 23.8 77.3 22.3 77.3Z" fill="#F29018"></path><path d="M41.9 77.3C40.4 77.3 39.2 76.1 39.2 74.6C39.2 73.1 40.4 71.9 41.9 71.9C43.4 71.9 44.6 73.1 44.6 74.6C44.6 76.1 43.4 77.3 41.9 77.3Z" fill="#F29018"></path><path d="M48.4 77.3C46.9 77.3 45.7 76.1 45.7 74.6C45.7 73.1 46.9 71.9 48.4 71.9C49.9 71.9 51.1 73.1 51.1 74.6C51.2 76.1 49.9 77.3 48.4 77.3Z" fill="#F29018"></path><path d="M55 83.9C53.5 83.9 52.3 82.7 52.3 81.2C52.3 79.7 53.5 78.5 55 78.5C56.5 78.5 57.7 79.7 57.7 81.2C57.7 82.7 56.5 83.9 55 83.9Z" fill="#F29018"></path><path d="M61.5 83.9C60 83.9 58.8 82.7 58.8 81.2C58.8 79.7 60 78.5 61.5 78.5C63 78.5 64.2 79.7 64.2 81.2C64.2 82.7 63 83.9 61.5 83.9Z" fill="#F29018"></path><path d="M68.1 83.9C66.6 83.9 65.4 82.7 65.4 81.2C65.4 79.7 66.6 78.5 68.1 78.5C69.6 78.5 70.8 79.7 70.8 81.2C70.8 82.7 69.6 83.9 68.1 83.9Z" fill="#F29018"></path><path d="M35.4 83.9C33.9 83.9 32.7 82.7 32.7 81.2C32.7 79.7 33.9 78.5 35.4 78.5C36.9 78.5 38.1 79.7 38.1 81.2C38.1 82.7 36.9 83.9 35.4 83.9Z" fill="#F29018"></path><path d="M28.8 83.9C27.3 83.9 26.1 82.7 26.1 81.2C26.1 79.7 27.3 78.5 28.8 78.5C30.3 78.5 31.5 79.7 31.5 81.2C31.5 82.7 30.3 83.9 28.8 83.9Z" fill="#F29018"></path><path d="M22.3 83.9C20.8 83.9 19.6 82.7 19.6 81.2C19.6 79.7 20.8 78.5 22.3 78.5C23.8 78.5 25 79.7 25 81.2C25 82.7 23.8 83.9 22.3 83.9Z" fill="#F29018"></path><path d="M41.9 83.9C40.4 83.9 39.2 82.7 39.2 81.2C39.2 79.7 40.4 78.5 41.9 78.5C43.4 78.5 44.6 79.7 44.6 81.2C44.6 82.7 43.4 83.9 41.9 83.9Z" fill="#F29018"></path><path d="M48.4 83.9C46.9 83.9 45.7 82.7 45.7 81.2C45.7 79.7 46.9 78.5 48.4 78.5C49.9 78.5 51.1 79.7 51.1 81.2C51.2 82.7 49.9 83.9 48.4 83.9Z" fill="#F29018"></path><path d="M55 90.4C53.5 90.4 52.3 89.2 52.3 87.7C52.3 86.2 53.5 85 55 85C56.5 85 57.7 86.2 57.7 87.7C57.7 89.2 56.5 90.4 55 90.4Z" fill="#F29018"></path><path d="M61.5 90.4C60 90.4 58.8 89.2 58.8 87.7C58.8 86.2 60 85 61.5 85C63 85 64.2 86.2 64.2 87.7C64.2 89.2 63 90.4 61.5 90.4Z" fill="#F29018"></path><path d="M68.1 90.4C66.6 90.4 65.4 89.2 65.4 87.7C65.4 86.2 66.6 85 68.1 85C69.6 85 70.8 86.2 70.8 87.7C70.8 89.2 69.6 90.4 68.1 90.4Z" fill="#F29018"></path><path d="M74.6 90.4C73.1 90.4 71.9 89.2 71.9 87.7C71.9 86.2 73.1 85 74.6 85C76.1 85 77.3 86.2 77.3 87.7C77.3 89.2 76.1 90.4 74.6 90.4Z" fill="#F29018"></path><path d="M35.4 90.4C33.9 90.4 32.7 89.2 32.7 87.7C32.7 86.2 33.9 85 35.4 85C36.9 85 38.1 86.2 38.1 87.7C38.1 89.2 36.9 90.4 35.4 90.4Z" fill="#F29018"></path><path d="M28.8 90.4C27.3 90.4 26.1 89.2 26.1 87.7C26.1 86.2 27.3 85 28.8 85C30.3 85 31.5 86.2 31.5 87.7C31.5 89.2 30.3 90.4 28.8 90.4Z" fill="#F29018"></path><path d="M22.3 90.4C20.8 90.4 19.6 89.2 19.6 87.7C19.6 86.2 20.8 85 22.3 85C23.8 85 25 86.2 25 87.7C25 89.2 23.8 90.4 22.3 90.4Z" fill="#F29018"></path><path d="M15.8 90.4C14.3 90.4 13.1 89.2 13.1 87.7C13.1 86.2 14.3 85 15.8 85C17.3 85 18.5 86.2 18.5 87.7C18.5 89.2 17.3 90.4 15.8 90.4Z" fill="#F29018"></path><path d="M41.9 90.4C40.4 90.4 39.2 89.2 39.2 87.7C39.2 86.2 40.4 85 41.9 85C43.4 85 44.6 86.2 44.6 87.7C44.6 89.2 43.4 90.4 41.9 90.4Z" fill="#F29018"></path><path d="M48.4 90.4C46.9 90.4 45.7 89.2 45.7 87.7C45.7 86.2 46.9 85 48.4 85C49.9 85 51.1 86.2 51.1 87.7C51.2 89.2 49.9 90.4 48.4 90.4Z" fill="#F29018"></path><path d="M55 96.9C53.5 96.9 52.3 95.7 52.3 94.2C52.3 92.7 53.5 91.5 55 91.5C56.5 91.5 57.7 92.7 57.7 94.2C57.7 95.7 56.5 96.9 55 96.9Z" fill="#F29018"></path><path d="M61.5 96.9C60 96.9 58.8 95.7 58.8 94.2C58.8 92.7 60 91.5 61.5 91.5C63 91.5 64.2 92.7 64.2 94.2C64.2 95.7 63 96.9 61.5 96.9Z" fill="#F29018"></path><path d="M68.1 96.9C66.6 96.9 65.4 95.7 65.4 94.2C65.4 92.7 66.6 91.5 68.1 91.5C69.6 91.5 70.8 92.7 70.8 94.2C70.8 95.7 69.6 96.9 68.1 96.9Z" fill="#F29018"></path><path d="M74.6 96.9C73.1 96.9 71.9 95.7 71.9 94.2C71.9 92.7 73.1 91.5 74.6 91.5C76.1 91.5 77.3 92.7 77.3 94.2C77.3 95.7 76.1 96.9 74.6 96.9Z" fill="#F29018"></path><path d="M68.1 103.5C66.6 103.5 65.4 102.3 65.4 100.8C65.4 99.3 66.6 98.1 68.1 98.1C69.6 98.1 70.8 99.3 70.8 100.8C70.8 102.3 69.6 103.5 68.1 103.5Z" fill="#F29018"></path><path d="M74.6 103.5C73.1 103.5 71.9 102.3 71.9 100.8C71.9 99.3 73.1 98.1 74.6 98.1C76.1 98.1 77.3 99.3 77.3 100.8C77.3 102.3 76.1 103.5 74.6 103.5Z" fill="#F29018"></path><path d="M68.1 116.6C66.6 116.6 65.4 115.4 65.4 113.9C65.4 112.4 66.6 111.2 68.1 111.2C69.6 111.2 70.8 112.4 70.8 113.9C70.8 115.3 69.6 116.6 68.1 116.6Z" fill="#F29018"></path><path d="M74.6 116.6C73.1 116.6 71.9 115.4 71.9 113.9C71.9 112.4 73.1 111.2 74.6 111.2C76.1 111.2 77.3 112.4 77.3 113.9C77.3 115.3 76.1 116.6 74.6 116.6Z" fill="#F29018"></path><path d="M74.6 110C73.1 110 71.9 108.8 71.9 107.3C71.9 105.8 73.1 104.6 74.6 104.6C76.1 104.6 77.3 105.8 77.3 107.3C77.3 108.8 76.1 110 74.6 110Z" fill="#F29018"></path><path d="M68.1 123.1C66.6 123.1 65.4 121.9 65.4 120.4C65.4 118.9 66.6 117.7 68.1 117.7C69.6 117.7 70.8 118.9 70.8 120.4C70.8 121.9 69.6 123.1 68.1 123.1Z" fill="#F29018"></path><path d="M74.6 123.1C73.1 123.1 71.9 121.9 71.9 120.4C71.9 118.9 73.1 117.7 74.6 117.7C76.1 117.7 77.3 118.9 77.3 120.4C77.3 121.9 76.1 123.1 74.6 123.1Z" fill="#F29018"></path><path d="M35.4 96.9C33.9 96.9 32.7 95.7 32.7 94.2C32.7 92.7 33.9 91.5 35.4 91.5C36.9 91.5 38.1 92.7 38.1 94.2C38.1 95.7 36.9 96.9 35.4 96.9Z" fill="#F29018"></path><path d="M28.8 96.9C27.3 96.9 26.1 95.7 26.1 94.2C26.1 92.7 27.3 91.5 28.8 91.5C30.3 91.5 31.5 92.7 31.5 94.2C31.5 95.7 30.3 96.9 28.8 96.9Z" fill="#F29018"></path><path d="M22.3 96.9C20.8 96.9 19.6 95.7 19.6 94.2C19.6 92.7 20.8 91.5 22.3 91.5C23.8 91.5 25 92.7 25 94.2C25 95.7 23.8 96.9 22.3 96.9Z" fill="#F29018"></path><path d="M15.8 96.9C14.3 96.9 13.1 95.7 13.1 94.2C13.1 92.7 14.3 91.5 15.8 91.5C17.3 91.5 18.5 92.7 18.5 94.2C18.5 95.7 17.3 96.9 15.8 96.9Z" fill="#F29018"></path><path d="M9.2 96.9C7.7 96.9 6.5 95.7 6.5 94.2C6.5 92.7 7.7 91.5 9.2 91.5C10.7 91.5 11.9 92.7 11.9 94.2C11.9 95.7 10.7 96.9 9.2 96.9Z" fill="#F29018"></path><path d="M22.3 103.5C20.8 103.5 19.6 102.3 19.6 100.8C19.6 99.3 20.8 98.1 22.3 98.1C23.8 98.1 25 99.3 25 100.8C25 102.3 23.8 103.5 22.3 103.5Z" fill="#F29018"></path><path d="M15.8 103.5C14.3 103.5 13.1 102.3 13.1 100.8C13.1 99.3 14.3 98.1 15.8 98.1C17.3 98.1 18.5 99.3 18.5 100.8C18.5 102.3 17.3 103.5 15.8 103.5Z" fill="#F29018"></path><path d="M9.2 103.5C7.7 103.5 6.5 102.3 6.5 100.8C6.5 99.3 7.7 98.1 9.2 98.1C10.7 98.1 11.9 99.3 11.9 100.8C11.9 102.3 10.7 103.5 9.2 103.5Z" fill="#F29018"></path><path d="M2.7 103.5C1.2 103.5 0 102.3 0 100.8C0 99.3 1.2 98.1 2.7 98.1C4.2 98.1 5.4 99.3 5.4 100.8C5.4 102.3 4.2 103.5 2.7 103.5Z" fill="#F29018"></path><path d="M41.9 96.9C40.4 96.9 39.2 95.7 39.2 94.2C39.2 92.7 40.4 91.5 41.9 91.5C43.4 91.5 44.6 92.7 44.6 94.2C44.6 95.7 43.4 96.9 41.9 96.9Z" fill="#F29018"></path><path d="M48.4 96.9C46.9 96.9 45.7 95.7 45.7 94.2C45.7 92.7 46.9 91.5 48.4 91.5C49.9 91.5 51.1 92.7 51.1 94.2C51.2 95.7 49.9 96.9 48.4 96.9Z" fill="#F29018"></path><path d="M81.1 44.6C79.6 44.6 78.4 43.4 78.4 41.9C78.4 40.4 79.6 39.2 81.1 39.2C82.6 39.2 83.8 40.4 83.8 41.9C83.9 43.4 82.6 44.6 81.1 44.6Z" fill="#F29018"></path><path d="M41.9 31.6C40.4 31.6 39.2 30.4 39.2 28.9C39.2 27.4 40.4 26.2 41.9 26.2C43.4 26.2 44.6 27.4 44.6 28.9C44.6 30.4 43.4 31.6 41.9 31.6Z" fill="#F29018"></path><path d="M61.5 31.6C60 31.6 58.8 30.4 58.8 28.9C58.8 27.4 60 26.2 61.5 26.2C63 26.2 64.2 27.4 64.2 28.9C64.2 30.4 63 31.6 61.5 31.6Z" fill="#F29018"></path><path d="M68.1 31.6C66.6 31.6 65.4 30.4 65.4 28.9C65.4 27.4 66.6 26.2 68.1 26.2C69.6 26.2 70.8 27.4 70.8 28.9C70.8 30.4 69.6 31.6 68.1 31.6Z" fill="#F29018"></path><path d="M74.6 31.6C73.1 31.6 71.9 30.4 71.9 28.9C71.9 27.4 73.1 26.2 74.6 26.2C76.1 26.2 77.3 27.4 77.3 28.9C77.3 30.4 76.1 31.6 74.6 31.6Z" fill="#F29018"></path><path d="M81.1 31.6C79.6 31.6 78.4 30.4 78.4 28.9C78.4 27.4 79.6 26.2 81.1 26.2C82.6 26.2 83.8 27.4 83.8 28.9C83.8 30.4 82.6 31.6 81.1 31.6Z" fill="#F29018"></path><path d="M61.5 25C60 25 58.8 23.8 58.8 22.3C58.8 20.8 60 19.6 61.5 19.6C63 19.6 64.2 20.8 64.2 22.3C64.2 23.8 63 25 61.5 25Z" fill="#F29018"></path><path d="M55 31.6C53.5 31.6 52.3 30.4 52.3 28.9C52.3 27.4 53.5 26.2 55 26.2C56.5 26.2 57.7 27.4 57.7 28.9C57.7 30.4 56.5 31.6 55 31.6Z" fill="#F29018"></path><path d="M55 25C53.5 25 52.3 23.8 52.3 22.3C52.3 20.8 53.5 19.6 55 19.6C56.5 19.6 57.7 20.8 57.7 22.3C57.7 23.8 56.5 25 55 25Z" fill="#F29018"></path><path d="M41.9 18.5C40.4 18.5 39.2 17.3 39.2 15.8C39.2 14.3 40.4 13.1 41.9 13.1C43.4 13.1 44.6 14.3 44.6 15.8C44.6 17.3 43.4 18.5 41.9 18.5Z" fill="#F29018"></path><path d="M48.4 11.9C46.9 11.9 45.7 10.7 45.7 9.2C45.7 7.7 46.9 6.5 48.4 6.5C49.9 6.5 51.1 7.7 51.1 9.2C51.2 10.7 49.9 11.9 48.4 11.9Z" fill="#F29018"></path><path d="M55 5.4C53.5 5.4 52.3 4.2 52.3 2.7C52.3 1.2 53.5 0 55 0C56.5 0 57.7 1.2 57.7 2.7C57.7 4.2 56.5 5.4 55 5.4Z" fill="#F29018"></path><path d="M68.1 25C66.6 25 65.4 23.8 65.4 22.3C65.4 20.8 66.6 19.6 68.1 19.6C69.6 19.6 70.8 20.8 70.8 22.3C70.8 23.8 69.6 25 68.1 25Z" fill="#F29018"></path><path d="M74.6 25C73.1 25 71.9 23.8 71.9 22.3C71.9 20.8 73.1 19.6 74.6 19.6C76.1 19.6 77.3 20.8 77.3 22.3C77.3 23.8 76.1 25 74.6 25Z" fill="#F29018"></path><path d="M81.1 25C79.6 25 78.4 23.8 78.4 22.3C78.4 20.8 79.6 19.6 81.1 19.6C82.6 19.6 83.8 20.8 83.8 22.3C83.8 23.8 82.6 25 81.1 25Z" fill="#F29018"></path><path d="M61.5 18.5C60 18.5 58.8 17.3 58.8 15.8C58.8 14.3 60 13.1 61.5 13.1C63 13.1 64.2 14.3 64.2 15.8C64.2 17.3 63 18.5 61.5 18.5Z" fill="#F29018"></path><path d="M68.1 18.5C66.6 18.5 65.4 17.3 65.4 15.8C65.4 14.3 66.6 13.1 68.1 13.1C69.6 13.1 70.8 14.3 70.8 15.8C70.8 17.3 69.6 18.5 68.1 18.5Z" fill="#F29018"></path><path d="M74.6 18.5C73.1 18.5 71.9 17.3 71.9 15.8C71.9 14.3 73.1 13.1 74.6 13.1C76.1 13.1 77.3 14.3 77.3 15.8C77.3 17.3 76.1 18.5 74.6 18.5Z" fill="#F29018"></path><path d="M81.1 18.5C79.6 18.5 78.4 17.3 78.4 15.8C78.4 14.3 79.6 13.1 81.1 13.1C82.6 13.1 83.8 14.3 83.8 15.8C83.8 17.3 82.6 18.5 81.1 18.5Z" fill="#F29018"></path><path d="M87.7 31.6C86.2 31.6 85 30.4 85 28.9C85 27.4 86.2 26.2 87.7 26.2C89.2 26.2 90.4 27.4 90.4 28.9C90.4 30.4 89.2 31.6 87.7 31.6Z" fill="#F29018"></path><path d="M87.7 25C86.2 25 85 23.8 85 22.3C85 20.8 86.2 19.6 87.7 19.6C89.2 19.6 90.4 20.8 90.4 22.3C90.4 23.8 89.2 25 87.7 25Z" fill="#F29018"></path><path d="M87.7 18.5C86.2 18.5 85 17.3 85 15.8C85 14.3 86.2 13.1 87.7 13.1C89.2 13.1 90.4 14.3 90.4 15.8C90.4 17.3 89.2 18.5 87.7 18.5Z" fill="#F29018"></path><path d="M68.1 11.9C66.6 11.9 65.4 10.7 65.4 9.2C65.4 7.7 66.6 6.5 68.1 6.5C69.6 6.5 70.8 7.7 70.8 9.2C70.8 10.7 69.6 11.9 68.1 11.9Z" fill="#F29018"></path><path d="M74.6 11.9C73.1 11.9 71.9 10.7 71.9 9.2C71.9 7.7 73.1 6.5 74.6 6.5C76.1 6.5 77.3 7.7 77.3 9.2C77.3 10.7 76.1 11.9 74.6 11.9Z" fill="#F29018"></path><path d="M81.1 11.9C79.6 11.9 78.4 10.7 78.4 9.2C78.4 7.7 79.6 6.5 81.1 6.5C82.6 6.5 83.8 7.7 83.8 9.2C83.9 10.7 82.6 11.9 81.1 11.9Z" fill="#F29018"></path><path d="M87.7 11.9C86.2 11.9 85 10.7 85 9.2C85 7.7 86.2 6.5 87.7 6.5C89.2 6.5 90.4 7.7 90.4 9.2C90.4 10.7 89.2 11.9 87.7 11.9Z" fill="#F29018"></path><path d="M94.2 25C92.7 25 91.5 23.8 91.5 22.3C91.5 20.8 92.7 19.6 94.2 19.6C95.7 19.6 96.9 20.8 96.9 22.3C96.9 23.8 95.7 25 94.2 25Z" fill="#F29018"></path><path d="M94.2 18.5C92.7 18.5 91.5 17.3 91.5 15.8C91.5 14.3 92.7 13.1 94.2 13.1C95.7 13.1 96.9 14.3 96.9 15.8C96.9 17.3 95.7 18.5 94.2 18.5Z" fill="#F29018"></path><path d="M135.1 58.6V61.6C135.1 61.6 135.1 64.6 132.1 64.6H120.1V75V76.6C120.1 76.7 120.1 76.8 120.1 76.9C120.1 77 120.1 77 120.1 77.1C120 77.8 119.8 78.3 119.4 78.6C119.4 78.6 119.4 78.7 119.3 78.7C119.2 78.8 119.1 78.9 119 79C118.7 79.3 118.3 79.5 117.7 79.6C117.3 79.7 117.1 79.7 117.1 79.7H114.1C114.1 79.7 113.8 79.7 113.5 79.6C112.9 79.5 112.5 79.3 112.2 79C112.1 78.9 112 78.8 111.9 78.7C111.9 78.7 111.9 78.6 111.8 78.6C111.5 78.2 111.2 77.7 111.1 77.1C111.1 77 111.1 77 111.1 76.9C111.1 76.8 111.1 76.7 111.1 76.6V75V64.6H99.1C96.1 64.6 96.1 61.6 96.1 61.6V58.6C96.1 55.6 99.1 55.6 99.1 55.6H111.1V45.5V43.7C111.1 43.7 111.1 43.4 111.2 43C111.3 42.5 111.5 42.1 111.7 41.8C111.8 41.7 111.9 41.6 112 41.5L112.1 41.4C112.4 41.1 112.9 40.9 113.5 40.8C113.8 40.7 114 40.7 114.1 40.7H117.1C117.1 40.7 117.4 40.7 117.7 40.8C118.3 40.9 118.8 41.1 119.1 41.4L119.2 41.5C119.3 41.6 119.4 41.7 119.5 41.8C119.8 42.1 119.9 42.5 120 43C120.1 43.4 120.1 43.7 120.1 43.7V45.5V55.6H132.1C132.1 55.6 135.1 55.6 135.1 58.6Z" fill="#F29018"></path><path d="M132.1 83.9C119.1 92.9 101.2 89.6 92.3 76.6C83.4 63.6 86.6 45.7 99.6 36.8C112.6 27.8 130.5 31.1 139.4 44.1C148.3 57.1 145.1 74.9 132.1 83.9ZM149.2 37.3C136.5 18.9 111.2 14.2 92.8 27C74.4 39.7 69.7 65 82.5 83.4C93.8 99.8 115 105.2 132.5 97.4L148.1 120C150.4 123.3 154.9 124.1 158.3 121.8C161.6 119.5 162.5 115 160.2 111.7L144.5 89C158.1 75.4 160.5 53.6 149.2 37.3Z" fill="#110E72"></path>',117)];function C7(n,e){return c.openBlock(),c.createElementBlock("svg",v7,y7)}const Xd=me(g7,[["render",C7]]),E7={},b7=[c.createStaticVNode('<title>BeterDichtbij logo</title><g id="Logo" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="Group-3-Copy-2" transform="translate(0.000000, -14.000000)"><g id="Master-Copy" transform="translate(0.000000, 21.000000)" fill="#E1523D"><g id="Group-36-Copy-2"><path d="M0,7.07801038 C0,4.71449972 1.60969434,3.38479666 3.84879725,3.38479666 L13.2067282,3.38479666 C18.2745524,3.38479666 22.3693254,6.83325734 22.3693254,12.0497847 C22.3693254,15.4945924 20.9549647,17.8069606 17.8368602,19.2827849 L17.8368602,19.3814167 C21.978658,19.9732076 25.2450714,23.4655047 25.2450714,27.7468563 C25.2450714,34.687614 20.6619642,38.4283171 13.9374209,38.4283171 L3.89943932,38.4283171 C1.65671912,38.4283171 0,36.9999822 0,34.687614 L0,7.07801038 Z M7.3105444,17.2663121 L11.1123169,17.2663121 C13.4997287,17.2663121 15.058781,15.8379772 15.058781,13.3758348 C15.058781,11.0634665 13.2537529,9.88353771 11.1123169,9.88353771 L7.3105444,9.88353771 L7.3105444,17.2663121 Z M7.3105444,31.9332291 L13.0620365,31.9332291 C15.6918068,31.9332291 17.6415265,30.4062624 17.6415265,27.6482244 C17.6415265,25.3358562 15.8871405,23.7614001 12.4760354,23.7614001 L7.3105444,23.7614001 L7.3105444,31.9332291 Z" id="Fill-10"></path><path d="M33.6758908,27.6990016 C34.164225,31.1912986 37.0399711,32.8168971 40.3027672,32.8168971 C43.909206,32.8168971 46.3942847,29.9638804 48.2463375,29.9638804 C49.758365,29.9638804 51.1220836,31.4871941 51.1220836,33.0141608 C51.1220836,36.0644411 44.8858745,39.0197427 39.6697414,39.0197427 C31.7768132,39.0197427 26.5136553,33.2114244 26.5136553,25.3866333 C26.5136553,18.2011226 31.6791463,11.6548921 39.0873576,11.6548921 C46.6872852,11.6548921 51.7080846,18.6431393 51.7080846,24.5500894 C51.7080846,26.665194 50.7820582,27.6990016 48.6370049,27.6990016 L33.6758908,27.6990016 Z M44.6905408,22.9756333 C44.2998734,19.8742105 42.3501537,17.5618423 39.0873576,17.5618423 C35.9656357,17.5618423 33.8712245,19.9728423 33.5311991,22.9756333 L44.6905408,22.9756333 Z" id="Fill-12"></path><path d="M55.9001628,18.4462409 L54.3411105,18.4462409 C52.4384156,18.4462409 51.2700307,17.2663121 51.2700307,15.3448181 C51.2700307,13.5730984 52.5867245,12.2470484 54.3411105,12.2470484 L55.9001628,12.2470484 L55.9001628,8.01318615 C55.9001628,5.6496755 57.3615482,4.0752194 59.4089347,4.0752194 C61.4563212,4.0752194 62.9177066,5.6496755 62.9177066,8.01318615 L62.9177066,12.2470484 L64.9144511,12.2470484 C66.7194791,12.2470484 68.2785314,13.0799393 68.2785314,15.3448181 C68.2785314,17.5585545 66.7194791,18.4462409 64.9144511,18.4462409 L62.9177066,18.4462409 L62.9177066,34.7862458 C62.9177066,37.1497565 61.4563212,38.7205595 59.4089347,38.7205595 C57.3615482,38.7205595 55.9001628,37.1497565 55.9001628,34.7862458 L55.9001628,18.4462409 Z" id="Fill-14"></path><path d="M74.2727437,27.6990016 C74.761078,31.1912986 77.636824,32.8168971 80.8996202,32.8168971 C84.506059,32.8168971 86.9911376,29.9638804 88.8431905,29.9638804 C90.3552179,29.9638804 91.7189365,31.4871941 91.7189365,33.0141608 C91.7189365,36.0644411 85.4827274,39.0197427 80.2665943,39.0197427 C72.3736661,39.0197427 67.1105082,33.2114244 67.1105082,25.3866333 C67.1105082,18.2011226 72.2759993,11.6548921 79.6805932,11.6548921 C87.2841382,11.6548921 92.3049376,18.6431393 92.3049376,24.5500894 C92.3049376,26.665194 91.3789112,27.6990016 89.2338578,27.6990016 L74.2727437,27.6990016 Z M85.2873937,22.9756333 C84.8967264,19.8742105 82.9470067,17.5618423 79.6805932,17.5618423 C76.5624887,17.5618423 74.4680774,19.9728423 74.1280521,22.9756333 L85.2873937,22.9756333 Z" id="Fill-16"></path><path d="M94.6934346,15.4934965 C94.6934346,13.1299858 96.5454874,11.950057 98.2998734,11.950057 C100.151926,11.950057 101.710978,12.6404797 101.710978,14.9017055 L101.808645,14.9017055 C103.125339,12.9327222 104.5397,11.950057 106.731778,11.950057 C108.435522,11.950057 110.142883,13.1811282 110.142883,15.7382495 C110.142883,18.0506177 108.044854,18.200392 105.950443,19.1830571 C103.856032,20.1693753 101.710978,21.1045511 101.710978,23.9100785 L101.710978,34.7851499 C101.710978,37.1486606 100.249593,38.7231166 98.2022065,38.7231166 C96.15482,38.7231166 94.6934346,37.1486606 94.6934346,34.7851499 L94.6934346,15.4934965 Z" id="Fill-18"></path><path d="M114.139266,7.17591159 C114.139266,4.91103276 115.698318,3.38771909 117.890396,3.38771909 L125.982275,3.38771909 C136.899258,3.38771909 143.135468,10.474598 143.135468,21.4008119 C143.135468,31.7352348 136.508591,38.4275865 126.47061,38.4275865 L117.988063,38.4275865 C116.381986,38.4275865 114.139266,37.5435531 114.139266,34.7380258 L114.139266,7.17591159 Z M121.44981,31.636603 L126.369325,31.636603 C132.659794,31.636603 135.531923,26.9607241 135.531923,21.053774 C135.531923,14.7559496 132.609152,10.1787026 125.884608,10.1787026 L121.44981,10.1787026 L121.44981,31.636603 Z" id="Fill-20"></path><path d="M153.809731,5.20729352 C153.809731,7.42102993 152.055345,9.29138148 149.863266,9.29138148 C147.765238,9.29138148 145.913185,7.37354053 145.913185,5.20729352 C145.913185,3.19082075 147.765238,1.32046919 149.863266,1.32046919 C151.957678,1.32046919 153.809731,3.13967832 153.809731,5.20729352 L153.809731,5.20729352 Z M146.354494,15.8887543 C146.354494,13.5252437 147.81588,11.9507876 149.863266,11.9507876 C151.910653,11.9507876 153.372038,13.5252437 153.372038,15.8887543 L153.372038,34.7858805 C153.372038,37.1493912 151.910653,38.7238473 149.863266,38.7238473 C147.81588,38.7238473 146.354494,37.1493912 146.354494,34.7858805 L146.354494,15.8887543 Z" id="Fill-22"></path><path d="M174.716947,19.5289991 C172.962561,19.5289991 171.403509,18.1518067 169.160789,18.1518067 C165.163682,18.1518067 163.264605,21.7427355 163.264605,25.3848068 C163.264605,28.8807569 165.359016,32.5228282 169.160789,32.5228282 C170.915175,32.5228282 173.548562,31.0470039 174.376922,31.0470039 C176.033641,31.0470039 177.397359,32.4716858 177.397359,34.1447737 C177.397359,37.786845 171.352867,39.0179162 168.820763,39.0179162 C161.26786,39.0179162 156.247061,32.7675812 156.247061,25.3848068 C156.247061,18.1992961 161.412552,11.6530656 168.820763,11.6530656 C171.598842,11.6530656 177.397359,12.6868732 177.397359,16.1316809 C177.397359,17.6075051 176.373666,19.5289991 174.716947,19.5289991" id="Fill-24"></path><path d="M179.83469,4.46901608 C179.83469,2.10550542 181.296075,0.531049329 183.343462,0.531049329 C185.390848,0.531049329 186.852234,2.10550542 186.852234,4.46901608 L186.852234,14.1166693 L186.949901,14.1166693 C188.411286,12.2938072 191.14234,11.6545268 193.334419,11.6545268 C198.839935,11.6545268 202.934708,15.1979663 202.934708,21.2035482 L202.934708,34.7855152 C202.934708,37.1490259 201.473322,38.723482 199.425936,38.723482 C197.378549,38.723482 195.917164,37.1490259 195.917164,34.7855152 L195.917164,22.4346195 C195.917164,19.1359331 193.869778,17.561477 191.337674,17.561477 C188.461928,17.561477 186.852234,19.6765816 186.852234,22.4346195 L186.852234,34.7855152 C186.852234,37.1490259 185.390848,38.723482 183.343462,38.723482 C181.296075,38.723482 179.83469,37.1490259 179.83469,34.7855152 L179.83469,4.46901608 Z" id="Fill-26"></path><path d="M208.63809,18.4462409 L207.079038,18.4462409 C205.17996,18.4462409 204.007958,17.2663121 204.007958,15.3448181 C204.007958,13.5730984 205.324652,12.2470484 207.079038,12.2470484 L208.63809,12.2470484 L208.63809,8.01318615 C208.63809,5.6496755 210.099475,4.0752194 212.146862,4.0752194 C214.194249,4.0752194 215.655634,5.6496755 215.655634,8.01318615 L215.655634,12.2470484 L217.652378,12.2470484 C219.457406,12.2470484 221.016459,13.0799393 221.016459,15.3448181 C221.016459,17.5585545 219.457406,18.4462409 217.652378,18.4462409 L215.655634,18.4462409 L215.655634,34.7862458 C215.655634,37.1497565 214.194249,38.7205595 212.146862,38.7205595 C210.099475,38.7205595 208.63809,37.1497565 208.63809,34.7862458 L208.63809,18.4462409 Z" id="Fill-28"></path><path d="M222.820402,4.46865078 C222.820402,2.10514012 224.281787,0.530684026 226.329173,0.530684026 C228.37656,0.530684026 229.837945,2.10514012 229.837945,4.46865078 L229.837945,14.116304 C231.689998,12.4907055 234.07741,11.6541615 236.515464,11.6541615 C244.068367,11.6541615 247.819497,18.7921829 247.819497,25.6817982 C247.819497,32.3741498 243.337674,39.0190121 236.269488,39.0190121 C233.882076,39.0190121 231.154639,37.9340621 229.837945,35.7714681 C229.400253,37.6418197 228.278893,38.7231166 226.329173,38.7231166 C224.281787,38.7231166 222.820402,37.1486606 222.820402,34.7851499 L222.820402,4.46865078 Z M235.343462,32.5202711 C239.000543,32.5202711 240.801953,28.6845892 240.801953,25.3859027 C240.801953,22.0397269 239.000543,18.1492495 235.343462,18.1492495 C231.592331,18.1492495 229.837945,21.692689 229.837945,25.1411497 C229.837945,28.5859573 231.494664,32.5202711 235.343462,32.5202711 L235.343462,32.5202711 Z" id="Fill-30"></path><path d="M258.153735,5.20729352 C258.153735,7.42102993 256.399349,9.29138148 254.207271,9.29138148 C252.109242,9.29138148 250.257189,7.37354053 250.257189,5.20729352 C250.257189,3.19082075 252.109242,1.32046919 254.207271,1.32046919 C256.301682,1.32046919 258.153735,3.13967832 258.153735,5.20729352 L258.153735,5.20729352 Z M250.698499,15.8887543 C250.698499,13.5252437 252.159884,11.9507876 254.207271,11.9507876 C256.254657,11.9507876 257.716043,13.5252437 257.716043,15.8887543 L257.716043,34.7858805 C257.716043,37.1493912 256.254657,38.7238473 254.207271,38.7238473 C252.159884,38.7238473 250.698499,37.1493912 250.698499,34.7858805 L250.698499,15.8887543 Z" id="Fill-32"></path><path d="M268.972689,5.20729352 C268.972689,7.42102993 267.218303,9.29138148 265.026225,9.29138148 C262.928197,9.29138148 261.076144,7.37354053 261.076144,5.20729352 C261.076144,3.19082075 262.928197,1.32046919 265.026225,1.32046919 C267.120637,1.32046919 268.972689,3.13967832 268.972689,5.20729352 L268.972689,5.20729352 Z M261.517453,15.8887543 C261.517453,13.5252437 262.978839,11.9507876 265.026225,11.9507876 C267.073612,11.9507876 268.534997,13.5252437 268.534997,15.8887543 L268.534997,45.2189353 C268.534997,47.5824459 267.073612,49.156902 265.026225,49.156902 C262.978839,49.156902 261.517453,47.5824459 261.517453,45.2189353 L261.517453,15.8887543 Z" id="Fill-34"></path></g></g><polyline id="Path" stroke="#E1523D" stroke-width="6.4" stroke-linecap="round" stroke-linejoin="round" transform="translate(346.970563, 44.470563) rotate(-45.000000) translate(-346.970563, -44.470563) " points="334.970563 56.4705627 334.970563 32.4705627 334.970563 32.4705627 358.970563 32.4705627"></polyline><g id="Group-2" transform="translate(319.970563, 44.500000) rotate(90.000000) translate(-319.970563, -44.500000) translate(275.970563, 27.500000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.4"><polyline id="Path-Copy-2" stroke="#418FDE" transform="translate(70.970563, 17.000000) rotate(-45.000000) translate(-70.970563, -17.000000) " points="58.9705627 29 58.9705627 5 82.9705627 5"></polyline><polyline id="Path-Copy-3" stroke="#FFC72C" transform="translate(16.970563, 17.000000) scale(-1, 1) rotate(-45.000000) translate(-16.970563, -17.000000) " points="4.97056275 29 4.97056275 5 28.9705627 5"></polyline></g><polyline id="Path-Copy" stroke="#00BF6F" stroke-width="6.4" stroke-linecap="round" stroke-linejoin="round" transform="translate(292.970563, 44.470563) scale(-1, 1) rotate(-45.000000) translate(-292.970563, -44.470563) " points="280.970563 56.4705627 280.970563 32.4705627 280.970563 32.4705627 304.970563 32.4705627"></polyline></g></g>',2)];function A7(n,e){return c.openBlock(),c.createElementBlock("svg",c.mergeProps({class:"bd-logo"},n.$attrs,{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}),b7,16)}const ka=me(E7,[["render",A7]]),qd=/^https:/i,Tr=c.defineComponent({__name:"BDLink",props:{to:{default:""},target:{default:"_blank"},text:{default:void 0},rel:{default:"noopener noreferrer"}},setup(n){const e=n,t=c.computed(()=>typeof e.to=="string"&&qd.test(e.to)?"a":typeof e.to!="string"&&typeof c.resolveComponent("router-link")!="string"?"router-link":"div"),r=c.computed(()=>{if(typeof e.to=="string"&&qd.test(e.to)){const{to:o,target:i,rel:s}=e;return{href:o,target:i,rel:s}}else{const{to:o}=e;return{to:o}}});return(o,i)=>(c.openBlock(),c.createBlock(c.resolveDynamicComponent(t.value),c.mergeProps({class:"bd-link"},r.value),{default:c.withCtx(()=>[c.renderSlot(o.$slots,"default",{},()=>[c.createTextVNode(c.toDisplayString(e.text),1)])]),_:3},16))}}),di={PRIMARY:"primary",SECONDARY:"secondary",DANGER:"danger",WARNING:"warning",INFO:"info",SUCCESS:"success",LIGHT:"light",GRAY:"gray"},w7={key:0,class:"b-d-alert-title"},vo=c.defineComponent({__name:"BDAlert",props:{variant:{default:di.PRIMARY},title:{default:""}},setup(n){const e=n,t=c.computed(()=>["alert",`alert-${e.variant}`]);return(r,o)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(t.value),role:"alert"},[r.title?(c.openBlock(),c.createElementBlock("div",w7,[c.createVNode(c.unref(qn)),c.createElementVNode("span",null,[c.createElementVNode("strong",null,c.toDisplayString(e.title),1)])])):c.createCommentVNode("",!0),c.renderSlot(r.$slots,"default")],2))}}),S7={class:"bd-profile-picture"},k7=["src","alt"],yo=c.defineComponent({__name:"BDProfileImage",props:{src:{default:""},username:{default:null},size:{default:lt.LG},linkText:{default:null}},emits:["click"],setup(n,{emit:e}){const t=n,r=c.computed(()=>`${t.username?`${t.username}'s `:""}profielfoto`),o=()=>{e("click")};return(i,s)=>(c.openBlock(),c.createElementBlock("div",S7,[c.createElementVNode("div",{class:c.normalizeClass(["rounded-circle",t.size])},[c.createElementVNode("img",{src:t.src,alt:r.value,class:"position-absolute top-0 start-0"},null,8,k7)],2),t.linkText?(c.openBlock(),c.createBlock(We,{key:0,variant:"link",onClick:o,textContent:c.toDisplayString(t.linkText)},null,8,["textContent"])):c.createCommentVNode("",!0)]))}});function x7(n){return c.getCurrentScope()?(c.onScopeDispose(n),!0):!1}function ui(n){return typeof n=="function"?n():c.unref(n)}const T7=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const M7=n=>typeof n<"u",I7=Object.prototype.toString,O7=n=>I7.call(n)==="[object Object]",xa=()=>{};function _7(n,e){function t(...r){return new Promise((o,i)=>{Promise.resolve(n(()=>e.apply(this,r),{fn:e,thisArg:this,args:r})).then(o).catch(i)})}return t}function N7(n,e={}){let t,r,o=xa;const i=l=>{clearTimeout(l),o(),o=xa};return l=>{const a=ui(n),d=ui(e.maxWait);return t&&i(t),a<=0||d!==void 0&&d<=0?(r&&(i(r),r=null),Promise.resolve(l())):new Promise((u,f)=>{o=e.rejectOnCancel?f:u,d&&!r&&(r=setTimeout(()=>{t&&i(t),r=null,u(l())},d)),t=setTimeout(()=>{r&&i(r),r=null,u(l())},a)})}}function L7(n,e=200,t={}){return _7(N7(e,t),n)}function eu(n){var e;const t=ui(n);return(e=t==null?void 0:t.$el)!=null?e:t}const D7=T7?window:void 0;function tu(...n){let e,t,r,o;if(typeof n[0]=="string"||Array.isArray(n[0])?([t,r,o]=n,e=D7):[e,t,r,o]=n,!e)return xa;Array.isArray(t)||(t=[t]),Array.isArray(r)||(r=[r]);const i=[],s=()=>{i.forEach(u=>u()),i.length=0},l=(u,f,h,p)=>(u.addEventListener(f,h,p),()=>u.removeEventListener(f,h,p)),a=c.watch(()=>[eu(e),ui(o)],([u,f])=>{if(s(),!u)return;const h=O7(f)?{...f}:f;i.push(...t.flatMap(p=>r.map(m=>l(u,p,m,h))))},{immediate:!0,flush:"post"}),d=()=>{a(),s()};return x7(d),d}function B7(n){return JSON.parse(JSON.stringify(n))}function R7(n,e={}){const{initialValue:t=!1,focusVisible:r=!1}=e,o=c.ref(!1),i=c.computed(()=>eu(n));tu(i,"focus",l=>{var a,d;(!r||(d=(a=l.target).matches)!=null&&d.call(a,":focus-visible"))&&(o.value=!0)}),tu(i,"blur",()=>o.value=!1);const s=c.computed({get:()=>o.value,set(l){var a,d;!l&&o.value?(a=i.value)==null||a.blur():l&&!o.value&&((d=i.value)==null||d.focus())}});return c.watch(i,()=>{s.value=t},{immediate:!0,flush:"post"}),{focused:s}}function er(n,e,t,r={}){var o,i,s;const{clone:l=!1,passive:a=!1,eventName:d,deep:u=!1,defaultValue:f,shouldEmit:h}=r,p=c.getCurrentInstance(),m=t||(p==null?void 0:p.emit)||((o=p==null?void 0:p.$emit)==null?void 0:o.bind(p))||((s=(i=p==null?void 0:p.proxy)==null?void 0:i.$emit)==null?void 0:s.bind(p==null?void 0:p.proxy));let g=d;e||(e="modelValue"),g=g||`update:${e.toString()}`;const v=S=>l?typeof l=="function"?l(S):B7(S):S,b=()=>M7(n[e])?v(n[e]):f,A=S=>{h?h(S)&&m(g,S):m(g,S)};if(a){const S=b(),y=c.ref(S);let T=!1;return c.watch(()=>n[e],k=>{T||(T=!0,y.value=v(k),c.nextTick(()=>T=!1))}),c.watch(y,k=>{!T&&(k!==n[e]||u)&&A(k)},{deep:u}),y}else return c.computed({get(){return b()},set(S){A(S)}})}const P7={class:"bd-zoom-slider d-flex"},F7=[c.createElementVNode("g",{transform:"matrix(0.8333333333333334,0,0,0.8333333333333334,0,0)"},[c.createElementVNode("path",{d:"M1.5 13.5h21a1.5 1.5 0 0 0 0-3h-21a1.5 1.5 0 0 0 0 3z","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"0"})],-1)],V7=["max"],$7=[c.createElementVNode("g",{transform:"matrix(0.8333333333333334,0,0,0.8333333333333334,0,0)"},[c.createElementVNode("path",{d:"M0 12a1.5 1.5 0 0 0 1.5 1.5h8.75a.25.25 0 0 1 .25.25v8.75a1.5 1.5 0 0 0 3 0v-8.75a.25.25 0 0 1 .25-.25h8.75a1.5 1.5 0 0 0 0-3h-8.75a.25.25 0 0 1-.25-.25V1.5a1.5 1.5 0 0 0-3 0v8.75a.25.25 0 0 1-.25.25H1.5A1.5 1.5 0 0 0 0 12z","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"0"})],-1)],Ta=c.defineComponent({__name:"BDZoomslider",props:{modelValue:{},maxValue:{default:5}},emits:["update:modelValue"],setup(n,{emit:e}){const t=n,r=er(t,"modelValue",e);function o(){r.value!==0&&r.value--}function i(){r.value<t.maxValue&&r.value++}return(s,l)=>(c.openBlock(),c.createElementBlock("div",P7,[(c.openBlock(),c.createElementBlock("svg",{class:"bd-zoom-slider-min-button",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",fill:"#000000",stroke:"#000000",height:"20",width:"20",onClick:o},F7)),c.withDirectives(c.createElementVNode("input",{type:"range","onUpdate:modelValue":l[0]||(l[0]=a=>c.isRef(r)?r.value=a:null),min:"0",max:s.maxValue,class:"bd-zoom-slider-input"},null,8,V7),[[c.vModelText,c.unref(r)]]),(c.openBlock(),c.createElementBlock("svg",{class:"bd-zoom-slider-plus-button",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",fill:"#000000",stroke:"#000000",height:"20",width:"20",onClick:i},$7))]))}});for(var tr=256,nu=[],ru=256,fi;tr--;)nu[tr]=(tr+256).toString(16).substring(1);function ou(n){var e=0,t=n||11;if(!fi||tr+t>ru*2)for(fi="",tr=0;e<ru;e++)fi+=nu[Math.random()*256|0];return fi.substring(tr,tr+++t)}function Mr(){return{uniqueIdentifier:c.ref(ou())}}const z7=["id"],H7={key:0},hi=c.defineComponent({__name:"BDCard",props:{class:{default:""},title:{default:""},noHeader:{type:Boolean,default:!1},noBody:{type:Boolean,default:!1},headerClass:{default:""},bodyClass:{default:""},id:{default:0},headerVariant:{default:"primary"}},setup(n){const e=n,{uniqueIdentifier:t}=Mr(),r=t.value,o=c.computed(()=>({"bd-card card":!0,[`${e.class}`]:e.class,"no-body":e.noBody})),i=c.computed(()=>({"card-header":!0,"no-title":!e.title,[`${e.headerClass}`]:e.headerClass,[`${e.headerVariant}`]:e.headerVariant})),s=c.computed(()=>({"card-body":!0,[`${e.bodyClass}`]:e.bodyClass}));return(l,a)=>(c.openBlock(),c.createElementBlock("div",{id:c.unref(r),class:c.normalizeClass(o.value)},[!l.noHeader||l.noBody?(c.openBlock(),c.createElementBlock("div",{key:0,class:c.normalizeClass(i.value)},[c.renderSlot(l.$slots,"header",{},()=>[l.title?(c.openBlock(),c.createElementBlock("h2",H7,c.toDisplayString(l.title),1)):c.createCommentVNode("",!0)])],2)):c.createCommentVNode("",!0),l.noBody?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",{key:1,class:c.normalizeClass(s.value)},[c.renderSlot(l.$slots,"body")],2))],10,z7))}}),U7={key:0},j7={class:"bd-collapsable-card__actions"},W7=["data-bs-target"],iu=c.defineComponent({__name:"BDCollapsableCard",props:{title:{default:"Title"},disabled:{type:Boolean,default:!1},showOn:{default:"md"},visible:{type:Boolean,default:!0}},setup(n){const e=n,{uniqueIdentifier:t}=Mr(),r=t.value,o=c.computed(()=>`bd-collapsable-card__collapse-${r}`),i=c.computed(()=>({"d-block":[lt.SM,lt.MD].includes(e.showOn.toLowerCase()),"d-md-none":e.showOn.toLowerCase()==lt.SM,"d-lg-none":e.showOn.toLowerCase()==lt.MD})),s=c.computed(()=>{let a={"round-corners-sm":e.showOn.toLowerCase()==lt.SM,"round-corners-md":e.showOn.toLowerCase()==lt.MD,"is-disabled":e.disabled,"round-corners":!e.visible};return Object.keys(a).filter(d=>a[d]).join(" ")}),l=c.computed(()=>{let a={collapse:!0,show:!0,"collapsable-body":!0,[`${o.value}`]:!0,"display-none":!e.visible||e.disabled,"open-collapse-lg":e.visible&&[lt.SM,lt.MD].includes(e.showOn.toLowerCase()),"open-collapse-md":e.showOn.toLowerCase()==lt.SM&&e.visible};return Object.keys(a).filter(d=>a[d]).join(" ")});return(a,d)=>(c.openBlock(),c.createBlock(hi,{class:"bd-collapsable-card",title:a.title,"header-class":s.value,"body-class":l.value},{header:c.withCtx(()=>[a.title?(c.openBlock(),c.createElementBlock("h2",U7,c.toDisplayString(a.title),1)):c.createCommentVNode("",!0),c.createElementVNode("div",j7,[c.renderSlot(a.$slots,"action"),!a.disabled&&a.visible?(c.openBlock(),c.createElementBlock("button",{key:0,class:c.normalizeClass(["btn btn-white btn-caret",i.value]),type:"button","data-bs-toggle":"collapse","data-bs-target":`.${o.value}`,"aria-expanded":"true"},[c.createVNode(c.unref(ha))],10,W7)):c.createCommentVNode("",!0)])]),body:c.withCtx(()=>[c.renderSlot(a.$slots,"body")]),_:3},8,["title","header-class","body-class"]))}});/*! maska v2.1.11 | (c) Alexander Shabunevich | Released under the MIT license */var K7=Object.defineProperty,Q7=(n,e,t)=>e in n?K7(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,Co=(n,e,t)=>(Q7(n,typeof e!="symbol"?e+"":e,t),t);const su={"#":{pattern:/[0-9]/},"@":{pattern:/[a-zA-Z]/},"*":{pattern:/[a-zA-Z0-9]/}};class au{constructor(e={}){Co(this,"opts",{}),Co(this,"memo",new Map);const t={...e};if(t.tokens!=null){t.tokens=t.tokensReplace?{...t.tokens}:{...su,...t.tokens};for(const r of Object.values(t.tokens))typeof r.pattern=="string"&&(r.pattern=new RegExp(r.pattern))}else t.tokens=su;Array.isArray(t.mask)&&(t.mask.length>1?t.mask=[...t.mask].sort((r,o)=>r.length-o.length):t.mask=t.mask[0]??""),t.mask===""&&(t.mask=null),this.opts=t}masked(e){return this.process(e,this.findMask(e))}unmasked(e){return this.process(e,this.findMask(e),!1)}isEager(){return this.opts.eager===!0}isReversed(){return this.opts.reversed===!0}completed(e){const t=this.findMask(e);if(this.opts.mask==null||t==null)return!1;const r=this.process(e,t).length;return typeof this.opts.mask=="string"?r>=this.opts.mask.length:typeof this.opts.mask=="function"?r>=t.length:this.opts.mask.filter(o=>r>=o.length).length===this.opts.mask.length}findMask(e){const t=this.opts.mask;if(t==null)return null;if(typeof t=="string")return t;if(typeof t=="function")return t(e);const r=this.process(e,t.slice(-1).pop()??"",!1);return t.find(o=>this.process(e,o,!1).length>=r.length)??""}escapeMask(e){const t=[],r=[];return e.split("").forEach((o,i)=>{o==="!"&&e[i-1]!=="!"?r.push(i-r.length):t.push(o)}),{mask:t.join(""),escaped:r}}process(e,t,r=!0){if(t==null)return e;const o=`value=${e},mask=${t},masked=${r?1:0}`;if(this.memo.has(o))return this.memo.get(o);const{mask:i,escaped:s}=this.escapeMask(t),l=[],a=this.opts.tokens!=null?this.opts.tokens:{},d=this.isReversed()?-1:1,u=this.isReversed()?"unshift":"push",f=this.isReversed()?0:i.length-1,h=this.isReversed()?()=>v>-1&&b>-1:()=>v<i.length&&b<e.length,p=S=>!this.isReversed()&&S<=f||this.isReversed()&&S>=f;let m,g=-1,v=this.isReversed()?i.length-1:0,b=this.isReversed()?e.length-1:0,A=!1;for(;h();){const S=i.charAt(v),y=a[S],T=(y==null?void 0:y.transform)!=null?y.transform(e.charAt(b)):e.charAt(b);if(!s.includes(v)&&y!=null?(T.match(y.pattern)!=null?(l[u](T),y.repeated?(g===-1?g=v:v===f&&v!==g&&(v=g-d),f===g&&(v-=d)):y.multiple&&(A=!0,v-=d),v+=d):y.multiple?A&&(v+=d,b-=d,A=!1):T===m?m=void 0:y.optional&&(v+=d,b-=d),b+=d):(r&&!this.isEager()&&l[u](S),T===S&&!this.isEager()?b+=d:m=S,this.isEager()||(v+=d)),this.isEager())for(;p(v)&&(a[i.charAt(v)]==null||s.includes(v));)r?l[u](i.charAt(v)):i.charAt(v)===e.charAt(b)&&(b+=d),v+=d}return this.memo.set(o,l.join("")),this.memo.get(o)}}const lu=n=>JSON.parse(n.replaceAll("'",'"')),cu=(n,e={})=>{const t={...e};return n.dataset.maska!=null&&n.dataset.maska!==""&&(t.mask=Y7(n.dataset.maska)),n.dataset.maskaEager!=null&&(t.eager=Ma(n.dataset.maskaEager)),n.dataset.maskaReversed!=null&&(t.reversed=Ma(n.dataset.maskaReversed)),n.dataset.maskaTokensReplace!=null&&(t.tokensReplace=Ma(n.dataset.maskaTokensReplace)),n.dataset.maskaTokens!=null&&(t.tokens=J7(n.dataset.maskaTokens)),t},Ma=n=>n!==""?!!JSON.parse(n):!0,Y7=n=>n.startsWith("[")&&n.endsWith("]")?lu(n):n,J7=n=>{if(n.startsWith("{")&&n.endsWith("}"))return lu(n);const e={};return n.split("|").forEach(t=>{const r=t.split(":");e[r[0]]={pattern:new RegExp(r[1]),optional:r[2]==="optional",multiple:r[2]==="multiple",repeated:r[2]==="repeated"}}),e};class Z7{constructor(e,t={}){Co(this,"items",new Map),Co(this,"beforeinputEvent",r=>{const o=r.target,i=this.items.get(o);i.isEager()&&"inputType"in r&&r.inputType.startsWith("delete")&&i.unmasked(o.value).length<=1&&this.setMaskedValue(o,"")}),Co(this,"inputEvent",r=>{if(r instanceof CustomEvent&&r.type==="input"&&r.detail!=null&&typeof r.detail=="object"&&"masked"in r.detail)return;const o=r.target,i=this.items.get(o),s=o.value,l=o.selectionStart,a=o.selectionEnd;let d=s;if(i.isEager()){const u=i.masked(s),f=i.unmasked(s);f===""&&"data"in r&&r.data!=null?d=r.data:f!==i.unmasked(u)&&(d=f)}if(this.setMaskedValue(o,d),"inputType"in r&&(r.inputType.startsWith("delete")||l!=null&&l<s.length))try{o.setSelectionRange(l,a)}catch{}}),this.options=t,typeof e=="string"?this.init(Array.from(document.querySelectorAll(e)),this.getMaskOpts(t)):this.init("length"in e?Array.from(e):[e],this.getMaskOpts(t))}destroy(){for(const e of this.items.keys())e.removeEventListener("input",this.inputEvent),e.removeEventListener("beforeinput",this.beforeinputEvent);this.items.clear()}needUpdateOptions(e,t){const r=this.items.get(e),o=new au(cu(e,this.getMaskOpts(t)));return JSON.stringify(r.opts)!==JSON.stringify(o.opts)}needUpdateValue(e){const t=e.dataset.maskaValue;return t==null&&e.value!==""||t!=null&&t!==e.value}getMaskOpts(e){const{onMaska:t,preProcess:r,postProcess:o,...i}=e;return i}init(e,t){for(const r of e){const o=new au(cu(r,t));this.items.set(r,o),r.value!==""&&this.setMaskedValue(r,r.value),r.addEventListener("input",this.inputEvent),r.addEventListener("beforeinput",this.beforeinputEvent)}}setMaskedValue(e,t){const r=this.items.get(e);this.options.preProcess!=null&&(t=this.options.preProcess(t));const o=r.masked(t),i=r.unmasked(r.isEager()?o:t),s=r.completed(t),l={masked:o,unmasked:i,completed:s};t=o,this.options.postProcess!=null&&(t=this.options.postProcess(t)),e.value=t,e.dataset.maskaValue=t,this.options.onMaska!=null&&(Array.isArray(this.options.onMaska)?this.options.onMaska.forEach(a=>a(l)):this.options.onMaska(l)),e.dispatchEvent(new CustomEvent("maska",{detail:l})),e.dispatchEvent(new CustomEvent("input",{detail:l}))}}const Ia=new WeakMap,G7=n=>{setTimeout(()=>{var e;((e=Ia.get(n))==null?void 0:e.needUpdateValue(n))===!0&&n.dispatchEvent(new CustomEvent("input"))})},X7=(n,e)=>{const t=n instanceof HTMLInputElement?n:n.querySelector("input"),r={...e.arg};if(t==null||(t==null?void 0:t.type)==="file")return;G7(t);const o=Ia.get(t);if(o!=null){if(!o.needUpdateOptions(t,r))return;o.destroy()}if(e.value!=null){const i=e.value,s=l=>{i.masked=l.masked,i.unmasked=l.unmasked,i.completed=l.completed};r.onMaska=r.onMaska==null?s:Array.isArray(r.onMaska)?[...r.onMaska,s]:[r.onMaska,s]}Ia.set(t,new Z7(t,r))},q7=["value","type"],nr=c.defineComponent({__name:"BDFormInput",props:{modelValue:{default:""},formGroupClass:{default:void 0},type:{default:"text"},label:{default:void 0},labelClass:{default:void 0},formFieldClass:{default:void 0},inputClass:{default:void 0},placeholder:{default:void 0},state:{type:[Boolean,null],default:null},readonly:{type:[Boolean,null],default:null},disabled:{type:[Boolean,null],default:null},autofocus:{type:[Boolean,null],default:null},size:{default:lt.MD},tabindex:{default:null},invalidFeedbackClass:{default:void 0},invalidFeedbackText:{default:void 0},delayTimeMs:{default:0},mask:{default:void 0}},emits:["update:modelValue","click","blur","enter"],setup(n,{emit:e}){const t=n,{uniqueIdentifier:r}=Mr(),o=er(t,"modelValue",e),i=`__BD__FORM__LABEL__${r.value}`,s=`__BD__FORM__GROUP__${r.value}`,l=`form-input-${t.label?t.label.replace(/ /g,"-").toLowerCase():r.value}`,a=`validationFeedback${t.label?t.label.replace(/ /g,""):r.value}`,d=c.computed(()=>({[`${t.inputClass}`]:t.inputClass,"is-invalid":t.state===!1,"is-valid":t.state===!0,[`form-control-${t.size}`]:t.size})),u=c.computed(()=>({[`${t.invalidFeedbackClass}`]:t.invalidFeedbackClass,"is-invalid":t.state===!1})),f=c.computed(()=>({placeholder:t.placeholder?t.placeholder:null,readonly:t.readonly===!0,disabled:t.disabled===!0,autofocus:t.autofocus===!0,tabindex:t.tabindex?t.tabindex:null,"aria-describedby":t.state===!1&&t.invalidFeedbackText?a:null,"data-maska":t.mask})),h=L7(p=>{o.value=p.target.value},t.delayTimeMs);return(p,m)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(["bd-form-input",p.formGroupClass]),id:s},[c.renderSlot(p.$slots,"label",{},()=>[p.label?(c.openBlock(),c.createElementBlock("label",{key:0,for:l,id:i,class:c.normalizeClass(["form-label",p.labelClass])},c.toDisplayString(p.label),3)):c.createCommentVNode("",!0)]),c.createElementVNode("div",{class:c.normalizeClass(p.formFieldClass)},[c.withDirectives(c.createElementVNode("input",c.mergeProps({value:p.modelValue,type:p.type,id:l,class:["form-control",d.value]},f.value,{onInput:m[0]||(m[0]=(...g)=>c.unref(h)&&c.unref(h)(...g)),onClick:m[1]||(m[1]=g=>p.$emit("click")),onBlur:m[2]||(m[2]=g=>p.$emit("blur")),onKeydown:m[3]||(m[3]=c.withKeys(g=>p.$emit("enter"),["enter"]))}),null,16,q7),[[c.unref(X7)]]),c.renderSlot(p.$slots,"default")],2),c.createVNode(c.unref(pi),{text:p.invalidFeedbackText,class:c.normalizeClass(u.value),state:p.state,id:a},null,8,["text","class","state"])],2))}}),e6={class:"input-group bd-input-group"},t6=["for"],du=c.defineComponent({__name:"BDInputGroup",props:{label:{default:void 0},labelForId:{default:void 0}},setup(n){const e=n,t=c.useAttrs();return(r,o)=>(c.openBlock(),c.createElementBlock("fieldset",e6,[e.label?(c.openBlock(),c.createElementBlock("label",{key:0,for:e.labelForId,class:"form-label"},c.toDisplayString(e.label),9,t6)):c.createCommentVNode("",!0),c.createElementVNode("div",{class:c.normalizeClass(c.unref(t).class)},[c.renderSlot(r.$slots,"default")],2)]))}}),n6={class:"invalid-feedback bd-invalid-feedback"},pi=c.defineComponent({__name:"BDFormInvalidFeedback",props:{state:{type:[Boolean,null],default:null},text:{default:""}},setup(n){const e=n;return(t,r)=>(c.openBlock(),c.createElementBlock("div",n6,[e.state?(c.openBlock(),c.createBlock(c.unref(xr),{key:0})):(c.openBlock(),c.createBlock(c.unref(li),{key:1})),c.createTextVNode(" "+c.toDisplayString(e.text),1)]))}}),r6={key:0},o6={key:1},uu=c.defineComponent({__name:"BDBadge",props:{variant:{default:di.PRIMARY}},setup(n){const e=n,t=c.computed(()=>["badge","bd-badge",`bd-badge-${e.variant}`]);return(r,o)=>(c.openBlock(),c.createElementBlock("span",{role:"status",class:c.normalizeClass(t.value)},[r.variant==="danger"?(c.openBlock(),c.createElementBlock("span",r6,[c.createVNode(c.unref(qn))])):c.createCommentVNode("",!0),r.variant==="success"?(c.openBlock(),c.createElementBlock("span",o6,[c.createVNode(c.unref(xr))])):c.createCommentVNode("",!0),c.renderSlot(r.$slots,"default")],2))}}),i6=["onSubmit","onReset"],fu=c.defineComponent({__name:"BDForm",emits:["submit","reset"],setup(n,{emit:e}){function t(){e("submit")}function r(){e("reset")}return(o,i)=>(c.openBlock(),c.createElementBlock("form",{onSubmit:c.withModifiers(t,["prevent"]),onReset:c.withModifiers(r,["prevent"])},[c.renderSlot(o.$slots,"default")],40,i6))}}),s6={"aria-label":"Page navigation",class:"bd-pagination"},a6={class:"page-item"},l6=["data-page"],c6=["data-page"],d6={class:"page-item"},u6=["data-page"],hu=c.defineComponent({__name:"BDPagination",props:{modelValue:{default:1},totalRows:{default:1},rowsPerPage:{default:10},isPatient:{type:Boolean,default:!0}},emits:["click","update:modelValue"],setup(n,{emit:e}){const t=n,r=er(t,"modelValue",e),o=c.ref(Math.ceil(t.totalRows/t.rowsPerPage)),i=c.ref([]);c.watch([()=>t.totalRows,()=>t.rowsPerPage],()=>{o.value=Math.ceil(t.totalRows/t.rowsPerPage),i.value=u(r.value)}),c.onMounted(()=>{i.value=u(r.value)});const s=c.computed(()=>({[`${t.class}`]:t.class,colleague:!t.isPatient})),l=f=>{const h=f.currentTarget.getAttribute("data-page"),p=Number(h);isNaN(Number(p))||(r.value=p,i.value=u(p)),e("click",p)},a=(f,h,p)=>p<=h?p:f==1?6:f<=4?5:1,d=(f,h,p)=>p<=h?0:f==p?6:f>p-4?5:1,u=f=>{const h=[],m=a(f,7,o.value),g=o.value>7&&f>4,v=o.value>7&&f<o.value-3,b=g&&v,A=d(f,7,o.value);for(let S=1;S<=m;S++)h.push(S);if(g&&h.push("..."),b)for(let S=f-1;S<=f+1;S++)h.push(S);v&&h.push("...");for(let S=1;S<=A;S++)h.push(o.value-A+S);return h};return(f,h)=>(c.openBlock(),c.createElementBlock("div",s6,[c.createElementVNode("ul",{class:c.normalizeClass(["pagination",s.value])},[c.withDirectives(c.createElementVNode("li",a6,[c.createElementVNode("a",{class:"page-link d-flex justify-content-center align-items-center","aria-label":"Previous",onClick:l,"data-page":c.unref(r)-1},[c.createVNode(c.unref(pa))],8,l6)],512),[[c.vShow,c.unref(r)>1]]),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(i.value,p=>(c.openBlock(),c.createElementBlock("li",{class:c.normalizeClass(["page-item",{active:c.unref(r)===p,disabled:typeof p=="string"}]),key:p},[c.createElementVNode("a",{class:"page-link d-flex justify-content-center align-items-center",onClick:l,"data-page":p},c.toDisplayString(p),9,c6)],2))),128)),c.withDirectives(c.createElementVNode("li",d6,[c.createElementVNode("a",{class:"page-link d-flex justify-content-center align-items-center","aria-label":"Next",onClick:l,"data-page":c.unref(r)+1},[c.createVNode(c.unref(ma))],8,u6)],512),[[c.vShow,c.unref(r)<o.value]])],2)]))}}),f6=["disabled"],h6=["label"],p6=["value"],m6=["value"],pu=c.defineComponent({__name:"BDFormSelect",props:{size:{default:lt.MD},disabled:{type:Boolean},autofocus:{type:Boolean,default:!1},options:{default:void 0},modelValue:{default:""},state:{type:[Boolean,null],default:null}},emits:["update:modelValue","change","input"],setup(n,{emit:e}){const t=n,r=er(t,"modelValue",e),o=c.ref(null),{focused:i}=R7(o,{initialValue:t.autofocus}),s=c.computed(()=>({"form-select":!0,"bd-form-select":!0,"is-invalid":t.state===!1,[`form-select-${t.size}`]:["xs","sm","lg"].includes(t.size)}));c.watch(()=>t.autofocus,u=>{u&&(i.value=!0)});const l=u=>{r.value=u.target.value;let f=d(u.target.value);e("input",f)},a=u=>{let f=d(u.target.value);e("change",f)},d=u=>{try{return JSON.parse(u)}catch{return u}};return(u,f)=>c.withDirectives((c.openBlock(),c.createElementBlock("select",{class:c.normalizeClass(s.value),"onUpdate:modelValue":f[0]||(f[0]=h=>c.isRef(r)?r.value=h:null),disabled:t.disabled,ref_key:"input",ref:o,onInput:l,onChange:a},[c.renderSlot(u.$slots,"first"),t.options&&t.options.length>0&&t.options[0].label&&t.options[0].options?(c.openBlock(!0),c.createElementBlock(c.Fragment,{key:0},c.renderList(t.options,h=>(c.openBlock(),c.createElementBlock("optgroup",{label:h.label},[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(h.options,p=>(c.openBlock(),c.createElementBlock("option",{value:JSON.stringify(p.value),key:p.value},c.toDisplayString(p.text),9,p6))),128))],8,h6))),256)):(c.openBlock(!0),c.createElementBlock(c.Fragment,{key:1},c.renderList(t.options,h=>(c.openBlock(),c.createElementBlock("option",{value:h.value,key:h.value},c.toDisplayString(h.text),9,m6))),128))],42,f6)),[[c.vModelSelect,c.unref(r)]])}}),g6=["value","true-value","false-value","data-checked"],mu=c.defineComponent({__name:"BDFormCheckbox",props:{modelValue:{type:[Boolean,String,Array],default:void 0},value:{type:[Boolean,String],default:!0},uncheckedValue:{type:[Boolean,String],default:!1},state:{type:[Boolean,null],default:void 0}},emits:["update:modelValue","change","input"],setup(n,{emit:e}){const t=n,{uniqueIdentifier:r}=Mr(),o=er(t,"modelValue",e),i=`form-check-input-${r.value}`,s=c.computed(()=>["form-check","bd-form-checkbox"]),l=c.computed(()=>({"form-check-input":!0,"is-invalid":t.state===!1})),a=d=>e("change",d.target.value);return(d,u)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(s.value)},[c.withDirectives(c.createElementVNode("input",{"onUpdate:modelValue":u[0]||(u[0]=f=>c.isRef(o)?o.value=f:null),id:i,class:c.normalizeClass(l.value),type:"checkbox",value:d.value,"true-value":d.value,"false-value":d.uncheckedValue,"data-checked":c.unref(o)===d.value,onChange:a},null,42,g6),[[c.vModelCheckbox,c.unref(o)]]),c.createElementVNode("label",{class:"form-check-label",for:i},[c.renderSlot(d.$slots,"default")]),c.renderSlot(d.$slots,"last")],2))}}),v6={key:0,class:"bd-article__body"},y6={key:1},gu=c.defineComponent({__name:"BDArticle",props:{title:{default:""},text:{default:""},hideBody:{type:Boolean,default:!1},hideFooter:{type:Boolean,default:!1},identifier:{}},emits:["click"],setup(n,{emit:e}){const t=n,r=o=>e("click",{event:o,identifier:t.identifier});return(o,i)=>(c.openBlock(),c.createElementBlock("article",{class:"bd-article",onClick:r},[c.createElementVNode("header",null,[c.renderSlot(o.$slots,"header",{},()=>[c.createElementVNode("h5",null,c.toDisplayString(t.title),1)])]),t.hideBody?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",v6,[c.renderSlot(o.$slots,"default",{},()=>[c.createTextVNode(c.toDisplayString(t.text),1)])])),t.hideFooter?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("footer",y6,[c.renderSlot(o.$slots,"footer")]))]))}}),Ir={DANGER:"danger",WARNING:"warning",INFO:"info",SUCCESS:"success"},C6=["id"],E6={class:"toast-header"},b6=c.createElementVNode("button",{type:"button",class:"btn-close","data-bs-dismiss":"toast","aria-label":"Close"},null,-1),A6={class:"toast-body"},Oa=c.defineComponent({__name:"BDToast",props:{id:{},variant:{default:Ir.INFO},title:{default:""},text:{default:""}},setup(n){const e=n,t=c.computed(()=>({[`bd-toast-${e.variant}`]:!0})),r=c.computed(()=>e.variant!==Ir.SUCCESS);return(o,i)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(["toast bd-toast",t.value]),role:"alert","aria-live":"assertive","aria-atomic":"true",key:e.id,id:e.id},[c.createElementVNode("div",E6,[r.value?(c.openBlock(),c.createBlock(c.unref(qn),{key:0})):(c.openBlock(),c.createBlock(c.unref(xr),{key:1})),c.createElementVNode("h5",null,c.toDisplayString(e.title),1),b6]),c.createElementVNode("div",A6,[c.createElementVNode("span",null,c.toDisplayString(e.text),1)])],10,C6))}}),Pe="",mi=n=>typeof n=="string"||n instanceof String,w6={class:"bd-pill"},S6=["src"],k6={class:"bd-pill__description"},x6=["href"],T6=["id","textContent","title"],M6=["id","textContent","title"],gi=c.defineComponent({__name:"BDPill",props:{imgSrc:{default:Pe},uri:{default:Pe},uriDisplayName:{default:Pe},title:{default:Pe},subtitle:{default:Pe},showClose:{type:Boolean,default:!1}},emits:["close"],setup(n,{emit:e}){const t=n,{uniqueIdentifier:r}=Mr(),o=c.computed(()=>t.uri),i=c.computed(()=>t.uriDisplayName!==Pe?t.uriDisplayName:t.uri),s=c.computed(()=>t.imgSrc),l=c.computed(()=>t.title),a=c.computed(()=>t.subtitle),d=c.computed(()=>`bd-pill-title-${r.value}`),u=c.computed(()=>`bd-pill-subtitle-${r.value}`);return(f,h)=>(c.openBlock(),c.createElementBlock("div",w6,[c.createElementVNode("img",{src:s.value,class:"bd-pill__logo",alt:"logo-externe-partij"},null,8,S6),c.createElementVNode("div",k6,[c.createElementVNode("a",{href:o.value,class:"bd-pill__link",target:"_blank",rel:"noopener noreferrer"},[c.createVNode(c.unref(ci),{class:"bd-pill__icon-hyperlink",style:{height:"12px"}}),c.createTextVNode(" "+c.toDisplayString(i.value),1)],8,x6),c.createElementVNode("span",{class:"bd-pill__title",id:d.value,textContent:c.toDisplayString(l.value),"data-bs-toggle":"tooltip",title:l.value},null,8,T6),c.createElementVNode("span",{class:"bd-pill__subtitle",id:u.value,textContent:c.toDisplayString(a.value),"data-bs-toggle":"tooltip",title:a.value},null,8,M6)])]))}}),vi=c.defineComponent({__name:"BDDropdownItem",props:{to:{default:""},target:{default:"_blank"},text:{default:void 0},rel:{default:"noopener noreferrer"}},emits:["click"],setup(n,{emit:e}){const t=n,r=()=>{e("click")};return(o,i)=>(c.openBlock(),c.createElementBlock("li",c.mergeProps({class:"bd-dropdown-item"},o.$attrs),[c.createVNode(Tr,c.mergeProps({class:"dropdown-item",onClick:r},t),{default:c.withCtx(()=>[c.renderSlot(o.$slots,"default",{},()=>[c.createTextVNode(c.toDisplayString(t.text),1)])]),_:3},16)],16))}});var _a=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Na(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var vu={exports:{}};(function(n,e){(function(r,o){n.exports=o()})(self,function(){return function(){var t={3099:function(s){s.exports=function(l){if(typeof l!="function")throw TypeError(String(l)+" is not a function");return l}},6077:function(s,l,a){var d=a(111);s.exports=function(u){if(!d(u)&&u!==null)throw TypeError("Can't set "+String(u)+" as a prototype");return u}},1223:function(s,l,a){var d=a(5112),u=a(30),f=a(3070),h=d("unscopables"),p=Array.prototype;p[h]==null&&f.f(p,h,{configurable:!0,value:u(null)}),s.exports=function(m){p[h][m]=!0}},1530:function(s,l,a){var d=a(8710).charAt;s.exports=function(u,f,h){return f+(h?d(u,f).length:1)}},5787:function(s){s.exports=function(l,a,d){if(!(l instanceof a))throw TypeError("Incorrect "+(d?d+" ":"")+"invocation");return l}},9670:function(s,l,a){var d=a(111);s.exports=function(u){if(!d(u))throw TypeError(String(u)+" is not an object");return u}},4019:function(s){s.exports=typeof ArrayBuffer<"u"&&typeof DataView<"u"},260:function(s,l,a){var d=a(4019),u=a(9781),f=a(7854),h=a(111),p=a(6656),m=a(648),g=a(8880),v=a(1320),b=a(3070).f,A=a(9518),S=a(7674),y=a(5112),T=a(9711),k=f.Int8Array,$=k&&k.prototype,H=f.Uint8ClampedArray,U=H&&H.prototype,R=k&&A(k),D=$&&A($),z=Object.prototype,W=z.isPrototypeOf,j=y("toStringTag"),V=T("TYPED_ARRAY_TAG"),F=d&&!!S&&m(f.opera)!=="Opera",Y=!1,L,X={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},ne={BigInt64Array:8,BigUint64Array:8},de=function(x){if(!h(x))return!1;var I=m(x);return I==="DataView"||p(X,I)||p(ne,I)},ge=function(Ce){if(!h(Ce))return!1;var x=m(Ce);return p(X,x)||p(ne,x)},ve=function(Ce){if(ge(Ce))return Ce;throw TypeError("Target is not a typed array")},Ae=function(Ce){if(S){if(W.call(R,Ce))return Ce}else for(var x in X)if(p(X,L)){var I=f[x];if(I&&(Ce===I||W.call(I,Ce)))return Ce}throw TypeError("Target is not a typed array constructor")},Se=function(Ce,x,I){if(u){if(I)for(var w in X){var M=f[w];M&&p(M.prototype,Ce)&&delete M.prototype[Ce]}(!D[Ce]||I)&&v(D,Ce,I?x:F&&$[Ce]||x)}},xe=function(Ce,x,I){var w,M;if(u){if(S){if(I)for(w in X)M=f[w],M&&p(M,Ce)&&delete M[Ce];if(!R[Ce]||I)try{return v(R,Ce,I?x:F&&k[Ce]||x)}catch{}else return}for(w in X)M=f[w],M&&(!M[Ce]||I)&&v(M,Ce,x)}};for(L in X)f[L]||(F=!1);if((!F||typeof R!="function"||R===Function.prototype)&&(R=function(){throw TypeError("Incorrect invocation")},F))for(L in X)f[L]&&S(f[L],R);if((!F||!D||D===z)&&(D=R.prototype,F))for(L in X)f[L]&&S(f[L].prototype,D);if(F&&A(U)!==D&&S(U,D),u&&!p(D,j)){Y=!0,b(D,j,{get:function(){return h(this)?this[V]:void 0}});for(L in X)f[L]&&g(f[L],V,L)}s.exports={NATIVE_ARRAY_BUFFER_VIEWS:F,TYPED_ARRAY_TAG:Y&&V,aTypedArray:ve,aTypedArrayConstructor:Ae,exportTypedArrayMethod:Se,exportTypedArrayStaticMethod:xe,isView:de,isTypedArray:ge,TypedArray:R,TypedArrayPrototype:D}},3331:function(s,l,a){var d=a(7854),u=a(9781),f=a(4019),h=a(8880),p=a(2248),m=a(7293),g=a(5787),v=a(9958),b=a(7466),A=a(7067),S=a(1179),y=a(9518),T=a(7674),k=a(8006).f,$=a(3070).f,H=a(1285),U=a(8003),R=a(9909),D=R.get,z=R.set,W="ArrayBuffer",j="DataView",V="prototype",F="Wrong length",Y="Wrong index",L=d[W],X=L,ne=d[j],de=ne&&ne[V],ge=Object.prototype,ve=d.RangeError,Ae=S.pack,Se=S.unpack,xe=function(Z){return[Z&255]},Ce=function(Z){return[Z&255,Z>>8&255]},x=function(Z){return[Z&255,Z>>8&255,Z>>16&255,Z>>24&255]},I=function(Z){return Z[3]<<24|Z[2]<<16|Z[1]<<8|Z[0]},w=function(Z){return Ae(Z,23,4)},M=function(Z){return Ae(Z,52,8)},C=function(Z,G){$(Z[V],G,{get:function(){return D(this)[G]}})},E=function(Z,G,re,he){var we=A(re),Ne=D(Z);if(we+G>Ne.byteLength)throw ve(Y);var ze=D(Ne.buffer).bytes,$e=we+Ne.byteOffset,De=ze.slice($e,$e+G);return he?De:De.reverse()},_=function(Z,G,re,he,we,Ne){var ze=A(re),$e=D(Z);if(ze+G>$e.byteLength)throw ve(Y);for(var De=D($e.buffer).bytes,Ze=ze+$e.byteOffset,At=he(+we),at=0;at<G;at++)De[Ze+at]=At[Ne?at:G-at-1]};if(!f)X=function(G){g(this,X,W);var re=A(G);z(this,{bytes:H.call(new Array(re),0),byteLength:re}),u||(this.byteLength=re)},ne=function(G,re,he){g(this,ne,j),g(G,X,j);var we=D(G).byteLength,Ne=v(re);if(Ne<0||Ne>we)throw ve("Wrong offset");if(he=he===void 0?we-Ne:b(he),Ne+he>we)throw ve(F);z(this,{buffer:G,byteLength:he,byteOffset:Ne}),u||(this.buffer=G,this.byteLength=he,this.byteOffset=Ne)},u&&(C(X,"byteLength"),C(ne,"buffer"),C(ne,"byteLength"),C(ne,"byteOffset")),p(ne[V],{getInt8:function(G){return E(this,1,G)[0]<<24>>24},getUint8:function(G){return E(this,1,G)[0]},getInt16:function(G){var re=E(this,2,G,arguments.length>1?arguments[1]:void 0);return(re[1]<<8|re[0])<<16>>16},getUint16:function(G){var re=E(this,2,G,arguments.length>1?arguments[1]:void 0);return re[1]<<8|re[0]},getInt32:function(G){return I(E(this,4,G,arguments.length>1?arguments[1]:void 0))},getUint32:function(G){return I(E(this,4,G,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(G){return Se(E(this,4,G,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(G){return Se(E(this,8,G,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(G,re){_(this,1,G,xe,re)},setUint8:function(G,re){_(this,1,G,xe,re)},setInt16:function(G,re){_(this,2,G,Ce,re,arguments.length>2?arguments[2]:void 0)},setUint16:function(G,re){_(this,2,G,Ce,re,arguments.length>2?arguments[2]:void 0)},setInt32:function(G,re){_(this,4,G,x,re,arguments.length>2?arguments[2]:void 0)},setUint32:function(G,re){_(this,4,G,x,re,arguments.length>2?arguments[2]:void 0)},setFloat32:function(G,re){_(this,4,G,w,re,arguments.length>2?arguments[2]:void 0)},setFloat64:function(G,re){_(this,8,G,M,re,arguments.length>2?arguments[2]:void 0)}});else{if(!m(function(){L(1)})||!m(function(){new L(-1)})||m(function(){return new L,new L(1.5),new L(NaN),L.name!=W})){X=function(G){return g(this,X),new L(A(G))};for(var N=X[V]=L[V],B=k(L),P=0,K;B.length>P;)(K=B[P++])in X||h(X,K,L[K]);N.constructor=X}T&&y(de)!==ge&&T(de,ge);var J=new ne(new X(2)),Q=de.setInt8;J.setInt8(0,2147483648),J.setInt8(1,2147483649),(J.getInt8(0)||!J.getInt8(1))&&p(de,{setInt8:function(G,re){Q.call(this,G,re<<24>>24)},setUint8:function(G,re){Q.call(this,G,re<<24>>24)}},{unsafe:!0})}U(X,W),U(ne,j),s.exports={ArrayBuffer:X,DataView:ne}},1048:function(s,l,a){var d=a(7908),u=a(1400),f=a(7466),h=Math.min;s.exports=[].copyWithin||function(m,g){var v=d(this),b=f(v.length),A=u(m,b),S=u(g,b),y=arguments.length>2?arguments[2]:void 0,T=h((y===void 0?b:u(y,b))-S,b-A),k=1;for(S<A&&A<S+T&&(k=-1,S+=T-1,A+=T-1);T-- >0;)S in v?v[A]=v[S]:delete v[A],A+=k,S+=k;return v}},1285:function(s,l,a){var d=a(7908),u=a(1400),f=a(7466);s.exports=function(p){for(var m=d(this),g=f(m.length),v=arguments.length,b=u(v>1?arguments[1]:void 0,g),A=v>2?arguments[2]:void 0,S=A===void 0?g:u(A,g);S>b;)m[b++]=p;return m}},8533:function(s,l,a){var d=a(2092).forEach,u=a(9341),f=u("forEach");s.exports=f?[].forEach:function(p){return d(this,p,arguments.length>1?arguments[1]:void 0)}},8457:function(s,l,a){var d=a(9974),u=a(7908),f=a(3411),h=a(7659),p=a(7466),m=a(6135),g=a(1246);s.exports=function(b){var A=u(b),S=typeof this=="function"?this:Array,y=arguments.length,T=y>1?arguments[1]:void 0,k=T!==void 0,$=g(A),H=0,U,R,D,z,W,j;if(k&&(T=d(T,y>2?arguments[2]:void 0,2)),$!=null&&!(S==Array&&h($)))for(z=$.call(A),W=z.next,R=new S;!(D=W.call(z)).done;H++)j=k?f(z,T,[D.value,H],!0):D.value,m(R,H,j);else for(U=p(A.length),R=new S(U);U>H;H++)j=k?T(A[H],H):A[H],m(R,H,j);return R.length=H,R}},1318:function(s,l,a){var d=a(5656),u=a(7466),f=a(1400),h=function(p){return function(m,g,v){var b=d(m),A=u(b.length),S=f(v,A),y;if(p&&g!=g){for(;A>S;)if(y=b[S++],y!=y)return!0}else for(;A>S;S++)if((p||S in b)&&b[S]===g)return p||S||0;return!p&&-1}};s.exports={includes:h(!0),indexOf:h(!1)}},2092:function(s,l,a){var d=a(9974),u=a(8361),f=a(7908),h=a(7466),p=a(5417),m=[].push,g=function(v){var b=v==1,A=v==2,S=v==3,y=v==4,T=v==6,k=v==7,$=v==5||T;return function(H,U,R,D){for(var z=f(H),W=u(z),j=d(U,R,3),V=h(W.length),F=0,Y=D||p,L=b?Y(H,V):A||k?Y(H,0):void 0,X,ne;V>F;F++)if(($||F in W)&&(X=W[F],ne=j(X,F,z),v))if(b)L[F]=ne;else if(ne)switch(v){case 3:return!0;case 5:return X;case 6:return F;case 2:m.call(L,X)}else switch(v){case 4:return!1;case 7:m.call(L,X)}return T?-1:S||y?y:L}};s.exports={forEach:g(0),map:g(1),filter:g(2),some:g(3),every:g(4),find:g(5),findIndex:g(6),filterOut:g(7)}},6583:function(s,l,a){var d=a(5656),u=a(9958),f=a(7466),h=a(9341),p=Math.min,m=[].lastIndexOf,g=!!m&&1/[1].lastIndexOf(1,-0)<0,v=h("lastIndexOf"),b=g||!v;s.exports=b?function(S){if(g)return m.apply(this,arguments)||0;var y=d(this),T=f(y.length),k=T-1;for(arguments.length>1&&(k=p(k,u(arguments[1]))),k<0&&(k=T+k);k>=0;k--)if(k in y&&y[k]===S)return k||0;return-1}:m},1194:function(s,l,a){var d=a(7293),u=a(5112),f=a(7392),h=u("species");s.exports=function(p){return f>=51||!d(function(){var m=[],g=m.constructor={};return g[h]=function(){return{foo:1}},m[p](Boolean).foo!==1})}},9341:function(s,l,a){var d=a(7293);s.exports=function(u,f){var h=[][u];return!!h&&d(function(){h.call(null,f||function(){throw 1},1)})}},3671:function(s,l,a){var d=a(3099),u=a(7908),f=a(8361),h=a(7466),p=function(m){return function(g,v,b,A){d(v);var S=u(g),y=f(S),T=h(S.length),k=m?T-1:0,$=m?-1:1;if(b<2)for(;;){if(k in y){A=y[k],k+=$;break}if(k+=$,m?k<0:T<=k)throw TypeError("Reduce of empty array with no initial value")}for(;m?k>=0:T>k;k+=$)k in y&&(A=v(A,y[k],k,S));return A}};s.exports={left:p(!1),right:p(!0)}},5417:function(s,l,a){var d=a(111),u=a(3157),f=a(5112),h=f("species");s.exports=function(p,m){var g;return u(p)&&(g=p.constructor,typeof g=="function"&&(g===Array||u(g.prototype))?g=void 0:d(g)&&(g=g[h],g===null&&(g=void 0))),new(g===void 0?Array:g)(m===0?0:m)}},3411:function(s,l,a){var d=a(9670),u=a(9212);s.exports=function(f,h,p,m){try{return m?h(d(p)[0],p[1]):h(p)}catch(g){throw u(f),g}}},7072:function(s,l,a){var d=a(5112),u=d("iterator"),f=!1;try{var h=0,p={next:function(){return{done:!!h++}},return:function(){f=!0}};p[u]=function(){return this},Array.from(p,function(){throw 2})}catch{}s.exports=function(m,g){if(!g&&!f)return!1;var v=!1;try{var b={};b[u]=function(){return{next:function(){return{done:v=!0}}}},m(b)}catch{}return v}},4326:function(s){var l={}.toString;s.exports=function(a){return l.call(a).slice(8,-1)}},648:function(s,l,a){var d=a(1694),u=a(4326),f=a(5112),h=f("toStringTag"),p=u(function(){return arguments}())=="Arguments",m=function(g,v){try{return g[v]}catch{}};s.exports=d?u:function(g){var v,b,A;return g===void 0?"Undefined":g===null?"Null":typeof(b=m(v=Object(g),h))=="string"?b:p?u(v):(A=u(v))=="Object"&&typeof v.callee=="function"?"Arguments":A}},9920:function(s,l,a){var d=a(6656),u=a(3887),f=a(1236),h=a(3070);s.exports=function(p,m){for(var g=u(m),v=h.f,b=f.f,A=0;A<g.length;A++){var S=g[A];d(p,S)||v(p,S,b(m,S))}}},8544:function(s,l,a){var d=a(7293);s.exports=!d(function(){function u(){}return u.prototype.constructor=null,Object.getPrototypeOf(new u)!==u.prototype})},4994:function(s,l,a){var d=a(3383).IteratorPrototype,u=a(30),f=a(9114),h=a(8003),p=a(7497),m=function(){return this};s.exports=function(g,v,b){var A=v+" Iterator";return g.prototype=u(d,{next:f(1,b)}),h(g,A,!1,!0),p[A]=m,g}},8880:function(s,l,a){var d=a(9781),u=a(3070),f=a(9114);s.exports=d?function(h,p,m){return u.f(h,p,f(1,m))}:function(h,p,m){return h[p]=m,h}},9114:function(s){s.exports=function(l,a){return{enumerable:!(l&1),configurable:!(l&2),writable:!(l&4),value:a}}},6135:function(s,l,a){var d=a(7593),u=a(3070),f=a(9114);s.exports=function(h,p,m){var g=d(p);g in h?u.f(h,g,f(0,m)):h[g]=m}},654:function(s,l,a){var d=a(2109),u=a(4994),f=a(9518),h=a(7674),p=a(8003),m=a(8880),g=a(1320),v=a(5112),b=a(1913),A=a(7497),S=a(3383),y=S.IteratorPrototype,T=S.BUGGY_SAFARI_ITERATORS,k=v("iterator"),$="keys",H="values",U="entries",R=function(){return this};s.exports=function(D,z,W,j,V,F,Y){u(W,z,j);var L=function(x){if(x===V&&ve)return ve;if(!T&&x in de)return de[x];switch(x){case $:return function(){return new W(this,x)};case H:return function(){return new W(this,x)};case U:return function(){return new W(this,x)}}return function(){return new W(this)}},X=z+" Iterator",ne=!1,de=D.prototype,ge=de[k]||de["@@iterator"]||V&&de[V],ve=!T&&ge||L(V),Ae=z=="Array"&&de.entries||ge,Se,xe,Ce;if(Ae&&(Se=f(Ae.call(new D)),y!==Object.prototype&&Se.next&&(!b&&f(Se)!==y&&(h?h(Se,y):typeof Se[k]!="function"&&m(Se,k,R)),p(Se,X,!0,!0),b&&(A[X]=R))),V==H&&ge&&ge.name!==H&&(ne=!0,ve=function(){return ge.call(this)}),(!b||Y)&&de[k]!==ve&&m(de,k,ve),A[z]=ve,V)if(xe={values:L(H),keys:F?ve:L($),entries:L(U)},Y)for(Ce in xe)(T||ne||!(Ce in de))&&g(de,Ce,xe[Ce]);else d({target:z,proto:!0,forced:T||ne},xe);return xe}},9781:function(s,l,a){var d=a(7293);s.exports=!d(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},317:function(s,l,a){var d=a(7854),u=a(111),f=d.document,h=u(f)&&u(f.createElement);s.exports=function(p){return h?f.createElement(p):{}}},8324:function(s){s.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},8113:function(s,l,a){var d=a(5005);s.exports=d("navigator","userAgent")||""},7392:function(s,l,a){var d=a(7854),u=a(8113),f=d.process,h=f&&f.versions,p=h&&h.v8,m,g;p?(m=p.split("."),g=m[0]+m[1]):u&&(m=u.match(/Edge\/(\d+)/),(!m||m[1]>=74)&&(m=u.match(/Chrome\/(\d+)/),m&&(g=m[1]))),s.exports=g&&+g},748:function(s){s.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:function(s,l,a){var d=a(7854),u=a(1236).f,f=a(8880),h=a(1320),p=a(3505),m=a(9920),g=a(4705);s.exports=function(v,b){var A=v.target,S=v.global,y=v.stat,T,k,$,H,U,R;if(S?k=d:y?k=d[A]||p(A,{}):k=(d[A]||{}).prototype,k)for($ in b){if(U=b[$],v.noTargetGet?(R=u(k,$),H=R&&R.value):H=k[$],T=g(S?$:A+(y?".":"#")+$,v.forced),!T&&H!==void 0){if(typeof U==typeof H)continue;m(U,H)}(v.sham||H&&H.sham)&&f(U,"sham",!0),h(k,$,U,v)}}},7293:function(s){s.exports=function(l){try{return!!l()}catch{return!0}}},7007:function(s,l,a){a(4916);var d=a(1320),u=a(7293),f=a(5112),h=a(2261),p=a(8880),m=f("species"),g=!u(function(){var y=/./;return y.exec=function(){var T=[];return T.groups={a:"7"},T},"".replace(y,"$<a>")!=="7"}),v=function(){return"a".replace(/./,"$0")==="$0"}(),b=f("replace"),A=function(){return/./[b]?/./[b]("a","$0")==="":!1}(),S=!u(function(){var y=/(?:)/,T=y.exec;y.exec=function(){return T.apply(this,arguments)};var k="ab".split(y);return k.length!==2||k[0]!=="a"||k[1]!=="b"});s.exports=function(y,T,k,$){var H=f(y),U=!u(function(){var V={};return V[H]=function(){return 7},""[y](V)!=7}),R=U&&!u(function(){var V=!1,F=/a/;return y==="split"&&(F={},F.constructor={},F.constructor[m]=function(){return F},F.flags="",F[H]=/./[H]),F.exec=function(){return V=!0,null},F[H](""),!V});if(!U||!R||y==="replace"&&!(g&&v&&!A)||y==="split"&&!S){var D=/./[H],z=k(H,""[y],function(V,F,Y,L,X){return F.exec===h?U&&!X?{done:!0,value:D.call(F,Y,L)}:{done:!0,value:V.call(Y,F,L)}:{done:!1}},{REPLACE_KEEPS_$0:v,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:A}),W=z[0],j=z[1];d(String.prototype,y,W),d(RegExp.prototype,H,T==2?function(V,F){return j.call(V,this,F)}:function(V){return j.call(V,this)})}$&&p(RegExp.prototype[H],"sham",!0)}},9974:function(s,l,a){var d=a(3099);s.exports=function(u,f,h){if(d(u),f===void 0)return u;switch(h){case 0:return function(){return u.call(f)};case 1:return function(p){return u.call(f,p)};case 2:return function(p,m){return u.call(f,p,m)};case 3:return function(p,m,g){return u.call(f,p,m,g)}}return function(){return u.apply(f,arguments)}}},5005:function(s,l,a){var d=a(857),u=a(7854),f=function(h){return typeof h=="function"?h:void 0};s.exports=function(h,p){return arguments.length<2?f(d[h])||f(u[h]):d[h]&&d[h][p]||u[h]&&u[h][p]}},1246:function(s,l,a){var d=a(648),u=a(7497),f=a(5112),h=f("iterator");s.exports=function(p){if(p!=null)return p[h]||p["@@iterator"]||u[d(p)]}},8554:function(s,l,a){var d=a(9670),u=a(1246);s.exports=function(f){var h=u(f);if(typeof h!="function")throw TypeError(String(f)+" is not iterable");return d(h.call(f))}},647:function(s,l,a){var d=a(7908),u=Math.floor,f="".replace,h=/\$([$&'`]|\d\d?|<[^>]*>)/g,p=/\$([$&'`]|\d\d?)/g;s.exports=function(m,g,v,b,A,S){var y=v+m.length,T=b.length,k=p;return A!==void 0&&(A=d(A),k=h),f.call(S,k,function($,H){var U;switch(H.charAt(0)){case"$":return"$";case"&":return m;case"`":return g.slice(0,v);case"'":return g.slice(y);case"<":U=A[H.slice(1,-1)];break;default:var R=+H;if(R===0)return $;if(R>T){var D=u(R/10);return D===0?$:D<=T?b[D-1]===void 0?H.charAt(1):b[D-1]+H.charAt(1):$}U=b[R-1]}return U===void 0?"":U})}},7854:function(s,l,a){var d=function(u){return u&&u.Math==Math&&u};s.exports=d(typeof globalThis=="object"&&globalThis)||d(typeof window=="object"&&window)||d(typeof self=="object"&&self)||d(typeof a.g=="object"&&a.g)||function(){return this}()||Function("return this")()},6656:function(s){var l={}.hasOwnProperty;s.exports=function(a,d){return l.call(a,d)}},3501:function(s){s.exports={}},490:function(s,l,a){var d=a(5005);s.exports=d("document","documentElement")},4664:function(s,l,a){var d=a(9781),u=a(7293),f=a(317);s.exports=!d&&!u(function(){return Object.defineProperty(f("div"),"a",{get:function(){return 7}}).a!=7})},1179:function(s){var l=Math.abs,a=Math.pow,d=Math.floor,u=Math.log,f=Math.LN2,h=function(m,g,v){var b=new Array(v),A=v*8-g-1,S=(1<<A)-1,y=S>>1,T=g===23?a(2,-24)-a(2,-77):0,k=m<0||m===0&&1/m<0?1:0,$=0,H,U,R;for(m=l(m),m!=m||m===1/0?(U=m!=m?1:0,H=S):(H=d(u(m)/f),m*(R=a(2,-H))<1&&(H--,R*=2),H+y>=1?m+=T/R:m+=T*a(2,1-y),m*R>=2&&(H++,R/=2),H+y>=S?(U=0,H=S):H+y>=1?(U=(m*R-1)*a(2,g),H=H+y):(U=m*a(2,y-1)*a(2,g),H=0));g>=8;b[$++]=U&255,U/=256,g-=8);for(H=H<<g|U,A+=g;A>0;b[$++]=H&255,H/=256,A-=8);return b[--$]|=k*128,b},p=function(m,g){var v=m.length,b=v*8-g-1,A=(1<<b)-1,S=A>>1,y=b-7,T=v-1,k=m[T--],$=k&127,H;for(k>>=7;y>0;$=$*256+m[T],T--,y-=8);for(H=$&(1<<-y)-1,$>>=-y,y+=g;y>0;H=H*256+m[T],T--,y-=8);if($===0)$=1-S;else{if($===A)return H?NaN:k?-1/0:1/0;H=H+a(2,g),$=$-S}return(k?-1:1)*H*a(2,$-g)};s.exports={pack:h,unpack:p}},8361:function(s,l,a){var d=a(7293),u=a(4326),f="".split;s.exports=d(function(){return!Object("z").propertyIsEnumerable(0)})?function(h){return u(h)=="String"?f.call(h,""):Object(h)}:Object},9587:function(s,l,a){var d=a(111),u=a(7674);s.exports=function(f,h,p){var m,g;return u&&typeof(m=h.constructor)=="function"&&m!==p&&d(g=m.prototype)&&g!==p.prototype&&u(f,g),f}},2788:function(s,l,a){var d=a(5465),u=Function.toString;typeof d.inspectSource!="function"&&(d.inspectSource=function(f){return u.call(f)}),s.exports=d.inspectSource},9909:function(s,l,a){var d=a(8536),u=a(7854),f=a(111),h=a(8880),p=a(6656),m=a(5465),g=a(6200),v=a(3501),b=u.WeakMap,A,S,y,T=function(z){return y(z)?S(z):A(z,{})},k=function(z){return function(W){var j;if(!f(W)||(j=S(W)).type!==z)throw TypeError("Incompatible receiver, "+z+" required");return j}};if(d){var $=m.state||(m.state=new b),H=$.get,U=$.has,R=$.set;A=function(z,W){return W.facade=z,R.call($,z,W),W},S=function(z){return H.call($,z)||{}},y=function(z){return U.call($,z)}}else{var D=g("state");v[D]=!0,A=function(z,W){return W.facade=z,h(z,D,W),W},S=function(z){return p(z,D)?z[D]:{}},y=function(z){return p(z,D)}}s.exports={set:A,get:S,has:y,enforce:T,getterFor:k}},7659:function(s,l,a){var d=a(5112),u=a(7497),f=d("iterator"),h=Array.prototype;s.exports=function(p){return p!==void 0&&(u.Array===p||h[f]===p)}},3157:function(s,l,a){var d=a(4326);s.exports=Array.isArray||function(f){return d(f)=="Array"}},4705:function(s,l,a){var d=a(7293),u=/#|\.prototype\./,f=function(v,b){var A=p[h(v)];return A==g?!0:A==m?!1:typeof b=="function"?d(b):!!b},h=f.normalize=function(v){return String(v).replace(u,".").toLowerCase()},p=f.data={},m=f.NATIVE="N",g=f.POLYFILL="P";s.exports=f},111:function(s){s.exports=function(l){return typeof l=="object"?l!==null:typeof l=="function"}},1913:function(s){s.exports=!1},7850:function(s,l,a){var d=a(111),u=a(4326),f=a(5112),h=f("match");s.exports=function(p){var m;return d(p)&&((m=p[h])!==void 0?!!m:u(p)=="RegExp")}},9212:function(s,l,a){var d=a(9670);s.exports=function(u){var f=u.return;if(f!==void 0)return d(f.call(u)).value}},3383:function(s,l,a){var d=a(7293),u=a(9518),f=a(8880),h=a(6656),p=a(5112),m=a(1913),g=p("iterator"),v=!1,b=function(){return this},A,S,y;[].keys&&(y=[].keys(),"next"in y?(S=u(u(y)),S!==Object.prototype&&(A=S)):v=!0);var T=A==null||d(function(){var k={};return A[g].call(k)!==k});T&&(A={}),(!m||T)&&!h(A,g)&&f(A,g,b),s.exports={IteratorPrototype:A,BUGGY_SAFARI_ITERATORS:v}},7497:function(s){s.exports={}},133:function(s,l,a){var d=a(7293);s.exports=!!Object.getOwnPropertySymbols&&!d(function(){return!String(Symbol())})},590:function(s,l,a){var d=a(7293),u=a(5112),f=a(1913),h=u("iterator");s.exports=!d(function(){var p=new URL("b?a=1&b=2&c=3","http://a"),m=p.searchParams,g="";return p.pathname="c%20d",m.forEach(function(v,b){m.delete("b"),g+=b+v}),f&&!p.toJSON||!m.sort||p.href!=="http://a/c%20d?a=1&c=3"||m.get("c")!=="3"||String(new URLSearchParams("?a=1"))!=="a=1"||!m[h]||new URL("https://a@b").username!=="a"||new URLSearchParams(new URLSearchParams("a=b")).get("a")!=="b"||new URL("http://тест").host!=="xn--e1aybc"||new URL("http://a#б").hash!=="#%D0%B1"||g!=="a1c3"||new URL("http://x",void 0).host!=="x"})},8536:function(s,l,a){var d=a(7854),u=a(2788),f=d.WeakMap;s.exports=typeof f=="function"&&/native code/.test(u(f))},1574:function(s,l,a){var d=a(9781),u=a(7293),f=a(1956),h=a(5181),p=a(5296),m=a(7908),g=a(8361),v=Object.assign,b=Object.defineProperty;s.exports=!v||u(function(){if(d&&v({b:1},v(b({},"a",{enumerable:!0,get:function(){b(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var A={},S={},y=Symbol(),T="abcdefghijklmnopqrst";return A[y]=7,T.split("").forEach(function(k){S[k]=k}),v({},A)[y]!=7||f(v({},S)).join("")!=T})?function(S,y){for(var T=m(S),k=arguments.length,$=1,H=h.f,U=p.f;k>$;)for(var R=g(arguments[$++]),D=H?f(R).concat(H(R)):f(R),z=D.length,W=0,j;z>W;)j=D[W++],(!d||U.call(R,j))&&(T[j]=R[j]);return T}:v},30:function(s,l,a){var d=a(9670),u=a(6048),f=a(748),h=a(3501),p=a(490),m=a(317),g=a(6200),v=">",b="<",A="prototype",S="script",y=g("IE_PROTO"),T=function(){},k=function(D){return b+S+v+D+b+"/"+S+v},$=function(D){D.write(k("")),D.close();var z=D.parentWindow.Object;return D=null,z},H=function(){var D=m("iframe"),z="java"+S+":",W;return D.style.display="none",p.appendChild(D),D.src=String(z),W=D.contentWindow.document,W.open(),W.write(k("document.F=Object")),W.close(),W.F},U,R=function(){try{U=document.domain&&new ActiveXObject("htmlfile")}catch{}R=U?$(U):H();for(var D=f.length;D--;)delete R[A][f[D]];return R()};h[y]=!0,s.exports=Object.create||function(z,W){var j;return z!==null?(T[A]=d(z),j=new T,T[A]=null,j[y]=z):j=R(),W===void 0?j:u(j,W)}},6048:function(s,l,a){var d=a(9781),u=a(3070),f=a(9670),h=a(1956);s.exports=d?Object.defineProperties:function(m,g){f(m);for(var v=h(g),b=v.length,A=0,S;b>A;)u.f(m,S=v[A++],g[S]);return m}},3070:function(s,l,a){var d=a(9781),u=a(4664),f=a(9670),h=a(7593),p=Object.defineProperty;l.f=d?p:function(g,v,b){if(f(g),v=h(v,!0),f(b),u)try{return p(g,v,b)}catch{}if("get"in b||"set"in b)throw TypeError("Accessors not supported");return"value"in b&&(g[v]=b.value),g}},1236:function(s,l,a){var d=a(9781),u=a(5296),f=a(9114),h=a(5656),p=a(7593),m=a(6656),g=a(4664),v=Object.getOwnPropertyDescriptor;l.f=d?v:function(A,S){if(A=h(A),S=p(S,!0),g)try{return v(A,S)}catch{}if(m(A,S))return f(!u.f.call(A,S),A[S])}},8006:function(s,l,a){var d=a(6324),u=a(748),f=u.concat("length","prototype");l.f=Object.getOwnPropertyNames||function(p){return d(p,f)}},5181:function(s,l){l.f=Object.getOwnPropertySymbols},9518:function(s,l,a){var d=a(6656),u=a(7908),f=a(6200),h=a(8544),p=f("IE_PROTO"),m=Object.prototype;s.exports=h?Object.getPrototypeOf:function(g){return g=u(g),d(g,p)?g[p]:typeof g.constructor=="function"&&g instanceof g.constructor?g.constructor.prototype:g instanceof Object?m:null}},6324:function(s,l,a){var d=a(6656),u=a(5656),f=a(1318).indexOf,h=a(3501);s.exports=function(p,m){var g=u(p),v=0,b=[],A;for(A in g)!d(h,A)&&d(g,A)&&b.push(A);for(;m.length>v;)d(g,A=m[v++])&&(~f(b,A)||b.push(A));return b}},1956:function(s,l,a){var d=a(6324),u=a(748);s.exports=Object.keys||function(h){return d(h,u)}},5296:function(s,l){var a={}.propertyIsEnumerable,d=Object.getOwnPropertyDescriptor,u=d&&!a.call({1:2},1);l.f=u?function(h){var p=d(this,h);return!!p&&p.enumerable}:a},7674:function(s,l,a){var d=a(9670),u=a(6077);s.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var f=!1,h={},p;try{p=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,p.call(h,[]),f=h instanceof Array}catch{}return function(g,v){return d(g),u(v),f?p.call(g,v):g.__proto__=v,g}}():void 0)},288:function(s,l,a){var d=a(1694),u=a(648);s.exports=d?{}.toString:function(){return"[object "+u(this)+"]"}},3887:function(s,l,a){var d=a(5005),u=a(8006),f=a(5181),h=a(9670);s.exports=d("Reflect","ownKeys")||function(m){var g=u.f(h(m)),v=f.f;return v?g.concat(v(m)):g}},857:function(s,l,a){var d=a(7854);s.exports=d},2248:function(s,l,a){var d=a(1320);s.exports=function(u,f,h){for(var p in f)d(u,p,f[p],h);return u}},1320:function(s,l,a){var d=a(7854),u=a(8880),f=a(6656),h=a(3505),p=a(2788),m=a(9909),g=m.get,v=m.enforce,b=String(String).split("String");(s.exports=function(A,S,y,T){var k=T?!!T.unsafe:!1,$=T?!!T.enumerable:!1,H=T?!!T.noTargetGet:!1,U;if(typeof y=="function"&&(typeof S=="string"&&!f(y,"name")&&u(y,"name",S),U=v(y),U.source||(U.source=b.join(typeof S=="string"?S:""))),A===d){$?A[S]=y:h(S,y);return}else k?!H&&A[S]&&($=!0):delete A[S];$?A[S]=y:u(A,S,y)})(Function.prototype,"toString",function(){return typeof this=="function"&&g(this).source||p(this)})},7651:function(s,l,a){var d=a(4326),u=a(2261);s.exports=function(f,h){var p=f.exec;if(typeof p=="function"){var m=p.call(f,h);if(typeof m!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return m}if(d(f)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return u.call(f,h)}},2261:function(s,l,a){var d=a(7066),u=a(2999),f=RegExp.prototype.exec,h=String.prototype.replace,p=f,m=function(){var A=/a/,S=/b*/g;return f.call(A,"a"),f.call(S,"a"),A.lastIndex!==0||S.lastIndex!==0}(),g=u.UNSUPPORTED_Y||u.BROKEN_CARET,v=/()??/.exec("")[1]!==void 0,b=m||v||g;b&&(p=function(S){var y=this,T,k,$,H,U=g&&y.sticky,R=d.call(y),D=y.source,z=0,W=S;return U&&(R=R.replace("y",""),R.indexOf("g")===-1&&(R+="g"),W=String(S).slice(y.lastIndex),y.lastIndex>0&&(!y.multiline||y.multiline&&S[y.lastIndex-1]!==`
|
|
56
|
-
`)&&(D="(?: "+D+")",W=" "+W,z++),k=new RegExp("^(?:"+D+")",R)),v&&(k=new RegExp("^"+D+"$(?!\\s)",R)),m&&(T=y.lastIndex),$=f.call(U?k:y,W),U?$?($.input=$.input.slice(z),$[0]=$[0].slice(z),$.index=y.lastIndex,y.lastIndex+=$[0].length):y.lastIndex=0:m&&$&&(y.lastIndex=y.global?$.index+$[0].length:T),v&&$&&$.length>1&&h.call($[0],k,function(){for(H=1;H<arguments.length-2;H++)arguments[H]===void 0&&($[H]=void 0)}),$}),s.exports=p},7066:function(s,l,a){var d=a(9670);s.exports=function(){var u=d(this),f="";return u.global&&(f+="g"),u.ignoreCase&&(f+="i"),u.multiline&&(f+="m"),u.dotAll&&(f+="s"),u.unicode&&(f+="u"),u.sticky&&(f+="y"),f}},2999:function(s,l,a){var d=a(7293);function u(f,h){return RegExp(f,h)}l.UNSUPPORTED_Y=d(function(){var f=u("a","y");return f.lastIndex=2,f.exec("abcd")!=null}),l.BROKEN_CARET=d(function(){var f=u("^r","gy");return f.lastIndex=2,f.exec("str")!=null})},4488:function(s){s.exports=function(l){if(l==null)throw TypeError("Can't call method on "+l);return l}},3505:function(s,l,a){var d=a(7854),u=a(8880);s.exports=function(f,h){try{u(d,f,h)}catch{d[f]=h}return h}},6340:function(s,l,a){var d=a(5005),u=a(3070),f=a(5112),h=a(9781),p=f("species");s.exports=function(m){var g=d(m),v=u.f;h&&g&&!g[p]&&v(g,p,{configurable:!0,get:function(){return this}})}},8003:function(s,l,a){var d=a(3070).f,u=a(6656),f=a(5112),h=f("toStringTag");s.exports=function(p,m,g){p&&!u(p=g?p:p.prototype,h)&&d(p,h,{configurable:!0,value:m})}},6200:function(s,l,a){var d=a(2309),u=a(9711),f=d("keys");s.exports=function(h){return f[h]||(f[h]=u(h))}},5465:function(s,l,a){var d=a(7854),u=a(3505),f="__core-js_shared__",h=d[f]||u(f,{});s.exports=h},2309:function(s,l,a){var d=a(1913),u=a(5465);(s.exports=function(f,h){return u[f]||(u[f]=h!==void 0?h:{})})("versions",[]).push({version:"3.9.0",mode:d?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},6707:function(s,l,a){var d=a(9670),u=a(3099),f=a(5112),h=f("species");s.exports=function(p,m){var g=d(p).constructor,v;return g===void 0||(v=d(g)[h])==null?m:u(v)}},8710:function(s,l,a){var d=a(9958),u=a(4488),f=function(h){return function(p,m){var g=String(u(p)),v=d(m),b=g.length,A,
|
|
57
|
-
\v\f\r \u2028\u2029\uFEFF`},8264:function(s,l,a){var d=a(2109),u=a(7854),f=a(3331),h=a(6340),p="ArrayBuffer",m=f[p],g=u[p];d({global:!0,forced:g!==m},{ArrayBuffer:m}),h(p)},2222:function(s,l,a){var d=a(2109),u=a(7293),f=a(3157),h=a(111),p=a(7908),m=a(7466),g=a(6135),v=a(5417),b=a(1194),A=a(5112),S=a(7392),y=A("isConcatSpreadable"),T=9007199254740991,k="Maximum allowed index exceeded",$=S>=51||!u(function(){var D=[];return D[y]=!1,D.concat()[0]!==D}),H=b("concat"),U=function(D){if(!h(D))return!1;var z=D[y];return z!==void 0?!!z:f(D)},R=!$||!H;d({target:"Array",proto:!0,forced:R},{concat:function(z){var W=p(this),j=v(W,0),V=0,F,Y,L,X,ne;for(F=-1,L=arguments.length;F<L;F++)if(ne=F===-1?W:arguments[F],U(ne)){if(X=m(ne.length),V+X>T)throw TypeError(k);for(Y=0;Y<X;Y++,V++)Y in ne&&g(j,V,ne[Y])}else{if(V>=T)throw TypeError(k);g(j,V++,ne)}return j.length=V,j}})},7327:function(s,l,a){var d=a(2109),u=a(2092).filter,f=a(1194),h=f("filter");d({target:"Array",proto:!0,forced:!h},{filter:function(m){return u(this,m,arguments.length>1?arguments[1]:void 0)}})},2772:function(s,l,a){var d=a(2109),u=a(1318).indexOf,f=a(9341),h=[].indexOf,p=!!h&&1/[1].indexOf(1,-0)<0,m=f("indexOf");d({target:"Array",proto:!0,forced:p||!m},{indexOf:function(v){return p?h.apply(this,arguments)||0:u(this,v,arguments.length>1?arguments[1]:void 0)}})},6992:function(s,l,a){var d=a(5656),u=a(1223),f=a(7497),h=a(9909),p=a(654),m="Array Iterator",g=h.set,v=h.getterFor(m);s.exports=p(Array,"Array",function(b,A){g(this,{type:m,target:d(b),index:0,kind:A})},function(){var b=v(this),A=b.target,S=b.kind,y=b.index++;return!A||y>=A.length?(b.target=void 0,{value:void 0,done:!0}):S=="keys"?{value:y,done:!1}:S=="values"?{value:A[y],done:!1}:{value:[y,A[y]],done:!1}},"values"),f.Arguments=f.Array,u("keys"),u("values"),u("entries")},1249:function(s,l,a){var d=a(2109),u=a(2092).map,f=a(1194),h=f("map");d({target:"Array",proto:!0,forced:!h},{map:function(m){return u(this,m,arguments.length>1?arguments[1]:void 0)}})},7042:function(s,l,a){var d=a(2109),u=a(111),f=a(3157),h=a(1400),p=a(7466),m=a(5656),g=a(6135),v=a(5112),b=a(1194),A=b("slice"),S=v("species"),y=[].slice,T=Math.max;d({target:"Array",proto:!0,forced:!A},{slice:function($,H){var U=m(this),R=p(U.length),D=h($,R),z=h(H===void 0?R:H,R),W,j,V;if(f(U)&&(W=U.constructor,typeof W=="function"&&(W===Array||f(W.prototype))?W=void 0:u(W)&&(W=W[S],W===null&&(W=void 0)),W===Array||W===void 0))return y.call(U,D,z);for(j=new(W===void 0?Array:W)(T(z-D,0)),V=0;D<z;D++,V++)D in U&&g(j,V,U[D]);return j.length=V,j}})},561:function(s,l,a){var d=a(2109),u=a(1400),f=a(9958),h=a(7466),p=a(7908),m=a(5417),g=a(6135),v=a(1194),b=v("splice"),A=Math.max,S=Math.min,y=9007199254740991,T="Maximum allowed length exceeded";d({target:"Array",proto:!0,forced:!b},{splice:function($,H){var U=p(this),R=h(U.length),D=u($,R),z=arguments.length,W,j,V,F,Y,L;if(z===0?W=j=0:z===1?(W=0,j=R-D):(W=z-2,j=S(A(f(H),0),R-D)),R+W-j>y)throw TypeError(T);for(V=m(U,j),F=0;F<j;F++)Y=D+F,Y in U&&g(V,F,U[Y]);if(V.length=j,W<j){for(F=D;F<R-j;F++)Y=F+j,L=F+W,Y in U?U[L]=U[Y]:delete U[L];for(F=R;F>R-j+W;F--)delete U[F-1]}else if(W>j)for(F=R-j;F>D;F--)Y=F+j-1,L=F+W-1,Y in U?U[L]=U[Y]:delete U[L];for(F=0;F<W;F++)U[F+D]=arguments[F+2];return U.length=R-j+W,V}})},8309:function(s,l,a){var d=a(9781),u=a(3070).f,f=Function.prototype,h=f.toString,p=/^\s*function ([^ (]*)/,m="name";d&&!(m in f)&&u(f,m,{configurable:!0,get:function(){try{return h.call(this).match(p)[1]}catch{return""}}})},489:function(s,l,a){var d=a(2109),u=a(7293),f=a(7908),h=a(9518),p=a(8544),m=u(function(){h(1)});d({target:"Object",stat:!0,forced:m,sham:!p},{getPrototypeOf:function(v){return h(f(v))}})},1539:function(s,l,a){var d=a(1694),u=a(1320),f=a(288);d||u(Object.prototype,"toString",f,{unsafe:!0})},4916:function(s,l,a){var d=a(2109),u=a(2261);d({target:"RegExp",proto:!0,forced:/./.exec!==u},{exec:u})},9714:function(s,l,a){var d=a(1320),u=a(9670),f=a(7293),h=a(7066),p="toString",m=RegExp.prototype,g=m[p],v=f(function(){return g.call({source:"a",flags:"b"})!="/a/b"}),b=g.name!=p;(v||b)&&d(RegExp.prototype,p,function(){var S=u(this),y=String(S.source),T=S.flags,k=String(T===void 0&&S instanceof RegExp&&!("flags"in m)?h.call(S):T);return"/"+y+"/"+k},{unsafe:!0})},8783:function(s,l,a){var d=a(8710).charAt,u=a(9909),f=a(654),h="String Iterator",p=u.set,m=u.getterFor(h);f(String,"String",function(g){p(this,{type:h,string:String(g),index:0})},function(){var v=m(this),b=v.string,A=v.index,S;return A>=b.length?{value:void 0,done:!0}:(S=d(b,A),v.index+=S.length,{value:S,done:!1})})},4723:function(s,l,a){var d=a(7007),u=a(9670),f=a(7466),h=a(4488),p=a(1530),m=a(7651);d("match",1,function(g,v,b){return[function(S){var y=h(this),T=S==null?void 0:S[g];return T!==void 0?T.call(S,y):new RegExp(S)[g](String(y))},function(A){var S=b(v,A,this);if(S.done)return S.value;var y=u(A),T=String(this);if(!y.global)return m(y,T);var k=y.unicode;y.lastIndex=0;for(var $=[],H=0,U;(U=m(y,T))!==null;){var R=String(U[0]);$[H]=R,R===""&&(y.lastIndex=p(T,f(y.lastIndex),k)),H++}return H===0?null:$}]})},5306:function(s,l,a){var d=a(7007),u=a(9670),f=a(7466),h=a(9958),p=a(4488),m=a(1530),g=a(647),v=a(7651),b=Math.max,A=Math.min,S=function(y){return y===void 0?y:String(y)};d("replace",2,function(y,T,k,$){var H=$.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,U=$.REPLACE_KEEPS_$0,R=H?"$":"$0";return[function(z,W){var j=p(this),V=z==null?void 0:z[y];return V!==void 0?V.call(z,j,W):T.call(String(j),z,W)},function(D,z){if(!H&&U||typeof z=="string"&&z.indexOf(R)===-1){var W=k(T,D,this,z);if(W.done)return W.value}var j=u(D),V=String(this),F=typeof z=="function";F||(z=String(z));var Y=j.global;if(Y){var L=j.unicode;j.lastIndex=0}for(var X=[];;){var ne=v(j,V);if(ne===null||(X.push(ne),!Y))break;var de=String(ne[0]);de===""&&(j.lastIndex=m(V,f(j.lastIndex),L))}for(var ge="",ve=0,Ae=0;Ae<X.length;Ae++){ne=X[Ae];for(var Se=String(ne[0]),xe=b(A(h(ne.index),V.length),0),Ce=[],x=1;x<ne.length;x++)Ce.push(S(ne[x]));var I=ne.groups;if(F){var w=[Se].concat(Ce,xe,V);I!==void 0&&w.push(I);var M=String(z.apply(void 0,w))}else M=g(Se,V,xe,Ce,I,z);xe>=ve&&(ge+=V.slice(ve,xe)+M,ve=xe+Se.length)}return ge+V.slice(ve)}]})},3123:function(s,l,a){var d=a(7007),u=a(7850),f=a(9670),h=a(4488),p=a(6707),m=a(1530),g=a(7466),v=a(7651),b=a(2261),A=a(7293),S=[].push,y=Math.min,T=4294967295,k=!A(function(){return!RegExp(T,"y")});d("split",2,function($,H,U){var R;return"abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?R=function(D,z){var W=String(h(this)),j=z===void 0?T:z>>>0;if(j===0)return[];if(D===void 0)return[W];if(!u(D))return H.call(W,D,j);for(var V=[],F=(D.ignoreCase?"i":"")+(D.multiline?"m":"")+(D.unicode?"u":"")+(D.sticky?"y":""),Y=0,L=new RegExp(D.source,F+"g"),X,ne,de;(X=b.call(L,W))&&(ne=L.lastIndex,!(ne>Y&&(V.push(W.slice(Y,X.index)),X.length>1&&X.index<W.length&&S.apply(V,X.slice(1)),de=X[0].length,Y=ne,V.length>=j)));)L.lastIndex===X.index&&L.lastIndex++;return Y===W.length?(de||!L.test(""))&&V.push(""):V.push(W.slice(Y)),V.length>j?V.slice(0,j):V}:"0".split(void 0,0).length?R=function(D,z){return D===void 0&&z===0?[]:H.call(this,D,z)}:R=H,[function(z,W){var j=h(this),V=z==null?void 0:z[$];return V!==void 0?V.call(z,j,W):R.call(String(j),z,W)},function(D,z){var W=U(R,D,this,z,R!==H);if(W.done)return W.value;var j=f(D),V=String(this),F=p(j,RegExp),Y=j.unicode,L=(j.ignoreCase?"i":"")+(j.multiline?"m":"")+(j.unicode?"u":"")+(k?"y":"g"),X=new F(k?j:"^(?:"+j.source+")",L),ne=z===void 0?T:z>>>0;if(ne===0)return[];if(V.length===0)return v(X,V)===null?[V]:[];for(var de=0,ge=0,ve=[];ge<V.length;){X.lastIndex=k?ge:0;var Ae=v(X,k?V:V.slice(ge)),Se;if(Ae===null||(Se=y(g(X.lastIndex+(k?0:ge)),V.length))===de)ge=m(V,ge,Y);else{if(ve.push(V.slice(de,ge)),ve.length===ne)return ve;for(var xe=1;xe<=Ae.length-1;xe++)if(ve.push(Ae[xe]),ve.length===ne)return ve;ge=de=Se}}return ve.push(V.slice(de)),ve}]},!k)},3210:function(s,l,a){var d=a(2109),u=a(3111).trim,f=a(6091);d({target:"String",proto:!0,forced:f("trim")},{trim:function(){return u(this)}})},2990:function(s,l,a){var d=a(260),u=a(1048),f=d.aTypedArray,h=d.exportTypedArrayMethod;h("copyWithin",function(m,g){return u.call(f(this),m,g,arguments.length>2?arguments[2]:void 0)})},8927:function(s,l,a){var d=a(260),u=a(2092).every,f=d.aTypedArray,h=d.exportTypedArrayMethod;h("every",function(m){return u(f(this),m,arguments.length>1?arguments[1]:void 0)})},3105:function(s,l,a){var d=a(260),u=a(1285),f=d.aTypedArray,h=d.exportTypedArrayMethod;h("fill",function(m){return u.apply(f(this),arguments)})},5035:function(s,l,a){var d=a(260),u=a(2092).filter,f=a(3074),h=d.aTypedArray,p=d.exportTypedArrayMethod;p("filter",function(g){var v=u(h(this),g,arguments.length>1?arguments[1]:void 0);return f(this,v)})},7174:function(s,l,a){var d=a(260),u=a(2092).findIndex,f=d.aTypedArray,h=d.exportTypedArrayMethod;h("findIndex",function(m){return u(f(this),m,arguments.length>1?arguments[1]:void 0)})},4345:function(s,l,a){var d=a(260),u=a(2092).find,f=d.aTypedArray,h=d.exportTypedArrayMethod;h("find",function(m){return u(f(this),m,arguments.length>1?arguments[1]:void 0)})},2846:function(s,l,a){var d=a(260),u=a(2092).forEach,f=d.aTypedArray,h=d.exportTypedArrayMethod;h("forEach",function(m){u(f(this),m,arguments.length>1?arguments[1]:void 0)})},4731:function(s,l,a){var d=a(260),u=a(1318).includes,f=d.aTypedArray,h=d.exportTypedArrayMethod;h("includes",function(m){return u(f(this),m,arguments.length>1?arguments[1]:void 0)})},7209:function(s,l,a){var d=a(260),u=a(1318).indexOf,f=d.aTypedArray,h=d.exportTypedArrayMethod;h("indexOf",function(m){return u(f(this),m,arguments.length>1?arguments[1]:void 0)})},6319:function(s,l,a){var d=a(7854),u=a(260),f=a(6992),h=a(5112),p=h("iterator"),m=d.Uint8Array,g=f.values,v=f.keys,b=f.entries,A=u.aTypedArray,S=u.exportTypedArrayMethod,y=m&&m.prototype[p],T=!!y&&(y.name=="values"||y.name==null),k=function(){return g.call(A(this))};S("entries",function(){return b.call(A(this))}),S("keys",function(){return v.call(A(this))}),S("values",k,!T),S(p,k,!T)},8867:function(s,l,a){var d=a(260),u=d.aTypedArray,f=d.exportTypedArrayMethod,h=[].join;f("join",function(m){return h.apply(u(this),arguments)})},7789:function(s,l,a){var d=a(260),u=a(6583),f=d.aTypedArray,h=d.exportTypedArrayMethod;h("lastIndexOf",function(m){return u.apply(f(this),arguments)})},3739:function(s,l,a){var d=a(260),u=a(2092).map,f=a(6707),h=d.aTypedArray,p=d.aTypedArrayConstructor,m=d.exportTypedArrayMethod;m("map",function(v){return u(h(this),v,arguments.length>1?arguments[1]:void 0,function(b,A){return new(p(f(b,b.constructor)))(A)})})},4483:function(s,l,a){var d=a(260),u=a(3671).right,f=d.aTypedArray,h=d.exportTypedArrayMethod;h("reduceRight",function(m){return u(f(this),m,arguments.length,arguments.length>1?arguments[1]:void 0)})},9368:function(s,l,a){var d=a(260),u=a(3671).left,f=d.aTypedArray,h=d.exportTypedArrayMethod;h("reduce",function(m){return u(f(this),m,arguments.length,arguments.length>1?arguments[1]:void 0)})},2056:function(s,l,a){var d=a(260),u=d.aTypedArray,f=d.exportTypedArrayMethod,h=Math.floor;f("reverse",function(){for(var m=this,g=u(m).length,v=h(g/2),b=0,A;b<v;)A=m[b],m[b++]=m[--g],m[g]=A;return m})},3462:function(s,l,a){var d=a(260),u=a(7466),f=a(4590),h=a(7908),p=a(7293),m=d.aTypedArray,g=d.exportTypedArrayMethod,v=p(function(){new Int8Array(1).set({})});g("set",function(A){m(this);var S=f(arguments.length>1?arguments[1]:void 0,1),y=this.length,T=h(A),k=u(T.length),$=0;if(k+S>y)throw RangeError("Wrong length");for(;$<k;)this[S+$]=T[$++]},v)},678:function(s,l,a){var d=a(260),u=a(6707),f=a(7293),h=d.aTypedArray,p=d.aTypedArrayConstructor,m=d.exportTypedArrayMethod,g=[].slice,v=f(function(){new Int8Array(1).slice()});m("slice",function(A,S){for(var y=g.call(h(this),A,S),T=u(this,this.constructor),k=0,$=y.length,H=new(p(T))($);$>k;)H[k]=y[k++];return H},v)},7462:function(s,l,a){var d=a(260),u=a(2092).some,f=d.aTypedArray,h=d.exportTypedArrayMethod;h("some",function(m){return u(f(this),m,arguments.length>1?arguments[1]:void 0)})},3824:function(s,l,a){var d=a(260),u=d.aTypedArray,f=d.exportTypedArrayMethod,h=[].sort;f("sort",function(m){return h.call(u(this),m)})},5021:function(s,l,a){var d=a(260),u=a(7466),f=a(1400),h=a(6707),p=d.aTypedArray,m=d.exportTypedArrayMethod;m("subarray",function(v,b){var A=p(this),S=A.length,y=f(v,S);return new(h(A,A.constructor))(A.buffer,A.byteOffset+y*A.BYTES_PER_ELEMENT,u((b===void 0?S:f(b,S))-y))})},2974:function(s,l,a){var d=a(7854),u=a(260),f=a(7293),h=d.Int8Array,p=u.aTypedArray,m=u.exportTypedArrayMethod,g=[].toLocaleString,v=[].slice,b=!!h&&f(function(){g.call(new h(1))}),A=f(function(){return[1,2].toLocaleString()!=new h([1,2]).toLocaleString()})||!f(function(){h.prototype.toLocaleString.call([1,2])});m("toLocaleString",function(){return g.apply(b?v.call(p(this)):p(this),arguments)},A)},5016:function(s,l,a){var d=a(260).exportTypedArrayMethod,u=a(7293),f=a(7854),h=f.Uint8Array,p=h&&h.prototype||{},m=[].toString,g=[].join;u(function(){m.call({})})&&(m=function(){return g.call(this)});var v=p.toString!=m;d("toString",m,v)},2472:function(s,l,a){var d=a(9843);d("Uint8",function(u){return function(h,p,m){return u(this,h,p,m)}})},4747:function(s,l,a){var d=a(7854),u=a(8324),f=a(8533),h=a(8880);for(var p in u){var m=d[p],g=m&&m.prototype;if(g&&g.forEach!==f)try{h(g,"forEach",f)}catch{g.forEach=f}}},3948:function(s,l,a){var d=a(7854),u=a(8324),f=a(6992),h=a(8880),p=a(5112),m=p("iterator"),g=p("toStringTag"),v=f.values;for(var b in u){var A=d[b],S=A&&A.prototype;if(S){if(S[m]!==v)try{h(S,m,v)}catch{S[m]=v}if(S[g]||h(S,g,b),u[b]){for(var y in f)if(S[y]!==f[y])try{h(S,y,f[y])}catch{S[y]=f[y]}}}}},1637:function(s,l,a){a(6992);var d=a(2109),u=a(5005),f=a(590),h=a(1320),p=a(2248),m=a(8003),g=a(4994),v=a(9909),b=a(5787),A=a(6656),S=a(9974),y=a(648),T=a(9670),k=a(111),$=a(30),H=a(9114),U=a(8554),R=a(1246),D=a(5112),z=u("fetch"),W=u("Headers"),j=D("iterator"),V="URLSearchParams",F=V+"Iterator",Y=v.set,L=v.getterFor(V),X=v.getterFor(F),ne=/\+/g,de=Array(4),ge=function(N){return de[N-1]||(de[N-1]=RegExp("((?:%[\\da-f]{2}){"+N+"})","gi"))},ve=function(N){try{return decodeURIComponent(N)}catch{return N}},Ae=function(N){var B=N.replace(ne," "),P=4;try{return decodeURIComponent(B)}catch{for(;P;)B=B.replace(ge(P--),ve);return B}},Se=/[!'()~]|%20/g,xe={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},Ce=function(N){return xe[N]},x=function(N){return encodeURIComponent(N).replace(Se,Ce)},I=function(N,B){if(B)for(var P=B.split("&"),K=0,J,Q;K<P.length;)J=P[K++],J.length&&(Q=J.split("="),N.push({key:Ae(Q.shift()),value:Ae(Q.join("="))}))},w=function(N){this.entries.length=0,I(this.entries,N)},M=function(N,B){if(N<B)throw TypeError("Not enough arguments")},C=g(function(B,P){Y(this,{type:F,iterator:U(L(B).entries),kind:P})},"Iterator",function(){var B=X(this),P=B.kind,K=B.iterator.next(),J=K.value;return K.done||(K.value=P==="keys"?J.key:P==="values"?J.value:[J.key,J.value]),K}),E=function(){b(this,E,V);var B=arguments.length>0?arguments[0]:void 0,P=this,K=[],J,Q,Z,G,re,he,we,Ne,ze;if(Y(P,{type:V,entries:K,updateURL:function(){},updateSearchParams:w}),B!==void 0)if(k(B))if(J=R(B),typeof J=="function")for(Q=J.call(B),Z=Q.next;!(G=Z.call(Q)).done;){if(re=U(T(G.value)),he=re.next,(we=he.call(re)).done||(Ne=he.call(re)).done||!he.call(re).done)throw TypeError("Expected sequence with length 2");K.push({key:we.value+"",value:Ne.value+""})}else for(ze in B)A(B,ze)&&K.push({key:ze,value:B[ze]+""});else I(K,typeof B=="string"?B.charAt(0)==="?"?B.slice(1):B:B+"")},_=E.prototype;p(_,{append:function(B,P){M(arguments.length,2);var K=L(this);K.entries.push({key:B+"",value:P+""}),K.updateURL()},delete:function(N){M(arguments.length,1);for(var B=L(this),P=B.entries,K=N+"",J=0;J<P.length;)P[J].key===K?P.splice(J,1):J++;B.updateURL()},get:function(B){M(arguments.length,1);for(var P=L(this).entries,K=B+"",J=0;J<P.length;J++)if(P[J].key===K)return P[J].value;return null},getAll:function(B){M(arguments.length,1);for(var P=L(this).entries,K=B+"",J=[],Q=0;Q<P.length;Q++)P[Q].key===K&&J.push(P[Q].value);return J},has:function(B){M(arguments.length,1);for(var P=L(this).entries,K=B+"",J=0;J<P.length;)if(P[J++].key===K)return!0;return!1},set:function(B,P){M(arguments.length,1);for(var K=L(this),J=K.entries,Q=!1,Z=B+"",G=P+"",re=0,he;re<J.length;re++)he=J[re],he.key===Z&&(Q?J.splice(re--,1):(Q=!0,he.value=G));Q||J.push({key:Z,value:G}),K.updateURL()},sort:function(){var B=L(this),P=B.entries,K=P.slice(),J,Q,Z;for(P.length=0,Z=0;Z<K.length;Z++){for(J=K[Z],Q=0;Q<Z;Q++)if(P[Q].key>J.key){P.splice(Q,0,J);break}Q===Z&&P.push(J)}B.updateURL()},forEach:function(B){for(var P=L(this).entries,K=S(B,arguments.length>1?arguments[1]:void 0,3),J=0,Q;J<P.length;)Q=P[J++],K(Q.value,Q.key,this)},keys:function(){return new C(this,"keys")},values:function(){return new C(this,"values")},entries:function(){return new C(this,"entries")}},{enumerable:!0}),h(_,j,_.entries),h(_,"toString",function(){for(var B=L(this).entries,P=[],K=0,J;K<B.length;)J=B[K++],P.push(x(J.key)+"="+x(J.value));return P.join("&")},{enumerable:!0}),m(E,V),d({global:!0,forced:!f},{URLSearchParams:E}),!f&&typeof z=="function"&&typeof W=="function"&&d({global:!0,enumerable:!0,forced:!0},{fetch:function(B){var P=[B],K,J,Q;return arguments.length>1&&(K=arguments[1],k(K)&&(J=K.body,y(J)===V&&(Q=K.headers?new W(K.headers):new W,Q.has("content-type")||Q.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),K=$(K,{body:H(0,String(J)),headers:H(0,Q)}))),P.push(K)),z.apply(this,P)}}),s.exports={URLSearchParams:E,getState:L}},285:function(s,l,a){a(8783);var d=a(2109),u=a(9781),f=a(590),h=a(7854),p=a(6048),m=a(1320),g=a(5787),v=a(6656),b=a(1574),A=a(8457),S=a(8710).codeAt,y=a(3197),T=a(8003),k=a(1637),$=a(9909),H=h.URL,U=k.URLSearchParams,R=k.getState,D=$.set,z=$.getterFor("URL"),W=Math.floor,j=Math.pow,V="Invalid authority",F="Invalid scheme",Y="Invalid host",L="Invalid port",X=/[A-Za-z]/,ne=/[\d+-.A-Za-z]/,de=/\d/,ge=/^(0x|0X)/,ve=/^[0-7]+$/,Ae=/^\d+$/,Se=/^[\dA-Fa-f]+$/,xe=/[\u0000\t\u000A\u000D #%/:?@[\\]]/,Ce=/[\u0000\t\u000A\u000D #/:?@[\\]]/,x=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,I=/[\t\u000A\u000D]/g,w,M=function(O,oe){var te,ie,ce;if(oe.charAt(0)=="["){if(oe.charAt(oe.length-1)!="]"||(te=E(oe.slice(1,-1)),!te))return Y;O.host=te}else if(G(O)){if(oe=y(oe),xe.test(oe)||(te=C(oe),te===null))return Y;O.host=te}else{if(Ce.test(oe))return Y;for(te="",ie=A(oe),ce=0;ce<ie.length;ce++)te+=Q(ie[ce],B);O.host=te}},C=function(O){var oe=O.split("."),te,ie,ce,Oe,be,Ve,je;if(oe.length&&oe[oe.length-1]==""&&oe.pop(),te=oe.length,te>4)return O;for(ie=[],ce=0;ce<te;ce++){if(Oe=oe[ce],Oe=="")return O;if(be=10,Oe.length>1&&Oe.charAt(0)=="0"&&(be=ge.test(Oe)?16:8,Oe=Oe.slice(be==8?1:2)),Oe==="")Ve=0;else{if(!(be==10?Ae:be==8?ve:Se).test(Oe))return O;Ve=parseInt(Oe,be)}ie.push(Ve)}for(ce=0;ce<te;ce++)if(Ve=ie[ce],ce==te-1){if(Ve>=j(256,5-te))return null}else if(Ve>255)return null;for(je=ie.pop(),ce=0;ce<ie.length;ce++)je+=ie[ce]*j(256,3-ce);return je},E=function(O){var oe=[0,0,0,0,0,0,0,0],te=0,ie=null,ce=0,Oe,be,Ve,je,Ye,Ht,ae,qe=function(){return O.charAt(ce)};if(qe()==":"){if(O.charAt(1)!=":")return;ce+=2,te++,ie=te}for(;qe();){if(te==8)return;if(qe()==":"){if(ie!==null)return;ce++,te++,ie=te;continue}for(Oe=be=0;be<4&&Se.test(qe());)Oe=Oe*16+parseInt(qe(),16),ce++,be++;if(qe()=="."){if(be==0||(ce-=be,te>6))return;for(Ve=0;qe();){if(je=null,Ve>0)if(qe()=="."&&Ve<4)ce++;else return;if(!de.test(qe()))return;for(;de.test(qe());){if(Ye=parseInt(qe(),10),je===null)je=Ye;else{if(je==0)return;je=je*10+Ye}if(je>255)return;ce++}oe[te]=oe[te]*256+je,Ve++,(Ve==2||Ve==4)&&te++}if(Ve!=4)return;break}else if(qe()==":"){if(ce++,!qe())return}else if(qe())return;oe[te++]=Oe}if(ie!==null)for(Ht=te-ie,te=7;te!=0&&Ht>0;)ae=oe[te],oe[te--]=oe[ie+Ht-1],oe[ie+--Ht]=ae;else if(te!=8)return;return oe},_=function(O){for(var oe=null,te=1,ie=null,ce=0,Oe=0;Oe<8;Oe++)O[Oe]!==0?(ce>te&&(oe=ie,te=ce),ie=null,ce=0):(ie===null&&(ie=Oe),++ce);return ce>te&&(oe=ie,te=ce),oe},N=function(O){var oe,te,ie,ce;if(typeof O=="number"){for(oe=[],te=0;te<4;te++)oe.unshift(O%256),O=W(O/256);return oe.join(".")}else if(typeof O=="object"){for(oe="",ie=_(O),te=0;te<8;te++)ce&&O[te]===0||(ce&&(ce=!1),ie===te?(oe+=te?":":"::",ce=!0):(oe+=O[te].toString(16),te<7&&(oe+=":")));return"["+oe+"]"}return O},B={},P=b({},B,{" ":1,'"':1,"<":1,">":1,"`":1}),K=b({},P,{"#":1,"?":1,"{":1,"}":1}),J=b({},K,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Q=function(O,oe){var te=S(O,0);return te>32&&te<127&&!v(oe,O)?O:encodeURIComponent(O)},Z={ftp:21,file:null,http:80,https:443,ws:80,wss:443},G=function(O){return v(Z,O.scheme)},re=function(O){return O.username!=""||O.password!=""},he=function(O){return!O.host||O.cannotBeABaseURL||O.scheme=="file"},we=function(O,oe){var te;return O.length==2&&X.test(O.charAt(0))&&((te=O.charAt(1))==":"||!oe&&te=="|")},Ne=function(O){var oe;return O.length>1&&we(O.slice(0,2))&&(O.length==2||(oe=O.charAt(2))==="/"||oe==="\\"||oe==="?"||oe==="#")},ze=function(O){var oe=O.path,te=oe.length;te&&(O.scheme!="file"||te!=1||!we(oe[0],!0))&&oe.pop()},$e=function(O){return O==="."||O.toLowerCase()==="%2e"},De=function(O){return O=O.toLowerCase(),O===".."||O==="%2e."||O===".%2e"||O==="%2e%2e"},Ze={},At={},at={},Yn={},q={},ue={},fe={},Te={},Ie={},Ue={},Ke={},gt={},vt={},rt={},cn={},Jn={},It={},Vt={},mo={},$t={},bn={},dn=function(O,oe,te,ie){var ce=te||Ze,Oe=0,be="",Ve=!1,je=!1,Ye=!1,Ht,ae,qe,An;for(te||(O.scheme="",O.username="",O.password="",O.host=null,O.port=null,O.path=[],O.query=null,O.fragment=null,O.cannotBeABaseURL=!1,oe=oe.replace(x,"")),oe=oe.replace(I,""),Ht=A(oe);Oe<=Ht.length;){switch(ae=Ht[Oe],ce){case Ze:if(ae&&X.test(ae))be+=ae.toLowerCase(),ce=At;else{if(te)return F;ce=at;continue}break;case At:if(ae&&(ne.test(ae)||ae=="+"||ae=="-"||ae=="."))be+=ae.toLowerCase();else if(ae==":"){if(te&&(G(O)!=v(Z,be)||be=="file"&&(re(O)||O.port!==null)||O.scheme=="file"&&!O.host))return;if(O.scheme=be,te){G(O)&&Z[O.scheme]==O.port&&(O.port=null);return}be="",O.scheme=="file"?ce=rt:G(O)&&ie&&ie.scheme==O.scheme?ce=Yn:G(O)?ce=Te:Ht[Oe+1]=="/"?(ce=q,Oe++):(O.cannotBeABaseURL=!0,O.path.push(""),ce=mo)}else{if(te)return F;be="",ce=at,Oe=0;continue}break;case at:if(!ie||ie.cannotBeABaseURL&&ae!="#")return F;if(ie.cannotBeABaseURL&&ae=="#"){O.scheme=ie.scheme,O.path=ie.path.slice(),O.query=ie.query,O.fragment="",O.cannotBeABaseURL=!0,ce=bn;break}ce=ie.scheme=="file"?rt:ue;continue;case Yn:if(ae=="/"&&Ht[Oe+1]=="/")ce=Ie,Oe++;else{ce=ue;continue}break;case q:if(ae=="/"){ce=Ue;break}else{ce=Vt;continue}case ue:if(O.scheme=ie.scheme,ae==w)O.username=ie.username,O.password=ie.password,O.host=ie.host,O.port=ie.port,O.path=ie.path.slice(),O.query=ie.query;else if(ae=="/"||ae=="\\"&&G(O))ce=fe;else if(ae=="?")O.username=ie.username,O.password=ie.password,O.host=ie.host,O.port=ie.port,O.path=ie.path.slice(),O.query="",ce=$t;else if(ae=="#")O.username=ie.username,O.password=ie.password,O.host=ie.host,O.port=ie.port,O.path=ie.path.slice(),O.query=ie.query,O.fragment="",ce=bn;else{O.username=ie.username,O.password=ie.password,O.host=ie.host,O.port=ie.port,O.path=ie.path.slice(),O.path.pop(),ce=Vt;continue}break;case fe:if(G(O)&&(ae=="/"||ae=="\\"))ce=Ie;else if(ae=="/")ce=Ue;else{O.username=ie.username,O.password=ie.password,O.host=ie.host,O.port=ie.port,ce=Vt;continue}break;case Te:if(ce=Ie,ae!="/"||be.charAt(Oe+1)!="/")continue;Oe++;break;case Ie:if(ae!="/"&&ae!="\\"){ce=Ue;continue}break;case Ue:if(ae=="@"){Ve&&(be="%40"+be),Ve=!0,qe=A(be);for(var Jc=0;Jc<qe.length;Jc++){var K0=qe[Jc];if(K0==":"&&!Ye){Ye=!0;continue}var Q0=Q(K0,J);Ye?O.password+=Q0:O.username+=Q0}be=""}else if(ae==w||ae=="/"||ae=="?"||ae=="#"||ae=="\\"&&G(O)){if(Ve&&be=="")return V;Oe-=A(be).length+1,be="",ce=Ke}else be+=ae;break;case Ke:case gt:if(te&&O.scheme=="file"){ce=Jn;continue}else if(ae==":"&&!je){if(be=="")return Y;if(An=M(O,be),An)return An;if(be="",ce=vt,te==gt)return}else if(ae==w||ae=="/"||ae=="?"||ae=="#"||ae=="\\"&&G(O)){if(G(O)&&be=="")return Y;if(te&&be==""&&(re(O)||O.port!==null))return;if(An=M(O,be),An)return An;if(be="",ce=It,te)return;continue}else ae=="["?je=!0:ae=="]"&&(je=!1),be+=ae;break;case vt:if(de.test(ae))be+=ae;else if(ae==w||ae=="/"||ae=="?"||ae=="#"||ae=="\\"&&G(O)||te){if(be!=""){var Zc=parseInt(be,10);if(Zc>65535)return L;O.port=G(O)&&Zc===Z[O.scheme]?null:Zc,be=""}if(te)return;ce=It;continue}else return L;break;case rt:if(O.scheme="file",ae=="/"||ae=="\\")ce=cn;else if(ie&&ie.scheme=="file")if(ae==w)O.host=ie.host,O.path=ie.path.slice(),O.query=ie.query;else if(ae=="?")O.host=ie.host,O.path=ie.path.slice(),O.query="",ce=$t;else if(ae=="#")O.host=ie.host,O.path=ie.path.slice(),O.query=ie.query,O.fragment="",ce=bn;else{Ne(Ht.slice(Oe).join(""))||(O.host=ie.host,O.path=ie.path.slice(),ze(O)),ce=Vt;continue}else{ce=Vt;continue}break;case cn:if(ae=="/"||ae=="\\"){ce=Jn;break}ie&&ie.scheme=="file"&&!Ne(Ht.slice(Oe).join(""))&&(we(ie.path[0],!0)?O.path.push(ie.path[0]):O.host=ie.host),ce=Vt;continue;case Jn:if(ae==w||ae=="/"||ae=="\\"||ae=="?"||ae=="#"){if(!te&&we(be))ce=Vt;else if(be==""){if(O.host="",te)return;ce=It}else{if(An=M(O,be),An)return An;if(O.host=="localhost"&&(O.host=""),te)return;be="",ce=It}continue}else be+=ae;break;case It:if(G(O)){if(ce=Vt,ae!="/"&&ae!="\\")continue}else if(!te&&ae=="?")O.query="",ce=$t;else if(!te&&ae=="#")O.fragment="",ce=bn;else if(ae!=w&&(ce=Vt,ae!="/"))continue;break;case Vt:if(ae==w||ae=="/"||ae=="\\"&&G(O)||!te&&(ae=="?"||ae=="#")){if(De(be)?(ze(O),ae!="/"&&!(ae=="\\"&&G(O))&&O.path.push("")):$e(be)?ae!="/"&&!(ae=="\\"&&G(O))&&O.path.push(""):(O.scheme=="file"&&!O.path.length&&we(be)&&(O.host&&(O.host=""),be=be.charAt(0)+":"),O.path.push(be)),be="",O.scheme=="file"&&(ae==w||ae=="?"||ae=="#"))for(;O.path.length>1&&O.path[0]==="";)O.path.shift();ae=="?"?(O.query="",ce=$t):ae=="#"&&(O.fragment="",ce=bn)}else be+=Q(ae,K);break;case mo:ae=="?"?(O.query="",ce=$t):ae=="#"?(O.fragment="",ce=bn):ae!=w&&(O.path[0]+=Q(ae,B));break;case $t:!te&&ae=="#"?(O.fragment="",ce=bn):ae!=w&&(ae=="'"&&G(O)?O.query+="%27":ae=="#"?O.query+="%23":O.query+=Q(ae,B));break;case bn:ae!=w&&(O.fragment+=Q(ae,P));break}Oe++}},kr=function(oe){var te=g(this,kr,"URL"),ie=arguments.length>1?arguments[1]:void 0,ce=String(oe),Oe=D(te,{type:"URL"}),be,Ve;if(ie!==void 0){if(ie instanceof kr)be=z(ie);else if(Ve=dn(be={},String(ie)),Ve)throw TypeError(Ve)}if(Ve=dn(Oe,ce,null,be),Ve)throw TypeError(Ve);var je=Oe.searchParams=new U,Ye=R(je);Ye.updateSearchParams(Oe.query),Ye.updateURL=function(){Oe.query=String(je)||null},u||(te.href=da.call(te),te.origin=L0.call(te),te.protocol=D0.call(te),te.username=B0.call(te),te.password=R0.call(te),te.host=P0.call(te),te.hostname=F0.call(te),te.port=V0.call(te),te.pathname=$0.call(te),te.search=z0.call(te),te.searchParams=H0.call(te),te.hash=U0.call(te))},Yc=kr.prototype,da=function(){var O=z(this),oe=O.scheme,te=O.username,ie=O.password,ce=O.host,Oe=O.port,be=O.path,Ve=O.query,je=O.fragment,Ye=oe+":";return ce!==null?(Ye+="//",re(O)&&(Ye+=te+(ie?":"+ie:"")+"@"),Ye+=N(ce),Oe!==null&&(Ye+=":"+Oe)):oe=="file"&&(Ye+="//"),Ye+=O.cannotBeABaseURL?be[0]:be.length?"/"+be.join("/"):"",Ve!==null&&(Ye+="?"+Ve),je!==null&&(Ye+="#"+je),Ye},L0=function(){var O=z(this),oe=O.scheme,te=O.port;if(oe=="blob")try{return new URL(oe.path[0]).origin}catch{return"null"}return oe=="file"||!G(O)?"null":oe+"://"+N(O.host)+(te!==null?":"+te:"")},D0=function(){return z(this).scheme+":"},B0=function(){return z(this).username},R0=function(){return z(this).password},P0=function(){var O=z(this),oe=O.host,te=O.port;return oe===null?"":te===null?N(oe):N(oe)+":"+te},F0=function(){var O=z(this).host;return O===null?"":N(O)},V0=function(){var O=z(this).port;return O===null?"":String(O)},$0=function(){var O=z(this),oe=O.path;return O.cannotBeABaseURL?oe[0]:oe.length?"/"+oe.join("/"):""},z0=function(){var O=z(this).query;return O?"?"+O:""},H0=function(){return z(this).searchParams},U0=function(){var O=z(this).fragment;return O?"#"+O:""},zt=function(O,oe){return{get:O,set:oe,configurable:!0,enumerable:!0}};if(u&&p(Yc,{href:zt(da,function(O){var oe=z(this),te=String(O),ie=dn(oe,te);if(ie)throw TypeError(ie);R(oe.searchParams).updateSearchParams(oe.query)}),origin:zt(L0),protocol:zt(D0,function(O){var oe=z(this);dn(oe,String(O)+":",Ze)}),username:zt(B0,function(O){var oe=z(this),te=A(String(O));if(!he(oe)){oe.username="";for(var ie=0;ie<te.length;ie++)oe.username+=Q(te[ie],J)}}),password:zt(R0,function(O){var oe=z(this),te=A(String(O));if(!he(oe)){oe.password="";for(var ie=0;ie<te.length;ie++)oe.password+=Q(te[ie],J)}}),host:zt(P0,function(O){var oe=z(this);oe.cannotBeABaseURL||dn(oe,String(O),Ke)}),hostname:zt(F0,function(O){var oe=z(this);oe.cannotBeABaseURL||dn(oe,String(O),gt)}),port:zt(V0,function(O){var oe=z(this);he(oe)||(O=String(O),O==""?oe.port=null:dn(oe,O,vt))}),pathname:zt($0,function(O){var oe=z(this);oe.cannotBeABaseURL||(oe.path=[],dn(oe,O+"",It))}),search:zt(z0,function(O){var oe=z(this);O=String(O),O==""?oe.query=null:(O.charAt(0)=="?"&&(O=O.slice(1)),oe.query="",dn(oe,O,$t)),R(oe.searchParams).updateSearchParams(oe.query)}),searchParams:zt(H0),hash:zt(U0,function(O){var oe=z(this);if(O=String(O),O==""){oe.fragment=null;return}O.charAt(0)=="#"&&(O=O.slice(1)),oe.fragment="",dn(oe,O,bn)})}),m(Yc,"toJSON",function(){return da.call(this)},{enumerable:!0}),m(Yc,"toString",function(){return da.call(this)},{enumerable:!0}),H){var j0=H.createObjectURL,W0=H.revokeObjectURL;j0&&m(kr,"createObjectURL",function(oe){return j0.apply(H,arguments)}),W0&&m(kr,"revokeObjectURL",function(oe){return W0.apply(H,arguments)})}T(kr,"URL"),d({global:!0,forced:!f,sham:!u},{URL:kr})}},r={};function o(s){if(r[s])return r[s].exports;var l=r[s]={exports:{}};return t[s](l,l.exports,o),l.exports}(function(){o.d=function(s,l){for(var a in l)o.o(l,a)&&!o.o(s,a)&&Object.defineProperty(s,a,{enumerable:!0,get:l[a]})}})(),function(){o.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}()}(),function(){o.o=function(s,l){return Object.prototype.hasOwnProperty.call(s,l)}}(),function(){o.r=function(s){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(s,"__esModule",{value:!0})}}();var i={};return function(){o.r(i),o.d(i,{Dropzone:function(){return L},default:function(){return Ce}}),o(2222),o(7327),o(2772),o(6992),o(1249),o(7042),o(561),o(8264),o(8309),o(489),o(1539),o(4916),o(9714),o(8783),o(4723),o(5306),o(3123),o(3210),o(2472),o(2990),o(8927),o(3105),o(5035),o(4345),o(7174),o(2846),o(4731),o(7209),o(6319),o(8867),o(7789),o(3739),o(9368),o(4483),o(2056),o(3462),o(678),o(7462),o(3824),o(5021),o(2974),o(5016),o(4747),o(3948),o(285);function s(x,I){var w;if(typeof Symbol>"u"||x[Symbol.iterator]==null){if(Array.isArray(x)||(w=l(x))||I&&x&&typeof x.length=="number"){w&&(x=w);var M=0,C=function(){};return{s:C,n:function(){return M>=x.length?{done:!0}:{done:!1,value:x[M++]}},e:function(P){throw P},f:C}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
58
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var E=!0,_=!1,N;return{s:function(){
|
|
59
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var E=!0,_=!1,N;return{s:function(){
|
|
60
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var E=!0,_=!1,N;return{s:function(){w=x[Symbol.iterator]()},n:function(){var P=w.next();return E=P.done,P},e:function(P){_=!0,N=P},f:function(){try{!E&&w.return!=null&&w.return()}finally{if(_)throw N}}}}function k(x,I){if(x){if(typeof x=="string")return $(x,I);var w=Object.prototype.toString.call(x).slice(8,-1);if(w==="Object"&&x.constructor&&(w=x.constructor.name),w==="Map"||w==="Set")return Array.from(x);if(w==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(w))return $(x,I)}}function $(x,I){(I==null||I>x.length)&&(I=x.length);for(var w=0,M=new Array(I);w<I;w++)M[w]=x[w];return M}function H(x,I){if(!(x instanceof I))throw new TypeError("Cannot call a class as a function")}function U(x,I){for(var w=0;w<I.length;w++){var M=I[w];M.enumerable=M.enumerable||!1,M.configurable=!0,"value"in M&&(M.writable=!0),Object.defineProperty(x,M.key,M)}}function R(x,I,w){return I&&U(x.prototype,I),w&&U(x,w),x}function D(x,I){if(typeof I!="function"&&I!==null)throw new TypeError("Super expression must either be null or a function");x.prototype=Object.create(I&&I.prototype,{constructor:{value:x,writable:!0,configurable:!0}}),I&&z(x,I)}function z(x,I){return z=Object.setPrototypeOf||function(M,C){return M.__proto__=C,M},z(x,I)}function W(x){var I=F();return function(){var M=Y(x),C;if(I){var E=Y(this).constructor;C=Reflect.construct(M,arguments,E)}else C=M.apply(this,arguments);return j(this,C)}}function j(x,I){return I&&(y(I)==="object"||typeof I=="function")?I:V(x)}function V(x){if(x===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return x}function F(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function Y(x){return Y=Object.setPrototypeOf?Object.getPrototypeOf:function(w){return w.__proto__||Object.getPrototypeOf(w)},Y(x)}var L=function(x){D(w,x);var I=W(w);function w(M,C){var E;H(this,w),E=I.call(this);var _,N;if(E.element=M,E.version=w.version,E.clickableElements=[],E.listeners=[],E.files=[],typeof E.element=="string"&&(E.element=document.querySelector(E.element)),!E.element||E.element.nodeType==null)throw new Error("Invalid dropzone element.");if(E.element.dropzone)throw new Error("Dropzone already attached.");w.instances.push(V(E)),E.element.dropzone=V(E);var B=(N=w.optionsForElement(E.element))!=null?N:{};if(E.options=w.extend({},S,B,C??{}),E.options.previewTemplate=E.options.previewTemplate.replace(/\n*/g,""),E.options.forceFallback||!w.isBrowserSupported())return j(E,E.options.fallback.call(V(E)));if(E.options.url==null&&(E.options.url=E.element.getAttribute("action")),!E.options.url)throw new Error("No URL provided.");if(E.options.acceptedFiles&&E.options.acceptedMimeTypes)throw new Error("You can't provide both 'acceptedFiles' and 'acceptedMimeTypes'. 'acceptedMimeTypes' is deprecated.");if(E.options.uploadMultiple&&E.options.chunking)throw new Error("You cannot set both: uploadMultiple and chunking.");return E.options.acceptedMimeTypes&&(E.options.acceptedFiles=E.options.acceptedMimeTypes,delete E.options.acceptedMimeTypes),E.options.renameFilename!=null&&(E.options.renameFile=function(P){return E.options.renameFilename.call(V(E),P.name,P)}),typeof E.options.method=="string"&&(E.options.method=E.options.method.toUpperCase()),(_=E.getExistingFallback())&&_.parentNode&&_.parentNode.removeChild(_),E.options.previewsContainer!==!1&&(E.options.previewsContainer?E.previewsContainer=w.getElement(E.options.previewsContainer,"previewsContainer"):E.previewsContainer=E.element),E.options.clickable&&(E.options.clickable===!0?E.clickableElements=[E.element]:E.clickableElements=w.getElements(E.options.clickable,"clickable")),E.init(),E}return R(w,[{key:"getAcceptedFiles",value:function(){return this.files.filter(function(C){return C.accepted}).map(function(C){return C})}},{key:"getRejectedFiles",value:function(){return this.files.filter(function(C){return!C.accepted}).map(function(C){return C})}},{key:"getFilesWithStatus",value:function(C){return this.files.filter(function(E){return E.status===C}).map(function(E){return E})}},{key:"getQueuedFiles",value:function(){return this.getFilesWithStatus(w.QUEUED)}},{key:"getUploadingFiles",value:function(){return this.getFilesWithStatus(w.UPLOADING)}},{key:"getAddedFiles",value:function(){return this.getFilesWithStatus(w.ADDED)}},{key:"getActiveFiles",value:function(){return this.files.filter(function(C){return C.status===w.UPLOADING||C.status===w.QUEUED}).map(function(C){return C})}},{key:"init",value:function(){var C=this;if(this.element.tagName==="form"&&this.element.setAttribute("enctype","multipart/form-data"),this.element.classList.contains("dropzone")&&!this.element.querySelector(".dz-message")&&this.element.appendChild(w.createElement('<div class="dz-default dz-message"><button class="dz-button" type="button">'.concat(this.options.dictDefaultMessage,"</button></div>"))),this.clickableElements.length){var E=function J(){C.hiddenFileInput&&C.hiddenFileInput.parentNode.removeChild(C.hiddenFileInput),C.hiddenFileInput=document.createElement("input"),C.hiddenFileInput.setAttribute("type","file"),(C.options.maxFiles===null||C.options.maxFiles>1)&&C.hiddenFileInput.setAttribute("multiple","multiple"),C.hiddenFileInput.className="dz-hidden-input",C.options.acceptedFiles!==null&&C.hiddenFileInput.setAttribute("accept",C.options.acceptedFiles),C.options.capture!==null&&C.hiddenFileInput.setAttribute("capture",C.options.capture),C.hiddenFileInput.setAttribute("tabindex","-1"),C.hiddenFileInput.style.visibility="hidden",C.hiddenFileInput.style.position="absolute",C.hiddenFileInput.style.top="0",C.hiddenFileInput.style.left="0",C.hiddenFileInput.style.height="0",C.hiddenFileInput.style.width="0",w.getElement(C.options.hiddenInputContainer,"hiddenInputContainer").appendChild(C.hiddenFileInput),C.hiddenFileInput.addEventListener("change",function(){var Q=C.hiddenFileInput.files;if(Q.length){var Z=T(Q,!0),G;try{for(Z.s();!(G=Z.n()).done;){var re=G.value;C.addFile(re)}}catch(he){Z.e(he)}finally{Z.f()}}C.emit("addedfiles",Q),J()})};E()}this.URL=window.URL!==null?window.URL:window.webkitURL;var _=T(this.events,!0),N;try{for(_.s();!(N=_.n()).done;){var B=N.value;this.on(B,this.options[B])}}catch(J){_.e(J)}finally{_.f()}this.on("uploadprogress",function(){return C.updateTotalUploadProgress()}),this.on("removedfile",function(){return C.updateTotalUploadProgress()}),this.on("canceled",function(J){return C.emit("complete",J)}),this.on("complete",function(J){if(C.getAddedFiles().length===0&&C.getUploadingFiles().length===0&&C.getQueuedFiles().length===0)return setTimeout(function(){return C.emit("queuecomplete")},0)});var P=function(Q){if(Q.dataTransfer.types){for(var Z=0;Z<Q.dataTransfer.types.length;Z++)if(Q.dataTransfer.types[Z]==="Files")return!0}return!1},K=function(Q){if(P(Q))return Q.stopPropagation(),Q.preventDefault?Q.preventDefault():Q.returnValue=!1};return this.listeners=[{element:this.element,events:{dragstart:function(Q){return C.emit("dragstart",Q)},dragenter:function(Q){return K(Q),C.emit("dragenter",Q)},dragover:function(Q){var Z;try{Z=Q.dataTransfer.effectAllowed}catch{}return Q.dataTransfer.dropEffect=Z==="move"||Z==="linkMove"?"move":"copy",K(Q),C.emit("dragover",Q)},dragleave:function(Q){return C.emit("dragleave",Q)},drop:function(Q){return K(Q),C.drop(Q)},dragend:function(Q){return C.emit("dragend",Q)}}}],this.clickableElements.forEach(function(J){return C.listeners.push({element:J,events:{click:function(Z){return(J!==C.element||Z.target===C.element||w.elementInside(Z.target,C.element.querySelector(".dz-message")))&&C.hiddenFileInput.click(),!0}}})}),this.enable(),this.options.init.call(this)}},{key:"destroy",value:function(){return this.disable(),this.removeAllFiles(!0),this.hiddenFileInput!=null&&this.hiddenFileInput.parentNode&&(this.hiddenFileInput.parentNode.removeChild(this.hiddenFileInput),this.hiddenFileInput=null),delete this.element.dropzone,w.instances.splice(w.instances.indexOf(this),1)}},{key:"updateTotalUploadProgress",value:function(){var C,E=0,_=0,N=this.getActiveFiles();if(N.length){var B=T(this.getActiveFiles(),!0),P;try{for(B.s();!(P=B.n()).done;){var K=P.value;E+=K.upload.bytesSent,_+=K.upload.total}}catch(J){B.e(J)}finally{B.f()}C=100*E/_}else C=100;return this.emit("totaluploadprogress",C,_,E)}},{key:"_getParamName",value:function(C){return typeof this.options.paramName=="function"?this.options.paramName(C):"".concat(this.options.paramName).concat(this.options.uploadMultiple?"[".concat(C,"]"):"")}},{key:"_renameFile",value:function(C){return typeof this.options.renameFile!="function"?C.name:this.options.renameFile(C)}},{key:"getFallbackForm",value:function(){var C,E;if(C=this.getExistingFallback())return C;var _='<div class="dz-fallback">';this.options.dictFallbackText&&(_+="<p>".concat(this.options.dictFallbackText,"</p>")),_+='<input type="file" name="'.concat(this._getParamName(0),'" ').concat(this.options.uploadMultiple?'multiple="multiple"':void 0,' /><input type="submit" value="Upload!"></div>');var N=w.createElement(_);return this.element.tagName!=="FORM"?(E=w.createElement('<form action="'.concat(this.options.url,'" enctype="multipart/form-data" method="').concat(this.options.method,'"></form>')),E.appendChild(N)):(this.element.setAttribute("enctype","multipart/form-data"),this.element.setAttribute("method",this.options.method)),E??N}},{key:"getExistingFallback",value:function(){for(var C=function(K){var J=T(K,!0),Q;try{for(J.s();!(Q=J.n()).done;){var Z=Q.value;if(/(^| )fallback($| )/.test(Z.className))return Z}}catch(G){J.e(G)}finally{J.f()}},E=0,_=["div","form"];E<_.length;E++){var N=_[E],B;if(B=C(this.element.getElementsByTagName(N)))return B}}},{key:"setupEventListeners",value:function(){return this.listeners.map(function(C){return function(){var E=[];for(var _ in C.events){var N=C.events[_];E.push(C.element.addEventListener(_,N,!1))}return E}()})}},{key:"removeEventListeners",value:function(){return this.listeners.map(function(C){return function(){var E=[];for(var _ in C.events){var N=C.events[_];E.push(C.element.removeEventListener(_,N,!1))}return E}()})}},{key:"disable",value:function(){var C=this;return this.clickableElements.forEach(function(E){return E.classList.remove("dz-clickable")}),this.removeEventListeners(),this.disabled=!0,this.files.map(function(E){return C.cancelUpload(E)})}},{key:"enable",value:function(){return delete this.disabled,this.clickableElements.forEach(function(C){return C.classList.add("dz-clickable")}),this.setupEventListeners()}},{key:"filesize",value:function(C){var E=0,_="b";if(C>0){for(var N=["tb","gb","mb","kb","b"],B=0;B<N.length;B++){var P=N[B],K=Math.pow(this.options.filesizeBase,4-B)/10;if(C>=K){E=C/Math.pow(this.options.filesizeBase,4-B),_=P;break}}E=Math.round(10*E)/10}return"<strong>".concat(E,"</strong> ").concat(this.options.dictFileSizeUnits[_])}},{key:"_updateMaxFilesReachedClass",value:function(){return this.options.maxFiles!=null&&this.getAcceptedFiles().length>=this.options.maxFiles?(this.getAcceptedFiles().length===this.options.maxFiles&&this.emit("maxfilesreached",this.files),this.element.classList.add("dz-max-files-reached")):this.element.classList.remove("dz-max-files-reached")}},{key:"drop",value:function(C){if(C.dataTransfer){this.emit("drop",C);for(var E=[],_=0;_<C.dataTransfer.files.length;_++)E[_]=C.dataTransfer.files[_];if(E.length){var N=C.dataTransfer.items;N&&N.length&&N[0].webkitGetAsEntry!=null?this._addFilesFromItems(N):this.handleFiles(E)}this.emit("addedfiles",E)}}},{key:"paste",value:function(C){if(Se(C!=null?C.clipboardData:void 0,function(_){return _.items})!=null){this.emit("paste",C);var E=C.clipboardData.items;if(E.length)return this._addFilesFromItems(E)}}},{key:"handleFiles",value:function(C){var E=T(C,!0),_;try{for(E.s();!(_=E.n()).done;){var N=_.value;this.addFile(N)}}catch(B){E.e(B)}finally{E.f()}}},{key:"_addFilesFromItems",value:function(C){var E=this;return function(){var _=[],N=T(C,!0),B;try{for(N.s();!(B=N.n()).done;){var P=B.value,K;P.webkitGetAsEntry!=null&&(K=P.webkitGetAsEntry())?K.isFile?_.push(E.addFile(P.getAsFile())):K.isDirectory?_.push(E._addFilesFromDirectory(K,K.name)):_.push(void 0):P.getAsFile!=null&&(P.kind==null||P.kind==="file")?_.push(E.addFile(P.getAsFile())):_.push(void 0)}}catch(J){N.e(J)}finally{N.f()}return _}()}},{key:"_addFilesFromDirectory",value:function(C,E){var _=this,N=C.createReader(),B=function(J){return xe(console,"log",function(Q){return Q.log(J)})},P=function K(){return N.readEntries(function(J){if(J.length>0){var Q=T(J,!0),Z;try{for(Q.s();!(Z=Q.n()).done;){var G=Z.value;G.isFile?G.file(function(re){if(!(_.options.ignoreHiddenFiles&&re.name.substring(0,1)==="."))return re.fullPath="".concat(E,"/").concat(re.name),_.addFile(re)}):G.isDirectory&&_._addFilesFromDirectory(G,"".concat(E,"/").concat(G.name))}}catch(re){Q.e(re)}finally{Q.f()}K()}return null},B)};return P()}},{key:"accept",value:function(C,E){this.options.maxFilesize&&C.size>this.options.maxFilesize*1024*1024?E(this.options.dictFileTooBig.replace("{{filesize}}",Math.round(C.size/1024/10.24)/100).replace("{{maxFilesize}}",this.options.maxFilesize)):w.isValidFile(C,this.options.acceptedFiles)?this.options.maxFiles!=null&&this.getAcceptedFiles().length>=this.options.maxFiles?(E(this.options.dictMaxFilesExceeded.replace("{{maxFiles}}",this.options.maxFiles)),this.emit("maxfilesexceeded",C)):this.options.accept.call(this,C,E):E(this.options.dictInvalidFileType)}},{key:"addFile",value:function(C){var E=this;C.upload={uuid:w.uuidv4(),progress:0,total:C.size,bytesSent:0,filename:this._renameFile(C)},this.files.push(C),C.status=w.ADDED,this.emit("addedfile",C),this._enqueueThumbnail(C),this.accept(C,function(_){_?(C.accepted=!1,E._errorProcessing([C],_)):(C.accepted=!0,E.options.autoQueue&&E.enqueueFile(C)),E._updateMaxFilesReachedClass()})}},{key:"enqueueFiles",value:function(C){var E=T(C,!0),_;try{for(E.s();!(_=E.n()).done;){var N=_.value;this.enqueueFile(N)}}catch(B){E.e(B)}finally{E.f()}return null}},{key:"enqueueFile",value:function(C){var E=this;if(C.status===w.ADDED&&C.accepted===!0){if(C.status=w.QUEUED,this.options.autoProcessQueue)return setTimeout(function(){return E.processQueue()},0)}else throw new Error("This file can't be queued because it has already been processed or was rejected.")}},{key:"_enqueueThumbnail",value:function(C){var E=this;if(this.options.createImageThumbnails&&C.type.match(/image.*/)&&C.size<=this.options.maxThumbnailFilesize*1024*1024)return this._thumbnailQueue.push(C),setTimeout(function(){return E._processThumbnailQueue()},0)}},{key:"_processThumbnailQueue",value:function(){var C=this;if(!(this._processingThumbnail||this._thumbnailQueue.length===0)){this._processingThumbnail=!0;var E=this._thumbnailQueue.shift();return this.createThumbnail(E,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,!0,function(_){return C.emit("thumbnail",E,_),C._processingThumbnail=!1,C._processThumbnailQueue()})}}},{key:"removeFile",value:function(C){if(C.status===w.UPLOADING&&this.cancelUpload(C),this.files=X(this.files,C),this.emit("removedfile",C),this.files.length===0)return this.emit("reset")}},{key:"removeAllFiles",value:function(C){C==null&&(C=!1);var E=T(this.files.slice(),!0),_;try{for(E.s();!(_=E.n()).done;){var N=_.value;(N.status!==w.UPLOADING||C)&&this.removeFile(N)}}catch(B){E.e(B)}finally{E.f()}return null}},{key:"resizeImage",value:function(C,E,_,N,B){var P=this;return this.createThumbnail(C,E,_,N,!0,function(K,J){if(J==null)return B(C);var Q=P.options.resizeMimeType;Q==null&&(Q=C.type);var Z=J.toDataURL(Q,P.options.resizeQuality);return(Q==="image/jpeg"||Q==="image/jpg")&&(Z=ve.restore(C.dataURL,Z)),B(w.dataURItoBlob(Z))})}},{key:"createThumbnail",value:function(C,E,_,N,B,P){var K=this,J=new FileReader;J.onload=function(){if(C.dataURL=J.result,C.type==="image/svg+xml"){P!=null&&P(J.result);return}K.createThumbnailFromUrl(C,E,_,N,B,P)},J.readAsDataURL(C)}},{key:"displayExistingFile",value:function(C,E,_,N){var B=this,P=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0;if(this.emit("addedfile",C),this.emit("complete",C),!P)this.emit("thumbnail",C,E),_&&_();else{var K=function(Q){B.emit("thumbnail",C,Q),_&&_()};C.dataURL=E,this.createThumbnailFromUrl(C,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,this.options.fixOrientation,K,N)}}},{key:"createThumbnailFromUrl",value:function(C,E,_,N,B,P,K){var J=this,Q=document.createElement("img");return K&&(Q.crossOrigin=K),B=getComputedStyle(document.body).imageOrientation=="from-image"?!1:B,Q.onload=function(){var Z=function(re){return re(1)};return typeof EXIF<"u"&&EXIF!==null&&B&&(Z=function(re){return EXIF.getData(Q,function(){return re(EXIF.getTag(this,"Orientation"))})}),Z(function(G){C.width=Q.width,C.height=Q.height;var re=J.options.resize.call(J,C,E,_,N),he=document.createElement("canvas"),we=he.getContext("2d");switch(he.width=re.trgWidth,he.height=re.trgHeight,G>4&&(he.width=re.trgHeight,he.height=re.trgWidth),G){case 2:we.translate(he.width,0),we.scale(-1,1);break;case 3:we.translate(he.width,he.height),we.rotate(Math.PI);break;case 4:we.translate(0,he.height),we.scale(1,-1);break;case 5:we.rotate(.5*Math.PI),we.scale(1,-1);break;case 6:we.rotate(.5*Math.PI),we.translate(0,-he.width);break;case 7:we.rotate(.5*Math.PI),we.translate(he.height,-he.width),we.scale(-1,1);break;case 8:we.rotate(-.5*Math.PI),we.translate(-he.height,0);break}ge(we,Q,re.srcX!=null?re.srcX:0,re.srcY!=null?re.srcY:0,re.srcWidth,re.srcHeight,re.trgX!=null?re.trgX:0,re.trgY!=null?re.trgY:0,re.trgWidth,re.trgHeight);var Ne=he.toDataURL("image/png");if(P!=null)return P(Ne,he)})},P!=null&&(Q.onerror=P),Q.src=C.dataURL}},{key:"processQueue",value:function(){var C=this.options.parallelUploads,E=this.getUploadingFiles().length,_=E;if(!(E>=C)){var N=this.getQueuedFiles();if(N.length>0){if(this.options.uploadMultiple)return this.processFiles(N.slice(0,C-E));for(;_<C;){if(!N.length)return;this.processFile(N.shift()),_++}}}}},{key:"processFile",value:function(C){return this.processFiles([C])}},{key:"processFiles",value:function(C){var E=T(C,!0),_;try{for(E.s();!(_=E.n()).done;){var N=_.value;N.processing=!0,N.status=w.UPLOADING,this.emit("processing",N)}}catch(B){E.e(B)}finally{E.f()}return this.options.uploadMultiple&&this.emit("processingmultiple",C),this.uploadFiles(C)}},{key:"_getFilesWithXhr",value:function(C){return this.files.filter(function(E){return E.xhr===C}).map(function(E){return E})}},{key:"cancelUpload",value:function(C){if(C.status===w.UPLOADING){var E=this._getFilesWithXhr(C.xhr),_=T(E,!0),N;try{for(_.s();!(N=_.n()).done;){var B=N.value;B.status=w.CANCELED}}catch(Q){_.e(Q)}finally{_.f()}typeof C.xhr<"u"&&C.xhr.abort();var P=T(E,!0),K;try{for(P.s();!(K=P.n()).done;){var J=K.value;this.emit("canceled",J)}}catch(Q){P.e(Q)}finally{P.f()}this.options.uploadMultiple&&this.emit("canceledmultiple",E)}else(C.status===w.ADDED||C.status===w.QUEUED)&&(C.status=w.CANCELED,this.emit("canceled",C),this.options.uploadMultiple&&this.emit("canceledmultiple",[C]));if(this.options.autoProcessQueue)return this.processQueue()}},{key:"resolveOption",value:function(C){if(typeof C=="function"){for(var E=arguments.length,_=new Array(E>1?E-1:0),N=1;N<E;N++)_[N-1]=arguments[N];return C.apply(this,_)}return C}},{key:"uploadFile",value:function(C){return this.uploadFiles([C])}},{key:"uploadFiles",value:function(C){var E=this;this._transformFiles(C,function(_){if(E.options.chunking){var N=_[0];C[0].upload.chunked=E.options.chunking&&(E.options.forceChunking||N.size>E.options.chunkSize),C[0].upload.totalChunkCount=Math.ceil(N.size/E.options.chunkSize)}if(C[0].upload.chunked){var B=C[0],P=_[0];B.upload.chunks=[];var K=function(){for(var re=0;B.upload.chunks[re]!==void 0;)re++;if(!(re>=B.upload.totalChunkCount)){var he=re*E.options.chunkSize,we=Math.min(he+E.options.chunkSize,P.size),Ne={name:E._getParamName(0),data:P.webkitSlice?P.webkitSlice(he,we):P.slice(he,we),filename:B.upload.filename,chunkIndex:re};B.upload.chunks[re]={file:B,index:re,dataBlock:Ne,status:w.UPLOADING,progress:0,retries:0},E._uploadData(C,[Ne])}};if(B.upload.finishedChunkUpload=function(G,re){var he=!0;G.status=w.SUCCESS,G.dataBlock=null,G.xhr=null;for(var we=0;we<B.upload.totalChunkCount;we++){if(B.upload.chunks[we]===void 0)return K();B.upload.chunks[we].status!==w.SUCCESS&&(he=!1)}he&&E.options.chunksUploaded(B,function(){E._finished(C,re,null)})},E.options.parallelChunkUploads)for(var J=0;J<B.upload.totalChunkCount;J++)K();else K()}else{for(var Q=[],Z=0;Z<C.length;Z++)Q[Z]={name:E._getParamName(Z),data:_[Z],filename:C[Z].upload.filename};E._uploadData(C,Q)}})}},{key:"_getChunk",value:function(C,E){for(var _=0;_<C.upload.totalChunkCount;_++)if(C.upload.chunks[_]!==void 0&&C.upload.chunks[_].xhr===E)return C.upload.chunks[_]}},{key:"_uploadData",value:function(C,E){var _=this,N=new XMLHttpRequest,B=T(C,!0),P;try{for(B.s();!(P=B.n()).done;){var K=P.value;K.xhr=N}}catch(fe){B.e(fe)}finally{B.f()}C[0].upload.chunked&&(C[0].upload.chunks[E[0].chunkIndex].xhr=N);var J=this.resolveOption(this.options.method,C),Q=this.resolveOption(this.options.url,C);N.open(J,Q,!0);var Z=this.resolveOption(this.options.timeout,C);Z&&(N.timeout=this.resolveOption(this.options.timeout,C)),N.withCredentials=!!this.options.withCredentials,N.onload=function(fe){_._finishedUploading(C,N,fe)},N.ontimeout=function(){_._handleUploadError(C,N,"Request timedout after ".concat(_.options.timeout/1e3," seconds"))},N.onerror=function(){_._handleUploadError(C,N)};var G=N.upload!=null?N.upload:N;G.onprogress=function(fe){return _._updateFilesUploadProgress(C,N,fe)};var re={Accept:"application/json","Cache-Control":"no-cache","X-Requested-With":"XMLHttpRequest"};this.options.headers&&w.extend(re,this.options.headers);for(var he in re){var we=re[he];we&&N.setRequestHeader(he,we)}var Ne=new FormData;if(this.options.params){var ze=this.options.params;typeof ze=="function"&&(ze=ze.call(this,C,N,C[0].upload.chunked?this._getChunk(C[0],N):null));for(var $e in ze){var De=ze[$e];if(Array.isArray(De))for(var Ze=0;Ze<De.length;Ze++)Ne.append($e,De[Ze]);else Ne.append($e,De)}}var At=T(C,!0),at;try{for(At.s();!(at=At.n()).done;){var Yn=at.value;this.emit("sending",Yn,N,Ne)}}catch(fe){At.e(fe)}finally{At.f()}this.options.uploadMultiple&&this.emit("sendingmultiple",C,N,Ne),this._addFormElementData(Ne);for(var q=0;q<E.length;q++){var ue=E[q];Ne.append(ue.name,ue.data,ue.filename)}this.submitRequest(N,Ne,C)}},{key:"_transformFiles",value:function(C,E){for(var _=this,N=[],B=0,P=function(Q){_.options.transformFile.call(_,C[Q],function(Z){N[Q]=Z,++B===C.length&&E(N)})},K=0;K<C.length;K++)P(K)}},{key:"_addFormElementData",value:function(C){if(this.element.tagName==="FORM"){var E=T(this.element.querySelectorAll("input, textarea, select, button"),!0),_;try{for(E.s();!(_=E.n()).done;){var N=_.value,B=N.getAttribute("name"),P=N.getAttribute("type");if(P&&(P=P.toLowerCase()),!(typeof B>"u"||B===null))if(N.tagName==="SELECT"&&N.hasAttribute("multiple")){var K=T(N.options,!0),J;try{for(K.s();!(J=K.n()).done;){var Q=J.value;Q.selected&&C.append(B,Q.value)}}catch(Z){K.e(Z)}finally{K.f()}}else(!P||P!=="checkbox"&&P!=="radio"||N.checked)&&C.append(B,N.value)}}catch(Z){E.e(Z)}finally{E.f()}}}},{key:"_updateFilesUploadProgress",value:function(C,E,_){if(C[0].upload.chunked){var K=C[0],J=this._getChunk(K,E);_?(J.progress=100*_.loaded/_.total,J.total=_.total,J.bytesSent=_.loaded):(J.progress=100,J.bytesSent=J.total),K.upload.progress=0,K.upload.total=0,K.upload.bytesSent=0;for(var Q=0;Q<K.upload.totalChunkCount;Q++)K.upload.chunks[Q]&&typeof K.upload.chunks[Q].progress<"u"&&(K.upload.progress+=K.upload.chunks[Q].progress,K.upload.total+=K.upload.chunks[Q].total,K.upload.bytesSent+=K.upload.chunks[Q].bytesSent);K.upload.progress=K.upload.progress/K.upload.totalChunkCount,this.emit("uploadprogress",K,K.upload.progress,K.upload.bytesSent)}else{var N=T(C,!0),B;try{for(N.s();!(B=N.n()).done;){var P=B.value;P.upload.total&&P.upload.bytesSent&&P.upload.bytesSent==P.upload.total||(_?(P.upload.progress=100*_.loaded/_.total,P.upload.total=_.total,P.upload.bytesSent=_.loaded):(P.upload.progress=100,P.upload.bytesSent=P.upload.total),this.emit("uploadprogress",P,P.upload.progress,P.upload.bytesSent))}}catch(Z){N.e(Z)}finally{N.f()}}}},{key:"_finishedUploading",value:function(C,E,_){var N;if(C[0].status!==w.CANCELED&&E.readyState===4){if(E.responseType!=="arraybuffer"&&E.responseType!=="blob"&&(N=E.responseText,E.getResponseHeader("content-type")&&~E.getResponseHeader("content-type").indexOf("application/json")))try{N=JSON.parse(N)}catch(B){_=B,N="Invalid JSON response from server."}this._updateFilesUploadProgress(C,E),200<=E.status&&E.status<300?C[0].upload.chunked?C[0].upload.finishedChunkUpload(this._getChunk(C[0],E),N):this._finished(C,N,_):this._handleUploadError(C,E,N)}}},{key:"_handleUploadError",value:function(C,E,_){if(C[0].status!==w.CANCELED){if(C[0].upload.chunked&&this.options.retryChunks){var N=this._getChunk(C[0],E);if(N.retries++<this.options.retryChunksLimit){this._uploadData(C,[N.dataBlock]);return}else console.warn("Retried this chunk too often. Giving up.")}this._errorProcessing(C,_||this.options.dictResponseError.replace("{{statusCode}}",E.status),E)}}},{key:"submitRequest",value:function(C,E,_){if(C.readyState!=1){console.warn("Cannot send this request because the XMLHttpRequest.readyState is not OPENED.");return}C.send(E)}},{key:"_finished",value:function(C,E,_){var N=T(C,!0),B;try{for(N.s();!(B=N.n()).done;){var P=B.value;P.status=w.SUCCESS,this.emit("success",P,E,_),this.emit("complete",P)}}catch(K){N.e(K)}finally{N.f()}if(this.options.uploadMultiple&&(this.emit("successmultiple",C,E,_),this.emit("completemultiple",C)),this.options.autoProcessQueue)return this.processQueue()}},{key:"_errorProcessing",value:function(C,E,_){var N=T(C,!0),B;try{for(N.s();!(B=N.n()).done;){var P=B.value;P.status=w.ERROR,this.emit("error",P,E,_),this.emit("complete",P)}}catch(K){N.e(K)}finally{N.f()}if(this.options.uploadMultiple&&(this.emit("errormultiple",C,E,_),this.emit("completemultiple",C)),this.options.autoProcessQueue)return this.processQueue()}}],[{key:"initClass",value:function(){this.prototype.Emitter=h,this.prototype.events=["drop","dragstart","dragend","dragenter","dragover","dragleave","addedfile","addedfiles","removedfile","thumbnail","error","errormultiple","processing","processingmultiple","uploadprogress","totaluploadprogress","sending","sendingmultiple","success","successmultiple","canceled","canceledmultiple","complete","completemultiple","reset","maxfilesexceeded","maxfilesreached","queuecomplete"],this.prototype._thumbnailQueue=[],this.prototype._processingThumbnail=!1}},{key:"extend",value:function(C){for(var E=arguments.length,_=new Array(E>1?E-1:0),N=1;N<E;N++)_[N-1]=arguments[N];for(var B=0,P=_;B<P.length;B++){var K=P[B];for(var J in K){var Q=K[J];C[J]=Q}}return C}},{key:"uuidv4",value:function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(C){var E=Math.random()*16|0,_=C==="x"?E:E&3|8;return _.toString(16)})}}]),w}(h);L.initClass(),L.version="5.9.3",L.options={},L.optionsForElement=function(x){if(x.getAttribute("id"))return L.options[ne(x.getAttribute("id"))]},L.instances=[],L.forElement=function(x){if(typeof x=="string"&&(x=document.querySelector(x)),(x!=null?x.dropzone:void 0)==null)throw new Error("No Dropzone found for given element. This is probably because you're trying to access it before Dropzone had the time to initialize. Use the `init` option to setup any additional observers on your Dropzone.");return x.dropzone},L.autoDiscover=!0,L.discover=function(){var x;if(document.querySelectorAll)x=document.querySelectorAll(".dropzone");else{x=[];var I=function(M){return function(){var C=[],E=T(M,!0),_;try{for(E.s();!(_=E.n()).done;){var N=_.value;/(^| )dropzone($| )/.test(N.className)?C.push(x.push(N)):C.push(void 0)}}catch(B){E.e(B)}finally{E.f()}return C}()};I(document.getElementsByTagName("div")),I(document.getElementsByTagName("form"))}return function(){var w=[],M=T(x,!0),C;try{for(M.s();!(C=M.n()).done;){var E=C.value;L.optionsForElement(E)!==!1?w.push(new L(E)):w.push(void 0)}}catch(_){M.e(_)}finally{M.f()}return w}()},L.blockedBrowsers=[/opera.*(Macintosh|Windows Phone).*version\/12/i],L.isBrowserSupported=function(){var x=!0;if(window.File&&window.FileReader&&window.FileList&&window.Blob&&window.FormData&&document.querySelector)if(!("classList"in document.createElement("a")))x=!1;else{L.blacklistedBrowsers!==void 0&&(L.blockedBrowsers=L.blacklistedBrowsers);var I=T(L.blockedBrowsers,!0),w;try{for(I.s();!(w=I.n()).done;){var M=w.value;if(M.test(navigator.userAgent)){x=!1;continue}}}catch(C){I.e(C)}finally{I.f()}}else x=!1;return x},L.dataURItoBlob=function(x){for(var I=atob(x.split(",")[1]),w=x.split(",")[0].split(":")[1].split(";")[0],M=new ArrayBuffer(I.length),C=new Uint8Array(M),E=0,_=I.length,N=0<=_;N?E<=_:E>=_;N?E++:E--)C[E]=I.charCodeAt(E);return new Blob([M],{type:w})};var X=function(I,w){return I.filter(function(M){return M!==w}).map(function(M){return M})},ne=function(I){return I.replace(/[\-_](\w)/g,function(w){return w.charAt(1).toUpperCase()})};L.createElement=function(x){var I=document.createElement("div");return I.innerHTML=x,I.childNodes[0]},L.elementInside=function(x,I){if(x===I)return!0;for(;x=x.parentNode;)if(x===I)return!0;return!1},L.getElement=function(x,I){var w;if(typeof x=="string"?w=document.querySelector(x):x.nodeType!=null&&(w=x),w==null)throw new Error("Invalid `".concat(I,"` option provided. Please provide a CSS selector or a plain HTML element."));return w},L.getElements=function(x,I){var w,M;if(x instanceof Array){M=[];try{var C=T(x,!0),E;try{for(C.s();!(E=C.n()).done;)w=E.value,M.push(this.getElement(w,I))}catch(B){C.e(B)}finally{C.f()}}catch{M=null}}else if(typeof x=="string"){M=[];var _=T(document.querySelectorAll(x),!0),N;try{for(_.s();!(N=_.n()).done;)w=N.value,M.push(w)}catch(B){_.e(B)}finally{_.f()}}else x.nodeType!=null&&(M=[x]);if(M==null||!M.length)throw new Error("Invalid `".concat(I,"` option provided. Please provide a CSS selector, a plain HTML element or a list of those."));return M},L.confirm=function(x,I,w){if(window.confirm(x))return I();if(w!=null)return w()},L.isValidFile=function(x,I){if(!I)return!0;I=I.split(",");var w=x.type,M=w.replace(/\/.*$/,""),C=T(I,!0),E;try{for(C.s();!(E=C.n()).done;){var _=E.value;if(_=_.trim(),_.charAt(0)==="."){if(x.name.toLowerCase().indexOf(_.toLowerCase(),x.name.length-_.length)!==-1)return!0}else if(/\/\*$/.test(_)){if(M===_.replace(/\/.*$/,""))return!0}else if(w===_)return!0}}catch(N){C.e(N)}finally{C.f()}return!1},typeof jQuery<"u"&&jQuery!==null&&(jQuery.fn.dropzone=function(x){return this.each(function(){return new L(this,x)})}),L.ADDED="added",L.QUEUED="queued",L.ACCEPTED=L.QUEUED,L.UPLOADING="uploading",L.PROCESSING=L.UPLOADING,L.CANCELED="canceled",L.ERROR="error",L.SUCCESS="success";var de=function(I){I.naturalWidth;var w=I.naturalHeight,M=document.createElement("canvas");M.width=1,M.height=w;var C=M.getContext("2d");C.drawImage(I,0,0);for(var E=C.getImageData(1,0,1,w),_=E.data,N=0,B=w,P=w;P>N;){var K=_[(P-1)*4+3];K===0?B=P:N=P,P=B+N>>1}var J=P/w;return J===0?1:J},ge=function(I,w,M,C,E,_,N,B,P,K){var J=de(w);return I.drawImage(w,M,C,E,_,N,B,P,K/J)},ve=function(){function x(){H(this,x)}return R(x,null,[{key:"initClass",value:function(){this.KEY_STR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}},{key:"encode64",value:function(w){for(var M="",C=void 0,E=void 0,_="",N=void 0,B=void 0,P=void 0,K="",J=0;C=w[J++],E=w[J++],_=w[J++],N=C>>2,B=(C&3)<<4|E>>4,P=(E&15)<<2|_>>6,K=_&63,isNaN(E)?P=K=64:isNaN(_)&&(K=64),M=M+this.KEY_STR.charAt(N)+this.KEY_STR.charAt(B)+this.KEY_STR.charAt(P)+this.KEY_STR.charAt(K),C=E=_="",N=B=P=K="",J<w.length;);return M}},{key:"restore",value:function(w,M){if(!w.match("data:image/jpeg;base64,"))return M;var C=this.decode64(w.replace("data:image/jpeg;base64,","")),E=this.slice2Segments(C),_=this.exifManipulation(M,E);return"data:image/jpeg;base64,".concat(this.encode64(_))}},{key:"exifManipulation",value:function(w,M){var C=this.getExifArray(M),E=this.insertExif(w,C),_=new Uint8Array(E);return _}},{key:"getExifArray",value:function(w){for(var M=void 0,C=0;C<w.length;){if(M=w[C],M[0]===255&M[1]===225)return M;C++}return[]}},{key:"insertExif",value:function(w,M){var C=w.replace("data:image/jpeg;base64,",""),E=this.decode64(C),_=E.indexOf(255,3),N=E.slice(0,_),B=E.slice(_),P=N;return P=P.concat(M),P=P.concat(B),P}},{key:"slice2Segments",value:function(w){for(var M=0,C=[];;){var E;if(w[M]===255&w[M+1]===218)break;if(w[M]===255&w[M+1]===216)M+=2;else{E=w[M+2]*256+w[M+3];var _=M+E+2,N=w.slice(M,_);C.push(N),M=_}if(M>w.length)break}return C}},{key:"decode64",value:function(w){var M=void 0,C=void 0,E="",_=void 0,N=void 0,B=void 0,P="",K=0,J=[],Q=/[^A-Za-z0-9\+\/\=]/g;for(Q.exec(w)&&console.warn(`There were invalid base64 characters in the input text.
|
|
55
|
+
c0.2-3.05,0.33-6.12,0.33-9.22C283.46,122.5,279.61,104.17,272.67,87.44z"></path></g></g>`,1)];function Sg(n,e){return c.openBlock(),c.createElementBlock("svg",Ag,wg)}const Ld=me(bg,[["render",Sg]]),kg={},xg={class:"icon icon-luscii-open luscii-open",width:"14",height:"12",viewBox:"0 0 14 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Tg=[c.createElementVNode("path",{d:"M7 0.5L13.5 11.5H0.5L7 0.5Z",fill:"#FF8800"},null,-1)];function Mg(n,e){return c.openBlock(),c.createElementBlock("svg",xg,Tg)}const Dd=me(kg,[["render",Mg]]),Ig={},Og={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},_g=[c.createElementVNode("circle",{cx:"12",cy:"12",r:"6",fill:"#FF6266"},null,-1),c.createElementVNode("circle",{cx:"14.5",cy:"9.5",r:"1.5",fill:"white","fill-opacity":"0.1"},null,-1)];function Ng(n,e){return c.openBlock(),c.createElementBlock("svg",Og,_g)}const Bd=me(Ig,[["render",Ng]]),Lg={},Dg={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Bg=[c.createElementVNode("path",{d:"M4.92892 13.4142C4.14787 12.6332 4.14787 11.3668 4.92892 10.5858L10.5858 4.92893C11.3668 4.14788 12.6332 4.14788 13.4142 4.92893L19.0711 10.5858C19.8521 11.3668 19.8521 12.6332 19.0711 13.4142L13.4142 19.0711C12.6332 19.8521 11.3668 19.8521 10.5858 19.0711L4.92892 13.4142Z",fill:"#9CA3AF"},null,-1),c.createElementVNode("circle",{cx:"12",cy:"7.05029",r:"1.5",transform:"rotate(-45 12 7.05029)",fill:"white","fill-opacity":"0.1"},null,-1)];function Rg(n,e){return c.openBlock(),c.createElementBlock("svg",Dg,Bg)}const Rd=me(Lg,[["render",Rg]]),Pg={},Vg={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Fg=[c.createElementVNode("rect",{x:"6",y:"6",width:"12",height:"12",rx:"2",fill:"#FB923C"},null,-1),c.createElementVNode("circle",{cx:"15.5",cy:"8.5",r:"1.5",fill:"white","fill-opacity":"0.1"},null,-1)];function $g(n,e){return c.openBlock(),c.createElementBlock("svg",Vg,Fg)}const Pd=me(Pg,[["render",$g]]),zg={},Hg={class:"icon icon-menu",xmlns:"http://www.w3.org/2000/svg",width:"19",height:"12",viewBox:"0 0 19 12"},Ug=[c.createElementVNode("path",{d:"M1.386 2a1 1 0 1 1 0-2H18a1 1 0 0 1 0 2H1.386zm0 5a1 1 0 1 1 0-2H18a1 1 0 0 1 0 2H1.386zm0 5a1 1 0 0 1 0-2H18a1 1 0 0 1 0 2H1.386z"},null,-1)];function jg(n,e){return c.openBlock(),c.createElementBlock("svg",Hg,Ug)}const Aa=me(zg,[["render",jg]]),Wg={},Kg={class:"icon icon-message",xmlns:"http://www.w3.org/2000/svg",width:"18",height:"15",viewBox:"0 0 18 15"},Qg=[c.createElementVNode("path",{d:"M17.75 2.587V12.2a2.355 2.355 0 0 1-2.35 2.35H2.6A2.355 2.355 0 0 1 .25 12.2V2.61v-.023A2.355 2.355 0 0 1 2.6.25h12.8a2.355 2.355 0 0 1 2.35 2.337zm-1.572-.327a.855.855 0 0 0-.778-.51H2.6a.855.855 0 0 0-.778.51L9 7.285l7.178-5.025zm.072 1.78L9.43 8.814a.75.75 0 0 1-.86 0L1.75 4.04v8.16c0 .466.384.85.85.85h12.8c.466 0 .85-.384.85-.85V4.04z"},null,-1)];function Yg(n,e){return c.openBlock(),c.createElementBlock("svg",Kg,Qg)}const Vd=me(Wg,[["render",Yg]]),Gg={},Zg={class:"icon icon-message-forward",xmlns:"http://www.w3.org/2000/svg",width:"21",height:"19",viewBox:"0 0 21 19"},Jg=[c.createElementVNode("path",{d:"M17.75 8.755a5.25 5.25 0 1 1-7.395 5.795H2.6A2.355 2.355 0 0 1 .25 12.2V2.587A2.355 2.355 0 0 1 2.6.25h12.8a2.355 2.355 0 0 1 2.35 2.337v6.168zm-1.5-.452V4.04L9.43 8.814a.75.75 0 0 1-.86 0L1.75 4.04v8.16c0 .466.384.85.85.85h7.669a5.25 5.25 0 0 1 5.981-4.747zm-.072-6.043a.855.855 0 0 0-.778-.51H2.6a.855.855 0 0 0-.778.51L9 7.285l7.178-5.025zM15.5 17.25a3.75 3.75 0 1 0 0-7.5 3.75 3.75 0 0 0 0 7.5zm-.31-3l.84.841a.75.75 0 1 1-1.06 1.06l-2.122-2.12a.75.75 0 0 1 0-1.061l2.122-2.122a.75.75 0 0 1 1.06 1.061l-.84.841h2.431a.75.75 0 1 1 0 1.5H15.19z"},null,-1)];function Xg(n,e){return c.openBlock(),c.createElementBlock("svg",Zg,Jg)}const Fd=me(Gg,[["render",Xg]]),qg={},e3=[c.createElementVNode("path",{d:"M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L472.1 344.7c15.2-26 23.9-56.3 23.9-88.7V216c0-13.3-10.7-24-24-24s-24 10.7-24 24v40c0 21.2-5.1 41.1-14.2 58.7L416 300.8V96c0-53-43-96-96-96s-96 43-96 96v54.3L38.8 5.1zM344 430.4c20.4-2.8 39.7-9.1 57.3-18.2l-43.1-33.9C346.1 382 333.3 384 320 384c-70.7 0-128-57.3-128-128v-8.7L144.7 210c-.5 1.9-.7 3.9-.7 6v40c0 89.1 66.2 162.7 152 174.4V464H248c-13.3 0-24 10.7-24 24s10.7 24 24 24h72 72c13.3 0 24-10.7 24-24s-10.7-24-24-24H344V430.4z"},null,-1)];function t3(n,e){return c.openBlock(),c.createElementBlock("svg",c.mergeProps(n.$attrs,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512",class:"icon"}),e3,16)}const $d=me(qg,[["render",t3]]),n3={},r3={class:"icon icon-microsoft-teams",xmlns:"http://www.w3.org/2000/svg",width:"18px",height:"18px",viewBox:"0 0 64 64"},o3=[c.createStaticVNode('<path d="M42 40.531V27.205A1.204 1.204 0 0143.204 26h13.494A2.302 2.302 0 0159 28.302v12.23A8.469 8.469 0 0150.531 49h-.062A8.469 8.469 0 0142 40.531z" fill="#5059c9"></path><circle cx="50.5" cy="17.5" r="5.5" fill="#5059c9"></circle><path d="M49.855 49.622q-.17-.008-.35-.022.174.015.35.022zm.157.005l-.077-.002z" fill="#5059c9"></path><circle cx="33" cy="15" r="8" fill="#7b83eb"></circle><path d="M45.667 26H22.333A2.32 2.32 0 0020 28.308v13.846a14 14 0 0028 0V28.308A2.32 2.32 0 0045.667 26z" fill="#7b83eb"></path><path d="M33 26v20.67a1.734 1.734 0 01-.04.4A2.314 2.314 0 0130.67 49h-8.83a10.81 10.81 0 01-.53-1c-.16-.33-.3-.66-.43-1a13.69 13.69 0 01-.88-4.85V28.31A2.316 2.316 0 0122.33 26zm0-5.67V23a8.257 8.257 0 01-1-.06A8.02 8.02 0 0125.58 18h5.09A2.326 2.326 0 0133 20.33z" opacity=".2"></path><path d="M34 26v18.67A3.362 3.362 0 0130.67 48h-9.36c-.16-.33-.3-.66-.43-1a13.69 13.69 0 01-.88-4.85V28.31A2.316 2.316 0 0122.33 26zm0-5.67v2.61a8.355 8.355 0 01-2 0A8.02 8.02 0 0125.58 18a8.353 8.353 0 01-.33-1h5.42A3.342 3.342 0 0134 20.33z" opacity=".1"></path><path d="M33 26v18.67A2.326 2.326 0 0130.67 47h-9.79a13.69 13.69 0 01-.88-4.85V28.31A2.316 2.316 0 0122.33 26zm0-5.67V23a8.257 8.257 0 01-1-.06A8.02 8.02 0 0125.58 18h5.09A2.326 2.326 0 0133 20.33z" opacity=".2"></path><path d="M32 20.33v2.61A8.02 8.02 0 0125.58 18h4.09A2.326 2.326 0 0132 20.33zM22.33 26H32v18.67A2.326 2.326 0 0129.67 47h-8.79a13.69 13.69 0 01-.88-4.85V28.31A2.316 2.316 0 0122.33 26z" opacity=".1"></path><rect x="4" y="18" width="28" height="28" rx="2.333" fill="#4b53bc"></rect><path d="M24.008 26.528h-4.564v13.028h-2.909V26.528h-4.543V24h12.016z" fill="#fff"></path>',11)];function i3(n,e){return c.openBlock(),c.createElementBlock("svg",r3,o3)}const zd=me(n3,[["render",i3]]),s3={},a3={class:"icon icon-min",viewBox:"0 0 21 2",width:"21",height:"2",xmlns:"http://www.w3.org/2000/svg"},l3=[c.createElementVNode("path",{d:"M1.525 2h18.05a1 1 0 0 0 0-2H1.525a1 1 0 0 0 0 2z"},null,-1)];function c3(n,e){return c.openBlock(),c.createElementBlock("svg",a3,l3)}const Hd=me(s3,[["render",c3]]),d3={},u3={width:"17",height:"15",viewBox:"0 0 17 15",xmlns:"http://www.w3.org/2000/svg",class:"icon icon-ordered-list"},f3=[c.createElementVNode("path",{d:"M7.75 3.75H16.25C16.6562 3.75 17 3.4375 17 3C17 2.59375 16.6562 2.25 16.25 2.25H7.75C7.3125 2.25 7 2.59375 7 3C7 3.4375 7.3125 3.75 7.75 3.75ZM16.25 12.25H7.75C7.3125 12.25 7 12.5938 7 13C7 13.4375 7.3125 13.75 7.75 13.75H16.25C16.6562 13.75 17 13.4375 17 13C17 12.5938 16.6562 12.25 16.25 12.25ZM16.25 7.25H7.75C7.3125 7.25 7 7.59375 7 8C7 8.4375 7.3125 8.75 7.75 8.75H16.25C16.6562 8.75 17 8.4375 17 8C17 7.59375 16.6562 7.25 16.25 7.25ZM2.25 7H4.75C5.15625 7 5.5 6.6875 5.5 6.25C5.5 5.78125 5.15625 5.5 4.75 5.5H4.25V1.75C4.25 1.5 4.09375 1.25 3.84375 1.125C3.625 0.96875 3.34375 0.96875 3.09375 1.125L2.09375 1.6875C1.75 1.90625 1.625 2.375 1.84375 2.71875C2.03125 3.03125 2.40625 3.1875 2.75 3.0625V5.5H2.25C1.8125 5.5 1.5 5.84375 1.5 6.25C1.5 6.6875 1.8125 7 2.25 7ZM5.25 13.5H3.6875L4.84375 12.5C5.78125 11.6875 5.875 10.2812 5.09375 9.34375C4.6875 8.84375 4.125 8.5625 3.5 8.53125C2.90625 8.46875 2.28125 8.65625 1.8125 9.0625L1.4375 9.40625C1.125 9.6875 1.09375 10.1562 1.34375 10.4688C1.625 10.7812 2.09375 10.8125 2.40625 10.5625L2.8125 10.2188C2.96875 10.0625 3.1875 10 3.40625 10.0312C3.625 10.0312 3.8125 10.125 3.9375 10.3125C4.21875 10.625 4.1875 11.0938 3.84375 11.375L1.25 13.7188C1 13.9062 0.9375 14.25 1.03125 14.5312C1.15625 14.8125 1.4375 15 1.71875 15H5.25C5.65625 15 6 14.6875 6 14.2812C6 13.8438 5.65625 13.5 5.25 13.5Z"},null,-1)];function h3(n,e){return c.openBlock(),c.createElementBlock("svg",u3,f3)}const wa=me(d3,[["render",h3]]),p3={},m3={class:"icon icon-plus",width:"12",height:"13",viewBox:"0 0 12 13",xmlns:"http://www.w3.org/2000/svg"},g3=[c.createElementVNode("path",{d:"M11.604 7.675H7.027v4.807H4.888V7.675h-4.6V5.628h4.6V.844h2.139v4.784h4.577z"},null,-1)];function v3(n,e){return c.openBlock(),c.createElementBlock("svg",m3,g3)}const Ud=me(p3,[["render",v3]]),y3={},C3={class:"icon icon-refresh",xmlns:"http://www.w3.org/2000/svg",width:"18",height:"15",viewBox:"0 0 18 15"},E3=[c.createElementVNode("path",{d:"M15.107 5.34l-2.012-1.891a5.795 5.795 0 0 0-9.563 2.163.75.75 0 0 1-1.414-.5 7.295 7.295 0 0 1 12.021-2.74l2.111 1.983v-2.63a.75.75 0 1 1 1.5 0V6.09a.75.75 0 0 1-.75.75h-4.364a.75.75 0 0 1 0-1.5h2.47zM1.75 10.731v2.63a.75.75 0 0 1-1.5 0V8.998a.75.75 0 0 1 .75-.75h4.364a.75.75 0 1 1 0 1.5h-2.47l2.011 1.891a5.795 5.795 0 0 0 9.563-2.164.75.75 0 0 1 1.414.5 7.295 7.295 0 0 1-12.021 2.74L1.75 10.733z"},null,-1)];function b3(n,e){return c.openBlock(),c.createElementBlock("svg",C3,E3)}const jd=me(y3,[["render",b3]]),A3={},w3={class:"icon icon-remove",width:"11",height:"11",viewBox:"0 0 11 11",xmlns:"http://www.w3.org/2000/svg"},S3=[c.createElementVNode("path",{d:"M.893.893a1 1 0 0 1 1.414 0L5.5 4.085 8.693.893a1 1 0 0 1 1.32-.083l.094.083a1 1 0 0 1 0 1.414L6.915 5.5l3.192 3.193a1 1 0 0 1 .083 1.32l-.083.094a1 1 0 0 1-1.414 0L5.5 6.915l-3.193 3.192a1 1 0 0 1-1.32.083l-.094-.083a1 1 0 0 1 0-1.414L4.085 5.5.893 2.307A1 1 0 0 1 .81.987L.893.893z"},null,-1)];function k3(n,e){return c.openBlock(),c.createElementBlock("svg",w3,S3)}const vo=me(A3,[["render",k3]]),x3={},T3={"xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:cc":"http://creativecommons.org/ns#","xmlns:rdf":"http://www.w3.org/1999/02/22-rdf-syntax-ns#","xmlns:svg":"http://www.w3.org/2000/svg",xmlns:"http://www.w3.org/2000/svg",class:"icon icon-sananet",viewBox:"0 0 145.82668 130.58667",height:"130.58667",width:"145.82668","xml:space":"preserve",id:"svg2",version:"1.1"},M3={id:"metadata8"},I3=c.createStaticVNode('<defs id="defs6"><clipPath id="clipPath32" clipPathUnits="userSpaceOnUse"><path id="path30" d="M 0,0 H 1094 V 979 H 0 Z"></path></clipPath><clipPath id="clipPath38" clipPathUnits="userSpaceOnUse"><path id="path36" d="m 726.516,800.508 c 0,-98.836 -80.121,-178.938 -178.938,-178.938 -98.816,0 -178.926,80.102 -178.926,178.938 0,98.808 80.11,178.918 178.926,178.918 98.817,0 178.938,-80.11 178.938,-178.918 z"></path></clipPath><radialGradient id="radialGradient46" spreadMethod="pad" gradientTransform="matrix(390.284,0,0,-390.284,547.578,925.479)" gradientUnits="userSpaceOnUse" r="1" cy="0" cx="0" fy="0.151961" fx="-0.24949799"><stop id="stop40" offset="0" style="stop-opacity:1;stop-color:#ffffff;"></stop><stop id="stop42" offset="0.715" style="stop-opacity:1;stop-color:#f5772a;"></stop><stop id="stop44" offset="1" style="stop-opacity:1;stop-color:#f5772a;"></stop></radialGradient></defs><g transform="matrix(1.3333333,0,0,-1.3333333,0,130.58667)" id="g10"><g transform="scale(0.1)" id="g12"><path id="path14" style="fill:#bfc1e2;fill-opacity:1;fill-rule:nonzero;stroke:none;" d="M 546.836,0 C 250.422,0 0,111.121 0,242.648 c 0,43.133 26.418,84.11 72.6016,119.688 -17.586,-23.32 -27.0821,-48.32 -27.0821,-74.328 0,-127.442 220.2035,-227.2736 501.3165,-227.2736 281.102,0 501.304,99.8316 501.304,227.2736 0,26.008 -9.5,51.015 -27.09,74.336 46.19,-35.586 72.61,-76.563 72.61,-119.696 C 1093.66,111.121 843.242,0 546.836,0"></path><path id="path16" style="fill:#9ba1d3;fill-opacity:1;fill-rule:nonzero;stroke:none;" d="m 546.621,125.039 c -195.918,0 -361.433,66.113 -361.433,144.367 0,29.305 22.75,56.942 61.714,80.028 -17.468,-16.329 -27.097,-34.356 -27.097,-53.274 0,-74.39 143.554,-132.664 326.816,-132.664 183.289,0 326.875,58.274 326.875,132.664 0,18.879 -9.59,36.86 -26.98,53.156 38.843,-23.066 61.519,-50.656 61.519,-79.91 0,-78.254 -165.508,-144.367 -361.414,-144.367"></path><path id="path18" style="fill:#516ab4;fill-opacity:1;fill-rule:nonzero;stroke:none;" d="m 546.621,205.82 c -118.73,0 -219.031,39.27 -219.031,85.754 0,12.711 7.39,24.91 20.625,35.906 -3.379,-6.242 -5.156,-12.773 -5.156,-19.5 0,-47.296 89.414,-84.335 203.562,-84.335 114.133,0 203.535,37.039 203.535,84.335 0,6.727 -1.777,13.243 -5.144,19.481 13.211,-10.996 20.593,-23.176 20.593,-35.887 0,-46.484 -100.285,-85.754 -218.984,-85.754"></path><path id="path20" style="fill:#2350a1;fill-opacity:1;fill-rule:nonzero;stroke:none;" d="m 423.379,332.805 c -6.934,-6.223 -10.801,-12.989 -10.801,-19.953 0,-28.321 61.387,-52.247 134.043,-52.247 72.637,0 133.992,23.926 133.992,52.247 0,6.925 -3.816,13.652 -10.672,19.843 1.36,-3.152 2.063,-6.418 2.063,-9.765 0,-29.258 -55.078,-52.168 -125.383,-52.168 -70.293,0 -125.351,22.91 -125.351,52.168 0,3.39 0.722,6.687 2.109,9.875"></path><path id="path22" style="fill:#2350a1;fill-opacity:1;fill-rule:nonzero;stroke:none;" d="m 358.75,618.84 c 0,0 144.551,-54.758 144.551,-297.871 h -24.102 c 0,0 -2.187,205.886 -124.824,219.019 l 4.375,78.852"></path><path id="path24" style="fill:#2350a1;fill-opacity:1;fill-rule:nonzero;stroke:none;" d="m 735.313,618.84 c 0,0 -144.551,-54.758 -144.551,-297.871 h 24.101 c 0,0 2.188,205.886 124.832,219.019 l -4.382,78.852"></path><g id="g26"><g clip-path="url(#clipPath32)" id="g28"><g clip-path="url(#clipPath38)" id="g34"><path id="path48" style="fill:url(#radialGradient46);fill-opacity:1;fill-rule:nonzero;stroke:none;" d="m 536,621 v 1 h -11 v 1 h -6 v 1 h -7 v 1 h -4 v 1 h -4 v 1 h -4 v 1 h -4 v 1 h -3 v 1 h -3 v 1 h -3 v 1 h -2 v 1 h -3 v 1 h -3 v 1 h -2 v 1 h -2 v 1 h -2 v 1 h -3 v 1 h -2 v 1 h -2 v 1 h -2 v 1 h -2 v 1 h -2 v 1 h -1 v 1 h -2 v 1 h -2 v 1 h -1 v 1 h -2 v 1 h -1 v 1 h -2 v 1 h -2 v 1 h -1 v 1 h -1 v 1 h -2 v 1 h -1 v 1 h -1 v 1 h -2 v 1 h -1 v 1 h -1 v 1 h -2 v 1 h -1 v 1 h -1 v 1 h -1 v 1 h -2 v 1 h -1 v 1 h -1 v 1 h -1 v 1 h -1 v 1 h -1 v 1 h -1 v 1 h -1 v 1 h -1 v 1 h -1 v 1 h -1 v 1 h -1 v 1 h -1 v 1 h -1 v 1 h -1 v 1 h -1 v 1 h -1 v 1 h -1 v 1 h -1 v 1 h -1 v 2 h -1 v 1 h -1 v 1 h -1 v 1 h -1 v 2 h -1 v 1 h -1 v 1 h -1 v 2 h -1 v 1 h -1 v 1 h -1 v 2 h -1 v 1 h -1 v 1 h -1 v 2 h -1 v 2 h -1 v 1 h -1 v 2 h -1 v 2 h -1 v 1 h -1 v 2 h -1 v 1 h -1 v 2 h -1 v 2 h -1 v 2 h -1 v 2 h -1 v 3 h -1 v 2 h -1 v 2 h -1 v 2 h -1 v 2 h -1 v 3 h -1 v 3 h -1 v 3 h -1 v 2 h -1 v 3 h -1 v 4 h -1 v 3 h -1 v 4 h -1 v 4 h -1 v 5 h -1 v 6 h -1 v 7 h -1 v 11 h -1 v 21 h 1 v 11 h 1 v 7 h 1 v 6 h 1 v 5 h 1 v 4 h 1 v 4 h 1 v 3 h 1 v 4 h 1 v 3 h 1 v 2 h 1 v 3 h 1 v 3 h 1 v 3 h 1 v 2 h 1 v 2 h 1 v 2 h 1 v 2 h 1 v 3 h 1 v 2 h 1 v 2 h 1 v 2 h 1 v 2 h 1 v 1 h 1 v 2 h 1 v 1 h 1 v 2 h 1 v 2 h 1 v 1 h 1 v 2 h 1 v 2 h 1 v 1 h 1 v 1 h 1 v 2 h 1 v 1 h 1 v 1 h 1 v 2 h 1 v 1 h 1 v 1 h 1 v 2 h 1 v 1 h 1 v 1 h 1 v 1 h 1 v 2 h 1 v 1 h 1 v 1 h 1 v 1 h 1 v 1 h 1 v 1 h 1 v 1 h 1 v 1 h 1 v 1 h 1 v 1 h 1 v 1 h 1 v 1 h 1 v 1 h 1 v 1 h 1 v 1 h 1 v 1 h 1 v 1 h 1 v 1 h 1 v 1 h 1 v 1 h 2 v 1 h 1 v 1 h 1 v 1 h 1 v 1 h 2 v 1 h 1 v 1 h 1 v 1 h 2 v 1 h 1 v 1 h 1 v 1 h 2 v 1 h 1 v 1 h 1 v 1 h 2 v 1 h 2 v 1 h 1 v 1 h 2 v 1 h 1 v 1 h 2 v 1 h 2 v 1 h 1 v 1 h 2 v 1 h 2 v 1 h 2 v 1 h 2 v 1 h 2 v 1 h 3 v 1 h 2 v 1 h 2 v 1 h 2 v 1 h 3 v 1 h 3 v 1 h 2 v 1 h 3 v 1 h 3 v 1 h 3 v 1 h 4 v 1 h 4 v 1 h 4 v 1 h 4 v 1 h 7 v 1 h 7 v 1 h 44 v -1 h 6 v -1 h 7 v -1 h 4 v -1 h 4 v -1 h 4 v -1 h 4 v -1 h 3 v -1 h 3 v -1 h 3 v -1 h 3 v -1 h 2 v -1 h 3 v -1 h 2 v -1 h 3 v -1 h 2 v -1 h 2 v -1 h 2 v -1 h 2 v -1 h 2 v -1 h 2 v -1 h 2 v -1 h 1 v -1 h 2 v -1 h 2 v -1 h 1 v -1 h 2 v -1 h 2 v -1 h 1 v -1 h 2 v -1 h 1 v -1 h 2 v -1 h 1 v -1 h 1 v -1 h 2 v -1 h 1 v -1 h 1 v -1 h 2 v -1 h 1 v -1 h 1 v -1 h 2 v -1 h 1 v -1 h 1 v -1 h 1 v -1 h 1 v -1 h 1 v -1 h 1 v -1 h 1 v -1 h 1 v -1 h 1 v -1 h 2 v -1 h 1 v -1 h 1 v -2 h 1 v -1 h 1 v -1 h 1 v -1 h 1 v -1 h 1 v -1 h 1 v -1 h 1 v -1 h 1 v -1 h 1 v -1 h 1 v -2 h 1 v -1 h 1 v -1 h 1 v -2 h 1 v -1 h 1 v -1 h 1 v -2 h 1 v -1 h 1 v -1 h 1 v -2 h 1 v -1 h 1 v -2 h 1 v -1 h 1 v -2 h 1 v -2 h 1 v -1 h 1 v -2 h 1 v -2 h 1 v -1 h 1 v -2 h 1 v -2 h 1 v -2 h 1 v -2 h 1 v -2 h 1 v -2 h 1 v -2 h 1 v -2 h 1 v -3 h 1 v -3 h 1 v -2 h 1 v -3 h 1 v -3 h 1 v -3 h 1 v -3 h 1 v -4 h 1 v -4 h 1 v -4 h 1 v -4 h 1 v -6 h 1 v -7 h 1 v -10 h 1 v -25 h -1 v -10 h -1 v -7 h -1 v -6 h -1 v -4 h -1 v -4 h -1 v -4 h -1 v -4 h -1 v -3 h -1 v -3 h -1 v -3 h -1 v -3 h -1 v -2 h -1 v -3 h -1 v -3 h -1 v -2 h -1 v -2 h -1 v -2 h -1 v -2 h -1 v -2 h -1 v -2 h -1 v -2 h -1 v -2 h -1 v -1 h -1 v -2 h -1 v -2 h -1 v -1 h -1 v -2 h -1 v -2 h -1 v -1 h -1 v -2 h -1 v -1 h -1 v -2 h -1 v -1 h -1 v -1 h -1 v -2 h -1 v -1 h -1 v -1 h -1 v -2 h -1 v -1 h -1 v -1 h -1 v -2 h -1 v -1 h -1 v -1 h -1 v -1 h -1 v -1 h -1 v -1 h -1 v -1 h -1 v -1 h -1 v -1 h -1 v -1 h -1 v -2 h -1 v -1 h -1 v -1 h -2 v -1 h -1 v -1 h -1 v -1 h -1 v -1 h -1 v -1 h -1 v -1 h -1 v -1 h -1 v -1 h -1 v -1 h -1 v -1 h -2 v -1 h -1 v -1 h -1 v -1 h -2 v -1 h -1 v -1 h -1 v -1 h -2 v -1 h -1 v -1 h -1 v -1 h -2 v -1 h -1 v -1 h -2 v -1 h -1 v -1 h -2 v -1 h -2 v -1 h -1 v -1 h -2 v -1 h -2 v -1 h -1 v -1 h -2 v -1 h -2 v -1 h -2 v -1 h -2 v -1 h -2 v -1 h -2 v -1 h -2 v -1 h -3 v -1 h -2 v -1 h -3 v -1 h -2 v -1 h -3 v -1 h -3 v -1 h -3 v -1 h -3 v -1 h -4 v -1 h -4 v -1 h -4 v -1 h -4 v -1 h -7 v -1 h -6 v -1 h -11 v -1"></path></g></g></g></g></g>',2);function O3(n,e){const t=c.resolveComponent("dc:format"),r=c.resolveComponent("dc:type"),o=c.resolveComponent("cc:Work"),i=c.resolveComponent("rdf:RDF");return c.openBlock(),c.createElementBlock("svg",T3,[c.createElementVNode("metadata",M3,[c.createVNode(i,null,{default:c.withCtx(()=>[c.createVNode(o,{"rdf:about":""},{default:c.withCtx(()=>[c.createVNode(t,null,{default:c.withCtx(()=>[c.createTextVNode("image/svg+xml")]),_:1}),c.createVNode(r,{"rdf:resource":"http://purl.org/dc/dcmitype/StillImage"})]),_:1})]),_:1})]),I3])}const Wd=me(x3,[["render",O3]]),_3={},N3={class:"icon icon-service",viewBox:"0 0 20 21",xmlns:"http://www.w3.org/2000/svg"},L3=[c.createElementVNode("path",{d:"M1.875 10.5V12.0625C1.875 12.6094 1.44531 13 0.9375 13C0.390625 13 0 12.6094 0 12.0625V10.5C0 4.99219 4.45312 0.5 10 0.5C15.5078 0.5 20 4.99219 20 10.5V16.1641C20 18.0391 18.4375 19.6016 16.5625 19.6016L12.2266 19.5625C11.9141 20.1484 11.2891 20.5 10.625 20.5H9.375C8.32031 20.5 7.5 19.6797 7.5 18.625C7.5 17.6094 8.32031 16.75 9.375 16.75H10.625C11.2891 16.75 11.9141 17.1406 12.2266 17.6875L16.5625 17.7266C17.4219 17.7266 18.125 17.0234 18.125 16.1641V10.5C18.125 6.04688 14.4531 2.375 10 2.375C5.50781 2.375 1.875 6.04688 1.875 10.5ZM6.25 9.25C5.54688 9.25 5 9.83594 5 10.5V12.375C5 13.0781 5.54688 13.625 6.25 13.625V9.25ZM3.125 10.5C3.125 8.78125 4.49219 7.375 6.25 7.375H6.875C7.53906 7.375 8.125 7.96094 8.125 8.625V14.25C8.125 14.9531 7.53906 15.5 6.875 15.5H6.25C4.49219 15.5 3.125 14.1328 3.125 12.375V10.5ZM13.75 9.25V13.625C14.4141 13.625 15 13.0781 15 12.375V10.5C15 9.83594 14.4141 9.25 13.75 9.25ZM16.875 10.5V12.375C16.875 14.1328 15.4688 15.5 13.75 15.5H13.125C12.4219 15.5 11.875 14.9531 11.875 14.25V8.625C11.875 7.96094 12.4219 7.375 13.125 7.375H13.75C15.4688 7.375 16.875 8.78125 16.875 10.5Z"},null,-1)];function D3(n,e){return c.openBlock(),c.createElementBlock("svg",N3,L3)}const Kd=me(_3,[["render",D3]]),B3={},R3={class:"icon icon-share-screen",width:"12",height:"16",viewBox:"0 0 12 16",xmlns:"http://www.w3.org/2000/svg"},P3=[c.createElementVNode("path",{d:"M-1.31134e-07 12.9961C-5.87372e-08 14.6523 1.34375 15.9961 3 15.9961L9 15.9961C10.6562 15.9961 12 14.6523 12 12.9961L12 10.3711C12 10.1836 11.8437 9.99609 11.625 9.99609L10.875 9.99609C10.6875 9.99609 10.5 10.1836 10.5 10.3711L10.5 12.9961C10.5 13.8398 9.84375 14.4961 9 14.4961L3 14.4961C2.1875 14.4961 1.5 13.8398 1.5 12.9961L1.5 10.3711C1.5 10.1836 1.34375 9.99609 1.125 9.99609L0.375 9.99609C0.1875 9.99609 -2.54072e-07 10.1836 -2.45877e-07 10.3711L-1.31134e-07 12.9961ZM0.625 5.77734L1.25 6.40234C1.375 6.55859 1.625 6.55859 1.78125 6.40234L5.1875 2.87109L5.1875 10.6211C5.1875 10.8398 5.375 10.9961 5.5625 10.9961L6.4375 10.9961C6.65625 10.9961 6.8125 10.8398 6.8125 10.6211L6.8125 2.87109L10.25 6.40234C10.4062 6.55859 10.6562 6.55859 10.7812 6.40234L11.4062 5.77734C11.5625 5.65234 11.5625 5.40234 11.4062 5.24609L6.28125 0.121093C6.125 -0.0351565 5.90625 -0.0351565 5.75 0.121093L0.625 5.24609C0.46875 5.40234 0.46875 5.65234 0.625 5.77734Z"},null,-1)];function V3(n,e){return c.openBlock(),c.createElementBlock("svg",R3,P3)}const Qd=me(B3,[["render",V3]]),F3={},$3={xmlns:"http://www.w3.org/2000/svg",version:"1.1","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:svgjs":"http://svgjs.com/svgjs",viewBox:"0 0 18 18",width:"18",height:"18"},z3=[c.createElementVNode("g",{transform:"matrix(0.75,0,0,0.75,0,0)"},[c.createElementVNode("path",{d:"M6.750 6.000 A5.250 5.250 0 1 0 17.250 6.000 A5.250 5.250 0 1 0 6.750 6.000 Z",fill:"none",stroke:"#ffffff","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5"}),c.createElementVNode("path",{d:"M2.25,23.25a9.75,9.75,0,0,1,19.5,0",fill:"none",stroke:"#ffffff","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5"})],-1)];function H3(n,e){return c.openBlock(),c.createElementBlock("svg",$3,z3)}const Yd=me(F3,[["render",H3]]),U3={},j3={xmlns:"http://www.w3.org/2000/svg",width:"9",height:"14",viewBox:"0 0 9 14"},W3=[c.createStaticVNode('<g id="Symbols" fill="none" fill-rule="evenodd" stroke="none" stroke-width="1"><g id="icon/sort" fill="#4D5875" transform="translate(-6 -4)"><g id="Group" transform="translate(5 3)"><path id="Rectangle" d="M8.585786,8.32943141 L8.585786,12.585786 C8.585786,13.1380707 8.13807075,13.585786 7.585786,13.585786 L3.32943141,13.585786 C2.77714666,13.585786 2.32943141,13.1380707 2.32943141,12.585786 C2.32943141,12.3205695 2.43478825,12.0662156 2.62232463,11.8786792 L6.87867922,7.62232463 C7.26920351,7.23180034 7.90236849,7.23180034 8.29289278,7.62232463 C8.48042916,7.80986101 8.585786,8.06421492 8.585786,8.32943141 Z" transform="rotate(45 5.293 10.293)"></path><path id="Rectangle" d="M8.585786,3.32943141 L8.585786,7.585786 C8.585786,8.13807075 8.13807075,8.585786 7.585786,8.585786 L3.32943141,8.585786 C2.77714666,8.585786 2.32943141,8.13807075 2.32943141,7.585786 C2.32943141,7.32056951 2.43478825,7.0662156 2.62232463,6.87867922 L6.87867922,2.62232463 C7.26920351,2.23180034 7.90236849,2.23180034 8.29289278,2.62232463 C8.48042916,2.80986101 8.585786,3.06421492 8.585786,3.32943141 Z" transform="rotate(-135 5.293 5.293)"></path></g></g></g>',1)];function K3(n,e){return c.openBlock(),c.createElementBlock("svg",j3,W3)}const Gd=me(U3,[["render",K3]]),Q3={},Y3={xmlns:"http://www.w3.org/2000/svg",width:"9",height:"14",viewBox:"0 0 9 14"},G3=[c.createStaticVNode('<g id="Symbols" fill="none" fill-rule="evenodd" stroke="none" stroke-width="1"><g id="icon/sort" transform="translate(-6 -4)"><g id="Group" transform="translate(5 3)"><path id="Rectangle" fill="rgb(57, 65, 86)" d="M8.585786,8.32943141 L8.585786,12.585786 C8.585786,13.1380707 8.13807075,13.585786 7.585786,13.585786 L3.32943141,13.585786 C2.77714666,13.585786 2.32943141,13.1380707 2.32943141,12.585786 C2.32943141,12.3205695 2.43478825,12.0662156 2.62232463,11.8786792 L6.87867922,7.62232463 C7.26920351,7.23180034 7.90236849,7.23180034 8.29289278,7.62232463 C8.48042916,7.80986101 8.585786,8.06421492 8.585786,8.32943141 Z" transform="rotate(45 5.293 10.293)"></path><path id="Rectangle" fill="#ABB0BE" d="M8.585786,3.32943141 L8.585786,7.585786 C8.585786,8.13807075 8.13807075,8.585786 7.585786,8.585786 L3.32943141,8.585786 C2.77714666,8.585786 2.32943141,8.13807075 2.32943141,7.585786 C2.32943141,7.32056951 2.43478825,7.0662156 2.62232463,6.87867922 L6.87867922,2.62232463 C7.26920351,2.23180034 7.90236849,2.23180034 8.29289278,2.62232463 C8.48042916,2.80986101 8.585786,3.06421492 8.585786,3.32943141 Z" transform="rotate(-135 5.293 5.293)"></path></g></g></g>',1)];function Z3(n,e){return c.openBlock(),c.createElementBlock("svg",Y3,G3)}const Sa=me(Q3,[["render",Z3]]),J3={},X3={xmlns:"http://www.w3.org/2000/svg",width:"9",height:"14",viewBox:"0 0 9 14"},q3=[c.createStaticVNode('<g id="Symbols" fill="none" fill-rule="evenodd" stroke="none" stroke-width="1"><g id="icon/sort" transform="translate(-6 -4)"><g id="Group" transform="translate(5 3)"><path id="Rectangle" fill="#ABB0BE" d="M8.585786,8.32943141 L8.585786,12.585786 C8.585786,13.1380707 8.13807075,13.585786 7.585786,13.585786 L3.32943141,13.585786 C2.77714666,13.585786 2.32943141,13.1380707 2.32943141,12.585786 C2.32943141,12.3205695 2.43478825,12.0662156 2.62232463,11.8786792 L6.87867922,7.62232463 C7.26920351,7.23180034 7.90236849,7.23180034 8.29289278,7.62232463 C8.48042916,7.80986101 8.585786,8.06421492 8.585786,8.32943141 Z" transform="rotate(45 5.293 10.293)"></path><path id="Rectangle" fill="rgb(57, 65, 86)" d="M8.585786,3.32943141 L8.585786,7.585786 C8.585786,8.13807075 8.13807075,8.585786 7.585786,8.585786 L3.32943141,8.585786 C2.77714666,8.585786 2.32943141,8.13807075 2.32943141,7.585786 C2.32943141,7.32056951 2.43478825,7.0662156 2.62232463,6.87867922 L6.87867922,2.62232463 C7.26920351,2.23180034 7.90236849,2.23180034 8.29289278,2.62232463 C8.48042916,2.80986101 8.585786,3.06421492 8.585786,3.32943141 Z" transform="rotate(-135 5.293 5.293)"></path></g></g></g>',1)];function e7(n,e){return c.openBlock(),c.createElementBlock("svg",X3,q3)}const ka=me(J3,[["render",e7]]),t7={},n7={xmlns:"http://www.w3.org/2000/svg",width:"9",height:"14",viewBox:"0 0 9 14"},r7=[c.createStaticVNode('<g id="Symbols" fill="none" fill-rule="evenodd" stroke="none" stroke-width="1"><g id="icon/sort" fill="#ABB0BE" transform="translate(-6 -4)"><g id="Group" transform="translate(5 3)"><path id="Rectangle" d="M8.585786,8.32943141 L8.585786,12.585786 C8.585786,13.1380707 8.13807075,13.585786 7.585786,13.585786 L3.32943141,13.585786 C2.77714666,13.585786 2.32943141,13.1380707 2.32943141,12.585786 C2.32943141,12.3205695 2.43478825,12.0662156 2.62232463,11.8786792 L6.87867922,7.62232463 C7.26920351,7.23180034 7.90236849,7.23180034 8.29289278,7.62232463 C8.48042916,7.80986101 8.585786,8.06421492 8.585786,8.32943141 Z" transform="rotate(45 5.293 10.293)"></path><path id="Rectangle" d="M8.585786,3.32943141 L8.585786,7.585786 C8.585786,8.13807075 8.13807075,8.585786 7.585786,8.585786 L3.32943141,8.585786 C2.77714666,8.585786 2.32943141,8.13807075 2.32943141,7.585786 C2.32943141,7.32056951 2.43478825,7.0662156 2.62232463,6.87867922 L6.87867922,2.62232463 C7.26920351,2.23180034 7.90236849,2.23180034 8.29289278,2.62232463 C8.48042916,2.80986101 8.585786,3.06421492 8.585786,3.32943141 Z" transform="rotate(-135 5.293 5.293)"></path></g></g></g>',1)];function o7(n,e){return c.openBlock(),c.createElementBlock("svg",n7,r7)}const xa=me(t7,[["render",o7]]),i7={},s7={class:"icon icon-triangle-down",xmlns:"http://www.w3.org/2000/svg",width:"12",height:"8",viewBox:"0 0 12 8"},a7=[c.createElementVNode("path",{d:"M11.071 2.414L6.414 7.071a1 1 0 0 1-1.414 0L.343 2.414A1 1 0 0 1 1.05.707h9.314a1 1 0 0 1 .707 1.707z"},null,-1)];function l7(n,e){return c.openBlock(),c.createElementBlock("svg",s7,a7)}const Zd=me(i7,[["render",l7]]),c7={},d7={width:"40",height:"34",viewBox:"0 0 40 34",fill:"none",xmlns:"http://www.w3.org/2000/svg"},u7=[c.createElementVNode("path",{d:"M38.5547 28.6992C39.7422 30.7773 38.2578 33.375 35.8086 33.375H4.11719C1.66797 33.375 0.183594 30.7773 1.29688 28.6992L17.1797 1.68359C17.8477 0.644531 18.8867 0.125 20 0.125C21.0391 0.125 22.0781 0.644531 22.7461 1.68359L38.5547 28.6992ZM4.85938 29.8125H35.0664L19.9258 4.05859L4.85938 29.8125ZM20 22.8359C21.2617 22.8359 22.3008 23.875 22.3008 25.1367C22.3008 26.3984 21.2617 27.4375 20 27.4375C18.6641 27.4375 17.625 26.3984 17.625 25.1367C17.625 23.875 18.6641 22.8359 20 22.8359ZM18.2188 11.4062C18.2188 10.4414 18.9609 9.625 20 9.625C20.9648 9.625 21.7812 10.4414 21.7812 11.4062V18.5312C21.7812 19.5703 20.9648 20.3125 20 20.3125C18.9609 20.3125 18.2188 19.5703 18.2188 18.5312V11.4062Z",fill:"#F65139"},null,-1)];function f7(n,e){return c.openBlock(),c.createElementBlock("svg",d7,u7)}const Jd=me(c7,[["render",f7]]),h7={},p7={width:"14",height:"16",viewBox:"0 0 14 16",xmlns:"http://www.w3.org/2000/svg",class:"icon icon-underline"},m7=[c.createElementVNode("path",{d:"M1.25 1.5H2V7.5C2 10.2812 4.21875 12.5 7 12.5C9.75 12.5 12 10.2812 12 7.5V1.5H12.75C13.1562 1.5 13.5 1.1875 13.5 0.75C13.5 0.34375 13.1562 0 12.75 0H9.75C9.3125 0 9 0.34375 9 0.75C9 1.1875 9.3125 1.5 9.75 1.5H10.5V7.5C10.5 9.4375 8.90625 11 7 11C5.0625 11 3.5 9.4375 3.5 7.5V1.5H4.25C4.65625 1.5 5 1.1875 5 0.75C5 0.34375 4.65625 0 4.25 0H1.25C0.8125 0 0.5 0.34375 0.5 0.75C0.5 1.1875 0.8125 1.5 1.25 1.5ZM13.25 14.5H0.75C0.3125 14.5 0 14.8438 0 15.25C0 15.6875 0.3125 16 0.75 16H13.25C13.6562 16 14 15.6875 14 15.25C14 14.8438 13.6562 14.5 13.25 14.5Z"},null,-1)];function g7(n,e){return c.openBlock(),c.createElementBlock("svg",p7,m7)}const Ta=me(h7,[["render",g7]]),v7={},y7={class:"icon icon-videocall",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"14",viewBox:"0 0 20 14"},C7=[c.createElementVNode("path",{d:"M12.673.25c1.48 0 2.68 1.186 2.68 2.648V4.16l2.76-1.82a.733.733 0 0 1 1.13.502l.007.1v7.703a.73.73 0 0 1-1.035.657l-2.862-1.298v.598c0 1.462-1.2 2.648-2.68 2.648H2.93C1.45 13.25.25 12.064.25 10.602V2.898C.25 1.436 1.45.25 2.93.25h9.743zm0 1.444H2.93a1.21 1.21 0 0 0-1.217 1.204v7.704a1.21 1.21 0 0 0 1.217 1.204h9.744a1.21 1.21 0 0 0 1.218-1.204V5.53 2.898a1.21 1.21 0 0 0-1.218-1.204zm5.115 2.597l-2.435 1.605v2.519l2.435 1.104V4.291z"},null,-1)];function E7(n,e){return c.openBlock(),c.createElementBlock("svg",y7,C7)}const Xd=me(v7,[["render",E7]]),b7={},A7=[c.createElementVNode("path",{d:"M14.1719 4.1875C14.2422 4.1875 14.2773 4.22266 14.3125 4.25781V8.26562L16 9.56641V8.23047L19.9375 5.76953V12.6602L21.5898 13.9609C21.5898 13.8906 21.625 13.8555 21.625 13.7852V4.75C21.625 4.08203 21.0625 3.625 20.4648 3.625C20.2539 3.625 20.043 3.69531 19.832 3.83594L16 6.26172V4.1875C16 3.27344 15.1562 2.5 14.1719 2.5H6.96484L9.10938 4.1875H14.1719ZM22.5391 16.8086L17.0898 12.5898L14.3125 10.4102L4.29297 2.57031L4.22266 2.5L1.51562 0.390625C1.26953 0.179688 0.917969 0.25 0.707031 0.460938L0.355469 0.917969C0.179688 1.16406 0.214844 1.51562 0.460938 1.69141L2.00781 2.92188L3.37891 4.01172L21.4844 18.1445C21.6953 18.3203 22.082 18.2852 22.2578 18.0391L22.6094 17.6172C22.8203 17.3711 22.75 17.0195 22.5391 16.8086ZM3.16797 14.3125C3.09766 14.3125 3.0625 14.3125 3.0625 14.2773V5.875L1.375 4.57422V14.3477C1.375 15.2617 2.18359 16 3.16797 16H14.1719C14.6641 16 15.0859 15.8242 15.4023 15.543L13.8555 14.3125H3.16797Z"},null,-1)];function w7(n,e,t,r,o,i){return c.openBlock(),c.createElementBlock("svg",c.mergeProps(n.$attrs,{class:"icon icon-video-disabled",width:"23",height:"19",viewBox:"0 0 23 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),A7,16)}const qd=me(b7,[["render",w7]]),S7={},k7={width:"162",height:"124",viewBox:"0 0 162 124",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon icon-zorgkaart-nederland"},x7=[c.createStaticVNode('<path d="M61.5 38.1C60 38.1 58.8 36.9 58.8 35.4C58.8 33.9 60 32.7 61.5 32.7C63 32.7 64.2 33.9 64.2 35.4C64.2 36.9 63 38.1 61.5 38.1Z" fill="#F29018"></path><path d="M68.1 38.1C66.6 38.1 65.4 36.9 65.4 35.4C65.4 33.9 66.6 32.7 68.1 32.7C69.6 32.7 70.8 33.9 70.8 35.4C70.8 36.9 69.6 38.1 68.1 38.1Z" fill="#F29018"></path><path d="M74.6 38.1C73.1 38.1 71.9 36.9 71.9 35.4C71.9 33.9 73.1 32.7 74.6 32.7C76.1 32.7 77.3 33.9 77.3 35.4C77.3 36.9 76.1 38.1 74.6 38.1Z" fill="#F29018"></path><path d="M81.1 38.1C79.6 38.1 78.4 36.9 78.4 35.4C78.4 33.9 79.6 32.7 81.1 32.7C82.6 32.7 83.8 33.9 83.8 35.4C83.8 36.9 82.6 38.1 81.1 38.1Z" fill="#F29018"></path><path d="M61.5 44.6C60 44.6 58.8 43.4 58.8 41.9C58.8 40.4 60 39.2 61.5 39.2C63 39.2 64.2 40.4 64.2 41.9C64.2 43.4 63 44.6 61.5 44.6Z" fill="#F29018"></path><path d="M68.1 44.6C66.6 44.6 65.4 43.4 65.4 41.9C65.4 40.4 66.6 39.2 68.1 39.2C69.6 39.2 70.8 40.4 70.8 41.9C70.8 43.4 69.6 44.6 68.1 44.6Z" fill="#F29018"></path><path d="M74.6 44.6C73.1 44.6 71.9 43.4 71.9 41.9C71.9 40.4 73.1 39.2 74.6 39.2C76.1 39.2 77.3 40.4 77.3 41.9C77.3 43.4 76.1 44.6 74.6 44.6Z" fill="#F29018"></path><path d="M61.5 51.2C60 51.2 58.8 50 58.8 48.5C58.8 47 60 45.8 61.5 45.8C63 45.8 64.2 47 64.2 48.5C64.2 50 63 51.2 61.5 51.2Z" fill="#F29018"></path><path d="M68.1 51.2C66.6 51.2 65.4 50 65.4 48.5C65.4 47 66.6 45.8 68.1 45.8C69.6 45.8 70.8 47 70.8 48.5C70.8 50 69.6 51.2 68.1 51.2Z" fill="#F29018"></path><path d="M74.6 51.2C73.1 51.2 71.9 50 71.9 48.5C71.9 47 73.1 45.8 74.6 45.8C76.1 45.8 77.3 47 77.3 48.5C77.3 50 76.1 51.2 74.6 51.2Z" fill="#F29018"></path><path d="M61.5 57.7C60 57.7 58.8 56.5 58.8 55C58.8 53.5 60 52.3 61.5 52.3C63 52.3 64.2 53.5 64.2 55C64.2 56.5 63 57.7 61.5 57.7Z" fill="#F29018"></path><path d="M68.1 57.7C66.6 57.7 65.4 56.5 65.4 55C65.4 53.5 66.6 52.3 68.1 52.3C69.6 52.3 70.8 53.5 70.8 55C70.8 56.5 69.6 57.7 68.1 57.7Z" fill="#F29018"></path><path d="M74.6 57.7C73.1 57.7 71.9 56.5 71.9 55C71.9 53.5 73.1 52.3 74.6 52.3C76.1 52.3 77.3 53.5 77.3 55C77.3 56.5 76.1 57.7 74.6 57.7Z" fill="#F29018"></path><path d="M41.9 57.7C40.4 57.7 39.2 56.5 39.2 55C39.2 53.5 40.4 52.3 41.9 52.3C43.4 52.3 44.6 53.5 44.6 55C44.6 56.5 43.4 57.7 41.9 57.7Z" fill="#F29018"></path><path d="M35.4 57.7C33.9 57.7 32.7 56.5 32.7 55C32.7 53.5 33.9 52.3 35.4 52.3C36.9 52.3 38.1 53.5 38.1 55C38.1 56.5 36.9 57.7 35.4 57.7Z" fill="#F29018"></path><path d="M41.9 51.2C40.4 51.2 39.2 50 39.2 48.5C39.2 47 40.4 45.8 41.9 45.8C43.4 45.8 44.6 47 44.6 48.5C44.6 50 43.4 51.2 41.9 51.2Z" fill="#F29018"></path><path d="M35.4 51.2C33.9 51.2 32.7 50 32.7 48.5C32.7 47 33.9 45.8 35.4 45.8C36.9 45.8 38.1 47 38.1 48.5C38.1 50 36.9 51.2 35.4 51.2Z" fill="#F29018"></path><path d="M41.9 44.6C40.4 44.6 39.2 43.4 39.2 41.9C39.2 40.4 40.4 39.2 41.9 39.2C43.4 39.2 44.6 40.4 44.6 41.9C44.6 43.4 43.4 44.6 41.9 44.6Z" fill="#F29018"></path><path d="M35.4 44.6C33.9 44.6 32.7 43.4 32.7 41.9C32.7 40.4 33.9 39.2 35.4 39.2C36.9 39.2 38.1 40.4 38.1 41.9C38.1 43.4 36.9 44.6 35.4 44.6Z" fill="#F29018"></path><path d="M41.9 38.1C40.4 38.1 39.2 36.9 39.2 35.4C39.2 33.9 40.4 32.7 41.9 32.7C43.4 32.7 44.6 33.9 44.6 35.4C44.6 36.9 43.4 38.1 41.9 38.1Z" fill="#F29018"></path><path d="M35.4 38.1C33.9 38.1 32.7 36.9 32.7 35.4C32.7 33.9 33.9 32.7 35.4 32.7C36.9 32.7 38.1 33.9 38.1 35.4C38.1 36.9 36.9 38.1 35.4 38.1Z" fill="#F29018"></path><path d="M48.4 57.7C46.9 57.7 45.7 56.5 45.7 55C45.7 53.5 46.9 52.3 48.4 52.3C49.9 52.3 51.1 53.5 51.1 55C51.2 56.5 49.9 57.7 48.4 57.7Z" fill="#F29018"></path><path d="M55 57.7C53.5 57.7 52.3 56.5 52.3 55C52.3 53.5 53.5 52.3 55 52.3C56.5 52.3 57.7 53.5 57.7 55C57.7 56.5 56.5 57.7 55 57.7Z" fill="#F29018"></path><path d="M61.5 64.3C60 64.3 58.8 63.1 58.8 61.6C58.8 60.1 60 58.9 61.5 58.9C63 58.9 64.2 60.1 64.2 61.6C64.2 63 63 64.3 61.5 64.3Z" fill="#F29018"></path><path d="M68.1 64.3C66.6 64.3 65.4 63.1 65.4 61.6C65.4 60.1 66.6 58.9 68.1 58.9C69.6 58.9 70.8 60.1 70.8 61.6C70.8 63 69.6 64.3 68.1 64.3Z" fill="#F29018"></path><path d="M74.6 64.3C73.1 64.3 71.9 63.1 71.9 61.6C71.9 60.1 73.1 58.9 74.6 58.9C76.1 58.9 77.3 60.1 77.3 61.6C77.3 63 76.1 64.3 74.6 64.3Z" fill="#F29018"></path><path d="M41.9 64.3C40.4 64.3 39.2 63.1 39.2 61.6C39.2 60.1 40.4 58.9 41.9 58.9C43.4 58.9 44.6 60.1 44.6 61.6C44.6 63 43.4 64.3 41.9 64.3Z" fill="#F29018"></path><path d="M35.4 64.3C33.9 64.3 32.7 63.1 32.7 61.6C32.7 60.1 33.9 58.9 35.4 58.9C36.9 58.9 38.1 60 38.1 61.5C38.1 63 36.9 64.3 35.4 64.3Z" fill="#F29018"></path><path d="M28.8 64.3C27.3 64.3 26.1 63.1 26.1 61.6C26.1 60.1 27.3 58.9 28.8 58.9C30.3 58.9 31.5 60.1 31.5 61.6C31.5 63 30.3 64.3 28.8 64.3Z" fill="#F29018"></path><path d="M48.4 64.3C46.9 64.3 45.7 63.1 45.7 61.6C45.7 60.1 46.9 58.9 48.4 58.9C49.9 58.9 51.1 60.1 51.1 61.6C51.2 63 49.9 64.3 48.4 64.3Z" fill="#F29018"></path><path d="M55 64.3C53.5 64.3 52.3 63.1 52.3 61.6C52.3 60.1 53.5 58.9 55 58.9C56.5 58.9 57.7 60.1 57.7 61.6C57.7 63 56.5 64.3 55 64.3Z" fill="#F29018"></path><path d="M61.5 70.8C60 70.8 58.8 69.6 58.8 68.1C58.8 66.6 60 65.4 61.5 65.4C63 65.4 64.2 66.6 64.2 68.1C64.2 69.6 63 70.8 61.5 70.8Z" fill="#F29018"></path><path d="M68.1 70.8C66.6 70.8 65.4 69.6 65.4 68.1C65.4 66.6 66.6 65.4 68.1 65.4C69.6 65.4 70.8 66.6 70.8 68.1C70.8 69.6 69.6 70.8 68.1 70.8Z" fill="#F29018"></path><path d="M74.6 70.8C73.1 70.8 71.9 69.6 71.9 68.1C71.9 66.6 73.1 65.4 74.6 65.4C76.1 65.4 77.3 66.6 77.3 68.1C77.3 69.6 76.1 70.8 74.6 70.8Z" fill="#F29018"></path><path d="M41.9 70.8C40.4 70.8 39.2 69.6 39.2 68.1C39.2 66.6 40.4 65.4 41.9 65.4C43.4 65.4 44.6 66.6 44.6 68.1C44.6 69.6 43.4 70.8 41.9 70.8Z" fill="#F29018"></path><path d="M35.4 70.8C33.9 70.8 32.7 69.6 32.7 68.1C32.7 66.6 33.9 65.4 35.4 65.4C36.9 65.4 38.1 66.6 38.1 68.1C38.1 69.6 36.9 70.8 35.4 70.8Z" fill="#F29018"></path><path d="M28.8 70.8C27.3 70.8 26.1 69.6 26.1 68.1C26.1 66.6 27.3 65.4 28.8 65.4C30.3 65.4 31.5 66.6 31.5 68.1C31.5 69.6 30.3 70.8 28.8 70.8Z" fill="#F29018"></path><path d="M48.4 70.8C46.9 70.8 45.7 69.6 45.7 68.1C45.7 66.6 46.9 65.4 48.4 65.4C49.9 65.4 51.1 66.6 51.1 68.1C51.2 69.6 49.9 70.8 48.4 70.8Z" fill="#F29018"></path><path d="M55 70.8C53.5 70.8 52.3 69.6 52.3 68.1C52.3 66.6 53.5 65.4 55 65.4C56.5 65.4 57.7 66.6 57.7 68.1C57.7 69.6 56.5 70.8 55 70.8Z" fill="#F29018"></path><path d="M55 77.3C53.5 77.3 52.3 76.1 52.3 74.6C52.3 73.1 53.5 71.9 55 71.9C56.5 71.9 57.7 73.1 57.7 74.6C57.7 76.1 56.5 77.3 55 77.3Z" fill="#F29018"></path><path d="M61.5 77.3C60 77.3 58.8 76.1 58.8 74.6C58.8 73.1 60 71.9 61.5 71.9C63 71.9 64.2 73.1 64.2 74.6C64.2 76.1 63 77.3 61.5 77.3Z" fill="#F29018"></path><path d="M68.1 77.3C66.6 77.3 65.4 76.1 65.4 74.6C65.4 73.1 66.6 71.9 68.1 71.9C69.6 71.9 70.8 73.1 70.8 74.6C70.8 76.1 69.6 77.3 68.1 77.3Z" fill="#F29018"></path><path d="M35.4 77.3C33.9 77.3 32.7 76.1 32.7 74.6C32.7 73.1 33.9 71.9 35.4 71.9C36.9 71.9 38.1 73.1 38.1 74.6C38.1 76.1 36.9 77.3 35.4 77.3Z" fill="#F29018"></path><path d="M28.8 77.3C27.3 77.3 26.1 76.1 26.1 74.6C26.1 73.1 27.3 71.9 28.8 71.9C30.3 71.9 31.5 73.1 31.5 74.6C31.5 76.1 30.3 77.3 28.8 77.3Z" fill="#F29018"></path><path d="M22.3 77.3C20.8 77.3 19.6 76.1 19.6 74.6C19.6 73.1 20.8 71.9 22.3 71.9C23.8 71.9 25 73.1 25 74.6C25 76.1 23.8 77.3 22.3 77.3Z" fill="#F29018"></path><path d="M41.9 77.3C40.4 77.3 39.2 76.1 39.2 74.6C39.2 73.1 40.4 71.9 41.9 71.9C43.4 71.9 44.6 73.1 44.6 74.6C44.6 76.1 43.4 77.3 41.9 77.3Z" fill="#F29018"></path><path d="M48.4 77.3C46.9 77.3 45.7 76.1 45.7 74.6C45.7 73.1 46.9 71.9 48.4 71.9C49.9 71.9 51.1 73.1 51.1 74.6C51.2 76.1 49.9 77.3 48.4 77.3Z" fill="#F29018"></path><path d="M55 83.9C53.5 83.9 52.3 82.7 52.3 81.2C52.3 79.7 53.5 78.5 55 78.5C56.5 78.5 57.7 79.7 57.7 81.2C57.7 82.7 56.5 83.9 55 83.9Z" fill="#F29018"></path><path d="M61.5 83.9C60 83.9 58.8 82.7 58.8 81.2C58.8 79.7 60 78.5 61.5 78.5C63 78.5 64.2 79.7 64.2 81.2C64.2 82.7 63 83.9 61.5 83.9Z" fill="#F29018"></path><path d="M68.1 83.9C66.6 83.9 65.4 82.7 65.4 81.2C65.4 79.7 66.6 78.5 68.1 78.5C69.6 78.5 70.8 79.7 70.8 81.2C70.8 82.7 69.6 83.9 68.1 83.9Z" fill="#F29018"></path><path d="M35.4 83.9C33.9 83.9 32.7 82.7 32.7 81.2C32.7 79.7 33.9 78.5 35.4 78.5C36.9 78.5 38.1 79.7 38.1 81.2C38.1 82.7 36.9 83.9 35.4 83.9Z" fill="#F29018"></path><path d="M28.8 83.9C27.3 83.9 26.1 82.7 26.1 81.2C26.1 79.7 27.3 78.5 28.8 78.5C30.3 78.5 31.5 79.7 31.5 81.2C31.5 82.7 30.3 83.9 28.8 83.9Z" fill="#F29018"></path><path d="M22.3 83.9C20.8 83.9 19.6 82.7 19.6 81.2C19.6 79.7 20.8 78.5 22.3 78.5C23.8 78.5 25 79.7 25 81.2C25 82.7 23.8 83.9 22.3 83.9Z" fill="#F29018"></path><path d="M41.9 83.9C40.4 83.9 39.2 82.7 39.2 81.2C39.2 79.7 40.4 78.5 41.9 78.5C43.4 78.5 44.6 79.7 44.6 81.2C44.6 82.7 43.4 83.9 41.9 83.9Z" fill="#F29018"></path><path d="M48.4 83.9C46.9 83.9 45.7 82.7 45.7 81.2C45.7 79.7 46.9 78.5 48.4 78.5C49.9 78.5 51.1 79.7 51.1 81.2C51.2 82.7 49.9 83.9 48.4 83.9Z" fill="#F29018"></path><path d="M55 90.4C53.5 90.4 52.3 89.2 52.3 87.7C52.3 86.2 53.5 85 55 85C56.5 85 57.7 86.2 57.7 87.7C57.7 89.2 56.5 90.4 55 90.4Z" fill="#F29018"></path><path d="M61.5 90.4C60 90.4 58.8 89.2 58.8 87.7C58.8 86.2 60 85 61.5 85C63 85 64.2 86.2 64.2 87.7C64.2 89.2 63 90.4 61.5 90.4Z" fill="#F29018"></path><path d="M68.1 90.4C66.6 90.4 65.4 89.2 65.4 87.7C65.4 86.2 66.6 85 68.1 85C69.6 85 70.8 86.2 70.8 87.7C70.8 89.2 69.6 90.4 68.1 90.4Z" fill="#F29018"></path><path d="M74.6 90.4C73.1 90.4 71.9 89.2 71.9 87.7C71.9 86.2 73.1 85 74.6 85C76.1 85 77.3 86.2 77.3 87.7C77.3 89.2 76.1 90.4 74.6 90.4Z" fill="#F29018"></path><path d="M35.4 90.4C33.9 90.4 32.7 89.2 32.7 87.7C32.7 86.2 33.9 85 35.4 85C36.9 85 38.1 86.2 38.1 87.7C38.1 89.2 36.9 90.4 35.4 90.4Z" fill="#F29018"></path><path d="M28.8 90.4C27.3 90.4 26.1 89.2 26.1 87.7C26.1 86.2 27.3 85 28.8 85C30.3 85 31.5 86.2 31.5 87.7C31.5 89.2 30.3 90.4 28.8 90.4Z" fill="#F29018"></path><path d="M22.3 90.4C20.8 90.4 19.6 89.2 19.6 87.7C19.6 86.2 20.8 85 22.3 85C23.8 85 25 86.2 25 87.7C25 89.2 23.8 90.4 22.3 90.4Z" fill="#F29018"></path><path d="M15.8 90.4C14.3 90.4 13.1 89.2 13.1 87.7C13.1 86.2 14.3 85 15.8 85C17.3 85 18.5 86.2 18.5 87.7C18.5 89.2 17.3 90.4 15.8 90.4Z" fill="#F29018"></path><path d="M41.9 90.4C40.4 90.4 39.2 89.2 39.2 87.7C39.2 86.2 40.4 85 41.9 85C43.4 85 44.6 86.2 44.6 87.7C44.6 89.2 43.4 90.4 41.9 90.4Z" fill="#F29018"></path><path d="M48.4 90.4C46.9 90.4 45.7 89.2 45.7 87.7C45.7 86.2 46.9 85 48.4 85C49.9 85 51.1 86.2 51.1 87.7C51.2 89.2 49.9 90.4 48.4 90.4Z" fill="#F29018"></path><path d="M55 96.9C53.5 96.9 52.3 95.7 52.3 94.2C52.3 92.7 53.5 91.5 55 91.5C56.5 91.5 57.7 92.7 57.7 94.2C57.7 95.7 56.5 96.9 55 96.9Z" fill="#F29018"></path><path d="M61.5 96.9C60 96.9 58.8 95.7 58.8 94.2C58.8 92.7 60 91.5 61.5 91.5C63 91.5 64.2 92.7 64.2 94.2C64.2 95.7 63 96.9 61.5 96.9Z" fill="#F29018"></path><path d="M68.1 96.9C66.6 96.9 65.4 95.7 65.4 94.2C65.4 92.7 66.6 91.5 68.1 91.5C69.6 91.5 70.8 92.7 70.8 94.2C70.8 95.7 69.6 96.9 68.1 96.9Z" fill="#F29018"></path><path d="M74.6 96.9C73.1 96.9 71.9 95.7 71.9 94.2C71.9 92.7 73.1 91.5 74.6 91.5C76.1 91.5 77.3 92.7 77.3 94.2C77.3 95.7 76.1 96.9 74.6 96.9Z" fill="#F29018"></path><path d="M68.1 103.5C66.6 103.5 65.4 102.3 65.4 100.8C65.4 99.3 66.6 98.1 68.1 98.1C69.6 98.1 70.8 99.3 70.8 100.8C70.8 102.3 69.6 103.5 68.1 103.5Z" fill="#F29018"></path><path d="M74.6 103.5C73.1 103.5 71.9 102.3 71.9 100.8C71.9 99.3 73.1 98.1 74.6 98.1C76.1 98.1 77.3 99.3 77.3 100.8C77.3 102.3 76.1 103.5 74.6 103.5Z" fill="#F29018"></path><path d="M68.1 116.6C66.6 116.6 65.4 115.4 65.4 113.9C65.4 112.4 66.6 111.2 68.1 111.2C69.6 111.2 70.8 112.4 70.8 113.9C70.8 115.3 69.6 116.6 68.1 116.6Z" fill="#F29018"></path><path d="M74.6 116.6C73.1 116.6 71.9 115.4 71.9 113.9C71.9 112.4 73.1 111.2 74.6 111.2C76.1 111.2 77.3 112.4 77.3 113.9C77.3 115.3 76.1 116.6 74.6 116.6Z" fill="#F29018"></path><path d="M74.6 110C73.1 110 71.9 108.8 71.9 107.3C71.9 105.8 73.1 104.6 74.6 104.6C76.1 104.6 77.3 105.8 77.3 107.3C77.3 108.8 76.1 110 74.6 110Z" fill="#F29018"></path><path d="M68.1 123.1C66.6 123.1 65.4 121.9 65.4 120.4C65.4 118.9 66.6 117.7 68.1 117.7C69.6 117.7 70.8 118.9 70.8 120.4C70.8 121.9 69.6 123.1 68.1 123.1Z" fill="#F29018"></path><path d="M74.6 123.1C73.1 123.1 71.9 121.9 71.9 120.4C71.9 118.9 73.1 117.7 74.6 117.7C76.1 117.7 77.3 118.9 77.3 120.4C77.3 121.9 76.1 123.1 74.6 123.1Z" fill="#F29018"></path><path d="M35.4 96.9C33.9 96.9 32.7 95.7 32.7 94.2C32.7 92.7 33.9 91.5 35.4 91.5C36.9 91.5 38.1 92.7 38.1 94.2C38.1 95.7 36.9 96.9 35.4 96.9Z" fill="#F29018"></path><path d="M28.8 96.9C27.3 96.9 26.1 95.7 26.1 94.2C26.1 92.7 27.3 91.5 28.8 91.5C30.3 91.5 31.5 92.7 31.5 94.2C31.5 95.7 30.3 96.9 28.8 96.9Z" fill="#F29018"></path><path d="M22.3 96.9C20.8 96.9 19.6 95.7 19.6 94.2C19.6 92.7 20.8 91.5 22.3 91.5C23.8 91.5 25 92.7 25 94.2C25 95.7 23.8 96.9 22.3 96.9Z" fill="#F29018"></path><path d="M15.8 96.9C14.3 96.9 13.1 95.7 13.1 94.2C13.1 92.7 14.3 91.5 15.8 91.5C17.3 91.5 18.5 92.7 18.5 94.2C18.5 95.7 17.3 96.9 15.8 96.9Z" fill="#F29018"></path><path d="M9.2 96.9C7.7 96.9 6.5 95.7 6.5 94.2C6.5 92.7 7.7 91.5 9.2 91.5C10.7 91.5 11.9 92.7 11.9 94.2C11.9 95.7 10.7 96.9 9.2 96.9Z" fill="#F29018"></path><path d="M22.3 103.5C20.8 103.5 19.6 102.3 19.6 100.8C19.6 99.3 20.8 98.1 22.3 98.1C23.8 98.1 25 99.3 25 100.8C25 102.3 23.8 103.5 22.3 103.5Z" fill="#F29018"></path><path d="M15.8 103.5C14.3 103.5 13.1 102.3 13.1 100.8C13.1 99.3 14.3 98.1 15.8 98.1C17.3 98.1 18.5 99.3 18.5 100.8C18.5 102.3 17.3 103.5 15.8 103.5Z" fill="#F29018"></path><path d="M9.2 103.5C7.7 103.5 6.5 102.3 6.5 100.8C6.5 99.3 7.7 98.1 9.2 98.1C10.7 98.1 11.9 99.3 11.9 100.8C11.9 102.3 10.7 103.5 9.2 103.5Z" fill="#F29018"></path><path d="M2.7 103.5C1.2 103.5 0 102.3 0 100.8C0 99.3 1.2 98.1 2.7 98.1C4.2 98.1 5.4 99.3 5.4 100.8C5.4 102.3 4.2 103.5 2.7 103.5Z" fill="#F29018"></path><path d="M41.9 96.9C40.4 96.9 39.2 95.7 39.2 94.2C39.2 92.7 40.4 91.5 41.9 91.5C43.4 91.5 44.6 92.7 44.6 94.2C44.6 95.7 43.4 96.9 41.9 96.9Z" fill="#F29018"></path><path d="M48.4 96.9C46.9 96.9 45.7 95.7 45.7 94.2C45.7 92.7 46.9 91.5 48.4 91.5C49.9 91.5 51.1 92.7 51.1 94.2C51.2 95.7 49.9 96.9 48.4 96.9Z" fill="#F29018"></path><path d="M81.1 44.6C79.6 44.6 78.4 43.4 78.4 41.9C78.4 40.4 79.6 39.2 81.1 39.2C82.6 39.2 83.8 40.4 83.8 41.9C83.9 43.4 82.6 44.6 81.1 44.6Z" fill="#F29018"></path><path d="M41.9 31.6C40.4 31.6 39.2 30.4 39.2 28.9C39.2 27.4 40.4 26.2 41.9 26.2C43.4 26.2 44.6 27.4 44.6 28.9C44.6 30.4 43.4 31.6 41.9 31.6Z" fill="#F29018"></path><path d="M61.5 31.6C60 31.6 58.8 30.4 58.8 28.9C58.8 27.4 60 26.2 61.5 26.2C63 26.2 64.2 27.4 64.2 28.9C64.2 30.4 63 31.6 61.5 31.6Z" fill="#F29018"></path><path d="M68.1 31.6C66.6 31.6 65.4 30.4 65.4 28.9C65.4 27.4 66.6 26.2 68.1 26.2C69.6 26.2 70.8 27.4 70.8 28.9C70.8 30.4 69.6 31.6 68.1 31.6Z" fill="#F29018"></path><path d="M74.6 31.6C73.1 31.6 71.9 30.4 71.9 28.9C71.9 27.4 73.1 26.2 74.6 26.2C76.1 26.2 77.3 27.4 77.3 28.9C77.3 30.4 76.1 31.6 74.6 31.6Z" fill="#F29018"></path><path d="M81.1 31.6C79.6 31.6 78.4 30.4 78.4 28.9C78.4 27.4 79.6 26.2 81.1 26.2C82.6 26.2 83.8 27.4 83.8 28.9C83.8 30.4 82.6 31.6 81.1 31.6Z" fill="#F29018"></path><path d="M61.5 25C60 25 58.8 23.8 58.8 22.3C58.8 20.8 60 19.6 61.5 19.6C63 19.6 64.2 20.8 64.2 22.3C64.2 23.8 63 25 61.5 25Z" fill="#F29018"></path><path d="M55 31.6C53.5 31.6 52.3 30.4 52.3 28.9C52.3 27.4 53.5 26.2 55 26.2C56.5 26.2 57.7 27.4 57.7 28.9C57.7 30.4 56.5 31.6 55 31.6Z" fill="#F29018"></path><path d="M55 25C53.5 25 52.3 23.8 52.3 22.3C52.3 20.8 53.5 19.6 55 19.6C56.5 19.6 57.7 20.8 57.7 22.3C57.7 23.8 56.5 25 55 25Z" fill="#F29018"></path><path d="M41.9 18.5C40.4 18.5 39.2 17.3 39.2 15.8C39.2 14.3 40.4 13.1 41.9 13.1C43.4 13.1 44.6 14.3 44.6 15.8C44.6 17.3 43.4 18.5 41.9 18.5Z" fill="#F29018"></path><path d="M48.4 11.9C46.9 11.9 45.7 10.7 45.7 9.2C45.7 7.7 46.9 6.5 48.4 6.5C49.9 6.5 51.1 7.7 51.1 9.2C51.2 10.7 49.9 11.9 48.4 11.9Z" fill="#F29018"></path><path d="M55 5.4C53.5 5.4 52.3 4.2 52.3 2.7C52.3 1.2 53.5 0 55 0C56.5 0 57.7 1.2 57.7 2.7C57.7 4.2 56.5 5.4 55 5.4Z" fill="#F29018"></path><path d="M68.1 25C66.6 25 65.4 23.8 65.4 22.3C65.4 20.8 66.6 19.6 68.1 19.6C69.6 19.6 70.8 20.8 70.8 22.3C70.8 23.8 69.6 25 68.1 25Z" fill="#F29018"></path><path d="M74.6 25C73.1 25 71.9 23.8 71.9 22.3C71.9 20.8 73.1 19.6 74.6 19.6C76.1 19.6 77.3 20.8 77.3 22.3C77.3 23.8 76.1 25 74.6 25Z" fill="#F29018"></path><path d="M81.1 25C79.6 25 78.4 23.8 78.4 22.3C78.4 20.8 79.6 19.6 81.1 19.6C82.6 19.6 83.8 20.8 83.8 22.3C83.8 23.8 82.6 25 81.1 25Z" fill="#F29018"></path><path d="M61.5 18.5C60 18.5 58.8 17.3 58.8 15.8C58.8 14.3 60 13.1 61.5 13.1C63 13.1 64.2 14.3 64.2 15.8C64.2 17.3 63 18.5 61.5 18.5Z" fill="#F29018"></path><path d="M68.1 18.5C66.6 18.5 65.4 17.3 65.4 15.8C65.4 14.3 66.6 13.1 68.1 13.1C69.6 13.1 70.8 14.3 70.8 15.8C70.8 17.3 69.6 18.5 68.1 18.5Z" fill="#F29018"></path><path d="M74.6 18.5C73.1 18.5 71.9 17.3 71.9 15.8C71.9 14.3 73.1 13.1 74.6 13.1C76.1 13.1 77.3 14.3 77.3 15.8C77.3 17.3 76.1 18.5 74.6 18.5Z" fill="#F29018"></path><path d="M81.1 18.5C79.6 18.5 78.4 17.3 78.4 15.8C78.4 14.3 79.6 13.1 81.1 13.1C82.6 13.1 83.8 14.3 83.8 15.8C83.8 17.3 82.6 18.5 81.1 18.5Z" fill="#F29018"></path><path d="M87.7 31.6C86.2 31.6 85 30.4 85 28.9C85 27.4 86.2 26.2 87.7 26.2C89.2 26.2 90.4 27.4 90.4 28.9C90.4 30.4 89.2 31.6 87.7 31.6Z" fill="#F29018"></path><path d="M87.7 25C86.2 25 85 23.8 85 22.3C85 20.8 86.2 19.6 87.7 19.6C89.2 19.6 90.4 20.8 90.4 22.3C90.4 23.8 89.2 25 87.7 25Z" fill="#F29018"></path><path d="M87.7 18.5C86.2 18.5 85 17.3 85 15.8C85 14.3 86.2 13.1 87.7 13.1C89.2 13.1 90.4 14.3 90.4 15.8C90.4 17.3 89.2 18.5 87.7 18.5Z" fill="#F29018"></path><path d="M68.1 11.9C66.6 11.9 65.4 10.7 65.4 9.2C65.4 7.7 66.6 6.5 68.1 6.5C69.6 6.5 70.8 7.7 70.8 9.2C70.8 10.7 69.6 11.9 68.1 11.9Z" fill="#F29018"></path><path d="M74.6 11.9C73.1 11.9 71.9 10.7 71.9 9.2C71.9 7.7 73.1 6.5 74.6 6.5C76.1 6.5 77.3 7.7 77.3 9.2C77.3 10.7 76.1 11.9 74.6 11.9Z" fill="#F29018"></path><path d="M81.1 11.9C79.6 11.9 78.4 10.7 78.4 9.2C78.4 7.7 79.6 6.5 81.1 6.5C82.6 6.5 83.8 7.7 83.8 9.2C83.9 10.7 82.6 11.9 81.1 11.9Z" fill="#F29018"></path><path d="M87.7 11.9C86.2 11.9 85 10.7 85 9.2C85 7.7 86.2 6.5 87.7 6.5C89.2 6.5 90.4 7.7 90.4 9.2C90.4 10.7 89.2 11.9 87.7 11.9Z" fill="#F29018"></path><path d="M94.2 25C92.7 25 91.5 23.8 91.5 22.3C91.5 20.8 92.7 19.6 94.2 19.6C95.7 19.6 96.9 20.8 96.9 22.3C96.9 23.8 95.7 25 94.2 25Z" fill="#F29018"></path><path d="M94.2 18.5C92.7 18.5 91.5 17.3 91.5 15.8C91.5 14.3 92.7 13.1 94.2 13.1C95.7 13.1 96.9 14.3 96.9 15.8C96.9 17.3 95.7 18.5 94.2 18.5Z" fill="#F29018"></path><path d="M135.1 58.6V61.6C135.1 61.6 135.1 64.6 132.1 64.6H120.1V75V76.6C120.1 76.7 120.1 76.8 120.1 76.9C120.1 77 120.1 77 120.1 77.1C120 77.8 119.8 78.3 119.4 78.6C119.4 78.6 119.4 78.7 119.3 78.7C119.2 78.8 119.1 78.9 119 79C118.7 79.3 118.3 79.5 117.7 79.6C117.3 79.7 117.1 79.7 117.1 79.7H114.1C114.1 79.7 113.8 79.7 113.5 79.6C112.9 79.5 112.5 79.3 112.2 79C112.1 78.9 112 78.8 111.9 78.7C111.9 78.7 111.9 78.6 111.8 78.6C111.5 78.2 111.2 77.7 111.1 77.1C111.1 77 111.1 77 111.1 76.9C111.1 76.8 111.1 76.7 111.1 76.6V75V64.6H99.1C96.1 64.6 96.1 61.6 96.1 61.6V58.6C96.1 55.6 99.1 55.6 99.1 55.6H111.1V45.5V43.7C111.1 43.7 111.1 43.4 111.2 43C111.3 42.5 111.5 42.1 111.7 41.8C111.8 41.7 111.9 41.6 112 41.5L112.1 41.4C112.4 41.1 112.9 40.9 113.5 40.8C113.8 40.7 114 40.7 114.1 40.7H117.1C117.1 40.7 117.4 40.7 117.7 40.8C118.3 40.9 118.8 41.1 119.1 41.4L119.2 41.5C119.3 41.6 119.4 41.7 119.5 41.8C119.8 42.1 119.9 42.5 120 43C120.1 43.4 120.1 43.7 120.1 43.7V45.5V55.6H132.1C132.1 55.6 135.1 55.6 135.1 58.6Z" fill="#F29018"></path><path d="M132.1 83.9C119.1 92.9 101.2 89.6 92.3 76.6C83.4 63.6 86.6 45.7 99.6 36.8C112.6 27.8 130.5 31.1 139.4 44.1C148.3 57.1 145.1 74.9 132.1 83.9ZM149.2 37.3C136.5 18.9 111.2 14.2 92.8 27C74.4 39.7 69.7 65 82.5 83.4C93.8 99.8 115 105.2 132.5 97.4L148.1 120C150.4 123.3 154.9 124.1 158.3 121.8C161.6 119.5 162.5 115 160.2 111.7L144.5 89C158.1 75.4 160.5 53.6 149.2 37.3Z" fill="#110E72"></path>',117)];function T7(n,e){return c.openBlock(),c.createElementBlock("svg",k7,x7)}const eu=me(S7,[["render",T7]]),ui={PRIMARY:"primary",SECONDARY:"secondary",DANGER:"danger",WARNING:"warning",INFO:"info",SUCCESS:"success",LIGHT:"light",GRAY:"gray"},M7={key:0,class:"b-d-alert-title"},yo=c.defineComponent({__name:"BDAlert",props:{variant:{default:ui.PRIMARY},title:{default:""}},setup(n){const e=n,t=c.computed(()=>["alert",`alert-${e.variant}`]);return(r,o)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(t.value),role:"alert"},[r.title?(c.openBlock(),c.createElementBlock("div",M7,[c.createVNode(c.unref(qn)),c.createElementVNode("span",null,[c.createElementVNode("strong",null,c.toDisplayString(e.title),1)])])):c.createCommentVNode("",!0),c.renderSlot(r.$slots,"default")],2))}});function I7(n){return c.getCurrentScope()?(c.onScopeDispose(n),!0):!1}function fi(n){return typeof n=="function"?n():c.unref(n)}const O7=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const _7=n=>typeof n<"u",N7=Object.prototype.toString,L7=n=>N7.call(n)==="[object Object]",Ma=()=>{};function D7(n,e){function t(...r){return new Promise((o,i)=>{Promise.resolve(n(()=>e.apply(this,r),{fn:e,thisArg:this,args:r})).then(o).catch(i)})}return t}function B7(n,e={}){let t,r,o=Ma;const i=l=>{clearTimeout(l),o(),o=Ma};return l=>{const a=fi(n),d=fi(e.maxWait);return t&&i(t),a<=0||d!==void 0&&d<=0?(r&&(i(r),r=null),Promise.resolve(l())):new Promise((u,f)=>{o=e.rejectOnCancel?f:u,d&&!r&&(r=setTimeout(()=>{t&&i(t),r=null,u(l())},d)),t=setTimeout(()=>{r&&i(r),r=null,u(l())},a)})}}function R7(n,e=200,t={}){return D7(B7(e,t),n)}function tu(n){var e;const t=fi(n);return(e=t==null?void 0:t.$el)!=null?e:t}const P7=O7?window:void 0;function nu(...n){let e,t,r,o;if(typeof n[0]=="string"||Array.isArray(n[0])?([t,r,o]=n,e=P7):[e,t,r,o]=n,!e)return Ma;Array.isArray(t)||(t=[t]),Array.isArray(r)||(r=[r]);const i=[],s=()=>{i.forEach(u=>u()),i.length=0},l=(u,f,h,p)=>(u.addEventListener(f,h,p),()=>u.removeEventListener(f,h,p)),a=c.watch(()=>[tu(e),fi(o)],([u,f])=>{if(s(),!u)return;const h=L7(f)?{...f}:f;i.push(...t.flatMap(p=>r.map(m=>l(u,p,m,h))))},{immediate:!0,flush:"post"}),d=()=>{a(),s()};return I7(d),d}function V7(n){return JSON.parse(JSON.stringify(n))}function F7(n,e={}){const{initialValue:t=!1,focusVisible:r=!1}=e,o=c.ref(!1),i=c.computed(()=>tu(n));nu(i,"focus",l=>{var a,d;(!r||(d=(a=l.target).matches)!=null&&d.call(a,":focus-visible"))&&(o.value=!0)}),nu(i,"blur",()=>o.value=!1);const s=c.computed({get:()=>o.value,set(l){var a,d;!l&&o.value?(a=i.value)==null||a.blur():l&&!o.value&&((d=i.value)==null||d.focus())}});return c.watch(i,()=>{s.value=t},{immediate:!0,flush:"post"}),{focused:s}}function er(n,e,t,r={}){var o,i,s;const{clone:l=!1,passive:a=!1,eventName:d,deep:u=!1,defaultValue:f,shouldEmit:h}=r,p=c.getCurrentInstance(),m=t||(p==null?void 0:p.emit)||((o=p==null?void 0:p.$emit)==null?void 0:o.bind(p))||((s=(i=p==null?void 0:p.proxy)==null?void 0:i.$emit)==null?void 0:s.bind(p==null?void 0:p.proxy));let g=d;e||(e="modelValue"),g=g||`update:${e.toString()}`;const v=w=>l?typeof l=="function"?l(w):V7(w):w,b=()=>_7(n[e])?v(n[e]):f,A=w=>{h?h(w)&&m(g,w):m(g,w)};if(a){const w=b(),y=c.ref(w);let T=!1;return c.watch(()=>n[e],k=>{T||(T=!0,y.value=v(k),c.nextTick(()=>T=!1))}),c.watch(y,k=>{!T&&(k!==n[e]||u)&&A(k)},{deep:u}),y}else return c.computed({get(){return b()},set(w){A(w)}})}const $7={class:"bd-zoom-slider d-flex"},z7=[c.createElementVNode("g",{transform:"matrix(0.8333333333333334,0,0,0.8333333333333334,0,0)"},[c.createElementVNode("path",{d:"M1.5 13.5h21a1.5 1.5 0 0 0 0-3h-21a1.5 1.5 0 0 0 0 3z","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"0"})],-1)],H7=["max"],U7=[c.createElementVNode("g",{transform:"matrix(0.8333333333333334,0,0,0.8333333333333334,0,0)"},[c.createElementVNode("path",{d:"M0 12a1.5 1.5 0 0 0 1.5 1.5h8.75a.25.25 0 0 1 .25.25v8.75a1.5 1.5 0 0 0 3 0v-8.75a.25.25 0 0 1 .25-.25h8.75a1.5 1.5 0 0 0 0-3h-8.75a.25.25 0 0 1-.25-.25V1.5a1.5 1.5 0 0 0-3 0v8.75a.25.25 0 0 1-.25.25H1.5A1.5 1.5 0 0 0 0 12z","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"0"})],-1)],Ia=c.defineComponent({__name:"BDZoomslider",props:{modelValue:{},maxValue:{default:5}},emits:["update:modelValue"],setup(n,{emit:e}){const t=n,r=er(t,"modelValue",e);function o(){r.value!==0&&r.value--}function i(){r.value<t.maxValue&&r.value++}return(s,l)=>(c.openBlock(),c.createElementBlock("div",$7,[(c.openBlock(),c.createElementBlock("svg",{class:"bd-zoom-slider-min-button",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",fill:"#000000",stroke:"#000000",height:"20",width:"20",onClick:o},z7)),c.withDirectives(c.createElementVNode("input",{type:"range","onUpdate:modelValue":l[0]||(l[0]=a=>c.isRef(r)?r.value=a:null),min:"0",max:s.maxValue,class:"bd-zoom-slider-input"},null,8,H7),[[c.vModelText,c.unref(r)]]),(c.openBlock(),c.createElementBlock("svg",{class:"bd-zoom-slider-plus-button",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",fill:"#000000",stroke:"#000000",height:"20",width:"20",onClick:i},U7))]))}}),j7={class:"bd-profile-picture"},W7=["src","alt"],Co=c.defineComponent({__name:"BDProfileImage",props:{src:{default:""},username:{default:null},size:{default:lt.LG},linkText:{default:null}},emits:["click"],setup(n,{emit:e}){const t=n,r=c.computed(()=>`${t.username?`${t.username}'s `:""}profielfoto`),o=()=>{e("click")};return(i,s)=>(c.openBlock(),c.createElementBlock("div",j7,[c.createElementVNode("div",{class:c.normalizeClass(["rounded-circle",t.size])},[c.createElementVNode("img",{src:t.src,alt:r.value,class:"position-absolute top-0 start-0"},null,8,W7)],2),t.linkText?(c.openBlock(),c.createBlock(He,{key:0,variant:"link",onClick:o,textContent:c.toDisplayString(t.linkText)},null,8,["textContent"])):c.createCommentVNode("",!0)]))}});for(var tr=256,ru=[],ou=256,hi;tr--;)ru[tr]=(tr+256).toString(16).substring(1);function iu(n){var e=0,t=n||11;if(!hi||tr+t>ou*2)for(hi="",tr=0;e<ou;e++)hi+=ru[Math.random()*256|0];return hi.substring(tr,tr+++t)}function Mr(){return{uniqueIdentifier:c.ref(iu())}}const K7=["id"],Q7={key:0},pi=c.defineComponent({__name:"BDCard",props:{class:{default:""},title:{default:""},noHeader:{type:Boolean,default:!1},noBody:{type:Boolean,default:!1},headerClass:{default:""},bodyClass:{default:""},id:{default:0},headerVariant:{default:"primary"}},setup(n){const e=n,{uniqueIdentifier:t}=Mr(),r=t.value,o=c.computed(()=>({"bd-card card":!0,[`${e.class}`]:e.class,"no-body":e.noBody})),i=c.computed(()=>({"card-header":!0,"no-title":!e.title,[`${e.headerClass}`]:e.headerClass,[`${e.headerVariant}`]:e.headerVariant})),s=c.computed(()=>({"card-body":!0,[`${e.bodyClass}`]:e.bodyClass}));return(l,a)=>(c.openBlock(),c.createElementBlock("div",{id:c.unref(r),class:c.normalizeClass(o.value)},[!l.noHeader||l.noBody?(c.openBlock(),c.createElementBlock("div",{key:0,class:c.normalizeClass(i.value)},[c.renderSlot(l.$slots,"header",{},()=>[l.title?(c.openBlock(),c.createElementBlock("h2",Q7,c.toDisplayString(l.title),1)):c.createCommentVNode("",!0)])],2)):c.createCommentVNode("",!0),l.noBody?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",{key:1,class:c.normalizeClass(s.value)},[c.renderSlot(l.$slots,"body")],2))],10,K7))}}),Y7={key:0},G7={class:"bd-collapsable-card__actions"},Z7=["data-bs-target"],su=c.defineComponent({__name:"BDCollapsableCard",props:{title:{default:"Title"},disabled:{type:Boolean,default:!1},showOn:{default:"md"},visible:{type:Boolean,default:!0}},setup(n){const e=n,{uniqueIdentifier:t}=Mr(),r=t.value,o=c.computed(()=>`bd-collapsable-card__collapse-${r}`),i=c.computed(()=>({"d-block":[lt.SM,lt.MD].includes(e.showOn.toLowerCase()),"d-md-none":e.showOn.toLowerCase()==lt.SM,"d-lg-none":e.showOn.toLowerCase()==lt.MD})),s=c.computed(()=>{let a={"round-corners-sm":e.showOn.toLowerCase()==lt.SM,"round-corners-md":e.showOn.toLowerCase()==lt.MD,"is-disabled":e.disabled,"round-corners":!e.visible};return Object.keys(a).filter(d=>a[d]).join(" ")}),l=c.computed(()=>{let a={collapse:!0,show:!0,"collapsable-body":!0,[`${o.value}`]:!0,"display-none":!e.visible||e.disabled,"open-collapse-lg":e.visible&&[lt.SM,lt.MD].includes(e.showOn.toLowerCase()),"open-collapse-md":e.showOn.toLowerCase()==lt.SM&&e.visible};return Object.keys(a).filter(d=>a[d]).join(" ")});return(a,d)=>(c.openBlock(),c.createBlock(pi,{class:"bd-collapsable-card",title:a.title,"header-class":s.value,"body-class":l.value},{header:c.withCtx(()=>[a.title?(c.openBlock(),c.createElementBlock("h2",Y7,c.toDisplayString(a.title),1)):c.createCommentVNode("",!0),c.createElementVNode("div",G7,[c.renderSlot(a.$slots,"action"),!a.disabled&&a.visible?(c.openBlock(),c.createElementBlock("button",{key:0,class:c.normalizeClass(["btn btn-white btn-caret",i.value]),type:"button","data-bs-toggle":"collapse","data-bs-target":`.${o.value}`,"aria-expanded":"true"},[c.createVNode(c.unref(ga))],10,Z7)):c.createCommentVNode("",!0)])]),body:c.withCtx(()=>[c.renderSlot(a.$slots,"body")]),_:3},8,["title","header-class","body-class"]))}}),J7={class:"invalid-feedback bd-invalid-feedback"},mi=c.defineComponent({__name:"BDFormInvalidFeedback",props:{state:{type:[Boolean,null],default:null},text:{default:""}},setup(n){const e=n;return(t,r)=>(c.openBlock(),c.createElementBlock("div",J7,[e.state?(c.openBlock(),c.createBlock(c.unref(Tr),{key:0})):(c.openBlock(),c.createBlock(c.unref(ci),{key:1})),c.createTextVNode(" "+c.toDisplayString(e.text),1)]))}});/*! maska v2.1.11 | (c) Alexander Shabunevich | Released under the MIT license */var X7=Object.defineProperty,q7=(n,e,t)=>e in n?X7(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,Eo=(n,e,t)=>(q7(n,typeof e!="symbol"?e+"":e,t),t);const au={"#":{pattern:/[0-9]/},"@":{pattern:/[a-zA-Z]/},"*":{pattern:/[a-zA-Z0-9]/}};class lu{constructor(e={}){Eo(this,"opts",{}),Eo(this,"memo",new Map);const t={...e};if(t.tokens!=null){t.tokens=t.tokensReplace?{...t.tokens}:{...au,...t.tokens};for(const r of Object.values(t.tokens))typeof r.pattern=="string"&&(r.pattern=new RegExp(r.pattern))}else t.tokens=au;Array.isArray(t.mask)&&(t.mask.length>1?t.mask=[...t.mask].sort((r,o)=>r.length-o.length):t.mask=t.mask[0]??""),t.mask===""&&(t.mask=null),this.opts=t}masked(e){return this.process(e,this.findMask(e))}unmasked(e){return this.process(e,this.findMask(e),!1)}isEager(){return this.opts.eager===!0}isReversed(){return this.opts.reversed===!0}completed(e){const t=this.findMask(e);if(this.opts.mask==null||t==null)return!1;const r=this.process(e,t).length;return typeof this.opts.mask=="string"?r>=this.opts.mask.length:typeof this.opts.mask=="function"?r>=t.length:this.opts.mask.filter(o=>r>=o.length).length===this.opts.mask.length}findMask(e){const t=this.opts.mask;if(t==null)return null;if(typeof t=="string")return t;if(typeof t=="function")return t(e);const r=this.process(e,t.slice(-1).pop()??"",!1);return t.find(o=>this.process(e,o,!1).length>=r.length)??""}escapeMask(e){const t=[],r=[];return e.split("").forEach((o,i)=>{o==="!"&&e[i-1]!=="!"?r.push(i-r.length):t.push(o)}),{mask:t.join(""),escaped:r}}process(e,t,r=!0){if(t==null)return e;const o=`value=${e},mask=${t},masked=${r?1:0}`;if(this.memo.has(o))return this.memo.get(o);const{mask:i,escaped:s}=this.escapeMask(t),l=[],a=this.opts.tokens!=null?this.opts.tokens:{},d=this.isReversed()?-1:1,u=this.isReversed()?"unshift":"push",f=this.isReversed()?0:i.length-1,h=this.isReversed()?()=>v>-1&&b>-1:()=>v<i.length&&b<e.length,p=w=>!this.isReversed()&&w<=f||this.isReversed()&&w>=f;let m,g=-1,v=this.isReversed()?i.length-1:0,b=this.isReversed()?e.length-1:0,A=!1;for(;h();){const w=i.charAt(v),y=a[w],T=(y==null?void 0:y.transform)!=null?y.transform(e.charAt(b)):e.charAt(b);if(!s.includes(v)&&y!=null?(T.match(y.pattern)!=null?(l[u](T),y.repeated?(g===-1?g=v:v===f&&v!==g&&(v=g-d),f===g&&(v-=d)):y.multiple&&(A=!0,v-=d),v+=d):y.multiple?A&&(v+=d,b-=d,A=!1):T===m?m=void 0:y.optional&&(v+=d,b-=d),b+=d):(r&&!this.isEager()&&l[u](w),T===w&&!this.isEager()?b+=d:m=w,this.isEager()||(v+=d)),this.isEager())for(;p(v)&&(a[i.charAt(v)]==null||s.includes(v));)r?l[u](i.charAt(v)):i.charAt(v)===e.charAt(b)&&(b+=d),v+=d}return this.memo.set(o,l.join("")),this.memo.get(o)}}const cu=n=>JSON.parse(n.replaceAll("'",'"')),du=(n,e={})=>{const t={...e};return n.dataset.maska!=null&&n.dataset.maska!==""&&(t.mask=e6(n.dataset.maska)),n.dataset.maskaEager!=null&&(t.eager=Oa(n.dataset.maskaEager)),n.dataset.maskaReversed!=null&&(t.reversed=Oa(n.dataset.maskaReversed)),n.dataset.maskaTokensReplace!=null&&(t.tokensReplace=Oa(n.dataset.maskaTokensReplace)),n.dataset.maskaTokens!=null&&(t.tokens=t6(n.dataset.maskaTokens)),t},Oa=n=>n!==""?!!JSON.parse(n):!0,e6=n=>n.startsWith("[")&&n.endsWith("]")?cu(n):n,t6=n=>{if(n.startsWith("{")&&n.endsWith("}"))return cu(n);const e={};return n.split("|").forEach(t=>{const r=t.split(":");e[r[0]]={pattern:new RegExp(r[1]),optional:r[2]==="optional",multiple:r[2]==="multiple",repeated:r[2]==="repeated"}}),e};class n6{constructor(e,t={}){Eo(this,"items",new Map),Eo(this,"beforeinputEvent",r=>{const o=r.target,i=this.items.get(o);i.isEager()&&"inputType"in r&&r.inputType.startsWith("delete")&&i.unmasked(o.value).length<=1&&this.setMaskedValue(o,"")}),Eo(this,"inputEvent",r=>{if(r instanceof CustomEvent&&r.type==="input"&&r.detail!=null&&typeof r.detail=="object"&&"masked"in r.detail)return;const o=r.target,i=this.items.get(o),s=o.value,l=o.selectionStart,a=o.selectionEnd;let d=s;if(i.isEager()){const u=i.masked(s),f=i.unmasked(s);f===""&&"data"in r&&r.data!=null?d=r.data:f!==i.unmasked(u)&&(d=f)}if(this.setMaskedValue(o,d),"inputType"in r&&(r.inputType.startsWith("delete")||l!=null&&l<s.length))try{o.setSelectionRange(l,a)}catch{}}),this.options=t,typeof e=="string"?this.init(Array.from(document.querySelectorAll(e)),this.getMaskOpts(t)):this.init("length"in e?Array.from(e):[e],this.getMaskOpts(t))}destroy(){for(const e of this.items.keys())e.removeEventListener("input",this.inputEvent),e.removeEventListener("beforeinput",this.beforeinputEvent);this.items.clear()}needUpdateOptions(e,t){const r=this.items.get(e),o=new lu(du(e,this.getMaskOpts(t)));return JSON.stringify(r.opts)!==JSON.stringify(o.opts)}needUpdateValue(e){const t=e.dataset.maskaValue;return t==null&&e.value!==""||t!=null&&t!==e.value}getMaskOpts(e){const{onMaska:t,preProcess:r,postProcess:o,...i}=e;return i}init(e,t){for(const r of e){const o=new lu(du(r,t));this.items.set(r,o),r.value!==""&&this.setMaskedValue(r,r.value),r.addEventListener("input",this.inputEvent),r.addEventListener("beforeinput",this.beforeinputEvent)}}setMaskedValue(e,t){const r=this.items.get(e);this.options.preProcess!=null&&(t=this.options.preProcess(t));const o=r.masked(t),i=r.unmasked(r.isEager()?o:t),s=r.completed(t),l={masked:o,unmasked:i,completed:s};t=o,this.options.postProcess!=null&&(t=this.options.postProcess(t)),e.value=t,e.dataset.maskaValue=t,this.options.onMaska!=null&&(Array.isArray(this.options.onMaska)?this.options.onMaska.forEach(a=>a(l)):this.options.onMaska(l)),e.dispatchEvent(new CustomEvent("maska",{detail:l})),e.dispatchEvent(new CustomEvent("input",{detail:l}))}}const _a=new WeakMap,r6=n=>{setTimeout(()=>{var e;((e=_a.get(n))==null?void 0:e.needUpdateValue(n))===!0&&n.dispatchEvent(new CustomEvent("input"))})},o6=(n,e)=>{const t=n instanceof HTMLInputElement?n:n.querySelector("input"),r={...e.arg};if(t==null||(t==null?void 0:t.type)==="file")return;r6(t);const o=_a.get(t);if(o!=null){if(!o.needUpdateOptions(t,r))return;o.destroy()}if(e.value!=null){const i=e.value,s=l=>{i.masked=l.masked,i.unmasked=l.unmasked,i.completed=l.completed};r.onMaska=r.onMaska==null?s:Array.isArray(r.onMaska)?[...r.onMaska,s]:[r.onMaska,s]}_a.set(t,new n6(t,r))},i6=["value","type"],nr=c.defineComponent({__name:"BDFormInput",props:{modelValue:{default:""},formGroupClass:{default:void 0},type:{default:"text"},label:{default:void 0},labelClass:{default:void 0},formFieldClass:{default:void 0},inputClass:{default:void 0},placeholder:{default:void 0},state:{type:[Boolean,null],default:null},readonly:{type:[Boolean,null],default:null},disabled:{type:[Boolean,null],default:null},autofocus:{type:[Boolean,null],default:null},size:{default:lt.MD},tabindex:{default:null},invalidFeedbackClass:{default:void 0},invalidFeedbackText:{default:void 0},delayTimeMs:{default:0},mask:{default:void 0}},emits:["update:modelValue","click","blur","enter"],setup(n,{emit:e}){const t=n,{uniqueIdentifier:r}=Mr(),o=er(t,"modelValue",e),i=`__BD__FORM__LABEL__${r.value}`,s=`__BD__FORM__GROUP__${r.value}`,l=`form-input-${t.label?t.label.replace(/ /g,"-").toLowerCase():r.value}`,a=`validationFeedback${t.label?t.label.replace(/ /g,""):r.value}`,d=c.computed(()=>({[`${t.inputClass}`]:t.inputClass,"is-invalid":t.state===!1,"is-valid":t.state===!0,[`form-control-${t.size}`]:t.size})),u=c.computed(()=>({[`${t.invalidFeedbackClass}`]:t.invalidFeedbackClass,"is-invalid":t.state===!1})),f=c.computed(()=>({placeholder:t.placeholder?t.placeholder:null,readonly:t.readonly===!0,disabled:t.disabled===!0,autofocus:t.autofocus===!0,tabindex:t.tabindex?t.tabindex:null,"aria-describedby":t.state===!1&&t.invalidFeedbackText?a:null,"data-maska":t.mask})),h=R7(p=>{o.value=p.target.value},t.delayTimeMs);return(p,m)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(["bd-form-input",p.formGroupClass]),id:s},[c.renderSlot(p.$slots,"label",{},()=>[p.label?(c.openBlock(),c.createElementBlock("label",{key:0,for:l,id:i,class:c.normalizeClass(["form-label",p.labelClass])},c.toDisplayString(p.label),3)):c.createCommentVNode("",!0)]),c.createElementVNode("div",{class:c.normalizeClass(p.formFieldClass)},[c.withDirectives(c.createElementVNode("input",c.mergeProps({value:p.modelValue,type:p.type,id:l,class:["form-control",d.value]},f.value,{onInput:m[0]||(m[0]=(...g)=>c.unref(h)&&c.unref(h)(...g)),onClick:m[1]||(m[1]=g=>p.$emit("click")),onBlur:m[2]||(m[2]=g=>p.$emit("blur")),onKeydown:m[3]||(m[3]=c.withKeys(g=>p.$emit("enter"),["enter"]))}),null,16,i6),[[c.unref(o6)]]),c.renderSlot(p.$slots,"default")],2),c.createVNode(mi,{text:p.invalidFeedbackText,class:c.normalizeClass(u.value),state:p.state,id:a},null,8,["text","class","state"])],2))}}),s6={class:"input-group bd-input-group"},a6=["for"],uu=c.defineComponent({__name:"BDInputGroup",props:{label:{default:void 0},labelForId:{default:void 0}},setup(n){const e=n,t=c.useAttrs();return(r,o)=>(c.openBlock(),c.createElementBlock("fieldset",s6,[e.label?(c.openBlock(),c.createElementBlock("label",{key:0,for:e.labelForId,class:"form-label"},c.toDisplayString(e.label),9,a6)):c.createCommentVNode("",!0),c.createElementVNode("div",{class:c.normalizeClass(c.unref(t).class)},[c.renderSlot(r.$slots,"default")],2)]))}}),l6={key:0},c6={key:1},fu=c.defineComponent({__name:"BDBadge",props:{variant:{default:ui.PRIMARY}},setup(n){const e=n,t=c.computed(()=>["badge","bd-badge",`bd-badge-${e.variant}`]);return(r,o)=>(c.openBlock(),c.createElementBlock("span",{role:"status",class:c.normalizeClass(t.value)},[r.variant==="danger"?(c.openBlock(),c.createElementBlock("span",l6,[c.createVNode(c.unref(qn))])):c.createCommentVNode("",!0),r.variant==="success"?(c.openBlock(),c.createElementBlock("span",c6,[c.createVNode(c.unref(Tr))])):c.createCommentVNode("",!0),c.renderSlot(r.$slots,"default")],2))}}),d6=["onSubmit","onReset"],hu=c.defineComponent({__name:"BDForm",emits:["submit","reset"],setup(n,{emit:e}){function t(){e("submit")}function r(){e("reset")}return(o,i)=>(c.openBlock(),c.createElementBlock("form",{onSubmit:c.withModifiers(t,["prevent"]),onReset:c.withModifiers(r,["prevent"])},[c.renderSlot(o.$slots,"default")],40,d6))}}),u6={"aria-label":"Page navigation",class:"bd-pagination"},f6={class:"page-item"},h6=["data-page"],p6=["data-page"],m6={class:"page-item"},g6=["data-page"],pu=c.defineComponent({__name:"BDPagination",props:{modelValue:{default:1},totalRows:{default:1},rowsPerPage:{default:10},isPatient:{type:Boolean,default:!0}},emits:["click","update:modelValue"],setup(n,{emit:e}){const t=n,r=er(t,"modelValue",e),o=c.ref(Math.ceil(t.totalRows/t.rowsPerPage)),i=c.ref([]);c.watch([()=>t.totalRows,()=>t.rowsPerPage],()=>{o.value=Math.ceil(t.totalRows/t.rowsPerPage),i.value=u(r.value)}),c.onMounted(()=>{i.value=u(r.value)});const s=c.computed(()=>({[`${t.class}`]:t.class,colleague:!t.isPatient})),l=f=>{const h=f.currentTarget.getAttribute("data-page"),p=Number(h);isNaN(Number(p))||(r.value=p,i.value=u(p)),e("click",p)},a=(f,h,p)=>p<=h?p:f==1?6:f<=4?5:1,d=(f,h,p)=>p<=h?0:f==p?6:f>p-4?5:1,u=f=>{const h=[],m=a(f,7,o.value),g=o.value>7&&f>4,v=o.value>7&&f<o.value-3,b=g&&v,A=d(f,7,o.value);for(let w=1;w<=m;w++)h.push(w);if(g&&h.push("..."),b)for(let w=f-1;w<=f+1;w++)h.push(w);v&&h.push("...");for(let w=1;w<=A;w++)h.push(o.value-A+w);return h};return(f,h)=>(c.openBlock(),c.createElementBlock("div",u6,[c.createElementVNode("ul",{class:c.normalizeClass(["pagination",s.value])},[c.withDirectives(c.createElementVNode("li",f6,[c.createElementVNode("a",{class:"page-link d-flex justify-content-center align-items-center","aria-label":"Previous",onClick:l,"data-page":c.unref(r)-1},[c.createVNode(c.unref(va))],8,h6)],512),[[c.vShow,c.unref(r)>1]]),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(i.value,p=>(c.openBlock(),c.createElementBlock("li",{class:c.normalizeClass(["page-item",{active:c.unref(r)===p,disabled:typeof p=="string"}]),key:p},[c.createElementVNode("a",{class:"page-link d-flex justify-content-center align-items-center",onClick:l,"data-page":p},c.toDisplayString(p),9,p6)],2))),128)),c.withDirectives(c.createElementVNode("li",m6,[c.createElementVNode("a",{class:"page-link d-flex justify-content-center align-items-center","aria-label":"Next",onClick:l,"data-page":c.unref(r)+1},[c.createVNode(c.unref(ya))],8,g6)],512),[[c.vShow,c.unref(r)<o.value]])],2)]))}}),v6=["disabled"],y6=["label"],C6=["value"],E6=["value"],mu=c.defineComponent({__name:"BDFormSelect",props:{size:{default:lt.MD},disabled:{type:Boolean},autofocus:{type:Boolean,default:!1},options:{default:void 0},modelValue:{default:""},state:{type:[Boolean,null],default:null}},emits:["update:modelValue","change","input"],setup(n,{emit:e}){const t=n,r=er(t,"modelValue",e),o=c.ref(null),{focused:i}=F7(o,{initialValue:t.autofocus}),s=c.computed(()=>({"form-select":!0,"bd-form-select":!0,"is-invalid":t.state===!1,[`form-select-${t.size}`]:["xs","sm","lg"].includes(t.size)}));c.watch(()=>t.autofocus,u=>{u&&(i.value=!0)});const l=u=>{r.value=u.target.value;let f=d(u.target.value);e("input",f)},a=u=>{let f=d(u.target.value);e("change",f)},d=u=>{try{return JSON.parse(u)}catch{return u}};return(u,f)=>c.withDirectives((c.openBlock(),c.createElementBlock("select",{class:c.normalizeClass(s.value),"onUpdate:modelValue":f[0]||(f[0]=h=>c.isRef(r)?r.value=h:null),disabled:t.disabled,ref_key:"input",ref:o,onInput:l,onChange:a},[c.renderSlot(u.$slots,"first"),t.options&&t.options.length>0&&t.options[0].label&&t.options[0].options?(c.openBlock(!0),c.createElementBlock(c.Fragment,{key:0},c.renderList(t.options,h=>(c.openBlock(),c.createElementBlock("optgroup",{label:h.label},[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(h.options,p=>(c.openBlock(),c.createElementBlock("option",{value:JSON.stringify(p.value),key:p.value},c.toDisplayString(p.text),9,C6))),128))],8,y6))),256)):(c.openBlock(!0),c.createElementBlock(c.Fragment,{key:1},c.renderList(t.options,h=>(c.openBlock(),c.createElementBlock("option",{value:h.value,key:h.value},c.toDisplayString(h.text),9,E6))),128))],42,v6)),[[c.vModelSelect,c.unref(r)]])}}),b6=["value","true-value","false-value","data-checked"],gu=c.defineComponent({__name:"BDFormCheckbox",props:{modelValue:{type:[Boolean,String,Array],default:void 0},value:{type:[Boolean,String],default:!0},uncheckedValue:{type:[Boolean,String],default:!1},state:{type:[Boolean,null],default:void 0}},emits:["update:modelValue","change","input"],setup(n,{emit:e}){const t=n,{uniqueIdentifier:r}=Mr(),o=er(t,"modelValue",e),i=`form-check-input-${r.value}`,s=c.computed(()=>["form-check","bd-form-checkbox"]),l=c.computed(()=>({"form-check-input":!0,"is-invalid":t.state===!1})),a=d=>e("change",d.target.value);return(d,u)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(s.value)},[c.withDirectives(c.createElementVNode("input",{"onUpdate:modelValue":u[0]||(u[0]=f=>c.isRef(o)?o.value=f:null),id:i,class:c.normalizeClass(l.value),type:"checkbox",value:d.value,"true-value":d.value,"false-value":d.uncheckedValue,"data-checked":c.unref(o)===d.value,onChange:a},null,42,b6),[[c.vModelCheckbox,c.unref(o)]]),c.createElementVNode("label",{class:"form-check-label",for:i},[c.renderSlot(d.$slots,"default")]),c.renderSlot(d.$slots,"last")],2))}}),A6={key:0,class:"bd-article__body"},w6={key:1},vu=c.defineComponent({__name:"BDArticle",props:{title:{default:""},text:{default:""},hideBody:{type:Boolean,default:!1},hideFooter:{type:Boolean,default:!1},identifier:{}},emits:["click"],setup(n,{emit:e}){const t=n,r=o=>e("click",{event:o,identifier:t.identifier});return(o,i)=>(c.openBlock(),c.createElementBlock("article",{class:"bd-article",onClick:r},[c.createElementVNode("header",null,[c.renderSlot(o.$slots,"header",{},()=>[c.createElementVNode("h5",null,c.toDisplayString(t.title),1)])]),t.hideBody?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",A6,[c.renderSlot(o.$slots,"default",{},()=>[c.createTextVNode(c.toDisplayString(t.text),1)])])),t.hideFooter?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("footer",w6,[c.renderSlot(o.$slots,"footer")]))]))}}),Ir={DANGER:"danger",WARNING:"warning",INFO:"info",SUCCESS:"success"},S6=["id"],k6={class:"toast-header"},x6=c.createElementVNode("button",{type:"button",class:"btn-close","data-bs-dismiss":"toast","aria-label":"Close"},null,-1),T6={class:"toast-body"},Na=c.defineComponent({__name:"BDToast",props:{id:{},variant:{default:Ir.INFO},title:{default:""},text:{default:""}},setup(n){const e=n,t=c.computed(()=>({[`bd-toast-${e.variant}`]:!0})),r=c.computed(()=>e.variant!==Ir.SUCCESS);return(o,i)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(["toast bd-toast",t.value]),role:"alert","aria-live":"assertive","aria-atomic":"true",key:e.id,id:e.id},[c.createElementVNode("div",k6,[r.value?(c.openBlock(),c.createBlock(c.unref(qn),{key:0})):(c.openBlock(),c.createBlock(c.unref(Tr),{key:1})),c.createElementVNode("h5",null,c.toDisplayString(e.title),1),x6]),c.createElementVNode("div",T6,[c.createElementVNode("span",null,c.toDisplayString(e.text),1)])],10,S6))}}),Ne="",gi=n=>typeof n=="string"||n instanceof String,M6={class:"bd-pill"},I6=["src"],O6={class:"bd-pill__description"},_6=["href"],N6=["id","textContent","title"],L6=["id","textContent","title"],vi=c.defineComponent({__name:"BDPill",props:{imgSrc:{default:Ne},uri:{default:Ne},uriDisplayName:{default:Ne},title:{default:Ne},subtitle:{default:Ne},showClose:{type:Boolean,default:!1}},emits:["close"],setup(n,{emit:e}){const t=n,{uniqueIdentifier:r}=Mr(),o=c.computed(()=>t.uri),i=c.computed(()=>t.uriDisplayName!==Ne?t.uriDisplayName:t.uri),s=c.computed(()=>t.imgSrc),l=c.computed(()=>t.title),a=c.computed(()=>t.subtitle),d=c.computed(()=>`bd-pill-title-${r.value}`),u=c.computed(()=>`bd-pill-subtitle-${r.value}`);return(f,h)=>(c.openBlock(),c.createElementBlock("div",M6,[c.createElementVNode("img",{src:s.value,class:"bd-pill__logo",alt:"logo-externe-partij"},null,8,I6),c.createElementVNode("div",O6,[c.createElementVNode("a",{href:o.value,class:"bd-pill__link",target:"_blank",rel:"noopener noreferrer"},[c.createVNode(c.unref(di),{class:"bd-pill__icon-hyperlink",style:{height:"12px"}}),c.createTextVNode(" "+c.toDisplayString(i.value),1)],8,_6),c.createElementVNode("span",{class:"bd-pill__title",id:d.value,textContent:c.toDisplayString(l.value),"data-bs-toggle":"tooltip",title:l.value},null,8,N6),c.createElementVNode("span",{class:"bd-pill__subtitle",id:u.value,textContent:c.toDisplayString(a.value),"data-bs-toggle":"tooltip",title:a.value},null,8,L6)])]))}});function D6(n,e){var t={};for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&e.indexOf(r)<0&&(t[r]=n[r]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(n);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(n,r[o])&&(t[r[o]]=n[r[o]]);return t}typeof SuppressedError=="function"&&SuppressedError;const B6=n=>Array.isArray(n)&&n.length>0,R6=n=>Object.keys(n).map(e=>n[e]),La={name:"BDUserInformation",props:{value:{type:Object},showProfilePicture:{type:Boolean}},render(){const n=this.value,{name:e,profilePictureUri:t,extra:r}=n,o=D6(n,["name","profilePictureUri","extra"]),i=t&&this.showProfilePicture?c.h("img",{class:"bd-user-information__profile-picture",src:t,alt:e}):null;let l=[c.h("h4",null,e)];this.$slots.default&&l.push(this.$slots.default());const a=c.h("div",{class:"bd-user-information__header"},l),d=c.h("small",null,R6(o).filter(f=>f).join(" • ")),u=c.h("div",{class:"bd-user-information__detail"},[a,d]);return c.h("div",{class:"bd-user-information"},[i,u])}},yi=c.defineComponent({__name:"BDDropdownItem",props:{to:{default:""},target:{default:"_blank"},text:{default:void 0},rel:{default:"noopener noreferrer"}},emits:["click"],setup(n,{emit:e}){const t=n,r=()=>{e("click")};return(o,i)=>(c.openBlock(),c.createElementBlock("li",c.mergeProps({class:"bd-dropdown-item"},o.$attrs),[c.createVNode(xr,c.mergeProps({class:"dropdown-item",onClick:r},t),{default:c.withCtx(()=>[c.renderSlot(o.$slots,"default",{},()=>[c.createTextVNode(c.toDisplayString(t.text),1)])]),_:3},16)],16))}});var Da=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ba(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var yu={exports:{}};(function(n,e){(function(r,o){n.exports=o()})(self,function(){return function(){var t={3099:function(s){s.exports=function(l){if(typeof l!="function")throw TypeError(String(l)+" is not a function");return l}},6077:function(s,l,a){var d=a(111);s.exports=function(u){if(!d(u)&&u!==null)throw TypeError("Can't set "+String(u)+" as a prototype");return u}},1223:function(s,l,a){var d=a(5112),u=a(30),f=a(3070),h=d("unscopables"),p=Array.prototype;p[h]==null&&f.f(p,h,{configurable:!0,value:u(null)}),s.exports=function(m){p[h][m]=!0}},1530:function(s,l,a){var d=a(8710).charAt;s.exports=function(u,f,h){return f+(h?d(u,f).length:1)}},5787:function(s){s.exports=function(l,a,d){if(!(l instanceof a))throw TypeError("Incorrect "+(d?d+" ":"")+"invocation");return l}},9670:function(s,l,a){var d=a(111);s.exports=function(u){if(!d(u))throw TypeError(String(u)+" is not an object");return u}},4019:function(s){s.exports=typeof ArrayBuffer<"u"&&typeof DataView<"u"},260:function(s,l,a){var d=a(4019),u=a(9781),f=a(7854),h=a(111),p=a(6656),m=a(648),g=a(8880),v=a(1320),b=a(3070).f,A=a(9518),w=a(7674),y=a(5112),T=a(9711),k=f.Int8Array,$=k&&k.prototype,H=f.Uint8ClampedArray,U=H&&H.prototype,R=k&&A(k),D=$&&A($),z=Object.prototype,W=z.isPrototypeOf,j=y("toStringTag"),F=T("TYPED_ARRAY_TAG"),V=d&&!!w&&m(f.opera)!=="Opera",Y=!1,L,X={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},ne={BigInt64Array:8,BigUint64Array:8},de=function(x){if(!h(x))return!1;var I=m(x);return I==="DataView"||p(X,I)||p(ne,I)},ge=function(Ce){if(!h(Ce))return!1;var x=m(Ce);return p(X,x)||p(ne,x)},ve=function(Ce){if(ge(Ce))return Ce;throw TypeError("Target is not a typed array")},Ae=function(Ce){if(w){if(W.call(R,Ce))return Ce}else for(var x in X)if(p(X,L)){var I=f[x];if(I&&(Ce===I||W.call(I,Ce)))return Ce}throw TypeError("Target is not a typed array constructor")},Se=function(Ce,x,I){if(u){if(I)for(var S in X){var M=f[S];M&&p(M.prototype,Ce)&&delete M.prototype[Ce]}(!D[Ce]||I)&&v(D,Ce,I?x:V&&$[Ce]||x)}},xe=function(Ce,x,I){var S,M;if(u){if(w){if(I)for(S in X)M=f[S],M&&p(M,Ce)&&delete M[Ce];if(!R[Ce]||I)try{return v(R,Ce,I?x:V&&k[Ce]||x)}catch{}else return}for(S in X)M=f[S],M&&(!M[Ce]||I)&&v(M,Ce,x)}};for(L in X)f[L]||(V=!1);if((!V||typeof R!="function"||R===Function.prototype)&&(R=function(){throw TypeError("Incorrect invocation")},V))for(L in X)f[L]&&w(f[L],R);if((!V||!D||D===z)&&(D=R.prototype,V))for(L in X)f[L]&&w(f[L].prototype,D);if(V&&A(U)!==D&&w(U,D),u&&!p(D,j)){Y=!0,b(D,j,{get:function(){return h(this)?this[F]:void 0}});for(L in X)f[L]&&g(f[L],F,L)}s.exports={NATIVE_ARRAY_BUFFER_VIEWS:V,TYPED_ARRAY_TAG:Y&&F,aTypedArray:ve,aTypedArrayConstructor:Ae,exportTypedArrayMethod:Se,exportTypedArrayStaticMethod:xe,isView:de,isTypedArray:ge,TypedArray:R,TypedArrayPrototype:D}},3331:function(s,l,a){var d=a(7854),u=a(9781),f=a(4019),h=a(8880),p=a(2248),m=a(7293),g=a(5787),v=a(9958),b=a(7466),A=a(7067),w=a(1179),y=a(9518),T=a(7674),k=a(8006).f,$=a(3070).f,H=a(1285),U=a(8003),R=a(9909),D=R.get,z=R.set,W="ArrayBuffer",j="DataView",F="prototype",V="Wrong length",Y="Wrong index",L=d[W],X=L,ne=d[j],de=ne&&ne[F],ge=Object.prototype,ve=d.RangeError,Ae=w.pack,Se=w.unpack,xe=function(Z){return[Z&255]},Ce=function(Z){return[Z&255,Z>>8&255]},x=function(Z){return[Z&255,Z>>8&255,Z>>16&255,Z>>24&255]},I=function(Z){return Z[3]<<24|Z[2]<<16|Z[1]<<8|Z[0]},S=function(Z){return Ae(Z,23,4)},M=function(Z){return Ae(Z,52,8)},C=function(Z,J){$(Z[F],J,{get:function(){return D(this)[J]}})},E=function(Z,J,re,he){var we=A(re),Le=D(Z);if(we+J>Le.byteLength)throw ve(Y);var ze=D(Le.buffer).bytes,$e=we+Le.byteOffset,Be=ze.slice($e,$e+J);return he?Be:Be.reverse()},_=function(Z,J,re,he,we,Le){var ze=A(re),$e=D(Z);if(ze+J>$e.byteLength)throw ve(Y);for(var Be=D($e.buffer).bytes,Ze=ze+$e.byteOffset,At=he(+we),at=0;at<J;at++)Be[Ze+at]=At[Le?at:J-at-1]};if(!f)X=function(J){g(this,X,W);var re=A(J);z(this,{bytes:H.call(new Array(re),0),byteLength:re}),u||(this.byteLength=re)},ne=function(J,re,he){g(this,ne,j),g(J,X,j);var we=D(J).byteLength,Le=v(re);if(Le<0||Le>we)throw ve("Wrong offset");if(he=he===void 0?we-Le:b(he),Le+he>we)throw ve(V);z(this,{buffer:J,byteLength:he,byteOffset:Le}),u||(this.buffer=J,this.byteLength=he,this.byteOffset=Le)},u&&(C(X,"byteLength"),C(ne,"buffer"),C(ne,"byteLength"),C(ne,"byteOffset")),p(ne[F],{getInt8:function(J){return E(this,1,J)[0]<<24>>24},getUint8:function(J){return E(this,1,J)[0]},getInt16:function(J){var re=E(this,2,J,arguments.length>1?arguments[1]:void 0);return(re[1]<<8|re[0])<<16>>16},getUint16:function(J){var re=E(this,2,J,arguments.length>1?arguments[1]:void 0);return re[1]<<8|re[0]},getInt32:function(J){return I(E(this,4,J,arguments.length>1?arguments[1]:void 0))},getUint32:function(J){return I(E(this,4,J,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(J){return Se(E(this,4,J,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(J){return Se(E(this,8,J,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(J,re){_(this,1,J,xe,re)},setUint8:function(J,re){_(this,1,J,xe,re)},setInt16:function(J,re){_(this,2,J,Ce,re,arguments.length>2?arguments[2]:void 0)},setUint16:function(J,re){_(this,2,J,Ce,re,arguments.length>2?arguments[2]:void 0)},setInt32:function(J,re){_(this,4,J,x,re,arguments.length>2?arguments[2]:void 0)},setUint32:function(J,re){_(this,4,J,x,re,arguments.length>2?arguments[2]:void 0)},setFloat32:function(J,re){_(this,4,J,S,re,arguments.length>2?arguments[2]:void 0)},setFloat64:function(J,re){_(this,8,J,M,re,arguments.length>2?arguments[2]:void 0)}});else{if(!m(function(){L(1)})||!m(function(){new L(-1)})||m(function(){return new L,new L(1.5),new L(NaN),L.name!=W})){X=function(J){return g(this,X),new L(A(J))};for(var N=X[F]=L[F],B=k(L),P=0,K;B.length>P;)(K=B[P++])in X||h(X,K,L[K]);N.constructor=X}T&&y(de)!==ge&&T(de,ge);var G=new ne(new X(2)),Q=de.setInt8;G.setInt8(0,2147483648),G.setInt8(1,2147483649),(G.getInt8(0)||!G.getInt8(1))&&p(de,{setInt8:function(J,re){Q.call(this,J,re<<24>>24)},setUint8:function(J,re){Q.call(this,J,re<<24>>24)}},{unsafe:!0})}U(X,W),U(ne,j),s.exports={ArrayBuffer:X,DataView:ne}},1048:function(s,l,a){var d=a(7908),u=a(1400),f=a(7466),h=Math.min;s.exports=[].copyWithin||function(m,g){var v=d(this),b=f(v.length),A=u(m,b),w=u(g,b),y=arguments.length>2?arguments[2]:void 0,T=h((y===void 0?b:u(y,b))-w,b-A),k=1;for(w<A&&A<w+T&&(k=-1,w+=T-1,A+=T-1);T-- >0;)w in v?v[A]=v[w]:delete v[A],A+=k,w+=k;return v}},1285:function(s,l,a){var d=a(7908),u=a(1400),f=a(7466);s.exports=function(p){for(var m=d(this),g=f(m.length),v=arguments.length,b=u(v>1?arguments[1]:void 0,g),A=v>2?arguments[2]:void 0,w=A===void 0?g:u(A,g);w>b;)m[b++]=p;return m}},8533:function(s,l,a){var d=a(2092).forEach,u=a(9341),f=u("forEach");s.exports=f?[].forEach:function(p){return d(this,p,arguments.length>1?arguments[1]:void 0)}},8457:function(s,l,a){var d=a(9974),u=a(7908),f=a(3411),h=a(7659),p=a(7466),m=a(6135),g=a(1246);s.exports=function(b){var A=u(b),w=typeof this=="function"?this:Array,y=arguments.length,T=y>1?arguments[1]:void 0,k=T!==void 0,$=g(A),H=0,U,R,D,z,W,j;if(k&&(T=d(T,y>2?arguments[2]:void 0,2)),$!=null&&!(w==Array&&h($)))for(z=$.call(A),W=z.next,R=new w;!(D=W.call(z)).done;H++)j=k?f(z,T,[D.value,H],!0):D.value,m(R,H,j);else for(U=p(A.length),R=new w(U);U>H;H++)j=k?T(A[H],H):A[H],m(R,H,j);return R.length=H,R}},1318:function(s,l,a){var d=a(5656),u=a(7466),f=a(1400),h=function(p){return function(m,g,v){var b=d(m),A=u(b.length),w=f(v,A),y;if(p&&g!=g){for(;A>w;)if(y=b[w++],y!=y)return!0}else for(;A>w;w++)if((p||w in b)&&b[w]===g)return p||w||0;return!p&&-1}};s.exports={includes:h(!0),indexOf:h(!1)}},2092:function(s,l,a){var d=a(9974),u=a(8361),f=a(7908),h=a(7466),p=a(5417),m=[].push,g=function(v){var b=v==1,A=v==2,w=v==3,y=v==4,T=v==6,k=v==7,$=v==5||T;return function(H,U,R,D){for(var z=f(H),W=u(z),j=d(U,R,3),F=h(W.length),V=0,Y=D||p,L=b?Y(H,F):A||k?Y(H,0):void 0,X,ne;F>V;V++)if(($||V in W)&&(X=W[V],ne=j(X,V,z),v))if(b)L[V]=ne;else if(ne)switch(v){case 3:return!0;case 5:return X;case 6:return V;case 2:m.call(L,X)}else switch(v){case 4:return!1;case 7:m.call(L,X)}return T?-1:w||y?y:L}};s.exports={forEach:g(0),map:g(1),filter:g(2),some:g(3),every:g(4),find:g(5),findIndex:g(6),filterOut:g(7)}},6583:function(s,l,a){var d=a(5656),u=a(9958),f=a(7466),h=a(9341),p=Math.min,m=[].lastIndexOf,g=!!m&&1/[1].lastIndexOf(1,-0)<0,v=h("lastIndexOf"),b=g||!v;s.exports=b?function(w){if(g)return m.apply(this,arguments)||0;var y=d(this),T=f(y.length),k=T-1;for(arguments.length>1&&(k=p(k,u(arguments[1]))),k<0&&(k=T+k);k>=0;k--)if(k in y&&y[k]===w)return k||0;return-1}:m},1194:function(s,l,a){var d=a(7293),u=a(5112),f=a(7392),h=u("species");s.exports=function(p){return f>=51||!d(function(){var m=[],g=m.constructor={};return g[h]=function(){return{foo:1}},m[p](Boolean).foo!==1})}},9341:function(s,l,a){var d=a(7293);s.exports=function(u,f){var h=[][u];return!!h&&d(function(){h.call(null,f||function(){throw 1},1)})}},3671:function(s,l,a){var d=a(3099),u=a(7908),f=a(8361),h=a(7466),p=function(m){return function(g,v,b,A){d(v);var w=u(g),y=f(w),T=h(w.length),k=m?T-1:0,$=m?-1:1;if(b<2)for(;;){if(k in y){A=y[k],k+=$;break}if(k+=$,m?k<0:T<=k)throw TypeError("Reduce of empty array with no initial value")}for(;m?k>=0:T>k;k+=$)k in y&&(A=v(A,y[k],k,w));return A}};s.exports={left:p(!1),right:p(!0)}},5417:function(s,l,a){var d=a(111),u=a(3157),f=a(5112),h=f("species");s.exports=function(p,m){var g;return u(p)&&(g=p.constructor,typeof g=="function"&&(g===Array||u(g.prototype))?g=void 0:d(g)&&(g=g[h],g===null&&(g=void 0))),new(g===void 0?Array:g)(m===0?0:m)}},3411:function(s,l,a){var d=a(9670),u=a(9212);s.exports=function(f,h,p,m){try{return m?h(d(p)[0],p[1]):h(p)}catch(g){throw u(f),g}}},7072:function(s,l,a){var d=a(5112),u=d("iterator"),f=!1;try{var h=0,p={next:function(){return{done:!!h++}},return:function(){f=!0}};p[u]=function(){return this},Array.from(p,function(){throw 2})}catch{}s.exports=function(m,g){if(!g&&!f)return!1;var v=!1;try{var b={};b[u]=function(){return{next:function(){return{done:v=!0}}}},m(b)}catch{}return v}},4326:function(s){var l={}.toString;s.exports=function(a){return l.call(a).slice(8,-1)}},648:function(s,l,a){var d=a(1694),u=a(4326),f=a(5112),h=f("toStringTag"),p=u(function(){return arguments}())=="Arguments",m=function(g,v){try{return g[v]}catch{}};s.exports=d?u:function(g){var v,b,A;return g===void 0?"Undefined":g===null?"Null":typeof(b=m(v=Object(g),h))=="string"?b:p?u(v):(A=u(v))=="Object"&&typeof v.callee=="function"?"Arguments":A}},9920:function(s,l,a){var d=a(6656),u=a(3887),f=a(1236),h=a(3070);s.exports=function(p,m){for(var g=u(m),v=h.f,b=f.f,A=0;A<g.length;A++){var w=g[A];d(p,w)||v(p,w,b(m,w))}}},8544:function(s,l,a){var d=a(7293);s.exports=!d(function(){function u(){}return u.prototype.constructor=null,Object.getPrototypeOf(new u)!==u.prototype})},4994:function(s,l,a){var d=a(3383).IteratorPrototype,u=a(30),f=a(9114),h=a(8003),p=a(7497),m=function(){return this};s.exports=function(g,v,b){var A=v+" Iterator";return g.prototype=u(d,{next:f(1,b)}),h(g,A,!1,!0),p[A]=m,g}},8880:function(s,l,a){var d=a(9781),u=a(3070),f=a(9114);s.exports=d?function(h,p,m){return u.f(h,p,f(1,m))}:function(h,p,m){return h[p]=m,h}},9114:function(s){s.exports=function(l,a){return{enumerable:!(l&1),configurable:!(l&2),writable:!(l&4),value:a}}},6135:function(s,l,a){var d=a(7593),u=a(3070),f=a(9114);s.exports=function(h,p,m){var g=d(p);g in h?u.f(h,g,f(0,m)):h[g]=m}},654:function(s,l,a){var d=a(2109),u=a(4994),f=a(9518),h=a(7674),p=a(8003),m=a(8880),g=a(1320),v=a(5112),b=a(1913),A=a(7497),w=a(3383),y=w.IteratorPrototype,T=w.BUGGY_SAFARI_ITERATORS,k=v("iterator"),$="keys",H="values",U="entries",R=function(){return this};s.exports=function(D,z,W,j,F,V,Y){u(W,z,j);var L=function(x){if(x===F&&ve)return ve;if(!T&&x in de)return de[x];switch(x){case $:return function(){return new W(this,x)};case H:return function(){return new W(this,x)};case U:return function(){return new W(this,x)}}return function(){return new W(this)}},X=z+" Iterator",ne=!1,de=D.prototype,ge=de[k]||de["@@iterator"]||F&&de[F],ve=!T&&ge||L(F),Ae=z=="Array"&&de.entries||ge,Se,xe,Ce;if(Ae&&(Se=f(Ae.call(new D)),y!==Object.prototype&&Se.next&&(!b&&f(Se)!==y&&(h?h(Se,y):typeof Se[k]!="function"&&m(Se,k,R)),p(Se,X,!0,!0),b&&(A[X]=R))),F==H&&ge&&ge.name!==H&&(ne=!0,ve=function(){return ge.call(this)}),(!b||Y)&&de[k]!==ve&&m(de,k,ve),A[z]=ve,F)if(xe={values:L(H),keys:V?ve:L($),entries:L(U)},Y)for(Ce in xe)(T||ne||!(Ce in de))&&g(de,Ce,xe[Ce]);else d({target:z,proto:!0,forced:T||ne},xe);return xe}},9781:function(s,l,a){var d=a(7293);s.exports=!d(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},317:function(s,l,a){var d=a(7854),u=a(111),f=d.document,h=u(f)&&u(f.createElement);s.exports=function(p){return h?f.createElement(p):{}}},8324:function(s){s.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},8113:function(s,l,a){var d=a(5005);s.exports=d("navigator","userAgent")||""},7392:function(s,l,a){var d=a(7854),u=a(8113),f=d.process,h=f&&f.versions,p=h&&h.v8,m,g;p?(m=p.split("."),g=m[0]+m[1]):u&&(m=u.match(/Edge\/(\d+)/),(!m||m[1]>=74)&&(m=u.match(/Chrome\/(\d+)/),m&&(g=m[1]))),s.exports=g&&+g},748:function(s){s.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:function(s,l,a){var d=a(7854),u=a(1236).f,f=a(8880),h=a(1320),p=a(3505),m=a(9920),g=a(4705);s.exports=function(v,b){var A=v.target,w=v.global,y=v.stat,T,k,$,H,U,R;if(w?k=d:y?k=d[A]||p(A,{}):k=(d[A]||{}).prototype,k)for($ in b){if(U=b[$],v.noTargetGet?(R=u(k,$),H=R&&R.value):H=k[$],T=g(w?$:A+(y?".":"#")+$,v.forced),!T&&H!==void 0){if(typeof U==typeof H)continue;m(U,H)}(v.sham||H&&H.sham)&&f(U,"sham",!0),h(k,$,U,v)}}},7293:function(s){s.exports=function(l){try{return!!l()}catch{return!0}}},7007:function(s,l,a){a(4916);var d=a(1320),u=a(7293),f=a(5112),h=a(2261),p=a(8880),m=f("species"),g=!u(function(){var y=/./;return y.exec=function(){var T=[];return T.groups={a:"7"},T},"".replace(y,"$<a>")!=="7"}),v=function(){return"a".replace(/./,"$0")==="$0"}(),b=f("replace"),A=function(){return/./[b]?/./[b]("a","$0")==="":!1}(),w=!u(function(){var y=/(?:)/,T=y.exec;y.exec=function(){return T.apply(this,arguments)};var k="ab".split(y);return k.length!==2||k[0]!=="a"||k[1]!=="b"});s.exports=function(y,T,k,$){var H=f(y),U=!u(function(){var F={};return F[H]=function(){return 7},""[y](F)!=7}),R=U&&!u(function(){var F=!1,V=/a/;return y==="split"&&(V={},V.constructor={},V.constructor[m]=function(){return V},V.flags="",V[H]=/./[H]),V.exec=function(){return F=!0,null},V[H](""),!F});if(!U||!R||y==="replace"&&!(g&&v&&!A)||y==="split"&&!w){var D=/./[H],z=k(H,""[y],function(F,V,Y,L,X){return V.exec===h?U&&!X?{done:!0,value:D.call(V,Y,L)}:{done:!0,value:F.call(Y,V,L)}:{done:!1}},{REPLACE_KEEPS_$0:v,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:A}),W=z[0],j=z[1];d(String.prototype,y,W),d(RegExp.prototype,H,T==2?function(F,V){return j.call(F,this,V)}:function(F){return j.call(F,this)})}$&&p(RegExp.prototype[H],"sham",!0)}},9974:function(s,l,a){var d=a(3099);s.exports=function(u,f,h){if(d(u),f===void 0)return u;switch(h){case 0:return function(){return u.call(f)};case 1:return function(p){return u.call(f,p)};case 2:return function(p,m){return u.call(f,p,m)};case 3:return function(p,m,g){return u.call(f,p,m,g)}}return function(){return u.apply(f,arguments)}}},5005:function(s,l,a){var d=a(857),u=a(7854),f=function(h){return typeof h=="function"?h:void 0};s.exports=function(h,p){return arguments.length<2?f(d[h])||f(u[h]):d[h]&&d[h][p]||u[h]&&u[h][p]}},1246:function(s,l,a){var d=a(648),u=a(7497),f=a(5112),h=f("iterator");s.exports=function(p){if(p!=null)return p[h]||p["@@iterator"]||u[d(p)]}},8554:function(s,l,a){var d=a(9670),u=a(1246);s.exports=function(f){var h=u(f);if(typeof h!="function")throw TypeError(String(f)+" is not iterable");return d(h.call(f))}},647:function(s,l,a){var d=a(7908),u=Math.floor,f="".replace,h=/\$([$&'`]|\d\d?|<[^>]*>)/g,p=/\$([$&'`]|\d\d?)/g;s.exports=function(m,g,v,b,A,w){var y=v+m.length,T=b.length,k=p;return A!==void 0&&(A=d(A),k=h),f.call(w,k,function($,H){var U;switch(H.charAt(0)){case"$":return"$";case"&":return m;case"`":return g.slice(0,v);case"'":return g.slice(y);case"<":U=A[H.slice(1,-1)];break;default:var R=+H;if(R===0)return $;if(R>T){var D=u(R/10);return D===0?$:D<=T?b[D-1]===void 0?H.charAt(1):b[D-1]+H.charAt(1):$}U=b[R-1]}return U===void 0?"":U})}},7854:function(s,l,a){var d=function(u){return u&&u.Math==Math&&u};s.exports=d(typeof globalThis=="object"&&globalThis)||d(typeof window=="object"&&window)||d(typeof self=="object"&&self)||d(typeof a.g=="object"&&a.g)||function(){return this}()||Function("return this")()},6656:function(s){var l={}.hasOwnProperty;s.exports=function(a,d){return l.call(a,d)}},3501:function(s){s.exports={}},490:function(s,l,a){var d=a(5005);s.exports=d("document","documentElement")},4664:function(s,l,a){var d=a(9781),u=a(7293),f=a(317);s.exports=!d&&!u(function(){return Object.defineProperty(f("div"),"a",{get:function(){return 7}}).a!=7})},1179:function(s){var l=Math.abs,a=Math.pow,d=Math.floor,u=Math.log,f=Math.LN2,h=function(m,g,v){var b=new Array(v),A=v*8-g-1,w=(1<<A)-1,y=w>>1,T=g===23?a(2,-24)-a(2,-77):0,k=m<0||m===0&&1/m<0?1:0,$=0,H,U,R;for(m=l(m),m!=m||m===1/0?(U=m!=m?1:0,H=w):(H=d(u(m)/f),m*(R=a(2,-H))<1&&(H--,R*=2),H+y>=1?m+=T/R:m+=T*a(2,1-y),m*R>=2&&(H++,R/=2),H+y>=w?(U=0,H=w):H+y>=1?(U=(m*R-1)*a(2,g),H=H+y):(U=m*a(2,y-1)*a(2,g),H=0));g>=8;b[$++]=U&255,U/=256,g-=8);for(H=H<<g|U,A+=g;A>0;b[$++]=H&255,H/=256,A-=8);return b[--$]|=k*128,b},p=function(m,g){var v=m.length,b=v*8-g-1,A=(1<<b)-1,w=A>>1,y=b-7,T=v-1,k=m[T--],$=k&127,H;for(k>>=7;y>0;$=$*256+m[T],T--,y-=8);for(H=$&(1<<-y)-1,$>>=-y,y+=g;y>0;H=H*256+m[T],T--,y-=8);if($===0)$=1-w;else{if($===A)return H?NaN:k?-1/0:1/0;H=H+a(2,g),$=$-w}return(k?-1:1)*H*a(2,$-g)};s.exports={pack:h,unpack:p}},8361:function(s,l,a){var d=a(7293),u=a(4326),f="".split;s.exports=d(function(){return!Object("z").propertyIsEnumerable(0)})?function(h){return u(h)=="String"?f.call(h,""):Object(h)}:Object},9587:function(s,l,a){var d=a(111),u=a(7674);s.exports=function(f,h,p){var m,g;return u&&typeof(m=h.constructor)=="function"&&m!==p&&d(g=m.prototype)&&g!==p.prototype&&u(f,g),f}},2788:function(s,l,a){var d=a(5465),u=Function.toString;typeof d.inspectSource!="function"&&(d.inspectSource=function(f){return u.call(f)}),s.exports=d.inspectSource},9909:function(s,l,a){var d=a(8536),u=a(7854),f=a(111),h=a(8880),p=a(6656),m=a(5465),g=a(6200),v=a(3501),b=u.WeakMap,A,w,y,T=function(z){return y(z)?w(z):A(z,{})},k=function(z){return function(W){var j;if(!f(W)||(j=w(W)).type!==z)throw TypeError("Incompatible receiver, "+z+" required");return j}};if(d){var $=m.state||(m.state=new b),H=$.get,U=$.has,R=$.set;A=function(z,W){return W.facade=z,R.call($,z,W),W},w=function(z){return H.call($,z)||{}},y=function(z){return U.call($,z)}}else{var D=g("state");v[D]=!0,A=function(z,W){return W.facade=z,h(z,D,W),W},w=function(z){return p(z,D)?z[D]:{}},y=function(z){return p(z,D)}}s.exports={set:A,get:w,has:y,enforce:T,getterFor:k}},7659:function(s,l,a){var d=a(5112),u=a(7497),f=d("iterator"),h=Array.prototype;s.exports=function(p){return p!==void 0&&(u.Array===p||h[f]===p)}},3157:function(s,l,a){var d=a(4326);s.exports=Array.isArray||function(f){return d(f)=="Array"}},4705:function(s,l,a){var d=a(7293),u=/#|\.prototype\./,f=function(v,b){var A=p[h(v)];return A==g?!0:A==m?!1:typeof b=="function"?d(b):!!b},h=f.normalize=function(v){return String(v).replace(u,".").toLowerCase()},p=f.data={},m=f.NATIVE="N",g=f.POLYFILL="P";s.exports=f},111:function(s){s.exports=function(l){return typeof l=="object"?l!==null:typeof l=="function"}},1913:function(s){s.exports=!1},7850:function(s,l,a){var d=a(111),u=a(4326),f=a(5112),h=f("match");s.exports=function(p){var m;return d(p)&&((m=p[h])!==void 0?!!m:u(p)=="RegExp")}},9212:function(s,l,a){var d=a(9670);s.exports=function(u){var f=u.return;if(f!==void 0)return d(f.call(u)).value}},3383:function(s,l,a){var d=a(7293),u=a(9518),f=a(8880),h=a(6656),p=a(5112),m=a(1913),g=p("iterator"),v=!1,b=function(){return this},A,w,y;[].keys&&(y=[].keys(),"next"in y?(w=u(u(y)),w!==Object.prototype&&(A=w)):v=!0);var T=A==null||d(function(){var k={};return A[g].call(k)!==k});T&&(A={}),(!m||T)&&!h(A,g)&&f(A,g,b),s.exports={IteratorPrototype:A,BUGGY_SAFARI_ITERATORS:v}},7497:function(s){s.exports={}},133:function(s,l,a){var d=a(7293);s.exports=!!Object.getOwnPropertySymbols&&!d(function(){return!String(Symbol())})},590:function(s,l,a){var d=a(7293),u=a(5112),f=a(1913),h=u("iterator");s.exports=!d(function(){var p=new URL("b?a=1&b=2&c=3","http://a"),m=p.searchParams,g="";return p.pathname="c%20d",m.forEach(function(v,b){m.delete("b"),g+=b+v}),f&&!p.toJSON||!m.sort||p.href!=="http://a/c%20d?a=1&c=3"||m.get("c")!=="3"||String(new URLSearchParams("?a=1"))!=="a=1"||!m[h]||new URL("https://a@b").username!=="a"||new URLSearchParams(new URLSearchParams("a=b")).get("a")!=="b"||new URL("http://тест").host!=="xn--e1aybc"||new URL("http://a#б").hash!=="#%D0%B1"||g!=="a1c3"||new URL("http://x",void 0).host!=="x"})},8536:function(s,l,a){var d=a(7854),u=a(2788),f=d.WeakMap;s.exports=typeof f=="function"&&/native code/.test(u(f))},1574:function(s,l,a){var d=a(9781),u=a(7293),f=a(1956),h=a(5181),p=a(5296),m=a(7908),g=a(8361),v=Object.assign,b=Object.defineProperty;s.exports=!v||u(function(){if(d&&v({b:1},v(b({},"a",{enumerable:!0,get:function(){b(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var A={},w={},y=Symbol(),T="abcdefghijklmnopqrst";return A[y]=7,T.split("").forEach(function(k){w[k]=k}),v({},A)[y]!=7||f(v({},w)).join("")!=T})?function(w,y){for(var T=m(w),k=arguments.length,$=1,H=h.f,U=p.f;k>$;)for(var R=g(arguments[$++]),D=H?f(R).concat(H(R)):f(R),z=D.length,W=0,j;z>W;)j=D[W++],(!d||U.call(R,j))&&(T[j]=R[j]);return T}:v},30:function(s,l,a){var d=a(9670),u=a(6048),f=a(748),h=a(3501),p=a(490),m=a(317),g=a(6200),v=">",b="<",A="prototype",w="script",y=g("IE_PROTO"),T=function(){},k=function(D){return b+w+v+D+b+"/"+w+v},$=function(D){D.write(k("")),D.close();var z=D.parentWindow.Object;return D=null,z},H=function(){var D=m("iframe"),z="java"+w+":",W;return D.style.display="none",p.appendChild(D),D.src=String(z),W=D.contentWindow.document,W.open(),W.write(k("document.F=Object")),W.close(),W.F},U,R=function(){try{U=document.domain&&new ActiveXObject("htmlfile")}catch{}R=U?$(U):H();for(var D=f.length;D--;)delete R[A][f[D]];return R()};h[y]=!0,s.exports=Object.create||function(z,W){var j;return z!==null?(T[A]=d(z),j=new T,T[A]=null,j[y]=z):j=R(),W===void 0?j:u(j,W)}},6048:function(s,l,a){var d=a(9781),u=a(3070),f=a(9670),h=a(1956);s.exports=d?Object.defineProperties:function(m,g){f(m);for(var v=h(g),b=v.length,A=0,w;b>A;)u.f(m,w=v[A++],g[w]);return m}},3070:function(s,l,a){var d=a(9781),u=a(4664),f=a(9670),h=a(7593),p=Object.defineProperty;l.f=d?p:function(g,v,b){if(f(g),v=h(v,!0),f(b),u)try{return p(g,v,b)}catch{}if("get"in b||"set"in b)throw TypeError("Accessors not supported");return"value"in b&&(g[v]=b.value),g}},1236:function(s,l,a){var d=a(9781),u=a(5296),f=a(9114),h=a(5656),p=a(7593),m=a(6656),g=a(4664),v=Object.getOwnPropertyDescriptor;l.f=d?v:function(A,w){if(A=h(A),w=p(w,!0),g)try{return v(A,w)}catch{}if(m(A,w))return f(!u.f.call(A,w),A[w])}},8006:function(s,l,a){var d=a(6324),u=a(748),f=u.concat("length","prototype");l.f=Object.getOwnPropertyNames||function(p){return d(p,f)}},5181:function(s,l){l.f=Object.getOwnPropertySymbols},9518:function(s,l,a){var d=a(6656),u=a(7908),f=a(6200),h=a(8544),p=f("IE_PROTO"),m=Object.prototype;s.exports=h?Object.getPrototypeOf:function(g){return g=u(g),d(g,p)?g[p]:typeof g.constructor=="function"&&g instanceof g.constructor?g.constructor.prototype:g instanceof Object?m:null}},6324:function(s,l,a){var d=a(6656),u=a(5656),f=a(1318).indexOf,h=a(3501);s.exports=function(p,m){var g=u(p),v=0,b=[],A;for(A in g)!d(h,A)&&d(g,A)&&b.push(A);for(;m.length>v;)d(g,A=m[v++])&&(~f(b,A)||b.push(A));return b}},1956:function(s,l,a){var d=a(6324),u=a(748);s.exports=Object.keys||function(h){return d(h,u)}},5296:function(s,l){var a={}.propertyIsEnumerable,d=Object.getOwnPropertyDescriptor,u=d&&!a.call({1:2},1);l.f=u?function(h){var p=d(this,h);return!!p&&p.enumerable}:a},7674:function(s,l,a){var d=a(9670),u=a(6077);s.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var f=!1,h={},p;try{p=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,p.call(h,[]),f=h instanceof Array}catch{}return function(g,v){return d(g),u(v),f?p.call(g,v):g.__proto__=v,g}}():void 0)},288:function(s,l,a){var d=a(1694),u=a(648);s.exports=d?{}.toString:function(){return"[object "+u(this)+"]"}},3887:function(s,l,a){var d=a(5005),u=a(8006),f=a(5181),h=a(9670);s.exports=d("Reflect","ownKeys")||function(m){var g=u.f(h(m)),v=f.f;return v?g.concat(v(m)):g}},857:function(s,l,a){var d=a(7854);s.exports=d},2248:function(s,l,a){var d=a(1320);s.exports=function(u,f,h){for(var p in f)d(u,p,f[p],h);return u}},1320:function(s,l,a){var d=a(7854),u=a(8880),f=a(6656),h=a(3505),p=a(2788),m=a(9909),g=m.get,v=m.enforce,b=String(String).split("String");(s.exports=function(A,w,y,T){var k=T?!!T.unsafe:!1,$=T?!!T.enumerable:!1,H=T?!!T.noTargetGet:!1,U;if(typeof y=="function"&&(typeof w=="string"&&!f(y,"name")&&u(y,"name",w),U=v(y),U.source||(U.source=b.join(typeof w=="string"?w:""))),A===d){$?A[w]=y:h(w,y);return}else k?!H&&A[w]&&($=!0):delete A[w];$?A[w]=y:u(A,w,y)})(Function.prototype,"toString",function(){return typeof this=="function"&&g(this).source||p(this)})},7651:function(s,l,a){var d=a(4326),u=a(2261);s.exports=function(f,h){var p=f.exec;if(typeof p=="function"){var m=p.call(f,h);if(typeof m!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return m}if(d(f)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return u.call(f,h)}},2261:function(s,l,a){var d=a(7066),u=a(2999),f=RegExp.prototype.exec,h=String.prototype.replace,p=f,m=function(){var A=/a/,w=/b*/g;return f.call(A,"a"),f.call(w,"a"),A.lastIndex!==0||w.lastIndex!==0}(),g=u.UNSUPPORTED_Y||u.BROKEN_CARET,v=/()??/.exec("")[1]!==void 0,b=m||v||g;b&&(p=function(w){var y=this,T,k,$,H,U=g&&y.sticky,R=d.call(y),D=y.source,z=0,W=w;return U&&(R=R.replace("y",""),R.indexOf("g")===-1&&(R+="g"),W=String(w).slice(y.lastIndex),y.lastIndex>0&&(!y.multiline||y.multiline&&w[y.lastIndex-1]!==`
|
|
56
|
+
`)&&(D="(?: "+D+")",W=" "+W,z++),k=new RegExp("^(?:"+D+")",R)),v&&(k=new RegExp("^"+D+"$(?!\\s)",R)),m&&(T=y.lastIndex),$=f.call(U?k:y,W),U?$?($.input=$.input.slice(z),$[0]=$[0].slice(z),$.index=y.lastIndex,y.lastIndex+=$[0].length):y.lastIndex=0:m&&$&&(y.lastIndex=y.global?$.index+$[0].length:T),v&&$&&$.length>1&&h.call($[0],k,function(){for(H=1;H<arguments.length-2;H++)arguments[H]===void 0&&($[H]=void 0)}),$}),s.exports=p},7066:function(s,l,a){var d=a(9670);s.exports=function(){var u=d(this),f="";return u.global&&(f+="g"),u.ignoreCase&&(f+="i"),u.multiline&&(f+="m"),u.dotAll&&(f+="s"),u.unicode&&(f+="u"),u.sticky&&(f+="y"),f}},2999:function(s,l,a){var d=a(7293);function u(f,h){return RegExp(f,h)}l.UNSUPPORTED_Y=d(function(){var f=u("a","y");return f.lastIndex=2,f.exec("abcd")!=null}),l.BROKEN_CARET=d(function(){var f=u("^r","gy");return f.lastIndex=2,f.exec("str")!=null})},4488:function(s){s.exports=function(l){if(l==null)throw TypeError("Can't call method on "+l);return l}},3505:function(s,l,a){var d=a(7854),u=a(8880);s.exports=function(f,h){try{u(d,f,h)}catch{d[f]=h}return h}},6340:function(s,l,a){var d=a(5005),u=a(3070),f=a(5112),h=a(9781),p=f("species");s.exports=function(m){var g=d(m),v=u.f;h&&g&&!g[p]&&v(g,p,{configurable:!0,get:function(){return this}})}},8003:function(s,l,a){var d=a(3070).f,u=a(6656),f=a(5112),h=f("toStringTag");s.exports=function(p,m,g){p&&!u(p=g?p:p.prototype,h)&&d(p,h,{configurable:!0,value:m})}},6200:function(s,l,a){var d=a(2309),u=a(9711),f=d("keys");s.exports=function(h){return f[h]||(f[h]=u(h))}},5465:function(s,l,a){var d=a(7854),u=a(3505),f="__core-js_shared__",h=d[f]||u(f,{});s.exports=h},2309:function(s,l,a){var d=a(1913),u=a(5465);(s.exports=function(f,h){return u[f]||(u[f]=h!==void 0?h:{})})("versions",[]).push({version:"3.9.0",mode:d?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},6707:function(s,l,a){var d=a(9670),u=a(3099),f=a(5112),h=f("species");s.exports=function(p,m){var g=d(p).constructor,v;return g===void 0||(v=d(g)[h])==null?m:u(v)}},8710:function(s,l,a){var d=a(9958),u=a(4488),f=function(h){return function(p,m){var g=String(u(p)),v=d(m),b=g.length,A,w;return v<0||v>=b?h?"":void 0:(A=g.charCodeAt(v),A<55296||A>56319||v+1===b||(w=g.charCodeAt(v+1))<56320||w>57343?h?g.charAt(v):A:h?g.slice(v,v+2):(A-55296<<10)+(w-56320)+65536)}};s.exports={codeAt:f(!1),charAt:f(!0)}},3197:function(s){var l=2147483647,a=36,d=1,u=26,f=38,h=700,p=72,m=128,g="-",v=/[^\0-\u007E]/,b=/[.\u3002\uFF0E\uFF61]/g,A="Overflow: input needs wider integers to process",w=a-d,y=Math.floor,T=String.fromCharCode,k=function(R){for(var D=[],z=0,W=R.length;z<W;){var j=R.charCodeAt(z++);if(j>=55296&&j<=56319&&z<W){var F=R.charCodeAt(z++);(F&64512)==56320?D.push(((j&1023)<<10)+(F&1023)+65536):(D.push(j),z--)}else D.push(j)}return D},$=function(R){return R+22+75*(R<26)},H=function(R,D,z){var W=0;for(R=z?y(R/h):R>>1,R+=y(R/D);R>w*u>>1;W+=a)R=y(R/w);return y(W+(w+1)*R/(R+f))},U=function(R){var D=[];R=k(R);var z=R.length,W=m,j=0,F=p,V,Y;for(V=0;V<R.length;V++)Y=R[V],Y<128&&D.push(T(Y));var L=D.length,X=L;for(L&&D.push(g);X<z;){var ne=l;for(V=0;V<R.length;V++)Y=R[V],Y>=W&&Y<ne&&(ne=Y);var de=X+1;if(ne-W>y((l-j)/de))throw RangeError(A);for(j+=(ne-W)*de,W=ne,V=0;V<R.length;V++){if(Y=R[V],Y<W&&++j>l)throw RangeError(A);if(Y==W){for(var ge=j,ve=a;;ve+=a){var Ae=ve<=F?d:ve>=F+u?u:ve-F;if(ge<Ae)break;var Se=ge-Ae,xe=a-Ae;D.push(T($(Ae+Se%xe))),ge=y(Se/xe)}D.push(T($(ge))),F=H(j,de,X==L),j=0,++X}}++j,++W}return D.join("")};s.exports=function(R){var D=[],z=R.toLowerCase().replace(b,".").split("."),W,j;for(W=0;W<z.length;W++)j=z[W],D.push(v.test(j)?"xn--"+U(j):j);return D.join(".")}},6091:function(s,l,a){var d=a(7293),u=a(1361),f="
";s.exports=function(h){return d(function(){return!!u[h]()||f[h]()!=f||u[h].name!==h})}},3111:function(s,l,a){var d=a(4488),u=a(1361),f="["+u+"]",h=RegExp("^"+f+f+"*"),p=RegExp(f+f+"*$"),m=function(g){return function(v){var b=String(d(v));return g&1&&(b=b.replace(h,"")),g&2&&(b=b.replace(p,"")),b}};s.exports={start:m(1),end:m(2),trim:m(3)}},1400:function(s,l,a){var d=a(9958),u=Math.max,f=Math.min;s.exports=function(h,p){var m=d(h);return m<0?u(m+p,0):f(m,p)}},7067:function(s,l,a){var d=a(9958),u=a(7466);s.exports=function(f){if(f===void 0)return 0;var h=d(f),p=u(h);if(h!==p)throw RangeError("Wrong length or index");return p}},5656:function(s,l,a){var d=a(8361),u=a(4488);s.exports=function(f){return d(u(f))}},9958:function(s){var l=Math.ceil,a=Math.floor;s.exports=function(d){return isNaN(d=+d)?0:(d>0?a:l)(d)}},7466:function(s,l,a){var d=a(9958),u=Math.min;s.exports=function(f){return f>0?u(d(f),9007199254740991):0}},7908:function(s,l,a){var d=a(4488);s.exports=function(u){return Object(d(u))}},4590:function(s,l,a){var d=a(3002);s.exports=function(u,f){var h=d(u);if(h%f)throw RangeError("Wrong offset");return h}},3002:function(s,l,a){var d=a(9958);s.exports=function(u){var f=d(u);if(f<0)throw RangeError("The argument can't be less than 0");return f}},7593:function(s,l,a){var d=a(111);s.exports=function(u,f){if(!d(u))return u;var h,p;if(f&&typeof(h=u.toString)=="function"&&!d(p=h.call(u))||typeof(h=u.valueOf)=="function"&&!d(p=h.call(u))||!f&&typeof(h=u.toString)=="function"&&!d(p=h.call(u)))return p;throw TypeError("Can't convert object to primitive value")}},1694:function(s,l,a){var d=a(5112),u=d("toStringTag"),f={};f[u]="z",s.exports=String(f)==="[object z]"},9843:function(s,l,a){var d=a(2109),u=a(7854),f=a(9781),h=a(3832),p=a(260),m=a(3331),g=a(5787),v=a(9114),b=a(8880),A=a(7466),w=a(7067),y=a(4590),T=a(7593),k=a(6656),$=a(648),H=a(111),U=a(30),R=a(7674),D=a(8006).f,z=a(7321),W=a(2092).forEach,j=a(6340),F=a(3070),V=a(1236),Y=a(9909),L=a(9587),X=Y.get,ne=Y.set,de=F.f,ge=V.f,ve=Math.round,Ae=u.RangeError,Se=m.ArrayBuffer,xe=m.DataView,Ce=p.NATIVE_ARRAY_BUFFER_VIEWS,x=p.TYPED_ARRAY_TAG,I=p.TypedArray,S=p.TypedArrayPrototype,M=p.aTypedArrayConstructor,C=p.isTypedArray,E="BYTES_PER_ELEMENT",_="Wrong length",N=function(Z,J){for(var re=0,he=J.length,we=new(M(Z))(he);he>re;)we[re]=J[re++];return we},B=function(Z,J){de(Z,J,{get:function(){return X(this)[J]}})},P=function(Z){var J;return Z instanceof Se||(J=$(Z))=="ArrayBuffer"||J=="SharedArrayBuffer"},K=function(Z,J){return C(Z)&&typeof J!="symbol"&&J in Z&&String(+J)==String(J)},G=function(J,re){return K(J,re=T(re,!0))?v(2,J[re]):ge(J,re)},Q=function(J,re,he){return K(J,re=T(re,!0))&&H(he)&&k(he,"value")&&!k(he,"get")&&!k(he,"set")&&!he.configurable&&(!k(he,"writable")||he.writable)&&(!k(he,"enumerable")||he.enumerable)?(J[re]=he.value,J):de(J,re,he)};f?(Ce||(V.f=G,F.f=Q,B(S,"buffer"),B(S,"byteOffset"),B(S,"byteLength"),B(S,"length")),d({target:"Object",stat:!0,forced:!Ce},{getOwnPropertyDescriptor:G,defineProperty:Q}),s.exports=function(Z,J,re){var he=Z.match(/\d+$/)[0]/8,we=Z+(re?"Clamped":"")+"Array",Le="get"+Z,ze="set"+Z,$e=u[we],Be=$e,Ze=Be&&Be.prototype,At={},at=function(ue,fe){var Te=X(ue);return Te.view[Le](fe*he+Te.byteOffset,!0)},Yn=function(ue,fe,Te){var Ie=X(ue);re&&(Te=(Te=ve(Te))<0?0:Te>255?255:Te&255),Ie.view[ze](fe*he+Ie.byteOffset,Te,!0)},ee=function(ue,fe){de(ue,fe,{get:function(){return at(this,fe)},set:function(Te){return Yn(this,fe,Te)},enumerable:!0})};Ce?h&&(Be=J(function(ue,fe,Te,Ie){return g(ue,Be,we),L(function(){return H(fe)?P(fe)?Ie!==void 0?new $e(fe,y(Te,he),Ie):Te!==void 0?new $e(fe,y(Te,he)):new $e(fe):C(fe)?N(Be,fe):z.call(Be,fe):new $e(w(fe))}(),ue,Be)}),R&&R(Be,I),W(D($e),function(ue){ue in Be||b(Be,ue,$e[ue])}),Be.prototype=Ze):(Be=J(function(ue,fe,Te,Ie){g(ue,Be,we);var je=0,Ke=0,gt,vt,rt;if(!H(fe))rt=w(fe),vt=rt*he,gt=new Se(vt);else if(P(fe)){gt=fe,Ke=y(Te,he);var cn=fe.byteLength;if(Ie===void 0){if(cn%he||(vt=cn-Ke,vt<0))throw Ae(_)}else if(vt=A(Ie)*he,vt+Ke>cn)throw Ae(_);rt=vt/he}else return C(fe)?N(Be,fe):z.call(Be,fe);for(ne(ue,{buffer:gt,byteOffset:Ke,byteLength:vt,length:rt,view:new xe(gt)});je<rt;)ee(ue,je++)}),R&&R(Be,I),Ze=Be.prototype=U(S)),Ze.constructor!==Be&&b(Ze,"constructor",Be),x&&b(Ze,x,we),At[we]=Be,d({global:!0,forced:Be!=$e,sham:!Ce},At),E in Be||b(Be,E,he),E in Ze||b(Ze,E,he),j(we)}):s.exports=function(){}},3832:function(s,l,a){var d=a(7854),u=a(7293),f=a(7072),h=a(260).NATIVE_ARRAY_BUFFER_VIEWS,p=d.ArrayBuffer,m=d.Int8Array;s.exports=!h||!u(function(){m(1)})||!u(function(){new m(-1)})||!f(function(g){new m,new m(null),new m(1.5),new m(g)},!0)||u(function(){return new m(new p(2),1,void 0).length!==1})},3074:function(s,l,a){var d=a(260).aTypedArrayConstructor,u=a(6707);s.exports=function(f,h){for(var p=u(f,f.constructor),m=0,g=h.length,v=new(d(p))(g);g>m;)v[m]=h[m++];return v}},7321:function(s,l,a){var d=a(7908),u=a(7466),f=a(1246),h=a(7659),p=a(9974),m=a(260).aTypedArrayConstructor;s.exports=function(v){var b=d(v),A=arguments.length,w=A>1?arguments[1]:void 0,y=w!==void 0,T=f(b),k,$,H,U,R,D;if(T!=null&&!h(T))for(R=T.call(b),D=R.next,b=[];!(U=D.call(R)).done;)b.push(U.value);for(y&&A>2&&(w=p(w,arguments[2],2)),$=u(b.length),H=new(m(this))($),k=0;$>k;k++)H[k]=y?w(b[k],k):b[k];return H}},9711:function(s){var l=0,a=Math.random();s.exports=function(d){return"Symbol("+String(d===void 0?"":d)+")_"+(++l+a).toString(36)}},3307:function(s,l,a){var d=a(133);s.exports=d&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},5112:function(s,l,a){var d=a(7854),u=a(2309),f=a(6656),h=a(9711),p=a(133),m=a(3307),g=u("wks"),v=d.Symbol,b=m?v:v&&v.withoutSetter||h;s.exports=function(A){return f(g,A)||(p&&f(v,A)?g[A]=v[A]:g[A]=b("Symbol."+A)),g[A]}},1361:function(s){s.exports=`
|
|
57
|
+
\v\f\r \u2028\u2029\uFEFF`},8264:function(s,l,a){var d=a(2109),u=a(7854),f=a(3331),h=a(6340),p="ArrayBuffer",m=f[p],g=u[p];d({global:!0,forced:g!==m},{ArrayBuffer:m}),h(p)},2222:function(s,l,a){var d=a(2109),u=a(7293),f=a(3157),h=a(111),p=a(7908),m=a(7466),g=a(6135),v=a(5417),b=a(1194),A=a(5112),w=a(7392),y=A("isConcatSpreadable"),T=9007199254740991,k="Maximum allowed index exceeded",$=w>=51||!u(function(){var D=[];return D[y]=!1,D.concat()[0]!==D}),H=b("concat"),U=function(D){if(!h(D))return!1;var z=D[y];return z!==void 0?!!z:f(D)},R=!$||!H;d({target:"Array",proto:!0,forced:R},{concat:function(z){var W=p(this),j=v(W,0),F=0,V,Y,L,X,ne;for(V=-1,L=arguments.length;V<L;V++)if(ne=V===-1?W:arguments[V],U(ne)){if(X=m(ne.length),F+X>T)throw TypeError(k);for(Y=0;Y<X;Y++,F++)Y in ne&&g(j,F,ne[Y])}else{if(F>=T)throw TypeError(k);g(j,F++,ne)}return j.length=F,j}})},7327:function(s,l,a){var d=a(2109),u=a(2092).filter,f=a(1194),h=f("filter");d({target:"Array",proto:!0,forced:!h},{filter:function(m){return u(this,m,arguments.length>1?arguments[1]:void 0)}})},2772:function(s,l,a){var d=a(2109),u=a(1318).indexOf,f=a(9341),h=[].indexOf,p=!!h&&1/[1].indexOf(1,-0)<0,m=f("indexOf");d({target:"Array",proto:!0,forced:p||!m},{indexOf:function(v){return p?h.apply(this,arguments)||0:u(this,v,arguments.length>1?arguments[1]:void 0)}})},6992:function(s,l,a){var d=a(5656),u=a(1223),f=a(7497),h=a(9909),p=a(654),m="Array Iterator",g=h.set,v=h.getterFor(m);s.exports=p(Array,"Array",function(b,A){g(this,{type:m,target:d(b),index:0,kind:A})},function(){var b=v(this),A=b.target,w=b.kind,y=b.index++;return!A||y>=A.length?(b.target=void 0,{value:void 0,done:!0}):w=="keys"?{value:y,done:!1}:w=="values"?{value:A[y],done:!1}:{value:[y,A[y]],done:!1}},"values"),f.Arguments=f.Array,u("keys"),u("values"),u("entries")},1249:function(s,l,a){var d=a(2109),u=a(2092).map,f=a(1194),h=f("map");d({target:"Array",proto:!0,forced:!h},{map:function(m){return u(this,m,arguments.length>1?arguments[1]:void 0)}})},7042:function(s,l,a){var d=a(2109),u=a(111),f=a(3157),h=a(1400),p=a(7466),m=a(5656),g=a(6135),v=a(5112),b=a(1194),A=b("slice"),w=v("species"),y=[].slice,T=Math.max;d({target:"Array",proto:!0,forced:!A},{slice:function($,H){var U=m(this),R=p(U.length),D=h($,R),z=h(H===void 0?R:H,R),W,j,F;if(f(U)&&(W=U.constructor,typeof W=="function"&&(W===Array||f(W.prototype))?W=void 0:u(W)&&(W=W[w],W===null&&(W=void 0)),W===Array||W===void 0))return y.call(U,D,z);for(j=new(W===void 0?Array:W)(T(z-D,0)),F=0;D<z;D++,F++)D in U&&g(j,F,U[D]);return j.length=F,j}})},561:function(s,l,a){var d=a(2109),u=a(1400),f=a(9958),h=a(7466),p=a(7908),m=a(5417),g=a(6135),v=a(1194),b=v("splice"),A=Math.max,w=Math.min,y=9007199254740991,T="Maximum allowed length exceeded";d({target:"Array",proto:!0,forced:!b},{splice:function($,H){var U=p(this),R=h(U.length),D=u($,R),z=arguments.length,W,j,F,V,Y,L;if(z===0?W=j=0:z===1?(W=0,j=R-D):(W=z-2,j=w(A(f(H),0),R-D)),R+W-j>y)throw TypeError(T);for(F=m(U,j),V=0;V<j;V++)Y=D+V,Y in U&&g(F,V,U[Y]);if(F.length=j,W<j){for(V=D;V<R-j;V++)Y=V+j,L=V+W,Y in U?U[L]=U[Y]:delete U[L];for(V=R;V>R-j+W;V--)delete U[V-1]}else if(W>j)for(V=R-j;V>D;V--)Y=V+j-1,L=V+W-1,Y in U?U[L]=U[Y]:delete U[L];for(V=0;V<W;V++)U[V+D]=arguments[V+2];return U.length=R-j+W,F}})},8309:function(s,l,a){var d=a(9781),u=a(3070).f,f=Function.prototype,h=f.toString,p=/^\s*function ([^ (]*)/,m="name";d&&!(m in f)&&u(f,m,{configurable:!0,get:function(){try{return h.call(this).match(p)[1]}catch{return""}}})},489:function(s,l,a){var d=a(2109),u=a(7293),f=a(7908),h=a(9518),p=a(8544),m=u(function(){h(1)});d({target:"Object",stat:!0,forced:m,sham:!p},{getPrototypeOf:function(v){return h(f(v))}})},1539:function(s,l,a){var d=a(1694),u=a(1320),f=a(288);d||u(Object.prototype,"toString",f,{unsafe:!0})},4916:function(s,l,a){var d=a(2109),u=a(2261);d({target:"RegExp",proto:!0,forced:/./.exec!==u},{exec:u})},9714:function(s,l,a){var d=a(1320),u=a(9670),f=a(7293),h=a(7066),p="toString",m=RegExp.prototype,g=m[p],v=f(function(){return g.call({source:"a",flags:"b"})!="/a/b"}),b=g.name!=p;(v||b)&&d(RegExp.prototype,p,function(){var w=u(this),y=String(w.source),T=w.flags,k=String(T===void 0&&w instanceof RegExp&&!("flags"in m)?h.call(w):T);return"/"+y+"/"+k},{unsafe:!0})},8783:function(s,l,a){var d=a(8710).charAt,u=a(9909),f=a(654),h="String Iterator",p=u.set,m=u.getterFor(h);f(String,"String",function(g){p(this,{type:h,string:String(g),index:0})},function(){var v=m(this),b=v.string,A=v.index,w;return A>=b.length?{value:void 0,done:!0}:(w=d(b,A),v.index+=w.length,{value:w,done:!1})})},4723:function(s,l,a){var d=a(7007),u=a(9670),f=a(7466),h=a(4488),p=a(1530),m=a(7651);d("match",1,function(g,v,b){return[function(w){var y=h(this),T=w==null?void 0:w[g];return T!==void 0?T.call(w,y):new RegExp(w)[g](String(y))},function(A){var w=b(v,A,this);if(w.done)return w.value;var y=u(A),T=String(this);if(!y.global)return m(y,T);var k=y.unicode;y.lastIndex=0;for(var $=[],H=0,U;(U=m(y,T))!==null;){var R=String(U[0]);$[H]=R,R===""&&(y.lastIndex=p(T,f(y.lastIndex),k)),H++}return H===0?null:$}]})},5306:function(s,l,a){var d=a(7007),u=a(9670),f=a(7466),h=a(9958),p=a(4488),m=a(1530),g=a(647),v=a(7651),b=Math.max,A=Math.min,w=function(y){return y===void 0?y:String(y)};d("replace",2,function(y,T,k,$){var H=$.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,U=$.REPLACE_KEEPS_$0,R=H?"$":"$0";return[function(z,W){var j=p(this),F=z==null?void 0:z[y];return F!==void 0?F.call(z,j,W):T.call(String(j),z,W)},function(D,z){if(!H&&U||typeof z=="string"&&z.indexOf(R)===-1){var W=k(T,D,this,z);if(W.done)return W.value}var j=u(D),F=String(this),V=typeof z=="function";V||(z=String(z));var Y=j.global;if(Y){var L=j.unicode;j.lastIndex=0}for(var X=[];;){var ne=v(j,F);if(ne===null||(X.push(ne),!Y))break;var de=String(ne[0]);de===""&&(j.lastIndex=m(F,f(j.lastIndex),L))}for(var ge="",ve=0,Ae=0;Ae<X.length;Ae++){ne=X[Ae];for(var Se=String(ne[0]),xe=b(A(h(ne.index),F.length),0),Ce=[],x=1;x<ne.length;x++)Ce.push(w(ne[x]));var I=ne.groups;if(V){var S=[Se].concat(Ce,xe,F);I!==void 0&&S.push(I);var M=String(z.apply(void 0,S))}else M=g(Se,F,xe,Ce,I,z);xe>=ve&&(ge+=F.slice(ve,xe)+M,ve=xe+Se.length)}return ge+F.slice(ve)}]})},3123:function(s,l,a){var d=a(7007),u=a(7850),f=a(9670),h=a(4488),p=a(6707),m=a(1530),g=a(7466),v=a(7651),b=a(2261),A=a(7293),w=[].push,y=Math.min,T=4294967295,k=!A(function(){return!RegExp(T,"y")});d("split",2,function($,H,U){var R;return"abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?R=function(D,z){var W=String(h(this)),j=z===void 0?T:z>>>0;if(j===0)return[];if(D===void 0)return[W];if(!u(D))return H.call(W,D,j);for(var F=[],V=(D.ignoreCase?"i":"")+(D.multiline?"m":"")+(D.unicode?"u":"")+(D.sticky?"y":""),Y=0,L=new RegExp(D.source,V+"g"),X,ne,de;(X=b.call(L,W))&&(ne=L.lastIndex,!(ne>Y&&(F.push(W.slice(Y,X.index)),X.length>1&&X.index<W.length&&w.apply(F,X.slice(1)),de=X[0].length,Y=ne,F.length>=j)));)L.lastIndex===X.index&&L.lastIndex++;return Y===W.length?(de||!L.test(""))&&F.push(""):F.push(W.slice(Y)),F.length>j?F.slice(0,j):F}:"0".split(void 0,0).length?R=function(D,z){return D===void 0&&z===0?[]:H.call(this,D,z)}:R=H,[function(z,W){var j=h(this),F=z==null?void 0:z[$];return F!==void 0?F.call(z,j,W):R.call(String(j),z,W)},function(D,z){var W=U(R,D,this,z,R!==H);if(W.done)return W.value;var j=f(D),F=String(this),V=p(j,RegExp),Y=j.unicode,L=(j.ignoreCase?"i":"")+(j.multiline?"m":"")+(j.unicode?"u":"")+(k?"y":"g"),X=new V(k?j:"^(?:"+j.source+")",L),ne=z===void 0?T:z>>>0;if(ne===0)return[];if(F.length===0)return v(X,F)===null?[F]:[];for(var de=0,ge=0,ve=[];ge<F.length;){X.lastIndex=k?ge:0;var Ae=v(X,k?F:F.slice(ge)),Se;if(Ae===null||(Se=y(g(X.lastIndex+(k?0:ge)),F.length))===de)ge=m(F,ge,Y);else{if(ve.push(F.slice(de,ge)),ve.length===ne)return ve;for(var xe=1;xe<=Ae.length-1;xe++)if(ve.push(Ae[xe]),ve.length===ne)return ve;ge=de=Se}}return ve.push(F.slice(de)),ve}]},!k)},3210:function(s,l,a){var d=a(2109),u=a(3111).trim,f=a(6091);d({target:"String",proto:!0,forced:f("trim")},{trim:function(){return u(this)}})},2990:function(s,l,a){var d=a(260),u=a(1048),f=d.aTypedArray,h=d.exportTypedArrayMethod;h("copyWithin",function(m,g){return u.call(f(this),m,g,arguments.length>2?arguments[2]:void 0)})},8927:function(s,l,a){var d=a(260),u=a(2092).every,f=d.aTypedArray,h=d.exportTypedArrayMethod;h("every",function(m){return u(f(this),m,arguments.length>1?arguments[1]:void 0)})},3105:function(s,l,a){var d=a(260),u=a(1285),f=d.aTypedArray,h=d.exportTypedArrayMethod;h("fill",function(m){return u.apply(f(this),arguments)})},5035:function(s,l,a){var d=a(260),u=a(2092).filter,f=a(3074),h=d.aTypedArray,p=d.exportTypedArrayMethod;p("filter",function(g){var v=u(h(this),g,arguments.length>1?arguments[1]:void 0);return f(this,v)})},7174:function(s,l,a){var d=a(260),u=a(2092).findIndex,f=d.aTypedArray,h=d.exportTypedArrayMethod;h("findIndex",function(m){return u(f(this),m,arguments.length>1?arguments[1]:void 0)})},4345:function(s,l,a){var d=a(260),u=a(2092).find,f=d.aTypedArray,h=d.exportTypedArrayMethod;h("find",function(m){return u(f(this),m,arguments.length>1?arguments[1]:void 0)})},2846:function(s,l,a){var d=a(260),u=a(2092).forEach,f=d.aTypedArray,h=d.exportTypedArrayMethod;h("forEach",function(m){u(f(this),m,arguments.length>1?arguments[1]:void 0)})},4731:function(s,l,a){var d=a(260),u=a(1318).includes,f=d.aTypedArray,h=d.exportTypedArrayMethod;h("includes",function(m){return u(f(this),m,arguments.length>1?arguments[1]:void 0)})},7209:function(s,l,a){var d=a(260),u=a(1318).indexOf,f=d.aTypedArray,h=d.exportTypedArrayMethod;h("indexOf",function(m){return u(f(this),m,arguments.length>1?arguments[1]:void 0)})},6319:function(s,l,a){var d=a(7854),u=a(260),f=a(6992),h=a(5112),p=h("iterator"),m=d.Uint8Array,g=f.values,v=f.keys,b=f.entries,A=u.aTypedArray,w=u.exportTypedArrayMethod,y=m&&m.prototype[p],T=!!y&&(y.name=="values"||y.name==null),k=function(){return g.call(A(this))};w("entries",function(){return b.call(A(this))}),w("keys",function(){return v.call(A(this))}),w("values",k,!T),w(p,k,!T)},8867:function(s,l,a){var d=a(260),u=d.aTypedArray,f=d.exportTypedArrayMethod,h=[].join;f("join",function(m){return h.apply(u(this),arguments)})},7789:function(s,l,a){var d=a(260),u=a(6583),f=d.aTypedArray,h=d.exportTypedArrayMethod;h("lastIndexOf",function(m){return u.apply(f(this),arguments)})},3739:function(s,l,a){var d=a(260),u=a(2092).map,f=a(6707),h=d.aTypedArray,p=d.aTypedArrayConstructor,m=d.exportTypedArrayMethod;m("map",function(v){return u(h(this),v,arguments.length>1?arguments[1]:void 0,function(b,A){return new(p(f(b,b.constructor)))(A)})})},4483:function(s,l,a){var d=a(260),u=a(3671).right,f=d.aTypedArray,h=d.exportTypedArrayMethod;h("reduceRight",function(m){return u(f(this),m,arguments.length,arguments.length>1?arguments[1]:void 0)})},9368:function(s,l,a){var d=a(260),u=a(3671).left,f=d.aTypedArray,h=d.exportTypedArrayMethod;h("reduce",function(m){return u(f(this),m,arguments.length,arguments.length>1?arguments[1]:void 0)})},2056:function(s,l,a){var d=a(260),u=d.aTypedArray,f=d.exportTypedArrayMethod,h=Math.floor;f("reverse",function(){for(var m=this,g=u(m).length,v=h(g/2),b=0,A;b<v;)A=m[b],m[b++]=m[--g],m[g]=A;return m})},3462:function(s,l,a){var d=a(260),u=a(7466),f=a(4590),h=a(7908),p=a(7293),m=d.aTypedArray,g=d.exportTypedArrayMethod,v=p(function(){new Int8Array(1).set({})});g("set",function(A){m(this);var w=f(arguments.length>1?arguments[1]:void 0,1),y=this.length,T=h(A),k=u(T.length),$=0;if(k+w>y)throw RangeError("Wrong length");for(;$<k;)this[w+$]=T[$++]},v)},678:function(s,l,a){var d=a(260),u=a(6707),f=a(7293),h=d.aTypedArray,p=d.aTypedArrayConstructor,m=d.exportTypedArrayMethod,g=[].slice,v=f(function(){new Int8Array(1).slice()});m("slice",function(A,w){for(var y=g.call(h(this),A,w),T=u(this,this.constructor),k=0,$=y.length,H=new(p(T))($);$>k;)H[k]=y[k++];return H},v)},7462:function(s,l,a){var d=a(260),u=a(2092).some,f=d.aTypedArray,h=d.exportTypedArrayMethod;h("some",function(m){return u(f(this),m,arguments.length>1?arguments[1]:void 0)})},3824:function(s,l,a){var d=a(260),u=d.aTypedArray,f=d.exportTypedArrayMethod,h=[].sort;f("sort",function(m){return h.call(u(this),m)})},5021:function(s,l,a){var d=a(260),u=a(7466),f=a(1400),h=a(6707),p=d.aTypedArray,m=d.exportTypedArrayMethod;m("subarray",function(v,b){var A=p(this),w=A.length,y=f(v,w);return new(h(A,A.constructor))(A.buffer,A.byteOffset+y*A.BYTES_PER_ELEMENT,u((b===void 0?w:f(b,w))-y))})},2974:function(s,l,a){var d=a(7854),u=a(260),f=a(7293),h=d.Int8Array,p=u.aTypedArray,m=u.exportTypedArrayMethod,g=[].toLocaleString,v=[].slice,b=!!h&&f(function(){g.call(new h(1))}),A=f(function(){return[1,2].toLocaleString()!=new h([1,2]).toLocaleString()})||!f(function(){h.prototype.toLocaleString.call([1,2])});m("toLocaleString",function(){return g.apply(b?v.call(p(this)):p(this),arguments)},A)},5016:function(s,l,a){var d=a(260).exportTypedArrayMethod,u=a(7293),f=a(7854),h=f.Uint8Array,p=h&&h.prototype||{},m=[].toString,g=[].join;u(function(){m.call({})})&&(m=function(){return g.call(this)});var v=p.toString!=m;d("toString",m,v)},2472:function(s,l,a){var d=a(9843);d("Uint8",function(u){return function(h,p,m){return u(this,h,p,m)}})},4747:function(s,l,a){var d=a(7854),u=a(8324),f=a(8533),h=a(8880);for(var p in u){var m=d[p],g=m&&m.prototype;if(g&&g.forEach!==f)try{h(g,"forEach",f)}catch{g.forEach=f}}},3948:function(s,l,a){var d=a(7854),u=a(8324),f=a(6992),h=a(8880),p=a(5112),m=p("iterator"),g=p("toStringTag"),v=f.values;for(var b in u){var A=d[b],w=A&&A.prototype;if(w){if(w[m]!==v)try{h(w,m,v)}catch{w[m]=v}if(w[g]||h(w,g,b),u[b]){for(var y in f)if(w[y]!==f[y])try{h(w,y,f[y])}catch{w[y]=f[y]}}}}},1637:function(s,l,a){a(6992);var d=a(2109),u=a(5005),f=a(590),h=a(1320),p=a(2248),m=a(8003),g=a(4994),v=a(9909),b=a(5787),A=a(6656),w=a(9974),y=a(648),T=a(9670),k=a(111),$=a(30),H=a(9114),U=a(8554),R=a(1246),D=a(5112),z=u("fetch"),W=u("Headers"),j=D("iterator"),F="URLSearchParams",V=F+"Iterator",Y=v.set,L=v.getterFor(F),X=v.getterFor(V),ne=/\+/g,de=Array(4),ge=function(N){return de[N-1]||(de[N-1]=RegExp("((?:%[\\da-f]{2}){"+N+"})","gi"))},ve=function(N){try{return decodeURIComponent(N)}catch{return N}},Ae=function(N){var B=N.replace(ne," "),P=4;try{return decodeURIComponent(B)}catch{for(;P;)B=B.replace(ge(P--),ve);return B}},Se=/[!'()~]|%20/g,xe={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},Ce=function(N){return xe[N]},x=function(N){return encodeURIComponent(N).replace(Se,Ce)},I=function(N,B){if(B)for(var P=B.split("&"),K=0,G,Q;K<P.length;)G=P[K++],G.length&&(Q=G.split("="),N.push({key:Ae(Q.shift()),value:Ae(Q.join("="))}))},S=function(N){this.entries.length=0,I(this.entries,N)},M=function(N,B){if(N<B)throw TypeError("Not enough arguments")},C=g(function(B,P){Y(this,{type:V,iterator:U(L(B).entries),kind:P})},"Iterator",function(){var B=X(this),P=B.kind,K=B.iterator.next(),G=K.value;return K.done||(K.value=P==="keys"?G.key:P==="values"?G.value:[G.key,G.value]),K}),E=function(){b(this,E,F);var B=arguments.length>0?arguments[0]:void 0,P=this,K=[],G,Q,Z,J,re,he,we,Le,ze;if(Y(P,{type:F,entries:K,updateURL:function(){},updateSearchParams:S}),B!==void 0)if(k(B))if(G=R(B),typeof G=="function")for(Q=G.call(B),Z=Q.next;!(J=Z.call(Q)).done;){if(re=U(T(J.value)),he=re.next,(we=he.call(re)).done||(Le=he.call(re)).done||!he.call(re).done)throw TypeError("Expected sequence with length 2");K.push({key:we.value+"",value:Le.value+""})}else for(ze in B)A(B,ze)&&K.push({key:ze,value:B[ze]+""});else I(K,typeof B=="string"?B.charAt(0)==="?"?B.slice(1):B:B+"")},_=E.prototype;p(_,{append:function(B,P){M(arguments.length,2);var K=L(this);K.entries.push({key:B+"",value:P+""}),K.updateURL()},delete:function(N){M(arguments.length,1);for(var B=L(this),P=B.entries,K=N+"",G=0;G<P.length;)P[G].key===K?P.splice(G,1):G++;B.updateURL()},get:function(B){M(arguments.length,1);for(var P=L(this).entries,K=B+"",G=0;G<P.length;G++)if(P[G].key===K)return P[G].value;return null},getAll:function(B){M(arguments.length,1);for(var P=L(this).entries,K=B+"",G=[],Q=0;Q<P.length;Q++)P[Q].key===K&&G.push(P[Q].value);return G},has:function(B){M(arguments.length,1);for(var P=L(this).entries,K=B+"",G=0;G<P.length;)if(P[G++].key===K)return!0;return!1},set:function(B,P){M(arguments.length,1);for(var K=L(this),G=K.entries,Q=!1,Z=B+"",J=P+"",re=0,he;re<G.length;re++)he=G[re],he.key===Z&&(Q?G.splice(re--,1):(Q=!0,he.value=J));Q||G.push({key:Z,value:J}),K.updateURL()},sort:function(){var B=L(this),P=B.entries,K=P.slice(),G,Q,Z;for(P.length=0,Z=0;Z<K.length;Z++){for(G=K[Z],Q=0;Q<Z;Q++)if(P[Q].key>G.key){P.splice(Q,0,G);break}Q===Z&&P.push(G)}B.updateURL()},forEach:function(B){for(var P=L(this).entries,K=w(B,arguments.length>1?arguments[1]:void 0,3),G=0,Q;G<P.length;)Q=P[G++],K(Q.value,Q.key,this)},keys:function(){return new C(this,"keys")},values:function(){return new C(this,"values")},entries:function(){return new C(this,"entries")}},{enumerable:!0}),h(_,j,_.entries),h(_,"toString",function(){for(var B=L(this).entries,P=[],K=0,G;K<B.length;)G=B[K++],P.push(x(G.key)+"="+x(G.value));return P.join("&")},{enumerable:!0}),m(E,F),d({global:!0,forced:!f},{URLSearchParams:E}),!f&&typeof z=="function"&&typeof W=="function"&&d({global:!0,enumerable:!0,forced:!0},{fetch:function(B){var P=[B],K,G,Q;return arguments.length>1&&(K=arguments[1],k(K)&&(G=K.body,y(G)===F&&(Q=K.headers?new W(K.headers):new W,Q.has("content-type")||Q.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),K=$(K,{body:H(0,String(G)),headers:H(0,Q)}))),P.push(K)),z.apply(this,P)}}),s.exports={URLSearchParams:E,getState:L}},285:function(s,l,a){a(8783);var d=a(2109),u=a(9781),f=a(590),h=a(7854),p=a(6048),m=a(1320),g=a(5787),v=a(6656),b=a(1574),A=a(8457),w=a(8710).codeAt,y=a(3197),T=a(8003),k=a(1637),$=a(9909),H=h.URL,U=k.URLSearchParams,R=k.getState,D=$.set,z=$.getterFor("URL"),W=Math.floor,j=Math.pow,F="Invalid authority",V="Invalid scheme",Y="Invalid host",L="Invalid port",X=/[A-Za-z]/,ne=/[\d+-.A-Za-z]/,de=/\d/,ge=/^(0x|0X)/,ve=/^[0-7]+$/,Ae=/^\d+$/,Se=/^[\dA-Fa-f]+$/,xe=/[\u0000\t\u000A\u000D #%/:?@[\\]]/,Ce=/[\u0000\t\u000A\u000D #/:?@[\\]]/,x=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,I=/[\t\u000A\u000D]/g,S,M=function(O,oe){var te,ie,ce;if(oe.charAt(0)=="["){if(oe.charAt(oe.length-1)!="]"||(te=E(oe.slice(1,-1)),!te))return Y;O.host=te}else if(J(O)){if(oe=y(oe),xe.test(oe)||(te=C(oe),te===null))return Y;O.host=te}else{if(Ce.test(oe))return Y;for(te="",ie=A(oe),ce=0;ce<ie.length;ce++)te+=Q(ie[ce],B);O.host=te}},C=function(O){var oe=O.split("."),te,ie,ce,Oe,be,Fe,We;if(oe.length&&oe[oe.length-1]==""&&oe.pop(),te=oe.length,te>4)return O;for(ie=[],ce=0;ce<te;ce++){if(Oe=oe[ce],Oe=="")return O;if(be=10,Oe.length>1&&Oe.charAt(0)=="0"&&(be=ge.test(Oe)?16:8,Oe=Oe.slice(be==8?1:2)),Oe==="")Fe=0;else{if(!(be==10?Ae:be==8?ve:Se).test(Oe))return O;Fe=parseInt(Oe,be)}ie.push(Fe)}for(ce=0;ce<te;ce++)if(Fe=ie[ce],ce==te-1){if(Fe>=j(256,5-te))return null}else if(Fe>255)return null;for(We=ie.pop(),ce=0;ce<ie.length;ce++)We+=ie[ce]*j(256,3-ce);return We},E=function(O){var oe=[0,0,0,0,0,0,0,0],te=0,ie=null,ce=0,Oe,be,Fe,We,Ye,Ht,ae,qe=function(){return O.charAt(ce)};if(qe()==":"){if(O.charAt(1)!=":")return;ce+=2,te++,ie=te}for(;qe();){if(te==8)return;if(qe()==":"){if(ie!==null)return;ce++,te++,ie=te;continue}for(Oe=be=0;be<4&&Se.test(qe());)Oe=Oe*16+parseInt(qe(),16),ce++,be++;if(qe()=="."){if(be==0||(ce-=be,te>6))return;for(Fe=0;qe();){if(We=null,Fe>0)if(qe()=="."&&Fe<4)ce++;else return;if(!de.test(qe()))return;for(;de.test(qe());){if(Ye=parseInt(qe(),10),We===null)We=Ye;else{if(We==0)return;We=We*10+Ye}if(We>255)return;ce++}oe[te]=oe[te]*256+We,Fe++,(Fe==2||Fe==4)&&te++}if(Fe!=4)return;break}else if(qe()==":"){if(ce++,!qe())return}else if(qe())return;oe[te++]=Oe}if(ie!==null)for(Ht=te-ie,te=7;te!=0&&Ht>0;)ae=oe[te],oe[te--]=oe[ie+Ht-1],oe[ie+--Ht]=ae;else if(te!=8)return;return oe},_=function(O){for(var oe=null,te=1,ie=null,ce=0,Oe=0;Oe<8;Oe++)O[Oe]!==0?(ce>te&&(oe=ie,te=ce),ie=null,ce=0):(ie===null&&(ie=Oe),++ce);return ce>te&&(oe=ie,te=ce),oe},N=function(O){var oe,te,ie,ce;if(typeof O=="number"){for(oe=[],te=0;te<4;te++)oe.unshift(O%256),O=W(O/256);return oe.join(".")}else if(typeof O=="object"){for(oe="",ie=_(O),te=0;te<8;te++)ce&&O[te]===0||(ce&&(ce=!1),ie===te?(oe+=te?":":"::",ce=!0):(oe+=O[te].toString(16),te<7&&(oe+=":")));return"["+oe+"]"}return O},B={},P=b({},B,{" ":1,'"':1,"<":1,">":1,"`":1}),K=b({},P,{"#":1,"?":1,"{":1,"}":1}),G=b({},K,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Q=function(O,oe){var te=w(O,0);return te>32&&te<127&&!v(oe,O)?O:encodeURIComponent(O)},Z={ftp:21,file:null,http:80,https:443,ws:80,wss:443},J=function(O){return v(Z,O.scheme)},re=function(O){return O.username!=""||O.password!=""},he=function(O){return!O.host||O.cannotBeABaseURL||O.scheme=="file"},we=function(O,oe){var te;return O.length==2&&X.test(O.charAt(0))&&((te=O.charAt(1))==":"||!oe&&te=="|")},Le=function(O){var oe;return O.length>1&&we(O.slice(0,2))&&(O.length==2||(oe=O.charAt(2))==="/"||oe==="\\"||oe==="?"||oe==="#")},ze=function(O){var oe=O.path,te=oe.length;te&&(O.scheme!="file"||te!=1||!we(oe[0],!0))&&oe.pop()},$e=function(O){return O==="."||O.toLowerCase()==="%2e"},Be=function(O){return O=O.toLowerCase(),O===".."||O==="%2e."||O===".%2e"||O==="%2e%2e"},Ze={},At={},at={},Yn={},ee={},ue={},fe={},Te={},Ie={},je={},Ke={},gt={},vt={},rt={},cn={},Gn={},It={},Ft={},go={},$t={},bn={},dn=function(O,oe,te,ie){var ce=te||Ze,Oe=0,be="",Fe=!1,We=!1,Ye=!1,Ht,ae,qe,An;for(te||(O.scheme="",O.username="",O.password="",O.host=null,O.port=null,O.path=[],O.query=null,O.fragment=null,O.cannotBeABaseURL=!1,oe=oe.replace(x,"")),oe=oe.replace(I,""),Ht=A(oe);Oe<=Ht.length;){switch(ae=Ht[Oe],ce){case Ze:if(ae&&X.test(ae))be+=ae.toLowerCase(),ce=At;else{if(te)return V;ce=at;continue}break;case At:if(ae&&(ne.test(ae)||ae=="+"||ae=="-"||ae=="."))be+=ae.toLowerCase();else if(ae==":"){if(te&&(J(O)!=v(Z,be)||be=="file"&&(re(O)||O.port!==null)||O.scheme=="file"&&!O.host))return;if(O.scheme=be,te){J(O)&&Z[O.scheme]==O.port&&(O.port=null);return}be="",O.scheme=="file"?ce=rt:J(O)&&ie&&ie.scheme==O.scheme?ce=Yn:J(O)?ce=Te:Ht[Oe+1]=="/"?(ce=ee,Oe++):(O.cannotBeABaseURL=!0,O.path.push(""),ce=go)}else{if(te)return V;be="",ce=at,Oe=0;continue}break;case at:if(!ie||ie.cannotBeABaseURL&&ae!="#")return V;if(ie.cannotBeABaseURL&&ae=="#"){O.scheme=ie.scheme,O.path=ie.path.slice(),O.query=ie.query,O.fragment="",O.cannotBeABaseURL=!0,ce=bn;break}ce=ie.scheme=="file"?rt:ue;continue;case Yn:if(ae=="/"&&Ht[Oe+1]=="/")ce=Ie,Oe++;else{ce=ue;continue}break;case ee:if(ae=="/"){ce=je;break}else{ce=Ft;continue}case ue:if(O.scheme=ie.scheme,ae==S)O.username=ie.username,O.password=ie.password,O.host=ie.host,O.port=ie.port,O.path=ie.path.slice(),O.query=ie.query;else if(ae=="/"||ae=="\\"&&J(O))ce=fe;else if(ae=="?")O.username=ie.username,O.password=ie.password,O.host=ie.host,O.port=ie.port,O.path=ie.path.slice(),O.query="",ce=$t;else if(ae=="#")O.username=ie.username,O.password=ie.password,O.host=ie.host,O.port=ie.port,O.path=ie.path.slice(),O.query=ie.query,O.fragment="",ce=bn;else{O.username=ie.username,O.password=ie.password,O.host=ie.host,O.port=ie.port,O.path=ie.path.slice(),O.path.pop(),ce=Ft;continue}break;case fe:if(J(O)&&(ae=="/"||ae=="\\"))ce=Ie;else if(ae=="/")ce=je;else{O.username=ie.username,O.password=ie.password,O.host=ie.host,O.port=ie.port,ce=Ft;continue}break;case Te:if(ce=Ie,ae!="/"||be.charAt(Oe+1)!="/")continue;Oe++;break;case Ie:if(ae!="/"&&ae!="\\"){ce=je;continue}break;case je:if(ae=="@"){Fe&&(be="%40"+be),Fe=!0,qe=A(be);for(var Xc=0;Xc<qe.length;Xc++){var Z0=qe[Xc];if(Z0==":"&&!Ye){Ye=!0;continue}var J0=Q(Z0,G);Ye?O.password+=J0:O.username+=J0}be=""}else if(ae==S||ae=="/"||ae=="?"||ae=="#"||ae=="\\"&&J(O)){if(Fe&&be=="")return F;Oe-=A(be).length+1,be="",ce=Ke}else be+=ae;break;case Ke:case gt:if(te&&O.scheme=="file"){ce=Gn;continue}else if(ae==":"&&!We){if(be=="")return Y;if(An=M(O,be),An)return An;if(be="",ce=vt,te==gt)return}else if(ae==S||ae=="/"||ae=="?"||ae=="#"||ae=="\\"&&J(O)){if(J(O)&&be=="")return Y;if(te&&be==""&&(re(O)||O.port!==null))return;if(An=M(O,be),An)return An;if(be="",ce=It,te)return;continue}else ae=="["?We=!0:ae=="]"&&(We=!1),be+=ae;break;case vt:if(de.test(ae))be+=ae;else if(ae==S||ae=="/"||ae=="?"||ae=="#"||ae=="\\"&&J(O)||te){if(be!=""){var qc=parseInt(be,10);if(qc>65535)return L;O.port=J(O)&&qc===Z[O.scheme]?null:qc,be=""}if(te)return;ce=It;continue}else return L;break;case rt:if(O.scheme="file",ae=="/"||ae=="\\")ce=cn;else if(ie&&ie.scheme=="file")if(ae==S)O.host=ie.host,O.path=ie.path.slice(),O.query=ie.query;else if(ae=="?")O.host=ie.host,O.path=ie.path.slice(),O.query="",ce=$t;else if(ae=="#")O.host=ie.host,O.path=ie.path.slice(),O.query=ie.query,O.fragment="",ce=bn;else{Le(Ht.slice(Oe).join(""))||(O.host=ie.host,O.path=ie.path.slice(),ze(O)),ce=Ft;continue}else{ce=Ft;continue}break;case cn:if(ae=="/"||ae=="\\"){ce=Gn;break}ie&&ie.scheme=="file"&&!Le(Ht.slice(Oe).join(""))&&(we(ie.path[0],!0)?O.path.push(ie.path[0]):O.host=ie.host),ce=Ft;continue;case Gn:if(ae==S||ae=="/"||ae=="\\"||ae=="?"||ae=="#"){if(!te&&we(be))ce=Ft;else if(be==""){if(O.host="",te)return;ce=It}else{if(An=M(O,be),An)return An;if(O.host=="localhost"&&(O.host=""),te)return;be="",ce=It}continue}else be+=ae;break;case It:if(J(O)){if(ce=Ft,ae!="/"&&ae!="\\")continue}else if(!te&&ae=="?")O.query="",ce=$t;else if(!te&&ae=="#")O.fragment="",ce=bn;else if(ae!=S&&(ce=Ft,ae!="/"))continue;break;case Ft:if(ae==S||ae=="/"||ae=="\\"&&J(O)||!te&&(ae=="?"||ae=="#")){if(Be(be)?(ze(O),ae!="/"&&!(ae=="\\"&&J(O))&&O.path.push("")):$e(be)?ae!="/"&&!(ae=="\\"&&J(O))&&O.path.push(""):(O.scheme=="file"&&!O.path.length&&we(be)&&(O.host&&(O.host=""),be=be.charAt(0)+":"),O.path.push(be)),be="",O.scheme=="file"&&(ae==S||ae=="?"||ae=="#"))for(;O.path.length>1&&O.path[0]==="";)O.path.shift();ae=="?"?(O.query="",ce=$t):ae=="#"&&(O.fragment="",ce=bn)}else be+=Q(ae,K);break;case go:ae=="?"?(O.query="",ce=$t):ae=="#"?(O.fragment="",ce=bn):ae!=S&&(O.path[0]+=Q(ae,B));break;case $t:!te&&ae=="#"?(O.fragment="",ce=bn):ae!=S&&(ae=="'"&&J(O)?O.query+="%27":ae=="#"?O.query+="%23":O.query+=Q(ae,B));break;case bn:ae!=S&&(O.fragment+=Q(ae,P));break}Oe++}},kr=function(oe){var te=g(this,kr,"URL"),ie=arguments.length>1?arguments[1]:void 0,ce=String(oe),Oe=D(te,{type:"URL"}),be,Fe;if(ie!==void 0){if(ie instanceof kr)be=z(ie);else if(Fe=dn(be={},String(ie)),Fe)throw TypeError(Fe)}if(Fe=dn(Oe,ce,null,be),Fe)throw TypeError(Fe);var We=Oe.searchParams=new U,Ye=R(We);Ye.updateSearchParams(Oe.query),Ye.updateURL=function(){Oe.query=String(We)||null},u||(te.href=ua.call(te),te.origin=P0.call(te),te.protocol=V0.call(te),te.username=F0.call(te),te.password=$0.call(te),te.host=z0.call(te),te.hostname=H0.call(te),te.port=U0.call(te),te.pathname=j0.call(te),te.search=W0.call(te),te.searchParams=K0.call(te),te.hash=Q0.call(te))},Jc=kr.prototype,ua=function(){var O=z(this),oe=O.scheme,te=O.username,ie=O.password,ce=O.host,Oe=O.port,be=O.path,Fe=O.query,We=O.fragment,Ye=oe+":";return ce!==null?(Ye+="//",re(O)&&(Ye+=te+(ie?":"+ie:"")+"@"),Ye+=N(ce),Oe!==null&&(Ye+=":"+Oe)):oe=="file"&&(Ye+="//"),Ye+=O.cannotBeABaseURL?be[0]:be.length?"/"+be.join("/"):"",Fe!==null&&(Ye+="?"+Fe),We!==null&&(Ye+="#"+We),Ye},P0=function(){var O=z(this),oe=O.scheme,te=O.port;if(oe=="blob")try{return new URL(oe.path[0]).origin}catch{return"null"}return oe=="file"||!J(O)?"null":oe+"://"+N(O.host)+(te!==null?":"+te:"")},V0=function(){return z(this).scheme+":"},F0=function(){return z(this).username},$0=function(){return z(this).password},z0=function(){var O=z(this),oe=O.host,te=O.port;return oe===null?"":te===null?N(oe):N(oe)+":"+te},H0=function(){var O=z(this).host;return O===null?"":N(O)},U0=function(){var O=z(this).port;return O===null?"":String(O)},j0=function(){var O=z(this),oe=O.path;return O.cannotBeABaseURL?oe[0]:oe.length?"/"+oe.join("/"):""},W0=function(){var O=z(this).query;return O?"?"+O:""},K0=function(){return z(this).searchParams},Q0=function(){var O=z(this).fragment;return O?"#"+O:""},zt=function(O,oe){return{get:O,set:oe,configurable:!0,enumerable:!0}};if(u&&p(Jc,{href:zt(ua,function(O){var oe=z(this),te=String(O),ie=dn(oe,te);if(ie)throw TypeError(ie);R(oe.searchParams).updateSearchParams(oe.query)}),origin:zt(P0),protocol:zt(V0,function(O){var oe=z(this);dn(oe,String(O)+":",Ze)}),username:zt(F0,function(O){var oe=z(this),te=A(String(O));if(!he(oe)){oe.username="";for(var ie=0;ie<te.length;ie++)oe.username+=Q(te[ie],G)}}),password:zt($0,function(O){var oe=z(this),te=A(String(O));if(!he(oe)){oe.password="";for(var ie=0;ie<te.length;ie++)oe.password+=Q(te[ie],G)}}),host:zt(z0,function(O){var oe=z(this);oe.cannotBeABaseURL||dn(oe,String(O),Ke)}),hostname:zt(H0,function(O){var oe=z(this);oe.cannotBeABaseURL||dn(oe,String(O),gt)}),port:zt(U0,function(O){var oe=z(this);he(oe)||(O=String(O),O==""?oe.port=null:dn(oe,O,vt))}),pathname:zt(j0,function(O){var oe=z(this);oe.cannotBeABaseURL||(oe.path=[],dn(oe,O+"",It))}),search:zt(W0,function(O){var oe=z(this);O=String(O),O==""?oe.query=null:(O.charAt(0)=="?"&&(O=O.slice(1)),oe.query="",dn(oe,O,$t)),R(oe.searchParams).updateSearchParams(oe.query)}),searchParams:zt(K0),hash:zt(Q0,function(O){var oe=z(this);if(O=String(O),O==""){oe.fragment=null;return}O.charAt(0)=="#"&&(O=O.slice(1)),oe.fragment="",dn(oe,O,bn)})}),m(Jc,"toJSON",function(){return ua.call(this)},{enumerable:!0}),m(Jc,"toString",function(){return ua.call(this)},{enumerable:!0}),H){var Y0=H.createObjectURL,G0=H.revokeObjectURL;Y0&&m(kr,"createObjectURL",function(oe){return Y0.apply(H,arguments)}),G0&&m(kr,"revokeObjectURL",function(oe){return G0.apply(H,arguments)})}T(kr,"URL"),d({global:!0,forced:!f,sham:!u},{URL:kr})}},r={};function o(s){if(r[s])return r[s].exports;var l=r[s]={exports:{}};return t[s](l,l.exports,o),l.exports}(function(){o.d=function(s,l){for(var a in l)o.o(l,a)&&!o.o(s,a)&&Object.defineProperty(s,a,{enumerable:!0,get:l[a]})}})(),function(){o.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}()}(),function(){o.o=function(s,l){return Object.prototype.hasOwnProperty.call(s,l)}}(),function(){o.r=function(s){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(s,"__esModule",{value:!0})}}();var i={};return function(){o.r(i),o.d(i,{Dropzone:function(){return L},default:function(){return Ce}}),o(2222),o(7327),o(2772),o(6992),o(1249),o(7042),o(561),o(8264),o(8309),o(489),o(1539),o(4916),o(9714),o(8783),o(4723),o(5306),o(3123),o(3210),o(2472),o(2990),o(8927),o(3105),o(5035),o(4345),o(7174),o(2846),o(4731),o(7209),o(6319),o(8867),o(7789),o(3739),o(9368),o(4483),o(2056),o(3462),o(678),o(7462),o(3824),o(5021),o(2974),o(5016),o(4747),o(3948),o(285);function s(x,I){var S;if(typeof Symbol>"u"||x[Symbol.iterator]==null){if(Array.isArray(x)||(S=l(x))||I&&x&&typeof x.length=="number"){S&&(x=S);var M=0,C=function(){};return{s:C,n:function(){return M>=x.length?{done:!0}:{done:!1,value:x[M++]}},e:function(P){throw P},f:C}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
58
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var E=!0,_=!1,N;return{s:function(){S=x[Symbol.iterator]()},n:function(){var P=S.next();return E=P.done,P},e:function(P){_=!0,N=P},f:function(){try{!E&&S.return!=null&&S.return()}finally{if(_)throw N}}}}function l(x,I){if(x){if(typeof x=="string")return a(x,I);var S=Object.prototype.toString.call(x).slice(8,-1);if(S==="Object"&&x.constructor&&(S=x.constructor.name),S==="Map"||S==="Set")return Array.from(x);if(S==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(S))return a(x,I)}}function a(x,I){(I==null||I>x.length)&&(I=x.length);for(var S=0,M=new Array(I);S<I;S++)M[S]=x[S];return M}function d(x,I){if(!(x instanceof I))throw new TypeError("Cannot call a class as a function")}function u(x,I){for(var S=0;S<I.length;S++){var M=I[S];M.enumerable=M.enumerable||!1,M.configurable=!0,"value"in M&&(M.writable=!0),Object.defineProperty(x,M.key,M)}}function f(x,I,S){return I&&u(x.prototype,I),S&&u(x,S),x}var h=function(){function x(){d(this,x)}return f(x,[{key:"on",value:function(S,M){return this._callbacks=this._callbacks||{},this._callbacks[S]||(this._callbacks[S]=[]),this._callbacks[S].push(M),this}},{key:"emit",value:function(S){this._callbacks=this._callbacks||{};for(var M=this._callbacks[S],C=arguments.length,E=new Array(C>1?C-1:0),_=1;_<C;_++)E[_-1]=arguments[_];if(M){var N=s(M,!0),B;try{for(N.s();!(B=N.n()).done;){var P=B.value;P.apply(this,E)}}catch(K){N.e(K)}finally{N.f()}}return this.element&&this.element.dispatchEvent(this.makeEvent("dropzone:"+S,{args:E})),this}},{key:"makeEvent",value:function(S,M){var C={bubbles:!0,cancelable:!0,detail:M};if(typeof window.CustomEvent=="function")return new CustomEvent(S,C);var E=document.createEvent("CustomEvent");return E.initCustomEvent(S,C.bubbles,C.cancelable,C.detail),E}},{key:"off",value:function(S,M){if(!this._callbacks||arguments.length===0)return this._callbacks={},this;var C=this._callbacks[S];if(!C)return this;if(arguments.length===1)return delete this._callbacks[S],this;for(var E=0;E<C.length;E++){var _=C[E];if(_===M){C.splice(E,1);break}}return this}}]),x}(),p='<div class="dz-preview dz-file-preview"> <div class="dz-image"><img data-dz-thumbnail/></div> <div class="dz-details"> <div class="dz-size"><span data-dz-size></span></div> <div class="dz-filename"><span data-dz-name></span></div> </div> <div class="dz-progress"> <span class="dz-upload" data-dz-uploadprogress></span> </div> <div class="dz-error-message"><span data-dz-errormessage></span></div> <div class="dz-success-mark"> <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Check</title> <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <path d="M23.5,31.8431458 L17.5852419,25.9283877 C16.0248253,24.3679711 13.4910294,24.366835 11.9289322,25.9289322 C10.3700136,27.4878508 10.3665912,30.0234455 11.9283877,31.5852419 L20.4147581,40.0716123 C20.5133999,40.1702541 20.6159315,40.2626649 20.7218615,40.3488435 C22.2835669,41.8725651 24.794234,41.8626202 26.3461564,40.3106978 L43.3106978,23.3461564 C44.8771021,21.7797521 44.8758057,19.2483887 43.3137085,17.6862915 C41.7547899,16.1273729 39.2176035,16.1255422 37.6538436,17.6893022 L23.5,31.8431458 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z" stroke-opacity="0.198794158" stroke="#747474" fill-opacity="0.816519475" fill="#FFFFFF"></path> </g> </svg> </div> <div class="dz-error-mark"> <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Error</title> <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <g stroke="#747474" stroke-opacity="0.198794158" fill="#FFFFFF" fill-opacity="0.816519475"> <path d="M32.6568542,29 L38.3106978,23.3461564 C39.8771021,21.7797521 39.8758057,19.2483887 38.3137085,17.6862915 C36.7547899,16.1273729 34.2176035,16.1255422 32.6538436,17.6893022 L27,23.3431458 L21.3461564,17.6893022 C19.7823965,16.1255422 17.2452101,16.1273729 15.6862915,17.6862915 C14.1241943,19.2483887 14.1228979,21.7797521 15.6893022,23.3461564 L21.3431458,29 L15.6893022,34.6538436 C14.1228979,36.2202479 14.1241943,38.7516113 15.6862915,40.3137085 C17.2452101,41.8726271 19.7823965,41.8744578 21.3461564,40.3106978 L27,34.6568542 L32.6538436,40.3106978 C34.2176035,41.8744578 36.7547899,41.8726271 38.3137085,40.3137085 C39.8758057,38.7516113 39.8771021,36.2202479 38.3106978,34.6538436 L32.6568542,29 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z"></path> </g> </g> </svg> </div> </div> ',m=p;function g(x,I){var S;if(typeof Symbol>"u"||x[Symbol.iterator]==null){if(Array.isArray(x)||(S=v(x))||I&&x&&typeof x.length=="number"){S&&(x=S);var M=0,C=function(){};return{s:C,n:function(){return M>=x.length?{done:!0}:{done:!1,value:x[M++]}},e:function(P){throw P},f:C}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
59
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var E=!0,_=!1,N;return{s:function(){S=x[Symbol.iterator]()},n:function(){var P=S.next();return E=P.done,P},e:function(P){_=!0,N=P},f:function(){try{!E&&S.return!=null&&S.return()}finally{if(_)throw N}}}}function v(x,I){if(x){if(typeof x=="string")return b(x,I);var S=Object.prototype.toString.call(x).slice(8,-1);if(S==="Object"&&x.constructor&&(S=x.constructor.name),S==="Map"||S==="Set")return Array.from(x);if(S==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(S))return b(x,I)}}function b(x,I){(I==null||I>x.length)&&(I=x.length);for(var S=0,M=new Array(I);S<I;S++)M[S]=x[S];return M}var A={url:null,method:"post",withCredentials:!1,timeout:null,parallelUploads:2,uploadMultiple:!1,chunking:!1,forceChunking:!1,chunkSize:2e6,parallelChunkUploads:!1,retryChunks:!1,retryChunksLimit:3,maxFilesize:256,paramName:"file",createImageThumbnails:!0,maxThumbnailFilesize:10,thumbnailWidth:120,thumbnailHeight:120,thumbnailMethod:"crop",resizeWidth:null,resizeHeight:null,resizeMimeType:null,resizeQuality:.8,resizeMethod:"contain",filesizeBase:1e3,maxFiles:null,headers:null,clickable:!0,ignoreHiddenFiles:!0,acceptedFiles:null,acceptedMimeTypes:null,autoProcessQueue:!0,autoQueue:!0,addRemoveLinks:!1,previewsContainer:null,disablePreviews:!1,hiddenInputContainer:"body",capture:null,renameFilename:null,renameFile:null,forceFallback:!1,dictDefaultMessage:"Drop files here to upload",dictFallbackMessage:"Your browser does not support drag'n'drop file uploads.",dictFallbackText:"Please use the fallback form below to upload your files like in the olden days.",dictFileTooBig:"File is too big ({{filesize}}MiB). Max filesize: {{maxFilesize}}MiB.",dictInvalidFileType:"You can't upload files of this type.",dictResponseError:"Server responded with {{statusCode}} code.",dictCancelUpload:"Cancel upload",dictUploadCanceled:"Upload canceled.",dictCancelUploadConfirmation:"Are you sure you want to cancel this upload?",dictRemoveFile:"Remove file",dictRemoveFileConfirmation:null,dictMaxFilesExceeded:"You can not upload any more files.",dictFileSizeUnits:{tb:"TB",gb:"GB",mb:"MB",kb:"KB",b:"b"},init:function(){},params:function(I,S,M){if(M)return{dzuuid:M.file.upload.uuid,dzchunkindex:M.index,dztotalfilesize:M.file.size,dzchunksize:this.options.chunkSize,dztotalchunkcount:M.file.upload.totalChunkCount,dzchunkbyteoffset:M.index*this.options.chunkSize}},accept:function(I,S){return S()},chunksUploaded:function(I,S){S()},fallback:function(){var I;this.element.className="".concat(this.element.className," dz-browser-not-supported");var S=g(this.element.getElementsByTagName("div"),!0),M;try{for(S.s();!(M=S.n()).done;){var C=M.value;if(/(^| )dz-message($| )/.test(C.className)){I=C,C.className="dz-message";break}}}catch(_){S.e(_)}finally{S.f()}I||(I=L.createElement('<div class="dz-message"><span></span></div>'),this.element.appendChild(I));var E=I.getElementsByTagName("span")[0];return E&&(E.textContent!=null?E.textContent=this.options.dictFallbackMessage:E.innerText!=null&&(E.innerText=this.options.dictFallbackMessage)),this.element.appendChild(this.getFallbackForm())},resize:function(I,S,M,C){var E={srcX:0,srcY:0,srcWidth:I.width,srcHeight:I.height},_=I.width/I.height;S==null&&M==null?(S=E.srcWidth,M=E.srcHeight):S==null?S=M*_:M==null&&(M=S/_),S=Math.min(S,E.srcWidth),M=Math.min(M,E.srcHeight);var N=S/M;if(E.srcWidth>S||E.srcHeight>M)if(C==="crop")_>N?(E.srcHeight=I.height,E.srcWidth=E.srcHeight*N):(E.srcWidth=I.width,E.srcHeight=E.srcWidth/N);else if(C==="contain")_>N?M=S/_:S=M*_;else throw new Error("Unknown resizeMethod '".concat(C,"'"));return E.srcX=(I.width-E.srcWidth)/2,E.srcY=(I.height-E.srcHeight)/2,E.trgWidth=S,E.trgHeight=M,E},transformFile:function(I,S){return(this.options.resizeWidth||this.options.resizeHeight)&&I.type.match(/image.*/)?this.resizeImage(I,this.options.resizeWidth,this.options.resizeHeight,this.options.resizeMethod,S):S(I)},previewTemplate:m,drop:function(I){return this.element.classList.remove("dz-drag-hover")},dragstart:function(I){},dragend:function(I){return this.element.classList.remove("dz-drag-hover")},dragenter:function(I){return this.element.classList.add("dz-drag-hover")},dragover:function(I){return this.element.classList.add("dz-drag-hover")},dragleave:function(I){return this.element.classList.remove("dz-drag-hover")},paste:function(I){},reset:function(){return this.element.classList.remove("dz-started")},addedfile:function(I){var S=this;if(this.element===this.previewsContainer&&this.element.classList.add("dz-started"),this.previewsContainer&&!this.options.disablePreviews){I.previewElement=L.createElement(this.options.previewTemplate.trim()),I.previewTemplate=I.previewElement,this.previewsContainer.appendChild(I.previewElement);var M=g(I.previewElement.querySelectorAll("[data-dz-name]"),!0),C;try{for(M.s();!(C=M.n()).done;){var E=C.value;E.textContent=I.name}}catch(Q){M.e(Q)}finally{M.f()}var _=g(I.previewElement.querySelectorAll("[data-dz-size]"),!0),N;try{for(_.s();!(N=_.n()).done;)E=N.value,E.innerHTML=this.filesize(I.size)}catch(Q){_.e(Q)}finally{_.f()}this.options.addRemoveLinks&&(I._removeLink=L.createElement('<a class="dz-remove" href="javascript:undefined;" data-dz-remove>'.concat(this.options.dictRemoveFile,"</a>")),I.previewElement.appendChild(I._removeLink));var B=function(Z){return Z.preventDefault(),Z.stopPropagation(),I.status===L.UPLOADING?L.confirm(S.options.dictCancelUploadConfirmation,function(){return S.removeFile(I)}):S.options.dictRemoveFileConfirmation?L.confirm(S.options.dictRemoveFileConfirmation,function(){return S.removeFile(I)}):S.removeFile(I)},P=g(I.previewElement.querySelectorAll("[data-dz-remove]"),!0),K;try{for(P.s();!(K=P.n()).done;){var G=K.value;G.addEventListener("click",B)}}catch(Q){P.e(Q)}finally{P.f()}}},removedfile:function(I){return I.previewElement!=null&&I.previewElement.parentNode!=null&&I.previewElement.parentNode.removeChild(I.previewElement),this._updateMaxFilesReachedClass()},thumbnail:function(I,S){if(I.previewElement){I.previewElement.classList.remove("dz-file-preview");var M=g(I.previewElement.querySelectorAll("[data-dz-thumbnail]"),!0),C;try{for(M.s();!(C=M.n()).done;){var E=C.value;E.alt=I.name,E.src=S}}catch(_){M.e(_)}finally{M.f()}return setTimeout(function(){return I.previewElement.classList.add("dz-image-preview")},1)}},error:function(I,S){if(I.previewElement){I.previewElement.classList.add("dz-error"),typeof S!="string"&&S.error&&(S=S.error);var M=g(I.previewElement.querySelectorAll("[data-dz-errormessage]"),!0),C;try{for(M.s();!(C=M.n()).done;){var E=C.value;E.textContent=S}}catch(_){M.e(_)}finally{M.f()}}},errormultiple:function(){},processing:function(I){if(I.previewElement&&(I.previewElement.classList.add("dz-processing"),I._removeLink))return I._removeLink.innerHTML=this.options.dictCancelUpload},processingmultiple:function(){},uploadprogress:function(I,S,M){if(I.previewElement){var C=g(I.previewElement.querySelectorAll("[data-dz-uploadprogress]"),!0),E;try{for(C.s();!(E=C.n()).done;){var _=E.value;_.nodeName==="PROGRESS"?_.value=S:_.style.width="".concat(S,"%")}}catch(N){C.e(N)}finally{C.f()}}},totaluploadprogress:function(){},sending:function(){},sendingmultiple:function(){},success:function(I){if(I.previewElement)return I.previewElement.classList.add("dz-success")},successmultiple:function(){},canceled:function(I){return this.emit("error",I,this.options.dictUploadCanceled)},canceledmultiple:function(){},complete:function(I){if(I._removeLink&&(I._removeLink.innerHTML=this.options.dictRemoveFile),I.previewElement)return I.previewElement.classList.add("dz-complete")},completemultiple:function(){},maxfilesexceeded:function(){},maxfilesreached:function(){},queuecomplete:function(){},addedfiles:function(){}},w=A;function y(x){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?y=function(S){return typeof S}:y=function(S){return S&&typeof Symbol=="function"&&S.constructor===Symbol&&S!==Symbol.prototype?"symbol":typeof S},y(x)}function T(x,I){var S;if(typeof Symbol>"u"||x[Symbol.iterator]==null){if(Array.isArray(x)||(S=k(x))||I&&x&&typeof x.length=="number"){S&&(x=S);var M=0,C=function(){};return{s:C,n:function(){return M>=x.length?{done:!0}:{done:!1,value:x[M++]}},e:function(P){throw P},f:C}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
60
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var E=!0,_=!1,N;return{s:function(){S=x[Symbol.iterator]()},n:function(){var P=S.next();return E=P.done,P},e:function(P){_=!0,N=P},f:function(){try{!E&&S.return!=null&&S.return()}finally{if(_)throw N}}}}function k(x,I){if(x){if(typeof x=="string")return $(x,I);var S=Object.prototype.toString.call(x).slice(8,-1);if(S==="Object"&&x.constructor&&(S=x.constructor.name),S==="Map"||S==="Set")return Array.from(x);if(S==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(S))return $(x,I)}}function $(x,I){(I==null||I>x.length)&&(I=x.length);for(var S=0,M=new Array(I);S<I;S++)M[S]=x[S];return M}function H(x,I){if(!(x instanceof I))throw new TypeError("Cannot call a class as a function")}function U(x,I){for(var S=0;S<I.length;S++){var M=I[S];M.enumerable=M.enumerable||!1,M.configurable=!0,"value"in M&&(M.writable=!0),Object.defineProperty(x,M.key,M)}}function R(x,I,S){return I&&U(x.prototype,I),S&&U(x,S),x}function D(x,I){if(typeof I!="function"&&I!==null)throw new TypeError("Super expression must either be null or a function");x.prototype=Object.create(I&&I.prototype,{constructor:{value:x,writable:!0,configurable:!0}}),I&&z(x,I)}function z(x,I){return z=Object.setPrototypeOf||function(M,C){return M.__proto__=C,M},z(x,I)}function W(x){var I=V();return function(){var M=Y(x),C;if(I){var E=Y(this).constructor;C=Reflect.construct(M,arguments,E)}else C=M.apply(this,arguments);return j(this,C)}}function j(x,I){return I&&(y(I)==="object"||typeof I=="function")?I:F(x)}function F(x){if(x===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return x}function V(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function Y(x){return Y=Object.setPrototypeOf?Object.getPrototypeOf:function(S){return S.__proto__||Object.getPrototypeOf(S)},Y(x)}var L=function(x){D(S,x);var I=W(S);function S(M,C){var E;H(this,S),E=I.call(this);var _,N;if(E.element=M,E.version=S.version,E.clickableElements=[],E.listeners=[],E.files=[],typeof E.element=="string"&&(E.element=document.querySelector(E.element)),!E.element||E.element.nodeType==null)throw new Error("Invalid dropzone element.");if(E.element.dropzone)throw new Error("Dropzone already attached.");S.instances.push(F(E)),E.element.dropzone=F(E);var B=(N=S.optionsForElement(E.element))!=null?N:{};if(E.options=S.extend({},w,B,C??{}),E.options.previewTemplate=E.options.previewTemplate.replace(/\n*/g,""),E.options.forceFallback||!S.isBrowserSupported())return j(E,E.options.fallback.call(F(E)));if(E.options.url==null&&(E.options.url=E.element.getAttribute("action")),!E.options.url)throw new Error("No URL provided.");if(E.options.acceptedFiles&&E.options.acceptedMimeTypes)throw new Error("You can't provide both 'acceptedFiles' and 'acceptedMimeTypes'. 'acceptedMimeTypes' is deprecated.");if(E.options.uploadMultiple&&E.options.chunking)throw new Error("You cannot set both: uploadMultiple and chunking.");return E.options.acceptedMimeTypes&&(E.options.acceptedFiles=E.options.acceptedMimeTypes,delete E.options.acceptedMimeTypes),E.options.renameFilename!=null&&(E.options.renameFile=function(P){return E.options.renameFilename.call(F(E),P.name,P)}),typeof E.options.method=="string"&&(E.options.method=E.options.method.toUpperCase()),(_=E.getExistingFallback())&&_.parentNode&&_.parentNode.removeChild(_),E.options.previewsContainer!==!1&&(E.options.previewsContainer?E.previewsContainer=S.getElement(E.options.previewsContainer,"previewsContainer"):E.previewsContainer=E.element),E.options.clickable&&(E.options.clickable===!0?E.clickableElements=[E.element]:E.clickableElements=S.getElements(E.options.clickable,"clickable")),E.init(),E}return R(S,[{key:"getAcceptedFiles",value:function(){return this.files.filter(function(C){return C.accepted}).map(function(C){return C})}},{key:"getRejectedFiles",value:function(){return this.files.filter(function(C){return!C.accepted}).map(function(C){return C})}},{key:"getFilesWithStatus",value:function(C){return this.files.filter(function(E){return E.status===C}).map(function(E){return E})}},{key:"getQueuedFiles",value:function(){return this.getFilesWithStatus(S.QUEUED)}},{key:"getUploadingFiles",value:function(){return this.getFilesWithStatus(S.UPLOADING)}},{key:"getAddedFiles",value:function(){return this.getFilesWithStatus(S.ADDED)}},{key:"getActiveFiles",value:function(){return this.files.filter(function(C){return C.status===S.UPLOADING||C.status===S.QUEUED}).map(function(C){return C})}},{key:"init",value:function(){var C=this;if(this.element.tagName==="form"&&this.element.setAttribute("enctype","multipart/form-data"),this.element.classList.contains("dropzone")&&!this.element.querySelector(".dz-message")&&this.element.appendChild(S.createElement('<div class="dz-default dz-message"><button class="dz-button" type="button">'.concat(this.options.dictDefaultMessage,"</button></div>"))),this.clickableElements.length){var E=function G(){C.hiddenFileInput&&C.hiddenFileInput.parentNode.removeChild(C.hiddenFileInput),C.hiddenFileInput=document.createElement("input"),C.hiddenFileInput.setAttribute("type","file"),(C.options.maxFiles===null||C.options.maxFiles>1)&&C.hiddenFileInput.setAttribute("multiple","multiple"),C.hiddenFileInput.className="dz-hidden-input",C.options.acceptedFiles!==null&&C.hiddenFileInput.setAttribute("accept",C.options.acceptedFiles),C.options.capture!==null&&C.hiddenFileInput.setAttribute("capture",C.options.capture),C.hiddenFileInput.setAttribute("tabindex","-1"),C.hiddenFileInput.style.visibility="hidden",C.hiddenFileInput.style.position="absolute",C.hiddenFileInput.style.top="0",C.hiddenFileInput.style.left="0",C.hiddenFileInput.style.height="0",C.hiddenFileInput.style.width="0",S.getElement(C.options.hiddenInputContainer,"hiddenInputContainer").appendChild(C.hiddenFileInput),C.hiddenFileInput.addEventListener("change",function(){var Q=C.hiddenFileInput.files;if(Q.length){var Z=T(Q,!0),J;try{for(Z.s();!(J=Z.n()).done;){var re=J.value;C.addFile(re)}}catch(he){Z.e(he)}finally{Z.f()}}C.emit("addedfiles",Q),G()})};E()}this.URL=window.URL!==null?window.URL:window.webkitURL;var _=T(this.events,!0),N;try{for(_.s();!(N=_.n()).done;){var B=N.value;this.on(B,this.options[B])}}catch(G){_.e(G)}finally{_.f()}this.on("uploadprogress",function(){return C.updateTotalUploadProgress()}),this.on("removedfile",function(){return C.updateTotalUploadProgress()}),this.on("canceled",function(G){return C.emit("complete",G)}),this.on("complete",function(G){if(C.getAddedFiles().length===0&&C.getUploadingFiles().length===0&&C.getQueuedFiles().length===0)return setTimeout(function(){return C.emit("queuecomplete")},0)});var P=function(Q){if(Q.dataTransfer.types){for(var Z=0;Z<Q.dataTransfer.types.length;Z++)if(Q.dataTransfer.types[Z]==="Files")return!0}return!1},K=function(Q){if(P(Q))return Q.stopPropagation(),Q.preventDefault?Q.preventDefault():Q.returnValue=!1};return this.listeners=[{element:this.element,events:{dragstart:function(Q){return C.emit("dragstart",Q)},dragenter:function(Q){return K(Q),C.emit("dragenter",Q)},dragover:function(Q){var Z;try{Z=Q.dataTransfer.effectAllowed}catch{}return Q.dataTransfer.dropEffect=Z==="move"||Z==="linkMove"?"move":"copy",K(Q),C.emit("dragover",Q)},dragleave:function(Q){return C.emit("dragleave",Q)},drop:function(Q){return K(Q),C.drop(Q)},dragend:function(Q){return C.emit("dragend",Q)}}}],this.clickableElements.forEach(function(G){return C.listeners.push({element:G,events:{click:function(Z){return(G!==C.element||Z.target===C.element||S.elementInside(Z.target,C.element.querySelector(".dz-message")))&&C.hiddenFileInput.click(),!0}}})}),this.enable(),this.options.init.call(this)}},{key:"destroy",value:function(){return this.disable(),this.removeAllFiles(!0),this.hiddenFileInput!=null&&this.hiddenFileInput.parentNode&&(this.hiddenFileInput.parentNode.removeChild(this.hiddenFileInput),this.hiddenFileInput=null),delete this.element.dropzone,S.instances.splice(S.instances.indexOf(this),1)}},{key:"updateTotalUploadProgress",value:function(){var C,E=0,_=0,N=this.getActiveFiles();if(N.length){var B=T(this.getActiveFiles(),!0),P;try{for(B.s();!(P=B.n()).done;){var K=P.value;E+=K.upload.bytesSent,_+=K.upload.total}}catch(G){B.e(G)}finally{B.f()}C=100*E/_}else C=100;return this.emit("totaluploadprogress",C,_,E)}},{key:"_getParamName",value:function(C){return typeof this.options.paramName=="function"?this.options.paramName(C):"".concat(this.options.paramName).concat(this.options.uploadMultiple?"[".concat(C,"]"):"")}},{key:"_renameFile",value:function(C){return typeof this.options.renameFile!="function"?C.name:this.options.renameFile(C)}},{key:"getFallbackForm",value:function(){var C,E;if(C=this.getExistingFallback())return C;var _='<div class="dz-fallback">';this.options.dictFallbackText&&(_+="<p>".concat(this.options.dictFallbackText,"</p>")),_+='<input type="file" name="'.concat(this._getParamName(0),'" ').concat(this.options.uploadMultiple?'multiple="multiple"':void 0,' /><input type="submit" value="Upload!"></div>');var N=S.createElement(_);return this.element.tagName!=="FORM"?(E=S.createElement('<form action="'.concat(this.options.url,'" enctype="multipart/form-data" method="').concat(this.options.method,'"></form>')),E.appendChild(N)):(this.element.setAttribute("enctype","multipart/form-data"),this.element.setAttribute("method",this.options.method)),E??N}},{key:"getExistingFallback",value:function(){for(var C=function(K){var G=T(K,!0),Q;try{for(G.s();!(Q=G.n()).done;){var Z=Q.value;if(/(^| )fallback($| )/.test(Z.className))return Z}}catch(J){G.e(J)}finally{G.f()}},E=0,_=["div","form"];E<_.length;E++){var N=_[E],B;if(B=C(this.element.getElementsByTagName(N)))return B}}},{key:"setupEventListeners",value:function(){return this.listeners.map(function(C){return function(){var E=[];for(var _ in C.events){var N=C.events[_];E.push(C.element.addEventListener(_,N,!1))}return E}()})}},{key:"removeEventListeners",value:function(){return this.listeners.map(function(C){return function(){var E=[];for(var _ in C.events){var N=C.events[_];E.push(C.element.removeEventListener(_,N,!1))}return E}()})}},{key:"disable",value:function(){var C=this;return this.clickableElements.forEach(function(E){return E.classList.remove("dz-clickable")}),this.removeEventListeners(),this.disabled=!0,this.files.map(function(E){return C.cancelUpload(E)})}},{key:"enable",value:function(){return delete this.disabled,this.clickableElements.forEach(function(C){return C.classList.add("dz-clickable")}),this.setupEventListeners()}},{key:"filesize",value:function(C){var E=0,_="b";if(C>0){for(var N=["tb","gb","mb","kb","b"],B=0;B<N.length;B++){var P=N[B],K=Math.pow(this.options.filesizeBase,4-B)/10;if(C>=K){E=C/Math.pow(this.options.filesizeBase,4-B),_=P;break}}E=Math.round(10*E)/10}return"<strong>".concat(E,"</strong> ").concat(this.options.dictFileSizeUnits[_])}},{key:"_updateMaxFilesReachedClass",value:function(){return this.options.maxFiles!=null&&this.getAcceptedFiles().length>=this.options.maxFiles?(this.getAcceptedFiles().length===this.options.maxFiles&&this.emit("maxfilesreached",this.files),this.element.classList.add("dz-max-files-reached")):this.element.classList.remove("dz-max-files-reached")}},{key:"drop",value:function(C){if(C.dataTransfer){this.emit("drop",C);for(var E=[],_=0;_<C.dataTransfer.files.length;_++)E[_]=C.dataTransfer.files[_];if(E.length){var N=C.dataTransfer.items;N&&N.length&&N[0].webkitGetAsEntry!=null?this._addFilesFromItems(N):this.handleFiles(E)}this.emit("addedfiles",E)}}},{key:"paste",value:function(C){if(Se(C!=null?C.clipboardData:void 0,function(_){return _.items})!=null){this.emit("paste",C);var E=C.clipboardData.items;if(E.length)return this._addFilesFromItems(E)}}},{key:"handleFiles",value:function(C){var E=T(C,!0),_;try{for(E.s();!(_=E.n()).done;){var N=_.value;this.addFile(N)}}catch(B){E.e(B)}finally{E.f()}}},{key:"_addFilesFromItems",value:function(C){var E=this;return function(){var _=[],N=T(C,!0),B;try{for(N.s();!(B=N.n()).done;){var P=B.value,K;P.webkitGetAsEntry!=null&&(K=P.webkitGetAsEntry())?K.isFile?_.push(E.addFile(P.getAsFile())):K.isDirectory?_.push(E._addFilesFromDirectory(K,K.name)):_.push(void 0):P.getAsFile!=null&&(P.kind==null||P.kind==="file")?_.push(E.addFile(P.getAsFile())):_.push(void 0)}}catch(G){N.e(G)}finally{N.f()}return _}()}},{key:"_addFilesFromDirectory",value:function(C,E){var _=this,N=C.createReader(),B=function(G){return xe(console,"log",function(Q){return Q.log(G)})},P=function K(){return N.readEntries(function(G){if(G.length>0){var Q=T(G,!0),Z;try{for(Q.s();!(Z=Q.n()).done;){var J=Z.value;J.isFile?J.file(function(re){if(!(_.options.ignoreHiddenFiles&&re.name.substring(0,1)==="."))return re.fullPath="".concat(E,"/").concat(re.name),_.addFile(re)}):J.isDirectory&&_._addFilesFromDirectory(J,"".concat(E,"/").concat(J.name))}}catch(re){Q.e(re)}finally{Q.f()}K()}return null},B)};return P()}},{key:"accept",value:function(C,E){this.options.maxFilesize&&C.size>this.options.maxFilesize*1024*1024?E(this.options.dictFileTooBig.replace("{{filesize}}",Math.round(C.size/1024/10.24)/100).replace("{{maxFilesize}}",this.options.maxFilesize)):S.isValidFile(C,this.options.acceptedFiles)?this.options.maxFiles!=null&&this.getAcceptedFiles().length>=this.options.maxFiles?(E(this.options.dictMaxFilesExceeded.replace("{{maxFiles}}",this.options.maxFiles)),this.emit("maxfilesexceeded",C)):this.options.accept.call(this,C,E):E(this.options.dictInvalidFileType)}},{key:"addFile",value:function(C){var E=this;C.upload={uuid:S.uuidv4(),progress:0,total:C.size,bytesSent:0,filename:this._renameFile(C)},this.files.push(C),C.status=S.ADDED,this.emit("addedfile",C),this._enqueueThumbnail(C),this.accept(C,function(_){_?(C.accepted=!1,E._errorProcessing([C],_)):(C.accepted=!0,E.options.autoQueue&&E.enqueueFile(C)),E._updateMaxFilesReachedClass()})}},{key:"enqueueFiles",value:function(C){var E=T(C,!0),_;try{for(E.s();!(_=E.n()).done;){var N=_.value;this.enqueueFile(N)}}catch(B){E.e(B)}finally{E.f()}return null}},{key:"enqueueFile",value:function(C){var E=this;if(C.status===S.ADDED&&C.accepted===!0){if(C.status=S.QUEUED,this.options.autoProcessQueue)return setTimeout(function(){return E.processQueue()},0)}else throw new Error("This file can't be queued because it has already been processed or was rejected.")}},{key:"_enqueueThumbnail",value:function(C){var E=this;if(this.options.createImageThumbnails&&C.type.match(/image.*/)&&C.size<=this.options.maxThumbnailFilesize*1024*1024)return this._thumbnailQueue.push(C),setTimeout(function(){return E._processThumbnailQueue()},0)}},{key:"_processThumbnailQueue",value:function(){var C=this;if(!(this._processingThumbnail||this._thumbnailQueue.length===0)){this._processingThumbnail=!0;var E=this._thumbnailQueue.shift();return this.createThumbnail(E,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,!0,function(_){return C.emit("thumbnail",E,_),C._processingThumbnail=!1,C._processThumbnailQueue()})}}},{key:"removeFile",value:function(C){if(C.status===S.UPLOADING&&this.cancelUpload(C),this.files=X(this.files,C),this.emit("removedfile",C),this.files.length===0)return this.emit("reset")}},{key:"removeAllFiles",value:function(C){C==null&&(C=!1);var E=T(this.files.slice(),!0),_;try{for(E.s();!(_=E.n()).done;){var N=_.value;(N.status!==S.UPLOADING||C)&&this.removeFile(N)}}catch(B){E.e(B)}finally{E.f()}return null}},{key:"resizeImage",value:function(C,E,_,N,B){var P=this;return this.createThumbnail(C,E,_,N,!0,function(K,G){if(G==null)return B(C);var Q=P.options.resizeMimeType;Q==null&&(Q=C.type);var Z=G.toDataURL(Q,P.options.resizeQuality);return(Q==="image/jpeg"||Q==="image/jpg")&&(Z=ve.restore(C.dataURL,Z)),B(S.dataURItoBlob(Z))})}},{key:"createThumbnail",value:function(C,E,_,N,B,P){var K=this,G=new FileReader;G.onload=function(){if(C.dataURL=G.result,C.type==="image/svg+xml"){P!=null&&P(G.result);return}K.createThumbnailFromUrl(C,E,_,N,B,P)},G.readAsDataURL(C)}},{key:"displayExistingFile",value:function(C,E,_,N){var B=this,P=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0;if(this.emit("addedfile",C),this.emit("complete",C),!P)this.emit("thumbnail",C,E),_&&_();else{var K=function(Q){B.emit("thumbnail",C,Q),_&&_()};C.dataURL=E,this.createThumbnailFromUrl(C,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,this.options.fixOrientation,K,N)}}},{key:"createThumbnailFromUrl",value:function(C,E,_,N,B,P,K){var G=this,Q=document.createElement("img");return K&&(Q.crossOrigin=K),B=getComputedStyle(document.body).imageOrientation=="from-image"?!1:B,Q.onload=function(){var Z=function(re){return re(1)};return typeof EXIF<"u"&&EXIF!==null&&B&&(Z=function(re){return EXIF.getData(Q,function(){return re(EXIF.getTag(this,"Orientation"))})}),Z(function(J){C.width=Q.width,C.height=Q.height;var re=G.options.resize.call(G,C,E,_,N),he=document.createElement("canvas"),we=he.getContext("2d");switch(he.width=re.trgWidth,he.height=re.trgHeight,J>4&&(he.width=re.trgHeight,he.height=re.trgWidth),J){case 2:we.translate(he.width,0),we.scale(-1,1);break;case 3:we.translate(he.width,he.height),we.rotate(Math.PI);break;case 4:we.translate(0,he.height),we.scale(1,-1);break;case 5:we.rotate(.5*Math.PI),we.scale(1,-1);break;case 6:we.rotate(.5*Math.PI),we.translate(0,-he.width);break;case 7:we.rotate(.5*Math.PI),we.translate(he.height,-he.width),we.scale(-1,1);break;case 8:we.rotate(-.5*Math.PI),we.translate(-he.height,0);break}ge(we,Q,re.srcX!=null?re.srcX:0,re.srcY!=null?re.srcY:0,re.srcWidth,re.srcHeight,re.trgX!=null?re.trgX:0,re.trgY!=null?re.trgY:0,re.trgWidth,re.trgHeight);var Le=he.toDataURL("image/png");if(P!=null)return P(Le,he)})},P!=null&&(Q.onerror=P),Q.src=C.dataURL}},{key:"processQueue",value:function(){var C=this.options.parallelUploads,E=this.getUploadingFiles().length,_=E;if(!(E>=C)){var N=this.getQueuedFiles();if(N.length>0){if(this.options.uploadMultiple)return this.processFiles(N.slice(0,C-E));for(;_<C;){if(!N.length)return;this.processFile(N.shift()),_++}}}}},{key:"processFile",value:function(C){return this.processFiles([C])}},{key:"processFiles",value:function(C){var E=T(C,!0),_;try{for(E.s();!(_=E.n()).done;){var N=_.value;N.processing=!0,N.status=S.UPLOADING,this.emit("processing",N)}}catch(B){E.e(B)}finally{E.f()}return this.options.uploadMultiple&&this.emit("processingmultiple",C),this.uploadFiles(C)}},{key:"_getFilesWithXhr",value:function(C){return this.files.filter(function(E){return E.xhr===C}).map(function(E){return E})}},{key:"cancelUpload",value:function(C){if(C.status===S.UPLOADING){var E=this._getFilesWithXhr(C.xhr),_=T(E,!0),N;try{for(_.s();!(N=_.n()).done;){var B=N.value;B.status=S.CANCELED}}catch(Q){_.e(Q)}finally{_.f()}typeof C.xhr<"u"&&C.xhr.abort();var P=T(E,!0),K;try{for(P.s();!(K=P.n()).done;){var G=K.value;this.emit("canceled",G)}}catch(Q){P.e(Q)}finally{P.f()}this.options.uploadMultiple&&this.emit("canceledmultiple",E)}else(C.status===S.ADDED||C.status===S.QUEUED)&&(C.status=S.CANCELED,this.emit("canceled",C),this.options.uploadMultiple&&this.emit("canceledmultiple",[C]));if(this.options.autoProcessQueue)return this.processQueue()}},{key:"resolveOption",value:function(C){if(typeof C=="function"){for(var E=arguments.length,_=new Array(E>1?E-1:0),N=1;N<E;N++)_[N-1]=arguments[N];return C.apply(this,_)}return C}},{key:"uploadFile",value:function(C){return this.uploadFiles([C])}},{key:"uploadFiles",value:function(C){var E=this;this._transformFiles(C,function(_){if(E.options.chunking){var N=_[0];C[0].upload.chunked=E.options.chunking&&(E.options.forceChunking||N.size>E.options.chunkSize),C[0].upload.totalChunkCount=Math.ceil(N.size/E.options.chunkSize)}if(C[0].upload.chunked){var B=C[0],P=_[0];B.upload.chunks=[];var K=function(){for(var re=0;B.upload.chunks[re]!==void 0;)re++;if(!(re>=B.upload.totalChunkCount)){var he=re*E.options.chunkSize,we=Math.min(he+E.options.chunkSize,P.size),Le={name:E._getParamName(0),data:P.webkitSlice?P.webkitSlice(he,we):P.slice(he,we),filename:B.upload.filename,chunkIndex:re};B.upload.chunks[re]={file:B,index:re,dataBlock:Le,status:S.UPLOADING,progress:0,retries:0},E._uploadData(C,[Le])}};if(B.upload.finishedChunkUpload=function(J,re){var he=!0;J.status=S.SUCCESS,J.dataBlock=null,J.xhr=null;for(var we=0;we<B.upload.totalChunkCount;we++){if(B.upload.chunks[we]===void 0)return K();B.upload.chunks[we].status!==S.SUCCESS&&(he=!1)}he&&E.options.chunksUploaded(B,function(){E._finished(C,re,null)})},E.options.parallelChunkUploads)for(var G=0;G<B.upload.totalChunkCount;G++)K();else K()}else{for(var Q=[],Z=0;Z<C.length;Z++)Q[Z]={name:E._getParamName(Z),data:_[Z],filename:C[Z].upload.filename};E._uploadData(C,Q)}})}},{key:"_getChunk",value:function(C,E){for(var _=0;_<C.upload.totalChunkCount;_++)if(C.upload.chunks[_]!==void 0&&C.upload.chunks[_].xhr===E)return C.upload.chunks[_]}},{key:"_uploadData",value:function(C,E){var _=this,N=new XMLHttpRequest,B=T(C,!0),P;try{for(B.s();!(P=B.n()).done;){var K=P.value;K.xhr=N}}catch(fe){B.e(fe)}finally{B.f()}C[0].upload.chunked&&(C[0].upload.chunks[E[0].chunkIndex].xhr=N);var G=this.resolveOption(this.options.method,C),Q=this.resolveOption(this.options.url,C);N.open(G,Q,!0);var Z=this.resolveOption(this.options.timeout,C);Z&&(N.timeout=this.resolveOption(this.options.timeout,C)),N.withCredentials=!!this.options.withCredentials,N.onload=function(fe){_._finishedUploading(C,N,fe)},N.ontimeout=function(){_._handleUploadError(C,N,"Request timedout after ".concat(_.options.timeout/1e3," seconds"))},N.onerror=function(){_._handleUploadError(C,N)};var J=N.upload!=null?N.upload:N;J.onprogress=function(fe){return _._updateFilesUploadProgress(C,N,fe)};var re={Accept:"application/json","Cache-Control":"no-cache","X-Requested-With":"XMLHttpRequest"};this.options.headers&&S.extend(re,this.options.headers);for(var he in re){var we=re[he];we&&N.setRequestHeader(he,we)}var Le=new FormData;if(this.options.params){var ze=this.options.params;typeof ze=="function"&&(ze=ze.call(this,C,N,C[0].upload.chunked?this._getChunk(C[0],N):null));for(var $e in ze){var Be=ze[$e];if(Array.isArray(Be))for(var Ze=0;Ze<Be.length;Ze++)Le.append($e,Be[Ze]);else Le.append($e,Be)}}var At=T(C,!0),at;try{for(At.s();!(at=At.n()).done;){var Yn=at.value;this.emit("sending",Yn,N,Le)}}catch(fe){At.e(fe)}finally{At.f()}this.options.uploadMultiple&&this.emit("sendingmultiple",C,N,Le),this._addFormElementData(Le);for(var ee=0;ee<E.length;ee++){var ue=E[ee];Le.append(ue.name,ue.data,ue.filename)}this.submitRequest(N,Le,C)}},{key:"_transformFiles",value:function(C,E){for(var _=this,N=[],B=0,P=function(Q){_.options.transformFile.call(_,C[Q],function(Z){N[Q]=Z,++B===C.length&&E(N)})},K=0;K<C.length;K++)P(K)}},{key:"_addFormElementData",value:function(C){if(this.element.tagName==="FORM"){var E=T(this.element.querySelectorAll("input, textarea, select, button"),!0),_;try{for(E.s();!(_=E.n()).done;){var N=_.value,B=N.getAttribute("name"),P=N.getAttribute("type");if(P&&(P=P.toLowerCase()),!(typeof B>"u"||B===null))if(N.tagName==="SELECT"&&N.hasAttribute("multiple")){var K=T(N.options,!0),G;try{for(K.s();!(G=K.n()).done;){var Q=G.value;Q.selected&&C.append(B,Q.value)}}catch(Z){K.e(Z)}finally{K.f()}}else(!P||P!=="checkbox"&&P!=="radio"||N.checked)&&C.append(B,N.value)}}catch(Z){E.e(Z)}finally{E.f()}}}},{key:"_updateFilesUploadProgress",value:function(C,E,_){if(C[0].upload.chunked){var K=C[0],G=this._getChunk(K,E);_?(G.progress=100*_.loaded/_.total,G.total=_.total,G.bytesSent=_.loaded):(G.progress=100,G.bytesSent=G.total),K.upload.progress=0,K.upload.total=0,K.upload.bytesSent=0;for(var Q=0;Q<K.upload.totalChunkCount;Q++)K.upload.chunks[Q]&&typeof K.upload.chunks[Q].progress<"u"&&(K.upload.progress+=K.upload.chunks[Q].progress,K.upload.total+=K.upload.chunks[Q].total,K.upload.bytesSent+=K.upload.chunks[Q].bytesSent);K.upload.progress=K.upload.progress/K.upload.totalChunkCount,this.emit("uploadprogress",K,K.upload.progress,K.upload.bytesSent)}else{var N=T(C,!0),B;try{for(N.s();!(B=N.n()).done;){var P=B.value;P.upload.total&&P.upload.bytesSent&&P.upload.bytesSent==P.upload.total||(_?(P.upload.progress=100*_.loaded/_.total,P.upload.total=_.total,P.upload.bytesSent=_.loaded):(P.upload.progress=100,P.upload.bytesSent=P.upload.total),this.emit("uploadprogress",P,P.upload.progress,P.upload.bytesSent))}}catch(Z){N.e(Z)}finally{N.f()}}}},{key:"_finishedUploading",value:function(C,E,_){var N;if(C[0].status!==S.CANCELED&&E.readyState===4){if(E.responseType!=="arraybuffer"&&E.responseType!=="blob"&&(N=E.responseText,E.getResponseHeader("content-type")&&~E.getResponseHeader("content-type").indexOf("application/json")))try{N=JSON.parse(N)}catch(B){_=B,N="Invalid JSON response from server."}this._updateFilesUploadProgress(C,E),200<=E.status&&E.status<300?C[0].upload.chunked?C[0].upload.finishedChunkUpload(this._getChunk(C[0],E),N):this._finished(C,N,_):this._handleUploadError(C,E,N)}}},{key:"_handleUploadError",value:function(C,E,_){if(C[0].status!==S.CANCELED){if(C[0].upload.chunked&&this.options.retryChunks){var N=this._getChunk(C[0],E);if(N.retries++<this.options.retryChunksLimit){this._uploadData(C,[N.dataBlock]);return}else console.warn("Retried this chunk too often. Giving up.")}this._errorProcessing(C,_||this.options.dictResponseError.replace("{{statusCode}}",E.status),E)}}},{key:"submitRequest",value:function(C,E,_){if(C.readyState!=1){console.warn("Cannot send this request because the XMLHttpRequest.readyState is not OPENED.");return}C.send(E)}},{key:"_finished",value:function(C,E,_){var N=T(C,!0),B;try{for(N.s();!(B=N.n()).done;){var P=B.value;P.status=S.SUCCESS,this.emit("success",P,E,_),this.emit("complete",P)}}catch(K){N.e(K)}finally{N.f()}if(this.options.uploadMultiple&&(this.emit("successmultiple",C,E,_),this.emit("completemultiple",C)),this.options.autoProcessQueue)return this.processQueue()}},{key:"_errorProcessing",value:function(C,E,_){var N=T(C,!0),B;try{for(N.s();!(B=N.n()).done;){var P=B.value;P.status=S.ERROR,this.emit("error",P,E,_),this.emit("complete",P)}}catch(K){N.e(K)}finally{N.f()}if(this.options.uploadMultiple&&(this.emit("errormultiple",C,E,_),this.emit("completemultiple",C)),this.options.autoProcessQueue)return this.processQueue()}}],[{key:"initClass",value:function(){this.prototype.Emitter=h,this.prototype.events=["drop","dragstart","dragend","dragenter","dragover","dragleave","addedfile","addedfiles","removedfile","thumbnail","error","errormultiple","processing","processingmultiple","uploadprogress","totaluploadprogress","sending","sendingmultiple","success","successmultiple","canceled","canceledmultiple","complete","completemultiple","reset","maxfilesexceeded","maxfilesreached","queuecomplete"],this.prototype._thumbnailQueue=[],this.prototype._processingThumbnail=!1}},{key:"extend",value:function(C){for(var E=arguments.length,_=new Array(E>1?E-1:0),N=1;N<E;N++)_[N-1]=arguments[N];for(var B=0,P=_;B<P.length;B++){var K=P[B];for(var G in K){var Q=K[G];C[G]=Q}}return C}},{key:"uuidv4",value:function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(C){var E=Math.random()*16|0,_=C==="x"?E:E&3|8;return _.toString(16)})}}]),S}(h);L.initClass(),L.version="5.9.3",L.options={},L.optionsForElement=function(x){if(x.getAttribute("id"))return L.options[ne(x.getAttribute("id"))]},L.instances=[],L.forElement=function(x){if(typeof x=="string"&&(x=document.querySelector(x)),(x!=null?x.dropzone:void 0)==null)throw new Error("No Dropzone found for given element. This is probably because you're trying to access it before Dropzone had the time to initialize. Use the `init` option to setup any additional observers on your Dropzone.");return x.dropzone},L.autoDiscover=!0,L.discover=function(){var x;if(document.querySelectorAll)x=document.querySelectorAll(".dropzone");else{x=[];var I=function(M){return function(){var C=[],E=T(M,!0),_;try{for(E.s();!(_=E.n()).done;){var N=_.value;/(^| )dropzone($| )/.test(N.className)?C.push(x.push(N)):C.push(void 0)}}catch(B){E.e(B)}finally{E.f()}return C}()};I(document.getElementsByTagName("div")),I(document.getElementsByTagName("form"))}return function(){var S=[],M=T(x,!0),C;try{for(M.s();!(C=M.n()).done;){var E=C.value;L.optionsForElement(E)!==!1?S.push(new L(E)):S.push(void 0)}}catch(_){M.e(_)}finally{M.f()}return S}()},L.blockedBrowsers=[/opera.*(Macintosh|Windows Phone).*version\/12/i],L.isBrowserSupported=function(){var x=!0;if(window.File&&window.FileReader&&window.FileList&&window.Blob&&window.FormData&&document.querySelector)if(!("classList"in document.createElement("a")))x=!1;else{L.blacklistedBrowsers!==void 0&&(L.blockedBrowsers=L.blacklistedBrowsers);var I=T(L.blockedBrowsers,!0),S;try{for(I.s();!(S=I.n()).done;){var M=S.value;if(M.test(navigator.userAgent)){x=!1;continue}}}catch(C){I.e(C)}finally{I.f()}}else x=!1;return x},L.dataURItoBlob=function(x){for(var I=atob(x.split(",")[1]),S=x.split(",")[0].split(":")[1].split(";")[0],M=new ArrayBuffer(I.length),C=new Uint8Array(M),E=0,_=I.length,N=0<=_;N?E<=_:E>=_;N?E++:E--)C[E]=I.charCodeAt(E);return new Blob([M],{type:S})};var X=function(I,S){return I.filter(function(M){return M!==S}).map(function(M){return M})},ne=function(I){return I.replace(/[\-_](\w)/g,function(S){return S.charAt(1).toUpperCase()})};L.createElement=function(x){var I=document.createElement("div");return I.innerHTML=x,I.childNodes[0]},L.elementInside=function(x,I){if(x===I)return!0;for(;x=x.parentNode;)if(x===I)return!0;return!1},L.getElement=function(x,I){var S;if(typeof x=="string"?S=document.querySelector(x):x.nodeType!=null&&(S=x),S==null)throw new Error("Invalid `".concat(I,"` option provided. Please provide a CSS selector or a plain HTML element."));return S},L.getElements=function(x,I){var S,M;if(x instanceof Array){M=[];try{var C=T(x,!0),E;try{for(C.s();!(E=C.n()).done;)S=E.value,M.push(this.getElement(S,I))}catch(B){C.e(B)}finally{C.f()}}catch{M=null}}else if(typeof x=="string"){M=[];var _=T(document.querySelectorAll(x),!0),N;try{for(_.s();!(N=_.n()).done;)S=N.value,M.push(S)}catch(B){_.e(B)}finally{_.f()}}else x.nodeType!=null&&(M=[x]);if(M==null||!M.length)throw new Error("Invalid `".concat(I,"` option provided. Please provide a CSS selector, a plain HTML element or a list of those."));return M},L.confirm=function(x,I,S){if(window.confirm(x))return I();if(S!=null)return S()},L.isValidFile=function(x,I){if(!I)return!0;I=I.split(",");var S=x.type,M=S.replace(/\/.*$/,""),C=T(I,!0),E;try{for(C.s();!(E=C.n()).done;){var _=E.value;if(_=_.trim(),_.charAt(0)==="."){if(x.name.toLowerCase().indexOf(_.toLowerCase(),x.name.length-_.length)!==-1)return!0}else if(/\/\*$/.test(_)){if(M===_.replace(/\/.*$/,""))return!0}else if(S===_)return!0}}catch(N){C.e(N)}finally{C.f()}return!1},typeof jQuery<"u"&&jQuery!==null&&(jQuery.fn.dropzone=function(x){return this.each(function(){return new L(this,x)})}),L.ADDED="added",L.QUEUED="queued",L.ACCEPTED=L.QUEUED,L.UPLOADING="uploading",L.PROCESSING=L.UPLOADING,L.CANCELED="canceled",L.ERROR="error",L.SUCCESS="success";var de=function(I){I.naturalWidth;var S=I.naturalHeight,M=document.createElement("canvas");M.width=1,M.height=S;var C=M.getContext("2d");C.drawImage(I,0,0);for(var E=C.getImageData(1,0,1,S),_=E.data,N=0,B=S,P=S;P>N;){var K=_[(P-1)*4+3];K===0?B=P:N=P,P=B+N>>1}var G=P/S;return G===0?1:G},ge=function(I,S,M,C,E,_,N,B,P,K){var G=de(S);return I.drawImage(S,M,C,E,_,N,B,P,K/G)},ve=function(){function x(){H(this,x)}return R(x,null,[{key:"initClass",value:function(){this.KEY_STR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}},{key:"encode64",value:function(S){for(var M="",C=void 0,E=void 0,_="",N=void 0,B=void 0,P=void 0,K="",G=0;C=S[G++],E=S[G++],_=S[G++],N=C>>2,B=(C&3)<<4|E>>4,P=(E&15)<<2|_>>6,K=_&63,isNaN(E)?P=K=64:isNaN(_)&&(K=64),M=M+this.KEY_STR.charAt(N)+this.KEY_STR.charAt(B)+this.KEY_STR.charAt(P)+this.KEY_STR.charAt(K),C=E=_="",N=B=P=K="",G<S.length;);return M}},{key:"restore",value:function(S,M){if(!S.match("data:image/jpeg;base64,"))return M;var C=this.decode64(S.replace("data:image/jpeg;base64,","")),E=this.slice2Segments(C),_=this.exifManipulation(M,E);return"data:image/jpeg;base64,".concat(this.encode64(_))}},{key:"exifManipulation",value:function(S,M){var C=this.getExifArray(M),E=this.insertExif(S,C),_=new Uint8Array(E);return _}},{key:"getExifArray",value:function(S){for(var M=void 0,C=0;C<S.length;){if(M=S[C],M[0]===255&M[1]===225)return M;C++}return[]}},{key:"insertExif",value:function(S,M){var C=S.replace("data:image/jpeg;base64,",""),E=this.decode64(C),_=E.indexOf(255,3),N=E.slice(0,_),B=E.slice(_),P=N;return P=P.concat(M),P=P.concat(B),P}},{key:"slice2Segments",value:function(S){for(var M=0,C=[];;){var E;if(S[M]===255&S[M+1]===218)break;if(S[M]===255&S[M+1]===216)M+=2;else{E=S[M+2]*256+S[M+3];var _=M+E+2,N=S.slice(M,_);C.push(N),M=_}if(M>S.length)break}return C}},{key:"decode64",value:function(S){var M=void 0,C=void 0,E="",_=void 0,N=void 0,B=void 0,P="",K=0,G=[],Q=/[^A-Za-z0-9\+\/\=]/g;for(Q.exec(S)&&console.warn(`There were invalid base64 characters in the input text.
|
|
61
61
|
Valid base64 characters are A-Z, a-z, 0-9, '+', '/',and '='
|
|
62
|
-
Expect errors in decoding.`),w=w.replace(/[^A-Za-z0-9\+\/\=]/g,"");_=this.KEY_STR.indexOf(w.charAt(K++)),N=this.KEY_STR.indexOf(w.charAt(K++)),B=this.KEY_STR.indexOf(w.charAt(K++)),P=this.KEY_STR.indexOf(w.charAt(K++)),M=_<<2|N>>4,C=(N&15)<<4|B>>2,E=(B&3)<<6|P,J.push(M),B!==64&&J.push(C),P!==64&&J.push(E),M=C=E="",_=N=B=P="",K<w.length;);return J}}]),x}();ve.initClass();var Ae=function(I,w){var M=!1,C=!0,E=I.document,_=E.documentElement,N=E.addEventListener?"addEventListener":"attachEvent",B=E.addEventListener?"removeEventListener":"detachEvent",P=E.addEventListener?"":"on",K=function Q(Z){if(!(Z.type==="readystatechange"&&E.readyState!=="complete")&&((Z.type==="load"?I:E)[B](P+Z.type,Q,!1),!M&&(M=!0)))return w.call(I,Z.type||Z)},J=function Q(){try{_.doScroll("left")}catch{setTimeout(Q,50);return}return K("poll")};if(E.readyState!=="complete"){if(E.createEventObject&&_.doScroll){try{C=!I.frameElement}catch{}C&&J()}return E[N](P+"DOMContentLoaded",K,!1),E[N](P+"readystatechange",K,!1),I[N](P+"load",K,!1)}};L._autoDiscoverFunction=function(){if(L.autoDiscover)return L.discover()},Ae(window,L._autoDiscoverFunction);function Se(x,I){return typeof x<"u"&&x!==null?I(x):void 0}function xe(x,I,w){if(typeof x<"u"&&x!==null&&typeof x[I]=="function")return w(x,I)}window.Dropzone=L;var Ce=L}(),i}()})})(vu);var I6=vu.exports;const yu=Na(I6),O6={class:"fallback"},_6=c.createElementVNode("input",{id:"file",type:"file",name:"file",multiple:""},null,-1),N6={for:"file"},L6={class:"dz-message","data-dz-message":""},D6={id:"bd-dropzone-theme",style:{display:"none"}},B6={class:"dz-preview dz-file-preview"},R6={class:"dz-details"},P6=c.createElementVNode("img",{"data-dz-thumbnail":"",class:"dz-image"},null,-1),F6=c.createElementVNode("div",{class:"dz-filename"},[c.createElementVNode("small",{"data-dz-name":""})],-1),V6=c.createElementVNode("div",{class:"dz-progress"},[c.createElementVNode("div",{class:"spinner-border text-primary spinner-border-sm",role:"status"},[c.createElementVNode("span",{class:"visually-hidden"},"Loading...")])],-1),$6={class:"dz-success-mark"},z6={class:"dz-error-message text-danger"},H6=c.createElementVNode("small",{"data-dz-errormessage":""},null,-1),Cu=c.defineComponent({__name:"BDDropzone",props:{modelValue:{default:[]},buttonText:{default:void 0},multiple:{type:Boolean,default:!1},errorMessage:{default:void 0},fileSizeExceededMessage:{default:void 0},acceptedFiles:{default:".jpg"},url:{default:""},tag:{default:"form"},token:{default:""}},emits:["update:modelValue"],setup(n,{emit:e}){const t=n,r=c.computed(()=>({variant:di.PRIMARY,size:lt.SM})),o=er(t,"modelValue",e);let i=null;yu.autoDiscover=!1,c.watch(()=>t.modelValue,()=>{s()}),c.onMounted(()=>{document.getElementById("dropzone")&&l()});const s=()=>{i&&(i.destroy(),l())},l=()=>{var p;i=new yu("#dropzone",{url:t.url,method:"post",acceptedFiles:t.acceptedFiles,addRemoveLinks:!1,maxFilesize:10,maxFiles:t.multiple?3:1,headers:{RequestVerificationToken:t.token},dictResponseError:t.errorMessage,dictFileTooBig:t.fileSizeExceededMessage,previewTemplate:(p=document.querySelector("#bd-dropzone-theme"))==null?void 0:p.innerHTML}),i.on("error",d),i.on("success",a),i.on("removedfile",f)},a=function(p,m){var g;o.value.push({UUID:(g=p.upload)==null?void 0:g.uuid,CorrelationId:m.CorrelationId,Naam:m.Naam}),u(p)},d=function(p){u(p)},u=function(p){const m=p.name;if(!(m.endsWith(".png")||m.endsWith(".jpg")||m.endsWith(".jpeg")||m.endsWith(".gif"))){const g=p.previewElement.getElementsByClassName("icon-file"),v=p.previewElement.getElementsByClassName("dz-image");g[0].classList.remove("d-none"),v[0].classList.add("d-none")}},f=function(p){const m=o.value.findIndex(g=>{var v;return(g==null?void 0:g.UUID)===((v=p.upload)==null?void 0:v.uuid)});m!==-1&&o.value.splice(m,1)},h=c.computed(()=>t.tag??"form");return(p,m)=>(c.openBlock(),c.createElementBlock(c.Fragment,null,[(c.openBlock(),c.createBlock(c.resolveDynamicComponent(h.value),{id:"dropzone",class:"dropzone bd-dropzone",enctype:"multipart/form-data"},{default:c.withCtx(()=>[c.createElementVNode("div",O6,[_6,c.createTextVNode(" test "),c.createElementVNode("label",N6,[c.createVNode(c.unref(Xn)),c.createTextVNode(" "+c.toDisplayString(t.buttonText),1)])]),c.createElementVNode("div",L6,[c.createVNode(c.unref(We),c.normalizeProps(c.guardReactiveProps(r.value)),{default:c.withCtx(()=>[c.createVNode(c.unref(Xn)),c.createTextVNode(" "+c.toDisplayString(t.buttonText),1)]),_:1},16)])]),_:1})),c.createElementVNode("div",D6,[c.createElementVNode("div",B6,[c.createElementVNode("div",R6,[P6,c.createVNode(c.unref(va),{"data-dz-thumbnail":"",class:"d-none"}),F6,c.createVNode(c.unref(We),{class:"dz-remove",alt:"Click me to remove the file.","data-dz-remove":""},{default:c.withCtx(()=>[c.createVNode(c.unref(go))]),_:1})]),V6,c.createElementVNode("div",$6,[c.createVNode(c.unref(xr))]),c.createElementVNode("div",z6,[c.createVNode(c.unref(li)),H6])])])],64))}});function et(n){this.content=n}et.prototype={constructor:et,find:function(n){for(var e=0;e<this.content.length;e+=2)if(this.content[e]===n)return e;return-1},get:function(n){var e=this.find(n);return e==-1?void 0:this.content[e+1]},update:function(n,e,t){var r=t&&t!=n?this.remove(t):this,o=r.find(n),i=r.content.slice();return o==-1?i.push(t||n,e):(i[o+1]=e,t&&(i[o]=t)),new et(i)},remove:function(n){var e=this.find(n);if(e==-1)return this;var t=this.content.slice();return t.splice(e,2),new et(t)},addToStart:function(n,e){return new et([n,e].concat(this.remove(n).content))},addToEnd:function(n,e){var t=this.remove(n).content.slice();return t.push(n,e),new et(t)},addBefore:function(n,e,t){var r=this.remove(e),o=r.content.slice(),i=r.find(n);return o.splice(i==-1?o.length:i,0,e,t),new et(o)},forEach:function(n){for(var e=0;e<this.content.length;e+=2)n(this.content[e],this.content[e+1])},prepend:function(n){return n=et.from(n),n.size?new et(n.content.concat(this.subtract(n).content)):this},append:function(n){return n=et.from(n),n.size?new et(this.subtract(n).content.concat(n.content)):this},subtract:function(n){var e=this;n=et.from(n);for(var t=0;t<n.content.length;t+=2)e=e.remove(n.content[t]);return e},toObject:function(){var n={};return this.forEach(function(e,t){n[e]=t}),n},get size(){return this.content.length>>1}},et.from=function(n){if(n instanceof et)return n;var e=[];if(n)for(var t in n)e.push(t,n[t]);return new et(e)};function Eu(n,e,t){for(let r=0;;r++){if(r==n.childCount||r==e.childCount)return n.childCount==e.childCount?null:t;let o=n.child(r),i=e.child(r);if(o==i){t+=o.nodeSize;continue}if(!o.sameMarkup(i))return t;if(o.isText&&o.text!=i.text){for(let s=0;o.text[s]==i.text[s];s++)t++;return t}if(o.content.size||i.content.size){let s=Eu(o.content,i.content,t+1);if(s!=null)return s}t+=o.nodeSize}}function bu(n,e,t,r){for(let o=n.childCount,i=e.childCount;;){if(o==0||i==0)return o==i?null:{a:t,b:r};let s=n.child(--o),l=e.child(--i),a=s.nodeSize;if(s==l){t-=a,r-=a;continue}if(!s.sameMarkup(l))return{a:t,b:r};if(s.isText&&s.text!=l.text){let d=0,u=Math.min(s.text.length,l.text.length);for(;d<u&&s.text[s.text.length-d-1]==l.text[l.text.length-d-1];)d++,t--,r--;return{a:t,b:r}}if(s.content.size||l.content.size){let d=bu(s.content,l.content,t-1,r-1);if(d)return d}t-=a,r-=a}}class le{constructor(e,t){if(this.content=e,this.size=t||0,t==null)for(let r=0;r<e.length;r++)this.size+=e[r].nodeSize}nodesBetween(e,t,r,o=0,i){for(let s=0,l=0;l<t;s++){let a=this.content[s],d=l+a.nodeSize;if(d>e&&r(a,o+l,i||null,s)!==!1&&a.content.size){let u=l+1;a.nodesBetween(Math.max(0,e-u),Math.min(a.content.size,t-u),r,o+u)}l=d}}descendants(e){this.nodesBetween(0,this.size,e)}textBetween(e,t,r,o){let i="",s=!0;return this.nodesBetween(e,t,(l,a)=>{l.isText?(i+=l.text.slice(Math.max(e,a)-a,t-a),s=!r):l.isLeaf?(o?i+=typeof o=="function"?o(l):o:l.type.spec.leafText&&(i+=l.type.spec.leafText(l)),s=!r):!s&&l.isBlock&&(i+=r,s=!0)},0),i}append(e){if(!e.size)return this;if(!this.size)return e;let t=this.lastChild,r=e.firstChild,o=this.content.slice(),i=0;for(t.isText&&t.sameMarkup(r)&&(o[o.length-1]=t.withText(t.text+r.text),i=1);i<e.content.length;i++)o.push(e.content[i]);return new le(o,this.size+e.size)}cut(e,t=this.size){if(e==0&&t==this.size)return this;let r=[],o=0;if(t>e)for(let i=0,s=0;s<t;i++){let l=this.content[i],a=s+l.nodeSize;a>e&&((s<e||a>t)&&(l.isText?l=l.cut(Math.max(0,e-s),Math.min(l.text.length,t-s)):l=l.cut(Math.max(0,e-s-1),Math.min(l.content.size,t-s-1))),r.push(l),o+=l.nodeSize),s=a}return new le(r,o)}cutByIndex(e,t){return e==t?le.empty:e==0&&t==this.content.length?this:new le(this.content.slice(e,t))}replaceChild(e,t){let r=this.content[e];if(r==t)return this;let o=this.content.slice(),i=this.size+t.nodeSize-r.nodeSize;return o[e]=t,new le(o,i)}addToStart(e){return new le([e].concat(this.content),this.size+e.nodeSize)}addToEnd(e){return new le(this.content.concat(e),this.size+e.nodeSize)}eq(e){if(this.content.length!=e.content.length)return!1;for(let t=0;t<this.content.length;t++)if(!this.content[t].eq(e.content[t]))return!1;return!0}get firstChild(){return this.content.length?this.content[0]:null}get lastChild(){return this.content.length?this.content[this.content.length-1]:null}get childCount(){return this.content.length}child(e){let t=this.content[e];if(!t)throw new RangeError("Index "+e+" out of range for "+this);return t}maybeChild(e){return this.content[e]||null}forEach(e){for(let t=0,r=0;t<this.content.length;t++){let o=this.content[t];e(o,r,t),r+=o.nodeSize}}findDiffStart(e,t=0){return Eu(this,e,t)}findDiffEnd(e,t=this.size,r=e.size){return bu(this,e,t,r)}findIndex(e,t=-1){if(e==0)return yi(0,e);if(e==this.size)return yi(this.content.length,e);if(e>this.size||e<0)throw new RangeError(`Position ${e} outside of fragment (${this})`);for(let r=0,o=0;;r++){let i=this.child(r),s=o+i.nodeSize;if(s>=e)return s==e||t>0?yi(r+1,s):yi(r,o);o=s}}toString(){return"<"+this.toStringInner()+">"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map(e=>e.toJSON()):null}static fromJSON(e,t){if(!t)return le.empty;if(!Array.isArray(t))throw new RangeError("Invalid input for Fragment.fromJSON");return new le(t.map(e.nodeFromJSON))}static fromArray(e){if(!e.length)return le.empty;let t,r=0;for(let o=0;o<e.length;o++){let i=e[o];r+=i.nodeSize,o&&i.isText&&e[o-1].sameMarkup(i)?(t||(t=e.slice(0,o)),t[t.length-1]=i.withText(t[t.length-1].text+i.text)):t&&t.push(i)}return new le(t||e,r)}static from(e){if(!e)return le.empty;if(e instanceof le)return e;if(Array.isArray(e))return this.fromArray(e);if(e.attrs)return new le([e],e.nodeSize);throw new RangeError("Can not convert "+e+" to a Fragment"+(e.nodesBetween?" (looks like multiple versions of prosemirror-model were loaded)":""))}}le.empty=new le([],0);const La={index:0,offset:0};function yi(n,e){return La.index=n,La.offset=e,La}function Ci(n,e){if(n===e)return!0;if(!(n&&typeof n=="object")||!(e&&typeof e=="object"))return!1;let t=Array.isArray(n);if(Array.isArray(e)!=t)return!1;if(t){if(n.length!=e.length)return!1;for(let r=0;r<n.length;r++)if(!Ci(n[r],e[r]))return!1}else{for(let r in n)if(!(r in e)||!Ci(n[r],e[r]))return!1;for(let r in e)if(!(r in n))return!1}return!0}let Fe=class Gc{constructor(e,t){this.type=e,this.attrs=t}addToSet(e){let t,r=!1;for(let o=0;o<e.length;o++){let i=e[o];if(this.eq(i))return e;if(this.type.excludes(i.type))t||(t=e.slice(0,o));else{if(i.type.excludes(this.type))return e;!r&&i.type.rank>this.type.rank&&(t||(t=e.slice(0,o)),t.push(this),r=!0),t&&t.push(i)}}return t||(t=e.slice()),r||t.push(this),t}removeFromSet(e){for(let t=0;t<e.length;t++)if(this.eq(e[t]))return e.slice(0,t).concat(e.slice(t+1));return e}isInSet(e){for(let t=0;t<e.length;t++)if(this.eq(e[t]))return!0;return!1}eq(e){return this==e||this.type==e.type&&Ci(this.attrs,e.attrs)}toJSON(){let e={type:this.type.name};for(let t in this.attrs){e.attrs=this.attrs;break}return e}static fromJSON(e,t){if(!t)throw new RangeError("Invalid input for Mark.fromJSON");let r=e.marks[t.type];if(!r)throw new RangeError(`There is no mark type ${t.type} in this schema`);return r.create(t.attrs)}static sameSet(e,t){if(e==t)return!0;if(e.length!=t.length)return!1;for(let r=0;r<e.length;r++)if(!e[r].eq(t[r]))return!1;return!0}static setFrom(e){if(!e||Array.isArray(e)&&e.length==0)return Gc.none;if(e instanceof Gc)return[e];let t=e.slice();return t.sort((r,o)=>r.type.rank-o.type.rank),t}};Fe.none=[];class Ei extends Error{}class ye{constructor(e,t,r){this.content=e,this.openStart=t,this.openEnd=r}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(e,t){let r=wu(this.content,e+this.openStart,t);return r&&new ye(r,this.openStart,this.openEnd)}removeBetween(e,t){return new ye(Au(this.content,e+this.openStart,t+this.openStart),this.openStart,this.openEnd)}eq(e){return this.content.eq(e.content)&&this.openStart==e.openStart&&this.openEnd==e.openEnd}toString(){return this.content+"("+this.openStart+","+this.openEnd+")"}toJSON(){if(!this.content.size)return null;let e={content:this.content.toJSON()};return this.openStart>0&&(e.openStart=this.openStart),this.openEnd>0&&(e.openEnd=this.openEnd),e}static fromJSON(e,t){if(!t)return ye.empty;let r=t.openStart||0,o=t.openEnd||0;if(typeof r!="number"||typeof o!="number")throw new RangeError("Invalid input for Slice.fromJSON");return new ye(le.fromJSON(e,t.content),r,o)}static maxOpen(e,t=!0){let r=0,o=0;for(let i=e.firstChild;i&&!i.isLeaf&&(t||!i.type.spec.isolating);i=i.firstChild)r++;for(let i=e.lastChild;i&&!i.isLeaf&&(t||!i.type.spec.isolating);i=i.lastChild)o++;return new ye(e,r,o)}}ye.empty=new ye(le.empty,0,0);function Au(n,e,t){let{index:r,offset:o}=n.findIndex(e),i=n.maybeChild(r),{index:s,offset:l}=n.findIndex(t);if(o==e||i.isText){if(l!=t&&!n.child(s).isText)throw new RangeError("Removing non-flat range");return n.cut(0,e).append(n.cut(t))}if(r!=s)throw new RangeError("Removing non-flat range");return n.replaceChild(r,i.copy(Au(i.content,e-o-1,t-o-1)))}function wu(n,e,t,r){let{index:o,offset:i}=n.findIndex(e),s=n.maybeChild(o);if(i==e||s.isText)return r&&!r.canReplace(o,o,t)?null:n.cut(0,e).append(t).append(n.cut(e));let l=wu(s.content,e-i-1,t);return l&&n.replaceChild(o,s.copy(l))}function U6(n,e,t){if(t.openStart>n.depth)throw new Ei("Inserted content deeper than insertion position");if(n.depth-t.openStart!=e.depth-t.openEnd)throw new Ei("Inconsistent open depths");return Su(n,e,t,0)}function Su(n,e,t,r){let o=n.index(r),i=n.node(r);if(o==e.index(r)&&r<n.depth-t.openStart){let s=Su(n,e,t,r+1);return i.copy(i.content.replaceChild(o,s))}else if(t.content.size)if(!t.openStart&&!t.openEnd&&n.depth==r&&e.depth==r){let s=n.parent,l=s.content;return or(s,l.cut(0,n.parentOffset).append(t.content).append(l.cut(e.parentOffset)))}else{let{start:s,end:l}=j6(t,n);return or(i,xu(n,s,l,e,r))}else return or(i,bi(n,e,r))}function ku(n,e){if(!e.type.compatibleContent(n.type))throw new Ei("Cannot join "+e.type.name+" onto "+n.type.name)}function Da(n,e,t){let r=n.node(t);return ku(r,e.node(t)),r}function rr(n,e){let t=e.length-1;t>=0&&n.isText&&n.sameMarkup(e[t])?e[t]=n.withText(e[t].text+n.text):e.push(n)}function Eo(n,e,t,r){let o=(e||n).node(t),i=0,s=e?e.index(t):o.childCount;n&&(i=n.index(t),n.depth>t?i++:n.textOffset&&(rr(n.nodeAfter,r),i++));for(let l=i;l<s;l++)rr(o.child(l),r);e&&e.depth==t&&e.textOffset&&rr(e.nodeBefore,r)}function or(n,e){return n.type.checkContent(e),n.copy(e)}function xu(n,e,t,r,o){let i=n.depth>o&&Da(n,e,o+1),s=r.depth>o&&Da(t,r,o+1),l=[];return Eo(null,n,o,l),i&&s&&e.index(o)==t.index(o)?(ku(i,s),rr(or(i,xu(n,e,t,r,o+1)),l)):(i&&rr(or(i,bi(n,e,o+1)),l),Eo(e,t,o,l),s&&rr(or(s,bi(t,r,o+1)),l)),Eo(r,null,o,l),new le(l)}function bi(n,e,t){let r=[];if(Eo(null,n,t,r),n.depth>t){let o=Da(n,e,t+1);rr(or(o,bi(n,e,t+1)),r)}return Eo(e,null,t,r),new le(r)}function j6(n,e){let t=e.depth-n.openStart,o=e.node(t).copy(n.content);for(let i=t-1;i>=0;i--)o=e.node(i).copy(le.from(o));return{start:o.resolveNoCache(n.openStart+t),end:o.resolveNoCache(o.content.size-n.openEnd-t)}}class bo{constructor(e,t,r){this.pos=e,this.path=t,this.parentOffset=r,this.depth=t.length/3-1}resolveDepth(e){return e==null?this.depth:e<0?this.depth+e:e}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(e){return this.path[this.resolveDepth(e)*3]}index(e){return this.path[this.resolveDepth(e)*3+1]}indexAfter(e){return e=this.resolveDepth(e),this.index(e)+(e==this.depth&&!this.textOffset?0:1)}start(e){return e=this.resolveDepth(e),e==0?0:this.path[e*3-1]+1}end(e){return e=this.resolveDepth(e),this.start(e)+this.node(e).content.size}before(e){if(e=this.resolveDepth(e),!e)throw new RangeError("There is no position before the top-level node");return e==this.depth+1?this.pos:this.path[e*3-1]}after(e){if(e=this.resolveDepth(e),!e)throw new RangeError("There is no position after the top-level node");return e==this.depth+1?this.pos:this.path[e*3-1]+this.path[e*3].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let e=this.parent,t=this.index(this.depth);if(t==e.childCount)return null;let r=this.pos-this.path[this.path.length-1],o=e.child(t);return r?e.child(t).cut(r):o}get nodeBefore(){let e=this.index(this.depth),t=this.pos-this.path[this.path.length-1];return t?this.parent.child(e).cut(0,t):e==0?null:this.parent.child(e-1)}posAtIndex(e,t){t=this.resolveDepth(t);let r=this.path[t*3],o=t==0?0:this.path[t*3-1]+1;for(let i=0;i<e;i++)o+=r.child(i).nodeSize;return o}marks(){let e=this.parent,t=this.index();if(e.content.size==0)return Fe.none;if(this.textOffset)return e.child(t).marks;let r=e.maybeChild(t-1),o=e.maybeChild(t);if(!r){let l=r;r=o,o=l}let i=r.marks;for(var s=0;s<i.length;s++)i[s].type.spec.inclusive===!1&&(!o||!i[s].isInSet(o.marks))&&(i=i[s--].removeFromSet(i));return i}marksAcross(e){let t=this.parent.maybeChild(this.index());if(!t||!t.isInline)return null;let r=t.marks,o=e.parent.maybeChild(e.index());for(var i=0;i<r.length;i++)r[i].type.spec.inclusive===!1&&(!o||!r[i].isInSet(o.marks))&&(r=r[i--].removeFromSet(r));return r}sharedDepth(e){for(let t=this.depth;t>0;t--)if(this.start(t)<=e&&this.end(t)>=e)return t;return 0}blockRange(e=this,t){if(e.pos<this.pos)return e.blockRange(this);for(let r=this.depth-(this.parent.inlineContent||this.pos==e.pos?1:0);r>=0;r--)if(e.pos<=this.end(r)&&(!t||t(this.node(r))))return new Ai(this,e,r);return null}sameParent(e){return this.pos-this.parentOffset==e.pos-e.parentOffset}max(e){return e.pos>this.pos?e:this}min(e){return e.pos<this.pos?e:this}toString(){let e="";for(let t=1;t<=this.depth;t++)e+=(e?"/":"")+this.node(t).type.name+"_"+this.index(t-1);return e+":"+this.parentOffset}static resolve(e,t){if(!(t>=0&&t<=e.content.size))throw new RangeError("Position "+t+" out of range");let r=[],o=0,i=t;for(let s=e;;){let{index:l,offset:a}=s.content.findIndex(i),d=i-a;if(r.push(s,l,o+a),!d||(s=s.child(l),s.isText))break;i=d-1,o+=a+1}return new bo(t,r,i)}static resolveCached(e,t){for(let o=0;o<Ba.length;o++){let i=Ba[o];if(i.pos==t&&i.doc==e)return i}let r=Ba[Ra]=bo.resolve(e,t);return Ra=(Ra+1)%W6,r}}let Ba=[],Ra=0,W6=12;class Ai{constructor(e,t,r){this.$from=e,this.$to=t,this.depth=r}get start(){return this.$from.before(this.depth+1)}get end(){return this.$to.after(this.depth+1)}get parent(){return this.$from.node(this.depth)}get startIndex(){return this.$from.index(this.depth)}get endIndex(){return this.$to.indexAfter(this.depth)}}const K6=Object.create(null);let ir=class Xc{constructor(e,t,r,o=Fe.none){this.type=e,this.attrs=t,this.marks=o,this.content=r||le.empty}get nodeSize(){return this.isLeaf?1:2+this.content.size}get childCount(){return this.content.childCount}child(e){return this.content.child(e)}maybeChild(e){return this.content.maybeChild(e)}forEach(e){this.content.forEach(e)}nodesBetween(e,t,r,o=0){this.content.nodesBetween(e,t,r,o,this)}descendants(e){this.nodesBetween(0,this.content.size,e)}get textContent(){return this.isLeaf&&this.type.spec.leafText?this.type.spec.leafText(this):this.textBetween(0,this.content.size,"")}textBetween(e,t,r,o){return this.content.textBetween(e,t,r,o)}get firstChild(){return this.content.firstChild}get lastChild(){return this.content.lastChild}eq(e){return this==e||this.sameMarkup(e)&&this.content.eq(e.content)}sameMarkup(e){return this.hasMarkup(e.type,e.attrs,e.marks)}hasMarkup(e,t,r){return this.type==e&&Ci(this.attrs,t||e.defaultAttrs||K6)&&Fe.sameSet(this.marks,r||Fe.none)}copy(e=null){return e==this.content?this:new Xc(this.type,this.attrs,e,this.marks)}mark(e){return e==this.marks?this:new Xc(this.type,this.attrs,this.content,e)}cut(e,t=this.content.size){return e==0&&t==this.content.size?this:this.copy(this.content.cut(e,t))}slice(e,t=this.content.size,r=!1){if(e==t)return ye.empty;let o=this.resolve(e),i=this.resolve(t),s=r?0:o.sharedDepth(t),l=o.start(s),d=o.node(s).content.cut(o.pos-l,i.pos-l);return new ye(d,o.depth-s,i.depth-s)}replace(e,t,r){return U6(this.resolve(e),this.resolve(t),r)}nodeAt(e){for(let t=this;;){let{index:r,offset:o}=t.content.findIndex(e);if(t=t.maybeChild(r),!t)return null;if(o==e||t.isText)return t;e-=o+1}}childAfter(e){let{index:t,offset:r}=this.content.findIndex(e);return{node:this.content.maybeChild(t),index:t,offset:r}}childBefore(e){if(e==0)return{node:null,index:0,offset:0};let{index:t,offset:r}=this.content.findIndex(e);if(r<e)return{node:this.content.child(t),index:t,offset:r};let o=this.content.child(t-1);return{node:o,index:t-1,offset:r-o.nodeSize}}resolve(e){return bo.resolveCached(this,e)}resolveNoCache(e){return bo.resolve(this,e)}rangeHasMark(e,t,r){let o=!1;return t>e&&this.nodesBetween(e,t,i=>(r.isInSet(i.marks)&&(o=!0),!o)),o}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let e=this.type.name;return this.content.size&&(e+="("+this.content.toStringInner()+")"),Tu(this.marks,e)}contentMatchAt(e){let t=this.type.contentMatch.matchFragment(this.content,0,e);if(!t)throw new Error("Called contentMatchAt on a node with invalid content");return t}canReplace(e,t,r=le.empty,o=0,i=r.childCount){let s=this.contentMatchAt(e).matchFragment(r,o,i),l=s&&s.matchFragment(this.content,t);if(!l||!l.validEnd)return!1;for(let a=o;a<i;a++)if(!this.type.allowsMarks(r.child(a).marks))return!1;return!0}canReplaceWith(e,t,r,o){if(o&&!this.type.allowsMarks(o))return!1;let i=this.contentMatchAt(e).matchType(r),s=i&&i.matchFragment(this.content,t);return s?s.validEnd:!1}canAppend(e){return e.content.size?this.canReplace(this.childCount,this.childCount,e.content):this.type.compatibleContent(e.type)}check(){this.type.checkContent(this.content);let e=Fe.none;for(let t=0;t<this.marks.length;t++)e=this.marks[t].addToSet(e);if(!Fe.sameSet(e,this.marks))throw new RangeError(`Invalid collection of marks for node ${this.type.name}: ${this.marks.map(t=>t.type.name)}`);this.content.forEach(t=>t.check())}toJSON(){let e={type:this.type.name};for(let t in this.attrs){e.attrs=this.attrs;break}return this.content.size&&(e.content=this.content.toJSON()),this.marks.length&&(e.marks=this.marks.map(t=>t.toJSON())),e}static fromJSON(e,t){if(!t)throw new RangeError("Invalid input for Node.fromJSON");let r=null;if(t.marks){if(!Array.isArray(t.marks))throw new RangeError("Invalid mark data for Node.fromJSON");r=t.marks.map(e.markFromJSON)}if(t.type=="text"){if(typeof t.text!="string")throw new RangeError("Invalid text node in JSON");return e.text(t.text,r)}let o=le.fromJSON(e,t.content);return e.nodeType(t.type).create(t.attrs,o,r)}};ir.prototype.text=void 0;class wi extends ir{constructor(e,t,r,o){if(super(e,t,null,o),!r)throw new RangeError("Empty text nodes are not allowed");this.text=r}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):Tu(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(e,t){return this.text.slice(e,t)}get nodeSize(){return this.text.length}mark(e){return e==this.marks?this:new wi(this.type,this.attrs,this.text,e)}withText(e){return e==this.text?this:new wi(this.type,this.attrs,e,this.marks)}cut(e=0,t=this.text.length){return e==0&&t==this.text.length?this:this.withText(this.text.slice(e,t))}eq(e){return this.sameMarkup(e)&&this.text==e.text}toJSON(){let e=super.toJSON();return e.text=this.text,e}}function Tu(n,e){for(let t=n.length-1;t>=0;t--)e=n[t].type.name+"("+e+")";return e}class sr{constructor(e){this.validEnd=e,this.next=[],this.wrapCache=[]}static parse(e,t){let r=new Q6(e,t);if(r.next==null)return sr.empty;let o=Mu(r);r.next&&r.err("Unexpected trailing text");let i=e4(q6(o));return t4(i,r),i}matchType(e){for(let t=0;t<this.next.length;t++)if(this.next[t].type==e)return this.next[t].next;return null}matchFragment(e,t=0,r=e.childCount){let o=this;for(let i=t;o&&i<r;i++)o=o.matchType(e.child(i).type);return o}get inlineContent(){return this.next.length!=0&&this.next[0].type.isInline}get defaultType(){for(let e=0;e<this.next.length;e++){let{type:t}=this.next[e];if(!(t.isText||t.hasRequiredAttrs()))return t}return null}compatible(e){for(let t=0;t<this.next.length;t++)for(let r=0;r<e.next.length;r++)if(this.next[t].type==e.next[r].type)return!0;return!1}fillBefore(e,t=!1,r=0){let o=[this];function i(s,l){let a=s.matchFragment(e,r);if(a&&(!t||a.validEnd))return le.from(l.map(d=>d.createAndFill()));for(let d=0;d<s.next.length;d++){let{type:u,next:f}=s.next[d];if(!(u.isText||u.hasRequiredAttrs())&&o.indexOf(f)==-1){o.push(f);let h=i(f,l.concat(u));if(h)return h}}return null}return i(this,[])}findWrapping(e){for(let r=0;r<this.wrapCache.length;r+=2)if(this.wrapCache[r]==e)return this.wrapCache[r+1];let t=this.computeWrapping(e);return this.wrapCache.push(e,t),t}computeWrapping(e){let t=Object.create(null),r=[{match:this,type:null,via:null}];for(;r.length;){let o=r.shift(),i=o.match;if(i.matchType(e)){let s=[];for(let l=o;l.type;l=l.via)s.push(l.type);return s.reverse()}for(let s=0;s<i.next.length;s++){let{type:l,next:a}=i.next[s];!l.isLeaf&&!l.hasRequiredAttrs()&&!(l.name in t)&&(!o.type||a.validEnd)&&(r.push({match:l.contentMatch,type:l,via:o}),t[l.name]=!0)}}return null}get edgeCount(){return this.next.length}edge(e){if(e>=this.next.length)throw new RangeError(`There's no ${e}th edge in this content match`);return this.next[e]}toString(){let e=[];function t(r){e.push(r);for(let o=0;o<r.next.length;o++)e.indexOf(r.next[o].next)==-1&&t(r.next[o].next)}return t(this),e.map((r,o)=>{let i=o+(r.validEnd?"*":" ")+" ";for(let s=0;s<r.next.length;s++)i+=(s?", ":"")+r.next[s].type.name+"->"+e.indexOf(r.next[s].next);return i}).join(`
|
|
63
|
-
`)}}sr.empty=new sr(!0);class Q6{constructor(e,t){this.string=e,this.nodeTypes=t,this.inline=null,this.pos=0,this.tokens=e.split(/\s*(?=\b|\W|$)/),this.tokens[this.tokens.length-1]==""&&this.tokens.pop(),this.tokens[0]==""&&this.tokens.shift()}get next(){return this.tokens[this.pos]}eat(e){return this.next==e&&(this.pos++||!0)}err(e){throw new SyntaxError(e+" (in content expression '"+this.string+"')")}}function Mu(n){let e=[];do e.push(Y6(n));while(n.eat("|"));return e.length==1?e[0]:{type:"choice",exprs:e}}function Y6(n){let e=[];do e.push(J6(n));while(n.next&&n.next!=")"&&n.next!="|");return e.length==1?e[0]:{type:"seq",exprs:e}}function J6(n){let e=X6(n);for(;;)if(n.eat("+"))e={type:"plus",expr:e};else if(n.eat("*"))e={type:"star",expr:e};else if(n.eat("?"))e={type:"opt",expr:e};else if(n.eat("{"))e=Z6(n,e);else break;return e}function Iu(n){/\D/.test(n.next)&&n.err("Expected number, got '"+n.next+"'");let e=Number(n.next);return n.pos++,e}function Z6(n,e){let t=Iu(n),r=t;return n.eat(",")&&(n.next!="}"?r=Iu(n):r=-1),n.eat("}")||n.err("Unclosed braced range"),{type:"range",min:t,max:r,expr:e}}function G6(n,e){let t=n.nodeTypes,r=t[e];if(r)return[r];let o=[];for(let i in t){let s=t[i];s.groups.indexOf(e)>-1&&o.push(s)}return o.length==0&&n.err("No node type or group '"+e+"' found"),o}function X6(n){if(n.eat("(")){let e=Mu(n);return n.eat(")")||n.err("Missing closing paren"),e}else if(/\W/.test(n.next))n.err("Unexpected token '"+n.next+"'");else{let e=G6(n,n.next).map(t=>(n.inline==null?n.inline=t.isInline:n.inline!=t.isInline&&n.err("Mixing inline and block content"),{type:"name",value:t}));return n.pos++,e.length==1?e[0]:{type:"choice",exprs:e}}}function q6(n){let e=[[]];return o(i(n,0),t()),e;function t(){return e.push([])-1}function r(s,l,a){let d={term:a,to:l};return e[s].push(d),d}function o(s,l){s.forEach(a=>a.to=l)}function i(s,l){if(s.type=="choice")return s.exprs.reduce((a,d)=>a.concat(i(d,l)),[]);if(s.type=="seq")for(let a=0;;a++){let d=i(s.exprs[a],l);if(a==s.exprs.length-1)return d;o(d,l=t())}else if(s.type=="star"){let a=t();return r(l,a),o(i(s.expr,a),a),[r(a)]}else if(s.type=="plus"){let a=t();return o(i(s.expr,l),a),o(i(s.expr,a),a),[r(a)]}else{if(s.type=="opt")return[r(l)].concat(i(s.expr,l));if(s.type=="range"){let a=l;for(let d=0;d<s.min;d++){let u=t();o(i(s.expr,a),u),a=u}if(s.max==-1)o(i(s.expr,a),a);else for(let d=s.min;d<s.max;d++){let u=t();r(a,u),o(i(s.expr,a),u),a=u}return[r(a)]}else{if(s.type=="name")return[r(l,void 0,s.value)];throw new Error("Unknown expr type")}}}}function Ou(n,e){return e-n}function _u(n,e){let t=[];return r(e),t.sort(Ou);function r(o){let i=n[o];if(i.length==1&&!i[0].term)return r(i[0].to);t.push(o);for(let s=0;s<i.length;s++){let{term:l,to:a}=i[s];!l&&t.indexOf(a)==-1&&r(a)}}}function e4(n){let e=Object.create(null);return t(_u(n,0));function t(r){let o=[];r.forEach(s=>{n[s].forEach(({term:l,to:a})=>{if(!l)return;let d;for(let u=0;u<o.length;u++)o[u][0]==l&&(d=o[u][1]);_u(n,a).forEach(u=>{d||o.push([l,d=[]]),d.indexOf(u)==-1&&d.push(u)})})});let i=e[r.join(",")]=new sr(r.indexOf(n.length-1)>-1);for(let s=0;s<o.length;s++){let l=o[s][1].sort(Ou);i.next.push({type:o[s][0],next:e[l.join(",")]||t(l)})}return i}}function t4(n,e){for(let t=0,r=[n];t<r.length;t++){let o=r[t],i=!o.validEnd,s=[];for(let l=0;l<o.next.length;l++){let{type:a,next:d}=o.next[l];s.push(a.name),i&&!(a.isText||a.hasRequiredAttrs())&&(i=!1),r.indexOf(d)==-1&&r.push(d)}i&&e.err("Only non-generatable nodes ("+s.join(", ")+") in a required position (see https://prosemirror.net/docs/guide/#generatable)")}}function Nu(n){let e=Object.create(null);for(let t in n){let r=n[t];if(!r.hasDefault)return null;e[t]=r.default}return e}function Lu(n,e){let t=Object.create(null);for(let r in n){let o=e&&e[r];if(o===void 0){let i=n[r];if(i.hasDefault)o=i.default;else throw new RangeError("No value supplied for attribute "+r)}t[r]=o}return t}function Du(n){let e=Object.create(null);if(n)for(let t in n)e[t]=new n4(n[t]);return e}let Bu=class Y0{constructor(e,t,r){this.name=e,this.schema=t,this.spec=r,this.markSet=null,this.groups=r.group?r.group.split(" "):[],this.attrs=Du(r.attrs),this.defaultAttrs=Nu(this.attrs),this.contentMatch=null,this.inlineContent=null,this.isBlock=!(r.inline||e=="text"),this.isText=e=="text"}get isInline(){return!this.isBlock}get isTextblock(){return this.isBlock&&this.inlineContent}get isLeaf(){return this.contentMatch==sr.empty}get isAtom(){return this.isLeaf||!!this.spec.atom}get whitespace(){return this.spec.whitespace||(this.spec.code?"pre":"normal")}hasRequiredAttrs(){for(let e in this.attrs)if(this.attrs[e].isRequired)return!0;return!1}compatibleContent(e){return this==e||this.contentMatch.compatible(e.contentMatch)}computeAttrs(e){return!e&&this.defaultAttrs?this.defaultAttrs:Lu(this.attrs,e)}create(e=null,t,r){if(this.isText)throw new Error("NodeType.create can't construct text nodes");return new ir(this,this.computeAttrs(e),le.from(t),Fe.setFrom(r))}createChecked(e=null,t,r){return t=le.from(t),this.checkContent(t),new ir(this,this.computeAttrs(e),t,Fe.setFrom(r))}createAndFill(e=null,t,r){if(e=this.computeAttrs(e),t=le.from(t),t.size){let s=this.contentMatch.fillBefore(t);if(!s)return null;t=s.append(t)}let o=this.contentMatch.matchFragment(t),i=o&&o.fillBefore(le.empty,!0);return i?new ir(this,e,t.append(i),Fe.setFrom(r)):null}validContent(e){let t=this.contentMatch.matchFragment(e);if(!t||!t.validEnd)return!1;for(let r=0;r<e.childCount;r++)if(!this.allowsMarks(e.child(r).marks))return!1;return!0}checkContent(e){if(!this.validContent(e))throw new RangeError(`Invalid content for node ${this.name}: ${e.toString().slice(0,50)}`)}allowsMarkType(e){return this.markSet==null||this.markSet.indexOf(e)>-1}allowsMarks(e){if(this.markSet==null)return!0;for(let t=0;t<e.length;t++)if(!this.allowsMarkType(e[t].type))return!1;return!0}allowedMarks(e){if(this.markSet==null)return e;let t;for(let r=0;r<e.length;r++)this.allowsMarkType(e[r].type)?t&&t.push(e[r]):t||(t=e.slice(0,r));return t?t.length?t:Fe.none:e}static compile(e,t){let r=Object.create(null);e.forEach((i,s)=>r[i]=new Y0(i,t,s));let o=t.spec.topNode||"doc";if(!r[o])throw new RangeError("Schema is missing its top node type ('"+o+"')");if(!r.text)throw new RangeError("Every schema needs a 'text' type");for(let i in r.text.attrs)throw new RangeError("The text node type should not have attributes");return r}};class n4{constructor(e){this.hasDefault=Object.prototype.hasOwnProperty.call(e,"default"),this.default=e.default}get isRequired(){return!this.hasDefault}}class Si{constructor(e,t,r,o){this.name=e,this.rank=t,this.schema=r,this.spec=o,this.attrs=Du(o.attrs),this.excluded=null;let i=Nu(this.attrs);this.instance=i?new Fe(this,i):null}create(e=null){return!e&&this.instance?this.instance:new Fe(this,Lu(this.attrs,e))}static compile(e,t){let r=Object.create(null),o=0;return e.forEach((i,s)=>r[i]=new Si(i,o++,t,s)),r}removeFromSet(e){for(var t=0;t<e.length;t++)e[t].type==this&&(e=e.slice(0,t).concat(e.slice(t+1)),t--);return e}isInSet(e){for(let t=0;t<e.length;t++)if(e[t].type==this)return e[t]}excludes(e){return this.excluded.indexOf(e)>-1}}class r4{constructor(e){this.cached=Object.create(null);let t=this.spec={};for(let o in e)t[o]=e[o];t.nodes=et.from(e.nodes),t.marks=et.from(e.marks||{}),this.nodes=Bu.compile(this.spec.nodes,this),this.marks=Si.compile(this.spec.marks,this);let r=Object.create(null);for(let o in this.nodes){if(o in this.marks)throw new RangeError(o+" can not be both a node and a mark");let i=this.nodes[o],s=i.spec.content||"",l=i.spec.marks;i.contentMatch=r[s]||(r[s]=sr.parse(s,this.nodes)),i.inlineContent=i.contentMatch.inlineContent,i.markSet=l=="_"?null:l?Ru(this,l.split(" ")):l==""||!i.inlineContent?[]:null}for(let o in this.marks){let i=this.marks[o],s=i.spec.excludes;i.excluded=s==null?[i]:s==""?[]:Ru(this,s.split(" "))}this.nodeFromJSON=this.nodeFromJSON.bind(this),this.markFromJSON=this.markFromJSON.bind(this),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached.wrappings=Object.create(null)}node(e,t=null,r,o){if(typeof e=="string")e=this.nodeType(e);else if(e instanceof Bu){if(e.schema!=this)throw new RangeError("Node type from different schema used ("+e.name+")")}else throw new RangeError("Invalid node type: "+e);return e.createChecked(t,r,o)}text(e,t){let r=this.nodes.text;return new wi(r,r.defaultAttrs,e,Fe.setFrom(t))}mark(e,t){return typeof e=="string"&&(e=this.marks[e]),e.create(t)}nodeFromJSON(e){return ir.fromJSON(this,e)}markFromJSON(e){return Fe.fromJSON(this,e)}nodeType(e){let t=this.nodes[e];if(!t)throw new RangeError("Unknown node type: "+e);return t}}function Ru(n,e){let t=[];for(let r=0;r<e.length;r++){let o=e[r],i=n.marks[o],s=i;if(i)t.push(i);else for(let l in n.marks){let a=n.marks[l];(o=="_"||a.spec.group&&a.spec.group.split(" ").indexOf(o)>-1)&&t.push(s=a)}if(!s)throw new SyntaxError("Unknown mark type: '"+e[r]+"'")}return t}class Or{constructor(e,t){this.schema=e,this.rules=t,this.tags=[],this.styles=[],t.forEach(r=>{r.tag?this.tags.push(r):r.style&&this.styles.push(r)}),this.normalizeLists=!this.tags.some(r=>{if(!/^(ul|ol)\b/.test(r.tag)||!r.node)return!1;let o=e.nodes[r.node];return o.contentMatch.matchType(o)})}parse(e,t={}){let r=new $u(this,t,!1);return r.addAll(e,t.from,t.to),r.finish()}parseSlice(e,t={}){let r=new $u(this,t,!0);return r.addAll(e,t.from,t.to),ye.maxOpen(r.finish())}matchTag(e,t,r){for(let o=r?this.tags.indexOf(r)+1:0;o<this.tags.length;o++){let i=this.tags[o];if(s4(e,i.tag)&&(i.namespace===void 0||e.namespaceURI==i.namespace)&&(!i.context||t.matchesContext(i.context))){if(i.getAttrs){let s=i.getAttrs(e);if(s===!1)continue;i.attrs=s||void 0}return i}}}matchStyle(e,t,r,o){for(let i=o?this.styles.indexOf(o)+1:0;i<this.styles.length;i++){let s=this.styles[i],l=s.style;if(!(l.indexOf(e)!=0||s.context&&!r.matchesContext(s.context)||l.length>e.length&&(l.charCodeAt(e.length)!=61||l.slice(e.length+1)!=t))){if(s.getAttrs){let a=s.getAttrs(t);if(a===!1)continue;s.attrs=a||void 0}return s}}}static schemaRules(e){let t=[];function r(o){let i=o.priority==null?50:o.priority,s=0;for(;s<t.length;s++){let l=t[s];if((l.priority==null?50:l.priority)<i)break}t.splice(s,0,o)}for(let o in e.marks){let i=e.marks[o].spec.parseDOM;i&&i.forEach(s=>{r(s=zu(s)),s.mark||s.ignore||s.clearMark||(s.mark=o)})}for(let o in e.nodes){let i=e.nodes[o].spec.parseDOM;i&&i.forEach(s=>{r(s=zu(s)),s.node||s.ignore||s.mark||(s.node=o)})}return t}static fromSchema(e){return e.cached.domParser||(e.cached.domParser=new Or(e,Or.schemaRules(e)))}}const Pu={address:!0,article:!0,aside:!0,blockquote:!0,canvas:!0,dd:!0,div:!0,dl:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,li:!0,noscript:!0,ol:!0,output:!0,p:!0,pre:!0,section:!0,table:!0,tfoot:!0,ul:!0},o4={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},Fu={ol:!0,ul:!0},ki=1,xi=2,Ao=4;function Vu(n,e,t){return e!=null?(e?ki:0)|(e==="full"?xi:0):n&&n.whitespace=="pre"?ki|xi:t&~Ao}class Ti{constructor(e,t,r,o,i,s,l){this.type=e,this.attrs=t,this.marks=r,this.pendingMarks=o,this.solid=i,this.options=l,this.content=[],this.activeMarks=Fe.none,this.stashMarks=[],this.match=s||(l&Ao?null:e.contentMatch)}findWrapping(e){if(!this.match){if(!this.type)return[];let t=this.type.contentMatch.fillBefore(le.from(e));if(t)this.match=this.type.contentMatch.matchFragment(t);else{let r=this.type.contentMatch,o;return(o=r.findWrapping(e.type))?(this.match=r,o):null}}return this.match.findWrapping(e.type)}finish(e){if(!(this.options&ki)){let r=this.content[this.content.length-1],o;if(r&&r.isText&&(o=/[ \t\r\n\u000c]+$/.exec(r.text))){let i=r;r.text.length==o[0].length?this.content.pop():this.content[this.content.length-1]=i.withText(i.text.slice(0,i.text.length-o[0].length))}}let t=le.from(this.content);return!e&&this.match&&(t=t.append(this.match.fillBefore(le.empty,!0))),this.type?this.type.create(this.attrs,t,this.marks):t}popFromStashMark(e){for(let t=this.stashMarks.length-1;t>=0;t--)if(e.eq(this.stashMarks[t]))return this.stashMarks.splice(t,1)[0]}applyPending(e){for(let t=0,r=this.pendingMarks;t<r.length;t++){let o=r[t];(this.type?this.type.allowsMarkType(o.type):l4(o.type,e))&&!o.isInSet(this.activeMarks)&&(this.activeMarks=o.addToSet(this.activeMarks),this.pendingMarks=o.removeFromSet(this.pendingMarks))}}inlineContext(e){return this.type?this.type.inlineContent:this.content.length?this.content[0].isInline:e.parentNode&&!Pu.hasOwnProperty(e.parentNode.nodeName.toLowerCase())}}class $u{constructor(e,t,r){this.parser=e,this.options=t,this.isOpen=r,this.open=0;let o=t.topNode,i,s=Vu(null,t.preserveWhitespace,0)|(r?Ao:0);o?i=new Ti(o.type,o.attrs,Fe.none,Fe.none,!0,t.topMatch||o.type.contentMatch,s):r?i=new Ti(null,null,Fe.none,Fe.none,!0,null,s):i=new Ti(e.schema.topNodeType,null,Fe.none,Fe.none,!0,null,s),this.nodes=[i],this.find=t.findPositions,this.needsBlock=!1}get top(){return this.nodes[this.open]}addDOM(e){e.nodeType==3?this.addTextNode(e):e.nodeType==1&&this.addElement(e)}withStyleRules(e,t){let r=e.getAttribute("style");if(!r)return t();let o=this.readStyles(a4(r));if(!o)return;let[i,s]=o,l=this.top;for(let a=0;a<s.length;a++)this.removePendingMark(s[a],l);for(let a=0;a<i.length;a++)this.addPendingMark(i[a]);t();for(let a=0;a<i.length;a++)this.removePendingMark(i[a],l);for(let a=0;a<s.length;a++)this.addPendingMark(s[a])}addTextNode(e){let t=e.nodeValue,r=this.top;if(r.options&xi||r.inlineContext(e)||/[^ \t\r\n\u000c]/.test(t)){if(r.options&ki)r.options&xi?t=t.replace(/\r\n?/g,`
|
|
64
|
-
`):t=t.replace(/\r?\n|\r/g," ");else if(t=t.replace(/[ \t\r\n\u000c]+/g," "),/^[ \t\r\n\u000c]/.test(t)&&this.open==this.nodes.length-1){let o=r.content[r.content.length-1],i=e.previousSibling;(!o||i&&i.nodeName=="BR"||o.isText&&/[ \t\r\n\u000c]$/.test(o.text))&&(t=t.slice(1))}t&&this.insertNode(this.parser.schema.text(t)),this.findInText(e)}else this.findInside(e)}addElement(e,t){let r=e.nodeName.toLowerCase(),o;Fu.hasOwnProperty(r)&&this.parser.normalizeLists&&
|
|
65
|
-
`))}ignoreFallback(e){e.nodeName=="BR"&&(!this.top.type||!this.top.type.inlineContent)&&this.findPlace(this.parser.schema.text("-"))}readStyles(e){let t=Fe.none,r=Fe.none;for(let o=0;o<e.length;o+=2)for(let i=void 0;;){let s=this.parser.matchStyle(e[o],e[o+1],this,i);if(!s)break;if(s.ignore)return null;if(s.clearMark?this.top.pendingMarks.concat(this.top.activeMarks).forEach(l=>{s.clearMark(l)&&(r=l.addToSet(r))}):t=this.parser.schema.marks[s.mark].create(s.attrs).addToSet(t),s.consuming===!1)i=s;else break}return[t,r]}addElementByRule(e,t,r){let o,i,s;t.node?(i=this.parser.schema.nodes[t.node],i.isLeaf?this.insertNode(i.create(t.attrs))||this.leafFallback(e):o=this.enter(i,t.attrs||null,t.preserveWhitespace)):(s=this.parser.schema.marks[t.mark].create(t.attrs),this.addPendingMark(s));let l=this.top;if(i&&i.isLeaf)this.findInside(e);else if(r)this.addElement(e,r);else if(t.getContent)this.findInside(e),t.getContent(e,this.parser.schema).forEach(a=>this.insertNode(a));else{let a=e;typeof t.contentElement=="string"?a=e.querySelector(t.contentElement):typeof t.contentElement=="function"?a=t.contentElement(e):t.contentElement&&(a=t.contentElement),this.findAround(e,a,!0),this.addAll(a)}o&&this.sync(l)&&this.open--,s&&this.removePendingMark(s,l)}addAll(e,t,r){let o=t||0;for(let i=t?e.childNodes[t]:e.firstChild,s=r==null?null:e.childNodes[r];i!=s;i=i.nextSibling,++o)this.findAtPoint(e,o),this.addDOM(i);this.findAtPoint(e,o)}findPlace(e){let t,r;for(let o=this.open;o>=0;o--){let i=this.nodes[o],s=i.findWrapping(e);if(s&&(!t||t.length>s.length)&&(t=s,r=i,!s.length)||i.solid)break}if(!t)return!1;this.sync(r);for(let o=0;o<t.length;o++)this.enterInner(t[o],null,!1);return!0}insertNode(e){if(e.isInline&&this.needsBlock&&!this.top.type){let t=this.textblockFromContext();t&&this.enterInner(t)}if(this.findPlace(e)){this.closeExtra();let t=this.top;t.applyPending(e.type),t.match&&(t.match=t.match.matchType(e.type));let r=t.activeMarks;for(let o=0;o<e.marks.length;o++)(!t.type||t.type.allowsMarkType(e.marks[o].type))&&(r=e.marks[o].addToSet(r));return t.content.push(e.mark(r)),!0}return!1}enter(e,t,r){let o=this.findPlace(e.create(t));return o&&this.enterInner(e,t,!0,r),o}enterInner(e,t=null,r=!1,o){this.closeExtra();let i=this.top;i.applyPending(e),i.match=i.match&&i.match.matchType(e);let s=Vu(e,o,i.options);i.options&Ao&&i.content.length==0&&(s|=Ao),this.nodes.push(new Ti(e,t,i.activeMarks,i.pendingMarks,r,null,s)),this.open++}closeExtra(e=!1){let t=this.nodes.length-1;if(t>this.open){for(;t>this.open;t--)this.nodes[t-1].content.push(this.nodes[t].finish(e));this.nodes.length=this.open+1}}finish(){return this.open=0,this.closeExtra(this.isOpen),this.nodes[0].finish(this.isOpen||this.options.topOpen)}sync(e){for(let t=this.open;t>=0;t--)if(this.nodes[t]==e)return this.open=t,!0;return!1}get currentPos(){this.closeExtra();let e=0;for(let t=this.open;t>=0;t--){let r=this.nodes[t].content;for(let o=r.length-1;o>=0;o--)e+=r[o].nodeSize;t&&e++}return e}findAtPoint(e,t){if(this.find)for(let r=0;r<this.find.length;r++)this.find[r].node==e&&this.find[r].offset==t&&(this.find[r].pos=this.currentPos)}findInside(e){if(this.find)for(let t=0;t<this.find.length;t++)this.find[t].pos==null&&e.nodeType==1&&e.contains(this.find[t].node)&&(this.find[t].pos=this.currentPos)}findAround(e,t,r){if(e!=t&&this.find)for(let o=0;o<this.find.length;o++)this.find[o].pos==null&&e.nodeType==1&&e.contains(this.find[o].node)&&t.compareDocumentPosition(this.find[o].node)&(r?2:4)&&(this.find[o].pos=this.currentPos)}findInText(e){if(this.find)for(let t=0;t<this.find.length;t++)this.find[t].node==e&&(this.find[t].pos=this.currentPos-(e.nodeValue.length-this.find[t].offset))}matchesContext(e){if(e.indexOf("|")>-1)return e.split(/\s*\|\s*/).some(this.matchesContext,this);let t=e.split("/"),r=this.options.context,o=!this.isOpen&&(!r||r.parent.type==this.nodes[0].type),i=-(r?r.depth+1:0)+(o?0:1),s=(l,a)=>{for(;l>=0;l--){let d=t[l];if(d==""){if(l==t.length-1||l==0)continue;for(;a>=i;a--)if(s(l-1,a))return!0;return!1}else{let u=a>0||a==0&&o?this.nodes[a].type:r&&a>=i?r.node(a-i).type:null;if(!u||u.name!=d&&u.groups.indexOf(d)==-1)return!1;a--}}return!0};return s(t.length-1,this.open)}textblockFromContext(){let e=this.options.context;if(e)for(let t=e.depth;t>=0;t--){let r=e.node(t).contentMatchAt(e.indexAfter(t)).defaultType;if(r&&r.isTextblock&&r.defaultAttrs)return r}for(let t in this.parser.schema.nodes){let r=this.parser.schema.nodes[t];if(r.isTextblock&&r.defaultAttrs)return r}}addPendingMark(e){let t=c4(e,this.top.pendingMarks);t&&this.top.stashMarks.push(t),this.top.pendingMarks=e.addToSet(this.top.pendingMarks)}removePendingMark(e,t){for(let r=this.open;r>=0;r--){let o=this.nodes[r];if(o.pendingMarks.lastIndexOf(e)>-1)o.pendingMarks=e.removeFromSet(o.pendingMarks);else{o.activeMarks=e.removeFromSet(o.activeMarks);let s=o.popFromStashMark(e);s&&o.type&&o.type.allowsMarkType(s.type)&&(o.activeMarks=s.addToSet(o.activeMarks))}if(o==t)break}}}function i4(n){for(let e=n.firstChild,t=null;e;e=e.nextSibling){let r=e.nodeType==1?e.nodeName.toLowerCase():null;r&&Fu.hasOwnProperty(r)&&t?(t.appendChild(e),e=t):r=="li"?t=e:r&&(t=null)}}function s4(n,e){return(n.matches||n.msMatchesSelector||n.webkitMatchesSelector||n.mozMatchesSelector).call(n,e)}function a4(n){let e=/\s*([\w-]+)\s*:\s*([^;]+)/g,t,r=[];for(;t=e.exec(n);)r.push(t[1],t[2].trim());return r}function zu(n){let e={};for(let t in n)e[t]=n[t];return e}function l4(n,e){let t=e.schema.nodes;for(let r in t){let o=t[r];if(!o.allowsMarkType(n))continue;let i=[],s=l=>{i.push(l);for(let a=0;a<l.edgeCount;a++){let{type:d,next:u}=l.edge(a);if(d==e||i.indexOf(u)<0&&s(u))return!0}};if(s(o.contentMatch))return!0}}function c4(n,e){for(let t=0;t<e.length;t++)if(n.eq(e[t]))return e[t]}class Zt{constructor(e,t){this.nodes=e,this.marks=t}serializeFragment(e,t={},r){r||(r=Pa(t).createDocumentFragment());let o=r,i=[];return e.forEach(s=>{if(i.length||s.marks.length){let l=0,a=0;for(;l<i.length&&a<s.marks.length;){let d=s.marks[a];if(!this.marks[d.type.name]){a++;continue}if(!d.eq(i[l][0])||d.type.spec.spanning===!1)break;l++,a++}for(;l<i.length;)o=i.pop()[1];for(;a<s.marks.length;){let d=s.marks[a++],u=this.serializeMark(d,s.isInline,t);u&&(i.push([d,o]),o.appendChild(u.dom),o=u.contentDOM||u.dom)}}o.appendChild(this.serializeNodeInner(s,t))}),r}serializeNodeInner(e,t){let{dom:r,contentDOM:o}=Zt.renderSpec(Pa(t),this.nodes[e.type.name](e));if(o){if(e.isLeaf)throw new RangeError("Content hole not allowed in a leaf node spec");this.serializeFragment(e.content,t,o)}return r}serializeNode(e,t={}){let r=this.serializeNodeInner(e,t);for(let o=e.marks.length-1;o>=0;o--){let i=this.serializeMark(e.marks[o],e.isInline,t);i&&((i.contentDOM||i.dom).appendChild(r),r=i.dom)}return r}serializeMark(e,t,r={}){let o=this.marks[e.type.name];return o&&Zt.renderSpec(Pa(r),o(e,t))}static renderSpec(e,t,r=null){if(typeof t=="string")return{dom:e.createTextNode(t)};if(t.nodeType!=null)return{dom:t};if(t.dom&&t.dom.nodeType!=null)return t;let o=t[0],i=o.indexOf(" ");i>0&&(r=o.slice(0,i),o=o.slice(i+1));let s,l=r?e.createElementNS(r,o):e.createElement(o),a=t[1],d=1;if(a&&typeof a=="object"&&a.nodeType==null&&!Array.isArray(a)){d=2;for(let u in a)if(a[u]!=null){let f=u.indexOf(" ");f>0?l.setAttributeNS(u.slice(0,f),u.slice(f+1),a[u]):l.setAttribute(u,a[u])}}for(let u=d;u<t.length;u++){let f=t[u];if(f===0){if(u<t.length-1||u>d)throw new RangeError("Content hole must be the only child of its parent node");return{dom:l,contentDOM:l}}else{let{dom:h,contentDOM:p}=Zt.renderSpec(e,f,r);if(l.appendChild(h),p){if(s)throw new RangeError("Multiple content holes");s=p}}}return{dom:l,contentDOM:s}}static fromSchema(e){return e.cached.domSerializer||(e.cached.domSerializer=new Zt(this.nodesFromSchema(e),this.marksFromSchema(e)))}static nodesFromSchema(e){let t=Hu(e.nodes);return t.text||(t.text=r=>r.text),t}static marksFromSchema(e){return Hu(e.marks)}}function Hu(n){let e={};for(let t in n){let r=n[t].spec.toDOM;r&&(e[t]=r)}return e}function Pa(n){return n.document||window.document}const Uu=65535,ju=Math.pow(2,16);function d4(n,e){return n+e*ju}function Wu(n){return n&Uu}function u4(n){return(n-(n&Uu))/ju}const Ku=1,Qu=2,Mi=4,Yu=8;class Fa{constructor(e,t,r){this.pos=e,this.delInfo=t,this.recover=r}get deleted(){return(this.delInfo&Yu)>0}get deletedBefore(){return(this.delInfo&(Ku|Mi))>0}get deletedAfter(){return(this.delInfo&(Qu|Mi))>0}get deletedAcross(){return(this.delInfo&Mi)>0}}class wt{constructor(e,t=!1){if(this.ranges=e,this.inverted=t,!e.length&&wt.empty)return wt.empty}recover(e){let t=0,r=Wu(e);if(!this.inverted)for(let o=0;o<r;o++)t+=this.ranges[o*3+2]-this.ranges[o*3+1];return this.ranges[r*3]+t+u4(e)}mapResult(e,t=1){return this._map(e,t,!1)}map(e,t=1){return this._map(e,t,!0)}_map(e,t,r){let o=0,i=this.inverted?2:1,s=this.inverted?1:2;for(let l=0;l<this.ranges.length;l+=3){let a=this.ranges[l]-(this.inverted?o:0);if(a>e)break;let d=this.ranges[l+i],u=this.ranges[l+s],f=a+d;if(e<=f){let h=d?e==a?-1:e==f?1:t:t,p=a+o+(h<0?0:u);if(r)return p;let m=e==(t<0?a:f)?null:d4(l/3,e-a),g=e==a?Qu:e==f?Ku:Mi;return(t<0?e!=a:e!=f)&&(g|=Yu),new Fa(p,g,m)}o+=u-d}return r?e+o:new Fa(e+o,0,null)}touches(e,t){let r=0,o=Wu(t),i=this.inverted?2:1,s=this.inverted?1:2;for(let l=0;l<this.ranges.length;l+=3){let a=this.ranges[l]-(this.inverted?r:0);if(a>e)break;let d=this.ranges[l+i],u=a+d;if(e<=u&&l==o*3)return!0;r+=this.ranges[l+s]-d}return!1}forEach(e){let t=this.inverted?2:1,r=this.inverted?1:2;for(let o=0,i=0;o<this.ranges.length;o+=3){let s=this.ranges[o],l=s-(this.inverted?i:0),a=s+(this.inverted?0:i),d=this.ranges[o+t],u=this.ranges[o+r];e(l,l+d,a,a+u),i+=u-d}}invert(){return new wt(this.ranges,!this.inverted)}toString(){return(this.inverted?"-":"")+JSON.stringify(this.ranges)}static offset(e){return e==0?wt.empty:new wt(e<0?[0,-e,0]:[0,0,e])}}wt.empty=new wt([]);class wo{constructor(e=[],t,r=0,o=e.length){this.maps=e,this.mirror=t,this.from=r,this.to=o}slice(e=0,t=this.maps.length){return new wo(this.maps,this.mirror,e,t)}copy(){return new wo(this.maps.slice(),this.mirror&&this.mirror.slice(),this.from,this.to)}appendMap(e,t){this.to=this.maps.push(e),t!=null&&this.setMirror(this.maps.length-1,t)}appendMapping(e){for(let t=0,r=this.maps.length;t<e.maps.length;t++){let o=e.getMirror(t);this.appendMap(e.maps[t],o!=null&&o<t?r+o:void 0)}}getMirror(e){if(this.mirror){for(let t=0;t<this.mirror.length;t++)if(this.mirror[t]==e)return this.mirror[t+(t%2?-1:1)]}}setMirror(e,t){this.mirror||(this.mirror=[]),this.mirror.push(e,t)}appendMappingInverted(e){for(let t=e.maps.length-1,r=this.maps.length+e.maps.length;t>=0;t--){let o=e.getMirror(t);this.appendMap(e.maps[t].invert(),o!=null&&o>t?r-o-1:void 0)}}invert(){let e=new wo;return e.appendMappingInverted(this),e}map(e,t=1){if(this.mirror)return this._map(e,t,!0);for(let r=this.from;r<this.to;r++)e=this.maps[r].map(e,t);return e}mapResult(e,t=1){return this._map(e,t,!1)}_map(e,t,r){let o=0;for(let i=this.from;i<this.to;i++){let s=this.maps[i],l=s.mapResult(e,t);if(l.recover!=null){let a=this.getMirror(i);if(a!=null&&a>i&&a<this.to){i=a,e=this.maps[a].recover(l.recover);continue}}o|=l.delInfo,e=l.pos}return r?e:new Fa(e,o,null)}}const Va=Object.create(null);class ot{getMap(){return wt.empty}merge(e){return null}static fromJSON(e,t){if(!t||!t.stepType)throw new RangeError("Invalid input for Step.fromJSON");let r=Va[t.stepType];if(!r)throw new RangeError(`No step type ${t.stepType} defined`);return r.fromJSON(e,t)}static jsonID(e,t){if(e in Va)throw new RangeError("Duplicate use of step JSON ID "+e);return Va[e]=t,t.prototype.jsonID=e,t}}class Qe{constructor(e,t){this.doc=e,this.failed=t}static ok(e){return new Qe(e,null)}static fail(e){return new Qe(null,e)}static fromReplace(e,t,r,o){try{return Qe.ok(e.replace(t,r,o))}catch(i){if(i instanceof Ei)return Qe.fail(i.message);throw i}}}function $a(n,e,t){let r=[];for(let o=0;o<n.childCount;o++){let i=n.child(o);i.content.size&&(i=i.copy($a(i.content,e,i))),i.isInline&&(i=e(i,t,o)),r.push(i)}return le.fromArray(r)}class wn extends ot{constructor(e,t,r){super(),this.from=e,this.to=t,this.mark=r}apply(e){let t=e.slice(this.from,this.to),r=e.resolve(this.from),o=r.node(r.sharedDepth(this.to)),i=new ye($a(t.content,(s,l)=>!s.isAtom||!l.type.allowsMarkType(this.mark.type)?s:s.mark(this.mark.addToSet(s.marks)),o),t.openStart,t.openEnd);return Qe.fromReplace(e,this.from,this.to,i)}invert(){return new Gt(this.from,this.to,this.mark)}map(e){let t=e.mapResult(this.from,1),r=e.mapResult(this.to,-1);return t.deleted&&r.deleted||t.pos>=r.pos?null:new wn(t.pos,r.pos,this.mark)}merge(e){return e instanceof wn&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new wn(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"addMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,t){if(typeof t.from!="number"||typeof t.to!="number")throw new RangeError("Invalid input for AddMarkStep.fromJSON");return new wn(t.from,t.to,e.markFromJSON(t.mark))}}ot.jsonID("addMark",wn);class Gt extends ot{constructor(e,t,r){super(),this.from=e,this.to=t,this.mark=r}apply(e){let t=e.slice(this.from,this.to),r=new ye($a(t.content,o=>o.mark(this.mark.removeFromSet(o.marks)),e),t.openStart,t.openEnd);return Qe.fromReplace(e,this.from,this.to,r)}invert(){return new wn(this.from,this.to,this.mark)}map(e){let t=e.mapResult(this.from,1),r=e.mapResult(this.to,-1);return t.deleted&&r.deleted||t.pos>=r.pos?null:new Gt(t.pos,r.pos,this.mark)}merge(e){return e instanceof Gt&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new Gt(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"removeMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,t){if(typeof t.from!="number"||typeof t.to!="number")throw new RangeError("Invalid input for RemoveMarkStep.fromJSON");return new Gt(t.from,t.to,e.markFromJSON(t.mark))}}ot.jsonID("removeMark",Gt);class Sn extends ot{constructor(e,t){super(),this.pos=e,this.mark=t}apply(e){let t=e.nodeAt(this.pos);if(!t)return Qe.fail("No node at mark step's position");let r=t.type.create(t.attrs,null,this.mark.addToSet(t.marks));return Qe.fromReplace(e,this.pos,this.pos+1,new ye(le.from(r),0,t.isLeaf?0:1))}invert(e){let t=e.nodeAt(this.pos);if(t){let r=this.mark.addToSet(t.marks);if(r.length==t.marks.length){for(let o=0;o<t.marks.length;o++)if(!t.marks[o].isInSet(r))return new Sn(this.pos,t.marks[o]);return new Sn(this.pos,this.mark)}}return new _r(this.pos,this.mark)}map(e){let t=e.mapResult(this.pos,1);return t.deletedAfter?null:new Sn(t.pos,this.mark)}toJSON(){return{stepType:"addNodeMark",pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(e,t){if(typeof t.pos!="number")throw new RangeError("Invalid input for AddNodeMarkStep.fromJSON");return new Sn(t.pos,e.markFromJSON(t.mark))}}ot.jsonID("addNodeMark",Sn);class _r extends ot{constructor(e,t){super(),this.pos=e,this.mark=t}apply(e){let t=e.nodeAt(this.pos);if(!t)return Qe.fail("No node at mark step's position");let r=t.type.create(t.attrs,null,this.mark.removeFromSet(t.marks));return Qe.fromReplace(e,this.pos,this.pos+1,new ye(le.from(r),0,t.isLeaf?0:1))}invert(e){let t=e.nodeAt(this.pos);return!t||!this.mark.isInSet(t.marks)?this:new Sn(this.pos,this.mark)}map(e){let t=e.mapResult(this.pos,1);return t.deletedAfter?null:new _r(t.pos,this.mark)}toJSON(){return{stepType:"removeNodeMark",pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(e,t){if(typeof t.pos!="number")throw new RangeError("Invalid input for RemoveNodeMarkStep.fromJSON");return new _r(t.pos,e.markFromJSON(t.mark))}}ot.jsonID("removeNodeMark",_r);class tt extends ot{constructor(e,t,r,o=!1){super(),this.from=e,this.to=t,this.slice=r,this.structure=o}apply(e){return this.structure&&za(e,this.from,this.to)?Qe.fail("Structure replace would overwrite content"):Qe.fromReplace(e,this.from,this.to,this.slice)}getMap(){return new wt([this.from,this.to-this.from,this.slice.size])}invert(e){return new tt(this.from,this.from+this.slice.size,e.slice(this.from,this.to))}map(e){let t=e.mapResult(this.from,1),r=e.mapResult(this.to,-1);return t.deletedAcross&&r.deletedAcross?null:new tt(t.pos,Math.max(t.pos,r.pos),this.slice)}merge(e){if(!(e instanceof tt)||e.structure||this.structure)return null;if(this.from+this.slice.size==e.from&&!this.slice.openEnd&&!e.slice.openStart){let t=this.slice.size+e.slice.size==0?ye.empty:new ye(this.slice.content.append(e.slice.content),this.slice.openStart,e.slice.openEnd);return new tt(this.from,this.to+(e.to-e.from),t,this.structure)}else if(e.to==this.from&&!this.slice.openStart&&!e.slice.openEnd){let t=this.slice.size+e.slice.size==0?ye.empty:new ye(e.slice.content.append(this.slice.content),e.slice.openStart,this.slice.openEnd);return new tt(e.from,this.to,t,this.structure)}else return null}toJSON(){let e={stepType:"replace",from:this.from,to:this.to};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}static fromJSON(e,t){if(typeof t.from!="number"||typeof t.to!="number")throw new RangeError("Invalid input for ReplaceStep.fromJSON");return new tt(t.from,t.to,ye.fromJSON(e,t.slice),!!t.structure)}}ot.jsonID("replace",tt);class Ge extends ot{constructor(e,t,r,o,i,s,l=!1){super(),this.from=e,this.to=t,this.gapFrom=r,this.gapTo=o,this.slice=i,this.insert=s,this.structure=l}apply(e){if(this.structure&&(za(e,this.from,this.gapFrom)||za(e,this.gapTo,this.to)))return Qe.fail("Structure gap-replace would overwrite content");let t=e.slice(this.gapFrom,this.gapTo);if(t.openStart||t.openEnd)return Qe.fail("Gap is not a flat range");let r=this.slice.insertAt(this.insert,t.content);return r?Qe.fromReplace(e,this.from,this.to,r):Qe.fail("Content does not fit in gap")}getMap(){return new wt([this.from,this.gapFrom-this.from,this.insert,this.gapTo,this.to-this.gapTo,this.slice.size-this.insert])}invert(e){let t=this.gapTo-this.gapFrom;return new Ge(this.from,this.from+this.slice.size+t,this.from+this.insert,this.from+this.insert+t,e.slice(this.from,this.to).removeBetween(this.gapFrom-this.from,this.gapTo-this.from),this.gapFrom-this.from,this.structure)}map(e){let t=e.mapResult(this.from,1),r=e.mapResult(this.to,-1),o=e.map(this.gapFrom,-1),i=e.map(this.gapTo,1);return t.deletedAcross&&r.deletedAcross||o<t.pos||i>r.pos?null:new Ge(t.pos,r.pos,o,i,this.slice,this.insert,this.structure)}toJSON(){let e={stepType:"replaceAround",from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}static fromJSON(e,t){if(typeof t.from!="number"||typeof t.to!="number"||typeof t.gapFrom!="number"||typeof t.gapTo!="number"||typeof t.insert!="number")throw new RangeError("Invalid input for ReplaceAroundStep.fromJSON");return new Ge(t.from,t.to,t.gapFrom,t.gapTo,ye.fromJSON(e,t.slice),t.insert,!!t.structure)}}ot.jsonID("replaceAround",Ge);function za(n,e,t){let r=n.resolve(e),o=t-e,i=r.depth;for(;o>0&&i>0&&r.indexAfter(i)==r.node(i).childCount;)i--,o--;if(o>0){let s=r.node(i).maybeChild(r.indexAfter(i));for(;o>0;){if(!s||s.isLeaf)return!0;s=s.firstChild,o--}}return!1}function f4(n,e,t,r){let o=[],i=[],s,l;n.doc.nodesBetween(e,t,(a,d,u)=>{if(!a.isInline)return;let f=a.marks;if(!r.isInSet(f)&&u.type.allowsMarkType(r.type)){let h=Math.max(d,e),p=Math.min(d+a.nodeSize,t),m=r.addToSet(f);for(let g=0;g<f.length;g++)f[g].isInSet(m)||(s&&s.to==h&&s.mark.eq(f[g])?s.to=p:o.push(s=new Gt(h,p,f[g])));l&&l.to==h?l.to=p:i.push(l=new wn(h,p,r))}}),o.forEach(a=>n.step(a)),i.forEach(a=>n.step(a))}function h4(n,e,t,r){let o=[],i=0;n.doc.nodesBetween(e,t,(s,l)=>{if(!s.isInline)return;i++;let a=null;if(r instanceof Si){let d=s.marks,u;for(;u=r.isInSet(d);)(a||(a=[])).push(u),d=u.removeFromSet(d)}else r?r.isInSet(s.marks)&&(a=[r]):a=s.marks;if(a&&a.length){let d=Math.min(l+s.nodeSize,t);for(let u=0;u<a.length;u++){let f=a[u],h;for(let p=0;p<o.length;p++){let m=o[p];m.step==i-1&&f.eq(o[p].style)&&(h=m)}h?(h.to=d,h.step=i):o.push({style:f,from:Math.max(l,e),to:d,step:i})}}}),o.forEach(s=>n.step(new Gt(s.from,s.to,s.style)))}function p4(n,e,t,r=t.contentMatch){let o=n.doc.nodeAt(e),i=[],s=e+1;for(let l=0;l<o.childCount;l++){let a=o.child(l),d=s+a.nodeSize,u=r.matchType(a.type);if(!u)i.push(new tt(s,d,ye.empty));else{r=u;for(let f=0;f<a.marks.length;f++)t.allowsMarkType(a.marks[f].type)||n.step(new Gt(s,d,a.marks[f]));if(a.isText&&!t.spec.code){let f,h=/\r?\n|\r/g,p;for(;f=h.exec(a.text);)p||(p=new ye(le.from(t.schema.text(" ",t.allowedMarks(a.marks))),0,0)),i.push(new tt(s+f.index,s+f.index+f[0].length,p))}}s=d}if(!r.validEnd){let l=r.fillBefore(le.empty,!0);n.replace(s,s,new ye(l,0,0))}for(let l=i.length-1;l>=0;l--)n.step(i[l])}function m4(n,e,t){return(e==0||n.canReplace(e,n.childCount))&&(t==n.childCount||n.canReplace(0,t))}function Nr(n){let t=n.parent.content.cutByIndex(n.startIndex,n.endIndex);for(let r=n.depth;;--r){let o=n.$from.node(r),i=n.$from.index(r),s=n.$to.indexAfter(r);if(r<n.depth&&o.canReplace(i,s,t))return r;if(r==0||o.type.spec.isolating||!m4(o,i,s))break}return null}function g4(n,e,t){let{$from:r,$to:o,depth:i}=e,s=r.before(i+1),l=o.after(i+1),a=s,d=l,u=le.empty,f=0;for(let m=i,g=!1;m>t;m--)g||r.index(m)>0?(g=!0,u=le.from(r.node(m).copy(u)),f++):a--;let h=le.empty,p=0;for(let m=i,g=!1;m>t;m--)g||o.after(m+1)<o.end(m)?(g=!0,h=le.from(o.node(m).copy(h)),p++):d++;n.step(new Ge(a,d,s,l,new ye(u.append(h),f,p),u.size-f,!0))}function Ha(n,e,t=null,r=n){let o=v4(n,e),i=o&&y4(r,e);return i?o.map(Ju).concat({type:e,attrs:t}).concat(i.map(Ju)):null}function Ju(n){return{type:n,attrs:null}}function v4(n,e){let{parent:t,startIndex:r,endIndex:o}=n,i=t.contentMatchAt(r).findWrapping(e);if(!i)return null;let s=i.length?i[0]:e;return t.canReplaceWith(r,o,s)?i:null}function y4(n,e){let{parent:t,startIndex:r,endIndex:o}=n,i=t.child(r),s=e.contentMatch.findWrapping(i.type);if(!s)return null;let a=(s.length?s[s.length-1]:e).contentMatch;for(let d=r;a&&d<o;d++)a=a.matchType(t.child(d).type);return!a||!a.validEnd?null:s}function C4(n,e,t){let r=le.empty;for(let s=t.length-1;s>=0;s--){if(r.size){let l=t[s].type.contentMatch.matchFragment(r);if(!l||!l.validEnd)throw new RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper")}r=le.from(t[s].type.create(t[s].attrs,r))}let o=e.start,i=e.end;n.step(new Ge(o,i,o,i,new ye(r,0,0),t.length,!0))}function E4(n,e,t,r,o){if(!r.isTextblock)throw new RangeError("Type given to setBlockType should be a textblock");let i=n.steps.length;n.doc.nodesBetween(e,t,(s,l)=>{if(s.isTextblock&&!s.hasMarkup(r,o)&&b4(n.doc,n.mapping.slice(i).map(l),r)){n.clearIncompatible(n.mapping.slice(i).map(l,1),r);let a=n.mapping.slice(i),d=a.map(l,1),u=a.map(l+s.nodeSize,1);return n.step(new Ge(d,u,d+1,u-1,new ye(le.from(r.create(o,null,s.marks)),0,0),1,!0)),!1}})}function b4(n,e,t){let r=n.resolve(e),o=r.index();return r.parent.canReplaceWith(o,o+1,t)}function A4(n,e,t,r,o){let i=n.doc.nodeAt(e);if(!i)throw new RangeError("No node at given position");t||(t=i.type);let s=t.create(r,null,o||i.marks);if(i.isLeaf)return n.replaceWith(e,e+i.nodeSize,s);if(!t.validContent(i.content))throw new RangeError("Invalid content for node type "+t.name);n.step(new Ge(e,e+i.nodeSize,e+1,e+i.nodeSize-1,new ye(le.from(s),0,0),1,!0))}function Lr(n,e,t=1,r){let o=n.resolve(e),i=o.depth-t,s=r&&r[r.length-1]||o.parent;if(i<0||o.parent.type.spec.isolating||!o.parent.canReplace(o.index(),o.parent.childCount)||!s.type.validContent(o.parent.content.cutByIndex(o.index(),o.parent.childCount)))return!1;for(let d=o.depth-1,u=t-2;d>i;d--,u--){let f=o.node(d),h=o.index(d);if(f.type.spec.isolating)return!1;let p=f.content.cutByIndex(h,f.childCount),m=r&&r[u+1];m&&(p=p.replaceChild(0,m.type.create(m.attrs)));let g=r&&r[u]||f;if(!f.canReplace(h+1,f.childCount)||!g.type.validContent(p))return!1}let l=o.indexAfter(i),a=r&&r[0];return o.node(i).canReplaceWith(l,l,a?a.type:o.node(i+1).type)}function w4(n,e,t=1,r){let o=n.doc.resolve(e),i=le.empty,s=le.empty;for(let l=o.depth,a=o.depth-t,d=t-1;l>a;l--,d--){i=le.from(o.node(l).copy(i));let u=r&&r[d];s=le.from(u?u.type.create(u.attrs,s):o.node(l).copy(s))}n.step(new tt(e,e,new ye(i.append(s),t,t),!0))}function kn(n,e){let t=n.resolve(e),r=t.index();return Zu(t.nodeBefore,t.nodeAfter)&&t.parent.canReplace(r,r+1)}function Zu(n,e){return!!(n&&e&&!n.isLeaf&&n.canAppend(e))}function Ii(n,e,t=-1){let r=n.resolve(e);for(let o=r.depth;;o--){let i,s,l=r.index(o);if(o==r.depth?(i=r.nodeBefore,s=r.nodeAfter):t>0?(i=r.node(o+1),l++,s=r.node(o).maybeChild(l)):(i=r.node(o).maybeChild(l-1),s=r.node(o+1)),i&&!i.isTextblock&&Zu(i,s)&&r.node(o).canReplace(l,l+1))return e;if(o==0)break;e=t<0?r.before(o):r.after(o)}}function S4(n,e,t){let r=new tt(e-t,e+t,ye.empty,!0);n.step(r)}function k4(n,e,t){let r=n.resolve(e);if(r.parent.canReplaceWith(r.index(),r.index(),t))return e;if(r.parentOffset==0)for(let o=r.depth-1;o>=0;o--){let i=r.index(o);if(r.node(o).canReplaceWith(i,i,t))return r.before(o+1);if(i>0)return null}if(r.parentOffset==r.parent.content.size)for(let o=r.depth-1;o>=0;o--){let i=r.indexAfter(o);if(r.node(o).canReplaceWith(i,i,t))return r.after(o+1);if(i<r.node(o).childCount)return null}return null}function x4(n,e,t){let r=n.resolve(e);if(!t.content.size)return e;let o=t.content;for(let i=0;i<t.openStart;i++)o=o.firstChild.content;for(let i=1;i<=(t.openStart==0&&t.size?2:1);i++)for(let s=r.depth;s>=0;s--){let l=s==r.depth?0:r.pos<=(r.start(s+1)+r.end(s+1))/2?-1:1,a=r.index(s)+(l>0?1:0),d=r.node(s),u=!1;if(i==1)u=d.canReplace(a,a,o);else{let f=d.contentMatchAt(a).findWrapping(o.firstChild.type);u=f&&d.canReplaceWith(a,a,f[0])}if(u)return l==0?r.pos:l<0?r.before(s+1):r.after(s+1)}return null}function Ua(n,e,t=e,r=ye.empty){if(e==t&&!r.size)return null;let o=n.resolve(e),i=n.resolve(t);return Gu(o,i,r)?new tt(e,t,r):new T4(o,i,r).fit()}function Gu(n,e,t){return!t.openStart&&!t.openEnd&&n.start()==e.start()&&n.parent.canReplace(n.index(),e.index(),t.content)}class T4{constructor(e,t,r){this.$from=e,this.$to=t,this.unplaced=r,this.frontier=[],this.placed=le.empty;for(let o=0;o<=e.depth;o++){let i=e.node(o);this.frontier.push({type:i.type,match:i.contentMatchAt(e.indexAfter(o))})}for(let o=e.depth;o>0;o--)this.placed=le.from(e.node(o).copy(this.placed))}get depth(){return this.frontier.length-1}fit(){for(;this.unplaced.size;){let d=this.findFittable();d?this.placeNodes(d):this.openMore()||this.dropNode()}let e=this.mustMoveInline(),t=this.placed.size-this.depth-this.$from.depth,r=this.$from,o=this.close(e<0?this.$to:r.doc.resolve(e));if(!o)return null;let i=this.placed,s=r.depth,l=o.depth;for(;s&&l&&i.childCount==1;)i=i.firstChild.content,s--,l--;let a=new ye(i,s,l);return e>-1?new Ge(r.pos,e,this.$to.pos,this.$to.end(),a,t):a.size||r.pos!=this.$to.pos?new tt(r.pos,o.pos,a):null}findFittable(){let e=this.unplaced.openStart;for(let t=this.unplaced.content,r=0,o=this.unplaced.openEnd;r<e;r++){let i=t.firstChild;if(t.childCount>1&&(o=0),i.type.spec.isolating&&o<=r){e=r;break}t=i.content}for(let t=1;t<=2;t++)for(let r=t==1?e:this.unplaced.openStart;r>=0;r--){let o,i=null;r?(i=ja(this.unplaced.content,r-1).firstChild,o=i.content):o=this.unplaced.content;let s=o.firstChild;for(let l=this.depth;l>=0;l--){let{type:a,match:d}=this.frontier[l],u,f=null;if(t==1&&(s?d.matchType(s.type)||(f=d.fillBefore(le.from(s),!1)):i&&a.compatibleContent(i.type)))return{sliceDepth:r,frontierDepth:l,parent:i,inject:f};if(t==2&&s&&(u=d.findWrapping(s.type)))return{sliceDepth:r,frontierDepth:l,parent:i,wrap:u};if(i&&d.matchType(i.type))break}}}openMore(){let{content:e,openStart:t,openEnd:r}=this.unplaced,o=ja(e,t);return!o.childCount||o.firstChild.isLeaf?!1:(this.unplaced=new ye(e,t+1,Math.max(r,o.size+t>=e.size-r?t+1:0)),!0)}dropNode(){let{content:e,openStart:t,openEnd:r}=this.unplaced,o=ja(e,t);if(o.childCount<=1&&t>0){let i=e.size-t<=t+o.size;this.unplaced=new ye(So(e,t-1,1),t-1,i?t-1:r)}else this.unplaced=new ye(So(e,t,1),t,r)}placeNodes({sliceDepth:e,frontierDepth:t,parent:r,inject:o,wrap:i}){for(;this.depth>t;)this.closeFrontierNode();if(i)for(let g=0;g<i.length;g++)this.openFrontierNode(i[g]);let s=this.unplaced,l=r?r.content:s.content,a=s.openStart-e,d=0,u=[],{match:f,type:h}=this.frontier[t];if(o){for(let g=0;g<o.childCount;g++)u.push(o.child(g));f=f.matchFragment(o)}let p=l.size+e-(s.content.size-s.openEnd);for(;d<l.childCount;){let g=l.child(d),v=f.matchType(g.type);if(!v)break;d++,(d>1||a==0||g.content.size)&&(f=v,u.push(Xu(g.mark(h.allowedMarks(g.marks)),d==1?a:0,d==l.childCount?p:-1)))}let m=d==l.childCount;m||(p=-1),this.placed=ko(this.placed,t,le.from(u)),this.frontier[t].match=f,m&&p<0&&r&&r.type==this.frontier[this.depth].type&&this.frontier.length>1&&this.closeFrontierNode();for(let g=0,v=l;g<p;g++){let b=v.lastChild;this.frontier.push({type:b.type,match:b.contentMatchAt(b.childCount)}),v=b.content}this.unplaced=m?e==0?ye.empty:new ye(So(s.content,e-1,1),e-1,p<0?s.openEnd:e-1):new ye(So(s.content,e,d),s.openStart,s.openEnd)}mustMoveInline(){if(!this.$to.parent.isTextblock)return-1;let e=this.frontier[this.depth],t;if(!e.type.isTextblock||!Wa(this.$to,this.$to.depth,e.type,e.match,!1)||this.$to.depth==this.depth&&(t=this.findCloseLevel(this.$to))&&t.depth==this.depth)return-1;let{depth:r}=this.$to,o=this.$to.after(r);for(;r>1&&o==this.$to.end(--r);)++o;return o}findCloseLevel(e){e:for(let t=Math.min(this.depth,e.depth);t>=0;t--){let{match:r,type:o}=this.frontier[t],i=t<e.depth&&e.end(t+1)==e.pos+(e.depth-(t+1)),s=Wa(e,t,o,r,i);if(s){for(let l=t-1;l>=0;l--){let{match:a,type:d}=this.frontier[l],u=Wa(e,l,d,a,!0);if(!u||u.childCount)continue e}return{depth:t,fit:s,move:i?e.doc.resolve(e.after(t+1)):e}}}}close(e){let t=this.findCloseLevel(e);if(!t)return null;for(;this.depth>t.depth;)this.closeFrontierNode();t.fit.childCount&&(this.placed=ko(this.placed,t.depth,t.fit)),e=t.move;for(let r=t.depth+1;r<=e.depth;r++){let o=e.node(r),i=o.type.contentMatch.fillBefore(o.content,!0,e.index(r));this.openFrontierNode(o.type,o.attrs,i)}return e}openFrontierNode(e,t=null,r){let o=this.frontier[this.depth];o.match=o.match.matchType(e),this.placed=ko(this.placed,this.depth,le.from(e.create(t,r))),this.frontier.push({type:e,match:e.contentMatch})}closeFrontierNode(){let t=this.frontier.pop().match.fillBefore(le.empty,!0);t.childCount&&(this.placed=ko(this.placed,this.frontier.length,t))}}function So(n,e,t){return e==0?n.cutByIndex(t,n.childCount):n.replaceChild(0,n.firstChild.copy(So(n.firstChild.content,e-1,t)))}function ko(n,e,t){return e==0?n.append(t):n.replaceChild(n.childCount-1,n.lastChild.copy(ko(n.lastChild.content,e-1,t)))}function ja(n,e){for(let t=0;t<e;t++)n=n.firstChild.content;return n}function Xu(n,e,t){if(e<=0)return n;let r=n.content;return e>1&&(r=r.replaceChild(0,Xu(r.firstChild,e-1,r.childCount==1?t-1:0))),e>0&&(r=n.type.contentMatch.fillBefore(r).append(r),t<=0&&(r=r.append(n.type.contentMatch.matchFragment(r).fillBefore(le.empty,!0)))),n.copy(r)}function Wa(n,e,t,r,o){let i=n.node(e),s=o?n.indexAfter(e):n.index(e);if(s==i.childCount&&!t.compatibleContent(i.type))return null;let l=r.fillBefore(i.content,!0,s);return l&&!M4(t,i.content,s)?l:null}function M4(n,e,t){for(let r=t;r<e.childCount;r++)if(!n.allowsMarks(e.child(r).marks))return!0;return!1}function I4(n){return n.spec.defining||n.spec.definingForContent}function O4(n,e,t,r){if(!r.size)return n.deleteRange(e,t);let o=n.doc.resolve(e),i=n.doc.resolve(t);if(Gu(o,i,r))return n.step(new tt(e,t,r));let s=ef(o,n.doc.resolve(t));s[s.length-1]==0&&s.pop();let l=-(o.depth+1);s.unshift(l);for(let h=o.depth,p=o.pos-1;h>0;h--,p--){let m=o.node(h).type.spec;if(m.defining||m.definingAsContext||m.isolating)break;s.indexOf(h)>-1?l=h:o.before(h)==p&&s.splice(1,0,-h)}let a=s.indexOf(l),d=[],u=r.openStart;for(let h=r.content,p=0;;p++){let m=h.firstChild;if(d.push(m),p==r.openStart)break;h=m.content}for(let h=u-1;h>=0;h--){let p=d[h],m=I4(p.type);if(m&&!p.sameMarkup(o.node(Math.abs(l)-1)))u=h;else if(m||!p.type.isTextblock)break}for(let h=r.openStart;h>=0;h--){let p=(h+u+1)%(r.openStart+1),m=d[p];if(m)for(let g=0;g<s.length;g++){let v=s[(g+a)%s.length],b=!0;v<0&&(b=!1,v=-v);let A=o.node(v-1),S=o.index(v-1);if(A.canReplaceWith(S,S,m.type,m.marks))return n.replace(o.before(v),b?i.after(v):t,new ye(qu(r.content,0,r.openStart,p),p,r.openEnd))}}let f=n.steps.length;for(let h=s.length-1;h>=0&&(n.replace(e,t,r),!(n.steps.length>f));h--){let p=s[h];p<0||(e=o.before(p),t=i.after(p))}}function qu(n,e,t,r,o){if(e<t){let i=n.firstChild;n=n.replaceChild(0,i.copy(qu(i.content,e+1,t,r,i)))}if(e>r){let i=o.contentMatchAt(0),s=i.fillBefore(n).append(n);n=s.append(i.matchFragment(s).fillBefore(le.empty,!0))}return n}function _4(n,e,t,r){if(!r.isInline&&e==t&&n.doc.resolve(e).parent.content.size){let o=k4(n.doc,e,r.type);o!=null&&(e=t=o)}n.replaceRange(e,t,new ye(le.from(r),0,0))}function N4(n,e,t){let r=n.doc.resolve(e),o=n.doc.resolve(t),i=ef(r,o);for(let s=0;s<i.length;s++){let l=i[s],a=s==i.length-1;if(a&&l==0||r.node(l).type.contentMatch.validEnd)return n.delete(r.start(l),o.end(l));if(l>0&&(a||r.node(l-1).canReplace(r.index(l-1),o.indexAfter(l-1))))return n.delete(r.before(l),o.after(l))}for(let s=1;s<=r.depth&&s<=o.depth;s++)if(e-r.start(s)==r.depth-s&&t>r.end(s)&&o.end(s)-t!=o.depth-s)return n.delete(r.before(s),t);n.delete(e,t)}function ef(n,e){let t=[],r=Math.min(n.depth,e.depth);for(let o=r;o>=0;o--){let i=n.start(o);if(i<n.pos-(n.depth-o)||e.end(o)>e.pos+(e.depth-o)||n.node(o).type.spec.isolating||e.node(o).type.spec.isolating)break;(i==e.start(o)||o==n.depth&&o==e.depth&&n.parent.inlineContent&&e.parent.inlineContent&&o&&e.start(o-1)==i-1)&&t.push(o)}return t}class Dr extends ot{constructor(e,t,r){super(),this.pos=e,this.attr=t,this.value=r}apply(e){let t=e.nodeAt(this.pos);if(!t)return Qe.fail("No node at attribute step's position");let r=Object.create(null);for(let i in t.attrs)r[i]=t.attrs[i];r[this.attr]=this.value;let o=t.type.create(r,null,t.marks);return Qe.fromReplace(e,this.pos,this.pos+1,new ye(le.from(o),0,t.isLeaf?0:1))}getMap(){return wt.empty}invert(e){return new Dr(this.pos,this.attr,e.nodeAt(this.pos).attrs[this.attr])}map(e){let t=e.mapResult(this.pos,1);return t.deletedAfter?null:new Dr(t.pos,this.attr,this.value)}toJSON(){return{stepType:"attr",pos:this.pos,attr:this.attr,value:this.value}}static fromJSON(e,t){if(typeof t.pos!="number"||typeof t.attr!="string")throw new RangeError("Invalid input for AttrStep.fromJSON");return new Dr(t.pos,t.attr,t.value)}}ot.jsonID("attr",Dr);class xo extends ot{constructor(e,t){super(),this.attr=e,this.value=t}apply(e){let t=Object.create(null);for(let o in e.attrs)t[o]=e.attrs[o];t[this.attr]=this.value;let r=e.type.create(t,e.content,e.marks);return Qe.ok(r)}getMap(){return wt.empty}invert(e){return new xo(this.attr,e.attrs[this.attr])}map(e){return this}toJSON(){return{stepType:"docAttr",attr:this.attr,value:this.value}}static fromJSON(e,t){if(typeof t.attr!="string")throw new RangeError("Invalid input for DocAttrStep.fromJSON");return new xo(t.attr,t.value)}}ot.jsonID("docAttr",xo);let Br=class extends Error{};Br=function n(e){let t=Error.call(this,e);return t.__proto__=n.prototype,t},Br.prototype=Object.create(Error.prototype),Br.prototype.constructor=Br,Br.prototype.name="TransformError";class tf{constructor(e){this.doc=e,this.steps=[],this.docs=[],this.mapping=new wo}get before(){return this.docs.length?this.docs[0]:this.doc}step(e){let t=this.maybeStep(e);if(t.failed)throw new Br(t.failed);return this}maybeStep(e){let t=e.apply(this.doc);return t.failed||this.addStep(e,t.doc),t}get docChanged(){return this.steps.length>0}addStep(e,t){this.docs.push(this.doc),this.steps.push(e),this.mapping.appendMap(e.getMap()),this.doc=t}replace(e,t=e,r=ye.empty){let o=Ua(this.doc,e,t,r);return o&&this.step(o),this}replaceWith(e,t,r){return this.replace(e,t,new ye(le.from(r),0,0))}delete(e,t){return this.replace(e,t,ye.empty)}insert(e,t){return this.replaceWith(e,e,t)}replaceRange(e,t,r){return O4(this,e,t,r),this}replaceRangeWith(e,t,r){return _4(this,e,t,r),this}deleteRange(e,t){return N4(this,e,t),this}lift(e,t){return g4(this,e,t),this}join(e,t=1){return S4(this,e,t),this}wrap(e,t){return C4(this,e,t),this}setBlockType(e,t=e,r,o=null){return E4(this,e,t,r,o),this}setNodeMarkup(e,t,r=null,o){return A4(this,e,t,r,o),this}setNodeAttribute(e,t,r){return this.step(new Dr(e,t,r)),this}setDocAttribute(e,t){return this.step(new xo(e,t)),this}addNodeMark(e,t){return this.step(new Sn(e,t)),this}removeNodeMark(e,t){if(!(t instanceof Fe)){let r=this.doc.nodeAt(e);if(!r)throw new RangeError("No node at position "+e);if(t=t.isInSet(r.marks),!t)return this}return this.step(new _r(e,t)),this}split(e,t=1,r){return w4(this,e,t,r),this}addMark(e,t,r){return f4(this,e,t,r),this}removeMark(e,t,r){return h4(this,e,t,r),this}clearIncompatible(e,t,r){return p4(this,e,t,r),this}}const Ka=Object.create(null);class Be{constructor(e,t,r){this.$anchor=e,this.$head=t,this.ranges=r||[new L4(e.min(t),e.max(t))]}get anchor(){return this.$anchor.pos}get head(){return this.$head.pos}get from(){return this.$from.pos}get to(){return this.$to.pos}get $from(){return this.ranges[0].$from}get $to(){return this.ranges[0].$to}get empty(){let e=this.ranges;for(let t=0;t<e.length;t++)if(e[t].$from.pos!=e[t].$to.pos)return!1;return!0}content(){return this.$from.doc.slice(this.from,this.to,!0)}replace(e,t=ye.empty){let r=t.content.lastChild,o=null;for(let l=0;l<t.openEnd;l++)o=r,r=r.lastChild;let i=e.steps.length,s=this.ranges;for(let l=0;l<s.length;l++){let{$from:a,$to:d}=s[l],u=e.mapping.slice(i);e.replaceRange(u.map(a.pos),u.map(d.pos),l?ye.empty:t),l==0&&of(e,i,(r?r.isInline:o&&o.isTextblock)?-1:1)}}replaceWith(e,t){let r=e.steps.length,o=this.ranges;for(let i=0;i<o.length;i++){let{$from:s,$to:l}=o[i],a=e.mapping.slice(r),d=a.map(s.pos),u=a.map(l.pos);i?e.deleteRange(d,u):(e.replaceRangeWith(d,u,t),of(e,r,t.isInline?-1:1))}}static findFrom(e,t,r=!1){let o=e.parent.inlineContent?new Re(e):Rr(e.node(0),e.parent,e.pos,e.index(),t,r);if(o)return o;for(let i=e.depth-1;i>=0;i--){let s=t<0?Rr(e.node(0),e.node(i),e.before(i+1),e.index(i),t,r):Rr(e.node(0),e.node(i),e.after(i+1),e.index(i)+1,t,r);if(s)return s}return null}static near(e,t=1){return this.findFrom(e,t)||this.findFrom(e,-t)||new Ut(e.node(0))}static atStart(e){return Rr(e,e,0,0,1)||new Ut(e)}static atEnd(e){return Rr(e,e,e.content.size,e.childCount,-1)||new Ut(e)}static fromJSON(e,t){if(!t||!t.type)throw new RangeError("Invalid input for Selection.fromJSON");let r=Ka[t.type];if(!r)throw new RangeError(`No selection type ${t.type} defined`);return r.fromJSON(e,t)}static jsonID(e,t){if(e in Ka)throw new RangeError("Duplicate use of selection JSON ID "+e);return Ka[e]=t,t.prototype.jsonID=e,t}getBookmark(){return Re.between(this.$anchor,this.$head).getBookmark()}}Be.prototype.visible=!0;class L4{constructor(e,t){this.$from=e,this.$to=t}}let nf=!1;function rf(n){!nf&&!n.parent.inlineContent&&(nf=!0,console.warn("TextSelection endpoint not pointing into a node with inline content ("+n.parent.type.name+")"))}class Re extends Be{constructor(e,t=e){rf(e),rf(t),super(e,t)}get $cursor(){return this.$anchor.pos==this.$head.pos?this.$head:null}map(e,t){let r=e.resolve(t.map(this.head));if(!r.parent.inlineContent)return Be.near(r);let o=e.resolve(t.map(this.anchor));return new Re(o.parent.inlineContent?o:r,r)}replace(e,t=ye.empty){if(super.replace(e,t),t==ye.empty){let r=this.$from.marksAcross(this.$to);r&&e.ensureMarks(r)}}eq(e){return e instanceof Re&&e.anchor==this.anchor&&e.head==this.head}getBookmark(){return new Oi(this.anchor,this.head)}toJSON(){return{type:"text",anchor:this.anchor,head:this.head}}static fromJSON(e,t){if(typeof t.anchor!="number"||typeof t.head!="number")throw new RangeError("Invalid input for TextSelection.fromJSON");return new Re(e.resolve(t.anchor),e.resolve(t.head))}static create(e,t,r=t){let o=e.resolve(t);return new this(o,r==t?o:e.resolve(r))}static between(e,t,r){let o=e.pos-t.pos;if((!r||o)&&(r=o>=0?1:-1),!t.parent.inlineContent){let i=Be.findFrom(t,r,!0)||Be.findFrom(t,-r,!0);if(i)t=i.$head;else return Be.near(t,r)}return e.parent.inlineContent||(o==0?e=t:(e=(Be.findFrom(e,-r,!0)||Be.findFrom(e,r,!0)).$anchor,e.pos<t.pos!=o<0&&(e=t))),new Re(e,t)}}Be.jsonID("text",Re);class Oi{constructor(e,t){this.anchor=e,this.head=t}map(e){return new Oi(e.map(this.anchor),e.map(this.head))}resolve(e){return Re.between(e.resolve(this.anchor),e.resolve(this.head))}}class Me extends Be{constructor(e){let t=e.nodeAfter,r=e.node(0).resolve(e.pos+t.nodeSize);super(e,r),this.node=t}map(e,t){let{deleted:r,pos:o}=t.mapResult(this.anchor),i=e.resolve(o);return r?Be.near(i):new Me(i)}content(){return new ye(le.from(this.node),0,0)}eq(e){return e instanceof Me&&e.anchor==this.anchor}toJSON(){return{type:"node",anchor:this.anchor}}getBookmark(){return new Qa(this.anchor)}static fromJSON(e,t){if(typeof t.anchor!="number")throw new RangeError("Invalid input for NodeSelection.fromJSON");return new Me(e.resolve(t.anchor))}static create(e,t){return new Me(e.resolve(t))}static isSelectable(e){return!e.isText&&e.type.spec.selectable!==!1}}Me.prototype.visible=!1,Be.jsonID("node",Me);class Qa{constructor(e){this.anchor=e}map(e){let{deleted:t,pos:r}=e.mapResult(this.anchor);return t?new Oi(r,r):new Qa(r)}resolve(e){let t=e.resolve(this.anchor),r=t.nodeAfter;return r&&Me.isSelectable(r)?new Me(t):Be.near(t)}}class Ut extends Be{constructor(e){super(e.resolve(0),e.resolve(e.content.size))}replace(e,t=ye.empty){if(t==ye.empty){e.delete(0,e.doc.content.size);let r=Be.atStart(e.doc);r.eq(e.selection)||e.setSelection(r)}else super.replace(e,t)}toJSON(){return{type:"all"}}static fromJSON(e){return new Ut(e)}map(e){return new Ut(e)}eq(e){return e instanceof Ut}getBookmark(){return D4}}Be.jsonID("all",Ut);const D4={map(){return this},resolve(n){return new Ut(n)}};function Rr(n,e,t,r,o,i=!1){if(e.inlineContent)return Re.create(n,t);for(let s=r-(o>0?0:1);o>0?s<e.childCount:s>=0;s+=o){let l=e.child(s);if(l.isAtom){if(!i&&Me.isSelectable(l))return Me.create(n,t-(o<0?l.nodeSize:0))}else{let a=Rr(n,l,t+o,o<0?l.childCount:0,o,i);if(a)return a}t+=l.nodeSize*o}return null}function of(n,e,t){let r=n.steps.length-1;if(r<e)return;let o=n.steps[r];if(!(o instanceof tt||o instanceof Ge))return;let i=n.mapping.maps[r],s;i.forEach((l,a,d,u)=>{s==null&&(s=u)}),n.setSelection(Be.near(n.doc.resolve(s),t))}const sf=1,_i=2,af=4;class B4 extends tf{constructor(e){super(e.doc),this.curSelectionFor=0,this.updated=0,this.meta=Object.create(null),this.time=Date.now(),this.curSelection=e.selection,this.storedMarks=e.storedMarks}get selection(){return this.curSelectionFor<this.steps.length&&(this.curSelection=this.curSelection.map(this.doc,this.mapping.slice(this.curSelectionFor)),this.curSelectionFor=this.steps.length),this.curSelection}setSelection(e){if(e.$from.doc!=this.doc)throw new RangeError("Selection passed to setSelection must point at the current document");return this.curSelection=e,this.curSelectionFor=this.steps.length,this.updated=(this.updated|sf)&~_i,this.storedMarks=null,this}get selectionSet(){return(this.updated&sf)>0}setStoredMarks(e){return this.storedMarks=e,this.updated|=_i,this}ensureMarks(e){return Fe.sameSet(this.storedMarks||this.selection.$from.marks(),e)||this.setStoredMarks(e),this}addStoredMark(e){return this.ensureMarks(e.addToSet(this.storedMarks||this.selection.$head.marks()))}removeStoredMark(e){return this.ensureMarks(e.removeFromSet(this.storedMarks||this.selection.$head.marks()))}get storedMarksSet(){return(this.updated&_i)>0}addStep(e,t){super.addStep(e,t),this.updated=this.updated&~_i,this.storedMarks=null}setTime(e){return this.time=e,this}replaceSelection(e){return this.selection.replace(this,e),this}replaceSelectionWith(e,t=!0){let r=this.selection;return t&&(e=e.mark(this.storedMarks||(r.empty?r.$from.marks():r.$from.marksAcross(r.$to)||Fe.none))),r.replaceWith(this,e),this}deleteSelection(){return this.selection.replace(this),this}insertText(e,t,r){let o=this.doc.type.schema;if(t==null)return e?this.replaceSelectionWith(o.text(e),!0):this.deleteSelection();{if(r==null&&(r=t),r=r??t,!e)return this.deleteRange(t,r);let i=this.storedMarks;if(!i){let s=this.doc.resolve(t);i=r==t?s.marks():s.marksAcross(this.doc.resolve(r))}return this.replaceRangeWith(t,r,o.text(e,i)),this.selection.empty||this.setSelection(Be.near(this.selection.$to)),this}}setMeta(e,t){return this.meta[typeof e=="string"?e:e.key]=t,this}getMeta(e){return this.meta[typeof e=="string"?e:e.key]}get isGeneric(){for(let e in this.meta)return!1;return!0}scrollIntoView(){return this.updated|=af,this}get scrolledIntoView(){return(this.updated&af)>0}}function lf(n,e){return!e||!n?n:n.bind(e)}class To{constructor(e,t,r){this.name=e,this.init=lf(t.init,r),this.apply=lf(t.apply,r)}}const R4=[new To("doc",{init(n){return n.doc||n.schema.topNodeType.createAndFill()},apply(n){return n.doc}}),new To("selection",{init(n,e){return n.selection||Be.atStart(e.doc)},apply(n){return n.selection}}),new To("storedMarks",{init(n){return n.storedMarks||null},apply(n,e,t,r){return r.selection.$cursor?n.storedMarks:null}}),new To("scrollToSelection",{init(){return 0},apply(n,e){return n.scrolledIntoView?e+1:e}})];class Ya{constructor(e,t){this.schema=e,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=R4.slice(),t&&t.forEach(r=>{if(this.pluginsByKey[r.key])throw new RangeError("Adding different instances of a keyed plugin ("+r.key+")");this.plugins.push(r),this.pluginsByKey[r.key]=r,r.spec.state&&this.fields.push(new To(r.key,r.spec.state,r))})}}class Pr{constructor(e){this.config=e}get schema(){return this.config.schema}get plugins(){return this.config.plugins}apply(e){return this.applyTransaction(e).state}filterTransaction(e,t=-1){for(let r=0;r<this.config.plugins.length;r++)if(r!=t){let o=this.config.plugins[r];if(o.spec.filterTransaction&&!o.spec.filterTransaction.call(o,e,this))return!1}return!0}applyTransaction(e){if(!this.filterTransaction(e))return{state:this,transactions:[]};let t=[e],r=this.applyInner(e),o=null;for(;;){let i=!1;for(let s=0;s<this.config.plugins.length;s++){let l=this.config.plugins[s];if(l.spec.appendTransaction){let a=o?o[s].n:0,d=o?o[s].state:this,u=a<t.length&&l.spec.appendTransaction.call(l,a?t.slice(a):t,d,r);if(u&&r.filterTransaction(u,s)){if(u.setMeta("appendedTransaction",e),!o){o=[];for(let f=0;f<this.config.plugins.length;f++)o.push(f<s?{state:r,n:t.length}:{state:this,n:0})}t.push(u),r=r.applyInner(u),i=!0}o&&(o[s]={state:r,n:t.length})}}if(!i)return{state:r,transactions:t}}}applyInner(e){if(!e.before.eq(this.doc))throw new RangeError("Applying a mismatched transaction");let t=new Pr(this.config),r=this.config.fields;for(let o=0;o<r.length;o++){let i=r[o];t[i.name]=i.apply(e,this[i.name],this,t)}return t}get tr(){return new B4(this)}static create(e){let t=new Ya(e.doc?e.doc.type.schema:e.schema,e.plugins),r=new Pr(t);for(let o=0;o<t.fields.length;o++)r[t.fields[o].name]=t.fields[o].init(e,r);return r}reconfigure(e){let t=new Ya(this.schema,e.plugins),r=t.fields,o=new Pr(t);for(let i=0;i<r.length;i++){let s=r[i].name;o[s]=this.hasOwnProperty(s)?this[s]:r[i].init(e,o)}return o}toJSON(e){let t={doc:this.doc.toJSON(),selection:this.selection.toJSON()};if(this.storedMarks&&(t.storedMarks=this.storedMarks.map(r=>r.toJSON())),e&&typeof e=="object")for(let r in e){if(r=="doc"||r=="selection")throw new RangeError("The JSON fields `doc` and `selection` are reserved");let o=e[r],i=o.spec.state;i&&i.toJSON&&(t[r]=i.toJSON.call(o,this[o.key]))}return t}static fromJSON(e,t,r){if(!t)throw new RangeError("Invalid input for EditorState.fromJSON");if(!e.schema)throw new RangeError("Required config field 'schema' missing");let o=new Ya(e.schema,e.plugins),i=new Pr(o);return o.fields.forEach(s=>{if(s.name=="doc")i.doc=ir.fromJSON(e.schema,t.doc);else if(s.name=="selection")i.selection=Be.fromJSON(i.doc,t.selection);else if(s.name=="storedMarks")t.storedMarks&&(i.storedMarks=t.storedMarks.map(e.schema.markFromJSON));else{if(r)for(let l in r){let a=r[l],d=a.spec.state;if(a.key==s.name&&d&&d.fromJSON&&Object.prototype.hasOwnProperty.call(t,l)){i[s.name]=d.fromJSON.call(a,e,t[l],i);return}}i[s.name]=s.init(e,i)}}),i}}function cf(n,e,t){for(let r in n){let o=n[r];o instanceof Function?o=o.bind(e):r=="handleDOMEvents"&&(o=cf(o,e,{})),t[r]=o}return t}class yt{constructor(e){this.spec=e,this.props={},e.props&&cf(e.props,this,this.props),this.key=e.key?e.key.key:df("plugin")}getState(e){return e[this.key]}}const Ja=Object.create(null);function df(n){return n in Ja?n+"$"+ ++Ja[n]:(Ja[n]=0,n+"$")}class jt{constructor(e="key"){this.key=df(e)}get(e){return e.config.pluginsByKey[this.key]}getState(e){return e[this.key]}}const ct=function(n){for(var e=0;;e++)if(n=n.previousSibling,!n)return e},Mo=function(n){let e=n.assignedSlot||n.parentNode;return e&&e.nodeType==11?e.host:e};let uf=null;const un=function(n,e,t){let r=uf||(uf=document.createRange());return r.setEnd(n,t??n.nodeValue.length),r.setStart(n,e||0),r},ar=function(n,e,t,r){return t&&(ff(n,e,t,r,-1)||ff(n,e,t,r,1))},P4=/^(img|br|input|textarea|hr)$/i;function ff(n,e,t,r,o){for(;;){if(n==t&&e==r)return!0;if(e==(o<0?0:Xt(n))){let i=n.parentNode;if(!i||i.nodeType!=1||Za(n)||P4.test(n.nodeName)||n.contentEditable=="false")return!1;e=ct(n)+(o<0?0:1),n=i}else if(n.nodeType==1){if(n=n.childNodes[e+(o<0?-1:0)],n.contentEditable=="false")return!1;e=o<0?Xt(n):0}else return!1}}function Xt(n){return n.nodeType==3?n.nodeValue.length:n.childNodes.length}function F4(n,e,t){for(let r=e==0,o=e==Xt(n);r||o;){if(n==t)return!0;let i=ct(n);if(n=n.parentNode,!n)return!1;r=r&&i==0,o=o&&i==Xt(n)}}function Za(n){let e;for(let t=n;t&&!(e=t.pmViewDesc);t=t.parentNode);return e&&e.node&&e.node.isBlock&&(e.dom==n||e.contentDOM==n)}const Ni=function(n){return n.focusNode&&ar(n.focusNode,n.focusOffset,n.anchorNode,n.anchorOffset)};function lr(n,e){let t=document.createEvent("Event");return t.initEvent("keydown",!0,!0),t.keyCode=n,t.key=t.code=e,t}function V4(n){let e=n.activeElement;for(;e&&e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function $4(n,e,t){if(n.caretPositionFromPoint)try{let r=n.caretPositionFromPoint(e,t);if(r)return{node:r.offsetNode,offset:r.offset}}catch{}if(n.caretRangeFromPoint){let r=n.caretRangeFromPoint(e,t);if(r)return{node:r.startContainer,offset:r.startOffset}}}const qt=typeof navigator<"u"?navigator:null,hf=typeof document<"u"?document:null,xn=qt&&qt.userAgent||"",Ga=/Edge\/(\d+)/.exec(xn),pf=/MSIE \d/.exec(xn),Xa=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(xn),Ct=!!(pf||Xa||Ga),Tn=pf?document.documentMode:Xa?+Xa[1]:Ga?+Ga[1]:0,Wt=!Ct&&/gecko\/(\d+)/i.test(xn);Wt&&+(/Firefox\/(\d+)/.exec(xn)||[0,0])[1];const qa=!Ct&&/Chrome\/(\d+)/.exec(xn),it=!!qa,z4=qa?+qa[1]:0,dt=!Ct&&!!qt&&/Apple Computer/.test(qt.vendor),Fr=dt&&(/Mobile\/\w+/.test(xn)||!!qt&&qt.maxTouchPoints>2),Ot=Fr||(qt?/Mac/.test(qt.platform):!1),H4=qt?/Win/.test(qt.platform):!1,Kt=/Android \d/.test(xn),Io=!!hf&&"webkitFontSmoothing"in hf.documentElement.style,U4=Io?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0;function j4(n){return{left:0,right:n.documentElement.clientWidth,top:0,bottom:n.documentElement.clientHeight}}function fn(n,e){return typeof n=="number"?n:n[e]}function W4(n){let e=n.getBoundingClientRect(),t=e.width/n.offsetWidth||1,r=e.height/n.offsetHeight||1;return{left:e.left,right:e.left+n.clientWidth*t,top:e.top,bottom:e.top+n.clientHeight*r}}function mf(n,e,t){let r=n.someProp("scrollThreshold")||0,o=n.someProp("scrollMargin")||5,i=n.dom.ownerDocument;for(let s=t||n.dom;s;s=Mo(s)){if(s.nodeType!=1)continue;let l=s,a=l==i.body,d=a?j4(i):W4(l),u=0,f=0;if(e.top<d.top+fn(r,"top")?f=-(d.top-e.top+fn(o,"top")):e.bottom>d.bottom-fn(r,"bottom")&&(f=e.bottom-e.top>d.bottom-d.top?e.top+fn(o,"top")-d.top:e.bottom-d.bottom+fn(o,"bottom")),e.left<d.left+fn(r,"left")?u=-(d.left-e.left+fn(o,"left")):e.right>d.right-fn(r,"right")&&(u=e.right-d.right+fn(o,"right")),u||f)if(a)i.defaultView.scrollBy(u,f);else{let h=l.scrollLeft,p=l.scrollTop;f&&(l.scrollTop+=f),u&&(l.scrollLeft+=u);let m=l.scrollLeft-h,g=l.scrollTop-p;e={left:e.left-m,top:e.top-g,right:e.right-m,bottom:e.bottom-g}}if(a||/^(fixed|sticky)$/.test(getComputedStyle(s).position))break}}function K4(n){let e=n.dom.getBoundingClientRect(),t=Math.max(0,e.top),r,o;for(let i=(e.left+e.right)/2,s=t+1;s<Math.min(innerHeight,e.bottom);s+=5){let l=n.root.elementFromPoint(i,s);if(!l||l==n.dom||!n.dom.contains(l))continue;let a=l.getBoundingClientRect();if(a.top>=t-20){r=l,o=a.top;break}}return{refDOM:r,refTop:o,stack:gf(n.dom)}}function gf(n){let e=[],t=n.ownerDocument;for(let r=n;r&&(e.push({dom:r,top:r.scrollTop,left:r.scrollLeft}),n!=t);r=Mo(r));return e}function Q4({refDOM:n,refTop:e,stack:t}){let r=n?n.getBoundingClientRect().top:0;vf(t,r==0?0:r-e)}function vf(n,e){for(let t=0;t<n.length;t++){let{dom:r,top:o,left:i}=n[t];r.scrollTop!=o+e&&(r.scrollTop=o+e),r.scrollLeft!=i&&(r.scrollLeft=i)}}let Vr=null;function Y4(n){if(n.setActive)return n.setActive();if(Vr)return n.focus(Vr);let e=gf(n);n.focus(Vr==null?{get preventScroll(){return Vr={preventScroll:!0},!0}}:void 0),Vr||(Vr=!1,vf(e,0))}function yf(n,e){let t,r=2e8,o,i=0,s=e.top,l=e.top,a,d;for(let u=n.firstChild,f=0;u;u=u.nextSibling,f++){let h;if(u.nodeType==1)h=u.getClientRects();else if(u.nodeType==3)h=un(u).getClientRects();else continue;for(let p=0;p<h.length;p++){let m=h[p];if(m.top<=s&&m.bottom>=l){s=Math.max(m.bottom,s),l=Math.min(m.top,l);let g=m.left>e.left?m.left-e.left:m.right<e.left?e.left-m.right:0;if(g<r){t=u,r=g,o=g&&t.nodeType==3?{left:m.right<e.left?m.right:m.left,top:e.top}:e,u.nodeType==1&&g&&(i=f+(e.left>=(m.left+m.right)/2?1:0));continue}}else m.top>e.top&&!a&&m.left<=e.left&&m.right>=e.left&&(a=u,d={left:Math.max(m.left,Math.min(m.right,e.left)),top:m.top});!t&&(e.left>=m.right&&e.top>=m.top||e.left>=m.left&&e.top>=m.bottom)&&(i=f+1)}}return!t&&a&&(t=a,o=d,r=0),t&&t.nodeType==3?J4(t,o):!t||r&&t.nodeType==1?{node:n,offset:i}:yf(t,o)}function J4(n,e){let t=n.nodeValue.length,r=document.createRange();for(let o=0;o<t;o++){r.setEnd(n,o+1),r.setStart(n,o);let i=Mn(r,1);if(i.top!=i.bottom&&el(e,i))return{node:n,offset:o+(e.left>=(i.left+i.right)/2?1:0)}}return{node:n,offset:0}}function el(n,e){return n.left>=e.left-1&&n.left<=e.right+1&&n.top>=e.top-1&&n.top<=e.bottom+1}function Z4(n,e){let t=n.parentNode;return t&&/^li$/i.test(t.nodeName)&&e.left<n.getBoundingClientRect().left?t:n}function G4(n,e,t){let{node:r,offset:o}=yf(e,t),i=-1;if(r.nodeType==1&&!r.firstChild){let s=r.getBoundingClientRect();i=s.left!=s.right&&t.left>(s.left+s.right)/2?1:-1}return n.docView.posFromDOM(r,o,i)}function X4(n,e,t,r){let o=-1;for(let i=e,s=!1;i!=n.dom;){let l=n.docView.nearestDesc(i,!0);if(!l)return null;if(l.dom.nodeType==1&&(l.node.isBlock&&l.parent&&!s||!l.contentDOM)){let a=l.dom.getBoundingClientRect();if(l.node.isBlock&&l.parent&&!s&&(s=!0,a.left>r.left||a.top>r.top?o=l.posBefore:(a.right<r.left||a.bottom<r.top)&&(o=l.posAfter)),!l.contentDOM&&o<0&&!l.node.isText)return(l.node.isBlock?r.top<(a.top+a.bottom)/2:r.left<(a.left+a.right)/2)?l.posBefore:l.posAfter}i=l.dom.parentNode}return o>-1?o:n.docView.posFromDOM(e,t,-1)}function Cf(n,e,t){let r=n.childNodes.length;if(r&&t.top<t.bottom)for(let o=Math.max(0,Math.min(r-1,Math.floor(r*(e.top-t.top)/(t.bottom-t.top))-2)),i=o;;){let s=n.childNodes[i];if(s.nodeType==1){let l=s.getClientRects();for(let a=0;a<l.length;a++){let d=l[a];if(el(e,d))return Cf(s,e,d)}}if((i=(i+1)%r)==o)break}return n}function q4(n,e){let t=n.dom.ownerDocument,r,o=0,i=$4(t,e.left,e.top);i&&({node:r,offset:o}=i);let s=(n.root.elementFromPoint?n.root:t).elementFromPoint(e.left,e.top),l;if(!s||!n.dom.contains(s.nodeType!=1?s.parentNode:s)){let d=n.dom.getBoundingClientRect();if(!el(e,d)||(s=Cf(n.dom,e,d),!s))return null}if(dt)for(let d=s;r&&d;d=Mo(d))d.draggable&&(r=void 0);if(s=Z4(s,e),r){if(Wt&&r.nodeType==1&&(o=Math.min(o,r.childNodes.length),o<r.childNodes.length)){let u=r.childNodes[o],f;u.nodeName=="IMG"&&(f=u.getBoundingClientRect()).right<=e.left&&f.bottom>e.top&&o++}let d;Io&&o&&r.nodeType==1&&(d=r.childNodes[o-1]).nodeType==1&&d.contentEditable=="false"&&d.getBoundingClientRect().top>=e.top&&o--,r==n.dom&&o==r.childNodes.length-1&&r.lastChild.nodeType==1&&e.top>r.lastChild.getBoundingClientRect().bottom?l=n.state.doc.content.size:(o==0||r.nodeType!=1||r.childNodes[o-1].nodeName!="BR")&&(l=X4(n,r,o,e))}l==null&&(l=G4(n,s,e));let a=n.docView.nearestDesc(s,!0);return{pos:l,inside:a?a.posAtStart-a.border:-1}}function Ef(n){return n.top<n.bottom||n.left<n.right}function Mn(n,e){let t=n.getClientRects();if(t.length){let r=t[e<0?0:t.length-1];if(Ef(r))return r}return Array.prototype.find.call(t,Ef)||n.getBoundingClientRect()}const e8=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/;function bf(n,e,t){let{node:r,offset:o,atom:i}=n.docView.domFromPos(e,t<0?-1:1),s=Io||Wt;if(r.nodeType==3)if(s&&(e8.test(r.nodeValue)||(t<0?!o:o==r.nodeValue.length))){let a=Mn(un(r,o,o),t);if(Wt&&o&&/\s/.test(r.nodeValue[o-1])&&o<r.nodeValue.length){let d=Mn(un(r,o-1,o-1),-1);if(d.top==a.top){let u=Mn(un(r,o,o+1),-1);if(u.top!=a.top)return Oo(u,u.left<d.left)}}return a}else{let a=o,d=o,u=t<0?1:-1;return t<0&&!o?(d++,u=-1):t>=0&&o==r.nodeValue.length?(a--,u=1):t<0?a--:d++,Oo(Mn(un(r,a,d),u),u<0)}if(!n.state.doc.resolve(e-(i||0)).parent.inlineContent){if(i==null&&o&&(t<0||o==Xt(r))){let a=r.childNodes[o-1];if(a.nodeType==1)return tl(a.getBoundingClientRect(),!1)}if(i==null&&o<Xt(r)){let a=r.childNodes[o];if(a.nodeType==1)return tl(a.getBoundingClientRect(),!0)}return tl(r.getBoundingClientRect(),t>=0)}if(i==null&&o&&(t<0||o==Xt(r))){let a=r.childNodes[o-1],d=a.nodeType==3?un(a,Xt(a)-(s?0:1)):a.nodeType==1&&(a.nodeName!="BR"||!a.nextSibling)?a:null;if(d)return Oo(Mn(d,1),!1)}if(i==null&&o<Xt(r)){let a=r.childNodes[o];for(;a.pmViewDesc&&a.pmViewDesc.ignoreForCoords;)a=a.nextSibling;let d=a?a.nodeType==3?un(a,0,s?0:1):a.nodeType==1?a:null:null;if(d)return Oo(Mn(d,-1),!0)}return Oo(Mn(r.nodeType==3?un(r):r,-t),t>=0)}function Oo(n,e){if(n.width==0)return n;let t=e?n.left:n.right;return{top:n.top,bottom:n.bottom,left:t,right:t}}function tl(n,e){if(n.height==0)return n;let t=e?n.top:n.bottom;return{top:t,bottom:t,left:n.left,right:n.right}}function Af(n,e,t){let r=n.state,o=n.root.activeElement;r!=e&&n.updateState(e),o!=n.dom&&n.focus();try{return t()}finally{r!=e&&n.updateState(r),o!=n.dom&&o&&o.focus()}}function t8(n,e,t){let r=e.selection,o=t=="up"?r.$from:r.$to;return Af(n,e,()=>{let{node:i}=n.docView.domFromPos(o.pos,t=="up"?-1:1);for(;;){let l=n.docView.nearestDesc(i,!0);if(!l)break;if(l.node.isBlock){i=l.contentDOM||l.dom;break}i=l.dom.parentNode}let s=bf(n,o.pos,1);for(let l=i.firstChild;l;l=l.nextSibling){let a;if(l.nodeType==1)a=l.getClientRects();else if(l.nodeType==3)a=un(l,0,l.nodeValue.length).getClientRects();else continue;for(let d=0;d<a.length;d++){let u=a[d];if(u.bottom>u.top+1&&(t=="up"?s.top-u.top>(u.bottom-s.top)*2:u.bottom-s.bottom>(s.bottom-u.top)*2))return!1}}return!0})}const n8=/[\u0590-\u08ac]/;function r8(n,e,t){let{$head:r}=e.selection;if(!r.parent.isTextblock)return!1;let o=r.parentOffset,i=!o,s=o==r.parent.content.size,l=n.domSelection();return!n8.test(r.parent.textContent)||!l.modify?t=="left"||t=="backward"?i:s:Af(n,e,()=>{let{focusNode:a,focusOffset:d,anchorNode:u,anchorOffset:f}=n.domSelectionRange(),h=l.caretBidiLevel;l.modify("move",t,"character");let p=r.depth?n.docView.domAfterPos(r.before()):n.dom,{focusNode:m,focusOffset:g}=n.domSelectionRange(),v=m&&!p.contains(m.nodeType==1?m:m.parentNode)||a==m&&d==g;try{l.collapse(u,f),a&&(a!=u||d!=f)&&l.extend&&l.extend(a,d)}catch{}return h!=null&&(l.caretBidiLevel=h),v})}let wf=null,Sf=null,kf=!1;function o8(n,e,t){return wf==e&&Sf==t?kf:(wf=e,Sf=t,kf=t=="up"||t=="down"?t8(n,e,t):r8(n,e,t))}const _t=0,xf=1,cr=2,en=3;class _o{constructor(e,t,r,o){this.parent=e,this.children=t,this.dom=r,this.contentDOM=o,this.dirty=_t,r.pmViewDesc=this}matchesWidget(e){return!1}matchesMark(e){return!1}matchesNode(e,t,r){return!1}matchesHack(e){return!1}parseRule(){return null}stopEvent(e){return!1}get size(){let e=0;for(let t=0;t<this.children.length;t++)e+=this.children[t].size;return e}get border(){return 0}destroy(){this.parent=void 0,this.dom.pmViewDesc==this&&(this.dom.pmViewDesc=void 0);for(let e=0;e<this.children.length;e++)this.children[e].destroy()}posBeforeChild(e){for(let t=0,r=this.posAtStart;;t++){let o=this.children[t];if(o==e)return r;r+=o.size}}get posBefore(){return this.parent.posBeforeChild(this)}get posAtStart(){return this.parent?this.parent.posBeforeChild(this)+this.border:0}get posAfter(){return this.posBefore+this.size}get posAtEnd(){return this.posAtStart+this.size-2*this.border}localPosFromDOM(e,t,r){if(this.contentDOM&&this.contentDOM.contains(e.nodeType==1?e:e.parentNode))if(r<0){let i,s;if(e==this.contentDOM)i=e.childNodes[t-1];else{for(;e.parentNode!=this.contentDOM;)e=e.parentNode;i=e.previousSibling}for(;i&&!((s=i.pmViewDesc)&&s.parent==this);)i=i.previousSibling;return i?this.posBeforeChild(s)+s.size:this.posAtStart}else{let i,s;if(e==this.contentDOM)i=e.childNodes[t];else{for(;e.parentNode!=this.contentDOM;)e=e.parentNode;i=e.nextSibling}for(;i&&!((s=i.pmViewDesc)&&s.parent==this);)i=i.nextSibling;return i?this.posBeforeChild(s):this.posAtEnd}let o;if(e==this.dom&&this.contentDOM)o=t>ct(this.contentDOM);else if(this.contentDOM&&this.contentDOM!=this.dom&&this.dom.contains(this.contentDOM))o=e.compareDocumentPosition(this.contentDOM)&2;else if(this.dom.firstChild){if(t==0)for(let i=e;;i=i.parentNode){if(i==this.dom){o=!1;break}if(i.previousSibling)break}if(o==null&&t==e.childNodes.length)for(let i=e;;i=i.parentNode){if(i==this.dom){o=!0;break}if(i.nextSibling)break}}return o??r>0?this.posAtEnd:this.posAtStart}nearestDesc(e,t=!1){for(let r=!0,o=e;o;o=o.parentNode){let i=this.getDesc(o),s;if(i&&(!t||i.node))if(r&&(s=i.nodeDOM)&&!(s.nodeType==1?s.contains(e.nodeType==1?e:e.parentNode):s==e))r=!1;else return i}}getDesc(e){let t=e.pmViewDesc;for(let r=t;r;r=r.parent)if(r==this)return t}posFromDOM(e,t,r){for(let o=e;o;o=o.parentNode){let i=this.getDesc(o);if(i)return i.localPosFromDOM(e,t,r)}return-1}descAt(e){for(let t=0,r=0;t<this.children.length;t++){let o=this.children[t],i=r+o.size;if(r==e&&i!=r){for(;!o.border&&o.children.length;)o=o.children[0];return o}if(e<i)return o.descAt(e-r-o.border);r=i}}domFromPos(e,t){if(!this.contentDOM)return{node:this.dom,offset:0,atom:e+1};let r=0,o=0;for(let i=0;r<this.children.length;r++){let s=this.children[r],l=i+s.size;if(l>e||s instanceof If){o=e-i;break}i=l}if(o)return this.children[r].domFromPos(o-this.children[r].border,t);for(let i;r&&!(i=this.children[r-1]).size&&i instanceof Tf&&i.side>=0;r--);if(t<=0){let i,s=!0;for(;i=r?this.children[r-1]:null,!(!i||i.dom.parentNode==this.contentDOM);r--,s=!1);return i&&t&&s&&!i.border&&!i.domAtom?i.domFromPos(i.size,t):{node:this.contentDOM,offset:i?ct(i.dom)+1:0}}else{let i,s=!0;for(;i=r<this.children.length?this.children[r]:null,!(!i||i.dom.parentNode==this.contentDOM);r++,s=!1);return i&&s&&!i.border&&!i.domAtom?i.domFromPos(0,t):{node:this.contentDOM,offset:i?ct(i.dom):this.contentDOM.childNodes.length}}}parseRange(e,t,r=0){if(this.children.length==0)return{node:this.contentDOM,from:e,to:t,fromOffset:0,toOffset:this.contentDOM.childNodes.length};let o=-1,i=-1;for(let s=r,l=0;;l++){let a=this.children[l],d=s+a.size;if(o==-1&&e<=d){let u=s+a.border;if(e>=u&&t<=d-a.border&&a.node&&a.contentDOM&&this.contentDOM.contains(a.contentDOM))return a.parseRange(e,t,u);e=s;for(let f=l;f>0;f--){let h=this.children[f-1];if(h.size&&h.dom.parentNode==this.contentDOM&&!h.emptyChildAt(1)){o=ct(h.dom)+1;break}e-=h.size}o==-1&&(o=0)}if(o>-1&&(d>t||l==this.children.length-1)){t=d;for(let u=l+1;u<this.children.length;u++){let f=this.children[u];if(f.size&&f.dom.parentNode==this.contentDOM&&!f.emptyChildAt(-1)){i=ct(f.dom);break}t+=f.size}i==-1&&(i=this.contentDOM.childNodes.length);break}s=d}return{node:this.contentDOM,from:e,to:t,fromOffset:o,toOffset:i}}emptyChildAt(e){if(this.border||!this.contentDOM||!this.children.length)return!1;let t=this.children[e<0?0:this.children.length-1];return t.size==0||t.emptyChildAt(e)}domAfterPos(e){let{node:t,offset:r}=this.domFromPos(e,0);if(t.nodeType!=1||r==t.childNodes.length)throw new RangeError("No node after pos "+e);return t.childNodes[r]}setSelection(e,t,r,o=!1){let i=Math.min(e,t),s=Math.max(e,t);for(let h=0,p=0;h<this.children.length;h++){let m=this.children[h],g=p+m.size;if(i>p&&s<g)return m.setSelection(e-p-m.border,t-p-m.border,r,o);p=g}let l=this.domFromPos(e,e?-1:1),a=t==e?l:this.domFromPos(t,t?-1:1),d=r.getSelection(),u=!1;if((Wt||dt)&&e==t){let{node:h,offset:p}=l;if(h.nodeType==3){if(u=!!(p&&h.nodeValue[p-1]==`
|
|
66
|
-
`),u&&p==h.nodeValue.length)for(let m=h,g;m;m=m.parentNode){if(g=m.nextSibling){g.nodeName=="BR"&&(l=a={node:g.parentNode,offset:ct(g)+1});break}let v=m.pmViewDesc;if(v&&v.node&&v.node.isBlock)break}}else{let m=h.childNodes[p-1];u=m&&(m.nodeName=="BR"||m.contentEditable=="false")}}if(Wt&&d.focusNode&&d.focusNode!=a.node&&d.focusNode.nodeType==1){let h=d.focusNode.childNodes[d.focusOffset];h&&h.contentEditable=="false"&&(o=!0)}if(!(o||u&&dt)&&ar(l.node,l.offset,d.anchorNode,d.anchorOffset)&&ar(a.node,a.offset,d.focusNode,d.focusOffset))return;let f=!1;if((d.extend||e==t)&&!u){d.collapse(l.node,l.offset);try{e!=t&&d.extend(a.node,a.offset),f=!0}catch{}}if(!f){if(e>t){let p=l;l=a,a=p}let h=document.createRange();h.setEnd(a.node,a.offset),h.setStart(l.node,l.offset),d.removeAllRanges(),d.addRange(h)}}ignoreMutation(e){return!this.contentDOM&&e.type!="selection"}get contentLost(){return this.contentDOM&&this.contentDOM!=this.dom&&!this.dom.contains(this.contentDOM)}markDirty(e,t){for(let r=0,o=0;o<this.children.length;o++){let i=this.children[o],s=r+i.size;if(r==s?e<=s&&t>=r:e<s&&t>r){let l=r+i.border,a=s-i.border;if(e>=l&&t<=a){this.dirty=e==r||t==s?cr:xf,e==l&&t==a&&(i.contentLost||i.dom.parentNode!=this.contentDOM)?i.dirty=en:i.markDirty(e-l,t-l);return}else i.dirty=i.dom==i.contentDOM&&i.dom.parentNode==this.contentDOM&&!i.children.length?cr:en}r=s}this.dirty=cr}markParentsDirty(){let e=1;for(let t=this.parent;t;t=t.parent,e++){let r=e==1?cr:xf;t.dirty<r&&(t.dirty=r)}}get domAtom(){return!1}get ignoreForCoords(){return!1}}class Tf extends _o{constructor(e,t,r,o){let i,s=t.type.toDOM;if(typeof s=="function"&&(s=s(r,()=>{if(!i)return o;if(i.parent)return i.parent.posBeforeChild(i)})),!t.type.spec.raw){if(s.nodeType!=1){let l=document.createElement("span");l.appendChild(s),s=l}s.contentEditable="false",s.classList.add("ProseMirror-widget")}super(e,[],s,null),this.widget=t,this.widget=t,i=this}matchesWidget(e){return this.dirty==_t&&e.type.eq(this.widget.type)}parseRule(){return{ignore:!0}}stopEvent(e){let t=this.widget.spec.stopEvent;return t?t(e):!1}ignoreMutation(e){return e.type!="selection"||this.widget.spec.ignoreSelection}destroy(){this.widget.type.destroy(this.dom),super.destroy()}get domAtom(){return!0}get side(){return this.widget.type.side}}class i8 extends _o{constructor(e,t,r,o){super(e,[],t,null),this.textDOM=r,this.text=o}get size(){return this.text.length}localPosFromDOM(e,t){return e!=this.textDOM?this.posAtStart+(t?this.size:0):this.posAtStart+t}domFromPos(e){return{node:this.textDOM,offset:e}}ignoreMutation(e){return e.type==="characterData"&&e.target.nodeValue==e.oldValue}}class dr extends _o{constructor(e,t,r,o){super(e,[],r,o),this.mark=t}static create(e,t,r,o){let i=o.nodeViews[t.type.name],s=i&&i(t,o,r);return(!s||!s.dom)&&(s=Zt.renderSpec(document,t.type.spec.toDOM(t,r))),new dr(e,t,s.dom,s.contentDOM||s.dom)}parseRule(){return this.dirty&en||this.mark.type.spec.reparseInView?null:{mark:this.mark.type.name,attrs:this.mark.attrs,contentElement:this.contentDOM}}matchesMark(e){return this.dirty!=en&&this.mark.eq(e)}markDirty(e,t){if(super.markDirty(e,t),this.dirty!=_t){let r=this.parent;for(;!r.node;)r=r.parent;r.dirty<this.dirty&&(r.dirty=this.dirty),this.dirty=_t}}slice(e,t,r){let o=dr.create(this.parent,this.mark,!0,r),i=this.children,s=this.size;t<s&&(i=ol(i,t,s,r)),e>0&&(i=ol(i,0,e,r));for(let l=0;l<i.length;l++)i[l].parent=o;return o.children=i,o}}class In extends _o{constructor(e,t,r,o,i,s,l,a,d){super(e,[],i,s),this.node=t,this.outerDeco=r,this.innerDeco=o,this.nodeDOM=l}static create(e,t,r,o,i,s){let l=i.nodeViews[t.type.name],a,d=l&&l(t,i,()=>{if(!a)return s;if(a.parent)return a.parent.posBeforeChild(a)},r,o),u=d&&d.dom,f=d&&d.contentDOM;if(t.isText){if(!u)u=document.createTextNode(t.text);else if(u.nodeType!=3)throw new RangeError("Text must be rendered as a DOM text node")}else u||({dom:u,contentDOM:f}=Zt.renderSpec(document,t.type.spec.toDOM(t)));!f&&!t.isText&&u.nodeName!="BR"&&(u.hasAttribute("contenteditable")||(u.contentEditable="false"),t.type.spec.draggable&&(u.draggable=!0));let h=u;return u=Nf(u,r,t),d?a=new s8(e,t,r,o,u,f||null,h,d,i,s+1):t.isText?new Li(e,t,r,o,u,h,i):new In(e,t,r,o,u,f||null,h,i,s+1)}parseRule(){if(this.node.type.spec.reparseInView)return null;let e={node:this.node.type.name,attrs:this.node.attrs};if(this.node.type.whitespace=="pre"&&(e.preserveWhitespace="full"),!this.contentDOM)e.getContent=()=>this.node.content;else if(!this.contentLost)e.contentElement=this.contentDOM;else{for(let t=this.children.length-1;t>=0;t--){let r=this.children[t];if(this.dom.contains(r.dom.parentNode)){e.contentElement=r.dom.parentNode;break}}e.contentElement||(e.getContent=()=>le.empty)}return e}matchesNode(e,t,r){return this.dirty==_t&&e.eq(this.node)&&rl(t,this.outerDeco)&&r.eq(this.innerDeco)}get size(){return this.node.nodeSize}get border(){return this.node.isLeaf?0:1}updateChildren(e,t){let r=this.node.inlineContent,o=t,i=e.composing?this.localCompositionInfo(e,t):null,s=i&&i.pos>-1?i:null,l=i&&i.pos<0,a=new l8(this,s&&s.node,e);u8(this.node,this.innerDeco,(d,u,f)=>{d.spec.marks?a.syncToMarks(d.spec.marks,r,e):d.type.side>=0&&!f&&a.syncToMarks(u==this.node.childCount?Fe.none:this.node.child(u).marks,r,e),a.placeWidget(d,e,o)},(d,u,f,h)=>{a.syncToMarks(d.marks,r,e);let p;a.findNodeMatch(d,u,f,h)||l&&e.state.selection.from>o&&e.state.selection.to<o+d.nodeSize&&(p=a.findIndexWithChild(i.node))>-1&&a.updateNodeAt(d,u,f,p,e)||a.updateNextNode(d,u,f,e,h,o)||a.addNode(d,u,f,e,o),o+=d.nodeSize}),a.syncToMarks([],r,e),this.node.isTextblock&&a.addTextblockHacks(),a.destroyRest(),(a.changed||this.dirty==cr)&&(s&&this.protectLocalComposition(e,s),Of(this.contentDOM,this.children,e),Fr&&f8(this.dom))}localCompositionInfo(e,t){let{from:r,to:o}=e.state.selection;if(!(e.state.selection instanceof Re)||r<t||o>t+this.node.content.size)return null;let i=e.domSelectionRange(),s=h8(i.focusNode,i.focusOffset);if(!s||!this.dom.contains(s.parentNode))return null;if(this.node.inlineContent){let l=s.nodeValue,a=p8(this.node.content,l,r-t,o-t);return a<0?null:{node:s,pos:a,text:l}}else return{node:s,pos:-1,text:""}}protectLocalComposition(e,{node:t,pos:r,text:o}){if(this.getDesc(t))return;let i=t;for(;i.parentNode!=this.contentDOM;i=i.parentNode){for(;i.previousSibling;)i.parentNode.removeChild(i.previousSibling);for(;i.nextSibling;)i.parentNode.removeChild(i.nextSibling);i.pmViewDesc&&(i.pmViewDesc=void 0)}let s=new i8(this,i,t,o);e.input.compositionNodes.push(s),this.children=ol(this.children,r,r+o.length,e,s)}update(e,t,r,o){return this.dirty==en||!e.sameMarkup(this.node)?!1:(this.updateInner(e,t,r,o),!0)}updateInner(e,t,r,o){this.updateOuterDeco(t),this.node=e,this.innerDeco=r,this.contentDOM&&this.updateChildren(o,this.posAtStart),this.dirty=_t}updateOuterDeco(e){if(rl(e,this.outerDeco))return;let t=this.nodeDOM.nodeType!=1,r=this.dom;this.dom=_f(this.dom,this.nodeDOM,nl(this.outerDeco,this.node,t),nl(e,this.node,t)),this.dom!=r&&(r.pmViewDesc=void 0,this.dom.pmViewDesc=this),this.outerDeco=e}selectNode(){this.nodeDOM.nodeType==1&&this.nodeDOM.classList.add("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&(this.dom.draggable=!0)}deselectNode(){this.nodeDOM.nodeType==1&&this.nodeDOM.classList.remove("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&this.dom.removeAttribute("draggable")}get domAtom(){return this.node.isAtom}}function Mf(n,e,t,r,o){Nf(r,e,n);let i=new In(void 0,n,e,t,r,r,r,o,0);return i.contentDOM&&i.updateChildren(o,0),i}class Li extends In{constructor(e,t,r,o,i,s,l){super(e,t,r,o,i,null,s,l,0)}parseRule(){let e=this.nodeDOM.parentNode;for(;e&&e!=this.dom&&!e.pmIsDeco;)e=e.parentNode;return{skip:e||!0}}update(e,t,r,o){return this.dirty==en||this.dirty!=_t&&!this.inParent()||!e.sameMarkup(this.node)?!1:(this.updateOuterDeco(t),(this.dirty!=_t||e.text!=this.node.text)&&e.text!=this.nodeDOM.nodeValue&&(this.nodeDOM.nodeValue=e.text,o.trackWrites==this.nodeDOM&&(o.trackWrites=null)),this.node=e,this.dirty=_t,!0)}inParent(){let e=this.parent.contentDOM;for(let t=this.nodeDOM;t;t=t.parentNode)if(t==e)return!0;return!1}domFromPos(e){return{node:this.nodeDOM,offset:e}}localPosFromDOM(e,t,r){return e==this.nodeDOM?this.posAtStart+Math.min(t,this.node.text.length):super.localPosFromDOM(e,t,r)}ignoreMutation(e){return e.type!="characterData"&&e.type!="selection"}slice(e,t,r){let o=this.node.cut(e,t),i=document.createTextNode(o.text);return new Li(this.parent,o,this.outerDeco,this.innerDeco,i,i,r)}markDirty(e,t){super.markDirty(e,t),this.dom!=this.nodeDOM&&(e==0||t==this.nodeDOM.nodeValue.length)&&(this.dirty=en)}get domAtom(){return!1}}class If extends _o{parseRule(){return{ignore:!0}}matchesHack(e){return this.dirty==_t&&this.dom.nodeName==e}get domAtom(){return!0}get ignoreForCoords(){return this.dom.nodeName=="IMG"}}class s8 extends In{constructor(e,t,r,o,i,s,l,a,d,u){super(e,t,r,o,i,s,l,d,u),this.spec=a}update(e,t,r,o){if(this.dirty==en)return!1;if(this.spec.update){let i=this.spec.update(e,t,r);return i&&this.updateInner(e,t,r,o),i}else return!this.contentDOM&&!e.isLeaf?!1:super.update(e,t,r,o)}selectNode(){this.spec.selectNode?this.spec.selectNode():super.selectNode()}deselectNode(){this.spec.deselectNode?this.spec.deselectNode():super.deselectNode()}setSelection(e,t,r,o){this.spec.setSelection?this.spec.setSelection(e,t,r):super.setSelection(e,t,r,o)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}stopEvent(e){return this.spec.stopEvent?this.spec.stopEvent(e):!1}ignoreMutation(e){return this.spec.ignoreMutation?this.spec.ignoreMutation(e):super.ignoreMutation(e)}}function Of(n,e,t){let r=n.firstChild,o=!1;for(let i=0;i<e.length;i++){let s=e[i],l=s.dom;if(l.parentNode==n){for(;l!=r;)r=Lf(r),o=!0;r=r.nextSibling}else o=!0,n.insertBefore(l,r);if(s instanceof dr){let a=r?r.previousSibling:n.lastChild;Of(s.contentDOM,s.children,t),r=a?a.nextSibling:n.firstChild}}for(;r;)r=Lf(r),o=!0;o&&t.trackWrites==n&&(t.trackWrites=null)}const No=function(n){n&&(this.nodeName=n)};No.prototype=Object.create(null);const ur=[new No];function nl(n,e,t){if(n.length==0)return ur;let r=t?ur[0]:new No,o=[r];for(let i=0;i<n.length;i++){let s=n[i].type.attrs;if(s){s.nodeName&&o.push(r=new No(s.nodeName));for(let l in s){let a=s[l];a!=null&&(t&&o.length==1&&o.push(r=new No(e.isInline?"span":"div")),l=="class"?r.class=(r.class?r.class+" ":"")+a:l=="style"?r.style=(r.style?r.style+";":"")+a:l!="nodeName"&&(r[l]=a))}}}return o}function _f(n,e,t,r){if(t==ur&&r==ur)return e;let o=e;for(let i=0;i<r.length;i++){let s=r[i],l=t[i];if(i){let a;l&&l.nodeName==s.nodeName&&o!=n&&(a=o.parentNode)&&a.nodeName.toLowerCase()==s.nodeName||(a=document.createElement(s.nodeName),a.pmIsDeco=!0,a.appendChild(o),l=ur[0]),o=a}a8(o,l||ur[0],s)}return o}function a8(n,e,t){for(let r in e)r!="class"&&r!="style"&&r!="nodeName"&&!(r in t)&&n.removeAttribute(r);for(let r in t)r!="class"&&r!="style"&&r!="nodeName"&&t[r]!=e[r]&&n.setAttribute(r,t[r]);if(e.class!=t.class){let r=e.class?e.class.split(" ").filter(Boolean):[],o=t.class?t.class.split(" ").filter(Boolean):[];for(let i=0;i<r.length;i++)o.indexOf(r[i])==-1&&n.classList.remove(r[i]);for(let i=0;i<o.length;i++)r.indexOf(o[i])==-1&&n.classList.add(o[i]);n.classList.length==0&&n.removeAttribute("class")}if(e.style!=t.style){if(e.style){let r=/\s*([\w\-\xa1-\uffff]+)\s*:(?:"(?:\\.|[^"])*"|'(?:\\.|[^'])*'|\(.*?\)|[^;])*/g,o;for(;o=r.exec(e.style);)n.style.removeProperty(o[1])}t.style&&(n.style.cssText+=t.style)}}function Nf(n,e,t){return _f(n,n,ur,nl(e,t,n.nodeType!=1))}function rl(n,e){if(n.length!=e.length)return!1;for(let t=0;t<n.length;t++)if(!n[t].type.eq(e[t].type))return!1;return!0}function Lf(n){let e=n.nextSibling;return n.parentNode.removeChild(n),e}class l8{constructor(e,t,r){this.lock=t,this.view=r,this.index=0,this.stack=[],this.changed=!1,this.top=e,this.preMatch=c8(e.node.content,e)}destroyBetween(e,t){if(e!=t){for(let r=e;r<t;r++)this.top.children[r].destroy();this.top.children.splice(e,t-e),this.changed=!0}}destroyRest(){this.destroyBetween(this.index,this.top.children.length)}syncToMarks(e,t,r){let o=0,i=this.stack.length>>1,s=Math.min(i,e.length);for(;o<s&&(o==i-1?this.top:this.stack[o+1<<1]).matchesMark(e[o])&&e[o].type.spec.spanning!==!1;)o++;for(;o<i;)this.destroyRest(),this.top.dirty=_t,this.index=this.stack.pop(),this.top=this.stack.pop(),i--;for(;i<e.length;){this.stack.push(this.top,this.index+1);let l=-1;for(let a=this.index;a<Math.min(this.index+3,this.top.children.length);a++){let d=this.top.children[a];if(d.matchesMark(e[i])&&!this.isLocked(d.dom)){l=a;break}}if(l>-1)l>this.index&&(this.changed=!0,this.destroyBetween(this.index,l)),this.top=this.top.children[this.index];else{let a=dr.create(this.top,e[i],t,r);this.top.children.splice(this.index,0,a),this.top=a,this.changed=!0}this.index=0,i++}}findNodeMatch(e,t,r,o){let i=-1,s;if(o>=this.preMatch.index&&(s=this.preMatch.matches[o-this.preMatch.index]).parent==this.top&&s.matchesNode(e,t,r))i=this.top.children.indexOf(s,this.index);else for(let l=this.index,a=Math.min(this.top.children.length,l+5);l<a;l++){let d=this.top.children[l];if(d.matchesNode(e,t,r)&&!this.preMatch.matched.has(d)){i=l;break}}return i<0?!1:(this.destroyBetween(this.index,i),this.index++,!0)}updateNodeAt(e,t,r,o,i){let s=this.top.children[o];return s.dirty==en&&s.dom==s.contentDOM&&(s.dirty=cr),s.update(e,t,r,i)?(this.destroyBetween(this.index,o),this.index++,!0):!1}findIndexWithChild(e){for(;;){let t=e.parentNode;if(!t)return-1;if(t==this.top.contentDOM){let r=e.pmViewDesc;if(r){for(let o=this.index;o<this.top.children.length;o++)if(this.top.children[o]==r)return o}return-1}e=t}}updateNextNode(e,t,r,o,i,s){for(let l=this.index;l<this.top.children.length;l++){let a=this.top.children[l];if(a instanceof In){let d=this.preMatch.matched.get(a);if(d!=null&&d!=i)return!1;let u=a.dom,f,h=this.isLocked(u)&&!(e.isText&&a.node&&a.node.isText&&a.nodeDOM.nodeValue==e.text&&a.dirty!=en&&rl(t,a.outerDeco));if(!h&&a.update(e,t,r,o))return this.destroyBetween(this.index,l),a.dom!=u&&(this.changed=!0),this.index++,!0;if(!h&&(f=this.recreateWrapper(a,e,t,r,o,s)))return this.top.children[this.index]=f,f.contentDOM&&(f.dirty=cr,f.updateChildren(o,s+1),f.dirty=_t),this.changed=!0,this.index++,!0;break}}return!1}recreateWrapper(e,t,r,o,i,s){if(e.dirty||t.isAtom||!e.children.length||!e.node.content.eq(t.content))return null;let l=In.create(this.top,t,r,o,i,s);if(l.contentDOM){l.children=e.children,e.children=[];for(let a of l.children)a.parent=l}return e.destroy(),l}addNode(e,t,r,o,i){let s=In.create(this.top,e,t,r,o,i);s.contentDOM&&s.updateChildren(o,i+1),this.top.children.splice(this.index++,0,s),this.changed=!0}placeWidget(e,t,r){let o=this.index<this.top.children.length?this.top.children[this.index]:null;if(o&&o.matchesWidget(e)&&(e==o.widget||!o.widget.type.toDOM.parentNode))this.index++;else{let i=new Tf(this.top,e,t,r);this.top.children.splice(this.index++,0,i),this.changed=!0}}addTextblockHacks(){let e=this.top.children[this.index-1],t=this.top;for(;e instanceof dr;)t=e,e=t.children[t.children.length-1];(!e||!(e instanceof Li)||/\n$/.test(e.node.text)||this.view.requiresGeckoHackNode&&/\s$/.test(e.node.text))&&((dt||it)&&e&&e.dom.contentEditable=="false"&&this.addHackNode("IMG",t),this.addHackNode("BR",this.top))}addHackNode(e,t){if(t==this.top&&this.index<t.children.length&&t.children[this.index].matchesHack(e))this.index++;else{let r=document.createElement(e);e=="IMG"&&(r.className="ProseMirror-separator",r.alt=""),e=="BR"&&(r.className="ProseMirror-trailingBreak");let o=new If(this.top,[],r,null);t!=this.top?t.children.push(o):t.children.splice(this.index++,0,o),this.changed=!0}}isLocked(e){return this.lock&&(e==this.lock||e.nodeType==1&&e.contains(this.lock.parentNode))}}function c8(n,e){let t=e,r=t.children.length,o=n.childCount,i=new Map,s=[];e:for(;o>0;){let l;for(;;)if(r){let d=t.children[r-1];if(d instanceof dr)t=d,r=d.children.length;else{l=d,r--;break}}else{if(t==e)break e;r=t.parent.children.indexOf(t),t=t.parent}let a=l.node;if(a){if(a!=n.child(o-1))break;--o,i.set(l,o),s.push(l)}}return{index:o,matched:i,matches:s.reverse()}}function d8(n,e){return n.type.side-e.type.side}function u8(n,e,t,r){let o=e.locals(n),i=0;if(o.length==0){for(let d=0;d<n.childCount;d++){let u=n.child(d);r(u,o,e.forChild(i,u),d),i+=u.nodeSize}return}let s=0,l=[],a=null;for(let d=0;;){let u,f;for(;s<o.length&&o[s].to==i;){let v=o[s++];v.widget&&(u?(f||(f=[u])).push(v):u=v)}if(u)if(f){f.sort(d8);for(let v=0;v<f.length;v++)t(f[v],d,!!a)}else t(u,d,!!a);let h,p;if(a)p=-1,h=a,a=null;else if(d<n.childCount)p=d,h=n.child(d++);else break;for(let v=0;v<l.length;v++)l[v].to<=i&&l.splice(v--,1);for(;s<o.length&&o[s].from<=i&&o[s].to>i;)l.push(o[s++]);let m=i+h.nodeSize;if(h.isText){let v=m;s<o.length&&o[s].from<v&&(v=o[s].from);for(let b=0;b<l.length;b++)l[b].to<v&&(v=l[b].to);v<m&&(a=h.cut(v-i),h=h.cut(0,v-i),m=v,p=-1)}let g=h.isInline&&!h.isLeaf?l.filter(v=>!v.inline):l.slice();r(h,g,e.forChild(i,h),p),i=m}}function f8(n){if(n.nodeName=="UL"||n.nodeName=="OL"){let e=n.style.cssText;n.style.cssText=e+"; list-style: square !important",window.getComputedStyle(n).listStyle,n.style.cssText=e}}function h8(n,e){for(;;){if(n.nodeType==3)return n;if(n.nodeType==1&&e>0){if(n.childNodes.length>e&&n.childNodes[e].nodeType==3)return n.childNodes[e];n=n.childNodes[e-1],e=Xt(n)}else if(n.nodeType==1&&e<n.childNodes.length)n=n.childNodes[e],e=0;else return null}}function p8(n,e,t,r){for(let o=0,i=0;o<n.childCount&&i<=r;){let s=n.child(o++),l=i;if(i+=s.nodeSize,!s.isText)continue;let a=s.text;for(;o<n.childCount;){let d=n.child(o++);if(i+=d.nodeSize,!d.isText)break;a+=d.text}if(i>=t){if(i>=r&&a.slice(r-e.length-l,r-l)==e)return r-e.length;let d=l<r?a.lastIndexOf(e,r-l-1):-1;if(d>=0&&d+e.length+l>=t)return l+d;if(t==r&&a.length>=r+e.length-l&&a.slice(r-l,r-l+e.length)==e)return r}}return-1}function ol(n,e,t,r,o){let i=[];for(let s=0,l=0;s<n.length;s++){let a=n[s],d=l,u=l+=a.size;d>=t||u<=e?i.push(a):(d<e&&i.push(a.slice(0,e-d,r)),o&&(i.push(o),o=void 0),u>t&&i.push(a.slice(t-d,a.size,r)))}return i}function il(n,e=null){let t=n.domSelectionRange(),r=n.state.doc;if(!t.focusNode)return null;let o=n.docView.nearestDesc(t.focusNode),i=o&&o.size==0,s=n.docView.posFromDOM(t.focusNode,t.focusOffset,1);if(s<0)return null;let l=r.resolve(s),a,d;if(Ni(t)){for(a=l;o&&!o.node;)o=o.parent;let u=o.node;if(o&&u.isAtom&&Me.isSelectable(u)&&o.parent&&!(u.isInline&&F4(t.focusNode,t.focusOffset,o.dom))){let f=o.posBefore;d=new Me(s==f?l:r.resolve(f))}}else{let u=n.docView.posFromDOM(t.anchorNode,t.anchorOffset,1);if(u<0)return null;a=r.resolve(u)}if(!d){let u=e=="pointer"||n.state.selection.head<l.pos&&!i?1:-1;d=al(n,a,l,u)}return d}function Df(n){return n.editable?n.hasFocus():zf(n)&&document.activeElement&&document.activeElement.contains(n.dom)}function hn(n,e=!1){let t=n.state.selection;if(Ff(n,t),!!Df(n)){if(!e&&n.input.mouseDown&&n.input.mouseDown.allowDefault&&it){let r=n.domSelectionRange(),o=n.domObserver.currentSelection;if(r.anchorNode&&o.anchorNode&&ar(r.anchorNode,r.anchorOffset,o.anchorNode,o.anchorOffset)){n.input.mouseDown.delayedSelectionSync=!0,n.domObserver.setCurSelection();return}}if(n.domObserver.disconnectSelection(),n.cursorWrapper)g8(n);else{let{anchor:r,head:o}=t,i,s;Bf&&!(t instanceof Re)&&(t.$from.parent.inlineContent||(i=Rf(n,t.from)),!t.empty&&!t.$from.parent.inlineContent&&(s=Rf(n,t.to))),n.docView.setSelection(r,o,n.root,e),Bf&&(i&&Pf(i),s&&Pf(s)),t.visible?n.dom.classList.remove("ProseMirror-hideselection"):(n.dom.classList.add("ProseMirror-hideselection"),"onselectionchange"in document&&m8(n))}n.domObserver.setCurSelection(),n.domObserver.connectSelection()}}const Bf=dt||it&&z4<63;function Rf(n,e){let{node:t,offset:r}=n.docView.domFromPos(e,0),o=r<t.childNodes.length?t.childNodes[r]:null,i=r?t.childNodes[r-1]:null;if(dt&&o&&o.contentEditable=="false")return sl(o);if((!o||o.contentEditable=="false")&&(!i||i.contentEditable=="false")){if(o)return sl(o);if(i)return sl(i)}}function sl(n){return n.contentEditable="true",dt&&n.draggable&&(n.draggable=!1,n.wasDraggable=!0),n}function Pf(n){n.contentEditable="false",n.wasDraggable&&(n.draggable=!0,n.wasDraggable=null)}function m8(n){let e=n.dom.ownerDocument;e.removeEventListener("selectionchange",n.input.hideSelectionGuard);let t=n.domSelectionRange(),r=t.anchorNode,o=t.anchorOffset;e.addEventListener("selectionchange",n.input.hideSelectionGuard=()=>{(t.anchorNode!=r||t.anchorOffset!=o)&&(e.removeEventListener("selectionchange",n.input.hideSelectionGuard),setTimeout(()=>{(!Df(n)||n.state.selection.visible)&&n.dom.classList.remove("ProseMirror-hideselection")},20))})}function g8(n){let e=n.domSelection(),t=document.createRange(),r=n.cursorWrapper.dom,o=r.nodeName=="IMG";o?t.setEnd(r.parentNode,ct(r)+1):t.setEnd(r,0),t.collapse(!1),e.removeAllRanges(),e.addRange(t),!o&&!n.state.selection.visible&&Ct&&Tn<=11&&(r.disabled=!0,r.disabled=!1)}function Ff(n,e){if(e instanceof Me){let t=n.docView.descAt(e.from);t!=n.lastSelectedViewDesc&&(Vf(n),t&&t.selectNode(),n.lastSelectedViewDesc=t)}else Vf(n)}function Vf(n){n.lastSelectedViewDesc&&(n.lastSelectedViewDesc.parent&&n.lastSelectedViewDesc.deselectNode(),n.lastSelectedViewDesc=void 0)}function al(n,e,t,r){return n.someProp("createSelectionBetween",o=>o(n,e,t))||Re.between(e,t,r)}function $f(n){return n.editable&&!n.hasFocus()?!1:zf(n)}function zf(n){let e=n.domSelectionRange();if(!e.anchorNode)return!1;try{return n.dom.contains(e.anchorNode.nodeType==3?e.anchorNode.parentNode:e.anchorNode)&&(n.editable||n.dom.contains(e.focusNode.nodeType==3?e.focusNode.parentNode:e.focusNode))}catch{return!1}}function v8(n){let e=n.docView.domFromPos(n.state.selection.anchor,0),t=n.domSelectionRange();return ar(e.node,e.offset,t.anchorNode,t.anchorOffset)}function ll(n,e){let{$anchor:t,$head:r}=n.selection,o=e>0?t.max(r):t.min(r),i=o.parent.inlineContent?o.depth?n.doc.resolve(e>0?o.after():o.before()):null:o;return i&&Be.findFrom(i,e)}function On(n,e){return n.dispatch(n.state.tr.setSelection(e).scrollIntoView()),!0}function Hf(n,e,t){let r=n.state.selection;if(r instanceof Re)if(t.indexOf("s")>-1){let{$head:o}=r,i=o.textOffset?null:e<0?o.nodeBefore:o.nodeAfter;if(!i||i.isText||!i.isLeaf)return!1;let s=n.state.doc.resolve(o.pos+i.nodeSize*(e<0?-1:1));return On(n,new Re(r.$anchor,s))}else if(r.empty){if(n.endOfTextblock(e>0?"forward":"backward")){let o=ll(n.state,e);return o&&o instanceof Me?On(n,o):!1}else if(!(Ot&&t.indexOf("m")>-1)){let o=r.$head,i=o.textOffset?null:e<0?o.nodeBefore:o.nodeAfter,s;if(!i||i.isText)return!1;let l=e<0?o.pos-i.nodeSize:o.pos;return i.isAtom||(s=n.docView.descAt(l))&&!s.contentDOM?Me.isSelectable(i)?On(n,new Me(e<0?n.state.doc.resolve(o.pos-i.nodeSize):o)):Io?On(n,new Re(n.state.doc.resolve(e<0?l:l+i.nodeSize))):!1:!1}}else return!1;else{if(r instanceof Me&&r.node.isInline)return On(n,new Re(e>0?r.$to:r.$from));{let o=ll(n.state,e);return o?On(n,o):!1}}}function Di(n){return n.nodeType==3?n.nodeValue.length:n.childNodes.length}function Lo(n,e){let t=n.pmViewDesc;return t&&t.size==0&&(e<0||n.nextSibling||n.nodeName!="BR")}function $r(n,e){return e<0?y8(n):C8(n)}function y8(n){let e=n.domSelectionRange(),t=e.focusNode,r=e.focusOffset;if(!t)return;let o,i,s=!1;for(Wt&&t.nodeType==1&&r<Di(t)&&Lo(t.childNodes[r],-1)&&(s=!0);;)if(r>0){if(t.nodeType!=1)break;{let l=t.childNodes[r-1];if(Lo(l,-1))o=t,i=--r;else if(l.nodeType==3)t=l,r=t.nodeValue.length;else break}}else{if(Uf(t))break;{let l=t.previousSibling;for(;l&&Lo(l,-1);)o=t.parentNode,i=ct(l),l=l.previousSibling;if(l)t=l,r=Di(t);else{if(t=t.parentNode,t==n.dom)break;r=0}}}s?cl(n,t,r):o&&cl(n,o,i)}function C8(n){let e=n.domSelectionRange(),t=e.focusNode,r=e.focusOffset;if(!t)return;let o=Di(t),i,s;for(;;)if(r<o){if(t.nodeType!=1)break;let l=t.childNodes[r];if(Lo(l,1))i=t,s=++r;else break}else{if(Uf(t))break;{let l=t.nextSibling;for(;l&&Lo(l,1);)i=l.parentNode,s=ct(l)+1,l=l.nextSibling;if(l)t=l,r=0,o=Di(t);else{if(t=t.parentNode,t==n.dom)break;r=o=0}}}i&&cl(n,i,s)}function Uf(n){let e=n.pmViewDesc;return e&&e.node&&e.node.isBlock}function E8(n,e){for(;n&&e==n.childNodes.length&&!Za(n);)e=ct(n)+1,n=n.parentNode;for(;n&&e<n.childNodes.length;){let t=n.childNodes[e];if(t.nodeType==3)return t;if(t.nodeType==1&&t.contentEditable=="false")break;n=t,e=0}}function b8(n,e){for(;n&&!e&&!Za(n);)e=ct(n),n=n.parentNode;for(;n&&e;){let t=n.childNodes[e-1];if(t.nodeType==3)return t;if(t.nodeType==1&&t.contentEditable=="false")break;n=t,e=n.childNodes.length}}function cl(n,e,t){if(e.nodeType!=3){let i,s;(s=E8(e,t))?(e=s,t=0):(i=b8(e,t))&&(e=i,t=i.nodeValue.length)}let r=n.domSelection();if(Ni(r)){let i=document.createRange();i.setEnd(e,t),i.setStart(e,t),r.removeAllRanges(),r.addRange(i)}else r.extend&&r.extend(e,t);n.domObserver.setCurSelection();let{state:o}=n;setTimeout(()=>{n.state==o&&hn(n)},50)}function jf(n,e){let t=n.state.doc.resolve(e);if(!(it||H4)&&t.parent.inlineContent){let o=n.coordsAtPos(e);if(e>t.start()){let i=n.coordsAtPos(e-1),s=(i.top+i.bottom)/2;if(s>o.top&&s<o.bottom&&Math.abs(i.left-o.left)>1)return i.left<o.left?"ltr":"rtl"}if(e<t.end()){let i=n.coordsAtPos(e+1),s=(i.top+i.bottom)/2;if(s>o.top&&s<o.bottom&&Math.abs(i.left-o.left)>1)return i.left>o.left?"ltr":"rtl"}}return getComputedStyle(n.dom).direction=="rtl"?"rtl":"ltr"}function Wf(n,e,t){let r=n.state.selection;if(r instanceof Re&&!r.empty||t.indexOf("s")>-1||Ot&&t.indexOf("m")>-1)return!1;let{$from:o,$to:i}=r;if(!o.parent.inlineContent||n.endOfTextblock(e<0?"up":"down")){let s=ll(n.state,e);if(s&&s instanceof Me)return On(n,s)}if(!o.parent.inlineContent){let s=e<0?o:i,l=r instanceof Ut?Be.near(s,e):Be.findFrom(s,e);return l?On(n,l):!1}return!1}function Kf(n,e){if(!(n.state.selection instanceof Re))return!0;let{$head:t,$anchor:r,empty:o}=n.state.selection;if(!t.sameParent(r))return!0;if(!o)return!1;if(n.endOfTextblock(e>0?"forward":"backward"))return!0;let i=!t.textOffset&&(e<0?t.nodeBefore:t.nodeAfter);if(i&&!i.isText){let s=n.state.tr;return e<0?s.delete(t.pos-i.nodeSize,t.pos):s.delete(t.pos,t.pos+i.nodeSize),n.dispatch(s),!0}return!1}function Qf(n,e,t){n.domObserver.stop(),e.contentEditable=t,n.domObserver.start()}function A8(n){if(!dt||n.state.selection.$head.parentOffset>0)return!1;let{focusNode:e,focusOffset:t}=n.domSelectionRange();if(e&&e.nodeType==1&&t==0&&e.firstChild&&e.firstChild.contentEditable=="false"){let r=e.firstChild;Qf(n,r,"true"),setTimeout(()=>Qf(n,r,"false"),20)}return!1}function w8(n){let e="";return n.ctrlKey&&(e+="c"),n.metaKey&&(e+="m"),n.altKey&&(e+="a"),n.shiftKey&&(e+="s"),e}function S8(n,e){let t=e.keyCode,r=w8(e);if(t==8||Ot&&t==72&&r=="c")return Kf(n,-1)||$r(n,-1);if(t==46&&!e.shiftKey||Ot&&t==68&&r=="c")return Kf(n,1)||$r(n,1);if(t==13||t==27)return!0;if(t==37||Ot&&t==66&&r=="c"){let o=t==37?jf(n,n.state.selection.from)=="ltr"?-1:1:-1;return Hf(n,o,r)||$r(n,o)}else if(t==39||Ot&&t==70&&r=="c"){let o=t==39?jf(n,n.state.selection.from)=="ltr"?1:-1:1;return Hf(n,o,r)||$r(n,o)}else{if(t==38||Ot&&t==80&&r=="c")return Wf(n,-1,r)||$r(n,-1);if(t==40||Ot&&t==78&&r=="c")return A8(n)||Wf(n,1,r)||$r(n,1);if(r==(Ot?"m":"c")&&(t==66||t==73||t==89||t==90))return!0}return!1}function Yf(n,e){n.someProp("transformCopied",p=>{e=p(e,n)});let t=[],{content:r,openStart:o,openEnd:i}=e;for(;o>1&&i>1&&r.childCount==1&&r.firstChild.childCount==1;){o--,i--;let p=r.firstChild;t.push(p.type.name,p.attrs!=p.type.defaultAttrs?p.attrs:null),r=p.content}let s=n.someProp("clipboardSerializer")||Zt.fromSchema(n.state.schema),l=nh(),a=l.createElement("div");a.appendChild(s.serializeFragment(r,{document:l}));let d=a.firstChild,u,f=0;for(;d&&d.nodeType==1&&(u=eh[d.nodeName.toLowerCase()]);){for(let p=u.length-1;p>=0;p--){let m=l.createElement(u[p]);for(;a.firstChild;)m.appendChild(a.firstChild);a.appendChild(m),f++}d=a.firstChild}d&&d.nodeType==1&&d.setAttribute("data-pm-slice",`${o} ${i}${f?` -${f}`:""} ${JSON.stringify(t)}`);let h=n.someProp("clipboardTextSerializer",p=>p(e,n))||e.content.textBetween(0,e.content.size,`
|
|
67
|
-
|
|
68
|
-
`);return{dom:a,text:h}}function
|
|
69
|
-
`))),0,0):ye.empty;let f=n.someProp("clipboardTextParser",h=>h(e,o,r,n));if(f)l=f;else{let h=o.marks(),{schema:p}=n.state,m=Zt.fromSchema(p);s=document.createElement("div"),e.split(/(?:\r\n?|\n)+/).forEach(g=>{let v=s.appendChild(document.createElement("p"));g&&v.appendChild(m.serializeNode(p.text(g,h)))})}}else n.someProp("transformPastedHTML",f=>{t=f(t,n)}),s=T8(t),Io&&M8(s);let d=s&&s.querySelector("[data-pm-slice]"),u=d&&/^(\d+) (\d+)(?: -(\d+))? (.*)/.exec(d.getAttribute("data-pm-slice")||"");if(u&&u[3])for(let f=+u[3];f>0;f--){let h=s.firstChild;for(;h&&h.nodeType!=1;)h=h.nextSibling;if(!h)break;s=h}if(l||(l=(n.someProp("clipboardParser")||n.someProp("domParser")||Or.fromSchema(n.state.schema)).parseSlice(s,{preserveWhitespace:!!(a||u),context:o,ruleFromNode(h){return h.nodeName=="BR"&&!h.nextSibling&&h.parentNode&&!k8.test(h.parentNode.nodeName)?{ignore:!0}:null}})),u)l=I8(qf(l,+u[1],+u[2]),u[4]);else if(l=ye.maxOpen(x8(l.content,o),!0),l.openStart||l.openEnd){let f=0,h=0;for(let p=l.content.firstChild;f<l.openStart&&!p.type.spec.isolating;f++,p=p.firstChild);for(let p=l.content.lastChild;h<l.openEnd&&!p.type.spec.isolating;h++,p=p.lastChild);l=qf(l,f,h)}return n.someProp("transformPasted",f=>{l=f(l,n)}),l}const k8=/^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var)$/i;function x8(n,e){if(n.childCount<2)return n;for(let t=e.depth;t>=0;t--){let o=e.node(t).contentMatchAt(e.index(t)),i,s=[];if(n.forEach(l=>{if(!s)return;let a=o.findWrapping(l.type),d;if(!a)return s=null;if(d=s.length&&i.length&&Gf(a,i,l,s[s.length-1],0))s[s.length-1]=d;else{s.length&&(s[s.length-1]=Xf(s[s.length-1],i.length));let u=Zf(l,a);s.push(u),o=o.matchType(u.type),i=a}}),s)return le.from(s)}return n}function Zf(n,e,t=0){for(let r=e.length-1;r>=t;r--)n=e[r].create(null,le.from(n));return n}function Gf(n,e,t,r,o){if(o<n.length&&o<e.length&&n[o]==e[o]){let i=Gf(n,e,t,r.lastChild,o+1);if(i)return r.copy(r.content.replaceChild(r.childCount-1,i));if(r.contentMatchAt(r.childCount).matchType(o==n.length-1?t.type:n[o+1]))return r.copy(r.content.append(le.from(Zf(t,n,o+1))))}}function Xf(n,e){if(e==0)return n;let t=n.content.replaceChild(n.childCount-1,Xf(n.lastChild,e-1)),r=n.contentMatchAt(n.childCount).fillBefore(le.empty,!0);return n.copy(t.append(r))}function dl(n,e,t,r,o,i){let s=e<0?n.firstChild:n.lastChild,l=s.content;return n.childCount>1&&(i=0),o<r-1&&(l=dl(l,e,t,r,o+1,i)),o>=t&&(l=e<0?s.contentMatchAt(0).fillBefore(l,i<=o).append(l):l.append(s.contentMatchAt(s.childCount).fillBefore(le.empty,!0))),n.replaceChild(e<0?0:n.childCount-1,s.copy(l))}function qf(n,e,t){return e<n.openStart&&(n=new ye(dl(n.content,-1,e,n.openStart,0,n.openEnd),e,n.openEnd)),t<n.openEnd&&(n=new ye(dl(n.content,1,t,n.openEnd,0,0),n.openStart,t)),n}const eh={thead:["table"],tbody:["table"],tfoot:["table"],caption:["table"],colgroup:["table"],col:["table","colgroup"],tr:["table","tbody"],td:["table","tbody","tr"],th:["table","tbody","tr"]};let th=null;function nh(){return th||(th=document.implementation.createHTMLDocument("title"))}function T8(n){let e=/^(\s*<meta [^>]*>)*/.exec(n);e&&(n=n.slice(e[0].length));let t=nh().createElement("div"),r=/<([a-z][^>\s]+)/i.exec(n),o;if((o=r&&eh[r[1].toLowerCase()])&&(n=o.map(i=>"<"+i+">").join("")+n+o.map(i=>"</"+i+">").reverse().join("")),t.innerHTML=n,o)for(let i=0;i<o.length;i++)t=t.querySelector(o[i])||t;return t}function M8(n){let e=n.querySelectorAll(it?"span:not([class]):not([style])":"span.Apple-converted-space");for(let t=0;t<e.length;t++){let r=e[t];r.childNodes.length==1&&r.textContent==" "&&r.parentNode&&r.parentNode.replaceChild(n.ownerDocument.createTextNode(" "),r)}}function I8(n,e){if(!n.size)return n;let t=n.content.firstChild.type.schema,r;try{r=JSON.parse(e)}catch{return n}let{content:o,openStart:i,openEnd:s}=n;for(let l=r.length-2;l>=0;l-=2){let a=t.nodes[r[l]];if(!a||a.hasRequiredAttrs())break;o=le.from(a.create(r[l+1],o)),i++,s++}return new ye(o,i,s)}const ut={},ft={},O8={touchstart:!0,touchmove:!0};class _8{constructor(){this.shiftKey=!1,this.mouseDown=null,this.lastKeyCode=null,this.lastKeyCodeTime=0,this.lastClick={time:0,x:0,y:0,type:""},this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastIOSEnter=0,this.lastIOSEnterFallbackTimeout=-1,this.lastFocus=0,this.lastTouch=0,this.lastAndroidDelete=0,this.composing=!1,this.composingTimeout=-1,this.compositionNodes=[],this.compositionEndedAt=-2e8,this.compositionID=1,this.compositionPendingChanges=0,this.domChangeCount=0,this.eventHandlers=Object.create(null),this.hideSelectionGuard=null}}function N8(n){for(let e in ut){let t=ut[e];n.dom.addEventListener(e,n.input.eventHandlers[e]=r=>{D8(n,r)&&!fl(n,r)&&(n.editable||!(r.type in ft))&&t(n,r)},O8[e]?{passive:!0}:void 0)}dt&&n.dom.addEventListener("input",()=>null),ul(n)}function _n(n,e){n.input.lastSelectionOrigin=e,n.input.lastSelectionTime=Date.now()}function L8(n){n.domObserver.stop();for(let e in n.input.eventHandlers)n.dom.removeEventListener(e,n.input.eventHandlers[e]);clearTimeout(n.input.composingTimeout),clearTimeout(n.input.lastIOSEnterFallbackTimeout)}function ul(n){n.someProp("handleDOMEvents",e=>{for(let t in e)n.input.eventHandlers[t]||n.dom.addEventListener(t,n.input.eventHandlers[t]=r=>fl(n,r))})}function fl(n,e){return n.someProp("handleDOMEvents",t=>{let r=t[e.type];return r?r(n,e)||e.defaultPrevented:!1})}function D8(n,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let t=e.target;t!=n.dom;t=t.parentNode)if(!t||t.nodeType==11||t.pmViewDesc&&t.pmViewDesc.stopEvent(e))return!1;return!0}function B8(n,e){!fl(n,e)&&ut[e.type]&&(n.editable||!(e.type in ft))&&ut[e.type](n,e)}ft.keydown=(n,e)=>{let t=e;if(n.input.shiftKey=t.keyCode==16||t.shiftKey,!oh(n,t)&&(n.input.lastKeyCode=t.keyCode,n.input.lastKeyCodeTime=Date.now(),!(Kt&&it&&t.keyCode==13)))if(t.keyCode!=229&&n.domObserver.forceFlush(),Fr&&t.keyCode==13&&!t.ctrlKey&&!t.altKey&&!t.metaKey){let r=Date.now();n.input.lastIOSEnter=r,n.input.lastIOSEnterFallbackTimeout=setTimeout(()=>{n.input.lastIOSEnter==r&&(n.someProp("handleKeyDown",o=>o(n,lr(13,"Enter"))),n.input.lastIOSEnter=0)},200)}else n.someProp("handleKeyDown",r=>r(n,t))||S8(n,t)?t.preventDefault():_n(n,"key")},ft.keyup=(n,e)=>{e.keyCode==16&&(n.input.shiftKey=!1)},ft.keypress=(n,e)=>{let t=e;if(oh(n,t)||!t.charCode||t.ctrlKey&&!t.altKey||Ot&&t.metaKey)return;if(n.someProp("handleKeyPress",o=>o(n,t))){t.preventDefault();return}let r=n.state.selection;if(!(r instanceof Re)||!r.$from.sameParent(r.$to)){let o=String.fromCharCode(t.charCode);!/[\r\n]/.test(o)&&!n.someProp("handleTextInput",i=>i(n,r.$from.pos,r.$to.pos,o))&&n.dispatch(n.state.tr.insertText(o).scrollIntoView()),t.preventDefault()}};function Bi(n){return{left:n.clientX,top:n.clientY}}function R8(n,e){let t=e.x-n.clientX,r=e.y-n.clientY;return t*t+r*r<100}function hl(n,e,t,r,o){if(r==-1)return!1;let i=n.state.doc.resolve(r);for(let s=i.depth+1;s>0;s--)if(n.someProp(e,l=>s>i.depth?l(n,t,i.nodeAfter,i.before(s),o,!0):l(n,t,i.node(s),i.before(s),o,!1)))return!0;return!1}function zr(n,e,t){n.focused||n.focus();let r=n.state.tr.setSelection(e);t=="pointer"&&r.setMeta("pointer",!0),n.dispatch(r)}function P8(n,e){if(e==-1)return!1;let t=n.state.doc.resolve(e),r=t.nodeAfter;return r&&r.isAtom&&Me.isSelectable(r)?(zr(n,new Me(t),"pointer"),!0):!1}function F8(n,e){if(e==-1)return!1;let t=n.state.selection,r,o;t instanceof Me&&(r=t.node);let i=n.state.doc.resolve(e);for(let s=i.depth+1;s>0;s--){let l=s>i.depth?i.nodeAfter:i.node(s);if(Me.isSelectable(l)){r&&t.$from.depth>0&&s>=t.$from.depth&&i.before(t.$from.depth+1)==t.$from.pos?o=i.before(t.$from.depth):o=i.before(s);break}}return o!=null?(zr(n,Me.create(n.state.doc,o),"pointer"),!0):!1}function V8(n,e,t,r,o){return hl(n,"handleClickOn",e,t,r)||n.someProp("handleClick",i=>i(n,e,r))||(o?F8(n,t):P8(n,t))}function $8(n,e,t,r){return hl(n,"handleDoubleClickOn",e,t,r)||n.someProp("handleDoubleClick",o=>o(n,e,r))}function z8(n,e,t,r){return hl(n,"handleTripleClickOn",e,t,r)||n.someProp("handleTripleClick",o=>o(n,e,r))||H8(n,t,r)}function H8(n,e,t){if(t.button!=0)return!1;let r=n.state.doc;if(e==-1)return r.inlineContent?(zr(n,Re.create(r,0,r.content.size),"pointer"),!0):!1;let o=r.resolve(e);for(let i=o.depth+1;i>0;i--){let s=i>o.depth?o.nodeAfter:o.node(i),l=o.before(i);if(s.inlineContent)zr(n,Re.create(r,l+1,l+1+s.content.size),"pointer");else if(Me.isSelectable(s))zr(n,Me.create(r,l),"pointer");else continue;return!0}}function pl(n){return Ri(n)}const rh=Ot?"metaKey":"ctrlKey";ut.mousedown=(n,e)=>{let t=e;n.input.shiftKey=t.shiftKey;let r=pl(n),o=Date.now(),i="singleClick";o-n.input.lastClick.time<500&&R8(t,n.input.lastClick)&&!t[rh]&&(n.input.lastClick.type=="singleClick"?i="doubleClick":n.input.lastClick.type=="doubleClick"&&(i="tripleClick")),n.input.lastClick={time:o,x:t.clientX,y:t.clientY,type:i};let s=n.posAtCoords(Bi(t));s&&(i=="singleClick"?(n.input.mouseDown&&n.input.mouseDown.done(),n.input.mouseDown=new U8(n,s,t,!!r)):(i=="doubleClick"?$8:z8)(n,s.pos,s.inside,t)?t.preventDefault():_n(n,"pointer"))};class U8{constructor(e,t,r,o){this.view=e,this.pos=t,this.event=r,this.flushed=o,this.delayedSelectionSync=!1,this.mightDrag=null,this.startDoc=e.state.doc,this.selectNode=!!r[rh],this.allowDefault=r.shiftKey;let i,s;if(t.inside>-1)i=e.state.doc.nodeAt(t.inside),s=t.inside;else{let u=e.state.doc.resolve(t.pos);i=u.parent,s=u.depth?u.before():0}const l=o?null:r.target,a=l?e.docView.nearestDesc(l,!0):null;this.target=a?a.dom:null;let{selection:d}=e.state;(r.button==0&&i.type.spec.draggable&&i.type.spec.selectable!==!1||d instanceof Me&&d.from<=s&&d.to>s)&&(this.mightDrag={node:i,pos:s,addAttr:!!(this.target&&!this.target.draggable),setUneditable:!!(this.target&&Wt&&!this.target.hasAttribute("contentEditable"))}),this.target&&this.mightDrag&&(this.mightDrag.addAttr||this.mightDrag.setUneditable)&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&(this.target.draggable=!0),this.mightDrag.setUneditable&&setTimeout(()=>{this.view.input.mouseDown==this&&this.target.setAttribute("contentEditable","false")},20),this.view.domObserver.start()),e.root.addEventListener("mouseup",this.up=this.up.bind(this)),e.root.addEventListener("mousemove",this.move=this.move.bind(this)),_n(e,"pointer")}done(){this.view.root.removeEventListener("mouseup",this.up),this.view.root.removeEventListener("mousemove",this.move),this.mightDrag&&this.target&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&this.target.removeAttribute("draggable"),this.mightDrag.setUneditable&&this.target.removeAttribute("contentEditable"),this.view.domObserver.start()),this.delayedSelectionSync&&setTimeout(()=>hn(this.view)),this.view.input.mouseDown=null}up(e){if(this.done(),!this.view.dom.contains(e.target))return;let t=this.pos;this.view.state.doc!=this.startDoc&&(t=this.view.posAtCoords(Bi(e))),this.updateAllowDefault(e),this.allowDefault||!t?_n(this.view,"pointer"):V8(this.view,t.pos,t.inside,e,this.selectNode)?e.preventDefault():e.button==0&&(this.flushed||dt&&this.mightDrag&&!this.mightDrag.node.isAtom||it&&!this.view.state.selection.visible&&Math.min(Math.abs(t.pos-this.view.state.selection.from),Math.abs(t.pos-this.view.state.selection.to))<=2)?(zr(this.view,Be.near(this.view.state.doc.resolve(t.pos)),"pointer"),e.preventDefault()):_n(this.view,"pointer")}move(e){this.updateAllowDefault(e),_n(this.view,"pointer"),e.buttons==0&&this.done()}updateAllowDefault(e){!this.allowDefault&&(Math.abs(this.event.x-e.clientX)>4||Math.abs(this.event.y-e.clientY)>4)&&(this.allowDefault=!0)}}ut.touchstart=n=>{n.input.lastTouch=Date.now(),pl(n),_n(n,"pointer")},ut.touchmove=n=>{n.input.lastTouch=Date.now(),_n(n,"pointer")},ut.contextmenu=n=>pl(n);function oh(n,e){return n.composing?!0:dt&&Math.abs(e.timeStamp-n.input.compositionEndedAt)<500?(n.input.compositionEndedAt=-2e8,!0):!1}const j8=Kt?5e3:-1;ft.compositionstart=ft.compositionupdate=n=>{if(!n.composing){n.domObserver.flush();let{state:e}=n,t=e.selection.$from;if(e.selection.empty&&(e.storedMarks||!t.textOffset&&t.parentOffset&&t.nodeBefore.marks.some(r=>r.type.spec.inclusive===!1)))n.markCursor=n.state.storedMarks||t.marks(),Ri(n,!0),n.markCursor=null;else if(Ri(n),Wt&&e.selection.empty&&t.parentOffset&&!t.textOffset&&t.nodeBefore.marks.length){let r=n.domSelectionRange();for(let o=r.focusNode,i=r.focusOffset;o&&o.nodeType==1&&i!=0;){let s=i<0?o.lastChild:o.childNodes[i-1];if(!s)break;if(s.nodeType==3){n.domSelection().collapse(s,s.nodeValue.length);break}else o=s,i=-1}}n.input.composing=!0}ih(n,j8)},ft.compositionend=(n,e)=>{n.composing&&(n.input.composing=!1,n.input.compositionEndedAt=e.timeStamp,n.input.compositionPendingChanges=n.domObserver.pendingRecords().length?n.input.compositionID:0,n.input.compositionPendingChanges&&Promise.resolve().then(()=>n.domObserver.flush()),n.input.compositionID++,ih(n,20))};function ih(n,e){clearTimeout(n.input.composingTimeout),e>-1&&(n.input.composingTimeout=setTimeout(()=>Ri(n),e))}function sh(n){for(n.composing&&(n.input.composing=!1,n.input.compositionEndedAt=W8());n.input.compositionNodes.length>0;)n.input.compositionNodes.pop().markParentsDirty()}function W8(){let n=document.createEvent("Event");return n.initEvent("event",!0,!0),n.timeStamp}function Ri(n,e=!1){if(!(Kt&&n.domObserver.flushingSoon>=0)){if(n.domObserver.forceFlush(),sh(n),e||n.docView&&n.docView.dirty){let t=il(n);return t&&!t.eq(n.state.selection)?n.dispatch(n.state.tr.setSelection(t)):n.updateState(n.state),!0}return!1}}function K8(n,e){if(!n.dom.parentNode)return;let t=n.dom.parentNode.appendChild(document.createElement("div"));t.appendChild(e),t.style.cssText="position: fixed; left: -10000px; top: 10px";let r=getSelection(),o=document.createRange();o.selectNodeContents(e),n.dom.blur(),r.removeAllRanges(),r.addRange(o),setTimeout(()=>{t.parentNode&&t.parentNode.removeChild(t),n.focus()},50)}const Do=Ct&&Tn<15||Fr&&U4<604;ut.copy=ft.cut=(n,e)=>{let t=e,r=n.state.selection,o=t.type=="cut";if(r.empty)return;let i=Do?null:t.clipboardData,s=r.content(),{dom:l,text:a}=Yf(n,s);i?(t.preventDefault(),i.clearData(),i.setData("text/html",l.innerHTML),i.setData("text/plain",a)):K8(n,l),o&&n.dispatch(n.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent","cut"))};function Q8(n){return n.openStart==0&&n.openEnd==0&&n.content.childCount==1?n.content.firstChild:null}function Y8(n,e){if(!n.dom.parentNode)return;let t=n.input.shiftKey||n.state.selection.$from.parent.type.spec.code,r=n.dom.parentNode.appendChild(document.createElement(t?"textarea":"div"));t||(r.contentEditable="true"),r.style.cssText="position: fixed; left: -10000px; top: 10px",r.focus();let o=n.input.shiftKey&&n.input.lastKeyCode!=45;setTimeout(()=>{n.focus(),r.parentNode&&r.parentNode.removeChild(r),t?Bo(n,r.value,null,o,e):Bo(n,r.textContent,r.innerHTML,o,e)},50)}function Bo(n,e,t,r,o){let i=Jf(n,e,t,r,n.state.selection.$from);if(n.someProp("handlePaste",a=>a(n,o,i||ye.empty)))return!0;if(!i)return!1;let s=Q8(i),l=s?n.state.tr.replaceSelectionWith(s,r):n.state.tr.replaceSelection(i);return n.dispatch(l.scrollIntoView().setMeta("paste",!0).setMeta("uiEvent","paste")),!0}function ah(n){let e=n.getData("text/plain")||n.getData("Text");if(e)return e;let t=n.getData("text/uri-list");return t?t.replace(/\r?\n/g," "):""}ft.paste=(n,e)=>{let t=e;if(n.composing&&!Kt)return;let r=Do?null:t.clipboardData,o=n.input.shiftKey&&n.input.lastKeyCode!=45;r&&Bo(n,ah(r),r.getData("text/html"),o,t)?t.preventDefault():Y8(n,t)};class lh{constructor(e,t,r){this.slice=e,this.move=t,this.node=r}}const ch=Ot?"altKey":"ctrlKey";ut.dragstart=(n,e)=>{let t=e,r=n.input.mouseDown;if(r&&r.done(),!t.dataTransfer)return;let o=n.state.selection,i=o.empty?null:n.posAtCoords(Bi(t)),s;if(!(i&&i.pos>=o.from&&i.pos<=(o instanceof Me?o.to-1:o.to))){if(r&&r.mightDrag)s=Me.create(n.state.doc,r.mightDrag.pos);else if(t.target&&t.target.nodeType==1){let u=n.docView.nearestDesc(t.target,!0);u&&u.node.type.spec.draggable&&u!=n.docView&&(s=Me.create(n.state.doc,u.posBefore))}}let l=(s||n.state.selection).content(),{dom:a,text:d}=Yf(n,l);t.dataTransfer.clearData(),t.dataTransfer.setData(Do?"Text":"text/html",a.innerHTML),t.dataTransfer.effectAllowed="copyMove",Do||t.dataTransfer.setData("text/plain",d),n.dragging=new lh(l,!t[ch],s)},ut.dragend=n=>{let e=n.dragging;window.setTimeout(()=>{n.dragging==e&&(n.dragging=null)},50)},ft.dragover=ft.dragenter=(n,e)=>e.preventDefault(),ft.drop=(n,e)=>{let t=e,r=n.dragging;if(n.dragging=null,!t.dataTransfer)return;let o=n.posAtCoords(Bi(t));if(!o)return;let i=n.state.doc.resolve(o.pos),s=r&&r.slice;s?n.someProp("transformPasted",m=>{s=m(s,n)}):s=Jf(n,ah(t.dataTransfer),Do?null:t.dataTransfer.getData("text/html"),!1,i);let l=!!(r&&!t[ch]);if(n.someProp("handleDrop",m=>m(n,t,s||ye.empty,l))){t.preventDefault();return}if(!s)return;t.preventDefault();let a=s?x4(n.state.doc,i.pos,s):i.pos;a==null&&(a=i.pos);let d=n.state.tr;if(l){let{node:m}=r;m?m.replace(d):d.deleteSelection()}let u=d.mapping.map(a),f=s.openStart==0&&s.openEnd==0&&s.content.childCount==1,h=d.doc;if(f?d.replaceRangeWith(u,u,s.content.firstChild):d.replaceRange(u,u,s),d.doc.eq(h))return;let p=d.doc.resolve(u);if(f&&Me.isSelectable(s.content.firstChild)&&p.nodeAfter&&p.nodeAfter.sameMarkup(s.content.firstChild))d.setSelection(new Me(p));else{let m=d.mapping.map(a);d.mapping.maps[d.mapping.maps.length-1].forEach((g,v,b,A)=>m=A),d.setSelection(al(n,p,d.doc.resolve(m)))}n.focus(),n.dispatch(d.setMeta("uiEvent","drop"))},ut.focus=n=>{n.input.lastFocus=Date.now(),n.focused||(n.domObserver.stop(),n.dom.classList.add("ProseMirror-focused"),n.domObserver.start(),n.focused=!0,setTimeout(()=>{n.docView&&n.hasFocus()&&!n.domObserver.currentSelection.eq(n.domSelectionRange())&&hn(n)},20))},ut.blur=(n,e)=>{let t=e;n.focused&&(n.domObserver.stop(),n.dom.classList.remove("ProseMirror-focused"),n.domObserver.start(),t.relatedTarget&&n.dom.contains(t.relatedTarget)&&n.domObserver.currentSelection.clear(),n.focused=!1)},ut.beforeinput=(n,e)=>{if(it&&Kt&&e.inputType=="deleteContentBackward"){n.domObserver.flushSoon();let{domChangeCount:r}=n.input;setTimeout(()=>{if(n.input.domChangeCount!=r||(n.dom.blur(),n.focus(),n.someProp("handleKeyDown",i=>i(n,lr(8,"Backspace")))))return;let{$cursor:o}=n.state.selection;o&&o.pos>0&&n.dispatch(n.state.tr.delete(o.pos-1,o.pos).scrollIntoView())},50)}};for(let n in ft)ut[n]=ft[n];function Ro(n,e){if(n==e)return!0;for(let t in n)if(n[t]!==e[t])return!1;for(let t in e)if(!(t in n))return!1;return!0}class Pi{constructor(e,t){this.toDOM=e,this.spec=t||fr,this.side=this.spec.side||0}map(e,t,r,o){let{pos:i,deleted:s}=e.mapResult(t.from+o,this.side<0?-1:1);return s?null:new Nt(i-r,i-r,this)}valid(){return!0}eq(e){return this==e||e instanceof Pi&&(this.spec.key&&this.spec.key==e.spec.key||this.toDOM==e.toDOM&&Ro(this.spec,e.spec))}destroy(e){this.spec.destroy&&this.spec.destroy(e)}}class Nn{constructor(e,t){this.attrs=e,this.spec=t||fr}map(e,t,r,o){let i=e.map(t.from+o,this.spec.inclusiveStart?-1:1)-r,s=e.map(t.to+o,this.spec.inclusiveEnd?1:-1)-r;return i>=s?null:new Nt(i,s,this)}valid(e,t){return t.from<t.to}eq(e){return this==e||e instanceof Nn&&Ro(this.attrs,e.attrs)&&Ro(this.spec,e.spec)}static is(e){return e.type instanceof Nn}destroy(){}}class ml{constructor(e,t){this.attrs=e,this.spec=t||fr}map(e,t,r,o){let i=e.mapResult(t.from+o,1);if(i.deleted)return null;let s=e.mapResult(t.to+o,-1);return s.deleted||s.pos<=i.pos?null:new Nt(i.pos-r,s.pos-r,this)}valid(e,t){let{index:r,offset:o}=e.content.findIndex(t.from),i;return o==t.from&&!(i=e.child(r)).isText&&o+i.nodeSize==t.to}eq(e){return this==e||e instanceof ml&&Ro(this.attrs,e.attrs)&&Ro(this.spec,e.spec)}destroy(){}}class Nt{constructor(e,t,r){this.from=e,this.to=t,this.type=r}copy(e,t){return new Nt(e,t,this.type)}eq(e,t=0){return this.type.eq(e.type)&&this.from+t==e.from&&this.to+t==e.to}map(e,t,r){return this.type.map(e,this,t,r)}static widget(e,t,r){return new Nt(e,e,new Pi(t,r))}static inline(e,t,r,o){return new Nt(e,t,new Nn(r,o))}static node(e,t,r,o){return new Nt(e,t,new ml(r,o))}get spec(){return this.type.spec}get inline(){return this.type instanceof Nn}get widget(){return this.type instanceof Pi}}const Hr=[],fr={};class Je{constructor(e,t){this.local=e.length?e:Hr,this.children=t.length?t:Hr}static create(e,t){return t.length?Fi(t,e,0,fr):st}find(e,t,r){let o=[];return this.findInner(e??0,t??1e9,o,0,r),o}findInner(e,t,r,o,i){for(let s=0;s<this.local.length;s++){let l=this.local[s];l.from<=t&&l.to>=e&&(!i||i(l.spec))&&r.push(l.copy(l.from+o,l.to+o))}for(let s=0;s<this.children.length;s+=3)if(this.children[s]<t&&this.children[s+1]>e){let l=this.children[s]+1;this.children[s+2].findInner(e-l,t-l,r,o+l,i)}}map(e,t,r){return this==st||e.maps.length==0?this:this.mapInner(e,t,0,0,r||fr)}mapInner(e,t,r,o,i){let s;for(let l=0;l<this.local.length;l++){let a=this.local[l].map(e,r,o);a&&a.type.valid(t,a)?(s||(s=[])).push(a):i.onRemove&&i.onRemove(this.local[l].spec)}return this.children.length?J8(this.children,s||[],e,t,r,o,i):s?new Je(s.sort(hr),Hr):st}add(e,t){return t.length?this==st?Je.create(e,t):this.addInner(e,t,0):this}addInner(e,t,r){let o,i=0;e.forEach((l,a)=>{let d=a+r,u;if(u=uh(t,l,d)){for(o||(o=this.children.slice());i<o.length&&o[i]<a;)i+=3;o[i]==a?o[i+2]=o[i+2].addInner(l,u,d+1):o.splice(i,0,a,a+l.nodeSize,Fi(u,l,d+1,fr)),i+=3}});let s=dh(i?fh(t):t,-r);for(let l=0;l<s.length;l++)s[l].type.valid(e,s[l])||s.splice(l--,1);return new Je(s.length?this.local.concat(s).sort(hr):this.local,o||this.children)}remove(e){return e.length==0||this==st?this:this.removeInner(e,0)}removeInner(e,t){let r=this.children,o=this.local;for(let i=0;i<r.length;i+=3){let s,l=r[i]+t,a=r[i+1]+t;for(let u=0,f;u<e.length;u++)(f=e[u])&&f.from>l&&f.to<a&&(e[u]=null,(s||(s=[])).push(f));if(!s)continue;r==this.children&&(r=this.children.slice());let d=r[i+2].removeInner(s,l+1);d!=st?r[i+2]=d:(r.splice(i,3),i-=3)}if(o.length){for(let i=0,s;i<e.length;i++)if(s=e[i])for(let l=0;l<o.length;l++)o[l].eq(s,t)&&(o==this.local&&(o=this.local.slice()),o.splice(l--,1))}return r==this.children&&o==this.local?this:o.length||r.length?new Je(o,r):st}forChild(e,t){if(this==st)return this;if(t.isLeaf)return Je.empty;let r,o;for(let l=0;l<this.children.length;l+=3)if(this.children[l]>=e){this.children[l]==e&&(r=this.children[l+2]);break}let i=e+1,s=i+t.content.size;for(let l=0;l<this.local.length;l++){let a=this.local[l];if(a.from<s&&a.to>i&&a.type instanceof Nn){let d=Math.max(i,a.from)-i,u=Math.min(s,a.to)-i;d<u&&(o||(o=[])).push(a.copy(d,u))}}if(o){let l=new Je(o.sort(hr),Hr);return r?new Ln([l,r]):l}return r||st}eq(e){if(this==e)return!0;if(!(e instanceof Je)||this.local.length!=e.local.length||this.children.length!=e.children.length)return!1;for(let t=0;t<this.local.length;t++)if(!this.local[t].eq(e.local[t]))return!1;for(let t=0;t<this.children.length;t+=3)if(this.children[t]!=e.children[t]||this.children[t+1]!=e.children[t+1]||!this.children[t+2].eq(e.children[t+2]))return!1;return!0}locals(e){return gl(this.localsInner(e))}localsInner(e){if(this==st)return Hr;if(e.inlineContent||!this.local.some(Nn.is))return this.local;let t=[];for(let r=0;r<this.local.length;r++)this.local[r].type instanceof Nn||t.push(this.local[r]);return t}}Je.empty=new Je([],[]),Je.removeOverlap=gl;const st=Je.empty;class Ln{constructor(e){this.members=e}map(e,t){const r=this.members.map(o=>o.map(e,t,fr));return Ln.from(r)}forChild(e,t){if(t.isLeaf)return Je.empty;let r=[];for(let o=0;o<this.members.length;o++){let i=this.members[o].forChild(e,t);i!=st&&(i instanceof Ln?r=r.concat(i.members):r.push(i))}return Ln.from(r)}eq(e){if(!(e instanceof Ln)||e.members.length!=this.members.length)return!1;for(let t=0;t<this.members.length;t++)if(!this.members[t].eq(e.members[t]))return!1;return!0}locals(e){let t,r=!0;for(let o=0;o<this.members.length;o++){let i=this.members[o].localsInner(e);if(i.length)if(!t)t=i;else{r&&(t=t.slice(),r=!1);for(let s=0;s<i.length;s++)t.push(i[s])}}return t?gl(r?t:t.sort(hr)):Hr}static from(e){switch(e.length){case 0:return st;case 1:return e[0];default:return new Ln(e.every(t=>t instanceof Je)?e:e.reduce((t,r)=>t.concat(r instanceof Je?r:r.members),[]))}}}function J8(n,e,t,r,o,i,s){let l=n.slice();for(let d=0,u=i;d<t.maps.length;d++){let f=0;t.maps[d].forEach((h,p,m,g)=>{let v=g-m-(p-h);for(let b=0;b<l.length;b+=3){let A=l[b+1];if(A<0||h>A+u-f)continue;let S=l[b]+u-f;p>=S?l[b+1]=h<=S?-2:-1:m>=o&&v&&(l[b]+=v,l[b+1]+=v)}f+=v}),u=t.maps[d].map(u,-1)}let a=!1;for(let d=0;d<l.length;d+=3)if(l[d+1]<0){if(l[d+1]==-2){a=!0,l[d+1]=-1;continue}let u=t.map(n[d]+i),f=u-o;if(f<0||f>=r.content.size){a=!0;continue}let h=t.map(n[d+1]+i,-1),p=h-o,{index:m,offset:g}=r.content.findIndex(f),v=r.maybeChild(m);if(v&&g==f&&g+v.nodeSize==p){let b=l[d+2].mapInner(t,v,u+1,n[d]+i+1,s);b!=st?(l[d]=f,l[d+1]=p,l[d+2]=b):(l[d+1]=-2,a=!0)}else a=!0}if(a){let d=Z8(l,n,e,t,o,i,s),u=Fi(d,r,0,s);e=u.local;for(let f=0;f<l.length;f+=3)l[f+1]<0&&(l.splice(f,3),f-=3);for(let f=0,h=0;f<u.children.length;f+=3){let p=u.children[f];for(;h<l.length&&l[h]<p;)h+=3;l.splice(h,0,u.children[f],u.children[f+1],u.children[f+2])}}return new Je(e.sort(hr),l)}function dh(n,e){if(!e||!n.length)return n;let t=[];for(let r=0;r<n.length;r++){let o=n[r];t.push(new Nt(o.from+e,o.to+e,o.type))}return t}function Z8(n,e,t,r,o,i,s){function l(a,d){for(let u=0;u<a.local.length;u++){let f=a.local[u].map(r,o,d);f?t.push(f):s.onRemove&&s.onRemove(a.local[u].spec)}for(let u=0;u<a.children.length;u+=3)l(a.children[u+2],a.children[u]+d+1)}for(let a=0;a<n.length;a+=3)n[a+1]==-1&&l(n[a+2],e[a]+i+1);return t}function uh(n,e,t){if(e.isLeaf)return null;let r=t+e.nodeSize,o=null;for(let i=0,s;i<n.length;i++)(s=n[i])&&s.from>t&&s.to<r&&((o||(o=[])).push(s),n[i]=null);return o}function fh(n){let e=[];for(let t=0;t<n.length;t++)n[t]!=null&&e.push(n[t]);return e}function Fi(n,e,t,r){let o=[],i=!1;e.forEach((l,a)=>{let d=uh(n,l,a+t);if(d){i=!0;let u=Fi(d,l,t+a+1,r);u!=st&&o.push(a,a+l.nodeSize,u)}});let s=dh(i?fh(n):n,-t).sort(hr);for(let l=0;l<s.length;l++)s[l].type.valid(e,s[l])||(r.onRemove&&r.onRemove(s[l].spec),s.splice(l--,1));return s.length||o.length?new Je(s,o):st}function hr(n,e){return n.from-e.from||n.to-e.to}function gl(n){let e=n;for(let t=0;t<e.length-1;t++){let r=e[t];if(r.from!=r.to)for(let o=t+1;o<e.length;o++){let i=e[o];if(i.from==r.from){i.to!=r.to&&(e==n&&(e=n.slice()),e[o]=i.copy(i.from,r.to),hh(e,o+1,i.copy(r.to,i.to)));continue}else{i.from<r.to&&(e==n&&(e=n.slice()),e[t]=r.copy(r.from,i.from),hh(e,o,r.copy(i.from,r.to)));break}}}return e}function hh(n,e,t){for(;e<n.length&&hr(t,n[e])>0;)e++;n.splice(e,0,t)}function vl(n){let e=[];return n.someProp("decorations",t=>{let r=t(n.state);r&&r!=st&&e.push(r)}),n.cursorWrapper&&e.push(Je.create(n.state.doc,[n.cursorWrapper.deco])),Ln.from(e)}const G8={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},X8=Ct&&Tn<=11;class q8{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}set(e){this.anchorNode=e.anchorNode,this.anchorOffset=e.anchorOffset,this.focusNode=e.focusNode,this.focusOffset=e.focusOffset}clear(){this.anchorNode=this.focusNode=null}eq(e){return e.anchorNode==this.anchorNode&&e.anchorOffset==this.anchorOffset&&e.focusNode==this.focusNode&&e.focusOffset==this.focusOffset}}class ev{constructor(e,t){this.view=e,this.handleDOMChange=t,this.queue=[],this.flushingSoon=-1,this.observer=null,this.currentSelection=new q8,this.onCharData=null,this.suppressingSelectionUpdates=!1,this.observer=window.MutationObserver&&new window.MutationObserver(r=>{for(let o=0;o<r.length;o++)this.queue.push(r[o]);Ct&&Tn<=11&&r.some(o=>o.type=="childList"&&o.removedNodes.length||o.type=="characterData"&&o.oldValue.length>o.target.nodeValue.length)?this.flushSoon():this.flush()}),X8&&(this.onCharData=r=>{this.queue.push({target:r.target,type:"characterData",oldValue:r.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this)}flushSoon(){this.flushingSoon<0&&(this.flushingSoon=window.setTimeout(()=>{this.flushingSoon=-1,this.flush()},20))}forceFlush(){this.flushingSoon>-1&&(window.clearTimeout(this.flushingSoon),this.flushingSoon=-1,this.flush())}start(){this.observer&&(this.observer.takeRecords(),this.observer.observe(this.view.dom,G8)),this.onCharData&&this.view.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.connectSelection()}stop(){if(this.observer){let e=this.observer.takeRecords();if(e.length){for(let t=0;t<e.length;t++)this.queue.push(e[t]);window.setTimeout(()=>this.flush(),20)}this.observer.disconnect()}this.onCharData&&this.view.dom.removeEventListener("DOMCharacterDataModified",this.onCharData),this.disconnectSelection()}connectSelection(){this.view.dom.ownerDocument.addEventListener("selectionchange",this.onSelectionChange)}disconnectSelection(){this.view.dom.ownerDocument.removeEventListener("selectionchange",this.onSelectionChange)}suppressSelectionUpdates(){this.suppressingSelectionUpdates=!0,setTimeout(()=>this.suppressingSelectionUpdates=!1,50)}onSelectionChange(){if($f(this.view)){if(this.suppressingSelectionUpdates)return hn(this.view);if(Ct&&Tn<=11&&!this.view.state.selection.empty){let e=this.view.domSelectionRange();if(e.focusNode&&ar(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset))return this.flushSoon()}this.flush()}}setCurSelection(){this.currentSelection.set(this.view.domSelectionRange())}ignoreSelectionChange(e){if(!e.focusNode)return!0;let t=new Set,r;for(let i=e.focusNode;i;i=Mo(i))t.add(i);for(let i=e.anchorNode;i;i=Mo(i))if(t.has(i)){r=i;break}let o=r&&this.view.docView.nearestDesc(r);if(o&&o.ignoreMutation({type:"selection",target:r.nodeType==3?r.parentNode:r}))return this.setCurSelection(),!0}pendingRecords(){if(this.observer)for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}flush(){let{view:e}=this;if(!e.docView||this.flushingSoon>-1)return;let t=this.pendingRecords();t.length&&(this.queue=[]);let r=e.domSelectionRange(),o=!this.suppressingSelectionUpdates&&!this.currentSelection.eq(r)&&$f(e)&&!this.ignoreSelectionChange(r),i=-1,s=-1,l=!1,a=[];if(e.editable)for(let u=0;u<t.length;u++){let f=this.registerMutation(t[u],a);f&&(i=i<0?f.from:Math.min(f.from,i),s=s<0?f.to:Math.max(f.to,s),f.typeOver&&(l=!0))}if(Wt&&a.length>1){let u=a.filter(f=>f.nodeName=="BR");if(u.length==2){let f=u[0],h=u[1];f.parentNode&&f.parentNode.parentNode==h.parentNode?h.remove():f.remove()}}let d=null;i<0&&o&&e.input.lastFocus>Date.now()-200&&Math.max(e.input.lastTouch,e.input.lastClick.time)<Date.now()-300&&Ni(r)&&(d=il(e))&&d.eq(Be.near(e.state.doc.resolve(0),1))?(e.input.lastFocus=0,hn(e),this.currentSelection.set(r),e.scrollToSelection()):(i>-1||o)&&(i>-1&&(e.docView.markDirty(i,s),tv(e)),this.handleDOMChange(i,s,l,a),e.docView&&e.docView.dirty?e.updateState(e.state):this.currentSelection.eq(r)||hn(e),this.currentSelection.set(r))}registerMutation(e,t){if(t.indexOf(e.target)>-1)return null;let r=this.view.docView.nearestDesc(e.target);if(e.type=="attributes"&&(r==this.view.docView||e.attributeName=="contenteditable"||e.attributeName=="style"&&!e.oldValue&&!e.target.getAttribute("style"))||!r||r.ignoreMutation(e))return null;if(e.type=="childList"){for(let u=0;u<e.addedNodes.length;u++)t.push(e.addedNodes[u]);if(r.contentDOM&&r.contentDOM!=r.dom&&!r.contentDOM.contains(e.target))return{from:r.posBefore,to:r.posAfter};let o=e.previousSibling,i=e.nextSibling;if(Ct&&Tn<=11&&e.addedNodes.length)for(let u=0;u<e.addedNodes.length;u++){let{previousSibling:f,nextSibling:h}=e.addedNodes[u];(!f||Array.prototype.indexOf.call(e.addedNodes,f)<0)&&(o=f),(!h||Array.prototype.indexOf.call(e.addedNodes,h)<0)&&(i=h)}let s=o&&o.parentNode==e.target?ct(o)+1:0,l=r.localPosFromDOM(e.target,s,-1),a=i&&i.parentNode==e.target?ct(i):e.target.childNodes.length,d=r.localPosFromDOM(e.target,a,1);return{from:l,to:d}}else return e.type=="attributes"?{from:r.posAtStart-r.border,to:r.posAtEnd+r.border}:{from:r.posAtStart,to:r.posAtEnd,typeOver:e.target.nodeValue==e.oldValue}}}let ph=new WeakMap,mh=!1;function tv(n){if(!ph.has(n)&&(ph.set(n,null),["normal","nowrap","pre-line"].indexOf(getComputedStyle(n.dom).whiteSpace)!==-1)){if(n.requiresGeckoHackNode=Wt,mh)return;console.warn("ProseMirror expects the CSS white-space property to be set, preferably to 'pre-wrap'. It is recommended to load style/prosemirror.css from the prosemirror-view package."),mh=!0}}function nv(n){let e;function t(a){a.preventDefault(),a.stopImmediatePropagation(),e=a.getTargetRanges()[0]}n.dom.addEventListener("beforeinput",t,!0),document.execCommand("indent"),n.dom.removeEventListener("beforeinput",t,!0);let r=e.startContainer,o=e.startOffset,i=e.endContainer,s=e.endOffset,l=n.domAtPos(n.state.selection.anchor);return ar(l.node,l.offset,i,s)&&([r,o,i,s]=[i,s,r,o]),{anchorNode:r,anchorOffset:o,focusNode:i,focusOffset:s}}function rv(n,e,t){let{node:r,fromOffset:o,toOffset:i,from:s,to:l}=n.docView.parseRange(e,t),a=n.domSelectionRange(),d,u=a.anchorNode;if(u&&n.dom.contains(u.nodeType==1?u:u.parentNode)&&(d=[{node:u,offset:a.anchorOffset}],Ni(a)||d.push({node:a.focusNode,offset:a.focusOffset})),it&&n.input.lastKeyCode===8)for(let v=i;v>o;v--){let b=r.childNodes[v-1],A=b.pmViewDesc;if(b.nodeName=="BR"&&!A){i=v;break}if(!A||A.size)break}let f=n.state.doc,h=n.someProp("domParser")||Or.fromSchema(n.state.schema),p=f.resolve(s),m=null,g=h.parse(r,{topNode:p.parent,topMatch:p.parent.contentMatchAt(p.index()),topOpen:!0,from:o,to:i,preserveWhitespace:p.parent.type.whitespace=="pre"?"full":!0,findPositions:d,ruleFromNode:ov,context:p});if(d&&d[0].pos!=null){let v=d[0].pos,b=d[1]&&d[1].pos;b==null&&(b=v),m={anchor:v+s,head:b+s}}return{doc:g,sel:m,from:s,to:l}}function ov(n){let e=n.pmViewDesc;if(e)return e.parseRule();if(n.nodeName=="BR"&&n.parentNode){if(dt&&/^(ul|ol)$/i.test(n.parentNode.nodeName)){let t=document.createElement("div");return t.appendChild(document.createElement("li")),{skip:t}}else if(n.parentNode.lastChild==n||dt&&/^(tr|table)$/i.test(n.parentNode.nodeName))return{ignore:!0}}else if(n.nodeName=="IMG"&&n.getAttribute("mark-placeholder"))return{ignore:!0};return null}const iv=/^(a|abbr|acronym|b|bd[io]|big|br|button|cite|code|data(list)?|del|dfn|em|i|ins|kbd|label|map|mark|meter|output|q|ruby|s|samp|small|span|strong|su[bp]|time|u|tt|var)$/i;function sv(n,e,t,r,o){let i=n.input.compositionPendingChanges||(n.composing?n.input.compositionID:0);if(n.input.compositionPendingChanges=0,e<0){let U=n.input.lastSelectionTime>Date.now()-50?n.input.lastSelectionOrigin:null,R=il(n,U);if(R&&!n.state.selection.eq(R)){if(it&&Kt&&n.input.lastKeyCode===13&&Date.now()-100<n.input.lastKeyCodeTime&&n.someProp("handleKeyDown",z=>z(n,lr(13,"Enter"))))return;let D=n.state.tr.setSelection(R);U=="pointer"?D.setMeta("pointer",!0):U=="key"&&D.scrollIntoView(),i&&D.setMeta("composition",i),n.dispatch(D)}return}let s=n.state.doc.resolve(e),l=s.sharedDepth(t);e=s.before(l+1),t=n.state.doc.resolve(t).after(l+1);let a=n.state.selection,d=rv(n,e,t),u=n.state.doc,f=u.slice(d.from,d.to),h,p;n.input.lastKeyCode===8&&Date.now()-100<n.input.lastKeyCodeTime?(h=n.state.selection.to,p="end"):(h=n.state.selection.from,p="start"),n.input.lastKeyCode=null;let m=cv(f.content,d.doc.content,d.from,h,p);if((Fr&&n.input.lastIOSEnter>Date.now()-225||Kt)&&o.some(U=>U.nodeType==1&&!iv.test(U.nodeName))&&(!m||m.endA>=m.endB)&&n.someProp("handleKeyDown",U=>U(n,lr(13,"Enter")))){n.input.lastIOSEnter=0;return}if(!m)if(r&&a instanceof Re&&!a.empty&&a.$head.sameParent(a.$anchor)&&!n.composing&&!(d.sel&&d.sel.anchor!=d.sel.head))m={start:a.from,endA:a.to,endB:a.to};else{if(d.sel){let U=gh(n,n.state.doc,d.sel);if(U&&!U.eq(n.state.selection)){let R=n.state.tr.setSelection(U);i&&R.setMeta("composition",i),n.dispatch(R)}}return}if(it&&n.cursorWrapper&&d.sel&&d.sel.anchor==n.cursorWrapper.deco.from&&d.sel.head==d.sel.anchor){let U=m.endB-m.start;d.sel={anchor:d.sel.anchor+U,head:d.sel.anchor+U}}n.input.domChangeCount++,n.state.selection.from<n.state.selection.to&&m.start==m.endB&&n.state.selection instanceof Re&&(m.start>n.state.selection.from&&m.start<=n.state.selection.from+2&&n.state.selection.from>=d.from?m.start=n.state.selection.from:m.endA<n.state.selection.to&&m.endA>=n.state.selection.to-2&&n.state.selection.to<=d.to&&(m.endB+=n.state.selection.to-m.endA,m.endA=n.state.selection.to)),Ct&&Tn<=11&&m.endB==m.start+1&&m.endA==m.start&&m.start>d.from&&d.doc.textBetween(m.start-d.from-1,m.start-d.from+1)==" "&&(m.start--,m.endA--,m.endB--);let g=d.doc.resolveNoCache(m.start-d.from),v=d.doc.resolveNoCache(m.endB-d.from),b=u.resolve(m.start),A=g.sameParent(v)&&g.parent.inlineContent&&b.end()>=m.endA,S;if((Fr&&n.input.lastIOSEnter>Date.now()-225&&(!A||o.some(U=>U.nodeName=="DIV"||U.nodeName=="P"))||!A&&g.pos<d.doc.content.size&&!g.sameParent(v)&&(S=Be.findFrom(d.doc.resolve(g.pos+1),1,!0))&&S.head==v.pos)&&n.someProp("handleKeyDown",U=>U(n,lr(13,"Enter")))){n.input.lastIOSEnter=0;return}if(n.state.selection.anchor>m.start&&lv(u,m.start,m.endA,g,v)&&n.someProp("handleKeyDown",U=>U(n,lr(8,"Backspace")))){Kt&&it&&n.domObserver.suppressSelectionUpdates();return}it&&Kt&&m.endB==m.start&&(n.input.lastAndroidDelete=Date.now()),Kt&&!A&&g.start()!=v.start()&&v.parentOffset==0&&g.depth==v.depth&&d.sel&&d.sel.anchor==d.sel.head&&d.sel.head==m.endA&&(m.endB-=2,v=d.doc.resolveNoCache(m.endB-d.from),setTimeout(()=>{n.someProp("handleKeyDown",function(U){return U(n,lr(13,"Enter"))})},20));let y=m.start,T=m.endA,k,$,H;if(A){if(g.pos==v.pos)Ct&&Tn<=11&&g.parentOffset==0&&(n.domObserver.suppressSelectionUpdates(),setTimeout(()=>hn(n),20)),k=n.state.tr.delete(y,T),$=u.resolve(m.start).marksAcross(u.resolve(m.endA));else if(m.endA==m.endB&&(H=av(g.parent.content.cut(g.parentOffset,v.parentOffset),b.parent.content.cut(b.parentOffset,m.endA-b.start()))))k=n.state.tr,H.type=="add"?k.addMark(y,T,H.mark):k.removeMark(y,T,H.mark);else if(g.parent.child(g.index()).isText&&g.index()==v.index()-(v.textOffset?0:1)){let U=g.parent.textBetween(g.parentOffset,v.parentOffset);if(n.someProp("handleTextInput",R=>R(n,y,T,U)))return;k=n.state.tr.insertText(U,y,T)}}if(k||(k=n.state.tr.replace(y,T,d.doc.slice(m.start-d.from,m.endB-d.from))),d.sel){let U=gh(n,k.doc,d.sel);U&&!(it&&Kt&&n.composing&&U.empty&&(m.start!=m.endB||n.input.lastAndroidDelete<Date.now()-100)&&(U.head==y||U.head==k.mapping.map(T)-1)||Ct&&U.empty&&U.head==y)&&k.setSelection(U)}$&&k.ensureMarks($),i&&k.setMeta("composition",i),n.dispatch(k.scrollIntoView())}function gh(n,e,t){return Math.max(t.anchor,t.head)>e.content.size?null:al(n,e.resolve(t.anchor),e.resolve(t.head))}function av(n,e){let t=n.firstChild.marks,r=e.firstChild.marks,o=t,i=r,s,l,a;for(let u=0;u<r.length;u++)o=r[u].removeFromSet(o);for(let u=0;u<t.length;u++)i=t[u].removeFromSet(i);if(o.length==1&&i.length==0)l=o[0],s="add",a=u=>u.mark(l.addToSet(u.marks));else if(o.length==0&&i.length==1)l=i[0],s="remove",a=u=>u.mark(l.removeFromSet(u.marks));else return null;let d=[];for(let u=0;u<e.childCount;u++)d.push(a(e.child(u)));if(le.from(d).eq(n))return{mark:l,type:s}}function lv(n,e,t,r,o){if(!r.parent.isTextblock||t-e<=o.pos-r.pos||yl(r,!0,!1)<o.pos)return!1;let i=n.resolve(e);if(i.parentOffset<i.parent.content.size||!i.parent.isTextblock)return!1;let s=n.resolve(yl(i,!0,!0));return!s.parent.isTextblock||s.pos>t||yl(s,!0,!1)<t?!1:r.parent.content.cut(r.parentOffset).eq(s.parent.content)}function yl(n,e,t){let r=n.depth,o=e?n.end():n.pos;for(;r>0&&(e||n.indexAfter(r)==n.node(r).childCount);)r--,o++,e=!1;if(t){let i=n.node(r).maybeChild(n.indexAfter(r));for(;i&&!i.isLeaf;)i=i.firstChild,o++}return o}function cv(n,e,t,r,o){let i=n.findDiffStart(e,t);if(i==null)return null;let{a:s,b:l}=n.findDiffEnd(e,t+n.size,t+e.size);if(o=="end"){let a=Math.max(0,i-Math.min(s,l));r-=s+a-i}if(s<i&&n.size<e.size){let a=r<=i&&r>=s?i-r:0;i-=a,i&&i<e.size&&vh(e.textBetween(i-1,i+1))&&(i+=a?1:-1),l=i+(l-s),s=i}else if(l<i){let a=r<=i&&r>=l?i-r:0;i-=a,i&&i<n.size&&vh(n.textBetween(i-1,i+1))&&(i+=a?1:-1),s=i+(s-l),l=i}return{start:i,endA:s,endB:l}}function vh(n){if(n.length!=2)return!1;let e=n.charCodeAt(0),t=n.charCodeAt(1);return e>=56320&&e<=57343&&t>=55296&&t<=56319}class dv{constructor(e,t){this._root=null,this.focused=!1,this.trackWrites=null,this.mounted=!1,this.markCursor=null,this.cursorWrapper=null,this.lastSelectedViewDesc=void 0,this.input=new _8,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=t,this.state=t.state,this.directPlugins=t.plugins||[],this.directPlugins.forEach(Ah),this.dispatch=this.dispatch.bind(this),this.dom=e&&e.mount||document.createElement("div"),e&&(e.appendChild?e.appendChild(this.dom):typeof e=="function"?e(this.dom):e.mount&&(this.mounted=!0)),this.editable=Eh(this),Ch(this),this.nodeViews=bh(this),this.docView=Mf(this.state.doc,yh(this),vl(this),this.dom,this),this.domObserver=new ev(this,(r,o,i,s)=>sv(this,r,o,i,s)),this.domObserver.start(),N8(this),this.updatePluginViews()}get composing(){return this.input.composing}get props(){if(this._props.state!=this.state){let e=this._props;this._props={};for(let t in e)this._props[t]=e[t];this._props.state=this.state}return this._props}update(e){e.handleDOMEvents!=this._props.handleDOMEvents&&ul(this);let t=this._props;this._props=e,e.plugins&&(e.plugins.forEach(Ah),this.directPlugins=e.plugins),this.updateStateInner(e.state,t)}setProps(e){let t={};for(let r in this._props)t[r]=this._props[r];t.state=this.state;for(let r in e)t[r]=e[r];this.update(t)}updateState(e){this.updateStateInner(e,this._props)}updateStateInner(e,t){var r;let o=this.state,i=!1,s=!1;e.storedMarks&&this.composing&&(sh(this),s=!0),this.state=e;let l=o.plugins!=e.plugins||this._props.plugins!=t.plugins;if(l||this._props.plugins!=t.plugins||this._props.nodeViews!=t.nodeViews){let p=bh(this);fv(p,this.nodeViews)&&(this.nodeViews=p,i=!0)}(l||t.handleDOMEvents!=this._props.handleDOMEvents)&&ul(this),this.editable=Eh(this),Ch(this);let a=vl(this),d=yh(this),u=o.plugins!=e.plugins&&!o.doc.eq(e.doc)?"reset":e.scrollToSelection>o.scrollToSelection?"to selection":"preserve",f=i||!this.docView.matchesNode(e.doc,d,a);(f||!e.selection.eq(o.selection))&&(s=!0);let h=u=="preserve"&&s&&this.dom.style.overflowAnchor==null&&K4(this);if(s){this.domObserver.stop();let p=f&&(Ct||it)&&!this.composing&&!o.selection.empty&&!e.selection.empty&&uv(o.selection,e.selection);if(f){let m=it?this.trackWrites=this.domSelectionRange().focusNode:null;(i||!this.docView.update(e.doc,d,a,this))&&(this.docView.updateOuterDeco([]),this.docView.destroy(),this.docView=Mf(e.doc,d,a,this.dom,this)),m&&!this.trackWrites&&(p=!0)}p||!(this.input.mouseDown&&this.domObserver.currentSelection.eq(this.domSelectionRange())&&v8(this))?hn(this,p):(Ff(this,e.selection),this.domObserver.setCurSelection()),this.domObserver.start()}this.updatePluginViews(o),!((r=this.dragging)===null||r===void 0)&&r.node&&!o.doc.eq(e.doc)&&this.updateDraggedNode(this.dragging,o),u=="reset"?this.dom.scrollTop=0:u=="to selection"?this.scrollToSelection():h&&Q4(h)}scrollToSelection(){let e=this.domSelectionRange().focusNode;if(!this.someProp("handleScrollToSelection",t=>t(this)))if(this.state.selection instanceof Me){let t=this.docView.domAfterPos(this.state.selection.from);t.nodeType==1&&mf(this,t.getBoundingClientRect(),e)}else mf(this,this.coordsAtPos(this.state.selection.head,1),e)}destroyPluginViews(){let e;for(;e=this.pluginViews.pop();)e.destroy&&e.destroy()}updatePluginViews(e){if(!e||e.plugins!=this.state.plugins||this.directPlugins!=this.prevDirectPlugins){this.prevDirectPlugins=this.directPlugins,this.destroyPluginViews();for(let t=0;t<this.directPlugins.length;t++){let r=this.directPlugins[t];r.spec.view&&this.pluginViews.push(r.spec.view(this))}for(let t=0;t<this.state.plugins.length;t++){let r=this.state.plugins[t];r.spec.view&&this.pluginViews.push(r.spec.view(this))}}else for(let t=0;t<this.pluginViews.length;t++){let r=this.pluginViews[t];r.update&&r.update(this,e)}}updateDraggedNode(e,t){let r=e.node,o=-1;if(this.state.doc.nodeAt(r.from)==r.node)o=r.from;else{let i=r.from+(this.state.doc.content.size-t.doc.content.size);(i>0&&this.state.doc.nodeAt(i))==r.node&&(o=i)}this.dragging=new lh(e.slice,e.move,o<0?void 0:Me.create(this.state.doc,o))}someProp(e,t){let r=this._props&&this._props[e],o;if(r!=null&&(o=t?t(r):r))return o;for(let s=0;s<this.directPlugins.length;s++){let l=this.directPlugins[s].props[e];if(l!=null&&(o=t?t(l):l))return o}let i=this.state.plugins;if(i)for(let s=0;s<i.length;s++){let l=i[s].props[e];if(l!=null&&(o=t?t(l):l))return o}}hasFocus(){if(Ct){let e=this.root.activeElement;if(e==this.dom)return!0;if(!e||!this.dom.contains(e))return!1;for(;e&&this.dom!=e&&this.dom.contains(e);){if(e.contentEditable=="false")return!1;e=e.parentElement}return!0}return this.root.activeElement==this.dom}focus(){this.domObserver.stop(),this.editable&&Y4(this.dom),hn(this),this.domObserver.start()}get root(){let e=this._root;if(e==null){for(let t=this.dom.parentNode;t;t=t.parentNode)if(t.nodeType==9||t.nodeType==11&&t.host)return t.getSelection||(Object.getPrototypeOf(t).getSelection=()=>t.ownerDocument.getSelection()),this._root=t}return e||document}updateRoot(){this._root=null}posAtCoords(e){return q4(this,e)}coordsAtPos(e,t=1){return bf(this,e,t)}domAtPos(e,t=0){return this.docView.domFromPos(e,t)}nodeDOM(e){let t=this.docView.descAt(e);return t?t.nodeDOM:null}posAtDOM(e,t,r=-1){let o=this.docView.posFromDOM(e,t,r);if(o==null)throw new RangeError("DOM position not inside the editor");return o}endOfTextblock(e,t){return o8(this,t||this.state,e)}pasteHTML(e,t){return Bo(this,"",e,!1,t||new ClipboardEvent("paste"))}pasteText(e,t){return Bo(this,e,null,!0,t||new ClipboardEvent("paste"))}destroy(){this.docView&&(L8(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],vl(this),this),this.dom.textContent=""):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null)}get isDestroyed(){return this.docView==null}dispatchEvent(e){return B8(this,e)}dispatch(e){let t=this._props.dispatchTransaction;t?t.call(this,e):this.updateState(this.state.apply(e))}domSelectionRange(){return dt&&this.root.nodeType===11&&V4(this.dom.ownerDocument)==this.dom?nv(this):this.domSelection()}domSelection(){return this.root.getSelection()}}function yh(n){let e=Object.create(null);return e.class="ProseMirror",e.contenteditable=String(n.editable),n.someProp("attributes",t=>{if(typeof t=="function"&&(t=t(n.state)),t)for(let r in t)r=="class"?e.class+=" "+t[r]:r=="style"?e.style=(e.style?e.style+";":"")+t[r]:!e[r]&&r!="contenteditable"&&r!="nodeName"&&(e[r]=String(t[r]))}),e.translate||(e.translate="no"),[Nt.node(0,n.state.doc.content.size,e)]}function Ch(n){if(n.markCursor){let e=document.createElement("img");e.className="ProseMirror-separator",e.setAttribute("mark-placeholder","true"),e.setAttribute("alt",""),n.cursorWrapper={dom:e,deco:Nt.widget(n.state.selection.head,e,{raw:!0,marks:n.markCursor})}}else n.cursorWrapper=null}function Eh(n){return!n.someProp("editable",e=>e(n.state)===!1)}function uv(n,e){let t=Math.min(n.$anchor.sharedDepth(n.head),e.$anchor.sharedDepth(e.head));return n.$anchor.start(t)!=e.$anchor.start(t)}function bh(n){let e=Object.create(null);function t(r){for(let o in r)Object.prototype.hasOwnProperty.call(e,o)||(e[o]=r[o])}return n.someProp("nodeViews",t),n.someProp("markViews",t),e}function fv(n,e){let t=0,r=0;for(let o in n){if(n[o]!=e[o])return!0;t++}for(let o in e)r++;return t!=r}function Ah(n){if(n.spec.state||n.spec.filterTransaction||n.spec.appendTransaction)throw new RangeError("Plugins passed directly to the view must not have a state component")}for(var Dn={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},Vi={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},hv=typeof navigator<"u"&&/Mac/.test(navigator.platform),pv=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),nt=0;nt<10;nt++)Dn[48+nt]=Dn[96+nt]=String(nt);for(var nt=1;nt<=24;nt++)Dn[nt+111]="F"+nt;for(var nt=65;nt<=90;nt++)Dn[nt]=String.fromCharCode(nt+32),Vi[nt]=String.fromCharCode(nt);for(var Cl in Dn)Vi.hasOwnProperty(Cl)||(Vi[Cl]=Dn[Cl]);function mv(n){var e=hv&&n.metaKey&&n.shiftKey&&!n.ctrlKey&&!n.altKey||pv&&n.shiftKey&&n.key&&n.key.length==1||n.key=="Unidentified",t=!e&&n.key||(n.shiftKey?Vi:Dn)[n.keyCode]||n.key||"Unidentified";return t=="Esc"&&(t="Escape"),t=="Del"&&(t="Delete"),t=="Left"&&(t="ArrowLeft"),t=="Up"&&(t="ArrowUp"),t=="Right"&&(t="ArrowRight"),t=="Down"&&(t="ArrowDown"),t}const gv=typeof navigator<"u"?/Mac|iP(hone|[oa]d)/.test(navigator.platform):!1;function vv(n){let e=n.split(/-(?!$)/),t=e[e.length-1];t=="Space"&&(t=" ");let r,o,i,s;for(let l=0;l<e.length-1;l++){let a=e[l];if(/^(cmd|meta|m)$/i.test(a))s=!0;else if(/^a(lt)?$/i.test(a))r=!0;else if(/^(c|ctrl|control)$/i.test(a))o=!0;else if(/^s(hift)?$/i.test(a))i=!0;else if(/^mod$/i.test(a))gv?s=!0:o=!0;else throw new Error("Unrecognized modifier name: "+a)}return r&&(t="Alt-"+t),o&&(t="Ctrl-"+t),s&&(t="Meta-"+t),i&&(t="Shift-"+t),t}function yv(n){let e=Object.create(null);for(let t in n)e[vv(t)]=n[t];return e}function El(n,e,t=!0){return e.altKey&&(n="Alt-"+n),e.ctrlKey&&(n="Ctrl-"+n),e.metaKey&&(n="Meta-"+n),t&&e.shiftKey&&(n="Shift-"+n),n}function Cv(n){return new yt({props:{handleKeyDown:Ev(n)}})}function Ev(n){let e=yv(n);return function(t,r){let o=mv(r),i,s=e[El(o,r)];if(s&&s(t.state,t.dispatch,t))return!0;if(o.length==1&&o!=" "){if(r.shiftKey){let l=e[El(o,r,!1)];if(l&&l(t.state,t.dispatch,t))return!0}if((r.shiftKey||r.altKey||r.metaKey||o.charCodeAt(0)>127)&&(i=Dn[r.keyCode])&&i!=o){let l=e[El(i,r)];if(l&&l(t.state,t.dispatch,t))return!0}}return!1}}const bv=(n,e)=>n.selection.empty?!1:(e&&e(n.tr.deleteSelection().scrollIntoView()),!0);function Av(n,e){let{$cursor:t}=n.selection;return!t||(e?!e.endOfTextblock("backward",n):t.parentOffset>0)?null:t}const wv=(n,e,t)=>{let r=Av(n,t);if(!r)return!1;let o=wh(r);if(!o){let s=r.blockRange(),l=s&&Nr(s);return l==null?!1:(e&&e(n.tr.lift(s,l).scrollIntoView()),!0)}let i=o.nodeBefore;if(!i.type.spec.isolating&&xh(n,o,e))return!0;if(r.parent.content.size==0&&(Ur(i,"end")||Me.isSelectable(i))){let s=Ua(n.doc,r.before(),r.after(),ye.empty);if(s&&s.slice.size<s.to-s.from){if(e){let l=n.tr.step(s);l.setSelection(Ur(i,"end")?Be.findFrom(l.doc.resolve(l.mapping.map(o.pos,-1)),-1):Me.create(l.doc,o.pos-i.nodeSize)),e(l.scrollIntoView())}return!0}}return i.isAtom&&o.depth==r.depth-1?(e&&e(n.tr.delete(o.pos-i.nodeSize,o.pos).scrollIntoView()),!0):!1};function Ur(n,e,t=!1){for(let r=n;r;r=e=="start"?r.firstChild:r.lastChild){if(r.isTextblock)return!0;if(t&&r.childCount!=1)return!1}return!1}const Sv=(n,e,t)=>{let{$head:r,empty:o}=n.selection,i=r;if(!o)return!1;if(r.parent.isTextblock){if(t?!t.endOfTextblock("backward",n):r.parentOffset>0)return!1;i=wh(r)}let s=i&&i.nodeBefore;return!s||!Me.isSelectable(s)?!1:(e&&e(n.tr.setSelection(Me.create(n.doc,i.pos-s.nodeSize)).scrollIntoView()),!0)};function wh(n){if(!n.parent.type.spec.isolating)for(let e=n.depth-1;e>=0;e--){if(n.index(e)>0)return n.doc.resolve(n.before(e+1));if(n.node(e).type.spec.isolating)break}return null}function kv(n,e){let{$cursor:t}=n.selection;return!t||(e?!e.endOfTextblock("forward",n):t.parentOffset<t.parent.content.size)?null:t}const xv=(n,e,t)=>{let r=kv(n,t);if(!r)return!1;let o=Sh(r);if(!o)return!1;let i=o.nodeAfter;if(xh(n,o,e))return!0;if(r.parent.content.size==0&&(Ur(i,"start")||Me.isSelectable(i))){let s=Ua(n.doc,r.before(),r.after(),ye.empty);if(s&&s.slice.size<s.to-s.from){if(e){let l=n.tr.step(s);l.setSelection(Ur(i,"start")?Be.findFrom(l.doc.resolve(l.mapping.map(o.pos)),1):Me.create(l.doc,l.mapping.map(o.pos))),e(l.scrollIntoView())}return!0}}return i.isAtom&&o.depth==r.depth-1?(e&&e(n.tr.delete(o.pos,o.pos+i.nodeSize).scrollIntoView()),!0):!1},Tv=(n,e,t)=>{let{$head:r,empty:o}=n.selection,i=r;if(!o)return!1;if(r.parent.isTextblock){if(t?!t.endOfTextblock("forward",n):r.parentOffset<r.parent.content.size)return!1;i=Sh(r)}let s=i&&i.nodeAfter;return!s||!Me.isSelectable(s)?!1:(e&&e(n.tr.setSelection(Me.create(n.doc,i.pos)).scrollIntoView()),!0)};function Sh(n){if(!n.parent.type.spec.isolating)for(let e=n.depth-1;e>=0;e--){let t=n.node(e);if(n.index(e)+1<t.childCount)return n.doc.resolve(n.after(e+1));if(t.type.spec.isolating)break}return null}const Mv=(n,e)=>{let t=n.selection,r=t instanceof Me,o;if(r){if(t.node.isTextblock||!kn(n.doc,t.from))return!1;o=t.from}else if(o=Ii(n.doc,t.from,-1),o==null)return!1;if(e){let i=n.tr.join(o);r&&i.setSelection(Me.create(i.doc,o-n.doc.resolve(o).nodeBefore.nodeSize)),e(i.scrollIntoView())}return!0},Iv=(n,e)=>{let t=n.selection,r;if(t instanceof Me){if(t.node.isTextblock||!kn(n.doc,t.to))return!1;r=t.to}else if(r=Ii(n.doc,t.to,1),r==null)return!1;return e&&e(n.tr.join(r).scrollIntoView()),!0},Ov=(n,e)=>{let{$from:t,$to:r}=n.selection,o=t.blockRange(r),i=o&&Nr(o);return i==null?!1:(e&&e(n.tr.lift(o,i).scrollIntoView()),!0)},_v=(n,e)=>{let{$head:t,$anchor:r}=n.selection;return!t.parent.type.spec.code||!t.sameParent(r)?!1:(e&&e(n.tr.insertText(`
|
|
70
|
-
`).scrollIntoView()),!0)};function kh(n){for(let e=0;e<n.edgeCount;e++){let{type:t}=n.edge(e);if(t.isTextblock&&!t.hasRequiredAttrs())return t}return null}const Nv=(n,e)=>{let{$head:t,$anchor:r}=n.selection;if(!t.parent.type.spec.code||!t.sameParent(r))return!1;let o=t.node(-1),i=t.indexAfter(-1),s=kh(o.contentMatchAt(i));if(!s||!o.canReplaceWith(i,i,s))return!1;if(e){let l=t.after(),a=n.tr.replaceWith(l,l,s.createAndFill());a.setSelection(Be.near(a.doc.resolve(l),1)),e(a.scrollIntoView())}return!0},Lv=(n,e)=>{let t=n.selection,{$from:r,$to:o}=t;if(t instanceof Ut||r.parent.inlineContent||o.parent.inlineContent)return!1;let i=kh(o.parent.contentMatchAt(o.indexAfter()));if(!i||!i.isTextblock)return!1;if(e){let s=(!r.parentOffset&&o.index()<o.parent.childCount?r:o).pos,l=n.tr.insert(s,i.createAndFill());l.setSelection(Re.create(l.doc,s+1)),e(l.scrollIntoView())}return!0},Dv=(n,e)=>{let{$cursor:t}=n.selection;if(!t||t.parent.content.size)return!1;if(t.depth>1&&t.after()!=t.end(-1)){let i=t.before();if(Lr(n.doc,i))return e&&e(n.tr.split(i).scrollIntoView()),!0}let r=t.blockRange(),o=r&&Nr(r);return o==null?!1:(e&&e(n.tr.lift(r,o).scrollIntoView()),!0)},Bv=(n,e)=>{let{$from:t,to:r}=n.selection,o,i=t.sharedDepth(r);return i==0?!1:(o=t.before(i),e&&e(n.tr.setSelection(Me.create(n.doc,o))),!0)};function Rv(n,e,t){let r=e.nodeBefore,o=e.nodeAfter,i=e.index();return!r||!o||!r.type.compatibleContent(o.type)?!1:!r.content.size&&e.parent.canReplace(i-1,i)?(t&&t(n.tr.delete(e.pos-r.nodeSize,e.pos).scrollIntoView()),!0):!e.parent.canReplace(i,i+1)||!(o.isTextblock||kn(n.doc,e.pos))?!1:(t&&t(n.tr.clearIncompatible(e.pos,r.type,r.contentMatchAt(r.childCount)).join(e.pos).scrollIntoView()),!0)}function xh(n,e,t){let r=e.nodeBefore,o=e.nodeAfter,i,s;if(r.type.spec.isolating||o.type.spec.isolating)return!1;if(Rv(n,e,t))return!0;let l=e.parent.canReplace(e.index(),e.index()+1);if(l&&(i=(s=r.contentMatchAt(r.childCount)).findWrapping(o.type))&&s.matchType(i[0]||o.type).validEnd){if(t){let f=e.pos+o.nodeSize,h=le.empty;for(let g=i.length-1;g>=0;g--)h=le.from(i[g].create(null,h));h=le.from(r.copy(h));let p=n.tr.step(new Ge(e.pos-1,f,e.pos,f,new ye(h,1,0),i.length,!0)),m=f+2*i.length;kn(p.doc,m)&&p.join(m),t(p.scrollIntoView())}return!0}let a=Be.findFrom(e,1),d=a&&a.$from.blockRange(a.$to),u=d&&Nr(d);if(u!=null&&u>=e.depth)return t&&t(n.tr.lift(d,u).scrollIntoView()),!0;if(l&&Ur(o,"start",!0)&&Ur(r,"end")){let f=r,h=[];for(;h.push(f),!f.isTextblock;)f=f.lastChild;let p=o,m=1;for(;!p.isTextblock;p=p.firstChild)m++;if(f.canReplace(f.childCount,f.childCount,p.content)){if(t){let g=le.empty;for(let b=h.length-1;b>=0;b--)g=le.from(h[b].copy(g));let v=n.tr.step(new Ge(e.pos-h.length,e.pos+o.nodeSize,e.pos+m,e.pos+o.nodeSize-m,new ye(g,h.length,0),0,!0));t(v.scrollIntoView())}return!0}}return!1}function Th(n){return function(e,t){let r=e.selection,o=n<0?r.$from:r.$to,i=o.depth;for(;o.node(i).isInline;){if(!i)return!1;i--}return o.node(i).isTextblock?(t&&t(e.tr.setSelection(Re.create(e.doc,n<0?o.start(i):o.end(i)))),!0):!1}}const Pv=Th(-1),Fv=Th(1);function Vv(n,e=null){return function(t,r){let{$from:o,$to:i}=t.selection,s=o.blockRange(i),l=s&&Ha(s,n,e);return l?(r&&r(t.tr.wrap(s,l).scrollIntoView()),!0):!1}}function Mh(n,e=null){return function(t,r){let o=!1;for(let i=0;i<t.selection.ranges.length&&!o;i++){let{$from:{pos:s},$to:{pos:l}}=t.selection.ranges[i];t.doc.nodesBetween(s,l,(a,d)=>{if(o)return!1;if(!(!a.isTextblock||a.hasMarkup(n,e)))if(a.type==n)o=!0;else{let u=t.doc.resolve(d),f=u.index();o=u.parent.canReplaceWith(f,f+1,n)}})}if(!o)return!1;if(r){let i=t.tr;for(let s=0;s<t.selection.ranges.length;s++){let{$from:{pos:l},$to:{pos:a}}=t.selection.ranges[s];i.setBlockType(l,a,n,e)}r(i.scrollIntoView())}return!0}}typeof navigator<"u"?/Mac|iP(hone|[oa]d)/.test(navigator.platform):typeof os<"u"&&os.platform&&os.platform()=="darwin";function $v(n,e=null){return function(t,r){let{$from:o,$to:i}=t.selection,s=o.blockRange(i),l=!1,a=s;if(!s)return!1;if(s.depth>=2&&o.node(s.depth-1).type.compatibleContent(n)&&s.startIndex==0){if(o.index(s.depth-1)==0)return!1;let u=t.doc.resolve(s.start-2);a=new Ai(u,u,s.depth),s.endIndex<s.parent.childCount&&(s=new Ai(o,t.doc.resolve(i.end(s.depth)),s.depth)),l=!0}let d=Ha(a,n,e,s);return d?(r&&r(zv(t.tr,s,d,l,n).scrollIntoView()),!0):!1}}function zv(n,e,t,r,o){let i=le.empty;for(let u=t.length-1;u>=0;u--)i=le.from(t[u].type.create(t[u].attrs,i));n.step(new Ge(e.start-(r?2:0),e.end,e.start,e.end,new ye(i,0,0),t.length,!0));let s=0;for(let u=0;u<t.length;u++)t[u].type==o&&(s=u+1);let l=t.length-s,a=e.start+t.length-(r?2:0),d=e.parent;for(let u=e.startIndex,f=e.endIndex,h=!0;u<f;u++,h=!1)!h&&Lr(n.doc,a,l)&&(n.split(a,l),a+=2*l),a+=d.child(u).nodeSize;return n}function Hv(n){return function(e,t){let{$from:r,$to:o}=e.selection,i=r.blockRange(o,s=>s.childCount>0&&s.firstChild.type==n);return i?t?r.node(i.depth-1).type==n?Uv(e,t,n,i):jv(e,t,i):!0:!1}}function Uv(n,e,t,r){let o=n.tr,i=r.end,s=r.$to.end(r.depth);i<s&&(o.step(new Ge(i-1,s,i,s,new ye(le.from(t.create(null,r.parent.copy())),1,0),1,!0)),r=new Ai(o.doc.resolve(r.$from.pos),o.doc.resolve(s),r.depth));const l=Nr(r);if(l==null)return!1;o.lift(r,l);let a=o.mapping.map(i,-1)-1;return kn(o.doc,a)&&o.join(a),e(o.scrollIntoView()),!0}function jv(n,e,t){let r=n.tr,o=t.parent;for(let p=t.end,m=t.endIndex-1,g=t.startIndex;m>g;m--)p-=o.child(m).nodeSize,r.delete(p-1,p+1);let i=r.doc.resolve(t.start),s=i.nodeAfter;if(r.mapping.map(t.end)!=t.start+i.nodeAfter.nodeSize)return!1;let l=t.startIndex==0,a=t.endIndex==o.childCount,d=i.node(-1),u=i.index(-1);if(!d.canReplace(u+(l?0:1),u+1,s.content.append(a?le.empty:le.from(o))))return!1;let f=i.pos,h=f+s.nodeSize;return r.step(new Ge(f-(l?1:0),h+(a?1:0),f+1,h-1,new ye((l?le.empty:le.from(o.copy(le.empty))).append(a?le.empty:le.from(o.copy(le.empty))),l?0:1,a?0:1),l?0:1)),e(r.scrollIntoView()),!0}function Wv(n){return function(e,t){let{$from:r,$to:o}=e.selection,i=r.blockRange(o,d=>d.childCount>0&&d.firstChild.type==n);if(!i)return!1;let s=i.startIndex;if(s==0)return!1;let l=i.parent,a=l.child(s-1);if(a.type!=n)return!1;if(t){let d=a.lastChild&&a.lastChild.type==l.type,u=le.from(d?n.create():null),f=new ye(le.from(n.create(null,le.from(l.type.create(null,u)))),d?3:1,0),h=i.start,p=i.end;t(e.tr.step(new Ge(h-(d?3:1),p,h,p,f,1,!0)).scrollIntoView())}return!0}}function $i(n){const{state:e,transaction:t}=n;let{selection:r}=t,{doc:o}=t,{storedMarks:i}=t;return{...e,apply:e.apply.bind(e),applyTransaction:e.applyTransaction.bind(e),filterTransaction:e.filterTransaction,plugins:e.plugins,schema:e.schema,reconfigure:e.reconfigure.bind(e),toJSON:e.toJSON.bind(e),get storedMarks(){return i},get selection(){return r},get doc(){return o},get tr(){return r=t.selection,o=t.doc,i=t.storedMarks,t}}}class zi{constructor(e){this.editor=e.editor,this.rawCommands=this.editor.extensionManager.commands,this.customState=e.state}get hasCustomState(){return!!this.customState}get state(){return this.customState||this.editor.state}get commands(){const{rawCommands:e,editor:t,state:r}=this,{view:o}=t,{tr:i}=r,s=this.buildProps(i);return Object.fromEntries(Object.entries(e).map(([l,a])=>[l,(...u)=>{const f=a(...u)(s);return!i.getMeta("preventDispatch")&&!this.hasCustomState&&o.dispatch(i),f}]))}get chain(){return()=>this.createChain()}get can(){return()=>this.createCan()}createChain(e,t=!0){const{rawCommands:r,editor:o,state:i}=this,{view:s}=o,l=[],a=!!e,d=e||i.tr,u=()=>(!a&&t&&!d.getMeta("preventDispatch")&&!this.hasCustomState&&s.dispatch(d),l.every(h=>h===!0)),f={...Object.fromEntries(Object.entries(r).map(([h,p])=>[h,(...g)=>{const v=this.buildProps(d,t),b=p(...g)(v);return l.push(b),f}])),run:u};return f}createCan(e){const{rawCommands:t,state:r}=this,o=!1,i=e||r.tr,s=this.buildProps(i,o);return{...Object.fromEntries(Object.entries(t).map(([a,d])=>[a,(...u)=>d(...u)({...s,dispatch:void 0})])),chain:()=>this.createChain(i,o)}}buildProps(e,t=!0){const{rawCommands:r,editor:o,state:i}=this,{view:s}=o,l={tr:e,editor:o,view:s,state:$i({state:i,transaction:e}),dispatch:t?()=>{}:void 0,chain:()=>this.createChain(e,t),can:()=>this.createCan(e),get commands(){return Object.fromEntries(Object.entries(r).map(([a,d])=>[a,(...u)=>d(...u)(l)]))}};return l}}class Kv{constructor(){this.callbacks={}}on(e,t){return this.callbacks[e]||(this.callbacks[e]=[]),this.callbacks[e].push(t),this}emit(e,...t){const r=this.callbacks[e];return r&&r.forEach(o=>o.apply(this,t)),this}off(e,t){const r=this.callbacks[e];return r&&(t?this.callbacks[e]=r.filter(o=>o!==t):delete this.callbacks[e]),this}removeAllListeners(){this.callbacks={}}}function Ee(n,e,t){return n.config[e]===void 0&&n.parent?Ee(n.parent,e,t):typeof n.config[e]=="function"?n.config[e].bind({...t,parent:n.parent?Ee(n.parent,e,t):null}):n.config[e]}function Hi(n){const e=n.filter(o=>o.type==="extension"),t=n.filter(o=>o.type==="node"),r=n.filter(o=>o.type==="mark");return{baseExtensions:e,nodeExtensions:t,markExtensions:r}}function Ih(n){const e=[],{nodeExtensions:t,markExtensions:r}=Hi(n),o=[...t,...r],i={default:null,rendered:!0,renderHTML:null,parseHTML:null,keepOnSplit:!0,isRequired:!1};return n.forEach(s=>{const l={name:s.name,options:s.options,storage:s.storage},a=Ee(s,"addGlobalAttributes",l);if(!a)return;a().forEach(u=>{u.types.forEach(f=>{Object.entries(u.attributes).forEach(([h,p])=>{e.push({type:f,name:h,attribute:{...i,...p}})})})})}),o.forEach(s=>{const l={name:s.name,options:s.options,storage:s.storage},a=Ee(s,"addAttributes",l);if(!a)return;const d=a();Object.entries(d).forEach(([u,f])=>{const h={...i,...f};typeof(h==null?void 0:h.default)=="function"&&(h.default=h.default()),h!=null&&h.isRequired&&(h==null?void 0:h.default)===void 0&&delete h.default,e.push({type:s.name,name:u,attribute:h})})}),e}function Xe(n,e){if(typeof n=="string"){if(!e.nodes[n])throw Error(`There is no node type named '${n}'. Maybe you forgot to add the extension?`);return e.nodes[n]}return n}function ht(...n){return n.filter(e=>!!e).reduce((e,t)=>{const r={...e};return Object.entries(t).forEach(([o,i])=>{if(!r[o]){r[o]=i;return}if(o==="class"){const l=i?i.split(" "):[],a=r[o]?r[o].split(" "):[],d=l.filter(u=>!a.includes(u));r[o]=[...a,...d].join(" ")}else o==="style"?r[o]=[r[o],i].join("; "):r[o]=i}),r},{})}function bl(n,e){return e.filter(t=>t.attribute.rendered).map(t=>t.attribute.renderHTML?t.attribute.renderHTML(n.attrs)||{}:{[t.name]:n.attrs[t.name]}).reduce((t,r)=>ht(t,r),{})}function Oh(n){return typeof n=="function"}function Le(n,e=void 0,...t){return Oh(n)?e?n.bind(e)(...t):n(...t):n}function Qv(n={}){return Object.keys(n).length===0&&n.constructor===Object}function Yv(n){return typeof n!="string"?n:n.match(/^[+-]?(?:\d*\.)?\d+$/)?Number(n):n==="true"?!0:n==="false"?!1:n}function _h(n,e){return n.style?n:{...n,getAttrs:t=>{const r=n.getAttrs?n.getAttrs(t):n.attrs;if(r===!1)return!1;const o=e.reduce((i,s)=>{const l=s.attribute.parseHTML?s.attribute.parseHTML(t):Yv(t.getAttribute(s.name));return l==null?i:{...i,[s.name]:l}},{});return{...r,...o}}}}function Nh(n){return Object.fromEntries(Object.entries(n).filter(([e,t])=>e==="attrs"&&Qv(t)?!1:t!=null))}function Jv(n,e){var t;const r=Ih(n),{nodeExtensions:o,markExtensions:i}=Hi(n),s=(t=o.find(d=>Ee(d,"topNode")))===null||t===void 0?void 0:t.name,l=Object.fromEntries(o.map(d=>{const u=r.filter(b=>b.type===d.name),f={name:d.name,options:d.options,storage:d.storage,editor:e},h=n.reduce((b,A)=>{const S=Ee(A,"extendNodeSchema",f);return{...b,...S?S(d):{}}},{}),p=Nh({...h,content:Le(Ee(d,"content",f)),marks:Le(Ee(d,"marks",f)),group:Le(Ee(d,"group",f)),inline:Le(Ee(d,"inline",f)),atom:Le(Ee(d,"atom",f)),selectable:Le(Ee(d,"selectable",f)),draggable:Le(Ee(d,"draggable",f)),code:Le(Ee(d,"code",f)),defining:Le(Ee(d,"defining",f)),isolating:Le(Ee(d,"isolating",f)),attrs:Object.fromEntries(u.map(b=>{var A;return[b.name,{default:(A=b==null?void 0:b.attribute)===null||A===void 0?void 0:A.default}]}))}),m=Le(Ee(d,"parseHTML",f));m&&(p.parseDOM=m.map(b=>_h(b,u)));const g=Ee(d,"renderHTML",f);g&&(p.toDOM=b=>g({node:b,HTMLAttributes:bl(b,u)}));const v=Ee(d,"renderText",f);return v&&(p.toText=v),[d.name,p]})),a=Object.fromEntries(i.map(d=>{const u=r.filter(v=>v.type===d.name),f={name:d.name,options:d.options,storage:d.storage,editor:e},h=n.reduce((v,b)=>{const A=Ee(b,"extendMarkSchema",f);return{...v,...A?A(d):{}}},{}),p=Nh({...h,inclusive:Le(Ee(d,"inclusive",f)),excludes:Le(Ee(d,"excludes",f)),group:Le(Ee(d,"group",f)),spanning:Le(Ee(d,"spanning",f)),code:Le(Ee(d,"code",f)),attrs:Object.fromEntries(u.map(v=>{var b;return[v.name,{default:(b=v==null?void 0:v.attribute)===null||b===void 0?void 0:b.default}]}))}),m=Le(Ee(d,"parseHTML",f));m&&(p.parseDOM=m.map(v=>_h(v,u)));const g=Ee(d,"renderHTML",f);return g&&(p.toDOM=v=>g({mark:v,HTMLAttributes:bl(v,u)})),[d.name,p]}));return new r4({topNode:s,nodes:l,marks:a})}function Al(n,e){return e.nodes[n]||e.marks[n]||null}function Lh(n,e){return Array.isArray(e)?e.some(t=>(typeof t=="string"?t:t.name)===n.name):e}const Zv=(n,e=500)=>{let t="";const r=n.parentOffset;return n.parent.nodesBetween(Math.max(0,r-e),r,(o,i,s,l)=>{var a,d;const u=((d=(a=o.type.spec).toText)===null||d===void 0?void 0:d.call(a,{node:o,pos:i,parent:s,index:l}))||o.textContent||"%leaf%";t+=u.slice(0,Math.max(0,r-i))}),t};function wl(n){return Object.prototype.toString.call(n)==="[object RegExp]"}class Dh{constructor(e){this.find=e.find,this.handler=e.handler}}const Gv=(n,e)=>{if(wl(e))return e.exec(n);const t=e(n);if(!t)return null;const r=[t.text];return r.index=t.index,r.input=n,r.data=t.data,t.replaceWith&&(t.text.includes(t.replaceWith)||console.warn('[tiptap warn]: "inputRuleMatch.replaceWith" must be part of "inputRuleMatch.text".'),r.push(t.replaceWith)),r};function Sl(n){var e;const{editor:t,from:r,to:o,text:i,rules:s,plugin:l}=n,{view:a}=t;if(a.composing)return!1;const d=a.state.doc.resolve(r);if(d.parent.type.spec.code||!((e=d.nodeBefore||d.nodeAfter)===null||e===void 0)&&e.marks.find(h=>h.type.spec.code))return!1;let u=!1;const f=Zv(d)+i;return s.forEach(h=>{if(u)return;const p=Gv(f,h.find);if(!p)return;const m=a.state.tr,g=$i({state:a.state,transaction:m}),v={from:r-(p[0].length-i.length),to:o},{commands:b,chain:A,can:S}=new zi({editor:t,state:g});h.handler({state:g,range:v,match:p,commands:b,chain:A,can:S})===null||!m.steps.length||(m.setMeta(l,{transform:m,from:r,to:o,text:i}),a.dispatch(m),u=!0)}),u}function Xv(n){const{editor:e,rules:t}=n,r=new yt({state:{init(){return null},apply(o,i){const s=o.getMeta(r);return s||(o.selectionSet||o.docChanged?null:i)}},props:{handleTextInput(o,i,s,l){return Sl({editor:e,from:i,to:s,text:l,rules:t,plugin:r})},handleDOMEvents:{compositionend:o=>(setTimeout(()=>{const{$cursor:i}=o.state.selection;i&&Sl({editor:e,from:i.pos,to:i.pos,text:"",rules:t,plugin:r})}),!1)},handleKeyDown(o,i){if(i.key!=="Enter")return!1;const{$cursor:s}=o.state.selection;return s?Sl({editor:e,from:s.pos,to:s.pos,text:`
|
|
71
|
-
`,rules:t,plugin:r}):!1}},isInputRules:!0});return r}function
|
|
72
|
-
|
|
73
|
-
`,textSerializers:s={}}=t||{};let l="",a=!0;return n.nodesBetween(r,o,(d,u,f,h)=>{var p;const m=s==null?void 0:s[d.type.name];m?(d.isBlock&&!a&&(l+=i,a=!0),f&&(l+=m({node:d,pos:u,parent:f,index:h,range:e}))):d.isText?(l+=(p=d==null?void 0:d.text)===null||p===void 0?void 0:p.slice(Math.max(r,u)-u,o-u),a=!1):d.isBlock&&!a&&(l+=i,a=!0)}),l}function Rh(n){return Object.fromEntries(Object.entries(n.nodes).filter(([,e])=>e.spec.toText).map(([e,t])=>[e,t.spec.toText]))}const sy=Lt.create({name:"clipboardTextSerializer",addProseMirrorPlugins(){return[new yt({key:new jt("clipboardTextSerializer"),props:{clipboardTextSerializer:()=>{const{editor:n}=this,{state:e,schema:t}=n,{doc:r,selection:o}=e,{ranges:i}=o,s=Math.min(...i.map(u=>u.$from.pos)),l=Math.max(...i.map(u=>u.$to.pos)),a=Rh(t);return Bh(r,{from:s,to:l},{textSerializers:a})}}})]}}),ay=()=>({editor:n,view:e})=>(requestAnimationFrame(()=>{var t;n.isDestroyed||(e.dom.blur(),(t=window==null?void 0:window.getSelection())===null||t===void 0||t.removeAllRanges())}),!0),ly=(n=!1)=>({commands:e})=>e.setContent("",n),cy=()=>({state:n,tr:e,dispatch:t})=>{const{selection:r}=e,{ranges:o}=r;return t&&o.forEach(({$from:i,$to:s})=>{n.doc.nodesBetween(i.pos,s.pos,(l,a)=>{if(l.type.isText)return;const{doc:d,mapping:u}=e,f=d.resolve(u.map(a)),h=d.resolve(u.map(a+l.nodeSize)),p=f.blockRange(h);if(!p)return;const m=Nr(p);if(l.type.isTextblock){const{defaultType:g}=f.parent.contentMatchAt(f.index());e.setNodeMarkup(p.start,g)}(m||m===0)&&e.lift(p,m)})}),!0},dy=n=>e=>n(e),uy=()=>({state:n,dispatch:e})=>Lv(n,e),fy=(n,e)=>({editor:t,tr:r})=>{const{state:o}=t,i=o.doc.slice(n.from,n.to);r.deleteRange(n.from,n.to);const s=r.mapping.map(e);return r.insert(s,i.content),r.setSelection(new Re(r.doc.resolve(s-1))),!0},hy=()=>({tr:n,dispatch:e})=>{const{selection:t}=n,r=t.$anchor.node();if(r.content.size>0)return!1;const o=n.selection.$anchor;for(let i=o.depth;i>0;i-=1)if(o.node(i).type===r.type){if(e){const l=o.before(i),a=o.after(i);n.delete(l,a).scrollIntoView()}return!0}return!1},py=n=>({tr:e,state:t,dispatch:r})=>{const o=Xe(n,t.schema),i=e.selection.$anchor;for(let s=i.depth;s>0;s-=1)if(i.node(s).type===o){if(r){const a=i.before(s),d=i.after(s);e.delete(a,d).scrollIntoView()}return!0}return!1},my=n=>({tr:e,dispatch:t})=>{const{from:r,to:o}=n;return t&&e.delete(r,o),!0},gy=()=>({state:n,dispatch:e})=>bv(n,e),vy=()=>({commands:n})=>n.keyboardShortcut("Enter"),yy=()=>({state:n,dispatch:e})=>Nv(n,e);function ji(n,e,t={strict:!0}){const r=Object.keys(e);return r.length?r.every(o=>t.strict?e[o]===n[o]:wl(e[o])?e[o].test(n[o]):e[o]===n[o]):!0}function xl(n,e,t={}){return n.find(r=>r.type===e&&ji(r.attrs,t))}function Cy(n,e,t={}){return!!xl(n,e,t)}function Tl(n,e,t={}){if(!n||!e)return;let r=n.parent.childAfter(n.parentOffset);if(n.parentOffset===r.offset&&r.offset!==0&&(r=n.parent.childBefore(n.parentOffset)),!r.node)return;const o=xl([...r.node.marks],e,t);if(!o)return;let i=r.index,s=n.start()+r.offset,l=i+1,a=s+r.node.nodeSize;for(xl([...r.node.marks],e,t);i>0&&o.isInSet(n.parent.child(i-1).marks);)i-=1,s-=n.parent.child(i).nodeSize;for(;l<n.parent.childCount&&Cy([...n.parent.child(l).marks],e,t);)a+=n.parent.child(l).nodeSize,l+=1;return{from:s,to:a}}function Bn(n,e){if(typeof n=="string"){if(!e.marks[n])throw Error(`There is no mark type named '${n}'. Maybe you forgot to add the extension?`);return e.marks[n]}return n}const Ey=(n,e={})=>({tr:t,state:r,dispatch:o})=>{const i=Bn(n,r.schema),{doc:s,selection:l}=t,{$from:a,from:d,to:u}=l;if(o){const f=Tl(a,i,e);if(f&&f.from<=d&&f.to>=u){const h=Re.create(s,f.from,f.to);t.setSelection(h)}}return!0},by=n=>e=>{const t=typeof n=="function"?n(e):n;for(let r=0;r<t.length;r+=1)if(t[r](e))return!0;return!1};function Ml(n){return n instanceof Re}function pn(n=0,e=0,t=0){return Math.min(Math.max(n,e),t)}function Ph(n,e=null){if(!e)return null;const t=Be.atStart(n),r=Be.atEnd(n);if(e==="start"||e===!0)return t;if(e==="end")return r;const o=t.from,i=r.to;return e==="all"?Re.create(n,pn(0,o,i),pn(n.content.size,o,i)):Re.create(n,pn(e,o,i),pn(e,o,i))}function Il(){return["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document}const Ay=(n=null,e={})=>({editor:t,view:r,tr:o,dispatch:i})=>{e={scrollIntoView:!0,...e};const s=()=>{Il()&&r.dom.focus(),requestAnimationFrame(()=>{t.isDestroyed||(r.focus(),e!=null&&e.scrollIntoView&&t.commands.scrollIntoView())})};if(r.hasFocus()&&n===null||n===!1)return!0;if(i&&n===null&&!Ml(t.state.selection))return s(),!0;const l=Ph(o.doc,n)||t.state.selection,a=t.state.selection.eq(l);return i&&(a||o.setSelection(l),a&&o.storedMarks&&o.setStoredMarks(o.storedMarks),s()),!0},wy=(n,e)=>t=>n.every((r,o)=>e(r,{...t,index:o})),Sy=(n,e)=>({tr:t,commands:r})=>r.insertContentAt({from:t.selection.from,to:t.selection.to},n,e);function Fh(n){const e=`<body>${n}</body>`;return new window.DOMParser().parseFromString(e,"text/html").body}function Wi(n,e,t){if(t={slice:!0,parseOptions:{},...t},typeof n=="object"&&n!==null)try{return Array.isArray(n)&&n.length>0?le.fromArray(n.map(r=>e.nodeFromJSON(r))):e.nodeFromJSON(n)}catch(r){return console.warn("[tiptap warn]: Invalid content.","Passed value:",n,"Error:",r),Wi("",e,t)}if(typeof n=="string"){const r=Or.fromSchema(e);return t.slice?r.parseSlice(Fh(n),t.parseOptions).content:r.parse(Fh(n),t.parseOptions)}return Wi("",e,t)}function ky(n,e,t){const r=n.steps.length-1;if(r<e)return;const o=n.steps[r];if(!(o instanceof tt||o instanceof Ge))return;const i=n.mapping.maps[r];let s=0;i.forEach((l,a,d,u)=>{s===0&&(s=u)}),n.setSelection(Be.near(n.doc.resolve(s),t))}const xy=n=>n.toString().startsWith("<"),Ty=(n,e,t)=>({tr:r,dispatch:o,editor:i})=>{if(o){t={parseOptions:{},updateSelection:!0,...t};const s=Wi(e,i.schema,{parseOptions:{preserveWhitespace:"full",...t.parseOptions}});if(s.toString()==="<>")return!0;let{from:l,to:a}=typeof n=="number"?{from:n,to:n}:{from:n.from,to:n.to},d=!0,u=!0;if((xy(s)?s:[s]).forEach(h=>{h.check(),d=d?h.isText&&h.marks.length===0:!1,u=u?h.isBlock:!1}),l===a&&u){const{parent:h}=r.doc.resolve(l);h.isTextblock&&!h.type.spec.code&&!h.childCount&&(l-=1,a+=1)}d?Array.isArray(e)?r.insertText(e.map(h=>h.text||"").join(""),l,a):typeof e=="object"&&e&&e.text?r.insertText(e.text,l,a):r.insertText(e,l,a):r.replaceWith(l,a,s),t.updateSelection&&ky(r,r.steps.length-1,-1)}return!0},My=()=>({state:n,dispatch:e})=>Mv(n,e),Iy=()=>({state:n,dispatch:e})=>Iv(n,e),Oy=()=>({state:n,dispatch:e})=>wv(n,e),_y=()=>({state:n,dispatch:e})=>xv(n,e),Ny=()=>({tr:n,state:e,dispatch:t})=>{try{const r=Ii(e.doc,e.selection.$from.pos,-1);return r==null?!1:(n.join(r,2),t&&t(n),!0)}catch{return!1}},Ly=()=>({state:n,dispatch:e,tr:t})=>{try{const r=Ii(n.doc,n.selection.$from.pos,1);return r==null?!1:(t.join(r,2),e&&e(t),!0)}catch{return!1}};function Vh(){return typeof navigator<"u"?/Mac/.test(navigator.platform):!1}function Dy(n){const e=n.split(/-(?!$)/);let t=e[e.length-1];t==="Space"&&(t=" ");let r,o,i,s;for(let l=0;l<e.length-1;l+=1){const a=e[l];if(/^(cmd|meta|m)$/i.test(a))s=!0;else if(/^a(lt)?$/i.test(a))r=!0;else if(/^(c|ctrl|control)$/i.test(a))o=!0;else if(/^s(hift)?$/i.test(a))i=!0;else if(/^mod$/i.test(a))Il()||Vh()?s=!0:o=!0;else throw new Error(`Unrecognized modifier name: ${a}`)}return r&&(t=`Alt-${t}`),o&&(t=`Ctrl-${t}`),s&&(t=`Meta-${t}`),i&&(t=`Shift-${t}`),t}const By=n=>({editor:e,view:t,tr:r,dispatch:o})=>{const i=Dy(n).split(/-(?!$)/),s=i.find(d=>!["Alt","Ctrl","Meta","Shift"].includes(d)),l=new KeyboardEvent("keydown",{key:s==="Space"?" ":s,altKey:i.includes("Alt"),ctrlKey:i.includes("Ctrl"),metaKey:i.includes("Meta"),shiftKey:i.includes("Shift"),bubbles:!0,cancelable:!0}),a=e.captureTransaction(()=>{t.someProp("handleKeyDown",d=>d(t,l))});return a==null||a.steps.forEach(d=>{const u=d.map(r.mapping);u&&o&&r.maybeStep(u)}),!0};function Po(n,e,t={}){const{from:r,to:o,empty:i}=n.selection,s=e?Xe(e,n.schema):null,l=[];n.doc.nodesBetween(r,o,(f,h)=>{if(f.isText)return;const p=Math.max(r,h),m=Math.min(o,h+f.nodeSize);l.push({node:f,from:p,to:m})});const a=o-r,d=l.filter(f=>s?s.name===f.node.type.name:!0).filter(f=>ji(f.node.attrs,t,{strict:!1}));return i?!!d.length:d.reduce((f,h)=>f+h.to-h.from,0)>=a}const Ry=(n,e={})=>({state:t,dispatch:r})=>{const o=Xe(n,t.schema);return Po(t,o,e)?Ov(t,r):!1},Py=()=>({state:n,dispatch:e})=>Dv(n,e),Fy=n=>({state:e,dispatch:t})=>{const r=Xe(n,e.schema);return Hv(r)(e,t)},Vy=()=>({state:n,dispatch:e})=>_v(n,e);function Ki(n,e){return e.nodes[n]?"node":e.marks[n]?"mark":null}function $h(n,e){const t=typeof e=="string"?[e]:e;return Object.keys(n).reduce((r,o)=>(t.includes(o)||(r[o]=n[o]),r),{})}const $y=(n,e)=>({tr:t,state:r,dispatch:o})=>{let i=null,s=null;const l=Ki(typeof n=="string"?n:n.name,r.schema);return l?(l==="node"&&(i=Xe(n,r.schema)),l==="mark"&&(s=Bn(n,r.schema)),o&&t.selection.ranges.forEach(a=>{r.doc.nodesBetween(a.$from.pos,a.$to.pos,(d,u)=>{i&&i===d.type&&t.setNodeMarkup(u,void 0,$h(d.attrs,e)),s&&d.marks.length&&d.marks.forEach(f=>{s===f.type&&t.addMark(u,u+d.nodeSize,s.create($h(f.attrs,e)))})})}),!0):!1},zy=()=>({tr:n,dispatch:e})=>(e&&n.scrollIntoView(),!0),Hy=()=>({tr:n,commands:e})=>e.setTextSelection({from:0,to:n.doc.content.size}),Uy=()=>({state:n,dispatch:e})=>Sv(n,e),jy=()=>({state:n,dispatch:e})=>Tv(n,e),Wy=()=>({state:n,dispatch:e})=>Bv(n,e),Ky=()=>({state:n,dispatch:e})=>Fv(n,e),Qy=()=>({state:n,dispatch:e})=>Pv(n,e);function zh(n,e,t={}){return Wi(n,e,{slice:!1,parseOptions:t})}const Yy=(n,e=!1,t={})=>({tr:r,editor:o,dispatch:i})=>{const{doc:s}=r,l=zh(n,o.schema,t);return i&&r.replaceWith(0,s.content.size,l).setMeta("preventUpdate",!e),!0};function Qi(n,e){const t=Bn(e,n.schema),{from:r,to:o,empty:i}=n.selection,s=[];i?(n.storedMarks&&s.push(...n.storedMarks),s.push(...n.selection.$head.marks())):n.doc.nodesBetween(r,o,a=>{s.push(...a.marks)});const l=s.find(a=>a.type.name===t.name);return l?{...l.attrs}:{}}function Jy(n,e){const t=new tf(n);return e.forEach(r=>{r.steps.forEach(o=>{t.step(o)})}),t}function Zy(n){for(let e=0;e<n.edgeCount;e+=1){const{type:t}=n.edge(e);if(t.isTextblock&&!t.hasRequiredAttrs())return t}return null}function Gy(n,e,t){const r=[];return n.nodesBetween(e.from,e.to,(o,i)=>{t(o)&&r.push({node:o,pos:i})}),r}function Xy(n,e){for(let t=n.depth;t>0;t-=1){const r=n.node(t);if(e(r))return{pos:t>0?n.before(t):0,start:n.start(t),depth:t,node:r}}}function Ol(n){return e=>Xy(e.$from,n)}function qy(n,e){const t=Zt.fromSchema(e).serializeFragment(n),o=document.implementation.createHTMLDocument().createElement("div");return o.appendChild(t),o.innerHTML}function e9(n,e){const t={from:0,to:n.content.size};return Bh(n,t,e)}function t9(n,e){const t=Xe(e,n.schema),{from:r,to:o}=n.selection,i=[];n.doc.nodesBetween(r,o,l=>{i.push(l)});const s=i.reverse().find(l=>l.type.name===t.name);return s?{...s.attrs}:{}}function Hh(n,e){const t=Ki(typeof e=="string"?e:e.name,n.schema);return t==="node"?t9(n,e):t==="mark"?Qi(n,e):{}}function n9(n,e=JSON.stringify){const t={};return n.filter(r=>{const o=e(r);return Object.prototype.hasOwnProperty.call(t,o)?!1:t[o]=!0})}function r9(n){const e=n9(n);return e.length===1?e:e.filter((t,r)=>!e.filter((i,s)=>s!==r).some(i=>t.oldRange.from>=i.oldRange.from&&t.oldRange.to<=i.oldRange.to&&t.newRange.from>=i.newRange.from&&t.newRange.to<=i.newRange.to))}function o9(n){const{mapping:e,steps:t}=n,r=[];return e.maps.forEach((o,i)=>{const s=[];if(o.ranges.length)o.forEach((l,a)=>{s.push({from:l,to:a})});else{const{from:l,to:a}=t[i];if(l===void 0||a===void 0)return;s.push({from:l,to:a})}s.forEach(({from:l,to:a})=>{const d=e.slice(i).map(l,-1),u=e.slice(i).map(a),f=e.invert().map(d,-1),h=e.invert().map(u);r.push({oldRange:{from:f,to:h},newRange:{from:d,to:u}})})}),r9(r)}function _l(n,e,t){const r=[];return n===e?t.resolve(n).marks().forEach(o=>{const i=t.resolve(n-1),s=Tl(i,o.type);s&&r.push({mark:o,...s})}):t.nodesBetween(n,e,(o,i)=>{r.push(...o.marks.map(s=>({from:i,to:i+o.nodeSize,mark:s})))}),r}function Yi(n,e,t){return Object.fromEntries(Object.entries(t).filter(([r])=>{const o=n.find(i=>i.type===e&&i.name===r);return o?o.attribute.keepOnSplit:!1}))}function Nl(n,e,t={}){const{empty:r,ranges:o}=n.selection,i=e?Bn(e,n.schema):null;if(r)return!!(n.storedMarks||n.selection.$from.marks()).filter(f=>i?i.name===f.type.name:!0).find(f=>ji(f.attrs,t,{strict:!1}));let s=0;const l=[];if(o.forEach(({$from:f,$to:h})=>{const p=f.pos,m=h.pos;n.doc.nodesBetween(p,m,(g,v)=>{if(!g.isText&&!g.marks.length)return;const b=Math.max(p,v),A=Math.min(m,v+g.nodeSize),S=A-b;s+=S,l.push(...g.marks.map(y=>({mark:y,from:b,to:A})))})}),s===0)return!1;const a=l.filter(f=>i?i.name===f.mark.type.name:!0).filter(f=>ji(f.mark.attrs,t,{strict:!1})).reduce((f,h)=>f+h.to-h.from,0),d=l.filter(f=>i?f.mark.type!==i&&f.mark.type.excludes(i):!0).reduce((f,h)=>f+h.to-h.from,0);return(a>0?a+d:a)>=s}function i9(n,e,t={}){if(!e)return Po(n,null,t)||Nl(n,null,t);const r=Ki(e,n.schema);return r==="node"?Po(n,e,t):r==="mark"?Nl(n,e,t):!1}function Uh(n,e){const{nodeExtensions:t}=Hi(e),r=t.find(s=>s.name===n);if(!r)return!1;const o={name:r.name,options:r.options,storage:r.storage},i=Le(Ee(r,"group",o));return typeof i!="string"?!1:i.split(" ").includes("list")}function s9(n){var e;const t=(e=n.type.createAndFill())===null||e===void 0?void 0:e.toJSON(),r=n.toJSON();return JSON.stringify(t)===JSON.stringify(r)}function a9(n){return n instanceof Me}function jh(n,e,t){const o=n.state.doc.content.size,i=pn(e,0,o),s=pn(t,0,o),l=n.coordsAtPos(i),a=n.coordsAtPos(s,-1),d=Math.min(l.top,a.top),u=Math.max(l.bottom,a.bottom),f=Math.min(l.left,a.left),h=Math.max(l.right,a.right),p=h-f,m=u-d,b={top:d,bottom:u,left:f,right:h,width:p,height:m,x:f,y:d};return{...b,toJSON:()=>b}}function l9(n,e,t){var r;const{selection:o}=e;let i=null;if(Ml(o)&&(i=o.$cursor),i){const l=(r=n.storedMarks)!==null&&r!==void 0?r:i.marks();return!!t.isInSet(l)||!l.some(a=>a.type.excludes(t))}const{ranges:s}=o;return s.some(({$from:l,$to:a})=>{let d=l.depth===0?n.doc.inlineContent&&n.doc.type.allowsMarkType(t):!1;return n.doc.nodesBetween(l.pos,a.pos,(u,f,h)=>{if(d)return!1;if(u.isInline){const p=!h||h.type.allowsMarkType(t),m=!!t.isInSet(u.marks)||!u.marks.some(g=>g.type.excludes(t));d=p&&m}return!d}),d})}const c9=(n,e={})=>({tr:t,state:r,dispatch:o})=>{const{selection:i}=t,{empty:s,ranges:l}=i,a=Bn(n,r.schema);if(o)if(s){const d=Qi(r,a);t.addStoredMark(a.create({...d,...e}))}else l.forEach(d=>{const u=d.$from.pos,f=d.$to.pos;r.doc.nodesBetween(u,f,(h,p)=>{const m=Math.max(p,u),g=Math.min(p+h.nodeSize,f);h.marks.find(b=>b.type===a)?h.marks.forEach(b=>{a===b.type&&t.addMark(m,g,a.create({...b.attrs,...e}))}):t.addMark(m,g,a.create(e))})});return l9(r,t,a)},d9=(n,e)=>({tr:t})=>(t.setMeta(n,e),!0),u9=(n,e={})=>({state:t,dispatch:r,chain:o})=>{const i=Xe(n,t.schema);return i.isTextblock?o().command(({commands:s})=>Mh(i,e)(t)?!0:s.clearNodes()).command(({state:s})=>Mh(i,e)(s,r)).run():(console.warn('[tiptap warn]: Currently "setNode()" only supports text block nodes.'),!1)},f9=n=>({tr:e,dispatch:t})=>{if(t){const{doc:r}=e,o=pn(n,0,r.content.size),i=Me.create(r,o);e.setSelection(i)}return!0},h9=n=>({tr:e,dispatch:t})=>{if(t){const{doc:r}=e,{from:o,to:i}=typeof n=="number"?{from:n,to:n}:n,s=Re.atStart(r).from,l=Re.atEnd(r).to,a=pn(o,s,l),d=pn(i,s,l),u=Re.create(r,a,d);e.setSelection(u)}return!0},p9=n=>({state:e,dispatch:t})=>{const r=Xe(n,e.schema);return Wv(r)(e,t)};function Wh(n,e){const t=n.storedMarks||n.selection.$to.parentOffset&&n.selection.$from.marks();if(t){const r=t.filter(o=>e==null?void 0:e.includes(o.type.name));n.tr.ensureMarks(r)}}const m9=({keepMarks:n=!0}={})=>({tr:e,state:t,dispatch:r,editor:o})=>{const{selection:i,doc:s}=e,{$from:l,$to:a}=i,d=o.extensionManager.attributes,u=Yi(d,l.node().type.name,l.node().attrs);if(i instanceof Me&&i.node.isBlock)return!l.parentOffset||!Lr(s,l.pos)?!1:(r&&(n&&Wh(t,o.extensionManager.splittableMarks),e.split(l.pos).scrollIntoView()),!0);if(!l.parent.isBlock)return!1;if(r){const f=a.parentOffset===a.parent.content.size;i instanceof Re&&e.deleteSelection();const h=l.depth===0?void 0:Zy(l.node(-1).contentMatchAt(l.indexAfter(-1)));let p=f&&h?[{type:h,attrs:u}]:void 0,m=Lr(e.doc,e.mapping.map(l.pos),1,p);if(!p&&!m&&Lr(e.doc,e.mapping.map(l.pos),1,h?[{type:h}]:void 0)&&(m=!0,p=h?[{type:h,attrs:u}]:void 0),m&&(e.split(e.mapping.map(l.pos),1,p),h&&!f&&!l.parentOffset&&l.parent.type!==h)){const g=e.mapping.map(l.before()),v=e.doc.resolve(g);l.node(-1).canReplaceWith(v.index(),v.index()+1,h)&&e.setNodeMarkup(e.mapping.map(l.before()),h)}n&&Wh(t,o.extensionManager.splittableMarks),e.scrollIntoView()}return!0},g9=n=>({tr:e,state:t,dispatch:r,editor:o})=>{var i;const s=Xe(n,t.schema),{$from:l,$to:a}=t.selection,d=t.selection.node;if(d&&d.isBlock||l.depth<2||!l.sameParent(a))return!1;const u=l.node(-1);if(u.type!==s)return!1;const f=o.extensionManager.attributes;if(l.parent.content.size===0&&l.node(-1).childCount===l.indexAfter(-1)){if(l.depth===2||l.node(-3).type!==s||l.index(-2)!==l.node(-2).childCount-1)return!1;if(r){let v=le.empty;const b=l.index(-1)?1:l.index(-2)?2:3;for(let $=l.depth-b;$>=l.depth-3;$-=1)v=le.from(l.node($).copy(v));const A=l.indexAfter(-1)<l.node(-2).childCount?1:l.indexAfter(-2)<l.node(-3).childCount?2:3,S=Yi(f,l.node().type.name,l.node().attrs),y=((i=s.contentMatch.defaultType)===null||i===void 0?void 0:i.createAndFill(S))||void 0;v=v.append(le.from(s.createAndFill(null,y)||void 0));const T=l.before(l.depth-(b-1));e.replace(T,l.after(-A),new ye(v,4-b,0));let k=-1;e.doc.nodesBetween(T,e.doc.content.size,($,H)=>{if(k>-1)return!1;$.isTextblock&&$.content.size===0&&(k=H+1)}),k>-1&&e.setSelection(Re.near(e.doc.resolve(k))),e.scrollIntoView()}return!0}const h=a.pos===l.end()?u.contentMatchAt(0).defaultType:null,p=Yi(f,u.type.name,u.attrs),m=Yi(f,l.node().type.name,l.node().attrs);e.delete(l.pos,a.pos);const g=h?[{type:s,attrs:p},{type:h,attrs:m}]:[{type:s,attrs:p}];if(!Lr(e.doc,l.pos,2))return!1;if(r){const{selection:v,storedMarks:b}=t,{splittableMarks:A}=o.extensionManager,S=b||v.$to.parentOffset&&v.$from.marks();if(e.split(l.pos,2,g).scrollIntoView(),!S||!r)return!0;const y=S.filter(T=>A.includes(T.type.name));e.ensureMarks(y)}return!0},Ll=(n,e)=>{const t=Ol(s=>s.type===e)(n.selection);if(!t)return!0;const r=n.doc.resolve(Math.max(0,t.pos-1)).before(t.depth);if(r===void 0)return!0;const o=n.doc.nodeAt(r);return t.node.type===(o==null?void 0:o.type)&&kn(n.doc,t.pos)&&n.join(t.pos),!0},Dl=(n,e)=>{const t=Ol(s=>s.type===e)(n.selection);if(!t)return!0;const r=n.doc.resolve(t.start).after(t.depth);if(r===void 0)return!0;const o=n.doc.nodeAt(r);return t.node.type===(o==null?void 0:o.type)&&kn(n.doc,r)&&n.join(r),!0};var v9=Object.freeze({__proto__:null,blur:ay,clearContent:ly,clearNodes:cy,command:dy,createParagraphNear:uy,cut:fy,deleteCurrentNode:hy,deleteNode:py,deleteRange:my,deleteSelection:gy,enter:vy,exitCode:yy,extendMarkRange:Ey,first:by,focus:Ay,forEach:wy,insertContent:Sy,insertContentAt:Ty,joinUp:My,joinDown:Iy,joinBackward:Oy,joinForward:_y,joinItemBackward:Ny,joinItemForward:Ly,keyboardShortcut:By,lift:Ry,liftEmptyBlock:Py,liftListItem:Fy,newlineInCode:Vy,resetAttributes:$y,scrollIntoView:zy,selectAll:Hy,selectNodeBackward:Uy,selectNodeForward:jy,selectParentNode:Wy,selectTextblockEnd:Ky,selectTextblockStart:Qy,setContent:Yy,setMark:c9,setMeta:d9,setNode:u9,setNodeSelection:f9,setTextSelection:h9,sinkListItem:p9,splitBlock:m9,splitListItem:g9,toggleList:(n,e,t,r={})=>({editor:o,tr:i,state:s,dispatch:l,chain:a,commands:d,can:u})=>{const{extensions:f,splittableMarks:h}=o.extensionManager,p=Xe(n,s.schema),m=Xe(e,s.schema),{selection:g,storedMarks:v}=s,{$from:b,$to:A}=g,S=b.blockRange(A),y=v||g.$to.parentOffset&&g.$from.marks();if(!S)return!1;const T=Ol(k=>Uh(k.type.name,f))(g);if(S.depth>=1&&T&&S.depth-T.depth<=1){if(T.node.type===p)return d.liftListItem(m);if(Uh(T.node.type.name,f)&&p.validContent(T.node.content)&&l)return a().command(()=>(i.setNodeMarkup(T.pos,p),!0)).command(()=>Ll(i,p)).command(()=>Dl(i,p)).run()}return!t||!y||!l?a().command(()=>u().wrapInList(p,r)?!0:d.clearNodes()).wrapInList(p,r).command(()=>Ll(i,p)).command(()=>Dl(i,p)).run():a().command(()=>{const k=u().wrapInList(p,r),$=y.filter(H=>h.includes(H.type.name));return i.ensureMarks($),k?!0:d.clearNodes()}).wrapInList(p,r).command(()=>Ll(i,p)).command(()=>Dl(i,p)).run()},toggleMark:(n,e={},t={})=>({state:r,commands:o})=>{const{extendEmptyMarkRange:i=!1}=t,s=Bn(n,r.schema);return Nl(r,s,e)?o.unsetMark(s,{extendEmptyMarkRange:i}):o.setMark(s,e)},toggleNode:(n,e,t={})=>({state:r,commands:o})=>{const i=Xe(n,r.schema),s=Xe(e,r.schema);return Po(r,i,t)?o.setNode(s):o.setNode(i,t)},toggleWrap:(n,e={})=>({state:t,commands:r})=>{const o=Xe(n,t.schema);return Po(t,o,e)?r.lift(o):r.wrapIn(o,e)},undoInputRule:()=>({state:n,dispatch:e})=>{const t=n.plugins;for(let r=0;r<t.length;r+=1){const o=t[r];let i;if(o.spec.isInputRules&&(i=o.getState(n))){if(e){const s=n.tr,l=i.transform;for(let a=l.steps.length-1;a>=0;a-=1)s.step(l.steps[a].invert(l.docs[a]));if(i.text){const a=s.doc.resolve(i.from).marks();s.replaceWith(i.from,i.to,n.schema.text(i.text,a))}else s.delete(i.from,i.to)}return!0}}return!1},unsetAllMarks:()=>({tr:n,dispatch:e})=>{const{selection:t}=n,{empty:r,ranges:o}=t;return r||e&&o.forEach(i=>{n.removeMark(i.$from.pos,i.$to.pos)}),!0},unsetMark:(n,e={})=>({tr:t,state:r,dispatch:o})=>{var i;const{extendEmptyMarkRange:s=!1}=e,{selection:l}=t,a=Bn(n,r.schema),{$from:d,empty:u,ranges:f}=l;if(!o)return!0;if(u&&s){let{from:h,to:p}=l;const m=(i=d.marks().find(v=>v.type===a))===null||i===void 0?void 0:i.attrs,g=Tl(d,a,m);g&&(h=g.from,p=g.to),t.removeMark(h,p,a)}else f.forEach(h=>{t.removeMark(h.$from.pos,h.$to.pos,a)});return t.removeStoredMark(a),!0},updateAttributes:(n,e={})=>({tr:t,state:r,dispatch:o})=>{let i=null,s=null;const l=Ki(typeof n=="string"?n:n.name,r.schema);return l?(l==="node"&&(i=Xe(n,r.schema)),l==="mark"&&(s=Bn(n,r.schema)),o&&t.selection.ranges.forEach(a=>{const d=a.$from.pos,u=a.$to.pos;r.doc.nodesBetween(d,u,(f,h)=>{i&&i===f.type&&t.setNodeMarkup(h,void 0,{...f.attrs,...e}),s&&f.marks.length&&f.marks.forEach(p=>{if(s===p.type){const m=Math.max(h,d),g=Math.min(h+f.nodeSize,u);t.addMark(m,g,s.create({...p.attrs,...e}))}})})}),!0):!1},wrapIn:(n,e={})=>({state:t,dispatch:r})=>{const o=Xe(n,t.schema);return Vv(o,e)(t,r)},wrapInList:(n,e={})=>({state:t,dispatch:r})=>{const o=Xe(n,t.schema);return $v(o,e)(t,r)}});const y9=Lt.create({name:"commands",addCommands(){return{...v9}}}),C9=Lt.create({name:"editable",addProseMirrorPlugins(){return[new yt({key:new jt("editable"),props:{editable:()=>this.editor.options.editable}})]}}),E9=Lt.create({name:"focusEvents",addProseMirrorPlugins(){const{editor:n}=this;return[new yt({key:new jt("focusEvents"),props:{handleDOMEvents:{focus:(e,t)=>{n.isFocused=!0;const r=n.state.tr.setMeta("focus",{event:t}).setMeta("addToHistory",!1);return e.dispatch(r),!1},blur:(e,t)=>{n.isFocused=!1;const r=n.state.tr.setMeta("blur",{event:t}).setMeta("addToHistory",!1);return e.dispatch(r),!1}}}})]}}),b9=Lt.create({name:"keymap",addKeyboardShortcuts(){const n=()=>this.editor.commands.first(({commands:s})=>[()=>s.undoInputRule(),()=>s.command(({tr:l})=>{const{selection:a,doc:d}=l,{empty:u,$anchor:f}=a,{pos:h,parent:p}=f,m=f.parent.isTextblock?l.doc.resolve(h-1):f,g=m.parent.type.spec.isolating,v=f.pos-f.parentOffset,b=g&&m.parent.childCount===1?v===f.pos:Be.atStart(d).from===h;return!u||!b||!p.type.isTextblock||p.textContent.length?!1:s.clearNodes()}),()=>s.deleteSelection(),()=>s.joinBackward(),()=>s.selectNodeBackward()]),e=()=>this.editor.commands.first(({commands:s})=>[()=>s.deleteSelection(),()=>s.deleteCurrentNode(),()=>s.joinForward(),()=>s.selectNodeForward()]),r={Enter:()=>this.editor.commands.first(({commands:s})=>[()=>s.newlineInCode(),()=>s.createParagraphNear(),()=>s.liftEmptyBlock(),()=>s.splitBlock()]),"Mod-Enter":()=>this.editor.commands.exitCode(),Backspace:n,"Mod-Backspace":n,"Shift-Backspace":n,Delete:e,"Mod-Delete":e,"Mod-a":()=>this.editor.commands.selectAll()},o={...r},i={...r,"Ctrl-h":n,"Alt-Backspace":n,"Ctrl-d":e,"Ctrl-Alt-Backspace":e,"Alt-Delete":e,"Alt-d":e,"Ctrl-a":()=>this.editor.commands.selectTextblockStart(),"Ctrl-e":()=>this.editor.commands.selectTextblockEnd()};return Il()||Vh()?i:o},addProseMirrorPlugins(){return[new yt({key:new jt("clearDocument"),appendTransaction:(n,e,t)=>{if(!(n.some(m=>m.docChanged)&&!e.doc.eq(t.doc)))return;const{empty:o,from:i,to:s}=e.selection,l=Be.atStart(e.doc).from,a=Be.atEnd(e.doc).to;if(o||!(i===l&&s===a)||!(t.doc.textBetween(0,t.doc.content.size," "," ").length===0))return;const f=t.tr,h=$i({state:t,transaction:f}),{commands:p}=new zi({editor:this.editor,state:h});if(p.clearNodes(),!!f.steps.length)return f}})]}}),A9=Lt.create({name:"tabindex",addProseMirrorPlugins(){return[new yt({key:new jt("tabindex"),props:{attributes:this.editor.isEditable?{tabindex:"0"}:{}}})]}});var w9=Object.freeze({__proto__:null,ClipboardTextSerializer:sy,Commands:y9,Editable:C9,FocusEvents:E9,Keymap:b9,Tabindex:A9});const S9=`.ProseMirror {
|
|
62
|
+
Expect errors in decoding.`),S=S.replace(/[^A-Za-z0-9\+\/\=]/g,"");_=this.KEY_STR.indexOf(S.charAt(K++)),N=this.KEY_STR.indexOf(S.charAt(K++)),B=this.KEY_STR.indexOf(S.charAt(K++)),P=this.KEY_STR.indexOf(S.charAt(K++)),M=_<<2|N>>4,C=(N&15)<<4|B>>2,E=(B&3)<<6|P,G.push(M),B!==64&&G.push(C),P!==64&&G.push(E),M=C=E="",_=N=B=P="",K<S.length;);return G}}]),x}();ve.initClass();var Ae=function(I,S){var M=!1,C=!0,E=I.document,_=E.documentElement,N=E.addEventListener?"addEventListener":"attachEvent",B=E.addEventListener?"removeEventListener":"detachEvent",P=E.addEventListener?"":"on",K=function Q(Z){if(!(Z.type==="readystatechange"&&E.readyState!=="complete")&&((Z.type==="load"?I:E)[B](P+Z.type,Q,!1),!M&&(M=!0)))return S.call(I,Z.type||Z)},G=function Q(){try{_.doScroll("left")}catch{setTimeout(Q,50);return}return K("poll")};if(E.readyState!=="complete"){if(E.createEventObject&&_.doScroll){try{C=!I.frameElement}catch{}C&&G()}return E[N](P+"DOMContentLoaded",K,!1),E[N](P+"readystatechange",K,!1),I[N](P+"load",K,!1)}};L._autoDiscoverFunction=function(){if(L.autoDiscover)return L.discover()},Ae(window,L._autoDiscoverFunction);function Se(x,I){return typeof x<"u"&&x!==null?I(x):void 0}function xe(x,I,S){if(typeof x<"u"&&x!==null&&typeof x[I]=="function")return S(x,I)}window.Dropzone=L;var Ce=L}(),i}()})})(yu);var P6=yu.exports;const Cu=Ba(P6),V6={class:"fallback"},F6=c.createElementVNode("input",{id:"file",type:"file",name:"file",multiple:""},null,-1),$6={for:"file"},z6={class:"dz-message","data-dz-message":""},H6={id:"bd-dropzone-theme",style:{display:"none"}},U6={class:"dz-preview dz-file-preview"},j6={class:"dz-details"},W6=c.createElementVNode("img",{"data-dz-thumbnail":"",class:"dz-image"},null,-1),K6=c.createElementVNode("div",{class:"dz-filename"},[c.createElementVNode("small",{"data-dz-name":""})],-1),Q6=c.createElementVNode("div",{class:"dz-progress"},[c.createElementVNode("div",{class:"spinner-border text-primary spinner-border-sm",role:"status"},[c.createElementVNode("span",{class:"visually-hidden"},"Loading...")])],-1),Y6={class:"dz-success-mark"},G6={class:"dz-error-message text-danger"},Z6=c.createElementVNode("small",{"data-dz-errormessage":""},null,-1),Eu=c.defineComponent({__name:"BDDropzone",props:{modelValue:{default:[]},buttonText:{default:void 0},multiple:{type:Boolean,default:!1},errorMessage:{default:void 0},fileSizeExceededMessage:{default:void 0},acceptedFiles:{default:".jpg"},url:{default:""},tag:{default:"form"},token:{default:""}},emits:["update:modelValue"],setup(n,{emit:e}){const t=n,r=c.computed(()=>({variant:ui.PRIMARY,size:lt.SM})),o=er(t,"modelValue",e);let i=null;Cu.autoDiscover=!1,c.watch(()=>t.modelValue,()=>{s()}),c.onMounted(()=>{document.getElementById("dropzone")&&l()});const s=()=>{i&&(i.destroy(),l())},l=()=>{var p;i=new Cu("#dropzone",{url:t.url,method:"post",acceptedFiles:t.acceptedFiles,addRemoveLinks:!1,maxFilesize:10,maxFiles:t.multiple?3:1,headers:{RequestVerificationToken:t.token},dictResponseError:t.errorMessage,dictFileTooBig:t.fileSizeExceededMessage,previewTemplate:(p=document.querySelector("#bd-dropzone-theme"))==null?void 0:p.innerHTML}),i.on("error",d),i.on("success",a),i.on("removedfile",f)},a=function(p,m){var g;o.value.push({UUID:(g=p.upload)==null?void 0:g.uuid,CorrelationId:m.CorrelationId,Naam:m.Naam}),u(p)},d=function(p){u(p)},u=function(p){const m=p.name;if(!(m.endsWith(".png")||m.endsWith(".jpg")||m.endsWith(".jpeg")||m.endsWith(".gif"))){const g=p.previewElement.getElementsByClassName("icon-file"),v=p.previewElement.getElementsByClassName("dz-image");g[0].classList.remove("d-none"),v[0].classList.add("d-none")}},f=function(p){const m=o.value.findIndex(g=>{var v;return(g==null?void 0:g.UUID)===((v=p.upload)==null?void 0:v.uuid)});m!==-1&&o.value.splice(m,1)},h=c.computed(()=>t.tag??"form");return(p,m)=>(c.openBlock(),c.createElementBlock(c.Fragment,null,[(c.openBlock(),c.createBlock(c.resolveDynamicComponent(h.value),{id:"dropzone",class:"dropzone bd-dropzone",enctype:"multipart/form-data"},{default:c.withCtx(()=>[c.createElementVNode("div",V6,[F6,c.createTextVNode(" test "),c.createElementVNode("label",$6,[c.createVNode(c.unref(Xn)),c.createTextVNode(" "+c.toDisplayString(t.buttonText),1)])]),c.createElementVNode("div",z6,[c.createVNode(He,c.normalizeProps(c.guardReactiveProps(r.value)),{default:c.withCtx(()=>[c.createVNode(c.unref(Xn)),c.createTextVNode(" "+c.toDisplayString(t.buttonText),1)]),_:1},16)])]),_:1})),c.createElementVNode("div",H6,[c.createElementVNode("div",U6,[c.createElementVNode("div",j6,[W6,c.createVNode(c.unref(Ea),{"data-dz-thumbnail":"",class:"d-none"}),K6,c.createVNode(He,{class:"dz-remove",alt:"Click me to remove the file.","data-dz-remove":""},{default:c.withCtx(()=>[c.createVNode(c.unref(vo))]),_:1})]),Q6,c.createElementVNode("div",Y6,[c.createVNode(c.unref(Tr))]),c.createElementVNode("div",G6,[c.createVNode(c.unref(ci)),Z6])])])],64))}});function et(n){this.content=n}et.prototype={constructor:et,find:function(n){for(var e=0;e<this.content.length;e+=2)if(this.content[e]===n)return e;return-1},get:function(n){var e=this.find(n);return e==-1?void 0:this.content[e+1]},update:function(n,e,t){var r=t&&t!=n?this.remove(t):this,o=r.find(n),i=r.content.slice();return o==-1?i.push(t||n,e):(i[o+1]=e,t&&(i[o]=t)),new et(i)},remove:function(n){var e=this.find(n);if(e==-1)return this;var t=this.content.slice();return t.splice(e,2),new et(t)},addToStart:function(n,e){return new et([n,e].concat(this.remove(n).content))},addToEnd:function(n,e){var t=this.remove(n).content.slice();return t.push(n,e),new et(t)},addBefore:function(n,e,t){var r=this.remove(e),o=r.content.slice(),i=r.find(n);return o.splice(i==-1?o.length:i,0,e,t),new et(o)},forEach:function(n){for(var e=0;e<this.content.length;e+=2)n(this.content[e],this.content[e+1])},prepend:function(n){return n=et.from(n),n.size?new et(n.content.concat(this.subtract(n).content)):this},append:function(n){return n=et.from(n),n.size?new et(this.subtract(n).content.concat(n.content)):this},subtract:function(n){var e=this;n=et.from(n);for(var t=0;t<n.content.length;t+=2)e=e.remove(n.content[t]);return e},toObject:function(){var n={};return this.forEach(function(e,t){n[e]=t}),n},get size(){return this.content.length>>1}},et.from=function(n){if(n instanceof et)return n;var e=[];if(n)for(var t in n)e.push(t,n[t]);return new et(e)};function bu(n,e,t){for(let r=0;;r++){if(r==n.childCount||r==e.childCount)return n.childCount==e.childCount?null:t;let o=n.child(r),i=e.child(r);if(o==i){t+=o.nodeSize;continue}if(!o.sameMarkup(i))return t;if(o.isText&&o.text!=i.text){for(let s=0;o.text[s]==i.text[s];s++)t++;return t}if(o.content.size||i.content.size){let s=bu(o.content,i.content,t+1);if(s!=null)return s}t+=o.nodeSize}}function Au(n,e,t,r){for(let o=n.childCount,i=e.childCount;;){if(o==0||i==0)return o==i?null:{a:t,b:r};let s=n.child(--o),l=e.child(--i),a=s.nodeSize;if(s==l){t-=a,r-=a;continue}if(!s.sameMarkup(l))return{a:t,b:r};if(s.isText&&s.text!=l.text){let d=0,u=Math.min(s.text.length,l.text.length);for(;d<u&&s.text[s.text.length-d-1]==l.text[l.text.length-d-1];)d++,t--,r--;return{a:t,b:r}}if(s.content.size||l.content.size){let d=Au(s.content,l.content,t-1,r-1);if(d)return d}t-=a,r-=a}}class le{constructor(e,t){if(this.content=e,this.size=t||0,t==null)for(let r=0;r<e.length;r++)this.size+=e[r].nodeSize}nodesBetween(e,t,r,o=0,i){for(let s=0,l=0;l<t;s++){let a=this.content[s],d=l+a.nodeSize;if(d>e&&r(a,o+l,i||null,s)!==!1&&a.content.size){let u=l+1;a.nodesBetween(Math.max(0,e-u),Math.min(a.content.size,t-u),r,o+u)}l=d}}descendants(e){this.nodesBetween(0,this.size,e)}textBetween(e,t,r,o){let i="",s=!0;return this.nodesBetween(e,t,(l,a)=>{l.isText?(i+=l.text.slice(Math.max(e,a)-a,t-a),s=!r):l.isLeaf?(o?i+=typeof o=="function"?o(l):o:l.type.spec.leafText&&(i+=l.type.spec.leafText(l)),s=!r):!s&&l.isBlock&&(i+=r,s=!0)},0),i}append(e){if(!e.size)return this;if(!this.size)return e;let t=this.lastChild,r=e.firstChild,o=this.content.slice(),i=0;for(t.isText&&t.sameMarkup(r)&&(o[o.length-1]=t.withText(t.text+r.text),i=1);i<e.content.length;i++)o.push(e.content[i]);return new le(o,this.size+e.size)}cut(e,t=this.size){if(e==0&&t==this.size)return this;let r=[],o=0;if(t>e)for(let i=0,s=0;s<t;i++){let l=this.content[i],a=s+l.nodeSize;a>e&&((s<e||a>t)&&(l.isText?l=l.cut(Math.max(0,e-s),Math.min(l.text.length,t-s)):l=l.cut(Math.max(0,e-s-1),Math.min(l.content.size,t-s-1))),r.push(l),o+=l.nodeSize),s=a}return new le(r,o)}cutByIndex(e,t){return e==t?le.empty:e==0&&t==this.content.length?this:new le(this.content.slice(e,t))}replaceChild(e,t){let r=this.content[e];if(r==t)return this;let o=this.content.slice(),i=this.size+t.nodeSize-r.nodeSize;return o[e]=t,new le(o,i)}addToStart(e){return new le([e].concat(this.content),this.size+e.nodeSize)}addToEnd(e){return new le(this.content.concat(e),this.size+e.nodeSize)}eq(e){if(this.content.length!=e.content.length)return!1;for(let t=0;t<this.content.length;t++)if(!this.content[t].eq(e.content[t]))return!1;return!0}get firstChild(){return this.content.length?this.content[0]:null}get lastChild(){return this.content.length?this.content[this.content.length-1]:null}get childCount(){return this.content.length}child(e){let t=this.content[e];if(!t)throw new RangeError("Index "+e+" out of range for "+this);return t}maybeChild(e){return this.content[e]||null}forEach(e){for(let t=0,r=0;t<this.content.length;t++){let o=this.content[t];e(o,r,t),r+=o.nodeSize}}findDiffStart(e,t=0){return bu(this,e,t)}findDiffEnd(e,t=this.size,r=e.size){return Au(this,e,t,r)}findIndex(e,t=-1){if(e==0)return Ci(0,e);if(e==this.size)return Ci(this.content.length,e);if(e>this.size||e<0)throw new RangeError(`Position ${e} outside of fragment (${this})`);for(let r=0,o=0;;r++){let i=this.child(r),s=o+i.nodeSize;if(s>=e)return s==e||t>0?Ci(r+1,s):Ci(r,o);o=s}}toString(){return"<"+this.toStringInner()+">"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map(e=>e.toJSON()):null}static fromJSON(e,t){if(!t)return le.empty;if(!Array.isArray(t))throw new RangeError("Invalid input for Fragment.fromJSON");return new le(t.map(e.nodeFromJSON))}static fromArray(e){if(!e.length)return le.empty;let t,r=0;for(let o=0;o<e.length;o++){let i=e[o];r+=i.nodeSize,o&&i.isText&&e[o-1].sameMarkup(i)?(t||(t=e.slice(0,o)),t[t.length-1]=i.withText(t[t.length-1].text+i.text)):t&&t.push(i)}return new le(t||e,r)}static from(e){if(!e)return le.empty;if(e instanceof le)return e;if(Array.isArray(e))return this.fromArray(e);if(e.attrs)return new le([e],e.nodeSize);throw new RangeError("Can not convert "+e+" to a Fragment"+(e.nodesBetween?" (looks like multiple versions of prosemirror-model were loaded)":""))}}le.empty=new le([],0);const Ra={index:0,offset:0};function Ci(n,e){return Ra.index=n,Ra.offset=e,Ra}function Ei(n,e){if(n===e)return!0;if(!(n&&typeof n=="object")||!(e&&typeof e=="object"))return!1;let t=Array.isArray(n);if(Array.isArray(e)!=t)return!1;if(t){if(n.length!=e.length)return!1;for(let r=0;r<n.length;r++)if(!Ei(n[r],e[r]))return!1}else{for(let r in n)if(!(r in e)||!Ei(n[r],e[r]))return!1;for(let r in e)if(!(r in n))return!1}return!0}let Ve=class ed{constructor(e,t){this.type=e,this.attrs=t}addToSet(e){let t,r=!1;for(let o=0;o<e.length;o++){let i=e[o];if(this.eq(i))return e;if(this.type.excludes(i.type))t||(t=e.slice(0,o));else{if(i.type.excludes(this.type))return e;!r&&i.type.rank>this.type.rank&&(t||(t=e.slice(0,o)),t.push(this),r=!0),t&&t.push(i)}}return t||(t=e.slice()),r||t.push(this),t}removeFromSet(e){for(let t=0;t<e.length;t++)if(this.eq(e[t]))return e.slice(0,t).concat(e.slice(t+1));return e}isInSet(e){for(let t=0;t<e.length;t++)if(this.eq(e[t]))return!0;return!1}eq(e){return this==e||this.type==e.type&&Ei(this.attrs,e.attrs)}toJSON(){let e={type:this.type.name};for(let t in this.attrs){e.attrs=this.attrs;break}return e}static fromJSON(e,t){if(!t)throw new RangeError("Invalid input for Mark.fromJSON");let r=e.marks[t.type];if(!r)throw new RangeError(`There is no mark type ${t.type} in this schema`);return r.create(t.attrs)}static sameSet(e,t){if(e==t)return!0;if(e.length!=t.length)return!1;for(let r=0;r<e.length;r++)if(!e[r].eq(t[r]))return!1;return!0}static setFrom(e){if(!e||Array.isArray(e)&&e.length==0)return ed.none;if(e instanceof ed)return[e];let t=e.slice();return t.sort((r,o)=>r.type.rank-o.type.rank),t}};Ve.none=[];class bi extends Error{}class ye{constructor(e,t,r){this.content=e,this.openStart=t,this.openEnd=r}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(e,t){let r=Su(this.content,e+this.openStart,t);return r&&new ye(r,this.openStart,this.openEnd)}removeBetween(e,t){return new ye(wu(this.content,e+this.openStart,t+this.openStart),this.openStart,this.openEnd)}eq(e){return this.content.eq(e.content)&&this.openStart==e.openStart&&this.openEnd==e.openEnd}toString(){return this.content+"("+this.openStart+","+this.openEnd+")"}toJSON(){if(!this.content.size)return null;let e={content:this.content.toJSON()};return this.openStart>0&&(e.openStart=this.openStart),this.openEnd>0&&(e.openEnd=this.openEnd),e}static fromJSON(e,t){if(!t)return ye.empty;let r=t.openStart||0,o=t.openEnd||0;if(typeof r!="number"||typeof o!="number")throw new RangeError("Invalid input for Slice.fromJSON");return new ye(le.fromJSON(e,t.content),r,o)}static maxOpen(e,t=!0){let r=0,o=0;for(let i=e.firstChild;i&&!i.isLeaf&&(t||!i.type.spec.isolating);i=i.firstChild)r++;for(let i=e.lastChild;i&&!i.isLeaf&&(t||!i.type.spec.isolating);i=i.lastChild)o++;return new ye(e,r,o)}}ye.empty=new ye(le.empty,0,0);function wu(n,e,t){let{index:r,offset:o}=n.findIndex(e),i=n.maybeChild(r),{index:s,offset:l}=n.findIndex(t);if(o==e||i.isText){if(l!=t&&!n.child(s).isText)throw new RangeError("Removing non-flat range");return n.cut(0,e).append(n.cut(t))}if(r!=s)throw new RangeError("Removing non-flat range");return n.replaceChild(r,i.copy(wu(i.content,e-o-1,t-o-1)))}function Su(n,e,t,r){let{index:o,offset:i}=n.findIndex(e),s=n.maybeChild(o);if(i==e||s.isText)return r&&!r.canReplace(o,o,t)?null:n.cut(0,e).append(t).append(n.cut(e));let l=Su(s.content,e-i-1,t);return l&&n.replaceChild(o,s.copy(l))}function J6(n,e,t){if(t.openStart>n.depth)throw new bi("Inserted content deeper than insertion position");if(n.depth-t.openStart!=e.depth-t.openEnd)throw new bi("Inconsistent open depths");return ku(n,e,t,0)}function ku(n,e,t,r){let o=n.index(r),i=n.node(r);if(o==e.index(r)&&r<n.depth-t.openStart){let s=ku(n,e,t,r+1);return i.copy(i.content.replaceChild(o,s))}else if(t.content.size)if(!t.openStart&&!t.openEnd&&n.depth==r&&e.depth==r){let s=n.parent,l=s.content;return or(s,l.cut(0,n.parentOffset).append(t.content).append(l.cut(e.parentOffset)))}else{let{start:s,end:l}=X6(t,n);return or(i,Tu(n,s,l,e,r))}else return or(i,Ai(n,e,r))}function xu(n,e){if(!e.type.compatibleContent(n.type))throw new bi("Cannot join "+e.type.name+" onto "+n.type.name)}function Pa(n,e,t){let r=n.node(t);return xu(r,e.node(t)),r}function rr(n,e){let t=e.length-1;t>=0&&n.isText&&n.sameMarkup(e[t])?e[t]=n.withText(e[t].text+n.text):e.push(n)}function bo(n,e,t,r){let o=(e||n).node(t),i=0,s=e?e.index(t):o.childCount;n&&(i=n.index(t),n.depth>t?i++:n.textOffset&&(rr(n.nodeAfter,r),i++));for(let l=i;l<s;l++)rr(o.child(l),r);e&&e.depth==t&&e.textOffset&&rr(e.nodeBefore,r)}function or(n,e){return n.type.checkContent(e),n.copy(e)}function Tu(n,e,t,r,o){let i=n.depth>o&&Pa(n,e,o+1),s=r.depth>o&&Pa(t,r,o+1),l=[];return bo(null,n,o,l),i&&s&&e.index(o)==t.index(o)?(xu(i,s),rr(or(i,Tu(n,e,t,r,o+1)),l)):(i&&rr(or(i,Ai(n,e,o+1)),l),bo(e,t,o,l),s&&rr(or(s,Ai(t,r,o+1)),l)),bo(r,null,o,l),new le(l)}function Ai(n,e,t){let r=[];if(bo(null,n,t,r),n.depth>t){let o=Pa(n,e,t+1);rr(or(o,Ai(n,e,t+1)),r)}return bo(e,null,t,r),new le(r)}function X6(n,e){let t=e.depth-n.openStart,o=e.node(t).copy(n.content);for(let i=t-1;i>=0;i--)o=e.node(i).copy(le.from(o));return{start:o.resolveNoCache(n.openStart+t),end:o.resolveNoCache(o.content.size-n.openEnd-t)}}class Ao{constructor(e,t,r){this.pos=e,this.path=t,this.parentOffset=r,this.depth=t.length/3-1}resolveDepth(e){return e==null?this.depth:e<0?this.depth+e:e}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(e){return this.path[this.resolveDepth(e)*3]}index(e){return this.path[this.resolveDepth(e)*3+1]}indexAfter(e){return e=this.resolveDepth(e),this.index(e)+(e==this.depth&&!this.textOffset?0:1)}start(e){return e=this.resolveDepth(e),e==0?0:this.path[e*3-1]+1}end(e){return e=this.resolveDepth(e),this.start(e)+this.node(e).content.size}before(e){if(e=this.resolveDepth(e),!e)throw new RangeError("There is no position before the top-level node");return e==this.depth+1?this.pos:this.path[e*3-1]}after(e){if(e=this.resolveDepth(e),!e)throw new RangeError("There is no position after the top-level node");return e==this.depth+1?this.pos:this.path[e*3-1]+this.path[e*3].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let e=this.parent,t=this.index(this.depth);if(t==e.childCount)return null;let r=this.pos-this.path[this.path.length-1],o=e.child(t);return r?e.child(t).cut(r):o}get nodeBefore(){let e=this.index(this.depth),t=this.pos-this.path[this.path.length-1];return t?this.parent.child(e).cut(0,t):e==0?null:this.parent.child(e-1)}posAtIndex(e,t){t=this.resolveDepth(t);let r=this.path[t*3],o=t==0?0:this.path[t*3-1]+1;for(let i=0;i<e;i++)o+=r.child(i).nodeSize;return o}marks(){let e=this.parent,t=this.index();if(e.content.size==0)return Ve.none;if(this.textOffset)return e.child(t).marks;let r=e.maybeChild(t-1),o=e.maybeChild(t);if(!r){let l=r;r=o,o=l}let i=r.marks;for(var s=0;s<i.length;s++)i[s].type.spec.inclusive===!1&&(!o||!i[s].isInSet(o.marks))&&(i=i[s--].removeFromSet(i));return i}marksAcross(e){let t=this.parent.maybeChild(this.index());if(!t||!t.isInline)return null;let r=t.marks,o=e.parent.maybeChild(e.index());for(var i=0;i<r.length;i++)r[i].type.spec.inclusive===!1&&(!o||!r[i].isInSet(o.marks))&&(r=r[i--].removeFromSet(r));return r}sharedDepth(e){for(let t=this.depth;t>0;t--)if(this.start(t)<=e&&this.end(t)>=e)return t;return 0}blockRange(e=this,t){if(e.pos<this.pos)return e.blockRange(this);for(let r=this.depth-(this.parent.inlineContent||this.pos==e.pos?1:0);r>=0;r--)if(e.pos<=this.end(r)&&(!t||t(this.node(r))))return new wi(this,e,r);return null}sameParent(e){return this.pos-this.parentOffset==e.pos-e.parentOffset}max(e){return e.pos>this.pos?e:this}min(e){return e.pos<this.pos?e:this}toString(){let e="";for(let t=1;t<=this.depth;t++)e+=(e?"/":"")+this.node(t).type.name+"_"+this.index(t-1);return e+":"+this.parentOffset}static resolve(e,t){if(!(t>=0&&t<=e.content.size))throw new RangeError("Position "+t+" out of range");let r=[],o=0,i=t;for(let s=e;;){let{index:l,offset:a}=s.content.findIndex(i),d=i-a;if(r.push(s,l,o+a),!d||(s=s.child(l),s.isText))break;i=d-1,o+=a+1}return new Ao(t,r,i)}static resolveCached(e,t){for(let o=0;o<Va.length;o++){let i=Va[o];if(i.pos==t&&i.doc==e)return i}let r=Va[Fa]=Ao.resolve(e,t);return Fa=(Fa+1)%q6,r}}let Va=[],Fa=0,q6=12;class wi{constructor(e,t,r){this.$from=e,this.$to=t,this.depth=r}get start(){return this.$from.before(this.depth+1)}get end(){return this.$to.after(this.depth+1)}get parent(){return this.$from.node(this.depth)}get startIndex(){return this.$from.index(this.depth)}get endIndex(){return this.$to.indexAfter(this.depth)}}const e4=Object.create(null);let ir=class td{constructor(e,t,r,o=Ve.none){this.type=e,this.attrs=t,this.marks=o,this.content=r||le.empty}get nodeSize(){return this.isLeaf?1:2+this.content.size}get childCount(){return this.content.childCount}child(e){return this.content.child(e)}maybeChild(e){return this.content.maybeChild(e)}forEach(e){this.content.forEach(e)}nodesBetween(e,t,r,o=0){this.content.nodesBetween(e,t,r,o,this)}descendants(e){this.nodesBetween(0,this.content.size,e)}get textContent(){return this.isLeaf&&this.type.spec.leafText?this.type.spec.leafText(this):this.textBetween(0,this.content.size,"")}textBetween(e,t,r,o){return this.content.textBetween(e,t,r,o)}get firstChild(){return this.content.firstChild}get lastChild(){return this.content.lastChild}eq(e){return this==e||this.sameMarkup(e)&&this.content.eq(e.content)}sameMarkup(e){return this.hasMarkup(e.type,e.attrs,e.marks)}hasMarkup(e,t,r){return this.type==e&&Ei(this.attrs,t||e.defaultAttrs||e4)&&Ve.sameSet(this.marks,r||Ve.none)}copy(e=null){return e==this.content?this:new td(this.type,this.attrs,e,this.marks)}mark(e){return e==this.marks?this:new td(this.type,this.attrs,this.content,e)}cut(e,t=this.content.size){return e==0&&t==this.content.size?this:this.copy(this.content.cut(e,t))}slice(e,t=this.content.size,r=!1){if(e==t)return ye.empty;let o=this.resolve(e),i=this.resolve(t),s=r?0:o.sharedDepth(t),l=o.start(s),d=o.node(s).content.cut(o.pos-l,i.pos-l);return new ye(d,o.depth-s,i.depth-s)}replace(e,t,r){return J6(this.resolve(e),this.resolve(t),r)}nodeAt(e){for(let t=this;;){let{index:r,offset:o}=t.content.findIndex(e);if(t=t.maybeChild(r),!t)return null;if(o==e||t.isText)return t;e-=o+1}}childAfter(e){let{index:t,offset:r}=this.content.findIndex(e);return{node:this.content.maybeChild(t),index:t,offset:r}}childBefore(e){if(e==0)return{node:null,index:0,offset:0};let{index:t,offset:r}=this.content.findIndex(e);if(r<e)return{node:this.content.child(t),index:t,offset:r};let o=this.content.child(t-1);return{node:o,index:t-1,offset:r-o.nodeSize}}resolve(e){return Ao.resolveCached(this,e)}resolveNoCache(e){return Ao.resolve(this,e)}rangeHasMark(e,t,r){let o=!1;return t>e&&this.nodesBetween(e,t,i=>(r.isInSet(i.marks)&&(o=!0),!o)),o}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let e=this.type.name;return this.content.size&&(e+="("+this.content.toStringInner()+")"),Mu(this.marks,e)}contentMatchAt(e){let t=this.type.contentMatch.matchFragment(this.content,0,e);if(!t)throw new Error("Called contentMatchAt on a node with invalid content");return t}canReplace(e,t,r=le.empty,o=0,i=r.childCount){let s=this.contentMatchAt(e).matchFragment(r,o,i),l=s&&s.matchFragment(this.content,t);if(!l||!l.validEnd)return!1;for(let a=o;a<i;a++)if(!this.type.allowsMarks(r.child(a).marks))return!1;return!0}canReplaceWith(e,t,r,o){if(o&&!this.type.allowsMarks(o))return!1;let i=this.contentMatchAt(e).matchType(r),s=i&&i.matchFragment(this.content,t);return s?s.validEnd:!1}canAppend(e){return e.content.size?this.canReplace(this.childCount,this.childCount,e.content):this.type.compatibleContent(e.type)}check(){this.type.checkContent(this.content);let e=Ve.none;for(let t=0;t<this.marks.length;t++)e=this.marks[t].addToSet(e);if(!Ve.sameSet(e,this.marks))throw new RangeError(`Invalid collection of marks for node ${this.type.name}: ${this.marks.map(t=>t.type.name)}`);this.content.forEach(t=>t.check())}toJSON(){let e={type:this.type.name};for(let t in this.attrs){e.attrs=this.attrs;break}return this.content.size&&(e.content=this.content.toJSON()),this.marks.length&&(e.marks=this.marks.map(t=>t.toJSON())),e}static fromJSON(e,t){if(!t)throw new RangeError("Invalid input for Node.fromJSON");let r=null;if(t.marks){if(!Array.isArray(t.marks))throw new RangeError("Invalid mark data for Node.fromJSON");r=t.marks.map(e.markFromJSON)}if(t.type=="text"){if(typeof t.text!="string")throw new RangeError("Invalid text node in JSON");return e.text(t.text,r)}let o=le.fromJSON(e,t.content);return e.nodeType(t.type).create(t.attrs,o,r)}};ir.prototype.text=void 0;class Si extends ir{constructor(e,t,r,o){if(super(e,t,null,o),!r)throw new RangeError("Empty text nodes are not allowed");this.text=r}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):Mu(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(e,t){return this.text.slice(e,t)}get nodeSize(){return this.text.length}mark(e){return e==this.marks?this:new Si(this.type,this.attrs,this.text,e)}withText(e){return e==this.text?this:new Si(this.type,this.attrs,e,this.marks)}cut(e=0,t=this.text.length){return e==0&&t==this.text.length?this:this.withText(this.text.slice(e,t))}eq(e){return this.sameMarkup(e)&&this.text==e.text}toJSON(){let e=super.toJSON();return e.text=this.text,e}}function Mu(n,e){for(let t=n.length-1;t>=0;t--)e=n[t].type.name+"("+e+")";return e}class sr{constructor(e){this.validEnd=e,this.next=[],this.wrapCache=[]}static parse(e,t){let r=new t4(e,t);if(r.next==null)return sr.empty;let o=Iu(r);r.next&&r.err("Unexpected trailing text");let i=l4(a4(o));return c4(i,r),i}matchType(e){for(let t=0;t<this.next.length;t++)if(this.next[t].type==e)return this.next[t].next;return null}matchFragment(e,t=0,r=e.childCount){let o=this;for(let i=t;o&&i<r;i++)o=o.matchType(e.child(i).type);return o}get inlineContent(){return this.next.length!=0&&this.next[0].type.isInline}get defaultType(){for(let e=0;e<this.next.length;e++){let{type:t}=this.next[e];if(!(t.isText||t.hasRequiredAttrs()))return t}return null}compatible(e){for(let t=0;t<this.next.length;t++)for(let r=0;r<e.next.length;r++)if(this.next[t].type==e.next[r].type)return!0;return!1}fillBefore(e,t=!1,r=0){let o=[this];function i(s,l){let a=s.matchFragment(e,r);if(a&&(!t||a.validEnd))return le.from(l.map(d=>d.createAndFill()));for(let d=0;d<s.next.length;d++){let{type:u,next:f}=s.next[d];if(!(u.isText||u.hasRequiredAttrs())&&o.indexOf(f)==-1){o.push(f);let h=i(f,l.concat(u));if(h)return h}}return null}return i(this,[])}findWrapping(e){for(let r=0;r<this.wrapCache.length;r+=2)if(this.wrapCache[r]==e)return this.wrapCache[r+1];let t=this.computeWrapping(e);return this.wrapCache.push(e,t),t}computeWrapping(e){let t=Object.create(null),r=[{match:this,type:null,via:null}];for(;r.length;){let o=r.shift(),i=o.match;if(i.matchType(e)){let s=[];for(let l=o;l.type;l=l.via)s.push(l.type);return s.reverse()}for(let s=0;s<i.next.length;s++){let{type:l,next:a}=i.next[s];!l.isLeaf&&!l.hasRequiredAttrs()&&!(l.name in t)&&(!o.type||a.validEnd)&&(r.push({match:l.contentMatch,type:l,via:o}),t[l.name]=!0)}}return null}get edgeCount(){return this.next.length}edge(e){if(e>=this.next.length)throw new RangeError(`There's no ${e}th edge in this content match`);return this.next[e]}toString(){let e=[];function t(r){e.push(r);for(let o=0;o<r.next.length;o++)e.indexOf(r.next[o].next)==-1&&t(r.next[o].next)}return t(this),e.map((r,o)=>{let i=o+(r.validEnd?"*":" ")+" ";for(let s=0;s<r.next.length;s++)i+=(s?", ":"")+r.next[s].type.name+"->"+e.indexOf(r.next[s].next);return i}).join(`
|
|
63
|
+
`)}}sr.empty=new sr(!0);class t4{constructor(e,t){this.string=e,this.nodeTypes=t,this.inline=null,this.pos=0,this.tokens=e.split(/\s*(?=\b|\W|$)/),this.tokens[this.tokens.length-1]==""&&this.tokens.pop(),this.tokens[0]==""&&this.tokens.shift()}get next(){return this.tokens[this.pos]}eat(e){return this.next==e&&(this.pos++||!0)}err(e){throw new SyntaxError(e+" (in content expression '"+this.string+"')")}}function Iu(n){let e=[];do e.push(n4(n));while(n.eat("|"));return e.length==1?e[0]:{type:"choice",exprs:e}}function n4(n){let e=[];do e.push(r4(n));while(n.next&&n.next!=")"&&n.next!="|");return e.length==1?e[0]:{type:"seq",exprs:e}}function r4(n){let e=s4(n);for(;;)if(n.eat("+"))e={type:"plus",expr:e};else if(n.eat("*"))e={type:"star",expr:e};else if(n.eat("?"))e={type:"opt",expr:e};else if(n.eat("{"))e=o4(n,e);else break;return e}function Ou(n){/\D/.test(n.next)&&n.err("Expected number, got '"+n.next+"'");let e=Number(n.next);return n.pos++,e}function o4(n,e){let t=Ou(n),r=t;return n.eat(",")&&(n.next!="}"?r=Ou(n):r=-1),n.eat("}")||n.err("Unclosed braced range"),{type:"range",min:t,max:r,expr:e}}function i4(n,e){let t=n.nodeTypes,r=t[e];if(r)return[r];let o=[];for(let i in t){let s=t[i];s.groups.indexOf(e)>-1&&o.push(s)}return o.length==0&&n.err("No node type or group '"+e+"' found"),o}function s4(n){if(n.eat("(")){let e=Iu(n);return n.eat(")")||n.err("Missing closing paren"),e}else if(/\W/.test(n.next))n.err("Unexpected token '"+n.next+"'");else{let e=i4(n,n.next).map(t=>(n.inline==null?n.inline=t.isInline:n.inline!=t.isInline&&n.err("Mixing inline and block content"),{type:"name",value:t}));return n.pos++,e.length==1?e[0]:{type:"choice",exprs:e}}}function a4(n){let e=[[]];return o(i(n,0),t()),e;function t(){return e.push([])-1}function r(s,l,a){let d={term:a,to:l};return e[s].push(d),d}function o(s,l){s.forEach(a=>a.to=l)}function i(s,l){if(s.type=="choice")return s.exprs.reduce((a,d)=>a.concat(i(d,l)),[]);if(s.type=="seq")for(let a=0;;a++){let d=i(s.exprs[a],l);if(a==s.exprs.length-1)return d;o(d,l=t())}else if(s.type=="star"){let a=t();return r(l,a),o(i(s.expr,a),a),[r(a)]}else if(s.type=="plus"){let a=t();return o(i(s.expr,l),a),o(i(s.expr,a),a),[r(a)]}else{if(s.type=="opt")return[r(l)].concat(i(s.expr,l));if(s.type=="range"){let a=l;for(let d=0;d<s.min;d++){let u=t();o(i(s.expr,a),u),a=u}if(s.max==-1)o(i(s.expr,a),a);else for(let d=s.min;d<s.max;d++){let u=t();r(a,u),o(i(s.expr,a),u),a=u}return[r(a)]}else{if(s.type=="name")return[r(l,void 0,s.value)];throw new Error("Unknown expr type")}}}}function _u(n,e){return e-n}function Nu(n,e){let t=[];return r(e),t.sort(_u);function r(o){let i=n[o];if(i.length==1&&!i[0].term)return r(i[0].to);t.push(o);for(let s=0;s<i.length;s++){let{term:l,to:a}=i[s];!l&&t.indexOf(a)==-1&&r(a)}}}function l4(n){let e=Object.create(null);return t(Nu(n,0));function t(r){let o=[];r.forEach(s=>{n[s].forEach(({term:l,to:a})=>{if(!l)return;let d;for(let u=0;u<o.length;u++)o[u][0]==l&&(d=o[u][1]);Nu(n,a).forEach(u=>{d||o.push([l,d=[]]),d.indexOf(u)==-1&&d.push(u)})})});let i=e[r.join(",")]=new sr(r.indexOf(n.length-1)>-1);for(let s=0;s<o.length;s++){let l=o[s][1].sort(_u);i.next.push({type:o[s][0],next:e[l.join(",")]||t(l)})}return i}}function c4(n,e){for(let t=0,r=[n];t<r.length;t++){let o=r[t],i=!o.validEnd,s=[];for(let l=0;l<o.next.length;l++){let{type:a,next:d}=o.next[l];s.push(a.name),i&&!(a.isText||a.hasRequiredAttrs())&&(i=!1),r.indexOf(d)==-1&&r.push(d)}i&&e.err("Only non-generatable nodes ("+s.join(", ")+") in a required position (see https://prosemirror.net/docs/guide/#generatable)")}}function Lu(n){let e=Object.create(null);for(let t in n){let r=n[t];if(!r.hasDefault)return null;e[t]=r.default}return e}function Du(n,e){let t=Object.create(null);for(let r in n){let o=e&&e[r];if(o===void 0){let i=n[r];if(i.hasDefault)o=i.default;else throw new RangeError("No value supplied for attribute "+r)}t[r]=o}return t}function Bu(n){let e=Object.create(null);if(n)for(let t in n)e[t]=new d4(n[t]);return e}let Ru=class X0{constructor(e,t,r){this.name=e,this.schema=t,this.spec=r,this.markSet=null,this.groups=r.group?r.group.split(" "):[],this.attrs=Bu(r.attrs),this.defaultAttrs=Lu(this.attrs),this.contentMatch=null,this.inlineContent=null,this.isBlock=!(r.inline||e=="text"),this.isText=e=="text"}get isInline(){return!this.isBlock}get isTextblock(){return this.isBlock&&this.inlineContent}get isLeaf(){return this.contentMatch==sr.empty}get isAtom(){return this.isLeaf||!!this.spec.atom}get whitespace(){return this.spec.whitespace||(this.spec.code?"pre":"normal")}hasRequiredAttrs(){for(let e in this.attrs)if(this.attrs[e].isRequired)return!0;return!1}compatibleContent(e){return this==e||this.contentMatch.compatible(e.contentMatch)}computeAttrs(e){return!e&&this.defaultAttrs?this.defaultAttrs:Du(this.attrs,e)}create(e=null,t,r){if(this.isText)throw new Error("NodeType.create can't construct text nodes");return new ir(this,this.computeAttrs(e),le.from(t),Ve.setFrom(r))}createChecked(e=null,t,r){return t=le.from(t),this.checkContent(t),new ir(this,this.computeAttrs(e),t,Ve.setFrom(r))}createAndFill(e=null,t,r){if(e=this.computeAttrs(e),t=le.from(t),t.size){let s=this.contentMatch.fillBefore(t);if(!s)return null;t=s.append(t)}let o=this.contentMatch.matchFragment(t),i=o&&o.fillBefore(le.empty,!0);return i?new ir(this,e,t.append(i),Ve.setFrom(r)):null}validContent(e){let t=this.contentMatch.matchFragment(e);if(!t||!t.validEnd)return!1;for(let r=0;r<e.childCount;r++)if(!this.allowsMarks(e.child(r).marks))return!1;return!0}checkContent(e){if(!this.validContent(e))throw new RangeError(`Invalid content for node ${this.name}: ${e.toString().slice(0,50)}`)}allowsMarkType(e){return this.markSet==null||this.markSet.indexOf(e)>-1}allowsMarks(e){if(this.markSet==null)return!0;for(let t=0;t<e.length;t++)if(!this.allowsMarkType(e[t].type))return!1;return!0}allowedMarks(e){if(this.markSet==null)return e;let t;for(let r=0;r<e.length;r++)this.allowsMarkType(e[r].type)?t&&t.push(e[r]):t||(t=e.slice(0,r));return t?t.length?t:Ve.none:e}static compile(e,t){let r=Object.create(null);e.forEach((i,s)=>r[i]=new X0(i,t,s));let o=t.spec.topNode||"doc";if(!r[o])throw new RangeError("Schema is missing its top node type ('"+o+"')");if(!r.text)throw new RangeError("Every schema needs a 'text' type");for(let i in r.text.attrs)throw new RangeError("The text node type should not have attributes");return r}};class d4{constructor(e){this.hasDefault=Object.prototype.hasOwnProperty.call(e,"default"),this.default=e.default}get isRequired(){return!this.hasDefault}}class ki{constructor(e,t,r,o){this.name=e,this.rank=t,this.schema=r,this.spec=o,this.attrs=Bu(o.attrs),this.excluded=null;let i=Lu(this.attrs);this.instance=i?new Ve(this,i):null}create(e=null){return!e&&this.instance?this.instance:new Ve(this,Du(this.attrs,e))}static compile(e,t){let r=Object.create(null),o=0;return e.forEach((i,s)=>r[i]=new ki(i,o++,t,s)),r}removeFromSet(e){for(var t=0;t<e.length;t++)e[t].type==this&&(e=e.slice(0,t).concat(e.slice(t+1)),t--);return e}isInSet(e){for(let t=0;t<e.length;t++)if(e[t].type==this)return e[t]}excludes(e){return this.excluded.indexOf(e)>-1}}class u4{constructor(e){this.cached=Object.create(null);let t=this.spec={};for(let o in e)t[o]=e[o];t.nodes=et.from(e.nodes),t.marks=et.from(e.marks||{}),this.nodes=Ru.compile(this.spec.nodes,this),this.marks=ki.compile(this.spec.marks,this);let r=Object.create(null);for(let o in this.nodes){if(o in this.marks)throw new RangeError(o+" can not be both a node and a mark");let i=this.nodes[o],s=i.spec.content||"",l=i.spec.marks;i.contentMatch=r[s]||(r[s]=sr.parse(s,this.nodes)),i.inlineContent=i.contentMatch.inlineContent,i.markSet=l=="_"?null:l?Pu(this,l.split(" ")):l==""||!i.inlineContent?[]:null}for(let o in this.marks){let i=this.marks[o],s=i.spec.excludes;i.excluded=s==null?[i]:s==""?[]:Pu(this,s.split(" "))}this.nodeFromJSON=this.nodeFromJSON.bind(this),this.markFromJSON=this.markFromJSON.bind(this),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached.wrappings=Object.create(null)}node(e,t=null,r,o){if(typeof e=="string")e=this.nodeType(e);else if(e instanceof Ru){if(e.schema!=this)throw new RangeError("Node type from different schema used ("+e.name+")")}else throw new RangeError("Invalid node type: "+e);return e.createChecked(t,r,o)}text(e,t){let r=this.nodes.text;return new Si(r,r.defaultAttrs,e,Ve.setFrom(t))}mark(e,t){return typeof e=="string"&&(e=this.marks[e]),e.create(t)}nodeFromJSON(e){return ir.fromJSON(this,e)}markFromJSON(e){return Ve.fromJSON(this,e)}nodeType(e){let t=this.nodes[e];if(!t)throw new RangeError("Unknown node type: "+e);return t}}function Pu(n,e){let t=[];for(let r=0;r<e.length;r++){let o=e[r],i=n.marks[o],s=i;if(i)t.push(i);else for(let l in n.marks){let a=n.marks[l];(o=="_"||a.spec.group&&a.spec.group.split(" ").indexOf(o)>-1)&&t.push(s=a)}if(!s)throw new SyntaxError("Unknown mark type: '"+e[r]+"'")}return t}class Or{constructor(e,t){this.schema=e,this.rules=t,this.tags=[],this.styles=[],t.forEach(r=>{r.tag?this.tags.push(r):r.style&&this.styles.push(r)}),this.normalizeLists=!this.tags.some(r=>{if(!/^(ul|ol)\b/.test(r.tag)||!r.node)return!1;let o=e.nodes[r.node];return o.contentMatch.matchType(o)})}parse(e,t={}){let r=new zu(this,t,!1);return r.addAll(e,t.from,t.to),r.finish()}parseSlice(e,t={}){let r=new zu(this,t,!0);return r.addAll(e,t.from,t.to),ye.maxOpen(r.finish())}matchTag(e,t,r){for(let o=r?this.tags.indexOf(r)+1:0;o<this.tags.length;o++){let i=this.tags[o];if(p4(e,i.tag)&&(i.namespace===void 0||e.namespaceURI==i.namespace)&&(!i.context||t.matchesContext(i.context))){if(i.getAttrs){let s=i.getAttrs(e);if(s===!1)continue;i.attrs=s||void 0}return i}}}matchStyle(e,t,r,o){for(let i=o?this.styles.indexOf(o)+1:0;i<this.styles.length;i++){let s=this.styles[i],l=s.style;if(!(l.indexOf(e)!=0||s.context&&!r.matchesContext(s.context)||l.length>e.length&&(l.charCodeAt(e.length)!=61||l.slice(e.length+1)!=t))){if(s.getAttrs){let a=s.getAttrs(t);if(a===!1)continue;s.attrs=a||void 0}return s}}}static schemaRules(e){let t=[];function r(o){let i=o.priority==null?50:o.priority,s=0;for(;s<t.length;s++){let l=t[s];if((l.priority==null?50:l.priority)<i)break}t.splice(s,0,o)}for(let o in e.marks){let i=e.marks[o].spec.parseDOM;i&&i.forEach(s=>{r(s=Hu(s)),s.mark||s.ignore||s.clearMark||(s.mark=o)})}for(let o in e.nodes){let i=e.nodes[o].spec.parseDOM;i&&i.forEach(s=>{r(s=Hu(s)),s.node||s.ignore||s.mark||(s.node=o)})}return t}static fromSchema(e){return e.cached.domParser||(e.cached.domParser=new Or(e,Or.schemaRules(e)))}}const Vu={address:!0,article:!0,aside:!0,blockquote:!0,canvas:!0,dd:!0,div:!0,dl:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,li:!0,noscript:!0,ol:!0,output:!0,p:!0,pre:!0,section:!0,table:!0,tfoot:!0,ul:!0},f4={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},Fu={ol:!0,ul:!0},xi=1,Ti=2,wo=4;function $u(n,e,t){return e!=null?(e?xi:0)|(e==="full"?Ti:0):n&&n.whitespace=="pre"?xi|Ti:t&~wo}class Mi{constructor(e,t,r,o,i,s,l){this.type=e,this.attrs=t,this.marks=r,this.pendingMarks=o,this.solid=i,this.options=l,this.content=[],this.activeMarks=Ve.none,this.stashMarks=[],this.match=s||(l&wo?null:e.contentMatch)}findWrapping(e){if(!this.match){if(!this.type)return[];let t=this.type.contentMatch.fillBefore(le.from(e));if(t)this.match=this.type.contentMatch.matchFragment(t);else{let r=this.type.contentMatch,o;return(o=r.findWrapping(e.type))?(this.match=r,o):null}}return this.match.findWrapping(e.type)}finish(e){if(!(this.options&xi)){let r=this.content[this.content.length-1],o;if(r&&r.isText&&(o=/[ \t\r\n\u000c]+$/.exec(r.text))){let i=r;r.text.length==o[0].length?this.content.pop():this.content[this.content.length-1]=i.withText(i.text.slice(0,i.text.length-o[0].length))}}let t=le.from(this.content);return!e&&this.match&&(t=t.append(this.match.fillBefore(le.empty,!0))),this.type?this.type.create(this.attrs,t,this.marks):t}popFromStashMark(e){for(let t=this.stashMarks.length-1;t>=0;t--)if(e.eq(this.stashMarks[t]))return this.stashMarks.splice(t,1)[0]}applyPending(e){for(let t=0,r=this.pendingMarks;t<r.length;t++){let o=r[t];(this.type?this.type.allowsMarkType(o.type):g4(o.type,e))&&!o.isInSet(this.activeMarks)&&(this.activeMarks=o.addToSet(this.activeMarks),this.pendingMarks=o.removeFromSet(this.pendingMarks))}}inlineContext(e){return this.type?this.type.inlineContent:this.content.length?this.content[0].isInline:e.parentNode&&!Vu.hasOwnProperty(e.parentNode.nodeName.toLowerCase())}}class zu{constructor(e,t,r){this.parser=e,this.options=t,this.isOpen=r,this.open=0;let o=t.topNode,i,s=$u(null,t.preserveWhitespace,0)|(r?wo:0);o?i=new Mi(o.type,o.attrs,Ve.none,Ve.none,!0,t.topMatch||o.type.contentMatch,s):r?i=new Mi(null,null,Ve.none,Ve.none,!0,null,s):i=new Mi(e.schema.topNodeType,null,Ve.none,Ve.none,!0,null,s),this.nodes=[i],this.find=t.findPositions,this.needsBlock=!1}get top(){return this.nodes[this.open]}addDOM(e){e.nodeType==3?this.addTextNode(e):e.nodeType==1&&this.addElement(e)}withStyleRules(e,t){let r=e.getAttribute("style");if(!r)return t();let o=this.readStyles(m4(r));if(!o)return;let[i,s]=o,l=this.top;for(let a=0;a<s.length;a++)this.removePendingMark(s[a],l);for(let a=0;a<i.length;a++)this.addPendingMark(i[a]);t();for(let a=0;a<i.length;a++)this.removePendingMark(i[a],l);for(let a=0;a<s.length;a++)this.addPendingMark(s[a])}addTextNode(e){let t=e.nodeValue,r=this.top;if(r.options&Ti||r.inlineContext(e)||/[^ \t\r\n\u000c]/.test(t)){if(r.options&xi)r.options&Ti?t=t.replace(/\r\n?/g,`
|
|
64
|
+
`):t=t.replace(/\r?\n|\r/g," ");else if(t=t.replace(/[ \t\r\n\u000c]+/g," "),/^[ \t\r\n\u000c]/.test(t)&&this.open==this.nodes.length-1){let o=r.content[r.content.length-1],i=e.previousSibling;(!o||i&&i.nodeName=="BR"||o.isText&&/[ \t\r\n\u000c]$/.test(o.text))&&(t=t.slice(1))}t&&this.insertNode(this.parser.schema.text(t)),this.findInText(e)}else this.findInside(e)}addElement(e,t){let r=e.nodeName.toLowerCase(),o;Fu.hasOwnProperty(r)&&this.parser.normalizeLists&&h4(e);let i=this.options.ruleFromNode&&this.options.ruleFromNode(e)||(o=this.parser.matchTag(e,this,t));if(i?i.ignore:f4.hasOwnProperty(r))this.findInside(e),this.ignoreFallback(e);else if(!i||i.skip||i.closeParent){i&&i.closeParent?this.open=Math.max(0,this.open-1):i&&i.skip.nodeType&&(e=i.skip);let s,l=this.top,a=this.needsBlock;if(Vu.hasOwnProperty(r))l.content.length&&l.content[0].isInline&&this.open&&(this.open--,l=this.top),s=!0,l.type||(this.needsBlock=!0);else if(!e.firstChild){this.leafFallback(e);return}i&&i.skip?this.addAll(e):this.withStyleRules(e,()=>this.addAll(e)),s&&this.sync(l),this.needsBlock=a}else this.withStyleRules(e,()=>{this.addElementByRule(e,i,i.consuming===!1?o:void 0)})}leafFallback(e){e.nodeName=="BR"&&this.top.type&&this.top.type.inlineContent&&this.addTextNode(e.ownerDocument.createTextNode(`
|
|
65
|
+
`))}ignoreFallback(e){e.nodeName=="BR"&&(!this.top.type||!this.top.type.inlineContent)&&this.findPlace(this.parser.schema.text("-"))}readStyles(e){let t=Ve.none,r=Ve.none;for(let o=0;o<e.length;o+=2)for(let i=void 0;;){let s=this.parser.matchStyle(e[o],e[o+1],this,i);if(!s)break;if(s.ignore)return null;if(s.clearMark?this.top.pendingMarks.concat(this.top.activeMarks).forEach(l=>{s.clearMark(l)&&(r=l.addToSet(r))}):t=this.parser.schema.marks[s.mark].create(s.attrs).addToSet(t),s.consuming===!1)i=s;else break}return[t,r]}addElementByRule(e,t,r){let o,i,s;t.node?(i=this.parser.schema.nodes[t.node],i.isLeaf?this.insertNode(i.create(t.attrs))||this.leafFallback(e):o=this.enter(i,t.attrs||null,t.preserveWhitespace)):(s=this.parser.schema.marks[t.mark].create(t.attrs),this.addPendingMark(s));let l=this.top;if(i&&i.isLeaf)this.findInside(e);else if(r)this.addElement(e,r);else if(t.getContent)this.findInside(e),t.getContent(e,this.parser.schema).forEach(a=>this.insertNode(a));else{let a=e;typeof t.contentElement=="string"?a=e.querySelector(t.contentElement):typeof t.contentElement=="function"?a=t.contentElement(e):t.contentElement&&(a=t.contentElement),this.findAround(e,a,!0),this.addAll(a)}o&&this.sync(l)&&this.open--,s&&this.removePendingMark(s,l)}addAll(e,t,r){let o=t||0;for(let i=t?e.childNodes[t]:e.firstChild,s=r==null?null:e.childNodes[r];i!=s;i=i.nextSibling,++o)this.findAtPoint(e,o),this.addDOM(i);this.findAtPoint(e,o)}findPlace(e){let t,r;for(let o=this.open;o>=0;o--){let i=this.nodes[o],s=i.findWrapping(e);if(s&&(!t||t.length>s.length)&&(t=s,r=i,!s.length)||i.solid)break}if(!t)return!1;this.sync(r);for(let o=0;o<t.length;o++)this.enterInner(t[o],null,!1);return!0}insertNode(e){if(e.isInline&&this.needsBlock&&!this.top.type){let t=this.textblockFromContext();t&&this.enterInner(t)}if(this.findPlace(e)){this.closeExtra();let t=this.top;t.applyPending(e.type),t.match&&(t.match=t.match.matchType(e.type));let r=t.activeMarks;for(let o=0;o<e.marks.length;o++)(!t.type||t.type.allowsMarkType(e.marks[o].type))&&(r=e.marks[o].addToSet(r));return t.content.push(e.mark(r)),!0}return!1}enter(e,t,r){let o=this.findPlace(e.create(t));return o&&this.enterInner(e,t,!0,r),o}enterInner(e,t=null,r=!1,o){this.closeExtra();let i=this.top;i.applyPending(e),i.match=i.match&&i.match.matchType(e);let s=$u(e,o,i.options);i.options&wo&&i.content.length==0&&(s|=wo),this.nodes.push(new Mi(e,t,i.activeMarks,i.pendingMarks,r,null,s)),this.open++}closeExtra(e=!1){let t=this.nodes.length-1;if(t>this.open){for(;t>this.open;t--)this.nodes[t-1].content.push(this.nodes[t].finish(e));this.nodes.length=this.open+1}}finish(){return this.open=0,this.closeExtra(this.isOpen),this.nodes[0].finish(this.isOpen||this.options.topOpen)}sync(e){for(let t=this.open;t>=0;t--)if(this.nodes[t]==e)return this.open=t,!0;return!1}get currentPos(){this.closeExtra();let e=0;for(let t=this.open;t>=0;t--){let r=this.nodes[t].content;for(let o=r.length-1;o>=0;o--)e+=r[o].nodeSize;t&&e++}return e}findAtPoint(e,t){if(this.find)for(let r=0;r<this.find.length;r++)this.find[r].node==e&&this.find[r].offset==t&&(this.find[r].pos=this.currentPos)}findInside(e){if(this.find)for(let t=0;t<this.find.length;t++)this.find[t].pos==null&&e.nodeType==1&&e.contains(this.find[t].node)&&(this.find[t].pos=this.currentPos)}findAround(e,t,r){if(e!=t&&this.find)for(let o=0;o<this.find.length;o++)this.find[o].pos==null&&e.nodeType==1&&e.contains(this.find[o].node)&&t.compareDocumentPosition(this.find[o].node)&(r?2:4)&&(this.find[o].pos=this.currentPos)}findInText(e){if(this.find)for(let t=0;t<this.find.length;t++)this.find[t].node==e&&(this.find[t].pos=this.currentPos-(e.nodeValue.length-this.find[t].offset))}matchesContext(e){if(e.indexOf("|")>-1)return e.split(/\s*\|\s*/).some(this.matchesContext,this);let t=e.split("/"),r=this.options.context,o=!this.isOpen&&(!r||r.parent.type==this.nodes[0].type),i=-(r?r.depth+1:0)+(o?0:1),s=(l,a)=>{for(;l>=0;l--){let d=t[l];if(d==""){if(l==t.length-1||l==0)continue;for(;a>=i;a--)if(s(l-1,a))return!0;return!1}else{let u=a>0||a==0&&o?this.nodes[a].type:r&&a>=i?r.node(a-i).type:null;if(!u||u.name!=d&&u.groups.indexOf(d)==-1)return!1;a--}}return!0};return s(t.length-1,this.open)}textblockFromContext(){let e=this.options.context;if(e)for(let t=e.depth;t>=0;t--){let r=e.node(t).contentMatchAt(e.indexAfter(t)).defaultType;if(r&&r.isTextblock&&r.defaultAttrs)return r}for(let t in this.parser.schema.nodes){let r=this.parser.schema.nodes[t];if(r.isTextblock&&r.defaultAttrs)return r}}addPendingMark(e){let t=v4(e,this.top.pendingMarks);t&&this.top.stashMarks.push(t),this.top.pendingMarks=e.addToSet(this.top.pendingMarks)}removePendingMark(e,t){for(let r=this.open;r>=0;r--){let o=this.nodes[r];if(o.pendingMarks.lastIndexOf(e)>-1)o.pendingMarks=e.removeFromSet(o.pendingMarks);else{o.activeMarks=e.removeFromSet(o.activeMarks);let s=o.popFromStashMark(e);s&&o.type&&o.type.allowsMarkType(s.type)&&(o.activeMarks=s.addToSet(o.activeMarks))}if(o==t)break}}}function h4(n){for(let e=n.firstChild,t=null;e;e=e.nextSibling){let r=e.nodeType==1?e.nodeName.toLowerCase():null;r&&Fu.hasOwnProperty(r)&&t?(t.appendChild(e),e=t):r=="li"?t=e:r&&(t=null)}}function p4(n,e){return(n.matches||n.msMatchesSelector||n.webkitMatchesSelector||n.mozMatchesSelector).call(n,e)}function m4(n){let e=/\s*([\w-]+)\s*:\s*([^;]+)/g,t,r=[];for(;t=e.exec(n);)r.push(t[1],t[2].trim());return r}function Hu(n){let e={};for(let t in n)e[t]=n[t];return e}function g4(n,e){let t=e.schema.nodes;for(let r in t){let o=t[r];if(!o.allowsMarkType(n))continue;let i=[],s=l=>{i.push(l);for(let a=0;a<l.edgeCount;a++){let{type:d,next:u}=l.edge(a);if(d==e||i.indexOf(u)<0&&s(u))return!0}};if(s(o.contentMatch))return!0}}function v4(n,e){for(let t=0;t<e.length;t++)if(n.eq(e[t]))return e[t]}class Zt{constructor(e,t){this.nodes=e,this.marks=t}serializeFragment(e,t={},r){r||(r=$a(t).createDocumentFragment());let o=r,i=[];return e.forEach(s=>{if(i.length||s.marks.length){let l=0,a=0;for(;l<i.length&&a<s.marks.length;){let d=s.marks[a];if(!this.marks[d.type.name]){a++;continue}if(!d.eq(i[l][0])||d.type.spec.spanning===!1)break;l++,a++}for(;l<i.length;)o=i.pop()[1];for(;a<s.marks.length;){let d=s.marks[a++],u=this.serializeMark(d,s.isInline,t);u&&(i.push([d,o]),o.appendChild(u.dom),o=u.contentDOM||u.dom)}}o.appendChild(this.serializeNodeInner(s,t))}),r}serializeNodeInner(e,t){let{dom:r,contentDOM:o}=Zt.renderSpec($a(t),this.nodes[e.type.name](e));if(o){if(e.isLeaf)throw new RangeError("Content hole not allowed in a leaf node spec");this.serializeFragment(e.content,t,o)}return r}serializeNode(e,t={}){let r=this.serializeNodeInner(e,t);for(let o=e.marks.length-1;o>=0;o--){let i=this.serializeMark(e.marks[o],e.isInline,t);i&&((i.contentDOM||i.dom).appendChild(r),r=i.dom)}return r}serializeMark(e,t,r={}){let o=this.marks[e.type.name];return o&&Zt.renderSpec($a(r),o(e,t))}static renderSpec(e,t,r=null){if(typeof t=="string")return{dom:e.createTextNode(t)};if(t.nodeType!=null)return{dom:t};if(t.dom&&t.dom.nodeType!=null)return t;let o=t[0],i=o.indexOf(" ");i>0&&(r=o.slice(0,i),o=o.slice(i+1));let s,l=r?e.createElementNS(r,o):e.createElement(o),a=t[1],d=1;if(a&&typeof a=="object"&&a.nodeType==null&&!Array.isArray(a)){d=2;for(let u in a)if(a[u]!=null){let f=u.indexOf(" ");f>0?l.setAttributeNS(u.slice(0,f),u.slice(f+1),a[u]):l.setAttribute(u,a[u])}}for(let u=d;u<t.length;u++){let f=t[u];if(f===0){if(u<t.length-1||u>d)throw new RangeError("Content hole must be the only child of its parent node");return{dom:l,contentDOM:l}}else{let{dom:h,contentDOM:p}=Zt.renderSpec(e,f,r);if(l.appendChild(h),p){if(s)throw new RangeError("Multiple content holes");s=p}}}return{dom:l,contentDOM:s}}static fromSchema(e){return e.cached.domSerializer||(e.cached.domSerializer=new Zt(this.nodesFromSchema(e),this.marksFromSchema(e)))}static nodesFromSchema(e){let t=Uu(e.nodes);return t.text||(t.text=r=>r.text),t}static marksFromSchema(e){return Uu(e.marks)}}function Uu(n){let e={};for(let t in n){let r=n[t].spec.toDOM;r&&(e[t]=r)}return e}function $a(n){return n.document||window.document}const ju=65535,Wu=Math.pow(2,16);function y4(n,e){return n+e*Wu}function Ku(n){return n&ju}function C4(n){return(n-(n&ju))/Wu}const Qu=1,Yu=2,Ii=4,Gu=8;class za{constructor(e,t,r){this.pos=e,this.delInfo=t,this.recover=r}get deleted(){return(this.delInfo&Gu)>0}get deletedBefore(){return(this.delInfo&(Qu|Ii))>0}get deletedAfter(){return(this.delInfo&(Yu|Ii))>0}get deletedAcross(){return(this.delInfo&Ii)>0}}class wt{constructor(e,t=!1){if(this.ranges=e,this.inverted=t,!e.length&&wt.empty)return wt.empty}recover(e){let t=0,r=Ku(e);if(!this.inverted)for(let o=0;o<r;o++)t+=this.ranges[o*3+2]-this.ranges[o*3+1];return this.ranges[r*3]+t+C4(e)}mapResult(e,t=1){return this._map(e,t,!1)}map(e,t=1){return this._map(e,t,!0)}_map(e,t,r){let o=0,i=this.inverted?2:1,s=this.inverted?1:2;for(let l=0;l<this.ranges.length;l+=3){let a=this.ranges[l]-(this.inverted?o:0);if(a>e)break;let d=this.ranges[l+i],u=this.ranges[l+s],f=a+d;if(e<=f){let h=d?e==a?-1:e==f?1:t:t,p=a+o+(h<0?0:u);if(r)return p;let m=e==(t<0?a:f)?null:y4(l/3,e-a),g=e==a?Yu:e==f?Qu:Ii;return(t<0?e!=a:e!=f)&&(g|=Gu),new za(p,g,m)}o+=u-d}return r?e+o:new za(e+o,0,null)}touches(e,t){let r=0,o=Ku(t),i=this.inverted?2:1,s=this.inverted?1:2;for(let l=0;l<this.ranges.length;l+=3){let a=this.ranges[l]-(this.inverted?r:0);if(a>e)break;let d=this.ranges[l+i],u=a+d;if(e<=u&&l==o*3)return!0;r+=this.ranges[l+s]-d}return!1}forEach(e){let t=this.inverted?2:1,r=this.inverted?1:2;for(let o=0,i=0;o<this.ranges.length;o+=3){let s=this.ranges[o],l=s-(this.inverted?i:0),a=s+(this.inverted?0:i),d=this.ranges[o+t],u=this.ranges[o+r];e(l,l+d,a,a+u),i+=u-d}}invert(){return new wt(this.ranges,!this.inverted)}toString(){return(this.inverted?"-":"")+JSON.stringify(this.ranges)}static offset(e){return e==0?wt.empty:new wt(e<0?[0,-e,0]:[0,0,e])}}wt.empty=new wt([]);class So{constructor(e=[],t,r=0,o=e.length){this.maps=e,this.mirror=t,this.from=r,this.to=o}slice(e=0,t=this.maps.length){return new So(this.maps,this.mirror,e,t)}copy(){return new So(this.maps.slice(),this.mirror&&this.mirror.slice(),this.from,this.to)}appendMap(e,t){this.to=this.maps.push(e),t!=null&&this.setMirror(this.maps.length-1,t)}appendMapping(e){for(let t=0,r=this.maps.length;t<e.maps.length;t++){let o=e.getMirror(t);this.appendMap(e.maps[t],o!=null&&o<t?r+o:void 0)}}getMirror(e){if(this.mirror){for(let t=0;t<this.mirror.length;t++)if(this.mirror[t]==e)return this.mirror[t+(t%2?-1:1)]}}setMirror(e,t){this.mirror||(this.mirror=[]),this.mirror.push(e,t)}appendMappingInverted(e){for(let t=e.maps.length-1,r=this.maps.length+e.maps.length;t>=0;t--){let o=e.getMirror(t);this.appendMap(e.maps[t].invert(),o!=null&&o>t?r-o-1:void 0)}}invert(){let e=new So;return e.appendMappingInverted(this),e}map(e,t=1){if(this.mirror)return this._map(e,t,!0);for(let r=this.from;r<this.to;r++)e=this.maps[r].map(e,t);return e}mapResult(e,t=1){return this._map(e,t,!1)}_map(e,t,r){let o=0;for(let i=this.from;i<this.to;i++){let s=this.maps[i],l=s.mapResult(e,t);if(l.recover!=null){let a=this.getMirror(i);if(a!=null&&a>i&&a<this.to){i=a,e=this.maps[a].recover(l.recover);continue}}o|=l.delInfo,e=l.pos}return r?e:new za(e,o,null)}}const Ha=Object.create(null);class ot{getMap(){return wt.empty}merge(e){return null}static fromJSON(e,t){if(!t||!t.stepType)throw new RangeError("Invalid input for Step.fromJSON");let r=Ha[t.stepType];if(!r)throw new RangeError(`No step type ${t.stepType} defined`);return r.fromJSON(e,t)}static jsonID(e,t){if(e in Ha)throw new RangeError("Duplicate use of step JSON ID "+e);return Ha[e]=t,t.prototype.jsonID=e,t}}class Qe{constructor(e,t){this.doc=e,this.failed=t}static ok(e){return new Qe(e,null)}static fail(e){return new Qe(null,e)}static fromReplace(e,t,r,o){try{return Qe.ok(e.replace(t,r,o))}catch(i){if(i instanceof bi)return Qe.fail(i.message);throw i}}}function Ua(n,e,t){let r=[];for(let o=0;o<n.childCount;o++){let i=n.child(o);i.content.size&&(i=i.copy(Ua(i.content,e,i))),i.isInline&&(i=e(i,t,o)),r.push(i)}return le.fromArray(r)}class wn extends ot{constructor(e,t,r){super(),this.from=e,this.to=t,this.mark=r}apply(e){let t=e.slice(this.from,this.to),r=e.resolve(this.from),o=r.node(r.sharedDepth(this.to)),i=new ye(Ua(t.content,(s,l)=>!s.isAtom||!l.type.allowsMarkType(this.mark.type)?s:s.mark(this.mark.addToSet(s.marks)),o),t.openStart,t.openEnd);return Qe.fromReplace(e,this.from,this.to,i)}invert(){return new Jt(this.from,this.to,this.mark)}map(e){let t=e.mapResult(this.from,1),r=e.mapResult(this.to,-1);return t.deleted&&r.deleted||t.pos>=r.pos?null:new wn(t.pos,r.pos,this.mark)}merge(e){return e instanceof wn&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new wn(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"addMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,t){if(typeof t.from!="number"||typeof t.to!="number")throw new RangeError("Invalid input for AddMarkStep.fromJSON");return new wn(t.from,t.to,e.markFromJSON(t.mark))}}ot.jsonID("addMark",wn);class Jt extends ot{constructor(e,t,r){super(),this.from=e,this.to=t,this.mark=r}apply(e){let t=e.slice(this.from,this.to),r=new ye(Ua(t.content,o=>o.mark(this.mark.removeFromSet(o.marks)),e),t.openStart,t.openEnd);return Qe.fromReplace(e,this.from,this.to,r)}invert(){return new wn(this.from,this.to,this.mark)}map(e){let t=e.mapResult(this.from,1),r=e.mapResult(this.to,-1);return t.deleted&&r.deleted||t.pos>=r.pos?null:new Jt(t.pos,r.pos,this.mark)}merge(e){return e instanceof Jt&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new Jt(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"removeMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,t){if(typeof t.from!="number"||typeof t.to!="number")throw new RangeError("Invalid input for RemoveMarkStep.fromJSON");return new Jt(t.from,t.to,e.markFromJSON(t.mark))}}ot.jsonID("removeMark",Jt);class Sn extends ot{constructor(e,t){super(),this.pos=e,this.mark=t}apply(e){let t=e.nodeAt(this.pos);if(!t)return Qe.fail("No node at mark step's position");let r=t.type.create(t.attrs,null,this.mark.addToSet(t.marks));return Qe.fromReplace(e,this.pos,this.pos+1,new ye(le.from(r),0,t.isLeaf?0:1))}invert(e){let t=e.nodeAt(this.pos);if(t){let r=this.mark.addToSet(t.marks);if(r.length==t.marks.length){for(let o=0;o<t.marks.length;o++)if(!t.marks[o].isInSet(r))return new Sn(this.pos,t.marks[o]);return new Sn(this.pos,this.mark)}}return new _r(this.pos,this.mark)}map(e){let t=e.mapResult(this.pos,1);return t.deletedAfter?null:new Sn(t.pos,this.mark)}toJSON(){return{stepType:"addNodeMark",pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(e,t){if(typeof t.pos!="number")throw new RangeError("Invalid input for AddNodeMarkStep.fromJSON");return new Sn(t.pos,e.markFromJSON(t.mark))}}ot.jsonID("addNodeMark",Sn);class _r extends ot{constructor(e,t){super(),this.pos=e,this.mark=t}apply(e){let t=e.nodeAt(this.pos);if(!t)return Qe.fail("No node at mark step's position");let r=t.type.create(t.attrs,null,this.mark.removeFromSet(t.marks));return Qe.fromReplace(e,this.pos,this.pos+1,new ye(le.from(r),0,t.isLeaf?0:1))}invert(e){let t=e.nodeAt(this.pos);return!t||!this.mark.isInSet(t.marks)?this:new Sn(this.pos,this.mark)}map(e){let t=e.mapResult(this.pos,1);return t.deletedAfter?null:new _r(t.pos,this.mark)}toJSON(){return{stepType:"removeNodeMark",pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(e,t){if(typeof t.pos!="number")throw new RangeError("Invalid input for RemoveNodeMarkStep.fromJSON");return new _r(t.pos,e.markFromJSON(t.mark))}}ot.jsonID("removeNodeMark",_r);class tt extends ot{constructor(e,t,r,o=!1){super(),this.from=e,this.to=t,this.slice=r,this.structure=o}apply(e){return this.structure&&ja(e,this.from,this.to)?Qe.fail("Structure replace would overwrite content"):Qe.fromReplace(e,this.from,this.to,this.slice)}getMap(){return new wt([this.from,this.to-this.from,this.slice.size])}invert(e){return new tt(this.from,this.from+this.slice.size,e.slice(this.from,this.to))}map(e){let t=e.mapResult(this.from,1),r=e.mapResult(this.to,-1);return t.deletedAcross&&r.deletedAcross?null:new tt(t.pos,Math.max(t.pos,r.pos),this.slice)}merge(e){if(!(e instanceof tt)||e.structure||this.structure)return null;if(this.from+this.slice.size==e.from&&!this.slice.openEnd&&!e.slice.openStart){let t=this.slice.size+e.slice.size==0?ye.empty:new ye(this.slice.content.append(e.slice.content),this.slice.openStart,e.slice.openEnd);return new tt(this.from,this.to+(e.to-e.from),t,this.structure)}else if(e.to==this.from&&!this.slice.openStart&&!e.slice.openEnd){let t=this.slice.size+e.slice.size==0?ye.empty:new ye(e.slice.content.append(this.slice.content),e.slice.openStart,this.slice.openEnd);return new tt(e.from,this.to,t,this.structure)}else return null}toJSON(){let e={stepType:"replace",from:this.from,to:this.to};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}static fromJSON(e,t){if(typeof t.from!="number"||typeof t.to!="number")throw new RangeError("Invalid input for ReplaceStep.fromJSON");return new tt(t.from,t.to,ye.fromJSON(e,t.slice),!!t.structure)}}ot.jsonID("replace",tt);class Je extends ot{constructor(e,t,r,o,i,s,l=!1){super(),this.from=e,this.to=t,this.gapFrom=r,this.gapTo=o,this.slice=i,this.insert=s,this.structure=l}apply(e){if(this.structure&&(ja(e,this.from,this.gapFrom)||ja(e,this.gapTo,this.to)))return Qe.fail("Structure gap-replace would overwrite content");let t=e.slice(this.gapFrom,this.gapTo);if(t.openStart||t.openEnd)return Qe.fail("Gap is not a flat range");let r=this.slice.insertAt(this.insert,t.content);return r?Qe.fromReplace(e,this.from,this.to,r):Qe.fail("Content does not fit in gap")}getMap(){return new wt([this.from,this.gapFrom-this.from,this.insert,this.gapTo,this.to-this.gapTo,this.slice.size-this.insert])}invert(e){let t=this.gapTo-this.gapFrom;return new Je(this.from,this.from+this.slice.size+t,this.from+this.insert,this.from+this.insert+t,e.slice(this.from,this.to).removeBetween(this.gapFrom-this.from,this.gapTo-this.from),this.gapFrom-this.from,this.structure)}map(e){let t=e.mapResult(this.from,1),r=e.mapResult(this.to,-1),o=e.map(this.gapFrom,-1),i=e.map(this.gapTo,1);return t.deletedAcross&&r.deletedAcross||o<t.pos||i>r.pos?null:new Je(t.pos,r.pos,o,i,this.slice,this.insert,this.structure)}toJSON(){let e={stepType:"replaceAround",from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}static fromJSON(e,t){if(typeof t.from!="number"||typeof t.to!="number"||typeof t.gapFrom!="number"||typeof t.gapTo!="number"||typeof t.insert!="number")throw new RangeError("Invalid input for ReplaceAroundStep.fromJSON");return new Je(t.from,t.to,t.gapFrom,t.gapTo,ye.fromJSON(e,t.slice),t.insert,!!t.structure)}}ot.jsonID("replaceAround",Je);function ja(n,e,t){let r=n.resolve(e),o=t-e,i=r.depth;for(;o>0&&i>0&&r.indexAfter(i)==r.node(i).childCount;)i--,o--;if(o>0){let s=r.node(i).maybeChild(r.indexAfter(i));for(;o>0;){if(!s||s.isLeaf)return!0;s=s.firstChild,o--}}return!1}function E4(n,e,t,r){let o=[],i=[],s,l;n.doc.nodesBetween(e,t,(a,d,u)=>{if(!a.isInline)return;let f=a.marks;if(!r.isInSet(f)&&u.type.allowsMarkType(r.type)){let h=Math.max(d,e),p=Math.min(d+a.nodeSize,t),m=r.addToSet(f);for(let g=0;g<f.length;g++)f[g].isInSet(m)||(s&&s.to==h&&s.mark.eq(f[g])?s.to=p:o.push(s=new Jt(h,p,f[g])));l&&l.to==h?l.to=p:i.push(l=new wn(h,p,r))}}),o.forEach(a=>n.step(a)),i.forEach(a=>n.step(a))}function b4(n,e,t,r){let o=[],i=0;n.doc.nodesBetween(e,t,(s,l)=>{if(!s.isInline)return;i++;let a=null;if(r instanceof ki){let d=s.marks,u;for(;u=r.isInSet(d);)(a||(a=[])).push(u),d=u.removeFromSet(d)}else r?r.isInSet(s.marks)&&(a=[r]):a=s.marks;if(a&&a.length){let d=Math.min(l+s.nodeSize,t);for(let u=0;u<a.length;u++){let f=a[u],h;for(let p=0;p<o.length;p++){let m=o[p];m.step==i-1&&f.eq(o[p].style)&&(h=m)}h?(h.to=d,h.step=i):o.push({style:f,from:Math.max(l,e),to:d,step:i})}}}),o.forEach(s=>n.step(new Jt(s.from,s.to,s.style)))}function A4(n,e,t,r=t.contentMatch){let o=n.doc.nodeAt(e),i=[],s=e+1;for(let l=0;l<o.childCount;l++){let a=o.child(l),d=s+a.nodeSize,u=r.matchType(a.type);if(!u)i.push(new tt(s,d,ye.empty));else{r=u;for(let f=0;f<a.marks.length;f++)t.allowsMarkType(a.marks[f].type)||n.step(new Jt(s,d,a.marks[f]));if(a.isText&&!t.spec.code){let f,h=/\r?\n|\r/g,p;for(;f=h.exec(a.text);)p||(p=new ye(le.from(t.schema.text(" ",t.allowedMarks(a.marks))),0,0)),i.push(new tt(s+f.index,s+f.index+f[0].length,p))}}s=d}if(!r.validEnd){let l=r.fillBefore(le.empty,!0);n.replace(s,s,new ye(l,0,0))}for(let l=i.length-1;l>=0;l--)n.step(i[l])}function w4(n,e,t){return(e==0||n.canReplace(e,n.childCount))&&(t==n.childCount||n.canReplace(0,t))}function Nr(n){let t=n.parent.content.cutByIndex(n.startIndex,n.endIndex);for(let r=n.depth;;--r){let o=n.$from.node(r),i=n.$from.index(r),s=n.$to.indexAfter(r);if(r<n.depth&&o.canReplace(i,s,t))return r;if(r==0||o.type.spec.isolating||!w4(o,i,s))break}return null}function S4(n,e,t){let{$from:r,$to:o,depth:i}=e,s=r.before(i+1),l=o.after(i+1),a=s,d=l,u=le.empty,f=0;for(let m=i,g=!1;m>t;m--)g||r.index(m)>0?(g=!0,u=le.from(r.node(m).copy(u)),f++):a--;let h=le.empty,p=0;for(let m=i,g=!1;m>t;m--)g||o.after(m+1)<o.end(m)?(g=!0,h=le.from(o.node(m).copy(h)),p++):d++;n.step(new Je(a,d,s,l,new ye(u.append(h),f,p),u.size-f,!0))}function Wa(n,e,t=null,r=n){let o=k4(n,e),i=o&&x4(r,e);return i?o.map(Zu).concat({type:e,attrs:t}).concat(i.map(Zu)):null}function Zu(n){return{type:n,attrs:null}}function k4(n,e){let{parent:t,startIndex:r,endIndex:o}=n,i=t.contentMatchAt(r).findWrapping(e);if(!i)return null;let s=i.length?i[0]:e;return t.canReplaceWith(r,o,s)?i:null}function x4(n,e){let{parent:t,startIndex:r,endIndex:o}=n,i=t.child(r),s=e.contentMatch.findWrapping(i.type);if(!s)return null;let a=(s.length?s[s.length-1]:e).contentMatch;for(let d=r;a&&d<o;d++)a=a.matchType(t.child(d).type);return!a||!a.validEnd?null:s}function T4(n,e,t){let r=le.empty;for(let s=t.length-1;s>=0;s--){if(r.size){let l=t[s].type.contentMatch.matchFragment(r);if(!l||!l.validEnd)throw new RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper")}r=le.from(t[s].type.create(t[s].attrs,r))}let o=e.start,i=e.end;n.step(new Je(o,i,o,i,new ye(r,0,0),t.length,!0))}function M4(n,e,t,r,o){if(!r.isTextblock)throw new RangeError("Type given to setBlockType should be a textblock");let i=n.steps.length;n.doc.nodesBetween(e,t,(s,l)=>{if(s.isTextblock&&!s.hasMarkup(r,o)&&I4(n.doc,n.mapping.slice(i).map(l),r)){n.clearIncompatible(n.mapping.slice(i).map(l,1),r);let a=n.mapping.slice(i),d=a.map(l,1),u=a.map(l+s.nodeSize,1);return n.step(new Je(d,u,d+1,u-1,new ye(le.from(r.create(o,null,s.marks)),0,0),1,!0)),!1}})}function I4(n,e,t){let r=n.resolve(e),o=r.index();return r.parent.canReplaceWith(o,o+1,t)}function O4(n,e,t,r,o){let i=n.doc.nodeAt(e);if(!i)throw new RangeError("No node at given position");t||(t=i.type);let s=t.create(r,null,o||i.marks);if(i.isLeaf)return n.replaceWith(e,e+i.nodeSize,s);if(!t.validContent(i.content))throw new RangeError("Invalid content for node type "+t.name);n.step(new Je(e,e+i.nodeSize,e+1,e+i.nodeSize-1,new ye(le.from(s),0,0),1,!0))}function Lr(n,e,t=1,r){let o=n.resolve(e),i=o.depth-t,s=r&&r[r.length-1]||o.parent;if(i<0||o.parent.type.spec.isolating||!o.parent.canReplace(o.index(),o.parent.childCount)||!s.type.validContent(o.parent.content.cutByIndex(o.index(),o.parent.childCount)))return!1;for(let d=o.depth-1,u=t-2;d>i;d--,u--){let f=o.node(d),h=o.index(d);if(f.type.spec.isolating)return!1;let p=f.content.cutByIndex(h,f.childCount),m=r&&r[u+1];m&&(p=p.replaceChild(0,m.type.create(m.attrs)));let g=r&&r[u]||f;if(!f.canReplace(h+1,f.childCount)||!g.type.validContent(p))return!1}let l=o.indexAfter(i),a=r&&r[0];return o.node(i).canReplaceWith(l,l,a?a.type:o.node(i+1).type)}function _4(n,e,t=1,r){let o=n.doc.resolve(e),i=le.empty,s=le.empty;for(let l=o.depth,a=o.depth-t,d=t-1;l>a;l--,d--){i=le.from(o.node(l).copy(i));let u=r&&r[d];s=le.from(u?u.type.create(u.attrs,s):o.node(l).copy(s))}n.step(new tt(e,e,new ye(i.append(s),t,t),!0))}function kn(n,e){let t=n.resolve(e),r=t.index();return Ju(t.nodeBefore,t.nodeAfter)&&t.parent.canReplace(r,r+1)}function Ju(n,e){return!!(n&&e&&!n.isLeaf&&n.canAppend(e))}function Oi(n,e,t=-1){let r=n.resolve(e);for(let o=r.depth;;o--){let i,s,l=r.index(o);if(o==r.depth?(i=r.nodeBefore,s=r.nodeAfter):t>0?(i=r.node(o+1),l++,s=r.node(o).maybeChild(l)):(i=r.node(o).maybeChild(l-1),s=r.node(o+1)),i&&!i.isTextblock&&Ju(i,s)&&r.node(o).canReplace(l,l+1))return e;if(o==0)break;e=t<0?r.before(o):r.after(o)}}function N4(n,e,t){let r=new tt(e-t,e+t,ye.empty,!0);n.step(r)}function L4(n,e,t){let r=n.resolve(e);if(r.parent.canReplaceWith(r.index(),r.index(),t))return e;if(r.parentOffset==0)for(let o=r.depth-1;o>=0;o--){let i=r.index(o);if(r.node(o).canReplaceWith(i,i,t))return r.before(o+1);if(i>0)return null}if(r.parentOffset==r.parent.content.size)for(let o=r.depth-1;o>=0;o--){let i=r.indexAfter(o);if(r.node(o).canReplaceWith(i,i,t))return r.after(o+1);if(i<r.node(o).childCount)return null}return null}function D4(n,e,t){let r=n.resolve(e);if(!t.content.size)return e;let o=t.content;for(let i=0;i<t.openStart;i++)o=o.firstChild.content;for(let i=1;i<=(t.openStart==0&&t.size?2:1);i++)for(let s=r.depth;s>=0;s--){let l=s==r.depth?0:r.pos<=(r.start(s+1)+r.end(s+1))/2?-1:1,a=r.index(s)+(l>0?1:0),d=r.node(s),u=!1;if(i==1)u=d.canReplace(a,a,o);else{let f=d.contentMatchAt(a).findWrapping(o.firstChild.type);u=f&&d.canReplaceWith(a,a,f[0])}if(u)return l==0?r.pos:l<0?r.before(s+1):r.after(s+1)}return null}function Ka(n,e,t=e,r=ye.empty){if(e==t&&!r.size)return null;let o=n.resolve(e),i=n.resolve(t);return Xu(o,i,r)?new tt(e,t,r):new B4(o,i,r).fit()}function Xu(n,e,t){return!t.openStart&&!t.openEnd&&n.start()==e.start()&&n.parent.canReplace(n.index(),e.index(),t.content)}class B4{constructor(e,t,r){this.$from=e,this.$to=t,this.unplaced=r,this.frontier=[],this.placed=le.empty;for(let o=0;o<=e.depth;o++){let i=e.node(o);this.frontier.push({type:i.type,match:i.contentMatchAt(e.indexAfter(o))})}for(let o=e.depth;o>0;o--)this.placed=le.from(e.node(o).copy(this.placed))}get depth(){return this.frontier.length-1}fit(){for(;this.unplaced.size;){let d=this.findFittable();d?this.placeNodes(d):this.openMore()||this.dropNode()}let e=this.mustMoveInline(),t=this.placed.size-this.depth-this.$from.depth,r=this.$from,o=this.close(e<0?this.$to:r.doc.resolve(e));if(!o)return null;let i=this.placed,s=r.depth,l=o.depth;for(;s&&l&&i.childCount==1;)i=i.firstChild.content,s--,l--;let a=new ye(i,s,l);return e>-1?new Je(r.pos,e,this.$to.pos,this.$to.end(),a,t):a.size||r.pos!=this.$to.pos?new tt(r.pos,o.pos,a):null}findFittable(){let e=this.unplaced.openStart;for(let t=this.unplaced.content,r=0,o=this.unplaced.openEnd;r<e;r++){let i=t.firstChild;if(t.childCount>1&&(o=0),i.type.spec.isolating&&o<=r){e=r;break}t=i.content}for(let t=1;t<=2;t++)for(let r=t==1?e:this.unplaced.openStart;r>=0;r--){let o,i=null;r?(i=Qa(this.unplaced.content,r-1).firstChild,o=i.content):o=this.unplaced.content;let s=o.firstChild;for(let l=this.depth;l>=0;l--){let{type:a,match:d}=this.frontier[l],u,f=null;if(t==1&&(s?d.matchType(s.type)||(f=d.fillBefore(le.from(s),!1)):i&&a.compatibleContent(i.type)))return{sliceDepth:r,frontierDepth:l,parent:i,inject:f};if(t==2&&s&&(u=d.findWrapping(s.type)))return{sliceDepth:r,frontierDepth:l,parent:i,wrap:u};if(i&&d.matchType(i.type))break}}}openMore(){let{content:e,openStart:t,openEnd:r}=this.unplaced,o=Qa(e,t);return!o.childCount||o.firstChild.isLeaf?!1:(this.unplaced=new ye(e,t+1,Math.max(r,o.size+t>=e.size-r?t+1:0)),!0)}dropNode(){let{content:e,openStart:t,openEnd:r}=this.unplaced,o=Qa(e,t);if(o.childCount<=1&&t>0){let i=e.size-t<=t+o.size;this.unplaced=new ye(ko(e,t-1,1),t-1,i?t-1:r)}else this.unplaced=new ye(ko(e,t,1),t,r)}placeNodes({sliceDepth:e,frontierDepth:t,parent:r,inject:o,wrap:i}){for(;this.depth>t;)this.closeFrontierNode();if(i)for(let g=0;g<i.length;g++)this.openFrontierNode(i[g]);let s=this.unplaced,l=r?r.content:s.content,a=s.openStart-e,d=0,u=[],{match:f,type:h}=this.frontier[t];if(o){for(let g=0;g<o.childCount;g++)u.push(o.child(g));f=f.matchFragment(o)}let p=l.size+e-(s.content.size-s.openEnd);for(;d<l.childCount;){let g=l.child(d),v=f.matchType(g.type);if(!v)break;d++,(d>1||a==0||g.content.size)&&(f=v,u.push(qu(g.mark(h.allowedMarks(g.marks)),d==1?a:0,d==l.childCount?p:-1)))}let m=d==l.childCount;m||(p=-1),this.placed=xo(this.placed,t,le.from(u)),this.frontier[t].match=f,m&&p<0&&r&&r.type==this.frontier[this.depth].type&&this.frontier.length>1&&this.closeFrontierNode();for(let g=0,v=l;g<p;g++){let b=v.lastChild;this.frontier.push({type:b.type,match:b.contentMatchAt(b.childCount)}),v=b.content}this.unplaced=m?e==0?ye.empty:new ye(ko(s.content,e-1,1),e-1,p<0?s.openEnd:e-1):new ye(ko(s.content,e,d),s.openStart,s.openEnd)}mustMoveInline(){if(!this.$to.parent.isTextblock)return-1;let e=this.frontier[this.depth],t;if(!e.type.isTextblock||!Ya(this.$to,this.$to.depth,e.type,e.match,!1)||this.$to.depth==this.depth&&(t=this.findCloseLevel(this.$to))&&t.depth==this.depth)return-1;let{depth:r}=this.$to,o=this.$to.after(r);for(;r>1&&o==this.$to.end(--r);)++o;return o}findCloseLevel(e){e:for(let t=Math.min(this.depth,e.depth);t>=0;t--){let{match:r,type:o}=this.frontier[t],i=t<e.depth&&e.end(t+1)==e.pos+(e.depth-(t+1)),s=Ya(e,t,o,r,i);if(s){for(let l=t-1;l>=0;l--){let{match:a,type:d}=this.frontier[l],u=Ya(e,l,d,a,!0);if(!u||u.childCount)continue e}return{depth:t,fit:s,move:i?e.doc.resolve(e.after(t+1)):e}}}}close(e){let t=this.findCloseLevel(e);if(!t)return null;for(;this.depth>t.depth;)this.closeFrontierNode();t.fit.childCount&&(this.placed=xo(this.placed,t.depth,t.fit)),e=t.move;for(let r=t.depth+1;r<=e.depth;r++){let o=e.node(r),i=o.type.contentMatch.fillBefore(o.content,!0,e.index(r));this.openFrontierNode(o.type,o.attrs,i)}return e}openFrontierNode(e,t=null,r){let o=this.frontier[this.depth];o.match=o.match.matchType(e),this.placed=xo(this.placed,this.depth,le.from(e.create(t,r))),this.frontier.push({type:e,match:e.contentMatch})}closeFrontierNode(){let t=this.frontier.pop().match.fillBefore(le.empty,!0);t.childCount&&(this.placed=xo(this.placed,this.frontier.length,t))}}function ko(n,e,t){return e==0?n.cutByIndex(t,n.childCount):n.replaceChild(0,n.firstChild.copy(ko(n.firstChild.content,e-1,t)))}function xo(n,e,t){return e==0?n.append(t):n.replaceChild(n.childCount-1,n.lastChild.copy(xo(n.lastChild.content,e-1,t)))}function Qa(n,e){for(let t=0;t<e;t++)n=n.firstChild.content;return n}function qu(n,e,t){if(e<=0)return n;let r=n.content;return e>1&&(r=r.replaceChild(0,qu(r.firstChild,e-1,r.childCount==1?t-1:0))),e>0&&(r=n.type.contentMatch.fillBefore(r).append(r),t<=0&&(r=r.append(n.type.contentMatch.matchFragment(r).fillBefore(le.empty,!0)))),n.copy(r)}function Ya(n,e,t,r,o){let i=n.node(e),s=o?n.indexAfter(e):n.index(e);if(s==i.childCount&&!t.compatibleContent(i.type))return null;let l=r.fillBefore(i.content,!0,s);return l&&!R4(t,i.content,s)?l:null}function R4(n,e,t){for(let r=t;r<e.childCount;r++)if(!n.allowsMarks(e.child(r).marks))return!0;return!1}function P4(n){return n.spec.defining||n.spec.definingForContent}function V4(n,e,t,r){if(!r.size)return n.deleteRange(e,t);let o=n.doc.resolve(e),i=n.doc.resolve(t);if(Xu(o,i,r))return n.step(new tt(e,t,r));let s=tf(o,n.doc.resolve(t));s[s.length-1]==0&&s.pop();let l=-(o.depth+1);s.unshift(l);for(let h=o.depth,p=o.pos-1;h>0;h--,p--){let m=o.node(h).type.spec;if(m.defining||m.definingAsContext||m.isolating)break;s.indexOf(h)>-1?l=h:o.before(h)==p&&s.splice(1,0,-h)}let a=s.indexOf(l),d=[],u=r.openStart;for(let h=r.content,p=0;;p++){let m=h.firstChild;if(d.push(m),p==r.openStart)break;h=m.content}for(let h=u-1;h>=0;h--){let p=d[h],m=P4(p.type);if(m&&!p.sameMarkup(o.node(Math.abs(l)-1)))u=h;else if(m||!p.type.isTextblock)break}for(let h=r.openStart;h>=0;h--){let p=(h+u+1)%(r.openStart+1),m=d[p];if(m)for(let g=0;g<s.length;g++){let v=s[(g+a)%s.length],b=!0;v<0&&(b=!1,v=-v);let A=o.node(v-1),w=o.index(v-1);if(A.canReplaceWith(w,w,m.type,m.marks))return n.replace(o.before(v),b?i.after(v):t,new ye(ef(r.content,0,r.openStart,p),p,r.openEnd))}}let f=n.steps.length;for(let h=s.length-1;h>=0&&(n.replace(e,t,r),!(n.steps.length>f));h--){let p=s[h];p<0||(e=o.before(p),t=i.after(p))}}function ef(n,e,t,r,o){if(e<t){let i=n.firstChild;n=n.replaceChild(0,i.copy(ef(i.content,e+1,t,r,i)))}if(e>r){let i=o.contentMatchAt(0),s=i.fillBefore(n).append(n);n=s.append(i.matchFragment(s).fillBefore(le.empty,!0))}return n}function F4(n,e,t,r){if(!r.isInline&&e==t&&n.doc.resolve(e).parent.content.size){let o=L4(n.doc,e,r.type);o!=null&&(e=t=o)}n.replaceRange(e,t,new ye(le.from(r),0,0))}function $4(n,e,t){let r=n.doc.resolve(e),o=n.doc.resolve(t),i=tf(r,o);for(let s=0;s<i.length;s++){let l=i[s],a=s==i.length-1;if(a&&l==0||r.node(l).type.contentMatch.validEnd)return n.delete(r.start(l),o.end(l));if(l>0&&(a||r.node(l-1).canReplace(r.index(l-1),o.indexAfter(l-1))))return n.delete(r.before(l),o.after(l))}for(let s=1;s<=r.depth&&s<=o.depth;s++)if(e-r.start(s)==r.depth-s&&t>r.end(s)&&o.end(s)-t!=o.depth-s)return n.delete(r.before(s),t);n.delete(e,t)}function tf(n,e){let t=[],r=Math.min(n.depth,e.depth);for(let o=r;o>=0;o--){let i=n.start(o);if(i<n.pos-(n.depth-o)||e.end(o)>e.pos+(e.depth-o)||n.node(o).type.spec.isolating||e.node(o).type.spec.isolating)break;(i==e.start(o)||o==n.depth&&o==e.depth&&n.parent.inlineContent&&e.parent.inlineContent&&o&&e.start(o-1)==i-1)&&t.push(o)}return t}class Dr extends ot{constructor(e,t,r){super(),this.pos=e,this.attr=t,this.value=r}apply(e){let t=e.nodeAt(this.pos);if(!t)return Qe.fail("No node at attribute step's position");let r=Object.create(null);for(let i in t.attrs)r[i]=t.attrs[i];r[this.attr]=this.value;let o=t.type.create(r,null,t.marks);return Qe.fromReplace(e,this.pos,this.pos+1,new ye(le.from(o),0,t.isLeaf?0:1))}getMap(){return wt.empty}invert(e){return new Dr(this.pos,this.attr,e.nodeAt(this.pos).attrs[this.attr])}map(e){let t=e.mapResult(this.pos,1);return t.deletedAfter?null:new Dr(t.pos,this.attr,this.value)}toJSON(){return{stepType:"attr",pos:this.pos,attr:this.attr,value:this.value}}static fromJSON(e,t){if(typeof t.pos!="number"||typeof t.attr!="string")throw new RangeError("Invalid input for AttrStep.fromJSON");return new Dr(t.pos,t.attr,t.value)}}ot.jsonID("attr",Dr);class To extends ot{constructor(e,t){super(),this.attr=e,this.value=t}apply(e){let t=Object.create(null);for(let o in e.attrs)t[o]=e.attrs[o];t[this.attr]=this.value;let r=e.type.create(t,e.content,e.marks);return Qe.ok(r)}getMap(){return wt.empty}invert(e){return new To(this.attr,e.attrs[this.attr])}map(e){return this}toJSON(){return{stepType:"docAttr",attr:this.attr,value:this.value}}static fromJSON(e,t){if(typeof t.attr!="string")throw new RangeError("Invalid input for DocAttrStep.fromJSON");return new To(t.attr,t.value)}}ot.jsonID("docAttr",To);let Br=class extends Error{};Br=function n(e){let t=Error.call(this,e);return t.__proto__=n.prototype,t},Br.prototype=Object.create(Error.prototype),Br.prototype.constructor=Br,Br.prototype.name="TransformError";class nf{constructor(e){this.doc=e,this.steps=[],this.docs=[],this.mapping=new So}get before(){return this.docs.length?this.docs[0]:this.doc}step(e){let t=this.maybeStep(e);if(t.failed)throw new Br(t.failed);return this}maybeStep(e){let t=e.apply(this.doc);return t.failed||this.addStep(e,t.doc),t}get docChanged(){return this.steps.length>0}addStep(e,t){this.docs.push(this.doc),this.steps.push(e),this.mapping.appendMap(e.getMap()),this.doc=t}replace(e,t=e,r=ye.empty){let o=Ka(this.doc,e,t,r);return o&&this.step(o),this}replaceWith(e,t,r){return this.replace(e,t,new ye(le.from(r),0,0))}delete(e,t){return this.replace(e,t,ye.empty)}insert(e,t){return this.replaceWith(e,e,t)}replaceRange(e,t,r){return V4(this,e,t,r),this}replaceRangeWith(e,t,r){return F4(this,e,t,r),this}deleteRange(e,t){return $4(this,e,t),this}lift(e,t){return S4(this,e,t),this}join(e,t=1){return N4(this,e,t),this}wrap(e,t){return T4(this,e,t),this}setBlockType(e,t=e,r,o=null){return M4(this,e,t,r,o),this}setNodeMarkup(e,t,r=null,o){return O4(this,e,t,r,o),this}setNodeAttribute(e,t,r){return this.step(new Dr(e,t,r)),this}setDocAttribute(e,t){return this.step(new To(e,t)),this}addNodeMark(e,t){return this.step(new Sn(e,t)),this}removeNodeMark(e,t){if(!(t instanceof Ve)){let r=this.doc.nodeAt(e);if(!r)throw new RangeError("No node at position "+e);if(t=t.isInSet(r.marks),!t)return this}return this.step(new _r(e,t)),this}split(e,t=1,r){return _4(this,e,t,r),this}addMark(e,t,r){return E4(this,e,t,r),this}removeMark(e,t,r){return b4(this,e,t,r),this}clearIncompatible(e,t,r){return A4(this,e,t,r),this}}const Ga=Object.create(null);class Re{constructor(e,t,r){this.$anchor=e,this.$head=t,this.ranges=r||[new z4(e.min(t),e.max(t))]}get anchor(){return this.$anchor.pos}get head(){return this.$head.pos}get from(){return this.$from.pos}get to(){return this.$to.pos}get $from(){return this.ranges[0].$from}get $to(){return this.ranges[0].$to}get empty(){let e=this.ranges;for(let t=0;t<e.length;t++)if(e[t].$from.pos!=e[t].$to.pos)return!1;return!0}content(){return this.$from.doc.slice(this.from,this.to,!0)}replace(e,t=ye.empty){let r=t.content.lastChild,o=null;for(let l=0;l<t.openEnd;l++)o=r,r=r.lastChild;let i=e.steps.length,s=this.ranges;for(let l=0;l<s.length;l++){let{$from:a,$to:d}=s[l],u=e.mapping.slice(i);e.replaceRange(u.map(a.pos),u.map(d.pos),l?ye.empty:t),l==0&&sf(e,i,(r?r.isInline:o&&o.isTextblock)?-1:1)}}replaceWith(e,t){let r=e.steps.length,o=this.ranges;for(let i=0;i<o.length;i++){let{$from:s,$to:l}=o[i],a=e.mapping.slice(r),d=a.map(s.pos),u=a.map(l.pos);i?e.deleteRange(d,u):(e.replaceRangeWith(d,u,t),sf(e,r,t.isInline?-1:1))}}static findFrom(e,t,r=!1){let o=e.parent.inlineContent?new Pe(e):Rr(e.node(0),e.parent,e.pos,e.index(),t,r);if(o)return o;for(let i=e.depth-1;i>=0;i--){let s=t<0?Rr(e.node(0),e.node(i),e.before(i+1),e.index(i),t,r):Rr(e.node(0),e.node(i),e.after(i+1),e.index(i)+1,t,r);if(s)return s}return null}static near(e,t=1){return this.findFrom(e,t)||this.findFrom(e,-t)||new Ut(e.node(0))}static atStart(e){return Rr(e,e,0,0,1)||new Ut(e)}static atEnd(e){return Rr(e,e,e.content.size,e.childCount,-1)||new Ut(e)}static fromJSON(e,t){if(!t||!t.type)throw new RangeError("Invalid input for Selection.fromJSON");let r=Ga[t.type];if(!r)throw new RangeError(`No selection type ${t.type} defined`);return r.fromJSON(e,t)}static jsonID(e,t){if(e in Ga)throw new RangeError("Duplicate use of selection JSON ID "+e);return Ga[e]=t,t.prototype.jsonID=e,t}getBookmark(){return Pe.between(this.$anchor,this.$head).getBookmark()}}Re.prototype.visible=!0;class z4{constructor(e,t){this.$from=e,this.$to=t}}let rf=!1;function of(n){!rf&&!n.parent.inlineContent&&(rf=!0,console.warn("TextSelection endpoint not pointing into a node with inline content ("+n.parent.type.name+")"))}class Pe extends Re{constructor(e,t=e){of(e),of(t),super(e,t)}get $cursor(){return this.$anchor.pos==this.$head.pos?this.$head:null}map(e,t){let r=e.resolve(t.map(this.head));if(!r.parent.inlineContent)return Re.near(r);let o=e.resolve(t.map(this.anchor));return new Pe(o.parent.inlineContent?o:r,r)}replace(e,t=ye.empty){if(super.replace(e,t),t==ye.empty){let r=this.$from.marksAcross(this.$to);r&&e.ensureMarks(r)}}eq(e){return e instanceof Pe&&e.anchor==this.anchor&&e.head==this.head}getBookmark(){return new _i(this.anchor,this.head)}toJSON(){return{type:"text",anchor:this.anchor,head:this.head}}static fromJSON(e,t){if(typeof t.anchor!="number"||typeof t.head!="number")throw new RangeError("Invalid input for TextSelection.fromJSON");return new Pe(e.resolve(t.anchor),e.resolve(t.head))}static create(e,t,r=t){let o=e.resolve(t);return new this(o,r==t?o:e.resolve(r))}static between(e,t,r){let o=e.pos-t.pos;if((!r||o)&&(r=o>=0?1:-1),!t.parent.inlineContent){let i=Re.findFrom(t,r,!0)||Re.findFrom(t,-r,!0);if(i)t=i.$head;else return Re.near(t,r)}return e.parent.inlineContent||(o==0?e=t:(e=(Re.findFrom(e,-r,!0)||Re.findFrom(e,r,!0)).$anchor,e.pos<t.pos!=o<0&&(e=t))),new Pe(e,t)}}Re.jsonID("text",Pe);class _i{constructor(e,t){this.anchor=e,this.head=t}map(e){return new _i(e.map(this.anchor),e.map(this.head))}resolve(e){return Pe.between(e.resolve(this.anchor),e.resolve(this.head))}}class Me extends Re{constructor(e){let t=e.nodeAfter,r=e.node(0).resolve(e.pos+t.nodeSize);super(e,r),this.node=t}map(e,t){let{deleted:r,pos:o}=t.mapResult(this.anchor),i=e.resolve(o);return r?Re.near(i):new Me(i)}content(){return new ye(le.from(this.node),0,0)}eq(e){return e instanceof Me&&e.anchor==this.anchor}toJSON(){return{type:"node",anchor:this.anchor}}getBookmark(){return new Za(this.anchor)}static fromJSON(e,t){if(typeof t.anchor!="number")throw new RangeError("Invalid input for NodeSelection.fromJSON");return new Me(e.resolve(t.anchor))}static create(e,t){return new Me(e.resolve(t))}static isSelectable(e){return!e.isText&&e.type.spec.selectable!==!1}}Me.prototype.visible=!1,Re.jsonID("node",Me);class Za{constructor(e){this.anchor=e}map(e){let{deleted:t,pos:r}=e.mapResult(this.anchor);return t?new _i(r,r):new Za(r)}resolve(e){let t=e.resolve(this.anchor),r=t.nodeAfter;return r&&Me.isSelectable(r)?new Me(t):Re.near(t)}}class Ut extends Re{constructor(e){super(e.resolve(0),e.resolve(e.content.size))}replace(e,t=ye.empty){if(t==ye.empty){e.delete(0,e.doc.content.size);let r=Re.atStart(e.doc);r.eq(e.selection)||e.setSelection(r)}else super.replace(e,t)}toJSON(){return{type:"all"}}static fromJSON(e){return new Ut(e)}map(e){return new Ut(e)}eq(e){return e instanceof Ut}getBookmark(){return H4}}Re.jsonID("all",Ut);const H4={map(){return this},resolve(n){return new Ut(n)}};function Rr(n,e,t,r,o,i=!1){if(e.inlineContent)return Pe.create(n,t);for(let s=r-(o>0?0:1);o>0?s<e.childCount:s>=0;s+=o){let l=e.child(s);if(l.isAtom){if(!i&&Me.isSelectable(l))return Me.create(n,t-(o<0?l.nodeSize:0))}else{let a=Rr(n,l,t+o,o<0?l.childCount:0,o,i);if(a)return a}t+=l.nodeSize*o}return null}function sf(n,e,t){let r=n.steps.length-1;if(r<e)return;let o=n.steps[r];if(!(o instanceof tt||o instanceof Je))return;let i=n.mapping.maps[r],s;i.forEach((l,a,d,u)=>{s==null&&(s=u)}),n.setSelection(Re.near(n.doc.resolve(s),t))}const af=1,Ni=2,lf=4;class U4 extends nf{constructor(e){super(e.doc),this.curSelectionFor=0,this.updated=0,this.meta=Object.create(null),this.time=Date.now(),this.curSelection=e.selection,this.storedMarks=e.storedMarks}get selection(){return this.curSelectionFor<this.steps.length&&(this.curSelection=this.curSelection.map(this.doc,this.mapping.slice(this.curSelectionFor)),this.curSelectionFor=this.steps.length),this.curSelection}setSelection(e){if(e.$from.doc!=this.doc)throw new RangeError("Selection passed to setSelection must point at the current document");return this.curSelection=e,this.curSelectionFor=this.steps.length,this.updated=(this.updated|af)&~Ni,this.storedMarks=null,this}get selectionSet(){return(this.updated&af)>0}setStoredMarks(e){return this.storedMarks=e,this.updated|=Ni,this}ensureMarks(e){return Ve.sameSet(this.storedMarks||this.selection.$from.marks(),e)||this.setStoredMarks(e),this}addStoredMark(e){return this.ensureMarks(e.addToSet(this.storedMarks||this.selection.$head.marks()))}removeStoredMark(e){return this.ensureMarks(e.removeFromSet(this.storedMarks||this.selection.$head.marks()))}get storedMarksSet(){return(this.updated&Ni)>0}addStep(e,t){super.addStep(e,t),this.updated=this.updated&~Ni,this.storedMarks=null}setTime(e){return this.time=e,this}replaceSelection(e){return this.selection.replace(this,e),this}replaceSelectionWith(e,t=!0){let r=this.selection;return t&&(e=e.mark(this.storedMarks||(r.empty?r.$from.marks():r.$from.marksAcross(r.$to)||Ve.none))),r.replaceWith(this,e),this}deleteSelection(){return this.selection.replace(this),this}insertText(e,t,r){let o=this.doc.type.schema;if(t==null)return e?this.replaceSelectionWith(o.text(e),!0):this.deleteSelection();{if(r==null&&(r=t),r=r??t,!e)return this.deleteRange(t,r);let i=this.storedMarks;if(!i){let s=this.doc.resolve(t);i=r==t?s.marks():s.marksAcross(this.doc.resolve(r))}return this.replaceRangeWith(t,r,o.text(e,i)),this.selection.empty||this.setSelection(Re.near(this.selection.$to)),this}}setMeta(e,t){return this.meta[typeof e=="string"?e:e.key]=t,this}getMeta(e){return this.meta[typeof e=="string"?e:e.key]}get isGeneric(){for(let e in this.meta)return!1;return!0}scrollIntoView(){return this.updated|=lf,this}get scrolledIntoView(){return(this.updated&lf)>0}}function cf(n,e){return!e||!n?n:n.bind(e)}class Mo{constructor(e,t,r){this.name=e,this.init=cf(t.init,r),this.apply=cf(t.apply,r)}}const j4=[new Mo("doc",{init(n){return n.doc||n.schema.topNodeType.createAndFill()},apply(n){return n.doc}}),new Mo("selection",{init(n,e){return n.selection||Re.atStart(e.doc)},apply(n){return n.selection}}),new Mo("storedMarks",{init(n){return n.storedMarks||null},apply(n,e,t,r){return r.selection.$cursor?n.storedMarks:null}}),new Mo("scrollToSelection",{init(){return 0},apply(n,e){return n.scrolledIntoView?e+1:e}})];class Ja{constructor(e,t){this.schema=e,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=j4.slice(),t&&t.forEach(r=>{if(this.pluginsByKey[r.key])throw new RangeError("Adding different instances of a keyed plugin ("+r.key+")");this.plugins.push(r),this.pluginsByKey[r.key]=r,r.spec.state&&this.fields.push(new Mo(r.key,r.spec.state,r))})}}class Pr{constructor(e){this.config=e}get schema(){return this.config.schema}get plugins(){return this.config.plugins}apply(e){return this.applyTransaction(e).state}filterTransaction(e,t=-1){for(let r=0;r<this.config.plugins.length;r++)if(r!=t){let o=this.config.plugins[r];if(o.spec.filterTransaction&&!o.spec.filterTransaction.call(o,e,this))return!1}return!0}applyTransaction(e){if(!this.filterTransaction(e))return{state:this,transactions:[]};let t=[e],r=this.applyInner(e),o=null;for(;;){let i=!1;for(let s=0;s<this.config.plugins.length;s++){let l=this.config.plugins[s];if(l.spec.appendTransaction){let a=o?o[s].n:0,d=o?o[s].state:this,u=a<t.length&&l.spec.appendTransaction.call(l,a?t.slice(a):t,d,r);if(u&&r.filterTransaction(u,s)){if(u.setMeta("appendedTransaction",e),!o){o=[];for(let f=0;f<this.config.plugins.length;f++)o.push(f<s?{state:r,n:t.length}:{state:this,n:0})}t.push(u),r=r.applyInner(u),i=!0}o&&(o[s]={state:r,n:t.length})}}if(!i)return{state:r,transactions:t}}}applyInner(e){if(!e.before.eq(this.doc))throw new RangeError("Applying a mismatched transaction");let t=new Pr(this.config),r=this.config.fields;for(let o=0;o<r.length;o++){let i=r[o];t[i.name]=i.apply(e,this[i.name],this,t)}return t}get tr(){return new U4(this)}static create(e){let t=new Ja(e.doc?e.doc.type.schema:e.schema,e.plugins),r=new Pr(t);for(let o=0;o<t.fields.length;o++)r[t.fields[o].name]=t.fields[o].init(e,r);return r}reconfigure(e){let t=new Ja(this.schema,e.plugins),r=t.fields,o=new Pr(t);for(let i=0;i<r.length;i++){let s=r[i].name;o[s]=this.hasOwnProperty(s)?this[s]:r[i].init(e,o)}return o}toJSON(e){let t={doc:this.doc.toJSON(),selection:this.selection.toJSON()};if(this.storedMarks&&(t.storedMarks=this.storedMarks.map(r=>r.toJSON())),e&&typeof e=="object")for(let r in e){if(r=="doc"||r=="selection")throw new RangeError("The JSON fields `doc` and `selection` are reserved");let o=e[r],i=o.spec.state;i&&i.toJSON&&(t[r]=i.toJSON.call(o,this[o.key]))}return t}static fromJSON(e,t,r){if(!t)throw new RangeError("Invalid input for EditorState.fromJSON");if(!e.schema)throw new RangeError("Required config field 'schema' missing");let o=new Ja(e.schema,e.plugins),i=new Pr(o);return o.fields.forEach(s=>{if(s.name=="doc")i.doc=ir.fromJSON(e.schema,t.doc);else if(s.name=="selection")i.selection=Re.fromJSON(i.doc,t.selection);else if(s.name=="storedMarks")t.storedMarks&&(i.storedMarks=t.storedMarks.map(e.schema.markFromJSON));else{if(r)for(let l in r){let a=r[l],d=a.spec.state;if(a.key==s.name&&d&&d.fromJSON&&Object.prototype.hasOwnProperty.call(t,l)){i[s.name]=d.fromJSON.call(a,e,t[l],i);return}}i[s.name]=s.init(e,i)}}),i}}function df(n,e,t){for(let r in n){let o=n[r];o instanceof Function?o=o.bind(e):r=="handleDOMEvents"&&(o=df(o,e,{})),t[r]=o}return t}class yt{constructor(e){this.spec=e,this.props={},e.props&&df(e.props,this,this.props),this.key=e.key?e.key.key:uf("plugin")}getState(e){return e[this.key]}}const Xa=Object.create(null);function uf(n){return n in Xa?n+"$"+ ++Xa[n]:(Xa[n]=0,n+"$")}class jt{constructor(e="key"){this.key=uf(e)}get(e){return e.config.pluginsByKey[this.key]}getState(e){return e[this.key]}}const ct=function(n){for(var e=0;;e++)if(n=n.previousSibling,!n)return e},Io=function(n){let e=n.assignedSlot||n.parentNode;return e&&e.nodeType==11?e.host:e};let ff=null;const un=function(n,e,t){let r=ff||(ff=document.createRange());return r.setEnd(n,t??n.nodeValue.length),r.setStart(n,e||0),r},ar=function(n,e,t,r){return t&&(hf(n,e,t,r,-1)||hf(n,e,t,r,1))},W4=/^(img|br|input|textarea|hr)$/i;function hf(n,e,t,r,o){for(;;){if(n==t&&e==r)return!0;if(e==(o<0?0:Xt(n))){let i=n.parentNode;if(!i||i.nodeType!=1||qa(n)||W4.test(n.nodeName)||n.contentEditable=="false")return!1;e=ct(n)+(o<0?0:1),n=i}else if(n.nodeType==1){if(n=n.childNodes[e+(o<0?-1:0)],n.contentEditable=="false")return!1;e=o<0?Xt(n):0}else return!1}}function Xt(n){return n.nodeType==3?n.nodeValue.length:n.childNodes.length}function K4(n,e,t){for(let r=e==0,o=e==Xt(n);r||o;){if(n==t)return!0;let i=ct(n);if(n=n.parentNode,!n)return!1;r=r&&i==0,o=o&&i==Xt(n)}}function qa(n){let e;for(let t=n;t&&!(e=t.pmViewDesc);t=t.parentNode);return e&&e.node&&e.node.isBlock&&(e.dom==n||e.contentDOM==n)}const Li=function(n){return n.focusNode&&ar(n.focusNode,n.focusOffset,n.anchorNode,n.anchorOffset)};function lr(n,e){let t=document.createEvent("Event");return t.initEvent("keydown",!0,!0),t.keyCode=n,t.key=t.code=e,t}function Q4(n){let e=n.activeElement;for(;e&&e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function Y4(n,e,t){if(n.caretPositionFromPoint)try{let r=n.caretPositionFromPoint(e,t);if(r)return{node:r.offsetNode,offset:r.offset}}catch{}if(n.caretRangeFromPoint){let r=n.caretRangeFromPoint(e,t);if(r)return{node:r.startContainer,offset:r.startOffset}}}const qt=typeof navigator<"u"?navigator:null,pf=typeof document<"u"?document:null,xn=qt&&qt.userAgent||"",el=/Edge\/(\d+)/.exec(xn),mf=/MSIE \d/.exec(xn),tl=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(xn),Ct=!!(mf||tl||el),Tn=mf?document.documentMode:tl?+tl[1]:el?+el[1]:0,Wt=!Ct&&/gecko\/(\d+)/i.test(xn);Wt&&+(/Firefox\/(\d+)/.exec(xn)||[0,0])[1];const nl=!Ct&&/Chrome\/(\d+)/.exec(xn),it=!!nl,G4=nl?+nl[1]:0,dt=!Ct&&!!qt&&/Apple Computer/.test(qt.vendor),Vr=dt&&(/Mobile\/\w+/.test(xn)||!!qt&&qt.maxTouchPoints>2),Ot=Vr||(qt?/Mac/.test(qt.platform):!1),Z4=qt?/Win/.test(qt.platform):!1,Kt=/Android \d/.test(xn),Oo=!!pf&&"webkitFontSmoothing"in pf.documentElement.style,J4=Oo?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0;function X4(n){return{left:0,right:n.documentElement.clientWidth,top:0,bottom:n.documentElement.clientHeight}}function fn(n,e){return typeof n=="number"?n:n[e]}function q4(n){let e=n.getBoundingClientRect(),t=e.width/n.offsetWidth||1,r=e.height/n.offsetHeight||1;return{left:e.left,right:e.left+n.clientWidth*t,top:e.top,bottom:e.top+n.clientHeight*r}}function gf(n,e,t){let r=n.someProp("scrollThreshold")||0,o=n.someProp("scrollMargin")||5,i=n.dom.ownerDocument;for(let s=t||n.dom;s;s=Io(s)){if(s.nodeType!=1)continue;let l=s,a=l==i.body,d=a?X4(i):q4(l),u=0,f=0;if(e.top<d.top+fn(r,"top")?f=-(d.top-e.top+fn(o,"top")):e.bottom>d.bottom-fn(r,"bottom")&&(f=e.bottom-e.top>d.bottom-d.top?e.top+fn(o,"top")-d.top:e.bottom-d.bottom+fn(o,"bottom")),e.left<d.left+fn(r,"left")?u=-(d.left-e.left+fn(o,"left")):e.right>d.right-fn(r,"right")&&(u=e.right-d.right+fn(o,"right")),u||f)if(a)i.defaultView.scrollBy(u,f);else{let h=l.scrollLeft,p=l.scrollTop;f&&(l.scrollTop+=f),u&&(l.scrollLeft+=u);let m=l.scrollLeft-h,g=l.scrollTop-p;e={left:e.left-m,top:e.top-g,right:e.right-m,bottom:e.bottom-g}}if(a||/^(fixed|sticky)$/.test(getComputedStyle(s).position))break}}function e8(n){let e=n.dom.getBoundingClientRect(),t=Math.max(0,e.top),r,o;for(let i=(e.left+e.right)/2,s=t+1;s<Math.min(innerHeight,e.bottom);s+=5){let l=n.root.elementFromPoint(i,s);if(!l||l==n.dom||!n.dom.contains(l))continue;let a=l.getBoundingClientRect();if(a.top>=t-20){r=l,o=a.top;break}}return{refDOM:r,refTop:o,stack:vf(n.dom)}}function vf(n){let e=[],t=n.ownerDocument;for(let r=n;r&&(e.push({dom:r,top:r.scrollTop,left:r.scrollLeft}),n!=t);r=Io(r));return e}function t8({refDOM:n,refTop:e,stack:t}){let r=n?n.getBoundingClientRect().top:0;yf(t,r==0?0:r-e)}function yf(n,e){for(let t=0;t<n.length;t++){let{dom:r,top:o,left:i}=n[t];r.scrollTop!=o+e&&(r.scrollTop=o+e),r.scrollLeft!=i&&(r.scrollLeft=i)}}let Fr=null;function n8(n){if(n.setActive)return n.setActive();if(Fr)return n.focus(Fr);let e=vf(n);n.focus(Fr==null?{get preventScroll(){return Fr={preventScroll:!0},!0}}:void 0),Fr||(Fr=!1,yf(e,0))}function Cf(n,e){let t,r=2e8,o,i=0,s=e.top,l=e.top,a,d;for(let u=n.firstChild,f=0;u;u=u.nextSibling,f++){let h;if(u.nodeType==1)h=u.getClientRects();else if(u.nodeType==3)h=un(u).getClientRects();else continue;for(let p=0;p<h.length;p++){let m=h[p];if(m.top<=s&&m.bottom>=l){s=Math.max(m.bottom,s),l=Math.min(m.top,l);let g=m.left>e.left?m.left-e.left:m.right<e.left?e.left-m.right:0;if(g<r){t=u,r=g,o=g&&t.nodeType==3?{left:m.right<e.left?m.right:m.left,top:e.top}:e,u.nodeType==1&&g&&(i=f+(e.left>=(m.left+m.right)/2?1:0));continue}}else m.top>e.top&&!a&&m.left<=e.left&&m.right>=e.left&&(a=u,d={left:Math.max(m.left,Math.min(m.right,e.left)),top:m.top});!t&&(e.left>=m.right&&e.top>=m.top||e.left>=m.left&&e.top>=m.bottom)&&(i=f+1)}}return!t&&a&&(t=a,o=d,r=0),t&&t.nodeType==3?r8(t,o):!t||r&&t.nodeType==1?{node:n,offset:i}:Cf(t,o)}function r8(n,e){let t=n.nodeValue.length,r=document.createRange();for(let o=0;o<t;o++){r.setEnd(n,o+1),r.setStart(n,o);let i=Mn(r,1);if(i.top!=i.bottom&&rl(e,i))return{node:n,offset:o+(e.left>=(i.left+i.right)/2?1:0)}}return{node:n,offset:0}}function rl(n,e){return n.left>=e.left-1&&n.left<=e.right+1&&n.top>=e.top-1&&n.top<=e.bottom+1}function o8(n,e){let t=n.parentNode;return t&&/^li$/i.test(t.nodeName)&&e.left<n.getBoundingClientRect().left?t:n}function i8(n,e,t){let{node:r,offset:o}=Cf(e,t),i=-1;if(r.nodeType==1&&!r.firstChild){let s=r.getBoundingClientRect();i=s.left!=s.right&&t.left>(s.left+s.right)/2?1:-1}return n.docView.posFromDOM(r,o,i)}function s8(n,e,t,r){let o=-1;for(let i=e,s=!1;i!=n.dom;){let l=n.docView.nearestDesc(i,!0);if(!l)return null;if(l.dom.nodeType==1&&(l.node.isBlock&&l.parent&&!s||!l.contentDOM)){let a=l.dom.getBoundingClientRect();if(l.node.isBlock&&l.parent&&!s&&(s=!0,a.left>r.left||a.top>r.top?o=l.posBefore:(a.right<r.left||a.bottom<r.top)&&(o=l.posAfter)),!l.contentDOM&&o<0&&!l.node.isText)return(l.node.isBlock?r.top<(a.top+a.bottom)/2:r.left<(a.left+a.right)/2)?l.posBefore:l.posAfter}i=l.dom.parentNode}return o>-1?o:n.docView.posFromDOM(e,t,-1)}function Ef(n,e,t){let r=n.childNodes.length;if(r&&t.top<t.bottom)for(let o=Math.max(0,Math.min(r-1,Math.floor(r*(e.top-t.top)/(t.bottom-t.top))-2)),i=o;;){let s=n.childNodes[i];if(s.nodeType==1){let l=s.getClientRects();for(let a=0;a<l.length;a++){let d=l[a];if(rl(e,d))return Ef(s,e,d)}}if((i=(i+1)%r)==o)break}return n}function a8(n,e){let t=n.dom.ownerDocument,r,o=0,i=Y4(t,e.left,e.top);i&&({node:r,offset:o}=i);let s=(n.root.elementFromPoint?n.root:t).elementFromPoint(e.left,e.top),l;if(!s||!n.dom.contains(s.nodeType!=1?s.parentNode:s)){let d=n.dom.getBoundingClientRect();if(!rl(e,d)||(s=Ef(n.dom,e,d),!s))return null}if(dt)for(let d=s;r&&d;d=Io(d))d.draggable&&(r=void 0);if(s=o8(s,e),r){if(Wt&&r.nodeType==1&&(o=Math.min(o,r.childNodes.length),o<r.childNodes.length)){let u=r.childNodes[o],f;u.nodeName=="IMG"&&(f=u.getBoundingClientRect()).right<=e.left&&f.bottom>e.top&&o++}let d;Oo&&o&&r.nodeType==1&&(d=r.childNodes[o-1]).nodeType==1&&d.contentEditable=="false"&&d.getBoundingClientRect().top>=e.top&&o--,r==n.dom&&o==r.childNodes.length-1&&r.lastChild.nodeType==1&&e.top>r.lastChild.getBoundingClientRect().bottom?l=n.state.doc.content.size:(o==0||r.nodeType!=1||r.childNodes[o-1].nodeName!="BR")&&(l=s8(n,r,o,e))}l==null&&(l=i8(n,s,e));let a=n.docView.nearestDesc(s,!0);return{pos:l,inside:a?a.posAtStart-a.border:-1}}function bf(n){return n.top<n.bottom||n.left<n.right}function Mn(n,e){let t=n.getClientRects();if(t.length){let r=t[e<0?0:t.length-1];if(bf(r))return r}return Array.prototype.find.call(t,bf)||n.getBoundingClientRect()}const l8=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/;function Af(n,e,t){let{node:r,offset:o,atom:i}=n.docView.domFromPos(e,t<0?-1:1),s=Oo||Wt;if(r.nodeType==3)if(s&&(l8.test(r.nodeValue)||(t<0?!o:o==r.nodeValue.length))){let a=Mn(un(r,o,o),t);if(Wt&&o&&/\s/.test(r.nodeValue[o-1])&&o<r.nodeValue.length){let d=Mn(un(r,o-1,o-1),-1);if(d.top==a.top){let u=Mn(un(r,o,o+1),-1);if(u.top!=a.top)return _o(u,u.left<d.left)}}return a}else{let a=o,d=o,u=t<0?1:-1;return t<0&&!o?(d++,u=-1):t>=0&&o==r.nodeValue.length?(a--,u=1):t<0?a--:d++,_o(Mn(un(r,a,d),u),u<0)}if(!n.state.doc.resolve(e-(i||0)).parent.inlineContent){if(i==null&&o&&(t<0||o==Xt(r))){let a=r.childNodes[o-1];if(a.nodeType==1)return ol(a.getBoundingClientRect(),!1)}if(i==null&&o<Xt(r)){let a=r.childNodes[o];if(a.nodeType==1)return ol(a.getBoundingClientRect(),!0)}return ol(r.getBoundingClientRect(),t>=0)}if(i==null&&o&&(t<0||o==Xt(r))){let a=r.childNodes[o-1],d=a.nodeType==3?un(a,Xt(a)-(s?0:1)):a.nodeType==1&&(a.nodeName!="BR"||!a.nextSibling)?a:null;if(d)return _o(Mn(d,1),!1)}if(i==null&&o<Xt(r)){let a=r.childNodes[o];for(;a.pmViewDesc&&a.pmViewDesc.ignoreForCoords;)a=a.nextSibling;let d=a?a.nodeType==3?un(a,0,s?0:1):a.nodeType==1?a:null:null;if(d)return _o(Mn(d,-1),!0)}return _o(Mn(r.nodeType==3?un(r):r,-t),t>=0)}function _o(n,e){if(n.width==0)return n;let t=e?n.left:n.right;return{top:n.top,bottom:n.bottom,left:t,right:t}}function ol(n,e){if(n.height==0)return n;let t=e?n.top:n.bottom;return{top:t,bottom:t,left:n.left,right:n.right}}function wf(n,e,t){let r=n.state,o=n.root.activeElement;r!=e&&n.updateState(e),o!=n.dom&&n.focus();try{return t()}finally{r!=e&&n.updateState(r),o!=n.dom&&o&&o.focus()}}function c8(n,e,t){let r=e.selection,o=t=="up"?r.$from:r.$to;return wf(n,e,()=>{let{node:i}=n.docView.domFromPos(o.pos,t=="up"?-1:1);for(;;){let l=n.docView.nearestDesc(i,!0);if(!l)break;if(l.node.isBlock){i=l.contentDOM||l.dom;break}i=l.dom.parentNode}let s=Af(n,o.pos,1);for(let l=i.firstChild;l;l=l.nextSibling){let a;if(l.nodeType==1)a=l.getClientRects();else if(l.nodeType==3)a=un(l,0,l.nodeValue.length).getClientRects();else continue;for(let d=0;d<a.length;d++){let u=a[d];if(u.bottom>u.top+1&&(t=="up"?s.top-u.top>(u.bottom-s.top)*2:u.bottom-s.bottom>(s.bottom-u.top)*2))return!1}}return!0})}const d8=/[\u0590-\u08ac]/;function u8(n,e,t){let{$head:r}=e.selection;if(!r.parent.isTextblock)return!1;let o=r.parentOffset,i=!o,s=o==r.parent.content.size,l=n.domSelection();return!d8.test(r.parent.textContent)||!l.modify?t=="left"||t=="backward"?i:s:wf(n,e,()=>{let{focusNode:a,focusOffset:d,anchorNode:u,anchorOffset:f}=n.domSelectionRange(),h=l.caretBidiLevel;l.modify("move",t,"character");let p=r.depth?n.docView.domAfterPos(r.before()):n.dom,{focusNode:m,focusOffset:g}=n.domSelectionRange(),v=m&&!p.contains(m.nodeType==1?m:m.parentNode)||a==m&&d==g;try{l.collapse(u,f),a&&(a!=u||d!=f)&&l.extend&&l.extend(a,d)}catch{}return h!=null&&(l.caretBidiLevel=h),v})}let Sf=null,kf=null,xf=!1;function f8(n,e,t){return Sf==e&&kf==t?xf:(Sf=e,kf=t,xf=t=="up"||t=="down"?c8(n,e,t):u8(n,e,t))}const _t=0,Tf=1,cr=2,en=3;class No{constructor(e,t,r,o){this.parent=e,this.children=t,this.dom=r,this.contentDOM=o,this.dirty=_t,r.pmViewDesc=this}matchesWidget(e){return!1}matchesMark(e){return!1}matchesNode(e,t,r){return!1}matchesHack(e){return!1}parseRule(){return null}stopEvent(e){return!1}get size(){let e=0;for(let t=0;t<this.children.length;t++)e+=this.children[t].size;return e}get border(){return 0}destroy(){this.parent=void 0,this.dom.pmViewDesc==this&&(this.dom.pmViewDesc=void 0);for(let e=0;e<this.children.length;e++)this.children[e].destroy()}posBeforeChild(e){for(let t=0,r=this.posAtStart;;t++){let o=this.children[t];if(o==e)return r;r+=o.size}}get posBefore(){return this.parent.posBeforeChild(this)}get posAtStart(){return this.parent?this.parent.posBeforeChild(this)+this.border:0}get posAfter(){return this.posBefore+this.size}get posAtEnd(){return this.posAtStart+this.size-2*this.border}localPosFromDOM(e,t,r){if(this.contentDOM&&this.contentDOM.contains(e.nodeType==1?e:e.parentNode))if(r<0){let i,s;if(e==this.contentDOM)i=e.childNodes[t-1];else{for(;e.parentNode!=this.contentDOM;)e=e.parentNode;i=e.previousSibling}for(;i&&!((s=i.pmViewDesc)&&s.parent==this);)i=i.previousSibling;return i?this.posBeforeChild(s)+s.size:this.posAtStart}else{let i,s;if(e==this.contentDOM)i=e.childNodes[t];else{for(;e.parentNode!=this.contentDOM;)e=e.parentNode;i=e.nextSibling}for(;i&&!((s=i.pmViewDesc)&&s.parent==this);)i=i.nextSibling;return i?this.posBeforeChild(s):this.posAtEnd}let o;if(e==this.dom&&this.contentDOM)o=t>ct(this.contentDOM);else if(this.contentDOM&&this.contentDOM!=this.dom&&this.dom.contains(this.contentDOM))o=e.compareDocumentPosition(this.contentDOM)&2;else if(this.dom.firstChild){if(t==0)for(let i=e;;i=i.parentNode){if(i==this.dom){o=!1;break}if(i.previousSibling)break}if(o==null&&t==e.childNodes.length)for(let i=e;;i=i.parentNode){if(i==this.dom){o=!0;break}if(i.nextSibling)break}}return o??r>0?this.posAtEnd:this.posAtStart}nearestDesc(e,t=!1){for(let r=!0,o=e;o;o=o.parentNode){let i=this.getDesc(o),s;if(i&&(!t||i.node))if(r&&(s=i.nodeDOM)&&!(s.nodeType==1?s.contains(e.nodeType==1?e:e.parentNode):s==e))r=!1;else return i}}getDesc(e){let t=e.pmViewDesc;for(let r=t;r;r=r.parent)if(r==this)return t}posFromDOM(e,t,r){for(let o=e;o;o=o.parentNode){let i=this.getDesc(o);if(i)return i.localPosFromDOM(e,t,r)}return-1}descAt(e){for(let t=0,r=0;t<this.children.length;t++){let o=this.children[t],i=r+o.size;if(r==e&&i!=r){for(;!o.border&&o.children.length;)o=o.children[0];return o}if(e<i)return o.descAt(e-r-o.border);r=i}}domFromPos(e,t){if(!this.contentDOM)return{node:this.dom,offset:0,atom:e+1};let r=0,o=0;for(let i=0;r<this.children.length;r++){let s=this.children[r],l=i+s.size;if(l>e||s instanceof Of){o=e-i;break}i=l}if(o)return this.children[r].domFromPos(o-this.children[r].border,t);for(let i;r&&!(i=this.children[r-1]).size&&i instanceof Mf&&i.side>=0;r--);if(t<=0){let i,s=!0;for(;i=r?this.children[r-1]:null,!(!i||i.dom.parentNode==this.contentDOM);r--,s=!1);return i&&t&&s&&!i.border&&!i.domAtom?i.domFromPos(i.size,t):{node:this.contentDOM,offset:i?ct(i.dom)+1:0}}else{let i,s=!0;for(;i=r<this.children.length?this.children[r]:null,!(!i||i.dom.parentNode==this.contentDOM);r++,s=!1);return i&&s&&!i.border&&!i.domAtom?i.domFromPos(0,t):{node:this.contentDOM,offset:i?ct(i.dom):this.contentDOM.childNodes.length}}}parseRange(e,t,r=0){if(this.children.length==0)return{node:this.contentDOM,from:e,to:t,fromOffset:0,toOffset:this.contentDOM.childNodes.length};let o=-1,i=-1;for(let s=r,l=0;;l++){let a=this.children[l],d=s+a.size;if(o==-1&&e<=d){let u=s+a.border;if(e>=u&&t<=d-a.border&&a.node&&a.contentDOM&&this.contentDOM.contains(a.contentDOM))return a.parseRange(e,t,u);e=s;for(let f=l;f>0;f--){let h=this.children[f-1];if(h.size&&h.dom.parentNode==this.contentDOM&&!h.emptyChildAt(1)){o=ct(h.dom)+1;break}e-=h.size}o==-1&&(o=0)}if(o>-1&&(d>t||l==this.children.length-1)){t=d;for(let u=l+1;u<this.children.length;u++){let f=this.children[u];if(f.size&&f.dom.parentNode==this.contentDOM&&!f.emptyChildAt(-1)){i=ct(f.dom);break}t+=f.size}i==-1&&(i=this.contentDOM.childNodes.length);break}s=d}return{node:this.contentDOM,from:e,to:t,fromOffset:o,toOffset:i}}emptyChildAt(e){if(this.border||!this.contentDOM||!this.children.length)return!1;let t=this.children[e<0?0:this.children.length-1];return t.size==0||t.emptyChildAt(e)}domAfterPos(e){let{node:t,offset:r}=this.domFromPos(e,0);if(t.nodeType!=1||r==t.childNodes.length)throw new RangeError("No node after pos "+e);return t.childNodes[r]}setSelection(e,t,r,o=!1){let i=Math.min(e,t),s=Math.max(e,t);for(let h=0,p=0;h<this.children.length;h++){let m=this.children[h],g=p+m.size;if(i>p&&s<g)return m.setSelection(e-p-m.border,t-p-m.border,r,o);p=g}let l=this.domFromPos(e,e?-1:1),a=t==e?l:this.domFromPos(t,t?-1:1),d=r.getSelection(),u=!1;if((Wt||dt)&&e==t){let{node:h,offset:p}=l;if(h.nodeType==3){if(u=!!(p&&h.nodeValue[p-1]==`
|
|
66
|
+
`),u&&p==h.nodeValue.length)for(let m=h,g;m;m=m.parentNode){if(g=m.nextSibling){g.nodeName=="BR"&&(l=a={node:g.parentNode,offset:ct(g)+1});break}let v=m.pmViewDesc;if(v&&v.node&&v.node.isBlock)break}}else{let m=h.childNodes[p-1];u=m&&(m.nodeName=="BR"||m.contentEditable=="false")}}if(Wt&&d.focusNode&&d.focusNode!=a.node&&d.focusNode.nodeType==1){let h=d.focusNode.childNodes[d.focusOffset];h&&h.contentEditable=="false"&&(o=!0)}if(!(o||u&&dt)&&ar(l.node,l.offset,d.anchorNode,d.anchorOffset)&&ar(a.node,a.offset,d.focusNode,d.focusOffset))return;let f=!1;if((d.extend||e==t)&&!u){d.collapse(l.node,l.offset);try{e!=t&&d.extend(a.node,a.offset),f=!0}catch{}}if(!f){if(e>t){let p=l;l=a,a=p}let h=document.createRange();h.setEnd(a.node,a.offset),h.setStart(l.node,l.offset),d.removeAllRanges(),d.addRange(h)}}ignoreMutation(e){return!this.contentDOM&&e.type!="selection"}get contentLost(){return this.contentDOM&&this.contentDOM!=this.dom&&!this.dom.contains(this.contentDOM)}markDirty(e,t){for(let r=0,o=0;o<this.children.length;o++){let i=this.children[o],s=r+i.size;if(r==s?e<=s&&t>=r:e<s&&t>r){let l=r+i.border,a=s-i.border;if(e>=l&&t<=a){this.dirty=e==r||t==s?cr:Tf,e==l&&t==a&&(i.contentLost||i.dom.parentNode!=this.contentDOM)?i.dirty=en:i.markDirty(e-l,t-l);return}else i.dirty=i.dom==i.contentDOM&&i.dom.parentNode==this.contentDOM&&!i.children.length?cr:en}r=s}this.dirty=cr}markParentsDirty(){let e=1;for(let t=this.parent;t;t=t.parent,e++){let r=e==1?cr:Tf;t.dirty<r&&(t.dirty=r)}}get domAtom(){return!1}get ignoreForCoords(){return!1}}class Mf extends No{constructor(e,t,r,o){let i,s=t.type.toDOM;if(typeof s=="function"&&(s=s(r,()=>{if(!i)return o;if(i.parent)return i.parent.posBeforeChild(i)})),!t.type.spec.raw){if(s.nodeType!=1){let l=document.createElement("span");l.appendChild(s),s=l}s.contentEditable="false",s.classList.add("ProseMirror-widget")}super(e,[],s,null),this.widget=t,this.widget=t,i=this}matchesWidget(e){return this.dirty==_t&&e.type.eq(this.widget.type)}parseRule(){return{ignore:!0}}stopEvent(e){let t=this.widget.spec.stopEvent;return t?t(e):!1}ignoreMutation(e){return e.type!="selection"||this.widget.spec.ignoreSelection}destroy(){this.widget.type.destroy(this.dom),super.destroy()}get domAtom(){return!0}get side(){return this.widget.type.side}}class h8 extends No{constructor(e,t,r,o){super(e,[],t,null),this.textDOM=r,this.text=o}get size(){return this.text.length}localPosFromDOM(e,t){return e!=this.textDOM?this.posAtStart+(t?this.size:0):this.posAtStart+t}domFromPos(e){return{node:this.textDOM,offset:e}}ignoreMutation(e){return e.type==="characterData"&&e.target.nodeValue==e.oldValue}}class dr extends No{constructor(e,t,r,o){super(e,[],r,o),this.mark=t}static create(e,t,r,o){let i=o.nodeViews[t.type.name],s=i&&i(t,o,r);return(!s||!s.dom)&&(s=Zt.renderSpec(document,t.type.spec.toDOM(t,r))),new dr(e,t,s.dom,s.contentDOM||s.dom)}parseRule(){return this.dirty&en||this.mark.type.spec.reparseInView?null:{mark:this.mark.type.name,attrs:this.mark.attrs,contentElement:this.contentDOM}}matchesMark(e){return this.dirty!=en&&this.mark.eq(e)}markDirty(e,t){if(super.markDirty(e,t),this.dirty!=_t){let r=this.parent;for(;!r.node;)r=r.parent;r.dirty<this.dirty&&(r.dirty=this.dirty),this.dirty=_t}}slice(e,t,r){let o=dr.create(this.parent,this.mark,!0,r),i=this.children,s=this.size;t<s&&(i=al(i,t,s,r)),e>0&&(i=al(i,0,e,r));for(let l=0;l<i.length;l++)i[l].parent=o;return o.children=i,o}}class In extends No{constructor(e,t,r,o,i,s,l,a,d){super(e,[],i,s),this.node=t,this.outerDeco=r,this.innerDeco=o,this.nodeDOM=l}static create(e,t,r,o,i,s){let l=i.nodeViews[t.type.name],a,d=l&&l(t,i,()=>{if(!a)return s;if(a.parent)return a.parent.posBeforeChild(a)},r,o),u=d&&d.dom,f=d&&d.contentDOM;if(t.isText){if(!u)u=document.createTextNode(t.text);else if(u.nodeType!=3)throw new RangeError("Text must be rendered as a DOM text node")}else u||({dom:u,contentDOM:f}=Zt.renderSpec(document,t.type.spec.toDOM(t)));!f&&!t.isText&&u.nodeName!="BR"&&(u.hasAttribute("contenteditable")||(u.contentEditable="false"),t.type.spec.draggable&&(u.draggable=!0));let h=u;return u=Lf(u,r,t),d?a=new p8(e,t,r,o,u,f||null,h,d,i,s+1):t.isText?new Di(e,t,r,o,u,h,i):new In(e,t,r,o,u,f||null,h,i,s+1)}parseRule(){if(this.node.type.spec.reparseInView)return null;let e={node:this.node.type.name,attrs:this.node.attrs};if(this.node.type.whitespace=="pre"&&(e.preserveWhitespace="full"),!this.contentDOM)e.getContent=()=>this.node.content;else if(!this.contentLost)e.contentElement=this.contentDOM;else{for(let t=this.children.length-1;t>=0;t--){let r=this.children[t];if(this.dom.contains(r.dom.parentNode)){e.contentElement=r.dom.parentNode;break}}e.contentElement||(e.getContent=()=>le.empty)}return e}matchesNode(e,t,r){return this.dirty==_t&&e.eq(this.node)&&sl(t,this.outerDeco)&&r.eq(this.innerDeco)}get size(){return this.node.nodeSize}get border(){return this.node.isLeaf?0:1}updateChildren(e,t){let r=this.node.inlineContent,o=t,i=e.composing?this.localCompositionInfo(e,t):null,s=i&&i.pos>-1?i:null,l=i&&i.pos<0,a=new g8(this,s&&s.node,e);C8(this.node,this.innerDeco,(d,u,f)=>{d.spec.marks?a.syncToMarks(d.spec.marks,r,e):d.type.side>=0&&!f&&a.syncToMarks(u==this.node.childCount?Ve.none:this.node.child(u).marks,r,e),a.placeWidget(d,e,o)},(d,u,f,h)=>{a.syncToMarks(d.marks,r,e);let p;a.findNodeMatch(d,u,f,h)||l&&e.state.selection.from>o&&e.state.selection.to<o+d.nodeSize&&(p=a.findIndexWithChild(i.node))>-1&&a.updateNodeAt(d,u,f,p,e)||a.updateNextNode(d,u,f,e,h,o)||a.addNode(d,u,f,e,o),o+=d.nodeSize}),a.syncToMarks([],r,e),this.node.isTextblock&&a.addTextblockHacks(),a.destroyRest(),(a.changed||this.dirty==cr)&&(s&&this.protectLocalComposition(e,s),_f(this.contentDOM,this.children,e),Vr&&E8(this.dom))}localCompositionInfo(e,t){let{from:r,to:o}=e.state.selection;if(!(e.state.selection instanceof Pe)||r<t||o>t+this.node.content.size)return null;let i=e.domSelectionRange(),s=b8(i.focusNode,i.focusOffset);if(!s||!this.dom.contains(s.parentNode))return null;if(this.node.inlineContent){let l=s.nodeValue,a=A8(this.node.content,l,r-t,o-t);return a<0?null:{node:s,pos:a,text:l}}else return{node:s,pos:-1,text:""}}protectLocalComposition(e,{node:t,pos:r,text:o}){if(this.getDesc(t))return;let i=t;for(;i.parentNode!=this.contentDOM;i=i.parentNode){for(;i.previousSibling;)i.parentNode.removeChild(i.previousSibling);for(;i.nextSibling;)i.parentNode.removeChild(i.nextSibling);i.pmViewDesc&&(i.pmViewDesc=void 0)}let s=new h8(this,i,t,o);e.input.compositionNodes.push(s),this.children=al(this.children,r,r+o.length,e,s)}update(e,t,r,o){return this.dirty==en||!e.sameMarkup(this.node)?!1:(this.updateInner(e,t,r,o),!0)}updateInner(e,t,r,o){this.updateOuterDeco(t),this.node=e,this.innerDeco=r,this.contentDOM&&this.updateChildren(o,this.posAtStart),this.dirty=_t}updateOuterDeco(e){if(sl(e,this.outerDeco))return;let t=this.nodeDOM.nodeType!=1,r=this.dom;this.dom=Nf(this.dom,this.nodeDOM,il(this.outerDeco,this.node,t),il(e,this.node,t)),this.dom!=r&&(r.pmViewDesc=void 0,this.dom.pmViewDesc=this),this.outerDeco=e}selectNode(){this.nodeDOM.nodeType==1&&this.nodeDOM.classList.add("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&(this.dom.draggable=!0)}deselectNode(){this.nodeDOM.nodeType==1&&this.nodeDOM.classList.remove("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&this.dom.removeAttribute("draggable")}get domAtom(){return this.node.isAtom}}function If(n,e,t,r,o){Lf(r,e,n);let i=new In(void 0,n,e,t,r,r,r,o,0);return i.contentDOM&&i.updateChildren(o,0),i}class Di extends In{constructor(e,t,r,o,i,s,l){super(e,t,r,o,i,null,s,l,0)}parseRule(){let e=this.nodeDOM.parentNode;for(;e&&e!=this.dom&&!e.pmIsDeco;)e=e.parentNode;return{skip:e||!0}}update(e,t,r,o){return this.dirty==en||this.dirty!=_t&&!this.inParent()||!e.sameMarkup(this.node)?!1:(this.updateOuterDeco(t),(this.dirty!=_t||e.text!=this.node.text)&&e.text!=this.nodeDOM.nodeValue&&(this.nodeDOM.nodeValue=e.text,o.trackWrites==this.nodeDOM&&(o.trackWrites=null)),this.node=e,this.dirty=_t,!0)}inParent(){let e=this.parent.contentDOM;for(let t=this.nodeDOM;t;t=t.parentNode)if(t==e)return!0;return!1}domFromPos(e){return{node:this.nodeDOM,offset:e}}localPosFromDOM(e,t,r){return e==this.nodeDOM?this.posAtStart+Math.min(t,this.node.text.length):super.localPosFromDOM(e,t,r)}ignoreMutation(e){return e.type!="characterData"&&e.type!="selection"}slice(e,t,r){let o=this.node.cut(e,t),i=document.createTextNode(o.text);return new Di(this.parent,o,this.outerDeco,this.innerDeco,i,i,r)}markDirty(e,t){super.markDirty(e,t),this.dom!=this.nodeDOM&&(e==0||t==this.nodeDOM.nodeValue.length)&&(this.dirty=en)}get domAtom(){return!1}}class Of extends No{parseRule(){return{ignore:!0}}matchesHack(e){return this.dirty==_t&&this.dom.nodeName==e}get domAtom(){return!0}get ignoreForCoords(){return this.dom.nodeName=="IMG"}}class p8 extends In{constructor(e,t,r,o,i,s,l,a,d,u){super(e,t,r,o,i,s,l,d,u),this.spec=a}update(e,t,r,o){if(this.dirty==en)return!1;if(this.spec.update){let i=this.spec.update(e,t,r);return i&&this.updateInner(e,t,r,o),i}else return!this.contentDOM&&!e.isLeaf?!1:super.update(e,t,r,o)}selectNode(){this.spec.selectNode?this.spec.selectNode():super.selectNode()}deselectNode(){this.spec.deselectNode?this.spec.deselectNode():super.deselectNode()}setSelection(e,t,r,o){this.spec.setSelection?this.spec.setSelection(e,t,r):super.setSelection(e,t,r,o)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}stopEvent(e){return this.spec.stopEvent?this.spec.stopEvent(e):!1}ignoreMutation(e){return this.spec.ignoreMutation?this.spec.ignoreMutation(e):super.ignoreMutation(e)}}function _f(n,e,t){let r=n.firstChild,o=!1;for(let i=0;i<e.length;i++){let s=e[i],l=s.dom;if(l.parentNode==n){for(;l!=r;)r=Df(r),o=!0;r=r.nextSibling}else o=!0,n.insertBefore(l,r);if(s instanceof dr){let a=r?r.previousSibling:n.lastChild;_f(s.contentDOM,s.children,t),r=a?a.nextSibling:n.firstChild}}for(;r;)r=Df(r),o=!0;o&&t.trackWrites==n&&(t.trackWrites=null)}const Lo=function(n){n&&(this.nodeName=n)};Lo.prototype=Object.create(null);const ur=[new Lo];function il(n,e,t){if(n.length==0)return ur;let r=t?ur[0]:new Lo,o=[r];for(let i=0;i<n.length;i++){let s=n[i].type.attrs;if(s){s.nodeName&&o.push(r=new Lo(s.nodeName));for(let l in s){let a=s[l];a!=null&&(t&&o.length==1&&o.push(r=new Lo(e.isInline?"span":"div")),l=="class"?r.class=(r.class?r.class+" ":"")+a:l=="style"?r.style=(r.style?r.style+";":"")+a:l!="nodeName"&&(r[l]=a))}}}return o}function Nf(n,e,t,r){if(t==ur&&r==ur)return e;let o=e;for(let i=0;i<r.length;i++){let s=r[i],l=t[i];if(i){let a;l&&l.nodeName==s.nodeName&&o!=n&&(a=o.parentNode)&&a.nodeName.toLowerCase()==s.nodeName||(a=document.createElement(s.nodeName),a.pmIsDeco=!0,a.appendChild(o),l=ur[0]),o=a}m8(o,l||ur[0],s)}return o}function m8(n,e,t){for(let r in e)r!="class"&&r!="style"&&r!="nodeName"&&!(r in t)&&n.removeAttribute(r);for(let r in t)r!="class"&&r!="style"&&r!="nodeName"&&t[r]!=e[r]&&n.setAttribute(r,t[r]);if(e.class!=t.class){let r=e.class?e.class.split(" ").filter(Boolean):[],o=t.class?t.class.split(" ").filter(Boolean):[];for(let i=0;i<r.length;i++)o.indexOf(r[i])==-1&&n.classList.remove(r[i]);for(let i=0;i<o.length;i++)r.indexOf(o[i])==-1&&n.classList.add(o[i]);n.classList.length==0&&n.removeAttribute("class")}if(e.style!=t.style){if(e.style){let r=/\s*([\w\-\xa1-\uffff]+)\s*:(?:"(?:\\.|[^"])*"|'(?:\\.|[^'])*'|\(.*?\)|[^;])*/g,o;for(;o=r.exec(e.style);)n.style.removeProperty(o[1])}t.style&&(n.style.cssText+=t.style)}}function Lf(n,e,t){return Nf(n,n,ur,il(e,t,n.nodeType!=1))}function sl(n,e){if(n.length!=e.length)return!1;for(let t=0;t<n.length;t++)if(!n[t].type.eq(e[t].type))return!1;return!0}function Df(n){let e=n.nextSibling;return n.parentNode.removeChild(n),e}class g8{constructor(e,t,r){this.lock=t,this.view=r,this.index=0,this.stack=[],this.changed=!1,this.top=e,this.preMatch=v8(e.node.content,e)}destroyBetween(e,t){if(e!=t){for(let r=e;r<t;r++)this.top.children[r].destroy();this.top.children.splice(e,t-e),this.changed=!0}}destroyRest(){this.destroyBetween(this.index,this.top.children.length)}syncToMarks(e,t,r){let o=0,i=this.stack.length>>1,s=Math.min(i,e.length);for(;o<s&&(o==i-1?this.top:this.stack[o+1<<1]).matchesMark(e[o])&&e[o].type.spec.spanning!==!1;)o++;for(;o<i;)this.destroyRest(),this.top.dirty=_t,this.index=this.stack.pop(),this.top=this.stack.pop(),i--;for(;i<e.length;){this.stack.push(this.top,this.index+1);let l=-1;for(let a=this.index;a<Math.min(this.index+3,this.top.children.length);a++){let d=this.top.children[a];if(d.matchesMark(e[i])&&!this.isLocked(d.dom)){l=a;break}}if(l>-1)l>this.index&&(this.changed=!0,this.destroyBetween(this.index,l)),this.top=this.top.children[this.index];else{let a=dr.create(this.top,e[i],t,r);this.top.children.splice(this.index,0,a),this.top=a,this.changed=!0}this.index=0,i++}}findNodeMatch(e,t,r,o){let i=-1,s;if(o>=this.preMatch.index&&(s=this.preMatch.matches[o-this.preMatch.index]).parent==this.top&&s.matchesNode(e,t,r))i=this.top.children.indexOf(s,this.index);else for(let l=this.index,a=Math.min(this.top.children.length,l+5);l<a;l++){let d=this.top.children[l];if(d.matchesNode(e,t,r)&&!this.preMatch.matched.has(d)){i=l;break}}return i<0?!1:(this.destroyBetween(this.index,i),this.index++,!0)}updateNodeAt(e,t,r,o,i){let s=this.top.children[o];return s.dirty==en&&s.dom==s.contentDOM&&(s.dirty=cr),s.update(e,t,r,i)?(this.destroyBetween(this.index,o),this.index++,!0):!1}findIndexWithChild(e){for(;;){let t=e.parentNode;if(!t)return-1;if(t==this.top.contentDOM){let r=e.pmViewDesc;if(r){for(let o=this.index;o<this.top.children.length;o++)if(this.top.children[o]==r)return o}return-1}e=t}}updateNextNode(e,t,r,o,i,s){for(let l=this.index;l<this.top.children.length;l++){let a=this.top.children[l];if(a instanceof In){let d=this.preMatch.matched.get(a);if(d!=null&&d!=i)return!1;let u=a.dom,f,h=this.isLocked(u)&&!(e.isText&&a.node&&a.node.isText&&a.nodeDOM.nodeValue==e.text&&a.dirty!=en&&sl(t,a.outerDeco));if(!h&&a.update(e,t,r,o))return this.destroyBetween(this.index,l),a.dom!=u&&(this.changed=!0),this.index++,!0;if(!h&&(f=this.recreateWrapper(a,e,t,r,o,s)))return this.top.children[this.index]=f,f.contentDOM&&(f.dirty=cr,f.updateChildren(o,s+1),f.dirty=_t),this.changed=!0,this.index++,!0;break}}return!1}recreateWrapper(e,t,r,o,i,s){if(e.dirty||t.isAtom||!e.children.length||!e.node.content.eq(t.content))return null;let l=In.create(this.top,t,r,o,i,s);if(l.contentDOM){l.children=e.children,e.children=[];for(let a of l.children)a.parent=l}return e.destroy(),l}addNode(e,t,r,o,i){let s=In.create(this.top,e,t,r,o,i);s.contentDOM&&s.updateChildren(o,i+1),this.top.children.splice(this.index++,0,s),this.changed=!0}placeWidget(e,t,r){let o=this.index<this.top.children.length?this.top.children[this.index]:null;if(o&&o.matchesWidget(e)&&(e==o.widget||!o.widget.type.toDOM.parentNode))this.index++;else{let i=new Mf(this.top,e,t,r);this.top.children.splice(this.index++,0,i),this.changed=!0}}addTextblockHacks(){let e=this.top.children[this.index-1],t=this.top;for(;e instanceof dr;)t=e,e=t.children[t.children.length-1];(!e||!(e instanceof Di)||/\n$/.test(e.node.text)||this.view.requiresGeckoHackNode&&/\s$/.test(e.node.text))&&((dt||it)&&e&&e.dom.contentEditable=="false"&&this.addHackNode("IMG",t),this.addHackNode("BR",this.top))}addHackNode(e,t){if(t==this.top&&this.index<t.children.length&&t.children[this.index].matchesHack(e))this.index++;else{let r=document.createElement(e);e=="IMG"&&(r.className="ProseMirror-separator",r.alt=""),e=="BR"&&(r.className="ProseMirror-trailingBreak");let o=new Of(this.top,[],r,null);t!=this.top?t.children.push(o):t.children.splice(this.index++,0,o),this.changed=!0}}isLocked(e){return this.lock&&(e==this.lock||e.nodeType==1&&e.contains(this.lock.parentNode))}}function v8(n,e){let t=e,r=t.children.length,o=n.childCount,i=new Map,s=[];e:for(;o>0;){let l;for(;;)if(r){let d=t.children[r-1];if(d instanceof dr)t=d,r=d.children.length;else{l=d,r--;break}}else{if(t==e)break e;r=t.parent.children.indexOf(t),t=t.parent}let a=l.node;if(a){if(a!=n.child(o-1))break;--o,i.set(l,o),s.push(l)}}return{index:o,matched:i,matches:s.reverse()}}function y8(n,e){return n.type.side-e.type.side}function C8(n,e,t,r){let o=e.locals(n),i=0;if(o.length==0){for(let d=0;d<n.childCount;d++){let u=n.child(d);r(u,o,e.forChild(i,u),d),i+=u.nodeSize}return}let s=0,l=[],a=null;for(let d=0;;){let u,f;for(;s<o.length&&o[s].to==i;){let v=o[s++];v.widget&&(u?(f||(f=[u])).push(v):u=v)}if(u)if(f){f.sort(y8);for(let v=0;v<f.length;v++)t(f[v],d,!!a)}else t(u,d,!!a);let h,p;if(a)p=-1,h=a,a=null;else if(d<n.childCount)p=d,h=n.child(d++);else break;for(let v=0;v<l.length;v++)l[v].to<=i&&l.splice(v--,1);for(;s<o.length&&o[s].from<=i&&o[s].to>i;)l.push(o[s++]);let m=i+h.nodeSize;if(h.isText){let v=m;s<o.length&&o[s].from<v&&(v=o[s].from);for(let b=0;b<l.length;b++)l[b].to<v&&(v=l[b].to);v<m&&(a=h.cut(v-i),h=h.cut(0,v-i),m=v,p=-1)}let g=h.isInline&&!h.isLeaf?l.filter(v=>!v.inline):l.slice();r(h,g,e.forChild(i,h),p),i=m}}function E8(n){if(n.nodeName=="UL"||n.nodeName=="OL"){let e=n.style.cssText;n.style.cssText=e+"; list-style: square !important",window.getComputedStyle(n).listStyle,n.style.cssText=e}}function b8(n,e){for(;;){if(n.nodeType==3)return n;if(n.nodeType==1&&e>0){if(n.childNodes.length>e&&n.childNodes[e].nodeType==3)return n.childNodes[e];n=n.childNodes[e-1],e=Xt(n)}else if(n.nodeType==1&&e<n.childNodes.length)n=n.childNodes[e],e=0;else return null}}function A8(n,e,t,r){for(let o=0,i=0;o<n.childCount&&i<=r;){let s=n.child(o++),l=i;if(i+=s.nodeSize,!s.isText)continue;let a=s.text;for(;o<n.childCount;){let d=n.child(o++);if(i+=d.nodeSize,!d.isText)break;a+=d.text}if(i>=t){if(i>=r&&a.slice(r-e.length-l,r-l)==e)return r-e.length;let d=l<r?a.lastIndexOf(e,r-l-1):-1;if(d>=0&&d+e.length+l>=t)return l+d;if(t==r&&a.length>=r+e.length-l&&a.slice(r-l,r-l+e.length)==e)return r}}return-1}function al(n,e,t,r,o){let i=[];for(let s=0,l=0;s<n.length;s++){let a=n[s],d=l,u=l+=a.size;d>=t||u<=e?i.push(a):(d<e&&i.push(a.slice(0,e-d,r)),o&&(i.push(o),o=void 0),u>t&&i.push(a.slice(t-d,a.size,r)))}return i}function ll(n,e=null){let t=n.domSelectionRange(),r=n.state.doc;if(!t.focusNode)return null;let o=n.docView.nearestDesc(t.focusNode),i=o&&o.size==0,s=n.docView.posFromDOM(t.focusNode,t.focusOffset,1);if(s<0)return null;let l=r.resolve(s),a,d;if(Li(t)){for(a=l;o&&!o.node;)o=o.parent;let u=o.node;if(o&&u.isAtom&&Me.isSelectable(u)&&o.parent&&!(u.isInline&&K4(t.focusNode,t.focusOffset,o.dom))){let f=o.posBefore;d=new Me(s==f?l:r.resolve(f))}}else{let u=n.docView.posFromDOM(t.anchorNode,t.anchorOffset,1);if(u<0)return null;a=r.resolve(u)}if(!d){let u=e=="pointer"||n.state.selection.head<l.pos&&!i?1:-1;d=dl(n,a,l,u)}return d}function Bf(n){return n.editable?n.hasFocus():Hf(n)&&document.activeElement&&document.activeElement.contains(n.dom)}function hn(n,e=!1){let t=n.state.selection;if(Ff(n,t),!!Bf(n)){if(!e&&n.input.mouseDown&&n.input.mouseDown.allowDefault&&it){let r=n.domSelectionRange(),o=n.domObserver.currentSelection;if(r.anchorNode&&o.anchorNode&&ar(r.anchorNode,r.anchorOffset,o.anchorNode,o.anchorOffset)){n.input.mouseDown.delayedSelectionSync=!0,n.domObserver.setCurSelection();return}}if(n.domObserver.disconnectSelection(),n.cursorWrapper)S8(n);else{let{anchor:r,head:o}=t,i,s;Rf&&!(t instanceof Pe)&&(t.$from.parent.inlineContent||(i=Pf(n,t.from)),!t.empty&&!t.$from.parent.inlineContent&&(s=Pf(n,t.to))),n.docView.setSelection(r,o,n.root,e),Rf&&(i&&Vf(i),s&&Vf(s)),t.visible?n.dom.classList.remove("ProseMirror-hideselection"):(n.dom.classList.add("ProseMirror-hideselection"),"onselectionchange"in document&&w8(n))}n.domObserver.setCurSelection(),n.domObserver.connectSelection()}}const Rf=dt||it&&G4<63;function Pf(n,e){let{node:t,offset:r}=n.docView.domFromPos(e,0),o=r<t.childNodes.length?t.childNodes[r]:null,i=r?t.childNodes[r-1]:null;if(dt&&o&&o.contentEditable=="false")return cl(o);if((!o||o.contentEditable=="false")&&(!i||i.contentEditable=="false")){if(o)return cl(o);if(i)return cl(i)}}function cl(n){return n.contentEditable="true",dt&&n.draggable&&(n.draggable=!1,n.wasDraggable=!0),n}function Vf(n){n.contentEditable="false",n.wasDraggable&&(n.draggable=!0,n.wasDraggable=null)}function w8(n){let e=n.dom.ownerDocument;e.removeEventListener("selectionchange",n.input.hideSelectionGuard);let t=n.domSelectionRange(),r=t.anchorNode,o=t.anchorOffset;e.addEventListener("selectionchange",n.input.hideSelectionGuard=()=>{(t.anchorNode!=r||t.anchorOffset!=o)&&(e.removeEventListener("selectionchange",n.input.hideSelectionGuard),setTimeout(()=>{(!Bf(n)||n.state.selection.visible)&&n.dom.classList.remove("ProseMirror-hideselection")},20))})}function S8(n){let e=n.domSelection(),t=document.createRange(),r=n.cursorWrapper.dom,o=r.nodeName=="IMG";o?t.setEnd(r.parentNode,ct(r)+1):t.setEnd(r,0),t.collapse(!1),e.removeAllRanges(),e.addRange(t),!o&&!n.state.selection.visible&&Ct&&Tn<=11&&(r.disabled=!0,r.disabled=!1)}function Ff(n,e){if(e instanceof Me){let t=n.docView.descAt(e.from);t!=n.lastSelectedViewDesc&&($f(n),t&&t.selectNode(),n.lastSelectedViewDesc=t)}else $f(n)}function $f(n){n.lastSelectedViewDesc&&(n.lastSelectedViewDesc.parent&&n.lastSelectedViewDesc.deselectNode(),n.lastSelectedViewDesc=void 0)}function dl(n,e,t,r){return n.someProp("createSelectionBetween",o=>o(n,e,t))||Pe.between(e,t,r)}function zf(n){return n.editable&&!n.hasFocus()?!1:Hf(n)}function Hf(n){let e=n.domSelectionRange();if(!e.anchorNode)return!1;try{return n.dom.contains(e.anchorNode.nodeType==3?e.anchorNode.parentNode:e.anchorNode)&&(n.editable||n.dom.contains(e.focusNode.nodeType==3?e.focusNode.parentNode:e.focusNode))}catch{return!1}}function k8(n){let e=n.docView.domFromPos(n.state.selection.anchor,0),t=n.domSelectionRange();return ar(e.node,e.offset,t.anchorNode,t.anchorOffset)}function ul(n,e){let{$anchor:t,$head:r}=n.selection,o=e>0?t.max(r):t.min(r),i=o.parent.inlineContent?o.depth?n.doc.resolve(e>0?o.after():o.before()):null:o;return i&&Re.findFrom(i,e)}function On(n,e){return n.dispatch(n.state.tr.setSelection(e).scrollIntoView()),!0}function Uf(n,e,t){let r=n.state.selection;if(r instanceof Pe)if(t.indexOf("s")>-1){let{$head:o}=r,i=o.textOffset?null:e<0?o.nodeBefore:o.nodeAfter;if(!i||i.isText||!i.isLeaf)return!1;let s=n.state.doc.resolve(o.pos+i.nodeSize*(e<0?-1:1));return On(n,new Pe(r.$anchor,s))}else if(r.empty){if(n.endOfTextblock(e>0?"forward":"backward")){let o=ul(n.state,e);return o&&o instanceof Me?On(n,o):!1}else if(!(Ot&&t.indexOf("m")>-1)){let o=r.$head,i=o.textOffset?null:e<0?o.nodeBefore:o.nodeAfter,s;if(!i||i.isText)return!1;let l=e<0?o.pos-i.nodeSize:o.pos;return i.isAtom||(s=n.docView.descAt(l))&&!s.contentDOM?Me.isSelectable(i)?On(n,new Me(e<0?n.state.doc.resolve(o.pos-i.nodeSize):o)):Oo?On(n,new Pe(n.state.doc.resolve(e<0?l:l+i.nodeSize))):!1:!1}}else return!1;else{if(r instanceof Me&&r.node.isInline)return On(n,new Pe(e>0?r.$to:r.$from));{let o=ul(n.state,e);return o?On(n,o):!1}}}function Bi(n){return n.nodeType==3?n.nodeValue.length:n.childNodes.length}function Do(n,e){let t=n.pmViewDesc;return t&&t.size==0&&(e<0||n.nextSibling||n.nodeName!="BR")}function $r(n,e){return e<0?x8(n):T8(n)}function x8(n){let e=n.domSelectionRange(),t=e.focusNode,r=e.focusOffset;if(!t)return;let o,i,s=!1;for(Wt&&t.nodeType==1&&r<Bi(t)&&Do(t.childNodes[r],-1)&&(s=!0);;)if(r>0){if(t.nodeType!=1)break;{let l=t.childNodes[r-1];if(Do(l,-1))o=t,i=--r;else if(l.nodeType==3)t=l,r=t.nodeValue.length;else break}}else{if(jf(t))break;{let l=t.previousSibling;for(;l&&Do(l,-1);)o=t.parentNode,i=ct(l),l=l.previousSibling;if(l)t=l,r=Bi(t);else{if(t=t.parentNode,t==n.dom)break;r=0}}}s?fl(n,t,r):o&&fl(n,o,i)}function T8(n){let e=n.domSelectionRange(),t=e.focusNode,r=e.focusOffset;if(!t)return;let o=Bi(t),i,s;for(;;)if(r<o){if(t.nodeType!=1)break;let l=t.childNodes[r];if(Do(l,1))i=t,s=++r;else break}else{if(jf(t))break;{let l=t.nextSibling;for(;l&&Do(l,1);)i=l.parentNode,s=ct(l)+1,l=l.nextSibling;if(l)t=l,r=0,o=Bi(t);else{if(t=t.parentNode,t==n.dom)break;r=o=0}}}i&&fl(n,i,s)}function jf(n){let e=n.pmViewDesc;return e&&e.node&&e.node.isBlock}function M8(n,e){for(;n&&e==n.childNodes.length&&!qa(n);)e=ct(n)+1,n=n.parentNode;for(;n&&e<n.childNodes.length;){let t=n.childNodes[e];if(t.nodeType==3)return t;if(t.nodeType==1&&t.contentEditable=="false")break;n=t,e=0}}function I8(n,e){for(;n&&!e&&!qa(n);)e=ct(n),n=n.parentNode;for(;n&&e;){let t=n.childNodes[e-1];if(t.nodeType==3)return t;if(t.nodeType==1&&t.contentEditable=="false")break;n=t,e=n.childNodes.length}}function fl(n,e,t){if(e.nodeType!=3){let i,s;(s=M8(e,t))?(e=s,t=0):(i=I8(e,t))&&(e=i,t=i.nodeValue.length)}let r=n.domSelection();if(Li(r)){let i=document.createRange();i.setEnd(e,t),i.setStart(e,t),r.removeAllRanges(),r.addRange(i)}else r.extend&&r.extend(e,t);n.domObserver.setCurSelection();let{state:o}=n;setTimeout(()=>{n.state==o&&hn(n)},50)}function Wf(n,e){let t=n.state.doc.resolve(e);if(!(it||Z4)&&t.parent.inlineContent){let o=n.coordsAtPos(e);if(e>t.start()){let i=n.coordsAtPos(e-1),s=(i.top+i.bottom)/2;if(s>o.top&&s<o.bottom&&Math.abs(i.left-o.left)>1)return i.left<o.left?"ltr":"rtl"}if(e<t.end()){let i=n.coordsAtPos(e+1),s=(i.top+i.bottom)/2;if(s>o.top&&s<o.bottom&&Math.abs(i.left-o.left)>1)return i.left>o.left?"ltr":"rtl"}}return getComputedStyle(n.dom).direction=="rtl"?"rtl":"ltr"}function Kf(n,e,t){let r=n.state.selection;if(r instanceof Pe&&!r.empty||t.indexOf("s")>-1||Ot&&t.indexOf("m")>-1)return!1;let{$from:o,$to:i}=r;if(!o.parent.inlineContent||n.endOfTextblock(e<0?"up":"down")){let s=ul(n.state,e);if(s&&s instanceof Me)return On(n,s)}if(!o.parent.inlineContent){let s=e<0?o:i,l=r instanceof Ut?Re.near(s,e):Re.findFrom(s,e);return l?On(n,l):!1}return!1}function Qf(n,e){if(!(n.state.selection instanceof Pe))return!0;let{$head:t,$anchor:r,empty:o}=n.state.selection;if(!t.sameParent(r))return!0;if(!o)return!1;if(n.endOfTextblock(e>0?"forward":"backward"))return!0;let i=!t.textOffset&&(e<0?t.nodeBefore:t.nodeAfter);if(i&&!i.isText){let s=n.state.tr;return e<0?s.delete(t.pos-i.nodeSize,t.pos):s.delete(t.pos,t.pos+i.nodeSize),n.dispatch(s),!0}return!1}function Yf(n,e,t){n.domObserver.stop(),e.contentEditable=t,n.domObserver.start()}function O8(n){if(!dt||n.state.selection.$head.parentOffset>0)return!1;let{focusNode:e,focusOffset:t}=n.domSelectionRange();if(e&&e.nodeType==1&&t==0&&e.firstChild&&e.firstChild.contentEditable=="false"){let r=e.firstChild;Yf(n,r,"true"),setTimeout(()=>Yf(n,r,"false"),20)}return!1}function _8(n){let e="";return n.ctrlKey&&(e+="c"),n.metaKey&&(e+="m"),n.altKey&&(e+="a"),n.shiftKey&&(e+="s"),e}function N8(n,e){let t=e.keyCode,r=_8(e);if(t==8||Ot&&t==72&&r=="c")return Qf(n,-1)||$r(n,-1);if(t==46&&!e.shiftKey||Ot&&t==68&&r=="c")return Qf(n,1)||$r(n,1);if(t==13||t==27)return!0;if(t==37||Ot&&t==66&&r=="c"){let o=t==37?Wf(n,n.state.selection.from)=="ltr"?-1:1:-1;return Uf(n,o,r)||$r(n,o)}else if(t==39||Ot&&t==70&&r=="c"){let o=t==39?Wf(n,n.state.selection.from)=="ltr"?1:-1:1;return Uf(n,o,r)||$r(n,o)}else{if(t==38||Ot&&t==80&&r=="c")return Kf(n,-1,r)||$r(n,-1);if(t==40||Ot&&t==78&&r=="c")return O8(n)||Kf(n,1,r)||$r(n,1);if(r==(Ot?"m":"c")&&(t==66||t==73||t==89||t==90))return!0}return!1}function Gf(n,e){n.someProp("transformCopied",p=>{e=p(e,n)});let t=[],{content:r,openStart:o,openEnd:i}=e;for(;o>1&&i>1&&r.childCount==1&&r.firstChild.childCount==1;){o--,i--;let p=r.firstChild;t.push(p.type.name,p.attrs!=p.type.defaultAttrs?p.attrs:null),r=p.content}let s=n.someProp("clipboardSerializer")||Zt.fromSchema(n.state.schema),l=rh(),a=l.createElement("div");a.appendChild(s.serializeFragment(r,{document:l}));let d=a.firstChild,u,f=0;for(;d&&d.nodeType==1&&(u=th[d.nodeName.toLowerCase()]);){for(let p=u.length-1;p>=0;p--){let m=l.createElement(u[p]);for(;a.firstChild;)m.appendChild(a.firstChild);a.appendChild(m),f++}d=a.firstChild}d&&d.nodeType==1&&d.setAttribute("data-pm-slice",`${o} ${i}${f?` -${f}`:""} ${JSON.stringify(t)}`);let h=n.someProp("clipboardTextSerializer",p=>p(e,n))||e.content.textBetween(0,e.content.size,`
|
|
67
|
+
|
|
68
|
+
`);return{dom:a,text:h}}function Zf(n,e,t,r,o){let i=o.parent.type.spec.code,s,l;if(!t&&!e)return null;let a=e&&(r||i||!t);if(a){if(n.someProp("transformPastedText",h=>{e=h(e,i||r,n)}),i)return e?new ye(le.from(n.state.schema.text(e.replace(/\r\n?/g,`
|
|
69
|
+
`))),0,0):ye.empty;let f=n.someProp("clipboardTextParser",h=>h(e,o,r,n));if(f)l=f;else{let h=o.marks(),{schema:p}=n.state,m=Zt.fromSchema(p);s=document.createElement("div"),e.split(/(?:\r\n?|\n)+/).forEach(g=>{let v=s.appendChild(document.createElement("p"));g&&v.appendChild(m.serializeNode(p.text(g,h)))})}}else n.someProp("transformPastedHTML",f=>{t=f(t,n)}),s=B8(t),Oo&&R8(s);let d=s&&s.querySelector("[data-pm-slice]"),u=d&&/^(\d+) (\d+)(?: -(\d+))? (.*)/.exec(d.getAttribute("data-pm-slice")||"");if(u&&u[3])for(let f=+u[3];f>0;f--){let h=s.firstChild;for(;h&&h.nodeType!=1;)h=h.nextSibling;if(!h)break;s=h}if(l||(l=(n.someProp("clipboardParser")||n.someProp("domParser")||Or.fromSchema(n.state.schema)).parseSlice(s,{preserveWhitespace:!!(a||u),context:o,ruleFromNode(h){return h.nodeName=="BR"&&!h.nextSibling&&h.parentNode&&!L8.test(h.parentNode.nodeName)?{ignore:!0}:null}})),u)l=P8(eh(l,+u[1],+u[2]),u[4]);else if(l=ye.maxOpen(D8(l.content,o),!0),l.openStart||l.openEnd){let f=0,h=0;for(let p=l.content.firstChild;f<l.openStart&&!p.type.spec.isolating;f++,p=p.firstChild);for(let p=l.content.lastChild;h<l.openEnd&&!p.type.spec.isolating;h++,p=p.lastChild);l=eh(l,f,h)}return n.someProp("transformPasted",f=>{l=f(l,n)}),l}const L8=/^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var)$/i;function D8(n,e){if(n.childCount<2)return n;for(let t=e.depth;t>=0;t--){let o=e.node(t).contentMatchAt(e.index(t)),i,s=[];if(n.forEach(l=>{if(!s)return;let a=o.findWrapping(l.type),d;if(!a)return s=null;if(d=s.length&&i.length&&Xf(a,i,l,s[s.length-1],0))s[s.length-1]=d;else{s.length&&(s[s.length-1]=qf(s[s.length-1],i.length));let u=Jf(l,a);s.push(u),o=o.matchType(u.type),i=a}}),s)return le.from(s)}return n}function Jf(n,e,t=0){for(let r=e.length-1;r>=t;r--)n=e[r].create(null,le.from(n));return n}function Xf(n,e,t,r,o){if(o<n.length&&o<e.length&&n[o]==e[o]){let i=Xf(n,e,t,r.lastChild,o+1);if(i)return r.copy(r.content.replaceChild(r.childCount-1,i));if(r.contentMatchAt(r.childCount).matchType(o==n.length-1?t.type:n[o+1]))return r.copy(r.content.append(le.from(Jf(t,n,o+1))))}}function qf(n,e){if(e==0)return n;let t=n.content.replaceChild(n.childCount-1,qf(n.lastChild,e-1)),r=n.contentMatchAt(n.childCount).fillBefore(le.empty,!0);return n.copy(t.append(r))}function hl(n,e,t,r,o,i){let s=e<0?n.firstChild:n.lastChild,l=s.content;return n.childCount>1&&(i=0),o<r-1&&(l=hl(l,e,t,r,o+1,i)),o>=t&&(l=e<0?s.contentMatchAt(0).fillBefore(l,i<=o).append(l):l.append(s.contentMatchAt(s.childCount).fillBefore(le.empty,!0))),n.replaceChild(e<0?0:n.childCount-1,s.copy(l))}function eh(n,e,t){return e<n.openStart&&(n=new ye(hl(n.content,-1,e,n.openStart,0,n.openEnd),e,n.openEnd)),t<n.openEnd&&(n=new ye(hl(n.content,1,t,n.openEnd,0,0),n.openStart,t)),n}const th={thead:["table"],tbody:["table"],tfoot:["table"],caption:["table"],colgroup:["table"],col:["table","colgroup"],tr:["table","tbody"],td:["table","tbody","tr"],th:["table","tbody","tr"]};let nh=null;function rh(){return nh||(nh=document.implementation.createHTMLDocument("title"))}function B8(n){let e=/^(\s*<meta [^>]*>)*/.exec(n);e&&(n=n.slice(e[0].length));let t=rh().createElement("div"),r=/<([a-z][^>\s]+)/i.exec(n),o;if((o=r&&th[r[1].toLowerCase()])&&(n=o.map(i=>"<"+i+">").join("")+n+o.map(i=>"</"+i+">").reverse().join("")),t.innerHTML=n,o)for(let i=0;i<o.length;i++)t=t.querySelector(o[i])||t;return t}function R8(n){let e=n.querySelectorAll(it?"span:not([class]):not([style])":"span.Apple-converted-space");for(let t=0;t<e.length;t++){let r=e[t];r.childNodes.length==1&&r.textContent==" "&&r.parentNode&&r.parentNode.replaceChild(n.ownerDocument.createTextNode(" "),r)}}function P8(n,e){if(!n.size)return n;let t=n.content.firstChild.type.schema,r;try{r=JSON.parse(e)}catch{return n}let{content:o,openStart:i,openEnd:s}=n;for(let l=r.length-2;l>=0;l-=2){let a=t.nodes[r[l]];if(!a||a.hasRequiredAttrs())break;o=le.from(a.create(r[l+1],o)),i++,s++}return new ye(o,i,s)}const ut={},ft={},V8={touchstart:!0,touchmove:!0};class F8{constructor(){this.shiftKey=!1,this.mouseDown=null,this.lastKeyCode=null,this.lastKeyCodeTime=0,this.lastClick={time:0,x:0,y:0,type:""},this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastIOSEnter=0,this.lastIOSEnterFallbackTimeout=-1,this.lastFocus=0,this.lastTouch=0,this.lastAndroidDelete=0,this.composing=!1,this.composingTimeout=-1,this.compositionNodes=[],this.compositionEndedAt=-2e8,this.compositionID=1,this.compositionPendingChanges=0,this.domChangeCount=0,this.eventHandlers=Object.create(null),this.hideSelectionGuard=null}}function $8(n){for(let e in ut){let t=ut[e];n.dom.addEventListener(e,n.input.eventHandlers[e]=r=>{H8(n,r)&&!ml(n,r)&&(n.editable||!(r.type in ft))&&t(n,r)},V8[e]?{passive:!0}:void 0)}dt&&n.dom.addEventListener("input",()=>null),pl(n)}function _n(n,e){n.input.lastSelectionOrigin=e,n.input.lastSelectionTime=Date.now()}function z8(n){n.domObserver.stop();for(let e in n.input.eventHandlers)n.dom.removeEventListener(e,n.input.eventHandlers[e]);clearTimeout(n.input.composingTimeout),clearTimeout(n.input.lastIOSEnterFallbackTimeout)}function pl(n){n.someProp("handleDOMEvents",e=>{for(let t in e)n.input.eventHandlers[t]||n.dom.addEventListener(t,n.input.eventHandlers[t]=r=>ml(n,r))})}function ml(n,e){return n.someProp("handleDOMEvents",t=>{let r=t[e.type];return r?r(n,e)||e.defaultPrevented:!1})}function H8(n,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let t=e.target;t!=n.dom;t=t.parentNode)if(!t||t.nodeType==11||t.pmViewDesc&&t.pmViewDesc.stopEvent(e))return!1;return!0}function U8(n,e){!ml(n,e)&&ut[e.type]&&(n.editable||!(e.type in ft))&&ut[e.type](n,e)}ft.keydown=(n,e)=>{let t=e;if(n.input.shiftKey=t.keyCode==16||t.shiftKey,!ih(n,t)&&(n.input.lastKeyCode=t.keyCode,n.input.lastKeyCodeTime=Date.now(),!(Kt&&it&&t.keyCode==13)))if(t.keyCode!=229&&n.domObserver.forceFlush(),Vr&&t.keyCode==13&&!t.ctrlKey&&!t.altKey&&!t.metaKey){let r=Date.now();n.input.lastIOSEnter=r,n.input.lastIOSEnterFallbackTimeout=setTimeout(()=>{n.input.lastIOSEnter==r&&(n.someProp("handleKeyDown",o=>o(n,lr(13,"Enter"))),n.input.lastIOSEnter=0)},200)}else n.someProp("handleKeyDown",r=>r(n,t))||N8(n,t)?t.preventDefault():_n(n,"key")},ft.keyup=(n,e)=>{e.keyCode==16&&(n.input.shiftKey=!1)},ft.keypress=(n,e)=>{let t=e;if(ih(n,t)||!t.charCode||t.ctrlKey&&!t.altKey||Ot&&t.metaKey)return;if(n.someProp("handleKeyPress",o=>o(n,t))){t.preventDefault();return}let r=n.state.selection;if(!(r instanceof Pe)||!r.$from.sameParent(r.$to)){let o=String.fromCharCode(t.charCode);!/[\r\n]/.test(o)&&!n.someProp("handleTextInput",i=>i(n,r.$from.pos,r.$to.pos,o))&&n.dispatch(n.state.tr.insertText(o).scrollIntoView()),t.preventDefault()}};function Ri(n){return{left:n.clientX,top:n.clientY}}function j8(n,e){let t=e.x-n.clientX,r=e.y-n.clientY;return t*t+r*r<100}function gl(n,e,t,r,o){if(r==-1)return!1;let i=n.state.doc.resolve(r);for(let s=i.depth+1;s>0;s--)if(n.someProp(e,l=>s>i.depth?l(n,t,i.nodeAfter,i.before(s),o,!0):l(n,t,i.node(s),i.before(s),o,!1)))return!0;return!1}function zr(n,e,t){n.focused||n.focus();let r=n.state.tr.setSelection(e);t=="pointer"&&r.setMeta("pointer",!0),n.dispatch(r)}function W8(n,e){if(e==-1)return!1;let t=n.state.doc.resolve(e),r=t.nodeAfter;return r&&r.isAtom&&Me.isSelectable(r)?(zr(n,new Me(t),"pointer"),!0):!1}function K8(n,e){if(e==-1)return!1;let t=n.state.selection,r,o;t instanceof Me&&(r=t.node);let i=n.state.doc.resolve(e);for(let s=i.depth+1;s>0;s--){let l=s>i.depth?i.nodeAfter:i.node(s);if(Me.isSelectable(l)){r&&t.$from.depth>0&&s>=t.$from.depth&&i.before(t.$from.depth+1)==t.$from.pos?o=i.before(t.$from.depth):o=i.before(s);break}}return o!=null?(zr(n,Me.create(n.state.doc,o),"pointer"),!0):!1}function Q8(n,e,t,r,o){return gl(n,"handleClickOn",e,t,r)||n.someProp("handleClick",i=>i(n,e,r))||(o?K8(n,t):W8(n,t))}function Y8(n,e,t,r){return gl(n,"handleDoubleClickOn",e,t,r)||n.someProp("handleDoubleClick",o=>o(n,e,r))}function G8(n,e,t,r){return gl(n,"handleTripleClickOn",e,t,r)||n.someProp("handleTripleClick",o=>o(n,e,r))||Z8(n,t,r)}function Z8(n,e,t){if(t.button!=0)return!1;let r=n.state.doc;if(e==-1)return r.inlineContent?(zr(n,Pe.create(r,0,r.content.size),"pointer"),!0):!1;let o=r.resolve(e);for(let i=o.depth+1;i>0;i--){let s=i>o.depth?o.nodeAfter:o.node(i),l=o.before(i);if(s.inlineContent)zr(n,Pe.create(r,l+1,l+1+s.content.size),"pointer");else if(Me.isSelectable(s))zr(n,Me.create(r,l),"pointer");else continue;return!0}}function vl(n){return Pi(n)}const oh=Ot?"metaKey":"ctrlKey";ut.mousedown=(n,e)=>{let t=e;n.input.shiftKey=t.shiftKey;let r=vl(n),o=Date.now(),i="singleClick";o-n.input.lastClick.time<500&&j8(t,n.input.lastClick)&&!t[oh]&&(n.input.lastClick.type=="singleClick"?i="doubleClick":n.input.lastClick.type=="doubleClick"&&(i="tripleClick")),n.input.lastClick={time:o,x:t.clientX,y:t.clientY,type:i};let s=n.posAtCoords(Ri(t));s&&(i=="singleClick"?(n.input.mouseDown&&n.input.mouseDown.done(),n.input.mouseDown=new J8(n,s,t,!!r)):(i=="doubleClick"?Y8:G8)(n,s.pos,s.inside,t)?t.preventDefault():_n(n,"pointer"))};class J8{constructor(e,t,r,o){this.view=e,this.pos=t,this.event=r,this.flushed=o,this.delayedSelectionSync=!1,this.mightDrag=null,this.startDoc=e.state.doc,this.selectNode=!!r[oh],this.allowDefault=r.shiftKey;let i,s;if(t.inside>-1)i=e.state.doc.nodeAt(t.inside),s=t.inside;else{let u=e.state.doc.resolve(t.pos);i=u.parent,s=u.depth?u.before():0}const l=o?null:r.target,a=l?e.docView.nearestDesc(l,!0):null;this.target=a?a.dom:null;let{selection:d}=e.state;(r.button==0&&i.type.spec.draggable&&i.type.spec.selectable!==!1||d instanceof Me&&d.from<=s&&d.to>s)&&(this.mightDrag={node:i,pos:s,addAttr:!!(this.target&&!this.target.draggable),setUneditable:!!(this.target&&Wt&&!this.target.hasAttribute("contentEditable"))}),this.target&&this.mightDrag&&(this.mightDrag.addAttr||this.mightDrag.setUneditable)&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&(this.target.draggable=!0),this.mightDrag.setUneditable&&setTimeout(()=>{this.view.input.mouseDown==this&&this.target.setAttribute("contentEditable","false")},20),this.view.domObserver.start()),e.root.addEventListener("mouseup",this.up=this.up.bind(this)),e.root.addEventListener("mousemove",this.move=this.move.bind(this)),_n(e,"pointer")}done(){this.view.root.removeEventListener("mouseup",this.up),this.view.root.removeEventListener("mousemove",this.move),this.mightDrag&&this.target&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&this.target.removeAttribute("draggable"),this.mightDrag.setUneditable&&this.target.removeAttribute("contentEditable"),this.view.domObserver.start()),this.delayedSelectionSync&&setTimeout(()=>hn(this.view)),this.view.input.mouseDown=null}up(e){if(this.done(),!this.view.dom.contains(e.target))return;let t=this.pos;this.view.state.doc!=this.startDoc&&(t=this.view.posAtCoords(Ri(e))),this.updateAllowDefault(e),this.allowDefault||!t?_n(this.view,"pointer"):Q8(this.view,t.pos,t.inside,e,this.selectNode)?e.preventDefault():e.button==0&&(this.flushed||dt&&this.mightDrag&&!this.mightDrag.node.isAtom||it&&!this.view.state.selection.visible&&Math.min(Math.abs(t.pos-this.view.state.selection.from),Math.abs(t.pos-this.view.state.selection.to))<=2)?(zr(this.view,Re.near(this.view.state.doc.resolve(t.pos)),"pointer"),e.preventDefault()):_n(this.view,"pointer")}move(e){this.updateAllowDefault(e),_n(this.view,"pointer"),e.buttons==0&&this.done()}updateAllowDefault(e){!this.allowDefault&&(Math.abs(this.event.x-e.clientX)>4||Math.abs(this.event.y-e.clientY)>4)&&(this.allowDefault=!0)}}ut.touchstart=n=>{n.input.lastTouch=Date.now(),vl(n),_n(n,"pointer")},ut.touchmove=n=>{n.input.lastTouch=Date.now(),_n(n,"pointer")},ut.contextmenu=n=>vl(n);function ih(n,e){return n.composing?!0:dt&&Math.abs(e.timeStamp-n.input.compositionEndedAt)<500?(n.input.compositionEndedAt=-2e8,!0):!1}const X8=Kt?5e3:-1;ft.compositionstart=ft.compositionupdate=n=>{if(!n.composing){n.domObserver.flush();let{state:e}=n,t=e.selection.$from;if(e.selection.empty&&(e.storedMarks||!t.textOffset&&t.parentOffset&&t.nodeBefore.marks.some(r=>r.type.spec.inclusive===!1)))n.markCursor=n.state.storedMarks||t.marks(),Pi(n,!0),n.markCursor=null;else if(Pi(n),Wt&&e.selection.empty&&t.parentOffset&&!t.textOffset&&t.nodeBefore.marks.length){let r=n.domSelectionRange();for(let o=r.focusNode,i=r.focusOffset;o&&o.nodeType==1&&i!=0;){let s=i<0?o.lastChild:o.childNodes[i-1];if(!s)break;if(s.nodeType==3){n.domSelection().collapse(s,s.nodeValue.length);break}else o=s,i=-1}}n.input.composing=!0}sh(n,X8)},ft.compositionend=(n,e)=>{n.composing&&(n.input.composing=!1,n.input.compositionEndedAt=e.timeStamp,n.input.compositionPendingChanges=n.domObserver.pendingRecords().length?n.input.compositionID:0,n.input.compositionPendingChanges&&Promise.resolve().then(()=>n.domObserver.flush()),n.input.compositionID++,sh(n,20))};function sh(n,e){clearTimeout(n.input.composingTimeout),e>-1&&(n.input.composingTimeout=setTimeout(()=>Pi(n),e))}function ah(n){for(n.composing&&(n.input.composing=!1,n.input.compositionEndedAt=q8());n.input.compositionNodes.length>0;)n.input.compositionNodes.pop().markParentsDirty()}function q8(){let n=document.createEvent("Event");return n.initEvent("event",!0,!0),n.timeStamp}function Pi(n,e=!1){if(!(Kt&&n.domObserver.flushingSoon>=0)){if(n.domObserver.forceFlush(),ah(n),e||n.docView&&n.docView.dirty){let t=ll(n);return t&&!t.eq(n.state.selection)?n.dispatch(n.state.tr.setSelection(t)):n.updateState(n.state),!0}return!1}}function ev(n,e){if(!n.dom.parentNode)return;let t=n.dom.parentNode.appendChild(document.createElement("div"));t.appendChild(e),t.style.cssText="position: fixed; left: -10000px; top: 10px";let r=getSelection(),o=document.createRange();o.selectNodeContents(e),n.dom.blur(),r.removeAllRanges(),r.addRange(o),setTimeout(()=>{t.parentNode&&t.parentNode.removeChild(t),n.focus()},50)}const Bo=Ct&&Tn<15||Vr&&J4<604;ut.copy=ft.cut=(n,e)=>{let t=e,r=n.state.selection,o=t.type=="cut";if(r.empty)return;let i=Bo?null:t.clipboardData,s=r.content(),{dom:l,text:a}=Gf(n,s);i?(t.preventDefault(),i.clearData(),i.setData("text/html",l.innerHTML),i.setData("text/plain",a)):ev(n,l),o&&n.dispatch(n.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent","cut"))};function tv(n){return n.openStart==0&&n.openEnd==0&&n.content.childCount==1?n.content.firstChild:null}function nv(n,e){if(!n.dom.parentNode)return;let t=n.input.shiftKey||n.state.selection.$from.parent.type.spec.code,r=n.dom.parentNode.appendChild(document.createElement(t?"textarea":"div"));t||(r.contentEditable="true"),r.style.cssText="position: fixed; left: -10000px; top: 10px",r.focus();let o=n.input.shiftKey&&n.input.lastKeyCode!=45;setTimeout(()=>{n.focus(),r.parentNode&&r.parentNode.removeChild(r),t?Ro(n,r.value,null,o,e):Ro(n,r.textContent,r.innerHTML,o,e)},50)}function Ro(n,e,t,r,o){let i=Zf(n,e,t,r,n.state.selection.$from);if(n.someProp("handlePaste",a=>a(n,o,i||ye.empty)))return!0;if(!i)return!1;let s=tv(i),l=s?n.state.tr.replaceSelectionWith(s,r):n.state.tr.replaceSelection(i);return n.dispatch(l.scrollIntoView().setMeta("paste",!0).setMeta("uiEvent","paste")),!0}function lh(n){let e=n.getData("text/plain")||n.getData("Text");if(e)return e;let t=n.getData("text/uri-list");return t?t.replace(/\r?\n/g," "):""}ft.paste=(n,e)=>{let t=e;if(n.composing&&!Kt)return;let r=Bo?null:t.clipboardData,o=n.input.shiftKey&&n.input.lastKeyCode!=45;r&&Ro(n,lh(r),r.getData("text/html"),o,t)?t.preventDefault():nv(n,t)};class ch{constructor(e,t,r){this.slice=e,this.move=t,this.node=r}}const dh=Ot?"altKey":"ctrlKey";ut.dragstart=(n,e)=>{let t=e,r=n.input.mouseDown;if(r&&r.done(),!t.dataTransfer)return;let o=n.state.selection,i=o.empty?null:n.posAtCoords(Ri(t)),s;if(!(i&&i.pos>=o.from&&i.pos<=(o instanceof Me?o.to-1:o.to))){if(r&&r.mightDrag)s=Me.create(n.state.doc,r.mightDrag.pos);else if(t.target&&t.target.nodeType==1){let u=n.docView.nearestDesc(t.target,!0);u&&u.node.type.spec.draggable&&u!=n.docView&&(s=Me.create(n.state.doc,u.posBefore))}}let l=(s||n.state.selection).content(),{dom:a,text:d}=Gf(n,l);t.dataTransfer.clearData(),t.dataTransfer.setData(Bo?"Text":"text/html",a.innerHTML),t.dataTransfer.effectAllowed="copyMove",Bo||t.dataTransfer.setData("text/plain",d),n.dragging=new ch(l,!t[dh],s)},ut.dragend=n=>{let e=n.dragging;window.setTimeout(()=>{n.dragging==e&&(n.dragging=null)},50)},ft.dragover=ft.dragenter=(n,e)=>e.preventDefault(),ft.drop=(n,e)=>{let t=e,r=n.dragging;if(n.dragging=null,!t.dataTransfer)return;let o=n.posAtCoords(Ri(t));if(!o)return;let i=n.state.doc.resolve(o.pos),s=r&&r.slice;s?n.someProp("transformPasted",m=>{s=m(s,n)}):s=Zf(n,lh(t.dataTransfer),Bo?null:t.dataTransfer.getData("text/html"),!1,i);let l=!!(r&&!t[dh]);if(n.someProp("handleDrop",m=>m(n,t,s||ye.empty,l))){t.preventDefault();return}if(!s)return;t.preventDefault();let a=s?D4(n.state.doc,i.pos,s):i.pos;a==null&&(a=i.pos);let d=n.state.tr;if(l){let{node:m}=r;m?m.replace(d):d.deleteSelection()}let u=d.mapping.map(a),f=s.openStart==0&&s.openEnd==0&&s.content.childCount==1,h=d.doc;if(f?d.replaceRangeWith(u,u,s.content.firstChild):d.replaceRange(u,u,s),d.doc.eq(h))return;let p=d.doc.resolve(u);if(f&&Me.isSelectable(s.content.firstChild)&&p.nodeAfter&&p.nodeAfter.sameMarkup(s.content.firstChild))d.setSelection(new Me(p));else{let m=d.mapping.map(a);d.mapping.maps[d.mapping.maps.length-1].forEach((g,v,b,A)=>m=A),d.setSelection(dl(n,p,d.doc.resolve(m)))}n.focus(),n.dispatch(d.setMeta("uiEvent","drop"))},ut.focus=n=>{n.input.lastFocus=Date.now(),n.focused||(n.domObserver.stop(),n.dom.classList.add("ProseMirror-focused"),n.domObserver.start(),n.focused=!0,setTimeout(()=>{n.docView&&n.hasFocus()&&!n.domObserver.currentSelection.eq(n.domSelectionRange())&&hn(n)},20))},ut.blur=(n,e)=>{let t=e;n.focused&&(n.domObserver.stop(),n.dom.classList.remove("ProseMirror-focused"),n.domObserver.start(),t.relatedTarget&&n.dom.contains(t.relatedTarget)&&n.domObserver.currentSelection.clear(),n.focused=!1)},ut.beforeinput=(n,e)=>{if(it&&Kt&&e.inputType=="deleteContentBackward"){n.domObserver.flushSoon();let{domChangeCount:r}=n.input;setTimeout(()=>{if(n.input.domChangeCount!=r||(n.dom.blur(),n.focus(),n.someProp("handleKeyDown",i=>i(n,lr(8,"Backspace")))))return;let{$cursor:o}=n.state.selection;o&&o.pos>0&&n.dispatch(n.state.tr.delete(o.pos-1,o.pos).scrollIntoView())},50)}};for(let n in ft)ut[n]=ft[n];function Po(n,e){if(n==e)return!0;for(let t in n)if(n[t]!==e[t])return!1;for(let t in e)if(!(t in n))return!1;return!0}class Vi{constructor(e,t){this.toDOM=e,this.spec=t||fr,this.side=this.spec.side||0}map(e,t,r,o){let{pos:i,deleted:s}=e.mapResult(t.from+o,this.side<0?-1:1);return s?null:new Nt(i-r,i-r,this)}valid(){return!0}eq(e){return this==e||e instanceof Vi&&(this.spec.key&&this.spec.key==e.spec.key||this.toDOM==e.toDOM&&Po(this.spec,e.spec))}destroy(e){this.spec.destroy&&this.spec.destroy(e)}}class Nn{constructor(e,t){this.attrs=e,this.spec=t||fr}map(e,t,r,o){let i=e.map(t.from+o,this.spec.inclusiveStart?-1:1)-r,s=e.map(t.to+o,this.spec.inclusiveEnd?1:-1)-r;return i>=s?null:new Nt(i,s,this)}valid(e,t){return t.from<t.to}eq(e){return this==e||e instanceof Nn&&Po(this.attrs,e.attrs)&&Po(this.spec,e.spec)}static is(e){return e.type instanceof Nn}destroy(){}}class yl{constructor(e,t){this.attrs=e,this.spec=t||fr}map(e,t,r,o){let i=e.mapResult(t.from+o,1);if(i.deleted)return null;let s=e.mapResult(t.to+o,-1);return s.deleted||s.pos<=i.pos?null:new Nt(i.pos-r,s.pos-r,this)}valid(e,t){let{index:r,offset:o}=e.content.findIndex(t.from),i;return o==t.from&&!(i=e.child(r)).isText&&o+i.nodeSize==t.to}eq(e){return this==e||e instanceof yl&&Po(this.attrs,e.attrs)&&Po(this.spec,e.spec)}destroy(){}}class Nt{constructor(e,t,r){this.from=e,this.to=t,this.type=r}copy(e,t){return new Nt(e,t,this.type)}eq(e,t=0){return this.type.eq(e.type)&&this.from+t==e.from&&this.to+t==e.to}map(e,t,r){return this.type.map(e,this,t,r)}static widget(e,t,r){return new Nt(e,e,new Vi(t,r))}static inline(e,t,r,o){return new Nt(e,t,new Nn(r,o))}static node(e,t,r,o){return new Nt(e,t,new yl(r,o))}get spec(){return this.type.spec}get inline(){return this.type instanceof Nn}get widget(){return this.type instanceof Vi}}const Hr=[],fr={};class Ge{constructor(e,t){this.local=e.length?e:Hr,this.children=t.length?t:Hr}static create(e,t){return t.length?Fi(t,e,0,fr):st}find(e,t,r){let o=[];return this.findInner(e??0,t??1e9,o,0,r),o}findInner(e,t,r,o,i){for(let s=0;s<this.local.length;s++){let l=this.local[s];l.from<=t&&l.to>=e&&(!i||i(l.spec))&&r.push(l.copy(l.from+o,l.to+o))}for(let s=0;s<this.children.length;s+=3)if(this.children[s]<t&&this.children[s+1]>e){let l=this.children[s]+1;this.children[s+2].findInner(e-l,t-l,r,o+l,i)}}map(e,t,r){return this==st||e.maps.length==0?this:this.mapInner(e,t,0,0,r||fr)}mapInner(e,t,r,o,i){let s;for(let l=0;l<this.local.length;l++){let a=this.local[l].map(e,r,o);a&&a.type.valid(t,a)?(s||(s=[])).push(a):i.onRemove&&i.onRemove(this.local[l].spec)}return this.children.length?rv(this.children,s||[],e,t,r,o,i):s?new Ge(s.sort(hr),Hr):st}add(e,t){return t.length?this==st?Ge.create(e,t):this.addInner(e,t,0):this}addInner(e,t,r){let o,i=0;e.forEach((l,a)=>{let d=a+r,u;if(u=fh(t,l,d)){for(o||(o=this.children.slice());i<o.length&&o[i]<a;)i+=3;o[i]==a?o[i+2]=o[i+2].addInner(l,u,d+1):o.splice(i,0,a,a+l.nodeSize,Fi(u,l,d+1,fr)),i+=3}});let s=uh(i?hh(t):t,-r);for(let l=0;l<s.length;l++)s[l].type.valid(e,s[l])||s.splice(l--,1);return new Ge(s.length?this.local.concat(s).sort(hr):this.local,o||this.children)}remove(e){return e.length==0||this==st?this:this.removeInner(e,0)}removeInner(e,t){let r=this.children,o=this.local;for(let i=0;i<r.length;i+=3){let s,l=r[i]+t,a=r[i+1]+t;for(let u=0,f;u<e.length;u++)(f=e[u])&&f.from>l&&f.to<a&&(e[u]=null,(s||(s=[])).push(f));if(!s)continue;r==this.children&&(r=this.children.slice());let d=r[i+2].removeInner(s,l+1);d!=st?r[i+2]=d:(r.splice(i,3),i-=3)}if(o.length){for(let i=0,s;i<e.length;i++)if(s=e[i])for(let l=0;l<o.length;l++)o[l].eq(s,t)&&(o==this.local&&(o=this.local.slice()),o.splice(l--,1))}return r==this.children&&o==this.local?this:o.length||r.length?new Ge(o,r):st}forChild(e,t){if(this==st)return this;if(t.isLeaf)return Ge.empty;let r,o;for(let l=0;l<this.children.length;l+=3)if(this.children[l]>=e){this.children[l]==e&&(r=this.children[l+2]);break}let i=e+1,s=i+t.content.size;for(let l=0;l<this.local.length;l++){let a=this.local[l];if(a.from<s&&a.to>i&&a.type instanceof Nn){let d=Math.max(i,a.from)-i,u=Math.min(s,a.to)-i;d<u&&(o||(o=[])).push(a.copy(d,u))}}if(o){let l=new Ge(o.sort(hr),Hr);return r?new Ln([l,r]):l}return r||st}eq(e){if(this==e)return!0;if(!(e instanceof Ge)||this.local.length!=e.local.length||this.children.length!=e.children.length)return!1;for(let t=0;t<this.local.length;t++)if(!this.local[t].eq(e.local[t]))return!1;for(let t=0;t<this.children.length;t+=3)if(this.children[t]!=e.children[t]||this.children[t+1]!=e.children[t+1]||!this.children[t+2].eq(e.children[t+2]))return!1;return!0}locals(e){return Cl(this.localsInner(e))}localsInner(e){if(this==st)return Hr;if(e.inlineContent||!this.local.some(Nn.is))return this.local;let t=[];for(let r=0;r<this.local.length;r++)this.local[r].type instanceof Nn||t.push(this.local[r]);return t}}Ge.empty=new Ge([],[]),Ge.removeOverlap=Cl;const st=Ge.empty;class Ln{constructor(e){this.members=e}map(e,t){const r=this.members.map(o=>o.map(e,t,fr));return Ln.from(r)}forChild(e,t){if(t.isLeaf)return Ge.empty;let r=[];for(let o=0;o<this.members.length;o++){let i=this.members[o].forChild(e,t);i!=st&&(i instanceof Ln?r=r.concat(i.members):r.push(i))}return Ln.from(r)}eq(e){if(!(e instanceof Ln)||e.members.length!=this.members.length)return!1;for(let t=0;t<this.members.length;t++)if(!this.members[t].eq(e.members[t]))return!1;return!0}locals(e){let t,r=!0;for(let o=0;o<this.members.length;o++){let i=this.members[o].localsInner(e);if(i.length)if(!t)t=i;else{r&&(t=t.slice(),r=!1);for(let s=0;s<i.length;s++)t.push(i[s])}}return t?Cl(r?t:t.sort(hr)):Hr}static from(e){switch(e.length){case 0:return st;case 1:return e[0];default:return new Ln(e.every(t=>t instanceof Ge)?e:e.reduce((t,r)=>t.concat(r instanceof Ge?r:r.members),[]))}}}function rv(n,e,t,r,o,i,s){let l=n.slice();for(let d=0,u=i;d<t.maps.length;d++){let f=0;t.maps[d].forEach((h,p,m,g)=>{let v=g-m-(p-h);for(let b=0;b<l.length;b+=3){let A=l[b+1];if(A<0||h>A+u-f)continue;let w=l[b]+u-f;p>=w?l[b+1]=h<=w?-2:-1:m>=o&&v&&(l[b]+=v,l[b+1]+=v)}f+=v}),u=t.maps[d].map(u,-1)}let a=!1;for(let d=0;d<l.length;d+=3)if(l[d+1]<0){if(l[d+1]==-2){a=!0,l[d+1]=-1;continue}let u=t.map(n[d]+i),f=u-o;if(f<0||f>=r.content.size){a=!0;continue}let h=t.map(n[d+1]+i,-1),p=h-o,{index:m,offset:g}=r.content.findIndex(f),v=r.maybeChild(m);if(v&&g==f&&g+v.nodeSize==p){let b=l[d+2].mapInner(t,v,u+1,n[d]+i+1,s);b!=st?(l[d]=f,l[d+1]=p,l[d+2]=b):(l[d+1]=-2,a=!0)}else a=!0}if(a){let d=ov(l,n,e,t,o,i,s),u=Fi(d,r,0,s);e=u.local;for(let f=0;f<l.length;f+=3)l[f+1]<0&&(l.splice(f,3),f-=3);for(let f=0,h=0;f<u.children.length;f+=3){let p=u.children[f];for(;h<l.length&&l[h]<p;)h+=3;l.splice(h,0,u.children[f],u.children[f+1],u.children[f+2])}}return new Ge(e.sort(hr),l)}function uh(n,e){if(!e||!n.length)return n;let t=[];for(let r=0;r<n.length;r++){let o=n[r];t.push(new Nt(o.from+e,o.to+e,o.type))}return t}function ov(n,e,t,r,o,i,s){function l(a,d){for(let u=0;u<a.local.length;u++){let f=a.local[u].map(r,o,d);f?t.push(f):s.onRemove&&s.onRemove(a.local[u].spec)}for(let u=0;u<a.children.length;u+=3)l(a.children[u+2],a.children[u]+d+1)}for(let a=0;a<n.length;a+=3)n[a+1]==-1&&l(n[a+2],e[a]+i+1);return t}function fh(n,e,t){if(e.isLeaf)return null;let r=t+e.nodeSize,o=null;for(let i=0,s;i<n.length;i++)(s=n[i])&&s.from>t&&s.to<r&&((o||(o=[])).push(s),n[i]=null);return o}function hh(n){let e=[];for(let t=0;t<n.length;t++)n[t]!=null&&e.push(n[t]);return e}function Fi(n,e,t,r){let o=[],i=!1;e.forEach((l,a)=>{let d=fh(n,l,a+t);if(d){i=!0;let u=Fi(d,l,t+a+1,r);u!=st&&o.push(a,a+l.nodeSize,u)}});let s=uh(i?hh(n):n,-t).sort(hr);for(let l=0;l<s.length;l++)s[l].type.valid(e,s[l])||(r.onRemove&&r.onRemove(s[l].spec),s.splice(l--,1));return s.length||o.length?new Ge(s,o):st}function hr(n,e){return n.from-e.from||n.to-e.to}function Cl(n){let e=n;for(let t=0;t<e.length-1;t++){let r=e[t];if(r.from!=r.to)for(let o=t+1;o<e.length;o++){let i=e[o];if(i.from==r.from){i.to!=r.to&&(e==n&&(e=n.slice()),e[o]=i.copy(i.from,r.to),ph(e,o+1,i.copy(r.to,i.to)));continue}else{i.from<r.to&&(e==n&&(e=n.slice()),e[t]=r.copy(r.from,i.from),ph(e,o,r.copy(i.from,r.to)));break}}}return e}function ph(n,e,t){for(;e<n.length&&hr(t,n[e])>0;)e++;n.splice(e,0,t)}function El(n){let e=[];return n.someProp("decorations",t=>{let r=t(n.state);r&&r!=st&&e.push(r)}),n.cursorWrapper&&e.push(Ge.create(n.state.doc,[n.cursorWrapper.deco])),Ln.from(e)}const iv={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},sv=Ct&&Tn<=11;class av{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}set(e){this.anchorNode=e.anchorNode,this.anchorOffset=e.anchorOffset,this.focusNode=e.focusNode,this.focusOffset=e.focusOffset}clear(){this.anchorNode=this.focusNode=null}eq(e){return e.anchorNode==this.anchorNode&&e.anchorOffset==this.anchorOffset&&e.focusNode==this.focusNode&&e.focusOffset==this.focusOffset}}class lv{constructor(e,t){this.view=e,this.handleDOMChange=t,this.queue=[],this.flushingSoon=-1,this.observer=null,this.currentSelection=new av,this.onCharData=null,this.suppressingSelectionUpdates=!1,this.observer=window.MutationObserver&&new window.MutationObserver(r=>{for(let o=0;o<r.length;o++)this.queue.push(r[o]);Ct&&Tn<=11&&r.some(o=>o.type=="childList"&&o.removedNodes.length||o.type=="characterData"&&o.oldValue.length>o.target.nodeValue.length)?this.flushSoon():this.flush()}),sv&&(this.onCharData=r=>{this.queue.push({target:r.target,type:"characterData",oldValue:r.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this)}flushSoon(){this.flushingSoon<0&&(this.flushingSoon=window.setTimeout(()=>{this.flushingSoon=-1,this.flush()},20))}forceFlush(){this.flushingSoon>-1&&(window.clearTimeout(this.flushingSoon),this.flushingSoon=-1,this.flush())}start(){this.observer&&(this.observer.takeRecords(),this.observer.observe(this.view.dom,iv)),this.onCharData&&this.view.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.connectSelection()}stop(){if(this.observer){let e=this.observer.takeRecords();if(e.length){for(let t=0;t<e.length;t++)this.queue.push(e[t]);window.setTimeout(()=>this.flush(),20)}this.observer.disconnect()}this.onCharData&&this.view.dom.removeEventListener("DOMCharacterDataModified",this.onCharData),this.disconnectSelection()}connectSelection(){this.view.dom.ownerDocument.addEventListener("selectionchange",this.onSelectionChange)}disconnectSelection(){this.view.dom.ownerDocument.removeEventListener("selectionchange",this.onSelectionChange)}suppressSelectionUpdates(){this.suppressingSelectionUpdates=!0,setTimeout(()=>this.suppressingSelectionUpdates=!1,50)}onSelectionChange(){if(zf(this.view)){if(this.suppressingSelectionUpdates)return hn(this.view);if(Ct&&Tn<=11&&!this.view.state.selection.empty){let e=this.view.domSelectionRange();if(e.focusNode&&ar(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset))return this.flushSoon()}this.flush()}}setCurSelection(){this.currentSelection.set(this.view.domSelectionRange())}ignoreSelectionChange(e){if(!e.focusNode)return!0;let t=new Set,r;for(let i=e.focusNode;i;i=Io(i))t.add(i);for(let i=e.anchorNode;i;i=Io(i))if(t.has(i)){r=i;break}let o=r&&this.view.docView.nearestDesc(r);if(o&&o.ignoreMutation({type:"selection",target:r.nodeType==3?r.parentNode:r}))return this.setCurSelection(),!0}pendingRecords(){if(this.observer)for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}flush(){let{view:e}=this;if(!e.docView||this.flushingSoon>-1)return;let t=this.pendingRecords();t.length&&(this.queue=[]);let r=e.domSelectionRange(),o=!this.suppressingSelectionUpdates&&!this.currentSelection.eq(r)&&zf(e)&&!this.ignoreSelectionChange(r),i=-1,s=-1,l=!1,a=[];if(e.editable)for(let u=0;u<t.length;u++){let f=this.registerMutation(t[u],a);f&&(i=i<0?f.from:Math.min(f.from,i),s=s<0?f.to:Math.max(f.to,s),f.typeOver&&(l=!0))}if(Wt&&a.length>1){let u=a.filter(f=>f.nodeName=="BR");if(u.length==2){let f=u[0],h=u[1];f.parentNode&&f.parentNode.parentNode==h.parentNode?h.remove():f.remove()}}let d=null;i<0&&o&&e.input.lastFocus>Date.now()-200&&Math.max(e.input.lastTouch,e.input.lastClick.time)<Date.now()-300&&Li(r)&&(d=ll(e))&&d.eq(Re.near(e.state.doc.resolve(0),1))?(e.input.lastFocus=0,hn(e),this.currentSelection.set(r),e.scrollToSelection()):(i>-1||o)&&(i>-1&&(e.docView.markDirty(i,s),cv(e)),this.handleDOMChange(i,s,l,a),e.docView&&e.docView.dirty?e.updateState(e.state):this.currentSelection.eq(r)||hn(e),this.currentSelection.set(r))}registerMutation(e,t){if(t.indexOf(e.target)>-1)return null;let r=this.view.docView.nearestDesc(e.target);if(e.type=="attributes"&&(r==this.view.docView||e.attributeName=="contenteditable"||e.attributeName=="style"&&!e.oldValue&&!e.target.getAttribute("style"))||!r||r.ignoreMutation(e))return null;if(e.type=="childList"){for(let u=0;u<e.addedNodes.length;u++)t.push(e.addedNodes[u]);if(r.contentDOM&&r.contentDOM!=r.dom&&!r.contentDOM.contains(e.target))return{from:r.posBefore,to:r.posAfter};let o=e.previousSibling,i=e.nextSibling;if(Ct&&Tn<=11&&e.addedNodes.length)for(let u=0;u<e.addedNodes.length;u++){let{previousSibling:f,nextSibling:h}=e.addedNodes[u];(!f||Array.prototype.indexOf.call(e.addedNodes,f)<0)&&(o=f),(!h||Array.prototype.indexOf.call(e.addedNodes,h)<0)&&(i=h)}let s=o&&o.parentNode==e.target?ct(o)+1:0,l=r.localPosFromDOM(e.target,s,-1),a=i&&i.parentNode==e.target?ct(i):e.target.childNodes.length,d=r.localPosFromDOM(e.target,a,1);return{from:l,to:d}}else return e.type=="attributes"?{from:r.posAtStart-r.border,to:r.posAtEnd+r.border}:{from:r.posAtStart,to:r.posAtEnd,typeOver:e.target.nodeValue==e.oldValue}}}let mh=new WeakMap,gh=!1;function cv(n){if(!mh.has(n)&&(mh.set(n,null),["normal","nowrap","pre-line"].indexOf(getComputedStyle(n.dom).whiteSpace)!==-1)){if(n.requiresGeckoHackNode=Wt,gh)return;console.warn("ProseMirror expects the CSS white-space property to be set, preferably to 'pre-wrap'. It is recommended to load style/prosemirror.css from the prosemirror-view package."),gh=!0}}function dv(n){let e;function t(a){a.preventDefault(),a.stopImmediatePropagation(),e=a.getTargetRanges()[0]}n.dom.addEventListener("beforeinput",t,!0),document.execCommand("indent"),n.dom.removeEventListener("beforeinput",t,!0);let r=e.startContainer,o=e.startOffset,i=e.endContainer,s=e.endOffset,l=n.domAtPos(n.state.selection.anchor);return ar(l.node,l.offset,i,s)&&([r,o,i,s]=[i,s,r,o]),{anchorNode:r,anchorOffset:o,focusNode:i,focusOffset:s}}function uv(n,e,t){let{node:r,fromOffset:o,toOffset:i,from:s,to:l}=n.docView.parseRange(e,t),a=n.domSelectionRange(),d,u=a.anchorNode;if(u&&n.dom.contains(u.nodeType==1?u:u.parentNode)&&(d=[{node:u,offset:a.anchorOffset}],Li(a)||d.push({node:a.focusNode,offset:a.focusOffset})),it&&n.input.lastKeyCode===8)for(let v=i;v>o;v--){let b=r.childNodes[v-1],A=b.pmViewDesc;if(b.nodeName=="BR"&&!A){i=v;break}if(!A||A.size)break}let f=n.state.doc,h=n.someProp("domParser")||Or.fromSchema(n.state.schema),p=f.resolve(s),m=null,g=h.parse(r,{topNode:p.parent,topMatch:p.parent.contentMatchAt(p.index()),topOpen:!0,from:o,to:i,preserveWhitespace:p.parent.type.whitespace=="pre"?"full":!0,findPositions:d,ruleFromNode:fv,context:p});if(d&&d[0].pos!=null){let v=d[0].pos,b=d[1]&&d[1].pos;b==null&&(b=v),m={anchor:v+s,head:b+s}}return{doc:g,sel:m,from:s,to:l}}function fv(n){let e=n.pmViewDesc;if(e)return e.parseRule();if(n.nodeName=="BR"&&n.parentNode){if(dt&&/^(ul|ol)$/i.test(n.parentNode.nodeName)){let t=document.createElement("div");return t.appendChild(document.createElement("li")),{skip:t}}else if(n.parentNode.lastChild==n||dt&&/^(tr|table)$/i.test(n.parentNode.nodeName))return{ignore:!0}}else if(n.nodeName=="IMG"&&n.getAttribute("mark-placeholder"))return{ignore:!0};return null}const hv=/^(a|abbr|acronym|b|bd[io]|big|br|button|cite|code|data(list)?|del|dfn|em|i|ins|kbd|label|map|mark|meter|output|q|ruby|s|samp|small|span|strong|su[bp]|time|u|tt|var)$/i;function pv(n,e,t,r,o){let i=n.input.compositionPendingChanges||(n.composing?n.input.compositionID:0);if(n.input.compositionPendingChanges=0,e<0){let U=n.input.lastSelectionTime>Date.now()-50?n.input.lastSelectionOrigin:null,R=ll(n,U);if(R&&!n.state.selection.eq(R)){if(it&&Kt&&n.input.lastKeyCode===13&&Date.now()-100<n.input.lastKeyCodeTime&&n.someProp("handleKeyDown",z=>z(n,lr(13,"Enter"))))return;let D=n.state.tr.setSelection(R);U=="pointer"?D.setMeta("pointer",!0):U=="key"&&D.scrollIntoView(),i&&D.setMeta("composition",i),n.dispatch(D)}return}let s=n.state.doc.resolve(e),l=s.sharedDepth(t);e=s.before(l+1),t=n.state.doc.resolve(t).after(l+1);let a=n.state.selection,d=uv(n,e,t),u=n.state.doc,f=u.slice(d.from,d.to),h,p;n.input.lastKeyCode===8&&Date.now()-100<n.input.lastKeyCodeTime?(h=n.state.selection.to,p="end"):(h=n.state.selection.from,p="start"),n.input.lastKeyCode=null;let m=vv(f.content,d.doc.content,d.from,h,p);if((Vr&&n.input.lastIOSEnter>Date.now()-225||Kt)&&o.some(U=>U.nodeType==1&&!hv.test(U.nodeName))&&(!m||m.endA>=m.endB)&&n.someProp("handleKeyDown",U=>U(n,lr(13,"Enter")))){n.input.lastIOSEnter=0;return}if(!m)if(r&&a instanceof Pe&&!a.empty&&a.$head.sameParent(a.$anchor)&&!n.composing&&!(d.sel&&d.sel.anchor!=d.sel.head))m={start:a.from,endA:a.to,endB:a.to};else{if(d.sel){let U=vh(n,n.state.doc,d.sel);if(U&&!U.eq(n.state.selection)){let R=n.state.tr.setSelection(U);i&&R.setMeta("composition",i),n.dispatch(R)}}return}if(it&&n.cursorWrapper&&d.sel&&d.sel.anchor==n.cursorWrapper.deco.from&&d.sel.head==d.sel.anchor){let U=m.endB-m.start;d.sel={anchor:d.sel.anchor+U,head:d.sel.anchor+U}}n.input.domChangeCount++,n.state.selection.from<n.state.selection.to&&m.start==m.endB&&n.state.selection instanceof Pe&&(m.start>n.state.selection.from&&m.start<=n.state.selection.from+2&&n.state.selection.from>=d.from?m.start=n.state.selection.from:m.endA<n.state.selection.to&&m.endA>=n.state.selection.to-2&&n.state.selection.to<=d.to&&(m.endB+=n.state.selection.to-m.endA,m.endA=n.state.selection.to)),Ct&&Tn<=11&&m.endB==m.start+1&&m.endA==m.start&&m.start>d.from&&d.doc.textBetween(m.start-d.from-1,m.start-d.from+1)==" "&&(m.start--,m.endA--,m.endB--);let g=d.doc.resolveNoCache(m.start-d.from),v=d.doc.resolveNoCache(m.endB-d.from),b=u.resolve(m.start),A=g.sameParent(v)&&g.parent.inlineContent&&b.end()>=m.endA,w;if((Vr&&n.input.lastIOSEnter>Date.now()-225&&(!A||o.some(U=>U.nodeName=="DIV"||U.nodeName=="P"))||!A&&g.pos<d.doc.content.size&&!g.sameParent(v)&&(w=Re.findFrom(d.doc.resolve(g.pos+1),1,!0))&&w.head==v.pos)&&n.someProp("handleKeyDown",U=>U(n,lr(13,"Enter")))){n.input.lastIOSEnter=0;return}if(n.state.selection.anchor>m.start&&gv(u,m.start,m.endA,g,v)&&n.someProp("handleKeyDown",U=>U(n,lr(8,"Backspace")))){Kt&&it&&n.domObserver.suppressSelectionUpdates();return}it&&Kt&&m.endB==m.start&&(n.input.lastAndroidDelete=Date.now()),Kt&&!A&&g.start()!=v.start()&&v.parentOffset==0&&g.depth==v.depth&&d.sel&&d.sel.anchor==d.sel.head&&d.sel.head==m.endA&&(m.endB-=2,v=d.doc.resolveNoCache(m.endB-d.from),setTimeout(()=>{n.someProp("handleKeyDown",function(U){return U(n,lr(13,"Enter"))})},20));let y=m.start,T=m.endA,k,$,H;if(A){if(g.pos==v.pos)Ct&&Tn<=11&&g.parentOffset==0&&(n.domObserver.suppressSelectionUpdates(),setTimeout(()=>hn(n),20)),k=n.state.tr.delete(y,T),$=u.resolve(m.start).marksAcross(u.resolve(m.endA));else if(m.endA==m.endB&&(H=mv(g.parent.content.cut(g.parentOffset,v.parentOffset),b.parent.content.cut(b.parentOffset,m.endA-b.start()))))k=n.state.tr,H.type=="add"?k.addMark(y,T,H.mark):k.removeMark(y,T,H.mark);else if(g.parent.child(g.index()).isText&&g.index()==v.index()-(v.textOffset?0:1)){let U=g.parent.textBetween(g.parentOffset,v.parentOffset);if(n.someProp("handleTextInput",R=>R(n,y,T,U)))return;k=n.state.tr.insertText(U,y,T)}}if(k||(k=n.state.tr.replace(y,T,d.doc.slice(m.start-d.from,m.endB-d.from))),d.sel){let U=vh(n,k.doc,d.sel);U&&!(it&&Kt&&n.composing&&U.empty&&(m.start!=m.endB||n.input.lastAndroidDelete<Date.now()-100)&&(U.head==y||U.head==k.mapping.map(T)-1)||Ct&&U.empty&&U.head==y)&&k.setSelection(U)}$&&k.ensureMarks($),i&&k.setMeta("composition",i),n.dispatch(k.scrollIntoView())}function vh(n,e,t){return Math.max(t.anchor,t.head)>e.content.size?null:dl(n,e.resolve(t.anchor),e.resolve(t.head))}function mv(n,e){let t=n.firstChild.marks,r=e.firstChild.marks,o=t,i=r,s,l,a;for(let u=0;u<r.length;u++)o=r[u].removeFromSet(o);for(let u=0;u<t.length;u++)i=t[u].removeFromSet(i);if(o.length==1&&i.length==0)l=o[0],s="add",a=u=>u.mark(l.addToSet(u.marks));else if(o.length==0&&i.length==1)l=i[0],s="remove",a=u=>u.mark(l.removeFromSet(u.marks));else return null;let d=[];for(let u=0;u<e.childCount;u++)d.push(a(e.child(u)));if(le.from(d).eq(n))return{mark:l,type:s}}function gv(n,e,t,r,o){if(!r.parent.isTextblock||t-e<=o.pos-r.pos||bl(r,!0,!1)<o.pos)return!1;let i=n.resolve(e);if(i.parentOffset<i.parent.content.size||!i.parent.isTextblock)return!1;let s=n.resolve(bl(i,!0,!0));return!s.parent.isTextblock||s.pos>t||bl(s,!0,!1)<t?!1:r.parent.content.cut(r.parentOffset).eq(s.parent.content)}function bl(n,e,t){let r=n.depth,o=e?n.end():n.pos;for(;r>0&&(e||n.indexAfter(r)==n.node(r).childCount);)r--,o++,e=!1;if(t){let i=n.node(r).maybeChild(n.indexAfter(r));for(;i&&!i.isLeaf;)i=i.firstChild,o++}return o}function vv(n,e,t,r,o){let i=n.findDiffStart(e,t);if(i==null)return null;let{a:s,b:l}=n.findDiffEnd(e,t+n.size,t+e.size);if(o=="end"){let a=Math.max(0,i-Math.min(s,l));r-=s+a-i}if(s<i&&n.size<e.size){let a=r<=i&&r>=s?i-r:0;i-=a,i&&i<e.size&&yh(e.textBetween(i-1,i+1))&&(i+=a?1:-1),l=i+(l-s),s=i}else if(l<i){let a=r<=i&&r>=l?i-r:0;i-=a,i&&i<n.size&&yh(n.textBetween(i-1,i+1))&&(i+=a?1:-1),s=i+(s-l),l=i}return{start:i,endA:s,endB:l}}function yh(n){if(n.length!=2)return!1;let e=n.charCodeAt(0),t=n.charCodeAt(1);return e>=56320&&e<=57343&&t>=55296&&t<=56319}class yv{constructor(e,t){this._root=null,this.focused=!1,this.trackWrites=null,this.mounted=!1,this.markCursor=null,this.cursorWrapper=null,this.lastSelectedViewDesc=void 0,this.input=new F8,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=t,this.state=t.state,this.directPlugins=t.plugins||[],this.directPlugins.forEach(wh),this.dispatch=this.dispatch.bind(this),this.dom=e&&e.mount||document.createElement("div"),e&&(e.appendChild?e.appendChild(this.dom):typeof e=="function"?e(this.dom):e.mount&&(this.mounted=!0)),this.editable=bh(this),Eh(this),this.nodeViews=Ah(this),this.docView=If(this.state.doc,Ch(this),El(this),this.dom,this),this.domObserver=new lv(this,(r,o,i,s)=>pv(this,r,o,i,s)),this.domObserver.start(),$8(this),this.updatePluginViews()}get composing(){return this.input.composing}get props(){if(this._props.state!=this.state){let e=this._props;this._props={};for(let t in e)this._props[t]=e[t];this._props.state=this.state}return this._props}update(e){e.handleDOMEvents!=this._props.handleDOMEvents&&pl(this);let t=this._props;this._props=e,e.plugins&&(e.plugins.forEach(wh),this.directPlugins=e.plugins),this.updateStateInner(e.state,t)}setProps(e){let t={};for(let r in this._props)t[r]=this._props[r];t.state=this.state;for(let r in e)t[r]=e[r];this.update(t)}updateState(e){this.updateStateInner(e,this._props)}updateStateInner(e,t){var r;let o=this.state,i=!1,s=!1;e.storedMarks&&this.composing&&(ah(this),s=!0),this.state=e;let l=o.plugins!=e.plugins||this._props.plugins!=t.plugins;if(l||this._props.plugins!=t.plugins||this._props.nodeViews!=t.nodeViews){let p=Ah(this);Ev(p,this.nodeViews)&&(this.nodeViews=p,i=!0)}(l||t.handleDOMEvents!=this._props.handleDOMEvents)&&pl(this),this.editable=bh(this),Eh(this);let a=El(this),d=Ch(this),u=o.plugins!=e.plugins&&!o.doc.eq(e.doc)?"reset":e.scrollToSelection>o.scrollToSelection?"to selection":"preserve",f=i||!this.docView.matchesNode(e.doc,d,a);(f||!e.selection.eq(o.selection))&&(s=!0);let h=u=="preserve"&&s&&this.dom.style.overflowAnchor==null&&e8(this);if(s){this.domObserver.stop();let p=f&&(Ct||it)&&!this.composing&&!o.selection.empty&&!e.selection.empty&&Cv(o.selection,e.selection);if(f){let m=it?this.trackWrites=this.domSelectionRange().focusNode:null;(i||!this.docView.update(e.doc,d,a,this))&&(this.docView.updateOuterDeco([]),this.docView.destroy(),this.docView=If(e.doc,d,a,this.dom,this)),m&&!this.trackWrites&&(p=!0)}p||!(this.input.mouseDown&&this.domObserver.currentSelection.eq(this.domSelectionRange())&&k8(this))?hn(this,p):(Ff(this,e.selection),this.domObserver.setCurSelection()),this.domObserver.start()}this.updatePluginViews(o),!((r=this.dragging)===null||r===void 0)&&r.node&&!o.doc.eq(e.doc)&&this.updateDraggedNode(this.dragging,o),u=="reset"?this.dom.scrollTop=0:u=="to selection"?this.scrollToSelection():h&&t8(h)}scrollToSelection(){let e=this.domSelectionRange().focusNode;if(!this.someProp("handleScrollToSelection",t=>t(this)))if(this.state.selection instanceof Me){let t=this.docView.domAfterPos(this.state.selection.from);t.nodeType==1&&gf(this,t.getBoundingClientRect(),e)}else gf(this,this.coordsAtPos(this.state.selection.head,1),e)}destroyPluginViews(){let e;for(;e=this.pluginViews.pop();)e.destroy&&e.destroy()}updatePluginViews(e){if(!e||e.plugins!=this.state.plugins||this.directPlugins!=this.prevDirectPlugins){this.prevDirectPlugins=this.directPlugins,this.destroyPluginViews();for(let t=0;t<this.directPlugins.length;t++){let r=this.directPlugins[t];r.spec.view&&this.pluginViews.push(r.spec.view(this))}for(let t=0;t<this.state.plugins.length;t++){let r=this.state.plugins[t];r.spec.view&&this.pluginViews.push(r.spec.view(this))}}else for(let t=0;t<this.pluginViews.length;t++){let r=this.pluginViews[t];r.update&&r.update(this,e)}}updateDraggedNode(e,t){let r=e.node,o=-1;if(this.state.doc.nodeAt(r.from)==r.node)o=r.from;else{let i=r.from+(this.state.doc.content.size-t.doc.content.size);(i>0&&this.state.doc.nodeAt(i))==r.node&&(o=i)}this.dragging=new ch(e.slice,e.move,o<0?void 0:Me.create(this.state.doc,o))}someProp(e,t){let r=this._props&&this._props[e],o;if(r!=null&&(o=t?t(r):r))return o;for(let s=0;s<this.directPlugins.length;s++){let l=this.directPlugins[s].props[e];if(l!=null&&(o=t?t(l):l))return o}let i=this.state.plugins;if(i)for(let s=0;s<i.length;s++){let l=i[s].props[e];if(l!=null&&(o=t?t(l):l))return o}}hasFocus(){if(Ct){let e=this.root.activeElement;if(e==this.dom)return!0;if(!e||!this.dom.contains(e))return!1;for(;e&&this.dom!=e&&this.dom.contains(e);){if(e.contentEditable=="false")return!1;e=e.parentElement}return!0}return this.root.activeElement==this.dom}focus(){this.domObserver.stop(),this.editable&&n8(this.dom),hn(this),this.domObserver.start()}get root(){let e=this._root;if(e==null){for(let t=this.dom.parentNode;t;t=t.parentNode)if(t.nodeType==9||t.nodeType==11&&t.host)return t.getSelection||(Object.getPrototypeOf(t).getSelection=()=>t.ownerDocument.getSelection()),this._root=t}return e||document}updateRoot(){this._root=null}posAtCoords(e){return a8(this,e)}coordsAtPos(e,t=1){return Af(this,e,t)}domAtPos(e,t=0){return this.docView.domFromPos(e,t)}nodeDOM(e){let t=this.docView.descAt(e);return t?t.nodeDOM:null}posAtDOM(e,t,r=-1){let o=this.docView.posFromDOM(e,t,r);if(o==null)throw new RangeError("DOM position not inside the editor");return o}endOfTextblock(e,t){return f8(this,t||this.state,e)}pasteHTML(e,t){return Ro(this,"",e,!1,t||new ClipboardEvent("paste"))}pasteText(e,t){return Ro(this,e,null,!0,t||new ClipboardEvent("paste"))}destroy(){this.docView&&(z8(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],El(this),this),this.dom.textContent=""):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null)}get isDestroyed(){return this.docView==null}dispatchEvent(e){return U8(this,e)}dispatch(e){let t=this._props.dispatchTransaction;t?t.call(this,e):this.updateState(this.state.apply(e))}domSelectionRange(){return dt&&this.root.nodeType===11&&Q4(this.dom.ownerDocument)==this.dom?dv(this):this.domSelection()}domSelection(){return this.root.getSelection()}}function Ch(n){let e=Object.create(null);return e.class="ProseMirror",e.contenteditable=String(n.editable),n.someProp("attributes",t=>{if(typeof t=="function"&&(t=t(n.state)),t)for(let r in t)r=="class"?e.class+=" "+t[r]:r=="style"?e.style=(e.style?e.style+";":"")+t[r]:!e[r]&&r!="contenteditable"&&r!="nodeName"&&(e[r]=String(t[r]))}),e.translate||(e.translate="no"),[Nt.node(0,n.state.doc.content.size,e)]}function Eh(n){if(n.markCursor){let e=document.createElement("img");e.className="ProseMirror-separator",e.setAttribute("mark-placeholder","true"),e.setAttribute("alt",""),n.cursorWrapper={dom:e,deco:Nt.widget(n.state.selection.head,e,{raw:!0,marks:n.markCursor})}}else n.cursorWrapper=null}function bh(n){return!n.someProp("editable",e=>e(n.state)===!1)}function Cv(n,e){let t=Math.min(n.$anchor.sharedDepth(n.head),e.$anchor.sharedDepth(e.head));return n.$anchor.start(t)!=e.$anchor.start(t)}function Ah(n){let e=Object.create(null);function t(r){for(let o in r)Object.prototype.hasOwnProperty.call(e,o)||(e[o]=r[o])}return n.someProp("nodeViews",t),n.someProp("markViews",t),e}function Ev(n,e){let t=0,r=0;for(let o in n){if(n[o]!=e[o])return!0;t++}for(let o in e)r++;return t!=r}function wh(n){if(n.spec.state||n.spec.filterTransaction||n.spec.appendTransaction)throw new RangeError("Plugins passed directly to the view must not have a state component")}for(var Dn={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},$i={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},bv=typeof navigator<"u"&&/Mac/.test(navigator.platform),Av=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),nt=0;nt<10;nt++)Dn[48+nt]=Dn[96+nt]=String(nt);for(var nt=1;nt<=24;nt++)Dn[nt+111]="F"+nt;for(var nt=65;nt<=90;nt++)Dn[nt]=String.fromCharCode(nt+32),$i[nt]=String.fromCharCode(nt);for(var Al in Dn)$i.hasOwnProperty(Al)||($i[Al]=Dn[Al]);function wv(n){var e=bv&&n.metaKey&&n.shiftKey&&!n.ctrlKey&&!n.altKey||Av&&n.shiftKey&&n.key&&n.key.length==1||n.key=="Unidentified",t=!e&&n.key||(n.shiftKey?$i:Dn)[n.keyCode]||n.key||"Unidentified";return t=="Esc"&&(t="Escape"),t=="Del"&&(t="Delete"),t=="Left"&&(t="ArrowLeft"),t=="Up"&&(t="ArrowUp"),t=="Right"&&(t="ArrowRight"),t=="Down"&&(t="ArrowDown"),t}const Sv=typeof navigator<"u"?/Mac|iP(hone|[oa]d)/.test(navigator.platform):!1;function kv(n){let e=n.split(/-(?!$)/),t=e[e.length-1];t=="Space"&&(t=" ");let r,o,i,s;for(let l=0;l<e.length-1;l++){let a=e[l];if(/^(cmd|meta|m)$/i.test(a))s=!0;else if(/^a(lt)?$/i.test(a))r=!0;else if(/^(c|ctrl|control)$/i.test(a))o=!0;else if(/^s(hift)?$/i.test(a))i=!0;else if(/^mod$/i.test(a))Sv?s=!0:o=!0;else throw new Error("Unrecognized modifier name: "+a)}return r&&(t="Alt-"+t),o&&(t="Ctrl-"+t),s&&(t="Meta-"+t),i&&(t="Shift-"+t),t}function xv(n){let e=Object.create(null);for(let t in n)e[kv(t)]=n[t];return e}function wl(n,e,t=!0){return e.altKey&&(n="Alt-"+n),e.ctrlKey&&(n="Ctrl-"+n),e.metaKey&&(n="Meta-"+n),t&&e.shiftKey&&(n="Shift-"+n),n}function Tv(n){return new yt({props:{handleKeyDown:Mv(n)}})}function Mv(n){let e=xv(n);return function(t,r){let o=wv(r),i,s=e[wl(o,r)];if(s&&s(t.state,t.dispatch,t))return!0;if(o.length==1&&o!=" "){if(r.shiftKey){let l=e[wl(o,r,!1)];if(l&&l(t.state,t.dispatch,t))return!0}if((r.shiftKey||r.altKey||r.metaKey||o.charCodeAt(0)>127)&&(i=Dn[r.keyCode])&&i!=o){let l=e[wl(i,r)];if(l&&l(t.state,t.dispatch,t))return!0}}return!1}}const Iv=(n,e)=>n.selection.empty?!1:(e&&e(n.tr.deleteSelection().scrollIntoView()),!0);function Ov(n,e){let{$cursor:t}=n.selection;return!t||(e?!e.endOfTextblock("backward",n):t.parentOffset>0)?null:t}const _v=(n,e,t)=>{let r=Ov(n,t);if(!r)return!1;let o=Sh(r);if(!o){let s=r.blockRange(),l=s&&Nr(s);return l==null?!1:(e&&e(n.tr.lift(s,l).scrollIntoView()),!0)}let i=o.nodeBefore;if(!i.type.spec.isolating&&Th(n,o,e))return!0;if(r.parent.content.size==0&&(Ur(i,"end")||Me.isSelectable(i))){let s=Ka(n.doc,r.before(),r.after(),ye.empty);if(s&&s.slice.size<s.to-s.from){if(e){let l=n.tr.step(s);l.setSelection(Ur(i,"end")?Re.findFrom(l.doc.resolve(l.mapping.map(o.pos,-1)),-1):Me.create(l.doc,o.pos-i.nodeSize)),e(l.scrollIntoView())}return!0}}return i.isAtom&&o.depth==r.depth-1?(e&&e(n.tr.delete(o.pos-i.nodeSize,o.pos).scrollIntoView()),!0):!1};function Ur(n,e,t=!1){for(let r=n;r;r=e=="start"?r.firstChild:r.lastChild){if(r.isTextblock)return!0;if(t&&r.childCount!=1)return!1}return!1}const Nv=(n,e,t)=>{let{$head:r,empty:o}=n.selection,i=r;if(!o)return!1;if(r.parent.isTextblock){if(t?!t.endOfTextblock("backward",n):r.parentOffset>0)return!1;i=Sh(r)}let s=i&&i.nodeBefore;return!s||!Me.isSelectable(s)?!1:(e&&e(n.tr.setSelection(Me.create(n.doc,i.pos-s.nodeSize)).scrollIntoView()),!0)};function Sh(n){if(!n.parent.type.spec.isolating)for(let e=n.depth-1;e>=0;e--){if(n.index(e)>0)return n.doc.resolve(n.before(e+1));if(n.node(e).type.spec.isolating)break}return null}function Lv(n,e){let{$cursor:t}=n.selection;return!t||(e?!e.endOfTextblock("forward",n):t.parentOffset<t.parent.content.size)?null:t}const Dv=(n,e,t)=>{let r=Lv(n,t);if(!r)return!1;let o=kh(r);if(!o)return!1;let i=o.nodeAfter;if(Th(n,o,e))return!0;if(r.parent.content.size==0&&(Ur(i,"start")||Me.isSelectable(i))){let s=Ka(n.doc,r.before(),r.after(),ye.empty);if(s&&s.slice.size<s.to-s.from){if(e){let l=n.tr.step(s);l.setSelection(Ur(i,"start")?Re.findFrom(l.doc.resolve(l.mapping.map(o.pos)),1):Me.create(l.doc,l.mapping.map(o.pos))),e(l.scrollIntoView())}return!0}}return i.isAtom&&o.depth==r.depth-1?(e&&e(n.tr.delete(o.pos,o.pos+i.nodeSize).scrollIntoView()),!0):!1},Bv=(n,e,t)=>{let{$head:r,empty:o}=n.selection,i=r;if(!o)return!1;if(r.parent.isTextblock){if(t?!t.endOfTextblock("forward",n):r.parentOffset<r.parent.content.size)return!1;i=kh(r)}let s=i&&i.nodeAfter;return!s||!Me.isSelectable(s)?!1:(e&&e(n.tr.setSelection(Me.create(n.doc,i.pos)).scrollIntoView()),!0)};function kh(n){if(!n.parent.type.spec.isolating)for(let e=n.depth-1;e>=0;e--){let t=n.node(e);if(n.index(e)+1<t.childCount)return n.doc.resolve(n.after(e+1));if(t.type.spec.isolating)break}return null}const Rv=(n,e)=>{let t=n.selection,r=t instanceof Me,o;if(r){if(t.node.isTextblock||!kn(n.doc,t.from))return!1;o=t.from}else if(o=Oi(n.doc,t.from,-1),o==null)return!1;if(e){let i=n.tr.join(o);r&&i.setSelection(Me.create(i.doc,o-n.doc.resolve(o).nodeBefore.nodeSize)),e(i.scrollIntoView())}return!0},Pv=(n,e)=>{let t=n.selection,r;if(t instanceof Me){if(t.node.isTextblock||!kn(n.doc,t.to))return!1;r=t.to}else if(r=Oi(n.doc,t.to,1),r==null)return!1;return e&&e(n.tr.join(r).scrollIntoView()),!0},Vv=(n,e)=>{let{$from:t,$to:r}=n.selection,o=t.blockRange(r),i=o&&Nr(o);return i==null?!1:(e&&e(n.tr.lift(o,i).scrollIntoView()),!0)},Fv=(n,e)=>{let{$head:t,$anchor:r}=n.selection;return!t.parent.type.spec.code||!t.sameParent(r)?!1:(e&&e(n.tr.insertText(`
|
|
70
|
+
`).scrollIntoView()),!0)};function xh(n){for(let e=0;e<n.edgeCount;e++){let{type:t}=n.edge(e);if(t.isTextblock&&!t.hasRequiredAttrs())return t}return null}const $v=(n,e)=>{let{$head:t,$anchor:r}=n.selection;if(!t.parent.type.spec.code||!t.sameParent(r))return!1;let o=t.node(-1),i=t.indexAfter(-1),s=xh(o.contentMatchAt(i));if(!s||!o.canReplaceWith(i,i,s))return!1;if(e){let l=t.after(),a=n.tr.replaceWith(l,l,s.createAndFill());a.setSelection(Re.near(a.doc.resolve(l),1)),e(a.scrollIntoView())}return!0},zv=(n,e)=>{let t=n.selection,{$from:r,$to:o}=t;if(t instanceof Ut||r.parent.inlineContent||o.parent.inlineContent)return!1;let i=xh(o.parent.contentMatchAt(o.indexAfter()));if(!i||!i.isTextblock)return!1;if(e){let s=(!r.parentOffset&&o.index()<o.parent.childCount?r:o).pos,l=n.tr.insert(s,i.createAndFill());l.setSelection(Pe.create(l.doc,s+1)),e(l.scrollIntoView())}return!0},Hv=(n,e)=>{let{$cursor:t}=n.selection;if(!t||t.parent.content.size)return!1;if(t.depth>1&&t.after()!=t.end(-1)){let i=t.before();if(Lr(n.doc,i))return e&&e(n.tr.split(i).scrollIntoView()),!0}let r=t.blockRange(),o=r&&Nr(r);return o==null?!1:(e&&e(n.tr.lift(r,o).scrollIntoView()),!0)},Uv=(n,e)=>{let{$from:t,to:r}=n.selection,o,i=t.sharedDepth(r);return i==0?!1:(o=t.before(i),e&&e(n.tr.setSelection(Me.create(n.doc,o))),!0)};function jv(n,e,t){let r=e.nodeBefore,o=e.nodeAfter,i=e.index();return!r||!o||!r.type.compatibleContent(o.type)?!1:!r.content.size&&e.parent.canReplace(i-1,i)?(t&&t(n.tr.delete(e.pos-r.nodeSize,e.pos).scrollIntoView()),!0):!e.parent.canReplace(i,i+1)||!(o.isTextblock||kn(n.doc,e.pos))?!1:(t&&t(n.tr.clearIncompatible(e.pos,r.type,r.contentMatchAt(r.childCount)).join(e.pos).scrollIntoView()),!0)}function Th(n,e,t){let r=e.nodeBefore,o=e.nodeAfter,i,s;if(r.type.spec.isolating||o.type.spec.isolating)return!1;if(jv(n,e,t))return!0;let l=e.parent.canReplace(e.index(),e.index()+1);if(l&&(i=(s=r.contentMatchAt(r.childCount)).findWrapping(o.type))&&s.matchType(i[0]||o.type).validEnd){if(t){let f=e.pos+o.nodeSize,h=le.empty;for(let g=i.length-1;g>=0;g--)h=le.from(i[g].create(null,h));h=le.from(r.copy(h));let p=n.tr.step(new Je(e.pos-1,f,e.pos,f,new ye(h,1,0),i.length,!0)),m=f+2*i.length;kn(p.doc,m)&&p.join(m),t(p.scrollIntoView())}return!0}let a=Re.findFrom(e,1),d=a&&a.$from.blockRange(a.$to),u=d&&Nr(d);if(u!=null&&u>=e.depth)return t&&t(n.tr.lift(d,u).scrollIntoView()),!0;if(l&&Ur(o,"start",!0)&&Ur(r,"end")){let f=r,h=[];for(;h.push(f),!f.isTextblock;)f=f.lastChild;let p=o,m=1;for(;!p.isTextblock;p=p.firstChild)m++;if(f.canReplace(f.childCount,f.childCount,p.content)){if(t){let g=le.empty;for(let b=h.length-1;b>=0;b--)g=le.from(h[b].copy(g));let v=n.tr.step(new Je(e.pos-h.length,e.pos+o.nodeSize,e.pos+m,e.pos+o.nodeSize-m,new ye(g,h.length,0),0,!0));t(v.scrollIntoView())}return!0}}return!1}function Mh(n){return function(e,t){let r=e.selection,o=n<0?r.$from:r.$to,i=o.depth;for(;o.node(i).isInline;){if(!i)return!1;i--}return o.node(i).isTextblock?(t&&t(e.tr.setSelection(Pe.create(e.doc,n<0?o.start(i):o.end(i)))),!0):!1}}const Wv=Mh(-1),Kv=Mh(1);function Qv(n,e=null){return function(t,r){let{$from:o,$to:i}=t.selection,s=o.blockRange(i),l=s&&Wa(s,n,e);return l?(r&&r(t.tr.wrap(s,l).scrollIntoView()),!0):!1}}function Ih(n,e=null){return function(t,r){let o=!1;for(let i=0;i<t.selection.ranges.length&&!o;i++){let{$from:{pos:s},$to:{pos:l}}=t.selection.ranges[i];t.doc.nodesBetween(s,l,(a,d)=>{if(o)return!1;if(!(!a.isTextblock||a.hasMarkup(n,e)))if(a.type==n)o=!0;else{let u=t.doc.resolve(d),f=u.index();o=u.parent.canReplaceWith(f,f+1,n)}})}if(!o)return!1;if(r){let i=t.tr;for(let s=0;s<t.selection.ranges.length;s++){let{$from:{pos:l},$to:{pos:a}}=t.selection.ranges[s];i.setBlockType(l,a,n,e)}r(i.scrollIntoView())}return!0}}typeof navigator<"u"?/Mac|iP(hone|[oa]d)/.test(navigator.platform):typeof os<"u"&&os.platform&&os.platform()=="darwin";function Yv(n,e=null){return function(t,r){let{$from:o,$to:i}=t.selection,s=o.blockRange(i),l=!1,a=s;if(!s)return!1;if(s.depth>=2&&o.node(s.depth-1).type.compatibleContent(n)&&s.startIndex==0){if(o.index(s.depth-1)==0)return!1;let u=t.doc.resolve(s.start-2);a=new wi(u,u,s.depth),s.endIndex<s.parent.childCount&&(s=new wi(o,t.doc.resolve(i.end(s.depth)),s.depth)),l=!0}let d=Wa(a,n,e,s);return d?(r&&r(Gv(t.tr,s,d,l,n).scrollIntoView()),!0):!1}}function Gv(n,e,t,r,o){let i=le.empty;for(let u=t.length-1;u>=0;u--)i=le.from(t[u].type.create(t[u].attrs,i));n.step(new Je(e.start-(r?2:0),e.end,e.start,e.end,new ye(i,0,0),t.length,!0));let s=0;for(let u=0;u<t.length;u++)t[u].type==o&&(s=u+1);let l=t.length-s,a=e.start+t.length-(r?2:0),d=e.parent;for(let u=e.startIndex,f=e.endIndex,h=!0;u<f;u++,h=!1)!h&&Lr(n.doc,a,l)&&(n.split(a,l),a+=2*l),a+=d.child(u).nodeSize;return n}function Zv(n){return function(e,t){let{$from:r,$to:o}=e.selection,i=r.blockRange(o,s=>s.childCount>0&&s.firstChild.type==n);return i?t?r.node(i.depth-1).type==n?Jv(e,t,n,i):Xv(e,t,i):!0:!1}}function Jv(n,e,t,r){let o=n.tr,i=r.end,s=r.$to.end(r.depth);i<s&&(o.step(new Je(i-1,s,i,s,new ye(le.from(t.create(null,r.parent.copy())),1,0),1,!0)),r=new wi(o.doc.resolve(r.$from.pos),o.doc.resolve(s),r.depth));const l=Nr(r);if(l==null)return!1;o.lift(r,l);let a=o.mapping.map(i,-1)-1;return kn(o.doc,a)&&o.join(a),e(o.scrollIntoView()),!0}function Xv(n,e,t){let r=n.tr,o=t.parent;for(let p=t.end,m=t.endIndex-1,g=t.startIndex;m>g;m--)p-=o.child(m).nodeSize,r.delete(p-1,p+1);let i=r.doc.resolve(t.start),s=i.nodeAfter;if(r.mapping.map(t.end)!=t.start+i.nodeAfter.nodeSize)return!1;let l=t.startIndex==0,a=t.endIndex==o.childCount,d=i.node(-1),u=i.index(-1);if(!d.canReplace(u+(l?0:1),u+1,s.content.append(a?le.empty:le.from(o))))return!1;let f=i.pos,h=f+s.nodeSize;return r.step(new Je(f-(l?1:0),h+(a?1:0),f+1,h-1,new ye((l?le.empty:le.from(o.copy(le.empty))).append(a?le.empty:le.from(o.copy(le.empty))),l?0:1,a?0:1),l?0:1)),e(r.scrollIntoView()),!0}function qv(n){return function(e,t){let{$from:r,$to:o}=e.selection,i=r.blockRange(o,d=>d.childCount>0&&d.firstChild.type==n);if(!i)return!1;let s=i.startIndex;if(s==0)return!1;let l=i.parent,a=l.child(s-1);if(a.type!=n)return!1;if(t){let d=a.lastChild&&a.lastChild.type==l.type,u=le.from(d?n.create():null),f=new ye(le.from(n.create(null,le.from(l.type.create(null,u)))),d?3:1,0),h=i.start,p=i.end;t(e.tr.step(new Je(h-(d?3:1),p,h,p,f,1,!0)).scrollIntoView())}return!0}}function zi(n){const{state:e,transaction:t}=n;let{selection:r}=t,{doc:o}=t,{storedMarks:i}=t;return{...e,apply:e.apply.bind(e),applyTransaction:e.applyTransaction.bind(e),filterTransaction:e.filterTransaction,plugins:e.plugins,schema:e.schema,reconfigure:e.reconfigure.bind(e),toJSON:e.toJSON.bind(e),get storedMarks(){return i},get selection(){return r},get doc(){return o},get tr(){return r=t.selection,o=t.doc,i=t.storedMarks,t}}}class Hi{constructor(e){this.editor=e.editor,this.rawCommands=this.editor.extensionManager.commands,this.customState=e.state}get hasCustomState(){return!!this.customState}get state(){return this.customState||this.editor.state}get commands(){const{rawCommands:e,editor:t,state:r}=this,{view:o}=t,{tr:i}=r,s=this.buildProps(i);return Object.fromEntries(Object.entries(e).map(([l,a])=>[l,(...u)=>{const f=a(...u)(s);return!i.getMeta("preventDispatch")&&!this.hasCustomState&&o.dispatch(i),f}]))}get chain(){return()=>this.createChain()}get can(){return()=>this.createCan()}createChain(e,t=!0){const{rawCommands:r,editor:o,state:i}=this,{view:s}=o,l=[],a=!!e,d=e||i.tr,u=()=>(!a&&t&&!d.getMeta("preventDispatch")&&!this.hasCustomState&&s.dispatch(d),l.every(h=>h===!0)),f={...Object.fromEntries(Object.entries(r).map(([h,p])=>[h,(...g)=>{const v=this.buildProps(d,t),b=p(...g)(v);return l.push(b),f}])),run:u};return f}createCan(e){const{rawCommands:t,state:r}=this,o=!1,i=e||r.tr,s=this.buildProps(i,o);return{...Object.fromEntries(Object.entries(t).map(([a,d])=>[a,(...u)=>d(...u)({...s,dispatch:void 0})])),chain:()=>this.createChain(i,o)}}buildProps(e,t=!0){const{rawCommands:r,editor:o,state:i}=this,{view:s}=o,l={tr:e,editor:o,view:s,state:zi({state:i,transaction:e}),dispatch:t?()=>{}:void 0,chain:()=>this.createChain(e,t),can:()=>this.createCan(e),get commands(){return Object.fromEntries(Object.entries(r).map(([a,d])=>[a,(...u)=>d(...u)(l)]))}};return l}}class ey{constructor(){this.callbacks={}}on(e,t){return this.callbacks[e]||(this.callbacks[e]=[]),this.callbacks[e].push(t),this}emit(e,...t){const r=this.callbacks[e];return r&&r.forEach(o=>o.apply(this,t)),this}off(e,t){const r=this.callbacks[e];return r&&(t?this.callbacks[e]=r.filter(o=>o!==t):delete this.callbacks[e]),this}removeAllListeners(){this.callbacks={}}}function Ee(n,e,t){return n.config[e]===void 0&&n.parent?Ee(n.parent,e,t):typeof n.config[e]=="function"?n.config[e].bind({...t,parent:n.parent?Ee(n.parent,e,t):null}):n.config[e]}function Ui(n){const e=n.filter(o=>o.type==="extension"),t=n.filter(o=>o.type==="node"),r=n.filter(o=>o.type==="mark");return{baseExtensions:e,nodeExtensions:t,markExtensions:r}}function Oh(n){const e=[],{nodeExtensions:t,markExtensions:r}=Ui(n),o=[...t,...r],i={default:null,rendered:!0,renderHTML:null,parseHTML:null,keepOnSplit:!0,isRequired:!1};return n.forEach(s=>{const l={name:s.name,options:s.options,storage:s.storage},a=Ee(s,"addGlobalAttributes",l);if(!a)return;a().forEach(u=>{u.types.forEach(f=>{Object.entries(u.attributes).forEach(([h,p])=>{e.push({type:f,name:h,attribute:{...i,...p}})})})})}),o.forEach(s=>{const l={name:s.name,options:s.options,storage:s.storage},a=Ee(s,"addAttributes",l);if(!a)return;const d=a();Object.entries(d).forEach(([u,f])=>{const h={...i,...f};typeof(h==null?void 0:h.default)=="function"&&(h.default=h.default()),h!=null&&h.isRequired&&(h==null?void 0:h.default)===void 0&&delete h.default,e.push({type:s.name,name:u,attribute:h})})}),e}function Xe(n,e){if(typeof n=="string"){if(!e.nodes[n])throw Error(`There is no node type named '${n}'. Maybe you forgot to add the extension?`);return e.nodes[n]}return n}function ht(...n){return n.filter(e=>!!e).reduce((e,t)=>{const r={...e};return Object.entries(t).forEach(([o,i])=>{if(!r[o]){r[o]=i;return}if(o==="class"){const l=i?i.split(" "):[],a=r[o]?r[o].split(" "):[],d=l.filter(u=>!a.includes(u));r[o]=[...a,...d].join(" ")}else o==="style"?r[o]=[r[o],i].join("; "):r[o]=i}),r},{})}function Sl(n,e){return e.filter(t=>t.attribute.rendered).map(t=>t.attribute.renderHTML?t.attribute.renderHTML(n.attrs)||{}:{[t.name]:n.attrs[t.name]}).reduce((t,r)=>ht(t,r),{})}function _h(n){return typeof n=="function"}function De(n,e=void 0,...t){return _h(n)?e?n.bind(e)(...t):n(...t):n}function ty(n={}){return Object.keys(n).length===0&&n.constructor===Object}function ny(n){return typeof n!="string"?n:n.match(/^[+-]?(?:\d*\.)?\d+$/)?Number(n):n==="true"?!0:n==="false"?!1:n}function Nh(n,e){return n.style?n:{...n,getAttrs:t=>{const r=n.getAttrs?n.getAttrs(t):n.attrs;if(r===!1)return!1;const o=e.reduce((i,s)=>{const l=s.attribute.parseHTML?s.attribute.parseHTML(t):ny(t.getAttribute(s.name));return l==null?i:{...i,[s.name]:l}},{});return{...r,...o}}}}function Lh(n){return Object.fromEntries(Object.entries(n).filter(([e,t])=>e==="attrs"&&ty(t)?!1:t!=null))}function ry(n,e){var t;const r=Oh(n),{nodeExtensions:o,markExtensions:i}=Ui(n),s=(t=o.find(d=>Ee(d,"topNode")))===null||t===void 0?void 0:t.name,l=Object.fromEntries(o.map(d=>{const u=r.filter(b=>b.type===d.name),f={name:d.name,options:d.options,storage:d.storage,editor:e},h=n.reduce((b,A)=>{const w=Ee(A,"extendNodeSchema",f);return{...b,...w?w(d):{}}},{}),p=Lh({...h,content:De(Ee(d,"content",f)),marks:De(Ee(d,"marks",f)),group:De(Ee(d,"group",f)),inline:De(Ee(d,"inline",f)),atom:De(Ee(d,"atom",f)),selectable:De(Ee(d,"selectable",f)),draggable:De(Ee(d,"draggable",f)),code:De(Ee(d,"code",f)),defining:De(Ee(d,"defining",f)),isolating:De(Ee(d,"isolating",f)),attrs:Object.fromEntries(u.map(b=>{var A;return[b.name,{default:(A=b==null?void 0:b.attribute)===null||A===void 0?void 0:A.default}]}))}),m=De(Ee(d,"parseHTML",f));m&&(p.parseDOM=m.map(b=>Nh(b,u)));const g=Ee(d,"renderHTML",f);g&&(p.toDOM=b=>g({node:b,HTMLAttributes:Sl(b,u)}));const v=Ee(d,"renderText",f);return v&&(p.toText=v),[d.name,p]})),a=Object.fromEntries(i.map(d=>{const u=r.filter(v=>v.type===d.name),f={name:d.name,options:d.options,storage:d.storage,editor:e},h=n.reduce((v,b)=>{const A=Ee(b,"extendMarkSchema",f);return{...v,...A?A(d):{}}},{}),p=Lh({...h,inclusive:De(Ee(d,"inclusive",f)),excludes:De(Ee(d,"excludes",f)),group:De(Ee(d,"group",f)),spanning:De(Ee(d,"spanning",f)),code:De(Ee(d,"code",f)),attrs:Object.fromEntries(u.map(v=>{var b;return[v.name,{default:(b=v==null?void 0:v.attribute)===null||b===void 0?void 0:b.default}]}))}),m=De(Ee(d,"parseHTML",f));m&&(p.parseDOM=m.map(v=>Nh(v,u)));const g=Ee(d,"renderHTML",f);return g&&(p.toDOM=v=>g({mark:v,HTMLAttributes:Sl(v,u)})),[d.name,p]}));return new u4({topNode:s,nodes:l,marks:a})}function kl(n,e){return e.nodes[n]||e.marks[n]||null}function Dh(n,e){return Array.isArray(e)?e.some(t=>(typeof t=="string"?t:t.name)===n.name):e}const oy=(n,e=500)=>{let t="";const r=n.parentOffset;return n.parent.nodesBetween(Math.max(0,r-e),r,(o,i,s,l)=>{var a,d;const u=((d=(a=o.type.spec).toText)===null||d===void 0?void 0:d.call(a,{node:o,pos:i,parent:s,index:l}))||o.textContent||"%leaf%";t+=u.slice(0,Math.max(0,r-i))}),t};function xl(n){return Object.prototype.toString.call(n)==="[object RegExp]"}class Bh{constructor(e){this.find=e.find,this.handler=e.handler}}const iy=(n,e)=>{if(xl(e))return e.exec(n);const t=e(n);if(!t)return null;const r=[t.text];return r.index=t.index,r.input=n,r.data=t.data,t.replaceWith&&(t.text.includes(t.replaceWith)||console.warn('[tiptap warn]: "inputRuleMatch.replaceWith" must be part of "inputRuleMatch.text".'),r.push(t.replaceWith)),r};function Tl(n){var e;const{editor:t,from:r,to:o,text:i,rules:s,plugin:l}=n,{view:a}=t;if(a.composing)return!1;const d=a.state.doc.resolve(r);if(d.parent.type.spec.code||!((e=d.nodeBefore||d.nodeAfter)===null||e===void 0)&&e.marks.find(h=>h.type.spec.code))return!1;let u=!1;const f=oy(d)+i;return s.forEach(h=>{if(u)return;const p=iy(f,h.find);if(!p)return;const m=a.state.tr,g=zi({state:a.state,transaction:m}),v={from:r-(p[0].length-i.length),to:o},{commands:b,chain:A,can:w}=new Hi({editor:t,state:g});h.handler({state:g,range:v,match:p,commands:b,chain:A,can:w})===null||!m.steps.length||(m.setMeta(l,{transform:m,from:r,to:o,text:i}),a.dispatch(m),u=!0)}),u}function sy(n){const{editor:e,rules:t}=n,r=new yt({state:{init(){return null},apply(o,i){const s=o.getMeta(r);return s||(o.selectionSet||o.docChanged?null:i)}},props:{handleTextInput(o,i,s,l){return Tl({editor:e,from:i,to:s,text:l,rules:t,plugin:r})},handleDOMEvents:{compositionend:o=>(setTimeout(()=>{const{$cursor:i}=o.state.selection;i&&Tl({editor:e,from:i.pos,to:i.pos,text:"",rules:t,plugin:r})}),!1)},handleKeyDown(o,i){if(i.key!=="Enter")return!1;const{$cursor:s}=o.state.selection;return s?Tl({editor:e,from:s.pos,to:s.pos,text:`
|
|
71
|
+
`,rules:t,plugin:r}):!1}},isInputRules:!0});return r}function ay(n){return typeof n=="number"}class ly{constructor(e){this.find=e.find,this.handler=e.handler}}const cy=(n,e)=>{if(xl(e))return[...n.matchAll(e)];const t=e(n);return t?t.map(r=>{const o=[r.text];return o.index=r.index,o.input=n,o.data=r.data,r.replaceWith&&(r.text.includes(r.replaceWith)||console.warn('[tiptap warn]: "pasteRuleMatch.replaceWith" must be part of "pasteRuleMatch.text".'),o.push(r.replaceWith)),o}):[]};function dy(n){const{editor:e,state:t,from:r,to:o,rule:i,pasteEvent:s,dropEvent:l}=n,{commands:a,chain:d,can:u}=new Hi({editor:e,state:t}),f=[];return t.doc.nodesBetween(r,o,(p,m)=>{if(!p.isTextblock||p.type.spec.code)return;const g=Math.max(r,m),v=Math.min(o,m+p.content.size),b=p.textBetween(g-m,v-m,void 0,"");cy(b,i.find).forEach(w=>{if(w.index===void 0)return;const y=g+w.index+1,T=y+w[0].length,k={from:t.tr.mapping.map(y),to:t.tr.mapping.map(T)},$=i.handler({state:t,range:k,match:w,commands:a,chain:d,can:u,pasteEvent:s,dropEvent:l});f.push($)})}),f.every(p=>p!==null)}function uy(n){const{editor:e,rules:t}=n;let r=null,o=!1,i=!1,s=new ClipboardEvent("paste"),l=new DragEvent("drop");return t.map(d=>new yt({view(u){const f=h=>{var p;r=!((p=u.dom.parentElement)===null||p===void 0)&&p.contains(h.target)?u.dom.parentElement:null};return window.addEventListener("dragstart",f),{destroy(){window.removeEventListener("dragstart",f)}}},props:{handleDOMEvents:{drop:(u,f)=>(i=r===u.dom.parentElement,l=f,!1),paste:(u,f)=>{var h;const p=(h=f.clipboardData)===null||h===void 0?void 0:h.getData("text/html");return s=f,o=!!(p!=null&&p.includes("data-pm-slice")),!1}}},appendTransaction:(u,f,h)=>{const p=u[0],m=p.getMeta("uiEvent")==="paste"&&!o,g=p.getMeta("uiEvent")==="drop"&&!i;if(!m&&!g)return;const v=f.doc.content.findDiffStart(h.doc.content),b=f.doc.content.findDiffEnd(h.doc.content);if(!ay(v)||!b||v===b.b)return;const A=h.tr,w=zi({state:h,transaction:A});if(!(!dy({editor:e,state:w,from:Math.max(v-1,0),to:b.b-1,rule:d,pasteEvent:s,dropEvent:l})||!A.steps.length))return l=new DragEvent("drop"),s=new ClipboardEvent("paste"),A}}))}function fy(n){const e=n.filter((t,r)=>n.indexOf(t)!==r);return[...new Set(e)]}class jr{constructor(e,t){this.splittableMarks=[],this.editor=t,this.extensions=jr.resolve(e),this.schema=ry(this.extensions,t),this.extensions.forEach(r=>{var o;this.editor.extensionStorage[r.name]=r.storage;const i={name:r.name,options:r.options,storage:r.storage,editor:this.editor,type:kl(r.name,this.schema)};r.type==="mark"&&(!((o=De(Ee(r,"keepOnSplit",i)))!==null&&o!==void 0)||o)&&this.splittableMarks.push(r.name);const s=Ee(r,"onBeforeCreate",i);s&&this.editor.on("beforeCreate",s);const l=Ee(r,"onCreate",i);l&&this.editor.on("create",l);const a=Ee(r,"onUpdate",i);a&&this.editor.on("update",a);const d=Ee(r,"onSelectionUpdate",i);d&&this.editor.on("selectionUpdate",d);const u=Ee(r,"onTransaction",i);u&&this.editor.on("transaction",u);const f=Ee(r,"onFocus",i);f&&this.editor.on("focus",f);const h=Ee(r,"onBlur",i);h&&this.editor.on("blur",h);const p=Ee(r,"onDestroy",i);p&&this.editor.on("destroy",p)})}static resolve(e){const t=jr.sort(jr.flatten(e)),r=fy(t.map(o=>o.name));return r.length&&console.warn(`[tiptap warn]: Duplicate extension names found: [${r.map(o=>`'${o}'`).join(", ")}]. This can lead to issues.`),t}static flatten(e){return e.map(t=>{const r={name:t.name,options:t.options,storage:t.storage},o=Ee(t,"addExtensions",r);return o?[t,...this.flatten(o())]:t}).flat(10)}static sort(e){return e.sort((r,o)=>{const i=Ee(r,"priority")||100,s=Ee(o,"priority")||100;return i>s?-1:i<s?1:0})}get commands(){return this.extensions.reduce((e,t)=>{const r={name:t.name,options:t.options,storage:t.storage,editor:this.editor,type:kl(t.name,this.schema)},o=Ee(t,"addCommands",r);return o?{...e,...o()}:e},{})}get plugins(){const{editor:e}=this,t=jr.sort([...this.extensions].reverse()),r=[],o=[],i=t.map(s=>{const l={name:s.name,options:s.options,storage:s.storage,editor:e,type:kl(s.name,this.schema)},a=[],d=Ee(s,"addKeyboardShortcuts",l);let u={};if(s.type==="mark"&&s.config.exitable&&(u.ArrowRight=()=>tn.handleExit({editor:e,mark:s})),d){const g=Object.fromEntries(Object.entries(d()).map(([v,b])=>[v,()=>b({editor:e})]));u={...u,...g}}const f=Tv(u);a.push(f);const h=Ee(s,"addInputRules",l);Dh(s,e.options.enableInputRules)&&h&&r.push(...h());const p=Ee(s,"addPasteRules",l);Dh(s,e.options.enablePasteRules)&&p&&o.push(...p());const m=Ee(s,"addProseMirrorPlugins",l);if(m){const g=m();a.push(...g)}return a}).flat();return[sy({editor:e,rules:r}),...uy({editor:e,rules:o}),...i]}get attributes(){return Oh(this.extensions)}get nodeViews(){const{editor:e}=this,{nodeExtensions:t}=Ui(this.extensions);return Object.fromEntries(t.filter(r=>!!Ee(r,"addNodeView")).map(r=>{const o=this.attributes.filter(a=>a.type===r.name),i={name:r.name,options:r.options,storage:r.storage,editor:e,type:Xe(r.name,this.schema)},s=Ee(r,"addNodeView",i);if(!s)return[];const l=(a,d,u,f)=>{const h=Sl(a,o);return s()({editor:e,node:a,getPos:u,decorations:f,HTMLAttributes:h,extension:r})};return[r.name,l]}))}}function hy(n){return Object.prototype.toString.call(n).slice(8,-1)}function Ml(n){return hy(n)!=="Object"?!1:n.constructor===Object&&Object.getPrototypeOf(n)===Object.prototype}function ji(n,e){const t={...n};return Ml(n)&&Ml(e)&&Object.keys(e).forEach(r=>{Ml(e[r])?r in n?t[r]=ji(n[r],e[r]):Object.assign(t,{[r]:e[r]}):Object.assign(t,{[r]:e[r]})}),t}class Lt{constructor(e={}){this.type="extension",this.name="extension",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...e},this.name=this.config.name,e.defaultOptions&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`),this.options=this.config.defaultOptions,this.config.addOptions&&(this.options=De(Ee(this,"addOptions",{name:this.name}))),this.storage=De(Ee(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(e={}){return new Lt(e)}configure(e={}){const t=this.extend();return t.options=ji(this.options,e),t.storage=De(Ee(t,"addStorage",{name:t.name,options:t.options})),t}extend(e={}){const t=new Lt(e);return t.parent=this,this.child=t,t.name=e.name?e.name:t.parent.name,e.defaultOptions&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${t.name}".`),t.options=De(Ee(t,"addOptions",{name:t.name})),t.storage=De(Ee(t,"addStorage",{name:t.name,options:t.options})),t}}function Rh(n,e,t){const{from:r,to:o}=e,{blockSeparator:i=`
|
|
72
|
+
|
|
73
|
+
`,textSerializers:s={}}=t||{};let l="",a=!0;return n.nodesBetween(r,o,(d,u,f,h)=>{var p;const m=s==null?void 0:s[d.type.name];m?(d.isBlock&&!a&&(l+=i,a=!0),f&&(l+=m({node:d,pos:u,parent:f,index:h,range:e}))):d.isText?(l+=(p=d==null?void 0:d.text)===null||p===void 0?void 0:p.slice(Math.max(r,u)-u,o-u),a=!1):d.isBlock&&!a&&(l+=i,a=!0)}),l}function Ph(n){return Object.fromEntries(Object.entries(n.nodes).filter(([,e])=>e.spec.toText).map(([e,t])=>[e,t.spec.toText]))}const py=Lt.create({name:"clipboardTextSerializer",addProseMirrorPlugins(){return[new yt({key:new jt("clipboardTextSerializer"),props:{clipboardTextSerializer:()=>{const{editor:n}=this,{state:e,schema:t}=n,{doc:r,selection:o}=e,{ranges:i}=o,s=Math.min(...i.map(u=>u.$from.pos)),l=Math.max(...i.map(u=>u.$to.pos)),a=Ph(t);return Rh(r,{from:s,to:l},{textSerializers:a})}}})]}}),my=()=>({editor:n,view:e})=>(requestAnimationFrame(()=>{var t;n.isDestroyed||(e.dom.blur(),(t=window==null?void 0:window.getSelection())===null||t===void 0||t.removeAllRanges())}),!0),gy=(n=!1)=>({commands:e})=>e.setContent("",n),vy=()=>({state:n,tr:e,dispatch:t})=>{const{selection:r}=e,{ranges:o}=r;return t&&o.forEach(({$from:i,$to:s})=>{n.doc.nodesBetween(i.pos,s.pos,(l,a)=>{if(l.type.isText)return;const{doc:d,mapping:u}=e,f=d.resolve(u.map(a)),h=d.resolve(u.map(a+l.nodeSize)),p=f.blockRange(h);if(!p)return;const m=Nr(p);if(l.type.isTextblock){const{defaultType:g}=f.parent.contentMatchAt(f.index());e.setNodeMarkup(p.start,g)}(m||m===0)&&e.lift(p,m)})}),!0},yy=n=>e=>n(e),Cy=()=>({state:n,dispatch:e})=>zv(n,e),Ey=(n,e)=>({editor:t,tr:r})=>{const{state:o}=t,i=o.doc.slice(n.from,n.to);r.deleteRange(n.from,n.to);const s=r.mapping.map(e);return r.insert(s,i.content),r.setSelection(new Pe(r.doc.resolve(s-1))),!0},by=()=>({tr:n,dispatch:e})=>{const{selection:t}=n,r=t.$anchor.node();if(r.content.size>0)return!1;const o=n.selection.$anchor;for(let i=o.depth;i>0;i-=1)if(o.node(i).type===r.type){if(e){const l=o.before(i),a=o.after(i);n.delete(l,a).scrollIntoView()}return!0}return!1},Ay=n=>({tr:e,state:t,dispatch:r})=>{const o=Xe(n,t.schema),i=e.selection.$anchor;for(let s=i.depth;s>0;s-=1)if(i.node(s).type===o){if(r){const a=i.before(s),d=i.after(s);e.delete(a,d).scrollIntoView()}return!0}return!1},wy=n=>({tr:e,dispatch:t})=>{const{from:r,to:o}=n;return t&&e.delete(r,o),!0},Sy=()=>({state:n,dispatch:e})=>Iv(n,e),ky=()=>({commands:n})=>n.keyboardShortcut("Enter"),xy=()=>({state:n,dispatch:e})=>$v(n,e);function Wi(n,e,t={strict:!0}){const r=Object.keys(e);return r.length?r.every(o=>t.strict?e[o]===n[o]:xl(e[o])?e[o].test(n[o]):e[o]===n[o]):!0}function Il(n,e,t={}){return n.find(r=>r.type===e&&Wi(r.attrs,t))}function Ty(n,e,t={}){return!!Il(n,e,t)}function Ol(n,e,t={}){if(!n||!e)return;let r=n.parent.childAfter(n.parentOffset);if(n.parentOffset===r.offset&&r.offset!==0&&(r=n.parent.childBefore(n.parentOffset)),!r.node)return;const o=Il([...r.node.marks],e,t);if(!o)return;let i=r.index,s=n.start()+r.offset,l=i+1,a=s+r.node.nodeSize;for(Il([...r.node.marks],e,t);i>0&&o.isInSet(n.parent.child(i-1).marks);)i-=1,s-=n.parent.child(i).nodeSize;for(;l<n.parent.childCount&&Ty([...n.parent.child(l).marks],e,t);)a+=n.parent.child(l).nodeSize,l+=1;return{from:s,to:a}}function Bn(n,e){if(typeof n=="string"){if(!e.marks[n])throw Error(`There is no mark type named '${n}'. Maybe you forgot to add the extension?`);return e.marks[n]}return n}const My=(n,e={})=>({tr:t,state:r,dispatch:o})=>{const i=Bn(n,r.schema),{doc:s,selection:l}=t,{$from:a,from:d,to:u}=l;if(o){const f=Ol(a,i,e);if(f&&f.from<=d&&f.to>=u){const h=Pe.create(s,f.from,f.to);t.setSelection(h)}}return!0},Iy=n=>e=>{const t=typeof n=="function"?n(e):n;for(let r=0;r<t.length;r+=1)if(t[r](e))return!0;return!1};function _l(n){return n instanceof Pe}function pn(n=0,e=0,t=0){return Math.min(Math.max(n,e),t)}function Vh(n,e=null){if(!e)return null;const t=Re.atStart(n),r=Re.atEnd(n);if(e==="start"||e===!0)return t;if(e==="end")return r;const o=t.from,i=r.to;return e==="all"?Pe.create(n,pn(0,o,i),pn(n.content.size,o,i)):Pe.create(n,pn(e,o,i),pn(e,o,i))}function Nl(){return["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document}const Oy=(n=null,e={})=>({editor:t,view:r,tr:o,dispatch:i})=>{e={scrollIntoView:!0,...e};const s=()=>{Nl()&&r.dom.focus(),requestAnimationFrame(()=>{t.isDestroyed||(r.focus(),e!=null&&e.scrollIntoView&&t.commands.scrollIntoView())})};if(r.hasFocus()&&n===null||n===!1)return!0;if(i&&n===null&&!_l(t.state.selection))return s(),!0;const l=Vh(o.doc,n)||t.state.selection,a=t.state.selection.eq(l);return i&&(a||o.setSelection(l),a&&o.storedMarks&&o.setStoredMarks(o.storedMarks),s()),!0},_y=(n,e)=>t=>n.every((r,o)=>e(r,{...t,index:o})),Ny=(n,e)=>({tr:t,commands:r})=>r.insertContentAt({from:t.selection.from,to:t.selection.to},n,e);function Fh(n){const e=`<body>${n}</body>`;return new window.DOMParser().parseFromString(e,"text/html").body}function Ki(n,e,t){if(t={slice:!0,parseOptions:{},...t},typeof n=="object"&&n!==null)try{return Array.isArray(n)&&n.length>0?le.fromArray(n.map(r=>e.nodeFromJSON(r))):e.nodeFromJSON(n)}catch(r){return console.warn("[tiptap warn]: Invalid content.","Passed value:",n,"Error:",r),Ki("",e,t)}if(typeof n=="string"){const r=Or.fromSchema(e);return t.slice?r.parseSlice(Fh(n),t.parseOptions).content:r.parse(Fh(n),t.parseOptions)}return Ki("",e,t)}function Ly(n,e,t){const r=n.steps.length-1;if(r<e)return;const o=n.steps[r];if(!(o instanceof tt||o instanceof Je))return;const i=n.mapping.maps[r];let s=0;i.forEach((l,a,d,u)=>{s===0&&(s=u)}),n.setSelection(Re.near(n.doc.resolve(s),t))}const Dy=n=>n.toString().startsWith("<"),By=(n,e,t)=>({tr:r,dispatch:o,editor:i})=>{if(o){t={parseOptions:{},updateSelection:!0,...t};const s=Ki(e,i.schema,{parseOptions:{preserveWhitespace:"full",...t.parseOptions}});if(s.toString()==="<>")return!0;let{from:l,to:a}=typeof n=="number"?{from:n,to:n}:{from:n.from,to:n.to},d=!0,u=!0;if((Dy(s)?s:[s]).forEach(h=>{h.check(),d=d?h.isText&&h.marks.length===0:!1,u=u?h.isBlock:!1}),l===a&&u){const{parent:h}=r.doc.resolve(l);h.isTextblock&&!h.type.spec.code&&!h.childCount&&(l-=1,a+=1)}d?Array.isArray(e)?r.insertText(e.map(h=>h.text||"").join(""),l,a):typeof e=="object"&&e&&e.text?r.insertText(e.text,l,a):r.insertText(e,l,a):r.replaceWith(l,a,s),t.updateSelection&&Ly(r,r.steps.length-1,-1)}return!0},Ry=()=>({state:n,dispatch:e})=>Rv(n,e),Py=()=>({state:n,dispatch:e})=>Pv(n,e),Vy=()=>({state:n,dispatch:e})=>_v(n,e),Fy=()=>({state:n,dispatch:e})=>Dv(n,e),$y=()=>({tr:n,state:e,dispatch:t})=>{try{const r=Oi(e.doc,e.selection.$from.pos,-1);return r==null?!1:(n.join(r,2),t&&t(n),!0)}catch{return!1}},zy=()=>({state:n,dispatch:e,tr:t})=>{try{const r=Oi(n.doc,n.selection.$from.pos,1);return r==null?!1:(t.join(r,2),e&&e(t),!0)}catch{return!1}};function $h(){return typeof navigator<"u"?/Mac/.test(navigator.platform):!1}function Hy(n){const e=n.split(/-(?!$)/);let t=e[e.length-1];t==="Space"&&(t=" ");let r,o,i,s;for(let l=0;l<e.length-1;l+=1){const a=e[l];if(/^(cmd|meta|m)$/i.test(a))s=!0;else if(/^a(lt)?$/i.test(a))r=!0;else if(/^(c|ctrl|control)$/i.test(a))o=!0;else if(/^s(hift)?$/i.test(a))i=!0;else if(/^mod$/i.test(a))Nl()||$h()?s=!0:o=!0;else throw new Error(`Unrecognized modifier name: ${a}`)}return r&&(t=`Alt-${t}`),o&&(t=`Ctrl-${t}`),s&&(t=`Meta-${t}`),i&&(t=`Shift-${t}`),t}const Uy=n=>({editor:e,view:t,tr:r,dispatch:o})=>{const i=Hy(n).split(/-(?!$)/),s=i.find(d=>!["Alt","Ctrl","Meta","Shift"].includes(d)),l=new KeyboardEvent("keydown",{key:s==="Space"?" ":s,altKey:i.includes("Alt"),ctrlKey:i.includes("Ctrl"),metaKey:i.includes("Meta"),shiftKey:i.includes("Shift"),bubbles:!0,cancelable:!0}),a=e.captureTransaction(()=>{t.someProp("handleKeyDown",d=>d(t,l))});return a==null||a.steps.forEach(d=>{const u=d.map(r.mapping);u&&o&&r.maybeStep(u)}),!0};function Vo(n,e,t={}){const{from:r,to:o,empty:i}=n.selection,s=e?Xe(e,n.schema):null,l=[];n.doc.nodesBetween(r,o,(f,h)=>{if(f.isText)return;const p=Math.max(r,h),m=Math.min(o,h+f.nodeSize);l.push({node:f,from:p,to:m})});const a=o-r,d=l.filter(f=>s?s.name===f.node.type.name:!0).filter(f=>Wi(f.node.attrs,t,{strict:!1}));return i?!!d.length:d.reduce((f,h)=>f+h.to-h.from,0)>=a}const jy=(n,e={})=>({state:t,dispatch:r})=>{const o=Xe(n,t.schema);return Vo(t,o,e)?Vv(t,r):!1},Wy=()=>({state:n,dispatch:e})=>Hv(n,e),Ky=n=>({state:e,dispatch:t})=>{const r=Xe(n,e.schema);return Zv(r)(e,t)},Qy=()=>({state:n,dispatch:e})=>Fv(n,e);function Qi(n,e){return e.nodes[n]?"node":e.marks[n]?"mark":null}function zh(n,e){const t=typeof e=="string"?[e]:e;return Object.keys(n).reduce((r,o)=>(t.includes(o)||(r[o]=n[o]),r),{})}const Yy=(n,e)=>({tr:t,state:r,dispatch:o})=>{let i=null,s=null;const l=Qi(typeof n=="string"?n:n.name,r.schema);return l?(l==="node"&&(i=Xe(n,r.schema)),l==="mark"&&(s=Bn(n,r.schema)),o&&t.selection.ranges.forEach(a=>{r.doc.nodesBetween(a.$from.pos,a.$to.pos,(d,u)=>{i&&i===d.type&&t.setNodeMarkup(u,void 0,zh(d.attrs,e)),s&&d.marks.length&&d.marks.forEach(f=>{s===f.type&&t.addMark(u,u+d.nodeSize,s.create(zh(f.attrs,e)))})})}),!0):!1},Gy=()=>({tr:n,dispatch:e})=>(e&&n.scrollIntoView(),!0),Zy=()=>({tr:n,commands:e})=>e.setTextSelection({from:0,to:n.doc.content.size}),Jy=()=>({state:n,dispatch:e})=>Nv(n,e),Xy=()=>({state:n,dispatch:e})=>Bv(n,e),qy=()=>({state:n,dispatch:e})=>Uv(n,e),e9=()=>({state:n,dispatch:e})=>Kv(n,e),t9=()=>({state:n,dispatch:e})=>Wv(n,e);function Hh(n,e,t={}){return Ki(n,e,{slice:!1,parseOptions:t})}const n9=(n,e=!1,t={})=>({tr:r,editor:o,dispatch:i})=>{const{doc:s}=r,l=Hh(n,o.schema,t);return i&&r.replaceWith(0,s.content.size,l).setMeta("preventUpdate",!e),!0};function Yi(n,e){const t=Bn(e,n.schema),{from:r,to:o,empty:i}=n.selection,s=[];i?(n.storedMarks&&s.push(...n.storedMarks),s.push(...n.selection.$head.marks())):n.doc.nodesBetween(r,o,a=>{s.push(...a.marks)});const l=s.find(a=>a.type.name===t.name);return l?{...l.attrs}:{}}function r9(n,e){const t=new nf(n);return e.forEach(r=>{r.steps.forEach(o=>{t.step(o)})}),t}function o9(n){for(let e=0;e<n.edgeCount;e+=1){const{type:t}=n.edge(e);if(t.isTextblock&&!t.hasRequiredAttrs())return t}return null}function i9(n,e,t){const r=[];return n.nodesBetween(e.from,e.to,(o,i)=>{t(o)&&r.push({node:o,pos:i})}),r}function s9(n,e){for(let t=n.depth;t>0;t-=1){const r=n.node(t);if(e(r))return{pos:t>0?n.before(t):0,start:n.start(t),depth:t,node:r}}}function Ll(n){return e=>s9(e.$from,n)}function a9(n,e){const t=Zt.fromSchema(e).serializeFragment(n),o=document.implementation.createHTMLDocument().createElement("div");return o.appendChild(t),o.innerHTML}function l9(n,e){const t={from:0,to:n.content.size};return Rh(n,t,e)}function c9(n,e){const t=Xe(e,n.schema),{from:r,to:o}=n.selection,i=[];n.doc.nodesBetween(r,o,l=>{i.push(l)});const s=i.reverse().find(l=>l.type.name===t.name);return s?{...s.attrs}:{}}function Uh(n,e){const t=Qi(typeof e=="string"?e:e.name,n.schema);return t==="node"?c9(n,e):t==="mark"?Yi(n,e):{}}function d9(n,e=JSON.stringify){const t={};return n.filter(r=>{const o=e(r);return Object.prototype.hasOwnProperty.call(t,o)?!1:t[o]=!0})}function u9(n){const e=d9(n);return e.length===1?e:e.filter((t,r)=>!e.filter((i,s)=>s!==r).some(i=>t.oldRange.from>=i.oldRange.from&&t.oldRange.to<=i.oldRange.to&&t.newRange.from>=i.newRange.from&&t.newRange.to<=i.newRange.to))}function f9(n){const{mapping:e,steps:t}=n,r=[];return e.maps.forEach((o,i)=>{const s=[];if(o.ranges.length)o.forEach((l,a)=>{s.push({from:l,to:a})});else{const{from:l,to:a}=t[i];if(l===void 0||a===void 0)return;s.push({from:l,to:a})}s.forEach(({from:l,to:a})=>{const d=e.slice(i).map(l,-1),u=e.slice(i).map(a),f=e.invert().map(d,-1),h=e.invert().map(u);r.push({oldRange:{from:f,to:h},newRange:{from:d,to:u}})})}),u9(r)}function Dl(n,e,t){const r=[];return n===e?t.resolve(n).marks().forEach(o=>{const i=t.resolve(n-1),s=Ol(i,o.type);s&&r.push({mark:o,...s})}):t.nodesBetween(n,e,(o,i)=>{r.push(...o.marks.map(s=>({from:i,to:i+o.nodeSize,mark:s})))}),r}function Gi(n,e,t){return Object.fromEntries(Object.entries(t).filter(([r])=>{const o=n.find(i=>i.type===e&&i.name===r);return o?o.attribute.keepOnSplit:!1}))}function Bl(n,e,t={}){const{empty:r,ranges:o}=n.selection,i=e?Bn(e,n.schema):null;if(r)return!!(n.storedMarks||n.selection.$from.marks()).filter(f=>i?i.name===f.type.name:!0).find(f=>Wi(f.attrs,t,{strict:!1}));let s=0;const l=[];if(o.forEach(({$from:f,$to:h})=>{const p=f.pos,m=h.pos;n.doc.nodesBetween(p,m,(g,v)=>{if(!g.isText&&!g.marks.length)return;const b=Math.max(p,v),A=Math.min(m,v+g.nodeSize),w=A-b;s+=w,l.push(...g.marks.map(y=>({mark:y,from:b,to:A})))})}),s===0)return!1;const a=l.filter(f=>i?i.name===f.mark.type.name:!0).filter(f=>Wi(f.mark.attrs,t,{strict:!1})).reduce((f,h)=>f+h.to-h.from,0),d=l.filter(f=>i?f.mark.type!==i&&f.mark.type.excludes(i):!0).reduce((f,h)=>f+h.to-h.from,0);return(a>0?a+d:a)>=s}function h9(n,e,t={}){if(!e)return Vo(n,null,t)||Bl(n,null,t);const r=Qi(e,n.schema);return r==="node"?Vo(n,e,t):r==="mark"?Bl(n,e,t):!1}function jh(n,e){const{nodeExtensions:t}=Ui(e),r=t.find(s=>s.name===n);if(!r)return!1;const o={name:r.name,options:r.options,storage:r.storage},i=De(Ee(r,"group",o));return typeof i!="string"?!1:i.split(" ").includes("list")}function p9(n){var e;const t=(e=n.type.createAndFill())===null||e===void 0?void 0:e.toJSON(),r=n.toJSON();return JSON.stringify(t)===JSON.stringify(r)}function m9(n){return n instanceof Me}function Wh(n,e,t){const o=n.state.doc.content.size,i=pn(e,0,o),s=pn(t,0,o),l=n.coordsAtPos(i),a=n.coordsAtPos(s,-1),d=Math.min(l.top,a.top),u=Math.max(l.bottom,a.bottom),f=Math.min(l.left,a.left),h=Math.max(l.right,a.right),p=h-f,m=u-d,b={top:d,bottom:u,left:f,right:h,width:p,height:m,x:f,y:d};return{...b,toJSON:()=>b}}function g9(n,e,t){var r;const{selection:o}=e;let i=null;if(_l(o)&&(i=o.$cursor),i){const l=(r=n.storedMarks)!==null&&r!==void 0?r:i.marks();return!!t.isInSet(l)||!l.some(a=>a.type.excludes(t))}const{ranges:s}=o;return s.some(({$from:l,$to:a})=>{let d=l.depth===0?n.doc.inlineContent&&n.doc.type.allowsMarkType(t):!1;return n.doc.nodesBetween(l.pos,a.pos,(u,f,h)=>{if(d)return!1;if(u.isInline){const p=!h||h.type.allowsMarkType(t),m=!!t.isInSet(u.marks)||!u.marks.some(g=>g.type.excludes(t));d=p&&m}return!d}),d})}const v9=(n,e={})=>({tr:t,state:r,dispatch:o})=>{const{selection:i}=t,{empty:s,ranges:l}=i,a=Bn(n,r.schema);if(o)if(s){const d=Yi(r,a);t.addStoredMark(a.create({...d,...e}))}else l.forEach(d=>{const u=d.$from.pos,f=d.$to.pos;r.doc.nodesBetween(u,f,(h,p)=>{const m=Math.max(p,u),g=Math.min(p+h.nodeSize,f);h.marks.find(b=>b.type===a)?h.marks.forEach(b=>{a===b.type&&t.addMark(m,g,a.create({...b.attrs,...e}))}):t.addMark(m,g,a.create(e))})});return g9(r,t,a)},y9=(n,e)=>({tr:t})=>(t.setMeta(n,e),!0),C9=(n,e={})=>({state:t,dispatch:r,chain:o})=>{const i=Xe(n,t.schema);return i.isTextblock?o().command(({commands:s})=>Ih(i,e)(t)?!0:s.clearNodes()).command(({state:s})=>Ih(i,e)(s,r)).run():(console.warn('[tiptap warn]: Currently "setNode()" only supports text block nodes.'),!1)},E9=n=>({tr:e,dispatch:t})=>{if(t){const{doc:r}=e,o=pn(n,0,r.content.size),i=Me.create(r,o);e.setSelection(i)}return!0},b9=n=>({tr:e,dispatch:t})=>{if(t){const{doc:r}=e,{from:o,to:i}=typeof n=="number"?{from:n,to:n}:n,s=Pe.atStart(r).from,l=Pe.atEnd(r).to,a=pn(o,s,l),d=pn(i,s,l),u=Pe.create(r,a,d);e.setSelection(u)}return!0},A9=n=>({state:e,dispatch:t})=>{const r=Xe(n,e.schema);return qv(r)(e,t)};function Kh(n,e){const t=n.storedMarks||n.selection.$to.parentOffset&&n.selection.$from.marks();if(t){const r=t.filter(o=>e==null?void 0:e.includes(o.type.name));n.tr.ensureMarks(r)}}const w9=({keepMarks:n=!0}={})=>({tr:e,state:t,dispatch:r,editor:o})=>{const{selection:i,doc:s}=e,{$from:l,$to:a}=i,d=o.extensionManager.attributes,u=Gi(d,l.node().type.name,l.node().attrs);if(i instanceof Me&&i.node.isBlock)return!l.parentOffset||!Lr(s,l.pos)?!1:(r&&(n&&Kh(t,o.extensionManager.splittableMarks),e.split(l.pos).scrollIntoView()),!0);if(!l.parent.isBlock)return!1;if(r){const f=a.parentOffset===a.parent.content.size;i instanceof Pe&&e.deleteSelection();const h=l.depth===0?void 0:o9(l.node(-1).contentMatchAt(l.indexAfter(-1)));let p=f&&h?[{type:h,attrs:u}]:void 0,m=Lr(e.doc,e.mapping.map(l.pos),1,p);if(!p&&!m&&Lr(e.doc,e.mapping.map(l.pos),1,h?[{type:h}]:void 0)&&(m=!0,p=h?[{type:h,attrs:u}]:void 0),m&&(e.split(e.mapping.map(l.pos),1,p),h&&!f&&!l.parentOffset&&l.parent.type!==h)){const g=e.mapping.map(l.before()),v=e.doc.resolve(g);l.node(-1).canReplaceWith(v.index(),v.index()+1,h)&&e.setNodeMarkup(e.mapping.map(l.before()),h)}n&&Kh(t,o.extensionManager.splittableMarks),e.scrollIntoView()}return!0},S9=n=>({tr:e,state:t,dispatch:r,editor:o})=>{var i;const s=Xe(n,t.schema),{$from:l,$to:a}=t.selection,d=t.selection.node;if(d&&d.isBlock||l.depth<2||!l.sameParent(a))return!1;const u=l.node(-1);if(u.type!==s)return!1;const f=o.extensionManager.attributes;if(l.parent.content.size===0&&l.node(-1).childCount===l.indexAfter(-1)){if(l.depth===2||l.node(-3).type!==s||l.index(-2)!==l.node(-2).childCount-1)return!1;if(r){let v=le.empty;const b=l.index(-1)?1:l.index(-2)?2:3;for(let $=l.depth-b;$>=l.depth-3;$-=1)v=le.from(l.node($).copy(v));const A=l.indexAfter(-1)<l.node(-2).childCount?1:l.indexAfter(-2)<l.node(-3).childCount?2:3,w=Gi(f,l.node().type.name,l.node().attrs),y=((i=s.contentMatch.defaultType)===null||i===void 0?void 0:i.createAndFill(w))||void 0;v=v.append(le.from(s.createAndFill(null,y)||void 0));const T=l.before(l.depth-(b-1));e.replace(T,l.after(-A),new ye(v,4-b,0));let k=-1;e.doc.nodesBetween(T,e.doc.content.size,($,H)=>{if(k>-1)return!1;$.isTextblock&&$.content.size===0&&(k=H+1)}),k>-1&&e.setSelection(Pe.near(e.doc.resolve(k))),e.scrollIntoView()}return!0}const h=a.pos===l.end()?u.contentMatchAt(0).defaultType:null,p=Gi(f,u.type.name,u.attrs),m=Gi(f,l.node().type.name,l.node().attrs);e.delete(l.pos,a.pos);const g=h?[{type:s,attrs:p},{type:h,attrs:m}]:[{type:s,attrs:p}];if(!Lr(e.doc,l.pos,2))return!1;if(r){const{selection:v,storedMarks:b}=t,{splittableMarks:A}=o.extensionManager,w=b||v.$to.parentOffset&&v.$from.marks();if(e.split(l.pos,2,g).scrollIntoView(),!w||!r)return!0;const y=w.filter(T=>A.includes(T.type.name));e.ensureMarks(y)}return!0},Rl=(n,e)=>{const t=Ll(s=>s.type===e)(n.selection);if(!t)return!0;const r=n.doc.resolve(Math.max(0,t.pos-1)).before(t.depth);if(r===void 0)return!0;const o=n.doc.nodeAt(r);return t.node.type===(o==null?void 0:o.type)&&kn(n.doc,t.pos)&&n.join(t.pos),!0},Pl=(n,e)=>{const t=Ll(s=>s.type===e)(n.selection);if(!t)return!0;const r=n.doc.resolve(t.start).after(t.depth);if(r===void 0)return!0;const o=n.doc.nodeAt(r);return t.node.type===(o==null?void 0:o.type)&&kn(n.doc,r)&&n.join(r),!0};var k9=Object.freeze({__proto__:null,blur:my,clearContent:gy,clearNodes:vy,command:yy,createParagraphNear:Cy,cut:Ey,deleteCurrentNode:by,deleteNode:Ay,deleteRange:wy,deleteSelection:Sy,enter:ky,exitCode:xy,extendMarkRange:My,first:Iy,focus:Oy,forEach:_y,insertContent:Ny,insertContentAt:By,joinUp:Ry,joinDown:Py,joinBackward:Vy,joinForward:Fy,joinItemBackward:$y,joinItemForward:zy,keyboardShortcut:Uy,lift:jy,liftEmptyBlock:Wy,liftListItem:Ky,newlineInCode:Qy,resetAttributes:Yy,scrollIntoView:Gy,selectAll:Zy,selectNodeBackward:Jy,selectNodeForward:Xy,selectParentNode:qy,selectTextblockEnd:e9,selectTextblockStart:t9,setContent:n9,setMark:v9,setMeta:y9,setNode:C9,setNodeSelection:E9,setTextSelection:b9,sinkListItem:A9,splitBlock:w9,splitListItem:S9,toggleList:(n,e,t,r={})=>({editor:o,tr:i,state:s,dispatch:l,chain:a,commands:d,can:u})=>{const{extensions:f,splittableMarks:h}=o.extensionManager,p=Xe(n,s.schema),m=Xe(e,s.schema),{selection:g,storedMarks:v}=s,{$from:b,$to:A}=g,w=b.blockRange(A),y=v||g.$to.parentOffset&&g.$from.marks();if(!w)return!1;const T=Ll(k=>jh(k.type.name,f))(g);if(w.depth>=1&&T&&w.depth-T.depth<=1){if(T.node.type===p)return d.liftListItem(m);if(jh(T.node.type.name,f)&&p.validContent(T.node.content)&&l)return a().command(()=>(i.setNodeMarkup(T.pos,p),!0)).command(()=>Rl(i,p)).command(()=>Pl(i,p)).run()}return!t||!y||!l?a().command(()=>u().wrapInList(p,r)?!0:d.clearNodes()).wrapInList(p,r).command(()=>Rl(i,p)).command(()=>Pl(i,p)).run():a().command(()=>{const k=u().wrapInList(p,r),$=y.filter(H=>h.includes(H.type.name));return i.ensureMarks($),k?!0:d.clearNodes()}).wrapInList(p,r).command(()=>Rl(i,p)).command(()=>Pl(i,p)).run()},toggleMark:(n,e={},t={})=>({state:r,commands:o})=>{const{extendEmptyMarkRange:i=!1}=t,s=Bn(n,r.schema);return Bl(r,s,e)?o.unsetMark(s,{extendEmptyMarkRange:i}):o.setMark(s,e)},toggleNode:(n,e,t={})=>({state:r,commands:o})=>{const i=Xe(n,r.schema),s=Xe(e,r.schema);return Vo(r,i,t)?o.setNode(s):o.setNode(i,t)},toggleWrap:(n,e={})=>({state:t,commands:r})=>{const o=Xe(n,t.schema);return Vo(t,o,e)?r.lift(o):r.wrapIn(o,e)},undoInputRule:()=>({state:n,dispatch:e})=>{const t=n.plugins;for(let r=0;r<t.length;r+=1){const o=t[r];let i;if(o.spec.isInputRules&&(i=o.getState(n))){if(e){const s=n.tr,l=i.transform;for(let a=l.steps.length-1;a>=0;a-=1)s.step(l.steps[a].invert(l.docs[a]));if(i.text){const a=s.doc.resolve(i.from).marks();s.replaceWith(i.from,i.to,n.schema.text(i.text,a))}else s.delete(i.from,i.to)}return!0}}return!1},unsetAllMarks:()=>({tr:n,dispatch:e})=>{const{selection:t}=n,{empty:r,ranges:o}=t;return r||e&&o.forEach(i=>{n.removeMark(i.$from.pos,i.$to.pos)}),!0},unsetMark:(n,e={})=>({tr:t,state:r,dispatch:o})=>{var i;const{extendEmptyMarkRange:s=!1}=e,{selection:l}=t,a=Bn(n,r.schema),{$from:d,empty:u,ranges:f}=l;if(!o)return!0;if(u&&s){let{from:h,to:p}=l;const m=(i=d.marks().find(v=>v.type===a))===null||i===void 0?void 0:i.attrs,g=Ol(d,a,m);g&&(h=g.from,p=g.to),t.removeMark(h,p,a)}else f.forEach(h=>{t.removeMark(h.$from.pos,h.$to.pos,a)});return t.removeStoredMark(a),!0},updateAttributes:(n,e={})=>({tr:t,state:r,dispatch:o})=>{let i=null,s=null;const l=Qi(typeof n=="string"?n:n.name,r.schema);return l?(l==="node"&&(i=Xe(n,r.schema)),l==="mark"&&(s=Bn(n,r.schema)),o&&t.selection.ranges.forEach(a=>{const d=a.$from.pos,u=a.$to.pos;r.doc.nodesBetween(d,u,(f,h)=>{i&&i===f.type&&t.setNodeMarkup(h,void 0,{...f.attrs,...e}),s&&f.marks.length&&f.marks.forEach(p=>{if(s===p.type){const m=Math.max(h,d),g=Math.min(h+f.nodeSize,u);t.addMark(m,g,s.create({...p.attrs,...e}))}})})}),!0):!1},wrapIn:(n,e={})=>({state:t,dispatch:r})=>{const o=Xe(n,t.schema);return Qv(o,e)(t,r)},wrapInList:(n,e={})=>({state:t,dispatch:r})=>{const o=Xe(n,t.schema);return Yv(o,e)(t,r)}});const x9=Lt.create({name:"commands",addCommands(){return{...k9}}}),T9=Lt.create({name:"editable",addProseMirrorPlugins(){return[new yt({key:new jt("editable"),props:{editable:()=>this.editor.options.editable}})]}}),M9=Lt.create({name:"focusEvents",addProseMirrorPlugins(){const{editor:n}=this;return[new yt({key:new jt("focusEvents"),props:{handleDOMEvents:{focus:(e,t)=>{n.isFocused=!0;const r=n.state.tr.setMeta("focus",{event:t}).setMeta("addToHistory",!1);return e.dispatch(r),!1},blur:(e,t)=>{n.isFocused=!1;const r=n.state.tr.setMeta("blur",{event:t}).setMeta("addToHistory",!1);return e.dispatch(r),!1}}}})]}}),I9=Lt.create({name:"keymap",addKeyboardShortcuts(){const n=()=>this.editor.commands.first(({commands:s})=>[()=>s.undoInputRule(),()=>s.command(({tr:l})=>{const{selection:a,doc:d}=l,{empty:u,$anchor:f}=a,{pos:h,parent:p}=f,m=f.parent.isTextblock?l.doc.resolve(h-1):f,g=m.parent.type.spec.isolating,v=f.pos-f.parentOffset,b=g&&m.parent.childCount===1?v===f.pos:Re.atStart(d).from===h;return!u||!b||!p.type.isTextblock||p.textContent.length?!1:s.clearNodes()}),()=>s.deleteSelection(),()=>s.joinBackward(),()=>s.selectNodeBackward()]),e=()=>this.editor.commands.first(({commands:s})=>[()=>s.deleteSelection(),()=>s.deleteCurrentNode(),()=>s.joinForward(),()=>s.selectNodeForward()]),r={Enter:()=>this.editor.commands.first(({commands:s})=>[()=>s.newlineInCode(),()=>s.createParagraphNear(),()=>s.liftEmptyBlock(),()=>s.splitBlock()]),"Mod-Enter":()=>this.editor.commands.exitCode(),Backspace:n,"Mod-Backspace":n,"Shift-Backspace":n,Delete:e,"Mod-Delete":e,"Mod-a":()=>this.editor.commands.selectAll()},o={...r},i={...r,"Ctrl-h":n,"Alt-Backspace":n,"Ctrl-d":e,"Ctrl-Alt-Backspace":e,"Alt-Delete":e,"Alt-d":e,"Ctrl-a":()=>this.editor.commands.selectTextblockStart(),"Ctrl-e":()=>this.editor.commands.selectTextblockEnd()};return Nl()||$h()?i:o},addProseMirrorPlugins(){return[new yt({key:new jt("clearDocument"),appendTransaction:(n,e,t)=>{if(!(n.some(m=>m.docChanged)&&!e.doc.eq(t.doc)))return;const{empty:o,from:i,to:s}=e.selection,l=Re.atStart(e.doc).from,a=Re.atEnd(e.doc).to;if(o||!(i===l&&s===a)||!(t.doc.textBetween(0,t.doc.content.size," "," ").length===0))return;const f=t.tr,h=zi({state:t,transaction:f}),{commands:p}=new Hi({editor:this.editor,state:h});if(p.clearNodes(),!!f.steps.length)return f}})]}}),O9=Lt.create({name:"tabindex",addProseMirrorPlugins(){return[new yt({key:new jt("tabindex"),props:{attributes:this.editor.isEditable?{tabindex:"0"}:{}}})]}});var _9=Object.freeze({__proto__:null,ClipboardTextSerializer:py,Commands:x9,Editable:T9,FocusEvents:M9,Keymap:I9,Tabindex:O9});const N9=`.ProseMirror {
|
|
74
74
|
position: relative;
|
|
75
75
|
}
|
|
76
76
|
|
|
@@ -144,39 +144,39 @@ img.ProseMirror-separator {
|
|
|
144
144
|
|
|
145
145
|
.tippy-box[data-animation=fade][data-state=hidden] {
|
|
146
146
|
opacity: 0
|
|
147
|
-
}`;function
|
|
147
|
+
}`;function L9(n,e,t){const r=document.querySelector(`style[data-tiptap-style${t?`-${t}`:""}]`);if(r!==null)return r;const o=document.createElement("style");return e&&o.setAttribute("nonce",e),o.setAttribute(`data-tiptap-style${t?`-${t}`:""}`,""),o.innerHTML=n,document.getElementsByTagName("head")[0].appendChild(o),o}let D9=class extends ey{constructor(e={}){super(),this.isFocused=!1,this.extensionStorage={},this.options={element:document.createElement("div"),content:"",injectCSS:!0,injectNonce:void 0,extensions:[],autofocus:!1,editable:!0,editorProps:{},parseOptions:{},enableInputRules:!0,enablePasteRules:!0,enableCoreExtensions:!0,onBeforeCreate:()=>null,onCreate:()=>null,onUpdate:()=>null,onSelectionUpdate:()=>null,onTransaction:()=>null,onFocus:()=>null,onBlur:()=>null,onDestroy:()=>null},this.isCapturingTransaction=!1,this.capturedTransaction=null,this.setOptions(e),this.createExtensionManager(),this.createCommandManager(),this.createSchema(),this.on("beforeCreate",this.options.onBeforeCreate),this.emit("beforeCreate",{editor:this}),this.createView(),this.injectCSS(),this.on("create",this.options.onCreate),this.on("update",this.options.onUpdate),this.on("selectionUpdate",this.options.onSelectionUpdate),this.on("transaction",this.options.onTransaction),this.on("focus",this.options.onFocus),this.on("blur",this.options.onBlur),this.on("destroy",this.options.onDestroy),window.setTimeout(()=>{this.isDestroyed||(this.commands.focus(this.options.autofocus),this.emit("create",{editor:this}))},0)}get storage(){return this.extensionStorage}get commands(){return this.commandManager.commands}chain(){return this.commandManager.chain()}can(){return this.commandManager.can()}injectCSS(){this.options.injectCSS&&document&&(this.css=L9(N9,this.options.injectNonce))}setOptions(e={}){this.options={...this.options,...e},!(!this.view||!this.state||this.isDestroyed)&&(this.options.editorProps&&this.view.setProps(this.options.editorProps),this.view.updateState(this.state))}setEditable(e,t=!0){this.setOptions({editable:e}),t&&this.emit("update",{editor:this,transaction:this.state.tr})}get isEditable(){return this.options.editable&&this.view&&this.view.editable}get state(){return this.view.state}registerPlugin(e,t){const r=_h(t)?t(e,[...this.state.plugins]):[...this.state.plugins,e],o=this.state.reconfigure({plugins:r});this.view.updateState(o)}unregisterPlugin(e){if(this.isDestroyed)return;const t=typeof e=="string"?`${e}$`:e.key,r=this.state.reconfigure({plugins:this.state.plugins.filter(o=>!o.key.startsWith(t))});this.view.updateState(r)}createExtensionManager(){const t=[...this.options.enableCoreExtensions?Object.values(_9):[],...this.options.extensions].filter(r=>["extension","node","mark"].includes(r==null?void 0:r.type));this.extensionManager=new jr(t,this)}createCommandManager(){this.commandManager=new Hi({editor:this})}createSchema(){this.schema=this.extensionManager.schema}createView(){const e=Hh(this.options.content,this.schema,this.options.parseOptions),t=Vh(e,this.options.autofocus);this.view=new yv(this.options.element,{...this.options.editorProps,dispatchTransaction:this.dispatchTransaction.bind(this),state:Pr.create({doc:e,selection:t||void 0})});const r=this.state.reconfigure({plugins:this.extensionManager.plugins});this.view.updateState(r),this.createNodeViews(),this.prependClass();const o=this.view.dom;o.editor=this}createNodeViews(){this.view.setProps({nodeViews:this.extensionManager.nodeViews})}prependClass(){this.view.dom.className=`tiptap ${this.view.dom.className}`}captureTransaction(e){this.isCapturingTransaction=!0,e(),this.isCapturingTransaction=!1;const t=this.capturedTransaction;return this.capturedTransaction=null,t}dispatchTransaction(e){if(this.view.isDestroyed)return;if(this.isCapturingTransaction){if(!this.capturedTransaction){this.capturedTransaction=e;return}e.steps.forEach(s=>{var l;return(l=this.capturedTransaction)===null||l===void 0?void 0:l.step(s)});return}const t=this.state.apply(e),r=!this.state.selection.eq(t.selection);this.view.updateState(t),this.emit("transaction",{editor:this,transaction:e}),r&&this.emit("selectionUpdate",{editor:this,transaction:e});const o=e.getMeta("focus"),i=e.getMeta("blur");o&&this.emit("focus",{editor:this,event:o.event,transaction:e}),i&&this.emit("blur",{editor:this,event:i.event,transaction:e}),!(!e.docChanged||e.getMeta("preventUpdate"))&&this.emit("update",{editor:this,transaction:e})}getAttributes(e){return Uh(this.state,e)}isActive(e,t){const r=typeof e=="string"?e:null,o=typeof e=="string"?t:e;return h9(this.state,r,o)}getJSON(){return this.state.doc.toJSON()}getHTML(){return a9(this.state.doc.content,this.schema)}getText(e){const{blockSeparator:t=`
|
|
148
148
|
|
|
149
|
-
`,textSerializers:r={}}=e||{};return e9(this.state.doc,{blockSeparator:t,textSerializers:{...Rh(this.schema),...r}})}get isEmpty(){return s9(this.state.doc)}getCharacterCount(){return console.warn('[tiptap warn]: "editor.getCharacterCount()" is deprecated. Please use "editor.storage.characterCount.characters()" instead.'),this.state.doc.content.size-2}destroy(){this.emit("destroy"),this.view&&this.view.destroy(),this.removeAllListeners()}get isDestroyed(){var e;return!(!((e=this.view)===null||e===void 0)&&e.docView)}};function Ji(n){return new Dh({find:n.find,handler:({state:e,range:t,match:r})=>{const o=Le(n.getAttributes,void 0,r);if(o===!1||o===null)return null;const{tr:i}=e,s=r[r.length-1],l=r[0];if(s){const a=l.search(/\S/),d=t.from+l.indexOf(s),u=d+s.length;if(_l(t.from,t.to,e.doc).filter(p=>p.mark.type.excluded.find(g=>g===n.type&&g!==p.mark.type)).filter(p=>p.to>d).length)return null;u<t.to&&i.delete(u,t.to),d>t.from&&i.delete(t.from+a,d);const h=t.from+a+s.length;i.addMark(t.from+a,h,n.type.create(o||{})),i.removeStoredMark(n.type)}}})}function Zi(n){return new Dh({find:n.find,handler:({state:e,range:t,match:r,chain:o})=>{const i=Le(n.getAttributes,void 0,r)||{},s=e.tr.delete(t.from,t.to),a=s.doc.resolve(t.from).blockRange(),d=a&&Ha(a,n.type,i);if(!d)return null;if(s.wrap(a,d),n.keepMarks&&n.editor){const{selection:f,storedMarks:h}=e,{splittableMarks:p}=n.editor.extensionManager,m=h||f.$to.parentOffset&&f.$from.marks();if(m){const g=m.filter(v=>p.includes(v.type.name));s.ensureMarks(g)}}if(n.keepAttributes){const f=n.type.name==="bulletList"||n.type.name==="orderedList"?"listItem":"taskList";o().updateAttributes(f,i).run()}const u=s.doc.resolve(t.from-1).nodeBefore;u&&u.type===n.type&&kn(s.doc,t.from-1)&&(!n.joinPredicate||n.joinPredicate(r,u))&&s.join(t.from-1)}})}class tn{constructor(e={}){this.type="mark",this.name="mark",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...e},this.name=this.config.name,e.defaultOptions&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`),this.options=this.config.defaultOptions,this.config.addOptions&&(this.options=Le(Ee(this,"addOptions",{name:this.name}))),this.storage=Le(Ee(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(e={}){return new tn(e)}configure(e={}){const t=this.extend();return t.options=Ui(this.options,e),t.storage=Le(Ee(t,"addStorage",{name:t.name,options:t.options})),t}extend(e={}){const t=new tn(e);return t.parent=this,this.child=t,t.name=e.name?e.name:t.parent.name,e.defaultOptions&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${t.name}".`),t.options=Le(Ee(t,"addOptions",{name:t.name})),t.storage=Le(Ee(t,"addStorage",{name:t.name,options:t.options})),t}static handleExit({editor:e,mark:t}){const{tr:r}=e.state,o=e.state.selection.$from;if(o.pos===o.end()){const s=o.marks();if(!!!s.find(d=>(d==null?void 0:d.type.name)===t.name))return!1;const a=s.find(d=>(d==null?void 0:d.type.name)===t.name);return a&&r.removeStoredMark(a),r.insertText(" ",o.pos),e.view.dispatch(r),!0}return!1}}let mn=class qc{constructor(e={}){this.type="node",this.name="node",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...e},this.name=this.config.name,e.defaultOptions&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`),this.options=this.config.defaultOptions,this.config.addOptions&&(this.options=Le(Ee(this,"addOptions",{name:this.name}))),this.storage=Le(Ee(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(e={}){return new qc(e)}configure(e={}){const t=this.extend();return t.options=Ui(this.options,e),t.storage=Le(Ee(t,"addStorage",{name:t.name,options:t.options})),t}extend(e={}){const t=new qc(e);return t.parent=this,this.child=t,t.name=e.name?e.name:t.parent.name,e.defaultOptions&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${t.name}".`),t.options=Le(Ee(t,"addOptions",{name:t.name})),t.storage=Le(Ee(t,"addStorage",{name:t.name,options:t.options})),t}};function Fo(n){return new ey({find:n.find,handler:({state:e,range:t,match:r,pasteEvent:o})=>{const i=Le(n.getAttributes,void 0,r,o);if(i===!1||i===null)return null;const{tr:s}=e,l=r[r.length-1],a=r[0];let d=t.to;if(l){const u=a.search(/\S/),f=t.from+a.indexOf(l),h=f+l.length;if(_l(t.from,t.to,e.doc).filter(m=>m.mark.type.excluded.find(v=>v===n.type&&v!==m.mark.type)).filter(m=>m.to>f).length)return null;h<t.to&&s.delete(h,t.to),f>t.from&&s.delete(t.from+u,f),d=t.from+u+l.length,s.addMark(t.from+u,d,n.type.create(i||{})),s.removeStoredMark(n.type)}}})}var pt="top",St="bottom",kt="right",mt="left",Vo="auto",Wr=[pt,St,kt,mt],pr="start",Kr="end",Kh="clippingParents",Bl="viewport",Qr="popper",Qh="reference",Rl=Wr.reduce(function(n,e){return n.concat([e+"-"+pr,e+"-"+Kr])},[]),Pl=[].concat(Wr,[Vo]).reduce(function(n,e){return n.concat([e,e+"-"+pr,e+"-"+Kr])},[]),Yh="beforeRead",Jh="read",Zh="afterRead",Gh="beforeMain",Xh="main",qh="afterMain",e1="beforeWrite",t1="write",n1="afterWrite",Gi=[Yh,Jh,Zh,Gh,Xh,qh,e1,t1,n1];function nn(n){return n?(n.nodeName||"").toLowerCase():null}function xt(n){if(n==null)return window;if(n.toString()!=="[object Window]"){var e=n.ownerDocument;return e&&e.defaultView||window}return n}function mr(n){var e=xt(n).Element;return n instanceof e||n instanceof Element}function Tt(n){var e=xt(n).HTMLElement;return n instanceof e||n instanceof HTMLElement}function Fl(n){if(typeof ShadowRoot>"u")return!1;var e=xt(n).ShadowRoot;return n instanceof e||n instanceof ShadowRoot}function T9(n){var e=n.state;Object.keys(e.elements).forEach(function(t){var r=e.styles[t]||{},o=e.attributes[t]||{},i=e.elements[t];!Tt(i)||!nn(i)||(Object.assign(i.style,r),Object.keys(o).forEach(function(s){var l=o[s];l===!1?i.removeAttribute(s):i.setAttribute(s,l===!0?"":l)}))})}function M9(n){var e=n.state,t={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,t.popper),e.styles=t,e.elements.arrow&&Object.assign(e.elements.arrow.style,t.arrow),function(){Object.keys(e.elements).forEach(function(r){var o=e.elements[r],i=e.attributes[r]||{},s=Object.keys(e.styles.hasOwnProperty(r)?e.styles[r]:t[r]),l=s.reduce(function(a,d){return a[d]="",a},{});!Tt(o)||!nn(o)||(Object.assign(o.style,l),Object.keys(i).forEach(function(a){o.removeAttribute(a)}))})}}const Xi={name:"applyStyles",enabled:!0,phase:"write",fn:T9,effect:M9,requires:["computeStyles"]};function Qt(n){return n.split("-")[0]}var gr=Math.max,qi=Math.min,Yr=Math.round;function Vl(){var n=navigator.userAgentData;return n!=null&&n.brands&&Array.isArray(n.brands)?n.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function r1(){return!/^((?!chrome|android).)*safari/i.test(Vl())}function Jr(n,e,t){e===void 0&&(e=!1),t===void 0&&(t=!1);var r=n.getBoundingClientRect(),o=1,i=1;e&&Tt(n)&&(o=n.offsetWidth>0&&Yr(r.width)/n.offsetWidth||1,i=n.offsetHeight>0&&Yr(r.height)/n.offsetHeight||1);var s=mr(n)?xt(n):window,l=s.visualViewport,a=!r1()&&t,d=(r.left+(a&&l?l.offsetLeft:0))/o,u=(r.top+(a&&l?l.offsetTop:0))/i,f=r.width/o,h=r.height/i;return{width:f,height:h,top:u,right:d+f,bottom:u+h,left:d,x:d,y:u}}function $l(n){var e=Jr(n),t=n.offsetWidth,r=n.offsetHeight;return Math.abs(e.width-t)<=1&&(t=e.width),Math.abs(e.height-r)<=1&&(r=e.height),{x:n.offsetLeft,y:n.offsetTop,width:t,height:r}}function o1(n,e){var t=e.getRootNode&&e.getRootNode();if(n.contains(e))return!0;if(t&&Fl(t)){var r=e;do{if(r&&n.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Yt(n){return xt(n).getComputedStyle(n)}function I9(n){return["table","td","th"].indexOf(nn(n))>=0}function Rn(n){return((mr(n)?n.ownerDocument:n.document)||window.document).documentElement}function es(n){return nn(n)==="html"?n:n.assignedSlot||n.parentNode||(Fl(n)?n.host:null)||Rn(n)}function i1(n){return!Tt(n)||Yt(n).position==="fixed"?null:n.offsetParent}function O9(n){var e=/firefox/i.test(Vl()),t=/Trident/i.test(Vl());if(t&&Tt(n)){var r=Yt(n);if(r.position==="fixed")return null}var o=es(n);for(Fl(o)&&(o=o.host);Tt(o)&&["html","body"].indexOf(nn(o))<0;){var i=Yt(o);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||e&&i.willChange==="filter"||e&&i.filter&&i.filter!=="none")return o;o=o.parentNode}return null}function $o(n){for(var e=xt(n),t=i1(n);t&&I9(t)&&Yt(t).position==="static";)t=i1(t);return t&&(nn(t)==="html"||nn(t)==="body"&&Yt(t).position==="static")?e:t||O9(n)||e}function zl(n){return["top","bottom"].indexOf(n)>=0?"x":"y"}function zo(n,e,t){return gr(n,qi(e,t))}function _9(n,e,t){var r=zo(n,e,t);return r>t?t:r}function s1(){return{top:0,right:0,bottom:0,left:0}}function a1(n){return Object.assign({},s1(),n)}function l1(n,e){return e.reduce(function(t,r){return t[r]=n,t},{})}var N9=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,a1(typeof e!="number"?e:l1(e,Wr))};function L9(n){var e,t=n.state,r=n.name,o=n.options,i=t.elements.arrow,s=t.modifiersData.popperOffsets,l=Qt(t.placement),a=zl(l),d=[mt,kt].indexOf(l)>=0,u=d?"height":"width";if(!(!i||!s)){var f=N9(o.padding,t),h=$l(i),p=a==="y"?pt:mt,m=a==="y"?St:kt,g=t.rects.reference[u]+t.rects.reference[a]-s[a]-t.rects.popper[u],v=s[a]-t.rects.reference[a],b=$o(i),A=b?a==="y"?b.clientHeight||0:b.clientWidth||0:0,S=g/2-v/2,y=f[p],T=A-h[u]-f[m],k=A/2-h[u]/2+S,$=zo(y,k,T),H=a;t.modifiersData[r]=(e={},e[H]=$,e.centerOffset=$-k,e)}}function D9(n){var e=n.state,t=n.options,r=t.element,o=r===void 0?"[data-popper-arrow]":r;if(o!=null&&!(typeof o=="string"&&(o=e.elements.popper.querySelector(o),!o))){if(process.env.NODE_ENV!=="production"&&(Tt(o)||console.error(['Popper: "arrow" element must be an HTMLElement (not an SVGElement).',"To use an SVG arrow, wrap it in an HTMLElement that will be used as","the arrow."].join(" "))),!o1(e.elements.popper,o)){process.env.NODE_ENV!=="production"&&console.error(['Popper: "arrow" modifier\'s `element` must be a child of the popper',"element."].join(" "));return}e.elements.arrow=o}}const c1={name:"arrow",enabled:!0,phase:"main",fn:L9,effect:D9,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Zr(n){return n.split("-")[1]}var B9={top:"auto",right:"auto",bottom:"auto",left:"auto"};function R9(n,e){var t=n.x,r=n.y,o=e.devicePixelRatio||1;return{x:Yr(t*o)/o||0,y:Yr(r*o)/o||0}}function d1(n){var e,t=n.popper,r=n.popperRect,o=n.placement,i=n.variation,s=n.offsets,l=n.position,a=n.gpuAcceleration,d=n.adaptive,u=n.roundOffsets,f=n.isFixed,h=s.x,p=h===void 0?0:h,m=s.y,g=m===void 0?0:m,v=typeof u=="function"?u({x:p,y:g}):{x:p,y:g};p=v.x,g=v.y;var b=s.hasOwnProperty("x"),A=s.hasOwnProperty("y"),S=mt,y=pt,T=window;if(d){var k=$o(t),$="clientHeight",H="clientWidth";if(k===xt(t)&&(k=Rn(t),Yt(k).position!=="static"&&l==="absolute"&&($="scrollHeight",H="scrollWidth")),k=k,o===pt||(o===mt||o===kt)&&i===Kr){y=St;var U=f&&k===T&&T.visualViewport?T.visualViewport.height:k[$];g-=U-r.height,g*=a?1:-1}if(o===mt||(o===pt||o===St)&&i===Kr){S=kt;var R=f&&k===T&&T.visualViewport?T.visualViewport.width:k[H];p-=R-r.width,p*=a?1:-1}}var D=Object.assign({position:l},d&&B9),z=u===!0?R9({x:p,y:g},xt(t)):{x:p,y:g};if(p=z.x,g=z.y,a){var W;return Object.assign({},D,(W={},W[y]=A?"0":"",W[S]=b?"0":"",W.transform=(T.devicePixelRatio||1)<=1?"translate("+p+"px, "+g+"px)":"translate3d("+p+"px, "+g+"px, 0)",W))}return Object.assign({},D,(e={},e[y]=A?g+"px":"",e[S]=b?p+"px":"",e.transform="",e))}function P9(n){var e=n.state,t=n.options,r=t.gpuAcceleration,o=r===void 0?!0:r,i=t.adaptive,s=i===void 0?!0:i,l=t.roundOffsets,a=l===void 0?!0:l;if(process.env.NODE_ENV!=="production"){var d=Yt(e.elements.popper).transitionProperty||"";s&&["transform","top","right","bottom","left"].some(function(f){return d.indexOf(f)>=0})&&console.warn(["Popper: Detected CSS transitions on at least one of the following",'CSS properties: "transform", "top", "right", "bottom", "left".',`
|
|
149
|
+
`,textSerializers:r={}}=e||{};return l9(this.state.doc,{blockSeparator:t,textSerializers:{...Ph(this.schema),...r}})}get isEmpty(){return p9(this.state.doc)}getCharacterCount(){return console.warn('[tiptap warn]: "editor.getCharacterCount()" is deprecated. Please use "editor.storage.characterCount.characters()" instead.'),this.state.doc.content.size-2}destroy(){this.emit("destroy"),this.view&&this.view.destroy(),this.removeAllListeners()}get isDestroyed(){var e;return!(!((e=this.view)===null||e===void 0)&&e.docView)}};function Zi(n){return new Bh({find:n.find,handler:({state:e,range:t,match:r})=>{const o=De(n.getAttributes,void 0,r);if(o===!1||o===null)return null;const{tr:i}=e,s=r[r.length-1],l=r[0];if(s){const a=l.search(/\S/),d=t.from+l.indexOf(s),u=d+s.length;if(Dl(t.from,t.to,e.doc).filter(p=>p.mark.type.excluded.find(g=>g===n.type&&g!==p.mark.type)).filter(p=>p.to>d).length)return null;u<t.to&&i.delete(u,t.to),d>t.from&&i.delete(t.from+a,d);const h=t.from+a+s.length;i.addMark(t.from+a,h,n.type.create(o||{})),i.removeStoredMark(n.type)}}})}function Ji(n){return new Bh({find:n.find,handler:({state:e,range:t,match:r,chain:o})=>{const i=De(n.getAttributes,void 0,r)||{},s=e.tr.delete(t.from,t.to),a=s.doc.resolve(t.from).blockRange(),d=a&&Wa(a,n.type,i);if(!d)return null;if(s.wrap(a,d),n.keepMarks&&n.editor){const{selection:f,storedMarks:h}=e,{splittableMarks:p}=n.editor.extensionManager,m=h||f.$to.parentOffset&&f.$from.marks();if(m){const g=m.filter(v=>p.includes(v.type.name));s.ensureMarks(g)}}if(n.keepAttributes){const f=n.type.name==="bulletList"||n.type.name==="orderedList"?"listItem":"taskList";o().updateAttributes(f,i).run()}const u=s.doc.resolve(t.from-1).nodeBefore;u&&u.type===n.type&&kn(s.doc,t.from-1)&&(!n.joinPredicate||n.joinPredicate(r,u))&&s.join(t.from-1)}})}class tn{constructor(e={}){this.type="mark",this.name="mark",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...e},this.name=this.config.name,e.defaultOptions&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`),this.options=this.config.defaultOptions,this.config.addOptions&&(this.options=De(Ee(this,"addOptions",{name:this.name}))),this.storage=De(Ee(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(e={}){return new tn(e)}configure(e={}){const t=this.extend();return t.options=ji(this.options,e),t.storage=De(Ee(t,"addStorage",{name:t.name,options:t.options})),t}extend(e={}){const t=new tn(e);return t.parent=this,this.child=t,t.name=e.name?e.name:t.parent.name,e.defaultOptions&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${t.name}".`),t.options=De(Ee(t,"addOptions",{name:t.name})),t.storage=De(Ee(t,"addStorage",{name:t.name,options:t.options})),t}static handleExit({editor:e,mark:t}){const{tr:r}=e.state,o=e.state.selection.$from;if(o.pos===o.end()){const s=o.marks();if(!!!s.find(d=>(d==null?void 0:d.type.name)===t.name))return!1;const a=s.find(d=>(d==null?void 0:d.type.name)===t.name);return a&&r.removeStoredMark(a),r.insertText(" ",o.pos),e.view.dispatch(r),!0}return!1}}let mn=class nd{constructor(e={}){this.type="node",this.name="node",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...e},this.name=this.config.name,e.defaultOptions&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`),this.options=this.config.defaultOptions,this.config.addOptions&&(this.options=De(Ee(this,"addOptions",{name:this.name}))),this.storage=De(Ee(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(e={}){return new nd(e)}configure(e={}){const t=this.extend();return t.options=ji(this.options,e),t.storage=De(Ee(t,"addStorage",{name:t.name,options:t.options})),t}extend(e={}){const t=new nd(e);return t.parent=this,this.child=t,t.name=e.name?e.name:t.parent.name,e.defaultOptions&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${t.name}".`),t.options=De(Ee(t,"addOptions",{name:t.name})),t.storage=De(Ee(t,"addStorage",{name:t.name,options:t.options})),t}};function Fo(n){return new ly({find:n.find,handler:({state:e,range:t,match:r,pasteEvent:o})=>{const i=De(n.getAttributes,void 0,r,o);if(i===!1||i===null)return null;const{tr:s}=e,l=r[r.length-1],a=r[0];let d=t.to;if(l){const u=a.search(/\S/),f=t.from+a.indexOf(l),h=f+l.length;if(Dl(t.from,t.to,e.doc).filter(m=>m.mark.type.excluded.find(v=>v===n.type&&v!==m.mark.type)).filter(m=>m.to>f).length)return null;h<t.to&&s.delete(h,t.to),f>t.from&&s.delete(t.from+u,f),d=t.from+u+l.length,s.addMark(t.from+u,d,n.type.create(i||{})),s.removeStoredMark(n.type)}}})}var pt="top",St="bottom",kt="right",mt="left",$o="auto",Wr=[pt,St,kt,mt],pr="start",Kr="end",Qh="clippingParents",Vl="viewport",Qr="popper",Yh="reference",Fl=Wr.reduce(function(n,e){return n.concat([e+"-"+pr,e+"-"+Kr])},[]),$l=[].concat(Wr,[$o]).reduce(function(n,e){return n.concat([e,e+"-"+pr,e+"-"+Kr])},[]),Gh="beforeRead",Zh="read",Jh="afterRead",Xh="beforeMain",qh="main",e1="afterMain",t1="beforeWrite",n1="write",r1="afterWrite",Xi=[Gh,Zh,Jh,Xh,qh,e1,t1,n1,r1];function nn(n){return n?(n.nodeName||"").toLowerCase():null}function xt(n){if(n==null)return window;if(n.toString()!=="[object Window]"){var e=n.ownerDocument;return e&&e.defaultView||window}return n}function mr(n){var e=xt(n).Element;return n instanceof e||n instanceof Element}function Tt(n){var e=xt(n).HTMLElement;return n instanceof e||n instanceof HTMLElement}function zl(n){if(typeof ShadowRoot>"u")return!1;var e=xt(n).ShadowRoot;return n instanceof e||n instanceof ShadowRoot}function B9(n){var e=n.state;Object.keys(e.elements).forEach(function(t){var r=e.styles[t]||{},o=e.attributes[t]||{},i=e.elements[t];!Tt(i)||!nn(i)||(Object.assign(i.style,r),Object.keys(o).forEach(function(s){var l=o[s];l===!1?i.removeAttribute(s):i.setAttribute(s,l===!0?"":l)}))})}function R9(n){var e=n.state,t={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,t.popper),e.styles=t,e.elements.arrow&&Object.assign(e.elements.arrow.style,t.arrow),function(){Object.keys(e.elements).forEach(function(r){var o=e.elements[r],i=e.attributes[r]||{},s=Object.keys(e.styles.hasOwnProperty(r)?e.styles[r]:t[r]),l=s.reduce(function(a,d){return a[d]="",a},{});!Tt(o)||!nn(o)||(Object.assign(o.style,l),Object.keys(i).forEach(function(a){o.removeAttribute(a)}))})}}const qi={name:"applyStyles",enabled:!0,phase:"write",fn:B9,effect:R9,requires:["computeStyles"]};function Qt(n){return n.split("-")[0]}var gr=Math.max,es=Math.min,Yr=Math.round;function Hl(){var n=navigator.userAgentData;return n!=null&&n.brands&&Array.isArray(n.brands)?n.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function o1(){return!/^((?!chrome|android).)*safari/i.test(Hl())}function Gr(n,e,t){e===void 0&&(e=!1),t===void 0&&(t=!1);var r=n.getBoundingClientRect(),o=1,i=1;e&&Tt(n)&&(o=n.offsetWidth>0&&Yr(r.width)/n.offsetWidth||1,i=n.offsetHeight>0&&Yr(r.height)/n.offsetHeight||1);var s=mr(n)?xt(n):window,l=s.visualViewport,a=!o1()&&t,d=(r.left+(a&&l?l.offsetLeft:0))/o,u=(r.top+(a&&l?l.offsetTop:0))/i,f=r.width/o,h=r.height/i;return{width:f,height:h,top:u,right:d+f,bottom:u+h,left:d,x:d,y:u}}function Ul(n){var e=Gr(n),t=n.offsetWidth,r=n.offsetHeight;return Math.abs(e.width-t)<=1&&(t=e.width),Math.abs(e.height-r)<=1&&(r=e.height),{x:n.offsetLeft,y:n.offsetTop,width:t,height:r}}function i1(n,e){var t=e.getRootNode&&e.getRootNode();if(n.contains(e))return!0;if(t&&zl(t)){var r=e;do{if(r&&n.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Yt(n){return xt(n).getComputedStyle(n)}function P9(n){return["table","td","th"].indexOf(nn(n))>=0}function Rn(n){return((mr(n)?n.ownerDocument:n.document)||window.document).documentElement}function ts(n){return nn(n)==="html"?n:n.assignedSlot||n.parentNode||(zl(n)?n.host:null)||Rn(n)}function s1(n){return!Tt(n)||Yt(n).position==="fixed"?null:n.offsetParent}function V9(n){var e=/firefox/i.test(Hl()),t=/Trident/i.test(Hl());if(t&&Tt(n)){var r=Yt(n);if(r.position==="fixed")return null}var o=ts(n);for(zl(o)&&(o=o.host);Tt(o)&&["html","body"].indexOf(nn(o))<0;){var i=Yt(o);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||e&&i.willChange==="filter"||e&&i.filter&&i.filter!=="none")return o;o=o.parentNode}return null}function zo(n){for(var e=xt(n),t=s1(n);t&&P9(t)&&Yt(t).position==="static";)t=s1(t);return t&&(nn(t)==="html"||nn(t)==="body"&&Yt(t).position==="static")?e:t||V9(n)||e}function jl(n){return["top","bottom"].indexOf(n)>=0?"x":"y"}function Ho(n,e,t){return gr(n,es(e,t))}function F9(n,e,t){var r=Ho(n,e,t);return r>t?t:r}function a1(){return{top:0,right:0,bottom:0,left:0}}function l1(n){return Object.assign({},a1(),n)}function c1(n,e){return e.reduce(function(t,r){return t[r]=n,t},{})}var $9=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,l1(typeof e!="number"?e:c1(e,Wr))};function z9(n){var e,t=n.state,r=n.name,o=n.options,i=t.elements.arrow,s=t.modifiersData.popperOffsets,l=Qt(t.placement),a=jl(l),d=[mt,kt].indexOf(l)>=0,u=d?"height":"width";if(!(!i||!s)){var f=$9(o.padding,t),h=Ul(i),p=a==="y"?pt:mt,m=a==="y"?St:kt,g=t.rects.reference[u]+t.rects.reference[a]-s[a]-t.rects.popper[u],v=s[a]-t.rects.reference[a],b=zo(i),A=b?a==="y"?b.clientHeight||0:b.clientWidth||0:0,w=g/2-v/2,y=f[p],T=A-h[u]-f[m],k=A/2-h[u]/2+w,$=Ho(y,k,T),H=a;t.modifiersData[r]=(e={},e[H]=$,e.centerOffset=$-k,e)}}function H9(n){var e=n.state,t=n.options,r=t.element,o=r===void 0?"[data-popper-arrow]":r;if(o!=null&&!(typeof o=="string"&&(o=e.elements.popper.querySelector(o),!o))){if(process.env.NODE_ENV!=="production"&&(Tt(o)||console.error(['Popper: "arrow" element must be an HTMLElement (not an SVGElement).',"To use an SVG arrow, wrap it in an HTMLElement that will be used as","the arrow."].join(" "))),!i1(e.elements.popper,o)){process.env.NODE_ENV!=="production"&&console.error(['Popper: "arrow" modifier\'s `element` must be a child of the popper',"element."].join(" "));return}e.elements.arrow=o}}const d1={name:"arrow",enabled:!0,phase:"main",fn:z9,effect:H9,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Zr(n){return n.split("-")[1]}var U9={top:"auto",right:"auto",bottom:"auto",left:"auto"};function j9(n,e){var t=n.x,r=n.y,o=e.devicePixelRatio||1;return{x:Yr(t*o)/o||0,y:Yr(r*o)/o||0}}function u1(n){var e,t=n.popper,r=n.popperRect,o=n.placement,i=n.variation,s=n.offsets,l=n.position,a=n.gpuAcceleration,d=n.adaptive,u=n.roundOffsets,f=n.isFixed,h=s.x,p=h===void 0?0:h,m=s.y,g=m===void 0?0:m,v=typeof u=="function"?u({x:p,y:g}):{x:p,y:g};p=v.x,g=v.y;var b=s.hasOwnProperty("x"),A=s.hasOwnProperty("y"),w=mt,y=pt,T=window;if(d){var k=zo(t),$="clientHeight",H="clientWidth";if(k===xt(t)&&(k=Rn(t),Yt(k).position!=="static"&&l==="absolute"&&($="scrollHeight",H="scrollWidth")),k=k,o===pt||(o===mt||o===kt)&&i===Kr){y=St;var U=f&&k===T&&T.visualViewport?T.visualViewport.height:k[$];g-=U-r.height,g*=a?1:-1}if(o===mt||(o===pt||o===St)&&i===Kr){w=kt;var R=f&&k===T&&T.visualViewport?T.visualViewport.width:k[H];p-=R-r.width,p*=a?1:-1}}var D=Object.assign({position:l},d&&U9),z=u===!0?j9({x:p,y:g},xt(t)):{x:p,y:g};if(p=z.x,g=z.y,a){var W;return Object.assign({},D,(W={},W[y]=A?"0":"",W[w]=b?"0":"",W.transform=(T.devicePixelRatio||1)<=1?"translate("+p+"px, "+g+"px)":"translate3d("+p+"px, "+g+"px, 0)",W))}return Object.assign({},D,(e={},e[y]=A?g+"px":"",e[w]=b?p+"px":"",e.transform="",e))}function W9(n){var e=n.state,t=n.options,r=t.gpuAcceleration,o=r===void 0?!0:r,i=t.adaptive,s=i===void 0?!0:i,l=t.roundOffsets,a=l===void 0?!0:l;if(process.env.NODE_ENV!=="production"){var d=Yt(e.elements.popper).transitionProperty||"";s&&["transform","top","right","bottom","left"].some(function(f){return d.indexOf(f)>=0})&&console.warn(["Popper: Detected CSS transitions on at least one of the following",'CSS properties: "transform", "top", "right", "bottom", "left".',`
|
|
150
150
|
|
|
151
151
|
`,'Disable the "computeStyles" modifier\'s `adaptive` option to allow',"for smooth transitions, or remove these properties from the CSS","transition declaration on the popper element if only transitioning","opacity or background-color for example.",`
|
|
152
152
|
|
|
153
|
-
`,"We recommend using the popper element as a wrapper around an inner","element that can have any CSS property transitioned for animations."].join(" "))}var u={placement:Qt(e.placement),variation:Zr(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:o,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,d1(Object.assign({},u,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:s,roundOffsets:a})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,d1(Object.assign({},u,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:a})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const Hl={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:P9,data:{}};var ts={passive:!0};function F9(n){var e=n.state,t=n.instance,r=n.options,o=r.scroll,i=o===void 0?!0:o,s=r.resize,l=s===void 0?!0:s,a=xt(e.elements.popper),d=[].concat(e.scrollParents.reference,e.scrollParents.popper);return i&&d.forEach(function(u){u.addEventListener("scroll",t.update,ts)}),l&&a.addEventListener("resize",t.update,ts),function(){i&&d.forEach(function(u){u.removeEventListener("scroll",t.update,ts)}),l&&a.removeEventListener("resize",t.update,ts)}}const Ul={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:F9,data:{}};var V9={left:"right",right:"left",bottom:"top",top:"bottom"};function ns(n){return n.replace(/left|right|bottom|top/g,function(e){return V9[e]})}var $9={start:"end",end:"start"};function u1(n){return n.replace(/start|end/g,function(e){return $9[e]})}function jl(n){var e=xt(n),t=e.pageXOffset,r=e.pageYOffset;return{scrollLeft:t,scrollTop:r}}function Wl(n){return Jr(Rn(n)).left+jl(n).scrollLeft}function z9(n,e){var t=xt(n),r=Rn(n),o=t.visualViewport,i=r.clientWidth,s=r.clientHeight,l=0,a=0;if(o){i=o.width,s=o.height;var d=r1();(d||!d&&e==="fixed")&&(l=o.offsetLeft,a=o.offsetTop)}return{width:i,height:s,x:l+Wl(n),y:a}}function H9(n){var e,t=Rn(n),r=jl(n),o=(e=n.ownerDocument)==null?void 0:e.body,i=gr(t.scrollWidth,t.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),s=gr(t.scrollHeight,t.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+Wl(n),a=-r.scrollTop;return Yt(o||t).direction==="rtl"&&(l+=gr(t.clientWidth,o?o.clientWidth:0)-i),{width:i,height:s,x:l,y:a}}function Kl(n){var e=Yt(n),t=e.overflow,r=e.overflowX,o=e.overflowY;return/auto|scroll|overlay|hidden/.test(t+o+r)}function f1(n){return["html","body","#document"].indexOf(nn(n))>=0?n.ownerDocument.body:Tt(n)&&Kl(n)?n:f1(es(n))}function Ho(n,e){var t;e===void 0&&(e=[]);var r=f1(n),o=r===((t=n.ownerDocument)==null?void 0:t.body),i=xt(r),s=o?[i].concat(i.visualViewport||[],Kl(r)?r:[]):r,l=e.concat(s);return o?l:l.concat(Ho(es(s)))}function Ql(n){return Object.assign({},n,{left:n.x,top:n.y,right:n.x+n.width,bottom:n.y+n.height})}function U9(n,e){var t=Jr(n,!1,e==="fixed");return t.top=t.top+n.clientTop,t.left=t.left+n.clientLeft,t.bottom=t.top+n.clientHeight,t.right=t.left+n.clientWidth,t.width=n.clientWidth,t.height=n.clientHeight,t.x=t.left,t.y=t.top,t}function h1(n,e,t){return e===Bl?Ql(z9(n,t)):mr(e)?U9(e,t):Ql(H9(Rn(n)))}function j9(n){var e=Ho(es(n)),t=["absolute","fixed"].indexOf(Yt(n).position)>=0,r=t&&Tt(n)?$o(n):n;return mr(r)?e.filter(function(o){return mr(o)&&o1(o,r)&&nn(o)!=="body"}):[]}function W9(n,e,t,r){var o=e==="clippingParents"?j9(n):[].concat(e),i=[].concat(o,[t]),s=i[0],l=i.reduce(function(a,d){var u=h1(n,d,r);return a.top=gr(u.top,a.top),a.right=qi(u.right,a.right),a.bottom=qi(u.bottom,a.bottom),a.left=gr(u.left,a.left),a},h1(n,s,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function p1(n){var e=n.reference,t=n.element,r=n.placement,o=r?Qt(r):null,i=r?Zr(r):null,s=e.x+e.width/2-t.width/2,l=e.y+e.height/2-t.height/2,a;switch(o){case pt:a={x:s,y:e.y-t.height};break;case St:a={x:s,y:e.y+e.height};break;case kt:a={x:e.x+e.width,y:l};break;case mt:a={x:e.x-t.width,y:l};break;default:a={x:e.x,y:e.y}}var d=o?zl(o):null;if(d!=null){var u=d==="y"?"height":"width";switch(i){case pr:a[d]=a[d]-(e[u]/2-t[u]/2);break;case Kr:a[d]=a[d]+(e[u]/2-t[u]/2);break}}return a}function Gr(n,e){e===void 0&&(e={});var t=e,r=t.placement,o=r===void 0?n.placement:r,i=t.strategy,s=i===void 0?n.strategy:i,l=t.boundary,a=l===void 0?Kh:l,d=t.rootBoundary,u=d===void 0?Bl:d,f=t.elementContext,h=f===void 0?Qr:f,p=t.altBoundary,m=p===void 0?!1:p,g=t.padding,v=g===void 0?0:g,b=a1(typeof v!="number"?v:l1(v,Wr)),A=h===Qr?Qh:Qr,S=n.rects.popper,y=n.elements[m?A:h],T=W9(mr(y)?y:y.contextElement||Rn(n.elements.popper),a,u,s),k=Jr(n.elements.reference),$=p1({reference:k,element:S,strategy:"absolute",placement:o}),H=Ql(Object.assign({},S,$)),U=h===Qr?H:k,R={top:T.top-U.top+b.top,bottom:U.bottom-T.bottom+b.bottom,left:T.left-U.left+b.left,right:U.right-T.right+b.right},D=n.modifiersData.offset;if(h===Qr&&D){var z=D[o];Object.keys(R).forEach(function(W){var j=[kt,St].indexOf(W)>=0?1:-1,V=[pt,St].indexOf(W)>=0?"y":"x";R[W]+=z[V]*j})}return R}function K9(n,e){e===void 0&&(e={});var t=e,r=t.placement,o=t.boundary,i=t.rootBoundary,s=t.padding,l=t.flipVariations,a=t.allowedAutoPlacements,d=a===void 0?Pl:a,u=Zr(r),f=u?l?Rl:Rl.filter(function(m){return Zr(m)===u}):Wr,h=f.filter(function(m){return d.indexOf(m)>=0});h.length===0&&(h=f,process.env.NODE_ENV!=="production"&&console.error(["Popper: The `allowedAutoPlacements` option did not allow any","placements. Ensure the `placement` option matches the variation","of the allowed placements.",'For example, "auto" cannot be used to allow "bottom-start".','Use "auto-start" instead.'].join(" ")));var p=h.reduce(function(m,g){return m[g]=Gr(n,{placement:g,boundary:o,rootBoundary:i,padding:s})[Qt(g)],m},{});return Object.keys(p).sort(function(m,g){return p[m]-p[g]})}function Q9(n){if(Qt(n)===Vo)return[];var e=ns(n);return[u1(n),e,u1(e)]}function Y9(n){var e=n.state,t=n.options,r=n.name;if(!e.modifiersData[r]._skip){for(var o=t.mainAxis,i=o===void 0?!0:o,s=t.altAxis,l=s===void 0?!0:s,a=t.fallbackPlacements,d=t.padding,u=t.boundary,f=t.rootBoundary,h=t.altBoundary,p=t.flipVariations,m=p===void 0?!0:p,g=t.allowedAutoPlacements,v=e.options.placement,b=Qt(v),A=b===v,S=a||(A||!m?[ns(v)]:Q9(v)),y=[v].concat(S).reduce(function(Ae,Se){return Ae.concat(Qt(Se)===Vo?K9(e,{placement:Se,boundary:u,rootBoundary:f,padding:d,flipVariations:m,allowedAutoPlacements:g}):Se)},[]),T=e.rects.reference,k=e.rects.popper,$=new Map,H=!0,U=y[0],R=0;R<y.length;R++){var D=y[R],z=Qt(D),W=Zr(D)===pr,j=[pt,St].indexOf(z)>=0,V=j?"width":"height",F=Gr(e,{placement:D,boundary:u,rootBoundary:f,altBoundary:h,padding:d}),Y=j?W?kt:mt:W?St:pt;T[V]>k[V]&&(Y=ns(Y));var L=ns(Y),X=[];if(i&&X.push(F[z]<=0),l&&X.push(F[Y]<=0,F[L]<=0),X.every(function(Ae){return Ae})){U=D,H=!1;break}$.set(D,X)}if(H)for(var ne=m?3:1,de=function(Se){var xe=y.find(function(Ce){var x=$.get(Ce);if(x)return x.slice(0,Se).every(function(I){return I})});if(xe)return U=xe,"break"},ge=ne;ge>0;ge--){var ve=de(ge);if(ve==="break")break}e.placement!==U&&(e.modifiersData[r]._skip=!0,e.placement=U,e.reset=!0)}}const m1={name:"flip",enabled:!0,phase:"main",fn:Y9,requiresIfExists:["offset"],data:{_skip:!1}};function g1(n,e,t){return t===void 0&&(t={x:0,y:0}),{top:n.top-e.height-t.y,right:n.right-e.width+t.x,bottom:n.bottom-e.height+t.y,left:n.left-e.width-t.x}}function v1(n){return[pt,kt,St,mt].some(function(e){return n[e]>=0})}function J9(n){var e=n.state,t=n.name,r=e.rects.reference,o=e.rects.popper,i=e.modifiersData.preventOverflow,s=Gr(e,{elementContext:"reference"}),l=Gr(e,{altBoundary:!0}),a=g1(s,r),d=g1(l,o,i),u=v1(a),f=v1(d);e.modifiersData[t]={referenceClippingOffsets:a,popperEscapeOffsets:d,isReferenceHidden:u,hasPopperEscaped:f},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}const y1={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:J9};function Z9(n,e,t){var r=Qt(n),o=[mt,pt].indexOf(r)>=0?-1:1,i=typeof t=="function"?t(Object.assign({},e,{placement:n})):t,s=i[0],l=i[1];return s=s||0,l=(l||0)*o,[mt,kt].indexOf(r)>=0?{x:l,y:s}:{x:s,y:l}}function G9(n){var e=n.state,t=n.options,r=n.name,o=t.offset,i=o===void 0?[0,0]:o,s=Pl.reduce(function(u,f){return u[f]=Z9(f,e.rects,i),u},{}),l=s[e.placement],a=l.x,d=l.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=a,e.modifiersData.popperOffsets.y+=d),e.modifiersData[r]=s}const C1={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:G9};function X9(n){var e=n.state,t=n.name;e.modifiersData[t]=p1({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const Yl={name:"popperOffsets",enabled:!0,phase:"read",fn:X9,data:{}};function q9(n){return n==="x"?"y":"x"}function eC(n){var e=n.state,t=n.options,r=n.name,o=t.mainAxis,i=o===void 0?!0:o,s=t.altAxis,l=s===void 0?!1:s,a=t.boundary,d=t.rootBoundary,u=t.altBoundary,f=t.padding,h=t.tether,p=h===void 0?!0:h,m=t.tetherOffset,g=m===void 0?0:m,v=Gr(e,{boundary:a,rootBoundary:d,padding:f,altBoundary:u}),b=Qt(e.placement),A=Zr(e.placement),S=!A,y=zl(b),T=q9(y),k=e.modifiersData.popperOffsets,$=e.rects.reference,H=e.rects.popper,U=typeof g=="function"?g(Object.assign({},e.rects,{placement:e.placement})):g,R=typeof U=="number"?{mainAxis:U,altAxis:U}:Object.assign({mainAxis:0,altAxis:0},U),D=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,z={x:0,y:0};if(k){if(i){var W,j=y==="y"?pt:mt,V=y==="y"?St:kt,F=y==="y"?"height":"width",Y=k[y],L=Y+v[j],X=Y-v[V],ne=p?-H[F]/2:0,de=A===pr?$[F]:H[F],ge=A===pr?-H[F]:-$[F],ve=e.elements.arrow,Ae=p&&ve?$l(ve):{width:0,height:0},Se=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:s1(),xe=Se[j],Ce=Se[V],x=zo(0,$[F],Ae[F]),I=S?$[F]/2-ne-x-xe-R.mainAxis:de-x-xe-R.mainAxis,w=S?-$[F]/2+ne+x+Ce+R.mainAxis:ge+x+Ce+R.mainAxis,M=e.elements.arrow&&$o(e.elements.arrow),C=M?y==="y"?M.clientTop||0:M.clientLeft||0:0,E=(W=D==null?void 0:D[y])!=null?W:0,_=Y+I-E-C,N=Y+w-E,B=zo(p?qi(L,_):L,Y,p?gr(X,N):X);k[y]=B,z[y]=B-Y}if(l){var P,K=y==="x"?pt:mt,J=y==="x"?St:kt,Q=k[T],Z=T==="y"?"height":"width",G=Q+v[K],re=Q-v[J],he=[pt,mt].indexOf(b)!==-1,we=(P=D==null?void 0:D[T])!=null?P:0,Ne=he?G:Q-$[Z]-H[Z]-we+R.altAxis,ze=he?Q+$[Z]+H[Z]-we-R.altAxis:re,$e=p&&he?_9(Ne,Q,ze):zo(p?Ne:G,Q,p?ze:re);k[T]=$e,z[T]=$e-Q}e.modifiersData[r]=z}}const E1={name:"preventOverflow",enabled:!0,phase:"main",fn:eC,requiresIfExists:["offset"]};function tC(n){return{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}}function nC(n){return n===xt(n)||!Tt(n)?jl(n):tC(n)}function rC(n){var e=n.getBoundingClientRect(),t=Yr(e.width)/n.offsetWidth||1,r=Yr(e.height)/n.offsetHeight||1;return t!==1||r!==1}function oC(n,e,t){t===void 0&&(t=!1);var r=Tt(e),o=Tt(e)&&rC(e),i=Rn(e),s=Jr(n,o,t),l={scrollLeft:0,scrollTop:0},a={x:0,y:0};return(r||!r&&!t)&&((nn(e)!=="body"||Kl(i))&&(l=nC(e)),Tt(e)?(a=Jr(e,!0),a.x+=e.clientLeft,a.y+=e.clientTop):i&&(a.x=Wl(i))),{x:s.left+l.scrollLeft-a.x,y:s.top+l.scrollTop-a.y,width:s.width,height:s.height}}function iC(n){var e=new Map,t=new Set,r=[];n.forEach(function(i){e.set(i.name,i)});function o(i){t.add(i.name);var s=[].concat(i.requires||[],i.requiresIfExists||[]);s.forEach(function(l){if(!t.has(l)){var a=e.get(l);a&&o(a)}}),r.push(i)}return n.forEach(function(i){t.has(i.name)||o(i)}),r}function sC(n){var e=iC(n);return Gi.reduce(function(t,r){return t.concat(e.filter(function(o){return o.phase===r}))},[])}function aC(n){var e;return function(){return e||(e=new Promise(function(t){Promise.resolve().then(function(){e=void 0,t(n())})})),e}}function Pn(n){for(var e=arguments.length,t=new Array(e>1?e-1:0),r=1;r<e;r++)t[r-1]=arguments[r];return[].concat(t).reduce(function(o,i){return o.replace(/%s/,i)},n)}var vr='Popper: modifier "%s" provided an invalid %s property, expected %s but got %s',lC='Popper: modifier "%s" requires "%s", but "%s" modifier is not available',b1=["name","enabled","phase","fn","effect","requires","options"];function cC(n){n.forEach(function(e){[].concat(Object.keys(e),b1).filter(function(t,r,o){return o.indexOf(t)===r}).forEach(function(t){switch(t){case"name":typeof e.name!="string"&&console.error(Pn(vr,String(e.name),'"name"','"string"','"'+String(e.name)+'"'));break;case"enabled":typeof e.enabled!="boolean"&&console.error(Pn(vr,e.name,'"enabled"','"boolean"','"'+String(e.enabled)+'"'));break;case"phase":Gi.indexOf(e.phase)<0&&console.error(Pn(vr,e.name,'"phase"',"either "+Gi.join(", "),'"'+String(e.phase)+'"'));break;case"fn":typeof e.fn!="function"&&console.error(Pn(vr,e.name,'"fn"','"function"','"'+String(e.fn)+'"'));break;case"effect":e.effect!=null&&typeof e.effect!="function"&&console.error(Pn(vr,e.name,'"effect"','"function"','"'+String(e.fn)+'"'));break;case"requires":e.requires!=null&&!Array.isArray(e.requires)&&console.error(Pn(vr,e.name,'"requires"','"array"','"'+String(e.requires)+'"'));break;case"requiresIfExists":Array.isArray(e.requiresIfExists)||console.error(Pn(vr,e.name,'"requiresIfExists"','"array"','"'+String(e.requiresIfExists)+'"'));break;case"options":case"data":break;default:console.error('PopperJS: an invalid property has been provided to the "'+e.name+'" modifier, valid properties are '+b1.map(function(r){return'"'+r+'"'}).join(", ")+'; but "'+t+'" was provided.')}e.requires&&e.requires.forEach(function(r){n.find(function(o){return o.name===r})==null&&console.error(Pn(lC,String(e.name),r,r))})})})}function dC(n,e){var t=new Set;return n.filter(function(r){var o=e(r);if(!t.has(o))return t.add(o),!0})}function uC(n){var e=n.reduce(function(t,r){var o=t[r.name];return t[r.name]=o?Object.assign({},o,r,{options:Object.assign({},o.options,r.options),data:Object.assign({},o.data,r.data)}):r,t},{});return Object.keys(e).map(function(t){return e[t]})}var A1="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",fC="Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.",w1={placement:"bottom",modifiers:[],strategy:"absolute"};function S1(){for(var n=arguments.length,e=new Array(n),t=0;t<n;t++)e[t]=arguments[t];return!e.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function rs(n){n===void 0&&(n={});var e=n,t=e.defaultModifiers,r=t===void 0?[]:t,o=e.defaultOptions,i=o===void 0?w1:o;return function(l,a,d){d===void 0&&(d=i);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},w1,i),modifiersData:{},elements:{reference:l,popper:a},attributes:{},styles:{}},f=[],h=!1,p={state:u,setOptions:function(b){var A=typeof b=="function"?b(u.options):b;g(),u.options=Object.assign({},i,u.options,A),u.scrollParents={reference:mr(l)?Ho(l):l.contextElement?Ho(l.contextElement):[],popper:Ho(a)};var S=sC(uC([].concat(r,u.options.modifiers)));if(u.orderedModifiers=S.filter(function(D){return D.enabled}),process.env.NODE_ENV!=="production"){var y=dC([].concat(S,u.options.modifiers),function(D){var z=D.name;return z});if(cC(y),Qt(u.options.placement)===Vo){var T=u.orderedModifiers.find(function(D){var z=D.name;return z==="flip"});T||console.error(['Popper: "auto" placements require the "flip" modifier be',"present and enabled to work."].join(" "))}var k=Yt(a),$=k.marginTop,H=k.marginRight,U=k.marginBottom,R=k.marginLeft;[$,H,U,R].some(function(D){return parseFloat(D)})&&console.warn(['Popper: CSS "margin" styles cannot be used to apply padding',"between the popper and its reference element or boundary.","To replicate margin, use the `offset` modifier, as well as","the `padding` option in the `preventOverflow` and `flip`","modifiers."].join(" "))}return m(),p.update()},forceUpdate:function(){if(!h){var b=u.elements,A=b.reference,S=b.popper;if(!S1(A,S)){process.env.NODE_ENV!=="production"&&console.error(A1);return}u.rects={reference:oC(A,$o(S),u.options.strategy==="fixed"),popper:$l(S)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(D){return u.modifiersData[D.name]=Object.assign({},D.data)});for(var y=0,T=0;T<u.orderedModifiers.length;T++){if(process.env.NODE_ENV!=="production"&&(y+=1,y>100)){console.error(fC);break}if(u.reset===!0){u.reset=!1,T=-1;continue}var k=u.orderedModifiers[T],$=k.fn,H=k.options,U=H===void 0?{}:H,R=k.name;typeof $=="function"&&(u=$({state:u,options:U,name:R,instance:p})||u)}}},update:aC(function(){return new Promise(function(v){p.forceUpdate(),v(u)})}),destroy:function(){g(),h=!0}};if(!S1(l,a))return process.env.NODE_ENV!=="production"&&console.error(A1),p;p.setOptions(d).then(function(v){!h&&d.onFirstUpdate&&d.onFirstUpdate(v)});function m(){u.orderedModifiers.forEach(function(v){var b=v.name,A=v.options,S=A===void 0?{}:A,y=v.effect;if(typeof y=="function"){var T=y({state:u,name:b,instance:p,options:S}),k=function(){};f.push(T||k)}})}function g(){f.forEach(function(v){return v()}),f=[]}return p}}var hC=rs(),pC=[Ul,Yl,Hl,Xi],mC=rs({defaultModifiers:pC}),gC=[Ul,Yl,Hl,Xi,C1,m1,E1,c1,y1],is=rs({defaultModifiers:gC});const k1=Object.freeze(Object.defineProperty({__proto__:null,afterMain:qh,afterRead:Zh,afterWrite:n1,applyStyles:Xi,arrow:c1,auto:Vo,basePlacements:Wr,beforeMain:Gh,beforeRead:Yh,beforeWrite:e1,bottom:St,clippingParents:Kh,computeStyles:Hl,createPopper:is,createPopperBase:hC,createPopperLite:mC,detectOverflow:Gr,end:Kr,eventListeners:Ul,flip:m1,hide:y1,left:mt,main:Xh,modifierPhases:Gi,offset:C1,placements:Pl,popper:Qr,popperGenerator:rs,popperOffsets:Yl,preventOverflow:E1,read:Jh,reference:Qh,right:kt,start:pr,top:pt,variationPlacements:Rl,viewport:Bl,write:t1},Symbol.toStringTag,{value:"Module"}));var vC="tippy-box",x1="tippy-content",yC="tippy-backdrop",T1="tippy-arrow",M1="tippy-svg-arrow",yr={passive:!0,capture:!0},I1=function(){return document.body};function CC(n,e){return{}.hasOwnProperty.call(n,e)}function Jl(n,e,t){if(Array.isArray(n)){var r=n[e];return r??(Array.isArray(t)?t[e]:t)}return n}function Zl(n,e){var t={}.toString.call(n);return t.indexOf("[object")===0&&t.indexOf(e+"]")>-1}function O1(n,e){return typeof n=="function"?n.apply(void 0,e):n}function _1(n,e){if(e===0)return n;var t;return function(r){clearTimeout(t),t=setTimeout(function(){n(r)},e)}}function EC(n,e){var t=Object.assign({},n);return e.forEach(function(r){delete t[r]}),t}function bC(n){return n.split(/\s+/).filter(Boolean)}function Xr(n){return[].concat(n)}function N1(n,e){n.indexOf(e)===-1&&n.push(e)}function AC(n){return n.filter(function(e,t){return n.indexOf(e)===t})}function wC(n){return n.split("-")[0]}function ss(n){return[].slice.call(n)}function L1(n){return Object.keys(n).reduce(function(e,t){return n[t]!==void 0&&(e[t]=n[t]),e},{})}function Uo(){return document.createElement("div")}function jo(n){return["Element","Fragment"].some(function(e){return Zl(n,e)})}function SC(n){return Zl(n,"NodeList")}function kC(n){return Zl(n,"MouseEvent")}function xC(n){return!!(n&&n._tippy&&n._tippy.reference===n)}function TC(n){return jo(n)?[n]:SC(n)?ss(n):Array.isArray(n)?n:ss(document.querySelectorAll(n))}function Gl(n,e){n.forEach(function(t){t&&(t.style.transitionDuration=e+"ms")})}function D1(n,e){n.forEach(function(t){t&&t.setAttribute("data-state",e)})}function MC(n){var e,t=Xr(n),r=t[0];return r!=null&&(e=r.ownerDocument)!=null&&e.body?r.ownerDocument:document}function IC(n,e){var t=e.clientX,r=e.clientY;return n.every(function(o){var i=o.popperRect,s=o.popperState,l=o.props,a=l.interactiveBorder,d=wC(s.placement),u=s.modifiersData.offset;if(!u)return!0;var f=d==="bottom"?u.top.y:0,h=d==="top"?u.bottom.y:0,p=d==="right"?u.left.x:0,m=d==="left"?u.right.x:0,g=i.top-r+f>a,v=r-i.bottom-h>a,b=i.left-t+p>a,A=t-i.right-m>a;return g||v||b||A})}function Xl(n,e,t){var r=e+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(o){n[r](o,t)})}function B1(n,e){for(var t=e;t;){var r;if(n.contains(t))return!0;t=t.getRootNode==null||(r=t.getRootNode())==null?void 0:r.host}return!1}var rn={isTouch:!1},R1=0;function OC(){rn.isTouch||(rn.isTouch=!0,window.performance&&document.addEventListener("mousemove",P1))}function P1(){var n=performance.now();n-R1<20&&(rn.isTouch=!1,document.removeEventListener("mousemove",P1)),R1=n}function _C(){var n=document.activeElement;if(xC(n)){var e=n._tippy;n.blur&&!e.state.isVisible&&n.blur()}}function NC(){document.addEventListener("touchstart",OC,yr),window.addEventListener("blur",_C)}var LC=typeof window<"u"&&typeof document<"u",DC=LC?!!window.msCrypto:!1;function qr(n){var e=n==="destroy"?"n already-":" ";return[n+"() was called on a"+e+"destroyed instance. This is a no-op but","indicates a potential memory leak."].join(" ")}function F1(n){var e=/[ \t]{2,}/g,t=/^[ \t]*/gm;return n.replace(e," ").replace(t,"").trim()}function BC(n){return F1(`
|
|
153
|
+
`,"We recommend using the popper element as a wrapper around an inner","element that can have any CSS property transitioned for animations."].join(" "))}var u={placement:Qt(e.placement),variation:Zr(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:o,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,u1(Object.assign({},u,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:s,roundOffsets:a})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,u1(Object.assign({},u,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:a})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const Wl={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:W9,data:{}};var ns={passive:!0};function K9(n){var e=n.state,t=n.instance,r=n.options,o=r.scroll,i=o===void 0?!0:o,s=r.resize,l=s===void 0?!0:s,a=xt(e.elements.popper),d=[].concat(e.scrollParents.reference,e.scrollParents.popper);return i&&d.forEach(function(u){u.addEventListener("scroll",t.update,ns)}),l&&a.addEventListener("resize",t.update,ns),function(){i&&d.forEach(function(u){u.removeEventListener("scroll",t.update,ns)}),l&&a.removeEventListener("resize",t.update,ns)}}const Kl={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:K9,data:{}};var Q9={left:"right",right:"left",bottom:"top",top:"bottom"};function rs(n){return n.replace(/left|right|bottom|top/g,function(e){return Q9[e]})}var Y9={start:"end",end:"start"};function f1(n){return n.replace(/start|end/g,function(e){return Y9[e]})}function Ql(n){var e=xt(n),t=e.pageXOffset,r=e.pageYOffset;return{scrollLeft:t,scrollTop:r}}function Yl(n){return Gr(Rn(n)).left+Ql(n).scrollLeft}function G9(n,e){var t=xt(n),r=Rn(n),o=t.visualViewport,i=r.clientWidth,s=r.clientHeight,l=0,a=0;if(o){i=o.width,s=o.height;var d=o1();(d||!d&&e==="fixed")&&(l=o.offsetLeft,a=o.offsetTop)}return{width:i,height:s,x:l+Yl(n),y:a}}function Z9(n){var e,t=Rn(n),r=Ql(n),o=(e=n.ownerDocument)==null?void 0:e.body,i=gr(t.scrollWidth,t.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),s=gr(t.scrollHeight,t.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+Yl(n),a=-r.scrollTop;return Yt(o||t).direction==="rtl"&&(l+=gr(t.clientWidth,o?o.clientWidth:0)-i),{width:i,height:s,x:l,y:a}}function Gl(n){var e=Yt(n),t=e.overflow,r=e.overflowX,o=e.overflowY;return/auto|scroll|overlay|hidden/.test(t+o+r)}function h1(n){return["html","body","#document"].indexOf(nn(n))>=0?n.ownerDocument.body:Tt(n)&&Gl(n)?n:h1(ts(n))}function Uo(n,e){var t;e===void 0&&(e=[]);var r=h1(n),o=r===((t=n.ownerDocument)==null?void 0:t.body),i=xt(r),s=o?[i].concat(i.visualViewport||[],Gl(r)?r:[]):r,l=e.concat(s);return o?l:l.concat(Uo(ts(s)))}function Zl(n){return Object.assign({},n,{left:n.x,top:n.y,right:n.x+n.width,bottom:n.y+n.height})}function J9(n,e){var t=Gr(n,!1,e==="fixed");return t.top=t.top+n.clientTop,t.left=t.left+n.clientLeft,t.bottom=t.top+n.clientHeight,t.right=t.left+n.clientWidth,t.width=n.clientWidth,t.height=n.clientHeight,t.x=t.left,t.y=t.top,t}function p1(n,e,t){return e===Vl?Zl(G9(n,t)):mr(e)?J9(e,t):Zl(Z9(Rn(n)))}function X9(n){var e=Uo(ts(n)),t=["absolute","fixed"].indexOf(Yt(n).position)>=0,r=t&&Tt(n)?zo(n):n;return mr(r)?e.filter(function(o){return mr(o)&&i1(o,r)&&nn(o)!=="body"}):[]}function q9(n,e,t,r){var o=e==="clippingParents"?X9(n):[].concat(e),i=[].concat(o,[t]),s=i[0],l=i.reduce(function(a,d){var u=p1(n,d,r);return a.top=gr(u.top,a.top),a.right=es(u.right,a.right),a.bottom=es(u.bottom,a.bottom),a.left=gr(u.left,a.left),a},p1(n,s,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function m1(n){var e=n.reference,t=n.element,r=n.placement,o=r?Qt(r):null,i=r?Zr(r):null,s=e.x+e.width/2-t.width/2,l=e.y+e.height/2-t.height/2,a;switch(o){case pt:a={x:s,y:e.y-t.height};break;case St:a={x:s,y:e.y+e.height};break;case kt:a={x:e.x+e.width,y:l};break;case mt:a={x:e.x-t.width,y:l};break;default:a={x:e.x,y:e.y}}var d=o?jl(o):null;if(d!=null){var u=d==="y"?"height":"width";switch(i){case pr:a[d]=a[d]-(e[u]/2-t[u]/2);break;case Kr:a[d]=a[d]+(e[u]/2-t[u]/2);break}}return a}function Jr(n,e){e===void 0&&(e={});var t=e,r=t.placement,o=r===void 0?n.placement:r,i=t.strategy,s=i===void 0?n.strategy:i,l=t.boundary,a=l===void 0?Qh:l,d=t.rootBoundary,u=d===void 0?Vl:d,f=t.elementContext,h=f===void 0?Qr:f,p=t.altBoundary,m=p===void 0?!1:p,g=t.padding,v=g===void 0?0:g,b=l1(typeof v!="number"?v:c1(v,Wr)),A=h===Qr?Yh:Qr,w=n.rects.popper,y=n.elements[m?A:h],T=q9(mr(y)?y:y.contextElement||Rn(n.elements.popper),a,u,s),k=Gr(n.elements.reference),$=m1({reference:k,element:w,strategy:"absolute",placement:o}),H=Zl(Object.assign({},w,$)),U=h===Qr?H:k,R={top:T.top-U.top+b.top,bottom:U.bottom-T.bottom+b.bottom,left:T.left-U.left+b.left,right:U.right-T.right+b.right},D=n.modifiersData.offset;if(h===Qr&&D){var z=D[o];Object.keys(R).forEach(function(W){var j=[kt,St].indexOf(W)>=0?1:-1,F=[pt,St].indexOf(W)>=0?"y":"x";R[W]+=z[F]*j})}return R}function eC(n,e){e===void 0&&(e={});var t=e,r=t.placement,o=t.boundary,i=t.rootBoundary,s=t.padding,l=t.flipVariations,a=t.allowedAutoPlacements,d=a===void 0?$l:a,u=Zr(r),f=u?l?Fl:Fl.filter(function(m){return Zr(m)===u}):Wr,h=f.filter(function(m){return d.indexOf(m)>=0});h.length===0&&(h=f,process.env.NODE_ENV!=="production"&&console.error(["Popper: The `allowedAutoPlacements` option did not allow any","placements. Ensure the `placement` option matches the variation","of the allowed placements.",'For example, "auto" cannot be used to allow "bottom-start".','Use "auto-start" instead.'].join(" ")));var p=h.reduce(function(m,g){return m[g]=Jr(n,{placement:g,boundary:o,rootBoundary:i,padding:s})[Qt(g)],m},{});return Object.keys(p).sort(function(m,g){return p[m]-p[g]})}function tC(n){if(Qt(n)===$o)return[];var e=rs(n);return[f1(n),e,f1(e)]}function nC(n){var e=n.state,t=n.options,r=n.name;if(!e.modifiersData[r]._skip){for(var o=t.mainAxis,i=o===void 0?!0:o,s=t.altAxis,l=s===void 0?!0:s,a=t.fallbackPlacements,d=t.padding,u=t.boundary,f=t.rootBoundary,h=t.altBoundary,p=t.flipVariations,m=p===void 0?!0:p,g=t.allowedAutoPlacements,v=e.options.placement,b=Qt(v),A=b===v,w=a||(A||!m?[rs(v)]:tC(v)),y=[v].concat(w).reduce(function(Ae,Se){return Ae.concat(Qt(Se)===$o?eC(e,{placement:Se,boundary:u,rootBoundary:f,padding:d,flipVariations:m,allowedAutoPlacements:g}):Se)},[]),T=e.rects.reference,k=e.rects.popper,$=new Map,H=!0,U=y[0],R=0;R<y.length;R++){var D=y[R],z=Qt(D),W=Zr(D)===pr,j=[pt,St].indexOf(z)>=0,F=j?"width":"height",V=Jr(e,{placement:D,boundary:u,rootBoundary:f,altBoundary:h,padding:d}),Y=j?W?kt:mt:W?St:pt;T[F]>k[F]&&(Y=rs(Y));var L=rs(Y),X=[];if(i&&X.push(V[z]<=0),l&&X.push(V[Y]<=0,V[L]<=0),X.every(function(Ae){return Ae})){U=D,H=!1;break}$.set(D,X)}if(H)for(var ne=m?3:1,de=function(Se){var xe=y.find(function(Ce){var x=$.get(Ce);if(x)return x.slice(0,Se).every(function(I){return I})});if(xe)return U=xe,"break"},ge=ne;ge>0;ge--){var ve=de(ge);if(ve==="break")break}e.placement!==U&&(e.modifiersData[r]._skip=!0,e.placement=U,e.reset=!0)}}const g1={name:"flip",enabled:!0,phase:"main",fn:nC,requiresIfExists:["offset"],data:{_skip:!1}};function v1(n,e,t){return t===void 0&&(t={x:0,y:0}),{top:n.top-e.height-t.y,right:n.right-e.width+t.x,bottom:n.bottom-e.height+t.y,left:n.left-e.width-t.x}}function y1(n){return[pt,kt,St,mt].some(function(e){return n[e]>=0})}function rC(n){var e=n.state,t=n.name,r=e.rects.reference,o=e.rects.popper,i=e.modifiersData.preventOverflow,s=Jr(e,{elementContext:"reference"}),l=Jr(e,{altBoundary:!0}),a=v1(s,r),d=v1(l,o,i),u=y1(a),f=y1(d);e.modifiersData[t]={referenceClippingOffsets:a,popperEscapeOffsets:d,isReferenceHidden:u,hasPopperEscaped:f},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}const C1={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:rC};function oC(n,e,t){var r=Qt(n),o=[mt,pt].indexOf(r)>=0?-1:1,i=typeof t=="function"?t(Object.assign({},e,{placement:n})):t,s=i[0],l=i[1];return s=s||0,l=(l||0)*o,[mt,kt].indexOf(r)>=0?{x:l,y:s}:{x:s,y:l}}function iC(n){var e=n.state,t=n.options,r=n.name,o=t.offset,i=o===void 0?[0,0]:o,s=$l.reduce(function(u,f){return u[f]=oC(f,e.rects,i),u},{}),l=s[e.placement],a=l.x,d=l.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=a,e.modifiersData.popperOffsets.y+=d),e.modifiersData[r]=s}const E1={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:iC};function sC(n){var e=n.state,t=n.name;e.modifiersData[t]=m1({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const Jl={name:"popperOffsets",enabled:!0,phase:"read",fn:sC,data:{}};function aC(n){return n==="x"?"y":"x"}function lC(n){var e=n.state,t=n.options,r=n.name,o=t.mainAxis,i=o===void 0?!0:o,s=t.altAxis,l=s===void 0?!1:s,a=t.boundary,d=t.rootBoundary,u=t.altBoundary,f=t.padding,h=t.tether,p=h===void 0?!0:h,m=t.tetherOffset,g=m===void 0?0:m,v=Jr(e,{boundary:a,rootBoundary:d,padding:f,altBoundary:u}),b=Qt(e.placement),A=Zr(e.placement),w=!A,y=jl(b),T=aC(y),k=e.modifiersData.popperOffsets,$=e.rects.reference,H=e.rects.popper,U=typeof g=="function"?g(Object.assign({},e.rects,{placement:e.placement})):g,R=typeof U=="number"?{mainAxis:U,altAxis:U}:Object.assign({mainAxis:0,altAxis:0},U),D=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,z={x:0,y:0};if(k){if(i){var W,j=y==="y"?pt:mt,F=y==="y"?St:kt,V=y==="y"?"height":"width",Y=k[y],L=Y+v[j],X=Y-v[F],ne=p?-H[V]/2:0,de=A===pr?$[V]:H[V],ge=A===pr?-H[V]:-$[V],ve=e.elements.arrow,Ae=p&&ve?Ul(ve):{width:0,height:0},Se=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:a1(),xe=Se[j],Ce=Se[F],x=Ho(0,$[V],Ae[V]),I=w?$[V]/2-ne-x-xe-R.mainAxis:de-x-xe-R.mainAxis,S=w?-$[V]/2+ne+x+Ce+R.mainAxis:ge+x+Ce+R.mainAxis,M=e.elements.arrow&&zo(e.elements.arrow),C=M?y==="y"?M.clientTop||0:M.clientLeft||0:0,E=(W=D==null?void 0:D[y])!=null?W:0,_=Y+I-E-C,N=Y+S-E,B=Ho(p?es(L,_):L,Y,p?gr(X,N):X);k[y]=B,z[y]=B-Y}if(l){var P,K=y==="x"?pt:mt,G=y==="x"?St:kt,Q=k[T],Z=T==="y"?"height":"width",J=Q+v[K],re=Q-v[G],he=[pt,mt].indexOf(b)!==-1,we=(P=D==null?void 0:D[T])!=null?P:0,Le=he?J:Q-$[Z]-H[Z]-we+R.altAxis,ze=he?Q+$[Z]+H[Z]-we-R.altAxis:re,$e=p&&he?F9(Le,Q,ze):Ho(p?Le:J,Q,p?ze:re);k[T]=$e,z[T]=$e-Q}e.modifiersData[r]=z}}const b1={name:"preventOverflow",enabled:!0,phase:"main",fn:lC,requiresIfExists:["offset"]};function cC(n){return{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}}function dC(n){return n===xt(n)||!Tt(n)?Ql(n):cC(n)}function uC(n){var e=n.getBoundingClientRect(),t=Yr(e.width)/n.offsetWidth||1,r=Yr(e.height)/n.offsetHeight||1;return t!==1||r!==1}function fC(n,e,t){t===void 0&&(t=!1);var r=Tt(e),o=Tt(e)&&uC(e),i=Rn(e),s=Gr(n,o,t),l={scrollLeft:0,scrollTop:0},a={x:0,y:0};return(r||!r&&!t)&&((nn(e)!=="body"||Gl(i))&&(l=dC(e)),Tt(e)?(a=Gr(e,!0),a.x+=e.clientLeft,a.y+=e.clientTop):i&&(a.x=Yl(i))),{x:s.left+l.scrollLeft-a.x,y:s.top+l.scrollTop-a.y,width:s.width,height:s.height}}function hC(n){var e=new Map,t=new Set,r=[];n.forEach(function(i){e.set(i.name,i)});function o(i){t.add(i.name);var s=[].concat(i.requires||[],i.requiresIfExists||[]);s.forEach(function(l){if(!t.has(l)){var a=e.get(l);a&&o(a)}}),r.push(i)}return n.forEach(function(i){t.has(i.name)||o(i)}),r}function pC(n){var e=hC(n);return Xi.reduce(function(t,r){return t.concat(e.filter(function(o){return o.phase===r}))},[])}function mC(n){var e;return function(){return e||(e=new Promise(function(t){Promise.resolve().then(function(){e=void 0,t(n())})})),e}}function Pn(n){for(var e=arguments.length,t=new Array(e>1?e-1:0),r=1;r<e;r++)t[r-1]=arguments[r];return[].concat(t).reduce(function(o,i){return o.replace(/%s/,i)},n)}var vr='Popper: modifier "%s" provided an invalid %s property, expected %s but got %s',gC='Popper: modifier "%s" requires "%s", but "%s" modifier is not available',A1=["name","enabled","phase","fn","effect","requires","options"];function vC(n){n.forEach(function(e){[].concat(Object.keys(e),A1).filter(function(t,r,o){return o.indexOf(t)===r}).forEach(function(t){switch(t){case"name":typeof e.name!="string"&&console.error(Pn(vr,String(e.name),'"name"','"string"','"'+String(e.name)+'"'));break;case"enabled":typeof e.enabled!="boolean"&&console.error(Pn(vr,e.name,'"enabled"','"boolean"','"'+String(e.enabled)+'"'));break;case"phase":Xi.indexOf(e.phase)<0&&console.error(Pn(vr,e.name,'"phase"',"either "+Xi.join(", "),'"'+String(e.phase)+'"'));break;case"fn":typeof e.fn!="function"&&console.error(Pn(vr,e.name,'"fn"','"function"','"'+String(e.fn)+'"'));break;case"effect":e.effect!=null&&typeof e.effect!="function"&&console.error(Pn(vr,e.name,'"effect"','"function"','"'+String(e.fn)+'"'));break;case"requires":e.requires!=null&&!Array.isArray(e.requires)&&console.error(Pn(vr,e.name,'"requires"','"array"','"'+String(e.requires)+'"'));break;case"requiresIfExists":Array.isArray(e.requiresIfExists)||console.error(Pn(vr,e.name,'"requiresIfExists"','"array"','"'+String(e.requiresIfExists)+'"'));break;case"options":case"data":break;default:console.error('PopperJS: an invalid property has been provided to the "'+e.name+'" modifier, valid properties are '+A1.map(function(r){return'"'+r+'"'}).join(", ")+'; but "'+t+'" was provided.')}e.requires&&e.requires.forEach(function(r){n.find(function(o){return o.name===r})==null&&console.error(Pn(gC,String(e.name),r,r))})})})}function yC(n,e){var t=new Set;return n.filter(function(r){var o=e(r);if(!t.has(o))return t.add(o),!0})}function CC(n){var e=n.reduce(function(t,r){var o=t[r.name];return t[r.name]=o?Object.assign({},o,r,{options:Object.assign({},o.options,r.options),data:Object.assign({},o.data,r.data)}):r,t},{});return Object.keys(e).map(function(t){return e[t]})}var w1="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",EC="Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.",S1={placement:"bottom",modifiers:[],strategy:"absolute"};function k1(){for(var n=arguments.length,e=new Array(n),t=0;t<n;t++)e[t]=arguments[t];return!e.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function is(n){n===void 0&&(n={});var e=n,t=e.defaultModifiers,r=t===void 0?[]:t,o=e.defaultOptions,i=o===void 0?S1:o;return function(l,a,d){d===void 0&&(d=i);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},S1,i),modifiersData:{},elements:{reference:l,popper:a},attributes:{},styles:{}},f=[],h=!1,p={state:u,setOptions:function(b){var A=typeof b=="function"?b(u.options):b;g(),u.options=Object.assign({},i,u.options,A),u.scrollParents={reference:mr(l)?Uo(l):l.contextElement?Uo(l.contextElement):[],popper:Uo(a)};var w=pC(CC([].concat(r,u.options.modifiers)));if(u.orderedModifiers=w.filter(function(D){return D.enabled}),process.env.NODE_ENV!=="production"){var y=yC([].concat(w,u.options.modifiers),function(D){var z=D.name;return z});if(vC(y),Qt(u.options.placement)===$o){var T=u.orderedModifiers.find(function(D){var z=D.name;return z==="flip"});T||console.error(['Popper: "auto" placements require the "flip" modifier be',"present and enabled to work."].join(" "))}var k=Yt(a),$=k.marginTop,H=k.marginRight,U=k.marginBottom,R=k.marginLeft;[$,H,U,R].some(function(D){return parseFloat(D)})&&console.warn(['Popper: CSS "margin" styles cannot be used to apply padding',"between the popper and its reference element or boundary.","To replicate margin, use the `offset` modifier, as well as","the `padding` option in the `preventOverflow` and `flip`","modifiers."].join(" "))}return m(),p.update()},forceUpdate:function(){if(!h){var b=u.elements,A=b.reference,w=b.popper;if(!k1(A,w)){process.env.NODE_ENV!=="production"&&console.error(w1);return}u.rects={reference:fC(A,zo(w),u.options.strategy==="fixed"),popper:Ul(w)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(D){return u.modifiersData[D.name]=Object.assign({},D.data)});for(var y=0,T=0;T<u.orderedModifiers.length;T++){if(process.env.NODE_ENV!=="production"&&(y+=1,y>100)){console.error(EC);break}if(u.reset===!0){u.reset=!1,T=-1;continue}var k=u.orderedModifiers[T],$=k.fn,H=k.options,U=H===void 0?{}:H,R=k.name;typeof $=="function"&&(u=$({state:u,options:U,name:R,instance:p})||u)}}},update:mC(function(){return new Promise(function(v){p.forceUpdate(),v(u)})}),destroy:function(){g(),h=!0}};if(!k1(l,a))return process.env.NODE_ENV!=="production"&&console.error(w1),p;p.setOptions(d).then(function(v){!h&&d.onFirstUpdate&&d.onFirstUpdate(v)});function m(){u.orderedModifiers.forEach(function(v){var b=v.name,A=v.options,w=A===void 0?{}:A,y=v.effect;if(typeof y=="function"){var T=y({state:u,name:b,instance:p,options:w}),k=function(){};f.push(T||k)}})}function g(){f.forEach(function(v){return v()}),f=[]}return p}}var bC=is(),AC=[Kl,Jl,Wl,qi],wC=is({defaultModifiers:AC}),SC=[Kl,Jl,Wl,qi,E1,g1,b1,d1,C1],ss=is({defaultModifiers:SC});const x1=Object.freeze(Object.defineProperty({__proto__:null,afterMain:e1,afterRead:Jh,afterWrite:r1,applyStyles:qi,arrow:d1,auto:$o,basePlacements:Wr,beforeMain:Xh,beforeRead:Gh,beforeWrite:t1,bottom:St,clippingParents:Qh,computeStyles:Wl,createPopper:ss,createPopperBase:bC,createPopperLite:wC,detectOverflow:Jr,end:Kr,eventListeners:Kl,flip:g1,hide:C1,left:mt,main:qh,modifierPhases:Xi,offset:E1,placements:$l,popper:Qr,popperGenerator:is,popperOffsets:Jl,preventOverflow:b1,read:Zh,reference:Yh,right:kt,start:pr,top:pt,variationPlacements:Fl,viewport:Vl,write:n1},Symbol.toStringTag,{value:"Module"}));var kC="tippy-box",T1="tippy-content",xC="tippy-backdrop",M1="tippy-arrow",I1="tippy-svg-arrow",yr={passive:!0,capture:!0},O1=function(){return document.body};function TC(n,e){return{}.hasOwnProperty.call(n,e)}function Xl(n,e,t){if(Array.isArray(n)){var r=n[e];return r??(Array.isArray(t)?t[e]:t)}return n}function ql(n,e){var t={}.toString.call(n);return t.indexOf("[object")===0&&t.indexOf(e+"]")>-1}function _1(n,e){return typeof n=="function"?n.apply(void 0,e):n}function N1(n,e){if(e===0)return n;var t;return function(r){clearTimeout(t),t=setTimeout(function(){n(r)},e)}}function MC(n,e){var t=Object.assign({},n);return e.forEach(function(r){delete t[r]}),t}function IC(n){return n.split(/\s+/).filter(Boolean)}function Xr(n){return[].concat(n)}function L1(n,e){n.indexOf(e)===-1&&n.push(e)}function OC(n){return n.filter(function(e,t){return n.indexOf(e)===t})}function _C(n){return n.split("-")[0]}function as(n){return[].slice.call(n)}function D1(n){return Object.keys(n).reduce(function(e,t){return n[t]!==void 0&&(e[t]=n[t]),e},{})}function jo(){return document.createElement("div")}function Wo(n){return["Element","Fragment"].some(function(e){return ql(n,e)})}function NC(n){return ql(n,"NodeList")}function LC(n){return ql(n,"MouseEvent")}function DC(n){return!!(n&&n._tippy&&n._tippy.reference===n)}function BC(n){return Wo(n)?[n]:NC(n)?as(n):Array.isArray(n)?n:as(document.querySelectorAll(n))}function ec(n,e){n.forEach(function(t){t&&(t.style.transitionDuration=e+"ms")})}function B1(n,e){n.forEach(function(t){t&&t.setAttribute("data-state",e)})}function RC(n){var e,t=Xr(n),r=t[0];return r!=null&&(e=r.ownerDocument)!=null&&e.body?r.ownerDocument:document}function PC(n,e){var t=e.clientX,r=e.clientY;return n.every(function(o){var i=o.popperRect,s=o.popperState,l=o.props,a=l.interactiveBorder,d=_C(s.placement),u=s.modifiersData.offset;if(!u)return!0;var f=d==="bottom"?u.top.y:0,h=d==="top"?u.bottom.y:0,p=d==="right"?u.left.x:0,m=d==="left"?u.right.x:0,g=i.top-r+f>a,v=r-i.bottom-h>a,b=i.left-t+p>a,A=t-i.right-m>a;return g||v||b||A})}function tc(n,e,t){var r=e+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(o){n[r](o,t)})}function R1(n,e){for(var t=e;t;){var r;if(n.contains(t))return!0;t=t.getRootNode==null||(r=t.getRootNode())==null?void 0:r.host}return!1}var rn={isTouch:!1},P1=0;function VC(){rn.isTouch||(rn.isTouch=!0,window.performance&&document.addEventListener("mousemove",V1))}function V1(){var n=performance.now();n-P1<20&&(rn.isTouch=!1,document.removeEventListener("mousemove",V1)),P1=n}function FC(){var n=document.activeElement;if(DC(n)){var e=n._tippy;n.blur&&!e.state.isVisible&&n.blur()}}function $C(){document.addEventListener("touchstart",VC,yr),window.addEventListener("blur",FC)}var zC=typeof window<"u"&&typeof document<"u",HC=zC?!!window.msCrypto:!1;function qr(n){var e=n==="destroy"?"n already-":" ";return[n+"() was called on a"+e+"destroyed instance. This is a no-op but","indicates a potential memory leak."].join(" ")}function F1(n){var e=/[ \t]{2,}/g,t=/^[ \t]*/gm;return n.replace(e," ").replace(t,"").trim()}function UC(n){return F1(`
|
|
154
154
|
%ctippy.js
|
|
155
155
|
|
|
156
156
|
%c`+F1(n)+`
|
|
157
157
|
|
|
158
158
|
%c👷 This is a development-only message. It will be removed in production.
|
|
159
|
-
`)}function
|
|
159
|
+
`)}function $1(n){return[UC(n),"color: #00C584; font-size: 1.3em; font-weight: bold;","line-height: 1.5","color: #a6a095;"]}var Ko;process.env.NODE_ENV!=="production"&&jC();function jC(){Ko=new Set}function gn(n,e){if(n&&!Ko.has(e)){var t;Ko.add(e),(t=console).warn.apply(t,$1(e))}}function nc(n,e){if(n&&!Ko.has(e)){var t;Ko.add(e),(t=console).error.apply(t,$1(e))}}function WC(n){var e=!n,t=Object.prototype.toString.call(n)==="[object Object]"&&!n.addEventListener;nc(e,["tippy() was passed","`"+String(n)+"`","as its targets (first) argument. Valid types are: String, Element,","Element[], or NodeList."].join(" ")),nc(t,["tippy() was passed a plain object which is not supported as an argument","for virtual positioning. Use props.getReferenceClientRect instead."].join(" "))}var z1={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},KC={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},Mt=Object.assign({appendTo:O1,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},z1,KC),QC=Object.keys(Mt),YC=function(e){process.env.NODE_ENV!=="production"&&j1(e,[]);var t=Object.keys(e);t.forEach(function(r){Mt[r]=e[r]})};function H1(n){var e=n.plugins||[],t=e.reduce(function(r,o){var i=o.name,s=o.defaultValue;if(i){var l;r[i]=n[i]!==void 0?n[i]:(l=Mt[i])!=null?l:s}return r},{});return Object.assign({},n,t)}function GC(n,e){var t=e?Object.keys(H1(Object.assign({},Mt,{plugins:e}))):QC,r=t.reduce(function(o,i){var s=(n.getAttribute("data-tippy-"+i)||"").trim();if(!s)return o;if(i==="content")o[i]=s;else try{o[i]=JSON.parse(s)}catch{o[i]=s}return o},{});return r}function U1(n,e){var t=Object.assign({},e,{content:_1(e.content,[n])},e.ignoreAttributes?{}:GC(n,e.plugins));return t.aria=Object.assign({},Mt.aria,t.aria),t.aria={expanded:t.aria.expanded==="auto"?e.interactive:t.aria.expanded,content:t.aria.content==="auto"?e.interactive?null:"describedby":t.aria.content},t}function j1(n,e){n===void 0&&(n={}),e===void 0&&(e=[]);var t=Object.keys(n);t.forEach(function(r){var o=MC(Mt,Object.keys(z1)),i=!TC(o,r);i&&(i=e.filter(function(s){return s.name===r}).length===0),gn(i,["`"+r+"`","is not a valid prop. You may have spelled it incorrectly, or if it's","a plugin, forgot to pass it in an array as props.plugins.",`
|
|
160
160
|
|
|
161
161
|
`,`All props: https://atomiks.github.io/tippyjs/v6/all-props/
|
|
162
|
-
`,"Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "))})}var
|
|
162
|
+
`,"Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "))})}var ZC=function(){return"innerHTML"};function rc(n,e){n[ZC()]=e}function W1(n){var e=jo();return n===!0?e.className=M1:(e.className=I1,Wo(n)?e.appendChild(n):rc(e,n)),e}function K1(n,e){Wo(e.content)?(rc(n,""),n.appendChild(e.content)):typeof e.content!="function"&&(e.allowHTML?rc(n,e.content):n.textContent=e.content)}function oc(n){var e=n.firstElementChild,t=as(e.children);return{box:e,content:t.find(function(r){return r.classList.contains(T1)}),arrow:t.find(function(r){return r.classList.contains(M1)||r.classList.contains(I1)}),backdrop:t.find(function(r){return r.classList.contains(xC)})}}function Q1(n){var e=jo(),t=jo();t.className=kC,t.setAttribute("data-state","hidden"),t.setAttribute("tabindex","-1");var r=jo();r.className=T1,r.setAttribute("data-state","hidden"),K1(r,n.props),e.appendChild(t),t.appendChild(r),o(n.props,n.props);function o(i,s){var l=oc(e),a=l.box,d=l.content,u=l.arrow;s.theme?a.setAttribute("data-theme",s.theme):a.removeAttribute("data-theme"),typeof s.animation=="string"?a.setAttribute("data-animation",s.animation):a.removeAttribute("data-animation"),s.inertia?a.setAttribute("data-inertia",""):a.removeAttribute("data-inertia"),a.style.maxWidth=typeof s.maxWidth=="number"?s.maxWidth+"px":s.maxWidth,s.role?a.setAttribute("role",s.role):a.removeAttribute("role"),(i.content!==s.content||i.allowHTML!==s.allowHTML)&&K1(d,n.props),s.arrow?u?i.arrow!==s.arrow&&(a.removeChild(u),a.appendChild(W1(s.arrow))):a.appendChild(W1(s.arrow)):u&&a.removeChild(u)}return{popper:e,onUpdate:o}}Q1.$$tippy=!0;var JC=1,ls=[],ic=[];function XC(n,e){var t=U1(n,Object.assign({},Mt,H1(D1(e)))),r,o,i,s=!1,l=!1,a=!1,d=!1,u,f,h,p=[],m=N1(_,t.interactiveDebounce),g,v=JC++,b=null,A=OC(t.plugins),w={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},y={id:v,reference:n,popper:jo(),popperInstance:b,props:t,state:w,plugins:A,clearDelayTimeouts:Le,setProps:ze,setContent:$e,show:Be,hide:Ze,hideWithInteractivity:At,enable:he,disable:we,unmount:at,destroy:Yn};if(!t.render)return process.env.NODE_ENV!=="production"&&nc(!0,"render() function has not been supplied."),y;var T=t.render(y),k=T.popper,$=T.onUpdate;k.setAttribute("data-tippy-root",""),k.id="tippy-"+y.id,y.popper=k,n._tippy=y,k._tippy=y;var H=A.map(function(ee){return ee.fn(y)}),U=n.hasAttribute("aria-expanded");return M(),ne(),Y(),L("onCreate",[y]),t.showOnCreate&&J(),k.addEventListener("mouseenter",function(){y.props.interactive&&y.state.isVisible&&y.clearDelayTimeouts()}),k.addEventListener("mouseleave",function(){y.props.interactive&&y.props.trigger.indexOf("mouseenter")>=0&&j().addEventListener("mousemove",m)}),y;function R(){var ee=y.props.touch;return Array.isArray(ee)?ee:[ee,0]}function D(){return R()[0]==="hold"}function z(){var ee;return!!((ee=y.props.render)!=null&&ee.$$tippy)}function W(){return g||n}function j(){var ee=W().parentNode;return ee?RC(ee):document}function F(){return oc(k)}function V(ee){return y.state.isMounted&&!y.state.isVisible||rn.isTouch||u&&u.type==="focus"?0:Xl(y.props.delay,ee?0:1,Mt.delay)}function Y(ee){ee===void 0&&(ee=!1),k.style.pointerEvents=y.props.interactive&&!ee?"":"none",k.style.zIndex=""+y.props.zIndex}function L(ee,ue,fe){if(fe===void 0&&(fe=!0),H.forEach(function(Ie){Ie[ee]&&Ie[ee].apply(Ie,ue)}),fe){var Te;(Te=y.props)[ee].apply(Te,ue)}}function X(){var ee=y.props.aria;if(ee.content){var ue="aria-"+ee.content,fe=k.id,Te=Xr(y.props.triggerTarget||n);Te.forEach(function(Ie){var je=Ie.getAttribute(ue);if(y.state.isVisible)Ie.setAttribute(ue,je?je+" "+fe:fe);else{var Ke=je&&je.replace(fe,"").trim();Ke?Ie.setAttribute(ue,Ke):Ie.removeAttribute(ue)}})}}function ne(){if(!(U||!y.props.aria.expanded)){var ee=Xr(y.props.triggerTarget||n);ee.forEach(function(ue){y.props.interactive?ue.setAttribute("aria-expanded",y.state.isVisible&&ue===W()?"true":"false"):ue.removeAttribute("aria-expanded")})}}function de(){j().removeEventListener("mousemove",m),ls=ls.filter(function(ee){return ee!==m})}function ge(ee){if(!(rn.isTouch&&(a||ee.type==="mousedown"))){var ue=ee.composedPath&&ee.composedPath()[0]||ee.target;if(!(y.props.interactive&&R1(k,ue))){if(Xr(y.props.triggerTarget||n).some(function(fe){return R1(fe,ue)})){if(rn.isTouch||y.state.isVisible&&y.props.trigger.indexOf("click")>=0)return}else L("onClickOutside",[y,ee]);y.props.hideOnClick===!0&&(y.clearDelayTimeouts(),y.hide(),l=!0,setTimeout(function(){l=!1}),y.state.isMounted||xe())}}}function ve(){a=!0}function Ae(){a=!1}function Se(){var ee=j();ee.addEventListener("mousedown",ge,!0),ee.addEventListener("touchend",ge,yr),ee.addEventListener("touchstart",Ae,yr),ee.addEventListener("touchmove",ve,yr)}function xe(){var ee=j();ee.removeEventListener("mousedown",ge,!0),ee.removeEventListener("touchend",ge,yr),ee.removeEventListener("touchstart",Ae,yr),ee.removeEventListener("touchmove",ve,yr)}function Ce(ee,ue){I(ee,function(){!y.state.isVisible&&k.parentNode&&k.parentNode.contains(k)&&ue()})}function x(ee,ue){I(ee,ue)}function I(ee,ue){var fe=F().box;function Te(Ie){Ie.target===fe&&(tc(fe,"remove",Te),ue())}if(ee===0)return ue();tc(fe,"remove",f),tc(fe,"add",Te),f=Te}function S(ee,ue,fe){fe===void 0&&(fe=!1);var Te=Xr(y.props.triggerTarget||n);Te.forEach(function(Ie){Ie.addEventListener(ee,ue,fe),p.push({node:Ie,eventType:ee,handler:ue,options:fe})})}function M(){D()&&(S("touchstart",E,{passive:!0}),S("touchend",N,{passive:!0})),IC(y.props.trigger).forEach(function(ee){if(ee!=="manual")switch(S(ee,E),ee){case"mouseenter":S("mouseleave",N);break;case"focus":S(HC?"focusout":"blur",B);break;case"focusin":S("focusout",B);break}})}function C(){p.forEach(function(ee){var ue=ee.node,fe=ee.eventType,Te=ee.handler,Ie=ee.options;ue.removeEventListener(fe,Te,Ie)}),p=[]}function E(ee){var ue,fe=!1;if(!(!y.state.isEnabled||P(ee)||l)){var Te=((ue=u)==null?void 0:ue.type)==="focus";u=ee,g=ee.currentTarget,ne(),!y.state.isVisible&&LC(ee)&&ls.forEach(function(Ie){return Ie(ee)}),ee.type==="click"&&(y.props.trigger.indexOf("mouseenter")<0||s)&&y.props.hideOnClick!==!1&&y.state.isVisible?fe=!0:J(ee),ee.type==="click"&&(s=!fe),fe&&!Te&&re(ee)}}function _(ee){var ue=ee.target,fe=W().contains(ue)||k.contains(ue);if(!(ee.type==="mousemove"&&fe)){var Te=Z().concat(k).map(function(Ie){var je,Ke=Ie._tippy,gt=(je=Ke.popperInstance)==null?void 0:je.state;return gt?{popperRect:Ie.getBoundingClientRect(),popperState:gt,props:t}:null}).filter(Boolean);PC(Te,ee)&&(de(),re(ee))}}function N(ee){var ue=P(ee)||y.props.trigger.indexOf("click")>=0&&s;if(!ue){if(y.props.interactive){y.hideWithInteractivity(ee);return}re(ee)}}function B(ee){y.props.trigger.indexOf("focusin")<0&&ee.target!==W()||y.props.interactive&&ee.relatedTarget&&k.contains(ee.relatedTarget)||re(ee)}function P(ee){return rn.isTouch?D()!==ee.type.indexOf("touch")>=0:!1}function K(){G();var ee=y.props,ue=ee.popperOptions,fe=ee.placement,Te=ee.offset,Ie=ee.getReferenceClientRect,je=ee.moveTransition,Ke=z()?oc(k).arrow:null,gt=Ie?{getBoundingClientRect:Ie,contextElement:Ie.contextElement||W()}:n,vt={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(Gn){var It=Gn.state;if(z()){var Ft=F(),go=Ft.box;["placement","reference-hidden","escaped"].forEach(function($t){$t==="placement"?go.setAttribute("data-placement",It.placement):It.attributes.popper["data-popper-"+$t]?go.setAttribute("data-"+$t,""):go.removeAttribute("data-"+$t)}),It.attributes.popper={}}}},rt=[{name:"offset",options:{offset:Te}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!je}},vt];z()&&Ke&&rt.push({name:"arrow",options:{element:Ke,padding:3}}),rt.push.apply(rt,(ue==null?void 0:ue.modifiers)||[]),y.popperInstance=ss(gt,k,Object.assign({},ue,{placement:fe,onFirstUpdate:h,modifiers:rt}))}function G(){y.popperInstance&&(y.popperInstance.destroy(),y.popperInstance=null)}function Q(){var ee=y.props.appendTo,ue,fe=W();y.props.interactive&&ee===O1||ee==="parent"?ue=fe.parentNode:ue=_1(ee,[fe]),ue.contains(k)||ue.appendChild(k),y.state.isMounted=!0,K(),process.env.NODE_ENV!=="production"&&gn(y.props.interactive&&ee===Mt.appendTo&&fe.nextElementSibling!==k,["Interactive tippy element may not be accessible via keyboard","navigation because it is not directly after the reference element","in the DOM source order.",`
|
|
163
163
|
|
|
164
164
|
`,"Using a wrapper <div> or <span> tag around the reference element","solves this by creating a new parentNode context.",`
|
|
165
165
|
|
|
166
166
|
`,"Specifying `appendTo: document.body` silences this warning, but it","assumes you are using a focus management solution to handle","keyboard navigation.",`
|
|
167
167
|
|
|
168
|
-
`,"See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity"].join(" "))}function Z(){return
|
|
168
|
+
`,"See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity"].join(" "))}function Z(){return as(k.querySelectorAll("[data-tippy-root]"))}function J(ee){y.clearDelayTimeouts(),ee&&L("onTrigger",[y,ee]),Se();var ue=V(!0),fe=R(),Te=fe[0],Ie=fe[1];rn.isTouch&&Te==="hold"&&Ie&&(ue=Ie),ue?r=setTimeout(function(){y.show()},ue):y.show()}function re(ee){if(y.clearDelayTimeouts(),L("onUntrigger",[y,ee]),!y.state.isVisible){xe();return}if(!(y.props.trigger.indexOf("mouseenter")>=0&&y.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(ee.type)>=0&&s)){var ue=V(!1);ue?o=setTimeout(function(){y.state.isVisible&&y.hide()},ue):i=requestAnimationFrame(function(){y.hide()})}}function he(){y.state.isEnabled=!0}function we(){y.hide(),y.state.isEnabled=!1}function Le(){clearTimeout(r),clearTimeout(o),cancelAnimationFrame(i)}function ze(ee){if(process.env.NODE_ENV!=="production"&&gn(y.state.isDestroyed,qr("setProps")),!y.state.isDestroyed){L("onBeforeUpdate",[y,ee]),C();var ue=y.props,fe=U1(n,Object.assign({},ue,D1(ee),{ignoreAttributes:!0}));y.props=fe,M(),ue.interactiveDebounce!==fe.interactiveDebounce&&(de(),m=N1(_,fe.interactiveDebounce)),ue.triggerTarget&&!fe.triggerTarget?Xr(ue.triggerTarget).forEach(function(Te){Te.removeAttribute("aria-expanded")}):fe.triggerTarget&&n.removeAttribute("aria-expanded"),ne(),Y(),$&&$(ue,fe),y.popperInstance&&(K(),Z().forEach(function(Te){requestAnimationFrame(Te._tippy.popperInstance.forceUpdate)})),L("onAfterUpdate",[y,ee])}}function $e(ee){y.setProps({content:ee})}function Be(){process.env.NODE_ENV!=="production"&&gn(y.state.isDestroyed,qr("show"));var ee=y.state.isVisible,ue=y.state.isDestroyed,fe=!y.state.isEnabled,Te=rn.isTouch&&!y.props.touch,Ie=Xl(y.props.duration,0,Mt.duration);if(!(ee||ue||fe||Te)&&!W().hasAttribute("disabled")&&(L("onShow",[y],!1),y.props.onShow(y)!==!1)){if(y.state.isVisible=!0,z()&&(k.style.visibility="visible"),Y(),Se(),y.state.isMounted||(k.style.transition="none"),z()){var je=F(),Ke=je.box,gt=je.content;ec([Ke,gt],0)}h=function(){var rt;if(!(!y.state.isVisible||d)){if(d=!0,k.offsetHeight,k.style.transition=y.props.moveTransition,z()&&y.props.animation){var cn=F(),Gn=cn.box,It=cn.content;ec([Gn,It],Ie),B1([Gn,It],"visible")}X(),ne(),L1(ic,y),(rt=y.popperInstance)==null||rt.forceUpdate(),L("onMount",[y]),y.props.animation&&z()&&x(Ie,function(){y.state.isShown=!0,L("onShown",[y])})}},Q()}}function Ze(){process.env.NODE_ENV!=="production"&&gn(y.state.isDestroyed,qr("hide"));var ee=!y.state.isVisible,ue=y.state.isDestroyed,fe=!y.state.isEnabled,Te=Xl(y.props.duration,1,Mt.duration);if(!(ee||ue||fe)&&(L("onHide",[y],!1),y.props.onHide(y)!==!1)){if(y.state.isVisible=!1,y.state.isShown=!1,d=!1,s=!1,z()&&(k.style.visibility="hidden"),de(),xe(),Y(!0),z()){var Ie=F(),je=Ie.box,Ke=Ie.content;y.props.animation&&(ec([je,Ke],Te),B1([je,Ke],"hidden"))}X(),ne(),y.props.animation?z()&&Ce(Te,y.unmount):y.unmount()}}function At(ee){process.env.NODE_ENV!=="production"&&gn(y.state.isDestroyed,qr("hideWithInteractivity")),j().addEventListener("mousemove",m),L1(ls,m),m(ee)}function at(){process.env.NODE_ENV!=="production"&&gn(y.state.isDestroyed,qr("unmount")),y.state.isVisible&&y.hide(),y.state.isMounted&&(G(),Z().forEach(function(ee){ee._tippy.unmount()}),k.parentNode&&k.parentNode.removeChild(k),ic=ic.filter(function(ee){return ee!==y}),y.state.isMounted=!1,L("onHidden",[y]))}function Yn(){process.env.NODE_ENV!=="production"&&gn(y.state.isDestroyed,qr("destroy")),!y.state.isDestroyed&&(y.clearDelayTimeouts(),y.unmount(),C(),delete n._tippy,y.state.isDestroyed=!0,L("onDestroy",[y]))}}function eo(n,e){e===void 0&&(e={});var t=Mt.plugins.concat(e.plugins||[]);process.env.NODE_ENV!=="production"&&(WC(n),j1(e,t)),$C();var r=Object.assign({},e,{plugins:t}),o=BC(n);if(process.env.NODE_ENV!=="production"){var i=Wo(r.content),s=o.length>1;gn(i&&s,["tippy() was passed an Element as the `content` prop, but more than","one tippy instance was created by this invocation. This means the","content element will only be appended to the last tippy instance.",`
|
|
169
169
|
|
|
170
170
|
`,"Instead, pass the .innerHTML of the element, or use a function that","returns a cloned version of the element instead.",`
|
|
171
171
|
|
|
172
172
|
`,`1) content: element.innerHTML
|
|
173
|
-
`,"2) content: () => element.cloneNode(true)"].join(" "))}var l=o.reduce(function(a,d){var u=d&&jC(d,r);return u&&a.push(u),a},[]);return jo(n)?l[0]:l}eo.defaultProps=Mt,eo.setDefaultProps=$C,eo.currentInput=rn,Object.assign({},Xi,{effect:function(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow)}}),eo.setDefaultProps({render:K1});class WC{constructor({editor:e,element:t,view:r,tippyOptions:o={},updateDelay:i=250,shouldShow:s}){this.preventHide=!1,this.shouldShow=({view:l,state:a,from:d,to:u})=>{const{doc:f,selection:h}=a,{empty:p}=h,m=!f.textBetween(d,u).length&&Ml(a.selection),g=this.element.contains(document.activeElement);return!(!(l.hasFocus()||g)||p||m||!this.editor.isEditable)},this.mousedownHandler=()=>{this.preventHide=!0},this.dragstartHandler=()=>{this.hide()},this.focusHandler=()=>{setTimeout(()=>this.update(this.editor.view))},this.blurHandler=({event:l})=>{var a;if(this.preventHide){this.preventHide=!1;return}l!=null&&l.relatedTarget&&(!((a=this.element.parentNode)===null||a===void 0)&&a.contains(l.relatedTarget))||this.hide()},this.tippyBlurHandler=l=>{this.blurHandler({event:l})},this.handleDebouncedUpdate=(l,a)=>{const d=!(a!=null&&a.selection.eq(l.state.selection)),u=!(a!=null&&a.doc.eq(l.state.doc));!d&&!u||(this.updateDebounceTimer&&clearTimeout(this.updateDebounceTimer),this.updateDebounceTimer=window.setTimeout(()=>{this.updateHandler(l,d,u,a)},this.updateDelay))},this.updateHandler=(l,a,d,u)=>{var f,h,p;const{state:m,composing:g}=l,{selection:v}=m;if(g||!a&&!d)return;this.createTooltip();const{ranges:A}=v,S=Math.min(...A.map(k=>k.$from.pos)),y=Math.max(...A.map(k=>k.$to.pos));if(!((f=this.shouldShow)===null||f===void 0?void 0:f.call(this,{editor:this.editor,view:l,state:m,oldState:u,from:S,to:y}))){this.hide();return}(h=this.tippy)===null||h===void 0||h.setProps({getReferenceClientRect:((p=this.tippyOptions)===null||p===void 0?void 0:p.getReferenceClientRect)||(()=>{if(a9(m.selection)){let k=l.nodeDOM(S);const $=k.dataset.nodeViewWrapper?k:k.querySelector("[data-node-view-wrapper]");if($&&(k=$.firstChild),k)return k.getBoundingClientRect()}return jh(l,S,y)})}),this.show()},this.editor=e,this.element=t,this.view=r,this.updateDelay=i,s&&(this.shouldShow=s),this.element.addEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.view.dom.addEventListener("dragstart",this.dragstartHandler),this.editor.on("focus",this.focusHandler),this.editor.on("blur",this.blurHandler),this.tippyOptions=o,this.element.remove(),this.element.style.visibility="visible"}createTooltip(){const{element:e}=this.editor.options,t=!!e.parentElement;this.tippy||!t||(this.tippy=eo(e,{duration:0,getReferenceClientRect:null,content:this.element,interactive:!0,trigger:"manual",placement:"top",hideOnClick:"toggle",...this.tippyOptions}),this.tippy.popper.firstChild&&this.tippy.popper.firstChild.addEventListener("blur",this.tippyBlurHandler))}update(e,t){const{state:r}=e,o=r.selection.$from.pos!==r.selection.$to.pos;if(this.updateDelay>0&&o){this.handleDebouncedUpdate(e,t);return}const i=!(t!=null&&t.selection.eq(e.state.selection)),s=!(t!=null&&t.doc.eq(e.state.doc));this.updateHandler(e,i,s,t)}show(){var e;(e=this.tippy)===null||e===void 0||e.show()}hide(){var e;(e=this.tippy)===null||e===void 0||e.hide()}destroy(){var e,t;!((e=this.tippy)===null||e===void 0)&&e.popper.firstChild&&this.tippy.popper.firstChild.removeEventListener("blur",this.tippyBlurHandler),(t=this.tippy)===null||t===void 0||t.destroy(),this.element.removeEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.view.dom.removeEventListener("dragstart",this.dragstartHandler),this.editor.off("focus",this.focusHandler),this.editor.off("blur",this.blurHandler)}}const Q1=n=>new yt({key:typeof n.pluginKey=="string"?new jt(n.pluginKey):n.pluginKey,view:e=>new WC({view:e,...n})});Lt.create({name:"bubbleMenu",addOptions(){return{element:null,tippyOptions:{},pluginKey:"bubbleMenu",updateDelay:void 0,shouldShow:null}},addProseMirrorPlugins(){return this.options.element?[Q1({pluginKey:this.options.pluginKey,editor:this.editor,element:this.options.element,tippyOptions:this.options.tippyOptions,updateDelay:this.options.updateDelay,shouldShow:this.options.shouldShow})]:[]}});class KC{constructor({editor:e,element:t,view:r,tippyOptions:o={},shouldShow:i}){this.preventHide=!1,this.shouldShow=({view:s,state:l})=>{const{selection:a}=l,{$anchor:d,empty:u}=a,f=d.depth===1,h=d.parent.isTextblock&&!d.parent.type.spec.code&&!d.parent.textContent;return!(!s.hasFocus()||!u||!f||!h||!this.editor.isEditable)},this.mousedownHandler=()=>{this.preventHide=!0},this.focusHandler=()=>{setTimeout(()=>this.update(this.editor.view))},this.blurHandler=({event:s})=>{var l;if(this.preventHide){this.preventHide=!1;return}s!=null&&s.relatedTarget&&(!((l=this.element.parentNode)===null||l===void 0)&&l.contains(s.relatedTarget))||this.hide()},this.tippyBlurHandler=s=>{this.blurHandler({event:s})},this.editor=e,this.element=t,this.view=r,i&&(this.shouldShow=i),this.element.addEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.editor.on("focus",this.focusHandler),this.editor.on("blur",this.blurHandler),this.tippyOptions=o,this.element.remove(),this.element.style.visibility="visible"}createTooltip(){const{element:e}=this.editor.options,t=!!e.parentElement;this.tippy||!t||(this.tippy=eo(e,{duration:0,getReferenceClientRect:null,content:this.element,interactive:!0,trigger:"manual",placement:"right",hideOnClick:"toggle",...this.tippyOptions}),this.tippy.popper.firstChild&&this.tippy.popper.firstChild.addEventListener("blur",this.tippyBlurHandler))}update(e,t){var r,o,i;const{state:s}=e,{doc:l,selection:a}=s,{from:d,to:u}=a;if(t&&t.doc.eq(l)&&t.selection.eq(a))return;if(this.createTooltip(),!((r=this.shouldShow)===null||r===void 0?void 0:r.call(this,{editor:this.editor,view:e,state:s,oldState:t}))){this.hide();return}(o=this.tippy)===null||o===void 0||o.setProps({getReferenceClientRect:((i=this.tippyOptions)===null||i===void 0?void 0:i.getReferenceClientRect)||(()=>jh(e,d,u))}),this.show()}show(){var e;(e=this.tippy)===null||e===void 0||e.show()}hide(){var e;(e=this.tippy)===null||e===void 0||e.hide()}destroy(){var e,t;!((e=this.tippy)===null||e===void 0)&&e.popper.firstChild&&this.tippy.popper.firstChild.removeEventListener("blur",this.tippyBlurHandler),(t=this.tippy)===null||t===void 0||t.destroy(),this.element.removeEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.editor.off("focus",this.focusHandler),this.editor.off("blur",this.blurHandler)}}const Y1=n=>new yt({key:typeof n.pluginKey=="string"?new jt(n.pluginKey):n.pluginKey,view:e=>new KC({view:e,...n})});Lt.create({name:"floatingMenu",addOptions(){return{element:null,tippyOptions:{},pluginKey:"floatingMenu",shouldShow:null}},addProseMirrorPlugins(){return this.options.element?[Y1({pluginKey:this.options.pluginKey,editor:this.editor,element:this.options.element,tippyOptions:this.options.tippyOptions,shouldShow:this.options.shouldShow})]:[]}}),c.defineComponent({name:"BubbleMenu",props:{pluginKey:{type:[String,Object],default:"bubbleMenu"},editor:{type:Object,required:!0},updateDelay:{type:Number,default:void 0},tippyOptions:{type:Object,default:()=>({})},shouldShow:{type:Function,default:null}},setup(n,{slots:e}){const t=c.ref(null);return c.onMounted(()=>{const{updateDelay:r,editor:o,pluginKey:i,shouldShow:s,tippyOptions:l}=n;o.registerPlugin(Q1({updateDelay:r,editor:o,element:t.value,pluginKey:i,shouldShow:s,tippyOptions:l}))}),c.onBeforeUnmount(()=>{const{pluginKey:r,editor:o}=n;o.unregisterPlugin(r)}),()=>{var r;return c.h("div",{ref:t},(r=e.default)===null||r===void 0?void 0:r.call(e))}}});function J1(n){return c.customRef((e,t)=>({get(){return e(),n},set(r){n=r,requestAnimationFrame(()=>{requestAnimationFrame(()=>{t()})})}}))}class QC extends x9{constructor(e={}){return super(e),this.vueRenderers=c.reactive(new Map),this.contentComponent=null,this.reactiveState=J1(this.view.state),this.reactiveExtensionStorage=J1(this.extensionStorage),this.on("transaction",()=>{this.reactiveState.value=this.view.state,this.reactiveExtensionStorage.value=this.extensionStorage}),c.markRaw(this)}get state(){return this.reactiveState?this.reactiveState.value:this.view.state}get storage(){return this.reactiveExtensionStorage?this.reactiveExtensionStorage.value:super.storage}registerPlugin(e,t){super.registerPlugin(e,t),this.reactiveState.value=this.view.state}unregisterPlugin(e){super.unregisterPlugin(e),this.reactiveState.value=this.view.state}}const YC=c.defineComponent({name:"EditorContent",props:{editor:{default:null,type:Object}},setup(n){const e=c.ref(),t=c.getCurrentInstance();return c.watchEffect(()=>{const r=n.editor;r&&r.options.element&&e.value&&c.nextTick(()=>{if(!e.value||!r.options.element.firstChild)return;const o=c.unref(e.value);e.value.append(...r.options.element.childNodes),r.contentComponent=t.ctx._,r.setOptions({element:o}),r.createNodeViews()})}),c.onBeforeUnmount(()=>{const r=n.editor;if(!r||(r.isDestroyed||r.view.setProps({nodeViews:{}}),r.contentComponent=null,!r.options.element.firstChild))return;const o=document.createElement("div");o.append(...r.options.element.childNodes),r.setOptions({element:o})}),{rootEl:e}},render(){const n=[];return this.editor&&this.editor.vueRenderers.forEach(e=>{const t=c.h(c.Teleport,{to:e.teleportElement,key:e.id},c.h(e.component,{ref:e.id,...e.props}));n.push(t)}),c.h("div",{ref:e=>{this.rootEl=e}},...n)}});c.defineComponent({name:"FloatingMenu",props:{pluginKey:{type:null,default:"floatingMenu"},editor:{type:Object,required:!0},tippyOptions:{type:Object,default:()=>({})},shouldShow:{type:Function,default:null}},setup(n,{slots:e}){const t=c.ref(null);return c.onMounted(()=>{const{pluginKey:r,editor:o,tippyOptions:i,shouldShow:s}=n;o.registerPlugin(Y1({pluginKey:r,editor:o,element:t.value,tippyOptions:i,shouldShow:s}))}),c.onBeforeUnmount(()=>{const{pluginKey:r,editor:o}=n;o.unregisterPlugin(r)}),()=>{var r;return c.h("div",{ref:t},(r=e.default)===null||r===void 0?void 0:r.call(e))}}}),c.defineComponent({name:"NodeViewContent",props:{as:{type:String,default:"div"}},render(){return c.h(this.as,{style:{whiteSpace:"pre-wrap"},"data-node-view-content":""})}}),c.defineComponent({name:"NodeViewWrapper",props:{as:{type:String,default:"div"}},inject:["onDragStart","decorationClasses"],render(){var n,e;return c.h(this.as,{class:this.decorationClasses,style:{whiteSpace:"normal"},"data-node-view-wrapper":"",onDragstart:this.onDragStart},(e=(n=this.$slots).default)===null||e===void 0?void 0:e.call(n))}});const JC=(n={})=>{const e=c.shallowRef();return c.onMounted(()=>{e.value=new QC(n)}),c.onBeforeUnmount(()=>{var t;(t=e.value)===null||t===void 0||t.destroy()}),e},ZC=mn.create({name:"doc",topNode:!0,content:"block+"}),GC=mn.create({name:"paragraph",priority:1e3,addOptions(){return{HTMLAttributes:{}}},group:"block",content:"inline*",parseHTML(){return[{tag:"p"}]},renderHTML({HTMLAttributes:n}){return["p",ht(this.options.HTMLAttributes,n),0]},addCommands(){return{setParagraph:()=>({commands:n})=>n.setNode(this.name)}},addKeyboardShortcuts(){return{"Mod-Alt-0":()=>this.editor.commands.setParagraph()}}}),XC=mn.create({name:"text",group:"inline"}),qC="aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4vianca6w0s2x0a2z0ure5ba0by2idu3namex3narepublic11d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0cast4mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dabur3d1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0ardian6cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster6d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2tura4vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9dnavy5lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0a1b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp2w2ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4finity6ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2",eE="ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2",to=(n,e)=>{for(const t in e)n[t]=e[t];return n},rc="numeric",oc="ascii",ic="alpha",ls="asciinumeric",cs="alphanumeric",sc="domain",Z1="emoji",tE="scheme",nE="slashscheme",G1="whitespace";function rE(n,e){return n in e||(e[n]=[]),e[n]}function Cr(n,e,t){e[rc]&&(e[ls]=!0,e[cs]=!0),e[oc]&&(e[ls]=!0,e[ic]=!0),e[ls]&&(e[cs]=!0),e[ic]&&(e[cs]=!0),e[cs]&&(e[sc]=!0),e[Z1]&&(e[sc]=!0);for(const r in e){const o=rE(r,t);o.indexOf(n)<0&&o.push(n)}}function oE(n,e){const t={};for(const r in e)e[r].indexOf(n)>=0&&(t[r]=!0);return t}function Et(n){n===void 0&&(n=null),this.j={},this.jr=[],this.jd=null,this.t=n}Et.groups={},Et.prototype={accepts(){return!!this.t},go(n){const e=this,t=e.j[n];if(t)return t;for(let r=0;r<e.jr.length;r++){const o=e.jr[r][0],i=e.jr[r][1];if(i&&o.test(n))return i}return e.jd},has(n,e){return e===void 0&&(e=!1),e?n in this.j:!!this.go(n)},ta(n,e,t,r){for(let o=0;o<n.length;o++)this.tt(n[o],e,t,r)},tr(n,e,t,r){r=r||Et.groups;let o;return e&&e.j?o=e:(o=new Et(e),t&&r&&Cr(e,t,r)),this.jr.push([n,o]),o},ts(n,e,t,r){let o=this;const i=n.length;if(!i)return o;for(let s=0;s<i-1;s++)o=o.tt(n[s]);return o.tt(n[i-1],e,t,r)},tt(n,e,t,r){r=r||Et.groups;const o=this;if(e&&e.j)return o.j[n]=e,e;const i=e;let s,l=o.go(n);if(l?(s=new Et,to(s.j,l.j),s.jr.push.apply(s.jr,l.jr),s.jd=l.jd,s.t=l.t):s=new Et,i){if(r)if(s.t&&typeof s.t=="string"){const a=to(oE(s.t,r),t);Cr(i,a,r)}else t&&Cr(i,t,r);s.t=i}return o.j[n]=s,s}};const _e=(n,e,t,r,o)=>n.ta(e,t,r,o),Dt=(n,e,t,r,o)=>n.tr(e,t,r,o),X1=(n,e,t,r,o)=>n.ts(e,t,r,o),pe=(n,e,t,r,o)=>n.tt(e,t,r,o),vn="WORD",ac="UWORD",Ko="LOCALHOST",lc="TLD",cc="UTLD",ds="SCHEME",no="SLASH_SCHEME",dc="NUM",q1="WS",uc="NL",Qo="OPENBRACE",Yo="CLOSEBRACE",us="OPENBRACKET",fs="CLOSEBRACKET",hs="OPENPAREN",ps="CLOSEPAREN",ms="OPENANGLEBRACKET",gs="CLOSEANGLEBRACKET",vs="FULLWIDTHLEFTPAREN",ys="FULLWIDTHRIGHTPAREN",Cs="LEFTCORNERBRACKET",Es="RIGHTCORNERBRACKET",bs="LEFTWHITECORNERBRACKET",As="RIGHTWHITECORNERBRACKET",ws="FULLWIDTHLESSTHAN",Ss="FULLWIDTHGREATERTHAN",ks="AMPERSAND",xs="APOSTROPHE",Ts="ASTERISK",Fn="AT",Ms="BACKSLASH",Is="BACKTICK",Os="CARET",Vn="COLON",fc="COMMA",_s="DOLLAR",on="DOT",Ns="EQUALS",hc="EXCLAMATION",sn="HYPHEN",Ls="PERCENT",Ds="PIPE",Bs="PLUS",Rs="POUND",Ps="QUERY",pc="QUOTE",mc="SEMI",an="SLASH",Jo="TILDE",Fs="UNDERSCORE",ep="EMOJI",Vs="SYM";var tp=Object.freeze({__proto__:null,WORD:vn,UWORD:ac,LOCALHOST:Ko,TLD:lc,UTLD:cc,SCHEME:ds,SLASH_SCHEME:no,NUM:dc,WS:q1,NL:uc,OPENBRACE:Qo,CLOSEBRACE:Yo,OPENBRACKET:us,CLOSEBRACKET:fs,OPENPAREN:hs,CLOSEPAREN:ps,OPENANGLEBRACKET:ms,CLOSEANGLEBRACKET:gs,FULLWIDTHLEFTPAREN:vs,FULLWIDTHRIGHTPAREN:ys,LEFTCORNERBRACKET:Cs,RIGHTCORNERBRACKET:Es,LEFTWHITECORNERBRACKET:bs,RIGHTWHITECORNERBRACKET:As,FULLWIDTHLESSTHAN:ws,FULLWIDTHGREATERTHAN:Ss,AMPERSAND:ks,APOSTROPHE:xs,ASTERISK:Ts,AT:Fn,BACKSLASH:Ms,BACKTICK:Is,CARET:Os,COLON:Vn,COMMA:fc,DOLLAR:_s,DOT:on,EQUALS:Ns,EXCLAMATION:hc,HYPHEN:sn,PERCENT:Ls,PIPE:Ds,PLUS:Bs,POUND:Rs,QUERY:Ps,QUOTE:pc,SEMI:mc,SLASH:an,TILDE:Jo,UNDERSCORE:Fs,EMOJI:ep,SYM:Vs});const ro=/[a-z]/,gc=/\p{L}/u,vc=/\p{Emoji}/u,yc=/\d/,np=/\s/,rp=`
|
|
174
|
-
`,
|
|
173
|
+
`,"2) content: () => element.cloneNode(true)"].join(" "))}var l=o.reduce(function(a,d){var u=d&&XC(d,r);return u&&a.push(u),a},[]);return Wo(n)?l[0]:l}eo.defaultProps=Mt,eo.setDefaultProps=YC,eo.currentInput=rn,Object.assign({},qi,{effect:function(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow)}}),eo.setDefaultProps({render:Q1});class qC{constructor({editor:e,element:t,view:r,tippyOptions:o={},updateDelay:i=250,shouldShow:s}){this.preventHide=!1,this.shouldShow=({view:l,state:a,from:d,to:u})=>{const{doc:f,selection:h}=a,{empty:p}=h,m=!f.textBetween(d,u).length&&_l(a.selection),g=this.element.contains(document.activeElement);return!(!(l.hasFocus()||g)||p||m||!this.editor.isEditable)},this.mousedownHandler=()=>{this.preventHide=!0},this.dragstartHandler=()=>{this.hide()},this.focusHandler=()=>{setTimeout(()=>this.update(this.editor.view))},this.blurHandler=({event:l})=>{var a;if(this.preventHide){this.preventHide=!1;return}l!=null&&l.relatedTarget&&(!((a=this.element.parentNode)===null||a===void 0)&&a.contains(l.relatedTarget))||this.hide()},this.tippyBlurHandler=l=>{this.blurHandler({event:l})},this.handleDebouncedUpdate=(l,a)=>{const d=!(a!=null&&a.selection.eq(l.state.selection)),u=!(a!=null&&a.doc.eq(l.state.doc));!d&&!u||(this.updateDebounceTimer&&clearTimeout(this.updateDebounceTimer),this.updateDebounceTimer=window.setTimeout(()=>{this.updateHandler(l,d,u,a)},this.updateDelay))},this.updateHandler=(l,a,d,u)=>{var f,h,p;const{state:m,composing:g}=l,{selection:v}=m;if(g||!a&&!d)return;this.createTooltip();const{ranges:A}=v,w=Math.min(...A.map(k=>k.$from.pos)),y=Math.max(...A.map(k=>k.$to.pos));if(!((f=this.shouldShow)===null||f===void 0?void 0:f.call(this,{editor:this.editor,view:l,state:m,oldState:u,from:w,to:y}))){this.hide();return}(h=this.tippy)===null||h===void 0||h.setProps({getReferenceClientRect:((p=this.tippyOptions)===null||p===void 0?void 0:p.getReferenceClientRect)||(()=>{if(m9(m.selection)){let k=l.nodeDOM(w);const $=k.dataset.nodeViewWrapper?k:k.querySelector("[data-node-view-wrapper]");if($&&(k=$.firstChild),k)return k.getBoundingClientRect()}return Wh(l,w,y)})}),this.show()},this.editor=e,this.element=t,this.view=r,this.updateDelay=i,s&&(this.shouldShow=s),this.element.addEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.view.dom.addEventListener("dragstart",this.dragstartHandler),this.editor.on("focus",this.focusHandler),this.editor.on("blur",this.blurHandler),this.tippyOptions=o,this.element.remove(),this.element.style.visibility="visible"}createTooltip(){const{element:e}=this.editor.options,t=!!e.parentElement;this.tippy||!t||(this.tippy=eo(e,{duration:0,getReferenceClientRect:null,content:this.element,interactive:!0,trigger:"manual",placement:"top",hideOnClick:"toggle",...this.tippyOptions}),this.tippy.popper.firstChild&&this.tippy.popper.firstChild.addEventListener("blur",this.tippyBlurHandler))}update(e,t){const{state:r}=e,o=r.selection.$from.pos!==r.selection.$to.pos;if(this.updateDelay>0&&o){this.handleDebouncedUpdate(e,t);return}const i=!(t!=null&&t.selection.eq(e.state.selection)),s=!(t!=null&&t.doc.eq(e.state.doc));this.updateHandler(e,i,s,t)}show(){var e;(e=this.tippy)===null||e===void 0||e.show()}hide(){var e;(e=this.tippy)===null||e===void 0||e.hide()}destroy(){var e,t;!((e=this.tippy)===null||e===void 0)&&e.popper.firstChild&&this.tippy.popper.firstChild.removeEventListener("blur",this.tippyBlurHandler),(t=this.tippy)===null||t===void 0||t.destroy(),this.element.removeEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.view.dom.removeEventListener("dragstart",this.dragstartHandler),this.editor.off("focus",this.focusHandler),this.editor.off("blur",this.blurHandler)}}const Y1=n=>new yt({key:typeof n.pluginKey=="string"?new jt(n.pluginKey):n.pluginKey,view:e=>new qC({view:e,...n})});Lt.create({name:"bubbleMenu",addOptions(){return{element:null,tippyOptions:{},pluginKey:"bubbleMenu",updateDelay:void 0,shouldShow:null}},addProseMirrorPlugins(){return this.options.element?[Y1({pluginKey:this.options.pluginKey,editor:this.editor,element:this.options.element,tippyOptions:this.options.tippyOptions,updateDelay:this.options.updateDelay,shouldShow:this.options.shouldShow})]:[]}});class eE{constructor({editor:e,element:t,view:r,tippyOptions:o={},shouldShow:i}){this.preventHide=!1,this.shouldShow=({view:s,state:l})=>{const{selection:a}=l,{$anchor:d,empty:u}=a,f=d.depth===1,h=d.parent.isTextblock&&!d.parent.type.spec.code&&!d.parent.textContent;return!(!s.hasFocus()||!u||!f||!h||!this.editor.isEditable)},this.mousedownHandler=()=>{this.preventHide=!0},this.focusHandler=()=>{setTimeout(()=>this.update(this.editor.view))},this.blurHandler=({event:s})=>{var l;if(this.preventHide){this.preventHide=!1;return}s!=null&&s.relatedTarget&&(!((l=this.element.parentNode)===null||l===void 0)&&l.contains(s.relatedTarget))||this.hide()},this.tippyBlurHandler=s=>{this.blurHandler({event:s})},this.editor=e,this.element=t,this.view=r,i&&(this.shouldShow=i),this.element.addEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.editor.on("focus",this.focusHandler),this.editor.on("blur",this.blurHandler),this.tippyOptions=o,this.element.remove(),this.element.style.visibility="visible"}createTooltip(){const{element:e}=this.editor.options,t=!!e.parentElement;this.tippy||!t||(this.tippy=eo(e,{duration:0,getReferenceClientRect:null,content:this.element,interactive:!0,trigger:"manual",placement:"right",hideOnClick:"toggle",...this.tippyOptions}),this.tippy.popper.firstChild&&this.tippy.popper.firstChild.addEventListener("blur",this.tippyBlurHandler))}update(e,t){var r,o,i;const{state:s}=e,{doc:l,selection:a}=s,{from:d,to:u}=a;if(t&&t.doc.eq(l)&&t.selection.eq(a))return;if(this.createTooltip(),!((r=this.shouldShow)===null||r===void 0?void 0:r.call(this,{editor:this.editor,view:e,state:s,oldState:t}))){this.hide();return}(o=this.tippy)===null||o===void 0||o.setProps({getReferenceClientRect:((i=this.tippyOptions)===null||i===void 0?void 0:i.getReferenceClientRect)||(()=>Wh(e,d,u))}),this.show()}show(){var e;(e=this.tippy)===null||e===void 0||e.show()}hide(){var e;(e=this.tippy)===null||e===void 0||e.hide()}destroy(){var e,t;!((e=this.tippy)===null||e===void 0)&&e.popper.firstChild&&this.tippy.popper.firstChild.removeEventListener("blur",this.tippyBlurHandler),(t=this.tippy)===null||t===void 0||t.destroy(),this.element.removeEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.editor.off("focus",this.focusHandler),this.editor.off("blur",this.blurHandler)}}const G1=n=>new yt({key:typeof n.pluginKey=="string"?new jt(n.pluginKey):n.pluginKey,view:e=>new eE({view:e,...n})});Lt.create({name:"floatingMenu",addOptions(){return{element:null,tippyOptions:{},pluginKey:"floatingMenu",shouldShow:null}},addProseMirrorPlugins(){return this.options.element?[G1({pluginKey:this.options.pluginKey,editor:this.editor,element:this.options.element,tippyOptions:this.options.tippyOptions,shouldShow:this.options.shouldShow})]:[]}}),c.defineComponent({name:"BubbleMenu",props:{pluginKey:{type:[String,Object],default:"bubbleMenu"},editor:{type:Object,required:!0},updateDelay:{type:Number,default:void 0},tippyOptions:{type:Object,default:()=>({})},shouldShow:{type:Function,default:null}},setup(n,{slots:e}){const t=c.ref(null);return c.onMounted(()=>{const{updateDelay:r,editor:o,pluginKey:i,shouldShow:s,tippyOptions:l}=n;o.registerPlugin(Y1({updateDelay:r,editor:o,element:t.value,pluginKey:i,shouldShow:s,tippyOptions:l}))}),c.onBeforeUnmount(()=>{const{pluginKey:r,editor:o}=n;o.unregisterPlugin(r)}),()=>{var r;return c.h("div",{ref:t},(r=e.default)===null||r===void 0?void 0:r.call(e))}}});function Z1(n){return c.customRef((e,t)=>({get(){return e(),n},set(r){n=r,requestAnimationFrame(()=>{requestAnimationFrame(()=>{t()})})}}))}class tE extends D9{constructor(e={}){return super(e),this.vueRenderers=c.reactive(new Map),this.contentComponent=null,this.reactiveState=Z1(this.view.state),this.reactiveExtensionStorage=Z1(this.extensionStorage),this.on("transaction",()=>{this.reactiveState.value=this.view.state,this.reactiveExtensionStorage.value=this.extensionStorage}),c.markRaw(this)}get state(){return this.reactiveState?this.reactiveState.value:this.view.state}get storage(){return this.reactiveExtensionStorage?this.reactiveExtensionStorage.value:super.storage}registerPlugin(e,t){super.registerPlugin(e,t),this.reactiveState.value=this.view.state}unregisterPlugin(e){super.unregisterPlugin(e),this.reactiveState.value=this.view.state}}const nE=c.defineComponent({name:"EditorContent",props:{editor:{default:null,type:Object}},setup(n){const e=c.ref(),t=c.getCurrentInstance();return c.watchEffect(()=>{const r=n.editor;r&&r.options.element&&e.value&&c.nextTick(()=>{if(!e.value||!r.options.element.firstChild)return;const o=c.unref(e.value);e.value.append(...r.options.element.childNodes),r.contentComponent=t.ctx._,r.setOptions({element:o}),r.createNodeViews()})}),c.onBeforeUnmount(()=>{const r=n.editor;if(!r||(r.isDestroyed||r.view.setProps({nodeViews:{}}),r.contentComponent=null,!r.options.element.firstChild))return;const o=document.createElement("div");o.append(...r.options.element.childNodes),r.setOptions({element:o})}),{rootEl:e}},render(){const n=[];return this.editor&&this.editor.vueRenderers.forEach(e=>{const t=c.h(c.Teleport,{to:e.teleportElement,key:e.id},c.h(e.component,{ref:e.id,...e.props}));n.push(t)}),c.h("div",{ref:e=>{this.rootEl=e}},...n)}});c.defineComponent({name:"FloatingMenu",props:{pluginKey:{type:null,default:"floatingMenu"},editor:{type:Object,required:!0},tippyOptions:{type:Object,default:()=>({})},shouldShow:{type:Function,default:null}},setup(n,{slots:e}){const t=c.ref(null);return c.onMounted(()=>{const{pluginKey:r,editor:o,tippyOptions:i,shouldShow:s}=n;o.registerPlugin(G1({pluginKey:r,editor:o,element:t.value,tippyOptions:i,shouldShow:s}))}),c.onBeforeUnmount(()=>{const{pluginKey:r,editor:o}=n;o.unregisterPlugin(r)}),()=>{var r;return c.h("div",{ref:t},(r=e.default)===null||r===void 0?void 0:r.call(e))}}}),c.defineComponent({name:"NodeViewContent",props:{as:{type:String,default:"div"}},render(){return c.h(this.as,{style:{whiteSpace:"pre-wrap"},"data-node-view-content":""})}}),c.defineComponent({name:"NodeViewWrapper",props:{as:{type:String,default:"div"}},inject:["onDragStart","decorationClasses"],render(){var n,e;return c.h(this.as,{class:this.decorationClasses,style:{whiteSpace:"normal"},"data-node-view-wrapper":"",onDragstart:this.onDragStart},(e=(n=this.$slots).default)===null||e===void 0?void 0:e.call(n))}});const rE=(n={})=>{const e=c.shallowRef();return c.onMounted(()=>{e.value=new tE(n)}),c.onBeforeUnmount(()=>{var t;(t=e.value)===null||t===void 0||t.destroy()}),e},oE=mn.create({name:"doc",topNode:!0,content:"block+"}),iE=mn.create({name:"paragraph",priority:1e3,addOptions(){return{HTMLAttributes:{}}},group:"block",content:"inline*",parseHTML(){return[{tag:"p"}]},renderHTML({HTMLAttributes:n}){return["p",ht(this.options.HTMLAttributes,n),0]},addCommands(){return{setParagraph:()=>({commands:n})=>n.setNode(this.name)}},addKeyboardShortcuts(){return{"Mod-Alt-0":()=>this.editor.commands.setParagraph()}}}),sE=mn.create({name:"text",group:"inline"}),aE="aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4vianca6w0s2x0a2z0ure5ba0by2idu3namex3narepublic11d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0cast4mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dabur3d1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0ardian6cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster6d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2tura4vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9dnavy5lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0a1b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp2w2ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4finity6ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2",lE="ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2",to=(n,e)=>{for(const t in e)n[t]=e[t];return n},sc="numeric",ac="ascii",lc="alpha",cs="asciinumeric",ds="alphanumeric",cc="domain",J1="emoji",cE="scheme",dE="slashscheme",X1="whitespace";function uE(n,e){return n in e||(e[n]=[]),e[n]}function Cr(n,e,t){e[sc]&&(e[cs]=!0,e[ds]=!0),e[ac]&&(e[cs]=!0,e[lc]=!0),e[cs]&&(e[ds]=!0),e[lc]&&(e[ds]=!0),e[ds]&&(e[cc]=!0),e[J1]&&(e[cc]=!0);for(const r in e){const o=uE(r,t);o.indexOf(n)<0&&o.push(n)}}function fE(n,e){const t={};for(const r in e)e[r].indexOf(n)>=0&&(t[r]=!0);return t}function Et(n){n===void 0&&(n=null),this.j={},this.jr=[],this.jd=null,this.t=n}Et.groups={},Et.prototype={accepts(){return!!this.t},go(n){const e=this,t=e.j[n];if(t)return t;for(let r=0;r<e.jr.length;r++){const o=e.jr[r][0],i=e.jr[r][1];if(i&&o.test(n))return i}return e.jd},has(n,e){return e===void 0&&(e=!1),e?n in this.j:!!this.go(n)},ta(n,e,t,r){for(let o=0;o<n.length;o++)this.tt(n[o],e,t,r)},tr(n,e,t,r){r=r||Et.groups;let o;return e&&e.j?o=e:(o=new Et(e),t&&r&&Cr(e,t,r)),this.jr.push([n,o]),o},ts(n,e,t,r){let o=this;const i=n.length;if(!i)return o;for(let s=0;s<i-1;s++)o=o.tt(n[s]);return o.tt(n[i-1],e,t,r)},tt(n,e,t,r){r=r||Et.groups;const o=this;if(e&&e.j)return o.j[n]=e,e;const i=e;let s,l=o.go(n);if(l?(s=new Et,to(s.j,l.j),s.jr.push.apply(s.jr,l.jr),s.jd=l.jd,s.t=l.t):s=new Et,i){if(r)if(s.t&&typeof s.t=="string"){const a=to(fE(s.t,r),t);Cr(i,a,r)}else t&&Cr(i,t,r);s.t=i}return o.j[n]=s,s}};const _e=(n,e,t,r,o)=>n.ta(e,t,r,o),Dt=(n,e,t,r,o)=>n.tr(e,t,r,o),q1=(n,e,t,r,o)=>n.ts(e,t,r,o),pe=(n,e,t,r,o)=>n.tt(e,t,r,o),vn="WORD",dc="UWORD",Qo="LOCALHOST",uc="TLD",fc="UTLD",us="SCHEME",no="SLASH_SCHEME",hc="NUM",ep="WS",pc="NL",Yo="OPENBRACE",Go="CLOSEBRACE",fs="OPENBRACKET",hs="CLOSEBRACKET",ps="OPENPAREN",ms="CLOSEPAREN",gs="OPENANGLEBRACKET",vs="CLOSEANGLEBRACKET",ys="FULLWIDTHLEFTPAREN",Cs="FULLWIDTHRIGHTPAREN",Es="LEFTCORNERBRACKET",bs="RIGHTCORNERBRACKET",As="LEFTWHITECORNERBRACKET",ws="RIGHTWHITECORNERBRACKET",Ss="FULLWIDTHLESSTHAN",ks="FULLWIDTHGREATERTHAN",xs="AMPERSAND",Ts="APOSTROPHE",Ms="ASTERISK",Vn="AT",Is="BACKSLASH",Os="BACKTICK",_s="CARET",Fn="COLON",mc="COMMA",Ns="DOLLAR",on="DOT",Ls="EQUALS",gc="EXCLAMATION",sn="HYPHEN",Ds="PERCENT",Bs="PIPE",Rs="PLUS",Ps="POUND",Vs="QUERY",vc="QUOTE",yc="SEMI",an="SLASH",Zo="TILDE",Fs="UNDERSCORE",tp="EMOJI",$s="SYM";var np=Object.freeze({__proto__:null,WORD:vn,UWORD:dc,LOCALHOST:Qo,TLD:uc,UTLD:fc,SCHEME:us,SLASH_SCHEME:no,NUM:hc,WS:ep,NL:pc,OPENBRACE:Yo,CLOSEBRACE:Go,OPENBRACKET:fs,CLOSEBRACKET:hs,OPENPAREN:ps,CLOSEPAREN:ms,OPENANGLEBRACKET:gs,CLOSEANGLEBRACKET:vs,FULLWIDTHLEFTPAREN:ys,FULLWIDTHRIGHTPAREN:Cs,LEFTCORNERBRACKET:Es,RIGHTCORNERBRACKET:bs,LEFTWHITECORNERBRACKET:As,RIGHTWHITECORNERBRACKET:ws,FULLWIDTHLESSTHAN:Ss,FULLWIDTHGREATERTHAN:ks,AMPERSAND:xs,APOSTROPHE:Ts,ASTERISK:Ms,AT:Vn,BACKSLASH:Is,BACKTICK:Os,CARET:_s,COLON:Fn,COMMA:mc,DOLLAR:Ns,DOT:on,EQUALS:Ls,EXCLAMATION:gc,HYPHEN:sn,PERCENT:Ds,PIPE:Bs,PLUS:Rs,POUND:Ps,QUERY:Vs,QUOTE:vc,SEMI:yc,SLASH:an,TILDE:Zo,UNDERSCORE:Fs,EMOJI:tp,SYM:$s});const ro=/[a-z]/,Cc=/\p{L}/u,Ec=/\p{Emoji}/u,bc=/\d/,rp=/\s/,op=`
|
|
174
|
+
`,hE="️",pE="";let zs=null,Hs=null;function mE(n){n===void 0&&(n=[]);const e={};Et.groups=e;const t=new Et;zs==null&&(zs=ip(aE)),Hs==null&&(Hs=ip(lE)),pe(t,"'",Ts),pe(t,"{",Yo),pe(t,"}",Go),pe(t,"[",fs),pe(t,"]",hs),pe(t,"(",ps),pe(t,")",ms),pe(t,"<",gs),pe(t,">",vs),pe(t,"(",ys),pe(t,")",Cs),pe(t,"「",Es),pe(t,"」",bs),pe(t,"『",As),pe(t,"』",ws),pe(t,"<",Ss),pe(t,">",ks),pe(t,"&",xs),pe(t,"*",Ms),pe(t,"@",Vn),pe(t,"`",Os),pe(t,"^",_s),pe(t,":",Fn),pe(t,",",mc),pe(t,"$",Ns),pe(t,".",on),pe(t,"=",Ls),pe(t,"!",gc),pe(t,"-",sn),pe(t,"%",Ds),pe(t,"|",Bs),pe(t,"+",Rs),pe(t,"#",Ps),pe(t,"?",Vs),pe(t,'"',vc),pe(t,"/",an),pe(t,";",yc),pe(t,"~",Zo),pe(t,"_",Fs),pe(t,"\\",Is);const r=Dt(t,bc,hc,{[sc]:!0});Dt(r,bc,r);const o=Dt(t,ro,vn,{[ac]:!0});Dt(o,ro,o);const i=Dt(t,Cc,dc,{[lc]:!0});Dt(i,ro),Dt(i,Cc,i);const s=Dt(t,rp,ep,{[X1]:!0});pe(t,op,pc,{[X1]:!0}),pe(s,op),Dt(s,rp,s);const l=Dt(t,Ec,tp,{[J1]:!0});Dt(l,Ec,l),pe(l,hE,l);const a=pe(l,pE);Dt(a,Ec,l);const d=[[ro,o]],u=[[ro,null],[Cc,i]];for(let f=0;f<zs.length;f++)$n(t,zs[f],uc,vn,d);for(let f=0;f<Hs.length;f++)$n(t,Hs[f],fc,dc,u);Cr(uc,{tld:!0,ascii:!0},e),Cr(fc,{utld:!0,alpha:!0},e),$n(t,"file",us,vn,d),$n(t,"mailto",us,vn,d),$n(t,"http",no,vn,d),$n(t,"https",no,vn,d),$n(t,"ftp",no,vn,d),$n(t,"ftps",no,vn,d),Cr(us,{scheme:!0,ascii:!0},e),Cr(no,{slashscheme:!0,ascii:!0},e),n=n.sort((f,h)=>f[0]>h[0]?1:-1);for(let f=0;f<n.length;f++){const h=n[f][0],m=n[f][1]?{[cE]:!0}:{[dE]:!0};h.indexOf("-")>=0?m[cc]=!0:ro.test(h)?bc.test(h)?m[cs]=!0:m[ac]=!0:m[sc]=!0,q1(t,h,h,m)}return q1(t,"localhost",Qo,{ascii:!0}),t.jd=new Et($s),{start:t,tokens:to({groups:e},np)}}function gE(n,e){const t=vE(e.replace(/[A-Z]/g,l=>l.toLowerCase())),r=t.length,o=[];let i=0,s=0;for(;s<r;){let l=n,a=null,d=0,u=null,f=-1,h=-1;for(;s<r&&(a=l.go(t[s]));)l=a,l.accepts()?(f=0,h=0,u=l):f>=0&&(f+=t[s].length,h++),d+=t[s].length,i+=t[s].length,s++;i-=f,s-=h,d-=f,o.push({t:u.t,v:e.slice(i-d,i),s:i-d,e:i})}return o}function vE(n){const e=[],t=n.length;let r=0;for(;r<t;){let o=n.charCodeAt(r),i,s=o<55296||o>56319||r+1===t||(i=n.charCodeAt(r+1))<56320||i>57343?n[r]:n.slice(r,r+2);e.push(s),r+=s.length}return e}function $n(n,e,t,r,o){let i;const s=e.length;for(let l=0;l<s-1;l++){const a=e[l];n.j[a]?i=n.j[a]:(i=new Et(r),i.jr=o.slice(),n.j[a]=i),n=i}return i=new Et(t),i.jr=o.slice(),n.j[e[s-1]]=i,i}function ip(n){const e=[],t=[];let r=0,o="0123456789";for(;r<n.length;){let i=0;for(;o.indexOf(n[r+i])>=0;)i++;if(i>0){e.push(t.join(""));for(let s=parseInt(n.substring(r,r+i),10);s>0;s--)t.pop();r+=i}else t.push(n[r]),r++}return e}const Jo={defaultProtocol:"http",events:null,format:sp,formatHref:sp,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function Ac(n,e){e===void 0&&(e=null);let t=to({},Jo);n&&(t=to(t,n instanceof Ac?n.o:n));const r=t.ignoreTags,o=[];for(let i=0;i<r.length;i++)o.push(r[i].toUpperCase());this.o=t,e&&(this.defaultRender=e),this.ignoreTags=o}Ac.prototype={o:Jo,ignoreTags:[],defaultRender(n){return n},check(n){return this.get("validate",n.toString(),n)},get(n,e,t){const r=e!=null;let o=this.o[n];return o&&(typeof o=="object"?(o=t.t in o?o[t.t]:Jo[n],typeof o=="function"&&r&&(o=o(e,t))):typeof o=="function"&&r&&(o=o(e,t.t,t)),o)},getObj(n,e,t){let r=this.o[n];return typeof r=="function"&&e!=null&&(r=r(e,t.t,t)),r},render(n){const e=n.render(this);return(this.get("render",null,n)||this.defaultRender)(e,n.t,n)}};function sp(n){return n}function ap(n,e){this.t="token",this.v=n,this.tk=e}ap.prototype={isLink:!1,toString(){return this.v},toHref(n){return this.toString()},toFormattedString(n){const e=this.toString(),t=n.get("truncate",e,this),r=n.get("format",e,this);return t&&r.length>t?r.substring(0,t)+"…":r},toFormattedHref(n){return n.get("formatHref",this.toHref(n.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(n){return n===void 0&&(n=Jo.defaultProtocol),{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(n),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(n){return{type:this.t,value:this.toFormattedString(n),isLink:this.isLink,href:this.toFormattedHref(n),start:this.startIndex(),end:this.endIndex()}},validate(n){return n.get("validate",this.toString(),this)},render(n){const e=this,t=this.toHref(n.get("defaultProtocol")),r=n.get("formatHref",t,this),o=n.get("tagName",t,e),i=this.toFormattedString(n),s={},l=n.get("className",t,e),a=n.get("target",t,e),d=n.get("rel",t,e),u=n.getObj("attributes",t,e),f=n.getObj("events",t,e);return s.href=r,l&&(s.class=l),a&&(s.target=a),d&&(s.rel=d),u&&to(s,u),{tagName:o,attributes:s,content:i,eventListeners:f}}};function Us(n,e){class t extends ap{constructor(o,i){super(o,i),this.t=n}}for(const r in e)t.prototype[r]=e[r];return t.t=n,t}const lp=Us("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),cp=Us("text"),yE=Us("nl"),js=Us("url",{isLink:!0,toHref(n){return n===void 0&&(n=Jo.defaultProtocol),this.hasProtocol()?this.v:`${n}://${this.v}`},hasProtocol(){const n=this.tk;return n.length>=2&&n[0].t!==Qo&&n[1].t===Fn}}),Bt=n=>new Et(n);function CE(n){let{groups:e}=n;const t=e.domain.concat([xs,Ms,Vn,Is,Os,_s,Ns,Ls,sn,hc,Ds,Bs,Rs,Ps,an,$s,Zo,Fs]),r=[Ts,Fn,mc,on,gc,Vs,vc,yc,gs,vs,Yo,Go,hs,fs,ps,ms,ys,Cs,Es,bs,As,ws,Ss,ks],o=[xs,Ts,Ms,Is,Os,_s,Ns,Ls,sn,Yo,Go,Ds,Bs,Rs,Ps,Vs,an,$s,Zo,Fs],i=Bt(),s=pe(i,Zo);_e(s,o,s),_e(s,e.domain,s);const l=Bt(),a=Bt(),d=Bt();_e(i,e.domain,l),_e(i,e.scheme,a),_e(i,e.slashscheme,d),_e(l,o,s),_e(l,e.domain,l);const u=pe(l,Vn);pe(s,Vn,u),pe(a,Vn,u),pe(d,Vn,u);const f=pe(s,on);_e(f,o,s),_e(f,e.domain,s);const h=Bt();_e(u,e.domain,h),_e(h,e.domain,h);const p=pe(h,on);_e(p,e.domain,h);const m=Bt(lp);_e(p,e.tld,m),_e(p,e.utld,m),pe(u,Qo,m);const g=pe(h,sn);_e(g,e.domain,h),_e(m,e.domain,h),pe(m,on,p),pe(m,sn,g);const v=pe(m,Fn);_e(v,e.numeric,lp);const b=pe(l,sn),A=pe(l,on);_e(b,e.domain,l),_e(A,o,s),_e(A,e.domain,l);const w=Bt(js);_e(A,e.tld,w),_e(A,e.utld,w),_e(w,e.domain,l),_e(w,o,s),pe(w,on,A),pe(w,sn,b),pe(w,Vn,u);const y=pe(w,Fn),T=Bt(js);_e(y,e.numeric,T);const k=Bt(js),$=Bt();_e(k,t,k),_e(k,r,$),_e($,t,k),_e($,r,$),pe(w,an,k),pe(T,an,k);const H=pe(a,Fn),U=pe(d,Fn),R=pe(U,an),D=pe(R,an);_e(a,e.domain,l),pe(a,on,A),pe(a,sn,b),_e(d,e.domain,l),pe(d,on,A),pe(d,sn,b),_e(H,e.domain,k),pe(H,an,k),_e(D,e.domain,k),_e(D,t,k),pe(D,an,k);const z=[[Yo,Go],[fs,hs],[ps,ms],[gs,vs],[ys,Cs],[Es,bs],[As,ws],[Ss,ks]];for(let W=0;W<z.length;W++){const[j,F]=z[W],V=pe(k,j);pe($,j,V),pe(V,F,k);const Y=Bt(js);_e(V,t,Y);const L=Bt();_e(V,r),_e(Y,t,Y),_e(Y,r,L),_e(L,t,Y),_e(L,r,L),pe(Y,F,k),pe(L,F,k)}return pe(i,Qo,w),pe(i,pc,yE),{start:i,tokens:np}}function EE(n,e,t){let r=t.length,o=0,i=[],s=[];for(;o<r;){let l=n,a=null,d=null,u=0,f=null,h=-1;for(;o<r&&!(a=l.go(t[o].t));)s.push(t[o++]);for(;o<r&&(d=a||l.go(t[o].t));)a=null,l=d,l.accepts()?(h=0,f=l):h>=0&&h++,o++,u++;if(h<0)o-=u,o<r&&(s.push(t[o]),o++);else{s.length>0&&(i.push(wc(cp,e,s)),s=[]),o-=h,u-=h;const p=f.t,m=t.slice(o-u,o);i.push(wc(p,e,m))}}return s.length>0&&i.push(wc(cp,e,s)),i}function wc(n,e,t){const r=t[0].s,o=t[t.length-1].e,i=e.slice(r,o);return new n(i,t)}const bE=typeof console<"u"&&console&&console.warn||(()=>{}),AE="until manual call of linkify.init(). Register all schemes and plugins before invoking linkify the first time.",Ue={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function wE(){Et.groups={},Ue.scanner=null,Ue.parser=null,Ue.tokenQueue=[],Ue.pluginQueue=[],Ue.customSchemes=[],Ue.initialized=!1}function dp(n,e){if(e===void 0&&(e=!1),Ue.initialized&&bE(`linkifyjs: already initialized - will not register custom scheme "${n}" ${AE}`),!/^[0-9a-z]+(-[0-9a-z]+)*$/.test(n))throw new Error(`linkifyjs: incorrect scheme format.
|
|
175
175
|
1. Must only contain digits, lowercase ASCII letters or "-"
|
|
176
176
|
2. Cannot start or end with "-"
|
|
177
|
-
3. "-" cannot repeat`);He.customSchemes.push([n,e])}function gE(){He.scanner=aE(He.customSchemes);for(let n=0;n<He.tokenQueue.length;n++)He.tokenQueue[n][1]({scanner:He.scanner});He.parser=uE(He.scanner.tokens);for(let n=0;n<He.pluginQueue.length;n++)He.pluginQueue[n][1]({scanner:He.scanner,parser:He.parser});He.initialized=!0}function vE(n){return He.initialized||gE(),fE(He.parser.start,n,lE(He.scanner.start,n))}function bc(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 Cc(t),o=vE(n),i=[];for(let s=0;s<o.length;s++){const l=o[s];l.isLink&&(!e||l.t===e)&&r.check(l)&&i.push(l.toFormattedObject(r))}return i}function yE(n){return new yt({key:new jt("autolink"),appendTransaction:(e,t,r)=>{const o=e.some(d=>d.docChanged)&&!t.doc.eq(r.doc),i=e.some(d=>d.getMeta("preventAutolink"));if(!o||i)return;const{tr:s}=r,l=Jy(t.doc,[...e]);if(o9(l).forEach(({newRange:d})=>{const u=Gy(r.doc,d,p=>p.isTextblock);let f,h;if(u.length>1?(f=u[0],h=r.doc.textBetween(f.pos,f.pos+f.node.nodeSize,void 0," ")):u.length&&r.doc.textBetween(d.from,d.to," "," ").endsWith(" ")&&(f=u[0],h=r.doc.textBetween(f.pos,d.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;bc(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=>{_l(v.from,v.to,r.doc).some(b=>b.mark.type===n.type)||s.addMark(v.from,v.to,n.type.create({href:v.href}))})}}),!!s.steps.length)return s}})}function CE(n){return new yt({key:new jt("handleClickLink"),props:{handleClick:(e,t,r)=>{var o,i;if(r.button!==0||r.target.nodeName!=="A")return!1;const l=Hh(e.state,n.type.name),a=r.target,d=(o=a==null?void 0:a.href)!==null&&o!==void 0?o:l.href,u=(i=a==null?void 0:a.target)!==null&&i!==void 0?i:l.target;return a&&d?(e.editable&&window.open(d,u),!0):!1}}})}function EE(n){return new yt({key:new jt("handlePasteLink"),props:{handlePaste:(e,t,r)=>{var o;const{state:i}=e,{selection:s}=i,{empty:l}=s;if(l)return!1;let a="";r.content.forEach(m=>{a+=m.textContent});const d=bc(a).find(m=>m.isLink&&m.value===a);if(!a||!d)return!1;const u=(o=t.clipboardData)===null||o===void 0?void 0:o.getData("text/html"),f=/href="([^"]*)"/,h=u==null?void 0:u.match(f),p=h?h[1]:d.href;return n.editor.commands.setMark(n.type,{href:p}),!0}}})}const bE=tn.create({name:"link",priority:1e3,keepOnSplit:!1,onCreate(){this.options.protocols.forEach(n=>{if(typeof n=="string"){cp(n);return}cp(n.scheme,n.optionalSlashes)})},onDestroy(){mE()},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",ht(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[Fo({find:n=>bc(n).filter(e=>this.options.validate?this.options.validate(e.value):!0).filter(e=>e.isLink).map(e=>({text:e.value,index:e.start,data:e})),type:this.type,getAttributes:(n,e)=>{var t,r;const o=(t=e==null?void 0:e.clipboardData)===null||t===void 0?void 0:t.getData("text/html"),i=/href="([^"]*)"/,s=o==null?void 0:o.match(i);return s?{href:s[1]}:{href:(r=n.data)===null||r===void 0?void 0:r.href}}})]},addProseMirrorPlugins(){const n=[];return this.options.autolink&&n.push(yE({type:this.type,validate:this.options.validate})),this.options.openOnClick&&n.push(CE({type:this.type})),this.options.linkOnPaste&&n.push(EE({editor:this.editor,type:this.type})),n}}).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})}}}}),AE=Lt.create({name:"placeholder",addOptions(){return{emptyEditorClass:"is-editor-empty",emptyNodeClass:"is-empty",placeholder:"Write something …",showOnlyWhenEditable:!0,showOnlyCurrent:!0,includeChildren:!1}},addProseMirrorPlugins(){return[new yt({key:new jt("placeholder"),props:{decorations:({doc:n,selection:e})=>{const t=this.editor.isEditable||!this.options.showOnlyWhenEditable,{anchor:r}=e,o=[];if(!t)return null;const i=n.type.createAndFill(),s=(i==null?void 0:i.sameMarkup(n))&&i.content.findDiffStart(n.content)===null;return n.descendants((l,a)=>{const d=r>=a&&r<=a+l.nodeSize,u=!l.isLeaf&&!l.childCount;if((d||!this.options.showOnlyCurrent)&&u){const f=[this.options.emptyNodeClass];s&&f.push(this.options.emptyEditorClass);const h=Nt.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:d}):this.options.placeholder});o.push(h)}return this.options.includeChildren}),Je.create(n,o)}}})]}}),wE=/(?:^|\s)((?:\*\*)((?:[^*]+))(?:\*\*))$/,SE=/(?:^|\s)((?:\*\*)((?:[^*]+))(?:\*\*))/g,kE=/(?:^|\s)((?:__)((?:[^__]+))(?:__))$/,xE=/(?:^|\s)((?:__)((?:[^__]+))(?:__))/g,TE=tn.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",ht(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[Ji({find:wE,type:this.type}),Ji({find:kE,type:this.type})]},addPasteRules(){return[Fo({find:SE,type:this.type}),Fo({find:xE,type:this.type})]}}),ME=/(?:^|\s)((?:\*)((?:[^*]+))(?:\*))$/,IE=/(?:^|\s)((?:\*)((?:[^*]+))(?:\*))/g,OE=/(?:^|\s)((?:_)((?:[^_]+))(?:_))$/,_E=/(?:^|\s)((?:_)((?:[^_]+))(?:_))/g,NE=tn.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",ht(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[Ji({find:ME,type:this.type}),Ji({find:OE,type:this.type})]},addPasteRules(){return[Fo({find:IE,type:this.type}),Fo({find:_E,type:this.type})]}}),LE=tn.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",ht(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()}}}),DE=mn.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:n}){return["li",ht(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)}}}),BE=mn.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:n}){return["li",ht(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)}}}),dp=tn.create({name:"textStyle",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"span",getAttrs:n=>n.hasAttribute("style")?{}:!1}]},renderHTML({HTMLAttributes:n}){return["span",ht(this.options.HTMLAttributes,n),0]},addCommands(){return{removeEmptyTextStyle:()=>({state:n,commands:e})=>{const t=Qi(n,this.type);return Object.entries(t).some(([,o])=>!!o)?!0:e.unsetMark(this.name)}}}}),up=/^\s*([-+*])\s$/,RE=mn.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",ht(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(BE.name,this.editor.getAttributes(dp.name)).run():n.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-8":()=>this.editor.commands.toggleBulletList()}},addInputRules(){let n=Zi({find:up,type:this.type});return(this.options.keepMarks||this.options.keepAttributes)&&(n=Zi({find:up,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:()=>this.editor.getAttributes(dp.name),editor:this.editor})),[n]}}),PE=mn.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:n}){return["li",ht(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)}}}),fp=tn.create({name:"textStyle",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"span",getAttrs:n=>n.hasAttribute("style")?{}:!1}]},renderHTML({HTMLAttributes:n}){return["span",ht(this.options.HTMLAttributes,n),0]},addCommands(){return{removeEmptyTextStyle:()=>({state:n,commands:e})=>{const t=Qi(n,this.type);return Object.entries(t).some(([,o])=>!!o)?!0:e.unsetMark(this.name)}}}}),hp=/^(\d+)\.\s$/,FE=mn.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",ht(this.options.HTMLAttributes,t),0]:["ol",ht(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(PE.name,this.editor.getAttributes(fp.name)).run():n.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-7":()=>this.editor.commands.toggleOrderedList()}},addInputRules(){let n=Zi({find:hp,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=Zi({find:hp,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:e=>({start:+e[1],...this.editor.getAttributes(fp.name)}),joinPredicate:(e,t)=>t.childCount+t.attrs.start===+e[1],editor:this.editor})),[n]}}),VE=mn.create({name:"hardBreak",addOptions(){return{keepMarks:!0,HTMLAttributes:{}}},inline:!0,group:"inline",selectable:!1,parseHTML(){return[{tag:"br"}]},renderHTML({HTMLAttributes:n}){return["br",ht(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:i}=t;if(o.$from.parent.type.spec.isolating)return!1;const{keepMarks:s}=this.options,{splittableMarks:l}=r.extensionManager,a=i||o.$to.parentOffset&&o.$from.marks();return e().insertContent({type:this.name}).command(({tr:d,dispatch:u})=>{if(u&&a&&s){const f=a.filter(h=>l.includes(h.type.name));d.ensureMarks(f)}return!0}).run()})])}},addKeyboardShortcuts(){return{"Mod-Enter":()=>this.editor.commands.setHardBreak(),"Shift-Enter":()=>this.editor.commands.setHardBreak()}}}),Ac={BASIC:"basic",FULL:"full"},$E={class:"attachment-list"},zE={class:"attachment-link"},HE={key:1,class:"attachment-no-download"},UE=["href"],js=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",$E,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(r.files,i=>(c.openBlock(),c.createElementBlock("li",{class:"attachment-list__item",key:i.CorrelationId},[c.createElementVNode("div",zE,[r.showDelete?(c.openBlock(),c.createBlock(We,{key:0,variant:"remove",onClick:s=>t(i),"aria-label":"verwijder"},{default:c.withCtx(()=>[c.createVNode(c.unref(go))]),_:2},1032,["onClick"])):c.createCommentVNode("",!0),r.noDownload?(c.openBlock(),c.createElementBlock("div",HE,[c.createVNode(c.unref(Xn)),c.createTextVNode(" "+c.toDisplayString(i.Naam.trim()),1)])):(c.openBlock(),c.createElementBlock("a",{key:2,href:i.downloadUrl},[c.createVNode(c.unref(Xn)),c.createTextVNode(" "+c.toDisplayString(i.Naam.trim()),1)],8,UE))])]))),128))]))}}),jE={class:"attachment-list"},WE={class:"attachment"},KE=["onClick"],QE=["src","alt"],YE=["onClick"],JE=["href"],ZE={class:"btn btn-light download-button-image"},GE=["src","alt"],Ws=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=i=>{e("delete",i)},o=(i,s)=>{i.target&&i.target.className==="img-preview"&&e("show",s)};return(i,s)=>(c.openBlock(),c.createElementBlock("ul",jE,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(i.files,l=>(c.openBlock(),c.createElementBlock("li",{class:"attachment-list__item",key:l.CorrelationId},[c.createElementVNode("div",WE,[i.showDelete?(c.openBlock(),c.createBlock(We,{key:0,variant:"remove","aria-label":"verwijder",onClick:c.withModifiers(a=>r(l),["prevent"])},{default:c.withCtx(()=>[c.createVNode(c.unref(go))]),_: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,QE)],8,KE)):(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",ZE,[c.createVNode(c.unref(ga))])],8,JE)):c.createCommentVNode("",!0),c.createElementVNode("img",{src:l.previewUrl,alt:l.altName,class:"img-preview",loading:"lazy"},null,8,GE)],8,YE))])]))),128))]))}}),pp=n=>n.Naam.toLowerCase().endsWith(".png")||n.Naam.toLowerCase().endsWith(".jpg")||n.Naam.toLowerCase().endsWith(".jpeg")||n.Naam.toLowerCase().endsWith(".gif"),XE=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,qE=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,eb=n=>n.identifier?`/Collega/api/Conversation/GetConversationAttachment?conversationId=${n.conversationId}&fileMetadataId=${n.identifier}`:null,tb=(n,e)=>e?pp(n):!pp(n),Ks=(n,e)=>n===void 0?void 0:n.filter(r=>tb(r,e)).map(r=>{const o=typeof r.CorrelationId=="string"?r.CorrelationId:r.CorrelationId!=null?r.CorrelationId.toString():"";return{downloadUrl:XE(r),previewUrl:qE(r),fullImageUrl:eb(r),altName:`${r.Naam}`,...r,CorrelationId:o}}),nb={key:0,class:"pills-list__wrapper"},rb={class:"pills-list__ul"},ob={class:"bd-markdown-editor__menu-bottom"},ib={key:0,class:"vr"},mp=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:Ac.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=er(t,"modelValue",e),i=[ZC,GC,XC,AE.configure({placeholder:t.placeholder}),VE,bE.configure({openOnClick:!1,validate:T=>/^https?:\/\//i.test(T)})];t.variant===Ac.FULL&&i.push(TE,NE,LE,DE,RE,FE);const s=JC({content:o.value,extensions:i,onUpdate:({editor:T})=>{const{view:k,state:$}=T,{from:H,to:U}=k.state.selection;if($.doc.textBetween(H-1,U,"")==" "&&T.getAttributes("link").href!=null&&T.chain().setTextSelection({from:H-1,to:U}).toggleLink({href:T.getAttributes("link").href}).setTextSelection({from:U,to:U}).run(),T.getText().trim()===""){e("update:modelValue","");return}e("update:modelValue",T.getHTML())}});c.watch(()=>t.modelValue,T=>{s.value.getHTML()!==T&&s.value.commands.setContent(T,!0,{preserveWhitespace:"full"})});const l=c.computed(()=>t.state===!1?"is-invalid":null),a=c.computed(()=>g("bold")),d=c.computed(()=>g("italic")),u=c.computed(()=>g("underline")),f=c.computed(()=>g("bulletList")),h=c.computed(()=>g("orderedList")),p=c.computed(()=>g("link")),m=c.computed(()=>t.variant===Ac.FULL),g=T=>s.value&&s.value.isActive(T)?"active":null,v=c.computed(()=>t.files&&t.files.length>0?Ks(t.files,!1):null),b=c.computed(()=>t.files&&t.files.length>0?Ks(t.files,!0):null),A=T=>{e("action",{name:"delete-attachment",obj:T})},S=T=>{e("action",{name:"image-attachment",obj:T})},y=()=>{const T=s.value.getAttributes("link").href,k=window.prompt("Voeg link toe",T);if(k!==null){if(k===""){s.value.chain().focus().unsetLink().run();return}s.value.chain().focus().toggleLink({href:k}).run()}};return(T,k)=>(c.openBlock(),c.createElementBlock(c.Fragment,null,[c.createElementVNode("div",{class:c.normalizeClass(["bd-markdown-editor",l.value])},[c.createVNode(c.unref(YC),{editor:c.unref(s)},null,8,["editor"]),T.pills?(c.openBlock(),c.createElementBlock("div",nb,[c.createElementVNode("ul",rb,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(T.pills,($,H)=>(c.openBlock(),c.createElementBlock("li",{key:H,class:"pills-list__li"},[c.createVNode(gi,c.normalizeProps(c.guardReactiveProps($)),null,16)]))),128))])])):c.createCommentVNode("",!0),c.renderSlot(T.$slots,"default"),v.value?(c.openBlock(),c.createBlock(js,{key:1,files:v.value,"no-download":!0,"show-delete":!0,onDelete:A},null,8,["files"])):c.createCommentVNode("",!0),b.value?(c.openBlock(),c.createBlock(Ws,{key:2,files:b.value,"no-download":!0,"show-delete":!0,onDelete:A,onShow:S},null,8,["files"])):c.createCommentVNode("",!0),c.createElementVNode("div",ob,[c.createVNode(We,{variant:"light",type:"button",onClick:r},{default:c.withCtx(()=>[c.createVNode(c.unref(Xn))]),_:1}),m.value?(c.openBlock(),c.createElementBlock("div",ib)):c.createCommentVNode("",!0),m.value?(c.openBlock(),c.createBlock(We,{key:1,variant:"light",type:"button",class:c.normalizeClass(a.value),onClick:k[0]||(k[0]=$=>c.unref(s).chain().focus().toggleBold().run())},{default:c.withCtx(()=>[c.createVNode(c.unref(ua))]),_:1},8,["class"])):c.createCommentVNode("",!0),m.value?(c.openBlock(),c.createBlock(We,{key:2,variant:"light",type:"button",class:c.normalizeClass(d.value),onClick:k[1]||(k[1]=$=>c.unref(s).chain().focus().toggleItalic().run())},{default:c.withCtx(()=>[c.createVNode(c.unref(ya))]),_:1},8,["class"])):c.createCommentVNode("",!0),m.value?(c.openBlock(),c.createBlock(We,{key:3,variant:"light",type:"button",class:c.normalizeClass(u.value),onClick:k[2]||(k[2]=$=>c.unref(s).chain().focus().toggleUnderline().run())},{default:c.withCtx(()=>[c.createVNode(c.unref(Sa))]),_:1},8,["class"])):c.createCommentVNode("",!0),m.value?(c.openBlock(),c.createBlock(We,{key:4,variant:"light",type:"button",class:c.normalizeClass(f.value),onClick:k[3]||(k[3]=$=>c.unref(s).chain().focus().toggleBulletList().run())},{default:c.withCtx(()=>[c.createVNode(c.unref(fa))]),_:1},8,["class"])):c.createCommentVNode("",!0),m.value?(c.openBlock(),c.createBlock(We,{key:5,variant:"light",type:"button",class:c.normalizeClass(h.value),onClick:k[4]||(k[4]=$=>c.unref(s).chain().focus().toggleOrderedList().run())},{default:c.withCtx(()=>[c.createVNode(c.unref(Ea))]),_:1},8,["class"])):c.createCommentVNode("",!0),m.value?(c.openBlock(),c.createBlock(We,{key:6,variant:"light",type:"button",class:c.normalizeClass(p.value),onClick:y},{default:c.withCtx(()=>[c.createVNode(c.unref(ci))]),_:1},8,["class"])):c.createCommentVNode("",!0)])],2),c.createVNode(c.unref(pi),{text:t.errorText,state:t.state},null,8,["text","state"])],64))}}),sb={class:"header"},ab=c.createElementVNode("div",null,"Menu",-1),lb={class:"icon-close-wrapper"},cb={class:"navbar"},db={class:"nav navbar-nav w-100"},ub={class:"nav-item"},fb={class:"nav-item"},wc=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"),i=()=>e("signout");return(s,l)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(["bd-mobile-menu",r.value])},[c.createElementVNode("div",sb,[ab,c.createElementVNode("div",lb,[c.createVNode(ai,{onClick:o})])]),c.createElementVNode("nav",cb,[c.createElementVNode("ul",db,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(t.options,a=>(c.openBlock(),c.createElementBlock("li",ub,[c.createVNode(Tr,c.mergeProps({class:"nav-link"},a,{onClick:o}),null,16)]))),256)),c.renderSlot(s.$slots,"special-options"),c.createElementVNode("li",fb,[c.createVNode(Tr,{class:"nav-link",text:"Uitloggen",onClick:i})])])])],2))}}),hb={class:"bd-user"},pb={class:"bd-user__information"},mb={class:"text-break"},gb={class:"overflow-x-hidden"},gp=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",hb,[e.hideImage?c.createCommentVNode("",!0):(c.openBlock(),c.createBlock(yo,c.mergeProps({key:0},e.img,{size:"sm"}),null,16)),c.createElementVNode("div",pb,[c.createElementVNode("header",null,[c.createElementVNode("h5",mb,c.toDisplayString(e.name),1),c.renderSlot(r.$slots,"header-extra")]),c.createElementVNode("span",gb,c.toDisplayString(t.value),1)])]))}}),vb={class:"bd-chat-cloud-card"},yb={class:"bd-chat-cloud-card__header"},Cb={class:"bd-chat-cloud-card__body"},Eb=["innerHTML"],bb={class:"bd-chat-cloud-card__footer"},Ab={key:0,class:"pills-list__wrapper"},wb={class:"pills-list__ul"},vp=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":Pe),o=c.computed(()=>Ks(t.files,!1)),i=c.computed(()=>Ks(t.files,!0)),s=()=>{e("action","copy-message")},l=a=>{e("show-attachment",a)};return(a,d)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(["bd-chat-cloud",r.value])},[c.createVNode(yo,{src:t.src,username:t.username,size:"sm"},null,8,["src","username"]),c.createElementVNode("div",vb,[c.createElementVNode("div",yb,[c.renderSlot(a.$slots,"header",{},()=>[c.createTextVNode(c.toDisplayString(a.headerTitle),1)]),c.createVNode(We,{variant:"outline-primary-dark",size:"sm",onClick:s},{default:c.withCtx(()=>[c.createTextVNode(" kopieer ")]),_:1})]),c.createElementVNode("div",Cb,[c.renderSlot(a.$slots,"body",{},()=>[c.createElementVNode("div",{class:"bd-chat-cloud-card__message",innerHTML:t.message},null,8,Eb)])]),c.createElementVNode("div",bb,[c.renderSlot(a.$slots,"footer",{},()=>[a.pills?(c.openBlock(),c.createElementBlock("div",Ab,[c.createElementVNode("ul",wb,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(a.pills,(u,f)=>(c.openBlock(),c.createElementBlock("li",{key:f,class:"pills-list__li"},[c.createVNode(gi,c.normalizeProps(c.guardReactiveProps(u)),null,16)]))),128))])])):c.createCommentVNode("",!0),o.value&&o.value.length>0?(c.openBlock(),c.createBlock(js,{key:1,files:o.value},null,8,["files"])):c.createCommentVNode("",!0),i.value&&i.value.length>0?(c.openBlock(),c.createBlock(Ws,{key:2,"fast-download":!0,files:i.value,onShow:l},null,8,["files"])):c.createCommentVNode("",!0)])])])],2))}}),Sb=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)},i=()=>{if(!t.active)return;const l=r.value?"sortDesc":"sortAsc";e(l)},s=c.computed(()=>({"bd-table-sort":!0,active:t.active}));return c.watch(()=>t.active,(l,a)=>{l&&!a&&(r.value=!1,e("sortAsc"))}),i(),(l,a)=>(c.openBlock(),c.createElementBlock("th",{class:c.normalizeClass(s.value),onClick:a[0]||(a[0]=d=>{o(),i()})},[c.createElementVNode("span",null,c.toDisplayString(t.label),1),t.active&&!r.value?(c.openBlock(),c.createBlock(c.unref(ba),{key:0})):t.active&&r.value?(c.openBlock(),c.createBlock(c.unref(Aa),{key:1})):(c.openBlock(),c.createBlock(c.unref(wa),{key:2}))],2))}}),kb={class:"bd-table"},xb={key:0,class:"table"},Tb={key:1},Mb=["onClick"],Ib={key:0},Ob={key:1,class:"empty-text"},yp=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),i=c.ref(r.sortBy),s=f=>i.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(),b=g.toString();return v.localeCompare(b,void 0,{numeric:!0})},a=f=>{o.value=o.value.sort((p,m)=>l(f,p,m)),t("sort-changed",{sortBy:f,sortDesc:!1})},d=f=>{o.value=o.value.sort((p,m)=>l(f,m,p)),t("sort-changed",{sortBy:f,sortDesc:!0})},u=()=>{o.value=r.items};return c.watch(()=>r.items,f=>{o.value=f}),e({Refresh:u}),(f,h)=>(c.openBlock(),c.createElementBlock("div",kb,[r.items&&r.items.length>0?(c.openBlock(),c.createElementBlock("table",xb,[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(Sb,{key:0,label:p.label,active:p.key==i.value,sortDesc:r.sortDesc,onClick:m=>s(p.key),onSortAsc:m=>a(p.key),onSortDesc:m=>d(p.key)},null,8,["label","active","sortDesc","onClick","onSortAsc","onSortDesc"])):(c.openBlock(),c.createElementBlock("th",Tb,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",Ib,[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,Mb))),256))])])):(c.openBlock(),c.createElementBlock("p",Ob,c.toDisplayString(r.emptyText),1))]))}});/*!
|
|
177
|
+
3. "-" cannot repeat`);Ue.customSchemes.push([n,e])}function SE(){Ue.scanner=mE(Ue.customSchemes);for(let n=0;n<Ue.tokenQueue.length;n++)Ue.tokenQueue[n][1]({scanner:Ue.scanner});Ue.parser=CE(Ue.scanner.tokens);for(let n=0;n<Ue.pluginQueue.length;n++)Ue.pluginQueue[n][1]({scanner:Ue.scanner,parser:Ue.parser});Ue.initialized=!0}function kE(n){return Ue.initialized||SE(),EE(Ue.parser.start,n,gE(Ue.scanner.start,n))}function Sc(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 Ac(t),o=kE(n),i=[];for(let s=0;s<o.length;s++){const l=o[s];l.isLink&&(!e||l.t===e)&&r.check(l)&&i.push(l.toFormattedObject(r))}return i}function xE(n){return new yt({key:new jt("autolink"),appendTransaction:(e,t,r)=>{const o=e.some(d=>d.docChanged)&&!t.doc.eq(r.doc),i=e.some(d=>d.getMeta("preventAutolink"));if(!o||i)return;const{tr:s}=r,l=r9(t.doc,[...e]);if(f9(l).forEach(({newRange:d})=>{const u=i9(r.doc,d,p=>p.isTextblock);let f,h;if(u.length>1?(f=u[0],h=r.doc.textBetween(f.pos,f.pos+f.node.nodeSize,void 0," ")):u.length&&r.doc.textBetween(d.from,d.to," "," ").endsWith(" ")&&(f=u[0],h=r.doc.textBetween(f.pos,d.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;Sc(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=>{Dl(v.from,v.to,r.doc).some(b=>b.mark.type===n.type)||s.addMark(v.from,v.to,n.type.create({href:v.href}))})}}),!!s.steps.length)return s}})}function TE(n){return new yt({key:new jt("handleClickLink"),props:{handleClick:(e,t,r)=>{var o,i;if(r.button!==0||r.target.nodeName!=="A")return!1;const l=Uh(e.state,n.type.name),a=r.target,d=(o=a==null?void 0:a.href)!==null&&o!==void 0?o:l.href,u=(i=a==null?void 0:a.target)!==null&&i!==void 0?i:l.target;return a&&d?(e.editable&&window.open(d,u),!0):!1}}})}function ME(n){return new yt({key:new jt("handlePasteLink"),props:{handlePaste:(e,t,r)=>{var o;const{state:i}=e,{selection:s}=i,{empty:l}=s;if(l)return!1;let a="";r.content.forEach(m=>{a+=m.textContent});const d=Sc(a).find(m=>m.isLink&&m.value===a);if(!a||!d)return!1;const u=(o=t.clipboardData)===null||o===void 0?void 0:o.getData("text/html"),f=/href="([^"]*)"/,h=u==null?void 0:u.match(f),p=h?h[1]:d.href;return n.editor.commands.setMark(n.type,{href:p}),!0}}})}const IE=tn.create({name:"link",priority:1e3,keepOnSplit:!1,onCreate(){this.options.protocols.forEach(n=>{if(typeof n=="string"){dp(n);return}dp(n.scheme,n.optionalSlashes)})},onDestroy(){wE()},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",ht(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[Fo({find:n=>Sc(n).filter(e=>this.options.validate?this.options.validate(e.value):!0).filter(e=>e.isLink).map(e=>({text:e.value,index:e.start,data:e})),type:this.type,getAttributes:(n,e)=>{var t,r;const o=(t=e==null?void 0:e.clipboardData)===null||t===void 0?void 0:t.getData("text/html"),i=/href="([^"]*)"/,s=o==null?void 0:o.match(i);return s?{href:s[1]}:{href:(r=n.data)===null||r===void 0?void 0:r.href}}})]},addProseMirrorPlugins(){const n=[];return this.options.autolink&&n.push(xE({type:this.type,validate:this.options.validate})),this.options.openOnClick&&n.push(TE({type:this.type})),this.options.linkOnPaste&&n.push(ME({editor:this.editor,type:this.type})),n}}).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})}}}}),OE=Lt.create({name:"placeholder",addOptions(){return{emptyEditorClass:"is-editor-empty",emptyNodeClass:"is-empty",placeholder:"Write something …",showOnlyWhenEditable:!0,showOnlyCurrent:!0,includeChildren:!1}},addProseMirrorPlugins(){return[new yt({key:new jt("placeholder"),props:{decorations:({doc:n,selection:e})=>{const t=this.editor.isEditable||!this.options.showOnlyWhenEditable,{anchor:r}=e,o=[];if(!t)return null;const i=n.type.createAndFill(),s=(i==null?void 0:i.sameMarkup(n))&&i.content.findDiffStart(n.content)===null;return n.descendants((l,a)=>{const d=r>=a&&r<=a+l.nodeSize,u=!l.isLeaf&&!l.childCount;if((d||!this.options.showOnlyCurrent)&&u){const f=[this.options.emptyNodeClass];s&&f.push(this.options.emptyEditorClass);const h=Nt.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:d}):this.options.placeholder});o.push(h)}return this.options.includeChildren}),Ge.create(n,o)}}})]}}),_E=/(?:^|\s)((?:\*\*)((?:[^*]+))(?:\*\*))$/,NE=/(?:^|\s)((?:\*\*)((?:[^*]+))(?:\*\*))/g,LE=/(?:^|\s)((?:__)((?:[^__]+))(?:__))$/,DE=/(?:^|\s)((?:__)((?:[^__]+))(?:__))/g,BE=tn.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",ht(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[Zi({find:_E,type:this.type}),Zi({find:LE,type:this.type})]},addPasteRules(){return[Fo({find:NE,type:this.type}),Fo({find:DE,type:this.type})]}}),RE=/(?:^|\s)((?:\*)((?:[^*]+))(?:\*))$/,PE=/(?:^|\s)((?:\*)((?:[^*]+))(?:\*))/g,VE=/(?:^|\s)((?:_)((?:[^_]+))(?:_))$/,FE=/(?:^|\s)((?:_)((?:[^_]+))(?:_))/g,$E=tn.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",ht(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[Zi({find:RE,type:this.type}),Zi({find:VE,type:this.type})]},addPasteRules(){return[Fo({find:PE,type:this.type}),Fo({find:FE,type:this.type})]}}),zE=tn.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",ht(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()}}}),HE=mn.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:n}){return["li",ht(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)}}}),UE=mn.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:n}){return["li",ht(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)}}}),up=tn.create({name:"textStyle",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"span",getAttrs:n=>n.hasAttribute("style")?{}:!1}]},renderHTML({HTMLAttributes:n}){return["span",ht(this.options.HTMLAttributes,n),0]},addCommands(){return{removeEmptyTextStyle:()=>({state:n,commands:e})=>{const t=Yi(n,this.type);return Object.entries(t).some(([,o])=>!!o)?!0:e.unsetMark(this.name)}}}}),fp=/^\s*([-+*])\s$/,jE=mn.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",ht(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(UE.name,this.editor.getAttributes(up.name)).run():n.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-8":()=>this.editor.commands.toggleBulletList()}},addInputRules(){let n=Ji({find:fp,type:this.type});return(this.options.keepMarks||this.options.keepAttributes)&&(n=Ji({find:fp,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:()=>this.editor.getAttributes(up.name),editor:this.editor})),[n]}}),WE=mn.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:n}){return["li",ht(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)}}}),hp=tn.create({name:"textStyle",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"span",getAttrs:n=>n.hasAttribute("style")?{}:!1}]},renderHTML({HTMLAttributes:n}){return["span",ht(this.options.HTMLAttributes,n),0]},addCommands(){return{removeEmptyTextStyle:()=>({state:n,commands:e})=>{const t=Yi(n,this.type);return Object.entries(t).some(([,o])=>!!o)?!0:e.unsetMark(this.name)}}}}),pp=/^(\d+)\.\s$/,KE=mn.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",ht(this.options.HTMLAttributes,t),0]:["ol",ht(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(WE.name,this.editor.getAttributes(hp.name)).run():n.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-7":()=>this.editor.commands.toggleOrderedList()}},addInputRules(){let n=Ji({find:pp,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=Ji({find:pp,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:e=>({start:+e[1],...this.editor.getAttributes(hp.name)}),joinPredicate:(e,t)=>t.childCount+t.attrs.start===+e[1],editor:this.editor})),[n]}}),QE=mn.create({name:"hardBreak",addOptions(){return{keepMarks:!0,HTMLAttributes:{}}},inline:!0,group:"inline",selectable:!1,parseHTML(){return[{tag:"br"}]},renderHTML({HTMLAttributes:n}){return["br",ht(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:i}=t;if(o.$from.parent.type.spec.isolating)return!1;const{keepMarks:s}=this.options,{splittableMarks:l}=r.extensionManager,a=i||o.$to.parentOffset&&o.$from.marks();return e().insertContent({type:this.name}).command(({tr:d,dispatch:u})=>{if(u&&a&&s){const f=a.filter(h=>l.includes(h.type.name));d.ensureMarks(f)}return!0}).run()})])}},addKeyboardShortcuts(){return{"Mod-Enter":()=>this.editor.commands.setHardBreak(),"Shift-Enter":()=>this.editor.commands.setHardBreak()}}}),kc={BASIC:"basic",FULL:"full"},YE={class:"attachment-list"},GE={class:"attachment-link"},ZE={key:1,class:"attachment-no-download"},JE=["href"],Ws=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",YE,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(r.files,i=>(c.openBlock(),c.createElementBlock("li",{class:"attachment-list__item",key:i.CorrelationId},[c.createElementVNode("div",GE,[r.showDelete?(c.openBlock(),c.createBlock(He,{key:0,variant:"remove",onClick:s=>t(i),"aria-label":"verwijder"},{default:c.withCtx(()=>[c.createVNode(c.unref(vo))]),_:2},1032,["onClick"])):c.createCommentVNode("",!0),r.noDownload?(c.openBlock(),c.createElementBlock("div",ZE,[c.createVNode(c.unref(Xn)),c.createTextVNode(" "+c.toDisplayString(i.Naam.trim()),1)])):(c.openBlock(),c.createElementBlock("a",{key:2,href:i.downloadUrl},[c.createVNode(c.unref(Xn)),c.createTextVNode(" "+c.toDisplayString(i.Naam.trim()),1)],8,JE))])]))),128))]))}}),XE={class:"attachment-list"},qE={class:"attachment"},eb=["onClick"],tb=["src","alt"],nb=["onClick"],rb=["href"],ob={class:"btn btn-light download-button-image"},ib=["src","alt"],Ks=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=i=>{e("delete",i)},o=(i,s)=>{i.target&&i.target.className==="img-preview"&&e("show",s)};return(i,s)=>(c.openBlock(),c.createElementBlock("ul",XE,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(i.files,l=>(c.openBlock(),c.createElementBlock("li",{class:"attachment-list__item",key:l.CorrelationId},[c.createElementVNode("div",qE,[i.showDelete?(c.openBlock(),c.createBlock(He,{key:0,variant:"remove","aria-label":"verwijder",onClick:c.withModifiers(a=>r(l),["prevent"])},{default:c.withCtx(()=>[c.createVNode(c.unref(vo))]),_: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,tb)],8,eb)):(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",ob,[c.createVNode(c.unref(Ca))])],8,rb)):c.createCommentVNode("",!0),c.createElementVNode("img",{src:l.previewUrl,alt:l.altName,class:"img-preview",loading:"lazy"},null,8,ib)],8,nb))])]))),128))]))}}),mp=n=>n.Naam.toLowerCase().endsWith(".png")||n.Naam.toLowerCase().endsWith(".jpg")||n.Naam.toLowerCase().endsWith(".jpeg")||n.Naam.toLowerCase().endsWith(".gif"),sb=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,ab=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,lb=n=>n.identifier?`/Collega/api/Conversation/GetConversationAttachment?conversationId=${n.conversationId}&fileMetadataId=${n.identifier}`:null,cb=(n,e)=>e?mp(n):!mp(n),Qs=(n,e)=>n===void 0?void 0:n.filter(r=>cb(r,e)).map(r=>{const o=typeof r.CorrelationId=="string"?r.CorrelationId:r.CorrelationId!=null?r.CorrelationId.toString():"";return{downloadUrl:sb(r),previewUrl:ab(r),fullImageUrl:lb(r),altName:`${r.Naam}`,...r,CorrelationId:o}}),db={key:0,class:"pills-list__wrapper"},ub={class:"pills-list__ul"},fb={class:"bd-markdown-editor__menu-bottom"},hb={key:0,class:"vr"},gp=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:kc.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=er(t,"modelValue",e),i=[oE,iE,sE,OE.configure({placeholder:t.placeholder}),QE,IE.configure({openOnClick:!1,validate:T=>/^https?:\/\//i.test(T)})];t.variant===kc.FULL&&i.push(BE,$E,zE,HE,jE,KE);const s=rE({content:o.value,extensions:i,onUpdate:({editor:T})=>{const{view:k,state:$}=T,{from:H,to:U}=k.state.selection;if($.doc.textBetween(H-1,U,"")==" "&&T.getAttributes("link").href!=null&&T.chain().setTextSelection({from:H-1,to:U}).toggleLink({href:T.getAttributes("link").href}).setTextSelection({from:U,to:U}).run(),T.getText().trim()===""){e("update:modelValue","");return}e("update:modelValue",T.getHTML())}});c.watch(()=>t.modelValue,T=>{s.value.getHTML()!==T&&s.value.commands.setContent(T,!0,{preserveWhitespace:"full"})});const l=c.computed(()=>t.state===!1?"is-invalid":null),a=c.computed(()=>g("bold")),d=c.computed(()=>g("italic")),u=c.computed(()=>g("underline")),f=c.computed(()=>g("bulletList")),h=c.computed(()=>g("orderedList")),p=c.computed(()=>g("link")),m=c.computed(()=>t.variant===kc.FULL),g=T=>s.value&&s.value.isActive(T)?"active":null,v=c.computed(()=>t.files&&t.files.length>0?Qs(t.files,!1):null),b=c.computed(()=>t.files&&t.files.length>0?Qs(t.files,!0):null),A=T=>{e("action",{name:"delete-attachment",obj:T})},w=T=>{e("action",{name:"image-attachment",obj:T})},y=()=>{const T=s.value.getAttributes("link").href,k=window.prompt("Voeg link toe",T);if(k!==null){if(k===""){s.value.chain().focus().unsetLink().run();return}s.value.chain().focus().toggleLink({href:k}).run()}};return(T,k)=>(c.openBlock(),c.createElementBlock(c.Fragment,null,[c.createElementVNode("div",{class:c.normalizeClass(["bd-markdown-editor",l.value])},[c.createVNode(c.unref(nE),{editor:c.unref(s)},null,8,["editor"]),T.pills?(c.openBlock(),c.createElementBlock("div",db,[c.createElementVNode("ul",ub,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(T.pills,($,H)=>(c.openBlock(),c.createElementBlock("li",{key:H,class:"pills-list__li"},[c.createVNode(vi,c.normalizeProps(c.guardReactiveProps($)),null,16)]))),128))])])):c.createCommentVNode("",!0),c.renderSlot(T.$slots,"default"),v.value?(c.openBlock(),c.createBlock(Ws,{key:1,files:v.value,"no-download":!0,"show-delete":!0,onDelete:A},null,8,["files"])):c.createCommentVNode("",!0),b.value?(c.openBlock(),c.createBlock(Ks,{key:2,files:b.value,"no-download":!0,"show-delete":!0,onDelete:A,onShow:w},null,8,["files"])):c.createCommentVNode("",!0),c.createElementVNode("div",fb,[c.createVNode(He,{variant:"light",type:"button",onClick:r},{default:c.withCtx(()=>[c.createVNode(c.unref(Xn))]),_:1}),m.value?(c.openBlock(),c.createElementBlock("div",hb)):c.createCommentVNode("",!0),m.value?(c.openBlock(),c.createBlock(He,{key:1,variant:"light",type:"button",class:c.normalizeClass(a.value),onClick:k[0]||(k[0]=$=>c.unref(s).chain().focus().toggleBold().run())},{default:c.withCtx(()=>[c.createVNode(c.unref(ha))]),_:1},8,["class"])):c.createCommentVNode("",!0),m.value?(c.openBlock(),c.createBlock(He,{key:2,variant:"light",type:"button",class:c.normalizeClass(d.value),onClick:k[1]||(k[1]=$=>c.unref(s).chain().focus().toggleItalic().run())},{default:c.withCtx(()=>[c.createVNode(c.unref(ba))]),_:1},8,["class"])):c.createCommentVNode("",!0),m.value?(c.openBlock(),c.createBlock(He,{key:3,variant:"light",type:"button",class:c.normalizeClass(u.value),onClick:k[2]||(k[2]=$=>c.unref(s).chain().focus().toggleUnderline().run())},{default:c.withCtx(()=>[c.createVNode(c.unref(Ta))]),_:1},8,["class"])):c.createCommentVNode("",!0),m.value?(c.openBlock(),c.createBlock(He,{key:4,variant:"light",type:"button",class:c.normalizeClass(f.value),onClick:k[3]||(k[3]=$=>c.unref(s).chain().focus().toggleBulletList().run())},{default:c.withCtx(()=>[c.createVNode(c.unref(pa))]),_:1},8,["class"])):c.createCommentVNode("",!0),m.value?(c.openBlock(),c.createBlock(He,{key:5,variant:"light",type:"button",class:c.normalizeClass(h.value),onClick:k[4]||(k[4]=$=>c.unref(s).chain().focus().toggleOrderedList().run())},{default:c.withCtx(()=>[c.createVNode(c.unref(wa))]),_:1},8,["class"])):c.createCommentVNode("",!0),m.value?(c.openBlock(),c.createBlock(He,{key:6,variant:"light",type:"button",class:c.normalizeClass(p.value),onClick:y},{default:c.withCtx(()=>[c.createVNode(c.unref(di))]),_:1},8,["class"])):c.createCommentVNode("",!0)])],2),c.createVNode(mi,{text:t.errorText,state:t.state},null,8,["text","state"])],64))}}),pb={class:"header"},mb=c.createElementVNode("div",null,"Menu",-1),gb={class:"icon-close-wrapper"},vb={class:"navbar"},yb={class:"nav navbar-nav w-100"},Cb={class:"nav-item"},Eb={class:"nav-item"},xc=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"),i=()=>e("signout");return(s,l)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(["bd-mobile-menu",r.value])},[c.createElementVNode("div",pb,[mb,c.createElementVNode("div",gb,[c.createVNode(li,{onClick:o})])]),c.createElementVNode("nav",vb,[c.createElementVNode("ul",yb,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(t.options,a=>(c.openBlock(),c.createElementBlock("li",Cb,[c.createVNode(xr,c.mergeProps({class:"nav-link"},a,{onClick:o}),null,16)]))),256)),c.renderSlot(s.$slots,"special-options"),c.createElementVNode("li",Eb,[c.createVNode(xr,{class:"nav-link",text:"Uitloggen",onClick:i})])])])],2))}}),bb={class:"bd-user"},Ab={class:"bd-user__information"},wb={class:"text-break"},Sb={class:"overflow-x-hidden"},vp=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",bb,[e.hideImage?c.createCommentVNode("",!0):(c.openBlock(),c.createBlock(Co,c.mergeProps({key:0},e.img,{size:"sm"}),null,16)),c.createElementVNode("div",Ab,[c.createElementVNode("header",null,[c.createElementVNode("h5",wb,c.toDisplayString(e.name),1),c.renderSlot(r.$slots,"header-extra")]),c.createElementVNode("span",Sb,c.toDisplayString(t.value),1)])]))}}),kb={class:"bd-chat-cloud-card"},xb={class:"bd-chat-cloud-card__header"},Tb={class:"bd-chat-cloud-card__body"},Mb=["innerHTML"],Ib={class:"bd-chat-cloud-card__footer"},Ob={key:0,class:"pills-list__wrapper"},_b={class:"pills-list__ul"},yp=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":Ne),o=c.computed(()=>Qs(t.files,!1)),i=c.computed(()=>Qs(t.files,!0)),s=()=>{e("action","copy-message")},l=a=>{e("show-attachment",a)};return(a,d)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(["bd-chat-cloud",r.value])},[c.createVNode(Co,{src:t.src,username:t.username,size:"sm"},null,8,["src","username"]),c.createElementVNode("div",kb,[c.createElementVNode("div",xb,[c.renderSlot(a.$slots,"header",{},()=>[c.createTextVNode(c.toDisplayString(a.headerTitle),1)]),c.createVNode(He,{variant:"outline-primary-dark",size:"sm",onClick:s},{default:c.withCtx(()=>[c.createTextVNode(" kopieer ")]),_:1})]),c.createElementVNode("div",Tb,[c.renderSlot(a.$slots,"body",{},()=>[c.createElementVNode("div",{class:"bd-chat-cloud-card__message",innerHTML:t.message},null,8,Mb)])]),c.createElementVNode("div",Ib,[c.renderSlot(a.$slots,"footer",{},()=>[a.pills?(c.openBlock(),c.createElementBlock("div",Ob,[c.createElementVNode("ul",_b,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(a.pills,(u,f)=>(c.openBlock(),c.createElementBlock("li",{key:f,class:"pills-list__li"},[c.createVNode(vi,c.normalizeProps(c.guardReactiveProps(u)),null,16)]))),128))])])):c.createCommentVNode("",!0),o.value&&o.value.length>0?(c.openBlock(),c.createBlock(Ws,{key:1,files:o.value},null,8,["files"])):c.createCommentVNode("",!0),i.value&&i.value.length>0?(c.openBlock(),c.createBlock(Ks,{key:2,"fast-download":!0,files:i.value,onShow:l},null,8,["files"])):c.createCommentVNode("",!0)])])])],2))}}),Nb=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)},i=()=>{if(!t.active)return;const l=r.value?"sortDesc":"sortAsc";e(l)},s=c.computed(()=>({"bd-table-sort":!0,active:t.active}));return c.watch(()=>t.active,(l,a)=>{l&&!a&&(r.value=!1,e("sortAsc"))}),i(),(l,a)=>(c.openBlock(),c.createElementBlock("th",{class:c.normalizeClass(s.value),onClick:a[0]||(a[0]=d=>{o(),i()})},[c.createElementVNode("span",null,c.toDisplayString(t.label),1),t.active&&!r.value?(c.openBlock(),c.createBlock(c.unref(Sa),{key:0})):t.active&&r.value?(c.openBlock(),c.createBlock(c.unref(ka),{key:1})):(c.openBlock(),c.createBlock(c.unref(xa),{key:2}))],2))}}),Lb={class:"bd-table"},Db={key:0,class:"table"},Bb={key:1},Rb=["onClick"],Pb={key:0},Vb={key:1,class:"empty-text"},Cp=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),i=c.ref(r.sortBy),s=f=>i.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(),b=g.toString();return v.localeCompare(b,void 0,{numeric:!0})},a=f=>{o.value=o.value.sort((p,m)=>l(f,p,m)),t("sort-changed",{sortBy:f,sortDesc:!1})},d=f=>{o.value=o.value.sort((p,m)=>l(f,m,p)),t("sort-changed",{sortBy:f,sortDesc:!0})},u=()=>{o.value=r.items};return c.watch(()=>r.items,f=>{o.value=f}),e({Refresh:u}),(f,h)=>(c.openBlock(),c.createElementBlock("div",Lb,[r.items&&r.items.length>0?(c.openBlock(),c.createElementBlock("table",Db,[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(Nb,{key:0,label:p.label,active:p.key==i.value,sortDesc:r.sortDesc,onClick:m=>s(p.key),onSortAsc:m=>a(p.key),onSortDesc:m=>d(p.key)},null,8,["label","active","sortDesc","onClick","onSortAsc","onSortDesc"])):(c.openBlock(),c.createElementBlock("th",Bb,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",Pb,[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,Rb))),256))])])):(c.openBlock(),c.createElementBlock("p",Vb,c.toDisplayString(r.emptyText),1))]))}});/*!
|
|
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 zn=new Map,Sc={set(n,e,t){zn.has(n)||zn.set(n,new Map);const r=zn.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 zn.has(n)&&zn.get(n).get(e)||null},remove(n,e){if(!zn.has(n))return;const t=zn.get(n);t.delete(e),t.size===0&&zn.delete(n)}},_b=1e6,Nb=1e3,kc="transitionend",Cp=n=>(n&&window.CSS&&window.CSS.escape&&(n=n.replace(/#([^\s"#']+)/g,(e,t)=>`#${CSS.escape(t)}`)),n),Lb=n=>n==null?`${n}`:Object.prototype.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase(),Db=n=>{do n+=Math.floor(Math.random()*_b);while(document.getElementById(n));return n},Bb=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))*Nb)},Ep=n=>{n.dispatchEvent(new Event(kc))},yn=n=>!n||typeof n!="object"?!1:(typeof n.jquery<"u"&&(n=n[0]),typeof n.nodeType<"u"),Hn=n=>yn(n)?n.jquery?n[0]:n:typeof n=="string"&&n.length>0?document.querySelector(Cp(n)):null,oo=n=>{if(!yn(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},Un=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",bp=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?bp(n.parentNode):null},Qs=()=>{},Go=n=>{n.offsetHeight},Ap=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,xc=[],Rb=n=>{document.readyState==="loading"?(xc.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of xc)e()}),xc.push(n)):n()},Rt=()=>document.documentElement.dir==="rtl",Pt=n=>{Rb(()=>{const e=Ap();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,wp=(n,e,t=!0)=>{if(!t){bt(n);return}const r=5,o=Bb(e)+r;let i=!1;const s=({target:l})=>{l===e&&(i=!0,e.removeEventListener(kc,s),bt(n))};e.addEventListener(kc,s),setTimeout(()=>{i||Ep(e)},o)},Tc=(n,e,t,r)=>{const o=n.length;let i=n.indexOf(e);return i===-1?!t&&r?n[o-1]:n[0]:(i+=t?1:-1,r&&(i=(i+o)%o),n[Math.max(0,Math.min(i,o-1))])},Pb=/[^.]*(?=\..*)\.|.*/,Fb=/\..*/,Vb=/::\d+$/,Mc={};let Sp=1;const kp={mouseenter:"mouseover",mouseleave:"mouseout"},$b=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 xp(n,e){return e&&`${e}::${Sp++}`||n.uidEvent||Sp++}function Tp(n){const e=xp(n);return n.uidEvent=e,Mc[e]=Mc[e]||{},Mc[e]}function zb(n,e){return function t(r){return Oc(r,{delegateTarget:n}),t.oneOff&&se.off(n,r.type,e),e.apply(n,[r])}}function Hb(n,e,t){return function r(o){const i=n.querySelectorAll(e);for(let{target:s}=o;s&&s!==this;s=s.parentNode)for(const l of i)if(l===s)return Oc(o,{delegateTarget:s}),r.oneOff&&se.off(n,o.type,e,t),t.apply(s,[o])}}function Mp(n,e,t=null){return Object.values(n).find(r=>r.callable===e&&r.delegationSelector===t)}function Ip(n,e,t){const r=typeof e=="string",o=r?t:e||t;let i=_p(n);return $b.has(i)||(i=n),[r,o,i]}function Op(n,e,t,r,o){if(typeof e!="string"||!n)return;let[i,s,l]=Ip(e,t,r);e in kp&&(s=(m=>function(g){if(!g.relatedTarget||g.relatedTarget!==g.delegateTarget&&!g.delegateTarget.contains(g.relatedTarget))return m.call(this,g)})(s));const a=Tp(n),d=a[l]||(a[l]={}),u=Mp(d,s,i?t:null);if(u){u.oneOff=u.oneOff&&o;return}const f=xp(s,e.replace(Pb,"")),h=i?Hb(n,t,s):zb(n,s);h.delegationSelector=i?t:null,h.callable=s,h.oneOff=o,h.uidEvent=f,d[f]=h,n.addEventListener(l,h,i)}function Ic(n,e,t,r,o){const i=Mp(e[t],r,o);i&&(n.removeEventListener(t,i,!!o),delete e[t][i.uidEvent])}function Ub(n,e,t,r){const o=e[t]||{};for(const[i,s]of Object.entries(o))i.includes(r)&&Ic(n,e,t,s.callable,s.delegationSelector)}function _p(n){return n=n.replace(Fb,""),kp[n]||n}const se={on(n,e,t,r){Op(n,e,t,r,!1)},one(n,e,t,r){Op(n,e,t,r,!0)},off(n,e,t,r){if(typeof e!="string"||!n)return;const[o,i,s]=Ip(e,t,r),l=s!==e,a=Tp(n),d=a[s]||{},u=e.startsWith(".");if(typeof i<"u"){if(!Object.keys(d).length)return;Ic(n,a,s,i,o?t:null);return}if(u)for(const f of Object.keys(a))Ub(n,a,f,e.slice(1));for(const[f,h]of Object.entries(d)){const p=f.replace(Vb,"");(!l||e.includes(p))&&Ic(n,a,s,h.callable,h.delegationSelector)}},trigger(n,e,t){if(typeof e!="string"||!n)return null;const r=Ap(),o=_p(e),i=e!==o;let s=null,l=!0,a=!0,d=!1;i&&r&&(s=r.Event(e,t),r(n).trigger(s),l=!s.isPropagationStopped(),a=!s.isImmediatePropagationStopped(),d=s.isDefaultPrevented());const u=Oc(new Event(e,{bubbles:l,cancelable:!0}),t);return d&&u.preventDefault(),a&&n.dispatchEvent(u),u.defaultPrevented&&s&&s.preventDefault(),u}};function Oc(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 Np(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 _c(n){return n.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}const Cn={setDataAttribute(n,e,t){n.setAttribute(`data-bs-${_c(e)}`,t)},removeDataAttribute(n,e){n.removeAttribute(`data-bs-${_c(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]=Np(n.dataset[r])}return e},getDataAttribute(n,e){return Np(n.getAttribute(`data-bs-${_c(e)}`))}};class Xo{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=yn(t)?Cn.getDataAttribute(t,"config"):{};return{...this.constructor.Default,...typeof r=="object"?r:{},...yn(t)?Cn.getDataAttributes(t):{},...typeof e=="object"?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(const[r,o]of Object.entries(t)){const i=e[r],s=yn(i)?"element":Lb(i);if(!new RegExp(o).test(s))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${r}" provided type "${s}" but expected type "${o}".`)}}}const jb="5.3.0";class Jt extends Xo{constructor(e,t){super(),e=Hn(e),e&&(this._element=e,this._config=this._getConfig(t),Sc.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Sc.remove(this._element,this.constructor.DATA_KEY),se.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,r=!0){wp(e,t,r)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return Sc.get(Hn(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,typeof t=="object"?t:null)}static get VERSION(){return jb}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 Nc=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 Cp(e)},ke={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=>!Un(t)&&oo(t))},getSelectorFromElement(n){const e=Nc(n);return e&&ke.findOne(e)?e:null},getElementFromSelector(n){const e=Nc(n);return e?ke.findOne(e):null},getMultipleElementsFromSelector(n){const e=Nc(n);return e?ke.find(e):[]}},Ys=(n,e="hide")=>{const t=`click.dismiss${n.EVENT_KEY}`,r=n.NAME;se.on(document,t,`[data-bs-dismiss="${r}"]`,function(o){if(["A","AREA"].includes(this.tagName)&&o.preventDefault(),Un(this))return;const i=ke.getElementFromSelector(this)||this.closest(`.${r}`);n.getOrCreateInstance(i)[e]()})},Wb="alert",Lp=".bs.alert",Kb=`close${Lp}`,Qb=`closed${Lp}`,Yb="fade",Jb="show";class Js extends Jt{static get NAME(){return Wb}close(){if(se.trigger(this._element,Kb).defaultPrevented)return;this._element.classList.remove(Jb);const t=this._element.classList.contains(Yb);this._queueCallback(()=>this._destroyElement(),this._element,t)}_destroyElement(){this._element.remove(),se.trigger(this._element,Qb),this.dispose()}static jQueryInterface(e){return this.each(function(){const t=Js.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)}})}}Ys(Js,"close"),Pt(Js);const Zb="button",Gb=".bs.button",Xb=".data-api",qb="active",Dp='[data-bs-toggle="button"]',eA=`click${Gb}${Xb}`;class Zs extends Jt{static get NAME(){return Zb}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(qb))}static jQueryInterface(e){return this.each(function(){const t=Zs.getOrCreateInstance(this);e==="toggle"&&t[e]()})}}se.on(document,eA,Dp,n=>{n.preventDefault();const e=n.target.closest(Dp);Zs.getOrCreateInstance(e).toggle()}),Pt(Zs);const tA="swipe",io=".bs.swipe",nA=`touchstart${io}`,rA=`touchmove${io}`,oA=`touchend${io}`,iA=`pointerdown${io}`,sA=`pointerup${io}`,aA="touch",lA="pen",cA="pointer-event",dA=40,uA={endCallback:null,leftCallback:null,rightCallback:null},fA={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Gs extends Xo{constructor(e,t){super(),this._element=e,!(!e||!Gs.isSupported())&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return uA}static get DefaultType(){return fA}static get NAME(){return tA}dispose(){se.off(this._element,io)}_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<=dA)return;const t=e/this._deltaX;this._deltaX=0,t&&bt(t>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(se.on(this._element,iA,e=>this._start(e)),se.on(this._element,sA,e=>this._end(e)),this._element.classList.add(cA)):(se.on(this._element,nA,e=>this._start(e)),se.on(this._element,rA,e=>this._move(e)),se.on(this._element,oA,e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&(e.pointerType===lA||e.pointerType===aA)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const hA="carousel",jn=".bs.carousel",Bp=".data-api",pA="ArrowLeft",mA="ArrowRight",gA=500,qo="next",so="prev",ao="left",Xs="right",vA=`slide${jn}`,Lc=`slid${jn}`,yA=`keydown${jn}`,CA=`mouseenter${jn}`,EA=`mouseleave${jn}`,bA=`dragstart${jn}`,AA=`load${jn}${Bp}`,wA=`click${jn}${Bp}`,Rp="carousel",qs="active",SA="slide",kA="carousel-item-end",xA="carousel-item-start",TA="carousel-item-next",MA="carousel-item-prev",Pp=".active",Fp=".carousel-item",IA=Pp+Fp,OA=".carousel-item img",_A=".carousel-indicators",NA="[data-bs-slide], [data-bs-slide-to]",LA='[data-bs-ride="carousel"]',DA={[pA]:Xs,[mA]:ao},BA={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},RA={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class ei extends Jt{constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=ke.findOne(_A,this._element),this._addEventListeners(),this._config.ride===Rp&&this.cycle()}static get Default(){return BA}static get DefaultType(){return RA}static get NAME(){return hA}next(){this._slide(qo)}nextWhenVisible(){!document.hidden&&oo(this._element)&&this.next()}prev(){this._slide(so)}pause(){this._isSliding&&Ep(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){se.one(this._element,Lc,()=>this.cycle());return}this.cycle()}}to(e){const t=this._getItems();if(e>t.length-1||e<0)return;if(this._isSliding){se.one(this._element,Lc,()=>this.to(e));return}const r=this._getItemIndex(this._getActive());if(r===e)return;const o=e>r?qo:so;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&&se.on(this._element,yA,e=>this._keydown(e)),this._config.pause==="hover"&&(se.on(this._element,CA,()=>this.pause()),se.on(this._element,EA,()=>this._maybeEnableCycle())),this._config.touch&&Gs.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const r of ke.find(OA,this._element))se.on(r,bA,o=>o.preventDefault());const t={leftCallback:()=>this._slide(this._directionToOrder(ao)),rightCallback:()=>this._slide(this._directionToOrder(Xs)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),gA+this._config.interval))}};this._swipeHelper=new Gs(this._element,t)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=DA[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=ke.findOne(Pp,this._indicatorsElement);t.classList.remove(qs),t.removeAttribute("aria-current");const r=ke.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);r&&(r.classList.add(qs),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===qo,i=t||Tc(this._getItems(),r,o,this._config.wrap);if(i===r)return;const s=this._getItemIndex(i),l=p=>se.trigger(this._element,p,{relatedTarget:i,direction:this._orderToDirection(e),from:this._getItemIndex(r),to:s});if(l(vA).defaultPrevented||!r||!i)return;const d=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(s),this._activeElement=i;const u=o?xA:kA,f=o?TA:MA;i.classList.add(f),Go(i),r.classList.add(u),i.classList.add(u);const h=()=>{i.classList.remove(u,f),i.classList.add(qs),r.classList.remove(qs,f,u),this._isSliding=!1,l(Lc)};this._queueCallback(h,r,this._isAnimated()),d&&this.cycle()}_isAnimated(){return this._element.classList.contains(SA)}_getActive(){return ke.findOne(IA,this._element)}_getItems(){return ke.find(Fp,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return Rt()?e===ao?so:qo:e===ao?qo:so}_orderToDirection(e){return Rt()?e===so?ao:Xs:e===so?Xs:ao}static jQueryInterface(e){return this.each(function(){const t=ei.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]()}})}}se.on(document,wA,NA,function(n){const e=ke.getElementFromSelector(this);if(!e||!e.classList.contains(Rp))return;n.preventDefault();const t=ei.getOrCreateInstance(e),r=this.getAttribute("data-bs-slide-to");if(r){t.to(r),t._maybeEnableCycle();return}if(Cn.getDataAttribute(this,"slide")==="next"){t.next(),t._maybeEnableCycle();return}t.prev(),t._maybeEnableCycle()}),se.on(window,AA,()=>{const n=ke.find(LA);for(const e of n)ei.getOrCreateInstance(e)}),Pt(ei);const PA="collapse",ti=".bs.collapse",FA=".data-api",VA=`show${ti}`,$A=`shown${ti}`,zA=`hide${ti}`,HA=`hidden${ti}`,UA=`click${ti}${FA}`,Dc="show",lo="collapse",ea="collapsing",jA="collapsed",WA=`:scope .${lo} .${lo}`,KA="collapse-horizontal",QA="width",YA="height",JA=".collapse.show, .collapse.collapsing",Bc='[data-bs-toggle="collapse"]',ZA={parent:null,toggle:!0},GA={parent:"(null|element)",toggle:"boolean"};class ni extends Jt{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const r=ke.find(Bc);for(const o of r){const i=ke.getSelectorFromElement(o),s=ke.find(i).filter(l=>l===this._element);i!==null&&s.length&&this._triggerArray.push(o)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return ZA}static get DefaultType(){return GA}static get NAME(){return PA}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(JA).filter(l=>l!==this._element).map(l=>ni.getOrCreateInstance(l,{toggle:!1}))),e.length&&e[0]._isTransitioning||se.trigger(this._element,VA).defaultPrevented)return;for(const l of e)l.hide();const r=this._getDimension();this._element.classList.remove(lo),this._element.classList.add(ea),this._element.style[r]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const o=()=>{this._isTransitioning=!1,this._element.classList.remove(ea),this._element.classList.add(lo,Dc),this._element.style[r]="",se.trigger(this._element,$A)},s=`scroll${r[0].toUpperCase()+r.slice(1)}`;this._queueCallback(o,this._element,!0),this._element.style[r]=`${this._element[s]}px`}hide(){if(this._isTransitioning||!this._isShown()||se.trigger(this._element,zA).defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,Go(this._element),this._element.classList.add(ea),this._element.classList.remove(lo,Dc);for(const o of this._triggerArray){const i=ke.getElementFromSelector(o);i&&!this._isShown(i)&&this._addAriaAndCollapsedClass([o],!1)}this._isTransitioning=!0;const r=()=>{this._isTransitioning=!1,this._element.classList.remove(ea),this._element.classList.add(lo),se.trigger(this._element,HA)};this._element.style[t]="",this._queueCallback(r,this._element,!0)}_isShown(e=this._element){return e.classList.contains(Dc)}_configAfterMerge(e){return e.toggle=!!e.toggle,e.parent=Hn(e.parent),e}_getDimension(){return this._element.classList.contains(KA)?QA:YA}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(Bc);for(const t of e){const r=ke.getElementFromSelector(t);r&&this._addAriaAndCollapsedClass([t],this._isShown(r))}}_getFirstLevelChildren(e){const t=ke.find(WA,this._config.parent);return ke.find(e,this._config.parent).filter(r=>!t.includes(r))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const r of e)r.classList.toggle(jA,!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=ni.getOrCreateInstance(this,t);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e]()}})}}se.on(document,UA,Bc,function(n){(n.target.tagName==="A"||n.delegateTarget&&n.delegateTarget.tagName==="A")&&n.preventDefault();for(const e of ke.getMultipleElementsFromSelector(this))ni.getOrCreateInstance(e,{toggle:!1}).toggle()}),Pt(ni);const Vp="dropdown",Er=".bs.dropdown",Rc=".data-api",XA="Escape",$p="Tab",qA="ArrowUp",zp="ArrowDown",ew=2,tw=`hide${Er}`,nw=`hidden${Er}`,rw=`show${Er}`,ow=`shown${Er}`,Hp=`click${Er}${Rc}`,Up=`keydown${Er}${Rc}`,iw=`keyup${Er}${Rc}`,co="show",sw="dropup",aw="dropend",lw="dropstart",cw="dropup-center",dw="dropdown-center",br='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',uw=`${br}.${co}`,ta=".dropdown-menu",fw=".navbar",hw=".navbar-nav",pw=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",mw=Rt()?"top-end":"top-start",gw=Rt()?"top-start":"top-end",vw=Rt()?"bottom-end":"bottom-start",yw=Rt()?"bottom-start":"bottom-end",Cw=Rt()?"left-start":"right-start",Ew=Rt()?"right-start":"left-start",bw="top",Aw="bottom",ww={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Sw={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class ln extends Jt{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=ke.next(this._element,ta)[0]||ke.prev(this._element,ta)[0]||ke.findOne(ta,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return ww}static get DefaultType(){return Sw}static get NAME(){return Vp}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Un(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!se.trigger(this._element,rw,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(hw))for(const r of[].concat(...document.body.children))se.on(r,"mouseover",Qs);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(co),this._element.classList.add(co),se.trigger(this._element,ow,e)}}hide(){if(Un(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(!se.trigger(this._element,tw,e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const r of[].concat(...document.body.children))se.off(r,"mouseover",Qs);this._popper&&this._popper.destroy(),this._menu.classList.remove(co),this._element.classList.remove(co),this._element.setAttribute("aria-expanded","false"),Cn.removeDataAttribute(this._menu,"popper"),se.trigger(this._element,nw,e)}}_getConfig(e){if(e=super._getConfig(e),typeof e.reference=="object"&&!yn(e.reference)&&typeof e.reference.getBoundingClientRect!="function")throw new TypeError(`${Vp.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(typeof k1>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;this._config.reference==="parent"?e=this._parent:yn(this._config.reference)?e=Hn(this._config.reference):typeof this._config.reference=="object"&&(e=this._config.reference);const t=this._getPopperConfig();this._popper=is(e,this._menu,t)}_isShown(){return this._menu.classList.contains(co)}_getPlacement(){const e=this._parent;if(e.classList.contains(aw))return Cw;if(e.classList.contains(lw))return Ew;if(e.classList.contains(cw))return bw;if(e.classList.contains(dw))return Aw;const t=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return e.classList.contains(sw)?t?gw:mw:t?yw:vw}_detectNavbar(){return this._element.closest(fw)!==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")&&(Cn.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...bt(this._config.popperConfig,[e])}}_selectMenuItem({key:e,target:t}){const r=ke.find(pw,this._menu).filter(o=>oo(o));r.length&&Tc(r,t,e===zp,!r.includes(t)).focus()}static jQueryInterface(e){return this.each(function(){const t=ln.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===ew||e.type==="keyup"&&e.key!==$p)return;const t=ke.find(uw);for(const r of t){const o=ln.getInstance(r);if(!o||o._config.autoClose===!1)continue;const i=e.composedPath(),s=i.includes(o._menu);if(i.includes(o._element)||o._config.autoClose==="inside"&&!s||o._config.autoClose==="outside"&&s||o._menu.contains(e.target)&&(e.type==="keyup"&&e.key===$p||/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===XA,o=[qA,zp].includes(e.key);if(!o&&!r||t&&!r)return;e.preventDefault();const i=this.matches(br)?this:ke.prev(this,br)[0]||ke.next(this,br)[0]||ke.findOne(br,e.delegateTarget.parentNode),s=ln.getOrCreateInstance(i);if(o){e.stopPropagation(),s.show(),s._selectMenuItem(e);return}s._isShown()&&(e.stopPropagation(),s.hide(),i.focus())}}se.on(document,Up,br,ln.dataApiKeydownHandler),se.on(document,Up,ta,ln.dataApiKeydownHandler),se.on(document,Hp,ln.clearMenus),se.on(document,iw,ln.clearMenus),se.on(document,Hp,br,function(n){n.preventDefault(),ln.getOrCreateInstance(this).toggle()}),Pt(ln);const jp="backdrop",kw="fade",Wp="show",Kp=`mousedown.bs.${jp}`,xw={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Tw={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Qp extends Xo{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return xw}static get DefaultType(){return Tw}static get NAME(){return jp}show(e){if(!this._config.isVisible){bt(e);return}this._append();const t=this._getElement();this._config.isAnimated&&Go(t),t.classList.add(Wp),this._emulateAnimation(()=>{bt(e)})}hide(e){if(!this._config.isVisible){bt(e);return}this._getElement().classList.remove(Wp),this._emulateAnimation(()=>{this.dispose(),bt(e)})}dispose(){this._isAppended&&(se.off(this._element,Kp),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(kw),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=Hn(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),se.on(e,Kp,()=>{bt(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){wp(e,this._getElement(),this._config.isAnimated)}}const Mw="focustrap",na=".bs.focustrap",Iw=`focusin${na}`,Ow=`keydown.tab${na}`,_w="Tab",Nw="forward",Yp="backward",Lw={autofocus:!0,trapElement:null},Dw={autofocus:"boolean",trapElement:"element"};class Jp extends Xo{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return Lw}static get DefaultType(){return Dw}static get NAME(){return Mw}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),se.off(document,na),se.on(document,Iw,e=>this._handleFocusin(e)),se.on(document,Ow,e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,se.off(document,na))}_handleFocusin(e){const{trapElement:t}=this._config;if(e.target===document||e.target===t||t.contains(e.target))return;const r=ke.focusableChildren(t);r.length===0?t.focus():this._lastTabNavDirection===Yp?r[r.length-1].focus():r[0].focus()}_handleKeydown(e){e.key===_w&&(this._lastTabNavDirection=e.shiftKey?Yp:Nw)}}const Zp=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Gp=".sticky-top",ra="padding-right",Xp="margin-right";class Pc{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,ra,t=>t+e),this._setElementAttributes(Zp,ra,t=>t+e),this._setElementAttributes(Gp,Xp,t=>t-e)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,ra),this._resetElementAttributes(Zp,ra),this._resetElementAttributes(Gp,Xp)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,r){const o=this.getWidth(),i=s=>{if(s!==this._element&&window.innerWidth>s.clientWidth+o)return;this._saveInitialAttribute(s,t);const l=window.getComputedStyle(s).getPropertyValue(t);s.style.setProperty(t,`${r(Number.parseFloat(l))}px`)};this._applyManipulationCallback(e,i)}_saveInitialAttribute(e,t){const r=e.style.getPropertyValue(t);r&&Cn.setDataAttribute(e,t,r)}_resetElementAttributes(e,t){const r=o=>{const i=Cn.getDataAttribute(o,t);if(i===null){o.style.removeProperty(t);return}Cn.removeDataAttribute(o,t),o.style.setProperty(t,i)};this._applyManipulationCallback(e,r)}_applyManipulationCallback(e,t){if(yn(e)){t(e);return}for(const r of ke.find(e,this._element))t(r)}}const Bw="modal",Ft=".bs.modal",Rw=".data-api",Pw="Escape",Fw=`hide${Ft}`,Vw=`hidePrevented${Ft}`,qp=`hidden${Ft}`,e0=`show${Ft}`,$w=`shown${Ft}`,zw=`resize${Ft}`,Hw=`click.dismiss${Ft}`,Uw=`mousedown.dismiss${Ft}`,jw=`keydown.dismiss${Ft}`,Ww=`click${Ft}${Rw}`,t0="modal-open",Kw="fade",n0="show",Fc="modal-static",Qw=".modal.show",Yw=".modal-dialog",Jw=".modal-body",Zw='[data-bs-toggle="modal"]',Gw={backdrop:!0,focus:!0,keyboard:!0},Xw={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Wn extends Jt{constructor(e,t){super(e,t),this._dialog=ke.findOne(Yw,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Pc,this._addEventListeners()}static get Default(){return Gw}static get DefaultType(){return Xw}static get NAME(){return Bw}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||se.trigger(this._element,e0,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(t0),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){!this._isShown||this._isTransitioning||se.trigger(this._element,Fw).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(n0),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){se.off(window,Ft),se.off(this._dialog,Ft),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Qp({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Jp({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=ke.findOne(Jw,this._dialog);t&&(t.scrollTop=0),Go(this._element),this._element.classList.add(n0);const r=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,se.trigger(this._element,$w,{relatedTarget:e})};this._queueCallback(r,this._dialog,this._isAnimated())}_addEventListeners(){se.on(this._element,jw,e=>{if(e.key===Pw){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),se.on(window,zw,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),se.on(this._element,Uw,e=>{se.one(this._element,Hw,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(t0),this._resetAdjustments(),this._scrollBar.reset(),se.trigger(this._element,qp)})}_isAnimated(){return this._element.classList.contains(Kw)}_triggerBackdropTransition(){if(se.trigger(this._element,Vw).defaultPrevented)return;const t=this._element.scrollHeight>document.documentElement.clientHeight,r=this._element.style.overflowY;r==="hidden"||this._element.classList.contains(Fc)||(t||(this._element.style.overflowY="hidden"),this._element.classList.add(Fc),this._queueCallback(()=>{this._element.classList.remove(Fc),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=Rt()?"paddingLeft":"paddingRight";this._element.style[o]=`${t}px`}if(!r&&e){const o=Rt()?"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=Wn.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e](t)}})}}se.on(document,Ww,Zw,function(n){const e=ke.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&n.preventDefault(),se.one(e,e0,o=>{o.defaultPrevented||se.one(e,qp,()=>{oo(this)&&this.focus()})});const t=ke.findOne(Qw);t&&Wn.getInstance(t).hide(),Wn.getOrCreateInstance(e).toggle(this)}),Ys(Wn),Pt(Wn);const qw="offcanvas",En=".bs.offcanvas",r0=".data-api",eS=`load${En}${r0}`,tS="Escape",o0="show",i0="showing",s0="hiding",nS="offcanvas-backdrop",a0=".offcanvas.show",rS=`show${En}`,oS=`shown${En}`,iS=`hide${En}`,l0=`hidePrevented${En}`,c0=`hidden${En}`,sS=`resize${En}`,aS=`click${En}${r0}`,lS=`keydown.dismiss${En}`,cS='[data-bs-toggle="offcanvas"]',dS={backdrop:!0,keyboard:!0,scroll:!1},uS={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Kn extends Jt{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return dS}static get DefaultType(){return uS}static get NAME(){return qw}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown||se.trigger(this._element,rS,{relatedTarget:e}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new Pc().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(i0);const r=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(o0),this._element.classList.remove(i0),se.trigger(this._element,oS,{relatedTarget:e})};this._queueCallback(r,this._element,!0)}hide(){if(!this._isShown||se.trigger(this._element,iS).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(s0),this._backdrop.hide();const t=()=>{this._element.classList.remove(o0,s0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new Pc().reset(),se.trigger(this._element,c0)};this._queueCallback(t,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=()=>{if(this._config.backdrop==="static"){se.trigger(this._element,l0);return}this.hide()},t=!!this._config.backdrop;return new Qp({className:nS,isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?e:null})}_initializeFocusTrap(){return new Jp({trapElement:this._element})}_addEventListeners(){se.on(this._element,lS,e=>{if(e.key===tS){if(this._config.keyboard){this.hide();return}se.trigger(this._element,l0)}})}static jQueryInterface(e){return this.each(function(){const t=Kn.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)}})}}se.on(document,aS,cS,function(n){const e=ke.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),Un(this))return;se.one(e,c0,()=>{oo(this)&&this.focus()});const t=ke.findOne(a0);t&&t!==e&&Kn.getInstance(t).hide(),Kn.getOrCreateInstance(e).toggle(this)}),se.on(window,eS,()=>{for(const n of ke.find(a0))Kn.getOrCreateInstance(n).show()}),se.on(window,sS,()=>{for(const n of ke.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(n).position!=="fixed"&&Kn.getOrCreateInstance(n).hide()}),Ys(Kn),Pt(Kn);const d0={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],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:[]},fS=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),hS=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,pS=(n,e)=>{const t=n.nodeName.toLowerCase();return e.includes(t)?fS.has(t)?!!hS.test(n.nodeValue):!0:e.filter(r=>r instanceof RegExp).some(r=>r.test(t))};function mS(n,e,t){if(!n.length)return n;if(t&&typeof t=="function")return t(n);const o=new window.DOMParser().parseFromString(n,"text/html"),i=[].concat(...o.body.querySelectorAll("*"));for(const s of i){const l=s.nodeName.toLowerCase();if(!Object.keys(e).includes(l)){s.remove();continue}const a=[].concat(...s.attributes),d=[].concat(e["*"]||[],e[l]||[]);for(const u of a)pS(u,d)||s.removeAttribute(u.nodeName)}return o.body.innerHTML}const gS="TemplateFactory",vS={allowList:d0,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},yS={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},CS={entry:"(string|element|function|null)",selector:"(string|element)"};class ES extends Xo{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return vS}static get DefaultType(){return yS}static get NAME(){return gS}getContent(){return Object.values(this._config.content).map(e=>this._resolvePossibleFunction(e)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){const e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(const[o,i]of Object.entries(this._config.content))this._setContent(e,i,o);const t=e.children[0],r=this._resolvePossibleFunction(this._config.extraClass);return r&&t.classList.add(...r.split(" ")),t}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[t,r]of Object.entries(e))super._typeCheckConfig({selector:t,entry:r},CS)}_setContent(e,t,r){const o=ke.findOne(r,e);if(o){if(t=this._resolvePossibleFunction(t),!t){o.remove();return}if(yn(t)){this._putElementInTemplate(Hn(t),o);return}if(this._config.html){o.innerHTML=this._maybeSanitize(t);return}o.textContent=t}}_maybeSanitize(e){return this._config.sanitize?mS(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 bS="tooltip",AS=new Set(["sanitize","allowList","sanitizeFn"]),Vc="fade",wS="modal",oa="show",SS=".tooltip-inner",u0=`.${wS}`,f0="hide.bs.modal",ri="hover",$c="focus",kS="click",xS="manual",TS="hide",MS="hidden",IS="show",OS="shown",_S="inserted",NS="click",LS="focusin",DS="focusout",BS="mouseenter",RS="mouseleave",PS={AUTO:"auto",TOP:"top",RIGHT:Rt()?"left":"right",BOTTOM:"bottom",LEFT:Rt()?"right":"left"},FS={allowList:d0,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"},VS={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 Ar extends Jt{constructor(e,t){if(typeof k1>"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 FS}static get DefaultType(){return VS}static get NAME(){return bS}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),se.off(this._element.closest(u0),f0,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=se.trigger(this._element,this.constructor.eventName(IS)),r=(bp(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!r)return;this._disposePopper();const o=this._getTipElement();this._element.setAttribute("aria-describedby",o.getAttribute("id"));const{container:i}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(i.append(o),se.trigger(this._element,this.constructor.eventName(_S))),this._popper=this._createPopper(o),o.classList.add(oa),"ontouchstart"in document.documentElement)for(const l of[].concat(...document.body.children))se.on(l,"mouseover",Qs);const s=()=>{se.trigger(this._element,this.constructor.eventName(OS)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(s,this.tip,this._isAnimated())}hide(){if(!this._isShown()||se.trigger(this._element,this.constructor.eventName(TS)).defaultPrevented)return;if(this._getTipElement().classList.remove(oa),"ontouchstart"in document.documentElement)for(const o of[].concat(...document.body.children))se.off(o,"mouseover",Qs);this._activeTrigger[kS]=!1,this._activeTrigger[$c]=!1,this._activeTrigger[ri]=!1,this._isHovered=null;const r=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),se.trigger(this._element,this.constructor.eventName(MS)))};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(Vc,oa),t.classList.add(`bs-${this.constructor.NAME}-auto`);const r=Db(this.constructor.NAME).toString();return t.setAttribute("id",r),this._isAnimated()&&t.classList.add(Vc),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new ES({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[SS]: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(Vc)}_isShown(){return this.tip&&this.tip.classList.contains(oa)}_createPopper(e){const t=bt(this._config.placement,[this,e,this._element]),r=PS[t.toUpperCase()];return is(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")se.on(this._element,this.constructor.eventName(NS),this._config.selector,r=>{this._initializeOnDelegatedTarget(r).toggle()});else if(t!==xS){const r=t===ri?this.constructor.eventName(BS):this.constructor.eventName(LS),o=t===ri?this.constructor.eventName(RS):this.constructor.eventName(DS);se.on(this._element,r,this._config.selector,i=>{const s=this._initializeOnDelegatedTarget(i);s._activeTrigger[i.type==="focusin"?$c:ri]=!0,s._enter()}),se.on(this._element,o,this._config.selector,i=>{const s=this._initializeOnDelegatedTarget(i);s._activeTrigger[i.type==="focusout"?$c:ri]=s._element.contains(i.relatedTarget),s._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},se.on(this._element.closest(u0),f0,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=Cn.getDataAttributes(this._element);for(const r of Object.keys(t))AS.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:Hn(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=Ar.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e]()}})}}Pt(Ar);const $S="popover",zS=".popover-header",HS=".popover-body",US={...Ar.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"},jS={...Ar.DefaultType,content:"(null|string|element|function)"};class uo extends Ar{static get Default(){return US}static get DefaultType(){return jS}static get NAME(){return $S}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[zS]:this._getTitle(),[HS]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each(function(){const t=uo.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e]()}})}}Pt(uo);const WS="scrollspy",zc=".bs.scrollspy",KS=".data-api",QS=`activate${zc}`,h0=`click${zc}`,YS=`load${zc}${KS}`,JS="dropdown-item",fo="active",ZS='[data-bs-spy="scroll"]',Hc="[href]",GS=".nav, .list-group",p0=".nav-link",XS=`${p0}, .nav-item > ${p0}, .list-group-item`,qS=".dropdown",ek=".dropdown-toggle",tk={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},nk={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class ia extends Jt{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 tk}static get DefaultType(){return nk}static get NAME(){return WS}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=Hn(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&&(se.off(this._config.target,h0),se.on(this._config.target,h0,Hc,e=>{const t=this._observableSections.get(e.target.hash);if(t){e.preventDefault();const r=this._rootElement||window,o=t.offsetTop-this._element.offsetTop;if(r.scrollTo){r.scrollTo({top:o,behavior:"smooth"});return}r.scrollTop=o}}))}_getNewObserver(){const e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(t=>this._observerCallback(t),e)}_observerCallback(e){const t=s=>this._targetLinks.get(`#${s.target.id}`),r=s=>{this._previousScrollData.visibleEntryTop=s.target.offsetTop,this._process(t(s))},o=(this._rootElement||document.documentElement).scrollTop,i=o>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=o;for(const s of e){if(!s.isIntersecting){this._activeTarget=null,this._clearActiveClass(t(s));continue}const l=s.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(i&&l){if(r(s),!o)return;continue}!i&&!l&&r(s)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=ke.find(Hc,this._config.target);for(const t of e){if(!t.hash||Un(t))continue;const r=ke.findOne(decodeURI(t.hash),this._element);oo(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(fo),this._activateParents(e),se.trigger(this._element,QS,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains(JS)){ke.findOne(ek,e.closest(qS)).classList.add(fo);return}for(const t of ke.parents(e,GS))for(const r of ke.prev(t,XS))r.classList.add(fo)}_clearActiveClass(e){e.classList.remove(fo);const t=ke.find(`${Hc}.${fo}`,e);for(const r of t)r.classList.remove(fo)}static jQueryInterface(e){return this.each(function(){const t=ia.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]()}})}}se.on(window,YS,()=>{for(const n of ke.find(ZS))ia.getOrCreateInstance(n)}),Pt(ia);const rk="tab",wr=".bs.tab",ok=`hide${wr}`,ik=`hidden${wr}`,sk=`show${wr}`,ak=`shown${wr}`,lk=`click${wr}`,ck=`keydown${wr}`,dk=`load${wr}`,uk="ArrowLeft",m0="ArrowRight",fk="ArrowUp",g0="ArrowDown",Sr="active",v0="fade",Uc="show",hk="dropdown",pk=".dropdown-toggle",mk=".dropdown-menu",jc=":not(.dropdown-toggle)",gk='.list-group, .nav, [role="tablist"]',vk=".nav-item, .list-group-item",yk=`.nav-link${jc}, .list-group-item${jc}, [role="tab"]${jc}`,y0='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Wc=`${yk}, ${y0}`,Ck=`.${Sr}[data-bs-toggle="tab"], .${Sr}[data-bs-toggle="pill"], .${Sr}[data-bs-toggle="list"]`;class ho extends Jt{constructor(e){super(e),this._parent=this._element.closest(gk),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),se.on(this._element,ck,t=>this._keydown(t)))}static get NAME(){return rk}show(){const e=this._element;if(this._elemIsActive(e))return;const t=this._getActiveElem(),r=t?se.trigger(t,ok,{relatedTarget:e}):null;se.trigger(e,sk,{relatedTarget:t}).defaultPrevented||r&&r.defaultPrevented||(this._deactivate(t,e),this._activate(e,t))}_activate(e,t){if(!e)return;e.classList.add(Sr),this._activate(ke.getElementFromSelector(e));const r=()=>{if(e.getAttribute("role")!=="tab"){e.classList.add(Uc);return}e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),se.trigger(e,ak,{relatedTarget:t})};this._queueCallback(r,e,e.classList.contains(v0))}_deactivate(e,t){if(!e)return;e.classList.remove(Sr),e.blur(),this._deactivate(ke.getElementFromSelector(e));const r=()=>{if(e.getAttribute("role")!=="tab"){e.classList.remove(Uc);return}e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),se.trigger(e,ik,{relatedTarget:t})};this._queueCallback(r,e,e.classList.contains(v0))}_keydown(e){if(![uk,m0,fk,g0].includes(e.key))return;e.stopPropagation(),e.preventDefault();const t=[m0,g0].includes(e.key),r=Tc(this._getChildren().filter(o=>!Un(o)),e.target,t,!0);r&&(r.focus({preventScroll:!0}),ho.getOrCreateInstance(r).show())}_getChildren(){return ke.find(Wc,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=ke.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(hk))return;const o=(i,s)=>{const l=ke.findOne(i,r);l&&l.classList.toggle(s,t)};o(pk,Sr),o(mk,Uc),r.setAttribute("aria-expanded",t)}_setAttributeIfNotExists(e,t,r){e.hasAttribute(t)||e.setAttribute(t,r)}_elemIsActive(e){return e.classList.contains(Sr)}_getInnerElement(e){return e.matches(Wc)?e:ke.findOne(Wc,e)}_getOuterElement(e){return e.closest(vk)||e}static jQueryInterface(e){return this.each(function(){const t=ho.getOrCreateInstance(this);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()}})}}se.on(document,lk,y0,function(n){["A","AREA"].includes(this.tagName)&&n.preventDefault(),!Un(this)&&ho.getOrCreateInstance(this).show()}),se.on(window,dk,()=>{for(const n of ke.find(Ck))ho.getOrCreateInstance(n)}),Pt(ho);const Ek="toast",Qn=".bs.toast",bk=`mouseover${Qn}`,Ak=`mouseout${Qn}`,wk=`focusin${Qn}`,Sk=`focusout${Qn}`,kk=`hide${Qn}`,xk=`hidden${Qn}`,Tk=`show${Qn}`,Mk=`shown${Qn}`,Ik="fade",C0="hide",sa="show",aa="showing",Ok={animation:"boolean",autohide:"boolean",delay:"number"},_k={animation:!0,autohide:!0,delay:5e3};class oi extends Jt{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return _k}static get DefaultType(){return Ok}static get NAME(){return Ek}show(){if(se.trigger(this._element,Tk).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(Ik);const t=()=>{this._element.classList.remove(aa),se.trigger(this._element,Mk),this._maybeScheduleHide()};this._element.classList.remove(C0),Go(this._element),this._element.classList.add(sa,aa),this._queueCallback(t,this._element,this._config.animation)}hide(){if(!this.isShown()||se.trigger(this._element,kk).defaultPrevented)return;const t=()=>{this._element.classList.add(C0),this._element.classList.remove(aa,sa),se.trigger(this._element,xk)};this._element.classList.add(aa),this._queueCallback(t,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(sa),super.dispose()}isShown(){return this._element.classList.contains(sa)}_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(){se.on(this._element,bk,e=>this._onInteraction(e,!0)),se.on(this._element,Ak,e=>this._onInteraction(e,!1)),se.on(this._element,wk,e=>this._onInteraction(e,!0)),se.on(this._element,Sk,e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const t=oi.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e](this)}})}}Ys(oi),Pt(oi);function la(n=void 0){const e=l=>i("Succesvol",l,Ir.SUCCESS),t=l=>i("Waarschuwing",l,Ir.WARNING),r=l=>i("Informatie",l,Ir.INFO),o=l=>i("Mislukt",l,Ir.DANGER);function i(l,a,d){const u=`toast-${ou()}`,f={id:u,variant:d,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(Oa,f),g=c.createApp({render:()=>p}).mount(document.createElement("div"));h.appendChild(g.$el);const v=document.querySelector(`#${u}`);v&&(oi.getOrCreateInstance(v,n).show(),s(v))}function s(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 d=new MutationObserver(a),u={attributes:!0};d.observe(l,u)}return{showSuccessToast:e,showInformationToast:r,showWarningToast:t,showDangerToast:o}}const Nk=n=>Array.isArray(n)&&n.length>0,{showDangerToast:Lk}=la();function Kc(n){const e=c.ref(null),t=(a,d="serverErrors")=>{var f;let u=[];if(Array.isArray((f=a==null?void 0:a.response)==null?void 0:f.data)?u=a.response.data.filter(h=>mi(h.ErrorMessage)&&h.ErrorMessage!==Pe):a.response.data.ErrorMessage?u=[a.response.data.ErrorMessage]:u=null,mi(d))e.value=u;else if(Array.isArray(d)){let h=e.value;for(let p=0;p<d.length;p++)p===d.length-1?h[d[p]]=u:h=h[d[p]]}r(a),s(e)},r=a=>{if(n==null)return;const u=new URL(a.request.responseURL).pathname;if(u in n.error){const f=n.error[u];f&&Lk(f)}},o=c.ref(null),i=c.ref(""),s=a=>{Nk(a.value)?o.value=a.value.map(d=>mi(d)?d:d.ErrorMessage):mi(a.value)&&(i.value=a.value)};function l(){e.value=null,o.value=null,i.value=Pe}return{serverErrors:e,errorMessages:o,errorMessageText:i,MapErrors:s,MapServerErrors:t,ResetServerErrors:l}}const E0=()=>({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}}),Dk={class:"template change-password-template"},Bk={class:"template-title"},Rk={key:0},Pk={key:1},Fk=["onSubmit","onReset"],Vk={class:"bd-form-field"},$k={class:"bd-form-field"},zk={class:"bd-form-field"},Hk={class:"bd-form-buttons"},b0=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}=la(),{errorMessages:o,errorMessageText:i,MapServerErrors:s,ResetServerErrors:l}=Kc(null),{ValidationObjectIsValid:a}=E0();let d=c.ref({password:Pe,passwordNew:Pe,passwordRepeat:Pe}),u=c.ref({password:{state:null,errorLabel:Pe},passwordNew:{state:null,errorLabel:Pe},passwordRepeat:{state:null,errorLabel:Pe}});const f=()=>{if(!h())return;const g=e.submitPassword(d.value);g&&g.then(()=>{r(e.successText),p()}).catch(v=>{t(e.failureText),s(v)})},h=()=>{const m=/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[@$!%*?&])[A-Za-z\d@$!%*?&]{8,}$/;if(d.value.passwordNew&&!m.test(d.value.passwordNew))u.value.passwordNew.state=!1,u.value.passwordNew.errorLabel=e.minimalRequirementsText;else{const g=d.value.passwordRepeat===d.value.passwordNew,v=g?e.requiredText:e.incompatibleText;u.value.passwordNew.state=d.value.passwordNew!==Pe&&g?null:!1,u.value.passwordNew.errorLabel=v,u.value.passwordRepeat.state=d.value.passwordRepeat!==Pe&&g?null:!1,u.value.passwordRepeat.errorLabel=v}return u.value.password.state=d.value.password!==Pe?null:!1,u.value.password.errorLabel=u.value.password.state?Pe:e.requiredText,a(u.value)},p=()=>{d.value.password=Pe,d.value.passwordNew=Pe,d.value.passwordRepeat=Pe,u.value.password.state=null,u.value.passwordNew.state=null,u.value.passwordRepeat.state=null,l()};return(m,g)=>(c.openBlock(),c.createElementBlock("main",Dk,[c.createVNode(si,{class:"container-xl"},{default:c.withCtx(()=>[c.createVNode(Gn,{class:"justify-content-md-center template-header"},{default:c.withCtx(()=>[c.createVNode(Zn,{xs:12,md:10,lg:7},{default:c.withCtx(()=>[c.createElementVNode("h1",Bk,c.toDisplayString(e.templateTitle),1)]),_:1})]),_:1}),c.createVNode(Gn,{class:"justify-content-md-center"},{default:c.withCtx(()=>[c.createVNode(Zn,{xs:12,md:10,lg:7},{default:c.withCtx(()=>[c.createVNode(hi,{class:"bd-card-template","no-header":!0},{body:c.withCtx(()=>[c.createVNode(si,{class:"container-fluid"},{default:c.withCtx(()=>[c.createVNode(Gn,null,{default:c.withCtx(()=>[c.createVNode(Zn,null,{default:c.withCtx(()=>[c.createVNode(vo,{variant:"warning"},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(m.alertText),1)]),_:1})]),_:1})]),_:1}),c.unref(o)||c.unref(i)?(c.openBlock(),c.createBlock(Gn,{key:0},{default:c.withCtx(()=>[c.createVNode(Zn,null,{default:c.withCtx(()=>[c.createVNode(vo,{variant:"danger"},{default:c.withCtx(()=>[c.unref(o)?(c.openBlock(),c.createElementBlock("div",Rk,[c.createElementVNode("ul",null,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(c.unref(o),(v,b)=>(c.openBlock(),c.createElementBlock("li",{key:b},[c.createVNode(qn),c.createElementVNode("span",null,c.toDisplayString(v),1)]))),128))])])):(c.openBlock(),c.createElementBlock("div",Pk,c.toDisplayString(c.unref(i)),1))]),_:1})]),_:1})]),_:1})):c.createCommentVNode("",!0),c.createVNode(Gn,null,{default:c.withCtx(()=>[c.createVNode(Zn,{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",Vk,[c.createVNode(nr,{modelValue:c.unref(d).password,"onUpdate:modelValue":g[0]||(g[0]=v=>c.unref(d).password=v),label:m.currentPasswordLabel,state:c.unref(u).password.state,type:"password","invalid-feedback-text":c.unref(u).password.errorLabel},null,8,["modelValue","label","state","invalid-feedback-text"])]),c.createElementVNode("div",$k,[c.createVNode(nr,{modelValue:c.unref(d).passwordNew,"onUpdate:modelValue":g[1]||(g[1]=v=>c.unref(d).passwordNew=v),label:m.newPasswordLabel,state:c.unref(u).passwordNew.state,type:"password","invalid-feedback-text":c.unref(u).passwordNew.errorLabel},null,8,["modelValue","label","state","invalid-feedback-text"])]),c.createElementVNode("div",zk,[c.createVNode(nr,{modelValue:c.unref(d).passwordRepeat,"onUpdate:modelValue":g[2]||(g[2]=v=>c.unref(d).passwordRepeat=v),label:m.confirmNewPasswordLabel,state:c.unref(u).passwordRepeat.state,type:"password","invalid-feedback-text":c.unref(u).passwordRepeat.errorLabel},null,8,["modelValue","label","state","invalid-feedback-text"])]),c.createElementVNode("div",Hk,[c.createVNode(We,{type:"submit"},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(m.submitButtonText),1)]),_:1}),c.createVNode(We,{type:"reset",variant:"link"},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(m.cancelButtonText),1)]),_:1})])],40,Fk)]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]))}}),Qc=c.defineComponent({__name:"BDDropdown",props:{size:{default:lt.MD},variant:{default:di.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}=Mr(),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})),i=c.computed(()=>({"dropdown-menu-end":e.right,"dropdown-menu-action":e.actionToggle})),s=c.computed(()=>({"aria-labelledby":r})),l=c.ref(),a=c.ref(),d=()=>{l.value.classList.remove("show"),a.value.classList.remove("show"),a.value.removeAttribute("aria-expanded")};return(u,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",i.value]},s.value,{onClick:d}),[c.renderSlot(u.$slots,"default")],16)]))}}),Uk={class:"row bd-header"},jk={class:"col logo-mix"},Wk=["src","alt"],Kk=c.createElementVNode("div",null,"Menu",-1),Qk={key:0,class:"col header-options"},Yk={class:"col bd-btn-settings"},A0=c.defineComponent({__name:"BDHeader",props:{dropdownMenuTitle:{},dropdownOptions:{},headerOptions:{},profileImageSrc:{},profileImageAlt:{},organizationLogoSrc:{},organizationLogoAlt:{}},emits:["click","signout"],setup(n,{emit:e}){const t=n,r=c.computed(()=>{let d=[];return t.headerOptions&&(d=d.concat(t.headerOptions)),t.dropdownOptions&&(d=d.concat(t.dropdownOptions)),d}),o=c.ref(void 0),i=()=>e("click"),s=()=>e("signout"),l=()=>o.value=!0,a=()=>o.value=!1;return(d,u)=>(c.openBlock(),c.createElementBlock(c.Fragment,null,[c.createElementVNode("nav",Uk,[c.createElementVNode("div",jk,[c.createVNode(ka,{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,Wk)):c.createCommentVNode("",!0)]),c.createElementVNode("div",{class:"col bd-hamburger",onClick:l},[Kk,c.createVNode(Ca)]),t.headerOptions&&t.headerOptions.length!==0?(c.openBlock(),c.createElementBlock("div",Qk,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(t.headerOptions,f=>(c.openBlock(),c.createBlock(We,{class:"btn-header",to:f.to},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(f.text),1)]),_:2},1032,["to"]))),256))])):c.createCommentVNode("",!0),c.createElementVNode("div",Yk,[c.renderSlot(d.$slots,"profile-side"),t.profileImageSrc?(c.openBlock(),c.createBlock(yo,{key:0,src:t.profileImageSrc,alt:t.profileImageAlt,size:"sm"},null,8,["src","alt"])):c.createCommentVNode("",!0),c.createVNode(Qc,{text:t.dropdownMenuTitle,variant:"primary",toggleTag:"a",right:!0},{default:c.withCtx(()=>[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(t.dropdownOptions,(f,h)=>(c.openBlock(),c.createBlock(vi,c.mergeProps({key:h},f),null,16))),128)),c.createVNode(vi,{text:"Uitloggen",onClick:s})]),_:1},8,["text"])])]),c.createVNode(wc,{active:o.value,options:r.value,onHide:a,onSignout:s},{"special-options":c.withCtx(()=>[c.renderSlot(d.$slots,"mobile-menu-special-options")]),_:3},8,["active","options"])],64))}}),Jk={class:"modal-dialog"},Zk={class:"modal-content"},Gk={class:"modal-header"},Xk={class:"modal-title"},qk=["src"],ex=c.createElementVNode("span",null,"Sluiten",-1),tx={class:"modal-body"},nx={key:0,class:"modal-footer"},rx=["disabled"],ii=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"),i=()=>e("cancel");return(s,l)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(r.value),tabindex:"-1"},[c.createElementVNode("div",Jk,[c.createElementVNode("div",Zk,[c.createElementVNode("div",Gk,[c.createElementVNode("h2",Xk,[t.titleImage?(c.openBlock(),c.createElementBlock("img",{key:0,src:t.titleImage,class:"title-image",alt:""},null,8,qk)):c.createCommentVNode("",!0),c.createElementVNode("span",null,c.toDisplayString(t.title),1)]),c.renderSlot(s.$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:i},[ex,c.createVNode(c.unref(ai))]))]),c.createElementVNode("div",tx,[c.renderSlot(s.$slots,"default")]),s.hideFooter?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",nx,[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,rx)),c.renderSlot(s.$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:i,"aria-label":"Annuleren"},c.toDisplayString(t.closeButtonTitle),1))]))])])],2))}}),ca=n=>{const e=c.ref(null);return{showModal:()=>{const o=document.getElementById(n);o instanceof HTMLElement?(e.value=Wn.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 i=Wn.getInstance(o);i&&i.hide()}}}};function w0(){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 d=document.querySelector("#image-attachment-modal"),u=document.querySelector(".image-preview-image-holder");d&&(d.style.cursor="grabbing"),u&&(u.style.cursor="grabbing"),r.value.x=a.clientX,r.value.y=a.clientY,e.value=!0},OnMouseMove:a=>{if(e.value){const d=a.clientX-r.value.x,u=a.clientY-r.value.y;t.value&&(t.value.scrollTop=r.value.top-u,t.value.scrollLeft=r.value.left-d)}},OnMouseUp:()=>{const a=document.querySelector("#image-attachment-modal"),d=document.querySelector(".image-preview-image-holder");a&&a.style&&(a.style.cursor=""),d&&d.style&&(d.style.cursor="grab"),e.value=!1}}}const ox=["src","alt"],ix={key:0,class:"show-spinner"},sx={class:"spinner-border text-primary",role:"status"},ax={class:"visually-hidden"},lx=["href"],S0=c.defineComponent({__name:"BDImageAttachmentModal",props:["loadingText","downloadText"],setup(n,{expose:e}){const t=n,{showModal:r}=ca("image-attachment-modal"),{zoom:o,imageHolderRef:i,SetZoom:s,OnMouseDown:l,OnMouseMove:a,OnMouseUp:d}=w0(),u=c.ref(!0),f=c.ref({BerichtId:0,Id:void 0,MimeType:null,Naam:Pe,altName:Pe,downloadUrl:Pe,fullImageUrl:Pe,previewUrl:Pe});e({Show:g=>{f.value=g,o.value=0,r()}});const p=()=>{u.value=!1},m=()=>{f.value={BerichtId:0,Id:void 0,MimeType:null,Naam:Pe,altName:Pe,downloadUrl:Pe,fullImageUrl:Pe,previewUrl:Pe}};return(g,v)=>(c.openBlock(),c.createBlock(ii,{id:"image-attachment-modal",class:c.normalizeClass(c.unref(Pe)),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:i,onMousedown:v[0]||(v[0]=(...b)=>c.unref(l)&&c.unref(l)(...b)),onMousemove:v[1]||(v[1]=(...b)=>c.unref(a)&&c.unref(a)(...b)),onMouseup:v[2]||(v[2]=(...b)=>c.unref(d)&&c.unref(d)(...b))},[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(s)]),onLoad:p,draggable:!1},null,42,ox)):c.createCommentVNode("",!0)],544),u.value?(c.openBlock(),c.createElementBlock("div",ix,[c.createElementVNode("div",sx,[c.createElementVNode("span",ax,c.toDisplayString(t.loadingText),1)])])):c.createCommentVNode("",!0),c.createVNode(Ta,{modelValue:c.unref(o),"onUpdate:modelValue":v[3]||(v[3]=b=>c.isRef(o)?o.value=b:null),class:"image-preview-bd-zoom-slider","max-value":4},null,8,["modelValue"]),c.createElementVNode("a",{href:f.value.downloadUrl},[c.createVNode(We,{variant:"primary",class:"download-image"},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(t.downloadText),1)]),_:1})],8,lx)]),_:1},8,["class","title"]))}}),cx={key:0},dx={key:1},ux={class:"bd-form-field"},fx={class:"bd-form-field"},k0=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:i}=la(),{serverErrors:s,errorMessages:l,errorMessageText:a,MapServerErrors:d,ResetServerErrors:u}=Kc(null),{closeModal:f}=ca("phone-number-edit-modal");let h=Pe;const p=c.ref(),m=c.ref(null),g=c.ref(),v=c.ref(),b=c.ref(null),A=c.computed(()=>v.value==null||v.value==""),S=()=>{if(m.value=null,u(),!p.value||p.value==h){m.value=!1;return}const U={newPhonenumber:p.value};r.startPhoneNumberUpdate(U).then(T).catch(d)},y=()=>{if(!v.value){b.value=!1;return}const U={requestIdentifier:g.value,token:v.value};r.confirmPhoneNumberUpdate(U).then(k).catch(d)},T=U=>{m.value=null,o(r.confirmationCodeSentText),g.value=U.data.RequestIdentifier},k=()=>{t("setPhoneNumber",p.value),o(r.editSuccessText),f(),m.value=null,b.value=null},$=U=>{h=U,p.value=h,m.value=null,g.value=void 0,v.value=void 0,b.value=null},H=()=>{$(h),u(),i(r.editCanceledText)};return e({Reset:$}),(U,R)=>(c.openBlock(),c.createBlock(ii,{id:"phone-number-edit-modal",class:c.normalizeClass(c.unref(Pe)),title:r.modalTitle,submitButtonTitle:r.submitButtonTitle,hideFooterCancelButton:!1,"disable-submit-button":A.value,serverErrors:c.unref(s),errorMessages:c.unref(l),errorMessageText:c.unref(a),onSubmit:y,onCancel:H},{default:c.withCtx(()=>[c.unref(a)||c.unref(l)?(c.openBlock(),c.createBlock(vo,{key:0,variant:"danger"},{default:c.withCtx(()=>[c.unref(l)?(c.openBlock(),c.createElementBlock("div",cx,[c.createElementVNode("ul",null,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(c.unref(l),(D,z)=>(c.openBlock(),c.createElementBlock("li",{key:z},[c.createVNode(qn),c.createElementVNode("span",null,c.toDisplayString(D),1)]))),128))])])):(c.openBlock(),c.createElementBlock("div",dx,c.toDisplayString(c.unref(a)),1))]),_:1})):c.createCommentVNode("",!0),c.createElementVNode("div",ux,[c.createVNode(nr,{id:"form-input-phone-number",label:r.phoneNumberLabel,modelValue:p.value,"onUpdate:modelValue":R[0]||(R[0]=D=>p.value=D),state:m.value,type:"text","form-field-class":"form-input-with-button","invalid-feedback-text":r.phoneNumberUnchangedText},{default:c.withCtx(()=>[c.createVNode(We,{textContent:c.toDisplayString(r.sendConfirmationCodeText),class:"tablet-device-up",type:"button",onClick:S},null,8,["textContent"])]),_:1},8,["label","modelValue","state","invalid-feedback-text"]),c.createVNode(We,{textContent:c.toDisplayString(r.sendConfirmationCodeText),class:"mobile-device",type:"button",onClick:S},null,8,["textContent"])]),c.createElementVNode("div",fx,[g.value?(c.openBlock(),c.createBlock(nr,{key:0,label:r.confirmationCodeLabel,modelValue:v.value,"onUpdate:modelValue":R[1]||(R[1]=D=>v.value=D),state:b.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 x0={exports:{}};(function(n,e){(function(t,r){n.exports=r()})(_a,function(){var t=1e3,r=6e4,o=36e5,i="millisecond",s="second",l="minute",a="hour",d="day",u="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+)?$/,b=/\[([^\]]+)]|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,A={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(j){var V=["th","st","nd","rd"],F=j%100;return"["+j+(V[(F-20)%10]||V[F]||V[0])+"]"}},S=function(j,V,F){var Y=String(j);return!Y||Y.length>=V?j:""+Array(V+1-Y.length).join(F)+j},y={s:S,z:function(j){var V=-j.utcOffset(),F=Math.abs(V),Y=Math.floor(F/60),L=F%60;return(V<=0?"+":"-")+S(Y,2,"0")+":"+S(L,2,"0")},m:function j(V,F){if(V.date()<F.date())return-j(F,V);var Y=12*(F.year()-V.year())+(F.month()-V.month()),L=V.clone().add(Y,f),X=F-L<0,ne=V.clone().add(Y+(X?-1:1),f);return+(-(Y+(F-L)/(X?L-ne:ne-L))||0)},a:function(j){return j<0?Math.ceil(j)||0:Math.floor(j)},p:function(j){return{M:f,y:p,w:u,d,D:m,h:a,m:l,s,ms:i,Q:h}[j]||String(j||"").toLowerCase().replace(/s$/,"")},u:function(j){return j===void 0}},T="en",k={};k[T]=A;var $="$isDayjsObject",H=function(j){return j instanceof z||!(!j||!j[$])},U=function j(V,F,Y){var L;if(!V)return T;if(typeof V=="string"){var X=V.toLowerCase();k[X]&&(L=X),F&&(k[X]=F,L=X);var ne=V.split("-");if(!L&&ne.length>1)return j(ne[0])}else{var de=V.name;k[de]=V,L=de}return!Y&&L&&(T=L),L||!Y&&T},R=function(j,V){if(H(j))return j.clone();var F=typeof V=="object"?V:{};return F.date=j,F.args=arguments,new z(F)},D=y;D.l=U,D.i=H,D.w=function(j,V){return R(j,{locale:V.$L,utc:V.$u,x:V.$x,$offset:V.$offset})};var z=function(){function j(F){this.$L=U(F.locale,null,!0),this.parse(F),this.$x=this.$x||F.x||{},this[$]=!0}var V=j.prototype;return V.parse=function(F){this.$d=function(Y){var L=Y.date,X=Y.utc;if(L===null)return new Date(NaN);if(D.u(L))return new Date;if(L instanceof Date)return new Date(L);if(typeof L=="string"&&!/Z$/i.test(L)){var ne=L.match(v);if(ne){var de=ne[2]-1||0,ge=(ne[7]||"0").substring(0,3);return X?new Date(Date.UTC(ne[1],de,ne[3]||1,ne[4]||0,ne[5]||0,ne[6]||0,ge)):new Date(ne[1],de,ne[3]||1,ne[4]||0,ne[5]||0,ne[6]||0,ge)}}return new Date(L)}(F),this.init()},V.init=function(){var F=this.$d;this.$y=F.getFullYear(),this.$M=F.getMonth(),this.$D=F.getDate(),this.$W=F.getDay(),this.$H=F.getHours(),this.$m=F.getMinutes(),this.$s=F.getSeconds(),this.$ms=F.getMilliseconds()},V.$utils=function(){return D},V.isValid=function(){return this.$d.toString()!==g},V.isSame=function(F,Y){var L=R(F);return this.startOf(Y)<=L&&L<=this.endOf(Y)},V.isAfter=function(F,Y){return R(F)<this.startOf(Y)},V.isBefore=function(F,Y){return this.endOf(Y)<R(F)},V.$g=function(F,Y,L){return D.u(F)?this[Y]:this.set(L,F)},V.unix=function(){return Math.floor(this.valueOf()/1e3)},V.valueOf=function(){return this.$d.getTime()},V.startOf=function(F,Y){var L=this,X=!!D.u(Y)||Y,ne=D.p(F),de=function(I,w){var M=D.w(L.$u?Date.UTC(L.$y,w,I):new Date(L.$y,w,I),L);return X?M:M.endOf(d)},ge=function(I,w){return D.w(L.toDate()[I].apply(L.toDate("s"),(X?[0,0,0,0]:[23,59,59,999]).slice(w)),L)},ve=this.$W,Ae=this.$M,Se=this.$D,xe="set"+(this.$u?"UTC":"");switch(ne){case p:return X?de(1,0):de(31,11);case f:return X?de(1,Ae):de(0,Ae+1);case u:var Ce=this.$locale().weekStart||0,x=(ve<Ce?ve+7:ve)-Ce;return de(X?Se-x:Se+(6-x),Ae);case d:case m:return ge(xe+"Hours",0);case a:return ge(xe+"Minutes",1);case l:return ge(xe+"Seconds",2);case s:return ge(xe+"Milliseconds",3);default:return this.clone()}},V.endOf=function(F){return this.startOf(F,!1)},V.$set=function(F,Y){var L,X=D.p(F),ne="set"+(this.$u?"UTC":""),de=(L={},L[d]=ne+"Date",L[m]=ne+"Date",L[f]=ne+"Month",L[p]=ne+"FullYear",L[a]=ne+"Hours",L[l]=ne+"Minutes",L[s]=ne+"Seconds",L[i]=ne+"Milliseconds",L)[X],ge=X===d?this.$D+(Y-this.$W):Y;if(X===f||X===p){var ve=this.clone().set(m,1);ve.$d[de](ge),ve.init(),this.$d=ve.set(m,Math.min(this.$D,ve.daysInMonth())).$d}else de&&this.$d[de](ge);return this.init(),this},V.set=function(F,Y){return this.clone().$set(F,Y)},V.get=function(F){return this[D.p(F)]()},V.add=function(F,Y){var L,X=this;F=Number(F);var ne=D.p(Y),de=function(Ae){var Se=R(X);return D.w(Se.date(Se.date()+Math.round(Ae*F)),X)};if(ne===f)return this.set(f,this.$M+F);if(ne===p)return this.set(p,this.$y+F);if(ne===d)return de(1);if(ne===u)return de(7);var ge=(L={},L[l]=r,L[a]=o,L[s]=t,L)[ne]||1,ve=this.$d.getTime()+F*ge;return D.w(ve,this)},V.subtract=function(F,Y){return this.add(-1*F,Y)},V.format=function(F){var Y=this,L=this.$locale();if(!this.isValid())return L.invalidDate||g;var X=F||"YYYY-MM-DDTHH:mm:ssZ",ne=D.z(this),de=this.$H,ge=this.$m,ve=this.$M,Ae=L.weekdays,Se=L.months,xe=L.meridiem,Ce=function(w,M,C,E){return w&&(w[M]||w(Y,X))||C[M].slice(0,E)},x=function(w){return D.s(de%12||12,w,"0")},I=xe||function(w,M,C){var E=w<12?"AM":"PM";return C?E.toLowerCase():E};return X.replace(b,function(w,M){return M||function(C){switch(C){case"YY":return String(Y.$y).slice(-2);case"YYYY":return D.s(Y.$y,4,"0");case"M":return ve+1;case"MM":return D.s(ve+1,2,"0");case"MMM":return Ce(L.monthsShort,ve,Se,3);case"MMMM":return Ce(Se,ve);case"D":return Y.$D;case"DD":return D.s(Y.$D,2,"0");case"d":return String(Y.$W);case"dd":return Ce(L.weekdaysMin,Y.$W,Ae,2);case"ddd":return Ce(L.weekdaysShort,Y.$W,Ae,3);case"dddd":return Ae[Y.$W];case"H":return String(de);case"HH":return D.s(de,2,"0");case"h":return x(1);case"hh":return x(2);case"a":return I(de,ge,!0);case"A":return I(de,ge,!1);case"m":return String(ge);case"mm":return D.s(ge,2,"0");case"s":return String(Y.$s);case"ss":return D.s(Y.$s,2,"0");case"SSS":return D.s(Y.$ms,3,"0");case"Z":return ne}return null}(w)||ne.replace(":","")})},V.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},V.diff=function(F,Y,L){var X,ne=this,de=D.p(Y),ge=R(F),ve=(ge.utcOffset()-this.utcOffset())*r,Ae=this-ge,Se=function(){return D.m(ne,ge)};switch(de){case p:X=Se()/12;break;case f:X=Se();break;case h:X=Se()/3;break;case u:X=(Ae-ve)/6048e5;break;case d:X=(Ae-ve)/864e5;break;case a:X=Ae/o;break;case l:X=Ae/r;break;case s:X=Ae/t;break;default:X=Ae}return L?X:D.a(X)},V.daysInMonth=function(){return this.endOf(f).$D},V.$locale=function(){return k[this.$L]},V.locale=function(F,Y){if(!F)return this.$L;var L=this.clone(),X=U(F,Y,!0);return X&&(L.$L=X),L},V.clone=function(){return D.w(this.$d,this)},V.toDate=function(){return new Date(this.valueOf())},V.toJSON=function(){return this.isValid()?this.toISOString():null},V.toISOString=function(){return this.$d.toISOString()},V.toString=function(){return this.$d.toUTCString()},j}(),W=z.prototype;return R.prototype=W,[["$ms",i],["$s",s],["$m",l],["$H",a],["$W",d],["$M",f],["$y",p],["$D",m]].forEach(function(j){W[j[1]]=function(V){return this.$g(V,j[0],j[1])}}),R.extend=function(j,V){return j.$i||(j(V,z,R),j.$i=!0),R},R.locale=U,R.isDayjs=H,R.unix=function(j){return R(1e3*j)},R.en=k[T],R.Ls=k,R.p={},R})})(x0);var T0=x0.exports;const po=Na(T0),M0=(n,e,t,r,o,i)=>{const s=c.ref(null),l=c.ref(null),a=c.ref(!1),d=c.ref(null),{showModal:u,closeModal:f}=ca("session-time-out-modal"),h=c.computed(()=>s.value&&n?n-(s.value+1):0),p=c.computed(()=>l.value?60-l.value:0),m=c.computed(()=>a.value),g=()=>{d.value=setInterval(b,1e3),r(d.value)},v=()=>{d.value&&clearInterval(d.value)},b=()=>{s.value=po().diff(t(),"m"),l.value=po().subtract(s.value,"m").diff(t(),"s");const H=n??Number.MAX_SAFE_INTEGER,U=e??0;s.value>=H?(a.value=!0,u(),localStorage.setItem("session-timeout","true"),window.onbeforeunload=A):s.value>=H-U?u():f()},A=H=>{H.stopPropagation(),y()},S=()=>{o(),v(),s.value=null,l.value=null,g()},y=()=>{v(),s.value=null,l.value=null,localStorage.removeItem("session-timeout"),i()},T=()=>{a.value?y():S()},k=()=>{y()},$=()=>{a.value?y():f()};return c.onMounted(()=>{const H=document.getElementById("session-time-out-modal");H&&H.addEventListener("hidden.bs.modal",T),v(),g()}),{IsExpired:m,Minutes:h,Seconds:p,OnLogOut:k,OnSubmit:$}},I0=c.defineComponent({__name:"BDSessionTimeOutModal",props:["expiredTitle","expiredMessage","expiredButtonText","almostExpiredTitle","almostExpiredMessage","almostExpiredButtonText","almostExpiredCancelButtonText","threshold","warningThreshold","getTime","setTaskId","setNewTime","logout"],setup(n){const e=n,{IsExpired:t,Minutes:r,Seconds:o,OnLogOut:i,OnSubmit:s}=M0(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}`),d=c.computed(()=>t.value?e.expiredButtonText:e.almostExpiredButtonText);return(u,f)=>(c.openBlock(),c.createBlock(ii,{id:"session-time-out-modal",title:l.value,"hide-close-button":!0,"hide-footer-cancel-button":c.unref(t),"close-button-title":e.almostExpiredCancelButtonText,"submit-button-title":d.value,size:"md",onSubmit:c.unref(s),onCancel:c.unref(i)},{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"]))}});function O0(){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))}}}function hx(n){const{OnWindowLoaded:e}=O0();let t;const r=()=>{t=document.addEventListener("click",i=>{if(!i||!i.target)return;let s=null;if(i.target instanceof Element&&(s=i.target.closest(".popover")),s)return;const l=uo.getInstance(n.value);l&&l.hide()})};c.onMounted(r),e(()=>new uo(n.value)),c.onUnmounted(()=>{const i=uo.getInstance(n.value);i&&i.dispose(),t&&document.removeEventListener("click",t)})}const _0={mounted:n=>{new Ar(n)}};var px={exports:{}};(function(n,e){(function(t,r){n.exports=r(T0)})(_a,function(t){function r(s){return s&&typeof s=="object"&&"default"in s?s:{default:s}}var o=r(t),i={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(s){return"["+s+(s===1||s===8||s>=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(i,null,!0),i})})(px);var N0={exports:{}};(function(n,e){(function(t,r){n.exports=r()})(_a,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/,i=/\d\d/,s=/\d\d?/,l=/\d*[^-_:/,()\s\d]+/,a={},d=function(v){return(v=+v)+(v>68?1900:2e3)},u=function(v){return function(b){this[v]=+b}},f=[/[+-]\d\d:?(\d\d)?|Z/,function(v){(this.zone||(this.zone={})).offset=function(b){if(!b||b==="Z")return 0;var A=b.match(/([+-]|\d\d)/g),S=60*A[1]+(+A[2]||0);return S===0?0:A[0]==="+"?-S:S}(v)}],h=function(v){var b=a[v];return b&&(b.indexOf?b:b.s.concat(b.f))},p=function(v,b){var A,S=a.meridiem;if(S){for(var y=1;y<=24;y+=1)if(v.indexOf(S(y,0,b))>-1){A=y>12;break}}else A=v===(b?"pm":"PM");return A},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:[i,function(v){this.milliseconds=10*+v}],SSS:[/\d{3}/,function(v){this.milliseconds=+v}],s:[s,u("seconds")],ss:[s,u("seconds")],m:[s,u("minutes")],mm:[s,u("minutes")],H:[s,u("hours")],h:[s,u("hours")],HH:[s,u("hours")],hh:[s,u("hours")],D:[s,u("day")],DD:[i,u("day")],Do:[l,function(v){var b=a.ordinal,A=v.match(/\d+/);if(this.day=A[0],b)for(var S=1;S<=31;S+=1)b(S).replace(/\[|\]/g,"")===v&&(this.day=S)}],w:[s,u("week")],ww:[i,u("week")],M:[s,u("month")],MM:[i,u("month")],MMM:[l,function(v){var b=h("months"),A=(h("monthsShort")||b.map(function(S){return S.slice(0,3)})).indexOf(v)+1;if(A<1)throw new Error;this.month=A%12||A}],MMMM:[l,function(v){var b=h("months").indexOf(v)+1;if(b<1)throw new Error;this.month=b%12||b}],Y:[/[+-]?\d+/,u("year")],YY:[i,function(v){this.year=d(v)}],YYYY:[/\d{4}/,u("year")],Z:f,ZZ:f};function g(v){var b,A;b=v,A=a&&a.formats;for(var S=(v=b.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(R,D,z){var W=z&&z.toUpperCase();return D||A[z]||t[z]||A[W].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(j,V,F){return V||F.slice(1)})})).match(r),y=S.length,T=0;T<y;T+=1){var k=S[T],$=m[k],H=$&&$[0],U=$&&$[1];S[T]=U?{regex:H,parser:U}:k.replace(/^\[|\]$/g,"")}return function(R){for(var D={},z=0,W=0;z<y;z+=1){var j=S[z];if(typeof j=="string")W+=j.length;else{var V=j.regex,F=j.parser,Y=R.slice(W),L=V.exec(Y)[0];F.call(D,L),R=R.replace(L,"")}}return function(X){var ne=X.afternoon;if(ne!==void 0){var de=X.hours;ne?de<12&&(X.hours+=12):de===12&&(X.hours=0),delete X.afternoon}}(D),D}}return function(v,b,A){A.p.customParseFormat=!0,v&&v.parseTwoDigitYear&&(d=v.parseTwoDigitYear);var S=b.prototype,y=S.parse;S.parse=function(T){var k=T.date,$=T.utc,H=T.args;this.$u=$;var U=H[1];if(typeof U=="string"){var R=H[2]===!0,D=H[3]===!0,z=R||D,W=H[2];D&&(W=H[2]),a=this.$locale(),!R&&W&&(a=A.Ls[W]),this.$d=function(Y,L,X,ne){try{if(["x","X"].indexOf(L)>-1)return new Date((L==="X"?1e3:1)*Y);var de=g(L)(Y),ge=de.year,ve=de.month,Ae=de.day,Se=de.hours,xe=de.minutes,Ce=de.seconds,x=de.milliseconds,I=de.zone,w=de.week,M=new Date,C=Ae||(ge||ve?1:M.getDate()),E=ge||M.getFullYear(),_=0;ge&&!ve||(_=ve>0?ve-1:M.getMonth());var N,B=Se||0,P=xe||0,K=Ce||0,J=x||0;return I?new Date(Date.UTC(E,_,C,B,P,K,J+60*I.offset*1e3)):X?new Date(Date.UTC(E,_,C,B,P,K,J)):(N=new Date(E,_,C,B,P,K,J),w&&(N=ne(N).week(w).toDate()),N)}catch{return new Date("")}}(k,U,$,A),this.init(),W&&W!==!0&&(this.$L=this.locale(W).$L),z&&k!=this.format(U)&&(this.$d=new Date("")),a={}}else if(U instanceof Array)for(var j=U.length,V=1;V<=j;V+=1){H[1]=U[V-1];var F=A.apply(this,H);if(F.isValid()){this.$d=F.$d,this.$L=F.$L,this.init();break}V===j&&(this.$d=new Date(""))}else y.call(this,T)}}})})(N0);var mx=N0.exports;const gx=Na(mx);po.extend(gx),po.locale("nl");function vx(n,e=po().startOf("day")){const t="DD-MM-YYYY",r=po(n,t);if(r.isSame(e))return"vandaag";const i=e.subtract(1,"day");if(r.isSame(i))return"gister";const l=e.subtract(2,"day");if(r.isSame(l))return"eergister";const d=e.subtract(7,"day");if(r.isAfter(d)){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 yx={PRIMARY:"primary",SECONDARY:"secondary",COLLEAGUE:"colleague",DANGER:"danger",OUT_PRIMARY:"outline-primary",OUT_PRIMARY_DARK:"outline-primary-dark",OUT_TERTIARY:"outline-tertiary",OUT_LINK:"link",LIGHT:"light",DARK:"dark",REMOVE:"remove"},We=c.defineComponent({__name:"BDButton",props:{size:{default:lt.MD},variant:{default:yx.PRIMARY},blockElement:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},to:{},target:{},text:{},rel:{}},emits:["click"],setup(n,{emit:e}){const t=n,r=c.computed(()=>({btn:!0,[`btn-${t.variant}`]:t.variant,[`btn-${t.size}`]:!0,"d-grid":t.blockElement&&typeof t.to=="string",[`${t.class}`]:t.class,disabled:t.disabled})),o=c.computed(()=>t.to?Tr:"button"),i=c.computed(()=>{const l={};return t.to?(l.to=t.to,l.role="button"):l.type="submit",l}),s=l=>{e("click",l)};return(l,a)=>(c.openBlock(),c.createBlock(c.resolveDynamicComponent(o.value),c.mergeProps({class:["bd-btn",r.value]},i.value,{onClick:s}),{default:c.withCtx(()=>[c.renderSlot(l.$slots,"default",{},()=>[c.createTextVNode(c.toDisplayString(t.text),1)])]),_:3},16,["class"]))}}),Cx={install:n=>{n.component("BDCol",Zn),n.component("BDContainer",si),n.component("BDRow",Gn),n.component("BDButton",We),n.component("BDLogo",ka),n.component("BDLink",Tr),n.component("BDDropdownItem",vi),n.component("BDDropdown",Qc),n.component("BDAlert",vo),n.component("BDProfileImage",yo),n.component("BDZoomslider",Ta),n.component("BDCard",hi),n.component("BDCollapsableCard",iu),n.component("BDFormInput",nr),n.component("BDInputGroup",du),n.component("BDFormInvalidFeedback",pi),n.component("BDBadge",uu),n.component("BDForm",fu),n.component("BDPagination",hu),n.component("BDDropzone",Cu),n.component("BDMarkdownEditor",mp),n.component("BDModal",ii),n.component("BDFormSelect",pu),n.component("BDUser",gp),n.component("BDArticle",gu),n.component("BDFormCheckbox",mu),n.component("BDToast",Oa),n.component("BDAttachmentPreviewList",js),n.component("BDImageAttachmentPreviewList",Ws),n.component("BDHeader",A0),n.component("BDMobileMenu",wc),n.component("BDChatCloud",vp),n.component("BDTable",yp),n.component("BDChangePasswordTemplate",b0),n.component("BDPill",gi),n.component("BDImageAttachmentModal",S0),n.component("BDPhoneNumberEditModal",k0),n.component("BDSessionTimeOutModal",I0),n.component("IconAcademy",ed),n.component("IconArrowDown",td),n.component("IconArrowUp",nd),n.component("IconAttachment",Xn),n.component("IconBold",ua),n.component("IconBulletList",fa),n.component("IconCalendar",rd),n.component("IconCall",od),n.component("IconCallReject",id),n.component("IconCardView",sd),n.component("IconCaretDown",ha),n.component("IconCaretLeft",pa),n.component("IconCaretRight",ma),n.component("IconCheck",xr),n.component("IconClipboard",ad),n.component("IconClose",ai),n.component("IconComment",ld),n.component("IconCommentActive",cd),n.component("IconCommonFileEmpty",ud),n.component("IconCommonFileWarning",fd),n.component("IconCommentStatic",dd),n.component("IconContactPerson",hd),n.component("IconCopy",pd),n.component("IconDelete",md),n.component("IconDoubleCheck",gd),n.component("IconDownloadImage",ga),n.component("IconEdit",vd),n.component("IconEndCall",yd),n.component("IconError",li),n.component("IconExternal",Cd),n.component("IconEyeShow",Ed),n.component("IconEyeSlash",bd),n.component("IconFile",va),n.component("IconFileAdded",Ad),n.component("IconForward",wd),n.component("IconHix",Sd),n.component("IconHyperlink",ci),n.component("IconImageFileLandscape",kd),n.component("IconImageFileWarning",xd),n.component("IconInfo",qn),n.component("IconInformationCircle",Td),n.component("IconItalic",ya),n.component("IconListView",Md),n.component("IconLock",Id),n.component("IconLusciiEscalated",Od),n.component("IconLusciiLogo",_d),n.component("IconLusciiOpen",Nd),n.component("IconLusciiPriorityHigh",Ld),n.component("IconLusciiPriorityLow",Dd),n.component("IconLusciiPriorityMedium",Bd),n.component("IconMenu",Ca),n.component("IconMessage",Rd),n.component("IconMessageForward",Pd),n.component("IconMicrophoneSlash",Fd),n.component("IconMicrosoftTeams",Vd),n.component("IconMin",$d),n.component("IconOrderedList",Ea),n.component("IconPlus",zd),n.component("IconRefresh",Hd),n.component("IconRemove",go),n.component("IconSananetLogo",Ud),n.component("IconService",jd),n.component("IconShareScreen",Wd),n.component("IconSingleNeutral",Kd),n.component("IconSort",Qd),n.component("IconSortAsc",ba),n.component("IconSortDesc",Aa),n.component("IconSortNone",wa),n.component("IconTriangleDown",Yd),n.component("IconTriangleExclamation",Jd),n.component("IconUnderline",Sa),n.component("IconVideoDisabled",Gd),n.component("IconVideocall",Zd),n.component("IconZorgkaart",Xd),n.directive("vBDTooltip",_0)}};ee.BDAlert=vo,ee.BDArticle=gu,ee.BDAttachmentPreviewList=js,ee.BDBadge=uu,ee.BDButton=We,ee.BDCard=hi,ee.BDChangePasswordTemplate=b0,ee.BDChatCloud=vp,ee.BDCol=Zn,ee.BDCollapsableCard=iu,ee.BDContainer=si,ee.BDDropdown=Qc,ee.BDDropdownItem=vi,ee.BDDropzone=Cu,ee.BDForm=fu,ee.BDFormCheckbox=mu,ee.BDFormInput=nr,ee.BDFormInvalidFeedback=pi,ee.BDFormSelect=pu,ee.BDHeader=A0,ee.BDImageAttachmentModal=S0,ee.BDImageAttachmentPreviewList=Ws,ee.BDInputGroup=du,ee.BDLink=Tr,ee.BDLogo=ka,ee.BDMarkdownEditor=mp,ee.BDMobileMenu=wc,ee.BDModal=ii,ee.BDPagination=hu,ee.BDPhoneNumberEditModal=k0,ee.BDPill=gi,ee.BDProfileImage=yo,ee.BDRow=Gn,ee.BDSessionTimeOutModal=I0,ee.BDTable=yp,ee.BDToast=Oa,ee.BDUser=gp,ee.BDZoomslider=Ta,ee.IconAcademy=ed,ee.IconArrowDown=td,ee.IconArrowUp=nd,ee.IconAttachment=Xn,ee.IconBold=ua,ee.IconBulletList=fa,ee.IconCalendar=rd,ee.IconCall=od,ee.IconCallReject=id,ee.IconCardView=sd,ee.IconCaretDown=ha,ee.IconCaretLeft=pa,ee.IconCaretRight=ma,ee.IconCheck=xr,ee.IconClipboard=ad,ee.IconClose=ai,ee.IconComment=ld,ee.IconCommentActive=cd,ee.IconCommentStatic=dd,ee.IconCommonFileEmpty=ud,ee.IconCommonFileWarning=fd,ee.IconContactPerson=hd,ee.IconCopy=pd,ee.IconDelete=md,ee.IconDoubleCheck=gd,ee.IconDownloadImage=ga,ee.IconEdit=vd,ee.IconEndCall=yd,ee.IconError=li,ee.IconExternal=Cd,ee.IconEyeShow=Ed,ee.IconEyeSlash=bd,ee.IconFile=va,ee.IconFileAdded=Ad,ee.IconForward=wd,ee.IconHix=Sd,ee.IconHyperlink=ci,ee.IconImageFileLandscape=kd,ee.IconImageFileWarning=xd,ee.IconInfo=qn,ee.IconInformationCircle=Td,ee.IconItalic=ya,ee.IconListView=Md,ee.IconLock=Id,ee.IconLusciiEscalated=Od,ee.IconLusciiLogo=_d,ee.IconLusciiOpen=Nd,ee.IconLusciiPriorityHigh=Ld,ee.IconLusciiPriorityLow=Dd,ee.IconLusciiPriorityMedium=Bd,ee.IconMenu=Ca,ee.IconMessage=Rd,ee.IconMessageForward=Pd,ee.IconMicrophoneSlash=Fd,ee.IconMicrosoftTeams=Vd,ee.IconMin=$d,ee.IconOrderedList=Ea,ee.IconPlus=zd,ee.IconRefresh=Hd,ee.IconRemove=go,ee.IconSananetLogo=Ud,ee.IconService=jd,ee.IconShareScreen=Wd,ee.IconSingleNeutral=Kd,ee.IconSort=Qd,ee.IconSortAsc=ba,ee.IconSortDesc=Aa,ee.IconSortNone=wa,ee.IconTriangleDown=Yd,ee.IconTriangleExclamation=Jd,ee.IconUnderline=Sa,ee.IconVideoDisabled=Gd,ee.IconVideocall=Zd,ee.IconZorgkaart=Xd,ee.default=Cx,ee.getDisplayDate=vx,ee.useModal=ca,ee.usePopover=hx,ee.useServerErrors=Kc,ee.useSessionTimeOut=M0,ee.useToaster=la,ee.useValidation=E0,ee.useWindow=O0,ee.useZoom=w0,ee.vBdTooltip=_0,Object.defineProperties(ee,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
182
|
+
*/const zn=new Map,Tc={set(n,e,t){zn.has(n)||zn.set(n,new Map);const r=zn.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 zn.has(n)&&zn.get(n).get(e)||null},remove(n,e){if(!zn.has(n))return;const t=zn.get(n);t.delete(e),t.size===0&&zn.delete(n)}},Fb=1e6,$b=1e3,Mc="transitionend",Ep=n=>(n&&window.CSS&&window.CSS.escape&&(n=n.replace(/#([^\s"#']+)/g,(e,t)=>`#${CSS.escape(t)}`)),n),zb=n=>n==null?`${n}`:Object.prototype.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase(),Hb=n=>{do n+=Math.floor(Math.random()*Fb);while(document.getElementById(n));return n},Ub=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))*$b)},bp=n=>{n.dispatchEvent(new Event(Mc))},yn=n=>!n||typeof n!="object"?!1:(typeof n.jquery<"u"&&(n=n[0]),typeof n.nodeType<"u"),Hn=n=>yn(n)?n.jquery?n[0]:n:typeof n=="string"&&n.length>0?document.querySelector(Ep(n)):null,oo=n=>{if(!yn(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},Un=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",Ap=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?Ap(n.parentNode):null},Ys=()=>{},Xo=n=>{n.offsetHeight},wp=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Ic=[],jb=n=>{document.readyState==="loading"?(Ic.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of Ic)e()}),Ic.push(n)):n()},Rt=()=>document.documentElement.dir==="rtl",Pt=n=>{jb(()=>{const e=wp();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,Sp=(n,e,t=!0)=>{if(!t){bt(n);return}const r=5,o=Ub(e)+r;let i=!1;const s=({target:l})=>{l===e&&(i=!0,e.removeEventListener(Mc,s),bt(n))};e.addEventListener(Mc,s),setTimeout(()=>{i||bp(e)},o)},Oc=(n,e,t,r)=>{const o=n.length;let i=n.indexOf(e);return i===-1?!t&&r?n[o-1]:n[0]:(i+=t?1:-1,r&&(i=(i+o)%o),n[Math.max(0,Math.min(i,o-1))])},Wb=/[^.]*(?=\..*)\.|.*/,Kb=/\..*/,Qb=/::\d+$/,_c={};let kp=1;const xp={mouseenter:"mouseover",mouseleave:"mouseout"},Yb=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 Tp(n,e){return e&&`${e}::${kp++}`||n.uidEvent||kp++}function Mp(n){const e=Tp(n);return n.uidEvent=e,_c[e]=_c[e]||{},_c[e]}function Gb(n,e){return function t(r){return Lc(r,{delegateTarget:n}),t.oneOff&&se.off(n,r.type,e),e.apply(n,[r])}}function Zb(n,e,t){return function r(o){const i=n.querySelectorAll(e);for(let{target:s}=o;s&&s!==this;s=s.parentNode)for(const l of i)if(l===s)return Lc(o,{delegateTarget:s}),r.oneOff&&se.off(n,o.type,e,t),t.apply(s,[o])}}function Ip(n,e,t=null){return Object.values(n).find(r=>r.callable===e&&r.delegationSelector===t)}function Op(n,e,t){const r=typeof e=="string",o=r?t:e||t;let i=Np(n);return Yb.has(i)||(i=n),[r,o,i]}function _p(n,e,t,r,o){if(typeof e!="string"||!n)return;let[i,s,l]=Op(e,t,r);e in xp&&(s=(m=>function(g){if(!g.relatedTarget||g.relatedTarget!==g.delegateTarget&&!g.delegateTarget.contains(g.relatedTarget))return m.call(this,g)})(s));const a=Mp(n),d=a[l]||(a[l]={}),u=Ip(d,s,i?t:null);if(u){u.oneOff=u.oneOff&&o;return}const f=Tp(s,e.replace(Wb,"")),h=i?Zb(n,t,s):Gb(n,s);h.delegationSelector=i?t:null,h.callable=s,h.oneOff=o,h.uidEvent=f,d[f]=h,n.addEventListener(l,h,i)}function Nc(n,e,t,r,o){const i=Ip(e[t],r,o);i&&(n.removeEventListener(t,i,!!o),delete e[t][i.uidEvent])}function Jb(n,e,t,r){const o=e[t]||{};for(const[i,s]of Object.entries(o))i.includes(r)&&Nc(n,e,t,s.callable,s.delegationSelector)}function Np(n){return n=n.replace(Kb,""),xp[n]||n}const se={on(n,e,t,r){_p(n,e,t,r,!1)},one(n,e,t,r){_p(n,e,t,r,!0)},off(n,e,t,r){if(typeof e!="string"||!n)return;const[o,i,s]=Op(e,t,r),l=s!==e,a=Mp(n),d=a[s]||{},u=e.startsWith(".");if(typeof i<"u"){if(!Object.keys(d).length)return;Nc(n,a,s,i,o?t:null);return}if(u)for(const f of Object.keys(a))Jb(n,a,f,e.slice(1));for(const[f,h]of Object.entries(d)){const p=f.replace(Qb,"");(!l||e.includes(p))&&Nc(n,a,s,h.callable,h.delegationSelector)}},trigger(n,e,t){if(typeof e!="string"||!n)return null;const r=wp(),o=Np(e),i=e!==o;let s=null,l=!0,a=!0,d=!1;i&&r&&(s=r.Event(e,t),r(n).trigger(s),l=!s.isPropagationStopped(),a=!s.isImmediatePropagationStopped(),d=s.isDefaultPrevented());const u=Lc(new Event(e,{bubbles:l,cancelable:!0}),t);return d&&u.preventDefault(),a&&n.dispatchEvent(u),u.defaultPrevented&&s&&s.preventDefault(),u}};function Lc(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 Lp(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 Dc(n){return n.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}const Cn={setDataAttribute(n,e,t){n.setAttribute(`data-bs-${Dc(e)}`,t)},removeDataAttribute(n,e){n.removeAttribute(`data-bs-${Dc(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]=Lp(n.dataset[r])}return e},getDataAttribute(n,e){return Lp(n.getAttribute(`data-bs-${Dc(e)}`))}};class qo{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=yn(t)?Cn.getDataAttribute(t,"config"):{};return{...this.constructor.Default,...typeof r=="object"?r:{},...yn(t)?Cn.getDataAttributes(t):{},...typeof e=="object"?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(const[r,o]of Object.entries(t)){const i=e[r],s=yn(i)?"element":zb(i);if(!new RegExp(o).test(s))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${r}" provided type "${s}" but expected type "${o}".`)}}}const Xb="5.3.0";class Gt extends qo{constructor(e,t){super(),e=Hn(e),e&&(this._element=e,this._config=this._getConfig(t),Tc.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Tc.remove(this._element,this.constructor.DATA_KEY),se.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,r=!0){Sp(e,t,r)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return Tc.get(Hn(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,typeof t=="object"?t:null)}static get VERSION(){return Xb}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 Bc=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 Ep(e)},ke={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=>!Un(t)&&oo(t))},getSelectorFromElement(n){const e=Bc(n);return e&&ke.findOne(e)?e:null},getElementFromSelector(n){const e=Bc(n);return e?ke.findOne(e):null},getMultipleElementsFromSelector(n){const e=Bc(n);return e?ke.find(e):[]}},Gs=(n,e="hide")=>{const t=`click.dismiss${n.EVENT_KEY}`,r=n.NAME;se.on(document,t,`[data-bs-dismiss="${r}"]`,function(o){if(["A","AREA"].includes(this.tagName)&&o.preventDefault(),Un(this))return;const i=ke.getElementFromSelector(this)||this.closest(`.${r}`);n.getOrCreateInstance(i)[e]()})},qb="alert",Dp=".bs.alert",eA=`close${Dp}`,tA=`closed${Dp}`,nA="fade",rA="show";class Zs extends Gt{static get NAME(){return qb}close(){if(se.trigger(this._element,eA).defaultPrevented)return;this._element.classList.remove(rA);const t=this._element.classList.contains(nA);this._queueCallback(()=>this._destroyElement(),this._element,t)}_destroyElement(){this._element.remove(),se.trigger(this._element,tA),this.dispose()}static jQueryInterface(e){return this.each(function(){const t=Zs.getOrCreateInstance(this);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e](this)}})}}Gs(Zs,"close"),Pt(Zs);const oA="button",iA=".bs.button",sA=".data-api",aA="active",Bp='[data-bs-toggle="button"]',lA=`click${iA}${sA}`;class Js extends Gt{static get NAME(){return oA}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(aA))}static jQueryInterface(e){return this.each(function(){const t=Js.getOrCreateInstance(this);e==="toggle"&&t[e]()})}}se.on(document,lA,Bp,n=>{n.preventDefault();const e=n.target.closest(Bp);Js.getOrCreateInstance(e).toggle()}),Pt(Js);const cA="swipe",io=".bs.swipe",dA=`touchstart${io}`,uA=`touchmove${io}`,fA=`touchend${io}`,hA=`pointerdown${io}`,pA=`pointerup${io}`,mA="touch",gA="pen",vA="pointer-event",yA=40,CA={endCallback:null,leftCallback:null,rightCallback:null},EA={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Xs extends qo{constructor(e,t){super(),this._element=e,!(!e||!Xs.isSupported())&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return CA}static get DefaultType(){return EA}static get NAME(){return cA}dispose(){se.off(this._element,io)}_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<=yA)return;const t=e/this._deltaX;this._deltaX=0,t&&bt(t>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(se.on(this._element,hA,e=>this._start(e)),se.on(this._element,pA,e=>this._end(e)),this._element.classList.add(vA)):(se.on(this._element,dA,e=>this._start(e)),se.on(this._element,uA,e=>this._move(e)),se.on(this._element,fA,e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&(e.pointerType===gA||e.pointerType===mA)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const bA="carousel",jn=".bs.carousel",Rp=".data-api",AA="ArrowLeft",wA="ArrowRight",SA=500,ei="next",so="prev",ao="left",qs="right",kA=`slide${jn}`,Rc=`slid${jn}`,xA=`keydown${jn}`,TA=`mouseenter${jn}`,MA=`mouseleave${jn}`,IA=`dragstart${jn}`,OA=`load${jn}${Rp}`,_A=`click${jn}${Rp}`,Pp="carousel",ea="active",NA="slide",LA="carousel-item-end",DA="carousel-item-start",BA="carousel-item-next",RA="carousel-item-prev",Vp=".active",Fp=".carousel-item",PA=Vp+Fp,VA=".carousel-item img",FA=".carousel-indicators",$A="[data-bs-slide], [data-bs-slide-to]",zA='[data-bs-ride="carousel"]',HA={[AA]:qs,[wA]:ao},UA={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},jA={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class ti extends Gt{constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=ke.findOne(FA,this._element),this._addEventListeners(),this._config.ride===Pp&&this.cycle()}static get Default(){return UA}static get DefaultType(){return jA}static get NAME(){return bA}next(){this._slide(ei)}nextWhenVisible(){!document.hidden&&oo(this._element)&&this.next()}prev(){this._slide(so)}pause(){this._isSliding&&bp(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){se.one(this._element,Rc,()=>this.cycle());return}this.cycle()}}to(e){const t=this._getItems();if(e>t.length-1||e<0)return;if(this._isSliding){se.one(this._element,Rc,()=>this.to(e));return}const r=this._getItemIndex(this._getActive());if(r===e)return;const o=e>r?ei:so;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&&se.on(this._element,xA,e=>this._keydown(e)),this._config.pause==="hover"&&(se.on(this._element,TA,()=>this.pause()),se.on(this._element,MA,()=>this._maybeEnableCycle())),this._config.touch&&Xs.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const r of ke.find(VA,this._element))se.on(r,IA,o=>o.preventDefault());const t={leftCallback:()=>this._slide(this._directionToOrder(ao)),rightCallback:()=>this._slide(this._directionToOrder(qs)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),SA+this._config.interval))}};this._swipeHelper=new Xs(this._element,t)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=HA[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=ke.findOne(Vp,this._indicatorsElement);t.classList.remove(ea),t.removeAttribute("aria-current");const r=ke.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);r&&(r.classList.add(ea),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===ei,i=t||Oc(this._getItems(),r,o,this._config.wrap);if(i===r)return;const s=this._getItemIndex(i),l=p=>se.trigger(this._element,p,{relatedTarget:i,direction:this._orderToDirection(e),from:this._getItemIndex(r),to:s});if(l(kA).defaultPrevented||!r||!i)return;const d=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(s),this._activeElement=i;const u=o?DA:LA,f=o?BA:RA;i.classList.add(f),Xo(i),r.classList.add(u),i.classList.add(u);const h=()=>{i.classList.remove(u,f),i.classList.add(ea),r.classList.remove(ea,f,u),this._isSliding=!1,l(Rc)};this._queueCallback(h,r,this._isAnimated()),d&&this.cycle()}_isAnimated(){return this._element.classList.contains(NA)}_getActive(){return ke.findOne(PA,this._element)}_getItems(){return ke.find(Fp,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return Rt()?e===ao?so:ei:e===ao?ei:so}_orderToDirection(e){return Rt()?e===so?ao:qs:e===so?qs:ao}static jQueryInterface(e){return this.each(function(){const t=ti.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]()}})}}se.on(document,_A,$A,function(n){const e=ke.getElementFromSelector(this);if(!e||!e.classList.contains(Pp))return;n.preventDefault();const t=ti.getOrCreateInstance(e),r=this.getAttribute("data-bs-slide-to");if(r){t.to(r),t._maybeEnableCycle();return}if(Cn.getDataAttribute(this,"slide")==="next"){t.next(),t._maybeEnableCycle();return}t.prev(),t._maybeEnableCycle()}),se.on(window,OA,()=>{const n=ke.find(zA);for(const e of n)ti.getOrCreateInstance(e)}),Pt(ti);const WA="collapse",ni=".bs.collapse",KA=".data-api",QA=`show${ni}`,YA=`shown${ni}`,GA=`hide${ni}`,ZA=`hidden${ni}`,JA=`click${ni}${KA}`,Pc="show",lo="collapse",ta="collapsing",XA="collapsed",qA=`:scope .${lo} .${lo}`,ew="collapse-horizontal",tw="width",nw="height",rw=".collapse.show, .collapse.collapsing",Vc='[data-bs-toggle="collapse"]',ow={parent:null,toggle:!0},iw={parent:"(null|element)",toggle:"boolean"};class ri extends Gt{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const r=ke.find(Vc);for(const o of r){const i=ke.getSelectorFromElement(o),s=ke.find(i).filter(l=>l===this._element);i!==null&&s.length&&this._triggerArray.push(o)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return ow}static get DefaultType(){return iw}static get NAME(){return WA}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(rw).filter(l=>l!==this._element).map(l=>ri.getOrCreateInstance(l,{toggle:!1}))),e.length&&e[0]._isTransitioning||se.trigger(this._element,QA).defaultPrevented)return;for(const l of e)l.hide();const r=this._getDimension();this._element.classList.remove(lo),this._element.classList.add(ta),this._element.style[r]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const o=()=>{this._isTransitioning=!1,this._element.classList.remove(ta),this._element.classList.add(lo,Pc),this._element.style[r]="",se.trigger(this._element,YA)},s=`scroll${r[0].toUpperCase()+r.slice(1)}`;this._queueCallback(o,this._element,!0),this._element.style[r]=`${this._element[s]}px`}hide(){if(this._isTransitioning||!this._isShown()||se.trigger(this._element,GA).defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,Xo(this._element),this._element.classList.add(ta),this._element.classList.remove(lo,Pc);for(const o of this._triggerArray){const i=ke.getElementFromSelector(o);i&&!this._isShown(i)&&this._addAriaAndCollapsedClass([o],!1)}this._isTransitioning=!0;const r=()=>{this._isTransitioning=!1,this._element.classList.remove(ta),this._element.classList.add(lo),se.trigger(this._element,ZA)};this._element.style[t]="",this._queueCallback(r,this._element,!0)}_isShown(e=this._element){return e.classList.contains(Pc)}_configAfterMerge(e){return e.toggle=!!e.toggle,e.parent=Hn(e.parent),e}_getDimension(){return this._element.classList.contains(ew)?tw:nw}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(Vc);for(const t of e){const r=ke.getElementFromSelector(t);r&&this._addAriaAndCollapsedClass([t],this._isShown(r))}}_getFirstLevelChildren(e){const t=ke.find(qA,this._config.parent);return ke.find(e,this._config.parent).filter(r=>!t.includes(r))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const r of e)r.classList.toggle(XA,!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=ri.getOrCreateInstance(this,t);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e]()}})}}se.on(document,JA,Vc,function(n){(n.target.tagName==="A"||n.delegateTarget&&n.delegateTarget.tagName==="A")&&n.preventDefault();for(const e of ke.getMultipleElementsFromSelector(this))ri.getOrCreateInstance(e,{toggle:!1}).toggle()}),Pt(ri);const $p="dropdown",Er=".bs.dropdown",Fc=".data-api",sw="Escape",zp="Tab",aw="ArrowUp",Hp="ArrowDown",lw=2,cw=`hide${Er}`,dw=`hidden${Er}`,uw=`show${Er}`,fw=`shown${Er}`,Up=`click${Er}${Fc}`,jp=`keydown${Er}${Fc}`,hw=`keyup${Er}${Fc}`,co="show",pw="dropup",mw="dropend",gw="dropstart",vw="dropup-center",yw="dropdown-center",br='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Cw=`${br}.${co}`,na=".dropdown-menu",Ew=".navbar",bw=".navbar-nav",Aw=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",ww=Rt()?"top-end":"top-start",Sw=Rt()?"top-start":"top-end",kw=Rt()?"bottom-end":"bottom-start",xw=Rt()?"bottom-start":"bottom-end",Tw=Rt()?"left-start":"right-start",Mw=Rt()?"right-start":"left-start",Iw="top",Ow="bottom",_w={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Nw={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class ln extends Gt{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=ke.next(this._element,na)[0]||ke.prev(this._element,na)[0]||ke.findOne(na,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return _w}static get DefaultType(){return Nw}static get NAME(){return $p}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Un(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!se.trigger(this._element,uw,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(bw))for(const r of[].concat(...document.body.children))se.on(r,"mouseover",Ys);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(co),this._element.classList.add(co),se.trigger(this._element,fw,e)}}hide(){if(Un(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(!se.trigger(this._element,cw,e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const r of[].concat(...document.body.children))se.off(r,"mouseover",Ys);this._popper&&this._popper.destroy(),this._menu.classList.remove(co),this._element.classList.remove(co),this._element.setAttribute("aria-expanded","false"),Cn.removeDataAttribute(this._menu,"popper"),se.trigger(this._element,dw,e)}}_getConfig(e){if(e=super._getConfig(e),typeof e.reference=="object"&&!yn(e.reference)&&typeof e.reference.getBoundingClientRect!="function")throw new TypeError(`${$p.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(typeof x1>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;this._config.reference==="parent"?e=this._parent:yn(this._config.reference)?e=Hn(this._config.reference):typeof this._config.reference=="object"&&(e=this._config.reference);const t=this._getPopperConfig();this._popper=ss(e,this._menu,t)}_isShown(){return this._menu.classList.contains(co)}_getPlacement(){const e=this._parent;if(e.classList.contains(mw))return Tw;if(e.classList.contains(gw))return Mw;if(e.classList.contains(vw))return Iw;if(e.classList.contains(yw))return Ow;const t=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return e.classList.contains(pw)?t?Sw:ww:t?xw:kw}_detectNavbar(){return this._element.closest(Ew)!==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")&&(Cn.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...bt(this._config.popperConfig,[e])}}_selectMenuItem({key:e,target:t}){const r=ke.find(Aw,this._menu).filter(o=>oo(o));r.length&&Oc(r,t,e===Hp,!r.includes(t)).focus()}static jQueryInterface(e){return this.each(function(){const t=ln.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===lw||e.type==="keyup"&&e.key!==zp)return;const t=ke.find(Cw);for(const r of t){const o=ln.getInstance(r);if(!o||o._config.autoClose===!1)continue;const i=e.composedPath(),s=i.includes(o._menu);if(i.includes(o._element)||o._config.autoClose==="inside"&&!s||o._config.autoClose==="outside"&&s||o._menu.contains(e.target)&&(e.type==="keyup"&&e.key===zp||/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===sw,o=[aw,Hp].includes(e.key);if(!o&&!r||t&&!r)return;e.preventDefault();const i=this.matches(br)?this:ke.prev(this,br)[0]||ke.next(this,br)[0]||ke.findOne(br,e.delegateTarget.parentNode),s=ln.getOrCreateInstance(i);if(o){e.stopPropagation(),s.show(),s._selectMenuItem(e);return}s._isShown()&&(e.stopPropagation(),s.hide(),i.focus())}}se.on(document,jp,br,ln.dataApiKeydownHandler),se.on(document,jp,na,ln.dataApiKeydownHandler),se.on(document,Up,ln.clearMenus),se.on(document,hw,ln.clearMenus),se.on(document,Up,br,function(n){n.preventDefault(),ln.getOrCreateInstance(this).toggle()}),Pt(ln);const Wp="backdrop",Lw="fade",Kp="show",Qp=`mousedown.bs.${Wp}`,Dw={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Bw={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Yp extends qo{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return Dw}static get DefaultType(){return Bw}static get NAME(){return Wp}show(e){if(!this._config.isVisible){bt(e);return}this._append();const t=this._getElement();this._config.isAnimated&&Xo(t),t.classList.add(Kp),this._emulateAnimation(()=>{bt(e)})}hide(e){if(!this._config.isVisible){bt(e);return}this._getElement().classList.remove(Kp),this._emulateAnimation(()=>{this.dispose(),bt(e)})}dispose(){this._isAppended&&(se.off(this._element,Qp),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(Lw),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=Hn(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),se.on(e,Qp,()=>{bt(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){Sp(e,this._getElement(),this._config.isAnimated)}}const Rw="focustrap",ra=".bs.focustrap",Pw=`focusin${ra}`,Vw=`keydown.tab${ra}`,Fw="Tab",$w="forward",Gp="backward",zw={autofocus:!0,trapElement:null},Hw={autofocus:"boolean",trapElement:"element"};class Zp extends qo{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return zw}static get DefaultType(){return Hw}static get NAME(){return Rw}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),se.off(document,ra),se.on(document,Pw,e=>this._handleFocusin(e)),se.on(document,Vw,e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,se.off(document,ra))}_handleFocusin(e){const{trapElement:t}=this._config;if(e.target===document||e.target===t||t.contains(e.target))return;const r=ke.focusableChildren(t);r.length===0?t.focus():this._lastTabNavDirection===Gp?r[r.length-1].focus():r[0].focus()}_handleKeydown(e){e.key===Fw&&(this._lastTabNavDirection=e.shiftKey?Gp:$w)}}const Jp=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Xp=".sticky-top",oa="padding-right",qp="margin-right";class $c{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,oa,t=>t+e),this._setElementAttributes(Jp,oa,t=>t+e),this._setElementAttributes(Xp,qp,t=>t-e)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,oa),this._resetElementAttributes(Jp,oa),this._resetElementAttributes(Xp,qp)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,r){const o=this.getWidth(),i=s=>{if(s!==this._element&&window.innerWidth>s.clientWidth+o)return;this._saveInitialAttribute(s,t);const l=window.getComputedStyle(s).getPropertyValue(t);s.style.setProperty(t,`${r(Number.parseFloat(l))}px`)};this._applyManipulationCallback(e,i)}_saveInitialAttribute(e,t){const r=e.style.getPropertyValue(t);r&&Cn.setDataAttribute(e,t,r)}_resetElementAttributes(e,t){const r=o=>{const i=Cn.getDataAttribute(o,t);if(i===null){o.style.removeProperty(t);return}Cn.removeDataAttribute(o,t),o.style.setProperty(t,i)};this._applyManipulationCallback(e,r)}_applyManipulationCallback(e,t){if(yn(e)){t(e);return}for(const r of ke.find(e,this._element))t(r)}}const Uw="modal",Vt=".bs.modal",jw=".data-api",Ww="Escape",Kw=`hide${Vt}`,Qw=`hidePrevented${Vt}`,e0=`hidden${Vt}`,t0=`show${Vt}`,Yw=`shown${Vt}`,Gw=`resize${Vt}`,Zw=`click.dismiss${Vt}`,Jw=`mousedown.dismiss${Vt}`,Xw=`keydown.dismiss${Vt}`,qw=`click${Vt}${jw}`,n0="modal-open",eS="fade",r0="show",zc="modal-static",tS=".modal.show",nS=".modal-dialog",rS=".modal-body",oS='[data-bs-toggle="modal"]',iS={backdrop:!0,focus:!0,keyboard:!0},sS={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Wn extends Gt{constructor(e,t){super(e,t),this._dialog=ke.findOne(nS,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new $c,this._addEventListeners()}static get Default(){return iS}static get DefaultType(){return sS}static get NAME(){return Uw}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||se.trigger(this._element,t0,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(n0),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){!this._isShown||this._isTransitioning||se.trigger(this._element,Kw).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(r0),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){se.off(window,Vt),se.off(this._dialog,Vt),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Yp({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Zp({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=ke.findOne(rS,this._dialog);t&&(t.scrollTop=0),Xo(this._element),this._element.classList.add(r0);const r=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,se.trigger(this._element,Yw,{relatedTarget:e})};this._queueCallback(r,this._dialog,this._isAnimated())}_addEventListeners(){se.on(this._element,Xw,e=>{if(e.key===Ww){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),se.on(window,Gw,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),se.on(this._element,Jw,e=>{se.one(this._element,Zw,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(n0),this._resetAdjustments(),this._scrollBar.reset(),se.trigger(this._element,e0)})}_isAnimated(){return this._element.classList.contains(eS)}_triggerBackdropTransition(){if(se.trigger(this._element,Qw).defaultPrevented)return;const t=this._element.scrollHeight>document.documentElement.clientHeight,r=this._element.style.overflowY;r==="hidden"||this._element.classList.contains(zc)||(t||(this._element.style.overflowY="hidden"),this._element.classList.add(zc),this._queueCallback(()=>{this._element.classList.remove(zc),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=Rt()?"paddingLeft":"paddingRight";this._element.style[o]=`${t}px`}if(!r&&e){const o=Rt()?"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=Wn.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e](t)}})}}se.on(document,qw,oS,function(n){const e=ke.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&n.preventDefault(),se.one(e,t0,o=>{o.defaultPrevented||se.one(e,e0,()=>{oo(this)&&this.focus()})});const t=ke.findOne(tS);t&&Wn.getInstance(t).hide(),Wn.getOrCreateInstance(e).toggle(this)}),Gs(Wn),Pt(Wn);const aS="offcanvas",En=".bs.offcanvas",o0=".data-api",lS=`load${En}${o0}`,cS="Escape",i0="show",s0="showing",a0="hiding",dS="offcanvas-backdrop",l0=".offcanvas.show",uS=`show${En}`,fS=`shown${En}`,hS=`hide${En}`,c0=`hidePrevented${En}`,d0=`hidden${En}`,pS=`resize${En}`,mS=`click${En}${o0}`,gS=`keydown.dismiss${En}`,vS='[data-bs-toggle="offcanvas"]',yS={backdrop:!0,keyboard:!0,scroll:!1},CS={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Kn extends Gt{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return yS}static get DefaultType(){return CS}static get NAME(){return aS}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown||se.trigger(this._element,uS,{relatedTarget:e}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new $c().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(s0);const r=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(i0),this._element.classList.remove(s0),se.trigger(this._element,fS,{relatedTarget:e})};this._queueCallback(r,this._element,!0)}hide(){if(!this._isShown||se.trigger(this._element,hS).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(a0),this._backdrop.hide();const t=()=>{this._element.classList.remove(i0,a0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new $c().reset(),se.trigger(this._element,d0)};this._queueCallback(t,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=()=>{if(this._config.backdrop==="static"){se.trigger(this._element,c0);return}this.hide()},t=!!this._config.backdrop;return new Yp({className:dS,isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?e:null})}_initializeFocusTrap(){return new Zp({trapElement:this._element})}_addEventListeners(){se.on(this._element,gS,e=>{if(e.key===cS){if(this._config.keyboard){this.hide();return}se.trigger(this._element,c0)}})}static jQueryInterface(e){return this.each(function(){const t=Kn.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)}})}}se.on(document,mS,vS,function(n){const e=ke.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),Un(this))return;se.one(e,d0,()=>{oo(this)&&this.focus()});const t=ke.findOne(l0);t&&t!==e&&Kn.getInstance(t).hide(),Kn.getOrCreateInstance(e).toggle(this)}),se.on(window,lS,()=>{for(const n of ke.find(l0))Kn.getOrCreateInstance(n).show()}),se.on(window,pS,()=>{for(const n of ke.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(n).position!=="fixed"&&Kn.getOrCreateInstance(n).hide()}),Gs(Kn),Pt(Kn);const u0={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],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:[]},ES=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),bS=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,AS=(n,e)=>{const t=n.nodeName.toLowerCase();return e.includes(t)?ES.has(t)?!!bS.test(n.nodeValue):!0:e.filter(r=>r instanceof RegExp).some(r=>r.test(t))};function wS(n,e,t){if(!n.length)return n;if(t&&typeof t=="function")return t(n);const o=new window.DOMParser().parseFromString(n,"text/html"),i=[].concat(...o.body.querySelectorAll("*"));for(const s of i){const l=s.nodeName.toLowerCase();if(!Object.keys(e).includes(l)){s.remove();continue}const a=[].concat(...s.attributes),d=[].concat(e["*"]||[],e[l]||[]);for(const u of a)AS(u,d)||s.removeAttribute(u.nodeName)}return o.body.innerHTML}const SS="TemplateFactory",kS={allowList:u0,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},xS={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},TS={entry:"(string|element|function|null)",selector:"(string|element)"};class MS extends qo{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return kS}static get DefaultType(){return xS}static get NAME(){return SS}getContent(){return Object.values(this._config.content).map(e=>this._resolvePossibleFunction(e)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){const e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(const[o,i]of Object.entries(this._config.content))this._setContent(e,i,o);const t=e.children[0],r=this._resolvePossibleFunction(this._config.extraClass);return r&&t.classList.add(...r.split(" ")),t}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[t,r]of Object.entries(e))super._typeCheckConfig({selector:t,entry:r},TS)}_setContent(e,t,r){const o=ke.findOne(r,e);if(o){if(t=this._resolvePossibleFunction(t),!t){o.remove();return}if(yn(t)){this._putElementInTemplate(Hn(t),o);return}if(this._config.html){o.innerHTML=this._maybeSanitize(t);return}o.textContent=t}}_maybeSanitize(e){return this._config.sanitize?wS(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 IS="tooltip",OS=new Set(["sanitize","allowList","sanitizeFn"]),Hc="fade",_S="modal",ia="show",NS=".tooltip-inner",f0=`.${_S}`,h0="hide.bs.modal",oi="hover",Uc="focus",LS="click",DS="manual",BS="hide",RS="hidden",PS="show",VS="shown",FS="inserted",$S="click",zS="focusin",HS="focusout",US="mouseenter",jS="mouseleave",WS={AUTO:"auto",TOP:"top",RIGHT:Rt()?"left":"right",BOTTOM:"bottom",LEFT:Rt()?"right":"left"},KS={allowList:u0,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"},QS={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 Ar extends Gt{constructor(e,t){if(typeof x1>"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 KS}static get DefaultType(){return QS}static get NAME(){return IS}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),se.off(this._element.closest(f0),h0,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=se.trigger(this._element,this.constructor.eventName(PS)),r=(Ap(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!r)return;this._disposePopper();const o=this._getTipElement();this._element.setAttribute("aria-describedby",o.getAttribute("id"));const{container:i}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(i.append(o),se.trigger(this._element,this.constructor.eventName(FS))),this._popper=this._createPopper(o),o.classList.add(ia),"ontouchstart"in document.documentElement)for(const l of[].concat(...document.body.children))se.on(l,"mouseover",Ys);const s=()=>{se.trigger(this._element,this.constructor.eventName(VS)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(s,this.tip,this._isAnimated())}hide(){if(!this._isShown()||se.trigger(this._element,this.constructor.eventName(BS)).defaultPrevented)return;if(this._getTipElement().classList.remove(ia),"ontouchstart"in document.documentElement)for(const o of[].concat(...document.body.children))se.off(o,"mouseover",Ys);this._activeTrigger[LS]=!1,this._activeTrigger[Uc]=!1,this._activeTrigger[oi]=!1,this._isHovered=null;const r=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),se.trigger(this._element,this.constructor.eventName(RS)))};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(Hc,ia),t.classList.add(`bs-${this.constructor.NAME}-auto`);const r=Hb(this.constructor.NAME).toString();return t.setAttribute("id",r),this._isAnimated()&&t.classList.add(Hc),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new MS({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[NS]: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(Hc)}_isShown(){return this.tip&&this.tip.classList.contains(ia)}_createPopper(e){const t=bt(this._config.placement,[this,e,this._element]),r=WS[t.toUpperCase()];return ss(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")se.on(this._element,this.constructor.eventName($S),this._config.selector,r=>{this._initializeOnDelegatedTarget(r).toggle()});else if(t!==DS){const r=t===oi?this.constructor.eventName(US):this.constructor.eventName(zS),o=t===oi?this.constructor.eventName(jS):this.constructor.eventName(HS);se.on(this._element,r,this._config.selector,i=>{const s=this._initializeOnDelegatedTarget(i);s._activeTrigger[i.type==="focusin"?Uc:oi]=!0,s._enter()}),se.on(this._element,o,this._config.selector,i=>{const s=this._initializeOnDelegatedTarget(i);s._activeTrigger[i.type==="focusout"?Uc:oi]=s._element.contains(i.relatedTarget),s._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},se.on(this._element.closest(f0),h0,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=Cn.getDataAttributes(this._element);for(const r of Object.keys(t))OS.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:Hn(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=Ar.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e]()}})}}Pt(Ar);const YS="popover",GS=".popover-header",ZS=".popover-body",JS={...Ar.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"},XS={...Ar.DefaultType,content:"(null|string|element|function)"};class uo extends Ar{static get Default(){return JS}static get DefaultType(){return XS}static get NAME(){return YS}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[GS]:this._getTitle(),[ZS]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each(function(){const t=uo.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e]()}})}}Pt(uo);const qS="scrollspy",jc=".bs.scrollspy",ek=".data-api",tk=`activate${jc}`,p0=`click${jc}`,nk=`load${jc}${ek}`,rk="dropdown-item",fo="active",ok='[data-bs-spy="scroll"]',Wc="[href]",ik=".nav, .list-group",m0=".nav-link",sk=`${m0}, .nav-item > ${m0}, .list-group-item`,ak=".dropdown",lk=".dropdown-toggle",ck={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},dk={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class sa extends Gt{constructor(e,t){super(e,t),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return ck}static get DefaultType(){return dk}static get NAME(){return qS}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=Hn(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&&(se.off(this._config.target,p0),se.on(this._config.target,p0,Wc,e=>{const t=this._observableSections.get(e.target.hash);if(t){e.preventDefault();const r=this._rootElement||window,o=t.offsetTop-this._element.offsetTop;if(r.scrollTo){r.scrollTo({top:o,behavior:"smooth"});return}r.scrollTop=o}}))}_getNewObserver(){const e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(t=>this._observerCallback(t),e)}_observerCallback(e){const t=s=>this._targetLinks.get(`#${s.target.id}`),r=s=>{this._previousScrollData.visibleEntryTop=s.target.offsetTop,this._process(t(s))},o=(this._rootElement||document.documentElement).scrollTop,i=o>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=o;for(const s of e){if(!s.isIntersecting){this._activeTarget=null,this._clearActiveClass(t(s));continue}const l=s.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(i&&l){if(r(s),!o)return;continue}!i&&!l&&r(s)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=ke.find(Wc,this._config.target);for(const t of e){if(!t.hash||Un(t))continue;const r=ke.findOne(decodeURI(t.hash),this._element);oo(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(fo),this._activateParents(e),se.trigger(this._element,tk,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains(rk)){ke.findOne(lk,e.closest(ak)).classList.add(fo);return}for(const t of ke.parents(e,ik))for(const r of ke.prev(t,sk))r.classList.add(fo)}_clearActiveClass(e){e.classList.remove(fo);const t=ke.find(`${Wc}.${fo}`,e);for(const r of t)r.classList.remove(fo)}static jQueryInterface(e){return this.each(function(){const t=sa.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]()}})}}se.on(window,nk,()=>{for(const n of ke.find(ok))sa.getOrCreateInstance(n)}),Pt(sa);const uk="tab",wr=".bs.tab",fk=`hide${wr}`,hk=`hidden${wr}`,pk=`show${wr}`,mk=`shown${wr}`,gk=`click${wr}`,vk=`keydown${wr}`,yk=`load${wr}`,Ck="ArrowLeft",g0="ArrowRight",Ek="ArrowUp",v0="ArrowDown",Sr="active",y0="fade",Kc="show",bk="dropdown",Ak=".dropdown-toggle",wk=".dropdown-menu",Qc=":not(.dropdown-toggle)",Sk='.list-group, .nav, [role="tablist"]',kk=".nav-item, .list-group-item",xk=`.nav-link${Qc}, .list-group-item${Qc}, [role="tab"]${Qc}`,C0='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Yc=`${xk}, ${C0}`,Tk=`.${Sr}[data-bs-toggle="tab"], .${Sr}[data-bs-toggle="pill"], .${Sr}[data-bs-toggle="list"]`;class ho extends Gt{constructor(e){super(e),this._parent=this._element.closest(Sk),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),se.on(this._element,vk,t=>this._keydown(t)))}static get NAME(){return uk}show(){const e=this._element;if(this._elemIsActive(e))return;const t=this._getActiveElem(),r=t?se.trigger(t,fk,{relatedTarget:e}):null;se.trigger(e,pk,{relatedTarget:t}).defaultPrevented||r&&r.defaultPrevented||(this._deactivate(t,e),this._activate(e,t))}_activate(e,t){if(!e)return;e.classList.add(Sr),this._activate(ke.getElementFromSelector(e));const r=()=>{if(e.getAttribute("role")!=="tab"){e.classList.add(Kc);return}e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),se.trigger(e,mk,{relatedTarget:t})};this._queueCallback(r,e,e.classList.contains(y0))}_deactivate(e,t){if(!e)return;e.classList.remove(Sr),e.blur(),this._deactivate(ke.getElementFromSelector(e));const r=()=>{if(e.getAttribute("role")!=="tab"){e.classList.remove(Kc);return}e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),se.trigger(e,hk,{relatedTarget:t})};this._queueCallback(r,e,e.classList.contains(y0))}_keydown(e){if(![Ck,g0,Ek,v0].includes(e.key))return;e.stopPropagation(),e.preventDefault();const t=[g0,v0].includes(e.key),r=Oc(this._getChildren().filter(o=>!Un(o)),e.target,t,!0);r&&(r.focus({preventScroll:!0}),ho.getOrCreateInstance(r).show())}_getChildren(){return ke.find(Yc,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=ke.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(bk))return;const o=(i,s)=>{const l=ke.findOne(i,r);l&&l.classList.toggle(s,t)};o(Ak,Sr),o(wk,Kc),r.setAttribute("aria-expanded",t)}_setAttributeIfNotExists(e,t,r){e.hasAttribute(t)||e.setAttribute(t,r)}_elemIsActive(e){return e.classList.contains(Sr)}_getInnerElement(e){return e.matches(Yc)?e:ke.findOne(Yc,e)}_getOuterElement(e){return e.closest(kk)||e}static jQueryInterface(e){return this.each(function(){const t=ho.getOrCreateInstance(this);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()}})}}se.on(document,gk,C0,function(n){["A","AREA"].includes(this.tagName)&&n.preventDefault(),!Un(this)&&ho.getOrCreateInstance(this).show()}),se.on(window,yk,()=>{for(const n of ke.find(Tk))ho.getOrCreateInstance(n)}),Pt(ho);const Mk="toast",Qn=".bs.toast",Ik=`mouseover${Qn}`,Ok=`mouseout${Qn}`,_k=`focusin${Qn}`,Nk=`focusout${Qn}`,Lk=`hide${Qn}`,Dk=`hidden${Qn}`,Bk=`show${Qn}`,Rk=`shown${Qn}`,Pk="fade",E0="hide",aa="show",la="showing",Vk={animation:"boolean",autohide:"boolean",delay:"number"},Fk={animation:!0,autohide:!0,delay:5e3};class po extends Gt{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Fk}static get DefaultType(){return Vk}static get NAME(){return Mk}show(){if(se.trigger(this._element,Bk).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(Pk);const t=()=>{this._element.classList.remove(la),se.trigger(this._element,Rk),this._maybeScheduleHide()};this._element.classList.remove(E0),Xo(this._element),this._element.classList.add(aa,la),this._queueCallback(t,this._element,this._config.animation)}hide(){if(!this.isShown()||se.trigger(this._element,Lk).defaultPrevented)return;const t=()=>{this._element.classList.add(E0),this._element.classList.remove(la,aa),se.trigger(this._element,Dk)};this._element.classList.add(la),this._queueCallback(t,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(aa),super.dispose()}isShown(){return this._element.classList.contains(aa)}_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(){se.on(this._element,Ik,e=>this._onInteraction(e,!0)),se.on(this._element,Ok,e=>this._onInteraction(e,!1)),se.on(this._element,_k,e=>this._onInteraction(e,!0)),se.on(this._element,Nk,e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const t=po.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e](this)}})}}Gs(po),Pt(po);const $k=["id"],zk={key:0,class:"toast-body__title"},Hk={class:"actions"},Uk=["textContent"],jk=["textContent"],Wk={class:"icon-wrapper"},Kk=["textContent"],Qk=["textContent"],b0=3e4,A0=5e3,w0=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),i=null,s=null;const l=c.computed(()=>{let A="video-call-toast";return t.id&&(A+=`-${t.id}`),A}),a=c.computed(()=>r.value?[r.value?"is-handled":Ne,o.value?"is-handled--success":Ne,t.canceled?"is-handled--canceled":Ne].join(" "):Ne),d=c.computed(()=>t.canceled?t.localization.videoCallCanceled:o.value?t.localization.videoCallAccepted:t.localization.videoCallRejected),u=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 A=l.value,w=document.querySelector(`#${A}`);if(w){w.addEventListener("hide.bs.toast",b);var y={autohide:!0,delay:b0+A0};s=po.getOrCreateInstance(w,y),s.show(),i=window.setTimeout(h,b0)}};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(i),window.setTimeout(()=>s.hide(),A0)},b=()=>{r.value=!1,o.value=!1};return(A,w)=>(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",zk,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",Wk,[c.createVNode(ai)]),c.createElementVNode("div",null,[c.createElementVNode("p",{textContent:c.toDisplayString(d.value),class:"title"},null,8,Kk),c.createElementVNode("p",{textContent:c.toDisplayString(u.value)},null,8,Qk)])],64)):(c.openBlock(),c.createElementBlock(c.Fragment,{key:0},[c.createVNode(La,{value:A.contactInfoReceiver},null,8,["value"]),c.createElementVNode("div",Hk,[c.createVNode(He,{variant:"danger",class:"text-center",onClick:p},{default:c.withCtx(()=>[c.createVNode(ma),c.createElementVNode("span",{textContent:c.toDisplayString(t.localization.rejectVideoCall)},null,8,Uk)]),_:1}),c.createVNode(He,{variant:"success",class:"text-center",onClick:g},{default:c.withCtx(()=>[c.createVNode(ai),c.createElementVNode("span",{textContent:c.toDisplayString(t.localization.acceptVideoCall)},null,8,jk)]),_:1})])],64))],2)],8,$k))}});function ca(n=void 0){const e=l=>i("Succesvol",l,Ir.SUCCESS),t=l=>i("Waarschuwing",l,Ir.WARNING),r=l=>i("Informatie",l,Ir.INFO),o=l=>i("Mislukt",l,Ir.DANGER);function i(l,a,d){const u=`toast-${iu()}`,f={id:u,variant:d,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(Na,f),g=c.createApp({render:()=>p}).mount(document.createElement("div"));h.appendChild(g.$el);const v=document.querySelector(`#${u}`);v&&(po.getOrCreateInstance(v,n).show(),s(v))}function s(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 d=new MutationObserver(a),u={attributes:!0};d.observe(l,u)}return{showSuccessToast:e,showInformationToast:r,showWarningToast:t,showDangerToast:o}}const{showDangerToast:Yk}=ca();function Gc(n){const e=c.ref(null),t=(a,d="serverErrors")=>{var f;let u=[];if(Array.isArray((f=a==null?void 0:a.response)==null?void 0:f.data)?u=a.response.data.filter(h=>gi(h.ErrorMessage)&&h.ErrorMessage!==Ne):a.response.data.ErrorMessage?u=[a.response.data.ErrorMessage]:u=null,gi(d))e.value=u;else if(Array.isArray(d)){let h=e.value;for(let p=0;p<d.length;p++)p===d.length-1?h[d[p]]=u:h=h[d[p]]}r(a),s(e)},r=a=>{if(n==null)return;const u=new URL(a.request.responseURL).pathname;if(u in n.error){const f=n.error[u];f&&Yk(f)}},o=c.ref(null),i=c.ref(""),s=a=>{B6(a.value)?o.value=a.value.map(d=>gi(d)?d:d.ErrorMessage):gi(a.value)&&(i.value=a.value)};function l(){e.value=null,o.value=null,i.value=Ne}return{serverErrors:e,errorMessages:o,errorMessageText:i,MapErrors:s,MapServerErrors:t,ResetServerErrors:l}}const S0=()=>({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}}),Gk={class:"template change-password-template"},Zk={class:"template-title"},Jk={key:0},Xk={key:1},qk=["onSubmit","onReset"],ex={class:"bd-form-field"},tx={class:"bd-form-field"},nx={class:"bd-form-field"},rx={class:"bd-form-buttons"},k0=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}=ca(),{errorMessages:o,errorMessageText:i,MapServerErrors:s,ResetServerErrors:l}=Gc(null),{ValidationObjectIsValid:a}=S0();let d=c.ref({password:Ne,passwordNew:Ne,passwordRepeat:Ne}),u=c.ref({password:{state:null,errorLabel:Ne},passwordNew:{state:null,errorLabel:Ne},passwordRepeat:{state:null,errorLabel:Ne}});const f=()=>{if(!h())return;const g=e.submitPassword(d.value);g&&g.then(()=>{r(e.successText),p()}).catch(v=>{t(e.failureText),s(v)})},h=()=>{const m=/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[@$!%*?&])[A-Za-z\d@$!%*?&]{8,}$/;if(d.value.passwordNew&&!m.test(d.value.passwordNew))u.value.passwordNew.state=!1,u.value.passwordNew.errorLabel=e.minimalRequirementsText;else{const g=d.value.passwordRepeat===d.value.passwordNew,v=g?e.requiredText:e.incompatibleText;u.value.passwordNew.state=d.value.passwordNew!==Ne&&g?null:!1,u.value.passwordNew.errorLabel=v,u.value.passwordRepeat.state=d.value.passwordRepeat!==Ne&&g?null:!1,u.value.passwordRepeat.errorLabel=v}return u.value.password.state=d.value.password!==Ne?null:!1,u.value.password.errorLabel=u.value.password.state?Ne:e.requiredText,a(u.value)},p=()=>{d.value.password=Ne,d.value.passwordNew=Ne,d.value.passwordRepeat=Ne,u.value.password.state=null,u.value.passwordNew.state=null,u.value.passwordRepeat.state=null,l()};return(m,g)=>(c.openBlock(),c.createElementBlock("main",Gk,[c.createVNode(si,{class:"container-xl"},{default:c.withCtx(()=>[c.createVNode(Jn,{class:"justify-content-md-center template-header"},{default:c.withCtx(()=>[c.createVNode(Zn,{xs:12,md:10,lg:7},{default:c.withCtx(()=>[c.createElementVNode("h1",Zk,c.toDisplayString(e.templateTitle),1)]),_:1})]),_:1}),c.createVNode(Jn,{class:"justify-content-md-center"},{default:c.withCtx(()=>[c.createVNode(Zn,{xs:12,md:10,lg:7},{default:c.withCtx(()=>[c.createVNode(pi,{class:"bd-card-template","no-header":!0},{body:c.withCtx(()=>[c.createVNode(si,{class:"container-fluid"},{default:c.withCtx(()=>[c.createVNode(Jn,null,{default:c.withCtx(()=>[c.createVNode(Zn,null,{default:c.withCtx(()=>[c.createVNode(yo,{variant:"warning"},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(m.alertText),1)]),_:1})]),_:1})]),_:1}),c.unref(o)||c.unref(i)?(c.openBlock(),c.createBlock(Jn,{key:0},{default:c.withCtx(()=>[c.createVNode(Zn,null,{default:c.withCtx(()=>[c.createVNode(yo,{variant:"danger"},{default:c.withCtx(()=>[c.unref(o)?(c.openBlock(),c.createElementBlock("div",Jk,[c.createElementVNode("ul",null,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(c.unref(o),(v,b)=>(c.openBlock(),c.createElementBlock("li",{key:b},[c.createVNode(qn),c.createElementVNode("span",null,c.toDisplayString(v),1)]))),128))])])):(c.openBlock(),c.createElementBlock("div",Xk,c.toDisplayString(c.unref(i)),1))]),_:1})]),_:1})]),_:1})):c.createCommentVNode("",!0),c.createVNode(Jn,null,{default:c.withCtx(()=>[c.createVNode(Zn,{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",ex,[c.createVNode(nr,{modelValue:c.unref(d).password,"onUpdate:modelValue":g[0]||(g[0]=v=>c.unref(d).password=v),label:m.currentPasswordLabel,state:c.unref(u).password.state,type:"password","invalid-feedback-text":c.unref(u).password.errorLabel},null,8,["modelValue","label","state","invalid-feedback-text"])]),c.createElementVNode("div",tx,[c.createVNode(nr,{modelValue:c.unref(d).passwordNew,"onUpdate:modelValue":g[1]||(g[1]=v=>c.unref(d).passwordNew=v),label:m.newPasswordLabel,state:c.unref(u).passwordNew.state,type:"password","invalid-feedback-text":c.unref(u).passwordNew.errorLabel},null,8,["modelValue","label","state","invalid-feedback-text"])]),c.createElementVNode("div",nx,[c.createVNode(nr,{modelValue:c.unref(d).passwordRepeat,"onUpdate:modelValue":g[2]||(g[2]=v=>c.unref(d).passwordRepeat=v),label:m.confirmNewPasswordLabel,state:c.unref(u).passwordRepeat.state,type:"password","invalid-feedback-text":c.unref(u).passwordRepeat.errorLabel},null,8,["modelValue","label","state","invalid-feedback-text"])]),c.createElementVNode("div",rx,[c.createVNode(He,{type:"submit"},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(m.submitButtonText),1)]),_:1}),c.createVNode(He,{type:"reset",variant:"link"},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(m.cancelButtonText),1)]),_:1})])],40,qk)]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]))}}),Zc=c.defineComponent({__name:"BDDropdown",props:{size:{default:lt.MD},variant:{default:ui.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}=Mr(),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})),i=c.computed(()=>({"dropdown-menu-end":e.right,"dropdown-menu-action":e.actionToggle})),s=c.computed(()=>({"aria-labelledby":r})),l=c.ref(),a=c.ref(),d=()=>{l.value.classList.remove("show"),a.value.classList.remove("show"),a.value.removeAttribute("aria-expanded")};return(u,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",i.value]},s.value,{onClick:d}),[c.renderSlot(u.$slots,"default")],16)]))}}),ox={class:"row bd-header"},ix={class:"col logo-mix"},sx=["src","alt"],ax=c.createElementVNode("div",null,"Menu",-1),lx={key:0,class:"col header-options"},cx={class:"col bd-btn-settings"},x0=c.defineComponent({__name:"BDHeader",props:{dropdownMenuTitle:{},dropdownOptions:{},headerOptions:{},profileImageSrc:{},profileImageAlt:{},organizationLogoSrc:{},organizationLogoAlt:{}},emits:["click","signout"],setup(n,{emit:e}){const t=n,r=c.computed(()=>{let d=[];return t.headerOptions&&(d=d.concat(t.headerOptions)),t.dropdownOptions&&(d=d.concat(t.dropdownOptions)),d}),o=c.ref(void 0),i=()=>e("click"),s=()=>e("signout"),l=()=>o.value=!0,a=()=>o.value=!1;return(d,u)=>(c.openBlock(),c.createElementBlock(c.Fragment,null,[c.createElementVNode("nav",ox,[c.createElementVNode("div",ix,[c.createVNode(fa,{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,sx)):c.createCommentVNode("",!0)]),c.createElementVNode("div",{class:"col bd-hamburger",onClick:l},[ax,c.createVNode(Aa)]),t.headerOptions&&t.headerOptions.length!==0?(c.openBlock(),c.createElementBlock("div",lx,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(t.headerOptions,f=>(c.openBlock(),c.createBlock(He,{class:"btn-header",to:f.to},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(f.text),1)]),_:2},1032,["to"]))),256))])):c.createCommentVNode("",!0),c.createElementVNode("div",cx,[c.renderSlot(d.$slots,"profile-side"),t.profileImageSrc?(c.openBlock(),c.createBlock(Co,{key:0,src:t.profileImageSrc,alt:t.profileImageAlt,size:"sm"},null,8,["src","alt"])):c.createCommentVNode("",!0),c.createVNode(Zc,{text:t.dropdownMenuTitle,variant:"primary",toggleTag:"a",right:!0},{default:c.withCtx(()=>[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(t.dropdownOptions,(f,h)=>(c.openBlock(),c.createBlock(yi,c.mergeProps({key:h},f),null,16))),128)),c.createVNode(yi,{text:"Uitloggen",onClick:s})]),_:1},8,["text"])])]),c.createVNode(xc,{active:o.value,options:r.value,onHide:a,onSignout:s},{"special-options":c.withCtx(()=>[c.renderSlot(d.$slots,"mobile-menu-special-options")]),_:3},8,["active","options"])],64))}}),dx={class:"modal-dialog"},ux={class:"modal-content"},fx={class:"modal-header"},hx={class:"modal-title"},px=["src"],mx=c.createElementVNode("span",null,"Sluiten",-1),gx={class:"modal-body"},vx={key:0,class:"modal-footer"},yx=["disabled"],ii=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"),i=()=>e("cancel");return(s,l)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(r.value),tabindex:"-1"},[c.createElementVNode("div",dx,[c.createElementVNode("div",ux,[c.createElementVNode("div",fx,[c.createElementVNode("h2",hx,[t.titleImage?(c.openBlock(),c.createElementBlock("img",{key:0,src:t.titleImage,class:"title-image",alt:""},null,8,px)):c.createCommentVNode("",!0),c.createElementVNode("span",null,c.toDisplayString(t.title),1)]),c.renderSlot(s.$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:i},[mx,c.createVNode(c.unref(li))]))]),c.createElementVNode("div",gx,[c.renderSlot(s.$slots,"default")]),s.hideFooter?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",vx,[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,yx)),c.renderSlot(s.$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:i,"aria-label":"Annuleren"},c.toDisplayString(t.closeButtonTitle),1))]))])])],2))}}),da=n=>{const e=c.ref(null);return{showModal:()=>{const o=document.getElementById(n);o instanceof HTMLElement?(e.value=Wn.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 i=Wn.getInstance(o);i&&i.hide()}}}};function T0(){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 d=document.querySelector("#image-attachment-modal"),u=document.querySelector(".image-preview-image-holder");d&&(d.style.cursor="grabbing"),u&&(u.style.cursor="grabbing"),r.value.x=a.clientX,r.value.y=a.clientY,e.value=!0},OnMouseMove:a=>{if(e.value){const d=a.clientX-r.value.x,u=a.clientY-r.value.y;t.value&&(t.value.scrollTop=r.value.top-u,t.value.scrollLeft=r.value.left-d)}},OnMouseUp:()=>{const a=document.querySelector("#image-attachment-modal"),d=document.querySelector(".image-preview-image-holder");a&&a.style&&(a.style.cursor=""),d&&d.style&&(d.style.cursor="grab"),e.value=!1}}}const Cx=["src","alt"],Ex={key:0,class:"show-spinner"},bx={class:"spinner-border text-primary",role:"status"},Ax={class:"visually-hidden"},wx=["href"],M0=c.defineComponent({__name:"BDImageAttachmentModal",props:["loadingText","downloadText"],setup(n,{expose:e}){const t=n,{showModal:r}=da("image-attachment-modal"),{zoom:o,imageHolderRef:i,SetZoom:s,OnMouseDown:l,OnMouseMove:a,OnMouseUp:d}=T0(),u=c.ref(!0),f=c.ref({BerichtId:0,Id:void 0,MimeType:null,Naam:Ne,altName:Ne,downloadUrl:Ne,fullImageUrl:Ne,previewUrl:Ne});e({Show:g=>{f.value=g,o.value=0,r()}});const p=()=>{u.value=!1},m=()=>{f.value={BerichtId:0,Id:void 0,MimeType:null,Naam:Ne,altName:Ne,downloadUrl:Ne,fullImageUrl:Ne,previewUrl:Ne}};return(g,v)=>(c.openBlock(),c.createBlock(ii,{id:"image-attachment-modal",class:c.normalizeClass(c.unref(Ne)),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:i,onMousedown:v[0]||(v[0]=(...b)=>c.unref(l)&&c.unref(l)(...b)),onMousemove:v[1]||(v[1]=(...b)=>c.unref(a)&&c.unref(a)(...b)),onMouseup:v[2]||(v[2]=(...b)=>c.unref(d)&&c.unref(d)(...b))},[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(s)]),onLoad:p,draggable:!1},null,42,Cx)):c.createCommentVNode("",!0)],544),u.value?(c.openBlock(),c.createElementBlock("div",Ex,[c.createElementVNode("div",bx,[c.createElementVNode("span",Ax,c.toDisplayString(t.loadingText),1)])])):c.createCommentVNode("",!0),c.createVNode(Ia,{modelValue:c.unref(o),"onUpdate:modelValue":v[3]||(v[3]=b=>c.isRef(o)?o.value=b:null),class:"image-preview-bd-zoom-slider","max-value":4},null,8,["modelValue"]),c.createElementVNode("a",{href:f.value.downloadUrl},[c.createVNode(He,{variant:"primary",class:"download-image"},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(t.downloadText),1)]),_:1})],8,wx)]),_:1},8,["class","title"]))}}),Sx={key:0},kx={key:1},xx={class:"bd-form-field"},Tx={class:"bd-form-field"},I0=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:i}=ca(),{serverErrors:s,errorMessages:l,errorMessageText:a,MapServerErrors:d,ResetServerErrors:u}=Gc(null),{closeModal:f}=da("phone-number-edit-modal");let h=Ne;const p=c.ref(),m=c.ref(null),g=c.ref(),v=c.ref(),b=c.ref(null),A=c.computed(()=>v.value==null||v.value==""),w=()=>{if(m.value=null,u(),!p.value||p.value==h){m.value=!1;return}const U={newPhonenumber:p.value};r.startPhoneNumberUpdate(U).then(T).catch(d)},y=()=>{if(!v.value){b.value=!1;return}const U={requestIdentifier:g.value,token:v.value};r.confirmPhoneNumberUpdate(U).then(k).catch(d)},T=U=>{m.value=null,o(r.confirmationCodeSentText),g.value=U.data.RequestIdentifier},k=()=>{t("setPhoneNumber",p.value),o(r.editSuccessText),f(),m.value=null,b.value=null},$=U=>{h=U,p.value=h,m.value=null,g.value=void 0,v.value=void 0,b.value=null},H=()=>{$(h),u(),i(r.editCanceledText)};return e({Reset:$}),(U,R)=>(c.openBlock(),c.createBlock(ii,{id:"phone-number-edit-modal",class:c.normalizeClass(c.unref(Ne)),title:r.modalTitle,submitButtonTitle:r.submitButtonTitle,hideFooterCancelButton:!1,"disable-submit-button":A.value,serverErrors:c.unref(s),errorMessages:c.unref(l),errorMessageText:c.unref(a),onSubmit:y,onCancel:H},{default:c.withCtx(()=>[c.unref(a)||c.unref(l)?(c.openBlock(),c.createBlock(yo,{key:0,variant:"danger"},{default:c.withCtx(()=>[c.unref(l)?(c.openBlock(),c.createElementBlock("div",Sx,[c.createElementVNode("ul",null,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(c.unref(l),(D,z)=>(c.openBlock(),c.createElementBlock("li",{key:z},[c.createVNode(qn),c.createElementVNode("span",null,c.toDisplayString(D),1)]))),128))])])):(c.openBlock(),c.createElementBlock("div",kx,c.toDisplayString(c.unref(a)),1))]),_:1})):c.createCommentVNode("",!0),c.createElementVNode("div",xx,[c.createVNode(nr,{id:"form-input-phone-number",label:r.phoneNumberLabel,modelValue:p.value,"onUpdate:modelValue":R[0]||(R[0]=D=>p.value=D),state:m.value,type:"text","form-field-class":"form-input-with-button","invalid-feedback-text":r.phoneNumberUnchangedText},{default:c.withCtx(()=>[c.createVNode(He,{textContent:c.toDisplayString(r.sendConfirmationCodeText),class:"tablet-device-up",type:"button",onClick:w},null,8,["textContent"])]),_:1},8,["label","modelValue","state","invalid-feedback-text"]),c.createVNode(He,{textContent:c.toDisplayString(r.sendConfirmationCodeText),class:"mobile-device",type:"button",onClick:w},null,8,["textContent"])]),c.createElementVNode("div",Tx,[g.value?(c.openBlock(),c.createBlock(nr,{key:0,label:r.confirmationCodeLabel,modelValue:v.value,"onUpdate:modelValue":R[1]||(R[1]=D=>v.value=D),state:b.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 O0={exports:{}};(function(n,e){(function(t,r){n.exports=r()})(Da,function(){var t=1e3,r=6e4,o=36e5,i="millisecond",s="second",l="minute",a="hour",d="day",u="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+)?$/,b=/\[([^\]]+)]|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,A={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(j){var F=["th","st","nd","rd"],V=j%100;return"["+j+(F[(V-20)%10]||F[V]||F[0])+"]"}},w=function(j,F,V){var Y=String(j);return!Y||Y.length>=F?j:""+Array(F+1-Y.length).join(V)+j},y={s:w,z:function(j){var F=-j.utcOffset(),V=Math.abs(F),Y=Math.floor(V/60),L=V%60;return(F<=0?"+":"-")+w(Y,2,"0")+":"+w(L,2,"0")},m:function j(F,V){if(F.date()<V.date())return-j(V,F);var Y=12*(V.year()-F.year())+(V.month()-F.month()),L=F.clone().add(Y,f),X=V-L<0,ne=F.clone().add(Y+(X?-1:1),f);return+(-(Y+(V-L)/(X?L-ne:ne-L))||0)},a:function(j){return j<0?Math.ceil(j)||0:Math.floor(j)},p:function(j){return{M:f,y:p,w:u,d,D:m,h:a,m:l,s,ms:i,Q:h}[j]||String(j||"").toLowerCase().replace(/s$/,"")},u:function(j){return j===void 0}},T="en",k={};k[T]=A;var $="$isDayjsObject",H=function(j){return j instanceof z||!(!j||!j[$])},U=function j(F,V,Y){var L;if(!F)return T;if(typeof F=="string"){var X=F.toLowerCase();k[X]&&(L=X),V&&(k[X]=V,L=X);var ne=F.split("-");if(!L&&ne.length>1)return j(ne[0])}else{var de=F.name;k[de]=F,L=de}return!Y&&L&&(T=L),L||!Y&&T},R=function(j,F){if(H(j))return j.clone();var V=typeof F=="object"?F:{};return V.date=j,V.args=arguments,new z(V)},D=y;D.l=U,D.i=H,D.w=function(j,F){return R(j,{locale:F.$L,utc:F.$u,x:F.$x,$offset:F.$offset})};var z=function(){function j(V){this.$L=U(V.locale,null,!0),this.parse(V),this.$x=this.$x||V.x||{},this[$]=!0}var F=j.prototype;return F.parse=function(V){this.$d=function(Y){var L=Y.date,X=Y.utc;if(L===null)return new Date(NaN);if(D.u(L))return new Date;if(L instanceof Date)return new Date(L);if(typeof L=="string"&&!/Z$/i.test(L)){var ne=L.match(v);if(ne){var de=ne[2]-1||0,ge=(ne[7]||"0").substring(0,3);return X?new Date(Date.UTC(ne[1],de,ne[3]||1,ne[4]||0,ne[5]||0,ne[6]||0,ge)):new Date(ne[1],de,ne[3]||1,ne[4]||0,ne[5]||0,ne[6]||0,ge)}}return new Date(L)}(V),this.init()},F.init=function(){var V=this.$d;this.$y=V.getFullYear(),this.$M=V.getMonth(),this.$D=V.getDate(),this.$W=V.getDay(),this.$H=V.getHours(),this.$m=V.getMinutes(),this.$s=V.getSeconds(),this.$ms=V.getMilliseconds()},F.$utils=function(){return D},F.isValid=function(){return this.$d.toString()!==g},F.isSame=function(V,Y){var L=R(V);return this.startOf(Y)<=L&&L<=this.endOf(Y)},F.isAfter=function(V,Y){return R(V)<this.startOf(Y)},F.isBefore=function(V,Y){return this.endOf(Y)<R(V)},F.$g=function(V,Y,L){return D.u(V)?this[Y]:this.set(L,V)},F.unix=function(){return Math.floor(this.valueOf()/1e3)},F.valueOf=function(){return this.$d.getTime()},F.startOf=function(V,Y){var L=this,X=!!D.u(Y)||Y,ne=D.p(V),de=function(I,S){var M=D.w(L.$u?Date.UTC(L.$y,S,I):new Date(L.$y,S,I),L);return X?M:M.endOf(d)},ge=function(I,S){return D.w(L.toDate()[I].apply(L.toDate("s"),(X?[0,0,0,0]:[23,59,59,999]).slice(S)),L)},ve=this.$W,Ae=this.$M,Se=this.$D,xe="set"+(this.$u?"UTC":"");switch(ne){case p:return X?de(1,0):de(31,11);case f:return X?de(1,Ae):de(0,Ae+1);case u:var Ce=this.$locale().weekStart||0,x=(ve<Ce?ve+7:ve)-Ce;return de(X?Se-x:Se+(6-x),Ae);case d:case m:return ge(xe+"Hours",0);case a:return ge(xe+"Minutes",1);case l:return ge(xe+"Seconds",2);case s:return ge(xe+"Milliseconds",3);default:return this.clone()}},F.endOf=function(V){return this.startOf(V,!1)},F.$set=function(V,Y){var L,X=D.p(V),ne="set"+(this.$u?"UTC":""),de=(L={},L[d]=ne+"Date",L[m]=ne+"Date",L[f]=ne+"Month",L[p]=ne+"FullYear",L[a]=ne+"Hours",L[l]=ne+"Minutes",L[s]=ne+"Seconds",L[i]=ne+"Milliseconds",L)[X],ge=X===d?this.$D+(Y-this.$W):Y;if(X===f||X===p){var ve=this.clone().set(m,1);ve.$d[de](ge),ve.init(),this.$d=ve.set(m,Math.min(this.$D,ve.daysInMonth())).$d}else de&&this.$d[de](ge);return this.init(),this},F.set=function(V,Y){return this.clone().$set(V,Y)},F.get=function(V){return this[D.p(V)]()},F.add=function(V,Y){var L,X=this;V=Number(V);var ne=D.p(Y),de=function(Ae){var Se=R(X);return D.w(Se.date(Se.date()+Math.round(Ae*V)),X)};if(ne===f)return this.set(f,this.$M+V);if(ne===p)return this.set(p,this.$y+V);if(ne===d)return de(1);if(ne===u)return de(7);var ge=(L={},L[l]=r,L[a]=o,L[s]=t,L)[ne]||1,ve=this.$d.getTime()+V*ge;return D.w(ve,this)},F.subtract=function(V,Y){return this.add(-1*V,Y)},F.format=function(V){var Y=this,L=this.$locale();if(!this.isValid())return L.invalidDate||g;var X=V||"YYYY-MM-DDTHH:mm:ssZ",ne=D.z(this),de=this.$H,ge=this.$m,ve=this.$M,Ae=L.weekdays,Se=L.months,xe=L.meridiem,Ce=function(S,M,C,E){return S&&(S[M]||S(Y,X))||C[M].slice(0,E)},x=function(S){return D.s(de%12||12,S,"0")},I=xe||function(S,M,C){var E=S<12?"AM":"PM";return C?E.toLowerCase():E};return X.replace(b,function(S,M){return M||function(C){switch(C){case"YY":return String(Y.$y).slice(-2);case"YYYY":return D.s(Y.$y,4,"0");case"M":return ve+1;case"MM":return D.s(ve+1,2,"0");case"MMM":return Ce(L.monthsShort,ve,Se,3);case"MMMM":return Ce(Se,ve);case"D":return Y.$D;case"DD":return D.s(Y.$D,2,"0");case"d":return String(Y.$W);case"dd":return Ce(L.weekdaysMin,Y.$W,Ae,2);case"ddd":return Ce(L.weekdaysShort,Y.$W,Ae,3);case"dddd":return Ae[Y.$W];case"H":return String(de);case"HH":return D.s(de,2,"0");case"h":return x(1);case"hh":return x(2);case"a":return I(de,ge,!0);case"A":return I(de,ge,!1);case"m":return String(ge);case"mm":return D.s(ge,2,"0");case"s":return String(Y.$s);case"ss":return D.s(Y.$s,2,"0");case"SSS":return D.s(Y.$ms,3,"0");case"Z":return ne}return null}(S)||ne.replace(":","")})},F.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},F.diff=function(V,Y,L){var X,ne=this,de=D.p(Y),ge=R(V),ve=(ge.utcOffset()-this.utcOffset())*r,Ae=this-ge,Se=function(){return D.m(ne,ge)};switch(de){case p:X=Se()/12;break;case f:X=Se();break;case h:X=Se()/3;break;case u:X=(Ae-ve)/6048e5;break;case d:X=(Ae-ve)/864e5;break;case a:X=Ae/o;break;case l:X=Ae/r;break;case s:X=Ae/t;break;default:X=Ae}return L?X:D.a(X)},F.daysInMonth=function(){return this.endOf(f).$D},F.$locale=function(){return k[this.$L]},F.locale=function(V,Y){if(!V)return this.$L;var L=this.clone(),X=U(V,Y,!0);return X&&(L.$L=X),L},F.clone=function(){return D.w(this.$d,this)},F.toDate=function(){return new Date(this.valueOf())},F.toJSON=function(){return this.isValid()?this.toISOString():null},F.toISOString=function(){return this.$d.toISOString()},F.toString=function(){return this.$d.toUTCString()},j}(),W=z.prototype;return R.prototype=W,[["$ms",i],["$s",s],["$m",l],["$H",a],["$W",d],["$M",f],["$y",p],["$D",m]].forEach(function(j){W[j[1]]=function(F){return this.$g(F,j[0],j[1])}}),R.extend=function(j,F){return j.$i||(j(F,z,R),j.$i=!0),R},R.locale=U,R.isDayjs=H,R.unix=function(j){return R(1e3*j)},R.en=k[T],R.Ls=k,R.p={},R})})(O0);var _0=O0.exports;const mo=Ba(_0),N0=(n,e,t,r,o,i)=>{const s=c.ref(null),l=c.ref(null),a=c.ref(!1),d=c.ref(null),{showModal:u,closeModal:f}=da("session-time-out-modal"),h=c.computed(()=>s.value&&n?n-(s.value+1):0),p=c.computed(()=>l.value?60-l.value:0),m=c.computed(()=>a.value),g=()=>{d.value=setInterval(b,1e3),r(d.value)},v=()=>{d.value&&clearInterval(d.value)},b=()=>{s.value=mo().diff(t(),"m"),l.value=mo().subtract(s.value,"m").diff(t(),"s");const H=n??Number.MAX_SAFE_INTEGER,U=e??0;s.value>=H?(a.value=!0,u(),localStorage.setItem("session-timeout","true"),window.onbeforeunload=A):s.value>=H-U?u():f()},A=H=>{H.stopPropagation(),y()},w=()=>{o(),v(),s.value=null,l.value=null,g()},y=()=>{v(),s.value=null,l.value=null,localStorage.removeItem("session-timeout"),i()},T=()=>{a.value?y():w()},k=()=>{y()},$=()=>{a.value?y():f()};return c.onMounted(()=>{const H=document.getElementById("session-time-out-modal");H&&H.addEventListener("hidden.bs.modal",T),v(),g()}),{IsExpired:m,Minutes:h,Seconds:p,OnLogOut:k,OnSubmit:$}},L0=c.defineComponent({__name:"BDSessionTimeOutModal",props:["expiredTitle","expiredMessage","expiredButtonText","almostExpiredTitle","almostExpiredMessage","almostExpiredButtonText","almostExpiredCancelButtonText","threshold","warningThreshold","getTime","setTaskId","setNewTime","logout"],setup(n){const e=n,{IsExpired:t,Minutes:r,Seconds:o,OnLogOut:i,OnSubmit:s}=N0(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}`),d=c.computed(()=>t.value?e.expiredButtonText:e.almostExpiredButtonText);return(u,f)=>(c.openBlock(),c.createBlock(ii,{id:"session-time-out-modal",title:l.value,"hide-close-button":!0,"hide-footer-cancel-button":c.unref(t),"close-button-title":e.almostExpiredCancelButtonText,"submit-button-title":d.value,size:"md",onSubmit:c.unref(s),onCancel:c.unref(i)},{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"]))}});function D0(){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))}}}function Mx(n){const{OnWindowLoaded:e}=D0();let t;const r=()=>{t=document.addEventListener("click",i=>{if(!i||!i.target)return;let s=null;if(i.target instanceof Element&&(s=i.target.closest(".popover")),s)return;const l=uo.getInstance(n.value);l&&l.hide()})};c.onMounted(r),e(()=>{n!=null&&n.value!=null&&new uo(n.value)}),c.onUnmounted(()=>{if(n==null||n.value==null)return;const i=uo.getInstance(n.value);i&&i.dispose(),t&&document.removeEventListener("click",t)})}const B0={mounted:n=>{new Ar(n)}};var Ix={exports:{}};(function(n,e){(function(t,r){n.exports=r(_0)})(Da,function(t){function r(s){return s&&typeof s=="object"&&"default"in s?s:{default:s}}var o=r(t),i={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(s){return"["+s+(s===1||s===8||s>=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(i,null,!0),i})})(Ix);var R0={exports:{}};(function(n,e){(function(t,r){n.exports=r()})(Da,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/,i=/\d\d/,s=/\d\d?/,l=/\d*[^-_:/,()\s\d]+/,a={},d=function(v){return(v=+v)+(v>68?1900:2e3)},u=function(v){return function(b){this[v]=+b}},f=[/[+-]\d\d:?(\d\d)?|Z/,function(v){(this.zone||(this.zone={})).offset=function(b){if(!b||b==="Z")return 0;var A=b.match(/([+-]|\d\d)/g),w=60*A[1]+(+A[2]||0);return w===0?0:A[0]==="+"?-w:w}(v)}],h=function(v){var b=a[v];return b&&(b.indexOf?b:b.s.concat(b.f))},p=function(v,b){var A,w=a.meridiem;if(w){for(var y=1;y<=24;y+=1)if(v.indexOf(w(y,0,b))>-1){A=y>12;break}}else A=v===(b?"pm":"PM");return A},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:[i,function(v){this.milliseconds=10*+v}],SSS:[/\d{3}/,function(v){this.milliseconds=+v}],s:[s,u("seconds")],ss:[s,u("seconds")],m:[s,u("minutes")],mm:[s,u("minutes")],H:[s,u("hours")],h:[s,u("hours")],HH:[s,u("hours")],hh:[s,u("hours")],D:[s,u("day")],DD:[i,u("day")],Do:[l,function(v){var b=a.ordinal,A=v.match(/\d+/);if(this.day=A[0],b)for(var w=1;w<=31;w+=1)b(w).replace(/\[|\]/g,"")===v&&(this.day=w)}],w:[s,u("week")],ww:[i,u("week")],M:[s,u("month")],MM:[i,u("month")],MMM:[l,function(v){var b=h("months"),A=(h("monthsShort")||b.map(function(w){return w.slice(0,3)})).indexOf(v)+1;if(A<1)throw new Error;this.month=A%12||A}],MMMM:[l,function(v){var b=h("months").indexOf(v)+1;if(b<1)throw new Error;this.month=b%12||b}],Y:[/[+-]?\d+/,u("year")],YY:[i,function(v){this.year=d(v)}],YYYY:[/\d{4}/,u("year")],Z:f,ZZ:f};function g(v){var b,A;b=v,A=a&&a.formats;for(var w=(v=b.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(R,D,z){var W=z&&z.toUpperCase();return D||A[z]||t[z]||A[W].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(j,F,V){return F||V.slice(1)})})).match(r),y=w.length,T=0;T<y;T+=1){var k=w[T],$=m[k],H=$&&$[0],U=$&&$[1];w[T]=U?{regex:H,parser:U}:k.replace(/^\[|\]$/g,"")}return function(R){for(var D={},z=0,W=0;z<y;z+=1){var j=w[z];if(typeof j=="string")W+=j.length;else{var F=j.regex,V=j.parser,Y=R.slice(W),L=F.exec(Y)[0];V.call(D,L),R=R.replace(L,"")}}return function(X){var ne=X.afternoon;if(ne!==void 0){var de=X.hours;ne?de<12&&(X.hours+=12):de===12&&(X.hours=0),delete X.afternoon}}(D),D}}return function(v,b,A){A.p.customParseFormat=!0,v&&v.parseTwoDigitYear&&(d=v.parseTwoDigitYear);var w=b.prototype,y=w.parse;w.parse=function(T){var k=T.date,$=T.utc,H=T.args;this.$u=$;var U=H[1];if(typeof U=="string"){var R=H[2]===!0,D=H[3]===!0,z=R||D,W=H[2];D&&(W=H[2]),a=this.$locale(),!R&&W&&(a=A.Ls[W]),this.$d=function(Y,L,X,ne){try{if(["x","X"].indexOf(L)>-1)return new Date((L==="X"?1e3:1)*Y);var de=g(L)(Y),ge=de.year,ve=de.month,Ae=de.day,Se=de.hours,xe=de.minutes,Ce=de.seconds,x=de.milliseconds,I=de.zone,S=de.week,M=new Date,C=Ae||(ge||ve?1:M.getDate()),E=ge||M.getFullYear(),_=0;ge&&!ve||(_=ve>0?ve-1:M.getMonth());var N,B=Se||0,P=xe||0,K=Ce||0,G=x||0;return I?new Date(Date.UTC(E,_,C,B,P,K,G+60*I.offset*1e3)):X?new Date(Date.UTC(E,_,C,B,P,K,G)):(N=new Date(E,_,C,B,P,K,G),S&&(N=ne(N).week(S).toDate()),N)}catch{return new Date("")}}(k,U,$,A),this.init(),W&&W!==!0&&(this.$L=this.locale(W).$L),z&&k!=this.format(U)&&(this.$d=new Date("")),a={}}else if(U instanceof Array)for(var j=U.length,F=1;F<=j;F+=1){H[1]=U[F-1];var V=A.apply(this,H);if(V.isValid()){this.$d=V.$d,this.$L=V.$L,this.init();break}F===j&&(this.$d=new Date(""))}else y.call(this,T)}}})})(R0);var Ox=R0.exports;const _x=Ba(Ox);mo.extend(_x),mo.locale("nl");function Nx(n,e=mo().startOf("day")){const t="DD-MM-YYYY",r=mo(n,t);if(r.isSame(e))return"vandaag";const i=e.subtract(1,"day");if(r.isSame(i))return"gister";const l=e.subtract(2,"day");if(r.isSame(l))return"eergister";const d=e.subtract(7,"day");if(r.isAfter(d)){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 Lx={install:n=>{n.component("BDCol",Zn),n.component("BDContainer",si),n.component("BDRow",Jn),n.component("BDButton",He),n.component("BDLogo",fa),n.component("BDLink",xr),n.component("BDDropdownItem",yi),n.component("BDDropdown",Zc),n.component("BDAlert",yo),n.component("BDProfileImage",Co),n.component("BDZoomslider",Ia),n.component("BDCard",pi),n.component("BDCollapsableCard",su),n.component("BDFormInput",nr),n.component("BDInputGroup",uu),n.component("BDFormInvalidFeedback",mi),n.component("BDBadge",fu),n.component("BDForm",hu),n.component("BDPagination",pu),n.component("BDDropzone",Eu),n.component("BDMarkdownEditor",gp),n.component("BDModal",ii),n.component("BDFormSelect",mu),n.component("BDUser",vp),n.component("BDArticle",vu),n.component("BDFormCheckbox",gu),n.component("BDToast",Na),n.component("BDAttachmentPreviewList",Ws),n.component("BDImageAttachmentPreviewList",Ks),n.component("BDHeader",x0),n.component("BDMobileMenu",xc),n.component("BDChatCloud",yp),n.component("BDTable",Cp),n.component("BDChangePasswordTemplate",k0),n.component("BDPill",vi),n.component("BDImageAttachmentModal",M0),n.component("BDPhoneNumberEditModal",I0),n.component("BDSessionTimeOutModal",L0),n.component("BDVideoCallToast",w0),n.component("BDUserInformation",La),n.component("IconAcademy",od),n.component("IconArrowDown",id),n.component("IconArrowUp",sd),n.component("IconAttachment",Xn),n.component("IconBold",ha),n.component("IconBulletList",pa),n.component("IconCalendar",ad),n.component("IconCall",ai),n.component("IconCallReject",ma),n.component("IconCardView",ld),n.component("IconCaretDown",ga),n.component("IconCaretLeft",va),n.component("IconCaretRight",ya),n.component("IconCheck",Tr),n.component("IconClipboard",cd),n.component("IconClose",li),n.component("IconComment",dd),n.component("IconCommentActive",ud),n.component("IconCommonFileEmpty",hd),n.component("IconCommonFileWarning",pd),n.component("IconCommentStatic",fd),n.component("IconContactPerson",md),n.component("IconCopy",gd),n.component("IconDelete",vd),n.component("IconDoubleCheck",yd),n.component("IconDownloadImage",Ca),n.component("IconEdit",Cd),n.component("IconEndCall",Ed),n.component("IconError",ci),n.component("IconExternal",bd),n.component("IconEyeShow",Ad),n.component("IconEyeSlash",wd),n.component("IconFile",Ea),n.component("IconFileAdded",Sd),n.component("IconForward",kd),n.component("IconHix",xd),n.component("IconHyperlink",di),n.component("IconImageFileLandscape",Td),n.component("IconImageFileWarning",Md),n.component("IconInfo",qn),n.component("IconInformationCircle",Id),n.component("IconItalic",ba),n.component("IconListView",Od),n.component("IconLock",_d),n.component("IconLusciiEscalated",Nd),n.component("IconLusciiLogo",Ld),n.component("IconLusciiOpen",Dd),n.component("IconLusciiPriorityHigh",Bd),n.component("IconLusciiPriorityLow",Rd),n.component("IconLusciiPriorityMedium",Pd),n.component("IconMenu",Aa),n.component("IconMessage",Vd),n.component("IconMessageForward",Fd),n.component("IconMicrophoneSlash",$d),n.component("IconMicrosoftTeams",zd),n.component("IconMin",Hd),n.component("IconOrderedList",wa),n.component("IconPlus",Ud),n.component("IconRefresh",jd),n.component("IconRemove",vo),n.component("IconSananetLogo",Wd),n.component("IconService",Kd),n.component("IconShareScreen",Qd),n.component("IconSingleNeutral",Yd),n.component("IconSort",Gd),n.component("IconSortAsc",Sa),n.component("IconSortDesc",ka),n.component("IconSortNone",xa),n.component("IconTriangleDown",Zd),n.component("IconTriangleExclamation",Jd),n.component("IconUnderline",Ta),n.component("IconVideoDisabled",qd),n.component("IconVideocall",Xd),n.component("IconZorgkaart",eu),n.directive("vBDTooltip",B0)}};q.BDAlert=yo,q.BDArticle=vu,q.BDAttachmentPreviewList=Ws,q.BDBadge=fu,q.BDButton=He,q.BDCard=pi,q.BDChangePasswordTemplate=k0,q.BDChatCloud=yp,q.BDCol=Zn,q.BDCollapsableCard=su,q.BDContainer=si,q.BDDropdown=Zc,q.BDDropdownItem=yi,q.BDDropzone=Eu,q.BDForm=hu,q.BDFormCheckbox=gu,q.BDFormInput=nr,q.BDFormInvalidFeedback=mi,q.BDFormSelect=mu,q.BDHeader=x0,q.BDImageAttachmentModal=M0,q.BDImageAttachmentPreviewList=Ks,q.BDInputGroup=uu,q.BDLink=xr,q.BDLogo=fa,q.BDMarkdownEditor=gp,q.BDMobileMenu=xc,q.BDModal=ii,q.BDPagination=pu,q.BDPhoneNumberEditModal=I0,q.BDPill=vi,q.BDProfileImage=Co,q.BDRow=Jn,q.BDSessionTimeOutModal=L0,q.BDTable=Cp,q.BDToast=Na,q.BDUser=vp,q.BDUserInformation=La,q.BDVideoCallToast=w0,q.BDZoomslider=Ia,q.IconAcademy=od,q.IconArrowDown=id,q.IconArrowUp=sd,q.IconAttachment=Xn,q.IconBold=ha,q.IconBulletList=pa,q.IconCalendar=ad,q.IconCall=ai,q.IconCallReject=ma,q.IconCardView=ld,q.IconCaretDown=ga,q.IconCaretLeft=va,q.IconCaretRight=ya,q.IconCheck=Tr,q.IconClipboard=cd,q.IconClose=li,q.IconComment=dd,q.IconCommentActive=ud,q.IconCommentStatic=fd,q.IconCommonFileEmpty=hd,q.IconCommonFileWarning=pd,q.IconContactPerson=md,q.IconCopy=gd,q.IconDelete=vd,q.IconDoubleCheck=yd,q.IconDownloadImage=Ca,q.IconEdit=Cd,q.IconEndCall=Ed,q.IconError=ci,q.IconExternal=bd,q.IconEyeShow=Ad,q.IconEyeSlash=wd,q.IconFile=Ea,q.IconFileAdded=Sd,q.IconForward=kd,q.IconHix=xd,q.IconHyperlink=di,q.IconImageFileLandscape=Td,q.IconImageFileWarning=Md,q.IconInfo=qn,q.IconInformationCircle=Id,q.IconItalic=ba,q.IconListView=Od,q.IconLock=_d,q.IconLusciiEscalated=Nd,q.IconLusciiLogo=Ld,q.IconLusciiOpen=Dd,q.IconLusciiPriorityHigh=Bd,q.IconLusciiPriorityLow=Rd,q.IconLusciiPriorityMedium=Pd,q.IconMenu=Aa,q.IconMessage=Vd,q.IconMessageForward=Fd,q.IconMicrophoneSlash=$d,q.IconMicrosoftTeams=zd,q.IconMin=Hd,q.IconOrderedList=wa,q.IconPlus=Ud,q.IconRefresh=jd,q.IconRemove=vo,q.IconSananetLogo=Wd,q.IconService=Kd,q.IconShareScreen=Qd,q.IconSingleNeutral=Yd,q.IconSort=Gd,q.IconSortAsc=Sa,q.IconSortDesc=ka,q.IconSortNone=xa,q.IconTriangleDown=Zd,q.IconTriangleExclamation=Jd,q.IconUnderline=Ta,q.IconVideoDisabled=qd,q.IconVideocall=Xd,q.IconZorgkaart=eu,q.default=Lx,q.getDisplayDate=Nx,q.useModal=da,q.usePopover=Mx,q.useServerErrors=Gc,q.useSessionTimeOut=N0,q.useToaster=ca,q.useValidation=S0,q.useWindow=D0,q.useZoom=T0,q.vBdTooltip=B0,Object.defineProperties(q,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|