@beterdichtbij/component-library 0.45.4 → 0.46.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 +42 -42
- package/dist/bd-component-lib.es.js +3486 -3445
- package/dist/bd-component-lib.umd.js +41 -41
- package/dist/components/modals/BDAttachmentUploadModal/BDAttachmentUploadModal.vue.d.ts +24 -0
- package/dist/components/modals/BDAttachmentUploadModal/BDAttachmentUploadModal.vue.d.ts.map +1 -0
- package/dist/components/molecules/BDDropzone/BDDropzone.vue.d.ts +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/locales/nl.json +10 -0
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
(function(ne,c){typeof exports=="object"&&typeof module<"u"?c(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],c):(ne=typeof globalThis<"u"?globalThis:ne||self,c(ne.BDComponentLibrary={},ne.Vue))})(this,function(ne,c){"use strict";const Ir=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))}}),ss=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))}}),xr=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))}}),At={XS:"xs",SM:"sm",MD:"md",LG:"lg"},Od=/^https:/i,Mr=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"&&Od.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"&&Od.test(e.to)){const{to:o,target:s,rel:i}=e;return{href:o,target:s,rel:i}}else{const{to:o}=e;return{to:o}}});return(o,s)=>(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))}}),jg={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",NEUTRAL:"neutral"},Ze=c.defineComponent({__name:"BDButton",props:{size:{default:At.MD},variant:{default:jg.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?Mr:"button"),s=c.computed(()=>{const l={};return t.to?(l.to=t.to,l.role="button"):l.type="submit",l}),i=l=>{e("click",l)};return(l,a)=>(c.openBlock(),c.createBlock(c.resolveDynamicComponent(o.value),c.mergeProps({class:["bd-btn",r.value]},s.value,{onClick:i}),{default:c.withCtx(()=>[c.renderSlot(l.$slots,"default",{},()=>[c.createTextVNode(c.toDisplayString(t.text),1)])]),_:3},16,["class"]))}}),Ce=(n,e)=>{const t=n.__vccOpts||n;for(const[r,o]of e)t[r]=o;return t},Wg={},Kg=[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 Yg(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"}),Kg,16)}const vl=Ce(Wg,[["render",Yg]]),Gg={},Qg={class:"icon icon-academy",viewBox:"0 0 40 40",xmlns:"http://www.w3.org/2000/svg"},Zg=[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 Jg(n,e){return c.openBlock(),c.createElementBlock("svg",Qg,Zg)}const ni=Ce(Gg,[["render",Jg]]),Xg={},qg={class:"icon",viewBox:"0 0 20 20",height:"20",width:"20",xmlns:"http://www.w3.org/2000/svg"},e5=[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 t5(n,e){return c.openBlock(),c.createElementBlock("svg",qg,e5)}const Ld=Ce(Xg,[["render",t5]]),n5={},r5={class:"icon",viewBox:"0 0 20 20",height:"20",width:"20",xmlns:"http://www.w3.org/2000/svg"},o5=[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 s5(n,e){return c.openBlock(),c.createElementBlock("svg",r5,o5)}const Dd=Ce(n5,[["render",s5]]),i5={},a5={class:"icon icon-attachment",width:"17",height:"18",viewBox:"0 0 17 18",xmlns:"http://www.w3.org/2000/svg"},l5=[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 c5(n,e){return c.openBlock(),c.createElementBlock("svg",a5,l5)}const Or=Ce(i5,[["render",c5]]),u5={},d5={width:"11",height:"13",viewBox:"0 0 11 13",xmlns:"http://www.w3.org/2000/svg",class:"icon icon-bold"},f5=[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 h5(n,e){return c.openBlock(),c.createElementBlock("svg",d5,f5)}const El=Ce(u5,[["render",h5]]),p5={},m5={width:"16",height:"14",viewBox:"0 0 16 14",xmlns:"http://www.w3.org/2000/svg",class:"icon icon-bullet-list"},g5=[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 y5(n,e){return c.openBlock(),c.createElementBlock("svg",m5,g5)}const Cl=Ce(p5,[["render",y5]]),v5={},E5={class:"icon icon-calendar",xmlns:"http://www.w3.org/2000/svg",width:"17",height:"18",viewBox:"0 0 17 18"},C5=[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 A5(n,e){return c.openBlock(),c.createElementBlock("svg",E5,C5)}const Rd=Ce(v5,[["render",A5]]),b5={},w5={class:"icon icon-call",width:"16",height:"17",viewBox:"0 0 16 17",xmlns:"http://www.w3.org/2000/svg"},T5=[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 S5(n,e){return c.openBlock(),c.createElementBlock("svg",w5,T5)}const ri=Ce(b5,[["render",S5]]),_5={},k5={class:"icon icon-call-reject",width:"16",height:"17",viewBox:"0 0 16 17",xmlns:"http://www.w3.org/2000/svg"},N5=[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 I5(n,e){return c.openBlock(),c.createElementBlock("svg",k5,N5)}const Al=Ce(_5,[["render",I5]]),x5={},M5={class:"icon icon-card-view",viewBox:"0 0 24 19",fill:"red",xmlns:"http://www.w3.org/2000/svg"},O5=[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 L5(n,e){return c.openBlock(),c.createElementBlock("svg",M5,O5)}const Bd=Ce(x5,[["render",L5]]),D5={},R5={xmlns:"http://www.w3.org/2000/svg",width:"18",height:"10"},B5=[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 P5(n,e){return c.openBlock(),c.createElementBlock("svg",R5,B5)}const bl=Ce(D5,[["render",P5]]),F5={},V5={class:"icon icon-caret-left",xmlns:"http://www.w3.org/2000/svg",width:"6",height:"10",viewBox:"0 0 6 10"},$5=[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 U5(n,e){return c.openBlock(),c.createElementBlock("svg",V5,$5)}const wl=Ce(F5,[["render",U5]]),z5={},H5={class:"icon icon-caret-right",xmlns:"http://www.w3.org/2000/svg",width:"7",height:"11",viewBox:"0 0 7 11"},j5=[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 W5(n,e){return c.openBlock(),c.createElementBlock("svg",H5,j5)}const Tl=Ce(z5,[["render",W5]]),K5={},Y5={class:"icon icon-check",xmlns:"http://www.w3.org/2000/svg",width:"18",height:"13",viewBox:"0 0 18 13"},G5=[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 Q5(n,e){return c.openBlock(),c.createElementBlock("svg",Y5,G5)}const uo=Ce(K5,[["render",Q5]]),Z5={},J5={class:"icon icon-clipboard",viewBox:"0 0 48 48",height:"48",width:"48",xmlns:"http://www.w3.org/2000/svg"},X5=[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 q5(n,e){return c.openBlock(),c.createElementBlock("svg",J5,X5)}const Pd=Ce(Z5,[["render",q5]]),e3={},t3={class:"icon icon-close",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"-4 -4 22 22"},n3=[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 r3(n,e){return c.openBlock(),c.createElementBlock("svg",t3,n3)}const oi=Ce(e3,[["render",r3]]),o3={},s3={class:"icon icon-comment",xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18"},i3=[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 a3(n,e){return c.openBlock(),c.createElementBlock("svg",s3,i3)}const Fd=Ce(o3,[["render",a3]]),l3={},c3={class:"icon icon-comment-active",xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18"},u3=[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 d3(n,e){return c.openBlock(),c.createElementBlock("svg",c3,u3)}const Vd=Ce(l3,[["render",d3]]),f3={},h3={class:"icon icon-comment-static",xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18"},p3=[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 m3(n,e){return c.openBlock(),c.createElementBlock("svg",h3,p3)}const $d=Ce(f3,[["render",m3]]),g3={},y3={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"},v3=[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(ne,c){typeof exports=="object"&&typeof module<"u"?c(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],c):(ne=typeof globalThis<"u"?globalThis:ne||self,c(ne.BDComponentLibrary={},ne.Vue))})(this,function(ne,c){"use strict";const Ir=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))}}),as=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))}}),xr=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))}}),At={XS:"xs",SM:"sm",MD:"md",LG:"lg"},Ld=/^https:/i,Mr=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"&&Ld.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"&&Ld.test(e.to)){const{to:o,target:s,rel:i}=e;return{href:o,target:s,rel:i}}else{const{to:o}=e;return{to:o}}});return(o,s)=>(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))}}),Wg={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",NEUTRAL:"neutral"},Ze=c.defineComponent({__name:"BDButton",props:{size:{default:At.MD},variant:{default:Wg.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?Mr:"button"),s=c.computed(()=>{const l={};return t.to?(l.to=t.to,l.role="button"):l.type="submit",l}),i=l=>{e("click",l)};return(l,a)=>(c.openBlock(),c.createBlock(c.resolveDynamicComponent(o.value),c.mergeProps({class:["bd-btn",r.value]},s.value,{onClick:i}),{default:c.withCtx(()=>[c.renderSlot(l.$slots,"default",{},()=>[c.createTextVNode(c.toDisplayString(t.text),1)])]),_:3},16,["class"]))}}),Ce=(n,e)=>{const t=n.__vccOpts||n;for(const[r,o]of e)t[r]=o;return t},Kg={},Yg=[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 Gg(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"}),Yg,16)}const vl=Ce(Kg,[["render",Gg]]),Qg={},Zg={class:"icon icon-academy",viewBox:"0 0 40 40",xmlns:"http://www.w3.org/2000/svg"},Jg=[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 Xg(n,e){return c.openBlock(),c.createElementBlock("svg",Zg,Jg)}const ri=Ce(Qg,[["render",Xg]]),qg={},e5={class:"icon",viewBox:"0 0 20 20",height:"20",width:"20",xmlns:"http://www.w3.org/2000/svg"},t5=[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 n5(n,e){return c.openBlock(),c.createElementBlock("svg",e5,t5)}const Dd=Ce(qg,[["render",n5]]),r5={},o5={class:"icon",viewBox:"0 0 20 20",height:"20",width:"20",xmlns:"http://www.w3.org/2000/svg"},s5=[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 i5(n,e){return c.openBlock(),c.createElementBlock("svg",o5,s5)}const Rd=Ce(r5,[["render",i5]]),a5={},l5={class:"icon icon-attachment",width:"17",height:"18",viewBox:"0 0 17 18",xmlns:"http://www.w3.org/2000/svg"},c5=[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 u5(n,e){return c.openBlock(),c.createElementBlock("svg",l5,c5)}const Or=Ce(a5,[["render",u5]]),d5={},f5={width:"11",height:"13",viewBox:"0 0 11 13",xmlns:"http://www.w3.org/2000/svg",class:"icon icon-bold"},h5=[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 p5(n,e){return c.openBlock(),c.createElementBlock("svg",f5,h5)}const El=Ce(d5,[["render",p5]]),m5={},g5={width:"16",height:"14",viewBox:"0 0 16 14",xmlns:"http://www.w3.org/2000/svg",class:"icon icon-bullet-list"},y5=[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 v5(n,e){return c.openBlock(),c.createElementBlock("svg",g5,y5)}const Cl=Ce(m5,[["render",v5]]),E5={},C5={class:"icon icon-calendar",xmlns:"http://www.w3.org/2000/svg",width:"17",height:"18",viewBox:"0 0 17 18"},A5=[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 b5(n,e){return c.openBlock(),c.createElementBlock("svg",C5,A5)}const Bd=Ce(E5,[["render",b5]]),w5={},T5={class:"icon icon-call",width:"16",height:"17",viewBox:"0 0 16 17",xmlns:"http://www.w3.org/2000/svg"},S5=[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 _5(n,e){return c.openBlock(),c.createElementBlock("svg",T5,S5)}const oi=Ce(w5,[["render",_5]]),k5={},N5={class:"icon icon-call-reject",width:"16",height:"17",viewBox:"0 0 16 17",xmlns:"http://www.w3.org/2000/svg"},I5=[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 x5(n,e){return c.openBlock(),c.createElementBlock("svg",N5,I5)}const Al=Ce(k5,[["render",x5]]),M5={},O5={class:"icon icon-card-view",viewBox:"0 0 24 19",fill:"red",xmlns:"http://www.w3.org/2000/svg"},L5=[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 D5(n,e){return c.openBlock(),c.createElementBlock("svg",O5,L5)}const Pd=Ce(M5,[["render",D5]]),R5={},B5={xmlns:"http://www.w3.org/2000/svg",width:"18",height:"10"},P5=[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 F5(n,e){return c.openBlock(),c.createElementBlock("svg",B5,P5)}const bl=Ce(R5,[["render",F5]]),V5={},$5={class:"icon icon-caret-left",xmlns:"http://www.w3.org/2000/svg",width:"6",height:"10",viewBox:"0 0 6 10"},U5=[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 z5(n,e){return c.openBlock(),c.createElementBlock("svg",$5,U5)}const wl=Ce(V5,[["render",z5]]),H5={},j5={class:"icon icon-caret-right",xmlns:"http://www.w3.org/2000/svg",width:"7",height:"11",viewBox:"0 0 7 11"},W5=[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 K5(n,e){return c.openBlock(),c.createElementBlock("svg",j5,W5)}const Tl=Ce(H5,[["render",K5]]),Y5={},G5={class:"icon icon-check",xmlns:"http://www.w3.org/2000/svg",width:"18",height:"13",viewBox:"0 0 18 13"},Q5=[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 Z5(n,e){return c.openBlock(),c.createElementBlock("svg",G5,Q5)}const uo=Ce(Y5,[["render",Z5]]),J5={},X5={class:"icon icon-clipboard",viewBox:"0 0 48 48",height:"48",width:"48",xmlns:"http://www.w3.org/2000/svg"},q5=[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 e3(n,e){return c.openBlock(),c.createElementBlock("svg",X5,q5)}const Fd=Ce(J5,[["render",e3]]),t3={},n3={class:"icon icon-close",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"-4 -4 22 22"},r3=[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 o3(n,e){return c.openBlock(),c.createElementBlock("svg",n3,r3)}const si=Ce(t3,[["render",o3]]),s3={},i3={class:"icon icon-comment",xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18"},a3=[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 l3(n,e){return c.openBlock(),c.createElementBlock("svg",i3,a3)}const Vd=Ce(s3,[["render",l3]]),c3={},u3={class:"icon icon-comment-active",xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18"},d3=[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 f3(n,e){return c.openBlock(),c.createElementBlock("svg",u3,d3)}const $d=Ce(c3,[["render",f3]]),h3={},p3={class:"icon icon-comment-static",xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18"},m3=[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 g3(n,e){return c.openBlock(),c.createElementBlock("svg",p3,m3)}const Ud=Ce(h3,[["render",g3]]),y3={},v3={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"},E3=[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 C3(n,e){return c.openBlock(),c.createElementBlock("svg",v3,E3)}const zd=Ce(y3,[["render",C3]]),A3={},b3={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"},w3=[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 w3(n,e){return c.openBlock(),c.createElementBlock("svg",A3,b3)}const zd=Ce(C3,[["render",w3]]),T3={},S3={xmlns:"http://www.w3.org/2000/svg",width:"23",height:"17",viewBox:"0 0 18 15",fill:"none"},_3=[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 k3(n,e){return c.openBlock(),c.createElementBlock("svg",S3,_3)}const Hd=Ce(T3,[["render",k3]]),N3={},I3={class:"icon icon-copy",width:"11",height:"14",viewBox:"0 0 11 14",xmlns:"http://www.w3.org/2000/svg"},x3=[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 M3(n,e){return c.openBlock(),c.createElementBlock("svg",I3,x3)}const jd=Ce(N3,[["render",M3]]),O3={},L3={class:"icon icon-delete",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"20",viewBox:"0 0 16 20"},D3=[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 R3(n,e){return c.openBlock(),c.createElementBlock("svg",L3,D3)}const Wd=Ce(O3,[["render",R3]]),B3={},P3={class:"icon icon-double-check",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"13",viewBox:"0 0 24 13"},F3=[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 V3(n,e){return c.openBlock(),c.createElementBlock("svg",P3,F3)}const Kd=Ce(B3,[["render",V3]]),$3={},U3={viewBox:"0 0 20 20",height:"20",width:"20",xmlns:"http://www.w3.org/2000/svg",class:"icon icon-download-link"},z3=[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 H3(n,e){return c.openBlock(),c.createElementBlock("svg",U3,z3)}const Sl=Ce($3,[["render",H3]]),j3={},W3={xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18"},K3=[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 Y3(n,e){return c.openBlock(),c.createElementBlock("svg",W3,K3)}const Yd=Ce(j3,[["render",Y3]]),G3={},Q3={class:"icon icon-end-call",width:"16",height:"16",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"},Z3=[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 J3(n,e){return c.openBlock(),c.createElementBlock("svg",Q3,Z3)}const Gd=Ce(G3,[["render",J3]]),X3={},q3={class:"icon icon-error",xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18"},e7=[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 t7(n,e){return c.openBlock(),c.createElementBlock("svg",q3,e7)}const si=Ce(X3,[["render",t7]]),n7={},r7={class:"icon icon-external",width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},o7=[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 s7(n,e){return c.openBlock(),c.createElementBlock("svg",r7,o7)}const Qd=Ce(n7,[["render",s7]]),i7={},a7={width:"30px",height:"30px",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon icon-eye-show"},l7=[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 c7(n,e){return c.openBlock(),c.createElementBlock("svg",a7,l7)}const Zd=Ce(i7,[["render",c7]]),u7={},d7={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"},f7=[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 h7(n,e){return c.openBlock(),c.createElementBlock("svg",d7,f7)}const Jd=Ce(u7,[["render",h7]]),p7={},m7={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"},g7=[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 T3(n,e){return c.openBlock(),c.createElementBlock("svg",b3,w3)}const Hd=Ce(A3,[["render",T3]]),S3={},_3={xmlns:"http://www.w3.org/2000/svg",width:"23",height:"17",viewBox:"0 0 18 15",fill:"none"},k3=[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 N3(n,e){return c.openBlock(),c.createElementBlock("svg",_3,k3)}const jd=Ce(S3,[["render",N3]]),I3={},x3={class:"icon icon-copy",width:"11",height:"14",viewBox:"0 0 11 14",xmlns:"http://www.w3.org/2000/svg"},M3=[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 O3(n,e){return c.openBlock(),c.createElementBlock("svg",x3,M3)}const Wd=Ce(I3,[["render",O3]]),L3={},D3={class:"icon icon-delete",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"20",viewBox:"0 0 16 20"},R3=[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 B3(n,e){return c.openBlock(),c.createElementBlock("svg",D3,R3)}const Kd=Ce(L3,[["render",B3]]),P3={},F3={class:"icon icon-double-check",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"13",viewBox:"0 0 24 13"},V3=[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 $3(n,e){return c.openBlock(),c.createElementBlock("svg",F3,V3)}const Yd=Ce(P3,[["render",$3]]),U3={},z3={viewBox:"0 0 20 20",height:"20",width:"20",xmlns:"http://www.w3.org/2000/svg",class:"icon icon-download-link"},H3=[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 j3(n,e){return c.openBlock(),c.createElementBlock("svg",z3,H3)}const Sl=Ce(U3,[["render",j3]]),W3={},K3={xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18"},Y3=[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 G3(n,e){return c.openBlock(),c.createElementBlock("svg",K3,Y3)}const Gd=Ce(W3,[["render",G3]]),Q3={},Z3={class:"icon icon-end-call",width:"16",height:"16",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"},J3=[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 X3(n,e){return c.openBlock(),c.createElementBlock("svg",Z3,J3)}const Qd=Ce(Q3,[["render",X3]]),q3={},e7={class:"icon icon-error",xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18"},t7=[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 n7(n,e){return c.openBlock(),c.createElementBlock("svg",e7,t7)}const ii=Ce(q3,[["render",n7]]),r7={},o7={class:"icon icon-external",width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},s7=[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 i7(n,e){return c.openBlock(),c.createElementBlock("svg",o7,s7)}const Zd=Ce(r7,[["render",i7]]),a7={},l7={width:"30px",height:"30px",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon icon-eye-show"},c7=[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 u7(n,e){return c.openBlock(),c.createElementBlock("svg",l7,c7)}const Jd=Ce(a7,[["render",u7]]),d7={},f7={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"},h7=[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 p7(n,e){return c.openBlock(),c.createElementBlock("svg",f7,h7)}const Xd=Ce(d7,[["render",p7]]),m7={},g7={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"},y7=[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 y7(n,e){return c.openBlock(),c.createElementBlock("svg",m7,g7)}const _l=Ce(p7,[["render",y7]]),v7={},E7={class:"icon icon-file-added",width:"14",height:"18",viewBox:"0 0 14 18",xmlns:"http://www.w3.org/2000/svg"},C7=[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 A7(n,e){return c.openBlock(),c.createElementBlock("svg",E7,C7)}const Xd=Ce(v7,[["render",A7]]),b7={},w7={class:"icon icon-forward",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"14",viewBox:"0 0 16 14"},T7=[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 S7(n,e){return c.openBlock(),c.createElementBlock("svg",w7,T7)}const qd=Ce(b7,[["render",S7]]),_7={},k7={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"},N7=[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 I7(n,e){return c.openBlock(),c.createElementBlock("svg",k7,N7)}const ef=Ce(_7,[["render",I7]]),x7={},M7={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"},O7=[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 L7(n,e){return c.openBlock(),c.createElementBlock("svg",M7,O7)}const ii=Ce(x7,[["render",L7]]),D7={},R7={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"},B7=[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 v7(n,e){return c.openBlock(),c.createElementBlock("svg",g7,y7)}const _l=Ce(m7,[["render",v7]]),E7={},C7={class:"icon icon-file-added",width:"14",height:"18",viewBox:"0 0 14 18",xmlns:"http://www.w3.org/2000/svg"},A7=[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 b7(n,e){return c.openBlock(),c.createElementBlock("svg",C7,A7)}const qd=Ce(E7,[["render",b7]]),w7={},T7={class:"icon icon-forward",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"14",viewBox:"0 0 16 14"},S7=[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 _7(n,e){return c.openBlock(),c.createElementBlock("svg",T7,S7)}const ef=Ce(w7,[["render",_7]]),k7={},N7={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"},I7=[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 x7(n,e){return c.openBlock(),c.createElementBlock("svg",N7,I7)}const tf=Ce(k7,[["render",x7]]),M7={},O7={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"},L7=[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 D7(n,e){return c.openBlock(),c.createElementBlock("svg",O7,L7)}const ai=Ce(M7,[["render",D7]]),R7={},B7={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"},P7=[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 F7(n,e){return c.openBlock(),c.createElementBlock("svg",B7,P7)}const nf=Ce(R7,[["render",F7]]),V7={},$7={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"},U7=[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 z7(n,e){return c.openBlock(),c.createElementBlock("svg",$7,U7)}const rf=Ce(V7,[["render",z7]]),H7={},j7={class:"icon icon-info",xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18"},W7=[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 K7(n,e){return c.openBlock(),c.createElementBlock("svg",j7,W7)}const Lr=Ce(H7,[["render",K7]]),Y7={},G7={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",class:"icon-info-circle"},Q7=[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 Z7(n,e){return c.openBlock(),c.createElementBlock("svg",G7,Q7)}const of=Ce(Y7,[["render",Z7]]),J7={},X7={width:"12",height:"14",viewBox:"0 0 12 14",xmlns:"http://www.w3.org/2000/svg",class:"icon icon-italic"},q7=[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 e4(n,e){return c.openBlock(),c.createElementBlock("svg",X7,q7)}const kl=Ce(J7,[["render",e4]]),t4={},n4={class:"icon icon-list-view",width:"20",height:"19",viewBox:"0 0 20 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r4=[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 o4(n,e){return c.openBlock(),c.createElementBlock("svg",n4,r4)}const sf=Ce(t4,[["render",o4]]),s4={},i4={class:"icon icon-lock",width:"13",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13 18"},a4=[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 l4(n,e){return c.openBlock(),c.createElementBlock("svg",i4,a4)}const af=Ce(s4,[["render",l4]]),c4={},u4={width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d4=[c.createElementVNode("circle",{cx:"6",cy:"6",r:"6",fill:"#F65139"},null,-1)];function f4(n,e){return c.openBlock(),c.createElementBlock("svg",u4,d4)}const lf=Ce(c4,[["render",f4]]),h4={},p4={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"},m4=[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 m4(n,e){return c.openBlock(),c.createElementBlock("svg",h4,p4)}const lf=Ce(f4,[["render",m4]]),g4={},y4={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"},v4=[c.createElementVNode("path",{d:"M7 0.5L13.5 11.5H0.5L7 0.5Z",fill:"#FF8800"},null,-1)];function E4(n,e){return c.openBlock(),c.createElementBlock("svg",y4,v4)}const cf=Ce(g4,[["render",E4]]),C4={},A4={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b4=[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 w4(n,e){return c.openBlock(),c.createElementBlock("svg",A4,b4)}const uf=Ce(C4,[["render",w4]]),T4={},S4={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},_4=[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 k4(n,e){return c.openBlock(),c.createElementBlock("svg",S4,_4)}const df=Ce(T4,[["render",k4]]),N4={},I4={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},x4=[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 M4(n,e){return c.openBlock(),c.createElementBlock("svg",I4,x4)}const ff=Ce(N4,[["render",M4]]),O4={},L4={class:"icon icon-menu",xmlns:"http://www.w3.org/2000/svg",width:"19",height:"12",viewBox:"0 0 19 12"},D4=[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 R4(n,e){return c.openBlock(),c.createElementBlock("svg",L4,D4)}const Nl=Ce(O4,[["render",R4]]),B4={},P4={class:"icon icon-message",xmlns:"http://www.w3.org/2000/svg",width:"18",height:"15",viewBox:"0 0 18 15"},F4=[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 V4(n,e){return c.openBlock(),c.createElementBlock("svg",P4,F4)}const hf=Ce(B4,[["render",V4]]),$4={},U4={class:"icon icon-message-forward",xmlns:"http://www.w3.org/2000/svg",width:"21",height:"19",viewBox:"0 0 21 19"},z4=[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 H4(n,e){return c.openBlock(),c.createElementBlock("svg",U4,z4)}const pf=Ce($4,[["render",H4]]),j4={},W4=[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 K4(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"}),W4,16)}const mf=Ce(j4,[["render",K4]]),Y4={},G4={class:"icon icon-microsoft-teams",xmlns:"http://www.w3.org/2000/svg",width:"18px",height:"18px",viewBox:"0 0 64 64"},Q4=[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 Z4(n,e){return c.openBlock(),c.createElementBlock("svg",G4,Q4)}const gf=Ce(Y4,[["render",Z4]]),J4={},X4={class:"icon icon-min",viewBox:"0 0 21 2",width:"21",height:"2",xmlns:"http://www.w3.org/2000/svg"},q4=[c.createElementVNode("path",{d:"M1.525 2h18.05a1 1 0 0 0 0-2H1.525a1 1 0 0 0 0 2z"},null,-1)];function e6(n,e){return c.openBlock(),c.createElementBlock("svg",X4,q4)}const yf=Ce(J4,[["render",e6]]),t6={},n6={width:"17",height:"15",viewBox:"0 0 17 15",xmlns:"http://www.w3.org/2000/svg",class:"icon icon-ordered-list"},r6=[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 o6(n,e){return c.openBlock(),c.createElementBlock("svg",n6,r6)}const Il=Ce(t6,[["render",o6]]),s6={},i6={class:"icon icon-plus",width:"12",height:"13",viewBox:"0 0 12 13",xmlns:"http://www.w3.org/2000/svg"},a6=[c.createElementVNode("path",{d:"M11.604 7.675H7.027v4.807H4.888V7.675h-4.6V5.628h4.6V.844h2.139v4.784h4.577z"},null,-1)];function l6(n,e){return c.openBlock(),c.createElementBlock("svg",i6,a6)}const vf=Ce(s6,[["render",l6]]),c6={},u6={class:"icon icon-refresh",xmlns:"http://www.w3.org/2000/svg",width:"18",height:"15",viewBox:"0 0 18 15"},d6=[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 f6(n,e){return c.openBlock(),c.createElementBlock("svg",u6,d6)}const Ef=Ce(c6,[["render",f6]]),h6={},p6={class:"icon icon-remove",width:"11",height:"11",viewBox:"0 0 11 11",xmlns:"http://www.w3.org/2000/svg"},m6=[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 g6(n,e){return c.openBlock(),c.createElementBlock("svg",p6,m6)}const is=Ce(h6,[["render",g6]]),y6={},v6={"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"},E6={id:"metadata8"},C6=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 A6(n,e){const t=c.resolveComponent("dc:format"),r=c.resolveComponent("dc:type"),o=c.resolveComponent("cc:Work"),s=c.resolveComponent("rdf:RDF");return c.openBlock(),c.createElementBlock("svg",v6,[c.createElementVNode("metadata",E6,[c.createVNode(s,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})]),C6])}const Cf=Ce(y6,[["render",A6]]),b6={},w6={class:"icon icon-service",viewBox:"0 0 20 21",xmlns:"http://www.w3.org/2000/svg"},T6=[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 S6(n,e){return c.openBlock(),c.createElementBlock("svg",w6,T6)}const Af=Ce(b6,[["render",S6]]),_6={},k6={class:"icon icon-share-screen",width:"12",height:"16",viewBox:"0 0 12 16",xmlns:"http://www.w3.org/2000/svg"},N6=[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 I6(n,e){return c.openBlock(),c.createElementBlock("svg",k6,N6)}const bf=Ce(_6,[["render",I6]]),x6={},M6={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"},O6=[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 L6(n,e){return c.openBlock(),c.createElementBlock("svg",M6,O6)}const wf=Ce(x6,[["render",L6]]),D6={},R6={xmlns:"http://www.w3.org/2000/svg",width:"9",height:"14",viewBox:"0 0 9 14"},B6=[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 P6(n,e){return c.openBlock(),c.createElementBlock("svg",R6,B6)}const Tf=Ce(D6,[["render",P6]]),F6={},V6={xmlns:"http://www.w3.org/2000/svg",width:"9",height:"14",viewBox:"0 0 9 14"},$6=[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 U6(n,e){return c.openBlock(),c.createElementBlock("svg",V6,$6)}const xl=Ce(F6,[["render",U6]]),z6={},H6={xmlns:"http://www.w3.org/2000/svg",width:"9",height:"14",viewBox:"0 0 9 14"},j6=[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 W6(n,e){return c.openBlock(),c.createElementBlock("svg",H6,j6)}const Ml=Ce(z6,[["render",W6]]),K6={},Y6={xmlns:"http://www.w3.org/2000/svg",width:"9",height:"14",viewBox:"0 0 9 14"},G6=[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 Q6(n,e){return c.openBlock(),c.createElementBlock("svg",Y6,G6)}const Ol=Ce(K6,[["render",Q6]]),Z6={},J6={class:"icon icon-triangle-down",xmlns:"http://www.w3.org/2000/svg",width:"12",height:"8",viewBox:"0 0 12 8"},X6=[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 q6(n,e){return c.openBlock(),c.createElementBlock("svg",J6,X6)}const Sf=Ce(Z6,[["render",q6]]),e8={},t8={width:"40",height:"34",viewBox:"0 0 40 34",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n8=[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 r8(n,e){return c.openBlock(),c.createElementBlock("svg",t8,n8)}const Ll=Ce(e8,[["render",r8]]),o8={},s8={width:"14",height:"16",viewBox:"0 0 14 16",xmlns:"http://www.w3.org/2000/svg",class:"icon icon-underline"},i8=[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 a8(n,e){return c.openBlock(),c.createElementBlock("svg",s8,i8)}const Dl=Ce(o8,[["render",a8]]),l8={},c8={class:"icon icon-videocall",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"14",viewBox:"0 0 20 14"},u8=[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 d8(n,e){return c.openBlock(),c.createElementBlock("svg",c8,u8)}const _f=Ce(l8,[["render",d8]]),f8={},h8=[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 p8(n,e,t,r,o,s){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"}),h8,16)}const kf=Ce(f8,[["render",p8]]),m8={},g8={width:"162",height:"124",viewBox:"0 0 162 124",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon icon-zorgkaart-nederland"},y8=[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 v8(n,e){return c.openBlock(),c.createElementBlock("svg",g8,y8)}const Nf=Ce(m8,[["render",v8]]),ai={PRIMARY:"primary",SECONDARY:"secondary",DANGER:"danger",WARNING:"warning",INFO:"info",SUCCESS:"success",LIGHT:"light",GRAY:"gray"},E8={key:0,class:"b-d-alert-title"},as=c.defineComponent({__name:"BDAlert",props:{variant:{default:ai.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",E8,[c.createVNode(c.unref(Lr)),c.createElementVNode("span",null,[c.createElementVNode("strong",null,c.toDisplayString(e.title),1)])])):c.createCommentVNode("",!0),c.renderSlot(r.$slots,"default")],2))}});function C8(n){return c.getCurrentScope()?(c.onScopeDispose(n),!0):!1}function li(n){return typeof n=="function"?n():c.unref(n)}const A8=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const b8=n=>typeof n<"u",w8=Object.prototype.toString,T8=n=>w8.call(n)==="[object Object]",Rl=()=>{};function S8(n,e){function t(...r){return new Promise((o,s)=>{Promise.resolve(n(()=>e.apply(this,r),{fn:e,thisArg:this,args:r})).then(o).catch(s)})}return t}function _8(n,e={}){let t,r,o=Rl;const s=l=>{clearTimeout(l),o(),o=Rl};return l=>{const a=li(n),u=li(e.maxWait);return t&&s(t),a<=0||u!==void 0&&u<=0?(r&&(s(r),r=null),Promise.resolve(l())):new Promise((d,f)=>{o=e.rejectOnCancel?f:d,u&&!r&&(r=setTimeout(()=>{t&&s(t),r=null,d(l())},u)),t=setTimeout(()=>{r&&s(r),r=null,d(l())},a)})}}function k8(n,e=200,t={}){return S8(_8(e,t),n)}function If(n){var e;const t=li(n);return(e=t==null?void 0:t.$el)!=null?e:t}const N8=A8?window:void 0;function xf(...n){let e,t,r,o;if(typeof n[0]=="string"||Array.isArray(n[0])?([t,r,o]=n,e=N8):[e,t,r,o]=n,!e)return Rl;Array.isArray(t)||(t=[t]),Array.isArray(r)||(r=[r]);const s=[],i=()=>{s.forEach(d=>d()),s.length=0},l=(d,f,h,p)=>(d.addEventListener(f,h,p),()=>d.removeEventListener(f,h,p)),a=c.watch(()=>[If(e),li(o)],([d,f])=>{if(i(),!d)return;const h=T8(f)?{...f}:f;s.push(...t.flatMap(p=>r.map(m=>l(d,p,m,h))))},{immediate:!0,flush:"post"}),u=()=>{a(),i()};return C8(u),u}function I8(n){return JSON.parse(JSON.stringify(n))}function x8(n,e={}){const{initialValue:t=!1,focusVisible:r=!1}=e,o=c.ref(!1),s=c.computed(()=>If(n));xf(s,"focus",l=>{var a,u;(!r||(u=(a=l.target).matches)!=null&&u.call(a,":focus-visible"))&&(o.value=!0)}),xf(s,"blur",()=>o.value=!1);const i=c.computed({get:()=>o.value,set(l){var a,u;!l&&o.value?(a=s.value)==null||a.blur():l&&!o.value&&((u=s.value)==null||u.focus())}});return c.watch(s,()=>{i.value=t},{immediate:!0,flush:"post"}),{focused:i}}function Dr(n,e,t,r={}){var o,s,i;const{clone:l=!1,passive:a=!1,eventName:u,deep:d=!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))||((i=(s=p==null?void 0:p.proxy)==null?void 0:s.$emit)==null?void 0:i.bind(p==null?void 0:p.proxy));let g=u;e||(e="modelValue"),g=g||`update:${e.toString()}`;const y=E=>l?typeof l=="function"?l(E):I8(E):E,C=()=>b8(n[e])?y(n[e]):f,w=E=>{h?h(E)&&m(g,E):m(g,E)};if(a){const E=C(),v=c.ref(E);let N=!1;return c.watch(()=>n[e],b=>{N||(N=!0,v.value=y(b),c.nextTick(()=>N=!1))}),c.watch(v,b=>{!N&&(b!==n[e]||d)&&w(b)},{deep:d}),v}else return c.computed({get(){return C()},set(E){w(E)}})}const M8={class:"bd-zoom-slider d-flex"},O8=[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)],L8=["max"],D8=[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)],Bl=c.defineComponent({__name:"BDZoomslider",props:{modelValue:{},maxValue:{default:5}},emits:["update:modelValue"],setup(n,{emit:e}){const t=n,r=Dr(t,"modelValue",e);function o(){r.value!==0&&r.value--}function s(){r.value<t.maxValue&&r.value++}return(i,l)=>(c.openBlock(),c.createElementBlock("div",M8,[(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},O8)),c.withDirectives(c.createElementVNode("input",{type:"range","onUpdate:modelValue":l[0]||(l[0]=a=>c.isRef(r)?r.value=a:null),min:"0",max:i.maxValue,class:"bd-zoom-slider-input"},null,8,L8),[[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:s},D8))]))}}),R8={class:"bd-profile-picture"},B8=["src","alt"],ls=c.defineComponent({__name:"BDProfileImage",props:{src:{default:""},username:{default:null},size:{default:At.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(s,i)=>(c.openBlock(),c.createElementBlock("div",R8,[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,B8)],2),t.linkText?(c.openBlock(),c.createBlock(Ze,{key:0,variant:"link",onClick:o,textContent:c.toDisplayString(t.linkText)},null,8,["textContent"])):c.createCommentVNode("",!0)]))}});for(var Rr=256,Mf=[],Of=256,ci;Rr--;)Mf[Rr]=(Rr+256).toString(16).substring(1);function Lf(n){var e=0,t=n||11;if(!ci||Rr+t>Of*2)for(ci="",Rr=0;e<Of;e++)ci+=Mf[Math.random()*256|0];return ci.substring(Rr,Rr+++t)}function fo(){return{uniqueIdentifier:c.ref(Lf())}}const P8=["id"],F8={key:0},ui=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}=fo(),r=t.value,o=c.computed(()=>({"bd-card card":!0,[`${e.class}`]:e.class,"no-body":e.noBody})),s=c.computed(()=>({"card-header":!0,"no-title":!e.title,[`${e.headerClass}`]:e.headerClass,[`${e.headerVariant}`]:e.headerVariant})),i=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(s.value)},[c.renderSlot(l.$slots,"header",{},()=>[l.title?(c.openBlock(),c.createElementBlock("h2",F8,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(i.value)},[c.renderSlot(l.$slots,"body")],2))],10,P8))}}),V8={key:0},$8={class:"bd-collapsable-card__actions"},U8=["data-bs-target"],Df=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}=fo(),r=t.value,o=c.computed(()=>`bd-collapsable-card__collapse-${r}`),s=c.computed(()=>({"d-block":[At.SM,At.MD].includes(e.showOn.toLowerCase()),"d-md-none":e.showOn.toLowerCase()==At.SM,"d-lg-none":e.showOn.toLowerCase()==At.MD})),i=c.computed(()=>{let a={"round-corners-sm":e.showOn.toLowerCase()==At.SM,"round-corners-md":e.showOn.toLowerCase()==At.MD,"is-disabled":e.disabled,"round-corners":!e.visible};return Object.keys(a).filter(u=>a[u]).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&&[At.SM,At.MD].includes(e.showOn.toLowerCase()),"open-collapse-md":e.showOn.toLowerCase()==At.SM&&e.visible};return Object.keys(a).filter(u=>a[u]).join(" ")});return(a,u)=>(c.openBlock(),c.createBlock(ui,{class:"bd-collapsable-card",title:a.title,"header-class":i.value,"body-class":l.value},{header:c.withCtx(()=>[a.title?(c.openBlock(),c.createElementBlock("h2",V8,c.toDisplayString(a.title),1)):c.createCommentVNode("",!0),c.createElementVNode("div",$8,[c.renderSlot(a.$slots,"action"),!a.disabled&&a.visible?(c.openBlock(),c.createElementBlock("button",{key:0,class:c.normalizeClass(["btn btn-white btn-caret",s.value]),type:"button","data-bs-toggle":"collapse","data-bs-target":`.${o.value}`,"aria-expanded":"true"},[c.createVNode(c.unref(bl))],10,U8)):c.createCommentVNode("",!0)])]),body:c.withCtx(()=>[c.renderSlot(a.$slots,"body")]),_:3},8,["title","header-class","body-class"]))}}),z8={class:"invalid-feedback bd-invalid-feedback"},di=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",z8,[e.state?(c.openBlock(),c.createBlock(c.unref(uo),{key:0})):(c.openBlock(),c.createBlock(c.unref(si),{key:1})),c.createTextVNode(" "+c.toDisplayString(e.text),1)]))}});/*! maska v2.1.11 | (c) Alexander Shabunevich | Released under the MIT license */var H8=Object.defineProperty,j8=(n,e,t)=>e in n?H8(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,cs=(n,e,t)=>(j8(n,typeof e!="symbol"?e+"":e,t),t);const Rf={"#":{pattern:/[0-9]/},"@":{pattern:/[a-zA-Z]/},"*":{pattern:/[a-zA-Z0-9]/}};class Bf{constructor(e={}){cs(this,"opts",{}),cs(this,"memo",new Map);const t={...e};if(t.tokens!=null){t.tokens=t.tokensReplace?{...t.tokens}:{...Rf,...t.tokens};for(const r of Object.values(t.tokens))typeof r.pattern=="string"&&(r.pattern=new RegExp(r.pattern))}else t.tokens=Rf;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,s)=>{o==="!"&&e[s-1]!=="!"?r.push(s-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:s,escaped:i}=this.escapeMask(t),l=[],a=this.opts.tokens!=null?this.opts.tokens:{},u=this.isReversed()?-1:1,d=this.isReversed()?"unshift":"push",f=this.isReversed()?0:s.length-1,h=this.isReversed()?()=>y>-1&&C>-1:()=>y<s.length&&C<e.length,p=E=>!this.isReversed()&&E<=f||this.isReversed()&&E>=f;let m,g=-1,y=this.isReversed()?s.length-1:0,C=this.isReversed()?e.length-1:0,w=!1;for(;h();){const E=s.charAt(y),v=a[E],N=(v==null?void 0:v.transform)!=null?v.transform(e.charAt(C)):e.charAt(C);if(!i.includes(y)&&v!=null?(N.match(v.pattern)!=null?(l[d](N),v.repeated?(g===-1?g=y:y===f&&y!==g&&(y=g-u),f===g&&(y-=u)):v.multiple&&(w=!0,y-=u),y+=u):v.multiple?w&&(y+=u,C-=u,w=!1):N===m?m=void 0:v.optional&&(y+=u,C-=u),C+=u):(r&&!this.isEager()&&l[d](E),N===E&&!this.isEager()?C+=u:m=E,this.isEager()||(y+=u)),this.isEager())for(;p(y)&&(a[s.charAt(y)]==null||i.includes(y));)r?l[d](s.charAt(y)):s.charAt(y)===e.charAt(C)&&(C+=u),y+=u}return this.memo.set(o,l.join("")),this.memo.get(o)}}const Pf=n=>JSON.parse(n.replaceAll("'",'"')),Ff=(n,e={})=>{const t={...e};return n.dataset.maska!=null&&n.dataset.maska!==""&&(t.mask=W8(n.dataset.maska)),n.dataset.maskaEager!=null&&(t.eager=Pl(n.dataset.maskaEager)),n.dataset.maskaReversed!=null&&(t.reversed=Pl(n.dataset.maskaReversed)),n.dataset.maskaTokensReplace!=null&&(t.tokensReplace=Pl(n.dataset.maskaTokensReplace)),n.dataset.maskaTokens!=null&&(t.tokens=K8(n.dataset.maskaTokens)),t},Pl=n=>n!==""?!!JSON.parse(n):!0,W8=n=>n.startsWith("[")&&n.endsWith("]")?Pf(n):n,K8=n=>{if(n.startsWith("{")&&n.endsWith("}"))return Pf(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 Y8{constructor(e,t={}){cs(this,"items",new Map),cs(this,"beforeinputEvent",r=>{const o=r.target,s=this.items.get(o);s.isEager()&&"inputType"in r&&r.inputType.startsWith("delete")&&s.unmasked(o.value).length<=1&&this.setMaskedValue(o,"")}),cs(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,s=this.items.get(o),i=o.value,l=o.selectionStart,a=o.selectionEnd;let u=i;if(s.isEager()){const d=s.masked(i),f=s.unmasked(i);f===""&&"data"in r&&r.data!=null?u=r.data:f!==s.unmasked(d)&&(u=f)}if(this.setMaskedValue(o,u),"inputType"in r&&(r.inputType.startsWith("delete")||l!=null&&l<i.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 Bf(Ff(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,...s}=e;return s}init(e,t){for(const r of e){const o=new Bf(Ff(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),s=r.unmasked(r.isEager()?o:t),i=r.completed(t),l={masked:o,unmasked:s,completed:i};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 Fl=new WeakMap,G8=n=>{setTimeout(()=>{var e;((e=Fl.get(n))==null?void 0:e.needUpdateValue(n))===!0&&n.dispatchEvent(new CustomEvent("input"))})},Q8=(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;G8(t);const o=Fl.get(t);if(o!=null){if(!o.needUpdateOptions(t,r))return;o.destroy()}if(e.value!=null){const s=e.value,i=l=>{s.masked=l.masked,s.unmasked=l.unmasked,s.completed=l.completed};r.onMaska=r.onMaska==null?i:Array.isArray(r.onMaska)?[...r.onMaska,i]:[r.onMaska,i]}Fl.set(t,new Y8(t,r))},Z8=["value","type"],Br=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:At.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}=fo(),o=Dr(t,"modelValue",e),s=`__BD__FORM__LABEL__${r.value}`,i=`__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}`,u=c.computed(()=>({[`${t.inputClass}`]:t.inputClass,"is-invalid":t.state===!1,"is-valid":t.state===!0,[`form-control-${t.size}`]:t.size})),d=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=k8(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:i},[c.renderSlot(p.$slots,"label",{},()=>[p.label?(c.openBlock(),c.createElementBlock("label",{key:0,for:l,id:s,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",u.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,Z8),[[c.unref(Q8)]]),c.renderSlot(p.$slots,"default")],2),c.createVNode(di,{text:p.invalidFeedbackText,class:c.normalizeClass(d.value),state:p.state,id:a},null,8,["text","class","state"])],2))}}),J8={class:"input-group bd-input-group"},X8=["for"],Vf=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",J8,[e.label?(c.openBlock(),c.createElementBlock("label",{key:0,for:e.labelForId,class:"form-label"},c.toDisplayString(e.label),9,X8)):c.createCommentVNode("",!0),c.createElementVNode("div",{class:c.normalizeClass(c.unref(t).class)},[c.renderSlot(r.$slots,"default")],2)]))}}),q8={key:0},ey={key:1},$f=c.defineComponent({__name:"BDBadge",props:{variant:{default:ai.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",q8,[c.createVNode(c.unref(Lr))])):c.createCommentVNode("",!0),r.variant==="success"?(c.openBlock(),c.createElementBlock("span",ey,[c.createVNode(c.unref(uo))])):c.createCommentVNode("",!0),c.renderSlot(r.$slots,"default")],2))}}),ty=["onSubmit","onReset"],Uf=c.defineComponent({__name:"BDForm",emits:["submit","reset"],setup(n,{emit:e}){function t(){e("submit")}function r(){e("reset")}return(o,s)=>(c.openBlock(),c.createElementBlock("form",{onSubmit:c.withModifiers(t,["prevent"]),onReset:c.withModifiers(r,["prevent"])},[c.renderSlot(o.$slots,"default")],40,ty))}}),ny={"aria-label":"Page navigation",class:"bd-pagination"},ry={class:"page-item"},oy=["data-page"],sy=["data-page"],iy={class:"page-item"},ay=["data-page"],zf=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=Dr(t,"modelValue",e),o=c.ref(Math.ceil(t.totalRows/t.rowsPerPage)),s=c.ref([]);c.watch([()=>t.totalRows,()=>t.rowsPerPage],()=>{o.value=Math.ceil(t.totalRows/t.rowsPerPage),s.value=d(r.value)}),c.onMounted(()=>{s.value=d(r.value)});const i=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,s.value=d(p)),e("click",p)},a=(f,h,p)=>p<=h?p:f==1?6:f<=4?5:1,u=(f,h,p)=>p<=h?0:f==p?6:f>p-4?5:1,d=f=>{const h=[],m=a(f,7,o.value),g=o.value>7&&f>4,y=o.value>7&&f<o.value-3,C=g&&y,w=u(f,7,o.value);for(let E=1;E<=m;E++)h.push(E);if(g&&h.push("..."),C)for(let E=f-1;E<=f+1;E++)h.push(E);y&&h.push("...");for(let E=1;E<=w;E++)h.push(o.value-w+E);return h};return(f,h)=>(c.openBlock(),c.createElementBlock("div",ny,[c.createElementVNode("ul",{class:c.normalizeClass(["pagination",i.value])},[c.withDirectives(c.createElementVNode("li",ry,[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(wl))],8,oy)],512),[[c.vShow,c.unref(r)>1]]),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(s.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,sy)],2))),128)),c.withDirectives(c.createElementVNode("li",iy,[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(Tl))],8,ay)],512),[[c.vShow,c.unref(r)<o.value]])],2)]))}}),ly=["disabled"],cy=["label"],uy=["value"],dy=["value"],Hf=c.defineComponent({__name:"BDFormSelect",props:{size:{default:At.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=Dr(t,"modelValue",e),o=c.ref(null),{focused:s}=x8(o,{initialValue:t.autofocus}),i=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,d=>{d&&(s.value=!0)});const l=d=>{r.value=d.target.value;let f=u(d.target.value);e("input",f)},a=d=>{let f=u(d.target.value);e("change",f)},u=d=>{try{return JSON.parse(d)}catch{return d}};return(d,f)=>c.withDirectives((c.openBlock(),c.createElementBlock("select",{class:c.normalizeClass(i.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(d.$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,uy))),128))],8,cy))),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,dy))),128))],42,ly)),[[c.vModelSelect,c.unref(r)]])}}),fy=["value","true-value","false-value","data-checked"],jf=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}=fo(),o=Dr(t,"modelValue",e),s=`form-check-input-${r.value}`,i=c.computed(()=>["form-check","bd-form-checkbox"]),l=c.computed(()=>({"form-check-input":!0,"is-invalid":t.state===!1})),a=u=>e("change",u.target.value);return(u,d)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(i.value)},[c.withDirectives(c.createElementVNode("input",{"onUpdate:modelValue":d[0]||(d[0]=f=>c.isRef(o)?o.value=f:null),id:s,class:c.normalizeClass(l.value),type:"checkbox",value:u.value,"true-value":u.value,"false-value":u.uncheckedValue,"data-checked":c.unref(o)===u.value,onChange:a},null,42,fy),[[c.vModelCheckbox,c.unref(o)]]),c.createElementVNode("label",{class:"form-check-label",for:s},[c.renderSlot(u.$slots,"default")]),c.renderSlot(u.$slots,"last")],2))}}),hy={key:0,class:"bd-article__body"},py={key:1},Wf=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,s)=>(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",hy,[c.renderSlot(o.$slots,"default",{},()=>[c.createTextVNode(c.toDisplayString(t.text),1)])])),t.hideFooter?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("footer",py,[c.renderSlot(o.$slots,"footer")]))]))}}),ho={DANGER:"danger",WARNING:"warning",INFO:"info",SUCCESS:"success"},my=["id"],gy={class:"toast-header"},yy=c.createElementVNode("button",{type:"button",class:"btn-close","data-bs-dismiss":"toast","aria-label":"Close"},null,-1),vy={class:"toast-body"},Vl=c.defineComponent({__name:"BDToast",props:{id:{},variant:{default:ho.INFO},title:{default:""},text:{default:""}},setup(n){const e=n,t=c.computed(()=>({[`bd-toast-${e.variant}`]:!0})),r=c.computed(()=>e.variant!==ho.SUCCESS);return(o,s)=>(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",gy,[r.value?(c.openBlock(),c.createBlock(c.unref(Lr),{key:0})):(c.openBlock(),c.createBlock(c.unref(uo),{key:1})),c.createElementVNode("h5",null,c.toDisplayString(e.title),1),yy]),c.createElementVNode("div",vy,[c.createElementVNode("span",null,c.toDisplayString(e.text),1)])],10,my))}}),Ve="",fi=n=>typeof n=="string"||n instanceof String,Ey={class:"bd-pill"},Cy=["src"],Ay={class:"bd-pill__description"},by=["href"],wy=["id","textContent","title"],Ty=["id","textContent","title"],hi=c.defineComponent({__name:"BDPill",props:{imgSrc:{default:Ve},uri:{default:Ve},uriDisplayName:{default:Ve},title:{default:Ve},subtitle:{default:Ve},showClose:{type:Boolean,default:!1}},emits:["close"],setup(n,{emit:e}){const t=n,{uniqueIdentifier:r}=fo(),o=c.computed(()=>t.uri),s=c.computed(()=>t.uriDisplayName!==Ve?t.uriDisplayName:t.uri),i=c.computed(()=>t.imgSrc),l=c.computed(()=>t.title),a=c.computed(()=>t.subtitle),u=c.computed(()=>`bd-pill-title-${r.value}`),d=c.computed(()=>`bd-pill-subtitle-${r.value}`);return(f,h)=>(c.openBlock(),c.createElementBlock("div",Ey,[c.createElementVNode("img",{src:i.value,class:"bd-pill__logo",alt:"logo-externe-partij"},null,8,Cy),c.createElementVNode("div",Ay,[c.createElementVNode("a",{href:o.value,class:"bd-pill__link",target:"_blank",rel:"noopener noreferrer"},[c.createVNode(c.unref(ii),{class:"bd-pill__icon-hyperlink",style:{height:"12px"}}),c.createTextVNode(" "+c.toDisplayString(s.value),1)],8,by),c.createElementVNode("span",{class:"bd-pill__title",id:u.value,textContent:c.toDisplayString(l.value),"data-bs-toggle":"tooltip",title:l.value},null,8,wy),c.createElementVNode("span",{class:"bd-pill__subtitle",id:d.value,textContent:c.toDisplayString(a.value),"data-bs-toggle":"tooltip",title:a.value},null,8,Ty)])]))}});function Sy(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 _y=n=>Array.isArray(n)&&n.length>0,ky=n=>Object.keys(n).map(e=>n[e]),$l={name:"BDUserInformation",props:{value:{type:Object},showProfilePicture:{type:Boolean}},render(){const n=this.value,{name:e,profilePictureUri:t,extra:r}=n,o=Sy(n,["name","profilePictureUri","extra"]),s=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),u=c.h("small",null,ky(o).filter(f=>f).join(" • ")),d=c.h("div",{class:"bd-user-information__detail"},[a,u]);return c.h("div",{class:"bd-user-information"},[s,d])}},pi=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,s)=>(c.openBlock(),c.createElementBlock("li",c.mergeProps({class:"bd-dropdown-item"},o.$attrs),[c.createVNode(Mr,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 Ul=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function zl(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Kf={exports:{}};(function(n,e){(function(r,o){n.exports=o()})(self,function(){return function(){var t={3099:function(i){i.exports=function(l){if(typeof l!="function")throw TypeError(String(l)+" is not a function");return l}},6077:function(i,l,a){var u=a(111);i.exports=function(d){if(!u(d)&&d!==null)throw TypeError("Can't set "+String(d)+" as a prototype");return d}},1223:function(i,l,a){var u=a(5112),d=a(30),f=a(3070),h=u("unscopables"),p=Array.prototype;p[h]==null&&f.f(p,h,{configurable:!0,value:d(null)}),i.exports=function(m){p[h][m]=!0}},1530:function(i,l,a){var u=a(8710).charAt;i.exports=function(d,f,h){return f+(h?u(d,f).length:1)}},5787:function(i){i.exports=function(l,a,u){if(!(l instanceof a))throw TypeError("Incorrect "+(u?u+" ":"")+"invocation");return l}},9670:function(i,l,a){var u=a(111);i.exports=function(d){if(!u(d))throw TypeError(String(d)+" is not an object");return d}},4019:function(i){i.exports=typeof ArrayBuffer<"u"&&typeof DataView<"u"},260:function(i,l,a){var u=a(4019),d=a(9781),f=a(7854),h=a(111),p=a(6656),m=a(648),g=a(8880),y=a(1320),C=a(3070).f,w=a(9518),E=a(7674),v=a(5112),N=a(9711),b=f.Int8Array,x=b&&b.prototype,B=f.Uint8ClampedArray,R=B&&B.prototype,U=b&&w(b),$=x&&w(x),P=Object.prototype,Y=P.isPrototypeOf,G=v("toStringTag"),K=N("TYPED_ARRAY_TAG"),H=u&&!!E&&m(f.opera)!=="Opera",J=!1,z,ee={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},re={BigInt64Array:8,BigUint64Array:8},ue=function(O){if(!h(O))return!1;var D=m(O);return D==="DataView"||p(ee,D)||p(re,D)},ge=function(Ae){if(!h(Ae))return!1;var O=m(Ae);return p(ee,O)||p(re,O)},Ee=function(Ae){if(ge(Ae))return Ae;throw TypeError("Target is not a typed array")},Se=function(Ae){if(E){if(Y.call(U,Ae))return Ae}else for(var O in ee)if(p(ee,z)){var D=f[O];if(D&&(Ae===D||Y.call(D,Ae)))return Ae}throw TypeError("Target is not a typed array constructor")},ke=function(Ae,O,D){if(d){if(D)for(var I in ee){var L=f[I];L&&p(L.prototype,Ae)&&delete L.prototype[Ae]}(!$[Ae]||D)&&y($,Ae,D?O:H&&x[Ae]||O)}},xe=function(Ae,O,D){var I,L;if(d){if(E){if(D)for(I in ee)L=f[I],L&&p(L,Ae)&&delete L[Ae];if(!U[Ae]||D)try{return y(U,Ae,D?O:H&&b[Ae]||O)}catch{}else return}for(I in ee)L=f[I],L&&(!L[Ae]||D)&&y(L,Ae,O)}};for(z in ee)f[z]||(H=!1);if((!H||typeof U!="function"||U===Function.prototype)&&(U=function(){throw TypeError("Incorrect invocation")},H))for(z in ee)f[z]&&E(f[z],U);if((!H||!$||$===P)&&($=U.prototype,H))for(z in ee)f[z]&&E(f[z].prototype,$);if(H&&w(R)!==$&&E(R,$),d&&!p($,G)){J=!0,C($,G,{get:function(){return h(this)?this[K]:void 0}});for(z in ee)f[z]&&g(f[z],K,z)}i.exports={NATIVE_ARRAY_BUFFER_VIEWS:H,TYPED_ARRAY_TAG:J&&K,aTypedArray:Ee,aTypedArrayConstructor:Se,exportTypedArrayMethod:ke,exportTypedArrayStaticMethod:xe,isView:ue,isTypedArray:ge,TypedArray:U,TypedArrayPrototype:$}},3331:function(i,l,a){var u=a(7854),d=a(9781),f=a(4019),h=a(8880),p=a(2248),m=a(7293),g=a(5787),y=a(9958),C=a(7466),w=a(7067),E=a(1179),v=a(9518),N=a(7674),b=a(8006).f,x=a(3070).f,B=a(1285),R=a(8003),U=a(9909),$=U.get,P=U.set,Y="ArrayBuffer",G="DataView",K="prototype",H="Wrong length",J="Wrong index",z=u[Y],ee=z,re=u[G],ue=re&&re[K],ge=Object.prototype,Ee=u.RangeError,Se=E.pack,ke=E.unpack,xe=function(_){return[_&255]},Ae=function(_){return[_&255,_>>8&255]},O=function(_){return[_&255,_>>8&255,_>>16&255,_>>24&255]},D=function(_){return _[3]<<24|_[2]<<16|_[1]<<8|_[0]},I=function(_){return Se(_,23,4)},L=function(_){return Se(_,52,8)},A=function(_,V){x(_[K],V,{get:function(){return $(this)[V]}})},T=function(_,V,Q,ae){var pe=w(Q),Te=$(_);if(pe+V>Te.byteLength)throw Ee(J);var q=$(Te.buffer).bytes,ie=pe+Te.byteOffset,be=q.slice(ie,ie+V);return ae?be:be.reverse()},k=function(_,V,Q,ae,pe,Te){var q=w(Q),ie=$(_);if(q+V>ie.byteLength)throw Ee(J);for(var be=$(ie.buffer).bytes,Pe=q+ie.byteOffset,qe=ae(+pe),nt=0;nt<V;nt++)be[Pe+nt]=qe[Te?nt:V-nt-1]};if(!f)ee=function(V){g(this,ee,Y);var Q=w(V);P(this,{bytes:B.call(new Array(Q),0),byteLength:Q}),d||(this.byteLength=Q)},re=function(V,Q,ae){g(this,re,G),g(V,ee,G);var pe=$(V).byteLength,Te=y(Q);if(Te<0||Te>pe)throw Ee("Wrong offset");if(ae=ae===void 0?pe-Te:C(ae),Te+ae>pe)throw Ee(H);P(this,{buffer:V,byteLength:ae,byteOffset:Te}),d||(this.buffer=V,this.byteLength=ae,this.byteOffset=Te)},d&&(A(ee,"byteLength"),A(re,"buffer"),A(re,"byteLength"),A(re,"byteOffset")),p(re[K],{getInt8:function(V){return T(this,1,V)[0]<<24>>24},getUint8:function(V){return T(this,1,V)[0]},getInt16:function(V){var Q=T(this,2,V,arguments.length>1?arguments[1]:void 0);return(Q[1]<<8|Q[0])<<16>>16},getUint16:function(V){var Q=T(this,2,V,arguments.length>1?arguments[1]:void 0);return Q[1]<<8|Q[0]},getInt32:function(V){return D(T(this,4,V,arguments.length>1?arguments[1]:void 0))},getUint32:function(V){return D(T(this,4,V,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(V){return ke(T(this,4,V,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(V){return ke(T(this,8,V,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(V,Q){k(this,1,V,xe,Q)},setUint8:function(V,Q){k(this,1,V,xe,Q)},setInt16:function(V,Q){k(this,2,V,Ae,Q,arguments.length>2?arguments[2]:void 0)},setUint16:function(V,Q){k(this,2,V,Ae,Q,arguments.length>2?arguments[2]:void 0)},setInt32:function(V,Q){k(this,4,V,O,Q,arguments.length>2?arguments[2]:void 0)},setUint32:function(V,Q){k(this,4,V,O,Q,arguments.length>2?arguments[2]:void 0)},setFloat32:function(V,Q){k(this,4,V,I,Q,arguments.length>2?arguments[2]:void 0)},setFloat64:function(V,Q){k(this,8,V,L,Q,arguments.length>2?arguments[2]:void 0)}});else{if(!m(function(){z(1)})||!m(function(){new z(-1)})||m(function(){return new z,new z(1.5),new z(NaN),z.name!=Y})){ee=function(V){return g(this,ee),new z(w(V))};for(var M=ee[K]=z[K],j=b(z),W=0,Z;j.length>W;)(Z=j[W++])in ee||h(ee,Z,z[Z]);M.constructor=ee}N&&v(ue)!==ge&&N(ue,ge);var X=new re(new ee(2)),S=ue.setInt8;X.setInt8(0,2147483648),X.setInt8(1,2147483649),(X.getInt8(0)||!X.getInt8(1))&&p(ue,{setInt8:function(V,Q){S.call(this,V,Q<<24>>24)},setUint8:function(V,Q){S.call(this,V,Q<<24>>24)}},{unsafe:!0})}R(ee,Y),R(re,G),i.exports={ArrayBuffer:ee,DataView:re}},1048:function(i,l,a){var u=a(7908),d=a(1400),f=a(7466),h=Math.min;i.exports=[].copyWithin||function(m,g){var y=u(this),C=f(y.length),w=d(m,C),E=d(g,C),v=arguments.length>2?arguments[2]:void 0,N=h((v===void 0?C:d(v,C))-E,C-w),b=1;for(E<w&&w<E+N&&(b=-1,E+=N-1,w+=N-1);N-- >0;)E in y?y[w]=y[E]:delete y[w],w+=b,E+=b;return y}},1285:function(i,l,a){var u=a(7908),d=a(1400),f=a(7466);i.exports=function(p){for(var m=u(this),g=f(m.length),y=arguments.length,C=d(y>1?arguments[1]:void 0,g),w=y>2?arguments[2]:void 0,E=w===void 0?g:d(w,g);E>C;)m[C++]=p;return m}},8533:function(i,l,a){var u=a(2092).forEach,d=a(9341),f=d("forEach");i.exports=f?[].forEach:function(p){return u(this,p,arguments.length>1?arguments[1]:void 0)}},8457:function(i,l,a){var u=a(9974),d=a(7908),f=a(3411),h=a(7659),p=a(7466),m=a(6135),g=a(1246);i.exports=function(C){var w=d(C),E=typeof this=="function"?this:Array,v=arguments.length,N=v>1?arguments[1]:void 0,b=N!==void 0,x=g(w),B=0,R,U,$,P,Y,G;if(b&&(N=u(N,v>2?arguments[2]:void 0,2)),x!=null&&!(E==Array&&h(x)))for(P=x.call(w),Y=P.next,U=new E;!($=Y.call(P)).done;B++)G=b?f(P,N,[$.value,B],!0):$.value,m(U,B,G);else for(R=p(w.length),U=new E(R);R>B;B++)G=b?N(w[B],B):w[B],m(U,B,G);return U.length=B,U}},1318:function(i,l,a){var u=a(5656),d=a(7466),f=a(1400),h=function(p){return function(m,g,y){var C=u(m),w=d(C.length),E=f(y,w),v;if(p&&g!=g){for(;w>E;)if(v=C[E++],v!=v)return!0}else for(;w>E;E++)if((p||E in C)&&C[E]===g)return p||E||0;return!p&&-1}};i.exports={includes:h(!0),indexOf:h(!1)}},2092:function(i,l,a){var u=a(9974),d=a(8361),f=a(7908),h=a(7466),p=a(5417),m=[].push,g=function(y){var C=y==1,w=y==2,E=y==3,v=y==4,N=y==6,b=y==7,x=y==5||N;return function(B,R,U,$){for(var P=f(B),Y=d(P),G=u(R,U,3),K=h(Y.length),H=0,J=$||p,z=C?J(B,K):w||b?J(B,0):void 0,ee,re;K>H;H++)if((x||H in Y)&&(ee=Y[H],re=G(ee,H,P),y))if(C)z[H]=re;else if(re)switch(y){case 3:return!0;case 5:return ee;case 6:return H;case 2:m.call(z,ee)}else switch(y){case 4:return!1;case 7:m.call(z,ee)}return N?-1:E||v?v:z}};i.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(i,l,a){var u=a(5656),d=a(9958),f=a(7466),h=a(9341),p=Math.min,m=[].lastIndexOf,g=!!m&&1/[1].lastIndexOf(1,-0)<0,y=h("lastIndexOf"),C=g||!y;i.exports=C?function(E){if(g)return m.apply(this,arguments)||0;var v=u(this),N=f(v.length),b=N-1;for(arguments.length>1&&(b=p(b,d(arguments[1]))),b<0&&(b=N+b);b>=0;b--)if(b in v&&v[b]===E)return b||0;return-1}:m},1194:function(i,l,a){var u=a(7293),d=a(5112),f=a(7392),h=d("species");i.exports=function(p){return f>=51||!u(function(){var m=[],g=m.constructor={};return g[h]=function(){return{foo:1}},m[p](Boolean).foo!==1})}},9341:function(i,l,a){var u=a(7293);i.exports=function(d,f){var h=[][d];return!!h&&u(function(){h.call(null,f||function(){throw 1},1)})}},3671:function(i,l,a){var u=a(3099),d=a(7908),f=a(8361),h=a(7466),p=function(m){return function(g,y,C,w){u(y);var E=d(g),v=f(E),N=h(E.length),b=m?N-1:0,x=m?-1:1;if(C<2)for(;;){if(b in v){w=v[b],b+=x;break}if(b+=x,m?b<0:N<=b)throw TypeError("Reduce of empty array with no initial value")}for(;m?b>=0:N>b;b+=x)b in v&&(w=y(w,v[b],b,E));return w}};i.exports={left:p(!1),right:p(!0)}},5417:function(i,l,a){var u=a(111),d=a(3157),f=a(5112),h=f("species");i.exports=function(p,m){var g;return d(p)&&(g=p.constructor,typeof g=="function"&&(g===Array||d(g.prototype))?g=void 0:u(g)&&(g=g[h],g===null&&(g=void 0))),new(g===void 0?Array:g)(m===0?0:m)}},3411:function(i,l,a){var u=a(9670),d=a(9212);i.exports=function(f,h,p,m){try{return m?h(u(p)[0],p[1]):h(p)}catch(g){throw d(f),g}}},7072:function(i,l,a){var u=a(5112),d=u("iterator"),f=!1;try{var h=0,p={next:function(){return{done:!!h++}},return:function(){f=!0}};p[d]=function(){return this},Array.from(p,function(){throw 2})}catch{}i.exports=function(m,g){if(!g&&!f)return!1;var y=!1;try{var C={};C[d]=function(){return{next:function(){return{done:y=!0}}}},m(C)}catch{}return y}},4326:function(i){var l={}.toString;i.exports=function(a){return l.call(a).slice(8,-1)}},648:function(i,l,a){var u=a(1694),d=a(4326),f=a(5112),h=f("toStringTag"),p=d(function(){return arguments}())=="Arguments",m=function(g,y){try{return g[y]}catch{}};i.exports=u?d:function(g){var y,C,w;return g===void 0?"Undefined":g===null?"Null":typeof(C=m(y=Object(g),h))=="string"?C:p?d(y):(w=d(y))=="Object"&&typeof y.callee=="function"?"Arguments":w}},9920:function(i,l,a){var u=a(6656),d=a(3887),f=a(1236),h=a(3070);i.exports=function(p,m){for(var g=d(m),y=h.f,C=f.f,w=0;w<g.length;w++){var E=g[w];u(p,E)||y(p,E,C(m,E))}}},8544:function(i,l,a){var u=a(7293);i.exports=!u(function(){function d(){}return d.prototype.constructor=null,Object.getPrototypeOf(new d)!==d.prototype})},4994:function(i,l,a){var u=a(3383).IteratorPrototype,d=a(30),f=a(9114),h=a(8003),p=a(7497),m=function(){return this};i.exports=function(g,y,C){var w=y+" Iterator";return g.prototype=d(u,{next:f(1,C)}),h(g,w,!1,!0),p[w]=m,g}},8880:function(i,l,a){var u=a(9781),d=a(3070),f=a(9114);i.exports=u?function(h,p,m){return d.f(h,p,f(1,m))}:function(h,p,m){return h[p]=m,h}},9114:function(i){i.exports=function(l,a){return{enumerable:!(l&1),configurable:!(l&2),writable:!(l&4),value:a}}},6135:function(i,l,a){var u=a(7593),d=a(3070),f=a(9114);i.exports=function(h,p,m){var g=u(p);g in h?d.f(h,g,f(0,m)):h[g]=m}},654:function(i,l,a){var u=a(2109),d=a(4994),f=a(9518),h=a(7674),p=a(8003),m=a(8880),g=a(1320),y=a(5112),C=a(1913),w=a(7497),E=a(3383),v=E.IteratorPrototype,N=E.BUGGY_SAFARI_ITERATORS,b=y("iterator"),x="keys",B="values",R="entries",U=function(){return this};i.exports=function($,P,Y,G,K,H,J){d(Y,P,G);var z=function(O){if(O===K&&Ee)return Ee;if(!N&&O in ue)return ue[O];switch(O){case x:return function(){return new Y(this,O)};case B:return function(){return new Y(this,O)};case R:return function(){return new Y(this,O)}}return function(){return new Y(this)}},ee=P+" Iterator",re=!1,ue=$.prototype,ge=ue[b]||ue["@@iterator"]||K&&ue[K],Ee=!N&&ge||z(K),Se=P=="Array"&&ue.entries||ge,ke,xe,Ae;if(Se&&(ke=f(Se.call(new $)),v!==Object.prototype&&ke.next&&(!C&&f(ke)!==v&&(h?h(ke,v):typeof ke[b]!="function"&&m(ke,b,U)),p(ke,ee,!0,!0),C&&(w[ee]=U))),K==B&&ge&&ge.name!==B&&(re=!0,Ee=function(){return ge.call(this)}),(!C||J)&&ue[b]!==Ee&&m(ue,b,Ee),w[P]=Ee,K)if(xe={values:z(B),keys:H?Ee:z(x),entries:z(R)},J)for(Ae in xe)(N||re||!(Ae in ue))&&g(ue,Ae,xe[Ae]);else u({target:P,proto:!0,forced:N||re},xe);return xe}},9781:function(i,l,a){var u=a(7293);i.exports=!u(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},317:function(i,l,a){var u=a(7854),d=a(111),f=u.document,h=d(f)&&d(f.createElement);i.exports=function(p){return h?f.createElement(p):{}}},8324:function(i){i.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(i,l,a){var u=a(5005);i.exports=u("navigator","userAgent")||""},7392:function(i,l,a){var u=a(7854),d=a(8113),f=u.process,h=f&&f.versions,p=h&&h.v8,m,g;p?(m=p.split("."),g=m[0]+m[1]):d&&(m=d.match(/Edge\/(\d+)/),(!m||m[1]>=74)&&(m=d.match(/Chrome\/(\d+)/),m&&(g=m[1]))),i.exports=g&&+g},748:function(i){i.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:function(i,l,a){var u=a(7854),d=a(1236).f,f=a(8880),h=a(1320),p=a(3505),m=a(9920),g=a(4705);i.exports=function(y,C){var w=y.target,E=y.global,v=y.stat,N,b,x,B,R,U;if(E?b=u:v?b=u[w]||p(w,{}):b=(u[w]||{}).prototype,b)for(x in C){if(R=C[x],y.noTargetGet?(U=d(b,x),B=U&&U.value):B=b[x],N=g(E?x:w+(v?".":"#")+x,y.forced),!N&&B!==void 0){if(typeof R==typeof B)continue;m(R,B)}(y.sham||B&&B.sham)&&f(R,"sham",!0),h(b,x,R,y)}}},7293:function(i){i.exports=function(l){try{return!!l()}catch{return!0}}},7007:function(i,l,a){a(4916);var u=a(1320),d=a(7293),f=a(5112),h=a(2261),p=a(8880),m=f("species"),g=!d(function(){var v=/./;return v.exec=function(){var N=[];return N.groups={a:"7"},N},"".replace(v,"$<a>")!=="7"}),y=function(){return"a".replace(/./,"$0")==="$0"}(),C=f("replace"),w=function(){return/./[C]?/./[C]("a","$0")==="":!1}(),E=!d(function(){var v=/(?:)/,N=v.exec;v.exec=function(){return N.apply(this,arguments)};var b="ab".split(v);return b.length!==2||b[0]!=="a"||b[1]!=="b"});i.exports=function(v,N,b,x){var B=f(v),R=!d(function(){var K={};return K[B]=function(){return 7},""[v](K)!=7}),U=R&&!d(function(){var K=!1,H=/a/;return v==="split"&&(H={},H.constructor={},H.constructor[m]=function(){return H},H.flags="",H[B]=/./[B]),H.exec=function(){return K=!0,null},H[B](""),!K});if(!R||!U||v==="replace"&&!(g&&y&&!w)||v==="split"&&!E){var $=/./[B],P=b(B,""[v],function(K,H,J,z,ee){return H.exec===h?R&&!ee?{done:!0,value:$.call(H,J,z)}:{done:!0,value:K.call(J,H,z)}:{done:!1}},{REPLACE_KEEPS_$0:y,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:w}),Y=P[0],G=P[1];u(String.prototype,v,Y),u(RegExp.prototype,B,N==2?function(K,H){return G.call(K,this,H)}:function(K){return G.call(K,this)})}x&&p(RegExp.prototype[B],"sham",!0)}},9974:function(i,l,a){var u=a(3099);i.exports=function(d,f,h){if(u(d),f===void 0)return d;switch(h){case 0:return function(){return d.call(f)};case 1:return function(p){return d.call(f,p)};case 2:return function(p,m){return d.call(f,p,m)};case 3:return function(p,m,g){return d.call(f,p,m,g)}}return function(){return d.apply(f,arguments)}}},5005:function(i,l,a){var u=a(857),d=a(7854),f=function(h){return typeof h=="function"?h:void 0};i.exports=function(h,p){return arguments.length<2?f(u[h])||f(d[h]):u[h]&&u[h][p]||d[h]&&d[h][p]}},1246:function(i,l,a){var u=a(648),d=a(7497),f=a(5112),h=f("iterator");i.exports=function(p){if(p!=null)return p[h]||p["@@iterator"]||d[u(p)]}},8554:function(i,l,a){var u=a(9670),d=a(1246);i.exports=function(f){var h=d(f);if(typeof h!="function")throw TypeError(String(f)+" is not iterable");return u(h.call(f))}},647:function(i,l,a){var u=a(7908),d=Math.floor,f="".replace,h=/\$([$&'`]|\d\d?|<[^>]*>)/g,p=/\$([$&'`]|\d\d?)/g;i.exports=function(m,g,y,C,w,E){var v=y+m.length,N=C.length,b=p;return w!==void 0&&(w=u(w),b=h),f.call(E,b,function(x,B){var R;switch(B.charAt(0)){case"$":return"$";case"&":return m;case"`":return g.slice(0,y);case"'":return g.slice(v);case"<":R=w[B.slice(1,-1)];break;default:var U=+B;if(U===0)return x;if(U>N){var $=d(U/10);return $===0?x:$<=N?C[$-1]===void 0?B.charAt(1):C[$-1]+B.charAt(1):x}R=C[U-1]}return R===void 0?"":R})}},7854:function(i,l,a){var u=function(d){return d&&d.Math==Math&&d};i.exports=u(typeof globalThis=="object"&&globalThis)||u(typeof window=="object"&&window)||u(typeof self=="object"&&self)||u(typeof a.g=="object"&&a.g)||function(){return this}()||Function("return this")()},6656:function(i){var l={}.hasOwnProperty;i.exports=function(a,u){return l.call(a,u)}},3501:function(i){i.exports={}},490:function(i,l,a){var u=a(5005);i.exports=u("document","documentElement")},4664:function(i,l,a){var u=a(9781),d=a(7293),f=a(317);i.exports=!u&&!d(function(){return Object.defineProperty(f("div"),"a",{get:function(){return 7}}).a!=7})},1179:function(i){var l=Math.abs,a=Math.pow,u=Math.floor,d=Math.log,f=Math.LN2,h=function(m,g,y){var C=new Array(y),w=y*8-g-1,E=(1<<w)-1,v=E>>1,N=g===23?a(2,-24)-a(2,-77):0,b=m<0||m===0&&1/m<0?1:0,x=0,B,R,U;for(m=l(m),m!=m||m===1/0?(R=m!=m?1:0,B=E):(B=u(d(m)/f),m*(U=a(2,-B))<1&&(B--,U*=2),B+v>=1?m+=N/U:m+=N*a(2,1-v),m*U>=2&&(B++,U/=2),B+v>=E?(R=0,B=E):B+v>=1?(R=(m*U-1)*a(2,g),B=B+v):(R=m*a(2,v-1)*a(2,g),B=0));g>=8;C[x++]=R&255,R/=256,g-=8);for(B=B<<g|R,w+=g;w>0;C[x++]=B&255,B/=256,w-=8);return C[--x]|=b*128,C},p=function(m,g){var y=m.length,C=y*8-g-1,w=(1<<C)-1,E=w>>1,v=C-7,N=y-1,b=m[N--],x=b&127,B;for(b>>=7;v>0;x=x*256+m[N],N--,v-=8);for(B=x&(1<<-v)-1,x>>=-v,v+=g;v>0;B=B*256+m[N],N--,v-=8);if(x===0)x=1-E;else{if(x===w)return B?NaN:b?-1/0:1/0;B=B+a(2,g),x=x-E}return(b?-1:1)*B*a(2,x-g)};i.exports={pack:h,unpack:p}},8361:function(i,l,a){var u=a(7293),d=a(4326),f="".split;i.exports=u(function(){return!Object("z").propertyIsEnumerable(0)})?function(h){return d(h)=="String"?f.call(h,""):Object(h)}:Object},9587:function(i,l,a){var u=a(111),d=a(7674);i.exports=function(f,h,p){var m,g;return d&&typeof(m=h.constructor)=="function"&&m!==p&&u(g=m.prototype)&&g!==p.prototype&&d(f,g),f}},2788:function(i,l,a){var u=a(5465),d=Function.toString;typeof u.inspectSource!="function"&&(u.inspectSource=function(f){return d.call(f)}),i.exports=u.inspectSource},9909:function(i,l,a){var u=a(8536),d=a(7854),f=a(111),h=a(8880),p=a(6656),m=a(5465),g=a(6200),y=a(3501),C=d.WeakMap,w,E,v,N=function(P){return v(P)?E(P):w(P,{})},b=function(P){return function(Y){var G;if(!f(Y)||(G=E(Y)).type!==P)throw TypeError("Incompatible receiver, "+P+" required");return G}};if(u){var x=m.state||(m.state=new C),B=x.get,R=x.has,U=x.set;w=function(P,Y){return Y.facade=P,U.call(x,P,Y),Y},E=function(P){return B.call(x,P)||{}},v=function(P){return R.call(x,P)}}else{var $=g("state");y[$]=!0,w=function(P,Y){return Y.facade=P,h(P,$,Y),Y},E=function(P){return p(P,$)?P[$]:{}},v=function(P){return p(P,$)}}i.exports={set:w,get:E,has:v,enforce:N,getterFor:b}},7659:function(i,l,a){var u=a(5112),d=a(7497),f=u("iterator"),h=Array.prototype;i.exports=function(p){return p!==void 0&&(d.Array===p||h[f]===p)}},3157:function(i,l,a){var u=a(4326);i.exports=Array.isArray||function(f){return u(f)=="Array"}},4705:function(i,l,a){var u=a(7293),d=/#|\.prototype\./,f=function(y,C){var w=p[h(y)];return w==g?!0:w==m?!1:typeof C=="function"?u(C):!!C},h=f.normalize=function(y){return String(y).replace(d,".").toLowerCase()},p=f.data={},m=f.NATIVE="N",g=f.POLYFILL="P";i.exports=f},111:function(i){i.exports=function(l){return typeof l=="object"?l!==null:typeof l=="function"}},1913:function(i){i.exports=!1},7850:function(i,l,a){var u=a(111),d=a(4326),f=a(5112),h=f("match");i.exports=function(p){var m;return u(p)&&((m=p[h])!==void 0?!!m:d(p)=="RegExp")}},9212:function(i,l,a){var u=a(9670);i.exports=function(d){var f=d.return;if(f!==void 0)return u(f.call(d)).value}},3383:function(i,l,a){var u=a(7293),d=a(9518),f=a(8880),h=a(6656),p=a(5112),m=a(1913),g=p("iterator"),y=!1,C=function(){return this},w,E,v;[].keys&&(v=[].keys(),"next"in v?(E=d(d(v)),E!==Object.prototype&&(w=E)):y=!0);var N=w==null||u(function(){var b={};return w[g].call(b)!==b});N&&(w={}),(!m||N)&&!h(w,g)&&f(w,g,C),i.exports={IteratorPrototype:w,BUGGY_SAFARI_ITERATORS:y}},7497:function(i){i.exports={}},133:function(i,l,a){var u=a(7293);i.exports=!!Object.getOwnPropertySymbols&&!u(function(){return!String(Symbol())})},590:function(i,l,a){var u=a(7293),d=a(5112),f=a(1913),h=d("iterator");i.exports=!u(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(y,C){m.delete("b"),g+=C+y}),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(i,l,a){var u=a(7854),d=a(2788),f=u.WeakMap;i.exports=typeof f=="function"&&/native code/.test(d(f))},1574:function(i,l,a){var u=a(9781),d=a(7293),f=a(1956),h=a(5181),p=a(5296),m=a(7908),g=a(8361),y=Object.assign,C=Object.defineProperty;i.exports=!y||d(function(){if(u&&y({b:1},y(C({},"a",{enumerable:!0,get:function(){C(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var w={},E={},v=Symbol(),N="abcdefghijklmnopqrst";return w[v]=7,N.split("").forEach(function(b){E[b]=b}),y({},w)[v]!=7||f(y({},E)).join("")!=N})?function(E,v){for(var N=m(E),b=arguments.length,x=1,B=h.f,R=p.f;b>x;)for(var U=g(arguments[x++]),$=B?f(U).concat(B(U)):f(U),P=$.length,Y=0,G;P>Y;)G=$[Y++],(!u||R.call(U,G))&&(N[G]=U[G]);return N}:y},30:function(i,l,a){var u=a(9670),d=a(6048),f=a(748),h=a(3501),p=a(490),m=a(317),g=a(6200),y=">",C="<",w="prototype",E="script",v=g("IE_PROTO"),N=function(){},b=function($){return C+E+y+$+C+"/"+E+y},x=function($){$.write(b("")),$.close();var P=$.parentWindow.Object;return $=null,P},B=function(){var $=m("iframe"),P="java"+E+":",Y;return $.style.display="none",p.appendChild($),$.src=String(P),Y=$.contentWindow.document,Y.open(),Y.write(b("document.F=Object")),Y.close(),Y.F},R,U=function(){try{R=document.domain&&new ActiveXObject("htmlfile")}catch{}U=R?x(R):B();for(var $=f.length;$--;)delete U[w][f[$]];return U()};h[v]=!0,i.exports=Object.create||function(P,Y){var G;return P!==null?(N[w]=u(P),G=new N,N[w]=null,G[v]=P):G=U(),Y===void 0?G:d(G,Y)}},6048:function(i,l,a){var u=a(9781),d=a(3070),f=a(9670),h=a(1956);i.exports=u?Object.defineProperties:function(m,g){f(m);for(var y=h(g),C=y.length,w=0,E;C>w;)d.f(m,E=y[w++],g[E]);return m}},3070:function(i,l,a){var u=a(9781),d=a(4664),f=a(9670),h=a(7593),p=Object.defineProperty;l.f=u?p:function(g,y,C){if(f(g),y=h(y,!0),f(C),d)try{return p(g,y,C)}catch{}if("get"in C||"set"in C)throw TypeError("Accessors not supported");return"value"in C&&(g[y]=C.value),g}},1236:function(i,l,a){var u=a(9781),d=a(5296),f=a(9114),h=a(5656),p=a(7593),m=a(6656),g=a(4664),y=Object.getOwnPropertyDescriptor;l.f=u?y:function(w,E){if(w=h(w),E=p(E,!0),g)try{return y(w,E)}catch{}if(m(w,E))return f(!d.f.call(w,E),w[E])}},8006:function(i,l,a){var u=a(6324),d=a(748),f=d.concat("length","prototype");l.f=Object.getOwnPropertyNames||function(p){return u(p,f)}},5181:function(i,l){l.f=Object.getOwnPropertySymbols},9518:function(i,l,a){var u=a(6656),d=a(7908),f=a(6200),h=a(8544),p=f("IE_PROTO"),m=Object.prototype;i.exports=h?Object.getPrototypeOf:function(g){return g=d(g),u(g,p)?g[p]:typeof g.constructor=="function"&&g instanceof g.constructor?g.constructor.prototype:g instanceof Object?m:null}},6324:function(i,l,a){var u=a(6656),d=a(5656),f=a(1318).indexOf,h=a(3501);i.exports=function(p,m){var g=d(p),y=0,C=[],w;for(w in g)!u(h,w)&&u(g,w)&&C.push(w);for(;m.length>y;)u(g,w=m[y++])&&(~f(C,w)||C.push(w));return C}},1956:function(i,l,a){var u=a(6324),d=a(748);i.exports=Object.keys||function(h){return u(h,d)}},5296:function(i,l){var a={}.propertyIsEnumerable,u=Object.getOwnPropertyDescriptor,d=u&&!a.call({1:2},1);l.f=d?function(h){var p=u(this,h);return!!p&&p.enumerable}:a},7674:function(i,l,a){var u=a(9670),d=a(6077);i.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,y){return u(g),d(y),f?p.call(g,y):g.__proto__=y,g}}():void 0)},288:function(i,l,a){var u=a(1694),d=a(648);i.exports=u?{}.toString:function(){return"[object "+d(this)+"]"}},3887:function(i,l,a){var u=a(5005),d=a(8006),f=a(5181),h=a(9670);i.exports=u("Reflect","ownKeys")||function(m){var g=d.f(h(m)),y=f.f;return y?g.concat(y(m)):g}},857:function(i,l,a){var u=a(7854);i.exports=u},2248:function(i,l,a){var u=a(1320);i.exports=function(d,f,h){for(var p in f)u(d,p,f[p],h);return d}},1320:function(i,l,a){var u=a(7854),d=a(8880),f=a(6656),h=a(3505),p=a(2788),m=a(9909),g=m.get,y=m.enforce,C=String(String).split("String");(i.exports=function(w,E,v,N){var b=N?!!N.unsafe:!1,x=N?!!N.enumerable:!1,B=N?!!N.noTargetGet:!1,R;if(typeof v=="function"&&(typeof E=="string"&&!f(v,"name")&&d(v,"name",E),R=y(v),R.source||(R.source=C.join(typeof E=="string"?E:""))),w===u){x?w[E]=v:h(E,v);return}else b?!B&&w[E]&&(x=!0):delete w[E];x?w[E]=v:d(w,E,v)})(Function.prototype,"toString",function(){return typeof this=="function"&&g(this).source||p(this)})},7651:function(i,l,a){var u=a(4326),d=a(2261);i.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(u(f)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return d.call(f,h)}},2261:function(i,l,a){var u=a(7066),d=a(2999),f=RegExp.prototype.exec,h=String.prototype.replace,p=f,m=function(){var w=/a/,E=/b*/g;return f.call(w,"a"),f.call(E,"a"),w.lastIndex!==0||E.lastIndex!==0}(),g=d.UNSUPPORTED_Y||d.BROKEN_CARET,y=/()??/.exec("")[1]!==void 0,C=m||y||g;C&&(p=function(E){var v=this,N,b,x,B,R=g&&v.sticky,U=u.call(v),$=v.source,P=0,Y=E;return R&&(U=U.replace("y",""),U.indexOf("g")===-1&&(U+="g"),Y=String(E).slice(v.lastIndex),v.lastIndex>0&&(!v.multiline||v.multiline&&E[v.lastIndex-1]!==`
|
|
56
|
-
`)&&($="(?: "+$+")",Y=" "+Y,P++),
|
|
57
|
-
\v\f\r \u2028\u2029\uFEFF`},8264:function(i,l,a){var u=a(2109),d=a(7854),f=a(3331),h=a(6340),p="ArrayBuffer",m=f[p],g=d[p];u({global:!0,forced:g!==m},{ArrayBuffer:m}),h(p)},2222:function(i,l,a){var u=a(2109),d=a(7293),f=a(3157),h=a(111),p=a(7908),m=a(7466),g=a(6135),y=a(5417),C=a(1194),w=a(5112),E=a(7392),v=w("isConcatSpreadable"),N=9007199254740991,b="Maximum allowed index exceeded",x=E>=51||!d(function(){var $=[];return $[v]=!1,$.concat()[0]!==$}),B=C("concat"),R=function($){if(!h($))return!1;var P=$[v];return P!==void 0?!!P:f($)},U=!x||!B;u({target:"Array",proto:!0,forced:U},{concat:function(P){var Y=p(this),G=y(Y,0),K=0,H,J,z,ee,re;for(H=-1,z=arguments.length;H<z;H++)if(re=H===-1?Y:arguments[H],R(re)){if(ee=m(re.length),K+ee>N)throw TypeError(b);for(J=0;J<ee;J++,K++)J in re&&g(G,K,re[J])}else{if(K>=N)throw TypeError(b);g(G,K++,re)}return G.length=K,G}})},7327:function(i,l,a){var u=a(2109),d=a(2092).filter,f=a(1194),h=f("filter");u({target:"Array",proto:!0,forced:!h},{filter:function(m){return d(this,m,arguments.length>1?arguments[1]:void 0)}})},2772:function(i,l,a){var u=a(2109),d=a(1318).indexOf,f=a(9341),h=[].indexOf,p=!!h&&1/[1].indexOf(1,-0)<0,m=f("indexOf");u({target:"Array",proto:!0,forced:p||!m},{indexOf:function(y){return p?h.apply(this,arguments)||0:d(this,y,arguments.length>1?arguments[1]:void 0)}})},6992:function(i,l,a){var u=a(5656),d=a(1223),f=a(7497),h=a(9909),p=a(654),m="Array Iterator",g=h.set,y=h.getterFor(m);i.exports=p(Array,"Array",function(C,w){g(this,{type:m,target:u(C),index:0,kind:w})},function(){var C=y(this),w=C.target,E=C.kind,v=C.index++;return!w||v>=w.length?(C.target=void 0,{value:void 0,done:!0}):E=="keys"?{value:v,done:!1}:E=="values"?{value:w[v],done:!1}:{value:[v,w[v]],done:!1}},"values"),f.Arguments=f.Array,d("keys"),d("values"),d("entries")},1249:function(i,l,a){var u=a(2109),d=a(2092).map,f=a(1194),h=f("map");u({target:"Array",proto:!0,forced:!h},{map:function(m){return d(this,m,arguments.length>1?arguments[1]:void 0)}})},7042:function(i,l,a){var u=a(2109),d=a(111),f=a(3157),h=a(1400),p=a(7466),m=a(5656),g=a(6135),y=a(5112),C=a(1194),w=C("slice"),E=y("species"),v=[].slice,N=Math.max;u({target:"Array",proto:!0,forced:!w},{slice:function(x,B){var R=m(this),U=p(R.length),$=h(x,U),P=h(B===void 0?U:B,U),Y,G,K;if(f(R)&&(Y=R.constructor,typeof Y=="function"&&(Y===Array||f(Y.prototype))?Y=void 0:d(Y)&&(Y=Y[E],Y===null&&(Y=void 0)),Y===Array||Y===void 0))return v.call(R,$,P);for(G=new(Y===void 0?Array:Y)(N(P-$,0)),K=0;$<P;$++,K++)$ in R&&g(G,K,R[$]);return G.length=K,G}})},561:function(i,l,a){var u=a(2109),d=a(1400),f=a(9958),h=a(7466),p=a(7908),m=a(5417),g=a(6135),y=a(1194),C=y("splice"),w=Math.max,E=Math.min,v=9007199254740991,N="Maximum allowed length exceeded";u({target:"Array",proto:!0,forced:!C},{splice:function(x,B){var R=p(this),U=h(R.length),$=d(x,U),P=arguments.length,Y,G,K,H,J,z;if(P===0?Y=G=0:P===1?(Y=0,G=U-$):(Y=P-2,G=E(w(f(B),0),U-$)),U+Y-G>v)throw TypeError(N);for(K=m(R,G),H=0;H<G;H++)J=$+H,J in R&&g(K,H,R[J]);if(K.length=G,Y<G){for(H=$;H<U-G;H++)J=H+G,z=H+Y,J in R?R[z]=R[J]:delete R[z];for(H=U;H>U-G+Y;H--)delete R[H-1]}else if(Y>G)for(H=U-G;H>$;H--)J=H+G-1,z=H+Y-1,J in R?R[z]=R[J]:delete R[z];for(H=0;H<Y;H++)R[H+$]=arguments[H+2];return R.length=U-G+Y,K}})},8309:function(i,l,a){var u=a(9781),d=a(3070).f,f=Function.prototype,h=f.toString,p=/^\s*function ([^ (]*)/,m="name";u&&!(m in f)&&d(f,m,{configurable:!0,get:function(){try{return h.call(this).match(p)[1]}catch{return""}}})},489:function(i,l,a){var u=a(2109),d=a(7293),f=a(7908),h=a(9518),p=a(8544),m=d(function(){h(1)});u({target:"Object",stat:!0,forced:m,sham:!p},{getPrototypeOf:function(y){return h(f(y))}})},1539:function(i,l,a){var u=a(1694),d=a(1320),f=a(288);u||d(Object.prototype,"toString",f,{unsafe:!0})},4916:function(i,l,a){var u=a(2109),d=a(2261);u({target:"RegExp",proto:!0,forced:/./.exec!==d},{exec:d})},9714:function(i,l,a){var u=a(1320),d=a(9670),f=a(7293),h=a(7066),p="toString",m=RegExp.prototype,g=m[p],y=f(function(){return g.call({source:"a",flags:"b"})!="/a/b"}),C=g.name!=p;(y||C)&&u(RegExp.prototype,p,function(){var E=d(this),v=String(E.source),N=E.flags,b=String(N===void 0&&E instanceof RegExp&&!("flags"in m)?h.call(E):N);return"/"+v+"/"+b},{unsafe:!0})},8783:function(i,l,a){var u=a(8710).charAt,d=a(9909),f=a(654),h="String Iterator",p=d.set,m=d.getterFor(h);f(String,"String",function(g){p(this,{type:h,string:String(g),index:0})},function(){var y=m(this),C=y.string,w=y.index,E;return w>=C.length?{value:void 0,done:!0}:(E=u(C,w),y.index+=E.length,{value:E,done:!1})})},4723:function(i,l,a){var u=a(7007),d=a(9670),f=a(7466),h=a(4488),p=a(1530),m=a(7651);u("match",1,function(g,y,C){return[function(E){var v=h(this),N=E==null?void 0:E[g];return N!==void 0?N.call(E,v):new RegExp(E)[g](String(v))},function(w){var E=C(y,w,this);if(E.done)return E.value;var v=d(w),N=String(this);if(!v.global)return m(v,N);var b=v.unicode;v.lastIndex=0;for(var x=[],B=0,R;(R=m(v,N))!==null;){var U=String(R[0]);x[B]=U,U===""&&(v.lastIndex=p(N,f(v.lastIndex),b)),B++}return B===0?null:x}]})},5306:function(i,l,a){var u=a(7007),d=a(9670),f=a(7466),h=a(9958),p=a(4488),m=a(1530),g=a(647),y=a(7651),C=Math.max,w=Math.min,E=function(v){return v===void 0?v:String(v)};u("replace",2,function(v,N,b,x){var B=x.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,R=x.REPLACE_KEEPS_$0,U=B?"$":"$0";return[function(P,Y){var G=p(this),K=P==null?void 0:P[v];return K!==void 0?K.call(P,G,Y):N.call(String(G),P,Y)},function($,P){if(!B&&R||typeof P=="string"&&P.indexOf(U)===-1){var Y=b(N,$,this,P);if(Y.done)return Y.value}var G=d($),K=String(this),H=typeof P=="function";H||(P=String(P));var J=G.global;if(J){var z=G.unicode;G.lastIndex=0}for(var ee=[];;){var re=y(G,K);if(re===null||(ee.push(re),!J))break;var ue=String(re[0]);ue===""&&(G.lastIndex=m(K,f(G.lastIndex),z))}for(var ge="",Ee=0,Se=0;Se<ee.length;Se++){re=ee[Se];for(var ke=String(re[0]),xe=C(w(h(re.index),K.length),0),Ae=[],O=1;O<re.length;O++)Ae.push(E(re[O]));var D=re.groups;if(H){var I=[ke].concat(Ae,xe,K);D!==void 0&&I.push(D);var L=String(P.apply(void 0,I))}else L=g(ke,K,xe,Ae,D,P);xe>=Ee&&(ge+=K.slice(Ee,xe)+L,Ee=xe+ke.length)}return ge+K.slice(Ee)}]})},3123:function(i,l,a){var u=a(7007),d=a(7850),f=a(9670),h=a(4488),p=a(6707),m=a(1530),g=a(7466),y=a(7651),C=a(2261),w=a(7293),E=[].push,v=Math.min,N=4294967295,b=!w(function(){return!RegExp(N,"y")});u("split",2,function(x,B,R){var U;return"abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?U=function($,P){var Y=String(h(this)),G=P===void 0?N:P>>>0;if(G===0)return[];if($===void 0)return[Y];if(!d($))return B.call(Y,$,G);for(var K=[],H=($.ignoreCase?"i":"")+($.multiline?"m":"")+($.unicode?"u":"")+($.sticky?"y":""),J=0,z=new RegExp($.source,H+"g"),ee,re,ue;(ee=C.call(z,Y))&&(re=z.lastIndex,!(re>J&&(K.push(Y.slice(J,ee.index)),ee.length>1&&ee.index<Y.length&&E.apply(K,ee.slice(1)),ue=ee[0].length,J=re,K.length>=G)));)z.lastIndex===ee.index&&z.lastIndex++;return J===Y.length?(ue||!z.test(""))&&K.push(""):K.push(Y.slice(J)),K.length>G?K.slice(0,G):K}:"0".split(void 0,0).length?U=function($,P){return $===void 0&&P===0?[]:B.call(this,$,P)}:U=B,[function(P,Y){var G=h(this),K=P==null?void 0:P[x];return K!==void 0?K.call(P,G,Y):U.call(String(G),P,Y)},function($,P){var Y=R(U,$,this,P,U!==B);if(Y.done)return Y.value;var G=f($),K=String(this),H=p(G,RegExp),J=G.unicode,z=(G.ignoreCase?"i":"")+(G.multiline?"m":"")+(G.unicode?"u":"")+(b?"y":"g"),ee=new H(b?G:"^(?:"+G.source+")",z),re=P===void 0?N:P>>>0;if(re===0)return[];if(K.length===0)return y(ee,K)===null?[K]:[];for(var ue=0,ge=0,Ee=[];ge<K.length;){ee.lastIndex=b?ge:0;var Se=y(ee,b?K:K.slice(ge)),ke;if(Se===null||(ke=v(g(ee.lastIndex+(b?0:ge)),K.length))===ue)ge=m(K,ge,J);else{if(Ee.push(K.slice(ue,ge)),Ee.length===re)return Ee;for(var xe=1;xe<=Se.length-1;xe++)if(Ee.push(Se[xe]),Ee.length===re)return Ee;ge=ue=ke}}return Ee.push(K.slice(ue)),Ee}]},!b)},3210:function(i,l,a){var u=a(2109),d=a(3111).trim,f=a(6091);u({target:"String",proto:!0,forced:f("trim")},{trim:function(){return d(this)}})},2990:function(i,l,a){var u=a(260),d=a(1048),f=u.aTypedArray,h=u.exportTypedArrayMethod;h("copyWithin",function(m,g){return d.call(f(this),m,g,arguments.length>2?arguments[2]:void 0)})},8927:function(i,l,a){var u=a(260),d=a(2092).every,f=u.aTypedArray,h=u.exportTypedArrayMethod;h("every",function(m){return d(f(this),m,arguments.length>1?arguments[1]:void 0)})},3105:function(i,l,a){var u=a(260),d=a(1285),f=u.aTypedArray,h=u.exportTypedArrayMethod;h("fill",function(m){return d.apply(f(this),arguments)})},5035:function(i,l,a){var u=a(260),d=a(2092).filter,f=a(3074),h=u.aTypedArray,p=u.exportTypedArrayMethod;p("filter",function(g){var y=d(h(this),g,arguments.length>1?arguments[1]:void 0);return f(this,y)})},7174:function(i,l,a){var u=a(260),d=a(2092).findIndex,f=u.aTypedArray,h=u.exportTypedArrayMethod;h("findIndex",function(m){return d(f(this),m,arguments.length>1?arguments[1]:void 0)})},4345:function(i,l,a){var u=a(260),d=a(2092).find,f=u.aTypedArray,h=u.exportTypedArrayMethod;h("find",function(m){return d(f(this),m,arguments.length>1?arguments[1]:void 0)})},2846:function(i,l,a){var u=a(260),d=a(2092).forEach,f=u.aTypedArray,h=u.exportTypedArrayMethod;h("forEach",function(m){d(f(this),m,arguments.length>1?arguments[1]:void 0)})},4731:function(i,l,a){var u=a(260),d=a(1318).includes,f=u.aTypedArray,h=u.exportTypedArrayMethod;h("includes",function(m){return d(f(this),m,arguments.length>1?arguments[1]:void 0)})},7209:function(i,l,a){var u=a(260),d=a(1318).indexOf,f=u.aTypedArray,h=u.exportTypedArrayMethod;h("indexOf",function(m){return d(f(this),m,arguments.length>1?arguments[1]:void 0)})},6319:function(i,l,a){var u=a(7854),d=a(260),f=a(6992),h=a(5112),p=h("iterator"),m=u.Uint8Array,g=f.values,y=f.keys,C=f.entries,w=d.aTypedArray,E=d.exportTypedArrayMethod,v=m&&m.prototype[p],N=!!v&&(v.name=="values"||v.name==null),b=function(){return g.call(w(this))};E("entries",function(){return C.call(w(this))}),E("keys",function(){return y.call(w(this))}),E("values",b,!N),E(p,b,!N)},8867:function(i,l,a){var u=a(260),d=u.aTypedArray,f=u.exportTypedArrayMethod,h=[].join;f("join",function(m){return h.apply(d(this),arguments)})},7789:function(i,l,a){var u=a(260),d=a(6583),f=u.aTypedArray,h=u.exportTypedArrayMethod;h("lastIndexOf",function(m){return d.apply(f(this),arguments)})},3739:function(i,l,a){var u=a(260),d=a(2092).map,f=a(6707),h=u.aTypedArray,p=u.aTypedArrayConstructor,m=u.exportTypedArrayMethod;m("map",function(y){return d(h(this),y,arguments.length>1?arguments[1]:void 0,function(C,w){return new(p(f(C,C.constructor)))(w)})})},4483:function(i,l,a){var u=a(260),d=a(3671).right,f=u.aTypedArray,h=u.exportTypedArrayMethod;h("reduceRight",function(m){return d(f(this),m,arguments.length,arguments.length>1?arguments[1]:void 0)})},9368:function(i,l,a){var u=a(260),d=a(3671).left,f=u.aTypedArray,h=u.exportTypedArrayMethod;h("reduce",function(m){return d(f(this),m,arguments.length,arguments.length>1?arguments[1]:void 0)})},2056:function(i,l,a){var u=a(260),d=u.aTypedArray,f=u.exportTypedArrayMethod,h=Math.floor;f("reverse",function(){for(var m=this,g=d(m).length,y=h(g/2),C=0,w;C<y;)w=m[C],m[C++]=m[--g],m[g]=w;return m})},3462:function(i,l,a){var u=a(260),d=a(7466),f=a(4590),h=a(7908),p=a(7293),m=u.aTypedArray,g=u.exportTypedArrayMethod,y=p(function(){new Int8Array(1).set({})});g("set",function(w){m(this);var E=f(arguments.length>1?arguments[1]:void 0,1),v=this.length,N=h(w),b=d(N.length),x=0;if(b+E>v)throw RangeError("Wrong length");for(;x<b;)this[E+x]=N[x++]},y)},678:function(i,l,a){var u=a(260),d=a(6707),f=a(7293),h=u.aTypedArray,p=u.aTypedArrayConstructor,m=u.exportTypedArrayMethod,g=[].slice,y=f(function(){new Int8Array(1).slice()});m("slice",function(w,E){for(var v=g.call(h(this),w,E),N=d(this,this.constructor),b=0,x=v.length,B=new(p(N))(x);x>b;)B[b]=v[b++];return B},y)},7462:function(i,l,a){var u=a(260),d=a(2092).some,f=u.aTypedArray,h=u.exportTypedArrayMethod;h("some",function(m){return d(f(this),m,arguments.length>1?arguments[1]:void 0)})},3824:function(i,l,a){var u=a(260),d=u.aTypedArray,f=u.exportTypedArrayMethod,h=[].sort;f("sort",function(m){return h.call(d(this),m)})},5021:function(i,l,a){var u=a(260),d=a(7466),f=a(1400),h=a(6707),p=u.aTypedArray,m=u.exportTypedArrayMethod;m("subarray",function(y,C){var w=p(this),E=w.length,v=f(y,E);return new(h(w,w.constructor))(w.buffer,w.byteOffset+v*w.BYTES_PER_ELEMENT,d((C===void 0?E:f(C,E))-v))})},2974:function(i,l,a){var u=a(7854),d=a(260),f=a(7293),h=u.Int8Array,p=d.aTypedArray,m=d.exportTypedArrayMethod,g=[].toLocaleString,y=[].slice,C=!!h&&f(function(){g.call(new h(1))}),w=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(C?y.call(p(this)):p(this),arguments)},w)},5016:function(i,l,a){var u=a(260).exportTypedArrayMethod,d=a(7293),f=a(7854),h=f.Uint8Array,p=h&&h.prototype||{},m=[].toString,g=[].join;d(function(){m.call({})})&&(m=function(){return g.call(this)});var y=p.toString!=m;u("toString",m,y)},2472:function(i,l,a){var u=a(9843);u("Uint8",function(d){return function(h,p,m){return d(this,h,p,m)}})},4747:function(i,l,a){var u=a(7854),d=a(8324),f=a(8533),h=a(8880);for(var p in d){var m=u[p],g=m&&m.prototype;if(g&&g.forEach!==f)try{h(g,"forEach",f)}catch{g.forEach=f}}},3948:function(i,l,a){var u=a(7854),d=a(8324),f=a(6992),h=a(8880),p=a(5112),m=p("iterator"),g=p("toStringTag"),y=f.values;for(var C in d){var w=u[C],E=w&&w.prototype;if(E){if(E[m]!==y)try{h(E,m,y)}catch{E[m]=y}if(E[g]||h(E,g,C),d[C]){for(var v in f)if(E[v]!==f[v])try{h(E,v,f[v])}catch{E[v]=f[v]}}}}},1637:function(i,l,a){a(6992);var u=a(2109),d=a(5005),f=a(590),h=a(1320),p=a(2248),m=a(8003),g=a(4994),y=a(9909),C=a(5787),w=a(6656),E=a(9974),v=a(648),N=a(9670),b=a(111),x=a(30),B=a(9114),R=a(8554),U=a(1246),$=a(5112),P=d("fetch"),Y=d("Headers"),G=$("iterator"),K="URLSearchParams",H=K+"Iterator",J=y.set,z=y.getterFor(K),ee=y.getterFor(H),re=/\+/g,ue=Array(4),ge=function(M){return ue[M-1]||(ue[M-1]=RegExp("((?:%[\\da-f]{2}){"+M+"})","gi"))},Ee=function(M){try{return decodeURIComponent(M)}catch{return M}},Se=function(M){var j=M.replace(re," "),W=4;try{return decodeURIComponent(j)}catch{for(;W;)j=j.replace(ge(W--),Ee);return j}},ke=/[!'()~]|%20/g,xe={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},Ae=function(M){return xe[M]},O=function(M){return encodeURIComponent(M).replace(ke,Ae)},D=function(M,j){if(j)for(var W=j.split("&"),Z=0,X,S;Z<W.length;)X=W[Z++],X.length&&(S=X.split("="),M.push({key:Se(S.shift()),value:Se(S.join("="))}))},I=function(M){this.entries.length=0,D(this.entries,M)},L=function(M,j){if(M<j)throw TypeError("Not enough arguments")},A=g(function(j,W){J(this,{type:H,iterator:R(z(j).entries),kind:W})},"Iterator",function(){var j=ee(this),W=j.kind,Z=j.iterator.next(),X=Z.value;return Z.done||(Z.value=W==="keys"?X.key:W==="values"?X.value:[X.key,X.value]),Z}),T=function(){C(this,T,K);var j=arguments.length>0?arguments[0]:void 0,W=this,Z=[],X,S,_,V,Q,ae,pe,Te,q;if(J(W,{type:K,entries:Z,updateURL:function(){},updateSearchParams:I}),j!==void 0)if(b(j))if(X=U(j),typeof X=="function")for(S=X.call(j),_=S.next;!(V=_.call(S)).done;){if(Q=R(N(V.value)),ae=Q.next,(pe=ae.call(Q)).done||(Te=ae.call(Q)).done||!ae.call(Q).done)throw TypeError("Expected sequence with length 2");Z.push({key:pe.value+"",value:Te.value+""})}else for(q in j)w(j,q)&&Z.push({key:q,value:j[q]+""});else D(Z,typeof j=="string"?j.charAt(0)==="?"?j.slice(1):j:j+"")},k=T.prototype;p(k,{append:function(j,W){L(arguments.length,2);var Z=z(this);Z.entries.push({key:j+"",value:W+""}),Z.updateURL()},delete:function(M){L(arguments.length,1);for(var j=z(this),W=j.entries,Z=M+"",X=0;X<W.length;)W[X].key===Z?W.splice(X,1):X++;j.updateURL()},get:function(j){L(arguments.length,1);for(var W=z(this).entries,Z=j+"",X=0;X<W.length;X++)if(W[X].key===Z)return W[X].value;return null},getAll:function(j){L(arguments.length,1);for(var W=z(this).entries,Z=j+"",X=[],S=0;S<W.length;S++)W[S].key===Z&&X.push(W[S].value);return X},has:function(j){L(arguments.length,1);for(var W=z(this).entries,Z=j+"",X=0;X<W.length;)if(W[X++].key===Z)return!0;return!1},set:function(j,W){L(arguments.length,1);for(var Z=z(this),X=Z.entries,S=!1,_=j+"",V=W+"",Q=0,ae;Q<X.length;Q++)ae=X[Q],ae.key===_&&(S?X.splice(Q--,1):(S=!0,ae.value=V));S||X.push({key:_,value:V}),Z.updateURL()},sort:function(){var j=z(this),W=j.entries,Z=W.slice(),X,S,_;for(W.length=0,_=0;_<Z.length;_++){for(X=Z[_],S=0;S<_;S++)if(W[S].key>X.key){W.splice(S,0,X);break}S===_&&W.push(X)}j.updateURL()},forEach:function(j){for(var W=z(this).entries,Z=E(j,arguments.length>1?arguments[1]:void 0,3),X=0,S;X<W.length;)S=W[X++],Z(S.value,S.key,this)},keys:function(){return new A(this,"keys")},values:function(){return new A(this,"values")},entries:function(){return new A(this,"entries")}},{enumerable:!0}),h(k,G,k.entries),h(k,"toString",function(){for(var j=z(this).entries,W=[],Z=0,X;Z<j.length;)X=j[Z++],W.push(O(X.key)+"="+O(X.value));return W.join("&")},{enumerable:!0}),m(T,K),u({global:!0,forced:!f},{URLSearchParams:T}),!f&&typeof P=="function"&&typeof Y=="function"&&u({global:!0,enumerable:!0,forced:!0},{fetch:function(j){var W=[j],Z,X,S;return arguments.length>1&&(Z=arguments[1],b(Z)&&(X=Z.body,v(X)===K&&(S=Z.headers?new Y(Z.headers):new Y,S.has("content-type")||S.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),Z=x(Z,{body:B(0,String(X)),headers:B(0,S)}))),W.push(Z)),P.apply(this,W)}}),i.exports={URLSearchParams:T,getState:z}},285:function(i,l,a){a(8783);var u=a(2109),d=a(9781),f=a(590),h=a(7854),p=a(6048),m=a(1320),g=a(5787),y=a(6656),C=a(1574),w=a(8457),E=a(8710).codeAt,v=a(3197),N=a(8003),b=a(1637),x=a(9909),B=h.URL,R=b.URLSearchParams,U=b.getState,$=x.set,P=x.getterFor("URL"),Y=Math.floor,G=Math.pow,K="Invalid authority",H="Invalid scheme",J="Invalid host",z="Invalid port",ee=/[A-Za-z]/,re=/[\d+-.A-Za-z]/,ue=/\d/,ge=/^(0x|0X)/,Ee=/^[0-7]+$/,Se=/^\d+$/,ke=/^[\dA-Fa-f]+$/,xe=/[\u0000\t\u000A\u000D #%/:?@[\\]]/,Ae=/[\u0000\t\u000A\u000D #/:?@[\\]]/,O=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,D=/[\t\u000A\u000D]/g,I,L=function(F,se){var oe,le,he;if(se.charAt(0)=="["){if(se.charAt(se.length-1)!="]"||(oe=T(se.slice(1,-1)),!oe))return J;F.host=oe}else if(V(F)){if(se=v(se),xe.test(se)||(oe=A(se),oe===null))return J;F.host=oe}else{if(Ae.test(se))return J;for(oe="",le=w(se),he=0;he<le.length;he++)oe+=S(le[he],j);F.host=oe}},A=function(F){var se=F.split("."),oe,le,he,Be,Ie,Ye,tt;if(se.length&&se[se.length-1]==""&&se.pop(),oe=se.length,oe>4)return F;for(le=[],he=0;he<oe;he++){if(Be=se[he],Be=="")return F;if(Ie=10,Be.length>1&&Be.charAt(0)=="0"&&(Ie=ge.test(Be)?16:8,Be=Be.slice(Ie==8?1:2)),Be==="")Ye=0;else{if(!(Ie==10?Se:Ie==8?Ee:ke).test(Be))return F;Ye=parseInt(Be,Ie)}le.push(Ye)}for(he=0;he<oe;he++)if(Ye=le[he],he==oe-1){if(Ye>=G(256,5-oe))return null}else if(Ye>255)return null;for(tt=le.pop(),he=0;he<le.length;he++)tt+=le[he]*G(256,3-he);return tt},T=function(F){var se=[0,0,0,0,0,0,0,0],oe=0,le=null,he=0,Be,Ie,Ye,tt,it,ln,de,ft=function(){return F.charAt(he)};if(ft()==":"){if(F.charAt(1)!=":")return;he+=2,oe++,le=oe}for(;ft();){if(oe==8)return;if(ft()==":"){if(le!==null)return;he++,oe++,le=oe;continue}for(Be=Ie=0;Ie<4&&ke.test(ft());)Be=Be*16+parseInt(ft(),16),he++,Ie++;if(ft()=="."){if(Ie==0||(he-=Ie,oe>6))return;for(Ye=0;ft();){if(tt=null,Ye>0)if(ft()=="."&&Ye<4)he++;else return;if(!ue.test(ft()))return;for(;ue.test(ft());){if(it=parseInt(ft(),10),tt===null)tt=it;else{if(tt==0)return;tt=tt*10+it}if(tt>255)return;he++}se[oe]=se[oe]*256+tt,Ye++,(Ye==2||Ye==4)&&oe++}if(Ye!=4)return;break}else if(ft()==":"){if(he++,!ft())return}else if(ft())return;se[oe++]=Be}if(le!==null)for(ln=oe-le,oe=7;oe!=0&&ln>0;)de=se[oe],se[oe--]=se[le+ln-1],se[le+--ln]=de;else if(oe!=8)return;return se},k=function(F){for(var se=null,oe=1,le=null,he=0,Be=0;Be<8;Be++)F[Be]!==0?(he>oe&&(se=le,oe=he),le=null,he=0):(le===null&&(le=Be),++he);return he>oe&&(se=le,oe=he),se},M=function(F){var se,oe,le,he;if(typeof F=="number"){for(se=[],oe=0;oe<4;oe++)se.unshift(F%256),F=Y(F/256);return se.join(".")}else if(typeof F=="object"){for(se="",le=k(F),oe=0;oe<8;oe++)he&&F[oe]===0||(he&&(he=!1),le===oe?(se+=oe?":":"::",he=!0):(se+=F[oe].toString(16),oe<7&&(se+=":")));return"["+se+"]"}return F},j={},W=C({},j,{" ":1,'"':1,"<":1,">":1,"`":1}),Z=C({},W,{"#":1,"?":1,"{":1,"}":1}),X=C({},Z,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),S=function(F,se){var oe=E(F,0);return oe>32&&oe<127&&!y(se,F)?F:encodeURIComponent(F)},_={ftp:21,file:null,http:80,https:443,ws:80,wss:443},V=function(F){return y(_,F.scheme)},Q=function(F){return F.username!=""||F.password!=""},ae=function(F){return!F.host||F.cannotBeABaseURL||F.scheme=="file"},pe=function(F,se){var oe;return F.length==2&&ee.test(F.charAt(0))&&((oe=F.charAt(1))==":"||!se&&oe=="|")},Te=function(F){var se;return F.length>1&&pe(F.slice(0,2))&&(F.length==2||(se=F.charAt(2))==="/"||se==="\\"||se==="?"||se==="#")},q=function(F){var se=F.path,oe=se.length;oe&&(F.scheme!="file"||oe!=1||!pe(se[0],!0))&&se.pop()},ie=function(F){return F==="."||F.toLowerCase()==="%2e"},be=function(F){return F=F.toLowerCase(),F===".."||F==="%2e."||F===".%2e"||F==="%2e%2e"},Pe={},qe={},nt={},Mt={},te={},ye={},me={},Oe={},Re={},et={},rt={},Ot={},Lt={},gt={},Ln={},Nr={},Yt={},on={},rs={},sn={},Jn={},Dn=function(F,se,oe,le){var he=oe||Pe,Be=0,Ie="",Ye=!1,tt=!1,it=!1,ln,de,ft,Xn;for(oe||(F.scheme="",F.username="",F.password="",F.host=null,F.port=null,F.path=[],F.query=null,F.fragment=null,F.cannotBeABaseURL=!1,se=se.replace(O,"")),se=se.replace(D,""),ln=w(se);Be<=ln.length;){switch(de=ln[Be],he){case Pe:if(de&&ee.test(de))Ie+=de.toLowerCase(),he=qe;else{if(oe)return H;he=nt;continue}break;case qe:if(de&&(re.test(de)||de=="+"||de=="-"||de=="."))Ie+=de.toLowerCase();else if(de==":"){if(oe&&(V(F)!=y(_,Ie)||Ie=="file"&&(Q(F)||F.port!==null)||F.scheme=="file"&&!F.host))return;if(F.scheme=Ie,oe){V(F)&&_[F.scheme]==F.port&&(F.port=null);return}Ie="",F.scheme=="file"?he=gt:V(F)&&le&&le.scheme==F.scheme?he=Mt:V(F)?he=Oe:ln[Be+1]=="/"?(he=te,Be++):(F.cannotBeABaseURL=!0,F.path.push(""),he=rs)}else{if(oe)return H;Ie="",he=nt,Be=0;continue}break;case nt:if(!le||le.cannotBeABaseURL&&de!="#")return H;if(le.cannotBeABaseURL&&de=="#"){F.scheme=le.scheme,F.path=le.path.slice(),F.query=le.query,F.fragment="",F.cannotBeABaseURL=!0,he=Jn;break}he=le.scheme=="file"?gt:ye;continue;case Mt:if(de=="/"&&ln[Be+1]=="/")he=Re,Be++;else{he=ye;continue}break;case te:if(de=="/"){he=et;break}else{he=on;continue}case ye:if(F.scheme=le.scheme,de==I)F.username=le.username,F.password=le.password,F.host=le.host,F.port=le.port,F.path=le.path.slice(),F.query=le.query;else if(de=="/"||de=="\\"&&V(F))he=me;else if(de=="?")F.username=le.username,F.password=le.password,F.host=le.host,F.port=le.port,F.path=le.path.slice(),F.query="",he=sn;else if(de=="#")F.username=le.username,F.password=le.password,F.host=le.host,F.port=le.port,F.path=le.path.slice(),F.query=le.query,F.fragment="",he=Jn;else{F.username=le.username,F.password=le.password,F.host=le.host,F.port=le.port,F.path=le.path.slice(),F.path.pop(),he=on;continue}break;case me:if(V(F)&&(de=="/"||de=="\\"))he=Re;else if(de=="/")he=et;else{F.username=le.username,F.password=le.password,F.host=le.host,F.port=le.port,he=on;continue}break;case Oe:if(he=Re,de!="/"||Ie.charAt(Be+1)!="/")continue;Be++;break;case Re:if(de!="/"&&de!="\\"){he=et;continue}break;case et:if(de=="@"){Ye&&(Ie="%40"+Ie),Ye=!0,ft=w(Ie);for(var kd=0;kd<ft.length;kd++){var Ug=ft[kd];if(Ug==":"&&!it){it=!0;continue}var zg=S(Ug,X);it?F.password+=zg:F.username+=zg}Ie=""}else if(de==I||de=="/"||de=="?"||de=="#"||de=="\\"&&V(F)){if(Ye&&Ie=="")return K;Be-=w(Ie).length+1,Ie="",he=rt}else Ie+=de;break;case rt:case Ot:if(oe&&F.scheme=="file"){he=Nr;continue}else if(de==":"&&!tt){if(Ie=="")return J;if(Xn=L(F,Ie),Xn)return Xn;if(Ie="",he=Lt,oe==Ot)return}else if(de==I||de=="/"||de=="?"||de=="#"||de=="\\"&&V(F)){if(V(F)&&Ie=="")return J;if(oe&&Ie==""&&(Q(F)||F.port!==null))return;if(Xn=L(F,Ie),Xn)return Xn;if(Ie="",he=Yt,oe)return;continue}else de=="["?tt=!0:de=="]"&&(tt=!1),Ie+=de;break;case Lt:if(ue.test(de))Ie+=de;else if(de==I||de=="/"||de=="?"||de=="#"||de=="\\"&&V(F)||oe){if(Ie!=""){var Nd=parseInt(Ie,10);if(Nd>65535)return z;F.port=V(F)&&Nd===_[F.scheme]?null:Nd,Ie=""}if(oe)return;he=Yt;continue}else return z;break;case gt:if(F.scheme="file",de=="/"||de=="\\")he=Ln;else if(le&&le.scheme=="file")if(de==I)F.host=le.host,F.path=le.path.slice(),F.query=le.query;else if(de=="?")F.host=le.host,F.path=le.path.slice(),F.query="",he=sn;else if(de=="#")F.host=le.host,F.path=le.path.slice(),F.query=le.query,F.fragment="",he=Jn;else{Te(ln.slice(Be).join(""))||(F.host=le.host,F.path=le.path.slice(),q(F)),he=on;continue}else{he=on;continue}break;case Ln:if(de=="/"||de=="\\"){he=Nr;break}le&&le.scheme=="file"&&!Te(ln.slice(Be).join(""))&&(pe(le.path[0],!0)?F.path.push(le.path[0]):F.host=le.host),he=on;continue;case Nr:if(de==I||de=="/"||de=="\\"||de=="?"||de=="#"){if(!oe&&pe(Ie))he=on;else if(Ie==""){if(F.host="",oe)return;he=Yt}else{if(Xn=L(F,Ie),Xn)return Xn;if(F.host=="localhost"&&(F.host=""),oe)return;Ie="",he=Yt}continue}else Ie+=de;break;case Yt:if(V(F)){if(he=on,de!="/"&&de!="\\")continue}else if(!oe&&de=="?")F.query="",he=sn;else if(!oe&&de=="#")F.fragment="",he=Jn;else if(de!=I&&(he=on,de!="/"))continue;break;case on:if(de==I||de=="/"||de=="\\"&&V(F)||!oe&&(de=="?"||de=="#")){if(be(Ie)?(q(F),de!="/"&&!(de=="\\"&&V(F))&&F.path.push("")):ie(Ie)?de!="/"&&!(de=="\\"&&V(F))&&F.path.push(""):(F.scheme=="file"&&!F.path.length&&pe(Ie)&&(F.host&&(F.host=""),Ie=Ie.charAt(0)+":"),F.path.push(Ie)),Ie="",F.scheme=="file"&&(de==I||de=="?"||de=="#"))for(;F.path.length>1&&F.path[0]==="";)F.path.shift();de=="?"?(F.query="",he=sn):de=="#"&&(F.fragment="",he=Jn)}else Ie+=S(de,Z);break;case rs:de=="?"?(F.query="",he=sn):de=="#"?(F.fragment="",he=Jn):de!=I&&(F.path[0]+=S(de,j));break;case sn:!oe&&de=="#"?(F.fragment="",he=Jn):de!=I&&(de=="'"&&V(F)?F.query+="%27":de=="#"?F.query+="%23":F.query+=S(de,j));break;case Jn:de!=I&&(F.fragment+=S(de,W));break}Be++}},co=function(se){var oe=g(this,co,"URL"),le=arguments.length>1?arguments[1]:void 0,he=String(se),Be=$(oe,{type:"URL"}),Ie,Ye;if(le!==void 0){if(le instanceof co)Ie=P(le);else if(Ye=Dn(Ie={},String(le)),Ye)throw TypeError(Ye)}if(Ye=Dn(Be,he,null,Ie),Ye)throw TypeError(Ye);var tt=Be.searchParams=new R,it=U(tt);it.updateSearchParams(Be.query),it.updateURL=function(){Be.query=String(tt)||null},d||(oe.href=yl.call(oe),oe.origin=Ng.call(oe),oe.protocol=Ig.call(oe),oe.username=xg.call(oe),oe.password=Mg.call(oe),oe.host=Og.call(oe),oe.hostname=Lg.call(oe),oe.port=Dg.call(oe),oe.pathname=Rg.call(oe),oe.search=Bg.call(oe),oe.searchParams=Pg.call(oe),oe.hash=Fg.call(oe))},_d=co.prototype,yl=function(){var F=P(this),se=F.scheme,oe=F.username,le=F.password,he=F.host,Be=F.port,Ie=F.path,Ye=F.query,tt=F.fragment,it=se+":";return he!==null?(it+="//",Q(F)&&(it+=oe+(le?":"+le:"")+"@"),it+=M(he),Be!==null&&(it+=":"+Be)):se=="file"&&(it+="//"),it+=F.cannotBeABaseURL?Ie[0]:Ie.length?"/"+Ie.join("/"):"",Ye!==null&&(it+="?"+Ye),tt!==null&&(it+="#"+tt),it},Ng=function(){var F=P(this),se=F.scheme,oe=F.port;if(se=="blob")try{return new URL(se.path[0]).origin}catch{return"null"}return se=="file"||!V(F)?"null":se+"://"+M(F.host)+(oe!==null?":"+oe:"")},Ig=function(){return P(this).scheme+":"},xg=function(){return P(this).username},Mg=function(){return P(this).password},Og=function(){var F=P(this),se=F.host,oe=F.port;return se===null?"":oe===null?M(se):M(se)+":"+oe},Lg=function(){var F=P(this).host;return F===null?"":M(F)},Dg=function(){var F=P(this).port;return F===null?"":String(F)},Rg=function(){var F=P(this),se=F.path;return F.cannotBeABaseURL?se[0]:se.length?"/"+se.join("/"):""},Bg=function(){var F=P(this).query;return F?"?"+F:""},Pg=function(){return P(this).searchParams},Fg=function(){var F=P(this).fragment;return F?"#"+F:""},an=function(F,se){return{get:F,set:se,configurable:!0,enumerable:!0}};if(d&&p(_d,{href:an(yl,function(F){var se=P(this),oe=String(F),le=Dn(se,oe);if(le)throw TypeError(le);U(se.searchParams).updateSearchParams(se.query)}),origin:an(Ng),protocol:an(Ig,function(F){var se=P(this);Dn(se,String(F)+":",Pe)}),username:an(xg,function(F){var se=P(this),oe=w(String(F));if(!ae(se)){se.username="";for(var le=0;le<oe.length;le++)se.username+=S(oe[le],X)}}),password:an(Mg,function(F){var se=P(this),oe=w(String(F));if(!ae(se)){se.password="";for(var le=0;le<oe.length;le++)se.password+=S(oe[le],X)}}),host:an(Og,function(F){var se=P(this);se.cannotBeABaseURL||Dn(se,String(F),rt)}),hostname:an(Lg,function(F){var se=P(this);se.cannotBeABaseURL||Dn(se,String(F),Ot)}),port:an(Dg,function(F){var se=P(this);ae(se)||(F=String(F),F==""?se.port=null:Dn(se,F,Lt))}),pathname:an(Rg,function(F){var se=P(this);se.cannotBeABaseURL||(se.path=[],Dn(se,F+"",Yt))}),search:an(Bg,function(F){var se=P(this);F=String(F),F==""?se.query=null:(F.charAt(0)=="?"&&(F=F.slice(1)),se.query="",Dn(se,F,sn)),U(se.searchParams).updateSearchParams(se.query)}),searchParams:an(Pg),hash:an(Fg,function(F){var se=P(this);if(F=String(F),F==""){se.fragment=null;return}F.charAt(0)=="#"&&(F=F.slice(1)),se.fragment="",Dn(se,F,Jn)})}),m(_d,"toJSON",function(){return yl.call(this)},{enumerable:!0}),m(_d,"toString",function(){return yl.call(this)},{enumerable:!0}),B){var Vg=B.createObjectURL,$g=B.revokeObjectURL;Vg&&m(co,"createObjectURL",function(se){return Vg.apply(B,arguments)}),$g&&m(co,"revokeObjectURL",function(se){return $g.apply(B,arguments)})}N(co,"URL"),u({global:!0,forced:!f,sham:!d},{URL:co})}},r={};function o(i){if(r[i])return r[i].exports;var l=r[i]={exports:{}};return t[i](l,l.exports,o),l.exports}(function(){o.d=function(i,l){for(var a in l)o.o(l,a)&&!o.o(i,a)&&Object.defineProperty(i,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(i,l){return Object.prototype.hasOwnProperty.call(i,l)}}(),function(){o.r=function(i){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})}}();var s={};return function(){o.r(s),o.d(s,{Dropzone:function(){return z},default:function(){return Ae}}),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 i(O,D){var I;if(typeof Symbol>"u"||O[Symbol.iterator]==null){if(Array.isArray(O)||(I=l(O))||D&&O&&typeof O.length=="number"){I&&(O=I);var L=0,A=function(){};return{s:A,n:function(){return L>=O.length?{done:!0}:{done:!1,value:O[L++]}},e:function(W){throw W},f:A}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
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 g4(n,e){return c.openBlock(),c.createElementBlock("svg",p4,m4)}const cf=Ce(h4,[["render",g4]]),y4={},v4={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"},E4=[c.createElementVNode("path",{d:"M7 0.5L13.5 11.5H0.5L7 0.5Z",fill:"#FF8800"},null,-1)];function C4(n,e){return c.openBlock(),c.createElementBlock("svg",v4,E4)}const uf=Ce(y4,[["render",C4]]),A4={},b4={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w4=[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 T4(n,e){return c.openBlock(),c.createElementBlock("svg",b4,w4)}const df=Ce(A4,[["render",T4]]),S4={},_4={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},k4=[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 N4(n,e){return c.openBlock(),c.createElementBlock("svg",_4,k4)}const ff=Ce(S4,[["render",N4]]),I4={},x4={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},M4=[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 O4(n,e){return c.openBlock(),c.createElementBlock("svg",x4,M4)}const hf=Ce(I4,[["render",O4]]),L4={},D4={class:"icon icon-menu",xmlns:"http://www.w3.org/2000/svg",width:"19",height:"12",viewBox:"0 0 19 12"},R4=[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 B4(n,e){return c.openBlock(),c.createElementBlock("svg",D4,R4)}const Nl=Ce(L4,[["render",B4]]),P4={},F4={class:"icon icon-message",xmlns:"http://www.w3.org/2000/svg",width:"18",height:"15",viewBox:"0 0 18 15"},V4=[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 $4(n,e){return c.openBlock(),c.createElementBlock("svg",F4,V4)}const pf=Ce(P4,[["render",$4]]),U4={},z4={class:"icon icon-message-forward",xmlns:"http://www.w3.org/2000/svg",width:"21",height:"19",viewBox:"0 0 21 19"},H4=[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 j4(n,e){return c.openBlock(),c.createElementBlock("svg",z4,H4)}const mf=Ce(U4,[["render",j4]]),W4={},K4=[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 Y4(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"}),K4,16)}const gf=Ce(W4,[["render",Y4]]),G4={},Q4={class:"icon icon-microsoft-teams",xmlns:"http://www.w3.org/2000/svg",width:"18px",height:"18px",viewBox:"0 0 64 64"},Z4=[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 J4(n,e){return c.openBlock(),c.createElementBlock("svg",Q4,Z4)}const yf=Ce(G4,[["render",J4]]),X4={},q4={class:"icon icon-min",viewBox:"0 0 21 2",width:"21",height:"2",xmlns:"http://www.w3.org/2000/svg"},e6=[c.createElementVNode("path",{d:"M1.525 2h18.05a1 1 0 0 0 0-2H1.525a1 1 0 0 0 0 2z"},null,-1)];function t6(n,e){return c.openBlock(),c.createElementBlock("svg",q4,e6)}const vf=Ce(X4,[["render",t6]]),n6={},r6={width:"17",height:"15",viewBox:"0 0 17 15",xmlns:"http://www.w3.org/2000/svg",class:"icon icon-ordered-list"},o6=[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 s6(n,e){return c.openBlock(),c.createElementBlock("svg",r6,o6)}const Il=Ce(n6,[["render",s6]]),i6={},a6={class:"icon icon-plus",width:"12",height:"13",viewBox:"0 0 12 13",xmlns:"http://www.w3.org/2000/svg"},l6=[c.createElementVNode("path",{d:"M11.604 7.675H7.027v4.807H4.888V7.675h-4.6V5.628h4.6V.844h2.139v4.784h4.577z"},null,-1)];function c6(n,e){return c.openBlock(),c.createElementBlock("svg",a6,l6)}const Ef=Ce(i6,[["render",c6]]),u6={},d6={class:"icon icon-refresh",xmlns:"http://www.w3.org/2000/svg",width:"18",height:"15",viewBox:"0 0 18 15"},f6=[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 h6(n,e){return c.openBlock(),c.createElementBlock("svg",d6,f6)}const Cf=Ce(u6,[["render",h6]]),p6={},m6={class:"icon icon-remove",width:"11",height:"11",viewBox:"0 0 11 11",xmlns:"http://www.w3.org/2000/svg"},g6=[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 y6(n,e){return c.openBlock(),c.createElementBlock("svg",m6,g6)}const ls=Ce(p6,[["render",y6]]),v6={},E6={"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"},C6={id:"metadata8"},A6=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 b6(n,e){const t=c.resolveComponent("dc:format"),r=c.resolveComponent("dc:type"),o=c.resolveComponent("cc:Work"),s=c.resolveComponent("rdf:RDF");return c.openBlock(),c.createElementBlock("svg",E6,[c.createElementVNode("metadata",C6,[c.createVNode(s,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})]),A6])}const Af=Ce(v6,[["render",b6]]),w6={},T6={class:"icon icon-service",viewBox:"0 0 20 21",xmlns:"http://www.w3.org/2000/svg"},S6=[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 _6(n,e){return c.openBlock(),c.createElementBlock("svg",T6,S6)}const bf=Ce(w6,[["render",_6]]),k6={},N6={class:"icon icon-share-screen",width:"12",height:"16",viewBox:"0 0 12 16",xmlns:"http://www.w3.org/2000/svg"},I6=[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 x6(n,e){return c.openBlock(),c.createElementBlock("svg",N6,I6)}const wf=Ce(k6,[["render",x6]]),M6={},O6={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"},L6=[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 D6(n,e){return c.openBlock(),c.createElementBlock("svg",O6,L6)}const Tf=Ce(M6,[["render",D6]]),R6={},B6={xmlns:"http://www.w3.org/2000/svg",width:"9",height:"14",viewBox:"0 0 9 14"},P6=[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 F6(n,e){return c.openBlock(),c.createElementBlock("svg",B6,P6)}const Sf=Ce(R6,[["render",F6]]),V6={},$6={xmlns:"http://www.w3.org/2000/svg",width:"9",height:"14",viewBox:"0 0 9 14"},U6=[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 z6(n,e){return c.openBlock(),c.createElementBlock("svg",$6,U6)}const xl=Ce(V6,[["render",z6]]),H6={},j6={xmlns:"http://www.w3.org/2000/svg",width:"9",height:"14",viewBox:"0 0 9 14"},W6=[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 K6(n,e){return c.openBlock(),c.createElementBlock("svg",j6,W6)}const Ml=Ce(H6,[["render",K6]]),Y6={},G6={xmlns:"http://www.w3.org/2000/svg",width:"9",height:"14",viewBox:"0 0 9 14"},Q6=[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 Z6(n,e){return c.openBlock(),c.createElementBlock("svg",G6,Q6)}const Ol=Ce(Y6,[["render",Z6]]),J6={},X6={class:"icon icon-triangle-down",xmlns:"http://www.w3.org/2000/svg",width:"12",height:"8",viewBox:"0 0 12 8"},q6=[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 e8(n,e){return c.openBlock(),c.createElementBlock("svg",X6,q6)}const _f=Ce(J6,[["render",e8]]),t8={},n8={width:"40",height:"34",viewBox:"0 0 40 34",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r8=[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 o8(n,e){return c.openBlock(),c.createElementBlock("svg",n8,r8)}const Ll=Ce(t8,[["render",o8]]),s8={},i8={width:"14",height:"16",viewBox:"0 0 14 16",xmlns:"http://www.w3.org/2000/svg",class:"icon icon-underline"},a8=[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 l8(n,e){return c.openBlock(),c.createElementBlock("svg",i8,a8)}const Dl=Ce(s8,[["render",l8]]),c8={},u8={class:"icon icon-videocall",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"14",viewBox:"0 0 20 14"},d8=[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 f8(n,e){return c.openBlock(),c.createElementBlock("svg",u8,d8)}const kf=Ce(c8,[["render",f8]]),h8={},p8=[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 m8(n,e,t,r,o,s){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"}),p8,16)}const Nf=Ce(h8,[["render",m8]]),g8={},y8={width:"162",height:"124",viewBox:"0 0 162 124",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"icon icon-zorgkaart-nederland"},v8=[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 E8(n,e){return c.openBlock(),c.createElementBlock("svg",y8,v8)}const If=Ce(g8,[["render",E8]]),li={PRIMARY:"primary",SECONDARY:"secondary",DANGER:"danger",WARNING:"warning",INFO:"info",SUCCESS:"success",LIGHT:"light",GRAY:"gray"},C8={key:0,class:"b-d-alert-title"},cs=c.defineComponent({__name:"BDAlert",props:{variant:{default:li.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",C8,[c.createVNode(c.unref(Lr)),c.createElementVNode("span",null,[c.createElementVNode("strong",null,c.toDisplayString(e.title),1)])])):c.createCommentVNode("",!0),c.renderSlot(r.$slots,"default")],2))}});function A8(n){return c.getCurrentScope()?(c.onScopeDispose(n),!0):!1}function ci(n){return typeof n=="function"?n():c.unref(n)}const b8=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const w8=n=>typeof n<"u",T8=Object.prototype.toString,S8=n=>T8.call(n)==="[object Object]",Rl=()=>{};function _8(n,e){function t(...r){return new Promise((o,s)=>{Promise.resolve(n(()=>e.apply(this,r),{fn:e,thisArg:this,args:r})).then(o).catch(s)})}return t}function k8(n,e={}){let t,r,o=Rl;const s=l=>{clearTimeout(l),o(),o=Rl};return l=>{const a=ci(n),u=ci(e.maxWait);return t&&s(t),a<=0||u!==void 0&&u<=0?(r&&(s(r),r=null),Promise.resolve(l())):new Promise((d,f)=>{o=e.rejectOnCancel?f:d,u&&!r&&(r=setTimeout(()=>{t&&s(t),r=null,d(l())},u)),t=setTimeout(()=>{r&&s(r),r=null,d(l())},a)})}}function N8(n,e=200,t={}){return _8(k8(e,t),n)}function xf(n){var e;const t=ci(n);return(e=t==null?void 0:t.$el)!=null?e:t}const I8=b8?window:void 0;function Mf(...n){let e,t,r,o;if(typeof n[0]=="string"||Array.isArray(n[0])?([t,r,o]=n,e=I8):[e,t,r,o]=n,!e)return Rl;Array.isArray(t)||(t=[t]),Array.isArray(r)||(r=[r]);const s=[],i=()=>{s.forEach(d=>d()),s.length=0},l=(d,f,h,p)=>(d.addEventListener(f,h,p),()=>d.removeEventListener(f,h,p)),a=c.watch(()=>[xf(e),ci(o)],([d,f])=>{if(i(),!d)return;const h=S8(f)?{...f}:f;s.push(...t.flatMap(p=>r.map(m=>l(d,p,m,h))))},{immediate:!0,flush:"post"}),u=()=>{a(),i()};return A8(u),u}function x8(n){return JSON.parse(JSON.stringify(n))}function M8(n,e={}){const{initialValue:t=!1,focusVisible:r=!1}=e,o=c.ref(!1),s=c.computed(()=>xf(n));Mf(s,"focus",l=>{var a,u;(!r||(u=(a=l.target).matches)!=null&&u.call(a,":focus-visible"))&&(o.value=!0)}),Mf(s,"blur",()=>o.value=!1);const i=c.computed({get:()=>o.value,set(l){var a,u;!l&&o.value?(a=s.value)==null||a.blur():l&&!o.value&&((u=s.value)==null||u.focus())}});return c.watch(s,()=>{i.value=t},{immediate:!0,flush:"post"}),{focused:i}}function Dr(n,e,t,r={}){var o,s,i;const{clone:l=!1,passive:a=!1,eventName:u,deep:d=!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))||((i=(s=p==null?void 0:p.proxy)==null?void 0:s.$emit)==null?void 0:i.bind(p==null?void 0:p.proxy));let g=u;e||(e="modelValue"),g=g||`update:${e.toString()}`;const y=E=>l?typeof l=="function"?l(E):x8(E):E,C=()=>w8(n[e])?y(n[e]):f,b=E=>{h?h(E)&&m(g,E):m(g,E)};if(a){const E=C(),v=c.ref(E);let N=!1;return c.watch(()=>n[e],w=>{N||(N=!0,v.value=y(w),c.nextTick(()=>N=!1))}),c.watch(v,w=>{!N&&(w!==n[e]||d)&&b(w)},{deep:d}),v}else return c.computed({get(){return C()},set(E){b(E)}})}const O8={class:"bd-zoom-slider d-flex"},L8=[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)],D8=["max"],R8=[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)],Bl=c.defineComponent({__name:"BDZoomslider",props:{modelValue:{},maxValue:{default:5}},emits:["update:modelValue"],setup(n,{emit:e}){const t=n,r=Dr(t,"modelValue",e);function o(){r.value!==0&&r.value--}function s(){r.value<t.maxValue&&r.value++}return(i,l)=>(c.openBlock(),c.createElementBlock("div",O8,[(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},L8)),c.withDirectives(c.createElementVNode("input",{type:"range","onUpdate:modelValue":l[0]||(l[0]=a=>c.isRef(r)?r.value=a:null),min:"0",max:i.maxValue,class:"bd-zoom-slider-input"},null,8,D8),[[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:s},R8))]))}}),B8={class:"bd-profile-picture"},P8=["src","alt"],us=c.defineComponent({__name:"BDProfileImage",props:{src:{default:""},username:{default:null},size:{default:At.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(s,i)=>(c.openBlock(),c.createElementBlock("div",B8,[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,P8)],2),t.linkText?(c.openBlock(),c.createBlock(Ze,{key:0,variant:"link",onClick:o,textContent:c.toDisplayString(t.linkText)},null,8,["textContent"])):c.createCommentVNode("",!0)]))}});for(var Rr=256,Of=[],Lf=256,ui;Rr--;)Of[Rr]=(Rr+256).toString(16).substring(1);function Df(n){var e=0,t=n||11;if(!ui||Rr+t>Lf*2)for(ui="",Rr=0;e<Lf;e++)ui+=Of[Math.random()*256|0];return ui.substring(Rr,Rr+++t)}function fo(){return{uniqueIdentifier:c.ref(Df())}}const F8=["id"],V8={key:0},di=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}=fo(),r=t.value,o=c.computed(()=>({"bd-card card":!0,[`${e.class}`]:e.class,"no-body":e.noBody})),s=c.computed(()=>({"card-header":!0,"no-title":!e.title,[`${e.headerClass}`]:e.headerClass,[`${e.headerVariant}`]:e.headerVariant})),i=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(s.value)},[c.renderSlot(l.$slots,"header",{},()=>[l.title?(c.openBlock(),c.createElementBlock("h2",V8,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(i.value)},[c.renderSlot(l.$slots,"body")],2))],10,F8))}}),$8={key:0},U8={class:"bd-collapsable-card__actions"},z8=["data-bs-target"],Rf=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}=fo(),r=t.value,o=c.computed(()=>`bd-collapsable-card__collapse-${r}`),s=c.computed(()=>({"d-block":[At.SM,At.MD].includes(e.showOn.toLowerCase()),"d-md-none":e.showOn.toLowerCase()==At.SM,"d-lg-none":e.showOn.toLowerCase()==At.MD})),i=c.computed(()=>{let a={"round-corners-sm":e.showOn.toLowerCase()==At.SM,"round-corners-md":e.showOn.toLowerCase()==At.MD,"is-disabled":e.disabled,"round-corners":!e.visible};return Object.keys(a).filter(u=>a[u]).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&&[At.SM,At.MD].includes(e.showOn.toLowerCase()),"open-collapse-md":e.showOn.toLowerCase()==At.SM&&e.visible};return Object.keys(a).filter(u=>a[u]).join(" ")});return(a,u)=>(c.openBlock(),c.createBlock(di,{class:"bd-collapsable-card",title:a.title,"header-class":i.value,"body-class":l.value},{header:c.withCtx(()=>[a.title?(c.openBlock(),c.createElementBlock("h2",$8,c.toDisplayString(a.title),1)):c.createCommentVNode("",!0),c.createElementVNode("div",U8,[c.renderSlot(a.$slots,"action"),!a.disabled&&a.visible?(c.openBlock(),c.createElementBlock("button",{key:0,class:c.normalizeClass(["btn btn-white btn-caret",s.value]),type:"button","data-bs-toggle":"collapse","data-bs-target":`.${o.value}`,"aria-expanded":"true"},[c.createVNode(c.unref(bl))],10,z8)):c.createCommentVNode("",!0)])]),body:c.withCtx(()=>[c.renderSlot(a.$slots,"body")]),_:3},8,["title","header-class","body-class"]))}}),H8={class:"invalid-feedback bd-invalid-feedback"},fi=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",H8,[e.state?(c.openBlock(),c.createBlock(c.unref(uo),{key:0})):(c.openBlock(),c.createBlock(c.unref(ii),{key:1})),c.createTextVNode(" "+c.toDisplayString(e.text),1)]))}});/*! maska v2.1.11 | (c) Alexander Shabunevich | Released under the MIT license */var j8=Object.defineProperty,W8=(n,e,t)=>e in n?j8(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,ds=(n,e,t)=>(W8(n,typeof e!="symbol"?e+"":e,t),t);const Bf={"#":{pattern:/[0-9]/},"@":{pattern:/[a-zA-Z]/},"*":{pattern:/[a-zA-Z0-9]/}};class Pf{constructor(e={}){ds(this,"opts",{}),ds(this,"memo",new Map);const t={...e};if(t.tokens!=null){t.tokens=t.tokensReplace?{...t.tokens}:{...Bf,...t.tokens};for(const r of Object.values(t.tokens))typeof r.pattern=="string"&&(r.pattern=new RegExp(r.pattern))}else t.tokens=Bf;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,s)=>{o==="!"&&e[s-1]!=="!"?r.push(s-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:s,escaped:i}=this.escapeMask(t),l=[],a=this.opts.tokens!=null?this.opts.tokens:{},u=this.isReversed()?-1:1,d=this.isReversed()?"unshift":"push",f=this.isReversed()?0:s.length-1,h=this.isReversed()?()=>y>-1&&C>-1:()=>y<s.length&&C<e.length,p=E=>!this.isReversed()&&E<=f||this.isReversed()&&E>=f;let m,g=-1,y=this.isReversed()?s.length-1:0,C=this.isReversed()?e.length-1:0,b=!1;for(;h();){const E=s.charAt(y),v=a[E],N=(v==null?void 0:v.transform)!=null?v.transform(e.charAt(C)):e.charAt(C);if(!i.includes(y)&&v!=null?(N.match(v.pattern)!=null?(l[d](N),v.repeated?(g===-1?g=y:y===f&&y!==g&&(y=g-u),f===g&&(y-=u)):v.multiple&&(b=!0,y-=u),y+=u):v.multiple?b&&(y+=u,C-=u,b=!1):N===m?m=void 0:v.optional&&(y+=u,C-=u),C+=u):(r&&!this.isEager()&&l[d](E),N===E&&!this.isEager()?C+=u:m=E,this.isEager()||(y+=u)),this.isEager())for(;p(y)&&(a[s.charAt(y)]==null||i.includes(y));)r?l[d](s.charAt(y)):s.charAt(y)===e.charAt(C)&&(C+=u),y+=u}return this.memo.set(o,l.join("")),this.memo.get(o)}}const Ff=n=>JSON.parse(n.replaceAll("'",'"')),Vf=(n,e={})=>{const t={...e};return n.dataset.maska!=null&&n.dataset.maska!==""&&(t.mask=K8(n.dataset.maska)),n.dataset.maskaEager!=null&&(t.eager=Pl(n.dataset.maskaEager)),n.dataset.maskaReversed!=null&&(t.reversed=Pl(n.dataset.maskaReversed)),n.dataset.maskaTokensReplace!=null&&(t.tokensReplace=Pl(n.dataset.maskaTokensReplace)),n.dataset.maskaTokens!=null&&(t.tokens=Y8(n.dataset.maskaTokens)),t},Pl=n=>n!==""?!!JSON.parse(n):!0,K8=n=>n.startsWith("[")&&n.endsWith("]")?Ff(n):n,Y8=n=>{if(n.startsWith("{")&&n.endsWith("}"))return Ff(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 G8{constructor(e,t={}){ds(this,"items",new Map),ds(this,"beforeinputEvent",r=>{const o=r.target,s=this.items.get(o);s.isEager()&&"inputType"in r&&r.inputType.startsWith("delete")&&s.unmasked(o.value).length<=1&&this.setMaskedValue(o,"")}),ds(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,s=this.items.get(o),i=o.value,l=o.selectionStart,a=o.selectionEnd;let u=i;if(s.isEager()){const d=s.masked(i),f=s.unmasked(i);f===""&&"data"in r&&r.data!=null?u=r.data:f!==s.unmasked(d)&&(u=f)}if(this.setMaskedValue(o,u),"inputType"in r&&(r.inputType.startsWith("delete")||l!=null&&l<i.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 Pf(Vf(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,...s}=e;return s}init(e,t){for(const r of e){const o=new Pf(Vf(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),s=r.unmasked(r.isEager()?o:t),i=r.completed(t),l={masked:o,unmasked:s,completed:i};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 Fl=new WeakMap,Q8=n=>{setTimeout(()=>{var e;((e=Fl.get(n))==null?void 0:e.needUpdateValue(n))===!0&&n.dispatchEvent(new CustomEvent("input"))})},Z8=(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;Q8(t);const o=Fl.get(t);if(o!=null){if(!o.needUpdateOptions(t,r))return;o.destroy()}if(e.value!=null){const s=e.value,i=l=>{s.masked=l.masked,s.unmasked=l.unmasked,s.completed=l.completed};r.onMaska=r.onMaska==null?i:Array.isArray(r.onMaska)?[...r.onMaska,i]:[r.onMaska,i]}Fl.set(t,new G8(t,r))},J8=["value","type"],Br=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:At.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}=fo(),o=Dr(t,"modelValue",e),s=`__BD__FORM__LABEL__${r.value}`,i=`__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}`,u=c.computed(()=>({[`${t.inputClass}`]:t.inputClass,"is-invalid":t.state===!1,"is-valid":t.state===!0,[`form-control-${t.size}`]:t.size})),d=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=N8(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:i},[c.renderSlot(p.$slots,"label",{},()=>[p.label?(c.openBlock(),c.createElementBlock("label",{key:0,for:l,id:s,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",u.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,J8),[[c.unref(Z8)]]),c.renderSlot(p.$slots,"default")],2),c.createVNode(fi,{text:p.invalidFeedbackText,class:c.normalizeClass(d.value),state:p.state,id:a},null,8,["text","class","state"])],2))}}),X8={class:"input-group bd-input-group"},q8=["for"],$f=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",X8,[e.label?(c.openBlock(),c.createElementBlock("label",{key:0,for:e.labelForId,class:"form-label"},c.toDisplayString(e.label),9,q8)):c.createCommentVNode("",!0),c.createElementVNode("div",{class:c.normalizeClass(c.unref(t).class)},[c.renderSlot(r.$slots,"default")],2)]))}}),ey={key:0},ty={key:1},Uf=c.defineComponent({__name:"BDBadge",props:{variant:{default:li.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",ey,[c.createVNode(c.unref(Lr))])):c.createCommentVNode("",!0),r.variant==="success"?(c.openBlock(),c.createElementBlock("span",ty,[c.createVNode(c.unref(uo))])):c.createCommentVNode("",!0),c.renderSlot(r.$slots,"default")],2))}}),ny=["onSubmit","onReset"],zf=c.defineComponent({__name:"BDForm",emits:["submit","reset"],setup(n,{emit:e}){function t(){e("submit")}function r(){e("reset")}return(o,s)=>(c.openBlock(),c.createElementBlock("form",{onSubmit:c.withModifiers(t,["prevent"]),onReset:c.withModifiers(r,["prevent"])},[c.renderSlot(o.$slots,"default")],40,ny))}}),ry={"aria-label":"Page navigation",class:"bd-pagination"},oy={class:"page-item"},sy=["data-page"],iy=["data-page"],ay={class:"page-item"},ly=["data-page"],Hf=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=Dr(t,"modelValue",e),o=c.ref(Math.ceil(t.totalRows/t.rowsPerPage)),s=c.ref([]);c.watch([()=>t.totalRows,()=>t.rowsPerPage],()=>{o.value=Math.ceil(t.totalRows/t.rowsPerPage),s.value=d(r.value)}),c.onMounted(()=>{s.value=d(r.value)});const i=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,s.value=d(p)),e("click",p)},a=(f,h,p)=>p<=h?p:f==1?6:f<=4?5:1,u=(f,h,p)=>p<=h?0:f==p?6:f>p-4?5:1,d=f=>{const h=[],m=a(f,7,o.value),g=o.value>7&&f>4,y=o.value>7&&f<o.value-3,C=g&&y,b=u(f,7,o.value);for(let E=1;E<=m;E++)h.push(E);if(g&&h.push("..."),C)for(let E=f-1;E<=f+1;E++)h.push(E);y&&h.push("...");for(let E=1;E<=b;E++)h.push(o.value-b+E);return h};return(f,h)=>(c.openBlock(),c.createElementBlock("div",ry,[c.createElementVNode("ul",{class:c.normalizeClass(["pagination",i.value])},[c.withDirectives(c.createElementVNode("li",oy,[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(wl))],8,sy)],512),[[c.vShow,c.unref(r)>1]]),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(s.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,iy)],2))),128)),c.withDirectives(c.createElementVNode("li",ay,[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(Tl))],8,ly)],512),[[c.vShow,c.unref(r)<o.value]])],2)]))}}),cy=["disabled"],uy=["label"],dy=["value"],fy=["value"],jf=c.defineComponent({__name:"BDFormSelect",props:{size:{default:At.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=Dr(t,"modelValue",e),o=c.ref(null),{focused:s}=M8(o,{initialValue:t.autofocus}),i=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,d=>{d&&(s.value=!0)});const l=d=>{r.value=d.target.value;let f=u(d.target.value);e("input",f)},a=d=>{let f=u(d.target.value);e("change",f)},u=d=>{try{return JSON.parse(d)}catch{return d}};return(d,f)=>c.withDirectives((c.openBlock(),c.createElementBlock("select",{class:c.normalizeClass(i.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(d.$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,dy))),128))],8,uy))),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,fy))),128))],42,cy)),[[c.vModelSelect,c.unref(r)]])}}),hy=["value","true-value","false-value","data-checked"],Wf=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}=fo(),o=Dr(t,"modelValue",e),s=`form-check-input-${r.value}`,i=c.computed(()=>["form-check","bd-form-checkbox"]),l=c.computed(()=>({"form-check-input":!0,"is-invalid":t.state===!1})),a=u=>e("change",u.target.value);return(u,d)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(i.value)},[c.withDirectives(c.createElementVNode("input",{"onUpdate:modelValue":d[0]||(d[0]=f=>c.isRef(o)?o.value=f:null),id:s,class:c.normalizeClass(l.value),type:"checkbox",value:u.value,"true-value":u.value,"false-value":u.uncheckedValue,"data-checked":c.unref(o)===u.value,onChange:a},null,42,hy),[[c.vModelCheckbox,c.unref(o)]]),c.createElementVNode("label",{class:"form-check-label",for:s},[c.renderSlot(u.$slots,"default")]),c.renderSlot(u.$slots,"last")],2))}}),py={key:0,class:"bd-article__body"},my={key:1},Kf=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,s)=>(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",py,[c.renderSlot(o.$slots,"default",{},()=>[c.createTextVNode(c.toDisplayString(t.text),1)])])),t.hideFooter?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("footer",my,[c.renderSlot(o.$slots,"footer")]))]))}}),ho={DANGER:"danger",WARNING:"warning",INFO:"info",SUCCESS:"success"},gy=["id"],yy={class:"toast-header"},vy=c.createElementVNode("button",{type:"button",class:"btn-close","data-bs-dismiss":"toast","aria-label":"Close"},null,-1),Ey={class:"toast-body"},Vl=c.defineComponent({__name:"BDToast",props:{id:{},variant:{default:ho.INFO},title:{default:""},text:{default:""}},setup(n){const e=n,t=c.computed(()=>({[`bd-toast-${e.variant}`]:!0})),r=c.computed(()=>e.variant!==ho.SUCCESS);return(o,s)=>(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",yy,[r.value?(c.openBlock(),c.createBlock(c.unref(Lr),{key:0})):(c.openBlock(),c.createBlock(c.unref(uo),{key:1})),c.createElementVNode("h5",null,c.toDisplayString(e.title),1),vy]),c.createElementVNode("div",Ey,[c.createElementVNode("span",null,c.toDisplayString(e.text),1)])],10,gy))}}),Ve="",hi=n=>typeof n=="string"||n instanceof String,Cy={class:"bd-pill"},Ay=["src"],by={class:"bd-pill__description"},wy=["href"],Ty=["id","textContent","title"],Sy=["id","textContent","title"],pi=c.defineComponent({__name:"BDPill",props:{imgSrc:{default:Ve},uri:{default:Ve},uriDisplayName:{default:Ve},title:{default:Ve},subtitle:{default:Ve},showClose:{type:Boolean,default:!1}},emits:["close"],setup(n,{emit:e}){const t=n,{uniqueIdentifier:r}=fo(),o=c.computed(()=>t.uri),s=c.computed(()=>t.uriDisplayName!==Ve?t.uriDisplayName:t.uri),i=c.computed(()=>t.imgSrc),l=c.computed(()=>t.title),a=c.computed(()=>t.subtitle),u=c.computed(()=>`bd-pill-title-${r.value}`),d=c.computed(()=>`bd-pill-subtitle-${r.value}`);return(f,h)=>(c.openBlock(),c.createElementBlock("div",Cy,[c.createElementVNode("img",{src:i.value,class:"bd-pill__logo",alt:"logo-externe-partij"},null,8,Ay),c.createElementVNode("div",by,[c.createElementVNode("a",{href:o.value,class:"bd-pill__link",target:"_blank",rel:"noopener noreferrer"},[c.createVNode(c.unref(ai),{class:"bd-pill__icon-hyperlink",style:{height:"12px"}}),c.createTextVNode(" "+c.toDisplayString(s.value),1)],8,wy),c.createElementVNode("span",{class:"bd-pill__title",id:u.value,textContent:c.toDisplayString(l.value),"data-bs-toggle":"tooltip",title:l.value},null,8,Ty),c.createElementVNode("span",{class:"bd-pill__subtitle",id:d.value,textContent:c.toDisplayString(a.value),"data-bs-toggle":"tooltip",title:a.value},null,8,Sy)])]))}});function _y(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 ky=n=>Array.isArray(n)&&n.length>0,Ny=n=>Object.keys(n).map(e=>n[e]),$l={name:"BDUserInformation",props:{value:{type:Object},showProfilePicture:{type:Boolean}},render(){const n=this.value,{name:e,profilePictureUri:t,extra:r}=n,o=_y(n,["name","profilePictureUri","extra"]),s=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),u=c.h("small",null,Ny(o).filter(f=>f).join(" • ")),d=c.h("div",{class:"bd-user-information__detail"},[a,u]);return c.h("div",{class:"bd-user-information"},[s,d])}},mi=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,s)=>(c.openBlock(),c.createElementBlock("li",c.mergeProps({class:"bd-dropdown-item"},o.$attrs),[c.createVNode(Mr,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 Ul=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function zl(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Yf={exports:{}};(function(n,e){(function(r,o){n.exports=o()})(self,function(){return function(){var t={3099:function(i){i.exports=function(l){if(typeof l!="function")throw TypeError(String(l)+" is not a function");return l}},6077:function(i,l,a){var u=a(111);i.exports=function(d){if(!u(d)&&d!==null)throw TypeError("Can't set "+String(d)+" as a prototype");return d}},1223:function(i,l,a){var u=a(5112),d=a(30),f=a(3070),h=u("unscopables"),p=Array.prototype;p[h]==null&&f.f(p,h,{configurable:!0,value:d(null)}),i.exports=function(m){p[h][m]=!0}},1530:function(i,l,a){var u=a(8710).charAt;i.exports=function(d,f,h){return f+(h?u(d,f).length:1)}},5787:function(i){i.exports=function(l,a,u){if(!(l instanceof a))throw TypeError("Incorrect "+(u?u+" ":"")+"invocation");return l}},9670:function(i,l,a){var u=a(111);i.exports=function(d){if(!u(d))throw TypeError(String(d)+" is not an object");return d}},4019:function(i){i.exports=typeof ArrayBuffer<"u"&&typeof DataView<"u"},260:function(i,l,a){var u=a(4019),d=a(9781),f=a(7854),h=a(111),p=a(6656),m=a(648),g=a(8880),y=a(1320),C=a(3070).f,b=a(9518),E=a(7674),v=a(5112),N=a(9711),w=f.Int8Array,x=w&&w.prototype,B=f.Uint8ClampedArray,R=B&&B.prototype,U=w&&b(w),$=x&&b(x),P=Object.prototype,Y=P.isPrototypeOf,G=v("toStringTag"),K=N("TYPED_ARRAY_TAG"),H=u&&!!E&&m(f.opera)!=="Opera",J=!1,z,ee={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},re={BigInt64Array:8,BigUint64Array:8},ue=function(O){if(!h(O))return!1;var D=m(O);return D==="DataView"||p(ee,D)||p(re,D)},ge=function(Ae){if(!h(Ae))return!1;var O=m(Ae);return p(ee,O)||p(re,O)},Ee=function(Ae){if(ge(Ae))return Ae;throw TypeError("Target is not a typed array")},Se=function(Ae){if(E){if(Y.call(U,Ae))return Ae}else for(var O in ee)if(p(ee,z)){var D=f[O];if(D&&(Ae===D||Y.call(D,Ae)))return Ae}throw TypeError("Target is not a typed array constructor")},ke=function(Ae,O,D){if(d){if(D)for(var I in ee){var L=f[I];L&&p(L.prototype,Ae)&&delete L.prototype[Ae]}(!$[Ae]||D)&&y($,Ae,D?O:H&&x[Ae]||O)}},xe=function(Ae,O,D){var I,L;if(d){if(E){if(D)for(I in ee)L=f[I],L&&p(L,Ae)&&delete L[Ae];if(!U[Ae]||D)try{return y(U,Ae,D?O:H&&w[Ae]||O)}catch{}else return}for(I in ee)L=f[I],L&&(!L[Ae]||D)&&y(L,Ae,O)}};for(z in ee)f[z]||(H=!1);if((!H||typeof U!="function"||U===Function.prototype)&&(U=function(){throw TypeError("Incorrect invocation")},H))for(z in ee)f[z]&&E(f[z],U);if((!H||!$||$===P)&&($=U.prototype,H))for(z in ee)f[z]&&E(f[z].prototype,$);if(H&&b(R)!==$&&E(R,$),d&&!p($,G)){J=!0,C($,G,{get:function(){return h(this)?this[K]:void 0}});for(z in ee)f[z]&&g(f[z],K,z)}i.exports={NATIVE_ARRAY_BUFFER_VIEWS:H,TYPED_ARRAY_TAG:J&&K,aTypedArray:Ee,aTypedArrayConstructor:Se,exportTypedArrayMethod:ke,exportTypedArrayStaticMethod:xe,isView:ue,isTypedArray:ge,TypedArray:U,TypedArrayPrototype:$}},3331:function(i,l,a){var u=a(7854),d=a(9781),f=a(4019),h=a(8880),p=a(2248),m=a(7293),g=a(5787),y=a(9958),C=a(7466),b=a(7067),E=a(1179),v=a(9518),N=a(7674),w=a(8006).f,x=a(3070).f,B=a(1285),R=a(8003),U=a(9909),$=U.get,P=U.set,Y="ArrayBuffer",G="DataView",K="prototype",H="Wrong length",J="Wrong index",z=u[Y],ee=z,re=u[G],ue=re&&re[K],ge=Object.prototype,Ee=u.RangeError,Se=E.pack,ke=E.unpack,xe=function(_){return[_&255]},Ae=function(_){return[_&255,_>>8&255]},O=function(_){return[_&255,_>>8&255,_>>16&255,_>>24&255]},D=function(_){return _[3]<<24|_[2]<<16|_[1]<<8|_[0]},I=function(_){return Se(_,23,4)},L=function(_){return Se(_,52,8)},A=function(_,V){x(_[K],V,{get:function(){return $(this)[V]}})},T=function(_,V,Q,ae){var pe=b(Q),Te=$(_);if(pe+V>Te.byteLength)throw Ee(J);var q=$(Te.buffer).bytes,ie=pe+Te.byteOffset,be=q.slice(ie,ie+V);return ae?be:be.reverse()},k=function(_,V,Q,ae,pe,Te){var q=b(Q),ie=$(_);if(q+V>ie.byteLength)throw Ee(J);for(var be=$(ie.buffer).bytes,Pe=q+ie.byteOffset,qe=ae(+pe),nt=0;nt<V;nt++)be[Pe+nt]=qe[Te?nt:V-nt-1]};if(!f)ee=function(V){g(this,ee,Y);var Q=b(V);P(this,{bytes:B.call(new Array(Q),0),byteLength:Q}),d||(this.byteLength=Q)},re=function(V,Q,ae){g(this,re,G),g(V,ee,G);var pe=$(V).byteLength,Te=y(Q);if(Te<0||Te>pe)throw Ee("Wrong offset");if(ae=ae===void 0?pe-Te:C(ae),Te+ae>pe)throw Ee(H);P(this,{buffer:V,byteLength:ae,byteOffset:Te}),d||(this.buffer=V,this.byteLength=ae,this.byteOffset=Te)},d&&(A(ee,"byteLength"),A(re,"buffer"),A(re,"byteLength"),A(re,"byteOffset")),p(re[K],{getInt8:function(V){return T(this,1,V)[0]<<24>>24},getUint8:function(V){return T(this,1,V)[0]},getInt16:function(V){var Q=T(this,2,V,arguments.length>1?arguments[1]:void 0);return(Q[1]<<8|Q[0])<<16>>16},getUint16:function(V){var Q=T(this,2,V,arguments.length>1?arguments[1]:void 0);return Q[1]<<8|Q[0]},getInt32:function(V){return D(T(this,4,V,arguments.length>1?arguments[1]:void 0))},getUint32:function(V){return D(T(this,4,V,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(V){return ke(T(this,4,V,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(V){return ke(T(this,8,V,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(V,Q){k(this,1,V,xe,Q)},setUint8:function(V,Q){k(this,1,V,xe,Q)},setInt16:function(V,Q){k(this,2,V,Ae,Q,arguments.length>2?arguments[2]:void 0)},setUint16:function(V,Q){k(this,2,V,Ae,Q,arguments.length>2?arguments[2]:void 0)},setInt32:function(V,Q){k(this,4,V,O,Q,arguments.length>2?arguments[2]:void 0)},setUint32:function(V,Q){k(this,4,V,O,Q,arguments.length>2?arguments[2]:void 0)},setFloat32:function(V,Q){k(this,4,V,I,Q,arguments.length>2?arguments[2]:void 0)},setFloat64:function(V,Q){k(this,8,V,L,Q,arguments.length>2?arguments[2]:void 0)}});else{if(!m(function(){z(1)})||!m(function(){new z(-1)})||m(function(){return new z,new z(1.5),new z(NaN),z.name!=Y})){ee=function(V){return g(this,ee),new z(b(V))};for(var M=ee[K]=z[K],j=w(z),W=0,Z;j.length>W;)(Z=j[W++])in ee||h(ee,Z,z[Z]);M.constructor=ee}N&&v(ue)!==ge&&N(ue,ge);var X=new re(new ee(2)),S=ue.setInt8;X.setInt8(0,2147483648),X.setInt8(1,2147483649),(X.getInt8(0)||!X.getInt8(1))&&p(ue,{setInt8:function(V,Q){S.call(this,V,Q<<24>>24)},setUint8:function(V,Q){S.call(this,V,Q<<24>>24)}},{unsafe:!0})}R(ee,Y),R(re,G),i.exports={ArrayBuffer:ee,DataView:re}},1048:function(i,l,a){var u=a(7908),d=a(1400),f=a(7466),h=Math.min;i.exports=[].copyWithin||function(m,g){var y=u(this),C=f(y.length),b=d(m,C),E=d(g,C),v=arguments.length>2?arguments[2]:void 0,N=h((v===void 0?C:d(v,C))-E,C-b),w=1;for(E<b&&b<E+N&&(w=-1,E+=N-1,b+=N-1);N-- >0;)E in y?y[b]=y[E]:delete y[b],b+=w,E+=w;return y}},1285:function(i,l,a){var u=a(7908),d=a(1400),f=a(7466);i.exports=function(p){for(var m=u(this),g=f(m.length),y=arguments.length,C=d(y>1?arguments[1]:void 0,g),b=y>2?arguments[2]:void 0,E=b===void 0?g:d(b,g);E>C;)m[C++]=p;return m}},8533:function(i,l,a){var u=a(2092).forEach,d=a(9341),f=d("forEach");i.exports=f?[].forEach:function(p){return u(this,p,arguments.length>1?arguments[1]:void 0)}},8457:function(i,l,a){var u=a(9974),d=a(7908),f=a(3411),h=a(7659),p=a(7466),m=a(6135),g=a(1246);i.exports=function(C){var b=d(C),E=typeof this=="function"?this:Array,v=arguments.length,N=v>1?arguments[1]:void 0,w=N!==void 0,x=g(b),B=0,R,U,$,P,Y,G;if(w&&(N=u(N,v>2?arguments[2]:void 0,2)),x!=null&&!(E==Array&&h(x)))for(P=x.call(b),Y=P.next,U=new E;!($=Y.call(P)).done;B++)G=w?f(P,N,[$.value,B],!0):$.value,m(U,B,G);else for(R=p(b.length),U=new E(R);R>B;B++)G=w?N(b[B],B):b[B],m(U,B,G);return U.length=B,U}},1318:function(i,l,a){var u=a(5656),d=a(7466),f=a(1400),h=function(p){return function(m,g,y){var C=u(m),b=d(C.length),E=f(y,b),v;if(p&&g!=g){for(;b>E;)if(v=C[E++],v!=v)return!0}else for(;b>E;E++)if((p||E in C)&&C[E]===g)return p||E||0;return!p&&-1}};i.exports={includes:h(!0),indexOf:h(!1)}},2092:function(i,l,a){var u=a(9974),d=a(8361),f=a(7908),h=a(7466),p=a(5417),m=[].push,g=function(y){var C=y==1,b=y==2,E=y==3,v=y==4,N=y==6,w=y==7,x=y==5||N;return function(B,R,U,$){for(var P=f(B),Y=d(P),G=u(R,U,3),K=h(Y.length),H=0,J=$||p,z=C?J(B,K):b||w?J(B,0):void 0,ee,re;K>H;H++)if((x||H in Y)&&(ee=Y[H],re=G(ee,H,P),y))if(C)z[H]=re;else if(re)switch(y){case 3:return!0;case 5:return ee;case 6:return H;case 2:m.call(z,ee)}else switch(y){case 4:return!1;case 7:m.call(z,ee)}return N?-1:E||v?v:z}};i.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(i,l,a){var u=a(5656),d=a(9958),f=a(7466),h=a(9341),p=Math.min,m=[].lastIndexOf,g=!!m&&1/[1].lastIndexOf(1,-0)<0,y=h("lastIndexOf"),C=g||!y;i.exports=C?function(E){if(g)return m.apply(this,arguments)||0;var v=u(this),N=f(v.length),w=N-1;for(arguments.length>1&&(w=p(w,d(arguments[1]))),w<0&&(w=N+w);w>=0;w--)if(w in v&&v[w]===E)return w||0;return-1}:m},1194:function(i,l,a){var u=a(7293),d=a(5112),f=a(7392),h=d("species");i.exports=function(p){return f>=51||!u(function(){var m=[],g=m.constructor={};return g[h]=function(){return{foo:1}},m[p](Boolean).foo!==1})}},9341:function(i,l,a){var u=a(7293);i.exports=function(d,f){var h=[][d];return!!h&&u(function(){h.call(null,f||function(){throw 1},1)})}},3671:function(i,l,a){var u=a(3099),d=a(7908),f=a(8361),h=a(7466),p=function(m){return function(g,y,C,b){u(y);var E=d(g),v=f(E),N=h(E.length),w=m?N-1:0,x=m?-1:1;if(C<2)for(;;){if(w in v){b=v[w],w+=x;break}if(w+=x,m?w<0:N<=w)throw TypeError("Reduce of empty array with no initial value")}for(;m?w>=0:N>w;w+=x)w in v&&(b=y(b,v[w],w,E));return b}};i.exports={left:p(!1),right:p(!0)}},5417:function(i,l,a){var u=a(111),d=a(3157),f=a(5112),h=f("species");i.exports=function(p,m){var g;return d(p)&&(g=p.constructor,typeof g=="function"&&(g===Array||d(g.prototype))?g=void 0:u(g)&&(g=g[h],g===null&&(g=void 0))),new(g===void 0?Array:g)(m===0?0:m)}},3411:function(i,l,a){var u=a(9670),d=a(9212);i.exports=function(f,h,p,m){try{return m?h(u(p)[0],p[1]):h(p)}catch(g){throw d(f),g}}},7072:function(i,l,a){var u=a(5112),d=u("iterator"),f=!1;try{var h=0,p={next:function(){return{done:!!h++}},return:function(){f=!0}};p[d]=function(){return this},Array.from(p,function(){throw 2})}catch{}i.exports=function(m,g){if(!g&&!f)return!1;var y=!1;try{var C={};C[d]=function(){return{next:function(){return{done:y=!0}}}},m(C)}catch{}return y}},4326:function(i){var l={}.toString;i.exports=function(a){return l.call(a).slice(8,-1)}},648:function(i,l,a){var u=a(1694),d=a(4326),f=a(5112),h=f("toStringTag"),p=d(function(){return arguments}())=="Arguments",m=function(g,y){try{return g[y]}catch{}};i.exports=u?d:function(g){var y,C,b;return g===void 0?"Undefined":g===null?"Null":typeof(C=m(y=Object(g),h))=="string"?C:p?d(y):(b=d(y))=="Object"&&typeof y.callee=="function"?"Arguments":b}},9920:function(i,l,a){var u=a(6656),d=a(3887),f=a(1236),h=a(3070);i.exports=function(p,m){for(var g=d(m),y=h.f,C=f.f,b=0;b<g.length;b++){var E=g[b];u(p,E)||y(p,E,C(m,E))}}},8544:function(i,l,a){var u=a(7293);i.exports=!u(function(){function d(){}return d.prototype.constructor=null,Object.getPrototypeOf(new d)!==d.prototype})},4994:function(i,l,a){var u=a(3383).IteratorPrototype,d=a(30),f=a(9114),h=a(8003),p=a(7497),m=function(){return this};i.exports=function(g,y,C){var b=y+" Iterator";return g.prototype=d(u,{next:f(1,C)}),h(g,b,!1,!0),p[b]=m,g}},8880:function(i,l,a){var u=a(9781),d=a(3070),f=a(9114);i.exports=u?function(h,p,m){return d.f(h,p,f(1,m))}:function(h,p,m){return h[p]=m,h}},9114:function(i){i.exports=function(l,a){return{enumerable:!(l&1),configurable:!(l&2),writable:!(l&4),value:a}}},6135:function(i,l,a){var u=a(7593),d=a(3070),f=a(9114);i.exports=function(h,p,m){var g=u(p);g in h?d.f(h,g,f(0,m)):h[g]=m}},654:function(i,l,a){var u=a(2109),d=a(4994),f=a(9518),h=a(7674),p=a(8003),m=a(8880),g=a(1320),y=a(5112),C=a(1913),b=a(7497),E=a(3383),v=E.IteratorPrototype,N=E.BUGGY_SAFARI_ITERATORS,w=y("iterator"),x="keys",B="values",R="entries",U=function(){return this};i.exports=function($,P,Y,G,K,H,J){d(Y,P,G);var z=function(O){if(O===K&&Ee)return Ee;if(!N&&O in ue)return ue[O];switch(O){case x:return function(){return new Y(this,O)};case B:return function(){return new Y(this,O)};case R:return function(){return new Y(this,O)}}return function(){return new Y(this)}},ee=P+" Iterator",re=!1,ue=$.prototype,ge=ue[w]||ue["@@iterator"]||K&&ue[K],Ee=!N&&ge||z(K),Se=P=="Array"&&ue.entries||ge,ke,xe,Ae;if(Se&&(ke=f(Se.call(new $)),v!==Object.prototype&&ke.next&&(!C&&f(ke)!==v&&(h?h(ke,v):typeof ke[w]!="function"&&m(ke,w,U)),p(ke,ee,!0,!0),C&&(b[ee]=U))),K==B&&ge&&ge.name!==B&&(re=!0,Ee=function(){return ge.call(this)}),(!C||J)&&ue[w]!==Ee&&m(ue,w,Ee),b[P]=Ee,K)if(xe={values:z(B),keys:H?Ee:z(x),entries:z(R)},J)for(Ae in xe)(N||re||!(Ae in ue))&&g(ue,Ae,xe[Ae]);else u({target:P,proto:!0,forced:N||re},xe);return xe}},9781:function(i,l,a){var u=a(7293);i.exports=!u(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},317:function(i,l,a){var u=a(7854),d=a(111),f=u.document,h=d(f)&&d(f.createElement);i.exports=function(p){return h?f.createElement(p):{}}},8324:function(i){i.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(i,l,a){var u=a(5005);i.exports=u("navigator","userAgent")||""},7392:function(i,l,a){var u=a(7854),d=a(8113),f=u.process,h=f&&f.versions,p=h&&h.v8,m,g;p?(m=p.split("."),g=m[0]+m[1]):d&&(m=d.match(/Edge\/(\d+)/),(!m||m[1]>=74)&&(m=d.match(/Chrome\/(\d+)/),m&&(g=m[1]))),i.exports=g&&+g},748:function(i){i.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:function(i,l,a){var u=a(7854),d=a(1236).f,f=a(8880),h=a(1320),p=a(3505),m=a(9920),g=a(4705);i.exports=function(y,C){var b=y.target,E=y.global,v=y.stat,N,w,x,B,R,U;if(E?w=u:v?w=u[b]||p(b,{}):w=(u[b]||{}).prototype,w)for(x in C){if(R=C[x],y.noTargetGet?(U=d(w,x),B=U&&U.value):B=w[x],N=g(E?x:b+(v?".":"#")+x,y.forced),!N&&B!==void 0){if(typeof R==typeof B)continue;m(R,B)}(y.sham||B&&B.sham)&&f(R,"sham",!0),h(w,x,R,y)}}},7293:function(i){i.exports=function(l){try{return!!l()}catch{return!0}}},7007:function(i,l,a){a(4916);var u=a(1320),d=a(7293),f=a(5112),h=a(2261),p=a(8880),m=f("species"),g=!d(function(){var v=/./;return v.exec=function(){var N=[];return N.groups={a:"7"},N},"".replace(v,"$<a>")!=="7"}),y=function(){return"a".replace(/./,"$0")==="$0"}(),C=f("replace"),b=function(){return/./[C]?/./[C]("a","$0")==="":!1}(),E=!d(function(){var v=/(?:)/,N=v.exec;v.exec=function(){return N.apply(this,arguments)};var w="ab".split(v);return w.length!==2||w[0]!=="a"||w[1]!=="b"});i.exports=function(v,N,w,x){var B=f(v),R=!d(function(){var K={};return K[B]=function(){return 7},""[v](K)!=7}),U=R&&!d(function(){var K=!1,H=/a/;return v==="split"&&(H={},H.constructor={},H.constructor[m]=function(){return H},H.flags="",H[B]=/./[B]),H.exec=function(){return K=!0,null},H[B](""),!K});if(!R||!U||v==="replace"&&!(g&&y&&!b)||v==="split"&&!E){var $=/./[B],P=w(B,""[v],function(K,H,J,z,ee){return H.exec===h?R&&!ee?{done:!0,value:$.call(H,J,z)}:{done:!0,value:K.call(J,H,z)}:{done:!1}},{REPLACE_KEEPS_$0:y,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:b}),Y=P[0],G=P[1];u(String.prototype,v,Y),u(RegExp.prototype,B,N==2?function(K,H){return G.call(K,this,H)}:function(K){return G.call(K,this)})}x&&p(RegExp.prototype[B],"sham",!0)}},9974:function(i,l,a){var u=a(3099);i.exports=function(d,f,h){if(u(d),f===void 0)return d;switch(h){case 0:return function(){return d.call(f)};case 1:return function(p){return d.call(f,p)};case 2:return function(p,m){return d.call(f,p,m)};case 3:return function(p,m,g){return d.call(f,p,m,g)}}return function(){return d.apply(f,arguments)}}},5005:function(i,l,a){var u=a(857),d=a(7854),f=function(h){return typeof h=="function"?h:void 0};i.exports=function(h,p){return arguments.length<2?f(u[h])||f(d[h]):u[h]&&u[h][p]||d[h]&&d[h][p]}},1246:function(i,l,a){var u=a(648),d=a(7497),f=a(5112),h=f("iterator");i.exports=function(p){if(p!=null)return p[h]||p["@@iterator"]||d[u(p)]}},8554:function(i,l,a){var u=a(9670),d=a(1246);i.exports=function(f){var h=d(f);if(typeof h!="function")throw TypeError(String(f)+" is not iterable");return u(h.call(f))}},647:function(i,l,a){var u=a(7908),d=Math.floor,f="".replace,h=/\$([$&'`]|\d\d?|<[^>]*>)/g,p=/\$([$&'`]|\d\d?)/g;i.exports=function(m,g,y,C,b,E){var v=y+m.length,N=C.length,w=p;return b!==void 0&&(b=u(b),w=h),f.call(E,w,function(x,B){var R;switch(B.charAt(0)){case"$":return"$";case"&":return m;case"`":return g.slice(0,y);case"'":return g.slice(v);case"<":R=b[B.slice(1,-1)];break;default:var U=+B;if(U===0)return x;if(U>N){var $=d(U/10);return $===0?x:$<=N?C[$-1]===void 0?B.charAt(1):C[$-1]+B.charAt(1):x}R=C[U-1]}return R===void 0?"":R})}},7854:function(i,l,a){var u=function(d){return d&&d.Math==Math&&d};i.exports=u(typeof globalThis=="object"&&globalThis)||u(typeof window=="object"&&window)||u(typeof self=="object"&&self)||u(typeof a.g=="object"&&a.g)||function(){return this}()||Function("return this")()},6656:function(i){var l={}.hasOwnProperty;i.exports=function(a,u){return l.call(a,u)}},3501:function(i){i.exports={}},490:function(i,l,a){var u=a(5005);i.exports=u("document","documentElement")},4664:function(i,l,a){var u=a(9781),d=a(7293),f=a(317);i.exports=!u&&!d(function(){return Object.defineProperty(f("div"),"a",{get:function(){return 7}}).a!=7})},1179:function(i){var l=Math.abs,a=Math.pow,u=Math.floor,d=Math.log,f=Math.LN2,h=function(m,g,y){var C=new Array(y),b=y*8-g-1,E=(1<<b)-1,v=E>>1,N=g===23?a(2,-24)-a(2,-77):0,w=m<0||m===0&&1/m<0?1:0,x=0,B,R,U;for(m=l(m),m!=m||m===1/0?(R=m!=m?1:0,B=E):(B=u(d(m)/f),m*(U=a(2,-B))<1&&(B--,U*=2),B+v>=1?m+=N/U:m+=N*a(2,1-v),m*U>=2&&(B++,U/=2),B+v>=E?(R=0,B=E):B+v>=1?(R=(m*U-1)*a(2,g),B=B+v):(R=m*a(2,v-1)*a(2,g),B=0));g>=8;C[x++]=R&255,R/=256,g-=8);for(B=B<<g|R,b+=g;b>0;C[x++]=B&255,B/=256,b-=8);return C[--x]|=w*128,C},p=function(m,g){var y=m.length,C=y*8-g-1,b=(1<<C)-1,E=b>>1,v=C-7,N=y-1,w=m[N--],x=w&127,B;for(w>>=7;v>0;x=x*256+m[N],N--,v-=8);for(B=x&(1<<-v)-1,x>>=-v,v+=g;v>0;B=B*256+m[N],N--,v-=8);if(x===0)x=1-E;else{if(x===b)return B?NaN:w?-1/0:1/0;B=B+a(2,g),x=x-E}return(w?-1:1)*B*a(2,x-g)};i.exports={pack:h,unpack:p}},8361:function(i,l,a){var u=a(7293),d=a(4326),f="".split;i.exports=u(function(){return!Object("z").propertyIsEnumerable(0)})?function(h){return d(h)=="String"?f.call(h,""):Object(h)}:Object},9587:function(i,l,a){var u=a(111),d=a(7674);i.exports=function(f,h,p){var m,g;return d&&typeof(m=h.constructor)=="function"&&m!==p&&u(g=m.prototype)&&g!==p.prototype&&d(f,g),f}},2788:function(i,l,a){var u=a(5465),d=Function.toString;typeof u.inspectSource!="function"&&(u.inspectSource=function(f){return d.call(f)}),i.exports=u.inspectSource},9909:function(i,l,a){var u=a(8536),d=a(7854),f=a(111),h=a(8880),p=a(6656),m=a(5465),g=a(6200),y=a(3501),C=d.WeakMap,b,E,v,N=function(P){return v(P)?E(P):b(P,{})},w=function(P){return function(Y){var G;if(!f(Y)||(G=E(Y)).type!==P)throw TypeError("Incompatible receiver, "+P+" required");return G}};if(u){var x=m.state||(m.state=new C),B=x.get,R=x.has,U=x.set;b=function(P,Y){return Y.facade=P,U.call(x,P,Y),Y},E=function(P){return B.call(x,P)||{}},v=function(P){return R.call(x,P)}}else{var $=g("state");y[$]=!0,b=function(P,Y){return Y.facade=P,h(P,$,Y),Y},E=function(P){return p(P,$)?P[$]:{}},v=function(P){return p(P,$)}}i.exports={set:b,get:E,has:v,enforce:N,getterFor:w}},7659:function(i,l,a){var u=a(5112),d=a(7497),f=u("iterator"),h=Array.prototype;i.exports=function(p){return p!==void 0&&(d.Array===p||h[f]===p)}},3157:function(i,l,a){var u=a(4326);i.exports=Array.isArray||function(f){return u(f)=="Array"}},4705:function(i,l,a){var u=a(7293),d=/#|\.prototype\./,f=function(y,C){var b=p[h(y)];return b==g?!0:b==m?!1:typeof C=="function"?u(C):!!C},h=f.normalize=function(y){return String(y).replace(d,".").toLowerCase()},p=f.data={},m=f.NATIVE="N",g=f.POLYFILL="P";i.exports=f},111:function(i){i.exports=function(l){return typeof l=="object"?l!==null:typeof l=="function"}},1913:function(i){i.exports=!1},7850:function(i,l,a){var u=a(111),d=a(4326),f=a(5112),h=f("match");i.exports=function(p){var m;return u(p)&&((m=p[h])!==void 0?!!m:d(p)=="RegExp")}},9212:function(i,l,a){var u=a(9670);i.exports=function(d){var f=d.return;if(f!==void 0)return u(f.call(d)).value}},3383:function(i,l,a){var u=a(7293),d=a(9518),f=a(8880),h=a(6656),p=a(5112),m=a(1913),g=p("iterator"),y=!1,C=function(){return this},b,E,v;[].keys&&(v=[].keys(),"next"in v?(E=d(d(v)),E!==Object.prototype&&(b=E)):y=!0);var N=b==null||u(function(){var w={};return b[g].call(w)!==w});N&&(b={}),(!m||N)&&!h(b,g)&&f(b,g,C),i.exports={IteratorPrototype:b,BUGGY_SAFARI_ITERATORS:y}},7497:function(i){i.exports={}},133:function(i,l,a){var u=a(7293);i.exports=!!Object.getOwnPropertySymbols&&!u(function(){return!String(Symbol())})},590:function(i,l,a){var u=a(7293),d=a(5112),f=a(1913),h=d("iterator");i.exports=!u(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(y,C){m.delete("b"),g+=C+y}),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(i,l,a){var u=a(7854),d=a(2788),f=u.WeakMap;i.exports=typeof f=="function"&&/native code/.test(d(f))},1574:function(i,l,a){var u=a(9781),d=a(7293),f=a(1956),h=a(5181),p=a(5296),m=a(7908),g=a(8361),y=Object.assign,C=Object.defineProperty;i.exports=!y||d(function(){if(u&&y({b:1},y(C({},"a",{enumerable:!0,get:function(){C(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var b={},E={},v=Symbol(),N="abcdefghijklmnopqrst";return b[v]=7,N.split("").forEach(function(w){E[w]=w}),y({},b)[v]!=7||f(y({},E)).join("")!=N})?function(E,v){for(var N=m(E),w=arguments.length,x=1,B=h.f,R=p.f;w>x;)for(var U=g(arguments[x++]),$=B?f(U).concat(B(U)):f(U),P=$.length,Y=0,G;P>Y;)G=$[Y++],(!u||R.call(U,G))&&(N[G]=U[G]);return N}:y},30:function(i,l,a){var u=a(9670),d=a(6048),f=a(748),h=a(3501),p=a(490),m=a(317),g=a(6200),y=">",C="<",b="prototype",E="script",v=g("IE_PROTO"),N=function(){},w=function($){return C+E+y+$+C+"/"+E+y},x=function($){$.write(w("")),$.close();var P=$.parentWindow.Object;return $=null,P},B=function(){var $=m("iframe"),P="java"+E+":",Y;return $.style.display="none",p.appendChild($),$.src=String(P),Y=$.contentWindow.document,Y.open(),Y.write(w("document.F=Object")),Y.close(),Y.F},R,U=function(){try{R=document.domain&&new ActiveXObject("htmlfile")}catch{}U=R?x(R):B();for(var $=f.length;$--;)delete U[b][f[$]];return U()};h[v]=!0,i.exports=Object.create||function(P,Y){var G;return P!==null?(N[b]=u(P),G=new N,N[b]=null,G[v]=P):G=U(),Y===void 0?G:d(G,Y)}},6048:function(i,l,a){var u=a(9781),d=a(3070),f=a(9670),h=a(1956);i.exports=u?Object.defineProperties:function(m,g){f(m);for(var y=h(g),C=y.length,b=0,E;C>b;)d.f(m,E=y[b++],g[E]);return m}},3070:function(i,l,a){var u=a(9781),d=a(4664),f=a(9670),h=a(7593),p=Object.defineProperty;l.f=u?p:function(g,y,C){if(f(g),y=h(y,!0),f(C),d)try{return p(g,y,C)}catch{}if("get"in C||"set"in C)throw TypeError("Accessors not supported");return"value"in C&&(g[y]=C.value),g}},1236:function(i,l,a){var u=a(9781),d=a(5296),f=a(9114),h=a(5656),p=a(7593),m=a(6656),g=a(4664),y=Object.getOwnPropertyDescriptor;l.f=u?y:function(b,E){if(b=h(b),E=p(E,!0),g)try{return y(b,E)}catch{}if(m(b,E))return f(!d.f.call(b,E),b[E])}},8006:function(i,l,a){var u=a(6324),d=a(748),f=d.concat("length","prototype");l.f=Object.getOwnPropertyNames||function(p){return u(p,f)}},5181:function(i,l){l.f=Object.getOwnPropertySymbols},9518:function(i,l,a){var u=a(6656),d=a(7908),f=a(6200),h=a(8544),p=f("IE_PROTO"),m=Object.prototype;i.exports=h?Object.getPrototypeOf:function(g){return g=d(g),u(g,p)?g[p]:typeof g.constructor=="function"&&g instanceof g.constructor?g.constructor.prototype:g instanceof Object?m:null}},6324:function(i,l,a){var u=a(6656),d=a(5656),f=a(1318).indexOf,h=a(3501);i.exports=function(p,m){var g=d(p),y=0,C=[],b;for(b in g)!u(h,b)&&u(g,b)&&C.push(b);for(;m.length>y;)u(g,b=m[y++])&&(~f(C,b)||C.push(b));return C}},1956:function(i,l,a){var u=a(6324),d=a(748);i.exports=Object.keys||function(h){return u(h,d)}},5296:function(i,l){var a={}.propertyIsEnumerable,u=Object.getOwnPropertyDescriptor,d=u&&!a.call({1:2},1);l.f=d?function(h){var p=u(this,h);return!!p&&p.enumerable}:a},7674:function(i,l,a){var u=a(9670),d=a(6077);i.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,y){return u(g),d(y),f?p.call(g,y):g.__proto__=y,g}}():void 0)},288:function(i,l,a){var u=a(1694),d=a(648);i.exports=u?{}.toString:function(){return"[object "+d(this)+"]"}},3887:function(i,l,a){var u=a(5005),d=a(8006),f=a(5181),h=a(9670);i.exports=u("Reflect","ownKeys")||function(m){var g=d.f(h(m)),y=f.f;return y?g.concat(y(m)):g}},857:function(i,l,a){var u=a(7854);i.exports=u},2248:function(i,l,a){var u=a(1320);i.exports=function(d,f,h){for(var p in f)u(d,p,f[p],h);return d}},1320:function(i,l,a){var u=a(7854),d=a(8880),f=a(6656),h=a(3505),p=a(2788),m=a(9909),g=m.get,y=m.enforce,C=String(String).split("String");(i.exports=function(b,E,v,N){var w=N?!!N.unsafe:!1,x=N?!!N.enumerable:!1,B=N?!!N.noTargetGet:!1,R;if(typeof v=="function"&&(typeof E=="string"&&!f(v,"name")&&d(v,"name",E),R=y(v),R.source||(R.source=C.join(typeof E=="string"?E:""))),b===u){x?b[E]=v:h(E,v);return}else w?!B&&b[E]&&(x=!0):delete b[E];x?b[E]=v:d(b,E,v)})(Function.prototype,"toString",function(){return typeof this=="function"&&g(this).source||p(this)})},7651:function(i,l,a){var u=a(4326),d=a(2261);i.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(u(f)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return d.call(f,h)}},2261:function(i,l,a){var u=a(7066),d=a(2999),f=RegExp.prototype.exec,h=String.prototype.replace,p=f,m=function(){var b=/a/,E=/b*/g;return f.call(b,"a"),f.call(E,"a"),b.lastIndex!==0||E.lastIndex!==0}(),g=d.UNSUPPORTED_Y||d.BROKEN_CARET,y=/()??/.exec("")[1]!==void 0,C=m||y||g;C&&(p=function(E){var v=this,N,w,x,B,R=g&&v.sticky,U=u.call(v),$=v.source,P=0,Y=E;return R&&(U=U.replace("y",""),U.indexOf("g")===-1&&(U+="g"),Y=String(E).slice(v.lastIndex),v.lastIndex>0&&(!v.multiline||v.multiline&&E[v.lastIndex-1]!==`
|
|
56
|
+
`)&&($="(?: "+$+")",Y=" "+Y,P++),w=new RegExp("^(?:"+$+")",U)),y&&(w=new RegExp("^"+$+"$(?!\\s)",U)),m&&(N=v.lastIndex),x=f.call(R?w:v,Y),R?x?(x.input=x.input.slice(P),x[0]=x[0].slice(P),x.index=v.lastIndex,v.lastIndex+=x[0].length):v.lastIndex=0:m&&x&&(v.lastIndex=v.global?x.index+x[0].length:N),y&&x&&x.length>1&&h.call(x[0],w,function(){for(B=1;B<arguments.length-2;B++)arguments[B]===void 0&&(x[B]=void 0)}),x}),i.exports=p},7066:function(i,l,a){var u=a(9670);i.exports=function(){var d=u(this),f="";return d.global&&(f+="g"),d.ignoreCase&&(f+="i"),d.multiline&&(f+="m"),d.dotAll&&(f+="s"),d.unicode&&(f+="u"),d.sticky&&(f+="y"),f}},2999:function(i,l,a){var u=a(7293);function d(f,h){return RegExp(f,h)}l.UNSUPPORTED_Y=u(function(){var f=d("a","y");return f.lastIndex=2,f.exec("abcd")!=null}),l.BROKEN_CARET=u(function(){var f=d("^r","gy");return f.lastIndex=2,f.exec("str")!=null})},4488:function(i){i.exports=function(l){if(l==null)throw TypeError("Can't call method on "+l);return l}},3505:function(i,l,a){var u=a(7854),d=a(8880);i.exports=function(f,h){try{d(u,f,h)}catch{u[f]=h}return h}},6340:function(i,l,a){var u=a(5005),d=a(3070),f=a(5112),h=a(9781),p=f("species");i.exports=function(m){var g=u(m),y=d.f;h&&g&&!g[p]&&y(g,p,{configurable:!0,get:function(){return this}})}},8003:function(i,l,a){var u=a(3070).f,d=a(6656),f=a(5112),h=f("toStringTag");i.exports=function(p,m,g){p&&!d(p=g?p:p.prototype,h)&&u(p,h,{configurable:!0,value:m})}},6200:function(i,l,a){var u=a(2309),d=a(9711),f=u("keys");i.exports=function(h){return f[h]||(f[h]=d(h))}},5465:function(i,l,a){var u=a(7854),d=a(3505),f="__core-js_shared__",h=u[f]||d(f,{});i.exports=h},2309:function(i,l,a){var u=a(1913),d=a(5465);(i.exports=function(f,h){return d[f]||(d[f]=h!==void 0?h:{})})("versions",[]).push({version:"3.9.0",mode:u?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},6707:function(i,l,a){var u=a(9670),d=a(3099),f=a(5112),h=f("species");i.exports=function(p,m){var g=u(p).constructor,y;return g===void 0||(y=u(g)[h])==null?m:d(y)}},8710:function(i,l,a){var u=a(9958),d=a(4488),f=function(h){return function(p,m){var g=String(d(p)),y=u(m),C=g.length,b,E;return y<0||y>=C?h?"":void 0:(b=g.charCodeAt(y),b<55296||b>56319||y+1===C||(E=g.charCodeAt(y+1))<56320||E>57343?h?g.charAt(y):b:h?g.slice(y,y+2):(b-55296<<10)+(E-56320)+65536)}};i.exports={codeAt:f(!1),charAt:f(!0)}},3197:function(i){var l=2147483647,a=36,u=1,d=26,f=38,h=700,p=72,m=128,g="-",y=/[^\0-\u007E]/,C=/[.\u3002\uFF0E\uFF61]/g,b="Overflow: input needs wider integers to process",E=a-u,v=Math.floor,N=String.fromCharCode,w=function(U){for(var $=[],P=0,Y=U.length;P<Y;){var G=U.charCodeAt(P++);if(G>=55296&&G<=56319&&P<Y){var K=U.charCodeAt(P++);(K&64512)==56320?$.push(((G&1023)<<10)+(K&1023)+65536):($.push(G),P--)}else $.push(G)}return $},x=function(U){return U+22+75*(U<26)},B=function(U,$,P){var Y=0;for(U=P?v(U/h):U>>1,U+=v(U/$);U>E*d>>1;Y+=a)U=v(U/E);return v(Y+(E+1)*U/(U+f))},R=function(U){var $=[];U=w(U);var P=U.length,Y=m,G=0,K=p,H,J;for(H=0;H<U.length;H++)J=U[H],J<128&&$.push(N(J));var z=$.length,ee=z;for(z&&$.push(g);ee<P;){var re=l;for(H=0;H<U.length;H++)J=U[H],J>=Y&&J<re&&(re=J);var ue=ee+1;if(re-Y>v((l-G)/ue))throw RangeError(b);for(G+=(re-Y)*ue,Y=re,H=0;H<U.length;H++){if(J=U[H],J<Y&&++G>l)throw RangeError(b);if(J==Y){for(var ge=G,Ee=a;;Ee+=a){var Se=Ee<=K?u:Ee>=K+d?d:Ee-K;if(ge<Se)break;var ke=ge-Se,xe=a-Se;$.push(N(x(Se+ke%xe))),ge=v(ke/xe)}$.push(N(x(ge))),K=B(G,ue,ee==z),G=0,++ee}}++G,++Y}return $.join("")};i.exports=function(U){var $=[],P=U.toLowerCase().replace(C,".").split("."),Y,G;for(Y=0;Y<P.length;Y++)G=P[Y],$.push(y.test(G)?"xn--"+R(G):G);return $.join(".")}},6091:function(i,l,a){var u=a(7293),d=a(1361),f="
";i.exports=function(h){return u(function(){return!!d[h]()||f[h]()!=f||d[h].name!==h})}},3111:function(i,l,a){var u=a(4488),d=a(1361),f="["+d+"]",h=RegExp("^"+f+f+"*"),p=RegExp(f+f+"*$"),m=function(g){return function(y){var C=String(u(y));return g&1&&(C=C.replace(h,"")),g&2&&(C=C.replace(p,"")),C}};i.exports={start:m(1),end:m(2),trim:m(3)}},1400:function(i,l,a){var u=a(9958),d=Math.max,f=Math.min;i.exports=function(h,p){var m=u(h);return m<0?d(m+p,0):f(m,p)}},7067:function(i,l,a){var u=a(9958),d=a(7466);i.exports=function(f){if(f===void 0)return 0;var h=u(f),p=d(h);if(h!==p)throw RangeError("Wrong length or index");return p}},5656:function(i,l,a){var u=a(8361),d=a(4488);i.exports=function(f){return u(d(f))}},9958:function(i){var l=Math.ceil,a=Math.floor;i.exports=function(u){return isNaN(u=+u)?0:(u>0?a:l)(u)}},7466:function(i,l,a){var u=a(9958),d=Math.min;i.exports=function(f){return f>0?d(u(f),9007199254740991):0}},7908:function(i,l,a){var u=a(4488);i.exports=function(d){return Object(u(d))}},4590:function(i,l,a){var u=a(3002);i.exports=function(d,f){var h=u(d);if(h%f)throw RangeError("Wrong offset");return h}},3002:function(i,l,a){var u=a(9958);i.exports=function(d){var f=u(d);if(f<0)throw RangeError("The argument can't be less than 0");return f}},7593:function(i,l,a){var u=a(111);i.exports=function(d,f){if(!u(d))return d;var h,p;if(f&&typeof(h=d.toString)=="function"&&!u(p=h.call(d))||typeof(h=d.valueOf)=="function"&&!u(p=h.call(d))||!f&&typeof(h=d.toString)=="function"&&!u(p=h.call(d)))return p;throw TypeError("Can't convert object to primitive value")}},1694:function(i,l,a){var u=a(5112),d=u("toStringTag"),f={};f[d]="z",i.exports=String(f)==="[object z]"},9843:function(i,l,a){var u=a(2109),d=a(7854),f=a(9781),h=a(3832),p=a(260),m=a(3331),g=a(5787),y=a(9114),C=a(8880),b=a(7466),E=a(7067),v=a(4590),N=a(7593),w=a(6656),x=a(648),B=a(111),R=a(30),U=a(7674),$=a(8006).f,P=a(7321),Y=a(2092).forEach,G=a(6340),K=a(3070),H=a(1236),J=a(9909),z=a(9587),ee=J.get,re=J.set,ue=K.f,ge=H.f,Ee=Math.round,Se=d.RangeError,ke=m.ArrayBuffer,xe=m.DataView,Ae=p.NATIVE_ARRAY_BUFFER_VIEWS,O=p.TYPED_ARRAY_TAG,D=p.TypedArray,I=p.TypedArrayPrototype,L=p.aTypedArrayConstructor,A=p.isTypedArray,T="BYTES_PER_ELEMENT",k="Wrong length",M=function(_,V){for(var Q=0,ae=V.length,pe=new(L(_))(ae);ae>Q;)pe[Q]=V[Q++];return pe},j=function(_,V){ue(_,V,{get:function(){return ee(this)[V]}})},W=function(_){var V;return _ instanceof ke||(V=x(_))=="ArrayBuffer"||V=="SharedArrayBuffer"},Z=function(_,V){return A(_)&&typeof V!="symbol"&&V in _&&String(+V)==String(V)},X=function(V,Q){return Z(V,Q=N(Q,!0))?y(2,V[Q]):ge(V,Q)},S=function(V,Q,ae){return Z(V,Q=N(Q,!0))&&B(ae)&&w(ae,"value")&&!w(ae,"get")&&!w(ae,"set")&&!ae.configurable&&(!w(ae,"writable")||ae.writable)&&(!w(ae,"enumerable")||ae.enumerable)?(V[Q]=ae.value,V):ue(V,Q,ae)};f?(Ae||(H.f=X,K.f=S,j(I,"buffer"),j(I,"byteOffset"),j(I,"byteLength"),j(I,"length")),u({target:"Object",stat:!0,forced:!Ae},{getOwnPropertyDescriptor:X,defineProperty:S}),i.exports=function(_,V,Q){var ae=_.match(/\d+$/)[0]/8,pe=_+(Q?"Clamped":"")+"Array",Te="get"+_,q="set"+_,ie=d[pe],be=ie,Pe=be&&be.prototype,qe={},nt=function(ye,me){var Oe=ee(ye);return Oe.view[Te](me*ae+Oe.byteOffset,!0)},Mt=function(ye,me,Oe){var Re=ee(ye);Q&&(Oe=(Oe=Ee(Oe))<0?0:Oe>255?255:Oe&255),Re.view[q](me*ae+Re.byteOffset,Oe,!0)},te=function(ye,me){ue(ye,me,{get:function(){return nt(this,me)},set:function(Oe){return Mt(this,me,Oe)},enumerable:!0})};Ae?h&&(be=V(function(ye,me,Oe,Re){return g(ye,be,pe),z(function(){return B(me)?W(me)?Re!==void 0?new ie(me,v(Oe,ae),Re):Oe!==void 0?new ie(me,v(Oe,ae)):new ie(me):A(me)?M(be,me):P.call(be,me):new ie(E(me))}(),ye,be)}),U&&U(be,D),Y($(ie),function(ye){ye in be||C(be,ye,ie[ye])}),be.prototype=Pe):(be=V(function(ye,me,Oe,Re){g(ye,be,pe);var et=0,rt=0,Ot,Lt,gt;if(!B(me))gt=E(me),Lt=gt*ae,Ot=new ke(Lt);else if(W(me)){Ot=me,rt=v(Oe,ae);var Ln=me.byteLength;if(Re===void 0){if(Ln%ae||(Lt=Ln-rt,Lt<0))throw Se(k)}else if(Lt=b(Re)*ae,Lt+rt>Ln)throw Se(k);gt=Lt/ae}else return A(me)?M(be,me):P.call(be,me);for(re(ye,{buffer:Ot,byteOffset:rt,byteLength:Lt,length:gt,view:new xe(Ot)});et<gt;)te(ye,et++)}),U&&U(be,D),Pe=be.prototype=R(I)),Pe.constructor!==be&&C(Pe,"constructor",be),O&&C(Pe,O,pe),qe[pe]=be,u({global:!0,forced:be!=ie,sham:!Ae},qe),T in be||C(be,T,ae),T in Pe||C(Pe,T,ae),G(pe)}):i.exports=function(){}},3832:function(i,l,a){var u=a(7854),d=a(7293),f=a(7072),h=a(260).NATIVE_ARRAY_BUFFER_VIEWS,p=u.ArrayBuffer,m=u.Int8Array;i.exports=!h||!d(function(){m(1)})||!d(function(){new m(-1)})||!f(function(g){new m,new m(null),new m(1.5),new m(g)},!0)||d(function(){return new m(new p(2),1,void 0).length!==1})},3074:function(i,l,a){var u=a(260).aTypedArrayConstructor,d=a(6707);i.exports=function(f,h){for(var p=d(f,f.constructor),m=0,g=h.length,y=new(u(p))(g);g>m;)y[m]=h[m++];return y}},7321:function(i,l,a){var u=a(7908),d=a(7466),f=a(1246),h=a(7659),p=a(9974),m=a(260).aTypedArrayConstructor;i.exports=function(y){var C=u(y),b=arguments.length,E=b>1?arguments[1]:void 0,v=E!==void 0,N=f(C),w,x,B,R,U,$;if(N!=null&&!h(N))for(U=N.call(C),$=U.next,C=[];!(R=$.call(U)).done;)C.push(R.value);for(v&&b>2&&(E=p(E,arguments[2],2)),x=d(C.length),B=new(m(this))(x),w=0;x>w;w++)B[w]=v?E(C[w],w):C[w];return B}},9711:function(i){var l=0,a=Math.random();i.exports=function(u){return"Symbol("+String(u===void 0?"":u)+")_"+(++l+a).toString(36)}},3307:function(i,l,a){var u=a(133);i.exports=u&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},5112:function(i,l,a){var u=a(7854),d=a(2309),f=a(6656),h=a(9711),p=a(133),m=a(3307),g=d("wks"),y=u.Symbol,C=m?y:y&&y.withoutSetter||h;i.exports=function(b){return f(g,b)||(p&&f(y,b)?g[b]=y[b]:g[b]=C("Symbol."+b)),g[b]}},1361:function(i){i.exports=`
|
|
57
|
+
\v\f\r \u2028\u2029\uFEFF`},8264:function(i,l,a){var u=a(2109),d=a(7854),f=a(3331),h=a(6340),p="ArrayBuffer",m=f[p],g=d[p];u({global:!0,forced:g!==m},{ArrayBuffer:m}),h(p)},2222:function(i,l,a){var u=a(2109),d=a(7293),f=a(3157),h=a(111),p=a(7908),m=a(7466),g=a(6135),y=a(5417),C=a(1194),b=a(5112),E=a(7392),v=b("isConcatSpreadable"),N=9007199254740991,w="Maximum allowed index exceeded",x=E>=51||!d(function(){var $=[];return $[v]=!1,$.concat()[0]!==$}),B=C("concat"),R=function($){if(!h($))return!1;var P=$[v];return P!==void 0?!!P:f($)},U=!x||!B;u({target:"Array",proto:!0,forced:U},{concat:function(P){var Y=p(this),G=y(Y,0),K=0,H,J,z,ee,re;for(H=-1,z=arguments.length;H<z;H++)if(re=H===-1?Y:arguments[H],R(re)){if(ee=m(re.length),K+ee>N)throw TypeError(w);for(J=0;J<ee;J++,K++)J in re&&g(G,K,re[J])}else{if(K>=N)throw TypeError(w);g(G,K++,re)}return G.length=K,G}})},7327:function(i,l,a){var u=a(2109),d=a(2092).filter,f=a(1194),h=f("filter");u({target:"Array",proto:!0,forced:!h},{filter:function(m){return d(this,m,arguments.length>1?arguments[1]:void 0)}})},2772:function(i,l,a){var u=a(2109),d=a(1318).indexOf,f=a(9341),h=[].indexOf,p=!!h&&1/[1].indexOf(1,-0)<0,m=f("indexOf");u({target:"Array",proto:!0,forced:p||!m},{indexOf:function(y){return p?h.apply(this,arguments)||0:d(this,y,arguments.length>1?arguments[1]:void 0)}})},6992:function(i,l,a){var u=a(5656),d=a(1223),f=a(7497),h=a(9909),p=a(654),m="Array Iterator",g=h.set,y=h.getterFor(m);i.exports=p(Array,"Array",function(C,b){g(this,{type:m,target:u(C),index:0,kind:b})},function(){var C=y(this),b=C.target,E=C.kind,v=C.index++;return!b||v>=b.length?(C.target=void 0,{value:void 0,done:!0}):E=="keys"?{value:v,done:!1}:E=="values"?{value:b[v],done:!1}:{value:[v,b[v]],done:!1}},"values"),f.Arguments=f.Array,d("keys"),d("values"),d("entries")},1249:function(i,l,a){var u=a(2109),d=a(2092).map,f=a(1194),h=f("map");u({target:"Array",proto:!0,forced:!h},{map:function(m){return d(this,m,arguments.length>1?arguments[1]:void 0)}})},7042:function(i,l,a){var u=a(2109),d=a(111),f=a(3157),h=a(1400),p=a(7466),m=a(5656),g=a(6135),y=a(5112),C=a(1194),b=C("slice"),E=y("species"),v=[].slice,N=Math.max;u({target:"Array",proto:!0,forced:!b},{slice:function(x,B){var R=m(this),U=p(R.length),$=h(x,U),P=h(B===void 0?U:B,U),Y,G,K;if(f(R)&&(Y=R.constructor,typeof Y=="function"&&(Y===Array||f(Y.prototype))?Y=void 0:d(Y)&&(Y=Y[E],Y===null&&(Y=void 0)),Y===Array||Y===void 0))return v.call(R,$,P);for(G=new(Y===void 0?Array:Y)(N(P-$,0)),K=0;$<P;$++,K++)$ in R&&g(G,K,R[$]);return G.length=K,G}})},561:function(i,l,a){var u=a(2109),d=a(1400),f=a(9958),h=a(7466),p=a(7908),m=a(5417),g=a(6135),y=a(1194),C=y("splice"),b=Math.max,E=Math.min,v=9007199254740991,N="Maximum allowed length exceeded";u({target:"Array",proto:!0,forced:!C},{splice:function(x,B){var R=p(this),U=h(R.length),$=d(x,U),P=arguments.length,Y,G,K,H,J,z;if(P===0?Y=G=0:P===1?(Y=0,G=U-$):(Y=P-2,G=E(b(f(B),0),U-$)),U+Y-G>v)throw TypeError(N);for(K=m(R,G),H=0;H<G;H++)J=$+H,J in R&&g(K,H,R[J]);if(K.length=G,Y<G){for(H=$;H<U-G;H++)J=H+G,z=H+Y,J in R?R[z]=R[J]:delete R[z];for(H=U;H>U-G+Y;H--)delete R[H-1]}else if(Y>G)for(H=U-G;H>$;H--)J=H+G-1,z=H+Y-1,J in R?R[z]=R[J]:delete R[z];for(H=0;H<Y;H++)R[H+$]=arguments[H+2];return R.length=U-G+Y,K}})},8309:function(i,l,a){var u=a(9781),d=a(3070).f,f=Function.prototype,h=f.toString,p=/^\s*function ([^ (]*)/,m="name";u&&!(m in f)&&d(f,m,{configurable:!0,get:function(){try{return h.call(this).match(p)[1]}catch{return""}}})},489:function(i,l,a){var u=a(2109),d=a(7293),f=a(7908),h=a(9518),p=a(8544),m=d(function(){h(1)});u({target:"Object",stat:!0,forced:m,sham:!p},{getPrototypeOf:function(y){return h(f(y))}})},1539:function(i,l,a){var u=a(1694),d=a(1320),f=a(288);u||d(Object.prototype,"toString",f,{unsafe:!0})},4916:function(i,l,a){var u=a(2109),d=a(2261);u({target:"RegExp",proto:!0,forced:/./.exec!==d},{exec:d})},9714:function(i,l,a){var u=a(1320),d=a(9670),f=a(7293),h=a(7066),p="toString",m=RegExp.prototype,g=m[p],y=f(function(){return g.call({source:"a",flags:"b"})!="/a/b"}),C=g.name!=p;(y||C)&&u(RegExp.prototype,p,function(){var E=d(this),v=String(E.source),N=E.flags,w=String(N===void 0&&E instanceof RegExp&&!("flags"in m)?h.call(E):N);return"/"+v+"/"+w},{unsafe:!0})},8783:function(i,l,a){var u=a(8710).charAt,d=a(9909),f=a(654),h="String Iterator",p=d.set,m=d.getterFor(h);f(String,"String",function(g){p(this,{type:h,string:String(g),index:0})},function(){var y=m(this),C=y.string,b=y.index,E;return b>=C.length?{value:void 0,done:!0}:(E=u(C,b),y.index+=E.length,{value:E,done:!1})})},4723:function(i,l,a){var u=a(7007),d=a(9670),f=a(7466),h=a(4488),p=a(1530),m=a(7651);u("match",1,function(g,y,C){return[function(E){var v=h(this),N=E==null?void 0:E[g];return N!==void 0?N.call(E,v):new RegExp(E)[g](String(v))},function(b){var E=C(y,b,this);if(E.done)return E.value;var v=d(b),N=String(this);if(!v.global)return m(v,N);var w=v.unicode;v.lastIndex=0;for(var x=[],B=0,R;(R=m(v,N))!==null;){var U=String(R[0]);x[B]=U,U===""&&(v.lastIndex=p(N,f(v.lastIndex),w)),B++}return B===0?null:x}]})},5306:function(i,l,a){var u=a(7007),d=a(9670),f=a(7466),h=a(9958),p=a(4488),m=a(1530),g=a(647),y=a(7651),C=Math.max,b=Math.min,E=function(v){return v===void 0?v:String(v)};u("replace",2,function(v,N,w,x){var B=x.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,R=x.REPLACE_KEEPS_$0,U=B?"$":"$0";return[function(P,Y){var G=p(this),K=P==null?void 0:P[v];return K!==void 0?K.call(P,G,Y):N.call(String(G),P,Y)},function($,P){if(!B&&R||typeof P=="string"&&P.indexOf(U)===-1){var Y=w(N,$,this,P);if(Y.done)return Y.value}var G=d($),K=String(this),H=typeof P=="function";H||(P=String(P));var J=G.global;if(J){var z=G.unicode;G.lastIndex=0}for(var ee=[];;){var re=y(G,K);if(re===null||(ee.push(re),!J))break;var ue=String(re[0]);ue===""&&(G.lastIndex=m(K,f(G.lastIndex),z))}for(var ge="",Ee=0,Se=0;Se<ee.length;Se++){re=ee[Se];for(var ke=String(re[0]),xe=C(b(h(re.index),K.length),0),Ae=[],O=1;O<re.length;O++)Ae.push(E(re[O]));var D=re.groups;if(H){var I=[ke].concat(Ae,xe,K);D!==void 0&&I.push(D);var L=String(P.apply(void 0,I))}else L=g(ke,K,xe,Ae,D,P);xe>=Ee&&(ge+=K.slice(Ee,xe)+L,Ee=xe+ke.length)}return ge+K.slice(Ee)}]})},3123:function(i,l,a){var u=a(7007),d=a(7850),f=a(9670),h=a(4488),p=a(6707),m=a(1530),g=a(7466),y=a(7651),C=a(2261),b=a(7293),E=[].push,v=Math.min,N=4294967295,w=!b(function(){return!RegExp(N,"y")});u("split",2,function(x,B,R){var U;return"abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?U=function($,P){var Y=String(h(this)),G=P===void 0?N:P>>>0;if(G===0)return[];if($===void 0)return[Y];if(!d($))return B.call(Y,$,G);for(var K=[],H=($.ignoreCase?"i":"")+($.multiline?"m":"")+($.unicode?"u":"")+($.sticky?"y":""),J=0,z=new RegExp($.source,H+"g"),ee,re,ue;(ee=C.call(z,Y))&&(re=z.lastIndex,!(re>J&&(K.push(Y.slice(J,ee.index)),ee.length>1&&ee.index<Y.length&&E.apply(K,ee.slice(1)),ue=ee[0].length,J=re,K.length>=G)));)z.lastIndex===ee.index&&z.lastIndex++;return J===Y.length?(ue||!z.test(""))&&K.push(""):K.push(Y.slice(J)),K.length>G?K.slice(0,G):K}:"0".split(void 0,0).length?U=function($,P){return $===void 0&&P===0?[]:B.call(this,$,P)}:U=B,[function(P,Y){var G=h(this),K=P==null?void 0:P[x];return K!==void 0?K.call(P,G,Y):U.call(String(G),P,Y)},function($,P){var Y=R(U,$,this,P,U!==B);if(Y.done)return Y.value;var G=f($),K=String(this),H=p(G,RegExp),J=G.unicode,z=(G.ignoreCase?"i":"")+(G.multiline?"m":"")+(G.unicode?"u":"")+(w?"y":"g"),ee=new H(w?G:"^(?:"+G.source+")",z),re=P===void 0?N:P>>>0;if(re===0)return[];if(K.length===0)return y(ee,K)===null?[K]:[];for(var ue=0,ge=0,Ee=[];ge<K.length;){ee.lastIndex=w?ge:0;var Se=y(ee,w?K:K.slice(ge)),ke;if(Se===null||(ke=v(g(ee.lastIndex+(w?0:ge)),K.length))===ue)ge=m(K,ge,J);else{if(Ee.push(K.slice(ue,ge)),Ee.length===re)return Ee;for(var xe=1;xe<=Se.length-1;xe++)if(Ee.push(Se[xe]),Ee.length===re)return Ee;ge=ue=ke}}return Ee.push(K.slice(ue)),Ee}]},!w)},3210:function(i,l,a){var u=a(2109),d=a(3111).trim,f=a(6091);u({target:"String",proto:!0,forced:f("trim")},{trim:function(){return d(this)}})},2990:function(i,l,a){var u=a(260),d=a(1048),f=u.aTypedArray,h=u.exportTypedArrayMethod;h("copyWithin",function(m,g){return d.call(f(this),m,g,arguments.length>2?arguments[2]:void 0)})},8927:function(i,l,a){var u=a(260),d=a(2092).every,f=u.aTypedArray,h=u.exportTypedArrayMethod;h("every",function(m){return d(f(this),m,arguments.length>1?arguments[1]:void 0)})},3105:function(i,l,a){var u=a(260),d=a(1285),f=u.aTypedArray,h=u.exportTypedArrayMethod;h("fill",function(m){return d.apply(f(this),arguments)})},5035:function(i,l,a){var u=a(260),d=a(2092).filter,f=a(3074),h=u.aTypedArray,p=u.exportTypedArrayMethod;p("filter",function(g){var y=d(h(this),g,arguments.length>1?arguments[1]:void 0);return f(this,y)})},7174:function(i,l,a){var u=a(260),d=a(2092).findIndex,f=u.aTypedArray,h=u.exportTypedArrayMethod;h("findIndex",function(m){return d(f(this),m,arguments.length>1?arguments[1]:void 0)})},4345:function(i,l,a){var u=a(260),d=a(2092).find,f=u.aTypedArray,h=u.exportTypedArrayMethod;h("find",function(m){return d(f(this),m,arguments.length>1?arguments[1]:void 0)})},2846:function(i,l,a){var u=a(260),d=a(2092).forEach,f=u.aTypedArray,h=u.exportTypedArrayMethod;h("forEach",function(m){d(f(this),m,arguments.length>1?arguments[1]:void 0)})},4731:function(i,l,a){var u=a(260),d=a(1318).includes,f=u.aTypedArray,h=u.exportTypedArrayMethod;h("includes",function(m){return d(f(this),m,arguments.length>1?arguments[1]:void 0)})},7209:function(i,l,a){var u=a(260),d=a(1318).indexOf,f=u.aTypedArray,h=u.exportTypedArrayMethod;h("indexOf",function(m){return d(f(this),m,arguments.length>1?arguments[1]:void 0)})},6319:function(i,l,a){var u=a(7854),d=a(260),f=a(6992),h=a(5112),p=h("iterator"),m=u.Uint8Array,g=f.values,y=f.keys,C=f.entries,b=d.aTypedArray,E=d.exportTypedArrayMethod,v=m&&m.prototype[p],N=!!v&&(v.name=="values"||v.name==null),w=function(){return g.call(b(this))};E("entries",function(){return C.call(b(this))}),E("keys",function(){return y.call(b(this))}),E("values",w,!N),E(p,w,!N)},8867:function(i,l,a){var u=a(260),d=u.aTypedArray,f=u.exportTypedArrayMethod,h=[].join;f("join",function(m){return h.apply(d(this),arguments)})},7789:function(i,l,a){var u=a(260),d=a(6583),f=u.aTypedArray,h=u.exportTypedArrayMethod;h("lastIndexOf",function(m){return d.apply(f(this),arguments)})},3739:function(i,l,a){var u=a(260),d=a(2092).map,f=a(6707),h=u.aTypedArray,p=u.aTypedArrayConstructor,m=u.exportTypedArrayMethod;m("map",function(y){return d(h(this),y,arguments.length>1?arguments[1]:void 0,function(C,b){return new(p(f(C,C.constructor)))(b)})})},4483:function(i,l,a){var u=a(260),d=a(3671).right,f=u.aTypedArray,h=u.exportTypedArrayMethod;h("reduceRight",function(m){return d(f(this),m,arguments.length,arguments.length>1?arguments[1]:void 0)})},9368:function(i,l,a){var u=a(260),d=a(3671).left,f=u.aTypedArray,h=u.exportTypedArrayMethod;h("reduce",function(m){return d(f(this),m,arguments.length,arguments.length>1?arguments[1]:void 0)})},2056:function(i,l,a){var u=a(260),d=u.aTypedArray,f=u.exportTypedArrayMethod,h=Math.floor;f("reverse",function(){for(var m=this,g=d(m).length,y=h(g/2),C=0,b;C<y;)b=m[C],m[C++]=m[--g],m[g]=b;return m})},3462:function(i,l,a){var u=a(260),d=a(7466),f=a(4590),h=a(7908),p=a(7293),m=u.aTypedArray,g=u.exportTypedArrayMethod,y=p(function(){new Int8Array(1).set({})});g("set",function(b){m(this);var E=f(arguments.length>1?arguments[1]:void 0,1),v=this.length,N=h(b),w=d(N.length),x=0;if(w+E>v)throw RangeError("Wrong length");for(;x<w;)this[E+x]=N[x++]},y)},678:function(i,l,a){var u=a(260),d=a(6707),f=a(7293),h=u.aTypedArray,p=u.aTypedArrayConstructor,m=u.exportTypedArrayMethod,g=[].slice,y=f(function(){new Int8Array(1).slice()});m("slice",function(b,E){for(var v=g.call(h(this),b,E),N=d(this,this.constructor),w=0,x=v.length,B=new(p(N))(x);x>w;)B[w]=v[w++];return B},y)},7462:function(i,l,a){var u=a(260),d=a(2092).some,f=u.aTypedArray,h=u.exportTypedArrayMethod;h("some",function(m){return d(f(this),m,arguments.length>1?arguments[1]:void 0)})},3824:function(i,l,a){var u=a(260),d=u.aTypedArray,f=u.exportTypedArrayMethod,h=[].sort;f("sort",function(m){return h.call(d(this),m)})},5021:function(i,l,a){var u=a(260),d=a(7466),f=a(1400),h=a(6707),p=u.aTypedArray,m=u.exportTypedArrayMethod;m("subarray",function(y,C){var b=p(this),E=b.length,v=f(y,E);return new(h(b,b.constructor))(b.buffer,b.byteOffset+v*b.BYTES_PER_ELEMENT,d((C===void 0?E:f(C,E))-v))})},2974:function(i,l,a){var u=a(7854),d=a(260),f=a(7293),h=u.Int8Array,p=d.aTypedArray,m=d.exportTypedArrayMethod,g=[].toLocaleString,y=[].slice,C=!!h&&f(function(){g.call(new h(1))}),b=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(C?y.call(p(this)):p(this),arguments)},b)},5016:function(i,l,a){var u=a(260).exportTypedArrayMethod,d=a(7293),f=a(7854),h=f.Uint8Array,p=h&&h.prototype||{},m=[].toString,g=[].join;d(function(){m.call({})})&&(m=function(){return g.call(this)});var y=p.toString!=m;u("toString",m,y)},2472:function(i,l,a){var u=a(9843);u("Uint8",function(d){return function(h,p,m){return d(this,h,p,m)}})},4747:function(i,l,a){var u=a(7854),d=a(8324),f=a(8533),h=a(8880);for(var p in d){var m=u[p],g=m&&m.prototype;if(g&&g.forEach!==f)try{h(g,"forEach",f)}catch{g.forEach=f}}},3948:function(i,l,a){var u=a(7854),d=a(8324),f=a(6992),h=a(8880),p=a(5112),m=p("iterator"),g=p("toStringTag"),y=f.values;for(var C in d){var b=u[C],E=b&&b.prototype;if(E){if(E[m]!==y)try{h(E,m,y)}catch{E[m]=y}if(E[g]||h(E,g,C),d[C]){for(var v in f)if(E[v]!==f[v])try{h(E,v,f[v])}catch{E[v]=f[v]}}}}},1637:function(i,l,a){a(6992);var u=a(2109),d=a(5005),f=a(590),h=a(1320),p=a(2248),m=a(8003),g=a(4994),y=a(9909),C=a(5787),b=a(6656),E=a(9974),v=a(648),N=a(9670),w=a(111),x=a(30),B=a(9114),R=a(8554),U=a(1246),$=a(5112),P=d("fetch"),Y=d("Headers"),G=$("iterator"),K="URLSearchParams",H=K+"Iterator",J=y.set,z=y.getterFor(K),ee=y.getterFor(H),re=/\+/g,ue=Array(4),ge=function(M){return ue[M-1]||(ue[M-1]=RegExp("((?:%[\\da-f]{2}){"+M+"})","gi"))},Ee=function(M){try{return decodeURIComponent(M)}catch{return M}},Se=function(M){var j=M.replace(re," "),W=4;try{return decodeURIComponent(j)}catch{for(;W;)j=j.replace(ge(W--),Ee);return j}},ke=/[!'()~]|%20/g,xe={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},Ae=function(M){return xe[M]},O=function(M){return encodeURIComponent(M).replace(ke,Ae)},D=function(M,j){if(j)for(var W=j.split("&"),Z=0,X,S;Z<W.length;)X=W[Z++],X.length&&(S=X.split("="),M.push({key:Se(S.shift()),value:Se(S.join("="))}))},I=function(M){this.entries.length=0,D(this.entries,M)},L=function(M,j){if(M<j)throw TypeError("Not enough arguments")},A=g(function(j,W){J(this,{type:H,iterator:R(z(j).entries),kind:W})},"Iterator",function(){var j=ee(this),W=j.kind,Z=j.iterator.next(),X=Z.value;return Z.done||(Z.value=W==="keys"?X.key:W==="values"?X.value:[X.key,X.value]),Z}),T=function(){C(this,T,K);var j=arguments.length>0?arguments[0]:void 0,W=this,Z=[],X,S,_,V,Q,ae,pe,Te,q;if(J(W,{type:K,entries:Z,updateURL:function(){},updateSearchParams:I}),j!==void 0)if(w(j))if(X=U(j),typeof X=="function")for(S=X.call(j),_=S.next;!(V=_.call(S)).done;){if(Q=R(N(V.value)),ae=Q.next,(pe=ae.call(Q)).done||(Te=ae.call(Q)).done||!ae.call(Q).done)throw TypeError("Expected sequence with length 2");Z.push({key:pe.value+"",value:Te.value+""})}else for(q in j)b(j,q)&&Z.push({key:q,value:j[q]+""});else D(Z,typeof j=="string"?j.charAt(0)==="?"?j.slice(1):j:j+"")},k=T.prototype;p(k,{append:function(j,W){L(arguments.length,2);var Z=z(this);Z.entries.push({key:j+"",value:W+""}),Z.updateURL()},delete:function(M){L(arguments.length,1);for(var j=z(this),W=j.entries,Z=M+"",X=0;X<W.length;)W[X].key===Z?W.splice(X,1):X++;j.updateURL()},get:function(j){L(arguments.length,1);for(var W=z(this).entries,Z=j+"",X=0;X<W.length;X++)if(W[X].key===Z)return W[X].value;return null},getAll:function(j){L(arguments.length,1);for(var W=z(this).entries,Z=j+"",X=[],S=0;S<W.length;S++)W[S].key===Z&&X.push(W[S].value);return X},has:function(j){L(arguments.length,1);for(var W=z(this).entries,Z=j+"",X=0;X<W.length;)if(W[X++].key===Z)return!0;return!1},set:function(j,W){L(arguments.length,1);for(var Z=z(this),X=Z.entries,S=!1,_=j+"",V=W+"",Q=0,ae;Q<X.length;Q++)ae=X[Q],ae.key===_&&(S?X.splice(Q--,1):(S=!0,ae.value=V));S||X.push({key:_,value:V}),Z.updateURL()},sort:function(){var j=z(this),W=j.entries,Z=W.slice(),X,S,_;for(W.length=0,_=0;_<Z.length;_++){for(X=Z[_],S=0;S<_;S++)if(W[S].key>X.key){W.splice(S,0,X);break}S===_&&W.push(X)}j.updateURL()},forEach:function(j){for(var W=z(this).entries,Z=E(j,arguments.length>1?arguments[1]:void 0,3),X=0,S;X<W.length;)S=W[X++],Z(S.value,S.key,this)},keys:function(){return new A(this,"keys")},values:function(){return new A(this,"values")},entries:function(){return new A(this,"entries")}},{enumerable:!0}),h(k,G,k.entries),h(k,"toString",function(){for(var j=z(this).entries,W=[],Z=0,X;Z<j.length;)X=j[Z++],W.push(O(X.key)+"="+O(X.value));return W.join("&")},{enumerable:!0}),m(T,K),u({global:!0,forced:!f},{URLSearchParams:T}),!f&&typeof P=="function"&&typeof Y=="function"&&u({global:!0,enumerable:!0,forced:!0},{fetch:function(j){var W=[j],Z,X,S;return arguments.length>1&&(Z=arguments[1],w(Z)&&(X=Z.body,v(X)===K&&(S=Z.headers?new Y(Z.headers):new Y,S.has("content-type")||S.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),Z=x(Z,{body:B(0,String(X)),headers:B(0,S)}))),W.push(Z)),P.apply(this,W)}}),i.exports={URLSearchParams:T,getState:z}},285:function(i,l,a){a(8783);var u=a(2109),d=a(9781),f=a(590),h=a(7854),p=a(6048),m=a(1320),g=a(5787),y=a(6656),C=a(1574),b=a(8457),E=a(8710).codeAt,v=a(3197),N=a(8003),w=a(1637),x=a(9909),B=h.URL,R=w.URLSearchParams,U=w.getState,$=x.set,P=x.getterFor("URL"),Y=Math.floor,G=Math.pow,K="Invalid authority",H="Invalid scheme",J="Invalid host",z="Invalid port",ee=/[A-Za-z]/,re=/[\d+-.A-Za-z]/,ue=/\d/,ge=/^(0x|0X)/,Ee=/^[0-7]+$/,Se=/^\d+$/,ke=/^[\dA-Fa-f]+$/,xe=/[\u0000\t\u000A\u000D #%/:?@[\\]]/,Ae=/[\u0000\t\u000A\u000D #/:?@[\\]]/,O=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,D=/[\t\u000A\u000D]/g,I,L=function(F,se){var oe,le,he;if(se.charAt(0)=="["){if(se.charAt(se.length-1)!="]"||(oe=T(se.slice(1,-1)),!oe))return J;F.host=oe}else if(V(F)){if(se=v(se),xe.test(se)||(oe=A(se),oe===null))return J;F.host=oe}else{if(Ae.test(se))return J;for(oe="",le=b(se),he=0;he<le.length;he++)oe+=S(le[he],j);F.host=oe}},A=function(F){var se=F.split("."),oe,le,he,Be,Ie,Ye,tt;if(se.length&&se[se.length-1]==""&&se.pop(),oe=se.length,oe>4)return F;for(le=[],he=0;he<oe;he++){if(Be=se[he],Be=="")return F;if(Ie=10,Be.length>1&&Be.charAt(0)=="0"&&(Ie=ge.test(Be)?16:8,Be=Be.slice(Ie==8?1:2)),Be==="")Ye=0;else{if(!(Ie==10?Se:Ie==8?Ee:ke).test(Be))return F;Ye=parseInt(Be,Ie)}le.push(Ye)}for(he=0;he<oe;he++)if(Ye=le[he],he==oe-1){if(Ye>=G(256,5-oe))return null}else if(Ye>255)return null;for(tt=le.pop(),he=0;he<le.length;he++)tt+=le[he]*G(256,3-he);return tt},T=function(F){var se=[0,0,0,0,0,0,0,0],oe=0,le=null,he=0,Be,Ie,Ye,tt,it,ln,de,ft=function(){return F.charAt(he)};if(ft()==":"){if(F.charAt(1)!=":")return;he+=2,oe++,le=oe}for(;ft();){if(oe==8)return;if(ft()==":"){if(le!==null)return;he++,oe++,le=oe;continue}for(Be=Ie=0;Ie<4&&ke.test(ft());)Be=Be*16+parseInt(ft(),16),he++,Ie++;if(ft()=="."){if(Ie==0||(he-=Ie,oe>6))return;for(Ye=0;ft();){if(tt=null,Ye>0)if(ft()=="."&&Ye<4)he++;else return;if(!ue.test(ft()))return;for(;ue.test(ft());){if(it=parseInt(ft(),10),tt===null)tt=it;else{if(tt==0)return;tt=tt*10+it}if(tt>255)return;he++}se[oe]=se[oe]*256+tt,Ye++,(Ye==2||Ye==4)&&oe++}if(Ye!=4)return;break}else if(ft()==":"){if(he++,!ft())return}else if(ft())return;se[oe++]=Be}if(le!==null)for(ln=oe-le,oe=7;oe!=0&&ln>0;)de=se[oe],se[oe--]=se[le+ln-1],se[le+--ln]=de;else if(oe!=8)return;return se},k=function(F){for(var se=null,oe=1,le=null,he=0,Be=0;Be<8;Be++)F[Be]!==0?(he>oe&&(se=le,oe=he),le=null,he=0):(le===null&&(le=Be),++he);return he>oe&&(se=le,oe=he),se},M=function(F){var se,oe,le,he;if(typeof F=="number"){for(se=[],oe=0;oe<4;oe++)se.unshift(F%256),F=Y(F/256);return se.join(".")}else if(typeof F=="object"){for(se="",le=k(F),oe=0;oe<8;oe++)he&&F[oe]===0||(he&&(he=!1),le===oe?(se+=oe?":":"::",he=!0):(se+=F[oe].toString(16),oe<7&&(se+=":")));return"["+se+"]"}return F},j={},W=C({},j,{" ":1,'"':1,"<":1,">":1,"`":1}),Z=C({},W,{"#":1,"?":1,"{":1,"}":1}),X=C({},Z,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),S=function(F,se){var oe=E(F,0);return oe>32&&oe<127&&!y(se,F)?F:encodeURIComponent(F)},_={ftp:21,file:null,http:80,https:443,ws:80,wss:443},V=function(F){return y(_,F.scheme)},Q=function(F){return F.username!=""||F.password!=""},ae=function(F){return!F.host||F.cannotBeABaseURL||F.scheme=="file"},pe=function(F,se){var oe;return F.length==2&&ee.test(F.charAt(0))&&((oe=F.charAt(1))==":"||!se&&oe=="|")},Te=function(F){var se;return F.length>1&&pe(F.slice(0,2))&&(F.length==2||(se=F.charAt(2))==="/"||se==="\\"||se==="?"||se==="#")},q=function(F){var se=F.path,oe=se.length;oe&&(F.scheme!="file"||oe!=1||!pe(se[0],!0))&&se.pop()},ie=function(F){return F==="."||F.toLowerCase()==="%2e"},be=function(F){return F=F.toLowerCase(),F===".."||F==="%2e."||F===".%2e"||F==="%2e%2e"},Pe={},qe={},nt={},Mt={},te={},ye={},me={},Oe={},Re={},et={},rt={},Ot={},Lt={},gt={},Ln={},Nr={},Yt={},on={},is={},sn={},Jn={},Dn=function(F,se,oe,le){var he=oe||Pe,Be=0,Ie="",Ye=!1,tt=!1,it=!1,ln,de,ft,Xn;for(oe||(F.scheme="",F.username="",F.password="",F.host=null,F.port=null,F.path=[],F.query=null,F.fragment=null,F.cannotBeABaseURL=!1,se=se.replace(O,"")),se=se.replace(D,""),ln=b(se);Be<=ln.length;){switch(de=ln[Be],he){case Pe:if(de&&ee.test(de))Ie+=de.toLowerCase(),he=qe;else{if(oe)return H;he=nt;continue}break;case qe:if(de&&(re.test(de)||de=="+"||de=="-"||de=="."))Ie+=de.toLowerCase();else if(de==":"){if(oe&&(V(F)!=y(_,Ie)||Ie=="file"&&(Q(F)||F.port!==null)||F.scheme=="file"&&!F.host))return;if(F.scheme=Ie,oe){V(F)&&_[F.scheme]==F.port&&(F.port=null);return}Ie="",F.scheme=="file"?he=gt:V(F)&&le&&le.scheme==F.scheme?he=Mt:V(F)?he=Oe:ln[Be+1]=="/"?(he=te,Be++):(F.cannotBeABaseURL=!0,F.path.push(""),he=is)}else{if(oe)return H;Ie="",he=nt,Be=0;continue}break;case nt:if(!le||le.cannotBeABaseURL&&de!="#")return H;if(le.cannotBeABaseURL&&de=="#"){F.scheme=le.scheme,F.path=le.path.slice(),F.query=le.query,F.fragment="",F.cannotBeABaseURL=!0,he=Jn;break}he=le.scheme=="file"?gt:ye;continue;case Mt:if(de=="/"&&ln[Be+1]=="/")he=Re,Be++;else{he=ye;continue}break;case te:if(de=="/"){he=et;break}else{he=on;continue}case ye:if(F.scheme=le.scheme,de==I)F.username=le.username,F.password=le.password,F.host=le.host,F.port=le.port,F.path=le.path.slice(),F.query=le.query;else if(de=="/"||de=="\\"&&V(F))he=me;else if(de=="?")F.username=le.username,F.password=le.password,F.host=le.host,F.port=le.port,F.path=le.path.slice(),F.query="",he=sn;else if(de=="#")F.username=le.username,F.password=le.password,F.host=le.host,F.port=le.port,F.path=le.path.slice(),F.query=le.query,F.fragment="",he=Jn;else{F.username=le.username,F.password=le.password,F.host=le.host,F.port=le.port,F.path=le.path.slice(),F.path.pop(),he=on;continue}break;case me:if(V(F)&&(de=="/"||de=="\\"))he=Re;else if(de=="/")he=et;else{F.username=le.username,F.password=le.password,F.host=le.host,F.port=le.port,he=on;continue}break;case Oe:if(he=Re,de!="/"||Ie.charAt(Be+1)!="/")continue;Be++;break;case Re:if(de!="/"&&de!="\\"){he=et;continue}break;case et:if(de=="@"){Ye&&(Ie="%40"+Ie),Ye=!0,ft=b(Ie);for(var Nd=0;Nd<ft.length;Nd++){var zg=ft[Nd];if(zg==":"&&!it){it=!0;continue}var Hg=S(zg,X);it?F.password+=Hg:F.username+=Hg}Ie=""}else if(de==I||de=="/"||de=="?"||de=="#"||de=="\\"&&V(F)){if(Ye&&Ie=="")return K;Be-=b(Ie).length+1,Ie="",he=rt}else Ie+=de;break;case rt:case Ot:if(oe&&F.scheme=="file"){he=Nr;continue}else if(de==":"&&!tt){if(Ie=="")return J;if(Xn=L(F,Ie),Xn)return Xn;if(Ie="",he=Lt,oe==Ot)return}else if(de==I||de=="/"||de=="?"||de=="#"||de=="\\"&&V(F)){if(V(F)&&Ie=="")return J;if(oe&&Ie==""&&(Q(F)||F.port!==null))return;if(Xn=L(F,Ie),Xn)return Xn;if(Ie="",he=Yt,oe)return;continue}else de=="["?tt=!0:de=="]"&&(tt=!1),Ie+=de;break;case Lt:if(ue.test(de))Ie+=de;else if(de==I||de=="/"||de=="?"||de=="#"||de=="\\"&&V(F)||oe){if(Ie!=""){var Id=parseInt(Ie,10);if(Id>65535)return z;F.port=V(F)&&Id===_[F.scheme]?null:Id,Ie=""}if(oe)return;he=Yt;continue}else return z;break;case gt:if(F.scheme="file",de=="/"||de=="\\")he=Ln;else if(le&&le.scheme=="file")if(de==I)F.host=le.host,F.path=le.path.slice(),F.query=le.query;else if(de=="?")F.host=le.host,F.path=le.path.slice(),F.query="",he=sn;else if(de=="#")F.host=le.host,F.path=le.path.slice(),F.query=le.query,F.fragment="",he=Jn;else{Te(ln.slice(Be).join(""))||(F.host=le.host,F.path=le.path.slice(),q(F)),he=on;continue}else{he=on;continue}break;case Ln:if(de=="/"||de=="\\"){he=Nr;break}le&&le.scheme=="file"&&!Te(ln.slice(Be).join(""))&&(pe(le.path[0],!0)?F.path.push(le.path[0]):F.host=le.host),he=on;continue;case Nr:if(de==I||de=="/"||de=="\\"||de=="?"||de=="#"){if(!oe&&pe(Ie))he=on;else if(Ie==""){if(F.host="",oe)return;he=Yt}else{if(Xn=L(F,Ie),Xn)return Xn;if(F.host=="localhost"&&(F.host=""),oe)return;Ie="",he=Yt}continue}else Ie+=de;break;case Yt:if(V(F)){if(he=on,de!="/"&&de!="\\")continue}else if(!oe&&de=="?")F.query="",he=sn;else if(!oe&&de=="#")F.fragment="",he=Jn;else if(de!=I&&(he=on,de!="/"))continue;break;case on:if(de==I||de=="/"||de=="\\"&&V(F)||!oe&&(de=="?"||de=="#")){if(be(Ie)?(q(F),de!="/"&&!(de=="\\"&&V(F))&&F.path.push("")):ie(Ie)?de!="/"&&!(de=="\\"&&V(F))&&F.path.push(""):(F.scheme=="file"&&!F.path.length&&pe(Ie)&&(F.host&&(F.host=""),Ie=Ie.charAt(0)+":"),F.path.push(Ie)),Ie="",F.scheme=="file"&&(de==I||de=="?"||de=="#"))for(;F.path.length>1&&F.path[0]==="";)F.path.shift();de=="?"?(F.query="",he=sn):de=="#"&&(F.fragment="",he=Jn)}else Ie+=S(de,Z);break;case is:de=="?"?(F.query="",he=sn):de=="#"?(F.fragment="",he=Jn):de!=I&&(F.path[0]+=S(de,j));break;case sn:!oe&&de=="#"?(F.fragment="",he=Jn):de!=I&&(de=="'"&&V(F)?F.query+="%27":de=="#"?F.query+="%23":F.query+=S(de,j));break;case Jn:de!=I&&(F.fragment+=S(de,W));break}Be++}},co=function(se){var oe=g(this,co,"URL"),le=arguments.length>1?arguments[1]:void 0,he=String(se),Be=$(oe,{type:"URL"}),Ie,Ye;if(le!==void 0){if(le instanceof co)Ie=P(le);else if(Ye=Dn(Ie={},String(le)),Ye)throw TypeError(Ye)}if(Ye=Dn(Be,he,null,Ie),Ye)throw TypeError(Ye);var tt=Be.searchParams=new R,it=U(tt);it.updateSearchParams(Be.query),it.updateURL=function(){Be.query=String(tt)||null},d||(oe.href=yl.call(oe),oe.origin=Ig.call(oe),oe.protocol=xg.call(oe),oe.username=Mg.call(oe),oe.password=Og.call(oe),oe.host=Lg.call(oe),oe.hostname=Dg.call(oe),oe.port=Rg.call(oe),oe.pathname=Bg.call(oe),oe.search=Pg.call(oe),oe.searchParams=Fg.call(oe),oe.hash=Vg.call(oe))},kd=co.prototype,yl=function(){var F=P(this),se=F.scheme,oe=F.username,le=F.password,he=F.host,Be=F.port,Ie=F.path,Ye=F.query,tt=F.fragment,it=se+":";return he!==null?(it+="//",Q(F)&&(it+=oe+(le?":"+le:"")+"@"),it+=M(he),Be!==null&&(it+=":"+Be)):se=="file"&&(it+="//"),it+=F.cannotBeABaseURL?Ie[0]:Ie.length?"/"+Ie.join("/"):"",Ye!==null&&(it+="?"+Ye),tt!==null&&(it+="#"+tt),it},Ig=function(){var F=P(this),se=F.scheme,oe=F.port;if(se=="blob")try{return new URL(se.path[0]).origin}catch{return"null"}return se=="file"||!V(F)?"null":se+"://"+M(F.host)+(oe!==null?":"+oe:"")},xg=function(){return P(this).scheme+":"},Mg=function(){return P(this).username},Og=function(){return P(this).password},Lg=function(){var F=P(this),se=F.host,oe=F.port;return se===null?"":oe===null?M(se):M(se)+":"+oe},Dg=function(){var F=P(this).host;return F===null?"":M(F)},Rg=function(){var F=P(this).port;return F===null?"":String(F)},Bg=function(){var F=P(this),se=F.path;return F.cannotBeABaseURL?se[0]:se.length?"/"+se.join("/"):""},Pg=function(){var F=P(this).query;return F?"?"+F:""},Fg=function(){return P(this).searchParams},Vg=function(){var F=P(this).fragment;return F?"#"+F:""},an=function(F,se){return{get:F,set:se,configurable:!0,enumerable:!0}};if(d&&p(kd,{href:an(yl,function(F){var se=P(this),oe=String(F),le=Dn(se,oe);if(le)throw TypeError(le);U(se.searchParams).updateSearchParams(se.query)}),origin:an(Ig),protocol:an(xg,function(F){var se=P(this);Dn(se,String(F)+":",Pe)}),username:an(Mg,function(F){var se=P(this),oe=b(String(F));if(!ae(se)){se.username="";for(var le=0;le<oe.length;le++)se.username+=S(oe[le],X)}}),password:an(Og,function(F){var se=P(this),oe=b(String(F));if(!ae(se)){se.password="";for(var le=0;le<oe.length;le++)se.password+=S(oe[le],X)}}),host:an(Lg,function(F){var se=P(this);se.cannotBeABaseURL||Dn(se,String(F),rt)}),hostname:an(Dg,function(F){var se=P(this);se.cannotBeABaseURL||Dn(se,String(F),Ot)}),port:an(Rg,function(F){var se=P(this);ae(se)||(F=String(F),F==""?se.port=null:Dn(se,F,Lt))}),pathname:an(Bg,function(F){var se=P(this);se.cannotBeABaseURL||(se.path=[],Dn(se,F+"",Yt))}),search:an(Pg,function(F){var se=P(this);F=String(F),F==""?se.query=null:(F.charAt(0)=="?"&&(F=F.slice(1)),se.query="",Dn(se,F,sn)),U(se.searchParams).updateSearchParams(se.query)}),searchParams:an(Fg),hash:an(Vg,function(F){var se=P(this);if(F=String(F),F==""){se.fragment=null;return}F.charAt(0)=="#"&&(F=F.slice(1)),se.fragment="",Dn(se,F,Jn)})}),m(kd,"toJSON",function(){return yl.call(this)},{enumerable:!0}),m(kd,"toString",function(){return yl.call(this)},{enumerable:!0}),B){var $g=B.createObjectURL,Ug=B.revokeObjectURL;$g&&m(co,"createObjectURL",function(se){return $g.apply(B,arguments)}),Ug&&m(co,"revokeObjectURL",function(se){return Ug.apply(B,arguments)})}N(co,"URL"),u({global:!0,forced:!f,sham:!d},{URL:co})}},r={};function o(i){if(r[i])return r[i].exports;var l=r[i]={exports:{}};return t[i](l,l.exports,o),l.exports}(function(){o.d=function(i,l){for(var a in l)o.o(l,a)&&!o.o(i,a)&&Object.defineProperty(i,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(i,l){return Object.prototype.hasOwnProperty.call(i,l)}}(),function(){o.r=function(i){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})}}();var s={};return function(){o.r(s),o.d(s,{Dropzone:function(){return z},default:function(){return Ae}}),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 i(O,D){var I;if(typeof Symbol>"u"||O[Symbol.iterator]==null){if(Array.isArray(O)||(I=l(O))||D&&O&&typeof O.length=="number"){I&&(O=I);var L=0,A=function(){};return{s:A,n:function(){return L>=O.length?{done:!0}:{done:!1,value:O[L++]}},e:function(W){throw W},f:A}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
58
58
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var T=!0,k=!1,M;return{s:function(){I=O[Symbol.iterator]()},n:function(){var W=I.next();return T=W.done,W},e:function(W){k=!0,M=W},f:function(){try{!T&&I.return!=null&&I.return()}finally{if(k)throw M}}}}function l(O,D){if(O){if(typeof O=="string")return a(O,D);var I=Object.prototype.toString.call(O).slice(8,-1);if(I==="Object"&&O.constructor&&(I=O.constructor.name),I==="Map"||I==="Set")return Array.from(O);if(I==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(I))return a(O,D)}}function a(O,D){(D==null||D>O.length)&&(D=O.length);for(var I=0,L=new Array(D);I<D;I++)L[I]=O[I];return L}function u(O,D){if(!(O instanceof D))throw new TypeError("Cannot call a class as a function")}function d(O,D){for(var I=0;I<D.length;I++){var L=D[I];L.enumerable=L.enumerable||!1,L.configurable=!0,"value"in L&&(L.writable=!0),Object.defineProperty(O,L.key,L)}}function f(O,D,I){return D&&d(O.prototype,D),I&&d(O,I),O}var h=function(){function O(){u(this,O)}return f(O,[{key:"on",value:function(I,L){return this._callbacks=this._callbacks||{},this._callbacks[I]||(this._callbacks[I]=[]),this._callbacks[I].push(L),this}},{key:"emit",value:function(I){this._callbacks=this._callbacks||{};for(var L=this._callbacks[I],A=arguments.length,T=new Array(A>1?A-1:0),k=1;k<A;k++)T[k-1]=arguments[k];if(L){var M=i(L,!0),j;try{for(M.s();!(j=M.n()).done;){var W=j.value;W.apply(this,T)}}catch(Z){M.e(Z)}finally{M.f()}}return this.element&&this.element.dispatchEvent(this.makeEvent("dropzone:"+I,{args:T})),this}},{key:"makeEvent",value:function(I,L){var A={bubbles:!0,cancelable:!0,detail:L};if(typeof window.CustomEvent=="function")return new CustomEvent(I,A);var T=document.createEvent("CustomEvent");return T.initCustomEvent(I,A.bubbles,A.cancelable,A.detail),T}},{key:"off",value:function(I,L){if(!this._callbacks||arguments.length===0)return this._callbacks={},this;var A=this._callbacks[I];if(!A)return this;if(arguments.length===1)return delete this._callbacks[I],this;for(var T=0;T<A.length;T++){var k=A[T];if(k===L){A.splice(T,1);break}}return this}}]),O}(),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(O,D){var I;if(typeof Symbol>"u"||O[Symbol.iterator]==null){if(Array.isArray(O)||(I=y(O))||D&&O&&typeof O.length=="number"){I&&(O=I);var L=0,A=function(){};return{s:A,n:function(){return L>=O.length?{done:!0}:{done:!1,value:O[L++]}},e:function(W){throw W},f:A}}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 T=!0,k=!1,M;return{s:function(){I=O[Symbol.iterator]()},n:function(){var W=I.next();return T=W.done,W},e:function(W){k=!0,M=W},f:function(){try{!T&&I.return!=null&&I.return()}finally{if(k)throw M}}}}function y(O,D){if(O){if(typeof O=="string")return C(O,D);var I=Object.prototype.toString.call(O).slice(8,-1);if(I==="Object"&&O.constructor&&(I=O.constructor.name),I==="Map"||I==="Set")return Array.from(O);if(I==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(I))return C(O,D)}}function C(O,D){(D==null||D>O.length)&&(D=O.length);for(var I=0,L=new Array(D);I<D;I++)L[I]=O[I];return L}var
|
|
60
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var T=!0,k=!1,M;return{s:function(){I=O[Symbol.iterator]()},n:function(){var W=I.next();return T=W.done,W},e:function(W){k=!0,M=W},f:function(){try{!T&&I.return!=null&&I.return()}finally{if(k)throw M}}}}function b(O,D){if(O){if(typeof O=="string")return x(O,D);var I=Object.prototype.toString.call(O).slice(8,-1);if(I==="Object"&&O.constructor&&(I=O.constructor.name),I==="Map"||I==="Set")return Array.from(O);if(I==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(I))return x(O,D)}}function x(O,D){(D==null||D>O.length)&&(D=O.length);for(var I=0,L=new Array(D);I<D;I++)L[I]=O[I];return L}function B(O,D){if(!(O instanceof D))throw new TypeError("Cannot call a class as a function")}function R(O,D){for(var I=0;I<D.length;I++){var L=D[I];L.enumerable=L.enumerable||!1,L.configurable=!0,"value"in L&&(L.writable=!0),Object.defineProperty(O,L.key,L)}}function U(O,D,I){return D&&R(O.prototype,D),I&&R(O,I),O}function $(O,D){if(typeof D!="function"&&D!==null)throw new TypeError("Super expression must either be null or a function");O.prototype=Object.create(D&&D.prototype,{constructor:{value:O,writable:!0,configurable:!0}}),D&&P(O,D)}function P(O,D){return P=Object.setPrototypeOf||function(L,A){return L.__proto__=A,L},P(O,D)}function Y(O){var D=H();return function(){var L=J(O),A;if(D){var T=J(this).constructor;A=Reflect.construct(L,arguments,T)}else A=L.apply(this,arguments);return G(this,A)}}function G(O,D){return D&&(v(D)==="object"||typeof D=="function")?D:K(O)}function K(O){if(O===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return O}function H(){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 J(O){return J=Object.setPrototypeOf?Object.getPrototypeOf:function(I){return I.__proto__||Object.getPrototypeOf(I)},J(O)}var z=function(O){$(I,O);var D=Y(I);function I(L,A){var T;B(this,I),T=D.call(this);var k,M;if(T.element=L,T.version=I.version,T.clickableElements=[],T.listeners=[],T.files=[],typeof T.element=="string"&&(T.element=document.querySelector(T.element)),!T.element||T.element.nodeType==null)throw new Error("Invalid dropzone element.");if(T.element.dropzone)throw new Error("Dropzone already attached.");I.instances.push(K(T)),T.element.dropzone=K(T);var j=(M=I.optionsForElement(T.element))!=null?M:{};if(T.options=I.extend({},E,j,A??{}),T.options.previewTemplate=T.options.previewTemplate.replace(/\n*/g,""),T.options.forceFallback||!I.isBrowserSupported())return G(T,T.options.fallback.call(K(T)));if(T.options.url==null&&(T.options.url=T.element.getAttribute("action")),!T.options.url)throw new Error("No URL provided.");if(T.options.acceptedFiles&&T.options.acceptedMimeTypes)throw new Error("You can't provide both 'acceptedFiles' and 'acceptedMimeTypes'. 'acceptedMimeTypes' is deprecated.");if(T.options.uploadMultiple&&T.options.chunking)throw new Error("You cannot set both: uploadMultiple and chunking.");return T.options.acceptedMimeTypes&&(T.options.acceptedFiles=T.options.acceptedMimeTypes,delete T.options.acceptedMimeTypes),T.options.renameFilename!=null&&(T.options.renameFile=function(W){return T.options.renameFilename.call(K(T),W.name,W)}),typeof T.options.method=="string"&&(T.options.method=T.options.method.toUpperCase()),(k=T.getExistingFallback())&&k.parentNode&&k.parentNode.removeChild(k),T.options.previewsContainer!==!1&&(T.options.previewsContainer?T.previewsContainer=I.getElement(T.options.previewsContainer,"previewsContainer"):T.previewsContainer=T.element),T.options.clickable&&(T.options.clickable===!0?T.clickableElements=[T.element]:T.clickableElements=I.getElements(T.options.clickable,"clickable")),T.init(),T}return U(I,[{key:"getAcceptedFiles",value:function(){return this.files.filter(function(A){return A.accepted}).map(function(A){return A})}},{key:"getRejectedFiles",value:function(){return this.files.filter(function(A){return!A.accepted}).map(function(A){return A})}},{key:"getFilesWithStatus",value:function(A){return this.files.filter(function(T){return T.status===A}).map(function(T){return T})}},{key:"getQueuedFiles",value:function(){return this.getFilesWithStatus(I.QUEUED)}},{key:"getUploadingFiles",value:function(){return this.getFilesWithStatus(I.UPLOADING)}},{key:"getAddedFiles",value:function(){return this.getFilesWithStatus(I.ADDED)}},{key:"getActiveFiles",value:function(){return this.files.filter(function(A){return A.status===I.UPLOADING||A.status===I.QUEUED}).map(function(A){return A})}},{key:"init",value:function(){var A=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(I.createElement('<div class="dz-default dz-message"><button class="dz-button" type="button">'.concat(this.options.dictDefaultMessage,"</button></div>"))),this.clickableElements.length){var T=function X(){A.hiddenFileInput&&A.hiddenFileInput.parentNode.removeChild(A.hiddenFileInput),A.hiddenFileInput=document.createElement("input"),A.hiddenFileInput.setAttribute("type","file"),(A.options.maxFiles===null||A.options.maxFiles>1)&&A.hiddenFileInput.setAttribute("multiple","multiple"),A.hiddenFileInput.className="dz-hidden-input",A.options.acceptedFiles!==null&&A.hiddenFileInput.setAttribute("accept",A.options.acceptedFiles),A.options.capture!==null&&A.hiddenFileInput.setAttribute("capture",A.options.capture),A.hiddenFileInput.setAttribute("tabindex","-1"),A.hiddenFileInput.style.visibility="hidden",A.hiddenFileInput.style.position="absolute",A.hiddenFileInput.style.top="0",A.hiddenFileInput.style.left="0",A.hiddenFileInput.style.height="0",A.hiddenFileInput.style.width="0",I.getElement(A.options.hiddenInputContainer,"hiddenInputContainer").appendChild(A.hiddenFileInput),A.hiddenFileInput.addEventListener("change",function(){var S=A.hiddenFileInput.files;if(S.length){var _=N(S,!0),V;try{for(_.s();!(V=_.n()).done;){var Q=V.value;A.addFile(Q)}}catch(ae){_.e(ae)}finally{_.f()}}A.emit("addedfiles",S),X()})};T()}this.URL=window.URL!==null?window.URL:window.webkitURL;var k=N(this.events,!0),M;try{for(k.s();!(M=k.n()).done;){var j=M.value;this.on(j,this.options[j])}}catch(X){k.e(X)}finally{k.f()}this.on("uploadprogress",function(){return A.updateTotalUploadProgress()}),this.on("removedfile",function(){return A.updateTotalUploadProgress()}),this.on("canceled",function(X){return A.emit("complete",X)}),this.on("complete",function(X){if(A.getAddedFiles().length===0&&A.getUploadingFiles().length===0&&A.getQueuedFiles().length===0)return setTimeout(function(){return A.emit("queuecomplete")},0)});var W=function(S){if(S.dataTransfer.types){for(var _=0;_<S.dataTransfer.types.length;_++)if(S.dataTransfer.types[_]==="Files")return!0}return!1},Z=function(S){if(W(S))return S.stopPropagation(),S.preventDefault?S.preventDefault():S.returnValue=!1};return this.listeners=[{element:this.element,events:{dragstart:function(S){return A.emit("dragstart",S)},dragenter:function(S){return Z(S),A.emit("dragenter",S)},dragover:function(S){var _;try{_=S.dataTransfer.effectAllowed}catch{}return S.dataTransfer.dropEffect=_==="move"||_==="linkMove"?"move":"copy",Z(S),A.emit("dragover",S)},dragleave:function(S){return A.emit("dragleave",S)},drop:function(S){return Z(S),A.drop(S)},dragend:function(S){return A.emit("dragend",S)}}}],this.clickableElements.forEach(function(X){return A.listeners.push({element:X,events:{click:function(_){return(X!==A.element||_.target===A.element||I.elementInside(_.target,A.element.querySelector(".dz-message")))&&A.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,I.instances.splice(I.instances.indexOf(this),1)}},{key:"updateTotalUploadProgress",value:function(){var A,T=0,k=0,M=this.getActiveFiles();if(M.length){var j=N(this.getActiveFiles(),!0),W;try{for(j.s();!(W=j.n()).done;){var Z=W.value;T+=Z.upload.bytesSent,k+=Z.upload.total}}catch(X){j.e(X)}finally{j.f()}A=100*T/k}else A=100;return this.emit("totaluploadprogress",A,k,T)}},{key:"_getParamName",value:function(A){return typeof this.options.paramName=="function"?this.options.paramName(A):"".concat(this.options.paramName).concat(this.options.uploadMultiple?"[".concat(A,"]"):"")}},{key:"_renameFile",value:function(A){return typeof this.options.renameFile!="function"?A.name:this.options.renameFile(A)}},{key:"getFallbackForm",value:function(){var A,T;if(A=this.getExistingFallback())return A;var k='<div class="dz-fallback">';this.options.dictFallbackText&&(k+="<p>".concat(this.options.dictFallbackText,"</p>")),k+='<input type="file" name="'.concat(this._getParamName(0),'" ').concat(this.options.uploadMultiple?'multiple="multiple"':void 0,' /><input type="submit" value="Upload!"></div>');var M=I.createElement(k);return this.element.tagName!=="FORM"?(T=I.createElement('<form action="'.concat(this.options.url,'" enctype="multipart/form-data" method="').concat(this.options.method,'"></form>')),T.appendChild(M)):(this.element.setAttribute("enctype","multipart/form-data"),this.element.setAttribute("method",this.options.method)),T??M}},{key:"getExistingFallback",value:function(){for(var A=function(Z){var X=N(Z,!0),S;try{for(X.s();!(S=X.n()).done;){var _=S.value;if(/(^| )fallback($| )/.test(_.className))return _}}catch(V){X.e(V)}finally{X.f()}},T=0,k=["div","form"];T<k.length;T++){var M=k[T],j;if(j=A(this.element.getElementsByTagName(M)))return j}}},{key:"setupEventListeners",value:function(){return this.listeners.map(function(A){return function(){var T=[];for(var k in A.events){var M=A.events[k];T.push(A.element.addEventListener(k,M,!1))}return T}()})}},{key:"removeEventListeners",value:function(){return this.listeners.map(function(A){return function(){var T=[];for(var k in A.events){var M=A.events[k];T.push(A.element.removeEventListener(k,M,!1))}return T}()})}},{key:"disable",value:function(){var A=this;return this.clickableElements.forEach(function(T){return T.classList.remove("dz-clickable")}),this.removeEventListeners(),this.disabled=!0,this.files.map(function(T){return A.cancelUpload(T)})}},{key:"enable",value:function(){return delete this.disabled,this.clickableElements.forEach(function(A){return A.classList.add("dz-clickable")}),this.setupEventListeners()}},{key:"filesize",value:function(A){var T=0,k="b";if(A>0){for(var M=["tb","gb","mb","kb","b"],j=0;j<M.length;j++){var W=M[j],Z=Math.pow(this.options.filesizeBase,4-j)/10;if(A>=Z){T=A/Math.pow(this.options.filesizeBase,4-j),k=W;break}}T=Math.round(10*T)/10}return"<strong>".concat(T,"</strong> ").concat(this.options.dictFileSizeUnits[k])}},{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(A){if(A.dataTransfer){this.emit("drop",A);for(var T=[],k=0;k<A.dataTransfer.files.length;k++)T[k]=A.dataTransfer.files[k];if(T.length){var M=A.dataTransfer.items;M&&M.length&&M[0].webkitGetAsEntry!=null?this._addFilesFromItems(M):this.handleFiles(T)}this.emit("addedfiles",T)}}},{key:"paste",value:function(A){if(ke(A!=null?A.clipboardData:void 0,function(k){return k.items})!=null){this.emit("paste",A);var T=A.clipboardData.items;if(T.length)return this._addFilesFromItems(T)}}},{key:"handleFiles",value:function(A){var T=N(A,!0),k;try{for(T.s();!(k=T.n()).done;){var M=k.value;this.addFile(M)}}catch(j){T.e(j)}finally{T.f()}}},{key:"_addFilesFromItems",value:function(A){var T=this;return function(){var k=[],M=N(A,!0),j;try{for(M.s();!(j=M.n()).done;){var W=j.value,Z;W.webkitGetAsEntry!=null&&(Z=W.webkitGetAsEntry())?Z.isFile?k.push(T.addFile(W.getAsFile())):Z.isDirectory?k.push(T._addFilesFromDirectory(Z,Z.name)):k.push(void 0):W.getAsFile!=null&&(W.kind==null||W.kind==="file")?k.push(T.addFile(W.getAsFile())):k.push(void 0)}}catch(X){M.e(X)}finally{M.f()}return k}()}},{key:"_addFilesFromDirectory",value:function(A,T){var k=this,M=A.createReader(),j=function(X){return xe(console,"log",function(S){return S.log(X)})},W=function Z(){return M.readEntries(function(X){if(X.length>0){var S=N(X,!0),_;try{for(S.s();!(_=S.n()).done;){var V=_.value;V.isFile?V.file(function(Q){if(!(k.options.ignoreHiddenFiles&&Q.name.substring(0,1)==="."))return Q.fullPath="".concat(T,"/").concat(Q.name),k.addFile(Q)}):V.isDirectory&&k._addFilesFromDirectory(V,"".concat(T,"/").concat(V.name))}}catch(Q){S.e(Q)}finally{S.f()}Z()}return null},j)};return W()}},{key:"accept",value:function(A,T){this.options.maxFilesize&&A.size>this.options.maxFilesize*1024*1024?T(this.options.dictFileTooBig.replace("{{filesize}}",Math.round(A.size/1024/10.24)/100).replace("{{maxFilesize}}",this.options.maxFilesize)):I.isValidFile(A,this.options.acceptedFiles)?this.options.maxFiles!=null&&this.getAcceptedFiles().length>=this.options.maxFiles?(T(this.options.dictMaxFilesExceeded.replace("{{maxFiles}}",this.options.maxFiles)),this.emit("maxfilesexceeded",A)):this.options.accept.call(this,A,T):T(this.options.dictInvalidFileType)}},{key:"addFile",value:function(A){var T=this;A.upload={uuid:I.uuidv4(),progress:0,total:A.size,bytesSent:0,filename:this._renameFile(A)},this.files.push(A),A.status=I.ADDED,this.emit("addedfile",A),this._enqueueThumbnail(A),this.accept(A,function(k){k?(A.accepted=!1,T._errorProcessing([A],k)):(A.accepted=!0,T.options.autoQueue&&T.enqueueFile(A)),T._updateMaxFilesReachedClass()})}},{key:"enqueueFiles",value:function(A){var T=N(A,!0),k;try{for(T.s();!(k=T.n()).done;){var M=k.value;this.enqueueFile(M)}}catch(j){T.e(j)}finally{T.f()}return null}},{key:"enqueueFile",value:function(A){var T=this;if(A.status===I.ADDED&&A.accepted===!0){if(A.status=I.QUEUED,this.options.autoProcessQueue)return setTimeout(function(){return T.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(A){var T=this;if(this.options.createImageThumbnails&&A.type.match(/image.*/)&&A.size<=this.options.maxThumbnailFilesize*1024*1024)return this._thumbnailQueue.push(A),setTimeout(function(){return T._processThumbnailQueue()},0)}},{key:"_processThumbnailQueue",value:function(){var A=this;if(!(this._processingThumbnail||this._thumbnailQueue.length===0)){this._processingThumbnail=!0;var T=this._thumbnailQueue.shift();return this.createThumbnail(T,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,!0,function(k){return A.emit("thumbnail",T,k),A._processingThumbnail=!1,A._processThumbnailQueue()})}}},{key:"removeFile",value:function(A){if(A.status===I.UPLOADING&&this.cancelUpload(A),this.files=ee(this.files,A),this.emit("removedfile",A),this.files.length===0)return this.emit("reset")}},{key:"removeAllFiles",value:function(A){A==null&&(A=!1);var T=N(this.files.slice(),!0),k;try{for(T.s();!(k=T.n()).done;){var M=k.value;(M.status!==I.UPLOADING||A)&&this.removeFile(M)}}catch(j){T.e(j)}finally{T.f()}return null}},{key:"resizeImage",value:function(A,T,k,M,j){var W=this;return this.createThumbnail(A,T,k,M,!0,function(Z,X){if(X==null)return j(A);var S=W.options.resizeMimeType;S==null&&(S=A.type);var _=X.toDataURL(S,W.options.resizeQuality);return(S==="image/jpeg"||S==="image/jpg")&&(_=Ee.restore(A.dataURL,_)),j(I.dataURItoBlob(_))})}},{key:"createThumbnail",value:function(A,T,k,M,j,W){var Z=this,X=new FileReader;X.onload=function(){if(A.dataURL=X.result,A.type==="image/svg+xml"){W!=null&&W(X.result);return}Z.createThumbnailFromUrl(A,T,k,M,j,W)},X.readAsDataURL(A)}},{key:"displayExistingFile",value:function(A,T,k,M){var j=this,W=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0;if(this.emit("addedfile",A),this.emit("complete",A),!W)this.emit("thumbnail",A,T),k&&k();else{var Z=function(S){j.emit("thumbnail",A,S),k&&k()};A.dataURL=T,this.createThumbnailFromUrl(A,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,this.options.fixOrientation,Z,M)}}},{key:"createThumbnailFromUrl",value:function(A,T,k,M,j,W,Z){var X=this,S=document.createElement("img");return Z&&(S.crossOrigin=Z),j=getComputedStyle(document.body).imageOrientation=="from-image"?!1:j,S.onload=function(){var _=function(Q){return Q(1)};return typeof EXIF<"u"&&EXIF!==null&&j&&(_=function(Q){return EXIF.getData(S,function(){return Q(EXIF.getTag(this,"Orientation"))})}),_(function(V){A.width=S.width,A.height=S.height;var Q=X.options.resize.call(X,A,T,k,M),ae=document.createElement("canvas"),pe=ae.getContext("2d");switch(ae.width=Q.trgWidth,ae.height=Q.trgHeight,V>4&&(ae.width=Q.trgHeight,ae.height=Q.trgWidth),V){case 2:pe.translate(ae.width,0),pe.scale(-1,1);break;case 3:pe.translate(ae.width,ae.height),pe.rotate(Math.PI);break;case 4:pe.translate(0,ae.height),pe.scale(1,-1);break;case 5:pe.rotate(.5*Math.PI),pe.scale(1,-1);break;case 6:pe.rotate(.5*Math.PI),pe.translate(0,-ae.width);break;case 7:pe.rotate(.5*Math.PI),pe.translate(ae.height,-ae.width),pe.scale(-1,1);break;case 8:pe.rotate(-.5*Math.PI),pe.translate(-ae.height,0);break}ge(pe,S,Q.srcX!=null?Q.srcX:0,Q.srcY!=null?Q.srcY:0,Q.srcWidth,Q.srcHeight,Q.trgX!=null?Q.trgX:0,Q.trgY!=null?Q.trgY:0,Q.trgWidth,Q.trgHeight);var Te=ae.toDataURL("image/png");if(W!=null)return W(Te,ae)})},W!=null&&(S.onerror=W),S.src=A.dataURL}},{key:"processQueue",value:function(){var A=this.options.parallelUploads,T=this.getUploadingFiles().length,k=T;if(!(T>=A)){var M=this.getQueuedFiles();if(M.length>0){if(this.options.uploadMultiple)return this.processFiles(M.slice(0,A-T));for(;k<A;){if(!M.length)return;this.processFile(M.shift()),k++}}}}},{key:"processFile",value:function(A){return this.processFiles([A])}},{key:"processFiles",value:function(A){var T=N(A,!0),k;try{for(T.s();!(k=T.n()).done;){var M=k.value;M.processing=!0,M.status=I.UPLOADING,this.emit("processing",M)}}catch(j){T.e(j)}finally{T.f()}return this.options.uploadMultiple&&this.emit("processingmultiple",A),this.uploadFiles(A)}},{key:"_getFilesWithXhr",value:function(A){return this.files.filter(function(T){return T.xhr===A}).map(function(T){return T})}},{key:"cancelUpload",value:function(A){if(A.status===I.UPLOADING){var T=this._getFilesWithXhr(A.xhr),k=N(T,!0),M;try{for(k.s();!(M=k.n()).done;){var j=M.value;j.status=I.CANCELED}}catch(S){k.e(S)}finally{k.f()}typeof A.xhr<"u"&&A.xhr.abort();var W=N(T,!0),Z;try{for(W.s();!(Z=W.n()).done;){var X=Z.value;this.emit("canceled",X)}}catch(S){W.e(S)}finally{W.f()}this.options.uploadMultiple&&this.emit("canceledmultiple",T)}else(A.status===I.ADDED||A.status===I.QUEUED)&&(A.status=I.CANCELED,this.emit("canceled",A),this.options.uploadMultiple&&this.emit("canceledmultiple",[A]));if(this.options.autoProcessQueue)return this.processQueue()}},{key:"resolveOption",value:function(A){if(typeof A=="function"){for(var T=arguments.length,k=new Array(T>1?T-1:0),M=1;M<T;M++)k[M-1]=arguments[M];return A.apply(this,k)}return A}},{key:"uploadFile",value:function(A){return this.uploadFiles([A])}},{key:"uploadFiles",value:function(A){var T=this;this._transformFiles(A,function(k){if(T.options.chunking){var M=k[0];A[0].upload.chunked=T.options.chunking&&(T.options.forceChunking||M.size>T.options.chunkSize),A[0].upload.totalChunkCount=Math.ceil(M.size/T.options.chunkSize)}if(A[0].upload.chunked){var j=A[0],W=k[0];j.upload.chunks=[];var Z=function(){for(var Q=0;j.upload.chunks[Q]!==void 0;)Q++;if(!(Q>=j.upload.totalChunkCount)){var ae=Q*T.options.chunkSize,pe=Math.min(ae+T.options.chunkSize,W.size),Te={name:T._getParamName(0),data:W.webkitSlice?W.webkitSlice(ae,pe):W.slice(ae,pe),filename:j.upload.filename,chunkIndex:Q};j.upload.chunks[Q]={file:j,index:Q,dataBlock:Te,status:I.UPLOADING,progress:0,retries:0},T._uploadData(A,[Te])}};if(j.upload.finishedChunkUpload=function(V,Q){var ae=!0;V.status=I.SUCCESS,V.dataBlock=null,V.xhr=null;for(var pe=0;pe<j.upload.totalChunkCount;pe++){if(j.upload.chunks[pe]===void 0)return Z();j.upload.chunks[pe].status!==I.SUCCESS&&(ae=!1)}ae&&T.options.chunksUploaded(j,function(){T._finished(A,Q,null)})},T.options.parallelChunkUploads)for(var X=0;X<j.upload.totalChunkCount;X++)Z();else Z()}else{for(var S=[],_=0;_<A.length;_++)S[_]={name:T._getParamName(_),data:k[_],filename:A[_].upload.filename};T._uploadData(A,S)}})}},{key:"_getChunk",value:function(A,T){for(var k=0;k<A.upload.totalChunkCount;k++)if(A.upload.chunks[k]!==void 0&&A.upload.chunks[k].xhr===T)return A.upload.chunks[k]}},{key:"_uploadData",value:function(A,T){var k=this,M=new XMLHttpRequest,j=N(A,!0),W;try{for(j.s();!(W=j.n()).done;){var Z=W.value;Z.xhr=M}}catch(me){j.e(me)}finally{j.f()}A[0].upload.chunked&&(A[0].upload.chunks[T[0].chunkIndex].xhr=M);var X=this.resolveOption(this.options.method,A),S=this.resolveOption(this.options.url,A);M.open(X,S,!0);var _=this.resolveOption(this.options.timeout,A);_&&(M.timeout=this.resolveOption(this.options.timeout,A)),M.withCredentials=!!this.options.withCredentials,M.onload=function(me){k._finishedUploading(A,M,me)},M.ontimeout=function(){k._handleUploadError(A,M,"Request timedout after ".concat(k.options.timeout/1e3," seconds"))},M.onerror=function(){k._handleUploadError(A,M)};var V=M.upload!=null?M.upload:M;V.onprogress=function(me){return k._updateFilesUploadProgress(A,M,me)};var Q={Accept:"application/json","Cache-Control":"no-cache","X-Requested-With":"XMLHttpRequest"};this.options.headers&&I.extend(Q,this.options.headers);for(var ae in Q){var pe=Q[ae];pe&&M.setRequestHeader(ae,pe)}var Te=new FormData;if(this.options.params){var q=this.options.params;typeof q=="function"&&(q=q.call(this,A,M,A[0].upload.chunked?this._getChunk(A[0],M):null));for(var ie in q){var be=q[ie];if(Array.isArray(be))for(var Pe=0;Pe<be.length;Pe++)Te.append(ie,be[Pe]);else Te.append(ie,be)}}var qe=N(A,!0),nt;try{for(qe.s();!(nt=qe.n()).done;){var Mt=nt.value;this.emit("sending",Mt,M,Te)}}catch(me){qe.e(me)}finally{qe.f()}this.options.uploadMultiple&&this.emit("sendingmultiple",A,M,Te),this._addFormElementData(Te);for(var te=0;te<T.length;te++){var ye=T[te];Te.append(ye.name,ye.data,ye.filename)}this.submitRequest(M,Te,A)}},{key:"_transformFiles",value:function(A,T){for(var k=this,M=[],j=0,W=function(S){k.options.transformFile.call(k,A[S],function(_){M[S]=_,++j===A.length&&T(M)})},Z=0;Z<A.length;Z++)W(Z)}},{key:"_addFormElementData",value:function(A){if(this.element.tagName==="FORM"){var T=N(this.element.querySelectorAll("input, textarea, select, button"),!0),k;try{for(T.s();!(k=T.n()).done;){var M=k.value,j=M.getAttribute("name"),W=M.getAttribute("type");if(W&&(W=W.toLowerCase()),!(typeof j>"u"||j===null))if(M.tagName==="SELECT"&&M.hasAttribute("multiple")){var Z=N(M.options,!0),X;try{for(Z.s();!(X=Z.n()).done;){var S=X.value;S.selected&&A.append(j,S.value)}}catch(_){Z.e(_)}finally{Z.f()}}else(!W||W!=="checkbox"&&W!=="radio"||M.checked)&&A.append(j,M.value)}}catch(_){T.e(_)}finally{T.f()}}}},{key:"_updateFilesUploadProgress",value:function(A,T,k){if(A[0].upload.chunked){var Z=A[0],X=this._getChunk(Z,T);k?(X.progress=100*k.loaded/k.total,X.total=k.total,X.bytesSent=k.loaded):(X.progress=100,X.bytesSent=X.total),Z.upload.progress=0,Z.upload.total=0,Z.upload.bytesSent=0;for(var S=0;S<Z.upload.totalChunkCount;S++)Z.upload.chunks[S]&&typeof Z.upload.chunks[S].progress<"u"&&(Z.upload.progress+=Z.upload.chunks[S].progress,Z.upload.total+=Z.upload.chunks[S].total,Z.upload.bytesSent+=Z.upload.chunks[S].bytesSent);Z.upload.progress=Z.upload.progress/Z.upload.totalChunkCount,this.emit("uploadprogress",Z,Z.upload.progress,Z.upload.bytesSent)}else{var M=N(A,!0),j;try{for(M.s();!(j=M.n()).done;){var W=j.value;W.upload.total&&W.upload.bytesSent&&W.upload.bytesSent==W.upload.total||(k?(W.upload.progress=100*k.loaded/k.total,W.upload.total=k.total,W.upload.bytesSent=k.loaded):(W.upload.progress=100,W.upload.bytesSent=W.upload.total),this.emit("uploadprogress",W,W.upload.progress,W.upload.bytesSent))}}catch(_){M.e(_)}finally{M.f()}}}},{key:"_finishedUploading",value:function(A,T,k){var M;if(A[0].status!==I.CANCELED&&T.readyState===4){if(T.responseType!=="arraybuffer"&&T.responseType!=="blob"&&(M=T.responseText,T.getResponseHeader("content-type")&&~T.getResponseHeader("content-type").indexOf("application/json")))try{M=JSON.parse(M)}catch(j){k=j,M="Invalid JSON response from server."}this._updateFilesUploadProgress(A,T),200<=T.status&&T.status<300?A[0].upload.chunked?A[0].upload.finishedChunkUpload(this._getChunk(A[0],T),M):this._finished(A,M,k):this._handleUploadError(A,T,M)}}},{key:"_handleUploadError",value:function(A,T,k){if(A[0].status!==I.CANCELED){if(A[0].upload.chunked&&this.options.retryChunks){var M=this._getChunk(A[0],T);if(M.retries++<this.options.retryChunksLimit){this._uploadData(A,[M.dataBlock]);return}else console.warn("Retried this chunk too often. Giving up.")}this._errorProcessing(A,k||this.options.dictResponseError.replace("{{statusCode}}",T.status),T)}}},{key:"submitRequest",value:function(A,T,k){if(A.readyState!=1){console.warn("Cannot send this request because the XMLHttpRequest.readyState is not OPENED.");return}A.send(T)}},{key:"_finished",value:function(A,T,k){var M=N(A,!0),j;try{for(M.s();!(j=M.n()).done;){var W=j.value;W.status=I.SUCCESS,this.emit("success",W,T,k),this.emit("complete",W)}}catch(Z){M.e(Z)}finally{M.f()}if(this.options.uploadMultiple&&(this.emit("successmultiple",A,T,k),this.emit("completemultiple",A)),this.options.autoProcessQueue)return this.processQueue()}},{key:"_errorProcessing",value:function(A,T,k){var M=N(A,!0),j;try{for(M.s();!(j=M.n()).done;){var W=j.value;W.status=I.ERROR,this.emit("error",W,T,k),this.emit("complete",W)}}catch(Z){M.e(Z)}finally{M.f()}if(this.options.uploadMultiple&&(this.emit("errormultiple",A,T,k),this.emit("completemultiple",A)),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(A){for(var T=arguments.length,k=new Array(T>1?T-1:0),M=1;M<T;M++)k[M-1]=arguments[M];for(var j=0,W=k;j<W.length;j++){var Z=W[j];for(var X in Z){var S=Z[X];A[X]=S}}return A}},{key:"uuidv4",value:function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(A){var T=Math.random()*16|0,k=A==="x"?T:T&3|8;return k.toString(16)})}}]),I}(h);z.initClass(),z.version="5.9.3",z.options={},z.optionsForElement=function(O){if(O.getAttribute("id"))return z.options[re(O.getAttribute("id"))]},z.instances=[],z.forElement=function(O){if(typeof O=="string"&&(O=document.querySelector(O)),(O!=null?O.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 O.dropzone},z.autoDiscover=!0,z.discover=function(){var O;if(document.querySelectorAll)O=document.querySelectorAll(".dropzone");else{O=[];var D=function(L){return function(){var A=[],T=N(L,!0),k;try{for(T.s();!(k=T.n()).done;){var M=k.value;/(^| )dropzone($| )/.test(M.className)?A.push(O.push(M)):A.push(void 0)}}catch(j){T.e(j)}finally{T.f()}return A}()};D(document.getElementsByTagName("div")),D(document.getElementsByTagName("form"))}return function(){var I=[],L=N(O,!0),A;try{for(L.s();!(A=L.n()).done;){var T=A.value;z.optionsForElement(T)!==!1?I.push(new z(T)):I.push(void 0)}}catch(k){L.e(k)}finally{L.f()}return I}()},z.blockedBrowsers=[/opera.*(Macintosh|Windows Phone).*version\/12/i],z.isBrowserSupported=function(){var O=!0;if(window.File&&window.FileReader&&window.FileList&&window.Blob&&window.FormData&&document.querySelector)if(!("classList"in document.createElement("a")))O=!1;else{z.blacklistedBrowsers!==void 0&&(z.blockedBrowsers=z.blacklistedBrowsers);var D=N(z.blockedBrowsers,!0),I;try{for(D.s();!(I=D.n()).done;){var L=I.value;if(L.test(navigator.userAgent)){O=!1;continue}}}catch(A){D.e(A)}finally{D.f()}}else O=!1;return O},z.dataURItoBlob=function(O){for(var D=atob(O.split(",")[1]),I=O.split(",")[0].split(":")[1].split(";")[0],L=new ArrayBuffer(D.length),A=new Uint8Array(L),T=0,k=D.length,M=0<=k;M?T<=k:T>=k;M?T++:T--)A[T]=D.charCodeAt(T);return new Blob([L],{type:I})};var ee=function(D,I){return D.filter(function(L){return L!==I}).map(function(L){return L})},re=function(D){return D.replace(/[\-_](\w)/g,function(I){return I.charAt(1).toUpperCase()})};z.createElement=function(O){var D=document.createElement("div");return D.innerHTML=O,D.childNodes[0]},z.elementInside=function(O,D){if(O===D)return!0;for(;O=O.parentNode;)if(O===D)return!0;return!1},z.getElement=function(O,D){var I;if(typeof O=="string"?I=document.querySelector(O):O.nodeType!=null&&(I=O),I==null)throw new Error("Invalid `".concat(D,"` option provided. Please provide a CSS selector or a plain HTML element."));return I},z.getElements=function(O,D){var I,L;if(O instanceof Array){L=[];try{var A=N(O,!0),T;try{for(A.s();!(T=A.n()).done;)I=T.value,L.push(this.getElement(I,D))}catch(j){A.e(j)}finally{A.f()}}catch{L=null}}else if(typeof O=="string"){L=[];var k=N(document.querySelectorAll(O),!0),M;try{for(k.s();!(M=k.n()).done;)I=M.value,L.push(I)}catch(j){k.e(j)}finally{k.f()}}else O.nodeType!=null&&(L=[O]);if(L==null||!L.length)throw new Error("Invalid `".concat(D,"` option provided. Please provide a CSS selector, a plain HTML element or a list of those."));return L},z.confirm=function(O,D,I){if(window.confirm(O))return D();if(I!=null)return I()},z.isValidFile=function(O,D){if(!D)return!0;D=D.split(",");var I=O.type,L=I.replace(/\/.*$/,""),A=N(D,!0),T;try{for(A.s();!(T=A.n()).done;){var k=T.value;if(k=k.trim(),k.charAt(0)==="."){if(O.name.toLowerCase().indexOf(k.toLowerCase(),O.name.length-k.length)!==-1)return!0}else if(/\/\*$/.test(k)){if(L===k.replace(/\/.*$/,""))return!0}else if(I===k)return!0}}catch(M){A.e(M)}finally{A.f()}return!1},typeof jQuery<"u"&&jQuery!==null&&(jQuery.fn.dropzone=function(O){return this.each(function(){return new z(this,O)})}),z.ADDED="added",z.QUEUED="queued",z.ACCEPTED=z.QUEUED,z.UPLOADING="uploading",z.PROCESSING=z.UPLOADING,z.CANCELED="canceled",z.ERROR="error",z.SUCCESS="success";var ue=function(D){D.naturalWidth;var I=D.naturalHeight,L=document.createElement("canvas");L.width=1,L.height=I;var A=L.getContext("2d");A.drawImage(D,0,0);for(var T=A.getImageData(1,0,1,I),k=T.data,M=0,j=I,W=I;W>M;){var Z=k[(W-1)*4+3];Z===0?j=W:M=W,W=j+M>>1}var X=W/I;return X===0?1:X},ge=function(D,I,L,A,T,k,M,j,W,Z){var X=ue(I);return D.drawImage(I,L,A,T,k,M,j,W,Z/X)},Ee=function(){function O(){B(this,O)}return U(O,null,[{key:"initClass",value:function(){this.KEY_STR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}},{key:"encode64",value:function(I){for(var L="",A=void 0,T=void 0,k="",M=void 0,j=void 0,W=void 0,Z="",X=0;A=I[X++],T=I[X++],k=I[X++],M=A>>2,j=(A&3)<<4|T>>4,W=(T&15)<<2|k>>6,Z=k&63,isNaN(T)?W=Z=64:isNaN(k)&&(Z=64),L=L+this.KEY_STR.charAt(M)+this.KEY_STR.charAt(j)+this.KEY_STR.charAt(W)+this.KEY_STR.charAt(Z),A=T=k="",M=j=W=Z="",X<I.length;);return L}},{key:"restore",value:function(I,L){if(!I.match("data:image/jpeg;base64,"))return L;var A=this.decode64(I.replace("data:image/jpeg;base64,","")),T=this.slice2Segments(A),k=this.exifManipulation(L,T);return"data:image/jpeg;base64,".concat(this.encode64(k))}},{key:"exifManipulation",value:function(I,L){var A=this.getExifArray(L),T=this.insertExif(I,A),k=new Uint8Array(T);return k}},{key:"getExifArray",value:function(I){for(var L=void 0,A=0;A<I.length;){if(L=I[A],L[0]===255&L[1]===225)return L;A++}return[]}},{key:"insertExif",value:function(I,L){var A=I.replace("data:image/jpeg;base64,",""),T=this.decode64(A),k=T.indexOf(255,3),M=T.slice(0,k),j=T.slice(k),W=M;return W=W.concat(L),W=W.concat(j),W}},{key:"slice2Segments",value:function(I){for(var L=0,A=[];;){var T;if(I[L]===255&I[L+1]===218)break;if(I[L]===255&I[L+1]===216)L+=2;else{T=I[L+2]*256+I[L+3];var k=L+T+2,M=I.slice(L,k);A.push(M),L=k}if(L>I.length)break}return A}},{key:"decode64",value:function(I){var L=void 0,A=void 0,T="",k=void 0,M=void 0,j=void 0,W="",Z=0,X=[],S=/[^A-Za-z0-9\+\/\=]/g;for(S.exec(I)&&console.warn(`There were invalid base64 characters in the input text.
|
|
59
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var T=!0,k=!1,M;return{s:function(){I=O[Symbol.iterator]()},n:function(){var W=I.next();return T=W.done,W},e:function(W){k=!0,M=W},f:function(){try{!T&&I.return!=null&&I.return()}finally{if(k)throw M}}}}function y(O,D){if(O){if(typeof O=="string")return C(O,D);var I=Object.prototype.toString.call(O).slice(8,-1);if(I==="Object"&&O.constructor&&(I=O.constructor.name),I==="Map"||I==="Set")return Array.from(O);if(I==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(I))return C(O,D)}}function C(O,D){(D==null||D>O.length)&&(D=O.length);for(var I=0,L=new Array(D);I<D;I++)L[I]=O[I];return L}var b={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(D,I,L){if(L)return{dzuuid:L.file.upload.uuid,dzchunkindex:L.index,dztotalfilesize:L.file.size,dzchunksize:this.options.chunkSize,dztotalchunkcount:L.file.upload.totalChunkCount,dzchunkbyteoffset:L.index*this.options.chunkSize}},accept:function(D,I){return I()},chunksUploaded:function(D,I){I()},fallback:function(){var D;this.element.className="".concat(this.element.className," dz-browser-not-supported");var I=g(this.element.getElementsByTagName("div"),!0),L;try{for(I.s();!(L=I.n()).done;){var A=L.value;if(/(^| )dz-message($| )/.test(A.className)){D=A,A.className="dz-message";break}}}catch(k){I.e(k)}finally{I.f()}D||(D=z.createElement('<div class="dz-message"><span></span></div>'),this.element.appendChild(D));var T=D.getElementsByTagName("span")[0];return T&&(T.textContent!=null?T.textContent=this.options.dictFallbackMessage:T.innerText!=null&&(T.innerText=this.options.dictFallbackMessage)),this.element.appendChild(this.getFallbackForm())},resize:function(D,I,L,A){var T={srcX:0,srcY:0,srcWidth:D.width,srcHeight:D.height},k=D.width/D.height;I==null&&L==null?(I=T.srcWidth,L=T.srcHeight):I==null?I=L*k:L==null&&(L=I/k),I=Math.min(I,T.srcWidth),L=Math.min(L,T.srcHeight);var M=I/L;if(T.srcWidth>I||T.srcHeight>L)if(A==="crop")k>M?(T.srcHeight=D.height,T.srcWidth=T.srcHeight*M):(T.srcWidth=D.width,T.srcHeight=T.srcWidth/M);else if(A==="contain")k>M?L=I/k:I=L*k;else throw new Error("Unknown resizeMethod '".concat(A,"'"));return T.srcX=(D.width-T.srcWidth)/2,T.srcY=(D.height-T.srcHeight)/2,T.trgWidth=I,T.trgHeight=L,T},transformFile:function(D,I){return(this.options.resizeWidth||this.options.resizeHeight)&&D.type.match(/image.*/)?this.resizeImage(D,this.options.resizeWidth,this.options.resizeHeight,this.options.resizeMethod,I):I(D)},previewTemplate:m,drop:function(D){return this.element.classList.remove("dz-drag-hover")},dragstart:function(D){},dragend:function(D){return this.element.classList.remove("dz-drag-hover")},dragenter:function(D){return this.element.classList.add("dz-drag-hover")},dragover:function(D){return this.element.classList.add("dz-drag-hover")},dragleave:function(D){return this.element.classList.remove("dz-drag-hover")},paste:function(D){},reset:function(){return this.element.classList.remove("dz-started")},addedfile:function(D){var I=this;if(this.element===this.previewsContainer&&this.element.classList.add("dz-started"),this.previewsContainer&&!this.options.disablePreviews){D.previewElement=z.createElement(this.options.previewTemplate.trim()),D.previewTemplate=D.previewElement,this.previewsContainer.appendChild(D.previewElement);var L=g(D.previewElement.querySelectorAll("[data-dz-name]"),!0),A;try{for(L.s();!(A=L.n()).done;){var T=A.value;T.textContent=D.name}}catch(S){L.e(S)}finally{L.f()}var k=g(D.previewElement.querySelectorAll("[data-dz-size]"),!0),M;try{for(k.s();!(M=k.n()).done;)T=M.value,T.innerHTML=this.filesize(D.size)}catch(S){k.e(S)}finally{k.f()}this.options.addRemoveLinks&&(D._removeLink=z.createElement('<a class="dz-remove" href="javascript:undefined;" data-dz-remove>'.concat(this.options.dictRemoveFile,"</a>")),D.previewElement.appendChild(D._removeLink));var j=function(_){return _.preventDefault(),_.stopPropagation(),D.status===z.UPLOADING?z.confirm(I.options.dictCancelUploadConfirmation,function(){return I.removeFile(D)}):I.options.dictRemoveFileConfirmation?z.confirm(I.options.dictRemoveFileConfirmation,function(){return I.removeFile(D)}):I.removeFile(D)},W=g(D.previewElement.querySelectorAll("[data-dz-remove]"),!0),Z;try{for(W.s();!(Z=W.n()).done;){var X=Z.value;X.addEventListener("click",j)}}catch(S){W.e(S)}finally{W.f()}}},removedfile:function(D){return D.previewElement!=null&&D.previewElement.parentNode!=null&&D.previewElement.parentNode.removeChild(D.previewElement),this._updateMaxFilesReachedClass()},thumbnail:function(D,I){if(D.previewElement){D.previewElement.classList.remove("dz-file-preview");var L=g(D.previewElement.querySelectorAll("[data-dz-thumbnail]"),!0),A;try{for(L.s();!(A=L.n()).done;){var T=A.value;T.alt=D.name,T.src=I}}catch(k){L.e(k)}finally{L.f()}return setTimeout(function(){return D.previewElement.classList.add("dz-image-preview")},1)}},error:function(D,I){if(D.previewElement){D.previewElement.classList.add("dz-error"),typeof I!="string"&&I.error&&(I=I.error);var L=g(D.previewElement.querySelectorAll("[data-dz-errormessage]"),!0),A;try{for(L.s();!(A=L.n()).done;){var T=A.value;T.textContent=I}}catch(k){L.e(k)}finally{L.f()}}},errormultiple:function(){},processing:function(D){if(D.previewElement&&(D.previewElement.classList.add("dz-processing"),D._removeLink))return D._removeLink.innerHTML=this.options.dictCancelUpload},processingmultiple:function(){},uploadprogress:function(D,I,L){if(D.previewElement){var A=g(D.previewElement.querySelectorAll("[data-dz-uploadprogress]"),!0),T;try{for(A.s();!(T=A.n()).done;){var k=T.value;k.nodeName==="PROGRESS"?k.value=I:k.style.width="".concat(I,"%")}}catch(M){A.e(M)}finally{A.f()}}},totaluploadprogress:function(){},sending:function(){},sendingmultiple:function(){},success:function(D){if(D.previewElement)return D.previewElement.classList.add("dz-success")},successmultiple:function(){},canceled:function(D){return this.emit("error",D,this.options.dictUploadCanceled)},canceledmultiple:function(){},complete:function(D){if(D._removeLink&&(D._removeLink.innerHTML=this.options.dictRemoveFile),D.previewElement)return D.previewElement.classList.add("dz-complete")},completemultiple:function(){},maxfilesexceeded:function(){},maxfilesreached:function(){},queuecomplete:function(){},addedfiles:function(){}},E=b;function v(O){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?v=function(I){return typeof I}:v=function(I){return I&&typeof Symbol=="function"&&I.constructor===Symbol&&I!==Symbol.prototype?"symbol":typeof I},v(O)}function N(O,D){var I;if(typeof Symbol>"u"||O[Symbol.iterator]==null){if(Array.isArray(O)||(I=w(O))||D&&O&&typeof O.length=="number"){I&&(O=I);var L=0,A=function(){};return{s:A,n:function(){return L>=O.length?{done:!0}:{done:!1,value:O[L++]}},e:function(W){throw W},f:A}}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 T=!0,k=!1,M;return{s:function(){I=O[Symbol.iterator]()},n:function(){var W=I.next();return T=W.done,W},e:function(W){k=!0,M=W},f:function(){try{!T&&I.return!=null&&I.return()}finally{if(k)throw M}}}}function w(O,D){if(O){if(typeof O=="string")return x(O,D);var I=Object.prototype.toString.call(O).slice(8,-1);if(I==="Object"&&O.constructor&&(I=O.constructor.name),I==="Map"||I==="Set")return Array.from(O);if(I==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(I))return x(O,D)}}function x(O,D){(D==null||D>O.length)&&(D=O.length);for(var I=0,L=new Array(D);I<D;I++)L[I]=O[I];return L}function B(O,D){if(!(O instanceof D))throw new TypeError("Cannot call a class as a function")}function R(O,D){for(var I=0;I<D.length;I++){var L=D[I];L.enumerable=L.enumerable||!1,L.configurable=!0,"value"in L&&(L.writable=!0),Object.defineProperty(O,L.key,L)}}function U(O,D,I){return D&&R(O.prototype,D),I&&R(O,I),O}function $(O,D){if(typeof D!="function"&&D!==null)throw new TypeError("Super expression must either be null or a function");O.prototype=Object.create(D&&D.prototype,{constructor:{value:O,writable:!0,configurable:!0}}),D&&P(O,D)}function P(O,D){return P=Object.setPrototypeOf||function(L,A){return L.__proto__=A,L},P(O,D)}function Y(O){var D=H();return function(){var L=J(O),A;if(D){var T=J(this).constructor;A=Reflect.construct(L,arguments,T)}else A=L.apply(this,arguments);return G(this,A)}}function G(O,D){return D&&(v(D)==="object"||typeof D=="function")?D:K(O)}function K(O){if(O===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return O}function H(){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 J(O){return J=Object.setPrototypeOf?Object.getPrototypeOf:function(I){return I.__proto__||Object.getPrototypeOf(I)},J(O)}var z=function(O){$(I,O);var D=Y(I);function I(L,A){var T;B(this,I),T=D.call(this);var k,M;if(T.element=L,T.version=I.version,T.clickableElements=[],T.listeners=[],T.files=[],typeof T.element=="string"&&(T.element=document.querySelector(T.element)),!T.element||T.element.nodeType==null)throw new Error("Invalid dropzone element.");if(T.element.dropzone)throw new Error("Dropzone already attached.");I.instances.push(K(T)),T.element.dropzone=K(T);var j=(M=I.optionsForElement(T.element))!=null?M:{};if(T.options=I.extend({},E,j,A??{}),T.options.previewTemplate=T.options.previewTemplate.replace(/\n*/g,""),T.options.forceFallback||!I.isBrowserSupported())return G(T,T.options.fallback.call(K(T)));if(T.options.url==null&&(T.options.url=T.element.getAttribute("action")),!T.options.url)throw new Error("No URL provided.");if(T.options.acceptedFiles&&T.options.acceptedMimeTypes)throw new Error("You can't provide both 'acceptedFiles' and 'acceptedMimeTypes'. 'acceptedMimeTypes' is deprecated.");if(T.options.uploadMultiple&&T.options.chunking)throw new Error("You cannot set both: uploadMultiple and chunking.");return T.options.acceptedMimeTypes&&(T.options.acceptedFiles=T.options.acceptedMimeTypes,delete T.options.acceptedMimeTypes),T.options.renameFilename!=null&&(T.options.renameFile=function(W){return T.options.renameFilename.call(K(T),W.name,W)}),typeof T.options.method=="string"&&(T.options.method=T.options.method.toUpperCase()),(k=T.getExistingFallback())&&k.parentNode&&k.parentNode.removeChild(k),T.options.previewsContainer!==!1&&(T.options.previewsContainer?T.previewsContainer=I.getElement(T.options.previewsContainer,"previewsContainer"):T.previewsContainer=T.element),T.options.clickable&&(T.options.clickable===!0?T.clickableElements=[T.element]:T.clickableElements=I.getElements(T.options.clickable,"clickable")),T.init(),T}return U(I,[{key:"getAcceptedFiles",value:function(){return this.files.filter(function(A){return A.accepted}).map(function(A){return A})}},{key:"getRejectedFiles",value:function(){return this.files.filter(function(A){return!A.accepted}).map(function(A){return A})}},{key:"getFilesWithStatus",value:function(A){return this.files.filter(function(T){return T.status===A}).map(function(T){return T})}},{key:"getQueuedFiles",value:function(){return this.getFilesWithStatus(I.QUEUED)}},{key:"getUploadingFiles",value:function(){return this.getFilesWithStatus(I.UPLOADING)}},{key:"getAddedFiles",value:function(){return this.getFilesWithStatus(I.ADDED)}},{key:"getActiveFiles",value:function(){return this.files.filter(function(A){return A.status===I.UPLOADING||A.status===I.QUEUED}).map(function(A){return A})}},{key:"init",value:function(){var A=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(I.createElement('<div class="dz-default dz-message"><button class="dz-button" type="button">'.concat(this.options.dictDefaultMessage,"</button></div>"))),this.clickableElements.length){var T=function X(){A.hiddenFileInput&&A.hiddenFileInput.parentNode.removeChild(A.hiddenFileInput),A.hiddenFileInput=document.createElement("input"),A.hiddenFileInput.setAttribute("type","file"),(A.options.maxFiles===null||A.options.maxFiles>1)&&A.hiddenFileInput.setAttribute("multiple","multiple"),A.hiddenFileInput.className="dz-hidden-input",A.options.acceptedFiles!==null&&A.hiddenFileInput.setAttribute("accept",A.options.acceptedFiles),A.options.capture!==null&&A.hiddenFileInput.setAttribute("capture",A.options.capture),A.hiddenFileInput.setAttribute("tabindex","-1"),A.hiddenFileInput.style.visibility="hidden",A.hiddenFileInput.style.position="absolute",A.hiddenFileInput.style.top="0",A.hiddenFileInput.style.left="0",A.hiddenFileInput.style.height="0",A.hiddenFileInput.style.width="0",I.getElement(A.options.hiddenInputContainer,"hiddenInputContainer").appendChild(A.hiddenFileInput),A.hiddenFileInput.addEventListener("change",function(){var S=A.hiddenFileInput.files;if(S.length){var _=N(S,!0),V;try{for(_.s();!(V=_.n()).done;){var Q=V.value;A.addFile(Q)}}catch(ae){_.e(ae)}finally{_.f()}}A.emit("addedfiles",S),X()})};T()}this.URL=window.URL!==null?window.URL:window.webkitURL;var k=N(this.events,!0),M;try{for(k.s();!(M=k.n()).done;){var j=M.value;this.on(j,this.options[j])}}catch(X){k.e(X)}finally{k.f()}this.on("uploadprogress",function(){return A.updateTotalUploadProgress()}),this.on("removedfile",function(){return A.updateTotalUploadProgress()}),this.on("canceled",function(X){return A.emit("complete",X)}),this.on("complete",function(X){if(A.getAddedFiles().length===0&&A.getUploadingFiles().length===0&&A.getQueuedFiles().length===0)return setTimeout(function(){return A.emit("queuecomplete")},0)});var W=function(S){if(S.dataTransfer.types){for(var _=0;_<S.dataTransfer.types.length;_++)if(S.dataTransfer.types[_]==="Files")return!0}return!1},Z=function(S){if(W(S))return S.stopPropagation(),S.preventDefault?S.preventDefault():S.returnValue=!1};return this.listeners=[{element:this.element,events:{dragstart:function(S){return A.emit("dragstart",S)},dragenter:function(S){return Z(S),A.emit("dragenter",S)},dragover:function(S){var _;try{_=S.dataTransfer.effectAllowed}catch{}return S.dataTransfer.dropEffect=_==="move"||_==="linkMove"?"move":"copy",Z(S),A.emit("dragover",S)},dragleave:function(S){return A.emit("dragleave",S)},drop:function(S){return Z(S),A.drop(S)},dragend:function(S){return A.emit("dragend",S)}}}],this.clickableElements.forEach(function(X){return A.listeners.push({element:X,events:{click:function(_){return(X!==A.element||_.target===A.element||I.elementInside(_.target,A.element.querySelector(".dz-message")))&&A.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,I.instances.splice(I.instances.indexOf(this),1)}},{key:"updateTotalUploadProgress",value:function(){var A,T=0,k=0,M=this.getActiveFiles();if(M.length){var j=N(this.getActiveFiles(),!0),W;try{for(j.s();!(W=j.n()).done;){var Z=W.value;T+=Z.upload.bytesSent,k+=Z.upload.total}}catch(X){j.e(X)}finally{j.f()}A=100*T/k}else A=100;return this.emit("totaluploadprogress",A,k,T)}},{key:"_getParamName",value:function(A){return typeof this.options.paramName=="function"?this.options.paramName(A):"".concat(this.options.paramName).concat(this.options.uploadMultiple?"[".concat(A,"]"):"")}},{key:"_renameFile",value:function(A){return typeof this.options.renameFile!="function"?A.name:this.options.renameFile(A)}},{key:"getFallbackForm",value:function(){var A,T;if(A=this.getExistingFallback())return A;var k='<div class="dz-fallback">';this.options.dictFallbackText&&(k+="<p>".concat(this.options.dictFallbackText,"</p>")),k+='<input type="file" name="'.concat(this._getParamName(0),'" ').concat(this.options.uploadMultiple?'multiple="multiple"':void 0,' /><input type="submit" value="Upload!"></div>');var M=I.createElement(k);return this.element.tagName!=="FORM"?(T=I.createElement('<form action="'.concat(this.options.url,'" enctype="multipart/form-data" method="').concat(this.options.method,'"></form>')),T.appendChild(M)):(this.element.setAttribute("enctype","multipart/form-data"),this.element.setAttribute("method",this.options.method)),T??M}},{key:"getExistingFallback",value:function(){for(var A=function(Z){var X=N(Z,!0),S;try{for(X.s();!(S=X.n()).done;){var _=S.value;if(/(^| )fallback($| )/.test(_.className))return _}}catch(V){X.e(V)}finally{X.f()}},T=0,k=["div","form"];T<k.length;T++){var M=k[T],j;if(j=A(this.element.getElementsByTagName(M)))return j}}},{key:"setupEventListeners",value:function(){return this.listeners.map(function(A){return function(){var T=[];for(var k in A.events){var M=A.events[k];T.push(A.element.addEventListener(k,M,!1))}return T}()})}},{key:"removeEventListeners",value:function(){return this.listeners.map(function(A){return function(){var T=[];for(var k in A.events){var M=A.events[k];T.push(A.element.removeEventListener(k,M,!1))}return T}()})}},{key:"disable",value:function(){var A=this;return this.clickableElements.forEach(function(T){return T.classList.remove("dz-clickable")}),this.removeEventListeners(),this.disabled=!0,this.files.map(function(T){return A.cancelUpload(T)})}},{key:"enable",value:function(){return delete this.disabled,this.clickableElements.forEach(function(A){return A.classList.add("dz-clickable")}),this.setupEventListeners()}},{key:"filesize",value:function(A){var T=0,k="b";if(A>0){for(var M=["tb","gb","mb","kb","b"],j=0;j<M.length;j++){var W=M[j],Z=Math.pow(this.options.filesizeBase,4-j)/10;if(A>=Z){T=A/Math.pow(this.options.filesizeBase,4-j),k=W;break}}T=Math.round(10*T)/10}return"<strong>".concat(T,"</strong> ").concat(this.options.dictFileSizeUnits[k])}},{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(A){if(A.dataTransfer){this.emit("drop",A);for(var T=[],k=0;k<A.dataTransfer.files.length;k++)T[k]=A.dataTransfer.files[k];if(T.length){var M=A.dataTransfer.items;M&&M.length&&M[0].webkitGetAsEntry!=null?this._addFilesFromItems(M):this.handleFiles(T)}this.emit("addedfiles",T)}}},{key:"paste",value:function(A){if(ke(A!=null?A.clipboardData:void 0,function(k){return k.items})!=null){this.emit("paste",A);var T=A.clipboardData.items;if(T.length)return this._addFilesFromItems(T)}}},{key:"handleFiles",value:function(A){var T=N(A,!0),k;try{for(T.s();!(k=T.n()).done;){var M=k.value;this.addFile(M)}}catch(j){T.e(j)}finally{T.f()}}},{key:"_addFilesFromItems",value:function(A){var T=this;return function(){var k=[],M=N(A,!0),j;try{for(M.s();!(j=M.n()).done;){var W=j.value,Z;W.webkitGetAsEntry!=null&&(Z=W.webkitGetAsEntry())?Z.isFile?k.push(T.addFile(W.getAsFile())):Z.isDirectory?k.push(T._addFilesFromDirectory(Z,Z.name)):k.push(void 0):W.getAsFile!=null&&(W.kind==null||W.kind==="file")?k.push(T.addFile(W.getAsFile())):k.push(void 0)}}catch(X){M.e(X)}finally{M.f()}return k}()}},{key:"_addFilesFromDirectory",value:function(A,T){var k=this,M=A.createReader(),j=function(X){return xe(console,"log",function(S){return S.log(X)})},W=function Z(){return M.readEntries(function(X){if(X.length>0){var S=N(X,!0),_;try{for(S.s();!(_=S.n()).done;){var V=_.value;V.isFile?V.file(function(Q){if(!(k.options.ignoreHiddenFiles&&Q.name.substring(0,1)==="."))return Q.fullPath="".concat(T,"/").concat(Q.name),k.addFile(Q)}):V.isDirectory&&k._addFilesFromDirectory(V,"".concat(T,"/").concat(V.name))}}catch(Q){S.e(Q)}finally{S.f()}Z()}return null},j)};return W()}},{key:"accept",value:function(A,T){this.options.maxFilesize&&A.size>this.options.maxFilesize*1024*1024?T(this.options.dictFileTooBig.replace("{{filesize}}",Math.round(A.size/1024/10.24)/100).replace("{{maxFilesize}}",this.options.maxFilesize)):I.isValidFile(A,this.options.acceptedFiles)?this.options.maxFiles!=null&&this.getAcceptedFiles().length>=this.options.maxFiles?(T(this.options.dictMaxFilesExceeded.replace("{{maxFiles}}",this.options.maxFiles)),this.emit("maxfilesexceeded",A)):this.options.accept.call(this,A,T):T(this.options.dictInvalidFileType)}},{key:"addFile",value:function(A){var T=this;A.upload={uuid:I.uuidv4(),progress:0,total:A.size,bytesSent:0,filename:this._renameFile(A)},this.files.push(A),A.status=I.ADDED,this.emit("addedfile",A),this._enqueueThumbnail(A),this.accept(A,function(k){k?(A.accepted=!1,T._errorProcessing([A],k)):(A.accepted=!0,T.options.autoQueue&&T.enqueueFile(A)),T._updateMaxFilesReachedClass()})}},{key:"enqueueFiles",value:function(A){var T=N(A,!0),k;try{for(T.s();!(k=T.n()).done;){var M=k.value;this.enqueueFile(M)}}catch(j){T.e(j)}finally{T.f()}return null}},{key:"enqueueFile",value:function(A){var T=this;if(A.status===I.ADDED&&A.accepted===!0){if(A.status=I.QUEUED,this.options.autoProcessQueue)return setTimeout(function(){return T.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(A){var T=this;if(this.options.createImageThumbnails&&A.type.match(/image.*/)&&A.size<=this.options.maxThumbnailFilesize*1024*1024)return this._thumbnailQueue.push(A),setTimeout(function(){return T._processThumbnailQueue()},0)}},{key:"_processThumbnailQueue",value:function(){var A=this;if(!(this._processingThumbnail||this._thumbnailQueue.length===0)){this._processingThumbnail=!0;var T=this._thumbnailQueue.shift();return this.createThumbnail(T,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,!0,function(k){return A.emit("thumbnail",T,k),A._processingThumbnail=!1,A._processThumbnailQueue()})}}},{key:"removeFile",value:function(A){if(A.status===I.UPLOADING&&this.cancelUpload(A),this.files=ee(this.files,A),this.emit("removedfile",A),this.files.length===0)return this.emit("reset")}},{key:"removeAllFiles",value:function(A){A==null&&(A=!1);var T=N(this.files.slice(),!0),k;try{for(T.s();!(k=T.n()).done;){var M=k.value;(M.status!==I.UPLOADING||A)&&this.removeFile(M)}}catch(j){T.e(j)}finally{T.f()}return null}},{key:"resizeImage",value:function(A,T,k,M,j){var W=this;return this.createThumbnail(A,T,k,M,!0,function(Z,X){if(X==null)return j(A);var S=W.options.resizeMimeType;S==null&&(S=A.type);var _=X.toDataURL(S,W.options.resizeQuality);return(S==="image/jpeg"||S==="image/jpg")&&(_=Ee.restore(A.dataURL,_)),j(I.dataURItoBlob(_))})}},{key:"createThumbnail",value:function(A,T,k,M,j,W){var Z=this,X=new FileReader;X.onload=function(){if(A.dataURL=X.result,A.type==="image/svg+xml"){W!=null&&W(X.result);return}Z.createThumbnailFromUrl(A,T,k,M,j,W)},X.readAsDataURL(A)}},{key:"displayExistingFile",value:function(A,T,k,M){var j=this,W=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0;if(this.emit("addedfile",A),this.emit("complete",A),!W)this.emit("thumbnail",A,T),k&&k();else{var Z=function(S){j.emit("thumbnail",A,S),k&&k()};A.dataURL=T,this.createThumbnailFromUrl(A,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,this.options.fixOrientation,Z,M)}}},{key:"createThumbnailFromUrl",value:function(A,T,k,M,j,W,Z){var X=this,S=document.createElement("img");return Z&&(S.crossOrigin=Z),j=getComputedStyle(document.body).imageOrientation=="from-image"?!1:j,S.onload=function(){var _=function(Q){return Q(1)};return typeof EXIF<"u"&&EXIF!==null&&j&&(_=function(Q){return EXIF.getData(S,function(){return Q(EXIF.getTag(this,"Orientation"))})}),_(function(V){A.width=S.width,A.height=S.height;var Q=X.options.resize.call(X,A,T,k,M),ae=document.createElement("canvas"),pe=ae.getContext("2d");switch(ae.width=Q.trgWidth,ae.height=Q.trgHeight,V>4&&(ae.width=Q.trgHeight,ae.height=Q.trgWidth),V){case 2:pe.translate(ae.width,0),pe.scale(-1,1);break;case 3:pe.translate(ae.width,ae.height),pe.rotate(Math.PI);break;case 4:pe.translate(0,ae.height),pe.scale(1,-1);break;case 5:pe.rotate(.5*Math.PI),pe.scale(1,-1);break;case 6:pe.rotate(.5*Math.PI),pe.translate(0,-ae.width);break;case 7:pe.rotate(.5*Math.PI),pe.translate(ae.height,-ae.width),pe.scale(-1,1);break;case 8:pe.rotate(-.5*Math.PI),pe.translate(-ae.height,0);break}ge(pe,S,Q.srcX!=null?Q.srcX:0,Q.srcY!=null?Q.srcY:0,Q.srcWidth,Q.srcHeight,Q.trgX!=null?Q.trgX:0,Q.trgY!=null?Q.trgY:0,Q.trgWidth,Q.trgHeight);var Te=ae.toDataURL("image/png");if(W!=null)return W(Te,ae)})},W!=null&&(S.onerror=W),S.src=A.dataURL}},{key:"processQueue",value:function(){var A=this.options.parallelUploads,T=this.getUploadingFiles().length,k=T;if(!(T>=A)){var M=this.getQueuedFiles();if(M.length>0){if(this.options.uploadMultiple)return this.processFiles(M.slice(0,A-T));for(;k<A;){if(!M.length)return;this.processFile(M.shift()),k++}}}}},{key:"processFile",value:function(A){return this.processFiles([A])}},{key:"processFiles",value:function(A){var T=N(A,!0),k;try{for(T.s();!(k=T.n()).done;){var M=k.value;M.processing=!0,M.status=I.UPLOADING,this.emit("processing",M)}}catch(j){T.e(j)}finally{T.f()}return this.options.uploadMultiple&&this.emit("processingmultiple",A),this.uploadFiles(A)}},{key:"_getFilesWithXhr",value:function(A){return this.files.filter(function(T){return T.xhr===A}).map(function(T){return T})}},{key:"cancelUpload",value:function(A){if(A.status===I.UPLOADING){var T=this._getFilesWithXhr(A.xhr),k=N(T,!0),M;try{for(k.s();!(M=k.n()).done;){var j=M.value;j.status=I.CANCELED}}catch(S){k.e(S)}finally{k.f()}typeof A.xhr<"u"&&A.xhr.abort();var W=N(T,!0),Z;try{for(W.s();!(Z=W.n()).done;){var X=Z.value;this.emit("canceled",X)}}catch(S){W.e(S)}finally{W.f()}this.options.uploadMultiple&&this.emit("canceledmultiple",T)}else(A.status===I.ADDED||A.status===I.QUEUED)&&(A.status=I.CANCELED,this.emit("canceled",A),this.options.uploadMultiple&&this.emit("canceledmultiple",[A]));if(this.options.autoProcessQueue)return this.processQueue()}},{key:"resolveOption",value:function(A){if(typeof A=="function"){for(var T=arguments.length,k=new Array(T>1?T-1:0),M=1;M<T;M++)k[M-1]=arguments[M];return A.apply(this,k)}return A}},{key:"uploadFile",value:function(A){return this.uploadFiles([A])}},{key:"uploadFiles",value:function(A){var T=this;this._transformFiles(A,function(k){if(T.options.chunking){var M=k[0];A[0].upload.chunked=T.options.chunking&&(T.options.forceChunking||M.size>T.options.chunkSize),A[0].upload.totalChunkCount=Math.ceil(M.size/T.options.chunkSize)}if(A[0].upload.chunked){var j=A[0],W=k[0];j.upload.chunks=[];var Z=function(){for(var Q=0;j.upload.chunks[Q]!==void 0;)Q++;if(!(Q>=j.upload.totalChunkCount)){var ae=Q*T.options.chunkSize,pe=Math.min(ae+T.options.chunkSize,W.size),Te={name:T._getParamName(0),data:W.webkitSlice?W.webkitSlice(ae,pe):W.slice(ae,pe),filename:j.upload.filename,chunkIndex:Q};j.upload.chunks[Q]={file:j,index:Q,dataBlock:Te,status:I.UPLOADING,progress:0,retries:0},T._uploadData(A,[Te])}};if(j.upload.finishedChunkUpload=function(V,Q){var ae=!0;V.status=I.SUCCESS,V.dataBlock=null,V.xhr=null;for(var pe=0;pe<j.upload.totalChunkCount;pe++){if(j.upload.chunks[pe]===void 0)return Z();j.upload.chunks[pe].status!==I.SUCCESS&&(ae=!1)}ae&&T.options.chunksUploaded(j,function(){T._finished(A,Q,null)})},T.options.parallelChunkUploads)for(var X=0;X<j.upload.totalChunkCount;X++)Z();else Z()}else{for(var S=[],_=0;_<A.length;_++)S[_]={name:T._getParamName(_),data:k[_],filename:A[_].upload.filename};T._uploadData(A,S)}})}},{key:"_getChunk",value:function(A,T){for(var k=0;k<A.upload.totalChunkCount;k++)if(A.upload.chunks[k]!==void 0&&A.upload.chunks[k].xhr===T)return A.upload.chunks[k]}},{key:"_uploadData",value:function(A,T){var k=this,M=new XMLHttpRequest,j=N(A,!0),W;try{for(j.s();!(W=j.n()).done;){var Z=W.value;Z.xhr=M}}catch(me){j.e(me)}finally{j.f()}A[0].upload.chunked&&(A[0].upload.chunks[T[0].chunkIndex].xhr=M);var X=this.resolveOption(this.options.method,A),S=this.resolveOption(this.options.url,A);M.open(X,S,!0);var _=this.resolveOption(this.options.timeout,A);_&&(M.timeout=this.resolveOption(this.options.timeout,A)),M.withCredentials=!!this.options.withCredentials,M.onload=function(me){k._finishedUploading(A,M,me)},M.ontimeout=function(){k._handleUploadError(A,M,"Request timedout after ".concat(k.options.timeout/1e3," seconds"))},M.onerror=function(){k._handleUploadError(A,M)};var V=M.upload!=null?M.upload:M;V.onprogress=function(me){return k._updateFilesUploadProgress(A,M,me)};var Q={Accept:"application/json","Cache-Control":"no-cache","X-Requested-With":"XMLHttpRequest"};this.options.headers&&I.extend(Q,this.options.headers);for(var ae in Q){var pe=Q[ae];pe&&M.setRequestHeader(ae,pe)}var Te=new FormData;if(this.options.params){var q=this.options.params;typeof q=="function"&&(q=q.call(this,A,M,A[0].upload.chunked?this._getChunk(A[0],M):null));for(var ie in q){var be=q[ie];if(Array.isArray(be))for(var Pe=0;Pe<be.length;Pe++)Te.append(ie,be[Pe]);else Te.append(ie,be)}}var qe=N(A,!0),nt;try{for(qe.s();!(nt=qe.n()).done;){var Mt=nt.value;this.emit("sending",Mt,M,Te)}}catch(me){qe.e(me)}finally{qe.f()}this.options.uploadMultiple&&this.emit("sendingmultiple",A,M,Te),this._addFormElementData(Te);for(var te=0;te<T.length;te++){var ye=T[te];Te.append(ye.name,ye.data,ye.filename)}this.submitRequest(M,Te,A)}},{key:"_transformFiles",value:function(A,T){for(var k=this,M=[],j=0,W=function(S){k.options.transformFile.call(k,A[S],function(_){M[S]=_,++j===A.length&&T(M)})},Z=0;Z<A.length;Z++)W(Z)}},{key:"_addFormElementData",value:function(A){if(this.element.tagName==="FORM"){var T=N(this.element.querySelectorAll("input, textarea, select, button"),!0),k;try{for(T.s();!(k=T.n()).done;){var M=k.value,j=M.getAttribute("name"),W=M.getAttribute("type");if(W&&(W=W.toLowerCase()),!(typeof j>"u"||j===null))if(M.tagName==="SELECT"&&M.hasAttribute("multiple")){var Z=N(M.options,!0),X;try{for(Z.s();!(X=Z.n()).done;){var S=X.value;S.selected&&A.append(j,S.value)}}catch(_){Z.e(_)}finally{Z.f()}}else(!W||W!=="checkbox"&&W!=="radio"||M.checked)&&A.append(j,M.value)}}catch(_){T.e(_)}finally{T.f()}}}},{key:"_updateFilesUploadProgress",value:function(A,T,k){if(A[0].upload.chunked){var Z=A[0],X=this._getChunk(Z,T);k?(X.progress=100*k.loaded/k.total,X.total=k.total,X.bytesSent=k.loaded):(X.progress=100,X.bytesSent=X.total),Z.upload.progress=0,Z.upload.total=0,Z.upload.bytesSent=0;for(var S=0;S<Z.upload.totalChunkCount;S++)Z.upload.chunks[S]&&typeof Z.upload.chunks[S].progress<"u"&&(Z.upload.progress+=Z.upload.chunks[S].progress,Z.upload.total+=Z.upload.chunks[S].total,Z.upload.bytesSent+=Z.upload.chunks[S].bytesSent);Z.upload.progress=Z.upload.progress/Z.upload.totalChunkCount,this.emit("uploadprogress",Z,Z.upload.progress,Z.upload.bytesSent)}else{var M=N(A,!0),j;try{for(M.s();!(j=M.n()).done;){var W=j.value;W.upload.total&&W.upload.bytesSent&&W.upload.bytesSent==W.upload.total||(k?(W.upload.progress=100*k.loaded/k.total,W.upload.total=k.total,W.upload.bytesSent=k.loaded):(W.upload.progress=100,W.upload.bytesSent=W.upload.total),this.emit("uploadprogress",W,W.upload.progress,W.upload.bytesSent))}}catch(_){M.e(_)}finally{M.f()}}}},{key:"_finishedUploading",value:function(A,T,k){var M;if(A[0].status!==I.CANCELED&&T.readyState===4){if(T.responseType!=="arraybuffer"&&T.responseType!=="blob"&&(M=T.responseText,T.getResponseHeader("content-type")&&~T.getResponseHeader("content-type").indexOf("application/json")))try{M=JSON.parse(M)}catch(j){k=j,M="Invalid JSON response from server."}this._updateFilesUploadProgress(A,T),200<=T.status&&T.status<300?A[0].upload.chunked?A[0].upload.finishedChunkUpload(this._getChunk(A[0],T),M):this._finished(A,M,k):this._handleUploadError(A,T,M)}}},{key:"_handleUploadError",value:function(A,T,k){if(A[0].status!==I.CANCELED){if(A[0].upload.chunked&&this.options.retryChunks){var M=this._getChunk(A[0],T);if(M.retries++<this.options.retryChunksLimit){this._uploadData(A,[M.dataBlock]);return}else console.warn("Retried this chunk too often. Giving up.")}this._errorProcessing(A,k||this.options.dictResponseError.replace("{{statusCode}}",T.status),T)}}},{key:"submitRequest",value:function(A,T,k){if(A.readyState!=1){console.warn("Cannot send this request because the XMLHttpRequest.readyState is not OPENED.");return}A.send(T)}},{key:"_finished",value:function(A,T,k){var M=N(A,!0),j;try{for(M.s();!(j=M.n()).done;){var W=j.value;W.status=I.SUCCESS,this.emit("success",W,T,k),this.emit("complete",W)}}catch(Z){M.e(Z)}finally{M.f()}if(this.options.uploadMultiple&&(this.emit("successmultiple",A,T,k),this.emit("completemultiple",A)),this.options.autoProcessQueue)return this.processQueue()}},{key:"_errorProcessing",value:function(A,T,k){var M=N(A,!0),j;try{for(M.s();!(j=M.n()).done;){var W=j.value;W.status=I.ERROR,this.emit("error",W,T,k),this.emit("complete",W)}}catch(Z){M.e(Z)}finally{M.f()}if(this.options.uploadMultiple&&(this.emit("errormultiple",A,T,k),this.emit("completemultiple",A)),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(A){for(var T=arguments.length,k=new Array(T>1?T-1:0),M=1;M<T;M++)k[M-1]=arguments[M];for(var j=0,W=k;j<W.length;j++){var Z=W[j];for(var X in Z){var S=Z[X];A[X]=S}}return A}},{key:"uuidv4",value:function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(A){var T=Math.random()*16|0,k=A==="x"?T:T&3|8;return k.toString(16)})}}]),I}(h);z.initClass(),z.version="5.9.3",z.options={},z.optionsForElement=function(O){if(O.getAttribute("id"))return z.options[re(O.getAttribute("id"))]},z.instances=[],z.forElement=function(O){if(typeof O=="string"&&(O=document.querySelector(O)),(O!=null?O.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 O.dropzone},z.autoDiscover=!0,z.discover=function(){var O;if(document.querySelectorAll)O=document.querySelectorAll(".dropzone");else{O=[];var D=function(L){return function(){var A=[],T=N(L,!0),k;try{for(T.s();!(k=T.n()).done;){var M=k.value;/(^| )dropzone($| )/.test(M.className)?A.push(O.push(M)):A.push(void 0)}}catch(j){T.e(j)}finally{T.f()}return A}()};D(document.getElementsByTagName("div")),D(document.getElementsByTagName("form"))}return function(){var I=[],L=N(O,!0),A;try{for(L.s();!(A=L.n()).done;){var T=A.value;z.optionsForElement(T)!==!1?I.push(new z(T)):I.push(void 0)}}catch(k){L.e(k)}finally{L.f()}return I}()},z.blockedBrowsers=[/opera.*(Macintosh|Windows Phone).*version\/12/i],z.isBrowserSupported=function(){var O=!0;if(window.File&&window.FileReader&&window.FileList&&window.Blob&&window.FormData&&document.querySelector)if(!("classList"in document.createElement("a")))O=!1;else{z.blacklistedBrowsers!==void 0&&(z.blockedBrowsers=z.blacklistedBrowsers);var D=N(z.blockedBrowsers,!0),I;try{for(D.s();!(I=D.n()).done;){var L=I.value;if(L.test(navigator.userAgent)){O=!1;continue}}}catch(A){D.e(A)}finally{D.f()}}else O=!1;return O},z.dataURItoBlob=function(O){for(var D=atob(O.split(",")[1]),I=O.split(",")[0].split(":")[1].split(";")[0],L=new ArrayBuffer(D.length),A=new Uint8Array(L),T=0,k=D.length,M=0<=k;M?T<=k:T>=k;M?T++:T--)A[T]=D.charCodeAt(T);return new Blob([L],{type:I})};var ee=function(D,I){return D.filter(function(L){return L!==I}).map(function(L){return L})},re=function(D){return D.replace(/[\-_](\w)/g,function(I){return I.charAt(1).toUpperCase()})};z.createElement=function(O){var D=document.createElement("div");return D.innerHTML=O,D.childNodes[0]},z.elementInside=function(O,D){if(O===D)return!0;for(;O=O.parentNode;)if(O===D)return!0;return!1},z.getElement=function(O,D){var I;if(typeof O=="string"?I=document.querySelector(O):O.nodeType!=null&&(I=O),I==null)throw new Error("Invalid `".concat(D,"` option provided. Please provide a CSS selector or a plain HTML element."));return I},z.getElements=function(O,D){var I,L;if(O instanceof Array){L=[];try{var A=N(O,!0),T;try{for(A.s();!(T=A.n()).done;)I=T.value,L.push(this.getElement(I,D))}catch(j){A.e(j)}finally{A.f()}}catch{L=null}}else if(typeof O=="string"){L=[];var k=N(document.querySelectorAll(O),!0),M;try{for(k.s();!(M=k.n()).done;)I=M.value,L.push(I)}catch(j){k.e(j)}finally{k.f()}}else O.nodeType!=null&&(L=[O]);if(L==null||!L.length)throw new Error("Invalid `".concat(D,"` option provided. Please provide a CSS selector, a plain HTML element or a list of those."));return L},z.confirm=function(O,D,I){if(window.confirm(O))return D();if(I!=null)return I()},z.isValidFile=function(O,D){if(!D)return!0;D=D.split(",");var I=O.type,L=I.replace(/\/.*$/,""),A=N(D,!0),T;try{for(A.s();!(T=A.n()).done;){var k=T.value;if(k=k.trim(),k.charAt(0)==="."){if(O.name.toLowerCase().indexOf(k.toLowerCase(),O.name.length-k.length)!==-1)return!0}else if(/\/\*$/.test(k)){if(L===k.replace(/\/.*$/,""))return!0}else if(I===k)return!0}}catch(M){A.e(M)}finally{A.f()}return!1},typeof jQuery<"u"&&jQuery!==null&&(jQuery.fn.dropzone=function(O){return this.each(function(){return new z(this,O)})}),z.ADDED="added",z.QUEUED="queued",z.ACCEPTED=z.QUEUED,z.UPLOADING="uploading",z.PROCESSING=z.UPLOADING,z.CANCELED="canceled",z.ERROR="error",z.SUCCESS="success";var ue=function(D){D.naturalWidth;var I=D.naturalHeight,L=document.createElement("canvas");L.width=1,L.height=I;var A=L.getContext("2d");A.drawImage(D,0,0);for(var T=A.getImageData(1,0,1,I),k=T.data,M=0,j=I,W=I;W>M;){var Z=k[(W-1)*4+3];Z===0?j=W:M=W,W=j+M>>1}var X=W/I;return X===0?1:X},ge=function(D,I,L,A,T,k,M,j,W,Z){var X=ue(I);return D.drawImage(I,L,A,T,k,M,j,W,Z/X)},Ee=function(){function O(){B(this,O)}return U(O,null,[{key:"initClass",value:function(){this.KEY_STR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}},{key:"encode64",value:function(I){for(var L="",A=void 0,T=void 0,k="",M=void 0,j=void 0,W=void 0,Z="",X=0;A=I[X++],T=I[X++],k=I[X++],M=A>>2,j=(A&3)<<4|T>>4,W=(T&15)<<2|k>>6,Z=k&63,isNaN(T)?W=Z=64:isNaN(k)&&(Z=64),L=L+this.KEY_STR.charAt(M)+this.KEY_STR.charAt(j)+this.KEY_STR.charAt(W)+this.KEY_STR.charAt(Z),A=T=k="",M=j=W=Z="",X<I.length;);return L}},{key:"restore",value:function(I,L){if(!I.match("data:image/jpeg;base64,"))return L;var A=this.decode64(I.replace("data:image/jpeg;base64,","")),T=this.slice2Segments(A),k=this.exifManipulation(L,T);return"data:image/jpeg;base64,".concat(this.encode64(k))}},{key:"exifManipulation",value:function(I,L){var A=this.getExifArray(L),T=this.insertExif(I,A),k=new Uint8Array(T);return k}},{key:"getExifArray",value:function(I){for(var L=void 0,A=0;A<I.length;){if(L=I[A],L[0]===255&L[1]===225)return L;A++}return[]}},{key:"insertExif",value:function(I,L){var A=I.replace("data:image/jpeg;base64,",""),T=this.decode64(A),k=T.indexOf(255,3),M=T.slice(0,k),j=T.slice(k),W=M;return W=W.concat(L),W=W.concat(j),W}},{key:"slice2Segments",value:function(I){for(var L=0,A=[];;){var T;if(I[L]===255&I[L+1]===218)break;if(I[L]===255&I[L+1]===216)L+=2;else{T=I[L+2]*256+I[L+3];var k=L+T+2,M=I.slice(L,k);A.push(M),L=k}if(L>I.length)break}return A}},{key:"decode64",value:function(I){var L=void 0,A=void 0,T="",k=void 0,M=void 0,j=void 0,W="",Z=0,X=[],S=/[^A-Za-z0-9\+\/\=]/g;for(S.exec(I)&&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.`),I=I.replace(/[^A-Za-z0-9\+\/\=]/g,"");k=this.KEY_STR.indexOf(I.charAt(Z++)),M=this.KEY_STR.indexOf(I.charAt(Z++)),j=this.KEY_STR.indexOf(I.charAt(Z++)),W=this.KEY_STR.indexOf(I.charAt(Z++)),L=k<<2|M>>4,A=(M&15)<<4|j>>2,T=(j&3)<<6|W,X.push(L),j!==64&&X.push(A),W!==64&&X.push(T),L=A=T="",k=M=j=W="",Z<I.length;);return X}}]),O}();Ee.initClass();var Se=function(D,I){var L=!1,A=!0,T=D.document,k=T.documentElement,M=T.addEventListener?"addEventListener":"attachEvent",j=T.addEventListener?"removeEventListener":"detachEvent",W=T.addEventListener?"":"on",Z=function S(_){if(!(_.type==="readystatechange"&&T.readyState!=="complete")&&((_.type==="load"?D:T)[j](W+_.type,S,!1),!L&&(L=!0)))return I.call(D,_.type||_)},X=function S(){try{k.doScroll("left")}catch{setTimeout(S,50);return}return Z("poll")};if(T.readyState!=="complete"){if(T.createEventObject&&k.doScroll){try{A=!D.frameElement}catch{}A&&X()}return T[M](W+"DOMContentLoaded",Z,!1),T[M](W+"readystatechange",Z,!1),D[M](W+"load",Z,!1)}};z._autoDiscoverFunction=function(){if(z.autoDiscover)return z.discover()},Se(window,z._autoDiscoverFunction);function ke(O,D){return typeof O<"u"&&O!==null?D(O):void 0}function xe(O,D,I){if(typeof O<"u"&&O!==null&&typeof O[D]=="function")return I(O,D)}window.Dropzone=z;var Ae=z}(),s}()})})(Kf);var Ny=Kf.exports;const Yf=zl(Ny),Iy={class:"fallback"},xy=c.createElementVNode("input",{id:"file",type:"file",name:"file",multiple:""},null,-1),My={for:"file"},Oy={class:"dz-message","data-dz-message":""},Ly={id:"bd-dropzone-theme",style:{display:"none"}},Dy={class:"dz-preview dz-file-preview"},Ry={class:"dz-details"},By=c.createElementVNode("img",{"data-dz-thumbnail":"",class:"dz-image"},null,-1),Py=c.createElementVNode("div",{class:"dz-filename"},[c.createElementVNode("small",{"data-dz-name":""})],-1),Fy=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),Vy={class:"dz-success-mark"},$y={class:"dz-error-message text-danger"},Uy=c.createElementVNode("small",{"data-dz-errormessage":""},null,-1),Gf=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:ai.PRIMARY,size:At.SM})),o=Dr(t,"modelValue",e);let s=null;Yf.autoDiscover=!1,c.watch(()=>t.modelValue,()=>{i()}),c.onMounted(()=>{document.getElementById("dropzone")&&l()});const i=()=>{s&&(s.destroy(),l())},l=()=>{var p;s=new Yf("#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}),s.on("error",u),s.on("success",a),s.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}),d(p)},u=function(p){d(p)},d=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"),y=p.previewElement.getElementsByClassName("dz-image");g[0].classList.remove("d-none"),y[0].classList.add("d-none")}},f=function(p){const m=o.value.findIndex(g=>{var y;return(g==null?void 0:g.UUID)===((y=p.upload)==null?void 0:y.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",Iy,[xy,c.createTextVNode(" test "),c.createElementVNode("label",My,[c.createVNode(c.unref(Or)),c.createTextVNode(" "+c.toDisplayString(t.buttonText),1)])]),c.createElementVNode("div",Oy,[c.createVNode(Ze,c.normalizeProps(c.guardReactiveProps(r.value)),{default:c.withCtx(()=>[c.createVNode(c.unref(Or)),c.createTextVNode(" "+c.toDisplayString(t.buttonText),1)]),_:1},16)])]),_:1})),c.createElementVNode("div",Ly,[c.createElementVNode("div",Dy,[c.createElementVNode("div",Ry,[By,c.createVNode(c.unref(_l),{"data-dz-thumbnail":"",class:"d-none"}),Py,c.createVNode(Ze,{class:"dz-remove",alt:"Click me to remove the file.","data-dz-remove":""},{default:c.withCtx(()=>[c.createVNode(c.unref(is))]),_:1})]),Fy,c.createElementVNode("div",Vy,[c.createVNode(c.unref(uo))]),c.createElementVNode("div",$y,[c.createVNode(c.unref(si)),Uy])])])],64))}});function ht(n){this.content=n}ht.prototype={constructor:ht,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),s=r.content.slice();return o==-1?s.push(t||n,e):(s[o+1]=e,t&&(s[o]=t)),new ht(s)},remove:function(n){var e=this.find(n);if(e==-1)return this;var t=this.content.slice();return t.splice(e,2),new ht(t)},addToStart:function(n,e){return new ht([n,e].concat(this.remove(n).content))},addToEnd:function(n,e){var t=this.remove(n).content.slice();return t.push(n,e),new ht(t)},addBefore:function(n,e,t){var r=this.remove(e),o=r.content.slice(),s=r.find(n);return o.splice(s==-1?o.length:s,0,e,t),new ht(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=ht.from(n),n.size?new ht(n.content.concat(this.subtract(n).content)):this},append:function(n){return n=ht.from(n),n.size?new ht(this.subtract(n).content.concat(n.content)):this},subtract:function(n){var e=this;n=ht.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}},ht.from=function(n){if(n instanceof ht)return n;var e=[];if(n)for(var t in n)e.push(t,n[t]);return new ht(e)};function Qf(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),s=e.child(r);if(o==s){t+=o.nodeSize;continue}if(!o.sameMarkup(s))return t;if(o.isText&&o.text!=s.text){for(let i=0;o.text[i]==s.text[i];i++)t++;return t}if(o.content.size||s.content.size){let i=Qf(o.content,s.content,t+1);if(i!=null)return i}t+=o.nodeSize}}function Zf(n,e,t,r){for(let o=n.childCount,s=e.childCount;;){if(o==0||s==0)return o==s?null:{a:t,b:r};let i=n.child(--o),l=e.child(--s),a=i.nodeSize;if(i==l){t-=a,r-=a;continue}if(!i.sameMarkup(l))return{a:t,b:r};if(i.isText&&i.text!=l.text){let u=0,d=Math.min(i.text.length,l.text.length);for(;u<d&&i.text[i.text.length-u-1]==l.text[l.text.length-u-1];)u++,t--,r--;return{a:t,b:r}}if(i.content.size||l.content.size){let u=Zf(i.content,l.content,t-1,r-1);if(u)return u}t-=a,r-=a}}class fe{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,s){for(let i=0,l=0;l<t;i++){let a=this.content[i],u=l+a.nodeSize;if(u>e&&r(a,o+l,s||null,i)!==!1&&a.content.size){let d=l+1;a.nodesBetween(Math.max(0,e-d),Math.min(a.content.size,t-d),r,o+d)}l=u}}descendants(e){this.nodesBetween(0,this.size,e)}textBetween(e,t,r,o){let s="",i=!0;return this.nodesBetween(e,t,(l,a)=>{l.isText?(s+=l.text.slice(Math.max(e,a)-a,t-a),i=!r):l.isLeaf?(o?s+=typeof o=="function"?o(l):o:l.type.spec.leafText&&(s+=l.type.spec.leafText(l)),i=!r):!i&&l.isBlock&&(s+=r,i=!0)},0),s}append(e){if(!e.size)return this;if(!this.size)return e;let t=this.lastChild,r=e.firstChild,o=this.content.slice(),s=0;for(t.isText&&t.sameMarkup(r)&&(o[o.length-1]=t.withText(t.text+r.text),s=1);s<e.content.length;s++)o.push(e.content[s]);return new fe(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 s=0,i=0;i<t;s++){let l=this.content[s],a=i+l.nodeSize;a>e&&((i<e||a>t)&&(l.isText?l=l.cut(Math.max(0,e-i),Math.min(l.text.length,t-i)):l=l.cut(Math.max(0,e-i-1),Math.min(l.content.size,t-i-1))),r.push(l),o+=l.nodeSize),i=a}return new fe(r,o)}cutByIndex(e,t){return e==t?fe.empty:e==0&&t==this.content.length?this:new fe(this.content.slice(e,t))}replaceChild(e,t){let r=this.content[e];if(r==t)return this;let o=this.content.slice(),s=this.size+t.nodeSize-r.nodeSize;return o[e]=t,new fe(o,s)}addToStart(e){return new fe([e].concat(this.content),this.size+e.nodeSize)}addToEnd(e){return new fe(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 Qf(this,e,t)}findDiffEnd(e,t=this.size,r=e.size){return Zf(this,e,t,r)}findIndex(e,t=-1){if(e==0)return mi(0,e);if(e==this.size)return mi(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 s=this.child(r),i=o+s.nodeSize;if(i>=e)return i==e||t>0?mi(r+1,i):mi(r,o);o=i}}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 fe.empty;if(!Array.isArray(t))throw new RangeError("Invalid input for Fragment.fromJSON");return new fe(t.map(e.nodeFromJSON))}static fromArray(e){if(!e.length)return fe.empty;let t,r=0;for(let o=0;o<e.length;o++){let s=e[o];r+=s.nodeSize,o&&s.isText&&e[o-1].sameMarkup(s)?(t||(t=e.slice(0,o)),t[t.length-1]=s.withText(t[t.length-1].text+s.text)):t&&t.push(s)}return new fe(t||e,r)}static from(e){if(!e)return fe.empty;if(e instanceof fe)return e;if(Array.isArray(e))return this.fromArray(e);if(e.attrs)return new fe([e],e.nodeSize);throw new RangeError("Can not convert "+e+" to a Fragment"+(e.nodesBetween?" (looks like multiple versions of prosemirror-model were loaded)":""))}}fe.empty=new fe([],0);const Hl={index:0,offset:0};function mi(n,e){return Hl.index=n,Hl.offset=e,Hl}function gi(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(!gi(n[r],e[r]))return!1}else{for(let r in n)if(!(r in e)||!gi(n[r],e[r]))return!1;for(let r in e)if(!(r in n))return!1}return!0}let We=class Id{constructor(e,t){this.type=e,this.attrs=t}addToSet(e){let t,r=!1;for(let o=0;o<e.length;o++){let s=e[o];if(this.eq(s))return e;if(this.type.excludes(s.type))t||(t=e.slice(0,o));else{if(s.type.excludes(this.type))return e;!r&&s.type.rank>this.type.rank&&(t||(t=e.slice(0,o)),t.push(this),r=!0),t&&t.push(s)}}return t||(t=e.slice()),r||t.push(this),t}removeFromSet(e){for(let t=0;t<e.length;t++)if(this.eq(e[t]))return e.slice(0,t).concat(e.slice(t+1));return e}isInSet(e){for(let t=0;t<e.length;t++)if(this.eq(e[t]))return!0;return!1}eq(e){return this==e||this.type==e.type&&gi(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 Id.none;if(e instanceof Id)return[e];let t=e.slice();return t.sort((r,o)=>r.type.rank-o.type.rank),t}};We.none=[];class yi extends Error{}class we{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=Xf(this.content,e+this.openStart,t);return r&&new we(r,this.openStart,this.openEnd)}removeBetween(e,t){return new we(Jf(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 we.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 we(fe.fromJSON(e,t.content),r,o)}static maxOpen(e,t=!0){let r=0,o=0;for(let s=e.firstChild;s&&!s.isLeaf&&(t||!s.type.spec.isolating);s=s.firstChild)r++;for(let s=e.lastChild;s&&!s.isLeaf&&(t||!s.type.spec.isolating);s=s.lastChild)o++;return new we(e,r,o)}}we.empty=new we(fe.empty,0,0);function Jf(n,e,t){let{index:r,offset:o}=n.findIndex(e),s=n.maybeChild(r),{index:i,offset:l}=n.findIndex(t);if(o==e||s.isText){if(l!=t&&!n.child(i).isText)throw new RangeError("Removing non-flat range");return n.cut(0,e).append(n.cut(t))}if(r!=i)throw new RangeError("Removing non-flat range");return n.replaceChild(r,s.copy(Jf(s.content,e-o-1,t-o-1)))}function Xf(n,e,t,r){let{index:o,offset:s}=n.findIndex(e),i=n.maybeChild(o);if(s==e||i.isText)return r&&!r.canReplace(o,o,t)?null:n.cut(0,e).append(t).append(n.cut(e));let l=Xf(i.content,e-s-1,t);return l&&n.replaceChild(o,i.copy(l))}function zy(n,e,t){if(t.openStart>n.depth)throw new yi("Inserted content deeper than insertion position");if(n.depth-t.openStart!=e.depth-t.openEnd)throw new yi("Inconsistent open depths");return qf(n,e,t,0)}function qf(n,e,t,r){let o=n.index(r),s=n.node(r);if(o==e.index(r)&&r<n.depth-t.openStart){let i=qf(n,e,t,r+1);return s.copy(s.content.replaceChild(o,i))}else if(t.content.size)if(!t.openStart&&!t.openEnd&&n.depth==r&&e.depth==r){let i=n.parent,l=i.content;return Fr(i,l.cut(0,n.parentOffset).append(t.content).append(l.cut(e.parentOffset)))}else{let{start:i,end:l}=Hy(t,n);return Fr(s,th(n,i,l,e,r))}else return Fr(s,vi(n,e,r))}function eh(n,e){if(!e.type.compatibleContent(n.type))throw new yi("Cannot join "+e.type.name+" onto "+n.type.name)}function jl(n,e,t){let r=n.node(t);return eh(r,e.node(t)),r}function Pr(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 us(n,e,t,r){let o=(e||n).node(t),s=0,i=e?e.index(t):o.childCount;n&&(s=n.index(t),n.depth>t?s++:n.textOffset&&(Pr(n.nodeAfter,r),s++));for(let l=s;l<i;l++)Pr(o.child(l),r);e&&e.depth==t&&e.textOffset&&Pr(e.nodeBefore,r)}function Fr(n,e){return n.type.checkContent(e),n.copy(e)}function th(n,e,t,r,o){let s=n.depth>o&&jl(n,e,o+1),i=r.depth>o&&jl(t,r,o+1),l=[];return us(null,n,o,l),s&&i&&e.index(o)==t.index(o)?(eh(s,i),Pr(Fr(s,th(n,e,t,r,o+1)),l)):(s&&Pr(Fr(s,vi(n,e,o+1)),l),us(e,t,o,l),i&&Pr(Fr(i,vi(t,r,o+1)),l)),us(r,null,o,l),new fe(l)}function vi(n,e,t){let r=[];if(us(null,n,t,r),n.depth>t){let o=jl(n,e,t+1);Pr(Fr(o,vi(n,e,t+1)),r)}return us(e,null,t,r),new fe(r)}function Hy(n,e){let t=e.depth-n.openStart,o=e.node(t).copy(n.content);for(let s=t-1;s>=0;s--)o=e.node(s).copy(fe.from(o));return{start:o.resolveNoCache(n.openStart+t),end:o.resolveNoCache(o.content.size-n.openEnd-t)}}class ds{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 s=0;s<e;s++)o+=r.child(s).nodeSize;return o}marks(){let e=this.parent,t=this.index();if(e.content.size==0)return We.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 s=r.marks;for(var i=0;i<s.length;i++)s[i].type.spec.inclusive===!1&&(!o||!s[i].isInSet(o.marks))&&(s=s[i--].removeFromSet(s));return s}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 s=0;s<r.length;s++)r[s].type.spec.inclusive===!1&&(!o||!r[s].isInSet(o.marks))&&(r=r[s--].removeFromSet(r));return r}sharedDepth(e){for(let t=this.depth;t>0;t--)if(this.start(t)<=e&&this.end(t)>=e)return t;return 0}blockRange(e=this,t){if(e.pos<this.pos)return e.blockRange(this);for(let r=this.depth-(this.parent.inlineContent||this.pos==e.pos?1:0);r>=0;r--)if(e.pos<=this.end(r)&&(!t||t(this.node(r))))return new Ei(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,s=t;for(let i=e;;){let{index:l,offset:a}=i.content.findIndex(s),u=s-a;if(r.push(i,l,o+a),!u||(i=i.child(l),i.isText))break;s=u-1,o+=a+1}return new ds(t,r,s)}static resolveCached(e,t){for(let o=0;o<Wl.length;o++){let s=Wl[o];if(s.pos==t&&s.doc==e)return s}let r=Wl[Kl]=ds.resolve(e,t);return Kl=(Kl+1)%jy,r}}let Wl=[],Kl=0,jy=12;class Ei{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 Wy=Object.create(null);let Vr=class xd{constructor(e,t,r,o=We.none){this.type=e,this.attrs=t,this.marks=o,this.content=r||fe.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&&gi(this.attrs,t||e.defaultAttrs||Wy)&&We.sameSet(this.marks,r||We.none)}copy(e=null){return e==this.content?this:new xd(this.type,this.attrs,e,this.marks)}mark(e){return e==this.marks?this:new xd(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 we.empty;let o=this.resolve(e),s=this.resolve(t),i=r?0:o.sharedDepth(t),l=o.start(i),u=o.node(i).content.cut(o.pos-l,s.pos-l);return new we(u,o.depth-i,s.depth-i)}replace(e,t,r){return zy(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 ds.resolveCached(this,e)}resolveNoCache(e){return ds.resolve(this,e)}rangeHasMark(e,t,r){let o=!1;return t>e&&this.nodesBetween(e,t,s=>(r.isInSet(s.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()+")"),nh(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=fe.empty,o=0,s=r.childCount){let i=this.contentMatchAt(e).matchFragment(r,o,s),l=i&&i.matchFragment(this.content,t);if(!l||!l.validEnd)return!1;for(let a=o;a<s;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 s=this.contentMatchAt(e).matchType(r),i=s&&s.matchFragment(this.content,t);return i?i.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=We.none;for(let t=0;t<this.marks.length;t++)e=this.marks[t].addToSet(e);if(!We.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=fe.fromJSON(e,t.content);return e.nodeType(t.type).create(t.attrs,o,r)}};Vr.prototype.text=void 0;class Ci extends Vr{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):nh(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 Ci(this.type,this.attrs,this.text,e)}withText(e){return e==this.text?this:new Ci(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 nh(n,e){for(let t=n.length-1;t>=0;t--)e=n[t].type.name+"("+e+")";return e}class $r{constructor(e){this.validEnd=e,this.next=[],this.wrapCache=[]}static parse(e,t){let r=new Ky(e,t);if(r.next==null)return $r.empty;let o=rh(r);r.next&&r.err("Unexpected trailing text");let s=qy(Xy(o));return ev(s,r),s}matchType(e){for(let t=0;t<this.next.length;t++)if(this.next[t].type==e)return this.next[t].next;return null}matchFragment(e,t=0,r=e.childCount){let o=this;for(let s=t;o&&s<r;s++)o=o.matchType(e.child(s).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 s(i,l){let a=i.matchFragment(e,r);if(a&&(!t||a.validEnd))return fe.from(l.map(u=>u.createAndFill()));for(let u=0;u<i.next.length;u++){let{type:d,next:f}=i.next[u];if(!(d.isText||d.hasRequiredAttrs())&&o.indexOf(f)==-1){o.push(f);let h=s(f,l.concat(d));if(h)return h}}return null}return s(this,[])}findWrapping(e){for(let r=0;r<this.wrapCache.length;r+=2)if(this.wrapCache[r]==e)return this.wrapCache[r+1];let t=this.computeWrapping(e);return this.wrapCache.push(e,t),t}computeWrapping(e){let t=Object.create(null),r=[{match:this,type:null,via:null}];for(;r.length;){let o=r.shift(),s=o.match;if(s.matchType(e)){let i=[];for(let l=o;l.type;l=l.via)i.push(l.type);return i.reverse()}for(let i=0;i<s.next.length;i++){let{type:l,next:a}=s.next[i];!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 s=o+(r.validEnd?"*":" ")+" ";for(let i=0;i<r.next.length;i++)s+=(i?", ":"")+r.next[i].type.name+"->"+e.indexOf(r.next[i].next);return s}).join(`
|
|
63
|
-
`)}}$r.empty=new $r(!0);class Ky{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 rh(n){let e=[];do e.push(Yy(n));while(n.eat("|"));return e.length==1?e[0]:{type:"choice",exprs:e}}function Yy(n){let e=[];do e.push(Gy(n));while(n.next&&n.next!=")"&&n.next!="|");return e.length==1?e[0]:{type:"seq",exprs:e}}function Gy(n){let e=Jy(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=Qy(n,e);else break;return e}function oh(n){/\D/.test(n.next)&&n.err("Expected number, got '"+n.next+"'");let e=Number(n.next);return n.pos++,e}function Qy(n,e){let t=oh(n),r=t;return n.eat(",")&&(n.next!="}"?r=oh(n):r=-1),n.eat("}")||n.err("Unclosed braced range"),{type:"range",min:t,max:r,expr:e}}function Zy(n,e){let t=n.nodeTypes,r=t[e];if(r)return[r];let o=[];for(let s in t){let i=t[s];i.groups.indexOf(e)>-1&&o.push(i)}return o.length==0&&n.err("No node type or group '"+e+"' found"),o}function Jy(n){if(n.eat("(")){let e=rh(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=Zy(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 Xy(n){let e=[[]];return o(s(n,0),t()),e;function t(){return e.push([])-1}function r(i,l,a){let u={term:a,to:l};return e[i].push(u),u}function o(i,l){i.forEach(a=>a.to=l)}function s(i,l){if(i.type=="choice")return i.exprs.reduce((a,u)=>a.concat(s(u,l)),[]);if(i.type=="seq")for(let a=0;;a++){let u=s(i.exprs[a],l);if(a==i.exprs.length-1)return u;o(u,l=t())}else if(i.type=="star"){let a=t();return r(l,a),o(s(i.expr,a),a),[r(a)]}else if(i.type=="plus"){let a=t();return o(s(i.expr,l),a),o(s(i.expr,a),a),[r(a)]}else{if(i.type=="opt")return[r(l)].concat(s(i.expr,l));if(i.type=="range"){let a=l;for(let u=0;u<i.min;u++){let d=t();o(s(i.expr,a),d),a=d}if(i.max==-1)o(s(i.expr,a),a);else for(let u=i.min;u<i.max;u++){let d=t();r(a,d),o(s(i.expr,a),d),a=d}return[r(a)]}else{if(i.type=="name")return[r(l,void 0,i.value)];throw new Error("Unknown expr type")}}}}function sh(n,e){return e-n}function ih(n,e){let t=[];return r(e),t.sort(sh);function r(o){let s=n[o];if(s.length==1&&!s[0].term)return r(s[0].to);t.push(o);for(let i=0;i<s.length;i++){let{term:l,to:a}=s[i];!l&&t.indexOf(a)==-1&&r(a)}}}function qy(n){let e=Object.create(null);return t(ih(n,0));function t(r){let o=[];r.forEach(i=>{n[i].forEach(({term:l,to:a})=>{if(!l)return;let u;for(let d=0;d<o.length;d++)o[d][0]==l&&(u=o[d][1]);ih(n,a).forEach(d=>{u||o.push([l,u=[]]),u.indexOf(d)==-1&&u.push(d)})})});let s=e[r.join(",")]=new $r(r.indexOf(n.length-1)>-1);for(let i=0;i<o.length;i++){let l=o[i][1].sort(sh);s.next.push({type:o[i][0],next:e[l.join(",")]||t(l)})}return s}}function ev(n,e){for(let t=0,r=[n];t<r.length;t++){let o=r[t],s=!o.validEnd,i=[];for(let l=0;l<o.next.length;l++){let{type:a,next:u}=o.next[l];i.push(a.name),s&&!(a.isText||a.hasRequiredAttrs())&&(s=!1),r.indexOf(u)==-1&&r.push(u)}s&&e.err("Only non-generatable nodes ("+i.join(", ")+") in a required position (see https://prosemirror.net/docs/guide/#generatable)")}}function ah(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 lh(n,e){let t=Object.create(null);for(let r in n){let o=e&&e[r];if(o===void 0){let s=n[r];if(s.hasDefault)o=s.default;else throw new RangeError("No value supplied for attribute "+r)}t[r]=o}return t}function ch(n){let e=Object.create(null);if(n)for(let t in n)e[t]=new tv(n[t]);return e}let uh=class Hg{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=ch(r.attrs),this.defaultAttrs=ah(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==$r.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:lh(this.attrs,e)}create(e=null,t,r){if(this.isText)throw new Error("NodeType.create can't construct text nodes");return new Vr(this,this.computeAttrs(e),fe.from(t),We.setFrom(r))}createChecked(e=null,t,r){return t=fe.from(t),this.checkContent(t),new Vr(this,this.computeAttrs(e),t,We.setFrom(r))}createAndFill(e=null,t,r){if(e=this.computeAttrs(e),t=fe.from(t),t.size){let i=this.contentMatch.fillBefore(t);if(!i)return null;t=i.append(t)}let o=this.contentMatch.matchFragment(t),s=o&&o.fillBefore(fe.empty,!0);return s?new Vr(this,e,t.append(s),We.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:We.none:e}static compile(e,t){let r=Object.create(null);e.forEach((s,i)=>r[s]=new Hg(s,t,i));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 s in r.text.attrs)throw new RangeError("The text node type should not have attributes");return r}};class tv{constructor(e){this.hasDefault=Object.prototype.hasOwnProperty.call(e,"default"),this.default=e.default}get isRequired(){return!this.hasDefault}}class Ai{constructor(e,t,r,o){this.name=e,this.rank=t,this.schema=r,this.spec=o,this.attrs=ch(o.attrs),this.excluded=null;let s=ah(this.attrs);this.instance=s?new We(this,s):null}create(e=null){return!e&&this.instance?this.instance:new We(this,lh(this.attrs,e))}static compile(e,t){let r=Object.create(null),o=0;return e.forEach((s,i)=>r[s]=new Ai(s,o++,t,i)),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 nv{constructor(e){this.cached=Object.create(null);let t=this.spec={};for(let o in e)t[o]=e[o];t.nodes=ht.from(e.nodes),t.marks=ht.from(e.marks||{}),this.nodes=uh.compile(this.spec.nodes,this),this.marks=Ai.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 s=this.nodes[o],i=s.spec.content||"",l=s.spec.marks;s.contentMatch=r[i]||(r[i]=$r.parse(i,this.nodes)),s.inlineContent=s.contentMatch.inlineContent,s.markSet=l=="_"?null:l?dh(this,l.split(" ")):l==""||!s.inlineContent?[]:null}for(let o in this.marks){let s=this.marks[o],i=s.spec.excludes;s.excluded=i==null?[s]:i==""?[]:dh(this,i.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 uh){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 Ci(r,r.defaultAttrs,e,We.setFrom(t))}mark(e,t){return typeof e=="string"&&(e=this.marks[e]),e.create(t)}nodeFromJSON(e){return Vr.fromJSON(this,e)}markFromJSON(e){return We.fromJSON(this,e)}nodeType(e){let t=this.nodes[e];if(!t)throw new RangeError("Unknown node type: "+e);return t}}function dh(n,e){let t=[];for(let r=0;r<e.length;r++){let o=e[r],s=n.marks[o],i=s;if(s)t.push(s);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(i=a)}if(!i)throw new SyntaxError("Unknown mark type: '"+e[r]+"'")}return t}class po{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 mh(this,t,!1);return r.addAll(e,t.from,t.to),r.finish()}parseSlice(e,t={}){let r=new mh(this,t,!0);return r.addAll(e,t.from,t.to),we.maxOpen(r.finish())}matchTag(e,t,r){for(let o=r?this.tags.indexOf(r)+1:0;o<this.tags.length;o++){let s=this.tags[o];if(sv(e,s.tag)&&(s.namespace===void 0||e.namespaceURI==s.namespace)&&(!s.context||t.matchesContext(s.context))){if(s.getAttrs){let i=s.getAttrs(e);if(i===!1)continue;s.attrs=i||void 0}return s}}}matchStyle(e,t,r,o){for(let s=o?this.styles.indexOf(o)+1:0;s<this.styles.length;s++){let i=this.styles[s],l=i.style;if(!(l.indexOf(e)!=0||i.context&&!r.matchesContext(i.context)||l.length>e.length&&(l.charCodeAt(e.length)!=61||l.slice(e.length+1)!=t))){if(i.getAttrs){let a=i.getAttrs(t);if(a===!1)continue;i.attrs=a||void 0}return i}}}static schemaRules(e){let t=[];function r(o){let s=o.priority==null?50:o.priority,i=0;for(;i<t.length;i++){let l=t[i];if((l.priority==null?50:l.priority)<s)break}t.splice(i,0,o)}for(let o in e.marks){let s=e.marks[o].spec.parseDOM;s&&s.forEach(i=>{r(i=gh(i)),i.mark||i.ignore||i.clearMark||(i.mark=o)})}for(let o in e.nodes){let s=e.nodes[o].spec.parseDOM;s&&s.forEach(i=>{r(i=gh(i)),i.node||i.ignore||i.mark||(i.node=o)})}return t}static fromSchema(e){return e.cached.domParser||(e.cached.domParser=new po(e,po.schemaRules(e)))}}const fh={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},rv={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},hh={ol:!0,ul:!0},bi=1,wi=2,fs=4;function ph(n,e,t){return e!=null?(e?bi:0)|(e==="full"?wi:0):n&&n.whitespace=="pre"?bi|wi:t&~fs}class Ti{constructor(e,t,r,o,s,i,l){this.type=e,this.attrs=t,this.marks=r,this.pendingMarks=o,this.solid=s,this.options=l,this.content=[],this.activeMarks=We.none,this.stashMarks=[],this.match=i||(l&fs?null:e.contentMatch)}findWrapping(e){if(!this.match){if(!this.type)return[];let t=this.type.contentMatch.fillBefore(fe.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&bi)){let r=this.content[this.content.length-1],o;if(r&&r.isText&&(o=/[ \t\r\n\u000c]+$/.exec(r.text))){let s=r;r.text.length==o[0].length?this.content.pop():this.content[this.content.length-1]=s.withText(s.text.slice(0,s.text.length-o[0].length))}}let t=fe.from(this.content);return!e&&this.match&&(t=t.append(this.match.fillBefore(fe.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):av(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&&!fh.hasOwnProperty(e.parentNode.nodeName.toLowerCase())}}class mh{constructor(e,t,r){this.parser=e,this.options=t,this.isOpen=r,this.open=0;let o=t.topNode,s,i=ph(null,t.preserveWhitespace,0)|(r?fs:0);o?s=new Ti(o.type,o.attrs,We.none,We.none,!0,t.topMatch||o.type.contentMatch,i):r?s=new Ti(null,null,We.none,We.none,!0,null,i):s=new Ti(e.schema.topNodeType,null,We.none,We.none,!0,null,i),this.nodes=[s],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(iv(r));if(!o)return;let[s,i]=o,l=this.top;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]);t();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])}addTextNode(e){let t=e.nodeValue,r=this.top;if(r.options&wi||r.inlineContext(e)||/[^ \t\r\n\u000c]/.test(t)){if(r.options&bi)r.options&wi?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],s=e.previousSibling;(!o||s&&s.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;hh.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=We.none,r=We.none;for(let o=0;o<e.length;o+=2)for(let s=void 0;;){let i=this.parser.matchStyle(e[o],e[o+1],this,s);if(!i)break;if(i.ignore)return null;if(i.clearMark?this.top.pendingMarks.concat(this.top.activeMarks).forEach(l=>{i.clearMark(l)&&(r=l.addToSet(r))}):t=this.parser.schema.marks[i.mark].create(i.attrs).addToSet(t),i.consuming===!1)s=i;else break}return[t,r]}addElementByRule(e,t,r){let o,s,i;t.node?(s=this.parser.schema.nodes[t.node],s.isLeaf?this.insertNode(s.create(t.attrs))||this.leafFallback(e):o=this.enter(s,t.attrs||null,t.preserveWhitespace)):(i=this.parser.schema.marks[t.mark].create(t.attrs),this.addPendingMark(i));let l=this.top;if(s&&s.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--,i&&this.removePendingMark(i,l)}addAll(e,t,r){let o=t||0;for(let s=t?e.childNodes[t]:e.firstChild,i=r==null?null:e.childNodes[r];s!=i;s=s.nextSibling,++o)this.findAtPoint(e,o),this.addDOM(s);this.findAtPoint(e,o)}findPlace(e){let t,r;for(let o=this.open;o>=0;o--){let s=this.nodes[o],i=s.findWrapping(e);if(i&&(!t||t.length>i.length)&&(t=i,r=s,!i.length)||s.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 s=this.top;s.applyPending(e),s.match=s.match&&s.match.matchType(e);let i=ph(e,o,s.options);s.options&fs&&s.content.length==0&&(i|=fs),this.nodes.push(new Ti(e,t,s.activeMarks,s.pendingMarks,r,null,i)),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),s=-(r?r.depth+1:0)+(o?0:1),i=(l,a)=>{for(;l>=0;l--){let u=t[l];if(u==""){if(l==t.length-1||l==0)continue;for(;a>=s;a--)if(i(l-1,a))return!0;return!1}else{let d=a>0||a==0&&o?this.nodes[a].type:r&&a>=s?r.node(a-s).type:null;if(!d||d.name!=u&&d.groups.indexOf(u)==-1)return!1;a--}}return!0};return i(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=lv(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 i=o.popFromStashMark(e);i&&o.type&&o.type.allowsMarkType(i.type)&&(o.activeMarks=i.addToSet(o.activeMarks))}if(o==t)break}}}function ov(n){for(let e=n.firstChild,t=null;e;e=e.nextSibling){let r=e.nodeType==1?e.nodeName.toLowerCase():null;r&&hh.hasOwnProperty(r)&&t?(t.appendChild(e),e=t):r=="li"?t=e:r&&(t=null)}}function sv(n,e){return(n.matches||n.msMatchesSelector||n.webkitMatchesSelector||n.mozMatchesSelector).call(n,e)}function iv(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 gh(n){let e={};for(let t in n)e[t]=n[t];return e}function av(n,e){let t=e.schema.nodes;for(let r in t){let o=t[r];if(!o.allowsMarkType(n))continue;let s=[],i=l=>{s.push(l);for(let a=0;a<l.edgeCount;a++){let{type:u,next:d}=l.edge(a);if(u==e||s.indexOf(d)<0&&i(d))return!0}};if(i(o.contentMatch))return!0}}function lv(n,e){for(let t=0;t<e.length;t++)if(n.eq(e[t]))return e[t]}class En{constructor(e,t){this.nodes=e,this.marks=t}serializeFragment(e,t={},r){r||(r=Yl(t).createDocumentFragment());let o=r,s=[];return e.forEach(i=>{if(s.length||i.marks.length){let l=0,a=0;for(;l<s.length&&a<i.marks.length;){let u=i.marks[a];if(!this.marks[u.type.name]){a++;continue}if(!u.eq(s[l][0])||u.type.spec.spanning===!1)break;l++,a++}for(;l<s.length;)o=s.pop()[1];for(;a<i.marks.length;){let u=i.marks[a++],d=this.serializeMark(u,i.isInline,t);d&&(s.push([u,o]),o.appendChild(d.dom),o=d.contentDOM||d.dom)}}o.appendChild(this.serializeNodeInner(i,t))}),r}serializeNodeInner(e,t){let{dom:r,contentDOM:o}=En.renderSpec(Yl(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 s=this.serializeMark(e.marks[o],e.isInline,t);s&&((s.contentDOM||s.dom).appendChild(r),r=s.dom)}return r}serializeMark(e,t,r={}){let o=this.marks[e.type.name];return o&&En.renderSpec(Yl(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],s=o.indexOf(" ");s>0&&(r=o.slice(0,s),o=o.slice(s+1));let i,l=r?e.createElementNS(r,o):e.createElement(o),a=t[1],u=1;if(a&&typeof a=="object"&&a.nodeType==null&&!Array.isArray(a)){u=2;for(let d in a)if(a[d]!=null){let f=d.indexOf(" ");f>0?l.setAttributeNS(d.slice(0,f),d.slice(f+1),a[d]):l.setAttribute(d,a[d])}}for(let d=u;d<t.length;d++){let f=t[d];if(f===0){if(d<t.length-1||d>u)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}=En.renderSpec(e,f,r);if(l.appendChild(h),p){if(i)throw new RangeError("Multiple content holes");i=p}}}return{dom:l,contentDOM:i}}static fromSchema(e){return e.cached.domSerializer||(e.cached.domSerializer=new En(this.nodesFromSchema(e),this.marksFromSchema(e)))}static nodesFromSchema(e){let t=yh(e.nodes);return t.text||(t.text=r=>r.text),t}static marksFromSchema(e){return yh(e.marks)}}function yh(n){let e={};for(let t in n){let r=n[t].spec.toDOM;r&&(e[t]=r)}return e}function Yl(n){return n.document||window.document}const vh=65535,Eh=Math.pow(2,16);function cv(n,e){return n+e*Eh}function Ch(n){return n&vh}function uv(n){return(n-(n&vh))/Eh}const Ah=1,bh=2,Si=4,wh=8;class Gl{constructor(e,t,r){this.pos=e,this.delInfo=t,this.recover=r}get deleted(){return(this.delInfo&wh)>0}get deletedBefore(){return(this.delInfo&(Ah|Si))>0}get deletedAfter(){return(this.delInfo&(bh|Si))>0}get deletedAcross(){return(this.delInfo&Si)>0}}class $t{constructor(e,t=!1){if(this.ranges=e,this.inverted=t,!e.length&&$t.empty)return $t.empty}recover(e){let t=0,r=Ch(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+uv(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,s=this.inverted?2:1,i=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 u=this.ranges[l+s],d=this.ranges[l+i],f=a+u;if(e<=f){let h=u?e==a?-1:e==f?1:t:t,p=a+o+(h<0?0:d);if(r)return p;let m=e==(t<0?a:f)?null:cv(l/3,e-a),g=e==a?bh:e==f?Ah:Si;return(t<0?e!=a:e!=f)&&(g|=wh),new Gl(p,g,m)}o+=d-u}return r?e+o:new Gl(e+o,0,null)}touches(e,t){let r=0,o=Ch(t),s=this.inverted?2:1,i=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 u=this.ranges[l+s],d=a+u;if(e<=d&&l==o*3)return!0;r+=this.ranges[l+i]-u}return!1}forEach(e){let t=this.inverted?2:1,r=this.inverted?1:2;for(let o=0,s=0;o<this.ranges.length;o+=3){let i=this.ranges[o],l=i-(this.inverted?s:0),a=i+(this.inverted?0:s),u=this.ranges[o+t],d=this.ranges[o+r];e(l,l+u,a,a+d),s+=d-u}}invert(){return new $t(this.ranges,!this.inverted)}toString(){return(this.inverted?"-":"")+JSON.stringify(this.ranges)}static offset(e){return e==0?$t.empty:new $t(e<0?[0,-e,0]:[0,0,e])}}$t.empty=new $t([]);class hs{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 hs(this.maps,this.mirror,e,t)}copy(){return new hs(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 hs;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 s=this.from;s<this.to;s++){let i=this.maps[s],l=i.mapResult(e,t);if(l.recover!=null){let a=this.getMirror(s);if(a!=null&&a>s&&a<this.to){s=a,e=this.maps[a].recover(l.recover);continue}}o|=l.delInfo,e=l.pos}return r?e:new Gl(e,o,null)}}const Ql=Object.create(null);class yt{getMap(){return $t.empty}merge(e){return null}static fromJSON(e,t){if(!t||!t.stepType)throw new RangeError("Invalid input for Step.fromJSON");let r=Ql[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 Ql)throw new RangeError("Duplicate use of step JSON ID "+e);return Ql[e]=t,t.prototype.jsonID=e,t}}class ot{constructor(e,t){this.doc=e,this.failed=t}static ok(e){return new ot(e,null)}static fail(e){return new ot(null,e)}static fromReplace(e,t,r,o){try{return ot.ok(e.replace(t,r,o))}catch(s){if(s instanceof yi)return ot.fail(s.message);throw s}}}function Zl(n,e,t){let r=[];for(let o=0;o<n.childCount;o++){let s=n.child(o);s.content.size&&(s=s.copy(Zl(s.content,e,s))),s.isInline&&(s=e(s,t,o)),r.push(s)}return fe.fromArray(r)}class qn extends yt{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)),s=new we(Zl(t.content,(i,l)=>!i.isAtom||!l.type.allowsMarkType(this.mark.type)?i:i.mark(this.mark.addToSet(i.marks)),o),t.openStart,t.openEnd);return ot.fromReplace(e,this.from,this.to,s)}invert(){return new Cn(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 qn(t.pos,r.pos,this.mark)}merge(e){return e instanceof qn&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new qn(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 qn(t.from,t.to,e.markFromJSON(t.mark))}}yt.jsonID("addMark",qn);class Cn extends yt{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 we(Zl(t.content,o=>o.mark(this.mark.removeFromSet(o.marks)),e),t.openStart,t.openEnd);return ot.fromReplace(e,this.from,this.to,r)}invert(){return new qn(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 Cn(t.pos,r.pos,this.mark)}merge(e){return e instanceof Cn&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new Cn(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 Cn(t.from,t.to,e.markFromJSON(t.mark))}}yt.jsonID("removeMark",Cn);class er extends yt{constructor(e,t){super(),this.pos=e,this.mark=t}apply(e){let t=e.nodeAt(this.pos);if(!t)return ot.fail("No node at mark step's position");let r=t.type.create(t.attrs,null,this.mark.addToSet(t.marks));return ot.fromReplace(e,this.pos,this.pos+1,new we(fe.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 er(this.pos,t.marks[o]);return new er(this.pos,this.mark)}}return new mo(this.pos,this.mark)}map(e){let t=e.mapResult(this.pos,1);return t.deletedAfter?null:new er(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 er(t.pos,e.markFromJSON(t.mark))}}yt.jsonID("addNodeMark",er);class mo extends yt{constructor(e,t){super(),this.pos=e,this.mark=t}apply(e){let t=e.nodeAt(this.pos);if(!t)return ot.fail("No node at mark step's position");let r=t.type.create(t.attrs,null,this.mark.removeFromSet(t.marks));return ot.fromReplace(e,this.pos,this.pos+1,new we(fe.from(r),0,t.isLeaf?0:1))}invert(e){let t=e.nodeAt(this.pos);return!t||!this.mark.isInSet(t.marks)?this:new er(this.pos,this.mark)}map(e){let t=e.mapResult(this.pos,1);return t.deletedAfter?null:new mo(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 mo(t.pos,e.markFromJSON(t.mark))}}yt.jsonID("removeNodeMark",mo);class pt extends yt{constructor(e,t,r,o=!1){super(),this.from=e,this.to=t,this.slice=r,this.structure=o}apply(e){return this.structure&&Jl(e,this.from,this.to)?ot.fail("Structure replace would overwrite content"):ot.fromReplace(e,this.from,this.to,this.slice)}getMap(){return new $t([this.from,this.to-this.from,this.slice.size])}invert(e){return new pt(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 pt(t.pos,Math.max(t.pos,r.pos),this.slice)}merge(e){if(!(e instanceof pt)||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?we.empty:new we(this.slice.content.append(e.slice.content),this.slice.openStart,e.slice.openEnd);return new pt(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?we.empty:new we(e.slice.content.append(this.slice.content),e.slice.openStart,this.slice.openEnd);return new pt(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 pt(t.from,t.to,we.fromJSON(e,t.slice),!!t.structure)}}yt.jsonID("replace",pt);class lt extends yt{constructor(e,t,r,o,s,i,l=!1){super(),this.from=e,this.to=t,this.gapFrom=r,this.gapTo=o,this.slice=s,this.insert=i,this.structure=l}apply(e){if(this.structure&&(Jl(e,this.from,this.gapFrom)||Jl(e,this.gapTo,this.to)))return ot.fail("Structure gap-replace would overwrite content");let t=e.slice(this.gapFrom,this.gapTo);if(t.openStart||t.openEnd)return ot.fail("Gap is not a flat range");let r=this.slice.insertAt(this.insert,t.content);return r?ot.fromReplace(e,this.from,this.to,r):ot.fail("Content does not fit in gap")}getMap(){return new $t([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 lt(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),s=e.map(this.gapTo,1);return t.deletedAcross&&r.deletedAcross||o<t.pos||s>r.pos?null:new lt(t.pos,r.pos,o,s,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 lt(t.from,t.to,t.gapFrom,t.gapTo,we.fromJSON(e,t.slice),t.insert,!!t.structure)}}yt.jsonID("replaceAround",lt);function Jl(n,e,t){let r=n.resolve(e),o=t-e,s=r.depth;for(;o>0&&s>0&&r.indexAfter(s)==r.node(s).childCount;)s--,o--;if(o>0){let i=r.node(s).maybeChild(r.indexAfter(s));for(;o>0;){if(!i||i.isLeaf)return!0;i=i.firstChild,o--}}return!1}function dv(n,e,t,r){let o=[],s=[],i,l;n.doc.nodesBetween(e,t,(a,u,d)=>{if(!a.isInline)return;let f=a.marks;if(!r.isInSet(f)&&d.type.allowsMarkType(r.type)){let h=Math.max(u,e),p=Math.min(u+a.nodeSize,t),m=r.addToSet(f);for(let g=0;g<f.length;g++)f[g].isInSet(m)||(i&&i.to==h&&i.mark.eq(f[g])?i.to=p:o.push(i=new Cn(h,p,f[g])));l&&l.to==h?l.to=p:s.push(l=new qn(h,p,r))}}),o.forEach(a=>n.step(a)),s.forEach(a=>n.step(a))}function fv(n,e,t,r){let o=[],s=0;n.doc.nodesBetween(e,t,(i,l)=>{if(!i.isInline)return;s++;let a=null;if(r instanceof Ai){let u=i.marks,d;for(;d=r.isInSet(u);)(a||(a=[])).push(d),u=d.removeFromSet(u)}else r?r.isInSet(i.marks)&&(a=[r]):a=i.marks;if(a&&a.length){let u=Math.min(l+i.nodeSize,t);for(let d=0;d<a.length;d++){let f=a[d],h;for(let p=0;p<o.length;p++){let m=o[p];m.step==s-1&&f.eq(o[p].style)&&(h=m)}h?(h.to=u,h.step=s):o.push({style:f,from:Math.max(l,e),to:u,step:s})}}}),o.forEach(i=>n.step(new Cn(i.from,i.to,i.style)))}function hv(n,e,t,r=t.contentMatch){let o=n.doc.nodeAt(e),s=[],i=e+1;for(let l=0;l<o.childCount;l++){let a=o.child(l),u=i+a.nodeSize,d=r.matchType(a.type);if(!d)s.push(new pt(i,u,we.empty));else{r=d;for(let f=0;f<a.marks.length;f++)t.allowsMarkType(a.marks[f].type)||n.step(new Cn(i,u,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 we(fe.from(t.schema.text(" ",t.allowedMarks(a.marks))),0,0)),s.push(new pt(i+f.index,i+f.index+f[0].length,p))}}i=u}if(!r.validEnd){let l=r.fillBefore(fe.empty,!0);n.replace(i,i,new we(l,0,0))}for(let l=s.length-1;l>=0;l--)n.step(s[l])}function pv(n,e,t){return(e==0||n.canReplace(e,n.childCount))&&(t==n.childCount||n.canReplace(0,t))}function go(n){let t=n.parent.content.cutByIndex(n.startIndex,n.endIndex);for(let r=n.depth;;--r){let o=n.$from.node(r),s=n.$from.index(r),i=n.$to.indexAfter(r);if(r<n.depth&&o.canReplace(s,i,t))return r;if(r==0||o.type.spec.isolating||!pv(o,s,i))break}return null}function mv(n,e,t){let{$from:r,$to:o,depth:s}=e,i=r.before(s+1),l=o.after(s+1),a=i,u=l,d=fe.empty,f=0;for(let m=s,g=!1;m>t;m--)g||r.index(m)>0?(g=!0,d=fe.from(r.node(m).copy(d)),f++):a--;let h=fe.empty,p=0;for(let m=s,g=!1;m>t;m--)g||o.after(m+1)<o.end(m)?(g=!0,h=fe.from(o.node(m).copy(h)),p++):u++;n.step(new lt(a,u,i,l,new we(d.append(h),f,p),d.size-f,!0))}function Xl(n,e,t=null,r=n){let o=gv(n,e),s=o&&yv(r,e);return s?o.map(Th).concat({type:e,attrs:t}).concat(s.map(Th)):null}function Th(n){return{type:n,attrs:null}}function gv(n,e){let{parent:t,startIndex:r,endIndex:o}=n,s=t.contentMatchAt(r).findWrapping(e);if(!s)return null;let i=s.length?s[0]:e;return t.canReplaceWith(r,o,i)?s:null}function yv(n,e){let{parent:t,startIndex:r,endIndex:o}=n,s=t.child(r),i=e.contentMatch.findWrapping(s.type);if(!i)return null;let a=(i.length?i[i.length-1]:e).contentMatch;for(let u=r;a&&u<o;u++)a=a.matchType(t.child(u).type);return!a||!a.validEnd?null:i}function vv(n,e,t){let r=fe.empty;for(let i=t.length-1;i>=0;i--){if(r.size){let l=t[i].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=fe.from(t[i].type.create(t[i].attrs,r))}let o=e.start,s=e.end;n.step(new lt(o,s,o,s,new we(r,0,0),t.length,!0))}function Ev(n,e,t,r,o){if(!r.isTextblock)throw new RangeError("Type given to setBlockType should be a textblock");let s=n.steps.length;n.doc.nodesBetween(e,t,(i,l)=>{if(i.isTextblock&&!i.hasMarkup(r,o)&&Cv(n.doc,n.mapping.slice(s).map(l),r)){n.clearIncompatible(n.mapping.slice(s).map(l,1),r);let a=n.mapping.slice(s),u=a.map(l,1),d=a.map(l+i.nodeSize,1);return n.step(new lt(u,d,u+1,d-1,new we(fe.from(r.create(o,null,i.marks)),0,0),1,!0)),!1}})}function Cv(n,e,t){let r=n.resolve(e),o=r.index();return r.parent.canReplaceWith(o,o+1,t)}function Av(n,e,t,r,o){let s=n.doc.nodeAt(e);if(!s)throw new RangeError("No node at given position");t||(t=s.type);let i=t.create(r,null,o||s.marks);if(s.isLeaf)return n.replaceWith(e,e+s.nodeSize,i);if(!t.validContent(s.content))throw new RangeError("Invalid content for node type "+t.name);n.step(new lt(e,e+s.nodeSize,e+1,e+s.nodeSize-1,new we(fe.from(i),0,0),1,!0))}function yo(n,e,t=1,r){let o=n.resolve(e),s=o.depth-t,i=r&&r[r.length-1]||o.parent;if(s<0||o.parent.type.spec.isolating||!o.parent.canReplace(o.index(),o.parent.childCount)||!i.type.validContent(o.parent.content.cutByIndex(o.index(),o.parent.childCount)))return!1;for(let u=o.depth-1,d=t-2;u>s;u--,d--){let f=o.node(u),h=o.index(u);if(f.type.spec.isolating)return!1;let p=f.content.cutByIndex(h,f.childCount),m=r&&r[d+1];m&&(p=p.replaceChild(0,m.type.create(m.attrs)));let g=r&&r[d]||f;if(!f.canReplace(h+1,f.childCount)||!g.type.validContent(p))return!1}let l=o.indexAfter(s),a=r&&r[0];return o.node(s).canReplaceWith(l,l,a?a.type:o.node(s+1).type)}function bv(n,e,t=1,r){let o=n.doc.resolve(e),s=fe.empty,i=fe.empty;for(let l=o.depth,a=o.depth-t,u=t-1;l>a;l--,u--){s=fe.from(o.node(l).copy(s));let d=r&&r[u];i=fe.from(d?d.type.create(d.attrs,i):o.node(l).copy(i))}n.step(new pt(e,e,new we(s.append(i),t,t),!0))}function tr(n,e){let t=n.resolve(e),r=t.index();return Sh(t.nodeBefore,t.nodeAfter)&&t.parent.canReplace(r,r+1)}function Sh(n,e){return!!(n&&e&&!n.isLeaf&&n.canAppend(e))}function _i(n,e,t=-1){let r=n.resolve(e);for(let o=r.depth;;o--){let s,i,l=r.index(o);if(o==r.depth?(s=r.nodeBefore,i=r.nodeAfter):t>0?(s=r.node(o+1),l++,i=r.node(o).maybeChild(l)):(s=r.node(o).maybeChild(l-1),i=r.node(o+1)),s&&!s.isTextblock&&Sh(s,i)&&r.node(o).canReplace(l,l+1))return e;if(o==0)break;e=t<0?r.before(o):r.after(o)}}function wv(n,e,t){let r=new pt(e-t,e+t,we.empty,!0);n.step(r)}function Tv(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 s=r.index(o);if(r.node(o).canReplaceWith(s,s,t))return r.before(o+1);if(s>0)return null}if(r.parentOffset==r.parent.content.size)for(let o=r.depth-1;o>=0;o--){let s=r.indexAfter(o);if(r.node(o).canReplaceWith(s,s,t))return r.after(o+1);if(s<r.node(o).childCount)return null}return null}function Sv(n,e,t){let r=n.resolve(e);if(!t.content.size)return e;let o=t.content;for(let s=0;s<t.openStart;s++)o=o.firstChild.content;for(let s=1;s<=(t.openStart==0&&t.size?2:1);s++)for(let i=r.depth;i>=0;i--){let l=i==r.depth?0:r.pos<=(r.start(i+1)+r.end(i+1))/2?-1:1,a=r.index(i)+(l>0?1:0),u=r.node(i),d=!1;if(s==1)d=u.canReplace(a,a,o);else{let f=u.contentMatchAt(a).findWrapping(o.firstChild.type);d=f&&u.canReplaceWith(a,a,f[0])}if(d)return l==0?r.pos:l<0?r.before(i+1):r.after(i+1)}return null}function ql(n,e,t=e,r=we.empty){if(e==t&&!r.size)return null;let o=n.resolve(e),s=n.resolve(t);return _h(o,s,r)?new pt(e,t,r):new _v(o,s,r).fit()}function _h(n,e,t){return!t.openStart&&!t.openEnd&&n.start()==e.start()&&n.parent.canReplace(n.index(),e.index(),t.content)}class _v{constructor(e,t,r){this.$from=e,this.$to=t,this.unplaced=r,this.frontier=[],this.placed=fe.empty;for(let o=0;o<=e.depth;o++){let s=e.node(o);this.frontier.push({type:s.type,match:s.contentMatchAt(e.indexAfter(o))})}for(let o=e.depth;o>0;o--)this.placed=fe.from(e.node(o).copy(this.placed))}get depth(){return this.frontier.length-1}fit(){for(;this.unplaced.size;){let u=this.findFittable();u?this.placeNodes(u):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 s=this.placed,i=r.depth,l=o.depth;for(;i&&l&&s.childCount==1;)s=s.firstChild.content,i--,l--;let a=new we(s,i,l);return e>-1?new lt(r.pos,e,this.$to.pos,this.$to.end(),a,t):a.size||r.pos!=this.$to.pos?new pt(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 s=t.firstChild;if(t.childCount>1&&(o=0),s.type.spec.isolating&&o<=r){e=r;break}t=s.content}for(let t=1;t<=2;t++)for(let r=t==1?e:this.unplaced.openStart;r>=0;r--){let o,s=null;r?(s=ec(this.unplaced.content,r-1).firstChild,o=s.content):o=this.unplaced.content;let i=o.firstChild;for(let l=this.depth;l>=0;l--){let{type:a,match:u}=this.frontier[l],d,f=null;if(t==1&&(i?u.matchType(i.type)||(f=u.fillBefore(fe.from(i),!1)):s&&a.compatibleContent(s.type)))return{sliceDepth:r,frontierDepth:l,parent:s,inject:f};if(t==2&&i&&(d=u.findWrapping(i.type)))return{sliceDepth:r,frontierDepth:l,parent:s,wrap:d};if(s&&u.matchType(s.type))break}}}openMore(){let{content:e,openStart:t,openEnd:r}=this.unplaced,o=ec(e,t);return!o.childCount||o.firstChild.isLeaf?!1:(this.unplaced=new we(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=ec(e,t);if(o.childCount<=1&&t>0){let s=e.size-t<=t+o.size;this.unplaced=new we(ps(e,t-1,1),t-1,s?t-1:r)}else this.unplaced=new we(ps(e,t,1),t,r)}placeNodes({sliceDepth:e,frontierDepth:t,parent:r,inject:o,wrap:s}){for(;this.depth>t;)this.closeFrontierNode();if(s)for(let g=0;g<s.length;g++)this.openFrontierNode(s[g]);let i=this.unplaced,l=r?r.content:i.content,a=i.openStart-e,u=0,d=[],{match:f,type:h}=this.frontier[t];if(o){for(let g=0;g<o.childCount;g++)d.push(o.child(g));f=f.matchFragment(o)}let p=l.size+e-(i.content.size-i.openEnd);for(;u<l.childCount;){let g=l.child(u),y=f.matchType(g.type);if(!y)break;u++,(u>1||a==0||g.content.size)&&(f=y,d.push(kh(g.mark(h.allowedMarks(g.marks)),u==1?a:0,u==l.childCount?p:-1)))}let m=u==l.childCount;m||(p=-1),this.placed=ms(this.placed,t,fe.from(d)),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,y=l;g<p;g++){let C=y.lastChild;this.frontier.push({type:C.type,match:C.contentMatchAt(C.childCount)}),y=C.content}this.unplaced=m?e==0?we.empty:new we(ps(i.content,e-1,1),e-1,p<0?i.openEnd:e-1):new we(ps(i.content,e,u),i.openStart,i.openEnd)}mustMoveInline(){if(!this.$to.parent.isTextblock)return-1;let e=this.frontier[this.depth],t;if(!e.type.isTextblock||!tc(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],s=t<e.depth&&e.end(t+1)==e.pos+(e.depth-(t+1)),i=tc(e,t,o,r,s);if(i){for(let l=t-1;l>=0;l--){let{match:a,type:u}=this.frontier[l],d=tc(e,l,u,a,!0);if(!d||d.childCount)continue e}return{depth:t,fit:i,move:s?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=ms(this.placed,t.depth,t.fit)),e=t.move;for(let r=t.depth+1;r<=e.depth;r++){let o=e.node(r),s=o.type.contentMatch.fillBefore(o.content,!0,e.index(r));this.openFrontierNode(o.type,o.attrs,s)}return e}openFrontierNode(e,t=null,r){let o=this.frontier[this.depth];o.match=o.match.matchType(e),this.placed=ms(this.placed,this.depth,fe.from(e.create(t,r))),this.frontier.push({type:e,match:e.contentMatch})}closeFrontierNode(){let t=this.frontier.pop().match.fillBefore(fe.empty,!0);t.childCount&&(this.placed=ms(this.placed,this.frontier.length,t))}}function ps(n,e,t){return e==0?n.cutByIndex(t,n.childCount):n.replaceChild(0,n.firstChild.copy(ps(n.firstChild.content,e-1,t)))}function ms(n,e,t){return e==0?n.append(t):n.replaceChild(n.childCount-1,n.lastChild.copy(ms(n.lastChild.content,e-1,t)))}function ec(n,e){for(let t=0;t<e;t++)n=n.firstChild.content;return n}function kh(n,e,t){if(e<=0)return n;let r=n.content;return e>1&&(r=r.replaceChild(0,kh(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(fe.empty,!0)))),n.copy(r)}function tc(n,e,t,r,o){let s=n.node(e),i=o?n.indexAfter(e):n.index(e);if(i==s.childCount&&!t.compatibleContent(s.type))return null;let l=r.fillBefore(s.content,!0,i);return l&&!kv(t,s.content,i)?l:null}function kv(n,e,t){for(let r=t;r<e.childCount;r++)if(!n.allowsMarks(e.child(r).marks))return!0;return!1}function Nv(n){return n.spec.defining||n.spec.definingForContent}function Iv(n,e,t,r){if(!r.size)return n.deleteRange(e,t);let o=n.doc.resolve(e),s=n.doc.resolve(t);if(_h(o,s,r))return n.step(new pt(e,t,r));let i=Ih(o,n.doc.resolve(t));i[i.length-1]==0&&i.pop();let l=-(o.depth+1);i.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;i.indexOf(h)>-1?l=h:o.before(h)==p&&i.splice(1,0,-h)}let a=i.indexOf(l),u=[],d=r.openStart;for(let h=r.content,p=0;;p++){let m=h.firstChild;if(u.push(m),p==r.openStart)break;h=m.content}for(let h=d-1;h>=0;h--){let p=u[h],m=Nv(p.type);if(m&&!p.sameMarkup(o.node(Math.abs(l)-1)))d=h;else if(m||!p.type.isTextblock)break}for(let h=r.openStart;h>=0;h--){let p=(h+d+1)%(r.openStart+1),m=u[p];if(m)for(let g=0;g<i.length;g++){let y=i[(g+a)%i.length],C=!0;y<0&&(C=!1,y=-y);let w=o.node(y-1),E=o.index(y-1);if(w.canReplaceWith(E,E,m.type,m.marks))return n.replace(o.before(y),C?s.after(y):t,new we(Nh(r.content,0,r.openStart,p),p,r.openEnd))}}let f=n.steps.length;for(let h=i.length-1;h>=0&&(n.replace(e,t,r),!(n.steps.length>f));h--){let p=i[h];p<0||(e=o.before(p),t=s.after(p))}}function Nh(n,e,t,r,o){if(e<t){let s=n.firstChild;n=n.replaceChild(0,s.copy(Nh(s.content,e+1,t,r,s)))}if(e>r){let s=o.contentMatchAt(0),i=s.fillBefore(n).append(n);n=i.append(s.matchFragment(i).fillBefore(fe.empty,!0))}return n}function xv(n,e,t,r){if(!r.isInline&&e==t&&n.doc.resolve(e).parent.content.size){let o=Tv(n.doc,e,r.type);o!=null&&(e=t=o)}n.replaceRange(e,t,new we(fe.from(r),0,0))}function Mv(n,e,t){let r=n.doc.resolve(e),o=n.doc.resolve(t),s=Ih(r,o);for(let i=0;i<s.length;i++){let l=s[i],a=i==s.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 i=1;i<=r.depth&&i<=o.depth;i++)if(e-r.start(i)==r.depth-i&&t>r.end(i)&&o.end(i)-t!=o.depth-i)return n.delete(r.before(i),t);n.delete(e,t)}function Ih(n,e){let t=[],r=Math.min(n.depth,e.depth);for(let o=r;o>=0;o--){let s=n.start(o);if(s<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;(s==e.start(o)||o==n.depth&&o==e.depth&&n.parent.inlineContent&&e.parent.inlineContent&&o&&e.start(o-1)==s-1)&&t.push(o)}return t}class vo extends yt{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 ot.fail("No node at attribute step's position");let r=Object.create(null);for(let s in t.attrs)r[s]=t.attrs[s];r[this.attr]=this.value;let o=t.type.create(r,null,t.marks);return ot.fromReplace(e,this.pos,this.pos+1,new we(fe.from(o),0,t.isLeaf?0:1))}getMap(){return $t.empty}invert(e){return new vo(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 vo(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 vo(t.pos,t.attr,t.value)}}yt.jsonID("attr",vo);class gs extends yt{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 ot.ok(r)}getMap(){return $t.empty}invert(e){return new gs(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 gs(t.attr,t.value)}}yt.jsonID("docAttr",gs);let Eo=class extends Error{};Eo=function n(e){let t=Error.call(this,e);return t.__proto__=n.prototype,t},Eo.prototype=Object.create(Error.prototype),Eo.prototype.constructor=Eo,Eo.prototype.name="TransformError";class xh{constructor(e){this.doc=e,this.steps=[],this.docs=[],this.mapping=new hs}get before(){return this.docs.length?this.docs[0]:this.doc}step(e){let t=this.maybeStep(e);if(t.failed)throw new Eo(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=we.empty){let o=ql(this.doc,e,t,r);return o&&this.step(o),this}replaceWith(e,t,r){return this.replace(e,t,new we(fe.from(r),0,0))}delete(e,t){return this.replace(e,t,we.empty)}insert(e,t){return this.replaceWith(e,e,t)}replaceRange(e,t,r){return Iv(this,e,t,r),this}replaceRangeWith(e,t,r){return xv(this,e,t,r),this}deleteRange(e,t){return Mv(this,e,t),this}lift(e,t){return mv(this,e,t),this}join(e,t=1){return wv(this,e,t),this}wrap(e,t){return vv(this,e,t),this}setBlockType(e,t=e,r,o=null){return Ev(this,e,t,r,o),this}setNodeMarkup(e,t,r=null,o){return Av(this,e,t,r,o),this}setNodeAttribute(e,t,r){return this.step(new vo(e,t,r)),this}setDocAttribute(e,t){return this.step(new gs(e,t)),this}addNodeMark(e,t){return this.step(new er(e,t)),this}removeNodeMark(e,t){if(!(t instanceof We)){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 mo(e,t)),this}split(e,t=1,r){return bv(this,e,t,r),this}addMark(e,t,r){return dv(this,e,t,r),this}removeMark(e,t,r){return fv(this,e,t,r),this}clearIncompatible(e,t,r){return hv(this,e,t,r),this}}const nc=Object.create(null);class Ue{constructor(e,t,r){this.$anchor=e,this.$head=t,this.ranges=r||[new Ov(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=we.empty){let r=t.content.lastChild,o=null;for(let l=0;l<t.openEnd;l++)o=r,r=r.lastChild;let s=e.steps.length,i=this.ranges;for(let l=0;l<i.length;l++){let{$from:a,$to:u}=i[l],d=e.mapping.slice(s);e.replaceRange(d.map(a.pos),d.map(u.pos),l?we.empty:t),l==0&&Lh(e,s,(r?r.isInline:o&&o.isTextblock)?-1:1)}}replaceWith(e,t){let r=e.steps.length,o=this.ranges;for(let s=0;s<o.length;s++){let{$from:i,$to:l}=o[s],a=e.mapping.slice(r),u=a.map(i.pos),d=a.map(l.pos);s?e.deleteRange(u,d):(e.replaceRangeWith(u,d,t),Lh(e,r,t.isInline?-1:1))}}static findFrom(e,t,r=!1){let o=e.parent.inlineContent?new ze(e):Co(e.node(0),e.parent,e.pos,e.index(),t,r);if(o)return o;for(let s=e.depth-1;s>=0;s--){let i=t<0?Co(e.node(0),e.node(s),e.before(s+1),e.index(s),t,r):Co(e.node(0),e.node(s),e.after(s+1),e.index(s)+1,t,r);if(i)return i}return null}static near(e,t=1){return this.findFrom(e,t)||this.findFrom(e,-t)||new cn(e.node(0))}static atStart(e){return Co(e,e,0,0,1)||new cn(e)}static atEnd(e){return Co(e,e,e.content.size,e.childCount,-1)||new cn(e)}static fromJSON(e,t){if(!t||!t.type)throw new RangeError("Invalid input for Selection.fromJSON");let r=nc[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 nc)throw new RangeError("Duplicate use of selection JSON ID "+e);return nc[e]=t,t.prototype.jsonID=e,t}getBookmark(){return ze.between(this.$anchor,this.$head).getBookmark()}}Ue.prototype.visible=!0;class Ov{constructor(e,t){this.$from=e,this.$to=t}}let Mh=!1;function Oh(n){!Mh&&!n.parent.inlineContent&&(Mh=!0,console.warn("TextSelection endpoint not pointing into a node with inline content ("+n.parent.type.name+")"))}class ze extends Ue{constructor(e,t=e){Oh(e),Oh(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 Ue.near(r);let o=e.resolve(t.map(this.anchor));return new ze(o.parent.inlineContent?o:r,r)}replace(e,t=we.empty){if(super.replace(e,t),t==we.empty){let r=this.$from.marksAcross(this.$to);r&&e.ensureMarks(r)}}eq(e){return e instanceof ze&&e.anchor==this.anchor&&e.head==this.head}getBookmark(){return new ki(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 ze(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 s=Ue.findFrom(t,r,!0)||Ue.findFrom(t,-r,!0);if(s)t=s.$head;else return Ue.near(t,r)}return e.parent.inlineContent||(o==0?e=t:(e=(Ue.findFrom(e,-r,!0)||Ue.findFrom(e,r,!0)).$anchor,e.pos<t.pos!=o<0&&(e=t))),new ze(e,t)}}Ue.jsonID("text",ze);class ki{constructor(e,t){this.anchor=e,this.head=t}map(e){return new ki(e.map(this.anchor),e.map(this.head))}resolve(e){return ze.between(e.resolve(this.anchor),e.resolve(this.head))}}class Le extends Ue{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),s=e.resolve(o);return r?Ue.near(s):new Le(s)}content(){return new we(fe.from(this.node),0,0)}eq(e){return e instanceof Le&&e.anchor==this.anchor}toJSON(){return{type:"node",anchor:this.anchor}}getBookmark(){return new rc(this.anchor)}static fromJSON(e,t){if(typeof t.anchor!="number")throw new RangeError("Invalid input for NodeSelection.fromJSON");return new Le(e.resolve(t.anchor))}static create(e,t){return new Le(e.resolve(t))}static isSelectable(e){return!e.isText&&e.type.spec.selectable!==!1}}Le.prototype.visible=!1,Ue.jsonID("node",Le);class rc{constructor(e){this.anchor=e}map(e){let{deleted:t,pos:r}=e.mapResult(this.anchor);return t?new ki(r,r):new rc(r)}resolve(e){let t=e.resolve(this.anchor),r=t.nodeAfter;return r&&Le.isSelectable(r)?new Le(t):Ue.near(t)}}class cn extends Ue{constructor(e){super(e.resolve(0),e.resolve(e.content.size))}replace(e,t=we.empty){if(t==we.empty){e.delete(0,e.doc.content.size);let r=Ue.atStart(e.doc);r.eq(e.selection)||e.setSelection(r)}else super.replace(e,t)}toJSON(){return{type:"all"}}static fromJSON(e){return new cn(e)}map(e){return new cn(e)}eq(e){return e instanceof cn}getBookmark(){return Lv}}Ue.jsonID("all",cn);const Lv={map(){return this},resolve(n){return new cn(n)}};function Co(n,e,t,r,o,s=!1){if(e.inlineContent)return ze.create(n,t);for(let i=r-(o>0?0:1);o>0?i<e.childCount:i>=0;i+=o){let l=e.child(i);if(l.isAtom){if(!s&&Le.isSelectable(l))return Le.create(n,t-(o<0?l.nodeSize:0))}else{let a=Co(n,l,t+o,o<0?l.childCount:0,o,s);if(a)return a}t+=l.nodeSize*o}return null}function Lh(n,e,t){let r=n.steps.length-1;if(r<e)return;let o=n.steps[r];if(!(o instanceof pt||o instanceof lt))return;let s=n.mapping.maps[r],i;s.forEach((l,a,u,d)=>{i==null&&(i=d)}),n.setSelection(Ue.near(n.doc.resolve(i),t))}const Dh=1,Ni=2,Rh=4;class Dv extends xh{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|Dh)&~Ni,this.storedMarks=null,this}get selectionSet(){return(this.updated&Dh)>0}setStoredMarks(e){return this.storedMarks=e,this.updated|=Ni,this}ensureMarks(e){return We.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)||We.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 s=this.storedMarks;if(!s){let i=this.doc.resolve(t);s=r==t?i.marks():i.marksAcross(this.doc.resolve(r))}return this.replaceRangeWith(t,r,o.text(e,s)),this.selection.empty||this.setSelection(Ue.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|=Rh,this}get scrolledIntoView(){return(this.updated&Rh)>0}}function Bh(n,e){return!e||!n?n:n.bind(e)}class ys{constructor(e,t,r){this.name=e,this.init=Bh(t.init,r),this.apply=Bh(t.apply,r)}}const Rv=[new ys("doc",{init(n){return n.doc||n.schema.topNodeType.createAndFill()},apply(n){return n.doc}}),new ys("selection",{init(n,e){return n.selection||Ue.atStart(e.doc)},apply(n){return n.selection}}),new ys("storedMarks",{init(n){return n.storedMarks||null},apply(n,e,t,r){return r.selection.$cursor?n.storedMarks:null}}),new ys("scrollToSelection",{init(){return 0},apply(n,e){return n.scrolledIntoView?e+1:e}})];class oc{constructor(e,t){this.schema=e,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=Rv.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 ys(r.key,r.spec.state,r))})}}class Ao{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 s=!1;for(let i=0;i<this.config.plugins.length;i++){let l=this.config.plugins[i];if(l.spec.appendTransaction){let a=o?o[i].n:0,u=o?o[i].state:this,d=a<t.length&&l.spec.appendTransaction.call(l,a?t.slice(a):t,u,r);if(d&&r.filterTransaction(d,i)){if(d.setMeta("appendedTransaction",e),!o){o=[];for(let f=0;f<this.config.plugins.length;f++)o.push(f<i?{state:r,n:t.length}:{state:this,n:0})}t.push(d),r=r.applyInner(d),s=!0}o&&(o[i]={state:r,n:t.length})}}if(!s)return{state:r,transactions:t}}}applyInner(e){if(!e.before.eq(this.doc))throw new RangeError("Applying a mismatched transaction");let t=new Ao(this.config),r=this.config.fields;for(let o=0;o<r.length;o++){let s=r[o];t[s.name]=s.apply(e,this[s.name],this,t)}return t}get tr(){return new Dv(this)}static create(e){let t=new oc(e.doc?e.doc.type.schema:e.schema,e.plugins),r=new Ao(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 oc(this.schema,e.plugins),r=t.fields,o=new Ao(t);for(let s=0;s<r.length;s++){let i=r[s].name;o[i]=this.hasOwnProperty(i)?this[i]:r[s].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],s=o.spec.state;s&&s.toJSON&&(t[r]=s.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 oc(e.schema,e.plugins),s=new Ao(o);return o.fields.forEach(i=>{if(i.name=="doc")s.doc=Vr.fromJSON(e.schema,t.doc);else if(i.name=="selection")s.selection=Ue.fromJSON(s.doc,t.selection);else if(i.name=="storedMarks")t.storedMarks&&(s.storedMarks=t.storedMarks.map(e.schema.markFromJSON));else{if(r)for(let l in r){let a=r[l],u=a.spec.state;if(a.key==i.name&&u&&u.fromJSON&&Object.prototype.hasOwnProperty.call(t,l)){s[i.name]=u.fromJSON.call(a,e,t[l],s);return}}s[i.name]=i.init(e,s)}}),s}}function Ph(n,e,t){for(let r in n){let o=n[r];o instanceof Function?o=o.bind(e):r=="handleDOMEvents"&&(o=Ph(o,e,{})),t[r]=o}return t}class Dt{constructor(e){this.spec=e,this.props={},e.props&&Ph(e.props,this,this.props),this.key=e.key?e.key.key:Fh("plugin")}getState(e){return e[this.key]}}const sc=Object.create(null);function Fh(n){return n in sc?n+"$"+ ++sc[n]:(sc[n]=0,n+"$")}class un{constructor(e="key"){this.key=Fh(e)}get(e){return e.config.pluginsByKey[this.key]}getState(e){return e[this.key]}}const bt=function(n){for(var e=0;;e++)if(n=n.previousSibling,!n)return e},vs=function(n){let e=n.assignedSlot||n.parentNode;return e&&e.nodeType==11?e.host:e};let Vh=null;const Rn=function(n,e,t){let r=Vh||(Vh=document.createRange());return r.setEnd(n,t??n.nodeValue.length),r.setStart(n,e||0),r},Ur=function(n,e,t,r){return t&&($h(n,e,t,r,-1)||$h(n,e,t,r,1))},Bv=/^(img|br|input|textarea|hr)$/i;function $h(n,e,t,r,o){for(;;){if(n==t&&e==r)return!0;if(e==(o<0?0:An(n))){let s=n.parentNode;if(!s||s.nodeType!=1||ic(n)||Bv.test(n.nodeName)||n.contentEditable=="false")return!1;e=bt(n)+(o<0?0:1),n=s}else if(n.nodeType==1){if(n=n.childNodes[e+(o<0?-1:0)],n.contentEditable=="false")return!1;e=o<0?An(n):0}else return!1}}function An(n){return n.nodeType==3?n.nodeValue.length:n.childNodes.length}function Pv(n,e,t){for(let r=e==0,o=e==An(n);r||o;){if(n==t)return!0;let s=bt(n);if(n=n.parentNode,!n)return!1;r=r&&s==0,o=o&&s==An(n)}}function ic(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 Ii=function(n){return n.focusNode&&Ur(n.focusNode,n.focusOffset,n.anchorNode,n.anchorOffset)};function zr(n,e){let t=document.createEvent("Event");return t.initEvent("keydown",!0,!0),t.keyCode=n,t.key=t.code=e,t}function Fv(n){let e=n.activeElement;for(;e&&e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function Vv(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 bn=typeof navigator<"u"?navigator:null,Uh=typeof document<"u"?document:null,nr=bn&&bn.userAgent||"",ac=/Edge\/(\d+)/.exec(nr),zh=/MSIE \d/.exec(nr),lc=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(nr),Rt=!!(zh||lc||ac),rr=zh?document.documentMode:lc?+lc[1]:ac?+ac[1]:0,dn=!Rt&&/gecko\/(\d+)/i.test(nr);dn&&+(/Firefox\/(\d+)/.exec(nr)||[0,0])[1];const cc=!Rt&&/Chrome\/(\d+)/.exec(nr),vt=!!cc,$v=cc?+cc[1]:0,wt=!Rt&&!!bn&&/Apple Computer/.test(bn.vendor),bo=wt&&(/Mobile\/\w+/.test(nr)||!!bn&&bn.maxTouchPoints>2),Gt=bo||(bn?/Mac/.test(bn.platform):!1),Uv=bn?/Win/.test(bn.platform):!1,fn=/Android \d/.test(nr),Es=!!Uh&&"webkitFontSmoothing"in Uh.documentElement.style,zv=Es?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0;function Hv(n){return{left:0,right:n.documentElement.clientWidth,top:0,bottom:n.documentElement.clientHeight}}function Bn(n,e){return typeof n=="number"?n:n[e]}function jv(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 Hh(n,e,t){let r=n.someProp("scrollThreshold")||0,o=n.someProp("scrollMargin")||5,s=n.dom.ownerDocument;for(let i=t||n.dom;i;i=vs(i)){if(i.nodeType!=1)continue;let l=i,a=l==s.body,u=a?Hv(s):jv(l),d=0,f=0;if(e.top<u.top+Bn(r,"top")?f=-(u.top-e.top+Bn(o,"top")):e.bottom>u.bottom-Bn(r,"bottom")&&(f=e.bottom-e.top>u.bottom-u.top?e.top+Bn(o,"top")-u.top:e.bottom-u.bottom+Bn(o,"bottom")),e.left<u.left+Bn(r,"left")?d=-(u.left-e.left+Bn(o,"left")):e.right>u.right-Bn(r,"right")&&(d=e.right-u.right+Bn(o,"right")),d||f)if(a)s.defaultView.scrollBy(d,f);else{let h=l.scrollLeft,p=l.scrollTop;f&&(l.scrollTop+=f),d&&(l.scrollLeft+=d);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(i).position))break}}function Wv(n){let e=n.dom.getBoundingClientRect(),t=Math.max(0,e.top),r,o;for(let s=(e.left+e.right)/2,i=t+1;i<Math.min(innerHeight,e.bottom);i+=5){let l=n.root.elementFromPoint(s,i);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:jh(n.dom)}}function jh(n){let e=[],t=n.ownerDocument;for(let r=n;r&&(e.push({dom:r,top:r.scrollTop,left:r.scrollLeft}),n!=t);r=vs(r));return e}function Kv({refDOM:n,refTop:e,stack:t}){let r=n?n.getBoundingClientRect().top:0;Wh(t,r==0?0:r-e)}function Wh(n,e){for(let t=0;t<n.length;t++){let{dom:r,top:o,left:s}=n[t];r.scrollTop!=o+e&&(r.scrollTop=o+e),r.scrollLeft!=s&&(r.scrollLeft=s)}}let wo=null;function Yv(n){if(n.setActive)return n.setActive();if(wo)return n.focus(wo);let e=jh(n);n.focus(wo==null?{get preventScroll(){return wo={preventScroll:!0},!0}}:void 0),wo||(wo=!1,Wh(e,0))}function Kh(n,e){let t,r=2e8,o,s=0,i=e.top,l=e.top,a,u;for(let d=n.firstChild,f=0;d;d=d.nextSibling,f++){let h;if(d.nodeType==1)h=d.getClientRects();else if(d.nodeType==3)h=Rn(d).getClientRects();else continue;for(let p=0;p<h.length;p++){let m=h[p];if(m.top<=i&&m.bottom>=l){i=Math.max(m.bottom,i),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=d,r=g,o=g&&t.nodeType==3?{left:m.right<e.left?m.right:m.left,top:e.top}:e,d.nodeType==1&&g&&(s=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=d,u={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)&&(s=f+1)}}return!t&&a&&(t=a,o=u,r=0),t&&t.nodeType==3?Gv(t,o):!t||r&&t.nodeType==1?{node:n,offset:s}:Kh(t,o)}function Gv(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 s=or(r,1);if(s.top!=s.bottom&&uc(e,s))return{node:n,offset:o+(e.left>=(s.left+s.right)/2?1:0)}}return{node:n,offset:0}}function uc(n,e){return n.left>=e.left-1&&n.left<=e.right+1&&n.top>=e.top-1&&n.top<=e.bottom+1}function Qv(n,e){let t=n.parentNode;return t&&/^li$/i.test(t.nodeName)&&e.left<n.getBoundingClientRect().left?t:n}function Zv(n,e,t){let{node:r,offset:o}=Kh(e,t),s=-1;if(r.nodeType==1&&!r.firstChild){let i=r.getBoundingClientRect();s=i.left!=i.right&&t.left>(i.left+i.right)/2?1:-1}return n.docView.posFromDOM(r,o,s)}function Jv(n,e,t,r){let o=-1;for(let s=e,i=!1;s!=n.dom;){let l=n.docView.nearestDesc(s,!0);if(!l)return null;if(l.dom.nodeType==1&&(l.node.isBlock&&l.parent&&!i||!l.contentDOM)){let a=l.dom.getBoundingClientRect();if(l.node.isBlock&&l.parent&&!i&&(i=!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}s=l.dom.parentNode}return o>-1?o:n.docView.posFromDOM(e,t,-1)}function Yh(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)),s=o;;){let i=n.childNodes[s];if(i.nodeType==1){let l=i.getClientRects();for(let a=0;a<l.length;a++){let u=l[a];if(uc(e,u))return Yh(i,e,u)}}if((s=(s+1)%r)==o)break}return n}function Xv(n,e){let t=n.dom.ownerDocument,r,o=0,s=Vv(t,e.left,e.top);s&&({node:r,offset:o}=s);let i=(n.root.elementFromPoint?n.root:t).elementFromPoint(e.left,e.top),l;if(!i||!n.dom.contains(i.nodeType!=1?i.parentNode:i)){let u=n.dom.getBoundingClientRect();if(!uc(e,u)||(i=Yh(n.dom,e,u),!i))return null}if(wt)for(let u=i;r&&u;u=vs(u))u.draggable&&(r=void 0);if(i=Qv(i,e),r){if(dn&&r.nodeType==1&&(o=Math.min(o,r.childNodes.length),o<r.childNodes.length)){let d=r.childNodes[o],f;d.nodeName=="IMG"&&(f=d.getBoundingClientRect()).right<=e.left&&f.bottom>e.top&&o++}let u;Es&&o&&r.nodeType==1&&(u=r.childNodes[o-1]).nodeType==1&&u.contentEditable=="false"&&u.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=Jv(n,r,o,e))}l==null&&(l=Zv(n,i,e));let a=n.docView.nearestDesc(i,!0);return{pos:l,inside:a?a.posAtStart-a.border:-1}}function Gh(n){return n.top<n.bottom||n.left<n.right}function or(n,e){let t=n.getClientRects();if(t.length){let r=t[e<0?0:t.length-1];if(Gh(r))return r}return Array.prototype.find.call(t,Gh)||n.getBoundingClientRect()}const qv=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/;function Qh(n,e,t){let{node:r,offset:o,atom:s}=n.docView.domFromPos(e,t<0?-1:1),i=Es||dn;if(r.nodeType==3)if(i&&(qv.test(r.nodeValue)||(t<0?!o:o==r.nodeValue.length))){let a=or(Rn(r,o,o),t);if(dn&&o&&/\s/.test(r.nodeValue[o-1])&&o<r.nodeValue.length){let u=or(Rn(r,o-1,o-1),-1);if(u.top==a.top){let d=or(Rn(r,o,o+1),-1);if(d.top!=a.top)return Cs(d,d.left<u.left)}}return a}else{let a=o,u=o,d=t<0?1:-1;return t<0&&!o?(u++,d=-1):t>=0&&o==r.nodeValue.length?(a--,d=1):t<0?a--:u++,Cs(or(Rn(r,a,u),d),d<0)}if(!n.state.doc.resolve(e-(s||0)).parent.inlineContent){if(s==null&&o&&(t<0||o==An(r))){let a=r.childNodes[o-1];if(a.nodeType==1)return dc(a.getBoundingClientRect(),!1)}if(s==null&&o<An(r)){let a=r.childNodes[o];if(a.nodeType==1)return dc(a.getBoundingClientRect(),!0)}return dc(r.getBoundingClientRect(),t>=0)}if(s==null&&o&&(t<0||o==An(r))){let a=r.childNodes[o-1],u=a.nodeType==3?Rn(a,An(a)-(i?0:1)):a.nodeType==1&&(a.nodeName!="BR"||!a.nextSibling)?a:null;if(u)return Cs(or(u,1),!1)}if(s==null&&o<An(r)){let a=r.childNodes[o];for(;a.pmViewDesc&&a.pmViewDesc.ignoreForCoords;)a=a.nextSibling;let u=a?a.nodeType==3?Rn(a,0,i?0:1):a.nodeType==1?a:null:null;if(u)return Cs(or(u,-1),!0)}return Cs(or(r.nodeType==3?Rn(r):r,-t),t>=0)}function Cs(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 dc(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 Zh(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 e9(n,e,t){let r=e.selection,o=t=="up"?r.$from:r.$to;return Zh(n,e,()=>{let{node:s}=n.docView.domFromPos(o.pos,t=="up"?-1:1);for(;;){let l=n.docView.nearestDesc(s,!0);if(!l)break;if(l.node.isBlock){s=l.contentDOM||l.dom;break}s=l.dom.parentNode}let i=Qh(n,o.pos,1);for(let l=s.firstChild;l;l=l.nextSibling){let a;if(l.nodeType==1)a=l.getClientRects();else if(l.nodeType==3)a=Rn(l,0,l.nodeValue.length).getClientRects();else continue;for(let u=0;u<a.length;u++){let d=a[u];if(d.bottom>d.top+1&&(t=="up"?i.top-d.top>(d.bottom-i.top)*2:d.bottom-i.bottom>(i.bottom-d.top)*2))return!1}}return!0})}const t9=/[\u0590-\u08ac]/;function n9(n,e,t){let{$head:r}=e.selection;if(!r.parent.isTextblock)return!1;let o=r.parentOffset,s=!o,i=o==r.parent.content.size,l=n.domSelection();return!t9.test(r.parent.textContent)||!l.modify?t=="left"||t=="backward"?s:i:Zh(n,e,()=>{let{focusNode:a,focusOffset:u,anchorNode:d,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(),y=m&&!p.contains(m.nodeType==1?m:m.parentNode)||a==m&&u==g;try{l.collapse(d,f),a&&(a!=d||u!=f)&&l.extend&&l.extend(a,u)}catch{}return h!=null&&(l.caretBidiLevel=h),y})}let Jh=null,Xh=null,qh=!1;function r9(n,e,t){return Jh==e&&Xh==t?qh:(Jh=e,Xh=t,qh=t=="up"||t=="down"?e9(n,e,t):n9(n,e,t))}const Qt=0,ep=1,Hr=2,wn=3;class As{constructor(e,t,r,o){this.parent=e,this.children=t,this.dom=r,this.contentDOM=o,this.dirty=Qt,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 s,i;if(e==this.contentDOM)s=e.childNodes[t-1];else{for(;e.parentNode!=this.contentDOM;)e=e.parentNode;s=e.previousSibling}for(;s&&!((i=s.pmViewDesc)&&i.parent==this);)s=s.previousSibling;return s?this.posBeforeChild(i)+i.size:this.posAtStart}else{let s,i;if(e==this.contentDOM)s=e.childNodes[t];else{for(;e.parentNode!=this.contentDOM;)e=e.parentNode;s=e.nextSibling}for(;s&&!((i=s.pmViewDesc)&&i.parent==this);)s=s.nextSibling;return s?this.posBeforeChild(i):this.posAtEnd}let o;if(e==this.dom&&this.contentDOM)o=t>bt(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 s=e;;s=s.parentNode){if(s==this.dom){o=!1;break}if(s.previousSibling)break}if(o==null&&t==e.childNodes.length)for(let s=e;;s=s.parentNode){if(s==this.dom){o=!0;break}if(s.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 s=this.getDesc(o),i;if(s&&(!t||s.node))if(r&&(i=s.nodeDOM)&&!(i.nodeType==1?i.contains(e.nodeType==1?e:e.parentNode):i==e))r=!1;else return s}}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 s=this.getDesc(o);if(s)return s.localPosFromDOM(e,t,r)}return-1}descAt(e){for(let t=0,r=0;t<this.children.length;t++){let o=this.children[t],s=r+o.size;if(r==e&&s!=r){for(;!o.border&&o.children.length;)o=o.children[0];return o}if(e<s)return o.descAt(e-r-o.border);r=s}}domFromPos(e,t){if(!this.contentDOM)return{node:this.dom,offset:0,atom:e+1};let r=0,o=0;for(let s=0;r<this.children.length;r++){let i=this.children[r],l=s+i.size;if(l>e||i instanceof rp){o=e-s;break}s=l}if(o)return this.children[r].domFromPos(o-this.children[r].border,t);for(let s;r&&!(s=this.children[r-1]).size&&s instanceof tp&&s.side>=0;r--);if(t<=0){let s,i=!0;for(;s=r?this.children[r-1]:null,!(!s||s.dom.parentNode==this.contentDOM);r--,i=!1);return s&&t&&i&&!s.border&&!s.domAtom?s.domFromPos(s.size,t):{node:this.contentDOM,offset:s?bt(s.dom)+1:0}}else{let s,i=!0;for(;s=r<this.children.length?this.children[r]:null,!(!s||s.dom.parentNode==this.contentDOM);r++,i=!1);return s&&i&&!s.border&&!s.domAtom?s.domFromPos(0,t):{node:this.contentDOM,offset:s?bt(s.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,s=-1;for(let i=r,l=0;;l++){let a=this.children[l],u=i+a.size;if(o==-1&&e<=u){let d=i+a.border;if(e>=d&&t<=u-a.border&&a.node&&a.contentDOM&&this.contentDOM.contains(a.contentDOM))return a.parseRange(e,t,d);e=i;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=bt(h.dom)+1;break}e-=h.size}o==-1&&(o=0)}if(o>-1&&(u>t||l==this.children.length-1)){t=u;for(let d=l+1;d<this.children.length;d++){let f=this.children[d];if(f.size&&f.dom.parentNode==this.contentDOM&&!f.emptyChildAt(-1)){s=bt(f.dom);break}t+=f.size}s==-1&&(s=this.contentDOM.childNodes.length);break}i=u}return{node:this.contentDOM,from:e,to:t,fromOffset:o,toOffset:s}}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 s=Math.min(e,t),i=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(s>p&&i<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),u=r.getSelection(),d=!1;if((dn||wt)&&e==t){let{node:h,offset:p}=l;if(h.nodeType==3){if(d=!!(p&&h.nodeValue[p-1]==`
|
|
66
|
-
`),d&&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:bt(g)+1});break}let y=m.pmViewDesc;if(y&&y.node&&y.node.isBlock)break}}else{let m=h.childNodes[p-1];d=m&&(m.nodeName=="BR"||m.contentEditable=="false")}}if(dn&&u.focusNode&&u.focusNode!=a.node&&u.focusNode.nodeType==1){let h=u.focusNode.childNodes[u.focusOffset];h&&h.contentEditable=="false"&&(o=!0)}if(!(o||d&&wt)&&Ur(l.node,l.offset,u.anchorNode,u.anchorOffset)&&Ur(a.node,a.offset,u.focusNode,u.focusOffset))return;let f=!1;if((u.extend||e==t)&&!d){u.collapse(l.node,l.offset);try{e!=t&&u.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),u.removeAllRanges(),u.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 s=this.children[o],i=r+s.size;if(r==i?e<=i&&t>=r:e<i&&t>r){let l=r+s.border,a=i-s.border;if(e>=l&&t<=a){this.dirty=e==r||t==i?Hr:ep,e==l&&t==a&&(s.contentLost||s.dom.parentNode!=this.contentDOM)?s.dirty=wn:s.markDirty(e-l,t-l);return}else s.dirty=s.dom==s.contentDOM&&s.dom.parentNode==this.contentDOM&&!s.children.length?Hr:wn}r=i}this.dirty=Hr}markParentsDirty(){let e=1;for(let t=this.parent;t;t=t.parent,e++){let r=e==1?Hr:ep;t.dirty<r&&(t.dirty=r)}}get domAtom(){return!1}get ignoreForCoords(){return!1}}class tp extends As{constructor(e,t,r,o){let s,i=t.type.toDOM;if(typeof i=="function"&&(i=i(r,()=>{if(!s)return o;if(s.parent)return s.parent.posBeforeChild(s)})),!t.type.spec.raw){if(i.nodeType!=1){let l=document.createElement("span");l.appendChild(i),i=l}i.contentEditable="false",i.classList.add("ProseMirror-widget")}super(e,[],i,null),this.widget=t,this.widget=t,s=this}matchesWidget(e){return this.dirty==Qt&&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 o9 extends As{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 jr extends As{constructor(e,t,r,o){super(e,[],r,o),this.mark=t}static create(e,t,r,o){let s=o.nodeViews[t.type.name],i=s&&s(t,o,r);return(!i||!i.dom)&&(i=En.renderSpec(document,t.type.spec.toDOM(t,r))),new jr(e,t,i.dom,i.contentDOM||i.dom)}parseRule(){return this.dirty&wn||this.mark.type.spec.reparseInView?null:{mark:this.mark.type.name,attrs:this.mark.attrs,contentElement:this.contentDOM}}matchesMark(e){return this.dirty!=wn&&this.mark.eq(e)}markDirty(e,t){if(super.markDirty(e,t),this.dirty!=Qt){let r=this.parent;for(;!r.node;)r=r.parent;r.dirty<this.dirty&&(r.dirty=this.dirty),this.dirty=Qt}}slice(e,t,r){let o=jr.create(this.parent,this.mark,!0,r),s=this.children,i=this.size;t<i&&(s=pc(s,t,i,r)),e>0&&(s=pc(s,0,e,r));for(let l=0;l<s.length;l++)s[l].parent=o;return o.children=s,o}}class sr extends As{constructor(e,t,r,o,s,i,l,a,u){super(e,[],s,i),this.node=t,this.outerDeco=r,this.innerDeco=o,this.nodeDOM=l}static create(e,t,r,o,s,i){let l=s.nodeViews[t.type.name],a,u=l&&l(t,s,()=>{if(!a)return i;if(a.parent)return a.parent.posBeforeChild(a)},r,o),d=u&&u.dom,f=u&&u.contentDOM;if(t.isText){if(!d)d=document.createTextNode(t.text);else if(d.nodeType!=3)throw new RangeError("Text must be rendered as a DOM text node")}else d||({dom:d,contentDOM:f}=En.renderSpec(document,t.type.spec.toDOM(t)));!f&&!t.isText&&d.nodeName!="BR"&&(d.hasAttribute("contenteditable")||(d.contentEditable="false"),t.type.spec.draggable&&(d.draggable=!0));let h=d;return d=ip(d,r,t),u?a=new s9(e,t,r,o,d,f||null,h,u,s,i+1):t.isText?new xi(e,t,r,o,d,h,s):new sr(e,t,r,o,d,f||null,h,s,i+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=()=>fe.empty)}return e}matchesNode(e,t,r){return this.dirty==Qt&&e.eq(this.node)&&hc(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,s=e.composing?this.localCompositionInfo(e,t):null,i=s&&s.pos>-1?s:null,l=s&&s.pos<0,a=new a9(this,i&&i.node,e);u9(this.node,this.innerDeco,(u,d,f)=>{u.spec.marks?a.syncToMarks(u.spec.marks,r,e):u.type.side>=0&&!f&&a.syncToMarks(d==this.node.childCount?We.none:this.node.child(d).marks,r,e),a.placeWidget(u,e,o)},(u,d,f,h)=>{a.syncToMarks(u.marks,r,e);let p;a.findNodeMatch(u,d,f,h)||l&&e.state.selection.from>o&&e.state.selection.to<o+u.nodeSize&&(p=a.findIndexWithChild(s.node))>-1&&a.updateNodeAt(u,d,f,p,e)||a.updateNextNode(u,d,f,e,h,o)||a.addNode(u,d,f,e,o),o+=u.nodeSize}),a.syncToMarks([],r,e),this.node.isTextblock&&a.addTextblockHacks(),a.destroyRest(),(a.changed||this.dirty==Hr)&&(i&&this.protectLocalComposition(e,i),op(this.contentDOM,this.children,e),bo&&d9(this.dom))}localCompositionInfo(e,t){let{from:r,to:o}=e.state.selection;if(!(e.state.selection instanceof ze)||r<t||o>t+this.node.content.size)return null;let s=e.domSelectionRange(),i=f9(s.focusNode,s.focusOffset);if(!i||!this.dom.contains(i.parentNode))return null;if(this.node.inlineContent){let l=i.nodeValue,a=h9(this.node.content,l,r-t,o-t);return a<0?null:{node:i,pos:a,text:l}}else return{node:i,pos:-1,text:""}}protectLocalComposition(e,{node:t,pos:r,text:o}){if(this.getDesc(t))return;let s=t;for(;s.parentNode!=this.contentDOM;s=s.parentNode){for(;s.previousSibling;)s.parentNode.removeChild(s.previousSibling);for(;s.nextSibling;)s.parentNode.removeChild(s.nextSibling);s.pmViewDesc&&(s.pmViewDesc=void 0)}let i=new o9(this,s,t,o);e.input.compositionNodes.push(i),this.children=pc(this.children,r,r+o.length,e,i)}update(e,t,r,o){return this.dirty==wn||!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=Qt}updateOuterDeco(e){if(hc(e,this.outerDeco))return;let t=this.nodeDOM.nodeType!=1,r=this.dom;this.dom=sp(this.dom,this.nodeDOM,fc(this.outerDeco,this.node,t),fc(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 np(n,e,t,r,o){ip(r,e,n);let s=new sr(void 0,n,e,t,r,r,r,o,0);return s.contentDOM&&s.updateChildren(o,0),s}class xi extends sr{constructor(e,t,r,o,s,i,l){super(e,t,r,o,s,null,i,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==wn||this.dirty!=Qt&&!this.inParent()||!e.sameMarkup(this.node)?!1:(this.updateOuterDeco(t),(this.dirty!=Qt||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=Qt,!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),s=document.createTextNode(o.text);return new xi(this.parent,o,this.outerDeco,this.innerDeco,s,s,r)}markDirty(e,t){super.markDirty(e,t),this.dom!=this.nodeDOM&&(e==0||t==this.nodeDOM.nodeValue.length)&&(this.dirty=wn)}get domAtom(){return!1}}class rp extends As{parseRule(){return{ignore:!0}}matchesHack(e){return this.dirty==Qt&&this.dom.nodeName==e}get domAtom(){return!0}get ignoreForCoords(){return this.dom.nodeName=="IMG"}}class s9 extends sr{constructor(e,t,r,o,s,i,l,a,u,d){super(e,t,r,o,s,i,l,u,d),this.spec=a}update(e,t,r,o){if(this.dirty==wn)return!1;if(this.spec.update){let s=this.spec.update(e,t,r);return s&&this.updateInner(e,t,r,o),s}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 op(n,e,t){let r=n.firstChild,o=!1;for(let s=0;s<e.length;s++){let i=e[s],l=i.dom;if(l.parentNode==n){for(;l!=r;)r=ap(r),o=!0;r=r.nextSibling}else o=!0,n.insertBefore(l,r);if(i instanceof jr){let a=r?r.previousSibling:n.lastChild;op(i.contentDOM,i.children,t),r=a?a.nextSibling:n.firstChild}}for(;r;)r=ap(r),o=!0;o&&t.trackWrites==n&&(t.trackWrites=null)}const bs=function(n){n&&(this.nodeName=n)};bs.prototype=Object.create(null);const Wr=[new bs];function fc(n,e,t){if(n.length==0)return Wr;let r=t?Wr[0]:new bs,o=[r];for(let s=0;s<n.length;s++){let i=n[s].type.attrs;if(i){i.nodeName&&o.push(r=new bs(i.nodeName));for(let l in i){let a=i[l];a!=null&&(t&&o.length==1&&o.push(r=new bs(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 sp(n,e,t,r){if(t==Wr&&r==Wr)return e;let o=e;for(let s=0;s<r.length;s++){let i=r[s],l=t[s];if(s){let a;l&&l.nodeName==i.nodeName&&o!=n&&(a=o.parentNode)&&a.nodeName.toLowerCase()==i.nodeName||(a=document.createElement(i.nodeName),a.pmIsDeco=!0,a.appendChild(o),l=Wr[0]),o=a}i9(o,l||Wr[0],i)}return o}function i9(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 s=0;s<r.length;s++)o.indexOf(r[s])==-1&&n.classList.remove(r[s]);for(let s=0;s<o.length;s++)r.indexOf(o[s])==-1&&n.classList.add(o[s]);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 ip(n,e,t){return sp(n,n,Wr,fc(e,t,n.nodeType!=1))}function hc(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 ap(n){let e=n.nextSibling;return n.parentNode.removeChild(n),e}class a9{constructor(e,t,r){this.lock=t,this.view=r,this.index=0,this.stack=[],this.changed=!1,this.top=e,this.preMatch=l9(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,s=this.stack.length>>1,i=Math.min(s,e.length);for(;o<i&&(o==s-1?this.top:this.stack[o+1<<1]).matchesMark(e[o])&&e[o].type.spec.spanning!==!1;)o++;for(;o<s;)this.destroyRest(),this.top.dirty=Qt,this.index=this.stack.pop(),this.top=this.stack.pop(),s--;for(;s<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 u=this.top.children[a];if(u.matchesMark(e[s])&&!this.isLocked(u.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=jr.create(this.top,e[s],t,r);this.top.children.splice(this.index,0,a),this.top=a,this.changed=!0}this.index=0,s++}}findNodeMatch(e,t,r,o){let s=-1,i;if(o>=this.preMatch.index&&(i=this.preMatch.matches[o-this.preMatch.index]).parent==this.top&&i.matchesNode(e,t,r))s=this.top.children.indexOf(i,this.index);else for(let l=this.index,a=Math.min(this.top.children.length,l+5);l<a;l++){let u=this.top.children[l];if(u.matchesNode(e,t,r)&&!this.preMatch.matched.has(u)){s=l;break}}return s<0?!1:(this.destroyBetween(this.index,s),this.index++,!0)}updateNodeAt(e,t,r,o,s){let i=this.top.children[o];return i.dirty==wn&&i.dom==i.contentDOM&&(i.dirty=Hr),i.update(e,t,r,s)?(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,s,i){for(let l=this.index;l<this.top.children.length;l++){let a=this.top.children[l];if(a instanceof sr){let u=this.preMatch.matched.get(a);if(u!=null&&u!=s)return!1;let d=a.dom,f,h=this.isLocked(d)&&!(e.isText&&a.node&&a.node.isText&&a.nodeDOM.nodeValue==e.text&&a.dirty!=wn&&hc(t,a.outerDeco));if(!h&&a.update(e,t,r,o))return this.destroyBetween(this.index,l),a.dom!=d&&(this.changed=!0),this.index++,!0;if(!h&&(f=this.recreateWrapper(a,e,t,r,o,i)))return this.top.children[this.index]=f,f.contentDOM&&(f.dirty=Hr,f.updateChildren(o,i+1),f.dirty=Qt),this.changed=!0,this.index++,!0;break}}return!1}recreateWrapper(e,t,r,o,s,i){if(e.dirty||t.isAtom||!e.children.length||!e.node.content.eq(t.content))return null;let l=sr.create(this.top,t,r,o,s,i);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,s){let i=sr.create(this.top,e,t,r,o,s);i.contentDOM&&i.updateChildren(o,s+1),this.top.children.splice(this.index++,0,i),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 s=new tp(this.top,e,t,r);this.top.children.splice(this.index++,0,s),this.changed=!0}}addTextblockHacks(){let e=this.top.children[this.index-1],t=this.top;for(;e instanceof jr;)t=e,e=t.children[t.children.length-1];(!e||!(e instanceof xi)||/\n$/.test(e.node.text)||this.view.requiresGeckoHackNode&&/\s$/.test(e.node.text))&&((wt||vt)&&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 rp(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 l9(n,e){let t=e,r=t.children.length,o=n.childCount,s=new Map,i=[];e:for(;o>0;){let l;for(;;)if(r){let u=t.children[r-1];if(u instanceof jr)t=u,r=u.children.length;else{l=u,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,s.set(l,o),i.push(l)}}return{index:o,matched:s,matches:i.reverse()}}function c9(n,e){return n.type.side-e.type.side}function u9(n,e,t,r){let o=e.locals(n),s=0;if(o.length==0){for(let u=0;u<n.childCount;u++){let d=n.child(u);r(d,o,e.forChild(s,d),u),s+=d.nodeSize}return}let i=0,l=[],a=null;for(let u=0;;){let d,f;for(;i<o.length&&o[i].to==s;){let y=o[i++];y.widget&&(d?(f||(f=[d])).push(y):d=y)}if(d)if(f){f.sort(c9);for(let y=0;y<f.length;y++)t(f[y],u,!!a)}else t(d,u,!!a);let h,p;if(a)p=-1,h=a,a=null;else if(u<n.childCount)p=u,h=n.child(u++);else break;for(let y=0;y<l.length;y++)l[y].to<=s&&l.splice(y--,1);for(;i<o.length&&o[i].from<=s&&o[i].to>s;)l.push(o[i++]);let m=s+h.nodeSize;if(h.isText){let y=m;i<o.length&&o[i].from<y&&(y=o[i].from);for(let C=0;C<l.length;C++)l[C].to<y&&(y=l[C].to);y<m&&(a=h.cut(y-s),h=h.cut(0,y-s),m=y,p=-1)}let g=h.isInline&&!h.isLeaf?l.filter(y=>!y.inline):l.slice();r(h,g,e.forChild(s,h),p),s=m}}function d9(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 f9(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=An(n)}else if(n.nodeType==1&&e<n.childNodes.length)n=n.childNodes[e],e=0;else return null}}function h9(n,e,t,r){for(let o=0,s=0;o<n.childCount&&s<=r;){let i=n.child(o++),l=s;if(s+=i.nodeSize,!i.isText)continue;let a=i.text;for(;o<n.childCount;){let u=n.child(o++);if(s+=u.nodeSize,!u.isText)break;a+=u.text}if(s>=t){if(s>=r&&a.slice(r-e.length-l,r-l)==e)return r-e.length;let u=l<r?a.lastIndexOf(e,r-l-1):-1;if(u>=0&&u+e.length+l>=t)return l+u;if(t==r&&a.length>=r+e.length-l&&a.slice(r-l,r-l+e.length)==e)return r}}return-1}function pc(n,e,t,r,o){let s=[];for(let i=0,l=0;i<n.length;i++){let a=n[i],u=l,d=l+=a.size;u>=t||d<=e?s.push(a):(u<e&&s.push(a.slice(0,e-u,r)),o&&(s.push(o),o=void 0),d>t&&s.push(a.slice(t-u,a.size,r)))}return s}function mc(n,e=null){let t=n.domSelectionRange(),r=n.state.doc;if(!t.focusNode)return null;let o=n.docView.nearestDesc(t.focusNode),s=o&&o.size==0,i=n.docView.posFromDOM(t.focusNode,t.focusOffset,1);if(i<0)return null;let l=r.resolve(i),a,u;if(Ii(t)){for(a=l;o&&!o.node;)o=o.parent;let d=o.node;if(o&&d.isAtom&&Le.isSelectable(d)&&o.parent&&!(d.isInline&&Pv(t.focusNode,t.focusOffset,o.dom))){let f=o.posBefore;u=new Le(i==f?l:r.resolve(f))}}else{let d=n.docView.posFromDOM(t.anchorNode,t.anchorOffset,1);if(d<0)return null;a=r.resolve(d)}if(!u){let d=e=="pointer"||n.state.selection.head<l.pos&&!s?1:-1;u=yc(n,a,l,d)}return u}function lp(n){return n.editable?n.hasFocus():mp(n)&&document.activeElement&&document.activeElement.contains(n.dom)}function Pn(n,e=!1){let t=n.state.selection;if(fp(n,t),!!lp(n)){if(!e&&n.input.mouseDown&&n.input.mouseDown.allowDefault&&vt){let r=n.domSelectionRange(),o=n.domObserver.currentSelection;if(r.anchorNode&&o.anchorNode&&Ur(r.anchorNode,r.anchorOffset,o.anchorNode,o.anchorOffset)){n.input.mouseDown.delayedSelectionSync=!0,n.domObserver.setCurSelection();return}}if(n.domObserver.disconnectSelection(),n.cursorWrapper)m9(n);else{let{anchor:r,head:o}=t,s,i;cp&&!(t instanceof ze)&&(t.$from.parent.inlineContent||(s=up(n,t.from)),!t.empty&&!t.$from.parent.inlineContent&&(i=up(n,t.to))),n.docView.setSelection(r,o,n.root,e),cp&&(s&&dp(s),i&&dp(i)),t.visible?n.dom.classList.remove("ProseMirror-hideselection"):(n.dom.classList.add("ProseMirror-hideselection"),"onselectionchange"in document&&p9(n))}n.domObserver.setCurSelection(),n.domObserver.connectSelection()}}const cp=wt||vt&&$v<63;function up(n,e){let{node:t,offset:r}=n.docView.domFromPos(e,0),o=r<t.childNodes.length?t.childNodes[r]:null,s=r?t.childNodes[r-1]:null;if(wt&&o&&o.contentEditable=="false")return gc(o);if((!o||o.contentEditable=="false")&&(!s||s.contentEditable=="false")){if(o)return gc(o);if(s)return gc(s)}}function gc(n){return n.contentEditable="true",wt&&n.draggable&&(n.draggable=!1,n.wasDraggable=!0),n}function dp(n){n.contentEditable="false",n.wasDraggable&&(n.draggable=!0,n.wasDraggable=null)}function p9(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(()=>{(!lp(n)||n.state.selection.visible)&&n.dom.classList.remove("ProseMirror-hideselection")},20))})}function m9(n){let e=n.domSelection(),t=document.createRange(),r=n.cursorWrapper.dom,o=r.nodeName=="IMG";o?t.setEnd(r.parentNode,bt(r)+1):t.setEnd(r,0),t.collapse(!1),e.removeAllRanges(),e.addRange(t),!o&&!n.state.selection.visible&&Rt&&rr<=11&&(r.disabled=!0,r.disabled=!1)}function fp(n,e){if(e instanceof Le){let t=n.docView.descAt(e.from);t!=n.lastSelectedViewDesc&&(hp(n),t&&t.selectNode(),n.lastSelectedViewDesc=t)}else hp(n)}function hp(n){n.lastSelectedViewDesc&&(n.lastSelectedViewDesc.parent&&n.lastSelectedViewDesc.deselectNode(),n.lastSelectedViewDesc=void 0)}function yc(n,e,t,r){return n.someProp("createSelectionBetween",o=>o(n,e,t))||ze.between(e,t,r)}function pp(n){return n.editable&&!n.hasFocus()?!1:mp(n)}function mp(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 g9(n){let e=n.docView.domFromPos(n.state.selection.anchor,0),t=n.domSelectionRange();return Ur(e.node,e.offset,t.anchorNode,t.anchorOffset)}function vc(n,e){let{$anchor:t,$head:r}=n.selection,o=e>0?t.max(r):t.min(r),s=o.parent.inlineContent?o.depth?n.doc.resolve(e>0?o.after():o.before()):null:o;return s&&Ue.findFrom(s,e)}function ir(n,e){return n.dispatch(n.state.tr.setSelection(e).scrollIntoView()),!0}function gp(n,e,t){let r=n.state.selection;if(r instanceof ze)if(t.indexOf("s")>-1){let{$head:o}=r,s=o.textOffset?null:e<0?o.nodeBefore:o.nodeAfter;if(!s||s.isText||!s.isLeaf)return!1;let i=n.state.doc.resolve(o.pos+s.nodeSize*(e<0?-1:1));return ir(n,new ze(r.$anchor,i))}else if(r.empty){if(n.endOfTextblock(e>0?"forward":"backward")){let o=vc(n.state,e);return o&&o instanceof Le?ir(n,o):!1}else if(!(Gt&&t.indexOf("m")>-1)){let o=r.$head,s=o.textOffset?null:e<0?o.nodeBefore:o.nodeAfter,i;if(!s||s.isText)return!1;let l=e<0?o.pos-s.nodeSize:o.pos;return s.isAtom||(i=n.docView.descAt(l))&&!i.contentDOM?Le.isSelectable(s)?ir(n,new Le(e<0?n.state.doc.resolve(o.pos-s.nodeSize):o)):Es?ir(n,new ze(n.state.doc.resolve(e<0?l:l+s.nodeSize))):!1:!1}}else return!1;else{if(r instanceof Le&&r.node.isInline)return ir(n,new ze(e>0?r.$to:r.$from));{let o=vc(n.state,e);return o?ir(n,o):!1}}}function Mi(n){return n.nodeType==3?n.nodeValue.length:n.childNodes.length}function ws(n,e){let t=n.pmViewDesc;return t&&t.size==0&&(e<0||n.nextSibling||n.nodeName!="BR")}function To(n,e){return e<0?y9(n):v9(n)}function y9(n){let e=n.domSelectionRange(),t=e.focusNode,r=e.focusOffset;if(!t)return;let o,s,i=!1;for(dn&&t.nodeType==1&&r<Mi(t)&&ws(t.childNodes[r],-1)&&(i=!0);;)if(r>0){if(t.nodeType!=1)break;{let l=t.childNodes[r-1];if(ws(l,-1))o=t,s=--r;else if(l.nodeType==3)t=l,r=t.nodeValue.length;else break}}else{if(yp(t))break;{let l=t.previousSibling;for(;l&&ws(l,-1);)o=t.parentNode,s=bt(l),l=l.previousSibling;if(l)t=l,r=Mi(t);else{if(t=t.parentNode,t==n.dom)break;r=0}}}i?Ec(n,t,r):o&&Ec(n,o,s)}function v9(n){let e=n.domSelectionRange(),t=e.focusNode,r=e.focusOffset;if(!t)return;let o=Mi(t),s,i;for(;;)if(r<o){if(t.nodeType!=1)break;let l=t.childNodes[r];if(ws(l,1))s=t,i=++r;else break}else{if(yp(t))break;{let l=t.nextSibling;for(;l&&ws(l,1);)s=l.parentNode,i=bt(l)+1,l=l.nextSibling;if(l)t=l,r=0,o=Mi(t);else{if(t=t.parentNode,t==n.dom)break;r=o=0}}}s&&Ec(n,s,i)}function yp(n){let e=n.pmViewDesc;return e&&e.node&&e.node.isBlock}function E9(n,e){for(;n&&e==n.childNodes.length&&!ic(n);)e=bt(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 C9(n,e){for(;n&&!e&&!ic(n);)e=bt(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 Ec(n,e,t){if(e.nodeType!=3){let s,i;(i=E9(e,t))?(e=i,t=0):(s=C9(e,t))&&(e=s,t=s.nodeValue.length)}let r=n.domSelection();if(Ii(r)){let s=document.createRange();s.setEnd(e,t),s.setStart(e,t),r.removeAllRanges(),r.addRange(s)}else r.extend&&r.extend(e,t);n.domObserver.setCurSelection();let{state:o}=n;setTimeout(()=>{n.state==o&&Pn(n)},50)}function vp(n,e){let t=n.state.doc.resolve(e);if(!(vt||Uv)&&t.parent.inlineContent){let o=n.coordsAtPos(e);if(e>t.start()){let s=n.coordsAtPos(e-1),i=(s.top+s.bottom)/2;if(i>o.top&&i<o.bottom&&Math.abs(s.left-o.left)>1)return s.left<o.left?"ltr":"rtl"}if(e<t.end()){let s=n.coordsAtPos(e+1),i=(s.top+s.bottom)/2;if(i>o.top&&i<o.bottom&&Math.abs(s.left-o.left)>1)return s.left>o.left?"ltr":"rtl"}}return getComputedStyle(n.dom).direction=="rtl"?"rtl":"ltr"}function Ep(n,e,t){let r=n.state.selection;if(r instanceof ze&&!r.empty||t.indexOf("s")>-1||Gt&&t.indexOf("m")>-1)return!1;let{$from:o,$to:s}=r;if(!o.parent.inlineContent||n.endOfTextblock(e<0?"up":"down")){let i=vc(n.state,e);if(i&&i instanceof Le)return ir(n,i)}if(!o.parent.inlineContent){let i=e<0?o:s,l=r instanceof cn?Ue.near(i,e):Ue.findFrom(i,e);return l?ir(n,l):!1}return!1}function Cp(n,e){if(!(n.state.selection instanceof ze))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 s=!t.textOffset&&(e<0?t.nodeBefore:t.nodeAfter);if(s&&!s.isText){let i=n.state.tr;return e<0?i.delete(t.pos-s.nodeSize,t.pos):i.delete(t.pos,t.pos+s.nodeSize),n.dispatch(i),!0}return!1}function Ap(n,e,t){n.domObserver.stop(),e.contentEditable=t,n.domObserver.start()}function A9(n){if(!wt||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;Ap(n,r,"true"),setTimeout(()=>Ap(n,r,"false"),20)}return!1}function b9(n){let e="";return n.ctrlKey&&(e+="c"),n.metaKey&&(e+="m"),n.altKey&&(e+="a"),n.shiftKey&&(e+="s"),e}function w9(n,e){let t=e.keyCode,r=b9(e);if(t==8||Gt&&t==72&&r=="c")return Cp(n,-1)||To(n,-1);if(t==46&&!e.shiftKey||Gt&&t==68&&r=="c")return Cp(n,1)||To(n,1);if(t==13||t==27)return!0;if(t==37||Gt&&t==66&&r=="c"){let o=t==37?vp(n,n.state.selection.from)=="ltr"?-1:1:-1;return gp(n,o,r)||To(n,o)}else if(t==39||Gt&&t==70&&r=="c"){let o=t==39?vp(n,n.state.selection.from)=="ltr"?1:-1:1;return gp(n,o,r)||To(n,o)}else{if(t==38||Gt&&t==80&&r=="c")return Ep(n,-1,r)||To(n,-1);if(t==40||Gt&&t==78&&r=="c")return A9(n)||Ep(n,1,r)||To(n,1);if(r==(Gt?"m":"c")&&(t==66||t==73||t==89||t==90))return!0}return!1}function bp(n,e){n.someProp("transformCopied",p=>{e=p(e,n)});let t=[],{content:r,openStart:o,openEnd:s}=e;for(;o>1&&s>1&&r.childCount==1&&r.firstChild.childCount==1;){o--,s--;let p=r.firstChild;t.push(p.type.name,p.attrs!=p.type.defaultAttrs?p.attrs:null),r=p.content}let i=n.someProp("clipboardSerializer")||En.fromSchema(n.state.schema),l=xp(),a=l.createElement("div");a.appendChild(i.serializeFragment(r,{document:l}));let u=a.firstChild,d,f=0;for(;u&&u.nodeType==1&&(d=Np[u.nodeName.toLowerCase()]);){for(let p=d.length-1;p>=0;p--){let m=l.createElement(d[p]);for(;a.firstChild;)m.appendChild(a.firstChild);a.appendChild(m),f++}u=a.firstChild}u&&u.nodeType==1&&u.setAttribute("data-pm-slice",`${o} ${s}${f?` -${f}`:""} ${JSON.stringify(t)}`);let h=n.someProp("clipboardTextSerializer",p=>p(e,n))||e.content.textBetween(0,e.content.size,`
|
|
62
|
+
Expect errors in decoding.`),I=I.replace(/[^A-Za-z0-9\+\/\=]/g,"");k=this.KEY_STR.indexOf(I.charAt(Z++)),M=this.KEY_STR.indexOf(I.charAt(Z++)),j=this.KEY_STR.indexOf(I.charAt(Z++)),W=this.KEY_STR.indexOf(I.charAt(Z++)),L=k<<2|M>>4,A=(M&15)<<4|j>>2,T=(j&3)<<6|W,X.push(L),j!==64&&X.push(A),W!==64&&X.push(T),L=A=T="",k=M=j=W="",Z<I.length;);return X}}]),O}();Ee.initClass();var Se=function(D,I){var L=!1,A=!0,T=D.document,k=T.documentElement,M=T.addEventListener?"addEventListener":"attachEvent",j=T.addEventListener?"removeEventListener":"detachEvent",W=T.addEventListener?"":"on",Z=function S(_){if(!(_.type==="readystatechange"&&T.readyState!=="complete")&&((_.type==="load"?D:T)[j](W+_.type,S,!1),!L&&(L=!0)))return I.call(D,_.type||_)},X=function S(){try{k.doScroll("left")}catch{setTimeout(S,50);return}return Z("poll")};if(T.readyState!=="complete"){if(T.createEventObject&&k.doScroll){try{A=!D.frameElement}catch{}A&&X()}return T[M](W+"DOMContentLoaded",Z,!1),T[M](W+"readystatechange",Z,!1),D[M](W+"load",Z,!1)}};z._autoDiscoverFunction=function(){if(z.autoDiscover)return z.discover()},Se(window,z._autoDiscoverFunction);function ke(O,D){return typeof O<"u"&&O!==null?D(O):void 0}function xe(O,D,I){if(typeof O<"u"&&O!==null&&typeof O[D]=="function")return I(O,D)}window.Dropzone=z;var Ae=z}(),s}()})})(Yf);var Iy=Yf.exports;const Gf=zl(Iy),xy={class:"fallback"},My=c.createElementVNode("input",{id:"file",type:"file",name:"file",multiple:""},null,-1),Oy={for:"file"},Ly={class:"dz-message","data-dz-message":""},Dy={id:"bd-dropzone-theme",style:{display:"none"}},Ry={class:"dz-preview dz-file-preview"},By={class:"dz-details"},Py=c.createElementVNode("img",{"data-dz-thumbnail":"",class:"dz-image"},null,-1),Fy=c.createElementVNode("div",{class:"dz-filename"},[c.createElementVNode("small",{"data-dz-name":""})],-1),Vy=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),$y={class:"dz-success-mark"},Uy={class:"dz-error-message text-danger"},zy=c.createElementVNode("small",{"data-dz-errormessage":""},null,-1),Hl=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:li.PRIMARY,size:At.SM})),o=Dr(t,"modelValue",e);let s=null;Gf.autoDiscover=!1,c.watch(()=>t.modelValue,()=>{i()}),c.onMounted(()=>{document.getElementById("dropzone")&&l()});const i=()=>{s&&(s.destroy(),l())},l=()=>{var p;s=new Gf("#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}),s.on("error",u),s.on("success",a),s.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}),d(p)},u=function(p){d(p)},d=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"),y=p.previewElement.getElementsByClassName("dz-image");g[0].classList.remove("d-none"),y[0].classList.add("d-none")}},f=function(p){const m=o.value.findIndex(g=>{var y;return(g==null?void 0:g.UUID)===((y=p.upload)==null?void 0:y.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",xy,[My,c.createTextVNode(" test "),c.createElementVNode("label",Oy,[c.createVNode(c.unref(Or)),c.createTextVNode(" "+c.toDisplayString(t.buttonText),1)])]),c.createElementVNode("div",Ly,[c.createVNode(Ze,c.normalizeProps(c.guardReactiveProps(r.value)),{default:c.withCtx(()=>[c.createVNode(c.unref(Or)),c.createTextVNode(" "+c.toDisplayString(t.buttonText),1)]),_:1},16)])]),_:1})),c.createElementVNode("div",Dy,[c.createElementVNode("div",Ry,[c.createElementVNode("div",By,[Py,c.createVNode(c.unref(_l),{"data-dz-thumbnail":"",class:"d-none"}),Fy,c.createVNode(Ze,{class:"dz-remove",alt:"Click me to remove the file.","data-dz-remove":""},{default:c.withCtx(()=>[c.createVNode(c.unref(ls))]),_:1})]),Vy,c.createElementVNode("div",$y,[c.createVNode(c.unref(uo))]),c.createElementVNode("div",Uy,[c.createVNode(c.unref(ii)),zy])])])],64))}});function ht(n){this.content=n}ht.prototype={constructor:ht,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),s=r.content.slice();return o==-1?s.push(t||n,e):(s[o+1]=e,t&&(s[o]=t)),new ht(s)},remove:function(n){var e=this.find(n);if(e==-1)return this;var t=this.content.slice();return t.splice(e,2),new ht(t)},addToStart:function(n,e){return new ht([n,e].concat(this.remove(n).content))},addToEnd:function(n,e){var t=this.remove(n).content.slice();return t.push(n,e),new ht(t)},addBefore:function(n,e,t){var r=this.remove(e),o=r.content.slice(),s=r.find(n);return o.splice(s==-1?o.length:s,0,e,t),new ht(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=ht.from(n),n.size?new ht(n.content.concat(this.subtract(n).content)):this},append:function(n){return n=ht.from(n),n.size?new ht(this.subtract(n).content.concat(n.content)):this},subtract:function(n){var e=this;n=ht.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}},ht.from=function(n){if(n instanceof ht)return n;var e=[];if(n)for(var t in n)e.push(t,n[t]);return new ht(e)};function Qf(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),s=e.child(r);if(o==s){t+=o.nodeSize;continue}if(!o.sameMarkup(s))return t;if(o.isText&&o.text!=s.text){for(let i=0;o.text[i]==s.text[i];i++)t++;return t}if(o.content.size||s.content.size){let i=Qf(o.content,s.content,t+1);if(i!=null)return i}t+=o.nodeSize}}function Zf(n,e,t,r){for(let o=n.childCount,s=e.childCount;;){if(o==0||s==0)return o==s?null:{a:t,b:r};let i=n.child(--o),l=e.child(--s),a=i.nodeSize;if(i==l){t-=a,r-=a;continue}if(!i.sameMarkup(l))return{a:t,b:r};if(i.isText&&i.text!=l.text){let u=0,d=Math.min(i.text.length,l.text.length);for(;u<d&&i.text[i.text.length-u-1]==l.text[l.text.length-u-1];)u++,t--,r--;return{a:t,b:r}}if(i.content.size||l.content.size){let u=Zf(i.content,l.content,t-1,r-1);if(u)return u}t-=a,r-=a}}class fe{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,s){for(let i=0,l=0;l<t;i++){let a=this.content[i],u=l+a.nodeSize;if(u>e&&r(a,o+l,s||null,i)!==!1&&a.content.size){let d=l+1;a.nodesBetween(Math.max(0,e-d),Math.min(a.content.size,t-d),r,o+d)}l=u}}descendants(e){this.nodesBetween(0,this.size,e)}textBetween(e,t,r,o){let s="",i=!0;return this.nodesBetween(e,t,(l,a)=>{l.isText?(s+=l.text.slice(Math.max(e,a)-a,t-a),i=!r):l.isLeaf?(o?s+=typeof o=="function"?o(l):o:l.type.spec.leafText&&(s+=l.type.spec.leafText(l)),i=!r):!i&&l.isBlock&&(s+=r,i=!0)},0),s}append(e){if(!e.size)return this;if(!this.size)return e;let t=this.lastChild,r=e.firstChild,o=this.content.slice(),s=0;for(t.isText&&t.sameMarkup(r)&&(o[o.length-1]=t.withText(t.text+r.text),s=1);s<e.content.length;s++)o.push(e.content[s]);return new fe(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 s=0,i=0;i<t;s++){let l=this.content[s],a=i+l.nodeSize;a>e&&((i<e||a>t)&&(l.isText?l=l.cut(Math.max(0,e-i),Math.min(l.text.length,t-i)):l=l.cut(Math.max(0,e-i-1),Math.min(l.content.size,t-i-1))),r.push(l),o+=l.nodeSize),i=a}return new fe(r,o)}cutByIndex(e,t){return e==t?fe.empty:e==0&&t==this.content.length?this:new fe(this.content.slice(e,t))}replaceChild(e,t){let r=this.content[e];if(r==t)return this;let o=this.content.slice(),s=this.size+t.nodeSize-r.nodeSize;return o[e]=t,new fe(o,s)}addToStart(e){return new fe([e].concat(this.content),this.size+e.nodeSize)}addToEnd(e){return new fe(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 Qf(this,e,t)}findDiffEnd(e,t=this.size,r=e.size){return Zf(this,e,t,r)}findIndex(e,t=-1){if(e==0)return gi(0,e);if(e==this.size)return gi(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 s=this.child(r),i=o+s.nodeSize;if(i>=e)return i==e||t>0?gi(r+1,i):gi(r,o);o=i}}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 fe.empty;if(!Array.isArray(t))throw new RangeError("Invalid input for Fragment.fromJSON");return new fe(t.map(e.nodeFromJSON))}static fromArray(e){if(!e.length)return fe.empty;let t,r=0;for(let o=0;o<e.length;o++){let s=e[o];r+=s.nodeSize,o&&s.isText&&e[o-1].sameMarkup(s)?(t||(t=e.slice(0,o)),t[t.length-1]=s.withText(t[t.length-1].text+s.text)):t&&t.push(s)}return new fe(t||e,r)}static from(e){if(!e)return fe.empty;if(e instanceof fe)return e;if(Array.isArray(e))return this.fromArray(e);if(e.attrs)return new fe([e],e.nodeSize);throw new RangeError("Can not convert "+e+" to a Fragment"+(e.nodesBetween?" (looks like multiple versions of prosemirror-model were loaded)":""))}}fe.empty=new fe([],0);const jl={index:0,offset:0};function gi(n,e){return jl.index=n,jl.offset=e,jl}function yi(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(!yi(n[r],e[r]))return!1}else{for(let r in n)if(!(r in e)||!yi(n[r],e[r]))return!1;for(let r in e)if(!(r in n))return!1}return!0}let We=class xd{constructor(e,t){this.type=e,this.attrs=t}addToSet(e){let t,r=!1;for(let o=0;o<e.length;o++){let s=e[o];if(this.eq(s))return e;if(this.type.excludes(s.type))t||(t=e.slice(0,o));else{if(s.type.excludes(this.type))return e;!r&&s.type.rank>this.type.rank&&(t||(t=e.slice(0,o)),t.push(this),r=!0),t&&t.push(s)}}return t||(t=e.slice()),r||t.push(this),t}removeFromSet(e){for(let t=0;t<e.length;t++)if(this.eq(e[t]))return e.slice(0,t).concat(e.slice(t+1));return e}isInSet(e){for(let t=0;t<e.length;t++)if(this.eq(e[t]))return!0;return!1}eq(e){return this==e||this.type==e.type&&yi(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 xd.none;if(e instanceof xd)return[e];let t=e.slice();return t.sort((r,o)=>r.type.rank-o.type.rank),t}};We.none=[];class vi extends Error{}class we{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=Xf(this.content,e+this.openStart,t);return r&&new we(r,this.openStart,this.openEnd)}removeBetween(e,t){return new we(Jf(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 we.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 we(fe.fromJSON(e,t.content),r,o)}static maxOpen(e,t=!0){let r=0,o=0;for(let s=e.firstChild;s&&!s.isLeaf&&(t||!s.type.spec.isolating);s=s.firstChild)r++;for(let s=e.lastChild;s&&!s.isLeaf&&(t||!s.type.spec.isolating);s=s.lastChild)o++;return new we(e,r,o)}}we.empty=new we(fe.empty,0,0);function Jf(n,e,t){let{index:r,offset:o}=n.findIndex(e),s=n.maybeChild(r),{index:i,offset:l}=n.findIndex(t);if(o==e||s.isText){if(l!=t&&!n.child(i).isText)throw new RangeError("Removing non-flat range");return n.cut(0,e).append(n.cut(t))}if(r!=i)throw new RangeError("Removing non-flat range");return n.replaceChild(r,s.copy(Jf(s.content,e-o-1,t-o-1)))}function Xf(n,e,t,r){let{index:o,offset:s}=n.findIndex(e),i=n.maybeChild(o);if(s==e||i.isText)return r&&!r.canReplace(o,o,t)?null:n.cut(0,e).append(t).append(n.cut(e));let l=Xf(i.content,e-s-1,t);return l&&n.replaceChild(o,i.copy(l))}function Hy(n,e,t){if(t.openStart>n.depth)throw new vi("Inserted content deeper than insertion position");if(n.depth-t.openStart!=e.depth-t.openEnd)throw new vi("Inconsistent open depths");return qf(n,e,t,0)}function qf(n,e,t,r){let o=n.index(r),s=n.node(r);if(o==e.index(r)&&r<n.depth-t.openStart){let i=qf(n,e,t,r+1);return s.copy(s.content.replaceChild(o,i))}else if(t.content.size)if(!t.openStart&&!t.openEnd&&n.depth==r&&e.depth==r){let i=n.parent,l=i.content;return Fr(i,l.cut(0,n.parentOffset).append(t.content).append(l.cut(e.parentOffset)))}else{let{start:i,end:l}=jy(t,n);return Fr(s,th(n,i,l,e,r))}else return Fr(s,Ei(n,e,r))}function eh(n,e){if(!e.type.compatibleContent(n.type))throw new vi("Cannot join "+e.type.name+" onto "+n.type.name)}function Wl(n,e,t){let r=n.node(t);return eh(r,e.node(t)),r}function Pr(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 fs(n,e,t,r){let o=(e||n).node(t),s=0,i=e?e.index(t):o.childCount;n&&(s=n.index(t),n.depth>t?s++:n.textOffset&&(Pr(n.nodeAfter,r),s++));for(let l=s;l<i;l++)Pr(o.child(l),r);e&&e.depth==t&&e.textOffset&&Pr(e.nodeBefore,r)}function Fr(n,e){return n.type.checkContent(e),n.copy(e)}function th(n,e,t,r,o){let s=n.depth>o&&Wl(n,e,o+1),i=r.depth>o&&Wl(t,r,o+1),l=[];return fs(null,n,o,l),s&&i&&e.index(o)==t.index(o)?(eh(s,i),Pr(Fr(s,th(n,e,t,r,o+1)),l)):(s&&Pr(Fr(s,Ei(n,e,o+1)),l),fs(e,t,o,l),i&&Pr(Fr(i,Ei(t,r,o+1)),l)),fs(r,null,o,l),new fe(l)}function Ei(n,e,t){let r=[];if(fs(null,n,t,r),n.depth>t){let o=Wl(n,e,t+1);Pr(Fr(o,Ei(n,e,t+1)),r)}return fs(e,null,t,r),new fe(r)}function jy(n,e){let t=e.depth-n.openStart,o=e.node(t).copy(n.content);for(let s=t-1;s>=0;s--)o=e.node(s).copy(fe.from(o));return{start:o.resolveNoCache(n.openStart+t),end:o.resolveNoCache(o.content.size-n.openEnd-t)}}class hs{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 s=0;s<e;s++)o+=r.child(s).nodeSize;return o}marks(){let e=this.parent,t=this.index();if(e.content.size==0)return We.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 s=r.marks;for(var i=0;i<s.length;i++)s[i].type.spec.inclusive===!1&&(!o||!s[i].isInSet(o.marks))&&(s=s[i--].removeFromSet(s));return s}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 s=0;s<r.length;s++)r[s].type.spec.inclusive===!1&&(!o||!r[s].isInSet(o.marks))&&(r=r[s--].removeFromSet(r));return r}sharedDepth(e){for(let t=this.depth;t>0;t--)if(this.start(t)<=e&&this.end(t)>=e)return t;return 0}blockRange(e=this,t){if(e.pos<this.pos)return e.blockRange(this);for(let r=this.depth-(this.parent.inlineContent||this.pos==e.pos?1:0);r>=0;r--)if(e.pos<=this.end(r)&&(!t||t(this.node(r))))return new Ci(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,s=t;for(let i=e;;){let{index:l,offset:a}=i.content.findIndex(s),u=s-a;if(r.push(i,l,o+a),!u||(i=i.child(l),i.isText))break;s=u-1,o+=a+1}return new hs(t,r,s)}static resolveCached(e,t){for(let o=0;o<Kl.length;o++){let s=Kl[o];if(s.pos==t&&s.doc==e)return s}let r=Kl[Yl]=hs.resolve(e,t);return Yl=(Yl+1)%Wy,r}}let Kl=[],Yl=0,Wy=12;class Ci{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 Ky=Object.create(null);let Vr=class Md{constructor(e,t,r,o=We.none){this.type=e,this.attrs=t,this.marks=o,this.content=r||fe.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&&yi(this.attrs,t||e.defaultAttrs||Ky)&&We.sameSet(this.marks,r||We.none)}copy(e=null){return e==this.content?this:new Md(this.type,this.attrs,e,this.marks)}mark(e){return e==this.marks?this:new Md(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 we.empty;let o=this.resolve(e),s=this.resolve(t),i=r?0:o.sharedDepth(t),l=o.start(i),u=o.node(i).content.cut(o.pos-l,s.pos-l);return new we(u,o.depth-i,s.depth-i)}replace(e,t,r){return Hy(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 hs.resolveCached(this,e)}resolveNoCache(e){return hs.resolve(this,e)}rangeHasMark(e,t,r){let o=!1;return t>e&&this.nodesBetween(e,t,s=>(r.isInSet(s.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()+")"),nh(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=fe.empty,o=0,s=r.childCount){let i=this.contentMatchAt(e).matchFragment(r,o,s),l=i&&i.matchFragment(this.content,t);if(!l||!l.validEnd)return!1;for(let a=o;a<s;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 s=this.contentMatchAt(e).matchType(r),i=s&&s.matchFragment(this.content,t);return i?i.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=We.none;for(let t=0;t<this.marks.length;t++)e=this.marks[t].addToSet(e);if(!We.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=fe.fromJSON(e,t.content);return e.nodeType(t.type).create(t.attrs,o,r)}};Vr.prototype.text=void 0;class Ai extends Vr{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):nh(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 Ai(this.type,this.attrs,this.text,e)}withText(e){return e==this.text?this:new Ai(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 nh(n,e){for(let t=n.length-1;t>=0;t--)e=n[t].type.name+"("+e+")";return e}class $r{constructor(e){this.validEnd=e,this.next=[],this.wrapCache=[]}static parse(e,t){let r=new Yy(e,t);if(r.next==null)return $r.empty;let o=rh(r);r.next&&r.err("Unexpected trailing text");let s=ev(qy(o));return tv(s,r),s}matchType(e){for(let t=0;t<this.next.length;t++)if(this.next[t].type==e)return this.next[t].next;return null}matchFragment(e,t=0,r=e.childCount){let o=this;for(let s=t;o&&s<r;s++)o=o.matchType(e.child(s).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 s(i,l){let a=i.matchFragment(e,r);if(a&&(!t||a.validEnd))return fe.from(l.map(u=>u.createAndFill()));for(let u=0;u<i.next.length;u++){let{type:d,next:f}=i.next[u];if(!(d.isText||d.hasRequiredAttrs())&&o.indexOf(f)==-1){o.push(f);let h=s(f,l.concat(d));if(h)return h}}return null}return s(this,[])}findWrapping(e){for(let r=0;r<this.wrapCache.length;r+=2)if(this.wrapCache[r]==e)return this.wrapCache[r+1];let t=this.computeWrapping(e);return this.wrapCache.push(e,t),t}computeWrapping(e){let t=Object.create(null),r=[{match:this,type:null,via:null}];for(;r.length;){let o=r.shift(),s=o.match;if(s.matchType(e)){let i=[];for(let l=o;l.type;l=l.via)i.push(l.type);return i.reverse()}for(let i=0;i<s.next.length;i++){let{type:l,next:a}=s.next[i];!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 s=o+(r.validEnd?"*":" ")+" ";for(let i=0;i<r.next.length;i++)s+=(i?", ":"")+r.next[i].type.name+"->"+e.indexOf(r.next[i].next);return s}).join(`
|
|
63
|
+
`)}}$r.empty=new $r(!0);class Yy{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 rh(n){let e=[];do e.push(Gy(n));while(n.eat("|"));return e.length==1?e[0]:{type:"choice",exprs:e}}function Gy(n){let e=[];do e.push(Qy(n));while(n.next&&n.next!=")"&&n.next!="|");return e.length==1?e[0]:{type:"seq",exprs:e}}function Qy(n){let e=Xy(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=Zy(n,e);else break;return e}function oh(n){/\D/.test(n.next)&&n.err("Expected number, got '"+n.next+"'");let e=Number(n.next);return n.pos++,e}function Zy(n,e){let t=oh(n),r=t;return n.eat(",")&&(n.next!="}"?r=oh(n):r=-1),n.eat("}")||n.err("Unclosed braced range"),{type:"range",min:t,max:r,expr:e}}function Jy(n,e){let t=n.nodeTypes,r=t[e];if(r)return[r];let o=[];for(let s in t){let i=t[s];i.groups.indexOf(e)>-1&&o.push(i)}return o.length==0&&n.err("No node type or group '"+e+"' found"),o}function Xy(n){if(n.eat("(")){let e=rh(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=Jy(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 qy(n){let e=[[]];return o(s(n,0),t()),e;function t(){return e.push([])-1}function r(i,l,a){let u={term:a,to:l};return e[i].push(u),u}function o(i,l){i.forEach(a=>a.to=l)}function s(i,l){if(i.type=="choice")return i.exprs.reduce((a,u)=>a.concat(s(u,l)),[]);if(i.type=="seq")for(let a=0;;a++){let u=s(i.exprs[a],l);if(a==i.exprs.length-1)return u;o(u,l=t())}else if(i.type=="star"){let a=t();return r(l,a),o(s(i.expr,a),a),[r(a)]}else if(i.type=="plus"){let a=t();return o(s(i.expr,l),a),o(s(i.expr,a),a),[r(a)]}else{if(i.type=="opt")return[r(l)].concat(s(i.expr,l));if(i.type=="range"){let a=l;for(let u=0;u<i.min;u++){let d=t();o(s(i.expr,a),d),a=d}if(i.max==-1)o(s(i.expr,a),a);else for(let u=i.min;u<i.max;u++){let d=t();r(a,d),o(s(i.expr,a),d),a=d}return[r(a)]}else{if(i.type=="name")return[r(l,void 0,i.value)];throw new Error("Unknown expr type")}}}}function sh(n,e){return e-n}function ih(n,e){let t=[];return r(e),t.sort(sh);function r(o){let s=n[o];if(s.length==1&&!s[0].term)return r(s[0].to);t.push(o);for(let i=0;i<s.length;i++){let{term:l,to:a}=s[i];!l&&t.indexOf(a)==-1&&r(a)}}}function ev(n){let e=Object.create(null);return t(ih(n,0));function t(r){let o=[];r.forEach(i=>{n[i].forEach(({term:l,to:a})=>{if(!l)return;let u;for(let d=0;d<o.length;d++)o[d][0]==l&&(u=o[d][1]);ih(n,a).forEach(d=>{u||o.push([l,u=[]]),u.indexOf(d)==-1&&u.push(d)})})});let s=e[r.join(",")]=new $r(r.indexOf(n.length-1)>-1);for(let i=0;i<o.length;i++){let l=o[i][1].sort(sh);s.next.push({type:o[i][0],next:e[l.join(",")]||t(l)})}return s}}function tv(n,e){for(let t=0,r=[n];t<r.length;t++){let o=r[t],s=!o.validEnd,i=[];for(let l=0;l<o.next.length;l++){let{type:a,next:u}=o.next[l];i.push(a.name),s&&!(a.isText||a.hasRequiredAttrs())&&(s=!1),r.indexOf(u)==-1&&r.push(u)}s&&e.err("Only non-generatable nodes ("+i.join(", ")+") in a required position (see https://prosemirror.net/docs/guide/#generatable)")}}function ah(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 lh(n,e){let t=Object.create(null);for(let r in n){let o=e&&e[r];if(o===void 0){let s=n[r];if(s.hasDefault)o=s.default;else throw new RangeError("No value supplied for attribute "+r)}t[r]=o}return t}function ch(n){let e=Object.create(null);if(n)for(let t in n)e[t]=new nv(n[t]);return e}let uh=class jg{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=ch(r.attrs),this.defaultAttrs=ah(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==$r.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:lh(this.attrs,e)}create(e=null,t,r){if(this.isText)throw new Error("NodeType.create can't construct text nodes");return new Vr(this,this.computeAttrs(e),fe.from(t),We.setFrom(r))}createChecked(e=null,t,r){return t=fe.from(t),this.checkContent(t),new Vr(this,this.computeAttrs(e),t,We.setFrom(r))}createAndFill(e=null,t,r){if(e=this.computeAttrs(e),t=fe.from(t),t.size){let i=this.contentMatch.fillBefore(t);if(!i)return null;t=i.append(t)}let o=this.contentMatch.matchFragment(t),s=o&&o.fillBefore(fe.empty,!0);return s?new Vr(this,e,t.append(s),We.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:We.none:e}static compile(e,t){let r=Object.create(null);e.forEach((s,i)=>r[s]=new jg(s,t,i));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 s in r.text.attrs)throw new RangeError("The text node type should not have attributes");return r}};class nv{constructor(e){this.hasDefault=Object.prototype.hasOwnProperty.call(e,"default"),this.default=e.default}get isRequired(){return!this.hasDefault}}class bi{constructor(e,t,r,o){this.name=e,this.rank=t,this.schema=r,this.spec=o,this.attrs=ch(o.attrs),this.excluded=null;let s=ah(this.attrs);this.instance=s?new We(this,s):null}create(e=null){return!e&&this.instance?this.instance:new We(this,lh(this.attrs,e))}static compile(e,t){let r=Object.create(null),o=0;return e.forEach((s,i)=>r[s]=new bi(s,o++,t,i)),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 rv{constructor(e){this.cached=Object.create(null);let t=this.spec={};for(let o in e)t[o]=e[o];t.nodes=ht.from(e.nodes),t.marks=ht.from(e.marks||{}),this.nodes=uh.compile(this.spec.nodes,this),this.marks=bi.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 s=this.nodes[o],i=s.spec.content||"",l=s.spec.marks;s.contentMatch=r[i]||(r[i]=$r.parse(i,this.nodes)),s.inlineContent=s.contentMatch.inlineContent,s.markSet=l=="_"?null:l?dh(this,l.split(" ")):l==""||!s.inlineContent?[]:null}for(let o in this.marks){let s=this.marks[o],i=s.spec.excludes;s.excluded=i==null?[s]:i==""?[]:dh(this,i.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 uh){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 Ai(r,r.defaultAttrs,e,We.setFrom(t))}mark(e,t){return typeof e=="string"&&(e=this.marks[e]),e.create(t)}nodeFromJSON(e){return Vr.fromJSON(this,e)}markFromJSON(e){return We.fromJSON(this,e)}nodeType(e){let t=this.nodes[e];if(!t)throw new RangeError("Unknown node type: "+e);return t}}function dh(n,e){let t=[];for(let r=0;r<e.length;r++){let o=e[r],s=n.marks[o],i=s;if(s)t.push(s);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(i=a)}if(!i)throw new SyntaxError("Unknown mark type: '"+e[r]+"'")}return t}class po{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 mh(this,t,!1);return r.addAll(e,t.from,t.to),r.finish()}parseSlice(e,t={}){let r=new mh(this,t,!0);return r.addAll(e,t.from,t.to),we.maxOpen(r.finish())}matchTag(e,t,r){for(let o=r?this.tags.indexOf(r)+1:0;o<this.tags.length;o++){let s=this.tags[o];if(iv(e,s.tag)&&(s.namespace===void 0||e.namespaceURI==s.namespace)&&(!s.context||t.matchesContext(s.context))){if(s.getAttrs){let i=s.getAttrs(e);if(i===!1)continue;s.attrs=i||void 0}return s}}}matchStyle(e,t,r,o){for(let s=o?this.styles.indexOf(o)+1:0;s<this.styles.length;s++){let i=this.styles[s],l=i.style;if(!(l.indexOf(e)!=0||i.context&&!r.matchesContext(i.context)||l.length>e.length&&(l.charCodeAt(e.length)!=61||l.slice(e.length+1)!=t))){if(i.getAttrs){let a=i.getAttrs(t);if(a===!1)continue;i.attrs=a||void 0}return i}}}static schemaRules(e){let t=[];function r(o){let s=o.priority==null?50:o.priority,i=0;for(;i<t.length;i++){let l=t[i];if((l.priority==null?50:l.priority)<s)break}t.splice(i,0,o)}for(let o in e.marks){let s=e.marks[o].spec.parseDOM;s&&s.forEach(i=>{r(i=gh(i)),i.mark||i.ignore||i.clearMark||(i.mark=o)})}for(let o in e.nodes){let s=e.nodes[o].spec.parseDOM;s&&s.forEach(i=>{r(i=gh(i)),i.node||i.ignore||i.mark||(i.node=o)})}return t}static fromSchema(e){return e.cached.domParser||(e.cached.domParser=new po(e,po.schemaRules(e)))}}const fh={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},ov={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},hh={ol:!0,ul:!0},wi=1,Ti=2,ps=4;function ph(n,e,t){return e!=null?(e?wi:0)|(e==="full"?Ti:0):n&&n.whitespace=="pre"?wi|Ti:t&~ps}class Si{constructor(e,t,r,o,s,i,l){this.type=e,this.attrs=t,this.marks=r,this.pendingMarks=o,this.solid=s,this.options=l,this.content=[],this.activeMarks=We.none,this.stashMarks=[],this.match=i||(l&ps?null:e.contentMatch)}findWrapping(e){if(!this.match){if(!this.type)return[];let t=this.type.contentMatch.fillBefore(fe.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&wi)){let r=this.content[this.content.length-1],o;if(r&&r.isText&&(o=/[ \t\r\n\u000c]+$/.exec(r.text))){let s=r;r.text.length==o[0].length?this.content.pop():this.content[this.content.length-1]=s.withText(s.text.slice(0,s.text.length-o[0].length))}}let t=fe.from(this.content);return!e&&this.match&&(t=t.append(this.match.fillBefore(fe.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):lv(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&&!fh.hasOwnProperty(e.parentNode.nodeName.toLowerCase())}}class mh{constructor(e,t,r){this.parser=e,this.options=t,this.isOpen=r,this.open=0;let o=t.topNode,s,i=ph(null,t.preserveWhitespace,0)|(r?ps:0);o?s=new Si(o.type,o.attrs,We.none,We.none,!0,t.topMatch||o.type.contentMatch,i):r?s=new Si(null,null,We.none,We.none,!0,null,i):s=new Si(e.schema.topNodeType,null,We.none,We.none,!0,null,i),this.nodes=[s],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(av(r));if(!o)return;let[s,i]=o,l=this.top;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]);t();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])}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&wi)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],s=e.previousSibling;(!o||s&&s.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;hh.hasOwnProperty(r)&&this.parser.normalizeLists&&sv(e);let s=this.options.ruleFromNode&&this.options.ruleFromNode(e)||(o=this.parser.matchTag(e,this,t));if(s?s.ignore:ov.hasOwnProperty(r))this.findInside(e),this.ignoreFallback(e);else if(!s||s.skip||s.closeParent){s&&s.closeParent?this.open=Math.max(0,this.open-1):s&&s.skip.nodeType&&(e=s.skip);let i,l=this.top,a=this.needsBlock;if(fh.hasOwnProperty(r))l.content.length&&l.content[0].isInline&&this.open&&(this.open--,l=this.top),i=!0,l.type||(this.needsBlock=!0);else if(!e.firstChild){this.leafFallback(e);return}s&&s.skip?this.addAll(e):this.withStyleRules(e,()=>this.addAll(e)),i&&this.sync(l),this.needsBlock=a}else this.withStyleRules(e,()=>{this.addElementByRule(e,s,s.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=We.none,r=We.none;for(let o=0;o<e.length;o+=2)for(let s=void 0;;){let i=this.parser.matchStyle(e[o],e[o+1],this,s);if(!i)break;if(i.ignore)return null;if(i.clearMark?this.top.pendingMarks.concat(this.top.activeMarks).forEach(l=>{i.clearMark(l)&&(r=l.addToSet(r))}):t=this.parser.schema.marks[i.mark].create(i.attrs).addToSet(t),i.consuming===!1)s=i;else break}return[t,r]}addElementByRule(e,t,r){let o,s,i;t.node?(s=this.parser.schema.nodes[t.node],s.isLeaf?this.insertNode(s.create(t.attrs))||this.leafFallback(e):o=this.enter(s,t.attrs||null,t.preserveWhitespace)):(i=this.parser.schema.marks[t.mark].create(t.attrs),this.addPendingMark(i));let l=this.top;if(s&&s.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--,i&&this.removePendingMark(i,l)}addAll(e,t,r){let o=t||0;for(let s=t?e.childNodes[t]:e.firstChild,i=r==null?null:e.childNodes[r];s!=i;s=s.nextSibling,++o)this.findAtPoint(e,o),this.addDOM(s);this.findAtPoint(e,o)}findPlace(e){let t,r;for(let o=this.open;o>=0;o--){let s=this.nodes[o],i=s.findWrapping(e);if(i&&(!t||t.length>i.length)&&(t=i,r=s,!i.length)||s.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 s=this.top;s.applyPending(e),s.match=s.match&&s.match.matchType(e);let i=ph(e,o,s.options);s.options&ps&&s.content.length==0&&(i|=ps),this.nodes.push(new Si(e,t,s.activeMarks,s.pendingMarks,r,null,i)),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),s=-(r?r.depth+1:0)+(o?0:1),i=(l,a)=>{for(;l>=0;l--){let u=t[l];if(u==""){if(l==t.length-1||l==0)continue;for(;a>=s;a--)if(i(l-1,a))return!0;return!1}else{let d=a>0||a==0&&o?this.nodes[a].type:r&&a>=s?r.node(a-s).type:null;if(!d||d.name!=u&&d.groups.indexOf(u)==-1)return!1;a--}}return!0};return i(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=cv(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 i=o.popFromStashMark(e);i&&o.type&&o.type.allowsMarkType(i.type)&&(o.activeMarks=i.addToSet(o.activeMarks))}if(o==t)break}}}function sv(n){for(let e=n.firstChild,t=null;e;e=e.nextSibling){let r=e.nodeType==1?e.nodeName.toLowerCase():null;r&&hh.hasOwnProperty(r)&&t?(t.appendChild(e),e=t):r=="li"?t=e:r&&(t=null)}}function iv(n,e){return(n.matches||n.msMatchesSelector||n.webkitMatchesSelector||n.mozMatchesSelector).call(n,e)}function av(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 gh(n){let e={};for(let t in n)e[t]=n[t];return e}function lv(n,e){let t=e.schema.nodes;for(let r in t){let o=t[r];if(!o.allowsMarkType(n))continue;let s=[],i=l=>{s.push(l);for(let a=0;a<l.edgeCount;a++){let{type:u,next:d}=l.edge(a);if(u==e||s.indexOf(d)<0&&i(d))return!0}};if(i(o.contentMatch))return!0}}function cv(n,e){for(let t=0;t<e.length;t++)if(n.eq(e[t]))return e[t]}class En{constructor(e,t){this.nodes=e,this.marks=t}serializeFragment(e,t={},r){r||(r=Gl(t).createDocumentFragment());let o=r,s=[];return e.forEach(i=>{if(s.length||i.marks.length){let l=0,a=0;for(;l<s.length&&a<i.marks.length;){let u=i.marks[a];if(!this.marks[u.type.name]){a++;continue}if(!u.eq(s[l][0])||u.type.spec.spanning===!1)break;l++,a++}for(;l<s.length;)o=s.pop()[1];for(;a<i.marks.length;){let u=i.marks[a++],d=this.serializeMark(u,i.isInline,t);d&&(s.push([u,o]),o.appendChild(d.dom),o=d.contentDOM||d.dom)}}o.appendChild(this.serializeNodeInner(i,t))}),r}serializeNodeInner(e,t){let{dom:r,contentDOM:o}=En.renderSpec(Gl(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 s=this.serializeMark(e.marks[o],e.isInline,t);s&&((s.contentDOM||s.dom).appendChild(r),r=s.dom)}return r}serializeMark(e,t,r={}){let o=this.marks[e.type.name];return o&&En.renderSpec(Gl(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],s=o.indexOf(" ");s>0&&(r=o.slice(0,s),o=o.slice(s+1));let i,l=r?e.createElementNS(r,o):e.createElement(o),a=t[1],u=1;if(a&&typeof a=="object"&&a.nodeType==null&&!Array.isArray(a)){u=2;for(let d in a)if(a[d]!=null){let f=d.indexOf(" ");f>0?l.setAttributeNS(d.slice(0,f),d.slice(f+1),a[d]):l.setAttribute(d,a[d])}}for(let d=u;d<t.length;d++){let f=t[d];if(f===0){if(d<t.length-1||d>u)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}=En.renderSpec(e,f,r);if(l.appendChild(h),p){if(i)throw new RangeError("Multiple content holes");i=p}}}return{dom:l,contentDOM:i}}static fromSchema(e){return e.cached.domSerializer||(e.cached.domSerializer=new En(this.nodesFromSchema(e),this.marksFromSchema(e)))}static nodesFromSchema(e){let t=yh(e.nodes);return t.text||(t.text=r=>r.text),t}static marksFromSchema(e){return yh(e.marks)}}function yh(n){let e={};for(let t in n){let r=n[t].spec.toDOM;r&&(e[t]=r)}return e}function Gl(n){return n.document||window.document}const vh=65535,Eh=Math.pow(2,16);function uv(n,e){return n+e*Eh}function Ch(n){return n&vh}function dv(n){return(n-(n&vh))/Eh}const Ah=1,bh=2,_i=4,wh=8;class Ql{constructor(e,t,r){this.pos=e,this.delInfo=t,this.recover=r}get deleted(){return(this.delInfo&wh)>0}get deletedBefore(){return(this.delInfo&(Ah|_i))>0}get deletedAfter(){return(this.delInfo&(bh|_i))>0}get deletedAcross(){return(this.delInfo&_i)>0}}class $t{constructor(e,t=!1){if(this.ranges=e,this.inverted=t,!e.length&&$t.empty)return $t.empty}recover(e){let t=0,r=Ch(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+dv(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,s=this.inverted?2:1,i=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 u=this.ranges[l+s],d=this.ranges[l+i],f=a+u;if(e<=f){let h=u?e==a?-1:e==f?1:t:t,p=a+o+(h<0?0:d);if(r)return p;let m=e==(t<0?a:f)?null:uv(l/3,e-a),g=e==a?bh:e==f?Ah:_i;return(t<0?e!=a:e!=f)&&(g|=wh),new Ql(p,g,m)}o+=d-u}return r?e+o:new Ql(e+o,0,null)}touches(e,t){let r=0,o=Ch(t),s=this.inverted?2:1,i=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 u=this.ranges[l+s],d=a+u;if(e<=d&&l==o*3)return!0;r+=this.ranges[l+i]-u}return!1}forEach(e){let t=this.inverted?2:1,r=this.inverted?1:2;for(let o=0,s=0;o<this.ranges.length;o+=3){let i=this.ranges[o],l=i-(this.inverted?s:0),a=i+(this.inverted?0:s),u=this.ranges[o+t],d=this.ranges[o+r];e(l,l+u,a,a+d),s+=d-u}}invert(){return new $t(this.ranges,!this.inverted)}toString(){return(this.inverted?"-":"")+JSON.stringify(this.ranges)}static offset(e){return e==0?$t.empty:new $t(e<0?[0,-e,0]:[0,0,e])}}$t.empty=new $t([]);class ms{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 ms(this.maps,this.mirror,e,t)}copy(){return new ms(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 ms;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 s=this.from;s<this.to;s++){let i=this.maps[s],l=i.mapResult(e,t);if(l.recover!=null){let a=this.getMirror(s);if(a!=null&&a>s&&a<this.to){s=a,e=this.maps[a].recover(l.recover);continue}}o|=l.delInfo,e=l.pos}return r?e:new Ql(e,o,null)}}const Zl=Object.create(null);class yt{getMap(){return $t.empty}merge(e){return null}static fromJSON(e,t){if(!t||!t.stepType)throw new RangeError("Invalid input for Step.fromJSON");let r=Zl[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 Zl)throw new RangeError("Duplicate use of step JSON ID "+e);return Zl[e]=t,t.prototype.jsonID=e,t}}class ot{constructor(e,t){this.doc=e,this.failed=t}static ok(e){return new ot(e,null)}static fail(e){return new ot(null,e)}static fromReplace(e,t,r,o){try{return ot.ok(e.replace(t,r,o))}catch(s){if(s instanceof vi)return ot.fail(s.message);throw s}}}function Jl(n,e,t){let r=[];for(let o=0;o<n.childCount;o++){let s=n.child(o);s.content.size&&(s=s.copy(Jl(s.content,e,s))),s.isInline&&(s=e(s,t,o)),r.push(s)}return fe.fromArray(r)}class qn extends yt{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)),s=new we(Jl(t.content,(i,l)=>!i.isAtom||!l.type.allowsMarkType(this.mark.type)?i:i.mark(this.mark.addToSet(i.marks)),o),t.openStart,t.openEnd);return ot.fromReplace(e,this.from,this.to,s)}invert(){return new Cn(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 qn(t.pos,r.pos,this.mark)}merge(e){return e instanceof qn&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new qn(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 qn(t.from,t.to,e.markFromJSON(t.mark))}}yt.jsonID("addMark",qn);class Cn extends yt{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 we(Jl(t.content,o=>o.mark(this.mark.removeFromSet(o.marks)),e),t.openStart,t.openEnd);return ot.fromReplace(e,this.from,this.to,r)}invert(){return new qn(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 Cn(t.pos,r.pos,this.mark)}merge(e){return e instanceof Cn&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new Cn(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 Cn(t.from,t.to,e.markFromJSON(t.mark))}}yt.jsonID("removeMark",Cn);class er extends yt{constructor(e,t){super(),this.pos=e,this.mark=t}apply(e){let t=e.nodeAt(this.pos);if(!t)return ot.fail("No node at mark step's position");let r=t.type.create(t.attrs,null,this.mark.addToSet(t.marks));return ot.fromReplace(e,this.pos,this.pos+1,new we(fe.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 er(this.pos,t.marks[o]);return new er(this.pos,this.mark)}}return new mo(this.pos,this.mark)}map(e){let t=e.mapResult(this.pos,1);return t.deletedAfter?null:new er(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 er(t.pos,e.markFromJSON(t.mark))}}yt.jsonID("addNodeMark",er);class mo extends yt{constructor(e,t){super(),this.pos=e,this.mark=t}apply(e){let t=e.nodeAt(this.pos);if(!t)return ot.fail("No node at mark step's position");let r=t.type.create(t.attrs,null,this.mark.removeFromSet(t.marks));return ot.fromReplace(e,this.pos,this.pos+1,new we(fe.from(r),0,t.isLeaf?0:1))}invert(e){let t=e.nodeAt(this.pos);return!t||!this.mark.isInSet(t.marks)?this:new er(this.pos,this.mark)}map(e){let t=e.mapResult(this.pos,1);return t.deletedAfter?null:new mo(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 mo(t.pos,e.markFromJSON(t.mark))}}yt.jsonID("removeNodeMark",mo);class pt extends yt{constructor(e,t,r,o=!1){super(),this.from=e,this.to=t,this.slice=r,this.structure=o}apply(e){return this.structure&&Xl(e,this.from,this.to)?ot.fail("Structure replace would overwrite content"):ot.fromReplace(e,this.from,this.to,this.slice)}getMap(){return new $t([this.from,this.to-this.from,this.slice.size])}invert(e){return new pt(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 pt(t.pos,Math.max(t.pos,r.pos),this.slice)}merge(e){if(!(e instanceof pt)||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?we.empty:new we(this.slice.content.append(e.slice.content),this.slice.openStart,e.slice.openEnd);return new pt(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?we.empty:new we(e.slice.content.append(this.slice.content),e.slice.openStart,this.slice.openEnd);return new pt(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 pt(t.from,t.to,we.fromJSON(e,t.slice),!!t.structure)}}yt.jsonID("replace",pt);class lt extends yt{constructor(e,t,r,o,s,i,l=!1){super(),this.from=e,this.to=t,this.gapFrom=r,this.gapTo=o,this.slice=s,this.insert=i,this.structure=l}apply(e){if(this.structure&&(Xl(e,this.from,this.gapFrom)||Xl(e,this.gapTo,this.to)))return ot.fail("Structure gap-replace would overwrite content");let t=e.slice(this.gapFrom,this.gapTo);if(t.openStart||t.openEnd)return ot.fail("Gap is not a flat range");let r=this.slice.insertAt(this.insert,t.content);return r?ot.fromReplace(e,this.from,this.to,r):ot.fail("Content does not fit in gap")}getMap(){return new $t([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 lt(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),s=e.map(this.gapTo,1);return t.deletedAcross&&r.deletedAcross||o<t.pos||s>r.pos?null:new lt(t.pos,r.pos,o,s,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 lt(t.from,t.to,t.gapFrom,t.gapTo,we.fromJSON(e,t.slice),t.insert,!!t.structure)}}yt.jsonID("replaceAround",lt);function Xl(n,e,t){let r=n.resolve(e),o=t-e,s=r.depth;for(;o>0&&s>0&&r.indexAfter(s)==r.node(s).childCount;)s--,o--;if(o>0){let i=r.node(s).maybeChild(r.indexAfter(s));for(;o>0;){if(!i||i.isLeaf)return!0;i=i.firstChild,o--}}return!1}function fv(n,e,t,r){let o=[],s=[],i,l;n.doc.nodesBetween(e,t,(a,u,d)=>{if(!a.isInline)return;let f=a.marks;if(!r.isInSet(f)&&d.type.allowsMarkType(r.type)){let h=Math.max(u,e),p=Math.min(u+a.nodeSize,t),m=r.addToSet(f);for(let g=0;g<f.length;g++)f[g].isInSet(m)||(i&&i.to==h&&i.mark.eq(f[g])?i.to=p:o.push(i=new Cn(h,p,f[g])));l&&l.to==h?l.to=p:s.push(l=new qn(h,p,r))}}),o.forEach(a=>n.step(a)),s.forEach(a=>n.step(a))}function hv(n,e,t,r){let o=[],s=0;n.doc.nodesBetween(e,t,(i,l)=>{if(!i.isInline)return;s++;let a=null;if(r instanceof bi){let u=i.marks,d;for(;d=r.isInSet(u);)(a||(a=[])).push(d),u=d.removeFromSet(u)}else r?r.isInSet(i.marks)&&(a=[r]):a=i.marks;if(a&&a.length){let u=Math.min(l+i.nodeSize,t);for(let d=0;d<a.length;d++){let f=a[d],h;for(let p=0;p<o.length;p++){let m=o[p];m.step==s-1&&f.eq(o[p].style)&&(h=m)}h?(h.to=u,h.step=s):o.push({style:f,from:Math.max(l,e),to:u,step:s})}}}),o.forEach(i=>n.step(new Cn(i.from,i.to,i.style)))}function pv(n,e,t,r=t.contentMatch){let o=n.doc.nodeAt(e),s=[],i=e+1;for(let l=0;l<o.childCount;l++){let a=o.child(l),u=i+a.nodeSize,d=r.matchType(a.type);if(!d)s.push(new pt(i,u,we.empty));else{r=d;for(let f=0;f<a.marks.length;f++)t.allowsMarkType(a.marks[f].type)||n.step(new Cn(i,u,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 we(fe.from(t.schema.text(" ",t.allowedMarks(a.marks))),0,0)),s.push(new pt(i+f.index,i+f.index+f[0].length,p))}}i=u}if(!r.validEnd){let l=r.fillBefore(fe.empty,!0);n.replace(i,i,new we(l,0,0))}for(let l=s.length-1;l>=0;l--)n.step(s[l])}function mv(n,e,t){return(e==0||n.canReplace(e,n.childCount))&&(t==n.childCount||n.canReplace(0,t))}function go(n){let t=n.parent.content.cutByIndex(n.startIndex,n.endIndex);for(let r=n.depth;;--r){let o=n.$from.node(r),s=n.$from.index(r),i=n.$to.indexAfter(r);if(r<n.depth&&o.canReplace(s,i,t))return r;if(r==0||o.type.spec.isolating||!mv(o,s,i))break}return null}function gv(n,e,t){let{$from:r,$to:o,depth:s}=e,i=r.before(s+1),l=o.after(s+1),a=i,u=l,d=fe.empty,f=0;for(let m=s,g=!1;m>t;m--)g||r.index(m)>0?(g=!0,d=fe.from(r.node(m).copy(d)),f++):a--;let h=fe.empty,p=0;for(let m=s,g=!1;m>t;m--)g||o.after(m+1)<o.end(m)?(g=!0,h=fe.from(o.node(m).copy(h)),p++):u++;n.step(new lt(a,u,i,l,new we(d.append(h),f,p),d.size-f,!0))}function ql(n,e,t=null,r=n){let o=yv(n,e),s=o&&vv(r,e);return s?o.map(Th).concat({type:e,attrs:t}).concat(s.map(Th)):null}function Th(n){return{type:n,attrs:null}}function yv(n,e){let{parent:t,startIndex:r,endIndex:o}=n,s=t.contentMatchAt(r).findWrapping(e);if(!s)return null;let i=s.length?s[0]:e;return t.canReplaceWith(r,o,i)?s:null}function vv(n,e){let{parent:t,startIndex:r,endIndex:o}=n,s=t.child(r),i=e.contentMatch.findWrapping(s.type);if(!i)return null;let a=(i.length?i[i.length-1]:e).contentMatch;for(let u=r;a&&u<o;u++)a=a.matchType(t.child(u).type);return!a||!a.validEnd?null:i}function Ev(n,e,t){let r=fe.empty;for(let i=t.length-1;i>=0;i--){if(r.size){let l=t[i].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=fe.from(t[i].type.create(t[i].attrs,r))}let o=e.start,s=e.end;n.step(new lt(o,s,o,s,new we(r,0,0),t.length,!0))}function Cv(n,e,t,r,o){if(!r.isTextblock)throw new RangeError("Type given to setBlockType should be a textblock");let s=n.steps.length;n.doc.nodesBetween(e,t,(i,l)=>{if(i.isTextblock&&!i.hasMarkup(r,o)&&Av(n.doc,n.mapping.slice(s).map(l),r)){n.clearIncompatible(n.mapping.slice(s).map(l,1),r);let a=n.mapping.slice(s),u=a.map(l,1),d=a.map(l+i.nodeSize,1);return n.step(new lt(u,d,u+1,d-1,new we(fe.from(r.create(o,null,i.marks)),0,0),1,!0)),!1}})}function Av(n,e,t){let r=n.resolve(e),o=r.index();return r.parent.canReplaceWith(o,o+1,t)}function bv(n,e,t,r,o){let s=n.doc.nodeAt(e);if(!s)throw new RangeError("No node at given position");t||(t=s.type);let i=t.create(r,null,o||s.marks);if(s.isLeaf)return n.replaceWith(e,e+s.nodeSize,i);if(!t.validContent(s.content))throw new RangeError("Invalid content for node type "+t.name);n.step(new lt(e,e+s.nodeSize,e+1,e+s.nodeSize-1,new we(fe.from(i),0,0),1,!0))}function yo(n,e,t=1,r){let o=n.resolve(e),s=o.depth-t,i=r&&r[r.length-1]||o.parent;if(s<0||o.parent.type.spec.isolating||!o.parent.canReplace(o.index(),o.parent.childCount)||!i.type.validContent(o.parent.content.cutByIndex(o.index(),o.parent.childCount)))return!1;for(let u=o.depth-1,d=t-2;u>s;u--,d--){let f=o.node(u),h=o.index(u);if(f.type.spec.isolating)return!1;let p=f.content.cutByIndex(h,f.childCount),m=r&&r[d+1];m&&(p=p.replaceChild(0,m.type.create(m.attrs)));let g=r&&r[d]||f;if(!f.canReplace(h+1,f.childCount)||!g.type.validContent(p))return!1}let l=o.indexAfter(s),a=r&&r[0];return o.node(s).canReplaceWith(l,l,a?a.type:o.node(s+1).type)}function wv(n,e,t=1,r){let o=n.doc.resolve(e),s=fe.empty,i=fe.empty;for(let l=o.depth,a=o.depth-t,u=t-1;l>a;l--,u--){s=fe.from(o.node(l).copy(s));let d=r&&r[u];i=fe.from(d?d.type.create(d.attrs,i):o.node(l).copy(i))}n.step(new pt(e,e,new we(s.append(i),t,t),!0))}function tr(n,e){let t=n.resolve(e),r=t.index();return Sh(t.nodeBefore,t.nodeAfter)&&t.parent.canReplace(r,r+1)}function Sh(n,e){return!!(n&&e&&!n.isLeaf&&n.canAppend(e))}function ki(n,e,t=-1){let r=n.resolve(e);for(let o=r.depth;;o--){let s,i,l=r.index(o);if(o==r.depth?(s=r.nodeBefore,i=r.nodeAfter):t>0?(s=r.node(o+1),l++,i=r.node(o).maybeChild(l)):(s=r.node(o).maybeChild(l-1),i=r.node(o+1)),s&&!s.isTextblock&&Sh(s,i)&&r.node(o).canReplace(l,l+1))return e;if(o==0)break;e=t<0?r.before(o):r.after(o)}}function Tv(n,e,t){let r=new pt(e-t,e+t,we.empty,!0);n.step(r)}function Sv(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 s=r.index(o);if(r.node(o).canReplaceWith(s,s,t))return r.before(o+1);if(s>0)return null}if(r.parentOffset==r.parent.content.size)for(let o=r.depth-1;o>=0;o--){let s=r.indexAfter(o);if(r.node(o).canReplaceWith(s,s,t))return r.after(o+1);if(s<r.node(o).childCount)return null}return null}function _v(n,e,t){let r=n.resolve(e);if(!t.content.size)return e;let o=t.content;for(let s=0;s<t.openStart;s++)o=o.firstChild.content;for(let s=1;s<=(t.openStart==0&&t.size?2:1);s++)for(let i=r.depth;i>=0;i--){let l=i==r.depth?0:r.pos<=(r.start(i+1)+r.end(i+1))/2?-1:1,a=r.index(i)+(l>0?1:0),u=r.node(i),d=!1;if(s==1)d=u.canReplace(a,a,o);else{let f=u.contentMatchAt(a).findWrapping(o.firstChild.type);d=f&&u.canReplaceWith(a,a,f[0])}if(d)return l==0?r.pos:l<0?r.before(i+1):r.after(i+1)}return null}function ec(n,e,t=e,r=we.empty){if(e==t&&!r.size)return null;let o=n.resolve(e),s=n.resolve(t);return _h(o,s,r)?new pt(e,t,r):new kv(o,s,r).fit()}function _h(n,e,t){return!t.openStart&&!t.openEnd&&n.start()==e.start()&&n.parent.canReplace(n.index(),e.index(),t.content)}class kv{constructor(e,t,r){this.$from=e,this.$to=t,this.unplaced=r,this.frontier=[],this.placed=fe.empty;for(let o=0;o<=e.depth;o++){let s=e.node(o);this.frontier.push({type:s.type,match:s.contentMatchAt(e.indexAfter(o))})}for(let o=e.depth;o>0;o--)this.placed=fe.from(e.node(o).copy(this.placed))}get depth(){return this.frontier.length-1}fit(){for(;this.unplaced.size;){let u=this.findFittable();u?this.placeNodes(u):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 s=this.placed,i=r.depth,l=o.depth;for(;i&&l&&s.childCount==1;)s=s.firstChild.content,i--,l--;let a=new we(s,i,l);return e>-1?new lt(r.pos,e,this.$to.pos,this.$to.end(),a,t):a.size||r.pos!=this.$to.pos?new pt(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 s=t.firstChild;if(t.childCount>1&&(o=0),s.type.spec.isolating&&o<=r){e=r;break}t=s.content}for(let t=1;t<=2;t++)for(let r=t==1?e:this.unplaced.openStart;r>=0;r--){let o,s=null;r?(s=tc(this.unplaced.content,r-1).firstChild,o=s.content):o=this.unplaced.content;let i=o.firstChild;for(let l=this.depth;l>=0;l--){let{type:a,match:u}=this.frontier[l],d,f=null;if(t==1&&(i?u.matchType(i.type)||(f=u.fillBefore(fe.from(i),!1)):s&&a.compatibleContent(s.type)))return{sliceDepth:r,frontierDepth:l,parent:s,inject:f};if(t==2&&i&&(d=u.findWrapping(i.type)))return{sliceDepth:r,frontierDepth:l,parent:s,wrap:d};if(s&&u.matchType(s.type))break}}}openMore(){let{content:e,openStart:t,openEnd:r}=this.unplaced,o=tc(e,t);return!o.childCount||o.firstChild.isLeaf?!1:(this.unplaced=new we(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=tc(e,t);if(o.childCount<=1&&t>0){let s=e.size-t<=t+o.size;this.unplaced=new we(gs(e,t-1,1),t-1,s?t-1:r)}else this.unplaced=new we(gs(e,t,1),t,r)}placeNodes({sliceDepth:e,frontierDepth:t,parent:r,inject:o,wrap:s}){for(;this.depth>t;)this.closeFrontierNode();if(s)for(let g=0;g<s.length;g++)this.openFrontierNode(s[g]);let i=this.unplaced,l=r?r.content:i.content,a=i.openStart-e,u=0,d=[],{match:f,type:h}=this.frontier[t];if(o){for(let g=0;g<o.childCount;g++)d.push(o.child(g));f=f.matchFragment(o)}let p=l.size+e-(i.content.size-i.openEnd);for(;u<l.childCount;){let g=l.child(u),y=f.matchType(g.type);if(!y)break;u++,(u>1||a==0||g.content.size)&&(f=y,d.push(kh(g.mark(h.allowedMarks(g.marks)),u==1?a:0,u==l.childCount?p:-1)))}let m=u==l.childCount;m||(p=-1),this.placed=ys(this.placed,t,fe.from(d)),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,y=l;g<p;g++){let C=y.lastChild;this.frontier.push({type:C.type,match:C.contentMatchAt(C.childCount)}),y=C.content}this.unplaced=m?e==0?we.empty:new we(gs(i.content,e-1,1),e-1,p<0?i.openEnd:e-1):new we(gs(i.content,e,u),i.openStart,i.openEnd)}mustMoveInline(){if(!this.$to.parent.isTextblock)return-1;let e=this.frontier[this.depth],t;if(!e.type.isTextblock||!nc(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],s=t<e.depth&&e.end(t+1)==e.pos+(e.depth-(t+1)),i=nc(e,t,o,r,s);if(i){for(let l=t-1;l>=0;l--){let{match:a,type:u}=this.frontier[l],d=nc(e,l,u,a,!0);if(!d||d.childCount)continue e}return{depth:t,fit:i,move:s?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=ys(this.placed,t.depth,t.fit)),e=t.move;for(let r=t.depth+1;r<=e.depth;r++){let o=e.node(r),s=o.type.contentMatch.fillBefore(o.content,!0,e.index(r));this.openFrontierNode(o.type,o.attrs,s)}return e}openFrontierNode(e,t=null,r){let o=this.frontier[this.depth];o.match=o.match.matchType(e),this.placed=ys(this.placed,this.depth,fe.from(e.create(t,r))),this.frontier.push({type:e,match:e.contentMatch})}closeFrontierNode(){let t=this.frontier.pop().match.fillBefore(fe.empty,!0);t.childCount&&(this.placed=ys(this.placed,this.frontier.length,t))}}function gs(n,e,t){return e==0?n.cutByIndex(t,n.childCount):n.replaceChild(0,n.firstChild.copy(gs(n.firstChild.content,e-1,t)))}function ys(n,e,t){return e==0?n.append(t):n.replaceChild(n.childCount-1,n.lastChild.copy(ys(n.lastChild.content,e-1,t)))}function tc(n,e){for(let t=0;t<e;t++)n=n.firstChild.content;return n}function kh(n,e,t){if(e<=0)return n;let r=n.content;return e>1&&(r=r.replaceChild(0,kh(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(fe.empty,!0)))),n.copy(r)}function nc(n,e,t,r,o){let s=n.node(e),i=o?n.indexAfter(e):n.index(e);if(i==s.childCount&&!t.compatibleContent(s.type))return null;let l=r.fillBefore(s.content,!0,i);return l&&!Nv(t,s.content,i)?l:null}function Nv(n,e,t){for(let r=t;r<e.childCount;r++)if(!n.allowsMarks(e.child(r).marks))return!0;return!1}function Iv(n){return n.spec.defining||n.spec.definingForContent}function xv(n,e,t,r){if(!r.size)return n.deleteRange(e,t);let o=n.doc.resolve(e),s=n.doc.resolve(t);if(_h(o,s,r))return n.step(new pt(e,t,r));let i=Ih(o,n.doc.resolve(t));i[i.length-1]==0&&i.pop();let l=-(o.depth+1);i.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;i.indexOf(h)>-1?l=h:o.before(h)==p&&i.splice(1,0,-h)}let a=i.indexOf(l),u=[],d=r.openStart;for(let h=r.content,p=0;;p++){let m=h.firstChild;if(u.push(m),p==r.openStart)break;h=m.content}for(let h=d-1;h>=0;h--){let p=u[h],m=Iv(p.type);if(m&&!p.sameMarkup(o.node(Math.abs(l)-1)))d=h;else if(m||!p.type.isTextblock)break}for(let h=r.openStart;h>=0;h--){let p=(h+d+1)%(r.openStart+1),m=u[p];if(m)for(let g=0;g<i.length;g++){let y=i[(g+a)%i.length],C=!0;y<0&&(C=!1,y=-y);let b=o.node(y-1),E=o.index(y-1);if(b.canReplaceWith(E,E,m.type,m.marks))return n.replace(o.before(y),C?s.after(y):t,new we(Nh(r.content,0,r.openStart,p),p,r.openEnd))}}let f=n.steps.length;for(let h=i.length-1;h>=0&&(n.replace(e,t,r),!(n.steps.length>f));h--){let p=i[h];p<0||(e=o.before(p),t=s.after(p))}}function Nh(n,e,t,r,o){if(e<t){let s=n.firstChild;n=n.replaceChild(0,s.copy(Nh(s.content,e+1,t,r,s)))}if(e>r){let s=o.contentMatchAt(0),i=s.fillBefore(n).append(n);n=i.append(s.matchFragment(i).fillBefore(fe.empty,!0))}return n}function Mv(n,e,t,r){if(!r.isInline&&e==t&&n.doc.resolve(e).parent.content.size){let o=Sv(n.doc,e,r.type);o!=null&&(e=t=o)}n.replaceRange(e,t,new we(fe.from(r),0,0))}function Ov(n,e,t){let r=n.doc.resolve(e),o=n.doc.resolve(t),s=Ih(r,o);for(let i=0;i<s.length;i++){let l=s[i],a=i==s.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 i=1;i<=r.depth&&i<=o.depth;i++)if(e-r.start(i)==r.depth-i&&t>r.end(i)&&o.end(i)-t!=o.depth-i)return n.delete(r.before(i),t);n.delete(e,t)}function Ih(n,e){let t=[],r=Math.min(n.depth,e.depth);for(let o=r;o>=0;o--){let s=n.start(o);if(s<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;(s==e.start(o)||o==n.depth&&o==e.depth&&n.parent.inlineContent&&e.parent.inlineContent&&o&&e.start(o-1)==s-1)&&t.push(o)}return t}class vo extends yt{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 ot.fail("No node at attribute step's position");let r=Object.create(null);for(let s in t.attrs)r[s]=t.attrs[s];r[this.attr]=this.value;let o=t.type.create(r,null,t.marks);return ot.fromReplace(e,this.pos,this.pos+1,new we(fe.from(o),0,t.isLeaf?0:1))}getMap(){return $t.empty}invert(e){return new vo(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 vo(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 vo(t.pos,t.attr,t.value)}}yt.jsonID("attr",vo);class vs extends yt{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 ot.ok(r)}getMap(){return $t.empty}invert(e){return new vs(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 vs(t.attr,t.value)}}yt.jsonID("docAttr",vs);let Eo=class extends Error{};Eo=function n(e){let t=Error.call(this,e);return t.__proto__=n.prototype,t},Eo.prototype=Object.create(Error.prototype),Eo.prototype.constructor=Eo,Eo.prototype.name="TransformError";class xh{constructor(e){this.doc=e,this.steps=[],this.docs=[],this.mapping=new ms}get before(){return this.docs.length?this.docs[0]:this.doc}step(e){let t=this.maybeStep(e);if(t.failed)throw new Eo(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=we.empty){let o=ec(this.doc,e,t,r);return o&&this.step(o),this}replaceWith(e,t,r){return this.replace(e,t,new we(fe.from(r),0,0))}delete(e,t){return this.replace(e,t,we.empty)}insert(e,t){return this.replaceWith(e,e,t)}replaceRange(e,t,r){return xv(this,e,t,r),this}replaceRangeWith(e,t,r){return Mv(this,e,t,r),this}deleteRange(e,t){return Ov(this,e,t),this}lift(e,t){return gv(this,e,t),this}join(e,t=1){return Tv(this,e,t),this}wrap(e,t){return Ev(this,e,t),this}setBlockType(e,t=e,r,o=null){return Cv(this,e,t,r,o),this}setNodeMarkup(e,t,r=null,o){return bv(this,e,t,r,o),this}setNodeAttribute(e,t,r){return this.step(new vo(e,t,r)),this}setDocAttribute(e,t){return this.step(new vs(e,t)),this}addNodeMark(e,t){return this.step(new er(e,t)),this}removeNodeMark(e,t){if(!(t instanceof We)){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 mo(e,t)),this}split(e,t=1,r){return wv(this,e,t,r),this}addMark(e,t,r){return fv(this,e,t,r),this}removeMark(e,t,r){return hv(this,e,t,r),this}clearIncompatible(e,t,r){return pv(this,e,t,r),this}}const rc=Object.create(null);class Ue{constructor(e,t,r){this.$anchor=e,this.$head=t,this.ranges=r||[new Lv(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=we.empty){let r=t.content.lastChild,o=null;for(let l=0;l<t.openEnd;l++)o=r,r=r.lastChild;let s=e.steps.length,i=this.ranges;for(let l=0;l<i.length;l++){let{$from:a,$to:u}=i[l],d=e.mapping.slice(s);e.replaceRange(d.map(a.pos),d.map(u.pos),l?we.empty:t),l==0&&Lh(e,s,(r?r.isInline:o&&o.isTextblock)?-1:1)}}replaceWith(e,t){let r=e.steps.length,o=this.ranges;for(let s=0;s<o.length;s++){let{$from:i,$to:l}=o[s],a=e.mapping.slice(r),u=a.map(i.pos),d=a.map(l.pos);s?e.deleteRange(u,d):(e.replaceRangeWith(u,d,t),Lh(e,r,t.isInline?-1:1))}}static findFrom(e,t,r=!1){let o=e.parent.inlineContent?new ze(e):Co(e.node(0),e.parent,e.pos,e.index(),t,r);if(o)return o;for(let s=e.depth-1;s>=0;s--){let i=t<0?Co(e.node(0),e.node(s),e.before(s+1),e.index(s),t,r):Co(e.node(0),e.node(s),e.after(s+1),e.index(s)+1,t,r);if(i)return i}return null}static near(e,t=1){return this.findFrom(e,t)||this.findFrom(e,-t)||new cn(e.node(0))}static atStart(e){return Co(e,e,0,0,1)||new cn(e)}static atEnd(e){return Co(e,e,e.content.size,e.childCount,-1)||new cn(e)}static fromJSON(e,t){if(!t||!t.type)throw new RangeError("Invalid input for Selection.fromJSON");let r=rc[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 rc)throw new RangeError("Duplicate use of selection JSON ID "+e);return rc[e]=t,t.prototype.jsonID=e,t}getBookmark(){return ze.between(this.$anchor,this.$head).getBookmark()}}Ue.prototype.visible=!0;class Lv{constructor(e,t){this.$from=e,this.$to=t}}let Mh=!1;function Oh(n){!Mh&&!n.parent.inlineContent&&(Mh=!0,console.warn("TextSelection endpoint not pointing into a node with inline content ("+n.parent.type.name+")"))}class ze extends Ue{constructor(e,t=e){Oh(e),Oh(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 Ue.near(r);let o=e.resolve(t.map(this.anchor));return new ze(o.parent.inlineContent?o:r,r)}replace(e,t=we.empty){if(super.replace(e,t),t==we.empty){let r=this.$from.marksAcross(this.$to);r&&e.ensureMarks(r)}}eq(e){return e instanceof ze&&e.anchor==this.anchor&&e.head==this.head}getBookmark(){return new Ni(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 ze(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 s=Ue.findFrom(t,r,!0)||Ue.findFrom(t,-r,!0);if(s)t=s.$head;else return Ue.near(t,r)}return e.parent.inlineContent||(o==0?e=t:(e=(Ue.findFrom(e,-r,!0)||Ue.findFrom(e,r,!0)).$anchor,e.pos<t.pos!=o<0&&(e=t))),new ze(e,t)}}Ue.jsonID("text",ze);class Ni{constructor(e,t){this.anchor=e,this.head=t}map(e){return new Ni(e.map(this.anchor),e.map(this.head))}resolve(e){return ze.between(e.resolve(this.anchor),e.resolve(this.head))}}class Le extends Ue{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),s=e.resolve(o);return r?Ue.near(s):new Le(s)}content(){return new we(fe.from(this.node),0,0)}eq(e){return e instanceof Le&&e.anchor==this.anchor}toJSON(){return{type:"node",anchor:this.anchor}}getBookmark(){return new oc(this.anchor)}static fromJSON(e,t){if(typeof t.anchor!="number")throw new RangeError("Invalid input for NodeSelection.fromJSON");return new Le(e.resolve(t.anchor))}static create(e,t){return new Le(e.resolve(t))}static isSelectable(e){return!e.isText&&e.type.spec.selectable!==!1}}Le.prototype.visible=!1,Ue.jsonID("node",Le);class oc{constructor(e){this.anchor=e}map(e){let{deleted:t,pos:r}=e.mapResult(this.anchor);return t?new Ni(r,r):new oc(r)}resolve(e){let t=e.resolve(this.anchor),r=t.nodeAfter;return r&&Le.isSelectable(r)?new Le(t):Ue.near(t)}}class cn extends Ue{constructor(e){super(e.resolve(0),e.resolve(e.content.size))}replace(e,t=we.empty){if(t==we.empty){e.delete(0,e.doc.content.size);let r=Ue.atStart(e.doc);r.eq(e.selection)||e.setSelection(r)}else super.replace(e,t)}toJSON(){return{type:"all"}}static fromJSON(e){return new cn(e)}map(e){return new cn(e)}eq(e){return e instanceof cn}getBookmark(){return Dv}}Ue.jsonID("all",cn);const Dv={map(){return this},resolve(n){return new cn(n)}};function Co(n,e,t,r,o,s=!1){if(e.inlineContent)return ze.create(n,t);for(let i=r-(o>0?0:1);o>0?i<e.childCount:i>=0;i+=o){let l=e.child(i);if(l.isAtom){if(!s&&Le.isSelectable(l))return Le.create(n,t-(o<0?l.nodeSize:0))}else{let a=Co(n,l,t+o,o<0?l.childCount:0,o,s);if(a)return a}t+=l.nodeSize*o}return null}function Lh(n,e,t){let r=n.steps.length-1;if(r<e)return;let o=n.steps[r];if(!(o instanceof pt||o instanceof lt))return;let s=n.mapping.maps[r],i;s.forEach((l,a,u,d)=>{i==null&&(i=d)}),n.setSelection(Ue.near(n.doc.resolve(i),t))}const Dh=1,Ii=2,Rh=4;class Rv extends xh{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|Dh)&~Ii,this.storedMarks=null,this}get selectionSet(){return(this.updated&Dh)>0}setStoredMarks(e){return this.storedMarks=e,this.updated|=Ii,this}ensureMarks(e){return We.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&Ii)>0}addStep(e,t){super.addStep(e,t),this.updated=this.updated&~Ii,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)||We.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 s=this.storedMarks;if(!s){let i=this.doc.resolve(t);s=r==t?i.marks():i.marksAcross(this.doc.resolve(r))}return this.replaceRangeWith(t,r,o.text(e,s)),this.selection.empty||this.setSelection(Ue.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|=Rh,this}get scrolledIntoView(){return(this.updated&Rh)>0}}function Bh(n,e){return!e||!n?n:n.bind(e)}class Es{constructor(e,t,r){this.name=e,this.init=Bh(t.init,r),this.apply=Bh(t.apply,r)}}const Bv=[new Es("doc",{init(n){return n.doc||n.schema.topNodeType.createAndFill()},apply(n){return n.doc}}),new Es("selection",{init(n,e){return n.selection||Ue.atStart(e.doc)},apply(n){return n.selection}}),new Es("storedMarks",{init(n){return n.storedMarks||null},apply(n,e,t,r){return r.selection.$cursor?n.storedMarks:null}}),new Es("scrollToSelection",{init(){return 0},apply(n,e){return n.scrolledIntoView?e+1:e}})];class sc{constructor(e,t){this.schema=e,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=Bv.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 Es(r.key,r.spec.state,r))})}}class Ao{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 s=!1;for(let i=0;i<this.config.plugins.length;i++){let l=this.config.plugins[i];if(l.spec.appendTransaction){let a=o?o[i].n:0,u=o?o[i].state:this,d=a<t.length&&l.spec.appendTransaction.call(l,a?t.slice(a):t,u,r);if(d&&r.filterTransaction(d,i)){if(d.setMeta("appendedTransaction",e),!o){o=[];for(let f=0;f<this.config.plugins.length;f++)o.push(f<i?{state:r,n:t.length}:{state:this,n:0})}t.push(d),r=r.applyInner(d),s=!0}o&&(o[i]={state:r,n:t.length})}}if(!s)return{state:r,transactions:t}}}applyInner(e){if(!e.before.eq(this.doc))throw new RangeError("Applying a mismatched transaction");let t=new Ao(this.config),r=this.config.fields;for(let o=0;o<r.length;o++){let s=r[o];t[s.name]=s.apply(e,this[s.name],this,t)}return t}get tr(){return new Rv(this)}static create(e){let t=new sc(e.doc?e.doc.type.schema:e.schema,e.plugins),r=new Ao(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 sc(this.schema,e.plugins),r=t.fields,o=new Ao(t);for(let s=0;s<r.length;s++){let i=r[s].name;o[i]=this.hasOwnProperty(i)?this[i]:r[s].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],s=o.spec.state;s&&s.toJSON&&(t[r]=s.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 sc(e.schema,e.plugins),s=new Ao(o);return o.fields.forEach(i=>{if(i.name=="doc")s.doc=Vr.fromJSON(e.schema,t.doc);else if(i.name=="selection")s.selection=Ue.fromJSON(s.doc,t.selection);else if(i.name=="storedMarks")t.storedMarks&&(s.storedMarks=t.storedMarks.map(e.schema.markFromJSON));else{if(r)for(let l in r){let a=r[l],u=a.spec.state;if(a.key==i.name&&u&&u.fromJSON&&Object.prototype.hasOwnProperty.call(t,l)){s[i.name]=u.fromJSON.call(a,e,t[l],s);return}}s[i.name]=i.init(e,s)}}),s}}function Ph(n,e,t){for(let r in n){let o=n[r];o instanceof Function?o=o.bind(e):r=="handleDOMEvents"&&(o=Ph(o,e,{})),t[r]=o}return t}class Dt{constructor(e){this.spec=e,this.props={},e.props&&Ph(e.props,this,this.props),this.key=e.key?e.key.key:Fh("plugin")}getState(e){return e[this.key]}}const ic=Object.create(null);function Fh(n){return n in ic?n+"$"+ ++ic[n]:(ic[n]=0,n+"$")}class un{constructor(e="key"){this.key=Fh(e)}get(e){return e.config.pluginsByKey[this.key]}getState(e){return e[this.key]}}const bt=function(n){for(var e=0;;e++)if(n=n.previousSibling,!n)return e},Cs=function(n){let e=n.assignedSlot||n.parentNode;return e&&e.nodeType==11?e.host:e};let Vh=null;const Rn=function(n,e,t){let r=Vh||(Vh=document.createRange());return r.setEnd(n,t??n.nodeValue.length),r.setStart(n,e||0),r},Ur=function(n,e,t,r){return t&&($h(n,e,t,r,-1)||$h(n,e,t,r,1))},Pv=/^(img|br|input|textarea|hr)$/i;function $h(n,e,t,r,o){for(;;){if(n==t&&e==r)return!0;if(e==(o<0?0:An(n))){let s=n.parentNode;if(!s||s.nodeType!=1||ac(n)||Pv.test(n.nodeName)||n.contentEditable=="false")return!1;e=bt(n)+(o<0?0:1),n=s}else if(n.nodeType==1){if(n=n.childNodes[e+(o<0?-1:0)],n.contentEditable=="false")return!1;e=o<0?An(n):0}else return!1}}function An(n){return n.nodeType==3?n.nodeValue.length:n.childNodes.length}function Fv(n,e,t){for(let r=e==0,o=e==An(n);r||o;){if(n==t)return!0;let s=bt(n);if(n=n.parentNode,!n)return!1;r=r&&s==0,o=o&&s==An(n)}}function ac(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 xi=function(n){return n.focusNode&&Ur(n.focusNode,n.focusOffset,n.anchorNode,n.anchorOffset)};function zr(n,e){let t=document.createEvent("Event");return t.initEvent("keydown",!0,!0),t.keyCode=n,t.key=t.code=e,t}function Vv(n){let e=n.activeElement;for(;e&&e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function $v(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 bn=typeof navigator<"u"?navigator:null,Uh=typeof document<"u"?document:null,nr=bn&&bn.userAgent||"",lc=/Edge\/(\d+)/.exec(nr),zh=/MSIE \d/.exec(nr),cc=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(nr),Rt=!!(zh||cc||lc),rr=zh?document.documentMode:cc?+cc[1]:lc?+lc[1]:0,dn=!Rt&&/gecko\/(\d+)/i.test(nr);dn&&+(/Firefox\/(\d+)/.exec(nr)||[0,0])[1];const uc=!Rt&&/Chrome\/(\d+)/.exec(nr),vt=!!uc,Uv=uc?+uc[1]:0,wt=!Rt&&!!bn&&/Apple Computer/.test(bn.vendor),bo=wt&&(/Mobile\/\w+/.test(nr)||!!bn&&bn.maxTouchPoints>2),Gt=bo||(bn?/Mac/.test(bn.platform):!1),zv=bn?/Win/.test(bn.platform):!1,fn=/Android \d/.test(nr),As=!!Uh&&"webkitFontSmoothing"in Uh.documentElement.style,Hv=As?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0;function jv(n){return{left:0,right:n.documentElement.clientWidth,top:0,bottom:n.documentElement.clientHeight}}function Bn(n,e){return typeof n=="number"?n:n[e]}function Wv(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 Hh(n,e,t){let r=n.someProp("scrollThreshold")||0,o=n.someProp("scrollMargin")||5,s=n.dom.ownerDocument;for(let i=t||n.dom;i;i=Cs(i)){if(i.nodeType!=1)continue;let l=i,a=l==s.body,u=a?jv(s):Wv(l),d=0,f=0;if(e.top<u.top+Bn(r,"top")?f=-(u.top-e.top+Bn(o,"top")):e.bottom>u.bottom-Bn(r,"bottom")&&(f=e.bottom-e.top>u.bottom-u.top?e.top+Bn(o,"top")-u.top:e.bottom-u.bottom+Bn(o,"bottom")),e.left<u.left+Bn(r,"left")?d=-(u.left-e.left+Bn(o,"left")):e.right>u.right-Bn(r,"right")&&(d=e.right-u.right+Bn(o,"right")),d||f)if(a)s.defaultView.scrollBy(d,f);else{let h=l.scrollLeft,p=l.scrollTop;f&&(l.scrollTop+=f),d&&(l.scrollLeft+=d);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(i).position))break}}function Kv(n){let e=n.dom.getBoundingClientRect(),t=Math.max(0,e.top),r,o;for(let s=(e.left+e.right)/2,i=t+1;i<Math.min(innerHeight,e.bottom);i+=5){let l=n.root.elementFromPoint(s,i);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:jh(n.dom)}}function jh(n){let e=[],t=n.ownerDocument;for(let r=n;r&&(e.push({dom:r,top:r.scrollTop,left:r.scrollLeft}),n!=t);r=Cs(r));return e}function Yv({refDOM:n,refTop:e,stack:t}){let r=n?n.getBoundingClientRect().top:0;Wh(t,r==0?0:r-e)}function Wh(n,e){for(let t=0;t<n.length;t++){let{dom:r,top:o,left:s}=n[t];r.scrollTop!=o+e&&(r.scrollTop=o+e),r.scrollLeft!=s&&(r.scrollLeft=s)}}let wo=null;function Gv(n){if(n.setActive)return n.setActive();if(wo)return n.focus(wo);let e=jh(n);n.focus(wo==null?{get preventScroll(){return wo={preventScroll:!0},!0}}:void 0),wo||(wo=!1,Wh(e,0))}function Kh(n,e){let t,r=2e8,o,s=0,i=e.top,l=e.top,a,u;for(let d=n.firstChild,f=0;d;d=d.nextSibling,f++){let h;if(d.nodeType==1)h=d.getClientRects();else if(d.nodeType==3)h=Rn(d).getClientRects();else continue;for(let p=0;p<h.length;p++){let m=h[p];if(m.top<=i&&m.bottom>=l){i=Math.max(m.bottom,i),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=d,r=g,o=g&&t.nodeType==3?{left:m.right<e.left?m.right:m.left,top:e.top}:e,d.nodeType==1&&g&&(s=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=d,u={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)&&(s=f+1)}}return!t&&a&&(t=a,o=u,r=0),t&&t.nodeType==3?Qv(t,o):!t||r&&t.nodeType==1?{node:n,offset:s}:Kh(t,o)}function Qv(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 s=or(r,1);if(s.top!=s.bottom&&dc(e,s))return{node:n,offset:o+(e.left>=(s.left+s.right)/2?1:0)}}return{node:n,offset:0}}function dc(n,e){return n.left>=e.left-1&&n.left<=e.right+1&&n.top>=e.top-1&&n.top<=e.bottom+1}function Zv(n,e){let t=n.parentNode;return t&&/^li$/i.test(t.nodeName)&&e.left<n.getBoundingClientRect().left?t:n}function Jv(n,e,t){let{node:r,offset:o}=Kh(e,t),s=-1;if(r.nodeType==1&&!r.firstChild){let i=r.getBoundingClientRect();s=i.left!=i.right&&t.left>(i.left+i.right)/2?1:-1}return n.docView.posFromDOM(r,o,s)}function Xv(n,e,t,r){let o=-1;for(let s=e,i=!1;s!=n.dom;){let l=n.docView.nearestDesc(s,!0);if(!l)return null;if(l.dom.nodeType==1&&(l.node.isBlock&&l.parent&&!i||!l.contentDOM)){let a=l.dom.getBoundingClientRect();if(l.node.isBlock&&l.parent&&!i&&(i=!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}s=l.dom.parentNode}return o>-1?o:n.docView.posFromDOM(e,t,-1)}function Yh(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)),s=o;;){let i=n.childNodes[s];if(i.nodeType==1){let l=i.getClientRects();for(let a=0;a<l.length;a++){let u=l[a];if(dc(e,u))return Yh(i,e,u)}}if((s=(s+1)%r)==o)break}return n}function qv(n,e){let t=n.dom.ownerDocument,r,o=0,s=$v(t,e.left,e.top);s&&({node:r,offset:o}=s);let i=(n.root.elementFromPoint?n.root:t).elementFromPoint(e.left,e.top),l;if(!i||!n.dom.contains(i.nodeType!=1?i.parentNode:i)){let u=n.dom.getBoundingClientRect();if(!dc(e,u)||(i=Yh(n.dom,e,u),!i))return null}if(wt)for(let u=i;r&&u;u=Cs(u))u.draggable&&(r=void 0);if(i=Zv(i,e),r){if(dn&&r.nodeType==1&&(o=Math.min(o,r.childNodes.length),o<r.childNodes.length)){let d=r.childNodes[o],f;d.nodeName=="IMG"&&(f=d.getBoundingClientRect()).right<=e.left&&f.bottom>e.top&&o++}let u;As&&o&&r.nodeType==1&&(u=r.childNodes[o-1]).nodeType==1&&u.contentEditable=="false"&&u.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=Xv(n,r,o,e))}l==null&&(l=Jv(n,i,e));let a=n.docView.nearestDesc(i,!0);return{pos:l,inside:a?a.posAtStart-a.border:-1}}function Gh(n){return n.top<n.bottom||n.left<n.right}function or(n,e){let t=n.getClientRects();if(t.length){let r=t[e<0?0:t.length-1];if(Gh(r))return r}return Array.prototype.find.call(t,Gh)||n.getBoundingClientRect()}const e9=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/;function Qh(n,e,t){let{node:r,offset:o,atom:s}=n.docView.domFromPos(e,t<0?-1:1),i=As||dn;if(r.nodeType==3)if(i&&(e9.test(r.nodeValue)||(t<0?!o:o==r.nodeValue.length))){let a=or(Rn(r,o,o),t);if(dn&&o&&/\s/.test(r.nodeValue[o-1])&&o<r.nodeValue.length){let u=or(Rn(r,o-1,o-1),-1);if(u.top==a.top){let d=or(Rn(r,o,o+1),-1);if(d.top!=a.top)return bs(d,d.left<u.left)}}return a}else{let a=o,u=o,d=t<0?1:-1;return t<0&&!o?(u++,d=-1):t>=0&&o==r.nodeValue.length?(a--,d=1):t<0?a--:u++,bs(or(Rn(r,a,u),d),d<0)}if(!n.state.doc.resolve(e-(s||0)).parent.inlineContent){if(s==null&&o&&(t<0||o==An(r))){let a=r.childNodes[o-1];if(a.nodeType==1)return fc(a.getBoundingClientRect(),!1)}if(s==null&&o<An(r)){let a=r.childNodes[o];if(a.nodeType==1)return fc(a.getBoundingClientRect(),!0)}return fc(r.getBoundingClientRect(),t>=0)}if(s==null&&o&&(t<0||o==An(r))){let a=r.childNodes[o-1],u=a.nodeType==3?Rn(a,An(a)-(i?0:1)):a.nodeType==1&&(a.nodeName!="BR"||!a.nextSibling)?a:null;if(u)return bs(or(u,1),!1)}if(s==null&&o<An(r)){let a=r.childNodes[o];for(;a.pmViewDesc&&a.pmViewDesc.ignoreForCoords;)a=a.nextSibling;let u=a?a.nodeType==3?Rn(a,0,i?0:1):a.nodeType==1?a:null:null;if(u)return bs(or(u,-1),!0)}return bs(or(r.nodeType==3?Rn(r):r,-t),t>=0)}function bs(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 fc(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 Zh(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 t9(n,e,t){let r=e.selection,o=t=="up"?r.$from:r.$to;return Zh(n,e,()=>{let{node:s}=n.docView.domFromPos(o.pos,t=="up"?-1:1);for(;;){let l=n.docView.nearestDesc(s,!0);if(!l)break;if(l.node.isBlock){s=l.contentDOM||l.dom;break}s=l.dom.parentNode}let i=Qh(n,o.pos,1);for(let l=s.firstChild;l;l=l.nextSibling){let a;if(l.nodeType==1)a=l.getClientRects();else if(l.nodeType==3)a=Rn(l,0,l.nodeValue.length).getClientRects();else continue;for(let u=0;u<a.length;u++){let d=a[u];if(d.bottom>d.top+1&&(t=="up"?i.top-d.top>(d.bottom-i.top)*2:d.bottom-i.bottom>(i.bottom-d.top)*2))return!1}}return!0})}const n9=/[\u0590-\u08ac]/;function r9(n,e,t){let{$head:r}=e.selection;if(!r.parent.isTextblock)return!1;let o=r.parentOffset,s=!o,i=o==r.parent.content.size,l=n.domSelection();return!n9.test(r.parent.textContent)||!l.modify?t=="left"||t=="backward"?s:i:Zh(n,e,()=>{let{focusNode:a,focusOffset:u,anchorNode:d,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(),y=m&&!p.contains(m.nodeType==1?m:m.parentNode)||a==m&&u==g;try{l.collapse(d,f),a&&(a!=d||u!=f)&&l.extend&&l.extend(a,u)}catch{}return h!=null&&(l.caretBidiLevel=h),y})}let Jh=null,Xh=null,qh=!1;function o9(n,e,t){return Jh==e&&Xh==t?qh:(Jh=e,Xh=t,qh=t=="up"||t=="down"?t9(n,e,t):r9(n,e,t))}const Qt=0,ep=1,Hr=2,wn=3;class ws{constructor(e,t,r,o){this.parent=e,this.children=t,this.dom=r,this.contentDOM=o,this.dirty=Qt,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 s,i;if(e==this.contentDOM)s=e.childNodes[t-1];else{for(;e.parentNode!=this.contentDOM;)e=e.parentNode;s=e.previousSibling}for(;s&&!((i=s.pmViewDesc)&&i.parent==this);)s=s.previousSibling;return s?this.posBeforeChild(i)+i.size:this.posAtStart}else{let s,i;if(e==this.contentDOM)s=e.childNodes[t];else{for(;e.parentNode!=this.contentDOM;)e=e.parentNode;s=e.nextSibling}for(;s&&!((i=s.pmViewDesc)&&i.parent==this);)s=s.nextSibling;return s?this.posBeforeChild(i):this.posAtEnd}let o;if(e==this.dom&&this.contentDOM)o=t>bt(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 s=e;;s=s.parentNode){if(s==this.dom){o=!1;break}if(s.previousSibling)break}if(o==null&&t==e.childNodes.length)for(let s=e;;s=s.parentNode){if(s==this.dom){o=!0;break}if(s.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 s=this.getDesc(o),i;if(s&&(!t||s.node))if(r&&(i=s.nodeDOM)&&!(i.nodeType==1?i.contains(e.nodeType==1?e:e.parentNode):i==e))r=!1;else return s}}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 s=this.getDesc(o);if(s)return s.localPosFromDOM(e,t,r)}return-1}descAt(e){for(let t=0,r=0;t<this.children.length;t++){let o=this.children[t],s=r+o.size;if(r==e&&s!=r){for(;!o.border&&o.children.length;)o=o.children[0];return o}if(e<s)return o.descAt(e-r-o.border);r=s}}domFromPos(e,t){if(!this.contentDOM)return{node:this.dom,offset:0,atom:e+1};let r=0,o=0;for(let s=0;r<this.children.length;r++){let i=this.children[r],l=s+i.size;if(l>e||i instanceof rp){o=e-s;break}s=l}if(o)return this.children[r].domFromPos(o-this.children[r].border,t);for(let s;r&&!(s=this.children[r-1]).size&&s instanceof tp&&s.side>=0;r--);if(t<=0){let s,i=!0;for(;s=r?this.children[r-1]:null,!(!s||s.dom.parentNode==this.contentDOM);r--,i=!1);return s&&t&&i&&!s.border&&!s.domAtom?s.domFromPos(s.size,t):{node:this.contentDOM,offset:s?bt(s.dom)+1:0}}else{let s,i=!0;for(;s=r<this.children.length?this.children[r]:null,!(!s||s.dom.parentNode==this.contentDOM);r++,i=!1);return s&&i&&!s.border&&!s.domAtom?s.domFromPos(0,t):{node:this.contentDOM,offset:s?bt(s.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,s=-1;for(let i=r,l=0;;l++){let a=this.children[l],u=i+a.size;if(o==-1&&e<=u){let d=i+a.border;if(e>=d&&t<=u-a.border&&a.node&&a.contentDOM&&this.contentDOM.contains(a.contentDOM))return a.parseRange(e,t,d);e=i;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=bt(h.dom)+1;break}e-=h.size}o==-1&&(o=0)}if(o>-1&&(u>t||l==this.children.length-1)){t=u;for(let d=l+1;d<this.children.length;d++){let f=this.children[d];if(f.size&&f.dom.parentNode==this.contentDOM&&!f.emptyChildAt(-1)){s=bt(f.dom);break}t+=f.size}s==-1&&(s=this.contentDOM.childNodes.length);break}i=u}return{node:this.contentDOM,from:e,to:t,fromOffset:o,toOffset:s}}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 s=Math.min(e,t),i=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(s>p&&i<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),u=r.getSelection(),d=!1;if((dn||wt)&&e==t){let{node:h,offset:p}=l;if(h.nodeType==3){if(d=!!(p&&h.nodeValue[p-1]==`
|
|
66
|
+
`),d&&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:bt(g)+1});break}let y=m.pmViewDesc;if(y&&y.node&&y.node.isBlock)break}}else{let m=h.childNodes[p-1];d=m&&(m.nodeName=="BR"||m.contentEditable=="false")}}if(dn&&u.focusNode&&u.focusNode!=a.node&&u.focusNode.nodeType==1){let h=u.focusNode.childNodes[u.focusOffset];h&&h.contentEditable=="false"&&(o=!0)}if(!(o||d&&wt)&&Ur(l.node,l.offset,u.anchorNode,u.anchorOffset)&&Ur(a.node,a.offset,u.focusNode,u.focusOffset))return;let f=!1;if((u.extend||e==t)&&!d){u.collapse(l.node,l.offset);try{e!=t&&u.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),u.removeAllRanges(),u.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 s=this.children[o],i=r+s.size;if(r==i?e<=i&&t>=r:e<i&&t>r){let l=r+s.border,a=i-s.border;if(e>=l&&t<=a){this.dirty=e==r||t==i?Hr:ep,e==l&&t==a&&(s.contentLost||s.dom.parentNode!=this.contentDOM)?s.dirty=wn:s.markDirty(e-l,t-l);return}else s.dirty=s.dom==s.contentDOM&&s.dom.parentNode==this.contentDOM&&!s.children.length?Hr:wn}r=i}this.dirty=Hr}markParentsDirty(){let e=1;for(let t=this.parent;t;t=t.parent,e++){let r=e==1?Hr:ep;t.dirty<r&&(t.dirty=r)}}get domAtom(){return!1}get ignoreForCoords(){return!1}}class tp extends ws{constructor(e,t,r,o){let s,i=t.type.toDOM;if(typeof i=="function"&&(i=i(r,()=>{if(!s)return o;if(s.parent)return s.parent.posBeforeChild(s)})),!t.type.spec.raw){if(i.nodeType!=1){let l=document.createElement("span");l.appendChild(i),i=l}i.contentEditable="false",i.classList.add("ProseMirror-widget")}super(e,[],i,null),this.widget=t,this.widget=t,s=this}matchesWidget(e){return this.dirty==Qt&&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 s9 extends ws{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 jr extends ws{constructor(e,t,r,o){super(e,[],r,o),this.mark=t}static create(e,t,r,o){let s=o.nodeViews[t.type.name],i=s&&s(t,o,r);return(!i||!i.dom)&&(i=En.renderSpec(document,t.type.spec.toDOM(t,r))),new jr(e,t,i.dom,i.contentDOM||i.dom)}parseRule(){return this.dirty&wn||this.mark.type.spec.reparseInView?null:{mark:this.mark.type.name,attrs:this.mark.attrs,contentElement:this.contentDOM}}matchesMark(e){return this.dirty!=wn&&this.mark.eq(e)}markDirty(e,t){if(super.markDirty(e,t),this.dirty!=Qt){let r=this.parent;for(;!r.node;)r=r.parent;r.dirty<this.dirty&&(r.dirty=this.dirty),this.dirty=Qt}}slice(e,t,r){let o=jr.create(this.parent,this.mark,!0,r),s=this.children,i=this.size;t<i&&(s=mc(s,t,i,r)),e>0&&(s=mc(s,0,e,r));for(let l=0;l<s.length;l++)s[l].parent=o;return o.children=s,o}}class sr extends ws{constructor(e,t,r,o,s,i,l,a,u){super(e,[],s,i),this.node=t,this.outerDeco=r,this.innerDeco=o,this.nodeDOM=l}static create(e,t,r,o,s,i){let l=s.nodeViews[t.type.name],a,u=l&&l(t,s,()=>{if(!a)return i;if(a.parent)return a.parent.posBeforeChild(a)},r,o),d=u&&u.dom,f=u&&u.contentDOM;if(t.isText){if(!d)d=document.createTextNode(t.text);else if(d.nodeType!=3)throw new RangeError("Text must be rendered as a DOM text node")}else d||({dom:d,contentDOM:f}=En.renderSpec(document,t.type.spec.toDOM(t)));!f&&!t.isText&&d.nodeName!="BR"&&(d.hasAttribute("contenteditable")||(d.contentEditable="false"),t.type.spec.draggable&&(d.draggable=!0));let h=d;return d=ip(d,r,t),u?a=new i9(e,t,r,o,d,f||null,h,u,s,i+1):t.isText?new Mi(e,t,r,o,d,h,s):new sr(e,t,r,o,d,f||null,h,s,i+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=()=>fe.empty)}return e}matchesNode(e,t,r){return this.dirty==Qt&&e.eq(this.node)&&pc(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,s=e.composing?this.localCompositionInfo(e,t):null,i=s&&s.pos>-1?s:null,l=s&&s.pos<0,a=new l9(this,i&&i.node,e);d9(this.node,this.innerDeco,(u,d,f)=>{u.spec.marks?a.syncToMarks(u.spec.marks,r,e):u.type.side>=0&&!f&&a.syncToMarks(d==this.node.childCount?We.none:this.node.child(d).marks,r,e),a.placeWidget(u,e,o)},(u,d,f,h)=>{a.syncToMarks(u.marks,r,e);let p;a.findNodeMatch(u,d,f,h)||l&&e.state.selection.from>o&&e.state.selection.to<o+u.nodeSize&&(p=a.findIndexWithChild(s.node))>-1&&a.updateNodeAt(u,d,f,p,e)||a.updateNextNode(u,d,f,e,h,o)||a.addNode(u,d,f,e,o),o+=u.nodeSize}),a.syncToMarks([],r,e),this.node.isTextblock&&a.addTextblockHacks(),a.destroyRest(),(a.changed||this.dirty==Hr)&&(i&&this.protectLocalComposition(e,i),op(this.contentDOM,this.children,e),bo&&f9(this.dom))}localCompositionInfo(e,t){let{from:r,to:o}=e.state.selection;if(!(e.state.selection instanceof ze)||r<t||o>t+this.node.content.size)return null;let s=e.domSelectionRange(),i=h9(s.focusNode,s.focusOffset);if(!i||!this.dom.contains(i.parentNode))return null;if(this.node.inlineContent){let l=i.nodeValue,a=p9(this.node.content,l,r-t,o-t);return a<0?null:{node:i,pos:a,text:l}}else return{node:i,pos:-1,text:""}}protectLocalComposition(e,{node:t,pos:r,text:o}){if(this.getDesc(t))return;let s=t;for(;s.parentNode!=this.contentDOM;s=s.parentNode){for(;s.previousSibling;)s.parentNode.removeChild(s.previousSibling);for(;s.nextSibling;)s.parentNode.removeChild(s.nextSibling);s.pmViewDesc&&(s.pmViewDesc=void 0)}let i=new s9(this,s,t,o);e.input.compositionNodes.push(i),this.children=mc(this.children,r,r+o.length,e,i)}update(e,t,r,o){return this.dirty==wn||!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=Qt}updateOuterDeco(e){if(pc(e,this.outerDeco))return;let t=this.nodeDOM.nodeType!=1,r=this.dom;this.dom=sp(this.dom,this.nodeDOM,hc(this.outerDeco,this.node,t),hc(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 np(n,e,t,r,o){ip(r,e,n);let s=new sr(void 0,n,e,t,r,r,r,o,0);return s.contentDOM&&s.updateChildren(o,0),s}class Mi extends sr{constructor(e,t,r,o,s,i,l){super(e,t,r,o,s,null,i,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==wn||this.dirty!=Qt&&!this.inParent()||!e.sameMarkup(this.node)?!1:(this.updateOuterDeco(t),(this.dirty!=Qt||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=Qt,!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),s=document.createTextNode(o.text);return new Mi(this.parent,o,this.outerDeco,this.innerDeco,s,s,r)}markDirty(e,t){super.markDirty(e,t),this.dom!=this.nodeDOM&&(e==0||t==this.nodeDOM.nodeValue.length)&&(this.dirty=wn)}get domAtom(){return!1}}class rp extends ws{parseRule(){return{ignore:!0}}matchesHack(e){return this.dirty==Qt&&this.dom.nodeName==e}get domAtom(){return!0}get ignoreForCoords(){return this.dom.nodeName=="IMG"}}class i9 extends sr{constructor(e,t,r,o,s,i,l,a,u,d){super(e,t,r,o,s,i,l,u,d),this.spec=a}update(e,t,r,o){if(this.dirty==wn)return!1;if(this.spec.update){let s=this.spec.update(e,t,r);return s&&this.updateInner(e,t,r,o),s}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 op(n,e,t){let r=n.firstChild,o=!1;for(let s=0;s<e.length;s++){let i=e[s],l=i.dom;if(l.parentNode==n){for(;l!=r;)r=ap(r),o=!0;r=r.nextSibling}else o=!0,n.insertBefore(l,r);if(i instanceof jr){let a=r?r.previousSibling:n.lastChild;op(i.contentDOM,i.children,t),r=a?a.nextSibling:n.firstChild}}for(;r;)r=ap(r),o=!0;o&&t.trackWrites==n&&(t.trackWrites=null)}const Ts=function(n){n&&(this.nodeName=n)};Ts.prototype=Object.create(null);const Wr=[new Ts];function hc(n,e,t){if(n.length==0)return Wr;let r=t?Wr[0]:new Ts,o=[r];for(let s=0;s<n.length;s++){let i=n[s].type.attrs;if(i){i.nodeName&&o.push(r=new Ts(i.nodeName));for(let l in i){let a=i[l];a!=null&&(t&&o.length==1&&o.push(r=new Ts(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 sp(n,e,t,r){if(t==Wr&&r==Wr)return e;let o=e;for(let s=0;s<r.length;s++){let i=r[s],l=t[s];if(s){let a;l&&l.nodeName==i.nodeName&&o!=n&&(a=o.parentNode)&&a.nodeName.toLowerCase()==i.nodeName||(a=document.createElement(i.nodeName),a.pmIsDeco=!0,a.appendChild(o),l=Wr[0]),o=a}a9(o,l||Wr[0],i)}return o}function a9(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 s=0;s<r.length;s++)o.indexOf(r[s])==-1&&n.classList.remove(r[s]);for(let s=0;s<o.length;s++)r.indexOf(o[s])==-1&&n.classList.add(o[s]);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 ip(n,e,t){return sp(n,n,Wr,hc(e,t,n.nodeType!=1))}function pc(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 ap(n){let e=n.nextSibling;return n.parentNode.removeChild(n),e}class l9{constructor(e,t,r){this.lock=t,this.view=r,this.index=0,this.stack=[],this.changed=!1,this.top=e,this.preMatch=c9(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,s=this.stack.length>>1,i=Math.min(s,e.length);for(;o<i&&(o==s-1?this.top:this.stack[o+1<<1]).matchesMark(e[o])&&e[o].type.spec.spanning!==!1;)o++;for(;o<s;)this.destroyRest(),this.top.dirty=Qt,this.index=this.stack.pop(),this.top=this.stack.pop(),s--;for(;s<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 u=this.top.children[a];if(u.matchesMark(e[s])&&!this.isLocked(u.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=jr.create(this.top,e[s],t,r);this.top.children.splice(this.index,0,a),this.top=a,this.changed=!0}this.index=0,s++}}findNodeMatch(e,t,r,o){let s=-1,i;if(o>=this.preMatch.index&&(i=this.preMatch.matches[o-this.preMatch.index]).parent==this.top&&i.matchesNode(e,t,r))s=this.top.children.indexOf(i,this.index);else for(let l=this.index,a=Math.min(this.top.children.length,l+5);l<a;l++){let u=this.top.children[l];if(u.matchesNode(e,t,r)&&!this.preMatch.matched.has(u)){s=l;break}}return s<0?!1:(this.destroyBetween(this.index,s),this.index++,!0)}updateNodeAt(e,t,r,o,s){let i=this.top.children[o];return i.dirty==wn&&i.dom==i.contentDOM&&(i.dirty=Hr),i.update(e,t,r,s)?(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,s,i){for(let l=this.index;l<this.top.children.length;l++){let a=this.top.children[l];if(a instanceof sr){let u=this.preMatch.matched.get(a);if(u!=null&&u!=s)return!1;let d=a.dom,f,h=this.isLocked(d)&&!(e.isText&&a.node&&a.node.isText&&a.nodeDOM.nodeValue==e.text&&a.dirty!=wn&&pc(t,a.outerDeco));if(!h&&a.update(e,t,r,o))return this.destroyBetween(this.index,l),a.dom!=d&&(this.changed=!0),this.index++,!0;if(!h&&(f=this.recreateWrapper(a,e,t,r,o,i)))return this.top.children[this.index]=f,f.contentDOM&&(f.dirty=Hr,f.updateChildren(o,i+1),f.dirty=Qt),this.changed=!0,this.index++,!0;break}}return!1}recreateWrapper(e,t,r,o,s,i){if(e.dirty||t.isAtom||!e.children.length||!e.node.content.eq(t.content))return null;let l=sr.create(this.top,t,r,o,s,i);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,s){let i=sr.create(this.top,e,t,r,o,s);i.contentDOM&&i.updateChildren(o,s+1),this.top.children.splice(this.index++,0,i),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 s=new tp(this.top,e,t,r);this.top.children.splice(this.index++,0,s),this.changed=!0}}addTextblockHacks(){let e=this.top.children[this.index-1],t=this.top;for(;e instanceof jr;)t=e,e=t.children[t.children.length-1];(!e||!(e instanceof Mi)||/\n$/.test(e.node.text)||this.view.requiresGeckoHackNode&&/\s$/.test(e.node.text))&&((wt||vt)&&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 rp(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 c9(n,e){let t=e,r=t.children.length,o=n.childCount,s=new Map,i=[];e:for(;o>0;){let l;for(;;)if(r){let u=t.children[r-1];if(u instanceof jr)t=u,r=u.children.length;else{l=u,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,s.set(l,o),i.push(l)}}return{index:o,matched:s,matches:i.reverse()}}function u9(n,e){return n.type.side-e.type.side}function d9(n,e,t,r){let o=e.locals(n),s=0;if(o.length==0){for(let u=0;u<n.childCount;u++){let d=n.child(u);r(d,o,e.forChild(s,d),u),s+=d.nodeSize}return}let i=0,l=[],a=null;for(let u=0;;){let d,f;for(;i<o.length&&o[i].to==s;){let y=o[i++];y.widget&&(d?(f||(f=[d])).push(y):d=y)}if(d)if(f){f.sort(u9);for(let y=0;y<f.length;y++)t(f[y],u,!!a)}else t(d,u,!!a);let h,p;if(a)p=-1,h=a,a=null;else if(u<n.childCount)p=u,h=n.child(u++);else break;for(let y=0;y<l.length;y++)l[y].to<=s&&l.splice(y--,1);for(;i<o.length&&o[i].from<=s&&o[i].to>s;)l.push(o[i++]);let m=s+h.nodeSize;if(h.isText){let y=m;i<o.length&&o[i].from<y&&(y=o[i].from);for(let C=0;C<l.length;C++)l[C].to<y&&(y=l[C].to);y<m&&(a=h.cut(y-s),h=h.cut(0,y-s),m=y,p=-1)}let g=h.isInline&&!h.isLeaf?l.filter(y=>!y.inline):l.slice();r(h,g,e.forChild(s,h),p),s=m}}function f9(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 h9(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=An(n)}else if(n.nodeType==1&&e<n.childNodes.length)n=n.childNodes[e],e=0;else return null}}function p9(n,e,t,r){for(let o=0,s=0;o<n.childCount&&s<=r;){let i=n.child(o++),l=s;if(s+=i.nodeSize,!i.isText)continue;let a=i.text;for(;o<n.childCount;){let u=n.child(o++);if(s+=u.nodeSize,!u.isText)break;a+=u.text}if(s>=t){if(s>=r&&a.slice(r-e.length-l,r-l)==e)return r-e.length;let u=l<r?a.lastIndexOf(e,r-l-1):-1;if(u>=0&&u+e.length+l>=t)return l+u;if(t==r&&a.length>=r+e.length-l&&a.slice(r-l,r-l+e.length)==e)return r}}return-1}function mc(n,e,t,r,o){let s=[];for(let i=0,l=0;i<n.length;i++){let a=n[i],u=l,d=l+=a.size;u>=t||d<=e?s.push(a):(u<e&&s.push(a.slice(0,e-u,r)),o&&(s.push(o),o=void 0),d>t&&s.push(a.slice(t-u,a.size,r)))}return s}function gc(n,e=null){let t=n.domSelectionRange(),r=n.state.doc;if(!t.focusNode)return null;let o=n.docView.nearestDesc(t.focusNode),s=o&&o.size==0,i=n.docView.posFromDOM(t.focusNode,t.focusOffset,1);if(i<0)return null;let l=r.resolve(i),a,u;if(xi(t)){for(a=l;o&&!o.node;)o=o.parent;let d=o.node;if(o&&d.isAtom&&Le.isSelectable(d)&&o.parent&&!(d.isInline&&Fv(t.focusNode,t.focusOffset,o.dom))){let f=o.posBefore;u=new Le(i==f?l:r.resolve(f))}}else{let d=n.docView.posFromDOM(t.anchorNode,t.anchorOffset,1);if(d<0)return null;a=r.resolve(d)}if(!u){let d=e=="pointer"||n.state.selection.head<l.pos&&!s?1:-1;u=vc(n,a,l,d)}return u}function lp(n){return n.editable?n.hasFocus():mp(n)&&document.activeElement&&document.activeElement.contains(n.dom)}function Pn(n,e=!1){let t=n.state.selection;if(fp(n,t),!!lp(n)){if(!e&&n.input.mouseDown&&n.input.mouseDown.allowDefault&&vt){let r=n.domSelectionRange(),o=n.domObserver.currentSelection;if(r.anchorNode&&o.anchorNode&&Ur(r.anchorNode,r.anchorOffset,o.anchorNode,o.anchorOffset)){n.input.mouseDown.delayedSelectionSync=!0,n.domObserver.setCurSelection();return}}if(n.domObserver.disconnectSelection(),n.cursorWrapper)g9(n);else{let{anchor:r,head:o}=t,s,i;cp&&!(t instanceof ze)&&(t.$from.parent.inlineContent||(s=up(n,t.from)),!t.empty&&!t.$from.parent.inlineContent&&(i=up(n,t.to))),n.docView.setSelection(r,o,n.root,e),cp&&(s&&dp(s),i&&dp(i)),t.visible?n.dom.classList.remove("ProseMirror-hideselection"):(n.dom.classList.add("ProseMirror-hideselection"),"onselectionchange"in document&&m9(n))}n.domObserver.setCurSelection(),n.domObserver.connectSelection()}}const cp=wt||vt&&Uv<63;function up(n,e){let{node:t,offset:r}=n.docView.domFromPos(e,0),o=r<t.childNodes.length?t.childNodes[r]:null,s=r?t.childNodes[r-1]:null;if(wt&&o&&o.contentEditable=="false")return yc(o);if((!o||o.contentEditable=="false")&&(!s||s.contentEditable=="false")){if(o)return yc(o);if(s)return yc(s)}}function yc(n){return n.contentEditable="true",wt&&n.draggable&&(n.draggable=!1,n.wasDraggable=!0),n}function dp(n){n.contentEditable="false",n.wasDraggable&&(n.draggable=!0,n.wasDraggable=null)}function m9(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(()=>{(!lp(n)||n.state.selection.visible)&&n.dom.classList.remove("ProseMirror-hideselection")},20))})}function g9(n){let e=n.domSelection(),t=document.createRange(),r=n.cursorWrapper.dom,o=r.nodeName=="IMG";o?t.setEnd(r.parentNode,bt(r)+1):t.setEnd(r,0),t.collapse(!1),e.removeAllRanges(),e.addRange(t),!o&&!n.state.selection.visible&&Rt&&rr<=11&&(r.disabled=!0,r.disabled=!1)}function fp(n,e){if(e instanceof Le){let t=n.docView.descAt(e.from);t!=n.lastSelectedViewDesc&&(hp(n),t&&t.selectNode(),n.lastSelectedViewDesc=t)}else hp(n)}function hp(n){n.lastSelectedViewDesc&&(n.lastSelectedViewDesc.parent&&n.lastSelectedViewDesc.deselectNode(),n.lastSelectedViewDesc=void 0)}function vc(n,e,t,r){return n.someProp("createSelectionBetween",o=>o(n,e,t))||ze.between(e,t,r)}function pp(n){return n.editable&&!n.hasFocus()?!1:mp(n)}function mp(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 y9(n){let e=n.docView.domFromPos(n.state.selection.anchor,0),t=n.domSelectionRange();return Ur(e.node,e.offset,t.anchorNode,t.anchorOffset)}function Ec(n,e){let{$anchor:t,$head:r}=n.selection,o=e>0?t.max(r):t.min(r),s=o.parent.inlineContent?o.depth?n.doc.resolve(e>0?o.after():o.before()):null:o;return s&&Ue.findFrom(s,e)}function ir(n,e){return n.dispatch(n.state.tr.setSelection(e).scrollIntoView()),!0}function gp(n,e,t){let r=n.state.selection;if(r instanceof ze)if(t.indexOf("s")>-1){let{$head:o}=r,s=o.textOffset?null:e<0?o.nodeBefore:o.nodeAfter;if(!s||s.isText||!s.isLeaf)return!1;let i=n.state.doc.resolve(o.pos+s.nodeSize*(e<0?-1:1));return ir(n,new ze(r.$anchor,i))}else if(r.empty){if(n.endOfTextblock(e>0?"forward":"backward")){let o=Ec(n.state,e);return o&&o instanceof Le?ir(n,o):!1}else if(!(Gt&&t.indexOf("m")>-1)){let o=r.$head,s=o.textOffset?null:e<0?o.nodeBefore:o.nodeAfter,i;if(!s||s.isText)return!1;let l=e<0?o.pos-s.nodeSize:o.pos;return s.isAtom||(i=n.docView.descAt(l))&&!i.contentDOM?Le.isSelectable(s)?ir(n,new Le(e<0?n.state.doc.resolve(o.pos-s.nodeSize):o)):As?ir(n,new ze(n.state.doc.resolve(e<0?l:l+s.nodeSize))):!1:!1}}else return!1;else{if(r instanceof Le&&r.node.isInline)return ir(n,new ze(e>0?r.$to:r.$from));{let o=Ec(n.state,e);return o?ir(n,o):!1}}}function Oi(n){return n.nodeType==3?n.nodeValue.length:n.childNodes.length}function Ss(n,e){let t=n.pmViewDesc;return t&&t.size==0&&(e<0||n.nextSibling||n.nodeName!="BR")}function To(n,e){return e<0?v9(n):E9(n)}function v9(n){let e=n.domSelectionRange(),t=e.focusNode,r=e.focusOffset;if(!t)return;let o,s,i=!1;for(dn&&t.nodeType==1&&r<Oi(t)&&Ss(t.childNodes[r],-1)&&(i=!0);;)if(r>0){if(t.nodeType!=1)break;{let l=t.childNodes[r-1];if(Ss(l,-1))o=t,s=--r;else if(l.nodeType==3)t=l,r=t.nodeValue.length;else break}}else{if(yp(t))break;{let l=t.previousSibling;for(;l&&Ss(l,-1);)o=t.parentNode,s=bt(l),l=l.previousSibling;if(l)t=l,r=Oi(t);else{if(t=t.parentNode,t==n.dom)break;r=0}}}i?Cc(n,t,r):o&&Cc(n,o,s)}function E9(n){let e=n.domSelectionRange(),t=e.focusNode,r=e.focusOffset;if(!t)return;let o=Oi(t),s,i;for(;;)if(r<o){if(t.nodeType!=1)break;let l=t.childNodes[r];if(Ss(l,1))s=t,i=++r;else break}else{if(yp(t))break;{let l=t.nextSibling;for(;l&&Ss(l,1);)s=l.parentNode,i=bt(l)+1,l=l.nextSibling;if(l)t=l,r=0,o=Oi(t);else{if(t=t.parentNode,t==n.dom)break;r=o=0}}}s&&Cc(n,s,i)}function yp(n){let e=n.pmViewDesc;return e&&e.node&&e.node.isBlock}function C9(n,e){for(;n&&e==n.childNodes.length&&!ac(n);)e=bt(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 A9(n,e){for(;n&&!e&&!ac(n);)e=bt(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 Cc(n,e,t){if(e.nodeType!=3){let s,i;(i=C9(e,t))?(e=i,t=0):(s=A9(e,t))&&(e=s,t=s.nodeValue.length)}let r=n.domSelection();if(xi(r)){let s=document.createRange();s.setEnd(e,t),s.setStart(e,t),r.removeAllRanges(),r.addRange(s)}else r.extend&&r.extend(e,t);n.domObserver.setCurSelection();let{state:o}=n;setTimeout(()=>{n.state==o&&Pn(n)},50)}function vp(n,e){let t=n.state.doc.resolve(e);if(!(vt||zv)&&t.parent.inlineContent){let o=n.coordsAtPos(e);if(e>t.start()){let s=n.coordsAtPos(e-1),i=(s.top+s.bottom)/2;if(i>o.top&&i<o.bottom&&Math.abs(s.left-o.left)>1)return s.left<o.left?"ltr":"rtl"}if(e<t.end()){let s=n.coordsAtPos(e+1),i=(s.top+s.bottom)/2;if(i>o.top&&i<o.bottom&&Math.abs(s.left-o.left)>1)return s.left>o.left?"ltr":"rtl"}}return getComputedStyle(n.dom).direction=="rtl"?"rtl":"ltr"}function Ep(n,e,t){let r=n.state.selection;if(r instanceof ze&&!r.empty||t.indexOf("s")>-1||Gt&&t.indexOf("m")>-1)return!1;let{$from:o,$to:s}=r;if(!o.parent.inlineContent||n.endOfTextblock(e<0?"up":"down")){let i=Ec(n.state,e);if(i&&i instanceof Le)return ir(n,i)}if(!o.parent.inlineContent){let i=e<0?o:s,l=r instanceof cn?Ue.near(i,e):Ue.findFrom(i,e);return l?ir(n,l):!1}return!1}function Cp(n,e){if(!(n.state.selection instanceof ze))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 s=!t.textOffset&&(e<0?t.nodeBefore:t.nodeAfter);if(s&&!s.isText){let i=n.state.tr;return e<0?i.delete(t.pos-s.nodeSize,t.pos):i.delete(t.pos,t.pos+s.nodeSize),n.dispatch(i),!0}return!1}function Ap(n,e,t){n.domObserver.stop(),e.contentEditable=t,n.domObserver.start()}function b9(n){if(!wt||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;Ap(n,r,"true"),setTimeout(()=>Ap(n,r,"false"),20)}return!1}function w9(n){let e="";return n.ctrlKey&&(e+="c"),n.metaKey&&(e+="m"),n.altKey&&(e+="a"),n.shiftKey&&(e+="s"),e}function T9(n,e){let t=e.keyCode,r=w9(e);if(t==8||Gt&&t==72&&r=="c")return Cp(n,-1)||To(n,-1);if(t==46&&!e.shiftKey||Gt&&t==68&&r=="c")return Cp(n,1)||To(n,1);if(t==13||t==27)return!0;if(t==37||Gt&&t==66&&r=="c"){let o=t==37?vp(n,n.state.selection.from)=="ltr"?-1:1:-1;return gp(n,o,r)||To(n,o)}else if(t==39||Gt&&t==70&&r=="c"){let o=t==39?vp(n,n.state.selection.from)=="ltr"?1:-1:1;return gp(n,o,r)||To(n,o)}else{if(t==38||Gt&&t==80&&r=="c")return Ep(n,-1,r)||To(n,-1);if(t==40||Gt&&t==78&&r=="c")return b9(n)||Ep(n,1,r)||To(n,1);if(r==(Gt?"m":"c")&&(t==66||t==73||t==89||t==90))return!0}return!1}function bp(n,e){n.someProp("transformCopied",p=>{e=p(e,n)});let t=[],{content:r,openStart:o,openEnd:s}=e;for(;o>1&&s>1&&r.childCount==1&&r.firstChild.childCount==1;){o--,s--;let p=r.firstChild;t.push(p.type.name,p.attrs!=p.type.defaultAttrs?p.attrs:null),r=p.content}let i=n.someProp("clipboardSerializer")||En.fromSchema(n.state.schema),l=xp(),a=l.createElement("div");a.appendChild(i.serializeFragment(r,{document:l}));let u=a.firstChild,d,f=0;for(;u&&u.nodeType==1&&(d=Np[u.nodeName.toLowerCase()]);){for(let p=d.length-1;p>=0;p--){let m=l.createElement(d[p]);for(;a.firstChild;)m.appendChild(a.firstChild);a.appendChild(m),f++}u=a.firstChild}u&&u.nodeType==1&&u.setAttribute("data-pm-slice",`${o} ${s}${f?` -${f}`:""} ${JSON.stringify(t)}`);let h=n.someProp("clipboardTextSerializer",p=>p(e,n))||e.content.textBetween(0,e.content.size,`
|
|
67
67
|
|
|
68
68
|
`);return{dom:a,text:h}}function wp(n,e,t,r,o){let s=o.parent.type.spec.code,i,l;if(!t&&!e)return null;let a=e&&(r||s||!t);if(a){if(n.someProp("transformPastedText",h=>{e=h(e,s||r,n)}),s)return e?new we(fe.from(n.state.schema.text(e.replace(/\r\n?/g,`
|
|
69
|
-
`))),0,0):we.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=En.fromSchema(p);i=document.createElement("div"),e.split(/(?:\r\n?|\n)+/).forEach(g=>{let y=i.appendChild(document.createElement("p"));g&&y.appendChild(m.serializeNode(p.text(g,h)))})}}else n.someProp("transformPastedHTML",f=>{t=f(t,n)}),i=_9(t),Es&&k9(i);let u=i&&i.querySelector("[data-pm-slice]"),d=u&&/^(\d+) (\d+)(?: -(\d+))? (.*)/.exec(u.getAttribute("data-pm-slice")||"");if(d&&d[3])for(let f=+d[3];f>0;f--){let h=i.firstChild;for(;h&&h.nodeType!=1;)h=h.nextSibling;if(!h)break;i=h}if(l||(l=(n.someProp("clipboardParser")||n.someProp("domParser")||po.fromSchema(n.state.schema)).parseSlice(i,{preserveWhitespace:!!(a||d),context:o,ruleFromNode(h){return h.nodeName=="BR"&&!h.nextSibling&&h.parentNode&&!T9.test(h.parentNode.nodeName)?{ignore:!0}:null}})),d)l=N9(kp(l,+d[1],+d[2]),d[4]);else if(l=we.maxOpen(S9(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=kp(l,f,h)}return n.someProp("transformPasted",f=>{l=f(l,n)}),l}const T9=/^(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 S9(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)),s,i=[];if(n.forEach(l=>{if(!i)return;let a=o.findWrapping(l.type),u;if(!a)return i=null;if(u=i.length&&s.length&&Sp(a,s,l,i[i.length-1],0))i[i.length-1]=u;else{i.length&&(i[i.length-1]=_p(i[i.length-1],s.length));let d=Tp(l,a);i.push(d),o=o.matchType(d.type),s=a}}),i)return fe.from(i)}return n}function Tp(n,e,t=0){for(let r=e.length-1;r>=t;r--)n=e[r].create(null,fe.from(n));return n}function Sp(n,e,t,r,o){if(o<n.length&&o<e.length&&n[o]==e[o]){let s=Sp(n,e,t,r.lastChild,o+1);if(s)return r.copy(r.content.replaceChild(r.childCount-1,s));if(r.contentMatchAt(r.childCount).matchType(o==n.length-1?t.type:n[o+1]))return r.copy(r.content.append(fe.from(Tp(t,n,o+1))))}}function _p(n,e){if(e==0)return n;let t=n.content.replaceChild(n.childCount-1,_p(n.lastChild,e-1)),r=n.contentMatchAt(n.childCount).fillBefore(fe.empty,!0);return n.copy(t.append(r))}function Cc(n,e,t,r,o,s){let i=e<0?n.firstChild:n.lastChild,l=i.content;return n.childCount>1&&(s=0),o<r-1&&(l=Cc(l,e,t,r,o+1,s)),o>=t&&(l=e<0?i.contentMatchAt(0).fillBefore(l,s<=o).append(l):l.append(i.contentMatchAt(i.childCount).fillBefore(fe.empty,!0))),n.replaceChild(e<0?0:n.childCount-1,i.copy(l))}function kp(n,e,t){return e<n.openStart&&(n=new we(Cc(n.content,-1,e,n.openStart,0,n.openEnd),e,n.openEnd)),t<n.openEnd&&(n=new we(Cc(n.content,1,t,n.openEnd,0,0),n.openStart,t)),n}const Np={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 Ip=null;function xp(){return Ip||(Ip=document.implementation.createHTMLDocument("title"))}function _9(n){let e=/^(\s*<meta [^>]*>)*/.exec(n);e&&(n=n.slice(e[0].length));let t=xp().createElement("div"),r=/<([a-z][^>\s]+)/i.exec(n),o;if((o=r&&Np[r[1].toLowerCase()])&&(n=o.map(s=>"<"+s+">").join("")+n+o.map(s=>"</"+s+">").reverse().join("")),t.innerHTML=n,o)for(let s=0;s<o.length;s++)t=t.querySelector(o[s])||t;return t}function k9(n){let e=n.querySelectorAll(vt?"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 N9(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:s,openEnd:i}=n;for(let l=r.length-2;l>=0;l-=2){let a=t.nodes[r[l]];if(!a||a.hasRequiredAttrs())break;o=fe.from(a.create(r[l+1],o)),s++,i++}return new we(o,s,i)}const Tt={},St={},I9={touchstart:!0,touchmove:!0};class x9{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 M9(n){for(let e in Tt){let t=Tt[e];n.dom.addEventListener(e,n.input.eventHandlers[e]=r=>{L9(n,r)&&!bc(n,r)&&(n.editable||!(r.type in St))&&t(n,r)},I9[e]?{passive:!0}:void 0)}wt&&n.dom.addEventListener("input",()=>null),Ac(n)}function ar(n,e){n.input.lastSelectionOrigin=e,n.input.lastSelectionTime=Date.now()}function O9(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 Ac(n){n.someProp("handleDOMEvents",e=>{for(let t in e)n.input.eventHandlers[t]||n.dom.addEventListener(t,n.input.eventHandlers[t]=r=>bc(n,r))})}function bc(n,e){return n.someProp("handleDOMEvents",t=>{let r=t[e.type];return r?r(n,e)||e.defaultPrevented:!1})}function L9(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 D9(n,e){!bc(n,e)&&Tt[e.type]&&(n.editable||!(e.type in St))&&Tt[e.type](n,e)}St.keydown=(n,e)=>{let t=e;if(n.input.shiftKey=t.keyCode==16||t.shiftKey,!Op(n,t)&&(n.input.lastKeyCode=t.keyCode,n.input.lastKeyCodeTime=Date.now(),!(fn&&vt&&t.keyCode==13)))if(t.keyCode!=229&&n.domObserver.forceFlush(),bo&&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,zr(13,"Enter"))),n.input.lastIOSEnter=0)},200)}else n.someProp("handleKeyDown",r=>r(n,t))||w9(n,t)?t.preventDefault():ar(n,"key")},St.keyup=(n,e)=>{e.keyCode==16&&(n.input.shiftKey=!1)},St.keypress=(n,e)=>{let t=e;if(Op(n,t)||!t.charCode||t.ctrlKey&&!t.altKey||Gt&&t.metaKey)return;if(n.someProp("handleKeyPress",o=>o(n,t))){t.preventDefault();return}let r=n.state.selection;if(!(r instanceof ze)||!r.$from.sameParent(r.$to)){let o=String.fromCharCode(t.charCode);!/[\r\n]/.test(o)&&!n.someProp("handleTextInput",s=>s(n,r.$from.pos,r.$to.pos,o))&&n.dispatch(n.state.tr.insertText(o).scrollIntoView()),t.preventDefault()}};function Oi(n){return{left:n.clientX,top:n.clientY}}function R9(n,e){let t=e.x-n.clientX,r=e.y-n.clientY;return t*t+r*r<100}function wc(n,e,t,r,o){if(r==-1)return!1;let s=n.state.doc.resolve(r);for(let i=s.depth+1;i>0;i--)if(n.someProp(e,l=>i>s.depth?l(n,t,s.nodeAfter,s.before(i),o,!0):l(n,t,s.node(i),s.before(i),o,!1)))return!0;return!1}function So(n,e,t){n.focused||n.focus();let r=n.state.tr.setSelection(e);t=="pointer"&&r.setMeta("pointer",!0),n.dispatch(r)}function B9(n,e){if(e==-1)return!1;let t=n.state.doc.resolve(e),r=t.nodeAfter;return r&&r.isAtom&&Le.isSelectable(r)?(So(n,new Le(t),"pointer"),!0):!1}function P9(n,e){if(e==-1)return!1;let t=n.state.selection,r,o;t instanceof Le&&(r=t.node);let s=n.state.doc.resolve(e);for(let i=s.depth+1;i>0;i--){let l=i>s.depth?s.nodeAfter:s.node(i);if(Le.isSelectable(l)){r&&t.$from.depth>0&&i>=t.$from.depth&&s.before(t.$from.depth+1)==t.$from.pos?o=s.before(t.$from.depth):o=s.before(i);break}}return o!=null?(So(n,Le.create(n.state.doc,o),"pointer"),!0):!1}function F9(n,e,t,r,o){return wc(n,"handleClickOn",e,t,r)||n.someProp("handleClick",s=>s(n,e,r))||(o?P9(n,t):B9(n,t))}function V9(n,e,t,r){return wc(n,"handleDoubleClickOn",e,t,r)||n.someProp("handleDoubleClick",o=>o(n,e,r))}function $9(n,e,t,r){return wc(n,"handleTripleClickOn",e,t,r)||n.someProp("handleTripleClick",o=>o(n,e,r))||U9(n,t,r)}function U9(n,e,t){if(t.button!=0)return!1;let r=n.state.doc;if(e==-1)return r.inlineContent?(So(n,ze.create(r,0,r.content.size),"pointer"),!0):!1;let o=r.resolve(e);for(let s=o.depth+1;s>0;s--){let i=s>o.depth?o.nodeAfter:o.node(s),l=o.before(s);if(i.inlineContent)So(n,ze.create(r,l+1,l+1+i.content.size),"pointer");else if(Le.isSelectable(i))So(n,Le.create(r,l),"pointer");else continue;return!0}}function Tc(n){return Li(n)}const Mp=Gt?"metaKey":"ctrlKey";Tt.mousedown=(n,e)=>{let t=e;n.input.shiftKey=t.shiftKey;let r=Tc(n),o=Date.now(),s="singleClick";o-n.input.lastClick.time<500&&R9(t,n.input.lastClick)&&!t[Mp]&&(n.input.lastClick.type=="singleClick"?s="doubleClick":n.input.lastClick.type=="doubleClick"&&(s="tripleClick")),n.input.lastClick={time:o,x:t.clientX,y:t.clientY,type:s};let i=n.posAtCoords(Oi(t));i&&(s=="singleClick"?(n.input.mouseDown&&n.input.mouseDown.done(),n.input.mouseDown=new z9(n,i,t,!!r)):(s=="doubleClick"?V9:$9)(n,i.pos,i.inside,t)?t.preventDefault():ar(n,"pointer"))};class z9{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[Mp],this.allowDefault=r.shiftKey;let s,i;if(t.inside>-1)s=e.state.doc.nodeAt(t.inside),i=t.inside;else{let d=e.state.doc.resolve(t.pos);s=d.parent,i=d.depth?d.before():0}const l=o?null:r.target,a=l?e.docView.nearestDesc(l,!0):null;this.target=a?a.dom:null;let{selection:u}=e.state;(r.button==0&&s.type.spec.draggable&&s.type.spec.selectable!==!1||u instanceof Le&&u.from<=i&&u.to>i)&&(this.mightDrag={node:s,pos:i,addAttr:!!(this.target&&!this.target.draggable),setUneditable:!!(this.target&&dn&&!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)),ar(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(()=>Pn(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(Oi(e))),this.updateAllowDefault(e),this.allowDefault||!t?ar(this.view,"pointer"):F9(this.view,t.pos,t.inside,e,this.selectNode)?e.preventDefault():e.button==0&&(this.flushed||wt&&this.mightDrag&&!this.mightDrag.node.isAtom||vt&&!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)?(So(this.view,Ue.near(this.view.state.doc.resolve(t.pos)),"pointer"),e.preventDefault()):ar(this.view,"pointer")}move(e){this.updateAllowDefault(e),ar(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)}}Tt.touchstart=n=>{n.input.lastTouch=Date.now(),Tc(n),ar(n,"pointer")},Tt.touchmove=n=>{n.input.lastTouch=Date.now(),ar(n,"pointer")},Tt.contextmenu=n=>Tc(n);function Op(n,e){return n.composing?!0:wt&&Math.abs(e.timeStamp-n.input.compositionEndedAt)<500?(n.input.compositionEndedAt=-2e8,!0):!1}const H9=fn?5e3:-1;St.compositionstart=St.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(),Li(n,!0),n.markCursor=null;else if(Li(n),dn&&e.selection.empty&&t.parentOffset&&!t.textOffset&&t.nodeBefore.marks.length){let r=n.domSelectionRange();for(let o=r.focusNode,s=r.focusOffset;o&&o.nodeType==1&&s!=0;){let i=s<0?o.lastChild:o.childNodes[s-1];if(!i)break;if(i.nodeType==3){n.domSelection().collapse(i,i.nodeValue.length);break}else o=i,s=-1}}n.input.composing=!0}Lp(n,H9)},St.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++,Lp(n,20))};function Lp(n,e){clearTimeout(n.input.composingTimeout),e>-1&&(n.input.composingTimeout=setTimeout(()=>Li(n),e))}function Dp(n){for(n.composing&&(n.input.composing=!1,n.input.compositionEndedAt=j9());n.input.compositionNodes.length>0;)n.input.compositionNodes.pop().markParentsDirty()}function j9(){let n=document.createEvent("Event");return n.initEvent("event",!0,!0),n.timeStamp}function Li(n,e=!1){if(!(fn&&n.domObserver.flushingSoon>=0)){if(n.domObserver.forceFlush(),Dp(n),e||n.docView&&n.docView.dirty){let t=mc(n);return t&&!t.eq(n.state.selection)?n.dispatch(n.state.tr.setSelection(t)):n.updateState(n.state),!0}return!1}}function W9(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 Ts=Rt&&rr<15||bo&&zv<604;Tt.copy=St.cut=(n,e)=>{let t=e,r=n.state.selection,o=t.type=="cut";if(r.empty)return;let s=Ts?null:t.clipboardData,i=r.content(),{dom:l,text:a}=bp(n,i);s?(t.preventDefault(),s.clearData(),s.setData("text/html",l.innerHTML),s.setData("text/plain",a)):W9(n,l),o&&n.dispatch(n.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent","cut"))};function K9(n){return n.openStart==0&&n.openEnd==0&&n.content.childCount==1?n.content.firstChild:null}function Y9(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?Ss(n,r.value,null,o,e):Ss(n,r.textContent,r.innerHTML,o,e)},50)}function Ss(n,e,t,r,o){let s=wp(n,e,t,r,n.state.selection.$from);if(n.someProp("handlePaste",a=>a(n,o,s||we.empty)))return!0;if(!s)return!1;let i=K9(s),l=i?n.state.tr.replaceSelectionWith(i,r):n.state.tr.replaceSelection(s);return n.dispatch(l.scrollIntoView().setMeta("paste",!0).setMeta("uiEvent","paste")),!0}function Rp(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," "):""}St.paste=(n,e)=>{let t=e;if(n.composing&&!fn)return;let r=Ts?null:t.clipboardData,o=n.input.shiftKey&&n.input.lastKeyCode!=45;r&&Ss(n,Rp(r),r.getData("text/html"),o,t)?t.preventDefault():Y9(n,t)};class Bp{constructor(e,t,r){this.slice=e,this.move=t,this.node=r}}const Pp=Gt?"altKey":"ctrlKey";Tt.dragstart=(n,e)=>{let t=e,r=n.input.mouseDown;if(r&&r.done(),!t.dataTransfer)return;let o=n.state.selection,s=o.empty?null:n.posAtCoords(Oi(t)),i;if(!(s&&s.pos>=o.from&&s.pos<=(o instanceof Le?o.to-1:o.to))){if(r&&r.mightDrag)i=Le.create(n.state.doc,r.mightDrag.pos);else if(t.target&&t.target.nodeType==1){let d=n.docView.nearestDesc(t.target,!0);d&&d.node.type.spec.draggable&&d!=n.docView&&(i=Le.create(n.state.doc,d.posBefore))}}let l=(i||n.state.selection).content(),{dom:a,text:u}=bp(n,l);t.dataTransfer.clearData(),t.dataTransfer.setData(Ts?"Text":"text/html",a.innerHTML),t.dataTransfer.effectAllowed="copyMove",Ts||t.dataTransfer.setData("text/plain",u),n.dragging=new Bp(l,!t[Pp],i)},Tt.dragend=n=>{let e=n.dragging;window.setTimeout(()=>{n.dragging==e&&(n.dragging=null)},50)},St.dragover=St.dragenter=(n,e)=>e.preventDefault(),St.drop=(n,e)=>{let t=e,r=n.dragging;if(n.dragging=null,!t.dataTransfer)return;let o=n.posAtCoords(Oi(t));if(!o)return;let s=n.state.doc.resolve(o.pos),i=r&&r.slice;i?n.someProp("transformPasted",m=>{i=m(i,n)}):i=wp(n,Rp(t.dataTransfer),Ts?null:t.dataTransfer.getData("text/html"),!1,s);let l=!!(r&&!t[Pp]);if(n.someProp("handleDrop",m=>m(n,t,i||we.empty,l))){t.preventDefault();return}if(!i)return;t.preventDefault();let a=i?Sv(n.state.doc,s.pos,i):s.pos;a==null&&(a=s.pos);let u=n.state.tr;if(l){let{node:m}=r;m?m.replace(u):u.deleteSelection()}let d=u.mapping.map(a),f=i.openStart==0&&i.openEnd==0&&i.content.childCount==1,h=u.doc;if(f?u.replaceRangeWith(d,d,i.content.firstChild):u.replaceRange(d,d,i),u.doc.eq(h))return;let p=u.doc.resolve(d);if(f&&Le.isSelectable(i.content.firstChild)&&p.nodeAfter&&p.nodeAfter.sameMarkup(i.content.firstChild))u.setSelection(new Le(p));else{let m=u.mapping.map(a);u.mapping.maps[u.mapping.maps.length-1].forEach((g,y,C,w)=>m=w),u.setSelection(yc(n,p,u.doc.resolve(m)))}n.focus(),n.dispatch(u.setMeta("uiEvent","drop"))},Tt.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())&&Pn(n)},20))},Tt.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)},Tt.beforeinput=(n,e)=>{if(vt&&fn&&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",s=>s(n,zr(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 St)Tt[n]=St[n];function _s(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 Di{constructor(e,t){this.toDOM=e,this.spec=t||Kr,this.side=this.spec.side||0}map(e,t,r,o){let{pos:s,deleted:i}=e.mapResult(t.from+o,this.side<0?-1:1);return i?null:new Zt(s-r,s-r,this)}valid(){return!0}eq(e){return this==e||e instanceof Di&&(this.spec.key&&this.spec.key==e.spec.key||this.toDOM==e.toDOM&&_s(this.spec,e.spec))}destroy(e){this.spec.destroy&&this.spec.destroy(e)}}class lr{constructor(e,t){this.attrs=e,this.spec=t||Kr}map(e,t,r,o){let s=e.map(t.from+o,this.spec.inclusiveStart?-1:1)-r,i=e.map(t.to+o,this.spec.inclusiveEnd?1:-1)-r;return s>=i?null:new Zt(s,i,this)}valid(e,t){return t.from<t.to}eq(e){return this==e||e instanceof lr&&_s(this.attrs,e.attrs)&&_s(this.spec,e.spec)}static is(e){return e.type instanceof lr}destroy(){}}class Sc{constructor(e,t){this.attrs=e,this.spec=t||Kr}map(e,t,r,o){let s=e.mapResult(t.from+o,1);if(s.deleted)return null;let i=e.mapResult(t.to+o,-1);return i.deleted||i.pos<=s.pos?null:new Zt(s.pos-r,i.pos-r,this)}valid(e,t){let{index:r,offset:o}=e.content.findIndex(t.from),s;return o==t.from&&!(s=e.child(r)).isText&&o+s.nodeSize==t.to}eq(e){return this==e||e instanceof Sc&&_s(this.attrs,e.attrs)&&_s(this.spec,e.spec)}destroy(){}}class Zt{constructor(e,t,r){this.from=e,this.to=t,this.type=r}copy(e,t){return new Zt(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 Zt(e,e,new Di(t,r))}static inline(e,t,r,o){return new Zt(e,t,new lr(r,o))}static node(e,t,r,o){return new Zt(e,t,new Sc(r,o))}get spec(){return this.type.spec}get inline(){return this.type instanceof lr}get widget(){return this.type instanceof Di}}const _o=[],Kr={};class at{constructor(e,t){this.local=e.length?e:_o,this.children=t.length?t:_o}static create(e,t){return t.length?Ri(t,e,0,Kr):Et}find(e,t,r){let o=[];return this.findInner(e??0,t??1e9,o,0,r),o}findInner(e,t,r,o,s){for(let i=0;i<this.local.length;i++){let l=this.local[i];l.from<=t&&l.to>=e&&(!s||s(l.spec))&&r.push(l.copy(l.from+o,l.to+o))}for(let i=0;i<this.children.length;i+=3)if(this.children[i]<t&&this.children[i+1]>e){let l=this.children[i]+1;this.children[i+2].findInner(e-l,t-l,r,o+l,s)}}map(e,t,r){return this==Et||e.maps.length==0?this:this.mapInner(e,t,0,0,r||Kr)}mapInner(e,t,r,o,s){let i;for(let l=0;l<this.local.length;l++){let a=this.local[l].map(e,r,o);a&&a.type.valid(t,a)?(i||(i=[])).push(a):s.onRemove&&s.onRemove(this.local[l].spec)}return this.children.length?G9(this.children,i||[],e,t,r,o,s):i?new at(i.sort(Yr),_o):Et}add(e,t){return t.length?this==Et?at.create(e,t):this.addInner(e,t,0):this}addInner(e,t,r){let o,s=0;e.forEach((l,a)=>{let u=a+r,d;if(d=Vp(t,l,u)){for(o||(o=this.children.slice());s<o.length&&o[s]<a;)s+=3;o[s]==a?o[s+2]=o[s+2].addInner(l,d,u+1):o.splice(s,0,a,a+l.nodeSize,Ri(d,l,u+1,Kr)),s+=3}});let i=Fp(s?$p(t):t,-r);for(let l=0;l<i.length;l++)i[l].type.valid(e,i[l])||i.splice(l--,1);return new at(i.length?this.local.concat(i).sort(Yr):this.local,o||this.children)}remove(e){return e.length==0||this==Et?this:this.removeInner(e,0)}removeInner(e,t){let r=this.children,o=this.local;for(let s=0;s<r.length;s+=3){let i,l=r[s]+t,a=r[s+1]+t;for(let d=0,f;d<e.length;d++)(f=e[d])&&f.from>l&&f.to<a&&(e[d]=null,(i||(i=[])).push(f));if(!i)continue;r==this.children&&(r=this.children.slice());let u=r[s+2].removeInner(i,l+1);u!=Et?r[s+2]=u:(r.splice(s,3),s-=3)}if(o.length){for(let s=0,i;s<e.length;s++)if(i=e[s])for(let l=0;l<o.length;l++)o[l].eq(i,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 at(o,r):Et}forChild(e,t){if(this==Et)return this;if(t.isLeaf)return at.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 s=e+1,i=s+t.content.size;for(let l=0;l<this.local.length;l++){let a=this.local[l];if(a.from<i&&a.to>s&&a.type instanceof lr){let u=Math.max(s,a.from)-s,d=Math.min(i,a.to)-s;u<d&&(o||(o=[])).push(a.copy(u,d))}}if(o){let l=new at(o.sort(Yr),_o);return r?new cr([l,r]):l}return r||Et}eq(e){if(this==e)return!0;if(!(e instanceof at)||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 _c(this.localsInner(e))}localsInner(e){if(this==Et)return _o;if(e.inlineContent||!this.local.some(lr.is))return this.local;let t=[];for(let r=0;r<this.local.length;r++)this.local[r].type instanceof lr||t.push(this.local[r]);return t}}at.empty=new at([],[]),at.removeOverlap=_c;const Et=at.empty;class cr{constructor(e){this.members=e}map(e,t){const r=this.members.map(o=>o.map(e,t,Kr));return cr.from(r)}forChild(e,t){if(t.isLeaf)return at.empty;let r=[];for(let o=0;o<this.members.length;o++){let s=this.members[o].forChild(e,t);s!=Et&&(s instanceof cr?r=r.concat(s.members):r.push(s))}return cr.from(r)}eq(e){if(!(e instanceof cr)||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 s=this.members[o].localsInner(e);if(s.length)if(!t)t=s;else{r&&(t=t.slice(),r=!1);for(let i=0;i<s.length;i++)t.push(s[i])}}return t?_c(r?t:t.sort(Yr)):_o}static from(e){switch(e.length){case 0:return Et;case 1:return e[0];default:return new cr(e.every(t=>t instanceof at)?e:e.reduce((t,r)=>t.concat(r instanceof at?r:r.members),[]))}}}function G9(n,e,t,r,o,s,i){let l=n.slice();for(let u=0,d=s;u<t.maps.length;u++){let f=0;t.maps[u].forEach((h,p,m,g)=>{let y=g-m-(p-h);for(let C=0;C<l.length;C+=3){let w=l[C+1];if(w<0||h>w+d-f)continue;let E=l[C]+d-f;p>=E?l[C+1]=h<=E?-2:-1:m>=o&&y&&(l[C]+=y,l[C+1]+=y)}f+=y}),d=t.maps[u].map(d,-1)}let a=!1;for(let u=0;u<l.length;u+=3)if(l[u+1]<0){if(l[u+1]==-2){a=!0,l[u+1]=-1;continue}let d=t.map(n[u]+s),f=d-o;if(f<0||f>=r.content.size){a=!0;continue}let h=t.map(n[u+1]+s,-1),p=h-o,{index:m,offset:g}=r.content.findIndex(f),y=r.maybeChild(m);if(y&&g==f&&g+y.nodeSize==p){let C=l[u+2].mapInner(t,y,d+1,n[u]+s+1,i);C!=Et?(l[u]=f,l[u+1]=p,l[u+2]=C):(l[u+1]=-2,a=!0)}else a=!0}if(a){let u=Q9(l,n,e,t,o,s,i),d=Ri(u,r,0,i);e=d.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<d.children.length;f+=3){let p=d.children[f];for(;h<l.length&&l[h]<p;)h+=3;l.splice(h,0,d.children[f],d.children[f+1],d.children[f+2])}}return new at(e.sort(Yr),l)}function Fp(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 Zt(o.from+e,o.to+e,o.type))}return t}function Q9(n,e,t,r,o,s,i){function l(a,u){for(let d=0;d<a.local.length;d++){let f=a.local[d].map(r,o,u);f?t.push(f):i.onRemove&&i.onRemove(a.local[d].spec)}for(let d=0;d<a.children.length;d+=3)l(a.children[d+2],a.children[d]+u+1)}for(let a=0;a<n.length;a+=3)n[a+1]==-1&&l(n[a+2],e[a]+s+1);return t}function Vp(n,e,t){if(e.isLeaf)return null;let r=t+e.nodeSize,o=null;for(let s=0,i;s<n.length;s++)(i=n[s])&&i.from>t&&i.to<r&&((o||(o=[])).push(i),n[s]=null);return o}function $p(n){let e=[];for(let t=0;t<n.length;t++)n[t]!=null&&e.push(n[t]);return e}function Ri(n,e,t,r){let o=[],s=!1;e.forEach((l,a)=>{let u=Vp(n,l,a+t);if(u){s=!0;let d=Ri(u,l,t+a+1,r);d!=Et&&o.push(a,a+l.nodeSize,d)}});let i=Fp(s?$p(n):n,-t).sort(Yr);for(let l=0;l<i.length;l++)i[l].type.valid(e,i[l])||(r.onRemove&&r.onRemove(i[l].spec),i.splice(l--,1));return i.length||o.length?new at(i,o):Et}function Yr(n,e){return n.from-e.from||n.to-e.to}function _c(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 s=e[o];if(s.from==r.from){s.to!=r.to&&(e==n&&(e=n.slice()),e[o]=s.copy(s.from,r.to),Up(e,o+1,s.copy(r.to,s.to)));continue}else{s.from<r.to&&(e==n&&(e=n.slice()),e[t]=r.copy(r.from,s.from),Up(e,o,r.copy(s.from,r.to)));break}}}return e}function Up(n,e,t){for(;e<n.length&&Yr(t,n[e])>0;)e++;n.splice(e,0,t)}function kc(n){let e=[];return n.someProp("decorations",t=>{let r=t(n.state);r&&r!=Et&&e.push(r)}),n.cursorWrapper&&e.push(at.create(n.state.doc,[n.cursorWrapper.deco])),cr.from(e)}const Z9={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},J9=Rt&&rr<=11;class X9{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 q9{constructor(e,t){this.view=e,this.handleDOMChange=t,this.queue=[],this.flushingSoon=-1,this.observer=null,this.currentSelection=new X9,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]);Rt&&rr<=11&&r.some(o=>o.type=="childList"&&o.removedNodes.length||o.type=="characterData"&&o.oldValue.length>o.target.nodeValue.length)?this.flushSoon():this.flush()}),J9&&(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,Z9)),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(pp(this.view)){if(this.suppressingSelectionUpdates)return Pn(this.view);if(Rt&&rr<=11&&!this.view.state.selection.empty){let e=this.view.domSelectionRange();if(e.focusNode&&Ur(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 s=e.focusNode;s;s=vs(s))t.add(s);for(let s=e.anchorNode;s;s=vs(s))if(t.has(s)){r=s;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)&&pp(e)&&!this.ignoreSelectionChange(r),s=-1,i=-1,l=!1,a=[];if(e.editable)for(let d=0;d<t.length;d++){let f=this.registerMutation(t[d],a);f&&(s=s<0?f.from:Math.min(f.from,s),i=i<0?f.to:Math.max(f.to,i),f.typeOver&&(l=!0))}if(dn&&a.length>1){let d=a.filter(f=>f.nodeName=="BR");if(d.length==2){let f=d[0],h=d[1];f.parentNode&&f.parentNode.parentNode==h.parentNode?h.remove():f.remove()}}let u=null;s<0&&o&&e.input.lastFocus>Date.now()-200&&Math.max(e.input.lastTouch,e.input.lastClick.time)<Date.now()-300&&Ii(r)&&(u=mc(e))&&u.eq(Ue.near(e.state.doc.resolve(0),1))?(e.input.lastFocus=0,Pn(e),this.currentSelection.set(r),e.scrollToSelection()):(s>-1||o)&&(s>-1&&(e.docView.markDirty(s,i),eE(e)),this.handleDOMChange(s,i,l,a),e.docView&&e.docView.dirty?e.updateState(e.state):this.currentSelection.eq(r)||Pn(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 d=0;d<e.addedNodes.length;d++)t.push(e.addedNodes[d]);if(r.contentDOM&&r.contentDOM!=r.dom&&!r.contentDOM.contains(e.target))return{from:r.posBefore,to:r.posAfter};let o=e.previousSibling,s=e.nextSibling;if(Rt&&rr<=11&&e.addedNodes.length)for(let d=0;d<e.addedNodes.length;d++){let{previousSibling:f,nextSibling:h}=e.addedNodes[d];(!f||Array.prototype.indexOf.call(e.addedNodes,f)<0)&&(o=f),(!h||Array.prototype.indexOf.call(e.addedNodes,h)<0)&&(s=h)}let i=o&&o.parentNode==e.target?bt(o)+1:0,l=r.localPosFromDOM(e.target,i,-1),a=s&&s.parentNode==e.target?bt(s):e.target.childNodes.length,u=r.localPosFromDOM(e.target,a,1);return{from:l,to:u}}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 zp=new WeakMap,Hp=!1;function eE(n){if(!zp.has(n)&&(zp.set(n,null),["normal","nowrap","pre-line"].indexOf(getComputedStyle(n.dom).whiteSpace)!==-1)){if(n.requiresGeckoHackNode=dn,Hp)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."),Hp=!0}}function tE(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,s=e.endContainer,i=e.endOffset,l=n.domAtPos(n.state.selection.anchor);return Ur(l.node,l.offset,s,i)&&([r,o,s,i]=[s,i,r,o]),{anchorNode:r,anchorOffset:o,focusNode:s,focusOffset:i}}function nE(n,e,t){let{node:r,fromOffset:o,toOffset:s,from:i,to:l}=n.docView.parseRange(e,t),a=n.domSelectionRange(),u,d=a.anchorNode;if(d&&n.dom.contains(d.nodeType==1?d:d.parentNode)&&(u=[{node:d,offset:a.anchorOffset}],Ii(a)||u.push({node:a.focusNode,offset:a.focusOffset})),vt&&n.input.lastKeyCode===8)for(let y=s;y>o;y--){let C=r.childNodes[y-1],w=C.pmViewDesc;if(C.nodeName=="BR"&&!w){s=y;break}if(!w||w.size)break}let f=n.state.doc,h=n.someProp("domParser")||po.fromSchema(n.state.schema),p=f.resolve(i),m=null,g=h.parse(r,{topNode:p.parent,topMatch:p.parent.contentMatchAt(p.index()),topOpen:!0,from:o,to:s,preserveWhitespace:p.parent.type.whitespace=="pre"?"full":!0,findPositions:u,ruleFromNode:rE,context:p});if(u&&u[0].pos!=null){let y=u[0].pos,C=u[1]&&u[1].pos;C==null&&(C=y),m={anchor:y+i,head:C+i}}return{doc:g,sel:m,from:i,to:l}}function rE(n){let e=n.pmViewDesc;if(e)return e.parseRule();if(n.nodeName=="BR"&&n.parentNode){if(wt&&/^(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||wt&&/^(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 oE=/^(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 sE(n,e,t,r,o){let s=n.input.compositionPendingChanges||(n.composing?n.input.compositionID:0);if(n.input.compositionPendingChanges=0,e<0){let R=n.input.lastSelectionTime>Date.now()-50?n.input.lastSelectionOrigin:null,U=mc(n,R);if(U&&!n.state.selection.eq(U)){if(vt&&fn&&n.input.lastKeyCode===13&&Date.now()-100<n.input.lastKeyCodeTime&&n.someProp("handleKeyDown",P=>P(n,zr(13,"Enter"))))return;let $=n.state.tr.setSelection(U);R=="pointer"?$.setMeta("pointer",!0):R=="key"&&$.scrollIntoView(),s&&$.setMeta("composition",s),n.dispatch($)}return}let i=n.state.doc.resolve(e),l=i.sharedDepth(t);e=i.before(l+1),t=n.state.doc.resolve(t).after(l+1);let a=n.state.selection,u=nE(n,e,t),d=n.state.doc,f=d.slice(u.from,u.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=lE(f.content,u.doc.content,u.from,h,p);if((bo&&n.input.lastIOSEnter>Date.now()-225||fn)&&o.some(R=>R.nodeType==1&&!oE.test(R.nodeName))&&(!m||m.endA>=m.endB)&&n.someProp("handleKeyDown",R=>R(n,zr(13,"Enter")))){n.input.lastIOSEnter=0;return}if(!m)if(r&&a instanceof ze&&!a.empty&&a.$head.sameParent(a.$anchor)&&!n.composing&&!(u.sel&&u.sel.anchor!=u.sel.head))m={start:a.from,endA:a.to,endB:a.to};else{if(u.sel){let R=jp(n,n.state.doc,u.sel);if(R&&!R.eq(n.state.selection)){let U=n.state.tr.setSelection(R);s&&U.setMeta("composition",s),n.dispatch(U)}}return}if(vt&&n.cursorWrapper&&u.sel&&u.sel.anchor==n.cursorWrapper.deco.from&&u.sel.head==u.sel.anchor){let R=m.endB-m.start;u.sel={anchor:u.sel.anchor+R,head:u.sel.anchor+R}}n.input.domChangeCount++,n.state.selection.from<n.state.selection.to&&m.start==m.endB&&n.state.selection instanceof ze&&(m.start>n.state.selection.from&&m.start<=n.state.selection.from+2&&n.state.selection.from>=u.from?m.start=n.state.selection.from:m.endA<n.state.selection.to&&m.endA>=n.state.selection.to-2&&n.state.selection.to<=u.to&&(m.endB+=n.state.selection.to-m.endA,m.endA=n.state.selection.to)),Rt&&rr<=11&&m.endB==m.start+1&&m.endA==m.start&&m.start>u.from&&u.doc.textBetween(m.start-u.from-1,m.start-u.from+1)==" "&&(m.start--,m.endA--,m.endB--);let g=u.doc.resolveNoCache(m.start-u.from),y=u.doc.resolveNoCache(m.endB-u.from),C=d.resolve(m.start),w=g.sameParent(y)&&g.parent.inlineContent&&C.end()>=m.endA,E;if((bo&&n.input.lastIOSEnter>Date.now()-225&&(!w||o.some(R=>R.nodeName=="DIV"||R.nodeName=="P"))||!w&&g.pos<u.doc.content.size&&!g.sameParent(y)&&(E=Ue.findFrom(u.doc.resolve(g.pos+1),1,!0))&&E.head==y.pos)&&n.someProp("handleKeyDown",R=>R(n,zr(13,"Enter")))){n.input.lastIOSEnter=0;return}if(n.state.selection.anchor>m.start&&aE(d,m.start,m.endA,g,y)&&n.someProp("handleKeyDown",R=>R(n,zr(8,"Backspace")))){fn&&vt&&n.domObserver.suppressSelectionUpdates();return}vt&&fn&&m.endB==m.start&&(n.input.lastAndroidDelete=Date.now()),fn&&!w&&g.start()!=y.start()&&y.parentOffset==0&&g.depth==y.depth&&u.sel&&u.sel.anchor==u.sel.head&&u.sel.head==m.endA&&(m.endB-=2,y=u.doc.resolveNoCache(m.endB-u.from),setTimeout(()=>{n.someProp("handleKeyDown",function(R){return R(n,zr(13,"Enter"))})},20));let v=m.start,N=m.endA,b,x,B;if(w){if(g.pos==y.pos)Rt&&rr<=11&&g.parentOffset==0&&(n.domObserver.suppressSelectionUpdates(),setTimeout(()=>Pn(n),20)),b=n.state.tr.delete(v,N),x=d.resolve(m.start).marksAcross(d.resolve(m.endA));else if(m.endA==m.endB&&(B=iE(g.parent.content.cut(g.parentOffset,y.parentOffset),C.parent.content.cut(C.parentOffset,m.endA-C.start()))))b=n.state.tr,B.type=="add"?b.addMark(v,N,B.mark):b.removeMark(v,N,B.mark);else if(g.parent.child(g.index()).isText&&g.index()==y.index()-(y.textOffset?0:1)){let R=g.parent.textBetween(g.parentOffset,y.parentOffset);if(n.someProp("handleTextInput",U=>U(n,v,N,R)))return;b=n.state.tr.insertText(R,v,N)}}if(b||(b=n.state.tr.replace(v,N,u.doc.slice(m.start-u.from,m.endB-u.from))),u.sel){let R=jp(n,b.doc,u.sel);R&&!(vt&&fn&&n.composing&&R.empty&&(m.start!=m.endB||n.input.lastAndroidDelete<Date.now()-100)&&(R.head==v||R.head==b.mapping.map(N)-1)||Rt&&R.empty&&R.head==v)&&b.setSelection(R)}x&&b.ensureMarks(x),s&&b.setMeta("composition",s),n.dispatch(b.scrollIntoView())}function jp(n,e,t){return Math.max(t.anchor,t.head)>e.content.size?null:yc(n,e.resolve(t.anchor),e.resolve(t.head))}function iE(n,e){let t=n.firstChild.marks,r=e.firstChild.marks,o=t,s=r,i,l,a;for(let d=0;d<r.length;d++)o=r[d].removeFromSet(o);for(let d=0;d<t.length;d++)s=t[d].removeFromSet(s);if(o.length==1&&s.length==0)l=o[0],i="add",a=d=>d.mark(l.addToSet(d.marks));else if(o.length==0&&s.length==1)l=s[0],i="remove",a=d=>d.mark(l.removeFromSet(d.marks));else return null;let u=[];for(let d=0;d<e.childCount;d++)u.push(a(e.child(d)));if(fe.from(u).eq(n))return{mark:l,type:i}}function aE(n,e,t,r,o){if(!r.parent.isTextblock||t-e<=o.pos-r.pos||Nc(r,!0,!1)<o.pos)return!1;let s=n.resolve(e);if(s.parentOffset<s.parent.content.size||!s.parent.isTextblock)return!1;let i=n.resolve(Nc(s,!0,!0));return!i.parent.isTextblock||i.pos>t||Nc(i,!0,!1)<t?!1:r.parent.content.cut(r.parentOffset).eq(i.parent.content)}function Nc(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 s=n.node(r).maybeChild(n.indexAfter(r));for(;s&&!s.isLeaf;)s=s.firstChild,o++}return o}function lE(n,e,t,r,o){let s=n.findDiffStart(e,t);if(s==null)return null;let{a:i,b:l}=n.findDiffEnd(e,t+n.size,t+e.size);if(o=="end"){let a=Math.max(0,s-Math.min(i,l));r-=i+a-s}if(i<s&&n.size<e.size){let a=r<=s&&r>=i?s-r:0;s-=a,s&&s<e.size&&Wp(e.textBetween(s-1,s+1))&&(s+=a?1:-1),l=s+(l-i),i=s}else if(l<s){let a=r<=s&&r>=l?s-r:0;s-=a,s&&s<n.size&&Wp(n.textBetween(s-1,s+1))&&(s+=a?1:-1),i=s+(i-l),l=s}return{start:s,endA:i,endB:l}}function Wp(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 cE{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 x9,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=t,this.state=t.state,this.directPlugins=t.plugins||[],this.directPlugins.forEach(Zp),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=Gp(this),Yp(this),this.nodeViews=Qp(this),this.docView=np(this.state.doc,Kp(this),kc(this),this.dom,this),this.domObserver=new q9(this,(r,o,s,i)=>sE(this,r,o,s,i)),this.domObserver.start(),M9(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&&Ac(this);let t=this._props;this._props=e,e.plugins&&(e.plugins.forEach(Zp),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,s=!1,i=!1;e.storedMarks&&this.composing&&(Dp(this),i=!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=Qp(this);dE(p,this.nodeViews)&&(this.nodeViews=p,s=!0)}(l||t.handleDOMEvents!=this._props.handleDOMEvents)&&Ac(this),this.editable=Gp(this),Yp(this);let a=kc(this),u=Kp(this),d=o.plugins!=e.plugins&&!o.doc.eq(e.doc)?"reset":e.scrollToSelection>o.scrollToSelection?"to selection":"preserve",f=s||!this.docView.matchesNode(e.doc,u,a);(f||!e.selection.eq(o.selection))&&(i=!0);let h=d=="preserve"&&i&&this.dom.style.overflowAnchor==null&&Wv(this);if(i){this.domObserver.stop();let p=f&&(Rt||vt)&&!this.composing&&!o.selection.empty&&!e.selection.empty&&uE(o.selection,e.selection);if(f){let m=vt?this.trackWrites=this.domSelectionRange().focusNode:null;(s||!this.docView.update(e.doc,u,a,this))&&(this.docView.updateOuterDeco([]),this.docView.destroy(),this.docView=np(e.doc,u,a,this.dom,this)),m&&!this.trackWrites&&(p=!0)}p||!(this.input.mouseDown&&this.domObserver.currentSelection.eq(this.domSelectionRange())&&g9(this))?Pn(this,p):(fp(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),d=="reset"?this.dom.scrollTop=0:d=="to selection"?this.scrollToSelection():h&&Kv(h)}scrollToSelection(){let e=this.domSelectionRange().focusNode;if(!this.someProp("handleScrollToSelection",t=>t(this)))if(this.state.selection instanceof Le){let t=this.docView.domAfterPos(this.state.selection.from);t.nodeType==1&&Hh(this,t.getBoundingClientRect(),e)}else Hh(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 s=r.from+(this.state.doc.content.size-t.doc.content.size);(s>0&&this.state.doc.nodeAt(s))==r.node&&(o=s)}this.dragging=new Bp(e.slice,e.move,o<0?void 0:Le.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 i=0;i<this.directPlugins.length;i++){let l=this.directPlugins[i].props[e];if(l!=null&&(o=t?t(l):l))return o}let s=this.state.plugins;if(s)for(let i=0;i<s.length;i++){let l=s[i].props[e];if(l!=null&&(o=t?t(l):l))return o}}hasFocus(){if(Rt){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&&Yv(this.dom),Pn(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 Xv(this,e)}coordsAtPos(e,t=1){return Qh(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 r9(this,t||this.state,e)}pasteHTML(e,t){return Ss(this,"",e,!1,t||new ClipboardEvent("paste"))}pasteText(e,t){return Ss(this,e,null,!0,t||new ClipboardEvent("paste"))}destroy(){this.docView&&(O9(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],kc(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 D9(this,e)}dispatch(e){let t=this._props.dispatchTransaction;t?t.call(this,e):this.updateState(this.state.apply(e))}domSelectionRange(){return wt&&this.root.nodeType===11&&Fv(this.dom.ownerDocument)==this.dom?tE(this):this.domSelection()}domSelection(){return this.root.getSelection()}}function Kp(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"),[Zt.node(0,n.state.doc.content.size,e)]}function Yp(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:Zt.widget(n.state.selection.head,e,{raw:!0,marks:n.markCursor})}}else n.cursorWrapper=null}function Gp(n){return!n.someProp("editable",e=>e(n.state)===!1)}function uE(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 Qp(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 dE(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 Zp(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 ur={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:"'"},Bi={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},fE=typeof navigator<"u"&&/Mac/.test(navigator.platform),hE=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),mt=0;mt<10;mt++)ur[48+mt]=ur[96+mt]=String(mt);for(var mt=1;mt<=24;mt++)ur[mt+111]="F"+mt;for(var mt=65;mt<=90;mt++)ur[mt]=String.fromCharCode(mt+32),Bi[mt]=String.fromCharCode(mt);for(var Ic in ur)Bi.hasOwnProperty(Ic)||(Bi[Ic]=ur[Ic]);function pE(n){var e=fE&&n.metaKey&&n.shiftKey&&!n.ctrlKey&&!n.altKey||hE&&n.shiftKey&&n.key&&n.key.length==1||n.key=="Unidentified",t=!e&&n.key||(n.shiftKey?Bi:ur)[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 mE=typeof navigator<"u"?/Mac|iP(hone|[oa]d)/.test(navigator.platform):!1;function gE(n){let e=n.split(/-(?!$)/),t=e[e.length-1];t=="Space"&&(t=" ");let r,o,s,i;for(let l=0;l<e.length-1;l++){let a=e[l];if(/^(cmd|meta|m)$/i.test(a))i=!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))s=!0;else if(/^mod$/i.test(a))mE?i=!0:o=!0;else throw new Error("Unrecognized modifier name: "+a)}return r&&(t="Alt-"+t),o&&(t="Ctrl-"+t),i&&(t="Meta-"+t),s&&(t="Shift-"+t),t}function yE(n){let e=Object.create(null);for(let t in n)e[gE(t)]=n[t];return e}function xc(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 vE(n){return new Dt({props:{handleKeyDown:EE(n)}})}function EE(n){let e=yE(n);return function(t,r){let o=pE(r),s,i=e[xc(o,r)];if(i&&i(t.state,t.dispatch,t))return!0;if(o.length==1&&o!=" "){if(r.shiftKey){let l=e[xc(o,r,!1)];if(l&&l(t.state,t.dispatch,t))return!0}if((r.shiftKey||r.altKey||r.metaKey||o.charCodeAt(0)>127)&&(s=ur[r.keyCode])&&s!=o){let l=e[xc(s,r)];if(l&&l(t.state,t.dispatch,t))return!0}}return!1}}const CE=(n,e)=>n.selection.empty?!1:(e&&e(n.tr.deleteSelection().scrollIntoView()),!0);function AE(n,e){let{$cursor:t}=n.selection;return!t||(e?!e.endOfTextblock("backward",n):t.parentOffset>0)?null:t}const bE=(n,e,t)=>{let r=AE(n,t);if(!r)return!1;let o=Jp(r);if(!o){let i=r.blockRange(),l=i&&go(i);return l==null?!1:(e&&e(n.tr.lift(i,l).scrollIntoView()),!0)}let s=o.nodeBefore;if(!s.type.spec.isolating&&e1(n,o,e))return!0;if(r.parent.content.size==0&&(ko(s,"end")||Le.isSelectable(s))){let i=ql(n.doc,r.before(),r.after(),we.empty);if(i&&i.slice.size<i.to-i.from){if(e){let l=n.tr.step(i);l.setSelection(ko(s,"end")?Ue.findFrom(l.doc.resolve(l.mapping.map(o.pos,-1)),-1):Le.create(l.doc,o.pos-s.nodeSize)),e(l.scrollIntoView())}return!0}}return s.isAtom&&o.depth==r.depth-1?(e&&e(n.tr.delete(o.pos-s.nodeSize,o.pos).scrollIntoView()),!0):!1};function ko(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 wE=(n,e,t)=>{let{$head:r,empty:o}=n.selection,s=r;if(!o)return!1;if(r.parent.isTextblock){if(t?!t.endOfTextblock("backward",n):r.parentOffset>0)return!1;s=Jp(r)}let i=s&&s.nodeBefore;return!i||!Le.isSelectable(i)?!1:(e&&e(n.tr.setSelection(Le.create(n.doc,s.pos-i.nodeSize)).scrollIntoView()),!0)};function Jp(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 TE(n,e){let{$cursor:t}=n.selection;return!t||(e?!e.endOfTextblock("forward",n):t.parentOffset<t.parent.content.size)?null:t}const SE=(n,e,t)=>{let r=TE(n,t);if(!r)return!1;let o=Xp(r);if(!o)return!1;let s=o.nodeAfter;if(e1(n,o,e))return!0;if(r.parent.content.size==0&&(ko(s,"start")||Le.isSelectable(s))){let i=ql(n.doc,r.before(),r.after(),we.empty);if(i&&i.slice.size<i.to-i.from){if(e){let l=n.tr.step(i);l.setSelection(ko(s,"start")?Ue.findFrom(l.doc.resolve(l.mapping.map(o.pos)),1):Le.create(l.doc,l.mapping.map(o.pos))),e(l.scrollIntoView())}return!0}}return s.isAtom&&o.depth==r.depth-1?(e&&e(n.tr.delete(o.pos,o.pos+s.nodeSize).scrollIntoView()),!0):!1},_E=(n,e,t)=>{let{$head:r,empty:o}=n.selection,s=r;if(!o)return!1;if(r.parent.isTextblock){if(t?!t.endOfTextblock("forward",n):r.parentOffset<r.parent.content.size)return!1;s=Xp(r)}let i=s&&s.nodeAfter;return!i||!Le.isSelectable(i)?!1:(e&&e(n.tr.setSelection(Le.create(n.doc,s.pos)).scrollIntoView()),!0)};function Xp(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 kE=(n,e)=>{let t=n.selection,r=t instanceof Le,o;if(r){if(t.node.isTextblock||!tr(n.doc,t.from))return!1;o=t.from}else if(o=_i(n.doc,t.from,-1),o==null)return!1;if(e){let s=n.tr.join(o);r&&s.setSelection(Le.create(s.doc,o-n.doc.resolve(o).nodeBefore.nodeSize)),e(s.scrollIntoView())}return!0},NE=(n,e)=>{let t=n.selection,r;if(t instanceof Le){if(t.node.isTextblock||!tr(n.doc,t.to))return!1;r=t.to}else if(r=_i(n.doc,t.to,1),r==null)return!1;return e&&e(n.tr.join(r).scrollIntoView()),!0},IE=(n,e)=>{let{$from:t,$to:r}=n.selection,o=t.blockRange(r),s=o&&go(o);return s==null?!1:(e&&e(n.tr.lift(o,s).scrollIntoView()),!0)},xE=(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 qp(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 ME=(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),s=t.indexAfter(-1),i=qp(o.contentMatchAt(s));if(!i||!o.canReplaceWith(s,s,i))return!1;if(e){let l=t.after(),a=n.tr.replaceWith(l,l,i.createAndFill());a.setSelection(Ue.near(a.doc.resolve(l),1)),e(a.scrollIntoView())}return!0},OE=(n,e)=>{let t=n.selection,{$from:r,$to:o}=t;if(t instanceof cn||r.parent.inlineContent||o.parent.inlineContent)return!1;let s=qp(o.parent.contentMatchAt(o.indexAfter()));if(!s||!s.isTextblock)return!1;if(e){let i=(!r.parentOffset&&o.index()<o.parent.childCount?r:o).pos,l=n.tr.insert(i,s.createAndFill());l.setSelection(ze.create(l.doc,i+1)),e(l.scrollIntoView())}return!0},LE=(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 s=t.before();if(yo(n.doc,s))return e&&e(n.tr.split(s).scrollIntoView()),!0}let r=t.blockRange(),o=r&&go(r);return o==null?!1:(e&&e(n.tr.lift(r,o).scrollIntoView()),!0)},DE=(n,e)=>{let{$from:t,to:r}=n.selection,o,s=t.sharedDepth(r);return s==0?!1:(o=t.before(s),e&&e(n.tr.setSelection(Le.create(n.doc,o))),!0)};function RE(n,e,t){let r=e.nodeBefore,o=e.nodeAfter,s=e.index();return!r||!o||!r.type.compatibleContent(o.type)?!1:!r.content.size&&e.parent.canReplace(s-1,s)?(t&&t(n.tr.delete(e.pos-r.nodeSize,e.pos).scrollIntoView()),!0):!e.parent.canReplace(s,s+1)||!(o.isTextblock||tr(n.doc,e.pos))?!1:(t&&t(n.tr.clearIncompatible(e.pos,r.type,r.contentMatchAt(r.childCount)).join(e.pos).scrollIntoView()),!0)}function e1(n,e,t){let r=e.nodeBefore,o=e.nodeAfter,s,i;if(r.type.spec.isolating||o.type.spec.isolating)return!1;if(RE(n,e,t))return!0;let l=e.parent.canReplace(e.index(),e.index()+1);if(l&&(s=(i=r.contentMatchAt(r.childCount)).findWrapping(o.type))&&i.matchType(s[0]||o.type).validEnd){if(t){let f=e.pos+o.nodeSize,h=fe.empty;for(let g=s.length-1;g>=0;g--)h=fe.from(s[g].create(null,h));h=fe.from(r.copy(h));let p=n.tr.step(new lt(e.pos-1,f,e.pos,f,new we(h,1,0),s.length,!0)),m=f+2*s.length;tr(p.doc,m)&&p.join(m),t(p.scrollIntoView())}return!0}let a=Ue.findFrom(e,1),u=a&&a.$from.blockRange(a.$to),d=u&&go(u);if(d!=null&&d>=e.depth)return t&&t(n.tr.lift(u,d).scrollIntoView()),!0;if(l&&ko(o,"start",!0)&&ko(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=fe.empty;for(let C=h.length-1;C>=0;C--)g=fe.from(h[C].copy(g));let y=n.tr.step(new lt(e.pos-h.length,e.pos+o.nodeSize,e.pos+m,e.pos+o.nodeSize-m,new we(g,h.length,0),0,!0));t(y.scrollIntoView())}return!0}}return!1}function t1(n){return function(e,t){let r=e.selection,o=n<0?r.$from:r.$to,s=o.depth;for(;o.node(s).isInline;){if(!s)return!1;s--}return o.node(s).isTextblock?(t&&t(e.tr.setSelection(ze.create(e.doc,n<0?o.start(s):o.end(s)))),!0):!1}}const BE=t1(-1),PE=t1(1);function FE(n,e=null){return function(t,r){let{$from:o,$to:s}=t.selection,i=o.blockRange(s),l=i&&Xl(i,n,e);return l?(r&&r(t.tr.wrap(i,l).scrollIntoView()),!0):!1}}function n1(n,e=null){return function(t,r){let o=!1;for(let s=0;s<t.selection.ranges.length&&!o;s++){let{$from:{pos:i},$to:{pos:l}}=t.selection.ranges[s];t.doc.nodesBetween(i,l,(a,u)=>{if(o)return!1;if(!(!a.isTextblock||a.hasMarkup(n,e)))if(a.type==n)o=!0;else{let d=t.doc.resolve(u),f=d.index();o=d.parent.canReplaceWith(f,f+1,n)}})}if(!o)return!1;if(r){let s=t.tr;for(let i=0;i<t.selection.ranges.length;i++){let{$from:{pos:l},$to:{pos:a}}=t.selection.ranges[i];s.setBlockType(l,a,n,e)}r(s.scrollIntoView())}return!0}}typeof navigator<"u"?/Mac|iP(hone|[oa]d)/.test(navigator.platform):typeof os<"u"&&os.platform&&os.platform()=="darwin";function VE(n,e=null){return function(t,r){let{$from:o,$to:s}=t.selection,i=o.blockRange(s),l=!1,a=i;if(!i)return!1;if(i.depth>=2&&o.node(i.depth-1).type.compatibleContent(n)&&i.startIndex==0){if(o.index(i.depth-1)==0)return!1;let d=t.doc.resolve(i.start-2);a=new Ei(d,d,i.depth),i.endIndex<i.parent.childCount&&(i=new Ei(o,t.doc.resolve(s.end(i.depth)),i.depth)),l=!0}let u=Xl(a,n,e,i);return u?(r&&r($E(t.tr,i,u,l,n).scrollIntoView()),!0):!1}}function $E(n,e,t,r,o){let s=fe.empty;for(let d=t.length-1;d>=0;d--)s=fe.from(t[d].type.create(t[d].attrs,s));n.step(new lt(e.start-(r?2:0),e.end,e.start,e.end,new we(s,0,0),t.length,!0));let i=0;for(let d=0;d<t.length;d++)t[d].type==o&&(i=d+1);let l=t.length-i,a=e.start+t.length-(r?2:0),u=e.parent;for(let d=e.startIndex,f=e.endIndex,h=!0;d<f;d++,h=!1)!h&&yo(n.doc,a,l)&&(n.split(a,l),a+=2*l),a+=u.child(d).nodeSize;return n}function UE(n){return function(e,t){let{$from:r,$to:o}=e.selection,s=r.blockRange(o,i=>i.childCount>0&&i.firstChild.type==n);return s?t?r.node(s.depth-1).type==n?zE(e,t,n,s):HE(e,t,s):!0:!1}}function zE(n,e,t,r){let o=n.tr,s=r.end,i=r.$to.end(r.depth);s<i&&(o.step(new lt(s-1,i,s,i,new we(fe.from(t.create(null,r.parent.copy())),1,0),1,!0)),r=new Ei(o.doc.resolve(r.$from.pos),o.doc.resolve(i),r.depth));const l=go(r);if(l==null)return!1;o.lift(r,l);let a=o.mapping.map(s,-1)-1;return tr(o.doc,a)&&o.join(a),e(o.scrollIntoView()),!0}function HE(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 s=r.doc.resolve(t.start),i=s.nodeAfter;if(r.mapping.map(t.end)!=t.start+s.nodeAfter.nodeSize)return!1;let l=t.startIndex==0,a=t.endIndex==o.childCount,u=s.node(-1),d=s.index(-1);if(!u.canReplace(d+(l?0:1),d+1,i.content.append(a?fe.empty:fe.from(o))))return!1;let f=s.pos,h=f+i.nodeSize;return r.step(new lt(f-(l?1:0),h+(a?1:0),f+1,h-1,new we((l?fe.empty:fe.from(o.copy(fe.empty))).append(a?fe.empty:fe.from(o.copy(fe.empty))),l?0:1,a?0:1),l?0:1)),e(r.scrollIntoView()),!0}function jE(n){return function(e,t){let{$from:r,$to:o}=e.selection,s=r.blockRange(o,u=>u.childCount>0&&u.firstChild.type==n);if(!s)return!1;let i=s.startIndex;if(i==0)return!1;let l=s.parent,a=l.child(i-1);if(a.type!=n)return!1;if(t){let u=a.lastChild&&a.lastChild.type==l.type,d=fe.from(u?n.create():null),f=new we(fe.from(n.create(null,fe.from(l.type.create(null,d)))),u?3:1,0),h=s.start,p=s.end;t(e.tr.step(new lt(h-(u?3:1),p,h,p,f,1,!0)).scrollIntoView())}return!0}}function Pi(n){const{state:e,transaction:t}=n;let{selection:r}=t,{doc:o}=t,{storedMarks:s}=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 s},get selection(){return r},get doc(){return o},get tr(){return r=t.selection,o=t.doc,s=t.storedMarks,t}}}class Fi{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:s}=r,i=this.buildProps(s);return Object.fromEntries(Object.entries(e).map(([l,a])=>[l,(...d)=>{const f=a(...d)(i);return!s.getMeta("preventDispatch")&&!this.hasCustomState&&o.dispatch(s),f}]))}get chain(){return()=>this.createChain()}get can(){return()=>this.createCan()}createChain(e,t=!0){const{rawCommands:r,editor:o,state:s}=this,{view:i}=o,l=[],a=!!e,u=e||s.tr,d=()=>(!a&&t&&!u.getMeta("preventDispatch")&&!this.hasCustomState&&i.dispatch(u),l.every(h=>h===!0)),f={...Object.fromEntries(Object.entries(r).map(([h,p])=>[h,(...g)=>{const y=this.buildProps(u,t),C=p(...g)(y);return l.push(C),f}])),run:d};return f}createCan(e){const{rawCommands:t,state:r}=this,o=!1,s=e||r.tr,i=this.buildProps(s,o);return{...Object.fromEntries(Object.entries(t).map(([a,u])=>[a,(...d)=>u(...d)({...i,dispatch:void 0})])),chain:()=>this.createChain(s,o)}}buildProps(e,t=!0){const{rawCommands:r,editor:o,state:s}=this,{view:i}=o,l={tr:e,editor:o,view:i,state:Pi({state:s,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,u])=>[a,(...d)=>u(...d)(l)]))}};return l}}class WE{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 Ne(n,e,t){return n.config[e]===void 0&&n.parent?Ne(n.parent,e,t):typeof n.config[e]=="function"?n.config[e].bind({...t,parent:n.parent?Ne(n.parent,e,t):null}):n.config[e]}function Vi(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 r1(n){const e=[],{nodeExtensions:t,markExtensions:r}=Vi(n),o=[...t,...r],s={default:null,rendered:!0,renderHTML:null,parseHTML:null,keepOnSplit:!0,isRequired:!1};return n.forEach(i=>{const l={name:i.name,options:i.options,storage:i.storage},a=Ne(i,"addGlobalAttributes",l);if(!a)return;a().forEach(d=>{d.types.forEach(f=>{Object.entries(d.attributes).forEach(([h,p])=>{e.push({type:f,name:h,attribute:{...s,...p}})})})})}),o.forEach(i=>{const l={name:i.name,options:i.options,storage:i.storage},a=Ne(i,"addAttributes",l);if(!a)return;const u=a();Object.entries(u).forEach(([d,f])=>{const h={...s,...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:i.name,name:d,attribute:h})})}),e}function ct(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 _t(...n){return n.filter(e=>!!e).reduce((e,t)=>{const r={...e};return Object.entries(t).forEach(([o,s])=>{if(!r[o]){r[o]=s;return}if(o==="class"){const l=s?s.split(" "):[],a=r[o]?r[o].split(" "):[],u=l.filter(d=>!a.includes(d));r[o]=[...a,...u].join(" ")}else o==="style"?r[o]=[r[o],s].join("; "):r[o]=s}),r},{})}function Mc(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)=>_t(t,r),{})}function o1(n){return typeof n=="function"}function $e(n,e=void 0,...t){return o1(n)?e?n.bind(e)(...t):n(...t):n}function KE(n={}){return Object.keys(n).length===0&&n.constructor===Object}function YE(n){return typeof n!="string"?n:n.match(/^[+-]?(?:\d*\.)?\d+$/)?Number(n):n==="true"?!0:n==="false"?!1:n}function s1(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((s,i)=>{const l=i.attribute.parseHTML?i.attribute.parseHTML(t):YE(t.getAttribute(i.name));return l==null?s:{...s,[i.name]:l}},{});return{...r,...o}}}}function i1(n){return Object.fromEntries(Object.entries(n).filter(([e,t])=>e==="attrs"&&KE(t)?!1:t!=null))}function GE(n,e){var t;const r=r1(n),{nodeExtensions:o,markExtensions:s}=Vi(n),i=(t=o.find(u=>Ne(u,"topNode")))===null||t===void 0?void 0:t.name,l=Object.fromEntries(o.map(u=>{const d=r.filter(C=>C.type===u.name),f={name:u.name,options:u.options,storage:u.storage,editor:e},h=n.reduce((C,w)=>{const E=Ne(w,"extendNodeSchema",f);return{...C,...E?E(u):{}}},{}),p=i1({...h,content:$e(Ne(u,"content",f)),marks:$e(Ne(u,"marks",f)),group:$e(Ne(u,"group",f)),inline:$e(Ne(u,"inline",f)),atom:$e(Ne(u,"atom",f)),selectable:$e(Ne(u,"selectable",f)),draggable:$e(Ne(u,"draggable",f)),code:$e(Ne(u,"code",f)),defining:$e(Ne(u,"defining",f)),isolating:$e(Ne(u,"isolating",f)),attrs:Object.fromEntries(d.map(C=>{var w;return[C.name,{default:(w=C==null?void 0:C.attribute)===null||w===void 0?void 0:w.default}]}))}),m=$e(Ne(u,"parseHTML",f));m&&(p.parseDOM=m.map(C=>s1(C,d)));const g=Ne(u,"renderHTML",f);g&&(p.toDOM=C=>g({node:C,HTMLAttributes:Mc(C,d)}));const y=Ne(u,"renderText",f);return y&&(p.toText=y),[u.name,p]})),a=Object.fromEntries(s.map(u=>{const d=r.filter(y=>y.type===u.name),f={name:u.name,options:u.options,storage:u.storage,editor:e},h=n.reduce((y,C)=>{const w=Ne(C,"extendMarkSchema",f);return{...y,...w?w(u):{}}},{}),p=i1({...h,inclusive:$e(Ne(u,"inclusive",f)),excludes:$e(Ne(u,"excludes",f)),group:$e(Ne(u,"group",f)),spanning:$e(Ne(u,"spanning",f)),code:$e(Ne(u,"code",f)),attrs:Object.fromEntries(d.map(y=>{var C;return[y.name,{default:(C=y==null?void 0:y.attribute)===null||C===void 0?void 0:C.default}]}))}),m=$e(Ne(u,"parseHTML",f));m&&(p.parseDOM=m.map(y=>s1(y,d)));const g=Ne(u,"renderHTML",f);return g&&(p.toDOM=y=>g({mark:y,HTMLAttributes:Mc(y,d)})),[u.name,p]}));return new nv({topNode:i,nodes:l,marks:a})}function Oc(n,e){return e.nodes[n]||e.marks[n]||null}function a1(n,e){return Array.isArray(e)?e.some(t=>(typeof t=="string"?t:t.name)===n.name):e}const QE=(n,e=500)=>{let t="";const r=n.parentOffset;return n.parent.nodesBetween(Math.max(0,r-e),r,(o,s,i,l)=>{var a,u;const d=((u=(a=o.type.spec).toText)===null||u===void 0?void 0:u.call(a,{node:o,pos:s,parent:i,index:l}))||o.textContent||"%leaf%";t+=d.slice(0,Math.max(0,r-s))}),t};function Lc(n){return Object.prototype.toString.call(n)==="[object RegExp]"}class l1{constructor(e){this.find=e.find,this.handler=e.handler}}const ZE=(n,e)=>{if(Lc(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 Dc(n){var e;const{editor:t,from:r,to:o,text:s,rules:i,plugin:l}=n,{view:a}=t;if(a.composing)return!1;const u=a.state.doc.resolve(r);if(u.parent.type.spec.code||!((e=u.nodeBefore||u.nodeAfter)===null||e===void 0)&&e.marks.find(h=>h.type.spec.code))return!1;let d=!1;const f=QE(u)+s;return i.forEach(h=>{if(d)return;const p=ZE(f,h.find);if(!p)return;const m=a.state.tr,g=Pi({state:a.state,transaction:m}),y={from:r-(p[0].length-s.length),to:o},{commands:C,chain:w,can:E}=new Fi({editor:t,state:g});h.handler({state:g,range:y,match:p,commands:C,chain:w,can:E})===null||!m.steps.length||(m.setMeta(l,{transform:m,from:r,to:o,text:s}),a.dispatch(m),d=!0)}),d}function JE(n){const{editor:e,rules:t}=n,r=new Dt({state:{init(){return null},apply(o,s){const i=o.getMeta(r);return i||(o.selectionSet||o.docChanged?null:s)}},props:{handleTextInput(o,s,i,l){return Dc({editor:e,from:s,to:i,text:l,rules:t,plugin:r})},handleDOMEvents:{compositionend:o=>(setTimeout(()=>{const{$cursor:s}=o.state.selection;s&&Dc({editor:e,from:s.pos,to:s.pos,text:"",rules:t,plugin:r})}),!1)},handleKeyDown(o,s){if(s.key!=="Enter")return!1;const{$cursor:i}=o.state.selection;return i?Dc({editor:e,from:i.pos,to:i.pos,text:`
|
|
71
|
-
`,rules:t,plugin:r}):!1}},isInputRules:!0});return r}function
|
|
69
|
+
`))),0,0):we.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=En.fromSchema(p);i=document.createElement("div"),e.split(/(?:\r\n?|\n)+/).forEach(g=>{let y=i.appendChild(document.createElement("p"));g&&y.appendChild(m.serializeNode(p.text(g,h)))})}}else n.someProp("transformPastedHTML",f=>{t=f(t,n)}),i=k9(t),As&&N9(i);let u=i&&i.querySelector("[data-pm-slice]"),d=u&&/^(\d+) (\d+)(?: -(\d+))? (.*)/.exec(u.getAttribute("data-pm-slice")||"");if(d&&d[3])for(let f=+d[3];f>0;f--){let h=i.firstChild;for(;h&&h.nodeType!=1;)h=h.nextSibling;if(!h)break;i=h}if(l||(l=(n.someProp("clipboardParser")||n.someProp("domParser")||po.fromSchema(n.state.schema)).parseSlice(i,{preserveWhitespace:!!(a||d),context:o,ruleFromNode(h){return h.nodeName=="BR"&&!h.nextSibling&&h.parentNode&&!S9.test(h.parentNode.nodeName)?{ignore:!0}:null}})),d)l=I9(kp(l,+d[1],+d[2]),d[4]);else if(l=we.maxOpen(_9(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=kp(l,f,h)}return n.someProp("transformPasted",f=>{l=f(l,n)}),l}const S9=/^(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 _9(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)),s,i=[];if(n.forEach(l=>{if(!i)return;let a=o.findWrapping(l.type),u;if(!a)return i=null;if(u=i.length&&s.length&&Sp(a,s,l,i[i.length-1],0))i[i.length-1]=u;else{i.length&&(i[i.length-1]=_p(i[i.length-1],s.length));let d=Tp(l,a);i.push(d),o=o.matchType(d.type),s=a}}),i)return fe.from(i)}return n}function Tp(n,e,t=0){for(let r=e.length-1;r>=t;r--)n=e[r].create(null,fe.from(n));return n}function Sp(n,e,t,r,o){if(o<n.length&&o<e.length&&n[o]==e[o]){let s=Sp(n,e,t,r.lastChild,o+1);if(s)return r.copy(r.content.replaceChild(r.childCount-1,s));if(r.contentMatchAt(r.childCount).matchType(o==n.length-1?t.type:n[o+1]))return r.copy(r.content.append(fe.from(Tp(t,n,o+1))))}}function _p(n,e){if(e==0)return n;let t=n.content.replaceChild(n.childCount-1,_p(n.lastChild,e-1)),r=n.contentMatchAt(n.childCount).fillBefore(fe.empty,!0);return n.copy(t.append(r))}function Ac(n,e,t,r,o,s){let i=e<0?n.firstChild:n.lastChild,l=i.content;return n.childCount>1&&(s=0),o<r-1&&(l=Ac(l,e,t,r,o+1,s)),o>=t&&(l=e<0?i.contentMatchAt(0).fillBefore(l,s<=o).append(l):l.append(i.contentMatchAt(i.childCount).fillBefore(fe.empty,!0))),n.replaceChild(e<0?0:n.childCount-1,i.copy(l))}function kp(n,e,t){return e<n.openStart&&(n=new we(Ac(n.content,-1,e,n.openStart,0,n.openEnd),e,n.openEnd)),t<n.openEnd&&(n=new we(Ac(n.content,1,t,n.openEnd,0,0),n.openStart,t)),n}const Np={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 Ip=null;function xp(){return Ip||(Ip=document.implementation.createHTMLDocument("title"))}function k9(n){let e=/^(\s*<meta [^>]*>)*/.exec(n);e&&(n=n.slice(e[0].length));let t=xp().createElement("div"),r=/<([a-z][^>\s]+)/i.exec(n),o;if((o=r&&Np[r[1].toLowerCase()])&&(n=o.map(s=>"<"+s+">").join("")+n+o.map(s=>"</"+s+">").reverse().join("")),t.innerHTML=n,o)for(let s=0;s<o.length;s++)t=t.querySelector(o[s])||t;return t}function N9(n){let e=n.querySelectorAll(vt?"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 I9(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:s,openEnd:i}=n;for(let l=r.length-2;l>=0;l-=2){let a=t.nodes[r[l]];if(!a||a.hasRequiredAttrs())break;o=fe.from(a.create(r[l+1],o)),s++,i++}return new we(o,s,i)}const Tt={},St={},x9={touchstart:!0,touchmove:!0};class M9{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 O9(n){for(let e in Tt){let t=Tt[e];n.dom.addEventListener(e,n.input.eventHandlers[e]=r=>{D9(n,r)&&!wc(n,r)&&(n.editable||!(r.type in St))&&t(n,r)},x9[e]?{passive:!0}:void 0)}wt&&n.dom.addEventListener("input",()=>null),bc(n)}function ar(n,e){n.input.lastSelectionOrigin=e,n.input.lastSelectionTime=Date.now()}function L9(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 bc(n){n.someProp("handleDOMEvents",e=>{for(let t in e)n.input.eventHandlers[t]||n.dom.addEventListener(t,n.input.eventHandlers[t]=r=>wc(n,r))})}function wc(n,e){return n.someProp("handleDOMEvents",t=>{let r=t[e.type];return r?r(n,e)||e.defaultPrevented:!1})}function D9(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 R9(n,e){!wc(n,e)&&Tt[e.type]&&(n.editable||!(e.type in St))&&Tt[e.type](n,e)}St.keydown=(n,e)=>{let t=e;if(n.input.shiftKey=t.keyCode==16||t.shiftKey,!Op(n,t)&&(n.input.lastKeyCode=t.keyCode,n.input.lastKeyCodeTime=Date.now(),!(fn&&vt&&t.keyCode==13)))if(t.keyCode!=229&&n.domObserver.forceFlush(),bo&&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,zr(13,"Enter"))),n.input.lastIOSEnter=0)},200)}else n.someProp("handleKeyDown",r=>r(n,t))||T9(n,t)?t.preventDefault():ar(n,"key")},St.keyup=(n,e)=>{e.keyCode==16&&(n.input.shiftKey=!1)},St.keypress=(n,e)=>{let t=e;if(Op(n,t)||!t.charCode||t.ctrlKey&&!t.altKey||Gt&&t.metaKey)return;if(n.someProp("handleKeyPress",o=>o(n,t))){t.preventDefault();return}let r=n.state.selection;if(!(r instanceof ze)||!r.$from.sameParent(r.$to)){let o=String.fromCharCode(t.charCode);!/[\r\n]/.test(o)&&!n.someProp("handleTextInput",s=>s(n,r.$from.pos,r.$to.pos,o))&&n.dispatch(n.state.tr.insertText(o).scrollIntoView()),t.preventDefault()}};function Li(n){return{left:n.clientX,top:n.clientY}}function B9(n,e){let t=e.x-n.clientX,r=e.y-n.clientY;return t*t+r*r<100}function Tc(n,e,t,r,o){if(r==-1)return!1;let s=n.state.doc.resolve(r);for(let i=s.depth+1;i>0;i--)if(n.someProp(e,l=>i>s.depth?l(n,t,s.nodeAfter,s.before(i),o,!0):l(n,t,s.node(i),s.before(i),o,!1)))return!0;return!1}function So(n,e,t){n.focused||n.focus();let r=n.state.tr.setSelection(e);t=="pointer"&&r.setMeta("pointer",!0),n.dispatch(r)}function P9(n,e){if(e==-1)return!1;let t=n.state.doc.resolve(e),r=t.nodeAfter;return r&&r.isAtom&&Le.isSelectable(r)?(So(n,new Le(t),"pointer"),!0):!1}function F9(n,e){if(e==-1)return!1;let t=n.state.selection,r,o;t instanceof Le&&(r=t.node);let s=n.state.doc.resolve(e);for(let i=s.depth+1;i>0;i--){let l=i>s.depth?s.nodeAfter:s.node(i);if(Le.isSelectable(l)){r&&t.$from.depth>0&&i>=t.$from.depth&&s.before(t.$from.depth+1)==t.$from.pos?o=s.before(t.$from.depth):o=s.before(i);break}}return o!=null?(So(n,Le.create(n.state.doc,o),"pointer"),!0):!1}function V9(n,e,t,r,o){return Tc(n,"handleClickOn",e,t,r)||n.someProp("handleClick",s=>s(n,e,r))||(o?F9(n,t):P9(n,t))}function $9(n,e,t,r){return Tc(n,"handleDoubleClickOn",e,t,r)||n.someProp("handleDoubleClick",o=>o(n,e,r))}function U9(n,e,t,r){return Tc(n,"handleTripleClickOn",e,t,r)||n.someProp("handleTripleClick",o=>o(n,e,r))||z9(n,t,r)}function z9(n,e,t){if(t.button!=0)return!1;let r=n.state.doc;if(e==-1)return r.inlineContent?(So(n,ze.create(r,0,r.content.size),"pointer"),!0):!1;let o=r.resolve(e);for(let s=o.depth+1;s>0;s--){let i=s>o.depth?o.nodeAfter:o.node(s),l=o.before(s);if(i.inlineContent)So(n,ze.create(r,l+1,l+1+i.content.size),"pointer");else if(Le.isSelectable(i))So(n,Le.create(r,l),"pointer");else continue;return!0}}function Sc(n){return Di(n)}const Mp=Gt?"metaKey":"ctrlKey";Tt.mousedown=(n,e)=>{let t=e;n.input.shiftKey=t.shiftKey;let r=Sc(n),o=Date.now(),s="singleClick";o-n.input.lastClick.time<500&&B9(t,n.input.lastClick)&&!t[Mp]&&(n.input.lastClick.type=="singleClick"?s="doubleClick":n.input.lastClick.type=="doubleClick"&&(s="tripleClick")),n.input.lastClick={time:o,x:t.clientX,y:t.clientY,type:s};let i=n.posAtCoords(Li(t));i&&(s=="singleClick"?(n.input.mouseDown&&n.input.mouseDown.done(),n.input.mouseDown=new H9(n,i,t,!!r)):(s=="doubleClick"?$9:U9)(n,i.pos,i.inside,t)?t.preventDefault():ar(n,"pointer"))};class H9{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[Mp],this.allowDefault=r.shiftKey;let s,i;if(t.inside>-1)s=e.state.doc.nodeAt(t.inside),i=t.inside;else{let d=e.state.doc.resolve(t.pos);s=d.parent,i=d.depth?d.before():0}const l=o?null:r.target,a=l?e.docView.nearestDesc(l,!0):null;this.target=a?a.dom:null;let{selection:u}=e.state;(r.button==0&&s.type.spec.draggable&&s.type.spec.selectable!==!1||u instanceof Le&&u.from<=i&&u.to>i)&&(this.mightDrag={node:s,pos:i,addAttr:!!(this.target&&!this.target.draggable),setUneditable:!!(this.target&&dn&&!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)),ar(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(()=>Pn(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(Li(e))),this.updateAllowDefault(e),this.allowDefault||!t?ar(this.view,"pointer"):V9(this.view,t.pos,t.inside,e,this.selectNode)?e.preventDefault():e.button==0&&(this.flushed||wt&&this.mightDrag&&!this.mightDrag.node.isAtom||vt&&!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)?(So(this.view,Ue.near(this.view.state.doc.resolve(t.pos)),"pointer"),e.preventDefault()):ar(this.view,"pointer")}move(e){this.updateAllowDefault(e),ar(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)}}Tt.touchstart=n=>{n.input.lastTouch=Date.now(),Sc(n),ar(n,"pointer")},Tt.touchmove=n=>{n.input.lastTouch=Date.now(),ar(n,"pointer")},Tt.contextmenu=n=>Sc(n);function Op(n,e){return n.composing?!0:wt&&Math.abs(e.timeStamp-n.input.compositionEndedAt)<500?(n.input.compositionEndedAt=-2e8,!0):!1}const j9=fn?5e3:-1;St.compositionstart=St.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(),Di(n,!0),n.markCursor=null;else if(Di(n),dn&&e.selection.empty&&t.parentOffset&&!t.textOffset&&t.nodeBefore.marks.length){let r=n.domSelectionRange();for(let o=r.focusNode,s=r.focusOffset;o&&o.nodeType==1&&s!=0;){let i=s<0?o.lastChild:o.childNodes[s-1];if(!i)break;if(i.nodeType==3){n.domSelection().collapse(i,i.nodeValue.length);break}else o=i,s=-1}}n.input.composing=!0}Lp(n,j9)},St.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++,Lp(n,20))};function Lp(n,e){clearTimeout(n.input.composingTimeout),e>-1&&(n.input.composingTimeout=setTimeout(()=>Di(n),e))}function Dp(n){for(n.composing&&(n.input.composing=!1,n.input.compositionEndedAt=W9());n.input.compositionNodes.length>0;)n.input.compositionNodes.pop().markParentsDirty()}function W9(){let n=document.createEvent("Event");return n.initEvent("event",!0,!0),n.timeStamp}function Di(n,e=!1){if(!(fn&&n.domObserver.flushingSoon>=0)){if(n.domObserver.forceFlush(),Dp(n),e||n.docView&&n.docView.dirty){let t=gc(n);return t&&!t.eq(n.state.selection)?n.dispatch(n.state.tr.setSelection(t)):n.updateState(n.state),!0}return!1}}function K9(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 _s=Rt&&rr<15||bo&&Hv<604;Tt.copy=St.cut=(n,e)=>{let t=e,r=n.state.selection,o=t.type=="cut";if(r.empty)return;let s=_s?null:t.clipboardData,i=r.content(),{dom:l,text:a}=bp(n,i);s?(t.preventDefault(),s.clearData(),s.setData("text/html",l.innerHTML),s.setData("text/plain",a)):K9(n,l),o&&n.dispatch(n.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent","cut"))};function Y9(n){return n.openStart==0&&n.openEnd==0&&n.content.childCount==1?n.content.firstChild:null}function G9(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?ks(n,r.value,null,o,e):ks(n,r.textContent,r.innerHTML,o,e)},50)}function ks(n,e,t,r,o){let s=wp(n,e,t,r,n.state.selection.$from);if(n.someProp("handlePaste",a=>a(n,o,s||we.empty)))return!0;if(!s)return!1;let i=Y9(s),l=i?n.state.tr.replaceSelectionWith(i,r):n.state.tr.replaceSelection(s);return n.dispatch(l.scrollIntoView().setMeta("paste",!0).setMeta("uiEvent","paste")),!0}function Rp(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," "):""}St.paste=(n,e)=>{let t=e;if(n.composing&&!fn)return;let r=_s?null:t.clipboardData,o=n.input.shiftKey&&n.input.lastKeyCode!=45;r&&ks(n,Rp(r),r.getData("text/html"),o,t)?t.preventDefault():G9(n,t)};class Bp{constructor(e,t,r){this.slice=e,this.move=t,this.node=r}}const Pp=Gt?"altKey":"ctrlKey";Tt.dragstart=(n,e)=>{let t=e,r=n.input.mouseDown;if(r&&r.done(),!t.dataTransfer)return;let o=n.state.selection,s=o.empty?null:n.posAtCoords(Li(t)),i;if(!(s&&s.pos>=o.from&&s.pos<=(o instanceof Le?o.to-1:o.to))){if(r&&r.mightDrag)i=Le.create(n.state.doc,r.mightDrag.pos);else if(t.target&&t.target.nodeType==1){let d=n.docView.nearestDesc(t.target,!0);d&&d.node.type.spec.draggable&&d!=n.docView&&(i=Le.create(n.state.doc,d.posBefore))}}let l=(i||n.state.selection).content(),{dom:a,text:u}=bp(n,l);t.dataTransfer.clearData(),t.dataTransfer.setData(_s?"Text":"text/html",a.innerHTML),t.dataTransfer.effectAllowed="copyMove",_s||t.dataTransfer.setData("text/plain",u),n.dragging=new Bp(l,!t[Pp],i)},Tt.dragend=n=>{let e=n.dragging;window.setTimeout(()=>{n.dragging==e&&(n.dragging=null)},50)},St.dragover=St.dragenter=(n,e)=>e.preventDefault(),St.drop=(n,e)=>{let t=e,r=n.dragging;if(n.dragging=null,!t.dataTransfer)return;let o=n.posAtCoords(Li(t));if(!o)return;let s=n.state.doc.resolve(o.pos),i=r&&r.slice;i?n.someProp("transformPasted",m=>{i=m(i,n)}):i=wp(n,Rp(t.dataTransfer),_s?null:t.dataTransfer.getData("text/html"),!1,s);let l=!!(r&&!t[Pp]);if(n.someProp("handleDrop",m=>m(n,t,i||we.empty,l))){t.preventDefault();return}if(!i)return;t.preventDefault();let a=i?_v(n.state.doc,s.pos,i):s.pos;a==null&&(a=s.pos);let u=n.state.tr;if(l){let{node:m}=r;m?m.replace(u):u.deleteSelection()}let d=u.mapping.map(a),f=i.openStart==0&&i.openEnd==0&&i.content.childCount==1,h=u.doc;if(f?u.replaceRangeWith(d,d,i.content.firstChild):u.replaceRange(d,d,i),u.doc.eq(h))return;let p=u.doc.resolve(d);if(f&&Le.isSelectable(i.content.firstChild)&&p.nodeAfter&&p.nodeAfter.sameMarkup(i.content.firstChild))u.setSelection(new Le(p));else{let m=u.mapping.map(a);u.mapping.maps[u.mapping.maps.length-1].forEach((g,y,C,b)=>m=b),u.setSelection(vc(n,p,u.doc.resolve(m)))}n.focus(),n.dispatch(u.setMeta("uiEvent","drop"))},Tt.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())&&Pn(n)},20))},Tt.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)},Tt.beforeinput=(n,e)=>{if(vt&&fn&&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",s=>s(n,zr(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 St)Tt[n]=St[n];function Ns(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 Ri{constructor(e,t){this.toDOM=e,this.spec=t||Kr,this.side=this.spec.side||0}map(e,t,r,o){let{pos:s,deleted:i}=e.mapResult(t.from+o,this.side<0?-1:1);return i?null:new Zt(s-r,s-r,this)}valid(){return!0}eq(e){return this==e||e instanceof Ri&&(this.spec.key&&this.spec.key==e.spec.key||this.toDOM==e.toDOM&&Ns(this.spec,e.spec))}destroy(e){this.spec.destroy&&this.spec.destroy(e)}}class lr{constructor(e,t){this.attrs=e,this.spec=t||Kr}map(e,t,r,o){let s=e.map(t.from+o,this.spec.inclusiveStart?-1:1)-r,i=e.map(t.to+o,this.spec.inclusiveEnd?1:-1)-r;return s>=i?null:new Zt(s,i,this)}valid(e,t){return t.from<t.to}eq(e){return this==e||e instanceof lr&&Ns(this.attrs,e.attrs)&&Ns(this.spec,e.spec)}static is(e){return e.type instanceof lr}destroy(){}}class _c{constructor(e,t){this.attrs=e,this.spec=t||Kr}map(e,t,r,o){let s=e.mapResult(t.from+o,1);if(s.deleted)return null;let i=e.mapResult(t.to+o,-1);return i.deleted||i.pos<=s.pos?null:new Zt(s.pos-r,i.pos-r,this)}valid(e,t){let{index:r,offset:o}=e.content.findIndex(t.from),s;return o==t.from&&!(s=e.child(r)).isText&&o+s.nodeSize==t.to}eq(e){return this==e||e instanceof _c&&Ns(this.attrs,e.attrs)&&Ns(this.spec,e.spec)}destroy(){}}class Zt{constructor(e,t,r){this.from=e,this.to=t,this.type=r}copy(e,t){return new Zt(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 Zt(e,e,new Ri(t,r))}static inline(e,t,r,o){return new Zt(e,t,new lr(r,o))}static node(e,t,r,o){return new Zt(e,t,new _c(r,o))}get spec(){return this.type.spec}get inline(){return this.type instanceof lr}get widget(){return this.type instanceof Ri}}const _o=[],Kr={};class at{constructor(e,t){this.local=e.length?e:_o,this.children=t.length?t:_o}static create(e,t){return t.length?Bi(t,e,0,Kr):Et}find(e,t,r){let o=[];return this.findInner(e??0,t??1e9,o,0,r),o}findInner(e,t,r,o,s){for(let i=0;i<this.local.length;i++){let l=this.local[i];l.from<=t&&l.to>=e&&(!s||s(l.spec))&&r.push(l.copy(l.from+o,l.to+o))}for(let i=0;i<this.children.length;i+=3)if(this.children[i]<t&&this.children[i+1]>e){let l=this.children[i]+1;this.children[i+2].findInner(e-l,t-l,r,o+l,s)}}map(e,t,r){return this==Et||e.maps.length==0?this:this.mapInner(e,t,0,0,r||Kr)}mapInner(e,t,r,o,s){let i;for(let l=0;l<this.local.length;l++){let a=this.local[l].map(e,r,o);a&&a.type.valid(t,a)?(i||(i=[])).push(a):s.onRemove&&s.onRemove(this.local[l].spec)}return this.children.length?Q9(this.children,i||[],e,t,r,o,s):i?new at(i.sort(Yr),_o):Et}add(e,t){return t.length?this==Et?at.create(e,t):this.addInner(e,t,0):this}addInner(e,t,r){let o,s=0;e.forEach((l,a)=>{let u=a+r,d;if(d=Vp(t,l,u)){for(o||(o=this.children.slice());s<o.length&&o[s]<a;)s+=3;o[s]==a?o[s+2]=o[s+2].addInner(l,d,u+1):o.splice(s,0,a,a+l.nodeSize,Bi(d,l,u+1,Kr)),s+=3}});let i=Fp(s?$p(t):t,-r);for(let l=0;l<i.length;l++)i[l].type.valid(e,i[l])||i.splice(l--,1);return new at(i.length?this.local.concat(i).sort(Yr):this.local,o||this.children)}remove(e){return e.length==0||this==Et?this:this.removeInner(e,0)}removeInner(e,t){let r=this.children,o=this.local;for(let s=0;s<r.length;s+=3){let i,l=r[s]+t,a=r[s+1]+t;for(let d=0,f;d<e.length;d++)(f=e[d])&&f.from>l&&f.to<a&&(e[d]=null,(i||(i=[])).push(f));if(!i)continue;r==this.children&&(r=this.children.slice());let u=r[s+2].removeInner(i,l+1);u!=Et?r[s+2]=u:(r.splice(s,3),s-=3)}if(o.length){for(let s=0,i;s<e.length;s++)if(i=e[s])for(let l=0;l<o.length;l++)o[l].eq(i,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 at(o,r):Et}forChild(e,t){if(this==Et)return this;if(t.isLeaf)return at.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 s=e+1,i=s+t.content.size;for(let l=0;l<this.local.length;l++){let a=this.local[l];if(a.from<i&&a.to>s&&a.type instanceof lr){let u=Math.max(s,a.from)-s,d=Math.min(i,a.to)-s;u<d&&(o||(o=[])).push(a.copy(u,d))}}if(o){let l=new at(o.sort(Yr),_o);return r?new cr([l,r]):l}return r||Et}eq(e){if(this==e)return!0;if(!(e instanceof at)||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 kc(this.localsInner(e))}localsInner(e){if(this==Et)return _o;if(e.inlineContent||!this.local.some(lr.is))return this.local;let t=[];for(let r=0;r<this.local.length;r++)this.local[r].type instanceof lr||t.push(this.local[r]);return t}}at.empty=new at([],[]),at.removeOverlap=kc;const Et=at.empty;class cr{constructor(e){this.members=e}map(e,t){const r=this.members.map(o=>o.map(e,t,Kr));return cr.from(r)}forChild(e,t){if(t.isLeaf)return at.empty;let r=[];for(let o=0;o<this.members.length;o++){let s=this.members[o].forChild(e,t);s!=Et&&(s instanceof cr?r=r.concat(s.members):r.push(s))}return cr.from(r)}eq(e){if(!(e instanceof cr)||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 s=this.members[o].localsInner(e);if(s.length)if(!t)t=s;else{r&&(t=t.slice(),r=!1);for(let i=0;i<s.length;i++)t.push(s[i])}}return t?kc(r?t:t.sort(Yr)):_o}static from(e){switch(e.length){case 0:return Et;case 1:return e[0];default:return new cr(e.every(t=>t instanceof at)?e:e.reduce((t,r)=>t.concat(r instanceof at?r:r.members),[]))}}}function Q9(n,e,t,r,o,s,i){let l=n.slice();for(let u=0,d=s;u<t.maps.length;u++){let f=0;t.maps[u].forEach((h,p,m,g)=>{let y=g-m-(p-h);for(let C=0;C<l.length;C+=3){let b=l[C+1];if(b<0||h>b+d-f)continue;let E=l[C]+d-f;p>=E?l[C+1]=h<=E?-2:-1:m>=o&&y&&(l[C]+=y,l[C+1]+=y)}f+=y}),d=t.maps[u].map(d,-1)}let a=!1;for(let u=0;u<l.length;u+=3)if(l[u+1]<0){if(l[u+1]==-2){a=!0,l[u+1]=-1;continue}let d=t.map(n[u]+s),f=d-o;if(f<0||f>=r.content.size){a=!0;continue}let h=t.map(n[u+1]+s,-1),p=h-o,{index:m,offset:g}=r.content.findIndex(f),y=r.maybeChild(m);if(y&&g==f&&g+y.nodeSize==p){let C=l[u+2].mapInner(t,y,d+1,n[u]+s+1,i);C!=Et?(l[u]=f,l[u+1]=p,l[u+2]=C):(l[u+1]=-2,a=!0)}else a=!0}if(a){let u=Z9(l,n,e,t,o,s,i),d=Bi(u,r,0,i);e=d.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<d.children.length;f+=3){let p=d.children[f];for(;h<l.length&&l[h]<p;)h+=3;l.splice(h,0,d.children[f],d.children[f+1],d.children[f+2])}}return new at(e.sort(Yr),l)}function Fp(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 Zt(o.from+e,o.to+e,o.type))}return t}function Z9(n,e,t,r,o,s,i){function l(a,u){for(let d=0;d<a.local.length;d++){let f=a.local[d].map(r,o,u);f?t.push(f):i.onRemove&&i.onRemove(a.local[d].spec)}for(let d=0;d<a.children.length;d+=3)l(a.children[d+2],a.children[d]+u+1)}for(let a=0;a<n.length;a+=3)n[a+1]==-1&&l(n[a+2],e[a]+s+1);return t}function Vp(n,e,t){if(e.isLeaf)return null;let r=t+e.nodeSize,o=null;for(let s=0,i;s<n.length;s++)(i=n[s])&&i.from>t&&i.to<r&&((o||(o=[])).push(i),n[s]=null);return o}function $p(n){let e=[];for(let t=0;t<n.length;t++)n[t]!=null&&e.push(n[t]);return e}function Bi(n,e,t,r){let o=[],s=!1;e.forEach((l,a)=>{let u=Vp(n,l,a+t);if(u){s=!0;let d=Bi(u,l,t+a+1,r);d!=Et&&o.push(a,a+l.nodeSize,d)}});let i=Fp(s?$p(n):n,-t).sort(Yr);for(let l=0;l<i.length;l++)i[l].type.valid(e,i[l])||(r.onRemove&&r.onRemove(i[l].spec),i.splice(l--,1));return i.length||o.length?new at(i,o):Et}function Yr(n,e){return n.from-e.from||n.to-e.to}function kc(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 s=e[o];if(s.from==r.from){s.to!=r.to&&(e==n&&(e=n.slice()),e[o]=s.copy(s.from,r.to),Up(e,o+1,s.copy(r.to,s.to)));continue}else{s.from<r.to&&(e==n&&(e=n.slice()),e[t]=r.copy(r.from,s.from),Up(e,o,r.copy(s.from,r.to)));break}}}return e}function Up(n,e,t){for(;e<n.length&&Yr(t,n[e])>0;)e++;n.splice(e,0,t)}function Nc(n){let e=[];return n.someProp("decorations",t=>{let r=t(n.state);r&&r!=Et&&e.push(r)}),n.cursorWrapper&&e.push(at.create(n.state.doc,[n.cursorWrapper.deco])),cr.from(e)}const J9={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},X9=Rt&&rr<=11;class q9{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 eE{constructor(e,t){this.view=e,this.handleDOMChange=t,this.queue=[],this.flushingSoon=-1,this.observer=null,this.currentSelection=new q9,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]);Rt&&rr<=11&&r.some(o=>o.type=="childList"&&o.removedNodes.length||o.type=="characterData"&&o.oldValue.length>o.target.nodeValue.length)?this.flushSoon():this.flush()}),X9&&(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,J9)),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(pp(this.view)){if(this.suppressingSelectionUpdates)return Pn(this.view);if(Rt&&rr<=11&&!this.view.state.selection.empty){let e=this.view.domSelectionRange();if(e.focusNode&&Ur(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 s=e.focusNode;s;s=Cs(s))t.add(s);for(let s=e.anchorNode;s;s=Cs(s))if(t.has(s)){r=s;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)&&pp(e)&&!this.ignoreSelectionChange(r),s=-1,i=-1,l=!1,a=[];if(e.editable)for(let d=0;d<t.length;d++){let f=this.registerMutation(t[d],a);f&&(s=s<0?f.from:Math.min(f.from,s),i=i<0?f.to:Math.max(f.to,i),f.typeOver&&(l=!0))}if(dn&&a.length>1){let d=a.filter(f=>f.nodeName=="BR");if(d.length==2){let f=d[0],h=d[1];f.parentNode&&f.parentNode.parentNode==h.parentNode?h.remove():f.remove()}}let u=null;s<0&&o&&e.input.lastFocus>Date.now()-200&&Math.max(e.input.lastTouch,e.input.lastClick.time)<Date.now()-300&&xi(r)&&(u=gc(e))&&u.eq(Ue.near(e.state.doc.resolve(0),1))?(e.input.lastFocus=0,Pn(e),this.currentSelection.set(r),e.scrollToSelection()):(s>-1||o)&&(s>-1&&(e.docView.markDirty(s,i),tE(e)),this.handleDOMChange(s,i,l,a),e.docView&&e.docView.dirty?e.updateState(e.state):this.currentSelection.eq(r)||Pn(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 d=0;d<e.addedNodes.length;d++)t.push(e.addedNodes[d]);if(r.contentDOM&&r.contentDOM!=r.dom&&!r.contentDOM.contains(e.target))return{from:r.posBefore,to:r.posAfter};let o=e.previousSibling,s=e.nextSibling;if(Rt&&rr<=11&&e.addedNodes.length)for(let d=0;d<e.addedNodes.length;d++){let{previousSibling:f,nextSibling:h}=e.addedNodes[d];(!f||Array.prototype.indexOf.call(e.addedNodes,f)<0)&&(o=f),(!h||Array.prototype.indexOf.call(e.addedNodes,h)<0)&&(s=h)}let i=o&&o.parentNode==e.target?bt(o)+1:0,l=r.localPosFromDOM(e.target,i,-1),a=s&&s.parentNode==e.target?bt(s):e.target.childNodes.length,u=r.localPosFromDOM(e.target,a,1);return{from:l,to:u}}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 zp=new WeakMap,Hp=!1;function tE(n){if(!zp.has(n)&&(zp.set(n,null),["normal","nowrap","pre-line"].indexOf(getComputedStyle(n.dom).whiteSpace)!==-1)){if(n.requiresGeckoHackNode=dn,Hp)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."),Hp=!0}}function nE(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,s=e.endContainer,i=e.endOffset,l=n.domAtPos(n.state.selection.anchor);return Ur(l.node,l.offset,s,i)&&([r,o,s,i]=[s,i,r,o]),{anchorNode:r,anchorOffset:o,focusNode:s,focusOffset:i}}function rE(n,e,t){let{node:r,fromOffset:o,toOffset:s,from:i,to:l}=n.docView.parseRange(e,t),a=n.domSelectionRange(),u,d=a.anchorNode;if(d&&n.dom.contains(d.nodeType==1?d:d.parentNode)&&(u=[{node:d,offset:a.anchorOffset}],xi(a)||u.push({node:a.focusNode,offset:a.focusOffset})),vt&&n.input.lastKeyCode===8)for(let y=s;y>o;y--){let C=r.childNodes[y-1],b=C.pmViewDesc;if(C.nodeName=="BR"&&!b){s=y;break}if(!b||b.size)break}let f=n.state.doc,h=n.someProp("domParser")||po.fromSchema(n.state.schema),p=f.resolve(i),m=null,g=h.parse(r,{topNode:p.parent,topMatch:p.parent.contentMatchAt(p.index()),topOpen:!0,from:o,to:s,preserveWhitespace:p.parent.type.whitespace=="pre"?"full":!0,findPositions:u,ruleFromNode:oE,context:p});if(u&&u[0].pos!=null){let y=u[0].pos,C=u[1]&&u[1].pos;C==null&&(C=y),m={anchor:y+i,head:C+i}}return{doc:g,sel:m,from:i,to:l}}function oE(n){let e=n.pmViewDesc;if(e)return e.parseRule();if(n.nodeName=="BR"&&n.parentNode){if(wt&&/^(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||wt&&/^(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 sE=/^(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 iE(n,e,t,r,o){let s=n.input.compositionPendingChanges||(n.composing?n.input.compositionID:0);if(n.input.compositionPendingChanges=0,e<0){let R=n.input.lastSelectionTime>Date.now()-50?n.input.lastSelectionOrigin:null,U=gc(n,R);if(U&&!n.state.selection.eq(U)){if(vt&&fn&&n.input.lastKeyCode===13&&Date.now()-100<n.input.lastKeyCodeTime&&n.someProp("handleKeyDown",P=>P(n,zr(13,"Enter"))))return;let $=n.state.tr.setSelection(U);R=="pointer"?$.setMeta("pointer",!0):R=="key"&&$.scrollIntoView(),s&&$.setMeta("composition",s),n.dispatch($)}return}let i=n.state.doc.resolve(e),l=i.sharedDepth(t);e=i.before(l+1),t=n.state.doc.resolve(t).after(l+1);let a=n.state.selection,u=rE(n,e,t),d=n.state.doc,f=d.slice(u.from,u.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=cE(f.content,u.doc.content,u.from,h,p);if((bo&&n.input.lastIOSEnter>Date.now()-225||fn)&&o.some(R=>R.nodeType==1&&!sE.test(R.nodeName))&&(!m||m.endA>=m.endB)&&n.someProp("handleKeyDown",R=>R(n,zr(13,"Enter")))){n.input.lastIOSEnter=0;return}if(!m)if(r&&a instanceof ze&&!a.empty&&a.$head.sameParent(a.$anchor)&&!n.composing&&!(u.sel&&u.sel.anchor!=u.sel.head))m={start:a.from,endA:a.to,endB:a.to};else{if(u.sel){let R=jp(n,n.state.doc,u.sel);if(R&&!R.eq(n.state.selection)){let U=n.state.tr.setSelection(R);s&&U.setMeta("composition",s),n.dispatch(U)}}return}if(vt&&n.cursorWrapper&&u.sel&&u.sel.anchor==n.cursorWrapper.deco.from&&u.sel.head==u.sel.anchor){let R=m.endB-m.start;u.sel={anchor:u.sel.anchor+R,head:u.sel.anchor+R}}n.input.domChangeCount++,n.state.selection.from<n.state.selection.to&&m.start==m.endB&&n.state.selection instanceof ze&&(m.start>n.state.selection.from&&m.start<=n.state.selection.from+2&&n.state.selection.from>=u.from?m.start=n.state.selection.from:m.endA<n.state.selection.to&&m.endA>=n.state.selection.to-2&&n.state.selection.to<=u.to&&(m.endB+=n.state.selection.to-m.endA,m.endA=n.state.selection.to)),Rt&&rr<=11&&m.endB==m.start+1&&m.endA==m.start&&m.start>u.from&&u.doc.textBetween(m.start-u.from-1,m.start-u.from+1)==" "&&(m.start--,m.endA--,m.endB--);let g=u.doc.resolveNoCache(m.start-u.from),y=u.doc.resolveNoCache(m.endB-u.from),C=d.resolve(m.start),b=g.sameParent(y)&&g.parent.inlineContent&&C.end()>=m.endA,E;if((bo&&n.input.lastIOSEnter>Date.now()-225&&(!b||o.some(R=>R.nodeName=="DIV"||R.nodeName=="P"))||!b&&g.pos<u.doc.content.size&&!g.sameParent(y)&&(E=Ue.findFrom(u.doc.resolve(g.pos+1),1,!0))&&E.head==y.pos)&&n.someProp("handleKeyDown",R=>R(n,zr(13,"Enter")))){n.input.lastIOSEnter=0;return}if(n.state.selection.anchor>m.start&&lE(d,m.start,m.endA,g,y)&&n.someProp("handleKeyDown",R=>R(n,zr(8,"Backspace")))){fn&&vt&&n.domObserver.suppressSelectionUpdates();return}vt&&fn&&m.endB==m.start&&(n.input.lastAndroidDelete=Date.now()),fn&&!b&&g.start()!=y.start()&&y.parentOffset==0&&g.depth==y.depth&&u.sel&&u.sel.anchor==u.sel.head&&u.sel.head==m.endA&&(m.endB-=2,y=u.doc.resolveNoCache(m.endB-u.from),setTimeout(()=>{n.someProp("handleKeyDown",function(R){return R(n,zr(13,"Enter"))})},20));let v=m.start,N=m.endA,w,x,B;if(b){if(g.pos==y.pos)Rt&&rr<=11&&g.parentOffset==0&&(n.domObserver.suppressSelectionUpdates(),setTimeout(()=>Pn(n),20)),w=n.state.tr.delete(v,N),x=d.resolve(m.start).marksAcross(d.resolve(m.endA));else if(m.endA==m.endB&&(B=aE(g.parent.content.cut(g.parentOffset,y.parentOffset),C.parent.content.cut(C.parentOffset,m.endA-C.start()))))w=n.state.tr,B.type=="add"?w.addMark(v,N,B.mark):w.removeMark(v,N,B.mark);else if(g.parent.child(g.index()).isText&&g.index()==y.index()-(y.textOffset?0:1)){let R=g.parent.textBetween(g.parentOffset,y.parentOffset);if(n.someProp("handleTextInput",U=>U(n,v,N,R)))return;w=n.state.tr.insertText(R,v,N)}}if(w||(w=n.state.tr.replace(v,N,u.doc.slice(m.start-u.from,m.endB-u.from))),u.sel){let R=jp(n,w.doc,u.sel);R&&!(vt&&fn&&n.composing&&R.empty&&(m.start!=m.endB||n.input.lastAndroidDelete<Date.now()-100)&&(R.head==v||R.head==w.mapping.map(N)-1)||Rt&&R.empty&&R.head==v)&&w.setSelection(R)}x&&w.ensureMarks(x),s&&w.setMeta("composition",s),n.dispatch(w.scrollIntoView())}function jp(n,e,t){return Math.max(t.anchor,t.head)>e.content.size?null:vc(n,e.resolve(t.anchor),e.resolve(t.head))}function aE(n,e){let t=n.firstChild.marks,r=e.firstChild.marks,o=t,s=r,i,l,a;for(let d=0;d<r.length;d++)o=r[d].removeFromSet(o);for(let d=0;d<t.length;d++)s=t[d].removeFromSet(s);if(o.length==1&&s.length==0)l=o[0],i="add",a=d=>d.mark(l.addToSet(d.marks));else if(o.length==0&&s.length==1)l=s[0],i="remove",a=d=>d.mark(l.removeFromSet(d.marks));else return null;let u=[];for(let d=0;d<e.childCount;d++)u.push(a(e.child(d)));if(fe.from(u).eq(n))return{mark:l,type:i}}function lE(n,e,t,r,o){if(!r.parent.isTextblock||t-e<=o.pos-r.pos||Ic(r,!0,!1)<o.pos)return!1;let s=n.resolve(e);if(s.parentOffset<s.parent.content.size||!s.parent.isTextblock)return!1;let i=n.resolve(Ic(s,!0,!0));return!i.parent.isTextblock||i.pos>t||Ic(i,!0,!1)<t?!1:r.parent.content.cut(r.parentOffset).eq(i.parent.content)}function Ic(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 s=n.node(r).maybeChild(n.indexAfter(r));for(;s&&!s.isLeaf;)s=s.firstChild,o++}return o}function cE(n,e,t,r,o){let s=n.findDiffStart(e,t);if(s==null)return null;let{a:i,b:l}=n.findDiffEnd(e,t+n.size,t+e.size);if(o=="end"){let a=Math.max(0,s-Math.min(i,l));r-=i+a-s}if(i<s&&n.size<e.size){let a=r<=s&&r>=i?s-r:0;s-=a,s&&s<e.size&&Wp(e.textBetween(s-1,s+1))&&(s+=a?1:-1),l=s+(l-i),i=s}else if(l<s){let a=r<=s&&r>=l?s-r:0;s-=a,s&&s<n.size&&Wp(n.textBetween(s-1,s+1))&&(s+=a?1:-1),i=s+(i-l),l=s}return{start:s,endA:i,endB:l}}function Wp(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 uE{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 M9,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=t,this.state=t.state,this.directPlugins=t.plugins||[],this.directPlugins.forEach(Zp),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=Gp(this),Yp(this),this.nodeViews=Qp(this),this.docView=np(this.state.doc,Kp(this),Nc(this),this.dom,this),this.domObserver=new eE(this,(r,o,s,i)=>iE(this,r,o,s,i)),this.domObserver.start(),O9(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&&bc(this);let t=this._props;this._props=e,e.plugins&&(e.plugins.forEach(Zp),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,s=!1,i=!1;e.storedMarks&&this.composing&&(Dp(this),i=!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=Qp(this);fE(p,this.nodeViews)&&(this.nodeViews=p,s=!0)}(l||t.handleDOMEvents!=this._props.handleDOMEvents)&&bc(this),this.editable=Gp(this),Yp(this);let a=Nc(this),u=Kp(this),d=o.plugins!=e.plugins&&!o.doc.eq(e.doc)?"reset":e.scrollToSelection>o.scrollToSelection?"to selection":"preserve",f=s||!this.docView.matchesNode(e.doc,u,a);(f||!e.selection.eq(o.selection))&&(i=!0);let h=d=="preserve"&&i&&this.dom.style.overflowAnchor==null&&Kv(this);if(i){this.domObserver.stop();let p=f&&(Rt||vt)&&!this.composing&&!o.selection.empty&&!e.selection.empty&&dE(o.selection,e.selection);if(f){let m=vt?this.trackWrites=this.domSelectionRange().focusNode:null;(s||!this.docView.update(e.doc,u,a,this))&&(this.docView.updateOuterDeco([]),this.docView.destroy(),this.docView=np(e.doc,u,a,this.dom,this)),m&&!this.trackWrites&&(p=!0)}p||!(this.input.mouseDown&&this.domObserver.currentSelection.eq(this.domSelectionRange())&&y9(this))?Pn(this,p):(fp(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),d=="reset"?this.dom.scrollTop=0:d=="to selection"?this.scrollToSelection():h&&Yv(h)}scrollToSelection(){let e=this.domSelectionRange().focusNode;if(!this.someProp("handleScrollToSelection",t=>t(this)))if(this.state.selection instanceof Le){let t=this.docView.domAfterPos(this.state.selection.from);t.nodeType==1&&Hh(this,t.getBoundingClientRect(),e)}else Hh(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 s=r.from+(this.state.doc.content.size-t.doc.content.size);(s>0&&this.state.doc.nodeAt(s))==r.node&&(o=s)}this.dragging=new Bp(e.slice,e.move,o<0?void 0:Le.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 i=0;i<this.directPlugins.length;i++){let l=this.directPlugins[i].props[e];if(l!=null&&(o=t?t(l):l))return o}let s=this.state.plugins;if(s)for(let i=0;i<s.length;i++){let l=s[i].props[e];if(l!=null&&(o=t?t(l):l))return o}}hasFocus(){if(Rt){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&&Gv(this.dom),Pn(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 qv(this,e)}coordsAtPos(e,t=1){return Qh(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 o9(this,t||this.state,e)}pasteHTML(e,t){return ks(this,"",e,!1,t||new ClipboardEvent("paste"))}pasteText(e,t){return ks(this,e,null,!0,t||new ClipboardEvent("paste"))}destroy(){this.docView&&(L9(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],Nc(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 R9(this,e)}dispatch(e){let t=this._props.dispatchTransaction;t?t.call(this,e):this.updateState(this.state.apply(e))}domSelectionRange(){return wt&&this.root.nodeType===11&&Vv(this.dom.ownerDocument)==this.dom?nE(this):this.domSelection()}domSelection(){return this.root.getSelection()}}function Kp(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"),[Zt.node(0,n.state.doc.content.size,e)]}function Yp(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:Zt.widget(n.state.selection.head,e,{raw:!0,marks:n.markCursor})}}else n.cursorWrapper=null}function Gp(n){return!n.someProp("editable",e=>e(n.state)===!1)}function dE(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 Qp(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 fE(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 Zp(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 ur={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:"'"},Pi={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},hE=typeof navigator<"u"&&/Mac/.test(navigator.platform),pE=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),mt=0;mt<10;mt++)ur[48+mt]=ur[96+mt]=String(mt);for(var mt=1;mt<=24;mt++)ur[mt+111]="F"+mt;for(var mt=65;mt<=90;mt++)ur[mt]=String.fromCharCode(mt+32),Pi[mt]=String.fromCharCode(mt);for(var xc in ur)Pi.hasOwnProperty(xc)||(Pi[xc]=ur[xc]);function mE(n){var e=hE&&n.metaKey&&n.shiftKey&&!n.ctrlKey&&!n.altKey||pE&&n.shiftKey&&n.key&&n.key.length==1||n.key=="Unidentified",t=!e&&n.key||(n.shiftKey?Pi:ur)[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 gE=typeof navigator<"u"?/Mac|iP(hone|[oa]d)/.test(navigator.platform):!1;function yE(n){let e=n.split(/-(?!$)/),t=e[e.length-1];t=="Space"&&(t=" ");let r,o,s,i;for(let l=0;l<e.length-1;l++){let a=e[l];if(/^(cmd|meta|m)$/i.test(a))i=!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))s=!0;else if(/^mod$/i.test(a))gE?i=!0:o=!0;else throw new Error("Unrecognized modifier name: "+a)}return r&&(t="Alt-"+t),o&&(t="Ctrl-"+t),i&&(t="Meta-"+t),s&&(t="Shift-"+t),t}function vE(n){let e=Object.create(null);for(let t in n)e[yE(t)]=n[t];return e}function Mc(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 EE(n){return new Dt({props:{handleKeyDown:CE(n)}})}function CE(n){let e=vE(n);return function(t,r){let o=mE(r),s,i=e[Mc(o,r)];if(i&&i(t.state,t.dispatch,t))return!0;if(o.length==1&&o!=" "){if(r.shiftKey){let l=e[Mc(o,r,!1)];if(l&&l(t.state,t.dispatch,t))return!0}if((r.shiftKey||r.altKey||r.metaKey||o.charCodeAt(0)>127)&&(s=ur[r.keyCode])&&s!=o){let l=e[Mc(s,r)];if(l&&l(t.state,t.dispatch,t))return!0}}return!1}}const AE=(n,e)=>n.selection.empty?!1:(e&&e(n.tr.deleteSelection().scrollIntoView()),!0);function bE(n,e){let{$cursor:t}=n.selection;return!t||(e?!e.endOfTextblock("backward",n):t.parentOffset>0)?null:t}const wE=(n,e,t)=>{let r=bE(n,t);if(!r)return!1;let o=Jp(r);if(!o){let i=r.blockRange(),l=i&&go(i);return l==null?!1:(e&&e(n.tr.lift(i,l).scrollIntoView()),!0)}let s=o.nodeBefore;if(!s.type.spec.isolating&&e1(n,o,e))return!0;if(r.parent.content.size==0&&(ko(s,"end")||Le.isSelectable(s))){let i=ec(n.doc,r.before(),r.after(),we.empty);if(i&&i.slice.size<i.to-i.from){if(e){let l=n.tr.step(i);l.setSelection(ko(s,"end")?Ue.findFrom(l.doc.resolve(l.mapping.map(o.pos,-1)),-1):Le.create(l.doc,o.pos-s.nodeSize)),e(l.scrollIntoView())}return!0}}return s.isAtom&&o.depth==r.depth-1?(e&&e(n.tr.delete(o.pos-s.nodeSize,o.pos).scrollIntoView()),!0):!1};function ko(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 TE=(n,e,t)=>{let{$head:r,empty:o}=n.selection,s=r;if(!o)return!1;if(r.parent.isTextblock){if(t?!t.endOfTextblock("backward",n):r.parentOffset>0)return!1;s=Jp(r)}let i=s&&s.nodeBefore;return!i||!Le.isSelectable(i)?!1:(e&&e(n.tr.setSelection(Le.create(n.doc,s.pos-i.nodeSize)).scrollIntoView()),!0)};function Jp(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 SE(n,e){let{$cursor:t}=n.selection;return!t||(e?!e.endOfTextblock("forward",n):t.parentOffset<t.parent.content.size)?null:t}const _E=(n,e,t)=>{let r=SE(n,t);if(!r)return!1;let o=Xp(r);if(!o)return!1;let s=o.nodeAfter;if(e1(n,o,e))return!0;if(r.parent.content.size==0&&(ko(s,"start")||Le.isSelectable(s))){let i=ec(n.doc,r.before(),r.after(),we.empty);if(i&&i.slice.size<i.to-i.from){if(e){let l=n.tr.step(i);l.setSelection(ko(s,"start")?Ue.findFrom(l.doc.resolve(l.mapping.map(o.pos)),1):Le.create(l.doc,l.mapping.map(o.pos))),e(l.scrollIntoView())}return!0}}return s.isAtom&&o.depth==r.depth-1?(e&&e(n.tr.delete(o.pos,o.pos+s.nodeSize).scrollIntoView()),!0):!1},kE=(n,e,t)=>{let{$head:r,empty:o}=n.selection,s=r;if(!o)return!1;if(r.parent.isTextblock){if(t?!t.endOfTextblock("forward",n):r.parentOffset<r.parent.content.size)return!1;s=Xp(r)}let i=s&&s.nodeAfter;return!i||!Le.isSelectable(i)?!1:(e&&e(n.tr.setSelection(Le.create(n.doc,s.pos)).scrollIntoView()),!0)};function Xp(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 NE=(n,e)=>{let t=n.selection,r=t instanceof Le,o;if(r){if(t.node.isTextblock||!tr(n.doc,t.from))return!1;o=t.from}else if(o=ki(n.doc,t.from,-1),o==null)return!1;if(e){let s=n.tr.join(o);r&&s.setSelection(Le.create(s.doc,o-n.doc.resolve(o).nodeBefore.nodeSize)),e(s.scrollIntoView())}return!0},IE=(n,e)=>{let t=n.selection,r;if(t instanceof Le){if(t.node.isTextblock||!tr(n.doc,t.to))return!1;r=t.to}else if(r=ki(n.doc,t.to,1),r==null)return!1;return e&&e(n.tr.join(r).scrollIntoView()),!0},xE=(n,e)=>{let{$from:t,$to:r}=n.selection,o=t.blockRange(r),s=o&&go(o);return s==null?!1:(e&&e(n.tr.lift(o,s).scrollIntoView()),!0)},ME=(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 qp(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 OE=(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),s=t.indexAfter(-1),i=qp(o.contentMatchAt(s));if(!i||!o.canReplaceWith(s,s,i))return!1;if(e){let l=t.after(),a=n.tr.replaceWith(l,l,i.createAndFill());a.setSelection(Ue.near(a.doc.resolve(l),1)),e(a.scrollIntoView())}return!0},LE=(n,e)=>{let t=n.selection,{$from:r,$to:o}=t;if(t instanceof cn||r.parent.inlineContent||o.parent.inlineContent)return!1;let s=qp(o.parent.contentMatchAt(o.indexAfter()));if(!s||!s.isTextblock)return!1;if(e){let i=(!r.parentOffset&&o.index()<o.parent.childCount?r:o).pos,l=n.tr.insert(i,s.createAndFill());l.setSelection(ze.create(l.doc,i+1)),e(l.scrollIntoView())}return!0},DE=(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 s=t.before();if(yo(n.doc,s))return e&&e(n.tr.split(s).scrollIntoView()),!0}let r=t.blockRange(),o=r&&go(r);return o==null?!1:(e&&e(n.tr.lift(r,o).scrollIntoView()),!0)},RE=(n,e)=>{let{$from:t,to:r}=n.selection,o,s=t.sharedDepth(r);return s==0?!1:(o=t.before(s),e&&e(n.tr.setSelection(Le.create(n.doc,o))),!0)};function BE(n,e,t){let r=e.nodeBefore,o=e.nodeAfter,s=e.index();return!r||!o||!r.type.compatibleContent(o.type)?!1:!r.content.size&&e.parent.canReplace(s-1,s)?(t&&t(n.tr.delete(e.pos-r.nodeSize,e.pos).scrollIntoView()),!0):!e.parent.canReplace(s,s+1)||!(o.isTextblock||tr(n.doc,e.pos))?!1:(t&&t(n.tr.clearIncompatible(e.pos,r.type,r.contentMatchAt(r.childCount)).join(e.pos).scrollIntoView()),!0)}function e1(n,e,t){let r=e.nodeBefore,o=e.nodeAfter,s,i;if(r.type.spec.isolating||o.type.spec.isolating)return!1;if(BE(n,e,t))return!0;let l=e.parent.canReplace(e.index(),e.index()+1);if(l&&(s=(i=r.contentMatchAt(r.childCount)).findWrapping(o.type))&&i.matchType(s[0]||o.type).validEnd){if(t){let f=e.pos+o.nodeSize,h=fe.empty;for(let g=s.length-1;g>=0;g--)h=fe.from(s[g].create(null,h));h=fe.from(r.copy(h));let p=n.tr.step(new lt(e.pos-1,f,e.pos,f,new we(h,1,0),s.length,!0)),m=f+2*s.length;tr(p.doc,m)&&p.join(m),t(p.scrollIntoView())}return!0}let a=Ue.findFrom(e,1),u=a&&a.$from.blockRange(a.$to),d=u&&go(u);if(d!=null&&d>=e.depth)return t&&t(n.tr.lift(u,d).scrollIntoView()),!0;if(l&&ko(o,"start",!0)&&ko(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=fe.empty;for(let C=h.length-1;C>=0;C--)g=fe.from(h[C].copy(g));let y=n.tr.step(new lt(e.pos-h.length,e.pos+o.nodeSize,e.pos+m,e.pos+o.nodeSize-m,new we(g,h.length,0),0,!0));t(y.scrollIntoView())}return!0}}return!1}function t1(n){return function(e,t){let r=e.selection,o=n<0?r.$from:r.$to,s=o.depth;for(;o.node(s).isInline;){if(!s)return!1;s--}return o.node(s).isTextblock?(t&&t(e.tr.setSelection(ze.create(e.doc,n<0?o.start(s):o.end(s)))),!0):!1}}const PE=t1(-1),FE=t1(1);function VE(n,e=null){return function(t,r){let{$from:o,$to:s}=t.selection,i=o.blockRange(s),l=i&&ql(i,n,e);return l?(r&&r(t.tr.wrap(i,l).scrollIntoView()),!0):!1}}function n1(n,e=null){return function(t,r){let o=!1;for(let s=0;s<t.selection.ranges.length&&!o;s++){let{$from:{pos:i},$to:{pos:l}}=t.selection.ranges[s];t.doc.nodesBetween(i,l,(a,u)=>{if(o)return!1;if(!(!a.isTextblock||a.hasMarkup(n,e)))if(a.type==n)o=!0;else{let d=t.doc.resolve(u),f=d.index();o=d.parent.canReplaceWith(f,f+1,n)}})}if(!o)return!1;if(r){let s=t.tr;for(let i=0;i<t.selection.ranges.length;i++){let{$from:{pos:l},$to:{pos:a}}=t.selection.ranges[i];s.setBlockType(l,a,n,e)}r(s.scrollIntoView())}return!0}}typeof navigator<"u"?/Mac|iP(hone|[oa]d)/.test(navigator.platform):typeof os<"u"&&os.platform&&os.platform()=="darwin";function $E(n,e=null){return function(t,r){let{$from:o,$to:s}=t.selection,i=o.blockRange(s),l=!1,a=i;if(!i)return!1;if(i.depth>=2&&o.node(i.depth-1).type.compatibleContent(n)&&i.startIndex==0){if(o.index(i.depth-1)==0)return!1;let d=t.doc.resolve(i.start-2);a=new Ci(d,d,i.depth),i.endIndex<i.parent.childCount&&(i=new Ci(o,t.doc.resolve(s.end(i.depth)),i.depth)),l=!0}let u=ql(a,n,e,i);return u?(r&&r(UE(t.tr,i,u,l,n).scrollIntoView()),!0):!1}}function UE(n,e,t,r,o){let s=fe.empty;for(let d=t.length-1;d>=0;d--)s=fe.from(t[d].type.create(t[d].attrs,s));n.step(new lt(e.start-(r?2:0),e.end,e.start,e.end,new we(s,0,0),t.length,!0));let i=0;for(let d=0;d<t.length;d++)t[d].type==o&&(i=d+1);let l=t.length-i,a=e.start+t.length-(r?2:0),u=e.parent;for(let d=e.startIndex,f=e.endIndex,h=!0;d<f;d++,h=!1)!h&&yo(n.doc,a,l)&&(n.split(a,l),a+=2*l),a+=u.child(d).nodeSize;return n}function zE(n){return function(e,t){let{$from:r,$to:o}=e.selection,s=r.blockRange(o,i=>i.childCount>0&&i.firstChild.type==n);return s?t?r.node(s.depth-1).type==n?HE(e,t,n,s):jE(e,t,s):!0:!1}}function HE(n,e,t,r){let o=n.tr,s=r.end,i=r.$to.end(r.depth);s<i&&(o.step(new lt(s-1,i,s,i,new we(fe.from(t.create(null,r.parent.copy())),1,0),1,!0)),r=new Ci(o.doc.resolve(r.$from.pos),o.doc.resolve(i),r.depth));const l=go(r);if(l==null)return!1;o.lift(r,l);let a=o.mapping.map(s,-1)-1;return tr(o.doc,a)&&o.join(a),e(o.scrollIntoView()),!0}function jE(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 s=r.doc.resolve(t.start),i=s.nodeAfter;if(r.mapping.map(t.end)!=t.start+s.nodeAfter.nodeSize)return!1;let l=t.startIndex==0,a=t.endIndex==o.childCount,u=s.node(-1),d=s.index(-1);if(!u.canReplace(d+(l?0:1),d+1,i.content.append(a?fe.empty:fe.from(o))))return!1;let f=s.pos,h=f+i.nodeSize;return r.step(new lt(f-(l?1:0),h+(a?1:0),f+1,h-1,new we((l?fe.empty:fe.from(o.copy(fe.empty))).append(a?fe.empty:fe.from(o.copy(fe.empty))),l?0:1,a?0:1),l?0:1)),e(r.scrollIntoView()),!0}function WE(n){return function(e,t){let{$from:r,$to:o}=e.selection,s=r.blockRange(o,u=>u.childCount>0&&u.firstChild.type==n);if(!s)return!1;let i=s.startIndex;if(i==0)return!1;let l=s.parent,a=l.child(i-1);if(a.type!=n)return!1;if(t){let u=a.lastChild&&a.lastChild.type==l.type,d=fe.from(u?n.create():null),f=new we(fe.from(n.create(null,fe.from(l.type.create(null,d)))),u?3:1,0),h=s.start,p=s.end;t(e.tr.step(new lt(h-(u?3:1),p,h,p,f,1,!0)).scrollIntoView())}return!0}}function Fi(n){const{state:e,transaction:t}=n;let{selection:r}=t,{doc:o}=t,{storedMarks:s}=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 s},get selection(){return r},get doc(){return o},get tr(){return r=t.selection,o=t.doc,s=t.storedMarks,t}}}class Vi{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:s}=r,i=this.buildProps(s);return Object.fromEntries(Object.entries(e).map(([l,a])=>[l,(...d)=>{const f=a(...d)(i);return!s.getMeta("preventDispatch")&&!this.hasCustomState&&o.dispatch(s),f}]))}get chain(){return()=>this.createChain()}get can(){return()=>this.createCan()}createChain(e,t=!0){const{rawCommands:r,editor:o,state:s}=this,{view:i}=o,l=[],a=!!e,u=e||s.tr,d=()=>(!a&&t&&!u.getMeta("preventDispatch")&&!this.hasCustomState&&i.dispatch(u),l.every(h=>h===!0)),f={...Object.fromEntries(Object.entries(r).map(([h,p])=>[h,(...g)=>{const y=this.buildProps(u,t),C=p(...g)(y);return l.push(C),f}])),run:d};return f}createCan(e){const{rawCommands:t,state:r}=this,o=!1,s=e||r.tr,i=this.buildProps(s,o);return{...Object.fromEntries(Object.entries(t).map(([a,u])=>[a,(...d)=>u(...d)({...i,dispatch:void 0})])),chain:()=>this.createChain(s,o)}}buildProps(e,t=!0){const{rawCommands:r,editor:o,state:s}=this,{view:i}=o,l={tr:e,editor:o,view:i,state:Fi({state:s,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,u])=>[a,(...d)=>u(...d)(l)]))}};return l}}class KE{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 Ne(n,e,t){return n.config[e]===void 0&&n.parent?Ne(n.parent,e,t):typeof n.config[e]=="function"?n.config[e].bind({...t,parent:n.parent?Ne(n.parent,e,t):null}):n.config[e]}function $i(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 r1(n){const e=[],{nodeExtensions:t,markExtensions:r}=$i(n),o=[...t,...r],s={default:null,rendered:!0,renderHTML:null,parseHTML:null,keepOnSplit:!0,isRequired:!1};return n.forEach(i=>{const l={name:i.name,options:i.options,storage:i.storage},a=Ne(i,"addGlobalAttributes",l);if(!a)return;a().forEach(d=>{d.types.forEach(f=>{Object.entries(d.attributes).forEach(([h,p])=>{e.push({type:f,name:h,attribute:{...s,...p}})})})})}),o.forEach(i=>{const l={name:i.name,options:i.options,storage:i.storage},a=Ne(i,"addAttributes",l);if(!a)return;const u=a();Object.entries(u).forEach(([d,f])=>{const h={...s,...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:i.name,name:d,attribute:h})})}),e}function ct(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 _t(...n){return n.filter(e=>!!e).reduce((e,t)=>{const r={...e};return Object.entries(t).forEach(([o,s])=>{if(!r[o]){r[o]=s;return}if(o==="class"){const l=s?s.split(" "):[],a=r[o]?r[o].split(" "):[],u=l.filter(d=>!a.includes(d));r[o]=[...a,...u].join(" ")}else o==="style"?r[o]=[r[o],s].join("; "):r[o]=s}),r},{})}function Oc(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)=>_t(t,r),{})}function o1(n){return typeof n=="function"}function $e(n,e=void 0,...t){return o1(n)?e?n.bind(e)(...t):n(...t):n}function YE(n={}){return Object.keys(n).length===0&&n.constructor===Object}function GE(n){return typeof n!="string"?n:n.match(/^[+-]?(?:\d*\.)?\d+$/)?Number(n):n==="true"?!0:n==="false"?!1:n}function s1(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((s,i)=>{const l=i.attribute.parseHTML?i.attribute.parseHTML(t):GE(t.getAttribute(i.name));return l==null?s:{...s,[i.name]:l}},{});return{...r,...o}}}}function i1(n){return Object.fromEntries(Object.entries(n).filter(([e,t])=>e==="attrs"&&YE(t)?!1:t!=null))}function QE(n,e){var t;const r=r1(n),{nodeExtensions:o,markExtensions:s}=$i(n),i=(t=o.find(u=>Ne(u,"topNode")))===null||t===void 0?void 0:t.name,l=Object.fromEntries(o.map(u=>{const d=r.filter(C=>C.type===u.name),f={name:u.name,options:u.options,storage:u.storage,editor:e},h=n.reduce((C,b)=>{const E=Ne(b,"extendNodeSchema",f);return{...C,...E?E(u):{}}},{}),p=i1({...h,content:$e(Ne(u,"content",f)),marks:$e(Ne(u,"marks",f)),group:$e(Ne(u,"group",f)),inline:$e(Ne(u,"inline",f)),atom:$e(Ne(u,"atom",f)),selectable:$e(Ne(u,"selectable",f)),draggable:$e(Ne(u,"draggable",f)),code:$e(Ne(u,"code",f)),defining:$e(Ne(u,"defining",f)),isolating:$e(Ne(u,"isolating",f)),attrs:Object.fromEntries(d.map(C=>{var b;return[C.name,{default:(b=C==null?void 0:C.attribute)===null||b===void 0?void 0:b.default}]}))}),m=$e(Ne(u,"parseHTML",f));m&&(p.parseDOM=m.map(C=>s1(C,d)));const g=Ne(u,"renderHTML",f);g&&(p.toDOM=C=>g({node:C,HTMLAttributes:Oc(C,d)}));const y=Ne(u,"renderText",f);return y&&(p.toText=y),[u.name,p]})),a=Object.fromEntries(s.map(u=>{const d=r.filter(y=>y.type===u.name),f={name:u.name,options:u.options,storage:u.storage,editor:e},h=n.reduce((y,C)=>{const b=Ne(C,"extendMarkSchema",f);return{...y,...b?b(u):{}}},{}),p=i1({...h,inclusive:$e(Ne(u,"inclusive",f)),excludes:$e(Ne(u,"excludes",f)),group:$e(Ne(u,"group",f)),spanning:$e(Ne(u,"spanning",f)),code:$e(Ne(u,"code",f)),attrs:Object.fromEntries(d.map(y=>{var C;return[y.name,{default:(C=y==null?void 0:y.attribute)===null||C===void 0?void 0:C.default}]}))}),m=$e(Ne(u,"parseHTML",f));m&&(p.parseDOM=m.map(y=>s1(y,d)));const g=Ne(u,"renderHTML",f);return g&&(p.toDOM=y=>g({mark:y,HTMLAttributes:Oc(y,d)})),[u.name,p]}));return new rv({topNode:i,nodes:l,marks:a})}function Lc(n,e){return e.nodes[n]||e.marks[n]||null}function a1(n,e){return Array.isArray(e)?e.some(t=>(typeof t=="string"?t:t.name)===n.name):e}const ZE=(n,e=500)=>{let t="";const r=n.parentOffset;return n.parent.nodesBetween(Math.max(0,r-e),r,(o,s,i,l)=>{var a,u;const d=((u=(a=o.type.spec).toText)===null||u===void 0?void 0:u.call(a,{node:o,pos:s,parent:i,index:l}))||o.textContent||"%leaf%";t+=d.slice(0,Math.max(0,r-s))}),t};function Dc(n){return Object.prototype.toString.call(n)==="[object RegExp]"}class l1{constructor(e){this.find=e.find,this.handler=e.handler}}const JE=(n,e)=>{if(Dc(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 Rc(n){var e;const{editor:t,from:r,to:o,text:s,rules:i,plugin:l}=n,{view:a}=t;if(a.composing)return!1;const u=a.state.doc.resolve(r);if(u.parent.type.spec.code||!((e=u.nodeBefore||u.nodeAfter)===null||e===void 0)&&e.marks.find(h=>h.type.spec.code))return!1;let d=!1;const f=ZE(u)+s;return i.forEach(h=>{if(d)return;const p=JE(f,h.find);if(!p)return;const m=a.state.tr,g=Fi({state:a.state,transaction:m}),y={from:r-(p[0].length-s.length),to:o},{commands:C,chain:b,can:E}=new Vi({editor:t,state:g});h.handler({state:g,range:y,match:p,commands:C,chain:b,can:E})===null||!m.steps.length||(m.setMeta(l,{transform:m,from:r,to:o,text:s}),a.dispatch(m),d=!0)}),d}function XE(n){const{editor:e,rules:t}=n,r=new Dt({state:{init(){return null},apply(o,s){const i=o.getMeta(r);return i||(o.selectionSet||o.docChanged?null:s)}},props:{handleTextInput(o,s,i,l){return Rc({editor:e,from:s,to:i,text:l,rules:t,plugin:r})},handleDOMEvents:{compositionend:o=>(setTimeout(()=>{const{$cursor:s}=o.state.selection;s&&Rc({editor:e,from:s.pos,to:s.pos,text:"",rules:t,plugin:r})}),!1)},handleKeyDown(o,s){if(s.key!=="Enter")return!1;const{$cursor:i}=o.state.selection;return i?Rc({editor:e,from:i.pos,to:i.pos,text:`
|
|
71
|
+
`,rules:t,plugin:r}):!1}},isInputRules:!0});return r}function qE(n){return typeof n=="number"}class eC{constructor(e){this.find=e.find,this.handler=e.handler}}const tC=(n,e)=>{if(Dc(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 nC(n){const{editor:e,state:t,from:r,to:o,rule:s,pasteEvent:i,dropEvent:l}=n,{commands:a,chain:u,can:d}=new Vi({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),y=Math.min(o,m+p.content.size),C=p.textBetween(g-m,y-m,void 0,"");tC(C,s.find).forEach(E=>{if(E.index===void 0)return;const v=g+E.index+1,N=v+E[0].length,w={from:t.tr.mapping.map(v),to:t.tr.mapping.map(N)},x=s.handler({state:t,range:w,match:E,commands:a,chain:u,can:d,pasteEvent:i,dropEvent:l});f.push(x)})}),f.every(p=>p!==null)}function rC(n){const{editor:e,rules:t}=n;let r=null,o=!1,s=!1,i=new ClipboardEvent("paste"),l=new DragEvent("drop");return t.map(u=>new Dt({view(d){const f=h=>{var p;r=!((p=d.dom.parentElement)===null||p===void 0)&&p.contains(h.target)?d.dom.parentElement:null};return window.addEventListener("dragstart",f),{destroy(){window.removeEventListener("dragstart",f)}}},props:{handleDOMEvents:{drop:(d,f)=>(s=r===d.dom.parentElement,l=f,!1),paste:(d,f)=>{var h;const p=(h=f.clipboardData)===null||h===void 0?void 0:h.getData("text/html");return i=f,o=!!(p!=null&&p.includes("data-pm-slice")),!1}}},appendTransaction:(d,f,h)=>{const p=d[0],m=p.getMeta("uiEvent")==="paste"&&!o,g=p.getMeta("uiEvent")==="drop"&&!s;if(!m&&!g)return;const y=f.doc.content.findDiffStart(h.doc.content),C=f.doc.content.findDiffEnd(h.doc.content);if(!qE(y)||!C||y===C.b)return;const b=h.tr,E=Fi({state:h,transaction:b});if(!(!nC({editor:e,state:E,from:Math.max(y-1,0),to:C.b-1,rule:u,pasteEvent:i,dropEvent:l})||!b.steps.length))return l=new DragEvent("drop"),i=new ClipboardEvent("paste"),b}}))}function oC(n){const e=n.filter((t,r)=>n.indexOf(t)!==r);return[...new Set(e)]}class No{constructor(e,t){this.splittableMarks=[],this.editor=t,this.extensions=No.resolve(e),this.schema=QE(this.extensions,t),this.extensions.forEach(r=>{var o;this.editor.extensionStorage[r.name]=r.storage;const s={name:r.name,options:r.options,storage:r.storage,editor:this.editor,type:Lc(r.name,this.schema)};r.type==="mark"&&(!((o=$e(Ne(r,"keepOnSplit",s)))!==null&&o!==void 0)||o)&&this.splittableMarks.push(r.name);const i=Ne(r,"onBeforeCreate",s);i&&this.editor.on("beforeCreate",i);const l=Ne(r,"onCreate",s);l&&this.editor.on("create",l);const a=Ne(r,"onUpdate",s);a&&this.editor.on("update",a);const u=Ne(r,"onSelectionUpdate",s);u&&this.editor.on("selectionUpdate",u);const d=Ne(r,"onTransaction",s);d&&this.editor.on("transaction",d);const f=Ne(r,"onFocus",s);f&&this.editor.on("focus",f);const h=Ne(r,"onBlur",s);h&&this.editor.on("blur",h);const p=Ne(r,"onDestroy",s);p&&this.editor.on("destroy",p)})}static resolve(e){const t=No.sort(No.flatten(e)),r=oC(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=Ne(t,"addExtensions",r);return o?[t,...this.flatten(o())]:t}).flat(10)}static sort(e){return e.sort((r,o)=>{const s=Ne(r,"priority")||100,i=Ne(o,"priority")||100;return s>i?-1:s<i?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:Lc(t.name,this.schema)},o=Ne(t,"addCommands",r);return o?{...e,...o()}:e},{})}get plugins(){const{editor:e}=this,t=No.sort([...this.extensions].reverse()),r=[],o=[],s=t.map(i=>{const l={name:i.name,options:i.options,storage:i.storage,editor:e,type:Lc(i.name,this.schema)},a=[],u=Ne(i,"addKeyboardShortcuts",l);let d={};if(i.type==="mark"&&i.config.exitable&&(d.ArrowRight=()=>Tn.handleExit({editor:e,mark:i})),u){const g=Object.fromEntries(Object.entries(u()).map(([y,C])=>[y,()=>C({editor:e})]));d={...d,...g}}const f=EE(d);a.push(f);const h=Ne(i,"addInputRules",l);a1(i,e.options.enableInputRules)&&h&&r.push(...h());const p=Ne(i,"addPasteRules",l);a1(i,e.options.enablePasteRules)&&p&&o.push(...p());const m=Ne(i,"addProseMirrorPlugins",l);if(m){const g=m();a.push(...g)}return a}).flat();return[XE({editor:e,rules:r}),...rC({editor:e,rules:o}),...s]}get attributes(){return r1(this.extensions)}get nodeViews(){const{editor:e}=this,{nodeExtensions:t}=$i(this.extensions);return Object.fromEntries(t.filter(r=>!!Ne(r,"addNodeView")).map(r=>{const o=this.attributes.filter(a=>a.type===r.name),s={name:r.name,options:r.options,storage:r.storage,editor:e,type:ct(r.name,this.schema)},i=Ne(r,"addNodeView",s);if(!i)return[];const l=(a,u,d,f)=>{const h=Oc(a,o);return i()({editor:e,node:a,getPos:d,decorations:f,HTMLAttributes:h,extension:r})};return[r.name,l]}))}}function sC(n){return Object.prototype.toString.call(n).slice(8,-1)}function Bc(n){return sC(n)!=="Object"?!1:n.constructor===Object&&Object.getPrototypeOf(n)===Object.prototype}function Ui(n,e){const t={...n};return Bc(n)&&Bc(e)&&Object.keys(e).forEach(r=>{Bc(e[r])?r in n?t[r]=Ui(n[r],e[r]):Object.assign(t,{[r]:e[r]}):Object.assign(t,{[r]:e[r]})}),t}class Jt{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=$e(Ne(this,"addOptions",{name:this.name}))),this.storage=$e(Ne(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(e={}){return new Jt(e)}configure(e={}){const t=this.extend();return t.options=Ui(this.options,e),t.storage=$e(Ne(t,"addStorage",{name:t.name,options:t.options})),t}extend(e={}){const t=new Jt(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=$e(Ne(t,"addOptions",{name:t.name})),t.storage=$e(Ne(t,"addStorage",{name:t.name,options:t.options})),t}}function c1(n,e,t){const{from:r,to:o}=e,{blockSeparator:s=`
|
|
72
72
|
|
|
73
|
-
`,textSerializers:i={}}=t||{};let l="",a=!0;return n.nodesBetween(r,o,(u,d,f,h)=>{var p;const m=i==null?void 0:i[u.type.name];m?(u.isBlock&&!a&&(l+=s,a=!0),f&&(l+=m({node:u,pos:d,parent:f,index:h,range:e}))):u.isText?(l+=(p=u==null?void 0:u.text)===null||p===void 0?void 0:p.slice(Math.max(r,d)-d,o-d),a=!1):u.isBlock&&!a&&(l+=s,a=!0)}),l}function u1(n){return Object.fromEntries(Object.entries(n.nodes).filter(([,e])=>e.spec.toText).map(([e,t])=>[e,t.spec.toText]))}const sC=Jt.create({name:"clipboardTextSerializer",addProseMirrorPlugins(){return[new Dt({key:new un("clipboardTextSerializer"),props:{clipboardTextSerializer:()=>{const{editor:n}=this,{state:e,schema:t}=n,{doc:r,selection:o}=e,{ranges:s}=o,i=Math.min(...s.map(d=>d.$from.pos)),l=Math.max(...s.map(d=>d.$to.pos)),a=u1(t);return c1(r,{from:i,to:l},{textSerializers:a})}}})]}}),iC=()=>({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),aC=(n=!1)=>({commands:e})=>e.setContent("",n),lC=()=>({state:n,tr:e,dispatch:t})=>{const{selection:r}=e,{ranges:o}=r;return t&&o.forEach(({$from:s,$to:i})=>{n.doc.nodesBetween(s.pos,i.pos,(l,a)=>{if(l.type.isText)return;const{doc:u,mapping:d}=e,f=u.resolve(d.map(a)),h=u.resolve(d.map(a+l.nodeSize)),p=f.blockRange(h);if(!p)return;const m=go(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},cC=n=>e=>n(e),uC=()=>({state:n,dispatch:e})=>OE(n,e),dC=(n,e)=>({editor:t,tr:r})=>{const{state:o}=t,s=o.doc.slice(n.from,n.to);r.deleteRange(n.from,n.to);const i=r.mapping.map(e);return r.insert(i,s.content),r.setSelection(new ze(r.doc.resolve(i-1))),!0},fC=()=>({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 s=o.depth;s>0;s-=1)if(o.node(s).type===r.type){if(e){const l=o.before(s),a=o.after(s);n.delete(l,a).scrollIntoView()}return!0}return!1},hC=n=>({tr:e,state:t,dispatch:r})=>{const o=ct(n,t.schema),s=e.selection.$anchor;for(let i=s.depth;i>0;i-=1)if(s.node(i).type===o){if(r){const a=s.before(i),u=s.after(i);e.delete(a,u).scrollIntoView()}return!0}return!1},pC=n=>({tr:e,dispatch:t})=>{const{from:r,to:o}=n;return t&&e.delete(r,o),!0},mC=()=>({state:n,dispatch:e})=>CE(n,e),gC=()=>({commands:n})=>n.keyboardShortcut("Enter"),yC=()=>({state:n,dispatch:e})=>ME(n,e);function Ui(n,e,t={strict:!0}){const r=Object.keys(e);return r.length?r.every(o=>t.strict?e[o]===n[o]:Lc(e[o])?e[o].test(n[o]):e[o]===n[o]):!0}function Bc(n,e,t={}){return n.find(r=>r.type===e&&Ui(r.attrs,t))}function vC(n,e,t={}){return!!Bc(n,e,t)}function Pc(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=Bc([...r.node.marks],e,t);if(!o)return;let s=r.index,i=n.start()+r.offset,l=s+1,a=i+r.node.nodeSize;for(Bc([...r.node.marks],e,t);s>0&&o.isInSet(n.parent.child(s-1).marks);)s-=1,i-=n.parent.child(s).nodeSize;for(;l<n.parent.childCount&&vC([...n.parent.child(l).marks],e,t);)a+=n.parent.child(l).nodeSize,l+=1;return{from:i,to:a}}function dr(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 EC=(n,e={})=>({tr:t,state:r,dispatch:o})=>{const s=dr(n,r.schema),{doc:i,selection:l}=t,{$from:a,from:u,to:d}=l;if(o){const f=Pc(a,s,e);if(f&&f.from<=u&&f.to>=d){const h=ze.create(i,f.from,f.to);t.setSelection(h)}}return!0},CC=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 Fc(n){return n instanceof ze}function Fn(n=0,e=0,t=0){return Math.min(Math.max(n,e),t)}function d1(n,e=null){if(!e)return null;const t=Ue.atStart(n),r=Ue.atEnd(n);if(e==="start"||e===!0)return t;if(e==="end")return r;const o=t.from,s=r.to;return e==="all"?ze.create(n,Fn(0,o,s),Fn(n.content.size,o,s)):ze.create(n,Fn(e,o,s),Fn(e,o,s))}function Vc(){return["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document}const AC=(n=null,e={})=>({editor:t,view:r,tr:o,dispatch:s})=>{e={scrollIntoView:!0,...e};const i=()=>{Vc()&&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(s&&n===null&&!Fc(t.state.selection))return i(),!0;const l=d1(o.doc,n)||t.state.selection,a=t.state.selection.eq(l);return s&&(a||o.setSelection(l),a&&o.storedMarks&&o.setStoredMarks(o.storedMarks),i()),!0},bC=(n,e)=>t=>n.every((r,o)=>e(r,{...t,index:o})),wC=(n,e)=>({tr:t,commands:r})=>r.insertContentAt({from:t.selection.from,to:t.selection.to},n,e);function f1(n){const e=`<body>${n}</body>`;return new window.DOMParser().parseFromString(e,"text/html").body}function zi(n,e,t){if(t={slice:!0,parseOptions:{},...t},typeof n=="object"&&n!==null)try{return Array.isArray(n)&&n.length>0?fe.fromArray(n.map(r=>e.nodeFromJSON(r))):e.nodeFromJSON(n)}catch(r){return console.warn("[tiptap warn]: Invalid content.","Passed value:",n,"Error:",r),zi("",e,t)}if(typeof n=="string"){const r=po.fromSchema(e);return t.slice?r.parseSlice(f1(n),t.parseOptions).content:r.parse(f1(n),t.parseOptions)}return zi("",e,t)}function TC(n,e,t){const r=n.steps.length-1;if(r<e)return;const o=n.steps[r];if(!(o instanceof pt||o instanceof lt))return;const s=n.mapping.maps[r];let i=0;s.forEach((l,a,u,d)=>{i===0&&(i=d)}),n.setSelection(Ue.near(n.doc.resolve(i),t))}const SC=n=>n.toString().startsWith("<"),_C=(n,e,t)=>({tr:r,dispatch:o,editor:s})=>{if(o){t={parseOptions:{},updateSelection:!0,...t};const i=zi(e,s.schema,{parseOptions:{preserveWhitespace:"full",...t.parseOptions}});if(i.toString()==="<>")return!0;let{from:l,to:a}=typeof n=="number"?{from:n,to:n}:{from:n.from,to:n.to},u=!0,d=!0;if((SC(i)?i:[i]).forEach(h=>{h.check(),u=u?h.isText&&h.marks.length===0:!1,d=d?h.isBlock:!1}),l===a&&d){const{parent:h}=r.doc.resolve(l);h.isTextblock&&!h.type.spec.code&&!h.childCount&&(l-=1,a+=1)}u?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,i),t.updateSelection&&TC(r,r.steps.length-1,-1)}return!0},kC=()=>({state:n,dispatch:e})=>kE(n,e),NC=()=>({state:n,dispatch:e})=>NE(n,e),IC=()=>({state:n,dispatch:e})=>bE(n,e),xC=()=>({state:n,dispatch:e})=>SE(n,e),MC=()=>({tr:n,state:e,dispatch:t})=>{try{const r=_i(e.doc,e.selection.$from.pos,-1);return r==null?!1:(n.join(r,2),t&&t(n),!0)}catch{return!1}},OC=()=>({state:n,dispatch:e,tr:t})=>{try{const r=_i(n.doc,n.selection.$from.pos,1);return r==null?!1:(t.join(r,2),e&&e(t),!0)}catch{return!1}};function h1(){return typeof navigator<"u"?/Mac/.test(navigator.platform):!1}function LC(n){const e=n.split(/-(?!$)/);let t=e[e.length-1];t==="Space"&&(t=" ");let r,o,s,i;for(let l=0;l<e.length-1;l+=1){const a=e[l];if(/^(cmd|meta|m)$/i.test(a))i=!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))s=!0;else if(/^mod$/i.test(a))Vc()||h1()?i=!0:o=!0;else throw new Error(`Unrecognized modifier name: ${a}`)}return r&&(t=`Alt-${t}`),o&&(t=`Ctrl-${t}`),i&&(t=`Meta-${t}`),s&&(t=`Shift-${t}`),t}const DC=n=>({editor:e,view:t,tr:r,dispatch:o})=>{const s=LC(n).split(/-(?!$)/),i=s.find(u=>!["Alt","Ctrl","Meta","Shift"].includes(u)),l=new KeyboardEvent("keydown",{key:i==="Space"?" ":i,altKey:s.includes("Alt"),ctrlKey:s.includes("Ctrl"),metaKey:s.includes("Meta"),shiftKey:s.includes("Shift"),bubbles:!0,cancelable:!0}),a=e.captureTransaction(()=>{t.someProp("handleKeyDown",u=>u(t,l))});return a==null||a.steps.forEach(u=>{const d=u.map(r.mapping);d&&o&&r.maybeStep(d)}),!0};function ks(n,e,t={}){const{from:r,to:o,empty:s}=n.selection,i=e?ct(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,u=l.filter(f=>i?i.name===f.node.type.name:!0).filter(f=>Ui(f.node.attrs,t,{strict:!1}));return s?!!u.length:u.reduce((f,h)=>f+h.to-h.from,0)>=a}const RC=(n,e={})=>({state:t,dispatch:r})=>{const o=ct(n,t.schema);return ks(t,o,e)?IE(t,r):!1},BC=()=>({state:n,dispatch:e})=>LE(n,e),PC=n=>({state:e,dispatch:t})=>{const r=ct(n,e.schema);return UE(r)(e,t)},FC=()=>({state:n,dispatch:e})=>xE(n,e);function Hi(n,e){return e.nodes[n]?"node":e.marks[n]?"mark":null}function p1(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 VC=(n,e)=>({tr:t,state:r,dispatch:o})=>{let s=null,i=null;const l=Hi(typeof n=="string"?n:n.name,r.schema);return l?(l==="node"&&(s=ct(n,r.schema)),l==="mark"&&(i=dr(n,r.schema)),o&&t.selection.ranges.forEach(a=>{r.doc.nodesBetween(a.$from.pos,a.$to.pos,(u,d)=>{s&&s===u.type&&t.setNodeMarkup(d,void 0,p1(u.attrs,e)),i&&u.marks.length&&u.marks.forEach(f=>{i===f.type&&t.addMark(d,d+u.nodeSize,i.create(p1(f.attrs,e)))})})}),!0):!1},$C=()=>({tr:n,dispatch:e})=>(e&&n.scrollIntoView(),!0),UC=()=>({tr:n,commands:e})=>e.setTextSelection({from:0,to:n.doc.content.size}),zC=()=>({state:n,dispatch:e})=>wE(n,e),HC=()=>({state:n,dispatch:e})=>_E(n,e),jC=()=>({state:n,dispatch:e})=>DE(n,e),WC=()=>({state:n,dispatch:e})=>PE(n,e),KC=()=>({state:n,dispatch:e})=>BE(n,e);function m1(n,e,t={}){return zi(n,e,{slice:!1,parseOptions:t})}const YC=(n,e=!1,t={})=>({tr:r,editor:o,dispatch:s})=>{const{doc:i}=r,l=m1(n,o.schema,t);return s&&r.replaceWith(0,i.content.size,l).setMeta("preventUpdate",!e),!0};function ji(n,e){const t=dr(e,n.schema),{from:r,to:o,empty:s}=n.selection,i=[];s?(n.storedMarks&&i.push(...n.storedMarks),i.push(...n.selection.$head.marks())):n.doc.nodesBetween(r,o,a=>{i.push(...a.marks)});const l=i.find(a=>a.type.name===t.name);return l?{...l.attrs}:{}}function GC(n,e){const t=new xh(n);return e.forEach(r=>{r.steps.forEach(o=>{t.step(o)})}),t}function QC(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 ZC(n,e,t){const r=[];return n.nodesBetween(e.from,e.to,(o,s)=>{t(o)&&r.push({node:o,pos:s})}),r}function JC(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 $c(n){return e=>JC(e.$from,n)}function XC(n,e){const t=En.fromSchema(e).serializeFragment(n),o=document.implementation.createHTMLDocument().createElement("div");return o.appendChild(t),o.innerHTML}function qC(n,e){const t={from:0,to:n.content.size};return c1(n,t,e)}function eA(n,e){const t=ct(e,n.schema),{from:r,to:o}=n.selection,s=[];n.doc.nodesBetween(r,o,l=>{s.push(l)});const i=s.reverse().find(l=>l.type.name===t.name);return i?{...i.attrs}:{}}function g1(n,e){const t=Hi(typeof e=="string"?e:e.name,n.schema);return t==="node"?eA(n,e):t==="mark"?ji(n,e):{}}function tA(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 nA(n){const e=tA(n);return e.length===1?e:e.filter((t,r)=>!e.filter((s,i)=>i!==r).some(s=>t.oldRange.from>=s.oldRange.from&&t.oldRange.to<=s.oldRange.to&&t.newRange.from>=s.newRange.from&&t.newRange.to<=s.newRange.to))}function rA(n){const{mapping:e,steps:t}=n,r=[];return e.maps.forEach((o,s)=>{const i=[];if(o.ranges.length)o.forEach((l,a)=>{i.push({from:l,to:a})});else{const{from:l,to:a}=t[s];if(l===void 0||a===void 0)return;i.push({from:l,to:a})}i.forEach(({from:l,to:a})=>{const u=e.slice(s).map(l,-1),d=e.slice(s).map(a),f=e.invert().map(u,-1),h=e.invert().map(d);r.push({oldRange:{from:f,to:h},newRange:{from:u,to:d}})})}),nA(r)}function Uc(n,e,t){const r=[];return n===e?t.resolve(n).marks().forEach(o=>{const s=t.resolve(n-1),i=Pc(s,o.type);i&&r.push({mark:o,...i})}):t.nodesBetween(n,e,(o,s)=>{r.push(...o.marks.map(i=>({from:s,to:s+o.nodeSize,mark:i})))}),r}function Wi(n,e,t){return Object.fromEntries(Object.entries(t).filter(([r])=>{const o=n.find(s=>s.type===e&&s.name===r);return o?o.attribute.keepOnSplit:!1}))}function zc(n,e,t={}){const{empty:r,ranges:o}=n.selection,s=e?dr(e,n.schema):null;if(r)return!!(n.storedMarks||n.selection.$from.marks()).filter(f=>s?s.name===f.type.name:!0).find(f=>Ui(f.attrs,t,{strict:!1}));let i=0;const l=[];if(o.forEach(({$from:f,$to:h})=>{const p=f.pos,m=h.pos;n.doc.nodesBetween(p,m,(g,y)=>{if(!g.isText&&!g.marks.length)return;const C=Math.max(p,y),w=Math.min(m,y+g.nodeSize),E=w-C;i+=E,l.push(...g.marks.map(v=>({mark:v,from:C,to:w})))})}),i===0)return!1;const a=l.filter(f=>s?s.name===f.mark.type.name:!0).filter(f=>Ui(f.mark.attrs,t,{strict:!1})).reduce((f,h)=>f+h.to-h.from,0),u=l.filter(f=>s?f.mark.type!==s&&f.mark.type.excludes(s):!0).reduce((f,h)=>f+h.to-h.from,0);return(a>0?a+u:a)>=i}function oA(n,e,t={}){if(!e)return ks(n,null,t)||zc(n,null,t);const r=Hi(e,n.schema);return r==="node"?ks(n,e,t):r==="mark"?zc(n,e,t):!1}function y1(n,e){const{nodeExtensions:t}=Vi(e),r=t.find(i=>i.name===n);if(!r)return!1;const o={name:r.name,options:r.options,storage:r.storage},s=$e(Ne(r,"group",o));return typeof s!="string"?!1:s.split(" ").includes("list")}function sA(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 iA(n){return n instanceof Le}function v1(n,e,t){const o=n.state.doc.content.size,s=Fn(e,0,o),i=Fn(t,0,o),l=n.coordsAtPos(s),a=n.coordsAtPos(i,-1),u=Math.min(l.top,a.top),d=Math.max(l.bottom,a.bottom),f=Math.min(l.left,a.left),h=Math.max(l.right,a.right),p=h-f,m=d-u,C={top:u,bottom:d,left:f,right:h,width:p,height:m,x:f,y:u};return{...C,toJSON:()=>C}}function aA(n,e,t){var r;const{selection:o}=e;let s=null;if(Fc(o)&&(s=o.$cursor),s){const l=(r=n.storedMarks)!==null&&r!==void 0?r:s.marks();return!!t.isInSet(l)||!l.some(a=>a.type.excludes(t))}const{ranges:i}=o;return i.some(({$from:l,$to:a})=>{let u=l.depth===0?n.doc.inlineContent&&n.doc.type.allowsMarkType(t):!1;return n.doc.nodesBetween(l.pos,a.pos,(d,f,h)=>{if(u)return!1;if(d.isInline){const p=!h||h.type.allowsMarkType(t),m=!!t.isInSet(d.marks)||!d.marks.some(g=>g.type.excludes(t));u=p&&m}return!u}),u})}const lA=(n,e={})=>({tr:t,state:r,dispatch:o})=>{const{selection:s}=t,{empty:i,ranges:l}=s,a=dr(n,r.schema);if(o)if(i){const u=ji(r,a);t.addStoredMark(a.create({...u,...e}))}else l.forEach(u=>{const d=u.$from.pos,f=u.$to.pos;r.doc.nodesBetween(d,f,(h,p)=>{const m=Math.max(p,d),g=Math.min(p+h.nodeSize,f);h.marks.find(C=>C.type===a)?h.marks.forEach(C=>{a===C.type&&t.addMark(m,g,a.create({...C.attrs,...e}))}):t.addMark(m,g,a.create(e))})});return aA(r,t,a)},cA=(n,e)=>({tr:t})=>(t.setMeta(n,e),!0),uA=(n,e={})=>({state:t,dispatch:r,chain:o})=>{const s=ct(n,t.schema);return s.isTextblock?o().command(({commands:i})=>n1(s,e)(t)?!0:i.clearNodes()).command(({state:i})=>n1(s,e)(i,r)).run():(console.warn('[tiptap warn]: Currently "setNode()" only supports text block nodes.'),!1)},dA=n=>({tr:e,dispatch:t})=>{if(t){const{doc:r}=e,o=Fn(n,0,r.content.size),s=Le.create(r,o);e.setSelection(s)}return!0},fA=n=>({tr:e,dispatch:t})=>{if(t){const{doc:r}=e,{from:o,to:s}=typeof n=="number"?{from:n,to:n}:n,i=ze.atStart(r).from,l=ze.atEnd(r).to,a=Fn(o,i,l),u=Fn(s,i,l),d=ze.create(r,a,u);e.setSelection(d)}return!0},hA=n=>({state:e,dispatch:t})=>{const r=ct(n,e.schema);return jE(r)(e,t)};function E1(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 pA=({keepMarks:n=!0}={})=>({tr:e,state:t,dispatch:r,editor:o})=>{const{selection:s,doc:i}=e,{$from:l,$to:a}=s,u=o.extensionManager.attributes,d=Wi(u,l.node().type.name,l.node().attrs);if(s instanceof Le&&s.node.isBlock)return!l.parentOffset||!yo(i,l.pos)?!1:(r&&(n&&E1(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;s instanceof ze&&e.deleteSelection();const h=l.depth===0?void 0:QC(l.node(-1).contentMatchAt(l.indexAfter(-1)));let p=f&&h?[{type:h,attrs:d}]:void 0,m=yo(e.doc,e.mapping.map(l.pos),1,p);if(!p&&!m&&yo(e.doc,e.mapping.map(l.pos),1,h?[{type:h}]:void 0)&&(m=!0,p=h?[{type:h,attrs:d}]: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()),y=e.doc.resolve(g);l.node(-1).canReplaceWith(y.index(),y.index()+1,h)&&e.setNodeMarkup(e.mapping.map(l.before()),h)}n&&E1(t,o.extensionManager.splittableMarks),e.scrollIntoView()}return!0},mA=n=>({tr:e,state:t,dispatch:r,editor:o})=>{var s;const i=ct(n,t.schema),{$from:l,$to:a}=t.selection,u=t.selection.node;if(u&&u.isBlock||l.depth<2||!l.sameParent(a))return!1;const d=l.node(-1);if(d.type!==i)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!==i||l.index(-2)!==l.node(-2).childCount-1)return!1;if(r){let y=fe.empty;const C=l.index(-1)?1:l.index(-2)?2:3;for(let x=l.depth-C;x>=l.depth-3;x-=1)y=fe.from(l.node(x).copy(y));const w=l.indexAfter(-1)<l.node(-2).childCount?1:l.indexAfter(-2)<l.node(-3).childCount?2:3,E=Wi(f,l.node().type.name,l.node().attrs),v=((s=i.contentMatch.defaultType)===null||s===void 0?void 0:s.createAndFill(E))||void 0;y=y.append(fe.from(i.createAndFill(null,v)||void 0));const N=l.before(l.depth-(C-1));e.replace(N,l.after(-w),new we(y,4-C,0));let b=-1;e.doc.nodesBetween(N,e.doc.content.size,(x,B)=>{if(b>-1)return!1;x.isTextblock&&x.content.size===0&&(b=B+1)}),b>-1&&e.setSelection(ze.near(e.doc.resolve(b))),e.scrollIntoView()}return!0}const h=a.pos===l.end()?d.contentMatchAt(0).defaultType:null,p=Wi(f,d.type.name,d.attrs),m=Wi(f,l.node().type.name,l.node().attrs);e.delete(l.pos,a.pos);const g=h?[{type:i,attrs:p},{type:h,attrs:m}]:[{type:i,attrs:p}];if(!yo(e.doc,l.pos,2))return!1;if(r){const{selection:y,storedMarks:C}=t,{splittableMarks:w}=o.extensionManager,E=C||y.$to.parentOffset&&y.$from.marks();if(e.split(l.pos,2,g).scrollIntoView(),!E||!r)return!0;const v=E.filter(N=>w.includes(N.type.name));e.ensureMarks(v)}return!0},Hc=(n,e)=>{const t=$c(i=>i.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)&&tr(n.doc,t.pos)&&n.join(t.pos),!0},jc=(n,e)=>{const t=$c(i=>i.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)&&tr(n.doc,r)&&n.join(r),!0};var gA=Object.freeze({__proto__:null,blur:iC,clearContent:aC,clearNodes:lC,command:cC,createParagraphNear:uC,cut:dC,deleteCurrentNode:fC,deleteNode:hC,deleteRange:pC,deleteSelection:mC,enter:gC,exitCode:yC,extendMarkRange:EC,first:CC,focus:AC,forEach:bC,insertContent:wC,insertContentAt:_C,joinUp:kC,joinDown:NC,joinBackward:IC,joinForward:xC,joinItemBackward:MC,joinItemForward:OC,keyboardShortcut:DC,lift:RC,liftEmptyBlock:BC,liftListItem:PC,newlineInCode:FC,resetAttributes:VC,scrollIntoView:$C,selectAll:UC,selectNodeBackward:zC,selectNodeForward:HC,selectParentNode:jC,selectTextblockEnd:WC,selectTextblockStart:KC,setContent:YC,setMark:lA,setMeta:cA,setNode:uA,setNodeSelection:dA,setTextSelection:fA,sinkListItem:hA,splitBlock:pA,splitListItem:mA,toggleList:(n,e,t,r={})=>({editor:o,tr:s,state:i,dispatch:l,chain:a,commands:u,can:d})=>{const{extensions:f,splittableMarks:h}=o.extensionManager,p=ct(n,i.schema),m=ct(e,i.schema),{selection:g,storedMarks:y}=i,{$from:C,$to:w}=g,E=C.blockRange(w),v=y||g.$to.parentOffset&&g.$from.marks();if(!E)return!1;const N=$c(b=>y1(b.type.name,f))(g);if(E.depth>=1&&N&&E.depth-N.depth<=1){if(N.node.type===p)return u.liftListItem(m);if(y1(N.node.type.name,f)&&p.validContent(N.node.content)&&l)return a().command(()=>(s.setNodeMarkup(N.pos,p),!0)).command(()=>Hc(s,p)).command(()=>jc(s,p)).run()}return!t||!v||!l?a().command(()=>d().wrapInList(p,r)?!0:u.clearNodes()).wrapInList(p,r).command(()=>Hc(s,p)).command(()=>jc(s,p)).run():a().command(()=>{const b=d().wrapInList(p,r),x=v.filter(B=>h.includes(B.type.name));return s.ensureMarks(x),b?!0:u.clearNodes()}).wrapInList(p,r).command(()=>Hc(s,p)).command(()=>jc(s,p)).run()},toggleMark:(n,e={},t={})=>({state:r,commands:o})=>{const{extendEmptyMarkRange:s=!1}=t,i=dr(n,r.schema);return zc(r,i,e)?o.unsetMark(i,{extendEmptyMarkRange:s}):o.setMark(i,e)},toggleNode:(n,e,t={})=>({state:r,commands:o})=>{const s=ct(n,r.schema),i=ct(e,r.schema);return ks(r,s,t)?o.setNode(i):o.setNode(s,t)},toggleWrap:(n,e={})=>({state:t,commands:r})=>{const o=ct(n,t.schema);return ks(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 s;if(o.spec.isInputRules&&(s=o.getState(n))){if(e){const i=n.tr,l=s.transform;for(let a=l.steps.length-1;a>=0;a-=1)i.step(l.steps[a].invert(l.docs[a]));if(s.text){const a=i.doc.resolve(s.from).marks();i.replaceWith(s.from,s.to,n.schema.text(s.text,a))}else i.delete(s.from,s.to)}return!0}}return!1},unsetAllMarks:()=>({tr:n,dispatch:e})=>{const{selection:t}=n,{empty:r,ranges:o}=t;return r||e&&o.forEach(s=>{n.removeMark(s.$from.pos,s.$to.pos)}),!0},unsetMark:(n,e={})=>({tr:t,state:r,dispatch:o})=>{var s;const{extendEmptyMarkRange:i=!1}=e,{selection:l}=t,a=dr(n,r.schema),{$from:u,empty:d,ranges:f}=l;if(!o)return!0;if(d&&i){let{from:h,to:p}=l;const m=(s=u.marks().find(y=>y.type===a))===null||s===void 0?void 0:s.attrs,g=Pc(u,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 s=null,i=null;const l=Hi(typeof n=="string"?n:n.name,r.schema);return l?(l==="node"&&(s=ct(n,r.schema)),l==="mark"&&(i=dr(n,r.schema)),o&&t.selection.ranges.forEach(a=>{const u=a.$from.pos,d=a.$to.pos;r.doc.nodesBetween(u,d,(f,h)=>{s&&s===f.type&&t.setNodeMarkup(h,void 0,{...f.attrs,...e}),i&&f.marks.length&&f.marks.forEach(p=>{if(i===p.type){const m=Math.max(h,u),g=Math.min(h+f.nodeSize,d);t.addMark(m,g,i.create({...p.attrs,...e}))}})})}),!0):!1},wrapIn:(n,e={})=>({state:t,dispatch:r})=>{const o=ct(n,t.schema);return FE(o,e)(t,r)},wrapInList:(n,e={})=>({state:t,dispatch:r})=>{const o=ct(n,t.schema);return VE(o,e)(t,r)}});const yA=Jt.create({name:"commands",addCommands(){return{...gA}}}),vA=Jt.create({name:"editable",addProseMirrorPlugins(){return[new Dt({key:new un("editable"),props:{editable:()=>this.editor.options.editable}})]}}),EA=Jt.create({name:"focusEvents",addProseMirrorPlugins(){const{editor:n}=this;return[new Dt({key:new un("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}}}})]}}),CA=Jt.create({name:"keymap",addKeyboardShortcuts(){const n=()=>this.editor.commands.first(({commands:i})=>[()=>i.undoInputRule(),()=>i.command(({tr:l})=>{const{selection:a,doc:u}=l,{empty:d,$anchor:f}=a,{pos:h,parent:p}=f,m=f.parent.isTextblock?l.doc.resolve(h-1):f,g=m.parent.type.spec.isolating,y=f.pos-f.parentOffset,C=g&&m.parent.childCount===1?y===f.pos:Ue.atStart(u).from===h;return!d||!C||!p.type.isTextblock||p.textContent.length?!1:i.clearNodes()}),()=>i.deleteSelection(),()=>i.joinBackward(),()=>i.selectNodeBackward()]),e=()=>this.editor.commands.first(({commands:i})=>[()=>i.deleteSelection(),()=>i.deleteCurrentNode(),()=>i.joinForward(),()=>i.selectNodeForward()]),r={Enter:()=>this.editor.commands.first(({commands:i})=>[()=>i.newlineInCode(),()=>i.createParagraphNear(),()=>i.liftEmptyBlock(),()=>i.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},s={...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 Vc()||h1()?s:o},addProseMirrorPlugins(){return[new Dt({key:new un("clearDocument"),appendTransaction:(n,e,t)=>{if(!(n.some(m=>m.docChanged)&&!e.doc.eq(t.doc)))return;const{empty:o,from:s,to:i}=e.selection,l=Ue.atStart(e.doc).from,a=Ue.atEnd(e.doc).to;if(o||!(s===l&&i===a)||!(t.doc.textBetween(0,t.doc.content.size," "," ").length===0))return;const f=t.tr,h=Pi({state:t,transaction:f}),{commands:p}=new Fi({editor:this.editor,state:h});if(p.clearNodes(),!!f.steps.length)return f}})]}}),AA=Jt.create({name:"tabindex",addProseMirrorPlugins(){return[new Dt({key:new un("tabindex"),props:{attributes:this.editor.isEditable?{tabindex:"0"}:{}}})]}});var bA=Object.freeze({__proto__:null,ClipboardTextSerializer:sC,Commands:yA,Editable:vA,FocusEvents:EA,Keymap:CA,Tabindex:AA});const wA=`.ProseMirror {
|
|
73
|
+
`,textSerializers:i={}}=t||{};let l="",a=!0;return n.nodesBetween(r,o,(u,d,f,h)=>{var p;const m=i==null?void 0:i[u.type.name];m?(u.isBlock&&!a&&(l+=s,a=!0),f&&(l+=m({node:u,pos:d,parent:f,index:h,range:e}))):u.isText?(l+=(p=u==null?void 0:u.text)===null||p===void 0?void 0:p.slice(Math.max(r,d)-d,o-d),a=!1):u.isBlock&&!a&&(l+=s,a=!0)}),l}function u1(n){return Object.fromEntries(Object.entries(n.nodes).filter(([,e])=>e.spec.toText).map(([e,t])=>[e,t.spec.toText]))}const iC=Jt.create({name:"clipboardTextSerializer",addProseMirrorPlugins(){return[new Dt({key:new un("clipboardTextSerializer"),props:{clipboardTextSerializer:()=>{const{editor:n}=this,{state:e,schema:t}=n,{doc:r,selection:o}=e,{ranges:s}=o,i=Math.min(...s.map(d=>d.$from.pos)),l=Math.max(...s.map(d=>d.$to.pos)),a=u1(t);return c1(r,{from:i,to:l},{textSerializers:a})}}})]}}),aC=()=>({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),lC=(n=!1)=>({commands:e})=>e.setContent("",n),cC=()=>({state:n,tr:e,dispatch:t})=>{const{selection:r}=e,{ranges:o}=r;return t&&o.forEach(({$from:s,$to:i})=>{n.doc.nodesBetween(s.pos,i.pos,(l,a)=>{if(l.type.isText)return;const{doc:u,mapping:d}=e,f=u.resolve(d.map(a)),h=u.resolve(d.map(a+l.nodeSize)),p=f.blockRange(h);if(!p)return;const m=go(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},uC=n=>e=>n(e),dC=()=>({state:n,dispatch:e})=>LE(n,e),fC=(n,e)=>({editor:t,tr:r})=>{const{state:o}=t,s=o.doc.slice(n.from,n.to);r.deleteRange(n.from,n.to);const i=r.mapping.map(e);return r.insert(i,s.content),r.setSelection(new ze(r.doc.resolve(i-1))),!0},hC=()=>({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 s=o.depth;s>0;s-=1)if(o.node(s).type===r.type){if(e){const l=o.before(s),a=o.after(s);n.delete(l,a).scrollIntoView()}return!0}return!1},pC=n=>({tr:e,state:t,dispatch:r})=>{const o=ct(n,t.schema),s=e.selection.$anchor;for(let i=s.depth;i>0;i-=1)if(s.node(i).type===o){if(r){const a=s.before(i),u=s.after(i);e.delete(a,u).scrollIntoView()}return!0}return!1},mC=n=>({tr:e,dispatch:t})=>{const{from:r,to:o}=n;return t&&e.delete(r,o),!0},gC=()=>({state:n,dispatch:e})=>AE(n,e),yC=()=>({commands:n})=>n.keyboardShortcut("Enter"),vC=()=>({state:n,dispatch:e})=>OE(n,e);function zi(n,e,t={strict:!0}){const r=Object.keys(e);return r.length?r.every(o=>t.strict?e[o]===n[o]:Dc(e[o])?e[o].test(n[o]):e[o]===n[o]):!0}function Pc(n,e,t={}){return n.find(r=>r.type===e&&zi(r.attrs,t))}function EC(n,e,t={}){return!!Pc(n,e,t)}function Fc(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=Pc([...r.node.marks],e,t);if(!o)return;let s=r.index,i=n.start()+r.offset,l=s+1,a=i+r.node.nodeSize;for(Pc([...r.node.marks],e,t);s>0&&o.isInSet(n.parent.child(s-1).marks);)s-=1,i-=n.parent.child(s).nodeSize;for(;l<n.parent.childCount&&EC([...n.parent.child(l).marks],e,t);)a+=n.parent.child(l).nodeSize,l+=1;return{from:i,to:a}}function dr(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 CC=(n,e={})=>({tr:t,state:r,dispatch:o})=>{const s=dr(n,r.schema),{doc:i,selection:l}=t,{$from:a,from:u,to:d}=l;if(o){const f=Fc(a,s,e);if(f&&f.from<=u&&f.to>=d){const h=ze.create(i,f.from,f.to);t.setSelection(h)}}return!0},AC=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 Vc(n){return n instanceof ze}function Fn(n=0,e=0,t=0){return Math.min(Math.max(n,e),t)}function d1(n,e=null){if(!e)return null;const t=Ue.atStart(n),r=Ue.atEnd(n);if(e==="start"||e===!0)return t;if(e==="end")return r;const o=t.from,s=r.to;return e==="all"?ze.create(n,Fn(0,o,s),Fn(n.content.size,o,s)):ze.create(n,Fn(e,o,s),Fn(e,o,s))}function $c(){return["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document}const bC=(n=null,e={})=>({editor:t,view:r,tr:o,dispatch:s})=>{e={scrollIntoView:!0,...e};const i=()=>{$c()&&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(s&&n===null&&!Vc(t.state.selection))return i(),!0;const l=d1(o.doc,n)||t.state.selection,a=t.state.selection.eq(l);return s&&(a||o.setSelection(l),a&&o.storedMarks&&o.setStoredMarks(o.storedMarks),i()),!0},wC=(n,e)=>t=>n.every((r,o)=>e(r,{...t,index:o})),TC=(n,e)=>({tr:t,commands:r})=>r.insertContentAt({from:t.selection.from,to:t.selection.to},n,e);function f1(n){const e=`<body>${n}</body>`;return new window.DOMParser().parseFromString(e,"text/html").body}function Hi(n,e,t){if(t={slice:!0,parseOptions:{},...t},typeof n=="object"&&n!==null)try{return Array.isArray(n)&&n.length>0?fe.fromArray(n.map(r=>e.nodeFromJSON(r))):e.nodeFromJSON(n)}catch(r){return console.warn("[tiptap warn]: Invalid content.","Passed value:",n,"Error:",r),Hi("",e,t)}if(typeof n=="string"){const r=po.fromSchema(e);return t.slice?r.parseSlice(f1(n),t.parseOptions).content:r.parse(f1(n),t.parseOptions)}return Hi("",e,t)}function SC(n,e,t){const r=n.steps.length-1;if(r<e)return;const o=n.steps[r];if(!(o instanceof pt||o instanceof lt))return;const s=n.mapping.maps[r];let i=0;s.forEach((l,a,u,d)=>{i===0&&(i=d)}),n.setSelection(Ue.near(n.doc.resolve(i),t))}const _C=n=>n.toString().startsWith("<"),kC=(n,e,t)=>({tr:r,dispatch:o,editor:s})=>{if(o){t={parseOptions:{},updateSelection:!0,...t};const i=Hi(e,s.schema,{parseOptions:{preserveWhitespace:"full",...t.parseOptions}});if(i.toString()==="<>")return!0;let{from:l,to:a}=typeof n=="number"?{from:n,to:n}:{from:n.from,to:n.to},u=!0,d=!0;if((_C(i)?i:[i]).forEach(h=>{h.check(),u=u?h.isText&&h.marks.length===0:!1,d=d?h.isBlock:!1}),l===a&&d){const{parent:h}=r.doc.resolve(l);h.isTextblock&&!h.type.spec.code&&!h.childCount&&(l-=1,a+=1)}u?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,i),t.updateSelection&&SC(r,r.steps.length-1,-1)}return!0},NC=()=>({state:n,dispatch:e})=>NE(n,e),IC=()=>({state:n,dispatch:e})=>IE(n,e),xC=()=>({state:n,dispatch:e})=>wE(n,e),MC=()=>({state:n,dispatch:e})=>_E(n,e),OC=()=>({tr:n,state:e,dispatch:t})=>{try{const r=ki(e.doc,e.selection.$from.pos,-1);return r==null?!1:(n.join(r,2),t&&t(n),!0)}catch{return!1}},LC=()=>({state:n,dispatch:e,tr:t})=>{try{const r=ki(n.doc,n.selection.$from.pos,1);return r==null?!1:(t.join(r,2),e&&e(t),!0)}catch{return!1}};function h1(){return typeof navigator<"u"?/Mac/.test(navigator.platform):!1}function DC(n){const e=n.split(/-(?!$)/);let t=e[e.length-1];t==="Space"&&(t=" ");let r,o,s,i;for(let l=0;l<e.length-1;l+=1){const a=e[l];if(/^(cmd|meta|m)$/i.test(a))i=!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))s=!0;else if(/^mod$/i.test(a))$c()||h1()?i=!0:o=!0;else throw new Error(`Unrecognized modifier name: ${a}`)}return r&&(t=`Alt-${t}`),o&&(t=`Ctrl-${t}`),i&&(t=`Meta-${t}`),s&&(t=`Shift-${t}`),t}const RC=n=>({editor:e,view:t,tr:r,dispatch:o})=>{const s=DC(n).split(/-(?!$)/),i=s.find(u=>!["Alt","Ctrl","Meta","Shift"].includes(u)),l=new KeyboardEvent("keydown",{key:i==="Space"?" ":i,altKey:s.includes("Alt"),ctrlKey:s.includes("Ctrl"),metaKey:s.includes("Meta"),shiftKey:s.includes("Shift"),bubbles:!0,cancelable:!0}),a=e.captureTransaction(()=>{t.someProp("handleKeyDown",u=>u(t,l))});return a==null||a.steps.forEach(u=>{const d=u.map(r.mapping);d&&o&&r.maybeStep(d)}),!0};function Is(n,e,t={}){const{from:r,to:o,empty:s}=n.selection,i=e?ct(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,u=l.filter(f=>i?i.name===f.node.type.name:!0).filter(f=>zi(f.node.attrs,t,{strict:!1}));return s?!!u.length:u.reduce((f,h)=>f+h.to-h.from,0)>=a}const BC=(n,e={})=>({state:t,dispatch:r})=>{const o=ct(n,t.schema);return Is(t,o,e)?xE(t,r):!1},PC=()=>({state:n,dispatch:e})=>DE(n,e),FC=n=>({state:e,dispatch:t})=>{const r=ct(n,e.schema);return zE(r)(e,t)},VC=()=>({state:n,dispatch:e})=>ME(n,e);function ji(n,e){return e.nodes[n]?"node":e.marks[n]?"mark":null}function p1(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 $C=(n,e)=>({tr:t,state:r,dispatch:o})=>{let s=null,i=null;const l=ji(typeof n=="string"?n:n.name,r.schema);return l?(l==="node"&&(s=ct(n,r.schema)),l==="mark"&&(i=dr(n,r.schema)),o&&t.selection.ranges.forEach(a=>{r.doc.nodesBetween(a.$from.pos,a.$to.pos,(u,d)=>{s&&s===u.type&&t.setNodeMarkup(d,void 0,p1(u.attrs,e)),i&&u.marks.length&&u.marks.forEach(f=>{i===f.type&&t.addMark(d,d+u.nodeSize,i.create(p1(f.attrs,e)))})})}),!0):!1},UC=()=>({tr:n,dispatch:e})=>(e&&n.scrollIntoView(),!0),zC=()=>({tr:n,commands:e})=>e.setTextSelection({from:0,to:n.doc.content.size}),HC=()=>({state:n,dispatch:e})=>TE(n,e),jC=()=>({state:n,dispatch:e})=>kE(n,e),WC=()=>({state:n,dispatch:e})=>RE(n,e),KC=()=>({state:n,dispatch:e})=>FE(n,e),YC=()=>({state:n,dispatch:e})=>PE(n,e);function m1(n,e,t={}){return Hi(n,e,{slice:!1,parseOptions:t})}const GC=(n,e=!1,t={})=>({tr:r,editor:o,dispatch:s})=>{const{doc:i}=r,l=m1(n,o.schema,t);return s&&r.replaceWith(0,i.content.size,l).setMeta("preventUpdate",!e),!0};function Wi(n,e){const t=dr(e,n.schema),{from:r,to:o,empty:s}=n.selection,i=[];s?(n.storedMarks&&i.push(...n.storedMarks),i.push(...n.selection.$head.marks())):n.doc.nodesBetween(r,o,a=>{i.push(...a.marks)});const l=i.find(a=>a.type.name===t.name);return l?{...l.attrs}:{}}function QC(n,e){const t=new xh(n);return e.forEach(r=>{r.steps.forEach(o=>{t.step(o)})}),t}function ZC(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 JC(n,e,t){const r=[];return n.nodesBetween(e.from,e.to,(o,s)=>{t(o)&&r.push({node:o,pos:s})}),r}function XC(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 Uc(n){return e=>XC(e.$from,n)}function qC(n,e){const t=En.fromSchema(e).serializeFragment(n),o=document.implementation.createHTMLDocument().createElement("div");return o.appendChild(t),o.innerHTML}function eA(n,e){const t={from:0,to:n.content.size};return c1(n,t,e)}function tA(n,e){const t=ct(e,n.schema),{from:r,to:o}=n.selection,s=[];n.doc.nodesBetween(r,o,l=>{s.push(l)});const i=s.reverse().find(l=>l.type.name===t.name);return i?{...i.attrs}:{}}function g1(n,e){const t=ji(typeof e=="string"?e:e.name,n.schema);return t==="node"?tA(n,e):t==="mark"?Wi(n,e):{}}function nA(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 rA(n){const e=nA(n);return e.length===1?e:e.filter((t,r)=>!e.filter((s,i)=>i!==r).some(s=>t.oldRange.from>=s.oldRange.from&&t.oldRange.to<=s.oldRange.to&&t.newRange.from>=s.newRange.from&&t.newRange.to<=s.newRange.to))}function oA(n){const{mapping:e,steps:t}=n,r=[];return e.maps.forEach((o,s)=>{const i=[];if(o.ranges.length)o.forEach((l,a)=>{i.push({from:l,to:a})});else{const{from:l,to:a}=t[s];if(l===void 0||a===void 0)return;i.push({from:l,to:a})}i.forEach(({from:l,to:a})=>{const u=e.slice(s).map(l,-1),d=e.slice(s).map(a),f=e.invert().map(u,-1),h=e.invert().map(d);r.push({oldRange:{from:f,to:h},newRange:{from:u,to:d}})})}),rA(r)}function zc(n,e,t){const r=[];return n===e?t.resolve(n).marks().forEach(o=>{const s=t.resolve(n-1),i=Fc(s,o.type);i&&r.push({mark:o,...i})}):t.nodesBetween(n,e,(o,s)=>{r.push(...o.marks.map(i=>({from:s,to:s+o.nodeSize,mark:i})))}),r}function Ki(n,e,t){return Object.fromEntries(Object.entries(t).filter(([r])=>{const o=n.find(s=>s.type===e&&s.name===r);return o?o.attribute.keepOnSplit:!1}))}function Hc(n,e,t={}){const{empty:r,ranges:o}=n.selection,s=e?dr(e,n.schema):null;if(r)return!!(n.storedMarks||n.selection.$from.marks()).filter(f=>s?s.name===f.type.name:!0).find(f=>zi(f.attrs,t,{strict:!1}));let i=0;const l=[];if(o.forEach(({$from:f,$to:h})=>{const p=f.pos,m=h.pos;n.doc.nodesBetween(p,m,(g,y)=>{if(!g.isText&&!g.marks.length)return;const C=Math.max(p,y),b=Math.min(m,y+g.nodeSize),E=b-C;i+=E,l.push(...g.marks.map(v=>({mark:v,from:C,to:b})))})}),i===0)return!1;const a=l.filter(f=>s?s.name===f.mark.type.name:!0).filter(f=>zi(f.mark.attrs,t,{strict:!1})).reduce((f,h)=>f+h.to-h.from,0),u=l.filter(f=>s?f.mark.type!==s&&f.mark.type.excludes(s):!0).reduce((f,h)=>f+h.to-h.from,0);return(a>0?a+u:a)>=i}function sA(n,e,t={}){if(!e)return Is(n,null,t)||Hc(n,null,t);const r=ji(e,n.schema);return r==="node"?Is(n,e,t):r==="mark"?Hc(n,e,t):!1}function y1(n,e){const{nodeExtensions:t}=$i(e),r=t.find(i=>i.name===n);if(!r)return!1;const o={name:r.name,options:r.options,storage:r.storage},s=$e(Ne(r,"group",o));return typeof s!="string"?!1:s.split(" ").includes("list")}function iA(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 aA(n){return n instanceof Le}function v1(n,e,t){const o=n.state.doc.content.size,s=Fn(e,0,o),i=Fn(t,0,o),l=n.coordsAtPos(s),a=n.coordsAtPos(i,-1),u=Math.min(l.top,a.top),d=Math.max(l.bottom,a.bottom),f=Math.min(l.left,a.left),h=Math.max(l.right,a.right),p=h-f,m=d-u,C={top:u,bottom:d,left:f,right:h,width:p,height:m,x:f,y:u};return{...C,toJSON:()=>C}}function lA(n,e,t){var r;const{selection:o}=e;let s=null;if(Vc(o)&&(s=o.$cursor),s){const l=(r=n.storedMarks)!==null&&r!==void 0?r:s.marks();return!!t.isInSet(l)||!l.some(a=>a.type.excludes(t))}const{ranges:i}=o;return i.some(({$from:l,$to:a})=>{let u=l.depth===0?n.doc.inlineContent&&n.doc.type.allowsMarkType(t):!1;return n.doc.nodesBetween(l.pos,a.pos,(d,f,h)=>{if(u)return!1;if(d.isInline){const p=!h||h.type.allowsMarkType(t),m=!!t.isInSet(d.marks)||!d.marks.some(g=>g.type.excludes(t));u=p&&m}return!u}),u})}const cA=(n,e={})=>({tr:t,state:r,dispatch:o})=>{const{selection:s}=t,{empty:i,ranges:l}=s,a=dr(n,r.schema);if(o)if(i){const u=Wi(r,a);t.addStoredMark(a.create({...u,...e}))}else l.forEach(u=>{const d=u.$from.pos,f=u.$to.pos;r.doc.nodesBetween(d,f,(h,p)=>{const m=Math.max(p,d),g=Math.min(p+h.nodeSize,f);h.marks.find(C=>C.type===a)?h.marks.forEach(C=>{a===C.type&&t.addMark(m,g,a.create({...C.attrs,...e}))}):t.addMark(m,g,a.create(e))})});return lA(r,t,a)},uA=(n,e)=>({tr:t})=>(t.setMeta(n,e),!0),dA=(n,e={})=>({state:t,dispatch:r,chain:o})=>{const s=ct(n,t.schema);return s.isTextblock?o().command(({commands:i})=>n1(s,e)(t)?!0:i.clearNodes()).command(({state:i})=>n1(s,e)(i,r)).run():(console.warn('[tiptap warn]: Currently "setNode()" only supports text block nodes.'),!1)},fA=n=>({tr:e,dispatch:t})=>{if(t){const{doc:r}=e,o=Fn(n,0,r.content.size),s=Le.create(r,o);e.setSelection(s)}return!0},hA=n=>({tr:e,dispatch:t})=>{if(t){const{doc:r}=e,{from:o,to:s}=typeof n=="number"?{from:n,to:n}:n,i=ze.atStart(r).from,l=ze.atEnd(r).to,a=Fn(o,i,l),u=Fn(s,i,l),d=ze.create(r,a,u);e.setSelection(d)}return!0},pA=n=>({state:e,dispatch:t})=>{const r=ct(n,e.schema);return WE(r)(e,t)};function E1(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 mA=({keepMarks:n=!0}={})=>({tr:e,state:t,dispatch:r,editor:o})=>{const{selection:s,doc:i}=e,{$from:l,$to:a}=s,u=o.extensionManager.attributes,d=Ki(u,l.node().type.name,l.node().attrs);if(s instanceof Le&&s.node.isBlock)return!l.parentOffset||!yo(i,l.pos)?!1:(r&&(n&&E1(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;s instanceof ze&&e.deleteSelection();const h=l.depth===0?void 0:ZC(l.node(-1).contentMatchAt(l.indexAfter(-1)));let p=f&&h?[{type:h,attrs:d}]:void 0,m=yo(e.doc,e.mapping.map(l.pos),1,p);if(!p&&!m&&yo(e.doc,e.mapping.map(l.pos),1,h?[{type:h}]:void 0)&&(m=!0,p=h?[{type:h,attrs:d}]: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()),y=e.doc.resolve(g);l.node(-1).canReplaceWith(y.index(),y.index()+1,h)&&e.setNodeMarkup(e.mapping.map(l.before()),h)}n&&E1(t,o.extensionManager.splittableMarks),e.scrollIntoView()}return!0},gA=n=>({tr:e,state:t,dispatch:r,editor:o})=>{var s;const i=ct(n,t.schema),{$from:l,$to:a}=t.selection,u=t.selection.node;if(u&&u.isBlock||l.depth<2||!l.sameParent(a))return!1;const d=l.node(-1);if(d.type!==i)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!==i||l.index(-2)!==l.node(-2).childCount-1)return!1;if(r){let y=fe.empty;const C=l.index(-1)?1:l.index(-2)?2:3;for(let x=l.depth-C;x>=l.depth-3;x-=1)y=fe.from(l.node(x).copy(y));const b=l.indexAfter(-1)<l.node(-2).childCount?1:l.indexAfter(-2)<l.node(-3).childCount?2:3,E=Ki(f,l.node().type.name,l.node().attrs),v=((s=i.contentMatch.defaultType)===null||s===void 0?void 0:s.createAndFill(E))||void 0;y=y.append(fe.from(i.createAndFill(null,v)||void 0));const N=l.before(l.depth-(C-1));e.replace(N,l.after(-b),new we(y,4-C,0));let w=-1;e.doc.nodesBetween(N,e.doc.content.size,(x,B)=>{if(w>-1)return!1;x.isTextblock&&x.content.size===0&&(w=B+1)}),w>-1&&e.setSelection(ze.near(e.doc.resolve(w))),e.scrollIntoView()}return!0}const h=a.pos===l.end()?d.contentMatchAt(0).defaultType:null,p=Ki(f,d.type.name,d.attrs),m=Ki(f,l.node().type.name,l.node().attrs);e.delete(l.pos,a.pos);const g=h?[{type:i,attrs:p},{type:h,attrs:m}]:[{type:i,attrs:p}];if(!yo(e.doc,l.pos,2))return!1;if(r){const{selection:y,storedMarks:C}=t,{splittableMarks:b}=o.extensionManager,E=C||y.$to.parentOffset&&y.$from.marks();if(e.split(l.pos,2,g).scrollIntoView(),!E||!r)return!0;const v=E.filter(N=>b.includes(N.type.name));e.ensureMarks(v)}return!0},jc=(n,e)=>{const t=Uc(i=>i.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)&&tr(n.doc,t.pos)&&n.join(t.pos),!0},Wc=(n,e)=>{const t=Uc(i=>i.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)&&tr(n.doc,r)&&n.join(r),!0};var yA=Object.freeze({__proto__:null,blur:aC,clearContent:lC,clearNodes:cC,command:uC,createParagraphNear:dC,cut:fC,deleteCurrentNode:hC,deleteNode:pC,deleteRange:mC,deleteSelection:gC,enter:yC,exitCode:vC,extendMarkRange:CC,first:AC,focus:bC,forEach:wC,insertContent:TC,insertContentAt:kC,joinUp:NC,joinDown:IC,joinBackward:xC,joinForward:MC,joinItemBackward:OC,joinItemForward:LC,keyboardShortcut:RC,lift:BC,liftEmptyBlock:PC,liftListItem:FC,newlineInCode:VC,resetAttributes:$C,scrollIntoView:UC,selectAll:zC,selectNodeBackward:HC,selectNodeForward:jC,selectParentNode:WC,selectTextblockEnd:KC,selectTextblockStart:YC,setContent:GC,setMark:cA,setMeta:uA,setNode:dA,setNodeSelection:fA,setTextSelection:hA,sinkListItem:pA,splitBlock:mA,splitListItem:gA,toggleList:(n,e,t,r={})=>({editor:o,tr:s,state:i,dispatch:l,chain:a,commands:u,can:d})=>{const{extensions:f,splittableMarks:h}=o.extensionManager,p=ct(n,i.schema),m=ct(e,i.schema),{selection:g,storedMarks:y}=i,{$from:C,$to:b}=g,E=C.blockRange(b),v=y||g.$to.parentOffset&&g.$from.marks();if(!E)return!1;const N=Uc(w=>y1(w.type.name,f))(g);if(E.depth>=1&&N&&E.depth-N.depth<=1){if(N.node.type===p)return u.liftListItem(m);if(y1(N.node.type.name,f)&&p.validContent(N.node.content)&&l)return a().command(()=>(s.setNodeMarkup(N.pos,p),!0)).command(()=>jc(s,p)).command(()=>Wc(s,p)).run()}return!t||!v||!l?a().command(()=>d().wrapInList(p,r)?!0:u.clearNodes()).wrapInList(p,r).command(()=>jc(s,p)).command(()=>Wc(s,p)).run():a().command(()=>{const w=d().wrapInList(p,r),x=v.filter(B=>h.includes(B.type.name));return s.ensureMarks(x),w?!0:u.clearNodes()}).wrapInList(p,r).command(()=>jc(s,p)).command(()=>Wc(s,p)).run()},toggleMark:(n,e={},t={})=>({state:r,commands:o})=>{const{extendEmptyMarkRange:s=!1}=t,i=dr(n,r.schema);return Hc(r,i,e)?o.unsetMark(i,{extendEmptyMarkRange:s}):o.setMark(i,e)},toggleNode:(n,e,t={})=>({state:r,commands:o})=>{const s=ct(n,r.schema),i=ct(e,r.schema);return Is(r,s,t)?o.setNode(i):o.setNode(s,t)},toggleWrap:(n,e={})=>({state:t,commands:r})=>{const o=ct(n,t.schema);return Is(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 s;if(o.spec.isInputRules&&(s=o.getState(n))){if(e){const i=n.tr,l=s.transform;for(let a=l.steps.length-1;a>=0;a-=1)i.step(l.steps[a].invert(l.docs[a]));if(s.text){const a=i.doc.resolve(s.from).marks();i.replaceWith(s.from,s.to,n.schema.text(s.text,a))}else i.delete(s.from,s.to)}return!0}}return!1},unsetAllMarks:()=>({tr:n,dispatch:e})=>{const{selection:t}=n,{empty:r,ranges:o}=t;return r||e&&o.forEach(s=>{n.removeMark(s.$from.pos,s.$to.pos)}),!0},unsetMark:(n,e={})=>({tr:t,state:r,dispatch:o})=>{var s;const{extendEmptyMarkRange:i=!1}=e,{selection:l}=t,a=dr(n,r.schema),{$from:u,empty:d,ranges:f}=l;if(!o)return!0;if(d&&i){let{from:h,to:p}=l;const m=(s=u.marks().find(y=>y.type===a))===null||s===void 0?void 0:s.attrs,g=Fc(u,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 s=null,i=null;const l=ji(typeof n=="string"?n:n.name,r.schema);return l?(l==="node"&&(s=ct(n,r.schema)),l==="mark"&&(i=dr(n,r.schema)),o&&t.selection.ranges.forEach(a=>{const u=a.$from.pos,d=a.$to.pos;r.doc.nodesBetween(u,d,(f,h)=>{s&&s===f.type&&t.setNodeMarkup(h,void 0,{...f.attrs,...e}),i&&f.marks.length&&f.marks.forEach(p=>{if(i===p.type){const m=Math.max(h,u),g=Math.min(h+f.nodeSize,d);t.addMark(m,g,i.create({...p.attrs,...e}))}})})}),!0):!1},wrapIn:(n,e={})=>({state:t,dispatch:r})=>{const o=ct(n,t.schema);return VE(o,e)(t,r)},wrapInList:(n,e={})=>({state:t,dispatch:r})=>{const o=ct(n,t.schema);return $E(o,e)(t,r)}});const vA=Jt.create({name:"commands",addCommands(){return{...yA}}}),EA=Jt.create({name:"editable",addProseMirrorPlugins(){return[new Dt({key:new un("editable"),props:{editable:()=>this.editor.options.editable}})]}}),CA=Jt.create({name:"focusEvents",addProseMirrorPlugins(){const{editor:n}=this;return[new Dt({key:new un("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}}}})]}}),AA=Jt.create({name:"keymap",addKeyboardShortcuts(){const n=()=>this.editor.commands.first(({commands:i})=>[()=>i.undoInputRule(),()=>i.command(({tr:l})=>{const{selection:a,doc:u}=l,{empty:d,$anchor:f}=a,{pos:h,parent:p}=f,m=f.parent.isTextblock?l.doc.resolve(h-1):f,g=m.parent.type.spec.isolating,y=f.pos-f.parentOffset,C=g&&m.parent.childCount===1?y===f.pos:Ue.atStart(u).from===h;return!d||!C||!p.type.isTextblock||p.textContent.length?!1:i.clearNodes()}),()=>i.deleteSelection(),()=>i.joinBackward(),()=>i.selectNodeBackward()]),e=()=>this.editor.commands.first(({commands:i})=>[()=>i.deleteSelection(),()=>i.deleteCurrentNode(),()=>i.joinForward(),()=>i.selectNodeForward()]),r={Enter:()=>this.editor.commands.first(({commands:i})=>[()=>i.newlineInCode(),()=>i.createParagraphNear(),()=>i.liftEmptyBlock(),()=>i.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},s={...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 $c()||h1()?s:o},addProseMirrorPlugins(){return[new Dt({key:new un("clearDocument"),appendTransaction:(n,e,t)=>{if(!(n.some(m=>m.docChanged)&&!e.doc.eq(t.doc)))return;const{empty:o,from:s,to:i}=e.selection,l=Ue.atStart(e.doc).from,a=Ue.atEnd(e.doc).to;if(o||!(s===l&&i===a)||!(t.doc.textBetween(0,t.doc.content.size," "," ").length===0))return;const f=t.tr,h=Fi({state:t,transaction:f}),{commands:p}=new Vi({editor:this.editor,state:h});if(p.clearNodes(),!!f.steps.length)return f}})]}}),bA=Jt.create({name:"tabindex",addProseMirrorPlugins(){return[new Dt({key:new un("tabindex"),props:{attributes:this.editor.isEditable?{tabindex:"0"}:{}}})]}});var wA=Object.freeze({__proto__:null,ClipboardTextSerializer:iC,Commands:vA,Editable:EA,FocusEvents:CA,Keymap:AA,Tabindex:bA});const TA=`.ProseMirror {
|
|
74
74
|
position: relative;
|
|
75
75
|
}
|
|
76
76
|
|
|
@@ -144,64 +144,64 @@ img.ProseMirror-separator {
|
|
|
144
144
|
|
|
145
145
|
.tippy-box[data-animation=fade][data-state=hidden] {
|
|
146
146
|
opacity: 0
|
|
147
|
-
}`;function
|
|
147
|
+
}`;function SA(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 _A=class extends KE{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=SA(TA,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=o1(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(wA):[],...this.options.extensions].filter(r=>["extension","node","mark"].includes(r==null?void 0:r.type));this.extensionManager=new No(t,this)}createCommandManager(){this.commandManager=new Vi({editor:this})}createSchema(){this.schema=this.extensionManager.schema}createView(){const e=m1(this.options.content,this.schema,this.options.parseOptions),t=d1(e,this.options.autofocus);this.view=new uE(this.options.element,{...this.options.editorProps,dispatchTransaction:this.dispatchTransaction.bind(this),state:Ao.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(i=>{var l;return(l=this.capturedTransaction)===null||l===void 0?void 0:l.step(i)});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"),s=e.getMeta("blur");o&&this.emit("focus",{editor:this,event:o.event,transaction:e}),s&&this.emit("blur",{editor:this,event:s.event,transaction:e}),!(!e.docChanged||e.getMeta("preventUpdate"))&&this.emit("update",{editor:this,transaction:e})}getAttributes(e){return g1(this.state,e)}isActive(e,t){const r=typeof e=="string"?e:null,o=typeof e=="string"?t:e;return sA(this.state,r,o)}getJSON(){return this.state.doc.toJSON()}getHTML(){return qC(this.state.doc.content,this.schema)}getText(e){const{blockSeparator:t=`
|
|
148
148
|
|
|
149
|
-
`,textSerializers:r={}}=e||{};return qC(this.state.doc,{blockSeparator:t,textSerializers:{...u1(this.schema),...r}})}get isEmpty(){return sA(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 Ki(n){return new l1({find:n.find,handler:({state:e,range:t,match:r})=>{const o=$e(n.getAttributes,void 0,r);if(o===!1||o===null)return null;const{tr:s}=e,i=r[r.length-1],l=r[0];if(i){const a=l.search(/\S/),u=t.from+l.indexOf(i),d=u+i.length;if(Uc(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>u).length)return null;d<t.to&&s.delete(d,t.to),u>t.from&&s.delete(t.from+a,u);const h=t.from+a+i.length;s.addMark(t.from+a,h,n.type.create(o||{})),s.removeStoredMark(n.type)}}})}function Yi(n){return new l1({find:n.find,handler:({state:e,range:t,match:r,chain:o})=>{const s=$e(n.getAttributes,void 0,r)||{},i=e.tr.delete(t.from,t.to),a=i.doc.resolve(t.from).blockRange(),u=a&&Xl(a,n.type,s);if(!u)return null;if(i.wrap(a,u),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(y=>p.includes(y.type.name));i.ensureMarks(g)}}if(n.keepAttributes){const f=n.type.name==="bulletList"||n.type.name==="orderedList"?"listItem":"taskList";o().updateAttributes(f,s).run()}const d=i.doc.resolve(t.from-1).nodeBefore;d&&d.type===n.type&&tr(i.doc,t.from-1)&&(!n.joinPredicate||n.joinPredicate(r,d))&&i.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=$e(Ne(this,"addOptions",{name:this.name}))),this.storage=$e(Ne(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(e={}){return new Tn(e)}configure(e={}){const t=this.extend();return t.options=$i(this.options,e),t.storage=$e(Ne(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=$e(Ne(t,"addOptions",{name:t.name})),t.storage=$e(Ne(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 i=o.marks();if(!!!i.find(u=>(u==null?void 0:u.type.name)===t.name))return!1;const a=i.find(u=>(u==null?void 0:u.type.name)===t.name);return a&&r.removeStoredMark(a),r.insertText(" ",o.pos),e.view.dispatch(r),!0}return!1}}let Vn=class Md{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=$e(Ne(this,"addOptions",{name:this.name}))),this.storage=$e(Ne(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(e={}){return new Md(e)}configure(e={}){const t=this.extend();return t.options=$i(this.options,e),t.storage=$e(Ne(t,"addStorage",{name:t.name,options:t.options})),t}extend(e={}){const t=new Md(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=$e(Ne(t,"addOptions",{name:t.name})),t.storage=$e(Ne(t,"addStorage",{name:t.name,options:t.options})),t}};function Ns(n){return new qE({find:n.find,handler:({state:e,range:t,match:r,pasteEvent:o})=>{const s=$e(n.getAttributes,void 0,r,o);if(s===!1||s===null)return null;const{tr:i}=e,l=r[r.length-1],a=r[0];let u=t.to;if(l){const d=a.search(/\S/),f=t.from+a.indexOf(l),h=f+l.length;if(Uc(t.from,t.to,e.doc).filter(m=>m.mark.type.excluded.find(y=>y===n.type&&y!==m.mark.type)).filter(m=>m.to>f).length)return null;h<t.to&&i.delete(h,t.to),f>t.from&&i.delete(t.from+d,f),u=t.from+d+l.length,i.addMark(t.from+d,u,n.type.create(s||{})),i.removeStoredMark(n.type)}}})}var kt="top",Ut="bottom",zt="right",Nt="left",Is="auto",Io=[kt,Ut,zt,Nt],Gr="start",xo="end",C1="clippingParents",Wc="viewport",Mo="popper",A1="reference",Kc=Io.reduce(function(n,e){return n.concat([e+"-"+Gr,e+"-"+xo])},[]),Yc=[].concat(Io,[Is]).reduce(function(n,e){return n.concat([e,e+"-"+Gr,e+"-"+xo])},[]),b1="beforeRead",w1="read",T1="afterRead",S1="beforeMain",_1="main",k1="afterMain",N1="beforeWrite",I1="write",x1="afterWrite",Gi=[b1,w1,T1,S1,_1,k1,N1,I1,x1];function Sn(n){return n?(n.nodeName||"").toLowerCase():null}function Ht(n){if(n==null)return window;if(n.toString()!=="[object Window]"){var e=n.ownerDocument;return e&&e.defaultView||window}return n}function Qr(n){var e=Ht(n).Element;return n instanceof e||n instanceof Element}function jt(n){var e=Ht(n).HTMLElement;return n instanceof e||n instanceof HTMLElement}function Gc(n){if(typeof ShadowRoot>"u")return!1;var e=Ht(n).ShadowRoot;return n instanceof e||n instanceof ShadowRoot}function _A(n){var e=n.state;Object.keys(e.elements).forEach(function(t){var r=e.styles[t]||{},o=e.attributes[t]||{},s=e.elements[t];!jt(s)||!Sn(s)||(Object.assign(s.style,r),Object.keys(o).forEach(function(i){var l=o[i];l===!1?s.removeAttribute(i):s.setAttribute(i,l===!0?"":l)}))})}function kA(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],s=e.attributes[r]||{},i=Object.keys(e.styles.hasOwnProperty(r)?e.styles[r]:t[r]),l=i.reduce(function(a,u){return a[u]="",a},{});!jt(o)||!Sn(o)||(Object.assign(o.style,l),Object.keys(s).forEach(function(a){o.removeAttribute(a)}))})}}const Qi={name:"applyStyles",enabled:!0,phase:"write",fn:_A,effect:kA,requires:["computeStyles"]};function hn(n){return n.split("-")[0]}var Zr=Math.max,Zi=Math.min,Oo=Math.round;function Qc(){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 M1(){return!/^((?!chrome|android).)*safari/i.test(Qc())}function Lo(n,e,t){e===void 0&&(e=!1),t===void 0&&(t=!1);var r=n.getBoundingClientRect(),o=1,s=1;e&&jt(n)&&(o=n.offsetWidth>0&&Oo(r.width)/n.offsetWidth||1,s=n.offsetHeight>0&&Oo(r.height)/n.offsetHeight||1);var i=Qr(n)?Ht(n):window,l=i.visualViewport,a=!M1()&&t,u=(r.left+(a&&l?l.offsetLeft:0))/o,d=(r.top+(a&&l?l.offsetTop:0))/s,f=r.width/o,h=r.height/s;return{width:f,height:h,top:d,right:u+f,bottom:d+h,left:u,x:u,y:d}}function Zc(n){var e=Lo(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&&Gc(t)){var r=e;do{if(r&&n.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function pn(n){return Ht(n).getComputedStyle(n)}function NA(n){return["table","td","th"].indexOf(Sn(n))>=0}function fr(n){return((Qr(n)?n.ownerDocument:n.document)||window.document).documentElement}function Ji(n){return Sn(n)==="html"?n:n.assignedSlot||n.parentNode||(Gc(n)?n.host:null)||fr(n)}function L1(n){return!jt(n)||pn(n).position==="fixed"?null:n.offsetParent}function IA(n){var e=/firefox/i.test(Qc()),t=/Trident/i.test(Qc());if(t&&jt(n)){var r=pn(n);if(r.position==="fixed")return null}var o=Ji(n);for(Gc(o)&&(o=o.host);jt(o)&&["html","body"].indexOf(Sn(o))<0;){var s=pn(o);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||e&&s.willChange==="filter"||e&&s.filter&&s.filter!=="none")return o;o=o.parentNode}return null}function xs(n){for(var e=Ht(n),t=L1(n);t&&NA(t)&&pn(t).position==="static";)t=L1(t);return t&&(Sn(t)==="html"||Sn(t)==="body"&&pn(t).position==="static")?e:t||IA(n)||e}function Jc(n){return["top","bottom"].indexOf(n)>=0?"x":"y"}function Ms(n,e,t){return Zr(n,Zi(e,t))}function xA(n,e,t){var r=Ms(n,e,t);return r>t?t:r}function D1(){return{top:0,right:0,bottom:0,left:0}}function R1(n){return Object.assign({},D1(),n)}function B1(n,e){return e.reduce(function(t,r){return t[r]=n,t},{})}var MA=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,R1(typeof e!="number"?e:B1(e,Io))};function OA(n){var e,t=n.state,r=n.name,o=n.options,s=t.elements.arrow,i=t.modifiersData.popperOffsets,l=hn(t.placement),a=Jc(l),u=[Nt,zt].indexOf(l)>=0,d=u?"height":"width";if(!(!s||!i)){var f=MA(o.padding,t),h=Zc(s),p=a==="y"?kt:Nt,m=a==="y"?Ut:zt,g=t.rects.reference[d]+t.rects.reference[a]-i[a]-t.rects.popper[d],y=i[a]-t.rects.reference[a],C=xs(s),w=C?a==="y"?C.clientHeight||0:C.clientWidth||0:0,E=g/2-y/2,v=f[p],N=w-h[d]-f[m],b=w/2-h[d]/2+E,x=Ms(v,b,N),B=a;t.modifiersData[r]=(e={},e[B]=x,e.centerOffset=x-b,e)}}function LA(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"&&(jt(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 P1={name:"arrow",enabled:!0,phase:"main",fn:OA,effect:LA,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Do(n){return n.split("-")[1]}var DA={top:"auto",right:"auto",bottom:"auto",left:"auto"};function RA(n,e){var t=n.x,r=n.y,o=e.devicePixelRatio||1;return{x:Oo(t*o)/o||0,y:Oo(r*o)/o||0}}function F1(n){var e,t=n.popper,r=n.popperRect,o=n.placement,s=n.variation,i=n.offsets,l=n.position,a=n.gpuAcceleration,u=n.adaptive,d=n.roundOffsets,f=n.isFixed,h=i.x,p=h===void 0?0:h,m=i.y,g=m===void 0?0:m,y=typeof d=="function"?d({x:p,y:g}):{x:p,y:g};p=y.x,g=y.y;var C=i.hasOwnProperty("x"),w=i.hasOwnProperty("y"),E=Nt,v=kt,N=window;if(u){var b=xs(t),x="clientHeight",B="clientWidth";if(b===Ht(t)&&(b=fr(t),pn(b).position!=="static"&&l==="absolute"&&(x="scrollHeight",B="scrollWidth")),b=b,o===kt||(o===Nt||o===zt)&&s===xo){v=Ut;var R=f&&b===N&&N.visualViewport?N.visualViewport.height:b[x];g-=R-r.height,g*=a?1:-1}if(o===Nt||(o===kt||o===Ut)&&s===xo){E=zt;var U=f&&b===N&&N.visualViewport?N.visualViewport.width:b[B];p-=U-r.width,p*=a?1:-1}}var $=Object.assign({position:l},u&&DA),P=d===!0?RA({x:p,y:g},Ht(t)):{x:p,y:g};if(p=P.x,g=P.y,a){var Y;return Object.assign({},$,(Y={},Y[v]=w?"0":"",Y[E]=C?"0":"",Y.transform=(N.devicePixelRatio||1)<=1?"translate("+p+"px, "+g+"px)":"translate3d("+p+"px, "+g+"px, 0)",Y))}return Object.assign({},$,(e={},e[v]=w?g+"px":"",e[E]=C?p+"px":"",e.transform="",e))}function BA(n){var e=n.state,t=n.options,r=t.gpuAcceleration,o=r===void 0?!0:r,s=t.adaptive,i=s===void 0?!0:s,l=t.roundOffsets,a=l===void 0?!0:l;if(process.env.NODE_ENV!=="production"){var u=pn(e.elements.popper).transitionProperty||"";i&&["transform","top","right","bottom","left"].some(function(f){return u.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 eA(this.state.doc,{blockSeparator:t,textSerializers:{...u1(this.schema),...r}})}get isEmpty(){return iA(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 Yi(n){return new l1({find:n.find,handler:({state:e,range:t,match:r})=>{const o=$e(n.getAttributes,void 0,r);if(o===!1||o===null)return null;const{tr:s}=e,i=r[r.length-1],l=r[0];if(i){const a=l.search(/\S/),u=t.from+l.indexOf(i),d=u+i.length;if(zc(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>u).length)return null;d<t.to&&s.delete(d,t.to),u>t.from&&s.delete(t.from+a,u);const h=t.from+a+i.length;s.addMark(t.from+a,h,n.type.create(o||{})),s.removeStoredMark(n.type)}}})}function Gi(n){return new l1({find:n.find,handler:({state:e,range:t,match:r,chain:o})=>{const s=$e(n.getAttributes,void 0,r)||{},i=e.tr.delete(t.from,t.to),a=i.doc.resolve(t.from).blockRange(),u=a&&ql(a,n.type,s);if(!u)return null;if(i.wrap(a,u),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(y=>p.includes(y.type.name));i.ensureMarks(g)}}if(n.keepAttributes){const f=n.type.name==="bulletList"||n.type.name==="orderedList"?"listItem":"taskList";o().updateAttributes(f,s).run()}const d=i.doc.resolve(t.from-1).nodeBefore;d&&d.type===n.type&&tr(i.doc,t.from-1)&&(!n.joinPredicate||n.joinPredicate(r,d))&&i.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=$e(Ne(this,"addOptions",{name:this.name}))),this.storage=$e(Ne(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=$e(Ne(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=$e(Ne(t,"addOptions",{name:t.name})),t.storage=$e(Ne(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 i=o.marks();if(!!!i.find(u=>(u==null?void 0:u.type.name)===t.name))return!1;const a=i.find(u=>(u==null?void 0:u.type.name)===t.name);return a&&r.removeStoredMark(a),r.insertText(" ",o.pos),e.view.dispatch(r),!0}return!1}}let Vn=class Od{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=$e(Ne(this,"addOptions",{name:this.name}))),this.storage=$e(Ne(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(e={}){return new Od(e)}configure(e={}){const t=this.extend();return t.options=Ui(this.options,e),t.storage=$e(Ne(t,"addStorage",{name:t.name,options:t.options})),t}extend(e={}){const t=new Od(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=$e(Ne(t,"addOptions",{name:t.name})),t.storage=$e(Ne(t,"addStorage",{name:t.name,options:t.options})),t}};function xs(n){return new eC({find:n.find,handler:({state:e,range:t,match:r,pasteEvent:o})=>{const s=$e(n.getAttributes,void 0,r,o);if(s===!1||s===null)return null;const{tr:i}=e,l=r[r.length-1],a=r[0];let u=t.to;if(l){const d=a.search(/\S/),f=t.from+a.indexOf(l),h=f+l.length;if(zc(t.from,t.to,e.doc).filter(m=>m.mark.type.excluded.find(y=>y===n.type&&y!==m.mark.type)).filter(m=>m.to>f).length)return null;h<t.to&&i.delete(h,t.to),f>t.from&&i.delete(t.from+d,f),u=t.from+d+l.length,i.addMark(t.from+d,u,n.type.create(s||{})),i.removeStoredMark(n.type)}}})}var kt="top",Ut="bottom",zt="right",Nt="left",Ms="auto",Io=[kt,Ut,zt,Nt],Gr="start",xo="end",C1="clippingParents",Kc="viewport",Mo="popper",A1="reference",Yc=Io.reduce(function(n,e){return n.concat([e+"-"+Gr,e+"-"+xo])},[]),Gc=[].concat(Io,[Ms]).reduce(function(n,e){return n.concat([e,e+"-"+Gr,e+"-"+xo])},[]),b1="beforeRead",w1="read",T1="afterRead",S1="beforeMain",_1="main",k1="afterMain",N1="beforeWrite",I1="write",x1="afterWrite",Qi=[b1,w1,T1,S1,_1,k1,N1,I1,x1];function Sn(n){return n?(n.nodeName||"").toLowerCase():null}function Ht(n){if(n==null)return window;if(n.toString()!=="[object Window]"){var e=n.ownerDocument;return e&&e.defaultView||window}return n}function Qr(n){var e=Ht(n).Element;return n instanceof e||n instanceof Element}function jt(n){var e=Ht(n).HTMLElement;return n instanceof e||n instanceof HTMLElement}function Qc(n){if(typeof ShadowRoot>"u")return!1;var e=Ht(n).ShadowRoot;return n instanceof e||n instanceof ShadowRoot}function kA(n){var e=n.state;Object.keys(e.elements).forEach(function(t){var r=e.styles[t]||{},o=e.attributes[t]||{},s=e.elements[t];!jt(s)||!Sn(s)||(Object.assign(s.style,r),Object.keys(o).forEach(function(i){var l=o[i];l===!1?s.removeAttribute(i):s.setAttribute(i,l===!0?"":l)}))})}function NA(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],s=e.attributes[r]||{},i=Object.keys(e.styles.hasOwnProperty(r)?e.styles[r]:t[r]),l=i.reduce(function(a,u){return a[u]="",a},{});!jt(o)||!Sn(o)||(Object.assign(o.style,l),Object.keys(s).forEach(function(a){o.removeAttribute(a)}))})}}const Zi={name:"applyStyles",enabled:!0,phase:"write",fn:kA,effect:NA,requires:["computeStyles"]};function hn(n){return n.split("-")[0]}var Zr=Math.max,Ji=Math.min,Oo=Math.round;function Zc(){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 M1(){return!/^((?!chrome|android).)*safari/i.test(Zc())}function Lo(n,e,t){e===void 0&&(e=!1),t===void 0&&(t=!1);var r=n.getBoundingClientRect(),o=1,s=1;e&&jt(n)&&(o=n.offsetWidth>0&&Oo(r.width)/n.offsetWidth||1,s=n.offsetHeight>0&&Oo(r.height)/n.offsetHeight||1);var i=Qr(n)?Ht(n):window,l=i.visualViewport,a=!M1()&&t,u=(r.left+(a&&l?l.offsetLeft:0))/o,d=(r.top+(a&&l?l.offsetTop:0))/s,f=r.width/o,h=r.height/s;return{width:f,height:h,top:d,right:u+f,bottom:d+h,left:u,x:u,y:d}}function Jc(n){var e=Lo(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&&Qc(t)){var r=e;do{if(r&&n.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function pn(n){return Ht(n).getComputedStyle(n)}function IA(n){return["table","td","th"].indexOf(Sn(n))>=0}function fr(n){return((Qr(n)?n.ownerDocument:n.document)||window.document).documentElement}function Xi(n){return Sn(n)==="html"?n:n.assignedSlot||n.parentNode||(Qc(n)?n.host:null)||fr(n)}function L1(n){return!jt(n)||pn(n).position==="fixed"?null:n.offsetParent}function xA(n){var e=/firefox/i.test(Zc()),t=/Trident/i.test(Zc());if(t&&jt(n)){var r=pn(n);if(r.position==="fixed")return null}var o=Xi(n);for(Qc(o)&&(o=o.host);jt(o)&&["html","body"].indexOf(Sn(o))<0;){var s=pn(o);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||e&&s.willChange==="filter"||e&&s.filter&&s.filter!=="none")return o;o=o.parentNode}return null}function Os(n){for(var e=Ht(n),t=L1(n);t&&IA(t)&&pn(t).position==="static";)t=L1(t);return t&&(Sn(t)==="html"||Sn(t)==="body"&&pn(t).position==="static")?e:t||xA(n)||e}function Xc(n){return["top","bottom"].indexOf(n)>=0?"x":"y"}function Ls(n,e,t){return Zr(n,Ji(e,t))}function MA(n,e,t){var r=Ls(n,e,t);return r>t?t:r}function D1(){return{top:0,right:0,bottom:0,left:0}}function R1(n){return Object.assign({},D1(),n)}function B1(n,e){return e.reduce(function(t,r){return t[r]=n,t},{})}var OA=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,R1(typeof e!="number"?e:B1(e,Io))};function LA(n){var e,t=n.state,r=n.name,o=n.options,s=t.elements.arrow,i=t.modifiersData.popperOffsets,l=hn(t.placement),a=Xc(l),u=[Nt,zt].indexOf(l)>=0,d=u?"height":"width";if(!(!s||!i)){var f=OA(o.padding,t),h=Jc(s),p=a==="y"?kt:Nt,m=a==="y"?Ut:zt,g=t.rects.reference[d]+t.rects.reference[a]-i[a]-t.rects.popper[d],y=i[a]-t.rects.reference[a],C=Os(s),b=C?a==="y"?C.clientHeight||0:C.clientWidth||0:0,E=g/2-y/2,v=f[p],N=b-h[d]-f[m],w=b/2-h[d]/2+E,x=Ls(v,w,N),B=a;t.modifiersData[r]=(e={},e[B]=x,e.centerOffset=x-w,e)}}function DA(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"&&(jt(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 P1={name:"arrow",enabled:!0,phase:"main",fn:LA,effect:DA,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Do(n){return n.split("-")[1]}var RA={top:"auto",right:"auto",bottom:"auto",left:"auto"};function BA(n,e){var t=n.x,r=n.y,o=e.devicePixelRatio||1;return{x:Oo(t*o)/o||0,y:Oo(r*o)/o||0}}function F1(n){var e,t=n.popper,r=n.popperRect,o=n.placement,s=n.variation,i=n.offsets,l=n.position,a=n.gpuAcceleration,u=n.adaptive,d=n.roundOffsets,f=n.isFixed,h=i.x,p=h===void 0?0:h,m=i.y,g=m===void 0?0:m,y=typeof d=="function"?d({x:p,y:g}):{x:p,y:g};p=y.x,g=y.y;var C=i.hasOwnProperty("x"),b=i.hasOwnProperty("y"),E=Nt,v=kt,N=window;if(u){var w=Os(t),x="clientHeight",B="clientWidth";if(w===Ht(t)&&(w=fr(t),pn(w).position!=="static"&&l==="absolute"&&(x="scrollHeight",B="scrollWidth")),w=w,o===kt||(o===Nt||o===zt)&&s===xo){v=Ut;var R=f&&w===N&&N.visualViewport?N.visualViewport.height:w[x];g-=R-r.height,g*=a?1:-1}if(o===Nt||(o===kt||o===Ut)&&s===xo){E=zt;var U=f&&w===N&&N.visualViewport?N.visualViewport.width:w[B];p-=U-r.width,p*=a?1:-1}}var $=Object.assign({position:l},u&&RA),P=d===!0?BA({x:p,y:g},Ht(t)):{x:p,y:g};if(p=P.x,g=P.y,a){var Y;return Object.assign({},$,(Y={},Y[v]=b?"0":"",Y[E]=C?"0":"",Y.transform=(N.devicePixelRatio||1)<=1?"translate("+p+"px, "+g+"px)":"translate3d("+p+"px, "+g+"px, 0)",Y))}return Object.assign({},$,(e={},e[v]=b?g+"px":"",e[E]=C?p+"px":"",e.transform="",e))}function PA(n){var e=n.state,t=n.options,r=t.gpuAcceleration,o=r===void 0?!0:r,s=t.adaptive,i=s===void 0?!0:s,l=t.roundOffsets,a=l===void 0?!0:l;if(process.env.NODE_ENV!=="production"){var u=pn(e.elements.popper).transitionProperty||"";i&&["transform","top","right","bottom","left"].some(function(f){return u.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 d={placement:hn(e.placement),variation:Do(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,F1(Object.assign({},d,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:i,roundOffsets:a})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,F1(Object.assign({},d,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:a})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const Xc={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:BA,data:{}};var Xi={passive:!0};function PA(n){var e=n.state,t=n.instance,r=n.options,o=r.scroll,s=o===void 0?!0:o,i=r.resize,l=i===void 0?!0:i,a=Ht(e.elements.popper),u=[].concat(e.scrollParents.reference,e.scrollParents.popper);return s&&u.forEach(function(d){d.addEventListener("scroll",t.update,Xi)}),l&&a.addEventListener("resize",t.update,Xi),function(){s&&u.forEach(function(d){d.removeEventListener("scroll",t.update,Xi)}),l&&a.removeEventListener("resize",t.update,Xi)}}const qc={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:PA,data:{}};var FA={left:"right",right:"left",bottom:"top",top:"bottom"};function qi(n){return n.replace(/left|right|bottom|top/g,function(e){return FA[e]})}var VA={start:"end",end:"start"};function V1(n){return n.replace(/start|end/g,function(e){return VA[e]})}function eu(n){var e=Ht(n),t=e.pageXOffset,r=e.pageYOffset;return{scrollLeft:t,scrollTop:r}}function tu(n){return Lo(fr(n)).left+eu(n).scrollLeft}function $A(n,e){var t=Ht(n),r=fr(n),o=t.visualViewport,s=r.clientWidth,i=r.clientHeight,l=0,a=0;if(o){s=o.width,i=o.height;var u=M1();(u||!u&&e==="fixed")&&(l=o.offsetLeft,a=o.offsetTop)}return{width:s,height:i,x:l+tu(n),y:a}}function UA(n){var e,t=fr(n),r=eu(n),o=(e=n.ownerDocument)==null?void 0:e.body,s=Zr(t.scrollWidth,t.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=Zr(t.scrollHeight,t.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+tu(n),a=-r.scrollTop;return pn(o||t).direction==="rtl"&&(l+=Zr(t.clientWidth,o?o.clientWidth:0)-s),{width:s,height:i,x:l,y:a}}function nu(n){var e=pn(n),t=e.overflow,r=e.overflowX,o=e.overflowY;return/auto|scroll|overlay|hidden/.test(t+o+r)}function $1(n){return["html","body","#document"].indexOf(Sn(n))>=0?n.ownerDocument.body:jt(n)&&nu(n)?n:$1(Ji(n))}function Os(n,e){var t;e===void 0&&(e=[]);var r=$1(n),o=r===((t=n.ownerDocument)==null?void 0:t.body),s=Ht(r),i=o?[s].concat(s.visualViewport||[],nu(r)?r:[]):r,l=e.concat(i);return o?l:l.concat(Os(Ji(i)))}function ru(n){return Object.assign({},n,{left:n.x,top:n.y,right:n.x+n.width,bottom:n.y+n.height})}function zA(n,e){var t=Lo(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 U1(n,e,t){return e===Wc?ru($A(n,t)):Qr(e)?zA(e,t):ru(UA(fr(n)))}function HA(n){var e=Os(Ji(n)),t=["absolute","fixed"].indexOf(pn(n).position)>=0,r=t&&jt(n)?xs(n):n;return Qr(r)?e.filter(function(o){return Qr(o)&&O1(o,r)&&Sn(o)!=="body"}):[]}function jA(n,e,t,r){var o=e==="clippingParents"?HA(n):[].concat(e),s=[].concat(o,[t]),i=s[0],l=s.reduce(function(a,u){var d=U1(n,u,r);return a.top=Zr(d.top,a.top),a.right=Zi(d.right,a.right),a.bottom=Zi(d.bottom,a.bottom),a.left=Zr(d.left,a.left),a},U1(n,i,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function z1(n){var e=n.reference,t=n.element,r=n.placement,o=r?hn(r):null,s=r?Do(r):null,i=e.x+e.width/2-t.width/2,l=e.y+e.height/2-t.height/2,a;switch(o){case kt:a={x:i,y:e.y-t.height};break;case Ut:a={x:i,y:e.y+e.height};break;case zt:a={x:e.x+e.width,y:l};break;case Nt:a={x:e.x-t.width,y:l};break;default:a={x:e.x,y:e.y}}var u=o?Jc(o):null;if(u!=null){var d=u==="y"?"height":"width";switch(s){case Gr:a[u]=a[u]-(e[d]/2-t[d]/2);break;case xo:a[u]=a[u]+(e[d]/2-t[d]/2);break}}return a}function Ro(n,e){e===void 0&&(e={});var t=e,r=t.placement,o=r===void 0?n.placement:r,s=t.strategy,i=s===void 0?n.strategy:s,l=t.boundary,a=l===void 0?C1:l,u=t.rootBoundary,d=u===void 0?Wc:u,f=t.elementContext,h=f===void 0?Mo:f,p=t.altBoundary,m=p===void 0?!1:p,g=t.padding,y=g===void 0?0:g,C=R1(typeof y!="number"?y:B1(y,Io)),w=h===Mo?A1:Mo,E=n.rects.popper,v=n.elements[m?w:h],N=jA(Qr(v)?v:v.contextElement||fr(n.elements.popper),a,d,i),b=Lo(n.elements.reference),x=z1({reference:b,element:E,strategy:"absolute",placement:o}),B=ru(Object.assign({},E,x)),R=h===Mo?B:b,U={top:N.top-R.top+C.top,bottom:R.bottom-N.bottom+C.bottom,left:N.left-R.left+C.left,right:R.right-N.right+C.right},$=n.modifiersData.offset;if(h===Mo&&$){var P=$[o];Object.keys(U).forEach(function(Y){var G=[zt,Ut].indexOf(Y)>=0?1:-1,K=[kt,Ut].indexOf(Y)>=0?"y":"x";U[Y]+=P[K]*G})}return U}function WA(n,e){e===void 0&&(e={});var t=e,r=t.placement,o=t.boundary,s=t.rootBoundary,i=t.padding,l=t.flipVariations,a=t.allowedAutoPlacements,u=a===void 0?Yc:a,d=Do(r),f=d?l?Kc:Kc.filter(function(m){return Do(m)===d}):Io,h=f.filter(function(m){return u.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]=Ro(n,{placement:g,boundary:o,rootBoundary:s,padding:i})[hn(g)],m},{});return Object.keys(p).sort(function(m,g){return p[m]-p[g]})}function KA(n){if(hn(n)===Is)return[];var e=qi(n);return[V1(n),e,V1(e)]}function YA(n){var e=n.state,t=n.options,r=n.name;if(!e.modifiersData[r]._skip){for(var o=t.mainAxis,s=o===void 0?!0:o,i=t.altAxis,l=i===void 0?!0:i,a=t.fallbackPlacements,u=t.padding,d=t.boundary,f=t.rootBoundary,h=t.altBoundary,p=t.flipVariations,m=p===void 0?!0:p,g=t.allowedAutoPlacements,y=e.options.placement,C=hn(y),w=C===y,E=a||(w||!m?[qi(y)]:KA(y)),v=[y].concat(E).reduce(function(Se,ke){return Se.concat(hn(ke)===Is?WA(e,{placement:ke,boundary:d,rootBoundary:f,padding:u,flipVariations:m,allowedAutoPlacements:g}):ke)},[]),N=e.rects.reference,b=e.rects.popper,x=new Map,B=!0,R=v[0],U=0;U<v.length;U++){var $=v[U],P=hn($),Y=Do($)===Gr,G=[kt,Ut].indexOf(P)>=0,K=G?"width":"height",H=Ro(e,{placement:$,boundary:d,rootBoundary:f,altBoundary:h,padding:u}),J=G?Y?zt:Nt:Y?Ut:kt;N[K]>b[K]&&(J=qi(J));var z=qi(J),ee=[];if(s&&ee.push(H[P]<=0),l&&ee.push(H[J]<=0,H[z]<=0),ee.every(function(Se){return Se})){R=$,B=!1;break}x.set($,ee)}if(B)for(var re=m?3:1,ue=function(ke){var xe=v.find(function(Ae){var O=x.get(Ae);if(O)return O.slice(0,ke).every(function(D){return D})});if(xe)return R=xe,"break"},ge=re;ge>0;ge--){var Ee=ue(ge);if(Ee==="break")break}e.placement!==R&&(e.modifiersData[r]._skip=!0,e.placement=R,e.reset=!0)}}const H1={name:"flip",enabled:!0,phase:"main",fn:YA,requiresIfExists:["offset"],data:{_skip:!1}};function j1(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 W1(n){return[kt,zt,Ut,Nt].some(function(e){return n[e]>=0})}function GA(n){var e=n.state,t=n.name,r=e.rects.reference,o=e.rects.popper,s=e.modifiersData.preventOverflow,i=Ro(e,{elementContext:"reference"}),l=Ro(e,{altBoundary:!0}),a=j1(i,r),u=j1(l,o,s),d=W1(a),f=W1(u);e.modifiersData[t]={referenceClippingOffsets:a,popperEscapeOffsets:u,isReferenceHidden:d,hasPopperEscaped:f},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":f})}const K1={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:GA};function QA(n,e,t){var r=hn(n),o=[Nt,kt].indexOf(r)>=0?-1:1,s=typeof t=="function"?t(Object.assign({},e,{placement:n})):t,i=s[0],l=s[1];return i=i||0,l=(l||0)*o,[Nt,zt].indexOf(r)>=0?{x:l,y:i}:{x:i,y:l}}function ZA(n){var e=n.state,t=n.options,r=n.name,o=t.offset,s=o===void 0?[0,0]:o,i=Yc.reduce(function(d,f){return d[f]=QA(f,e.rects,s),d},{}),l=i[e.placement],a=l.x,u=l.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=a,e.modifiersData.popperOffsets.y+=u),e.modifiersData[r]=i}const Y1={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:ZA};function JA(n){var e=n.state,t=n.name;e.modifiersData[t]=z1({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const ou={name:"popperOffsets",enabled:!0,phase:"read",fn:JA,data:{}};function XA(n){return n==="x"?"y":"x"}function qA(n){var e=n.state,t=n.options,r=n.name,o=t.mainAxis,s=o===void 0?!0:o,i=t.altAxis,l=i===void 0?!1:i,a=t.boundary,u=t.rootBoundary,d=t.altBoundary,f=t.padding,h=t.tether,p=h===void 0?!0:h,m=t.tetherOffset,g=m===void 0?0:m,y=Ro(e,{boundary:a,rootBoundary:u,padding:f,altBoundary:d}),C=hn(e.placement),w=Do(e.placement),E=!w,v=Jc(C),N=XA(v),b=e.modifiersData.popperOffsets,x=e.rects.reference,B=e.rects.popper,R=typeof g=="function"?g(Object.assign({},e.rects,{placement:e.placement})):g,U=typeof R=="number"?{mainAxis:R,altAxis:R}:Object.assign({mainAxis:0,altAxis:0},R),$=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,P={x:0,y:0};if(b){if(s){var Y,G=v==="y"?kt:Nt,K=v==="y"?Ut:zt,H=v==="y"?"height":"width",J=b[v],z=J+y[G],ee=J-y[K],re=p?-B[H]/2:0,ue=w===Gr?x[H]:B[H],ge=w===Gr?-B[H]:-x[H],Ee=e.elements.arrow,Se=p&&Ee?Zc(Ee):{width:0,height:0},ke=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:D1(),xe=ke[G],Ae=ke[K],O=Ms(0,x[H],Se[H]),D=E?x[H]/2-re-O-xe-U.mainAxis:ue-O-xe-U.mainAxis,I=E?-x[H]/2+re+O+Ae+U.mainAxis:ge+O+Ae+U.mainAxis,L=e.elements.arrow&&xs(e.elements.arrow),A=L?v==="y"?L.clientTop||0:L.clientLeft||0:0,T=(Y=$==null?void 0:$[v])!=null?Y:0,k=J+D-T-A,M=J+I-T,j=Ms(p?Zi(z,k):z,J,p?Zr(ee,M):ee);b[v]=j,P[v]=j-J}if(l){var W,Z=v==="x"?kt:Nt,X=v==="x"?Ut:zt,S=b[N],_=N==="y"?"height":"width",V=S+y[Z],Q=S-y[X],ae=[kt,Nt].indexOf(C)!==-1,pe=(W=$==null?void 0:$[N])!=null?W:0,Te=ae?V:S-x[_]-B[_]-pe+U.altAxis,q=ae?S+x[_]+B[_]-pe-U.altAxis:Q,ie=p&&ae?xA(Te,S,q):Ms(p?Te:V,S,p?q:Q);b[N]=ie,P[N]=ie-S}e.modifiersData[r]=P}}const G1={name:"preventOverflow",enabled:!0,phase:"main",fn:qA,requiresIfExists:["offset"]};function eb(n){return{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}}function tb(n){return n===Ht(n)||!jt(n)?eu(n):eb(n)}function nb(n){var e=n.getBoundingClientRect(),t=Oo(e.width)/n.offsetWidth||1,r=Oo(e.height)/n.offsetHeight||1;return t!==1||r!==1}function rb(n,e,t){t===void 0&&(t=!1);var r=jt(e),o=jt(e)&&nb(e),s=fr(e),i=Lo(n,o,t),l={scrollLeft:0,scrollTop:0},a={x:0,y:0};return(r||!r&&!t)&&((Sn(e)!=="body"||nu(s))&&(l=tb(e)),jt(e)?(a=Lo(e,!0),a.x+=e.clientLeft,a.y+=e.clientTop):s&&(a.x=tu(s))),{x:i.left+l.scrollLeft-a.x,y:i.top+l.scrollTop-a.y,width:i.width,height:i.height}}function ob(n){var e=new Map,t=new Set,r=[];n.forEach(function(s){e.set(s.name,s)});function o(s){t.add(s.name);var i=[].concat(s.requires||[],s.requiresIfExists||[]);i.forEach(function(l){if(!t.has(l)){var a=e.get(l);a&&o(a)}}),r.push(s)}return n.forEach(function(s){t.has(s.name)||o(s)}),r}function sb(n){var e=ob(n);return Gi.reduce(function(t,r){return t.concat(e.filter(function(o){return o.phase===r}))},[])}function ib(n){var e;return function(){return e||(e=new Promise(function(t){Promise.resolve().then(function(){e=void 0,t(n())})})),e}}function hr(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,s){return o.replace(/%s/,s)},n)}var Jr='Popper: modifier "%s" provided an invalid %s property, expected %s but got %s',ab='Popper: modifier "%s" requires "%s", but "%s" modifier is not available',Q1=["name","enabled","phase","fn","effect","requires","options"];function lb(n){n.forEach(function(e){[].concat(Object.keys(e),Q1).filter(function(t,r,o){return o.indexOf(t)===r}).forEach(function(t){switch(t){case"name":typeof e.name!="string"&&console.error(hr(Jr,String(e.name),'"name"','"string"','"'+String(e.name)+'"'));break;case"enabled":typeof e.enabled!="boolean"&&console.error(hr(Jr,e.name,'"enabled"','"boolean"','"'+String(e.enabled)+'"'));break;case"phase":Gi.indexOf(e.phase)<0&&console.error(hr(Jr,e.name,'"phase"',"either "+Gi.join(", "),'"'+String(e.phase)+'"'));break;case"fn":typeof e.fn!="function"&&console.error(hr(Jr,e.name,'"fn"','"function"','"'+String(e.fn)+'"'));break;case"effect":e.effect!=null&&typeof e.effect!="function"&&console.error(hr(Jr,e.name,'"effect"','"function"','"'+String(e.fn)+'"'));break;case"requires":e.requires!=null&&!Array.isArray(e.requires)&&console.error(hr(Jr,e.name,'"requires"','"array"','"'+String(e.requires)+'"'));break;case"requiresIfExists":Array.isArray(e.requiresIfExists)||console.error(hr(Jr,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 '+Q1.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(hr(ab,String(e.name),r,r))})})})}function cb(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 ub(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 Z1="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",db="Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.",J1={placement:"bottom",modifiers:[],strategy:"absolute"};function X1(){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 ea(n){n===void 0&&(n={});var e=n,t=e.defaultModifiers,r=t===void 0?[]:t,o=e.defaultOptions,s=o===void 0?J1:o;return function(l,a,u){u===void 0&&(u=s);var d={placement:"bottom",orderedModifiers:[],options:Object.assign({},J1,s),modifiersData:{},elements:{reference:l,popper:a},attributes:{},styles:{}},f=[],h=!1,p={state:d,setOptions:function(C){var w=typeof C=="function"?C(d.options):C;g(),d.options=Object.assign({},s,d.options,w),d.scrollParents={reference:Qr(l)?Os(l):l.contextElement?Os(l.contextElement):[],popper:Os(a)};var E=sb(ub([].concat(r,d.options.modifiers)));if(d.orderedModifiers=E.filter(function($){return $.enabled}),process.env.NODE_ENV!=="production"){var v=cb([].concat(E,d.options.modifiers),function($){var P=$.name;return P});if(lb(v),hn(d.options.placement)===Is){var N=d.orderedModifiers.find(function($){var P=$.name;return P==="flip"});N||console.error(['Popper: "auto" placements require the "flip" modifier be',"present and enabled to work."].join(" "))}var b=pn(a),x=b.marginTop,B=b.marginRight,R=b.marginBottom,U=b.marginLeft;[x,B,R,U].some(function($){return parseFloat($)})&&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 C=d.elements,w=C.reference,E=C.popper;if(!X1(w,E)){process.env.NODE_ENV!=="production"&&console.error(Z1);return}d.rects={reference:rb(w,xs(E),d.options.strategy==="fixed"),popper:Zc(E)},d.reset=!1,d.placement=d.options.placement,d.orderedModifiers.forEach(function($){return d.modifiersData[$.name]=Object.assign({},$.data)});for(var v=0,N=0;N<d.orderedModifiers.length;N++){if(process.env.NODE_ENV!=="production"&&(v+=1,v>100)){console.error(db);break}if(d.reset===!0){d.reset=!1,N=-1;continue}var b=d.orderedModifiers[N],x=b.fn,B=b.options,R=B===void 0?{}:B,U=b.name;typeof x=="function"&&(d=x({state:d,options:R,name:U,instance:p})||d)}}},update:ib(function(){return new Promise(function(y){p.forceUpdate(),y(d)})}),destroy:function(){g(),h=!0}};if(!X1(l,a))return process.env.NODE_ENV!=="production"&&console.error(Z1),p;p.setOptions(u).then(function(y){!h&&u.onFirstUpdate&&u.onFirstUpdate(y)});function m(){d.orderedModifiers.forEach(function(y){var C=y.name,w=y.options,E=w===void 0?{}:w,v=y.effect;if(typeof v=="function"){var N=v({state:d,name:C,instance:p,options:E}),b=function(){};f.push(N||b)}})}function g(){f.forEach(function(y){return y()}),f=[]}return p}}var fb=ea(),hb=[qc,ou,Xc,Qi],pb=ea({defaultModifiers:hb}),mb=[qc,ou,Xc,Qi,Y1,H1,G1,P1,K1],ta=ea({defaultModifiers:mb});const q1=Object.freeze(Object.defineProperty({__proto__:null,afterMain:k1,afterRead:T1,afterWrite:x1,applyStyles:Qi,arrow:P1,auto:Is,basePlacements:Io,beforeMain:S1,beforeRead:b1,beforeWrite:N1,bottom:Ut,clippingParents:C1,computeStyles:Xc,createPopper:ta,createPopperBase:fb,createPopperLite:pb,detectOverflow:Ro,end:xo,eventListeners:qc,flip:H1,hide:K1,left:Nt,main:_1,modifierPhases:Gi,offset:Y1,placements:Yc,popper:Mo,popperGenerator:ea,popperOffsets:ou,preventOverflow:G1,read:w1,reference:A1,right:zt,start:Gr,top:kt,variationPlacements:Kc,viewport:Wc,write:I1},Symbol.toStringTag,{value:"Module"}));var gb="tippy-box",em="tippy-content",yb="tippy-backdrop",tm="tippy-arrow",nm="tippy-svg-arrow",Xr={passive:!0,capture:!0},rm=function(){return document.body};function vb(n,e){return{}.hasOwnProperty.call(n,e)}function su(n,e,t){if(Array.isArray(n)){var r=n[e];return r??(Array.isArray(t)?t[e]:t)}return n}function iu(n,e){var t={}.toString.call(n);return t.indexOf("[object")===0&&t.indexOf(e+"]")>-1}function om(n,e){return typeof n=="function"?n.apply(void 0,e):n}function sm(n,e){if(e===0)return n;var t;return function(r){clearTimeout(t),t=setTimeout(function(){n(r)},e)}}function Eb(n,e){var t=Object.assign({},n);return e.forEach(function(r){delete t[r]}),t}function Cb(n){return n.split(/\s+/).filter(Boolean)}function Bo(n){return[].concat(n)}function im(n,e){n.indexOf(e)===-1&&n.push(e)}function Ab(n){return n.filter(function(e,t){return n.indexOf(e)===t})}function bb(n){return n.split("-")[0]}function na(n){return[].slice.call(n)}function am(n){return Object.keys(n).reduce(function(e,t){return n[t]!==void 0&&(e[t]=n[t]),e},{})}function Ls(){return document.createElement("div")}function Ds(n){return["Element","Fragment"].some(function(e){return iu(n,e)})}function wb(n){return iu(n,"NodeList")}function Tb(n){return iu(n,"MouseEvent")}function Sb(n){return!!(n&&n._tippy&&n._tippy.reference===n)}function _b(n){return Ds(n)?[n]:wb(n)?na(n):Array.isArray(n)?n:na(document.querySelectorAll(n))}function au(n,e){n.forEach(function(t){t&&(t.style.transitionDuration=e+"ms")})}function lm(n,e){n.forEach(function(t){t&&t.setAttribute("data-state",e)})}function kb(n){var e,t=Bo(n),r=t[0];return r!=null&&(e=r.ownerDocument)!=null&&e.body?r.ownerDocument:document}function Nb(n,e){var t=e.clientX,r=e.clientY;return n.every(function(o){var s=o.popperRect,i=o.popperState,l=o.props,a=l.interactiveBorder,u=bb(i.placement),d=i.modifiersData.offset;if(!d)return!0;var f=u==="bottom"?d.top.y:0,h=u==="top"?d.bottom.y:0,p=u==="right"?d.left.x:0,m=u==="left"?d.right.x:0,g=s.top-r+f>a,y=r-s.bottom-h>a,C=s.left-t+p>a,w=t-s.right-m>a;return g||y||C||w})}function lu(n,e,t){var r=e+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(o){n[r](o,t)})}function cm(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 _n={isTouch:!1},um=0;function Ib(){_n.isTouch||(_n.isTouch=!0,window.performance&&document.addEventListener("mousemove",dm))}function dm(){var n=performance.now();n-um<20&&(_n.isTouch=!1,document.removeEventListener("mousemove",dm)),um=n}function xb(){var n=document.activeElement;if(Sb(n)){var e=n._tippy;n.blur&&!e.state.isVisible&&n.blur()}}function Mb(){document.addEventListener("touchstart",Ib,Xr),window.addEventListener("blur",xb)}var Ob=typeof window<"u"&&typeof document<"u",Lb=Ob?!!window.msCrypto:!1;function Po(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 fm(n){var e=/[ \t]{2,}/g,t=/^[ \t]*/gm;return n.replace(e," ").replace(t,"").trim()}function Db(n){return fm(`
|
|
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 d={placement:hn(e.placement),variation:Do(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,F1(Object.assign({},d,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:i,roundOffsets:a})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,F1(Object.assign({},d,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:a})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const qc={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:PA,data:{}};var qi={passive:!0};function FA(n){var e=n.state,t=n.instance,r=n.options,o=r.scroll,s=o===void 0?!0:o,i=r.resize,l=i===void 0?!0:i,a=Ht(e.elements.popper),u=[].concat(e.scrollParents.reference,e.scrollParents.popper);return s&&u.forEach(function(d){d.addEventListener("scroll",t.update,qi)}),l&&a.addEventListener("resize",t.update,qi),function(){s&&u.forEach(function(d){d.removeEventListener("scroll",t.update,qi)}),l&&a.removeEventListener("resize",t.update,qi)}}const eu={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:FA,data:{}};var VA={left:"right",right:"left",bottom:"top",top:"bottom"};function ea(n){return n.replace(/left|right|bottom|top/g,function(e){return VA[e]})}var $A={start:"end",end:"start"};function V1(n){return n.replace(/start|end/g,function(e){return $A[e]})}function tu(n){var e=Ht(n),t=e.pageXOffset,r=e.pageYOffset;return{scrollLeft:t,scrollTop:r}}function nu(n){return Lo(fr(n)).left+tu(n).scrollLeft}function UA(n,e){var t=Ht(n),r=fr(n),o=t.visualViewport,s=r.clientWidth,i=r.clientHeight,l=0,a=0;if(o){s=o.width,i=o.height;var u=M1();(u||!u&&e==="fixed")&&(l=o.offsetLeft,a=o.offsetTop)}return{width:s,height:i,x:l+nu(n),y:a}}function zA(n){var e,t=fr(n),r=tu(n),o=(e=n.ownerDocument)==null?void 0:e.body,s=Zr(t.scrollWidth,t.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=Zr(t.scrollHeight,t.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+nu(n),a=-r.scrollTop;return pn(o||t).direction==="rtl"&&(l+=Zr(t.clientWidth,o?o.clientWidth:0)-s),{width:s,height:i,x:l,y:a}}function ru(n){var e=pn(n),t=e.overflow,r=e.overflowX,o=e.overflowY;return/auto|scroll|overlay|hidden/.test(t+o+r)}function $1(n){return["html","body","#document"].indexOf(Sn(n))>=0?n.ownerDocument.body:jt(n)&&ru(n)?n:$1(Xi(n))}function Ds(n,e){var t;e===void 0&&(e=[]);var r=$1(n),o=r===((t=n.ownerDocument)==null?void 0:t.body),s=Ht(r),i=o?[s].concat(s.visualViewport||[],ru(r)?r:[]):r,l=e.concat(i);return o?l:l.concat(Ds(Xi(i)))}function ou(n){return Object.assign({},n,{left:n.x,top:n.y,right:n.x+n.width,bottom:n.y+n.height})}function HA(n,e){var t=Lo(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 U1(n,e,t){return e===Kc?ou(UA(n,t)):Qr(e)?HA(e,t):ou(zA(fr(n)))}function jA(n){var e=Ds(Xi(n)),t=["absolute","fixed"].indexOf(pn(n).position)>=0,r=t&&jt(n)?Os(n):n;return Qr(r)?e.filter(function(o){return Qr(o)&&O1(o,r)&&Sn(o)!=="body"}):[]}function WA(n,e,t,r){var o=e==="clippingParents"?jA(n):[].concat(e),s=[].concat(o,[t]),i=s[0],l=s.reduce(function(a,u){var d=U1(n,u,r);return a.top=Zr(d.top,a.top),a.right=Ji(d.right,a.right),a.bottom=Ji(d.bottom,a.bottom),a.left=Zr(d.left,a.left),a},U1(n,i,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function z1(n){var e=n.reference,t=n.element,r=n.placement,o=r?hn(r):null,s=r?Do(r):null,i=e.x+e.width/2-t.width/2,l=e.y+e.height/2-t.height/2,a;switch(o){case kt:a={x:i,y:e.y-t.height};break;case Ut:a={x:i,y:e.y+e.height};break;case zt:a={x:e.x+e.width,y:l};break;case Nt:a={x:e.x-t.width,y:l};break;default:a={x:e.x,y:e.y}}var u=o?Xc(o):null;if(u!=null){var d=u==="y"?"height":"width";switch(s){case Gr:a[u]=a[u]-(e[d]/2-t[d]/2);break;case xo:a[u]=a[u]+(e[d]/2-t[d]/2);break}}return a}function Ro(n,e){e===void 0&&(e={});var t=e,r=t.placement,o=r===void 0?n.placement:r,s=t.strategy,i=s===void 0?n.strategy:s,l=t.boundary,a=l===void 0?C1:l,u=t.rootBoundary,d=u===void 0?Kc:u,f=t.elementContext,h=f===void 0?Mo:f,p=t.altBoundary,m=p===void 0?!1:p,g=t.padding,y=g===void 0?0:g,C=R1(typeof y!="number"?y:B1(y,Io)),b=h===Mo?A1:Mo,E=n.rects.popper,v=n.elements[m?b:h],N=WA(Qr(v)?v:v.contextElement||fr(n.elements.popper),a,d,i),w=Lo(n.elements.reference),x=z1({reference:w,element:E,strategy:"absolute",placement:o}),B=ou(Object.assign({},E,x)),R=h===Mo?B:w,U={top:N.top-R.top+C.top,bottom:R.bottom-N.bottom+C.bottom,left:N.left-R.left+C.left,right:R.right-N.right+C.right},$=n.modifiersData.offset;if(h===Mo&&$){var P=$[o];Object.keys(U).forEach(function(Y){var G=[zt,Ut].indexOf(Y)>=0?1:-1,K=[kt,Ut].indexOf(Y)>=0?"y":"x";U[Y]+=P[K]*G})}return U}function KA(n,e){e===void 0&&(e={});var t=e,r=t.placement,o=t.boundary,s=t.rootBoundary,i=t.padding,l=t.flipVariations,a=t.allowedAutoPlacements,u=a===void 0?Gc:a,d=Do(r),f=d?l?Yc:Yc.filter(function(m){return Do(m)===d}):Io,h=f.filter(function(m){return u.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]=Ro(n,{placement:g,boundary:o,rootBoundary:s,padding:i})[hn(g)],m},{});return Object.keys(p).sort(function(m,g){return p[m]-p[g]})}function YA(n){if(hn(n)===Ms)return[];var e=ea(n);return[V1(n),e,V1(e)]}function GA(n){var e=n.state,t=n.options,r=n.name;if(!e.modifiersData[r]._skip){for(var o=t.mainAxis,s=o===void 0?!0:o,i=t.altAxis,l=i===void 0?!0:i,a=t.fallbackPlacements,u=t.padding,d=t.boundary,f=t.rootBoundary,h=t.altBoundary,p=t.flipVariations,m=p===void 0?!0:p,g=t.allowedAutoPlacements,y=e.options.placement,C=hn(y),b=C===y,E=a||(b||!m?[ea(y)]:YA(y)),v=[y].concat(E).reduce(function(Se,ke){return Se.concat(hn(ke)===Ms?KA(e,{placement:ke,boundary:d,rootBoundary:f,padding:u,flipVariations:m,allowedAutoPlacements:g}):ke)},[]),N=e.rects.reference,w=e.rects.popper,x=new Map,B=!0,R=v[0],U=0;U<v.length;U++){var $=v[U],P=hn($),Y=Do($)===Gr,G=[kt,Ut].indexOf(P)>=0,K=G?"width":"height",H=Ro(e,{placement:$,boundary:d,rootBoundary:f,altBoundary:h,padding:u}),J=G?Y?zt:Nt:Y?Ut:kt;N[K]>w[K]&&(J=ea(J));var z=ea(J),ee=[];if(s&&ee.push(H[P]<=0),l&&ee.push(H[J]<=0,H[z]<=0),ee.every(function(Se){return Se})){R=$,B=!1;break}x.set($,ee)}if(B)for(var re=m?3:1,ue=function(ke){var xe=v.find(function(Ae){var O=x.get(Ae);if(O)return O.slice(0,ke).every(function(D){return D})});if(xe)return R=xe,"break"},ge=re;ge>0;ge--){var Ee=ue(ge);if(Ee==="break")break}e.placement!==R&&(e.modifiersData[r]._skip=!0,e.placement=R,e.reset=!0)}}const H1={name:"flip",enabled:!0,phase:"main",fn:GA,requiresIfExists:["offset"],data:{_skip:!1}};function j1(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 W1(n){return[kt,zt,Ut,Nt].some(function(e){return n[e]>=0})}function QA(n){var e=n.state,t=n.name,r=e.rects.reference,o=e.rects.popper,s=e.modifiersData.preventOverflow,i=Ro(e,{elementContext:"reference"}),l=Ro(e,{altBoundary:!0}),a=j1(i,r),u=j1(l,o,s),d=W1(a),f=W1(u);e.modifiersData[t]={referenceClippingOffsets:a,popperEscapeOffsets:u,isReferenceHidden:d,hasPopperEscaped:f},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":f})}const K1={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:QA};function ZA(n,e,t){var r=hn(n),o=[Nt,kt].indexOf(r)>=0?-1:1,s=typeof t=="function"?t(Object.assign({},e,{placement:n})):t,i=s[0],l=s[1];return i=i||0,l=(l||0)*o,[Nt,zt].indexOf(r)>=0?{x:l,y:i}:{x:i,y:l}}function JA(n){var e=n.state,t=n.options,r=n.name,o=t.offset,s=o===void 0?[0,0]:o,i=Gc.reduce(function(d,f){return d[f]=ZA(f,e.rects,s),d},{}),l=i[e.placement],a=l.x,u=l.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=a,e.modifiersData.popperOffsets.y+=u),e.modifiersData[r]=i}const Y1={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:JA};function XA(n){var e=n.state,t=n.name;e.modifiersData[t]=z1({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const su={name:"popperOffsets",enabled:!0,phase:"read",fn:XA,data:{}};function qA(n){return n==="x"?"y":"x"}function eb(n){var e=n.state,t=n.options,r=n.name,o=t.mainAxis,s=o===void 0?!0:o,i=t.altAxis,l=i===void 0?!1:i,a=t.boundary,u=t.rootBoundary,d=t.altBoundary,f=t.padding,h=t.tether,p=h===void 0?!0:h,m=t.tetherOffset,g=m===void 0?0:m,y=Ro(e,{boundary:a,rootBoundary:u,padding:f,altBoundary:d}),C=hn(e.placement),b=Do(e.placement),E=!b,v=Xc(C),N=qA(v),w=e.modifiersData.popperOffsets,x=e.rects.reference,B=e.rects.popper,R=typeof g=="function"?g(Object.assign({},e.rects,{placement:e.placement})):g,U=typeof R=="number"?{mainAxis:R,altAxis:R}:Object.assign({mainAxis:0,altAxis:0},R),$=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,P={x:0,y:0};if(w){if(s){var Y,G=v==="y"?kt:Nt,K=v==="y"?Ut:zt,H=v==="y"?"height":"width",J=w[v],z=J+y[G],ee=J-y[K],re=p?-B[H]/2:0,ue=b===Gr?x[H]:B[H],ge=b===Gr?-B[H]:-x[H],Ee=e.elements.arrow,Se=p&&Ee?Jc(Ee):{width:0,height:0},ke=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:D1(),xe=ke[G],Ae=ke[K],O=Ls(0,x[H],Se[H]),D=E?x[H]/2-re-O-xe-U.mainAxis:ue-O-xe-U.mainAxis,I=E?-x[H]/2+re+O+Ae+U.mainAxis:ge+O+Ae+U.mainAxis,L=e.elements.arrow&&Os(e.elements.arrow),A=L?v==="y"?L.clientTop||0:L.clientLeft||0:0,T=(Y=$==null?void 0:$[v])!=null?Y:0,k=J+D-T-A,M=J+I-T,j=Ls(p?Ji(z,k):z,J,p?Zr(ee,M):ee);w[v]=j,P[v]=j-J}if(l){var W,Z=v==="x"?kt:Nt,X=v==="x"?Ut:zt,S=w[N],_=N==="y"?"height":"width",V=S+y[Z],Q=S-y[X],ae=[kt,Nt].indexOf(C)!==-1,pe=(W=$==null?void 0:$[N])!=null?W:0,Te=ae?V:S-x[_]-B[_]-pe+U.altAxis,q=ae?S+x[_]+B[_]-pe-U.altAxis:Q,ie=p&&ae?MA(Te,S,q):Ls(p?Te:V,S,p?q:Q);w[N]=ie,P[N]=ie-S}e.modifiersData[r]=P}}const G1={name:"preventOverflow",enabled:!0,phase:"main",fn:eb,requiresIfExists:["offset"]};function tb(n){return{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}}function nb(n){return n===Ht(n)||!jt(n)?tu(n):tb(n)}function rb(n){var e=n.getBoundingClientRect(),t=Oo(e.width)/n.offsetWidth||1,r=Oo(e.height)/n.offsetHeight||1;return t!==1||r!==1}function ob(n,e,t){t===void 0&&(t=!1);var r=jt(e),o=jt(e)&&rb(e),s=fr(e),i=Lo(n,o,t),l={scrollLeft:0,scrollTop:0},a={x:0,y:0};return(r||!r&&!t)&&((Sn(e)!=="body"||ru(s))&&(l=nb(e)),jt(e)?(a=Lo(e,!0),a.x+=e.clientLeft,a.y+=e.clientTop):s&&(a.x=nu(s))),{x:i.left+l.scrollLeft-a.x,y:i.top+l.scrollTop-a.y,width:i.width,height:i.height}}function sb(n){var e=new Map,t=new Set,r=[];n.forEach(function(s){e.set(s.name,s)});function o(s){t.add(s.name);var i=[].concat(s.requires||[],s.requiresIfExists||[]);i.forEach(function(l){if(!t.has(l)){var a=e.get(l);a&&o(a)}}),r.push(s)}return n.forEach(function(s){t.has(s.name)||o(s)}),r}function ib(n){var e=sb(n);return Qi.reduce(function(t,r){return t.concat(e.filter(function(o){return o.phase===r}))},[])}function ab(n){var e;return function(){return e||(e=new Promise(function(t){Promise.resolve().then(function(){e=void 0,t(n())})})),e}}function hr(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,s){return o.replace(/%s/,s)},n)}var Jr='Popper: modifier "%s" provided an invalid %s property, expected %s but got %s',lb='Popper: modifier "%s" requires "%s", but "%s" modifier is not available',Q1=["name","enabled","phase","fn","effect","requires","options"];function cb(n){n.forEach(function(e){[].concat(Object.keys(e),Q1).filter(function(t,r,o){return o.indexOf(t)===r}).forEach(function(t){switch(t){case"name":typeof e.name!="string"&&console.error(hr(Jr,String(e.name),'"name"','"string"','"'+String(e.name)+'"'));break;case"enabled":typeof e.enabled!="boolean"&&console.error(hr(Jr,e.name,'"enabled"','"boolean"','"'+String(e.enabled)+'"'));break;case"phase":Qi.indexOf(e.phase)<0&&console.error(hr(Jr,e.name,'"phase"',"either "+Qi.join(", "),'"'+String(e.phase)+'"'));break;case"fn":typeof e.fn!="function"&&console.error(hr(Jr,e.name,'"fn"','"function"','"'+String(e.fn)+'"'));break;case"effect":e.effect!=null&&typeof e.effect!="function"&&console.error(hr(Jr,e.name,'"effect"','"function"','"'+String(e.fn)+'"'));break;case"requires":e.requires!=null&&!Array.isArray(e.requires)&&console.error(hr(Jr,e.name,'"requires"','"array"','"'+String(e.requires)+'"'));break;case"requiresIfExists":Array.isArray(e.requiresIfExists)||console.error(hr(Jr,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 '+Q1.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(hr(lb,String(e.name),r,r))})})})}function ub(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 db(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 Z1="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",fb="Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.",J1={placement:"bottom",modifiers:[],strategy:"absolute"};function X1(){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 ta(n){n===void 0&&(n={});var e=n,t=e.defaultModifiers,r=t===void 0?[]:t,o=e.defaultOptions,s=o===void 0?J1:o;return function(l,a,u){u===void 0&&(u=s);var d={placement:"bottom",orderedModifiers:[],options:Object.assign({},J1,s),modifiersData:{},elements:{reference:l,popper:a},attributes:{},styles:{}},f=[],h=!1,p={state:d,setOptions:function(C){var b=typeof C=="function"?C(d.options):C;g(),d.options=Object.assign({},s,d.options,b),d.scrollParents={reference:Qr(l)?Ds(l):l.contextElement?Ds(l.contextElement):[],popper:Ds(a)};var E=ib(db([].concat(r,d.options.modifiers)));if(d.orderedModifiers=E.filter(function($){return $.enabled}),process.env.NODE_ENV!=="production"){var v=ub([].concat(E,d.options.modifiers),function($){var P=$.name;return P});if(cb(v),hn(d.options.placement)===Ms){var N=d.orderedModifiers.find(function($){var P=$.name;return P==="flip"});N||console.error(['Popper: "auto" placements require the "flip" modifier be',"present and enabled to work."].join(" "))}var w=pn(a),x=w.marginTop,B=w.marginRight,R=w.marginBottom,U=w.marginLeft;[x,B,R,U].some(function($){return parseFloat($)})&&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 C=d.elements,b=C.reference,E=C.popper;if(!X1(b,E)){process.env.NODE_ENV!=="production"&&console.error(Z1);return}d.rects={reference:ob(b,Os(E),d.options.strategy==="fixed"),popper:Jc(E)},d.reset=!1,d.placement=d.options.placement,d.orderedModifiers.forEach(function($){return d.modifiersData[$.name]=Object.assign({},$.data)});for(var v=0,N=0;N<d.orderedModifiers.length;N++){if(process.env.NODE_ENV!=="production"&&(v+=1,v>100)){console.error(fb);break}if(d.reset===!0){d.reset=!1,N=-1;continue}var w=d.orderedModifiers[N],x=w.fn,B=w.options,R=B===void 0?{}:B,U=w.name;typeof x=="function"&&(d=x({state:d,options:R,name:U,instance:p})||d)}}},update:ab(function(){return new Promise(function(y){p.forceUpdate(),y(d)})}),destroy:function(){g(),h=!0}};if(!X1(l,a))return process.env.NODE_ENV!=="production"&&console.error(Z1),p;p.setOptions(u).then(function(y){!h&&u.onFirstUpdate&&u.onFirstUpdate(y)});function m(){d.orderedModifiers.forEach(function(y){var C=y.name,b=y.options,E=b===void 0?{}:b,v=y.effect;if(typeof v=="function"){var N=v({state:d,name:C,instance:p,options:E}),w=function(){};f.push(N||w)}})}function g(){f.forEach(function(y){return y()}),f=[]}return p}}var hb=ta(),pb=[eu,su,qc,Zi],mb=ta({defaultModifiers:pb}),gb=[eu,su,qc,Zi,Y1,H1,G1,P1,K1],na=ta({defaultModifiers:gb});const q1=Object.freeze(Object.defineProperty({__proto__:null,afterMain:k1,afterRead:T1,afterWrite:x1,applyStyles:Zi,arrow:P1,auto:Ms,basePlacements:Io,beforeMain:S1,beforeRead:b1,beforeWrite:N1,bottom:Ut,clippingParents:C1,computeStyles:qc,createPopper:na,createPopperBase:hb,createPopperLite:mb,detectOverflow:Ro,end:xo,eventListeners:eu,flip:H1,hide:K1,left:Nt,main:_1,modifierPhases:Qi,offset:Y1,placements:Gc,popper:Mo,popperGenerator:ta,popperOffsets:su,preventOverflow:G1,read:w1,reference:A1,right:zt,start:Gr,top:kt,variationPlacements:Yc,viewport:Kc,write:I1},Symbol.toStringTag,{value:"Module"}));var yb="tippy-box",em="tippy-content",vb="tippy-backdrop",tm="tippy-arrow",nm="tippy-svg-arrow",Xr={passive:!0,capture:!0},rm=function(){return document.body};function Eb(n,e){return{}.hasOwnProperty.call(n,e)}function iu(n,e,t){if(Array.isArray(n)){var r=n[e];return r??(Array.isArray(t)?t[e]:t)}return n}function au(n,e){var t={}.toString.call(n);return t.indexOf("[object")===0&&t.indexOf(e+"]")>-1}function om(n,e){return typeof n=="function"?n.apply(void 0,e):n}function sm(n,e){if(e===0)return n;var t;return function(r){clearTimeout(t),t=setTimeout(function(){n(r)},e)}}function Cb(n,e){var t=Object.assign({},n);return e.forEach(function(r){delete t[r]}),t}function Ab(n){return n.split(/\s+/).filter(Boolean)}function Bo(n){return[].concat(n)}function im(n,e){n.indexOf(e)===-1&&n.push(e)}function bb(n){return n.filter(function(e,t){return n.indexOf(e)===t})}function wb(n){return n.split("-")[0]}function ra(n){return[].slice.call(n)}function am(n){return Object.keys(n).reduce(function(e,t){return n[t]!==void 0&&(e[t]=n[t]),e},{})}function Rs(){return document.createElement("div")}function Bs(n){return["Element","Fragment"].some(function(e){return au(n,e)})}function Tb(n){return au(n,"NodeList")}function Sb(n){return au(n,"MouseEvent")}function _b(n){return!!(n&&n._tippy&&n._tippy.reference===n)}function kb(n){return Bs(n)?[n]:Tb(n)?ra(n):Array.isArray(n)?n:ra(document.querySelectorAll(n))}function lu(n,e){n.forEach(function(t){t&&(t.style.transitionDuration=e+"ms")})}function lm(n,e){n.forEach(function(t){t&&t.setAttribute("data-state",e)})}function Nb(n){var e,t=Bo(n),r=t[0];return r!=null&&(e=r.ownerDocument)!=null&&e.body?r.ownerDocument:document}function Ib(n,e){var t=e.clientX,r=e.clientY;return n.every(function(o){var s=o.popperRect,i=o.popperState,l=o.props,a=l.interactiveBorder,u=wb(i.placement),d=i.modifiersData.offset;if(!d)return!0;var f=u==="bottom"?d.top.y:0,h=u==="top"?d.bottom.y:0,p=u==="right"?d.left.x:0,m=u==="left"?d.right.x:0,g=s.top-r+f>a,y=r-s.bottom-h>a,C=s.left-t+p>a,b=t-s.right-m>a;return g||y||C||b})}function cu(n,e,t){var r=e+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(o){n[r](o,t)})}function cm(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 _n={isTouch:!1},um=0;function xb(){_n.isTouch||(_n.isTouch=!0,window.performance&&document.addEventListener("mousemove",dm))}function dm(){var n=performance.now();n-um<20&&(_n.isTouch=!1,document.removeEventListener("mousemove",dm)),um=n}function Mb(){var n=document.activeElement;if(_b(n)){var e=n._tippy;n.blur&&!e.state.isVisible&&n.blur()}}function Ob(){document.addEventListener("touchstart",xb,Xr),window.addEventListener("blur",Mb)}var Lb=typeof window<"u"&&typeof document<"u",Db=Lb?!!window.msCrypto:!1;function Po(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 fm(n){var e=/[ \t]{2,}/g,t=/^[ \t]*/gm;return n.replace(e," ").replace(t,"").trim()}function Rb(n){return fm(`
|
|
154
154
|
%ctippy.js
|
|
155
155
|
|
|
156
156
|
%c`+fm(n)+`
|
|
157
157
|
|
|
158
158
|
%c👷 This is a development-only message. It will be removed in production.
|
|
159
|
-
`)}function hm(n){return[
|
|
159
|
+
`)}function hm(n){return[Rb(n),"color: #00C584; font-size: 1.3em; font-weight: bold;","line-height: 1.5","color: #a6a095;"]}var Ps;process.env.NODE_ENV!=="production"&&Bb();function Bb(){Ps=new Set}function $n(n,e){if(n&&!Ps.has(e)){var t;Ps.add(e),(t=console).warn.apply(t,hm(e))}}function uu(n,e){if(n&&!Ps.has(e)){var t;Ps.add(e),(t=console).error.apply(t,hm(e))}}function Pb(n){var e=!n,t=Object.prototype.toString.call(n)==="[object Object]"&&!n.addEventListener;uu(e,["tippy() was passed","`"+String(n)+"`","as its targets (first) argument. Valid types are: String, Element,","Element[], or NodeList."].join(" ")),uu(t,["tippy() was passed a plain object which is not supported as an argument","for virtual positioning. Use props.getReferenceClientRect instead."].join(" "))}var pm={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},Fb={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},Wt=Object.assign({appendTo:rm,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},pm,Fb),Vb=Object.keys(Wt),$b=function(e){process.env.NODE_ENV!=="production"&&ym(e,[]);var t=Object.keys(e);t.forEach(function(r){Wt[r]=e[r]})};function mm(n){var e=n.plugins||[],t=e.reduce(function(r,o){var s=o.name,i=o.defaultValue;if(s){var l;r[s]=n[s]!==void 0?n[s]:(l=Wt[s])!=null?l:i}return r},{});return Object.assign({},n,t)}function Ub(n,e){var t=e?Object.keys(mm(Object.assign({},Wt,{plugins:e}))):Vb,r=t.reduce(function(o,s){var i=(n.getAttribute("data-tippy-"+s)||"").trim();if(!i)return o;if(s==="content")o[s]=i;else try{o[s]=JSON.parse(i)}catch{o[s]=i}return o},{});return r}function gm(n,e){var t=Object.assign({},e,{content:om(e.content,[n])},e.ignoreAttributes?{}:Ub(n,e.plugins));return t.aria=Object.assign({},Wt.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 ym(n,e){n===void 0&&(n={}),e===void 0&&(e=[]);var t=Object.keys(n);t.forEach(function(r){var o=Cb(Wt,Object.keys(pm)),s=!Eb(o,r);s&&(s=e.filter(function(i){return i.name===r}).length===0),$n(s,["`"+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 zb=function(){return"innerHTML"};function du(n,e){n[zb()]=e}function vm(n){var e=Rs();return n===!0?e.className=tm:(e.className=nm,Bs(n)?e.appendChild(n):du(e,n)),e}function Em(n,e){Bs(e.content)?(du(n,""),n.appendChild(e.content)):typeof e.content!="function"&&(e.allowHTML?du(n,e.content):n.textContent=e.content)}function fu(n){var e=n.firstElementChild,t=ra(e.children);return{box:e,content:t.find(function(r){return r.classList.contains(em)}),arrow:t.find(function(r){return r.classList.contains(tm)||r.classList.contains(nm)}),backdrop:t.find(function(r){return r.classList.contains(vb)})}}function Cm(n){var e=Rs(),t=Rs();t.className=yb,t.setAttribute("data-state","hidden"),t.setAttribute("tabindex","-1");var r=Rs();r.className=em,r.setAttribute("data-state","hidden"),Em(r,n.props),e.appendChild(t),t.appendChild(r),o(n.props,n.props);function o(s,i){var l=fu(e),a=l.box,u=l.content,d=l.arrow;i.theme?a.setAttribute("data-theme",i.theme):a.removeAttribute("data-theme"),typeof i.animation=="string"?a.setAttribute("data-animation",i.animation):a.removeAttribute("data-animation"),i.inertia?a.setAttribute("data-inertia",""):a.removeAttribute("data-inertia"),a.style.maxWidth=typeof i.maxWidth=="number"?i.maxWidth+"px":i.maxWidth,i.role?a.setAttribute("role",i.role):a.removeAttribute("role"),(s.content!==i.content||s.allowHTML!==i.allowHTML)&&Em(u,n.props),i.arrow?d?s.arrow!==i.arrow&&(a.removeChild(d),a.appendChild(vm(i.arrow))):a.appendChild(vm(i.arrow)):d&&a.removeChild(d)}return{popper:e,onUpdate:o}}Cm.$$tippy=!0;var Hb=1,oa=[],hu=[];function jb(n,e){var t=gm(n,Object.assign({},Wt,mm(am(e)))),r,o,s,i=!1,l=!1,a=!1,u=!1,d,f,h,p=[],m=sm(k,t.interactiveDebounce),g,y=Hb++,C=null,b=bb(t.plugins),E={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},v={id:y,reference:n,popper:Rs(),popperInstance:C,props:t,state:E,plugins:b,clearDelayTimeouts:Te,setProps:q,setContent:ie,show:be,hide:Pe,hideWithInteractivity:qe,enable:ae,disable:pe,unmount:nt,destroy:Mt};if(!t.render)return process.env.NODE_ENV!=="production"&&uu(!0,"render() function has not been supplied."),v;var N=t.render(v),w=N.popper,x=N.onUpdate;w.setAttribute("data-tippy-root",""),w.id="tippy-"+v.id,v.popper=w,n._tippy=v,w._tippy=v;var B=b.map(function(te){return te.fn(v)}),R=n.hasAttribute("aria-expanded");return L(),re(),J(),z("onCreate",[v]),t.showOnCreate&&V(),w.addEventListener("mouseenter",function(){v.props.interactive&&v.state.isVisible&&v.clearDelayTimeouts()}),w.addEventListener("mouseleave",function(){v.props.interactive&&v.props.trigger.indexOf("mouseenter")>=0&&G().addEventListener("mousemove",m)}),v;function U(){var te=v.props.touch;return Array.isArray(te)?te:[te,0]}function $(){return U()[0]==="hold"}function P(){var te;return!!((te=v.props.render)!=null&&te.$$tippy)}function Y(){return g||n}function G(){var te=Y().parentNode;return te?Nb(te):document}function K(){return fu(w)}function H(te){return v.state.isMounted&&!v.state.isVisible||_n.isTouch||d&&d.type==="focus"?0:iu(v.props.delay,te?0:1,Wt.delay)}function J(te){te===void 0&&(te=!1),w.style.pointerEvents=v.props.interactive&&!te?"":"none",w.style.zIndex=""+v.props.zIndex}function z(te,ye,me){if(me===void 0&&(me=!0),B.forEach(function(Re){Re[te]&&Re[te].apply(Re,ye)}),me){var Oe;(Oe=v.props)[te].apply(Oe,ye)}}function ee(){var te=v.props.aria;if(te.content){var ye="aria-"+te.content,me=w.id,Oe=Bo(v.props.triggerTarget||n);Oe.forEach(function(Re){var et=Re.getAttribute(ye);if(v.state.isVisible)Re.setAttribute(ye,et?et+" "+me:me);else{var rt=et&&et.replace(me,"").trim();rt?Re.setAttribute(ye,rt):Re.removeAttribute(ye)}})}}function re(){if(!(R||!v.props.aria.expanded)){var te=Bo(v.props.triggerTarget||n);te.forEach(function(ye){v.props.interactive?ye.setAttribute("aria-expanded",v.state.isVisible&&ye===Y()?"true":"false"):ye.removeAttribute("aria-expanded")})}}function ue(){G().removeEventListener("mousemove",m),oa=oa.filter(function(te){return te!==m})}function ge(te){if(!(_n.isTouch&&(a||te.type==="mousedown"))){var ye=te.composedPath&&te.composedPath()[0]||te.target;if(!(v.props.interactive&&cm(w,ye))){if(Bo(v.props.triggerTarget||n).some(function(me){return cm(me,ye)})){if(_n.isTouch||v.state.isVisible&&v.props.trigger.indexOf("click")>=0)return}else z("onClickOutside",[v,te]);v.props.hideOnClick===!0&&(v.clearDelayTimeouts(),v.hide(),l=!0,setTimeout(function(){l=!1}),v.state.isMounted||xe())}}}function Ee(){a=!0}function Se(){a=!1}function ke(){var te=G();te.addEventListener("mousedown",ge,!0),te.addEventListener("touchend",ge,Xr),te.addEventListener("touchstart",Se,Xr),te.addEventListener("touchmove",Ee,Xr)}function xe(){var te=G();te.removeEventListener("mousedown",ge,!0),te.removeEventListener("touchend",ge,Xr),te.removeEventListener("touchstart",Se,Xr),te.removeEventListener("touchmove",Ee,Xr)}function Ae(te,ye){D(te,function(){!v.state.isVisible&&w.parentNode&&w.parentNode.contains(w)&&ye()})}function O(te,ye){D(te,ye)}function D(te,ye){var me=K().box;function Oe(Re){Re.target===me&&(cu(me,"remove",Oe),ye())}if(te===0)return ye();cu(me,"remove",f),cu(me,"add",Oe),f=Oe}function I(te,ye,me){me===void 0&&(me=!1);var Oe=Bo(v.props.triggerTarget||n);Oe.forEach(function(Re){Re.addEventListener(te,ye,me),p.push({node:Re,eventType:te,handler:ye,options:me})})}function L(){$()&&(I("touchstart",T,{passive:!0}),I("touchend",M,{passive:!0})),Ab(v.props.trigger).forEach(function(te){if(te!=="manual")switch(I(te,T),te){case"mouseenter":I("mouseleave",M);break;case"focus":I(Db?"focusout":"blur",j);break;case"focusin":I("focusout",j);break}})}function A(){p.forEach(function(te){var ye=te.node,me=te.eventType,Oe=te.handler,Re=te.options;ye.removeEventListener(me,Oe,Re)}),p=[]}function T(te){var ye,me=!1;if(!(!v.state.isEnabled||W(te)||l)){var Oe=((ye=d)==null?void 0:ye.type)==="focus";d=te,g=te.currentTarget,re(),!v.state.isVisible&&Sb(te)&&oa.forEach(function(Re){return Re(te)}),te.type==="click"&&(v.props.trigger.indexOf("mouseenter")<0||i)&&v.props.hideOnClick!==!1&&v.state.isVisible?me=!0:V(te),te.type==="click"&&(i=!me),me&&!Oe&&Q(te)}}function k(te){var ye=te.target,me=Y().contains(ye)||w.contains(ye);if(!(te.type==="mousemove"&&me)){var Oe=_().concat(w).map(function(Re){var et,rt=Re._tippy,Ot=(et=rt.popperInstance)==null?void 0:et.state;return Ot?{popperRect:Re.getBoundingClientRect(),popperState:Ot,props:t}:null}).filter(Boolean);Ib(Oe,te)&&(ue(),Q(te))}}function M(te){var ye=W(te)||v.props.trigger.indexOf("click")>=0&&i;if(!ye){if(v.props.interactive){v.hideWithInteractivity(te);return}Q(te)}}function j(te){v.props.trigger.indexOf("focusin")<0&&te.target!==Y()||v.props.interactive&&te.relatedTarget&&w.contains(te.relatedTarget)||Q(te)}function W(te){return _n.isTouch?$()!==te.type.indexOf("touch")>=0:!1}function Z(){X();var te=v.props,ye=te.popperOptions,me=te.placement,Oe=te.offset,Re=te.getReferenceClientRect,et=te.moveTransition,rt=P()?fu(w).arrow:null,Ot=Re?{getBoundingClientRect:Re,contextElement:Re.contextElement||Y()}:n,Lt={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(Nr){var Yt=Nr.state;if(P()){var on=K(),is=on.box;["placement","reference-hidden","escaped"].forEach(function(sn){sn==="placement"?is.setAttribute("data-placement",Yt.placement):Yt.attributes.popper["data-popper-"+sn]?is.setAttribute("data-"+sn,""):is.removeAttribute("data-"+sn)}),Yt.attributes.popper={}}}},gt=[{name:"offset",options:{offset:Oe}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!et}},Lt];P()&&rt&>.push({name:"arrow",options:{element:rt,padding:3}}),gt.push.apply(gt,(ye==null?void 0:ye.modifiers)||[]),v.popperInstance=na(Ot,w,Object.assign({},ye,{placement:me,onFirstUpdate:h,modifiers:gt}))}function X(){v.popperInstance&&(v.popperInstance.destroy(),v.popperInstance=null)}function S(){var te=v.props.appendTo,ye,me=Y();v.props.interactive&&te===rm||te==="parent"?ye=me.parentNode:ye=om(te,[me]),ye.contains(w)||ye.appendChild(w),v.state.isMounted=!0,Z(),process.env.NODE_ENV!=="production"&&$n(v.props.interactive&&te===Wt.appendTo&&me.nextElementSibling!==w,["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 _(){return
|
|
168
|
+
`,"See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity"].join(" "))}function _(){return ra(w.querySelectorAll("[data-tippy-root]"))}function V(te){v.clearDelayTimeouts(),te&&z("onTrigger",[v,te]),ke();var ye=H(!0),me=U(),Oe=me[0],Re=me[1];_n.isTouch&&Oe==="hold"&&Re&&(ye=Re),ye?r=setTimeout(function(){v.show()},ye):v.show()}function Q(te){if(v.clearDelayTimeouts(),z("onUntrigger",[v,te]),!v.state.isVisible){xe();return}if(!(v.props.trigger.indexOf("mouseenter")>=0&&v.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(te.type)>=0&&i)){var ye=H(!1);ye?o=setTimeout(function(){v.state.isVisible&&v.hide()},ye):s=requestAnimationFrame(function(){v.hide()})}}function ae(){v.state.isEnabled=!0}function pe(){v.hide(),v.state.isEnabled=!1}function Te(){clearTimeout(r),clearTimeout(o),cancelAnimationFrame(s)}function q(te){if(process.env.NODE_ENV!=="production"&&$n(v.state.isDestroyed,Po("setProps")),!v.state.isDestroyed){z("onBeforeUpdate",[v,te]),A();var ye=v.props,me=gm(n,Object.assign({},ye,am(te),{ignoreAttributes:!0}));v.props=me,L(),ye.interactiveDebounce!==me.interactiveDebounce&&(ue(),m=sm(k,me.interactiveDebounce)),ye.triggerTarget&&!me.triggerTarget?Bo(ye.triggerTarget).forEach(function(Oe){Oe.removeAttribute("aria-expanded")}):me.triggerTarget&&n.removeAttribute("aria-expanded"),re(),J(),x&&x(ye,me),v.popperInstance&&(Z(),_().forEach(function(Oe){requestAnimationFrame(Oe._tippy.popperInstance.forceUpdate)})),z("onAfterUpdate",[v,te])}}function ie(te){v.setProps({content:te})}function be(){process.env.NODE_ENV!=="production"&&$n(v.state.isDestroyed,Po("show"));var te=v.state.isVisible,ye=v.state.isDestroyed,me=!v.state.isEnabled,Oe=_n.isTouch&&!v.props.touch,Re=iu(v.props.duration,0,Wt.duration);if(!(te||ye||me||Oe)&&!Y().hasAttribute("disabled")&&(z("onShow",[v],!1),v.props.onShow(v)!==!1)){if(v.state.isVisible=!0,P()&&(w.style.visibility="visible"),J(),ke(),v.state.isMounted||(w.style.transition="none"),P()){var et=K(),rt=et.box,Ot=et.content;lu([rt,Ot],0)}h=function(){var gt;if(!(!v.state.isVisible||u)){if(u=!0,w.offsetHeight,w.style.transition=v.props.moveTransition,P()&&v.props.animation){var Ln=K(),Nr=Ln.box,Yt=Ln.content;lu([Nr,Yt],Re),lm([Nr,Yt],"visible")}ee(),re(),im(hu,v),(gt=v.popperInstance)==null||gt.forceUpdate(),z("onMount",[v]),v.props.animation&&P()&&O(Re,function(){v.state.isShown=!0,z("onShown",[v])})}},S()}}function Pe(){process.env.NODE_ENV!=="production"&&$n(v.state.isDestroyed,Po("hide"));var te=!v.state.isVisible,ye=v.state.isDestroyed,me=!v.state.isEnabled,Oe=iu(v.props.duration,1,Wt.duration);if(!(te||ye||me)&&(z("onHide",[v],!1),v.props.onHide(v)!==!1)){if(v.state.isVisible=!1,v.state.isShown=!1,u=!1,i=!1,P()&&(w.style.visibility="hidden"),ue(),xe(),J(!0),P()){var Re=K(),et=Re.box,rt=Re.content;v.props.animation&&(lu([et,rt],Oe),lm([et,rt],"hidden"))}ee(),re(),v.props.animation?P()&&Ae(Oe,v.unmount):v.unmount()}}function qe(te){process.env.NODE_ENV!=="production"&&$n(v.state.isDestroyed,Po("hideWithInteractivity")),G().addEventListener("mousemove",m),im(oa,m),m(te)}function nt(){process.env.NODE_ENV!=="production"&&$n(v.state.isDestroyed,Po("unmount")),v.state.isVisible&&v.hide(),v.state.isMounted&&(X(),_().forEach(function(te){te._tippy.unmount()}),w.parentNode&&w.parentNode.removeChild(w),hu=hu.filter(function(te){return te!==v}),v.state.isMounted=!1,z("onHidden",[v]))}function Mt(){process.env.NODE_ENV!=="production"&&$n(v.state.isDestroyed,Po("destroy")),!v.state.isDestroyed&&(v.clearDelayTimeouts(),v.unmount(),A(),delete n._tippy,v.state.isDestroyed=!0,z("onDestroy",[v]))}}function Fo(n,e){e===void 0&&(e={});var t=Wt.plugins.concat(e.plugins||[]);process.env.NODE_ENV!=="production"&&(Pb(n),ym(e,t)),Ob();var r=Object.assign({},e,{plugins:t}),o=kb(n);if(process.env.NODE_ENV!=="production"){var s=Bs(r.content),i=o.length>1;$n(s&&i,["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,u){var d=u&&Hb(u,r);return d&&a.push(d),a},[]);return Ds(n)?l[0]:l}Fo.defaultProps=Wt,Fo.setDefaultProps=Vb,Fo.currentInput=_n,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)}}),Fo.setDefaultProps({render:Cm});class jb{constructor({editor:e,element:t,view:r,tippyOptions:o={},updateDelay:s=250,shouldShow:i}){this.preventHide=!1,this.shouldShow=({view:l,state:a,from:u,to:d})=>{const{doc:f,selection:h}=a,{empty:p}=h,m=!f.textBetween(u,d).length&&Fc(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 u=!(a!=null&&a.selection.eq(l.state.selection)),d=!(a!=null&&a.doc.eq(l.state.doc));!u&&!d||(this.updateDebounceTimer&&clearTimeout(this.updateDebounceTimer),this.updateDebounceTimer=window.setTimeout(()=>{this.updateHandler(l,u,d,a)},this.updateDelay))},this.updateHandler=(l,a,u,d)=>{var f,h,p;const{state:m,composing:g}=l,{selection:y}=m;if(g||!a&&!u)return;this.createTooltip();const{ranges:w}=y,E=Math.min(...w.map(b=>b.$from.pos)),v=Math.max(...w.map(b=>b.$to.pos));if(!((f=this.shouldShow)===null||f===void 0?void 0:f.call(this,{editor:this.editor,view:l,state:m,oldState:d,from:E,to:v}))){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(iA(m.selection)){let b=l.nodeDOM(E);const x=b.dataset.nodeViewWrapper?b:b.querySelector("[data-node-view-wrapper]");if(x&&(b=x.firstChild),b)return b.getBoundingClientRect()}return v1(l,E,v)})}),this.show()},this.editor=e,this.element=t,this.view=r,this.updateDelay=s,i&&(this.shouldShow=i),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=Fo(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 s=!(t!=null&&t.selection.eq(e.state.selection)),i=!(t!=null&&t.doc.eq(e.state.doc));this.updateHandler(e,s,i,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 Am=n=>new Dt({key:typeof n.pluginKey=="string"?new un(n.pluginKey):n.pluginKey,view:e=>new jb({view:e,...n})});Jt.create({name:"bubbleMenu",addOptions(){return{element:null,tippyOptions:{},pluginKey:"bubbleMenu",updateDelay:void 0,shouldShow:null}},addProseMirrorPlugins(){return this.options.element?[Am({pluginKey:this.options.pluginKey,editor:this.editor,element:this.options.element,tippyOptions:this.options.tippyOptions,updateDelay:this.options.updateDelay,shouldShow:this.options.shouldShow})]:[]}});class Wb{constructor({editor:e,element:t,view:r,tippyOptions:o={},shouldShow:s}){this.preventHide=!1,this.shouldShow=({view:i,state:l})=>{const{selection:a}=l,{$anchor:u,empty:d}=a,f=u.depth===1,h=u.parent.isTextblock&&!u.parent.type.spec.code&&!u.parent.textContent;return!(!i.hasFocus()||!d||!f||!h||!this.editor.isEditable)},this.mousedownHandler=()=>{this.preventHide=!0},this.focusHandler=()=>{setTimeout(()=>this.update(this.editor.view))},this.blurHandler=({event:i})=>{var l;if(this.preventHide){this.preventHide=!1;return}i!=null&&i.relatedTarget&&(!((l=this.element.parentNode)===null||l===void 0)&&l.contains(i.relatedTarget))||this.hide()},this.tippyBlurHandler=i=>{this.blurHandler({event:i})},this.editor=e,this.element=t,this.view=r,s&&(this.shouldShow=s),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=Fo(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,s;const{state:i}=e,{doc:l,selection:a}=i,{from:u,to:d}=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:i,oldState:t}))){this.hide();return}(o=this.tippy)===null||o===void 0||o.setProps({getReferenceClientRect:((s=this.tippyOptions)===null||s===void 0?void 0:s.getReferenceClientRect)||(()=>v1(e,u,d))}),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 bm=n=>new Dt({key:typeof n.pluginKey=="string"?new un(n.pluginKey):n.pluginKey,view:e=>new Wb({view:e,...n})});Jt.create({name:"floatingMenu",addOptions(){return{element:null,tippyOptions:{},pluginKey:"floatingMenu",shouldShow:null}},addProseMirrorPlugins(){return this.options.element?[bm({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:s,shouldShow:i,tippyOptions:l}=n;o.registerPlugin(Am({updateDelay:r,editor:o,element:t.value,pluginKey:s,shouldShow:i,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 wm(n){return c.customRef((e,t)=>({get(){return e(),n},set(r){n=r,requestAnimationFrame(()=>{requestAnimationFrame(()=>{t()})})}}))}class Kb extends SA{constructor(e={}){return super(e),this.vueRenderers=c.reactive(new Map),this.contentComponent=null,this.reactiveState=wm(this.view.state),this.reactiveExtensionStorage=wm(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 Yb=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:s,shouldShow:i}=n;o.registerPlugin(bm({pluginKey:r,editor:o,element:t.value,tippyOptions:s,shouldShow:i}))}),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 Gb=(n={})=>{const e=c.shallowRef();return c.onMounted(()=>{e.value=new Kb(n)}),c.onBeforeUnmount(()=>{var t;(t=e.value)===null||t===void 0||t.destroy()}),e},Qb=Vn.create({name:"doc",topNode:!0,content:"block+"}),Zb=Vn.create({name:"paragraph",priority:1e3,addOptions(){return{HTMLAttributes:{}}},group:"block",content:"inline*",parseHTML(){return[{tag:"p"}]},renderHTML({HTMLAttributes:n}){return["p",_t(this.options.HTMLAttributes,n),0]},addCommands(){return{setParagraph:()=>({commands:n})=>n.setNode(this.name)}},addKeyboardShortcuts(){return{"Mod-Alt-0":()=>this.editor.commands.setParagraph()}}}),Jb=Vn.create({name:"text",group:"inline"}),Xb="aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4vianca6w0s2x0a2z0ure5ba0by2idu3namex3narepublic11d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0cast4mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dabur3d1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0ardian6cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster6d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2tura4vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9dnavy5lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0a1b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp2w2ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4finity6ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2",qb="ελ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",Vo=(n,e)=>{for(const t in e)n[t]=e[t];return n},hu="numeric",pu="ascii",mu="alpha",oa="asciinumeric",sa="alphanumeric",gu="domain",Tm="emoji",ew="scheme",tw="slashscheme",Sm="whitespace";function nw(n,e){return n in e||(e[n]=[]),e[n]}function qr(n,e,t){e[hu]&&(e[oa]=!0,e[sa]=!0),e[pu]&&(e[oa]=!0,e[mu]=!0),e[oa]&&(e[sa]=!0),e[mu]&&(e[sa]=!0),e[sa]&&(e[gu]=!0),e[Tm]&&(e[gu]=!0);for(const r in e){const o=nw(r,t);o.indexOf(n)<0&&o.push(n)}}function rw(n,e){const t={};for(const r in e)e[r].indexOf(n)>=0&&(t[r]=!0);return t}function Bt(n){n===void 0&&(n=null),this.j={},this.jr=[],this.jd=null,this.t=n}Bt.groups={},Bt.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],s=e.jr[r][1];if(s&&o.test(n))return s}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||Bt.groups;let o;return e&&e.j?o=e:(o=new Bt(e),t&&r&&qr(e,t,r)),this.jr.push([n,o]),o},ts(n,e,t,r){let o=this;const s=n.length;if(!s)return o;for(let i=0;i<s-1;i++)o=o.tt(n[i]);return o.tt(n[s-1],e,t,r)},tt(n,e,t,r){r=r||Bt.groups;const o=this;if(e&&e.j)return o.j[n]=e,e;const s=e;let i,l=o.go(n);if(l?(i=new Bt,Vo(i.j,l.j),i.jr.push.apply(i.jr,l.jr),i.jd=l.jd,i.t=l.t):i=new Bt,s){if(r)if(i.t&&typeof i.t=="string"){const a=Vo(rw(i.t,r),t);qr(s,a,r)}else t&&qr(s,t,r);i.t=s}return o.j[n]=i,i}};const Fe=(n,e,t,r,o)=>n.ta(e,t,r,o),Xt=(n,e,t,r,o)=>n.tr(e,t,r,o),_m=(n,e,t,r,o)=>n.ts(e,t,r,o),ve=(n,e,t,r,o)=>n.tt(e,t,r,o),Un="WORD",yu="UWORD",Bs="LOCALHOST",vu="TLD",Eu="UTLD",ia="SCHEME",$o="SLASH_SCHEME",Cu="NUM",km="WS",Au="NL",Ps="OPENBRACE",Fs="CLOSEBRACE",aa="OPENBRACKET",la="CLOSEBRACKET",ca="OPENPAREN",ua="CLOSEPAREN",da="OPENANGLEBRACKET",fa="CLOSEANGLEBRACKET",ha="FULLWIDTHLEFTPAREN",pa="FULLWIDTHRIGHTPAREN",ma="LEFTCORNERBRACKET",ga="RIGHTCORNERBRACKET",ya="LEFTWHITECORNERBRACKET",va="RIGHTWHITECORNERBRACKET",Ea="FULLWIDTHLESSTHAN",Ca="FULLWIDTHGREATERTHAN",Aa="AMPERSAND",ba="APOSTROPHE",wa="ASTERISK",pr="AT",Ta="BACKSLASH",Sa="BACKTICK",_a="CARET",mr="COLON",bu="COMMA",ka="DOLLAR",kn="DOT",Na="EQUALS",wu="EXCLAMATION",Nn="HYPHEN",Ia="PERCENT",xa="PIPE",Ma="PLUS",Oa="POUND",La="QUERY",Tu="QUOTE",Su="SEMI",In="SLASH",Vs="TILDE",Da="UNDERSCORE",Nm="EMOJI",Ra="SYM";var Im=Object.freeze({__proto__:null,WORD:Un,UWORD:yu,LOCALHOST:Bs,TLD:vu,UTLD:Eu,SCHEME:ia,SLASH_SCHEME:$o,NUM:Cu,WS:km,NL:Au,OPENBRACE:Ps,CLOSEBRACE:Fs,OPENBRACKET:aa,CLOSEBRACKET:la,OPENPAREN:ca,CLOSEPAREN:ua,OPENANGLEBRACKET:da,CLOSEANGLEBRACKET:fa,FULLWIDTHLEFTPAREN:ha,FULLWIDTHRIGHTPAREN:pa,LEFTCORNERBRACKET:ma,RIGHTCORNERBRACKET:ga,LEFTWHITECORNERBRACKET:ya,RIGHTWHITECORNERBRACKET:va,FULLWIDTHLESSTHAN:Ea,FULLWIDTHGREATERTHAN:Ca,AMPERSAND:Aa,APOSTROPHE:ba,ASTERISK:wa,AT:pr,BACKSLASH:Ta,BACKTICK:Sa,CARET:_a,COLON:mr,COMMA:bu,DOLLAR:ka,DOT:kn,EQUALS:Na,EXCLAMATION:wu,HYPHEN:Nn,PERCENT:Ia,PIPE:xa,PLUS:Ma,POUND:Oa,QUERY:La,QUOTE:Tu,SEMI:Su,SLASH:In,TILDE:Vs,UNDERSCORE:Da,EMOJI:Nm,SYM:Ra});const Uo=/[a-z]/,_u=/\p{L}/u,ku=/\p{Emoji}/u,Nu=/\d/,xm=/\s/,Mm=`
|
|
174
|
-
`,
|
|
173
|
+
`,"2) content: () => element.cloneNode(true)"].join(" "))}var l=o.reduce(function(a,u){var d=u&&jb(u,r);return d&&a.push(d),a},[]);return Bs(n)?l[0]:l}Fo.defaultProps=Wt,Fo.setDefaultProps=$b,Fo.currentInput=_n,Object.assign({},Zi,{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)}}),Fo.setDefaultProps({render:Cm});class Wb{constructor({editor:e,element:t,view:r,tippyOptions:o={},updateDelay:s=250,shouldShow:i}){this.preventHide=!1,this.shouldShow=({view:l,state:a,from:u,to:d})=>{const{doc:f,selection:h}=a,{empty:p}=h,m=!f.textBetween(u,d).length&&Vc(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 u=!(a!=null&&a.selection.eq(l.state.selection)),d=!(a!=null&&a.doc.eq(l.state.doc));!u&&!d||(this.updateDebounceTimer&&clearTimeout(this.updateDebounceTimer),this.updateDebounceTimer=window.setTimeout(()=>{this.updateHandler(l,u,d,a)},this.updateDelay))},this.updateHandler=(l,a,u,d)=>{var f,h,p;const{state:m,composing:g}=l,{selection:y}=m;if(g||!a&&!u)return;this.createTooltip();const{ranges:b}=y,E=Math.min(...b.map(w=>w.$from.pos)),v=Math.max(...b.map(w=>w.$to.pos));if(!((f=this.shouldShow)===null||f===void 0?void 0:f.call(this,{editor:this.editor,view:l,state:m,oldState:d,from:E,to:v}))){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(aA(m.selection)){let w=l.nodeDOM(E);const x=w.dataset.nodeViewWrapper?w:w.querySelector("[data-node-view-wrapper]");if(x&&(w=x.firstChild),w)return w.getBoundingClientRect()}return v1(l,E,v)})}),this.show()},this.editor=e,this.element=t,this.view=r,this.updateDelay=s,i&&(this.shouldShow=i),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=Fo(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 s=!(t!=null&&t.selection.eq(e.state.selection)),i=!(t!=null&&t.doc.eq(e.state.doc));this.updateHandler(e,s,i,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 Am=n=>new Dt({key:typeof n.pluginKey=="string"?new un(n.pluginKey):n.pluginKey,view:e=>new Wb({view:e,...n})});Jt.create({name:"bubbleMenu",addOptions(){return{element:null,tippyOptions:{},pluginKey:"bubbleMenu",updateDelay:void 0,shouldShow:null}},addProseMirrorPlugins(){return this.options.element?[Am({pluginKey:this.options.pluginKey,editor:this.editor,element:this.options.element,tippyOptions:this.options.tippyOptions,updateDelay:this.options.updateDelay,shouldShow:this.options.shouldShow})]:[]}});class Kb{constructor({editor:e,element:t,view:r,tippyOptions:o={},shouldShow:s}){this.preventHide=!1,this.shouldShow=({view:i,state:l})=>{const{selection:a}=l,{$anchor:u,empty:d}=a,f=u.depth===1,h=u.parent.isTextblock&&!u.parent.type.spec.code&&!u.parent.textContent;return!(!i.hasFocus()||!d||!f||!h||!this.editor.isEditable)},this.mousedownHandler=()=>{this.preventHide=!0},this.focusHandler=()=>{setTimeout(()=>this.update(this.editor.view))},this.blurHandler=({event:i})=>{var l;if(this.preventHide){this.preventHide=!1;return}i!=null&&i.relatedTarget&&(!((l=this.element.parentNode)===null||l===void 0)&&l.contains(i.relatedTarget))||this.hide()},this.tippyBlurHandler=i=>{this.blurHandler({event:i})},this.editor=e,this.element=t,this.view=r,s&&(this.shouldShow=s),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=Fo(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,s;const{state:i}=e,{doc:l,selection:a}=i,{from:u,to:d}=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:i,oldState:t}))){this.hide();return}(o=this.tippy)===null||o===void 0||o.setProps({getReferenceClientRect:((s=this.tippyOptions)===null||s===void 0?void 0:s.getReferenceClientRect)||(()=>v1(e,u,d))}),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 bm=n=>new Dt({key:typeof n.pluginKey=="string"?new un(n.pluginKey):n.pluginKey,view:e=>new Kb({view:e,...n})});Jt.create({name:"floatingMenu",addOptions(){return{element:null,tippyOptions:{},pluginKey:"floatingMenu",shouldShow:null}},addProseMirrorPlugins(){return this.options.element?[bm({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:s,shouldShow:i,tippyOptions:l}=n;o.registerPlugin(Am({updateDelay:r,editor:o,element:t.value,pluginKey:s,shouldShow:i,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 wm(n){return c.customRef((e,t)=>({get(){return e(),n},set(r){n=r,requestAnimationFrame(()=>{requestAnimationFrame(()=>{t()})})}}))}class Yb extends _A{constructor(e={}){return super(e),this.vueRenderers=c.reactive(new Map),this.contentComponent=null,this.reactiveState=wm(this.view.state),this.reactiveExtensionStorage=wm(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 Gb=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:s,shouldShow:i}=n;o.registerPlugin(bm({pluginKey:r,editor:o,element:t.value,tippyOptions:s,shouldShow:i}))}),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 Qb=(n={})=>{const e=c.shallowRef();return c.onMounted(()=>{e.value=new Yb(n)}),c.onBeforeUnmount(()=>{var t;(t=e.value)===null||t===void 0||t.destroy()}),e},Zb=Vn.create({name:"doc",topNode:!0,content:"block+"}),Jb=Vn.create({name:"paragraph",priority:1e3,addOptions(){return{HTMLAttributes:{}}},group:"block",content:"inline*",parseHTML(){return[{tag:"p"}]},renderHTML({HTMLAttributes:n}){return["p",_t(this.options.HTMLAttributes,n),0]},addCommands(){return{setParagraph:()=>({commands:n})=>n.setNode(this.name)}},addKeyboardShortcuts(){return{"Mod-Alt-0":()=>this.editor.commands.setParagraph()}}}),Xb=Vn.create({name:"text",group:"inline"}),qb="aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4vianca6w0s2x0a2z0ure5ba0by2idu3namex3narepublic11d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0cast4mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dabur3d1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0ardian6cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster6d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2tura4vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9dnavy5lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0a1b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp2w2ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4finity6ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2",ew="ελ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",Vo=(n,e)=>{for(const t in e)n[t]=e[t];return n},pu="numeric",mu="ascii",gu="alpha",sa="asciinumeric",ia="alphanumeric",yu="domain",Tm="emoji",tw="scheme",nw="slashscheme",Sm="whitespace";function rw(n,e){return n in e||(e[n]=[]),e[n]}function qr(n,e,t){e[pu]&&(e[sa]=!0,e[ia]=!0),e[mu]&&(e[sa]=!0,e[gu]=!0),e[sa]&&(e[ia]=!0),e[gu]&&(e[ia]=!0),e[ia]&&(e[yu]=!0),e[Tm]&&(e[yu]=!0);for(const r in e){const o=rw(r,t);o.indexOf(n)<0&&o.push(n)}}function ow(n,e){const t={};for(const r in e)e[r].indexOf(n)>=0&&(t[r]=!0);return t}function Bt(n){n===void 0&&(n=null),this.j={},this.jr=[],this.jd=null,this.t=n}Bt.groups={},Bt.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],s=e.jr[r][1];if(s&&o.test(n))return s}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||Bt.groups;let o;return e&&e.j?o=e:(o=new Bt(e),t&&r&&qr(e,t,r)),this.jr.push([n,o]),o},ts(n,e,t,r){let o=this;const s=n.length;if(!s)return o;for(let i=0;i<s-1;i++)o=o.tt(n[i]);return o.tt(n[s-1],e,t,r)},tt(n,e,t,r){r=r||Bt.groups;const o=this;if(e&&e.j)return o.j[n]=e,e;const s=e;let i,l=o.go(n);if(l?(i=new Bt,Vo(i.j,l.j),i.jr.push.apply(i.jr,l.jr),i.jd=l.jd,i.t=l.t):i=new Bt,s){if(r)if(i.t&&typeof i.t=="string"){const a=Vo(ow(i.t,r),t);qr(s,a,r)}else t&&qr(s,t,r);i.t=s}return o.j[n]=i,i}};const Fe=(n,e,t,r,o)=>n.ta(e,t,r,o),Xt=(n,e,t,r,o)=>n.tr(e,t,r,o),_m=(n,e,t,r,o)=>n.ts(e,t,r,o),ve=(n,e,t,r,o)=>n.tt(e,t,r,o),Un="WORD",vu="UWORD",Fs="LOCALHOST",Eu="TLD",Cu="UTLD",aa="SCHEME",$o="SLASH_SCHEME",Au="NUM",km="WS",bu="NL",Vs="OPENBRACE",$s="CLOSEBRACE",la="OPENBRACKET",ca="CLOSEBRACKET",ua="OPENPAREN",da="CLOSEPAREN",fa="OPENANGLEBRACKET",ha="CLOSEANGLEBRACKET",pa="FULLWIDTHLEFTPAREN",ma="FULLWIDTHRIGHTPAREN",ga="LEFTCORNERBRACKET",ya="RIGHTCORNERBRACKET",va="LEFTWHITECORNERBRACKET",Ea="RIGHTWHITECORNERBRACKET",Ca="FULLWIDTHLESSTHAN",Aa="FULLWIDTHGREATERTHAN",ba="AMPERSAND",wa="APOSTROPHE",Ta="ASTERISK",pr="AT",Sa="BACKSLASH",_a="BACKTICK",ka="CARET",mr="COLON",wu="COMMA",Na="DOLLAR",kn="DOT",Ia="EQUALS",Tu="EXCLAMATION",Nn="HYPHEN",xa="PERCENT",Ma="PIPE",Oa="PLUS",La="POUND",Da="QUERY",Su="QUOTE",_u="SEMI",In="SLASH",Us="TILDE",Ra="UNDERSCORE",Nm="EMOJI",Ba="SYM";var Im=Object.freeze({__proto__:null,WORD:Un,UWORD:vu,LOCALHOST:Fs,TLD:Eu,UTLD:Cu,SCHEME:aa,SLASH_SCHEME:$o,NUM:Au,WS:km,NL:bu,OPENBRACE:Vs,CLOSEBRACE:$s,OPENBRACKET:la,CLOSEBRACKET:ca,OPENPAREN:ua,CLOSEPAREN:da,OPENANGLEBRACKET:fa,CLOSEANGLEBRACKET:ha,FULLWIDTHLEFTPAREN:pa,FULLWIDTHRIGHTPAREN:ma,LEFTCORNERBRACKET:ga,RIGHTCORNERBRACKET:ya,LEFTWHITECORNERBRACKET:va,RIGHTWHITECORNERBRACKET:Ea,FULLWIDTHLESSTHAN:Ca,FULLWIDTHGREATERTHAN:Aa,AMPERSAND:ba,APOSTROPHE:wa,ASTERISK:Ta,AT:pr,BACKSLASH:Sa,BACKTICK:_a,CARET:ka,COLON:mr,COMMA:wu,DOLLAR:Na,DOT:kn,EQUALS:Ia,EXCLAMATION:Tu,HYPHEN:Nn,PERCENT:xa,PIPE:Ma,PLUS:Oa,POUND:La,QUERY:Da,QUOTE:Su,SEMI:_u,SLASH:In,TILDE:Us,UNDERSCORE:Ra,EMOJI:Nm,SYM:Ba});const Uo=/[a-z]/,ku=/\p{L}/u,Nu=/\p{Emoji}/u,Iu=/\d/,xm=/\s/,Mm=`
|
|
174
|
+
`,sw="️",iw="";let Pa=null,Fa=null;function aw(n){n===void 0&&(n=[]);const e={};Bt.groups=e;const t=new Bt;Pa==null&&(Pa=Om(qb)),Fa==null&&(Fa=Om(ew)),ve(t,"'",wa),ve(t,"{",Vs),ve(t,"}",$s),ve(t,"[",la),ve(t,"]",ca),ve(t,"(",ua),ve(t,")",da),ve(t,"<",fa),ve(t,">",ha),ve(t,"(",pa),ve(t,")",ma),ve(t,"「",ga),ve(t,"」",ya),ve(t,"『",va),ve(t,"』",Ea),ve(t,"<",Ca),ve(t,">",Aa),ve(t,"&",ba),ve(t,"*",Ta),ve(t,"@",pr),ve(t,"`",_a),ve(t,"^",ka),ve(t,":",mr),ve(t,",",wu),ve(t,"$",Na),ve(t,".",kn),ve(t,"=",Ia),ve(t,"!",Tu),ve(t,"-",Nn),ve(t,"%",xa),ve(t,"|",Ma),ve(t,"+",Oa),ve(t,"#",La),ve(t,"?",Da),ve(t,'"',Su),ve(t,"/",In),ve(t,";",_u),ve(t,"~",Us),ve(t,"_",Ra),ve(t,"\\",Sa);const r=Xt(t,Iu,Au,{[pu]:!0});Xt(r,Iu,r);const o=Xt(t,Uo,Un,{[mu]:!0});Xt(o,Uo,o);const s=Xt(t,ku,vu,{[gu]:!0});Xt(s,Uo),Xt(s,ku,s);const i=Xt(t,xm,km,{[Sm]:!0});ve(t,Mm,bu,{[Sm]:!0}),ve(i,Mm),Xt(i,xm,i);const l=Xt(t,Nu,Nm,{[Tm]:!0});Xt(l,Nu,l),ve(l,sw,l);const a=ve(l,iw);Xt(a,Nu,l);const u=[[Uo,o]],d=[[Uo,null],[ku,s]];for(let f=0;f<Pa.length;f++)gr(t,Pa[f],Eu,Un,u);for(let f=0;f<Fa.length;f++)gr(t,Fa[f],Cu,vu,d);qr(Eu,{tld:!0,ascii:!0},e),qr(Cu,{utld:!0,alpha:!0},e),gr(t,"file",aa,Un,u),gr(t,"mailto",aa,Un,u),gr(t,"http",$o,Un,u),gr(t,"https",$o,Un,u),gr(t,"ftp",$o,Un,u),gr(t,"ftps",$o,Un,u),qr(aa,{scheme:!0,ascii:!0},e),qr($o,{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]?{[tw]:!0}:{[nw]:!0};h.indexOf("-")>=0?m[yu]=!0:Uo.test(h)?Iu.test(h)?m[sa]=!0:m[mu]=!0:m[pu]=!0,_m(t,h,h,m)}return _m(t,"localhost",Fs,{ascii:!0}),t.jd=new Bt(Ba),{start:t,tokens:Vo({groups:e},Im)}}function lw(n,e){const t=cw(e.replace(/[A-Z]/g,l=>l.toLowerCase())),r=t.length,o=[];let s=0,i=0;for(;i<r;){let l=n,a=null,u=0,d=null,f=-1,h=-1;for(;i<r&&(a=l.go(t[i]));)l=a,l.accepts()?(f=0,h=0,d=l):f>=0&&(f+=t[i].length,h++),u+=t[i].length,s+=t[i].length,i++;s-=f,i-=h,u-=f,o.push({t:d.t,v:e.slice(s-u,s),s:s-u,e:s})}return o}function cw(n){const e=[],t=n.length;let r=0;for(;r<t;){let o=n.charCodeAt(r),s,i=o<55296||o>56319||r+1===t||(s=n.charCodeAt(r+1))<56320||s>57343?n[r]:n.slice(r,r+2);e.push(i),r+=i.length}return e}function gr(n,e,t,r,o){let s;const i=e.length;for(let l=0;l<i-1;l++){const a=e[l];n.j[a]?s=n.j[a]:(s=new Bt(r),s.jr=o.slice(),n.j[a]=s),n=s}return s=new Bt(t),s.jr=o.slice(),n.j[e[i-1]]=s,s}function Om(n){const e=[],t=[];let r=0,o="0123456789";for(;r<n.length;){let s=0;for(;o.indexOf(n[r+s])>=0;)s++;if(s>0){e.push(t.join(""));for(let i=parseInt(n.substring(r,r+s),10);i>0;i--)t.pop();r+=s}else t.push(n[r]),r++}return e}const zs={defaultProtocol:"http",events:null,format:Lm,formatHref:Lm,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function xu(n,e){e===void 0&&(e=null);let t=Vo({},zs);n&&(t=Vo(t,n instanceof xu?n.o:n));const r=t.ignoreTags,o=[];for(let s=0;s<r.length;s++)o.push(r[s].toUpperCase());this.o=t,e&&(this.defaultRender=e),this.ignoreTags=o}xu.prototype={o:zs,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]:zs[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 Lm(n){return n}function Dm(n,e){this.t="token",this.v=n,this.tk=e}Dm.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=zs.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),s=this.toFormattedString(n),i={},l=n.get("className",t,e),a=n.get("target",t,e),u=n.get("rel",t,e),d=n.getObj("attributes",t,e),f=n.getObj("events",t,e);return i.href=r,l&&(i.class=l),a&&(i.target=a),u&&(i.rel=u),d&&Vo(i,d),{tagName:o,attributes:i,content:s,eventListeners:f}}};function Va(n,e){class t extends Dm{constructor(o,s){super(o,s),this.t=n}}for(const r in e)t.prototype[r]=e[r];return t.t=n,t}const Rm=Va("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),Bm=Va("text"),uw=Va("nl"),$a=Va("url",{isLink:!0,toHref(n){return n===void 0&&(n=zs.defaultProtocol),this.hasProtocol()?this.v:`${n}://${this.v}`},hasProtocol(){const n=this.tk;return n.length>=2&&n[0].t!==Fs&&n[1].t===mr}}),qt=n=>new Bt(n);function dw(n){let{groups:e}=n;const t=e.domain.concat([ba,Ta,pr,Sa,_a,ka,Na,Ia,Nn,Au,xa,Ma,Oa,La,In,Ba,Us,Ra]),r=[wa,mr,wu,kn,Tu,Da,Su,_u,fa,ha,Vs,$s,ca,la,ua,da,pa,ma,ga,ya,va,Ea,Ca,Aa],o=[ba,wa,Ta,Sa,_a,ka,Na,Ia,Nn,Vs,$s,xa,Ma,Oa,La,Da,In,Ba,Us,Ra],s=qt(),i=ve(s,Us);Fe(i,o,i),Fe(i,e.domain,i);const l=qt(),a=qt(),u=qt();Fe(s,e.domain,l),Fe(s,e.scheme,a),Fe(s,e.slashscheme,u),Fe(l,o,i),Fe(l,e.domain,l);const d=ve(l,pr);ve(i,pr,d),ve(a,pr,d),ve(u,pr,d);const f=ve(i,kn);Fe(f,o,i),Fe(f,e.domain,i);const h=qt();Fe(d,e.domain,h),Fe(h,e.domain,h);const p=ve(h,kn);Fe(p,e.domain,h);const m=qt(Rm);Fe(p,e.tld,m),Fe(p,e.utld,m),ve(d,Fs,m);const g=ve(h,Nn);Fe(g,e.domain,h),Fe(m,e.domain,h),ve(m,kn,p),ve(m,Nn,g);const y=ve(m,mr);Fe(y,e.numeric,Rm);const C=ve(l,Nn),b=ve(l,kn);Fe(C,e.domain,l),Fe(b,o,i),Fe(b,e.domain,l);const E=qt($a);Fe(b,e.tld,E),Fe(b,e.utld,E),Fe(E,e.domain,l),Fe(E,o,i),ve(E,kn,b),ve(E,Nn,C),ve(E,pr,d);const v=ve(E,mr),N=qt($a);Fe(v,e.numeric,N);const w=qt($a),x=qt();Fe(w,t,w),Fe(w,r,x),Fe(x,t,w),Fe(x,r,x),ve(E,In,w),ve(N,In,w);const B=ve(a,mr),R=ve(u,mr),U=ve(R,In),$=ve(U,In);Fe(a,e.domain,l),ve(a,kn,b),ve(a,Nn,C),Fe(u,e.domain,l),ve(u,kn,b),ve(u,Nn,C),Fe(B,e.domain,w),ve(B,In,w),Fe($,e.domain,w),Fe($,t,w),ve($,In,w);const P=[[Vs,$s],[la,ca],[ua,da],[fa,ha],[pa,ma],[ga,ya],[va,Ea],[Ca,Aa]];for(let Y=0;Y<P.length;Y++){const[G,K]=P[Y],H=ve(w,G);ve(x,G,H),ve(H,K,w);const J=qt($a);Fe(H,t,J);const z=qt();Fe(H,r),Fe(J,t,J),Fe(J,r,z),Fe(z,t,J),Fe(z,r,z),ve(J,K,w),ve(z,K,w)}return ve(s,Fs,E),ve(s,bu,uw),{start:s,tokens:Im}}function fw(n,e,t){let r=t.length,o=0,s=[],i=[];for(;o<r;){let l=n,a=null,u=null,d=0,f=null,h=-1;for(;o<r&&!(a=l.go(t[o].t));)i.push(t[o++]);for(;o<r&&(u=a||l.go(t[o].t));)a=null,l=u,l.accepts()?(h=0,f=l):h>=0&&h++,o++,d++;if(h<0)o-=d,o<r&&(i.push(t[o]),o++);else{i.length>0&&(s.push(Mu(Bm,e,i)),i=[]),o-=h,d-=h;const p=f.t,m=t.slice(o-d,o);s.push(Mu(p,e,m))}}return i.length>0&&s.push(Mu(Bm,e,i)),s}function Mu(n,e,t){const r=t[0].s,o=t[t.length-1].e,s=e.slice(r,o);return new n(s,t)}const hw=typeof console<"u"&&console&&console.warn||(()=>{}),pw="until manual call of linkify.init(). Register all schemes and plugins before invoking linkify the first time.",Je={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function mw(){Bt.groups={},Je.scanner=null,Je.parser=null,Je.tokenQueue=[],Je.pluginQueue=[],Je.customSchemes=[],Je.initialized=!1}function Pm(n,e){if(e===void 0&&(e=!1),Je.initialized&&hw(`linkifyjs: already initialized - will not register custom scheme "${n}" ${pw}`),!/^[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`);Je.customSchemes.push([n,e])}function mw(){Je.scanner=iw(Je.customSchemes);for(let n=0;n<Je.tokenQueue.length;n++)Je.tokenQueue[n][1]({scanner:Je.scanner});Je.parser=uw(Je.scanner.tokens);for(let n=0;n<Je.pluginQueue.length;n++)Je.pluginQueue[n][1]({scanner:Je.scanner,parser:Je.parser});Je.initialized=!0}function gw(n){return Je.initialized||mw(),dw(Je.parser.start,n,aw(Je.scanner.start,n))}function Mu(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 Iu(t),o=gw(n),s=[];for(let i=0;i<o.length;i++){const l=o[i];l.isLink&&(!e||l.t===e)&&r.check(l)&&s.push(l.toFormattedObject(r))}return s}function yw(n){return new Dt({key:new un("autolink"),appendTransaction:(e,t,r)=>{const o=e.some(u=>u.docChanged)&&!t.doc.eq(r.doc),s=e.some(u=>u.getMeta("preventAutolink"));if(!o||s)return;const{tr:i}=r,l=GC(t.doc,[...e]);if(rA(l).forEach(({newRange:u})=>{const d=ZC(r.doc,u,p=>p.isTextblock);let f,h;if(d.length>1?(f=d[0],h=r.doc.textBetween(f.pos,f.pos+f.node.nodeSize,void 0," ")):d.length&&r.doc.textBetween(u.from,u.to," "," ").endsWith(" ")&&(f=d[0],h=r.doc.textBetween(f.pos,u.to,void 0," ")),f&&h){const p=h.split(" ").filter(y=>y!=="");if(p.length<=0)return!1;const m=p[p.length-1],g=f.pos+h.lastIndexOf(m);if(!m)return!1;Mu(m).filter(y=>y.isLink).map(y=>({...y,from:g+y.start+1,to:g+y.end+1})).filter(y=>r.schema.marks.code?!r.doc.rangeHasMark(y.from,y.to,r.schema.marks.code):!0).filter(y=>n.validate?n.validate(y.value):!0).forEach(y=>{Uc(y.from,y.to,r.doc).some(C=>C.mark.type===n.type)||i.addMark(y.from,y.to,n.type.create({href:y.href}))})}}),!!i.steps.length)return i}})}function vw(n){return new Dt({key:new un("handleClickLink"),props:{handleClick:(e,t,r)=>{var o,s;if(r.button!==0||r.target.nodeName!=="A")return!1;const l=g1(e.state,n.type.name),a=r.target,u=(o=a==null?void 0:a.href)!==null&&o!==void 0?o:l.href,d=(s=a==null?void 0:a.target)!==null&&s!==void 0?s:l.target;return a&&u?(e.editable&&window.open(u,d),!0):!1}}})}function Ew(n){return new Dt({key:new un("handlePasteLink"),props:{handlePaste:(e,t,r)=>{var o;const{state:s}=e,{selection:i}=s,{empty:l}=i;if(l)return!1;let a="";r.content.forEach(m=>{a+=m.textContent});const u=Mu(a).find(m=>m.isLink&&m.value===a);if(!a||!u)return!1;const d=(o=t.clipboardData)===null||o===void 0?void 0:o.getData("text/html"),f=/href="([^"]*)"/,h=d==null?void 0:d.match(f),p=h?h[1]:u.href;return n.editor.commands.setMark(n.type,{href:p}),!0}}})}const Cw=Tn.create({name:"link",priority:1e3,keepOnSplit:!1,onCreate(){this.options.protocols.forEach(n=>{if(typeof n=="string"){Pm(n);return}Pm(n.scheme,n.optionalSlashes)})},onDestroy(){pw()},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",_t(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[Ns({find:n=>Mu(n).filter(e=>this.options.validate?this.options.validate(e.value):!0).filter(e=>e.isLink).map(e=>({text:e.value,index:e.start,data:e})),type:this.type,getAttributes:(n,e)=>{var t,r;const o=(t=e==null?void 0:e.clipboardData)===null||t===void 0?void 0:t.getData("text/html"),s=/href="([^"]*)"/,i=o==null?void 0:o.match(s);return i?{href:i[1]}:{href:(r=n.data)===null||r===void 0?void 0:r.href}}})]},addProseMirrorPlugins(){const n=[];return this.options.autolink&&n.push(yw({type:this.type,validate:this.options.validate})),this.options.openOnClick&&n.push(vw({type:this.type})),this.options.linkOnPaste&&n.push(Ew({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})}}}}),Aw=Jt.create({name:"placeholder",addOptions(){return{emptyEditorClass:"is-editor-empty",emptyNodeClass:"is-empty",placeholder:"Write something …",showOnlyWhenEditable:!0,showOnlyCurrent:!0,includeChildren:!1}},addProseMirrorPlugins(){return[new Dt({key:new un("placeholder"),props:{decorations:({doc:n,selection:e})=>{const t=this.editor.isEditable||!this.options.showOnlyWhenEditable,{anchor:r}=e,o=[];if(!t)return null;const s=n.type.createAndFill(),i=(s==null?void 0:s.sameMarkup(n))&&s.content.findDiffStart(n.content)===null;return n.descendants((l,a)=>{const u=r>=a&&r<=a+l.nodeSize,d=!l.isLeaf&&!l.childCount;if((u||!this.options.showOnlyCurrent)&&d){const f=[this.options.emptyNodeClass];i&&f.push(this.options.emptyEditorClass);const h=Zt.node(a,a+l.nodeSize,{class:f.join(" "),"data-placeholder":typeof this.options.placeholder=="function"?this.options.placeholder({editor:this.editor,node:l,pos:a,hasAnchor:u}):this.options.placeholder});o.push(h)}return this.options.includeChildren}),at.create(n,o)}}})]}}),bw=/(?:^|\s)((?:\*\*)((?:[^*]+))(?:\*\*))$/,ww=/(?:^|\s)((?:\*\*)((?:[^*]+))(?:\*\*))/g,Tw=/(?:^|\s)((?:__)((?:[^__]+))(?:__))$/,Sw=/(?:^|\s)((?:__)((?:[^__]+))(?:__))/g,_w=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",_t(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[Ki({find:bw,type:this.type}),Ki({find:Tw,type:this.type})]},addPasteRules(){return[Ns({find:ww,type:this.type}),Ns({find:Sw,type:this.type})]}}),kw=/(?:^|\s)((?:\*)((?:[^*]+))(?:\*))$/,Nw=/(?:^|\s)((?:\*)((?:[^*]+))(?:\*))/g,Iw=/(?:^|\s)((?:_)((?:[^_]+))(?:_))$/,xw=/(?:^|\s)((?:_)((?:[^_]+))(?:_))/g,Mw=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",_t(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[Ki({find:kw,type:this.type}),Ki({find:Iw,type:this.type})]},addPasteRules(){return[Ns({find:Nw,type:this.type}),Ns({find:xw,type:this.type})]}}),Ow=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",_t(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()}}}),Lw=Vn.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:n}){return["li",_t(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)}}}),Dw=Vn.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:n}){return["li",_t(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)}}}),Fm=Tn.create({name:"textStyle",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"span",getAttrs:n=>n.hasAttribute("style")?{}:!1}]},renderHTML({HTMLAttributes:n}){return["span",_t(this.options.HTMLAttributes,n),0]},addCommands(){return{removeEmptyTextStyle:()=>({state:n,commands:e})=>{const t=ji(n,this.type);return Object.entries(t).some(([,o])=>!!o)?!0:e.unsetMark(this.name)}}}}),Vm=/^\s*([-+*])\s$/,Rw=Vn.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",_t(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(Dw.name,this.editor.getAttributes(Fm.name)).run():n.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-8":()=>this.editor.commands.toggleBulletList()}},addInputRules(){let n=Yi({find:Vm,type:this.type});return(this.options.keepMarks||this.options.keepAttributes)&&(n=Yi({find:Vm,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:()=>this.editor.getAttributes(Fm.name),editor:this.editor})),[n]}}),Bw=Vn.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:n}){return["li",_t(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)}}}),$m=Tn.create({name:"textStyle",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"span",getAttrs:n=>n.hasAttribute("style")?{}:!1}]},renderHTML({HTMLAttributes:n}){return["span",_t(this.options.HTMLAttributes,n),0]},addCommands(){return{removeEmptyTextStyle:()=>({state:n,commands:e})=>{const t=ji(n,this.type);return Object.entries(t).some(([,o])=>!!o)?!0:e.unsetMark(this.name)}}}}),Um=/^(\d+)\.\s$/,Pw=Vn.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",_t(this.options.HTMLAttributes,t),0]:["ol",_t(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(Bw.name,this.editor.getAttributes($m.name)).run():n.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-7":()=>this.editor.commands.toggleOrderedList()}},addInputRules(){let n=Yi({find:Um,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=Yi({find:Um,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:e=>({start:+e[1],...this.editor.getAttributes($m.name)}),joinPredicate:(e,t)=>t.childCount+t.attrs.start===+e[1],editor:this.editor})),[n]}}),Fw=Vn.create({name:"hardBreak",addOptions(){return{keepMarks:!0,HTMLAttributes:{}}},inline:!0,group:"inline",selectable:!1,parseHTML(){return[{tag:"br"}]},renderHTML({HTMLAttributes:n}){return["br",_t(this.options.HTMLAttributes,n)]},renderText(){return`
|
|
178
|
-
`},addCommands(){return{setHardBreak:()=>({commands:n,chain:e,state:t,editor:r})=>n.first([()=>n.exitCode(),()=>n.command(()=>{const{selection:o,storedMarks:s}=t;if(o.$from.parent.type.spec.isolating)return!1;const{keepMarks:i}=this.options,{splittableMarks:l}=r.extensionManager,a=s||o.$to.parentOffset&&o.$from.marks();return e().insertContent({type:this.name}).command(({tr:u,dispatch:d})=>{if(d&&a&&i){const f=a.filter(h=>l.includes(h.type.name));u.ensureMarks(f)}return!0}).run()})])}},addKeyboardShortcuts(){return{"Mod-Enter":()=>this.editor.commands.setHardBreak(),"Shift-Enter":()=>this.editor.commands.setHardBreak()}}})
|
|
177
|
+
3. "-" cannot repeat`);Je.customSchemes.push([n,e])}function gw(){Je.scanner=aw(Je.customSchemes);for(let n=0;n<Je.tokenQueue.length;n++)Je.tokenQueue[n][1]({scanner:Je.scanner});Je.parser=dw(Je.scanner.tokens);for(let n=0;n<Je.pluginQueue.length;n++)Je.pluginQueue[n][1]({scanner:Je.scanner,parser:Je.parser});Je.initialized=!0}function yw(n){return Je.initialized||gw(),fw(Je.parser.start,n,lw(Je.scanner.start,n))}function Ou(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 xu(t),o=yw(n),s=[];for(let i=0;i<o.length;i++){const l=o[i];l.isLink&&(!e||l.t===e)&&r.check(l)&&s.push(l.toFormattedObject(r))}return s}function vw(n){return new Dt({key:new un("autolink"),appendTransaction:(e,t,r)=>{const o=e.some(u=>u.docChanged)&&!t.doc.eq(r.doc),s=e.some(u=>u.getMeta("preventAutolink"));if(!o||s)return;const{tr:i}=r,l=QC(t.doc,[...e]);if(oA(l).forEach(({newRange:u})=>{const d=JC(r.doc,u,p=>p.isTextblock);let f,h;if(d.length>1?(f=d[0],h=r.doc.textBetween(f.pos,f.pos+f.node.nodeSize,void 0," ")):d.length&&r.doc.textBetween(u.from,u.to," "," ").endsWith(" ")&&(f=d[0],h=r.doc.textBetween(f.pos,u.to,void 0," ")),f&&h){const p=h.split(" ").filter(y=>y!=="");if(p.length<=0)return!1;const m=p[p.length-1],g=f.pos+h.lastIndexOf(m);if(!m)return!1;Ou(m).filter(y=>y.isLink).map(y=>({...y,from:g+y.start+1,to:g+y.end+1})).filter(y=>r.schema.marks.code?!r.doc.rangeHasMark(y.from,y.to,r.schema.marks.code):!0).filter(y=>n.validate?n.validate(y.value):!0).forEach(y=>{zc(y.from,y.to,r.doc).some(C=>C.mark.type===n.type)||i.addMark(y.from,y.to,n.type.create({href:y.href}))})}}),!!i.steps.length)return i}})}function Ew(n){return new Dt({key:new un("handleClickLink"),props:{handleClick:(e,t,r)=>{var o,s;if(r.button!==0||r.target.nodeName!=="A")return!1;const l=g1(e.state,n.type.name),a=r.target,u=(o=a==null?void 0:a.href)!==null&&o!==void 0?o:l.href,d=(s=a==null?void 0:a.target)!==null&&s!==void 0?s:l.target;return a&&u?(e.editable&&window.open(u,d),!0):!1}}})}function Cw(n){return new Dt({key:new un("handlePasteLink"),props:{handlePaste:(e,t,r)=>{var o;const{state:s}=e,{selection:i}=s,{empty:l}=i;if(l)return!1;let a="";r.content.forEach(m=>{a+=m.textContent});const u=Ou(a).find(m=>m.isLink&&m.value===a);if(!a||!u)return!1;const d=(o=t.clipboardData)===null||o===void 0?void 0:o.getData("text/html"),f=/href="([^"]*)"/,h=d==null?void 0:d.match(f),p=h?h[1]:u.href;return n.editor.commands.setMark(n.type,{href:p}),!0}}})}const Aw=Tn.create({name:"link",priority:1e3,keepOnSplit:!1,onCreate(){this.options.protocols.forEach(n=>{if(typeof n=="string"){Pm(n);return}Pm(n.scheme,n.optionalSlashes)})},onDestroy(){mw()},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",_t(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[xs({find:n=>Ou(n).filter(e=>this.options.validate?this.options.validate(e.value):!0).filter(e=>e.isLink).map(e=>({text:e.value,index:e.start,data:e})),type:this.type,getAttributes:(n,e)=>{var t,r;const o=(t=e==null?void 0:e.clipboardData)===null||t===void 0?void 0:t.getData("text/html"),s=/href="([^"]*)"/,i=o==null?void 0:o.match(s);return i?{href:i[1]}:{href:(r=n.data)===null||r===void 0?void 0:r.href}}})]},addProseMirrorPlugins(){const n=[];return this.options.autolink&&n.push(vw({type:this.type,validate:this.options.validate})),this.options.openOnClick&&n.push(Ew({type:this.type})),this.options.linkOnPaste&&n.push(Cw({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})}}}}),bw=Jt.create({name:"placeholder",addOptions(){return{emptyEditorClass:"is-editor-empty",emptyNodeClass:"is-empty",placeholder:"Write something …",showOnlyWhenEditable:!0,showOnlyCurrent:!0,includeChildren:!1}},addProseMirrorPlugins(){return[new Dt({key:new un("placeholder"),props:{decorations:({doc:n,selection:e})=>{const t=this.editor.isEditable||!this.options.showOnlyWhenEditable,{anchor:r}=e,o=[];if(!t)return null;const s=n.type.createAndFill(),i=(s==null?void 0:s.sameMarkup(n))&&s.content.findDiffStart(n.content)===null;return n.descendants((l,a)=>{const u=r>=a&&r<=a+l.nodeSize,d=!l.isLeaf&&!l.childCount;if((u||!this.options.showOnlyCurrent)&&d){const f=[this.options.emptyNodeClass];i&&f.push(this.options.emptyEditorClass);const h=Zt.node(a,a+l.nodeSize,{class:f.join(" "),"data-placeholder":typeof this.options.placeholder=="function"?this.options.placeholder({editor:this.editor,node:l,pos:a,hasAnchor:u}):this.options.placeholder});o.push(h)}return this.options.includeChildren}),at.create(n,o)}}})]}}),ww=/(?:^|\s)((?:\*\*)((?:[^*]+))(?:\*\*))$/,Tw=/(?:^|\s)((?:\*\*)((?:[^*]+))(?:\*\*))/g,Sw=/(?:^|\s)((?:__)((?:[^__]+))(?:__))$/,_w=/(?:^|\s)((?:__)((?:[^__]+))(?:__))/g,kw=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",_t(this.options.HTMLAttributes,n),0]},addCommands(){return{setBold:()=>({commands:n})=>n.setMark(this.name),toggleBold:()=>({commands:n})=>n.toggleMark(this.name),unsetBold:()=>({commands:n})=>n.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-b":()=>this.editor.commands.toggleBold(),"Mod-B":()=>this.editor.commands.toggleBold()}},addInputRules(){return[Yi({find:ww,type:this.type}),Yi({find:Sw,type:this.type})]},addPasteRules(){return[xs({find:Tw,type:this.type}),xs({find:_w,type:this.type})]}}),Nw=/(?:^|\s)((?:\*)((?:[^*]+))(?:\*))$/,Iw=/(?:^|\s)((?:\*)((?:[^*]+))(?:\*))/g,xw=/(?:^|\s)((?:_)((?:[^_]+))(?:_))$/,Mw=/(?:^|\s)((?:_)((?:[^_]+))(?:_))/g,Ow=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",_t(this.options.HTMLAttributes,n),0]},addCommands(){return{setItalic:()=>({commands:n})=>n.setMark(this.name),toggleItalic:()=>({commands:n})=>n.toggleMark(this.name),unsetItalic:()=>({commands:n})=>n.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-i":()=>this.editor.commands.toggleItalic(),"Mod-I":()=>this.editor.commands.toggleItalic()}},addInputRules(){return[Yi({find:Nw,type:this.type}),Yi({find:xw,type:this.type})]},addPasteRules(){return[xs({find:Iw,type:this.type}),xs({find:Mw,type:this.type})]}}),Lw=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",_t(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()}}}),Dw=Vn.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:n}){return["li",_t(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)}}}),Rw=Vn.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:n}){return["li",_t(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)}}}),Fm=Tn.create({name:"textStyle",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"span",getAttrs:n=>n.hasAttribute("style")?{}:!1}]},renderHTML({HTMLAttributes:n}){return["span",_t(this.options.HTMLAttributes,n),0]},addCommands(){return{removeEmptyTextStyle:()=>({state:n,commands:e})=>{const t=Wi(n,this.type);return Object.entries(t).some(([,o])=>!!o)?!0:e.unsetMark(this.name)}}}}),Vm=/^\s*([-+*])\s$/,Bw=Vn.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",_t(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(Rw.name,this.editor.getAttributes(Fm.name)).run():n.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-8":()=>this.editor.commands.toggleBulletList()}},addInputRules(){let n=Gi({find:Vm,type:this.type});return(this.options.keepMarks||this.options.keepAttributes)&&(n=Gi({find:Vm,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:()=>this.editor.getAttributes(Fm.name),editor:this.editor})),[n]}}),Pw=Vn.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:n}){return["li",_t(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)}}}),$m=Tn.create({name:"textStyle",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"span",getAttrs:n=>n.hasAttribute("style")?{}:!1}]},renderHTML({HTMLAttributes:n}){return["span",_t(this.options.HTMLAttributes,n),0]},addCommands(){return{removeEmptyTextStyle:()=>({state:n,commands:e})=>{const t=Wi(n,this.type);return Object.entries(t).some(([,o])=>!!o)?!0:e.unsetMark(this.name)}}}}),Um=/^(\d+)\.\s$/,Fw=Vn.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",_t(this.options.HTMLAttributes,t),0]:["ol",_t(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(Pw.name,this.editor.getAttributes($m.name)).run():n.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-7":()=>this.editor.commands.toggleOrderedList()}},addInputRules(){let n=Gi({find:Um,type:this.type,getAttributes:e=>({start:+e[1]}),joinPredicate:(e,t)=>t.childCount+t.attrs.start===+e[1]});return(this.options.keepMarks||this.options.keepAttributes)&&(n=Gi({find:Um,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:e=>({start:+e[1],...this.editor.getAttributes($m.name)}),joinPredicate:(e,t)=>t.childCount+t.attrs.start===+e[1],editor:this.editor})),[n]}}),Vw=Vn.create({name:"hardBreak",addOptions(){return{keepMarks:!0,HTMLAttributes:{}}},inline:!0,group:"inline",selectable:!1,parseHTML(){return[{tag:"br"}]},renderHTML({HTMLAttributes:n}){return["br",_t(this.options.HTMLAttributes,n)]},renderText(){return`
|
|
178
|
+
`},addCommands(){return{setHardBreak:()=>({commands:n,chain:e,state:t,editor:r})=>n.first([()=>n.exitCode(),()=>n.command(()=>{const{selection:o,storedMarks:s}=t;if(o.$from.parent.type.spec.isolating)return!1;const{keepMarks:i}=this.options,{splittableMarks:l}=r.extensionManager,a=s||o.$to.parentOffset&&o.$from.marks();return e().insertContent({type:this.name}).command(({tr:u,dispatch:d})=>{if(d&&a&&i){const f=a.filter(h=>l.includes(h.type.name));u.ensureMarks(f)}return!0}).run()})])}},addKeyboardShortcuts(){return{"Mod-Enter":()=>this.editor.commands.setHardBreak(),"Shift-Enter":()=>this.editor.commands.setHardBreak()}}}),$w={class:"popover bd-link-input-popover show bd-link-input-bottom"},Uw=c.createElementVNode("div",{class:"popover-header"},"Voeg een link toe",-1),zw={class:"popover-body"},Hw={class:"form-label"},jw=c.defineComponent({__name:"BDLinkInput",props:{previousUrl:{}},emits:["submit","cancel"],setup(n,{emit:e}){const t=n,r=c.ref(t.previousUrl??""),o=()=>e("submit",r.value),s=()=>e("cancel");return(i,l)=>(c.openBlock(),c.createElementBlock("div",$w,[Uw,c.createElementVNode("div",zw,[c.createElementVNode("label",Hw,[c.createTextVNode(" URL: "),c.withDirectives(c.createElementVNode("input",{"onUpdate:modelValue":l[0]||(l[0]=a=>r.value=a),type:"text",class:"form-control",placeholder:"https://www.example.com"},null,512),[[c.vModelText,r.value]])]),c.createElementVNode("div",{class:"d-flex gap-2 mt-2"},[c.createElementVNode("button",{type:"button",class:"btn btn-primary btn-sm",onClick:o}," Toevoegen "),c.createElementVNode("button",{type:"button",class:"btn btn-secondary btn-sm",onClick:s}," Annuleren ")])])]))}}),Lu={BASIC:"basic",FULL:"full"},Ww={class:"attachment-list"},Kw={class:"attachment-link"},Yw={key:1,class:"attachment-no-download"},Gw=["href"],Ua=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",Ww,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(r.files,s=>(c.openBlock(),c.createElementBlock("li",{class:"attachment-list__item",key:s.CorrelationId},[c.createElementVNode("div",Kw,[r.showDelete?(c.openBlock(),c.createBlock(Ze,{key:0,variant:"remove",onClick:i=>t(s),"aria-label":"verwijder"},{default:c.withCtx(()=>[c.createVNode(c.unref(ls))]),_:2},1032,["onClick"])):c.createCommentVNode("",!0),r.noDownload?(c.openBlock(),c.createElementBlock("div",Yw,[c.createVNode(c.unref(Or)),c.createTextVNode(" "+c.toDisplayString(s.Naam.trim()),1)])):(c.openBlock(),c.createElementBlock("a",{key:2,href:s.downloadUrl},[c.createVNode(c.unref(Or)),c.createTextVNode(" "+c.toDisplayString(s.Naam.trim()),1)],8,Gw))])]))),128))]))}}),Qw={class:"attachment-list"},Zw={class:"attachment"},Jw=["onClick"],Xw=["src","alt"],qw=["onClick"],eT=["href"],tT={class:"btn btn-light download-button-image"},nT=["src","alt"],za=c.defineComponent({__name:"BDImageAttachmentPreviewList",props:{fastDownload:{type:Boolean,default:!1},files:{default:void 0},showDelete:{type:Boolean,default:!1},noDownload:{type:Boolean,default:!1}},emits:["delete","show"],setup(n,{emit:e}){const t=n,r=s=>{e("delete",s)},o=(s,i)=>{s.target&&s.target.className==="img-preview"&&e("show",i)};return(s,i)=>(c.openBlock(),c.createElementBlock("ul",Qw,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(s.files,l=>(c.openBlock(),c.createElementBlock("li",{class:"attachment-list__item",key:l.CorrelationId},[c.createElementVNode("div",Zw,[s.showDelete?(c.openBlock(),c.createBlock(Ze,{key:0,variant:"remove","aria-label":"verwijder",onClick:c.withModifiers(a=>r(l),["prevent"])},{default:c.withCtx(()=>[c.createVNode(c.unref(ls))]),_: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,Xw)],8,Jw)):(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",tT,[c.createVNode(c.unref(Sl))])],8,eT)):c.createCommentVNode("",!0),c.createElementVNode("img",{src:l.previewUrl,alt:l.altName,class:"img-preview",loading:"lazy"},null,8,nT)],8,qw))])]))),128))]))}}),zm=n=>n.Naam.toLowerCase().endsWith(".png")||n.Naam.toLowerCase().endsWith(".jpg")||n.Naam.toLowerCase().endsWith(".jpeg")||n.Naam.toLowerCase().endsWith(".gif"),rT=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,oT=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,sT=n=>n.identifier?`/Collega/api/Conversation/GetConversationAttachment?conversationId=${n.conversationId}&fileMetadataId=${n.identifier}`:null,iT=(n,e)=>e?zm(n):!zm(n),Ha=(n,e)=>n===void 0?void 0:n.filter(r=>iT(r,e)).map(r=>{const o=typeof r.CorrelationId=="string"?r.CorrelationId:r.CorrelationId!=null?r.CorrelationId.toString():"";return{downloadUrl:rT(r),previewUrl:oT(r),fullImageUrl:sT(r),altName:`${r.Naam}`,...r,CorrelationId:o}});/*!
|
|
179
179
|
* Bootstrap v5.3.0 (https://getbootstrap.com/)
|
|
180
180
|
* Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
|
181
181
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
182
|
-
*/const yr=new Map,Lu={set(n,e,t){yr.has(n)||yr.set(n,new Map);const r=yr.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 yr.has(n)&&yr.get(n).get(e)||null},remove(n,e){if(!yr.has(n))return;const t=yr.get(n);t.delete(e),t.size===0&&yr.delete(n)}},iT=1e6,aT=1e3,Du="transitionend",Hm=n=>(n&&window.CSS&&window.CSS.escape&&(n=n.replace(/#([^\s"#']+)/g,(e,t)=>`#${CSS.escape(t)}`)),n),lT=n=>n==null?`${n}`:Object.prototype.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase(),cT=n=>{do n+=Math.floor(Math.random()*iT);while(document.getElementById(n));return n},uT=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))*aT)},jm=n=>{n.dispatchEvent(new Event(Du))},zn=n=>!n||typeof n!="object"?!1:(typeof n.jquery<"u"&&(n=n[0]),typeof n.nodeType<"u"),vr=n=>zn(n)?n.jquery?n[0]:n:typeof n=="string"&&n.length>0?document.querySelector(Hm(n)):null,zo=n=>{if(!zn(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},Er=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",Wm=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?Wm(n.parentNode):null},Ha=()=>{},Us=n=>{n.offsetHeight},Km=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Ru=[],dT=n=>{document.readyState==="loading"?(Ru.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of Ru)e()}),Ru.push(n)):n()},en=()=>document.documentElement.dir==="rtl",tn=n=>{dT(()=>{const e=Km();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)}})},Pt=(n,e=[],t=n)=>typeof n=="function"?n(...e):t,Ym=(n,e,t=!0)=>{if(!t){Pt(n);return}const r=5,o=uT(e)+r;let s=!1;const i=({target:l})=>{l===e&&(s=!0,e.removeEventListener(Du,i),Pt(n))};e.addEventListener(Du,i),setTimeout(()=>{s||jm(e)},o)},Bu=(n,e,t,r)=>{const o=n.length;let s=n.indexOf(e);return s===-1?!t&&r?n[o-1]:n[0]:(s+=t?1:-1,r&&(s=(s+o)%o),n[Math.max(0,Math.min(s,o-1))])},fT=/[^.]*(?=\..*)\.|.*/,hT=/\..*/,pT=/::\d+$/,Pu={};let Gm=1;const Qm={mouseenter:"mouseover",mouseleave:"mouseout"},mT=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 Zm(n,e){return e&&`${e}::${Gm++}`||n.uidEvent||Gm++}function Jm(n){const e=Zm(n);return n.uidEvent=e,Pu[e]=Pu[e]||{},Pu[e]}function gT(n,e){return function t(r){return Vu(r,{delegateTarget:n}),t.oneOff&&ce.off(n,r.type,e),e.apply(n,[r])}}function yT(n,e,t){return function r(o){const s=n.querySelectorAll(e);for(let{target:i}=o;i&&i!==this;i=i.parentNode)for(const l of s)if(l===i)return Vu(o,{delegateTarget:i}),r.oneOff&&ce.off(n,o.type,e,t),t.apply(i,[o])}}function Xm(n,e,t=null){return Object.values(n).find(r=>r.callable===e&&r.delegationSelector===t)}function qm(n,e,t){const r=typeof e=="string",o=r?t:e||t;let s=t0(n);return mT.has(s)||(s=n),[r,o,s]}function e0(n,e,t,r,o){if(typeof e!="string"||!n)return;let[s,i,l]=qm(e,t,r);e in Qm&&(i=(m=>function(g){if(!g.relatedTarget||g.relatedTarget!==g.delegateTarget&&!g.delegateTarget.contains(g.relatedTarget))return m.call(this,g)})(i));const a=Jm(n),u=a[l]||(a[l]={}),d=Xm(u,i,s?t:null);if(d){d.oneOff=d.oneOff&&o;return}const f=Zm(i,e.replace(fT,"")),h=s?yT(n,t,i):gT(n,i);h.delegationSelector=s?t:null,h.callable=i,h.oneOff=o,h.uidEvent=f,u[f]=h,n.addEventListener(l,h,s)}function Fu(n,e,t,r,o){const s=Xm(e[t],r,o);s&&(n.removeEventListener(t,s,!!o),delete e[t][s.uidEvent])}function vT(n,e,t,r){const o=e[t]||{};for(const[s,i]of Object.entries(o))s.includes(r)&&Fu(n,e,t,i.callable,i.delegationSelector)}function t0(n){return n=n.replace(hT,""),Qm[n]||n}const ce={on(n,e,t,r){e0(n,e,t,r,!1)},one(n,e,t,r){e0(n,e,t,r,!0)},off(n,e,t,r){if(typeof e!="string"||!n)return;const[o,s,i]=qm(e,t,r),l=i!==e,a=Jm(n),u=a[i]||{},d=e.startsWith(".");if(typeof s<"u"){if(!Object.keys(u).length)return;Fu(n,a,i,s,o?t:null);return}if(d)for(const f of Object.keys(a))vT(n,a,f,e.slice(1));for(const[f,h]of Object.entries(u)){const p=f.replace(pT,"");(!l||e.includes(p))&&Fu(n,a,i,h.callable,h.delegationSelector)}},trigger(n,e,t){if(typeof e!="string"||!n)return null;const r=Km(),o=t0(e),s=e!==o;let i=null,l=!0,a=!0,u=!1;s&&r&&(i=r.Event(e,t),r(n).trigger(i),l=!i.isPropagationStopped(),a=!i.isImmediatePropagationStopped(),u=i.isDefaultPrevented());const d=Vu(new Event(e,{bubbles:l,cancelable:!0}),t);return u&&d.preventDefault(),a&&n.dispatchEvent(d),d.defaultPrevented&&i&&i.preventDefault(),d}};function Vu(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 n0(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 $u(n){return n.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}const Hn={setDataAttribute(n,e,t){n.setAttribute(`data-bs-${$u(e)}`,t)},removeDataAttribute(n,e){n.removeAttribute(`data-bs-${$u(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]=n0(n.dataset[r])}return e},getDataAttribute(n,e){return n0(n.getAttribute(`data-bs-${$u(e)}`))}};class zs{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=zn(t)?Hn.getDataAttribute(t,"config"):{};return{...this.constructor.Default,...typeof r=="object"?r:{},...zn(t)?Hn.getDataAttributes(t):{},...typeof e=="object"?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(const[r,o]of Object.entries(t)){const s=e[r],i=zn(s)?"element":lT(s);if(!new RegExp(o).test(i))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${r}" provided type "${i}" but expected type "${o}".`)}}}const ET="5.3.0";class mn extends zs{constructor(e,t){super(),e=vr(e),e&&(this._element=e,this._config=this._getConfig(t),Lu.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Lu.remove(this._element,this.constructor.DATA_KEY),ce.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,r=!0){Ym(e,t,r)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return Lu.get(vr(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,typeof t=="object"?t:null)}static get VERSION(){return ET}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 Uu=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 Hm(e)},Me={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=>!Er(t)&&zo(t))},getSelectorFromElement(n){const e=Uu(n);return e&&Me.findOne(e)?e:null},getElementFromSelector(n){const e=Uu(n);return e?Me.findOne(e):null},getMultipleElementsFromSelector(n){const e=Uu(n);return e?Me.find(e):[]}},ja=(n,e="hide")=>{const t=`click.dismiss${n.EVENT_KEY}`,r=n.NAME;ce.on(document,t,`[data-bs-dismiss="${r}"]`,function(o){if(["A","AREA"].includes(this.tagName)&&o.preventDefault(),Er(this))return;const s=Me.getElementFromSelector(this)||this.closest(`.${r}`);n.getOrCreateInstance(s)[e]()})},CT="alert",r0=".bs.alert",AT=`close${r0}`,bT=`closed${r0}`,wT="fade",TT="show";class Wa extends mn{static get NAME(){return CT}close(){if(ce.trigger(this._element,AT).defaultPrevented)return;this._element.classList.remove(TT);const t=this._element.classList.contains(wT);this._queueCallback(()=>this._destroyElement(),this._element,t)}_destroyElement(){this._element.remove(),ce.trigger(this._element,bT),this.dispose()}static jQueryInterface(e){return this.each(function(){const t=Wa.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)}})}}ja(Wa,"close"),tn(Wa);const ST="button",_T=".bs.button",kT=".data-api",NT="active",o0='[data-bs-toggle="button"]',IT=`click${_T}${kT}`;class Ka extends mn{static get NAME(){return ST}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(NT))}static jQueryInterface(e){return this.each(function(){const t=Ka.getOrCreateInstance(this);e==="toggle"&&t[e]()})}}ce.on(document,IT,o0,n=>{n.preventDefault();const e=n.target.closest(o0);Ka.getOrCreateInstance(e).toggle()}),tn(Ka);const xT="swipe",Ho=".bs.swipe",MT=`touchstart${Ho}`,OT=`touchmove${Ho}`,LT=`touchend${Ho}`,DT=`pointerdown${Ho}`,RT=`pointerup${Ho}`,BT="touch",PT="pen",FT="pointer-event",VT=40,$T={endCallback:null,leftCallback:null,rightCallback:null},UT={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Ya extends zs{constructor(e,t){super(),this._element=e,!(!e||!Ya.isSupported())&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return $T}static get DefaultType(){return UT}static get NAME(){return xT}dispose(){ce.off(this._element,Ho)}_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(),Pt(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<=VT)return;const t=e/this._deltaX;this._deltaX=0,t&&Pt(t>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(ce.on(this._element,DT,e=>this._start(e)),ce.on(this._element,RT,e=>this._end(e)),this._element.classList.add(FT)):(ce.on(this._element,MT,e=>this._start(e)),ce.on(this._element,OT,e=>this._move(e)),ce.on(this._element,LT,e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&(e.pointerType===PT||e.pointerType===BT)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const zT="carousel",Cr=".bs.carousel",s0=".data-api",HT="ArrowLeft",jT="ArrowRight",WT=500,Hs="next",jo="prev",Wo="left",Ga="right",KT=`slide${Cr}`,zu=`slid${Cr}`,YT=`keydown${Cr}`,GT=`mouseenter${Cr}`,QT=`mouseleave${Cr}`,ZT=`dragstart${Cr}`,JT=`load${Cr}${s0}`,XT=`click${Cr}${s0}`,i0="carousel",Qa="active",qT="slide",eS="carousel-item-end",tS="carousel-item-start",nS="carousel-item-next",rS="carousel-item-prev",a0=".active",l0=".carousel-item",oS=a0+l0,sS=".carousel-item img",iS=".carousel-indicators",aS="[data-bs-slide], [data-bs-slide-to]",lS='[data-bs-ride="carousel"]',cS={[HT]:Ga,[jT]:Wo},uS={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},dS={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class js extends mn{constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=Me.findOne(iS,this._element),this._addEventListeners(),this._config.ride===i0&&this.cycle()}static get Default(){return uS}static get DefaultType(){return dS}static get NAME(){return zT}next(){this._slide(Hs)}nextWhenVisible(){!document.hidden&&zo(this._element)&&this.next()}prev(){this._slide(jo)}pause(){this._isSliding&&jm(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){ce.one(this._element,zu,()=>this.cycle());return}this.cycle()}}to(e){const t=this._getItems();if(e>t.length-1||e<0)return;if(this._isSliding){ce.one(this._element,zu,()=>this.to(e));return}const r=this._getItemIndex(this._getActive());if(r===e)return;const o=e>r?Hs:jo;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&&ce.on(this._element,YT,e=>this._keydown(e)),this._config.pause==="hover"&&(ce.on(this._element,GT,()=>this.pause()),ce.on(this._element,QT,()=>this._maybeEnableCycle())),this._config.touch&&Ya.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const r of Me.find(sS,this._element))ce.on(r,ZT,o=>o.preventDefault());const t={leftCallback:()=>this._slide(this._directionToOrder(Wo)),rightCallback:()=>this._slide(this._directionToOrder(Ga)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),WT+this._config.interval))}};this._swipeHelper=new Ya(this._element,t)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=cS[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=Me.findOne(a0,this._indicatorsElement);t.classList.remove(Qa),t.removeAttribute("aria-current");const r=Me.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);r&&(r.classList.add(Qa),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===Hs,s=t||Bu(this._getItems(),r,o,this._config.wrap);if(s===r)return;const i=this._getItemIndex(s),l=p=>ce.trigger(this._element,p,{relatedTarget:s,direction:this._orderToDirection(e),from:this._getItemIndex(r),to:i});if(l(KT).defaultPrevented||!r||!s)return;const u=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(i),this._activeElement=s;const d=o?tS:eS,f=o?nS:rS;s.classList.add(f),Us(s),r.classList.add(d),s.classList.add(d);const h=()=>{s.classList.remove(d,f),s.classList.add(Qa),r.classList.remove(Qa,f,d),this._isSliding=!1,l(zu)};this._queueCallback(h,r,this._isAnimated()),u&&this.cycle()}_isAnimated(){return this._element.classList.contains(qT)}_getActive(){return Me.findOne(oS,this._element)}_getItems(){return Me.find(l0,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return en()?e===Wo?jo:Hs:e===Wo?Hs:jo}_orderToDirection(e){return en()?e===jo?Wo:Ga:e===jo?Ga:Wo}static jQueryInterface(e){return this.each(function(){const t=js.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]()}})}}ce.on(document,XT,aS,function(n){const e=Me.getElementFromSelector(this);if(!e||!e.classList.contains(i0))return;n.preventDefault();const t=js.getOrCreateInstance(e),r=this.getAttribute("data-bs-slide-to");if(r){t.to(r),t._maybeEnableCycle();return}if(Hn.getDataAttribute(this,"slide")==="next"){t.next(),t._maybeEnableCycle();return}t.prev(),t._maybeEnableCycle()}),ce.on(window,JT,()=>{const n=Me.find(lS);for(const e of n)js.getOrCreateInstance(e)}),tn(js);const fS="collapse",Ws=".bs.collapse",hS=".data-api",pS=`show${Ws}`,mS=`shown${Ws}`,gS=`hide${Ws}`,yS=`hidden${Ws}`,vS=`click${Ws}${hS}`,Hu="show",Ko="collapse",Za="collapsing",ES="collapsed",CS=`:scope .${Ko} .${Ko}`,AS="collapse-horizontal",bS="width",wS="height",TS=".collapse.show, .collapse.collapsing",ju='[data-bs-toggle="collapse"]',SS={parent:null,toggle:!0},_S={parent:"(null|element)",toggle:"boolean"};class Ks extends mn{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const r=Me.find(ju);for(const o of r){const s=Me.getSelectorFromElement(o),i=Me.find(s).filter(l=>l===this._element);s!==null&&i.length&&this._triggerArray.push(o)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return SS}static get DefaultType(){return _S}static get NAME(){return fS}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(TS).filter(l=>l!==this._element).map(l=>Ks.getOrCreateInstance(l,{toggle:!1}))),e.length&&e[0]._isTransitioning||ce.trigger(this._element,pS).defaultPrevented)return;for(const l of e)l.hide();const r=this._getDimension();this._element.classList.remove(Ko),this._element.classList.add(Za),this._element.style[r]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const o=()=>{this._isTransitioning=!1,this._element.classList.remove(Za),this._element.classList.add(Ko,Hu),this._element.style[r]="",ce.trigger(this._element,mS)},i=`scroll${r[0].toUpperCase()+r.slice(1)}`;this._queueCallback(o,this._element,!0),this._element.style[r]=`${this._element[i]}px`}hide(){if(this._isTransitioning||!this._isShown()||ce.trigger(this._element,gS).defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,Us(this._element),this._element.classList.add(Za),this._element.classList.remove(Ko,Hu);for(const o of this._triggerArray){const s=Me.getElementFromSelector(o);s&&!this._isShown(s)&&this._addAriaAndCollapsedClass([o],!1)}this._isTransitioning=!0;const r=()=>{this._isTransitioning=!1,this._element.classList.remove(Za),this._element.classList.add(Ko),ce.trigger(this._element,yS)};this._element.style[t]="",this._queueCallback(r,this._element,!0)}_isShown(e=this._element){return e.classList.contains(Hu)}_configAfterMerge(e){return e.toggle=!!e.toggle,e.parent=vr(e.parent),e}_getDimension(){return this._element.classList.contains(AS)?bS:wS}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(ju);for(const t of e){const r=Me.getElementFromSelector(t);r&&this._addAriaAndCollapsedClass([t],this._isShown(r))}}_getFirstLevelChildren(e){const t=Me.find(CS,this._config.parent);return Me.find(e,this._config.parent).filter(r=>!t.includes(r))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const r of e)r.classList.toggle(ES,!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=Ks.getOrCreateInstance(this,t);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e]()}})}}ce.on(document,vS,ju,function(n){(n.target.tagName==="A"||n.delegateTarget&&n.delegateTarget.tagName==="A")&&n.preventDefault();for(const e of Me.getMultipleElementsFromSelector(this))Ks.getOrCreateInstance(e,{toggle:!1}).toggle()}),tn(Ks);const c0="dropdown",eo=".bs.dropdown",Wu=".data-api",kS="Escape",u0="Tab",NS="ArrowUp",d0="ArrowDown",IS=2,xS=`hide${eo}`,MS=`hidden${eo}`,OS=`show${eo}`,LS=`shown${eo}`,f0=`click${eo}${Wu}`,h0=`keydown${eo}${Wu}`,DS=`keyup${eo}${Wu}`,Yo="show",RS="dropup",BS="dropend",PS="dropstart",FS="dropup-center",VS="dropdown-center",to='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',$S=`${to}.${Yo}`,Ja=".dropdown-menu",US=".navbar",zS=".navbar-nav",HS=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",jS=en()?"top-end":"top-start",WS=en()?"top-start":"top-end",KS=en()?"bottom-end":"bottom-start",YS=en()?"bottom-start":"bottom-end",GS=en()?"left-start":"right-start",QS=en()?"right-start":"left-start",ZS="top",JS="bottom",XS={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},qS={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class xn extends mn{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=Me.next(this._element,Ja)[0]||Me.prev(this._element,Ja)[0]||Me.findOne(Ja,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return XS}static get DefaultType(){return qS}static get NAME(){return c0}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Er(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!ce.trigger(this._element,OS,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(zS))for(const r of[].concat(...document.body.children))ce.on(r,"mouseover",Ha);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Yo),this._element.classList.add(Yo),ce.trigger(this._element,LS,e)}}hide(){if(Er(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(!ce.trigger(this._element,xS,e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const r of[].concat(...document.body.children))ce.off(r,"mouseover",Ha);this._popper&&this._popper.destroy(),this._menu.classList.remove(Yo),this._element.classList.remove(Yo),this._element.setAttribute("aria-expanded","false"),Hn.removeDataAttribute(this._menu,"popper"),ce.trigger(this._element,MS,e)}}_getConfig(e){if(e=super._getConfig(e),typeof e.reference=="object"&&!zn(e.reference)&&typeof e.reference.getBoundingClientRect!="function")throw new TypeError(`${c0.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(typeof q1>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;this._config.reference==="parent"?e=this._parent:zn(this._config.reference)?e=vr(this._config.reference):typeof this._config.reference=="object"&&(e=this._config.reference);const t=this._getPopperConfig();this._popper=ta(e,this._menu,t)}_isShown(){return this._menu.classList.contains(Yo)}_getPlacement(){const e=this._parent;if(e.classList.contains(BS))return GS;if(e.classList.contains(PS))return QS;if(e.classList.contains(FS))return ZS;if(e.classList.contains(VS))return JS;const t=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return e.classList.contains(RS)?t?WS:jS:t?YS:KS}_detectNavbar(){return this._element.closest(US)!==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")&&(Hn.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...Pt(this._config.popperConfig,[e])}}_selectMenuItem({key:e,target:t}){const r=Me.find(HS,this._menu).filter(o=>zo(o));r.length&&Bu(r,t,e===d0,!r.includes(t)).focus()}static jQueryInterface(e){return this.each(function(){const t=xn.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===IS||e.type==="keyup"&&e.key!==u0)return;const t=Me.find($S);for(const r of t){const o=xn.getInstance(r);if(!o||o._config.autoClose===!1)continue;const s=e.composedPath(),i=s.includes(o._menu);if(s.includes(o._element)||o._config.autoClose==="inside"&&!i||o._config.autoClose==="outside"&&i||o._menu.contains(e.target)&&(e.type==="keyup"&&e.key===u0||/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===kS,o=[NS,d0].includes(e.key);if(!o&&!r||t&&!r)return;e.preventDefault();const s=this.matches(to)?this:Me.prev(this,to)[0]||Me.next(this,to)[0]||Me.findOne(to,e.delegateTarget.parentNode),i=xn.getOrCreateInstance(s);if(o){e.stopPropagation(),i.show(),i._selectMenuItem(e);return}i._isShown()&&(e.stopPropagation(),i.hide(),s.focus())}}ce.on(document,h0,to,xn.dataApiKeydownHandler),ce.on(document,h0,Ja,xn.dataApiKeydownHandler),ce.on(document,f0,xn.clearMenus),ce.on(document,DS,xn.clearMenus),ce.on(document,f0,to,function(n){n.preventDefault(),xn.getOrCreateInstance(this).toggle()}),tn(xn);const p0="backdrop",e_="fade",m0="show",g0=`mousedown.bs.${p0}`,t_={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},n_={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class y0 extends zs{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return t_}static get DefaultType(){return n_}static get NAME(){return p0}show(e){if(!this._config.isVisible){Pt(e);return}this._append();const t=this._getElement();this._config.isAnimated&&Us(t),t.classList.add(m0),this._emulateAnimation(()=>{Pt(e)})}hide(e){if(!this._config.isVisible){Pt(e);return}this._getElement().classList.remove(m0),this._emulateAnimation(()=>{this.dispose(),Pt(e)})}dispose(){this._isAppended&&(ce.off(this._element,g0),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(e_),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=vr(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),ce.on(e,g0,()=>{Pt(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){Ym(e,this._getElement(),this._config.isAnimated)}}const r_="focustrap",Xa=".bs.focustrap",o_=`focusin${Xa}`,s_=`keydown.tab${Xa}`,i_="Tab",a_="forward",v0="backward",l_={autofocus:!0,trapElement:null},c_={autofocus:"boolean",trapElement:"element"};class E0 extends zs{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return l_}static get DefaultType(){return c_}static get NAME(){return r_}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),ce.off(document,Xa),ce.on(document,o_,e=>this._handleFocusin(e)),ce.on(document,s_,e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,ce.off(document,Xa))}_handleFocusin(e){const{trapElement:t}=this._config;if(e.target===document||e.target===t||t.contains(e.target))return;const r=Me.focusableChildren(t);r.length===0?t.focus():this._lastTabNavDirection===v0?r[r.length-1].focus():r[0].focus()}_handleKeydown(e){e.key===i_&&(this._lastTabNavDirection=e.shiftKey?v0:a_)}}const C0=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",A0=".sticky-top",qa="padding-right",b0="margin-right";class Ku{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,qa,t=>t+e),this._setElementAttributes(C0,qa,t=>t+e),this._setElementAttributes(A0,b0,t=>t-e)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,qa),this._resetElementAttributes(C0,qa),this._resetElementAttributes(A0,b0)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,r){const o=this.getWidth(),s=i=>{if(i!==this._element&&window.innerWidth>i.clientWidth+o)return;this._saveInitialAttribute(i,t);const l=window.getComputedStyle(i).getPropertyValue(t);i.style.setProperty(t,`${r(Number.parseFloat(l))}px`)};this._applyManipulationCallback(e,s)}_saveInitialAttribute(e,t){const r=e.style.getPropertyValue(t);r&&Hn.setDataAttribute(e,t,r)}_resetElementAttributes(e,t){const r=o=>{const s=Hn.getDataAttribute(o,t);if(s===null){o.style.removeProperty(t);return}Hn.removeDataAttribute(o,t),o.style.setProperty(t,s)};this._applyManipulationCallback(e,r)}_applyManipulationCallback(e,t){if(zn(e)){t(e);return}for(const r of Me.find(e,this._element))t(r)}}const u_="modal",nn=".bs.modal",d_=".data-api",f_="Escape",h_=`hide${nn}`,p_=`hidePrevented${nn}`,w0=`hidden${nn}`,T0=`show${nn}`,m_=`shown${nn}`,g_=`resize${nn}`,y_=`click.dismiss${nn}`,v_=`mousedown.dismiss${nn}`,E_=`keydown.dismiss${nn}`,C_=`click${nn}${d_}`,S0="modal-open",A_="fade",_0="show",Yu="modal-static",b_=".modal.show",w_=".modal-dialog",T_=".modal-body",S_='[data-bs-toggle="modal"]',__={backdrop:!0,focus:!0,keyboard:!0},k_={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Ar extends mn{constructor(e,t){super(e,t),this._dialog=Me.findOne(w_,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Ku,this._addEventListeners()}static get Default(){return __}static get DefaultType(){return k_}static get NAME(){return u_}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||ce.trigger(this._element,T0,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(S0),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){!this._isShown||this._isTransitioning||ce.trigger(this._element,h_).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(_0),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){ce.off(window,nn),ce.off(this._dialog,nn),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new y0({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new E0({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=Me.findOne(T_,this._dialog);t&&(t.scrollTop=0),Us(this._element),this._element.classList.add(_0);const r=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,ce.trigger(this._element,m_,{relatedTarget:e})};this._queueCallback(r,this._dialog,this._isAnimated())}_addEventListeners(){ce.on(this._element,E_,e=>{if(e.key===f_){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),ce.on(window,g_,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),ce.on(this._element,v_,e=>{ce.one(this._element,y_,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(S0),this._resetAdjustments(),this._scrollBar.reset(),ce.trigger(this._element,w0)})}_isAnimated(){return this._element.classList.contains(A_)}_triggerBackdropTransition(){if(ce.trigger(this._element,p_).defaultPrevented)return;const t=this._element.scrollHeight>document.documentElement.clientHeight,r=this._element.style.overflowY;r==="hidden"||this._element.classList.contains(Yu)||(t||(this._element.style.overflowY="hidden"),this._element.classList.add(Yu),this._queueCallback(()=>{this._element.classList.remove(Yu),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=en()?"paddingLeft":"paddingRight";this._element.style[o]=`${t}px`}if(!r&&e){const o=en()?"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=Ar.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e](t)}})}}ce.on(document,C_,S_,function(n){const e=Me.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&n.preventDefault(),ce.one(e,T0,o=>{o.defaultPrevented||ce.one(e,w0,()=>{zo(this)&&this.focus()})});const t=Me.findOne(b_);t&&Ar.getInstance(t).hide(),Ar.getOrCreateInstance(e).toggle(this)}),ja(Ar),tn(Ar);const N_="offcanvas",jn=".bs.offcanvas",k0=".data-api",I_=`load${jn}${k0}`,x_="Escape",N0="show",I0="showing",x0="hiding",M_="offcanvas-backdrop",M0=".offcanvas.show",O_=`show${jn}`,L_=`shown${jn}`,D_=`hide${jn}`,O0=`hidePrevented${jn}`,L0=`hidden${jn}`,R_=`resize${jn}`,B_=`click${jn}${k0}`,P_=`keydown.dismiss${jn}`,F_='[data-bs-toggle="offcanvas"]',V_={backdrop:!0,keyboard:!0,scroll:!1},$_={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class br extends mn{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return V_}static get DefaultType(){return $_}static get NAME(){return N_}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown||ce.trigger(this._element,O_,{relatedTarget:e}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new Ku().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(N0),this._element.classList.remove(I0),ce.trigger(this._element,L_,{relatedTarget:e})};this._queueCallback(r,this._element,!0)}hide(){if(!this._isShown||ce.trigger(this._element,D_).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(x0),this._backdrop.hide();const t=()=>{this._element.classList.remove(N0,x0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new Ku().reset(),ce.trigger(this._element,L0)};this._queueCallback(t,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=()=>{if(this._config.backdrop==="static"){ce.trigger(this._element,O0);return}this.hide()},t=!!this._config.backdrop;return new y0({className:M_,isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?e:null})}_initializeFocusTrap(){return new E0({trapElement:this._element})}_addEventListeners(){ce.on(this._element,P_,e=>{if(e.key===x_){if(this._config.keyboard){this.hide();return}ce.trigger(this._element,O0)}})}static jQueryInterface(e){return this.each(function(){const t=br.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)}})}}ce.on(document,B_,F_,function(n){const e=Me.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),Er(this))return;ce.one(e,L0,()=>{zo(this)&&this.focus()});const t=Me.findOne(M0);t&&t!==e&&br.getInstance(t).hide(),br.getOrCreateInstance(e).toggle(this)}),ce.on(window,I_,()=>{for(const n of Me.find(M0))br.getOrCreateInstance(n).show()}),ce.on(window,R_,()=>{for(const n of Me.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(n).position!=="fixed"&&br.getOrCreateInstance(n).hide()}),ja(br),tn(br);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:[]},U_=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),z_=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,H_=(n,e)=>{const t=n.nodeName.toLowerCase();return e.includes(t)?U_.has(t)?!!z_.test(n.nodeValue):!0:e.filter(r=>r instanceof RegExp).some(r=>r.test(t))};function j_(n,e,t){if(!n.length)return n;if(t&&typeof t=="function")return t(n);const o=new window.DOMParser().parseFromString(n,"text/html"),s=[].concat(...o.body.querySelectorAll("*"));for(const i of s){const l=i.nodeName.toLowerCase();if(!Object.keys(e).includes(l)){i.remove();continue}const a=[].concat(...i.attributes),u=[].concat(e["*"]||[],e[l]||[]);for(const d of a)H_(d,u)||i.removeAttribute(d.nodeName)}return o.body.innerHTML}const W_="TemplateFactory",K_={allowList:D0,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},Y_={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},G_={entry:"(string|element|function|null)",selector:"(string|element)"};class Q_ extends zs{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return K_}static get DefaultType(){return Y_}static get NAME(){return W_}getContent(){return Object.values(this._config.content).map(e=>this._resolvePossibleFunction(e)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){const e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(const[o,s]of Object.entries(this._config.content))this._setContent(e,s,o);const t=e.children[0],r=this._resolvePossibleFunction(this._config.extraClass);return r&&t.classList.add(...r.split(" ")),t}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[t,r]of Object.entries(e))super._typeCheckConfig({selector:t,entry:r},G_)}_setContent(e,t,r){const o=Me.findOne(r,e);if(o){if(t=this._resolvePossibleFunction(t),!t){o.remove();return}if(zn(t)){this._putElementInTemplate(vr(t),o);return}if(this._config.html){o.innerHTML=this._maybeSanitize(t);return}o.textContent=t}}_maybeSanitize(e){return this._config.sanitize?j_(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return Pt(e,[this])}_putElementInTemplate(e,t){if(this._config.html){t.innerHTML="",t.append(e);return}t.textContent=e.textContent}}const Z_="tooltip",J_=new Set(["sanitize","allowList","sanitizeFn"]),Gu="fade",X_="modal",el="show",q_=".tooltip-inner",R0=`.${X_}`,B0="hide.bs.modal",Ys="hover",Qu="focus",ek="click",tk="manual",nk="hide",rk="hidden",ok="show",sk="shown",ik="inserted",ak="click",lk="focusin",ck="focusout",uk="mouseenter",dk="mouseleave",fk={AUTO:"auto",TOP:"top",RIGHT:en()?"left":"right",BOTTOM:"bottom",LEFT:en()?"right":"left"},hk={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"},pk={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 Mn extends mn{constructor(e,t){if(typeof q1>"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 hk}static get DefaultType(){return pk}static get NAME(){return Z_}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),ce.off(this._element.closest(R0),B0,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=ce.trigger(this._element,this.constructor.eventName(ok)),r=(Wm(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!r)return;this._disposePopper();const o=this._getTipElement();this._element.setAttribute("aria-describedby",o.getAttribute("id"));const{container:s}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(s.append(o),ce.trigger(this._element,this.constructor.eventName(ik))),this._popper=this._createPopper(o),o.classList.add(el),"ontouchstart"in document.documentElement)for(const l of[].concat(...document.body.children))ce.on(l,"mouseover",Ha);const i=()=>{ce.trigger(this._element,this.constructor.eventName(sk)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(i,this.tip,this._isAnimated())}hide(){if(!this._isShown()||ce.trigger(this._element,this.constructor.eventName(nk)).defaultPrevented)return;if(this._getTipElement().classList.remove(el),"ontouchstart"in document.documentElement)for(const o of[].concat(...document.body.children))ce.off(o,"mouseover",Ha);this._activeTrigger[ek]=!1,this._activeTrigger[Qu]=!1,this._activeTrigger[Ys]=!1,this._isHovered=null;const r=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),ce.trigger(this._element,this.constructor.eventName(rk)))};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(Gu,el),t.classList.add(`bs-${this.constructor.NAME}-auto`);const r=cT(this.constructor.NAME).toString();return t.setAttribute("id",r),this._isAnimated()&&t.classList.add(Gu),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new Q_({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[q_]: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(Gu)}_isShown(){return this.tip&&this.tip.classList.contains(el)}_createPopper(e){const t=Pt(this._config.placement,[this,e,this._element]),r=fk[t.toUpperCase()];return ta(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 Pt(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,...Pt(this._config.popperConfig,[t])}}_setListeners(){const e=this._config.trigger.split(" ");for(const t of e)if(t==="click")ce.on(this._element,this.constructor.eventName(ak),this._config.selector,r=>{this._initializeOnDelegatedTarget(r).toggle()});else if(t!==tk){const r=t===Ys?this.constructor.eventName(uk):this.constructor.eventName(lk),o=t===Ys?this.constructor.eventName(dk):this.constructor.eventName(ck);ce.on(this._element,r,this._config.selector,s=>{const i=this._initializeOnDelegatedTarget(s);i._activeTrigger[s.type==="focusin"?Qu:Ys]=!0,i._enter()}),ce.on(this._element,o,this._config.selector,s=>{const i=this._initializeOnDelegatedTarget(s);i._activeTrigger[s.type==="focusout"?Qu:Ys]=i._element.contains(s.relatedTarget),i._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},ce.on(this._element.closest(R0),B0,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=Hn.getDataAttributes(this._element);for(const r of Object.keys(t))J_.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:vr(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=Mn.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e]()}})}}tn(Mn);const mk="popover",gk=".popover-header",yk=".popover-body",vk={...Mn.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"},Ek={...Mn.DefaultType,content:"(null|string|element|function)"};class no extends Mn{static get Default(){return vk}static get DefaultType(){return Ek}static get NAME(){return mk}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[gk]:this._getTitle(),[yk]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each(function(){const t=no.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e]()}})}}tn(no);const Ck="scrollspy",Zu=".bs.scrollspy",Ak=".data-api",bk=`activate${Zu}`,P0=`click${Zu}`,wk=`load${Zu}${Ak}`,Tk="dropdown-item",Go="active",Sk='[data-bs-spy="scroll"]',Ju="[href]",_k=".nav, .list-group",F0=".nav-link",kk=`${F0}, .nav-item > ${F0}, .list-group-item`,Nk=".dropdown",Ik=".dropdown-toggle",xk={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Mk={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class tl extends mn{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 xk}static get DefaultType(){return Mk}static get NAME(){return Ck}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=vr(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&&(ce.off(this._config.target,P0),ce.on(this._config.target,P0,Ju,e=>{const t=this._observableSections.get(e.target.hash);if(t){e.preventDefault();const r=this._rootElement||window,o=t.offsetTop-this._element.offsetTop;if(r.scrollTo){r.scrollTo({top:o,behavior:"smooth"});return}r.scrollTop=o}}))}_getNewObserver(){const e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(t=>this._observerCallback(t),e)}_observerCallback(e){const t=i=>this._targetLinks.get(`#${i.target.id}`),r=i=>{this._previousScrollData.visibleEntryTop=i.target.offsetTop,this._process(t(i))},o=(this._rootElement||document.documentElement).scrollTop,s=o>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=o;for(const i of e){if(!i.isIntersecting){this._activeTarget=null,this._clearActiveClass(t(i));continue}const l=i.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(s&&l){if(r(i),!o)return;continue}!s&&!l&&r(i)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=Me.find(Ju,this._config.target);for(const t of e){if(!t.hash||Er(t))continue;const r=Me.findOne(decodeURI(t.hash),this._element);zo(r)&&(this._targetLinks.set(decodeURI(t.hash),t),this._observableSections.set(t.hash,r))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(Go),this._activateParents(e),ce.trigger(this._element,bk,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains(Tk)){Me.findOne(Ik,e.closest(Nk)).classList.add(Go);return}for(const t of Me.parents(e,_k))for(const r of Me.prev(t,kk))r.classList.add(Go)}_clearActiveClass(e){e.classList.remove(Go);const t=Me.find(`${Ju}.${Go}`,e);for(const r of t)r.classList.remove(Go)}static jQueryInterface(e){return this.each(function(){const t=tl.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]()}})}}ce.on(window,wk,()=>{for(const n of Me.find(Sk))tl.getOrCreateInstance(n)}),tn(tl);const Ok="tab",ro=".bs.tab",Lk=`hide${ro}`,Dk=`hidden${ro}`,Rk=`show${ro}`,Bk=`shown${ro}`,Pk=`click${ro}`,Fk=`keydown${ro}`,Vk=`load${ro}`,$k="ArrowLeft",V0="ArrowRight",Uk="ArrowUp",$0="ArrowDown",oo="active",U0="fade",Xu="show",zk="dropdown",Hk=".dropdown-toggle",jk=".dropdown-menu",qu=":not(.dropdown-toggle)",Wk='.list-group, .nav, [role="tablist"]',Kk=".nav-item, .list-group-item",Yk=`.nav-link${qu}, .list-group-item${qu}, [role="tab"]${qu}`,z0='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',ed=`${Yk}, ${z0}`,Gk=`.${oo}[data-bs-toggle="tab"], .${oo}[data-bs-toggle="pill"], .${oo}[data-bs-toggle="list"]`;class Qo extends mn{constructor(e){super(e),this._parent=this._element.closest(Wk),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),ce.on(this._element,Fk,t=>this._keydown(t)))}static get NAME(){return Ok}show(){const e=this._element;if(this._elemIsActive(e))return;const t=this._getActiveElem(),r=t?ce.trigger(t,Lk,{relatedTarget:e}):null;ce.trigger(e,Rk,{relatedTarget:t}).defaultPrevented||r&&r.defaultPrevented||(this._deactivate(t,e),this._activate(e,t))}_activate(e,t){if(!e)return;e.classList.add(oo),this._activate(Me.getElementFromSelector(e));const r=()=>{if(e.getAttribute("role")!=="tab"){e.classList.add(Xu);return}e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),ce.trigger(e,Bk,{relatedTarget:t})};this._queueCallback(r,e,e.classList.contains(U0))}_deactivate(e,t){if(!e)return;e.classList.remove(oo),e.blur(),this._deactivate(Me.getElementFromSelector(e));const r=()=>{if(e.getAttribute("role")!=="tab"){e.classList.remove(Xu);return}e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),ce.trigger(e,Dk,{relatedTarget:t})};this._queueCallback(r,e,e.classList.contains(U0))}_keydown(e){if(![$k,V0,Uk,$0].includes(e.key))return;e.stopPropagation(),e.preventDefault();const t=[V0,$0].includes(e.key),r=Bu(this._getChildren().filter(o=>!Er(o)),e.target,t,!0);r&&(r.focus({preventScroll:!0}),Qo.getOrCreateInstance(r).show())}_getChildren(){return Me.find(ed,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=Me.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(zk))return;const o=(s,i)=>{const l=Me.findOne(s,r);l&&l.classList.toggle(i,t)};o(Hk,oo),o(jk,Xu),r.setAttribute("aria-expanded",t)}_setAttributeIfNotExists(e,t,r){e.hasAttribute(t)||e.setAttribute(t,r)}_elemIsActive(e){return e.classList.contains(oo)}_getInnerElement(e){return e.matches(ed)?e:Me.findOne(ed,e)}_getOuterElement(e){return e.closest(Kk)||e}static jQueryInterface(e){return this.each(function(){const t=Qo.getOrCreateInstance(this);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()}})}}ce.on(document,Pk,z0,function(n){["A","AREA"].includes(this.tagName)&&n.preventDefault(),!Er(this)&&Qo.getOrCreateInstance(this).show()}),ce.on(window,Vk,()=>{for(const n of Me.find(Gk))Qo.getOrCreateInstance(n)}),tn(Qo);const Qk="toast",wr=".bs.toast",Zk=`mouseover${wr}`,Jk=`mouseout${wr}`,Xk=`focusin${wr}`,qk=`focusout${wr}`,eN=`hide${wr}`,tN=`hidden${wr}`,nN=`show${wr}`,rN=`shown${wr}`,oN="fade",H0="hide",nl="show",rl="showing",sN={animation:"boolean",autohide:"boolean",delay:"number"},iN={animation:!0,autohide:!0,delay:5e3};class Zo extends mn{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return iN}static get DefaultType(){return sN}static get NAME(){return Qk}show(){if(ce.trigger(this._element,nN).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(oN);const t=()=>{this._element.classList.remove(rl),ce.trigger(this._element,rN),this._maybeScheduleHide()};this._element.classList.remove(H0),Us(this._element),this._element.classList.add(nl,rl),this._queueCallback(t,this._element,this._config.animation)}hide(){if(!this.isShown()||ce.trigger(this._element,eN).defaultPrevented)return;const t=()=>{this._element.classList.add(H0),this._element.classList.remove(rl,nl),ce.trigger(this._element,tN)};this._element.classList.add(rl),this._queueCallback(t,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(nl),super.dispose()}isShown(){return this._element.classList.contains(nl)}_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(){ce.on(this._element,Zk,e=>this._onInteraction(e,!0)),ce.on(this._element,Jk,e=>this._onInteraction(e,!1)),ce.on(this._element,Xk,e=>this._onInteraction(e,!0)),ce.on(this._element,qk,e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const t=Zo.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e](this)}})}}ja(Zo),tn(Zo);function j0(n,e){return e.value||n.getAttribute("title")||""}const Gs={mounted:(n,e)=>{const t=j0(n,e);t&&n.setAttribute("title",t),new Mn(n)},updated:(n,e)=>{const t=Mn.getInstance(n);t&&t.dispose();const r=j0(n,e);r&&n.setAttribute("title",r),new Mn(n)},unmounted:n=>{const e=Mn.getInstance(n);e&&e.dispose()}},aN={key:0,class:"pills-list__wrapper"},lN={class:"pills-list__ul"},cN={class:"bd-markdown-editor__menu-bottom"},uN={key:0,class:"vr"},W0=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:Ou.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=Dr(t,"modelValue",e),s=[Qb,Zb,Jb,Aw.configure({placeholder:t.placeholder}),Fw,Cw.configure({openOnClick:!1,validate:P=>/^(https?:\/\/|www\.)/i.test(P)})];t.variant===Ou.FULL&&s.push(_w,Mw,Ow,Lw,Rw,Pw);const i=Gb({content:o.value,extensions:s,onUpdate:({editor:P})=>{const{view:Y,state:G}=P,{from:K,to:H}=Y.state.selection;if(G.doc.textBetween(K-1,H,"")==" "&&P.getAttributes("link").href!=null&&P.chain().setTextSelection({from:K-1,to:H}).toggleLink({href:P.getAttributes("link").href}).setTextSelection({from:H,to:H}).run(),P.getText().trim()===""){e("update:modelValue","");return}e("update:modelValue",P.getHTML())}});c.watch(()=>t.modelValue,P=>{i.value.getHTML()!==P&&i.value.commands.setContent(P,!0,{preserveWhitespace:"full"})});const l=c.computed(()=>t.state===!1?"is-invalid":null),a=c.computed(()=>g("bold")),u=c.computed(()=>g("italic")),d=c.computed(()=>g("underline")),f=c.computed(()=>g("bulletList")),h=c.computed(()=>g("orderedList")),p=c.computed(()=>g("link")),m=c.computed(()=>t.variant===Ou.FULL),g=P=>i.value&&i.value.isActive(P)?"active":null,y=c.computed(()=>t.files&&t.files.length>0?za(t.files,!1):null),C=c.computed(()=>t.files&&t.files.length>0?za(t.files,!0):null),w=P=>{e("action",{name:"delete-attachment",obj:P})},E=P=>{e("action",{name:"image-attachment",obj:P})},v=c.computed(()=>{if(!i.value)return!1;const{from:P,to:Y}=i.value.state.selection;return P!==Y}),N=c.computed(()=>v.value?"Voeg een link toe":"Selecteer eerst tekst"),b=c.ref(!1),x=c.ref(""),B=c.ref(null),R=()=>{x.value=i.value.getAttributes("link").href||"",b.value=!0},U=P=>{if(b.value=!1,!P){i.value.chain().focus().unsetLink().run();return}/^www\./i.test(P)&&(P=`https://${P}`),i.value.chain().focus().toggleLink({href:P}).run()},$=()=>{b.value=!1};return(P,Y)=>(c.openBlock(),c.createElementBlock(c.Fragment,null,[c.createElementVNode("div",{class:c.normalizeClass(["bd-markdown-editor",l.value])},[c.createVNode(c.unref(Yb),{editor:c.unref(i)},null,8,["editor"]),P.pills?(c.openBlock(),c.createElementBlock("div",aN,[c.createElementVNode("ul",lN,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(P.pills,(G,K)=>(c.openBlock(),c.createElementBlock("li",{key:K,class:"pills-list__li"},[c.createVNode(hi,c.normalizeProps(c.guardReactiveProps(G)),null,16)]))),128))])])):c.createCommentVNode("",!0),c.renderSlot(P.$slots,"default"),y.value?(c.openBlock(),c.createBlock($a,{key:1,files:y.value,"no-download":!0,"show-delete":!0,onDelete:w},null,8,["files"])):c.createCommentVNode("",!0),C.value?(c.openBlock(),c.createBlock(Ua,{key:2,files:C.value,"no-download":!0,"show-delete":!0,onDelete:w,onShow:E},null,8,["files"])):c.createCommentVNode("",!0),c.createElementVNode("div",cN,[c.createVNode(Ze,{variant:"light",type:"button",onClick:r},{default:c.withCtx(()=>[c.createVNode(c.unref(Or))]),_:1}),m.value?(c.openBlock(),c.createElementBlock("div",uN)):c.createCommentVNode("",!0),m.value?(c.openBlock(),c.createBlock(Ze,{key:1,variant:"light",type:"button",class:c.normalizeClass(a.value),onClick:Y[0]||(Y[0]=G=>c.unref(i).chain().focus().toggleBold().run())},{default:c.withCtx(()=>[c.createVNode(c.unref(El))]),_:1},8,["class"])):c.createCommentVNode("",!0),m.value?(c.openBlock(),c.createBlock(Ze,{key:2,variant:"light",type:"button",class:c.normalizeClass(u.value),onClick:Y[1]||(Y[1]=G=>c.unref(i).chain().focus().toggleItalic().run())},{default:c.withCtx(()=>[c.createVNode(c.unref(kl))]),_:1},8,["class"])):c.createCommentVNode("",!0),m.value?(c.openBlock(),c.createBlock(Ze,{key:3,variant:"light",type:"button",class:c.normalizeClass(d.value),onClick:Y[2]||(Y[2]=G=>c.unref(i).chain().focus().toggleUnderline().run())},{default:c.withCtx(()=>[c.createVNode(c.unref(Dl))]),_:1},8,["class"])):c.createCommentVNode("",!0),m.value?(c.openBlock(),c.createBlock(Ze,{key:4,variant:"light",type:"button",class:c.normalizeClass(f.value),onClick:Y[3]||(Y[3]=G=>c.unref(i).chain().focus().toggleBulletList().run())},{default:c.withCtx(()=>[c.createVNode(c.unref(Cl))]),_:1},8,["class"])):c.createCommentVNode("",!0),m.value?(c.openBlock(),c.createBlock(Ze,{key:5,variant:"light",type:"button",class:c.normalizeClass(h.value),onClick:Y[4]||(Y[4]=G=>c.unref(i).chain().focus().toggleOrderedList().run())},{default:c.withCtx(()=>[c.createVNode(c.unref(Il))]),_:1},8,["class"])):c.createCommentVNode("",!0),c.withDirectives((c.openBlock(),c.createElementBlock("span",null,[m.value?(c.openBlock(),c.createBlock(Ze,{key:0,ref_key:"linkButton",ref:B,variant:"light",type:"button",class:c.normalizeClass(p.value),onClick:R,disabled:!v.value},{default:c.withCtx(()=>[c.createVNode(c.unref(ii))]),_:1},8,["class","disabled"])):c.createCommentVNode("",!0)])),[[c.unref(Gs),N.value]])]),b.value?(c.openBlock(),c.createBlock(Hw,{key:3,previousUrl:x.value,onSubmit:U,onCancel:$},null,8,["previousUrl"])):c.createCommentVNode("",!0)],2),c.createVNode(di,{text:t.errorText,state:t.state},null,8,["text","state"])],64))}}),dN={class:"header"},fN=c.createElementVNode("div",null,"Menu",-1),hN={class:"icon-close-wrapper"},pN={class:"navbar"},mN={class:"nav navbar-nav w-100"},gN={class:"nav-item"},yN={class:"nav-item"},td=c.defineComponent({__name:"BDMobileMenu",props:{active:{type:Boolean,default:void 0},options:{}},emits:["hide","signout"],setup(n,{emit:e}){const t=n,r=c.computed(()=>({active:t.active===!0,inactive:t.active===!1})),o=()=>e("hide"),s=()=>e("signout");return(i,l)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(["bd-mobile-menu",r.value])},[c.createElementVNode("div",dN,[fN,c.createElementVNode("div",hN,[c.createVNode(oi,{onClick:o})])]),c.createElementVNode("nav",pN,[c.createElementVNode("ul",mN,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(t.options,a=>(c.openBlock(),c.createElementBlock("li",gN,[c.createVNode(Mr,c.mergeProps({class:"nav-link"},a,{onClick:o}),null,16)]))),256)),c.renderSlot(i.$slots,"special-options"),c.createElementVNode("li",yN,[c.createVNode(Mr,{class:"nav-link",text:"Uitloggen",onClick:s})])])])],2))}}),vN={class:"bd-user"},EN={class:"bd-user__information"},CN={class:"text-break"},AN={class:"overflow-x-hidden"},K0=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",vN,[e.hideImage?c.createCommentVNode("",!0):(c.openBlock(),c.createBlock(ls,c.mergeProps({key:0},e.img,{size:"sm"}),null,16)),c.createElementVNode("div",EN,[c.createElementVNode("header",null,[c.createElementVNode("h5",CN,c.toDisplayString(e.name),1),c.renderSlot(r.$slots,"header-extra")]),c.createElementVNode("span",AN,c.toDisplayString(t.value),1)])]))}}),bN={class:"bd-chat-cloud-card"},wN={class:"bd-chat-cloud-card__header"},TN={class:"bd-chat-cloud-card__body"},SN=["innerHTML"],_N={class:"bd-chat-cloud-card__footer"},kN={key:0,class:"pills-list__wrapper"},NN={class:"pills-list__ul"},Y0=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":Ve),o=c.computed(()=>za(t.files,!1)),s=c.computed(()=>za(t.files,!0)),i=()=>{e("action","copy-message")},l=a=>{e("show-attachment",a)};return(a,u)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(["bd-chat-cloud",r.value])},[c.createVNode(ls,{src:t.src,username:t.username,size:"sm"},null,8,["src","username"]),c.createElementVNode("div",bN,[c.createElementVNode("div",wN,[c.renderSlot(a.$slots,"header",{},()=>[c.createTextVNode(c.toDisplayString(a.headerTitle),1)]),c.createVNode(Ze,{variant:"outline-primary-dark",size:"sm",onClick:i},{default:c.withCtx(()=>[c.createTextVNode(" kopieer ")]),_:1})]),c.createElementVNode("div",TN,[c.renderSlot(a.$slots,"body",{},()=>[c.createElementVNode("div",{class:"bd-chat-cloud-card__message",innerHTML:t.message},null,8,SN)])]),c.createElementVNode("div",_N,[c.renderSlot(a.$slots,"footer",{},()=>[a.pills?(c.openBlock(),c.createElementBlock("div",kN,[c.createElementVNode("ul",NN,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(a.pills,(d,f)=>(c.openBlock(),c.createElementBlock("li",{key:f,class:"pills-list__li"},[c.createVNode(hi,c.normalizeProps(c.guardReactiveProps(d)),null,16)]))),128))])])):c.createCommentVNode("",!0),o.value&&o.value.length>0?(c.openBlock(),c.createBlock($a,{key:1,files:o.value},null,8,["files"])):c.createCommentVNode("",!0),s.value&&s.value.length>0?(c.openBlock(),c.createBlock(Ua,{key:2,"fast-download":!0,files:s.value,onShow:l},null,8,["files"])):c.createCommentVNode("",!0)])])])],2))}}),IN=c.defineComponent({__name:"BDTableSortHeader",props:["active","label","sortDesc"],emits:["sortAsc","sortDesc"],setup(n,{emit:e}){const t=n,r=c.ref(t.sortDesc),o=()=>{t.active&&(r.value=!r.value)},s=()=>{if(!t.active)return;const l=r.value?"sortDesc":"sortAsc";e(l)},i=c.computed(()=>({"bd-table-sort":!0,active:t.active}));return c.watch(()=>t.active,(l,a)=>{l&&!a&&(r.value=!1,e("sortAsc"))}),s(),(l,a)=>(c.openBlock(),c.createElementBlock("th",{class:c.normalizeClass(i.value),onClick:a[0]||(a[0]=u=>{o(),s()})},[c.createElementVNode("span",null,c.toDisplayString(t.label),1),t.active&&!r.value?(c.openBlock(),c.createBlock(c.unref(xl),{key:0})):t.active&&r.value?(c.openBlock(),c.createBlock(c.unref(Ml),{key:1})):(c.openBlock(),c.createBlock(c.unref(Ol),{key:2}))],2))}}),xN={class:"bd-table"},MN={key:0,class:"table"},ON={key:1},LN=["onClick"],DN={key:0},RN={key:1,class:"empty-text"},G0=c.defineComponent({__name:"BDTable",props:["fields","items","sortBy","sortDesc","tbodyTrClass","emptyText"],emits:["row-click","sort-changed"],setup(n,{expose:e,emit:t}){const r=n,o=c.ref(r.items),s=c.ref(r.sortBy),i=f=>s.value=f,l=(f,h,p)=>{const m=h[f],g=p[f];if(m==null)return 1;if(g==null)return-1;const y=m.toString(),C=g.toString();return y.localeCompare(C,void 0,{numeric:!0})},a=f=>{o.value=o.value.sort((p,m)=>l(f,p,m)),t("sort-changed",{sortBy:f,sortDesc:!1})},u=f=>{o.value=o.value.sort((p,m)=>l(f,m,p)),t("sort-changed",{sortBy:f,sortDesc:!0})},d=()=>{o.value=r.items};return c.watch(()=>r.items,f=>{o.value=f}),e({Refresh:d}),(f,h)=>(c.openBlock(),c.createElementBlock("div",xN,[r.items&&r.items.length>0?(c.openBlock(),c.createElementBlock("table",MN,[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(IN,{key:0,label:p.label,active:p.key==s.value,sortDesc:r.sortDesc,onClick:m=>i(p.key),onSortAsc:m=>a(p.key),onSortDesc:m=>u(p.key)},null,8,["label","active","sortDesc","onClick","onSortAsc","onSortDesc"])):(c.openBlock(),c.createElementBlock("th",ON,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",DN,[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,LN))),256))])])):(c.openBlock(),c.createElementBlock("p",RN,c.toDisplayString(r.emptyText),1))]))}}),BN=["id"],PN={key:0,class:"toast-body__title"},FN={class:"actions"},VN=["textContent"],$N=["textContent"],UN={class:"icon-wrapper"},zN=["textContent"],HN=["textContent"],Q0=3e4,Z0=5e3,J0=c.defineComponent({__name:"BDVideoCallToast",props:{id:{},contactInfoReceiver:{},isSender:{type:Boolean},firstNameSender:{},canceled:{type:Boolean},disabled:{type:Boolean},localization:{}},emits:["reject-video-call","accept-video-call"],setup(n,{emit:e}){const t=n;let r=c.ref(!1),o=c.ref(!1),s=null,i=null;const l=c.computed(()=>{let w="video-call-toast";return t.id&&(w+=`-${t.id}`),w}),a=c.computed(()=>r.value?[r.value?"is-handled":Ve,o.value?"is-handled--success":Ve,t.canceled?"is-handled--canceled":Ve].join(" "):Ve),u=c.computed(()=>t.canceled?t.localization.videoCallCanceled:o.value?t.localization.videoCallAccepted:t.localization.videoCallRejected),d=c.computed(()=>t.canceled?`${t.firstNameSender}${t.localization.notifyCallerWhenCanceled}`:t.isSender?t.contactInfoReceiver?`${t.contactInfoReceiver.name}${t.localization.notifyCallerWhenRejected}`:t.localization.notifyCallerWhenRejected:o.value?t.localization.openNewTabWhenAccepted:`${t.localization.notifyReceiverWhenRejected.start}${t.firstNameSender}${t.localization.notifyReceiverWhenRejected.end}`.replace(/\s\s+/g," "));c.watch(()=>t.canceled,()=>{r.value=!0});const f=()=>{const w=l.value,E=document.querySelector(`#${w}`);if(E){E.addEventListener("hide.bs.toast",C);var v={autohide:!0,delay:Q0+Z0};i=Zo.getOrCreateInstance(E,v),i.show(),s=window.setTimeout(h,Q0)}};c.onMounted(f);const h=()=>{r.value||m()},p=()=>{m(),y()},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),y()},y=()=>{window.clearTimeout(s),window.setTimeout(()=>i.hide(),Z0)},C=()=>{r.value=!1,o.value=!1};return(w,E)=>(c.openBlock(),c.createElementBlock("div",{id:l.value,class:"toast bd-video-call-toast",role:"alert","aria-live":"assertive","aria-atomic":"true"},[c.unref(r)?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",PN,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",UN,[c.createVNode(ri)]),c.createElementVNode("div",null,[c.createElementVNode("p",{textContent:c.toDisplayString(u.value),class:"title"},null,8,zN),c.createElementVNode("p",{textContent:c.toDisplayString(d.value)},null,8,HN)])],64)):(c.openBlock(),c.createElementBlock(c.Fragment,{key:0},[c.createVNode($l,{value:w.contactInfoReceiver},null,8,["value"]),c.createElementVNode("div",FN,[c.createVNode(Ze,{variant:"danger",class:"text-center",onClick:p},{default:c.withCtx(()=>[c.createVNode(Al),c.createElementVNode("span",{textContent:c.toDisplayString(t.localization.rejectVideoCall)},null,8,VN)]),_:1}),c.createVNode(Ze,{variant:"success",class:"text-center",onClick:g},{default:c.withCtx(()=>[c.createVNode(ri),c.createElementVNode("span",{textContent:c.toDisplayString(t.localization.acceptVideoCall)},null,8,$N)]),_:1})])],64))],2)],8,BN))}}),nd=c.defineComponent({__name:"BDDropdown",props:{size:{default:At.MD},variant:{default:ai.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}=fo(),r=`__BD__DROPDOWN__${t.value}`,o=c.computed(()=>({class:{btn:e.toggleTag==="button",[`btn-${e.variant}`]:e.toggleTag==="button"&&e.variant,[`btn-${e.size}`]:e.toggleTag==="button"&&e.size,[`${e.toggleClass}`]:e.toggleClass!==void 0,"dropdown-toggle-action":e.actionToggle},"data-bs-display":e.noFlip?"static":null,"data-bs-offset":e.offset?e.offset:null,id:r})),s=c.computed(()=>({"dropdown-menu-end":e.right,"dropdown-menu-action":e.actionToggle})),i=c.computed(()=>({"aria-labelledby":r})),l=c.ref(),a=c.ref(),u=()=>{l.value.classList.remove("show"),a.value.classList.remove("show"),a.value.removeAttribute("aria-expanded")};return(d,f)=>(c.openBlock(),c.createElementBlock("div",{class:"bd-dropdown dropdown",onClick:f[0]||(f[0]=c.withModifiers(()=>{},["stop"]))},[(c.openBlock(),c.createBlock(c.resolveDynamicComponent(e.toggleTag),c.mergeProps({ref_key:"dropdownToggle",ref:a,class:"dropdown-toggle",target:"_self",role:"button","data-bs-toggle":"dropdown"},o.value),{default:c.withCtx(()=>[c.createElementVNode("span",null,c.toDisplayString(e.text),1)]),_:1},16)),c.createElementVNode("ul",c.mergeProps({ref_key:"dropdownMenu",ref:l,class:["dropdown-menu",s.value]},i.value,{onClick:u}),[c.renderSlot(d.$slots,"default")],16)]))}}),jN={class:"row bd-header"},WN={class:"col logo-mix"},KN=["src"],YN=c.createElementVNode("div",null,"Menu",-1),GN={key:1,class:"col header-options"},QN={class:"col bd-btn-settings"},ZN={key:2},rd=c.defineComponent({__name:"BDHeader",props:{isEmbedded:{type:Boolean},dropdownMenuTitle:{},dropdownOptions:{},headerOptions:{},profileImageSrc:{},profileImageAlt:{},organizationLogoSrc:{},hasLogoutOption:{type:Boolean,default:!0}},emits:["click-logo","signout"],setup(n,{emit:e}){const t=n,r=c.computed(()=>{let d=[];return t.isEmbedded||(t.headerOptions&&(d=d.concat(t.headerOptions)),t.dropdownOptions&&(d=d.concat(t.dropdownOptions))),d}),o=c.computed(()=>!t.isEmbedded&&t.headerOptions&&t.headerOptions.length!==0),s=c.ref(void 0),i=()=>{t.isEmbedded||e("click-logo")},l=()=>e("signout"),a=()=>s.value=!0,u=()=>s.value=!1;return(d,f)=>(c.openBlock(),c.createElementBlock(c.Fragment,null,[c.createElementVNode("nav",jN,[c.createElementVNode("div",WN,[c.createVNode(vl,{viewBox:"0 0 351 61",class:"logo bd-logo",onClick:i}),t.organizationLogoSrc?(c.openBlock(),c.createElementBlock("img",{key:0,class:"logo organization-logo",src:t.organizationLogoSrc,alt:""},null,8,KN)):c.createCommentVNode("",!0)]),t.isEmbedded?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",{key:0,class:"col bd-hamburger",onClick:a},[YN,c.createVNode(Nl)])),o.value?(c.openBlock(),c.createElementBlock("div",GN,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(t.headerOptions,h=>(c.openBlock(),c.createBlock(Ze,{class:"btn-header",to:h.to,variant:"neutral"},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(h.text),1)]),_:2},1032,["to"]))),256))])):c.createCommentVNode("",!0),c.createElementVNode("div",QN,[t.isEmbedded?c.createCommentVNode("",!0):c.renderSlot(d.$slots,"profile-side",{key:0}),t.profileImageSrc?(c.openBlock(),c.createBlock(ls,{key:1,src:t.profileImageSrc,alt:t.profileImageAlt,size:"sm"},null,8,["src","alt"])):c.createCommentVNode("",!0),t.isEmbedded?(c.openBlock(),c.createElementBlock("span",ZN,c.toDisplayString(t.dropdownMenuTitle),1)):c.createCommentVNode("",!0),t.isEmbedded?c.createCommentVNode("",!0):(c.openBlock(),c.createBlock(nd,{key:3,text:t.dropdownMenuTitle,variant:"primary",toggleTag:"a",right:!0},{default:c.withCtx(()=>[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(t.dropdownOptions,(h,p)=>(c.openBlock(),c.createBlock(pi,c.mergeProps({key:p},h),null,16))),128)),t.hasLogoutOption?(c.openBlock(),c.createBlock(pi,{key:0,text:"Uitloggen",onClick:l})):c.createCommentVNode("",!0)]),_:1},8,["text"]))])]),t.isEmbedded?c.createCommentVNode("",!0):(c.openBlock(),c.createBlock(td,{key:0,active:s.value,options:r.value,onHide:u,onSignout:l},{"special-options":c.withCtx(()=>[c.renderSlot(d.$slots,"mobile-menu-special-options")]),_:3},8,["active","options"]))],64))}});/*!
|
|
182
|
+
*/const yr=new Map,Du={set(n,e,t){yr.has(n)||yr.set(n,new Map);const r=yr.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 yr.has(n)&&yr.get(n).get(e)||null},remove(n,e){if(!yr.has(n))return;const t=yr.get(n);t.delete(e),t.size===0&&yr.delete(n)}},aT=1e6,lT=1e3,Ru="transitionend",Hm=n=>(n&&window.CSS&&window.CSS.escape&&(n=n.replace(/#([^\s"#']+)/g,(e,t)=>`#${CSS.escape(t)}`)),n),cT=n=>n==null?`${n}`:Object.prototype.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase(),uT=n=>{do n+=Math.floor(Math.random()*aT);while(document.getElementById(n));return n},dT=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))*lT)},jm=n=>{n.dispatchEvent(new Event(Ru))},zn=n=>!n||typeof n!="object"?!1:(typeof n.jquery<"u"&&(n=n[0]),typeof n.nodeType<"u"),vr=n=>zn(n)?n.jquery?n[0]:n:typeof n=="string"&&n.length>0?document.querySelector(Hm(n)):null,zo=n=>{if(!zn(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},Er=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",Wm=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?Wm(n.parentNode):null},ja=()=>{},Hs=n=>{n.offsetHeight},Km=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Bu=[],fT=n=>{document.readyState==="loading"?(Bu.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of Bu)e()}),Bu.push(n)):n()},en=()=>document.documentElement.dir==="rtl",tn=n=>{fT(()=>{const e=Km();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)}})},Pt=(n,e=[],t=n)=>typeof n=="function"?n(...e):t,Ym=(n,e,t=!0)=>{if(!t){Pt(n);return}const r=5,o=dT(e)+r;let s=!1;const i=({target:l})=>{l===e&&(s=!0,e.removeEventListener(Ru,i),Pt(n))};e.addEventListener(Ru,i),setTimeout(()=>{s||jm(e)},o)},Pu=(n,e,t,r)=>{const o=n.length;let s=n.indexOf(e);return s===-1?!t&&r?n[o-1]:n[0]:(s+=t?1:-1,r&&(s=(s+o)%o),n[Math.max(0,Math.min(s,o-1))])},hT=/[^.]*(?=\..*)\.|.*/,pT=/\..*/,mT=/::\d+$/,Fu={};let Gm=1;const Qm={mouseenter:"mouseover",mouseleave:"mouseout"},gT=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 Zm(n,e){return e&&`${e}::${Gm++}`||n.uidEvent||Gm++}function Jm(n){const e=Zm(n);return n.uidEvent=e,Fu[e]=Fu[e]||{},Fu[e]}function yT(n,e){return function t(r){return $u(r,{delegateTarget:n}),t.oneOff&&ce.off(n,r.type,e),e.apply(n,[r])}}function vT(n,e,t){return function r(o){const s=n.querySelectorAll(e);for(let{target:i}=o;i&&i!==this;i=i.parentNode)for(const l of s)if(l===i)return $u(o,{delegateTarget:i}),r.oneOff&&ce.off(n,o.type,e,t),t.apply(i,[o])}}function Xm(n,e,t=null){return Object.values(n).find(r=>r.callable===e&&r.delegationSelector===t)}function qm(n,e,t){const r=typeof e=="string",o=r?t:e||t;let s=t0(n);return gT.has(s)||(s=n),[r,o,s]}function e0(n,e,t,r,o){if(typeof e!="string"||!n)return;let[s,i,l]=qm(e,t,r);e in Qm&&(i=(m=>function(g){if(!g.relatedTarget||g.relatedTarget!==g.delegateTarget&&!g.delegateTarget.contains(g.relatedTarget))return m.call(this,g)})(i));const a=Jm(n),u=a[l]||(a[l]={}),d=Xm(u,i,s?t:null);if(d){d.oneOff=d.oneOff&&o;return}const f=Zm(i,e.replace(hT,"")),h=s?vT(n,t,i):yT(n,i);h.delegationSelector=s?t:null,h.callable=i,h.oneOff=o,h.uidEvent=f,u[f]=h,n.addEventListener(l,h,s)}function Vu(n,e,t,r,o){const s=Xm(e[t],r,o);s&&(n.removeEventListener(t,s,!!o),delete e[t][s.uidEvent])}function ET(n,e,t,r){const o=e[t]||{};for(const[s,i]of Object.entries(o))s.includes(r)&&Vu(n,e,t,i.callable,i.delegationSelector)}function t0(n){return n=n.replace(pT,""),Qm[n]||n}const ce={on(n,e,t,r){e0(n,e,t,r,!1)},one(n,e,t,r){e0(n,e,t,r,!0)},off(n,e,t,r){if(typeof e!="string"||!n)return;const[o,s,i]=qm(e,t,r),l=i!==e,a=Jm(n),u=a[i]||{},d=e.startsWith(".");if(typeof s<"u"){if(!Object.keys(u).length)return;Vu(n,a,i,s,o?t:null);return}if(d)for(const f of Object.keys(a))ET(n,a,f,e.slice(1));for(const[f,h]of Object.entries(u)){const p=f.replace(mT,"");(!l||e.includes(p))&&Vu(n,a,i,h.callable,h.delegationSelector)}},trigger(n,e,t){if(typeof e!="string"||!n)return null;const r=Km(),o=t0(e),s=e!==o;let i=null,l=!0,a=!0,u=!1;s&&r&&(i=r.Event(e,t),r(n).trigger(i),l=!i.isPropagationStopped(),a=!i.isImmediatePropagationStopped(),u=i.isDefaultPrevented());const d=$u(new Event(e,{bubbles:l,cancelable:!0}),t);return u&&d.preventDefault(),a&&n.dispatchEvent(d),d.defaultPrevented&&i&&i.preventDefault(),d}};function $u(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 n0(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 Uu(n){return n.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}const Hn={setDataAttribute(n,e,t){n.setAttribute(`data-bs-${Uu(e)}`,t)},removeDataAttribute(n,e){n.removeAttribute(`data-bs-${Uu(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]=n0(n.dataset[r])}return e},getDataAttribute(n,e){return n0(n.getAttribute(`data-bs-${Uu(e)}`))}};class js{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=zn(t)?Hn.getDataAttribute(t,"config"):{};return{...this.constructor.Default,...typeof r=="object"?r:{},...zn(t)?Hn.getDataAttributes(t):{},...typeof e=="object"?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(const[r,o]of Object.entries(t)){const s=e[r],i=zn(s)?"element":cT(s);if(!new RegExp(o).test(i))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${r}" provided type "${i}" but expected type "${o}".`)}}}const CT="5.3.0";class mn extends js{constructor(e,t){super(),e=vr(e),e&&(this._element=e,this._config=this._getConfig(t),Du.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Du.remove(this._element,this.constructor.DATA_KEY),ce.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,r=!0){Ym(e,t,r)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return Du.get(vr(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,typeof t=="object"?t:null)}static get VERSION(){return CT}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 zu=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 Hm(e)},Me={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=>!Er(t)&&zo(t))},getSelectorFromElement(n){const e=zu(n);return e&&Me.findOne(e)?e:null},getElementFromSelector(n){const e=zu(n);return e?Me.findOne(e):null},getMultipleElementsFromSelector(n){const e=zu(n);return e?Me.find(e):[]}},Wa=(n,e="hide")=>{const t=`click.dismiss${n.EVENT_KEY}`,r=n.NAME;ce.on(document,t,`[data-bs-dismiss="${r}"]`,function(o){if(["A","AREA"].includes(this.tagName)&&o.preventDefault(),Er(this))return;const s=Me.getElementFromSelector(this)||this.closest(`.${r}`);n.getOrCreateInstance(s)[e]()})},AT="alert",r0=".bs.alert",bT=`close${r0}`,wT=`closed${r0}`,TT="fade",ST="show";class Ka extends mn{static get NAME(){return AT}close(){if(ce.trigger(this._element,bT).defaultPrevented)return;this._element.classList.remove(ST);const t=this._element.classList.contains(TT);this._queueCallback(()=>this._destroyElement(),this._element,t)}_destroyElement(){this._element.remove(),ce.trigger(this._element,wT),this.dispose()}static jQueryInterface(e){return this.each(function(){const t=Ka.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)}})}}Wa(Ka,"close"),tn(Ka);const _T="button",kT=".bs.button",NT=".data-api",IT="active",o0='[data-bs-toggle="button"]',xT=`click${kT}${NT}`;class Ya extends mn{static get NAME(){return _T}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(IT))}static jQueryInterface(e){return this.each(function(){const t=Ya.getOrCreateInstance(this);e==="toggle"&&t[e]()})}}ce.on(document,xT,o0,n=>{n.preventDefault();const e=n.target.closest(o0);Ya.getOrCreateInstance(e).toggle()}),tn(Ya);const MT="swipe",Ho=".bs.swipe",OT=`touchstart${Ho}`,LT=`touchmove${Ho}`,DT=`touchend${Ho}`,RT=`pointerdown${Ho}`,BT=`pointerup${Ho}`,PT="touch",FT="pen",VT="pointer-event",$T=40,UT={endCallback:null,leftCallback:null,rightCallback:null},zT={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Ga extends js{constructor(e,t){super(),this._element=e,!(!e||!Ga.isSupported())&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return UT}static get DefaultType(){return zT}static get NAME(){return MT}dispose(){ce.off(this._element,Ho)}_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(),Pt(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<=$T)return;const t=e/this._deltaX;this._deltaX=0,t&&Pt(t>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(ce.on(this._element,RT,e=>this._start(e)),ce.on(this._element,BT,e=>this._end(e)),this._element.classList.add(VT)):(ce.on(this._element,OT,e=>this._start(e)),ce.on(this._element,LT,e=>this._move(e)),ce.on(this._element,DT,e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&(e.pointerType===FT||e.pointerType===PT)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const HT="carousel",Cr=".bs.carousel",s0=".data-api",jT="ArrowLeft",WT="ArrowRight",KT=500,Ws="next",jo="prev",Wo="left",Qa="right",YT=`slide${Cr}`,Hu=`slid${Cr}`,GT=`keydown${Cr}`,QT=`mouseenter${Cr}`,ZT=`mouseleave${Cr}`,JT=`dragstart${Cr}`,XT=`load${Cr}${s0}`,qT=`click${Cr}${s0}`,i0="carousel",Za="active",eS="slide",tS="carousel-item-end",nS="carousel-item-start",rS="carousel-item-next",oS="carousel-item-prev",a0=".active",l0=".carousel-item",sS=a0+l0,iS=".carousel-item img",aS=".carousel-indicators",lS="[data-bs-slide], [data-bs-slide-to]",cS='[data-bs-ride="carousel"]',uS={[jT]:Qa,[WT]:Wo},dS={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},fS={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Ks extends mn{constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=Me.findOne(aS,this._element),this._addEventListeners(),this._config.ride===i0&&this.cycle()}static get Default(){return dS}static get DefaultType(){return fS}static get NAME(){return HT}next(){this._slide(Ws)}nextWhenVisible(){!document.hidden&&zo(this._element)&&this.next()}prev(){this._slide(jo)}pause(){this._isSliding&&jm(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){ce.one(this._element,Hu,()=>this.cycle());return}this.cycle()}}to(e){const t=this._getItems();if(e>t.length-1||e<0)return;if(this._isSliding){ce.one(this._element,Hu,()=>this.to(e));return}const r=this._getItemIndex(this._getActive());if(r===e)return;const o=e>r?Ws:jo;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&&ce.on(this._element,GT,e=>this._keydown(e)),this._config.pause==="hover"&&(ce.on(this._element,QT,()=>this.pause()),ce.on(this._element,ZT,()=>this._maybeEnableCycle())),this._config.touch&&Ga.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const r of Me.find(iS,this._element))ce.on(r,JT,o=>o.preventDefault());const t={leftCallback:()=>this._slide(this._directionToOrder(Wo)),rightCallback:()=>this._slide(this._directionToOrder(Qa)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),KT+this._config.interval))}};this._swipeHelper=new Ga(this._element,t)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=uS[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=Me.findOne(a0,this._indicatorsElement);t.classList.remove(Za),t.removeAttribute("aria-current");const r=Me.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);r&&(r.classList.add(Za),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===Ws,s=t||Pu(this._getItems(),r,o,this._config.wrap);if(s===r)return;const i=this._getItemIndex(s),l=p=>ce.trigger(this._element,p,{relatedTarget:s,direction:this._orderToDirection(e),from:this._getItemIndex(r),to:i});if(l(YT).defaultPrevented||!r||!s)return;const u=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(i),this._activeElement=s;const d=o?nS:tS,f=o?rS:oS;s.classList.add(f),Hs(s),r.classList.add(d),s.classList.add(d);const h=()=>{s.classList.remove(d,f),s.classList.add(Za),r.classList.remove(Za,f,d),this._isSliding=!1,l(Hu)};this._queueCallback(h,r,this._isAnimated()),u&&this.cycle()}_isAnimated(){return this._element.classList.contains(eS)}_getActive(){return Me.findOne(sS,this._element)}_getItems(){return Me.find(l0,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return en()?e===Wo?jo:Ws:e===Wo?Ws:jo}_orderToDirection(e){return en()?e===jo?Wo:Qa:e===jo?Qa:Wo}static jQueryInterface(e){return this.each(function(){const t=Ks.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]()}})}}ce.on(document,qT,lS,function(n){const e=Me.getElementFromSelector(this);if(!e||!e.classList.contains(i0))return;n.preventDefault();const t=Ks.getOrCreateInstance(e),r=this.getAttribute("data-bs-slide-to");if(r){t.to(r),t._maybeEnableCycle();return}if(Hn.getDataAttribute(this,"slide")==="next"){t.next(),t._maybeEnableCycle();return}t.prev(),t._maybeEnableCycle()}),ce.on(window,XT,()=>{const n=Me.find(cS);for(const e of n)Ks.getOrCreateInstance(e)}),tn(Ks);const hS="collapse",Ys=".bs.collapse",pS=".data-api",mS=`show${Ys}`,gS=`shown${Ys}`,yS=`hide${Ys}`,vS=`hidden${Ys}`,ES=`click${Ys}${pS}`,ju="show",Ko="collapse",Ja="collapsing",CS="collapsed",AS=`:scope .${Ko} .${Ko}`,bS="collapse-horizontal",wS="width",TS="height",SS=".collapse.show, .collapse.collapsing",Wu='[data-bs-toggle="collapse"]',_S={parent:null,toggle:!0},kS={parent:"(null|element)",toggle:"boolean"};class Gs extends mn{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const r=Me.find(Wu);for(const o of r){const s=Me.getSelectorFromElement(o),i=Me.find(s).filter(l=>l===this._element);s!==null&&i.length&&this._triggerArray.push(o)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return _S}static get DefaultType(){return kS}static get NAME(){return hS}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(SS).filter(l=>l!==this._element).map(l=>Gs.getOrCreateInstance(l,{toggle:!1}))),e.length&&e[0]._isTransitioning||ce.trigger(this._element,mS).defaultPrevented)return;for(const l of e)l.hide();const r=this._getDimension();this._element.classList.remove(Ko),this._element.classList.add(Ja),this._element.style[r]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const o=()=>{this._isTransitioning=!1,this._element.classList.remove(Ja),this._element.classList.add(Ko,ju),this._element.style[r]="",ce.trigger(this._element,gS)},i=`scroll${r[0].toUpperCase()+r.slice(1)}`;this._queueCallback(o,this._element,!0),this._element.style[r]=`${this._element[i]}px`}hide(){if(this._isTransitioning||!this._isShown()||ce.trigger(this._element,yS).defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,Hs(this._element),this._element.classList.add(Ja),this._element.classList.remove(Ko,ju);for(const o of this._triggerArray){const s=Me.getElementFromSelector(o);s&&!this._isShown(s)&&this._addAriaAndCollapsedClass([o],!1)}this._isTransitioning=!0;const r=()=>{this._isTransitioning=!1,this._element.classList.remove(Ja),this._element.classList.add(Ko),ce.trigger(this._element,vS)};this._element.style[t]="",this._queueCallback(r,this._element,!0)}_isShown(e=this._element){return e.classList.contains(ju)}_configAfterMerge(e){return e.toggle=!!e.toggle,e.parent=vr(e.parent),e}_getDimension(){return this._element.classList.contains(bS)?wS:TS}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(Wu);for(const t of e){const r=Me.getElementFromSelector(t);r&&this._addAriaAndCollapsedClass([t],this._isShown(r))}}_getFirstLevelChildren(e){const t=Me.find(AS,this._config.parent);return Me.find(e,this._config.parent).filter(r=>!t.includes(r))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const r of e)r.classList.toggle(CS,!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=Gs.getOrCreateInstance(this,t);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e]()}})}}ce.on(document,ES,Wu,function(n){(n.target.tagName==="A"||n.delegateTarget&&n.delegateTarget.tagName==="A")&&n.preventDefault();for(const e of Me.getMultipleElementsFromSelector(this))Gs.getOrCreateInstance(e,{toggle:!1}).toggle()}),tn(Gs);const c0="dropdown",eo=".bs.dropdown",Ku=".data-api",NS="Escape",u0="Tab",IS="ArrowUp",d0="ArrowDown",xS=2,MS=`hide${eo}`,OS=`hidden${eo}`,LS=`show${eo}`,DS=`shown${eo}`,f0=`click${eo}${Ku}`,h0=`keydown${eo}${Ku}`,RS=`keyup${eo}${Ku}`,Yo="show",BS="dropup",PS="dropend",FS="dropstart",VS="dropup-center",$S="dropdown-center",to='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',US=`${to}.${Yo}`,Xa=".dropdown-menu",zS=".navbar",HS=".navbar-nav",jS=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",WS=en()?"top-end":"top-start",KS=en()?"top-start":"top-end",YS=en()?"bottom-end":"bottom-start",GS=en()?"bottom-start":"bottom-end",QS=en()?"left-start":"right-start",ZS=en()?"right-start":"left-start",JS="top",XS="bottom",qS={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},e_={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class xn extends mn{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=Me.next(this._element,Xa)[0]||Me.prev(this._element,Xa)[0]||Me.findOne(Xa,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return qS}static get DefaultType(){return e_}static get NAME(){return c0}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Er(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!ce.trigger(this._element,LS,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(HS))for(const r of[].concat(...document.body.children))ce.on(r,"mouseover",ja);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Yo),this._element.classList.add(Yo),ce.trigger(this._element,DS,e)}}hide(){if(Er(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(!ce.trigger(this._element,MS,e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const r of[].concat(...document.body.children))ce.off(r,"mouseover",ja);this._popper&&this._popper.destroy(),this._menu.classList.remove(Yo),this._element.classList.remove(Yo),this._element.setAttribute("aria-expanded","false"),Hn.removeDataAttribute(this._menu,"popper"),ce.trigger(this._element,OS,e)}}_getConfig(e){if(e=super._getConfig(e),typeof e.reference=="object"&&!zn(e.reference)&&typeof e.reference.getBoundingClientRect!="function")throw new TypeError(`${c0.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(typeof q1>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;this._config.reference==="parent"?e=this._parent:zn(this._config.reference)?e=vr(this._config.reference):typeof this._config.reference=="object"&&(e=this._config.reference);const t=this._getPopperConfig();this._popper=na(e,this._menu,t)}_isShown(){return this._menu.classList.contains(Yo)}_getPlacement(){const e=this._parent;if(e.classList.contains(PS))return QS;if(e.classList.contains(FS))return ZS;if(e.classList.contains(VS))return JS;if(e.classList.contains($S))return XS;const t=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return e.classList.contains(BS)?t?KS:WS:t?GS:YS}_detectNavbar(){return this._element.closest(zS)!==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")&&(Hn.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...Pt(this._config.popperConfig,[e])}}_selectMenuItem({key:e,target:t}){const r=Me.find(jS,this._menu).filter(o=>zo(o));r.length&&Pu(r,t,e===d0,!r.includes(t)).focus()}static jQueryInterface(e){return this.each(function(){const t=xn.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===xS||e.type==="keyup"&&e.key!==u0)return;const t=Me.find(US);for(const r of t){const o=xn.getInstance(r);if(!o||o._config.autoClose===!1)continue;const s=e.composedPath(),i=s.includes(o._menu);if(s.includes(o._element)||o._config.autoClose==="inside"&&!i||o._config.autoClose==="outside"&&i||o._menu.contains(e.target)&&(e.type==="keyup"&&e.key===u0||/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===NS,o=[IS,d0].includes(e.key);if(!o&&!r||t&&!r)return;e.preventDefault();const s=this.matches(to)?this:Me.prev(this,to)[0]||Me.next(this,to)[0]||Me.findOne(to,e.delegateTarget.parentNode),i=xn.getOrCreateInstance(s);if(o){e.stopPropagation(),i.show(),i._selectMenuItem(e);return}i._isShown()&&(e.stopPropagation(),i.hide(),s.focus())}}ce.on(document,h0,to,xn.dataApiKeydownHandler),ce.on(document,h0,Xa,xn.dataApiKeydownHandler),ce.on(document,f0,xn.clearMenus),ce.on(document,RS,xn.clearMenus),ce.on(document,f0,to,function(n){n.preventDefault(),xn.getOrCreateInstance(this).toggle()}),tn(xn);const p0="backdrop",t_="fade",m0="show",g0=`mousedown.bs.${p0}`,n_={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},r_={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class y0 extends js{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return n_}static get DefaultType(){return r_}static get NAME(){return p0}show(e){if(!this._config.isVisible){Pt(e);return}this._append();const t=this._getElement();this._config.isAnimated&&Hs(t),t.classList.add(m0),this._emulateAnimation(()=>{Pt(e)})}hide(e){if(!this._config.isVisible){Pt(e);return}this._getElement().classList.remove(m0),this._emulateAnimation(()=>{this.dispose(),Pt(e)})}dispose(){this._isAppended&&(ce.off(this._element,g0),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(t_),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=vr(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),ce.on(e,g0,()=>{Pt(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){Ym(e,this._getElement(),this._config.isAnimated)}}const o_="focustrap",qa=".bs.focustrap",s_=`focusin${qa}`,i_=`keydown.tab${qa}`,a_="Tab",l_="forward",v0="backward",c_={autofocus:!0,trapElement:null},u_={autofocus:"boolean",trapElement:"element"};class E0 extends js{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return c_}static get DefaultType(){return u_}static get NAME(){return o_}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),ce.off(document,qa),ce.on(document,s_,e=>this._handleFocusin(e)),ce.on(document,i_,e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,ce.off(document,qa))}_handleFocusin(e){const{trapElement:t}=this._config;if(e.target===document||e.target===t||t.contains(e.target))return;const r=Me.focusableChildren(t);r.length===0?t.focus():this._lastTabNavDirection===v0?r[r.length-1].focus():r[0].focus()}_handleKeydown(e){e.key===a_&&(this._lastTabNavDirection=e.shiftKey?v0:l_)}}const C0=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",A0=".sticky-top",el="padding-right",b0="margin-right";class Yu{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,el,t=>t+e),this._setElementAttributes(C0,el,t=>t+e),this._setElementAttributes(A0,b0,t=>t-e)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,el),this._resetElementAttributes(C0,el),this._resetElementAttributes(A0,b0)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,r){const o=this.getWidth(),s=i=>{if(i!==this._element&&window.innerWidth>i.clientWidth+o)return;this._saveInitialAttribute(i,t);const l=window.getComputedStyle(i).getPropertyValue(t);i.style.setProperty(t,`${r(Number.parseFloat(l))}px`)};this._applyManipulationCallback(e,s)}_saveInitialAttribute(e,t){const r=e.style.getPropertyValue(t);r&&Hn.setDataAttribute(e,t,r)}_resetElementAttributes(e,t){const r=o=>{const s=Hn.getDataAttribute(o,t);if(s===null){o.style.removeProperty(t);return}Hn.removeDataAttribute(o,t),o.style.setProperty(t,s)};this._applyManipulationCallback(e,r)}_applyManipulationCallback(e,t){if(zn(e)){t(e);return}for(const r of Me.find(e,this._element))t(r)}}const d_="modal",nn=".bs.modal",f_=".data-api",h_="Escape",p_=`hide${nn}`,m_=`hidePrevented${nn}`,w0=`hidden${nn}`,T0=`show${nn}`,g_=`shown${nn}`,y_=`resize${nn}`,v_=`click.dismiss${nn}`,E_=`mousedown.dismiss${nn}`,C_=`keydown.dismiss${nn}`,A_=`click${nn}${f_}`,S0="modal-open",b_="fade",_0="show",Gu="modal-static",w_=".modal.show",T_=".modal-dialog",S_=".modal-body",__='[data-bs-toggle="modal"]',k_={backdrop:!0,focus:!0,keyboard:!0},N_={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Ar extends mn{constructor(e,t){super(e,t),this._dialog=Me.findOne(T_,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Yu,this._addEventListeners()}static get Default(){return k_}static get DefaultType(){return N_}static get NAME(){return d_}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||ce.trigger(this._element,T0,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(S0),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){!this._isShown||this._isTransitioning||ce.trigger(this._element,p_).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(_0),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){ce.off(window,nn),ce.off(this._dialog,nn),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new y0({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new E0({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=Me.findOne(S_,this._dialog);t&&(t.scrollTop=0),Hs(this._element),this._element.classList.add(_0);const r=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,ce.trigger(this._element,g_,{relatedTarget:e})};this._queueCallback(r,this._dialog,this._isAnimated())}_addEventListeners(){ce.on(this._element,C_,e=>{if(e.key===h_){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),ce.on(window,y_,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),ce.on(this._element,E_,e=>{ce.one(this._element,v_,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(S0),this._resetAdjustments(),this._scrollBar.reset(),ce.trigger(this._element,w0)})}_isAnimated(){return this._element.classList.contains(b_)}_triggerBackdropTransition(){if(ce.trigger(this._element,m_).defaultPrevented)return;const t=this._element.scrollHeight>document.documentElement.clientHeight,r=this._element.style.overflowY;r==="hidden"||this._element.classList.contains(Gu)||(t||(this._element.style.overflowY="hidden"),this._element.classList.add(Gu),this._queueCallback(()=>{this._element.classList.remove(Gu),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=en()?"paddingLeft":"paddingRight";this._element.style[o]=`${t}px`}if(!r&&e){const o=en()?"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=Ar.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e](t)}})}}ce.on(document,A_,__,function(n){const e=Me.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&n.preventDefault(),ce.one(e,T0,o=>{o.defaultPrevented||ce.one(e,w0,()=>{zo(this)&&this.focus()})});const t=Me.findOne(w_);t&&Ar.getInstance(t).hide(),Ar.getOrCreateInstance(e).toggle(this)}),Wa(Ar),tn(Ar);const I_="offcanvas",jn=".bs.offcanvas",k0=".data-api",x_=`load${jn}${k0}`,M_="Escape",N0="show",I0="showing",x0="hiding",O_="offcanvas-backdrop",M0=".offcanvas.show",L_=`show${jn}`,D_=`shown${jn}`,R_=`hide${jn}`,O0=`hidePrevented${jn}`,L0=`hidden${jn}`,B_=`resize${jn}`,P_=`click${jn}${k0}`,F_=`keydown.dismiss${jn}`,V_='[data-bs-toggle="offcanvas"]',$_={backdrop:!0,keyboard:!0,scroll:!1},U_={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class br extends mn{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return $_}static get DefaultType(){return U_}static get NAME(){return I_}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown||ce.trigger(this._element,L_,{relatedTarget:e}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new Yu().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(N0),this._element.classList.remove(I0),ce.trigger(this._element,D_,{relatedTarget:e})};this._queueCallback(r,this._element,!0)}hide(){if(!this._isShown||ce.trigger(this._element,R_).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(x0),this._backdrop.hide();const t=()=>{this._element.classList.remove(N0,x0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new Yu().reset(),ce.trigger(this._element,L0)};this._queueCallback(t,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=()=>{if(this._config.backdrop==="static"){ce.trigger(this._element,O0);return}this.hide()},t=!!this._config.backdrop;return new y0({className:O_,isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?e:null})}_initializeFocusTrap(){return new E0({trapElement:this._element})}_addEventListeners(){ce.on(this._element,F_,e=>{if(e.key===M_){if(this._config.keyboard){this.hide();return}ce.trigger(this._element,O0)}})}static jQueryInterface(e){return this.each(function(){const t=br.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)}})}}ce.on(document,P_,V_,function(n){const e=Me.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),Er(this))return;ce.one(e,L0,()=>{zo(this)&&this.focus()});const t=Me.findOne(M0);t&&t!==e&&br.getInstance(t).hide(),br.getOrCreateInstance(e).toggle(this)}),ce.on(window,x_,()=>{for(const n of Me.find(M0))br.getOrCreateInstance(n).show()}),ce.on(window,B_,()=>{for(const n of Me.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(n).position!=="fixed"&&br.getOrCreateInstance(n).hide()}),Wa(br),tn(br);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:[]},z_=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),H_=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,j_=(n,e)=>{const t=n.nodeName.toLowerCase();return e.includes(t)?z_.has(t)?!!H_.test(n.nodeValue):!0:e.filter(r=>r instanceof RegExp).some(r=>r.test(t))};function W_(n,e,t){if(!n.length)return n;if(t&&typeof t=="function")return t(n);const o=new window.DOMParser().parseFromString(n,"text/html"),s=[].concat(...o.body.querySelectorAll("*"));for(const i of s){const l=i.nodeName.toLowerCase();if(!Object.keys(e).includes(l)){i.remove();continue}const a=[].concat(...i.attributes),u=[].concat(e["*"]||[],e[l]||[]);for(const d of a)j_(d,u)||i.removeAttribute(d.nodeName)}return o.body.innerHTML}const K_="TemplateFactory",Y_={allowList:D0,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},G_={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Q_={entry:"(string|element|function|null)",selector:"(string|element)"};class Z_ extends js{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return Y_}static get DefaultType(){return G_}static get NAME(){return K_}getContent(){return Object.values(this._config.content).map(e=>this._resolvePossibleFunction(e)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){const e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(const[o,s]of Object.entries(this._config.content))this._setContent(e,s,o);const t=e.children[0],r=this._resolvePossibleFunction(this._config.extraClass);return r&&t.classList.add(...r.split(" ")),t}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[t,r]of Object.entries(e))super._typeCheckConfig({selector:t,entry:r},Q_)}_setContent(e,t,r){const o=Me.findOne(r,e);if(o){if(t=this._resolvePossibleFunction(t),!t){o.remove();return}if(zn(t)){this._putElementInTemplate(vr(t),o);return}if(this._config.html){o.innerHTML=this._maybeSanitize(t);return}o.textContent=t}}_maybeSanitize(e){return this._config.sanitize?W_(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return Pt(e,[this])}_putElementInTemplate(e,t){if(this._config.html){t.innerHTML="",t.append(e);return}t.textContent=e.textContent}}const J_="tooltip",X_=new Set(["sanitize","allowList","sanitizeFn"]),Qu="fade",q_="modal",tl="show",ek=".tooltip-inner",R0=`.${q_}`,B0="hide.bs.modal",Qs="hover",Zu="focus",tk="click",nk="manual",rk="hide",ok="hidden",sk="show",ik="shown",ak="inserted",lk="click",ck="focusin",uk="focusout",dk="mouseenter",fk="mouseleave",hk={AUTO:"auto",TOP:"top",RIGHT:en()?"left":"right",BOTTOM:"bottom",LEFT:en()?"right":"left"},pk={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"},mk={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 Mn extends mn{constructor(e,t){if(typeof q1>"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 pk}static get DefaultType(){return mk}static get NAME(){return J_}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),ce.off(this._element.closest(R0),B0,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=ce.trigger(this._element,this.constructor.eventName(sk)),r=(Wm(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!r)return;this._disposePopper();const o=this._getTipElement();this._element.setAttribute("aria-describedby",o.getAttribute("id"));const{container:s}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(s.append(o),ce.trigger(this._element,this.constructor.eventName(ak))),this._popper=this._createPopper(o),o.classList.add(tl),"ontouchstart"in document.documentElement)for(const l of[].concat(...document.body.children))ce.on(l,"mouseover",ja);const i=()=>{ce.trigger(this._element,this.constructor.eventName(ik)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(i,this.tip,this._isAnimated())}hide(){if(!this._isShown()||ce.trigger(this._element,this.constructor.eventName(rk)).defaultPrevented)return;if(this._getTipElement().classList.remove(tl),"ontouchstart"in document.documentElement)for(const o of[].concat(...document.body.children))ce.off(o,"mouseover",ja);this._activeTrigger[tk]=!1,this._activeTrigger[Zu]=!1,this._activeTrigger[Qs]=!1,this._isHovered=null;const r=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),ce.trigger(this._element,this.constructor.eventName(ok)))};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(Qu,tl),t.classList.add(`bs-${this.constructor.NAME}-auto`);const r=uT(this.constructor.NAME).toString();return t.setAttribute("id",r),this._isAnimated()&&t.classList.add(Qu),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new Z_({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[ek]: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(Qu)}_isShown(){return this.tip&&this.tip.classList.contains(tl)}_createPopper(e){const t=Pt(this._config.placement,[this,e,this._element]),r=hk[t.toUpperCase()];return na(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 Pt(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,...Pt(this._config.popperConfig,[t])}}_setListeners(){const e=this._config.trigger.split(" ");for(const t of e)if(t==="click")ce.on(this._element,this.constructor.eventName(lk),this._config.selector,r=>{this._initializeOnDelegatedTarget(r).toggle()});else if(t!==nk){const r=t===Qs?this.constructor.eventName(dk):this.constructor.eventName(ck),o=t===Qs?this.constructor.eventName(fk):this.constructor.eventName(uk);ce.on(this._element,r,this._config.selector,s=>{const i=this._initializeOnDelegatedTarget(s);i._activeTrigger[s.type==="focusin"?Zu:Qs]=!0,i._enter()}),ce.on(this._element,o,this._config.selector,s=>{const i=this._initializeOnDelegatedTarget(s);i._activeTrigger[s.type==="focusout"?Zu:Qs]=i._element.contains(s.relatedTarget),i._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},ce.on(this._element.closest(R0),B0,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=Hn.getDataAttributes(this._element);for(const r of Object.keys(t))X_.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:vr(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=Mn.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e]()}})}}tn(Mn);const gk="popover",yk=".popover-header",vk=".popover-body",Ek={...Mn.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"},Ck={...Mn.DefaultType,content:"(null|string|element|function)"};class no extends Mn{static get Default(){return Ek}static get DefaultType(){return Ck}static get NAME(){return gk}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[yk]:this._getTitle(),[vk]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each(function(){const t=no.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e]()}})}}tn(no);const Ak="scrollspy",Ju=".bs.scrollspy",bk=".data-api",wk=`activate${Ju}`,P0=`click${Ju}`,Tk=`load${Ju}${bk}`,Sk="dropdown-item",Go="active",_k='[data-bs-spy="scroll"]',Xu="[href]",kk=".nav, .list-group",F0=".nav-link",Nk=`${F0}, .nav-item > ${F0}, .list-group-item`,Ik=".dropdown",xk=".dropdown-toggle",Mk={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Ok={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class nl extends mn{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 Mk}static get DefaultType(){return Ok}static get NAME(){return Ak}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=vr(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&&(ce.off(this._config.target,P0),ce.on(this._config.target,P0,Xu,e=>{const t=this._observableSections.get(e.target.hash);if(t){e.preventDefault();const r=this._rootElement||window,o=t.offsetTop-this._element.offsetTop;if(r.scrollTo){r.scrollTo({top:o,behavior:"smooth"});return}r.scrollTop=o}}))}_getNewObserver(){const e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(t=>this._observerCallback(t),e)}_observerCallback(e){const t=i=>this._targetLinks.get(`#${i.target.id}`),r=i=>{this._previousScrollData.visibleEntryTop=i.target.offsetTop,this._process(t(i))},o=(this._rootElement||document.documentElement).scrollTop,s=o>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=o;for(const i of e){if(!i.isIntersecting){this._activeTarget=null,this._clearActiveClass(t(i));continue}const l=i.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(s&&l){if(r(i),!o)return;continue}!s&&!l&&r(i)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=Me.find(Xu,this._config.target);for(const t of e){if(!t.hash||Er(t))continue;const r=Me.findOne(decodeURI(t.hash),this._element);zo(r)&&(this._targetLinks.set(decodeURI(t.hash),t),this._observableSections.set(t.hash,r))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(Go),this._activateParents(e),ce.trigger(this._element,wk,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains(Sk)){Me.findOne(xk,e.closest(Ik)).classList.add(Go);return}for(const t of Me.parents(e,kk))for(const r of Me.prev(t,Nk))r.classList.add(Go)}_clearActiveClass(e){e.classList.remove(Go);const t=Me.find(`${Xu}.${Go}`,e);for(const r of t)r.classList.remove(Go)}static jQueryInterface(e){return this.each(function(){const t=nl.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]()}})}}ce.on(window,Tk,()=>{for(const n of Me.find(_k))nl.getOrCreateInstance(n)}),tn(nl);const Lk="tab",ro=".bs.tab",Dk=`hide${ro}`,Rk=`hidden${ro}`,Bk=`show${ro}`,Pk=`shown${ro}`,Fk=`click${ro}`,Vk=`keydown${ro}`,$k=`load${ro}`,Uk="ArrowLeft",V0="ArrowRight",zk="ArrowUp",$0="ArrowDown",oo="active",U0="fade",qu="show",Hk="dropdown",jk=".dropdown-toggle",Wk=".dropdown-menu",ed=":not(.dropdown-toggle)",Kk='.list-group, .nav, [role="tablist"]',Yk=".nav-item, .list-group-item",Gk=`.nav-link${ed}, .list-group-item${ed}, [role="tab"]${ed}`,z0='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',td=`${Gk}, ${z0}`,Qk=`.${oo}[data-bs-toggle="tab"], .${oo}[data-bs-toggle="pill"], .${oo}[data-bs-toggle="list"]`;class Qo extends mn{constructor(e){super(e),this._parent=this._element.closest(Kk),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),ce.on(this._element,Vk,t=>this._keydown(t)))}static get NAME(){return Lk}show(){const e=this._element;if(this._elemIsActive(e))return;const t=this._getActiveElem(),r=t?ce.trigger(t,Dk,{relatedTarget:e}):null;ce.trigger(e,Bk,{relatedTarget:t}).defaultPrevented||r&&r.defaultPrevented||(this._deactivate(t,e),this._activate(e,t))}_activate(e,t){if(!e)return;e.classList.add(oo),this._activate(Me.getElementFromSelector(e));const r=()=>{if(e.getAttribute("role")!=="tab"){e.classList.add(qu);return}e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),ce.trigger(e,Pk,{relatedTarget:t})};this._queueCallback(r,e,e.classList.contains(U0))}_deactivate(e,t){if(!e)return;e.classList.remove(oo),e.blur(),this._deactivate(Me.getElementFromSelector(e));const r=()=>{if(e.getAttribute("role")!=="tab"){e.classList.remove(qu);return}e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),ce.trigger(e,Rk,{relatedTarget:t})};this._queueCallback(r,e,e.classList.contains(U0))}_keydown(e){if(![Uk,V0,zk,$0].includes(e.key))return;e.stopPropagation(),e.preventDefault();const t=[V0,$0].includes(e.key),r=Pu(this._getChildren().filter(o=>!Er(o)),e.target,t,!0);r&&(r.focus({preventScroll:!0}),Qo.getOrCreateInstance(r).show())}_getChildren(){return Me.find(td,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=Me.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=(s,i)=>{const l=Me.findOne(s,r);l&&l.classList.toggle(i,t)};o(jk,oo),o(Wk,qu),r.setAttribute("aria-expanded",t)}_setAttributeIfNotExists(e,t,r){e.hasAttribute(t)||e.setAttribute(t,r)}_elemIsActive(e){return e.classList.contains(oo)}_getInnerElement(e){return e.matches(td)?e:Me.findOne(td,e)}_getOuterElement(e){return e.closest(Yk)||e}static jQueryInterface(e){return this.each(function(){const t=Qo.getOrCreateInstance(this);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()}})}}ce.on(document,Fk,z0,function(n){["A","AREA"].includes(this.tagName)&&n.preventDefault(),!Er(this)&&Qo.getOrCreateInstance(this).show()}),ce.on(window,$k,()=>{for(const n of Me.find(Qk))Qo.getOrCreateInstance(n)}),tn(Qo);const Zk="toast",wr=".bs.toast",Jk=`mouseover${wr}`,Xk=`mouseout${wr}`,qk=`focusin${wr}`,eN=`focusout${wr}`,tN=`hide${wr}`,nN=`hidden${wr}`,rN=`show${wr}`,oN=`shown${wr}`,sN="fade",H0="hide",rl="show",ol="showing",iN={animation:"boolean",autohide:"boolean",delay:"number"},aN={animation:!0,autohide:!0,delay:5e3};class Zo extends mn{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return aN}static get DefaultType(){return iN}static get NAME(){return Zk}show(){if(ce.trigger(this._element,rN).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(sN);const t=()=>{this._element.classList.remove(ol),ce.trigger(this._element,oN),this._maybeScheduleHide()};this._element.classList.remove(H0),Hs(this._element),this._element.classList.add(rl,ol),this._queueCallback(t,this._element,this._config.animation)}hide(){if(!this.isShown()||ce.trigger(this._element,tN).defaultPrevented)return;const t=()=>{this._element.classList.add(H0),this._element.classList.remove(ol,rl),ce.trigger(this._element,nN)};this._element.classList.add(ol),this._queueCallback(t,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(rl),super.dispose()}isShown(){return this._element.classList.contains(rl)}_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(){ce.on(this._element,Jk,e=>this._onInteraction(e,!0)),ce.on(this._element,Xk,e=>this._onInteraction(e,!1)),ce.on(this._element,qk,e=>this._onInteraction(e,!0)),ce.on(this._element,eN,e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const t=Zo.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e](this)}})}}Wa(Zo),tn(Zo);function j0(n,e){return e.value||n.getAttribute("title")||""}const Zs={mounted:(n,e)=>{const t=j0(n,e);t&&n.setAttribute("title",t),new Mn(n)},updated:(n,e)=>{const t=Mn.getInstance(n);t&&t.dispose();const r=j0(n,e);r&&n.setAttribute("title",r),new Mn(n)},unmounted:n=>{const e=Mn.getInstance(n);e&&e.dispose()}},lN={key:0,class:"pills-list__wrapper"},cN={class:"pills-list__ul"},uN={class:"bd-markdown-editor__menu-bottom"},dN={key:0,class:"vr"},W0=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:Lu.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=Dr(t,"modelValue",e),s=[Zb,Jb,Xb,bw.configure({placeholder:t.placeholder}),Vw,Aw.configure({openOnClick:!1,validate:P=>/^(https?:\/\/|www\.)/i.test(P)})];t.variant===Lu.FULL&&s.push(kw,Ow,Lw,Dw,Bw,Fw);const i=Qb({content:o.value,extensions:s,onUpdate:({editor:P})=>{const{view:Y,state:G}=P,{from:K,to:H}=Y.state.selection;if(G.doc.textBetween(K-1,H,"")==" "&&P.getAttributes("link").href!=null&&P.chain().setTextSelection({from:K-1,to:H}).toggleLink({href:P.getAttributes("link").href}).setTextSelection({from:H,to:H}).run(),P.getText().trim()===""){e("update:modelValue","");return}e("update:modelValue",P.getHTML())}});c.watch(()=>t.modelValue,P=>{i.value.getHTML()!==P&&i.value.commands.setContent(P,!0,{preserveWhitespace:"full"})});const l=c.computed(()=>t.state===!1?"is-invalid":null),a=c.computed(()=>g("bold")),u=c.computed(()=>g("italic")),d=c.computed(()=>g("underline")),f=c.computed(()=>g("bulletList")),h=c.computed(()=>g("orderedList")),p=c.computed(()=>g("link")),m=c.computed(()=>t.variant===Lu.FULL),g=P=>i.value&&i.value.isActive(P)?"active":null,y=c.computed(()=>t.files&&t.files.length>0?Ha(t.files,!1):null),C=c.computed(()=>t.files&&t.files.length>0?Ha(t.files,!0):null),b=P=>{e("action",{name:"delete-attachment",obj:P})},E=P=>{e("action",{name:"image-attachment",obj:P})},v=c.computed(()=>{if(!i.value)return!1;const{from:P,to:Y}=i.value.state.selection;return P!==Y}),N=c.computed(()=>v.value?"Voeg een link toe":"Selecteer eerst tekst"),w=c.ref(!1),x=c.ref(""),B=c.ref(null),R=()=>{x.value=i.value.getAttributes("link").href||"",w.value=!0},U=P=>{if(w.value=!1,!P){i.value.chain().focus().unsetLink().run();return}/^www\./i.test(P)&&(P=`https://${P}`),i.value.chain().focus().toggleLink({href:P}).run()},$=()=>{w.value=!1};return(P,Y)=>(c.openBlock(),c.createElementBlock(c.Fragment,null,[c.createElementVNode("div",{class:c.normalizeClass(["bd-markdown-editor",l.value])},[c.createVNode(c.unref(Gb),{editor:c.unref(i)},null,8,["editor"]),P.pills?(c.openBlock(),c.createElementBlock("div",lN,[c.createElementVNode("ul",cN,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(P.pills,(G,K)=>(c.openBlock(),c.createElementBlock("li",{key:K,class:"pills-list__li"},[c.createVNode(pi,c.normalizeProps(c.guardReactiveProps(G)),null,16)]))),128))])])):c.createCommentVNode("",!0),c.renderSlot(P.$slots,"default"),y.value?(c.openBlock(),c.createBlock(Ua,{key:1,files:y.value,"no-download":!0,"show-delete":!0,onDelete:b},null,8,["files"])):c.createCommentVNode("",!0),C.value?(c.openBlock(),c.createBlock(za,{key:2,files:C.value,"no-download":!0,"show-delete":!0,onDelete:b,onShow:E},null,8,["files"])):c.createCommentVNode("",!0),c.createElementVNode("div",uN,[c.createVNode(Ze,{variant:"light",type:"button",onClick:r},{default:c.withCtx(()=>[c.createVNode(c.unref(Or))]),_:1}),m.value?(c.openBlock(),c.createElementBlock("div",dN)):c.createCommentVNode("",!0),m.value?(c.openBlock(),c.createBlock(Ze,{key:1,variant:"light",type:"button",class:c.normalizeClass(a.value),onClick:Y[0]||(Y[0]=G=>c.unref(i).chain().focus().toggleBold().run())},{default:c.withCtx(()=>[c.createVNode(c.unref(El))]),_:1},8,["class"])):c.createCommentVNode("",!0),m.value?(c.openBlock(),c.createBlock(Ze,{key:2,variant:"light",type:"button",class:c.normalizeClass(u.value),onClick:Y[1]||(Y[1]=G=>c.unref(i).chain().focus().toggleItalic().run())},{default:c.withCtx(()=>[c.createVNode(c.unref(kl))]),_:1},8,["class"])):c.createCommentVNode("",!0),m.value?(c.openBlock(),c.createBlock(Ze,{key:3,variant:"light",type:"button",class:c.normalizeClass(d.value),onClick:Y[2]||(Y[2]=G=>c.unref(i).chain().focus().toggleUnderline().run())},{default:c.withCtx(()=>[c.createVNode(c.unref(Dl))]),_:1},8,["class"])):c.createCommentVNode("",!0),m.value?(c.openBlock(),c.createBlock(Ze,{key:4,variant:"light",type:"button",class:c.normalizeClass(f.value),onClick:Y[3]||(Y[3]=G=>c.unref(i).chain().focus().toggleBulletList().run())},{default:c.withCtx(()=>[c.createVNode(c.unref(Cl))]),_:1},8,["class"])):c.createCommentVNode("",!0),m.value?(c.openBlock(),c.createBlock(Ze,{key:5,variant:"light",type:"button",class:c.normalizeClass(h.value),onClick:Y[4]||(Y[4]=G=>c.unref(i).chain().focus().toggleOrderedList().run())},{default:c.withCtx(()=>[c.createVNode(c.unref(Il))]),_:1},8,["class"])):c.createCommentVNode("",!0),c.withDirectives((c.openBlock(),c.createElementBlock("span",null,[m.value?(c.openBlock(),c.createBlock(Ze,{key:0,ref_key:"linkButton",ref:B,variant:"light",type:"button",class:c.normalizeClass(p.value),onClick:R,disabled:!v.value},{default:c.withCtx(()=>[c.createVNode(c.unref(ai))]),_:1},8,["class","disabled"])):c.createCommentVNode("",!0)])),[[c.unref(Zs),N.value]])]),w.value?(c.openBlock(),c.createBlock(jw,{key:3,previousUrl:x.value,onSubmit:U,onCancel:$},null,8,["previousUrl"])):c.createCommentVNode("",!0)],2),c.createVNode(fi,{text:t.errorText,state:t.state},null,8,["text","state"])],64))}}),fN={class:"header"},hN=c.createElementVNode("div",null,"Menu",-1),pN={class:"icon-close-wrapper"},mN={class:"navbar"},gN={class:"nav navbar-nav w-100"},yN={class:"nav-item"},vN={class:"nav-item"},nd=c.defineComponent({__name:"BDMobileMenu",props:{active:{type:Boolean,default:void 0},options:{}},emits:["hide","signout"],setup(n,{emit:e}){const t=n,r=c.computed(()=>({active:t.active===!0,inactive:t.active===!1})),o=()=>e("hide"),s=()=>e("signout");return(i,l)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(["bd-mobile-menu",r.value])},[c.createElementVNode("div",fN,[hN,c.createElementVNode("div",pN,[c.createVNode(si,{onClick:o})])]),c.createElementVNode("nav",mN,[c.createElementVNode("ul",gN,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(t.options,a=>(c.openBlock(),c.createElementBlock("li",yN,[c.createVNode(Mr,c.mergeProps({class:"nav-link"},a,{onClick:o}),null,16)]))),256)),c.renderSlot(i.$slots,"special-options"),c.createElementVNode("li",vN,[c.createVNode(Mr,{class:"nav-link",text:"Uitloggen",onClick:s})])])])],2))}}),EN={class:"bd-user"},CN={class:"bd-user__information"},AN={class:"text-break"},bN={class:"overflow-x-hidden"},K0=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",EN,[e.hideImage?c.createCommentVNode("",!0):(c.openBlock(),c.createBlock(us,c.mergeProps({key:0},e.img,{size:"sm"}),null,16)),c.createElementVNode("div",CN,[c.createElementVNode("header",null,[c.createElementVNode("h5",AN,c.toDisplayString(e.name),1),c.renderSlot(r.$slots,"header-extra")]),c.createElementVNode("span",bN,c.toDisplayString(t.value),1)])]))}}),wN={class:"bd-chat-cloud-card"},TN={class:"bd-chat-cloud-card__header"},SN={class:"bd-chat-cloud-card__body"},_N=["innerHTML"],kN={class:"bd-chat-cloud-card__footer"},NN={key:0,class:"pills-list__wrapper"},IN={class:"pills-list__ul"},Y0=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":Ve),o=c.computed(()=>Ha(t.files,!1)),s=c.computed(()=>Ha(t.files,!0)),i=()=>{e("action","copy-message")},l=a=>{e("show-attachment",a)};return(a,u)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(["bd-chat-cloud",r.value])},[c.createVNode(us,{src:t.src,username:t.username,size:"sm"},null,8,["src","username"]),c.createElementVNode("div",wN,[c.createElementVNode("div",TN,[c.renderSlot(a.$slots,"header",{},()=>[c.createTextVNode(c.toDisplayString(a.headerTitle),1)]),c.createVNode(Ze,{variant:"outline-primary-dark",size:"sm",onClick:i},{default:c.withCtx(()=>[c.createTextVNode(" kopieer ")]),_:1})]),c.createElementVNode("div",SN,[c.renderSlot(a.$slots,"body",{},()=>[c.createElementVNode("div",{class:"bd-chat-cloud-card__message",innerHTML:t.message},null,8,_N)])]),c.createElementVNode("div",kN,[c.renderSlot(a.$slots,"footer",{},()=>[a.pills?(c.openBlock(),c.createElementBlock("div",NN,[c.createElementVNode("ul",IN,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(a.pills,(d,f)=>(c.openBlock(),c.createElementBlock("li",{key:f,class:"pills-list__li"},[c.createVNode(pi,c.normalizeProps(c.guardReactiveProps(d)),null,16)]))),128))])])):c.createCommentVNode("",!0),o.value&&o.value.length>0?(c.openBlock(),c.createBlock(Ua,{key:1,files:o.value},null,8,["files"])):c.createCommentVNode("",!0),s.value&&s.value.length>0?(c.openBlock(),c.createBlock(za,{key:2,"fast-download":!0,files:s.value,onShow:l},null,8,["files"])):c.createCommentVNode("",!0)])])])],2))}}),xN=c.defineComponent({__name:"BDTableSortHeader",props:["active","label","sortDesc"],emits:["sortAsc","sortDesc"],setup(n,{emit:e}){const t=n,r=c.ref(t.sortDesc),o=()=>{t.active&&(r.value=!r.value)},s=()=>{if(!t.active)return;const l=r.value?"sortDesc":"sortAsc";e(l)},i=c.computed(()=>({"bd-table-sort":!0,active:t.active}));return c.watch(()=>t.active,(l,a)=>{l&&!a&&(r.value=!1,e("sortAsc"))}),s(),(l,a)=>(c.openBlock(),c.createElementBlock("th",{class:c.normalizeClass(i.value),onClick:a[0]||(a[0]=u=>{o(),s()})},[c.createElementVNode("span",null,c.toDisplayString(t.label),1),t.active&&!r.value?(c.openBlock(),c.createBlock(c.unref(xl),{key:0})):t.active&&r.value?(c.openBlock(),c.createBlock(c.unref(Ml),{key:1})):(c.openBlock(),c.createBlock(c.unref(Ol),{key:2}))],2))}}),MN={class:"bd-table"},ON={key:0,class:"table"},LN={key:1},DN=["onClick"],RN={key:0},BN={key:1,class:"empty-text"},G0=c.defineComponent({__name:"BDTable",props:["fields","items","sortBy","sortDesc","tbodyTrClass","emptyText"],emits:["row-click","sort-changed"],setup(n,{expose:e,emit:t}){const r=n,o=c.ref(r.items),s=c.ref(r.sortBy),i=f=>s.value=f,l=(f,h,p)=>{const m=h[f],g=p[f];if(m==null)return 1;if(g==null)return-1;const y=m.toString(),C=g.toString();return y.localeCompare(C,void 0,{numeric:!0})},a=f=>{o.value=o.value.sort((p,m)=>l(f,p,m)),t("sort-changed",{sortBy:f,sortDesc:!1})},u=f=>{o.value=o.value.sort((p,m)=>l(f,m,p)),t("sort-changed",{sortBy:f,sortDesc:!0})},d=()=>{o.value=r.items};return c.watch(()=>r.items,f=>{o.value=f}),e({Refresh:d}),(f,h)=>(c.openBlock(),c.createElementBlock("div",MN,[r.items&&r.items.length>0?(c.openBlock(),c.createElementBlock("table",ON,[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(xN,{key:0,label:p.label,active:p.key==s.value,sortDesc:r.sortDesc,onClick:m=>i(p.key),onSortAsc:m=>a(p.key),onSortDesc:m=>u(p.key)},null,8,["label","active","sortDesc","onClick","onSortAsc","onSortDesc"])):(c.openBlock(),c.createElementBlock("th",LN,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",RN,[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,DN))),256))])])):(c.openBlock(),c.createElementBlock("p",BN,c.toDisplayString(r.emptyText),1))]))}}),PN=["id"],FN={key:0,class:"toast-body__title"},VN={class:"actions"},$N=["textContent"],UN=["textContent"],zN={class:"icon-wrapper"},HN=["textContent"],jN=["textContent"],Q0=3e4,Z0=5e3,J0=c.defineComponent({__name:"BDVideoCallToast",props:{id:{},contactInfoReceiver:{},isSender:{type:Boolean},firstNameSender:{},canceled:{type:Boolean},disabled:{type:Boolean},localization:{}},emits:["reject-video-call","accept-video-call"],setup(n,{emit:e}){const t=n;let r=c.ref(!1),o=c.ref(!1),s=null,i=null;const l=c.computed(()=>{let b="video-call-toast";return t.id&&(b+=`-${t.id}`),b}),a=c.computed(()=>r.value?[r.value?"is-handled":Ve,o.value?"is-handled--success":Ve,t.canceled?"is-handled--canceled":Ve].join(" "):Ve),u=c.computed(()=>t.canceled?t.localization.videoCallCanceled:o.value?t.localization.videoCallAccepted:t.localization.videoCallRejected),d=c.computed(()=>t.canceled?`${t.firstNameSender}${t.localization.notifyCallerWhenCanceled}`:t.isSender?t.contactInfoReceiver?`${t.contactInfoReceiver.name}${t.localization.notifyCallerWhenRejected}`:t.localization.notifyCallerWhenRejected:o.value?t.localization.openNewTabWhenAccepted:`${t.localization.notifyReceiverWhenRejected.start}${t.firstNameSender}${t.localization.notifyReceiverWhenRejected.end}`.replace(/\s\s+/g," "));c.watch(()=>t.canceled,()=>{r.value=!0});const f=()=>{const b=l.value,E=document.querySelector(`#${b}`);if(E){E.addEventListener("hide.bs.toast",C);var v={autohide:!0,delay:Q0+Z0};i=Zo.getOrCreateInstance(E,v),i.show(),s=window.setTimeout(h,Q0)}};c.onMounted(f);const h=()=>{r.value||m()},p=()=>{m(),y()},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),y()},y=()=>{window.clearTimeout(s),window.setTimeout(()=>i.hide(),Z0)},C=()=>{r.value=!1,o.value=!1};return(b,E)=>(c.openBlock(),c.createElementBlock("div",{id:l.value,class:"toast bd-video-call-toast",role:"alert","aria-live":"assertive","aria-atomic":"true"},[c.unref(r)?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",FN,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",zN,[c.createVNode(oi)]),c.createElementVNode("div",null,[c.createElementVNode("p",{textContent:c.toDisplayString(u.value),class:"title"},null,8,HN),c.createElementVNode("p",{textContent:c.toDisplayString(d.value)},null,8,jN)])],64)):(c.openBlock(),c.createElementBlock(c.Fragment,{key:0},[c.createVNode($l,{value:b.contactInfoReceiver},null,8,["value"]),c.createElementVNode("div",VN,[c.createVNode(Ze,{variant:"danger",class:"text-center",onClick:p},{default:c.withCtx(()=>[c.createVNode(Al),c.createElementVNode("span",{textContent:c.toDisplayString(t.localization.rejectVideoCall)},null,8,$N)]),_:1}),c.createVNode(Ze,{variant:"success",class:"text-center",onClick:g},{default:c.withCtx(()=>[c.createVNode(oi),c.createElementVNode("span",{textContent:c.toDisplayString(t.localization.acceptVideoCall)},null,8,UN)]),_:1})])],64))],2)],8,PN))}}),rd=c.defineComponent({__name:"BDDropdown",props:{size:{default:At.MD},variant:{default:li.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}=fo(),r=`__BD__DROPDOWN__${t.value}`,o=c.computed(()=>({class:{btn:e.toggleTag==="button",[`btn-${e.variant}`]:e.toggleTag==="button"&&e.variant,[`btn-${e.size}`]:e.toggleTag==="button"&&e.size,[`${e.toggleClass}`]:e.toggleClass!==void 0,"dropdown-toggle-action":e.actionToggle},"data-bs-display":e.noFlip?"static":null,"data-bs-offset":e.offset?e.offset:null,id:r})),s=c.computed(()=>({"dropdown-menu-end":e.right,"dropdown-menu-action":e.actionToggle})),i=c.computed(()=>({"aria-labelledby":r})),l=c.ref(),a=c.ref(),u=()=>{l.value.classList.remove("show"),a.value.classList.remove("show"),a.value.removeAttribute("aria-expanded")};return(d,f)=>(c.openBlock(),c.createElementBlock("div",{class:"bd-dropdown dropdown",onClick:f[0]||(f[0]=c.withModifiers(()=>{},["stop"]))},[(c.openBlock(),c.createBlock(c.resolveDynamicComponent(e.toggleTag),c.mergeProps({ref_key:"dropdownToggle",ref:a,class:"dropdown-toggle",target:"_self",role:"button","data-bs-toggle":"dropdown"},o.value),{default:c.withCtx(()=>[c.createElementVNode("span",null,c.toDisplayString(e.text),1)]),_:1},16)),c.createElementVNode("ul",c.mergeProps({ref_key:"dropdownMenu",ref:l,class:["dropdown-menu",s.value]},i.value,{onClick:u}),[c.renderSlot(d.$slots,"default")],16)]))}}),WN={class:"row bd-header"},KN={class:"col logo-mix"},YN=["src"],GN=c.createElementVNode("div",null,"Menu",-1),QN={key:1,class:"col header-options"},ZN={class:"col bd-btn-settings"},JN={key:2},od=c.defineComponent({__name:"BDHeader",props:{isEmbedded:{type:Boolean},dropdownMenuTitle:{},dropdownOptions:{},headerOptions:{},profileImageSrc:{},profileImageAlt:{},organizationLogoSrc:{},hasLogoutOption:{type:Boolean,default:!0}},emits:["click-logo","signout"],setup(n,{emit:e}){const t=n,r=c.computed(()=>{let d=[];return t.isEmbedded||(t.headerOptions&&(d=d.concat(t.headerOptions)),t.dropdownOptions&&(d=d.concat(t.dropdownOptions))),d}),o=c.computed(()=>!t.isEmbedded&&t.headerOptions&&t.headerOptions.length!==0),s=c.ref(void 0),i=()=>{t.isEmbedded||e("click-logo")},l=()=>e("signout"),a=()=>s.value=!0,u=()=>s.value=!1;return(d,f)=>(c.openBlock(),c.createElementBlock(c.Fragment,null,[c.createElementVNode("nav",WN,[c.createElementVNode("div",KN,[c.createVNode(vl,{viewBox:"0 0 351 61",class:"logo bd-logo",onClick:i}),t.organizationLogoSrc?(c.openBlock(),c.createElementBlock("img",{key:0,class:"logo organization-logo",src:t.organizationLogoSrc,alt:""},null,8,YN)):c.createCommentVNode("",!0)]),t.isEmbedded?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",{key:0,class:"col bd-hamburger",onClick:a},[GN,c.createVNode(Nl)])),o.value?(c.openBlock(),c.createElementBlock("div",QN,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(t.headerOptions,h=>(c.openBlock(),c.createBlock(Ze,{class:"btn-header",to:h.to,variant:"neutral"},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(h.text),1)]),_:2},1032,["to"]))),256))])):c.createCommentVNode("",!0),c.createElementVNode("div",ZN,[t.isEmbedded?c.createCommentVNode("",!0):c.renderSlot(d.$slots,"profile-side",{key:0}),t.profileImageSrc?(c.openBlock(),c.createBlock(us,{key:1,src:t.profileImageSrc,alt:t.profileImageAlt,size:"sm"},null,8,["src","alt"])):c.createCommentVNode("",!0),t.isEmbedded?(c.openBlock(),c.createElementBlock("span",JN,c.toDisplayString(t.dropdownMenuTitle),1)):c.createCommentVNode("",!0),t.isEmbedded?c.createCommentVNode("",!0):(c.openBlock(),c.createBlock(rd,{key:3,text:t.dropdownMenuTitle,variant:"primary",toggleTag:"a",right:!0},{default:c.withCtx(()=>[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(t.dropdownOptions,(h,p)=>(c.openBlock(),c.createBlock(mi,c.mergeProps({key:p},h),null,16))),128)),t.hasLogoutOption?(c.openBlock(),c.createBlock(mi,{key:0,text:"Uitloggen",onClick:l})):c.createCommentVNode("",!0)]),_:1},8,["text"]))])]),t.isEmbedded?c.createCommentVNode("",!0):(c.openBlock(),c.createBlock(nd,{key:0,active:s.value,options:r.value,onHide:u,onSignout:l},{"special-options":c.withCtx(()=>[c.renderSlot(d.$slots,"mobile-menu-special-options")]),_:3},8,["active","options"]))],64))}});/*!
|
|
183
183
|
* shared v9.14.4
|
|
184
184
|
* (c) 2025 kazuya kawaguchi
|
|
185
185
|
* Released under the MIT License.
|
|
186
|
-
*/const Wn=typeof window<"u";let Kt,so;if(process.env.NODE_ENV!=="production"){const n=Wn&&window.performance;n&&n.mark&&n.measure&&n.clearMarks&&n.clearMeasures&&(Kt=e=>{n.mark(e)},so=(e,t,r)=>{n.measure(e,t,r),n.clearMarks(t),n.clearMarks(r)})}const
|
|
187
|
-
`)}function
|
|
186
|
+
*/const Wn=typeof window<"u";let Kt,so;if(process.env.NODE_ENV!=="production"){const n=Wn&&window.performance;n&&n.mark&&n.measure&&n.clearMarks&&n.clearMeasures&&(Kt=e=>{n.mark(e)},so=(e,t,r)=>{n.measure(e,t,r),n.clearMarks(t),n.clearMarks(r)})}const XN=/\{([0-9a-zA-Z]+)\}/g;function sd(n,...e){return e.length===1&&je(e[0])&&(e=e[0]),(!e||!e.hasOwnProperty)&&(e={}),n.replace(XN,(t,r)=>e.hasOwnProperty(r)?e[r]:"")}const Kn=(n,e=!1)=>e?Symbol.for(n):Symbol(n),qN=(n,e,t)=>eI({l:n,k:e,s:t}),eI=n=>JSON.stringify(n).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),ut=n=>typeof n=="number"&&isFinite(n),tI=n=>t2(n)==="[object Date]",Jo=n=>t2(n)==="[object RegExp]",sl=n=>He(n)&&Object.keys(n).length===0,Ct=Object.assign,nI=Object.create,Ke=(n=null)=>nI(n);let X0;const Yn=()=>X0||(X0=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:Ke());function q0(n){return n.replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}const rI=Object.prototype.hasOwnProperty;function gn(n,e){return rI.call(n,e)}const st=Array.isArray,Qe=n=>typeof n=="function",_e=n=>typeof n=="string",Ge=n=>typeof n=="boolean",je=n=>n!==null&&typeof n=="object",oI=n=>je(n)&&Qe(n.then)&&Qe(n.catch),e2=Object.prototype.toString,t2=n=>e2.call(n),He=n=>{if(!je(n))return!1;const e=Object.getPrototypeOf(n);return e===null||e.constructor===Object},sI=n=>n==null?"":st(n)||He(n)&&n.toString===e2?JSON.stringify(n,null,2):String(n);function iI(n,e=""){return n.reduce((t,r,o)=>o===0?t+r:t+e+r,"")}const n2=2;function aI(n,e=0,t=n.length){const r=n.split(/\r?\n/);let o=0;const s=[];for(let i=0;i<r.length;i++)if(o+=r[i].length+1,o>=e){for(let l=i-n2;l<=i+n2||t>o;l++){if(l<0||l>=r.length)continue;const a=l+1;s.push(`${a}${" ".repeat(3-String(a).length)}| ${r[l]}`);const u=r[l].length;if(l===i){const d=e-(o-u)+1,f=Math.max(1,t>o?u-d:t-e);s.push(" | "+" ".repeat(d)+"^".repeat(f))}else if(l>i){if(t>o){const d=Math.max(Math.min(t-o,u),1);s.push(" | "+"^".repeat(d))}o+=u+1}}break}return s.join(`
|
|
187
|
+
`)}function il(n){let e=n;return()=>++e}function Gn(n,e){typeof console<"u"&&(console.warn("[intlify] "+n),e&&console.warn(e.stack))}const r2={};function o2(n){r2[n]||(r2[n]=!0,Gn(n))}function lI(){const n=new Map;return{events:n,on(t,r){const o=n.get(t);o&&o.push(r)||n.set(t,[r])},off(t,r){const o=n.get(t);o&&o.splice(o.indexOf(r)>>>0,1)},emit(t,r){(n.get(t)||[]).slice().map(o=>o(r)),(n.get("*")||[]).slice().map(o=>o(t,r))}}}const al=n=>!je(n)||st(n);function ll(n,e){if(al(n)||al(e))throw new Error("Invalid value");const t=[{src:n,des:e}];for(;t.length;){const{src:r,des:o}=t.pop();Object.keys(r).forEach(s=>{s!=="__proto__"&&(je(r[s])&&!je(o[s])&&(o[s]=Array.isArray(r[s])?[]:Ke()),al(o[s])||al(r[s])?o[s]=r[s]:t.push({src:r[s],des:o[s]}))})}}/*!
|
|
188
188
|
* message-compiler v9.14.4
|
|
189
189
|
* (c) 2025 kazuya kawaguchi
|
|
190
190
|
* Released under the MIT License.
|
|
191
|
-
*/function
|
|
192
|
-
`,vI=String.fromCharCode(8232),EI=String.fromCharCode(8233);function CI(n){const e=n;let t=0,r=1,o=1,s=0;const i=x=>e[x]===yI&&e[x+1]===It,l=x=>e[x]===It,a=x=>e[x]===EI,u=x=>e[x]===vI,d=x=>i(x)||l(x)||a(x)||u(x),f=()=>t,h=()=>r,p=()=>o,m=()=>s,g=x=>i(x)||a(x)||u(x)?It:e[x],y=()=>g(t),C=()=>g(t+s);function w(){return s=0,d(t)&&(r++,o=0),i(t)&&t++,t++,o++,e[t]}function E(){return i(t+s)&&s++,s++,e[t+s]}function v(){t=0,r=1,o=1,s=0}function N(x=0){s=x}function b(){const x=t+s;for(;x!==t;)w();s=0}return{index:f,line:h,column:p,peekOffset:m,charAt:g,currentChar:y,currentPeek:C,next:w,peek:E,reset:v,resetPeek:N,skipToPeek:b}}const Tr=void 0,AI=".",c2="'",bI="tokenizer";function wI(n,e={}){const t=e.location!==!1,r=CI(n),o=()=>r.index(),s=()=>lI(r.line(),r.column(),r.index()),i=s(),l=o(),a={currentType:14,offset:l,startLoc:i,endLoc:i,lastType:14,lastOffset:l,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},u=()=>a,{onError:d}=e;function f(S,_,V,...Q){const ae=u();if(_.column+=V,_.offset+=V,d){const pe=t?ll(ae.startLoc,_):null,Te=Xo(S,pe,{domain:bI,args:Q});d(Te)}}function h(S,_,V){S.endLoc=s(),S.currentType=_;const Q={type:_};return t&&(Q.loc=ll(S.startLoc,S.endLoc)),V!=null&&(Q.value=V),Q}const p=S=>h(S,14);function m(S,_){return S.currentChar()===_?(S.next(),_):(f(De.EXPECTED_TOKEN,s(),0,_),"")}function g(S){let _="";for(;S.currentPeek()===Qn||S.currentPeek()===It;)_+=S.currentPeek(),S.peek();return _}function y(S){const _=g(S);return S.skipToPeek(),_}function C(S){if(S===Tr)return!1;const _=S.charCodeAt(0);return _>=97&&_<=122||_>=65&&_<=90||_===95}function w(S){if(S===Tr)return!1;const _=S.charCodeAt(0);return _>=48&&_<=57}function E(S,_){const{currentType:V}=_;if(V!==2)return!1;g(S);const Q=C(S.currentPeek());return S.resetPeek(),Q}function v(S,_){const{currentType:V}=_;if(V!==2)return!1;g(S);const Q=S.currentPeek()==="-"?S.peek():S.currentPeek(),ae=w(Q);return S.resetPeek(),ae}function N(S,_){const{currentType:V}=_;if(V!==2)return!1;g(S);const Q=S.currentPeek()===c2;return S.resetPeek(),Q}function b(S,_){const{currentType:V}=_;if(V!==8)return!1;g(S);const Q=S.currentPeek()===".";return S.resetPeek(),Q}function x(S,_){const{currentType:V}=_;if(V!==9)return!1;g(S);const Q=C(S.currentPeek());return S.resetPeek(),Q}function B(S,_){const{currentType:V}=_;if(!(V===8||V===12))return!1;g(S);const Q=S.currentPeek()===":";return S.resetPeek(),Q}function R(S,_){const{currentType:V}=_;if(V!==10)return!1;const Q=()=>{const pe=S.currentPeek();return pe==="{"?C(S.peek()):pe==="@"||pe==="%"||pe==="|"||pe===":"||pe==="."||pe===Qn||!pe?!1:pe===It?(S.peek(),Q()):P(S,!1)},ae=Q();return S.resetPeek(),ae}function U(S){g(S);const _=S.currentPeek()==="|";return S.resetPeek(),_}function $(S){const _=g(S),V=S.currentPeek()==="%"&&S.peek()==="{";return S.resetPeek(),{isModulo:V,hasSpace:_.length>0}}function P(S,_=!0){const V=(ae=!1,pe="",Te=!1)=>{const q=S.currentPeek();return q==="{"?pe==="%"?!1:ae:q==="@"||!q?pe==="%"?!0:ae:q==="%"?(S.peek(),V(ae,"%",!0)):q==="|"?pe==="%"||Te?!0:!(pe===Qn||pe===It):q===Qn?(S.peek(),V(!0,Qn,Te)):q===It?(S.peek(),V(!0,It,Te)):!0},Q=V();return _&&S.resetPeek(),Q}function Y(S,_){const V=S.currentChar();return V===Tr?Tr:_(V)?(S.next(),V):null}function G(S){const _=S.charCodeAt(0);return _>=97&&_<=122||_>=65&&_<=90||_>=48&&_<=57||_===95||_===36}function K(S){return Y(S,G)}function H(S){const _=S.charCodeAt(0);return _>=97&&_<=122||_>=65&&_<=90||_>=48&&_<=57||_===95||_===36||_===45}function J(S){return Y(S,H)}function z(S){const _=S.charCodeAt(0);return _>=48&&_<=57}function ee(S){return Y(S,z)}function re(S){const _=S.charCodeAt(0);return _>=48&&_<=57||_>=65&&_<=70||_>=97&&_<=102}function ue(S){return Y(S,re)}function ge(S){let _="",V="";for(;_=ee(S);)V+=_;return V}function Ee(S){y(S);const _=S.currentChar();return _!=="%"&&f(De.EXPECTED_TOKEN,s(),0,_),S.next(),"%"}function Se(S){let _="";for(;;){const V=S.currentChar();if(V==="{"||V==="}"||V==="@"||V==="|"||!V)break;if(V==="%")if(P(S))_+=V,S.next();else break;else if(V===Qn||V===It)if(P(S))_+=V,S.next();else{if(U(S))break;_+=V,S.next()}else _+=V,S.next()}return _}function ke(S){y(S);let _="",V="";for(;_=J(S);)V+=_;return S.currentChar()===Tr&&f(De.UNTERMINATED_CLOSING_BRACE,s(),0),V}function xe(S){y(S);let _="";return S.currentChar()==="-"?(S.next(),_+=`-${ge(S)}`):_+=ge(S),S.currentChar()===Tr&&f(De.UNTERMINATED_CLOSING_BRACE,s(),0),_}function Ae(S){return S!==c2&&S!==It}function O(S){y(S),m(S,"'");let _="",V="";for(;_=Y(S,Ae);)_==="\\"?V+=D(S):V+=_;const Q=S.currentChar();return Q===It||Q===Tr?(f(De.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,s(),0),Q===It&&(S.next(),m(S,"'")),V):(m(S,"'"),V)}function D(S){const _=S.currentChar();switch(_){case"\\":case"'":return S.next(),`\\${_}`;case"u":return I(S,_,4);case"U":return I(S,_,6);default:return f(De.UNKNOWN_ESCAPE_SEQUENCE,s(),0,_),""}}function I(S,_,V){m(S,_);let Q="";for(let ae=0;ae<V;ae++){const pe=ue(S);if(!pe){f(De.INVALID_UNICODE_ESCAPE_SEQUENCE,s(),0,`\\${_}${Q}${S.currentChar()}`);break}Q+=pe}return`\\${_}${Q}`}function L(S){return S!=="{"&&S!=="}"&&S!==Qn&&S!==It}function A(S){y(S);let _="",V="";for(;_=Y(S,L);)V+=_;return V}function T(S){let _="",V="";for(;_=K(S);)V+=_;return V}function k(S){const _=V=>{const Q=S.currentChar();return Q==="{"||Q==="%"||Q==="@"||Q==="|"||Q==="("||Q===")"||!Q||Q===Qn?V:(V+=Q,S.next(),_(V))};return _("")}function M(S){y(S);const _=m(S,"|");return y(S),_}function j(S,_){let V=null;switch(S.currentChar()){case"{":return _.braceNest>=1&&f(De.NOT_ALLOW_NEST_PLACEHOLDER,s(),0),S.next(),V=h(_,2,"{"),y(S),_.braceNest++,V;case"}":return _.braceNest>0&&_.currentType===2&&f(De.EMPTY_PLACEHOLDER,s(),0),S.next(),V=h(_,3,"}"),_.braceNest--,_.braceNest>0&&y(S),_.inLinked&&_.braceNest===0&&(_.inLinked=!1),V;case"@":return _.braceNest>0&&f(De.UNTERMINATED_CLOSING_BRACE,s(),0),V=W(S,_)||p(_),_.braceNest=0,V;default:{let ae=!0,pe=!0,Te=!0;if(U(S))return _.braceNest>0&&f(De.UNTERMINATED_CLOSING_BRACE,s(),0),V=h(_,1,M(S)),_.braceNest=0,_.inLinked=!1,V;if(_.braceNest>0&&(_.currentType===5||_.currentType===6||_.currentType===7))return f(De.UNTERMINATED_CLOSING_BRACE,s(),0),_.braceNest=0,Z(S,_);if(ae=E(S,_))return V=h(_,5,ke(S)),y(S),V;if(pe=v(S,_))return V=h(_,6,xe(S)),y(S),V;if(Te=N(S,_))return V=h(_,7,O(S)),y(S),V;if(!ae&&!pe&&!Te)return V=h(_,13,A(S)),f(De.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,V.value),y(S),V;break}}return V}function W(S,_){const{currentType:V}=_;let Q=null;const ae=S.currentChar();switch((V===8||V===9||V===12||V===10)&&(ae===It||ae===Qn)&&f(De.INVALID_LINKED_FORMAT,s(),0),ae){case"@":return S.next(),Q=h(_,8,"@"),_.inLinked=!0,Q;case".":return y(S),S.next(),h(_,9,".");case":":return y(S),S.next(),h(_,10,":");default:return U(S)?(Q=h(_,1,M(S)),_.braceNest=0,_.inLinked=!1,Q):b(S,_)||B(S,_)?(y(S),W(S,_)):x(S,_)?(y(S),h(_,12,T(S))):R(S,_)?(y(S),ae==="{"?j(S,_)||Q:h(_,11,k(S))):(V===8&&f(De.INVALID_LINKED_FORMAT,s(),0),_.braceNest=0,_.inLinked=!1,Z(S,_))}}function Z(S,_){let V={type:14};if(_.braceNest>0)return j(S,_)||p(_);if(_.inLinked)return W(S,_)||p(_);switch(S.currentChar()){case"{":return j(S,_)||p(_);case"}":return f(De.UNBALANCED_CLOSING_BRACE,s(),0),S.next(),h(_,3,"}");case"@":return W(S,_)||p(_);default:{if(U(S))return V=h(_,1,M(S)),_.braceNest=0,_.inLinked=!1,V;const{isModulo:ae,hasSpace:pe}=$(S);if(ae)return pe?h(_,0,Se(S)):h(_,4,Ee(S));if(P(S))return h(_,0,Se(S));break}}return V}function X(){const{currentType:S,offset:_,startLoc:V,endLoc:Q}=a;return a.lastType=S,a.lastOffset=_,a.lastStartLoc=V,a.lastEndLoc=Q,a.offset=o(),a.startLoc=s(),r.currentChar()===Tr?h(a,14):Z(r,a)}return{nextToken:X,currentOffset:o,currentPosition:s,context:u}}const TI="parser",SI=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function _I(n,e,t){switch(n){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(e||t,16);return r<=55295||r>=57344?String.fromCodePoint(r):"�"}}}function kI(n={}){const e=n.location!==!1,{onError:t,onWarn:r}=n;function o(E,v,N,b,...x){const B=E.currentPosition();if(B.offset+=b,B.column+=b,t){const R=e?ll(N,B):null,U=Xo(v,R,{domain:TI,args:x});t(U)}}function s(E,v,N,b,...x){const B=E.currentPosition();if(B.offset+=b,B.column+=b,r){const R=e?ll(N,B):null;r(fI(v,R,x))}}function i(E,v,N){const b={type:E};return e&&(b.start=v,b.end=v,b.loc={start:N,end:N}),b}function l(E,v,N,b){b&&(E.type=b),e&&(E.end=v,E.loc&&(E.loc.end=N))}function a(E,v){const N=E.context(),b=i(3,N.offset,N.startLoc);return b.value=v,l(b,E.currentOffset(),E.currentPosition()),b}function u(E,v){const N=E.context(),{lastOffset:b,lastStartLoc:x}=N,B=i(5,b,x);return B.index=parseInt(v,10),E.nextToken(),l(B,E.currentOffset(),E.currentPosition()),B}function d(E,v,N){const b=E.context(),{lastOffset:x,lastStartLoc:B}=b,R=i(4,x,B);return R.key=v,N===!0&&(R.modulo=!0),E.nextToken(),l(R,E.currentOffset(),E.currentPosition()),R}function f(E,v){const N=E.context(),{lastOffset:b,lastStartLoc:x}=N,B=i(9,b,x);return B.value=v.replace(SI,_I),E.nextToken(),l(B,E.currentOffset(),E.currentPosition()),B}function h(E){const v=E.nextToken(),N=E.context(),{lastOffset:b,lastStartLoc:x}=N,B=i(8,b,x);return v.type!==12?(o(E,De.UNEXPECTED_EMPTY_LINKED_MODIFIER,N.lastStartLoc,0),B.value="",l(B,b,x),{nextConsumeToken:v,node:B}):(v.value==null&&o(E,De.UNEXPECTED_LEXICAL_ANALYSIS,N.lastStartLoc,0,yn(v)),B.value=v.value||"",l(B,E.currentOffset(),E.currentPosition()),{node:B})}function p(E,v){const N=E.context(),b=i(7,N.offset,N.startLoc);return b.value=v,l(b,E.currentOffset(),E.currentPosition()),b}function m(E){const v=E.context(),N=i(6,v.offset,v.startLoc);let b=E.nextToken();if(b.type===9){const x=h(E);N.modifier=x.node,b=x.nextConsumeToken||E.nextToken()}switch(b.type!==10&&o(E,De.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,yn(b)),b=E.nextToken(),b.type===2&&(b=E.nextToken()),b.type){case 11:b.value==null&&o(E,De.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,yn(b)),N.key=p(E,b.value||"");break;case 5:b.value==null&&o(E,De.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,yn(b)),N.key=d(E,b.value||"");break;case 6:b.value==null&&o(E,De.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,yn(b)),N.key=u(E,b.value||"");break;case 7:b.value==null&&o(E,De.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,yn(b)),N.key=f(E,b.value||"");break;default:{o(E,De.UNEXPECTED_EMPTY_LINKED_KEY,v.lastStartLoc,0);const x=E.context(),B=i(7,x.offset,x.startLoc);return B.value="",l(B,x.offset,x.startLoc),N.key=B,l(N,x.offset,x.startLoc),{nextConsumeToken:b,node:N}}}return l(N,E.currentOffset(),E.currentPosition()),{node:N}}function g(E){const v=E.context(),N=v.currentType===1?E.currentOffset():v.offset,b=v.currentType===1?v.endLoc:v.startLoc,x=i(2,N,b);x.items=[];let B=null,R=null;do{const P=B||E.nextToken();switch(B=null,P.type){case 0:P.value==null&&o(E,De.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,yn(P)),x.items.push(a(E,P.value||""));break;case 6:P.value==null&&o(E,De.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,yn(P)),x.items.push(u(E,P.value||""));break;case 4:R=!0;break;case 5:P.value==null&&o(E,De.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,yn(P)),x.items.push(d(E,P.value||"",!!R)),R&&(s(E,cl.USE_MODULO_SYNTAX,v.lastStartLoc,0,yn(P)),R=null);break;case 7:P.value==null&&o(E,De.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,yn(P)),x.items.push(f(E,P.value||""));break;case 8:{const Y=m(E);x.items.push(Y.node),B=Y.nextConsumeToken||null;break}}}while(v.currentType!==14&&v.currentType!==1);const U=v.currentType===1?v.lastOffset:E.currentOffset(),$=v.currentType===1?v.lastEndLoc:E.currentPosition();return l(x,U,$),x}function y(E,v,N,b){const x=E.context();let B=b.items.length===0;const R=i(1,v,N);R.cases=[],R.cases.push(b);do{const U=g(E);B||(B=U.items.length===0),R.cases.push(U)}while(x.currentType!==14);return B&&o(E,De.MUST_HAVE_MESSAGES_IN_PLURAL,N,0),l(R,E.currentOffset(),E.currentPosition()),R}function C(E){const v=E.context(),{offset:N,startLoc:b}=v,x=g(E);return v.currentType===14?x:y(E,N,b,x)}function w(E){const v=wI(E,i2({},n)),N=v.context(),b=i(0,N.offset,N.startLoc);return e&&b.loc&&(b.loc.source=E),b.body=C(v),n.onCacheKey&&(b.cacheKey=n.onCacheKey(E)),N.currentType!==14&&o(v,De.UNEXPECTED_LEXICAL_ANALYSIS,N.lastStartLoc,0,E[N.offset]||""),l(b,v.currentOffset(),v.currentPosition()),b}return{parse:w}}function yn(n){if(n.type===14)return"EOF";const e=(n.value||"").replace(/\r?\n/gu,"\\n");return e.length>10?e.slice(0,9)+"…":e}function NI(n,e={}){const t={ast:n,helpers:new Set};return{context:()=>t,helper:s=>(t.helpers.add(s),s)}}function u2(n,e){for(let t=0;t<n.length;t++)sd(n[t],e)}function sd(n,e){switch(n.type){case 1:u2(n.cases,e),e.helper("plural");break;case 2:u2(n.items,e);break;case 6:{sd(n.key,e),e.helper("linked"),e.helper("type");break}case 5:e.helper("interpolate"),e.helper("list");break;case 4:e.helper("interpolate"),e.helper("named");break}}function II(n,e={}){const t=NI(n);t.helper("normalize"),n.body&&sd(n.body,t);const r=t.context();n.helpers=Array.from(r.helpers)}function xI(n){const e=n.body;return e.type===2?d2(e):e.cases.forEach(t=>d2(t)),n}function d2(n){if(n.items.length===1){const e=n.items[0];(e.type===3||e.type===9)&&(n.static=e.value,delete e.value)}else{const e=[];for(let t=0;t<n.items.length;t++){const r=n.items[t];if(!(r.type===3||r.type===9)||r.value==null)break;e.push(r.value)}if(e.length===n.items.length){n.static=l2(e);for(let t=0;t<n.items.length;t++){const r=n.items[t];(r.type===3||r.type===9)&&delete r.value}}}}const MI="minifier";function qo(n){switch(n.t=n.type,n.type){case 0:{const e=n;qo(e.body),e.b=e.body,delete e.body;break}case 1:{const e=n,t=e.cases;for(let r=0;r<t.length;r++)qo(t[r]);e.c=t,delete e.cases;break}case 2:{const e=n,t=e.items;for(let r=0;r<t.length;r++)qo(t[r]);e.i=t,delete e.items,e.static&&(e.s=e.static,delete e.static);break}case 3:case 9:case 8:case 7:{const e=n;e.value&&(e.v=e.value,delete e.value);break}case 6:{const e=n;qo(e.key),e.k=e.key,delete e.key,e.modifier&&(qo(e.modifier),e.m=e.modifier,delete e.modifier);break}case 5:{const e=n;e.i=e.index,delete e.index;break}case 4:{const e=n;e.k=e.key,delete e.key;break}default:throw Xo(De.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:MI,args:[n.type]})}delete n.type}const OI="parser";function LI(n,e){const{sourceMap:t,filename:r,breakLineCode:o,needIndent:s}=e,i=e.location!==!1,l={filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:o,needIndent:s,indentLevel:0};i&&n.loc&&(l.source=n.loc.source);const a=()=>l;function u(y,C){l.code+=y}function d(y,C=!0){const w=C?o:"";u(s?w+" ".repeat(y):w)}function f(y=!0){const C=++l.indentLevel;y&&d(C)}function h(y=!0){const C=--l.indentLevel;y&&d(C)}function p(){d(l.indentLevel)}return{context:a,push:u,indent:f,deindent:h,newline:p,helper:y=>`_${y}`,needIndent:()=>l.needIndent}}function DI(n,e){const{helper:t}=n;n.push(`${t("linked")}(`),es(n,e.key),e.modifier?(n.push(", "),es(n,e.modifier),n.push(", _type")):n.push(", undefined, _type"),n.push(")")}function RI(n,e){const{helper:t,needIndent:r}=n;n.push(`${t("normalize")}([`),n.indent(r());const o=e.items.length;for(let s=0;s<o&&(es(n,e.items[s]),s!==o-1);s++)n.push(", ");n.deindent(r()),n.push("])")}function BI(n,e){const{helper:t,needIndent:r}=n;if(e.cases.length>1){n.push(`${t("plural")}([`),n.indent(r());const o=e.cases.length;for(let s=0;s<o&&(es(n,e.cases[s]),s!==o-1);s++)n.push(", ");n.deindent(r()),n.push("])")}}function PI(n,e){e.body?es(n,e.body):n.push("null")}function es(n,e){const{helper:t}=n;switch(e.type){case 0:PI(n,e);break;case 1:BI(n,e);break;case 2:RI(n,e);break;case 6:DI(n,e);break;case 8:n.push(JSON.stringify(e.value),e);break;case 7:n.push(JSON.stringify(e.value),e);break;case 5:n.push(`${t("interpolate")}(${t("list")}(${e.index}))`,e);break;case 4:n.push(`${t("interpolate")}(${t("named")}(${JSON.stringify(e.key)}))`,e);break;case 9:n.push(JSON.stringify(e.value),e);break;case 3:n.push(JSON.stringify(e.value),e);break;default:throw Xo(De.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:OI,args:[e.type]})}}const FI=(n,e={})=>{const t=a2(e.mode)?e.mode:"normal",r=a2(e.filename)?e.filename:"message.intl",o=!!e.sourceMap,s=e.breakLineCode!=null?e.breakLineCode:t==="arrow"?";":`
|
|
193
|
-
`,i=e.needIndent?e.needIndent:t!=="arrow",l=n.helpers||[],a=
|
|
191
|
+
*/function cI(n,e,t){return{line:n,column:e,offset:t}}function cl(n,e,t){const r={start:n,end:e};return t!=null&&(r.source=t),r}const uI=/\{([0-9a-zA-Z]+)\}/g;function s2(n,...e){return e.length===1&&dI(e[0])&&(e=e[0]),(!e||!e.hasOwnProperty)&&(e={}),n.replace(uI,(t,r)=>e.hasOwnProperty(r)?e[r]:"")}const i2=Object.assign,a2=n=>typeof n=="string",dI=n=>n!==null&&typeof n=="object";function l2(n,e=""){return n.reduce((t,r,o)=>o===0?t+r:t+e+r,"")}const ul={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},fI={[ul.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function hI(n,e,...t){const r=s2(fI[n]||"",...t||[]),o={message:String(r),code:n};return e&&(o.location=e),o}const De={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},pI={[De.EXPECTED_TOKEN]:"Expected token: '{0}'",[De.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[De.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[De.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[De.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[De.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[De.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[De.EMPTY_PLACEHOLDER]:"Empty placeholder",[De.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[De.INVALID_LINKED_FORMAT]:"Invalid linked format",[De.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[De.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[De.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[De.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[De.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[De.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function Xo(n,e,t={}){const{domain:r,messages:o,args:s}=t,i=s2((o||pI)[n]||"",...s||[]),l=new SyntaxError(String(i));return l.code=n,e&&(l.location=e),l.domain=r,l}function mI(n){throw n}const gI=/<\/?[\w\s="/.':;#-\/]+>/,yI=n=>gI.test(n),Qn=" ",vI="\r",It=`
|
|
192
|
+
`,EI=String.fromCharCode(8232),CI=String.fromCharCode(8233);function AI(n){const e=n;let t=0,r=1,o=1,s=0;const i=x=>e[x]===vI&&e[x+1]===It,l=x=>e[x]===It,a=x=>e[x]===CI,u=x=>e[x]===EI,d=x=>i(x)||l(x)||a(x)||u(x),f=()=>t,h=()=>r,p=()=>o,m=()=>s,g=x=>i(x)||a(x)||u(x)?It:e[x],y=()=>g(t),C=()=>g(t+s);function b(){return s=0,d(t)&&(r++,o=0),i(t)&&t++,t++,o++,e[t]}function E(){return i(t+s)&&s++,s++,e[t+s]}function v(){t=0,r=1,o=1,s=0}function N(x=0){s=x}function w(){const x=t+s;for(;x!==t;)b();s=0}return{index:f,line:h,column:p,peekOffset:m,charAt:g,currentChar:y,currentPeek:C,next:b,peek:E,reset:v,resetPeek:N,skipToPeek:w}}const Tr=void 0,bI=".",c2="'",wI="tokenizer";function TI(n,e={}){const t=e.location!==!1,r=AI(n),o=()=>r.index(),s=()=>cI(r.line(),r.column(),r.index()),i=s(),l=o(),a={currentType:14,offset:l,startLoc:i,endLoc:i,lastType:14,lastOffset:l,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},u=()=>a,{onError:d}=e;function f(S,_,V,...Q){const ae=u();if(_.column+=V,_.offset+=V,d){const pe=t?cl(ae.startLoc,_):null,Te=Xo(S,pe,{domain:wI,args:Q});d(Te)}}function h(S,_,V){S.endLoc=s(),S.currentType=_;const Q={type:_};return t&&(Q.loc=cl(S.startLoc,S.endLoc)),V!=null&&(Q.value=V),Q}const p=S=>h(S,14);function m(S,_){return S.currentChar()===_?(S.next(),_):(f(De.EXPECTED_TOKEN,s(),0,_),"")}function g(S){let _="";for(;S.currentPeek()===Qn||S.currentPeek()===It;)_+=S.currentPeek(),S.peek();return _}function y(S){const _=g(S);return S.skipToPeek(),_}function C(S){if(S===Tr)return!1;const _=S.charCodeAt(0);return _>=97&&_<=122||_>=65&&_<=90||_===95}function b(S){if(S===Tr)return!1;const _=S.charCodeAt(0);return _>=48&&_<=57}function E(S,_){const{currentType:V}=_;if(V!==2)return!1;g(S);const Q=C(S.currentPeek());return S.resetPeek(),Q}function v(S,_){const{currentType:V}=_;if(V!==2)return!1;g(S);const Q=S.currentPeek()==="-"?S.peek():S.currentPeek(),ae=b(Q);return S.resetPeek(),ae}function N(S,_){const{currentType:V}=_;if(V!==2)return!1;g(S);const Q=S.currentPeek()===c2;return S.resetPeek(),Q}function w(S,_){const{currentType:V}=_;if(V!==8)return!1;g(S);const Q=S.currentPeek()===".";return S.resetPeek(),Q}function x(S,_){const{currentType:V}=_;if(V!==9)return!1;g(S);const Q=C(S.currentPeek());return S.resetPeek(),Q}function B(S,_){const{currentType:V}=_;if(!(V===8||V===12))return!1;g(S);const Q=S.currentPeek()===":";return S.resetPeek(),Q}function R(S,_){const{currentType:V}=_;if(V!==10)return!1;const Q=()=>{const pe=S.currentPeek();return pe==="{"?C(S.peek()):pe==="@"||pe==="%"||pe==="|"||pe===":"||pe==="."||pe===Qn||!pe?!1:pe===It?(S.peek(),Q()):P(S,!1)},ae=Q();return S.resetPeek(),ae}function U(S){g(S);const _=S.currentPeek()==="|";return S.resetPeek(),_}function $(S){const _=g(S),V=S.currentPeek()==="%"&&S.peek()==="{";return S.resetPeek(),{isModulo:V,hasSpace:_.length>0}}function P(S,_=!0){const V=(ae=!1,pe="",Te=!1)=>{const q=S.currentPeek();return q==="{"?pe==="%"?!1:ae:q==="@"||!q?pe==="%"?!0:ae:q==="%"?(S.peek(),V(ae,"%",!0)):q==="|"?pe==="%"||Te?!0:!(pe===Qn||pe===It):q===Qn?(S.peek(),V(!0,Qn,Te)):q===It?(S.peek(),V(!0,It,Te)):!0},Q=V();return _&&S.resetPeek(),Q}function Y(S,_){const V=S.currentChar();return V===Tr?Tr:_(V)?(S.next(),V):null}function G(S){const _=S.charCodeAt(0);return _>=97&&_<=122||_>=65&&_<=90||_>=48&&_<=57||_===95||_===36}function K(S){return Y(S,G)}function H(S){const _=S.charCodeAt(0);return _>=97&&_<=122||_>=65&&_<=90||_>=48&&_<=57||_===95||_===36||_===45}function J(S){return Y(S,H)}function z(S){const _=S.charCodeAt(0);return _>=48&&_<=57}function ee(S){return Y(S,z)}function re(S){const _=S.charCodeAt(0);return _>=48&&_<=57||_>=65&&_<=70||_>=97&&_<=102}function ue(S){return Y(S,re)}function ge(S){let _="",V="";for(;_=ee(S);)V+=_;return V}function Ee(S){y(S);const _=S.currentChar();return _!=="%"&&f(De.EXPECTED_TOKEN,s(),0,_),S.next(),"%"}function Se(S){let _="";for(;;){const V=S.currentChar();if(V==="{"||V==="}"||V==="@"||V==="|"||!V)break;if(V==="%")if(P(S))_+=V,S.next();else break;else if(V===Qn||V===It)if(P(S))_+=V,S.next();else{if(U(S))break;_+=V,S.next()}else _+=V,S.next()}return _}function ke(S){y(S);let _="",V="";for(;_=J(S);)V+=_;return S.currentChar()===Tr&&f(De.UNTERMINATED_CLOSING_BRACE,s(),0),V}function xe(S){y(S);let _="";return S.currentChar()==="-"?(S.next(),_+=`-${ge(S)}`):_+=ge(S),S.currentChar()===Tr&&f(De.UNTERMINATED_CLOSING_BRACE,s(),0),_}function Ae(S){return S!==c2&&S!==It}function O(S){y(S),m(S,"'");let _="",V="";for(;_=Y(S,Ae);)_==="\\"?V+=D(S):V+=_;const Q=S.currentChar();return Q===It||Q===Tr?(f(De.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,s(),0),Q===It&&(S.next(),m(S,"'")),V):(m(S,"'"),V)}function D(S){const _=S.currentChar();switch(_){case"\\":case"'":return S.next(),`\\${_}`;case"u":return I(S,_,4);case"U":return I(S,_,6);default:return f(De.UNKNOWN_ESCAPE_SEQUENCE,s(),0,_),""}}function I(S,_,V){m(S,_);let Q="";for(let ae=0;ae<V;ae++){const pe=ue(S);if(!pe){f(De.INVALID_UNICODE_ESCAPE_SEQUENCE,s(),0,`\\${_}${Q}${S.currentChar()}`);break}Q+=pe}return`\\${_}${Q}`}function L(S){return S!=="{"&&S!=="}"&&S!==Qn&&S!==It}function A(S){y(S);let _="",V="";for(;_=Y(S,L);)V+=_;return V}function T(S){let _="",V="";for(;_=K(S);)V+=_;return V}function k(S){const _=V=>{const Q=S.currentChar();return Q==="{"||Q==="%"||Q==="@"||Q==="|"||Q==="("||Q===")"||!Q||Q===Qn?V:(V+=Q,S.next(),_(V))};return _("")}function M(S){y(S);const _=m(S,"|");return y(S),_}function j(S,_){let V=null;switch(S.currentChar()){case"{":return _.braceNest>=1&&f(De.NOT_ALLOW_NEST_PLACEHOLDER,s(),0),S.next(),V=h(_,2,"{"),y(S),_.braceNest++,V;case"}":return _.braceNest>0&&_.currentType===2&&f(De.EMPTY_PLACEHOLDER,s(),0),S.next(),V=h(_,3,"}"),_.braceNest--,_.braceNest>0&&y(S),_.inLinked&&_.braceNest===0&&(_.inLinked=!1),V;case"@":return _.braceNest>0&&f(De.UNTERMINATED_CLOSING_BRACE,s(),0),V=W(S,_)||p(_),_.braceNest=0,V;default:{let ae=!0,pe=!0,Te=!0;if(U(S))return _.braceNest>0&&f(De.UNTERMINATED_CLOSING_BRACE,s(),0),V=h(_,1,M(S)),_.braceNest=0,_.inLinked=!1,V;if(_.braceNest>0&&(_.currentType===5||_.currentType===6||_.currentType===7))return f(De.UNTERMINATED_CLOSING_BRACE,s(),0),_.braceNest=0,Z(S,_);if(ae=E(S,_))return V=h(_,5,ke(S)),y(S),V;if(pe=v(S,_))return V=h(_,6,xe(S)),y(S),V;if(Te=N(S,_))return V=h(_,7,O(S)),y(S),V;if(!ae&&!pe&&!Te)return V=h(_,13,A(S)),f(De.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,V.value),y(S),V;break}}return V}function W(S,_){const{currentType:V}=_;let Q=null;const ae=S.currentChar();switch((V===8||V===9||V===12||V===10)&&(ae===It||ae===Qn)&&f(De.INVALID_LINKED_FORMAT,s(),0),ae){case"@":return S.next(),Q=h(_,8,"@"),_.inLinked=!0,Q;case".":return y(S),S.next(),h(_,9,".");case":":return y(S),S.next(),h(_,10,":");default:return U(S)?(Q=h(_,1,M(S)),_.braceNest=0,_.inLinked=!1,Q):w(S,_)||B(S,_)?(y(S),W(S,_)):x(S,_)?(y(S),h(_,12,T(S))):R(S,_)?(y(S),ae==="{"?j(S,_)||Q:h(_,11,k(S))):(V===8&&f(De.INVALID_LINKED_FORMAT,s(),0),_.braceNest=0,_.inLinked=!1,Z(S,_))}}function Z(S,_){let V={type:14};if(_.braceNest>0)return j(S,_)||p(_);if(_.inLinked)return W(S,_)||p(_);switch(S.currentChar()){case"{":return j(S,_)||p(_);case"}":return f(De.UNBALANCED_CLOSING_BRACE,s(),0),S.next(),h(_,3,"}");case"@":return W(S,_)||p(_);default:{if(U(S))return V=h(_,1,M(S)),_.braceNest=0,_.inLinked=!1,V;const{isModulo:ae,hasSpace:pe}=$(S);if(ae)return pe?h(_,0,Se(S)):h(_,4,Ee(S));if(P(S))return h(_,0,Se(S));break}}return V}function X(){const{currentType:S,offset:_,startLoc:V,endLoc:Q}=a;return a.lastType=S,a.lastOffset=_,a.lastStartLoc=V,a.lastEndLoc=Q,a.offset=o(),a.startLoc=s(),r.currentChar()===Tr?h(a,14):Z(r,a)}return{nextToken:X,currentOffset:o,currentPosition:s,context:u}}const SI="parser",_I=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function kI(n,e,t){switch(n){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(e||t,16);return r<=55295||r>=57344?String.fromCodePoint(r):"�"}}}function NI(n={}){const e=n.location!==!1,{onError:t,onWarn:r}=n;function o(E,v,N,w,...x){const B=E.currentPosition();if(B.offset+=w,B.column+=w,t){const R=e?cl(N,B):null,U=Xo(v,R,{domain:SI,args:x});t(U)}}function s(E,v,N,w,...x){const B=E.currentPosition();if(B.offset+=w,B.column+=w,r){const R=e?cl(N,B):null;r(hI(v,R,x))}}function i(E,v,N){const w={type:E};return e&&(w.start=v,w.end=v,w.loc={start:N,end:N}),w}function l(E,v,N,w){w&&(E.type=w),e&&(E.end=v,E.loc&&(E.loc.end=N))}function a(E,v){const N=E.context(),w=i(3,N.offset,N.startLoc);return w.value=v,l(w,E.currentOffset(),E.currentPosition()),w}function u(E,v){const N=E.context(),{lastOffset:w,lastStartLoc:x}=N,B=i(5,w,x);return B.index=parseInt(v,10),E.nextToken(),l(B,E.currentOffset(),E.currentPosition()),B}function d(E,v,N){const w=E.context(),{lastOffset:x,lastStartLoc:B}=w,R=i(4,x,B);return R.key=v,N===!0&&(R.modulo=!0),E.nextToken(),l(R,E.currentOffset(),E.currentPosition()),R}function f(E,v){const N=E.context(),{lastOffset:w,lastStartLoc:x}=N,B=i(9,w,x);return B.value=v.replace(_I,kI),E.nextToken(),l(B,E.currentOffset(),E.currentPosition()),B}function h(E){const v=E.nextToken(),N=E.context(),{lastOffset:w,lastStartLoc:x}=N,B=i(8,w,x);return v.type!==12?(o(E,De.UNEXPECTED_EMPTY_LINKED_MODIFIER,N.lastStartLoc,0),B.value="",l(B,w,x),{nextConsumeToken:v,node:B}):(v.value==null&&o(E,De.UNEXPECTED_LEXICAL_ANALYSIS,N.lastStartLoc,0,yn(v)),B.value=v.value||"",l(B,E.currentOffset(),E.currentPosition()),{node:B})}function p(E,v){const N=E.context(),w=i(7,N.offset,N.startLoc);return w.value=v,l(w,E.currentOffset(),E.currentPosition()),w}function m(E){const v=E.context(),N=i(6,v.offset,v.startLoc);let w=E.nextToken();if(w.type===9){const x=h(E);N.modifier=x.node,w=x.nextConsumeToken||E.nextToken()}switch(w.type!==10&&o(E,De.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,yn(w)),w=E.nextToken(),w.type===2&&(w=E.nextToken()),w.type){case 11:w.value==null&&o(E,De.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,yn(w)),N.key=p(E,w.value||"");break;case 5:w.value==null&&o(E,De.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,yn(w)),N.key=d(E,w.value||"");break;case 6:w.value==null&&o(E,De.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,yn(w)),N.key=u(E,w.value||"");break;case 7:w.value==null&&o(E,De.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,yn(w)),N.key=f(E,w.value||"");break;default:{o(E,De.UNEXPECTED_EMPTY_LINKED_KEY,v.lastStartLoc,0);const x=E.context(),B=i(7,x.offset,x.startLoc);return B.value="",l(B,x.offset,x.startLoc),N.key=B,l(N,x.offset,x.startLoc),{nextConsumeToken:w,node:N}}}return l(N,E.currentOffset(),E.currentPosition()),{node:N}}function g(E){const v=E.context(),N=v.currentType===1?E.currentOffset():v.offset,w=v.currentType===1?v.endLoc:v.startLoc,x=i(2,N,w);x.items=[];let B=null,R=null;do{const P=B||E.nextToken();switch(B=null,P.type){case 0:P.value==null&&o(E,De.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,yn(P)),x.items.push(a(E,P.value||""));break;case 6:P.value==null&&o(E,De.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,yn(P)),x.items.push(u(E,P.value||""));break;case 4:R=!0;break;case 5:P.value==null&&o(E,De.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,yn(P)),x.items.push(d(E,P.value||"",!!R)),R&&(s(E,ul.USE_MODULO_SYNTAX,v.lastStartLoc,0,yn(P)),R=null);break;case 7:P.value==null&&o(E,De.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,yn(P)),x.items.push(f(E,P.value||""));break;case 8:{const Y=m(E);x.items.push(Y.node),B=Y.nextConsumeToken||null;break}}}while(v.currentType!==14&&v.currentType!==1);const U=v.currentType===1?v.lastOffset:E.currentOffset(),$=v.currentType===1?v.lastEndLoc:E.currentPosition();return l(x,U,$),x}function y(E,v,N,w){const x=E.context();let B=w.items.length===0;const R=i(1,v,N);R.cases=[],R.cases.push(w);do{const U=g(E);B||(B=U.items.length===0),R.cases.push(U)}while(x.currentType!==14);return B&&o(E,De.MUST_HAVE_MESSAGES_IN_PLURAL,N,0),l(R,E.currentOffset(),E.currentPosition()),R}function C(E){const v=E.context(),{offset:N,startLoc:w}=v,x=g(E);return v.currentType===14?x:y(E,N,w,x)}function b(E){const v=TI(E,i2({},n)),N=v.context(),w=i(0,N.offset,N.startLoc);return e&&w.loc&&(w.loc.source=E),w.body=C(v),n.onCacheKey&&(w.cacheKey=n.onCacheKey(E)),N.currentType!==14&&o(v,De.UNEXPECTED_LEXICAL_ANALYSIS,N.lastStartLoc,0,E[N.offset]||""),l(w,v.currentOffset(),v.currentPosition()),w}return{parse:b}}function yn(n){if(n.type===14)return"EOF";const e=(n.value||"").replace(/\r?\n/gu,"\\n");return e.length>10?e.slice(0,9)+"…":e}function II(n,e={}){const t={ast:n,helpers:new Set};return{context:()=>t,helper:s=>(t.helpers.add(s),s)}}function u2(n,e){for(let t=0;t<n.length;t++)id(n[t],e)}function id(n,e){switch(n.type){case 1:u2(n.cases,e),e.helper("plural");break;case 2:u2(n.items,e);break;case 6:{id(n.key,e),e.helper("linked"),e.helper("type");break}case 5:e.helper("interpolate"),e.helper("list");break;case 4:e.helper("interpolate"),e.helper("named");break}}function xI(n,e={}){const t=II(n);t.helper("normalize"),n.body&&id(n.body,t);const r=t.context();n.helpers=Array.from(r.helpers)}function MI(n){const e=n.body;return e.type===2?d2(e):e.cases.forEach(t=>d2(t)),n}function d2(n){if(n.items.length===1){const e=n.items[0];(e.type===3||e.type===9)&&(n.static=e.value,delete e.value)}else{const e=[];for(let t=0;t<n.items.length;t++){const r=n.items[t];if(!(r.type===3||r.type===9)||r.value==null)break;e.push(r.value)}if(e.length===n.items.length){n.static=l2(e);for(let t=0;t<n.items.length;t++){const r=n.items[t];(r.type===3||r.type===9)&&delete r.value}}}}const OI="minifier";function qo(n){switch(n.t=n.type,n.type){case 0:{const e=n;qo(e.body),e.b=e.body,delete e.body;break}case 1:{const e=n,t=e.cases;for(let r=0;r<t.length;r++)qo(t[r]);e.c=t,delete e.cases;break}case 2:{const e=n,t=e.items;for(let r=0;r<t.length;r++)qo(t[r]);e.i=t,delete e.items,e.static&&(e.s=e.static,delete e.static);break}case 3:case 9:case 8:case 7:{const e=n;e.value&&(e.v=e.value,delete e.value);break}case 6:{const e=n;qo(e.key),e.k=e.key,delete e.key,e.modifier&&(qo(e.modifier),e.m=e.modifier,delete e.modifier);break}case 5:{const e=n;e.i=e.index,delete e.index;break}case 4:{const e=n;e.k=e.key,delete e.key;break}default:throw Xo(De.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:OI,args:[n.type]})}delete n.type}const LI="parser";function DI(n,e){const{sourceMap:t,filename:r,breakLineCode:o,needIndent:s}=e,i=e.location!==!1,l={filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:o,needIndent:s,indentLevel:0};i&&n.loc&&(l.source=n.loc.source);const a=()=>l;function u(y,C){l.code+=y}function d(y,C=!0){const b=C?o:"";u(s?b+" ".repeat(y):b)}function f(y=!0){const C=++l.indentLevel;y&&d(C)}function h(y=!0){const C=--l.indentLevel;y&&d(C)}function p(){d(l.indentLevel)}return{context:a,push:u,indent:f,deindent:h,newline:p,helper:y=>`_${y}`,needIndent:()=>l.needIndent}}function RI(n,e){const{helper:t}=n;n.push(`${t("linked")}(`),es(n,e.key),e.modifier?(n.push(", "),es(n,e.modifier),n.push(", _type")):n.push(", undefined, _type"),n.push(")")}function BI(n,e){const{helper:t,needIndent:r}=n;n.push(`${t("normalize")}([`),n.indent(r());const o=e.items.length;for(let s=0;s<o&&(es(n,e.items[s]),s!==o-1);s++)n.push(", ");n.deindent(r()),n.push("])")}function PI(n,e){const{helper:t,needIndent:r}=n;if(e.cases.length>1){n.push(`${t("plural")}([`),n.indent(r());const o=e.cases.length;for(let s=0;s<o&&(es(n,e.cases[s]),s!==o-1);s++)n.push(", ");n.deindent(r()),n.push("])")}}function FI(n,e){e.body?es(n,e.body):n.push("null")}function es(n,e){const{helper:t}=n;switch(e.type){case 0:FI(n,e);break;case 1:PI(n,e);break;case 2:BI(n,e);break;case 6:RI(n,e);break;case 8:n.push(JSON.stringify(e.value),e);break;case 7:n.push(JSON.stringify(e.value),e);break;case 5:n.push(`${t("interpolate")}(${t("list")}(${e.index}))`,e);break;case 4:n.push(`${t("interpolate")}(${t("named")}(${JSON.stringify(e.key)}))`,e);break;case 9:n.push(JSON.stringify(e.value),e);break;case 3:n.push(JSON.stringify(e.value),e);break;default:throw Xo(De.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:LI,args:[e.type]})}}const VI=(n,e={})=>{const t=a2(e.mode)?e.mode:"normal",r=a2(e.filename)?e.filename:"message.intl",o=!!e.sourceMap,s=e.breakLineCode!=null?e.breakLineCode:t==="arrow"?";":`
|
|
193
|
+
`,i=e.needIndent?e.needIndent:t!=="arrow",l=n.helpers||[],a=DI(n,{mode:t,filename:r,sourceMap:o,breakLineCode:s,needIndent:i});a.push(t==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),a.indent(i),l.length>0&&(a.push(`const { ${l2(l.map(f=>`${f}: _${f}`),", ")} } = ctx`),a.newline()),a.push("return "),es(a,n),a.deindent(i),a.push("}"),delete n.helpers;const{code:u,map:d}=a.context();return{ast:n,code:u,map:d?d.toJSON():void 0}};function $I(n,e={}){const t=i2({},e),r=!!t.jit,o=!!t.minify,s=t.optimize==null?!0:t.optimize,l=NI(t).parse(n);return r?(s&&MI(l),o&&qo(l),{ast:l,code:""}):(xI(l,t),VI(l,t))}/*!
|
|
194
194
|
* core-base v9.14.4
|
|
195
195
|
* (c) 2025 kazuya kawaguchi
|
|
196
196
|
* Released under the MIT License.
|
|
197
|
-
*/function $I(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Yn().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Yn().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Yn().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function vn(n){return je(n)&&id(n)===0&&(gn(n,"b")||gn(n,"body"))}const f2=["b","body"];function UI(n){return Sr(n,f2)}const h2=["c","cases"];function zI(n){return Sr(n,h2,[])}const p2=["s","static"];function HI(n){return Sr(n,p2)}const m2=["i","items"];function jI(n){return Sr(n,m2,[])}const g2=["t","type"];function id(n){return Sr(n,g2)}const y2=["v","value"];function ul(n,e){const t=Sr(n,y2);if(t!=null)return t;throw Qs(e)}const v2=["m","modifier"];function WI(n){return Sr(n,v2)}const E2=["k","key"];function KI(n){const e=Sr(n,E2);if(e)return e;throw Qs(6)}function Sr(n,e,t){for(let r=0;r<e.length;r++){const o=e[r];if(gn(n,o)&&n[o]!=null)return n[o]}return t}const C2=[...f2,...h2,...p2,...m2,...E2,...v2,...y2,...g2];function Qs(n){return new Error(`unhandled node type: ${n}`)}const _r=[];_r[0]={w:[0],i:[3,0],"[":[4],o:[7]},_r[1]={w:[1],".":[2],"[":[4],o:[7]},_r[2]={w:[2],i:[3,0],0:[3,0]},_r[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},_r[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},_r[5]={"'":[4,0],o:8,l:[5,0]},_r[6]={'"':[4,0],o:8,l:[6,0]};const YI=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function GI(n){return YI.test(n)}function QI(n){const e=n.charCodeAt(0),t=n.charCodeAt(n.length-1);return e===t&&(e===34||e===39)?n.slice(1,-1):n}function ZI(n){if(n==null)return"o";switch(n.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return n;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function JI(n){const e=n.trim();return n.charAt(0)==="0"&&isNaN(parseInt(n))?!1:GI(e)?QI(e):"*"+e}function XI(n){const e=[];let t=-1,r=0,o=0,s,i,l,a,u,d,f;const h=[];h[0]=()=>{i===void 0?i=l:i+=l},h[1]=()=>{i!==void 0&&(e.push(i),i=void 0)},h[2]=()=>{h[0](),o++},h[3]=()=>{if(o>0)o--,r=4,h[0]();else{if(o=0,i===void 0||(i=JI(i),i===!1))return!1;h[1]()}};function p(){const m=n[t+1];if(r===5&&m==="'"||r===6&&m==='"')return t++,l="\\"+m,h[0](),!0}for(;r!==null;)if(t++,s=n[t],!(s==="\\"&&p())){if(a=ZI(s),f=_r[r],u=f[a]||f.l||8,u===8||(r=u[0],u[1]!==void 0&&(d=h[u[1]],d&&(l=s,d()===!1))))return;if(r===7)return e}}const A2=new Map;function qI(n,e){return je(n)?n[e]:null}function ex(n,e){if(!je(n))return null;let t=A2.get(e);if(t||(t=XI(e),t&&A2.set(e,t)),!t)return null;const r=t.length;let o=n,s=0;for(;s<r;){const i=t[s];if(C2.includes(i)&&vn(o))return null;const l=o[i];if(l===void 0||Qe(o))return null;o=l,s++}return o}const tx=n=>n,nx=n=>"",rx="text",ox=n=>n.length===0?"":sI(n),sx=oI;function b2(n,e){return n=Math.abs(n),e===2?n?n>1?1:0:1:n?Math.min(n,2):0}function ix(n){const e=ut(n.pluralIndex)?n.pluralIndex:-1;return n.named&&(ut(n.named.count)||ut(n.named.n))?ut(n.named.count)?n.named.count:ut(n.named.n)?n.named.n:e:e}function ax(n,e){e.count||(e.count=n),e.n||(e.n=n)}function lx(n={}){const e=n.locale,t=ix(n),r=je(n.pluralRules)&&_e(e)&&Qe(n.pluralRules[e])?n.pluralRules[e]:b2,o=je(n.pluralRules)&&_e(e)&&Qe(n.pluralRules[e])?b2:void 0,s=C=>C[r(t,C.length,o)],i=n.list||[],l=C=>i[C],a=n.named||Ke();ut(n.pluralIndex)&&ax(t,a);const u=C=>a[C];function d(C){const w=Qe(n.messages)?n.messages(C):je(n.messages)?n.messages[C]:!1;return w||(n.parent?n.parent.message(C):nx)}const f=C=>n.modifiers?n.modifiers[C]:tx,h=He(n.processor)&&Qe(n.processor.normalize)?n.processor.normalize:ox,p=He(n.processor)&&Qe(n.processor.interpolate)?n.processor.interpolate:sx,m=He(n.processor)&&_e(n.processor.type)?n.processor.type:rx,y={list:l,named:u,plural:s,linked:(C,...w)=>{const[E,v]=w;let N="text",b="";w.length===1?je(E)?(b=E.modifier||b,N=E.type||N):_e(E)&&(b=E||b):w.length===2&&(_e(E)&&(b=E||b),_e(v)&&(N=v||N));const x=d(C)(y),B=N==="vnode"&&st(x)&&b?x[0]:x;return b?f(b)(B,N):B},message:d,type:m,interpolate:p,normalize:h,values:Ct(Ke(),i,a)};return y}let Zs=null;function cx(n){Zs=n}function ux(n,e,t){Zs&&Zs.emit("i18n:init",{timestamp:Date.now(),i18n:n,version:e,meta:t})}const dx=fx("function:translate");function fx(n){return e=>Zs&&Zs.emit(n,e)}const w2=cl.__EXTEND_POINT__,io=sl(w2),xt={NOT_FOUND_KEY:w2,FALLBACK_TO_TRANSLATE:io(),CANNOT_FORMAT_NUMBER:io(),FALLBACK_TO_NUMBER_FORMAT:io(),CANNOT_FORMAT_DATE:io(),FALLBACK_TO_DATE_FORMAT:io(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:io(),__EXTEND_POINT__:io()},hx={[xt.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[xt.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[xt.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[xt.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[xt.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[xt.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[xt.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:"This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."};function ao(n,...e){return od(hx[n],...e)}const T2=De.__EXTEND_POINT__,lo=sl(T2),dt={INVALID_ARGUMENT:T2,INVALID_DATE_ARGUMENT:lo(),INVALID_ISO_DATE_ARGUMENT:lo(),NOT_SUPPORT_NON_STRING_MESSAGE:lo(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:lo(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:lo(),NOT_SUPPORT_LOCALE_TYPE:lo(),__EXTEND_POINT__:lo()};function On(n){return Xo(n,null,process.env.NODE_ENV!=="production"?{messages:px}:void 0)}const px={[dt.INVALID_ARGUMENT]:"Invalid arguments",[dt.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[dt.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[dt.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[dt.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[dt.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[dt.NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function ad(n,e){return e.locale!=null?S2(e.locale):S2(n.locale)}let ld;function S2(n){if(_e(n))return n;if(Qe(n)){if(n.resolvedOnce&&ld!=null)return ld;if(n.constructor.name==="Function"){const e=n();if(rI(e))throw On(dt.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return ld=e}else throw On(dt.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw On(dt.NOT_SUPPORT_LOCALE_TYPE)}function mx(n,e,t){return[...new Set([t,...st(e)?e:je(e)?Object.keys(e):_e(e)?[e]:[t]])]}function _2(n,e,t){const r=_e(t)?t:Js,o=n;o.__localeChainCache||(o.__localeChainCache=new Map);let s=o.__localeChainCache.get(r);if(!s){s=[];let i=[t];for(;st(i);)i=k2(s,i,e);const l=st(e)||!He(e)?e:e.default?e.default:null;i=_e(l)?[l]:l,st(i)&&k2(s,i,!1),o.__localeChainCache.set(r,s)}return s}function k2(n,e,t){let r=!0;for(let o=0;o<e.length&&Ge(r);o++){const s=e[o];_e(s)&&(r=gx(n,e[o],t))}return r}function gx(n,e,t){let r;const o=e.split("-");do{const s=o.join("-");r=yx(n,s,t),o.splice(-1,1)}while(o.length&&r===!0);return r}function yx(n,e,t){let r=!1;if(!n.includes(e)&&(r=!0,e)){r=e[e.length-1]!=="!";const o=e.replace(/!/g,"");n.push(o),(st(t)||He(t))&&t[o]&&(r=t[o])}return r}const vx="9.14.4",dl=-1,Js="en-US",fl="",N2=n=>`${n.charAt(0).toLocaleUpperCase()}${n.substr(1)}`;function Ex(){return{upper:(n,e)=>e==="text"&&_e(n)?n.toUpperCase():e==="vnode"&&je(n)&&"__v_isVNode"in n?n.children.toUpperCase():n,lower:(n,e)=>e==="text"&&_e(n)?n.toLowerCase():e==="vnode"&&je(n)&&"__v_isVNode"in n?n.children.toLowerCase():n,capitalize:(n,e)=>e==="text"&&_e(n)?N2(n):e==="vnode"&&je(n)&&"__v_isVNode"in n?N2(n.children):n}}let I2;function x2(n){I2=n}let M2;function Cx(n){M2=n}let O2;function Ax(n){O2=n}let L2=null;const bx=n=>{L2=n},wx=()=>L2;let D2=null;const R2=n=>{D2=n},Tx=()=>D2;let B2=0;function Sx(n={}){const e=Qe(n.onWarn)?n.onWarn:Gn,t=_e(n.version)?n.version:vx,r=_e(n.locale)||Qe(n.locale)?n.locale:Js,o=Qe(r)?Js:r,s=st(n.fallbackLocale)||He(n.fallbackLocale)||_e(n.fallbackLocale)||n.fallbackLocale===!1?n.fallbackLocale:o,i=He(n.messages)?n.messages:cd(o),l=He(n.datetimeFormats)?n.datetimeFormats:cd(o),a=He(n.numberFormats)?n.numberFormats:cd(o),u=Ct(Ke(),n.modifiers,Ex()),d=n.pluralRules||Ke(),f=Qe(n.missing)?n.missing:null,h=Ge(n.missingWarn)||Jo(n.missingWarn)?n.missingWarn:!0,p=Ge(n.fallbackWarn)||Jo(n.fallbackWarn)?n.fallbackWarn:!0,m=!!n.fallbackFormat,g=!!n.unresolving,y=Qe(n.postTranslation)?n.postTranslation:null,C=He(n.processor)?n.processor:null,w=Ge(n.warnHtmlMessage)?n.warnHtmlMessage:!0,E=!!n.escapeParameter,v=Qe(n.messageCompiler)?n.messageCompiler:I2;process.env.NODE_ENV!=="production"&&Qe(n.messageCompiler)&&o2(ao(xt.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const N=Qe(n.messageResolver)?n.messageResolver:M2||qI,b=Qe(n.localeFallbacker)?n.localeFallbacker:O2||mx,x=je(n.fallbackContext)?n.fallbackContext:void 0,B=n,R=je(B.__datetimeFormatters)?B.__datetimeFormatters:new Map,U=je(B.__numberFormatters)?B.__numberFormatters:new Map,$=je(B.__meta)?B.__meta:{};B2++;const P={version:t,cid:B2,locale:r,fallbackLocale:s,messages:i,modifiers:u,pluralRules:d,missing:f,missingWarn:h,fallbackWarn:p,fallbackFormat:m,unresolving:g,postTranslation:y,processor:C,warnHtmlMessage:w,escapeParameter:E,messageCompiler:v,messageResolver:N,localeFallbacker:b,fallbackContext:x,onWarn:e,__meta:$};return P.datetimeFormats=l,P.numberFormats=a,P.__datetimeFormatters=R,P.__numberFormatters=U,process.env.NODE_ENV!=="production"&&(P.__v_emitter=B.__v_emitter!=null?B.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&ux(P,t,$),P}const cd=n=>({[n]:Ke()});function hl(n,e){return n instanceof RegExp?n.test(e):n}function P2(n,e){return n instanceof RegExp?n.test(e):n}function ud(n,e,t,r,o){const{missing:s,onWarn:i}=n;if(process.env.NODE_ENV!=="production"){const l=n.__v_emitter;l&&l.emit("missing",{locale:t,key:e,type:o,groupId:`${o}:${e}`})}if(s!==null){const l=s(n,t,e,o);return _e(l)?l:e}else return process.env.NODE_ENV!=="production"&&P2(r,e)&&i(ao(xt.NOT_FOUND_KEY,{key:e,locale:t})),e}function Xs(n,e,t){const r=n;r.__localeChainCache=new Map,n.localeFallbacker(n,t,e)}function F2(n,e){return n===e?!1:n.split("-")[0]===e.split("-")[0]}function _x(n,e){const t=e.indexOf(n);if(t===-1)return!1;for(let r=t+1;r<e.length;r++)if(F2(n,e[r]))return!0;return!1}function dd(n){return t=>kx(t,n)}function kx(n,e){const t=UI(e);if(t==null)throw Qs(0);if(id(t)===1){const s=zI(t);return n.plural(s.reduce((i,l)=>[...i,V2(n,l)],[]))}else return V2(n,t)}function V2(n,e){const t=HI(e);if(t!=null)return n.type==="text"?t:n.normalize([t]);{const r=jI(e).reduce((o,s)=>[...o,fd(n,s)],[]);return n.normalize(r)}}function fd(n,e){const t=id(e);switch(t){case 3:return ul(e,t);case 9:return ul(e,t);case 4:{const r=e;if(gn(r,"k")&&r.k)return n.interpolate(n.named(r.k));if(gn(r,"key")&&r.key)return n.interpolate(n.named(r.key));throw Qs(t)}case 5:{const r=e;if(gn(r,"i")&&ut(r.i))return n.interpolate(n.list(r.i));if(gn(r,"index")&&ut(r.index))return n.interpolate(n.list(r.index));throw Qs(t)}case 6:{const r=e,o=WI(r),s=KI(r);return n.linked(fd(n,s),o?fd(n,o):void 0,n.type)}case 7:return ul(e,t);case 8:return ul(e,t);default:throw new Error(`unhandled node on format message part: ${t}`)}}const Nx="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function $2(n,e){e&&gI(n)&&Gn(od(Nx,{source:n}))}const U2=n=>n;let ts=Ke();function z2(n){n.code===cl.USE_MODULO_SYNTAX&&Gn(`The use of named interpolation with modulo syntax is deprecated. It will be removed in v10.
|
|
197
|
+
*/function UI(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Yn().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Yn().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Yn().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function vn(n){return je(n)&&ad(n)===0&&(gn(n,"b")||gn(n,"body"))}const f2=["b","body"];function zI(n){return Sr(n,f2)}const h2=["c","cases"];function HI(n){return Sr(n,h2,[])}const p2=["s","static"];function jI(n){return Sr(n,p2)}const m2=["i","items"];function WI(n){return Sr(n,m2,[])}const g2=["t","type"];function ad(n){return Sr(n,g2)}const y2=["v","value"];function dl(n,e){const t=Sr(n,y2);if(t!=null)return t;throw Js(e)}const v2=["m","modifier"];function KI(n){return Sr(n,v2)}const E2=["k","key"];function YI(n){const e=Sr(n,E2);if(e)return e;throw Js(6)}function Sr(n,e,t){for(let r=0;r<e.length;r++){const o=e[r];if(gn(n,o)&&n[o]!=null)return n[o]}return t}const C2=[...f2,...h2,...p2,...m2,...E2,...v2,...y2,...g2];function Js(n){return new Error(`unhandled node type: ${n}`)}const _r=[];_r[0]={w:[0],i:[3,0],"[":[4],o:[7]},_r[1]={w:[1],".":[2],"[":[4],o:[7]},_r[2]={w:[2],i:[3,0],0:[3,0]},_r[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},_r[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},_r[5]={"'":[4,0],o:8,l:[5,0]},_r[6]={'"':[4,0],o:8,l:[6,0]};const GI=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function QI(n){return GI.test(n)}function ZI(n){const e=n.charCodeAt(0),t=n.charCodeAt(n.length-1);return e===t&&(e===34||e===39)?n.slice(1,-1):n}function JI(n){if(n==null)return"o";switch(n.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return n;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function XI(n){const e=n.trim();return n.charAt(0)==="0"&&isNaN(parseInt(n))?!1:QI(e)?ZI(e):"*"+e}function qI(n){const e=[];let t=-1,r=0,o=0,s,i,l,a,u,d,f;const h=[];h[0]=()=>{i===void 0?i=l:i+=l},h[1]=()=>{i!==void 0&&(e.push(i),i=void 0)},h[2]=()=>{h[0](),o++},h[3]=()=>{if(o>0)o--,r=4,h[0]();else{if(o=0,i===void 0||(i=XI(i),i===!1))return!1;h[1]()}};function p(){const m=n[t+1];if(r===5&&m==="'"||r===6&&m==='"')return t++,l="\\"+m,h[0](),!0}for(;r!==null;)if(t++,s=n[t],!(s==="\\"&&p())){if(a=JI(s),f=_r[r],u=f[a]||f.l||8,u===8||(r=u[0],u[1]!==void 0&&(d=h[u[1]],d&&(l=s,d()===!1))))return;if(r===7)return e}}const A2=new Map;function ex(n,e){return je(n)?n[e]:null}function tx(n,e){if(!je(n))return null;let t=A2.get(e);if(t||(t=qI(e),t&&A2.set(e,t)),!t)return null;const r=t.length;let o=n,s=0;for(;s<r;){const i=t[s];if(C2.includes(i)&&vn(o))return null;const l=o[i];if(l===void 0||Qe(o))return null;o=l,s++}return o}const nx=n=>n,rx=n=>"",ox="text",sx=n=>n.length===0?"":iI(n),ix=sI;function b2(n,e){return n=Math.abs(n),e===2?n?n>1?1:0:1:n?Math.min(n,2):0}function ax(n){const e=ut(n.pluralIndex)?n.pluralIndex:-1;return n.named&&(ut(n.named.count)||ut(n.named.n))?ut(n.named.count)?n.named.count:ut(n.named.n)?n.named.n:e:e}function lx(n,e){e.count||(e.count=n),e.n||(e.n=n)}function cx(n={}){const e=n.locale,t=ax(n),r=je(n.pluralRules)&&_e(e)&&Qe(n.pluralRules[e])?n.pluralRules[e]:b2,o=je(n.pluralRules)&&_e(e)&&Qe(n.pluralRules[e])?b2:void 0,s=C=>C[r(t,C.length,o)],i=n.list||[],l=C=>i[C],a=n.named||Ke();ut(n.pluralIndex)&&lx(t,a);const u=C=>a[C];function d(C){const b=Qe(n.messages)?n.messages(C):je(n.messages)?n.messages[C]:!1;return b||(n.parent?n.parent.message(C):rx)}const f=C=>n.modifiers?n.modifiers[C]:nx,h=He(n.processor)&&Qe(n.processor.normalize)?n.processor.normalize:sx,p=He(n.processor)&&Qe(n.processor.interpolate)?n.processor.interpolate:ix,m=He(n.processor)&&_e(n.processor.type)?n.processor.type:ox,y={list:l,named:u,plural:s,linked:(C,...b)=>{const[E,v]=b;let N="text",w="";b.length===1?je(E)?(w=E.modifier||w,N=E.type||N):_e(E)&&(w=E||w):b.length===2&&(_e(E)&&(w=E||w),_e(v)&&(N=v||N));const x=d(C)(y),B=N==="vnode"&&st(x)&&w?x[0]:x;return w?f(w)(B,N):B},message:d,type:m,interpolate:p,normalize:h,values:Ct(Ke(),i,a)};return y}let Xs=null;function ux(n){Xs=n}function dx(n,e,t){Xs&&Xs.emit("i18n:init",{timestamp:Date.now(),i18n:n,version:e,meta:t})}const fx=hx("function:translate");function hx(n){return e=>Xs&&Xs.emit(n,e)}const w2=ul.__EXTEND_POINT__,io=il(w2),xt={NOT_FOUND_KEY:w2,FALLBACK_TO_TRANSLATE:io(),CANNOT_FORMAT_NUMBER:io(),FALLBACK_TO_NUMBER_FORMAT:io(),CANNOT_FORMAT_DATE:io(),FALLBACK_TO_DATE_FORMAT:io(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:io(),__EXTEND_POINT__:io()},px={[xt.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[xt.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[xt.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[xt.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[xt.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[xt.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[xt.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:"This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."};function ao(n,...e){return sd(px[n],...e)}const T2=De.__EXTEND_POINT__,lo=il(T2),dt={INVALID_ARGUMENT:T2,INVALID_DATE_ARGUMENT:lo(),INVALID_ISO_DATE_ARGUMENT:lo(),NOT_SUPPORT_NON_STRING_MESSAGE:lo(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:lo(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:lo(),NOT_SUPPORT_LOCALE_TYPE:lo(),__EXTEND_POINT__:lo()};function On(n){return Xo(n,null,process.env.NODE_ENV!=="production"?{messages:mx}:void 0)}const mx={[dt.INVALID_ARGUMENT]:"Invalid arguments",[dt.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[dt.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[dt.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[dt.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[dt.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[dt.NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function ld(n,e){return e.locale!=null?S2(e.locale):S2(n.locale)}let cd;function S2(n){if(_e(n))return n;if(Qe(n)){if(n.resolvedOnce&&cd!=null)return cd;if(n.constructor.name==="Function"){const e=n();if(oI(e))throw On(dt.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return cd=e}else throw On(dt.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw On(dt.NOT_SUPPORT_LOCALE_TYPE)}function gx(n,e,t){return[...new Set([t,...st(e)?e:je(e)?Object.keys(e):_e(e)?[e]:[t]])]}function _2(n,e,t){const r=_e(t)?t:qs,o=n;o.__localeChainCache||(o.__localeChainCache=new Map);let s=o.__localeChainCache.get(r);if(!s){s=[];let i=[t];for(;st(i);)i=k2(s,i,e);const l=st(e)||!He(e)?e:e.default?e.default:null;i=_e(l)?[l]:l,st(i)&&k2(s,i,!1),o.__localeChainCache.set(r,s)}return s}function k2(n,e,t){let r=!0;for(let o=0;o<e.length&&Ge(r);o++){const s=e[o];_e(s)&&(r=yx(n,e[o],t))}return r}function yx(n,e,t){let r;const o=e.split("-");do{const s=o.join("-");r=vx(n,s,t),o.splice(-1,1)}while(o.length&&r===!0);return r}function vx(n,e,t){let r=!1;if(!n.includes(e)&&(r=!0,e)){r=e[e.length-1]!=="!";const o=e.replace(/!/g,"");n.push(o),(st(t)||He(t))&&t[o]&&(r=t[o])}return r}const Ex="9.14.4",fl=-1,qs="en-US",hl="",N2=n=>`${n.charAt(0).toLocaleUpperCase()}${n.substr(1)}`;function Cx(){return{upper:(n,e)=>e==="text"&&_e(n)?n.toUpperCase():e==="vnode"&&je(n)&&"__v_isVNode"in n?n.children.toUpperCase():n,lower:(n,e)=>e==="text"&&_e(n)?n.toLowerCase():e==="vnode"&&je(n)&&"__v_isVNode"in n?n.children.toLowerCase():n,capitalize:(n,e)=>e==="text"&&_e(n)?N2(n):e==="vnode"&&je(n)&&"__v_isVNode"in n?N2(n.children):n}}let I2;function x2(n){I2=n}let M2;function Ax(n){M2=n}let O2;function bx(n){O2=n}let L2=null;const wx=n=>{L2=n},Tx=()=>L2;let D2=null;const R2=n=>{D2=n},Sx=()=>D2;let B2=0;function _x(n={}){const e=Qe(n.onWarn)?n.onWarn:Gn,t=_e(n.version)?n.version:Ex,r=_e(n.locale)||Qe(n.locale)?n.locale:qs,o=Qe(r)?qs:r,s=st(n.fallbackLocale)||He(n.fallbackLocale)||_e(n.fallbackLocale)||n.fallbackLocale===!1?n.fallbackLocale:o,i=He(n.messages)?n.messages:ud(o),l=He(n.datetimeFormats)?n.datetimeFormats:ud(o),a=He(n.numberFormats)?n.numberFormats:ud(o),u=Ct(Ke(),n.modifiers,Cx()),d=n.pluralRules||Ke(),f=Qe(n.missing)?n.missing:null,h=Ge(n.missingWarn)||Jo(n.missingWarn)?n.missingWarn:!0,p=Ge(n.fallbackWarn)||Jo(n.fallbackWarn)?n.fallbackWarn:!0,m=!!n.fallbackFormat,g=!!n.unresolving,y=Qe(n.postTranslation)?n.postTranslation:null,C=He(n.processor)?n.processor:null,b=Ge(n.warnHtmlMessage)?n.warnHtmlMessage:!0,E=!!n.escapeParameter,v=Qe(n.messageCompiler)?n.messageCompiler:I2;process.env.NODE_ENV!=="production"&&Qe(n.messageCompiler)&&o2(ao(xt.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const N=Qe(n.messageResolver)?n.messageResolver:M2||ex,w=Qe(n.localeFallbacker)?n.localeFallbacker:O2||gx,x=je(n.fallbackContext)?n.fallbackContext:void 0,B=n,R=je(B.__datetimeFormatters)?B.__datetimeFormatters:new Map,U=je(B.__numberFormatters)?B.__numberFormatters:new Map,$=je(B.__meta)?B.__meta:{};B2++;const P={version:t,cid:B2,locale:r,fallbackLocale:s,messages:i,modifiers:u,pluralRules:d,missing:f,missingWarn:h,fallbackWarn:p,fallbackFormat:m,unresolving:g,postTranslation:y,processor:C,warnHtmlMessage:b,escapeParameter:E,messageCompiler:v,messageResolver:N,localeFallbacker:w,fallbackContext:x,onWarn:e,__meta:$};return P.datetimeFormats=l,P.numberFormats=a,P.__datetimeFormatters=R,P.__numberFormatters=U,process.env.NODE_ENV!=="production"&&(P.__v_emitter=B.__v_emitter!=null?B.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&dx(P,t,$),P}const ud=n=>({[n]:Ke()});function pl(n,e){return n instanceof RegExp?n.test(e):n}function P2(n,e){return n instanceof RegExp?n.test(e):n}function dd(n,e,t,r,o){const{missing:s,onWarn:i}=n;if(process.env.NODE_ENV!=="production"){const l=n.__v_emitter;l&&l.emit("missing",{locale:t,key:e,type:o,groupId:`${o}:${e}`})}if(s!==null){const l=s(n,t,e,o);return _e(l)?l:e}else return process.env.NODE_ENV!=="production"&&P2(r,e)&&i(ao(xt.NOT_FOUND_KEY,{key:e,locale:t})),e}function ei(n,e,t){const r=n;r.__localeChainCache=new Map,n.localeFallbacker(n,t,e)}function F2(n,e){return n===e?!1:n.split("-")[0]===e.split("-")[0]}function kx(n,e){const t=e.indexOf(n);if(t===-1)return!1;for(let r=t+1;r<e.length;r++)if(F2(n,e[r]))return!0;return!1}function fd(n){return t=>Nx(t,n)}function Nx(n,e){const t=zI(e);if(t==null)throw Js(0);if(ad(t)===1){const s=HI(t);return n.plural(s.reduce((i,l)=>[...i,V2(n,l)],[]))}else return V2(n,t)}function V2(n,e){const t=jI(e);if(t!=null)return n.type==="text"?t:n.normalize([t]);{const r=WI(e).reduce((o,s)=>[...o,hd(n,s)],[]);return n.normalize(r)}}function hd(n,e){const t=ad(e);switch(t){case 3:return dl(e,t);case 9:return dl(e,t);case 4:{const r=e;if(gn(r,"k")&&r.k)return n.interpolate(n.named(r.k));if(gn(r,"key")&&r.key)return n.interpolate(n.named(r.key));throw Js(t)}case 5:{const r=e;if(gn(r,"i")&&ut(r.i))return n.interpolate(n.list(r.i));if(gn(r,"index")&&ut(r.index))return n.interpolate(n.list(r.index));throw Js(t)}case 6:{const r=e,o=KI(r),s=YI(r);return n.linked(hd(n,s),o?hd(n,o):void 0,n.type)}case 7:return dl(e,t);case 8:return dl(e,t);default:throw new Error(`unhandled node on format message part: ${t}`)}}const Ix="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function $2(n,e){e&&yI(n)&&Gn(sd(Ix,{source:n}))}const U2=n=>n;let ts=Ke();function z2(n){n.code===ul.USE_MODULO_SYNTAX&&Gn(`The use of named interpolation with modulo syntax is deprecated. It will be removed in v10.
|
|
198
198
|
reference: https://vue-i18n.intlify.dev/guide/essentials/syntax#rails-i18n-format
|
|
199
|
-
(message compiler warning message: ${n.message})`)}function H2(n,e={}){let t=!1;const r=e.onError||
|
|
200
|
-
${u}`:a)}else throw i},onCacheKey:i=>
|
|
199
|
+
(message compiler warning message: ${n.message})`)}function H2(n,e={}){let t=!1;const r=e.onError||mI;return e.onError=o=>{t=!0,r(o)},{...$I(n,e),detectError:t}}const xx=(n,e)=>{if(!_e(n))throw On(dt.NOT_SUPPORT_NON_STRING_MESSAGE);process.env.NODE_ENV!=="production"&&(e.onWarn=z2);{const t=Ge(e.warnHtmlMessage)?e.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&$2(n,t);const o=(e.onCacheKey||U2)(n),s=ts[o];if(s)return s;const{code:i,detectError:l}=H2(n,e),a=new Function(`return ${i}`)();return l?a:ts[o]=a}};function Mx(n,e){if(process.env.NODE_ENV!=="production"&&(e.onWarn=z2),__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&_e(n)){const t=Ge(e.warnHtmlMessage)?e.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&$2(n,t);const o=(e.onCacheKey||U2)(n),s=ts[o];if(s)return s;const{ast:i,detectError:l}=H2(n,{...e,location:process.env.NODE_ENV!=="production",jit:!0}),a=fd(i);return l?a:ts[o]=a}else{if(process.env.NODE_ENV!=="production"&&!vn(n))return Gn(`the message that is resolve with key '${e.key}' is not supported for jit compilation`),()=>n;const t=n.cacheKey;if(t){const r=ts[t];return r||(ts[t]=fd(n))}else return fd(n)}}const j2=()=>"",rn=n=>Qe(n);function W2(n,...e){const{fallbackFormat:t,postTranslation:r,unresolving:o,messageCompiler:s,fallbackLocale:i,messages:l}=n,[a,u]=pd(...e),d=Ge(u.missingWarn)?u.missingWarn:n.missingWarn,f=Ge(u.fallbackWarn)?u.fallbackWarn:n.fallbackWarn,h=Ge(u.escapeParameter)?u.escapeParameter:n.escapeParameter,p=!!u.resolvedMessage,m=_e(u.default)||Ge(u.default)?Ge(u.default)?s?a:()=>a:u.default:t?s?a:()=>a:"",g=t||m!=="",y=ld(n,u);h&&Ox(u);let[C,b,E]=p?[a,y,l[y]||Ke()]:K2(n,a,y,i,f,d),v=C,N=a;if(!p&&!(_e(v)||vn(v)||rn(v))&&g&&(v=m,N=v),!p&&(!(_e(v)||vn(v)||rn(v))||!_e(b)))return o?fl:a;if(process.env.NODE_ENV!=="production"&&_e(v)&&n.messageCompiler==null)return Gn(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${a}'.`),a;let w=!1;const x=()=>{w=!0},B=rn(v)?v:Y2(n,a,b,v,N,x);if(w)return v;const R=Bx(n,b,E,u),U=cx(R),$=Lx(n,B,U),P=r?r($,a):$;if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const Y={timestamp:Date.now(),key:_e(a)?a:rn(v)?v.key:"",locale:b||(rn(v)?v.locale:""),format:_e(v)?v:rn(v)?v.source:"",message:P};Y.meta=Ct({},n.__meta,Tx()||{}),fx(Y)}return P}function Ox(n){st(n.list)?n.list=n.list.map(e=>_e(e)?q0(e):e):je(n.named)&&Object.keys(n.named).forEach(e=>{_e(n.named[e])&&(n.named[e]=q0(n.named[e]))})}function K2(n,e,t,r,o,s){const{messages:i,onWarn:l,messageResolver:a,localeFallbacker:u}=n,d=u(n,r,t);let f=Ke(),h,p=null,m=t,g=null;const y="translate";for(let C=0;C<d.length;C++){if(h=g=d[C],process.env.NODE_ENV!=="production"&&t!==h&&!F2(t,h)&&pl(o,e)&&l(ao(xt.FALLBACK_TO_TRANSLATE,{key:e,target:h})),process.env.NODE_ENV!=="production"&&t!==h){const N=n.__v_emitter;N&&N.emit("fallback",{type:y,key:e,from:m,to:g,groupId:`${y}:${e}`})}f=i[h]||Ke();let b=null,E,v;if(process.env.NODE_ENV!=="production"&&Wn&&(b=window.performance.now(),E="intlify-message-resolve-start",v="intlify-message-resolve-end",Kt&&Kt(E)),(p=a(f,e))===null&&(p=f[e]),process.env.NODE_ENV!=="production"&&Wn){const N=window.performance.now(),w=n.__v_emitter;w&&b&&p&&w.emit("message-resolve",{type:"message-resolve",key:e,message:p,time:N-b,groupId:`${y}:${e}`}),E&&v&&Kt&&so&&(Kt(v),so("intlify message resolve",E,v))}if(_e(p)||vn(p)||rn(p))break;if(!kx(h,d)){const N=dd(n,e,h,s,y);N!==e&&(p=N)}m=g}return[p,h,f]}function Y2(n,e,t,r,o,s){const{messageCompiler:i,warnHtmlMessage:l}=n;if(rn(r)){const h=r;return h.locale=h.locale||t,h.key=h.key||e,h}if(i==null){const h=()=>r;return h.locale=t,h.key=e,h}let a=null,u,d;process.env.NODE_ENV!=="production"&&Wn&&(a=window.performance.now(),u="intlify-message-compilation-start",d="intlify-message-compilation-end",Kt&&Kt(u));const f=i(r,Dx(n,t,o,r,l,s));if(process.env.NODE_ENV!=="production"&&Wn){const h=window.performance.now(),p=n.__v_emitter;p&&a&&p.emit("message-compilation",{type:"message-compilation",message:r,time:h-a,groupId:`translate:${e}`}),u&&d&&Kt&&so&&(Kt(d),so("intlify message compilation",u,d))}return f.locale=t,f.key=e,f.source=r,f}function Lx(n,e,t){let r=null,o,s;process.env.NODE_ENV!=="production"&&Wn&&(r=window.performance.now(),o="intlify-message-evaluation-start",s="intlify-message-evaluation-end",Kt&&Kt(o));const i=e(t);if(process.env.NODE_ENV!=="production"&&Wn){const l=window.performance.now(),a=n.__v_emitter;a&&r&&a.emit("message-evaluation",{type:"message-evaluation",value:i,time:l-r,groupId:`translate:${e.key}`}),o&&s&&Kt&&so&&(Kt(s),so("intlify message evaluation",o,s))}return i}function pd(...n){const[e,t,r]=n,o=Ke();if(!_e(e)&&!ut(e)&&!rn(e)&&!vn(e))throw On(dt.INVALID_ARGUMENT);const s=ut(e)?String(e):(rn(e),e);return ut(t)?o.plural=t:_e(t)?o.default=t:He(t)&&!sl(t)?o.named=t:st(t)&&(o.list=t),ut(r)?o.plural=r:_e(r)?o.default=r:He(r)&&Ct(o,r),[s,o]}function Dx(n,e,t,r,o,s){return{locale:e,key:t,warnHtmlMessage:o,onError:i=>{if(s&&s(i),process.env.NODE_ENV!=="production"){const l=Rx(r),a=`Message compilation error: ${i.message}`,u=i.location&&l&&aI(l,i.location.start.offset,i.location.end.offset),d=n.__v_emitter;d&&l&&d.emit("compile-error",{message:l,error:i.message,start:i.location&&i.location.start.offset,end:i.location&&i.location.end.offset,groupId:`translate:${t}`}),console.error(u?`${a}
|
|
200
|
+
${u}`:a)}else throw i},onCacheKey:i=>qN(e,t,i)}}function Rx(n){if(_e(n))return n;if(n.loc&&n.loc.source)return n.loc.source}function Bx(n,e,t,r){const{modifiers:o,pluralRules:s,messageResolver:i,fallbackLocale:l,fallbackWarn:a,missingWarn:u,fallbackContext:d}=n,h={locale:e,modifiers:o,pluralRules:s,messages:p=>{let m=i(t,p);if(m==null&&d){const[,,g]=K2(d,p,e,l,a,u);m=i(g,p)}if(_e(m)||vn(m)){let g=!1;const C=Y2(n,p,e,m,p,()=>{g=!0});return g?j2:C}else return rn(m)?m:j2}};return n.processor&&(h.processor=n.processor),r.list&&(h.list=r.list),r.named&&(h.named=r.named),ut(r.plural)&&(h.pluralIndex=r.plural),h}const G2=typeof Intl<"u",Q2={dateTimeFormat:G2&&typeof Intl.DateTimeFormat<"u",numberFormat:G2&&typeof Intl.NumberFormat<"u"};function Z2(n,...e){const{datetimeFormats:t,unresolving:r,fallbackLocale:o,onWarn:s,localeFallbacker:i}=n,{__datetimeFormatters:l}=n;if(process.env.NODE_ENV!=="production"&&!Q2.dateTimeFormat)return s(ao(xt.CANNOT_FORMAT_DATE)),hl;const[a,u,d,f]=md(...e),h=Ge(d.missingWarn)?d.missingWarn:n.missingWarn,p=Ge(d.fallbackWarn)?d.fallbackWarn:n.fallbackWarn,m=!!d.part,g=ld(n,d),y=i(n,o,g);if(!_e(a)||a==="")return new Intl.DateTimeFormat(g,f).format(u);let C={},b,E=null,v=g,N=null;const w="datetime format";for(let R=0;R<y.length;R++){if(b=N=y[R],process.env.NODE_ENV!=="production"&&g!==b&&pl(p,a)&&s(ao(xt.FALLBACK_TO_DATE_FORMAT,{key:a,target:b})),process.env.NODE_ENV!=="production"&&g!==b){const U=n.__v_emitter;U&&U.emit("fallback",{type:w,key:a,from:v,to:N,groupId:`${w}:${a}`})}if(C=t[b]||{},E=C[a],He(E))break;dd(n,a,b,h,w),v=N}if(!He(E)||!_e(b))return r?fl:a;let x=`${b}__${a}`;sl(f)||(x=`${x}__${JSON.stringify(f)}`);let B=l.get(x);return B||(B=new Intl.DateTimeFormat(b,Ct({},E,f)),l.set(x,B)),m?B.formatToParts(u):B.format(u)}const J2=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function md(...n){const[e,t,r,o]=n,s=Ke();let i=Ke(),l;if(_e(e)){const a=e.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!a)throw On(dt.INVALID_ISO_DATE_ARGUMENT);const u=a[3]?a[3].trim().startsWith("T")?`${a[1].trim()}${a[3].trim()}`:`${a[1].trim()}T${a[3].trim()}`:a[1].trim();l=new Date(u);try{l.toISOString()}catch{throw On(dt.INVALID_ISO_DATE_ARGUMENT)}}else if(tI(e)){if(isNaN(e.getTime()))throw On(dt.INVALID_DATE_ARGUMENT);l=e}else if(ut(e))l=e;else throw On(dt.INVALID_ARGUMENT);return _e(t)?s.key=t:He(t)&&Object.keys(t).forEach(a=>{J2.includes(a)?i[a]=t[a]:s[a]=t[a]}),_e(r)?s.locale=r:He(r)&&(i=r),He(o)&&(i=o),[s.key||"",l,s,i]}function X2(n,e,t){const r=n;for(const o in t){const s=`${e}__${o}`;r.__datetimeFormatters.has(s)&&r.__datetimeFormatters.delete(s)}}function q2(n,...e){const{numberFormats:t,unresolving:r,fallbackLocale:o,onWarn:s,localeFallbacker:i}=n,{__numberFormatters:l}=n;if(process.env.NODE_ENV!=="production"&&!Q2.numberFormat)return s(ao(xt.CANNOT_FORMAT_NUMBER)),hl;const[a,u,d,f]=gd(...e),h=Ge(d.missingWarn)?d.missingWarn:n.missingWarn,p=Ge(d.fallbackWarn)?d.fallbackWarn:n.fallbackWarn,m=!!d.part,g=ld(n,d),y=i(n,o,g);if(!_e(a)||a==="")return new Intl.NumberFormat(g,f).format(u);let C={},b,E=null,v=g,N=null;const w="number format";for(let R=0;R<y.length;R++){if(b=N=y[R],process.env.NODE_ENV!=="production"&&g!==b&&pl(p,a)&&s(ao(xt.FALLBACK_TO_NUMBER_FORMAT,{key:a,target:b})),process.env.NODE_ENV!=="production"&&g!==b){const U=n.__v_emitter;U&&U.emit("fallback",{type:w,key:a,from:v,to:N,groupId:`${w}:${a}`})}if(C=t[b]||{},E=C[a],He(E))break;dd(n,a,b,h,w),v=N}if(!He(E)||!_e(b))return r?fl:a;let x=`${b}__${a}`;sl(f)||(x=`${x}__${JSON.stringify(f)}`);let B=l.get(x);return B||(B=new Intl.NumberFormat(b,Ct({},E,f)),l.set(x,B)),m?B.formatToParts(u):B.format(u)}const eg=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function gd(...n){const[e,t,r,o]=n,s=Ke();let i=Ke();if(!ut(e))throw On(dt.INVALID_ARGUMENT);const l=e;return _e(t)?s.key=t:He(t)&&Object.keys(t).forEach(a=>{eg.includes(a)?i[a]=t[a]:s[a]=t[a]}),_e(r)?s.locale=r:He(r)&&(i=r),He(o)&&(i=o),[s.key||"",l,s,i]}function tg(n,e,t){const r=n;for(const o in t){const s=`${e}__${o}`;r.__numberFormatters.has(s)&&r.__numberFormatters.delete(s)}}UI();/*!
|
|
201
201
|
* vue-i18n v9.14.4
|
|
202
202
|
* (c) 2025 kazuya kawaguchi
|
|
203
203
|
* Released under the MIT License.
|
|
204
|
-
*/const Bx="9.14.4";function Px(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Yn().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Yn().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Yn().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Yn().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Yn().__INTLIFY_PROD_DEVTOOLS__=!1)}const ng=xt.__EXTEND_POINT__,Zn=sl(ng),Ft={FALLBACK_TO_ROOT:ng,NOT_SUPPORTED_PRESERVE:Zn(),NOT_SUPPORTED_FORMATTER:Zn(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:Zn(),NOT_SUPPORTED_GET_CHOICE_INDEX:Zn(),COMPONENT_NAME_LEGACY_COMPATIBLE:Zn(),NOT_FOUND_PARENT_SCOPE:Zn(),IGNORE_OBJ_FLATTEN:Zn(),NOTICE_DROP_ALLOW_COMPOSITION:Zn(),NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG:Zn()},Fx={[Ft.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[Ft.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[Ft.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[Ft.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[Ft.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[Ft.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[Ft.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[Ft.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[Ft.NOTICE_DROP_ALLOW_COMPOSITION]:"'allowComposition' option will be dropped in the next major version. For more information, please see 👉 https://tinyurl.com/2p97mcze",[Ft.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG]:"'translateExistCompatible' option will be dropped in the next major version."};function pl(n,...e){return od(Fx[n],...e)}const rg=dt.__EXTEND_POINT__,Vt=sl(rg),Xe={UNEXPECTED_RETURN_TYPE:rg,INVALID_ARGUMENT:Vt(),MUST_BE_CALL_SETUP_TOP:Vt(),NOT_INSTALLED:Vt(),NOT_AVAILABLE_IN_LEGACY_MODE:Vt(),REQUIRED_VALUE:Vt(),INVALID_VALUE:Vt(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Vt(),NOT_INSTALLED_WITH_PROVIDE:Vt(),UNEXPECTED_ERROR:Vt(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Vt(),BRIDGE_SUPPORT_VUE_2_ONLY:Vt(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Vt(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Vt(),__EXTEND_POINT__:Vt()};function kr(n,...e){return Xo(n,null,process.env.NODE_ENV!=="production"?{messages:Vx,args:e}:void 0)}const Vx={[Xe.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[Xe.INVALID_ARGUMENT]:"Invalid argument",[Xe.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[Xe.NOT_INSTALLED]:"Need to install with `app.use` function",[Xe.UNEXPECTED_ERROR]:"Unexpected error",[Xe.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[Xe.REQUIRED_VALUE]:"Required in value: {0}",[Xe.INVALID_VALUE]:"Invalid value",[Xe.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[Xe.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[Xe.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[Xe.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[Xe.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION]:"Must define ‘i18n’ option or custom block in Composition API with using local scope in Legacy API mode",[Xe.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},gd=Kn("__translateVNode"),yd=Kn("__datetimeParts"),vd=Kn("__numberParts"),Ed=Kn("__enableEmitter"),Cd=Kn("__disableEmitter"),$x=Kn("__setPluralRules"),og=Kn("__injectWithOption"),Ad=Kn("__dispose");function qs(n){if(!je(n)||vn(n))return n;for(const e in n)if(gn(n,e))if(!e.includes("."))je(n[e])&&qs(n[e]);else{const t=e.split("."),r=t.length-1;let o=n,s=!1;for(let i=0;i<r;i++){if(t[i]==="__proto__")throw new Error(`unsafe key: ${t[i]}`);if(t[i]in o||(o[t[i]]=Ke()),!je(o[t[i]])){process.env.NODE_ENV!=="production"&&Gn(pl(Ft.IGNORE_OBJ_FLATTEN,{key:t[i]})),s=!0;break}o=o[t[i]]}if(s||(vn(o)?C2.includes(t[r])||delete n[e]:(o[t[r]]=n[e],delete n[e])),!vn(o)){const i=o[t[r]];je(i)&&qs(i)}}return n}function bd(n,e){const{messages:t,__i18n:r,messageResolver:o,flatJson:s}=e,i=He(t)?t:st(r)?Ke():{[n]:Ke()};if(st(r)&&r.forEach(l=>{if("locale"in l&&"resource"in l){const{locale:a,resource:u}=l;a?(i[a]=i[a]||Ke(),al(u,i[a])):al(u,i)}else _e(l)&&al(JSON.parse(l),i)}),o==null&&s)for(const l in i)gn(i,l)&&qs(i[l]);return i}function sg(n){return n.type}function Ux(n,e,t){let r=je(e.messages)?e.messages:Ke();"__i18nGlobal"in t&&(r=bd(n.locale.value,{messages:r,__i18n:t.__i18nGlobal}));const o=Object.keys(r);o.length&&o.forEach(s=>{n.mergeLocaleMessage(s,r[s])});{if(je(e.datetimeFormats)){const s=Object.keys(e.datetimeFormats);s.length&&s.forEach(i=>{n.mergeDateTimeFormat(i,e.datetimeFormats[i])})}if(je(e.numberFormats)){const s=Object.keys(e.numberFormats);s.length&&s.forEach(i=>{n.mergeNumberFormat(i,e.numberFormats[i])})}}}function ig(n){return c.createVNode(c.Text,null,n,0)}const ag="__INTLIFY_META__",lg=()=>[],zx=()=>!1;let cg=0;function ug(n){return(e,t,r,o)=>n(t,r,c.getCurrentInstance()||void 0,o)}const Hx=()=>{const n=c.getCurrentInstance();let e=null;return n&&(e=sg(n)[ag])?{[ag]:e}:null};function jx(n={},e){const{__root:t,__injectWithOption:r}=n,o=t===void 0,s=n.flatJson,i=Wn?c.ref:c.shallowRef,l=!!n.translateExistCompatible;process.env.NODE_ENV!=="production"&&l&&o2(pl(Ft.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG));let a=Ge(n.inheritLocale)?n.inheritLocale:!0;const u=i(t&&a?t.locale.value:_e(n.locale)?n.locale:Js),d=i(t&&a?t.fallbackLocale.value:_e(n.fallbackLocale)||st(n.fallbackLocale)||He(n.fallbackLocale)||n.fallbackLocale===!1?n.fallbackLocale:u.value),f=i(bd(u.value,n)),h=i(He(n.datetimeFormats)?n.datetimeFormats:{[u.value]:{}}),p=i(He(n.numberFormats)?n.numberFormats:{[u.value]:{}});let m=t?t.missingWarn:Ge(n.missingWarn)||Jo(n.missingWarn)?n.missingWarn:!0,g=t?t.fallbackWarn:Ge(n.fallbackWarn)||Jo(n.fallbackWarn)?n.fallbackWarn:!0,y=t?t.fallbackRoot:Ge(n.fallbackRoot)?n.fallbackRoot:!0,C=!!n.fallbackFormat,w=Qe(n.missing)?n.missing:null,E=Qe(n.missing)?ug(n.missing):null,v=Qe(n.postTranslation)?n.postTranslation:null,N=t?t.warnHtmlMessage:Ge(n.warnHtmlMessage)?n.warnHtmlMessage:!0,b=!!n.escapeParameter;const x=t?t.modifiers:He(n.modifiers)?n.modifiers:{};let B=n.pluralRules||t&&t.pluralRules,R;R=(()=>{o&&R2(null);const q={version:Bx,locale:u.value,fallbackLocale:d.value,messages:f.value,modifiers:x,pluralRules:B,missing:E===null?void 0:E,missingWarn:m,fallbackWarn:g,fallbackFormat:C,unresolving:!0,postTranslation:v===null?void 0:v,warnHtmlMessage:N,escapeParameter:b,messageResolver:n.messageResolver,messageCompiler:n.messageCompiler,__meta:{framework:"vue"}};q.datetimeFormats=h.value,q.numberFormats=p.value,q.__datetimeFormatters=He(R)?R.__datetimeFormatters:void 0,q.__numberFormatters=He(R)?R.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(q.__v_emitter=He(R)?R.__v_emitter:void 0);const ie=Sx(q);return o&&R2(ie),ie})(),Xs(R,u.value,d.value);function $(){return[u.value,d.value,f.value,h.value,p.value]}const P=c.computed({get:()=>u.value,set:q=>{u.value=q,R.locale=u.value}}),Y=c.computed({get:()=>d.value,set:q=>{d.value=q,R.fallbackLocale=d.value,Xs(R,u.value,q)}}),G=c.computed(()=>f.value),K=c.computed(()=>h.value),H=c.computed(()=>p.value);function J(){return Qe(v)?v:null}function z(q){v=q,R.postTranslation=q}function ee(){return w}function re(q){q!==null&&(E=ug(q)),w=q,R.missing=E}function ue(q,ie){return q!=="translate"||!ie.resolvedMessage}const ge=(q,ie,be,Pe,qe,nt)=>{$();let Mt;try{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,o||(R.fallbackContext=t?Tx():void 0),Mt=q(R)}finally{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,o||(R.fallbackContext=void 0)}if(be!=="translate exists"&&ut(Mt)&&Mt===dl||be==="translate exists"&&!Mt){const[te,ye]=ie();if(process.env.NODE_ENV!=="production"&&t&&_e(te)&&ue(be,ye)&&(y&&(hl(g,te)||P2(m,te))&&Gn(pl(Ft.FALLBACK_TO_ROOT,{key:te,type:be})),process.env.NODE_ENV!=="production")){const{__v_emitter:me}=R;me&&y&&me.emit("fallback",{type:be,key:te,to:"global",groupId:`${be}:${te}`})}return t&&y?Pe(t):qe(te)}else{if(nt(Mt))return Mt;throw kr(Xe.UNEXPECTED_RETURN_TYPE)}};function Ee(...q){return ge(ie=>Reflect.apply(W2,null,[ie,...q]),()=>hd(...q),"translate",ie=>Reflect.apply(ie.t,ie,[...q]),ie=>ie,ie=>_e(ie))}function Se(...q){const[ie,be,Pe]=q;if(Pe&&!je(Pe))throw kr(Xe.INVALID_ARGUMENT);return Ee(ie,be,Ct({resolvedMessage:!0},Pe||{}))}function ke(...q){return ge(ie=>Reflect.apply(Z2,null,[ie,...q]),()=>pd(...q),"datetime format",ie=>Reflect.apply(ie.d,ie,[...q]),()=>fl,ie=>_e(ie))}function xe(...q){return ge(ie=>Reflect.apply(q2,null,[ie,...q]),()=>md(...q),"number format",ie=>Reflect.apply(ie.n,ie,[...q]),()=>fl,ie=>_e(ie))}function Ae(q){return q.map(ie=>_e(ie)||ut(ie)||Ge(ie)?ig(String(ie)):ie)}const D={normalize:Ae,interpolate:q=>q,type:"vnode"};function I(...q){return ge(ie=>{let be;const Pe=ie;try{Pe.processor=D,be=Reflect.apply(W2,null,[Pe,...q])}finally{Pe.processor=null}return be},()=>hd(...q),"translate",ie=>ie[gd](...q),ie=>[ig(ie)],ie=>st(ie))}function L(...q){return ge(ie=>Reflect.apply(q2,null,[ie,...q]),()=>md(...q),"number format",ie=>ie[vd](...q),lg,ie=>_e(ie)||st(ie))}function A(...q){return ge(ie=>Reflect.apply(Z2,null,[ie,...q]),()=>pd(...q),"datetime format",ie=>ie[yd](...q),lg,ie=>_e(ie)||st(ie))}function T(q){B=q,R.pluralRules=B}function k(q,ie){return ge(()=>{if(!q)return!1;const be=_e(ie)?ie:u.value,Pe=W(be),qe=R.messageResolver(Pe,q);return l?qe!=null:vn(qe)||rn(qe)||_e(qe)},()=>[q],"translate exists",be=>Reflect.apply(be.te,be,[q,ie]),zx,be=>Ge(be))}function M(q){let ie=null;const be=_2(R,d.value,u.value);for(let Pe=0;Pe<be.length;Pe++){const qe=f.value[be[Pe]]||{},nt=R.messageResolver(qe,q);if(nt!=null){ie=nt;break}}return ie}function j(q){const ie=M(q);return ie??(t?t.tm(q)||{}:{})}function W(q){return f.value[q]||{}}function Z(q,ie){if(s){const be={[q]:ie};for(const Pe in be)gn(be,Pe)&&qs(be[Pe]);ie=be[q]}f.value[q]=ie,R.messages=f.value}function X(q,ie){f.value[q]=f.value[q]||{};const be={[q]:ie};if(s)for(const Pe in be)gn(be,Pe)&&qs(be[Pe]);ie=be[q],al(ie,f.value[q]),R.messages=f.value}function S(q){return h.value[q]||{}}function _(q,ie){h.value[q]=ie,R.datetimeFormats=h.value,X2(R,q,ie)}function V(q,ie){h.value[q]=Ct(h.value[q]||{},ie),R.datetimeFormats=h.value,X2(R,q,ie)}function Q(q){return p.value[q]||{}}function ae(q,ie){p.value[q]=ie,R.numberFormats=p.value,tg(R,q,ie)}function pe(q,ie){p.value[q]=Ct(p.value[q]||{},ie),R.numberFormats=p.value,tg(R,q,ie)}cg++,t&&Wn&&(c.watch(t.locale,q=>{a&&(u.value=q,R.locale=q,Xs(R,u.value,d.value))}),c.watch(t.fallbackLocale,q=>{a&&(d.value=q,R.fallbackLocale=q,Xs(R,u.value,d.value))}));const Te={id:cg,locale:P,fallbackLocale:Y,get inheritLocale(){return a},set inheritLocale(q){a=q,q&&t&&(u.value=t.locale.value,d.value=t.fallbackLocale.value,Xs(R,u.value,d.value))},get availableLocales(){return Object.keys(f.value).sort()},messages:G,get modifiers(){return x},get pluralRules(){return B||{}},get isGlobal(){return o},get missingWarn(){return m},set missingWarn(q){m=q,R.missingWarn=m},get fallbackWarn(){return g},set fallbackWarn(q){g=q,R.fallbackWarn=g},get fallbackRoot(){return y},set fallbackRoot(q){y=q},get fallbackFormat(){return C},set fallbackFormat(q){C=q,R.fallbackFormat=C},get warnHtmlMessage(){return N},set warnHtmlMessage(q){N=q,R.warnHtmlMessage=q},get escapeParameter(){return b},set escapeParameter(q){b=q,R.escapeParameter=q},t:Ee,getLocaleMessage:W,setLocaleMessage:Z,mergeLocaleMessage:X,getPostTranslationHandler:J,setPostTranslationHandler:z,getMissingHandler:ee,setMissingHandler:re,[$x]:T};return Te.datetimeFormats=K,Te.numberFormats=H,Te.rt=Se,Te.te=k,Te.tm=j,Te.d=ke,Te.n=xe,Te.getDateTimeFormat=S,Te.setDateTimeFormat=_,Te.mergeDateTimeFormat=V,Te.getNumberFormat=Q,Te.setNumberFormat=ae,Te.mergeNumberFormat=pe,Te[og]=r,Te[gd]=I,Te[yd]=A,Te[vd]=L,process.env.NODE_ENV!=="production"&&(Te[Ed]=q=>{R.__v_emitter=q},Te[Cd]=()=>{R.__v_emitter=void 0}),Te}const wd={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:n=>n==="parent"||n==="global",default:"parent"},i18n:{type:Object}};function Wx({slots:n},e){return e.length===1&&e[0]==="default"?(n.default?n.default():[]).reduce((r,o)=>[...r,...o.type===c.Fragment?o.children:[o]],[]):e.reduce((t,r)=>{const o=n[r];return o&&(t[r]=o()),t},Ke())}function dg(n){return c.Fragment}Ct({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:n=>ut(n)||!isNaN(n)}},wd);function Kx(n){return st(n)&&!_e(n[0])}function fg(n,e,t,r){const{slots:o,attrs:s}=e;return()=>{const i={part:!0};let l=Ke();n.locale&&(i.locale=n.locale),_e(n.format)?i.key=n.format:je(n.format)&&(_e(n.format.key)&&(i.key=n.format.key),l=Object.keys(n.format).reduce((h,p)=>t.includes(p)?Ct(Ke(),h,{[p]:n.format[p]}):h,Ke()));const a=r(n.value,i,l);let u=[i.key];st(a)?u=a.map((h,p)=>{const m=o[h.type],g=m?m({[h.type]:h.value,index:p,parts:a}):[h.value];return Kx(g)&&(g[0].key=`${h.type}-${p}`),g}):_e(a)&&(u=[a]);const d=Ct(Ke(),s),f=_e(n.tag)||je(n.tag)?n.tag:dg();return c.h(f,d,u)}}Ct({value:{type:Number,required:!0},format:{type:[String,Object]}},wd),Ct({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},wd);function hg(n,e){}const Yx=Kn("global-vue-i18n");function ei(n={}){const e=c.getCurrentInstance();if(e==null)throw kr(Xe.MUST_BE_CALL_SETUP_TOP);if(!e.isCE&&e.appContext.app!=null&&!e.appContext.app.__VUE_I18N_SYMBOL__)throw kr(Xe.NOT_INSTALLED);const t=Gx(e),r=Zx(t),o=sg(e),s=Qx(n,o);if(__VUE_I18N_LEGACY_API__&&t.mode==="legacy"&&!n.__useComponent){if(!t.allowComposition)throw kr(Xe.NOT_AVAILABLE_IN_LEGACY_MODE);return eM(e,s,r,n)}if(s==="global")return Ux(r,n,o),r;if(s==="parent"){let a=Jx(t,e,n.__useComponent);return a==null&&(process.env.NODE_ENV!=="production"&&Gn(pl(Ft.NOT_FOUND_PARENT_SCOPE)),a=r),a}const i=t;let l=i.__getInstance(e);if(l==null){const a=Ct({},n);"__i18n"in o&&(a.__i18n=o.__i18n),r&&(a.__root=r),l=jx(a),i.__composerExtend&&(l[Ad]=i.__composerExtend(l)),qx(i,e,l),i.__setInstance(e,l)}return l}function Gx(n){{const e=c.inject(n.isCE?Yx:n.appContext.app.__VUE_I18N_SYMBOL__);if(!e)throw kr(n.isCE?Xe.NOT_INSTALLED_WITH_PROVIDE:Xe.UNEXPECTED_ERROR);return e}}function Qx(n,e){return ol(n)?"__i18n"in e?"local":"global":n.useScope?n.useScope:"local"}function Zx(n){return n.mode==="composition"?n.global:n.global.__composer}function Jx(n,e,t=!1){let r=null;const o=e.root;let s=Xx(e,t);for(;s!=null;){const i=n;if(n.mode==="composition")r=i.__getInstance(s);else if(__VUE_I18N_LEGACY_API__){const l=i.__getInstance(s);l!=null&&(r=l.__composer,t&&r&&!r[og]&&(r=null))}if(r!=null||o===s)break;s=s.parent}return r}function Xx(n,e=!1){return n==null?null:e&&n.vnode.ctx||n.parent}function qx(n,e,t){let r=null;c.onMounted(()=>{if(process.env.NODE_ENV!=="production"&&e.vnode.el){e.vnode.el.__VUE_I18N__=t,r=aI();const o=t;o[Ed]&&o[Ed](r),r.on("*",hg)}},e),c.onUnmounted(()=>{const o=t;process.env.NODE_ENV!=="production"&&e.vnode.el&&e.vnode.el.__VUE_I18N__&&(r&&r.off("*",hg),o[Cd]&&o[Cd](),delete e.vnode.el.__VUE_I18N__),n.__deleteInstance(e);const s=o[Ad];s&&(s(),delete o[Ad])},e)}function eM(n,e,t,r={}){const o=e==="local",s=c.shallowRef(null);if(o&&n.proxy&&!(n.proxy.$options.i18n||n.proxy.$options.__i18n))throw kr(Xe.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const i=Ge(r.inheritLocale)?r.inheritLocale:!_e(r.locale),l=c.ref(!o||i?t.locale.value:_e(r.locale)?r.locale:Js),a=c.ref(!o||i?t.fallbackLocale.value:_e(r.fallbackLocale)||st(r.fallbackLocale)||He(r.fallbackLocale)||r.fallbackLocale===!1?r.fallbackLocale:l.value),u=c.ref(bd(l.value,r)),d=c.ref(He(r.datetimeFormats)?r.datetimeFormats:{[l.value]:{}}),f=c.ref(He(r.numberFormats)?r.numberFormats:{[l.value]:{}}),h=o?t.missingWarn:Ge(r.missingWarn)||Jo(r.missingWarn)?r.missingWarn:!0,p=o?t.fallbackWarn:Ge(r.fallbackWarn)||Jo(r.fallbackWarn)?r.fallbackWarn:!0,m=o?t.fallbackRoot:Ge(r.fallbackRoot)?r.fallbackRoot:!0,g=!!r.fallbackFormat,y=Qe(r.missing)?r.missing:null,C=Qe(r.postTranslation)?r.postTranslation:null,w=o?t.warnHtmlMessage:Ge(r.warnHtmlMessage)?r.warnHtmlMessage:!0,E=!!r.escapeParameter,v=o?t.modifiers:He(r.modifiers)?r.modifiers:{},N=r.pluralRules||o&&t.pluralRules;function b(){return[l.value,a.value,u.value,d.value,f.value]}const x=c.computed({get:()=>s.value?s.value.locale.value:l.value,set:k=>{s.value&&(s.value.locale.value=k),l.value=k}}),B=c.computed({get:()=>s.value?s.value.fallbackLocale.value:a.value,set:k=>{s.value&&(s.value.fallbackLocale.value=k),a.value=k}}),R=c.computed(()=>s.value?s.value.messages.value:u.value),U=c.computed(()=>d.value),$=c.computed(()=>f.value);function P(){return s.value?s.value.getPostTranslationHandler():C}function Y(k){s.value&&s.value.setPostTranslationHandler(k)}function G(){return s.value?s.value.getMissingHandler():y}function K(k){s.value&&s.value.setMissingHandler(k)}function H(k){return b(),k()}function J(...k){return s.value?H(()=>Reflect.apply(s.value.t,null,[...k])):H(()=>"")}function z(...k){return s.value?Reflect.apply(s.value.rt,null,[...k]):""}function ee(...k){return s.value?H(()=>Reflect.apply(s.value.d,null,[...k])):H(()=>"")}function re(...k){return s.value?H(()=>Reflect.apply(s.value.n,null,[...k])):H(()=>"")}function ue(k){return s.value?s.value.tm(k):{}}function ge(k,M){return s.value?s.value.te(k,M):!1}function Ee(k){return s.value?s.value.getLocaleMessage(k):{}}function Se(k,M){s.value&&(s.value.setLocaleMessage(k,M),u.value[k]=M)}function ke(k,M){s.value&&s.value.mergeLocaleMessage(k,M)}function xe(k){return s.value?s.value.getDateTimeFormat(k):{}}function Ae(k,M){s.value&&(s.value.setDateTimeFormat(k,M),d.value[k]=M)}function O(k,M){s.value&&s.value.mergeDateTimeFormat(k,M)}function D(k){return s.value?s.value.getNumberFormat(k):{}}function I(k,M){s.value&&(s.value.setNumberFormat(k,M),f.value[k]=M)}function L(k,M){s.value&&s.value.mergeNumberFormat(k,M)}const A={get id(){return s.value?s.value.id:-1},locale:x,fallbackLocale:B,messages:R,datetimeFormats:U,numberFormats:$,get inheritLocale(){return s.value?s.value.inheritLocale:i},set inheritLocale(k){s.value&&(s.value.inheritLocale=k)},get availableLocales(){return s.value?s.value.availableLocales:Object.keys(u.value)},get modifiers(){return s.value?s.value.modifiers:v},get pluralRules(){return s.value?s.value.pluralRules:N},get isGlobal(){return s.value?s.value.isGlobal:!1},get missingWarn(){return s.value?s.value.missingWarn:h},set missingWarn(k){s.value&&(s.value.missingWarn=k)},get fallbackWarn(){return s.value?s.value.fallbackWarn:p},set fallbackWarn(k){s.value&&(s.value.missingWarn=k)},get fallbackRoot(){return s.value?s.value.fallbackRoot:m},set fallbackRoot(k){s.value&&(s.value.fallbackRoot=k)},get fallbackFormat(){return s.value?s.value.fallbackFormat:g},set fallbackFormat(k){s.value&&(s.value.fallbackFormat=k)},get warnHtmlMessage(){return s.value?s.value.warnHtmlMessage:w},set warnHtmlMessage(k){s.value&&(s.value.warnHtmlMessage=k)},get escapeParameter(){return s.value?s.value.escapeParameter:E},set escapeParameter(k){s.value&&(s.value.escapeParameter=k)},t:J,getPostTranslationHandler:P,setPostTranslationHandler:Y,getMissingHandler:G,setMissingHandler:K,rt:z,d:ee,n:re,tm:ue,te:ge,getLocaleMessage:Ee,setLocaleMessage:Se,mergeLocaleMessage:ke,getDateTimeFormat:xe,setDateTimeFormat:Ae,mergeDateTimeFormat:O,getNumberFormat:D,setNumberFormat:I,mergeNumberFormat:L};function T(k){k.locale.value=l.value,k.fallbackLocale.value=a.value,Object.keys(u.value).forEach(M=>{k.mergeLocaleMessage(M,u.value[M])}),Object.keys(d.value).forEach(M=>{k.mergeDateTimeFormat(M,d.value[M])}),Object.keys(f.value).forEach(M=>{k.mergeNumberFormat(M,f.value[M])}),k.escapeParameter=E,k.fallbackFormat=g,k.fallbackRoot=m,k.fallbackWarn=p,k.missingWarn=h,k.warnHtmlMessage=w}return c.onBeforeMount(()=>{if(n.proxy==null||n.proxy.$i18n==null)throw kr(Xe.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const k=s.value=n.proxy.$i18n.__composer;e==="global"?(l.value=k.locale.value,a.value=k.fallbackLocale.value,u.value=k.messages.value,d.value=k.datetimeFormats.value,f.value=k.numberFormats.value):o&&T(k)}),A}if(Px(),__INTLIFY_JIT_COMPILATION__?x2(xx):x2(Ix),Cx(ex),Ax(_2),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const n=Yn();n.__INTLIFY__=!0,cx(n.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const tM="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgaGVpZ2h0PSI4MDBweCIKICAgd2lkdGg9IjgwMHB4IgogICB2aWV3Qm94PSIwIDAgODAwIDgwMCIKICAgZmlsbD0ibm9uZSIKICAgdmVyc2lvbj0iMS4xIgogICBpZD0ic3ZnMiIKICAgc29kaXBvZGk6ZG9jbmFtZT0iYmVsbC1pY29uLnN2ZyIKICAgaW5rc2NhcGU6dmVyc2lvbj0iMS40LjIgKGViZjBlOTQsIDIwMjUtMDUtMDgpIgogICB4bWxuczppbmtzY2FwZT0iaHR0cDovL3d3dy5pbmtzY2FwZS5vcmcvbmFtZXNwYWNlcy9pbmtzY2FwZSIKICAgeG1sbnM6c29kaXBvZGk9Imh0dHA6Ly9zb2RpcG9kaS5zb3VyY2Vmb3JnZS5uZXQvRFREL3NvZGlwb2RpLTAuZHRkIgogICB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogIDxkZWZzCiAgICAgaWQ9ImRlZnMyIiAvPgogIDxzb2RpcG9kaTpuYW1lZHZpZXcKICAgICBpZD0ibmFtZWR2aWV3MiIKICAgICBwYWdlY29sb3I9IiNmZmZmZmYiCiAgICAgYm9yZGVyY29sb3I9IiMwMDAwMDAiCiAgICAgYm9yZGVyb3BhY2l0eT0iMC4yNSIKICAgICBpbmtzY2FwZTpzaG93cGFnZXNoYWRvdz0iMiIKICAgICBpbmtzY2FwZTpwYWdlb3BhY2l0eT0iMC4wIgogICAgIGlua3NjYXBlOnBhZ2VjaGVja2VyYm9hcmQ9IjAiCiAgICAgaW5rc2NhcGU6ZGVza2NvbG9yPSIjZDFkMWQxIgogICAgIGlua3NjYXBlOnpvb209IjAuOTM5MDI2MDEiCiAgICAgaW5rc2NhcGU6Y3g9IjM2MS4wMTIzNiIKICAgICBpbmtzY2FwZTpjeT0iNDI1LjQ0MDgyIgogICAgIGlua3NjYXBlOndpbmRvdy13aWR0aD0iMjMyMyIKICAgICBpbmtzY2FwZTp3aW5kb3ctaGVpZ2h0PSIxMzIxIgogICAgIGlua3NjYXBlOndpbmRvdy14PSI2OSIKICAgICBpbmtzY2FwZTp3aW5kb3cteT0iLTkiCiAgICAgaW5rc2NhcGU6d2luZG93LW1heGltaXplZD0iMSIKICAgICBpbmtzY2FwZTpjdXJyZW50LWxheWVyPSJzdmcyIgogICAgIGlua3NjYXBlOmxvY2tndWlkZXM9ImZhbHNlIiAvPgogIDxwYXRoCiAgICAgZmlsbD0iIzM5NDE1NiIKICAgICBkPSJtIDU3NC43MTM0LDUxNy43MDgzOSBjIC00My4wMjM0MywtMTkuNDI5NTggLTQwLjMzOTkxLC05Mi4wMzE3MyAtNDAuMzcxNjYsLTk0LjEzNjAzIGwgLTAuODY0MDMsLTU1LjA4NjIyIGMgLTAuODQ0NTIsLTUzLjg0MjYzIC0zMi43NjI4OSwtMTAxLjAxNzg3IC03OS41MjI2MSwtMTIwLjczMzg5IC0wLjEwMDU1LC0yNy42ODUzOCAtMjYuMjQ3ODcsLTUwLjE3NzEzIC01My45NTM3NSwtNTAuMTc3MTMgLTI3LjcwNjU1LDAgLTUzLjg1MzIsMjIuNDkzMDcgLTUzLjk1NDQyLDUwLjE3NTgxIC00Ni43NTc3NCwxOS43MTYwMSAtNzcuNjczOTUsNjguNjIxNjYgLTc4LjY1NzI0LDEyMi40NjE5MyBsIC0wLjg2NDAzLDQ3LjMxIGMgLTAuMDMwNCwyLjEwNDMgMS43ODc3Myw4MC43NTQ2MyAtNDEuMjM3MDMsMTAwLjE4NDIgLTQuOTAxMjIsMi4yMTQxMiAtNy41OTQ5NCwxMi45NDczIC02LjQ2MTc1LDE4LjIwNTA4IDEuMTMxODcsNS4yNTg0MyAzLjk4MjM3LDE0LjQxMTkgOS4zNjEyMiwxNC40MTE5IGggMTEwLjg3MTE1IGMgMi4yMzU5NSwxMi4zMDAzNSA4LjA1MjA1LDIzLjc0MzM2IDE2Ljk0NzU0LDMzLjAxMTk2IDExLjgxNDgsMTIuMzA5NjEgMjcuNDM5MywxOS4wODg4OCA0My45OTI1NywxOS4wODg4OCAxNi41NTQ2LDAgMzIuMTc5MSwtNi43NzkyNyA0My45OTI1OCwtMTkuMDg4ODggOC44OTY4MSwtOS4yNjkyNSAxNC43MTI5MSwtMjAuNzEyOTQgMTYuOTQ3NTQsLTMzLjAxMTk2IGggMTEwLjg3MTE1IGMgNS4zNzg4NSwwIDguMjI4NjksLTkuMTUyOCA5LjM2MTg5LC0xNC40MTE5IDEuMTM0NDksLTUuMjU3NzggLTEuNTU3ODksLTE1Ljk5MDMgLTYuNDU5MTIsLTE4LjIwMzc1IHogbSAtNjUuNDU3NDIsLTI3Ljc0MTc4IGMgNC41MjI4MiwxMy43MTIwNCA3LjI1NzA3LDE2LjIwNjczIDE2LjMzODQ1LDI3LjY2NTYyIGwgLTI1MC4zOTQ3NSwtMC43OTI3NSBjIDkuMDgwMDUsLTExLjQ1NzU2IDEwLjM3MTQsLTEzLjE1ODg1IDE0Ljg5NDIyLC0yNi44NzI4NyB6IE0gNDAwLjAwMTM1LDIyNC4wMDYyMiBjIDEyLjUzMjU1LDAgMTkuNTMwMTUsNC44MjI1MiAyMi44NDU3LDE2LjMwMTI2IC04LjU0MTU5LC0xLjc3MTU2IC0xMy43ODc0NywtMi43MDU2MyAtMjIuODQ1NywtMi43MDU2MyAtOS4wNTgyMywwIC0xNC4zMDQxMiwwLjkzMzQxIC0yMi44NDU2OSwyLjcwNTYzIDMuMzE2MiwtMTEuNDc4MDggMTAuMzEzODEsLTE2LjMwMTI2IDIyLjg0NTY5LC0xNi4zMDEyNiB6IG0gLTEwMy41ODg0OCwxOTkuNjM0OTQgMS43OTkzMywtNTQuMjIxNyBjIDEuOTYwMjIsLTU5LjA2OTg5IDQyLjY4NTQzLC05Ni42NzQ5NyAxMDEuNzg5MTUsLTk2LjY3NDk3IDU5LjEwMzczLDAgOTkuODk0OTksMzUuODAzNTkgMTAxLjc4OTE2LDk0Ljg3NTY0IGwgMS43OTkzMyw1Ni4xMTQzIGMgMC4wMTUyLDEuNzE3MzEgMS40NzQyMiwxMi41NjgzIDEuMjMyNDMsMzQuNzg2MiBIIDI5NS4xNzc3OCBjIDAuNzE4OTQsLTIyLjIzOTA2IDEuMjIxMTksLTMzLjEyMTggMS4yMzUwOSwtMzQuODc5NDcgeiBtIDEwMy41ODg0OCwxNDguOTY5NzggYyAtMTcuNDI1MTcsMCAtMjUuNDM1NTgsLTUuNTgwMTUgLTMwLjMxNjk0LC0yMi4yODYyNCBoIDYwLjYzMjU3IGMgLTQuODgxMzgsMTYuNzA2MDkgLTEyLjg4OTE0LDIyLjI4NjI0IC0zMC4zMTU2MywyMi4yODYyNCB6IgogICAgIGlkPSJwYXRoMSIKICAgICBzdHlsZT0ic3Ryb2tlLXdpZHRoOjAuODk5NjY2O3N0cm9rZS1kYXNoYXJyYXk6bm9uZSIKICAgICBzb2RpcG9kaTpub2RldHlwZXM9ImNjc2NzY3NjY2NzY2NzY2NzY2NjY2NjY3Njc2NzY3Nzc2NjY2NzY2NzIiAvPgogIDxwYXRoCiAgICAgZmlsbD0iIzM5NDE1NiIKICAgICBkPSJtIDM5Ny45Njk0NCwyODMuMzM2NjkgYyAtNDkuNDE4NTUsMCAtODkuNjIzNjEsNDAuMjAzNzMgLTg5LjYyMzYxLDg5LjYyMTYxIDAsNi4zNDM1NCA1LjE0Mjg2LDExLjQ4NjQgMTEuNDg2MzksMTEuNDg2NCA2LjM0MzU1LDAgMTEuNDg2NDEsLTUuMTQyODYgMTEuNDg2NDEsLTExLjQ4NjQgMCwtMzYuNzUwNzYgMjkuODk5MzgsLTY2LjY0OTQ4IDY2LjY1MTQ4LC02Ni42NDk0OCA2LjM0MzUzLDAgMTEuNDg2MzksLTUuMTQyODUgMTEuNDg2MzksLTExLjQ4NjQgLTYuNmUtNCwtNi4zNDQyIC01LjE0MzUzLC0xMS40ODU3MyAtMTEuNDg3MDYsLTExLjQ4NTczIHoiCiAgICAgaWQ9InBhdGgyIgogICAgIHN0eWxlPSJzdHJva2Utd2lkdGg6MC45MDQ3MTI7c3Ryb2tlLWRhc2hhcnJheTpub25lIgogICAgIHNvZGlwb2RpOm5vZGV0eXBlcz0ic3Nzc3NjcyIgLz4KPC9zdmc+Cg==",pg=async(n,e)=>{const t=n+e,o=new TextEncoder().encode(t),s=await crypto.subtle.digest("SHA-256",o);return Array.from(new Uint8Array(s)).map(l=>l.toString(16).padStart(2,"0")).join("")};function Td(){const n=()=>new Promise(t=>{if(document.readyState==="complete")return t();window.addEventListener("load",()=>t(),{once:!0})});return{OnWindowLoaded:t=>{c.onMounted(()=>n().then(t))}}}const nM=(n,e,t)=>{const{OnWindowLoaded:r}=Td(),o="lkj298fhGGJihge",s=c.ref(!1),i=()=>e+"|"+t();return r(async()=>{if(e==null||t==null||t()==null){s.value=!1;return}const u=i(),d=localStorage.getItem(n),f=JSON.parse(d)||[],h=await pg(u,o);s.value=!f.includes(h)}),{hasUnfulfilledInteraction:s,MarkInteractionPerformed:async()=>{const u=i(),d=await pg(u,o),f=localStorage.getItem(n),h=JSON.parse(f)||[];h.includes(d)||(h.push(d),localStorage.setItem(n,JSON.stringify(h))),s.value=!1}}};function mg(n){const{OnWindowLoaded:e}=Td();let t;const r=()=>{t=document.addEventListener("click",s=>{if(!s||!s.target)return;let i=null;if(s.target instanceof Element&&(i=s.target.closest(".popover")),i)return;const l=no.getInstance(n.value);l&&l.hide()})};c.onMounted(r);const o=()=>{if((n==null?void 0:n.value)==null)return;no.getInstance(n.value)||new no(n.value)};e(o),c.watch(n,o),c.onUnmounted(()=>{if((n==null?void 0:n.value)!=null){const s=no.getInstance(n.value);s&&s.dispose()}t&&document.removeEventListener("click",t)})}const rM=["data-bs-title","data-bs-content"],oM=["title"],sM={key:0,class:"number-circle",textContent:1},iM=c.defineComponent({__name:"BDNotificationButton",props:{userId:{},getNotification:{}},setup(n){const e=n,t=()=>{var d;return(d=e.getNotification)==null?void 0:d.linkUrl},{hasUnfulfilledInteraction:r,MarkInteractionPerformed:o}=nM("notificationsRead",e.userId,t),s=c.ref();mg(s);const i=c.computed(()=>{const d=e.getNotification;if(!d)return!1;const{isActive:f,startDate:h,endDate:p}=d;if(!f)return!1;const m=new Date(h),g=new Date(p),y=new Date;return y>=m&&y<=g}),l=c.computed(()=>{var d;return(d=e.getNotification)==null?void 0:d.tooltip}),a=c.computed(()=>{var d;return(d=e.getNotification)==null?void 0:d.title}),u=c.computed(()=>{const d=e.getNotification;if(!d)return"";const{text:f,linkUrl:h,linkText:p}=d;return`
|
|
204
|
+
*/const Px="9.14.4";function Fx(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Yn().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Yn().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Yn().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Yn().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Yn().__INTLIFY_PROD_DEVTOOLS__=!1)}const ng=xt.__EXTEND_POINT__,Zn=il(ng),Ft={FALLBACK_TO_ROOT:ng,NOT_SUPPORTED_PRESERVE:Zn(),NOT_SUPPORTED_FORMATTER:Zn(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:Zn(),NOT_SUPPORTED_GET_CHOICE_INDEX:Zn(),COMPONENT_NAME_LEGACY_COMPATIBLE:Zn(),NOT_FOUND_PARENT_SCOPE:Zn(),IGNORE_OBJ_FLATTEN:Zn(),NOTICE_DROP_ALLOW_COMPOSITION:Zn(),NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG:Zn()},Vx={[Ft.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[Ft.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[Ft.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[Ft.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[Ft.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[Ft.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[Ft.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[Ft.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[Ft.NOTICE_DROP_ALLOW_COMPOSITION]:"'allowComposition' option will be dropped in the next major version. For more information, please see 👉 https://tinyurl.com/2p97mcze",[Ft.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG]:"'translateExistCompatible' option will be dropped in the next major version."};function ml(n,...e){return sd(Vx[n],...e)}const rg=dt.__EXTEND_POINT__,Vt=il(rg),Xe={UNEXPECTED_RETURN_TYPE:rg,INVALID_ARGUMENT:Vt(),MUST_BE_CALL_SETUP_TOP:Vt(),NOT_INSTALLED:Vt(),NOT_AVAILABLE_IN_LEGACY_MODE:Vt(),REQUIRED_VALUE:Vt(),INVALID_VALUE:Vt(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Vt(),NOT_INSTALLED_WITH_PROVIDE:Vt(),UNEXPECTED_ERROR:Vt(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Vt(),BRIDGE_SUPPORT_VUE_2_ONLY:Vt(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Vt(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Vt(),__EXTEND_POINT__:Vt()};function kr(n,...e){return Xo(n,null,process.env.NODE_ENV!=="production"?{messages:$x,args:e}:void 0)}const $x={[Xe.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[Xe.INVALID_ARGUMENT]:"Invalid argument",[Xe.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[Xe.NOT_INSTALLED]:"Need to install with `app.use` function",[Xe.UNEXPECTED_ERROR]:"Unexpected error",[Xe.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[Xe.REQUIRED_VALUE]:"Required in value: {0}",[Xe.INVALID_VALUE]:"Invalid value",[Xe.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[Xe.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[Xe.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[Xe.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[Xe.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION]:"Must define ‘i18n’ option or custom block in Composition API with using local scope in Legacy API mode",[Xe.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},yd=Kn("__translateVNode"),vd=Kn("__datetimeParts"),Ed=Kn("__numberParts"),Cd=Kn("__enableEmitter"),Ad=Kn("__disableEmitter"),Ux=Kn("__setPluralRules"),og=Kn("__injectWithOption"),bd=Kn("__dispose");function ti(n){if(!je(n)||vn(n))return n;for(const e in n)if(gn(n,e))if(!e.includes("."))je(n[e])&&ti(n[e]);else{const t=e.split("."),r=t.length-1;let o=n,s=!1;for(let i=0;i<r;i++){if(t[i]==="__proto__")throw new Error(`unsafe key: ${t[i]}`);if(t[i]in o||(o[t[i]]=Ke()),!je(o[t[i]])){process.env.NODE_ENV!=="production"&&Gn(ml(Ft.IGNORE_OBJ_FLATTEN,{key:t[i]})),s=!0;break}o=o[t[i]]}if(s||(vn(o)?C2.includes(t[r])||delete n[e]:(o[t[r]]=n[e],delete n[e])),!vn(o)){const i=o[t[r]];je(i)&&ti(i)}}return n}function wd(n,e){const{messages:t,__i18n:r,messageResolver:o,flatJson:s}=e,i=He(t)?t:st(r)?Ke():{[n]:Ke()};if(st(r)&&r.forEach(l=>{if("locale"in l&&"resource"in l){const{locale:a,resource:u}=l;a?(i[a]=i[a]||Ke(),ll(u,i[a])):ll(u,i)}else _e(l)&&ll(JSON.parse(l),i)}),o==null&&s)for(const l in i)gn(i,l)&&ti(i[l]);return i}function sg(n){return n.type}function zx(n,e,t){let r=je(e.messages)?e.messages:Ke();"__i18nGlobal"in t&&(r=wd(n.locale.value,{messages:r,__i18n:t.__i18nGlobal}));const o=Object.keys(r);o.length&&o.forEach(s=>{n.mergeLocaleMessage(s,r[s])});{if(je(e.datetimeFormats)){const s=Object.keys(e.datetimeFormats);s.length&&s.forEach(i=>{n.mergeDateTimeFormat(i,e.datetimeFormats[i])})}if(je(e.numberFormats)){const s=Object.keys(e.numberFormats);s.length&&s.forEach(i=>{n.mergeNumberFormat(i,e.numberFormats[i])})}}}function ig(n){return c.createVNode(c.Text,null,n,0)}const ag="__INTLIFY_META__",lg=()=>[],Hx=()=>!1;let cg=0;function ug(n){return(e,t,r,o)=>n(t,r,c.getCurrentInstance()||void 0,o)}const jx=()=>{const n=c.getCurrentInstance();let e=null;return n&&(e=sg(n)[ag])?{[ag]:e}:null};function Wx(n={},e){const{__root:t,__injectWithOption:r}=n,o=t===void 0,s=n.flatJson,i=Wn?c.ref:c.shallowRef,l=!!n.translateExistCompatible;process.env.NODE_ENV!=="production"&&l&&o2(ml(Ft.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG));let a=Ge(n.inheritLocale)?n.inheritLocale:!0;const u=i(t&&a?t.locale.value:_e(n.locale)?n.locale:qs),d=i(t&&a?t.fallbackLocale.value:_e(n.fallbackLocale)||st(n.fallbackLocale)||He(n.fallbackLocale)||n.fallbackLocale===!1?n.fallbackLocale:u.value),f=i(wd(u.value,n)),h=i(He(n.datetimeFormats)?n.datetimeFormats:{[u.value]:{}}),p=i(He(n.numberFormats)?n.numberFormats:{[u.value]:{}});let m=t?t.missingWarn:Ge(n.missingWarn)||Jo(n.missingWarn)?n.missingWarn:!0,g=t?t.fallbackWarn:Ge(n.fallbackWarn)||Jo(n.fallbackWarn)?n.fallbackWarn:!0,y=t?t.fallbackRoot:Ge(n.fallbackRoot)?n.fallbackRoot:!0,C=!!n.fallbackFormat,b=Qe(n.missing)?n.missing:null,E=Qe(n.missing)?ug(n.missing):null,v=Qe(n.postTranslation)?n.postTranslation:null,N=t?t.warnHtmlMessage:Ge(n.warnHtmlMessage)?n.warnHtmlMessage:!0,w=!!n.escapeParameter;const x=t?t.modifiers:He(n.modifiers)?n.modifiers:{};let B=n.pluralRules||t&&t.pluralRules,R;R=(()=>{o&&R2(null);const q={version:Px,locale:u.value,fallbackLocale:d.value,messages:f.value,modifiers:x,pluralRules:B,missing:E===null?void 0:E,missingWarn:m,fallbackWarn:g,fallbackFormat:C,unresolving:!0,postTranslation:v===null?void 0:v,warnHtmlMessage:N,escapeParameter:w,messageResolver:n.messageResolver,messageCompiler:n.messageCompiler,__meta:{framework:"vue"}};q.datetimeFormats=h.value,q.numberFormats=p.value,q.__datetimeFormatters=He(R)?R.__datetimeFormatters:void 0,q.__numberFormatters=He(R)?R.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(q.__v_emitter=He(R)?R.__v_emitter:void 0);const ie=_x(q);return o&&R2(ie),ie})(),ei(R,u.value,d.value);function $(){return[u.value,d.value,f.value,h.value,p.value]}const P=c.computed({get:()=>u.value,set:q=>{u.value=q,R.locale=u.value}}),Y=c.computed({get:()=>d.value,set:q=>{d.value=q,R.fallbackLocale=d.value,ei(R,u.value,q)}}),G=c.computed(()=>f.value),K=c.computed(()=>h.value),H=c.computed(()=>p.value);function J(){return Qe(v)?v:null}function z(q){v=q,R.postTranslation=q}function ee(){return b}function re(q){q!==null&&(E=ug(q)),b=q,R.missing=E}function ue(q,ie){return q!=="translate"||!ie.resolvedMessage}const ge=(q,ie,be,Pe,qe,nt)=>{$();let Mt;try{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,o||(R.fallbackContext=t?Sx():void 0),Mt=q(R)}finally{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,o||(R.fallbackContext=void 0)}if(be!=="translate exists"&&ut(Mt)&&Mt===fl||be==="translate exists"&&!Mt){const[te,ye]=ie();if(process.env.NODE_ENV!=="production"&&t&&_e(te)&&ue(be,ye)&&(y&&(pl(g,te)||P2(m,te))&&Gn(ml(Ft.FALLBACK_TO_ROOT,{key:te,type:be})),process.env.NODE_ENV!=="production")){const{__v_emitter:me}=R;me&&y&&me.emit("fallback",{type:be,key:te,to:"global",groupId:`${be}:${te}`})}return t&&y?Pe(t):qe(te)}else{if(nt(Mt))return Mt;throw kr(Xe.UNEXPECTED_RETURN_TYPE)}};function Ee(...q){return ge(ie=>Reflect.apply(W2,null,[ie,...q]),()=>pd(...q),"translate",ie=>Reflect.apply(ie.t,ie,[...q]),ie=>ie,ie=>_e(ie))}function Se(...q){const[ie,be,Pe]=q;if(Pe&&!je(Pe))throw kr(Xe.INVALID_ARGUMENT);return Ee(ie,be,Ct({resolvedMessage:!0},Pe||{}))}function ke(...q){return ge(ie=>Reflect.apply(Z2,null,[ie,...q]),()=>md(...q),"datetime format",ie=>Reflect.apply(ie.d,ie,[...q]),()=>hl,ie=>_e(ie))}function xe(...q){return ge(ie=>Reflect.apply(q2,null,[ie,...q]),()=>gd(...q),"number format",ie=>Reflect.apply(ie.n,ie,[...q]),()=>hl,ie=>_e(ie))}function Ae(q){return q.map(ie=>_e(ie)||ut(ie)||Ge(ie)?ig(String(ie)):ie)}const D={normalize:Ae,interpolate:q=>q,type:"vnode"};function I(...q){return ge(ie=>{let be;const Pe=ie;try{Pe.processor=D,be=Reflect.apply(W2,null,[Pe,...q])}finally{Pe.processor=null}return be},()=>pd(...q),"translate",ie=>ie[yd](...q),ie=>[ig(ie)],ie=>st(ie))}function L(...q){return ge(ie=>Reflect.apply(q2,null,[ie,...q]),()=>gd(...q),"number format",ie=>ie[Ed](...q),lg,ie=>_e(ie)||st(ie))}function A(...q){return ge(ie=>Reflect.apply(Z2,null,[ie,...q]),()=>md(...q),"datetime format",ie=>ie[vd](...q),lg,ie=>_e(ie)||st(ie))}function T(q){B=q,R.pluralRules=B}function k(q,ie){return ge(()=>{if(!q)return!1;const be=_e(ie)?ie:u.value,Pe=W(be),qe=R.messageResolver(Pe,q);return l?qe!=null:vn(qe)||rn(qe)||_e(qe)},()=>[q],"translate exists",be=>Reflect.apply(be.te,be,[q,ie]),Hx,be=>Ge(be))}function M(q){let ie=null;const be=_2(R,d.value,u.value);for(let Pe=0;Pe<be.length;Pe++){const qe=f.value[be[Pe]]||{},nt=R.messageResolver(qe,q);if(nt!=null){ie=nt;break}}return ie}function j(q){const ie=M(q);return ie??(t?t.tm(q)||{}:{})}function W(q){return f.value[q]||{}}function Z(q,ie){if(s){const be={[q]:ie};for(const Pe in be)gn(be,Pe)&&ti(be[Pe]);ie=be[q]}f.value[q]=ie,R.messages=f.value}function X(q,ie){f.value[q]=f.value[q]||{};const be={[q]:ie};if(s)for(const Pe in be)gn(be,Pe)&&ti(be[Pe]);ie=be[q],ll(ie,f.value[q]),R.messages=f.value}function S(q){return h.value[q]||{}}function _(q,ie){h.value[q]=ie,R.datetimeFormats=h.value,X2(R,q,ie)}function V(q,ie){h.value[q]=Ct(h.value[q]||{},ie),R.datetimeFormats=h.value,X2(R,q,ie)}function Q(q){return p.value[q]||{}}function ae(q,ie){p.value[q]=ie,R.numberFormats=p.value,tg(R,q,ie)}function pe(q,ie){p.value[q]=Ct(p.value[q]||{},ie),R.numberFormats=p.value,tg(R,q,ie)}cg++,t&&Wn&&(c.watch(t.locale,q=>{a&&(u.value=q,R.locale=q,ei(R,u.value,d.value))}),c.watch(t.fallbackLocale,q=>{a&&(d.value=q,R.fallbackLocale=q,ei(R,u.value,d.value))}));const Te={id:cg,locale:P,fallbackLocale:Y,get inheritLocale(){return a},set inheritLocale(q){a=q,q&&t&&(u.value=t.locale.value,d.value=t.fallbackLocale.value,ei(R,u.value,d.value))},get availableLocales(){return Object.keys(f.value).sort()},messages:G,get modifiers(){return x},get pluralRules(){return B||{}},get isGlobal(){return o},get missingWarn(){return m},set missingWarn(q){m=q,R.missingWarn=m},get fallbackWarn(){return g},set fallbackWarn(q){g=q,R.fallbackWarn=g},get fallbackRoot(){return y},set fallbackRoot(q){y=q},get fallbackFormat(){return C},set fallbackFormat(q){C=q,R.fallbackFormat=C},get warnHtmlMessage(){return N},set warnHtmlMessage(q){N=q,R.warnHtmlMessage=q},get escapeParameter(){return w},set escapeParameter(q){w=q,R.escapeParameter=q},t:Ee,getLocaleMessage:W,setLocaleMessage:Z,mergeLocaleMessage:X,getPostTranslationHandler:J,setPostTranslationHandler:z,getMissingHandler:ee,setMissingHandler:re,[Ux]:T};return Te.datetimeFormats=K,Te.numberFormats=H,Te.rt=Se,Te.te=k,Te.tm=j,Te.d=ke,Te.n=xe,Te.getDateTimeFormat=S,Te.setDateTimeFormat=_,Te.mergeDateTimeFormat=V,Te.getNumberFormat=Q,Te.setNumberFormat=ae,Te.mergeNumberFormat=pe,Te[og]=r,Te[yd]=I,Te[vd]=A,Te[Ed]=L,process.env.NODE_ENV!=="production"&&(Te[Cd]=q=>{R.__v_emitter=q},Te[Ad]=()=>{R.__v_emitter=void 0}),Te}const Td={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:n=>n==="parent"||n==="global",default:"parent"},i18n:{type:Object}};function Kx({slots:n},e){return e.length===1&&e[0]==="default"?(n.default?n.default():[]).reduce((r,o)=>[...r,...o.type===c.Fragment?o.children:[o]],[]):e.reduce((t,r)=>{const o=n[r];return o&&(t[r]=o()),t},Ke())}function dg(n){return c.Fragment}Ct({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:n=>ut(n)||!isNaN(n)}},Td);function Yx(n){return st(n)&&!_e(n[0])}function fg(n,e,t,r){const{slots:o,attrs:s}=e;return()=>{const i={part:!0};let l=Ke();n.locale&&(i.locale=n.locale),_e(n.format)?i.key=n.format:je(n.format)&&(_e(n.format.key)&&(i.key=n.format.key),l=Object.keys(n.format).reduce((h,p)=>t.includes(p)?Ct(Ke(),h,{[p]:n.format[p]}):h,Ke()));const a=r(n.value,i,l);let u=[i.key];st(a)?u=a.map((h,p)=>{const m=o[h.type],g=m?m({[h.type]:h.value,index:p,parts:a}):[h.value];return Yx(g)&&(g[0].key=`${h.type}-${p}`),g}):_e(a)&&(u=[a]);const d=Ct(Ke(),s),f=_e(n.tag)||je(n.tag)?n.tag:dg();return c.h(f,d,u)}}Ct({value:{type:Number,required:!0},format:{type:[String,Object]}},Td),Ct({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Td);function hg(n,e){}const Gx=Kn("global-vue-i18n");function ns(n={}){const e=c.getCurrentInstance();if(e==null)throw kr(Xe.MUST_BE_CALL_SETUP_TOP);if(!e.isCE&&e.appContext.app!=null&&!e.appContext.app.__VUE_I18N_SYMBOL__)throw kr(Xe.NOT_INSTALLED);const t=Qx(e),r=Jx(t),o=sg(e),s=Zx(n,o);if(__VUE_I18N_LEGACY_API__&&t.mode==="legacy"&&!n.__useComponent){if(!t.allowComposition)throw kr(Xe.NOT_AVAILABLE_IN_LEGACY_MODE);return tM(e,s,r,n)}if(s==="global")return zx(r,n,o),r;if(s==="parent"){let a=Xx(t,e,n.__useComponent);return a==null&&(process.env.NODE_ENV!=="production"&&Gn(ml(Ft.NOT_FOUND_PARENT_SCOPE)),a=r),a}const i=t;let l=i.__getInstance(e);if(l==null){const a=Ct({},n);"__i18n"in o&&(a.__i18n=o.__i18n),r&&(a.__root=r),l=Wx(a),i.__composerExtend&&(l[bd]=i.__composerExtend(l)),eM(i,e,l),i.__setInstance(e,l)}return l}function Qx(n){{const e=c.inject(n.isCE?Gx:n.appContext.app.__VUE_I18N_SYMBOL__);if(!e)throw kr(n.isCE?Xe.NOT_INSTALLED_WITH_PROVIDE:Xe.UNEXPECTED_ERROR);return e}}function Zx(n,e){return sl(n)?"__i18n"in e?"local":"global":n.useScope?n.useScope:"local"}function Jx(n){return n.mode==="composition"?n.global:n.global.__composer}function Xx(n,e,t=!1){let r=null;const o=e.root;let s=qx(e,t);for(;s!=null;){const i=n;if(n.mode==="composition")r=i.__getInstance(s);else if(__VUE_I18N_LEGACY_API__){const l=i.__getInstance(s);l!=null&&(r=l.__composer,t&&r&&!r[og]&&(r=null))}if(r!=null||o===s)break;s=s.parent}return r}function qx(n,e=!1){return n==null?null:e&&n.vnode.ctx||n.parent}function eM(n,e,t){let r=null;c.onMounted(()=>{if(process.env.NODE_ENV!=="production"&&e.vnode.el){e.vnode.el.__VUE_I18N__=t,r=lI();const o=t;o[Cd]&&o[Cd](r),r.on("*",hg)}},e),c.onUnmounted(()=>{const o=t;process.env.NODE_ENV!=="production"&&e.vnode.el&&e.vnode.el.__VUE_I18N__&&(r&&r.off("*",hg),o[Ad]&&o[Ad](),delete e.vnode.el.__VUE_I18N__),n.__deleteInstance(e);const s=o[bd];s&&(s(),delete o[bd])},e)}function tM(n,e,t,r={}){const o=e==="local",s=c.shallowRef(null);if(o&&n.proxy&&!(n.proxy.$options.i18n||n.proxy.$options.__i18n))throw kr(Xe.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const i=Ge(r.inheritLocale)?r.inheritLocale:!_e(r.locale),l=c.ref(!o||i?t.locale.value:_e(r.locale)?r.locale:qs),a=c.ref(!o||i?t.fallbackLocale.value:_e(r.fallbackLocale)||st(r.fallbackLocale)||He(r.fallbackLocale)||r.fallbackLocale===!1?r.fallbackLocale:l.value),u=c.ref(wd(l.value,r)),d=c.ref(He(r.datetimeFormats)?r.datetimeFormats:{[l.value]:{}}),f=c.ref(He(r.numberFormats)?r.numberFormats:{[l.value]:{}}),h=o?t.missingWarn:Ge(r.missingWarn)||Jo(r.missingWarn)?r.missingWarn:!0,p=o?t.fallbackWarn:Ge(r.fallbackWarn)||Jo(r.fallbackWarn)?r.fallbackWarn:!0,m=o?t.fallbackRoot:Ge(r.fallbackRoot)?r.fallbackRoot:!0,g=!!r.fallbackFormat,y=Qe(r.missing)?r.missing:null,C=Qe(r.postTranslation)?r.postTranslation:null,b=o?t.warnHtmlMessage:Ge(r.warnHtmlMessage)?r.warnHtmlMessage:!0,E=!!r.escapeParameter,v=o?t.modifiers:He(r.modifiers)?r.modifiers:{},N=r.pluralRules||o&&t.pluralRules;function w(){return[l.value,a.value,u.value,d.value,f.value]}const x=c.computed({get:()=>s.value?s.value.locale.value:l.value,set:k=>{s.value&&(s.value.locale.value=k),l.value=k}}),B=c.computed({get:()=>s.value?s.value.fallbackLocale.value:a.value,set:k=>{s.value&&(s.value.fallbackLocale.value=k),a.value=k}}),R=c.computed(()=>s.value?s.value.messages.value:u.value),U=c.computed(()=>d.value),$=c.computed(()=>f.value);function P(){return s.value?s.value.getPostTranslationHandler():C}function Y(k){s.value&&s.value.setPostTranslationHandler(k)}function G(){return s.value?s.value.getMissingHandler():y}function K(k){s.value&&s.value.setMissingHandler(k)}function H(k){return w(),k()}function J(...k){return s.value?H(()=>Reflect.apply(s.value.t,null,[...k])):H(()=>"")}function z(...k){return s.value?Reflect.apply(s.value.rt,null,[...k]):""}function ee(...k){return s.value?H(()=>Reflect.apply(s.value.d,null,[...k])):H(()=>"")}function re(...k){return s.value?H(()=>Reflect.apply(s.value.n,null,[...k])):H(()=>"")}function ue(k){return s.value?s.value.tm(k):{}}function ge(k,M){return s.value?s.value.te(k,M):!1}function Ee(k){return s.value?s.value.getLocaleMessage(k):{}}function Se(k,M){s.value&&(s.value.setLocaleMessage(k,M),u.value[k]=M)}function ke(k,M){s.value&&s.value.mergeLocaleMessage(k,M)}function xe(k){return s.value?s.value.getDateTimeFormat(k):{}}function Ae(k,M){s.value&&(s.value.setDateTimeFormat(k,M),d.value[k]=M)}function O(k,M){s.value&&s.value.mergeDateTimeFormat(k,M)}function D(k){return s.value?s.value.getNumberFormat(k):{}}function I(k,M){s.value&&(s.value.setNumberFormat(k,M),f.value[k]=M)}function L(k,M){s.value&&s.value.mergeNumberFormat(k,M)}const A={get id(){return s.value?s.value.id:-1},locale:x,fallbackLocale:B,messages:R,datetimeFormats:U,numberFormats:$,get inheritLocale(){return s.value?s.value.inheritLocale:i},set inheritLocale(k){s.value&&(s.value.inheritLocale=k)},get availableLocales(){return s.value?s.value.availableLocales:Object.keys(u.value)},get modifiers(){return s.value?s.value.modifiers:v},get pluralRules(){return s.value?s.value.pluralRules:N},get isGlobal(){return s.value?s.value.isGlobal:!1},get missingWarn(){return s.value?s.value.missingWarn:h},set missingWarn(k){s.value&&(s.value.missingWarn=k)},get fallbackWarn(){return s.value?s.value.fallbackWarn:p},set fallbackWarn(k){s.value&&(s.value.missingWarn=k)},get fallbackRoot(){return s.value?s.value.fallbackRoot:m},set fallbackRoot(k){s.value&&(s.value.fallbackRoot=k)},get fallbackFormat(){return s.value?s.value.fallbackFormat:g},set fallbackFormat(k){s.value&&(s.value.fallbackFormat=k)},get warnHtmlMessage(){return s.value?s.value.warnHtmlMessage:b},set warnHtmlMessage(k){s.value&&(s.value.warnHtmlMessage=k)},get escapeParameter(){return s.value?s.value.escapeParameter:E},set escapeParameter(k){s.value&&(s.value.escapeParameter=k)},t:J,getPostTranslationHandler:P,setPostTranslationHandler:Y,getMissingHandler:G,setMissingHandler:K,rt:z,d:ee,n:re,tm:ue,te:ge,getLocaleMessage:Ee,setLocaleMessage:Se,mergeLocaleMessage:ke,getDateTimeFormat:xe,setDateTimeFormat:Ae,mergeDateTimeFormat:O,getNumberFormat:D,setNumberFormat:I,mergeNumberFormat:L};function T(k){k.locale.value=l.value,k.fallbackLocale.value=a.value,Object.keys(u.value).forEach(M=>{k.mergeLocaleMessage(M,u.value[M])}),Object.keys(d.value).forEach(M=>{k.mergeDateTimeFormat(M,d.value[M])}),Object.keys(f.value).forEach(M=>{k.mergeNumberFormat(M,f.value[M])}),k.escapeParameter=E,k.fallbackFormat=g,k.fallbackRoot=m,k.fallbackWarn=p,k.missingWarn=h,k.warnHtmlMessage=b}return c.onBeforeMount(()=>{if(n.proxy==null||n.proxy.$i18n==null)throw kr(Xe.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const k=s.value=n.proxy.$i18n.__composer;e==="global"?(l.value=k.locale.value,a.value=k.fallbackLocale.value,u.value=k.messages.value,d.value=k.datetimeFormats.value,f.value=k.numberFormats.value):o&&T(k)}),A}if(Fx(),__INTLIFY_JIT_COMPILATION__?x2(Mx):x2(xx),Ax(tx),bx(_2),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const n=Yn();n.__INTLIFY__=!0,ux(n.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const nM="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgaGVpZ2h0PSI4MDBweCIKICAgd2lkdGg9IjgwMHB4IgogICB2aWV3Qm94PSIwIDAgODAwIDgwMCIKICAgZmlsbD0ibm9uZSIKICAgdmVyc2lvbj0iMS4xIgogICBpZD0ic3ZnMiIKICAgc29kaXBvZGk6ZG9jbmFtZT0iYmVsbC1pY29uLnN2ZyIKICAgaW5rc2NhcGU6dmVyc2lvbj0iMS40LjIgKGViZjBlOTQsIDIwMjUtMDUtMDgpIgogICB4bWxuczppbmtzY2FwZT0iaHR0cDovL3d3dy5pbmtzY2FwZS5vcmcvbmFtZXNwYWNlcy9pbmtzY2FwZSIKICAgeG1sbnM6c29kaXBvZGk9Imh0dHA6Ly9zb2RpcG9kaS5zb3VyY2Vmb3JnZS5uZXQvRFREL3NvZGlwb2RpLTAuZHRkIgogICB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogIDxkZWZzCiAgICAgaWQ9ImRlZnMyIiAvPgogIDxzb2RpcG9kaTpuYW1lZHZpZXcKICAgICBpZD0ibmFtZWR2aWV3MiIKICAgICBwYWdlY29sb3I9IiNmZmZmZmYiCiAgICAgYm9yZGVyY29sb3I9IiMwMDAwMDAiCiAgICAgYm9yZGVyb3BhY2l0eT0iMC4yNSIKICAgICBpbmtzY2FwZTpzaG93cGFnZXNoYWRvdz0iMiIKICAgICBpbmtzY2FwZTpwYWdlb3BhY2l0eT0iMC4wIgogICAgIGlua3NjYXBlOnBhZ2VjaGVja2VyYm9hcmQ9IjAiCiAgICAgaW5rc2NhcGU6ZGVza2NvbG9yPSIjZDFkMWQxIgogICAgIGlua3NjYXBlOnpvb209IjAuOTM5MDI2MDEiCiAgICAgaW5rc2NhcGU6Y3g9IjM2MS4wMTIzNiIKICAgICBpbmtzY2FwZTpjeT0iNDI1LjQ0MDgyIgogICAgIGlua3NjYXBlOndpbmRvdy13aWR0aD0iMjMyMyIKICAgICBpbmtzY2FwZTp3aW5kb3ctaGVpZ2h0PSIxMzIxIgogICAgIGlua3NjYXBlOndpbmRvdy14PSI2OSIKICAgICBpbmtzY2FwZTp3aW5kb3cteT0iLTkiCiAgICAgaW5rc2NhcGU6d2luZG93LW1heGltaXplZD0iMSIKICAgICBpbmtzY2FwZTpjdXJyZW50LWxheWVyPSJzdmcyIgogICAgIGlua3NjYXBlOmxvY2tndWlkZXM9ImZhbHNlIiAvPgogIDxwYXRoCiAgICAgZmlsbD0iIzM5NDE1NiIKICAgICBkPSJtIDU3NC43MTM0LDUxNy43MDgzOSBjIC00My4wMjM0MywtMTkuNDI5NTggLTQwLjMzOTkxLC05Mi4wMzE3MyAtNDAuMzcxNjYsLTk0LjEzNjAzIGwgLTAuODY0MDMsLTU1LjA4NjIyIGMgLTAuODQ0NTIsLTUzLjg0MjYzIC0zMi43NjI4OSwtMTAxLjAxNzg3IC03OS41MjI2MSwtMTIwLjczMzg5IC0wLjEwMDU1LC0yNy42ODUzOCAtMjYuMjQ3ODcsLTUwLjE3NzEzIC01My45NTM3NSwtNTAuMTc3MTMgLTI3LjcwNjU1LDAgLTUzLjg1MzIsMjIuNDkzMDcgLTUzLjk1NDQyLDUwLjE3NTgxIC00Ni43NTc3NCwxOS43MTYwMSAtNzcuNjczOTUsNjguNjIxNjYgLTc4LjY1NzI0LDEyMi40NjE5MyBsIC0wLjg2NDAzLDQ3LjMxIGMgLTAuMDMwNCwyLjEwNDMgMS43ODc3Myw4MC43NTQ2MyAtNDEuMjM3MDMsMTAwLjE4NDIgLTQuOTAxMjIsMi4yMTQxMiAtNy41OTQ5NCwxMi45NDczIC02LjQ2MTc1LDE4LjIwNTA4IDEuMTMxODcsNS4yNTg0MyAzLjk4MjM3LDE0LjQxMTkgOS4zNjEyMiwxNC40MTE5IGggMTEwLjg3MTE1IGMgMi4yMzU5NSwxMi4zMDAzNSA4LjA1MjA1LDIzLjc0MzM2IDE2Ljk0NzU0LDMzLjAxMTk2IDExLjgxNDgsMTIuMzA5NjEgMjcuNDM5MywxOS4wODg4OCA0My45OTI1NywxOS4wODg4OCAxNi41NTQ2LDAgMzIuMTc5MSwtNi43NzkyNyA0My45OTI1OCwtMTkuMDg4ODggOC44OTY4MSwtOS4yNjkyNSAxNC43MTI5MSwtMjAuNzEyOTQgMTYuOTQ3NTQsLTMzLjAxMTk2IGggMTEwLjg3MTE1IGMgNS4zNzg4NSwwIDguMjI4NjksLTkuMTUyOCA5LjM2MTg5LC0xNC40MTE5IDEuMTM0NDksLTUuMjU3NzggLTEuNTU3ODksLTE1Ljk5MDMgLTYuNDU5MTIsLTE4LjIwMzc1IHogbSAtNjUuNDU3NDIsLTI3Ljc0MTc4IGMgNC41MjI4MiwxMy43MTIwNCA3LjI1NzA3LDE2LjIwNjczIDE2LjMzODQ1LDI3LjY2NTYyIGwgLTI1MC4zOTQ3NSwtMC43OTI3NSBjIDkuMDgwMDUsLTExLjQ1NzU2IDEwLjM3MTQsLTEzLjE1ODg1IDE0Ljg5NDIyLC0yNi44NzI4NyB6IE0gNDAwLjAwMTM1LDIyNC4wMDYyMiBjIDEyLjUzMjU1LDAgMTkuNTMwMTUsNC44MjI1MiAyMi44NDU3LDE2LjMwMTI2IC04LjU0MTU5LC0xLjc3MTU2IC0xMy43ODc0NywtMi43MDU2MyAtMjIuODQ1NywtMi43MDU2MyAtOS4wNTgyMywwIC0xNC4zMDQxMiwwLjkzMzQxIC0yMi44NDU2OSwyLjcwNTYzIDMuMzE2MiwtMTEuNDc4MDggMTAuMzEzODEsLTE2LjMwMTI2IDIyLjg0NTY5LC0xNi4zMDEyNiB6IG0gLTEwMy41ODg0OCwxOTkuNjM0OTQgMS43OTkzMywtNTQuMjIxNyBjIDEuOTYwMjIsLTU5LjA2OTg5IDQyLjY4NTQzLC05Ni42NzQ5NyAxMDEuNzg5MTUsLTk2LjY3NDk3IDU5LjEwMzczLDAgOTkuODk0OTksMzUuODAzNTkgMTAxLjc4OTE2LDk0Ljg3NTY0IGwgMS43OTkzMyw1Ni4xMTQzIGMgMC4wMTUyLDEuNzE3MzEgMS40NzQyMiwxMi41NjgzIDEuMjMyNDMsMzQuNzg2MiBIIDI5NS4xNzc3OCBjIDAuNzE4OTQsLTIyLjIzOTA2IDEuMjIxMTksLTMzLjEyMTggMS4yMzUwOSwtMzQuODc5NDcgeiBtIDEwMy41ODg0OCwxNDguOTY5NzggYyAtMTcuNDI1MTcsMCAtMjUuNDM1NTgsLTUuNTgwMTUgLTMwLjMxNjk0LC0yMi4yODYyNCBoIDYwLjYzMjU3IGMgLTQuODgxMzgsMTYuNzA2MDkgLTEyLjg4OTE0LDIyLjI4NjI0IC0zMC4zMTU2MywyMi4yODYyNCB6IgogICAgIGlkPSJwYXRoMSIKICAgICBzdHlsZT0ic3Ryb2tlLXdpZHRoOjAuODk5NjY2O3N0cm9rZS1kYXNoYXJyYXk6bm9uZSIKICAgICBzb2RpcG9kaTpub2RldHlwZXM9ImNjc2NzY3NjY2NzY2NzY2NzY2NjY2NjY3Njc2NzY3Nzc2NjY2NzY2NzIiAvPgogIDxwYXRoCiAgICAgZmlsbD0iIzM5NDE1NiIKICAgICBkPSJtIDM5Ny45Njk0NCwyODMuMzM2NjkgYyAtNDkuNDE4NTUsMCAtODkuNjIzNjEsNDAuMjAzNzMgLTg5LjYyMzYxLDg5LjYyMTYxIDAsNi4zNDM1NCA1LjE0Mjg2LDExLjQ4NjQgMTEuNDg2MzksMTEuNDg2NCA2LjM0MzU1LDAgMTEuNDg2NDEsLTUuMTQyODYgMTEuNDg2NDEsLTExLjQ4NjQgMCwtMzYuNzUwNzYgMjkuODk5MzgsLTY2LjY0OTQ4IDY2LjY1MTQ4LC02Ni42NDk0OCA2LjM0MzUzLDAgMTEuNDg2MzksLTUuMTQyODUgMTEuNDg2MzksLTExLjQ4NjQgLTYuNmUtNCwtNi4zNDQyIC01LjE0MzUzLC0xMS40ODU3MyAtMTEuNDg3MDYsLTExLjQ4NTczIHoiCiAgICAgaWQ9InBhdGgyIgogICAgIHN0eWxlPSJzdHJva2Utd2lkdGg6MC45MDQ3MTI7c3Ryb2tlLWRhc2hhcnJheTpub25lIgogICAgIHNvZGlwb2RpOm5vZGV0eXBlcz0ic3Nzc3NjcyIgLz4KPC9zdmc+Cg==",pg=async(n,e)=>{const t=n+e,o=new TextEncoder().encode(t),s=await crypto.subtle.digest("SHA-256",o);return Array.from(new Uint8Array(s)).map(l=>l.toString(16).padStart(2,"0")).join("")};function Sd(){const n=()=>new Promise(t=>{if(document.readyState==="complete")return t();window.addEventListener("load",()=>t(),{once:!0})});return{OnWindowLoaded:t=>{c.onMounted(()=>n().then(t))}}}const rM=(n,e,t)=>{const{OnWindowLoaded:r}=Sd(),o="lkj298fhGGJihge",s=c.ref(!1),i=()=>e+"|"+t();return r(async()=>{if(e==null||t==null||t()==null){s.value=!1;return}const u=i(),d=localStorage.getItem(n),f=JSON.parse(d)||[],h=await pg(u,o);s.value=!f.includes(h)}),{hasUnfulfilledInteraction:s,MarkInteractionPerformed:async()=>{const u=i(),d=await pg(u,o),f=localStorage.getItem(n),h=JSON.parse(f)||[];h.includes(d)||(h.push(d),localStorage.setItem(n,JSON.stringify(h))),s.value=!1}}};function mg(n){const{OnWindowLoaded:e}=Sd();let t;const r=()=>{t=document.addEventListener("click",s=>{if(!s||!s.target)return;let i=null;if(s.target instanceof Element&&(i=s.target.closest(".popover")),i)return;const l=no.getInstance(n.value);l&&l.hide()})};c.onMounted(r);const o=()=>{if((n==null?void 0:n.value)==null)return;no.getInstance(n.value)||new no(n.value)};e(o),c.watch(n,o),c.onUnmounted(()=>{if((n==null?void 0:n.value)!=null){const s=no.getInstance(n.value);s&&s.dispose()}t&&document.removeEventListener("click",t)})}const oM=["data-bs-title","data-bs-content"],sM=["title"],iM={key:0,class:"number-circle",textContent:1},aM=c.defineComponent({__name:"BDNotificationButton",props:{userId:{},getNotification:{}},setup(n){const e=n,t=()=>{var d;return(d=e.getNotification)==null?void 0:d.linkUrl},{hasUnfulfilledInteraction:r,MarkInteractionPerformed:o}=rM("notificationsRead",e.userId,t),s=c.ref();mg(s);const i=c.computed(()=>{const d=e.getNotification;if(!d)return!1;const{isActive:f,startDate:h,endDate:p}=d;if(!f)return!1;const m=new Date(h),g=new Date(p),y=new Date;return y>=m&&y<=g}),l=c.computed(()=>{var d;return(d=e.getNotification)==null?void 0:d.tooltip}),a=c.computed(()=>{var d;return(d=e.getNotification)==null?void 0:d.title}),u=c.computed(()=>{const d=e.getNotification;if(!d)return"";const{text:f,linkUrl:h,linkText:p}=d;return`
|
|
205
205
|
<p>${f}</p>
|
|
206
206
|
<a href='${h}' target='_blank'>${p}</a>
|
|
207
|
-
`});return(d,f)=>i.value?(c.openBlock(),c.createElementBlock("a",{key:0,ref_key:"notificationButton",ref:s,tabindex:"0",class:"bd-notification-button",role:"button","data-bs-toggle":"popover","data-bs-placement":"bottom","data-bs-title":a.value,"data-bs-content":u.value,"data-bs-html":!0,onClick:f[0]||(f[0]=(...h)=>c.unref(o)&&c.unref(o)(...h))},[c.withDirectives(c.createElementVNode("img",{src:tM,alt:"BeterDichtbij nieuws notificatie bel.",title:l.value},null,8,oM),[[c.unref(Gs)]]),c.unref(r)?(c.openBlock(),c.createElementBlock("div",sM)):c.createCommentVNode("",!0)],8,rM)):c.createCommentVNode("",!0)}}),aM={class:"profile-side"},lM=["href"],cM={class:"nav-item"},uM=["textContent"],gg=c.defineComponent({__name:"BDPractitionerHeader",props:{academyUrl:{},userId:{},getNotification:{}},setup(n){const e=n,{t}=ei(),r=c.computed(()=>t("practitionerHeader.academyTooltip")),o=c.computed(()=>t("practitionerHeader.AcademyMenuItem"));return(s,i)=>(c.openBlock(),c.createBlock(rd,null,c.createSlots({"profile-side":c.withCtx(()=>[c.createElementVNode("div",aM,[c.createVNode(iM,{"user-id":e.userId,"get-notification":e.getNotification},null,8,["user-id","get-notification"]),e.academyUrl?(c.openBlock(),c.createElementBlock("a",{key:0,href:e.academyUrl,target:"_blank",rel:"noopener,noreferrer"},[c.withDirectives(c.createVNode(c.unref(ni),{title:r.value},null,8,["title"]),[[c.unref(Gs)]])],8,lM)):c.createCommentVNode("",!0)])]),_:2},[e.academyUrl?{name:"mobile-menu-special-options",fn:c.withCtx(()=>[c.createElementVNode("li",cM,[c.createVNode(Mr,{class:"nav-link",to:e.academyUrl},{default:c.withCtx(()=>[c.createVNode(c.unref(ni)),c.createElementVNode("span",{textContent:c.toDisplayString(o.value)},null,8,uM)]),_:1},8,["to"])])]),key:"0"}:void 0]),1024))}}),dM={class:"modal-dialog"},fM={class:"modal-content"},hM={class:"modal-header"},pM={class:"modal-title"},mM=["src"],gM=c.createElementVNode("span",null,"Sluiten",-1),yM={class:"modal-body"},vM={key:0,class:"modal-footer"},EM=["disabled"],ti=c.defineComponent({__name:"BDModal",props:{title:{default:""},titleImage:{default:""},submitButtonTitle:{default:"Opslaan"},closeButtonTitle:{default:"Annuleren"},hideFooterCancelButton:{type:Boolean,default:!1},hideFooterSubmitButton:{type:Boolean,default:!1},hideFooter:{type:Boolean,default:!1},hideCloseButton:{type:Boolean,default:!1},disableSubmitButton:{type:Boolean,default:!1},size:{default:"lg"}},emits:["submit","cancel"],setup(n,{emit:e}){const t=n,r=c.computed(()=>`modal bd-modal modal-${t.size}`),o=()=>e("submit"),s=()=>e("cancel");return(i,l)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(r.value),tabindex:"-1"},[c.createElementVNode("div",dM,[c.createElementVNode("div",fM,[c.createElementVNode("div",hM,[c.createElementVNode("h2",pM,[t.titleImage?(c.openBlock(),c.createElementBlock("img",{key:0,src:t.titleImage,class:"title-image",alt:""},null,8,mM)):c.createCommentVNode("",!0),c.createElementVNode("span",null,c.toDisplayString(t.title),1)]),c.renderSlot(i.$slots,"modal-header-space-between"),t.hideCloseButton?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("button",{key:0,type:"button",class:"btn-close w-auto","data-bs-dismiss":"modal","aria-label":"Sluiten",onClick:s},[gM,c.createVNode(c.unref(oi))]))]),c.createElementVNode("div",yM,[c.renderSlot(i.$slots,"default")]),i.hideFooter?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",vM,[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,EM)),c.renderSlot(i.$slots,"buttons"),t.hideFooterCancelButton?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("button",{key:1,type:"button",class:"btn btn-link","data-bs-dismiss":"modal",onClick:s,"aria-label":"Annuleren"},c.toDisplayString(t.closeButtonTitle),1))]))])])],2))}}),ml=n=>{const e=c.ref(null);return{showModal:()=>{const o=document.getElementById(n);o instanceof HTMLElement?(e.value=Ar.getOrCreateInstance(o),e.value.show()):console.error(`Modal '${n}' niet gevonden.`)},closeModal:()=>{if(e.value){e.value.hide();return}const o=document.getElementById(n);if(o instanceof HTMLElement){const s=Ar.getInstance(o);s&&s.hide()}}}};function yg(){const n=c.ref(0),e=c.ref(!0),t=c.ref(null),r=c.ref({top:0,left:0,x:0,y:0}),o=c.computed(()=>n.value>0?`zoom-${n.value}`:"");return{zoom:n,mouseDown:e,imageHolderRef:t,pos:r,SetZoom:o,OnMouseDown:a=>{if(!t.value)return;r.value.left=t.value.scrollLeft,r.value.top=t.value.scrollTop;const u=document.querySelector("#image-attachment-modal"),d=document.querySelector(".image-preview-image-holder");u&&(u.style.cursor="grabbing"),d&&(d.style.cursor="grabbing"),r.value.x=a.clientX,r.value.y=a.clientY,e.value=!0},OnMouseMove:a=>{if(e.value){const u=a.clientX-r.value.x,d=a.clientY-r.value.y;t.value&&(t.value.scrollTop=r.value.top-d,t.value.scrollLeft=r.value.left-u)}},OnMouseUp:()=>{const a=document.querySelector("#image-attachment-modal"),u=document.querySelector(".image-preview-image-holder");a&&a.style&&(a.style.cursor=""),u&&u.style&&(u.style.cursor="grab"),e.value=!1}}}const CM=["src","alt"],AM={key:0,class:"show-spinner"},bM={class:"spinner-border text-primary",role:"status"},wM={class:"visually-hidden"},TM=["href"],vg=c.defineComponent({__name:"BDImageAttachmentModal",props:["loadingText","downloadText"],setup(n,{expose:e}){const t=n,{showModal:r}=ml("image-attachment-modal"),{zoom:o,imageHolderRef:s,SetZoom:i,OnMouseDown:l,OnMouseMove:a,OnMouseUp:u}=yg(),d=c.ref(!0),f=c.ref({BerichtId:0,Id:void 0,MimeType:null,Naam:Ve,altName:Ve,downloadUrl:Ve,fullImageUrl:Ve,previewUrl:Ve});e({Show:g=>{f.value=g,o.value=0,r()}});const p=()=>{d.value=!1},m=()=>{f.value={BerichtId:0,Id:void 0,MimeType:null,Naam:Ve,altName:Ve,downloadUrl:Ve,fullImageUrl:Ve,previewUrl:Ve}};return(g,y)=>(c.openBlock(),c.createBlock(ti,{id:"image-attachment-modal",class:c.normalizeClass(c.unref(Ve)),title:f.value.Naam,hideFooterCancelButton:!0,showHeaderButton:!0,onCancel:m},{default:c.withCtx(()=>[c.createElementVNode("div",{class:"image-preview-image-holder",ref_key:"imageHolderRef",ref:s,onMousedown:y[0]||(y[0]=(...C)=>c.unref(l)&&c.unref(l)(...C)),onMousemove:y[1]||(y[1]=(...C)=>c.unref(a)&&c.unref(a)(...C)),onMouseup:y[2]||(y[2]=(...C)=>c.unref(u)&&c.unref(u)(...C))},[f.value?(c.openBlock(),c.createElementBlock("img",{key:0,src:f.value.downloadUrl,alt:f.value.Naam,class:c.normalizeClass(["image-preview-modal",c.unref(i)]),onLoad:p,draggable:!1},null,42,CM)):c.createCommentVNode("",!0)],544),d.value?(c.openBlock(),c.createElementBlock("div",AM,[c.createElementVNode("div",bM,[c.createElementVNode("span",wM,c.toDisplayString(t.loadingText),1)])])):c.createCommentVNode("",!0),c.createVNode(Bl,{modelValue:c.unref(o),"onUpdate:modelValue":y[3]||(y[3]=C=>c.isRef(o)?o.value=C:null),class:"image-preview-bd-zoom-slider","max-value":4},null,8,["modelValue"]),c.createElementVNode("a",{href:f.value.downloadUrl},[c.createVNode(Ze,{variant:"primary",class:"download-image"},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(t.downloadText),1)]),_:1})],8,TM)]),_:1},8,["class","title"]))}});function gl(n=void 0){const e=l=>s("Succesvol",l,ho.SUCCESS),t=l=>s("Waarschuwing",l,ho.WARNING),r=l=>s("Informatie",l,ho.INFO),o=l=>s("Mislukt",l,ho.DANGER);function s(l,a,u){const d=`toast-${Lf()}`,f={id:d,variant:u,title:l,text:a},h=document.querySelector(".toast-container");if(!h){console.error("There was no element with class 'toast-container' found, which is required for useToaster.");return}const p=c.h(Vl,f),g=c.createApp({render:()=>p}).mount(document.createElement("div"));h.appendChild(g.$el);const y=document.querySelector(`#${d}`);y&&(Zo.getOrCreateInstance(y,n).show(),i(y))}function i(l){function a(f,h){f.forEach(p=>{if(p.attributeName!="class")return;const m=p.target;if(m.classList.contains("hide")){m.remove(),h.disconnect();return}})}const u=new MutationObserver(a),d={attributes:!0};u.observe(l,d)}return{showSuccessToast:e,showInformationToast:r,showWarningToast:t,showDangerToast:o}}const{showDangerToast:SM}=gl();function Sd(n){const e=c.ref(null),t=(a,u="serverErrors")=>{var f;let d=[];if(Array.isArray((f=a==null?void 0:a.response)==null?void 0:f.data)?d=a.response.data.filter(h=>fi(h.ErrorMessage)&&h.ErrorMessage!==Ve):a.response.data.ErrorMessage?d=[a.response.data.ErrorMessage]:d=null,fi(u))e.value=d;else if(Array.isArray(u)){let h=e.value;for(let p=0;p<u.length;p++)p===u.length-1?h[u[p]]=d:h=h[u[p]]}r(a),i(e)},r=a=>{if(n==null)return;const d=new URL(a.request.responseURL).pathname;if(d in n.error){const f=n.error[d];f&&SM(f)}},o=c.ref(null),s=c.ref(""),i=a=>{_y(a.value)?o.value=a.value.map(u=>fi(u)?u:u.ErrorMessage):fi(a.value)&&(s.value=a.value)};function l(){e.value=null,o.value=null,s.value=Ve}return{serverErrors:e,errorMessages:o,errorMessageText:s,MapErrors:i,MapServerErrors:t,ResetServerErrors:l}}const _M={key:0},kM={key:1},NM={class:"bd-form-field"},IM={class:"bd-form-field"},Eg=c.defineComponent({__name:"BDPhoneNumberEditModal",props:["modalTitle","submitButtonTitle","phoneNumberLabel","phoneNumberUnchangedText","confirmationCodeLabel","confirmationCodeRequiredText","confirmationCodeSentText","editSuccessText","editCanceledText","sendConfirmationCodeText","startPhoneNumberUpdate","confirmPhoneNumberUpdate"],emits:["startPhoneNumberUpdate","confirmPhoneNumberUpdate","setPhoneNumber"],setup(n,{expose:e,emit:t}){const r=n,{showSuccessToast:o,showWarningToast:s}=gl(),{serverErrors:i,errorMessages:l,errorMessageText:a,MapServerErrors:u,ResetServerErrors:d}=Sd(null),{closeModal:f}=ml("phone-number-edit-modal");let h=Ve;const p=c.ref(),m=c.ref(null),g=c.ref(),y=c.ref(),C=c.ref(null),w=c.computed(()=>y.value==null||y.value==""),E=()=>{if(m.value=null,d(),!p.value||p.value==h){m.value=!1;return}const R={newPhonenumber:p.value};r.startPhoneNumberUpdate(R).then(N).catch(u)},v=()=>{if(!y.value){C.value=!1;return}const R={requestIdentifier:g.value,token:y.value};r.confirmPhoneNumberUpdate(R).then(b).catch(u)},N=R=>{m.value=null,o(r.confirmationCodeSentText),g.value=R.data.RequestIdentifier},b=()=>{t("setPhoneNumber",p.value),o(r.editSuccessText),f(),m.value=null,C.value=null},x=R=>{h=R,p.value=h,m.value=null,g.value=void 0,y.value=void 0,C.value=null},B=()=>{x(h),d(),s(r.editCanceledText)};return e({Reset:x}),(R,U)=>(c.openBlock(),c.createBlock(ti,{id:"phone-number-edit-modal",class:c.normalizeClass(c.unref(Ve)),title:r.modalTitle,submitButtonTitle:r.submitButtonTitle,hideFooterCancelButton:!1,"disable-submit-button":w.value,serverErrors:c.unref(i),errorMessages:c.unref(l),errorMessageText:c.unref(a),onSubmit:v,onCancel:B},{default:c.withCtx(()=>[c.unref(a)||c.unref(l)?(c.openBlock(),c.createBlock(as,{key:0,variant:"danger"},{default:c.withCtx(()=>[c.unref(l)?(c.openBlock(),c.createElementBlock("div",_M,[c.createElementVNode("ul",null,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(c.unref(l),($,P)=>(c.openBlock(),c.createElementBlock("li",{key:P},[c.createVNode(Lr),c.createElementVNode("span",null,c.toDisplayString($),1)]))),128))])])):(c.openBlock(),c.createElementBlock("div",kM,c.toDisplayString(c.unref(a)),1))]),_:1})):c.createCommentVNode("",!0),c.createElementVNode("div",NM,[c.createVNode(Br,{id:"form-input-phone-number",label:r.phoneNumberLabel,modelValue:p.value,"onUpdate:modelValue":U[0]||(U[0]=$=>p.value=$),state:m.value,type:"text","form-field-class":"form-input-with-button","invalid-feedback-text":r.phoneNumberUnchangedText},{default:c.withCtx(()=>[c.createVNode(Ze,{textContent:c.toDisplayString(r.sendConfirmationCodeText),class:"tablet-device-up",type:"button",onClick:E},null,8,["textContent"])]),_:1},8,["label","modelValue","state","invalid-feedback-text"]),c.createVNode(Ze,{textContent:c.toDisplayString(r.sendConfirmationCodeText),class:"mobile-device",type:"button",onClick:E},null,8,["textContent"])]),c.createElementVNode("div",IM,[g.value?(c.openBlock(),c.createBlock(Br,{key:0,label:r.confirmationCodeLabel,modelValue:y.value,"onUpdate:modelValue":U[1]||(U[1]=$=>y.value=$),state:C.value,"invalid-feedback-text":r.confirmationCodeRequiredText},null,8,["label","modelValue","state","invalid-feedback-text"])):c.createCommentVNode("",!0)])]),_:1},8,["class","title","submitButtonTitle","disable-submit-button","serverErrors","errorMessages","errorMessageText"]))}});var Cg={exports:{}};(function(n,e){(function(t,r){n.exports=r()})(Ul,function(){var t=1e3,r=6e4,o=36e5,s="millisecond",i="second",l="minute",a="hour",u="day",d="week",f="month",h="quarter",p="year",m="date",g="Invalid Date",y=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,C=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,w={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(G){var K=["th","st","nd","rd"],H=G%100;return"["+G+(K[(H-20)%10]||K[H]||K[0])+"]"}},E=function(G,K,H){var J=String(G);return!J||J.length>=K?G:""+Array(K+1-J.length).join(H)+G},v={s:E,z:function(G){var K=-G.utcOffset(),H=Math.abs(K),J=Math.floor(H/60),z=H%60;return(K<=0?"+":"-")+E(J,2,"0")+":"+E(z,2,"0")},m:function G(K,H){if(K.date()<H.date())return-G(H,K);var J=12*(H.year()-K.year())+(H.month()-K.month()),z=K.clone().add(J,f),ee=H-z<0,re=K.clone().add(J+(ee?-1:1),f);return+(-(J+(H-z)/(ee?z-re:re-z))||0)},a:function(G){return G<0?Math.ceil(G)||0:Math.floor(G)},p:function(G){return{M:f,y:p,w:d,d:u,D:m,h:a,m:l,s:i,ms:s,Q:h}[G]||String(G||"").toLowerCase().replace(/s$/,"")},u:function(G){return G===void 0}},N="en",b={};b[N]=w;var x="$isDayjsObject",B=function(G){return G instanceof P||!(!G||!G[x])},R=function G(K,H,J){var z;if(!K)return N;if(typeof K=="string"){var ee=K.toLowerCase();b[ee]&&(z=ee),H&&(b[ee]=H,z=ee);var re=K.split("-");if(!z&&re.length>1)return G(re[0])}else{var ue=K.name;b[ue]=K,z=ue}return!J&&z&&(N=z),z||!J&&N},U=function(G,K){if(B(G))return G.clone();var H=typeof K=="object"?K:{};return H.date=G,H.args=arguments,new P(H)},$=v;$.l=R,$.i=B,$.w=function(G,K){return U(G,{locale:K.$L,utc:K.$u,x:K.$x,$offset:K.$offset})};var P=function(){function G(H){this.$L=R(H.locale,null,!0),this.parse(H),this.$x=this.$x||H.x||{},this[x]=!0}var K=G.prototype;return K.parse=function(H){this.$d=function(J){var z=J.date,ee=J.utc;if(z===null)return new Date(NaN);if($.u(z))return new Date;if(z instanceof Date)return new Date(z);if(typeof z=="string"&&!/Z$/i.test(z)){var re=z.match(y);if(re){var ue=re[2]-1||0,ge=(re[7]||"0").substring(0,3);return ee?new Date(Date.UTC(re[1],ue,re[3]||1,re[4]||0,re[5]||0,re[6]||0,ge)):new Date(re[1],ue,re[3]||1,re[4]||0,re[5]||0,re[6]||0,ge)}}return new Date(z)}(H),this.init()},K.init=function(){var H=this.$d;this.$y=H.getFullYear(),this.$M=H.getMonth(),this.$D=H.getDate(),this.$W=H.getDay(),this.$H=H.getHours(),this.$m=H.getMinutes(),this.$s=H.getSeconds(),this.$ms=H.getMilliseconds()},K.$utils=function(){return $},K.isValid=function(){return this.$d.toString()!==g},K.isSame=function(H,J){var z=U(H);return this.startOf(J)<=z&&z<=this.endOf(J)},K.isAfter=function(H,J){return U(H)<this.startOf(J)},K.isBefore=function(H,J){return this.endOf(J)<U(H)},K.$g=function(H,J,z){return $.u(H)?this[J]:this.set(z,H)},K.unix=function(){return Math.floor(this.valueOf()/1e3)},K.valueOf=function(){return this.$d.getTime()},K.startOf=function(H,J){var z=this,ee=!!$.u(J)||J,re=$.p(H),ue=function(D,I){var L=$.w(z.$u?Date.UTC(z.$y,I,D):new Date(z.$y,I,D),z);return ee?L:L.endOf(u)},ge=function(D,I){return $.w(z.toDate()[D].apply(z.toDate("s"),(ee?[0,0,0,0]:[23,59,59,999]).slice(I)),z)},Ee=this.$W,Se=this.$M,ke=this.$D,xe="set"+(this.$u?"UTC":"");switch(re){case p:return ee?ue(1,0):ue(31,11);case f:return ee?ue(1,Se):ue(0,Se+1);case d:var Ae=this.$locale().weekStart||0,O=(Ee<Ae?Ee+7:Ee)-Ae;return ue(ee?ke-O:ke+(6-O),Se);case u:case m:return ge(xe+"Hours",0);case a:return ge(xe+"Minutes",1);case l:return ge(xe+"Seconds",2);case i:return ge(xe+"Milliseconds",3);default:return this.clone()}},K.endOf=function(H){return this.startOf(H,!1)},K.$set=function(H,J){var z,ee=$.p(H),re="set"+(this.$u?"UTC":""),ue=(z={},z[u]=re+"Date",z[m]=re+"Date",z[f]=re+"Month",z[p]=re+"FullYear",z[a]=re+"Hours",z[l]=re+"Minutes",z[i]=re+"Seconds",z[s]=re+"Milliseconds",z)[ee],ge=ee===u?this.$D+(J-this.$W):J;if(ee===f||ee===p){var Ee=this.clone().set(m,1);Ee.$d[ue](ge),Ee.init(),this.$d=Ee.set(m,Math.min(this.$D,Ee.daysInMonth())).$d}else ue&&this.$d[ue](ge);return this.init(),this},K.set=function(H,J){return this.clone().$set(H,J)},K.get=function(H){return this[$.p(H)]()},K.add=function(H,J){var z,ee=this;H=Number(H);var re=$.p(J),ue=function(Se){var ke=U(ee);return $.w(ke.date(ke.date()+Math.round(Se*H)),ee)};if(re===f)return this.set(f,this.$M+H);if(re===p)return this.set(p,this.$y+H);if(re===u)return ue(1);if(re===d)return ue(7);var ge=(z={},z[l]=r,z[a]=o,z[i]=t,z)[re]||1,Ee=this.$d.getTime()+H*ge;return $.w(Ee,this)},K.subtract=function(H,J){return this.add(-1*H,J)},K.format=function(H){var J=this,z=this.$locale();if(!this.isValid())return z.invalidDate||g;var ee=H||"YYYY-MM-DDTHH:mm:ssZ",re=$.z(this),ue=this.$H,ge=this.$m,Ee=this.$M,Se=z.weekdays,ke=z.months,xe=z.meridiem,Ae=function(I,L,A,T){return I&&(I[L]||I(J,ee))||A[L].slice(0,T)},O=function(I){return $.s(ue%12||12,I,"0")},D=xe||function(I,L,A){var T=I<12?"AM":"PM";return A?T.toLowerCase():T};return ee.replace(C,function(I,L){return L||function(A){switch(A){case"YY":return String(J.$y).slice(-2);case"YYYY":return $.s(J.$y,4,"0");case"M":return Ee+1;case"MM":return $.s(Ee+1,2,"0");case"MMM":return Ae(z.monthsShort,Ee,ke,3);case"MMMM":return Ae(ke,Ee);case"D":return J.$D;case"DD":return $.s(J.$D,2,"0");case"d":return String(J.$W);case"dd":return Ae(z.weekdaysMin,J.$W,Se,2);case"ddd":return Ae(z.weekdaysShort,J.$W,Se,3);case"dddd":return Se[J.$W];case"H":return String(ue);case"HH":return $.s(ue,2,"0");case"h":return O(1);case"hh":return O(2);case"a":return D(ue,ge,!0);case"A":return D(ue,ge,!1);case"m":return String(ge);case"mm":return $.s(ge,2,"0");case"s":return String(J.$s);case"ss":return $.s(J.$s,2,"0");case"SSS":return $.s(J.$ms,3,"0");case"Z":return re}return null}(I)||re.replace(":","")})},K.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},K.diff=function(H,J,z){var ee,re=this,ue=$.p(J),ge=U(H),Ee=(ge.utcOffset()-this.utcOffset())*r,Se=this-ge,ke=function(){return $.m(re,ge)};switch(ue){case p:ee=ke()/12;break;case f:ee=ke();break;case h:ee=ke()/3;break;case d:ee=(Se-Ee)/6048e5;break;case u:ee=(Se-Ee)/864e5;break;case a:ee=Se/o;break;case l:ee=Se/r;break;case i:ee=Se/t;break;default:ee=Se}return z?ee:$.a(ee)},K.daysInMonth=function(){return this.endOf(f).$D},K.$locale=function(){return b[this.$L]},K.locale=function(H,J){if(!H)return this.$L;var z=this.clone(),ee=R(H,J,!0);return ee&&(z.$L=ee),z},K.clone=function(){return $.w(this.$d,this)},K.toDate=function(){return new Date(this.valueOf())},K.toJSON=function(){return this.isValid()?this.toISOString():null},K.toISOString=function(){return this.$d.toISOString()},K.toString=function(){return this.$d.toUTCString()},G}(),Y=P.prototype;return U.prototype=Y,[["$ms",s],["$s",i],["$m",l],["$H",a],["$W",u],["$M",f],["$y",p],["$D",m]].forEach(function(G){Y[G[1]]=function(K){return this.$g(K,G[0],G[1])}}),U.extend=function(G,K){return G.$i||(G(K,P,U),G.$i=!0),U},U.locale=R,U.isDayjs=B,U.unix=function(G){return U(1e3*G)},U.en=b[N],U.Ls=b,U.p={},U})})(Cg);var Ag=Cg.exports;const ns=zl(Ag),bg=(n,e,t,r,o,s)=>{const i=c.ref(null),l=c.ref(null),a=c.ref(!1),u=c.ref(null),{showModal:d,closeModal:f}=ml("session-time-out-modal"),h=c.computed(()=>i.value&&n?n-(i.value+1):0),p=c.computed(()=>l.value?60-l.value:0),m=c.computed(()=>a.value),g=()=>{u.value=setInterval(C,1e3),r(u.value)},y=()=>{u.value&&clearInterval(u.value)},C=()=>{i.value=ns().diff(t(),"m"),l.value=ns().subtract(i.value,"m").diff(t(),"s");const B=n??Number.MAX_SAFE_INTEGER,R=e??0;i.value>=B?(a.value=!0,d(),localStorage.setItem("session-timeout","true"),window.onbeforeunload=w):i.value>=B-R?d():f()},w=B=>{B.stopPropagation(),v()},E=()=>{o(),y(),i.value=null,l.value=null,g()},v=()=>{y(),i.value=null,l.value=null,localStorage.removeItem("session-timeout"),s()},N=()=>{a.value?v():E()},b=()=>{v()},x=()=>{a.value?v():f()};return c.onMounted(()=>{const B=document.getElementById("session-time-out-modal");B&&B.addEventListener("hidden.bs.modal",N),y(),g()}),{IsExpired:m,Minutes:h,Seconds:p,OnLogOut:b,OnSubmit:x}},wg=c.defineComponent({__name:"BDSessionTimeOutModal",props:["expiredTitle","expiredMessage","expiredButtonText","almostExpiredTitle","almostExpiredMessage","almostExpiredButtonText","almostExpiredCancelButtonText","threshold","warningThreshold","getTime","setTaskId","setNewTime","logout","hideCancelButton"],setup(n){const e=n,{IsExpired:t,Minutes:r,Seconds:o,OnLogOut:s,OnSubmit:i}=bg(e.threshold,e.warningThreshold,e.getTime,e.setTaskId,e.setNewTime,e.logout),l=c.computed(()=>t.value?e.expiredTitle:e.almostExpiredTitle),a=c.computed(()=>t.value?e.expiredMessage:`${e.almostExpiredMessage} ${r.value}:${o.value<10?"0"+o.value:o.value}`),u=c.computed(()=>e.hideCancelButton||t.value),d=c.computed(()=>t.value?e.expiredButtonText:e.almostExpiredButtonText);return(f,h)=>(c.openBlock(),c.createBlock(ti,{id:"session-time-out-modal",title:l.value,"hide-close-button":!0,"hide-footer-cancel-button":u.value,"close-button-title":e.almostExpiredCancelButtonText,"submit-button-title":d.value,size:"md",onSubmit:c.unref(i),onCancel:c.unref(s)},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(a.value),1)]),_:1},8,["title","hide-footer-cancel-button","close-button-title","submit-button-title","onSubmit","onCancel"]))}}),Tg=()=>({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}}),xM={class:"template change-password-template"},MM={class:"template-title"},OM={key:0},LM={key:1},DM=["onSubmit","onReset"],RM={class:"bd-form-field"},BM={class:"bd-form-field"},PM={class:"bd-form-field"},FM={class:"bd-form-buttons"},Sg=c.defineComponent({__name:"BDChangePasswordTemplate",props:{templateTitle:{},alertText:{},currentPasswordLabel:{},newPasswordLabel:{},confirmNewPasswordLabel:{},submitButtonText:{},cancelButtonText:{},successText:{},failureText:{},requiredText:{},incompatibleText:{},minimalRequirementsText:{},submitPassword:{type:Function}},setup(n){const e=n,{showDangerToast:t,showSuccessToast:r}=gl(),{errorMessages:o,errorMessageText:s,MapServerErrors:i,ResetServerErrors:l}=Sd(null),{ValidationObjectIsValid:a}=Tg();let u=c.ref({password:Ve,passwordNew:Ve,passwordRepeat:Ve}),d=c.ref({password:{state:null,errorLabel:Ve},passwordNew:{state:null,errorLabel:Ve},passwordRepeat:{state:null,errorLabel:Ve}});const f=()=>{if(!h())return;const g=e.submitPassword(u.value);g&&g.then(()=>{r(e.successText),p()}).catch(y=>{t(e.failureText),i(y)})},h=()=>{const m=/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[@$!%*?&])[A-Za-z\d@$!%*?&]{8,}$/;if(u.value.passwordNew&&!m.test(u.value.passwordNew))d.value.passwordNew.state=!1,d.value.passwordNew.errorLabel=e.minimalRequirementsText;else{const g=u.value.passwordRepeat===u.value.passwordNew,y=g?e.requiredText:e.incompatibleText;d.value.passwordNew.state=u.value.passwordNew!==Ve&&g?null:!1,d.value.passwordNew.errorLabel=y,d.value.passwordRepeat.state=u.value.passwordRepeat!==Ve&&g?null:!1,d.value.passwordRepeat.errorLabel=y}return d.value.password.state=u.value.password!==Ve?null:!1,d.value.password.errorLabel=d.value.password.state?Ve:e.requiredText,a(d.value)},p=()=>{u.value.password=Ve,u.value.passwordNew=Ve,u.value.passwordRepeat=Ve,d.value.password.state=null,d.value.passwordNew.state=null,d.value.passwordRepeat.state=null,l()};return(m,g)=>(c.openBlock(),c.createElementBlock("main",xM,[c.createVNode(ss,{class:"container-xl"},{default:c.withCtx(()=>[c.createVNode(xr,{class:"justify-content-md-center template-header"},{default:c.withCtx(()=>[c.createVNode(Ir,{xs:12,md:10,lg:7},{default:c.withCtx(()=>[c.createElementVNode("h1",MM,c.toDisplayString(e.templateTitle),1)]),_:1})]),_:1}),c.createVNode(xr,{class:"justify-content-md-center"},{default:c.withCtx(()=>[c.createVNode(Ir,{xs:12,md:10,lg:7},{default:c.withCtx(()=>[c.createVNode(ui,{class:"bd-card-template","no-header":!0},{body:c.withCtx(()=>[c.createVNode(ss,{class:"container-fluid"},{default:c.withCtx(()=>[c.createVNode(xr,null,{default:c.withCtx(()=>[c.createVNode(Ir,null,{default:c.withCtx(()=>[c.createVNode(as,{variant:"warning"},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(m.alertText),1)]),_:1})]),_:1})]),_:1}),c.unref(o)||c.unref(s)?(c.openBlock(),c.createBlock(xr,{key:0},{default:c.withCtx(()=>[c.createVNode(Ir,null,{default:c.withCtx(()=>[c.createVNode(as,{variant:"danger"},{default:c.withCtx(()=>[c.unref(o)?(c.openBlock(),c.createElementBlock("div",OM,[c.createElementVNode("ul",null,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(c.unref(o),(y,C)=>(c.openBlock(),c.createElementBlock("li",{key:C},[c.createVNode(Lr),c.createElementVNode("span",null,c.toDisplayString(y),1)]))),128))])])):(c.openBlock(),c.createElementBlock("div",LM,c.toDisplayString(c.unref(s)),1))]),_:1})]),_:1})]),_:1})):c.createCommentVNode("",!0),c.createVNode(xr,null,{default:c.withCtx(()=>[c.createVNode(Ir,{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",RM,[c.createVNode(Br,{modelValue:c.unref(u).password,"onUpdate:modelValue":g[0]||(g[0]=y=>c.unref(u).password=y),label:m.currentPasswordLabel,state:c.unref(d).password.state,type:"password","invalid-feedback-text":c.unref(d).password.errorLabel},null,8,["modelValue","label","state","invalid-feedback-text"])]),c.createElementVNode("div",BM,[c.createVNode(Br,{modelValue:c.unref(u).passwordNew,"onUpdate:modelValue":g[1]||(g[1]=y=>c.unref(u).passwordNew=y),label:m.newPasswordLabel,state:c.unref(d).passwordNew.state,type:"password","invalid-feedback-text":c.unref(d).passwordNew.errorLabel},null,8,["modelValue","label","state","invalid-feedback-text"])]),c.createElementVNode("div",PM,[c.createVNode(Br,{modelValue:c.unref(u).passwordRepeat,"onUpdate:modelValue":g[2]||(g[2]=y=>c.unref(u).passwordRepeat=y),label:m.confirmNewPasswordLabel,state:c.unref(d).passwordRepeat.state,type:"password","invalid-feedback-text":c.unref(d).passwordRepeat.errorLabel},null,8,["modelValue","label","state","invalid-feedback-text"])]),c.createElementVNode("div",FM,[c.createVNode(Ze,{type:"submit"},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(m.submitButtonText),1)]),_:1}),c.createVNode(Ze,{type:"reset",variant:"link"},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(m.cancelButtonText),1)]),_:1})])],40,DM)]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]))}}),VM={class:"template not-found-template"},$M={class:"center-screen"},UM={class:"container-warning"},zM=["textContent"],HM=["textContent"],_g=c.defineComponent({__name:"BDNotFoundTemplate",props:{buttonText:{type:String}},emits:["navigate"],setup(n,{emit:e}){const t=n,{t:r}=ei(),o=c.computed(()=>t.buttonText||r("notFoundTemplate.buttonDefault")),s=c.computed(()=>r("notFoundTemplate.title")),i=c.computed(()=>r("notFoundTemplate.description")),l=()=>e("navigate");return(a,u)=>(c.openBlock(),c.createElementBlock("main",VM,[c.createVNode(ss,{class:"container-xl"},{default:c.withCtx(()=>[c.createElementVNode("div",$M,[c.createElementVNode("div",UM,[c.createVNode(Ll),c.createElementVNode("h5",{textContent:c.toDisplayString(s.value)},null,8,zM),c.createElementVNode("p",{textContent:c.toDisplayString(i.value)},null,8,HM),c.createVNode(Ze,{onClick:l,variant:"primary",type:"button",textContent:c.toDisplayString(o.value)},null,8,["textContent"])])])]),_:1})]))}});var jM={exports:{}};(function(n,e){(function(t,r){n.exports=r(Ag)})(Ul,function(t){function r(i){return i&&typeof i=="object"&&"default"in i?i:{default:i}}var o=r(t),s={name:"nl",weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),ordinal:function(i){return"["+i+(i===1||i===8||i>=20?"ste":"de")+"]"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"een minuut",mm:"%d minuten",h:"een uur",hh:"%d uur",d:"een dag",dd:"%d dagen",M:"een maand",MM:"%d maanden",y:"een jaar",yy:"%d jaar"}};return o.default.locale(s,null,!0),s})})(jM);var kg={exports:{}};(function(n,e){(function(t,r){n.exports=r()})(Ul,function(){var t={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,o=/\d/,s=/\d\d/,i=/\d\d?/,l=/\d*[^-_:/,()\s\d]+/,a={},u=function(y){return(y=+y)+(y>68?1900:2e3)},d=function(y){return function(C){this[y]=+C}},f=[/[+-]\d\d:?(\d\d)?|Z/,function(y){(this.zone||(this.zone={})).offset=function(C){if(!C||C==="Z")return 0;var w=C.match(/([+-]|\d\d)/g),E=60*w[1]+(+w[2]||0);return E===0?0:w[0]==="+"?-E:E}(y)}],h=function(y){var C=a[y];return C&&(C.indexOf?C:C.s.concat(C.f))},p=function(y,C){var w,E=a.meridiem;if(E){for(var v=1;v<=24;v+=1)if(y.indexOf(E(v,0,C))>-1){w=v>12;break}}else w=y===(C?"pm":"PM");return w},m={A:[l,function(y){this.afternoon=p(y,!1)}],a:[l,function(y){this.afternoon=p(y,!0)}],Q:[o,function(y){this.month=3*(y-1)+1}],S:[o,function(y){this.milliseconds=100*+y}],SS:[s,function(y){this.milliseconds=10*+y}],SSS:[/\d{3}/,function(y){this.milliseconds=+y}],s:[i,d("seconds")],ss:[i,d("seconds")],m:[i,d("minutes")],mm:[i,d("minutes")],H:[i,d("hours")],h:[i,d("hours")],HH:[i,d("hours")],hh:[i,d("hours")],D:[i,d("day")],DD:[s,d("day")],Do:[l,function(y){var C=a.ordinal,w=y.match(/\d+/);if(this.day=w[0],C)for(var E=1;E<=31;E+=1)C(E).replace(/\[|\]/g,"")===y&&(this.day=E)}],w:[i,d("week")],ww:[s,d("week")],M:[i,d("month")],MM:[s,d("month")],MMM:[l,function(y){var C=h("months"),w=(h("monthsShort")||C.map(function(E){return E.slice(0,3)})).indexOf(y)+1;if(w<1)throw new Error;this.month=w%12||w}],MMMM:[l,function(y){var C=h("months").indexOf(y)+1;if(C<1)throw new Error;this.month=C%12||C}],Y:[/[+-]?\d+/,d("year")],YY:[s,function(y){this.year=u(y)}],YYYY:[/\d{4}/,d("year")],Z:f,ZZ:f};function g(y){var C,w;C=y,w=a&&a.formats;for(var E=(y=C.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(U,$,P){var Y=P&&P.toUpperCase();return $||w[P]||t[P]||w[Y].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(G,K,H){return K||H.slice(1)})})).match(r),v=E.length,N=0;N<v;N+=1){var b=E[N],x=m[b],B=x&&x[0],R=x&&x[1];E[N]=R?{regex:B,parser:R}:b.replace(/^\[|\]$/g,"")}return function(U){for(var $={},P=0,Y=0;P<v;P+=1){var G=E[P];if(typeof G=="string")Y+=G.length;else{var K=G.regex,H=G.parser,J=U.slice(Y),z=K.exec(J)[0];H.call($,z),U=U.replace(z,"")}}return function(ee){var re=ee.afternoon;if(re!==void 0){var ue=ee.hours;re?ue<12&&(ee.hours+=12):ue===12&&(ee.hours=0),delete ee.afternoon}}($),$}}return function(y,C,w){w.p.customParseFormat=!0,y&&y.parseTwoDigitYear&&(u=y.parseTwoDigitYear);var E=C.prototype,v=E.parse;E.parse=function(N){var b=N.date,x=N.utc,B=N.args;this.$u=x;var R=B[1];if(typeof R=="string"){var U=B[2]===!0,$=B[3]===!0,P=U||$,Y=B[2];$&&(Y=B[2]),a=this.$locale(),!U&&Y&&(a=w.Ls[Y]),this.$d=function(J,z,ee,re){try{if(["x","X"].indexOf(z)>-1)return new Date((z==="X"?1e3:1)*J);var ue=g(z)(J),ge=ue.year,Ee=ue.month,Se=ue.day,ke=ue.hours,xe=ue.minutes,Ae=ue.seconds,O=ue.milliseconds,D=ue.zone,I=ue.week,L=new Date,A=Se||(ge||Ee?1:L.getDate()),T=ge||L.getFullYear(),k=0;ge&&!Ee||(k=Ee>0?Ee-1:L.getMonth());var M,j=ke||0,W=xe||0,Z=Ae||0,X=O||0;return D?new Date(Date.UTC(T,k,A,j,W,Z,X+60*D.offset*1e3)):ee?new Date(Date.UTC(T,k,A,j,W,Z,X)):(M=new Date(T,k,A,j,W,Z,X),I&&(M=re(M).week(I).toDate()),M)}catch{return new Date("")}}(b,R,x,w),this.init(),Y&&Y!==!0&&(this.$L=this.locale(Y).$L),P&&b!=this.format(R)&&(this.$d=new Date("")),a={}}else if(R instanceof Array)for(var G=R.length,K=1;K<=G;K+=1){B[1]=R[K-1];var H=w.apply(this,B);if(H.isValid()){this.$d=H.$d,this.$L=H.$L,this.init();break}K===G&&(this.$d=new Date(""))}else v.call(this,N)}}})})(kg);var WM=kg.exports;const KM=zl(WM);ns.extend(KM),ns.locale("nl");function YM(n,e=ns().startOf("day")){const t="DD-MM-YYYY",r=ns(n,t);if(r.isSame(e))return"vandaag";const s=e.subtract(1,"day");if(r.isSame(s))return"gister";const l=e.subtract(2,"day");if(r.isSame(l))return"eergister";const u=e.subtract(7,"day");if(r.isAfter(u)){const h="dddd";return r.format(h)}if(r.year()==e.year()){const h="D MMM";return r.format(h)}return r.format(t)}const GM=n=>{const e=new RegExp("(?<=^|a>)((?:(?!<a).)*?)"),t=/((https?:\/\/|www\.)[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-zA-Z0-9()]{2,24}\b([-a-zA-Z0-9()!@:%_+.~#?&/=]*))/;let r=new RegExp(e.source+t.source,"g");return n.replace(r,(o,s,i)=>{const l=i.startsWith("www.")?`http://${i}`:i;return`${s}<a href="${l}" target="_blank" rel="noopener noreferrer">${i}</a>`})},QM=(n,e)=>`<p><a href="${n}" title="${e}" target="_blank" rel="noopener noreferrer">${e}</a></p>`,ZM=n=>n.startsWith("http://")||n.startsWith("https://"),JM={install:n=>{n.component("BDAlert",as),n.component("BDArticle",Wf),n.component("BDAttachmentPreviewList",$a),n.component("BDBadge",$f),n.component("BDButton",Ze),n.component("BDCard",ui),n.component("BDChangePasswordTemplate",Sg),n.component("BDChatCloud",Y0),n.component("BDCol",Ir),n.component("BDCollapsableCard",Df),n.component("BDContainer",ss),n.component("BDDropdown",nd),n.component("BDDropdownItem",pi),n.component("BDDropzone",Gf),n.component("BDForm",Uf),n.component("BDFormCheckbox",jf),n.component("BDFormInput",Br),n.component("BDFormInvalidFeedback",di),n.component("BDFormSelect",Hf),n.component("BDHeader",rd),n.component("BDImageAttachmentModal",vg),n.component("BDImageAttachmentPreviewList",Ua),n.component("BDInputGroup",Vf),n.component("BDLink",Mr),n.component("BDLogo",vl),n.component("BDMarkdownEditor",W0),n.component("BDMobileMenu",td),n.component("BDModal",ti),n.component("BDNotFoundTemplate",_g),n.component("BDPagination",zf),n.component("BDPhoneNumberEditModal",Eg),n.component("BDPill",hi),n.component("BDPractitionerHeader",gg),n.component("BDProfileImage",ls),n.component("BDRow",xr),n.component("BDSessionTimeOutModal",wg),n.component("BDTable",G0),n.component("BDToast",Vl),n.component("BDUser",K0),n.component("BDUserInformation",$l),n.component("BDVideoCallToast",J0),n.component("BDZoomslider",Bl),n.component("IconAcademy",ni),n.component("IconArrowDown",Ld),n.component("IconArrowUp",Dd),n.component("IconAttachment",Or),n.component("IconBold",El),n.component("IconBulletList",Cl),n.component("IconCalendar",Rd),n.component("IconCall",ri),n.component("IconCallReject",Al),n.component("IconCardView",Bd),n.component("IconCaretDown",bl),n.component("IconCaretLeft",wl),n.component("IconCaretRight",Tl),n.component("IconCheck",uo),n.component("IconClipboard",Pd),n.component("IconClose",oi),n.component("IconComment",Fd),n.component("IconCommentActive",Vd),n.component("IconCommonFileEmpty",Ud),n.component("IconCommonFileWarning",zd),n.component("IconCommentStatic",$d),n.component("IconContactPerson",Hd),n.component("IconCopy",jd),n.component("IconDelete",Wd),n.component("IconDoubleCheck",Kd),n.component("IconDownloadImage",Sl),n.component("IconEdit",Yd),n.component("IconEndCall",Gd),n.component("IconError",si),n.component("IconExternal",Qd),n.component("IconEyeShow",Zd),n.component("IconEyeSlash",Jd),n.component("IconFile",_l),n.component("IconFileAdded",Xd),n.component("IconForward",qd),n.component("IconHix",ef),n.component("IconHyperlink",ii),n.component("IconImageFileLandscape",tf),n.component("IconImageFileWarning",nf),n.component("IconInfo",Lr),n.component("IconInformationCircle",rf),n.component("IconItalic",kl),n.component("IconListView",of),n.component("IconLock",sf),n.component("IconLusciiEscalated",af),n.component("IconLusciiLogo",lf),n.component("IconLusciiOpen",cf),n.component("IconLusciiPriorityHigh",uf),n.component("IconLusciiPriorityLow",df),n.component("IconLusciiPriorityMedium",ff),n.component("IconMenu",Nl),n.component("IconMessage",hf),n.component("IconMessageForward",pf),n.component("IconMicrophoneSlash",mf),n.component("IconMicrosoftTeams",gf),n.component("IconMin",yf),n.component("IconOrderedList",Il),n.component("IconPlus",vf),n.component("IconRefresh",Ef),n.component("IconRemove",is),n.component("IconSananetLogo",Cf),n.component("IconService",Af),n.component("IconShareScreen",bf),n.component("IconSingleNeutral",wf),n.component("IconSort",Tf),n.component("IconSortAsc",xl),n.component("IconSortDesc",Ml),n.component("IconSortNone",Ol),n.component("IconTriangleDown",Sf),n.component("IconTriangleExclamation",Ll),n.component("IconUnderline",Dl),n.component("IconVideoDisabled",kf),n.component("IconVideocall",_f),n.component("IconZorgkaart",Nf),n.directive("vBDTooltip",Gs)}};ne.BDAlert=as,ne.BDArticle=Wf,ne.BDAttachmentPreviewList=$a,ne.BDBadge=$f,ne.BDButton=Ze,ne.BDCard=ui,ne.BDChangePasswordTemplate=Sg,ne.BDChatCloud=Y0,ne.BDCol=Ir,ne.BDCollapsableCard=Df,ne.BDContainer=ss,ne.BDDropdown=nd,ne.BDDropdownItem=pi,ne.BDDropzone=Gf,ne.BDForm=Uf,ne.BDFormCheckbox=jf,ne.BDFormInput=Br,ne.BDFormInvalidFeedback=di,ne.BDFormSelect=Hf,ne.BDHeader=rd,ne.BDImageAttachmentModal=vg,ne.BDImageAttachmentPreviewList=Ua,ne.BDInputGroup=Vf,ne.BDLink=Mr,ne.BDLogo=vl,ne.BDMarkdownEditor=W0,ne.BDMobileMenu=td,ne.BDModal=ti,ne.BDNotFoundTemplate=_g,ne.BDPagination=zf,ne.BDPhoneNumberEditModal=Eg,ne.BDPill=hi,ne.BDPractitionerHeader=gg,ne.BDProfileImage=ls,ne.BDRow=xr,ne.BDSessionTimeOutModal=wg,ne.BDTable=G0,ne.BDToast=Vl,ne.BDUser=K0,ne.BDUserInformation=$l,ne.BDVideoCallToast=J0,ne.BDZoomslider=Bl,ne.CreateHyperlinkParagraph=QM,ne.IconAcademy=ni,ne.IconArrowDown=Ld,ne.IconArrowUp=Dd,ne.IconAttachment=Or,ne.IconBold=El,ne.IconBulletList=Cl,ne.IconCalendar=Rd,ne.IconCall=ri,ne.IconCallReject=Al,ne.IconCardView=Bd,ne.IconCaretDown=bl,ne.IconCaretLeft=wl,ne.IconCaretRight=Tl,ne.IconCheck=uo,ne.IconClipboard=Pd,ne.IconClose=oi,ne.IconComment=Fd,ne.IconCommentActive=Vd,ne.IconCommentStatic=$d,ne.IconCommonFileEmpty=Ud,ne.IconCommonFileWarning=zd,ne.IconContactPerson=Hd,ne.IconCopy=jd,ne.IconDelete=Wd,ne.IconDoubleCheck=Kd,ne.IconDownloadImage=Sl,ne.IconEdit=Yd,ne.IconEndCall=Gd,ne.IconError=si,ne.IconExternal=Qd,ne.IconEyeShow=Zd,ne.IconEyeSlash=Jd,ne.IconFile=_l,ne.IconFileAdded=Xd,ne.IconForward=qd,ne.IconHix=ef,ne.IconHyperlink=ii,ne.IconImageFileLandscape=tf,ne.IconImageFileWarning=nf,ne.IconInfo=Lr,ne.IconInformationCircle=rf,ne.IconItalic=kl,ne.IconListView=of,ne.IconLock=sf,ne.IconLusciiEscalated=af,ne.IconLusciiLogo=lf,ne.IconLusciiOpen=cf,ne.IconLusciiPriorityHigh=uf,ne.IconLusciiPriorityLow=df,ne.IconLusciiPriorityMedium=ff,ne.IconMenu=Nl,ne.IconMessage=hf,ne.IconMessageForward=pf,ne.IconMicrophoneSlash=mf,ne.IconMicrosoftTeams=gf,ne.IconMin=yf,ne.IconOrderedList=Il,ne.IconPlus=vf,ne.IconRefresh=Ef,ne.IconRemove=is,ne.IconSananetLogo=Cf,ne.IconService=Af,ne.IconShareScreen=bf,ne.IconSingleNeutral=wf,ne.IconSort=Tf,ne.IconSortAsc=xl,ne.IconSortDesc=Ml,ne.IconSortNone=Ol,ne.IconTriangleDown=Sf,ne.IconTriangleExclamation=Ll,ne.IconUnderline=Dl,ne.IconVideoDisabled=kf,ne.IconVideocall=_f,ne.IconZorgkaart=Nf,ne.TransformHyperlinks=GM,ne.ValidateUrl=ZM,ne.default=JM,ne.getDisplayDate=YM,ne.useModal=ml,ne.usePopover=mg,ne.useServerErrors=Sd,ne.useSessionTimeOut=bg,ne.useToaster=gl,ne.useValidation=Tg,ne.useWindow=Td,ne.useZoom=yg,ne.vBdTooltip=Gs,Object.defineProperties(ne,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
207
|
+
`});return(d,f)=>i.value?(c.openBlock(),c.createElementBlock("a",{key:0,ref_key:"notificationButton",ref:s,tabindex:"0",class:"bd-notification-button",role:"button","data-bs-toggle":"popover","data-bs-placement":"bottom","data-bs-title":a.value,"data-bs-content":u.value,"data-bs-html":!0,onClick:f[0]||(f[0]=(...h)=>c.unref(o)&&c.unref(o)(...h))},[c.withDirectives(c.createElementVNode("img",{src:nM,alt:"BeterDichtbij nieuws notificatie bel.",title:l.value},null,8,sM),[[c.unref(Zs)]]),c.unref(r)?(c.openBlock(),c.createElementBlock("div",iM)):c.createCommentVNode("",!0)],8,oM)):c.createCommentVNode("",!0)}}),lM={class:"profile-side"},cM=["href"],uM={class:"nav-item"},dM=["textContent"],gg=c.defineComponent({__name:"BDPractitionerHeader",props:{academyUrl:{},userId:{},getNotification:{}},setup(n){const e=n,{t}=ns(),r=c.computed(()=>t("practitionerHeader.academyTooltip")),o=c.computed(()=>t("practitionerHeader.AcademyMenuItem"));return(s,i)=>(c.openBlock(),c.createBlock(od,null,c.createSlots({"profile-side":c.withCtx(()=>[c.createElementVNode("div",lM,[c.createVNode(aM,{"user-id":e.userId,"get-notification":e.getNotification},null,8,["user-id","get-notification"]),e.academyUrl?(c.openBlock(),c.createElementBlock("a",{key:0,href:e.academyUrl,target:"_blank",rel:"noopener,noreferrer"},[c.withDirectives(c.createVNode(c.unref(ri),{title:r.value},null,8,["title"]),[[c.unref(Zs)]])],8,cM)):c.createCommentVNode("",!0)])]),_:2},[e.academyUrl?{name:"mobile-menu-special-options",fn:c.withCtx(()=>[c.createElementVNode("li",uM,[c.createVNode(Mr,{class:"nav-link",to:e.academyUrl},{default:c.withCtx(()=>[c.createVNode(c.unref(ri)),c.createElementVNode("span",{textContent:c.toDisplayString(o.value)},null,8,dM)]),_:1},8,["to"])])]),key:"0"}:void 0]),1024))}}),fM={class:"modal-dialog"},hM={class:"modal-content"},pM={class:"modal-header"},mM={class:"modal-title"},gM=["src"],yM=c.createElementVNode("span",null,"Sluiten",-1),vM={class:"modal-body"},EM={key:0,class:"modal-footer"},CM=["disabled"],rs=c.defineComponent({__name:"BDModal",props:{title:{default:""},titleImage:{default:""},submitButtonTitle:{default:"Opslaan"},closeButtonTitle:{default:"Annuleren"},hideFooterCancelButton:{type:Boolean,default:!1},hideFooterSubmitButton:{type:Boolean,default:!1},hideFooter:{type:Boolean,default:!1},hideCloseButton:{type:Boolean,default:!1},disableSubmitButton:{type:Boolean,default:!1},size:{default:"lg"}},emits:["submit","cancel"],setup(n,{emit:e}){const t=n,r=c.computed(()=>`modal bd-modal modal-${t.size}`),o=()=>e("submit"),s=()=>e("cancel");return(i,l)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(r.value),tabindex:"-1"},[c.createElementVNode("div",fM,[c.createElementVNode("div",hM,[c.createElementVNode("div",pM,[c.createElementVNode("h2",mM,[t.titleImage?(c.openBlock(),c.createElementBlock("img",{key:0,src:t.titleImage,class:"title-image",alt:""},null,8,gM)):c.createCommentVNode("",!0),c.createElementVNode("span",null,c.toDisplayString(t.title),1)]),c.renderSlot(i.$slots,"modal-header-space-between"),t.hideCloseButton?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("button",{key:0,type:"button",class:"btn-close w-auto","data-bs-dismiss":"modal","aria-label":"Sluiten",onClick:s},[yM,c.createVNode(c.unref(si))]))]),c.createElementVNode("div",vM,[c.renderSlot(i.$slots,"default")]),i.hideFooter?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",EM,[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,CM)),c.renderSlot(i.$slots,"buttons"),t.hideFooterCancelButton?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("button",{key:1,type:"button",class:"btn btn-link","data-bs-dismiss":"modal",onClick:s,"aria-label":"Annuleren"},c.toDisplayString(t.closeButtonTitle),1))]))])])],2))}}),ni=n=>{const e=c.ref(null);return{showModal:()=>{const o=document.getElementById(n);o instanceof HTMLElement?(e.value=Ar.getOrCreateInstance(o),e.value.show()):console.error(`Modal '${n}' niet gevonden.`)},closeModal:()=>{if(e.value){e.value.hide();return}const o=document.getElementById(n);if(o instanceof HTMLElement){const s=Ar.getInstance(o);s&&s.hide()}}}};function yg(){const n=c.ref(0),e=c.ref(!0),t=c.ref(null),r=c.ref({top:0,left:0,x:0,y:0}),o=c.computed(()=>n.value>0?`zoom-${n.value}`:"");return{zoom:n,mouseDown:e,imageHolderRef:t,pos:r,SetZoom:o,OnMouseDown:a=>{if(!t.value)return;r.value.left=t.value.scrollLeft,r.value.top=t.value.scrollTop;const u=document.querySelector("#image-attachment-modal"),d=document.querySelector(".image-preview-image-holder");u&&(u.style.cursor="grabbing"),d&&(d.style.cursor="grabbing"),r.value.x=a.clientX,r.value.y=a.clientY,e.value=!0},OnMouseMove:a=>{if(e.value){const u=a.clientX-r.value.x,d=a.clientY-r.value.y;t.value&&(t.value.scrollTop=r.value.top-d,t.value.scrollLeft=r.value.left-u)}},OnMouseUp:()=>{const a=document.querySelector("#image-attachment-modal"),u=document.querySelector(".image-preview-image-holder");a&&a.style&&(a.style.cursor=""),u&&u.style&&(u.style.cursor="grab"),e.value=!1}}}const AM=["src","alt"],bM={key:0,class:"show-spinner"},wM={class:"spinner-border text-primary",role:"status"},TM={class:"visually-hidden"},SM=["href"],vg=c.defineComponent({__name:"BDImageAttachmentModal",props:["loadingText","downloadText"],setup(n,{expose:e}){const t=n,{showModal:r}=ni("image-attachment-modal"),{zoom:o,imageHolderRef:s,SetZoom:i,OnMouseDown:l,OnMouseMove:a,OnMouseUp:u}=yg(),d=c.ref(!0),f=c.ref({BerichtId:0,Id:void 0,MimeType:null,Naam:Ve,altName:Ve,downloadUrl:Ve,fullImageUrl:Ve,previewUrl:Ve});e({Show:g=>{f.value=g,o.value=0,r()}});const p=()=>{d.value=!1},m=()=>{f.value={BerichtId:0,Id:void 0,MimeType:null,Naam:Ve,altName:Ve,downloadUrl:Ve,fullImageUrl:Ve,previewUrl:Ve}};return(g,y)=>(c.openBlock(),c.createBlock(rs,{id:"image-attachment-modal",class:c.normalizeClass(c.unref(Ve)),title:f.value.Naam,hideFooterCancelButton:!0,showHeaderButton:!0,onCancel:m},{default:c.withCtx(()=>[c.createElementVNode("div",{class:"image-preview-image-holder",ref_key:"imageHolderRef",ref:s,onMousedown:y[0]||(y[0]=(...C)=>c.unref(l)&&c.unref(l)(...C)),onMousemove:y[1]||(y[1]=(...C)=>c.unref(a)&&c.unref(a)(...C)),onMouseup:y[2]||(y[2]=(...C)=>c.unref(u)&&c.unref(u)(...C))},[f.value?(c.openBlock(),c.createElementBlock("img",{key:0,src:f.value.downloadUrl,alt:f.value.Naam,class:c.normalizeClass(["image-preview-modal",c.unref(i)]),onLoad:p,draggable:!1},null,42,AM)):c.createCommentVNode("",!0)],544),d.value?(c.openBlock(),c.createElementBlock("div",bM,[c.createElementVNode("div",wM,[c.createElementVNode("span",TM,c.toDisplayString(t.loadingText),1)])])):c.createCommentVNode("",!0),c.createVNode(Bl,{modelValue:c.unref(o),"onUpdate:modelValue":y[3]||(y[3]=C=>c.isRef(o)?o.value=C:null),class:"image-preview-bd-zoom-slider","max-value":4},null,8,["modelValue"]),c.createElementVNode("a",{href:f.value.downloadUrl},[c.createVNode(Ze,{variant:"primary",class:"download-image"},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(t.downloadText),1)]),_:1})],8,SM)]),_:1},8,["class","title"]))}});function gl(n=void 0){const e=l=>s("Succesvol",l,ho.SUCCESS),t=l=>s("Waarschuwing",l,ho.WARNING),r=l=>s("Informatie",l,ho.INFO),o=l=>s("Mislukt",l,ho.DANGER);function s(l,a,u){const d=`toast-${Df()}`,f={id:d,variant:u,title:l,text:a},h=document.querySelector(".toast-container");if(!h){console.error("There was no element with class 'toast-container' found, which is required for useToaster.");return}const p=c.h(Vl,f),g=c.createApp({render:()=>p}).mount(document.createElement("div"));h.appendChild(g.$el);const y=document.querySelector(`#${d}`);y&&(Zo.getOrCreateInstance(y,n).show(),i(y))}function i(l){function a(f,h){f.forEach(p=>{if(p.attributeName!="class")return;const m=p.target;if(m.classList.contains("hide")){m.remove(),h.disconnect();return}})}const u=new MutationObserver(a),d={attributes:!0};u.observe(l,d)}return{showSuccessToast:e,showInformationToast:r,showWarningToast:t,showDangerToast:o}}const{showDangerToast:_M}=gl();function _d(n){const e=c.ref(null),t=(a,u="serverErrors")=>{var f;let d=[];if(Array.isArray((f=a==null?void 0:a.response)==null?void 0:f.data)?d=a.response.data.filter(h=>hi(h.ErrorMessage)&&h.ErrorMessage!==Ve):a.response.data.ErrorMessage?d=[a.response.data.ErrorMessage]:d=null,hi(u))e.value=d;else if(Array.isArray(u)){let h=e.value;for(let p=0;p<u.length;p++)p===u.length-1?h[u[p]]=d:h=h[u[p]]}r(a),i(e)},r=a=>{if(n==null)return;const d=new URL(a.request.responseURL).pathname;if(d in n.error){const f=n.error[d];f&&_M(f)}},o=c.ref(null),s=c.ref(""),i=a=>{ky(a.value)?o.value=a.value.map(u=>hi(u)?u:u.ErrorMessage):hi(a.value)&&(s.value=a.value)};function l(){e.value=null,o.value=null,s.value=Ve}return{serverErrors:e,errorMessages:o,errorMessageText:s,MapErrors:i,MapServerErrors:t,ResetServerErrors:l}}const kM={key:0},NM={key:1},IM={class:"bd-form-field"},xM={class:"bd-form-field"},Eg=c.defineComponent({__name:"BDPhoneNumberEditModal",props:["modalTitle","submitButtonTitle","phoneNumberLabel","phoneNumberUnchangedText","confirmationCodeLabel","confirmationCodeRequiredText","confirmationCodeSentText","editSuccessText","editCanceledText","sendConfirmationCodeText","startPhoneNumberUpdate","confirmPhoneNumberUpdate"],emits:["startPhoneNumberUpdate","confirmPhoneNumberUpdate","setPhoneNumber"],setup(n,{expose:e,emit:t}){const r=n,{showSuccessToast:o,showWarningToast:s}=gl(),{serverErrors:i,errorMessages:l,errorMessageText:a,MapServerErrors:u,ResetServerErrors:d}=_d(null),{closeModal:f}=ni("phone-number-edit-modal");let h=Ve;const p=c.ref(),m=c.ref(null),g=c.ref(),y=c.ref(),C=c.ref(null),b=c.computed(()=>y.value==null||y.value==""),E=()=>{if(m.value=null,d(),!p.value||p.value==h){m.value=!1;return}const R={newPhonenumber:p.value};r.startPhoneNumberUpdate(R).then(N).catch(u)},v=()=>{if(!y.value){C.value=!1;return}const R={requestIdentifier:g.value,token:y.value};r.confirmPhoneNumberUpdate(R).then(w).catch(u)},N=R=>{m.value=null,o(r.confirmationCodeSentText),g.value=R.data.RequestIdentifier},w=()=>{t("setPhoneNumber",p.value),o(r.editSuccessText),f(),m.value=null,C.value=null},x=R=>{h=R,p.value=h,m.value=null,g.value=void 0,y.value=void 0,C.value=null},B=()=>{x(h),d(),s(r.editCanceledText)};return e({Reset:x}),(R,U)=>(c.openBlock(),c.createBlock(rs,{id:"phone-number-edit-modal",class:c.normalizeClass(c.unref(Ve)),title:r.modalTitle,submitButtonTitle:r.submitButtonTitle,hideFooterCancelButton:!1,"disable-submit-button":b.value,serverErrors:c.unref(i),errorMessages:c.unref(l),errorMessageText:c.unref(a),onSubmit:v,onCancel:B},{default:c.withCtx(()=>[c.unref(a)||c.unref(l)?(c.openBlock(),c.createBlock(cs,{key:0,variant:"danger"},{default:c.withCtx(()=>[c.unref(l)?(c.openBlock(),c.createElementBlock("div",kM,[c.createElementVNode("ul",null,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(c.unref(l),($,P)=>(c.openBlock(),c.createElementBlock("li",{key:P},[c.createVNode(Lr),c.createElementVNode("span",null,c.toDisplayString($),1)]))),128))])])):(c.openBlock(),c.createElementBlock("div",NM,c.toDisplayString(c.unref(a)),1))]),_:1})):c.createCommentVNode("",!0),c.createElementVNode("div",IM,[c.createVNode(Br,{id:"form-input-phone-number",label:r.phoneNumberLabel,modelValue:p.value,"onUpdate:modelValue":U[0]||(U[0]=$=>p.value=$),state:m.value,type:"text","form-field-class":"form-input-with-button","invalid-feedback-text":r.phoneNumberUnchangedText},{default:c.withCtx(()=>[c.createVNode(Ze,{textContent:c.toDisplayString(r.sendConfirmationCodeText),class:"tablet-device-up",type:"button",onClick:E},null,8,["textContent"])]),_:1},8,["label","modelValue","state","invalid-feedback-text"]),c.createVNode(Ze,{textContent:c.toDisplayString(r.sendConfirmationCodeText),class:"mobile-device",type:"button",onClick:E},null,8,["textContent"])]),c.createElementVNode("div",xM,[g.value?(c.openBlock(),c.createBlock(Br,{key:0,label:r.confirmationCodeLabel,modelValue:y.value,"onUpdate:modelValue":U[1]||(U[1]=$=>y.value=$),state:C.value,"invalid-feedback-text":r.confirmationCodeRequiredText},null,8,["label","modelValue","state","invalid-feedback-text"])):c.createCommentVNode("",!0)])]),_:1},8,["class","title","submitButtonTitle","disable-submit-button","serverErrors","errorMessages","errorMessageText"]))}});var Cg={exports:{}};(function(n,e){(function(t,r){n.exports=r()})(Ul,function(){var t=1e3,r=6e4,o=36e5,s="millisecond",i="second",l="minute",a="hour",u="day",d="week",f="month",h="quarter",p="year",m="date",g="Invalid Date",y=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,C=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,b={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(G){var K=["th","st","nd","rd"],H=G%100;return"["+G+(K[(H-20)%10]||K[H]||K[0])+"]"}},E=function(G,K,H){var J=String(G);return!J||J.length>=K?G:""+Array(K+1-J.length).join(H)+G},v={s:E,z:function(G){var K=-G.utcOffset(),H=Math.abs(K),J=Math.floor(H/60),z=H%60;return(K<=0?"+":"-")+E(J,2,"0")+":"+E(z,2,"0")},m:function G(K,H){if(K.date()<H.date())return-G(H,K);var J=12*(H.year()-K.year())+(H.month()-K.month()),z=K.clone().add(J,f),ee=H-z<0,re=K.clone().add(J+(ee?-1:1),f);return+(-(J+(H-z)/(ee?z-re:re-z))||0)},a:function(G){return G<0?Math.ceil(G)||0:Math.floor(G)},p:function(G){return{M:f,y:p,w:d,d:u,D:m,h:a,m:l,s:i,ms:s,Q:h}[G]||String(G||"").toLowerCase().replace(/s$/,"")},u:function(G){return G===void 0}},N="en",w={};w[N]=b;var x="$isDayjsObject",B=function(G){return G instanceof P||!(!G||!G[x])},R=function G(K,H,J){var z;if(!K)return N;if(typeof K=="string"){var ee=K.toLowerCase();w[ee]&&(z=ee),H&&(w[ee]=H,z=ee);var re=K.split("-");if(!z&&re.length>1)return G(re[0])}else{var ue=K.name;w[ue]=K,z=ue}return!J&&z&&(N=z),z||!J&&N},U=function(G,K){if(B(G))return G.clone();var H=typeof K=="object"?K:{};return H.date=G,H.args=arguments,new P(H)},$=v;$.l=R,$.i=B,$.w=function(G,K){return U(G,{locale:K.$L,utc:K.$u,x:K.$x,$offset:K.$offset})};var P=function(){function G(H){this.$L=R(H.locale,null,!0),this.parse(H),this.$x=this.$x||H.x||{},this[x]=!0}var K=G.prototype;return K.parse=function(H){this.$d=function(J){var z=J.date,ee=J.utc;if(z===null)return new Date(NaN);if($.u(z))return new Date;if(z instanceof Date)return new Date(z);if(typeof z=="string"&&!/Z$/i.test(z)){var re=z.match(y);if(re){var ue=re[2]-1||0,ge=(re[7]||"0").substring(0,3);return ee?new Date(Date.UTC(re[1],ue,re[3]||1,re[4]||0,re[5]||0,re[6]||0,ge)):new Date(re[1],ue,re[3]||1,re[4]||0,re[5]||0,re[6]||0,ge)}}return new Date(z)}(H),this.init()},K.init=function(){var H=this.$d;this.$y=H.getFullYear(),this.$M=H.getMonth(),this.$D=H.getDate(),this.$W=H.getDay(),this.$H=H.getHours(),this.$m=H.getMinutes(),this.$s=H.getSeconds(),this.$ms=H.getMilliseconds()},K.$utils=function(){return $},K.isValid=function(){return this.$d.toString()!==g},K.isSame=function(H,J){var z=U(H);return this.startOf(J)<=z&&z<=this.endOf(J)},K.isAfter=function(H,J){return U(H)<this.startOf(J)},K.isBefore=function(H,J){return this.endOf(J)<U(H)},K.$g=function(H,J,z){return $.u(H)?this[J]:this.set(z,H)},K.unix=function(){return Math.floor(this.valueOf()/1e3)},K.valueOf=function(){return this.$d.getTime()},K.startOf=function(H,J){var z=this,ee=!!$.u(J)||J,re=$.p(H),ue=function(D,I){var L=$.w(z.$u?Date.UTC(z.$y,I,D):new Date(z.$y,I,D),z);return ee?L:L.endOf(u)},ge=function(D,I){return $.w(z.toDate()[D].apply(z.toDate("s"),(ee?[0,0,0,0]:[23,59,59,999]).slice(I)),z)},Ee=this.$W,Se=this.$M,ke=this.$D,xe="set"+(this.$u?"UTC":"");switch(re){case p:return ee?ue(1,0):ue(31,11);case f:return ee?ue(1,Se):ue(0,Se+1);case d:var Ae=this.$locale().weekStart||0,O=(Ee<Ae?Ee+7:Ee)-Ae;return ue(ee?ke-O:ke+(6-O),Se);case u:case m:return ge(xe+"Hours",0);case a:return ge(xe+"Minutes",1);case l:return ge(xe+"Seconds",2);case i:return ge(xe+"Milliseconds",3);default:return this.clone()}},K.endOf=function(H){return this.startOf(H,!1)},K.$set=function(H,J){var z,ee=$.p(H),re="set"+(this.$u?"UTC":""),ue=(z={},z[u]=re+"Date",z[m]=re+"Date",z[f]=re+"Month",z[p]=re+"FullYear",z[a]=re+"Hours",z[l]=re+"Minutes",z[i]=re+"Seconds",z[s]=re+"Milliseconds",z)[ee],ge=ee===u?this.$D+(J-this.$W):J;if(ee===f||ee===p){var Ee=this.clone().set(m,1);Ee.$d[ue](ge),Ee.init(),this.$d=Ee.set(m,Math.min(this.$D,Ee.daysInMonth())).$d}else ue&&this.$d[ue](ge);return this.init(),this},K.set=function(H,J){return this.clone().$set(H,J)},K.get=function(H){return this[$.p(H)]()},K.add=function(H,J){var z,ee=this;H=Number(H);var re=$.p(J),ue=function(Se){var ke=U(ee);return $.w(ke.date(ke.date()+Math.round(Se*H)),ee)};if(re===f)return this.set(f,this.$M+H);if(re===p)return this.set(p,this.$y+H);if(re===u)return ue(1);if(re===d)return ue(7);var ge=(z={},z[l]=r,z[a]=o,z[i]=t,z)[re]||1,Ee=this.$d.getTime()+H*ge;return $.w(Ee,this)},K.subtract=function(H,J){return this.add(-1*H,J)},K.format=function(H){var J=this,z=this.$locale();if(!this.isValid())return z.invalidDate||g;var ee=H||"YYYY-MM-DDTHH:mm:ssZ",re=$.z(this),ue=this.$H,ge=this.$m,Ee=this.$M,Se=z.weekdays,ke=z.months,xe=z.meridiem,Ae=function(I,L,A,T){return I&&(I[L]||I(J,ee))||A[L].slice(0,T)},O=function(I){return $.s(ue%12||12,I,"0")},D=xe||function(I,L,A){var T=I<12?"AM":"PM";return A?T.toLowerCase():T};return ee.replace(C,function(I,L){return L||function(A){switch(A){case"YY":return String(J.$y).slice(-2);case"YYYY":return $.s(J.$y,4,"0");case"M":return Ee+1;case"MM":return $.s(Ee+1,2,"0");case"MMM":return Ae(z.monthsShort,Ee,ke,3);case"MMMM":return Ae(ke,Ee);case"D":return J.$D;case"DD":return $.s(J.$D,2,"0");case"d":return String(J.$W);case"dd":return Ae(z.weekdaysMin,J.$W,Se,2);case"ddd":return Ae(z.weekdaysShort,J.$W,Se,3);case"dddd":return Se[J.$W];case"H":return String(ue);case"HH":return $.s(ue,2,"0");case"h":return O(1);case"hh":return O(2);case"a":return D(ue,ge,!0);case"A":return D(ue,ge,!1);case"m":return String(ge);case"mm":return $.s(ge,2,"0");case"s":return String(J.$s);case"ss":return $.s(J.$s,2,"0");case"SSS":return $.s(J.$ms,3,"0");case"Z":return re}return null}(I)||re.replace(":","")})},K.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},K.diff=function(H,J,z){var ee,re=this,ue=$.p(J),ge=U(H),Ee=(ge.utcOffset()-this.utcOffset())*r,Se=this-ge,ke=function(){return $.m(re,ge)};switch(ue){case p:ee=ke()/12;break;case f:ee=ke();break;case h:ee=ke()/3;break;case d:ee=(Se-Ee)/6048e5;break;case u:ee=(Se-Ee)/864e5;break;case a:ee=Se/o;break;case l:ee=Se/r;break;case i:ee=Se/t;break;default:ee=Se}return z?ee:$.a(ee)},K.daysInMonth=function(){return this.endOf(f).$D},K.$locale=function(){return w[this.$L]},K.locale=function(H,J){if(!H)return this.$L;var z=this.clone(),ee=R(H,J,!0);return ee&&(z.$L=ee),z},K.clone=function(){return $.w(this.$d,this)},K.toDate=function(){return new Date(this.valueOf())},K.toJSON=function(){return this.isValid()?this.toISOString():null},K.toISOString=function(){return this.$d.toISOString()},K.toString=function(){return this.$d.toUTCString()},G}(),Y=P.prototype;return U.prototype=Y,[["$ms",s],["$s",i],["$m",l],["$H",a],["$W",u],["$M",f],["$y",p],["$D",m]].forEach(function(G){Y[G[1]]=function(K){return this.$g(K,G[0],G[1])}}),U.extend=function(G,K){return G.$i||(G(K,P,U),G.$i=!0),U},U.locale=R,U.isDayjs=B,U.unix=function(G){return U(1e3*G)},U.en=w[N],U.Ls=w,U.p={},U})})(Cg);var Ag=Cg.exports;const ss=zl(Ag),bg=(n,e,t,r,o,s)=>{const i=c.ref(null),l=c.ref(null),a=c.ref(!1),u=c.ref(null),{showModal:d,closeModal:f}=ni("session-time-out-modal"),h=c.computed(()=>i.value&&n?n-(i.value+1):0),p=c.computed(()=>l.value?60-l.value:0),m=c.computed(()=>a.value),g=()=>{u.value=setInterval(C,1e3),r(u.value)},y=()=>{u.value&&clearInterval(u.value)},C=()=>{i.value=ss().diff(t(),"m"),l.value=ss().subtract(i.value,"m").diff(t(),"s");const B=n??Number.MAX_SAFE_INTEGER,R=e??0;i.value>=B?(a.value=!0,d(),localStorage.setItem("session-timeout","true"),window.onbeforeunload=b):i.value>=B-R?d():f()},b=B=>{B.stopPropagation(),v()},E=()=>{o(),y(),i.value=null,l.value=null,g()},v=()=>{y(),i.value=null,l.value=null,localStorage.removeItem("session-timeout"),s()},N=()=>{a.value?v():E()},w=()=>{v()},x=()=>{a.value?v():f()};return c.onMounted(()=>{const B=document.getElementById("session-time-out-modal");B&&B.addEventListener("hidden.bs.modal",N),y(),g()}),{IsExpired:m,Minutes:h,Seconds:p,OnLogOut:w,OnSubmit:x}},wg=c.defineComponent({__name:"BDSessionTimeOutModal",props:["expiredTitle","expiredMessage","expiredButtonText","almostExpiredTitle","almostExpiredMessage","almostExpiredButtonText","almostExpiredCancelButtonText","threshold","warningThreshold","getTime","setTaskId","setNewTime","logout","hideCancelButton"],setup(n){const e=n,{IsExpired:t,Minutes:r,Seconds:o,OnLogOut:s,OnSubmit:i}=bg(e.threshold,e.warningThreshold,e.getTime,e.setTaskId,e.setNewTime,e.logout),l=c.computed(()=>t.value?e.expiredTitle:e.almostExpiredTitle),a=c.computed(()=>t.value?e.expiredMessage:`${e.almostExpiredMessage} ${r.value}:${o.value<10?"0"+o.value:o.value}`),u=c.computed(()=>e.hideCancelButton||t.value),d=c.computed(()=>t.value?e.expiredButtonText:e.almostExpiredButtonText);return(f,h)=>(c.openBlock(),c.createBlock(rs,{id:"session-time-out-modal",title:l.value,"hide-close-button":!0,"hide-footer-cancel-button":u.value,"close-button-title":e.almostExpiredCancelButtonText,"submit-button-title":d.value,size:"md",onSubmit:c.unref(i),onCancel:c.unref(s)},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(a.value),1)]),_:1},8,["title","hide-footer-cancel-button","close-button-title","submit-button-title","onSubmit","onCancel"]))}}),Tg=c.defineComponent({__name:"BDAttachmentUploadModal",props:{dropzoneUrl:{},token:{}},emits:["cancel","on-submit"],setup(n,{emit:e}){const t=n,{closeModal:r}=ni("attachment-upload-modal"),{t:o}=ns(),s=()=>{e("on-submit",l.value),l.value=[],r()},i=()=>{e("cancel"),l.value=[]},l=c.ref([]),a=c.computed(()=>o("attachmentUploadModal.title")),u=c.computed(()=>o("attachmentUploadModal.submitButton")),d=c.computed(()=>o("attachmentUploadModal.infoMessage")),f=c.computed(()=>o("attachmentUploadModal.addAttachmentButton")),h=c.computed(()=>o("attachmentUploadModal.errorMessage")),p=c.computed(()=>o("attachmentUploadModal.fileTooBigErrorMessage")),m=c.computed(()=>o("attachmentUploadModal.fileSizeExceededMessage")),g=c.computed(()=>o("attachmentUploadModal.officeDocumentsNotSupportedByMobileMessage"));return(y,C)=>(c.openBlock(),c.createBlock(rs,{id:"attachment-upload-modal",title:a.value,"submit-button-title":u.value,onSubmit:s,onCancel:i},{default:c.withCtx(()=>[c.createElementVNode("p",null,c.toDisplayString(d.value),1),c.createVNode(Hl,{modelValue:l.value,"onUpdate:modelValue":C[0]||(C[0]=b=>l.value=b),"button-text":f.value,"error-message":h.value,multiple:!0,"file-size-exceeded-message":p.value,"accepted-files":".png,.jpg,.jpeg,.gif,.docx,.doc,.xls,.xlsx,.txt,.csv,.pdf,.wav,.mp3,.m4a,.aiff,.flac,.mp4,.avi,.mov",url:t.dropzoneUrl,tag:"div",token:t.token},null,8,["modelValue","button-text","error-message","file-size-exceeded-message","url","token"]),c.createElementVNode("p",null,c.toDisplayString(m.value),1),c.createElementVNode("p",null,c.toDisplayString(g.value),1)]),_:1},8,["title","submit-button-title"]))}}),Sg=()=>({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}}),MM={class:"template change-password-template"},OM={class:"template-title"},LM={key:0},DM={key:1},RM=["onSubmit","onReset"],BM={class:"bd-form-field"},PM={class:"bd-form-field"},FM={class:"bd-form-field"},VM={class:"bd-form-buttons"},_g=c.defineComponent({__name:"BDChangePasswordTemplate",props:{templateTitle:{},alertText:{},currentPasswordLabel:{},newPasswordLabel:{},confirmNewPasswordLabel:{},submitButtonText:{},cancelButtonText:{},successText:{},failureText:{},requiredText:{},incompatibleText:{},minimalRequirementsText:{},submitPassword:{type:Function}},setup(n){const e=n,{showDangerToast:t,showSuccessToast:r}=gl(),{errorMessages:o,errorMessageText:s,MapServerErrors:i,ResetServerErrors:l}=_d(null),{ValidationObjectIsValid:a}=Sg();let u=c.ref({password:Ve,passwordNew:Ve,passwordRepeat:Ve}),d=c.ref({password:{state:null,errorLabel:Ve},passwordNew:{state:null,errorLabel:Ve},passwordRepeat:{state:null,errorLabel:Ve}});const f=()=>{if(!h())return;const g=e.submitPassword(u.value);g&&g.then(()=>{r(e.successText),p()}).catch(y=>{t(e.failureText),i(y)})},h=()=>{const m=/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[@$!%*?&])[A-Za-z\d@$!%*?&]{8,}$/;if(u.value.passwordNew&&!m.test(u.value.passwordNew))d.value.passwordNew.state=!1,d.value.passwordNew.errorLabel=e.minimalRequirementsText;else{const g=u.value.passwordRepeat===u.value.passwordNew,y=g?e.requiredText:e.incompatibleText;d.value.passwordNew.state=u.value.passwordNew!==Ve&&g?null:!1,d.value.passwordNew.errorLabel=y,d.value.passwordRepeat.state=u.value.passwordRepeat!==Ve&&g?null:!1,d.value.passwordRepeat.errorLabel=y}return d.value.password.state=u.value.password!==Ve?null:!1,d.value.password.errorLabel=d.value.password.state?Ve:e.requiredText,a(d.value)},p=()=>{u.value.password=Ve,u.value.passwordNew=Ve,u.value.passwordRepeat=Ve,d.value.password.state=null,d.value.passwordNew.state=null,d.value.passwordRepeat.state=null,l()};return(m,g)=>(c.openBlock(),c.createElementBlock("main",MM,[c.createVNode(as,{class:"container-xl"},{default:c.withCtx(()=>[c.createVNode(xr,{class:"justify-content-md-center template-header"},{default:c.withCtx(()=>[c.createVNode(Ir,{xs:12,md:10,lg:7},{default:c.withCtx(()=>[c.createElementVNode("h1",OM,c.toDisplayString(e.templateTitle),1)]),_:1})]),_:1}),c.createVNode(xr,{class:"justify-content-md-center"},{default:c.withCtx(()=>[c.createVNode(Ir,{xs:12,md:10,lg:7},{default:c.withCtx(()=>[c.createVNode(di,{class:"bd-card-template","no-header":!0},{body:c.withCtx(()=>[c.createVNode(as,{class:"container-fluid"},{default:c.withCtx(()=>[c.createVNode(xr,null,{default:c.withCtx(()=>[c.createVNode(Ir,null,{default:c.withCtx(()=>[c.createVNode(cs,{variant:"warning"},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(m.alertText),1)]),_:1})]),_:1})]),_:1}),c.unref(o)||c.unref(s)?(c.openBlock(),c.createBlock(xr,{key:0},{default:c.withCtx(()=>[c.createVNode(Ir,null,{default:c.withCtx(()=>[c.createVNode(cs,{variant:"danger"},{default:c.withCtx(()=>[c.unref(o)?(c.openBlock(),c.createElementBlock("div",LM,[c.createElementVNode("ul",null,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(c.unref(o),(y,C)=>(c.openBlock(),c.createElementBlock("li",{key:C},[c.createVNode(Lr),c.createElementVNode("span",null,c.toDisplayString(y),1)]))),128))])])):(c.openBlock(),c.createElementBlock("div",DM,c.toDisplayString(c.unref(s)),1))]),_:1})]),_:1})]),_:1})):c.createCommentVNode("",!0),c.createVNode(xr,null,{default:c.withCtx(()=>[c.createVNode(Ir,{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",BM,[c.createVNode(Br,{modelValue:c.unref(u).password,"onUpdate:modelValue":g[0]||(g[0]=y=>c.unref(u).password=y),label:m.currentPasswordLabel,state:c.unref(d).password.state,type:"password","invalid-feedback-text":c.unref(d).password.errorLabel},null,8,["modelValue","label","state","invalid-feedback-text"])]),c.createElementVNode("div",PM,[c.createVNode(Br,{modelValue:c.unref(u).passwordNew,"onUpdate:modelValue":g[1]||(g[1]=y=>c.unref(u).passwordNew=y),label:m.newPasswordLabel,state:c.unref(d).passwordNew.state,type:"password","invalid-feedback-text":c.unref(d).passwordNew.errorLabel},null,8,["modelValue","label","state","invalid-feedback-text"])]),c.createElementVNode("div",FM,[c.createVNode(Br,{modelValue:c.unref(u).passwordRepeat,"onUpdate:modelValue":g[2]||(g[2]=y=>c.unref(u).passwordRepeat=y),label:m.confirmNewPasswordLabel,state:c.unref(d).passwordRepeat.state,type:"password","invalid-feedback-text":c.unref(d).passwordRepeat.errorLabel},null,8,["modelValue","label","state","invalid-feedback-text"])]),c.createElementVNode("div",VM,[c.createVNode(Ze,{type:"submit"},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(m.submitButtonText),1)]),_:1}),c.createVNode(Ze,{type:"reset",variant:"link"},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(m.cancelButtonText),1)]),_:1})])],40,RM)]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]))}}),$M={class:"template not-found-template"},UM={class:"center-screen"},zM={class:"container-warning"},HM=["textContent"],jM=["textContent"],kg=c.defineComponent({__name:"BDNotFoundTemplate",props:{buttonText:{type:String}},emits:["navigate"],setup(n,{emit:e}){const t=n,{t:r}=ns(),o=c.computed(()=>t.buttonText||r("notFoundTemplate.buttonDefault")),s=c.computed(()=>r("notFoundTemplate.title")),i=c.computed(()=>r("notFoundTemplate.description")),l=()=>e("navigate");return(a,u)=>(c.openBlock(),c.createElementBlock("main",$M,[c.createVNode(as,{class:"container-xl"},{default:c.withCtx(()=>[c.createElementVNode("div",UM,[c.createElementVNode("div",zM,[c.createVNode(Ll),c.createElementVNode("h5",{textContent:c.toDisplayString(s.value)},null,8,HM),c.createElementVNode("p",{textContent:c.toDisplayString(i.value)},null,8,jM),c.createVNode(Ze,{onClick:l,variant:"primary",type:"button",textContent:c.toDisplayString(o.value)},null,8,["textContent"])])])]),_:1})]))}});var WM={exports:{}};(function(n,e){(function(t,r){n.exports=r(Ag)})(Ul,function(t){function r(i){return i&&typeof i=="object"&&"default"in i?i:{default:i}}var o=r(t),s={name:"nl",weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),ordinal:function(i){return"["+i+(i===1||i===8||i>=20?"ste":"de")+"]"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"een minuut",mm:"%d minuten",h:"een uur",hh:"%d uur",d:"een dag",dd:"%d dagen",M:"een maand",MM:"%d maanden",y:"een jaar",yy:"%d jaar"}};return o.default.locale(s,null,!0),s})})(WM);var Ng={exports:{}};(function(n,e){(function(t,r){n.exports=r()})(Ul,function(){var t={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,o=/\d/,s=/\d\d/,i=/\d\d?/,l=/\d*[^-_:/,()\s\d]+/,a={},u=function(y){return(y=+y)+(y>68?1900:2e3)},d=function(y){return function(C){this[y]=+C}},f=[/[+-]\d\d:?(\d\d)?|Z/,function(y){(this.zone||(this.zone={})).offset=function(C){if(!C||C==="Z")return 0;var b=C.match(/([+-]|\d\d)/g),E=60*b[1]+(+b[2]||0);return E===0?0:b[0]==="+"?-E:E}(y)}],h=function(y){var C=a[y];return C&&(C.indexOf?C:C.s.concat(C.f))},p=function(y,C){var b,E=a.meridiem;if(E){for(var v=1;v<=24;v+=1)if(y.indexOf(E(v,0,C))>-1){b=v>12;break}}else b=y===(C?"pm":"PM");return b},m={A:[l,function(y){this.afternoon=p(y,!1)}],a:[l,function(y){this.afternoon=p(y,!0)}],Q:[o,function(y){this.month=3*(y-1)+1}],S:[o,function(y){this.milliseconds=100*+y}],SS:[s,function(y){this.milliseconds=10*+y}],SSS:[/\d{3}/,function(y){this.milliseconds=+y}],s:[i,d("seconds")],ss:[i,d("seconds")],m:[i,d("minutes")],mm:[i,d("minutes")],H:[i,d("hours")],h:[i,d("hours")],HH:[i,d("hours")],hh:[i,d("hours")],D:[i,d("day")],DD:[s,d("day")],Do:[l,function(y){var C=a.ordinal,b=y.match(/\d+/);if(this.day=b[0],C)for(var E=1;E<=31;E+=1)C(E).replace(/\[|\]/g,"")===y&&(this.day=E)}],w:[i,d("week")],ww:[s,d("week")],M:[i,d("month")],MM:[s,d("month")],MMM:[l,function(y){var C=h("months"),b=(h("monthsShort")||C.map(function(E){return E.slice(0,3)})).indexOf(y)+1;if(b<1)throw new Error;this.month=b%12||b}],MMMM:[l,function(y){var C=h("months").indexOf(y)+1;if(C<1)throw new Error;this.month=C%12||C}],Y:[/[+-]?\d+/,d("year")],YY:[s,function(y){this.year=u(y)}],YYYY:[/\d{4}/,d("year")],Z:f,ZZ:f};function g(y){var C,b;C=y,b=a&&a.formats;for(var E=(y=C.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(U,$,P){var Y=P&&P.toUpperCase();return $||b[P]||t[P]||b[Y].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(G,K,H){return K||H.slice(1)})})).match(r),v=E.length,N=0;N<v;N+=1){var w=E[N],x=m[w],B=x&&x[0],R=x&&x[1];E[N]=R?{regex:B,parser:R}:w.replace(/^\[|\]$/g,"")}return function(U){for(var $={},P=0,Y=0;P<v;P+=1){var G=E[P];if(typeof G=="string")Y+=G.length;else{var K=G.regex,H=G.parser,J=U.slice(Y),z=K.exec(J)[0];H.call($,z),U=U.replace(z,"")}}return function(ee){var re=ee.afternoon;if(re!==void 0){var ue=ee.hours;re?ue<12&&(ee.hours+=12):ue===12&&(ee.hours=0),delete ee.afternoon}}($),$}}return function(y,C,b){b.p.customParseFormat=!0,y&&y.parseTwoDigitYear&&(u=y.parseTwoDigitYear);var E=C.prototype,v=E.parse;E.parse=function(N){var w=N.date,x=N.utc,B=N.args;this.$u=x;var R=B[1];if(typeof R=="string"){var U=B[2]===!0,$=B[3]===!0,P=U||$,Y=B[2];$&&(Y=B[2]),a=this.$locale(),!U&&Y&&(a=b.Ls[Y]),this.$d=function(J,z,ee,re){try{if(["x","X"].indexOf(z)>-1)return new Date((z==="X"?1e3:1)*J);var ue=g(z)(J),ge=ue.year,Ee=ue.month,Se=ue.day,ke=ue.hours,xe=ue.minutes,Ae=ue.seconds,O=ue.milliseconds,D=ue.zone,I=ue.week,L=new Date,A=Se||(ge||Ee?1:L.getDate()),T=ge||L.getFullYear(),k=0;ge&&!Ee||(k=Ee>0?Ee-1:L.getMonth());var M,j=ke||0,W=xe||0,Z=Ae||0,X=O||0;return D?new Date(Date.UTC(T,k,A,j,W,Z,X+60*D.offset*1e3)):ee?new Date(Date.UTC(T,k,A,j,W,Z,X)):(M=new Date(T,k,A,j,W,Z,X),I&&(M=re(M).week(I).toDate()),M)}catch{return new Date("")}}(w,R,x,b),this.init(),Y&&Y!==!0&&(this.$L=this.locale(Y).$L),P&&w!=this.format(R)&&(this.$d=new Date("")),a={}}else if(R instanceof Array)for(var G=R.length,K=1;K<=G;K+=1){B[1]=R[K-1];var H=b.apply(this,B);if(H.isValid()){this.$d=H.$d,this.$L=H.$L,this.init();break}K===G&&(this.$d=new Date(""))}else v.call(this,N)}}})})(Ng);var KM=Ng.exports;const YM=zl(KM);ss.extend(YM),ss.locale("nl");function GM(n,e=ss().startOf("day")){const t="DD-MM-YYYY",r=ss(n,t);if(r.isSame(e))return"vandaag";const s=e.subtract(1,"day");if(r.isSame(s))return"gister";const l=e.subtract(2,"day");if(r.isSame(l))return"eergister";const u=e.subtract(7,"day");if(r.isAfter(u)){const h="dddd";return r.format(h)}if(r.year()==e.year()){const h="D MMM";return r.format(h)}return r.format(t)}const QM=n=>{const e=new RegExp("(?<=^|a>)((?:(?!<a).)*?)"),t=/((https?:\/\/|www\.)[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-zA-Z0-9()]{2,24}\b([-a-zA-Z0-9()!@:%_+.~#?&/=]*))/;let r=new RegExp(e.source+t.source,"g");return n.replace(r,(o,s,i)=>{const l=i.startsWith("www.")?`http://${i}`:i;return`${s}<a href="${l}" target="_blank" rel="noopener noreferrer">${i}</a>`})},ZM=(n,e)=>`<p><a href="${n}" title="${e}" target="_blank" rel="noopener noreferrer">${e}</a></p>`,JM=n=>n.startsWith("http://")||n.startsWith("https://"),XM={install:n=>{n.component("BDAlert",cs),n.component("BDArticle",Kf),n.component("BDAttachmentPreviewList",Ua),n.component("BDAttachmentUploadModal",Tg),n.component("BDBadge",Uf),n.component("BDButton",Ze),n.component("BDCard",di),n.component("BDChangePasswordTemplate",_g),n.component("BDChatCloud",Y0),n.component("BDCol",Ir),n.component("BDCollapsableCard",Rf),n.component("BDContainer",as),n.component("BDDropdown",rd),n.component("BDDropdownItem",mi),n.component("BDDropzone",Hl),n.component("BDForm",zf),n.component("BDFormCheckbox",Wf),n.component("BDFormInput",Br),n.component("BDFormInvalidFeedback",fi),n.component("BDFormSelect",jf),n.component("BDHeader",od),n.component("BDImageAttachmentModal",vg),n.component("BDImageAttachmentPreviewList",za),n.component("BDInputGroup",$f),n.component("BDLink",Mr),n.component("BDLogo",vl),n.component("BDMarkdownEditor",W0),n.component("BDMobileMenu",nd),n.component("BDModal",rs),n.component("BDNotFoundTemplate",kg),n.component("BDPagination",Hf),n.component("BDPhoneNumberEditModal",Eg),n.component("BDPill",pi),n.component("BDPractitionerHeader",gg),n.component("BDProfileImage",us),n.component("BDRow",xr),n.component("BDSessionTimeOutModal",wg),n.component("BDTable",G0),n.component("BDToast",Vl),n.component("BDUser",K0),n.component("BDUserInformation",$l),n.component("BDVideoCallToast",J0),n.component("BDZoomslider",Bl),n.component("IconAcademy",ri),n.component("IconArrowDown",Dd),n.component("IconArrowUp",Rd),n.component("IconAttachment",Or),n.component("IconBold",El),n.component("IconBulletList",Cl),n.component("IconCalendar",Bd),n.component("IconCall",oi),n.component("IconCallReject",Al),n.component("IconCardView",Pd),n.component("IconCaretDown",bl),n.component("IconCaretLeft",wl),n.component("IconCaretRight",Tl),n.component("IconCheck",uo),n.component("IconClipboard",Fd),n.component("IconClose",si),n.component("IconComment",Vd),n.component("IconCommentActive",$d),n.component("IconCommonFileEmpty",zd),n.component("IconCommonFileWarning",Hd),n.component("IconCommentStatic",Ud),n.component("IconContactPerson",jd),n.component("IconCopy",Wd),n.component("IconDelete",Kd),n.component("IconDoubleCheck",Yd),n.component("IconDownloadImage",Sl),n.component("IconEdit",Gd),n.component("IconEndCall",Qd),n.component("IconError",ii),n.component("IconExternal",Zd),n.component("IconEyeShow",Jd),n.component("IconEyeSlash",Xd),n.component("IconFile",_l),n.component("IconFileAdded",qd),n.component("IconForward",ef),n.component("IconHix",tf),n.component("IconHyperlink",ai),n.component("IconImageFileLandscape",nf),n.component("IconImageFileWarning",rf),n.component("IconInfo",Lr),n.component("IconInformationCircle",of),n.component("IconItalic",kl),n.component("IconListView",sf),n.component("IconLock",af),n.component("IconLusciiEscalated",lf),n.component("IconLusciiLogo",cf),n.component("IconLusciiOpen",uf),n.component("IconLusciiPriorityHigh",df),n.component("IconLusciiPriorityLow",ff),n.component("IconLusciiPriorityMedium",hf),n.component("IconMenu",Nl),n.component("IconMessage",pf),n.component("IconMessageForward",mf),n.component("IconMicrophoneSlash",gf),n.component("IconMicrosoftTeams",yf),n.component("IconMin",vf),n.component("IconOrderedList",Il),n.component("IconPlus",Ef),n.component("IconRefresh",Cf),n.component("IconRemove",ls),n.component("IconSananetLogo",Af),n.component("IconService",bf),n.component("IconShareScreen",wf),n.component("IconSingleNeutral",Tf),n.component("IconSort",Sf),n.component("IconSortAsc",xl),n.component("IconSortDesc",Ml),n.component("IconSortNone",Ol),n.component("IconTriangleDown",_f),n.component("IconTriangleExclamation",Ll),n.component("IconUnderline",Dl),n.component("IconVideoDisabled",Nf),n.component("IconVideocall",kf),n.component("IconZorgkaart",If),n.directive("vBDTooltip",Zs)}};ne.BDAlert=cs,ne.BDArticle=Kf,ne.BDAttachmentPreviewList=Ua,ne.BDAttachmentUploadModal=Tg,ne.BDBadge=Uf,ne.BDButton=Ze,ne.BDCard=di,ne.BDChangePasswordTemplate=_g,ne.BDChatCloud=Y0,ne.BDCol=Ir,ne.BDCollapsableCard=Rf,ne.BDContainer=as,ne.BDDropdown=rd,ne.BDDropdownItem=mi,ne.BDDropzone=Hl,ne.BDForm=zf,ne.BDFormCheckbox=Wf,ne.BDFormInput=Br,ne.BDFormInvalidFeedback=fi,ne.BDFormSelect=jf,ne.BDHeader=od,ne.BDImageAttachmentModal=vg,ne.BDImageAttachmentPreviewList=za,ne.BDInputGroup=$f,ne.BDLink=Mr,ne.BDLogo=vl,ne.BDMarkdownEditor=W0,ne.BDMobileMenu=nd,ne.BDModal=rs,ne.BDNotFoundTemplate=kg,ne.BDPagination=Hf,ne.BDPhoneNumberEditModal=Eg,ne.BDPill=pi,ne.BDPractitionerHeader=gg,ne.BDProfileImage=us,ne.BDRow=xr,ne.BDSessionTimeOutModal=wg,ne.BDTable=G0,ne.BDToast=Vl,ne.BDUser=K0,ne.BDUserInformation=$l,ne.BDVideoCallToast=J0,ne.BDZoomslider=Bl,ne.CreateHyperlinkParagraph=ZM,ne.IconAcademy=ri,ne.IconArrowDown=Dd,ne.IconArrowUp=Rd,ne.IconAttachment=Or,ne.IconBold=El,ne.IconBulletList=Cl,ne.IconCalendar=Bd,ne.IconCall=oi,ne.IconCallReject=Al,ne.IconCardView=Pd,ne.IconCaretDown=bl,ne.IconCaretLeft=wl,ne.IconCaretRight=Tl,ne.IconCheck=uo,ne.IconClipboard=Fd,ne.IconClose=si,ne.IconComment=Vd,ne.IconCommentActive=$d,ne.IconCommentStatic=Ud,ne.IconCommonFileEmpty=zd,ne.IconCommonFileWarning=Hd,ne.IconContactPerson=jd,ne.IconCopy=Wd,ne.IconDelete=Kd,ne.IconDoubleCheck=Yd,ne.IconDownloadImage=Sl,ne.IconEdit=Gd,ne.IconEndCall=Qd,ne.IconError=ii,ne.IconExternal=Zd,ne.IconEyeShow=Jd,ne.IconEyeSlash=Xd,ne.IconFile=_l,ne.IconFileAdded=qd,ne.IconForward=ef,ne.IconHix=tf,ne.IconHyperlink=ai,ne.IconImageFileLandscape=nf,ne.IconImageFileWarning=rf,ne.IconInfo=Lr,ne.IconInformationCircle=of,ne.IconItalic=kl,ne.IconListView=sf,ne.IconLock=af,ne.IconLusciiEscalated=lf,ne.IconLusciiLogo=cf,ne.IconLusciiOpen=uf,ne.IconLusciiPriorityHigh=df,ne.IconLusciiPriorityLow=ff,ne.IconLusciiPriorityMedium=hf,ne.IconMenu=Nl,ne.IconMessage=pf,ne.IconMessageForward=mf,ne.IconMicrophoneSlash=gf,ne.IconMicrosoftTeams=yf,ne.IconMin=vf,ne.IconOrderedList=Il,ne.IconPlus=Ef,ne.IconRefresh=Cf,ne.IconRemove=ls,ne.IconSananetLogo=Af,ne.IconService=bf,ne.IconShareScreen=wf,ne.IconSingleNeutral=Tf,ne.IconSort=Sf,ne.IconSortAsc=xl,ne.IconSortDesc=Ml,ne.IconSortNone=Ol,ne.IconTriangleDown=_f,ne.IconTriangleExclamation=Ll,ne.IconUnderline=Dl,ne.IconVideoDisabled=Nf,ne.IconVideocall=kf,ne.IconZorgkaart=If,ne.TransformHyperlinks=QM,ne.ValidateUrl=JM,ne.default=XM,ne.getDisplayDate=GM,ne.useModal=ni,ne.usePopover=mg,ne.useServerErrors=_d,ne.useSessionTimeOut=bg,ne.useToaster=gl,ne.useValidation=Sg,ne.useWindow=Sd,ne.useZoom=yg,ne.vBdTooltip=Zs,Object.defineProperties(ne,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|