ablok-components 0.1.30 → 0.1.31

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.
@@ -1,55 +1,166 @@
1
- (function(HA,f){typeof exports=="object"&&typeof module<"u"?f(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],f):(HA=typeof globalThis<"u"?globalThis:HA||self,f(HA.AblokComponents={},HA.Vue))})(this,function(HA,f){"use strict";const Xg={class:"icon",preserveAspectRatio:"xMaxYMin"},Yg=["xlink:href"],Jg=f.defineComponent({__name:"svg-icon",props:{basePath:{type:String,default:"/symbol-defs.svg"},prefix:{type:String,default:"icon-"},symbol:{type:String,default:""},size:{type:String,default:"default"}},setup(e){return(r,t)=>(f.openBlock(),f.createElementBlock("i",{class:f.normalizeClass(["svg-icon",{[`svg-icon--${e.size}`]:e.size}])},[(f.openBlock(),f.createElementBlock("svg",Xg,[f.createElementVNode("use",{"xlink:href":`${e.basePath}#${e.prefix}${e.symbol}`,"xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0",y:"0"},null,8,Yg)]))],2))}}),kL="",$g={class:"loading-spinner d-block"},Zg={class:"loading-spinner__animation"},qg={class:"d-block",version:"1.1",id:"L9",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 100 100","enable-background":"new 0 0 0 0","xml:space":"preserve"},zg=["fill"],jg=[f.createElementVNode("animateTransform",{attributeName:"transform",attributeType:"XML",type:"rotate",dur:"1s",from:"0 50 50",to:"360 50 50",repeatCount:"indefinite"},null,-1)],Ad=f.defineComponent({__name:"loading-spinner",props:{color:{type:String,default:"#fff"}},setup(e){return(r,t)=>(f.openBlock(),f.createElementBlock("span",$g,[f.createElementVNode("span",Zg,[(f.openBlock(),f.createElementBlock("svg",qg,[f.createElementVNode("path",{fill:e.color,d:"M73,50c0-12.7-10.3-23-23-23S27,37.3,27,50 M30.9,50c0-10.5,8.5-19.1,19.1-19.1S69.1,39.5,69.1,50"},jg,8,zg)]))]),f.renderSlot(r.$slots,"default")]))}}),XL="",ed=f.defineComponent({__name:"base-headline",props:{tag:null,size:null,variant:null,text:null,className:null},setup(e){const r=e,t=f.computed(()=>r.tag||"p");return(a,s)=>(f.openBlock(),f.createBlock(f.resolveDynamicComponent(f.unref(t)),{class:f.normalizeClass(["headline",`${e.size} headline--${e.size}${e.className||""}`])},{default:f.withCtx(()=>[f.renderSlot(a.$slots,"default",{},()=>[f.createTextVNode(f.toDisplayString(e.text),1)])]),_:3},8,["class"]))}}),td=f.defineComponent({__name:"base-paragraph",props:{size:null,variant:null,text:null,className:null},setup(e){return(r,t)=>(f.openBlock(),f.createElementBlock("p",{class:f.normalizeClass(["base-paragraph",`${e.size} ${e.className||""}`])},[f.renderSlot(r.$slots,"default",{},()=>[f.createTextVNode(f.toDisplayString(e.text),1)])],2))}}),rd=["type","disabled"],nd=f.defineComponent({__name:"base-button",props:{type:{type:null},caption:{type:String},variant:{type:String},color:{type:String,default:"primary"},size:{type:String},icon:{type:String},disabled:{type:Boolean,default:!1},pending:{type:Boolean,default:!1},outlined:{type:Boolean,default:!1},rounded:{type:Boolean,default:!1},circle:{type:Boolean,default:!1}},setup(e){const r=e,t=f.computed(()=>r.caption&&!r.circle);return(a,s)=>{const o=f.resolveComponent("svg-icon");return f.openBlock(),f.createElementBlock("button",{type:e.type,disabled:e.disabled,class:f.normalizeClass(["btn",{disabled:e.disabled,pending:e.pending,rounded:e.rounded,"rounded-circle":e.circle,[`btn-${e.color}`]:!e.outlined,[`btn-outline-${e.color}`]:e.outlined,"x-large":e.size==="x-large",large:e.size==="large",small:e.size==="small","x-small":e.size==="x-small"}])},[f.renderSlot(a.$slots,"default",{},()=>[e.icon?(f.openBlock(),f.createBlock(o,{key:0,id:e.icon,class:"base-button__caption"},null,8,["id"])):f.createCommentVNode("",!0),f.unref(t)?(f.openBlock(),f.createElementBlock("span",{key:1,class:f.normalizeClass(["base-button__caption",{"icon-padding":e.icon}])},f.toDisplayString(e.caption),3)):f.createCommentVNode("",!0)])],10,rd)}}}),YL="";function ae(){return(new Date().valueOf()+Math.random()).toString(36)}const ad={class:"input-group base-input__input-group"},id=["type","id","name","placeholder","pattern","disabled","read-only","required","maxlength","true-value","false-value","aria-label"],sd=["for","innerHTML"],od=f.defineComponent({__name:"base-input",props:{modelValue:{type:[String,Number,Boolean,Date],default:""},type:{type:String,default:"text"},name:{type:String,default:()=>ae()},id:{type:String,default:()=>ae()},label:{type:String,default:""},placeholder:{type:String,default:""},variant:{type:String,default:""},disabled:{type:Boolean,default:!1},readOnly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},maxlength:{type:Number},pattern:{type:String,default:null},trueValue:{type:null,default:!0},falseValue:{type:null,default:!1}},emits:["update:modelValue"],setup(e,{emit:r}){const t=e,a=f.computed({get(){return t.modelValue},set(s){r("update:modelValue",s)}});return(s,o)=>(f.openBlock(),f.createElementBlock("div",{class:f.normalizeClass(["input",`input--${e.type}`])},[f.createElementVNode("div",ad,[f.renderSlot(s.$slots,"input-prepend",{slotScope:"props"}),f.withDirectives(f.createElementVNode("input",{"onUpdate:modelValue":o[0]||(o[0]=l=>f.isRef(a)?a.value=l:null),type:e.type==="color"?"text":e.type,id:e.id,name:e.name,placeholder:e.placeholder,pattern:e.pattern,disabled:e.disabled,"read-only":e.readOnly,required:e.required,maxlength:e.maxlength,"true-value":e.trueValue,"false-value":e.falseValue,class:f.normalizeClass(["form-control",{"form-check-input":e.type==="checkbox"}]),"aria-label":e.label},null,10,id),[[f.vModelDynamic,f.unref(a)]]),f.renderSlot(s.$slots,"input-append",{slotScope:"props"})]),f.renderSlot(s.$slots,"label",{},()=>[f.createElementVNode("label",{for:e.id,class:f.normalizeClass(["input__label",{"form-check-label":e.type==="checkbox"}]),innerHTML:`${e.label}${e.required?" *":""}`},null,10,sd)])],2))}}),JL="",ld={class:"input input--textarea"},ud=["type","id","name","placeholder","pattern","disabled","read-only","required","maxlength","aria-label"],cd=["for","innerHTML"],Bd=f.defineComponent({__name:"input-textarea",props:{modelValue:{type:String,default:""},type:{type:String,default:"text"},name:{type:String,default:()=>ae()},id:{type:String,default:()=>ae()},label:{type:String,default:""},placeholder:{type:String,default:""},variant:{type:String,default:""},disabled:{type:Boolean,default:!1},readOnly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},maxlength:{type:Number},pattern:{type:String,default:null},checked:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(e,{emit:r}){const t=e,a=f.computed({get(){return t.modelValue},set(s){r("update:modelValue",s)}});return(s,o)=>(f.openBlock(),f.createElementBlock("div",ld,[f.renderSlot(s.$slots,"input-prepend"),f.withDirectives(f.createElementVNode("textarea",{"onUpdate:modelValue":o[0]||(o[0]=l=>f.isRef(a)?a.value=l:null),type:e.type,id:e.id,name:e.name,placeholder:e.placeholder,pattern:e.pattern,disabled:e.disabled,"read-only":e.readOnly,required:e.required,maxlength:e.maxlength,class:f.normalizeClass(["form-control",{}]),"aria-label":e.label},null,8,ud),[[f.vModelText,f.unref(a)]]),f.renderSlot(s.$slots,"input-append"),f.renderSlot(s.$slots,"label",{},()=>[f.createElementVNode("label",{for:e.id,class:f.normalizeClass(["input__label",{"form-check-label":e.type==="checkbox"}]),innerHTML:`${e.label}${e.required?" *":""}`},null,10,cd)])]))}}),fd=["value","id","name","required","disabled","true-value","false-value"],gd=["for"],dd=f.createElementVNode("span",{class:"input__error"},"error",-1),wd=f.defineComponent({__name:"input-checkbox",props:{id:{type:String},name:{type:String},label:{type:String},error:{type:String},disabled:{type:Boolean,default:!1},readOnly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},modelValue:{type:[Boolean,Array]},value:{type:[String,Object]},checked:{type:Boolean},trueValue:{type:null,default:!0},falseValue:{type:null,default:!1}},emits:["update:modelValue","update:checked"],setup(e,{emit:r}){const t=e,a=f.computed({get(){return t.modelValue||t.checked},set(s){r("update:checked",s),r("update:modelValue",s)}});return(s,o)=>(f.openBlock(),f.createElementBlock("div",{class:"form-check input input--checkbox",onClick:o[1]||(o[1]=f.withModifiers(l=>s.void,["stop"]))},[f.withDirectives(f.createElementVNode("input",{ref:"input","onUpdate:modelValue":o[0]||(o[0]=l=>f.isRef(a)?a.value=l:null),value:e.value,id:e.id,name:e.name,type:"checkbox",required:e.required,disabled:e.disabled,class:"form-check-input","true-value":e.trueValue,"false-value":e.falseValue},null,8,fd),[[f.vModelCheckbox,f.unref(a)]]),f.createElementVNode("label",{class:"input__label form-check-label",for:e.id},f.toDisplayString(e.label),9,gd),dd]))}}),$L=`:root,*:before,*:after{--border-color: #ced4da;--border-radius: .25rem}.input--checkbox{flex-flow:row;gap:.5rem}.input--checkbox input{order:0}
2
- `,Cd={class:"check-group"},hd=["id","name","value","disabled","read-only","required"],Qd=["for","innerHTML"],Ud=f.defineComponent({__name:"check-group",props:{modelValue:{type:null,default:()=>[]},options:{type:Array,required:!0},name:{type:String,default:()=>ae()},id:{type:String,default:()=>ae()},label:{type:String,default:""},disabled:{type:Boolean,default:!1},readOnly:{type:Boolean,default:!1},required:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(e,{emit:r}){const t=e;f.ref([]);const a=f.computed({get(){return t.modelValue},set(o){r("update:modelValue",o)}}),s=f.computed(()=>t.options.map(o=>(o=typeof o=="string"?{text:o,value:o}:o,{...o,active:t.modelValue&&t.modelValue.includes(o.value)})));return(o,l)=>(f.openBlock(),f.createElementBlock("div",Cd,[(f.openBlock(!0),f.createElementBlock(f.Fragment,null,f.renderList(f.unref(s),(B,c)=>(f.openBlock(),f.createElementBlock("div",{key:c,class:"form-check"},[f.withDirectives(f.createElementVNode("input",{type:"checkbox","onUpdate:modelValue":l[0]||(l[0]=w=>f.isRef(a)?a.value=w:null),id:`${e.id}-${c}`,name:e.name,class:"form-check-input",value:B.value||B,disabled:e.disabled,"read-only":e.readOnly,required:e.required},null,8,hd),[[f.vModelCheckbox,f.unref(a)]]),f.createElementVNode("label",{class:"form-check-label",for:`${e.id}-${c}`,innerHTML:B.text},null,8,Qd)]))),128))]))}}),ZL="",pd={class:"input radio-group"},Fd=["id","name","value","checked","disabled","read-only","required","onChange"],Ed=["for","innerHTML"],md=["for"],Id=f.defineComponent({__name:"radio-group",props:{modelValue:{default:!1},options:{type:Array,default:[]},name:{type:String,default:()=>ae()},id:{type:String,default:()=>ae()},label:{type:String,default:""},variant:{type:String,default:""},disabled:{type:Boolean,default:!1},readOnly:{type:Boolean,default:!1},required:{type:Boolean,default:!1}},emits:["change","update:modelValue"],setup(e,{emit:r}){const t=e;f.ref(t.options.map(s=>s.value===t.modelValue));function a(s){console.log("asdfa",s),r("update:modelValue",s)}return f.onBeforeMount(()=>{}),(s,o)=>(f.openBlock(),f.createElementBlock("div",pd,[(f.openBlock(!0),f.createElementBlock(f.Fragment,null,f.renderList(e.options,(l,B)=>(f.openBlock(),f.createElementBlock("div",{key:B,class:"form-check"},[f.createElementVNode("input",{type:"radio",id:`${e.id}-${B}`,name:e.name,class:"form-check-input",value:l.value||l,checked:l.value?l.value===e.modelValue:l===e.modelValue,disabled:e.disabled,"read-only":e.readOnly,required:e.required,onChange:c=>a(l)},null,40,Fd),f.createElementVNode("label",{class:"form-check-label",for:`${e.id}-${B}`,innerHTML:e.label},null,8,Ed)]))),128)),f.renderSlot(s.$slots,"label",{},()=>[e.label?(f.openBlock(),f.createElementBlock("label",{key:0,for:e.id},f.toDisplayString(e.label),9,md)):f.createCommentVNode("",!0)])]))}}),qL="",vd=["id","name","multiple","accept","disabled"],_d={class:"input__input-group input-group"},yd=["value","id","name","disabled"],Hd=["for","disabled"],Ld=f.createElementVNode("span",{class:"btn btn-outline-dark"},"Select File",-1),bd=["for"],Td=["innerHTML"],Dd=f.defineComponent({__name:"input-file",props:{modelValue:{type:Array,default:[]},name:{type:String,default:()=>ae()},id:{type:String,default:()=>ae()},label:{type:String,default:""},placeholder:{type:String,default:""},variant:{type:String,default:""},disabled:{type:Boolean,default:!1},readOnly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},pattern:{type:String,default:null},multiple:{type:Boolean,default:!1},accept:{type:String}},emits:["update:modelValue"],setup(e,{emit:r}){const t=e;function a(B){const c=B.target&&B.target.files;c&&(o.splice(0,o.length),Array.from(c).forEach(w=>{o.push(w)}))}const s=f.ref(),o=f.reactive([]),l=f.computed(()=>o&&o.map(B=>B.name));return f.computed(()=>o.map(B=>URL.createObjectURL(B))),f.watch(()=>t.modelValue,(B,c)=>{B.length===0&&(s.value.value=null)},{deep:!0}),f.watch(()=>o,(B,c)=>{r("update:modelValue",B)},{deep:!0}),(B,c)=>(f.openBlock(),f.createElementBlock("div",{class:f.normalizeClass(["input input-file","input-file--primary"])},[f.createElementVNode("input",{ref_key:"input",ref:s,type:"file",id:e.id,name:e.name,class:"d-none",onChange:a,multiple:e.multiple,accept:e.accept,disabled:e.disabled},null,40,vd),f.createElementVNode("div",_d,[f.renderSlot(B.$slots,"input-prepend"),f.createElementVNode("input",{type:"text",value:f.unref(l),id:e.id,name:e.name,class:"form-control",disabled:e.disabled},null,8,yd),f.renderSlot(B.$slots,"input-append",{},()=>[f.createElementVNode("label",{for:e.id,disabled:e.disabled},[f.renderSlot(B.$slots,"button",{},()=>[Ld])],8,Hd)])]),f.createElementVNode("label",{for:e.id},[f.renderSlot(B.$slots,"label",{},()=>[f.createElementVNode("span",{class:"input__label",innerHTML:`${e.label}${e.required?" *":""}`},null,8,Td)])],8,bd)]))}}),Sd={class:"input-color"},Od={class:"base-input__color-swatch"},Kd=["name","id","disabled","read-only","required","aria-label"],xd=f.defineComponent({__name:"input-color",props:{modelValue:{type:[String,Number,Boolean,Date],default:""},type:{type:String,default:"text"},name:{type:String,default:()=>ae()},id:{type:String,default:()=>ae()},label:{type:String,default:""},placeholder:{type:String,default:""},variant:{type:String,default:""},disabled:{type:Boolean,default:!1},readOnly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},maxlength:{type:Number},pattern:{type:String,default:null}},emits:["update:modelValue"],setup(e,{emit:r}){const t=e,a=f.computed({get(){return t.modelValue},set(s){r("update:modelValue",s)}});return(s,o)=>{const l=f.resolveComponent("base-input");return f.openBlock(),f.createElementBlock("div",Sd,[f.createVNode(l,{modelValue:f.unref(a),"onUpdate:modelValue":o[1]||(o[1]=B=>f.isRef(a)?a.value=B:null),type:e.type==="color"?"text":e.type,id:e.id,name:e.name,placeholder:e.placeholder,pattern:e.pattern,label:e.label,disabled:e.disabled,"read-only":e.readOnly,required:e.required,maxlength:e.maxlength},{"input-append":f.withCtx(B=>[f.createElementVNode("span",Od,[f.withDirectives(f.createElementVNode("input",{"onUpdate:modelValue":o[0]||(o[0]=c=>f.isRef(a)?a.value=c:null),type:"color",name:`${e.name}-color`,id:`${e.id}-color`,disabled:e.disabled,"read-only":e.readOnly,required:e.required,class:"form-control","aria-label":e.label},null,8,Kd),[[f.vModelText,f.unref(a)]])])]),_:1},8,["modelValue","type","id","name","placeholder","pattern","label","disabled","read-only","required","maxlength"])])}}}),zL="";/*!
1
+ (function(DA,g){typeof exports=="object"&&typeof module<"u"?g(exports,require("vue"),require("@popperjs/core")):typeof define=="function"&&define.amd?define(["exports","vue","@popperjs/core"],g):(DA=typeof globalThis<"u"?globalThis:DA||self,g(DA.AblokComponents={},DA.Vue,DA.core))})(this,function(DA,g,Vd){"use strict";const By={class:"icon",preserveAspectRatio:"xMaxYMin"},my=["xlink:href"],wy=g.defineComponent({__name:"svg-icon",props:{basePath:{type:String,default:"/symbol-defs.svg"},prefix:{type:String,default:"icon-"},symbol:{type:String,default:""},size:{type:String,default:"default"}},setup(t){return(A,e)=>(g.openBlock(),g.createElementBlock("i",{class:g.normalizeClass(["svg-icon",{[`svg-icon--${t.size}`]:t.size}])},[(g.openBlock(),g.createElementBlock("svg",By,[g.createElementVNode("use",{"xlink:href":`${t.basePath}#${t.prefix}${t.symbol}`,"xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0",y:"0"},null,8,my)]))],2))}}),kP="",Cy={class:"loading-spinner d-block"},yy={class:"loading-spinner__animation"},Qy={class:"d-block",version:"1.1",id:"L9",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 100 100","enable-background":"new 0 0 0 0","xml:space":"preserve"},Ey=["fill"],Fy=[g.createElementVNode("animateTransform",{attributeName:"transform",attributeType:"XML",type:"rotate",dur:"1s",from:"0 50 50",to:"360 50 50",repeatCount:"indefinite"},null,-1)],Uy=g.defineComponent({__name:"loading-spinner",props:{color:{type:String,default:"#fff"}},setup(t){return(A,e)=>(g.openBlock(),g.createElementBlock("span",Cy,[g.createElementVNode("span",yy,[(g.openBlock(),g.createElementBlock("svg",Qy,[g.createElementVNode("path",{fill:t.color,d:"M73,50c0-12.7-10.3-23-23-23S27,37.3,27,50 M30.9,50c0-10.5,8.5-19.1,19.1-19.1S69.1,39.5,69.1,50"},Fy,8,Ey)]))]),g.renderSlot(A.$slots,"default")]))}}),RP="",vy=g.defineComponent({__name:"base-headline",props:{tag:null,size:null,variant:null,text:null,className:null},setup(t){const A=t,e=g.computed(()=>A.tag||"p");return(n,r)=>(g.openBlock(),g.createBlock(g.resolveDynamicComponent(g.unref(e)),{class:g.normalizeClass(["headline",`${t.size} headline--${t.size}${t.className||""}`])},{default:g.withCtx(()=>[g.renderSlot(n.$slots,"default",{},()=>[g.createTextVNode(g.toDisplayString(t.text),1)])]),_:3},8,["class"]))}}),by=g.defineComponent({__name:"base-paragraph",props:{size:null,variant:null,text:null,className:null},setup(t){return(A,e)=>(g.openBlock(),g.createElementBlock("p",{class:g.normalizeClass(["base-paragraph",`${t.size} ${t.className||""}`])},[g.renderSlot(A.$slots,"default",{},()=>[g.createTextVNode(g.toDisplayString(t.text),1)])],2))}});function we(){return(new Date().valueOf()+Math.random()).toString(36).replace(".","")}const Iy={class:"accordion-item"},Sy=["id"],Ty=["data-bs-target","aria-controls"],xy={class:"flex-grow-1"},Hy=["id","aria-labelledby","data-bs-parent"],Ly={class:"accordion-body"},Oy=["innerHTML"],_y=g.defineComponent({__name:"accordion-item",props:{id:{type:String,default:()=>we()},modelValue:{type:Boolean,default:!0},title:{type:String,default:"Accordion Title"},body:{type:String,default:"<p>Lorem ipsum dolor sit amet consectetur, adipisicing elit. Nisi aut, nobis inventore repudiandae quo laboriosam. Dicta placeat ullam harum optio expedita. Harum fugiat suscipit sapiente quos, molestias neque eaque omnis?</p>"},parent:{type:String,default:""}},emits:["update:modelValue"],setup(t,{emit:A}){const e=t;function n(){A("update:modelValue",!e.modelValue)}return(r,i)=>{const s=g.resolveComponent("svg-icon");return g.openBlock(),g.createElementBlock("div",Iy,[g.createElementVNode("div",{class:"accordion-header",id:`heading${t.id}`},[g.createElementVNode("button",{class:"accordion-button",type:"button","data-bs-toggle":"collapse","data-bs-target":`#target${t.id}`,"aria-expanded":"true","aria-controls":`target${t.id}`,onClick:n},[g.renderSlot(r.$slots,"toggle",{},()=>[g.createElementVNode("span",xy,g.toDisplayString(t.title),1),g.createVNode(s,{symbol:"chevron-down",class:"accordion-button__toggle ms-auto"})])],8,Ty)],8,Sy),g.createElementVNode("div",{class:g.normalizeClass(["accordion-collapse collapse",t.modelValue&&"show"]),id:`target${t.id}`,"aria-labelledby":`heading${t.id}`,"data-bs-parent":t.parent},[g.createElementVNode("div",Ly,[g.renderSlot(r.$slots,"body",{},()=>[g.createElementVNode("article",{innerHTML:t.body},null,8,Oy)])])],10,Hy)])}}}),KP="",My=(t,A)=>{const e=t.__vccOpts||t;for(const[n,r]of A)e[n]=r;return e},Dy={},ky={class:"accordion"};function Ny(t,A){return g.openBlock(),g.createElementBlock("div",ky,[g.renderSlot(t.$slots,"default")])}const Ry=My(Dy,[["render",Ny]]),Ky=["type","disabled"],Py=g.defineComponent({__name:"base-button",props:{type:{type:null},caption:{type:String},variant:{type:String},color:{type:String,default:"primary"},size:{type:String},icon:{type:String},disabled:{type:Boolean,default:!1},pending:{type:Boolean,default:!1},outlined:{type:Boolean,default:!1},rounded:{type:Boolean,default:!1},circle:{type:Boolean,default:!1}},setup(t){const A=t,e=g.computed(()=>A.caption&&!A.circle);return(n,r)=>{const i=g.resolveComponent("svg-icon");return g.openBlock(),g.createElementBlock("button",{type:t.type,disabled:t.disabled,class:g.normalizeClass(["btn",{disabled:t.disabled,pending:t.pending,rounded:t.rounded,"rounded-circle":t.circle,[`btn-${t.color}`]:!t.outlined,[`btn-outline-${t.color}`]:t.outlined,"x-large":t.size==="x-large",large:t.size==="large",small:t.size==="small","x-small":t.size==="x-small"}])},[g.renderSlot(n.$slots,"default",{},()=>[t.icon?(g.openBlock(),g.createBlock(i,{key:0,id:t.icon,class:"base-button__caption"},null,8,["id"])):g.createCommentVNode("",!0),g.unref(e)?(g.openBlock(),g.createElementBlock("span",{key:1,class:g.normalizeClass(["base-button__caption",{"icon-padding":t.icon}])},g.toDisplayString(t.caption),3)):g.createCommentVNode("",!0)])],10,Ky)}}}),PP="",Vy={class:"input-group base-input__input-group"},Gy=["type","id","name","placeholder","pattern","disabled","read-only","required","maxlength","true-value","false-value","aria-label"],Wy=["for","innerHTML"],Jy=g.defineComponent({__name:"base-input",props:{modelValue:{type:[String,Number,Boolean,Date],default:""},type:{type:String,default:"text"},name:{type:String,default:()=>we()},id:{type:String,default:()=>we()},label:{type:String,default:""},placeholder:{type:String,default:""},variant:{type:String,default:""},disabled:{type:Boolean,default:!1},readOnly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},maxlength:{type:Number},pattern:{type:String,default:null},trueValue:{type:null,default:!0},falseValue:{type:null,default:!1}},emits:["update:modelValue"],setup(t,{emit:A}){const e=t,n=g.computed({get(){return e.modelValue},set(r){A("update:modelValue",r)}});return(r,i)=>(g.openBlock(),g.createElementBlock("div",{class:g.normalizeClass(["input",`input--${t.type}`])},[g.createElementVNode("div",Vy,[g.renderSlot(r.$slots,"input-prepend",{slotScope:"props"}),g.withDirectives(g.createElementVNode("input",{"onUpdate:modelValue":i[0]||(i[0]=s=>g.isRef(n)?n.value=s:null),type:t.type==="color"?"text":t.type,id:t.id,name:t.name,placeholder:t.placeholder,pattern:t.pattern,disabled:t.disabled,"read-only":t.readOnly,required:t.required,maxlength:t.maxlength,"true-value":t.trueValue,"false-value":t.falseValue,class:g.normalizeClass(["form-control",{"form-check-input":t.type==="checkbox"}]),"aria-label":t.label},null,10,Gy),[[g.vModelDynamic,g.unref(n)]]),g.renderSlot(r.$slots,"input-append",{slotScope:"props"})]),g.renderSlot(r.$slots,"label",{},()=>[g.createElementVNode("label",{for:t.id,class:g.normalizeClass(["input__label",{"form-check-label":t.type==="checkbox"}]),innerHTML:`${t.label}${t.required?" *":""}`},null,10,Wy)])],2))}}),VP="",$y={class:"input input--textarea"},Xy=["type","id","name","placeholder","pattern","disabled","read-only","required","maxlength","aria-label"],Yy=["for","innerHTML"],zy=g.defineComponent({__name:"input-textarea",props:{modelValue:{type:String,default:""},type:{type:String,default:"text"},name:{type:String,default:()=>we()},id:{type:String,default:()=>we()},label:{type:String,default:""},placeholder:{type:String,default:""},variant:{type:String,default:""},disabled:{type:Boolean,default:!1},readOnly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},maxlength:{type:Number},pattern:{type:String,default:null},checked:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(t,{emit:A}){const e=t,n=g.computed({get(){return e.modelValue},set(r){A("update:modelValue",r)}});return(r,i)=>(g.openBlock(),g.createElementBlock("div",$y,[g.renderSlot(r.$slots,"input-prepend"),g.withDirectives(g.createElementVNode("textarea",{"onUpdate:modelValue":i[0]||(i[0]=s=>g.isRef(n)?n.value=s:null),type:t.type,id:t.id,name:t.name,placeholder:t.placeholder,pattern:t.pattern,disabled:t.disabled,"read-only":t.readOnly,required:t.required,maxlength:t.maxlength,class:g.normalizeClass(["form-control",{}]),"aria-label":t.label},null,8,Xy),[[g.vModelText,g.unref(n)]]),g.renderSlot(r.$slots,"input-append"),g.renderSlot(r.$slots,"label",{},()=>[g.createElementVNode("label",{for:t.id,class:g.normalizeClass(["input__label",{"form-check-label":t.type==="checkbox"}]),innerHTML:`${t.label}${t.required?" *":""}`},null,10,Yy)])]))}}),qy=["value","id","name","required","disabled","true-value","false-value"],Zy=["for"],jy=g.createElementVNode("span",{class:"input__error"},"error",-1),AQ=g.defineComponent({__name:"input-checkbox",props:{id:{type:String},name:{type:String},label:{type:String},error:{type:String},disabled:{type:Boolean,default:!1},readOnly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},modelValue:{type:[Boolean,Array]},value:{type:[String,Object]},checked:{type:Boolean},trueValue:{type:null,default:!0},falseValue:{type:null,default:!1}},emits:["update:modelValue","update:checked"],setup(t,{emit:A}){const e=t,n=g.computed({get(){return e.modelValue||e.checked},set(r){A("update:checked",r),A("update:modelValue",r)}});return(r,i)=>(g.openBlock(),g.createElementBlock("div",{class:"form-check input input--checkbox",onClick:i[1]||(i[1]=g.withModifiers(s=>r.void,["stop"]))},[g.withDirectives(g.createElementVNode("input",{ref:"input","onUpdate:modelValue":i[0]||(i[0]=s=>g.isRef(n)?n.value=s:null),value:t.value,id:t.id,name:t.name,type:"checkbox",required:t.required,disabled:t.disabled,class:"form-check-input","true-value":t.trueValue,"false-value":t.falseValue},null,8,qy),[[g.vModelCheckbox,g.unref(n)]]),g.createElementVNode("label",{class:"input__label form-check-label",for:t.id},g.toDisplayString(t.label),9,Zy),jy]))}}),GP=`:root,*:before,*:after{--border-color: #ced4da;--border-radius: .25rem}.input--checkbox{flex-flow:row;gap:.5rem}.input--checkbox input{order:0}
2
+ `,eQ={class:"check-group"},tQ=["id","name","value","disabled","read-only","required"],nQ=["for","innerHTML"],rQ=g.defineComponent({__name:"check-group",props:{modelValue:{type:null,default:()=>[]},options:{type:Array,required:!0},name:{type:String,default:()=>we()},id:{type:String,default:()=>we()},label:{type:String,default:""},disabled:{type:Boolean,default:!1},readOnly:{type:Boolean,default:!1},required:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(t,{emit:A}){const e=t;g.ref([]);const n=g.computed({get(){return e.modelValue},set(i){A("update:modelValue",i)}}),r=g.computed(()=>e.options.map(i=>(i=typeof i=="string"?{text:i,value:i}:i,{...i,active:e.modelValue&&e.modelValue.includes(i.value)})));return(i,s)=>(g.openBlock(),g.createElementBlock("div",eQ,[(g.openBlock(!0),g.createElementBlock(g.Fragment,null,g.renderList(g.unref(r),(a,c)=>(g.openBlock(),g.createElementBlock("div",{key:c,class:"form-check"},[g.withDirectives(g.createElementVNode("input",{type:"checkbox","onUpdate:modelValue":s[0]||(s[0]=u=>g.isRef(n)?n.value=u:null),id:`${t.id}-${c}`,name:t.name,class:"form-check-input",value:a.value||a,disabled:t.disabled,"read-only":t.readOnly,required:t.required},null,8,tQ),[[g.vModelCheckbox,g.unref(n)]]),g.createElementVNode("label",{class:"form-check-label",for:`${t.id}-${c}`,innerHTML:a.text},null,8,nQ)]))),128))]))}}),WP="",iQ={class:"input radio-group"},sQ=["id","name","value","checked","disabled","read-only","required","onChange"],oQ=["for","innerHTML"],aQ=["for"],lQ=g.defineComponent({__name:"radio-group",props:{modelValue:{default:!1},options:{type:Array,default:[]},name:{type:String,default:()=>we()},id:{type:String,default:()=>we()},label:{type:String,default:""},variant:{type:String,default:""},disabled:{type:Boolean,default:!1},readOnly:{type:Boolean,default:!1},required:{type:Boolean,default:!1}},emits:["change","update:modelValue"],setup(t,{emit:A}){const e=t;g.ref(e.options.map(r=>r.value===e.modelValue));function n(r){console.log("asdfa",r),A("update:modelValue",r)}return g.onBeforeMount(()=>{}),(r,i)=>(g.openBlock(),g.createElementBlock("div",iQ,[(g.openBlock(!0),g.createElementBlock(g.Fragment,null,g.renderList(t.options,(s,a)=>(g.openBlock(),g.createElementBlock("div",{key:a,class:"form-check"},[g.createElementVNode("input",{type:"radio",id:`${t.id}-${a}`,name:t.name,class:"form-check-input",value:s.value||s,checked:s.value?s.value===t.modelValue:s===t.modelValue,disabled:t.disabled,"read-only":t.readOnly,required:t.required,onChange:c=>n(s)},null,40,sQ),g.createElementVNode("label",{class:"form-check-label",for:`${t.id}-${a}`,innerHTML:t.label},null,8,oQ)]))),128)),g.renderSlot(r.$slots,"label",{},()=>[t.label?(g.openBlock(),g.createElementBlock("label",{key:0,for:t.id},g.toDisplayString(t.label),9,aQ)):g.createCommentVNode("",!0)])]))}}),JP="",cQ=["id","name","multiple","accept","disabled"],uQ={class:"input__input-group input-group"},fQ=["value","id","name","disabled"],dQ=["for","disabled"],hQ=g.createElementVNode("span",{class:"btn btn-outline-dark"},"Select File",-1),pQ=["for"],gQ=["innerHTML"],BQ=g.defineComponent({__name:"input-file",props:{modelValue:{type:Array,default:[]},name:{type:String,default:()=>we()},id:{type:String,default:()=>we()},label:{type:String,default:""},placeholder:{type:String,default:""},variant:{type:String,default:""},disabled:{type:Boolean,default:!1},readOnly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},pattern:{type:String,default:null},multiple:{type:Boolean,default:!1},accept:{type:String}},emits:["update:modelValue"],setup(t,{emit:A}){const e=t;function n(a){const c=a.target&&a.target.files;c&&(i.splice(0,i.length),Array.from(c).forEach(u=>{i.push(u)}))}const r=g.ref(),i=g.reactive([]),s=g.computed(()=>i&&i.map(a=>a.name));return g.computed(()=>i.map(a=>URL.createObjectURL(a))),g.watch(()=>e.modelValue,(a,c)=>{a.length===0&&(r.value.value=null)},{deep:!0}),g.watch(()=>i,(a,c)=>{A("update:modelValue",a)},{deep:!0}),(a,c)=>(g.openBlock(),g.createElementBlock("div",{class:g.normalizeClass(["input input-file","input-file--primary"])},[g.createElementVNode("input",{ref_key:"input",ref:r,type:"file",id:t.id,name:t.name,class:"d-none",onChange:n,multiple:t.multiple,accept:t.accept,disabled:t.disabled},null,40,cQ),g.createElementVNode("div",uQ,[g.renderSlot(a.$slots,"input-prepend"),g.createElementVNode("input",{type:"text",value:g.unref(s),id:t.id,name:t.name,class:"form-control",disabled:t.disabled},null,8,fQ),g.renderSlot(a.$slots,"input-append",{},()=>[g.createElementVNode("label",{for:t.id,disabled:t.disabled},[g.renderSlot(a.$slots,"button",{},()=>[hQ])],8,dQ)])]),g.createElementVNode("label",{for:t.id},[g.renderSlot(a.$slots,"label",{},()=>[g.createElementVNode("span",{class:"input__label",innerHTML:`${t.label}${t.required?" *":""}`},null,8,gQ)])],8,pQ)]))}});function He(t){this.content=t}He.prototype={constructor:He,find:function(t){for(var A=0;A<this.content.length;A+=2)if(this.content[A]===t)return A;return-1},get:function(t){var A=this.find(t);return A==-1?void 0:this.content[A+1]},update:function(t,A,e){var n=e&&e!=t?this.remove(e):this,r=n.find(t),i=n.content.slice();return r==-1?i.push(e||t,A):(i[r+1]=A,e&&(i[r]=e)),new He(i)},remove:function(t){var A=this.find(t);if(A==-1)return this;var e=this.content.slice();return e.splice(A,2),new He(e)},addToStart:function(t,A){return new He([t,A].concat(this.remove(t).content))},addToEnd:function(t,A){var e=this.remove(t).content.slice();return e.push(t,A),new He(e)},addBefore:function(t,A,e){var n=this.remove(A),r=n.content.slice(),i=n.find(t);return r.splice(i==-1?r.length:i,0,A,e),new He(r)},forEach:function(t){for(var A=0;A<this.content.length;A+=2)t(this.content[A],this.content[A+1])},prepend:function(t){return t=He.from(t),t.size?new He(t.content.concat(this.subtract(t).content)):this},append:function(t){return t=He.from(t),t.size?new He(this.subtract(t).content.concat(t.content)):this},subtract:function(t){var A=this;t=He.from(t);for(var e=0;e<t.content.length;e+=2)A=A.remove(t.content[e]);return A},toObject:function(){var t={};return this.forEach(function(A,e){t[A]=e}),t},get size(){return this.content.length>>1}},He.from=function(t){if(t instanceof He)return t;var A=[];if(t)for(var e in t)A.push(e,t[e]);return new He(A)};function Gd(t,A,e){for(let n=0;;n++){if(n==t.childCount||n==A.childCount)return t.childCount==A.childCount?null:e;let r=t.child(n),i=A.child(n);if(r==i){e+=r.nodeSize;continue}if(!r.sameMarkup(i))return e;if(r.isText&&r.text!=i.text){for(let s=0;r.text[s]==i.text[s];s++)e++;return e}if(r.content.size||i.content.size){let s=Gd(r.content,i.content,e+1);if(s!=null)return s}e+=r.nodeSize}}function Wd(t,A,e,n){for(let r=t.childCount,i=A.childCount;;){if(r==0||i==0)return r==i?null:{a:e,b:n};let s=t.child(--r),a=A.child(--i),c=s.nodeSize;if(s==a){e-=c,n-=c;continue}if(!s.sameMarkup(a))return{a:e,b:n};if(s.isText&&s.text!=a.text){let u=0,d=Math.min(s.text.length,a.text.length);for(;u<d&&s.text[s.text.length-u-1]==a.text[a.text.length-u-1];)u++,e--,n--;return{a:e,b:n}}if(s.content.size||a.content.size){let u=Wd(s.content,a.content,e-1,n-1);if(u)return u}e-=c,n-=c}}class X{constructor(A,e){if(this.content=A,this.size=e||0,e==null)for(let n=0;n<A.length;n++)this.size+=A[n].nodeSize}nodesBetween(A,e,n,r=0,i){for(let s=0,a=0;a<e;s++){let c=this.content[s],u=a+c.nodeSize;if(u>A&&n(c,r+a,i||null,s)!==!1&&c.content.size){let d=a+1;c.nodesBetween(Math.max(0,A-d),Math.min(c.content.size,e-d),n,r+d)}a=u}}descendants(A){this.nodesBetween(0,this.size,A)}textBetween(A,e,n,r){let i="",s=!0;return this.nodesBetween(A,e,(a,c)=>{a.isText?(i+=a.text.slice(Math.max(A,c)-c,e-c),s=!n):a.isLeaf?(r?i+=typeof r=="function"?r(a):r:a.type.spec.leafText&&(i+=a.type.spec.leafText(a)),s=!n):!s&&a.isBlock&&(i+=n,s=!0)},0),i}append(A){if(!A.size)return this;if(!this.size)return A;let e=this.lastChild,n=A.firstChild,r=this.content.slice(),i=0;for(e.isText&&e.sameMarkup(n)&&(r[r.length-1]=e.withText(e.text+n.text),i=1);i<A.content.length;i++)r.push(A.content[i]);return new X(r,this.size+A.size)}cut(A,e=this.size){if(A==0&&e==this.size)return this;let n=[],r=0;if(e>A)for(let i=0,s=0;s<e;i++){let a=this.content[i],c=s+a.nodeSize;c>A&&((s<A||c>e)&&(a.isText?a=a.cut(Math.max(0,A-s),Math.min(a.text.length,e-s)):a=a.cut(Math.max(0,A-s-1),Math.min(a.content.size,e-s-1))),n.push(a),r+=a.nodeSize),s=c}return new X(n,r)}cutByIndex(A,e){return A==e?X.empty:A==0&&e==this.content.length?this:new X(this.content.slice(A,e))}replaceChild(A,e){let n=this.content[A];if(n==e)return this;let r=this.content.slice(),i=this.size+e.nodeSize-n.nodeSize;return r[A]=e,new X(r,i)}addToStart(A){return new X([A].concat(this.content),this.size+A.nodeSize)}addToEnd(A){return new X(this.content.concat(A),this.size+A.nodeSize)}eq(A){if(this.content.length!=A.content.length)return!1;for(let e=0;e<this.content.length;e++)if(!this.content[e].eq(A.content[e]))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(A){let e=this.content[A];if(!e)throw new RangeError("Index "+A+" out of range for "+this);return e}maybeChild(A){return this.content[A]||null}forEach(A){for(let e=0,n=0;e<this.content.length;e++){let r=this.content[e];A(r,n,e),n+=r.nodeSize}}findDiffStart(A,e=0){return Gd(this,A,e)}findDiffEnd(A,e=this.size,n=A.size){return Wd(this,A,e,n)}findIndex(A,e=-1){if(A==0)return Uo(0,A);if(A==this.size)return Uo(this.content.length,A);if(A>this.size||A<0)throw new RangeError(`Position ${A} outside of fragment (${this})`);for(let n=0,r=0;;n++){let i=this.child(n),s=r+i.nodeSize;if(s>=A)return s==A||e>0?Uo(n+1,s):Uo(n,r);r=s}}toString(){return"<"+this.toStringInner()+">"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map(A=>A.toJSON()):null}static fromJSON(A,e){if(!e)return X.empty;if(!Array.isArray(e))throw new RangeError("Invalid input for Fragment.fromJSON");return new X(e.map(A.nodeFromJSON))}static fromArray(A){if(!A.length)return X.empty;let e,n=0;for(let r=0;r<A.length;r++){let i=A[r];n+=i.nodeSize,r&&i.isText&&A[r-1].sameMarkup(i)?(e||(e=A.slice(0,r)),e[e.length-1]=i.withText(e[e.length-1].text+i.text)):e&&e.push(i)}return new X(e||A,n)}static from(A){if(!A)return X.empty;if(A instanceof X)return A;if(Array.isArray(A))return this.fromArray(A);if(A.attrs)return new X([A],A.nodeSize);throw new RangeError("Can not convert "+A+" to a Fragment"+(A.nodesBetween?" (looks like multiple versions of prosemirror-model were loaded)":""))}}X.empty=new X([],0);const Zl={index:0,offset:0};function Uo(t,A){return Zl.index=t,Zl.offset=A,Zl}function vo(t,A){if(t===A)return!0;if(!(t&&typeof t=="object")||!(A&&typeof A=="object"))return!1;let e=Array.isArray(t);if(Array.isArray(A)!=e)return!1;if(e){if(t.length!=A.length)return!1;for(let n=0;n<t.length;n++)if(!vo(t[n],A[n]))return!1}else{for(let n in t)if(!(n in A)||!vo(t[n],A[n]))return!1;for(let n in A)if(!(n in t))return!1}return!0}let VA=class Rd{constructor(A,e){this.type=A,this.attrs=e}addToSet(A){let e,n=!1;for(let r=0;r<A.length;r++){let i=A[r];if(this.eq(i))return A;if(this.type.excludes(i.type))e||(e=A.slice(0,r));else{if(i.type.excludes(this.type))return A;!n&&i.type.rank>this.type.rank&&(e||(e=A.slice(0,r)),e.push(this),n=!0),e&&e.push(i)}}return e||(e=A.slice()),n||e.push(this),e}removeFromSet(A){for(let e=0;e<A.length;e++)if(this.eq(A[e]))return A.slice(0,e).concat(A.slice(e+1));return A}isInSet(A){for(let e=0;e<A.length;e++)if(this.eq(A[e]))return!0;return!1}eq(A){return this==A||this.type==A.type&&vo(this.attrs,A.attrs)}toJSON(){let A={type:this.type.name};for(let e in this.attrs){A.attrs=this.attrs;break}return A}static fromJSON(A,e){if(!e)throw new RangeError("Invalid input for Mark.fromJSON");let n=A.marks[e.type];if(!n)throw new RangeError(`There is no mark type ${e.type} in this schema`);return n.create(e.attrs)}static sameSet(A,e){if(A==e)return!0;if(A.length!=e.length)return!1;for(let n=0;n<A.length;n++)if(!A[n].eq(e[n]))return!1;return!0}static setFrom(A){if(!A||Array.isArray(A)&&A.length==0)return Rd.none;if(A instanceof Rd)return[A];let e=A.slice();return e.sort((n,r)=>n.type.rank-r.type.rank),e}};VA.none=[];class bo extends Error{}class j{constructor(A,e,n){this.content=A,this.openStart=e,this.openEnd=n}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(A,e){let n=$d(this.content,A+this.openStart,e);return n&&new j(n,this.openStart,this.openEnd)}removeBetween(A,e){return new j(Jd(this.content,A+this.openStart,e+this.openStart),this.openStart,this.openEnd)}eq(A){return this.content.eq(A.content)&&this.openStart==A.openStart&&this.openEnd==A.openEnd}toString(){return this.content+"("+this.openStart+","+this.openEnd+")"}toJSON(){if(!this.content.size)return null;let A={content:this.content.toJSON()};return this.openStart>0&&(A.openStart=this.openStart),this.openEnd>0&&(A.openEnd=this.openEnd),A}static fromJSON(A,e){if(!e)return j.empty;let n=e.openStart||0,r=e.openEnd||0;if(typeof n!="number"||typeof r!="number")throw new RangeError("Invalid input for Slice.fromJSON");return new j(X.fromJSON(A,e.content),n,r)}static maxOpen(A,e=!0){let n=0,r=0;for(let i=A.firstChild;i&&!i.isLeaf&&(e||!i.type.spec.isolating);i=i.firstChild)n++;for(let i=A.lastChild;i&&!i.isLeaf&&(e||!i.type.spec.isolating);i=i.lastChild)r++;return new j(A,n,r)}}j.empty=new j(X.empty,0,0);function Jd(t,A,e){let{index:n,offset:r}=t.findIndex(A),i=t.maybeChild(n),{index:s,offset:a}=t.findIndex(e);if(r==A||i.isText){if(a!=e&&!t.child(s).isText)throw new RangeError("Removing non-flat range");return t.cut(0,A).append(t.cut(e))}if(n!=s)throw new RangeError("Removing non-flat range");return t.replaceChild(n,i.copy(Jd(i.content,A-r-1,e-r-1)))}function $d(t,A,e,n){let{index:r,offset:i}=t.findIndex(A),s=t.maybeChild(r);if(i==A||s.isText)return n&&!n.canReplace(r,r,e)?null:t.cut(0,A).append(e).append(t.cut(A));let a=$d(s.content,A-i-1,e);return a&&t.replaceChild(r,s.copy(a))}function mQ(t,A,e){if(e.openStart>t.depth)throw new bo("Inserted content deeper than insertion position");if(t.depth-e.openStart!=A.depth-e.openEnd)throw new bo("Inconsistent open depths");return Xd(t,A,e,0)}function Xd(t,A,e,n){let r=t.index(n),i=t.node(n);if(r==A.index(n)&&n<t.depth-e.openStart){let s=Xd(t,A,e,n+1);return i.copy(i.content.replaceChild(r,s))}else if(e.content.size)if(!e.openStart&&!e.openEnd&&t.depth==n&&A.depth==n){let s=t.parent,a=s.content;return Dr(s,a.cut(0,t.parentOffset).append(e.content).append(a.cut(A.parentOffset)))}else{let{start:s,end:a}=wQ(e,t);return Dr(i,zd(t,s,a,A,n))}else return Dr(i,Io(t,A,n))}function Yd(t,A){if(!A.type.compatibleContent(t.type))throw new bo("Cannot join "+A.type.name+" onto "+t.type.name)}function jl(t,A,e){let n=t.node(e);return Yd(n,A.node(e)),n}function Mr(t,A){let e=A.length-1;e>=0&&t.isText&&t.sameMarkup(A[e])?A[e]=t.withText(A[e].text+t.text):A.push(t)}function ds(t,A,e,n){let r=(A||t).node(e),i=0,s=A?A.index(e):r.childCount;t&&(i=t.index(e),t.depth>e?i++:t.textOffset&&(Mr(t.nodeAfter,n),i++));for(let a=i;a<s;a++)Mr(r.child(a),n);A&&A.depth==e&&A.textOffset&&Mr(A.nodeBefore,n)}function Dr(t,A){return t.type.checkContent(A),t.copy(A)}function zd(t,A,e,n,r){let i=t.depth>r&&jl(t,A,r+1),s=n.depth>r&&jl(e,n,r+1),a=[];return ds(null,t,r,a),i&&s&&A.index(r)==e.index(r)?(Yd(i,s),Mr(Dr(i,zd(t,A,e,n,r+1)),a)):(i&&Mr(Dr(i,Io(t,A,r+1)),a),ds(A,e,r,a),s&&Mr(Dr(s,Io(e,n,r+1)),a)),ds(n,null,r,a),new X(a)}function Io(t,A,e){let n=[];if(ds(null,t,e,n),t.depth>e){let r=jl(t,A,e+1);Mr(Dr(r,Io(t,A,e+1)),n)}return ds(A,null,e,n),new X(n)}function wQ(t,A){let e=A.depth-t.openStart,r=A.node(e).copy(t.content);for(let i=e-1;i>=0;i--)r=A.node(i).copy(X.from(r));return{start:r.resolveNoCache(t.openStart+e),end:r.resolveNoCache(r.content.size-t.openEnd-e)}}class hs{constructor(A,e,n){this.pos=A,this.path=e,this.parentOffset=n,this.depth=e.length/3-1}resolveDepth(A){return A==null?this.depth:A<0?this.depth+A:A}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(A){return this.path[this.resolveDepth(A)*3]}index(A){return this.path[this.resolveDepth(A)*3+1]}indexAfter(A){return A=this.resolveDepth(A),this.index(A)+(A==this.depth&&!this.textOffset?0:1)}start(A){return A=this.resolveDepth(A),A==0?0:this.path[A*3-1]+1}end(A){return A=this.resolveDepth(A),this.start(A)+this.node(A).content.size}before(A){if(A=this.resolveDepth(A),!A)throw new RangeError("There is no position before the top-level node");return A==this.depth+1?this.pos:this.path[A*3-1]}after(A){if(A=this.resolveDepth(A),!A)throw new RangeError("There is no position after the top-level node");return A==this.depth+1?this.pos:this.path[A*3-1]+this.path[A*3].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let A=this.parent,e=this.index(this.depth);if(e==A.childCount)return null;let n=this.pos-this.path[this.path.length-1],r=A.child(e);return n?A.child(e).cut(n):r}get nodeBefore(){let A=this.index(this.depth),e=this.pos-this.path[this.path.length-1];return e?this.parent.child(A).cut(0,e):A==0?null:this.parent.child(A-1)}posAtIndex(A,e){e=this.resolveDepth(e);let n=this.path[e*3],r=e==0?0:this.path[e*3-1]+1;for(let i=0;i<A;i++)r+=n.child(i).nodeSize;return r}marks(){let A=this.parent,e=this.index();if(A.content.size==0)return VA.none;if(this.textOffset)return A.child(e).marks;let n=A.maybeChild(e-1),r=A.maybeChild(e);if(!n){let a=n;n=r,r=a}let i=n.marks;for(var s=0;s<i.length;s++)i[s].type.spec.inclusive===!1&&(!r||!i[s].isInSet(r.marks))&&(i=i[s--].removeFromSet(i));return i}marksAcross(A){let e=this.parent.maybeChild(this.index());if(!e||!e.isInline)return null;let n=e.marks,r=A.parent.maybeChild(A.index());for(var i=0;i<n.length;i++)n[i].type.spec.inclusive===!1&&(!r||!n[i].isInSet(r.marks))&&(n=n[i--].removeFromSet(n));return n}sharedDepth(A){for(let e=this.depth;e>0;e--)if(this.start(e)<=A&&this.end(e)>=A)return e;return 0}blockRange(A=this,e){if(A.pos<this.pos)return A.blockRange(this);for(let n=this.depth-(this.parent.inlineContent||this.pos==A.pos?1:0);n>=0;n--)if(A.pos<=this.end(n)&&(!e||e(this.node(n))))return new So(this,A,n);return null}sameParent(A){return this.pos-this.parentOffset==A.pos-A.parentOffset}max(A){return A.pos>this.pos?A:this}min(A){return A.pos<this.pos?A:this}toString(){let A="";for(let e=1;e<=this.depth;e++)A+=(A?"/":"")+this.node(e).type.name+"_"+this.index(e-1);return A+":"+this.parentOffset}static resolve(A,e){if(!(e>=0&&e<=A.content.size))throw new RangeError("Position "+e+" out of range");let n=[],r=0,i=e;for(let s=A;;){let{index:a,offset:c}=s.content.findIndex(i),u=i-c;if(n.push(s,a,r+c),!u||(s=s.child(a),s.isText))break;i=u-1,r+=c+1}return new hs(e,n,i)}static resolveCached(A,e){for(let r=0;r<Ac.length;r++){let i=Ac[r];if(i.pos==e&&i.doc==A)return i}let n=Ac[ec]=hs.resolve(A,e);return ec=(ec+1)%CQ,n}}let Ac=[],ec=0,CQ=12;class So{constructor(A,e,n){this.$from=A,this.$to=e,this.depth=n}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 yQ=Object.create(null);let kr=class Kd{constructor(A,e,n,r=VA.none){this.type=A,this.attrs=e,this.marks=r,this.content=n||X.empty}get nodeSize(){return this.isLeaf?1:2+this.content.size}get childCount(){return this.content.childCount}child(A){return this.content.child(A)}maybeChild(A){return this.content.maybeChild(A)}forEach(A){this.content.forEach(A)}nodesBetween(A,e,n,r=0){this.content.nodesBetween(A,e,n,r,this)}descendants(A){this.nodesBetween(0,this.content.size,A)}get textContent(){return this.isLeaf&&this.type.spec.leafText?this.type.spec.leafText(this):this.textBetween(0,this.content.size,"")}textBetween(A,e,n,r){return this.content.textBetween(A,e,n,r)}get firstChild(){return this.content.firstChild}get lastChild(){return this.content.lastChild}eq(A){return this==A||this.sameMarkup(A)&&this.content.eq(A.content)}sameMarkup(A){return this.hasMarkup(A.type,A.attrs,A.marks)}hasMarkup(A,e,n){return this.type==A&&vo(this.attrs,e||A.defaultAttrs||yQ)&&VA.sameSet(this.marks,n||VA.none)}copy(A=null){return A==this.content?this:new Kd(this.type,this.attrs,A,this.marks)}mark(A){return A==this.marks?this:new Kd(this.type,this.attrs,this.content,A)}cut(A,e=this.content.size){return A==0&&e==this.content.size?this:this.copy(this.content.cut(A,e))}slice(A,e=this.content.size,n=!1){if(A==e)return j.empty;let r=this.resolve(A),i=this.resolve(e),s=n?0:r.sharedDepth(e),a=r.start(s),u=r.node(s).content.cut(r.pos-a,i.pos-a);return new j(u,r.depth-s,i.depth-s)}replace(A,e,n){return mQ(this.resolve(A),this.resolve(e),n)}nodeAt(A){for(let e=this;;){let{index:n,offset:r}=e.content.findIndex(A);if(e=e.maybeChild(n),!e)return null;if(r==A||e.isText)return e;A-=r+1}}childAfter(A){let{index:e,offset:n}=this.content.findIndex(A);return{node:this.content.maybeChild(e),index:e,offset:n}}childBefore(A){if(A==0)return{node:null,index:0,offset:0};let{index:e,offset:n}=this.content.findIndex(A);if(n<A)return{node:this.content.child(e),index:e,offset:n};let r=this.content.child(e-1);return{node:r,index:e-1,offset:n-r.nodeSize}}resolve(A){return hs.resolveCached(this,A)}resolveNoCache(A){return hs.resolve(this,A)}rangeHasMark(A,e,n){let r=!1;return e>A&&this.nodesBetween(A,e,i=>(n.isInSet(i.marks)&&(r=!0),!r)),r}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 A=this.type.name;return this.content.size&&(A+="("+this.content.toStringInner()+")"),qd(this.marks,A)}contentMatchAt(A){let e=this.type.contentMatch.matchFragment(this.content,0,A);if(!e)throw new Error("Called contentMatchAt on a node with invalid content");return e}canReplace(A,e,n=X.empty,r=0,i=n.childCount){let s=this.contentMatchAt(A).matchFragment(n,r,i),a=s&&s.matchFragment(this.content,e);if(!a||!a.validEnd)return!1;for(let c=r;c<i;c++)if(!this.type.allowsMarks(n.child(c).marks))return!1;return!0}canReplaceWith(A,e,n,r){if(r&&!this.type.allowsMarks(r))return!1;let i=this.contentMatchAt(A).matchType(n),s=i&&i.matchFragment(this.content,e);return s?s.validEnd:!1}canAppend(A){return A.content.size?this.canReplace(this.childCount,this.childCount,A.content):this.type.compatibleContent(A.type)}check(){this.type.checkContent(this.content);let A=VA.none;for(let e=0;e<this.marks.length;e++)A=this.marks[e].addToSet(A);if(!VA.sameSet(A,this.marks))throw new RangeError(`Invalid collection of marks for node ${this.type.name}: ${this.marks.map(e=>e.type.name)}`);this.content.forEach(e=>e.check())}toJSON(){let A={type:this.type.name};for(let e in this.attrs){A.attrs=this.attrs;break}return this.content.size&&(A.content=this.content.toJSON()),this.marks.length&&(A.marks=this.marks.map(e=>e.toJSON())),A}static fromJSON(A,e){if(!e)throw new RangeError("Invalid input for Node.fromJSON");let n=null;if(e.marks){if(!Array.isArray(e.marks))throw new RangeError("Invalid mark data for Node.fromJSON");n=e.marks.map(A.markFromJSON)}if(e.type=="text"){if(typeof e.text!="string")throw new RangeError("Invalid text node in JSON");return A.text(e.text,n)}let r=X.fromJSON(A,e.content);return A.nodeType(e.type).create(e.attrs,r,n)}};kr.prototype.text=void 0;class To extends kr{constructor(A,e,n,r){if(super(A,e,null,r),!n)throw new RangeError("Empty text nodes are not allowed");this.text=n}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):qd(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(A,e){return this.text.slice(A,e)}get nodeSize(){return this.text.length}mark(A){return A==this.marks?this:new To(this.type,this.attrs,this.text,A)}withText(A){return A==this.text?this:new To(this.type,this.attrs,A,this.marks)}cut(A=0,e=this.text.length){return A==0&&e==this.text.length?this:this.withText(this.text.slice(A,e))}eq(A){return this.sameMarkup(A)&&this.text==A.text}toJSON(){let A=super.toJSON();return A.text=this.text,A}}function qd(t,A){for(let e=t.length-1;e>=0;e--)A=t[e].type.name+"("+A+")";return A}class Nr{constructor(A){this.validEnd=A,this.next=[],this.wrapCache=[]}static parse(A,e){let n=new QQ(A,e);if(n.next==null)return Nr.empty;let r=Zd(n);n.next&&n.err("Unexpected trailing text");let i=SQ(IQ(r));return TQ(i,n),i}matchType(A){for(let e=0;e<this.next.length;e++)if(this.next[e].type==A)return this.next[e].next;return null}matchFragment(A,e=0,n=A.childCount){let r=this;for(let i=e;r&&i<n;i++)r=r.matchType(A.child(i).type);return r}get inlineContent(){return this.next.length!=0&&this.next[0].type.isInline}get defaultType(){for(let A=0;A<this.next.length;A++){let{type:e}=this.next[A];if(!(e.isText||e.hasRequiredAttrs()))return e}return null}compatible(A){for(let e=0;e<this.next.length;e++)for(let n=0;n<A.next.length;n++)if(this.next[e].type==A.next[n].type)return!0;return!1}fillBefore(A,e=!1,n=0){let r=[this];function i(s,a){let c=s.matchFragment(A,n);if(c&&(!e||c.validEnd))return X.from(a.map(u=>u.createAndFill()));for(let u=0;u<s.next.length;u++){let{type:d,next:h}=s.next[u];if(!(d.isText||d.hasRequiredAttrs())&&r.indexOf(h)==-1){r.push(h);let B=i(h,a.concat(d));if(B)return B}}return null}return i(this,[])}findWrapping(A){for(let n=0;n<this.wrapCache.length;n+=2)if(this.wrapCache[n]==A)return this.wrapCache[n+1];let e=this.computeWrapping(A);return this.wrapCache.push(A,e),e}computeWrapping(A){let e=Object.create(null),n=[{match:this,type:null,via:null}];for(;n.length;){let r=n.shift(),i=r.match;if(i.matchType(A)){let s=[];for(let a=r;a.type;a=a.via)s.push(a.type);return s.reverse()}for(let s=0;s<i.next.length;s++){let{type:a,next:c}=i.next[s];!a.isLeaf&&!a.hasRequiredAttrs()&&!(a.name in e)&&(!r.type||c.validEnd)&&(n.push({match:a.contentMatch,type:a,via:r}),e[a.name]=!0)}}return null}get edgeCount(){return this.next.length}edge(A){if(A>=this.next.length)throw new RangeError(`There's no ${A}th edge in this content match`);return this.next[A]}toString(){let A=[];function e(n){A.push(n);for(let r=0;r<n.next.length;r++)A.indexOf(n.next[r].next)==-1&&e(n.next[r].next)}return e(this),A.map((n,r)=>{let i=r+(n.validEnd?"*":" ")+" ";for(let s=0;s<n.next.length;s++)i+=(s?", ":"")+n.next[s].type.name+"->"+A.indexOf(n.next[s].next);return i}).join(`
3
+ `)}}Nr.empty=new Nr(!0);class QQ{constructor(A,e){this.string=A,this.nodeTypes=e,this.inline=null,this.pos=0,this.tokens=A.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(A){return this.next==A&&(this.pos++||!0)}err(A){throw new SyntaxError(A+" (in content expression '"+this.string+"')")}}function Zd(t){let A=[];do A.push(EQ(t));while(t.eat("|"));return A.length==1?A[0]:{type:"choice",exprs:A}}function EQ(t){let A=[];do A.push(FQ(t));while(t.next&&t.next!=")"&&t.next!="|");return A.length==1?A[0]:{type:"seq",exprs:A}}function FQ(t){let A=bQ(t);for(;;)if(t.eat("+"))A={type:"plus",expr:A};else if(t.eat("*"))A={type:"star",expr:A};else if(t.eat("?"))A={type:"opt",expr:A};else if(t.eat("{"))A=UQ(t,A);else break;return A}function jd(t){/\D/.test(t.next)&&t.err("Expected number, got '"+t.next+"'");let A=Number(t.next);return t.pos++,A}function UQ(t,A){let e=jd(t),n=e;return t.eat(",")&&(t.next!="}"?n=jd(t):n=-1),t.eat("}")||t.err("Unclosed braced range"),{type:"range",min:e,max:n,expr:A}}function vQ(t,A){let e=t.nodeTypes,n=e[A];if(n)return[n];let r=[];for(let i in e){let s=e[i];s.groups.indexOf(A)>-1&&r.push(s)}return r.length==0&&t.err("No node type or group '"+A+"' found"),r}function bQ(t){if(t.eat("(")){let A=Zd(t);return t.eat(")")||t.err("Missing closing paren"),A}else if(/\W/.test(t.next))t.err("Unexpected token '"+t.next+"'");else{let A=vQ(t,t.next).map(e=>(t.inline==null?t.inline=e.isInline:t.inline!=e.isInline&&t.err("Mixing inline and block content"),{type:"name",value:e}));return t.pos++,A.length==1?A[0]:{type:"choice",exprs:A}}}function IQ(t){let A=[[]];return r(i(t,0),e()),A;function e(){return A.push([])-1}function n(s,a,c){let u={term:c,to:a};return A[s].push(u),u}function r(s,a){s.forEach(c=>c.to=a)}function i(s,a){if(s.type=="choice")return s.exprs.reduce((c,u)=>c.concat(i(u,a)),[]);if(s.type=="seq")for(let c=0;;c++){let u=i(s.exprs[c],a);if(c==s.exprs.length-1)return u;r(u,a=e())}else if(s.type=="star"){let c=e();return n(a,c),r(i(s.expr,c),c),[n(c)]}else if(s.type=="plus"){let c=e();return r(i(s.expr,a),c),r(i(s.expr,c),c),[n(c)]}else{if(s.type=="opt")return[n(a)].concat(i(s.expr,a));if(s.type=="range"){let c=a;for(let u=0;u<s.min;u++){let d=e();r(i(s.expr,c),d),c=d}if(s.max==-1)r(i(s.expr,c),c);else for(let u=s.min;u<s.max;u++){let d=e();n(c,d),r(i(s.expr,c),d),c=d}return[n(c)]}else{if(s.type=="name")return[n(a,void 0,s.value)];throw new Error("Unknown expr type")}}}}function Ah(t,A){return A-t}function eh(t,A){let e=[];return n(A),e.sort(Ah);function n(r){let i=t[r];if(i.length==1&&!i[0].term)return n(i[0].to);e.push(r);for(let s=0;s<i.length;s++){let{term:a,to:c}=i[s];!a&&e.indexOf(c)==-1&&n(c)}}}function SQ(t){let A=Object.create(null);return e(eh(t,0));function e(n){let r=[];n.forEach(s=>{t[s].forEach(({term:a,to:c})=>{if(!a)return;let u;for(let d=0;d<r.length;d++)r[d][0]==a&&(u=r[d][1]);eh(t,c).forEach(d=>{u||r.push([a,u=[]]),u.indexOf(d)==-1&&u.push(d)})})});let i=A[n.join(",")]=new Nr(n.indexOf(t.length-1)>-1);for(let s=0;s<r.length;s++){let a=r[s][1].sort(Ah);i.next.push({type:r[s][0],next:A[a.join(",")]||e(a)})}return i}}function TQ(t,A){for(let e=0,n=[t];e<n.length;e++){let r=n[e],i=!r.validEnd,s=[];for(let a=0;a<r.next.length;a++){let{type:c,next:u}=r.next[a];s.push(c.name),i&&!(c.isText||c.hasRequiredAttrs())&&(i=!1),n.indexOf(u)==-1&&n.push(u)}i&&A.err("Only non-generatable nodes ("+s.join(", ")+") in a required position (see https://prosemirror.net/docs/guide/#generatable)")}}function th(t){let A=Object.create(null);for(let e in t){let n=t[e];if(!n.hasDefault)return null;A[e]=n.default}return A}function nh(t,A){let e=Object.create(null);for(let n in t){let r=A&&A[n];if(r===void 0){let i=t[n];if(i.hasDefault)r=i.default;else throw new RangeError("No value supplied for attribute "+n)}e[n]=r}return e}function rh(t){let A=Object.create(null);if(t)for(let e in t)A[e]=new xQ(t[e]);return A}let ih=class gy{constructor(A,e,n){this.name=A,this.schema=e,this.spec=n,this.markSet=null,this.groups=n.group?n.group.split(" "):[],this.attrs=rh(n.attrs),this.defaultAttrs=th(this.attrs),this.contentMatch=null,this.inlineContent=null,this.isBlock=!(n.inline||A=="text"),this.isText=A=="text"}get isInline(){return!this.isBlock}get isTextblock(){return this.isBlock&&this.inlineContent}get isLeaf(){return this.contentMatch==Nr.empty}get isAtom(){return this.isLeaf||!!this.spec.atom}get whitespace(){return this.spec.whitespace||(this.spec.code?"pre":"normal")}hasRequiredAttrs(){for(let A in this.attrs)if(this.attrs[A].isRequired)return!0;return!1}compatibleContent(A){return this==A||this.contentMatch.compatible(A.contentMatch)}computeAttrs(A){return!A&&this.defaultAttrs?this.defaultAttrs:nh(this.attrs,A)}create(A=null,e,n){if(this.isText)throw new Error("NodeType.create can't construct text nodes");return new kr(this,this.computeAttrs(A),X.from(e),VA.setFrom(n))}createChecked(A=null,e,n){return e=X.from(e),this.checkContent(e),new kr(this,this.computeAttrs(A),e,VA.setFrom(n))}createAndFill(A=null,e,n){if(A=this.computeAttrs(A),e=X.from(e),e.size){let s=this.contentMatch.fillBefore(e);if(!s)return null;e=s.append(e)}let r=this.contentMatch.matchFragment(e),i=r&&r.fillBefore(X.empty,!0);return i?new kr(this,A,e.append(i),VA.setFrom(n)):null}validContent(A){let e=this.contentMatch.matchFragment(A);if(!e||!e.validEnd)return!1;for(let n=0;n<A.childCount;n++)if(!this.allowsMarks(A.child(n).marks))return!1;return!0}checkContent(A){if(!this.validContent(A))throw new RangeError(`Invalid content for node ${this.name}: ${A.toString().slice(0,50)}`)}allowsMarkType(A){return this.markSet==null||this.markSet.indexOf(A)>-1}allowsMarks(A){if(this.markSet==null)return!0;for(let e=0;e<A.length;e++)if(!this.allowsMarkType(A[e].type))return!1;return!0}allowedMarks(A){if(this.markSet==null)return A;let e;for(let n=0;n<A.length;n++)this.allowsMarkType(A[n].type)?e&&e.push(A[n]):e||(e=A.slice(0,n));return e?e.length?e:VA.none:A}static compile(A,e){let n=Object.create(null);A.forEach((i,s)=>n[i]=new gy(i,e,s));let r=e.spec.topNode||"doc";if(!n[r])throw new RangeError("Schema is missing its top node type ('"+r+"')");if(!n.text)throw new RangeError("Every schema needs a 'text' type");for(let i in n.text.attrs)throw new RangeError("The text node type should not have attributes");return n}};class xQ{constructor(A){this.hasDefault=Object.prototype.hasOwnProperty.call(A,"default"),this.default=A.default}get isRequired(){return!this.hasDefault}}class xo{constructor(A,e,n,r){this.name=A,this.rank=e,this.schema=n,this.spec=r,this.attrs=rh(r.attrs),this.excluded=null;let i=th(this.attrs);this.instance=i?new VA(this,i):null}create(A=null){return!A&&this.instance?this.instance:new VA(this,nh(this.attrs,A))}static compile(A,e){let n=Object.create(null),r=0;return A.forEach((i,s)=>n[i]=new xo(i,r++,e,s)),n}removeFromSet(A){for(var e=0;e<A.length;e++)A[e].type==this&&(A=A.slice(0,e).concat(A.slice(e+1)),e--);return A}isInSet(A){for(let e=0;e<A.length;e++)if(A[e].type==this)return A[e]}excludes(A){return this.excluded.indexOf(A)>-1}}class HQ{constructor(A){this.cached=Object.create(null);let e=this.spec={};for(let r in A)e[r]=A[r];e.nodes=He.from(A.nodes),e.marks=He.from(A.marks||{}),this.nodes=ih.compile(this.spec.nodes,this),this.marks=xo.compile(this.spec.marks,this);let n=Object.create(null);for(let r in this.nodes){if(r in this.marks)throw new RangeError(r+" can not be both a node and a mark");let i=this.nodes[r],s=i.spec.content||"",a=i.spec.marks;i.contentMatch=n[s]||(n[s]=Nr.parse(s,this.nodes)),i.inlineContent=i.contentMatch.inlineContent,i.markSet=a=="_"?null:a?sh(this,a.split(" ")):a==""||!i.inlineContent?[]:null}for(let r in this.marks){let i=this.marks[r],s=i.spec.excludes;i.excluded=s==null?[i]:s==""?[]:sh(this,s.split(" "))}this.nodeFromJSON=this.nodeFromJSON.bind(this),this.markFromJSON=this.markFromJSON.bind(this),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached.wrappings=Object.create(null)}node(A,e=null,n,r){if(typeof A=="string")A=this.nodeType(A);else if(A instanceof ih){if(A.schema!=this)throw new RangeError("Node type from different schema used ("+A.name+")")}else throw new RangeError("Invalid node type: "+A);return A.createChecked(e,n,r)}text(A,e){let n=this.nodes.text;return new To(n,n.defaultAttrs,A,VA.setFrom(e))}mark(A,e){return typeof A=="string"&&(A=this.marks[A]),A.create(e)}nodeFromJSON(A){return kr.fromJSON(this,A)}markFromJSON(A){return VA.fromJSON(this,A)}nodeType(A){let e=this.nodes[A];if(!e)throw new RangeError("Unknown node type: "+A);return e}}function sh(t,A){let e=[];for(let n=0;n<A.length;n++){let r=A[n],i=t.marks[r],s=i;if(i)e.push(i);else for(let a in t.marks){let c=t.marks[a];(r=="_"||c.spec.group&&c.spec.group.split(" ").indexOf(r)>-1)&&e.push(s=c)}if(!s)throw new SyntaxError("Unknown mark type: '"+A[n]+"'")}return e}class di{constructor(A,e){this.schema=A,this.rules=e,this.tags=[],this.styles=[],e.forEach(n=>{n.tag?this.tags.push(n):n.style&&this.styles.push(n)}),this.normalizeLists=!this.tags.some(n=>{if(!/^(ul|ol)\b/.test(n.tag)||!n.node)return!1;let r=A.nodes[n.node];return r.contentMatch.matchType(r)})}parse(A,e={}){let n=new ch(this,e,!1);return n.addAll(A,e.from,e.to),n.finish()}parseSlice(A,e={}){let n=new ch(this,e,!0);return n.addAll(A,e.from,e.to),j.maxOpen(n.finish())}matchTag(A,e,n){for(let r=n?this.tags.indexOf(n)+1:0;r<this.tags.length;r++){let i=this.tags[r];if(_Q(A,i.tag)&&(i.namespace===void 0||A.namespaceURI==i.namespace)&&(!i.context||e.matchesContext(i.context))){if(i.getAttrs){let s=i.getAttrs(A);if(s===!1)continue;i.attrs=s||void 0}return i}}}matchStyle(A,e,n,r){for(let i=r?this.styles.indexOf(r)+1:0;i<this.styles.length;i++){let s=this.styles[i],a=s.style;if(!(a.indexOf(A)!=0||s.context&&!n.matchesContext(s.context)||a.length>A.length&&(a.charCodeAt(A.length)!=61||a.slice(A.length+1)!=e))){if(s.getAttrs){let c=s.getAttrs(e);if(c===!1)continue;s.attrs=c||void 0}return s}}}static schemaRules(A){let e=[];function n(r){let i=r.priority==null?50:r.priority,s=0;for(;s<e.length;s++){let a=e[s];if((a.priority==null?50:a.priority)<i)break}e.splice(s,0,r)}for(let r in A.marks){let i=A.marks[r].spec.parseDOM;i&&i.forEach(s=>{n(s=uh(s)),s.mark||s.ignore||s.clearMark||(s.mark=r)})}for(let r in A.nodes){let i=A.nodes[r].spec.parseDOM;i&&i.forEach(s=>{n(s=uh(s)),s.node||s.ignore||s.mark||(s.node=r)})}return e}static fromSchema(A){return A.cached.domParser||(A.cached.domParser=new di(A,di.schemaRules(A)))}}const oh={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},LQ={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},ah={ol:!0,ul:!0},Ho=1,Lo=2,ps=4;function lh(t,A,e){return A!=null?(A?Ho:0)|(A==="full"?Lo:0):t&&t.whitespace=="pre"?Ho|Lo:e&~ps}class Oo{constructor(A,e,n,r,i,s,a){this.type=A,this.attrs=e,this.marks=n,this.pendingMarks=r,this.solid=i,this.options=a,this.content=[],this.activeMarks=VA.none,this.stashMarks=[],this.match=s||(a&ps?null:A.contentMatch)}findWrapping(A){if(!this.match){if(!this.type)return[];let e=this.type.contentMatch.fillBefore(X.from(A));if(e)this.match=this.type.contentMatch.matchFragment(e);else{let n=this.type.contentMatch,r;return(r=n.findWrapping(A.type))?(this.match=n,r):null}}return this.match.findWrapping(A.type)}finish(A){if(!(this.options&Ho)){let n=this.content[this.content.length-1],r;if(n&&n.isText&&(r=/[ \t\r\n\u000c]+$/.exec(n.text))){let i=n;n.text.length==r[0].length?this.content.pop():this.content[this.content.length-1]=i.withText(i.text.slice(0,i.text.length-r[0].length))}}let e=X.from(this.content);return!A&&this.match&&(e=e.append(this.match.fillBefore(X.empty,!0))),this.type?this.type.create(this.attrs,e,this.marks):e}popFromStashMark(A){for(let e=this.stashMarks.length-1;e>=0;e--)if(A.eq(this.stashMarks[e]))return this.stashMarks.splice(e,1)[0]}applyPending(A){for(let e=0,n=this.pendingMarks;e<n.length;e++){let r=n[e];(this.type?this.type.allowsMarkType(r.type):DQ(r.type,A))&&!r.isInSet(this.activeMarks)&&(this.activeMarks=r.addToSet(this.activeMarks),this.pendingMarks=r.removeFromSet(this.pendingMarks))}}inlineContext(A){return this.type?this.type.inlineContent:this.content.length?this.content[0].isInline:A.parentNode&&!oh.hasOwnProperty(A.parentNode.nodeName.toLowerCase())}}class ch{constructor(A,e,n){this.parser=A,this.options=e,this.isOpen=n,this.open=0;let r=e.topNode,i,s=lh(null,e.preserveWhitespace,0)|(n?ps:0);r?i=new Oo(r.type,r.attrs,VA.none,VA.none,!0,e.topMatch||r.type.contentMatch,s):n?i=new Oo(null,null,VA.none,VA.none,!0,null,s):i=new Oo(A.schema.topNodeType,null,VA.none,VA.none,!0,null,s),this.nodes=[i],this.find=e.findPositions,this.needsBlock=!1}get top(){return this.nodes[this.open]}addDOM(A){if(A.nodeType==3)this.addTextNode(A);else if(A.nodeType==1){let e=A.getAttribute("style");if(!e)this.addElement(A);else{let n=this.readStyles(MQ(e));if(!n)return;let[r,i]=n,s=this.top;for(let a=0;a<i.length;a++)this.removePendingMark(i[a],s);for(let a=0;a<r.length;a++)this.addPendingMark(r[a]);this.addElement(A);for(let a=0;a<r.length;a++)this.removePendingMark(r[a],s);for(let a=0;a<i.length;a++)this.addPendingMark(i[a])}}}addTextNode(A){let e=A.nodeValue,n=this.top;if(n.options&Lo||n.inlineContext(A)||/[^ \t\r\n\u000c]/.test(e)){if(n.options&Ho)n.options&Lo?e=e.replace(/\r\n?/g,`
4
+ `):e=e.replace(/\r?\n|\r/g," ");else if(e=e.replace(/[ \t\r\n\u000c]+/g," "),/^[ \t\r\n\u000c]/.test(e)&&this.open==this.nodes.length-1){let r=n.content[n.content.length-1],i=A.previousSibling;(!r||i&&i.nodeName=="BR"||r.isText&&/[ \t\r\n\u000c]$/.test(r.text))&&(e=e.slice(1))}e&&this.insertNode(this.parser.schema.text(e)),this.findInText(A)}else this.findInside(A)}addElement(A,e){let n=A.nodeName.toLowerCase(),r;ah.hasOwnProperty(n)&&this.parser.normalizeLists&&OQ(A);let i=this.options.ruleFromNode&&this.options.ruleFromNode(A)||(r=this.parser.matchTag(A,this,e));if(i?i.ignore:LQ.hasOwnProperty(n))this.findInside(A),this.ignoreFallback(A);else if(!i||i.skip||i.closeParent){i&&i.closeParent?this.open=Math.max(0,this.open-1):i&&i.skip.nodeType&&(A=i.skip);let s,a=this.top,c=this.needsBlock;if(oh.hasOwnProperty(n))a.content.length&&a.content[0].isInline&&this.open&&(this.open--,a=this.top),s=!0,a.type||(this.needsBlock=!0);else if(!A.firstChild){this.leafFallback(A);return}this.addAll(A),s&&this.sync(a),this.needsBlock=c}else this.addElementByRule(A,i,i.consuming===!1?r:void 0)}leafFallback(A){A.nodeName=="BR"&&this.top.type&&this.top.type.inlineContent&&this.addTextNode(A.ownerDocument.createTextNode(`
5
+ `))}ignoreFallback(A){A.nodeName=="BR"&&(!this.top.type||!this.top.type.inlineContent)&&this.findPlace(this.parser.schema.text("-"))}readStyles(A){let e=VA.none,n=VA.none;A:for(let r=0;r<A.length;r+=2)for(let i=void 0;;){let s=this.parser.matchStyle(A[r],A[r+1],this,i);if(!s)continue A;if(s.ignore)return null;if(s.clearMark?this.top.pendingMarks.forEach(a=>{s.clearMark(a)&&(n=a.addToSet(n))}):e=this.parser.schema.marks[s.mark].create(s.attrs).addToSet(e),s.consuming===!1)i=s;else break}return[e,n]}addElementByRule(A,e,n){let r,i,s;e.node?(i=this.parser.schema.nodes[e.node],i.isLeaf?this.insertNode(i.create(e.attrs))||this.leafFallback(A):r=this.enter(i,e.attrs||null,e.preserveWhitespace)):(s=this.parser.schema.marks[e.mark].create(e.attrs),this.addPendingMark(s));let a=this.top;if(i&&i.isLeaf)this.findInside(A);else if(n)this.addElement(A,n);else if(e.getContent)this.findInside(A),e.getContent(A,this.parser.schema).forEach(c=>this.insertNode(c));else{let c=A;typeof e.contentElement=="string"?c=A.querySelector(e.contentElement):typeof e.contentElement=="function"?c=e.contentElement(A):e.contentElement&&(c=e.contentElement),this.findAround(A,c,!0),this.addAll(c)}r&&this.sync(a)&&this.open--,s&&this.removePendingMark(s,a)}addAll(A,e,n){let r=e||0;for(let i=e?A.childNodes[e]:A.firstChild,s=n==null?null:A.childNodes[n];i!=s;i=i.nextSibling,++r)this.findAtPoint(A,r),this.addDOM(i);this.findAtPoint(A,r)}findPlace(A){let e,n;for(let r=this.open;r>=0;r--){let i=this.nodes[r],s=i.findWrapping(A);if(s&&(!e||e.length>s.length)&&(e=s,n=i,!s.length)||i.solid)break}if(!e)return!1;this.sync(n);for(let r=0;r<e.length;r++)this.enterInner(e[r],null,!1);return!0}insertNode(A){if(A.isInline&&this.needsBlock&&!this.top.type){let e=this.textblockFromContext();e&&this.enterInner(e)}if(this.findPlace(A)){this.closeExtra();let e=this.top;e.applyPending(A.type),e.match&&(e.match=e.match.matchType(A.type));let n=e.activeMarks;for(let r=0;r<A.marks.length;r++)(!e.type||e.type.allowsMarkType(A.marks[r].type))&&(n=A.marks[r].addToSet(n));return e.content.push(A.mark(n)),!0}return!1}enter(A,e,n){let r=this.findPlace(A.create(e));return r&&this.enterInner(A,e,!0,n),r}enterInner(A,e=null,n=!1,r){this.closeExtra();let i=this.top;i.applyPending(A),i.match=i.match&&i.match.matchType(A);let s=lh(A,r,i.options);i.options&ps&&i.content.length==0&&(s|=ps),this.nodes.push(new Oo(A,e,i.activeMarks,i.pendingMarks,n,null,s)),this.open++}closeExtra(A=!1){let e=this.nodes.length-1;if(e>this.open){for(;e>this.open;e--)this.nodes[e-1].content.push(this.nodes[e].finish(A));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(A){for(let e=this.open;e>=0;e--)if(this.nodes[e]==A)return this.open=e,!0;return!1}get currentPos(){this.closeExtra();let A=0;for(let e=this.open;e>=0;e--){let n=this.nodes[e].content;for(let r=n.length-1;r>=0;r--)A+=n[r].nodeSize;e&&A++}return A}findAtPoint(A,e){if(this.find)for(let n=0;n<this.find.length;n++)this.find[n].node==A&&this.find[n].offset==e&&(this.find[n].pos=this.currentPos)}findInside(A){if(this.find)for(let e=0;e<this.find.length;e++)this.find[e].pos==null&&A.nodeType==1&&A.contains(this.find[e].node)&&(this.find[e].pos=this.currentPos)}findAround(A,e,n){if(A!=e&&this.find)for(let r=0;r<this.find.length;r++)this.find[r].pos==null&&A.nodeType==1&&A.contains(this.find[r].node)&&e.compareDocumentPosition(this.find[r].node)&(n?2:4)&&(this.find[r].pos=this.currentPos)}findInText(A){if(this.find)for(let e=0;e<this.find.length;e++)this.find[e].node==A&&(this.find[e].pos=this.currentPos-(A.nodeValue.length-this.find[e].offset))}matchesContext(A){if(A.indexOf("|")>-1)return A.split(/\s*\|\s*/).some(this.matchesContext,this);let e=A.split("/"),n=this.options.context,r=!this.isOpen&&(!n||n.parent.type==this.nodes[0].type),i=-(n?n.depth+1:0)+(r?0:1),s=(a,c)=>{for(;a>=0;a--){let u=e[a];if(u==""){if(a==e.length-1||a==0)continue;for(;c>=i;c--)if(s(a-1,c))return!0;return!1}else{let d=c>0||c==0&&r?this.nodes[c].type:n&&c>=i?n.node(c-i).type:null;if(!d||d.name!=u&&d.groups.indexOf(u)==-1)return!1;c--}}return!0};return s(e.length-1,this.open)}textblockFromContext(){let A=this.options.context;if(A)for(let e=A.depth;e>=0;e--){let n=A.node(e).contentMatchAt(A.indexAfter(e)).defaultType;if(n&&n.isTextblock&&n.defaultAttrs)return n}for(let e in this.parser.schema.nodes){let n=this.parser.schema.nodes[e];if(n.isTextblock&&n.defaultAttrs)return n}}addPendingMark(A){let e=kQ(A,this.top.pendingMarks);e&&this.top.stashMarks.push(e),this.top.pendingMarks=A.addToSet(this.top.pendingMarks)}removePendingMark(A,e){for(let n=this.open;n>=0;n--){let r=this.nodes[n];if(r.pendingMarks.lastIndexOf(A)>-1)r.pendingMarks=A.removeFromSet(r.pendingMarks);else{r.activeMarks=A.removeFromSet(r.activeMarks);let s=r.popFromStashMark(A);s&&r.type&&r.type.allowsMarkType(s.type)&&(r.activeMarks=s.addToSet(r.activeMarks))}if(r==e)break}}}function OQ(t){for(let A=t.firstChild,e=null;A;A=A.nextSibling){let n=A.nodeType==1?A.nodeName.toLowerCase():null;n&&ah.hasOwnProperty(n)&&e?(e.appendChild(A),A=e):n=="li"?e=A:n&&(e=null)}}function _Q(t,A){return(t.matches||t.msMatchesSelector||t.webkitMatchesSelector||t.mozMatchesSelector).call(t,A)}function MQ(t){let A=/\s*([\w-]+)\s*:\s*([^;]+)/g,e,n=[];for(;e=A.exec(t);)n.push(e[1],e[2].trim());return n}function uh(t){let A={};for(let e in t)A[e]=t[e];return A}function DQ(t,A){let e=A.schema.nodes;for(let n in e){let r=e[n];if(!r.allowsMarkType(t))continue;let i=[],s=a=>{i.push(a);for(let c=0;c<a.edgeCount;c++){let{type:u,next:d}=a.edge(c);if(u==A||i.indexOf(d)<0&&s(d))return!0}};if(s(r.contentMatch))return!0}}function kQ(t,A){for(let e=0;e<A.length;e++)if(t.eq(A[e]))return A[e]}class dn{constructor(A,e){this.nodes=A,this.marks=e}serializeFragment(A,e={},n){n||(n=tc(e).createDocumentFragment());let r=n,i=[];return A.forEach(s=>{if(i.length||s.marks.length){let a=0,c=0;for(;a<i.length&&c<s.marks.length;){let u=s.marks[c];if(!this.marks[u.type.name]){c++;continue}if(!u.eq(i[a][0])||u.type.spec.spanning===!1)break;a++,c++}for(;a<i.length;)r=i.pop()[1];for(;c<s.marks.length;){let u=s.marks[c++],d=this.serializeMark(u,s.isInline,e);d&&(i.push([u,r]),r.appendChild(d.dom),r=d.contentDOM||d.dom)}}r.appendChild(this.serializeNodeInner(s,e))}),n}serializeNodeInner(A,e){let{dom:n,contentDOM:r}=dn.renderSpec(tc(e),this.nodes[A.type.name](A));if(r){if(A.isLeaf)throw new RangeError("Content hole not allowed in a leaf node spec");this.serializeFragment(A.content,e,r)}return n}serializeNode(A,e={}){let n=this.serializeNodeInner(A,e);for(let r=A.marks.length-1;r>=0;r--){let i=this.serializeMark(A.marks[r],A.isInline,e);i&&((i.contentDOM||i.dom).appendChild(n),n=i.dom)}return n}serializeMark(A,e,n={}){let r=this.marks[A.type.name];return r&&dn.renderSpec(tc(n),r(A,e))}static renderSpec(A,e,n=null){if(typeof e=="string")return{dom:A.createTextNode(e)};if(e.nodeType!=null)return{dom:e};if(e.dom&&e.dom.nodeType!=null)return e;let r=e[0],i=r.indexOf(" ");i>0&&(n=r.slice(0,i),r=r.slice(i+1));let s,a=n?A.createElementNS(n,r):A.createElement(r),c=e[1],u=1;if(c&&typeof c=="object"&&c.nodeType==null&&!Array.isArray(c)){u=2;for(let d in c)if(c[d]!=null){let h=d.indexOf(" ");h>0?a.setAttributeNS(d.slice(0,h),d.slice(h+1),c[d]):a.setAttribute(d,c[d])}}for(let d=u;d<e.length;d++){let h=e[d];if(h===0){if(d<e.length-1||d>u)throw new RangeError("Content hole must be the only child of its parent node");return{dom:a,contentDOM:a}}else{let{dom:B,contentDOM:m}=dn.renderSpec(A,h,n);if(a.appendChild(B),m){if(s)throw new RangeError("Multiple content holes");s=m}}}return{dom:a,contentDOM:s}}static fromSchema(A){return A.cached.domSerializer||(A.cached.domSerializer=new dn(this.nodesFromSchema(A),this.marksFromSchema(A)))}static nodesFromSchema(A){let e=fh(A.nodes);return e.text||(e.text=n=>n.text),e}static marksFromSchema(A){return fh(A.marks)}}function fh(t){let A={};for(let e in t){let n=t[e].spec.toDOM;n&&(A[e]=n)}return A}function tc(t){return t.document||window.document}const dh=65535,hh=Math.pow(2,16);function NQ(t,A){return t+A*hh}function ph(t){return t&dh}function RQ(t){return(t-(t&dh))/hh}const gh=1,Bh=2,_o=4,mh=8;class nc{constructor(A,e,n){this.pos=A,this.delInfo=e,this.recover=n}get deleted(){return(this.delInfo&mh)>0}get deletedBefore(){return(this.delInfo&(gh|_o))>0}get deletedAfter(){return(this.delInfo&(Bh|_o))>0}get deletedAcross(){return(this.delInfo&_o)>0}}class Dt{constructor(A,e=!1){if(this.ranges=A,this.inverted=e,!A.length&&Dt.empty)return Dt.empty}recover(A){let e=0,n=ph(A);if(!this.inverted)for(let r=0;r<n;r++)e+=this.ranges[r*3+2]-this.ranges[r*3+1];return this.ranges[n*3]+e+RQ(A)}mapResult(A,e=1){return this._map(A,e,!1)}map(A,e=1){return this._map(A,e,!0)}_map(A,e,n){let r=0,i=this.inverted?2:1,s=this.inverted?1:2;for(let a=0;a<this.ranges.length;a+=3){let c=this.ranges[a]-(this.inverted?r:0);if(c>A)break;let u=this.ranges[a+i],d=this.ranges[a+s],h=c+u;if(A<=h){let B=u?A==c?-1:A==h?1:e:e,m=c+r+(B<0?0:d);if(n)return m;let C=A==(e<0?c:h)?null:NQ(a/3,A-c),E=A==c?Bh:A==h?gh:_o;return(e<0?A!=c:A!=h)&&(E|=mh),new nc(m,E,C)}r+=d-u}return n?A+r:new nc(A+r,0,null)}touches(A,e){let n=0,r=ph(e),i=this.inverted?2:1,s=this.inverted?1:2;for(let a=0;a<this.ranges.length;a+=3){let c=this.ranges[a]-(this.inverted?n:0);if(c>A)break;let u=this.ranges[a+i],d=c+u;if(A<=d&&a==r*3)return!0;n+=this.ranges[a+s]-u}return!1}forEach(A){let e=this.inverted?2:1,n=this.inverted?1:2;for(let r=0,i=0;r<this.ranges.length;r+=3){let s=this.ranges[r],a=s-(this.inverted?i:0),c=s+(this.inverted?0:i),u=this.ranges[r+e],d=this.ranges[r+n];A(a,a+u,c,c+d),i+=d-u}}invert(){return new Dt(this.ranges,!this.inverted)}toString(){return(this.inverted?"-":"")+JSON.stringify(this.ranges)}static offset(A){return A==0?Dt.empty:new Dt(A<0?[0,-A,0]:[0,0,A])}}Dt.empty=new Dt([]);class hi{constructor(A=[],e,n=0,r=A.length){this.maps=A,this.mirror=e,this.from=n,this.to=r}slice(A=0,e=this.maps.length){return new hi(this.maps,this.mirror,A,e)}copy(){return new hi(this.maps.slice(),this.mirror&&this.mirror.slice(),this.from,this.to)}appendMap(A,e){this.to=this.maps.push(A),e!=null&&this.setMirror(this.maps.length-1,e)}appendMapping(A){for(let e=0,n=this.maps.length;e<A.maps.length;e++){let r=A.getMirror(e);this.appendMap(A.maps[e],r!=null&&r<e?n+r:void 0)}}getMirror(A){if(this.mirror){for(let e=0;e<this.mirror.length;e++)if(this.mirror[e]==A)return this.mirror[e+(e%2?-1:1)]}}setMirror(A,e){this.mirror||(this.mirror=[]),this.mirror.push(A,e)}appendMappingInverted(A){for(let e=A.maps.length-1,n=this.maps.length+A.maps.length;e>=0;e--){let r=A.getMirror(e);this.appendMap(A.maps[e].invert(),r!=null&&r>e?n-r-1:void 0)}}invert(){let A=new hi;return A.appendMappingInverted(this),A}map(A,e=1){if(this.mirror)return this._map(A,e,!0);for(let n=this.from;n<this.to;n++)A=this.maps[n].map(A,e);return A}mapResult(A,e=1){return this._map(A,e,!1)}_map(A,e,n){let r=0;for(let i=this.from;i<this.to;i++){let s=this.maps[i],a=s.mapResult(A,e);if(a.recover!=null){let c=this.getMirror(i);if(c!=null&&c>i&&c<this.to){i=c,A=this.maps[c].recover(a.recover);continue}}r|=a.delInfo,A=a.pos}return n?A:new nc(A,r,null)}}const rc=Object.create(null);class ft{getMap(){return Dt.empty}merge(A){return null}static fromJSON(A,e){if(!e||!e.stepType)throw new RangeError("Invalid input for Step.fromJSON");let n=rc[e.stepType];if(!n)throw new RangeError(`No step type ${e.stepType} defined`);return n.fromJSON(A,e)}static jsonID(A,e){if(A in rc)throw new RangeError("Duplicate use of step JSON ID "+A);return rc[A]=e,e.prototype.jsonID=A,e}}class Ce{constructor(A,e){this.doc=A,this.failed=e}static ok(A){return new Ce(A,null)}static fail(A){return new Ce(null,A)}static fromReplace(A,e,n,r){try{return Ce.ok(A.replace(e,n,r))}catch(i){if(i instanceof bo)return Ce.fail(i.message);throw i}}}function ic(t,A,e){let n=[];for(let r=0;r<t.childCount;r++){let i=t.child(r);i.content.size&&(i=i.copy(ic(i.content,A,i))),i.isInline&&(i=A(i,e,r)),n.push(i)}return X.fromArray(n)}class Zn extends ft{constructor(A,e,n){super(),this.from=A,this.to=e,this.mark=n}apply(A){let e=A.slice(this.from,this.to),n=A.resolve(this.from),r=n.node(n.sharedDepth(this.to)),i=new j(ic(e.content,(s,a)=>!s.isAtom||!a.type.allowsMarkType(this.mark.type)?s:s.mark(this.mark.addToSet(s.marks)),r),e.openStart,e.openEnd);return Ce.fromReplace(A,this.from,this.to,i)}invert(){return new hn(this.from,this.to,this.mark)}map(A){let e=A.mapResult(this.from,1),n=A.mapResult(this.to,-1);return e.deleted&&n.deleted||e.pos>=n.pos?null:new Zn(e.pos,n.pos,this.mark)}merge(A){return A instanceof Zn&&A.mark.eq(this.mark)&&this.from<=A.to&&this.to>=A.from?new Zn(Math.min(this.from,A.from),Math.max(this.to,A.to),this.mark):null}toJSON(){return{stepType:"addMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(A,e){if(typeof e.from!="number"||typeof e.to!="number")throw new RangeError("Invalid input for AddMarkStep.fromJSON");return new Zn(e.from,e.to,A.markFromJSON(e.mark))}}ft.jsonID("addMark",Zn);class hn extends ft{constructor(A,e,n){super(),this.from=A,this.to=e,this.mark=n}apply(A){let e=A.slice(this.from,this.to),n=new j(ic(e.content,r=>r.mark(this.mark.removeFromSet(r.marks)),A),e.openStart,e.openEnd);return Ce.fromReplace(A,this.from,this.to,n)}invert(){return new Zn(this.from,this.to,this.mark)}map(A){let e=A.mapResult(this.from,1),n=A.mapResult(this.to,-1);return e.deleted&&n.deleted||e.pos>=n.pos?null:new hn(e.pos,n.pos,this.mark)}merge(A){return A instanceof hn&&A.mark.eq(this.mark)&&this.from<=A.to&&this.to>=A.from?new hn(Math.min(this.from,A.from),Math.max(this.to,A.to),this.mark):null}toJSON(){return{stepType:"removeMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(A,e){if(typeof e.from!="number"||typeof e.to!="number")throw new RangeError("Invalid input for RemoveMarkStep.fromJSON");return new hn(e.from,e.to,A.markFromJSON(e.mark))}}ft.jsonID("removeMark",hn);class jn extends ft{constructor(A,e){super(),this.pos=A,this.mark=e}apply(A){let e=A.nodeAt(this.pos);if(!e)return Ce.fail("No node at mark step's position");let n=e.type.create(e.attrs,null,this.mark.addToSet(e.marks));return Ce.fromReplace(A,this.pos,this.pos+1,new j(X.from(n),0,e.isLeaf?0:1))}invert(A){let e=A.nodeAt(this.pos);if(e){let n=this.mark.addToSet(e.marks);if(n.length==e.marks.length){for(let r=0;r<e.marks.length;r++)if(!e.marks[r].isInSet(n))return new jn(this.pos,e.marks[r]);return new jn(this.pos,this.mark)}}return new pi(this.pos,this.mark)}map(A){let e=A.mapResult(this.pos,1);return e.deletedAfter?null:new jn(e.pos,this.mark)}toJSON(){return{stepType:"addNodeMark",pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(A,e){if(typeof e.pos!="number")throw new RangeError("Invalid input for AddNodeMarkStep.fromJSON");return new jn(e.pos,A.markFromJSON(e.mark))}}ft.jsonID("addNodeMark",jn);class pi extends ft{constructor(A,e){super(),this.pos=A,this.mark=e}apply(A){let e=A.nodeAt(this.pos);if(!e)return Ce.fail("No node at mark step's position");let n=e.type.create(e.attrs,null,this.mark.removeFromSet(e.marks));return Ce.fromReplace(A,this.pos,this.pos+1,new j(X.from(n),0,e.isLeaf?0:1))}invert(A){let e=A.nodeAt(this.pos);return!e||!this.mark.isInSet(e.marks)?this:new jn(this.pos,this.mark)}map(A){let e=A.mapResult(this.pos,1);return e.deletedAfter?null:new pi(e.pos,this.mark)}toJSON(){return{stepType:"removeNodeMark",pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(A,e){if(typeof e.pos!="number")throw new RangeError("Invalid input for RemoveNodeMarkStep.fromJSON");return new pi(e.pos,A.markFromJSON(e.mark))}}ft.jsonID("removeNodeMark",pi);class Ge extends ft{constructor(A,e,n,r=!1){super(),this.from=A,this.to=e,this.slice=n,this.structure=r}apply(A){return this.structure&&sc(A,this.from,this.to)?Ce.fail("Structure replace would overwrite content"):Ce.fromReplace(A,this.from,this.to,this.slice)}getMap(){return new Dt([this.from,this.to-this.from,this.slice.size])}invert(A){return new Ge(this.from,this.from+this.slice.size,A.slice(this.from,this.to))}map(A){let e=A.mapResult(this.from,1),n=A.mapResult(this.to,-1);return e.deletedAcross&&n.deletedAcross?null:new Ge(e.pos,Math.max(e.pos,n.pos),this.slice)}merge(A){if(!(A instanceof Ge)||A.structure||this.structure)return null;if(this.from+this.slice.size==A.from&&!this.slice.openEnd&&!A.slice.openStart){let e=this.slice.size+A.slice.size==0?j.empty:new j(this.slice.content.append(A.slice.content),this.slice.openStart,A.slice.openEnd);return new Ge(this.from,this.to+(A.to-A.from),e,this.structure)}else if(A.to==this.from&&!this.slice.openStart&&!A.slice.openEnd){let e=this.slice.size+A.slice.size==0?j.empty:new j(A.slice.content.append(this.slice.content),A.slice.openStart,this.slice.openEnd);return new Ge(A.from,this.to,e,this.structure)}else return null}toJSON(){let A={stepType:"replace",from:this.from,to:this.to};return this.slice.size&&(A.slice=this.slice.toJSON()),this.structure&&(A.structure=!0),A}static fromJSON(A,e){if(typeof e.from!="number"||typeof e.to!="number")throw new RangeError("Invalid input for ReplaceStep.fromJSON");return new Ge(e.from,e.to,j.fromJSON(A,e.slice),!!e.structure)}}ft.jsonID("replace",Ge);class be extends ft{constructor(A,e,n,r,i,s,a=!1){super(),this.from=A,this.to=e,this.gapFrom=n,this.gapTo=r,this.slice=i,this.insert=s,this.structure=a}apply(A){if(this.structure&&(sc(A,this.from,this.gapFrom)||sc(A,this.gapTo,this.to)))return Ce.fail("Structure gap-replace would overwrite content");let e=A.slice(this.gapFrom,this.gapTo);if(e.openStart||e.openEnd)return Ce.fail("Gap is not a flat range");let n=this.slice.insertAt(this.insert,e.content);return n?Ce.fromReplace(A,this.from,this.to,n):Ce.fail("Content does not fit in gap")}getMap(){return new Dt([this.from,this.gapFrom-this.from,this.insert,this.gapTo,this.to-this.gapTo,this.slice.size-this.insert])}invert(A){let e=this.gapTo-this.gapFrom;return new be(this.from,this.from+this.slice.size+e,this.from+this.insert,this.from+this.insert+e,A.slice(this.from,this.to).removeBetween(this.gapFrom-this.from,this.gapTo-this.from),this.gapFrom-this.from,this.structure)}map(A){let e=A.mapResult(this.from,1),n=A.mapResult(this.to,-1),r=A.map(this.gapFrom,-1),i=A.map(this.gapTo,1);return e.deletedAcross&&n.deletedAcross||r<e.pos||i>n.pos?null:new be(e.pos,n.pos,r,i,this.slice,this.insert,this.structure)}toJSON(){let A={stepType:"replaceAround",from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(A.slice=this.slice.toJSON()),this.structure&&(A.structure=!0),A}static fromJSON(A,e){if(typeof e.from!="number"||typeof e.to!="number"||typeof e.gapFrom!="number"||typeof e.gapTo!="number"||typeof e.insert!="number")throw new RangeError("Invalid input for ReplaceAroundStep.fromJSON");return new be(e.from,e.to,e.gapFrom,e.gapTo,j.fromJSON(A,e.slice),e.insert,!!e.structure)}}ft.jsonID("replaceAround",be);function sc(t,A,e){let n=t.resolve(A),r=e-A,i=n.depth;for(;r>0&&i>0&&n.indexAfter(i)==n.node(i).childCount;)i--,r--;if(r>0){let s=n.node(i).maybeChild(n.indexAfter(i));for(;r>0;){if(!s||s.isLeaf)return!0;s=s.firstChild,r--}}return!1}function KQ(t,A,e,n){let r=[],i=[],s,a;t.doc.nodesBetween(A,e,(c,u,d)=>{if(!c.isInline)return;let h=c.marks;if(!n.isInSet(h)&&d.type.allowsMarkType(n.type)){let B=Math.max(u,A),m=Math.min(u+c.nodeSize,e),C=n.addToSet(h);for(let E=0;E<h.length;E++)h[E].isInSet(C)||(s&&s.to==B&&s.mark.eq(h[E])?s.to=m:r.push(s=new hn(B,m,h[E])));a&&a.to==B?a.to=m:i.push(a=new Zn(B,m,n))}}),r.forEach(c=>t.step(c)),i.forEach(c=>t.step(c))}function PQ(t,A,e,n){let r=[],i=0;t.doc.nodesBetween(A,e,(s,a)=>{if(!s.isInline)return;i++;let c=null;if(n instanceof xo){let u=s.marks,d;for(;d=n.isInSet(u);)(c||(c=[])).push(d),u=d.removeFromSet(u)}else n?n.isInSet(s.marks)&&(c=[n]):c=s.marks;if(c&&c.length){let u=Math.min(a+s.nodeSize,e);for(let d=0;d<c.length;d++){let h=c[d],B;for(let m=0;m<r.length;m++){let C=r[m];C.step==i-1&&h.eq(r[m].style)&&(B=C)}B?(B.to=u,B.step=i):r.push({style:h,from:Math.max(a,A),to:u,step:i})}}}),r.forEach(s=>t.step(new hn(s.from,s.to,s.style)))}function VQ(t,A,e,n=e.contentMatch){let r=t.doc.nodeAt(A),i=[],s=A+1;for(let a=0;a<r.childCount;a++){let c=r.child(a),u=s+c.nodeSize,d=n.matchType(c.type);if(!d)i.push(new Ge(s,u,j.empty));else{n=d;for(let h=0;h<c.marks.length;h++)e.allowsMarkType(c.marks[h].type)||t.step(new hn(s,u,c.marks[h]))}s=u}if(!n.validEnd){let a=n.fillBefore(X.empty,!0);t.replace(s,s,new j(a,0,0))}for(let a=i.length-1;a>=0;a--)t.step(i[a])}function GQ(t,A,e){return(A==0||t.canReplace(A,t.childCount))&&(e==t.childCount||t.canReplace(0,e))}function gi(t){let e=t.parent.content.cutByIndex(t.startIndex,t.endIndex);for(let n=t.depth;;--n){let r=t.$from.node(n),i=t.$from.index(n),s=t.$to.indexAfter(n);if(n<t.depth&&r.canReplace(i,s,e))return n;if(n==0||r.type.spec.isolating||!GQ(r,i,s))break}return null}function WQ(t,A,e){let{$from:n,$to:r,depth:i}=A,s=n.before(i+1),a=r.after(i+1),c=s,u=a,d=X.empty,h=0;for(let C=i,E=!1;C>e;C--)E||n.index(C)>0?(E=!0,d=X.from(n.node(C).copy(d)),h++):c--;let B=X.empty,m=0;for(let C=i,E=!1;C>e;C--)E||r.after(C+1)<r.end(C)?(E=!0,B=X.from(r.node(C).copy(B)),m++):u++;t.step(new be(c,u,s,a,new j(d.append(B),h,m),d.size-h,!0))}function oc(t,A,e=null,n=t){let r=JQ(t,A),i=r&&$Q(n,A);return i?r.map(wh).concat({type:A,attrs:e}).concat(i.map(wh)):null}function wh(t){return{type:t,attrs:null}}function JQ(t,A){let{parent:e,startIndex:n,endIndex:r}=t,i=e.contentMatchAt(n).findWrapping(A);if(!i)return null;let s=i.length?i[0]:A;return e.canReplaceWith(n,r,s)?i:null}function $Q(t,A){let{parent:e,startIndex:n,endIndex:r}=t,i=e.child(n),s=A.contentMatch.findWrapping(i.type);if(!s)return null;let c=(s.length?s[s.length-1]:A).contentMatch;for(let u=n;c&&u<r;u++)c=c.matchType(e.child(u).type);return!c||!c.validEnd?null:s}function XQ(t,A,e){let n=X.empty;for(let s=e.length-1;s>=0;s--){if(n.size){let a=e[s].type.contentMatch.matchFragment(n);if(!a||!a.validEnd)throw new RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper")}n=X.from(e[s].type.create(e[s].attrs,n))}let r=A.start,i=A.end;t.step(new be(r,i,r,i,new j(n,0,0),e.length,!0))}function YQ(t,A,e,n,r){if(!n.isTextblock)throw new RangeError("Type given to setBlockType should be a textblock");let i=t.steps.length;t.doc.nodesBetween(A,e,(s,a)=>{if(s.isTextblock&&!s.hasMarkup(n,r)&&zQ(t.doc,t.mapping.slice(i).map(a),n)){t.clearIncompatible(t.mapping.slice(i).map(a,1),n);let c=t.mapping.slice(i),u=c.map(a,1),d=c.map(a+s.nodeSize,1);return t.step(new be(u,d,u+1,d-1,new j(X.from(n.create(r,null,s.marks)),0,0),1,!0)),!1}})}function zQ(t,A,e){let n=t.resolve(A),r=n.index();return n.parent.canReplaceWith(r,r+1,e)}function qQ(t,A,e,n,r){let i=t.doc.nodeAt(A);if(!i)throw new RangeError("No node at given position");e||(e=i.type);let s=e.create(n,null,r||i.marks);if(i.isLeaf)return t.replaceWith(A,A+i.nodeSize,s);if(!e.validContent(i.content))throw new RangeError("Invalid content for node type "+e.name);t.step(new be(A,A+i.nodeSize,A+1,A+i.nodeSize-1,new j(X.from(s),0,0),1,!0))}function Bi(t,A,e=1,n){let r=t.resolve(A),i=r.depth-e,s=n&&n[n.length-1]||r.parent;if(i<0||r.parent.type.spec.isolating||!r.parent.canReplace(r.index(),r.parent.childCount)||!s.type.validContent(r.parent.content.cutByIndex(r.index(),r.parent.childCount)))return!1;for(let u=r.depth-1,d=e-2;u>i;u--,d--){let h=r.node(u),B=r.index(u);if(h.type.spec.isolating)return!1;let m=h.content.cutByIndex(B,h.childCount),C=n&&n[d]||h;if(C!=h&&(m=m.replaceChild(0,C.type.create(C.attrs))),!h.canReplace(B+1,h.childCount)||!C.type.validContent(m))return!1}let a=r.indexAfter(i),c=n&&n[0];return r.node(i).canReplaceWith(a,a,c?c.type:r.node(i+1).type)}function ZQ(t,A,e=1,n){let r=t.doc.resolve(A),i=X.empty,s=X.empty;for(let a=r.depth,c=r.depth-e,u=e-1;a>c;a--,u--){i=X.from(r.node(a).copy(i));let d=n&&n[u];s=X.from(d?d.type.create(d.attrs,s):r.node(a).copy(s))}t.step(new Ge(A,A,new j(i.append(s),e,e),!0))}function Ar(t,A){let e=t.resolve(A),n=e.index();return Ch(e.nodeBefore,e.nodeAfter)&&e.parent.canReplace(n,n+1)}function Ch(t,A){return!!(t&&A&&!t.isLeaf&&t.canAppend(A))}function yh(t,A,e=-1){let n=t.resolve(A);for(let r=n.depth;;r--){let i,s,a=n.index(r);if(r==n.depth?(i=n.nodeBefore,s=n.nodeAfter):e>0?(i=n.node(r+1),a++,s=n.node(r).maybeChild(a)):(i=n.node(r).maybeChild(a-1),s=n.node(r+1)),i&&!i.isTextblock&&Ch(i,s)&&n.node(r).canReplace(a,a+1))return A;if(r==0)break;A=e<0?n.before(r):n.after(r)}}function jQ(t,A,e){let n=new Ge(A-e,A+e,j.empty,!0);t.step(n)}function AE(t,A,e){let n=t.resolve(A);if(n.parent.canReplaceWith(n.index(),n.index(),e))return A;if(n.parentOffset==0)for(let r=n.depth-1;r>=0;r--){let i=n.index(r);if(n.node(r).canReplaceWith(i,i,e))return n.before(r+1);if(i>0)return null}if(n.parentOffset==n.parent.content.size)for(let r=n.depth-1;r>=0;r--){let i=n.indexAfter(r);if(n.node(r).canReplaceWith(i,i,e))return n.after(r+1);if(i<n.node(r).childCount)return null}return null}function Qh(t,A,e){let n=t.resolve(A);if(!e.content.size)return A;let r=e.content;for(let i=0;i<e.openStart;i++)r=r.firstChild.content;for(let i=1;i<=(e.openStart==0&&e.size?2:1);i++)for(let s=n.depth;s>=0;s--){let a=s==n.depth?0:n.pos<=(n.start(s+1)+n.end(s+1))/2?-1:1,c=n.index(s)+(a>0?1:0),u=n.node(s),d=!1;if(i==1)d=u.canReplace(c,c,r);else{let h=u.contentMatchAt(c).findWrapping(r.firstChild.type);d=h&&u.canReplaceWith(c,c,h[0])}if(d)return a==0?n.pos:a<0?n.before(s+1):n.after(s+1)}return null}function ac(t,A,e=A,n=j.empty){if(A==e&&!n.size)return null;let r=t.resolve(A),i=t.resolve(e);return Eh(r,i,n)?new Ge(A,e,n):new eE(r,i,n).fit()}function Eh(t,A,e){return!e.openStart&&!e.openEnd&&t.start()==A.start()&&t.parent.canReplace(t.index(),A.index(),e.content)}class eE{constructor(A,e,n){this.$from=A,this.$to=e,this.unplaced=n,this.frontier=[],this.placed=X.empty;for(let r=0;r<=A.depth;r++){let i=A.node(r);this.frontier.push({type:i.type,match:i.contentMatchAt(A.indexAfter(r))})}for(let r=A.depth;r>0;r--)this.placed=X.from(A.node(r).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 A=this.mustMoveInline(),e=this.placed.size-this.depth-this.$from.depth,n=this.$from,r=this.close(A<0?this.$to:n.doc.resolve(A));if(!r)return null;let i=this.placed,s=n.depth,a=r.depth;for(;s&&a&&i.childCount==1;)i=i.firstChild.content,s--,a--;let c=new j(i,s,a);return A>-1?new be(n.pos,A,this.$to.pos,this.$to.end(),c,e):c.size||n.pos!=this.$to.pos?new Ge(n.pos,r.pos,c):null}findFittable(){let A=this.unplaced.openStart;for(let e=this.unplaced.content,n=0,r=this.unplaced.openEnd;n<A;n++){let i=e.firstChild;if(e.childCount>1&&(r=0),i.type.spec.isolating&&r<=n){A=n;break}e=i.content}for(let e=1;e<=2;e++)for(let n=e==1?A:this.unplaced.openStart;n>=0;n--){let r,i=null;n?(i=lc(this.unplaced.content,n-1).firstChild,r=i.content):r=this.unplaced.content;let s=r.firstChild;for(let a=this.depth;a>=0;a--){let{type:c,match:u}=this.frontier[a],d,h=null;if(e==1&&(s?u.matchType(s.type)||(h=u.fillBefore(X.from(s),!1)):i&&c.compatibleContent(i.type)))return{sliceDepth:n,frontierDepth:a,parent:i,inject:h};if(e==2&&s&&(d=u.findWrapping(s.type)))return{sliceDepth:n,frontierDepth:a,parent:i,wrap:d};if(i&&u.matchType(i.type))break}}}openMore(){let{content:A,openStart:e,openEnd:n}=this.unplaced,r=lc(A,e);return!r.childCount||r.firstChild.isLeaf?!1:(this.unplaced=new j(A,e+1,Math.max(n,r.size+e>=A.size-n?e+1:0)),!0)}dropNode(){let{content:A,openStart:e,openEnd:n}=this.unplaced,r=lc(A,e);if(r.childCount<=1&&e>0){let i=A.size-e<=e+r.size;this.unplaced=new j(gs(A,e-1,1),e-1,i?e-1:n)}else this.unplaced=new j(gs(A,e,1),e,n)}placeNodes({sliceDepth:A,frontierDepth:e,parent:n,inject:r,wrap:i}){for(;this.depth>e;)this.closeFrontierNode();if(i)for(let E=0;E<i.length;E++)this.openFrontierNode(i[E]);let s=this.unplaced,a=n?n.content:s.content,c=s.openStart-A,u=0,d=[],{match:h,type:B}=this.frontier[e];if(r){for(let E=0;E<r.childCount;E++)d.push(r.child(E));h=h.matchFragment(r)}let m=a.size+A-(s.content.size-s.openEnd);for(;u<a.childCount;){let E=a.child(u),S=h.matchType(E.type);if(!S)break;u++,(u>1||c==0||E.content.size)&&(h=S,d.push(Fh(E.mark(B.allowedMarks(E.marks)),u==1?c:0,u==a.childCount?m:-1)))}let C=u==a.childCount;C||(m=-1),this.placed=Bs(this.placed,e,X.from(d)),this.frontier[e].match=h,C&&m<0&&n&&n.type==this.frontier[this.depth].type&&this.frontier.length>1&&this.closeFrontierNode();for(let E=0,S=a;E<m;E++){let U=S.lastChild;this.frontier.push({type:U.type,match:U.contentMatchAt(U.childCount)}),S=U.content}this.unplaced=C?A==0?j.empty:new j(gs(s.content,A-1,1),A-1,m<0?s.openEnd:A-1):new j(gs(s.content,A,u),s.openStart,s.openEnd)}mustMoveInline(){if(!this.$to.parent.isTextblock)return-1;let A=this.frontier[this.depth],e;if(!A.type.isTextblock||!cc(this.$to,this.$to.depth,A.type,A.match,!1)||this.$to.depth==this.depth&&(e=this.findCloseLevel(this.$to))&&e.depth==this.depth)return-1;let{depth:n}=this.$to,r=this.$to.after(n);for(;n>1&&r==this.$to.end(--n);)++r;return r}findCloseLevel(A){A:for(let e=Math.min(this.depth,A.depth);e>=0;e--){let{match:n,type:r}=this.frontier[e],i=e<A.depth&&A.end(e+1)==A.pos+(A.depth-(e+1)),s=cc(A,e,r,n,i);if(s){for(let a=e-1;a>=0;a--){let{match:c,type:u}=this.frontier[a],d=cc(A,a,u,c,!0);if(!d||d.childCount)continue A}return{depth:e,fit:s,move:i?A.doc.resolve(A.after(e+1)):A}}}}close(A){let e=this.findCloseLevel(A);if(!e)return null;for(;this.depth>e.depth;)this.closeFrontierNode();e.fit.childCount&&(this.placed=Bs(this.placed,e.depth,e.fit)),A=e.move;for(let n=e.depth+1;n<=A.depth;n++){let r=A.node(n),i=r.type.contentMatch.fillBefore(r.content,!0,A.index(n));this.openFrontierNode(r.type,r.attrs,i)}return A}openFrontierNode(A,e=null,n){let r=this.frontier[this.depth];r.match=r.match.matchType(A),this.placed=Bs(this.placed,this.depth,X.from(A.create(e,n))),this.frontier.push({type:A,match:A.contentMatch})}closeFrontierNode(){let e=this.frontier.pop().match.fillBefore(X.empty,!0);e.childCount&&(this.placed=Bs(this.placed,this.frontier.length,e))}}function gs(t,A,e){return A==0?t.cutByIndex(e,t.childCount):t.replaceChild(0,t.firstChild.copy(gs(t.firstChild.content,A-1,e)))}function Bs(t,A,e){return A==0?t.append(e):t.replaceChild(t.childCount-1,t.lastChild.copy(Bs(t.lastChild.content,A-1,e)))}function lc(t,A){for(let e=0;e<A;e++)t=t.firstChild.content;return t}function Fh(t,A,e){if(A<=0)return t;let n=t.content;return A>1&&(n=n.replaceChild(0,Fh(n.firstChild,A-1,n.childCount==1?e-1:0))),A>0&&(n=t.type.contentMatch.fillBefore(n).append(n),e<=0&&(n=n.append(t.type.contentMatch.matchFragment(n).fillBefore(X.empty,!0)))),t.copy(n)}function cc(t,A,e,n,r){let i=t.node(A),s=r?t.indexAfter(A):t.index(A);if(s==i.childCount&&!e.compatibleContent(i.type))return null;let a=n.fillBefore(i.content,!0,s);return a&&!tE(e,i.content,s)?a:null}function tE(t,A,e){for(let n=e;n<A.childCount;n++)if(!t.allowsMarks(A.child(n).marks))return!0;return!1}function nE(t){return t.spec.defining||t.spec.definingForContent}function rE(t,A,e,n){if(!n.size)return t.deleteRange(A,e);let r=t.doc.resolve(A),i=t.doc.resolve(e);if(Eh(r,i,n))return t.step(new Ge(A,e,n));let s=vh(r,t.doc.resolve(e));s[s.length-1]==0&&s.pop();let a=-(r.depth+1);s.unshift(a);for(let B=r.depth,m=r.pos-1;B>0;B--,m--){let C=r.node(B).type.spec;if(C.defining||C.definingAsContext||C.isolating)break;s.indexOf(B)>-1?a=B:r.before(B)==m&&s.splice(1,0,-B)}let c=s.indexOf(a),u=[],d=n.openStart;for(let B=n.content,m=0;;m++){let C=B.firstChild;if(u.push(C),m==n.openStart)break;B=C.content}for(let B=d-1;B>=0;B--){let m=u[B].type,C=nE(m);if(C&&r.node(c).type!=m)d=B;else if(C||!m.isTextblock)break}for(let B=n.openStart;B>=0;B--){let m=(B+d+1)%(n.openStart+1),C=u[m];if(C)for(let E=0;E<s.length;E++){let S=s[(E+c)%s.length],U=!0;S<0&&(U=!1,S=-S);let b=r.node(S-1),M=r.index(S-1);if(b.canReplaceWith(M,M,C.type,C.marks))return t.replace(r.before(S),U?i.after(S):e,new j(Uh(n.content,0,n.openStart,m),m,n.openEnd))}}let h=t.steps.length;for(let B=s.length-1;B>=0&&(t.replace(A,e,n),!(t.steps.length>h));B--){let m=s[B];m<0||(A=r.before(m),e=i.after(m))}}function Uh(t,A,e,n,r){if(A<e){let i=t.firstChild;t=t.replaceChild(0,i.copy(Uh(i.content,A+1,e,n,i)))}if(A>n){let i=r.contentMatchAt(0),s=i.fillBefore(t).append(t);t=s.append(i.matchFragment(s).fillBefore(X.empty,!0))}return t}function iE(t,A,e,n){if(!n.isInline&&A==e&&t.doc.resolve(A).parent.content.size){let r=AE(t.doc,A,n.type);r!=null&&(A=e=r)}t.replaceRange(A,e,new j(X.from(n),0,0))}function sE(t,A,e){let n=t.doc.resolve(A),r=t.doc.resolve(e),i=vh(n,r);for(let s=0;s<i.length;s++){let a=i[s],c=s==i.length-1;if(c&&a==0||n.node(a).type.contentMatch.validEnd)return t.delete(n.start(a),r.end(a));if(a>0&&(c||n.node(a-1).canReplace(n.index(a-1),r.indexAfter(a-1))))return t.delete(n.before(a),r.after(a))}for(let s=1;s<=n.depth&&s<=r.depth;s++)if(A-n.start(s)==n.depth-s&&e>n.end(s)&&r.end(s)-e!=r.depth-s)return t.delete(n.before(s),e);t.delete(A,e)}function vh(t,A){let e=[],n=Math.min(t.depth,A.depth);for(let r=n;r>=0;r--){let i=t.start(r);if(i<t.pos-(t.depth-r)||A.end(r)>A.pos+(A.depth-r)||t.node(r).type.spec.isolating||A.node(r).type.spec.isolating)break;(i==A.start(r)||r==t.depth&&r==A.depth&&t.parent.inlineContent&&A.parent.inlineContent&&r&&A.start(r-1)==i-1)&&e.push(r)}return e}class mi extends ft{constructor(A,e,n){super(),this.pos=A,this.attr=e,this.value=n}apply(A){let e=A.nodeAt(this.pos);if(!e)return Ce.fail("No node at attribute step's position");let n=Object.create(null);for(let i in e.attrs)n[i]=e.attrs[i];n[this.attr]=this.value;let r=e.type.create(n,null,e.marks);return Ce.fromReplace(A,this.pos,this.pos+1,new j(X.from(r),0,e.isLeaf?0:1))}getMap(){return Dt.empty}invert(A){return new mi(this.pos,this.attr,A.nodeAt(this.pos).attrs[this.attr])}map(A){let e=A.mapResult(this.pos,1);return e.deletedAfter?null:new mi(e.pos,this.attr,this.value)}toJSON(){return{stepType:"attr",pos:this.pos,attr:this.attr,value:this.value}}static fromJSON(A,e){if(typeof e.pos!="number"||typeof e.attr!="string")throw new RangeError("Invalid input for AttrStep.fromJSON");return new mi(e.pos,e.attr,e.value)}}ft.jsonID("attr",mi);let wi=class extends Error{};wi=function t(A){let e=Error.call(this,A);return e.__proto__=t.prototype,e},wi.prototype=Object.create(Error.prototype),wi.prototype.constructor=wi,wi.prototype.name="TransformError";class oE{constructor(A){this.doc=A,this.steps=[],this.docs=[],this.mapping=new hi}get before(){return this.docs.length?this.docs[0]:this.doc}step(A){let e=this.maybeStep(A);if(e.failed)throw new wi(e.failed);return this}maybeStep(A){let e=A.apply(this.doc);return e.failed||this.addStep(A,e.doc),e}get docChanged(){return this.steps.length>0}addStep(A,e){this.docs.push(this.doc),this.steps.push(A),this.mapping.appendMap(A.getMap()),this.doc=e}replace(A,e=A,n=j.empty){let r=ac(this.doc,A,e,n);return r&&this.step(r),this}replaceWith(A,e,n){return this.replace(A,e,new j(X.from(n),0,0))}delete(A,e){return this.replace(A,e,j.empty)}insert(A,e){return this.replaceWith(A,A,e)}replaceRange(A,e,n){return rE(this,A,e,n),this}replaceRangeWith(A,e,n){return iE(this,A,e,n),this}deleteRange(A,e){return sE(this,A,e),this}lift(A,e){return WQ(this,A,e),this}join(A,e=1){return jQ(this,A,e),this}wrap(A,e){return XQ(this,A,e),this}setBlockType(A,e=A,n,r=null){return YQ(this,A,e,n,r),this}setNodeMarkup(A,e,n=null,r){return qQ(this,A,e,n,r),this}setNodeAttribute(A,e,n){return this.step(new mi(A,e,n)),this}addNodeMark(A,e){return this.step(new jn(A,e)),this}removeNodeMark(A,e){if(!(e instanceof VA)){let n=this.doc.nodeAt(A);if(!n)throw new RangeError("No node at position "+A);if(e=e.isInSet(n.marks),!e)return this}return this.step(new pi(A,e)),this}split(A,e=1,n){return ZQ(this,A,e,n),this}addMark(A,e,n){return KQ(this,A,e,n),this}removeMark(A,e,n){return PQ(this,A,e,n),this}clearIncompatible(A,e,n){return VQ(this,A,e,n),this}}const uc=Object.create(null);class yA{constructor(A,e,n){this.$anchor=A,this.$head=e,this.ranges=n||[new aE(A.min(e),A.max(e))]}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 A=this.ranges;for(let e=0;e<A.length;e++)if(A[e].$from.pos!=A[e].$to.pos)return!1;return!0}content(){return this.$from.doc.slice(this.from,this.to,!0)}replace(A,e=j.empty){let n=e.content.lastChild,r=null;for(let a=0;a<e.openEnd;a++)r=n,n=n.lastChild;let i=A.steps.length,s=this.ranges;for(let a=0;a<s.length;a++){let{$from:c,$to:u}=s[a],d=A.mapping.slice(i);A.replaceRange(d.map(c.pos),d.map(u.pos),a?j.empty:e),a==0&&Sh(A,i,(n?n.isInline:r&&r.isTextblock)?-1:1)}}replaceWith(A,e){let n=A.steps.length,r=this.ranges;for(let i=0;i<r.length;i++){let{$from:s,$to:a}=r[i],c=A.mapping.slice(n),u=c.map(s.pos),d=c.map(a.pos);i?A.deleteRange(u,d):(A.replaceRangeWith(u,d,e),Sh(A,n,e.isInline?-1:1))}}static findFrom(A,e,n=!1){let r=A.parent.inlineContent?new FA(A):Ci(A.node(0),A.parent,A.pos,A.index(),e,n);if(r)return r;for(let i=A.depth-1;i>=0;i--){let s=e<0?Ci(A.node(0),A.node(i),A.before(i+1),A.index(i),e,n):Ci(A.node(0),A.node(i),A.after(i+1),A.index(i)+1,e,n);if(s)return s}return null}static near(A,e=1){return this.findFrom(A,e)||this.findFrom(A,-e)||new jt(A.node(0))}static atStart(A){return Ci(A,A,0,0,1)||new jt(A)}static atEnd(A){return Ci(A,A,A.content.size,A.childCount,-1)||new jt(A)}static fromJSON(A,e){if(!e||!e.type)throw new RangeError("Invalid input for Selection.fromJSON");let n=uc[e.type];if(!n)throw new RangeError(`No selection type ${e.type} defined`);return n.fromJSON(A,e)}static jsonID(A,e){if(A in uc)throw new RangeError("Duplicate use of selection JSON ID "+A);return uc[A]=e,e.prototype.jsonID=A,e}getBookmark(){return FA.between(this.$anchor,this.$head).getBookmark()}}yA.prototype.visible=!0;class aE{constructor(A,e){this.$from=A,this.$to=e}}let bh=!1;function Ih(t){!bh&&!t.parent.inlineContent&&(bh=!0,console.warn("TextSelection endpoint not pointing into a node with inline content ("+t.parent.type.name+")"))}class FA extends yA{constructor(A,e=A){Ih(A),Ih(e),super(A,e)}get $cursor(){return this.$anchor.pos==this.$head.pos?this.$head:null}map(A,e){let n=A.resolve(e.map(this.head));if(!n.parent.inlineContent)return yA.near(n);let r=A.resolve(e.map(this.anchor));return new FA(r.parent.inlineContent?r:n,n)}replace(A,e=j.empty){if(super.replace(A,e),e==j.empty){let n=this.$from.marksAcross(this.$to);n&&A.ensureMarks(n)}}eq(A){return A instanceof FA&&A.anchor==this.anchor&&A.head==this.head}getBookmark(){return new Mo(this.anchor,this.head)}toJSON(){return{type:"text",anchor:this.anchor,head:this.head}}static fromJSON(A,e){if(typeof e.anchor!="number"||typeof e.head!="number")throw new RangeError("Invalid input for TextSelection.fromJSON");return new FA(A.resolve(e.anchor),A.resolve(e.head))}static create(A,e,n=e){let r=A.resolve(e);return new this(r,n==e?r:A.resolve(n))}static between(A,e,n){let r=A.pos-e.pos;if((!n||r)&&(n=r>=0?1:-1),!e.parent.inlineContent){let i=yA.findFrom(e,n,!0)||yA.findFrom(e,-n,!0);if(i)e=i.$head;else return yA.near(e,n)}return A.parent.inlineContent||(r==0?A=e:(A=(yA.findFrom(A,-n,!0)||yA.findFrom(A,n,!0)).$anchor,A.pos<e.pos!=r<0&&(A=e))),new FA(A,e)}}yA.jsonID("text",FA);class Mo{constructor(A,e){this.anchor=A,this.head=e}map(A){return new Mo(A.map(this.anchor),A.map(this.head))}resolve(A){return FA.between(A.resolve(this.anchor),A.resolve(this.head))}}class uA extends yA{constructor(A){let e=A.nodeAfter,n=A.node(0).resolve(A.pos+e.nodeSize);super(A,n),this.node=e}map(A,e){let{deleted:n,pos:r}=e.mapResult(this.anchor),i=A.resolve(r);return n?yA.near(i):new uA(i)}content(){return new j(X.from(this.node),0,0)}eq(A){return A instanceof uA&&A.anchor==this.anchor}toJSON(){return{type:"node",anchor:this.anchor}}getBookmark(){return new fc(this.anchor)}static fromJSON(A,e){if(typeof e.anchor!="number")throw new RangeError("Invalid input for NodeSelection.fromJSON");return new uA(A.resolve(e.anchor))}static create(A,e){return new uA(A.resolve(e))}static isSelectable(A){return!A.isText&&A.type.spec.selectable!==!1}}uA.prototype.visible=!1,yA.jsonID("node",uA);class fc{constructor(A){this.anchor=A}map(A){let{deleted:e,pos:n}=A.mapResult(this.anchor);return e?new Mo(n,n):new fc(n)}resolve(A){let e=A.resolve(this.anchor),n=e.nodeAfter;return n&&uA.isSelectable(n)?new uA(e):yA.near(e)}}class jt extends yA{constructor(A){super(A.resolve(0),A.resolve(A.content.size))}replace(A,e=j.empty){if(e==j.empty){A.delete(0,A.doc.content.size);let n=yA.atStart(A.doc);n.eq(A.selection)||A.setSelection(n)}else super.replace(A,e)}toJSON(){return{type:"all"}}static fromJSON(A){return new jt(A)}map(A){return new jt(A)}eq(A){return A instanceof jt}getBookmark(){return lE}}yA.jsonID("all",jt);const lE={map(){return this},resolve(t){return new jt(t)}};function Ci(t,A,e,n,r,i=!1){if(A.inlineContent)return FA.create(t,e);for(let s=n-(r>0?0:1);r>0?s<A.childCount:s>=0;s+=r){let a=A.child(s);if(a.isAtom){if(!i&&uA.isSelectable(a))return uA.create(t,e-(r<0?a.nodeSize:0))}else{let c=Ci(t,a,e+r,r<0?a.childCount:0,r,i);if(c)return c}e+=a.nodeSize*r}return null}function Sh(t,A,e){let n=t.steps.length-1;if(n<A)return;let r=t.steps[n];if(!(r instanceof Ge||r instanceof be))return;let i=t.mapping.maps[n],s;i.forEach((a,c,u,d)=>{s==null&&(s=d)}),t.setSelection(yA.near(t.doc.resolve(s),e))}const Th=1,Do=2,xh=4;class cE extends oE{constructor(A){super(A.doc),this.curSelectionFor=0,this.updated=0,this.meta=Object.create(null),this.time=Date.now(),this.curSelection=A.selection,this.storedMarks=A.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(A){if(A.$from.doc!=this.doc)throw new RangeError("Selection passed to setSelection must point at the current document");return this.curSelection=A,this.curSelectionFor=this.steps.length,this.updated=(this.updated|Th)&~Do,this.storedMarks=null,this}get selectionSet(){return(this.updated&Th)>0}setStoredMarks(A){return this.storedMarks=A,this.updated|=Do,this}ensureMarks(A){return VA.sameSet(this.storedMarks||this.selection.$from.marks(),A)||this.setStoredMarks(A),this}addStoredMark(A){return this.ensureMarks(A.addToSet(this.storedMarks||this.selection.$head.marks()))}removeStoredMark(A){return this.ensureMarks(A.removeFromSet(this.storedMarks||this.selection.$head.marks()))}get storedMarksSet(){return(this.updated&Do)>0}addStep(A,e){super.addStep(A,e),this.updated=this.updated&~Do,this.storedMarks=null}setTime(A){return this.time=A,this}replaceSelection(A){return this.selection.replace(this,A),this}replaceSelectionWith(A,e=!0){let n=this.selection;return e&&(A=A.mark(this.storedMarks||(n.empty?n.$from.marks():n.$from.marksAcross(n.$to)||VA.none))),n.replaceWith(this,A),this}deleteSelection(){return this.selection.replace(this),this}insertText(A,e,n){let r=this.doc.type.schema;if(e==null)return A?this.replaceSelectionWith(r.text(A),!0):this.deleteSelection();{if(n==null&&(n=e),n=n??e,!A)return this.deleteRange(e,n);let i=this.storedMarks;if(!i){let s=this.doc.resolve(e);i=n==e?s.marks():s.marksAcross(this.doc.resolve(n))}return this.replaceRangeWith(e,n,r.text(A,i)),this.selection.empty||this.setSelection(yA.near(this.selection.$to)),this}}setMeta(A,e){return this.meta[typeof A=="string"?A:A.key]=e,this}getMeta(A){return this.meta[typeof A=="string"?A:A.key]}get isGeneric(){for(let A in this.meta)return!1;return!0}scrollIntoView(){return this.updated|=xh,this}get scrolledIntoView(){return(this.updated&xh)>0}}function Hh(t,A){return!A||!t?t:t.bind(A)}class ms{constructor(A,e,n){this.name=A,this.init=Hh(e.init,n),this.apply=Hh(e.apply,n)}}const uE=[new ms("doc",{init(t){return t.doc||t.schema.topNodeType.createAndFill()},apply(t){return t.doc}}),new ms("selection",{init(t,A){return t.selection||yA.atStart(A.doc)},apply(t){return t.selection}}),new ms("storedMarks",{init(t){return t.storedMarks||null},apply(t,A,e,n){return n.selection.$cursor?t.storedMarks:null}}),new ms("scrollToSelection",{init(){return 0},apply(t,A){return t.scrolledIntoView?A+1:A}})];class dc{constructor(A,e){this.schema=A,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=uE.slice(),e&&e.forEach(n=>{if(this.pluginsByKey[n.key])throw new RangeError("Adding different instances of a keyed plugin ("+n.key+")");this.plugins.push(n),this.pluginsByKey[n.key]=n,n.spec.state&&this.fields.push(new ms(n.key,n.spec.state,n))})}}class yi{constructor(A){this.config=A}get schema(){return this.config.schema}get plugins(){return this.config.plugins}apply(A){return this.applyTransaction(A).state}filterTransaction(A,e=-1){for(let n=0;n<this.config.plugins.length;n++)if(n!=e){let r=this.config.plugins[n];if(r.spec.filterTransaction&&!r.spec.filterTransaction.call(r,A,this))return!1}return!0}applyTransaction(A){if(!this.filterTransaction(A))return{state:this,transactions:[]};let e=[A],n=this.applyInner(A),r=null;for(;;){let i=!1;for(let s=0;s<this.config.plugins.length;s++){let a=this.config.plugins[s];if(a.spec.appendTransaction){let c=r?r[s].n:0,u=r?r[s].state:this,d=c<e.length&&a.spec.appendTransaction.call(a,c?e.slice(c):e,u,n);if(d&&n.filterTransaction(d,s)){if(d.setMeta("appendedTransaction",A),!r){r=[];for(let h=0;h<this.config.plugins.length;h++)r.push(h<s?{state:n,n:e.length}:{state:this,n:0})}e.push(d),n=n.applyInner(d),i=!0}r&&(r[s]={state:n,n:e.length})}}if(!i)return{state:n,transactions:e}}}applyInner(A){if(!A.before.eq(this.doc))throw new RangeError("Applying a mismatched transaction");let e=new yi(this.config),n=this.config.fields;for(let r=0;r<n.length;r++){let i=n[r];e[i.name]=i.apply(A,this[i.name],this,e)}return e}get tr(){return new cE(this)}static create(A){let e=new dc(A.doc?A.doc.type.schema:A.schema,A.plugins),n=new yi(e);for(let r=0;r<e.fields.length;r++)n[e.fields[r].name]=e.fields[r].init(A,n);return n}reconfigure(A){let e=new dc(this.schema,A.plugins),n=e.fields,r=new yi(e);for(let i=0;i<n.length;i++){let s=n[i].name;r[s]=this.hasOwnProperty(s)?this[s]:n[i].init(A,r)}return r}toJSON(A){let e={doc:this.doc.toJSON(),selection:this.selection.toJSON()};if(this.storedMarks&&(e.storedMarks=this.storedMarks.map(n=>n.toJSON())),A&&typeof A=="object")for(let n in A){if(n=="doc"||n=="selection")throw new RangeError("The JSON fields `doc` and `selection` are reserved");let r=A[n],i=r.spec.state;i&&i.toJSON&&(e[n]=i.toJSON.call(r,this[r.key]))}return e}static fromJSON(A,e,n){if(!e)throw new RangeError("Invalid input for EditorState.fromJSON");if(!A.schema)throw new RangeError("Required config field 'schema' missing");let r=new dc(A.schema,A.plugins),i=new yi(r);return r.fields.forEach(s=>{if(s.name=="doc")i.doc=kr.fromJSON(A.schema,e.doc);else if(s.name=="selection")i.selection=yA.fromJSON(i.doc,e.selection);else if(s.name=="storedMarks")e.storedMarks&&(i.storedMarks=e.storedMarks.map(A.schema.markFromJSON));else{if(n)for(let a in n){let c=n[a],u=c.spec.state;if(c.key==s.name&&u&&u.fromJSON&&Object.prototype.hasOwnProperty.call(e,a)){i[s.name]=u.fromJSON.call(c,A,e[a],i);return}}i[s.name]=s.init(A,i)}}),i}}function Lh(t,A,e){for(let n in t){let r=t[n];r instanceof Function?r=r.bind(A):n=="handleDOMEvents"&&(r=Lh(r,A,{})),e[n]=r}return e}class dt{constructor(A){this.spec=A,this.props={},A.props&&Lh(A.props,this,this.props),this.key=A.key?A.key.key:Oh("plugin")}getState(A){return A[this.key]}}const hc=Object.create(null);function Oh(t){return t in hc?t+"$"+ ++hc[t]:(hc[t]=0,t+"$")}class pn{constructor(A="key"){this.key=Oh(A)}get(A){return A.config.pluginsByKey[this.key]}getState(A){return A[this.key]}}const Qt=function(t){for(var A=0;;A++)if(t=t.previousSibling,!t)return A},ws=function(t){let A=t.assignedSlot||t.parentNode;return A&&A.nodeType==11?A.host:A};let _h=null;const In=function(t,A,e){let n=_h||(_h=document.createRange());return n.setEnd(t,e??t.nodeValue.length),n.setStart(t,A||0),n},Rr=function(t,A,e,n){return e&&(Mh(t,A,e,n,-1)||Mh(t,A,e,n,1))},fE=/^(img|br|input|textarea|hr)$/i;function Mh(t,A,e,n,r){for(;;){if(t==e&&A==n)return!0;if(A==(r<0?0:gn(t))){let i=t.parentNode;if(!i||i.nodeType!=1||hE(t)||fE.test(t.nodeName)||t.contentEditable=="false")return!1;A=Qt(t)+(r<0?0:1),t=i}else if(t.nodeType==1){if(t=t.childNodes[A+(r<0?-1:0)],t.contentEditable=="false")return!1;A=r<0?gn(t):0}else return!1}}function gn(t){return t.nodeType==3?t.nodeValue.length:t.childNodes.length}function dE(t,A,e){for(let n=A==0,r=A==gn(t);n||r;){if(t==e)return!0;let i=Qt(t);if(t=t.parentNode,!t)return!1;n=n&&i==0,r=r&&i==gn(t)}}function hE(t){let A;for(let e=t;e&&!(A=e.pmViewDesc);e=e.parentNode);return A&&A.node&&A.node.isBlock&&(A.dom==t||A.contentDOM==t)}const ko=function(t){return t.focusNode&&Rr(t.focusNode,t.focusOffset,t.anchorNode,t.anchorOffset)};function Kr(t,A){let e=document.createEvent("Event");return e.initEvent("keydown",!0,!0),e.keyCode=t,e.key=e.code=A,e}function pE(t){let A=t.activeElement;for(;A&&A.shadowRoot;)A=A.shadowRoot.activeElement;return A}const er=typeof navigator<"u"?navigator:null,Dh=typeof document<"u"?document:null,tr=er&&er.userAgent||"",pc=/Edge\/(\d+)/.exec(tr),kh=/MSIE \d/.exec(tr),gc=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(tr),ht=!!(kh||gc||pc),nr=kh?document.documentMode:gc?+gc[1]:pc?+pc[1]:0,An=!ht&&/gecko\/(\d+)/i.test(tr);An&&+(/Firefox\/(\d+)/.exec(tr)||[0,0])[1];const Bc=!ht&&/Chrome\/(\d+)/.exec(tr),je=!!Bc,gE=Bc?+Bc[1]:0,At=!ht&&!!er&&/Apple Computer/.test(er.vendor),Qi=At&&(/Mobile\/\w+/.test(tr)||!!er&&er.maxTouchPoints>2),kt=Qi||(er?/Mac/.test(er.platform):!1),en=/Android \d/.test(tr),No=!!Dh&&"webkitFontSmoothing"in Dh.documentElement.style,BE=No?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0;function mE(t){return{left:0,right:t.documentElement.clientWidth,top:0,bottom:t.documentElement.clientHeight}}function rr(t,A){return typeof t=="number"?t:t[A]}function wE(t){let A=t.getBoundingClientRect(),e=A.width/t.offsetWidth||1,n=A.height/t.offsetHeight||1;return{left:A.left,right:A.left+t.clientWidth*e,top:A.top,bottom:A.top+t.clientHeight*n}}function Nh(t,A,e){let n=t.someProp("scrollThreshold")||0,r=t.someProp("scrollMargin")||5,i=t.dom.ownerDocument;for(let s=e||t.dom;s;s=ws(s)){if(s.nodeType!=1)continue;let a=s,c=a==i.body,u=c?mE(i):wE(a),d=0,h=0;if(A.top<u.top+rr(n,"top")?h=-(u.top-A.top+rr(r,"top")):A.bottom>u.bottom-rr(n,"bottom")&&(h=A.bottom-u.bottom+rr(r,"bottom")),A.left<u.left+rr(n,"left")?d=-(u.left-A.left+rr(r,"left")):A.right>u.right-rr(n,"right")&&(d=A.right-u.right+rr(r,"right")),d||h)if(c)i.defaultView.scrollBy(d,h);else{let B=a.scrollLeft,m=a.scrollTop;h&&(a.scrollTop+=h),d&&(a.scrollLeft+=d);let C=a.scrollLeft-B,E=a.scrollTop-m;A={left:A.left-C,top:A.top-E,right:A.right-C,bottom:A.bottom-E}}if(c)break}}function CE(t){let A=t.dom.getBoundingClientRect(),e=Math.max(0,A.top),n,r;for(let i=(A.left+A.right)/2,s=e+1;s<Math.min(innerHeight,A.bottom);s+=5){let a=t.root.elementFromPoint(i,s);if(!a||a==t.dom||!t.dom.contains(a))continue;let c=a.getBoundingClientRect();if(c.top>=e-20){n=a,r=c.top;break}}return{refDOM:n,refTop:r,stack:Rh(t.dom)}}function Rh(t){let A=[],e=t.ownerDocument;for(let n=t;n&&(A.push({dom:n,top:n.scrollTop,left:n.scrollLeft}),t!=e);n=ws(n));return A}function yE({refDOM:t,refTop:A,stack:e}){let n=t?t.getBoundingClientRect().top:0;Kh(e,n==0?0:n-A)}function Kh(t,A){for(let e=0;e<t.length;e++){let{dom:n,top:r,left:i}=t[e];n.scrollTop!=r+A&&(n.scrollTop=r+A),n.scrollLeft!=i&&(n.scrollLeft=i)}}let Ei=null;function QE(t){if(t.setActive)return t.setActive();if(Ei)return t.focus(Ei);let A=Rh(t);t.focus(Ei==null?{get preventScroll(){return Ei={preventScroll:!0},!0}}:void 0),Ei||(Ei=!1,Kh(A,0))}function Ph(t,A){let e,n=2e8,r,i=0,s=A.top,a=A.top;for(let c=t.firstChild,u=0;c;c=c.nextSibling,u++){let d;if(c.nodeType==1)d=c.getClientRects();else if(c.nodeType==3)d=In(c).getClientRects();else continue;for(let h=0;h<d.length;h++){let B=d[h];if(B.top<=s&&B.bottom>=a){s=Math.max(B.bottom,s),a=Math.min(B.top,a);let m=B.left>A.left?B.left-A.left:B.right<A.left?A.left-B.right:0;if(m<n){e=c,n=m,r=m&&e.nodeType==3?{left:B.right<A.left?B.right:B.left,top:A.top}:A,c.nodeType==1&&m&&(i=u+(A.left>=(B.left+B.right)/2?1:0));continue}}!e&&(A.left>=B.right&&A.top>=B.top||A.left>=B.left&&A.top>=B.bottom)&&(i=u+1)}}return e&&e.nodeType==3?EE(e,r):!e||n&&e.nodeType==1?{node:t,offset:i}:Ph(e,r)}function EE(t,A){let e=t.nodeValue.length,n=document.createRange();for(let r=0;r<e;r++){n.setEnd(t,r+1),n.setStart(t,r);let i=ir(n,1);if(i.top!=i.bottom&&mc(A,i))return{node:t,offset:r+(A.left>=(i.left+i.right)/2?1:0)}}return{node:t,offset:0}}function mc(t,A){return t.left>=A.left-1&&t.left<=A.right+1&&t.top>=A.top-1&&t.top<=A.bottom+1}function FE(t,A){let e=t.parentNode;return e&&/^li$/i.test(e.nodeName)&&A.left<t.getBoundingClientRect().left?e:t}function UE(t,A,e){let{node:n,offset:r}=Ph(A,e),i=-1;if(n.nodeType==1&&!n.firstChild){let s=n.getBoundingClientRect();i=s.left!=s.right&&e.left>(s.left+s.right)/2?1:-1}return t.docView.posFromDOM(n,r,i)}function vE(t,A,e,n){let r=-1;for(let i=A,s=!1;i!=t.dom;){let a=t.docView.nearestDesc(i,!0);if(!a)return null;if(a.dom.nodeType==1&&(a.node.isBlock&&a.parent&&!s||!a.contentDOM)){let c=a.dom.getBoundingClientRect();if(a.node.isBlock&&a.parent&&!s&&(s=!0,c.left>n.left||c.top>n.top?r=a.posBefore:(c.right<n.left||c.bottom<n.top)&&(r=a.posAfter)),!a.contentDOM&&r<0)return(a.node.isBlock?n.top<(c.top+c.bottom)/2:n.left<(c.left+c.right)/2)?a.posBefore:a.posAfter}i=a.dom.parentNode}return r>-1?r:t.docView.posFromDOM(A,e,-1)}function Vh(t,A,e){let n=t.childNodes.length;if(n&&e.top<e.bottom)for(let r=Math.max(0,Math.min(n-1,Math.floor(n*(A.top-e.top)/(e.bottom-e.top))-2)),i=r;;){let s=t.childNodes[i];if(s.nodeType==1){let a=s.getClientRects();for(let c=0;c<a.length;c++){let u=a[c];if(mc(A,u))return Vh(s,A,u)}}if((i=(i+1)%n)==r)break}return t}function bE(t,A){let e=t.dom.ownerDocument,n,r=0;if(e.caretPositionFromPoint)try{let c=e.caretPositionFromPoint(A.left,A.top);c&&({offsetNode:n,offset:r}=c)}catch{}if(!n&&e.caretRangeFromPoint){let c=e.caretRangeFromPoint(A.left,A.top);c&&({startContainer:n,startOffset:r}=c)}let i=(t.root.elementFromPoint?t.root:e).elementFromPoint(A.left,A.top),s;if(!i||!t.dom.contains(i.nodeType!=1?i.parentNode:i)){let c=t.dom.getBoundingClientRect();if(!mc(A,c)||(i=Vh(t.dom,A,c),!i))return null}if(At)for(let c=i;n&&c;c=ws(c))c.draggable&&(n=void 0);if(i=FE(i,A),n){if(An&&n.nodeType==1&&(r=Math.min(r,n.childNodes.length),r<n.childNodes.length)){let c=n.childNodes[r],u;c.nodeName=="IMG"&&(u=c.getBoundingClientRect()).right<=A.left&&u.bottom>A.top&&r++}n==t.dom&&r==n.childNodes.length-1&&n.lastChild.nodeType==1&&A.top>n.lastChild.getBoundingClientRect().bottom?s=t.state.doc.content.size:(r==0||n.nodeType!=1||n.childNodes[r-1].nodeName!="BR")&&(s=vE(t,n,r,A))}s==null&&(s=UE(t,i,A));let a=t.docView.nearestDesc(i,!0);return{pos:s,inside:a?a.posAtStart-a.border:-1}}function ir(t,A){let e=t.getClientRects();return e.length?e[A<0?0:e.length-1]:t.getBoundingClientRect()}const IE=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/;function Gh(t,A,e){let{node:n,offset:r,atom:i}=t.docView.domFromPos(A,e<0?-1:1),s=No||An;if(n.nodeType==3)if(s&&(IE.test(n.nodeValue)||(e<0?!r:r==n.nodeValue.length))){let c=ir(In(n,r,r),e);if(An&&r&&/\s/.test(n.nodeValue[r-1])&&r<n.nodeValue.length){let u=ir(In(n,r-1,r-1),-1);if(u.top==c.top){let d=ir(In(n,r,r+1),-1);if(d.top!=c.top)return Cs(d,d.left<u.left)}}return c}else{let c=r,u=r,d=e<0?1:-1;return e<0&&!r?(u++,d=-1):e>=0&&r==n.nodeValue.length?(c--,d=1):e<0?c--:u++,Cs(ir(In(n,c,u),1),d<0)}if(!t.state.doc.resolve(A-(i||0)).parent.inlineContent){if(i==null&&r&&(e<0||r==gn(n))){let c=n.childNodes[r-1];if(c.nodeType==1)return wc(c.getBoundingClientRect(),!1)}if(i==null&&r<gn(n)){let c=n.childNodes[r];if(c.nodeType==1)return wc(c.getBoundingClientRect(),!0)}return wc(n.getBoundingClientRect(),e>=0)}if(i==null&&r&&(e<0||r==gn(n))){let c=n.childNodes[r-1],u=c.nodeType==3?In(c,gn(c)-(s?0:1)):c.nodeType==1&&(c.nodeName!="BR"||!c.nextSibling)?c:null;if(u)return Cs(ir(u,1),!1)}if(i==null&&r<gn(n)){let c=n.childNodes[r];for(;c.pmViewDesc&&c.pmViewDesc.ignoreForCoords;)c=c.nextSibling;let u=c?c.nodeType==3?In(c,0,s?0:1):c.nodeType==1?c:null:null;if(u)return Cs(ir(u,-1),!0)}return Cs(ir(n.nodeType==3?In(n):n,-e),e>=0)}function Cs(t,A){if(t.width==0)return t;let e=A?t.left:t.right;return{top:t.top,bottom:t.bottom,left:e,right:e}}function wc(t,A){if(t.height==0)return t;let e=A?t.top:t.bottom;return{top:e,bottom:e,left:t.left,right:t.right}}function Wh(t,A,e){let n=t.state,r=t.root.activeElement;n!=A&&t.updateState(A),r!=t.dom&&t.focus();try{return e()}finally{n!=A&&t.updateState(n),r!=t.dom&&r&&r.focus()}}function SE(t,A,e){let n=A.selection,r=e=="up"?n.$from:n.$to;return Wh(t,A,()=>{let{node:i}=t.docView.domFromPos(r.pos,e=="up"?-1:1);for(;;){let a=t.docView.nearestDesc(i,!0);if(!a)break;if(a.node.isBlock){i=a.contentDOM||a.dom;break}i=a.dom.parentNode}let s=Gh(t,r.pos,1);for(let a=i.firstChild;a;a=a.nextSibling){let c;if(a.nodeType==1)c=a.getClientRects();else if(a.nodeType==3)c=In(a,0,a.nodeValue.length).getClientRects();else continue;for(let u=0;u<c.length;u++){let d=c[u];if(d.bottom>d.top+1&&(e=="up"?s.top-d.top>(d.bottom-s.top)*2:d.bottom-s.bottom>(s.bottom-d.top)*2))return!1}}return!0})}const TE=/[\u0590-\u08ac]/;function xE(t,A,e){let{$head:n}=A.selection;if(!n.parent.isTextblock)return!1;let r=n.parentOffset,i=!r,s=r==n.parent.content.size,a=t.domSelection();return!TE.test(n.parent.textContent)||!a.modify?e=="left"||e=="backward"?i:s:Wh(t,A,()=>{let{focusNode:c,focusOffset:u,anchorNode:d,anchorOffset:h}=t.domSelectionRange(),B=a.caretBidiLevel;a.modify("move",e,"character");let m=n.depth?t.docView.domAfterPos(n.before()):t.dom,{focusNode:C,focusOffset:E}=t.domSelectionRange(),S=C&&!m.contains(C.nodeType==1?C:C.parentNode)||c==C&&u==E;try{a.collapse(d,h),c&&(c!=d||u!=h)&&a.extend&&a.extend(c,u)}catch{}return B!=null&&(a.caretBidiLevel=B),S})}let Jh=null,$h=null,Xh=!1;function HE(t,A,e){return Jh==A&&$h==e?Xh:(Jh=A,$h=e,Xh=e=="up"||e=="down"?SE(t,A,e):xE(t,A,e))}const tn=0,Yh=1,Fi=2,Bn=3;class ys{constructor(A,e,n,r){this.parent=A,this.children=e,this.dom=n,this.contentDOM=r,this.dirty=tn,n.pmViewDesc=this}matchesWidget(A){return!1}matchesMark(A){return!1}matchesNode(A,e,n){return!1}matchesHack(A){return!1}parseRule(){return null}stopEvent(A){return!1}get size(){let A=0;for(let e=0;e<this.children.length;e++)A+=this.children[e].size;return A}get border(){return 0}destroy(){this.parent=void 0,this.dom.pmViewDesc==this&&(this.dom.pmViewDesc=void 0);for(let A=0;A<this.children.length;A++)this.children[A].destroy()}posBeforeChild(A){for(let e=0,n=this.posAtStart;;e++){let r=this.children[e];if(r==A)return n;n+=r.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(A,e,n){if(this.contentDOM&&this.contentDOM.contains(A.nodeType==1?A:A.parentNode))if(n<0){let i,s;if(A==this.contentDOM)i=A.childNodes[e-1];else{for(;A.parentNode!=this.contentDOM;)A=A.parentNode;i=A.previousSibling}for(;i&&!((s=i.pmViewDesc)&&s.parent==this);)i=i.previousSibling;return i?this.posBeforeChild(s)+s.size:this.posAtStart}else{let i,s;if(A==this.contentDOM)i=A.childNodes[e];else{for(;A.parentNode!=this.contentDOM;)A=A.parentNode;i=A.nextSibling}for(;i&&!((s=i.pmViewDesc)&&s.parent==this);)i=i.nextSibling;return i?this.posBeforeChild(s):this.posAtEnd}let r;if(A==this.dom&&this.contentDOM)r=e>Qt(this.contentDOM);else if(this.contentDOM&&this.contentDOM!=this.dom&&this.dom.contains(this.contentDOM))r=A.compareDocumentPosition(this.contentDOM)&2;else if(this.dom.firstChild){if(e==0)for(let i=A;;i=i.parentNode){if(i==this.dom){r=!1;break}if(i.previousSibling)break}if(r==null&&e==A.childNodes.length)for(let i=A;;i=i.parentNode){if(i==this.dom){r=!0;break}if(i.nextSibling)break}}return r??n>0?this.posAtEnd:this.posAtStart}nearestDesc(A,e=!1){for(let n=!0,r=A;r;r=r.parentNode){let i=this.getDesc(r),s;if(i&&(!e||i.node))if(n&&(s=i.nodeDOM)&&!(s.nodeType==1?s.contains(A.nodeType==1?A:A.parentNode):s==A))n=!1;else return i}}getDesc(A){let e=A.pmViewDesc;for(let n=e;n;n=n.parent)if(n==this)return e}posFromDOM(A,e,n){for(let r=A;r;r=r.parentNode){let i=this.getDesc(r);if(i)return i.localPosFromDOM(A,e,n)}return-1}descAt(A){for(let e=0,n=0;e<this.children.length;e++){let r=this.children[e],i=n+r.size;if(n==A&&i!=n){for(;!r.border&&r.children.length;)r=r.children[0];return r}if(A<i)return r.descAt(A-n-r.border);n=i}}domFromPos(A,e){if(!this.contentDOM)return{node:this.dom,offset:0,atom:A+1};let n=0,r=0;for(let i=0;n<this.children.length;n++){let s=this.children[n],a=i+s.size;if(a>A||s instanceof Zh){r=A-i;break}i=a}if(r)return this.children[n].domFromPos(r-this.children[n].border,e);for(let i;n&&!(i=this.children[n-1]).size&&i instanceof zh&&i.side>=0;n--);if(e<=0){let i,s=!0;for(;i=n?this.children[n-1]:null,!(!i||i.dom.parentNode==this.contentDOM);n--,s=!1);return i&&e&&s&&!i.border&&!i.domAtom?i.domFromPos(i.size,e):{node:this.contentDOM,offset:i?Qt(i.dom)+1:0}}else{let i,s=!0;for(;i=n<this.children.length?this.children[n]:null,!(!i||i.dom.parentNode==this.contentDOM);n++,s=!1);return i&&s&&!i.border&&!i.domAtom?i.domFromPos(0,e):{node:this.contentDOM,offset:i?Qt(i.dom):this.contentDOM.childNodes.length}}}parseRange(A,e,n=0){if(this.children.length==0)return{node:this.contentDOM,from:A,to:e,fromOffset:0,toOffset:this.contentDOM.childNodes.length};let r=-1,i=-1;for(let s=n,a=0;;a++){let c=this.children[a],u=s+c.size;if(r==-1&&A<=u){let d=s+c.border;if(A>=d&&e<=u-c.border&&c.node&&c.contentDOM&&this.contentDOM.contains(c.contentDOM))return c.parseRange(A,e,d);A=s;for(let h=a;h>0;h--){let B=this.children[h-1];if(B.size&&B.dom.parentNode==this.contentDOM&&!B.emptyChildAt(1)){r=Qt(B.dom)+1;break}A-=B.size}r==-1&&(r=0)}if(r>-1&&(u>e||a==this.children.length-1)){e=u;for(let d=a+1;d<this.children.length;d++){let h=this.children[d];if(h.size&&h.dom.parentNode==this.contentDOM&&!h.emptyChildAt(-1)){i=Qt(h.dom);break}e+=h.size}i==-1&&(i=this.contentDOM.childNodes.length);break}s=u}return{node:this.contentDOM,from:A,to:e,fromOffset:r,toOffset:i}}emptyChildAt(A){if(this.border||!this.contentDOM||!this.children.length)return!1;let e=this.children[A<0?0:this.children.length-1];return e.size==0||e.emptyChildAt(A)}domAfterPos(A){let{node:e,offset:n}=this.domFromPos(A,0);if(e.nodeType!=1||n==e.childNodes.length)throw new RangeError("No node after pos "+A);return e.childNodes[n]}setSelection(A,e,n,r=!1){let i=Math.min(A,e),s=Math.max(A,e);for(let B=0,m=0;B<this.children.length;B++){let C=this.children[B],E=m+C.size;if(i>m&&s<E)return C.setSelection(A-m-C.border,e-m-C.border,n,r);m=E}let a=this.domFromPos(A,A?-1:1),c=e==A?a:this.domFromPos(e,e?-1:1),u=n.getSelection(),d=!1;if((An||At)&&A==e){let{node:B,offset:m}=a;if(B.nodeType==3){if(d=!!(m&&B.nodeValue[m-1]==`
6
+ `),d&&m==B.nodeValue.length)for(let C=B,E;C;C=C.parentNode){if(E=C.nextSibling){E.nodeName=="BR"&&(a=c={node:E.parentNode,offset:Qt(E)+1});break}let S=C.pmViewDesc;if(S&&S.node&&S.node.isBlock)break}}else{let C=B.childNodes[m-1];d=C&&(C.nodeName=="BR"||C.contentEditable=="false")}}if(An&&u.focusNode&&u.focusNode!=c.node&&u.focusNode.nodeType==1){let B=u.focusNode.childNodes[u.focusOffset];B&&B.contentEditable=="false"&&(r=!0)}if(!(r||d&&At)&&Rr(a.node,a.offset,u.anchorNode,u.anchorOffset)&&Rr(c.node,c.offset,u.focusNode,u.focusOffset))return;let h=!1;if((u.extend||A==e)&&!d){u.collapse(a.node,a.offset);try{A!=e&&u.extend(c.node,c.offset),h=!0}catch{}}if(!h){if(A>e){let m=a;a=c,c=m}let B=document.createRange();B.setEnd(c.node,c.offset),B.setStart(a.node,a.offset),u.removeAllRanges(),u.addRange(B)}}ignoreMutation(A){return!this.contentDOM&&A.type!="selection"}get contentLost(){return this.contentDOM&&this.contentDOM!=this.dom&&!this.dom.contains(this.contentDOM)}markDirty(A,e){for(let n=0,r=0;r<this.children.length;r++){let i=this.children[r],s=n+i.size;if(n==s?A<=s&&e>=n:A<s&&e>n){let a=n+i.border,c=s-i.border;if(A>=a&&e<=c){this.dirty=A==n||e==s?Fi:Yh,A==a&&e==c&&(i.contentLost||i.dom.parentNode!=this.contentDOM)?i.dirty=Bn:i.markDirty(A-a,e-a);return}else i.dirty=i.dom==i.contentDOM&&i.dom.parentNode==this.contentDOM&&!i.children.length?Fi:Bn}n=s}this.dirty=Fi}markParentsDirty(){let A=1;for(let e=this.parent;e;e=e.parent,A++){let n=A==1?Fi:Yh;e.dirty<n&&(e.dirty=n)}}get domAtom(){return!1}get ignoreForCoords(){return!1}}class zh extends ys{constructor(A,e,n,r){let i,s=e.type.toDOM;if(typeof s=="function"&&(s=s(n,()=>{if(!i)return r;if(i.parent)return i.parent.posBeforeChild(i)})),!e.type.spec.raw){if(s.nodeType!=1){let a=document.createElement("span");a.appendChild(s),s=a}s.contentEditable="false",s.classList.add("ProseMirror-widget")}super(A,[],s,null),this.widget=e,this.widget=e,i=this}matchesWidget(A){return this.dirty==tn&&A.type.eq(this.widget.type)}parseRule(){return{ignore:!0}}stopEvent(A){let e=this.widget.spec.stopEvent;return e?e(A):!1}ignoreMutation(A){return A.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 LE extends ys{constructor(A,e,n,r){super(A,[],e,null),this.textDOM=n,this.text=r}get size(){return this.text.length}localPosFromDOM(A,e){return A!=this.textDOM?this.posAtStart+(e?this.size:0):this.posAtStart+e}domFromPos(A){return{node:this.textDOM,offset:A}}ignoreMutation(A){return A.type==="characterData"&&A.target.nodeValue==A.oldValue}}class Pr extends ys{constructor(A,e,n,r){super(A,[],n,r),this.mark=e}static create(A,e,n,r){let i=r.nodeViews[e.type.name],s=i&&i(e,r,n);return(!s||!s.dom)&&(s=dn.renderSpec(document,e.type.spec.toDOM(e,n))),new Pr(A,e,s.dom,s.contentDOM||s.dom)}parseRule(){return this.dirty&Bn||this.mark.type.spec.reparseInView?null:{mark:this.mark.type.name,attrs:this.mark.attrs,contentElement:this.contentDOM||void 0}}matchesMark(A){return this.dirty!=Bn&&this.mark.eq(A)}markDirty(A,e){if(super.markDirty(A,e),this.dirty!=tn){let n=this.parent;for(;!n.node;)n=n.parent;n.dirty<this.dirty&&(n.dirty=this.dirty),this.dirty=tn}}slice(A,e,n){let r=Pr.create(this.parent,this.mark,!0,n),i=this.children,s=this.size;e<s&&(i=Qc(i,e,s,n)),A>0&&(i=Qc(i,0,A,n));for(let a=0;a<i.length;a++)i[a].parent=r;return r.children=i,r}}class Vr extends ys{constructor(A,e,n,r,i,s,a,c,u){super(A,[],i,s),this.node=e,this.outerDeco=n,this.innerDeco=r,this.nodeDOM=a,s&&this.updateChildren(c,u)}static create(A,e,n,r,i,s){let a=i.nodeViews[e.type.name],c,u=a&&a(e,i,()=>{if(!c)return s;if(c.parent)return c.parent.posBeforeChild(c)},n,r),d=u&&u.dom,h=u&&u.contentDOM;if(e.isText){if(!d)d=document.createTextNode(e.text);else if(d.nodeType!=3)throw new RangeError("Text must be rendered as a DOM text node")}else d||({dom:d,contentDOM:h}=dn.renderSpec(document,e.type.spec.toDOM(e)));!h&&!e.isText&&d.nodeName!="BR"&&(d.hasAttribute("contenteditable")||(d.contentEditable="false"),e.type.spec.draggable&&(d.draggable=!0));let B=d;return d=ep(d,n,e),u?c=new OE(A,e,n,r,d,h||null,B,u,i,s+1):e.isText?new Ro(A,e,n,r,d,B,i):new Vr(A,e,n,r,d,h||null,B,i,s+1)}parseRule(){if(this.node.type.spec.reparseInView)return null;let A={node:this.node.type.name,attrs:this.node.attrs};if(this.node.type.whitespace=="pre"&&(A.preserveWhitespace="full"),!this.contentDOM)A.getContent=()=>this.node.content;else if(!this.contentLost)A.contentElement=this.contentDOM;else{for(let e=this.children.length-1;e>=0;e--){let n=this.children[e];if(this.dom.contains(n.dom.parentNode)){A.contentElement=n.dom.parentNode;break}}A.contentElement||(A.getContent=()=>X.empty)}return A}matchesNode(A,e,n){return this.dirty==tn&&A.eq(this.node)&&yc(e,this.outerDeco)&&n.eq(this.innerDeco)}get size(){return this.node.nodeSize}get border(){return this.node.isLeaf?0:1}updateChildren(A,e){let n=this.node.inlineContent,r=e,i=A.composing?this.localCompositionInfo(A,e):null,s=i&&i.pos>-1?i:null,a=i&&i.pos<0,c=new ME(this,s&&s.node,A);NE(this.node,this.innerDeco,(u,d,h)=>{u.spec.marks?c.syncToMarks(u.spec.marks,n,A):u.type.side>=0&&!h&&c.syncToMarks(d==this.node.childCount?VA.none:this.node.child(d).marks,n,A),c.placeWidget(u,A,r)},(u,d,h,B)=>{c.syncToMarks(u.marks,n,A);let m;c.findNodeMatch(u,d,h,B)||a&&A.state.selection.from>r&&A.state.selection.to<r+u.nodeSize&&(m=c.findIndexWithChild(i.node))>-1&&c.updateNodeAt(u,d,h,m,A)||c.updateNextNode(u,d,h,A,B)||c.addNode(u,d,h,A,r),r+=u.nodeSize}),c.syncToMarks([],n,A),this.node.isTextblock&&c.addTextblockHacks(),c.destroyRest(),(c.changed||this.dirty==Fi)&&(s&&this.protectLocalComposition(A,s),jh(this.contentDOM,this.children,A),Qi&&RE(this.dom))}localCompositionInfo(A,e){let{from:n,to:r}=A.state.selection;if(!(A.state.selection instanceof FA)||n<e||r>e+this.node.content.size)return null;let i=A.domSelectionRange(),s=KE(i.focusNode,i.focusOffset);if(!s||!this.dom.contains(s.parentNode))return null;if(this.node.inlineContent){let a=s.nodeValue,c=PE(this.node.content,a,n-e,r-e);return c<0?null:{node:s,pos:c,text:a}}else return{node:s,pos:-1,text:""}}protectLocalComposition(A,{node:e,pos:n,text:r}){if(this.getDesc(e))return;let i=e;for(;i.parentNode!=this.contentDOM;i=i.parentNode){for(;i.previousSibling;)i.parentNode.removeChild(i.previousSibling);for(;i.nextSibling;)i.parentNode.removeChild(i.nextSibling);i.pmViewDesc&&(i.pmViewDesc=void 0)}let s=new LE(this,i,e,r);A.input.compositionNodes.push(s),this.children=Qc(this.children,n,n+r.length,A,s)}update(A,e,n,r){return this.dirty==Bn||!A.sameMarkup(this.node)?!1:(this.updateInner(A,e,n,r),!0)}updateInner(A,e,n,r){this.updateOuterDeco(e),this.node=A,this.innerDeco=n,this.contentDOM&&this.updateChildren(r,this.posAtStart),this.dirty=tn}updateOuterDeco(A){if(yc(A,this.outerDeco))return;let e=this.nodeDOM.nodeType!=1,n=this.dom;this.dom=Ap(this.dom,this.nodeDOM,Cc(this.outerDeco,this.node,e),Cc(A,this.node,e)),this.dom!=n&&(n.pmViewDesc=void 0,this.dom.pmViewDesc=this),this.outerDeco=A}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 qh(t,A,e,n,r){return ep(n,A,t),new Vr(void 0,t,A,e,n,n,n,r,0)}class Ro extends Vr{constructor(A,e,n,r,i,s,a){super(A,e,n,r,i,null,s,a,0)}parseRule(){let A=this.nodeDOM.parentNode;for(;A&&A!=this.dom&&!A.pmIsDeco;)A=A.parentNode;return{skip:A||!0}}update(A,e,n,r){return this.dirty==Bn||this.dirty!=tn&&!this.inParent()||!A.sameMarkup(this.node)?!1:(this.updateOuterDeco(e),(this.dirty!=tn||A.text!=this.node.text)&&A.text!=this.nodeDOM.nodeValue&&(this.nodeDOM.nodeValue=A.text,r.trackWrites==this.nodeDOM&&(r.trackWrites=null)),this.node=A,this.dirty=tn,!0)}inParent(){let A=this.parent.contentDOM;for(let e=this.nodeDOM;e;e=e.parentNode)if(e==A)return!0;return!1}domFromPos(A){return{node:this.nodeDOM,offset:A}}localPosFromDOM(A,e,n){return A==this.nodeDOM?this.posAtStart+Math.min(e,this.node.text.length):super.localPosFromDOM(A,e,n)}ignoreMutation(A){return A.type!="characterData"&&A.type!="selection"}slice(A,e,n){let r=this.node.cut(A,e),i=document.createTextNode(r.text);return new Ro(this.parent,r,this.outerDeco,this.innerDeco,i,i,n)}markDirty(A,e){super.markDirty(A,e),this.dom!=this.nodeDOM&&(A==0||e==this.nodeDOM.nodeValue.length)&&(this.dirty=Bn)}get domAtom(){return!1}}class Zh extends ys{parseRule(){return{ignore:!0}}matchesHack(A){return this.dirty==tn&&this.dom.nodeName==A}get domAtom(){return!0}get ignoreForCoords(){return this.dom.nodeName=="IMG"}}class OE extends Vr{constructor(A,e,n,r,i,s,a,c,u,d){super(A,e,n,r,i,s,a,u,d),this.spec=c}update(A,e,n,r){if(this.dirty==Bn)return!1;if(this.spec.update){let i=this.spec.update(A,e,n);return i&&this.updateInner(A,e,n,r),i}else return!this.contentDOM&&!A.isLeaf?!1:super.update(A,e,n,r)}selectNode(){this.spec.selectNode?this.spec.selectNode():super.selectNode()}deselectNode(){this.spec.deselectNode?this.spec.deselectNode():super.deselectNode()}setSelection(A,e,n,r){this.spec.setSelection?this.spec.setSelection(A,e,n):super.setSelection(A,e,n,r)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}stopEvent(A){return this.spec.stopEvent?this.spec.stopEvent(A):!1}ignoreMutation(A){return this.spec.ignoreMutation?this.spec.ignoreMutation(A):super.ignoreMutation(A)}}function jh(t,A,e){let n=t.firstChild,r=!1;for(let i=0;i<A.length;i++){let s=A[i],a=s.dom;if(a.parentNode==t){for(;a!=n;)n=tp(n),r=!0;n=n.nextSibling}else r=!0,t.insertBefore(a,n);if(s instanceof Pr){let c=n?n.previousSibling:t.lastChild;jh(s.contentDOM,s.children,e),n=c?c.nextSibling:t.firstChild}}for(;n;)n=tp(n),r=!0;r&&e.trackWrites==t&&(e.trackWrites=null)}const Qs=function(t){t&&(this.nodeName=t)};Qs.prototype=Object.create(null);const Gr=[new Qs];function Cc(t,A,e){if(t.length==0)return Gr;let n=e?Gr[0]:new Qs,r=[n];for(let i=0;i<t.length;i++){let s=t[i].type.attrs;if(s){s.nodeName&&r.push(n=new Qs(s.nodeName));for(let a in s){let c=s[a];c!=null&&(e&&r.length==1&&r.push(n=new Qs(A.isInline?"span":"div")),a=="class"?n.class=(n.class?n.class+" ":"")+c:a=="style"?n.style=(n.style?n.style+";":"")+c:a!="nodeName"&&(n[a]=c))}}}return r}function Ap(t,A,e,n){if(e==Gr&&n==Gr)return A;let r=A;for(let i=0;i<n.length;i++){let s=n[i],a=e[i];if(i){let c;a&&a.nodeName==s.nodeName&&r!=t&&(c=r.parentNode)&&c.nodeName.toLowerCase()==s.nodeName||(c=document.createElement(s.nodeName),c.pmIsDeco=!0,c.appendChild(r),a=Gr[0]),r=c}_E(r,a||Gr[0],s)}return r}function _E(t,A,e){for(let n in A)n!="class"&&n!="style"&&n!="nodeName"&&!(n in e)&&t.removeAttribute(n);for(let n in e)n!="class"&&n!="style"&&n!="nodeName"&&e[n]!=A[n]&&t.setAttribute(n,e[n]);if(A.class!=e.class){let n=A.class?A.class.split(" ").filter(Boolean):[],r=e.class?e.class.split(" ").filter(Boolean):[];for(let i=0;i<n.length;i++)r.indexOf(n[i])==-1&&t.classList.remove(n[i]);for(let i=0;i<r.length;i++)n.indexOf(r[i])==-1&&t.classList.add(r[i]);t.classList.length==0&&t.removeAttribute("class")}if(A.style!=e.style){if(A.style){let n=/\s*([\w\-\xa1-\uffff]+)\s*:(?:"(?:\\.|[^"])*"|'(?:\\.|[^'])*'|\(.*?\)|[^;])*/g,r;for(;r=n.exec(A.style);)t.style.removeProperty(r[1])}e.style&&(t.style.cssText+=e.style)}}function ep(t,A,e){return Ap(t,t,Gr,Cc(A,e,t.nodeType!=1))}function yc(t,A){if(t.length!=A.length)return!1;for(let e=0;e<t.length;e++)if(!t[e].type.eq(A[e].type))return!1;return!0}function tp(t){let A=t.nextSibling;return t.parentNode.removeChild(t),A}class ME{constructor(A,e,n){this.lock=e,this.view=n,this.index=0,this.stack=[],this.changed=!1,this.top=A,this.preMatch=DE(A.node.content,A)}destroyBetween(A,e){if(A!=e){for(let n=A;n<e;n++)this.top.children[n].destroy();this.top.children.splice(A,e-A),this.changed=!0}}destroyRest(){this.destroyBetween(this.index,this.top.children.length)}syncToMarks(A,e,n){let r=0,i=this.stack.length>>1,s=Math.min(i,A.length);for(;r<s&&(r==i-1?this.top:this.stack[r+1<<1]).matchesMark(A[r])&&A[r].type.spec.spanning!==!1;)r++;for(;r<i;)this.destroyRest(),this.top.dirty=tn,this.index=this.stack.pop(),this.top=this.stack.pop(),i--;for(;i<A.length;){this.stack.push(this.top,this.index+1);let a=-1;for(let c=this.index;c<Math.min(this.index+3,this.top.children.length);c++){let u=this.top.children[c];if(u.matchesMark(A[i])&&!this.isLocked(u.dom)){a=c;break}}if(a>-1)a>this.index&&(this.changed=!0,this.destroyBetween(this.index,a)),this.top=this.top.children[this.index];else{let c=Pr.create(this.top,A[i],e,n);this.top.children.splice(this.index,0,c),this.top=c,this.changed=!0}this.index=0,i++}}findNodeMatch(A,e,n,r){let i=-1,s;if(r>=this.preMatch.index&&(s=this.preMatch.matches[r-this.preMatch.index]).parent==this.top&&s.matchesNode(A,e,n))i=this.top.children.indexOf(s,this.index);else for(let a=this.index,c=Math.min(this.top.children.length,a+5);a<c;a++){let u=this.top.children[a];if(u.matchesNode(A,e,n)&&!this.preMatch.matched.has(u)){i=a;break}}return i<0?!1:(this.destroyBetween(this.index,i),this.index++,!0)}updateNodeAt(A,e,n,r,i){let s=this.top.children[r];return s.dirty==Bn&&s.dom==s.contentDOM&&(s.dirty=Fi),s.update(A,e,n,i)?(this.destroyBetween(this.index,r),this.index++,!0):!1}findIndexWithChild(A){for(;;){let e=A.parentNode;if(!e)return-1;if(e==this.top.contentDOM){let n=A.pmViewDesc;if(n){for(let r=this.index;r<this.top.children.length;r++)if(this.top.children[r]==n)return r}return-1}A=e}}updateNextNode(A,e,n,r,i){for(let s=this.index;s<this.top.children.length;s++){let a=this.top.children[s];if(a instanceof Vr){let c=this.preMatch.matched.get(a);if(c!=null&&c!=i)return!1;let u=a.dom;if(!(this.isLocked(u)&&!(A.isText&&a.node&&a.node.isText&&a.nodeDOM.nodeValue==A.text&&a.dirty!=Bn&&yc(e,a.outerDeco)))&&a.update(A,e,n,r))return this.destroyBetween(this.index,s),a.dom!=u&&(this.changed=!0),this.index++,!0;break}}return!1}addNode(A,e,n,r,i){this.top.children.splice(this.index++,0,Vr.create(this.top,A,e,n,r,i)),this.changed=!0}placeWidget(A,e,n){let r=this.index<this.top.children.length?this.top.children[this.index]:null;if(r&&r.matchesWidget(A)&&(A==r.widget||!r.widget.type.toDOM.parentNode))this.index++;else{let i=new zh(this.top,A,e,n);this.top.children.splice(this.index++,0,i),this.changed=!0}}addTextblockHacks(){let A=this.top.children[this.index-1],e=this.top;for(;A instanceof Pr;)e=A,A=e.children[e.children.length-1];(!A||!(A instanceof Ro)||/\n$/.test(A.node.text)||this.view.requiresGeckoHackNode&&/\s$/.test(A.node.text))&&((At||je)&&A&&A.dom.contentEditable=="false"&&this.addHackNode("IMG",e),this.addHackNode("BR",this.top))}addHackNode(A,e){if(e==this.top&&this.index<e.children.length&&e.children[this.index].matchesHack(A))this.index++;else{let n=document.createElement(A);A=="IMG"&&(n.className="ProseMirror-separator",n.alt=""),A=="BR"&&(n.className="ProseMirror-trailingBreak");let r=new Zh(this.top,[],n,null);e!=this.top?e.children.push(r):e.children.splice(this.index++,0,r),this.changed=!0}}isLocked(A){return this.lock&&(A==this.lock||A.nodeType==1&&A.contains(this.lock.parentNode))}}function DE(t,A){let e=A,n=e.children.length,r=t.childCount,i=new Map,s=[];A:for(;r>0;){let a;for(;;)if(n){let u=e.children[n-1];if(u instanceof Pr)e=u,n=u.children.length;else{a=u,n--;break}}else{if(e==A)break A;n=e.parent.children.indexOf(e),e=e.parent}let c=a.node;if(c){if(c!=t.child(r-1))break;--r,i.set(a,r),s.push(a)}}return{index:r,matched:i,matches:s.reverse()}}function kE(t,A){return t.type.side-A.type.side}function NE(t,A,e,n){let r=A.locals(t),i=0;if(r.length==0){for(let u=0;u<t.childCount;u++){let d=t.child(u);n(d,r,A.forChild(i,d),u),i+=d.nodeSize}return}let s=0,a=[],c=null;for(let u=0;;){if(s<r.length&&r[s].to==i){let C=r[s++],E;for(;s<r.length&&r[s].to==i;)(E||(E=[C])).push(r[s++]);if(E){E.sort(kE);for(let S=0;S<E.length;S++)e(E[S],u,!!c)}else e(C,u,!!c)}let d,h;if(c)h=-1,d=c,c=null;else if(u<t.childCount)h=u,d=t.child(u++);else break;for(let C=0;C<a.length;C++)a[C].to<=i&&a.splice(C--,1);for(;s<r.length&&r[s].from<=i&&r[s].to>i;)a.push(r[s++]);let B=i+d.nodeSize;if(d.isText){let C=B;s<r.length&&r[s].from<C&&(C=r[s].from);for(let E=0;E<a.length;E++)a[E].to<C&&(C=a[E].to);C<B&&(c=d.cut(C-i),d=d.cut(0,C-i),B=C,h=-1)}let m=d.isInline&&!d.isLeaf?a.filter(C=>!C.inline):a.slice();n(d,m,A.forChild(i,d),h),i=B}}function RE(t){if(t.nodeName=="UL"||t.nodeName=="OL"){let A=t.style.cssText;t.style.cssText=A+"; list-style: square !important",window.getComputedStyle(t).listStyle,t.style.cssText=A}}function KE(t,A){for(;;){if(t.nodeType==3)return t;if(t.nodeType==1&&A>0){if(t.childNodes.length>A&&t.childNodes[A].nodeType==3)return t.childNodes[A];t=t.childNodes[A-1],A=gn(t)}else if(t.nodeType==1&&A<t.childNodes.length)t=t.childNodes[A],A=0;else return null}}function PE(t,A,e,n){for(let r=0,i=0;r<t.childCount&&i<=n;){let s=t.child(r++),a=i;if(i+=s.nodeSize,!s.isText)continue;let c=s.text;for(;r<t.childCount;){let u=t.child(r++);if(i+=u.nodeSize,!u.isText)break;c+=u.text}if(i>=e){let u=a<n?c.lastIndexOf(A,n-a-1):-1;if(u>=0&&u+A.length+a>=e)return a+u;if(e==n&&c.length>=n+A.length-a&&c.slice(n-a,n-a+A.length)==A)return n}}return-1}function Qc(t,A,e,n,r){let i=[];for(let s=0,a=0;s<t.length;s++){let c=t[s],u=a,d=a+=c.size;u>=e||d<=A?i.push(c):(u<A&&i.push(c.slice(0,A-u,n)),r&&(i.push(r),r=void 0),d>e&&i.push(c.slice(e-u,c.size,n)))}return i}function Ec(t,A=null){let e=t.domSelectionRange(),n=t.state.doc;if(!e.focusNode)return null;let r=t.docView.nearestDesc(e.focusNode),i=r&&r.size==0,s=t.docView.posFromDOM(e.focusNode,e.focusOffset,1);if(s<0)return null;let a=n.resolve(s),c,u;if(ko(e)){for(c=a;r&&!r.node;)r=r.parent;let d=r.node;if(r&&d.isAtom&&uA.isSelectable(d)&&r.parent&&!(d.isInline&&dE(e.focusNode,e.focusOffset,r.dom))){let h=r.posBefore;u=new uA(s==h?a:n.resolve(h))}}else{let d=t.docView.posFromDOM(e.anchorNode,e.anchorOffset,1);if(d<0)return null;c=n.resolve(d)}if(!u){let d=A=="pointer"||t.state.selection.head<a.pos&&!i?1:-1;u=Uc(t,c,a,d)}return u}function np(t){return t.editable?t.hasFocus():cp(t)&&document.activeElement&&document.activeElement.contains(t.dom)}function Sn(t,A=!1){let e=t.state.selection;if(op(t,e),!!np(t)){if(!A&&t.input.mouseDown&&t.input.mouseDown.allowDefault&&je){let n=t.domSelectionRange(),r=t.domObserver.currentSelection;if(n.anchorNode&&r.anchorNode&&Rr(n.anchorNode,n.anchorOffset,r.anchorNode,r.anchorOffset)){t.input.mouseDown.delayedSelectionSync=!0,t.domObserver.setCurSelection();return}}if(t.domObserver.disconnectSelection(),t.cursorWrapper)GE(t);else{let{anchor:n,head:r}=e,i,s;rp&&!(e instanceof FA)&&(e.$from.parent.inlineContent||(i=ip(t,e.from)),!e.empty&&!e.$from.parent.inlineContent&&(s=ip(t,e.to))),t.docView.setSelection(n,r,t.root,A),rp&&(i&&sp(i),s&&sp(s)),e.visible?t.dom.classList.remove("ProseMirror-hideselection"):(t.dom.classList.add("ProseMirror-hideselection"),"onselectionchange"in document&&VE(t))}t.domObserver.setCurSelection(),t.domObserver.connectSelection()}}const rp=At||je&&gE<63;function ip(t,A){let{node:e,offset:n}=t.docView.domFromPos(A,0),r=n<e.childNodes.length?e.childNodes[n]:null,i=n?e.childNodes[n-1]:null;if(At&&r&&r.contentEditable=="false")return Fc(r);if((!r||r.contentEditable=="false")&&(!i||i.contentEditable=="false")){if(r)return Fc(r);if(i)return Fc(i)}}function Fc(t){return t.contentEditable="true",At&&t.draggable&&(t.draggable=!1,t.wasDraggable=!0),t}function sp(t){t.contentEditable="false",t.wasDraggable&&(t.draggable=!0,t.wasDraggable=null)}function VE(t){let A=t.dom.ownerDocument;A.removeEventListener("selectionchange",t.input.hideSelectionGuard);let e=t.domSelectionRange(),n=e.anchorNode,r=e.anchorOffset;A.addEventListener("selectionchange",t.input.hideSelectionGuard=()=>{(e.anchorNode!=n||e.anchorOffset!=r)&&(A.removeEventListener("selectionchange",t.input.hideSelectionGuard),setTimeout(()=>{(!np(t)||t.state.selection.visible)&&t.dom.classList.remove("ProseMirror-hideselection")},20))})}function GE(t){let A=t.domSelection(),e=document.createRange(),n=t.cursorWrapper.dom,r=n.nodeName=="IMG";r?e.setEnd(n.parentNode,Qt(n)+1):e.setEnd(n,0),e.collapse(!1),A.removeAllRanges(),A.addRange(e),!r&&!t.state.selection.visible&&ht&&nr<=11&&(n.disabled=!0,n.disabled=!1)}function op(t,A){if(A instanceof uA){let e=t.docView.descAt(A.from);e!=t.lastSelectedViewDesc&&(ap(t),e&&e.selectNode(),t.lastSelectedViewDesc=e)}else ap(t)}function ap(t){t.lastSelectedViewDesc&&(t.lastSelectedViewDesc.parent&&t.lastSelectedViewDesc.deselectNode(),t.lastSelectedViewDesc=void 0)}function Uc(t,A,e,n){return t.someProp("createSelectionBetween",r=>r(t,A,e))||FA.between(A,e,n)}function lp(t){return t.editable&&!t.hasFocus()?!1:cp(t)}function cp(t){let A=t.domSelectionRange();if(!A.anchorNode)return!1;try{return t.dom.contains(A.anchorNode.nodeType==3?A.anchorNode.parentNode:A.anchorNode)&&(t.editable||t.dom.contains(A.focusNode.nodeType==3?A.focusNode.parentNode:A.focusNode))}catch{return!1}}function WE(t){let A=t.docView.domFromPos(t.state.selection.anchor,0),e=t.domSelectionRange();return Rr(A.node,A.offset,e.anchorNode,e.anchorOffset)}function vc(t,A){let{$anchor:e,$head:n}=t.selection,r=A>0?e.max(n):e.min(n),i=r.parent.inlineContent?r.depth?t.doc.resolve(A>0?r.after():r.before()):null:r;return i&&yA.findFrom(i,A)}function Wr(t,A){return t.dispatch(t.state.tr.setSelection(A).scrollIntoView()),!0}function up(t,A,e){let n=t.state.selection;if(n instanceof FA){if(!n.empty||e.indexOf("s")>-1)return!1;if(t.endOfTextblock(A>0?"right":"left")){let r=vc(t.state,A);return r&&r instanceof uA?Wr(t,r):!1}else if(!(kt&&e.indexOf("m")>-1)){let r=n.$head,i=r.textOffset?null:A<0?r.nodeBefore:r.nodeAfter,s;if(!i||i.isText)return!1;let a=A<0?r.pos-i.nodeSize:r.pos;return i.isAtom||(s=t.docView.descAt(a))&&!s.contentDOM?uA.isSelectable(i)?Wr(t,new uA(A<0?t.state.doc.resolve(r.pos-i.nodeSize):r)):No?Wr(t,new FA(t.state.doc.resolve(A<0?a:a+i.nodeSize))):!1:!1}}else{if(n instanceof uA&&n.node.isInline)return Wr(t,new FA(A>0?n.$to:n.$from));{let r=vc(t.state,A);return r?Wr(t,r):!1}}}function Ko(t){return t.nodeType==3?t.nodeValue.length:t.childNodes.length}function Es(t){let A=t.pmViewDesc;return A&&A.size==0&&(t.nextSibling||t.nodeName!="BR")}function bc(t){let A=t.domSelectionRange(),e=A.focusNode,n=A.focusOffset;if(!e)return;let r,i,s=!1;for(An&&e.nodeType==1&&n<Ko(e)&&Es(e.childNodes[n])&&(s=!0);;)if(n>0){if(e.nodeType!=1)break;{let a=e.childNodes[n-1];if(Es(a))r=e,i=--n;else if(a.nodeType==3)e=a,n=e.nodeValue.length;else break}}else{if(fp(e))break;{let a=e.previousSibling;for(;a&&Es(a);)r=e.parentNode,i=Qt(a),a=a.previousSibling;if(a)e=a,n=Ko(e);else{if(e=e.parentNode,e==t.dom)break;n=0}}}s?Sc(t,e,n):r&&Sc(t,r,i)}function Ic(t){let A=t.domSelectionRange(),e=A.focusNode,n=A.focusOffset;if(!e)return;let r=Ko(e),i,s;for(;;)if(n<r){if(e.nodeType!=1)break;let a=e.childNodes[n];if(Es(a))i=e,s=++n;else break}else{if(fp(e))break;{let a=e.nextSibling;for(;a&&Es(a);)i=a.parentNode,s=Qt(a)+1,a=a.nextSibling;if(a)e=a,n=0,r=Ko(e);else{if(e=e.parentNode,e==t.dom)break;n=r=0}}}i&&Sc(t,i,s)}function fp(t){let A=t.pmViewDesc;return A&&A.node&&A.node.isBlock}function Sc(t,A,e){let n=t.domSelection();if(ko(n)){let i=document.createRange();i.setEnd(A,e),i.setStart(A,e),n.removeAllRanges(),n.addRange(i)}else n.extend&&n.extend(A,e);t.domObserver.setCurSelection();let{state:r}=t;setTimeout(()=>{t.state==r&&Sn(t)},50)}function dp(t,A,e){let n=t.state.selection;if(n instanceof FA&&!n.empty||e.indexOf("s")>-1||kt&&e.indexOf("m")>-1)return!1;let{$from:r,$to:i}=n;if(!r.parent.inlineContent||t.endOfTextblock(A<0?"up":"down")){let s=vc(t.state,A);if(s&&s instanceof uA)return Wr(t,s)}if(!r.parent.inlineContent){let s=A<0?r:i,a=n instanceof jt?yA.near(s,A):yA.findFrom(s,A);return a?Wr(t,a):!1}return!1}function hp(t,A){if(!(t.state.selection instanceof FA))return!0;let{$head:e,$anchor:n,empty:r}=t.state.selection;if(!e.sameParent(n))return!0;if(!r)return!1;if(t.endOfTextblock(A>0?"forward":"backward"))return!0;let i=!e.textOffset&&(A<0?e.nodeBefore:e.nodeAfter);if(i&&!i.isText){let s=t.state.tr;return A<0?s.delete(e.pos-i.nodeSize,e.pos):s.delete(e.pos,e.pos+i.nodeSize),t.dispatch(s),!0}return!1}function pp(t,A,e){t.domObserver.stop(),A.contentEditable=e,t.domObserver.start()}function JE(t){if(!At||t.state.selection.$head.parentOffset>0)return!1;let{focusNode:A,focusOffset:e}=t.domSelectionRange();if(A&&A.nodeType==1&&e==0&&A.firstChild&&A.firstChild.contentEditable=="false"){let n=A.firstChild;pp(t,n,"true"),setTimeout(()=>pp(t,n,"false"),20)}return!1}function $E(t){let A="";return t.ctrlKey&&(A+="c"),t.metaKey&&(A+="m"),t.altKey&&(A+="a"),t.shiftKey&&(A+="s"),A}function XE(t,A){let e=A.keyCode,n=$E(A);return e==8||kt&&e==72&&n=="c"?hp(t,-1)||bc(t):e==46||kt&&e==68&&n=="c"?hp(t,1)||Ic(t):e==13||e==27?!0:e==37||kt&&e==66&&n=="c"?up(t,-1,n)||bc(t):e==39||kt&&e==70&&n=="c"?up(t,1,n)||Ic(t):e==38||kt&&e==80&&n=="c"?dp(t,-1,n)||bc(t):e==40||kt&&e==78&&n=="c"?JE(t)||dp(t,1,n)||Ic(t):n==(kt?"m":"c")&&(e==66||e==73||e==89||e==90)}function gp(t,A){t.someProp("transformCopied",m=>{A=m(A,t)});let e=[],{content:n,openStart:r,openEnd:i}=A;for(;r>1&&i>1&&n.childCount==1&&n.firstChild.childCount==1;){r--,i--;let m=n.firstChild;e.push(m.type.name,m.attrs!=m.type.defaultAttrs?m.attrs:null),n=m.content}let s=t.someProp("clipboardSerializer")||dn.fromSchema(t.state.schema),a=Fp(),c=a.createElement("div");c.appendChild(s.serializeFragment(n,{document:a}));let u=c.firstChild,d,h=0;for(;u&&u.nodeType==1&&(d=Qp[u.nodeName.toLowerCase()]);){for(let m=d.length-1;m>=0;m--){let C=a.createElement(d[m]);for(;c.firstChild;)C.appendChild(c.firstChild);c.appendChild(C),h++}u=c.firstChild}u&&u.nodeType==1&&u.setAttribute("data-pm-slice",`${r} ${i}${h?` -${h}`:""} ${JSON.stringify(e)}`);let B=t.someProp("clipboardTextSerializer",m=>m(A,t))||A.content.textBetween(0,A.content.size,`
7
+
8
+ `);return{dom:c,text:B}}function Bp(t,A,e,n,r){let i=r.parent.type.spec.code,s,a;if(!e&&!A)return null;let c=A&&(n||i||!e);if(c){if(t.someProp("transformPastedText",B=>{A=B(A,i||n,t)}),i)return A?new j(X.from(t.state.schema.text(A.replace(/\r\n?/g,`
9
+ `))),0,0):j.empty;let h=t.someProp("clipboardTextParser",B=>B(A,r,n,t));if(h)a=h;else{let B=r.marks(),{schema:m}=t.state,C=dn.fromSchema(m);s=document.createElement("div"),A.split(/(?:\r\n?|\n)+/).forEach(E=>{let S=s.appendChild(document.createElement("p"));E&&S.appendChild(C.serializeNode(m.text(E,B)))})}}else t.someProp("transformPastedHTML",h=>{e=h(e,t)}),s=qE(e),No&&ZE(s);let u=s&&s.querySelector("[data-pm-slice]"),d=u&&/^(\d+) (\d+)(?: -(\d+))? (.*)/.exec(u.getAttribute("data-pm-slice")||"");if(d&&d[3])for(let h=+d[3];h>0;h--){let B=s.firstChild;for(;B&&B.nodeType!=1;)B=B.nextSibling;if(!B)break;s=B}if(a||(a=(t.someProp("clipboardParser")||t.someProp("domParser")||di.fromSchema(t.state.schema)).parseSlice(s,{preserveWhitespace:!!(c||d),context:r,ruleFromNode(B){return B.nodeName=="BR"&&!B.nextSibling&&B.parentNode&&!YE.test(B.parentNode.nodeName)?{ignore:!0}:null}})),d)a=jE(yp(a,+d[1],+d[2]),d[4]);else if(a=j.maxOpen(zE(a.content,r),!0),a.openStart||a.openEnd){let h=0,B=0;for(let m=a.content.firstChild;h<a.openStart&&!m.type.spec.isolating;h++,m=m.firstChild);for(let m=a.content.lastChild;B<a.openEnd&&!m.type.spec.isolating;B++,m=m.lastChild);a=yp(a,h,B)}return t.someProp("transformPasted",h=>{a=h(a,t)}),a}const YE=/^(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 zE(t,A){if(t.childCount<2)return t;for(let e=A.depth;e>=0;e--){let r=A.node(e).contentMatchAt(A.index(e)),i,s=[];if(t.forEach(a=>{if(!s)return;let c=r.findWrapping(a.type),u;if(!c)return s=null;if(u=s.length&&i.length&&wp(c,i,a,s[s.length-1],0))s[s.length-1]=u;else{s.length&&(s[s.length-1]=Cp(s[s.length-1],i.length));let d=mp(a,c);s.push(d),r=r.matchType(d.type),i=c}}),s)return X.from(s)}return t}function mp(t,A,e=0){for(let n=A.length-1;n>=e;n--)t=A[n].create(null,X.from(t));return t}function wp(t,A,e,n,r){if(r<t.length&&r<A.length&&t[r]==A[r]){let i=wp(t,A,e,n.lastChild,r+1);if(i)return n.copy(n.content.replaceChild(n.childCount-1,i));if(n.contentMatchAt(n.childCount).matchType(r==t.length-1?e.type:t[r+1]))return n.copy(n.content.append(X.from(mp(e,t,r+1))))}}function Cp(t,A){if(A==0)return t;let e=t.content.replaceChild(t.childCount-1,Cp(t.lastChild,A-1)),n=t.contentMatchAt(t.childCount).fillBefore(X.empty,!0);return t.copy(e.append(n))}function Tc(t,A,e,n,r,i){let s=A<0?t.firstChild:t.lastChild,a=s.content;return r<n-1&&(a=Tc(a,A,e,n,r+1,i)),r>=e&&(a=A<0?s.contentMatchAt(0).fillBefore(a,t.childCount>1||i<=r).append(a):a.append(s.contentMatchAt(s.childCount).fillBefore(X.empty,!0))),t.replaceChild(A<0?0:t.childCount-1,s.copy(a))}function yp(t,A,e){return A<t.openStart&&(t=new j(Tc(t.content,-1,A,t.openStart,0,t.openEnd),A,t.openEnd)),e<t.openEnd&&(t=new j(Tc(t.content,1,e,t.openEnd,0,0),t.openStart,e)),t}const Qp={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 Ep=null;function Fp(){return Ep||(Ep=document.implementation.createHTMLDocument("title"))}function qE(t){let A=/^(\s*<meta [^>]*>)*/.exec(t);A&&(t=t.slice(A[0].length));let e=Fp().createElement("div"),n=/<([a-z][^>\s]+)/i.exec(t),r;if((r=n&&Qp[n[1].toLowerCase()])&&(t=r.map(i=>"<"+i+">").join("")+t+r.map(i=>"</"+i+">").reverse().join("")),e.innerHTML=t,r)for(let i=0;i<r.length;i++)e=e.querySelector(r[i])||e;return e}function ZE(t){let A=t.querySelectorAll(je?"span:not([class]):not([style])":"span.Apple-converted-space");for(let e=0;e<A.length;e++){let n=A[e];n.childNodes.length==1&&n.textContent==" "&&n.parentNode&&n.parentNode.replaceChild(t.ownerDocument.createTextNode(" "),n)}}function jE(t,A){if(!t.size)return t;let e=t.content.firstChild.type.schema,n;try{n=JSON.parse(A)}catch{return t}let{content:r,openStart:i,openEnd:s}=t;for(let a=n.length-2;a>=0;a-=2){let c=e.nodes[n[a]];if(!c||c.hasRequiredAttrs())break;r=X.from(c.create(n[a+1],r)),i++,s++}return new j(r,i,s)}const et={},tt={},AF={touchstart:!0,touchmove:!0};class eF{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.domChangeCount=0,this.eventHandlers=Object.create(null),this.hideSelectionGuard=null}}function tF(t){for(let A in et){let e=et[A];t.dom.addEventListener(A,t.input.eventHandlers[A]=n=>{rF(t,n)&&!Hc(t,n)&&(t.editable||!(n.type in tt))&&e(t,n)},AF[A]?{passive:!0}:void 0)}At&&t.dom.addEventListener("input",()=>null),xc(t)}function sr(t,A){t.input.lastSelectionOrigin=A,t.input.lastSelectionTime=Date.now()}function nF(t){t.domObserver.stop();for(let A in t.input.eventHandlers)t.dom.removeEventListener(A,t.input.eventHandlers[A]);clearTimeout(t.input.composingTimeout),clearTimeout(t.input.lastIOSEnterFallbackTimeout)}function xc(t){t.someProp("handleDOMEvents",A=>{for(let e in A)t.input.eventHandlers[e]||t.dom.addEventListener(e,t.input.eventHandlers[e]=n=>Hc(t,n))})}function Hc(t,A){return t.someProp("handleDOMEvents",e=>{let n=e[A.type];return n?n(t,A)||A.defaultPrevented:!1})}function rF(t,A){if(!A.bubbles)return!0;if(A.defaultPrevented)return!1;for(let e=A.target;e!=t.dom;e=e.parentNode)if(!e||e.nodeType==11||e.pmViewDesc&&e.pmViewDesc.stopEvent(A))return!1;return!0}function iF(t,A){!Hc(t,A)&&et[A.type]&&(t.editable||!(A.type in tt))&&et[A.type](t,A)}tt.keydown=(t,A)=>{let e=A;if(t.input.shiftKey=e.keyCode==16||e.shiftKey,!vp(t,e)&&(t.input.lastKeyCode=e.keyCode,t.input.lastKeyCodeTime=Date.now(),!(en&&je&&e.keyCode==13)))if(e.keyCode!=229&&t.domObserver.forceFlush(),Qi&&e.keyCode==13&&!e.ctrlKey&&!e.altKey&&!e.metaKey){let n=Date.now();t.input.lastIOSEnter=n,t.input.lastIOSEnterFallbackTimeout=setTimeout(()=>{t.input.lastIOSEnter==n&&(t.someProp("handleKeyDown",r=>r(t,Kr(13,"Enter"))),t.input.lastIOSEnter=0)},200)}else t.someProp("handleKeyDown",n=>n(t,e))||XE(t,e)?e.preventDefault():sr(t,"key")},tt.keyup=(t,A)=>{A.keyCode==16&&(t.input.shiftKey=!1)},tt.keypress=(t,A)=>{let e=A;if(vp(t,e)||!e.charCode||e.ctrlKey&&!e.altKey||kt&&e.metaKey)return;if(t.someProp("handleKeyPress",r=>r(t,e))){e.preventDefault();return}let n=t.state.selection;if(!(n instanceof FA)||!n.$from.sameParent(n.$to)){let r=String.fromCharCode(e.charCode);!/[\r\n]/.test(r)&&!t.someProp("handleTextInput",i=>i(t,n.$from.pos,n.$to.pos,r))&&t.dispatch(t.state.tr.insertText(r).scrollIntoView()),e.preventDefault()}};function Po(t){return{left:t.clientX,top:t.clientY}}function sF(t,A){let e=A.x-t.clientX,n=A.y-t.clientY;return e*e+n*n<100}function Lc(t,A,e,n,r){if(n==-1)return!1;let i=t.state.doc.resolve(n);for(let s=i.depth+1;s>0;s--)if(t.someProp(A,a=>s>i.depth?a(t,e,i.nodeAfter,i.before(s),r,!0):a(t,e,i.node(s),i.before(s),r,!1)))return!0;return!1}function Ui(t,A,e){t.focused||t.focus();let n=t.state.tr.setSelection(A);e=="pointer"&&n.setMeta("pointer",!0),t.dispatch(n)}function oF(t,A){if(A==-1)return!1;let e=t.state.doc.resolve(A),n=e.nodeAfter;return n&&n.isAtom&&uA.isSelectable(n)?(Ui(t,new uA(e),"pointer"),!0):!1}function aF(t,A){if(A==-1)return!1;let e=t.state.selection,n,r;e instanceof uA&&(n=e.node);let i=t.state.doc.resolve(A);for(let s=i.depth+1;s>0;s--){let a=s>i.depth?i.nodeAfter:i.node(s);if(uA.isSelectable(a)){n&&e.$from.depth>0&&s>=e.$from.depth&&i.before(e.$from.depth+1)==e.$from.pos?r=i.before(e.$from.depth):r=i.before(s);break}}return r!=null?(Ui(t,uA.create(t.state.doc,r),"pointer"),!0):!1}function lF(t,A,e,n,r){return Lc(t,"handleClickOn",A,e,n)||t.someProp("handleClick",i=>i(t,A,n))||(r?aF(t,e):oF(t,e))}function cF(t,A,e,n){return Lc(t,"handleDoubleClickOn",A,e,n)||t.someProp("handleDoubleClick",r=>r(t,A,n))}function uF(t,A,e,n){return Lc(t,"handleTripleClickOn",A,e,n)||t.someProp("handleTripleClick",r=>r(t,A,n))||fF(t,e,n)}function fF(t,A,e){if(e.button!=0)return!1;let n=t.state.doc;if(A==-1)return n.inlineContent?(Ui(t,FA.create(n,0,n.content.size),"pointer"),!0):!1;let r=n.resolve(A);for(let i=r.depth+1;i>0;i--){let s=i>r.depth?r.nodeAfter:r.node(i),a=r.before(i);if(s.inlineContent)Ui(t,FA.create(n,a+1,a+1+s.content.size),"pointer");else if(uA.isSelectable(s))Ui(t,uA.create(n,a),"pointer");else continue;return!0}}function Oc(t){return Vo(t)}const Up=kt?"metaKey":"ctrlKey";et.mousedown=(t,A)=>{let e=A;t.input.shiftKey=e.shiftKey;let n=Oc(t),r=Date.now(),i="singleClick";r-t.input.lastClick.time<500&&sF(e,t.input.lastClick)&&!e[Up]&&(t.input.lastClick.type=="singleClick"?i="doubleClick":t.input.lastClick.type=="doubleClick"&&(i="tripleClick")),t.input.lastClick={time:r,x:e.clientX,y:e.clientY,type:i};let s=t.posAtCoords(Po(e));s&&(i=="singleClick"?(t.input.mouseDown&&t.input.mouseDown.done(),t.input.mouseDown=new dF(t,s,e,!!n)):(i=="doubleClick"?cF:uF)(t,s.pos,s.inside,e)?e.preventDefault():sr(t,"pointer"))};class dF{constructor(A,e,n,r){this.view=A,this.pos=e,this.event=n,this.flushed=r,this.delayedSelectionSync=!1,this.mightDrag=null,this.startDoc=A.state.doc,this.selectNode=!!n[Up],this.allowDefault=n.shiftKey;let i,s;if(e.inside>-1)i=A.state.doc.nodeAt(e.inside),s=e.inside;else{let d=A.state.doc.resolve(e.pos);i=d.parent,s=d.depth?d.before():0}const a=r?null:n.target,c=a?A.docView.nearestDesc(a,!0):null;this.target=c?c.dom:null;let{selection:u}=A.state;(n.button==0&&i.type.spec.draggable&&i.type.spec.selectable!==!1||u instanceof uA&&u.from<=s&&u.to>s)&&(this.mightDrag={node:i,pos:s,addAttr:!!(this.target&&!this.target.draggable),setUneditable:!!(this.target&&An&&!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()),A.root.addEventListener("mouseup",this.up=this.up.bind(this)),A.root.addEventListener("mousemove",this.move=this.move.bind(this)),sr(A,"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(()=>Sn(this.view)),this.view.input.mouseDown=null}up(A){if(this.done(),!this.view.dom.contains(A.target))return;let e=this.pos;this.view.state.doc!=this.startDoc&&(e=this.view.posAtCoords(Po(A))),this.updateAllowDefault(A),this.allowDefault||!e?sr(this.view,"pointer"):lF(this.view,e.pos,e.inside,A,this.selectNode)?A.preventDefault():A.button==0&&(this.flushed||At&&this.mightDrag&&!this.mightDrag.node.isAtom||je&&!this.view.state.selection.visible&&Math.min(Math.abs(e.pos-this.view.state.selection.from),Math.abs(e.pos-this.view.state.selection.to))<=2)?(Ui(this.view,yA.near(this.view.state.doc.resolve(e.pos)),"pointer"),A.preventDefault()):sr(this.view,"pointer")}move(A){this.updateAllowDefault(A),sr(this.view,"pointer"),A.buttons==0&&this.done()}updateAllowDefault(A){!this.allowDefault&&(Math.abs(this.event.x-A.clientX)>4||Math.abs(this.event.y-A.clientY)>4)&&(this.allowDefault=!0)}}et.touchstart=t=>{t.input.lastTouch=Date.now(),Oc(t),sr(t,"pointer")},et.touchmove=t=>{t.input.lastTouch=Date.now(),sr(t,"pointer")},et.contextmenu=t=>Oc(t);function vp(t,A){return t.composing?!0:At&&Math.abs(A.timeStamp-t.input.compositionEndedAt)<500?(t.input.compositionEndedAt=-2e8,!0):!1}const hF=en?5e3:-1;tt.compositionstart=tt.compositionupdate=t=>{if(!t.composing){t.domObserver.flush();let{state:A}=t,e=A.selection.$from;if(A.selection.empty&&(A.storedMarks||!e.textOffset&&e.parentOffset&&e.nodeBefore.marks.some(n=>n.type.spec.inclusive===!1)))t.markCursor=t.state.storedMarks||e.marks(),Vo(t,!0),t.markCursor=null;else if(Vo(t),An&&A.selection.empty&&e.parentOffset&&!e.textOffset&&e.nodeBefore.marks.length){let n=t.domSelectionRange();for(let r=n.focusNode,i=n.focusOffset;r&&r.nodeType==1&&i!=0;){let s=i<0?r.lastChild:r.childNodes[i-1];if(!s)break;if(s.nodeType==3){t.domSelection().collapse(s,s.nodeValue.length);break}else r=s,i=-1}}t.input.composing=!0}bp(t,hF)},tt.compositionend=(t,A)=>{t.composing&&(t.input.composing=!1,t.input.compositionEndedAt=A.timeStamp,bp(t,20))};function bp(t,A){clearTimeout(t.input.composingTimeout),A>-1&&(t.input.composingTimeout=setTimeout(()=>Vo(t),A))}function Ip(t){for(t.composing&&(t.input.composing=!1,t.input.compositionEndedAt=pF());t.input.compositionNodes.length>0;)t.input.compositionNodes.pop().markParentsDirty()}function pF(){let t=document.createEvent("Event");return t.initEvent("event",!0,!0),t.timeStamp}function Vo(t,A=!1){if(!(en&&t.domObserver.flushingSoon>=0)){if(t.domObserver.forceFlush(),Ip(t),A||t.docView&&t.docView.dirty){let e=Ec(t);return e&&!e.eq(t.state.selection)?t.dispatch(t.state.tr.setSelection(e)):t.updateState(t.state),!0}return!1}}function gF(t,A){if(!t.dom.parentNode)return;let e=t.dom.parentNode.appendChild(document.createElement("div"));e.appendChild(A),e.style.cssText="position: fixed; left: -10000px; top: 10px";let n=getSelection(),r=document.createRange();r.selectNodeContents(A),t.dom.blur(),n.removeAllRanges(),n.addRange(r),setTimeout(()=>{e.parentNode&&e.parentNode.removeChild(e),t.focus()},50)}const vi=ht&&nr<15||Qi&&BE<604;et.copy=tt.cut=(t,A)=>{let e=A,n=t.state.selection,r=e.type=="cut";if(n.empty)return;let i=vi?null:e.clipboardData,s=n.content(),{dom:a,text:c}=gp(t,s);i?(e.preventDefault(),i.clearData(),i.setData("text/html",a.innerHTML),i.setData("text/plain",c)):gF(t,a),r&&t.dispatch(t.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent","cut"))};function BF(t){return t.openStart==0&&t.openEnd==0&&t.content.childCount==1?t.content.firstChild:null}function mF(t,A){if(!t.dom.parentNode)return;let e=t.input.shiftKey||t.state.selection.$from.parent.type.spec.code,n=t.dom.parentNode.appendChild(document.createElement(e?"textarea":"div"));e||(n.contentEditable="true"),n.style.cssText="position: fixed; left: -10000px; top: 10px",n.focus(),setTimeout(()=>{t.focus(),n.parentNode&&n.parentNode.removeChild(n),e?Fs(t,n.value,null,t.input.shiftKey,A):Fs(t,n.textContent,n.innerHTML,t.input.shiftKey,A)},50)}function Fs(t,A,e,n,r){let i=Bp(t,A,e,n,t.state.selection.$from);if(t.someProp("handlePaste",c=>c(t,r,i||j.empty)))return!0;if(!i)return!1;let s=BF(i),a=s?t.state.tr.replaceSelectionWith(s,t.input.shiftKey):t.state.tr.replaceSelection(i);return t.dispatch(a.scrollIntoView().setMeta("paste",!0).setMeta("uiEvent","paste")),!0}tt.paste=(t,A)=>{let e=A;if(t.composing&&!en)return;let n=vi?null:e.clipboardData;n&&Fs(t,n.getData("text/plain"),n.getData("text/html"),t.input.shiftKey,e)?e.preventDefault():mF(t,e)};class wF{constructor(A,e){this.slice=A,this.move=e}}const Sp=kt?"altKey":"ctrlKey";et.dragstart=(t,A)=>{let e=A,n=t.input.mouseDown;if(n&&n.done(),!e.dataTransfer)return;let r=t.state.selection,i=r.empty?null:t.posAtCoords(Po(e));if(!(i&&i.pos>=r.from&&i.pos<=(r instanceof uA?r.to-1:r.to))){if(n&&n.mightDrag)t.dispatch(t.state.tr.setSelection(uA.create(t.state.doc,n.mightDrag.pos)));else if(e.target&&e.target.nodeType==1){let u=t.docView.nearestDesc(e.target,!0);u&&u.node.type.spec.draggable&&u!=t.docView&&t.dispatch(t.state.tr.setSelection(uA.create(t.state.doc,u.posBefore)))}}let s=t.state.selection.content(),{dom:a,text:c}=gp(t,s);e.dataTransfer.clearData(),e.dataTransfer.setData(vi?"Text":"text/html",a.innerHTML),e.dataTransfer.effectAllowed="copyMove",vi||e.dataTransfer.setData("text/plain",c),t.dragging=new wF(s,!e[Sp])},et.dragend=t=>{let A=t.dragging;window.setTimeout(()=>{t.dragging==A&&(t.dragging=null)},50)},tt.dragover=tt.dragenter=(t,A)=>A.preventDefault(),tt.drop=(t,A)=>{let e=A,n=t.dragging;if(t.dragging=null,!e.dataTransfer)return;let r=t.posAtCoords(Po(e));if(!r)return;let i=t.state.doc.resolve(r.pos),s=n&&n.slice;s?t.someProp("transformPasted",C=>{s=C(s,t)}):s=Bp(t,e.dataTransfer.getData(vi?"Text":"text/plain"),vi?null:e.dataTransfer.getData("text/html"),!1,i);let a=!!(n&&!e[Sp]);if(t.someProp("handleDrop",C=>C(t,e,s||j.empty,a))){e.preventDefault();return}if(!s)return;e.preventDefault();let c=s?Qh(t.state.doc,i.pos,s):i.pos;c==null&&(c=i.pos);let u=t.state.tr;a&&u.deleteSelection();let d=u.mapping.map(c),h=s.openStart==0&&s.openEnd==0&&s.content.childCount==1,B=u.doc;if(h?u.replaceRangeWith(d,d,s.content.firstChild):u.replaceRange(d,d,s),u.doc.eq(B))return;let m=u.doc.resolve(d);if(h&&uA.isSelectable(s.content.firstChild)&&m.nodeAfter&&m.nodeAfter.sameMarkup(s.content.firstChild))u.setSelection(new uA(m));else{let C=u.mapping.map(c);u.mapping.maps[u.mapping.maps.length-1].forEach((E,S,U,b)=>C=b),u.setSelection(Uc(t,m,u.doc.resolve(C)))}t.focus(),t.dispatch(u.setMeta("uiEvent","drop"))},et.focus=t=>{t.input.lastFocus=Date.now(),t.focused||(t.domObserver.stop(),t.dom.classList.add("ProseMirror-focused"),t.domObserver.start(),t.focused=!0,setTimeout(()=>{t.docView&&t.hasFocus()&&!t.domObserver.currentSelection.eq(t.domSelectionRange())&&Sn(t)},20))},et.blur=(t,A)=>{let e=A;t.focused&&(t.domObserver.stop(),t.dom.classList.remove("ProseMirror-focused"),t.domObserver.start(),e.relatedTarget&&t.dom.contains(e.relatedTarget)&&t.domObserver.currentSelection.clear(),t.focused=!1)},et.beforeinput=(t,A)=>{if(je&&en&&A.inputType=="deleteContentBackward"){t.domObserver.flushSoon();let{domChangeCount:n}=t.input;setTimeout(()=>{if(t.input.domChangeCount!=n||(t.dom.blur(),t.focus(),t.someProp("handleKeyDown",i=>i(t,Kr(8,"Backspace")))))return;let{$cursor:r}=t.state.selection;r&&r.pos>0&&t.dispatch(t.state.tr.delete(r.pos-1,r.pos).scrollIntoView())},50)}};for(let t in tt)et[t]=tt[t];function Us(t,A){if(t==A)return!0;for(let e in t)if(t[e]!==A[e])return!1;for(let e in A)if(!(e in t))return!1;return!0}class _c{constructor(A,e){this.toDOM=A,this.spec=e||Jr,this.side=this.spec.side||0}map(A,e,n,r){let{pos:i,deleted:s}=A.mapResult(e.from+r,this.side<0?-1:1);return s?null:new Nt(i-n,i-n,this)}valid(){return!0}eq(A){return this==A||A instanceof _c&&(this.spec.key&&this.spec.key==A.spec.key||this.toDOM==A.toDOM&&Us(this.spec,A.spec))}destroy(A){this.spec.destroy&&this.spec.destroy(A)}}class or{constructor(A,e){this.attrs=A,this.spec=e||Jr}map(A,e,n,r){let i=A.map(e.from+r,this.spec.inclusiveStart?-1:1)-n,s=A.map(e.to+r,this.spec.inclusiveEnd?1:-1)-n;return i>=s?null:new Nt(i,s,this)}valid(A,e){return e.from<e.to}eq(A){return this==A||A instanceof or&&Us(this.attrs,A.attrs)&&Us(this.spec,A.spec)}static is(A){return A.type instanceof or}destroy(){}}class Mc{constructor(A,e){this.attrs=A,this.spec=e||Jr}map(A,e,n,r){let i=A.mapResult(e.from+r,1);if(i.deleted)return null;let s=A.mapResult(e.to+r,-1);return s.deleted||s.pos<=i.pos?null:new Nt(i.pos-n,s.pos-n,this)}valid(A,e){let{index:n,offset:r}=A.content.findIndex(e.from),i;return r==e.from&&!(i=A.child(n)).isText&&r+i.nodeSize==e.to}eq(A){return this==A||A instanceof Mc&&Us(this.attrs,A.attrs)&&Us(this.spec,A.spec)}destroy(){}}class Nt{constructor(A,e,n){this.from=A,this.to=e,this.type=n}copy(A,e){return new Nt(A,e,this.type)}eq(A,e=0){return this.type.eq(A.type)&&this.from+e==A.from&&this.to+e==A.to}map(A,e,n){return this.type.map(A,this,e,n)}static widget(A,e,n){return new Nt(A,A,new _c(e,n))}static inline(A,e,n,r){return new Nt(A,e,new or(n,r))}static node(A,e,n,r){return new Nt(A,e,new Mc(n,r))}get spec(){return this.type.spec}get inline(){return this.type instanceof or}}const bi=[],Jr={};class ye{constructor(A,e){this.local=A.length?A:bi,this.children=e.length?e:bi}static create(A,e){return e.length?Go(e,A,0,Jr):We}find(A,e,n){let r=[];return this.findInner(A??0,e??1e9,r,0,n),r}findInner(A,e,n,r,i){for(let s=0;s<this.local.length;s++){let a=this.local[s];a.from<=e&&a.to>=A&&(!i||i(a.spec))&&n.push(a.copy(a.from+r,a.to+r))}for(let s=0;s<this.children.length;s+=3)if(this.children[s]<e&&this.children[s+1]>A){let a=this.children[s]+1;this.children[s+2].findInner(A-a,e-a,n,r+a,i)}}map(A,e,n){return this==We||A.maps.length==0?this:this.mapInner(A,e,0,0,n||Jr)}mapInner(A,e,n,r,i){let s;for(let a=0;a<this.local.length;a++){let c=this.local[a].map(A,n,r);c&&c.type.valid(e,c)?(s||(s=[])).push(c):i.onRemove&&i.onRemove(this.local[a].spec)}return this.children.length?CF(this.children,s||[],A,e,n,r,i):s?new ye(s.sort($r),bi):We}add(A,e){return e.length?this==We?ye.create(A,e):this.addInner(A,e,0):this}addInner(A,e,n){let r,i=0;A.forEach((a,c)=>{let u=c+n,d;if(d=xp(e,a,u)){for(r||(r=this.children.slice());i<r.length&&r[i]<c;)i+=3;r[i]==c?r[i+2]=r[i+2].addInner(a,d,u+1):r.splice(i,0,c,c+a.nodeSize,Go(d,a,u+1,Jr)),i+=3}});let s=Tp(i?Hp(e):e,-n);for(let a=0;a<s.length;a++)s[a].type.valid(A,s[a])||s.splice(a--,1);return new ye(s.length?this.local.concat(s).sort($r):this.local,r||this.children)}remove(A){return A.length==0||this==We?this:this.removeInner(A,0)}removeInner(A,e){let n=this.children,r=this.local;for(let i=0;i<n.length;i+=3){let s,a=n[i]+e,c=n[i+1]+e;for(let d=0,h;d<A.length;d++)(h=A[d])&&h.from>a&&h.to<c&&(A[d]=null,(s||(s=[])).push(h));if(!s)continue;n==this.children&&(n=this.children.slice());let u=n[i+2].removeInner(s,a+1);u!=We?n[i+2]=u:(n.splice(i,3),i-=3)}if(r.length){for(let i=0,s;i<A.length;i++)if(s=A[i])for(let a=0;a<r.length;a++)r[a].eq(s,e)&&(r==this.local&&(r=this.local.slice()),r.splice(a--,1))}return n==this.children&&r==this.local?this:r.length||n.length?new ye(r,n):We}forChild(A,e){if(this==We)return this;if(e.isLeaf)return ye.empty;let n,r;for(let a=0;a<this.children.length;a+=3)if(this.children[a]>=A){this.children[a]==A&&(n=this.children[a+2]);break}let i=A+1,s=i+e.content.size;for(let a=0;a<this.local.length;a++){let c=this.local[a];if(c.from<s&&c.to>i&&c.type instanceof or){let u=Math.max(i,c.from)-i,d=Math.min(s,c.to)-i;u<d&&(r||(r=[])).push(c.copy(u,d))}}if(r){let a=new ye(r.sort($r),bi);return n?new ar([a,n]):a}return n||We}eq(A){if(this==A)return!0;if(!(A instanceof ye)||this.local.length!=A.local.length||this.children.length!=A.children.length)return!1;for(let e=0;e<this.local.length;e++)if(!this.local[e].eq(A.local[e]))return!1;for(let e=0;e<this.children.length;e+=3)if(this.children[e]!=A.children[e]||this.children[e+1]!=A.children[e+1]||!this.children[e+2].eq(A.children[e+2]))return!1;return!0}locals(A){return Dc(this.localsInner(A))}localsInner(A){if(this==We)return bi;if(A.inlineContent||!this.local.some(or.is))return this.local;let e=[];for(let n=0;n<this.local.length;n++)this.local[n].type instanceof or||e.push(this.local[n]);return e}}ye.empty=new ye([],[]),ye.removeOverlap=Dc;const We=ye.empty;class ar{constructor(A){this.members=A}map(A,e){const n=this.members.map(r=>r.map(A,e,Jr));return ar.from(n)}forChild(A,e){if(e.isLeaf)return ye.empty;let n=[];for(let r=0;r<this.members.length;r++){let i=this.members[r].forChild(A,e);i!=We&&(i instanceof ar?n=n.concat(i.members):n.push(i))}return ar.from(n)}eq(A){if(!(A instanceof ar)||A.members.length!=this.members.length)return!1;for(let e=0;e<this.members.length;e++)if(!this.members[e].eq(A.members[e]))return!1;return!0}locals(A){let e,n=!0;for(let r=0;r<this.members.length;r++){let i=this.members[r].localsInner(A);if(i.length)if(!e)e=i;else{n&&(e=e.slice(),n=!1);for(let s=0;s<i.length;s++)e.push(i[s])}}return e?Dc(n?e:e.sort($r)):bi}static from(A){switch(A.length){case 0:return We;case 1:return A[0];default:return new ar(A.every(e=>e instanceof ye)?A:A.reduce((e,n)=>e.concat(n instanceof ye?n:n.members),[]))}}}function CF(t,A,e,n,r,i,s){let a=t.slice();for(let u=0,d=i;u<e.maps.length;u++){let h=0;e.maps[u].forEach((B,m,C,E)=>{let S=E-C-(m-B);for(let U=0;U<a.length;U+=3){let b=a[U+1];if(b<0||B>b+d-h)continue;let M=a[U]+d-h;m>=M?a[U+1]=B<=M?-2:-1:C>=r&&S&&(a[U]+=S,a[U+1]+=S)}h+=S}),d=e.maps[u].map(d,-1)}let c=!1;for(let u=0;u<a.length;u+=3)if(a[u+1]<0){if(a[u+1]==-2){c=!0,a[u+1]=-1;continue}let d=e.map(t[u]+i),h=d-r;if(h<0||h>=n.content.size){c=!0;continue}let B=e.map(t[u+1]+i,-1),m=B-r,{index:C,offset:E}=n.content.findIndex(h),S=n.maybeChild(C);if(S&&E==h&&E+S.nodeSize==m){let U=a[u+2].mapInner(e,S,d+1,t[u]+i+1,s);U!=We?(a[u]=h,a[u+1]=m,a[u+2]=U):(a[u+1]=-2,c=!0)}else c=!0}if(c){let u=yF(a,t,A,e,r,i,s),d=Go(u,n,0,s);A=d.local;for(let h=0;h<a.length;h+=3)a[h+1]<0&&(a.splice(h,3),h-=3);for(let h=0,B=0;h<d.children.length;h+=3){let m=d.children[h];for(;B<a.length&&a[B]<m;)B+=3;a.splice(B,0,d.children[h],d.children[h+1],d.children[h+2])}}return new ye(A.sort($r),a)}function Tp(t,A){if(!A||!t.length)return t;let e=[];for(let n=0;n<t.length;n++){let r=t[n];e.push(new Nt(r.from+A,r.to+A,r.type))}return e}function yF(t,A,e,n,r,i,s){function a(c,u){for(let d=0;d<c.local.length;d++){let h=c.local[d].map(n,r,u);h?e.push(h):s.onRemove&&s.onRemove(c.local[d].spec)}for(let d=0;d<c.children.length;d+=3)a(c.children[d+2],c.children[d]+u+1)}for(let c=0;c<t.length;c+=3)t[c+1]==-1&&a(t[c+2],A[c]+i+1);return e}function xp(t,A,e){if(A.isLeaf)return null;let n=e+A.nodeSize,r=null;for(let i=0,s;i<t.length;i++)(s=t[i])&&s.from>e&&s.to<n&&((r||(r=[])).push(s),t[i]=null);return r}function Hp(t){let A=[];for(let e=0;e<t.length;e++)t[e]!=null&&A.push(t[e]);return A}function Go(t,A,e,n){let r=[],i=!1;A.forEach((a,c)=>{let u=xp(t,a,c+e);if(u){i=!0;let d=Go(u,a,e+c+1,n);d!=We&&r.push(c,c+a.nodeSize,d)}});let s=Tp(i?Hp(t):t,-e).sort($r);for(let a=0;a<s.length;a++)s[a].type.valid(A,s[a])||(n.onRemove&&n.onRemove(s[a].spec),s.splice(a--,1));return s.length||r.length?new ye(s,r):We}function $r(t,A){return t.from-A.from||t.to-A.to}function Dc(t){let A=t;for(let e=0;e<A.length-1;e++){let n=A[e];if(n.from!=n.to)for(let r=e+1;r<A.length;r++){let i=A[r];if(i.from==n.from){i.to!=n.to&&(A==t&&(A=t.slice()),A[r]=i.copy(i.from,n.to),Lp(A,r+1,i.copy(n.to,i.to)));continue}else{i.from<n.to&&(A==t&&(A=t.slice()),A[e]=n.copy(n.from,i.from),Lp(A,r,n.copy(i.from,n.to)));break}}}return A}function Lp(t,A,e){for(;A<t.length&&$r(e,t[A])>0;)A++;t.splice(A,0,e)}function kc(t){let A=[];return t.someProp("decorations",e=>{let n=e(t.state);n&&n!=We&&A.push(n)}),t.cursorWrapper&&A.push(ye.create(t.state.doc,[t.cursorWrapper.deco])),ar.from(A)}const QF={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},EF=ht&&nr<=11;class FF{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}set(A){this.anchorNode=A.anchorNode,this.anchorOffset=A.anchorOffset,this.focusNode=A.focusNode,this.focusOffset=A.focusOffset}clear(){this.anchorNode=this.focusNode=null}eq(A){return A.anchorNode==this.anchorNode&&A.anchorOffset==this.anchorOffset&&A.focusNode==this.focusNode&&A.focusOffset==this.focusOffset}}class UF{constructor(A,e){this.view=A,this.handleDOMChange=e,this.queue=[],this.flushingSoon=-1,this.observer=null,this.currentSelection=new FF,this.onCharData=null,this.suppressingSelectionUpdates=!1,this.observer=window.MutationObserver&&new window.MutationObserver(n=>{for(let r=0;r<n.length;r++)this.queue.push(n[r]);ht&&nr<=11&&n.some(r=>r.type=="childList"&&r.removedNodes.length||r.type=="characterData"&&r.oldValue.length>r.target.nodeValue.length)?this.flushSoon():this.flush()}),EF&&(this.onCharData=n=>{this.queue.push({target:n.target,type:"characterData",oldValue:n.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,QF)),this.onCharData&&this.view.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.connectSelection()}stop(){if(this.observer){let A=this.observer.takeRecords();if(A.length){for(let e=0;e<A.length;e++)this.queue.push(A[e]);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(lp(this.view)){if(this.suppressingSelectionUpdates)return Sn(this.view);if(ht&&nr<=11&&!this.view.state.selection.empty){let A=this.view.domSelectionRange();if(A.focusNode&&Rr(A.focusNode,A.focusOffset,A.anchorNode,A.anchorOffset))return this.flushSoon()}this.flush()}}setCurSelection(){this.currentSelection.set(this.view.domSelectionRange())}ignoreSelectionChange(A){if(!A.focusNode)return!0;let e=new Set,n;for(let i=A.focusNode;i;i=ws(i))e.add(i);for(let i=A.anchorNode;i;i=ws(i))if(e.has(i)){n=i;break}let r=n&&this.view.docView.nearestDesc(n);if(r&&r.ignoreMutation({type:"selection",target:n.nodeType==3?n.parentNode:n}))return this.setCurSelection(),!0}flush(){let{view:A}=this;if(!A.docView||this.flushingSoon>-1)return;let e=this.observer?this.observer.takeRecords():[];this.queue.length&&(e=this.queue.concat(e),this.queue.length=0);let n=A.domSelectionRange(),r=!this.suppressingSelectionUpdates&&!this.currentSelection.eq(n)&&lp(A)&&!this.ignoreSelectionChange(n),i=-1,s=-1,a=!1,c=[];if(A.editable)for(let d=0;d<e.length;d++){let h=this.registerMutation(e[d],c);h&&(i=i<0?h.from:Math.min(h.from,i),s=s<0?h.to:Math.max(h.to,s),h.typeOver&&(a=!0))}if(An&&c.length>1){let d=c.filter(h=>h.nodeName=="BR");if(d.length==2){let h=d[0],B=d[1];h.parentNode&&h.parentNode.parentNode==B.parentNode?B.remove():h.remove()}}let u=null;i<0&&r&&A.input.lastFocus>Date.now()-200&&Math.max(A.input.lastTouch,A.input.lastClick.time)<Date.now()-300&&ko(n)&&(u=Ec(A))&&u.eq(yA.near(A.state.doc.resolve(0),1))?(A.input.lastFocus=0,Sn(A),this.currentSelection.set(n),A.scrollToSelection()):(i>-1||r)&&(i>-1&&(A.docView.markDirty(i,s),vF(A)),this.handleDOMChange(i,s,a,c),A.docView&&A.docView.dirty?A.updateState(A.state):this.currentSelection.eq(n)||Sn(A),this.currentSelection.set(n))}registerMutation(A,e){if(e.indexOf(A.target)>-1)return null;let n=this.view.docView.nearestDesc(A.target);if(A.type=="attributes"&&(n==this.view.docView||A.attributeName=="contenteditable"||A.attributeName=="style"&&!A.oldValue&&!A.target.getAttribute("style"))||!n||n.ignoreMutation(A))return null;if(A.type=="childList"){for(let d=0;d<A.addedNodes.length;d++)e.push(A.addedNodes[d]);if(n.contentDOM&&n.contentDOM!=n.dom&&!n.contentDOM.contains(A.target))return{from:n.posBefore,to:n.posAfter};let r=A.previousSibling,i=A.nextSibling;if(ht&&nr<=11&&A.addedNodes.length)for(let d=0;d<A.addedNodes.length;d++){let{previousSibling:h,nextSibling:B}=A.addedNodes[d];(!h||Array.prototype.indexOf.call(A.addedNodes,h)<0)&&(r=h),(!B||Array.prototype.indexOf.call(A.addedNodes,B)<0)&&(i=B)}let s=r&&r.parentNode==A.target?Qt(r)+1:0,a=n.localPosFromDOM(A.target,s,-1),c=i&&i.parentNode==A.target?Qt(i):A.target.childNodes.length,u=n.localPosFromDOM(A.target,c,1);return{from:a,to:u}}else return A.type=="attributes"?{from:n.posAtStart-n.border,to:n.posAtEnd+n.border}:{from:n.posAtStart,to:n.posAtEnd,typeOver:A.target.nodeValue==A.oldValue}}}let Op=new WeakMap,_p=!1;function vF(t){if(!Op.has(t)&&(Op.set(t,null),["normal","nowrap","pre-line"].indexOf(getComputedStyle(t.dom).whiteSpace)!==-1)){if(t.requiresGeckoHackNode=An,_p)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."),_p=!0}}function bF(t){let A;function e(c){c.preventDefault(),c.stopImmediatePropagation(),A=c.getTargetRanges()[0]}t.dom.addEventListener("beforeinput",e,!0),document.execCommand("indent"),t.dom.removeEventListener("beforeinput",e,!0);let n=A.startContainer,r=A.startOffset,i=A.endContainer,s=A.endOffset,a=t.domAtPos(t.state.selection.anchor);return Rr(a.node,a.offset,i,s)&&([n,r,i,s]=[i,s,n,r]),{anchorNode:n,anchorOffset:r,focusNode:i,focusOffset:s}}function IF(t,A,e){let{node:n,fromOffset:r,toOffset:i,from:s,to:a}=t.docView.parseRange(A,e),c=t.domSelectionRange(),u,d=c.anchorNode;if(d&&t.dom.contains(d.nodeType==1?d:d.parentNode)&&(u=[{node:d,offset:c.anchorOffset}],ko(c)||u.push({node:c.focusNode,offset:c.focusOffset})),je&&t.input.lastKeyCode===8)for(let S=i;S>r;S--){let U=n.childNodes[S-1],b=U.pmViewDesc;if(U.nodeName=="BR"&&!b){i=S;break}if(!b||b.size)break}let h=t.state.doc,B=t.someProp("domParser")||di.fromSchema(t.state.schema),m=h.resolve(s),C=null,E=B.parse(n,{topNode:m.parent,topMatch:m.parent.contentMatchAt(m.index()),topOpen:!0,from:r,to:i,preserveWhitespace:m.parent.type.whitespace=="pre"?"full":!0,findPositions:u,ruleFromNode:SF,context:m});if(u&&u[0].pos!=null){let S=u[0].pos,U=u[1]&&u[1].pos;U==null&&(U=S),C={anchor:S+s,head:U+s}}return{doc:E,sel:C,from:s,to:a}}function SF(t){let A=t.pmViewDesc;if(A)return A.parseRule();if(t.nodeName=="BR"&&t.parentNode){if(At&&/^(ul|ol)$/i.test(t.parentNode.nodeName)){let e=document.createElement("div");return e.appendChild(document.createElement("li")),{skip:e}}else if(t.parentNode.lastChild==t||At&&/^(tr|table)$/i.test(t.parentNode.nodeName))return{ignore:!0}}else if(t.nodeName=="IMG"&&t.getAttribute("mark-placeholder"))return{ignore:!0};return null}const TF=/^(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 xF(t,A,e,n,r){if(A<0){let W=t.input.lastSelectionTime>Date.now()-50?t.input.lastSelectionOrigin:null,J=Ec(t,W);if(J&&!t.state.selection.eq(J)){if(je&&en&&t.input.lastKeyCode===13&&Date.now()-100<t.input.lastKeyCodeTime&&t.someProp("handleKeyDown",gA=>gA(t,Kr(13,"Enter"))))return;let eA=t.state.tr.setSelection(J);W=="pointer"?eA.setMeta("pointer",!0):W=="key"&&eA.scrollIntoView(),t.dispatch(eA)}return}let i=t.state.doc.resolve(A),s=i.sharedDepth(e);A=i.before(s+1),e=t.state.doc.resolve(e).after(s+1);let a=t.state.selection,c=IF(t,A,e),u=t.state.doc,d=u.slice(c.from,c.to),h,B;t.input.lastKeyCode===8&&Date.now()-100<t.input.lastKeyCodeTime?(h=t.state.selection.to,B="end"):(h=t.state.selection.from,B="start"),t.input.lastKeyCode=null;let m=OF(d.content,c.doc.content,c.from,h,B);if((Qi&&t.input.lastIOSEnter>Date.now()-225||en)&&r.some(W=>W.nodeType==1&&!TF.test(W.nodeName))&&(!m||m.endA>=m.endB)&&t.someProp("handleKeyDown",W=>W(t,Kr(13,"Enter")))){t.input.lastIOSEnter=0;return}if(!m)if(n&&a instanceof FA&&!a.empty&&a.$head.sameParent(a.$anchor)&&!t.composing&&!(c.sel&&c.sel.anchor!=c.sel.head))m={start:a.from,endA:a.to,endB:a.to};else{if(c.sel){let W=Mp(t,t.state.doc,c.sel);W&&!W.eq(t.state.selection)&&t.dispatch(t.state.tr.setSelection(W))}return}if(je&&t.cursorWrapper&&c.sel&&c.sel.anchor==t.cursorWrapper.deco.from&&c.sel.head==c.sel.anchor){let W=m.endB-m.start;c.sel={anchor:c.sel.anchor+W,head:c.sel.anchor+W}}t.input.domChangeCount++,t.state.selection.from<t.state.selection.to&&m.start==m.endB&&t.state.selection instanceof FA&&(m.start>t.state.selection.from&&m.start<=t.state.selection.from+2&&t.state.selection.from>=c.from?m.start=t.state.selection.from:m.endA<t.state.selection.to&&m.endA>=t.state.selection.to-2&&t.state.selection.to<=c.to&&(m.endB+=t.state.selection.to-m.endA,m.endA=t.state.selection.to)),ht&&nr<=11&&m.endB==m.start+1&&m.endA==m.start&&m.start>c.from&&c.doc.textBetween(m.start-c.from-1,m.start-c.from+1)=="  "&&(m.start--,m.endA--,m.endB--);let C=c.doc.resolveNoCache(m.start-c.from),E=c.doc.resolveNoCache(m.endB-c.from),S=u.resolve(m.start),U=C.sameParent(E)&&C.parent.inlineContent&&S.end()>=m.endA,b;if((Qi&&t.input.lastIOSEnter>Date.now()-225&&(!U||r.some(W=>W.nodeName=="DIV"||W.nodeName=="P"))||!U&&C.pos<c.doc.content.size&&(b=yA.findFrom(c.doc.resolve(C.pos+1),1,!0))&&b.head==E.pos)&&t.someProp("handleKeyDown",W=>W(t,Kr(13,"Enter")))){t.input.lastIOSEnter=0;return}if(t.state.selection.anchor>m.start&&LF(u,m.start,m.endA,C,E)&&t.someProp("handleKeyDown",W=>W(t,Kr(8,"Backspace")))){en&&je&&t.domObserver.suppressSelectionUpdates();return}je&&en&&m.endB==m.start&&(t.input.lastAndroidDelete=Date.now()),en&&!U&&C.start()!=E.start()&&E.parentOffset==0&&C.depth==E.depth&&c.sel&&c.sel.anchor==c.sel.head&&c.sel.head==m.endA&&(m.endB-=2,E=c.doc.resolveNoCache(m.endB-c.from),setTimeout(()=>{t.someProp("handleKeyDown",function(W){return W(t,Kr(13,"Enter"))})},20));let M=m.start,F=m.endA,T,L,N;if(U){if(C.pos==E.pos)ht&&nr<=11&&C.parentOffset==0&&(t.domObserver.suppressSelectionUpdates(),setTimeout(()=>Sn(t),20)),T=t.state.tr.delete(M,F),L=u.resolve(m.start).marksAcross(u.resolve(m.endA));else if(m.endA==m.endB&&(N=HF(C.parent.content.cut(C.parentOffset,E.parentOffset),S.parent.content.cut(S.parentOffset,m.endA-S.start()))))T=t.state.tr,N.type=="add"?T.addMark(M,F,N.mark):T.removeMark(M,F,N.mark);else if(C.parent.child(C.index()).isText&&C.index()==E.index()-(E.textOffset?0:1)){let W=C.parent.textBetween(C.parentOffset,E.parentOffset);if(t.someProp("handleTextInput",J=>J(t,M,F,W)))return;T=t.state.tr.insertText(W,M,F)}}if(T||(T=t.state.tr.replace(M,F,c.doc.slice(m.start-c.from,m.endB-c.from))),c.sel){let W=Mp(t,T.doc,c.sel);W&&!(je&&en&&t.composing&&W.empty&&(m.start!=m.endB||t.input.lastAndroidDelete<Date.now()-100)&&(W.head==M||W.head==T.mapping.map(F)-1)||ht&&W.empty&&W.head==M)&&T.setSelection(W)}L&&T.ensureMarks(L),t.dispatch(T.scrollIntoView())}function Mp(t,A,e){return Math.max(e.anchor,e.head)>A.content.size?null:Uc(t,A.resolve(e.anchor),A.resolve(e.head))}function HF(t,A){let e=t.firstChild.marks,n=A.firstChild.marks,r=e,i=n,s,a,c;for(let d=0;d<n.length;d++)r=n[d].removeFromSet(r);for(let d=0;d<e.length;d++)i=e[d].removeFromSet(i);if(r.length==1&&i.length==0)a=r[0],s="add",c=d=>d.mark(a.addToSet(d.marks));else if(r.length==0&&i.length==1)a=i[0],s="remove",c=d=>d.mark(a.removeFromSet(d.marks));else return null;let u=[];for(let d=0;d<A.childCount;d++)u.push(c(A.child(d)));if(X.from(u).eq(t))return{mark:a,type:s}}function LF(t,A,e,n,r){if(!n.parent.isTextblock||e-A<=r.pos-n.pos||Nc(n,!0,!1)<r.pos)return!1;let i=t.resolve(A);if(i.parentOffset<i.parent.content.size||!i.parent.isTextblock)return!1;let s=t.resolve(Nc(i,!0,!0));return!s.parent.isTextblock||s.pos>e||Nc(s,!0,!1)<e?!1:n.parent.content.cut(n.parentOffset).eq(s.parent.content)}function Nc(t,A,e){let n=t.depth,r=A?t.end():t.pos;for(;n>0&&(A||t.indexAfter(n)==t.node(n).childCount);)n--,r++,A=!1;if(e){let i=t.node(n).maybeChild(t.indexAfter(n));for(;i&&!i.isLeaf;)i=i.firstChild,r++}return r}function OF(t,A,e,n,r){let i=t.findDiffStart(A,e);if(i==null)return null;let{a:s,b:a}=t.findDiffEnd(A,e+t.size,e+A.size);if(r=="end"){let c=Math.max(0,i-Math.min(s,a));n-=s+c-i}if(s<i&&t.size<A.size){let c=n<=i&&n>=s?i-n:0;i-=c,a=i+(a-s),s=i}else if(a<i){let c=n<=i&&n>=a?i-n:0;i-=c,s=i+(s-a),a=i}return{start:i,endA:s,endB:a}}class _F{constructor(A,e){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 eF,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=e,this.state=e.state,this.directPlugins=e.plugins||[],this.directPlugins.forEach(Kp),this.dispatch=this.dispatch.bind(this),this.dom=A&&A.mount||document.createElement("div"),A&&(A.appendChild?A.appendChild(this.dom):typeof A=="function"?A(this.dom):A.mount&&(this.mounted=!0)),this.editable=Np(this),kp(this),this.nodeViews=Rp(this),this.docView=qh(this.state.doc,Dp(this),kc(this),this.dom,this),this.domObserver=new UF(this,(n,r,i,s)=>xF(this,n,r,i,s)),this.domObserver.start(),tF(this),this.updatePluginViews()}get composing(){return this.input.composing}get props(){if(this._props.state!=this.state){let A=this._props;this._props={};for(let e in A)this._props[e]=A[e];this._props.state=this.state}return this._props}update(A){A.handleDOMEvents!=this._props.handleDOMEvents&&xc(this);let e=this._props;this._props=A,A.plugins&&(A.plugins.forEach(Kp),this.directPlugins=A.plugins),this.updateStateInner(A.state,e)}setProps(A){let e={};for(let n in this._props)e[n]=this._props[n];e.state=this.state;for(let n in A)e[n]=A[n];this.update(e)}updateState(A){this.updateStateInner(A,this._props)}updateStateInner(A,e){let n=this.state,r=!1,i=!1;A.storedMarks&&this.composing&&(Ip(this),i=!0),this.state=A;let s=n.plugins!=A.plugins||this._props.plugins!=e.plugins;if(s||this._props.plugins!=e.plugins||this._props.nodeViews!=e.nodeViews){let B=Rp(this);DF(B,this.nodeViews)&&(this.nodeViews=B,r=!0)}(s||e.handleDOMEvents!=this._props.handleDOMEvents)&&xc(this),this.editable=Np(this),kp(this);let a=kc(this),c=Dp(this),u=n.plugins!=A.plugins&&!n.doc.eq(A.doc)?"reset":A.scrollToSelection>n.scrollToSelection?"to selection":"preserve",d=r||!this.docView.matchesNode(A.doc,c,a);(d||!A.selection.eq(n.selection))&&(i=!0);let h=u=="preserve"&&i&&this.dom.style.overflowAnchor==null&&CE(this);if(i){this.domObserver.stop();let B=d&&(ht||je)&&!this.composing&&!n.selection.empty&&!A.selection.empty&&MF(n.selection,A.selection);if(d){let m=je?this.trackWrites=this.domSelectionRange().focusNode:null;(r||!this.docView.update(A.doc,c,a,this))&&(this.docView.updateOuterDeco([]),this.docView.destroy(),this.docView=qh(A.doc,c,a,this.dom,this)),m&&!this.trackWrites&&(B=!0)}B||!(this.input.mouseDown&&this.domObserver.currentSelection.eq(this.domSelectionRange())&&WE(this))?Sn(this,B):(op(this,A.selection),this.domObserver.setCurSelection()),this.domObserver.start()}this.updatePluginViews(n),u=="reset"?this.dom.scrollTop=0:u=="to selection"?this.scrollToSelection():h&&yE(h)}scrollToSelection(){let A=this.domSelectionRange().focusNode;if(!this.someProp("handleScrollToSelection",e=>e(this)))if(this.state.selection instanceof uA){let e=this.docView.domAfterPos(this.state.selection.from);e.nodeType==1&&Nh(this,e.getBoundingClientRect(),A)}else Nh(this,this.coordsAtPos(this.state.selection.head,1),A)}destroyPluginViews(){let A;for(;A=this.pluginViews.pop();)A.destroy&&A.destroy()}updatePluginViews(A){if(!A||A.plugins!=this.state.plugins||this.directPlugins!=this.prevDirectPlugins){this.prevDirectPlugins=this.directPlugins,this.destroyPluginViews();for(let e=0;e<this.directPlugins.length;e++){let n=this.directPlugins[e];n.spec.view&&this.pluginViews.push(n.spec.view(this))}for(let e=0;e<this.state.plugins.length;e++){let n=this.state.plugins[e];n.spec.view&&this.pluginViews.push(n.spec.view(this))}}else for(let e=0;e<this.pluginViews.length;e++){let n=this.pluginViews[e];n.update&&n.update(this,A)}}someProp(A,e){let n=this._props&&this._props[A],r;if(n!=null&&(r=e?e(n):n))return r;for(let s=0;s<this.directPlugins.length;s++){let a=this.directPlugins[s].props[A];if(a!=null&&(r=e?e(a):a))return r}let i=this.state.plugins;if(i)for(let s=0;s<i.length;s++){let a=i[s].props[A];if(a!=null&&(r=e?e(a):a))return r}}hasFocus(){if(ht){let A=this.root.activeElement;if(A==this.dom)return!0;if(!A||!this.dom.contains(A))return!1;for(;A&&this.dom!=A&&this.dom.contains(A);){if(A.contentEditable=="false")return!1;A=A.parentElement}return!0}return this.root.activeElement==this.dom}focus(){this.domObserver.stop(),this.editable&&QE(this.dom),Sn(this),this.domObserver.start()}get root(){let A=this._root;if(A==null){for(let e=this.dom.parentNode;e;e=e.parentNode)if(e.nodeType==9||e.nodeType==11&&e.host)return e.getSelection||(Object.getPrototypeOf(e).getSelection=()=>e.ownerDocument.getSelection()),this._root=e}return A||document}posAtCoords(A){return bE(this,A)}coordsAtPos(A,e=1){return Gh(this,A,e)}domAtPos(A,e=0){return this.docView.domFromPos(A,e)}nodeDOM(A){let e=this.docView.descAt(A);return e?e.nodeDOM:null}posAtDOM(A,e,n=-1){let r=this.docView.posFromDOM(A,e,n);if(r==null)throw new RangeError("DOM position not inside the editor");return r}endOfTextblock(A,e){return HE(this,e||this.state,A)}pasteHTML(A,e){return Fs(this,"",A,!1,e||new ClipboardEvent("paste"))}pasteText(A,e){return Fs(this,A,null,!0,e||new ClipboardEvent("paste"))}destroy(){this.docView&&(nF(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(A){return iF(this,A)}dispatch(A){let e=this._props.dispatchTransaction;e?e.call(this,A):this.updateState(this.state.apply(A))}domSelectionRange(){return At&&this.root.nodeType===11&&pE(this.dom.ownerDocument)==this.dom?bF(this):this.domSelection()}domSelection(){return this.root.getSelection()}}function Dp(t){let A=Object.create(null);return A.class="ProseMirror",A.contenteditable=String(t.editable),A.translate="no",t.someProp("attributes",e=>{if(typeof e=="function"&&(e=e(t.state)),e)for(let n in e)n=="class"&&(A.class+=" "+e[n]),n=="style"?A.style=(A.style?A.style+";":"")+e[n]:!A[n]&&n!="contenteditable"&&n!="nodeName"&&(A[n]=String(e[n]))}),[Nt.node(0,t.state.doc.content.size,A)]}function kp(t){if(t.markCursor){let A=document.createElement("img");A.className="ProseMirror-separator",A.setAttribute("mark-placeholder","true"),A.setAttribute("alt",""),t.cursorWrapper={dom:A,deco:Nt.widget(t.state.selection.head,A,{raw:!0,marks:t.markCursor})}}else t.cursorWrapper=null}function Np(t){return!t.someProp("editable",A=>A(t.state)===!1)}function MF(t,A){let e=Math.min(t.$anchor.sharedDepth(t.head),A.$anchor.sharedDepth(A.head));return t.$anchor.start(e)!=A.$anchor.start(e)}function Rp(t){let A=Object.create(null);function e(n){for(let r in n)Object.prototype.hasOwnProperty.call(A,r)||(A[r]=n[r])}return t.someProp("nodeViews",e),t.someProp("markViews",e),A}function DF(t,A){let e=0,n=0;for(let r in t){if(t[r]!=A[r])return!0;e++}for(let r in A)n++;return e!=n}function Kp(t){if(t.spec.state||t.spec.filterTransaction||t.spec.appendTransaction)throw new RangeError("Plugins passed directly to the view must not have a state component")}for(var lr={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:"'"},Wo={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},Pp=typeof navigator<"u"&&/Chrome\/(\d+)/.exec(navigator.userAgent),kF=typeof navigator<"u"&&/Mac/.test(navigator.platform),NF=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),RF=kF||Pp&&+Pp[1]<57,Le=0;Le<10;Le++)lr[48+Le]=lr[96+Le]=String(Le);for(var Le=1;Le<=24;Le++)lr[Le+111]="F"+Le;for(var Le=65;Le<=90;Le++)lr[Le]=String.fromCharCode(Le+32),Wo[Le]=String.fromCharCode(Le);for(var Rc in lr)Wo.hasOwnProperty(Rc)||(Wo[Rc]=lr[Rc]);function KF(t){var A=RF&&(t.ctrlKey||t.altKey||t.metaKey)||NF&&t.shiftKey&&t.key&&t.key.length==1||t.key=="Unidentified",e=!A&&t.key||(t.shiftKey?Wo:lr)[t.keyCode]||t.key||"Unidentified";return e=="Esc"&&(e="Escape"),e=="Del"&&(e="Delete"),e=="Left"&&(e="ArrowLeft"),e=="Up"&&(e="ArrowUp"),e=="Right"&&(e="ArrowRight"),e=="Down"&&(e="ArrowDown"),e}const PF=typeof navigator<"u"?/Mac|iP(hone|[oa]d)/.test(navigator.platform):!1;function VF(t){let A=t.split(/-(?!$)/),e=A[A.length-1];e=="Space"&&(e=" ");let n,r,i,s;for(let a=0;a<A.length-1;a++){let c=A[a];if(/^(cmd|meta|m)$/i.test(c))s=!0;else if(/^a(lt)?$/i.test(c))n=!0;else if(/^(c|ctrl|control)$/i.test(c))r=!0;else if(/^s(hift)?$/i.test(c))i=!0;else if(/^mod$/i.test(c))PF?s=!0:r=!0;else throw new Error("Unrecognized modifier name: "+c)}return n&&(e="Alt-"+e),r&&(e="Ctrl-"+e),s&&(e="Meta-"+e),i&&(e="Shift-"+e),e}function GF(t){let A=Object.create(null);for(let e in t)A[VF(e)]=t[e];return A}function Kc(t,A,e=!0){return A.altKey&&(t="Alt-"+t),A.ctrlKey&&(t="Ctrl-"+t),A.metaKey&&(t="Meta-"+t),e&&A.shiftKey&&(t="Shift-"+t),t}function WF(t){return new dt({props:{handleKeyDown:Vp(t)}})}function Vp(t){let A=GF(t);return function(e,n){let r=KF(n),i,s=A[Kc(r,n)];if(s&&s(e.state,e.dispatch,e))return!0;if(r.length==1&&r!=" "){if(n.shiftKey){let a=A[Kc(r,n,!1)];if(a&&a(e.state,e.dispatch,e))return!0}if((n.shiftKey||n.altKey||n.metaKey||r.charCodeAt(0)>127)&&(i=lr[n.keyCode])&&i!=r){let a=A[Kc(i,n)];if(a&&a(e.state,e.dispatch,e))return!0}}return!1}}const JF=(t,A)=>t.selection.empty?!1:(A&&A(t.tr.deleteSelection().scrollIntoView()),!0);function $F(t,A){let{$cursor:e}=t.selection;return!e||(A?!A.endOfTextblock("backward",t):e.parentOffset>0)?null:e}const XF=(t,A,e)=>{let n=$F(t,e);if(!n)return!1;let r=Gp(n);if(!r){let s=n.blockRange(),a=s&&gi(s);return a==null?!1:(A&&A(t.tr.lift(s,a).scrollIntoView()),!0)}let i=r.nodeBefore;if(!i.type.spec.isolating&&$p(t,r,A))return!0;if(n.parent.content.size==0&&(Ii(i,"end")||uA.isSelectable(i))){let s=ac(t.doc,n.before(),n.after(),j.empty);if(s&&s.slice.size<s.to-s.from){if(A){let a=t.tr.step(s);a.setSelection(Ii(i,"end")?yA.findFrom(a.doc.resolve(a.mapping.map(r.pos,-1)),-1):uA.create(a.doc,r.pos-i.nodeSize)),A(a.scrollIntoView())}return!0}}return i.isAtom&&r.depth==n.depth-1?(A&&A(t.tr.delete(r.pos-i.nodeSize,r.pos).scrollIntoView()),!0):!1};function Ii(t,A,e=!1){for(let n=t;n;n=A=="start"?n.firstChild:n.lastChild){if(n.isTextblock)return!0;if(e&&n.childCount!=1)return!1}return!1}const YF=(t,A,e)=>{let{$head:n,empty:r}=t.selection,i=n;if(!r)return!1;if(n.parent.isTextblock){if(e?!e.endOfTextblock("backward",t):n.parentOffset>0)return!1;i=Gp(n)}let s=i&&i.nodeBefore;return!s||!uA.isSelectable(s)?!1:(A&&A(t.tr.setSelection(uA.create(t.doc,i.pos-s.nodeSize)).scrollIntoView()),!0)};function Gp(t){if(!t.parent.type.spec.isolating)for(let A=t.depth-1;A>=0;A--){if(t.index(A)>0)return t.doc.resolve(t.before(A+1));if(t.node(A).type.spec.isolating)break}return null}function zF(t,A){let{$cursor:e}=t.selection;return!e||(A?!A.endOfTextblock("forward",t):e.parentOffset<e.parent.content.size)?null:e}const qF=(t,A,e)=>{let n=zF(t,e);if(!n)return!1;let r=Wp(n);if(!r)return!1;let i=r.nodeAfter;if($p(t,r,A))return!0;if(n.parent.content.size==0&&(Ii(i,"start")||uA.isSelectable(i))){let s=ac(t.doc,n.before(),n.after(),j.empty);if(s&&s.slice.size<s.to-s.from){if(A){let a=t.tr.step(s);a.setSelection(Ii(i,"start")?yA.findFrom(a.doc.resolve(a.mapping.map(r.pos)),1):uA.create(a.doc,a.mapping.map(r.pos))),A(a.scrollIntoView())}return!0}}return i.isAtom&&r.depth==n.depth-1?(A&&A(t.tr.delete(r.pos,r.pos+i.nodeSize).scrollIntoView()),!0):!1},ZF=(t,A,e)=>{let{$head:n,empty:r}=t.selection,i=n;if(!r)return!1;if(n.parent.isTextblock){if(e?!e.endOfTextblock("forward",t):n.parentOffset<n.parent.content.size)return!1;i=Wp(n)}let s=i&&i.nodeAfter;return!s||!uA.isSelectable(s)?!1:(A&&A(t.tr.setSelection(uA.create(t.doc,i.pos)).scrollIntoView()),!0)};function Wp(t){if(!t.parent.type.spec.isolating)for(let A=t.depth-1;A>=0;A--){let e=t.node(A);if(t.index(A)+1<e.childCount)return t.doc.resolve(t.after(A+1));if(e.type.spec.isolating)break}return null}const jF=(t,A)=>{let e=t.selection,n=e instanceof uA,r;if(n){if(e.node.isTextblock||!Ar(t.doc,e.from))return!1;r=e.from}else if(r=yh(t.doc,e.from,-1),r==null)return!1;if(A){let i=t.tr.join(r);n&&i.setSelection(uA.create(i.doc,r-t.doc.resolve(r).nodeBefore.nodeSize)),A(i.scrollIntoView())}return!0},AU=(t,A)=>{let e=t.selection,n;if(e instanceof uA){if(e.node.isTextblock||!Ar(t.doc,e.to))return!1;n=e.to}else if(n=yh(t.doc,e.to,1),n==null)return!1;return A&&A(t.tr.join(n).scrollIntoView()),!0},eU=(t,A)=>{let{$from:e,$to:n}=t.selection,r=e.blockRange(n),i=r&&gi(r);return i==null?!1:(A&&A(t.tr.lift(r,i).scrollIntoView()),!0)},tU=(t,A)=>{let{$head:e,$anchor:n}=t.selection;return!e.parent.type.spec.code||!e.sameParent(n)?!1:(A&&A(t.tr.insertText(`
10
+ `).scrollIntoView()),!0)};function Jp(t){for(let A=0;A<t.edgeCount;A++){let{type:e}=t.edge(A);if(e.isTextblock&&!e.hasRequiredAttrs())return e}return null}const nU=(t,A)=>{let{$head:e,$anchor:n}=t.selection;if(!e.parent.type.spec.code||!e.sameParent(n))return!1;let r=e.node(-1),i=e.indexAfter(-1),s=Jp(r.contentMatchAt(i));if(!s||!r.canReplaceWith(i,i,s))return!1;if(A){let a=e.after(),c=t.tr.replaceWith(a,a,s.createAndFill());c.setSelection(yA.near(c.doc.resolve(a),1)),A(c.scrollIntoView())}return!0},rU=(t,A)=>{let e=t.selection,{$from:n,$to:r}=e;if(e instanceof jt||n.parent.inlineContent||r.parent.inlineContent)return!1;let i=Jp(r.parent.contentMatchAt(r.indexAfter()));if(!i||!i.isTextblock)return!1;if(A){let s=(!n.parentOffset&&r.index()<r.parent.childCount?n:r).pos,a=t.tr.insert(s,i.createAndFill());a.setSelection(FA.create(a.doc,s+1)),A(a.scrollIntoView())}return!0},iU=(t,A)=>{let{$cursor:e}=t.selection;if(!e||e.parent.content.size)return!1;if(e.depth>1&&e.after()!=e.end(-1)){let i=e.before();if(Bi(t.doc,i))return A&&A(t.tr.split(i).scrollIntoView()),!0}let n=e.blockRange(),r=n&&gi(n);return r==null?!1:(A&&A(t.tr.lift(n,r).scrollIntoView()),!0)},sU=(t,A)=>{let{$from:e,to:n}=t.selection,r,i=e.sharedDepth(n);return i==0?!1:(r=e.before(i),A&&A(t.tr.setSelection(uA.create(t.doc,r))),!0)};function oU(t,A,e){let n=A.nodeBefore,r=A.nodeAfter,i=A.index();return!n||!r||!n.type.compatibleContent(r.type)?!1:!n.content.size&&A.parent.canReplace(i-1,i)?(e&&e(t.tr.delete(A.pos-n.nodeSize,A.pos).scrollIntoView()),!0):!A.parent.canReplace(i,i+1)||!(r.isTextblock||Ar(t.doc,A.pos))?!1:(e&&e(t.tr.clearIncompatible(A.pos,n.type,n.contentMatchAt(n.childCount)).join(A.pos).scrollIntoView()),!0)}function $p(t,A,e){let n=A.nodeBefore,r=A.nodeAfter,i,s;if(n.type.spec.isolating||r.type.spec.isolating)return!1;if(oU(t,A,e))return!0;let a=A.parent.canReplace(A.index(),A.index()+1);if(a&&(i=(s=n.contentMatchAt(n.childCount)).findWrapping(r.type))&&s.matchType(i[0]||r.type).validEnd){if(e){let h=A.pos+r.nodeSize,B=X.empty;for(let E=i.length-1;E>=0;E--)B=X.from(i[E].create(null,B));B=X.from(n.copy(B));let m=t.tr.step(new be(A.pos-1,h,A.pos,h,new j(B,1,0),i.length,!0)),C=h+2*i.length;Ar(m.doc,C)&&m.join(C),e(m.scrollIntoView())}return!0}let c=yA.findFrom(A,1),u=c&&c.$from.blockRange(c.$to),d=u&&gi(u);if(d!=null&&d>=A.depth)return e&&e(t.tr.lift(u,d).scrollIntoView()),!0;if(a&&Ii(r,"start",!0)&&Ii(n,"end")){let h=n,B=[];for(;B.push(h),!h.isTextblock;)h=h.lastChild;let m=r,C=1;for(;!m.isTextblock;m=m.firstChild)C++;if(h.canReplace(h.childCount,h.childCount,m.content)){if(e){let E=X.empty;for(let U=B.length-1;U>=0;U--)E=X.from(B[U].copy(E));let S=t.tr.step(new be(A.pos-B.length,A.pos+r.nodeSize,A.pos+C,A.pos+r.nodeSize-C,new j(E,B.length,0),0,!0));e(S.scrollIntoView())}return!0}}return!1}function Xp(t){return function(A,e){let n=A.selection,r=t<0?n.$from:n.$to,i=r.depth;for(;r.node(i).isInline;){if(!i)return!1;i--}return r.node(i).isTextblock?(e&&e(A.tr.setSelection(FA.create(A.doc,t<0?r.start(i):r.end(i)))),!0):!1}}const aU=Xp(-1),lU=Xp(1);function cU(t,A=null){return function(e,n){let{$from:r,$to:i}=e.selection,s=r.blockRange(i),a=s&&oc(s,t,A);return a?(n&&n(e.tr.wrap(s,a).scrollIntoView()),!0):!1}}function Yp(t,A=null){return function(e,n){let r=!1;for(let i=0;i<e.selection.ranges.length&&!r;i++){let{$from:{pos:s},$to:{pos:a}}=e.selection.ranges[i];e.doc.nodesBetween(s,a,(c,u)=>{if(r)return!1;if(!(!c.isTextblock||c.hasMarkup(t,A)))if(c.type==t)r=!0;else{let d=e.doc.resolve(u),h=d.index();r=d.parent.canReplaceWith(h,h+1,t)}})}if(!r)return!1;if(n){let i=e.tr;for(let s=0;s<e.selection.ranges.length;s++){let{$from:{pos:a},$to:{pos:c}}=e.selection.ranges[s];i.setBlockType(a,c,t,A)}n(i.scrollIntoView())}return!0}}typeof navigator<"u"?/Mac|iP(hone|[oa]d)/.test(navigator.platform):typeof os<"u"&&os.platform&&os.platform()=="darwin";function uU(t,A=null){return function(e,n){let{$from:r,$to:i}=e.selection,s=r.blockRange(i),a=!1,c=s;if(!s)return!1;if(s.depth>=2&&r.node(s.depth-1).type.compatibleContent(t)&&s.startIndex==0){if(r.index(s.depth-1)==0)return!1;let d=e.doc.resolve(s.start-2);c=new So(d,d,s.depth),s.endIndex<s.parent.childCount&&(s=new So(r,e.doc.resolve(i.end(s.depth)),s.depth)),a=!0}let u=oc(c,t,A,s);return u?(n&&n(fU(e.tr,s,u,a,t).scrollIntoView()),!0):!1}}function fU(t,A,e,n,r){let i=X.empty;for(let d=e.length-1;d>=0;d--)i=X.from(e[d].type.create(e[d].attrs,i));t.step(new be(A.start-(n?2:0),A.end,A.start,A.end,new j(i,0,0),e.length,!0));let s=0;for(let d=0;d<e.length;d++)e[d].type==r&&(s=d+1);let a=e.length-s,c=A.start+e.length-(n?2:0),u=A.parent;for(let d=A.startIndex,h=A.endIndex,B=!0;d<h;d++,B=!1)!B&&Bi(t.doc,c,a)&&(t.split(c,a),c+=2*a),c+=u.child(d).nodeSize;return t}function dU(t){return function(A,e){let{$from:n,$to:r}=A.selection,i=n.blockRange(r,s=>s.childCount>0&&s.firstChild.type==t);return i?e?n.node(i.depth-1).type==t?hU(A,e,t,i):pU(A,e,i):!0:!1}}function hU(t,A,e,n){let r=t.tr,i=n.end,s=n.$to.end(n.depth);i<s&&(r.step(new be(i-1,s,i,s,new j(X.from(e.create(null,n.parent.copy())),1,0),1,!0)),n=new So(r.doc.resolve(n.$from.pos),r.doc.resolve(s),n.depth));const a=gi(n);if(a==null)return!1;r.lift(n,a);let c=r.mapping.map(i,-1)-1;return Ar(r.doc,c)&&r.join(c),A(r.scrollIntoView()),!0}function pU(t,A,e){let n=t.tr,r=e.parent;for(let m=e.end,C=e.endIndex-1,E=e.startIndex;C>E;C--)m-=r.child(C).nodeSize,n.delete(m-1,m+1);let i=n.doc.resolve(e.start),s=i.nodeAfter;if(n.mapping.map(e.end)!=e.start+i.nodeAfter.nodeSize)return!1;let a=e.startIndex==0,c=e.endIndex==r.childCount,u=i.node(-1),d=i.index(-1);if(!u.canReplace(d+(a?0:1),d+1,s.content.append(c?X.empty:X.from(r))))return!1;let h=i.pos,B=h+s.nodeSize;return n.step(new be(h-(a?1:0),B+(c?1:0),h+1,B-1,new j((a?X.empty:X.from(r.copy(X.empty))).append(c?X.empty:X.from(r.copy(X.empty))),a?0:1,c?0:1),a?0:1)),A(n.scrollIntoView()),!0}function gU(t){return function(A,e){let{$from:n,$to:r}=A.selection,i=n.blockRange(r,u=>u.childCount>0&&u.firstChild.type==t);if(!i)return!1;let s=i.startIndex;if(s==0)return!1;let a=i.parent,c=a.child(s-1);if(c.type!=t)return!1;if(e){let u=c.lastChild&&c.lastChild.type==a.type,d=X.from(u?t.create():null),h=new j(X.from(t.create(null,X.from(a.type.create(null,d)))),u?3:1,0),B=i.start,m=i.end;e(A.tr.step(new be(B-(u?3:1),m,B,m,h,1,!0)).scrollIntoView())}return!0}}function Jo(t){const{state:A,transaction:e}=t;let{selection:n}=e,{doc:r}=e,{storedMarks:i}=e;return{...A,apply:A.apply.bind(A),applyTransaction:A.applyTransaction.bind(A),filterTransaction:A.filterTransaction,plugins:A.plugins,schema:A.schema,reconfigure:A.reconfigure.bind(A),toJSON:A.toJSON.bind(A),get storedMarks(){return i},get selection(){return n},get doc(){return r},get tr(){return n=e.selection,r=e.doc,i=e.storedMarks,e}}}class $o{constructor(A){this.editor=A.editor,this.rawCommands=this.editor.extensionManager.commands,this.customState=A.state}get hasCustomState(){return!!this.customState}get state(){return this.customState||this.editor.state}get commands(){const{rawCommands:A,editor:e,state:n}=this,{view:r}=e,{tr:i}=n,s=this.buildProps(i);return Object.fromEntries(Object.entries(A).map(([a,c])=>[a,(...d)=>{const h=c(...d)(s);return!i.getMeta("preventDispatch")&&!this.hasCustomState&&r.dispatch(i),h}]))}get chain(){return()=>this.createChain()}get can(){return()=>this.createCan()}createChain(A,e=!0){const{rawCommands:n,editor:r,state:i}=this,{view:s}=r,a=[],c=!!A,u=A||i.tr,d=()=>(!c&&e&&!u.getMeta("preventDispatch")&&!this.hasCustomState&&s.dispatch(u),a.every(B=>B===!0)),h={...Object.fromEntries(Object.entries(n).map(([B,m])=>[B,(...E)=>{const S=this.buildProps(u,e),U=m(...E)(S);return a.push(U),h}])),run:d};return h}createCan(A){const{rawCommands:e,state:n}=this,r=!1,i=A||n.tr,s=this.buildProps(i,r);return{...Object.fromEntries(Object.entries(e).map(([c,u])=>[c,(...d)=>u(...d)({...s,dispatch:void 0})])),chain:()=>this.createChain(i,r)}}buildProps(A,e=!0){const{rawCommands:n,editor:r,state:i}=this,{view:s}=r;i.storedMarks&&A.setStoredMarks(i.storedMarks);const a={tr:A,editor:r,view:s,state:Jo({state:i,transaction:A}),dispatch:e?()=>{}:void 0,chain:()=>this.createChain(A),can:()=>this.createCan(A),get commands(){return Object.fromEntries(Object.entries(n).map(([c,u])=>[c,(...d)=>u(...d)(a)]))}};return a}}class BU{constructor(){this.callbacks={}}on(A,e){return this.callbacks[A]||(this.callbacks[A]=[]),this.callbacks[A].push(e),this}emit(A,...e){const n=this.callbacks[A];return n&&n.forEach(r=>r.apply(this,e)),this}off(A,e){const n=this.callbacks[A];return n&&(e?this.callbacks[A]=n.filter(r=>r!==e):delete this.callbacks[A]),this}removeAllListeners(){this.callbacks={}}}function iA(t,A,e){return t.config[A]===void 0&&t.parent?iA(t.parent,A,e):typeof t.config[A]=="function"?t.config[A].bind({...e,parent:t.parent?iA(t.parent,A,e):null}):t.config[A]}function Xo(t){const A=t.filter(r=>r.type==="extension"),e=t.filter(r=>r.type==="node"),n=t.filter(r=>r.type==="mark");return{baseExtensions:A,nodeExtensions:e,markExtensions:n}}function zp(t){const A=[],{nodeExtensions:e,markExtensions:n}=Xo(t),r=[...e,...n],i={default:null,rendered:!0,renderHTML:null,parseHTML:null,keepOnSplit:!0,isRequired:!1};return t.forEach(s=>{const a={name:s.name,options:s.options,storage:s.storage},c=iA(s,"addGlobalAttributes",a);if(!c)return;c().forEach(d=>{d.types.forEach(h=>{Object.entries(d.attributes).forEach(([B,m])=>{A.push({type:h,name:B,attribute:{...i,...m}})})})})}),r.forEach(s=>{const a={name:s.name,options:s.options,storage:s.storage},c=iA(s,"addAttributes",a);if(!c)return;const u=c();Object.entries(u).forEach(([d,h])=>{const B={...i,...h};typeof(B==null?void 0:B.default)=="function"&&(B.default=B.default()),B!=null&&B.isRequired&&(B==null?void 0:B.default)===void 0&&delete B.default,A.push({type:s.name,name:d,attribute:B})})}),A}function Ie(t,A){if(typeof t=="string"){if(!A.nodes[t])throw Error(`There is no node type named '${t}'. Maybe you forgot to add the extension?`);return A.nodes[t]}return t}function pe(...t){return t.filter(A=>!!A).reduce((A,e)=>{const n={...A};return Object.entries(e).forEach(([r,i])=>{if(!n[r]){n[r]=i;return}r==="class"?n[r]=[n[r],i].join(" "):r==="style"?n[r]=[n[r],i].join("; "):n[r]=i}),n},{})}function Pc(t,A){return A.filter(e=>e.attribute.rendered).map(e=>e.attribute.renderHTML?e.attribute.renderHTML(t.attrs)||{}:{[e.name]:t.attrs[e.name]}).reduce((e,n)=>pe(e,n),{})}function qp(t){return typeof t=="function"}function QA(t,A=void 0,...e){return qp(t)?A?t.bind(A)(...e):t(...e):t}function mU(t={}){return Object.keys(t).length===0&&t.constructor===Object}function wU(t){return typeof t!="string"?t:t.match(/^[+-]?(?:\d*\.)?\d+$/)?Number(t):t==="true"?!0:t==="false"?!1:t}function Zp(t,A){return t.style?t:{...t,getAttrs:e=>{const n=t.getAttrs?t.getAttrs(e):t.attrs;if(n===!1)return!1;const r=A.reduce((i,s)=>{const a=s.attribute.parseHTML?s.attribute.parseHTML(e):wU(e.getAttribute(s.name));return a==null?i:{...i,[s.name]:a}},{});return{...n,...r}}}}function jp(t){return Object.fromEntries(Object.entries(t).filter(([A,e])=>A==="attrs"&&mU(e)?!1:e!=null))}function CU(t,A){var e;const n=zp(t),{nodeExtensions:r,markExtensions:i}=Xo(t),s=(e=r.find(u=>iA(u,"topNode")))===null||e===void 0?void 0:e.name,a=Object.fromEntries(r.map(u=>{const d=n.filter(U=>U.type===u.name),h={name:u.name,options:u.options,storage:u.storage,editor:A},B=t.reduce((U,b)=>{const M=iA(b,"extendNodeSchema",h);return{...U,...M?M(u):{}}},{}),m=jp({...B,content:QA(iA(u,"content",h)),marks:QA(iA(u,"marks",h)),group:QA(iA(u,"group",h)),inline:QA(iA(u,"inline",h)),atom:QA(iA(u,"atom",h)),selectable:QA(iA(u,"selectable",h)),draggable:QA(iA(u,"draggable",h)),code:QA(iA(u,"code",h)),defining:QA(iA(u,"defining",h)),isolating:QA(iA(u,"isolating",h)),attrs:Object.fromEntries(d.map(U=>{var b;return[U.name,{default:(b=U==null?void 0:U.attribute)===null||b===void 0?void 0:b.default}]}))}),C=QA(iA(u,"parseHTML",h));C&&(m.parseDOM=C.map(U=>Zp(U,d)));const E=iA(u,"renderHTML",h);E&&(m.toDOM=U=>E({node:U,HTMLAttributes:Pc(U,d)}));const S=iA(u,"renderText",h);return S&&(m.toText=S),[u.name,m]})),c=Object.fromEntries(i.map(u=>{const d=n.filter(S=>S.type===u.name),h={name:u.name,options:u.options,storage:u.storage,editor:A},B=t.reduce((S,U)=>{const b=iA(U,"extendMarkSchema",h);return{...S,...b?b(u):{}}},{}),m=jp({...B,inclusive:QA(iA(u,"inclusive",h)),excludes:QA(iA(u,"excludes",h)),group:QA(iA(u,"group",h)),spanning:QA(iA(u,"spanning",h)),code:QA(iA(u,"code",h)),attrs:Object.fromEntries(d.map(S=>{var U;return[S.name,{default:(U=S==null?void 0:S.attribute)===null||U===void 0?void 0:U.default}]}))}),C=QA(iA(u,"parseHTML",h));C&&(m.parseDOM=C.map(S=>Zp(S,d)));const E=iA(u,"renderHTML",h);return E&&(m.toDOM=S=>E({mark:S,HTMLAttributes:Pc(S,d)})),[u.name,m]}));return new HQ({topNode:s,nodes:a,marks:c})}function Vc(t,A){return A.nodes[t]||A.marks[t]||null}function Ag(t,A){return Array.isArray(A)?A.some(e=>(typeof e=="string"?e:e.name)===t.name):A}const yU=(t,A=500)=>{let e="";const n=t.parentOffset;return t.parent.nodesBetween(Math.max(0,n-A),n,(r,i,s,a)=>{var c,u;const d=((u=(c=r.type.spec).toText)===null||u===void 0?void 0:u.call(c,{node:r,pos:i,parent:s,index:a}))||r.textContent||"%leaf%";e+=d.slice(0,Math.max(0,n-i))}),e};function Gc(t){return Object.prototype.toString.call(t)==="[object RegExp]"}class Yo{constructor(A){this.find=A.find,this.handler=A.handler}}const QU=(t,A)=>{if(Gc(A))return A.exec(t);const e=A(t);if(!e)return null;const n=[e.text];return n.index=e.index,n.input=t,n.data=e.data,e.replaceWith&&(e.text.includes(e.replaceWith)||console.warn('[tiptap warn]: "inputRuleMatch.replaceWith" must be part of "inputRuleMatch.text".'),n.push(e.replaceWith)),n};function Wc(t){var A;const{editor:e,from:n,to:r,text:i,rules:s,plugin:a}=t,{view:c}=e;if(c.composing)return!1;const u=c.state.doc.resolve(n);if(u.parent.type.spec.code||!((A=u.nodeBefore||u.nodeAfter)===null||A===void 0)&&A.marks.find(B=>B.type.spec.code))return!1;let d=!1;const h=yU(u)+i;return s.forEach(B=>{if(d)return;const m=QU(h,B.find);if(!m)return;const C=c.state.tr,E=Jo({state:c.state,transaction:C}),S={from:n-(m[0].length-i.length),to:r},{commands:U,chain:b,can:M}=new $o({editor:e,state:E});B.handler({state:E,range:S,match:m,commands:U,chain:b,can:M})===null||!C.steps.length||(C.setMeta(a,{transform:C,from:n,to:r,text:i}),c.dispatch(C),d=!0)}),d}function EU(t){const{editor:A,rules:e}=t,n=new dt({state:{init(){return null},apply(r,i){const s=r.getMeta(n);return s||(r.selectionSet||r.docChanged?null:i)}},props:{handleTextInput(r,i,s,a){return Wc({editor:A,from:i,to:s,text:a,rules:e,plugin:n})},handleDOMEvents:{compositionend:r=>(setTimeout(()=>{const{$cursor:i}=r.state.selection;i&&Wc({editor:A,from:i.pos,to:i.pos,text:"",rules:e,plugin:n})}),!1)},handleKeyDown(r,i){if(i.key!=="Enter")return!1;const{$cursor:s}=r.state.selection;return s?Wc({editor:A,from:s.pos,to:s.pos,text:`
11
+ `,rules:e,plugin:n}):!1}},isInputRules:!0});return n}function FU(t){return typeof t=="number"}class UU{constructor(A){this.find=A.find,this.handler=A.handler}}const vU=(t,A)=>{if(Gc(A))return[...t.matchAll(A)];const e=A(t);return e?e.map(n=>{const r=[n.text];return r.index=n.index,r.input=t,r.data=n.data,n.replaceWith&&(n.text.includes(n.replaceWith)||console.warn('[tiptap warn]: "pasteRuleMatch.replaceWith" must be part of "pasteRuleMatch.text".'),r.push(n.replaceWith)),r}):[]};function bU(t){const{editor:A,state:e,from:n,to:r,rule:i}=t,{commands:s,chain:a,can:c}=new $o({editor:A,state:e}),u=[];return e.doc.nodesBetween(n,r,(h,B)=>{if(!h.isTextblock||h.type.spec.code)return;const m=Math.max(n,B),C=Math.min(r,B+h.content.size),E=h.textBetween(m-B,C-B,void 0,"");vU(E,i.find).forEach(U=>{if(U.index===void 0)return;const b=m+U.index+1,M=b+U[0].length,F={from:e.tr.mapping.map(b),to:e.tr.mapping.map(M)},T=i.handler({state:e,range:F,match:U,commands:s,chain:a,can:c});u.push(T)})}),u.every(h=>h!==null)}function IU(t){const{editor:A,rules:e}=t;let n=null,r=!1,i=!1;return e.map(a=>new dt({view(c){const u=d=>{var h;n=!((h=c.dom.parentElement)===null||h===void 0)&&h.contains(d.target)?c.dom.parentElement:null};return window.addEventListener("dragstart",u),{destroy(){window.removeEventListener("dragstart",u)}}},props:{handleDOMEvents:{drop:c=>(i=n===c.dom.parentElement,!1),paste:(c,u)=>{var d;const h=(d=u.clipboardData)===null||d===void 0?void 0:d.getData("text/html");return r=!!(h!=null&&h.includes("data-pm-slice")),!1}}},appendTransaction:(c,u,d)=>{const h=c[0],B=h.getMeta("uiEvent")==="paste"&&!r,m=h.getMeta("uiEvent")==="drop"&&!i;if(!B&&!m)return;const C=u.doc.content.findDiffStart(d.doc.content),E=u.doc.content.findDiffEnd(d.doc.content);if(!FU(C)||!E||C===E.b)return;const S=d.tr,U=Jo({state:d,transaction:S});if(!(!bU({editor:A,state:U,from:Math.max(C-1,0),to:E.b-1,rule:a})||!S.steps.length))return S}}))}function SU(t){const A=t.filter((e,n)=>t.indexOf(e)!==n);return[...new Set(A)]}class Si{constructor(A,e){this.splittableMarks=[],this.editor=e,this.extensions=Si.resolve(A),this.schema=CU(this.extensions,e),this.extensions.forEach(n=>{var r;this.editor.extensionStorage[n.name]=n.storage;const i={name:n.name,options:n.options,storage:n.storage,editor:this.editor,type:Vc(n.name,this.schema)};n.type==="mark"&&(!((r=QA(iA(n,"keepOnSplit",i)))!==null&&r!==void 0)||r)&&this.splittableMarks.push(n.name);const s=iA(n,"onBeforeCreate",i);s&&this.editor.on("beforeCreate",s);const a=iA(n,"onCreate",i);a&&this.editor.on("create",a);const c=iA(n,"onUpdate",i);c&&this.editor.on("update",c);const u=iA(n,"onSelectionUpdate",i);u&&this.editor.on("selectionUpdate",u);const d=iA(n,"onTransaction",i);d&&this.editor.on("transaction",d);const h=iA(n,"onFocus",i);h&&this.editor.on("focus",h);const B=iA(n,"onBlur",i);B&&this.editor.on("blur",B);const m=iA(n,"onDestroy",i);m&&this.editor.on("destroy",m)})}static resolve(A){const e=Si.sort(Si.flatten(A)),n=SU(e.map(r=>r.name));return n.length&&console.warn(`[tiptap warn]: Duplicate extension names found: [${n.map(r=>`'${r}'`).join(", ")}]. This can lead to issues.`),e}static flatten(A){return A.map(e=>{const n={name:e.name,options:e.options,storage:e.storage},r=iA(e,"addExtensions",n);return r?[e,...this.flatten(r())]:e}).flat(10)}static sort(A){return A.sort((n,r)=>{const i=iA(n,"priority")||100,s=iA(r,"priority")||100;return i>s?-1:i<s?1:0})}get commands(){return this.extensions.reduce((A,e)=>{const n={name:e.name,options:e.options,storage:e.storage,editor:this.editor,type:Vc(e.name,this.schema)},r=iA(e,"addCommands",n);return r?{...A,...r()}:A},{})}get plugins(){const{editor:A}=this,e=Si.sort([...this.extensions].reverse()),n=[],r=[],i=e.map(s=>{const a={name:s.name,options:s.options,storage:s.storage,editor:A,type:Vc(s.name,this.schema)},c=[],u=iA(s,"addKeyboardShortcuts",a);let d={};if(s.type==="mark"&&s.config.exitable&&(d.ArrowRight=()=>nn.handleExit({editor:A,mark:s})),u){const E=Object.fromEntries(Object.entries(u()).map(([S,U])=>[S,()=>U({editor:A})]));d={...d,...E}}const h=WF(d);c.push(h);const B=iA(s,"addInputRules",a);Ag(s,A.options.enableInputRules)&&B&&n.push(...B());const m=iA(s,"addPasteRules",a);Ag(s,A.options.enablePasteRules)&&m&&r.push(...m());const C=iA(s,"addProseMirrorPlugins",a);if(C){const E=C();c.push(...E)}return c}).flat();return[EU({editor:A,rules:n}),...IU({editor:A,rules:r}),...i]}get attributes(){return zp(this.extensions)}get nodeViews(){const{editor:A}=this,{nodeExtensions:e}=Xo(this.extensions);return Object.fromEntries(e.filter(n=>!!iA(n,"addNodeView")).map(n=>{const r=this.attributes.filter(c=>c.type===n.name),i={name:n.name,options:n.options,storage:n.storage,editor:A,type:Ie(n.name,this.schema)},s=iA(n,"addNodeView",i);if(!s)return[];const a=(c,u,d,h)=>{const B=Pc(c,r);return s()({editor:A,node:c,getPos:d,decorations:h,HTMLAttributes:B,extension:n})};return[n.name,a]}))}}function TU(t){return Object.prototype.toString.call(t).slice(8,-1)}function Jc(t){return TU(t)!=="Object"?!1:t.constructor===Object&&Object.getPrototypeOf(t)===Object.prototype}function zo(t,A){const e={...t};return Jc(t)&&Jc(A)&&Object.keys(A).forEach(n=>{Jc(A[n])?n in t?e[n]=zo(t[n],A[n]):Object.assign(e,{[n]:A[n]}):Object.assign(e,{[n]:A[n]})}),e}class Je{constructor(A={}){this.type="extension",this.name="extension",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...A},this.name=this.config.name,A.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=QA(iA(this,"addOptions",{name:this.name}))),this.storage=QA(iA(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(A={}){return new Je(A)}configure(A={}){const e=this.extend();return e.options=zo(this.options,A),e.storage=QA(iA(e,"addStorage",{name:e.name,options:e.options})),e}extend(A={}){const e=new Je(A);return e.parent=this,this.child=e,e.name=A.name?A.name:e.parent.name,A.defaultOptions&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${e.name}".`),e.options=QA(iA(e,"addOptions",{name:e.name})),e.storage=QA(iA(e,"addStorage",{name:e.name,options:e.options})),e}}function eg(t,A,e){const{from:n,to:r}=A,{blockSeparator:i=`
12
+
13
+ `,textSerializers:s={}}=e||{};let a="",c=!0;return t.nodesBetween(n,r,(u,d,h,B)=>{var m;const C=s==null?void 0:s[u.type.name];C?(u.isBlock&&!c&&(a+=i,c=!0),h&&(a+=C({node:u,pos:d,parent:h,index:B,range:A}))):u.isText?(a+=(m=u==null?void 0:u.text)===null||m===void 0?void 0:m.slice(Math.max(n,d)-d,r-d),c=!1):u.isBlock&&!c&&(a+=i,c=!0)}),a}function tg(t){return Object.fromEntries(Object.entries(t.nodes).filter(([,A])=>A.spec.toText).map(([A,e])=>[A,e.spec.toText]))}const xU=Je.create({name:"clipboardTextSerializer",addProseMirrorPlugins(){return[new dt({key:new pn("clipboardTextSerializer"),props:{clipboardTextSerializer:()=>{const{editor:t}=this,{state:A,schema:e}=t,{doc:n,selection:r}=A,{ranges:i}=r,s=Math.min(...i.map(d=>d.$from.pos)),a=Math.max(...i.map(d=>d.$to.pos)),c=tg(e);return eg(n,{from:s,to:a},{textSerializers:c})}}})]}}),HU=()=>({editor:t,view:A})=>(requestAnimationFrame(()=>{var e;t.isDestroyed||(A.dom.blur(),(e=window==null?void 0:window.getSelection())===null||e===void 0||e.removeAllRanges())}),!0),LU=(t=!1)=>({commands:A})=>A.setContent("",t),OU=()=>({state:t,tr:A,dispatch:e})=>{const{selection:n}=A,{ranges:r}=n;return e&&r.forEach(({$from:i,$to:s})=>{t.doc.nodesBetween(i.pos,s.pos,(a,c)=>{if(a.type.isText)return;const{doc:u,mapping:d}=A,h=u.resolve(d.map(c)),B=u.resolve(d.map(c+a.nodeSize)),m=h.blockRange(B);if(!m)return;const C=gi(m);if(a.type.isTextblock){const{defaultType:E}=h.parent.contentMatchAt(h.index());A.setNodeMarkup(m.start,E)}(C||C===0)&&A.lift(m,C)})}),!0},_U=t=>A=>t(A),MU=()=>({state:t,dispatch:A})=>rU(t,A),DU=()=>({tr:t,dispatch:A})=>{const{selection:e}=t,n=e.$anchor.node();if(n.content.size>0)return!1;const r=t.selection.$anchor;for(let i=r.depth;i>0;i-=1)if(r.node(i).type===n.type){if(A){const a=r.before(i),c=r.after(i);t.delete(a,c).scrollIntoView()}return!0}return!1},kU=t=>({tr:A,state:e,dispatch:n})=>{const r=Ie(t,e.schema),i=A.selection.$anchor;for(let s=i.depth;s>0;s-=1)if(i.node(s).type===r){if(n){const c=i.before(s),u=i.after(s);A.delete(c,u).scrollIntoView()}return!0}return!1},NU=t=>({tr:A,dispatch:e})=>{const{from:n,to:r}=t;return e&&A.delete(n,r),!0},RU=()=>({state:t,dispatch:A})=>JF(t,A),KU=()=>({commands:t})=>t.keyboardShortcut("Enter"),PU=()=>({state:t,dispatch:A})=>nU(t,A);function qo(t,A,e={strict:!0}){const n=Object.keys(A);return n.length?n.every(r=>e.strict?A[r]===t[r]:Gc(A[r])?A[r].test(t[r]):A[r]===t[r]):!0}function $c(t,A,e={}){return t.find(n=>n.type===A&&qo(n.attrs,e))}function VU(t,A,e={}){return!!$c(t,A,e)}function Xc(t,A,e={}){if(!t||!A)return;let n=t.parent.childAfter(t.parentOffset);if(t.parentOffset===n.offset&&n.offset!==0&&(n=t.parent.childBefore(t.parentOffset)),!n.node)return;const r=$c([...n.node.marks],A,e);if(!r)return;let i=n.index,s=t.start()+n.offset,a=i+1,c=s+n.node.nodeSize;for($c([...n.node.marks],A,e);i>0&&r.isInSet(t.parent.child(i-1).marks);)i-=1,s-=t.parent.child(i).nodeSize;for(;a<t.parent.childCount&&VU([...t.parent.child(a).marks],A,e);)c+=t.parent.child(a).nodeSize,a+=1;return{from:s,to:c}}function cr(t,A){if(typeof t=="string"){if(!A.marks[t])throw Error(`There is no mark type named '${t}'. Maybe you forgot to add the extension?`);return A.marks[t]}return t}const GU=(t,A={})=>({tr:e,state:n,dispatch:r})=>{const i=cr(t,n.schema),{doc:s,selection:a}=e,{$from:c,from:u,to:d}=a;if(r){const h=Xc(c,i,A);if(h&&h.from<=u&&h.to>=d){const B=FA.create(s,h.from,h.to);e.setSelection(B)}}return!0},WU=t=>A=>{const e=typeof t=="function"?t(A):t;for(let n=0;n<e.length;n+=1)if(e[n](A))return!0;return!1};function Yc(t){return t instanceof FA}function Tn(t=0,A=0,e=0){return Math.min(Math.max(t,A),e)}function ng(t,A=null){if(!A)return null;const e=yA.atStart(t),n=yA.atEnd(t);if(A==="start"||A===!0)return e;if(A==="end")return n;const r=e.from,i=n.to;return A==="all"?FA.create(t,Tn(0,r,i),Tn(t.content.size,r,i)):FA.create(t,Tn(A,r,i),Tn(A,r,i))}function zc(){return["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document}const JU=(t=null,A={})=>({editor:e,view:n,tr:r,dispatch:i})=>{A={scrollIntoView:!0,...A};const s=()=>{zc()&&n.dom.focus(),requestAnimationFrame(()=>{e.isDestroyed||(n.focus(),A!=null&&A.scrollIntoView&&e.commands.scrollIntoView())})};if(n.hasFocus()&&t===null||t===!1)return!0;if(i&&t===null&&!Yc(e.state.selection))return s(),!0;const a=ng(r.doc,t)||e.state.selection,c=e.state.selection.eq(a);return i&&(c||r.setSelection(a),c&&r.storedMarks&&r.setStoredMarks(r.storedMarks),s()),!0},$U=(t,A)=>e=>t.every((n,r)=>A(n,{...e,index:r})),XU=(t,A)=>({tr:e,commands:n})=>n.insertContentAt({from:e.selection.from,to:e.selection.to},t,A);function rg(t){const A=`<body>${t}</body>`;return new window.DOMParser().parseFromString(A,"text/html").body}function Zo(t,A,e){if(e={slice:!0,parseOptions:{},...e},typeof t=="object"&&t!==null)try{return Array.isArray(t)&&t.length>0?X.fromArray(t.map(n=>A.nodeFromJSON(n))):A.nodeFromJSON(t)}catch(n){return console.warn("[tiptap warn]: Invalid content.","Passed value:",t,"Error:",n),Zo("",A,e)}if(typeof t=="string"){const n=di.fromSchema(A);return e.slice?n.parseSlice(rg(t),e.parseOptions).content:n.parse(rg(t),e.parseOptions)}return Zo("",A,e)}function YU(t,A,e){const n=t.steps.length-1;if(n<A)return;const r=t.steps[n];if(!(r instanceof Ge||r instanceof be))return;const i=t.mapping.maps[n];let s=0;i.forEach((a,c,u,d)=>{s===0&&(s=d)}),t.setSelection(yA.near(t.doc.resolve(s),e))}const zU=t=>t.toString().startsWith("<"),qU=(t,A,e)=>({tr:n,dispatch:r,editor:i})=>{if(r){e={parseOptions:{},updateSelection:!0,...e};const s=Zo(A,i.schema,{parseOptions:{preserveWhitespace:"full",...e.parseOptions}});if(s.toString()==="<>")return!0;let{from:a,to:c}=typeof t=="number"?{from:t,to:t}:t,u=!0,d=!0;if((zU(s)?s:[s]).forEach(B=>{B.check(),u=u?B.isText&&B.marks.length===0:!1,d=d?B.isBlock:!1}),a===c&&d){const{parent:B}=n.doc.resolve(a);B.isTextblock&&!B.type.spec.code&&!B.childCount&&(a-=1,c+=1)}u?Array.isArray(A)?n.insertText(A.map(B=>B.text||"").join(""),a,c):typeof A=="object"&&A&&A.text?n.insertText(A.text,a,c):n.insertText(A,a,c):n.replaceWith(a,c,s),e.updateSelection&&YU(n,n.steps.length-1,-1)}return!0},ZU=()=>({state:t,dispatch:A})=>jF(t,A),jU=()=>({state:t,dispatch:A})=>AU(t,A),Av=()=>({state:t,dispatch:A})=>XF(t,A),ev=()=>({state:t,dispatch:A})=>qF(t,A);function ig(){return typeof navigator<"u"?/Mac/.test(navigator.platform):!1}function tv(t){const A=t.split(/-(?!$)/);let e=A[A.length-1];e==="Space"&&(e=" ");let n,r,i,s;for(let a=0;a<A.length-1;a+=1){const c=A[a];if(/^(cmd|meta|m)$/i.test(c))s=!0;else if(/^a(lt)?$/i.test(c))n=!0;else if(/^(c|ctrl|control)$/i.test(c))r=!0;else if(/^s(hift)?$/i.test(c))i=!0;else if(/^mod$/i.test(c))zc()||ig()?s=!0:r=!0;else throw new Error(`Unrecognized modifier name: ${c}`)}return n&&(e=`Alt-${e}`),r&&(e=`Ctrl-${e}`),s&&(e=`Meta-${e}`),i&&(e=`Shift-${e}`),e}const nv=t=>({editor:A,view:e,tr:n,dispatch:r})=>{const i=tv(t).split(/-(?!$)/),s=i.find(u=>!["Alt","Ctrl","Meta","Shift"].includes(u)),a=new KeyboardEvent("keydown",{key:s==="Space"?" ":s,altKey:i.includes("Alt"),ctrlKey:i.includes("Ctrl"),metaKey:i.includes("Meta"),shiftKey:i.includes("Shift"),bubbles:!0,cancelable:!0}),c=A.captureTransaction(()=>{e.someProp("handleKeyDown",u=>u(e,a))});return c==null||c.steps.forEach(u=>{const d=u.map(n.mapping);d&&r&&n.maybeStep(d)}),!0};function vs(t,A,e={}){const{from:n,to:r,empty:i}=t.selection,s=A?Ie(A,t.schema):null,a=[];t.doc.nodesBetween(n,r,(h,B)=>{if(h.isText)return;const m=Math.max(n,B),C=Math.min(r,B+h.nodeSize);a.push({node:h,from:m,to:C})});const c=r-n,u=a.filter(h=>s?s.name===h.node.type.name:!0).filter(h=>qo(h.node.attrs,e,{strict:!1}));return i?!!u.length:u.reduce((h,B)=>h+B.to-B.from,0)>=c}const rv=(t,A={})=>({state:e,dispatch:n})=>{const r=Ie(t,e.schema);return vs(e,r,A)?eU(e,n):!1},iv=()=>({state:t,dispatch:A})=>iU(t,A),sv=t=>({state:A,dispatch:e})=>{const n=Ie(t,A.schema);return dU(n)(A,e)},ov=()=>({state:t,dispatch:A})=>tU(t,A);function jo(t,A){return A.nodes[t]?"node":A.marks[t]?"mark":null}function sg(t,A){const e=typeof A=="string"?[A]:A;return Object.keys(t).reduce((n,r)=>(e.includes(r)||(n[r]=t[r]),n),{})}const av=(t,A)=>({tr:e,state:n,dispatch:r})=>{let i=null,s=null;const a=jo(typeof t=="string"?t:t.name,n.schema);return a?(a==="node"&&(i=Ie(t,n.schema)),a==="mark"&&(s=cr(t,n.schema)),r&&e.selection.ranges.forEach(c=>{n.doc.nodesBetween(c.$from.pos,c.$to.pos,(u,d)=>{i&&i===u.type&&e.setNodeMarkup(d,void 0,sg(u.attrs,A)),s&&u.marks.length&&u.marks.forEach(h=>{s===h.type&&e.addMark(d,d+u.nodeSize,s.create(sg(h.attrs,A)))})})}),!0):!1},lv=()=>({tr:t,dispatch:A})=>(A&&t.scrollIntoView(),!0),cv=()=>({tr:t,commands:A})=>A.setTextSelection({from:0,to:t.doc.content.size}),uv=()=>({state:t,dispatch:A})=>YF(t,A),fv=()=>({state:t,dispatch:A})=>ZF(t,A),dv=()=>({state:t,dispatch:A})=>sU(t,A),hv=()=>({state:t,dispatch:A})=>lU(t,A),pv=()=>({state:t,dispatch:A})=>aU(t,A);function og(t,A,e={}){return Zo(t,A,{slice:!1,parseOptions:e})}const gv=(t,A=!1,e={})=>({tr:n,editor:r,dispatch:i})=>{const{doc:s}=n,a=og(t,r.schema,e);return i&&n.replaceWith(0,s.content.size,a).setMeta("preventUpdate",!A),!0};function Bv(t){for(let A=0;A<t.edgeCount;A+=1){const{type:e}=t.edge(A);if(e.isTextblock&&!e.hasRequiredAttrs())return e}return null}function mv(t,A){for(let e=t.depth;e>0;e-=1){const n=t.node(e);if(A(n))return{pos:e>0?t.before(e):0,start:t.start(e),depth:e,node:n}}}function qc(t){return A=>mv(A.$from,t)}function wv(t,A){const e=dn.fromSchema(A).serializeFragment(t),r=document.implementation.createHTMLDocument().createElement("div");return r.appendChild(e),r.innerHTML}function Cv(t,A){const e={from:0,to:t.content.size};return eg(t,e,A)}function Aa(t,A){const e=cr(A,t.schema),{from:n,to:r,empty:i}=t.selection,s=[];i?(t.storedMarks&&s.push(...t.storedMarks),s.push(...t.selection.$head.marks())):t.doc.nodesBetween(n,r,c=>{s.push(...c.marks)});const a=s.find(c=>c.type.name===e.name);return a?{...a.attrs}:{}}function yv(t,A){const e=Ie(A,t.schema),{from:n,to:r}=t.selection,i=[];t.doc.nodesBetween(n,r,a=>{i.push(a)});const s=i.reverse().find(a=>a.type.name===e.name);return s?{...s.attrs}:{}}function Qv(t,A){const e=jo(typeof A=="string"?A:A.name,t.schema);return e==="node"?yv(t,A):e==="mark"?Aa(t,A):{}}function ag(t,A,e){const n=[];return t===A?e.resolve(t).marks().forEach(r=>{const i=e.resolve(t-1),s=Xc(i,r.type);s&&n.push({mark:r,...s})}):e.nodesBetween(t,A,(r,i)=>{n.push(...r.marks.map(s=>({from:i,to:i+r.nodeSize,mark:s})))}),n}function ea(t,A,e){return Object.fromEntries(Object.entries(e).filter(([n])=>{const r=t.find(i=>i.type===A&&i.name===n);return r?r.attribute.keepOnSplit:!1}))}function Zc(t,A,e={}){const{empty:n,ranges:r}=t.selection,i=A?cr(A,t.schema):null;if(n)return!!(t.storedMarks||t.selection.$from.marks()).filter(h=>i?i.name===h.type.name:!0).find(h=>qo(h.attrs,e,{strict:!1}));let s=0;const a=[];if(r.forEach(({$from:h,$to:B})=>{const m=h.pos,C=B.pos;t.doc.nodesBetween(m,C,(E,S)=>{if(!E.isText&&!E.marks.length)return;const U=Math.max(m,S),b=Math.min(C,S+E.nodeSize),M=b-U;s+=M,a.push(...E.marks.map(F=>({mark:F,from:U,to:b})))})}),s===0)return!1;const c=a.filter(h=>i?i.name===h.mark.type.name:!0).filter(h=>qo(h.mark.attrs,e,{strict:!1})).reduce((h,B)=>h+B.to-B.from,0),u=a.filter(h=>i?h.mark.type!==i&&h.mark.type.excludes(i):!0).reduce((h,B)=>h+B.to-B.from,0);return(c>0?c+u:c)>=s}function Ev(t,A,e={}){if(!A)return vs(t,null,e)||Zc(t,null,e);const n=jo(A,t.schema);return n==="node"?vs(t,A,e):n==="mark"?Zc(t,A,e):!1}function lg(t,A){const{nodeExtensions:e}=Xo(A),n=e.find(s=>s.name===t);if(!n)return!1;const r={name:n.name,options:n.options,storage:n.storage},i=QA(iA(n,"group",r));return typeof i!="string"?!1:i.split(" ").includes("list")}function Fv(t){var A;const e=(A=t.type.createAndFill())===null||A===void 0?void 0:A.toJSON(),n=t.toJSON();return JSON.stringify(e)===JSON.stringify(n)}function Uv(t){return t instanceof uA}function cg(t,A,e){const r=t.state.doc.content.size,i=Tn(A,0,r),s=Tn(e,0,r),a=t.coordsAtPos(i),c=t.coordsAtPos(s,-1),u=Math.min(a.top,c.top),d=Math.max(a.bottom,c.bottom),h=Math.min(a.left,c.left),B=Math.max(a.right,c.right),m=B-h,C=d-u,U={top:u,bottom:d,left:h,right:B,width:m,height:C,x:h,y:u};return{...U,toJSON:()=>U}}function vv(t,A,e){var n;const{selection:r}=A;let i=null;if(Yc(r)&&(i=r.$cursor),i){const a=(n=t.storedMarks)!==null&&n!==void 0?n:i.marks();return!!e.isInSet(a)||!a.some(c=>c.type.excludes(e))}const{ranges:s}=r;return s.some(({$from:a,$to:c})=>{let u=a.depth===0?t.doc.inlineContent&&t.doc.type.allowsMarkType(e):!1;return t.doc.nodesBetween(a.pos,c.pos,(d,h,B)=>{if(u)return!1;if(d.isInline){const m=!B||B.type.allowsMarkType(e),C=!!e.isInSet(d.marks)||!d.marks.some(E=>E.type.excludes(e));u=m&&C}return!u}),u})}const bv=(t,A={})=>({tr:e,state:n,dispatch:r})=>{const{selection:i}=e,{empty:s,ranges:a}=i,c=cr(t,n.schema);if(r)if(s){const u=Aa(n,c);e.addStoredMark(c.create({...u,...A}))}else a.forEach(u=>{const d=u.$from.pos,h=u.$to.pos;n.doc.nodesBetween(d,h,(B,m)=>{const C=Math.max(m,d),E=Math.min(m+B.nodeSize,h);B.marks.find(U=>U.type===c)?B.marks.forEach(U=>{c===U.type&&e.addMark(C,E,c.create({...U.attrs,...A}))}):e.addMark(C,E,c.create(A))})});return vv(n,e,c)},Iv=(t,A)=>({tr:e})=>(e.setMeta(t,A),!0),Sv=(t,A={})=>({state:e,dispatch:n,chain:r})=>{const i=Ie(t,e.schema);return i.isTextblock?r().command(({commands:s})=>Yp(i,A)(e)?!0:s.clearNodes()).command(({state:s})=>Yp(i,A)(s,n)).run():(console.warn('[tiptap warn]: Currently "setNode()" only supports text block nodes.'),!1)},Tv=t=>({tr:A,dispatch:e})=>{if(e){const{doc:n}=A,r=Tn(t,0,n.content.size),i=uA.create(n,r);A.setSelection(i)}return!0},xv=t=>({tr:A,dispatch:e})=>{if(e){const{doc:n}=A,{from:r,to:i}=typeof t=="number"?{from:t,to:t}:t,s=FA.atStart(n).from,a=FA.atEnd(n).to,c=Tn(r,s,a),u=Tn(i,s,a),d=FA.create(n,c,u);A.setSelection(d)}return!0},Hv=t=>({state:A,dispatch:e})=>{const n=Ie(t,A.schema);return gU(n)(A,e)};function ug(t,A){const e=t.storedMarks||t.selection.$to.parentOffset&&t.selection.$from.marks();if(e){const n=e.filter(r=>A==null?void 0:A.includes(r.type.name));t.tr.ensureMarks(n)}}const Lv=({keepMarks:t=!0}={})=>({tr:A,state:e,dispatch:n,editor:r})=>{const{selection:i,doc:s}=A,{$from:a,$to:c}=i,u=r.extensionManager.attributes,d=ea(u,a.node().type.name,a.node().attrs);if(i instanceof uA&&i.node.isBlock)return!a.parentOffset||!Bi(s,a.pos)?!1:(n&&(t&&ug(e,r.extensionManager.splittableMarks),A.split(a.pos).scrollIntoView()),!0);if(!a.parent.isBlock)return!1;if(n){const h=c.parentOffset===c.parent.content.size;i instanceof FA&&A.deleteSelection();const B=a.depth===0?void 0:Bv(a.node(-1).contentMatchAt(a.indexAfter(-1)));let m=h&&B?[{type:B,attrs:d}]:void 0,C=Bi(A.doc,A.mapping.map(a.pos),1,m);if(!m&&!C&&Bi(A.doc,A.mapping.map(a.pos),1,B?[{type:B}]:void 0)&&(C=!0,m=B?[{type:B,attrs:d}]:void 0),C&&(A.split(A.mapping.map(a.pos),1,m),B&&!h&&!a.parentOffset&&a.parent.type!==B)){const E=A.mapping.map(a.before()),S=A.doc.resolve(E);a.node(-1).canReplaceWith(S.index(),S.index()+1,B)&&A.setNodeMarkup(A.mapping.map(a.before()),B)}t&&ug(e,r.extensionManager.splittableMarks),A.scrollIntoView()}return!0},Ov=t=>({tr:A,state:e,dispatch:n,editor:r})=>{var i;const s=Ie(t,e.schema),{$from:a,$to:c}=e.selection,u=e.selection.node;if(u&&u.isBlock||a.depth<2||!a.sameParent(c))return!1;const d=a.node(-1);if(d.type!==s)return!1;const h=r.extensionManager.attributes;if(a.parent.content.size===0&&a.node(-1).childCount===a.indexAfter(-1)){if(a.depth===2||a.node(-3).type!==s||a.index(-2)!==a.node(-2).childCount-1)return!1;if(n){let S=X.empty;const U=a.index(-1)?1:a.index(-2)?2:3;for(let N=a.depth-U;N>=a.depth-3;N-=1)S=X.from(a.node(N).copy(S));const b=a.indexAfter(-1)<a.node(-2).childCount?1:a.indexAfter(-2)<a.node(-3).childCount?2:3,M=ea(h,a.node().type.name,a.node().attrs),F=((i=s.contentMatch.defaultType)===null||i===void 0?void 0:i.createAndFill(M))||void 0;S=S.append(X.from(s.createAndFill(null,F)||void 0));const T=a.before(a.depth-(U-1));A.replace(T,a.after(-b),new j(S,4-U,0));let L=-1;A.doc.nodesBetween(T,A.doc.content.size,(N,W)=>{if(L>-1)return!1;N.isTextblock&&N.content.size===0&&(L=W+1)}),L>-1&&A.setSelection(FA.near(A.doc.resolve(L))),A.scrollIntoView()}return!0}const B=c.pos===a.end()?d.contentMatchAt(0).defaultType:null,m=ea(h,d.type.name,d.attrs),C=ea(h,a.node().type.name,a.node().attrs);A.delete(a.pos,c.pos);const E=B?[{type:s,attrs:m},{type:B,attrs:C}]:[{type:s,attrs:m}];if(!Bi(A.doc,a.pos,2))return!1;if(n){const{selection:S,storedMarks:U}=e,{splittableMarks:b}=r.extensionManager,M=U||S.$to.parentOffset&&S.$from.marks();if(A.split(a.pos,2,E).scrollIntoView(),!M||!n)return!0;const F=M.filter(T=>b.includes(T.type.name));A.ensureMarks(F)}return!0},jc=(t,A)=>{const e=qc(s=>s.type===A)(t.selection);if(!e)return!0;const n=t.doc.resolve(Math.max(0,e.pos-1)).before(e.depth);if(n===void 0)return!0;const r=t.doc.nodeAt(n);return e.node.type===(r==null?void 0:r.type)&&Ar(t.doc,e.pos)&&t.join(e.pos),!0},Au=(t,A)=>{const e=qc(s=>s.type===A)(t.selection);if(!e)return!0;const n=t.doc.resolve(e.start).after(e.depth);if(n===void 0)return!0;const r=t.doc.nodeAt(n);return e.node.type===(r==null?void 0:r.type)&&Ar(t.doc,n)&&t.join(n),!0};var _v=Object.freeze({__proto__:null,blur:HU,clearContent:LU,clearNodes:OU,command:_U,createParagraphNear:MU,deleteCurrentNode:DU,deleteNode:kU,deleteRange:NU,deleteSelection:RU,enter:KU,exitCode:PU,extendMarkRange:GU,first:WU,focus:JU,forEach:$U,insertContent:XU,insertContentAt:qU,joinUp:ZU,joinDown:jU,joinBackward:Av,joinForward:ev,keyboardShortcut:nv,lift:rv,liftEmptyBlock:iv,liftListItem:sv,newlineInCode:ov,resetAttributes:av,scrollIntoView:lv,selectAll:cv,selectNodeBackward:uv,selectNodeForward:fv,selectParentNode:dv,selectTextblockEnd:hv,selectTextblockStart:pv,setContent:gv,setMark:bv,setMeta:Iv,setNode:Sv,setNodeSelection:Tv,setTextSelection:xv,sinkListItem:Hv,splitBlock:Lv,splitListItem:Ov,toggleList:(t,A,e,n={})=>({editor:r,tr:i,state:s,dispatch:a,chain:c,commands:u,can:d})=>{const{extensions:h,splittableMarks:B}=r.extensionManager,m=Ie(t,s.schema),C=Ie(A,s.schema),{selection:E,storedMarks:S}=s,{$from:U,$to:b}=E,M=U.blockRange(b),F=S||E.$to.parentOffset&&E.$from.marks();if(!M)return!1;const T=qc(L=>lg(L.type.name,h))(E);if(M.depth>=1&&T&&M.depth-T.depth<=1){if(T.node.type===m)return u.liftListItem(C);if(lg(T.node.type.name,h)&&m.validContent(T.node.content)&&a)return c().command(()=>(i.setNodeMarkup(T.pos,m),!0)).command(()=>jc(i,m)).command(()=>Au(i,m)).run()}return!e||!F||!a?c().command(()=>d().wrapInList(m,n)?!0:u.clearNodes()).wrapInList(m,n).command(()=>jc(i,m)).command(()=>Au(i,m)).run():c().command(()=>{const L=d().wrapInList(m,n),N=F.filter(W=>B.includes(W.type.name));return i.ensureMarks(N),L?!0:u.clearNodes()}).wrapInList(m,n).command(()=>jc(i,m)).command(()=>Au(i,m)).run()},toggleMark:(t,A={},e={})=>({state:n,commands:r})=>{const{extendEmptyMarkRange:i=!1}=e,s=cr(t,n.schema);return Zc(n,s,A)?r.unsetMark(s,{extendEmptyMarkRange:i}):r.setMark(s,A)},toggleNode:(t,A,e={})=>({state:n,commands:r})=>{const i=Ie(t,n.schema),s=Ie(A,n.schema);return vs(n,i,e)?r.setNode(s):r.setNode(i,e)},toggleWrap:(t,A={})=>({state:e,commands:n})=>{const r=Ie(t,e.schema);return vs(e,r,A)?n.lift(r):n.wrapIn(r,A)},undoInputRule:()=>({state:t,dispatch:A})=>{const e=t.plugins;for(let n=0;n<e.length;n+=1){const r=e[n];let i;if(r.spec.isInputRules&&(i=r.getState(t))){if(A){const s=t.tr,a=i.transform;for(let c=a.steps.length-1;c>=0;c-=1)s.step(a.steps[c].invert(a.docs[c]));if(i.text){const c=s.doc.resolve(i.from).marks();s.replaceWith(i.from,i.to,t.schema.text(i.text,c))}else s.delete(i.from,i.to)}return!0}}return!1},unsetAllMarks:()=>({tr:t,dispatch:A})=>{const{selection:e}=t,{empty:n,ranges:r}=e;return n||A&&r.forEach(i=>{t.removeMark(i.$from.pos,i.$to.pos)}),!0},unsetMark:(t,A={})=>({tr:e,state:n,dispatch:r})=>{var i;const{extendEmptyMarkRange:s=!1}=A,{selection:a}=e,c=cr(t,n.schema),{$from:u,empty:d,ranges:h}=a;if(!r)return!0;if(d&&s){let{from:B,to:m}=a;const C=(i=u.marks().find(S=>S.type===c))===null||i===void 0?void 0:i.attrs,E=Xc(u,c,C);E&&(B=E.from,m=E.to),e.removeMark(B,m,c)}else h.forEach(B=>{e.removeMark(B.$from.pos,B.$to.pos,c)});return e.removeStoredMark(c),!0},updateAttributes:(t,A={})=>({tr:e,state:n,dispatch:r})=>{let i=null,s=null;const a=jo(typeof t=="string"?t:t.name,n.schema);return a?(a==="node"&&(i=Ie(t,n.schema)),a==="mark"&&(s=cr(t,n.schema)),r&&e.selection.ranges.forEach(c=>{const u=c.$from.pos,d=c.$to.pos;n.doc.nodesBetween(u,d,(h,B)=>{i&&i===h.type&&e.setNodeMarkup(B,void 0,{...h.attrs,...A}),s&&h.marks.length&&h.marks.forEach(m=>{if(s===m.type){const C=Math.max(B,u),E=Math.min(B+h.nodeSize,d);e.addMark(C,E,s.create({...m.attrs,...A}))}})})}),!0):!1},wrapIn:(t,A={})=>({state:e,dispatch:n})=>{const r=Ie(t,e.schema);return cU(r,A)(e,n)},wrapInList:(t,A={})=>({state:e,dispatch:n})=>{const r=Ie(t,e.schema);return uU(r,A)(e,n)}});const Mv=Je.create({name:"commands",addCommands(){return{..._v}}}),Dv=Je.create({name:"editable",addProseMirrorPlugins(){return[new dt({key:new pn("editable"),props:{editable:()=>this.editor.options.editable}})]}}),kv=Je.create({name:"focusEvents",addProseMirrorPlugins(){const{editor:t}=this;return[new dt({key:new pn("focusEvents"),props:{handleDOMEvents:{focus:(A,e)=>{t.isFocused=!0;const n=t.state.tr.setMeta("focus",{event:e}).setMeta("addToHistory",!1);return A.dispatch(n),!1},blur:(A,e)=>{t.isFocused=!1;const n=t.state.tr.setMeta("blur",{event:e}).setMeta("addToHistory",!1);return A.dispatch(n),!1}}}})]}}),Nv=Je.create({name:"keymap",addKeyboardShortcuts(){const t=()=>this.editor.commands.first(({commands:s})=>[()=>s.undoInputRule(),()=>s.command(({tr:a})=>{const{selection:c,doc:u}=a,{empty:d,$anchor:h}=c,{pos:B,parent:m}=h,C=yA.atStart(u).from===B;return!d||!C||!m.type.isTextblock||m.textContent.length?!1:s.clearNodes()}),()=>s.deleteSelection(),()=>s.joinBackward(),()=>s.selectNodeBackward()]),A=()=>this.editor.commands.first(({commands:s})=>[()=>s.deleteSelection(),()=>s.deleteCurrentNode(),()=>s.joinForward(),()=>s.selectNodeForward()]),n={Enter:()=>this.editor.commands.first(({commands:s})=>[()=>s.newlineInCode(),()=>s.createParagraphNear(),()=>s.liftEmptyBlock(),()=>s.splitBlock()]),"Mod-Enter":()=>this.editor.commands.exitCode(),Backspace:t,"Mod-Backspace":t,"Shift-Backspace":t,Delete:A,"Mod-Delete":A,"Mod-a":()=>this.editor.commands.selectAll()},r={...n},i={...n,"Ctrl-h":t,"Alt-Backspace":t,"Ctrl-d":A,"Ctrl-Alt-Backspace":A,"Alt-Delete":A,"Alt-d":A,"Ctrl-a":()=>this.editor.commands.selectTextblockStart(),"Ctrl-e":()=>this.editor.commands.selectTextblockEnd()};return zc()||ig()?i:r},addProseMirrorPlugins(){return[new dt({key:new pn("clearDocument"),appendTransaction:(t,A,e)=>{if(!(t.some(C=>C.docChanged)&&!A.doc.eq(e.doc)))return;const{empty:r,from:i,to:s}=A.selection,a=yA.atStart(A.doc).from,c=yA.atEnd(A.doc).to;if(r||!(i===a&&s===c)||!(e.doc.textBetween(0,e.doc.content.size," "," ").length===0))return;const h=e.tr,B=Jo({state:e,transaction:h}),{commands:m}=new $o({editor:this.editor,state:B});if(m.clearNodes(),!!h.steps.length)return h}})]}}),Rv=Je.create({name:"tabindex",addProseMirrorPlugins(){return[new dt({key:new pn("tabindex"),props:{attributes:this.editor.isEditable?{tabindex:"0"}:{}}})]}});var Kv=Object.freeze({__proto__:null,ClipboardTextSerializer:xU,Commands:Mv,Editable:Dv,FocusEvents:kv,Keymap:Nv,Tabindex:Rv});const Pv=`.ProseMirror {
14
+ position: relative;
15
+ }
16
+
17
+ .ProseMirror {
18
+ word-wrap: break-word;
19
+ white-space: pre-wrap;
20
+ white-space: break-spaces;
21
+ -webkit-font-variant-ligatures: none;
22
+ font-variant-ligatures: none;
23
+ font-feature-settings: "liga" 0; /* the above doesn't seem to work in Edge */
24
+ }
25
+
26
+ .ProseMirror [contenteditable="false"] {
27
+ white-space: normal;
28
+ }
29
+
30
+ .ProseMirror [contenteditable="false"] [contenteditable="true"] {
31
+ white-space: pre-wrap;
32
+ }
33
+
34
+ .ProseMirror pre {
35
+ white-space: pre-wrap;
36
+ }
37
+
38
+ img.ProseMirror-separator {
39
+ display: inline !important;
40
+ border: none !important;
41
+ margin: 0 !important;
42
+ width: 1px !important;
43
+ height: 1px !important;
44
+ }
45
+
46
+ .ProseMirror-gapcursor {
47
+ display: none;
48
+ pointer-events: none;
49
+ position: absolute;
50
+ margin: 0;
51
+ }
52
+
53
+ .ProseMirror-gapcursor:after {
54
+ content: "";
55
+ display: block;
56
+ position: absolute;
57
+ top: -2px;
58
+ width: 20px;
59
+ border-top: 1px solid black;
60
+ animation: ProseMirror-cursor-blink 1.1s steps(2, start) infinite;
61
+ }
62
+
63
+ @keyframes ProseMirror-cursor-blink {
64
+ to {
65
+ visibility: hidden;
66
+ }
67
+ }
68
+
69
+ .ProseMirror-hideselection *::selection {
70
+ background: transparent;
71
+ }
72
+
73
+ .ProseMirror-hideselection *::-moz-selection {
74
+ background: transparent;
75
+ }
76
+
77
+ .ProseMirror-hideselection * {
78
+ caret-color: transparent;
79
+ }
80
+
81
+ .ProseMirror-focused .ProseMirror-gapcursor {
82
+ display: block;
83
+ }
84
+
85
+ .tippy-box[data-animation=fade][data-state=hidden] {
86
+ opacity: 0
87
+ }`;function Vv(t,A){const e=document.querySelector("style[data-tiptap-style]");if(e!==null)return e;const n=document.createElement("style");return A&&n.setAttribute("nonce",A),n.setAttribute("data-tiptap-style",""),n.innerHTML=t,document.getElementsByTagName("head")[0].appendChild(n),n}let Gv=class extends BU{constructor(A={}){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(A),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=Vv(Pv,this.options.injectNonce))}setOptions(A={}){this.options={...this.options,...A},!(!this.view||!this.state||this.isDestroyed)&&(this.options.editorProps&&this.view.setProps(this.options.editorProps),this.view.updateState(this.state))}setEditable(A,e=!0){this.setOptions({editable:A}),e&&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(A,e){const n=qp(e)?e(A,[...this.state.plugins]):[...this.state.plugins,A],r=this.state.reconfigure({plugins:n});this.view.updateState(r)}unregisterPlugin(A){if(this.isDestroyed)return;const e=typeof A=="string"?`${A}$`:A.key,n=this.state.reconfigure({plugins:this.state.plugins.filter(r=>!r.key.startsWith(e))});this.view.updateState(n)}createExtensionManager(){const e=[...this.options.enableCoreExtensions?Object.values(Kv):[],...this.options.extensions].filter(n=>["extension","node","mark"].includes(n==null?void 0:n.type));this.extensionManager=new Si(e,this)}createCommandManager(){this.commandManager=new $o({editor:this})}createSchema(){this.schema=this.extensionManager.schema}createView(){const A=og(this.options.content,this.schema,this.options.parseOptions),e=ng(A,this.options.autofocus);this.view=new _F(this.options.element,{...this.options.editorProps,dispatchTransaction:this.dispatchTransaction.bind(this),state:yi.create({doc:A,selection:e||void 0})});const n=this.state.reconfigure({plugins:this.extensionManager.plugins});this.view.updateState(n),this.createNodeViews();const r=this.view.dom;r.editor=this}createNodeViews(){this.view.setProps({nodeViews:this.extensionManager.nodeViews})}captureTransaction(A){this.isCapturingTransaction=!0,A(),this.isCapturingTransaction=!1;const e=this.capturedTransaction;return this.capturedTransaction=null,e}dispatchTransaction(A){if(this.view.isDestroyed)return;if(this.isCapturingTransaction){if(!this.capturedTransaction){this.capturedTransaction=A;return}A.steps.forEach(s=>{var a;return(a=this.capturedTransaction)===null||a===void 0?void 0:a.step(s)});return}const e=this.state.apply(A),n=!this.state.selection.eq(e.selection);this.view.updateState(e),this.emit("transaction",{editor:this,transaction:A}),n&&this.emit("selectionUpdate",{editor:this,transaction:A});const r=A.getMeta("focus"),i=A.getMeta("blur");r&&this.emit("focus",{editor:this,event:r.event,transaction:A}),i&&this.emit("blur",{editor:this,event:i.event,transaction:A}),!(!A.docChanged||A.getMeta("preventUpdate"))&&this.emit("update",{editor:this,transaction:A})}getAttributes(A){return Qv(this.state,A)}isActive(A,e){const n=typeof A=="string"?A:null,r=typeof A=="string"?e:A;return Ev(this.state,n,r)}getJSON(){return this.state.doc.toJSON()}getHTML(){return wv(this.state.doc.content,this.schema)}getText(A){const{blockSeparator:e=`
88
+
89
+ `,textSerializers:n={}}=A||{};return Cv(this.state.doc,{blockSeparator:e,textSerializers:{...tg(this.schema),...n}})}get isEmpty(){return Fv(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 A;return!(!((A=this.view)===null||A===void 0)&&A.docView)}};function Xr(t){return new Yo({find:t.find,handler:({state:A,range:e,match:n})=>{const r=QA(t.getAttributes,void 0,n);if(r===!1||r===null)return null;const{tr:i}=A,s=n[n.length-1],a=n[0];let c=e.to;if(s){const u=a.search(/\S/),d=e.from+a.indexOf(s),h=d+s.length;if(ag(e.from,e.to,A.doc).filter(m=>m.mark.type.excluded.find(E=>E===t.type&&E!==m.mark.type)).filter(m=>m.to>d).length)return null;h<e.to&&i.delete(h,e.to),d>e.from&&i.delete(e.from+u,d),c=e.from+u+s.length,i.addMark(e.from+u,c,t.type.create(r||{})),i.removeStoredMark(t.type)}}})}function Wv(t){return new Yo({find:t.find,handler:({state:A,range:e,match:n})=>{const r=QA(t.getAttributes,void 0,n)||{},{tr:i}=A,s=e.from;let a=e.to;if(n[1]){const c=n[0].lastIndexOf(n[1]);let u=s+c;u>a?u=a:a=u+n[1].length;const d=n[0][n[0].length-1];i.insertText(d,s+n[0].length-1),i.replaceWith(u,a,t.type.create(r))}else n[0]&&i.replaceWith(s,a,t.type.create(r))}})}function eu(t){return new Yo({find:t.find,handler:({state:A,range:e,match:n})=>{const r=A.doc.resolve(e.from),i=QA(t.getAttributes,void 0,n)||{};if(!r.node(-1).canReplaceWith(r.index(-1),r.indexAfter(-1),t.type))return null;A.tr.delete(e.from,e.to).setBlockType(e.from,e.from,t.type,i)}})}function bs(t){return new Yo({find:t.find,handler:({state:A,range:e,match:n,chain:r})=>{const i=QA(t.getAttributes,void 0,n)||{},s=A.tr.delete(e.from,e.to),c=s.doc.resolve(e.from).blockRange(),u=c&&oc(c,t.type,i);if(!u)return null;if(s.wrap(c,u),t.keepMarks&&t.editor){const{selection:h,storedMarks:B}=A,{splittableMarks:m}=t.editor.extensionManager,C=B||h.$to.parentOffset&&h.$from.marks();if(C){const E=C.filter(S=>m.includes(S.type.name));s.ensureMarks(E)}}if(t.keepAttributes){const h=t.type.name==="bulletList"||t.type.name==="orderedList"?"listItem":"taskList";r().updateAttributes(h,i).run()}const d=s.doc.resolve(e.from-1).nodeBefore;d&&d.type===t.type&&Ar(s.doc,e.from-1)&&(!t.joinPredicate||t.joinPredicate(n,d))&&s.join(e.from-1)}})}class nn{constructor(A={}){this.type="mark",this.name="mark",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...A},this.name=this.config.name,A.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=QA(iA(this,"addOptions",{name:this.name}))),this.storage=QA(iA(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(A={}){return new nn(A)}configure(A={}){const e=this.extend();return e.options=zo(this.options,A),e.storage=QA(iA(e,"addStorage",{name:e.name,options:e.options})),e}extend(A={}){const e=new nn(A);return e.parent=this,this.child=e,e.name=A.name?A.name:e.parent.name,A.defaultOptions&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${e.name}".`),e.options=QA(iA(e,"addOptions",{name:e.name})),e.storage=QA(iA(e,"addStorage",{name:e.name,options:e.options})),e}static handleExit({editor:A,mark:e}){const{tr:n}=A.state,r=A.state.selection.$from;if(r.pos===r.end()){const s=r.marks();if(!!!s.find(u=>(u==null?void 0:u.type.name)===e.name))return!1;const c=s.find(u=>(u==null?void 0:u.type.name)===e.name);return c&&n.removeStoredMark(c),n.insertText(" ",r.pos),A.view.dispatch(n),!0}return!1}}let Et=class Pd{constructor(A={}){this.type="node",this.name="node",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...A},this.name=this.config.name,A.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=QA(iA(this,"addOptions",{name:this.name}))),this.storage=QA(iA(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(A={}){return new Pd(A)}configure(A={}){const e=this.extend();return e.options=zo(this.options,A),e.storage=QA(iA(e,"addStorage",{name:e.name,options:e.options})),e}extend(A={}){const e=new Pd(A);return e.parent=this,this.child=e,e.name=A.name?A.name:e.parent.name,A.defaultOptions&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${e.name}".`),e.options=QA(iA(e,"addOptions",{name:e.name})),e.storage=QA(iA(e,"addStorage",{name:e.name,options:e.options})),e}};function Yr(t){return new UU({find:t.find,handler:({state:A,range:e,match:n})=>{const r=QA(t.getAttributes,void 0,n);if(r===!1||r===null)return null;const{tr:i}=A,s=n[n.length-1],a=n[0];let c=e.to;if(s){const u=a.search(/\S/),d=e.from+a.indexOf(s),h=d+s.length;if(ag(e.from,e.to,A.doc).filter(m=>m.mark.type.excluded.find(E=>E===t.type&&E!==m.mark.type)).filter(m=>m.to>d).length)return null;h<e.to&&i.delete(h,e.to),d>e.from&&i.delete(e.from+u,d),c=e.from+u+s.length,i.addMark(e.from+u,c,t.type.create(r||{})),i.removeStoredMark(t.type)}}})}const Jv=/(?:^|\s)((?:==)((?:[^~=]+))(?:==))$/,$v=/(?:^|\s)((?:==)((?:[^~=]+))(?:==))/g,Xv=nn.create({name:"highlight",addOptions(){return{multicolor:!1,HTMLAttributes:{}}},addAttributes(){return this.options.multicolor?{color:{default:null,parseHTML:t=>t.getAttribute("data-color")||t.style.backgroundColor,renderHTML:t=>t.color?{"data-color":t.color,style:`background-color: ${t.color}; color: inherit`}:{}}}:{}},parseHTML(){return[{tag:"mark"}]},renderHTML({HTMLAttributes:t}){return["mark",pe(this.options.HTMLAttributes,t),0]},addCommands(){return{setHighlight:t=>({commands:A})=>A.setMark(this.name,t),toggleHighlight:t=>({commands:A})=>A.toggleMark(this.name,t),unsetHighlight:()=>({commands:t})=>t.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-h":()=>this.editor.commands.toggleHighlight()}},addInputRules(){return[Xr({find:Jv,type:this.type})]},addPasteRules(){return[Yr({find:$v,type:this.type})]}}),Yv=Je.create({name:"textAlign",addOptions(){return{types:[],alignments:["left","center","right","justify"],defaultAlignment:"left"}},addGlobalAttributes(){return[{types:this.options.types,attributes:{textAlign:{default:this.options.defaultAlignment,parseHTML:t=>t.style.textAlign||this.options.defaultAlignment,renderHTML:t=>t.textAlign===this.options.defaultAlignment?{}:{style:`text-align: ${t.textAlign}`}}}}]},addCommands(){return{setTextAlign:t=>({commands:A})=>this.options.alignments.includes(t)?this.options.types.every(e=>A.updateAttributes(e,{textAlign:t})):!1,unsetTextAlign:()=>({commands:t})=>this.options.types.every(A=>t.resetAttributes(A,"textAlign"))}},addKeyboardShortcuts(){return{"Mod-Shift-l":()=>this.editor.commands.setTextAlign("left"),"Mod-Shift-e":()=>this.editor.commands.setTextAlign("center"),"Mod-Shift-r":()=>this.editor.commands.setTextAlign("right"),"Mod-Shift-j":()=>this.editor.commands.setTextAlign("justify")}}}),zv=/^\s*>\s$/,qv=Et.create({name:"blockquote",addOptions(){return{HTMLAttributes:{}}},content:"block+",group:"block",defining:!0,parseHTML(){return[{tag:"blockquote"}]},renderHTML({HTMLAttributes:t}){return["blockquote",pe(this.options.HTMLAttributes,t),0]},addCommands(){return{setBlockquote:()=>({commands:t})=>t.wrapIn(this.name),toggleBlockquote:()=>({commands:t})=>t.toggleWrap(this.name),unsetBlockquote:()=>({commands:t})=>t.lift(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-b":()=>this.editor.commands.toggleBlockquote()}},addInputRules(){return[bs({find:zv,type:this.type})]}}),Zv=/(?:^|\s)((?:\*\*)((?:[^*]+))(?:\*\*))$/,jv=/(?:^|\s)((?:\*\*)((?:[^*]+))(?:\*\*))/g,Ab=/(?:^|\s)((?:__)((?:[^__]+))(?:__))$/,eb=/(?:^|\s)((?:__)((?:[^__]+))(?:__))/g,tb=nn.create({name:"bold",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"strong"},{tag:"b",getAttrs:t=>t.style.fontWeight!=="normal"&&null},{style:"font-weight",getAttrs:t=>/^(bold(er)?|[5-9]\d{2,})$/.test(t)&&null}]},renderHTML({HTMLAttributes:t}){return["strong",pe(this.options.HTMLAttributes,t),0]},addCommands(){return{setBold:()=>({commands:t})=>t.setMark(this.name),toggleBold:()=>({commands:t})=>t.toggleMark(this.name),unsetBold:()=>({commands:t})=>t.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-b":()=>this.editor.commands.toggleBold(),"Mod-B":()=>this.editor.commands.toggleBold()}},addInputRules(){return[Xr({find:Zv,type:this.type}),Xr({find:Ab,type:this.type})]},addPasteRules(){return[Yr({find:jv,type:this.type}),Yr({find:eb,type:this.type})]}}),nb=Et.create({name:"listItem",addOptions(){return{HTMLAttributes:{}}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:t}){return["li",pe(this.options.HTMLAttributes,t),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)}}}),fg=nn.create({name:"textStyle",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"span",getAttrs:t=>t.hasAttribute("style")?{}:!1}]},renderHTML({HTMLAttributes:t}){return["span",pe(this.options.HTMLAttributes,t),0]},addCommands(){return{removeEmptyTextStyle:()=>({state:t,commands:A})=>{const e=Aa(t,this.type);return Object.entries(e).some(([,r])=>!!r)?!0:A.unsetMark(this.name)}}}}),dg=/^\s*([-+*])\s$/,rb=Et.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:t}){return["ul",pe(this.options.HTMLAttributes,t),0]},addCommands(){return{toggleBulletList:()=>({commands:t,chain:A})=>this.options.keepAttributes?A().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(nb.name,this.editor.getAttributes(fg.name)).run():t.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-8":()=>this.editor.commands.toggleBulletList()}},addInputRules(){let t=bs({find:dg,type:this.type});return(this.options.keepMarks||this.options.keepAttributes)&&(t=bs({find:dg,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:()=>this.editor.getAttributes(fg.name),editor:this.editor})),[t]}}),ib=/(?:^|\s)((?:`)((?:[^`]+))(?:`))$/,sb=/(?:^|\s)((?:`)((?:[^`]+))(?:`))/g,ob=nn.create({name:"code",addOptions(){return{HTMLAttributes:{}}},excludes:"_",code:!0,exitable:!0,parseHTML(){return[{tag:"code"}]},renderHTML({HTMLAttributes:t}){return["code",pe(this.options.HTMLAttributes,t),0]},addCommands(){return{setCode:()=>({commands:t})=>t.setMark(this.name),toggleCode:()=>({commands:t})=>t.toggleMark(this.name),unsetCode:()=>({commands:t})=>t.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-e":()=>this.editor.commands.toggleCode()}},addInputRules(){return[Xr({find:ib,type:this.type})]},addPasteRules(){return[Yr({find:sb,type:this.type})]}}),ab=/^```([a-z]+)?[\s\n]$/,lb=/^~~~([a-z]+)?[\s\n]$/,cb=Et.create({name:"codeBlock",addOptions(){return{languageClassPrefix:"language-",exitOnTripleEnter:!0,exitOnArrowDown:!0,HTMLAttributes:{}}},content:"text*",marks:"",group:"block",code:!0,defining:!0,addAttributes(){return{language:{default:null,parseHTML:t=>{var A;const{languageClassPrefix:e}=this.options,i=[...((A=t.firstElementChild)===null||A===void 0?void 0:A.classList)||[]].filter(s=>s.startsWith(e)).map(s=>s.replace(e,""))[0];return i||null},rendered:!1}}},parseHTML(){return[{tag:"pre",preserveWhitespace:"full"}]},renderHTML({node:t,HTMLAttributes:A}){return["pre",pe(this.options.HTMLAttributes,A),["code",{class:t.attrs.language?this.options.languageClassPrefix+t.attrs.language:null},0]]},addCommands(){return{setCodeBlock:t=>({commands:A})=>A.setNode(this.name,t),toggleCodeBlock:t=>({commands:A})=>A.toggleNode(this.name,"paragraph",t)}},addKeyboardShortcuts(){return{"Mod-Alt-c":()=>this.editor.commands.toggleCodeBlock(),Backspace:()=>{const{empty:t,$anchor:A}=this.editor.state.selection,e=A.pos===1;return!t||A.parent.type.name!==this.name?!1:e||!A.parent.textContent.length?this.editor.commands.clearNodes():!1},Enter:({editor:t})=>{if(!this.options.exitOnTripleEnter)return!1;const{state:A}=t,{selection:e}=A,{$from:n,empty:r}=e;if(!r||n.parent.type!==this.type)return!1;const i=n.parentOffset===n.parent.nodeSize-2,s=n.parent.textContent.endsWith(`
90
+
91
+ `);return!i||!s?!1:t.chain().command(({tr:a})=>(a.delete(n.pos-2,n.pos),!0)).exitCode().run()},ArrowDown:({editor:t})=>{if(!this.options.exitOnArrowDown)return!1;const{state:A}=t,{selection:e,doc:n}=A,{$from:r,empty:i}=e;if(!i||r.parent.type!==this.type||!(r.parentOffset===r.parent.nodeSize-2))return!1;const a=r.after();return a===void 0||n.nodeAt(a)?!1:t.commands.exitCode()}}},addInputRules(){return[eu({find:ab,type:this.type,getAttributes:t=>({language:t[1]})}),eu({find:lb,type:this.type,getAttributes:t=>({language:t[1]})})]},addProseMirrorPlugins(){return[new dt({key:new pn("codeBlockVSCodeHandler"),props:{handlePaste:(t,A)=>{if(!A.clipboardData||this.editor.isActive(this.type.name))return!1;const e=A.clipboardData.getData("text/plain"),n=A.clipboardData.getData("vscode-editor-data"),r=n?JSON.parse(n):void 0,i=r==null?void 0:r.mode;if(!e||!i)return!1;const{tr:s}=t.state;return s.replaceSelectionWith(this.type.create({language:i})),s.setSelection(FA.near(s.doc.resolve(Math.max(0,s.selection.from-2)))),s.insertText(e.replace(/\r\n?/g,`
92
+ `)),s.setMeta("paste",!0),t.dispatch(s),!0}}})]}}),ub=Et.create({name:"doc",topNode:!0,content:"block+"});function fb(t={}){return new dt({view(A){return new db(A,t)}})}class db{constructor(A,e){var n;this.editorView=A,this.cursorPos=null,this.element=null,this.timeout=-1,this.width=(n=e.width)!==null&&n!==void 0?n:1,this.color=e.color===!1?void 0:e.color||"black",this.class=e.class,this.handlers=["dragover","dragend","drop","dragleave"].map(r=>{let i=s=>{this[r](s)};return A.dom.addEventListener(r,i),{name:r,handler:i}})}destroy(){this.handlers.forEach(({name:A,handler:e})=>this.editorView.dom.removeEventListener(A,e))}update(A,e){this.cursorPos!=null&&e.doc!=A.state.doc&&(this.cursorPos>A.state.doc.content.size?this.setCursor(null):this.updateOverlay())}setCursor(A){A!=this.cursorPos&&(this.cursorPos=A,A==null?(this.element.parentNode.removeChild(this.element),this.element=null):this.updateOverlay())}updateOverlay(){let A=this.editorView.state.doc.resolve(this.cursorPos),e=!A.parent.inlineContent,n;if(e){let a=A.nodeBefore,c=A.nodeAfter;if(a||c){let u=this.editorView.nodeDOM(this.cursorPos-(a?a.nodeSize:0));if(u){let d=u.getBoundingClientRect(),h=a?d.bottom:d.top;a&&c&&(h=(h+this.editorView.nodeDOM(this.cursorPos).getBoundingClientRect().top)/2),n={left:d.left,right:d.right,top:h-this.width/2,bottom:h+this.width/2}}}}if(!n){let a=this.editorView.coordsAtPos(this.cursorPos);n={left:a.left-this.width/2,right:a.left+this.width/2,top:a.top,bottom:a.bottom}}let r=this.editorView.dom.offsetParent;this.element||(this.element=r.appendChild(document.createElement("div")),this.class&&(this.element.className=this.class),this.element.style.cssText="position: absolute; z-index: 50; pointer-events: none;",this.color&&(this.element.style.backgroundColor=this.color)),this.element.classList.toggle("prosemirror-dropcursor-block",e),this.element.classList.toggle("prosemirror-dropcursor-inline",!e);let i,s;if(!r||r==document.body&&getComputedStyle(r).position=="static")i=-pageXOffset,s=-pageYOffset;else{let a=r.getBoundingClientRect();i=a.left-r.scrollLeft,s=a.top-r.scrollTop}this.element.style.left=n.left-i+"px",this.element.style.top=n.top-s+"px",this.element.style.width=n.right-n.left+"px",this.element.style.height=n.bottom-n.top+"px"}scheduleRemoval(A){clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.setCursor(null),A)}dragover(A){if(!this.editorView.editable)return;let e=this.editorView.posAtCoords({left:A.clientX,top:A.clientY}),n=e&&e.inside>=0&&this.editorView.state.doc.nodeAt(e.inside),r=n&&n.type.spec.disableDropCursor,i=typeof r=="function"?r(this.editorView,e,A):r;if(e&&!i){let s=e.pos;if(this.editorView.dragging&&this.editorView.dragging.slice){let a=Qh(this.editorView.state.doc,s,this.editorView.dragging.slice);a!=null&&(s=a)}this.setCursor(s),this.scheduleRemoval(5e3)}}dragend(){this.scheduleRemoval(20)}drop(){this.scheduleRemoval(20)}dragleave(A){(A.target==this.editorView.dom||!this.editorView.dom.contains(A.relatedTarget))&&this.setCursor(null)}}const hb=Je.create({name:"dropCursor",addOptions(){return{color:"currentColor",width:1,class:void 0}},addProseMirrorPlugins(){return[fb(this.options)]}});class se extends yA{constructor(A){super(A,A)}map(A,e){let n=A.resolve(e.map(this.head));return se.valid(n)?new se(n):yA.near(n)}content(){return j.empty}eq(A){return A instanceof se&&A.head==this.head}toJSON(){return{type:"gapcursor",pos:this.head}}static fromJSON(A,e){if(typeof e.pos!="number")throw new RangeError("Invalid input for GapCursor.fromJSON");return new se(A.resolve(e.pos))}getBookmark(){return new tu(this.anchor)}static valid(A){let e=A.parent;if(e.isTextblock||!pb(A)||!gb(A))return!1;let n=e.type.spec.allowGapCursor;if(n!=null)return n;let r=e.contentMatchAt(A.index()).defaultType;return r&&r.isTextblock}static findGapCursorFrom(A,e,n=!1){A:for(;;){if(!n&&se.valid(A))return A;let r=A.pos,i=null;for(let s=A.depth;;s--){let a=A.node(s);if(e>0?A.indexAfter(s)<a.childCount:A.index(s)>0){i=a.child(e>0?A.indexAfter(s):A.index(s)-1);break}else if(s==0)return null;r+=e;let c=A.doc.resolve(r);if(se.valid(c))return c}for(;;){let s=e>0?i.firstChild:i.lastChild;if(!s){if(i.isAtom&&!i.isText&&!uA.isSelectable(i)){A=A.doc.resolve(r+i.nodeSize*e),n=!1;continue A}break}i=s,r+=e;let a=A.doc.resolve(r);if(se.valid(a))return a}return null}}}se.prototype.visible=!1,se.findFrom=se.findGapCursorFrom,yA.jsonID("gapcursor",se);class tu{constructor(A){this.pos=A}map(A){return new tu(A.map(this.pos))}resolve(A){let e=A.resolve(this.pos);return se.valid(e)?new se(e):yA.near(e)}}function pb(t){for(let A=t.depth;A>=0;A--){let e=t.index(A),n=t.node(A);if(e==0){if(n.type.spec.isolating)return!0;continue}for(let r=n.child(e-1);;r=r.lastChild){if(r.childCount==0&&!r.inlineContent||r.isAtom||r.type.spec.isolating)return!0;if(r.inlineContent)return!1}}return!0}function gb(t){for(let A=t.depth;A>=0;A--){let e=t.indexAfter(A),n=t.node(A);if(e==n.childCount){if(n.type.spec.isolating)return!0;continue}for(let r=n.child(e);;r=r.firstChild){if(r.childCount==0&&!r.inlineContent||r.isAtom||r.type.spec.isolating)return!0;if(r.inlineContent)return!1}}return!0}function Bb(){return new dt({props:{decorations:yb,createSelectionBetween(t,A,e){return A.pos==e.pos&&se.valid(e)?new se(e):null},handleClick:wb,handleKeyDown:mb,handleDOMEvents:{beforeinput:Cb}}})}const mb=Vp({ArrowLeft:ta("horiz",-1),ArrowRight:ta("horiz",1),ArrowUp:ta("vert",-1),ArrowDown:ta("vert",1)});function ta(t,A){const e=t=="vert"?A>0?"down":"up":A>0?"right":"left";return function(n,r,i){let s=n.selection,a=A>0?s.$to:s.$from,c=s.empty;if(s instanceof FA){if(!i.endOfTextblock(e)||a.depth==0)return!1;c=!1,a=n.doc.resolve(A>0?a.after():a.before())}let u=se.findGapCursorFrom(a,A,c);return u?(r&&r(n.tr.setSelection(new se(u))),!0):!1}}function wb(t,A,e){if(!t||!t.editable)return!1;let n=t.state.doc.resolve(A);if(!se.valid(n))return!1;let r=t.posAtCoords({left:e.clientX,top:e.clientY});return r&&r.inside>-1&&uA.isSelectable(t.state.doc.nodeAt(r.inside))?!1:(t.dispatch(t.state.tr.setSelection(new se(n))),!0)}function Cb(t,A){if(A.inputType!="insertCompositionText"||!(t.state.selection instanceof se))return!1;let{$from:e}=t.state.selection,n=e.parent.contentMatchAt(e.index()).findWrapping(t.state.schema.nodes.text);if(!n)return!1;let r=X.empty;for(let s=n.length-1;s>=0;s--)r=X.from(n[s].createAndFill(null,r));let i=t.state.tr.replace(e.pos,e.pos,new j(r,0,0));return i.setSelection(FA.near(i.doc.resolve(e.pos+1))),t.dispatch(i),!1}function yb(t){if(!(t.selection instanceof se))return null;let A=document.createElement("div");return A.className="ProseMirror-gapcursor",ye.create(t.doc,[Nt.widget(t.selection.head,A,{key:"gapcursor"})])}const Qb=Je.create({name:"gapCursor",addProseMirrorPlugins(){return[Bb()]},extendNodeSchema(t){var A;const e={name:t.name,options:t.options,storage:t.storage};return{allowGapCursor:(A=QA(iA(t,"allowGapCursor",e)))!==null&&A!==void 0?A:null}}}),Eb=Et.create({name:"hardBreak",addOptions(){return{keepMarks:!0,HTMLAttributes:{}}},inline:!0,group:"inline",selectable:!1,parseHTML(){return[{tag:"br"}]},renderHTML({HTMLAttributes:t}){return["br",pe(this.options.HTMLAttributes,t)]},renderText(){return`
93
+ `},addCommands(){return{setHardBreak:()=>({commands:t,chain:A,state:e,editor:n})=>t.first([()=>t.exitCode(),()=>t.command(()=>{const{selection:r,storedMarks:i}=e;if(r.$from.parent.type.spec.isolating)return!1;const{keepMarks:s}=this.options,{splittableMarks:a}=n.extensionManager,c=i||r.$to.parentOffset&&r.$from.marks();return A().insertContent({type:this.name}).command(({tr:u,dispatch:d})=>{if(d&&c&&s){const h=c.filter(B=>a.includes(B.type.name));u.ensureMarks(h)}return!0}).run()})])}},addKeyboardShortcuts(){return{"Mod-Enter":()=>this.editor.commands.setHardBreak(),"Shift-Enter":()=>this.editor.commands.setHardBreak()}}}),Fb=Et.create({name:"heading",addOptions(){return{levels:[1,2,3,4,5,6],HTMLAttributes:{}}},content:"inline*",group:"block",defining:!0,addAttributes(){return{level:{default:1,rendered:!1}}},parseHTML(){return this.options.levels.map(t=>({tag:`h${t}`,attrs:{level:t}}))},renderHTML({node:t,HTMLAttributes:A}){return[`h${this.options.levels.includes(t.attrs.level)?t.attrs.level:this.options.levels[0]}`,pe(this.options.HTMLAttributes,A),0]},addCommands(){return{setHeading:t=>({commands:A})=>this.options.levels.includes(t.level)?A.setNode(this.name,t):!1,toggleHeading:t=>({commands:A})=>this.options.levels.includes(t.level)?A.toggleNode(this.name,"paragraph",t):!1}},addKeyboardShortcuts(){return this.options.levels.reduce((t,A)=>({...t,[`Mod-Alt-${A}`]:()=>this.editor.commands.toggleHeading({level:A})}),{})},addInputRules(){return this.options.levels.map(t=>eu({find:new RegExp(`^(#{1,${t}})\\s$`),type:this.type,getAttributes:{level:t}}))}});var na=200,Oe=function(){};Oe.prototype.append=function(A){return A.length?(A=Oe.from(A),!this.length&&A||A.length<na&&this.leafAppend(A)||this.length<na&&A.leafPrepend(this)||this.appendInner(A)):this},Oe.prototype.prepend=function(A){return A.length?Oe.from(A).append(this):this},Oe.prototype.appendInner=function(A){return new Ub(this,A)},Oe.prototype.slice=function(A,e){return A===void 0&&(A=0),e===void 0&&(e=this.length),A>=e?Oe.empty:this.sliceInner(Math.max(0,A),Math.min(this.length,e))},Oe.prototype.get=function(A){if(!(A<0||A>=this.length))return this.getInner(A)},Oe.prototype.forEach=function(A,e,n){e===void 0&&(e=0),n===void 0&&(n=this.length),e<=n?this.forEachInner(A,e,n,0):this.forEachInvertedInner(A,e,n,0)},Oe.prototype.map=function(A,e,n){e===void 0&&(e=0),n===void 0&&(n=this.length);var r=[];return this.forEach(function(i,s){return r.push(A(i,s))},e,n),r},Oe.from=function(A){return A instanceof Oe?A:A&&A.length?new hg(A):Oe.empty};var hg=function(t){function A(n){t.call(this),this.values=n}t&&(A.__proto__=t),A.prototype=Object.create(t&&t.prototype),A.prototype.constructor=A;var e={length:{configurable:!0},depth:{configurable:!0}};return A.prototype.flatten=function(){return this.values},A.prototype.sliceInner=function(r,i){return r==0&&i==this.length?this:new A(this.values.slice(r,i))},A.prototype.getInner=function(r){return this.values[r]},A.prototype.forEachInner=function(r,i,s,a){for(var c=i;c<s;c++)if(r(this.values[c],a+c)===!1)return!1},A.prototype.forEachInvertedInner=function(r,i,s,a){for(var c=i-1;c>=s;c--)if(r(this.values[c],a+c)===!1)return!1},A.prototype.leafAppend=function(r){if(this.length+r.length<=na)return new A(this.values.concat(r.flatten()))},A.prototype.leafPrepend=function(r){if(this.length+r.length<=na)return new A(r.flatten().concat(this.values))},e.length.get=function(){return this.values.length},e.depth.get=function(){return 0},Object.defineProperties(A.prototype,e),A}(Oe);Oe.empty=new hg([]);var Ub=function(t){function A(e,n){t.call(this),this.left=e,this.right=n,this.length=e.length+n.length,this.depth=Math.max(e.depth,n.depth)+1}return t&&(A.__proto__=t),A.prototype=Object.create(t&&t.prototype),A.prototype.constructor=A,A.prototype.flatten=function(){return this.left.flatten().concat(this.right.flatten())},A.prototype.getInner=function(n){return n<this.left.length?this.left.get(n):this.right.get(n-this.left.length)},A.prototype.forEachInner=function(n,r,i,s){var a=this.left.length;if(r<a&&this.left.forEachInner(n,r,Math.min(i,a),s)===!1||i>a&&this.right.forEachInner(n,Math.max(r-a,0),Math.min(this.length,i)-a,s+a)===!1)return!1},A.prototype.forEachInvertedInner=function(n,r,i,s){var a=this.left.length;if(r>a&&this.right.forEachInvertedInner(n,r-a,Math.max(i,a)-a,s+a)===!1||i<a&&this.left.forEachInvertedInner(n,Math.min(r,a),i,s)===!1)return!1},A.prototype.sliceInner=function(n,r){if(n==0&&r==this.length)return this;var i=this.left.length;return r<=i?this.left.slice(n,r):n>=i?this.right.slice(n-i,r-i):this.left.slice(n,i).append(this.right.slice(0,r-i))},A.prototype.leafAppend=function(n){var r=this.right.leafAppend(n);if(r)return new A(this.left,r)},A.prototype.leafPrepend=function(n){var r=this.left.leafPrepend(n);if(r)return new A(r,this.right)},A.prototype.appendInner=function(n){return this.left.depth>=Math.max(this.right.depth,n.depth)+1?new A(this.left,new A(this.right,n)):new A(this,n)},A}(Oe),pg=Oe;const vb=500;class rn{constructor(A,e){this.items=A,this.eventCount=e}popEvent(A,e){if(this.eventCount==0)return null;let n=this.items.length;for(;;n--)if(this.items.get(n-1).selection){--n;break}let r,i;e&&(r=this.remapping(n,this.items.length),i=r.maps.length);let s=A.tr,a,c,u=[],d=[];return this.items.forEach((h,B)=>{if(!h.step){r||(r=this.remapping(n,B+1),i=r.maps.length),i--,d.push(h);return}if(r){d.push(new mn(h.map));let m=h.step.map(r.slice(i)),C;m&&s.maybeStep(m).doc&&(C=s.mapping.maps[s.mapping.maps.length-1],u.push(new mn(C,void 0,void 0,u.length+d.length))),i--,C&&r.appendMap(C,i)}else s.maybeStep(h.step);if(h.selection)return a=r?h.selection.map(r.slice(i)):h.selection,c=new rn(this.items.slice(0,n).append(d.reverse().concat(u)),this.eventCount-1),!1},this.items.length,0),{remaining:c,transform:s,selection:a}}addTransform(A,e,n,r){let i=[],s=this.eventCount,a=this.items,c=!r&&a.length?a.get(a.length-1):null;for(let d=0;d<A.steps.length;d++){let h=A.steps[d].invert(A.docs[d]),B=new mn(A.mapping.maps[d],h,e),m;(m=c&&c.merge(B))&&(B=m,d?i.pop():a=a.slice(0,a.length-1)),i.push(B),e&&(s++,e=void 0),r||(c=B)}let u=s-n.depth;return u>Ib&&(a=bb(a,u),s-=u),new rn(a.append(i),s)}remapping(A,e){let n=new hi;return this.items.forEach((r,i)=>{let s=r.mirrorOffset!=null&&i-r.mirrorOffset>=A?n.maps.length-r.mirrorOffset:void 0;n.appendMap(r.map,s)},A,e),n}addMaps(A){return this.eventCount==0?this:new rn(this.items.append(A.map(e=>new mn(e))),this.eventCount)}rebased(A,e){if(!this.eventCount)return this;let n=[],r=Math.max(0,this.items.length-e),i=A.mapping,s=A.steps.length,a=this.eventCount;this.items.forEach(B=>{B.selection&&a--},r);let c=e;this.items.forEach(B=>{let m=i.getMirror(--c);if(m==null)return;s=Math.min(s,m);let C=i.maps[m];if(B.step){let E=A.steps[m].invert(A.docs[m]),S=B.selection&&B.selection.map(i.slice(c+1,m));S&&a++,n.push(new mn(C,E,S))}else n.push(new mn(C))},r);let u=[];for(let B=e;B<s;B++)u.push(new mn(i.maps[B]));let d=this.items.slice(0,r).append(u).append(n),h=new rn(d,a);return h.emptyItemCount()>vb&&(h=h.compress(this.items.length-n.length)),h}emptyItemCount(){let A=0;return this.items.forEach(e=>{e.step||A++}),A}compress(A=this.items.length){let e=this.remapping(0,A),n=e.maps.length,r=[],i=0;return this.items.forEach((s,a)=>{if(a>=A)r.push(s),s.selection&&i++;else if(s.step){let c=s.step.map(e.slice(n)),u=c&&c.getMap();if(n--,u&&e.appendMap(u,n),c){let d=s.selection&&s.selection.map(e.slice(n));d&&i++;let h=new mn(u.invert(),c,d),B,m=r.length-1;(B=r.length&&r[m].merge(h))?r[m]=B:r.push(h)}}else s.map&&n--},this.items.length,0),new rn(pg.from(r.reverse()),i)}}rn.empty=new rn(pg.empty,0);function bb(t,A){let e;return t.forEach((n,r)=>{if(n.selection&&A--==0)return e=r,!1}),t.slice(e)}class mn{constructor(A,e,n,r){this.map=A,this.step=e,this.selection=n,this.mirrorOffset=r}merge(A){if(this.step&&A.step&&!A.selection){let e=A.step.merge(this.step);if(e)return new mn(e.getMap().invert(),e,this.selection)}}}class ur{constructor(A,e,n,r){this.done=A,this.undone=e,this.prevRanges=n,this.prevTime=r}}const Ib=20;function Sb(t,A,e,n){let r=e.getMeta(fr),i;if(r)return r.historyState;e.getMeta(xb)&&(t=new ur(t.done,t.undone,null,0));let s=e.getMeta("appendedTransaction");if(e.steps.length==0)return t;if(s&&s.getMeta(fr))return s.getMeta(fr).redo?new ur(t.done.addTransform(e,void 0,n,ra(A)),t.undone,gg(e.mapping.maps[e.steps.length-1]),t.prevTime):new ur(t.done,t.undone.addTransform(e,void 0,n,ra(A)),null,t.prevTime);if(e.getMeta("addToHistory")!==!1&&!(s&&s.getMeta("addToHistory")===!1)){let a=t.prevTime==0||!s&&(t.prevTime<(e.time||0)-n.newGroupDelay||!Tb(e,t.prevRanges)),c=s?nu(t.prevRanges,e.mapping):gg(e.mapping.maps[e.steps.length-1]);return new ur(t.done.addTransform(e,a?A.selection.getBookmark():void 0,n,ra(A)),rn.empty,c,e.time)}else return(i=e.getMeta("rebased"))?new ur(t.done.rebased(e,i),t.undone.rebased(e,i),nu(t.prevRanges,e.mapping),t.prevTime):new ur(t.done.addMaps(e.mapping.maps),t.undone.addMaps(e.mapping.maps),nu(t.prevRanges,e.mapping),t.prevTime)}function Tb(t,A){if(!A)return!1;if(!t.docChanged)return!0;let e=!1;return t.mapping.maps[0].forEach((n,r)=>{for(let i=0;i<A.length;i+=2)n<=A[i+1]&&r>=A[i]&&(e=!0)}),e}function gg(t){let A=[];return t.forEach((e,n,r,i)=>A.push(r,i)),A}function nu(t,A){if(!t)return null;let e=[];for(let n=0;n<t.length;n+=2){let r=A.map(t[n],1),i=A.map(t[n+1],-1);r<=i&&e.push(r,i)}return e}function Bg(t,A,e,n){let r=ra(A),i=fr.get(A).spec.config,s=(n?t.undone:t.done).popEvent(A,r);if(!s)return;let a=s.selection.resolve(s.transform.doc),c=(n?t.done:t.undone).addTransform(s.transform,A.selection.getBookmark(),i,r),u=new ur(n?c:s.remaining,n?s.remaining:c,null,0);e(s.transform.setSelection(a).setMeta(fr,{redo:n,historyState:u}).scrollIntoView())}let ru=!1,mg=null;function ra(t){let A=t.plugins;if(mg!=A){ru=!1,mg=A;for(let e=0;e<A.length;e++)if(A[e].spec.historyPreserveItems){ru=!0;break}}return ru}const fr=new pn("history"),xb=new pn("closeHistory");function Hb(t={}){return t={depth:t.depth||100,newGroupDelay:t.newGroupDelay||500},new dt({key:fr,state:{init(){return new ur(rn.empty,rn.empty,null,0)},apply(A,e,n){return Sb(e,n,A,t)}},config:t,props:{handleDOMEvents:{beforeinput(A,e){let n=e.inputType,r=n=="historyUndo"?wg:n=="historyRedo"?Cg:null;return r?(e.preventDefault(),r(A.state,A.dispatch)):!1}}}})}const wg=(t,A)=>{let e=fr.getState(t);return!e||e.done.eventCount==0?!1:(A&&Bg(e,t,A,!1),!0)},Cg=(t,A)=>{let e=fr.getState(t);return!e||e.undone.eventCount==0?!1:(A&&Bg(e,t,A,!0),!0)},Lb=Je.create({name:"history",addOptions(){return{depth:100,newGroupDelay:500}},addCommands(){return{undo:()=>({state:t,dispatch:A})=>wg(t,A),redo:()=>({state:t,dispatch:A})=>Cg(t,A)}},addProseMirrorPlugins(){return[Hb(this.options)]},addKeyboardShortcuts(){return{"Mod-z":()=>this.editor.commands.undo(),"Mod-y":()=>this.editor.commands.redo(),"Shift-Mod-z":()=>this.editor.commands.redo(),"Mod-я":()=>this.editor.commands.undo(),"Shift-Mod-я":()=>this.editor.commands.redo()}}}),Ob=Et.create({name:"horizontalRule",addOptions(){return{HTMLAttributes:{}}},group:"block",parseHTML(){return[{tag:"hr"}]},renderHTML({HTMLAttributes:t}){return["hr",pe(this.options.HTMLAttributes,t)]},addCommands(){return{setHorizontalRule:()=>({chain:t})=>t().insertContent({type:this.name}).command(({tr:A,dispatch:e})=>{var n;if(e){const{$to:r}=A.selection,i=r.end();if(r.nodeAfter)A.setSelection(FA.create(A.doc,r.pos));else{const s=(n=r.parent.type.contentMatch.defaultType)===null||n===void 0?void 0:n.create();s&&(A.insert(i,s),A.setSelection(FA.create(A.doc,i)))}A.scrollIntoView()}return!0}).run()}},addInputRules(){return[Wv({find:/^(?:---|—-|___\s|\*\*\*\s)$/,type:this.type})]}}),_b=/(?:^|\s)((?:\*)((?:[^*]+))(?:\*))$/,Mb=/(?:^|\s)((?:\*)((?:[^*]+))(?:\*))/g,Db=/(?:^|\s)((?:_)((?:[^_]+))(?:_))$/,kb=/(?:^|\s)((?:_)((?:[^_]+))(?:_))/g,Nb=nn.create({name:"italic",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"em"},{tag:"i",getAttrs:t=>t.style.fontStyle!=="normal"&&null},{style:"font-style=italic"}]},renderHTML({HTMLAttributes:t}){return["em",pe(this.options.HTMLAttributes,t),0]},addCommands(){return{setItalic:()=>({commands:t})=>t.setMark(this.name),toggleItalic:()=>({commands:t})=>t.toggleMark(this.name),unsetItalic:()=>({commands:t})=>t.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-i":()=>this.editor.commands.toggleItalic(),"Mod-I":()=>this.editor.commands.toggleItalic()}},addInputRules(){return[Xr({find:_b,type:this.type}),Xr({find:Db,type:this.type})]},addPasteRules(){return[Yr({find:Mb,type:this.type}),Yr({find:kb,type:this.type})]}}),Rb=Et.create({name:"listItem",addOptions(){return{HTMLAttributes:{}}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:t}){return["li",pe(this.options.HTMLAttributes,t),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)}}}),Kb=Et.create({name:"listItem",addOptions(){return{HTMLAttributes:{}}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:t}){return["li",pe(this.options.HTMLAttributes,t),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)}}}),yg=nn.create({name:"textStyle",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"span",getAttrs:t=>t.hasAttribute("style")?{}:!1}]},renderHTML({HTMLAttributes:t}){return["span",pe(this.options.HTMLAttributes,t),0]},addCommands(){return{removeEmptyTextStyle:()=>({state:t,commands:A})=>{const e=Aa(t,this.type);return Object.entries(e).some(([,r])=>!!r)?!0:A.unsetMark(this.name)}}}}),Qg=/^(\d+)\.\s$/,Pb=Et.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:t=>t.hasAttribute("start")?parseInt(t.getAttribute("start")||"",10):1}}},parseHTML(){return[{tag:"ol"}]},renderHTML({HTMLAttributes:t}){const{start:A,...e}=t;return A===1?["ol",pe(this.options.HTMLAttributes,e),0]:["ol",pe(this.options.HTMLAttributes,t),0]},addCommands(){return{toggleOrderedList:()=>({commands:t,chain:A})=>this.options.keepAttributes?A().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(Kb.name,this.editor.getAttributes(yg.name)).run():t.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-7":()=>this.editor.commands.toggleOrderedList()}},addInputRules(){let t=bs({find:Qg,type:this.type,getAttributes:A=>({start:+A[1]}),joinPredicate:(A,e)=>e.childCount+e.attrs.start===+A[1]});return(this.options.keepMarks||this.options.keepAttributes)&&(t=bs({find:Qg,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:A=>({start:+A[1],...this.editor.getAttributes(yg.name)}),joinPredicate:(A,e)=>e.childCount+e.attrs.start===+A[1],editor:this.editor})),[t]}}),Vb=Et.create({name:"paragraph",priority:1e3,addOptions(){return{HTMLAttributes:{}}},group:"block",content:"inline*",parseHTML(){return[{tag:"p"}]},renderHTML({HTMLAttributes:t}){return["p",pe(this.options.HTMLAttributes,t),0]},addCommands(){return{setParagraph:()=>({commands:t})=>t.setNode(this.name)}},addKeyboardShortcuts(){return{"Mod-Alt-0":()=>this.editor.commands.setParagraph()}}}),Gb=/(?:^|\s)((?:~~)((?:[^~]+))(?:~~))$/,Wb=/(?:^|\s)((?:~~)((?:[^~]+))(?:~~))/g,Jb=nn.create({name:"strike",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"s"},{tag:"del"},{tag:"strike"},{style:"text-decoration",consuming:!1,getAttrs:t=>t.includes("line-through")?{}:!1}]},renderHTML({HTMLAttributes:t}){return["s",pe(this.options.HTMLAttributes,t),0]},addCommands(){return{setStrike:()=>({commands:t})=>t.setMark(this.name),toggleStrike:()=>({commands:t})=>t.toggleMark(this.name),unsetStrike:()=>({commands:t})=>t.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-x":()=>this.editor.commands.toggleStrike()}},addInputRules(){return[Xr({find:Gb,type:this.type})]},addPasteRules(){return[Yr({find:Wb,type:this.type})]}}),$b=Et.create({name:"text",group:"inline"}),Xb=Je.create({name:"starterKit",addExtensions(){var t,A,e,n,r,i,s,a,c,u,d,h,B,m,C,E,S,U;const b=[];return this.options.blockquote!==!1&&b.push(qv.configure((t=this.options)===null||t===void 0?void 0:t.blockquote)),this.options.bold!==!1&&b.push(tb.configure((A=this.options)===null||A===void 0?void 0:A.bold)),this.options.bulletList!==!1&&b.push(rb.configure((e=this.options)===null||e===void 0?void 0:e.bulletList)),this.options.code!==!1&&b.push(ob.configure((n=this.options)===null||n===void 0?void 0:n.code)),this.options.codeBlock!==!1&&b.push(cb.configure((r=this.options)===null||r===void 0?void 0:r.codeBlock)),this.options.document!==!1&&b.push(ub.configure((i=this.options)===null||i===void 0?void 0:i.document)),this.options.dropcursor!==!1&&b.push(hb.configure((s=this.options)===null||s===void 0?void 0:s.dropcursor)),this.options.gapcursor!==!1&&b.push(Qb.configure((a=this.options)===null||a===void 0?void 0:a.gapcursor)),this.options.hardBreak!==!1&&b.push(Eb.configure((c=this.options)===null||c===void 0?void 0:c.hardBreak)),this.options.heading!==!1&&b.push(Fb.configure((u=this.options)===null||u===void 0?void 0:u.heading)),this.options.history!==!1&&b.push(Lb.configure((d=this.options)===null||d===void 0?void 0:d.history)),this.options.horizontalRule!==!1&&b.push(Ob.configure((h=this.options)===null||h===void 0?void 0:h.horizontalRule)),this.options.italic!==!1&&b.push(Nb.configure((B=this.options)===null||B===void 0?void 0:B.italic)),this.options.listItem!==!1&&b.push(Rb.configure((m=this.options)===null||m===void 0?void 0:m.listItem)),this.options.orderedList!==!1&&b.push(Pb.configure((C=this.options)===null||C===void 0?void 0:C.orderedList)),this.options.paragraph!==!1&&b.push(Vb.configure((E=this.options)===null||E===void 0?void 0:E.paragraph)),this.options.strike!==!1&&b.push(Jb.configure((S=this.options)===null||S===void 0?void 0:S.strike)),this.options.text!==!1&&b.push($b.configure((U=this.options)===null||U===void 0?void 0:U.text)),b}});var Yb="tippy-box",Eg="tippy-content",zb="tippy-backdrop",Fg="tippy-arrow",Ug="tippy-svg-arrow",zr={passive:!0,capture:!0},vg=function(){return document.body};function qb(t,A){return{}.hasOwnProperty.call(t,A)}function iu(t,A,e){if(Array.isArray(t)){var n=t[A];return n??(Array.isArray(e)?e[A]:e)}return t}function su(t,A){var e={}.toString.call(t);return e.indexOf("[object")===0&&e.indexOf(A+"]")>-1}function bg(t,A){return typeof t=="function"?t.apply(void 0,A):t}function Ig(t,A){if(A===0)return t;var e;return function(n){clearTimeout(e),e=setTimeout(function(){t(n)},A)}}function Zb(t,A){var e=Object.assign({},t);return A.forEach(function(n){delete e[n]}),e}function jb(t){return t.split(/\s+/).filter(Boolean)}function Ti(t){return[].concat(t)}function Sg(t,A){t.indexOf(A)===-1&&t.push(A)}function AI(t){return t.filter(function(A,e){return t.indexOf(A)===e})}function eI(t){return t.split("-")[0]}function ia(t){return[].slice.call(t)}function Tg(t){return Object.keys(t).reduce(function(A,e){return t[e]!==void 0&&(A[e]=t[e]),A},{})}function Is(){return document.createElement("div")}function Ss(t){return["Element","Fragment"].some(function(A){return su(t,A)})}function tI(t){return su(t,"NodeList")}function nI(t){return su(t,"MouseEvent")}function rI(t){return!!(t&&t._tippy&&t._tippy.reference===t)}function iI(t){return Ss(t)?[t]:tI(t)?ia(t):Array.isArray(t)?t:ia(document.querySelectorAll(t))}function ou(t,A){t.forEach(function(e){e&&(e.style.transitionDuration=A+"ms")})}function xg(t,A){t.forEach(function(e){e&&e.setAttribute("data-state",A)})}function sI(t){var A,e=Ti(t),n=e[0];return n!=null&&(A=n.ownerDocument)!=null&&A.body?n.ownerDocument:document}function oI(t,A){var e=A.clientX,n=A.clientY;return t.every(function(r){var i=r.popperRect,s=r.popperState,a=r.props,c=a.interactiveBorder,u=eI(s.placement),d=s.modifiersData.offset;if(!d)return!0;var h=u==="bottom"?d.top.y:0,B=u==="top"?d.bottom.y:0,m=u==="right"?d.left.x:0,C=u==="left"?d.right.x:0,E=i.top-n+h>c,S=n-i.bottom-B>c,U=i.left-e+m>c,b=e-i.right-C>c;return E||S||U||b})}function au(t,A,e){var n=A+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(r){t[n](r,e)})}function Hg(t,A){for(var e=A;e;){var n;if(t.contains(e))return!0;e=e.getRootNode==null||(n=e.getRootNode())==null?void 0:n.host}return!1}var wn={isTouch:!1},Lg=0;function aI(){wn.isTouch||(wn.isTouch=!0,window.performance&&document.addEventListener("mousemove",Og))}function Og(){var t=performance.now();t-Lg<20&&(wn.isTouch=!1,document.removeEventListener("mousemove",Og)),Lg=t}function lI(){var t=document.activeElement;if(rI(t)){var A=t._tippy;t.blur&&!A.state.isVisible&&t.blur()}}function cI(){document.addEventListener("touchstart",aI,zr),window.addEventListener("blur",lI)}var uI=typeof window<"u"&&typeof document<"u",fI=uI?!!window.msCrypto:!1;function xi(t){var A=t==="destroy"?"n already-":" ";return[t+"() was called on a"+A+"destroyed instance. This is a no-op but","indicates a potential memory leak."].join(" ")}function _g(t){var A=/[ \t]{2,}/g,e=/^[ \t]*/gm;return t.replace(A," ").replace(e,"").trim()}function dI(t){return _g(`
94
+ %ctippy.js
95
+
96
+ %c`+_g(t)+`
97
+
98
+ %c👷‍ This is a development-only message. It will be removed in production.
99
+ `)}function Mg(t){return[dI(t),"color: #00C584; font-size: 1.3em; font-weight: bold;","line-height: 1.5","color: #a6a095;"]}var Ts;process.env.NODE_ENV!=="production"&&hI();function hI(){Ts=new Set}function xn(t,A){if(t&&!Ts.has(A)){var e;Ts.add(A),(e=console).warn.apply(e,Mg(A))}}function lu(t,A){if(t&&!Ts.has(A)){var e;Ts.add(A),(e=console).error.apply(e,Mg(A))}}function pI(t){var A=!t,e=Object.prototype.toString.call(t)==="[object Object]"&&!t.addEventListener;lu(A,["tippy() was passed","`"+String(t)+"`","as its targets (first) argument. Valid types are: String, Element,","Element[], or NodeList."].join(" ")),lu(e,["tippy() was passed a plain object which is not supported as an argument","for virtual positioning. Use props.getReferenceClientRect instead."].join(" "))}var Dg={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},gI={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},Ft=Object.assign({appendTo:vg,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},Dg,gI),BI=Object.keys(Ft),mI=function(A){process.env.NODE_ENV!=="production"&&Rg(A,[]);var e=Object.keys(A);e.forEach(function(n){Ft[n]=A[n]})};function kg(t){var A=t.plugins||[],e=A.reduce(function(n,r){var i=r.name,s=r.defaultValue;if(i){var a;n[i]=t[i]!==void 0?t[i]:(a=Ft[i])!=null?a:s}return n},{});return Object.assign({},t,e)}function wI(t,A){var e=A?Object.keys(kg(Object.assign({},Ft,{plugins:A}))):BI,n=e.reduce(function(r,i){var s=(t.getAttribute("data-tippy-"+i)||"").trim();if(!s)return r;if(i==="content")r[i]=s;else try{r[i]=JSON.parse(s)}catch{r[i]=s}return r},{});return n}function Ng(t,A){var e=Object.assign({},A,{content:bg(A.content,[t])},A.ignoreAttributes?{}:wI(t,A.plugins));return e.aria=Object.assign({},Ft.aria,e.aria),e.aria={expanded:e.aria.expanded==="auto"?A.interactive:e.aria.expanded,content:e.aria.content==="auto"?A.interactive?null:"describedby":e.aria.content},e}function Rg(t,A){t===void 0&&(t={}),A===void 0&&(A=[]);var e=Object.keys(t);e.forEach(function(n){var r=Zb(Ft,Object.keys(Dg)),i=!qb(r,n);i&&(i=A.filter(function(s){return s.name===n}).length===0),xn(i,["`"+n+"`","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.",`
100
+
101
+ `,`All props: https://atomiks.github.io/tippyjs/v6/all-props/
102
+ `,"Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "))})}var CI=function(){return"innerHTML"};function cu(t,A){t[CI()]=A}function Kg(t){var A=Is();return t===!0?A.className=Fg:(A.className=Ug,Ss(t)?A.appendChild(t):cu(A,t)),A}function Pg(t,A){Ss(A.content)?(cu(t,""),t.appendChild(A.content)):typeof A.content!="function"&&(A.allowHTML?cu(t,A.content):t.textContent=A.content)}function uu(t){var A=t.firstElementChild,e=ia(A.children);return{box:A,content:e.find(function(n){return n.classList.contains(Eg)}),arrow:e.find(function(n){return n.classList.contains(Fg)||n.classList.contains(Ug)}),backdrop:e.find(function(n){return n.classList.contains(zb)})}}function Vg(t){var A=Is(),e=Is();e.className=Yb,e.setAttribute("data-state","hidden"),e.setAttribute("tabindex","-1");var n=Is();n.className=Eg,n.setAttribute("data-state","hidden"),Pg(n,t.props),A.appendChild(e),e.appendChild(n),r(t.props,t.props);function r(i,s){var a=uu(A),c=a.box,u=a.content,d=a.arrow;s.theme?c.setAttribute("data-theme",s.theme):c.removeAttribute("data-theme"),typeof s.animation=="string"?c.setAttribute("data-animation",s.animation):c.removeAttribute("data-animation"),s.inertia?c.setAttribute("data-inertia",""):c.removeAttribute("data-inertia"),c.style.maxWidth=typeof s.maxWidth=="number"?s.maxWidth+"px":s.maxWidth,s.role?c.setAttribute("role",s.role):c.removeAttribute("role"),(i.content!==s.content||i.allowHTML!==s.allowHTML)&&Pg(u,t.props),s.arrow?d?i.arrow!==s.arrow&&(c.removeChild(d),c.appendChild(Kg(s.arrow))):c.appendChild(Kg(s.arrow)):d&&c.removeChild(d)}return{popper:A,onUpdate:r}}Vg.$$tippy=!0;var yI=1,sa=[],fu=[];function QI(t,A){var e=Ng(t,Object.assign({},Ft,kg(Tg(A)))),n,r,i,s=!1,a=!1,c=!1,u=!1,d,h,B,m=[],C=Ig(v,e.interactiveDebounce),E,S=yI++,U=null,b=AI(e.plugins),M={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},F={id:S,reference:t,popper:Is(),popperInstance:U,props:e,state:M,plugins:b,clearDelayTimeouts:Fe,setProps:an,setContent:St,show:Gt,hide:Tt,hideWithInteractivity:ni,enable:Y,disable:oe,unmount:Ur,destroy:io};if(!e.render)return process.env.NODE_ENV!=="production"&&lu(!0,"render() function has not been supplied."),F;var T=e.render(F),L=T.popper,N=T.onUpdate;L.setAttribute("data-tippy-root",""),L.id="tippy-"+F.id,F.popper=L,t._tippy=F,L._tippy=F;var W=b.map(function(R){return R.fn(F)}),J=t.hasAttribute("aria-expanded");return ot(),ZA(),bA(),mA("onCreate",[F]),e.showOnCreate&&KA(),L.addEventListener("mouseenter",function(){F.props.interactive&&F.state.isVisible&&F.clearDelayTimeouts()}),L.addEventListener("mouseleave",function(){F.props.interactive&&F.props.trigger.indexOf("mouseenter")>=0&&HA().addEventListener("mousemove",C)}),F;function eA(){var R=F.props.touch;return Array.isArray(R)?R:[R,0]}function gA(){return eA()[0]==="hold"}function wA(){var R;return!!((R=F.props.render)!=null&&R.$$tippy)}function aA(){return E||t}function HA(){var R=aA().parentNode;return R?sI(R):document}function WA(){return uu(L)}function vA(R){return F.state.isMounted&&!F.state.isVisible||wn.isTouch||d&&d.type==="focus"?0:iu(F.props.delay,R?0:1,Ft.delay)}function bA(R){R===void 0&&(R=!1),L.style.pointerEvents=F.props.interactive&&!R?"":"none",L.style.zIndex=""+F.props.zIndex}function mA(R,rA,lA){if(lA===void 0&&(lA=!0),W.forEach(function(OA){OA[R]&&OA[R].apply(OA,rA)}),lA){var MA;(MA=F.props)[R].apply(MA,rA)}}function re(){var R=F.props.aria;if(R.content){var rA="aria-"+R.content,lA=L.id,MA=Ti(F.props.triggerTarget||t);MA.forEach(function(OA){var Ke=OA.getAttribute(rA);if(F.state.isVisible)OA.setAttribute(rA,Ke?Ke+" "+lA:lA);else{var Bt=Ke&&Ke.replace(lA,"").trim();Bt?OA.setAttribute(rA,Bt):OA.removeAttribute(rA)}})}}function ZA(){if(!(J||!F.props.aria.expanded)){var R=Ti(F.props.triggerTarget||t);R.forEach(function(rA){F.props.interactive?rA.setAttribute("aria-expanded",F.state.isVisible&&rA===aA()?"true":"false"):rA.removeAttribute("aria-expanded")})}}function JA(){HA().removeEventListener("mousemove",C),sa=sa.filter(function(R){return R!==C})}function Be(R){if(!(wn.isTouch&&(c||R.type==="mousedown"))){var rA=R.composedPath&&R.composedPath()[0]||R.target;if(!(F.props.interactive&&Hg(L,rA))){if(Ti(F.props.triggerTarget||t).some(function(lA){return Hg(lA,rA)})){if(wn.isTouch||F.state.isVisible&&F.props.trigger.indexOf("click")>=0)return}else mA("onClickOutside",[F,R]);F.props.hideOnClick===!0&&(F.clearDelayTimeouts(),F.hide(),a=!0,setTimeout(function(){a=!1}),F.state.isMounted||fe())}}}function me(){c=!0}function Te(){c=!1}function jA(){var R=HA();R.addEventListener("mousedown",Be,!0),R.addEventListener("touchend",Be,zr),R.addEventListener("touchstart",Te,zr),R.addEventListener("touchmove",me,zr)}function fe(){var R=HA();R.removeEventListener("mousedown",Be,!0),R.removeEventListener("touchend",Be,zr),R.removeEventListener("touchstart",Te,zr),R.removeEventListener("touchmove",me,zr)}function it(R,rA){ze(R,function(){!F.state.isVisible&&L.parentNode&&L.parentNode.contains(L)&&rA()})}function st(R,rA){ze(R,rA)}function ze(R,rA){var lA=WA().box;function MA(OA){OA.target===lA&&(au(lA,"remove",MA),rA())}if(R===0)return rA();au(lA,"remove",h),au(lA,"add",MA),h=MA}function ke(R,rA,lA){lA===void 0&&(lA=!1);var MA=Ti(F.props.triggerTarget||t);MA.forEach(function(OA){OA.addEventListener(R,rA,lA),m.push({node:OA,eventType:R,handler:rA,options:lA})})}function ot(){gA()&&(ke("touchstart",H,{passive:!0}),ke("touchend",k,{passive:!0})),jb(F.props.trigger).forEach(function(R){if(R!=="manual")switch(ke(R,H),R){case"mouseenter":ke("mouseleave",k);break;case"focus":ke(fI?"focusout":"blur",q);break;case"focusin":ke("focusout",q);break}})}function It(){m.forEach(function(R){var rA=R.node,lA=R.eventType,MA=R.handler,OA=R.options;rA.removeEventListener(lA,MA,OA)}),m=[]}function H(R){var rA,lA=!1;if(!(!F.state.isEnabled||oA(R)||a)){var MA=((rA=d)==null?void 0:rA.type)==="focus";d=R,E=R.currentTarget,ZA(),!F.state.isVisible&&nI(R)&&sa.forEach(function(OA){return OA(R)}),R.type==="click"&&(F.props.trigger.indexOf("mouseenter")<0||s)&&F.props.hideOnClick!==!1&&F.state.isVisible?lA=!0:KA(R),R.type==="click"&&(s=!lA),lA&&!MA&&P(R)}}function v(R){var rA=R.target,lA=aA().contains(rA)||L.contains(rA);if(!(R.type==="mousemove"&&lA)){var MA=Re().concat(L).map(function(OA){var Ke,Bt=OA._tippy,Kn=(Ke=Bt.popperInstance)==null?void 0:Ke.state;return Kn?{popperRect:OA.getBoundingClientRect(),popperState:Kn,props:e}:null}).filter(Boolean);oI(MA,R)&&(JA(),P(R))}}function k(R){var rA=oA(R)||F.props.trigger.indexOf("click")>=0&&s;if(!rA){if(F.props.interactive){F.hideWithInteractivity(R);return}P(R)}}function q(R){F.props.trigger.indexOf("focusin")<0&&R.target!==aA()||F.props.interactive&&R.relatedTarget&&L.contains(R.relatedTarget)||P(R)}function oA(R){return wn.isTouch?gA()!==R.type.indexOf("touch")>=0:!1}function IA(){at();var R=F.props,rA=R.popperOptions,lA=R.placement,MA=R.offset,OA=R.getReferenceClientRect,Ke=R.moveTransition,Bt=wA()?uu(L).arrow:null,Kn=OA?{getBoundingClientRect:OA,contextElement:OA.contextElement||aA()}:t,so={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(zi){var vr=zi.state;if(wA()){var ll=WA(),ao=ll.box;["placement","reference-hidden","escaped"].forEach(function(qi){qi==="placement"?ao.setAttribute("data-placement",vr.placement):vr.attributes.popper["data-popper-"+qi]?ao.setAttribute("data-"+qi,""):ao.removeAttribute("data-"+qi)}),vr.attributes.popper={}}}},Pn=[{name:"offset",options:{offset:MA}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!Ke}},so];wA()&&Bt&&Pn.push({name:"arrow",options:{element:Bt,padding:3}}),Pn.push.apply(Pn,(rA==null?void 0:rA.modifiers)||[]),F.popperInstance=Vd.createPopper(Kn,L,Object.assign({},rA,{placement:lA,onFirstUpdate:B,modifiers:Pn}))}function at(){F.popperInstance&&(F.popperInstance.destroy(),F.popperInstance=null)}function Ne(){var R=F.props.appendTo,rA,lA=aA();F.props.interactive&&R===vg||R==="parent"?rA=lA.parentNode:rA=bg(R,[lA]),rA.contains(L)||rA.appendChild(L),F.state.isMounted=!0,IA(),process.env.NODE_ENV!=="production"&&xn(F.props.interactive&&R===Ft.appendTo&&lA.nextElementSibling!==L,["Interactive tippy element may not be accessible via keyboard","navigation because it is not directly after the reference element","in the DOM source order.",`
103
+
104
+ `,"Using a wrapper <div> or <span> tag around the reference element","solves this by creating a new parentNode context.",`
105
+
106
+ `,"Specifying `appendTo: document.body` silences this warning, but it","assumes you are using a focus management solution to handle","keyboard navigation.",`
107
+
108
+ `,"See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity"].join(" "))}function Re(){return ia(L.querySelectorAll("[data-tippy-root]"))}function KA(R){F.clearDelayTimeouts(),R&&mA("onTrigger",[F,R]),jA();var rA=vA(!0),lA=eA(),MA=lA[0],OA=lA[1];wn.isTouch&&MA==="hold"&&OA&&(rA=OA),rA?n=setTimeout(function(){F.show()},rA):F.show()}function P(R){if(F.clearDelayTimeouts(),mA("onUntrigger",[F,R]),!F.state.isVisible){fe();return}if(!(F.props.trigger.indexOf("mouseenter")>=0&&F.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(R.type)>=0&&s)){var rA=vA(!1);rA?r=setTimeout(function(){F.state.isVisible&&F.hide()},rA):i=requestAnimationFrame(function(){F.hide()})}}function Y(){F.state.isEnabled=!0}function oe(){F.hide(),F.state.isEnabled=!1}function Fe(){clearTimeout(n),clearTimeout(r),cancelAnimationFrame(i)}function an(R){if(process.env.NODE_ENV!=="production"&&xn(F.state.isDestroyed,xi("setProps")),!F.state.isDestroyed){mA("onBeforeUpdate",[F,R]),It();var rA=F.props,lA=Ng(t,Object.assign({},rA,Tg(R),{ignoreAttributes:!0}));F.props=lA,ot(),rA.interactiveDebounce!==lA.interactiveDebounce&&(JA(),C=Ig(v,lA.interactiveDebounce)),rA.triggerTarget&&!lA.triggerTarget?Ti(rA.triggerTarget).forEach(function(MA){MA.removeAttribute("aria-expanded")}):lA.triggerTarget&&t.removeAttribute("aria-expanded"),ZA(),bA(),N&&N(rA,lA),F.popperInstance&&(IA(),Re().forEach(function(MA){requestAnimationFrame(MA._tippy.popperInstance.forceUpdate)})),mA("onAfterUpdate",[F,R])}}function St(R){F.setProps({content:R})}function Gt(){process.env.NODE_ENV!=="production"&&xn(F.state.isDestroyed,xi("show"));var R=F.state.isVisible,rA=F.state.isDestroyed,lA=!F.state.isEnabled,MA=wn.isTouch&&!F.props.touch,OA=iu(F.props.duration,0,Ft.duration);if(!(R||rA||lA||MA)&&!aA().hasAttribute("disabled")&&(mA("onShow",[F],!1),F.props.onShow(F)!==!1)){if(F.state.isVisible=!0,wA()&&(L.style.visibility="visible"),bA(),jA(),F.state.isMounted||(L.style.transition="none"),wA()){var Ke=WA(),Bt=Ke.box,Kn=Ke.content;ou([Bt,Kn],0)}B=function(){var Pn;if(!(!F.state.isVisible||u)){if(u=!0,L.offsetHeight,L.style.transition=F.props.moveTransition,wA()&&F.props.animation){var oo=WA(),zi=oo.box,vr=oo.content;ou([zi,vr],OA),xg([zi,vr],"visible")}re(),ZA(),Sg(fu,F),(Pn=F.popperInstance)==null||Pn.forceUpdate(),mA("onMount",[F]),F.props.animation&&wA()&&st(OA,function(){F.state.isShown=!0,mA("onShown",[F])})}},Ne()}}function Tt(){process.env.NODE_ENV!=="production"&&xn(F.state.isDestroyed,xi("hide"));var R=!F.state.isVisible,rA=F.state.isDestroyed,lA=!F.state.isEnabled,MA=iu(F.props.duration,1,Ft.duration);if(!(R||rA||lA)&&(mA("onHide",[F],!1),F.props.onHide(F)!==!1)){if(F.state.isVisible=!1,F.state.isShown=!1,u=!1,s=!1,wA()&&(L.style.visibility="hidden"),JA(),fe(),bA(!0),wA()){var OA=WA(),Ke=OA.box,Bt=OA.content;F.props.animation&&(ou([Ke,Bt],MA),xg([Ke,Bt],"hidden"))}re(),ZA(),F.props.animation?wA()&&it(MA,F.unmount):F.unmount()}}function ni(R){process.env.NODE_ENV!=="production"&&xn(F.state.isDestroyed,xi("hideWithInteractivity")),HA().addEventListener("mousemove",C),Sg(sa,C),C(R)}function Ur(){process.env.NODE_ENV!=="production"&&xn(F.state.isDestroyed,xi("unmount")),F.state.isVisible&&F.hide(),F.state.isMounted&&(at(),Re().forEach(function(R){R._tippy.unmount()}),L.parentNode&&L.parentNode.removeChild(L),fu=fu.filter(function(R){return R!==F}),F.state.isMounted=!1,mA("onHidden",[F]))}function io(){process.env.NODE_ENV!=="production"&&xn(F.state.isDestroyed,xi("destroy")),!F.state.isDestroyed&&(F.clearDelayTimeouts(),F.unmount(),It(),delete t._tippy,F.state.isDestroyed=!0,mA("onDestroy",[F]))}}function Hi(t,A){A===void 0&&(A={});var e=Ft.plugins.concat(A.plugins||[]);process.env.NODE_ENV!=="production"&&(pI(t),Rg(A,e)),cI();var n=Object.assign({},A,{plugins:e}),r=iI(t);if(process.env.NODE_ENV!=="production"){var i=Ss(n.content),s=r.length>1;xn(i&&s,["tippy() was passed an Element as the `content` prop, but more than","one tippy instance was created by this invocation. This means the","content element will only be appended to the last tippy instance.",`
109
+
110
+ `,"Instead, pass the .innerHTML of the element, or use a function that","returns a cloned version of the element instead.",`
111
+
112
+ `,`1) content: element.innerHTML
113
+ `,"2) content: () => element.cloneNode(true)"].join(" "))}var a=r.reduce(function(c,u){var d=u&&QI(u,n);return d&&c.push(d),c},[]);return Ss(t)?a[0]:a}Hi.defaultProps=Ft,Hi.setDefaultProps=mI,Hi.currentInput=wn,Object.assign({},Vd.applyStyles,{effect:function(A){var e=A.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow)}}),Hi.setDefaultProps({render:Vg});class EI{constructor({editor:A,element:e,view:n,tippyOptions:r={},updateDelay:i=250,shouldShow:s}){this.preventHide=!1,this.shouldShow=({view:a,state:c,from:u,to:d})=>{const{doc:h,selection:B}=c,{empty:m}=B,C=!h.textBetween(u,d).length&&Yc(c.selection),E=this.element.contains(document.activeElement);return!(!(a.hasFocus()||E)||m||C||!this.editor.isEditable)},this.mousedownHandler=()=>{this.preventHide=!0},this.dragstartHandler=()=>{this.hide()},this.focusHandler=()=>{setTimeout(()=>this.update(this.editor.view))},this.blurHandler=({event:a})=>{var c;if(this.preventHide){this.preventHide=!1;return}a!=null&&a.relatedTarget&&(!((c=this.element.parentNode)===null||c===void 0)&&c.contains(a.relatedTarget))||this.hide()},this.tippyBlurHandler=a=>{this.blurHandler({event:a})},this.handleDebouncedUpdate=(a,c)=>{this.updateDebounceTimer&&clearTimeout(this.updateDebounceTimer),this.updateDebounceTimer=window.setTimeout(()=>{this.updateHandler(a,c)},this.updateDelay)},this.updateHandler=(a,c)=>{var u,d,h;const{state:B,composing:m}=a,{doc:C,selection:E}=B,S=c&&c.doc.eq(C)&&c.selection.eq(E);if(m||S)return;this.createTooltip();const{ranges:U}=E,b=Math.min(...U.map(T=>T.$from.pos)),M=Math.max(...U.map(T=>T.$to.pos));if(!((u=this.shouldShow)===null||u===void 0?void 0:u.call(this,{editor:this.editor,view:a,state:B,oldState:c,from:b,to:M}))){this.hide();return}(d=this.tippy)===null||d===void 0||d.setProps({getReferenceClientRect:((h=this.tippyOptions)===null||h===void 0?void 0:h.getReferenceClientRect)||(()=>{if(Uv(B.selection)){let T=a.nodeDOM(b);const L=T.dataset.nodeViewWrapper?T:T.querySelector("[data-node-view-wrapper]");if(L&&(T=L.firstChild),T)return T.getBoundingClientRect()}return cg(a,b,M)})}),this.show()},this.editor=A,this.element=e,this.view=n,this.updateDelay=i,s&&(this.shouldShow=s),this.element.addEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.view.dom.addEventListener("dragstart",this.dragstartHandler),this.editor.on("focus",this.focusHandler),this.editor.on("blur",this.blurHandler),this.tippyOptions=r,this.element.remove(),this.element.style.visibility="visible"}createTooltip(){const{element:A}=this.editor.options,e=!!A.parentElement;this.tippy||!e||(this.tippy=Hi(A,{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(A,e){const{state:n}=A,r=n.selection.$from.pos!==n.selection.$to.pos;if(this.updateDelay>0&&r){this.handleDebouncedUpdate(A,e);return}this.updateHandler(A,e)}show(){var A;(A=this.tippy)===null||A===void 0||A.show()}hide(){var A;(A=this.tippy)===null||A===void 0||A.hide()}destroy(){var A,e;!((A=this.tippy)===null||A===void 0)&&A.popper.firstChild&&this.tippy.popper.firstChild.removeEventListener("blur",this.tippyBlurHandler),(e=this.tippy)===null||e===void 0||e.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 Gg=t=>new dt({key:typeof t.pluginKey=="string"?new pn(t.pluginKey):t.pluginKey,view:A=>new EI({view:A,...t})});Je.create({name:"bubbleMenu",addOptions(){return{element:null,tippyOptions:{},pluginKey:"bubbleMenu",updateDelay:void 0,shouldShow:null}},addProseMirrorPlugins(){return this.options.element?[Gg({pluginKey:this.options.pluginKey,editor:this.editor,element:this.options.element,tippyOptions:this.options.tippyOptions,updateDelay:this.options.updateDelay,shouldShow:this.options.shouldShow})]:[]}});class FI{constructor({editor:A,element:e,view:n,tippyOptions:r={},shouldShow:i}){this.preventHide=!1,this.shouldShow=({view:s,state:a})=>{const{selection:c}=a,{$anchor:u,empty:d}=c,h=u.depth===1,B=u.parent.isTextblock&&!u.parent.type.spec.code&&!u.parent.textContent;return!(!s.hasFocus()||!d||!h||!B||!this.editor.isEditable)},this.mousedownHandler=()=>{this.preventHide=!0},this.focusHandler=()=>{setTimeout(()=>this.update(this.editor.view))},this.blurHandler=({event:s})=>{var a;if(this.preventHide){this.preventHide=!1;return}s!=null&&s.relatedTarget&&(!((a=this.element.parentNode)===null||a===void 0)&&a.contains(s.relatedTarget))||this.hide()},this.tippyBlurHandler=s=>{this.blurHandler({event:s})},this.editor=A,this.element=e,this.view=n,i&&(this.shouldShow=i),this.element.addEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.editor.on("focus",this.focusHandler),this.editor.on("blur",this.blurHandler),this.tippyOptions=r,this.element.remove(),this.element.style.visibility="visible"}createTooltip(){const{element:A}=this.editor.options,e=!!A.parentElement;this.tippy||!e||(this.tippy=Hi(A,{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(A,e){var n,r,i;const{state:s}=A,{doc:a,selection:c}=s,{from:u,to:d}=c;if(e&&e.doc.eq(a)&&e.selection.eq(c))return;if(this.createTooltip(),!((n=this.shouldShow)===null||n===void 0?void 0:n.call(this,{editor:this.editor,view:A,state:s,oldState:e}))){this.hide();return}(r=this.tippy)===null||r===void 0||r.setProps({getReferenceClientRect:((i=this.tippyOptions)===null||i===void 0?void 0:i.getReferenceClientRect)||(()=>cg(A,u,d))}),this.show()}show(){var A;(A=this.tippy)===null||A===void 0||A.show()}hide(){var A;(A=this.tippy)===null||A===void 0||A.hide()}destroy(){var A,e;!((A=this.tippy)===null||A===void 0)&&A.popper.firstChild&&this.tippy.popper.firstChild.removeEventListener("blur",this.tippyBlurHandler),(e=this.tippy)===null||e===void 0||e.destroy(),this.element.removeEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.editor.off("focus",this.focusHandler),this.editor.off("blur",this.blurHandler)}}const Wg=t=>new dt({key:typeof t.pluginKey=="string"?new pn(t.pluginKey):t.pluginKey,view:A=>new FI({view:A,...t})});Je.create({name:"floatingMenu",addOptions(){return{element:null,tippyOptions:{},pluginKey:"floatingMenu",shouldShow:null}},addProseMirrorPlugins(){return this.options.element?[Wg({pluginKey:this.options.pluginKey,editor:this.editor,element:this.options.element,tippyOptions:this.options.tippyOptions,shouldShow:this.options.shouldShow})]:[]}}),g.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(t,{slots:A}){const e=g.ref(null);return g.onMounted(()=>{const{updateDelay:n,editor:r,pluginKey:i,shouldShow:s,tippyOptions:a}=t;r.registerPlugin(Gg({updateDelay:n,editor:r,element:e.value,pluginKey:i,shouldShow:s,tippyOptions:a}))}),g.onBeforeUnmount(()=>{const{pluginKey:n,editor:r}=t;r.unregisterPlugin(n)}),()=>{var n;return g.h("div",{ref:e},(n=A.default)===null||n===void 0?void 0:n.call(A))}}});function Jg(t){return g.customRef((A,e)=>({get(){return A(),t},set(n){t=n,requestAnimationFrame(()=>{requestAnimationFrame(()=>{e()})})}}))}class UI extends Gv{constructor(A={}){return super(A),this.vueRenderers=g.reactive(new Map),this.contentComponent=null,this.reactiveState=Jg(this.view.state),this.reactiveExtensionStorage=Jg(this.extensionStorage),this.on("transaction",()=>{this.reactiveState.value=this.view.state,this.reactiveExtensionStorage.value=this.extensionStorage}),g.markRaw(this)}get state(){return this.reactiveState?this.reactiveState.value:this.view.state}get storage(){return this.reactiveExtensionStorage?this.reactiveExtensionStorage.value:super.storage}registerPlugin(A,e){super.registerPlugin(A,e),this.reactiveState.value=this.view.state}unregisterPlugin(A){super.unregisterPlugin(A),this.reactiveState.value=this.view.state}}const vI=g.defineComponent({name:"EditorContent",props:{editor:{default:null,type:Object}},setup(t){const A=g.ref(),e=g.getCurrentInstance();return g.watchEffect(()=>{const n=t.editor;n&&n.options.element&&A.value&&g.nextTick(()=>{if(!A.value||!n.options.element.firstChild)return;const r=g.unref(A.value);A.value.append(...n.options.element.childNodes),n.contentComponent=e.ctx._,n.setOptions({element:r}),n.createNodeViews()})}),g.onBeforeUnmount(()=>{const n=t.editor;if(!n||(n.isDestroyed||n.view.setProps({nodeViews:{}}),n.contentComponent=null,!n.options.element.firstChild))return;const r=document.createElement("div");r.append(...n.options.element.childNodes),n.setOptions({element:r})}),{rootEl:A}},render(){const t=[];return this.editor&&this.editor.vueRenderers.forEach(A=>{const e=g.h(g.Teleport,{to:A.teleportElement,key:A.id},g.h(A.component,{ref:A.id,...A.props}));t.push(e)}),g.h("div",{ref:A=>{this.rootEl=A}},...t)}});g.defineComponent({name:"FloatingMenu",props:{pluginKey:{type:null,default:"floatingMenu"},editor:{type:Object,required:!0},tippyOptions:{type:Object,default:()=>({})},shouldShow:{type:Function,default:null}},setup(t,{slots:A}){const e=g.ref(null);return g.onMounted(()=>{const{pluginKey:n,editor:r,tippyOptions:i,shouldShow:s}=t;r.registerPlugin(Wg({pluginKey:n,editor:r,element:e.value,tippyOptions:i,shouldShow:s}))}),g.onBeforeUnmount(()=>{const{pluginKey:n,editor:r}=t;r.unregisterPlugin(n)}),()=>{var n;return g.h("div",{ref:e},(n=A.default)===null||n===void 0?void 0:n.call(A))}}}),g.defineComponent({props:{as:{type:String,default:"div"}},render(){return g.h(this.as,{style:{whiteSpace:"pre-wrap"},"data-node-view-content":""})}}),g.defineComponent({props:{as:{type:String,default:"div"}},inject:["onDragStart","decorationClasses"],render(){var t,A;return g.h(this.as,{class:this.decorationClasses,style:{whiteSpace:"normal"},"data-node-view-wrapper":"",onDragstart:this.onDragStart},(A=(t=this.$slots).default)===null||A===void 0?void 0:A.call(t))}});const bI=(t={})=>{const A=g.shallowRef();return g.onMounted(()=>{A.value=new UI(t)}),g.onBeforeUnmount(()=>{var e;(e=A.value)===null||e===void 0||e.destroy()}),A},II={class:"rte-editor"},SI={key:0},TI=["disabled"],xI=["disabled"],HI=["disabled"],LI=["disabled"],OI=["disabled"],_I=["disabled"],MI=g.defineComponent({__name:"rte-editor",props:{modelValue:{type:String,default:"<p>I’m running Tiptap with Vue.js. 🎉</p>"},disabled:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(t,{emit:A}){const e=t,n=bI({content:e.modelValue,onUpdate:()=>{var r;A("update:modelValue",(r=n.value)==null?void 0:r.getHTML())},extensions:[Xb,Yv.configure({types:["heading","paragraph"]}),Xv]});return g.watch(()=>e.modelValue,(r,i)=>{if(n.value){if(n.value.getHTML()===r)return;n.value.commands.setContent(r,!1)}}),(r,i)=>(g.openBlock(),g.createElementBlock("div",II,[g.unref(n)?(g.openBlock(),g.createElementBlock("div",SI,[g.createElementVNode("button",{class:g.normalizeClass(["btn btn-light",{"is-active":g.unref(n).isActive("bold")}]),onClick:i[0]||(i[0]=s=>{var a;return(a=g.unref(n))==null?void 0:a.chain().focus().toggleBold().run()}),disabled:!g.unref(n).can().chain().focus().toggleBold().run()}," bold ",10,TI),g.createElementVNode("button",{class:g.normalizeClass(["btn btn-light",{"is-active":g.unref(n).isActive("italic")}]),onClick:i[1]||(i[1]=s=>{var a;return(a=g.unref(n))==null?void 0:a.chain().focus().toggleItalic().run()}),disabled:!g.unref(n).can().chain().focus().toggleItalic().run()}," italic ",10,xI),g.createElementVNode("button",{class:g.normalizeClass(["btn btn-light",{"is-active":g.unref(n).isActive("strike")}]),onClick:i[2]||(i[2]=s=>{var a;return(a=g.unref(n))==null?void 0:a.chain().focus().toggleStrike().run()}),disabled:!g.unref(n).can().chain().focus().toggleStrike().run()}," strike ",10,HI),g.createElementVNode("button",{class:g.normalizeClass(["btn btn-light",{"is-active":g.unref(n).isActive("code")}]),onClick:i[3]||(i[3]=s=>{var a;return(a=g.unref(n))==null?void 0:a.chain().focus().toggleCode().run()}),disabled:!g.unref(n).can().chain().focus().toggleCode().run()}," code ",10,LI),g.createElementVNode("button",{class:"btn btn-light",onClick:i[4]||(i[4]=s=>{var a;return(a=g.unref(n))==null?void 0:a.chain().focus().unsetAllMarks().run()})}," clear marks "),g.createElementVNode("button",{class:"btn btn-light",onClick:i[5]||(i[5]=s=>{var a;return(a=g.unref(n))==null?void 0:a.chain().focus().clearNodes().run()})}," clear nodes "),g.createElementVNode("button",{class:g.normalizeClass(["btn btn-light",{"is-active":g.unref(n).isActive("paragraph")}]),onClick:i[6]||(i[6]=s=>{var a;return(a=g.unref(n))==null?void 0:a.chain().focus().setParagraph().run()})}," paragraph ",2),g.createElementVNode("button",{class:g.normalizeClass(["btn btn-light",{"is-active":g.unref(n).isActive("heading",{level:1})}]),onClick:i[7]||(i[7]=s=>{var a;return(a=g.unref(n))==null?void 0:a.chain().focus().toggleHeading({level:1}).run()})}," h1 ",2),g.createElementVNode("button",{class:g.normalizeClass(["btn btn-light",{"is-active":g.unref(n).isActive("heading",{level:2})}]),onClick:i[8]||(i[8]=s=>{var a;return(a=g.unref(n))==null?void 0:a.chain().focus().toggleHeading({level:2}).run()})}," h2 ",2),g.createElementVNode("button",{class:g.normalizeClass(["btn btn-light",{"is-active":g.unref(n).isActive("heading",{level:3})}]),onClick:i[9]||(i[9]=s=>{var a;return(a=g.unref(n))==null?void 0:a.chain().focus().toggleHeading({level:3}).run()})}," h3 ",2),g.createElementVNode("button",{class:g.normalizeClass(["btn btn-light",{"is-active":g.unref(n).isActive("heading",{level:4})}]),onClick:i[10]||(i[10]=s=>{var a;return(a=g.unref(n))==null?void 0:a.chain().focus().toggleHeading({level:4}).run()})}," h4 ",2),g.createElementVNode("button",{class:g.normalizeClass(["btn btn-light",{"is-active":g.unref(n).isActive("heading",{level:5})}]),onClick:i[11]||(i[11]=s=>{var a;return(a=g.unref(n))==null?void 0:a.chain().focus().toggleHeading({level:5}).run()})}," h5 ",2),g.createElementVNode("button",{class:g.normalizeClass(["btn btn-light",{"is-active":g.unref(n).isActive("heading",{level:6})}]),onClick:i[12]||(i[12]=s=>{var a;return(a=g.unref(n))==null?void 0:a.chain().focus().toggleHeading({level:6}).run()})}," h6 ",2),g.createElementVNode("button",{class:g.normalizeClass(["btn btn-light",{"is-active":g.unref(n).isActive("bulletList")}]),onClick:i[13]||(i[13]=s=>{var a;return(a=g.unref(n))==null?void 0:a.chain().focus().toggleBulletList().run()})}," bullet list ",2),g.createElementVNode("button",{class:g.normalizeClass(["btn btn-light",{"is-active":g.unref(n).isActive("orderedList")}]),onClick:i[14]||(i[14]=s=>{var a;return(a=g.unref(n))==null?void 0:a.chain().focus().toggleOrderedList().run()})}," ordered list ",2),g.createElementVNode("button",{class:g.normalizeClass(["btn btn-light",{"is-active":g.unref(n).isActive("codeBlock")}]),onClick:i[15]||(i[15]=s=>{var a;return(a=g.unref(n))==null?void 0:a.chain().focus().toggleCodeBlock().run()})}," code block ",2),g.createElementVNode("button",{class:g.normalizeClass(["btn btn-light",{"is-active":g.unref(n).isActive("blockquote")}]),onClick:i[16]||(i[16]=s=>{var a;return(a=g.unref(n))==null?void 0:a.chain().focus().toggleBlockquote().run()})}," blockquote ",2),g.createElementVNode("button",{class:"btn btn-light",onClick:i[17]||(i[17]=s=>{var a;return(a=g.unref(n))==null?void 0:a.chain().focus().setHorizontalRule().run()})}," horizontal rule "),g.createElementVNode("button",{class:"btn btn-light",onClick:i[18]||(i[18]=s=>{var a;return(a=g.unref(n))==null?void 0:a.chain().focus().setHardBreak().run()})}," hard break "),g.createElementVNode("button",{class:"btn btn-light",onClick:i[19]||(i[19]=s=>{var a;return(a=g.unref(n))==null?void 0:a.chain().focus().undo().run()}),disabled:!g.unref(n).can().chain().focus().undo().run()}," undo ",8,OI),g.createElementVNode("button",{class:"btn btn-light",onClick:i[20]||(i[20]=s=>{var a;return(a=g.unref(n))==null?void 0:a.chain().focus().redo().run()}),disabled:!g.unref(n).can().chain().focus().redo().run()}," redo ",8,_I),g.createElementVNode("button",{class:g.normalizeClass(["btn btn-light",{"is-active":g.unref(n).isActive("highlight")}]),onClick:i[21]||(i[21]=s=>{var a;return(a=g.unref(n))==null?void 0:a.chain().focus().toggleHighlight().run()})}," highlight ",2),g.createElementVNode("button",{class:g.normalizeClass(["btn btn-light",{"is-active":g.unref(n).isActive({textAlign:"left"})}]),onClick:i[22]||(i[22]=s=>{var a;return(a=g.unref(n))==null?void 0:a.chain().focus().setTextAlign("left").run()})}," left ",2),g.createElementVNode("button",{class:g.normalizeClass(["btn btn-light",{"is-active":g.unref(n).isActive({textAlign:"center"})}]),onClick:i[23]||(i[23]=s=>{var a;return(a=g.unref(n))==null?void 0:a.chain().focus().setTextAlign("center").run()})}," center ",2),g.createElementVNode("button",{class:g.normalizeClass(["btn btn-light",{"is-active":g.unref(n).isActive({textAlign:"right"})}]),onClick:i[24]||(i[24]=s=>{var a;return(a=g.unref(n))==null?void 0:a.chain().focus().setTextAlign("right").run()})}," right ",2)])):g.createCommentVNode("",!0),g.createVNode(g.unref(vI),{class:"rte-editor__content",editor:g.unref(n)},null,8,["editor"])]))}}),nV="",DI={class:"input-color"},kI={class:"base-input__color-swatch"},NI=["name","id","disabled","read-only","required","aria-label"],RI=g.defineComponent({__name:"input-color",props:{modelValue:{type:[String,Number,Boolean,Date],default:""},type:{type:String,default:"text"},name:{type:String,default:()=>we()},id:{type:String,default:()=>we()},label:{type:String,default:""},placeholder:{type:String,default:""},variant:{type:String,default:""},disabled:{type:Boolean,default:!1},readOnly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},maxlength:{type:Number},pattern:{type:String,default:null}},emits:["update:modelValue"],setup(t,{emit:A}){const e=t,n=g.computed({get(){return e.modelValue},set(r){A("update:modelValue",r)}});return(r,i)=>{const s=g.resolveComponent("base-input");return g.openBlock(),g.createElementBlock("div",DI,[g.createVNode(s,{modelValue:g.unref(n),"onUpdate:modelValue":i[1]||(i[1]=a=>g.isRef(n)?n.value=a:null),type:t.type==="color"?"text":t.type,id:t.id,name:t.name,placeholder:t.placeholder,pattern:t.pattern,label:t.label,disabled:t.disabled,"read-only":t.readOnly,required:t.required,maxlength:t.maxlength},{"input-append":g.withCtx(a=>[g.createElementVNode("span",kI,[g.withDirectives(g.createElementVNode("input",{"onUpdate:modelValue":i[0]||(i[0]=c=>g.isRef(n)?n.value=c:null),type:"color",name:`${t.name}-color`,id:`${t.id}-color`,disabled:t.disabled,"read-only":t.readOnly,required:t.required,class:"form-control","aria-label":t.label},null,8,NI),[[g.vModelText,g.unref(n)]])])]),_:1},8,["modelValue","type","id","name","placeholder","pattern","label","disabled","read-only","required","maxlength"])])}}}),rV="";/*!
3
114
  * shared v9.2.2
4
115
  * (c) 2022 kazuya kawaguchi
5
116
  * Released under the MIT License.
6
- */const Xt=typeof window<"u";let Oe,fr;if(process.env.NODE_ENV!=="production"){const e=Xt&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(Oe=r=>e.mark(r),fr=(r,t,a)=>{e.measure(r,t,a),e.clearMarks(t),e.clearMarks(a)})}const Nd=/\{([0-9a-zA-Z]+)\}/g;function qn(e,...r){return r.length===1&&bA(r[0])&&(r=r[0]),(!r||!r.hasOwnProperty)&&(r={}),e.replace(Nd,(t,a)=>r.hasOwnProperty(a)?r[a]:"")}const Md=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",_t=e=>Md?Symbol(e):e,Rd=(e,r,t)=>Vd({l:e,k:r,s:t}),Vd=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),we=e=>typeof e=="number"&&isFinite(e),Gd=e=>Gi(e)==="[object Date]",yr=e=>Gi(e)==="[object RegExp]",zn=e=>dA(e)&&Object.keys(e).length===0;function sn(e,r){typeof console<"u"&&(console.warn("[intlify] "+e),r&&console.warn(r.stack))}const oe=Object.assign;let Ql;const on=()=>Ql||(Ql=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ul(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const Pd=Object.prototype.hasOwnProperty;function Vi(e,r){return Pd.call(e,r)}const XA=Array.isArray,Ae=e=>typeof e=="function",j=e=>typeof e=="string",KA=e=>typeof e=="boolean",bA=e=>e!==null&&typeof e=="object",pl=Object.prototype.toString,Gi=e=>pl.call(e),dA=e=>Gi(e)==="[object Object]",kd=e=>e==null?"":XA(e)||dA(e)&&e.toString===pl?JSON.stringify(e,null,2):String(e),Fl=2;function Wd(e,r=0,t=e.length){const a=e.split(/\r?\n/);let s=0;const o=[];for(let l=0;l<a.length;l++)if(s+=a[l].length+1,s>=r){for(let B=l-Fl;B<=l+Fl||t>s;B++){if(B<0||B>=a.length)continue;const c=B+1;o.push(`${c}${" ".repeat(3-String(c).length)}| ${a[B]}`);const w=a[B].length;if(B===l){const h=r-(s-w)+1,Q=Math.max(1,t>s?w-h:t-r);o.push(" | "+" ".repeat(h)+"^".repeat(Q))}else if(B>l){if(t>s){const h=Math.max(Math.min(t-s,w),1);o.push(" | "+"^".repeat(h))}s+=w+1}}break}return o.join(`
7
- `)}function Xd(){const e=new Map;return{events:e,on(t,a){const s=e.get(t);s&&s.push(a)||e.set(t,[a])},off(t,a){const s=e.get(t);s&&s.splice(s.indexOf(a)>>>0,1)},emit(t,a){(e.get(t)||[]).slice().map(s=>s(a)),(e.get("*")||[]).slice().map(s=>s(t,a))}}}/*!
117
+ */const dr=typeof window<"u";let Ut,qr;if(process.env.NODE_ENV!=="production"){const t=dr&&window.performance;t&&t.mark&&t.measure&&t.clearMarks&&t.clearMeasures&&(Ut=A=>t.mark(A),qr=(A,e,n)=>{t.measure(A,e,n),t.clearMarks(e),t.clearMarks(n)})}const KI=/\{([0-9a-zA-Z]+)\}/g;function oa(t,...A){return A.length===1&&$A(A[0])&&(A=A[0]),(!A||!A.hasOwnProperty)&&(A={}),t.replace(KI,(e,n)=>A.hasOwnProperty(n)?A[n]:"")}const PI=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",Hn=t=>PI?Symbol(t):t,VI=(t,A,e)=>GI({l:t,k:A,s:e}),GI=t=>JSON.stringify(t).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),$e=t=>typeof t=="number"&&isFinite(t),WI=t=>hu(t)==="[object Date]",Li=t=>hu(t)==="[object RegExp]",aa=t=>TA(t)&&Object.keys(t).length===0;function xs(t,A){typeof console<"u"&&(console.warn("[intlify] "+t),A&&console.warn(A.stack))}const _e=Object.assign;let $g;const Hs=()=>$g||($g=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Xg(t){return t.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const JI=Object.prototype.hasOwnProperty;function du(t,A){return JI.call(t,A)}const le=Array.isArray,Qe=t=>typeof t=="function",nA=t=>typeof t=="string",qA=t=>typeof t=="boolean",$A=t=>t!==null&&typeof t=="object",Yg=Object.prototype.toString,hu=t=>Yg.call(t),TA=t=>hu(t)==="[object Object]",$I=t=>t==null?"":le(t)||TA(t)&&t.toString===Yg?JSON.stringify(t,null,2):String(t),zg=2;function XI(t,A=0,e=t.length){const n=t.split(/\r?\n/);let r=0;const i=[];for(let s=0;s<n.length;s++)if(r+=n[s].length+1,r>=A){for(let a=s-zg;a<=s+zg||e>r;a++){if(a<0||a>=n.length)continue;const c=a+1;i.push(`${c}${" ".repeat(3-String(c).length)}| ${n[a]}`);const u=n[a].length;if(a===s){const d=A-(r-u)+1,h=Math.max(1,e>r?u-d:e-A);i.push(" | "+" ".repeat(d)+"^".repeat(h))}else if(a>s){if(e>r){const d=Math.max(Math.min(e-r,u),1);i.push(" | "+"^".repeat(d))}r+=u+1}}break}return i.join(`
118
+ `)}function YI(){const t=new Map;return{events:t,on(e,n){const r=t.get(e);r&&r.push(n)||t.set(e,[n])},off(e,n){const r=t.get(e);r&&r.splice(r.indexOf(n)>>>0,1)},emit(e,n){(t.get(e)||[]).slice().map(r=>r(n)),(t.get("*")||[]).slice().map(r=>r(e,n))}}}/*!
8
119
  * message-compiler v9.2.2
9
120
  * (c) 2022 kazuya kawaguchi
10
121
  * Released under the MIT License.
11
- */const iA={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,__EXTEND_POINT__:15},Yd={[iA.EXPECTED_TOKEN]:"Expected token: '{0}'",[iA.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[iA.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[iA.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[iA.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[iA.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[iA.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[iA.EMPTY_PLACEHOLDER]:"Empty placeholder",[iA.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[iA.INVALID_LINKED_FORMAT]:"Invalid linked format",[iA.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[iA.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[iA.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[iA.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'"};function jn(e,r,t={}){const{domain:a,messages:s,args:o}=t,l=process.env.NODE_ENV!=="production"?qn((s||Yd)[e]||"",...o||[]):e,B=new SyntaxError(String(l));return B.code=e,r&&(B.location=r),B.domain=a,B}function Jd(e){throw e}function $d(e,r,t){return{line:e,column:r,offset:t}}function Pi(e,r,t){const a={start:e,end:r};return t!=null&&(a.source=t),a}const yt=" ",Zd="\r",pe=`
12
- `,qd=String.fromCharCode(8232),zd=String.fromCharCode(8233);function jd(e){const r=e;let t=0,a=1,s=1,o=0;const l=V=>r[V]===Zd&&r[V+1]===pe,B=V=>r[V]===pe,c=V=>r[V]===zd,w=V=>r[V]===qd,h=V=>l(V)||B(V)||c(V)||w(V),Q=()=>t,F=()=>a,T=()=>s,S=()=>o,D=V=>l(V)||c(V)||w(V)?pe:r[V],R=()=>D(t),m=()=>D(t+o);function _(){return o=0,h(t)&&(a++,s=0),l(t)&&t++,t++,s++,r[t]}function x(){return l(t+o)&&o++,o++,r[t+o]}function L(){t=0,a=1,s=1,o=0}function H(V=0){o=V}function b(){const V=t+o;for(;V!==t;)_();o=0}return{index:Q,line:F,column:T,peekOffset:S,charAt:D,currentChar:R,currentPeek:m,next:_,peek:x,reset:L,resetPeek:H,skipToPeek:b}}const Yt=void 0,El="'",Aw="tokenizer";function ew(e,r={}){const t=r.location!==!1,a=jd(e),s=()=>a.index(),o=()=>$d(a.line(),a.column(),a.index()),l=o(),B=s(),c={currentType:14,offset:B,startLoc:l,endLoc:l,lastType:14,lastOffset:B,lastStartLoc:l,lastEndLoc:l,braceNest:0,inLinked:!1,text:""},w=()=>c,{onError:h}=r;function Q(I,U,K,...Z){const tA=w();if(U.column+=K,U.offset+=K,h){const UA=Pi(tA.startLoc,U),je=jn(I,UA,{domain:Aw,args:Z});h(je)}}function F(I,U,K){I.endLoc=o(),I.currentType=U;const Z={type:U};return t&&(Z.loc=Pi(I.startLoc,I.endLoc)),K!=null&&(Z.value=K),Z}const T=I=>F(I,14);function S(I,U){return I.currentChar()===U?(I.next(),U):(Q(iA.EXPECTED_TOKEN,o(),0,U),"")}function D(I){let U="";for(;I.currentPeek()===yt||I.currentPeek()===pe;)U+=I.currentPeek(),I.peek();return U}function R(I){const U=D(I);return I.skipToPeek(),U}function m(I){if(I===Yt)return!1;const U=I.charCodeAt(0);return U>=97&&U<=122||U>=65&&U<=90||U===95}function _(I){if(I===Yt)return!1;const U=I.charCodeAt(0);return U>=48&&U<=57}function x(I,U){const{currentType:K}=U;if(K!==2)return!1;D(I);const Z=m(I.currentPeek());return I.resetPeek(),Z}function L(I,U){const{currentType:K}=U;if(K!==2)return!1;D(I);const Z=I.currentPeek()==="-"?I.peek():I.currentPeek(),tA=_(Z);return I.resetPeek(),tA}function H(I,U){const{currentType:K}=U;if(K!==2)return!1;D(I);const Z=I.currentPeek()===El;return I.resetPeek(),Z}function b(I,U){const{currentType:K}=U;if(K!==8)return!1;D(I);const Z=I.currentPeek()===".";return I.resetPeek(),Z}function V(I,U){const{currentType:K}=U;if(K!==9)return!1;D(I);const Z=m(I.currentPeek());return I.resetPeek(),Z}function $(I,U){const{currentType:K}=U;if(!(K===8||K===12))return!1;D(I);const Z=I.currentPeek()===":";return I.resetPeek(),Z}function k(I,U){const{currentType:K}=U;if(K!==10)return!1;const Z=()=>{const UA=I.currentPeek();return UA==="{"?m(I.peek()):UA==="@"||UA==="%"||UA==="|"||UA===":"||UA==="."||UA===yt||!UA?!1:UA===pe?(I.peek(),Z()):m(UA)},tA=Z();return I.resetPeek(),tA}function AA(I){D(I);const U=I.currentPeek()==="|";return I.resetPeek(),U}function fA(I){const U=D(I),K=I.currentPeek()==="%"&&I.peek()==="{";return I.resetPeek(),{isModulo:K,hasSpace:U.length>0}}function mA(I,U=!0){const K=(tA=!1,UA="",je=!1)=>{const Ie=I.currentPeek();return Ie==="{"?UA==="%"?!1:tA:Ie==="@"||!Ie?UA==="%"?!0:tA:Ie==="%"?(I.peek(),K(tA,"%",!0)):Ie==="|"?UA==="%"||je?!0:!(UA===yt||UA===pe):Ie===yt?(I.peek(),K(!0,yt,je)):Ie===pe?(I.peek(),K(!0,pe,je)):!0},Z=K();return U&&I.resetPeek(),Z}function sA(I,U){const K=I.currentChar();return K===Yt?Yt:U(K)?(I.next(),K):null}function IA(I){return sA(I,K=>{const Z=K.charCodeAt(0);return Z>=97&&Z<=122||Z>=65&&Z<=90||Z>=48&&Z<=57||Z===95||Z===36})}function PA(I){return sA(I,K=>{const Z=K.charCodeAt(0);return Z>=48&&Z<=57})}function QA(I){return sA(I,K=>{const Z=K.charCodeAt(0);return Z>=48&&Z<=57||Z>=65&&Z<=70||Z>=97&&Z<=102})}function pA(I){let U="",K="";for(;U=PA(I);)K+=U;return K}function _A(I){R(I);const U=I.currentChar();return U!=="%"&&Q(iA.EXPECTED_TOKEN,o(),0,U),I.next(),"%"}function zA(I){let U="";for(;;){const K=I.currentChar();if(K==="{"||K==="}"||K==="@"||K==="|"||!K)break;if(K==="%")if(mA(I))U+=K,I.next();else break;else if(K===yt||K===pe)if(mA(I))U+=K,I.next();else{if(AA(I))break;U+=K,I.next()}else U+=K,I.next()}return U}function te(I){R(I);let U="",K="";for(;U=IA(I);)K+=U;return I.currentChar()===Yt&&Q(iA.UNTERMINATED_CLOSING_BRACE,o(),0),K}function RA(I){R(I);let U="";return I.currentChar()==="-"?(I.next(),U+=`-${pA(I)}`):U+=pA(I),I.currentChar()===Yt&&Q(iA.UNTERMINATED_CLOSING_BRACE,o(),0),U}function Ee(I){R(I),S(I,"'");let U="",K="";const Z=UA=>UA!==El&&UA!==pe;for(;U=sA(I,Z);)U==="\\"?K+=ce(I):K+=U;const tA=I.currentChar();return tA===pe||tA===Yt?(Q(iA.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,o(),0),tA===pe&&(I.next(),S(I,"'")),K):(S(I,"'"),K)}function ce(I){const U=I.currentChar();switch(U){case"\\":case"'":return I.next(),`\\${U}`;case"u":return me(I,U,4);case"U":return me(I,U,6);default:return Q(iA.UNKNOWN_ESCAPE_SEQUENCE,o(),0,U),""}}function me(I,U,K){S(I,U);let Z="";for(let tA=0;tA<K;tA++){const UA=QA(I);if(!UA){Q(iA.INVALID_UNICODE_ESCAPE_SEQUENCE,o(),0,`\\${U}${Z}${I.currentChar()}`);break}Z+=UA}return`\\${U}${Z}`}function kA(I){R(I);let U="",K="";const Z=tA=>tA!=="{"&&tA!=="}"&&tA!==yt&&tA!==pe;for(;U=sA(I,Z);)K+=U;return K}function Be(I){let U="",K="";for(;U=IA(I);)K+=U;return K}function Ne(I){const U=(K=!1,Z)=>{const tA=I.currentChar();return tA==="{"||tA==="%"||tA==="@"||tA==="|"||!tA||tA===yt?Z:tA===pe?(Z+=tA,I.next(),U(K,Z)):(Z+=tA,I.next(),U(!0,Z))};return U(!1,"")}function Me(I){R(I);const U=S(I,"|");return R(I),U}function Re(I,U){let K=null;switch(I.currentChar()){case"{":return U.braceNest>=1&&Q(iA.NOT_ALLOW_NEST_PLACEHOLDER,o(),0),I.next(),K=F(U,2,"{"),R(I),U.braceNest++,K;case"}":return U.braceNest>0&&U.currentType===2&&Q(iA.EMPTY_PLACEHOLDER,o(),0),I.next(),K=F(U,3,"}"),U.braceNest--,U.braceNest>0&&R(I),U.inLinked&&U.braceNest===0&&(U.inLinked=!1),K;case"@":return U.braceNest>0&&Q(iA.UNTERMINATED_CLOSING_BRACE,o(),0),K=pt(I,U)||T(U),U.braceNest=0,K;default:let tA=!0,UA=!0,je=!0;if(AA(I))return U.braceNest>0&&Q(iA.UNTERMINATED_CLOSING_BRACE,o(),0),K=F(U,1,Me(I)),U.braceNest=0,U.inLinked=!1,K;if(U.braceNest>0&&(U.currentType===5||U.currentType===6||U.currentType===7))return Q(iA.UNTERMINATED_CLOSING_BRACE,o(),0),U.braceNest=0,ze(I,U);if(tA=x(I,U))return K=F(U,5,te(I)),R(I),K;if(UA=L(I,U))return K=F(U,6,RA(I)),R(I),K;if(je=H(I,U))return K=F(U,7,Ee(I)),R(I),K;if(!tA&&!UA&&!je)return K=F(U,13,kA(I)),Q(iA.INVALID_TOKEN_IN_PLACEHOLDER,o(),0,K.value),R(I),K;break}return K}function pt(I,U){const{currentType:K}=U;let Z=null;const tA=I.currentChar();switch((K===8||K===9||K===12||K===10)&&(tA===pe||tA===yt)&&Q(iA.INVALID_LINKED_FORMAT,o(),0),tA){case"@":return I.next(),Z=F(U,8,"@"),U.inLinked=!0,Z;case".":return R(I),I.next(),F(U,9,".");case":":return R(I),I.next(),F(U,10,":");default:return AA(I)?(Z=F(U,1,Me(I)),U.braceNest=0,U.inLinked=!1,Z):b(I,U)||$(I,U)?(R(I),pt(I,U)):V(I,U)?(R(I),F(U,12,Be(I))):k(I,U)?(R(I),tA==="{"?Re(I,U)||Z:F(U,11,Ne(I))):(K===8&&Q(iA.INVALID_LINKED_FORMAT,o(),0),U.braceNest=0,U.inLinked=!1,ze(I,U))}}function ze(I,U){let K={type:14};if(U.braceNest>0)return Re(I,U)||T(U);if(U.inLinked)return pt(I,U)||T(U);switch(I.currentChar()){case"{":return Re(I,U)||T(U);case"}":return Q(iA.UNBALANCED_CLOSING_BRACE,o(),0),I.next(),F(U,3,"}");case"@":return pt(I,U)||T(U);default:if(AA(I))return K=F(U,1,Me(I)),U.braceNest=0,U.inLinked=!1,K;const{isModulo:tA,hasSpace:UA}=fA(I);if(tA)return UA?F(U,0,zA(I)):F(U,4,_A(I));if(mA(I))return F(U,0,zA(I));break}return K}function Ft(){const{currentType:I,offset:U,startLoc:K,endLoc:Z}=c;return c.lastType=I,c.lastOffset=U,c.lastStartLoc=K,c.lastEndLoc=Z,c.offset=s(),c.startLoc=o(),a.currentChar()===Yt?F(c,14):ze(a,c)}return{nextToken:Ft,currentOffset:s,currentPosition:o,context:w}}const tw="parser",rw=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function nw(e,r,t){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const a=parseInt(r||t,16);return a<=55295||a>=57344?String.fromCodePoint(a):"�"}}}function aw(e={}){const r=e.location!==!1,{onError:t}=e;function a(m,_,x,L,...H){const b=m.currentPosition();if(b.offset+=L,b.column+=L,t){const V=Pi(x,b),$=jn(_,V,{domain:tw,args:H});t($)}}function s(m,_,x){const L={type:m,start:_,end:_};return r&&(L.loc={start:x,end:x}),L}function o(m,_,x,L){m.end=_,L&&(m.type=L),r&&m.loc&&(m.loc.end=x)}function l(m,_){const x=m.context(),L=s(3,x.offset,x.startLoc);return L.value=_,o(L,m.currentOffset(),m.currentPosition()),L}function B(m,_){const x=m.context(),{lastOffset:L,lastStartLoc:H}=x,b=s(5,L,H);return b.index=parseInt(_,10),m.nextToken(),o(b,m.currentOffset(),m.currentPosition()),b}function c(m,_){const x=m.context(),{lastOffset:L,lastStartLoc:H}=x,b=s(4,L,H);return b.key=_,m.nextToken(),o(b,m.currentOffset(),m.currentPosition()),b}function w(m,_){const x=m.context(),{lastOffset:L,lastStartLoc:H}=x,b=s(9,L,H);return b.value=_.replace(rw,nw),m.nextToken(),o(b,m.currentOffset(),m.currentPosition()),b}function h(m){const _=m.nextToken(),x=m.context(),{lastOffset:L,lastStartLoc:H}=x,b=s(8,L,H);return _.type!==12?(a(m,iA.UNEXPECTED_EMPTY_LINKED_MODIFIER,x.lastStartLoc,0),b.value="",o(b,L,H),{nextConsumeToken:_,node:b}):(_.value==null&&a(m,iA.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,wt(_)),b.value=_.value||"",o(b,m.currentOffset(),m.currentPosition()),{node:b})}function Q(m,_){const x=m.context(),L=s(7,x.offset,x.startLoc);return L.value=_,o(L,m.currentOffset(),m.currentPosition()),L}function F(m){const _=m.context(),x=s(6,_.offset,_.startLoc);let L=m.nextToken();if(L.type===9){const H=h(m);x.modifier=H.node,L=H.nextConsumeToken||m.nextToken()}switch(L.type!==10&&a(m,iA.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,wt(L)),L=m.nextToken(),L.type===2&&(L=m.nextToken()),L.type){case 11:L.value==null&&a(m,iA.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,wt(L)),x.key=Q(m,L.value||"");break;case 5:L.value==null&&a(m,iA.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,wt(L)),x.key=c(m,L.value||"");break;case 6:L.value==null&&a(m,iA.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,wt(L)),x.key=B(m,L.value||"");break;case 7:L.value==null&&a(m,iA.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,wt(L)),x.key=w(m,L.value||"");break;default:a(m,iA.UNEXPECTED_EMPTY_LINKED_KEY,_.lastStartLoc,0);const H=m.context(),b=s(7,H.offset,H.startLoc);return b.value="",o(b,H.offset,H.startLoc),x.key=b,o(x,H.offset,H.startLoc),{nextConsumeToken:L,node:x}}return o(x,m.currentOffset(),m.currentPosition()),{node:x}}function T(m){const _=m.context(),x=_.currentType===1?m.currentOffset():_.offset,L=_.currentType===1?_.endLoc:_.startLoc,H=s(2,x,L);H.items=[];let b=null;do{const k=b||m.nextToken();switch(b=null,k.type){case 0:k.value==null&&a(m,iA.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,wt(k)),H.items.push(l(m,k.value||""));break;case 6:k.value==null&&a(m,iA.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,wt(k)),H.items.push(B(m,k.value||""));break;case 5:k.value==null&&a(m,iA.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,wt(k)),H.items.push(c(m,k.value||""));break;case 7:k.value==null&&a(m,iA.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,wt(k)),H.items.push(w(m,k.value||""));break;case 8:const AA=F(m);H.items.push(AA.node),b=AA.nextConsumeToken||null;break}}while(_.currentType!==14&&_.currentType!==1);const V=_.currentType===1?_.lastOffset:m.currentOffset(),$=_.currentType===1?_.lastEndLoc:m.currentPosition();return o(H,V,$),H}function S(m,_,x,L){const H=m.context();let b=L.items.length===0;const V=s(1,_,x);V.cases=[],V.cases.push(L);do{const $=T(m);b||(b=$.items.length===0),V.cases.push($)}while(H.currentType!==14);return b&&a(m,iA.MUST_HAVE_MESSAGES_IN_PLURAL,x,0),o(V,m.currentOffset(),m.currentPosition()),V}function D(m){const _=m.context(),{offset:x,startLoc:L}=_,H=T(m);return _.currentType===14?H:S(m,x,L,H)}function R(m){const _=ew(m,oe({},e)),x=_.context(),L=s(0,x.offset,x.startLoc);return r&&L.loc&&(L.loc.source=m),L.body=D(_),x.currentType!==14&&a(_,iA.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,m[x.offset]||""),o(L,_.currentOffset(),_.currentPosition()),L}return{parse:R}}function wt(e){if(e.type===14)return"EOF";const r=(e.value||"").replace(/\r?\n/gu,"\\n");return r.length>10?r.slice(0,9)+"…":r}function iw(e,r={}){const t={ast:e,helpers:new Set};return{context:()=>t,helper:o=>(t.helpers.add(o),o)}}function ml(e,r){for(let t=0;t<e.length;t++)ki(e[t],r)}function ki(e,r){switch(e.type){case 1:ml(e.cases,r),r.helper("plural");break;case 2:ml(e.items,r);break;case 6:ki(e.key,r),r.helper("linked"),r.helper("type");break;case 5:r.helper("interpolate"),r.helper("list");break;case 4:r.helper("interpolate"),r.helper("named");break}}function sw(e,r={}){const t=iw(e);t.helper("normalize"),e.body&&ki(e.body,t);const a=t.context();e.helpers=Array.from(a.helpers)}function ow(e,r){const{sourceMap:t,filename:a,breakLineCode:s,needIndent:o}=r,l={source:e.loc.source,filename:a,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:s,needIndent:o,indentLevel:0},B=()=>l;function c(D,R){l.code+=D}function w(D,R=!0){const m=R?s:"";c(o?m+" ".repeat(D):m)}function h(D=!0){const R=++l.indentLevel;D&&w(R)}function Q(D=!0){const R=--l.indentLevel;D&&w(R)}function F(){w(l.indentLevel)}return{context:B,push:c,indent:h,deindent:Q,newline:F,helper:D=>`_${D}`,needIndent:()=>l.needIndent}}function lw(e,r){const{helper:t}=e;e.push(`${t("linked")}(`),Hr(e,r.key),r.modifier?(e.push(", "),Hr(e,r.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function uw(e,r){const{helper:t,needIndent:a}=e;e.push(`${t("normalize")}([`),e.indent(a());const s=r.items.length;for(let o=0;o<s&&(Hr(e,r.items[o]),o!==s-1);o++)e.push(", ");e.deindent(a()),e.push("])")}function cw(e,r){const{helper:t,needIndent:a}=e;if(r.cases.length>1){e.push(`${t("plural")}([`),e.indent(a());const s=r.cases.length;for(let o=0;o<s&&(Hr(e,r.cases[o]),o!==s-1);o++)e.push(", ");e.deindent(a()),e.push("])")}}function Bw(e,r){r.body?Hr(e,r.body):e.push("null")}function Hr(e,r){const{helper:t}=e;switch(r.type){case 0:Bw(e,r);break;case 1:cw(e,r);break;case 2:uw(e,r);break;case 6:lw(e,r);break;case 8:e.push(JSON.stringify(r.value),r);break;case 7:e.push(JSON.stringify(r.value),r);break;case 5:e.push(`${t("interpolate")}(${t("list")}(${r.index}))`,r);break;case 4:e.push(`${t("interpolate")}(${t("named")}(${JSON.stringify(r.key)}))`,r);break;case 9:e.push(JSON.stringify(r.value),r);break;case 3:e.push(JSON.stringify(r.value),r);break;default:if(process.env.NODE_ENV!=="production")throw new Error(`unhandled codegen node type: ${r.type}`)}}const fw=(e,r={})=>{const t=j(r.mode)?r.mode:"normal",a=j(r.filename)?r.filename:"message.intl",s=!!r.sourceMap,o=r.breakLineCode!=null?r.breakLineCode:t==="arrow"?";":`
13
- `,l=r.needIndent?r.needIndent:t!=="arrow",B=e.helpers||[],c=ow(e,{mode:t,filename:a,sourceMap:s,breakLineCode:o,needIndent:l});c.push(t==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),c.indent(l),B.length>0&&(c.push(`const { ${B.map(Q=>`${Q}: _${Q}`).join(", ")} } = ctx`),c.newline()),c.push("return "),Hr(c,e),c.deindent(l),c.push("}");const{code:w,map:h}=c.context();return{ast:e,code:w,map:h?h.toJSON():void 0}};function gw(e,r={}){const t=oe({},r),s=aw(t).parse(e);return sw(s,t),fw(s,t)}/*!
122
+ */const hA={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,__EXTEND_POINT__:15},zI={[hA.EXPECTED_TOKEN]:"Expected token: '{0}'",[hA.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[hA.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[hA.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[hA.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[hA.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[hA.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[hA.EMPTY_PLACEHOLDER]:"Empty placeholder",[hA.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[hA.INVALID_LINKED_FORMAT]:"Invalid linked format",[hA.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[hA.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[hA.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[hA.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'"};function la(t,A,e={}){const{domain:n,messages:r,args:i}=e,s=process.env.NODE_ENV!=="production"?oa((r||zI)[t]||"",...i||[]):t,a=new SyntaxError(String(s));return a.code=t,A&&(a.location=A),a.domain=n,a}function qI(t){throw t}function ZI(t,A,e){return{line:t,column:A,offset:e}}function pu(t,A,e){const n={start:t,end:A};return e!=null&&(n.source=e),n}const Ln=" ",jI="\r",nt=`
123
+ `,A1=String.fromCharCode(8232),e1=String.fromCharCode(8233);function t1(t){const A=t;let e=0,n=1,r=1,i=0;const s=N=>A[N]===jI&&A[N+1]===nt,a=N=>A[N]===nt,c=N=>A[N]===e1,u=N=>A[N]===A1,d=N=>s(N)||a(N)||c(N)||u(N),h=()=>e,B=()=>n,m=()=>r,C=()=>i,E=N=>s(N)||c(N)||u(N)?nt:A[N],S=()=>E(e),U=()=>E(e+i);function b(){return i=0,d(e)&&(n++,r=0),s(e)&&e++,e++,r++,A[e]}function M(){return s(e+i)&&i++,i++,A[e+i]}function F(){e=0,n=1,r=1,i=0}function T(N=0){i=N}function L(){const N=e+i;for(;N!==e;)b();i=0}return{index:h,line:B,column:m,peekOffset:C,charAt:E,currentChar:S,currentPeek:U,next:b,peek:M,reset:F,resetPeek:T,skipToPeek:L}}const hr=void 0,qg="'",n1="tokenizer";function r1(t,A={}){const e=A.location!==!1,n=t1(t),r=()=>n.index(),i=()=>ZI(n.line(),n.column(),n.index()),s=i(),a=r(),c={currentType:14,offset:a,startLoc:s,endLoc:s,lastType:14,lastOffset:a,lastStartLoc:s,lastEndLoc:s,braceNest:0,inLinked:!1,text:""},u=()=>c,{onError:d}=A;function h(H,v,k,...q){const oA=u();if(v.column+=k,v.offset+=k,d){const IA=pu(oA.startLoc,v),at=la(H,IA,{domain:n1,args:q});d(at)}}function B(H,v,k){H.endLoc=i(),H.currentType=v;const q={type:v};return e&&(q.loc=pu(H.startLoc,H.endLoc)),k!=null&&(q.value=k),q}const m=H=>B(H,14);function C(H,v){return H.currentChar()===v?(H.next(),v):(h(hA.EXPECTED_TOKEN,i(),0,v),"")}function E(H){let v="";for(;H.currentPeek()===Ln||H.currentPeek()===nt;)v+=H.currentPeek(),H.peek();return v}function S(H){const v=E(H);return H.skipToPeek(),v}function U(H){if(H===hr)return!1;const v=H.charCodeAt(0);return v>=97&&v<=122||v>=65&&v<=90||v===95}function b(H){if(H===hr)return!1;const v=H.charCodeAt(0);return v>=48&&v<=57}function M(H,v){const{currentType:k}=v;if(k!==2)return!1;E(H);const q=U(H.currentPeek());return H.resetPeek(),q}function F(H,v){const{currentType:k}=v;if(k!==2)return!1;E(H);const q=H.currentPeek()==="-"?H.peek():H.currentPeek(),oA=b(q);return H.resetPeek(),oA}function T(H,v){const{currentType:k}=v;if(k!==2)return!1;E(H);const q=H.currentPeek()===qg;return H.resetPeek(),q}function L(H,v){const{currentType:k}=v;if(k!==8)return!1;E(H);const q=H.currentPeek()===".";return H.resetPeek(),q}function N(H,v){const{currentType:k}=v;if(k!==9)return!1;E(H);const q=U(H.currentPeek());return H.resetPeek(),q}function W(H,v){const{currentType:k}=v;if(!(k===8||k===12))return!1;E(H);const q=H.currentPeek()===":";return H.resetPeek(),q}function J(H,v){const{currentType:k}=v;if(k!==10)return!1;const q=()=>{const IA=H.currentPeek();return IA==="{"?U(H.peek()):IA==="@"||IA==="%"||IA==="|"||IA===":"||IA==="."||IA===Ln||!IA?!1:IA===nt?(H.peek(),q()):U(IA)},oA=q();return H.resetPeek(),oA}function eA(H){E(H);const v=H.currentPeek()==="|";return H.resetPeek(),v}function gA(H){const v=E(H),k=H.currentPeek()==="%"&&H.peek()==="{";return H.resetPeek(),{isModulo:k,hasSpace:v.length>0}}function wA(H,v=!0){const k=(oA=!1,IA="",at=!1)=>{const Ne=H.currentPeek();return Ne==="{"?IA==="%"?!1:oA:Ne==="@"||!Ne?IA==="%"?!0:oA:Ne==="%"?(H.peek(),k(oA,"%",!0)):Ne==="|"?IA==="%"||at?!0:!(IA===Ln||IA===nt):Ne===Ln?(H.peek(),k(!0,Ln,at)):Ne===nt?(H.peek(),k(!0,nt,at)):!0},q=k();return v&&H.resetPeek(),q}function aA(H,v){const k=H.currentChar();return k===hr?hr:v(k)?(H.next(),k):null}function HA(H){return aA(H,k=>{const q=k.charCodeAt(0);return q>=97&&q<=122||q>=65&&q<=90||q>=48&&q<=57||q===95||q===36})}function WA(H){return aA(H,k=>{const q=k.charCodeAt(0);return q>=48&&q<=57})}function vA(H){return aA(H,k=>{const q=k.charCodeAt(0);return q>=48&&q<=57||q>=65&&q<=70||q>=97&&q<=102})}function bA(H){let v="",k="";for(;v=WA(H);)k+=v;return k}function mA(H){S(H);const v=H.currentChar();return v!=="%"&&h(hA.EXPECTED_TOKEN,i(),0,v),H.next(),"%"}function re(H){let v="";for(;;){const k=H.currentChar();if(k==="{"||k==="}"||k==="@"||k==="|"||!k)break;if(k==="%")if(wA(H))v+=k,H.next();else break;else if(k===Ln||k===nt)if(wA(H))v+=k,H.next();else{if(eA(H))break;v+=k,H.next()}else v+=k,H.next()}return v}function ZA(H){S(H);let v="",k="";for(;v=HA(H);)k+=v;return H.currentChar()===hr&&h(hA.UNTERMINATED_CLOSING_BRACE,i(),0),k}function JA(H){S(H);let v="";return H.currentChar()==="-"?(H.next(),v+=`-${bA(H)}`):v+=bA(H),H.currentChar()===hr&&h(hA.UNTERMINATED_CLOSING_BRACE,i(),0),v}function Be(H){S(H),C(H,"'");let v="",k="";const q=IA=>IA!==qg&&IA!==nt;for(;v=aA(H,q);)v==="\\"?k+=me(H):k+=v;const oA=H.currentChar();return oA===nt||oA===hr?(h(hA.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,i(),0),oA===nt&&(H.next(),C(H,"'")),k):(C(H,"'"),k)}function me(H){const v=H.currentChar();switch(v){case"\\":case"'":return H.next(),`\\${v}`;case"u":return Te(H,v,4);case"U":return Te(H,v,6);default:return h(hA.UNKNOWN_ESCAPE_SEQUENCE,i(),0,v),""}}function Te(H,v,k){C(H,v);let q="";for(let oA=0;oA<k;oA++){const IA=vA(H);if(!IA){h(hA.INVALID_UNICODE_ESCAPE_SEQUENCE,i(),0,`\\${v}${q}${H.currentChar()}`);break}q+=IA}return`\\${v}${q}`}function jA(H){S(H);let v="",k="";const q=oA=>oA!=="{"&&oA!=="}"&&oA!==Ln&&oA!==nt;for(;v=aA(H,q);)k+=v;return k}function fe(H){let v="",k="";for(;v=HA(H);)k+=v;return k}function it(H){const v=(k=!1,q)=>{const oA=H.currentChar();return oA==="{"||oA==="%"||oA==="@"||oA==="|"||!oA||oA===Ln?q:oA===nt?(q+=oA,H.next(),v(k,q)):(q+=oA,H.next(),v(!0,q))};return v(!1,"")}function st(H){S(H);const v=C(H,"|");return S(H),v}function ze(H,v){let k=null;switch(H.currentChar()){case"{":return v.braceNest>=1&&h(hA.NOT_ALLOW_NEST_PLACEHOLDER,i(),0),H.next(),k=B(v,2,"{"),S(H),v.braceNest++,k;case"}":return v.braceNest>0&&v.currentType===2&&h(hA.EMPTY_PLACEHOLDER,i(),0),H.next(),k=B(v,3,"}"),v.braceNest--,v.braceNest>0&&S(H),v.inLinked&&v.braceNest===0&&(v.inLinked=!1),k;case"@":return v.braceNest>0&&h(hA.UNTERMINATED_CLOSING_BRACE,i(),0),k=ke(H,v)||m(v),v.braceNest=0,k;default:let oA=!0,IA=!0,at=!0;if(eA(H))return v.braceNest>0&&h(hA.UNTERMINATED_CLOSING_BRACE,i(),0),k=B(v,1,st(H)),v.braceNest=0,v.inLinked=!1,k;if(v.braceNest>0&&(v.currentType===5||v.currentType===6||v.currentType===7))return h(hA.UNTERMINATED_CLOSING_BRACE,i(),0),v.braceNest=0,ot(H,v);if(oA=M(H,v))return k=B(v,5,ZA(H)),S(H),k;if(IA=F(H,v))return k=B(v,6,JA(H)),S(H),k;if(at=T(H,v))return k=B(v,7,Be(H)),S(H),k;if(!oA&&!IA&&!at)return k=B(v,13,jA(H)),h(hA.INVALID_TOKEN_IN_PLACEHOLDER,i(),0,k.value),S(H),k;break}return k}function ke(H,v){const{currentType:k}=v;let q=null;const oA=H.currentChar();switch((k===8||k===9||k===12||k===10)&&(oA===nt||oA===Ln)&&h(hA.INVALID_LINKED_FORMAT,i(),0),oA){case"@":return H.next(),q=B(v,8,"@"),v.inLinked=!0,q;case".":return S(H),H.next(),B(v,9,".");case":":return S(H),H.next(),B(v,10,":");default:return eA(H)?(q=B(v,1,st(H)),v.braceNest=0,v.inLinked=!1,q):L(H,v)||W(H,v)?(S(H),ke(H,v)):N(H,v)?(S(H),B(v,12,fe(H))):J(H,v)?(S(H),oA==="{"?ze(H,v)||q:B(v,11,it(H))):(k===8&&h(hA.INVALID_LINKED_FORMAT,i(),0),v.braceNest=0,v.inLinked=!1,ot(H,v))}}function ot(H,v){let k={type:14};if(v.braceNest>0)return ze(H,v)||m(v);if(v.inLinked)return ke(H,v)||m(v);switch(H.currentChar()){case"{":return ze(H,v)||m(v);case"}":return h(hA.UNBALANCED_CLOSING_BRACE,i(),0),H.next(),B(v,3,"}");case"@":return ke(H,v)||m(v);default:if(eA(H))return k=B(v,1,st(H)),v.braceNest=0,v.inLinked=!1,k;const{isModulo:oA,hasSpace:IA}=gA(H);if(oA)return IA?B(v,0,re(H)):B(v,4,mA(H));if(wA(H))return B(v,0,re(H));break}return k}function It(){const{currentType:H,offset:v,startLoc:k,endLoc:q}=c;return c.lastType=H,c.lastOffset=v,c.lastStartLoc=k,c.lastEndLoc=q,c.offset=r(),c.startLoc=i(),n.currentChar()===hr?B(c,14):ot(n,c)}return{nextToken:It,currentOffset:r,currentPosition:i,context:u}}const i1="parser",s1=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function o1(t,A,e){switch(t){case"\\\\":return"\\";case"\\'":return"'";default:{const n=parseInt(A||e,16);return n<=55295||n>=57344?String.fromCodePoint(n):"�"}}}function a1(t={}){const A=t.location!==!1,{onError:e}=t;function n(U,b,M,F,...T){const L=U.currentPosition();if(L.offset+=F,L.column+=F,e){const N=pu(M,L),W=la(b,N,{domain:i1,args:T});e(W)}}function r(U,b,M){const F={type:U,start:b,end:b};return A&&(F.loc={start:M,end:M}),F}function i(U,b,M,F){U.end=b,F&&(U.type=F),A&&U.loc&&(U.loc.end=M)}function s(U,b){const M=U.context(),F=r(3,M.offset,M.startLoc);return F.value=b,i(F,U.currentOffset(),U.currentPosition()),F}function a(U,b){const M=U.context(),{lastOffset:F,lastStartLoc:T}=M,L=r(5,F,T);return L.index=parseInt(b,10),U.nextToken(),i(L,U.currentOffset(),U.currentPosition()),L}function c(U,b){const M=U.context(),{lastOffset:F,lastStartLoc:T}=M,L=r(4,F,T);return L.key=b,U.nextToken(),i(L,U.currentOffset(),U.currentPosition()),L}function u(U,b){const M=U.context(),{lastOffset:F,lastStartLoc:T}=M,L=r(9,F,T);return L.value=b.replace(s1,o1),U.nextToken(),i(L,U.currentOffset(),U.currentPosition()),L}function d(U){const b=U.nextToken(),M=U.context(),{lastOffset:F,lastStartLoc:T}=M,L=r(8,F,T);return b.type!==12?(n(U,hA.UNEXPECTED_EMPTY_LINKED_MODIFIER,M.lastStartLoc,0),L.value="",i(L,F,T),{nextConsumeToken:b,node:L}):(b.value==null&&n(U,hA.UNEXPECTED_LEXICAL_ANALYSIS,M.lastStartLoc,0,Cn(b)),L.value=b.value||"",i(L,U.currentOffset(),U.currentPosition()),{node:L})}function h(U,b){const M=U.context(),F=r(7,M.offset,M.startLoc);return F.value=b,i(F,U.currentOffset(),U.currentPosition()),F}function B(U){const b=U.context(),M=r(6,b.offset,b.startLoc);let F=U.nextToken();if(F.type===9){const T=d(U);M.modifier=T.node,F=T.nextConsumeToken||U.nextToken()}switch(F.type!==10&&n(U,hA.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Cn(F)),F=U.nextToken(),F.type===2&&(F=U.nextToken()),F.type){case 11:F.value==null&&n(U,hA.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Cn(F)),M.key=h(U,F.value||"");break;case 5:F.value==null&&n(U,hA.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Cn(F)),M.key=c(U,F.value||"");break;case 6:F.value==null&&n(U,hA.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Cn(F)),M.key=a(U,F.value||"");break;case 7:F.value==null&&n(U,hA.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Cn(F)),M.key=u(U,F.value||"");break;default:n(U,hA.UNEXPECTED_EMPTY_LINKED_KEY,b.lastStartLoc,0);const T=U.context(),L=r(7,T.offset,T.startLoc);return L.value="",i(L,T.offset,T.startLoc),M.key=L,i(M,T.offset,T.startLoc),{nextConsumeToken:F,node:M}}return i(M,U.currentOffset(),U.currentPosition()),{node:M}}function m(U){const b=U.context(),M=b.currentType===1?U.currentOffset():b.offset,F=b.currentType===1?b.endLoc:b.startLoc,T=r(2,M,F);T.items=[];let L=null;do{const J=L||U.nextToken();switch(L=null,J.type){case 0:J.value==null&&n(U,hA.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Cn(J)),T.items.push(s(U,J.value||""));break;case 6:J.value==null&&n(U,hA.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Cn(J)),T.items.push(a(U,J.value||""));break;case 5:J.value==null&&n(U,hA.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Cn(J)),T.items.push(c(U,J.value||""));break;case 7:J.value==null&&n(U,hA.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Cn(J)),T.items.push(u(U,J.value||""));break;case 8:const eA=B(U);T.items.push(eA.node),L=eA.nextConsumeToken||null;break}}while(b.currentType!==14&&b.currentType!==1);const N=b.currentType===1?b.lastOffset:U.currentOffset(),W=b.currentType===1?b.lastEndLoc:U.currentPosition();return i(T,N,W),T}function C(U,b,M,F){const T=U.context();let L=F.items.length===0;const N=r(1,b,M);N.cases=[],N.cases.push(F);do{const W=m(U);L||(L=W.items.length===0),N.cases.push(W)}while(T.currentType!==14);return L&&n(U,hA.MUST_HAVE_MESSAGES_IN_PLURAL,M,0),i(N,U.currentOffset(),U.currentPosition()),N}function E(U){const b=U.context(),{offset:M,startLoc:F}=b,T=m(U);return b.currentType===14?T:C(U,M,F,T)}function S(U){const b=r1(U,_e({},t)),M=b.context(),F=r(0,M.offset,M.startLoc);return A&&F.loc&&(F.loc.source=U),F.body=E(b),M.currentType!==14&&n(b,hA.UNEXPECTED_LEXICAL_ANALYSIS,M.lastStartLoc,0,U[M.offset]||""),i(F,b.currentOffset(),b.currentPosition()),F}return{parse:S}}function Cn(t){if(t.type===14)return"EOF";const A=(t.value||"").replace(/\r?\n/gu,"\\n");return A.length>10?A.slice(0,9)+"…":A}function l1(t,A={}){const e={ast:t,helpers:new Set};return{context:()=>e,helper:i=>(e.helpers.add(i),i)}}function Zg(t,A){for(let e=0;e<t.length;e++)gu(t[e],A)}function gu(t,A){switch(t.type){case 1:Zg(t.cases,A),A.helper("plural");break;case 2:Zg(t.items,A);break;case 6:gu(t.key,A),A.helper("linked"),A.helper("type");break;case 5:A.helper("interpolate"),A.helper("list");break;case 4:A.helper("interpolate"),A.helper("named");break}}function c1(t,A={}){const e=l1(t);e.helper("normalize"),t.body&&gu(t.body,e);const n=e.context();t.helpers=Array.from(n.helpers)}function u1(t,A){const{sourceMap:e,filename:n,breakLineCode:r,needIndent:i}=A,s={source:t.loc.source,filename:n,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:r,needIndent:i,indentLevel:0},a=()=>s;function c(E,S){s.code+=E}function u(E,S=!0){const U=S?r:"";c(i?U+" ".repeat(E):U)}function d(E=!0){const S=++s.indentLevel;E&&u(S)}function h(E=!0){const S=--s.indentLevel;E&&u(S)}function B(){u(s.indentLevel)}return{context:a,push:c,indent:d,deindent:h,newline:B,helper:E=>`_${E}`,needIndent:()=>s.needIndent}}function f1(t,A){const{helper:e}=t;t.push(`${e("linked")}(`),Oi(t,A.key),A.modifier?(t.push(", "),Oi(t,A.modifier),t.push(", _type")):t.push(", undefined, _type"),t.push(")")}function d1(t,A){const{helper:e,needIndent:n}=t;t.push(`${e("normalize")}([`),t.indent(n());const r=A.items.length;for(let i=0;i<r&&(Oi(t,A.items[i]),i!==r-1);i++)t.push(", ");t.deindent(n()),t.push("])")}function h1(t,A){const{helper:e,needIndent:n}=t;if(A.cases.length>1){t.push(`${e("plural")}([`),t.indent(n());const r=A.cases.length;for(let i=0;i<r&&(Oi(t,A.cases[i]),i!==r-1);i++)t.push(", ");t.deindent(n()),t.push("])")}}function p1(t,A){A.body?Oi(t,A.body):t.push("null")}function Oi(t,A){const{helper:e}=t;switch(A.type){case 0:p1(t,A);break;case 1:h1(t,A);break;case 2:d1(t,A);break;case 6:f1(t,A);break;case 8:t.push(JSON.stringify(A.value),A);break;case 7:t.push(JSON.stringify(A.value),A);break;case 5:t.push(`${e("interpolate")}(${e("list")}(${A.index}))`,A);break;case 4:t.push(`${e("interpolate")}(${e("named")}(${JSON.stringify(A.key)}))`,A);break;case 9:t.push(JSON.stringify(A.value),A);break;case 3:t.push(JSON.stringify(A.value),A);break;default:if(process.env.NODE_ENV!=="production")throw new Error(`unhandled codegen node type: ${A.type}`)}}const g1=(t,A={})=>{const e=nA(A.mode)?A.mode:"normal",n=nA(A.filename)?A.filename:"message.intl",r=!!A.sourceMap,i=A.breakLineCode!=null?A.breakLineCode:e==="arrow"?";":`
124
+ `,s=A.needIndent?A.needIndent:e!=="arrow",a=t.helpers||[],c=u1(t,{mode:e,filename:n,sourceMap:r,breakLineCode:i,needIndent:s});c.push(e==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),c.indent(s),a.length>0&&(c.push(`const { ${a.map(h=>`${h}: _${h}`).join(", ")} } = ctx`),c.newline()),c.push("return "),Oi(c,t),c.deindent(s),c.push("}");const{code:u,map:d}=c.context();return{ast:t,code:u,map:d?d.toJSON():void 0}};function B1(t,A={}){const e=_e({},A),r=a1(e).parse(t);return c1(r,e),g1(r,e)}/*!
14
125
  * devtools-if v9.2.2
15
126
  * (c) 2022 kazuya kawaguchi
16
127
  * Released under the MIT License.
17
- */const Il={I18nInit:"i18n:init",FunctionTranslate:"function:translate"};/*!
128
+ */const jg={I18nInit:"i18n:init",FunctionTranslate:"function:translate"};/*!
18
129
  * core-base v9.2.2
19
130
  * (c) 2022 kazuya kawaguchi
20
131
  * Released under the MIT License.
21
- */const Jt=[];Jt[0]={w:[0],i:[3,0],["["]:[4],o:[7]},Jt[1]={w:[1],["."]:[2],["["]:[4],o:[7]},Jt[2]={w:[2],i:[3,0],[0]:[3,0]},Jt[3]={i:[3,0],[0]:[3,0],w:[1,1],["."]:[2,1],["["]:[4,1],o:[7,1]},Jt[4]={["'"]:[5,0],['"']:[6,0],["["]:[4,2],["]"]:[1,3],o:8,l:[4,0]},Jt[5]={["'"]:[4,0],o:8,l:[5,0]},Jt[6]={['"']:[4,0],o:8,l:[6,0]};const dw=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function ww(e){return dw.test(e)}function Cw(e){const r=e.charCodeAt(0),t=e.charCodeAt(e.length-1);return r===t&&(r===34||r===39)?e.slice(1,-1):e}function hw(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;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 Qw(e){const r=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:ww(r)?Cw(r):"*"+r}function Uw(e){const r=[];let t=-1,a=0,s=0,o,l,B,c,w,h,Q;const F=[];F[0]=()=>{l===void 0?l=B:l+=B},F[1]=()=>{l!==void 0&&(r.push(l),l=void 0)},F[2]=()=>{F[0](),s++},F[3]=()=>{if(s>0)s--,a=4,F[0]();else{if(s=0,l===void 0||(l=Qw(l),l===!1))return!1;F[1]()}};function T(){const S=e[t+1];if(a===5&&S==="'"||a===6&&S==='"')return t++,B="\\"+S,F[0](),!0}for(;a!==null;)if(t++,o=e[t],!(o==="\\"&&T())){if(c=hw(o),Q=Jt[a],w=Q[c]||Q.l||8,w===8||(a=w[0],w[1]!==void 0&&(h=F[w[1]],h&&(B=o,h()===!1))))return;if(a===7)return r}}const vl=new Map;function pw(e,r){return bA(e)?e[r]:null}function Fw(e,r){if(!bA(e))return null;let t=vl.get(r);if(t||(t=Uw(r),t&&vl.set(r,t)),!t)return null;const a=t.length;let s=e,o=0;for(;o<a;){const l=s[t[o]];if(l===void 0)return null;s=l,o++}return s}const Ew=e=>e,mw=e=>"",Iw="text",vw=e=>e.length===0?"":e.join(""),_w=kd;function _l(e,r){return e=Math.abs(e),r===2?e?e>1?1:0:1:e?Math.min(e,2):0}function yw(e){const r=we(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(we(e.named.count)||we(e.named.n))?we(e.named.count)?e.named.count:we(e.named.n)?e.named.n:r:r}function Hw(e,r){r.count||(r.count=e),r.n||(r.n=e)}function Lw(e={}){const r=e.locale,t=yw(e),a=bA(e.pluralRules)&&j(r)&&Ae(e.pluralRules[r])?e.pluralRules[r]:_l,s=bA(e.pluralRules)&&j(r)&&Ae(e.pluralRules[r])?_l:void 0,o=m=>m[a(t,m.length,s)],l=e.list||[],B=m=>l[m],c=e.named||{};we(e.pluralIndex)&&Hw(t,c);const w=m=>c[m];function h(m){const _=Ae(e.messages)?e.messages(m):bA(e.messages)?e.messages[m]:!1;return _||(e.parent?e.parent.message(m):mw)}const Q=m=>e.modifiers?e.modifiers[m]:Ew,F=dA(e.processor)&&Ae(e.processor.normalize)?e.processor.normalize:vw,T=dA(e.processor)&&Ae(e.processor.interpolate)?e.processor.interpolate:_w,S=dA(e.processor)&&j(e.processor.type)?e.processor.type:Iw,R={list:B,named:w,plural:o,linked:(m,..._)=>{const[x,L]=_;let H="text",b="";_.length===1?bA(x)?(b=x.modifier||b,H=x.type||H):j(x)&&(b=x||b):_.length===2&&(j(x)&&(b=x||b),j(L)&&(H=L||H));let V=h(m)(R);return H==="vnode"&&XA(V)&&b&&(V=V[0]),b?Q(b)(V,H):V},message:h,type:S,interpolate:T,normalize:F};return R}let ln=null;function bw(e){ln=e}function Tw(e,r,t){ln&&ln.emit(Il.I18nInit,{timestamp:Date.now(),i18n:e,version:r,meta:t})}const Dw=Sw(Il.FunctionTranslate);function Sw(e){return r=>ln&&ln.emit(e,r)}const Ke={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,__EXTEND_POINT__:7},Ow={[Ke.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[Ke.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[Ke.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[Ke.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[Ke.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[Ke.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale."};function Lr(e,...r){return qn(Ow[e],...r)}function Kw(e,r,t){return[...new Set([t,...XA(r)?r:bA(r)?Object.keys(r):j(r)?[r]:[t]])]}function yl(e,r,t){const a=j(t)?t:ea,s=e;s.__localeChainCache||(s.__localeChainCache=new Map);let o=s.__localeChainCache.get(a);if(!o){o=[];let l=[t];for(;XA(l);)l=Hl(o,l,r);const B=XA(r)||!dA(r)?r:r.default?r.default:null;l=j(B)?[B]:B,XA(l)&&Hl(o,l,!1),s.__localeChainCache.set(a,o)}return o}function Hl(e,r,t){let a=!0;for(let s=0;s<r.length&&KA(a);s++){const o=r[s];j(o)&&(a=xw(e,r[s],t))}return a}function xw(e,r,t){let a;const s=r.split("-");do{const o=s.join("-");a=Nw(e,o,t),s.splice(-1,1)}while(s.length&&a===!0);return a}function Nw(e,r,t){let a=!1;if(!e.includes(r)&&(a=!0,r)){a=r[r.length-1]!=="!";const s=r.replace(/!/g,"");e.push(s),(XA(t)||dA(t))&&t[s]&&(a=t[s])}return a}const Mw="9.2.2",Aa=-1,ea="en-US",ta="",Ll=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function Rw(){return{upper:(e,r)=>r==="text"&&j(e)?e.toUpperCase():r==="vnode"&&bA(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,r)=>r==="text"&&j(e)?e.toLowerCase():r==="vnode"&&bA(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,r)=>r==="text"&&j(e)?Ll(e):r==="vnode"&&bA(e)&&"__v_isVNode"in e?Ll(e.children):e}}let bl;function Vw(e){bl=e}let Tl;function Gw(e){Tl=e}let Dl;function Pw(e){Dl=e}let Sl=null;const Ol=e=>{Sl=e},kw=()=>Sl;let Kl=null;const xl=e=>{Kl=e},Ww=()=>Kl;let Nl=0;function Xw(e={}){const r=j(e.version)?e.version:Mw,t=j(e.locale)?e.locale:ea,a=XA(e.fallbackLocale)||dA(e.fallbackLocale)||j(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,s=dA(e.messages)?e.messages:{[t]:{}},o=dA(e.datetimeFormats)?e.datetimeFormats:{[t]:{}},l=dA(e.numberFormats)?e.numberFormats:{[t]:{}},B=oe({},e.modifiers||{},Rw()),c=e.pluralRules||{},w=Ae(e.missing)?e.missing:null,h=KA(e.missingWarn)||yr(e.missingWarn)?e.missingWarn:!0,Q=KA(e.fallbackWarn)||yr(e.fallbackWarn)?e.fallbackWarn:!0,F=!!e.fallbackFormat,T=!!e.unresolving,S=Ae(e.postTranslation)?e.postTranslation:null,D=dA(e.processor)?e.processor:null,R=KA(e.warnHtmlMessage)?e.warnHtmlMessage:!0,m=!!e.escapeParameter,_=Ae(e.messageCompiler)?e.messageCompiler:bl,x=Ae(e.messageResolver)?e.messageResolver:Tl||pw,L=Ae(e.localeFallbacker)?e.localeFallbacker:Dl||Kw,H=bA(e.fallbackContext)?e.fallbackContext:void 0,b=Ae(e.onWarn)?e.onWarn:sn,V=e,$=bA(V.__datetimeFormatters)?V.__datetimeFormatters:new Map,k=bA(V.__numberFormatters)?V.__numberFormatters:new Map,AA=bA(V.__meta)?V.__meta:{};Nl++;const fA={version:r,cid:Nl,locale:t,fallbackLocale:a,messages:s,modifiers:B,pluralRules:c,missing:w,missingWarn:h,fallbackWarn:Q,fallbackFormat:F,unresolving:T,postTranslation:S,processor:D,warnHtmlMessage:R,escapeParameter:m,messageCompiler:_,messageResolver:x,localeFallbacker:L,fallbackContext:H,onWarn:b,__meta:AA};return fA.datetimeFormats=o,fA.numberFormats=l,fA.__datetimeFormatters=$,fA.__numberFormatters=k,process.env.NODE_ENV!=="production"&&(fA.__v_emitter=V.__v_emitter!=null?V.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&Tw(fA,r,AA),fA}function ra(e,r){return e instanceof RegExp?e.test(r):e}function Ml(e,r){return e instanceof RegExp?e.test(r):e}function Wi(e,r,t,a,s){const{missing:o,onWarn:l}=e;if(process.env.NODE_ENV!=="production"){const B=e.__v_emitter;B&&B.emit("missing",{locale:t,key:r,type:s,groupId:`${s}:${r}`})}if(o!==null){const B=o(e,t,r,s);return j(B)?B:r}else return process.env.NODE_ENV!=="production"&&Ml(a,r)&&l(Lr(Ke.NOT_FOUND_KEY,{key:r,locale:t})),r}function un(e,r,t){const a=e;a.__localeChainCache=new Map,e.localeFallbacker(e,t,r)}const Yw=/<\/?[\w\s="/.':;#-\/]+>/,Jw="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function $w(e,r){(KA(r.warnHtmlMessage)?r.warnHtmlMessage:!0)&&Yw.test(e)&&sn(qn(Jw,{source:e}))}const Zw=e=>e;let Rl=Object.create(null);function qw(e,r={}){{process.env.NODE_ENV!=="production"&&$w(e,r);const a=(r.onCacheKey||Zw)(e),s=Rl[a];if(s)return s;let o=!1;const l=r.onError||Jd;r.onError=w=>{o=!0,l(w)};const{code:B}=gw(e,r),c=new Function(`return ${B}`)();return o?c:Rl[a]=c}}let Vl=iA.__EXTEND_POINT__;const Xi=()=>++Vl,Ht={INVALID_ARGUMENT:Vl,INVALID_DATE_ARGUMENT:Xi(),INVALID_ISO_DATE_ARGUMENT:Xi(),__EXTEND_POINT__:Xi()};function br(e){return jn(e,null,process.env.NODE_ENV!=="production"?{messages:zw}:void 0)}const zw={[Ht.INVALID_ARGUMENT]:"Invalid arguments",[Ht.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[Ht.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string"},Gl=()=>"",Ct=e=>Ae(e);function Pl(e,...r){const{fallbackFormat:t,postTranslation:a,unresolving:s,messageCompiler:o,fallbackLocale:l,messages:B}=e,[c,w]=Yi(...r),h=KA(w.missingWarn)?w.missingWarn:e.missingWarn,Q=KA(w.fallbackWarn)?w.fallbackWarn:e.fallbackWarn,F=KA(w.escapeParameter)?w.escapeParameter:e.escapeParameter,T=!!w.resolvedMessage,S=j(w.default)||KA(w.default)?KA(w.default)?o?c:()=>c:w.default:t?o?c:()=>c:"",D=t||S!=="",R=j(w.locale)?w.locale:e.locale;F&&jw(w);let[m,_,x]=T?[c,R,B[R]||{}]:kl(e,c,R,l,Q,h),L=m,H=c;if(!T&&!(j(L)||Ct(L))&&D&&(L=S,H=L),!T&&(!(j(L)||Ct(L))||!j(_)))return s?Aa:c;if(process.env.NODE_ENV!=="production"&&j(L)&&e.messageCompiler==null)return sn(`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 '${c}'.`),c;let b=!1;const V=()=>{b=!0},$=Ct(L)?L:Wl(e,c,_,L,H,V);if(b)return L;const k=tC(e,_,x,w),AA=Lw(k),fA=AC(e,$,AA),mA=a?a(fA,c):fA;if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const sA={timestamp:Date.now(),key:j(c)?c:Ct(L)?L.key:"",locale:_||(Ct(L)?L.locale:""),format:j(L)?L:Ct(L)?L.source:"",message:mA};sA.meta=oe({},e.__meta,kw()||{}),Dw(sA)}return mA}function jw(e){XA(e.list)?e.list=e.list.map(r=>j(r)?Ul(r):r):bA(e.named)&&Object.keys(e.named).forEach(r=>{j(e.named[r])&&(e.named[r]=Ul(e.named[r]))})}function kl(e,r,t,a,s,o){const{messages:l,onWarn:B,messageResolver:c,localeFallbacker:w}=e,h=w(e,a,t);let Q={},F,T=null,S=t,D=null;const R="translate";for(let m=0;m<h.length;m++){if(F=D=h[m],process.env.NODE_ENV!=="production"&&t!==F&&ra(s,r)&&B(Lr(Ke.FALLBACK_TO_TRANSLATE,{key:r,target:F})),process.env.NODE_ENV!=="production"&&t!==F){const b=e.__v_emitter;b&&b.emit("fallback",{type:R,key:r,from:S,to:D,groupId:`${R}:${r}`})}Q=l[F]||{};let _=null,x,L;if(process.env.NODE_ENV!=="production"&&Xt&&(_=window.performance.now(),x="intlify-message-resolve-start",L="intlify-message-resolve-end",Oe&&Oe(x)),(T=c(Q,r))===null&&(T=Q[r]),process.env.NODE_ENV!=="production"&&Xt){const b=window.performance.now(),V=e.__v_emitter;V&&_&&T&&V.emit("message-resolve",{type:"message-resolve",key:r,message:T,time:b-_,groupId:`${R}:${r}`}),x&&L&&Oe&&fr&&(Oe(L),fr("intlify message resolve",x,L))}if(j(T)||Ae(T))break;const H=Wi(e,r,F,o,R);H!==r&&(T=H),S=D}return[T,F,Q]}function Wl(e,r,t,a,s,o){const{messageCompiler:l,warnHtmlMessage:B}=e;if(Ct(a)){const F=a;return F.locale=F.locale||t,F.key=F.key||r,F}if(l==null){const F=()=>a;return F.locale=t,F.key=r,F}let c=null,w,h;process.env.NODE_ENV!=="production"&&Xt&&(c=window.performance.now(),w="intlify-message-compilation-start",h="intlify-message-compilation-end",Oe&&Oe(w));const Q=l(a,eC(e,t,s,a,B,o));if(process.env.NODE_ENV!=="production"&&Xt){const F=window.performance.now(),T=e.__v_emitter;T&&c&&T.emit("message-compilation",{type:"message-compilation",message:a,time:F-c,groupId:`translate:${r}`}),w&&h&&Oe&&fr&&(Oe(h),fr("intlify message compilation",w,h))}return Q.locale=t,Q.key=r,Q.source=a,Q}function AC(e,r,t){let a=null,s,o;process.env.NODE_ENV!=="production"&&Xt&&(a=window.performance.now(),s="intlify-message-evaluation-start",o="intlify-message-evaluation-end",Oe&&Oe(s));const l=r(t);if(process.env.NODE_ENV!=="production"&&Xt){const B=window.performance.now(),c=e.__v_emitter;c&&a&&c.emit("message-evaluation",{type:"message-evaluation",value:l,time:B-a,groupId:`translate:${r.key}`}),s&&o&&Oe&&fr&&(Oe(o),fr("intlify message evaluation",s,o))}return l}function Yi(...e){const[r,t,a]=e,s={};if(!j(r)&&!we(r)&&!Ct(r))throw br(Ht.INVALID_ARGUMENT);const o=we(r)?String(r):(Ct(r),r);return we(t)?s.plural=t:j(t)?s.default=t:dA(t)&&!zn(t)?s.named=t:XA(t)&&(s.list=t),we(a)?s.plural=a:j(a)?s.default=a:dA(a)&&oe(s,a),[o,s]}function eC(e,r,t,a,s,o){return{warnHtmlMessage:s,onError:l=>{if(o&&o(l),process.env.NODE_ENV!=="production"){const B=`Message compilation error: ${l.message}`,c=l.location&&Wd(a,l.location.start.offset,l.location.end.offset),w=e.__v_emitter;w&&w.emit("compile-error",{message:a,error:l.message,start:l.location&&l.location.start.offset,end:l.location&&l.location.end.offset,groupId:`translate:${t}`}),console.error(c?`${B}
22
- ${c}`:B)}else throw l},onCacheKey:l=>Rd(r,t,l)}}function tC(e,r,t,a){const{modifiers:s,pluralRules:o,messageResolver:l,fallbackLocale:B,fallbackWarn:c,missingWarn:w,fallbackContext:h}=e,F={locale:r,modifiers:s,pluralRules:o,messages:T=>{let S=l(t,T);if(S==null&&h){const[,,D]=kl(h,T,r,B,c,w);S=l(D,T)}if(j(S)){let D=!1;const m=Wl(e,T,r,S,T,()=>{D=!0});return D?Gl:m}else return Ct(S)?S:Gl}};return e.processor&&(F.processor=e.processor),a.list&&(F.list=a.list),a.named&&(F.named=a.named),we(a.plural)&&(F.pluralIndex=a.plural),F}const Xl=typeof Intl<"u",Yl={dateTimeFormat:Xl&&typeof Intl.DateTimeFormat<"u",numberFormat:Xl&&typeof Intl.NumberFormat<"u"};function Jl(e,...r){const{datetimeFormats:t,unresolving:a,fallbackLocale:s,onWarn:o,localeFallbacker:l}=e,{__datetimeFormatters:B}=e;if(process.env.NODE_ENV!=="production"&&!Yl.dateTimeFormat)return o(Lr(Ke.CANNOT_FORMAT_DATE)),ta;const[c,w,h,Q]=Ji(...r),F=KA(h.missingWarn)?h.missingWarn:e.missingWarn,T=KA(h.fallbackWarn)?h.fallbackWarn:e.fallbackWarn,S=!!h.part,D=j(h.locale)?h.locale:e.locale,R=l(e,s,D);if(!j(c)||c==="")return new Intl.DateTimeFormat(D,Q).format(w);let m={},_,x=null,L=D,H=null;const b="datetime format";for(let k=0;k<R.length;k++){if(_=H=R[k],process.env.NODE_ENV!=="production"&&D!==_&&ra(T,c)&&o(Lr(Ke.FALLBACK_TO_DATE_FORMAT,{key:c,target:_})),process.env.NODE_ENV!=="production"&&D!==_){const AA=e.__v_emitter;AA&&AA.emit("fallback",{type:b,key:c,from:L,to:H,groupId:`${b}:${c}`})}if(m=t[_]||{},x=m[c],dA(x))break;Wi(e,c,_,F,b),L=H}if(!dA(x)||!j(_))return a?Aa:c;let V=`${_}__${c}`;zn(Q)||(V=`${V}__${JSON.stringify(Q)}`);let $=B.get(V);return $||($=new Intl.DateTimeFormat(_,oe({},x,Q)),B.set(V,$)),S?$.formatToParts(w):$.format(w)}const $l=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Ji(...e){const[r,t,a,s]=e,o={};let l={},B;if(j(r)){const c=r.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!c)throw br(Ht.INVALID_ISO_DATE_ARGUMENT);const w=c[3]?c[3].trim().startsWith("T")?`${c[1].trim()}${c[3].trim()}`:`${c[1].trim()}T${c[3].trim()}`:c[1].trim();B=new Date(w);try{B.toISOString()}catch{throw br(Ht.INVALID_ISO_DATE_ARGUMENT)}}else if(Gd(r)){if(isNaN(r.getTime()))throw br(Ht.INVALID_DATE_ARGUMENT);B=r}else if(we(r))B=r;else throw br(Ht.INVALID_ARGUMENT);return j(t)?o.key=t:dA(t)&&Object.keys(t).forEach(c=>{$l.includes(c)?l[c]=t[c]:o[c]=t[c]}),j(a)?o.locale=a:dA(a)&&(l=a),dA(s)&&(l=s),[o.key||"",B,o,l]}function Zl(e,r,t){const a=e;for(const s in t){const o=`${r}__${s}`;a.__datetimeFormatters.has(o)&&a.__datetimeFormatters.delete(o)}}function ql(e,...r){const{numberFormats:t,unresolving:a,fallbackLocale:s,onWarn:o,localeFallbacker:l}=e,{__numberFormatters:B}=e;if(process.env.NODE_ENV!=="production"&&!Yl.numberFormat)return o(Lr(Ke.CANNOT_FORMAT_NUMBER)),ta;const[c,w,h,Q]=$i(...r),F=KA(h.missingWarn)?h.missingWarn:e.missingWarn,T=KA(h.fallbackWarn)?h.fallbackWarn:e.fallbackWarn,S=!!h.part,D=j(h.locale)?h.locale:e.locale,R=l(e,s,D);if(!j(c)||c==="")return new Intl.NumberFormat(D,Q).format(w);let m={},_,x=null,L=D,H=null;const b="number format";for(let k=0;k<R.length;k++){if(_=H=R[k],process.env.NODE_ENV!=="production"&&D!==_&&ra(T,c)&&o(Lr(Ke.FALLBACK_TO_NUMBER_FORMAT,{key:c,target:_})),process.env.NODE_ENV!=="production"&&D!==_){const AA=e.__v_emitter;AA&&AA.emit("fallback",{type:b,key:c,from:L,to:H,groupId:`${b}:${c}`})}if(m=t[_]||{},x=m[c],dA(x))break;Wi(e,c,_,F,b),L=H}if(!dA(x)||!j(_))return a?Aa:c;let V=`${_}__${c}`;zn(Q)||(V=`${V}__${JSON.stringify(Q)}`);let $=B.get(V);return $||($=new Intl.NumberFormat(_,oe({},x,Q)),B.set(V,$)),S?$.formatToParts(w):$.format(w)}const zl=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function $i(...e){const[r,t,a,s]=e,o={};let l={};if(!we(r))throw br(Ht.INVALID_ARGUMENT);const B=r;return j(t)?o.key=t:dA(t)&&Object.keys(t).forEach(c=>{zl.includes(c)?l[c]=t[c]:o[c]=t[c]}),j(a)?o.locale=a:dA(a)&&(l=a),dA(s)&&(l=s),[o.key||"",B,o,l]}function jl(e,r,t){const a=e;for(const s in t){const o=`${r}__${s}`;a.__numberFormatters.has(o)&&a.__numberFormatters.delete(o)}}typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(on().__INTLIFY_PROD_DEVTOOLS__=!1);/*!
132
+ */const pr=[];pr[0]={w:[0],i:[3,0],["["]:[4],o:[7]},pr[1]={w:[1],["."]:[2],["["]:[4],o:[7]},pr[2]={w:[2],i:[3,0],[0]:[3,0]},pr[3]={i:[3,0],[0]:[3,0],w:[1,1],["."]:[2,1],["["]:[4,1],o:[7,1]},pr[4]={["'"]:[5,0],['"']:[6,0],["["]:[4,2],["]"]:[1,3],o:8,l:[4,0]},pr[5]={["'"]:[4,0],o:8,l:[5,0]},pr[6]={['"']:[4,0],o:8,l:[6,0]};const m1=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function w1(t){return m1.test(t)}function C1(t){const A=t.charCodeAt(0),e=t.charCodeAt(t.length-1);return A===e&&(A===34||A===39)?t.slice(1,-1):t}function y1(t){if(t==null)return"o";switch(t.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return t;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 Q1(t){const A=t.trim();return t.charAt(0)==="0"&&isNaN(parseInt(t))?!1:w1(A)?C1(A):"*"+A}function E1(t){const A=[];let e=-1,n=0,r=0,i,s,a,c,u,d,h;const B=[];B[0]=()=>{s===void 0?s=a:s+=a},B[1]=()=>{s!==void 0&&(A.push(s),s=void 0)},B[2]=()=>{B[0](),r++},B[3]=()=>{if(r>0)r--,n=4,B[0]();else{if(r=0,s===void 0||(s=Q1(s),s===!1))return!1;B[1]()}};function m(){const C=t[e+1];if(n===5&&C==="'"||n===6&&C==='"')return e++,a="\\"+C,B[0](),!0}for(;n!==null;)if(e++,i=t[e],!(i==="\\"&&m())){if(c=y1(i),h=pr[n],u=h[c]||h.l||8,u===8||(n=u[0],u[1]!==void 0&&(d=B[u[1]],d&&(a=i,d()===!1))))return;if(n===7)return A}}const AB=new Map;function F1(t,A){return $A(t)?t[A]:null}function U1(t,A){if(!$A(t))return null;let e=AB.get(A);if(e||(e=E1(A),e&&AB.set(A,e)),!e)return null;const n=e.length;let r=t,i=0;for(;i<n;){const s=r[e[i]];if(s===void 0)return null;r=s,i++}return r}const v1=t=>t,b1=t=>"",I1="text",S1=t=>t.length===0?"":t.join(""),T1=$I;function eB(t,A){return t=Math.abs(t),A===2?t?t>1?1:0:1:t?Math.min(t,2):0}function x1(t){const A=$e(t.pluralIndex)?t.pluralIndex:-1;return t.named&&($e(t.named.count)||$e(t.named.n))?$e(t.named.count)?t.named.count:$e(t.named.n)?t.named.n:A:A}function H1(t,A){A.count||(A.count=t),A.n||(A.n=t)}function L1(t={}){const A=t.locale,e=x1(t),n=$A(t.pluralRules)&&nA(A)&&Qe(t.pluralRules[A])?t.pluralRules[A]:eB,r=$A(t.pluralRules)&&nA(A)&&Qe(t.pluralRules[A])?eB:void 0,i=U=>U[n(e,U.length,r)],s=t.list||[],a=U=>s[U],c=t.named||{};$e(t.pluralIndex)&&H1(e,c);const u=U=>c[U];function d(U){const b=Qe(t.messages)?t.messages(U):$A(t.messages)?t.messages[U]:!1;return b||(t.parent?t.parent.message(U):b1)}const h=U=>t.modifiers?t.modifiers[U]:v1,B=TA(t.processor)&&Qe(t.processor.normalize)?t.processor.normalize:S1,m=TA(t.processor)&&Qe(t.processor.interpolate)?t.processor.interpolate:T1,C=TA(t.processor)&&nA(t.processor.type)?t.processor.type:I1,S={list:a,named:u,plural:i,linked:(U,...b)=>{const[M,F]=b;let T="text",L="";b.length===1?$A(M)?(L=M.modifier||L,T=M.type||T):nA(M)&&(L=M||L):b.length===2&&(nA(M)&&(L=M||L),nA(F)&&(T=F||T));let N=d(U)(S);return T==="vnode"&&le(N)&&L&&(N=N[0]),L?h(L)(N,T):N},message:d,type:C,interpolate:m,normalize:B};return S}let Ls=null;function O1(t){Ls=t}function _1(t,A,e){Ls&&Ls.emit(jg.I18nInit,{timestamp:Date.now(),i18n:t,version:A,meta:e})}const M1=D1(jg.FunctionTranslate);function D1(t){return A=>Ls&&Ls.emit(t,A)}const vt={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,__EXTEND_POINT__:7},k1={[vt.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[vt.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[vt.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[vt.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[vt.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[vt.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale."};function _i(t,...A){return oa(k1[t],...A)}function N1(t,A,e){return[...new Set([e,...le(A)?A:$A(A)?Object.keys(A):nA(A)?[A]:[e]])]}function tB(t,A,e){const n=nA(e)?e:ua,r=t;r.__localeChainCache||(r.__localeChainCache=new Map);let i=r.__localeChainCache.get(n);if(!i){i=[];let s=[e];for(;le(s);)s=nB(i,s,A);const a=le(A)||!TA(A)?A:A.default?A.default:null;s=nA(a)?[a]:a,le(s)&&nB(i,s,!1),r.__localeChainCache.set(n,i)}return i}function nB(t,A,e){let n=!0;for(let r=0;r<A.length&&qA(n);r++){const i=A[r];nA(i)&&(n=R1(t,A[r],e))}return n}function R1(t,A,e){let n;const r=A.split("-");do{const i=r.join("-");n=K1(t,i,e),r.splice(-1,1)}while(r.length&&n===!0);return n}function K1(t,A,e){let n=!1;if(!t.includes(A)&&(n=!0,A)){n=A[A.length-1]!=="!";const r=A.replace(/!/g,"");t.push(r),(le(e)||TA(e))&&e[r]&&(n=e[r])}return n}const P1="9.2.2",ca=-1,ua="en-US",fa="",rB=t=>`${t.charAt(0).toLocaleUpperCase()}${t.substr(1)}`;function V1(){return{upper:(t,A)=>A==="text"&&nA(t)?t.toUpperCase():A==="vnode"&&$A(t)&&"__v_isVNode"in t?t.children.toUpperCase():t,lower:(t,A)=>A==="text"&&nA(t)?t.toLowerCase():A==="vnode"&&$A(t)&&"__v_isVNode"in t?t.children.toLowerCase():t,capitalize:(t,A)=>A==="text"&&nA(t)?rB(t):A==="vnode"&&$A(t)&&"__v_isVNode"in t?rB(t.children):t}}let iB;function G1(t){iB=t}let sB;function W1(t){sB=t}let oB;function J1(t){oB=t}let aB=null;const lB=t=>{aB=t},$1=()=>aB;let cB=null;const uB=t=>{cB=t},X1=()=>cB;let fB=0;function Y1(t={}){const A=nA(t.version)?t.version:P1,e=nA(t.locale)?t.locale:ua,n=le(t.fallbackLocale)||TA(t.fallbackLocale)||nA(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:e,r=TA(t.messages)?t.messages:{[e]:{}},i=TA(t.datetimeFormats)?t.datetimeFormats:{[e]:{}},s=TA(t.numberFormats)?t.numberFormats:{[e]:{}},a=_e({},t.modifiers||{},V1()),c=t.pluralRules||{},u=Qe(t.missing)?t.missing:null,d=qA(t.missingWarn)||Li(t.missingWarn)?t.missingWarn:!0,h=qA(t.fallbackWarn)||Li(t.fallbackWarn)?t.fallbackWarn:!0,B=!!t.fallbackFormat,m=!!t.unresolving,C=Qe(t.postTranslation)?t.postTranslation:null,E=TA(t.processor)?t.processor:null,S=qA(t.warnHtmlMessage)?t.warnHtmlMessage:!0,U=!!t.escapeParameter,b=Qe(t.messageCompiler)?t.messageCompiler:iB,M=Qe(t.messageResolver)?t.messageResolver:sB||F1,F=Qe(t.localeFallbacker)?t.localeFallbacker:oB||N1,T=$A(t.fallbackContext)?t.fallbackContext:void 0,L=Qe(t.onWarn)?t.onWarn:xs,N=t,W=$A(N.__datetimeFormatters)?N.__datetimeFormatters:new Map,J=$A(N.__numberFormatters)?N.__numberFormatters:new Map,eA=$A(N.__meta)?N.__meta:{};fB++;const gA={version:A,cid:fB,locale:e,fallbackLocale:n,messages:r,modifiers:a,pluralRules:c,missing:u,missingWarn:d,fallbackWarn:h,fallbackFormat:B,unresolving:m,postTranslation:C,processor:E,warnHtmlMessage:S,escapeParameter:U,messageCompiler:b,messageResolver:M,localeFallbacker:F,fallbackContext:T,onWarn:L,__meta:eA};return gA.datetimeFormats=i,gA.numberFormats=s,gA.__datetimeFormatters=W,gA.__numberFormatters=J,process.env.NODE_ENV!=="production"&&(gA.__v_emitter=N.__v_emitter!=null?N.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&_1(gA,A,eA),gA}function da(t,A){return t instanceof RegExp?t.test(A):t}function dB(t,A){return t instanceof RegExp?t.test(A):t}function Bu(t,A,e,n,r){const{missing:i,onWarn:s}=t;if(process.env.NODE_ENV!=="production"){const a=t.__v_emitter;a&&a.emit("missing",{locale:e,key:A,type:r,groupId:`${r}:${A}`})}if(i!==null){const a=i(t,e,A,r);return nA(a)?a:A}else return process.env.NODE_ENV!=="production"&&dB(n,A)&&s(_i(vt.NOT_FOUND_KEY,{key:A,locale:e})),A}function Os(t,A,e){const n=t;n.__localeChainCache=new Map,t.localeFallbacker(t,e,A)}const z1=/<\/?[\w\s="/.':;#-\/]+>/,q1="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function Z1(t,A){(qA(A.warnHtmlMessage)?A.warnHtmlMessage:!0)&&z1.test(t)&&xs(oa(q1,{source:t}))}const j1=t=>t;let hB=Object.create(null);function AS(t,A={}){{process.env.NODE_ENV!=="production"&&Z1(t,A);const n=(A.onCacheKey||j1)(t),r=hB[n];if(r)return r;let i=!1;const s=A.onError||qI;A.onError=u=>{i=!0,s(u)};const{code:a}=B1(t,A),c=new Function(`return ${a}`)();return i?c:hB[n]=c}}let pB=hA.__EXTEND_POINT__;const mu=()=>++pB,On={INVALID_ARGUMENT:pB,INVALID_DATE_ARGUMENT:mu(),INVALID_ISO_DATE_ARGUMENT:mu(),__EXTEND_POINT__:mu()};function Mi(t){return la(t,null,process.env.NODE_ENV!=="production"?{messages:eS}:void 0)}const eS={[On.INVALID_ARGUMENT]:"Invalid arguments",[On.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[On.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string"},gB=()=>"",yn=t=>Qe(t);function BB(t,...A){const{fallbackFormat:e,postTranslation:n,unresolving:r,messageCompiler:i,fallbackLocale:s,messages:a}=t,[c,u]=wu(...A),d=qA(u.missingWarn)?u.missingWarn:t.missingWarn,h=qA(u.fallbackWarn)?u.fallbackWarn:t.fallbackWarn,B=qA(u.escapeParameter)?u.escapeParameter:t.escapeParameter,m=!!u.resolvedMessage,C=nA(u.default)||qA(u.default)?qA(u.default)?i?c:()=>c:u.default:e?i?c:()=>c:"",E=e||C!=="",S=nA(u.locale)?u.locale:t.locale;B&&tS(u);let[U,b,M]=m?[c,S,a[S]||{}]:mB(t,c,S,s,h,d),F=U,T=c;if(!m&&!(nA(F)||yn(F))&&E&&(F=C,T=F),!m&&(!(nA(F)||yn(F))||!nA(b)))return r?ca:c;if(process.env.NODE_ENV!=="production"&&nA(F)&&t.messageCompiler==null)return xs(`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 '${c}'.`),c;let L=!1;const N=()=>{L=!0},W=yn(F)?F:wB(t,c,b,F,T,N);if(L)return F;const J=iS(t,b,M,u),eA=L1(J),gA=nS(t,W,eA),wA=n?n(gA,c):gA;if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const aA={timestamp:Date.now(),key:nA(c)?c:yn(F)?F.key:"",locale:b||(yn(F)?F.locale:""),format:nA(F)?F:yn(F)?F.source:"",message:wA};aA.meta=_e({},t.__meta,$1()||{}),M1(aA)}return wA}function tS(t){le(t.list)?t.list=t.list.map(A=>nA(A)?Xg(A):A):$A(t.named)&&Object.keys(t.named).forEach(A=>{nA(t.named[A])&&(t.named[A]=Xg(t.named[A]))})}function mB(t,A,e,n,r,i){const{messages:s,onWarn:a,messageResolver:c,localeFallbacker:u}=t,d=u(t,n,e);let h={},B,m=null,C=e,E=null;const S="translate";for(let U=0;U<d.length;U++){if(B=E=d[U],process.env.NODE_ENV!=="production"&&e!==B&&da(r,A)&&a(_i(vt.FALLBACK_TO_TRANSLATE,{key:A,target:B})),process.env.NODE_ENV!=="production"&&e!==B){const L=t.__v_emitter;L&&L.emit("fallback",{type:S,key:A,from:C,to:E,groupId:`${S}:${A}`})}h=s[B]||{};let b=null,M,F;if(process.env.NODE_ENV!=="production"&&dr&&(b=window.performance.now(),M="intlify-message-resolve-start",F="intlify-message-resolve-end",Ut&&Ut(M)),(m=c(h,A))===null&&(m=h[A]),process.env.NODE_ENV!=="production"&&dr){const L=window.performance.now(),N=t.__v_emitter;N&&b&&m&&N.emit("message-resolve",{type:"message-resolve",key:A,message:m,time:L-b,groupId:`${S}:${A}`}),M&&F&&Ut&&qr&&(Ut(F),qr("intlify message resolve",M,F))}if(nA(m)||Qe(m))break;const T=Bu(t,A,B,i,S);T!==A&&(m=T),C=E}return[m,B,h]}function wB(t,A,e,n,r,i){const{messageCompiler:s,warnHtmlMessage:a}=t;if(yn(n)){const B=n;return B.locale=B.locale||e,B.key=B.key||A,B}if(s==null){const B=()=>n;return B.locale=e,B.key=A,B}let c=null,u,d;process.env.NODE_ENV!=="production"&&dr&&(c=window.performance.now(),u="intlify-message-compilation-start",d="intlify-message-compilation-end",Ut&&Ut(u));const h=s(n,rS(t,e,r,n,a,i));if(process.env.NODE_ENV!=="production"&&dr){const B=window.performance.now(),m=t.__v_emitter;m&&c&&m.emit("message-compilation",{type:"message-compilation",message:n,time:B-c,groupId:`translate:${A}`}),u&&d&&Ut&&qr&&(Ut(d),qr("intlify message compilation",u,d))}return h.locale=e,h.key=A,h.source=n,h}function nS(t,A,e){let n=null,r,i;process.env.NODE_ENV!=="production"&&dr&&(n=window.performance.now(),r="intlify-message-evaluation-start",i="intlify-message-evaluation-end",Ut&&Ut(r));const s=A(e);if(process.env.NODE_ENV!=="production"&&dr){const a=window.performance.now(),c=t.__v_emitter;c&&n&&c.emit("message-evaluation",{type:"message-evaluation",value:s,time:a-n,groupId:`translate:${A.key}`}),r&&i&&Ut&&qr&&(Ut(i),qr("intlify message evaluation",r,i))}return s}function wu(...t){const[A,e,n]=t,r={};if(!nA(A)&&!$e(A)&&!yn(A))throw Mi(On.INVALID_ARGUMENT);const i=$e(A)?String(A):(yn(A),A);return $e(e)?r.plural=e:nA(e)?r.default=e:TA(e)&&!aa(e)?r.named=e:le(e)&&(r.list=e),$e(n)?r.plural=n:nA(n)?r.default=n:TA(n)&&_e(r,n),[i,r]}function rS(t,A,e,n,r,i){return{warnHtmlMessage:r,onError:s=>{if(i&&i(s),process.env.NODE_ENV!=="production"){const a=`Message compilation error: ${s.message}`,c=s.location&&XI(n,s.location.start.offset,s.location.end.offset),u=t.__v_emitter;u&&u.emit("compile-error",{message:n,error:s.message,start:s.location&&s.location.start.offset,end:s.location&&s.location.end.offset,groupId:`translate:${e}`}),console.error(c?`${a}
133
+ ${c}`:a)}else throw s},onCacheKey:s=>VI(A,e,s)}}function iS(t,A,e,n){const{modifiers:r,pluralRules:i,messageResolver:s,fallbackLocale:a,fallbackWarn:c,missingWarn:u,fallbackContext:d}=t,B={locale:A,modifiers:r,pluralRules:i,messages:m=>{let C=s(e,m);if(C==null&&d){const[,,E]=mB(d,m,A,a,c,u);C=s(E,m)}if(nA(C)){let E=!1;const U=wB(t,m,A,C,m,()=>{E=!0});return E?gB:U}else return yn(C)?C:gB}};return t.processor&&(B.processor=t.processor),n.list&&(B.list=n.list),n.named&&(B.named=n.named),$e(n.plural)&&(B.pluralIndex=n.plural),B}const CB=typeof Intl<"u",yB={dateTimeFormat:CB&&typeof Intl.DateTimeFormat<"u",numberFormat:CB&&typeof Intl.NumberFormat<"u"};function QB(t,...A){const{datetimeFormats:e,unresolving:n,fallbackLocale:r,onWarn:i,localeFallbacker:s}=t,{__datetimeFormatters:a}=t;if(process.env.NODE_ENV!=="production"&&!yB.dateTimeFormat)return i(_i(vt.CANNOT_FORMAT_DATE)),fa;const[c,u,d,h]=Cu(...A),B=qA(d.missingWarn)?d.missingWarn:t.missingWarn,m=qA(d.fallbackWarn)?d.fallbackWarn:t.fallbackWarn,C=!!d.part,E=nA(d.locale)?d.locale:t.locale,S=s(t,r,E);if(!nA(c)||c==="")return new Intl.DateTimeFormat(E,h).format(u);let U={},b,M=null,F=E,T=null;const L="datetime format";for(let J=0;J<S.length;J++){if(b=T=S[J],process.env.NODE_ENV!=="production"&&E!==b&&da(m,c)&&i(_i(vt.FALLBACK_TO_DATE_FORMAT,{key:c,target:b})),process.env.NODE_ENV!=="production"&&E!==b){const eA=t.__v_emitter;eA&&eA.emit("fallback",{type:L,key:c,from:F,to:T,groupId:`${L}:${c}`})}if(U=e[b]||{},M=U[c],TA(M))break;Bu(t,c,b,B,L),F=T}if(!TA(M)||!nA(b))return n?ca:c;let N=`${b}__${c}`;aa(h)||(N=`${N}__${JSON.stringify(h)}`);let W=a.get(N);return W||(W=new Intl.DateTimeFormat(b,_e({},M,h)),a.set(N,W)),C?W.formatToParts(u):W.format(u)}const EB=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Cu(...t){const[A,e,n,r]=t,i={};let s={},a;if(nA(A)){const c=A.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!c)throw Mi(On.INVALID_ISO_DATE_ARGUMENT);const u=c[3]?c[3].trim().startsWith("T")?`${c[1].trim()}${c[3].trim()}`:`${c[1].trim()}T${c[3].trim()}`:c[1].trim();a=new Date(u);try{a.toISOString()}catch{throw Mi(On.INVALID_ISO_DATE_ARGUMENT)}}else if(WI(A)){if(isNaN(A.getTime()))throw Mi(On.INVALID_DATE_ARGUMENT);a=A}else if($e(A))a=A;else throw Mi(On.INVALID_ARGUMENT);return nA(e)?i.key=e:TA(e)&&Object.keys(e).forEach(c=>{EB.includes(c)?s[c]=e[c]:i[c]=e[c]}),nA(n)?i.locale=n:TA(n)&&(s=n),TA(r)&&(s=r),[i.key||"",a,i,s]}function FB(t,A,e){const n=t;for(const r in e){const i=`${A}__${r}`;n.__datetimeFormatters.has(i)&&n.__datetimeFormatters.delete(i)}}function UB(t,...A){const{numberFormats:e,unresolving:n,fallbackLocale:r,onWarn:i,localeFallbacker:s}=t,{__numberFormatters:a}=t;if(process.env.NODE_ENV!=="production"&&!yB.numberFormat)return i(_i(vt.CANNOT_FORMAT_NUMBER)),fa;const[c,u,d,h]=yu(...A),B=qA(d.missingWarn)?d.missingWarn:t.missingWarn,m=qA(d.fallbackWarn)?d.fallbackWarn:t.fallbackWarn,C=!!d.part,E=nA(d.locale)?d.locale:t.locale,S=s(t,r,E);if(!nA(c)||c==="")return new Intl.NumberFormat(E,h).format(u);let U={},b,M=null,F=E,T=null;const L="number format";for(let J=0;J<S.length;J++){if(b=T=S[J],process.env.NODE_ENV!=="production"&&E!==b&&da(m,c)&&i(_i(vt.FALLBACK_TO_NUMBER_FORMAT,{key:c,target:b})),process.env.NODE_ENV!=="production"&&E!==b){const eA=t.__v_emitter;eA&&eA.emit("fallback",{type:L,key:c,from:F,to:T,groupId:`${L}:${c}`})}if(U=e[b]||{},M=U[c],TA(M))break;Bu(t,c,b,B,L),F=T}if(!TA(M)||!nA(b))return n?ca:c;let N=`${b}__${c}`;aa(h)||(N=`${N}__${JSON.stringify(h)}`);let W=a.get(N);return W||(W=new Intl.NumberFormat(b,_e({},M,h)),a.set(N,W)),C?W.formatToParts(u):W.format(u)}const vB=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function yu(...t){const[A,e,n,r]=t,i={};let s={};if(!$e(A))throw Mi(On.INVALID_ARGUMENT);const a=A;return nA(e)?i.key=e:TA(e)&&Object.keys(e).forEach(c=>{vB.includes(c)?s[c]=e[c]:i[c]=e[c]}),nA(n)?i.locale=n:TA(n)&&(s=n),TA(r)&&(s=r),[i.key||"",a,i,s]}function bB(t,A,e){const n=t;for(const r in e){const i=`${A}__${r}`;n.__numberFormatters.has(i)&&n.__numberFormatters.delete(i)}}typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Hs().__INTLIFY_PROD_DEVTOOLS__=!1);/*!
23
134
  * vue-i18n v9.2.2
24
135
  * (c) 2022 kazuya kawaguchi
25
136
  * Released under the MIT License.
26
- */const rC="9.2.2";function nC(){let e=!1;typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(e=!0,on().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(e=!0,on().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(on().__INTLIFY_PROD_DEVTOOLS__=!1),process.env.NODE_ENV!=="production"&&e&&console.warn("You are running the esm-bundler build of vue-i18n. It is recommended to configure your bundler to explicitly replace feature flag globals with boolean literals to get proper tree-shaking in the final bundle.")}let Au=Ke.__EXTEND_POINT__;const Tr=()=>++Au,Lt={FALLBACK_TO_ROOT:Au,NOT_SUPPORTED_PRESERVE:Tr(),NOT_SUPPORTED_FORMATTER:Tr(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:Tr(),NOT_SUPPORTED_GET_CHOICE_INDEX:Tr(),COMPONENT_NAME_LEGACY_COMPATIBLE:Tr(),NOT_FOUND_PARENT_SCOPE:Tr()},aC={[Lt.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[Lt.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[Lt.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[Lt.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[Lt.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[Lt.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[Lt.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope."};function eu(e,...r){return qn(aC[e],...r)}let tu=iA.__EXTEND_POINT__;const He=()=>++tu,NA={UNEXPECTED_RETURN_TYPE:tu,INVALID_ARGUMENT:He(),MUST_BE_CALL_SETUP_TOP:He(),NOT_INSLALLED:He(),NOT_AVAILABLE_IN_LEGACY_MODE:He(),REQUIRED_VALUE:He(),INVALID_VALUE:He(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:He(),NOT_INSLALLED_WITH_PROVIDE:He(),UNEXPECTED_ERROR:He(),NOT_COMPATIBLE_LEGACY_VUE_I18N:He(),BRIDGE_SUPPORT_VUE_2_ONLY:He(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:He(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:He(),__EXTEND_POINT__:He()};function bt(e,...r){return jn(e,null,process.env.NODE_ENV!=="production"?{messages:iC,args:r}:void 0)}const iC={[NA.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[NA.INVALID_ARGUMENT]:"Invalid argument",[NA.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[NA.NOT_INSLALLED]:"Need to install with `app.use` function",[NA.UNEXPECTED_ERROR]:"Unexpected error",[NA.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[NA.REQUIRED_VALUE]:"Required in value: {0}",[NA.INVALID_VALUE]:"Invalid value",[NA.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[NA.NOT_INSLALLED_WITH_PROVIDE]:"Need to install with `provide` function",[NA.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[NA.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[NA.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",[NA.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},Zi=_t("__transrateVNode"),qi=_t("__datetimeParts"),zi=_t("__numberParts"),ji=_t("__enableEmitter"),As=_t("__disableEmitter"),sC=_t("__setPluralRules");_t("__intlifyMeta");const ru=_t("__injectWithOption");function es(e){if(!bA(e))return e;for(const r in e)if(Vi(e,r))if(!r.includes("."))bA(e[r])&&es(e[r]);else{const t=r.split("."),a=t.length-1;let s=e;for(let o=0;o<a;o++)t[o]in s||(s[t[o]]={}),s=s[t[o]];s[t[a]]=e[r],delete e[r],bA(s[t[a]])&&es(s[t[a]])}return e}function ts(e,r){const{messages:t,__i18n:a,messageResolver:s,flatJson:o}=r,l=dA(t)?t:XA(a)?{}:{[e]:{}};if(XA(a)&&a.forEach(B=>{if("locale"in B&&"resource"in B){const{locale:c,resource:w}=B;c?(l[c]=l[c]||{},cn(w,l[c])):cn(w,l)}else j(B)&&cn(JSON.parse(B),l)}),s==null&&o)for(const B in l)Vi(l,B)&&es(l[B]);return l}const na=e=>!bA(e)||XA(e);function cn(e,r){if(na(e)||na(r))throw bt(NA.INVALID_VALUE);for(const t in e)Vi(e,t)&&(na(e[t])||na(r[t])?r[t]=e[t]:cn(e[t],r[t]))}function nu(e){return e.type}function oC(e,r,t){let a=bA(r.messages)?r.messages:{};"__i18nGlobal"in t&&(a=ts(e.locale.value,{messages:a,__i18n:t.__i18nGlobal}));const s=Object.keys(a);s.length&&s.forEach(o=>{e.mergeLocaleMessage(o,a[o])});{if(bA(r.datetimeFormats)){const o=Object.keys(r.datetimeFormats);o.length&&o.forEach(l=>{e.mergeDateTimeFormat(l,r.datetimeFormats[l])})}if(bA(r.numberFormats)){const o=Object.keys(r.numberFormats);o.length&&o.forEach(l=>{e.mergeNumberFormat(l,r.numberFormats[l])})}}}function au(e){return f.createVNode(f.Text,null,e,0)}const iu="__INTLIFY_META__";let su=0;function ou(e){return(r,t,a,s)=>e(t,a,f.getCurrentInstance()||void 0,s)}const lC=()=>{const e=f.getCurrentInstance();let r=null;return e&&(r=nu(e)[iu])?{[iu]:r}:null};function uC(e={},r){const{__root:t}=e,a=t===void 0;let s=KA(e.inheritLocale)?e.inheritLocale:!0;const o=f.ref(t&&s?t.locale.value:j(e.locale)?e.locale:ea),l=f.ref(t&&s?t.fallbackLocale.value:j(e.fallbackLocale)||XA(e.fallbackLocale)||dA(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o.value),B=f.ref(ts(o.value,e)),c=f.ref(dA(e.datetimeFormats)?e.datetimeFormats:{[o.value]:{}}),w=f.ref(dA(e.numberFormats)?e.numberFormats:{[o.value]:{}});let h=t?t.missingWarn:KA(e.missingWarn)||yr(e.missingWarn)?e.missingWarn:!0,Q=t?t.fallbackWarn:KA(e.fallbackWarn)||yr(e.fallbackWarn)?e.fallbackWarn:!0,F=t?t.fallbackRoot:KA(e.fallbackRoot)?e.fallbackRoot:!0,T=!!e.fallbackFormat,S=Ae(e.missing)?e.missing:null,D=Ae(e.missing)?ou(e.missing):null,R=Ae(e.postTranslation)?e.postTranslation:null,m=t?t.warnHtmlMessage:KA(e.warnHtmlMessage)?e.warnHtmlMessage:!0,_=!!e.escapeParameter;const x=t?t.modifiers:dA(e.modifiers)?e.modifiers:{};let L=e.pluralRules||t&&t.pluralRules,H;H=(()=>{a&&xl(null);const M={version:rC,locale:o.value,fallbackLocale:l.value,messages:B.value,modifiers:x,pluralRules:L,missing:D===null?void 0:D,missingWarn:h,fallbackWarn:Q,fallbackFormat:T,unresolving:!0,postTranslation:R===null?void 0:R,warnHtmlMessage:m,escapeParameter:_,messageResolver:e.messageResolver,__meta:{framework:"vue"}};M.datetimeFormats=c.value,M.numberFormats=w.value,M.__datetimeFormatters=dA(H)?H.__datetimeFormatters:void 0,M.__numberFormatters=dA(H)?H.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(M.__v_emitter=dA(H)?H.__v_emitter:void 0);const X=Xw(M);return a&&xl(X),X})(),un(H,o.value,l.value);function V(){return[o.value,l.value,B.value,c.value,w.value]}const $=f.computed({get:()=>o.value,set:M=>{o.value=M,H.locale=o.value}}),k=f.computed({get:()=>l.value,set:M=>{l.value=M,H.fallbackLocale=l.value,un(H,o.value,M)}}),AA=f.computed(()=>B.value),fA=f.computed(()=>c.value),mA=f.computed(()=>w.value);function sA(){return Ae(R)?R:null}function IA(M){R=M,H.postTranslation=M}function PA(){return S}function QA(M){M!==null&&(D=ou(M)),S=M,H.missing=D}function pA(M,X){return M!=="translate"||!X.resolvedMessage}const _A=(M,X,jA,fe,Kt,ut)=>{V();let Et;if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)try{Ol(lC()),a||(H.fallbackContext=t?Ww():void 0),Et=M(H)}finally{Ol(null),a||(H.fallbackContext=void 0)}else Et=M(H);if(we(Et)&&Et===Aa){const[ct,On]=X();if(process.env.NODE_ENV!=="production"&&t&&j(ct)&&pA(jA,On)&&(F&&(ra(Q,ct)||Ml(h,ct))&&sn(eu(Lt.FALLBACK_TO_ROOT,{key:ct,type:jA})),process.env.NODE_ENV!=="production")){const{__v_emitter:Wr}=H;Wr&&F&&Wr.emit("fallback",{type:jA,key:ct,to:"global",groupId:`${jA}:${ct}`})}return t&&F?fe(t):Kt(ct)}else{if(ut(Et))return Et;throw bt(NA.UNEXPECTED_RETURN_TYPE)}};function zA(...M){return _A(X=>Reflect.apply(Pl,null,[X,...M]),()=>Yi(...M),"translate",X=>Reflect.apply(X.t,X,[...M]),X=>X,X=>j(X))}function te(...M){const[X,jA,fe]=M;if(fe&&!bA(fe))throw bt(NA.INVALID_ARGUMENT);return zA(X,jA,oe({resolvedMessage:!0},fe||{}))}function RA(...M){return _A(X=>Reflect.apply(Jl,null,[X,...M]),()=>Ji(...M),"datetime format",X=>Reflect.apply(X.d,X,[...M]),()=>ta,X=>j(X))}function Ee(...M){return _A(X=>Reflect.apply(ql,null,[X,...M]),()=>$i(...M),"number format",X=>Reflect.apply(X.n,X,[...M]),()=>ta,X=>j(X))}function ce(M){return M.map(X=>j(X)||we(X)||KA(X)?au(String(X)):X)}const kA={normalize:ce,interpolate:M=>M,type:"vnode"};function Be(...M){return _A(X=>{let jA;const fe=X;try{fe.processor=kA,jA=Reflect.apply(Pl,null,[fe,...M])}finally{fe.processor=null}return jA},()=>Yi(...M),"translate",X=>X[Zi](...M),X=>[au(X)],X=>XA(X))}function Ne(...M){return _A(X=>Reflect.apply(ql,null,[X,...M]),()=>$i(...M),"number format",X=>X[zi](...M),()=>[],X=>j(X)||XA(X))}function Me(...M){return _A(X=>Reflect.apply(Jl,null,[X,...M]),()=>Ji(...M),"datetime format",X=>X[qi](...M),()=>[],X=>j(X)||XA(X))}function Re(M){L=M,H.pluralRules=L}function pt(M,X){const jA=j(X)?X:o.value,fe=I(jA);return H.messageResolver(fe,M)!==null}function ze(M){let X=null;const jA=yl(H,l.value,o.value);for(let fe=0;fe<jA.length;fe++){const Kt=B.value[jA[fe]]||{},ut=H.messageResolver(Kt,M);if(ut!=null){X=ut;break}}return X}function Ft(M){const X=ze(M);return X??(t?t.tm(M)||{}:{})}function I(M){return B.value[M]||{}}function U(M,X){B.value[M]=X,H.messages=B.value}function K(M,X){B.value[M]=B.value[M]||{},cn(X,B.value[M]),H.messages=B.value}function Z(M){return c.value[M]||{}}function tA(M,X){c.value[M]=X,H.datetimeFormats=c.value,Zl(H,M,X)}function UA(M,X){c.value[M]=oe(c.value[M]||{},X),H.datetimeFormats=c.value,Zl(H,M,X)}function je(M){return w.value[M]||{}}function Ie(M,X){w.value[M]=X,H.numberFormats=w.value,jl(H,M,X)}function Ve(M,X){w.value[M]=oe(w.value[M]||{},X),H.numberFormats=w.value,jl(H,M,X)}su++,t&&Xt&&(f.watch(t.locale,M=>{s&&(o.value=M,H.locale=M,un(H,o.value,l.value))}),f.watch(t.fallbackLocale,M=>{s&&(l.value=M,H.fallbackLocale=M,un(H,o.value,l.value))}));const SA={id:su,locale:$,fallbackLocale:k,get inheritLocale(){return s},set inheritLocale(M){s=M,M&&t&&(o.value=t.locale.value,l.value=t.fallbackLocale.value,un(H,o.value,l.value))},get availableLocales(){return Object.keys(B.value).sort()},messages:AA,get modifiers(){return x},get pluralRules(){return L||{}},get isGlobal(){return a},get missingWarn(){return h},set missingWarn(M){h=M,H.missingWarn=h},get fallbackWarn(){return Q},set fallbackWarn(M){Q=M,H.fallbackWarn=Q},get fallbackRoot(){return F},set fallbackRoot(M){F=M},get fallbackFormat(){return T},set fallbackFormat(M){T=M,H.fallbackFormat=T},get warnHtmlMessage(){return m},set warnHtmlMessage(M){m=M,H.warnHtmlMessage=M},get escapeParameter(){return _},set escapeParameter(M){_=M,H.escapeParameter=M},t:zA,getLocaleMessage:I,setLocaleMessage:U,mergeLocaleMessage:K,getPostTranslationHandler:sA,setPostTranslationHandler:IA,getMissingHandler:PA,setMissingHandler:QA,[sC]:Re};return SA.datetimeFormats=fA,SA.numberFormats=mA,SA.rt=te,SA.te=pt,SA.tm=Ft,SA.d=RA,SA.n=Ee,SA.getDateTimeFormat=Z,SA.setDateTimeFormat=tA,SA.mergeDateTimeFormat=UA,SA.getNumberFormat=je,SA.setNumberFormat=Ie,SA.mergeNumberFormat=Ve,SA[ru]=e.__injectWithOption,SA[Zi]=Be,SA[qi]=Me,SA[zi]=Ne,process.env.NODE_ENV!=="production"&&(SA[ji]=M=>{H.__v_emitter=M},SA[As]=()=>{H.__v_emitter=void 0}),SA}const rs={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function cC({slots:e},r){return r.length===1&&r[0]==="default"?(e.default?e.default():[]).reduce((a,s)=>a=[...a,...XA(s.children)?s.children:[s]],[]):r.reduce((t,a)=>{const s=e[a];return s&&(t[a]=s()),t},{})}function lu(e){return f.Fragment}oe({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>we(e)||!isNaN(e)}},rs);function BC(e){return XA(e)&&!j(e[0])}function uu(e,r,t,a){const{slots:s,attrs:o}=r;return()=>{const l={part:!0};let B={};e.locale&&(l.locale=e.locale),j(e.format)?l.key=e.format:bA(e.format)&&(j(e.format.key)&&(l.key=e.format.key),B=Object.keys(e.format).reduce((F,T)=>t.includes(T)?oe({},F,{[T]:e.format[T]}):F,{}));const c=a(e.value,l,B);let w=[l.key];XA(c)?w=c.map((F,T)=>{const S=s[F.type],D=S?S({[F.type]:F.value,index:T,parts:c}):[F.value];return BC(D)&&(D[0].key=`${F.type}-${T}`),D}):j(c)&&(w=[c]);const h=oe({},o),Q=j(e.tag)||bA(e.tag)?e.tag:lu();return f.h(Q,h,w)}}oe({value:{type:Number,required:!0},format:{type:[String,Object]}},rs),oe({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},rs);function cu(e,r){}const fC=_t("global-vue-i18n");function aa(e={}){const r=f.getCurrentInstance();if(r==null)throw bt(NA.MUST_BE_CALL_SETUP_TOP);if(!r.isCE&&r.appContext.app!=null&&!r.appContext.app.__VUE_I18N_SYMBOL__)throw bt(NA.NOT_INSLALLED);const t=gC(r),a=wC(t),s=nu(r),o=dC(e,s);if(__VUE_I18N_LEGACY_API__&&t.mode==="legacy"&&!e.__useComponent){if(!t.allowComposition)throw bt(NA.NOT_AVAILABLE_IN_LEGACY_MODE);return QC(r,o,a,e)}if(o==="global")return oC(a,e,s),a;if(o==="parent"){let c=CC(t,r,e.__useComponent);return c==null&&(process.env.NODE_ENV!=="production"&&sn(eu(Lt.NOT_FOUND_PARENT_SCOPE)),c=a),c}const l=t;let B=l.__getInstance(r);if(B==null){const c=oe({},e);"__i18n"in s&&(c.__i18n=s.__i18n),a&&(c.__root=a),B=uC(c),hC(l,r,B),l.__setInstance(r,B)}return B}function gC(e){{const r=f.inject(e.isCE?fC:e.appContext.app.__VUE_I18N_SYMBOL__);if(!r)throw bt(e.isCE?NA.NOT_INSLALLED_WITH_PROVIDE:NA.UNEXPECTED_ERROR);return r}}function dC(e,r){return zn(e)?"__i18n"in r?"local":"global":e.useScope?e.useScope:"local"}function wC(e){return e.mode==="composition"?e.global:e.global.__composer}function CC(e,r,t=!1){let a=null;const s=r.root;let o=r.parent;for(;o!=null;){const l=e;if(e.mode==="composition")a=l.__getInstance(o);else if(__VUE_I18N_LEGACY_API__){const B=l.__getInstance(o);B!=null&&(a=B.__composer,t&&a&&!a[ru]&&(a=null))}if(a!=null||s===o)break;o=o.parent}return a}function hC(e,r,t){let a=null;f.onMounted(()=>{if(process.env.NODE_ENV!=="production"&&r.vnode.el){r.vnode.el.__VUE_I18N__=t,a=Xd();const s=t;s[ji]&&s[ji](a),a.on("*",cu)}},r),f.onUnmounted(()=>{if(process.env.NODE_ENV!=="production"&&r.vnode.el&&r.vnode.el.__VUE_I18N__){a&&a.off("*",cu);const s=t;s[As]&&s[As](),delete r.vnode.el.__VUE_I18N__}e.__deleteInstance(r)},r)}function QC(e,r,t,a={}){const s=r==="local",o=f.shallowRef(null);if(s&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw bt(NA.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const l=KA(a.inheritLocale)?a.inheritLocale:!0,B=f.ref(s&&l?t.locale.value:j(a.locale)?a.locale:ea),c=f.ref(s&&l?t.fallbackLocale.value:j(a.fallbackLocale)||XA(a.fallbackLocale)||dA(a.fallbackLocale)||a.fallbackLocale===!1?a.fallbackLocale:B.value),w=f.ref(ts(B.value,a)),h=f.ref(dA(a.datetimeFormats)?a.datetimeFormats:{[B.value]:{}}),Q=f.ref(dA(a.numberFormats)?a.numberFormats:{[B.value]:{}}),F=s?t.missingWarn:KA(a.missingWarn)||yr(a.missingWarn)?a.missingWarn:!0,T=s?t.fallbackWarn:KA(a.fallbackWarn)||yr(a.fallbackWarn)?a.fallbackWarn:!0,S=s?t.fallbackRoot:KA(a.fallbackRoot)?a.fallbackRoot:!0,D=!!a.fallbackFormat,R=Ae(a.missing)?a.missing:null,m=Ae(a.postTranslation)?a.postTranslation:null,_=s?t.warnHtmlMessage:KA(a.warnHtmlMessage)?a.warnHtmlMessage:!0,x=!!a.escapeParameter,L=s?t.modifiers:dA(a.modifiers)?a.modifiers:{},H=a.pluralRules||s&&t.pluralRules;function b(){return[B.value,c.value,w.value,h.value,Q.value]}const V=f.computed({get:()=>o.value?o.value.locale.value:B.value,set:U=>{o.value&&(o.value.locale.value=U),B.value=U}}),$=f.computed({get:()=>o.value?o.value.fallbackLocale.value:c.value,set:U=>{o.value&&(o.value.fallbackLocale.value=U),c.value=U}}),k=f.computed(()=>o.value?o.value.messages.value:w.value),AA=f.computed(()=>h.value),fA=f.computed(()=>Q.value);function mA(){return o.value?o.value.getPostTranslationHandler():m}function sA(U){o.value&&o.value.setPostTranslationHandler(U)}function IA(){return o.value?o.value.getMissingHandler():R}function PA(U){o.value&&o.value.setMissingHandler(U)}function QA(U){return b(),U()}function pA(...U){return o.value?QA(()=>Reflect.apply(o.value.t,null,[...U])):QA(()=>"")}function _A(...U){return o.value?Reflect.apply(o.value.rt,null,[...U]):""}function zA(...U){return o.value?QA(()=>Reflect.apply(o.value.d,null,[...U])):QA(()=>"")}function te(...U){return o.value?QA(()=>Reflect.apply(o.value.n,null,[...U])):QA(()=>"")}function RA(U){return o.value?o.value.tm(U):{}}function Ee(U,K){return o.value?o.value.te(U,K):!1}function ce(U){return o.value?o.value.getLocaleMessage(U):{}}function me(U,K){o.value&&(o.value.setLocaleMessage(U,K),w.value[U]=K)}function kA(U,K){o.value&&o.value.mergeLocaleMessage(U,K)}function Be(U){return o.value?o.value.getDateTimeFormat(U):{}}function Ne(U,K){o.value&&(o.value.setDateTimeFormat(U,K),h.value[U]=K)}function Me(U,K){o.value&&o.value.mergeDateTimeFormat(U,K)}function Re(U){return o.value?o.value.getNumberFormat(U):{}}function pt(U,K){o.value&&(o.value.setNumberFormat(U,K),Q.value[U]=K)}function ze(U,K){o.value&&o.value.mergeNumberFormat(U,K)}const Ft={get id(){return o.value?o.value.id:-1},locale:V,fallbackLocale:$,messages:k,datetimeFormats:AA,numberFormats:fA,get inheritLocale(){return o.value?o.value.inheritLocale:l},set inheritLocale(U){o.value&&(o.value.inheritLocale=U)},get availableLocales(){return o.value?o.value.availableLocales:Object.keys(w.value)},get modifiers(){return o.value?o.value.modifiers:L},get pluralRules(){return o.value?o.value.pluralRules:H},get isGlobal(){return o.value?o.value.isGlobal:!1},get missingWarn(){return o.value?o.value.missingWarn:F},set missingWarn(U){o.value&&(o.value.missingWarn=U)},get fallbackWarn(){return o.value?o.value.fallbackWarn:T},set fallbackWarn(U){o.value&&(o.value.missingWarn=U)},get fallbackRoot(){return o.value?o.value.fallbackRoot:S},set fallbackRoot(U){o.value&&(o.value.fallbackRoot=U)},get fallbackFormat(){return o.value?o.value.fallbackFormat:D},set fallbackFormat(U){o.value&&(o.value.fallbackFormat=U)},get warnHtmlMessage(){return o.value?o.value.warnHtmlMessage:_},set warnHtmlMessage(U){o.value&&(o.value.warnHtmlMessage=U)},get escapeParameter(){return o.value?o.value.escapeParameter:x},set escapeParameter(U){o.value&&(o.value.escapeParameter=U)},t:pA,getPostTranslationHandler:mA,setPostTranslationHandler:sA,getMissingHandler:IA,setMissingHandler:PA,rt:_A,d:zA,n:te,tm:RA,te:Ee,getLocaleMessage:ce,setLocaleMessage:me,mergeLocaleMessage:kA,getDateTimeFormat:Be,setDateTimeFormat:Ne,mergeDateTimeFormat:Me,getNumberFormat:Re,setNumberFormat:pt,mergeNumberFormat:ze};function I(U){U.locale.value=B.value,U.fallbackLocale.value=c.value,Object.keys(w.value).forEach(K=>{U.mergeLocaleMessage(K,w.value[K])}),Object.keys(h.value).forEach(K=>{U.mergeDateTimeFormat(K,h.value[K])}),Object.keys(Q.value).forEach(K=>{U.mergeNumberFormat(K,Q.value[K])}),U.escapeParameter=x,U.fallbackFormat=D,U.fallbackRoot=S,U.fallbackWarn=T,U.missingWarn=F,U.warnHtmlMessage=_}return f.onBeforeMount(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw bt(NA.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const U=o.value=e.proxy.$i18n.__composer;r==="global"?(B.value=U.locale.value,c.value=U.fallbackLocale.value,w.value=U.messages.value,h.value=U.datetimeFormats.value,Q.value=U.numberFormats.value):s&&I(U)}),Ft}if(Vw(qw),Gw(Fw),Pw(yl),nC(),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const e=on();e.__INTLIFY__=!0,bw(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const UC={class:"input input-dropdown"},pC={class:"dropdown"},FC={class:"caption"},EC=["innerHTML"],mC={class:"caption__text"},IC=["innerHTML"],vC={class:"dropdown-menu"},_C={class:"form-check"},yC=["value","id","name","label","required","disabled"],HC=["value","id","name","label","required","disabled"],LC=["for"],bC=f.defineComponent({__name:"input-dropdown",props:{id:{type:String},name:{type:String},label:{type:String},error:{type:String},disabled:{type:Boolean,default:!1},readOnly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},modelValue:{type:null},value:{type:String},options:{type:Array,required:!0},multiple:{type:Boolean,default:!1},showSelectionCount:{type:Boolean,default:!1},toggleCaption:{type:String},placeholder:{type:String,default:""},icon:{default:"chevron-down",type:String},variant:{type:String,default:""},color:{type:String,default:""},outlined:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(e,{emit:r}){const t=e,{t:a}=aa(),s=f.computed({get(){return t.multiple&&!t.modelValue?[]:t.modelValue},set(B){r("update:modelValue",B)}}),o=f.computed(()=>t.options.map(B=>(B=typeof B=="string"?{text:B,value:B}:B,{...B,active:t.modelValue&&t.modelValue.includes(B.value)}))),l=f.computed(()=>t.modelValue&&t.modelValue.length?Array.isArray(t.modelValue)&&t.modelValue.length?o.value.reduce((B,c)=>t.modelValue.includes(c.value)?`${B}${B?", ":""}${c.text}`:B,""):o.value.reduce((B,c)=>c.value===t.modelValue?`${B}${c.text}`:B,""):t.placeholder||`<span class="text-muted">${a("common.select")}</span>`);return(B,c)=>{const w=f.resolveComponent("base-button");return f.openBlock(),f.createElementBlock("div",UC,[f.createElementVNode("div",pC,[f.createVNode(w,{"data-bs-toggle":"dropdown",role:"button",type:"button",title:f.unref(l),class:"btn dropdown-toggle",color:e.color,outlined:e.outlined,disabled:e.disabled},{default:f.withCtx(()=>[f.createElementVNode("span",FC,[f.createVNode(f.Transition,{name:"bounce"},{default:f.withCtx(()=>[e.showSelectionCount&&e.modelValue.length?(f.openBlock(),f.createElementBlock("i",{key:0,class:"caption__count",innerHTML:e.modelValue.length},null,8,EC)):f.createCommentVNode("",!0)]),_:1}),f.createElementVNode("span",mC,[f.createElementVNode("span",{class:"d-block text-truncate",innerHTML:e.toggleCaption||f.unref(l)},null,8,IC)])])]),_:1},8,["title","color","outlined","disabled"]),f.createElementVNode("ul",vC,[(f.openBlock(!0),f.createElementBlock(f.Fragment,null,f.renderList(f.unref(o),(h,Q)=>(f.openBlock(),f.createElementBlock("li",{key:`${h.value}-${Q}`},[f.createElementVNode("div",{class:f.normalizeClass(["dropdown-item",h.active&&"active"])},[f.createElementVNode("div",_C,[e.multiple?f.withDirectives((f.openBlock(),f.createElementBlock("input",{type:"checkbox","onUpdate:modelValue":c[0]||(c[0]=F=>f.isRef(s)?s.value=F:null),value:h.value,key:`${e.name}-${h.value}-${Q}__if`,id:`${e.name}-${h.value}-${Q}`,name:e.name,label:h.text,required:e.required,disabled:h.selectable===!1,class:"form-check-input"},null,8,yC)),[[f.vModelCheckbox,f.unref(s)]]):f.withDirectives((f.openBlock(),f.createElementBlock("input",{type:"radio","onUpdate:modelValue":c[1]||(c[1]=F=>f.isRef(s)?s.value=F:null),value:h.value,key:`${e.name}-${h.value}-${Q}__else`,id:`${e.name}-${h.value}-${Q}`,name:e.name,label:h.text,required:e.required,disabled:h.selectable===!1,class:"form-check-input"},null,8,HC)),[[f.vModelRadio,f.unref(s)]]),f.createElementVNode("label",{class:"form-check-label flex-grow-1",onclick:"event.stopPropagation();",for:`${e.name}-${h.value}-${Q}`},f.toDisplayString(h.text),9,LC)])],2)]))),128))])])])}}});var Bn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},fn={},TC={get exports(){return fn},set exports(e){fn=e}};/**
137
+ */const sS="9.2.2";function oS(){let t=!1;typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(t=!0,Hs().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(t=!0,Hs().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Hs().__INTLIFY_PROD_DEVTOOLS__=!1),process.env.NODE_ENV!=="production"&&t&&console.warn("You are running the esm-bundler build of vue-i18n. It is recommended to configure your bundler to explicitly replace feature flag globals with boolean literals to get proper tree-shaking in the final bundle.")}let IB=vt.__EXTEND_POINT__;const Di=()=>++IB,_n={FALLBACK_TO_ROOT:IB,NOT_SUPPORTED_PRESERVE:Di(),NOT_SUPPORTED_FORMATTER:Di(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:Di(),NOT_SUPPORTED_GET_CHOICE_INDEX:Di(),COMPONENT_NAME_LEGACY_COMPATIBLE:Di(),NOT_FOUND_PARENT_SCOPE:Di()},aS={[_n.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[_n.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[_n.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[_n.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[_n.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[_n.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[_n.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope."};function SB(t,...A){return oa(aS[t],...A)}let TB=hA.__EXTEND_POINT__;const pt=()=>++TB,ee={UNEXPECTED_RETURN_TYPE:TB,INVALID_ARGUMENT:pt(),MUST_BE_CALL_SETUP_TOP:pt(),NOT_INSLALLED:pt(),NOT_AVAILABLE_IN_LEGACY_MODE:pt(),REQUIRED_VALUE:pt(),INVALID_VALUE:pt(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:pt(),NOT_INSLALLED_WITH_PROVIDE:pt(),UNEXPECTED_ERROR:pt(),NOT_COMPATIBLE_LEGACY_VUE_I18N:pt(),BRIDGE_SUPPORT_VUE_2_ONLY:pt(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:pt(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:pt(),__EXTEND_POINT__:pt()};function Mn(t,...A){return la(t,null,process.env.NODE_ENV!=="production"?{messages:lS,args:A}:void 0)}const lS={[ee.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[ee.INVALID_ARGUMENT]:"Invalid argument",[ee.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[ee.NOT_INSLALLED]:"Need to install with `app.use` function",[ee.UNEXPECTED_ERROR]:"Unexpected error",[ee.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[ee.REQUIRED_VALUE]:"Required in value: {0}",[ee.INVALID_VALUE]:"Invalid value",[ee.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[ee.NOT_INSLALLED_WITH_PROVIDE]:"Need to install with `provide` function",[ee.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[ee.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[ee.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",[ee.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},Qu=Hn("__transrateVNode"),Eu=Hn("__datetimeParts"),Fu=Hn("__numberParts"),Uu=Hn("__enableEmitter"),vu=Hn("__disableEmitter"),cS=Hn("__setPluralRules");Hn("__intlifyMeta");const xB=Hn("__injectWithOption");function bu(t){if(!$A(t))return t;for(const A in t)if(du(t,A))if(!A.includes("."))$A(t[A])&&bu(t[A]);else{const e=A.split("."),n=e.length-1;let r=t;for(let i=0;i<n;i++)e[i]in r||(r[e[i]]={}),r=r[e[i]];r[e[n]]=t[A],delete t[A],$A(r[e[n]])&&bu(r[e[n]])}return t}function Iu(t,A){const{messages:e,__i18n:n,messageResolver:r,flatJson:i}=A,s=TA(e)?e:le(n)?{}:{[t]:{}};if(le(n)&&n.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:c,resource:u}=a;c?(s[c]=s[c]||{},_s(u,s[c])):_s(u,s)}else nA(a)&&_s(JSON.parse(a),s)}),r==null&&i)for(const a in s)du(s,a)&&bu(s[a]);return s}const ha=t=>!$A(t)||le(t);function _s(t,A){if(ha(t)||ha(A))throw Mn(ee.INVALID_VALUE);for(const e in t)du(t,e)&&(ha(t[e])||ha(A[e])?A[e]=t[e]:_s(t[e],A[e]))}function HB(t){return t.type}function uS(t,A,e){let n=$A(A.messages)?A.messages:{};"__i18nGlobal"in e&&(n=Iu(t.locale.value,{messages:n,__i18n:e.__i18nGlobal}));const r=Object.keys(n);r.length&&r.forEach(i=>{t.mergeLocaleMessage(i,n[i])});{if($A(A.datetimeFormats)){const i=Object.keys(A.datetimeFormats);i.length&&i.forEach(s=>{t.mergeDateTimeFormat(s,A.datetimeFormats[s])})}if($A(A.numberFormats)){const i=Object.keys(A.numberFormats);i.length&&i.forEach(s=>{t.mergeNumberFormat(s,A.numberFormats[s])})}}}function LB(t){return g.createVNode(g.Text,null,t,0)}const OB="__INTLIFY_META__";let _B=0;function MB(t){return(A,e,n,r)=>t(e,n,g.getCurrentInstance()||void 0,r)}const fS=()=>{const t=g.getCurrentInstance();let A=null;return t&&(A=HB(t)[OB])?{[OB]:A}:null};function dS(t={},A){const{__root:e}=t,n=e===void 0;let r=qA(t.inheritLocale)?t.inheritLocale:!0;const i=g.ref(e&&r?e.locale.value:nA(t.locale)?t.locale:ua),s=g.ref(e&&r?e.fallbackLocale.value:nA(t.fallbackLocale)||le(t.fallbackLocale)||TA(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:i.value),a=g.ref(Iu(i.value,t)),c=g.ref(TA(t.datetimeFormats)?t.datetimeFormats:{[i.value]:{}}),u=g.ref(TA(t.numberFormats)?t.numberFormats:{[i.value]:{}});let d=e?e.missingWarn:qA(t.missingWarn)||Li(t.missingWarn)?t.missingWarn:!0,h=e?e.fallbackWarn:qA(t.fallbackWarn)||Li(t.fallbackWarn)?t.fallbackWarn:!0,B=e?e.fallbackRoot:qA(t.fallbackRoot)?t.fallbackRoot:!0,m=!!t.fallbackFormat,C=Qe(t.missing)?t.missing:null,E=Qe(t.missing)?MB(t.missing):null,S=Qe(t.postTranslation)?t.postTranslation:null,U=e?e.warnHtmlMessage:qA(t.warnHtmlMessage)?t.warnHtmlMessage:!0,b=!!t.escapeParameter;const M=e?e.modifiers:TA(t.modifiers)?t.modifiers:{};let F=t.pluralRules||e&&e.pluralRules,T;T=(()=>{n&&uB(null);const P={version:sS,locale:i.value,fallbackLocale:s.value,messages:a.value,modifiers:M,pluralRules:F,missing:E===null?void 0:E,missingWarn:d,fallbackWarn:h,fallbackFormat:m,unresolving:!0,postTranslation:S===null?void 0:S,warnHtmlMessage:U,escapeParameter:b,messageResolver:t.messageResolver,__meta:{framework:"vue"}};P.datetimeFormats=c.value,P.numberFormats=u.value,P.__datetimeFormatters=TA(T)?T.__datetimeFormatters:void 0,P.__numberFormatters=TA(T)?T.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(P.__v_emitter=TA(T)?T.__v_emitter:void 0);const Y=Y1(P);return n&&uB(Y),Y})(),Os(T,i.value,s.value);function N(){return[i.value,s.value,a.value,c.value,u.value]}const W=g.computed({get:()=>i.value,set:P=>{i.value=P,T.locale=i.value}}),J=g.computed({get:()=>s.value,set:P=>{s.value=P,T.fallbackLocale=s.value,Os(T,i.value,P)}}),eA=g.computed(()=>a.value),gA=g.computed(()=>c.value),wA=g.computed(()=>u.value);function aA(){return Qe(S)?S:null}function HA(P){S=P,T.postTranslation=P}function WA(){return C}function vA(P){P!==null&&(E=MB(P)),C=P,T.missing=E}function bA(P,Y){return P!=="translate"||!Y.resolvedMessage}const mA=(P,Y,oe,Fe,an,St)=>{N();let Gt;if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)try{lB(fS()),n||(T.fallbackContext=e?X1():void 0),Gt=P(T)}finally{lB(null),n||(T.fallbackContext=void 0)}else Gt=P(T);if($e(Gt)&&Gt===ca){const[Tt,ni]=Y();if(process.env.NODE_ENV!=="production"&&e&&nA(Tt)&&bA(oe,ni)&&(B&&(da(h,Tt)||dB(d,Tt))&&xs(SB(_n.FALLBACK_TO_ROOT,{key:Tt,type:oe})),process.env.NODE_ENV!=="production")){const{__v_emitter:Ur}=T;Ur&&B&&Ur.emit("fallback",{type:oe,key:Tt,to:"global",groupId:`${oe}:${Tt}`})}return e&&B?Fe(e):an(Tt)}else{if(St(Gt))return Gt;throw Mn(ee.UNEXPECTED_RETURN_TYPE)}};function re(...P){return mA(Y=>Reflect.apply(BB,null,[Y,...P]),()=>wu(...P),"translate",Y=>Reflect.apply(Y.t,Y,[...P]),Y=>Y,Y=>nA(Y))}function ZA(...P){const[Y,oe,Fe]=P;if(Fe&&!$A(Fe))throw Mn(ee.INVALID_ARGUMENT);return re(Y,oe,_e({resolvedMessage:!0},Fe||{}))}function JA(...P){return mA(Y=>Reflect.apply(QB,null,[Y,...P]),()=>Cu(...P),"datetime format",Y=>Reflect.apply(Y.d,Y,[...P]),()=>fa,Y=>nA(Y))}function Be(...P){return mA(Y=>Reflect.apply(UB,null,[Y,...P]),()=>yu(...P),"number format",Y=>Reflect.apply(Y.n,Y,[...P]),()=>fa,Y=>nA(Y))}function me(P){return P.map(Y=>nA(Y)||$e(Y)||qA(Y)?LB(String(Y)):Y)}const jA={normalize:me,interpolate:P=>P,type:"vnode"};function fe(...P){return mA(Y=>{let oe;const Fe=Y;try{Fe.processor=jA,oe=Reflect.apply(BB,null,[Fe,...P])}finally{Fe.processor=null}return oe},()=>wu(...P),"translate",Y=>Y[Qu](...P),Y=>[LB(Y)],Y=>le(Y))}function it(...P){return mA(Y=>Reflect.apply(UB,null,[Y,...P]),()=>yu(...P),"number format",Y=>Y[Fu](...P),()=>[],Y=>nA(Y)||le(Y))}function st(...P){return mA(Y=>Reflect.apply(QB,null,[Y,...P]),()=>Cu(...P),"datetime format",Y=>Y[Eu](...P),()=>[],Y=>nA(Y)||le(Y))}function ze(P){F=P,T.pluralRules=F}function ke(P,Y){const oe=nA(Y)?Y:i.value,Fe=H(oe);return T.messageResolver(Fe,P)!==null}function ot(P){let Y=null;const oe=tB(T,s.value,i.value);for(let Fe=0;Fe<oe.length;Fe++){const an=a.value[oe[Fe]]||{},St=T.messageResolver(an,P);if(St!=null){Y=St;break}}return Y}function It(P){const Y=ot(P);return Y??(e?e.tm(P)||{}:{})}function H(P){return a.value[P]||{}}function v(P,Y){a.value[P]=Y,T.messages=a.value}function k(P,Y){a.value[P]=a.value[P]||{},_s(Y,a.value[P]),T.messages=a.value}function q(P){return c.value[P]||{}}function oA(P,Y){c.value[P]=Y,T.datetimeFormats=c.value,FB(T,P,Y)}function IA(P,Y){c.value[P]=_e(c.value[P]||{},Y),T.datetimeFormats=c.value,FB(T,P,Y)}function at(P){return u.value[P]||{}}function Ne(P,Y){u.value[P]=Y,T.numberFormats=u.value,bB(T,P,Y)}function Re(P,Y){u.value[P]=_e(u.value[P]||{},Y),T.numberFormats=u.value,bB(T,P,Y)}_B++,e&&dr&&(g.watch(e.locale,P=>{r&&(i.value=P,T.locale=P,Os(T,i.value,s.value))}),g.watch(e.fallbackLocale,P=>{r&&(s.value=P,T.fallbackLocale=P,Os(T,i.value,s.value))}));const KA={id:_B,locale:W,fallbackLocale:J,get inheritLocale(){return r},set inheritLocale(P){r=P,P&&e&&(i.value=e.locale.value,s.value=e.fallbackLocale.value,Os(T,i.value,s.value))},get availableLocales(){return Object.keys(a.value).sort()},messages:eA,get modifiers(){return M},get pluralRules(){return F||{}},get isGlobal(){return n},get missingWarn(){return d},set missingWarn(P){d=P,T.missingWarn=d},get fallbackWarn(){return h},set fallbackWarn(P){h=P,T.fallbackWarn=h},get fallbackRoot(){return B},set fallbackRoot(P){B=P},get fallbackFormat(){return m},set fallbackFormat(P){m=P,T.fallbackFormat=m},get warnHtmlMessage(){return U},set warnHtmlMessage(P){U=P,T.warnHtmlMessage=P},get escapeParameter(){return b},set escapeParameter(P){b=P,T.escapeParameter=P},t:re,getLocaleMessage:H,setLocaleMessage:v,mergeLocaleMessage:k,getPostTranslationHandler:aA,setPostTranslationHandler:HA,getMissingHandler:WA,setMissingHandler:vA,[cS]:ze};return KA.datetimeFormats=gA,KA.numberFormats=wA,KA.rt=ZA,KA.te=ke,KA.tm=It,KA.d=JA,KA.n=Be,KA.getDateTimeFormat=q,KA.setDateTimeFormat=oA,KA.mergeDateTimeFormat=IA,KA.getNumberFormat=at,KA.setNumberFormat=Ne,KA.mergeNumberFormat=Re,KA[xB]=t.__injectWithOption,KA[Qu]=fe,KA[Eu]=st,KA[Fu]=it,process.env.NODE_ENV!=="production"&&(KA[Uu]=P=>{T.__v_emitter=P},KA[vu]=()=>{T.__v_emitter=void 0}),KA}const Su={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:t=>t==="parent"||t==="global",default:"parent"},i18n:{type:Object}};function hS({slots:t},A){return A.length===1&&A[0]==="default"?(t.default?t.default():[]).reduce((n,r)=>n=[...n,...le(r.children)?r.children:[r]],[]):A.reduce((e,n)=>{const r=t[n];return r&&(e[n]=r()),e},{})}function DB(t){return g.Fragment}_e({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:t=>$e(t)||!isNaN(t)}},Su);function pS(t){return le(t)&&!nA(t[0])}function kB(t,A,e,n){const{slots:r,attrs:i}=A;return()=>{const s={part:!0};let a={};t.locale&&(s.locale=t.locale),nA(t.format)?s.key=t.format:$A(t.format)&&(nA(t.format.key)&&(s.key=t.format.key),a=Object.keys(t.format).reduce((B,m)=>e.includes(m)?_e({},B,{[m]:t.format[m]}):B,{}));const c=n(t.value,s,a);let u=[s.key];le(c)?u=c.map((B,m)=>{const C=r[B.type],E=C?C({[B.type]:B.value,index:m,parts:c}):[B.value];return pS(E)&&(E[0].key=`${B.type}-${m}`),E}):nA(c)&&(u=[c]);const d=_e({},i),h=nA(t.tag)||$A(t.tag)?t.tag:DB();return g.h(h,d,u)}}_e({value:{type:Number,required:!0},format:{type:[String,Object]}},Su),_e({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Su);function NB(t,A){}const gS=Hn("global-vue-i18n");function pa(t={}){const A=g.getCurrentInstance();if(A==null)throw Mn(ee.MUST_BE_CALL_SETUP_TOP);if(!A.isCE&&A.appContext.app!=null&&!A.appContext.app.__VUE_I18N_SYMBOL__)throw Mn(ee.NOT_INSLALLED);const e=BS(A),n=wS(e),r=HB(A),i=mS(t,r);if(__VUE_I18N_LEGACY_API__&&e.mode==="legacy"&&!t.__useComponent){if(!e.allowComposition)throw Mn(ee.NOT_AVAILABLE_IN_LEGACY_MODE);return QS(A,i,n,t)}if(i==="global")return uS(n,t,r),n;if(i==="parent"){let c=CS(e,A,t.__useComponent);return c==null&&(process.env.NODE_ENV!=="production"&&xs(SB(_n.NOT_FOUND_PARENT_SCOPE)),c=n),c}const s=e;let a=s.__getInstance(A);if(a==null){const c=_e({},t);"__i18n"in r&&(c.__i18n=r.__i18n),n&&(c.__root=n),a=dS(c),yS(s,A,a),s.__setInstance(A,a)}return a}function BS(t){{const A=g.inject(t.isCE?gS:t.appContext.app.__VUE_I18N_SYMBOL__);if(!A)throw Mn(t.isCE?ee.NOT_INSLALLED_WITH_PROVIDE:ee.UNEXPECTED_ERROR);return A}}function mS(t,A){return aa(t)?"__i18n"in A?"local":"global":t.useScope?t.useScope:"local"}function wS(t){return t.mode==="composition"?t.global:t.global.__composer}function CS(t,A,e=!1){let n=null;const r=A.root;let i=A.parent;for(;i!=null;){const s=t;if(t.mode==="composition")n=s.__getInstance(i);else if(__VUE_I18N_LEGACY_API__){const a=s.__getInstance(i);a!=null&&(n=a.__composer,e&&n&&!n[xB]&&(n=null))}if(n!=null||r===i)break;i=i.parent}return n}function yS(t,A,e){let n=null;g.onMounted(()=>{if(process.env.NODE_ENV!=="production"&&A.vnode.el){A.vnode.el.__VUE_I18N__=e,n=YI();const r=e;r[Uu]&&r[Uu](n),n.on("*",NB)}},A),g.onUnmounted(()=>{if(process.env.NODE_ENV!=="production"&&A.vnode.el&&A.vnode.el.__VUE_I18N__){n&&n.off("*",NB);const r=e;r[vu]&&r[vu](),delete A.vnode.el.__VUE_I18N__}t.__deleteInstance(A)},A)}function QS(t,A,e,n={}){const r=A==="local",i=g.shallowRef(null);if(r&&t.proxy&&!(t.proxy.$options.i18n||t.proxy.$options.__i18n))throw Mn(ee.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const s=qA(n.inheritLocale)?n.inheritLocale:!0,a=g.ref(r&&s?e.locale.value:nA(n.locale)?n.locale:ua),c=g.ref(r&&s?e.fallbackLocale.value:nA(n.fallbackLocale)||le(n.fallbackLocale)||TA(n.fallbackLocale)||n.fallbackLocale===!1?n.fallbackLocale:a.value),u=g.ref(Iu(a.value,n)),d=g.ref(TA(n.datetimeFormats)?n.datetimeFormats:{[a.value]:{}}),h=g.ref(TA(n.numberFormats)?n.numberFormats:{[a.value]:{}}),B=r?e.missingWarn:qA(n.missingWarn)||Li(n.missingWarn)?n.missingWarn:!0,m=r?e.fallbackWarn:qA(n.fallbackWarn)||Li(n.fallbackWarn)?n.fallbackWarn:!0,C=r?e.fallbackRoot:qA(n.fallbackRoot)?n.fallbackRoot:!0,E=!!n.fallbackFormat,S=Qe(n.missing)?n.missing:null,U=Qe(n.postTranslation)?n.postTranslation:null,b=r?e.warnHtmlMessage:qA(n.warnHtmlMessage)?n.warnHtmlMessage:!0,M=!!n.escapeParameter,F=r?e.modifiers:TA(n.modifiers)?n.modifiers:{},T=n.pluralRules||r&&e.pluralRules;function L(){return[a.value,c.value,u.value,d.value,h.value]}const N=g.computed({get:()=>i.value?i.value.locale.value:a.value,set:v=>{i.value&&(i.value.locale.value=v),a.value=v}}),W=g.computed({get:()=>i.value?i.value.fallbackLocale.value:c.value,set:v=>{i.value&&(i.value.fallbackLocale.value=v),c.value=v}}),J=g.computed(()=>i.value?i.value.messages.value:u.value),eA=g.computed(()=>d.value),gA=g.computed(()=>h.value);function wA(){return i.value?i.value.getPostTranslationHandler():U}function aA(v){i.value&&i.value.setPostTranslationHandler(v)}function HA(){return i.value?i.value.getMissingHandler():S}function WA(v){i.value&&i.value.setMissingHandler(v)}function vA(v){return L(),v()}function bA(...v){return i.value?vA(()=>Reflect.apply(i.value.t,null,[...v])):vA(()=>"")}function mA(...v){return i.value?Reflect.apply(i.value.rt,null,[...v]):""}function re(...v){return i.value?vA(()=>Reflect.apply(i.value.d,null,[...v])):vA(()=>"")}function ZA(...v){return i.value?vA(()=>Reflect.apply(i.value.n,null,[...v])):vA(()=>"")}function JA(v){return i.value?i.value.tm(v):{}}function Be(v,k){return i.value?i.value.te(v,k):!1}function me(v){return i.value?i.value.getLocaleMessage(v):{}}function Te(v,k){i.value&&(i.value.setLocaleMessage(v,k),u.value[v]=k)}function jA(v,k){i.value&&i.value.mergeLocaleMessage(v,k)}function fe(v){return i.value?i.value.getDateTimeFormat(v):{}}function it(v,k){i.value&&(i.value.setDateTimeFormat(v,k),d.value[v]=k)}function st(v,k){i.value&&i.value.mergeDateTimeFormat(v,k)}function ze(v){return i.value?i.value.getNumberFormat(v):{}}function ke(v,k){i.value&&(i.value.setNumberFormat(v,k),h.value[v]=k)}function ot(v,k){i.value&&i.value.mergeNumberFormat(v,k)}const It={get id(){return i.value?i.value.id:-1},locale:N,fallbackLocale:W,messages:J,datetimeFormats:eA,numberFormats:gA,get inheritLocale(){return i.value?i.value.inheritLocale:s},set inheritLocale(v){i.value&&(i.value.inheritLocale=v)},get availableLocales(){return i.value?i.value.availableLocales:Object.keys(u.value)},get modifiers(){return i.value?i.value.modifiers:F},get pluralRules(){return i.value?i.value.pluralRules:T},get isGlobal(){return i.value?i.value.isGlobal:!1},get missingWarn(){return i.value?i.value.missingWarn:B},set missingWarn(v){i.value&&(i.value.missingWarn=v)},get fallbackWarn(){return i.value?i.value.fallbackWarn:m},set fallbackWarn(v){i.value&&(i.value.missingWarn=v)},get fallbackRoot(){return i.value?i.value.fallbackRoot:C},set fallbackRoot(v){i.value&&(i.value.fallbackRoot=v)},get fallbackFormat(){return i.value?i.value.fallbackFormat:E},set fallbackFormat(v){i.value&&(i.value.fallbackFormat=v)},get warnHtmlMessage(){return i.value?i.value.warnHtmlMessage:b},set warnHtmlMessage(v){i.value&&(i.value.warnHtmlMessage=v)},get escapeParameter(){return i.value?i.value.escapeParameter:M},set escapeParameter(v){i.value&&(i.value.escapeParameter=v)},t:bA,getPostTranslationHandler:wA,setPostTranslationHandler:aA,getMissingHandler:HA,setMissingHandler:WA,rt:mA,d:re,n:ZA,tm:JA,te:Be,getLocaleMessage:me,setLocaleMessage:Te,mergeLocaleMessage:jA,getDateTimeFormat:fe,setDateTimeFormat:it,mergeDateTimeFormat:st,getNumberFormat:ze,setNumberFormat:ke,mergeNumberFormat:ot};function H(v){v.locale.value=a.value,v.fallbackLocale.value=c.value,Object.keys(u.value).forEach(k=>{v.mergeLocaleMessage(k,u.value[k])}),Object.keys(d.value).forEach(k=>{v.mergeDateTimeFormat(k,d.value[k])}),Object.keys(h.value).forEach(k=>{v.mergeNumberFormat(k,h.value[k])}),v.escapeParameter=M,v.fallbackFormat=E,v.fallbackRoot=C,v.fallbackWarn=m,v.missingWarn=B,v.warnHtmlMessage=b}return g.onBeforeMount(()=>{if(t.proxy==null||t.proxy.$i18n==null)throw Mn(ee.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const v=i.value=t.proxy.$i18n.__composer;A==="global"?(a.value=v.locale.value,c.value=v.fallbackLocale.value,u.value=v.messages.value,d.value=v.datetimeFormats.value,h.value=v.numberFormats.value):r&&H(v)}),It}if(G1(AS),W1(U1),J1(tB),oS(),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const t=Hs();t.__INTLIFY__=!0,O1(t.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const ES={class:"input input-dropdown"},FS={class:"dropdown"},US={class:"caption"},vS=["innerHTML"],bS={class:"caption__text"},IS=["innerHTML"],SS={class:"dropdown-menu"},TS={class:"form-check"},xS=["value","id","name","label","required","disabled"],HS=["value","id","name","label","required","disabled"],LS=["for"],OS=g.defineComponent({__name:"input-dropdown",props:{id:{type:String},name:{type:String},label:{type:String},error:{type:String},disabled:{type:Boolean,default:!1},readOnly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},modelValue:{type:null},value:{type:String},options:{type:Array,required:!0},multiple:{type:Boolean,default:!1},showSelectionCount:{type:Boolean,default:!1},toggleCaption:{type:String},placeholder:{type:String,default:""},icon:{default:"chevron-down",type:String},variant:{type:String,default:""},color:{type:String,default:""},outlined:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(t,{emit:A}){const e=t,{t:n}=pa(),r=g.computed({get(){return e.multiple&&!e.modelValue?[]:e.modelValue},set(a){A("update:modelValue",a)}}),i=g.computed(()=>e.options.map(a=>(a=typeof a=="string"?{text:a,value:a}:a,{...a,active:e.modelValue&&e.modelValue.includes(a.value)}))),s=g.computed(()=>e.modelValue&&e.modelValue.length?Array.isArray(e.modelValue)&&e.modelValue.length?i.value.reduce((a,c)=>e.modelValue.includes(c.value)?`${a}${a?", ":""}${c.text}`:a,""):i.value.reduce((a,c)=>c.value===e.modelValue?`${a}${c.text}`:a,""):e.placeholder||`<span class="text-muted">${n("common.select")}</span>`);return(a,c)=>{const u=g.resolveComponent("base-button");return g.openBlock(),g.createElementBlock("div",ES,[g.createElementVNode("div",FS,[g.createVNode(u,{"data-bs-toggle":"dropdown",role:"button",type:"button",title:g.unref(s),class:"btn dropdown-toggle",color:t.color,outlined:t.outlined,disabled:t.disabled},{default:g.withCtx(()=>[g.createElementVNode("span",US,[g.createVNode(g.Transition,{name:"bounce"},{default:g.withCtx(()=>[t.showSelectionCount&&t.modelValue.length?(g.openBlock(),g.createElementBlock("i",{key:0,class:"caption__count",innerHTML:t.modelValue.length},null,8,vS)):g.createCommentVNode("",!0)]),_:1}),g.createElementVNode("span",bS,[g.createElementVNode("span",{class:"d-block text-truncate",innerHTML:t.toggleCaption||g.unref(s)},null,8,IS)])])]),_:1},8,["title","color","outlined","disabled"]),g.createElementVNode("ul",SS,[(g.openBlock(!0),g.createElementBlock(g.Fragment,null,g.renderList(g.unref(i),(d,h)=>(g.openBlock(),g.createElementBlock("li",{key:`${d.value}-${h}`},[g.createElementVNode("div",{class:g.normalizeClass(["dropdown-item",d.active&&"active"])},[g.createElementVNode("div",TS,[t.multiple?g.withDirectives((g.openBlock(),g.createElementBlock("input",{type:"checkbox","onUpdate:modelValue":c[0]||(c[0]=B=>g.isRef(r)?r.value=B:null),value:d.value,key:`${t.name}-${d.value}-${h}__if`,id:`${t.name}-${d.value}-${h}`,name:t.name,label:d.text,required:t.required,disabled:d.selectable===!1,class:"form-check-input"},null,8,xS)),[[g.vModelCheckbox,g.unref(r)]]):g.withDirectives((g.openBlock(),g.createElementBlock("input",{type:"radio","onUpdate:modelValue":c[1]||(c[1]=B=>g.isRef(r)?r.value=B:null),value:d.value,key:`${t.name}-${d.value}-${h}__else`,id:`${t.name}-${d.value}-${h}`,name:t.name,label:d.text,required:t.required,disabled:d.selectable===!1,class:"form-check-input"},null,8,HS)),[[g.vModelRadio,g.unref(r)]]),g.createElementVNode("label",{class:"form-check-label flex-grow-1",onclick:"event.stopPropagation();",for:`${t.name}-${d.value}-${h}`},g.toDisplayString(d.text),9,LS)])],2)]))),128))])])])}}});var Ms=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ds={},_S={get exports(){return Ds},set exports(t){Ds=t}};/**
27
138
  * @license
28
139
  * Lodash <https://lodash.com/>
29
140
  * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
30
141
  * Released under MIT license <https://lodash.com/license>
31
142
  * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
32
143
  * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
33
- */(function(e,r){(function(){var t,a="4.17.21",s=200,o="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",l="Expected a function",B="Invalid `variable` option passed into `_.template`",c="__lodash_hash_undefined__",w=500,h="__lodash_placeholder__",Q=1,F=2,T=4,S=1,D=2,R=1,m=2,_=4,x=8,L=16,H=32,b=64,V=128,$=256,k=512,AA=30,fA="...",mA=800,sA=16,IA=1,PA=2,QA=3,pA=1/0,_A=9007199254740991,zA=17976931348623157e292,te=0/0,RA=4294967295,Ee=RA-1,ce=RA>>>1,me=[["ary",V],["bind",R],["bindKey",m],["curry",x],["curryRight",L],["flip",k],["partial",H],["partialRight",b],["rearg",$]],kA="[object Arguments]",Be="[object Array]",Ne="[object AsyncFunction]",Me="[object Boolean]",Re="[object Date]",pt="[object DOMException]",ze="[object Error]",Ft="[object Function]",I="[object GeneratorFunction]",U="[object Map]",K="[object Number]",Z="[object Null]",tA="[object Object]",UA="[object Promise]",je="[object Proxy]",Ie="[object RegExp]",Ve="[object Set]",SA="[object String]",M="[object Symbol]",X="[object Undefined]",jA="[object WeakMap]",fe="[object WeakSet]",Kt="[object ArrayBuffer]",ut="[object DataView]",Et="[object Float32Array]",ct="[object Float64Array]",On="[object Int8Array]",Wr="[object Int16Array]",eo="[object Int32Array]",to="[object Uint8Array]",ro="[object Uint8ClampedArray]",no="[object Uint16Array]",ao="[object Uint32Array]",cE=/\b__p \+= '';/g,BE=/\b(__p \+=) '' \+/g,fE=/(__e\(.*?\)|\b__t\)) \+\n'';/g,wB=/&(?:amp|lt|gt|quot|#39);/g,CB=/[&<>"']/g,gE=RegExp(wB.source),dE=RegExp(CB.source),wE=/<%-([\s\S]+?)%>/g,CE=/<%([\s\S]+?)%>/g,hB=/<%=([\s\S]+?)%>/g,hE=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,QE=/^\w*$/,UE=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,io=/[\\^$.*+?()[\]{}|]/g,pE=RegExp(io.source),so=/^\s+/,FE=/\s/,EE=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,mE=/\{\n\/\* \[wrapped with (.+)\] \*/,IE=/,? & /,vE=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,_E=/[()=,{}\[\]\/\s]/,yE=/\\(\\)?/g,HE=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,QB=/\w*$/,LE=/^[-+]0x[0-9a-f]+$/i,bE=/^0b[01]+$/i,TE=/^\[object .+?Constructor\]$/,DE=/^0o[0-7]+$/i,SE=/^(?:0|[1-9]\d*)$/,OE=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ja=/($^)/,KE=/['\n\r\u2028\u2029\\]/g,Ai="\\ud800-\\udfff",xE="\\u0300-\\u036f",NE="\\ufe20-\\ufe2f",ME="\\u20d0-\\u20ff",UB=xE+NE+ME,pB="\\u2700-\\u27bf",FB="a-z\\xdf-\\xf6\\xf8-\\xff",RE="\\xac\\xb1\\xd7\\xf7",VE="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",GE="\\u2000-\\u206f",PE=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",EB="A-Z\\xc0-\\xd6\\xd8-\\xde",mB="\\ufe0e\\ufe0f",IB=RE+VE+GE+PE,oo="['’]",kE="["+Ai+"]",vB="["+IB+"]",ei="["+UB+"]",_B="\\d+",WE="["+pB+"]",yB="["+FB+"]",HB="[^"+Ai+IB+_B+pB+FB+EB+"]",lo="\\ud83c[\\udffb-\\udfff]",XE="(?:"+ei+"|"+lo+")",LB="[^"+Ai+"]",uo="(?:\\ud83c[\\udde6-\\uddff]){2}",co="[\\ud800-\\udbff][\\udc00-\\udfff]",Xr="["+EB+"]",bB="\\u200d",TB="(?:"+yB+"|"+HB+")",YE="(?:"+Xr+"|"+HB+")",DB="(?:"+oo+"(?:d|ll|m|re|s|t|ve))?",SB="(?:"+oo+"(?:D|LL|M|RE|S|T|VE))?",OB=XE+"?",KB="["+mB+"]?",JE="(?:"+bB+"(?:"+[LB,uo,co].join("|")+")"+KB+OB+")*",$E="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ZE="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",xB=KB+OB+JE,qE="(?:"+[WE,uo,co].join("|")+")"+xB,zE="(?:"+[LB+ei+"?",ei,uo,co,kE].join("|")+")",jE=RegExp(oo,"g"),Am=RegExp(ei,"g"),Bo=RegExp(lo+"(?="+lo+")|"+zE+xB,"g"),em=RegExp([Xr+"?"+yB+"+"+DB+"(?="+[vB,Xr,"$"].join("|")+")",YE+"+"+SB+"(?="+[vB,Xr+TB,"$"].join("|")+")",Xr+"?"+TB+"+"+DB,Xr+"+"+SB,ZE,$E,_B,qE].join("|"),"g"),tm=RegExp("["+bB+Ai+UB+mB+"]"),rm=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,nm=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],am=-1,xA={};xA[Et]=xA[ct]=xA[On]=xA[Wr]=xA[eo]=xA[to]=xA[ro]=xA[no]=xA[ao]=!0,xA[kA]=xA[Be]=xA[Kt]=xA[Me]=xA[ut]=xA[Re]=xA[ze]=xA[Ft]=xA[U]=xA[K]=xA[tA]=xA[Ie]=xA[Ve]=xA[SA]=xA[jA]=!1;var OA={};OA[kA]=OA[Be]=OA[Kt]=OA[ut]=OA[Me]=OA[Re]=OA[Et]=OA[ct]=OA[On]=OA[Wr]=OA[eo]=OA[U]=OA[K]=OA[tA]=OA[Ie]=OA[Ve]=OA[SA]=OA[M]=OA[to]=OA[ro]=OA[no]=OA[ao]=!0,OA[ze]=OA[Ft]=OA[jA]=!1;var im={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",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#39;"},om={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},lm={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},um=parseFloat,cm=parseInt,NB=typeof Bn=="object"&&Bn&&Bn.Object===Object&&Bn,Bm=typeof self=="object"&&self&&self.Object===Object&&self,ge=NB||Bm||Function("return this")(),fo=r&&!r.nodeType&&r,Qr=fo&&!0&&e&&!e.nodeType&&e,MB=Qr&&Qr.exports===fo,go=MB&&NB.process,At=function(){try{var v=Qr&&Qr.require&&Qr.require("util").types;return v||go&&go.binding&&go.binding("util")}catch{}}(),RB=At&&At.isArrayBuffer,VB=At&&At.isDate,GB=At&&At.isMap,PB=At&&At.isRegExp,kB=At&&At.isSet,WB=At&&At.isTypedArray;function Ge(v,N,O){switch(O.length){case 0:return v.call(N);case 1:return v.call(N,O[0]);case 2:return v.call(N,O[0],O[1]);case 3:return v.call(N,O[0],O[1],O[2])}return v.apply(N,O)}function fm(v,N,O,z){for(var oA=-1,FA=v==null?0:v.length;++oA<FA;){var re=v[oA];N(z,re,O(re),v)}return z}function et(v,N){for(var O=-1,z=v==null?0:v.length;++O<z&&N(v[O],O,v)!==!1;);return v}function gm(v,N){for(var O=v==null?0:v.length;O--&&N(v[O],O,v)!==!1;);return v}function XB(v,N){for(var O=-1,z=v==null?0:v.length;++O<z;)if(!N(v[O],O,v))return!1;return!0}function nr(v,N){for(var O=-1,z=v==null?0:v.length,oA=0,FA=[];++O<z;){var re=v[O];N(re,O,v)&&(FA[oA++]=re)}return FA}function ti(v,N){var O=v==null?0:v.length;return!!O&&Yr(v,N,0)>-1}function wo(v,N,O){for(var z=-1,oA=v==null?0:v.length;++z<oA;)if(O(N,v[z]))return!0;return!1}function VA(v,N){for(var O=-1,z=v==null?0:v.length,oA=Array(z);++O<z;)oA[O]=N(v[O],O,v);return oA}function ar(v,N){for(var O=-1,z=N.length,oA=v.length;++O<z;)v[oA+O]=N[O];return v}function Co(v,N,O,z){var oA=-1,FA=v==null?0:v.length;for(z&&FA&&(O=v[++oA]);++oA<FA;)O=N(O,v[oA],oA,v);return O}function dm(v,N,O,z){var oA=v==null?0:v.length;for(z&&oA&&(O=v[--oA]);oA--;)O=N(O,v[oA],oA,v);return O}function ho(v,N){for(var O=-1,z=v==null?0:v.length;++O<z;)if(N(v[O],O,v))return!0;return!1}var wm=Qo("length");function Cm(v){return v.split("")}function hm(v){return v.match(vE)||[]}function YB(v,N,O){var z;return O(v,function(oA,FA,re){if(N(oA,FA,re))return z=FA,!1}),z}function ri(v,N,O,z){for(var oA=v.length,FA=O+(z?1:-1);z?FA--:++FA<oA;)if(N(v[FA],FA,v))return FA;return-1}function Yr(v,N,O){return N===N?Lm(v,N,O):ri(v,JB,O)}function Qm(v,N,O,z){for(var oA=O-1,FA=v.length;++oA<FA;)if(z(v[oA],N))return oA;return-1}function JB(v){return v!==v}function $B(v,N){var O=v==null?0:v.length;return O?po(v,N)/O:te}function Qo(v){return function(N){return N==null?t:N[v]}}function Uo(v){return function(N){return v==null?t:v[N]}}function ZB(v,N,O,z,oA){return oA(v,function(FA,re,TA){O=z?(z=!1,FA):N(O,FA,re,TA)}),O}function Um(v,N){var O=v.length;for(v.sort(N);O--;)v[O]=v[O].value;return v}function po(v,N){for(var O,z=-1,oA=v.length;++z<oA;){var FA=N(v[z]);FA!==t&&(O=O===t?FA:O+FA)}return O}function Fo(v,N){for(var O=-1,z=Array(v);++O<v;)z[O]=N(O);return z}function pm(v,N){return VA(N,function(O){return[O,v[O]]})}function qB(v){return v&&v.slice(0,ef(v)+1).replace(so,"")}function Pe(v){return function(N){return v(N)}}function Eo(v,N){return VA(N,function(O){return v[O]})}function Kn(v,N){return v.has(N)}function zB(v,N){for(var O=-1,z=v.length;++O<z&&Yr(N,v[O],0)>-1;);return O}function jB(v,N){for(var O=v.length;O--&&Yr(N,v[O],0)>-1;);return O}function Fm(v,N){for(var O=v.length,z=0;O--;)v[O]===N&&++z;return z}var Em=Uo(im),mm=Uo(sm);function Im(v){return"\\"+lm[v]}function vm(v,N){return v==null?t:v[N]}function Jr(v){return tm.test(v)}function _m(v){return rm.test(v)}function ym(v){for(var N,O=[];!(N=v.next()).done;)O.push(N.value);return O}function mo(v){var N=-1,O=Array(v.size);return v.forEach(function(z,oA){O[++N]=[oA,z]}),O}function Af(v,N){return function(O){return v(N(O))}}function ir(v,N){for(var O=-1,z=v.length,oA=0,FA=[];++O<z;){var re=v[O];(re===N||re===h)&&(v[O]=h,FA[oA++]=O)}return FA}function ni(v){var N=-1,O=Array(v.size);return v.forEach(function(z){O[++N]=z}),O}function Hm(v){var N=-1,O=Array(v.size);return v.forEach(function(z){O[++N]=[z,z]}),O}function Lm(v,N,O){for(var z=O-1,oA=v.length;++z<oA;)if(v[z]===N)return z;return-1}function bm(v,N,O){for(var z=O+1;z--;)if(v[z]===N)return z;return z}function $r(v){return Jr(v)?Dm(v):wm(v)}function Bt(v){return Jr(v)?Sm(v):Cm(v)}function ef(v){for(var N=v.length;N--&&FE.test(v.charAt(N)););return N}var Tm=Uo(om);function Dm(v){for(var N=Bo.lastIndex=0;Bo.test(v);)++N;return N}function Sm(v){return v.match(Bo)||[]}function Om(v){return v.match(em)||[]}var Km=function v(N){N=N==null?ge:Zr.defaults(ge.Object(),N,Zr.pick(ge,nm));var O=N.Array,z=N.Date,oA=N.Error,FA=N.Function,re=N.Math,TA=N.Object,Io=N.RegExp,xm=N.String,tt=N.TypeError,ai=O.prototype,Nm=FA.prototype,qr=TA.prototype,ii=N["__core-js_shared__"],si=Nm.toString,yA=qr.hasOwnProperty,Mm=0,tf=function(){var A=/[^.]+$/.exec(ii&&ii.keys&&ii.keys.IE_PROTO||"");return A?"Symbol(src)_1."+A:""}(),oi=qr.toString,Rm=si.call(TA),Vm=ge._,Gm=Io("^"+si.call(yA).replace(io,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),li=MB?N.Buffer:t,sr=N.Symbol,ui=N.Uint8Array,rf=li?li.allocUnsafe:t,ci=Af(TA.getPrototypeOf,TA),nf=TA.create,af=qr.propertyIsEnumerable,Bi=ai.splice,sf=sr?sr.isConcatSpreadable:t,xn=sr?sr.iterator:t,Ur=sr?sr.toStringTag:t,fi=function(){try{var A=Ir(TA,"defineProperty");return A({},"",{}),A}catch{}}(),Pm=N.clearTimeout!==ge.clearTimeout&&N.clearTimeout,km=z&&z.now!==ge.Date.now&&z.now,Wm=N.setTimeout!==ge.setTimeout&&N.setTimeout,gi=re.ceil,di=re.floor,vo=TA.getOwnPropertySymbols,Xm=li?li.isBuffer:t,of=N.isFinite,Ym=ai.join,Jm=Af(TA.keys,TA),ne=re.max,Qe=re.min,$m=z.now,Zm=N.parseInt,lf=re.random,qm=ai.reverse,_o=Ir(N,"DataView"),Nn=Ir(N,"Map"),yo=Ir(N,"Promise"),zr=Ir(N,"Set"),Mn=Ir(N,"WeakMap"),Rn=Ir(TA,"create"),wi=Mn&&new Mn,jr={},zm=vr(_o),jm=vr(Nn),AI=vr(yo),eI=vr(zr),tI=vr(Mn),Ci=sr?sr.prototype:t,Vn=Ci?Ci.valueOf:t,uf=Ci?Ci.toString:t;function d(A){if(WA(A)&&!lA(A)&&!(A instanceof CA)){if(A instanceof rt)return A;if(yA.call(A,"__wrapped__"))return cg(A)}return new rt(A)}var An=function(){function A(){}return function(n){if(!GA(n))return{};if(nf)return nf(n);A.prototype=n;var i=new A;return A.prototype=t,i}}();function hi(){}function rt(A,n){this.__wrapped__=A,this.__actions__=[],this.__chain__=!!n,this.__index__=0,this.__values__=t}d.templateSettings={escape:wE,evaluate:CE,interpolate:hB,variable:"",imports:{_:d}},d.prototype=hi.prototype,d.prototype.constructor=d,rt.prototype=An(hi.prototype),rt.prototype.constructor=rt;function CA(A){this.__wrapped__=A,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=RA,this.__views__=[]}function rI(){var A=new CA(this.__wrapped__);return A.__actions__=be(this.__actions__),A.__dir__=this.__dir__,A.__filtered__=this.__filtered__,A.__iteratees__=be(this.__iteratees__),A.__takeCount__=this.__takeCount__,A.__views__=be(this.__views__),A}function nI(){if(this.__filtered__){var A=new CA(this);A.__dir__=-1,A.__filtered__=!0}else A=this.clone(),A.__dir__*=-1;return A}function aI(){var A=this.__wrapped__.value(),n=this.__dir__,i=lA(A),u=n<0,g=i?A.length:0,C=Cv(0,g,this.__views__),p=C.start,E=C.end,y=E-p,G=u?E:p-1,P=this.__iteratees__,W=P.length,Y=0,eA=Qe(y,this.__takeCount__);if(!i||!u&&g==y&&eA==y)return Sf(A,this.__actions__);var nA=[];A:for(;y--&&Y<eA;){G+=n;for(var cA=-1,aA=A[G];++cA<W;){var gA=P[cA],hA=gA.iteratee,Xe=gA.type,ye=hA(aA);if(Xe==PA)aA=ye;else if(!ye){if(Xe==IA)continue A;break A}}nA[Y++]=aA}return nA}CA.prototype=An(hi.prototype),CA.prototype.constructor=CA;function pr(A){var n=-1,i=A==null?0:A.length;for(this.clear();++n<i;){var u=A[n];this.set(u[0],u[1])}}function iI(){this.__data__=Rn?Rn(null):{},this.size=0}function sI(A){var n=this.has(A)&&delete this.__data__[A];return this.size-=n?1:0,n}function oI(A){var n=this.__data__;if(Rn){var i=n[A];return i===c?t:i}return yA.call(n,A)?n[A]:t}function lI(A){var n=this.__data__;return Rn?n[A]!==t:yA.call(n,A)}function uI(A,n){var i=this.__data__;return this.size+=this.has(A)?0:1,i[A]=Rn&&n===t?c:n,this}pr.prototype.clear=iI,pr.prototype.delete=sI,pr.prototype.get=oI,pr.prototype.has=lI,pr.prototype.set=uI;function xt(A){var n=-1,i=A==null?0:A.length;for(this.clear();++n<i;){var u=A[n];this.set(u[0],u[1])}}function cI(){this.__data__=[],this.size=0}function BI(A){var n=this.__data__,i=Qi(n,A);if(i<0)return!1;var u=n.length-1;return i==u?n.pop():Bi.call(n,i,1),--this.size,!0}function fI(A){var n=this.__data__,i=Qi(n,A);return i<0?t:n[i][1]}function gI(A){return Qi(this.__data__,A)>-1}function dI(A,n){var i=this.__data__,u=Qi(i,A);return u<0?(++this.size,i.push([A,n])):i[u][1]=n,this}xt.prototype.clear=cI,xt.prototype.delete=BI,xt.prototype.get=fI,xt.prototype.has=gI,xt.prototype.set=dI;function Nt(A){var n=-1,i=A==null?0:A.length;for(this.clear();++n<i;){var u=A[n];this.set(u[0],u[1])}}function wI(){this.size=0,this.__data__={hash:new pr,map:new(Nn||xt),string:new pr}}function CI(A){var n=bi(this,A).delete(A);return this.size-=n?1:0,n}function hI(A){return bi(this,A).get(A)}function QI(A){return bi(this,A).has(A)}function UI(A,n){var i=bi(this,A),u=i.size;return i.set(A,n),this.size+=i.size==u?0:1,this}Nt.prototype.clear=wI,Nt.prototype.delete=CI,Nt.prototype.get=hI,Nt.prototype.has=QI,Nt.prototype.set=UI;function Fr(A){var n=-1,i=A==null?0:A.length;for(this.__data__=new Nt;++n<i;)this.add(A[n])}function pI(A){return this.__data__.set(A,c),this}function FI(A){return this.__data__.has(A)}Fr.prototype.add=Fr.prototype.push=pI,Fr.prototype.has=FI;function ft(A){var n=this.__data__=new xt(A);this.size=n.size}function EI(){this.__data__=new xt,this.size=0}function mI(A){var n=this.__data__,i=n.delete(A);return this.size=n.size,i}function II(A){return this.__data__.get(A)}function vI(A){return this.__data__.has(A)}function _I(A,n){var i=this.__data__;if(i instanceof xt){var u=i.__data__;if(!Nn||u.length<s-1)return u.push([A,n]),this.size=++i.size,this;i=this.__data__=new Nt(u)}return i.set(A,n),this.size=i.size,this}ft.prototype.clear=EI,ft.prototype.delete=mI,ft.prototype.get=II,ft.prototype.has=vI,ft.prototype.set=_I;function cf(A,n){var i=lA(A),u=!i&&_r(A),g=!i&&!u&&Br(A),C=!i&&!u&&!g&&nn(A),p=i||u||g||C,E=p?Fo(A.length,xm):[],y=E.length;for(var G in A)(n||yA.call(A,G))&&!(p&&(G=="length"||g&&(G=="offset"||G=="parent")||C&&(G=="buffer"||G=="byteLength"||G=="byteOffset")||Gt(G,y)))&&E.push(G);return E}function Bf(A){var n=A.length;return n?A[Mo(0,n-1)]:t}function yI(A,n){return Ti(be(A),Er(n,0,A.length))}function HI(A){return Ti(be(A))}function Ho(A,n,i){(i!==t&&!gt(A[n],i)||i===t&&!(n in A))&&Mt(A,n,i)}function Gn(A,n,i){var u=A[n];(!(yA.call(A,n)&&gt(u,i))||i===t&&!(n in A))&&Mt(A,n,i)}function Qi(A,n){for(var i=A.length;i--;)if(gt(A[i][0],n))return i;return-1}function LI(A,n,i,u){return or(A,function(g,C,p){n(u,g,i(g),p)}),u}function ff(A,n){return A&&It(n,se(n),A)}function bI(A,n){return A&&It(n,De(n),A)}function Mt(A,n,i){n=="__proto__"&&fi?fi(A,n,{configurable:!0,enumerable:!0,value:i,writable:!0}):A[n]=i}function Lo(A,n){for(var i=-1,u=n.length,g=O(u),C=A==null;++i<u;)g[i]=C?t:ul(A,n[i]);return g}function Er(A,n,i){return A===A&&(i!==t&&(A=A<=i?A:i),n!==t&&(A=A>=n?A:n)),A}function nt(A,n,i,u,g,C){var p,E=n&Q,y=n&F,G=n&T;if(i&&(p=g?i(A,u,g,C):i(A)),p!==t)return p;if(!GA(A))return A;var P=lA(A);if(P){if(p=Qv(A),!E)return be(A,p)}else{var W=Ue(A),Y=W==Ft||W==I;if(Br(A))return xf(A,E);if(W==tA||W==kA||Y&&!g){if(p=y||Y?{}:tg(A),!E)return y?ov(A,bI(p,A)):sv(A,ff(p,A))}else{if(!OA[W])return g?A:{};p=Uv(A,W,E)}}C||(C=new ft);var eA=C.get(A);if(eA)return eA;C.set(A,p),bg(A)?A.forEach(function(aA){p.add(nt(aA,n,i,aA,A,C))}):Hg(A)&&A.forEach(function(aA,gA){p.set(gA,nt(aA,n,i,gA,A,C))});var nA=G?y?Zo:$o:y?De:se,cA=P?t:nA(A);return et(cA||A,function(aA,gA){cA&&(gA=aA,aA=A[gA]),Gn(p,gA,nt(aA,n,i,gA,A,C))}),p}function TI(A){var n=se(A);return function(i){return gf(i,A,n)}}function gf(A,n,i){var u=i.length;if(A==null)return!u;for(A=TA(A);u--;){var g=i[u],C=n[g],p=A[g];if(p===t&&!(g in A)||!C(p))return!1}return!0}function df(A,n,i){if(typeof A!="function")throw new tt(l);return $n(function(){A.apply(t,i)},n)}function Pn(A,n,i,u){var g=-1,C=ti,p=!0,E=A.length,y=[],G=n.length;if(!E)return y;i&&(n=VA(n,Pe(i))),u?(C=wo,p=!1):n.length>=s&&(C=Kn,p=!1,n=new Fr(n));A:for(;++g<E;){var P=A[g],W=i==null?P:i(P);if(P=u||P!==0?P:0,p&&W===W){for(var Y=G;Y--;)if(n[Y]===W)continue A;y.push(P)}else C(n,W,u)||y.push(P)}return y}var or=Gf(mt),wf=Gf(To,!0);function DI(A,n){var i=!0;return or(A,function(u,g,C){return i=!!n(u,g,C),i}),i}function Ui(A,n,i){for(var u=-1,g=A.length;++u<g;){var C=A[u],p=n(C);if(p!=null&&(E===t?p===p&&!We(p):i(p,E)))var E=p,y=C}return y}function SI(A,n,i,u){var g=A.length;for(i=uA(i),i<0&&(i=-i>g?0:g+i),u=u===t||u>g?g:uA(u),u<0&&(u+=g),u=i>u?0:Dg(u);i<u;)A[i++]=n;return A}function Cf(A,n){var i=[];return or(A,function(u,g,C){n(u,g,C)&&i.push(u)}),i}function de(A,n,i,u,g){var C=-1,p=A.length;for(i||(i=Fv),g||(g=[]);++C<p;){var E=A[C];n>0&&i(E)?n>1?de(E,n-1,i,u,g):ar(g,E):u||(g[g.length]=E)}return g}var bo=Pf(),hf=Pf(!0);function mt(A,n){return A&&bo(A,n,se)}function To(A,n){return A&&hf(A,n,se)}function pi(A,n){return nr(n,function(i){return Pt(A[i])})}function mr(A,n){n=ur(n,A);for(var i=0,u=n.length;A!=null&&i<u;)A=A[vt(n[i++])];return i&&i==u?A:t}function Qf(A,n,i){var u=n(A);return lA(A)?u:ar(u,i(A))}function ve(A){return A==null?A===t?X:Z:Ur&&Ur in TA(A)?wv(A):Hv(A)}function Do(A,n){return A>n}function OI(A,n){return A!=null&&yA.call(A,n)}function KI(A,n){return A!=null&&n in TA(A)}function xI(A,n,i){return A>=Qe(n,i)&&A<ne(n,i)}function So(A,n,i){for(var u=i?wo:ti,g=A[0].length,C=A.length,p=C,E=O(C),y=1/0,G=[];p--;){var P=A[p];p&&n&&(P=VA(P,Pe(n))),y=Qe(P.length,y),E[p]=!i&&(n||g>=120&&P.length>=120)?new Fr(p&&P):t}P=A[0];var W=-1,Y=E[0];A:for(;++W<g&&G.length<y;){var eA=P[W],nA=n?n(eA):eA;if(eA=i||eA!==0?eA:0,!(Y?Kn(Y,nA):u(G,nA,i))){for(p=C;--p;){var cA=E[p];if(!(cA?Kn(cA,nA):u(A[p],nA,i)))continue A}Y&&Y.push(nA),G.push(eA)}}return G}function NI(A,n,i,u){return mt(A,function(g,C,p){n(u,i(g),C,p)}),u}function kn(A,n,i){n=ur(n,A),A=ig(A,n);var u=A==null?A:A[vt(it(n))];return u==null?t:Ge(u,A,i)}function Uf(A){return WA(A)&&ve(A)==kA}function MI(A){return WA(A)&&ve(A)==Kt}function RI(A){return WA(A)&&ve(A)==Re}function Wn(A,n,i,u,g){return A===n?!0:A==null||n==null||!WA(A)&&!WA(n)?A!==A&&n!==n:VI(A,n,i,u,Wn,g)}function VI(A,n,i,u,g,C){var p=lA(A),E=lA(n),y=p?Be:Ue(A),G=E?Be:Ue(n);y=y==kA?tA:y,G=G==kA?tA:G;var P=y==tA,W=G==tA,Y=y==G;if(Y&&Br(A)){if(!Br(n))return!1;p=!0,P=!1}if(Y&&!P)return C||(C=new ft),p||nn(A)?jf(A,n,i,u,g,C):gv(A,n,y,i,u,g,C);if(!(i&S)){var eA=P&&yA.call(A,"__wrapped__"),nA=W&&yA.call(n,"__wrapped__");if(eA||nA){var cA=eA?A.value():A,aA=nA?n.value():n;return C||(C=new ft),g(cA,aA,i,u,C)}}return Y?(C||(C=new ft),dv(A,n,i,u,g,C)):!1}function GI(A){return WA(A)&&Ue(A)==U}function Oo(A,n,i,u){var g=i.length,C=g,p=!u;if(A==null)return!C;for(A=TA(A);g--;){var E=i[g];if(p&&E[2]?E[1]!==A[E[0]]:!(E[0]in A))return!1}for(;++g<C;){E=i[g];var y=E[0],G=A[y],P=E[1];if(p&&E[2]){if(G===t&&!(y in A))return!1}else{var W=new ft;if(u)var Y=u(G,P,y,A,n,W);if(!(Y===t?Wn(P,G,S|D,u,W):Y))return!1}}return!0}function pf(A){if(!GA(A)||mv(A))return!1;var n=Pt(A)?Gm:TE;return n.test(vr(A))}function PI(A){return WA(A)&&ve(A)==Ie}function kI(A){return WA(A)&&Ue(A)==Ve}function WI(A){return WA(A)&&Ni(A.length)&&!!xA[ve(A)]}function Ff(A){return typeof A=="function"?A:A==null?Se:typeof A=="object"?lA(A)?If(A[0],A[1]):mf(A):kg(A)}function Ko(A){if(!Jn(A))return Jm(A);var n=[];for(var i in TA(A))yA.call(A,i)&&i!="constructor"&&n.push(i);return n}function XI(A){if(!GA(A))return yv(A);var n=Jn(A),i=[];for(var u in A)u=="constructor"&&(n||!yA.call(A,u))||i.push(u);return i}function xo(A,n){return A<n}function Ef(A,n){var i=-1,u=Te(A)?O(A.length):[];return or(A,function(g,C,p){u[++i]=n(g,C,p)}),u}function mf(A){var n=zo(A);return n.length==1&&n[0][2]?ng(n[0][0],n[0][1]):function(i){return i===A||Oo(i,A,n)}}function If(A,n){return Al(A)&&rg(n)?ng(vt(A),n):function(i){var u=ul(i,A);return u===t&&u===n?cl(i,A):Wn(n,u,S|D)}}function Fi(A,n,i,u,g){A!==n&&bo(n,function(C,p){if(g||(g=new ft),GA(C))YI(A,n,p,i,Fi,u,g);else{var E=u?u(tl(A,p),C,p+"",A,n,g):t;E===t&&(E=C),Ho(A,p,E)}},De)}function YI(A,n,i,u,g,C,p){var E=tl(A,i),y=tl(n,i),G=p.get(y);if(G){Ho(A,i,G);return}var P=C?C(E,y,i+"",A,n,p):t,W=P===t;if(W){var Y=lA(y),eA=!Y&&Br(y),nA=!Y&&!eA&&nn(y);P=y,Y||eA||nA?lA(E)?P=E:$A(E)?P=be(E):eA?(W=!1,P=xf(y,!0)):nA?(W=!1,P=Nf(y,!0)):P=[]:Zn(y)||_r(y)?(P=E,_r(E)?P=Sg(E):(!GA(E)||Pt(E))&&(P=tg(y))):W=!1}W&&(p.set(y,P),g(P,y,u,C,p),p.delete(y)),Ho(A,i,P)}function vf(A,n){var i=A.length;if(i)return n+=n<0?i:0,Gt(n,i)?A[n]:t}function _f(A,n,i){n.length?n=VA(n,function(C){return lA(C)?function(p){return mr(p,C.length===1?C[0]:C)}:C}):n=[Se];var u=-1;n=VA(n,Pe(rA()));var g=Ef(A,function(C,p,E){var y=VA(n,function(G){return G(C)});return{criteria:y,index:++u,value:C}});return Um(g,function(C,p){return iv(C,p,i)})}function JI(A,n){return yf(A,n,function(i,u){return cl(A,u)})}function yf(A,n,i){for(var u=-1,g=n.length,C={};++u<g;){var p=n[u],E=mr(A,p);i(E,p)&&Xn(C,ur(p,A),E)}return C}function $I(A){return function(n){return mr(n,A)}}function No(A,n,i,u){var g=u?Qm:Yr,C=-1,p=n.length,E=A;for(A===n&&(n=be(n)),i&&(E=VA(A,Pe(i)));++C<p;)for(var y=0,G=n[C],P=i?i(G):G;(y=g(E,P,y,u))>-1;)E!==A&&Bi.call(E,y,1),Bi.call(A,y,1);return A}function Hf(A,n){for(var i=A?n.length:0,u=i-1;i--;){var g=n[i];if(i==u||g!==C){var C=g;Gt(g)?Bi.call(A,g,1):Go(A,g)}}return A}function Mo(A,n){return A+di(lf()*(n-A+1))}function ZI(A,n,i,u){for(var g=-1,C=ne(gi((n-A)/(i||1)),0),p=O(C);C--;)p[u?C:++g]=A,A+=i;return p}function Ro(A,n){var i="";if(!A||n<1||n>_A)return i;do n%2&&(i+=A),n=di(n/2),n&&(A+=A);while(n);return i}function BA(A,n){return rl(ag(A,n,Se),A+"")}function qI(A){return Bf(an(A))}function zI(A,n){var i=an(A);return Ti(i,Er(n,0,i.length))}function Xn(A,n,i,u){if(!GA(A))return A;n=ur(n,A);for(var g=-1,C=n.length,p=C-1,E=A;E!=null&&++g<C;){var y=vt(n[g]),G=i;if(y==="__proto__"||y==="constructor"||y==="prototype")return A;if(g!=p){var P=E[y];G=u?u(P,y,E):t,G===t&&(G=GA(P)?P:Gt(n[g+1])?[]:{})}Gn(E,y,G),E=E[y]}return A}var Lf=wi?function(A,n){return wi.set(A,n),A}:Se,jI=fi?function(A,n){return fi(A,"toString",{configurable:!0,enumerable:!1,value:fl(n),writable:!0})}:Se;function Av(A){return Ti(an(A))}function at(A,n,i){var u=-1,g=A.length;n<0&&(n=-n>g?0:g+n),i=i>g?g:i,i<0&&(i+=g),g=n>i?0:i-n>>>0,n>>>=0;for(var C=O(g);++u<g;)C[u]=A[u+n];return C}function ev(A,n){var i;return or(A,function(u,g,C){return i=n(u,g,C),!i}),!!i}function Ei(A,n,i){var u=0,g=A==null?u:A.length;if(typeof n=="number"&&n===n&&g<=ce){for(;u<g;){var C=u+g>>>1,p=A[C];p!==null&&!We(p)&&(i?p<=n:p<n)?u=C+1:g=C}return g}return Vo(A,n,Se,i)}function Vo(A,n,i,u){var g=0,C=A==null?0:A.length;if(C===0)return 0;n=i(n);for(var p=n!==n,E=n===null,y=We(n),G=n===t;g<C;){var P=di((g+C)/2),W=i(A[P]),Y=W!==t,eA=W===null,nA=W===W,cA=We(W);if(p)var aA=u||nA;else G?aA=nA&&(u||Y):E?aA=nA&&Y&&(u||!eA):y?aA=nA&&Y&&!eA&&(u||!cA):eA||cA?aA=!1:aA=u?W<=n:W<n;aA?g=P+1:C=P}return Qe(C,Ee)}function bf(A,n){for(var i=-1,u=A.length,g=0,C=[];++i<u;){var p=A[i],E=n?n(p):p;if(!i||!gt(E,y)){var y=E;C[g++]=p===0?0:p}}return C}function Tf(A){return typeof A=="number"?A:We(A)?te:+A}function ke(A){if(typeof A=="string")return A;if(lA(A))return VA(A,ke)+"";if(We(A))return uf?uf.call(A):"";var n=A+"";return n=="0"&&1/A==-pA?"-0":n}function lr(A,n,i){var u=-1,g=ti,C=A.length,p=!0,E=[],y=E;if(i)p=!1,g=wo;else if(C>=s){var G=n?null:Bv(A);if(G)return ni(G);p=!1,g=Kn,y=new Fr}else y=n?[]:E;A:for(;++u<C;){var P=A[u],W=n?n(P):P;if(P=i||P!==0?P:0,p&&W===W){for(var Y=y.length;Y--;)if(y[Y]===W)continue A;n&&y.push(W),E.push(P)}else g(y,W,i)||(y!==E&&y.push(W),E.push(P))}return E}function Go(A,n){return n=ur(n,A),A=ig(A,n),A==null||delete A[vt(it(n))]}function Df(A,n,i,u){return Xn(A,n,i(mr(A,n)),u)}function mi(A,n,i,u){for(var g=A.length,C=u?g:-1;(u?C--:++C<g)&&n(A[C],C,A););return i?at(A,u?0:C,u?C+1:g):at(A,u?C+1:0,u?g:C)}function Sf(A,n){var i=A;return i instanceof CA&&(i=i.value()),Co(n,function(u,g){return g.func.apply(g.thisArg,ar([u],g.args))},i)}function Po(A,n,i){var u=A.length;if(u<2)return u?lr(A[0]):[];for(var g=-1,C=O(u);++g<u;)for(var p=A[g],E=-1;++E<u;)E!=g&&(C[g]=Pn(C[g]||p,A[E],n,i));return lr(de(C,1),n,i)}function Of(A,n,i){for(var u=-1,g=A.length,C=n.length,p={};++u<g;){var E=u<C?n[u]:t;i(p,A[u],E)}return p}function ko(A){return $A(A)?A:[]}function Wo(A){return typeof A=="function"?A:Se}function ur(A,n){return lA(A)?A:Al(A,n)?[A]:ug(vA(A))}var tv=BA;function cr(A,n,i){var u=A.length;return i=i===t?u:i,!n&&i>=u?A:at(A,n,i)}var Kf=Pm||function(A){return ge.clearTimeout(A)};function xf(A,n){if(n)return A.slice();var i=A.length,u=rf?rf(i):new A.constructor(i);return A.copy(u),u}function Xo(A){var n=new A.constructor(A.byteLength);return new ui(n).set(new ui(A)),n}function rv(A,n){var i=n?Xo(A.buffer):A.buffer;return new A.constructor(i,A.byteOffset,A.byteLength)}function nv(A){var n=new A.constructor(A.source,QB.exec(A));return n.lastIndex=A.lastIndex,n}function av(A){return Vn?TA(Vn.call(A)):{}}function Nf(A,n){var i=n?Xo(A.buffer):A.buffer;return new A.constructor(i,A.byteOffset,A.length)}function Mf(A,n){if(A!==n){var i=A!==t,u=A===null,g=A===A,C=We(A),p=n!==t,E=n===null,y=n===n,G=We(n);if(!E&&!G&&!C&&A>n||C&&p&&y&&!E&&!G||u&&p&&y||!i&&y||!g)return 1;if(!u&&!C&&!G&&A<n||G&&i&&g&&!u&&!C||E&&i&&g||!p&&g||!y)return-1}return 0}function iv(A,n,i){for(var u=-1,g=A.criteria,C=n.criteria,p=g.length,E=i.length;++u<p;){var y=Mf(g[u],C[u]);if(y){if(u>=E)return y;var G=i[u];return y*(G=="desc"?-1:1)}}return A.index-n.index}function Rf(A,n,i,u){for(var g=-1,C=A.length,p=i.length,E=-1,y=n.length,G=ne(C-p,0),P=O(y+G),W=!u;++E<y;)P[E]=n[E];for(;++g<p;)(W||g<C)&&(P[i[g]]=A[g]);for(;G--;)P[E++]=A[g++];return P}function Vf(A,n,i,u){for(var g=-1,C=A.length,p=-1,E=i.length,y=-1,G=n.length,P=ne(C-E,0),W=O(P+G),Y=!u;++g<P;)W[g]=A[g];for(var eA=g;++y<G;)W[eA+y]=n[y];for(;++p<E;)(Y||g<C)&&(W[eA+i[p]]=A[g++]);return W}function be(A,n){var i=-1,u=A.length;for(n||(n=O(u));++i<u;)n[i]=A[i];return n}function It(A,n,i,u){var g=!i;i||(i={});for(var C=-1,p=n.length;++C<p;){var E=n[C],y=u?u(i[E],A[E],E,i,A):t;y===t&&(y=A[E]),g?Mt(i,E,y):Gn(i,E,y)}return i}function sv(A,n){return It(A,jo(A),n)}function ov(A,n){return It(A,Ag(A),n)}function Ii(A,n){return function(i,u){var g=lA(i)?fm:LI,C=n?n():{};return g(i,A,rA(u,2),C)}}function en(A){return BA(function(n,i){var u=-1,g=i.length,C=g>1?i[g-1]:t,p=g>2?i[2]:t;for(C=A.length>3&&typeof C=="function"?(g--,C):t,p&&_e(i[0],i[1],p)&&(C=g<3?t:C,g=1),n=TA(n);++u<g;){var E=i[u];E&&A(n,E,u,C)}return n})}function Gf(A,n){return function(i,u){if(i==null)return i;if(!Te(i))return A(i,u);for(var g=i.length,C=n?g:-1,p=TA(i);(n?C--:++C<g)&&u(p[C],C,p)!==!1;);return i}}function Pf(A){return function(n,i,u){for(var g=-1,C=TA(n),p=u(n),E=p.length;E--;){var y=p[A?E:++g];if(i(C[y],y,C)===!1)break}return n}}function lv(A,n,i){var u=n&R,g=Yn(A);function C(){var p=this&&this!==ge&&this instanceof C?g:A;return p.apply(u?i:this,arguments)}return C}function kf(A){return function(n){n=vA(n);var i=Jr(n)?Bt(n):t,u=i?i[0]:n.charAt(0),g=i?cr(i,1).join(""):n.slice(1);return u[A]()+g}}function tn(A){return function(n){return Co(Gg(Vg(n).replace(jE,"")),A,"")}}function Yn(A){return function(){var n=arguments;switch(n.length){case 0:return new A;case 1:return new A(n[0]);case 2:return new A(n[0],n[1]);case 3:return new A(n[0],n[1],n[2]);case 4:return new A(n[0],n[1],n[2],n[3]);case 5:return new A(n[0],n[1],n[2],n[3],n[4]);case 6:return new A(n[0],n[1],n[2],n[3],n[4],n[5]);case 7:return new A(n[0],n[1],n[2],n[3],n[4],n[5],n[6])}var i=An(A.prototype),u=A.apply(i,n);return GA(u)?u:i}}function uv(A,n,i){var u=Yn(A);function g(){for(var C=arguments.length,p=O(C),E=C,y=rn(g);E--;)p[E]=arguments[E];var G=C<3&&p[0]!==y&&p[C-1]!==y?[]:ir(p,y);if(C-=G.length,C<i)return $f(A,n,vi,g.placeholder,t,p,G,t,t,i-C);var P=this&&this!==ge&&this instanceof g?u:A;return Ge(P,this,p)}return g}function Wf(A){return function(n,i,u){var g=TA(n);if(!Te(n)){var C=rA(i,3);n=se(n),i=function(E){return C(g[E],E,g)}}var p=A(n,i,u);return p>-1?g[C?n[p]:p]:t}}function Xf(A){return Vt(function(n){var i=n.length,u=i,g=rt.prototype.thru;for(A&&n.reverse();u--;){var C=n[u];if(typeof C!="function")throw new tt(l);if(g&&!p&&Li(C)=="wrapper")var p=new rt([],!0)}for(u=p?u:i;++u<i;){C=n[u];var E=Li(C),y=E=="wrapper"?qo(C):t;y&&el(y[0])&&y[1]==(V|x|H|$)&&!y[4].length&&y[9]==1?p=p[Li(y[0])].apply(p,y[3]):p=C.length==1&&el(C)?p[E]():p.thru(C)}return function(){var G=arguments,P=G[0];if(p&&G.length==1&&lA(P))return p.plant(P).value();for(var W=0,Y=i?n[W].apply(this,G):P;++W<i;)Y=n[W].call(this,Y);return Y}})}function vi(A,n,i,u,g,C,p,E,y,G){var P=n&V,W=n&R,Y=n&m,eA=n&(x|L),nA=n&k,cA=Y?t:Yn(A);function aA(){for(var gA=arguments.length,hA=O(gA),Xe=gA;Xe--;)hA[Xe]=arguments[Xe];if(eA)var ye=rn(aA),Ye=Fm(hA,ye);if(u&&(hA=Rf(hA,u,g,eA)),C&&(hA=Vf(hA,C,p,eA)),gA-=Ye,eA&&gA<G){var ZA=ir(hA,ye);return $f(A,n,vi,aA.placeholder,i,hA,ZA,E,y,G-gA)}var dt=W?i:this,Wt=Y?dt[A]:A;return gA=hA.length,E?hA=Lv(hA,E):nA&&gA>1&&hA.reverse(),P&&y<gA&&(hA.length=y),this&&this!==ge&&this instanceof aA&&(Wt=cA||Yn(Wt)),Wt.apply(dt,hA)}return aA}function Yf(A,n){return function(i,u){return NI(i,A,n(u),{})}}function _i(A,n){return function(i,u){var g;if(i===t&&u===t)return n;if(i!==t&&(g=i),u!==t){if(g===t)return u;typeof i=="string"||typeof u=="string"?(i=ke(i),u=ke(u)):(i=Tf(i),u=Tf(u)),g=A(i,u)}return g}}function Yo(A){return Vt(function(n){return n=VA(n,Pe(rA())),BA(function(i){var u=this;return A(n,function(g){return Ge(g,u,i)})})})}function yi(A,n){n=n===t?" ":ke(n);var i=n.length;if(i<2)return i?Ro(n,A):n;var u=Ro(n,gi(A/$r(n)));return Jr(n)?cr(Bt(u),0,A).join(""):u.slice(0,A)}function cv(A,n,i,u){var g=n&R,C=Yn(A);function p(){for(var E=-1,y=arguments.length,G=-1,P=u.length,W=O(P+y),Y=this&&this!==ge&&this instanceof p?C:A;++G<P;)W[G]=u[G];for(;y--;)W[G++]=arguments[++E];return Ge(Y,g?i:this,W)}return p}function Jf(A){return function(n,i,u){return u&&typeof u!="number"&&_e(n,i,u)&&(i=u=t),n=kt(n),i===t?(i=n,n=0):i=kt(i),u=u===t?n<i?1:-1:kt(u),ZI(n,i,u,A)}}function Hi(A){return function(n,i){return typeof n=="string"&&typeof i=="string"||(n=st(n),i=st(i)),A(n,i)}}function $f(A,n,i,u,g,C,p,E,y,G){var P=n&x,W=P?p:t,Y=P?t:p,eA=P?C:t,nA=P?t:C;n|=P?H:b,n&=~(P?b:H),n&_||(n&=~(R|m));var cA=[A,n,g,eA,W,nA,Y,E,y,G],aA=i.apply(t,cA);return el(A)&&sg(aA,cA),aA.placeholder=u,og(aA,A,n)}function Jo(A){var n=re[A];return function(i,u){if(i=st(i),u=u==null?0:Qe(uA(u),292),u&&of(i)){var g=(vA(i)+"e").split("e"),C=n(g[0]+"e"+(+g[1]+u));return g=(vA(C)+"e").split("e"),+(g[0]+"e"+(+g[1]-u))}return n(i)}}var Bv=zr&&1/ni(new zr([,-0]))[1]==pA?function(A){return new zr(A)}:wl;function Zf(A){return function(n){var i=Ue(n);return i==U?mo(n):i==Ve?Hm(n):pm(n,A(n))}}function Rt(A,n,i,u,g,C,p,E){var y=n&m;if(!y&&typeof A!="function")throw new tt(l);var G=u?u.length:0;if(G||(n&=~(H|b),u=g=t),p=p===t?p:ne(uA(p),0),E=E===t?E:uA(E),G-=g?g.length:0,n&b){var P=u,W=g;u=g=t}var Y=y?t:qo(A),eA=[A,n,i,u,g,P,W,C,p,E];if(Y&&_v(eA,Y),A=eA[0],n=eA[1],i=eA[2],u=eA[3],g=eA[4],E=eA[9]=eA[9]===t?y?0:A.length:ne(eA[9]-G,0),!E&&n&(x|L)&&(n&=~(x|L)),!n||n==R)var nA=lv(A,n,i);else n==x||n==L?nA=uv(A,n,E):(n==H||n==(R|H))&&!g.length?nA=cv(A,n,i,u):nA=vi.apply(t,eA);var cA=Y?Lf:sg;return og(cA(nA,eA),A,n)}function qf(A,n,i,u){return A===t||gt(A,qr[i])&&!yA.call(u,i)?n:A}function zf(A,n,i,u,g,C){return GA(A)&&GA(n)&&(C.set(n,A),Fi(A,n,t,zf,C),C.delete(n)),A}function fv(A){return Zn(A)?t:A}function jf(A,n,i,u,g,C){var p=i&S,E=A.length,y=n.length;if(E!=y&&!(p&&y>E))return!1;var G=C.get(A),P=C.get(n);if(G&&P)return G==n&&P==A;var W=-1,Y=!0,eA=i&D?new Fr:t;for(C.set(A,n),C.set(n,A);++W<E;){var nA=A[W],cA=n[W];if(u)var aA=p?u(cA,nA,W,n,A,C):u(nA,cA,W,A,n,C);if(aA!==t){if(aA)continue;Y=!1;break}if(eA){if(!ho(n,function(gA,hA){if(!Kn(eA,hA)&&(nA===gA||g(nA,gA,i,u,C)))return eA.push(hA)})){Y=!1;break}}else if(!(nA===cA||g(nA,cA,i,u,C))){Y=!1;break}}return C.delete(A),C.delete(n),Y}function gv(A,n,i,u,g,C,p){switch(i){case ut:if(A.byteLength!=n.byteLength||A.byteOffset!=n.byteOffset)return!1;A=A.buffer,n=n.buffer;case Kt:return!(A.byteLength!=n.byteLength||!C(new ui(A),new ui(n)));case Me:case Re:case K:return gt(+A,+n);case ze:return A.name==n.name&&A.message==n.message;case Ie:case SA:return A==n+"";case U:var E=mo;case Ve:var y=u&S;if(E||(E=ni),A.size!=n.size&&!y)return!1;var G=p.get(A);if(G)return G==n;u|=D,p.set(A,n);var P=jf(E(A),E(n),u,g,C,p);return p.delete(A),P;case M:if(Vn)return Vn.call(A)==Vn.call(n)}return!1}function dv(A,n,i,u,g,C){var p=i&S,E=$o(A),y=E.length,G=$o(n),P=G.length;if(y!=P&&!p)return!1;for(var W=y;W--;){var Y=E[W];if(!(p?Y in n:yA.call(n,Y)))return!1}var eA=C.get(A),nA=C.get(n);if(eA&&nA)return eA==n&&nA==A;var cA=!0;C.set(A,n),C.set(n,A);for(var aA=p;++W<y;){Y=E[W];var gA=A[Y],hA=n[Y];if(u)var Xe=p?u(hA,gA,Y,n,A,C):u(gA,hA,Y,A,n,C);if(!(Xe===t?gA===hA||g(gA,hA,i,u,C):Xe)){cA=!1;break}aA||(aA=Y=="constructor")}if(cA&&!aA){var ye=A.constructor,Ye=n.constructor;ye!=Ye&&"constructor"in A&&"constructor"in n&&!(typeof ye=="function"&&ye instanceof ye&&typeof Ye=="function"&&Ye instanceof Ye)&&(cA=!1)}return C.delete(A),C.delete(n),cA}function Vt(A){return rl(ag(A,t,gg),A+"")}function $o(A){return Qf(A,se,jo)}function Zo(A){return Qf(A,De,Ag)}var qo=wi?function(A){return wi.get(A)}:wl;function Li(A){for(var n=A.name+"",i=jr[n],u=yA.call(jr,n)?i.length:0;u--;){var g=i[u],C=g.func;if(C==null||C==A)return g.name}return n}function rn(A){var n=yA.call(d,"placeholder")?d:A;return n.placeholder}function rA(){var A=d.iteratee||gl;return A=A===gl?Ff:A,arguments.length?A(arguments[0],arguments[1]):A}function bi(A,n){var i=A.__data__;return Ev(n)?i[typeof n=="string"?"string":"hash"]:i.map}function zo(A){for(var n=se(A),i=n.length;i--;){var u=n[i],g=A[u];n[i]=[u,g,rg(g)]}return n}function Ir(A,n){var i=vm(A,n);return pf(i)?i:t}function wv(A){var n=yA.call(A,Ur),i=A[Ur];try{A[Ur]=t;var u=!0}catch{}var g=oi.call(A);return u&&(n?A[Ur]=i:delete A[Ur]),g}var jo=vo?function(A){return A==null?[]:(A=TA(A),nr(vo(A),function(n){return af.call(A,n)}))}:Cl,Ag=vo?function(A){for(var n=[];A;)ar(n,jo(A)),A=ci(A);return n}:Cl,Ue=ve;(_o&&Ue(new _o(new ArrayBuffer(1)))!=ut||Nn&&Ue(new Nn)!=U||yo&&Ue(yo.resolve())!=UA||zr&&Ue(new zr)!=Ve||Mn&&Ue(new Mn)!=jA)&&(Ue=function(A){var n=ve(A),i=n==tA?A.constructor:t,u=i?vr(i):"";if(u)switch(u){case zm:return ut;case jm:return U;case AI:return UA;case eI:return Ve;case tI:return jA}return n});function Cv(A,n,i){for(var u=-1,g=i.length;++u<g;){var C=i[u],p=C.size;switch(C.type){case"drop":A+=p;break;case"dropRight":n-=p;break;case"take":n=Qe(n,A+p);break;case"takeRight":A=ne(A,n-p);break}}return{start:A,end:n}}function hv(A){var n=A.match(mE);return n?n[1].split(IE):[]}function eg(A,n,i){n=ur(n,A);for(var u=-1,g=n.length,C=!1;++u<g;){var p=vt(n[u]);if(!(C=A!=null&&i(A,p)))break;A=A[p]}return C||++u!=g?C:(g=A==null?0:A.length,!!g&&Ni(g)&&Gt(p,g)&&(lA(A)||_r(A)))}function Qv(A){var n=A.length,i=new A.constructor(n);return n&&typeof A[0]=="string"&&yA.call(A,"index")&&(i.index=A.index,i.input=A.input),i}function tg(A){return typeof A.constructor=="function"&&!Jn(A)?An(ci(A)):{}}function Uv(A,n,i){var u=A.constructor;switch(n){case Kt:return Xo(A);case Me:case Re:return new u(+A);case ut:return rv(A,i);case Et:case ct:case On:case Wr:case eo:case to:case ro:case no:case ao:return Nf(A,i);case U:return new u;case K:case SA:return new u(A);case Ie:return nv(A);case Ve:return new u;case M:return av(A)}}function pv(A,n){var i=n.length;if(!i)return A;var u=i-1;return n[u]=(i>1?"& ":"")+n[u],n=n.join(i>2?", ":" "),A.replace(EE,`{
34
- /* [wrapped with `+n+`] */
35
- `)}function Fv(A){return lA(A)||_r(A)||!!(sf&&A&&A[sf])}function Gt(A,n){var i=typeof A;return n=n??_A,!!n&&(i=="number"||i!="symbol"&&SE.test(A))&&A>-1&&A%1==0&&A<n}function _e(A,n,i){if(!GA(i))return!1;var u=typeof n;return(u=="number"?Te(i)&&Gt(n,i.length):u=="string"&&n in i)?gt(i[n],A):!1}function Al(A,n){if(lA(A))return!1;var i=typeof A;return i=="number"||i=="symbol"||i=="boolean"||A==null||We(A)?!0:QE.test(A)||!hE.test(A)||n!=null&&A in TA(n)}function Ev(A){var n=typeof A;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?A!=="__proto__":A===null}function el(A){var n=Li(A),i=d[n];if(typeof i!="function"||!(n in CA.prototype))return!1;if(A===i)return!0;var u=qo(i);return!!u&&A===u[0]}function mv(A){return!!tf&&tf in A}var Iv=ii?Pt:hl;function Jn(A){var n=A&&A.constructor,i=typeof n=="function"&&n.prototype||qr;return A===i}function rg(A){return A===A&&!GA(A)}function ng(A,n){return function(i){return i==null?!1:i[A]===n&&(n!==t||A in TA(i))}}function vv(A){var n=Ki(A,function(u){return i.size===w&&i.clear(),u}),i=n.cache;return n}function _v(A,n){var i=A[1],u=n[1],g=i|u,C=g<(R|m|V),p=u==V&&i==x||u==V&&i==$&&A[7].length<=n[8]||u==(V|$)&&n[7].length<=n[8]&&i==x;if(!(C||p))return A;u&R&&(A[2]=n[2],g|=i&R?0:_);var E=n[3];if(E){var y=A[3];A[3]=y?Rf(y,E,n[4]):E,A[4]=y?ir(A[3],h):n[4]}return E=n[5],E&&(y=A[5],A[5]=y?Vf(y,E,n[6]):E,A[6]=y?ir(A[5],h):n[6]),E=n[7],E&&(A[7]=E),u&V&&(A[8]=A[8]==null?n[8]:Qe(A[8],n[8])),A[9]==null&&(A[9]=n[9]),A[0]=n[0],A[1]=g,A}function yv(A){var n=[];if(A!=null)for(var i in TA(A))n.push(i);return n}function Hv(A){return oi.call(A)}function ag(A,n,i){return n=ne(n===t?A.length-1:n,0),function(){for(var u=arguments,g=-1,C=ne(u.length-n,0),p=O(C);++g<C;)p[g]=u[n+g];g=-1;for(var E=O(n+1);++g<n;)E[g]=u[g];return E[n]=i(p),Ge(A,this,E)}}function ig(A,n){return n.length<2?A:mr(A,at(n,0,-1))}function Lv(A,n){for(var i=A.length,u=Qe(n.length,i),g=be(A);u--;){var C=n[u];A[u]=Gt(C,i)?g[C]:t}return A}function tl(A,n){if(!(n==="constructor"&&typeof A[n]=="function")&&n!="__proto__")return A[n]}var sg=lg(Lf),$n=Wm||function(A,n){return ge.setTimeout(A,n)},rl=lg(jI);function og(A,n,i){var u=n+"";return rl(A,pv(u,bv(hv(u),i)))}function lg(A){var n=0,i=0;return function(){var u=$m(),g=sA-(u-i);if(i=u,g>0){if(++n>=mA)return arguments[0]}else n=0;return A.apply(t,arguments)}}function Ti(A,n){var i=-1,u=A.length,g=u-1;for(n=n===t?u:n;++i<n;){var C=Mo(i,g),p=A[C];A[C]=A[i],A[i]=p}return A.length=n,A}var ug=vv(function(A){var n=[];return A.charCodeAt(0)===46&&n.push(""),A.replace(UE,function(i,u,g,C){n.push(g?C.replace(yE,"$1"):u||i)}),n});function vt(A){if(typeof A=="string"||We(A))return A;var n=A+"";return n=="0"&&1/A==-pA?"-0":n}function vr(A){if(A!=null){try{return si.call(A)}catch{}try{return A+""}catch{}}return""}function bv(A,n){return et(me,function(i){var u="_."+i[0];n&i[1]&&!ti(A,u)&&A.push(u)}),A.sort()}function cg(A){if(A instanceof CA)return A.clone();var n=new rt(A.__wrapped__,A.__chain__);return n.__actions__=be(A.__actions__),n.__index__=A.__index__,n.__values__=A.__values__,n}function Tv(A,n,i){(i?_e(A,n,i):n===t)?n=1:n=ne(uA(n),0);var u=A==null?0:A.length;if(!u||n<1)return[];for(var g=0,C=0,p=O(gi(u/n));g<u;)p[C++]=at(A,g,g+=n);return p}function Dv(A){for(var n=-1,i=A==null?0:A.length,u=0,g=[];++n<i;){var C=A[n];C&&(g[u++]=C)}return g}function Sv(){var A=arguments.length;if(!A)return[];for(var n=O(A-1),i=arguments[0],u=A;u--;)n[u-1]=arguments[u];return ar(lA(i)?be(i):[i],de(n,1))}var Ov=BA(function(A,n){return $A(A)?Pn(A,de(n,1,$A,!0)):[]}),Kv=BA(function(A,n){var i=it(n);return $A(i)&&(i=t),$A(A)?Pn(A,de(n,1,$A,!0),rA(i,2)):[]}),xv=BA(function(A,n){var i=it(n);return $A(i)&&(i=t),$A(A)?Pn(A,de(n,1,$A,!0),t,i):[]});function Nv(A,n,i){var u=A==null?0:A.length;return u?(n=i||n===t?1:uA(n),at(A,n<0?0:n,u)):[]}function Mv(A,n,i){var u=A==null?0:A.length;return u?(n=i||n===t?1:uA(n),n=u-n,at(A,0,n<0?0:n)):[]}function Rv(A,n){return A&&A.length?mi(A,rA(n,3),!0,!0):[]}function Vv(A,n){return A&&A.length?mi(A,rA(n,3),!0):[]}function Gv(A,n,i,u){var g=A==null?0:A.length;return g?(i&&typeof i!="number"&&_e(A,n,i)&&(i=0,u=g),SI(A,n,i,u)):[]}function Bg(A,n,i){var u=A==null?0:A.length;if(!u)return-1;var g=i==null?0:uA(i);return g<0&&(g=ne(u+g,0)),ri(A,rA(n,3),g)}function fg(A,n,i){var u=A==null?0:A.length;if(!u)return-1;var g=u-1;return i!==t&&(g=uA(i),g=i<0?ne(u+g,0):Qe(g,u-1)),ri(A,rA(n,3),g,!0)}function gg(A){var n=A==null?0:A.length;return n?de(A,1):[]}function Pv(A){var n=A==null?0:A.length;return n?de(A,pA):[]}function kv(A,n){var i=A==null?0:A.length;return i?(n=n===t?1:uA(n),de(A,n)):[]}function Wv(A){for(var n=-1,i=A==null?0:A.length,u={};++n<i;){var g=A[n];u[g[0]]=g[1]}return u}function dg(A){return A&&A.length?A[0]:t}function Xv(A,n,i){var u=A==null?0:A.length;if(!u)return-1;var g=i==null?0:uA(i);return g<0&&(g=ne(u+g,0)),Yr(A,n,g)}function Yv(A){var n=A==null?0:A.length;return n?at(A,0,-1):[]}var Jv=BA(function(A){var n=VA(A,ko);return n.length&&n[0]===A[0]?So(n):[]}),$v=BA(function(A){var n=it(A),i=VA(A,ko);return n===it(i)?n=t:i.pop(),i.length&&i[0]===A[0]?So(i,rA(n,2)):[]}),Zv=BA(function(A){var n=it(A),i=VA(A,ko);return n=typeof n=="function"?n:t,n&&i.pop(),i.length&&i[0]===A[0]?So(i,t,n):[]});function qv(A,n){return A==null?"":Ym.call(A,n)}function it(A){var n=A==null?0:A.length;return n?A[n-1]:t}function zv(A,n,i){var u=A==null?0:A.length;if(!u)return-1;var g=u;return i!==t&&(g=uA(i),g=g<0?ne(u+g,0):Qe(g,u-1)),n===n?bm(A,n,g):ri(A,JB,g,!0)}function jv(A,n){return A&&A.length?vf(A,uA(n)):t}var A_=BA(wg);function wg(A,n){return A&&A.length&&n&&n.length?No(A,n):A}function e_(A,n,i){return A&&A.length&&n&&n.length?No(A,n,rA(i,2)):A}function t_(A,n,i){return A&&A.length&&n&&n.length?No(A,n,t,i):A}var r_=Vt(function(A,n){var i=A==null?0:A.length,u=Lo(A,n);return Hf(A,VA(n,function(g){return Gt(g,i)?+g:g}).sort(Mf)),u});function n_(A,n){var i=[];if(!(A&&A.length))return i;var u=-1,g=[],C=A.length;for(n=rA(n,3);++u<C;){var p=A[u];n(p,u,A)&&(i.push(p),g.push(u))}return Hf(A,g),i}function nl(A){return A==null?A:qm.call(A)}function a_(A,n,i){var u=A==null?0:A.length;return u?(i&&typeof i!="number"&&_e(A,n,i)?(n=0,i=u):(n=n==null?0:uA(n),i=i===t?u:uA(i)),at(A,n,i)):[]}function i_(A,n){return Ei(A,n)}function s_(A,n,i){return Vo(A,n,rA(i,2))}function o_(A,n){var i=A==null?0:A.length;if(i){var u=Ei(A,n);if(u<i&&gt(A[u],n))return u}return-1}function l_(A,n){return Ei(A,n,!0)}function u_(A,n,i){return Vo(A,n,rA(i,2),!0)}function c_(A,n){var i=A==null?0:A.length;if(i){var u=Ei(A,n,!0)-1;if(gt(A[u],n))return u}return-1}function B_(A){return A&&A.length?bf(A):[]}function f_(A,n){return A&&A.length?bf(A,rA(n,2)):[]}function g_(A){var n=A==null?0:A.length;return n?at(A,1,n):[]}function d_(A,n,i){return A&&A.length?(n=i||n===t?1:uA(n),at(A,0,n<0?0:n)):[]}function w_(A,n,i){var u=A==null?0:A.length;return u?(n=i||n===t?1:uA(n),n=u-n,at(A,n<0?0:n,u)):[]}function C_(A,n){return A&&A.length?mi(A,rA(n,3),!1,!0):[]}function h_(A,n){return A&&A.length?mi(A,rA(n,3)):[]}var Q_=BA(function(A){return lr(de(A,1,$A,!0))}),U_=BA(function(A){var n=it(A);return $A(n)&&(n=t),lr(de(A,1,$A,!0),rA(n,2))}),p_=BA(function(A){var n=it(A);return n=typeof n=="function"?n:t,lr(de(A,1,$A,!0),t,n)});function F_(A){return A&&A.length?lr(A):[]}function E_(A,n){return A&&A.length?lr(A,rA(n,2)):[]}function m_(A,n){return n=typeof n=="function"?n:t,A&&A.length?lr(A,t,n):[]}function al(A){if(!(A&&A.length))return[];var n=0;return A=nr(A,function(i){if($A(i))return n=ne(i.length,n),!0}),Fo(n,function(i){return VA(A,Qo(i))})}function Cg(A,n){if(!(A&&A.length))return[];var i=al(A);return n==null?i:VA(i,function(u){return Ge(n,t,u)})}var I_=BA(function(A,n){return $A(A)?Pn(A,n):[]}),v_=BA(function(A){return Po(nr(A,$A))}),__=BA(function(A){var n=it(A);return $A(n)&&(n=t),Po(nr(A,$A),rA(n,2))}),y_=BA(function(A){var n=it(A);return n=typeof n=="function"?n:t,Po(nr(A,$A),t,n)}),H_=BA(al);function L_(A,n){return Of(A||[],n||[],Gn)}function b_(A,n){return Of(A||[],n||[],Xn)}var T_=BA(function(A){var n=A.length,i=n>1?A[n-1]:t;return i=typeof i=="function"?(A.pop(),i):t,Cg(A,i)});function hg(A){var n=d(A);return n.__chain__=!0,n}function D_(A,n){return n(A),A}function Di(A,n){return n(A)}var S_=Vt(function(A){var n=A.length,i=n?A[0]:0,u=this.__wrapped__,g=function(C){return Lo(C,A)};return n>1||this.__actions__.length||!(u instanceof CA)||!Gt(i)?this.thru(g):(u=u.slice(i,+i+(n?1:0)),u.__actions__.push({func:Di,args:[g],thisArg:t}),new rt(u,this.__chain__).thru(function(C){return n&&!C.length&&C.push(t),C}))});function O_(){return hg(this)}function K_(){return new rt(this.value(),this.__chain__)}function x_(){this.__values__===t&&(this.__values__=Tg(this.value()));var A=this.__index__>=this.__values__.length,n=A?t:this.__values__[this.__index__++];return{done:A,value:n}}function N_(){return this}function M_(A){for(var n,i=this;i instanceof hi;){var u=cg(i);u.__index__=0,u.__values__=t,n?g.__wrapped__=u:n=u;var g=u;i=i.__wrapped__}return g.__wrapped__=A,n}function R_(){var A=this.__wrapped__;if(A instanceof CA){var n=A;return this.__actions__.length&&(n=new CA(this)),n=n.reverse(),n.__actions__.push({func:Di,args:[nl],thisArg:t}),new rt(n,this.__chain__)}return this.thru(nl)}function V_(){return Sf(this.__wrapped__,this.__actions__)}var G_=Ii(function(A,n,i){yA.call(A,i)?++A[i]:Mt(A,i,1)});function P_(A,n,i){var u=lA(A)?XB:DI;return i&&_e(A,n,i)&&(n=t),u(A,rA(n,3))}function k_(A,n){var i=lA(A)?nr:Cf;return i(A,rA(n,3))}var W_=Wf(Bg),X_=Wf(fg);function Y_(A,n){return de(Si(A,n),1)}function J_(A,n){return de(Si(A,n),pA)}function $_(A,n,i){return i=i===t?1:uA(i),de(Si(A,n),i)}function Qg(A,n){var i=lA(A)?et:or;return i(A,rA(n,3))}function Ug(A,n){var i=lA(A)?gm:wf;return i(A,rA(n,3))}var Z_=Ii(function(A,n,i){yA.call(A,i)?A[i].push(n):Mt(A,i,[n])});function q_(A,n,i,u){A=Te(A)?A:an(A),i=i&&!u?uA(i):0;var g=A.length;return i<0&&(i=ne(g+i,0)),Mi(A)?i<=g&&A.indexOf(n,i)>-1:!!g&&Yr(A,n,i)>-1}var z_=BA(function(A,n,i){var u=-1,g=typeof n=="function",C=Te(A)?O(A.length):[];return or(A,function(p){C[++u]=g?Ge(n,p,i):kn(p,n,i)}),C}),j_=Ii(function(A,n,i){Mt(A,i,n)});function Si(A,n){var i=lA(A)?VA:Ef;return i(A,rA(n,3))}function Ay(A,n,i,u){return A==null?[]:(lA(n)||(n=n==null?[]:[n]),i=u?t:i,lA(i)||(i=i==null?[]:[i]),_f(A,n,i))}var ey=Ii(function(A,n,i){A[i?0:1].push(n)},function(){return[[],[]]});function ty(A,n,i){var u=lA(A)?Co:ZB,g=arguments.length<3;return u(A,rA(n,4),i,g,or)}function ry(A,n,i){var u=lA(A)?dm:ZB,g=arguments.length<3;return u(A,rA(n,4),i,g,wf)}function ny(A,n){var i=lA(A)?nr:Cf;return i(A,xi(rA(n,3)))}function ay(A){var n=lA(A)?Bf:qI;return n(A)}function iy(A,n,i){(i?_e(A,n,i):n===t)?n=1:n=uA(n);var u=lA(A)?yI:zI;return u(A,n)}function sy(A){var n=lA(A)?HI:Av;return n(A)}function oy(A){if(A==null)return 0;if(Te(A))return Mi(A)?$r(A):A.length;var n=Ue(A);return n==U||n==Ve?A.size:Ko(A).length}function ly(A,n,i){var u=lA(A)?ho:ev;return i&&_e(A,n,i)&&(n=t),u(A,rA(n,3))}var uy=BA(function(A,n){if(A==null)return[];var i=n.length;return i>1&&_e(A,n[0],n[1])?n=[]:i>2&&_e(n[0],n[1],n[2])&&(n=[n[0]]),_f(A,de(n,1),[])}),Oi=km||function(){return ge.Date.now()};function cy(A,n){if(typeof n!="function")throw new tt(l);return A=uA(A),function(){if(--A<1)return n.apply(this,arguments)}}function pg(A,n,i){return n=i?t:n,n=A&&n==null?A.length:n,Rt(A,V,t,t,t,t,n)}function Fg(A,n){var i;if(typeof n!="function")throw new tt(l);return A=uA(A),function(){return--A>0&&(i=n.apply(this,arguments)),A<=1&&(n=t),i}}var il=BA(function(A,n,i){var u=R;if(i.length){var g=ir(i,rn(il));u|=H}return Rt(A,u,n,i,g)}),Eg=BA(function(A,n,i){var u=R|m;if(i.length){var g=ir(i,rn(Eg));u|=H}return Rt(n,u,A,i,g)});function mg(A,n,i){n=i?t:n;var u=Rt(A,x,t,t,t,t,t,n);return u.placeholder=mg.placeholder,u}function Ig(A,n,i){n=i?t:n;var u=Rt(A,L,t,t,t,t,t,n);return u.placeholder=Ig.placeholder,u}function vg(A,n,i){var u,g,C,p,E,y,G=0,P=!1,W=!1,Y=!0;if(typeof A!="function")throw new tt(l);n=st(n)||0,GA(i)&&(P=!!i.leading,W="maxWait"in i,C=W?ne(st(i.maxWait)||0,n):C,Y="trailing"in i?!!i.trailing:Y);function eA(ZA){var dt=u,Wt=g;return u=g=t,G=ZA,p=A.apply(Wt,dt),p}function nA(ZA){return G=ZA,E=$n(gA,n),P?eA(ZA):p}function cA(ZA){var dt=ZA-y,Wt=ZA-G,Wg=n-dt;return W?Qe(Wg,C-Wt):Wg}function aA(ZA){var dt=ZA-y,Wt=ZA-G;return y===t||dt>=n||dt<0||W&&Wt>=C}function gA(){var ZA=Oi();if(aA(ZA))return hA(ZA);E=$n(gA,cA(ZA))}function hA(ZA){return E=t,Y&&u?eA(ZA):(u=g=t,p)}function Xe(){E!==t&&Kf(E),G=0,u=y=g=E=t}function ye(){return E===t?p:hA(Oi())}function Ye(){var ZA=Oi(),dt=aA(ZA);if(u=arguments,g=this,y=ZA,dt){if(E===t)return nA(y);if(W)return Kf(E),E=$n(gA,n),eA(y)}return E===t&&(E=$n(gA,n)),p}return Ye.cancel=Xe,Ye.flush=ye,Ye}var By=BA(function(A,n){return df(A,1,n)}),fy=BA(function(A,n,i){return df(A,st(n)||0,i)});function gy(A){return Rt(A,k)}function Ki(A,n){if(typeof A!="function"||n!=null&&typeof n!="function")throw new tt(l);var i=function(){var u=arguments,g=n?n.apply(this,u):u[0],C=i.cache;if(C.has(g))return C.get(g);var p=A.apply(this,u);return i.cache=C.set(g,p)||C,p};return i.cache=new(Ki.Cache||Nt),i}Ki.Cache=Nt;function xi(A){if(typeof A!="function")throw new tt(l);return function(){var n=arguments;switch(n.length){case 0:return!A.call(this);case 1:return!A.call(this,n[0]);case 2:return!A.call(this,n[0],n[1]);case 3:return!A.call(this,n[0],n[1],n[2])}return!A.apply(this,n)}}function dy(A){return Fg(2,A)}var wy=tv(function(A,n){n=n.length==1&&lA(n[0])?VA(n[0],Pe(rA())):VA(de(n,1),Pe(rA()));var i=n.length;return BA(function(u){for(var g=-1,C=Qe(u.length,i);++g<C;)u[g]=n[g].call(this,u[g]);return Ge(A,this,u)})}),sl=BA(function(A,n){var i=ir(n,rn(sl));return Rt(A,H,t,n,i)}),_g=BA(function(A,n){var i=ir(n,rn(_g));return Rt(A,b,t,n,i)}),Cy=Vt(function(A,n){return Rt(A,$,t,t,t,n)});function hy(A,n){if(typeof A!="function")throw new tt(l);return n=n===t?n:uA(n),BA(A,n)}function Qy(A,n){if(typeof A!="function")throw new tt(l);return n=n==null?0:ne(uA(n),0),BA(function(i){var u=i[n],g=cr(i,0,n);return u&&ar(g,u),Ge(A,this,g)})}function Uy(A,n,i){var u=!0,g=!0;if(typeof A!="function")throw new tt(l);return GA(i)&&(u="leading"in i?!!i.leading:u,g="trailing"in i?!!i.trailing:g),vg(A,n,{leading:u,maxWait:n,trailing:g})}function py(A){return pg(A,1)}function Fy(A,n){return sl(Wo(n),A)}function Ey(){if(!arguments.length)return[];var A=arguments[0];return lA(A)?A:[A]}function my(A){return nt(A,T)}function Iy(A,n){return n=typeof n=="function"?n:t,nt(A,T,n)}function vy(A){return nt(A,Q|T)}function _y(A,n){return n=typeof n=="function"?n:t,nt(A,Q|T,n)}function yy(A,n){return n==null||gf(A,n,se(n))}function gt(A,n){return A===n||A!==A&&n!==n}var Hy=Hi(Do),Ly=Hi(function(A,n){return A>=n}),_r=Uf(function(){return arguments}())?Uf:function(A){return WA(A)&&yA.call(A,"callee")&&!af.call(A,"callee")},lA=O.isArray,by=RB?Pe(RB):MI;function Te(A){return A!=null&&Ni(A.length)&&!Pt(A)}function $A(A){return WA(A)&&Te(A)}function Ty(A){return A===!0||A===!1||WA(A)&&ve(A)==Me}var Br=Xm||hl,Dy=VB?Pe(VB):RI;function Sy(A){return WA(A)&&A.nodeType===1&&!Zn(A)}function Oy(A){if(A==null)return!0;if(Te(A)&&(lA(A)||typeof A=="string"||typeof A.splice=="function"||Br(A)||nn(A)||_r(A)))return!A.length;var n=Ue(A);if(n==U||n==Ve)return!A.size;if(Jn(A))return!Ko(A).length;for(var i in A)if(yA.call(A,i))return!1;return!0}function Ky(A,n){return Wn(A,n)}function xy(A,n,i){i=typeof i=="function"?i:t;var u=i?i(A,n):t;return u===t?Wn(A,n,t,i):!!u}function ol(A){if(!WA(A))return!1;var n=ve(A);return n==ze||n==pt||typeof A.message=="string"&&typeof A.name=="string"&&!Zn(A)}function Ny(A){return typeof A=="number"&&of(A)}function Pt(A){if(!GA(A))return!1;var n=ve(A);return n==Ft||n==I||n==Ne||n==je}function yg(A){return typeof A=="number"&&A==uA(A)}function Ni(A){return typeof A=="number"&&A>-1&&A%1==0&&A<=_A}function GA(A){var n=typeof A;return A!=null&&(n=="object"||n=="function")}function WA(A){return A!=null&&typeof A=="object"}var Hg=GB?Pe(GB):GI;function My(A,n){return A===n||Oo(A,n,zo(n))}function Ry(A,n,i){return i=typeof i=="function"?i:t,Oo(A,n,zo(n),i)}function Vy(A){return Lg(A)&&A!=+A}function Gy(A){if(Iv(A))throw new oA(o);return pf(A)}function Py(A){return A===null}function ky(A){return A==null}function Lg(A){return typeof A=="number"||WA(A)&&ve(A)==K}function Zn(A){if(!WA(A)||ve(A)!=tA)return!1;var n=ci(A);if(n===null)return!0;var i=yA.call(n,"constructor")&&n.constructor;return typeof i=="function"&&i instanceof i&&si.call(i)==Rm}var ll=PB?Pe(PB):PI;function Wy(A){return yg(A)&&A>=-_A&&A<=_A}var bg=kB?Pe(kB):kI;function Mi(A){return typeof A=="string"||!lA(A)&&WA(A)&&ve(A)==SA}function We(A){return typeof A=="symbol"||WA(A)&&ve(A)==M}var nn=WB?Pe(WB):WI;function Xy(A){return A===t}function Yy(A){return WA(A)&&Ue(A)==jA}function Jy(A){return WA(A)&&ve(A)==fe}var $y=Hi(xo),Zy=Hi(function(A,n){return A<=n});function Tg(A){if(!A)return[];if(Te(A))return Mi(A)?Bt(A):be(A);if(xn&&A[xn])return ym(A[xn]());var n=Ue(A),i=n==U?mo:n==Ve?ni:an;return i(A)}function kt(A){if(!A)return A===0?A:0;if(A=st(A),A===pA||A===-pA){var n=A<0?-1:1;return n*zA}return A===A?A:0}function uA(A){var n=kt(A),i=n%1;return n===n?i?n-i:n:0}function Dg(A){return A?Er(uA(A),0,RA):0}function st(A){if(typeof A=="number")return A;if(We(A))return te;if(GA(A)){var n=typeof A.valueOf=="function"?A.valueOf():A;A=GA(n)?n+"":n}if(typeof A!="string")return A===0?A:+A;A=qB(A);var i=bE.test(A);return i||DE.test(A)?cm(A.slice(2),i?2:8):LE.test(A)?te:+A}function Sg(A){return It(A,De(A))}function qy(A){return A?Er(uA(A),-_A,_A):A===0?A:0}function vA(A){return A==null?"":ke(A)}var zy=en(function(A,n){if(Jn(n)||Te(n)){It(n,se(n),A);return}for(var i in n)yA.call(n,i)&&Gn(A,i,n[i])}),Og=en(function(A,n){It(n,De(n),A)}),Ri=en(function(A,n,i,u){It(n,De(n),A,u)}),jy=en(function(A,n,i,u){It(n,se(n),A,u)}),AH=Vt(Lo);function eH(A,n){var i=An(A);return n==null?i:ff(i,n)}var tH=BA(function(A,n){A=TA(A);var i=-1,u=n.length,g=u>2?n[2]:t;for(g&&_e(n[0],n[1],g)&&(u=1);++i<u;)for(var C=n[i],p=De(C),E=-1,y=p.length;++E<y;){var G=p[E],P=A[G];(P===t||gt(P,qr[G])&&!yA.call(A,G))&&(A[G]=C[G])}return A}),rH=BA(function(A){return A.push(t,zf),Ge(Kg,t,A)});function nH(A,n){return YB(A,rA(n,3),mt)}function aH(A,n){return YB(A,rA(n,3),To)}function iH(A,n){return A==null?A:bo(A,rA(n,3),De)}function sH(A,n){return A==null?A:hf(A,rA(n,3),De)}function oH(A,n){return A&&mt(A,rA(n,3))}function lH(A,n){return A&&To(A,rA(n,3))}function uH(A){return A==null?[]:pi(A,se(A))}function cH(A){return A==null?[]:pi(A,De(A))}function ul(A,n,i){var u=A==null?t:mr(A,n);return u===t?i:u}function BH(A,n){return A!=null&&eg(A,n,OI)}function cl(A,n){return A!=null&&eg(A,n,KI)}var fH=Yf(function(A,n,i){n!=null&&typeof n.toString!="function"&&(n=oi.call(n)),A[n]=i},fl(Se)),gH=Yf(function(A,n,i){n!=null&&typeof n.toString!="function"&&(n=oi.call(n)),yA.call(A,n)?A[n].push(i):A[n]=[i]},rA),dH=BA(kn);function se(A){return Te(A)?cf(A):Ko(A)}function De(A){return Te(A)?cf(A,!0):XI(A)}function wH(A,n){var i={};return n=rA(n,3),mt(A,function(u,g,C){Mt(i,n(u,g,C),u)}),i}function CH(A,n){var i={};return n=rA(n,3),mt(A,function(u,g,C){Mt(i,g,n(u,g,C))}),i}var hH=en(function(A,n,i){Fi(A,n,i)}),Kg=en(function(A,n,i,u){Fi(A,n,i,u)}),QH=Vt(function(A,n){var i={};if(A==null)return i;var u=!1;n=VA(n,function(C){return C=ur(C,A),u||(u=C.length>1),C}),It(A,Zo(A),i),u&&(i=nt(i,Q|F|T,fv));for(var g=n.length;g--;)Go(i,n[g]);return i});function UH(A,n){return xg(A,xi(rA(n)))}var pH=Vt(function(A,n){return A==null?{}:JI(A,n)});function xg(A,n){if(A==null)return{};var i=VA(Zo(A),function(u){return[u]});return n=rA(n),yf(A,i,function(u,g){return n(u,g[0])})}function FH(A,n,i){n=ur(n,A);var u=-1,g=n.length;for(g||(g=1,A=t);++u<g;){var C=A==null?t:A[vt(n[u])];C===t&&(u=g,C=i),A=Pt(C)?C.call(A):C}return A}function EH(A,n,i){return A==null?A:Xn(A,n,i)}function mH(A,n,i,u){return u=typeof u=="function"?u:t,A==null?A:Xn(A,n,i,u)}var Ng=Zf(se),Mg=Zf(De);function IH(A,n,i){var u=lA(A),g=u||Br(A)||nn(A);if(n=rA(n,4),i==null){var C=A&&A.constructor;g?i=u?new C:[]:GA(A)?i=Pt(C)?An(ci(A)):{}:i={}}return(g?et:mt)(A,function(p,E,y){return n(i,p,E,y)}),i}function vH(A,n){return A==null?!0:Go(A,n)}function _H(A,n,i){return A==null?A:Df(A,n,Wo(i))}function yH(A,n,i,u){return u=typeof u=="function"?u:t,A==null?A:Df(A,n,Wo(i),u)}function an(A){return A==null?[]:Eo(A,se(A))}function HH(A){return A==null?[]:Eo(A,De(A))}function LH(A,n,i){return i===t&&(i=n,n=t),i!==t&&(i=st(i),i=i===i?i:0),n!==t&&(n=st(n),n=n===n?n:0),Er(st(A),n,i)}function bH(A,n,i){return n=kt(n),i===t?(i=n,n=0):i=kt(i),A=st(A),xI(A,n,i)}function TH(A,n,i){if(i&&typeof i!="boolean"&&_e(A,n,i)&&(n=i=t),i===t&&(typeof n=="boolean"?(i=n,n=t):typeof A=="boolean"&&(i=A,A=t)),A===t&&n===t?(A=0,n=1):(A=kt(A),n===t?(n=A,A=0):n=kt(n)),A>n){var u=A;A=n,n=u}if(i||A%1||n%1){var g=lf();return Qe(A+g*(n-A+um("1e-"+((g+"").length-1))),n)}return Mo(A,n)}var DH=tn(function(A,n,i){return n=n.toLowerCase(),A+(i?Rg(n):n)});function Rg(A){return Bl(vA(A).toLowerCase())}function Vg(A){return A=vA(A),A&&A.replace(OE,Em).replace(Am,"")}function SH(A,n,i){A=vA(A),n=ke(n);var u=A.length;i=i===t?u:Er(uA(i),0,u);var g=i;return i-=n.length,i>=0&&A.slice(i,g)==n}function OH(A){return A=vA(A),A&&dE.test(A)?A.replace(CB,mm):A}function KH(A){return A=vA(A),A&&pE.test(A)?A.replace(io,"\\$&"):A}var xH=tn(function(A,n,i){return A+(i?"-":"")+n.toLowerCase()}),NH=tn(function(A,n,i){return A+(i?" ":"")+n.toLowerCase()}),MH=kf("toLowerCase");function RH(A,n,i){A=vA(A),n=uA(n);var u=n?$r(A):0;if(!n||u>=n)return A;var g=(n-u)/2;return yi(di(g),i)+A+yi(gi(g),i)}function VH(A,n,i){A=vA(A),n=uA(n);var u=n?$r(A):0;return n&&u<n?A+yi(n-u,i):A}function GH(A,n,i){A=vA(A),n=uA(n);var u=n?$r(A):0;return n&&u<n?yi(n-u,i)+A:A}function PH(A,n,i){return i||n==null?n=0:n&&(n=+n),Zm(vA(A).replace(so,""),n||0)}function kH(A,n,i){return(i?_e(A,n,i):n===t)?n=1:n=uA(n),Ro(vA(A),n)}function WH(){var A=arguments,n=vA(A[0]);return A.length<3?n:n.replace(A[1],A[2])}var XH=tn(function(A,n,i){return A+(i?"_":"")+n.toLowerCase()});function YH(A,n,i){return i&&typeof i!="number"&&_e(A,n,i)&&(n=i=t),i=i===t?RA:i>>>0,i?(A=vA(A),A&&(typeof n=="string"||n!=null&&!ll(n))&&(n=ke(n),!n&&Jr(A))?cr(Bt(A),0,i):A.split(n,i)):[]}var JH=tn(function(A,n,i){return A+(i?" ":"")+Bl(n)});function $H(A,n,i){return A=vA(A),i=i==null?0:Er(uA(i),0,A.length),n=ke(n),A.slice(i,i+n.length)==n}function ZH(A,n,i){var u=d.templateSettings;i&&_e(A,n,i)&&(n=t),A=vA(A),n=Ri({},n,u,qf);var g=Ri({},n.imports,u.imports,qf),C=se(g),p=Eo(g,C),E,y,G=0,P=n.interpolate||ja,W="__p += '",Y=Io((n.escape||ja).source+"|"+P.source+"|"+(P===hB?HE:ja).source+"|"+(n.evaluate||ja).source+"|$","g"),eA="//# sourceURL="+(yA.call(n,"sourceURL")?(n.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++am+"]")+`
36
- `;A.replace(Y,function(aA,gA,hA,Xe,ye,Ye){return hA||(hA=Xe),W+=A.slice(G,Ye).replace(KE,Im),gA&&(E=!0,W+=`' +
37
- __e(`+gA+`) +
38
- '`),ye&&(y=!0,W+=`';
39
- `+ye+`;
40
- __p += '`),hA&&(W+=`' +
41
- ((__t = (`+hA+`)) == null ? '' : __t) +
42
- '`),G=Ye+aA.length,aA}),W+=`';
43
- `;var nA=yA.call(n,"variable")&&n.variable;if(!nA)W=`with (obj) {
44
- `+W+`
144
+ */(function(t,A){(function(){var e,n="4.17.21",r=200,i="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",s="Expected a function",a="Invalid `variable` option passed into `_.template`",c="__lodash_hash_undefined__",u=500,d="__lodash_placeholder__",h=1,B=2,m=4,C=1,E=2,S=1,U=2,b=4,M=8,F=16,T=32,L=64,N=128,W=256,J=512,eA=30,gA="...",wA=800,aA=16,HA=1,WA=2,vA=3,bA=1/0,mA=9007199254740991,re=17976931348623157e292,ZA=0/0,JA=4294967295,Be=JA-1,me=JA>>>1,Te=[["ary",N],["bind",S],["bindKey",U],["curry",M],["curryRight",F],["flip",J],["partial",T],["partialRight",L],["rearg",W]],jA="[object Arguments]",fe="[object Array]",it="[object AsyncFunction]",st="[object Boolean]",ze="[object Date]",ke="[object DOMException]",ot="[object Error]",It="[object Function]",H="[object GeneratorFunction]",v="[object Map]",k="[object Number]",q="[object Null]",oA="[object Object]",IA="[object Promise]",at="[object Proxy]",Ne="[object RegExp]",Re="[object Set]",KA="[object String]",P="[object Symbol]",Y="[object Undefined]",oe="[object WeakMap]",Fe="[object WeakSet]",an="[object ArrayBuffer]",St="[object DataView]",Gt="[object Float32Array]",Tt="[object Float64Array]",ni="[object Int8Array]",Ur="[object Int16Array]",io="[object Int32Array]",R="[object Uint8Array]",rA="[object Uint8ClampedArray]",lA="[object Uint16Array]",MA="[object Uint32Array]",OA=/\b__p \+= '';/g,Ke=/\b(__p \+=) '' \+/g,Bt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Kn=/&(?:amp|lt|gt|quot|#39);/g,so=/[&<>"']/g,Pn=RegExp(Kn.source),oo=RegExp(so.source),zi=/<%-([\s\S]+?)%>/g,vr=/<%([\s\S]+?)%>/g,ll=/<%=([\s\S]+?)%>/g,ao=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,qi=/^\w*$/,hM=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,If=/[\\^$.*+?()[\]{}|]/g,pM=RegExp(If.source),Sf=/^\s+/,gM=/\s/,BM=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,mM=/\{\n\/\* \[wrapped with (.+)\] \*/,wM=/,? & /,CM=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,yM=/[()=,{}\[\]\/\s]/,QM=/\\(\\)?/g,EM=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Gw=/\w*$/,FM=/^[-+]0x[0-9a-f]+$/i,UM=/^0b[01]+$/i,vM=/^\[object .+?Constructor\]$/,bM=/^0o[0-7]+$/i,IM=/^(?:0|[1-9]\d*)$/,SM=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,cl=/($^)/,TM=/['\n\r\u2028\u2029\\]/g,ul="\\ud800-\\udfff",xM="\\u0300-\\u036f",HM="\\ufe20-\\ufe2f",LM="\\u20d0-\\u20ff",Ww=xM+HM+LM,Jw="\\u2700-\\u27bf",$w="a-z\\xdf-\\xf6\\xf8-\\xff",OM="\\xac\\xb1\\xd7\\xf7",_M="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",MM="\\u2000-\\u206f",DM=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Xw="A-Z\\xc0-\\xd6\\xd8-\\xde",Yw="\\ufe0e\\ufe0f",zw=OM+_M+MM+DM,Tf="['’]",kM="["+ul+"]",qw="["+zw+"]",fl="["+Ww+"]",Zw="\\d+",NM="["+Jw+"]",jw="["+$w+"]",AC="[^"+ul+zw+Zw+Jw+$w+Xw+"]",xf="\\ud83c[\\udffb-\\udfff]",RM="(?:"+fl+"|"+xf+")",eC="[^"+ul+"]",Hf="(?:\\ud83c[\\udde6-\\uddff]){2}",Lf="[\\ud800-\\udbff][\\udc00-\\udfff]",Zi="["+Xw+"]",tC="\\u200d",nC="(?:"+jw+"|"+AC+")",KM="(?:"+Zi+"|"+AC+")",rC="(?:"+Tf+"(?:d|ll|m|re|s|t|ve))?",iC="(?:"+Tf+"(?:D|LL|M|RE|S|T|VE))?",sC=RM+"?",oC="["+Yw+"]?",PM="(?:"+tC+"(?:"+[eC,Hf,Lf].join("|")+")"+oC+sC+")*",VM="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",GM="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",aC=oC+sC+PM,WM="(?:"+[NM,Hf,Lf].join("|")+")"+aC,JM="(?:"+[eC+fl+"?",fl,Hf,Lf,kM].join("|")+")",$M=RegExp(Tf,"g"),XM=RegExp(fl,"g"),Of=RegExp(xf+"(?="+xf+")|"+JM+aC,"g"),YM=RegExp([Zi+"?"+jw+"+"+rC+"(?="+[qw,Zi,"$"].join("|")+")",KM+"+"+iC+"(?="+[qw,Zi+nC,"$"].join("|")+")",Zi+"?"+nC+"+"+rC,Zi+"+"+iC,GM,VM,Zw,WM].join("|"),"g"),zM=RegExp("["+tC+ul+Ww+Yw+"]"),qM=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ZM=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],jM=-1,Ae={};Ae[Gt]=Ae[Tt]=Ae[ni]=Ae[Ur]=Ae[io]=Ae[R]=Ae[rA]=Ae[lA]=Ae[MA]=!0,Ae[jA]=Ae[fe]=Ae[an]=Ae[st]=Ae[St]=Ae[ze]=Ae[ot]=Ae[It]=Ae[v]=Ae[k]=Ae[oA]=Ae[Ne]=Ae[Re]=Ae[KA]=Ae[oe]=!1;var zA={};zA[jA]=zA[fe]=zA[an]=zA[St]=zA[st]=zA[ze]=zA[Gt]=zA[Tt]=zA[ni]=zA[Ur]=zA[io]=zA[v]=zA[k]=zA[oA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ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},eD={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},tD={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},nD={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},rD=parseFloat,iD=parseInt,lC=typeof Ms=="object"&&Ms&&Ms.Object===Object&&Ms,sD=typeof self=="object"&&self&&self.Object===Object&&self,Pe=lC||sD||Function("return this")(),_f=A&&!A.nodeType&&A,ri=_f&&!0&&t&&!t.nodeType&&t,cC=ri&&ri.exports===_f,Mf=cC&&lC.process,Wt=function(){try{var O=ri&&ri.require&&ri.require("util").types;return O||Mf&&Mf.binding&&Mf.binding("util")}catch{}}(),uC=Wt&&Wt.isArrayBuffer,fC=Wt&&Wt.isDate,dC=Wt&&Wt.isMap,hC=Wt&&Wt.isRegExp,pC=Wt&&Wt.isSet,gC=Wt&&Wt.isTypedArray;function xt(O,K,D){switch(D.length){case 0:return O.call(K);case 1:return O.call(K,D[0]);case 2:return O.call(K,D[0],D[1]);case 3:return O.call(K,D[0],D[1],D[2])}return O.apply(K,D)}function oD(O,K,D,tA){for(var pA=-1,kA=O==null?0:O.length;++pA<kA;){var Ue=O[pA];K(tA,Ue,D(Ue),O)}return tA}function Jt(O,K){for(var D=-1,tA=O==null?0:O.length;++D<tA&&K(O[D],D,O)!==!1;);return O}function aD(O,K){for(var D=O==null?0:O.length;D--&&K(O[D],D,O)!==!1;);return O}function BC(O,K){for(var D=-1,tA=O==null?0:O.length;++D<tA;)if(!K(O[D],D,O))return!1;return!0}function br(O,K){for(var D=-1,tA=O==null?0:O.length,pA=0,kA=[];++D<tA;){var Ue=O[D];K(Ue,D,O)&&(kA[pA++]=Ue)}return kA}function dl(O,K){var D=O==null?0:O.length;return!!D&&ji(O,K,0)>-1}function Df(O,K,D){for(var tA=-1,pA=O==null?0:O.length;++tA<pA;)if(D(K,O[tA]))return!0;return!1}function ne(O,K){for(var D=-1,tA=O==null?0:O.length,pA=Array(tA);++D<tA;)pA[D]=K(O[D],D,O);return pA}function Ir(O,K){for(var D=-1,tA=K.length,pA=O.length;++D<tA;)O[pA+D]=K[D];return O}function kf(O,K,D,tA){var pA=-1,kA=O==null?0:O.length;for(tA&&kA&&(D=O[++pA]);++pA<kA;)D=K(D,O[pA],pA,O);return D}function lD(O,K,D,tA){var pA=O==null?0:O.length;for(tA&&pA&&(D=O[--pA]);pA--;)D=K(D,O[pA],pA,O);return D}function Nf(O,K){for(var D=-1,tA=O==null?0:O.length;++D<tA;)if(K(O[D],D,O))return!0;return!1}var cD=Rf("length");function uD(O){return O.split("")}function fD(O){return O.match(CM)||[]}function mC(O,K,D){var tA;return D(O,function(pA,kA,Ue){if(K(pA,kA,Ue))return tA=kA,!1}),tA}function hl(O,K,D,tA){for(var pA=O.length,kA=D+(tA?1:-1);tA?kA--:++kA<pA;)if(K(O[kA],kA,O))return kA;return-1}function ji(O,K,D){return K===K?FD(O,K,D):hl(O,wC,D)}function dD(O,K,D,tA){for(var pA=D-1,kA=O.length;++pA<kA;)if(tA(O[pA],K))return pA;return-1}function wC(O){return O!==O}function CC(O,K){var D=O==null?0:O.length;return D?Pf(O,K)/D:ZA}function Rf(O){return function(K){return K==null?e:K[O]}}function Kf(O){return function(K){return O==null?e:O[K]}}function yC(O,K,D,tA,pA){return pA(O,function(kA,Ue,XA){D=tA?(tA=!1,kA):K(D,kA,Ue,XA)}),D}function hD(O,K){var D=O.length;for(O.sort(K);D--;)O[D]=O[D].value;return O}function Pf(O,K){for(var D,tA=-1,pA=O.length;++tA<pA;){var kA=K(O[tA]);kA!==e&&(D=D===e?kA:D+kA)}return D}function Vf(O,K){for(var D=-1,tA=Array(O);++D<O;)tA[D]=K(D);return tA}function pD(O,K){return ne(K,function(D){return[D,O[D]]})}function QC(O){return O&&O.slice(0,vC(O)+1).replace(Sf,"")}function Ht(O){return function(K){return O(K)}}function Gf(O,K){return ne(K,function(D){return O[D]})}function lo(O,K){return O.has(K)}function EC(O,K){for(var D=-1,tA=O.length;++D<tA&&ji(K,O[D],0)>-1;);return D}function FC(O,K){for(var D=O.length;D--&&ji(K,O[D],0)>-1;);return D}function gD(O,K){for(var D=O.length,tA=0;D--;)O[D]===K&&++tA;return tA}var BD=Kf(AD),mD=Kf(eD);function wD(O){return"\\"+nD[O]}function CD(O,K){return O==null?e:O[K]}function As(O){return zM.test(O)}function yD(O){return qM.test(O)}function QD(O){for(var K,D=[];!(K=O.next()).done;)D.push(K.value);return D}function Wf(O){var K=-1,D=Array(O.size);return O.forEach(function(tA,pA){D[++K]=[pA,tA]}),D}function UC(O,K){return function(D){return O(K(D))}}function Sr(O,K){for(var D=-1,tA=O.length,pA=0,kA=[];++D<tA;){var Ue=O[D];(Ue===K||Ue===d)&&(O[D]=d,kA[pA++]=D)}return kA}function pl(O){var K=-1,D=Array(O.size);return O.forEach(function(tA){D[++K]=tA}),D}function ED(O){var K=-1,D=Array(O.size);return O.forEach(function(tA){D[++K]=[tA,tA]}),D}function FD(O,K,D){for(var tA=D-1,pA=O.length;++tA<pA;)if(O[tA]===K)return tA;return-1}function UD(O,K,D){for(var tA=D+1;tA--;)if(O[tA]===K)return tA;return tA}function es(O){return As(O)?bD(O):cD(O)}function ln(O){return As(O)?ID(O):uD(O)}function vC(O){for(var K=O.length;K--&&gM.test(O.charAt(K)););return K}var vD=Kf(tD);function bD(O){for(var K=Of.lastIndex=0;Of.test(O);)++K;return K}function ID(O){return O.match(Of)||[]}function SD(O){return O.match(YM)||[]}var TD=function O(K){K=K==null?Pe:ts.defaults(Pe.Object(),K,ts.pick(Pe,ZM));var D=K.Array,tA=K.Date,pA=K.Error,kA=K.Function,Ue=K.Math,XA=K.Object,Jf=K.RegExp,xD=K.String,$t=K.TypeError,gl=D.prototype,HD=kA.prototype,ns=XA.prototype,Bl=K["__core-js_shared__"],ml=HD.toString,PA=ns.hasOwnProperty,LD=0,bC=function(){var o=/[^.]+$/.exec(Bl&&Bl.keys&&Bl.keys.IE_PROTO||"");return o?"Symbol(src)_1."+o:""}(),wl=ns.toString,OD=ml.call(XA),_D=Pe._,MD=Jf("^"+ml.call(PA).replace(If,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Cl=cC?K.Buffer:e,Tr=K.Symbol,yl=K.Uint8Array,IC=Cl?Cl.allocUnsafe:e,Ql=UC(XA.getPrototypeOf,XA),SC=XA.create,TC=ns.propertyIsEnumerable,El=gl.splice,xC=Tr?Tr.isConcatSpreadable:e,co=Tr?Tr.iterator:e,ii=Tr?Tr.toStringTag:e,Fl=function(){try{var o=ci(XA,"defineProperty");return o({},"",{}),o}catch{}}(),DD=K.clearTimeout!==Pe.clearTimeout&&K.clearTimeout,kD=tA&&tA.now!==Pe.Date.now&&tA.now,ND=K.setTimeout!==Pe.setTimeout&&K.setTimeout,Ul=Ue.ceil,vl=Ue.floor,$f=XA.getOwnPropertySymbols,RD=Cl?Cl.isBuffer:e,HC=K.isFinite,KD=gl.join,PD=UC(XA.keys,XA),ve=Ue.max,qe=Ue.min,VD=tA.now,GD=K.parseInt,LC=Ue.random,WD=gl.reverse,Xf=ci(K,"DataView"),uo=ci(K,"Map"),Yf=ci(K,"Promise"),rs=ci(K,"Set"),fo=ci(K,"WeakMap"),ho=ci(XA,"create"),bl=fo&&new fo,is={},JD=ui(Xf),$D=ui(uo),XD=ui(Yf),YD=ui(rs),zD=ui(fo),Il=Tr?Tr.prototype:e,po=Il?Il.valueOf:e,OC=Il?Il.toString:e;function y(o){if(ae(o)&&!BA(o)&&!(o instanceof LA)){if(o instanceof Xt)return o;if(PA.call(o,"__wrapped__"))return _0(o)}return new Xt(o)}var ss=function(){function o(){}return function(l){if(!ie(l))return{};if(SC)return SC(l);o.prototype=l;var f=new o;return o.prototype=e,f}}();function Sl(){}function Xt(o,l){this.__wrapped__=o,this.__actions__=[],this.__chain__=!!l,this.__index__=0,this.__values__=e}y.templateSettings={escape:zi,evaluate:vr,interpolate:ll,variable:"",imports:{_:y}},y.prototype=Sl.prototype,y.prototype.constructor=y,Xt.prototype=ss(Sl.prototype),Xt.prototype.constructor=Xt;function LA(o){this.__wrapped__=o,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=JA,this.__views__=[]}function qD(){var o=new LA(this.__wrapped__);return o.__actions__=mt(this.__actions__),o.__dir__=this.__dir__,o.__filtered__=this.__filtered__,o.__iteratees__=mt(this.__iteratees__),o.__takeCount__=this.__takeCount__,o.__views__=mt(this.__views__),o}function ZD(){if(this.__filtered__){var o=new LA(this);o.__dir__=-1,o.__filtered__=!0}else o=this.clone(),o.__dir__*=-1;return o}function jD(){var o=this.__wrapped__.value(),l=this.__dir__,f=BA(o),p=l<0,w=f?o.length:0,Q=uN(0,w,this.__views__),I=Q.start,x=Q.end,_=x-I,V=p?x:I-1,G=this.__iteratees__,$=G.length,z=0,sA=qe(_,this.__takeCount__);if(!f||!p&&w==_&&sA==_)return r0(o,this.__actions__);var fA=[];A:for(;_--&&z<sA;){V+=l;for(var EA=-1,dA=o[V];++EA<$;){var SA=G[EA],_A=SA.iteratee,_t=SA.type,ut=_A(dA);if(_t==WA)dA=ut;else if(!ut){if(_t==HA)continue A;break A}}fA[z++]=dA}return fA}LA.prototype=ss(Sl.prototype),LA.prototype.constructor=LA;function si(o){var l=-1,f=o==null?0:o.length;for(this.clear();++l<f;){var p=o[l];this.set(p[0],p[1])}}function Ak(){this.__data__=ho?ho(null):{},this.size=0}function ek(o){var l=this.has(o)&&delete this.__data__[o];return this.size-=l?1:0,l}function tk(o){var l=this.__data__;if(ho){var f=l[o];return f===c?e:f}return PA.call(l,o)?l[o]:e}function nk(o){var l=this.__data__;return ho?l[o]!==e:PA.call(l,o)}function rk(o,l){var f=this.__data__;return this.size+=this.has(o)?0:1,f[o]=ho&&l===e?c:l,this}si.prototype.clear=Ak,si.prototype.delete=ek,si.prototype.get=tk,si.prototype.has=nk,si.prototype.set=rk;function Vn(o){var l=-1,f=o==null?0:o.length;for(this.clear();++l<f;){var p=o[l];this.set(p[0],p[1])}}function ik(){this.__data__=[],this.size=0}function sk(o){var l=this.__data__,f=Tl(l,o);if(f<0)return!1;var p=l.length-1;return f==p?l.pop():El.call(l,f,1),--this.size,!0}function ok(o){var l=this.__data__,f=Tl(l,o);return f<0?e:l[f][1]}function ak(o){return Tl(this.__data__,o)>-1}function lk(o,l){var f=this.__data__,p=Tl(f,o);return p<0?(++this.size,f.push([o,l])):f[p][1]=l,this}Vn.prototype.clear=ik,Vn.prototype.delete=sk,Vn.prototype.get=ok,Vn.prototype.has=ak,Vn.prototype.set=lk;function Gn(o){var l=-1,f=o==null?0:o.length;for(this.clear();++l<f;){var p=o[l];this.set(p[0],p[1])}}function ck(){this.size=0,this.__data__={hash:new si,map:new(uo||Vn),string:new si}}function uk(o){var l=Pl(this,o).delete(o);return this.size-=l?1:0,l}function fk(o){return Pl(this,o).get(o)}function dk(o){return Pl(this,o).has(o)}function hk(o,l){var f=Pl(this,o),p=f.size;return f.set(o,l),this.size+=f.size==p?0:1,this}Gn.prototype.clear=ck,Gn.prototype.delete=uk,Gn.prototype.get=fk,Gn.prototype.has=dk,Gn.prototype.set=hk;function oi(o){var l=-1,f=o==null?0:o.length;for(this.__data__=new Gn;++l<f;)this.add(o[l])}function pk(o){return this.__data__.set(o,c),this}function gk(o){return this.__data__.has(o)}oi.prototype.add=oi.prototype.push=pk,oi.prototype.has=gk;function cn(o){var l=this.__data__=new Vn(o);this.size=l.size}function Bk(){this.__data__=new Vn,this.size=0}function mk(o){var l=this.__data__,f=l.delete(o);return this.size=l.size,f}function wk(o){return this.__data__.get(o)}function Ck(o){return this.__data__.has(o)}function yk(o,l){var f=this.__data__;if(f instanceof Vn){var p=f.__data__;if(!uo||p.length<r-1)return p.push([o,l]),this.size=++f.size,this;f=this.__data__=new Gn(p)}return f.set(o,l),this.size=f.size,this}cn.prototype.clear=Bk,cn.prototype.delete=mk,cn.prototype.get=wk,cn.prototype.has=Ck,cn.prototype.set=yk;function _C(o,l){var f=BA(o),p=!f&&fi(o),w=!f&&!p&&_r(o),Q=!f&&!p&&!w&&us(o),I=f||p||w||Q,x=I?Vf(o.length,xD):[],_=x.length;for(var V in o)(l||PA.call(o,V))&&!(I&&(V=="length"||w&&(V=="offset"||V=="parent")||Q&&(V=="buffer"||V=="byteLength"||V=="byteOffset")||Xn(V,_)))&&x.push(V);return x}function MC(o){var l=o.length;return l?o[sd(0,l-1)]:e}function Qk(o,l){return Vl(mt(o),ai(l,0,o.length))}function Ek(o){return Vl(mt(o))}function zf(o,l,f){(f!==e&&!un(o[l],f)||f===e&&!(l in o))&&Wn(o,l,f)}function go(o,l,f){var p=o[l];(!(PA.call(o,l)&&un(p,f))||f===e&&!(l in o))&&Wn(o,l,f)}function Tl(o,l){for(var f=o.length;f--;)if(un(o[f][0],l))return f;return-1}function Fk(o,l,f,p){return xr(o,function(w,Q,I){l(p,w,f(w),I)}),p}function DC(o,l){return o&&vn(l,xe(l),o)}function Uk(o,l){return o&&vn(l,Ct(l),o)}function Wn(o,l,f){l=="__proto__"&&Fl?Fl(o,l,{configurable:!0,enumerable:!0,value:f,writable:!0}):o[l]=f}function qf(o,l){for(var f=-1,p=l.length,w=D(p),Q=o==null;++f<p;)w[f]=Q?e:xd(o,l[f]);return w}function ai(o,l,f){return o===o&&(f!==e&&(o=o<=f?o:f),l!==e&&(o=o>=l?o:l)),o}function Yt(o,l,f,p,w,Q){var I,x=l&h,_=l&B,V=l&m;if(f&&(I=w?f(o,p,w,Q):f(o)),I!==e)return I;if(!ie(o))return o;var G=BA(o);if(G){if(I=dN(o),!x)return mt(o,I)}else{var $=Ze(o),z=$==It||$==H;if(_r(o))return o0(o,x);if($==oA||$==jA||z&&!w){if(I=_||z?{}:v0(o),!x)return _?tN(o,Uk(I,o)):eN(o,DC(I,o))}else{if(!zA[$])return w?o:{};I=hN(o,$,x)}}Q||(Q=new cn);var sA=Q.get(o);if(sA)return sA;Q.set(o,I),ey(o)?o.forEach(function(dA){I.add(Yt(dA,l,f,dA,o,Q))}):j0(o)&&o.forEach(function(dA,SA){I.set(SA,Yt(dA,l,f,SA,o,Q))});var fA=V?_?Bd:gd:_?Ct:xe,EA=G?e:fA(o);return Jt(EA||o,function(dA,SA){EA&&(SA=dA,dA=o[SA]),go(I,SA,Yt(dA,l,f,SA,o,Q))}),I}function vk(o){var l=xe(o);return function(f){return kC(f,o,l)}}function kC(o,l,f){var p=f.length;if(o==null)return!p;for(o=XA(o);p--;){var w=f[p],Q=l[w],I=o[w];if(I===e&&!(w in o)||!Q(I))return!1}return!0}function NC(o,l,f){if(typeof o!="function")throw new $t(s);return Eo(function(){o.apply(e,f)},l)}function Bo(o,l,f,p){var w=-1,Q=dl,I=!0,x=o.length,_=[],V=l.length;if(!x)return _;f&&(l=ne(l,Ht(f))),p?(Q=Df,I=!1):l.length>=r&&(Q=lo,I=!1,l=new oi(l));A:for(;++w<x;){var G=o[w],$=f==null?G:f(G);if(G=p||G!==0?G:0,I&&$===$){for(var z=V;z--;)if(l[z]===$)continue A;_.push(G)}else Q(l,$,p)||_.push(G)}return _}var xr=f0(Un),RC=f0(jf,!0);function bk(o,l){var f=!0;return xr(o,function(p,w,Q){return f=!!l(p,w,Q),f}),f}function xl(o,l,f){for(var p=-1,w=o.length;++p<w;){var Q=o[p],I=l(Q);if(I!=null&&(x===e?I===I&&!Ot(I):f(I,x)))var x=I,_=Q}return _}function Ik(o,l,f,p){var w=o.length;for(f=CA(f),f<0&&(f=-f>w?0:w+f),p=p===e||p>w?w:CA(p),p<0&&(p+=w),p=f>p?0:ny(p);f<p;)o[f++]=l;return o}function KC(o,l){var f=[];return xr(o,function(p,w,Q){l(p,w,Q)&&f.push(p)}),f}function Ve(o,l,f,p,w){var Q=-1,I=o.length;for(f||(f=gN),w||(w=[]);++Q<I;){var x=o[Q];l>0&&f(x)?l>1?Ve(x,l-1,f,p,w):Ir(w,x):p||(w[w.length]=x)}return w}var Zf=d0(),PC=d0(!0);function Un(o,l){return o&&Zf(o,l,xe)}function jf(o,l){return o&&PC(o,l,xe)}function Hl(o,l){return br(l,function(f){return Yn(o[f])})}function li(o,l){l=Lr(l,o);for(var f=0,p=l.length;o!=null&&f<p;)o=o[bn(l[f++])];return f&&f==p?o:e}function VC(o,l,f){var p=l(o);return BA(o)?p:Ir(p,f(o))}function lt(o){return o==null?o===e?Y:q:ii&&ii in XA(o)?cN(o):EN(o)}function Ad(o,l){return o>l}function Sk(o,l){return o!=null&&PA.call(o,l)}function Tk(o,l){return o!=null&&l in XA(o)}function xk(o,l,f){return o>=qe(l,f)&&o<ve(l,f)}function ed(o,l,f){for(var p=f?Df:dl,w=o[0].length,Q=o.length,I=Q,x=D(Q),_=1/0,V=[];I--;){var G=o[I];I&&l&&(G=ne(G,Ht(l))),_=qe(G.length,_),x[I]=!f&&(l||w>=120&&G.length>=120)?new oi(I&&G):e}G=o[0];var $=-1,z=x[0];A:for(;++$<w&&V.length<_;){var sA=G[$],fA=l?l(sA):sA;if(sA=f||sA!==0?sA:0,!(z?lo(z,fA):p(V,fA,f))){for(I=Q;--I;){var EA=x[I];if(!(EA?lo(EA,fA):p(o[I],fA,f)))continue A}z&&z.push(fA),V.push(sA)}}return V}function Hk(o,l,f,p){return Un(o,function(w,Q,I){l(p,f(w),Q,I)}),p}function mo(o,l,f){l=Lr(l,o),o=T0(o,l);var p=o==null?o:o[bn(qt(l))];return p==null?e:xt(p,o,f)}function GC(o){return ae(o)&&lt(o)==jA}function Lk(o){return ae(o)&&lt(o)==an}function Ok(o){return ae(o)&&lt(o)==ze}function wo(o,l,f,p,w){return o===l?!0:o==null||l==null||!ae(o)&&!ae(l)?o!==o&&l!==l:_k(o,l,f,p,wo,w)}function _k(o,l,f,p,w,Q){var I=BA(o),x=BA(l),_=I?fe:Ze(o),V=x?fe:Ze(l);_=_==jA?oA:_,V=V==jA?oA:V;var G=_==oA,$=V==oA,z=_==V;if(z&&_r(o)){if(!_r(l))return!1;I=!0,G=!1}if(z&&!G)return Q||(Q=new cn),I||us(o)?E0(o,l,f,p,w,Q):aN(o,l,_,f,p,w,Q);if(!(f&C)){var sA=G&&PA.call(o,"__wrapped__"),fA=$&&PA.call(l,"__wrapped__");if(sA||fA){var EA=sA?o.value():o,dA=fA?l.value():l;return Q||(Q=new cn),w(EA,dA,f,p,Q)}}return z?(Q||(Q=new cn),lN(o,l,f,p,w,Q)):!1}function Mk(o){return ae(o)&&Ze(o)==v}function td(o,l,f,p){var w=f.length,Q=w,I=!p;if(o==null)return!Q;for(o=XA(o);w--;){var x=f[w];if(I&&x[2]?x[1]!==o[x[0]]:!(x[0]in o))return!1}for(;++w<Q;){x=f[w];var _=x[0],V=o[_],G=x[1];if(I&&x[2]){if(V===e&&!(_ in o))return!1}else{var $=new cn;if(p)var z=p(V,G,_,o,l,$);if(!(z===e?wo(G,V,C|E,p,$):z))return!1}}return!0}function WC(o){if(!ie(o)||mN(o))return!1;var l=Yn(o)?MD:vM;return l.test(ui(o))}function Dk(o){return ae(o)&&lt(o)==Ne}function kk(o){return ae(o)&&Ze(o)==Re}function Nk(o){return ae(o)&&Yl(o.length)&&!!Ae[lt(o)]}function JC(o){return typeof o=="function"?o:o==null?yt:typeof o=="object"?BA(o)?YC(o[0],o[1]):XC(o):hy(o)}function nd(o){if(!Qo(o))return PD(o);var l=[];for(var f in XA(o))PA.call(o,f)&&f!="constructor"&&l.push(f);return l}function Rk(o){if(!ie(o))return QN(o);var l=Qo(o),f=[];for(var p in o)p=="constructor"&&(l||!PA.call(o,p))||f.push(p);return f}function rd(o,l){return o<l}function $C(o,l){var f=-1,p=wt(o)?D(o.length):[];return xr(o,function(w,Q,I){p[++f]=l(w,Q,I)}),p}function XC(o){var l=wd(o);return l.length==1&&l[0][2]?I0(l[0][0],l[0][1]):function(f){return f===o||td(f,o,l)}}function YC(o,l){return yd(o)&&b0(l)?I0(bn(o),l):function(f){var p=xd(f,o);return p===e&&p===l?Hd(f,o):wo(l,p,C|E)}}function Ll(o,l,f,p,w){o!==l&&Zf(l,function(Q,I){if(w||(w=new cn),ie(Q))Kk(o,l,I,f,Ll,p,w);else{var x=p?p(Ed(o,I),Q,I+"",o,l,w):e;x===e&&(x=Q),zf(o,I,x)}},Ct)}function Kk(o,l,f,p,w,Q,I){var x=Ed(o,f),_=Ed(l,f),V=I.get(_);if(V){zf(o,f,V);return}var G=Q?Q(x,_,f+"",o,l,I):e,$=G===e;if($){var z=BA(_),sA=!z&&_r(_),fA=!z&&!sA&&us(_);G=_,z||sA||fA?BA(x)?G=x:de(x)?G=mt(x):sA?($=!1,G=o0(_,!0)):fA?($=!1,G=a0(_,!0)):G=[]:Fo(_)||fi(_)?(G=x,fi(x)?G=ry(x):(!ie(x)||Yn(x))&&(G=v0(_))):$=!1}$&&(I.set(_,G),w(G,_,p,Q,I),I.delete(_)),zf(o,f,G)}function zC(o,l){var f=o.length;if(f)return l+=l<0?f:0,Xn(l,f)?o[l]:e}function qC(o,l,f){l.length?l=ne(l,function(Q){return BA(Q)?function(I){return li(I,Q.length===1?Q[0]:Q)}:Q}):l=[yt];var p=-1;l=ne(l,Ht(cA()));var w=$C(o,function(Q,I,x){var _=ne(l,function(V){return V(Q)});return{criteria:_,index:++p,value:Q}});return hD(w,function(Q,I){return AN(Q,I,f)})}function Pk(o,l){return ZC(o,l,function(f,p){return Hd(o,p)})}function ZC(o,l,f){for(var p=-1,w=l.length,Q={};++p<w;){var I=l[p],x=li(o,I);f(x,I)&&Co(Q,Lr(I,o),x)}return Q}function Vk(o){return function(l){return li(l,o)}}function id(o,l,f,p){var w=p?dD:ji,Q=-1,I=l.length,x=o;for(o===l&&(l=mt(l)),f&&(x=ne(o,Ht(f)));++Q<I;)for(var _=0,V=l[Q],G=f?f(V):V;(_=w(x,G,_,p))>-1;)x!==o&&El.call(x,_,1),El.call(o,_,1);return o}function jC(o,l){for(var f=o?l.length:0,p=f-1;f--;){var w=l[f];if(f==p||w!==Q){var Q=w;Xn(w)?El.call(o,w,1):ld(o,w)}}return o}function sd(o,l){return o+vl(LC()*(l-o+1))}function Gk(o,l,f,p){for(var w=-1,Q=ve(Ul((l-o)/(f||1)),0),I=D(Q);Q--;)I[p?Q:++w]=o,o+=f;return I}function od(o,l){var f="";if(!o||l<1||l>mA)return f;do l%2&&(f+=o),l=vl(l/2),l&&(o+=o);while(l);return f}function UA(o,l){return Fd(S0(o,l,yt),o+"")}function Wk(o){return MC(fs(o))}function Jk(o,l){var f=fs(o);return Vl(f,ai(l,0,f.length))}function Co(o,l,f,p){if(!ie(o))return o;l=Lr(l,o);for(var w=-1,Q=l.length,I=Q-1,x=o;x!=null&&++w<Q;){var _=bn(l[w]),V=f;if(_==="__proto__"||_==="constructor"||_==="prototype")return o;if(w!=I){var G=x[_];V=p?p(G,_,x):e,V===e&&(V=ie(G)?G:Xn(l[w+1])?[]:{})}go(x,_,V),x=x[_]}return o}var A0=bl?function(o,l){return bl.set(o,l),o}:yt,$k=Fl?function(o,l){return Fl(o,"toString",{configurable:!0,enumerable:!1,value:Od(l),writable:!0})}:yt;function Xk(o){return Vl(fs(o))}function zt(o,l,f){var p=-1,w=o.length;l<0&&(l=-l>w?0:w+l),f=f>w?w:f,f<0&&(f+=w),w=l>f?0:f-l>>>0,l>>>=0;for(var Q=D(w);++p<w;)Q[p]=o[p+l];return Q}function Yk(o,l){var f;return xr(o,function(p,w,Q){return f=l(p,w,Q),!f}),!!f}function Ol(o,l,f){var p=0,w=o==null?p:o.length;if(typeof l=="number"&&l===l&&w<=me){for(;p<w;){var Q=p+w>>>1,I=o[Q];I!==null&&!Ot(I)&&(f?I<=l:I<l)?p=Q+1:w=Q}return w}return ad(o,l,yt,f)}function ad(o,l,f,p){var w=0,Q=o==null?0:o.length;if(Q===0)return 0;l=f(l);for(var I=l!==l,x=l===null,_=Ot(l),V=l===e;w<Q;){var G=vl((w+Q)/2),$=f(o[G]),z=$!==e,sA=$===null,fA=$===$,EA=Ot($);if(I)var dA=p||fA;else V?dA=fA&&(p||z):x?dA=fA&&z&&(p||!sA):_?dA=fA&&z&&!sA&&(p||!EA):sA||EA?dA=!1:dA=p?$<=l:$<l;dA?w=G+1:Q=G}return qe(Q,Be)}function e0(o,l){for(var f=-1,p=o.length,w=0,Q=[];++f<p;){var I=o[f],x=l?l(I):I;if(!f||!un(x,_)){var _=x;Q[w++]=I===0?0:I}}return Q}function t0(o){return typeof o=="number"?o:Ot(o)?ZA:+o}function Lt(o){if(typeof o=="string")return o;if(BA(o))return ne(o,Lt)+"";if(Ot(o))return OC?OC.call(o):"";var l=o+"";return l=="0"&&1/o==-bA?"-0":l}function Hr(o,l,f){var p=-1,w=dl,Q=o.length,I=!0,x=[],_=x;if(f)I=!1,w=Df;else if(Q>=r){var V=l?null:sN(o);if(V)return pl(V);I=!1,w=lo,_=new oi}else _=l?[]:x;A:for(;++p<Q;){var G=o[p],$=l?l(G):G;if(G=f||G!==0?G:0,I&&$===$){for(var z=_.length;z--;)if(_[z]===$)continue A;l&&_.push($),x.push(G)}else w(_,$,f)||(_!==x&&_.push($),x.push(G))}return x}function ld(o,l){return l=Lr(l,o),o=T0(o,l),o==null||delete o[bn(qt(l))]}function n0(o,l,f,p){return Co(o,l,f(li(o,l)),p)}function _l(o,l,f,p){for(var w=o.length,Q=p?w:-1;(p?Q--:++Q<w)&&l(o[Q],Q,o););return f?zt(o,p?0:Q,p?Q+1:w):zt(o,p?Q+1:0,p?w:Q)}function r0(o,l){var f=o;return f instanceof LA&&(f=f.value()),kf(l,function(p,w){return w.func.apply(w.thisArg,Ir([p],w.args))},f)}function cd(o,l,f){var p=o.length;if(p<2)return p?Hr(o[0]):[];for(var w=-1,Q=D(p);++w<p;)for(var I=o[w],x=-1;++x<p;)x!=w&&(Q[w]=Bo(Q[w]||I,o[x],l,f));return Hr(Ve(Q,1),l,f)}function i0(o,l,f){for(var p=-1,w=o.length,Q=l.length,I={};++p<w;){var x=p<Q?l[p]:e;f(I,o[p],x)}return I}function ud(o){return de(o)?o:[]}function fd(o){return typeof o=="function"?o:yt}function Lr(o,l){return BA(o)?o:yd(o,l)?[o]:O0(RA(o))}var zk=UA;function Or(o,l,f){var p=o.length;return f=f===e?p:f,!l&&f>=p?o:zt(o,l,f)}var s0=DD||function(o){return Pe.clearTimeout(o)};function o0(o,l){if(l)return o.slice();var f=o.length,p=IC?IC(f):new o.constructor(f);return o.copy(p),p}function dd(o){var l=new o.constructor(o.byteLength);return new yl(l).set(new yl(o)),l}function qk(o,l){var f=l?dd(o.buffer):o.buffer;return new o.constructor(f,o.byteOffset,o.byteLength)}function Zk(o){var l=new o.constructor(o.source,Gw.exec(o));return l.lastIndex=o.lastIndex,l}function jk(o){return po?XA(po.call(o)):{}}function a0(o,l){var f=l?dd(o.buffer):o.buffer;return new o.constructor(f,o.byteOffset,o.length)}function l0(o,l){if(o!==l){var f=o!==e,p=o===null,w=o===o,Q=Ot(o),I=l!==e,x=l===null,_=l===l,V=Ot(l);if(!x&&!V&&!Q&&o>l||Q&&I&&_&&!x&&!V||p&&I&&_||!f&&_||!w)return 1;if(!p&&!Q&&!V&&o<l||V&&f&&w&&!p&&!Q||x&&f&&w||!I&&w||!_)return-1}return 0}function AN(o,l,f){for(var p=-1,w=o.criteria,Q=l.criteria,I=w.length,x=f.length;++p<I;){var _=l0(w[p],Q[p]);if(_){if(p>=x)return _;var V=f[p];return _*(V=="desc"?-1:1)}}return o.index-l.index}function c0(o,l,f,p){for(var w=-1,Q=o.length,I=f.length,x=-1,_=l.length,V=ve(Q-I,0),G=D(_+V),$=!p;++x<_;)G[x]=l[x];for(;++w<I;)($||w<Q)&&(G[f[w]]=o[w]);for(;V--;)G[x++]=o[w++];return G}function u0(o,l,f,p){for(var w=-1,Q=o.length,I=-1,x=f.length,_=-1,V=l.length,G=ve(Q-x,0),$=D(G+V),z=!p;++w<G;)$[w]=o[w];for(var sA=w;++_<V;)$[sA+_]=l[_];for(;++I<x;)(z||w<Q)&&($[sA+f[I]]=o[w++]);return $}function mt(o,l){var f=-1,p=o.length;for(l||(l=D(p));++f<p;)l[f]=o[f];return l}function vn(o,l,f,p){var w=!f;f||(f={});for(var Q=-1,I=l.length;++Q<I;){var x=l[Q],_=p?p(f[x],o[x],x,f,o):e;_===e&&(_=o[x]),w?Wn(f,x,_):go(f,x,_)}return f}function eN(o,l){return vn(o,Cd(o),l)}function tN(o,l){return vn(o,F0(o),l)}function Ml(o,l){return function(f,p){var w=BA(f)?oD:Fk,Q=l?l():{};return w(f,o,cA(p,2),Q)}}function as(o){return UA(function(l,f){var p=-1,w=f.length,Q=w>1?f[w-1]:e,I=w>2?f[2]:e;for(Q=o.length>3&&typeof Q=="function"?(w--,Q):e,I&&ct(f[0],f[1],I)&&(Q=w<3?e:Q,w=1),l=XA(l);++p<w;){var x=f[p];x&&o(l,x,p,Q)}return l})}function f0(o,l){return function(f,p){if(f==null)return f;if(!wt(f))return o(f,p);for(var w=f.length,Q=l?w:-1,I=XA(f);(l?Q--:++Q<w)&&p(I[Q],Q,I)!==!1;);return f}}function d0(o){return function(l,f,p){for(var w=-1,Q=XA(l),I=p(l),x=I.length;x--;){var _=I[o?x:++w];if(f(Q[_],_,Q)===!1)break}return l}}function nN(o,l,f){var p=l&S,w=yo(o);function Q(){var I=this&&this!==Pe&&this instanceof Q?w:o;return I.apply(p?f:this,arguments)}return Q}function h0(o){return function(l){l=RA(l);var f=As(l)?ln(l):e,p=f?f[0]:l.charAt(0),w=f?Or(f,1).join(""):l.slice(1);return p[o]()+w}}function ls(o){return function(l){return kf(fy(uy(l).replace($M,"")),o,"")}}function yo(o){return function(){var l=arguments;switch(l.length){case 0:return new o;case 1:return new o(l[0]);case 2:return new o(l[0],l[1]);case 3:return new o(l[0],l[1],l[2]);case 4:return new o(l[0],l[1],l[2],l[3]);case 5:return new o(l[0],l[1],l[2],l[3],l[4]);case 6:return new o(l[0],l[1],l[2],l[3],l[4],l[5]);case 7:return new o(l[0],l[1],l[2],l[3],l[4],l[5],l[6])}var f=ss(o.prototype),p=o.apply(f,l);return ie(p)?p:f}}function rN(o,l,f){var p=yo(o);function w(){for(var Q=arguments.length,I=D(Q),x=Q,_=cs(w);x--;)I[x]=arguments[x];var V=Q<3&&I[0]!==_&&I[Q-1]!==_?[]:Sr(I,_);if(Q-=V.length,Q<f)return w0(o,l,Dl,w.placeholder,e,I,V,e,e,f-Q);var G=this&&this!==Pe&&this instanceof w?p:o;return xt(G,this,I)}return w}function p0(o){return function(l,f,p){var w=XA(l);if(!wt(l)){var Q=cA(f,3);l=xe(l),f=function(x){return Q(w[x],x,w)}}var I=o(l,f,p);return I>-1?w[Q?l[I]:I]:e}}function g0(o){return $n(function(l){var f=l.length,p=f,w=Xt.prototype.thru;for(o&&l.reverse();p--;){var Q=l[p];if(typeof Q!="function")throw new $t(s);if(w&&!I&&Kl(Q)=="wrapper")var I=new Xt([],!0)}for(p=I?p:f;++p<f;){Q=l[p];var x=Kl(Q),_=x=="wrapper"?md(Q):e;_&&Qd(_[0])&&_[1]==(N|M|T|W)&&!_[4].length&&_[9]==1?I=I[Kl(_[0])].apply(I,_[3]):I=Q.length==1&&Qd(Q)?I[x]():I.thru(Q)}return function(){var V=arguments,G=V[0];if(I&&V.length==1&&BA(G))return I.plant(G).value();for(var $=0,z=f?l[$].apply(this,V):G;++$<f;)z=l[$].call(this,z);return z}})}function Dl(o,l,f,p,w,Q,I,x,_,V){var G=l&N,$=l&S,z=l&U,sA=l&(M|F),fA=l&J,EA=z?e:yo(o);function dA(){for(var SA=arguments.length,_A=D(SA),_t=SA;_t--;)_A[_t]=arguments[_t];if(sA)var ut=cs(dA),Mt=gD(_A,ut);if(p&&(_A=c0(_A,p,w,sA)),Q&&(_A=u0(_A,Q,I,sA)),SA-=Mt,sA&&SA<V){var he=Sr(_A,ut);return w0(o,l,Dl,dA.placeholder,f,_A,he,x,_,V-SA)}var fn=$?f:this,qn=z?fn[o]:o;return SA=_A.length,x?_A=FN(_A,x):fA&&SA>1&&_A.reverse(),G&&_<SA&&(_A.length=_),this&&this!==Pe&&this instanceof dA&&(qn=EA||yo(qn)),qn.apply(fn,_A)}return dA}function B0(o,l){return function(f,p){return Hk(f,o,l(p),{})}}function kl(o,l){return function(f,p){var w;if(f===e&&p===e)return l;if(f!==e&&(w=f),p!==e){if(w===e)return p;typeof f=="string"||typeof p=="string"?(f=Lt(f),p=Lt(p)):(f=t0(f),p=t0(p)),w=o(f,p)}return w}}function hd(o){return $n(function(l){return l=ne(l,Ht(cA())),UA(function(f){var p=this;return o(l,function(w){return xt(w,p,f)})})})}function Nl(o,l){l=l===e?" ":Lt(l);var f=l.length;if(f<2)return f?od(l,o):l;var p=od(l,Ul(o/es(l)));return As(l)?Or(ln(p),0,o).join(""):p.slice(0,o)}function iN(o,l,f,p){var w=l&S,Q=yo(o);function I(){for(var x=-1,_=arguments.length,V=-1,G=p.length,$=D(G+_),z=this&&this!==Pe&&this instanceof I?Q:o;++V<G;)$[V]=p[V];for(;_--;)$[V++]=arguments[++x];return xt(z,w?f:this,$)}return I}function m0(o){return function(l,f,p){return p&&typeof p!="number"&&ct(l,f,p)&&(f=p=e),l=zn(l),f===e?(f=l,l=0):f=zn(f),p=p===e?l<f?1:-1:zn(p),Gk(l,f,p,o)}}function Rl(o){return function(l,f){return typeof l=="string"&&typeof f=="string"||(l=Zt(l),f=Zt(f)),o(l,f)}}function w0(o,l,f,p,w,Q,I,x,_,V){var G=l&M,$=G?I:e,z=G?e:I,sA=G?Q:e,fA=G?e:Q;l|=G?T:L,l&=~(G?L:T),l&b||(l&=~(S|U));var EA=[o,l,w,sA,$,fA,z,x,_,V],dA=f.apply(e,EA);return Qd(o)&&x0(dA,EA),dA.placeholder=p,H0(dA,o,l)}function pd(o){var l=Ue[o];return function(f,p){if(f=Zt(f),p=p==null?0:qe(CA(p),292),p&&HC(f)){var w=(RA(f)+"e").split("e"),Q=l(w[0]+"e"+(+w[1]+p));return w=(RA(Q)+"e").split("e"),+(w[0]+"e"+(+w[1]-p))}return l(f)}}var sN=rs&&1/pl(new rs([,-0]))[1]==bA?function(o){return new rs(o)}:Dd;function C0(o){return function(l){var f=Ze(l);return f==v?Wf(l):f==Re?ED(l):pD(l,o(l))}}function Jn(o,l,f,p,w,Q,I,x){var _=l&U;if(!_&&typeof o!="function")throw new $t(s);var V=p?p.length:0;if(V||(l&=~(T|L),p=w=e),I=I===e?I:ve(CA(I),0),x=x===e?x:CA(x),V-=w?w.length:0,l&L){var G=p,$=w;p=w=e}var z=_?e:md(o),sA=[o,l,f,p,w,G,$,Q,I,x];if(z&&yN(sA,z),o=sA[0],l=sA[1],f=sA[2],p=sA[3],w=sA[4],x=sA[9]=sA[9]===e?_?0:o.length:ve(sA[9]-V,0),!x&&l&(M|F)&&(l&=~(M|F)),!l||l==S)var fA=nN(o,l,f);else l==M||l==F?fA=rN(o,l,x):(l==T||l==(S|T))&&!w.length?fA=iN(o,l,f,p):fA=Dl.apply(e,sA);var EA=z?A0:x0;return H0(EA(fA,sA),o,l)}function y0(o,l,f,p){return o===e||un(o,ns[f])&&!PA.call(p,f)?l:o}function Q0(o,l,f,p,w,Q){return ie(o)&&ie(l)&&(Q.set(l,o),Ll(o,l,e,Q0,Q),Q.delete(l)),o}function oN(o){return Fo(o)?e:o}function E0(o,l,f,p,w,Q){var I=f&C,x=o.length,_=l.length;if(x!=_&&!(I&&_>x))return!1;var V=Q.get(o),G=Q.get(l);if(V&&G)return V==l&&G==o;var $=-1,z=!0,sA=f&E?new oi:e;for(Q.set(o,l),Q.set(l,o);++$<x;){var fA=o[$],EA=l[$];if(p)var dA=I?p(EA,fA,$,l,o,Q):p(fA,EA,$,o,l,Q);if(dA!==e){if(dA)continue;z=!1;break}if(sA){if(!Nf(l,function(SA,_A){if(!lo(sA,_A)&&(fA===SA||w(fA,SA,f,p,Q)))return sA.push(_A)})){z=!1;break}}else if(!(fA===EA||w(fA,EA,f,p,Q))){z=!1;break}}return Q.delete(o),Q.delete(l),z}function aN(o,l,f,p,w,Q,I){switch(f){case St:if(o.byteLength!=l.byteLength||o.byteOffset!=l.byteOffset)return!1;o=o.buffer,l=l.buffer;case an:return!(o.byteLength!=l.byteLength||!Q(new yl(o),new yl(l)));case st:case ze:case k:return un(+o,+l);case ot:return o.name==l.name&&o.message==l.message;case Ne:case KA:return o==l+"";case v:var x=Wf;case Re:var _=p&C;if(x||(x=pl),o.size!=l.size&&!_)return!1;var V=I.get(o);if(V)return V==l;p|=E,I.set(o,l);var G=E0(x(o),x(l),p,w,Q,I);return I.delete(o),G;case P:if(po)return po.call(o)==po.call(l)}return!1}function lN(o,l,f,p,w,Q){var I=f&C,x=gd(o),_=x.length,V=gd(l),G=V.length;if(_!=G&&!I)return!1;for(var $=_;$--;){var z=x[$];if(!(I?z in l:PA.call(l,z)))return!1}var sA=Q.get(o),fA=Q.get(l);if(sA&&fA)return sA==l&&fA==o;var EA=!0;Q.set(o,l),Q.set(l,o);for(var dA=I;++$<_;){z=x[$];var SA=o[z],_A=l[z];if(p)var _t=I?p(_A,SA,z,l,o,Q):p(SA,_A,z,o,l,Q);if(!(_t===e?SA===_A||w(SA,_A,f,p,Q):_t)){EA=!1;break}dA||(dA=z=="constructor")}if(EA&&!dA){var ut=o.constructor,Mt=l.constructor;ut!=Mt&&"constructor"in o&&"constructor"in l&&!(typeof ut=="function"&&ut instanceof ut&&typeof Mt=="function"&&Mt instanceof Mt)&&(EA=!1)}return Q.delete(o),Q.delete(l),EA}function $n(o){return Fd(S0(o,e,k0),o+"")}function gd(o){return VC(o,xe,Cd)}function Bd(o){return VC(o,Ct,F0)}var md=bl?function(o){return bl.get(o)}:Dd;function Kl(o){for(var l=o.name+"",f=is[l],p=PA.call(is,l)?f.length:0;p--;){var w=f[p],Q=w.func;if(Q==null||Q==o)return w.name}return l}function cs(o){var l=PA.call(y,"placeholder")?y:o;return l.placeholder}function cA(){var o=y.iteratee||_d;return o=o===_d?JC:o,arguments.length?o(arguments[0],arguments[1]):o}function Pl(o,l){var f=o.__data__;return BN(l)?f[typeof l=="string"?"string":"hash"]:f.map}function wd(o){for(var l=xe(o),f=l.length;f--;){var p=l[f],w=o[p];l[f]=[p,w,b0(w)]}return l}function ci(o,l){var f=CD(o,l);return WC(f)?f:e}function cN(o){var l=PA.call(o,ii),f=o[ii];try{o[ii]=e;var p=!0}catch{}var w=wl.call(o);return p&&(l?o[ii]=f:delete o[ii]),w}var Cd=$f?function(o){return o==null?[]:(o=XA(o),br($f(o),function(l){return TC.call(o,l)}))}:kd,F0=$f?function(o){for(var l=[];o;)Ir(l,Cd(o)),o=Ql(o);return l}:kd,Ze=lt;(Xf&&Ze(new Xf(new ArrayBuffer(1)))!=St||uo&&Ze(new uo)!=v||Yf&&Ze(Yf.resolve())!=IA||rs&&Ze(new rs)!=Re||fo&&Ze(new fo)!=oe)&&(Ze=function(o){var l=lt(o),f=l==oA?o.constructor:e,p=f?ui(f):"";if(p)switch(p){case JD:return St;case $D:return v;case XD:return IA;case YD:return Re;case zD:return oe}return l});function uN(o,l,f){for(var p=-1,w=f.length;++p<w;){var Q=f[p],I=Q.size;switch(Q.type){case"drop":o+=I;break;case"dropRight":l-=I;break;case"take":l=qe(l,o+I);break;case"takeRight":o=ve(o,l-I);break}}return{start:o,end:l}}function fN(o){var l=o.match(mM);return l?l[1].split(wM):[]}function U0(o,l,f){l=Lr(l,o);for(var p=-1,w=l.length,Q=!1;++p<w;){var I=bn(l[p]);if(!(Q=o!=null&&f(o,I)))break;o=o[I]}return Q||++p!=w?Q:(w=o==null?0:o.length,!!w&&Yl(w)&&Xn(I,w)&&(BA(o)||fi(o)))}function dN(o){var l=o.length,f=new o.constructor(l);return l&&typeof o[0]=="string"&&PA.call(o,"index")&&(f.index=o.index,f.input=o.input),f}function v0(o){return typeof o.constructor=="function"&&!Qo(o)?ss(Ql(o)):{}}function hN(o,l,f){var p=o.constructor;switch(l){case an:return dd(o);case st:case ze:return new p(+o);case St:return qk(o,f);case Gt:case Tt:case ni:case Ur:case io:case R:case rA:case lA:case MA:return a0(o,f);case v:return new p;case k:case KA:return new p(o);case Ne:return Zk(o);case Re:return new p;case P:return jk(o)}}function pN(o,l){var f=l.length;if(!f)return o;var p=f-1;return l[p]=(f>1?"& ":"")+l[p],l=l.join(f>2?", ":" "),o.replace(BM,`{
145
+ /* [wrapped with `+l+`] */
146
+ `)}function gN(o){return BA(o)||fi(o)||!!(xC&&o&&o[xC])}function Xn(o,l){var f=typeof o;return l=l??mA,!!l&&(f=="number"||f!="symbol"&&IM.test(o))&&o>-1&&o%1==0&&o<l}function ct(o,l,f){if(!ie(f))return!1;var p=typeof l;return(p=="number"?wt(f)&&Xn(l,f.length):p=="string"&&l in f)?un(f[l],o):!1}function yd(o,l){if(BA(o))return!1;var f=typeof o;return f=="number"||f=="symbol"||f=="boolean"||o==null||Ot(o)?!0:qi.test(o)||!ao.test(o)||l!=null&&o in XA(l)}function BN(o){var l=typeof o;return l=="string"||l=="number"||l=="symbol"||l=="boolean"?o!=="__proto__":o===null}function Qd(o){var l=Kl(o),f=y[l];if(typeof f!="function"||!(l in LA.prototype))return!1;if(o===f)return!0;var p=md(f);return!!p&&o===p[0]}function mN(o){return!!bC&&bC in o}var wN=Bl?Yn:Nd;function Qo(o){var l=o&&o.constructor,f=typeof l=="function"&&l.prototype||ns;return o===f}function b0(o){return o===o&&!ie(o)}function I0(o,l){return function(f){return f==null?!1:f[o]===l&&(l!==e||o in XA(f))}}function CN(o){var l=$l(o,function(p){return f.size===u&&f.clear(),p}),f=l.cache;return l}function yN(o,l){var f=o[1],p=l[1],w=f|p,Q=w<(S|U|N),I=p==N&&f==M||p==N&&f==W&&o[7].length<=l[8]||p==(N|W)&&l[7].length<=l[8]&&f==M;if(!(Q||I))return o;p&S&&(o[2]=l[2],w|=f&S?0:b);var x=l[3];if(x){var _=o[3];o[3]=_?c0(_,x,l[4]):x,o[4]=_?Sr(o[3],d):l[4]}return x=l[5],x&&(_=o[5],o[5]=_?u0(_,x,l[6]):x,o[6]=_?Sr(o[5],d):l[6]),x=l[7],x&&(o[7]=x),p&N&&(o[8]=o[8]==null?l[8]:qe(o[8],l[8])),o[9]==null&&(o[9]=l[9]),o[0]=l[0],o[1]=w,o}function QN(o){var l=[];if(o!=null)for(var f in XA(o))l.push(f);return l}function EN(o){return wl.call(o)}function S0(o,l,f){return l=ve(l===e?o.length-1:l,0),function(){for(var p=arguments,w=-1,Q=ve(p.length-l,0),I=D(Q);++w<Q;)I[w]=p[l+w];w=-1;for(var x=D(l+1);++w<l;)x[w]=p[w];return x[l]=f(I),xt(o,this,x)}}function T0(o,l){return l.length<2?o:li(o,zt(l,0,-1))}function FN(o,l){for(var f=o.length,p=qe(l.length,f),w=mt(o);p--;){var Q=l[p];o[p]=Xn(Q,f)?w[Q]:e}return o}function Ed(o,l){if(!(l==="constructor"&&typeof o[l]=="function")&&l!="__proto__")return o[l]}var x0=L0(A0),Eo=ND||function(o,l){return Pe.setTimeout(o,l)},Fd=L0($k);function H0(o,l,f){var p=l+"";return Fd(o,pN(p,UN(fN(p),f)))}function L0(o){var l=0,f=0;return function(){var p=VD(),w=aA-(p-f);if(f=p,w>0){if(++l>=wA)return arguments[0]}else l=0;return o.apply(e,arguments)}}function Vl(o,l){var f=-1,p=o.length,w=p-1;for(l=l===e?p:l;++f<l;){var Q=sd(f,w),I=o[Q];o[Q]=o[f],o[f]=I}return o.length=l,o}var O0=CN(function(o){var l=[];return o.charCodeAt(0)===46&&l.push(""),o.replace(hM,function(f,p,w,Q){l.push(w?Q.replace(QM,"$1"):p||f)}),l});function bn(o){if(typeof o=="string"||Ot(o))return o;var l=o+"";return l=="0"&&1/o==-bA?"-0":l}function ui(o){if(o!=null){try{return ml.call(o)}catch{}try{return o+""}catch{}}return""}function UN(o,l){return Jt(Te,function(f){var p="_."+f[0];l&f[1]&&!dl(o,p)&&o.push(p)}),o.sort()}function _0(o){if(o instanceof LA)return o.clone();var l=new Xt(o.__wrapped__,o.__chain__);return l.__actions__=mt(o.__actions__),l.__index__=o.__index__,l.__values__=o.__values__,l}function vN(o,l,f){(f?ct(o,l,f):l===e)?l=1:l=ve(CA(l),0);var p=o==null?0:o.length;if(!p||l<1)return[];for(var w=0,Q=0,I=D(Ul(p/l));w<p;)I[Q++]=zt(o,w,w+=l);return I}function bN(o){for(var l=-1,f=o==null?0:o.length,p=0,w=[];++l<f;){var Q=o[l];Q&&(w[p++]=Q)}return w}function IN(){var o=arguments.length;if(!o)return[];for(var l=D(o-1),f=arguments[0],p=o;p--;)l[p-1]=arguments[p];return Ir(BA(f)?mt(f):[f],Ve(l,1))}var SN=UA(function(o,l){return de(o)?Bo(o,Ve(l,1,de,!0)):[]}),TN=UA(function(o,l){var f=qt(l);return de(f)&&(f=e),de(o)?Bo(o,Ve(l,1,de,!0),cA(f,2)):[]}),xN=UA(function(o,l){var f=qt(l);return de(f)&&(f=e),de(o)?Bo(o,Ve(l,1,de,!0),e,f):[]});function HN(o,l,f){var p=o==null?0:o.length;return p?(l=f||l===e?1:CA(l),zt(o,l<0?0:l,p)):[]}function LN(o,l,f){var p=o==null?0:o.length;return p?(l=f||l===e?1:CA(l),l=p-l,zt(o,0,l<0?0:l)):[]}function ON(o,l){return o&&o.length?_l(o,cA(l,3),!0,!0):[]}function _N(o,l){return o&&o.length?_l(o,cA(l,3),!0):[]}function MN(o,l,f,p){var w=o==null?0:o.length;return w?(f&&typeof f!="number"&&ct(o,l,f)&&(f=0,p=w),Ik(o,l,f,p)):[]}function M0(o,l,f){var p=o==null?0:o.length;if(!p)return-1;var w=f==null?0:CA(f);return w<0&&(w=ve(p+w,0)),hl(o,cA(l,3),w)}function D0(o,l,f){var p=o==null?0:o.length;if(!p)return-1;var w=p-1;return f!==e&&(w=CA(f),w=f<0?ve(p+w,0):qe(w,p-1)),hl(o,cA(l,3),w,!0)}function k0(o){var l=o==null?0:o.length;return l?Ve(o,1):[]}function DN(o){var l=o==null?0:o.length;return l?Ve(o,bA):[]}function kN(o,l){var f=o==null?0:o.length;return f?(l=l===e?1:CA(l),Ve(o,l)):[]}function NN(o){for(var l=-1,f=o==null?0:o.length,p={};++l<f;){var w=o[l];p[w[0]]=w[1]}return p}function N0(o){return o&&o.length?o[0]:e}function RN(o,l,f){var p=o==null?0:o.length;if(!p)return-1;var w=f==null?0:CA(f);return w<0&&(w=ve(p+w,0)),ji(o,l,w)}function KN(o){var l=o==null?0:o.length;return l?zt(o,0,-1):[]}var PN=UA(function(o){var l=ne(o,ud);return l.length&&l[0]===o[0]?ed(l):[]}),VN=UA(function(o){var l=qt(o),f=ne(o,ud);return l===qt(f)?l=e:f.pop(),f.length&&f[0]===o[0]?ed(f,cA(l,2)):[]}),GN=UA(function(o){var l=qt(o),f=ne(o,ud);return l=typeof l=="function"?l:e,l&&f.pop(),f.length&&f[0]===o[0]?ed(f,e,l):[]});function WN(o,l){return o==null?"":KD.call(o,l)}function qt(o){var l=o==null?0:o.length;return l?o[l-1]:e}function JN(o,l,f){var p=o==null?0:o.length;if(!p)return-1;var w=p;return f!==e&&(w=CA(f),w=w<0?ve(p+w,0):qe(w,p-1)),l===l?UD(o,l,w):hl(o,wC,w,!0)}function $N(o,l){return o&&o.length?zC(o,CA(l)):e}var XN=UA(R0);function R0(o,l){return o&&o.length&&l&&l.length?id(o,l):o}function YN(o,l,f){return o&&o.length&&l&&l.length?id(o,l,cA(f,2)):o}function zN(o,l,f){return o&&o.length&&l&&l.length?id(o,l,e,f):o}var qN=$n(function(o,l){var f=o==null?0:o.length,p=qf(o,l);return jC(o,ne(l,function(w){return Xn(w,f)?+w:w}).sort(l0)),p});function ZN(o,l){var f=[];if(!(o&&o.length))return f;var p=-1,w=[],Q=o.length;for(l=cA(l,3);++p<Q;){var I=o[p];l(I,p,o)&&(f.push(I),w.push(p))}return jC(o,w),f}function Ud(o){return o==null?o:WD.call(o)}function jN(o,l,f){var p=o==null?0:o.length;return p?(f&&typeof f!="number"&&ct(o,l,f)?(l=0,f=p):(l=l==null?0:CA(l),f=f===e?p:CA(f)),zt(o,l,f)):[]}function AR(o,l){return Ol(o,l)}function eR(o,l,f){return ad(o,l,cA(f,2))}function tR(o,l){var f=o==null?0:o.length;if(f){var p=Ol(o,l);if(p<f&&un(o[p],l))return p}return-1}function nR(o,l){return Ol(o,l,!0)}function rR(o,l,f){return ad(o,l,cA(f,2),!0)}function iR(o,l){var f=o==null?0:o.length;if(f){var p=Ol(o,l,!0)-1;if(un(o[p],l))return p}return-1}function sR(o){return o&&o.length?e0(o):[]}function oR(o,l){return o&&o.length?e0(o,cA(l,2)):[]}function aR(o){var l=o==null?0:o.length;return l?zt(o,1,l):[]}function lR(o,l,f){return o&&o.length?(l=f||l===e?1:CA(l),zt(o,0,l<0?0:l)):[]}function cR(o,l,f){var p=o==null?0:o.length;return p?(l=f||l===e?1:CA(l),l=p-l,zt(o,l<0?0:l,p)):[]}function uR(o,l){return o&&o.length?_l(o,cA(l,3),!1,!0):[]}function fR(o,l){return o&&o.length?_l(o,cA(l,3)):[]}var dR=UA(function(o){return Hr(Ve(o,1,de,!0))}),hR=UA(function(o){var l=qt(o);return de(l)&&(l=e),Hr(Ve(o,1,de,!0),cA(l,2))}),pR=UA(function(o){var l=qt(o);return l=typeof l=="function"?l:e,Hr(Ve(o,1,de,!0),e,l)});function gR(o){return o&&o.length?Hr(o):[]}function BR(o,l){return o&&o.length?Hr(o,cA(l,2)):[]}function mR(o,l){return l=typeof l=="function"?l:e,o&&o.length?Hr(o,e,l):[]}function vd(o){if(!(o&&o.length))return[];var l=0;return o=br(o,function(f){if(de(f))return l=ve(f.length,l),!0}),Vf(l,function(f){return ne(o,Rf(f))})}function K0(o,l){if(!(o&&o.length))return[];var f=vd(o);return l==null?f:ne(f,function(p){return xt(l,e,p)})}var wR=UA(function(o,l){return de(o)?Bo(o,l):[]}),CR=UA(function(o){return cd(br(o,de))}),yR=UA(function(o){var l=qt(o);return de(l)&&(l=e),cd(br(o,de),cA(l,2))}),QR=UA(function(o){var l=qt(o);return l=typeof l=="function"?l:e,cd(br(o,de),e,l)}),ER=UA(vd);function FR(o,l){return i0(o||[],l||[],go)}function UR(o,l){return i0(o||[],l||[],Co)}var vR=UA(function(o){var l=o.length,f=l>1?o[l-1]:e;return f=typeof f=="function"?(o.pop(),f):e,K0(o,f)});function P0(o){var l=y(o);return l.__chain__=!0,l}function bR(o,l){return l(o),o}function Gl(o,l){return l(o)}var IR=$n(function(o){var l=o.length,f=l?o[0]:0,p=this.__wrapped__,w=function(Q){return qf(Q,o)};return l>1||this.__actions__.length||!(p instanceof LA)||!Xn(f)?this.thru(w):(p=p.slice(f,+f+(l?1:0)),p.__actions__.push({func:Gl,args:[w],thisArg:e}),new Xt(p,this.__chain__).thru(function(Q){return l&&!Q.length&&Q.push(e),Q}))});function SR(){return P0(this)}function TR(){return new Xt(this.value(),this.__chain__)}function xR(){this.__values__===e&&(this.__values__=ty(this.value()));var o=this.__index__>=this.__values__.length,l=o?e:this.__values__[this.__index__++];return{done:o,value:l}}function HR(){return this}function LR(o){for(var l,f=this;f instanceof Sl;){var p=_0(f);p.__index__=0,p.__values__=e,l?w.__wrapped__=p:l=p;var w=p;f=f.__wrapped__}return w.__wrapped__=o,l}function OR(){var o=this.__wrapped__;if(o instanceof LA){var l=o;return this.__actions__.length&&(l=new LA(this)),l=l.reverse(),l.__actions__.push({func:Gl,args:[Ud],thisArg:e}),new Xt(l,this.__chain__)}return this.thru(Ud)}function _R(){return r0(this.__wrapped__,this.__actions__)}var MR=Ml(function(o,l,f){PA.call(o,f)?++o[f]:Wn(o,f,1)});function DR(o,l,f){var p=BA(o)?BC:bk;return f&&ct(o,l,f)&&(l=e),p(o,cA(l,3))}function kR(o,l){var f=BA(o)?br:KC;return f(o,cA(l,3))}var NR=p0(M0),RR=p0(D0);function KR(o,l){return Ve(Wl(o,l),1)}function PR(o,l){return Ve(Wl(o,l),bA)}function VR(o,l,f){return f=f===e?1:CA(f),Ve(Wl(o,l),f)}function V0(o,l){var f=BA(o)?Jt:xr;return f(o,cA(l,3))}function G0(o,l){var f=BA(o)?aD:RC;return f(o,cA(l,3))}var GR=Ml(function(o,l,f){PA.call(o,f)?o[f].push(l):Wn(o,f,[l])});function WR(o,l,f,p){o=wt(o)?o:fs(o),f=f&&!p?CA(f):0;var w=o.length;return f<0&&(f=ve(w+f,0)),zl(o)?f<=w&&o.indexOf(l,f)>-1:!!w&&ji(o,l,f)>-1}var JR=UA(function(o,l,f){var p=-1,w=typeof l=="function",Q=wt(o)?D(o.length):[];return xr(o,function(I){Q[++p]=w?xt(l,I,f):mo(I,l,f)}),Q}),$R=Ml(function(o,l,f){Wn(o,f,l)});function Wl(o,l){var f=BA(o)?ne:$C;return f(o,cA(l,3))}function XR(o,l,f,p){return o==null?[]:(BA(l)||(l=l==null?[]:[l]),f=p?e:f,BA(f)||(f=f==null?[]:[f]),qC(o,l,f))}var YR=Ml(function(o,l,f){o[f?0:1].push(l)},function(){return[[],[]]});function zR(o,l,f){var p=BA(o)?kf:yC,w=arguments.length<3;return p(o,cA(l,4),f,w,xr)}function qR(o,l,f){var p=BA(o)?lD:yC,w=arguments.length<3;return p(o,cA(l,4),f,w,RC)}function ZR(o,l){var f=BA(o)?br:KC;return f(o,Xl(cA(l,3)))}function jR(o){var l=BA(o)?MC:Wk;return l(o)}function A4(o,l,f){(f?ct(o,l,f):l===e)?l=1:l=CA(l);var p=BA(o)?Qk:Jk;return p(o,l)}function e4(o){var l=BA(o)?Ek:Xk;return l(o)}function t4(o){if(o==null)return 0;if(wt(o))return zl(o)?es(o):o.length;var l=Ze(o);return l==v||l==Re?o.size:nd(o).length}function n4(o,l,f){var p=BA(o)?Nf:Yk;return f&&ct(o,l,f)&&(l=e),p(o,cA(l,3))}var r4=UA(function(o,l){if(o==null)return[];var f=l.length;return f>1&&ct(o,l[0],l[1])?l=[]:f>2&&ct(l[0],l[1],l[2])&&(l=[l[0]]),qC(o,Ve(l,1),[])}),Jl=kD||function(){return Pe.Date.now()};function i4(o,l){if(typeof l!="function")throw new $t(s);return o=CA(o),function(){if(--o<1)return l.apply(this,arguments)}}function W0(o,l,f){return l=f?e:l,l=o&&l==null?o.length:l,Jn(o,N,e,e,e,e,l)}function J0(o,l){var f;if(typeof l!="function")throw new $t(s);return o=CA(o),function(){return--o>0&&(f=l.apply(this,arguments)),o<=1&&(l=e),f}}var bd=UA(function(o,l,f){var p=S;if(f.length){var w=Sr(f,cs(bd));p|=T}return Jn(o,p,l,f,w)}),$0=UA(function(o,l,f){var p=S|U;if(f.length){var w=Sr(f,cs($0));p|=T}return Jn(l,p,o,f,w)});function X0(o,l,f){l=f?e:l;var p=Jn(o,M,e,e,e,e,e,l);return p.placeholder=X0.placeholder,p}function Y0(o,l,f){l=f?e:l;var p=Jn(o,F,e,e,e,e,e,l);return p.placeholder=Y0.placeholder,p}function z0(o,l,f){var p,w,Q,I,x,_,V=0,G=!1,$=!1,z=!0;if(typeof o!="function")throw new $t(s);l=Zt(l)||0,ie(f)&&(G=!!f.leading,$="maxWait"in f,Q=$?ve(Zt(f.maxWait)||0,l):Q,z="trailing"in f?!!f.trailing:z);function sA(he){var fn=p,qn=w;return p=w=e,V=he,I=o.apply(qn,fn),I}function fA(he){return V=he,x=Eo(SA,l),G?sA(he):I}function EA(he){var fn=he-_,qn=he-V,py=l-fn;return $?qe(py,Q-qn):py}function dA(he){var fn=he-_,qn=he-V;return _===e||fn>=l||fn<0||$&&qn>=Q}function SA(){var he=Jl();if(dA(he))return _A(he);x=Eo(SA,EA(he))}function _A(he){return x=e,z&&p?sA(he):(p=w=e,I)}function _t(){x!==e&&s0(x),V=0,p=_=w=x=e}function ut(){return x===e?I:_A(Jl())}function Mt(){var he=Jl(),fn=dA(he);if(p=arguments,w=this,_=he,fn){if(x===e)return fA(_);if($)return s0(x),x=Eo(SA,l),sA(_)}return x===e&&(x=Eo(SA,l)),I}return Mt.cancel=_t,Mt.flush=ut,Mt}var s4=UA(function(o,l){return NC(o,1,l)}),o4=UA(function(o,l,f){return NC(o,Zt(l)||0,f)});function a4(o){return Jn(o,J)}function $l(o,l){if(typeof o!="function"||l!=null&&typeof l!="function")throw new $t(s);var f=function(){var p=arguments,w=l?l.apply(this,p):p[0],Q=f.cache;if(Q.has(w))return Q.get(w);var I=o.apply(this,p);return f.cache=Q.set(w,I)||Q,I};return f.cache=new($l.Cache||Gn),f}$l.Cache=Gn;function Xl(o){if(typeof o!="function")throw new $t(s);return function(){var l=arguments;switch(l.length){case 0:return!o.call(this);case 1:return!o.call(this,l[0]);case 2:return!o.call(this,l[0],l[1]);case 3:return!o.call(this,l[0],l[1],l[2])}return!o.apply(this,l)}}function l4(o){return J0(2,o)}var c4=zk(function(o,l){l=l.length==1&&BA(l[0])?ne(l[0],Ht(cA())):ne(Ve(l,1),Ht(cA()));var f=l.length;return UA(function(p){for(var w=-1,Q=qe(p.length,f);++w<Q;)p[w]=l[w].call(this,p[w]);return xt(o,this,p)})}),Id=UA(function(o,l){var f=Sr(l,cs(Id));return Jn(o,T,e,l,f)}),q0=UA(function(o,l){var f=Sr(l,cs(q0));return Jn(o,L,e,l,f)}),u4=$n(function(o,l){return Jn(o,W,e,e,e,l)});function f4(o,l){if(typeof o!="function")throw new $t(s);return l=l===e?l:CA(l),UA(o,l)}function d4(o,l){if(typeof o!="function")throw new $t(s);return l=l==null?0:ve(CA(l),0),UA(function(f){var p=f[l],w=Or(f,0,l);return p&&Ir(w,p),xt(o,this,w)})}function h4(o,l,f){var p=!0,w=!0;if(typeof o!="function")throw new $t(s);return ie(f)&&(p="leading"in f?!!f.leading:p,w="trailing"in f?!!f.trailing:w),z0(o,l,{leading:p,maxWait:l,trailing:w})}function p4(o){return W0(o,1)}function g4(o,l){return Id(fd(l),o)}function B4(){if(!arguments.length)return[];var o=arguments[0];return BA(o)?o:[o]}function m4(o){return Yt(o,m)}function w4(o,l){return l=typeof l=="function"?l:e,Yt(o,m,l)}function C4(o){return Yt(o,h|m)}function y4(o,l){return l=typeof l=="function"?l:e,Yt(o,h|m,l)}function Q4(o,l){return l==null||kC(o,l,xe(l))}function un(o,l){return o===l||o!==o&&l!==l}var E4=Rl(Ad),F4=Rl(function(o,l){return o>=l}),fi=GC(function(){return arguments}())?GC:function(o){return ae(o)&&PA.call(o,"callee")&&!TC.call(o,"callee")},BA=D.isArray,U4=uC?Ht(uC):Lk;function wt(o){return o!=null&&Yl(o.length)&&!Yn(o)}function de(o){return ae(o)&&wt(o)}function v4(o){return o===!0||o===!1||ae(o)&&lt(o)==st}var _r=RD||Nd,b4=fC?Ht(fC):Ok;function I4(o){return ae(o)&&o.nodeType===1&&!Fo(o)}function S4(o){if(o==null)return!0;if(wt(o)&&(BA(o)||typeof o=="string"||typeof o.splice=="function"||_r(o)||us(o)||fi(o)))return!o.length;var l=Ze(o);if(l==v||l==Re)return!o.size;if(Qo(o))return!nd(o).length;for(var f in o)if(PA.call(o,f))return!1;return!0}function T4(o,l){return wo(o,l)}function x4(o,l,f){f=typeof f=="function"?f:e;var p=f?f(o,l):e;return p===e?wo(o,l,e,f):!!p}function Sd(o){if(!ae(o))return!1;var l=lt(o);return l==ot||l==ke||typeof o.message=="string"&&typeof o.name=="string"&&!Fo(o)}function H4(o){return typeof o=="number"&&HC(o)}function Yn(o){if(!ie(o))return!1;var l=lt(o);return l==It||l==H||l==it||l==at}function Z0(o){return typeof o=="number"&&o==CA(o)}function Yl(o){return typeof o=="number"&&o>-1&&o%1==0&&o<=mA}function ie(o){var l=typeof o;return o!=null&&(l=="object"||l=="function")}function ae(o){return o!=null&&typeof o=="object"}var j0=dC?Ht(dC):Mk;function L4(o,l){return o===l||td(o,l,wd(l))}function O4(o,l,f){return f=typeof f=="function"?f:e,td(o,l,wd(l),f)}function _4(o){return Ay(o)&&o!=+o}function M4(o){if(wN(o))throw new pA(i);return WC(o)}function D4(o){return o===null}function k4(o){return o==null}function Ay(o){return typeof o=="number"||ae(o)&&lt(o)==k}function Fo(o){if(!ae(o)||lt(o)!=oA)return!1;var l=Ql(o);if(l===null)return!0;var f=PA.call(l,"constructor")&&l.constructor;return typeof f=="function"&&f instanceof f&&ml.call(f)==OD}var Td=hC?Ht(hC):Dk;function N4(o){return Z0(o)&&o>=-mA&&o<=mA}var ey=pC?Ht(pC):kk;function zl(o){return typeof o=="string"||!BA(o)&&ae(o)&&lt(o)==KA}function Ot(o){return typeof o=="symbol"||ae(o)&&lt(o)==P}var us=gC?Ht(gC):Nk;function R4(o){return o===e}function K4(o){return ae(o)&&Ze(o)==oe}function P4(o){return ae(o)&&lt(o)==Fe}var V4=Rl(rd),G4=Rl(function(o,l){return o<=l});function ty(o){if(!o)return[];if(wt(o))return zl(o)?ln(o):mt(o);if(co&&o[co])return QD(o[co]());var l=Ze(o),f=l==v?Wf:l==Re?pl:fs;return f(o)}function zn(o){if(!o)return o===0?o:0;if(o=Zt(o),o===bA||o===-bA){var l=o<0?-1:1;return l*re}return o===o?o:0}function CA(o){var l=zn(o),f=l%1;return l===l?f?l-f:l:0}function ny(o){return o?ai(CA(o),0,JA):0}function Zt(o){if(typeof o=="number")return o;if(Ot(o))return ZA;if(ie(o)){var l=typeof o.valueOf=="function"?o.valueOf():o;o=ie(l)?l+"":l}if(typeof o!="string")return o===0?o:+o;o=QC(o);var f=UM.test(o);return f||bM.test(o)?iD(o.slice(2),f?2:8):FM.test(o)?ZA:+o}function ry(o){return vn(o,Ct(o))}function W4(o){return o?ai(CA(o),-mA,mA):o===0?o:0}function RA(o){return o==null?"":Lt(o)}var J4=as(function(o,l){if(Qo(l)||wt(l)){vn(l,xe(l),o);return}for(var f in l)PA.call(l,f)&&go(o,f,l[f])}),iy=as(function(o,l){vn(l,Ct(l),o)}),ql=as(function(o,l,f,p){vn(l,Ct(l),o,p)}),$4=as(function(o,l,f,p){vn(l,xe(l),o,p)}),X4=$n(qf);function Y4(o,l){var f=ss(o);return l==null?f:DC(f,l)}var z4=UA(function(o,l){o=XA(o);var f=-1,p=l.length,w=p>2?l[2]:e;for(w&&ct(l[0],l[1],w)&&(p=1);++f<p;)for(var Q=l[f],I=Ct(Q),x=-1,_=I.length;++x<_;){var V=I[x],G=o[V];(G===e||un(G,ns[V])&&!PA.call(o,V))&&(o[V]=Q[V])}return o}),q4=UA(function(o){return o.push(e,Q0),xt(sy,e,o)});function Z4(o,l){return mC(o,cA(l,3),Un)}function j4(o,l){return mC(o,cA(l,3),jf)}function AK(o,l){return o==null?o:Zf(o,cA(l,3),Ct)}function eK(o,l){return o==null?o:PC(o,cA(l,3),Ct)}function tK(o,l){return o&&Un(o,cA(l,3))}function nK(o,l){return o&&jf(o,cA(l,3))}function rK(o){return o==null?[]:Hl(o,xe(o))}function iK(o){return o==null?[]:Hl(o,Ct(o))}function xd(o,l,f){var p=o==null?e:li(o,l);return p===e?f:p}function sK(o,l){return o!=null&&U0(o,l,Sk)}function Hd(o,l){return o!=null&&U0(o,l,Tk)}var oK=B0(function(o,l,f){l!=null&&typeof l.toString!="function"&&(l=wl.call(l)),o[l]=f},Od(yt)),aK=B0(function(o,l,f){l!=null&&typeof l.toString!="function"&&(l=wl.call(l)),PA.call(o,l)?o[l].push(f):o[l]=[f]},cA),lK=UA(mo);function xe(o){return wt(o)?_C(o):nd(o)}function Ct(o){return wt(o)?_C(o,!0):Rk(o)}function cK(o,l){var f={};return l=cA(l,3),Un(o,function(p,w,Q){Wn(f,l(p,w,Q),p)}),f}function uK(o,l){var f={};return l=cA(l,3),Un(o,function(p,w,Q){Wn(f,w,l(p,w,Q))}),f}var fK=as(function(o,l,f){Ll(o,l,f)}),sy=as(function(o,l,f,p){Ll(o,l,f,p)}),dK=$n(function(o,l){var f={};if(o==null)return f;var p=!1;l=ne(l,function(Q){return Q=Lr(Q,o),p||(p=Q.length>1),Q}),vn(o,Bd(o),f),p&&(f=Yt(f,h|B|m,oN));for(var w=l.length;w--;)ld(f,l[w]);return f});function hK(o,l){return oy(o,Xl(cA(l)))}var pK=$n(function(o,l){return o==null?{}:Pk(o,l)});function oy(o,l){if(o==null)return{};var f=ne(Bd(o),function(p){return[p]});return l=cA(l),ZC(o,f,function(p,w){return l(p,w[0])})}function gK(o,l,f){l=Lr(l,o);var p=-1,w=l.length;for(w||(w=1,o=e);++p<w;){var Q=o==null?e:o[bn(l[p])];Q===e&&(p=w,Q=f),o=Yn(Q)?Q.call(o):Q}return o}function BK(o,l,f){return o==null?o:Co(o,l,f)}function mK(o,l,f,p){return p=typeof p=="function"?p:e,o==null?o:Co(o,l,f,p)}var ay=C0(xe),ly=C0(Ct);function wK(o,l,f){var p=BA(o),w=p||_r(o)||us(o);if(l=cA(l,4),f==null){var Q=o&&o.constructor;w?f=p?new Q:[]:ie(o)?f=Yn(Q)?ss(Ql(o)):{}:f={}}return(w?Jt:Un)(o,function(I,x,_){return l(f,I,x,_)}),f}function CK(o,l){return o==null?!0:ld(o,l)}function yK(o,l,f){return o==null?o:n0(o,l,fd(f))}function QK(o,l,f,p){return p=typeof p=="function"?p:e,o==null?o:n0(o,l,fd(f),p)}function fs(o){return o==null?[]:Gf(o,xe(o))}function EK(o){return o==null?[]:Gf(o,Ct(o))}function FK(o,l,f){return f===e&&(f=l,l=e),f!==e&&(f=Zt(f),f=f===f?f:0),l!==e&&(l=Zt(l),l=l===l?l:0),ai(Zt(o),l,f)}function UK(o,l,f){return l=zn(l),f===e?(f=l,l=0):f=zn(f),o=Zt(o),xk(o,l,f)}function vK(o,l,f){if(f&&typeof f!="boolean"&&ct(o,l,f)&&(l=f=e),f===e&&(typeof l=="boolean"?(f=l,l=e):typeof o=="boolean"&&(f=o,o=e)),o===e&&l===e?(o=0,l=1):(o=zn(o),l===e?(l=o,o=0):l=zn(l)),o>l){var p=o;o=l,l=p}if(f||o%1||l%1){var w=LC();return qe(o+w*(l-o+rD("1e-"+((w+"").length-1))),l)}return sd(o,l)}var bK=ls(function(o,l,f){return l=l.toLowerCase(),o+(f?cy(l):l)});function cy(o){return Ld(RA(o).toLowerCase())}function uy(o){return o=RA(o),o&&o.replace(SM,BD).replace(XM,"")}function IK(o,l,f){o=RA(o),l=Lt(l);var p=o.length;f=f===e?p:ai(CA(f),0,p);var w=f;return f-=l.length,f>=0&&o.slice(f,w)==l}function SK(o){return o=RA(o),o&&oo.test(o)?o.replace(so,mD):o}function TK(o){return o=RA(o),o&&pM.test(o)?o.replace(If,"\\$&"):o}var xK=ls(function(o,l,f){return o+(f?"-":"")+l.toLowerCase()}),HK=ls(function(o,l,f){return o+(f?" ":"")+l.toLowerCase()}),LK=h0("toLowerCase");function OK(o,l,f){o=RA(o),l=CA(l);var p=l?es(o):0;if(!l||p>=l)return o;var w=(l-p)/2;return Nl(vl(w),f)+o+Nl(Ul(w),f)}function _K(o,l,f){o=RA(o),l=CA(l);var p=l?es(o):0;return l&&p<l?o+Nl(l-p,f):o}function MK(o,l,f){o=RA(o),l=CA(l);var p=l?es(o):0;return l&&p<l?Nl(l-p,f)+o:o}function DK(o,l,f){return f||l==null?l=0:l&&(l=+l),GD(RA(o).replace(Sf,""),l||0)}function kK(o,l,f){return(f?ct(o,l,f):l===e)?l=1:l=CA(l),od(RA(o),l)}function NK(){var o=arguments,l=RA(o[0]);return o.length<3?l:l.replace(o[1],o[2])}var RK=ls(function(o,l,f){return o+(f?"_":"")+l.toLowerCase()});function KK(o,l,f){return f&&typeof f!="number"&&ct(o,l,f)&&(l=f=e),f=f===e?JA:f>>>0,f?(o=RA(o),o&&(typeof l=="string"||l!=null&&!Td(l))&&(l=Lt(l),!l&&As(o))?Or(ln(o),0,f):o.split(l,f)):[]}var PK=ls(function(o,l,f){return o+(f?" ":"")+Ld(l)});function VK(o,l,f){return o=RA(o),f=f==null?0:ai(CA(f),0,o.length),l=Lt(l),o.slice(f,f+l.length)==l}function GK(o,l,f){var p=y.templateSettings;f&&ct(o,l,f)&&(l=e),o=RA(o),l=ql({},l,p,y0);var w=ql({},l.imports,p.imports,y0),Q=xe(w),I=Gf(w,Q),x,_,V=0,G=l.interpolate||cl,$="__p += '",z=Jf((l.escape||cl).source+"|"+G.source+"|"+(G===ll?EM:cl).source+"|"+(l.evaluate||cl).source+"|$","g"),sA="//# sourceURL="+(PA.call(l,"sourceURL")?(l.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++jM+"]")+`
147
+ `;o.replace(z,function(dA,SA,_A,_t,ut,Mt){return _A||(_A=_t),$+=o.slice(V,Mt).replace(TM,wD),SA&&(x=!0,$+=`' +
148
+ __e(`+SA+`) +
149
+ '`),ut&&(_=!0,$+=`';
150
+ `+ut+`;
151
+ __p += '`),_A&&($+=`' +
152
+ ((__t = (`+_A+`)) == null ? '' : __t) +
153
+ '`),V=Mt+dA.length,dA}),$+=`';
154
+ `;var fA=PA.call(l,"variable")&&l.variable;if(!fA)$=`with (obj) {
155
+ `+$+`
45
156
  }
46
- `;else if(_E.test(nA))throw new oA(B);W=(y?W.replace(cE,""):W).replace(BE,"$1").replace(fE,"$1;"),W="function("+(nA||"obj")+`) {
47
- `+(nA?"":`obj || (obj = {});
48
- `)+"var __t, __p = ''"+(E?", __e = _.escape":"")+(y?`, __j = Array.prototype.join;
157
+ `;else if(yM.test(fA))throw new pA(a);$=(_?$.replace(OA,""):$).replace(Ke,"$1").replace(Bt,"$1;"),$="function("+(fA||"obj")+`) {
158
+ `+(fA?"":`obj || (obj = {});
159
+ `)+"var __t, __p = ''"+(x?", __e = _.escape":"")+(_?`, __j = Array.prototype.join;
49
160
  function print() { __p += __j.call(arguments, '') }
50
161
  `:`;
51
- `)+W+`return __p
52
- }`;var cA=Pg(function(){return FA(C,eA+"return "+W).apply(t,p)});if(cA.source=W,ol(cA))throw cA;return cA}function qH(A){return vA(A).toLowerCase()}function zH(A){return vA(A).toUpperCase()}function jH(A,n,i){if(A=vA(A),A&&(i||n===t))return qB(A);if(!A||!(n=ke(n)))return A;var u=Bt(A),g=Bt(n),C=zB(u,g),p=jB(u,g)+1;return cr(u,C,p).join("")}function AL(A,n,i){if(A=vA(A),A&&(i||n===t))return A.slice(0,ef(A)+1);if(!A||!(n=ke(n)))return A;var u=Bt(A),g=jB(u,Bt(n))+1;return cr(u,0,g).join("")}function eL(A,n,i){if(A=vA(A),A&&(i||n===t))return A.replace(so,"");if(!A||!(n=ke(n)))return A;var u=Bt(A),g=zB(u,Bt(n));return cr(u,g).join("")}function tL(A,n){var i=AA,u=fA;if(GA(n)){var g="separator"in n?n.separator:g;i="length"in n?uA(n.length):i,u="omission"in n?ke(n.omission):u}A=vA(A);var C=A.length;if(Jr(A)){var p=Bt(A);C=p.length}if(i>=C)return A;var E=i-$r(u);if(E<1)return u;var y=p?cr(p,0,E).join(""):A.slice(0,E);if(g===t)return y+u;if(p&&(E+=y.length-E),ll(g)){if(A.slice(E).search(g)){var G,P=y;for(g.global||(g=Io(g.source,vA(QB.exec(g))+"g")),g.lastIndex=0;G=g.exec(P);)var W=G.index;y=y.slice(0,W===t?E:W)}}else if(A.indexOf(ke(g),E)!=E){var Y=y.lastIndexOf(g);Y>-1&&(y=y.slice(0,Y))}return y+u}function rL(A){return A=vA(A),A&&gE.test(A)?A.replace(wB,Tm):A}var nL=tn(function(A,n,i){return A+(i?" ":"")+n.toUpperCase()}),Bl=kf("toUpperCase");function Gg(A,n,i){return A=vA(A),n=i?t:n,n===t?_m(A)?Om(A):hm(A):A.match(n)||[]}var Pg=BA(function(A,n){try{return Ge(A,t,n)}catch(i){return ol(i)?i:new oA(i)}}),aL=Vt(function(A,n){return et(n,function(i){i=vt(i),Mt(A,i,il(A[i],A))}),A});function iL(A){var n=A==null?0:A.length,i=rA();return A=n?VA(A,function(u){if(typeof u[1]!="function")throw new tt(l);return[i(u[0]),u[1]]}):[],BA(function(u){for(var g=-1;++g<n;){var C=A[g];if(Ge(C[0],this,u))return Ge(C[1],this,u)}})}function sL(A){return TI(nt(A,Q))}function fl(A){return function(){return A}}function oL(A,n){return A==null||A!==A?n:A}var lL=Xf(),uL=Xf(!0);function Se(A){return A}function gl(A){return Ff(typeof A=="function"?A:nt(A,Q))}function cL(A){return mf(nt(A,Q))}function BL(A,n){return If(A,nt(n,Q))}var fL=BA(function(A,n){return function(i){return kn(i,A,n)}}),gL=BA(function(A,n){return function(i){return kn(A,i,n)}});function dl(A,n,i){var u=se(n),g=pi(n,u);i==null&&!(GA(n)&&(g.length||!u.length))&&(i=n,n=A,A=this,g=pi(n,se(n)));var C=!(GA(i)&&"chain"in i)||!!i.chain,p=Pt(A);return et(g,function(E){var y=n[E];A[E]=y,p&&(A.prototype[E]=function(){var G=this.__chain__;if(C||G){var P=A(this.__wrapped__),W=P.__actions__=be(this.__actions__);return W.push({func:y,args:arguments,thisArg:A}),P.__chain__=G,P}return y.apply(A,ar([this.value()],arguments))})}),A}function dL(){return ge._===this&&(ge._=Vm),this}function wl(){}function wL(A){return A=uA(A),BA(function(n){return vf(n,A)})}var CL=Yo(VA),hL=Yo(XB),QL=Yo(ho);function kg(A){return Al(A)?Qo(vt(A)):$I(A)}function UL(A){return function(n){return A==null?t:mr(A,n)}}var pL=Jf(),FL=Jf(!0);function Cl(){return[]}function hl(){return!1}function EL(){return{}}function mL(){return""}function IL(){return!0}function vL(A,n){if(A=uA(A),A<1||A>_A)return[];var i=RA,u=Qe(A,RA);n=rA(n),A-=RA;for(var g=Fo(u,n);++i<A;)n(i);return g}function _L(A){return lA(A)?VA(A,vt):We(A)?[A]:be(ug(vA(A)))}function yL(A){var n=++Mm;return vA(A)+n}var HL=_i(function(A,n){return A+n},0),LL=Jo("ceil"),bL=_i(function(A,n){return A/n},1),TL=Jo("floor");function DL(A){return A&&A.length?Ui(A,Se,Do):t}function SL(A,n){return A&&A.length?Ui(A,rA(n,2),Do):t}function OL(A){return $B(A,Se)}function KL(A,n){return $B(A,rA(n,2))}function xL(A){return A&&A.length?Ui(A,Se,xo):t}function NL(A,n){return A&&A.length?Ui(A,rA(n,2),xo):t}var ML=_i(function(A,n){return A*n},1),RL=Jo("round"),VL=_i(function(A,n){return A-n},0);function GL(A){return A&&A.length?po(A,Se):0}function PL(A,n){return A&&A.length?po(A,rA(n,2)):0}return d.after=cy,d.ary=pg,d.assign=zy,d.assignIn=Og,d.assignInWith=Ri,d.assignWith=jy,d.at=AH,d.before=Fg,d.bind=il,d.bindAll=aL,d.bindKey=Eg,d.castArray=Ey,d.chain=hg,d.chunk=Tv,d.compact=Dv,d.concat=Sv,d.cond=iL,d.conforms=sL,d.constant=fl,d.countBy=G_,d.create=eH,d.curry=mg,d.curryRight=Ig,d.debounce=vg,d.defaults=tH,d.defaultsDeep=rH,d.defer=By,d.delay=fy,d.difference=Ov,d.differenceBy=Kv,d.differenceWith=xv,d.drop=Nv,d.dropRight=Mv,d.dropRightWhile=Rv,d.dropWhile=Vv,d.fill=Gv,d.filter=k_,d.flatMap=Y_,d.flatMapDeep=J_,d.flatMapDepth=$_,d.flatten=gg,d.flattenDeep=Pv,d.flattenDepth=kv,d.flip=gy,d.flow=lL,d.flowRight=uL,d.fromPairs=Wv,d.functions=uH,d.functionsIn=cH,d.groupBy=Z_,d.initial=Yv,d.intersection=Jv,d.intersectionBy=$v,d.intersectionWith=Zv,d.invert=fH,d.invertBy=gH,d.invokeMap=z_,d.iteratee=gl,d.keyBy=j_,d.keys=se,d.keysIn=De,d.map=Si,d.mapKeys=wH,d.mapValues=CH,d.matches=cL,d.matchesProperty=BL,d.memoize=Ki,d.merge=hH,d.mergeWith=Kg,d.method=fL,d.methodOf=gL,d.mixin=dl,d.negate=xi,d.nthArg=wL,d.omit=QH,d.omitBy=UH,d.once=dy,d.orderBy=Ay,d.over=CL,d.overArgs=wy,d.overEvery=hL,d.overSome=QL,d.partial=sl,d.partialRight=_g,d.partition=ey,d.pick=pH,d.pickBy=xg,d.property=kg,d.propertyOf=UL,d.pull=A_,d.pullAll=wg,d.pullAllBy=e_,d.pullAllWith=t_,d.pullAt=r_,d.range=pL,d.rangeRight=FL,d.rearg=Cy,d.reject=ny,d.remove=n_,d.rest=hy,d.reverse=nl,d.sampleSize=iy,d.set=EH,d.setWith=mH,d.shuffle=sy,d.slice=a_,d.sortBy=uy,d.sortedUniq=B_,d.sortedUniqBy=f_,d.split=YH,d.spread=Qy,d.tail=g_,d.take=d_,d.takeRight=w_,d.takeRightWhile=C_,d.takeWhile=h_,d.tap=D_,d.throttle=Uy,d.thru=Di,d.toArray=Tg,d.toPairs=Ng,d.toPairsIn=Mg,d.toPath=_L,d.toPlainObject=Sg,d.transform=IH,d.unary=py,d.union=Q_,d.unionBy=U_,d.unionWith=p_,d.uniq=F_,d.uniqBy=E_,d.uniqWith=m_,d.unset=vH,d.unzip=al,d.unzipWith=Cg,d.update=_H,d.updateWith=yH,d.values=an,d.valuesIn=HH,d.without=I_,d.words=Gg,d.wrap=Fy,d.xor=v_,d.xorBy=__,d.xorWith=y_,d.zip=H_,d.zipObject=L_,d.zipObjectDeep=b_,d.zipWith=T_,d.entries=Ng,d.entriesIn=Mg,d.extend=Og,d.extendWith=Ri,dl(d,d),d.add=HL,d.attempt=Pg,d.camelCase=DH,d.capitalize=Rg,d.ceil=LL,d.clamp=LH,d.clone=my,d.cloneDeep=vy,d.cloneDeepWith=_y,d.cloneWith=Iy,d.conformsTo=yy,d.deburr=Vg,d.defaultTo=oL,d.divide=bL,d.endsWith=SH,d.eq=gt,d.escape=OH,d.escapeRegExp=KH,d.every=P_,d.find=W_,d.findIndex=Bg,d.findKey=nH,d.findLast=X_,d.findLastIndex=fg,d.findLastKey=aH,d.floor=TL,d.forEach=Qg,d.forEachRight=Ug,d.forIn=iH,d.forInRight=sH,d.forOwn=oH,d.forOwnRight=lH,d.get=ul,d.gt=Hy,d.gte=Ly,d.has=BH,d.hasIn=cl,d.head=dg,d.identity=Se,d.includes=q_,d.indexOf=Xv,d.inRange=bH,d.invoke=dH,d.isArguments=_r,d.isArray=lA,d.isArrayBuffer=by,d.isArrayLike=Te,d.isArrayLikeObject=$A,d.isBoolean=Ty,d.isBuffer=Br,d.isDate=Dy,d.isElement=Sy,d.isEmpty=Oy,d.isEqual=Ky,d.isEqualWith=xy,d.isError=ol,d.isFinite=Ny,d.isFunction=Pt,d.isInteger=yg,d.isLength=Ni,d.isMap=Hg,d.isMatch=My,d.isMatchWith=Ry,d.isNaN=Vy,d.isNative=Gy,d.isNil=ky,d.isNull=Py,d.isNumber=Lg,d.isObject=GA,d.isObjectLike=WA,d.isPlainObject=Zn,d.isRegExp=ll,d.isSafeInteger=Wy,d.isSet=bg,d.isString=Mi,d.isSymbol=We,d.isTypedArray=nn,d.isUndefined=Xy,d.isWeakMap=Yy,d.isWeakSet=Jy,d.join=qv,d.kebabCase=xH,d.last=it,d.lastIndexOf=zv,d.lowerCase=NH,d.lowerFirst=MH,d.lt=$y,d.lte=Zy,d.max=DL,d.maxBy=SL,d.mean=OL,d.meanBy=KL,d.min=xL,d.minBy=NL,d.stubArray=Cl,d.stubFalse=hl,d.stubObject=EL,d.stubString=mL,d.stubTrue=IL,d.multiply=ML,d.nth=jv,d.noConflict=dL,d.noop=wl,d.now=Oi,d.pad=RH,d.padEnd=VH,d.padStart=GH,d.parseInt=PH,d.random=TH,d.reduce=ty,d.reduceRight=ry,d.repeat=kH,d.replace=WH,d.result=FH,d.round=RL,d.runInContext=v,d.sample=ay,d.size=oy,d.snakeCase=XH,d.some=ly,d.sortedIndex=i_,d.sortedIndexBy=s_,d.sortedIndexOf=o_,d.sortedLastIndex=l_,d.sortedLastIndexBy=u_,d.sortedLastIndexOf=c_,d.startCase=JH,d.startsWith=$H,d.subtract=VL,d.sum=GL,d.sumBy=PL,d.template=ZH,d.times=vL,d.toFinite=kt,d.toInteger=uA,d.toLength=Dg,d.toLower=qH,d.toNumber=st,d.toSafeInteger=qy,d.toString=vA,d.toUpper=zH,d.trim=jH,d.trimEnd=AL,d.trimStart=eL,d.truncate=tL,d.unescape=rL,d.uniqueId=yL,d.upperCase=nL,d.upperFirst=Bl,d.each=Qg,d.eachRight=Ug,d.first=dg,dl(d,function(){var A={};return mt(d,function(n,i){yA.call(d.prototype,i)||(A[i]=n)}),A}(),{chain:!1}),d.VERSION=a,et(["bind","bindKey","curry","curryRight","partial","partialRight"],function(A){d[A].placeholder=d}),et(["drop","take"],function(A,n){CA.prototype[A]=function(i){i=i===t?1:ne(uA(i),0);var u=this.__filtered__&&!n?new CA(this):this.clone();return u.__filtered__?u.__takeCount__=Qe(i,u.__takeCount__):u.__views__.push({size:Qe(i,RA),type:A+(u.__dir__<0?"Right":"")}),u},CA.prototype[A+"Right"]=function(i){return this.reverse()[A](i).reverse()}}),et(["filter","map","takeWhile"],function(A,n){var i=n+1,u=i==IA||i==QA;CA.prototype[A]=function(g){var C=this.clone();return C.__iteratees__.push({iteratee:rA(g,3),type:i}),C.__filtered__=C.__filtered__||u,C}}),et(["head","last"],function(A,n){var i="take"+(n?"Right":"");CA.prototype[A]=function(){return this[i](1).value()[0]}}),et(["initial","tail"],function(A,n){var i="drop"+(n?"":"Right");CA.prototype[A]=function(){return this.__filtered__?new CA(this):this[i](1)}}),CA.prototype.compact=function(){return this.filter(Se)},CA.prototype.find=function(A){return this.filter(A).head()},CA.prototype.findLast=function(A){return this.reverse().find(A)},CA.prototype.invokeMap=BA(function(A,n){return typeof A=="function"?new CA(this):this.map(function(i){return kn(i,A,n)})}),CA.prototype.reject=function(A){return this.filter(xi(rA(A)))},CA.prototype.slice=function(A,n){A=uA(A);var i=this;return i.__filtered__&&(A>0||n<0)?new CA(i):(A<0?i=i.takeRight(-A):A&&(i=i.drop(A)),n!==t&&(n=uA(n),i=n<0?i.dropRight(-n):i.take(n-A)),i)},CA.prototype.takeRightWhile=function(A){return this.reverse().takeWhile(A).reverse()},CA.prototype.toArray=function(){return this.take(RA)},mt(CA.prototype,function(A,n){var i=/^(?:filter|find|map|reject)|While$/.test(n),u=/^(?:head|last)$/.test(n),g=d[u?"take"+(n=="last"?"Right":""):n],C=u||/^find/.test(n);g&&(d.prototype[n]=function(){var p=this.__wrapped__,E=u?[1]:arguments,y=p instanceof CA,G=E[0],P=y||lA(p),W=function(gA){var hA=g.apply(d,ar([gA],E));return u&&Y?hA[0]:hA};P&&i&&typeof G=="function"&&G.length!=1&&(y=P=!1);var Y=this.__chain__,eA=!!this.__actions__.length,nA=C&&!Y,cA=y&&!eA;if(!C&&P){p=cA?p:new CA(this);var aA=A.apply(p,E);return aA.__actions__.push({func:Di,args:[W],thisArg:t}),new rt(aA,Y)}return nA&&cA?A.apply(this,E):(aA=this.thru(W),nA?u?aA.value()[0]:aA.value():aA)})}),et(["pop","push","shift","sort","splice","unshift"],function(A){var n=ai[A],i=/^(?:push|sort|unshift)$/.test(A)?"tap":"thru",u=/^(?:pop|shift)$/.test(A);d.prototype[A]=function(){var g=arguments;if(u&&!this.__chain__){var C=this.value();return n.apply(lA(C)?C:[],g)}return this[i](function(p){return n.apply(lA(p)?p:[],g)})}}),mt(CA.prototype,function(A,n){var i=d[n];if(i){var u=i.name+"";yA.call(jr,u)||(jr[u]=[]),jr[u].push({name:n,func:i})}}),jr[vi(t,m).name]=[{name:"wrapper",func:t}],CA.prototype.clone=rI,CA.prototype.reverse=nI,CA.prototype.value=aI,d.prototype.at=S_,d.prototype.chain=O_,d.prototype.commit=K_,d.prototype.next=x_,d.prototype.plant=M_,d.prototype.reverse=R_,d.prototype.toJSON=d.prototype.valueOf=d.prototype.value=V_,d.prototype.first=d.prototype.head,xn&&(d.prototype[xn]=N_),d},Zr=Km();Qr?((Qr.exports=Zr)._=Zr,fo._=Zr):ge._=Zr}).call(Bn)})(TC,fn);const DC="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABAAAAAQACAYAAAB/HSuDAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAHkJJREFUeNrs3Q1u8zaXgNH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AAAQAAAAAAABAAAAABAAAAAAAAEAAAAAEAAAAAAAAQAAAAAQAAAAAEAAAAAAAAQAAAAAQAAAAAAABAAAAABAAAAAAAAEAAAAAEAAAAAAAAQAAAAAEAAAAAAAAQAAAAAQAAAAAAABAAAAABAAAAAAAAEAAAAAEAAAAAAAAQAAAAAEAIcAAAAABAAAAABAAAAAAAAEAAAAAEAAAAAAAAQAAAAAQAAAAAAABAAAAABAAAAAAAABAAAAABAAAAAAAAEAAAAAEAAAAACAs13f+X/KOdfv/3spJTmUAAAA0EeLOfxy9D/03t8AAACA9sP/u3O4RwAAAAAggJcCgDv9AAAAMIdXZ3Q7AAAAACAAAQAAAAAEAAAAAEAAAADgb3bsWAAAAABgkL/1IPYWRgAgAAAAAAABAAAAAAgAAAAAQAAAAAAAAgAAAAAQAAAAACAAAAAAAAEAAAAACAAAAABAAAAAAAACAAAAABAAAAAAgAAAAAAABAAAAAAIAAAAAEAAAAAAAAIAAAAAEAAAAACAAAAAAAAEAAAAALAkwACd6iSVhnRezwAAAABJRU5ErkJggg==",SC={class:"camera__preview"},OC={class:"camera__bg-notification"},KC={class:f.normalizeClass("d-block light--text")},xC=["width","height"],NC=["width","height"],MC={key:0,class:"camera__countdown-overlay"},RC=["innerHTML","data-countdown"],VC=["src"],GC={class:"camera__controls"},PC={class:"container"},kC={class:"row"},WC={class:"col"},XC={class:"btn-group"},YC={key:0},JC={key:1},$C={class:"camera__switch-cam"},ZC=["onClick"],qC={name:"BaseCamera",inheritAttrs:!1};function zC(e){const r=atob(e.split(",")[1]),t=new ArrayBuffer(r.length),a=new Uint8Array(t);for(let s=0;s<r.length;s++)a[s]=r.charCodeAt(s);return new Blob([t],{type:"image/png"})}const jC=f.defineComponent({...qC,props:{modelValue:{type:null},enableSwitchCamera:{type:Boolean,default:!0},defaultRearCamera:{type:Boolean,default:!1},enableMirrorCamera:{type:Boolean,default:!1},enableGuide:{type:Boolean,default:!0},guideSrc:{type:String,default:()=>DC},countdown:{type:Number,default:3},ratio:{type:String,default:"16-9"}},emits:["update:modelValue"],setup(e,{expose:r,emit:t}){const a=e,s={"1-1":{width:720,height:720},"4-3":{width:640,height:480},"3-4":{width:480,height:640},"16-9":{width:1280,height:720},"9-16":{width:720,height:1280}},o=f.ref(),l=f.ref(),B=f.ref(),c=f.ref(),w=f.ref(!1),h=f.ref(!1),Q=f.ref(0),F=f.ref(0),T=f.ref(),S=f.computed(()=>{const k=c.value&&B.value.findIndex(AA=>AA.deviceId===c.value.deviceId);return a.enableMirrorCamera&&k===0?"mirror-cam":""}),D=f.computed(()=>{const k=c.value&&B.value.findIndex(AA=>AA.deviceId===c.value.deviceId);return S.value?`mirror-cam mirror-device-${k}`:""});function R(){Q.value=o.value.clientWidth,F.value=o.value.clientHeight}const m=fn.debounce(()=>{R()},300,{trailing:!0,leading:!1});function _(){B.value.length>1&&(c.value=c.value&&c.value.deviceId===B.value[0].deviceId?B.value[1]:B.value[0])}function x(){navigator.mediaDevices.getUserMedia({audio:!1,video:{width:{ideal:s[a.ratio]?s[a.ratio].width:o.value.clientWidth},height:{ideal:s[a.ratio]?s[a.ratio].height:o.value.clientHeight}}}).then(k=>{o.value.srcObject=k}).catch(k=>{console.log(k,"May the browser didnt support or there is some errors.")})}function L(){o.value.srcObject.getTracks().forEach(AA=>{AA.stop()})}function H(){w.value?(w.value=!1,h.value=!1,L()):(w.value=!0,x())}function b(){a.countdown?(T.value=T.value?T.value-1:a.countdown,T.value?setTimeout(b,1e3):V()):V()}r({onCapture:b});function V(){h.value=!0,console.log("capture");const k=l.value.getContext("2d"),AA=o.value,fA=AA&&AA.srcObject&&AA.srcObject.getTracks(),{width:mA,height:sA}=fA.length&&fA[0].getSettings(),IA=mA/sA;let PA=l.value.width,QA=PA/IA;QA<l.value.height&&(QA=l.value.height,PA=QA*IA);const pA=S.value?-1:1;k.save(),k.scale(pA,1),k.drawImage(AA,PA>l.value.width?(l.value.width-PA)/2:0,QA>l.value.height?(l.value.height-QA)/2:0,PA*pA,QA),k.restore();const _A=l.value.toDataURL("image/png");$(_A)}function $(k){const AA=zC(k);t("update:modelValue",{name:`cam-pic-${new Date().toISOString()}`,id:`cam-pic-${new Date().toISOString()}`,blob:AA,size:AA.size})}return f.onBeforeMount(async()=>{const k=await navigator.mediaDevices.enumerateDevices();B.value=k.filter(AA=>AA.kind==="videoinput"),c.value=B.value[0],a.defaultRearCamera&&_()}),f.onMounted(()=>{window.addEventListener("resize",m),R(),H()}),f.onBeforeUnmount(()=>{w.value=!1,h.value=!1,L(),window.removeEventListener("resize",m)}),(k,AA)=>{const fA=f.resolveComponent("loading-spinner"),mA=f.resolveComponent("svg-icon");return f.openBlock(),f.createElementBlock("div",{class:f.normalizeClass(["camera",f.unref(D)])},[f.createElementVNode("div",SC,[f.createElementVNode("div",OC,[f.createVNode(fA,{color:"#000"},{default:f.withCtx(()=>[f.createElementVNode("span",KC,f.toDisplayString(k.$t("camera.waitForCameraNotification")),1)]),_:1})]),f.createElementVNode("video",{ref_key:"camera",ref:o,class:"camera__video",width:Q.value,height:F.value,autoplay:"",playsinline:""},null,8,xC),f.withDirectives(f.createElementVNode("canvas",{ref_key:"canvas",ref:l,class:"camera__canvas",width:Q.value,height:F.value},null,8,NC),[[f.vShow,h.value]]),T.value?(f.openBlock(),f.createElementBlock("div",MC,[(f.openBlock(),f.createElementBlock("p",{class:"countdown",key:T.value,innerHTML:T.value,"data-countdown":T.value},null,8,RC))])):f.createCommentVNode("",!0),e.enableGuide&&w.value?(f.openBlock(),f.createElementBlock("img",{key:1,class:"camera__guide",src:e.guideSrc},null,8,VC)):f.createCommentVNode("",!0)]),f.createElementVNode("div",GC,[f.createElementVNode("div",PC,[f.createElementVNode("div",kC,[f.createElementVNode("div",WC,[f.createElementVNode("div",XC,[f.createElementVNode("button",{type:"button",class:"camera__toggle btn btn-primary",onClick:H},[w.value?(f.openBlock(),f.createElementBlock("span",JC,f.toDisplayString(k.$t("common.pause")),1)):(f.openBlock(),f.createElementBlock("span",YC,f.toDisplayString(k.$t("common.play")),1))]),f.createElementVNode("button",{type:"button",class:"camera__capture btn btn-primary",onClick:b},f.toDisplayString(k.$t("camera.capture")),1)])])])])]),f.createElementVNode("div",$C,[f.createElementVNode("button",{class:"btn",onClick:f.withModifiers(_,["prevent"])},[f.createVNode(mA,{symbol:"switch-camera"})],8,ZC)])],2)}}}),jL="",Ah={class:"file-upload"},eh=["src"],th=["onClick"],rh=["for"],nh=f.createElementVNode("span",{class:"btn btn-outline-dark"}," Select Image ",-1);async function ah(e){return await new Promise(r=>{let t=new FileReader;t.onload=()=>r(t.result),t.readAsDataURL(e)})}const ih=f.defineComponent({__name:"file-upload",props:{modelValue:{type:Array,default:[]},src:{type:String},name:{type:String,default:()=>ae()},id:{type:String,default:()=>ae()},label:{type:String,default:""},placeholder:{type:String,default:""},variant:{type:String,default:""},disabled:{type:Boolean,default:!1},readOnly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},pattern:{type:String,default:null},multiple:{type:Boolean,default:!1},accept:{type:String,default:"image/*"},endpoint:{type:String,default:""},toDataUrl:{type:Boolean,default:!0},authToken:{type:String,default:""}},emits:["update:modelValue","update:src"],setup(e,{emit:r}){const t=e,a=f.ref([]),s=f.ref([]),o=f.computed(()=>t.modelValue.length?t.modelValue:t.src?[{type:"",src:t.src}]:s.value);f.watch(()=>a,async(c,w)=>{s.value=await Promise.all(c.value.map(async h=>({src:t.toDataUrl?await ah(h):await B(h),type:h.type})))},{deep:!0}),f.watch(()=>s,async(c,w)=>{const h=t.multiple?s.value:s.value[0];r("update:modelValue",h),t.multiple||r("update:src",s.value[0]&&s.value[0].src)},{deep:!0});function l(c){a.value.splice(c,1),(!s.value||!s.value.length)&&r("update:src","")}async function B(c){const w=new FormData;return w.append("file",c),await fetch(t.endpoint,{method:"POST",headers:{Accept:"application/json",...t.authToken?{Authorization:`Bearer ${t.authToken}`}:{}},body:w}).catch(Q=>{console.error("Error",Q)})}return(c,w)=>{const h=f.resolveComponent("svg-icon"),Q=f.resolveComponent("input-file");return f.openBlock(),f.createElementBlock("div",Ah,[(f.openBlock(!0),f.createElementBlock(f.Fragment,null,f.renderList(f.unref(o),(F,T)=>(f.openBlock(),f.createElementBlock("div",{key:F.src,class:"file-upload__thumbnail"},[f.createElementVNode("img",{src:F.src,class:"img-thumbnail rounded"},null,8,eh),f.createElementVNode("button",{onClick:f.withModifiers(S=>l(T),["prevent"]),class:"btn btn--close"},[f.createVNode(h,{symbol:"x"})],8,th)]))),128)),f.createVNode(Q,{modelValue:a.value,"onUpdate:modelValue":w[0]||(w[0]=F=>a.value=F),id:e.id,name:e.name,accept:e.accept,class:"d-none"},null,8,["modelValue","id","name","accept"]),f.createElementVNode("label",{for:e.id},[f.renderSlot(c.$slots,"button",{},()=>[nh])],8,rh)])}}}),A1="",sh={class:"upload-group"},oh=["innerHTML"],lh={class:"row"},uh={class:"img-container"},ch=["src"],Bh=["onClick"],fh={class:"col-auto mb-4"},gh={role:"button",class:"img-thumbnail d-flex justify-content-center align-items-center"},Bu=f.defineComponent({__name:"upload-group",props:{modelValue:{type:Array,default:[]},name:{type:String,default:()=>ae()},id:{type:String,default:()=>ae()},label:{type:String,default:""},variant:{type:String,default:""},disabled:{type:Boolean,default:!1},required:{type:Boolean,default:!1},accept:{type:String,default:"image/*"},endpoint:{type:String,default:""},authToken:{type:String,default:""}},emits:["update:modelValue"],setup(e,{emit:r}){const t=e,a=f.ref([...t.modelValue]);function s(o){a.value=a.value.slice(o,1),r("update:modelValue",a)}return f.watch(a.value,(o,l)=>{r("update:modelValue",o),JSON.stringify(o),JSON.stringify(l)}),(o,l)=>{const B=f.resolveComponent("svg-icon"),c=f.resolveComponent("file-upload");return f.openBlock(),f.createElementBlock("div",sh,[f.createElementVNode("label",{innerHTML:e.label},null,8,oh),f.createElementVNode("div",lh,[(f.openBlock(!0),f.createElementBlock(f.Fragment,null,f.renderList(a.value,(w,h)=>(f.openBlock(),f.createElementBlock("div",{key:w,class:"col-auto mb-4"},[f.createElementVNode("div",uh,[f.createElementVNode("img",{src:w,class:"img-thumbnail"},null,8,ch),f.createElementVNode("button",{onClick:f.withModifiers(Q=>s(h),["prevent"]),class:"btn btn--close"},[f.createVNode(B,{symbol:"x"})],8,Bh)])]))),128)),f.createElementVNode("div",fh,[f.createVNode(c,{src:a.value[a.value.length],"onUpdate:src":l[0]||(l[0]=w=>a.value[a.value.length]=w),multiple:!1,endpoint:"/api/v1/assets/upload"},{button:f.withCtx(()=>[f.createElementVNode("span",gh,[f.createVNode(B,{symbol:"plus"})])]),_:1},8,["src"])])])])}}}),e1="",dh={class:"upload-group"},wh=["innerHTML"],Ch=f.defineComponent({__name:"asset-uploader",props:{modelValue:{default:()=>[]},name:{type:String,default:()=>ae()},id:{type:String,default:()=>ae()},type:{type:String,default:""},label:{type:String,default:""},variant:{type:String,default:""},disabled:{type:Boolean,default:!1},required:{type:Boolean,default:!1},accept:{type:String,default:"image/*"},endpoint:{type:String,default:""},authToken:{type:String,default:""}},emits:["update:modelValue"],setup(e,{emit:r}){const t=e,a=f.computed({get(){return t.modelValue.map(s=>s.src)},set(s){r("update:modelValue",s.map((o,l)=>({mediaType:o.includes("data:image/svg")?"Svg":o.includes("data:image")?"Image":"Video",src:o,name:`${t.name}-${l}`,...t.type?{type:t.type}:{}})))}});return(s,o)=>(f.openBlock(),f.createElementBlock("div",dh,[f.createElementVNode("label",{innerHTML:e.label},null,8,wh),f.createVNode(Bu,{modelValue:f.unref(a),"onUpdate:modelValue":o[0]||(o[0]=l=>f.isRef(a)?a.value=l:null)},null,8,["modelValue"])]))}}),t1="",hh={class:"carousel"},Qh={class:"carousel__viewport"},Uh={class:"carousel__track d-flex justify-center"},ph=["onClick"],fu=f.defineComponent({__name:"base-carousel",props:{modelValue:{type:Number,default:-1},config:{type:Object,default:null},messages:{type:Object,default:{}},items:{type:Array,default:[]}},emits:["update:modelValue","select"],setup(e,{emit:r}){function t(a){r("update:modelValue",a)}return(a,s)=>(f.openBlock(),f.createElementBlock("div",hh,[f.createElementVNode("div",Qh,[f.createElementVNode("div",Uh,[(f.openBlock(!0),f.createElementBlock(f.Fragment,null,f.renderList(e.items,(o,l)=>f.renderSlot(a.$slots,"carousel-item",{key:o.src,item:o,index:l},()=>[f.createElementVNode("div",{class:f.normalizeClass(["carousel__item col-3",l===e.modelValue?"selected":""]),onClick:B=>t(l)},f.toDisplayString(o),11,ph)])),128))])])]))}}),r1="",Fh={class:"media-thumbnails"},Eh=["onClick"],mh={class:"img-container ratio ratio-1x1"},Ih=["src"],vh=f.defineComponent({__name:"media-thumbnails",props:{modelValue:{default:null},config:{type:Object,default:null},messages:{type:Object,default:{}},assets:{type:Array,default:[]}},emits:["update:modelValue","select"],setup(e,{emit:r}){const t=f.ref(-1);function a(s){r("update:modelValue",s),r("select",s)}return(s,o)=>(f.openBlock(),f.createElementBlock("div",Fh,[f.createVNode(fu,{items:e.assets},{"carousel-item":f.withCtx(l=>[f.createElementVNode("a",{role:"button",class:"carousel-cell col-3 media-thumbnails__thumbnail",onClick:B=>a(l.index)},[f.createElementVNode("div",mh,[f.createElementVNode("img",{src:l.item.thumbnail||l.item.src,class:f.normalizeClass(["img-fluid",t.value===l.index?"is-active":""])},null,10,Ih)])],8,Eh)]),_:1},8,["items"])]))}}),n1="",_h={class:"progress-steps"},yh={class:"progress-steps__list"},Hh={class:"progress-step"},Lh=["checked","id","value","disabled","read-only","required","onChange"],bh=["for"],Th=["innerHTML"],Dh=["for"],Sh=["innerHTML"],Oh=f.defineComponent({__name:"progress-steps",props:{modelValue:{type:Number,default:0},progress:{type:Number,default:0},steps:{type:Array},label:{type:String,default:""},reveal:{type:Boolean,default:!1}},emits:["update:modelValue","update:progress"],setup(e,{emit:r}){const t=e;function a(s){r("update:modelValue",s),s>=t.progress&&r("update:progress",s)}return(s,o)=>(f.openBlock(),f.createElementBlock("div",_h,[f.createElementVNode("ul",yh,[(f.openBlock(!0),f.createElementBlock(f.Fragment,null,f.renderList(e.steps,(l,B)=>(f.openBlock(),f.createElementBlock("li",{key:B,class:f.normalizeClass(["progress-steps__step",{"progress-steps__step--disabled":B>e.progress+(e.reveal?1:0),"progress-steps__step--active":B===(e.modelValue||0)}])},[f.renderSlot(s.$slots,"step",{},()=>[f.createElementVNode("div",Hh,[f.createElementVNode("input",{type:"radio",checked:B<=(e.progress||0),id:`step-${B}`,name:"step",class:"form-check-input",value:l.value,disabled:l.disabled||B>e.progress+(e.reveal?1:0),"read-only":l.readOnly,required:l.required,onChange:c=>a(B)},null,40,Lh),f.createElementVNode("label",{for:`step-${B}`},[f.renderSlot(s.$slots,"button",{step:l},()=>[f.createElementVNode("span",{class:"btn rounded-circle",innerHTML:l.text},null,8,Th)])],8,bh),f.createElementVNode("label",{for:`step-${B}`},[f.renderSlot(s.$slots,"label",{step:l},()=>[f.createElementVNode("span",{class:"form-check-label",innerHTML:l.label},null,8,Sh)])],8,Dh)])])],2))),128))])]))}}),a1="";/*!
162
+ `)+$+`return __p
163
+ }`;var EA=dy(function(){return kA(Q,sA+"return "+$).apply(e,I)});if(EA.source=$,Sd(EA))throw EA;return EA}function WK(o){return RA(o).toLowerCase()}function JK(o){return RA(o).toUpperCase()}function $K(o,l,f){if(o=RA(o),o&&(f||l===e))return QC(o);if(!o||!(l=Lt(l)))return o;var p=ln(o),w=ln(l),Q=EC(p,w),I=FC(p,w)+1;return Or(p,Q,I).join("")}function XK(o,l,f){if(o=RA(o),o&&(f||l===e))return o.slice(0,vC(o)+1);if(!o||!(l=Lt(l)))return o;var p=ln(o),w=FC(p,ln(l))+1;return Or(p,0,w).join("")}function YK(o,l,f){if(o=RA(o),o&&(f||l===e))return o.replace(Sf,"");if(!o||!(l=Lt(l)))return o;var p=ln(o),w=EC(p,ln(l));return Or(p,w).join("")}function zK(o,l){var f=eA,p=gA;if(ie(l)){var w="separator"in l?l.separator:w;f="length"in l?CA(l.length):f,p="omission"in l?Lt(l.omission):p}o=RA(o);var Q=o.length;if(As(o)){var I=ln(o);Q=I.length}if(f>=Q)return o;var x=f-es(p);if(x<1)return p;var _=I?Or(I,0,x).join(""):o.slice(0,x);if(w===e)return _+p;if(I&&(x+=_.length-x),Td(w)){if(o.slice(x).search(w)){var V,G=_;for(w.global||(w=Jf(w.source,RA(Gw.exec(w))+"g")),w.lastIndex=0;V=w.exec(G);)var $=V.index;_=_.slice(0,$===e?x:$)}}else if(o.indexOf(Lt(w),x)!=x){var z=_.lastIndexOf(w);z>-1&&(_=_.slice(0,z))}return _+p}function qK(o){return o=RA(o),o&&Pn.test(o)?o.replace(Kn,vD):o}var ZK=ls(function(o,l,f){return o+(f?" ":"")+l.toUpperCase()}),Ld=h0("toUpperCase");function fy(o,l,f){return o=RA(o),l=f?e:l,l===e?yD(o)?SD(o):fD(o):o.match(l)||[]}var dy=UA(function(o,l){try{return xt(o,e,l)}catch(f){return Sd(f)?f:new pA(f)}}),jK=$n(function(o,l){return Jt(l,function(f){f=bn(f),Wn(o,f,bd(o[f],o))}),o});function AP(o){var l=o==null?0:o.length,f=cA();return o=l?ne(o,function(p){if(typeof p[1]!="function")throw new $t(s);return[f(p[0]),p[1]]}):[],UA(function(p){for(var w=-1;++w<l;){var Q=o[w];if(xt(Q[0],this,p))return xt(Q[1],this,p)}})}function eP(o){return vk(Yt(o,h))}function Od(o){return function(){return o}}function tP(o,l){return o==null||o!==o?l:o}var nP=g0(),rP=g0(!0);function yt(o){return o}function _d(o){return JC(typeof o=="function"?o:Yt(o,h))}function iP(o){return XC(Yt(o,h))}function sP(o,l){return YC(o,Yt(l,h))}var oP=UA(function(o,l){return function(f){return mo(f,o,l)}}),aP=UA(function(o,l){return function(f){return mo(o,f,l)}});function Md(o,l,f){var p=xe(l),w=Hl(l,p);f==null&&!(ie(l)&&(w.length||!p.length))&&(f=l,l=o,o=this,w=Hl(l,xe(l)));var Q=!(ie(f)&&"chain"in f)||!!f.chain,I=Yn(o);return Jt(w,function(x){var _=l[x];o[x]=_,I&&(o.prototype[x]=function(){var V=this.__chain__;if(Q||V){var G=o(this.__wrapped__),$=G.__actions__=mt(this.__actions__);return $.push({func:_,args:arguments,thisArg:o}),G.__chain__=V,G}return _.apply(o,Ir([this.value()],arguments))})}),o}function lP(){return Pe._===this&&(Pe._=_D),this}function Dd(){}function cP(o){return o=CA(o),UA(function(l){return zC(l,o)})}var uP=hd(ne),fP=hd(BC),dP=hd(Nf);function hy(o){return yd(o)?Rf(bn(o)):Vk(o)}function hP(o){return function(l){return o==null?e:li(o,l)}}var pP=m0(),gP=m0(!0);function kd(){return[]}function Nd(){return!1}function BP(){return{}}function mP(){return""}function wP(){return!0}function CP(o,l){if(o=CA(o),o<1||o>mA)return[];var f=JA,p=qe(o,JA);l=cA(l),o-=JA;for(var w=Vf(p,l);++f<o;)l(f);return w}function yP(o){return BA(o)?ne(o,bn):Ot(o)?[o]:mt(O0(RA(o)))}function QP(o){var l=++LD;return RA(o)+l}var EP=kl(function(o,l){return o+l},0),FP=pd("ceil"),UP=kl(function(o,l){return o/l},1),vP=pd("floor");function bP(o){return o&&o.length?xl(o,yt,Ad):e}function IP(o,l){return o&&o.length?xl(o,cA(l,2),Ad):e}function SP(o){return CC(o,yt)}function TP(o,l){return CC(o,cA(l,2))}function xP(o){return o&&o.length?xl(o,yt,rd):e}function HP(o,l){return o&&o.length?xl(o,cA(l,2),rd):e}var LP=kl(function(o,l){return o*l},1),OP=pd("round"),_P=kl(function(o,l){return o-l},0);function MP(o){return o&&o.length?Pf(o,yt):0}function DP(o,l){return o&&o.length?Pf(o,cA(l,2)):0}return y.after=i4,y.ary=W0,y.assign=J4,y.assignIn=iy,y.assignInWith=ql,y.assignWith=$4,y.at=X4,y.before=J0,y.bind=bd,y.bindAll=jK,y.bindKey=$0,y.castArray=B4,y.chain=P0,y.chunk=vN,y.compact=bN,y.concat=IN,y.cond=AP,y.conforms=eP,y.constant=Od,y.countBy=MR,y.create=Y4,y.curry=X0,y.curryRight=Y0,y.debounce=z0,y.defaults=z4,y.defaultsDeep=q4,y.defer=s4,y.delay=o4,y.difference=SN,y.differenceBy=TN,y.differenceWith=xN,y.drop=HN,y.dropRight=LN,y.dropRightWhile=ON,y.dropWhile=_N,y.fill=MN,y.filter=kR,y.flatMap=KR,y.flatMapDeep=PR,y.flatMapDepth=VR,y.flatten=k0,y.flattenDeep=DN,y.flattenDepth=kN,y.flip=a4,y.flow=nP,y.flowRight=rP,y.fromPairs=NN,y.functions=rK,y.functionsIn=iK,y.groupBy=GR,y.initial=KN,y.intersection=PN,y.intersectionBy=VN,y.intersectionWith=GN,y.invert=oK,y.invertBy=aK,y.invokeMap=JR,y.iteratee=_d,y.keyBy=$R,y.keys=xe,y.keysIn=Ct,y.map=Wl,y.mapKeys=cK,y.mapValues=uK,y.matches=iP,y.matchesProperty=sP,y.memoize=$l,y.merge=fK,y.mergeWith=sy,y.method=oP,y.methodOf=aP,y.mixin=Md,y.negate=Xl,y.nthArg=cP,y.omit=dK,y.omitBy=hK,y.once=l4,y.orderBy=XR,y.over=uP,y.overArgs=c4,y.overEvery=fP,y.overSome=dP,y.partial=Id,y.partialRight=q0,y.partition=YR,y.pick=pK,y.pickBy=oy,y.property=hy,y.propertyOf=hP,y.pull=XN,y.pullAll=R0,y.pullAllBy=YN,y.pullAllWith=zN,y.pullAt=qN,y.range=pP,y.rangeRight=gP,y.rearg=u4,y.reject=ZR,y.remove=ZN,y.rest=f4,y.reverse=Ud,y.sampleSize=A4,y.set=BK,y.setWith=mK,y.shuffle=e4,y.slice=jN,y.sortBy=r4,y.sortedUniq=sR,y.sortedUniqBy=oR,y.split=KK,y.spread=d4,y.tail=aR,y.take=lR,y.takeRight=cR,y.takeRightWhile=uR,y.takeWhile=fR,y.tap=bR,y.throttle=h4,y.thru=Gl,y.toArray=ty,y.toPairs=ay,y.toPairsIn=ly,y.toPath=yP,y.toPlainObject=ry,y.transform=wK,y.unary=p4,y.union=dR,y.unionBy=hR,y.unionWith=pR,y.uniq=gR,y.uniqBy=BR,y.uniqWith=mR,y.unset=CK,y.unzip=vd,y.unzipWith=K0,y.update=yK,y.updateWith=QK,y.values=fs,y.valuesIn=EK,y.without=wR,y.words=fy,y.wrap=g4,y.xor=CR,y.xorBy=yR,y.xorWith=QR,y.zip=ER,y.zipObject=FR,y.zipObjectDeep=UR,y.zipWith=vR,y.entries=ay,y.entriesIn=ly,y.extend=iy,y.extendWith=ql,Md(y,y),y.add=EP,y.attempt=dy,y.camelCase=bK,y.capitalize=cy,y.ceil=FP,y.clamp=FK,y.clone=m4,y.cloneDeep=C4,y.cloneDeepWith=y4,y.cloneWith=w4,y.conformsTo=Q4,y.deburr=uy,y.defaultTo=tP,y.divide=UP,y.endsWith=IK,y.eq=un,y.escape=SK,y.escapeRegExp=TK,y.every=DR,y.find=NR,y.findIndex=M0,y.findKey=Z4,y.findLast=RR,y.findLastIndex=D0,y.findLastKey=j4,y.floor=vP,y.forEach=V0,y.forEachRight=G0,y.forIn=AK,y.forInRight=eK,y.forOwn=tK,y.forOwnRight=nK,y.get=xd,y.gt=E4,y.gte=F4,y.has=sK,y.hasIn=Hd,y.head=N0,y.identity=yt,y.includes=WR,y.indexOf=RN,y.inRange=UK,y.invoke=lK,y.isArguments=fi,y.isArray=BA,y.isArrayBuffer=U4,y.isArrayLike=wt,y.isArrayLikeObject=de,y.isBoolean=v4,y.isBuffer=_r,y.isDate=b4,y.isElement=I4,y.isEmpty=S4,y.isEqual=T4,y.isEqualWith=x4,y.isError=Sd,y.isFinite=H4,y.isFunction=Yn,y.isInteger=Z0,y.isLength=Yl,y.isMap=j0,y.isMatch=L4,y.isMatchWith=O4,y.isNaN=_4,y.isNative=M4,y.isNil=k4,y.isNull=D4,y.isNumber=Ay,y.isObject=ie,y.isObjectLike=ae,y.isPlainObject=Fo,y.isRegExp=Td,y.isSafeInteger=N4,y.isSet=ey,y.isString=zl,y.isSymbol=Ot,y.isTypedArray=us,y.isUndefined=R4,y.isWeakMap=K4,y.isWeakSet=P4,y.join=WN,y.kebabCase=xK,y.last=qt,y.lastIndexOf=JN,y.lowerCase=HK,y.lowerFirst=LK,y.lt=V4,y.lte=G4,y.max=bP,y.maxBy=IP,y.mean=SP,y.meanBy=TP,y.min=xP,y.minBy=HP,y.stubArray=kd,y.stubFalse=Nd,y.stubObject=BP,y.stubString=mP,y.stubTrue=wP,y.multiply=LP,y.nth=$N,y.noConflict=lP,y.noop=Dd,y.now=Jl,y.pad=OK,y.padEnd=_K,y.padStart=MK,y.parseInt=DK,y.random=vK,y.reduce=zR,y.reduceRight=qR,y.repeat=kK,y.replace=NK,y.result=gK,y.round=OP,y.runInContext=O,y.sample=jR,y.size=t4,y.snakeCase=RK,y.some=n4,y.sortedIndex=AR,y.sortedIndexBy=eR,y.sortedIndexOf=tR,y.sortedLastIndex=nR,y.sortedLastIndexBy=rR,y.sortedLastIndexOf=iR,y.startCase=PK,y.startsWith=VK,y.subtract=_P,y.sum=MP,y.sumBy=DP,y.template=GK,y.times=CP,y.toFinite=zn,y.toInteger=CA,y.toLength=ny,y.toLower=WK,y.toNumber=Zt,y.toSafeInteger=W4,y.toString=RA,y.toUpper=JK,y.trim=$K,y.trimEnd=XK,y.trimStart=YK,y.truncate=zK,y.unescape=qK,y.uniqueId=QP,y.upperCase=ZK,y.upperFirst=Ld,y.each=V0,y.eachRight=G0,y.first=N0,Md(y,function(){var o={};return Un(y,function(l,f){PA.call(y.prototype,f)||(o[f]=l)}),o}(),{chain:!1}),y.VERSION=n,Jt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(o){y[o].placeholder=y}),Jt(["drop","take"],function(o,l){LA.prototype[o]=function(f){f=f===e?1:ve(CA(f),0);var p=this.__filtered__&&!l?new LA(this):this.clone();return p.__filtered__?p.__takeCount__=qe(f,p.__takeCount__):p.__views__.push({size:qe(f,JA),type:o+(p.__dir__<0?"Right":"")}),p},LA.prototype[o+"Right"]=function(f){return this.reverse()[o](f).reverse()}}),Jt(["filter","map","takeWhile"],function(o,l){var f=l+1,p=f==HA||f==vA;LA.prototype[o]=function(w){var Q=this.clone();return Q.__iteratees__.push({iteratee:cA(w,3),type:f}),Q.__filtered__=Q.__filtered__||p,Q}}),Jt(["head","last"],function(o,l){var f="take"+(l?"Right":"");LA.prototype[o]=function(){return this[f](1).value()[0]}}),Jt(["initial","tail"],function(o,l){var f="drop"+(l?"":"Right");LA.prototype[o]=function(){return this.__filtered__?new LA(this):this[f](1)}}),LA.prototype.compact=function(){return this.filter(yt)},LA.prototype.find=function(o){return this.filter(o).head()},LA.prototype.findLast=function(o){return this.reverse().find(o)},LA.prototype.invokeMap=UA(function(o,l){return typeof o=="function"?new LA(this):this.map(function(f){return mo(f,o,l)})}),LA.prototype.reject=function(o){return this.filter(Xl(cA(o)))},LA.prototype.slice=function(o,l){o=CA(o);var f=this;return f.__filtered__&&(o>0||l<0)?new LA(f):(o<0?f=f.takeRight(-o):o&&(f=f.drop(o)),l!==e&&(l=CA(l),f=l<0?f.dropRight(-l):f.take(l-o)),f)},LA.prototype.takeRightWhile=function(o){return this.reverse().takeWhile(o).reverse()},LA.prototype.toArray=function(){return this.take(JA)},Un(LA.prototype,function(o,l){var f=/^(?:filter|find|map|reject)|While$/.test(l),p=/^(?:head|last)$/.test(l),w=y[p?"take"+(l=="last"?"Right":""):l],Q=p||/^find/.test(l);w&&(y.prototype[l]=function(){var I=this.__wrapped__,x=p?[1]:arguments,_=I instanceof LA,V=x[0],G=_||BA(I),$=function(SA){var _A=w.apply(y,Ir([SA],x));return p&&z?_A[0]:_A};G&&f&&typeof V=="function"&&V.length!=1&&(_=G=!1);var z=this.__chain__,sA=!!this.__actions__.length,fA=Q&&!z,EA=_&&!sA;if(!Q&&G){I=EA?I:new LA(this);var dA=o.apply(I,x);return dA.__actions__.push({func:Gl,args:[$],thisArg:e}),new Xt(dA,z)}return fA&&EA?o.apply(this,x):(dA=this.thru($),fA?p?dA.value()[0]:dA.value():dA)})}),Jt(["pop","push","shift","sort","splice","unshift"],function(o){var l=gl[o],f=/^(?:push|sort|unshift)$/.test(o)?"tap":"thru",p=/^(?:pop|shift)$/.test(o);y.prototype[o]=function(){var w=arguments;if(p&&!this.__chain__){var Q=this.value();return l.apply(BA(Q)?Q:[],w)}return this[f](function(I){return l.apply(BA(I)?I:[],w)})}}),Un(LA.prototype,function(o,l){var f=y[l];if(f){var p=f.name+"";PA.call(is,p)||(is[p]=[]),is[p].push({name:l,func:f})}}),is[Dl(e,U).name]=[{name:"wrapper",func:e}],LA.prototype.clone=qD,LA.prototype.reverse=ZD,LA.prototype.value=jD,y.prototype.at=IR,y.prototype.chain=SR,y.prototype.commit=TR,y.prototype.next=xR,y.prototype.plant=LR,y.prototype.reverse=OR,y.prototype.toJSON=y.prototype.valueOf=y.prototype.value=_R,y.prototype.first=y.prototype.head,co&&(y.prototype[co]=HR),y},ts=TD();ri?((ri.exports=ts)._=ts,_f._=ts):Pe._=ts}).call(Ms)})(_S,Ds);const MS="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABAAAAAQACAYAAAB/HSuDAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAHkJJREFUeNrs3Q1u8zaXgNHS8JK4/xVwTyzytgnS1HZsixR/7jlAgZkMBl+hT6Z1H1FyqrX+BQAAAOzt4hAAAACAAAAAAAAIAAAAAIAAAAAAAAgAAAAAgAAAAAAACAAAAACAAAAAAAAIAAAAACAAAAAAAAIAAAAAIAAAAAAAAgAAAAAgAAAAAAACAAAAACAAAAAAAAIAAAAACAAAAACAAAAAAAAIAAAAAIAAAAAAAAgAAAAAgAAAAAAACAAAAACAAAAAAAACAAAAACAAAAAAAAIAAAAAIAAAAAAAAgAAAAAgAAAAAAACAAAAACAAAAAAAAIAAAAACAAAAACAAAAAAAAIAAAAAIAAAAAAAAgAAAAAgAAAAAAACAAAAACAAAAAAAACAAAAACAAAAAAAAIAAAAAIAAAAAAAAgAAAAAgAAAAAAACAAAAACAAAAAAgAAAAAAACAAAAACAAAAAAAAIAAAAAIAAAAAAAAgAAAAAgAAAAAAACAAAAACAAAAAAAACAAAAACAAAAAAAAIAAAAAIAAAAAAAAgAAAAAgAAAAAAACAAAAAC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EAAAAALAkwACd6iSVhnRezwAAAABJRU5ErkJggg==",DS={class:"camera__preview"},kS={class:"camera__bg-notification"},NS={class:g.normalizeClass("d-block light--text")},RS=["width","height"],KS=["width","height"],PS={key:0,class:"camera__countdown-overlay"},VS=["innerHTML","data-countdown"],GS=["src"],WS={class:"camera__controls"},JS={class:"container"},$S={class:"row"},XS={class:"col"},YS={class:"btn-group"},zS={key:0},qS={key:1},ZS={class:"camera__switch-cam"},jS=["onClick"],AT={name:"BaseCamera",inheritAttrs:!1};function eT(t){const A=atob(t.split(",")[1]),e=new ArrayBuffer(A.length),n=new Uint8Array(e);for(let r=0;r<A.length;r++)n[r]=A.charCodeAt(r);return new Blob([e],{type:"image/png"})}const tT=g.defineComponent({...AT,props:{modelValue:{type:null},enableSwitchCamera:{type:Boolean,default:!0},defaultRearCamera:{type:Boolean,default:!1},enableMirrorCamera:{type:Boolean,default:!1},enableGuide:{type:Boolean,default:!0},guideSrc:{type:String,default:()=>MS},countdown:{type:Number,default:3},ratio:{type:String,default:"16-9"}},emits:["update:modelValue"],setup(t,{expose:A,emit:e}){const n=t,r={"1-1":{width:720,height:720},"4-3":{width:640,height:480},"3-4":{width:480,height:640},"16-9":{width:1280,height:720},"9-16":{width:720,height:1280}},i=g.ref(),s=g.ref(),a=g.ref(),c=g.ref(),u=g.ref(!1),d=g.ref(!1),h=g.ref(0),B=g.ref(0),m=g.ref(),C=g.computed(()=>{const J=c.value&&a.value.findIndex(eA=>eA.deviceId===c.value.deviceId);return n.enableMirrorCamera&&J===0?"mirror-cam":""}),E=g.computed(()=>{const J=c.value&&a.value.findIndex(eA=>eA.deviceId===c.value.deviceId);return C.value?`mirror-cam mirror-device-${J}`:""});function S(){h.value=i.value.clientWidth,B.value=i.value.clientHeight}const U=Ds.debounce(()=>{S()},300,{trailing:!0,leading:!1});function b(){a.value.length>1&&(c.value=c.value&&c.value.deviceId===a.value[0].deviceId?a.value[1]:a.value[0])}function M(){navigator.mediaDevices.getUserMedia({audio:!1,video:{width:{ideal:r[n.ratio]?r[n.ratio].width:i.value.clientWidth},height:{ideal:r[n.ratio]?r[n.ratio].height:i.value.clientHeight}}}).then(J=>{i.value.srcObject=J}).catch(J=>{console.log(J,"May the browser didnt support or there is some errors.")})}function F(){i.value.srcObject.getTracks().forEach(eA=>{eA.stop()})}function T(){u.value?(u.value=!1,d.value=!1,F()):(u.value=!0,M())}function L(){n.countdown?(m.value=m.value?m.value-1:n.countdown,m.value?setTimeout(L,1e3):N()):N()}A({onCapture:L});function N(){d.value=!0,console.log("capture");const J=s.value.getContext("2d"),eA=i.value,gA=eA&&eA.srcObject&&eA.srcObject.getTracks(),{width:wA,height:aA}=gA.length&&gA[0].getSettings(),HA=wA/aA;let WA=s.value.width,vA=WA/HA;vA<s.value.height&&(vA=s.value.height,WA=vA*HA);const bA=C.value?-1:1;J.save(),J.scale(bA,1),J.drawImage(eA,WA>s.value.width?(s.value.width-WA)/2:0,vA>s.value.height?(s.value.height-vA)/2:0,WA*bA,vA),J.restore();const mA=s.value.toDataURL("image/png");W(mA)}function W(J){const eA=eT(J);e("update:modelValue",{name:`cam-pic-${new Date().toISOString()}`,id:`cam-pic-${new Date().toISOString()}`,blob:eA,size:eA.size})}return g.onBeforeMount(async()=>{const J=await navigator.mediaDevices.enumerateDevices();a.value=J.filter(eA=>eA.kind==="videoinput"),c.value=a.value[0],n.defaultRearCamera&&b()}),g.onMounted(()=>{window.addEventListener("resize",U),S(),T()}),g.onBeforeUnmount(()=>{u.value=!1,d.value=!1,F(),window.removeEventListener("resize",U)}),(J,eA)=>{const gA=g.resolveComponent("loading-spinner"),wA=g.resolveComponent("svg-icon");return g.openBlock(),g.createElementBlock("div",{class:g.normalizeClass(["camera",g.unref(E)])},[g.createElementVNode("div",DS,[g.createElementVNode("div",kS,[g.createVNode(gA,{color:"#000"},{default:g.withCtx(()=>[g.createElementVNode("span",NS,g.toDisplayString(J.$t("camera.waitForCameraNotification")),1)]),_:1})]),g.createElementVNode("video",{ref_key:"camera",ref:i,class:"camera__video",width:h.value,height:B.value,autoplay:"",playsinline:""},null,8,RS),g.withDirectives(g.createElementVNode("canvas",{ref_key:"canvas",ref:s,class:"camera__canvas",width:h.value,height:B.value},null,8,KS),[[g.vShow,d.value]]),m.value?(g.openBlock(),g.createElementBlock("div",PS,[(g.openBlock(),g.createElementBlock("p",{class:"countdown",key:m.value,innerHTML:m.value,"data-countdown":m.value},null,8,VS))])):g.createCommentVNode("",!0),t.enableGuide&&u.value?(g.openBlock(),g.createElementBlock("img",{key:1,class:"camera__guide",src:t.guideSrc},null,8,GS)):g.createCommentVNode("",!0)]),g.createElementVNode("div",WS,[g.createElementVNode("div",JS,[g.createElementVNode("div",$S,[g.createElementVNode("div",XS,[g.createElementVNode("div",YS,[g.createElementVNode("button",{type:"button",class:"camera__toggle btn btn-primary",onClick:T},[u.value?(g.openBlock(),g.createElementBlock("span",qS,g.toDisplayString(J.$t("common.pause")),1)):(g.openBlock(),g.createElementBlock("span",zS,g.toDisplayString(J.$t("common.play")),1))]),g.createElementVNode("button",{type:"button",class:"camera__capture btn btn-primary",onClick:L},g.toDisplayString(J.$t("camera.capture")),1)])])])])]),g.createElementVNode("div",ZS,[g.createElementVNode("button",{class:"btn",onClick:g.withModifiers(b,["prevent"])},[g.createVNode(wA,{symbol:"switch-camera"})],8,jS)])],2)}}}),iV="",nT={class:"file-upload"},rT=["src"],iT=["onClick"],sT=["for"],oT=g.createElementVNode("span",{class:"btn btn-outline-dark"}," Select Image ",-1);async function aT(t){return await new Promise(A=>{let e=new FileReader;e.onload=()=>A(e.result),e.readAsDataURL(t)})}const lT=g.defineComponent({__name:"file-upload",props:{modelValue:{type:Array,default:[]},src:{type:String},name:{type:String,default:()=>we()},id:{type:String,default:()=>we()},label:{type:String,default:""},placeholder:{type:String,default:""},variant:{type:String,default:""},disabled:{type:Boolean,default:!1},readOnly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},pattern:{type:String,default:null},multiple:{type:Boolean,default:!1},accept:{type:String,default:"image/*"},endpoint:{type:String,default:""},toDataUrl:{type:Boolean,default:!0},authToken:{type:String,default:""}},emits:["update:modelValue","update:src"],setup(t,{emit:A}){const e=t,n=g.ref([]),r=g.ref([]),i=g.computed(()=>e.modelValue.length?e.modelValue:e.src?[{type:"",src:e.src}]:r.value);g.watch(()=>n,async(c,u)=>{r.value=await Promise.all(c.value.map(async d=>({src:e.toDataUrl?await aT(d):await a(d),type:d.type})))},{deep:!0}),g.watch(()=>r,async(c,u)=>{const d=e.multiple?r.value:r.value[0];A("update:modelValue",d),e.multiple||A("update:src",r.value[0]&&r.value[0].src)},{deep:!0});function s(c){n.value.splice(c,1),(!r.value||!r.value.length)&&A("update:src","")}async function a(c){const u=new FormData;return u.append("file",c),await fetch(e.endpoint,{method:"POST",headers:{Accept:"application/json",...e.authToken?{Authorization:`Bearer ${e.authToken}`}:{}},body:u}).catch(h=>{console.error("Error",h)})}return(c,u)=>{const d=g.resolveComponent("svg-icon"),h=g.resolveComponent("input-file");return g.openBlock(),g.createElementBlock("div",nT,[(g.openBlock(!0),g.createElementBlock(g.Fragment,null,g.renderList(g.unref(i),(B,m)=>(g.openBlock(),g.createElementBlock("div",{key:B.src,class:"file-upload__thumbnail"},[g.createElementVNode("img",{src:B.src,class:"img-thumbnail rounded"},null,8,rT),g.createElementVNode("button",{onClick:g.withModifiers(C=>s(m),["prevent"]),class:"btn btn--close"},[g.createVNode(d,{symbol:"x"})],8,iT)]))),128)),g.createVNode(h,{modelValue:n.value,"onUpdate:modelValue":u[0]||(u[0]=B=>n.value=B),id:t.id,name:t.name,accept:t.accept,class:"d-none"},null,8,["modelValue","id","name","accept"]),g.createElementVNode("label",{for:t.id},[g.renderSlot(c.$slots,"button",{},()=>[oT])],8,sT)])}}}),sV="",cT={class:"upload-group"},uT=["innerHTML"],fT={class:"row"},dT={class:"img-container"},hT=["src"],pT=["onClick"],gT={class:"col-auto mb-4"},BT={role:"button",class:"img-thumbnail d-flex justify-content-center align-items-center"},RB=g.defineComponent({__name:"upload-group",props:{modelValue:{type:Array,default:[]},name:{type:String,default:()=>we()},id:{type:String,default:()=>we()},label:{type:String,default:""},variant:{type:String,default:""},disabled:{type:Boolean,default:!1},required:{type:Boolean,default:!1},accept:{type:String,default:"image/*"},endpoint:{type:String,default:""},authToken:{type:String,default:""}},emits:["update:modelValue"],setup(t,{emit:A}){const e=t,n=g.ref([...e.modelValue]);function r(i){n.value=n.value.slice(i,1),A("update:modelValue",n)}return g.watch(n.value,(i,s)=>{A("update:modelValue",i),JSON.stringify(i),JSON.stringify(s)}),(i,s)=>{const a=g.resolveComponent("svg-icon"),c=g.resolveComponent("file-upload");return g.openBlock(),g.createElementBlock("div",cT,[g.createElementVNode("label",{innerHTML:t.label},null,8,uT),g.createElementVNode("div",fT,[(g.openBlock(!0),g.createElementBlock(g.Fragment,null,g.renderList(n.value,(u,d)=>(g.openBlock(),g.createElementBlock("div",{key:u,class:"col-auto mb-4"},[g.createElementVNode("div",dT,[g.createElementVNode("img",{src:u,class:"img-thumbnail"},null,8,hT),g.createElementVNode("button",{onClick:g.withModifiers(h=>r(d),["prevent"]),class:"btn btn--close"},[g.createVNode(a,{symbol:"x"})],8,pT)])]))),128)),g.createElementVNode("div",gT,[g.createVNode(c,{src:n.value[n.value.length],"onUpdate:src":s[0]||(s[0]=u=>n.value[n.value.length]=u),multiple:!1,endpoint:"/api/v1/assets/upload"},{button:g.withCtx(()=>[g.createElementVNode("span",BT,[g.createVNode(a,{symbol:"plus"})])]),_:1},8,["src"])])])])}}}),oV="",mT={class:"upload-group"},wT=["innerHTML"],CT=g.defineComponent({__name:"asset-uploader",props:{modelValue:{default:()=>[]},name:{type:String,default:()=>we()},id:{type:String,default:()=>we()},type:{type:String,default:""},label:{type:String,default:""},variant:{type:String,default:""},disabled:{type:Boolean,default:!1},required:{type:Boolean,default:!1},accept:{type:String,default:"image/*"},endpoint:{type:String,default:""},authToken:{type:String,default:""}},emits:["update:modelValue"],setup(t,{emit:A}){const e=t,n=g.computed({get(){return e.modelValue.map(r=>r.src)},set(r){A("update:modelValue",r.map((i,s)=>({mediaType:i.includes("data:image/svg")?"Svg":i.includes("data:image")?"Image":"Video",src:i,name:`${e.name}-${s}`,...e.type?{type:e.type}:{}})))}});return(r,i)=>(g.openBlock(),g.createElementBlock("div",mT,[g.createElementVNode("label",{innerHTML:t.label},null,8,wT),g.createVNode(RB,{modelValue:g.unref(n),"onUpdate:modelValue":i[0]||(i[0]=s=>g.isRef(n)?n.value=s:null)},null,8,["modelValue"])]))}}),aV="",yT={class:"carousel"},QT={class:"carousel__viewport"},ET={class:"carousel__track d-flex justify-center"},FT=["onClick"],KB=g.defineComponent({__name:"base-carousel",props:{modelValue:{type:Number,default:-1},config:{type:Object,default:null},messages:{type:Object,default:{}},items:{type:Array,default:[]}},emits:["update:modelValue","select"],setup(t,{emit:A}){function e(n){A("update:modelValue",n)}return(n,r)=>(g.openBlock(),g.createElementBlock("div",yT,[g.createElementVNode("div",QT,[g.createElementVNode("div",ET,[(g.openBlock(!0),g.createElementBlock(g.Fragment,null,g.renderList(t.items,(i,s)=>g.renderSlot(n.$slots,"carousel-item",{key:i.src,item:i,index:s},()=>[g.createElementVNode("div",{class:g.normalizeClass(["carousel__item col-3",s===t.modelValue?"selected":""]),onClick:a=>e(s)},g.toDisplayString(i),11,FT)])),128))])])]))}}),lV="",UT={class:"media-thumbnails"},vT=["onClick"],bT={class:"img-container ratio ratio-1x1"},IT=["src"],ST=g.defineComponent({__name:"media-thumbnails",props:{modelValue:{default:null},config:{type:Object,default:null},messages:{type:Object,default:{}},assets:{type:Array,default:[]}},emits:["update:modelValue","select"],setup(t,{emit:A}){const e=g.ref(-1);function n(r){A("update:modelValue",r),A("select",r)}return(r,i)=>(g.openBlock(),g.createElementBlock("div",UT,[g.createVNode(KB,{items:t.assets},{"carousel-item":g.withCtx(s=>[g.createElementVNode("a",{role:"button",class:"carousel-cell col-3 media-thumbnails__thumbnail",onClick:a=>n(s.index)},[g.createElementVNode("div",bT,[g.createElementVNode("img",{src:s.item.thumbnail||s.item.src,class:g.normalizeClass(["img-fluid",e.value===s.index?"is-active":""])},null,10,IT)])],8,vT)]),_:1},8,["items"])]))}}),cV="",TT={class:"progress-steps"},xT={class:"progress-steps__list"},HT={class:"progress-step"},LT=["checked","id","value","disabled","read-only","required","onChange"],OT=["for"],_T=["innerHTML"],MT=["for"],DT=["innerHTML"],kT=g.defineComponent({__name:"progress-steps",props:{modelValue:{type:Number,default:0},progress:{type:Number,default:0},steps:{type:Array},label:{type:String,default:""},reveal:{type:Boolean,default:!1}},emits:["update:modelValue","update:progress"],setup(t,{emit:A}){const e=t;function n(r){A("update:modelValue",r),r>=e.progress&&A("update:progress",r)}return(r,i)=>(g.openBlock(),g.createElementBlock("div",TT,[g.createElementVNode("ul",xT,[(g.openBlock(!0),g.createElementBlock(g.Fragment,null,g.renderList(t.steps,(s,a)=>(g.openBlock(),g.createElementBlock("li",{key:a,class:g.normalizeClass(["progress-steps__step",{"progress-steps__step--disabled":a>t.progress+(t.reveal?1:0),"progress-steps__step--active":a===(t.modelValue||0)}])},[g.renderSlot(r.$slots,"step",{},()=>[g.createElementVNode("div",HT,[g.createElementVNode("input",{type:"radio",checked:a<=(t.progress||0),id:`step-${a}`,name:"step",class:"form-check-input",value:s.value,disabled:s.disabled||a>t.progress+(t.reveal?1:0),"read-only":s.readOnly,required:s.required,onChange:c=>n(a)},null,40,LT),g.createElementVNode("label",{for:`step-${a}`},[g.renderSlot(r.$slots,"button",{step:s},()=>[g.createElementVNode("span",{class:"btn rounded-circle",innerHTML:s.text},null,8,_T)])],8,OT),g.createElementVNode("label",{for:`step-${a}`},[g.renderSlot(r.$slots,"label",{step:s},()=>[g.createElementVNode("span",{class:"form-check-label",innerHTML:s.label},null,8,DT)])],8,MT)])])],2))),128))])]))}}),uV="";/*!
53
164
  * html2canvas 1.4.1 <https://html2canvas.hertzen.com>
54
165
  * Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>
55
166
  * Released under MIT License
@@ -66,8 +177,8 @@ function print() { __p += __j.call(arguments, '') }
66
177
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
67
178
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
68
179
  PERFORMANCE OF THIS SOFTWARE.
69
- ***************************************************************************** */var ns=function(e,r){return ns=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,a){t.__proto__=a}||function(t,a){for(var s in a)Object.prototype.hasOwnProperty.call(a,s)&&(t[s]=a[s])},ns(e,r)};function ot(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");ns(e,r);function t(){this.constructor=e}e.prototype=r===null?Object.create(r):(t.prototype=r.prototype,new t)}var as=function(){return as=Object.assign||function(r){for(var t,a=1,s=arguments.length;a<s;a++){t=arguments[a];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(r[o]=t[o])}return r},as.apply(this,arguments)};function Fe(e,r,t,a){function s(o){return o instanceof t?o:new t(function(l){l(o)})}return new(t||(t=Promise))(function(o,l){function B(h){try{w(a.next(h))}catch(Q){l(Q)}}function c(h){try{w(a.throw(h))}catch(Q){l(Q)}}function w(h){h.done?o(h.value):s(h.value).then(B,c)}w((a=a.apply(e,r||[])).next())})}function Ce(e,r){var t={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},a,s,o,l;return l={next:B(0),throw:B(1),return:B(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function B(w){return function(h){return c([w,h])}}function c(w){if(a)throw new TypeError("Generator is already executing.");for(;t;)try{if(a=1,s&&(o=w[0]&2?s.return:w[0]?s.throw||((o=s.return)&&o.call(s),0):s.next)&&!(o=o.call(s,w[1])).done)return o;switch(s=0,o&&(w=[w[0]&2,o.value]),w[0]){case 0:case 1:o=w;break;case 4:return t.label++,{value:w[1],done:!1};case 5:t.label++,s=w[1],w=[0];continue;case 7:w=t.ops.pop(),t.trys.pop();continue;default:if(o=t.trys,!(o=o.length>0&&o[o.length-1])&&(w[0]===6||w[0]===2)){t=0;continue}if(w[0]===3&&(!o||w[1]>o[0]&&w[1]<o[3])){t.label=w[1];break}if(w[0]===6&&t.label<o[1]){t.label=o[1],o=w;break}if(o&&t.label<o[2]){t.label=o[2],t.ops.push(w);break}o[2]&&t.ops.pop(),t.trys.pop();continue}w=r.call(e,t)}catch(h){w=[6,h],s=0}finally{a=o=0}if(w[0]&5)throw w[1];return{value:w[0]?w[1]:void 0,done:!0}}}function ia(e,r,t){if(t||arguments.length===2)for(var a=0,s=r.length,o;a<s;a++)(o||!(a in r))&&(o||(o=Array.prototype.slice.call(r,0,a)),o[a]=r[a]);return e.concat(o||r)}for(var Tt=function(){function e(r,t,a,s){this.left=r,this.top=t,this.width=a,this.height=s}return e.prototype.add=function(r,t,a,s){return new e(this.left+r,this.top+t,this.width+a,this.height+s)},e.fromClientRect=function(r,t){return new e(t.left+r.windowBounds.left,t.top+r.windowBounds.top,t.width,t.height)},e.fromDOMRectList=function(r,t){var a=Array.from(t).find(function(s){return s.width!==0});return a?new e(a.left+r.windowBounds.left,a.top+r.windowBounds.top,a.width,a.height):e.EMPTY},e.EMPTY=new e(0,0,0,0),e}(),sa=function(e,r){return Tt.fromClientRect(e,r.getBoundingClientRect())},Kh=function(e){var r=e.body,t=e.documentElement;if(!r||!t)throw new Error("Unable to get document size");var a=Math.max(Math.max(r.scrollWidth,t.scrollWidth),Math.max(r.offsetWidth,t.offsetWidth),Math.max(r.clientWidth,t.clientWidth)),s=Math.max(Math.max(r.scrollHeight,t.scrollHeight),Math.max(r.offsetHeight,t.offsetHeight),Math.max(r.clientHeight,t.clientHeight));return new Tt(0,0,a,s)},oa=function(e){for(var r=[],t=0,a=e.length;t<a;){var s=e.charCodeAt(t++);if(s>=55296&&s<=56319&&t<a){var o=e.charCodeAt(t++);(o&64512)===56320?r.push(((s&1023)<<10)+(o&1023)+65536):(r.push(s),t--)}else r.push(s)}return r},YA=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];if(String.fromCodePoint)return String.fromCodePoint.apply(String,e);var t=e.length;if(!t)return"";for(var a=[],s=-1,o="";++s<t;){var l=e[s];l<=65535?a.push(l):(l-=65536,a.push((l>>10)+55296,l%1024+56320)),(s+1===t||a.length>16384)&&(o+=String.fromCharCode.apply(String,a),a.length=0)}return o},gu="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",xh=typeof Uint8Array>"u"?[]:new Uint8Array(256),la=0;la<gu.length;la++)xh[gu.charCodeAt(la)]=la;for(var du="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",gn=typeof Uint8Array>"u"?[]:new Uint8Array(256),ua=0;ua<du.length;ua++)gn[du.charCodeAt(ua)]=ua;for(var Nh=function(e){var r=e.length*.75,t=e.length,a,s=0,o,l,B,c;e[e.length-1]==="="&&(r--,e[e.length-2]==="="&&r--);var w=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(r):new Array(r),h=Array.isArray(w)?w:new Uint8Array(w);for(a=0;a<t;a+=4)o=gn[e.charCodeAt(a)],l=gn[e.charCodeAt(a+1)],B=gn[e.charCodeAt(a+2)],c=gn[e.charCodeAt(a+3)],h[s++]=o<<2|l>>4,h[s++]=(l&15)<<4|B>>2,h[s++]=(B&3)<<6|c&63;return w},Mh=function(e){for(var r=e.length,t=[],a=0;a<r;a+=2)t.push(e[a+1]<<8|e[a]);return t},Rh=function(e){for(var r=e.length,t=[],a=0;a<r;a+=4)t.push(e[a+3]<<24|e[a+2]<<16|e[a+1]<<8|e[a]);return t},gr=5,is=6+5,ss=2,Vh=is-gr,wu=65536>>gr,Gh=1<<gr,os=Gh-1,Ph=1024>>gr,kh=wu+Ph,Wh=kh,Xh=32,Yh=Wh+Xh,Jh=65536>>is,$h=1<<Vh,Zh=$h-1,Cu=function(e,r,t){return e.slice?e.slice(r,t):new Uint16Array(Array.prototype.slice.call(e,r,t))},qh=function(e,r,t){return e.slice?e.slice(r,t):new Uint32Array(Array.prototype.slice.call(e,r,t))},zh=function(e,r){var t=Nh(e),a=Array.isArray(t)?Rh(t):new Uint32Array(t),s=Array.isArray(t)?Mh(t):new Uint16Array(t),o=24,l=Cu(s,o/2,a[4]/2),B=a[5]===2?Cu(s,(o+a[4])/2):qh(a,Math.ceil((o+a[4])/4));return new jh(a[0],a[1],a[2],a[3],l,B)},jh=function(){function e(r,t,a,s,o,l){this.initialValue=r,this.errorValue=t,this.highStart=a,this.highValueIndex=s,this.index=o,this.data=l}return e.prototype.get=function(r){var t;if(r>=0){if(r<55296||r>56319&&r<=65535)return t=this.index[r>>gr],t=(t<<ss)+(r&os),this.data[t];if(r<=65535)return t=this.index[wu+(r-55296>>gr)],t=(t<<ss)+(r&os),this.data[t];if(r<this.highStart)return t=Yh-Jh+(r>>is),t=this.index[t],t+=r>>gr&Zh,t=this.index[t],t=(t<<ss)+(r&os),this.data[t];if(r<=1114111)return this.data[this.highValueIndex]}return this.errorValue},e}(),hu="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",AQ=typeof Uint8Array>"u"?[]:new Uint8Array(256),ca=0;ca<hu.length;ca++)AQ[hu.charCodeAt(ca)]=ca;var eQ="KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQ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BywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhk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IIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwAD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csBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgw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sAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AH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4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQ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gAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAl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gAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgA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AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAA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ACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",Qu=50,tQ=1,Uu=2,pu=3,rQ=4,nQ=5,Fu=7,Eu=8,mu=9,$t=10,ls=11,Iu=12,us=13,aQ=14,dn=15,cs=16,Ba=17,wn=18,iQ=19,vu=20,Bs=21,Cn=22,fs=23,Dr=24,xe=25,hn=26,Qn=27,Sr=28,sQ=29,dr=30,oQ=31,fa=32,ga=33,gs=34,ds=35,ws=36,Un=37,Cs=38,da=39,wa=40,hs=41,_u=42,lQ=43,uQ=[9001,65288],yu="!",wA="×",Ca="÷",Qs=zh(eQ),Dt=[dr,ws],Us=[tQ,Uu,pu,nQ],Hu=[$t,Eu],Lu=[Qn,hn],cQ=Us.concat(Hu),bu=[Cs,da,wa,gs,ds],BQ=[dn,us],fQ=function(e,r){r===void 0&&(r="strict");var t=[],a=[],s=[];return e.forEach(function(o,l){var B=Qs.get(o);if(B>Qu?(s.push(!0),B-=Qu):s.push(!1),["normal","auto","loose"].indexOf(r)!==-1&&[8208,8211,12316,12448].indexOf(o)!==-1)return a.push(l),t.push(cs);if(B===rQ||B===ls){if(l===0)return a.push(l),t.push(dr);var c=t[l-1];return cQ.indexOf(c)===-1?(a.push(a[l-1]),t.push(c)):(a.push(l),t.push(dr))}if(a.push(l),B===oQ)return t.push(r==="strict"?Bs:Un);if(B===_u||B===sQ)return t.push(dr);if(B===lQ)return o>=131072&&o<=196605||o>=196608&&o<=262141?t.push(Un):t.push(dr);t.push(B)}),[a,t,s]},ps=function(e,r,t,a){var s=a[t];if(Array.isArray(e)?e.indexOf(s)!==-1:e===s)for(var o=t;o<=a.length;){o++;var l=a[o];if(l===r)return!0;if(l!==$t)break}if(s===$t)for(var o=t;o>0;){o--;var B=a[o];if(Array.isArray(e)?e.indexOf(B)!==-1:e===B)for(var c=t;c<=a.length;){c++;var l=a[c];if(l===r)return!0;if(l!==$t)break}if(B!==$t)break}return!1},Tu=function(e,r){for(var t=e;t>=0;){var a=r[t];if(a===$t)t--;else return a}return 0},gQ=function(e,r,t,a,s){if(t[a]===0)return wA;var o=a-1;if(Array.isArray(s)&&s[o]===!0)return wA;var l=o-1,B=o+1,c=r[o],w=l>=0?r[l]:0,h=r[B];if(c===Uu&&h===pu)return wA;if(Us.indexOf(c)!==-1)return yu;if(Us.indexOf(h)!==-1||Hu.indexOf(h)!==-1)return wA;if(Tu(o,r)===Eu)return Ca;if(Qs.get(e[o])===ls||(c===fa||c===ga)&&Qs.get(e[B])===ls||c===Fu||h===Fu||c===mu||[$t,us,dn].indexOf(c)===-1&&h===mu||[Ba,wn,iQ,Dr,Sr].indexOf(h)!==-1||Tu(o,r)===Cn||ps(fs,Cn,o,r)||ps([Ba,wn],Bs,o,r)||ps(Iu,Iu,o,r))return wA;if(c===$t)return Ca;if(c===fs||h===fs)return wA;if(h===cs||c===cs)return Ca;if([us,dn,Bs].indexOf(h)!==-1||c===aQ||w===ws&&BQ.indexOf(c)!==-1||c===Sr&&h===ws||h===vu||Dt.indexOf(h)!==-1&&c===xe||Dt.indexOf(c)!==-1&&h===xe||c===Qn&&[Un,fa,ga].indexOf(h)!==-1||[Un,fa,ga].indexOf(c)!==-1&&h===hn||Dt.indexOf(c)!==-1&&Lu.indexOf(h)!==-1||Lu.indexOf(c)!==-1&&Dt.indexOf(h)!==-1||[Qn,hn].indexOf(c)!==-1&&(h===xe||[Cn,dn].indexOf(h)!==-1&&r[B+1]===xe)||[Cn,dn].indexOf(c)!==-1&&h===xe||c===xe&&[xe,Sr,Dr].indexOf(h)!==-1)return wA;if([xe,Sr,Dr,Ba,wn].indexOf(h)!==-1)for(var Q=o;Q>=0;){var F=r[Q];if(F===xe)return wA;if([Sr,Dr].indexOf(F)!==-1)Q--;else break}if([Qn,hn].indexOf(h)!==-1)for(var Q=[Ba,wn].indexOf(c)!==-1?l:o;Q>=0;){var F=r[Q];if(F===xe)return wA;if([Sr,Dr].indexOf(F)!==-1)Q--;else break}if(Cs===c&&[Cs,da,gs,ds].indexOf(h)!==-1||[da,gs].indexOf(c)!==-1&&[da,wa].indexOf(h)!==-1||[wa,ds].indexOf(c)!==-1&&h===wa||bu.indexOf(c)!==-1&&[vu,hn].indexOf(h)!==-1||bu.indexOf(h)!==-1&&c===Qn||Dt.indexOf(c)!==-1&&Dt.indexOf(h)!==-1||c===Dr&&Dt.indexOf(h)!==-1||Dt.concat(xe).indexOf(c)!==-1&&h===Cn&&uQ.indexOf(e[B])===-1||Dt.concat(xe).indexOf(h)!==-1&&c===wn)return wA;if(c===hs&&h===hs){for(var T=t[o],S=1;T>0&&(T--,r[T]===hs);)S++;if(S%2!==0)return wA}return c===fa&&h===ga?wA:Ca},dQ=function(e,r){r||(r={lineBreak:"normal",wordBreak:"normal"});var t=fQ(e,r.lineBreak),a=t[0],s=t[1],o=t[2];(r.wordBreak==="break-all"||r.wordBreak==="break-word")&&(s=s.map(function(B){return[xe,dr,_u].indexOf(B)!==-1?Un:B}));var l=r.wordBreak==="keep-all"?o.map(function(B,c){return B&&e[c]>=19968&&e[c]<=40959}):void 0;return[a,s,l]},wQ=function(){function e(r,t,a,s){this.codePoints=r,this.required=t===yu,this.start=a,this.end=s}return e.prototype.slice=function(){return YA.apply(void 0,this.codePoints.slice(this.start,this.end))},e}(),CQ=function(e,r){var t=oa(e),a=dQ(t,r),s=a[0],o=a[1],l=a[2],B=t.length,c=0,w=0;return{next:function(){if(w>=B)return{done:!0,value:null};for(var h=wA;w<B&&(h=gQ(t,o,s,++w,l))===wA;);if(h!==wA||w===B){var Q=new wQ(t,h,c,w);return c=w,{value:Q,done:!1}}return{done:!0,value:null}}}},hQ=1<<0,QQ=1<<1,pn=1<<2,Du=1<<3,ha=10,Su=47,Fn=92,UQ=9,pQ=32,Qa=34,En=61,FQ=35,EQ=36,mQ=37,Ua=39,pa=40,mn=41,IQ=95,Le=45,vQ=33,_Q=60,yQ=62,HQ=64,LQ=91,bQ=93,TQ=61,DQ=123,Fa=63,SQ=125,Ou=124,OQ=126,KQ=128,Ku=65533,Fs=42,wr=43,xQ=44,NQ=58,MQ=59,In=46,RQ=0,VQ=8,GQ=11,PQ=14,kQ=31,WQ=127,ht=-1,xu=48,Nu=97,Mu=101,XQ=102,YQ=117,JQ=122,Ru=65,Vu=69,Gu=70,$Q=85,ZQ=90,he=function(e){return e>=xu&&e<=57},qQ=function(e){return e>=55296&&e<=57343},Or=function(e){return he(e)||e>=Ru&&e<=Gu||e>=Nu&&e<=XQ},zQ=function(e){return e>=Nu&&e<=JQ},jQ=function(e){return e>=Ru&&e<=ZQ},AU=function(e){return zQ(e)||jQ(e)},eU=function(e){return e>=KQ},Ea=function(e){return e===ha||e===UQ||e===pQ},ma=function(e){return AU(e)||eU(e)||e===IQ},Pu=function(e){return ma(e)||he(e)||e===Le},tU=function(e){return e>=RQ&&e<=VQ||e===GQ||e>=PQ&&e<=kQ||e===WQ},Zt=function(e,r){return e!==Fn?!1:r!==ha},Ia=function(e,r,t){return e===Le?ma(r)||Zt(r,t):ma(e)?!0:!!(e===Fn&&Zt(e,r))},Es=function(e,r,t){return e===wr||e===Le?he(r)?!0:r===In&&he(t):he(e===In?r:e)},rU=function(e){var r=0,t=1;(e[r]===wr||e[r]===Le)&&(e[r]===Le&&(t=-1),r++);for(var a=[];he(e[r]);)a.push(e[r++]);var s=a.length?parseInt(YA.apply(void 0,a),10):0;e[r]===In&&r++;for(var o=[];he(e[r]);)o.push(e[r++]);var l=o.length,B=l?parseInt(YA.apply(void 0,o),10):0;(e[r]===Vu||e[r]===Mu)&&r++;var c=1;(e[r]===wr||e[r]===Le)&&(e[r]===Le&&(c=-1),r++);for(var w=[];he(e[r]);)w.push(e[r++]);var h=w.length?parseInt(YA.apply(void 0,w),10):0;return t*(s+B*Math.pow(10,-l))*Math.pow(10,c*h)},nU={type:2},aU={type:3},iU={type:4},sU={type:13},oU={type:8},lU={type:21},uU={type:9},cU={type:10},BU={type:11},fU={type:12},gU={type:14},va={type:23},dU={type:1},wU={type:25},CU={type:24},hU={type:26},QU={type:27},UU={type:28},pU={type:29},FU={type:31},ms={type:32},ku=function(){function e(){this._value=[]}return e.prototype.write=function(r){this._value=this._value.concat(oa(r))},e.prototype.read=function(){for(var r=[],t=this.consumeToken();t!==ms;)r.push(t),t=this.consumeToken();return r},e.prototype.consumeToken=function(){var r=this.consumeCodePoint();switch(r){case Qa:return this.consumeStringToken(Qa);case FQ:var t=this.peekCodePoint(0),a=this.peekCodePoint(1),s=this.peekCodePoint(2);if(Pu(t)||Zt(a,s)){var o=Ia(t,a,s)?QQ:hQ,l=this.consumeName();return{type:5,value:l,flags:o}}break;case EQ:if(this.peekCodePoint(0)===En)return this.consumeCodePoint(),sU;break;case Ua:return this.consumeStringToken(Ua);case pa:return nU;case mn:return aU;case Fs:if(this.peekCodePoint(0)===En)return this.consumeCodePoint(),gU;break;case wr:if(Es(r,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(r),this.consumeNumericToken();break;case xQ:return iU;case Le:var B=r,c=this.peekCodePoint(0),w=this.peekCodePoint(1);if(Es(B,c,w))return this.reconsumeCodePoint(r),this.consumeNumericToken();if(Ia(B,c,w))return this.reconsumeCodePoint(r),this.consumeIdentLikeToken();if(c===Le&&w===yQ)return this.consumeCodePoint(),this.consumeCodePoint(),CU;break;case In:if(Es(r,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(r),this.consumeNumericToken();break;case Su:if(this.peekCodePoint(0)===Fs)for(this.consumeCodePoint();;){var h=this.consumeCodePoint();if(h===Fs&&(h=this.consumeCodePoint(),h===Su))return this.consumeToken();if(h===ht)return this.consumeToken()}break;case NQ:return hU;case MQ:return QU;case _Q:if(this.peekCodePoint(0)===vQ&&this.peekCodePoint(1)===Le&&this.peekCodePoint(2)===Le)return this.consumeCodePoint(),this.consumeCodePoint(),wU;break;case HQ:var Q=this.peekCodePoint(0),F=this.peekCodePoint(1),T=this.peekCodePoint(2);if(Ia(Q,F,T)){var l=this.consumeName();return{type:7,value:l}}break;case LQ:return UU;case Fn:if(Zt(r,this.peekCodePoint(0)))return this.reconsumeCodePoint(r),this.consumeIdentLikeToken();break;case bQ:return pU;case TQ:if(this.peekCodePoint(0)===En)return this.consumeCodePoint(),oU;break;case DQ:return BU;case SQ:return fU;case YQ:case $Q:var S=this.peekCodePoint(0),D=this.peekCodePoint(1);return S===wr&&(Or(D)||D===Fa)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(r),this.consumeIdentLikeToken();case Ou:if(this.peekCodePoint(0)===En)return this.consumeCodePoint(),uU;if(this.peekCodePoint(0)===Ou)return this.consumeCodePoint(),lU;break;case OQ:if(this.peekCodePoint(0)===En)return this.consumeCodePoint(),cU;break;case ht:return ms}return Ea(r)?(this.consumeWhiteSpace(),FU):he(r)?(this.reconsumeCodePoint(r),this.consumeNumericToken()):ma(r)?(this.reconsumeCodePoint(r),this.consumeIdentLikeToken()):{type:6,value:YA(r)}},e.prototype.consumeCodePoint=function(){var r=this._value.shift();return typeof r>"u"?-1:r},e.prototype.reconsumeCodePoint=function(r){this._value.unshift(r)},e.prototype.peekCodePoint=function(r){return r>=this._value.length?-1:this._value[r]},e.prototype.consumeUnicodeRangeToken=function(){for(var r=[],t=this.consumeCodePoint();Or(t)&&r.length<6;)r.push(t),t=this.consumeCodePoint();for(var a=!1;t===Fa&&r.length<6;)r.push(t),t=this.consumeCodePoint(),a=!0;if(a){var s=parseInt(YA.apply(void 0,r.map(function(c){return c===Fa?xu:c})),16),o=parseInt(YA.apply(void 0,r.map(function(c){return c===Fa?Gu:c})),16);return{type:30,start:s,end:o}}var l=parseInt(YA.apply(void 0,r),16);if(this.peekCodePoint(0)===Le&&Or(this.peekCodePoint(1))){this.consumeCodePoint(),t=this.consumeCodePoint();for(var B=[];Or(t)&&B.length<6;)B.push(t),t=this.consumeCodePoint();var o=parseInt(YA.apply(void 0,B),16);return{type:30,start:l,end:o}}else return{type:30,start:l,end:l}},e.prototype.consumeIdentLikeToken=function(){var r=this.consumeName();return r.toLowerCase()==="url"&&this.peekCodePoint(0)===pa?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===pa?(this.consumeCodePoint(),{type:19,value:r}):{type:20,value:r}},e.prototype.consumeUrlToken=function(){var r=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===ht)return{type:22,value:""};var t=this.peekCodePoint(0);if(t===Ua||t===Qa){var a=this.consumeStringToken(this.consumeCodePoint());return a.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===ht||this.peekCodePoint(0)===mn)?(this.consumeCodePoint(),{type:22,value:a.value}):(this.consumeBadUrlRemnants(),va)}for(;;){var s=this.consumeCodePoint();if(s===ht||s===mn)return{type:22,value:YA.apply(void 0,r)};if(Ea(s))return this.consumeWhiteSpace(),this.peekCodePoint(0)===ht||this.peekCodePoint(0)===mn?(this.consumeCodePoint(),{type:22,value:YA.apply(void 0,r)}):(this.consumeBadUrlRemnants(),va);if(s===Qa||s===Ua||s===pa||tU(s))return this.consumeBadUrlRemnants(),va;if(s===Fn)if(Zt(s,this.peekCodePoint(0)))r.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),va;else r.push(s)}},e.prototype.consumeWhiteSpace=function(){for(;Ea(this.peekCodePoint(0));)this.consumeCodePoint()},e.prototype.consumeBadUrlRemnants=function(){for(;;){var r=this.consumeCodePoint();if(r===mn||r===ht)return;Zt(r,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},e.prototype.consumeStringSlice=function(r){for(var t=5e4,a="";r>0;){var s=Math.min(t,r);a+=YA.apply(void 0,this._value.splice(0,s)),r-=s}return this._value.shift(),a},e.prototype.consumeStringToken=function(r){var t="",a=0;do{var s=this._value[a];if(s===ht||s===void 0||s===r)return t+=this.consumeStringSlice(a),{type:0,value:t};if(s===ha)return this._value.splice(0,a),dU;if(s===Fn){var o=this._value[a+1];o!==ht&&o!==void 0&&(o===ha?(t+=this.consumeStringSlice(a),a=-1,this._value.shift()):Zt(s,o)&&(t+=this.consumeStringSlice(a),t+=YA(this.consumeEscapedCodePoint()),a=-1))}a++}while(!0)},e.prototype.consumeNumber=function(){var r=[],t=pn,a=this.peekCodePoint(0);for((a===wr||a===Le)&&r.push(this.consumeCodePoint());he(this.peekCodePoint(0));)r.push(this.consumeCodePoint());a=this.peekCodePoint(0);var s=this.peekCodePoint(1);if(a===In&&he(s))for(r.push(this.consumeCodePoint(),this.consumeCodePoint()),t=Du;he(this.peekCodePoint(0));)r.push(this.consumeCodePoint());a=this.peekCodePoint(0),s=this.peekCodePoint(1);var o=this.peekCodePoint(2);if((a===Vu||a===Mu)&&((s===wr||s===Le)&&he(o)||he(s)))for(r.push(this.consumeCodePoint(),this.consumeCodePoint()),t=Du;he(this.peekCodePoint(0));)r.push(this.consumeCodePoint());return[rU(r),t]},e.prototype.consumeNumericToken=function(){var r=this.consumeNumber(),t=r[0],a=r[1],s=this.peekCodePoint(0),o=this.peekCodePoint(1),l=this.peekCodePoint(2);if(Ia(s,o,l)){var B=this.consumeName();return{type:15,number:t,flags:a,unit:B}}return s===mQ?(this.consumeCodePoint(),{type:16,number:t,flags:a}):{type:17,number:t,flags:a}},e.prototype.consumeEscapedCodePoint=function(){var r=this.consumeCodePoint();if(Or(r)){for(var t=YA(r);Or(this.peekCodePoint(0))&&t.length<6;)t+=YA(this.consumeCodePoint());Ea(this.peekCodePoint(0))&&this.consumeCodePoint();var a=parseInt(t,16);return a===0||qQ(a)||a>1114111?Ku:a}return r===ht?Ku:r},e.prototype.consumeName=function(){for(var r="";;){var t=this.consumeCodePoint();if(Pu(t))r+=YA(t);else if(Zt(t,this.peekCodePoint(0)))r+=YA(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(t),r}},e}(),Wu=function(){function e(r){this._tokens=r}return e.create=function(r){var t=new ku;return t.write(r),new e(t.read())},e.parseValue=function(r){return e.create(r).parseComponentValue()},e.parseValues=function(r){return e.create(r).parseComponentValues()},e.prototype.parseComponentValue=function(){for(var r=this.consumeToken();r.type===31;)r=this.consumeToken();if(r.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(r);var t=this.consumeComponentValue();do r=this.consumeToken();while(r.type===31);if(r.type===32)return t;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},e.prototype.parseComponentValues=function(){for(var r=[];;){var t=this.consumeComponentValue();if(t.type===32)return r;r.push(t),r.push()}},e.prototype.consumeComponentValue=function(){var r=this.consumeToken();switch(r.type){case 11:case 28:case 2:return this.consumeSimpleBlock(r.type);case 19:return this.consumeFunction(r)}return r},e.prototype.consumeSimpleBlock=function(r){for(var t={type:r,values:[]},a=this.consumeToken();;){if(a.type===32||mU(a,r))return t;this.reconsumeToken(a),t.values.push(this.consumeComponentValue()),a=this.consumeToken()}},e.prototype.consumeFunction=function(r){for(var t={name:r.value,values:[],type:18};;){var a=this.consumeToken();if(a.type===32||a.type===3)return t;this.reconsumeToken(a),t.values.push(this.consumeComponentValue())}},e.prototype.consumeToken=function(){var r=this._tokens.shift();return typeof r>"u"?ms:r},e.prototype.reconsumeToken=function(r){this._tokens.unshift(r)},e}(),vn=function(e){return e.type===15},Kr=function(e){return e.type===17},LA=function(e){return e.type===20},EU=function(e){return e.type===0},Is=function(e,r){return LA(e)&&e.value===r},Xu=function(e){return e.type!==31},xr=function(e){return e.type!==31&&e.type!==4},Qt=function(e){var r=[],t=[];return e.forEach(function(a){if(a.type===4){if(t.length===0)throw new Error("Error parsing function args, zero tokens for arg");r.push(t),t=[];return}a.type!==31&&t.push(a)}),t.length&&r.push(t),r},mU=function(e,r){return r===11&&e.type===12||r===28&&e.type===29?!0:r===2&&e.type===3},qt=function(e){return e.type===17||e.type===15},qA=function(e){return e.type===16||qt(e)},Yu=function(e){return e.length>1?[e[0],e[1]]:[e[0]]},le={type:17,number:0,flags:pn},vs={type:16,number:50,flags:pn},zt={type:16,number:100,flags:pn},_n=function(e,r,t){var a=e[0],s=e[1];return[DA(a,r),DA(typeof s<"u"?s:a,t)]},DA=function(e,r){if(e.type===16)return e.number/100*r;if(vn(e))switch(e.unit){case"rem":case"em":return 16*e.number;case"px":default:return e.number}return e.number},Ju="deg",$u="grad",Zu="rad",qu="turn",_a={name:"angle",parse:function(e,r){if(r.type===15)switch(r.unit){case Ju:return Math.PI*r.number/180;case $u:return Math.PI/200*r.number;case Zu:return r.number;case qu:return Math.PI*2*r.number}throw new Error("Unsupported angle type")}},zu=function(e){return e.type===15&&(e.unit===Ju||e.unit===$u||e.unit===Zu||e.unit===qu)},ju=function(e){var r=e.filter(LA).map(function(t){return t.value}).join(" ");switch(r){case"to bottom right":case"to right bottom":case"left top":case"top left":return[le,le];case"to top":case"bottom":return Je(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[le,zt];case"to right":case"left":return Je(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[zt,zt];case"to bottom":case"top":return Je(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[zt,le];case"to left":case"right":return Je(270)}return 0},Je=function(e){return Math.PI*e/180},jt={name:"color",parse:function(e,r){if(r.type===18){var t=IU[r.name];if(typeof t>"u")throw new Error('Attempting to parse an unsupported color function "'+r.name+'"');return t(e,r.values)}if(r.type===5){if(r.value.length===3){var a=r.value.substring(0,1),s=r.value.substring(1,2),o=r.value.substring(2,3);return er(parseInt(a+a,16),parseInt(s+s,16),parseInt(o+o,16),1)}if(r.value.length===4){var a=r.value.substring(0,1),s=r.value.substring(1,2),o=r.value.substring(2,3),l=r.value.substring(3,4);return er(parseInt(a+a,16),parseInt(s+s,16),parseInt(o+o,16),parseInt(l+l,16)/255)}if(r.value.length===6){var a=r.value.substring(0,2),s=r.value.substring(2,4),o=r.value.substring(4,6);return er(parseInt(a,16),parseInt(s,16),parseInt(o,16),1)}if(r.value.length===8){var a=r.value.substring(0,2),s=r.value.substring(2,4),o=r.value.substring(4,6),l=r.value.substring(6,8);return er(parseInt(a,16),parseInt(s,16),parseInt(o,16),parseInt(l,16)/255)}}if(r.type===20){var B=St[r.value.toUpperCase()];if(typeof B<"u")return B}return St.TRANSPARENT}},Ar=function(e){return(255&e)===0},ie=function(e){var r=255&e,t=255&e>>8,a=255&e>>16,s=255&e>>24;return r<255?"rgba("+s+","+a+","+t+","+r/255+")":"rgb("+s+","+a+","+t+")"},er=function(e,r,t,a){return(e<<24|r<<16|t<<8|Math.round(a*255)<<0)>>>0},Ac=function(e,r){if(e.type===17)return e.number;if(e.type===16){var t=r===3?1:255;return r===3?e.number/100*t:Math.round(e.number/100*t)}return 0},ec=function(e,r){var t=r.filter(xr);if(t.length===3){var a=t.map(Ac),s=a[0],o=a[1],l=a[2];return er(s,o,l,1)}if(t.length===4){var B=t.map(Ac),s=B[0],o=B[1],l=B[2],c=B[3];return er(s,o,l,c)}return 0};function _s(e,r,t){return t<0&&(t+=1),t>=1&&(t-=1),t<1/6?(r-e)*t*6+e:t<1/2?r:t<2/3?(r-e)*6*(2/3-t)+e:e}var tc=function(e,r){var t=r.filter(xr),a=t[0],s=t[1],o=t[2],l=t[3],B=(a.type===17?Je(a.number):_a.parse(e,a))/(Math.PI*2),c=qA(s)?s.number/100:0,w=qA(o)?o.number/100:0,h=typeof l<"u"&&qA(l)?DA(l,1):1;if(c===0)return er(w*255,w*255,w*255,1);var Q=w<=.5?w*(c+1):w+c-w*c,F=w*2-Q,T=_s(F,Q,B+1/3),S=_s(F,Q,B),D=_s(F,Q,B-1/3);return er(T*255,S*255,D*255,h)},IU={hsl:tc,hsla:tc,rgb:ec,rgba:ec},yn=function(e,r){return jt.parse(e,Wu.create(r).parseComponentValue())},St={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},vU={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(e,r){return r.map(function(t){if(LA(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},_U={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},ya=function(e,r){var t=jt.parse(e,r[0]),a=r[1];return a&&qA(a)?{color:t,stop:a}:{color:t,stop:null}},rc=function(e,r){var t=e[0],a=e[e.length-1];t.stop===null&&(t.stop=le),a.stop===null&&(a.stop=zt);for(var s=[],o=0,l=0;l<e.length;l++){var B=e[l].stop;if(B!==null){var c=DA(B,r);c>o?s.push(c):s.push(o),o=c}else s.push(null)}for(var w=null,l=0;l<s.length;l++){var h=s[l];if(h===null)w===null&&(w=l);else if(w!==null){for(var Q=l-w,F=s[w-1],T=(h-F)/(Q+1),S=1;S<=Q;S++)s[w+S-1]=T*S;w=null}}return e.map(function(D,R){var m=D.color;return{color:m,stop:Math.max(Math.min(1,s[R]/r),0)}})},yU=function(e,r,t){var a=r/2,s=t/2,o=DA(e[0],r)-a,l=s-DA(e[1],t);return(Math.atan2(l,o)+Math.PI*2)%(Math.PI*2)},HU=function(e,r,t){var a=typeof e=="number"?e:yU(e,r,t),s=Math.abs(r*Math.sin(a))+Math.abs(t*Math.cos(a)),o=r/2,l=t/2,B=s/2,c=Math.sin(a-Math.PI/2)*B,w=Math.cos(a-Math.PI/2)*B;return[s,o-w,o+w,l-c,l+c]},lt=function(e,r){return Math.sqrt(e*e+r*r)},nc=function(e,r,t,a,s){var o=[[0,0],[0,r],[e,0],[e,r]];return o.reduce(function(l,B){var c=B[0],w=B[1],h=lt(t-c,a-w);return(s?h<l.optimumDistance:h>l.optimumDistance)?{optimumCorner:B,optimumDistance:h}:l},{optimumDistance:s?1/0:-1/0,optimumCorner:null}).optimumCorner},LU=function(e,r,t,a,s){var o=0,l=0;switch(e.size){case 0:e.shape===0?o=l=Math.min(Math.abs(r),Math.abs(r-a),Math.abs(t),Math.abs(t-s)):e.shape===1&&(o=Math.min(Math.abs(r),Math.abs(r-a)),l=Math.min(Math.abs(t),Math.abs(t-s)));break;case 2:if(e.shape===0)o=l=Math.min(lt(r,t),lt(r,t-s),lt(r-a,t),lt(r-a,t-s));else if(e.shape===1){var B=Math.min(Math.abs(t),Math.abs(t-s))/Math.min(Math.abs(r),Math.abs(r-a)),c=nc(a,s,r,t,!0),w=c[0],h=c[1];o=lt(w-r,(h-t)/B),l=B*o}break;case 1:e.shape===0?o=l=Math.max(Math.abs(r),Math.abs(r-a),Math.abs(t),Math.abs(t-s)):e.shape===1&&(o=Math.max(Math.abs(r),Math.abs(r-a)),l=Math.max(Math.abs(t),Math.abs(t-s)));break;case 3:if(e.shape===0)o=l=Math.max(lt(r,t),lt(r,t-s),lt(r-a,t),lt(r-a,t-s));else if(e.shape===1){var B=Math.max(Math.abs(t),Math.abs(t-s))/Math.max(Math.abs(r),Math.abs(r-a)),Q=nc(a,s,r,t,!1),w=Q[0],h=Q[1];o=lt(w-r,(h-t)/B),l=B*o}break}return Array.isArray(e.size)&&(o=DA(e.size[0],a),l=e.size.length===2?DA(e.size[1],s):o),[o,l]},bU=function(e,r){var t=Je(180),a=[];return Qt(r).forEach(function(s,o){if(o===0){var l=s[0];if(l.type===20&&l.value==="to"){t=ju(s);return}else if(zu(l)){t=_a.parse(e,l);return}}var B=ya(e,s);a.push(B)}),{angle:t,stops:a,type:1}},Ha=function(e,r){var t=Je(180),a=[];return Qt(r).forEach(function(s,o){if(o===0){var l=s[0];if(l.type===20&&["top","left","right","bottom"].indexOf(l.value)!==-1){t=ju(s);return}else if(zu(l)){t=(_a.parse(e,l)+Je(270))%Je(360);return}}var B=ya(e,s);a.push(B)}),{angle:t,stops:a,type:1}},TU=function(e,r){var t=Je(180),a=[],s=1,o=0,l=3,B=[];return Qt(r).forEach(function(c,w){var h=c[0];if(w===0){if(LA(h)&&h.value==="linear"){s=1;return}else if(LA(h)&&h.value==="radial"){s=2;return}}if(h.type===18){if(h.name==="from"){var Q=jt.parse(e,h.values[0]);a.push({stop:le,color:Q})}else if(h.name==="to"){var Q=jt.parse(e,h.values[0]);a.push({stop:zt,color:Q})}else if(h.name==="color-stop"){var F=h.values.filter(xr);if(F.length===2){var Q=jt.parse(e,F[1]),T=F[0];Kr(T)&&a.push({stop:{type:16,number:T.number*100,flags:T.flags},color:Q})}}}}),s===1?{angle:(t+Je(180))%Je(360),stops:a,type:s}:{size:l,shape:o,stops:a,position:B,type:s}},ac="closest-side",ic="farthest-side",sc="closest-corner",oc="farthest-corner",lc="circle",uc="ellipse",cc="cover",Bc="contain",DU=function(e,r){var t=0,a=3,s=[],o=[];return Qt(r).forEach(function(l,B){var c=!0;if(B===0){var w=!1;c=l.reduce(function(Q,F){if(w)if(LA(F))switch(F.value){case"center":return o.push(vs),Q;case"top":case"left":return o.push(le),Q;case"right":case"bottom":return o.push(zt),Q}else(qA(F)||qt(F))&&o.push(F);else if(LA(F))switch(F.value){case lc:return t=0,!1;case uc:return t=1,!1;case"at":return w=!0,!1;case ac:return a=0,!1;case cc:case ic:return a=1,!1;case Bc:case sc:return a=2,!1;case oc:return a=3,!1}else if(qt(F)||qA(F))return Array.isArray(a)||(a=[]),a.push(F),!1;return Q},c)}if(c){var h=ya(e,l);s.push(h)}}),{size:a,shape:t,stops:s,position:o,type:2}},La=function(e,r){var t=0,a=3,s=[],o=[];return Qt(r).forEach(function(l,B){var c=!0;if(B===0?c=l.reduce(function(h,Q){if(LA(Q))switch(Q.value){case"center":return o.push(vs),!1;case"top":case"left":return o.push(le),!1;case"right":case"bottom":return o.push(zt),!1}else if(qA(Q)||qt(Q))return o.push(Q),!1;return h},c):B===1&&(c=l.reduce(function(h,Q){if(LA(Q))switch(Q.value){case lc:return t=0,!1;case uc:return t=1,!1;case Bc:case ac:return a=0,!1;case ic:return a=1,!1;case sc:return a=2,!1;case cc:case oc:return a=3,!1}else if(qt(Q)||qA(Q))return Array.isArray(a)||(a=[]),a.push(Q),!1;return h},c)),c){var w=ya(e,l);s.push(w)}}),{size:a,shape:t,stops:s,position:o,type:2}},SU=function(e){return e.type===1},OU=function(e){return e.type===2},ys={name:"image",parse:function(e,r){if(r.type===22){var t={url:r.value,type:0};return e.cache.addImage(r.value),t}if(r.type===18){var a=fc[r.name];if(typeof a>"u")throw new Error('Attempting to parse an unsupported image function "'+r.name+'"');return a(e,r.values)}throw new Error("Unsupported image type "+r.type)}};function KU(e){return!(e.type===20&&e.value==="none")&&(e.type!==18||!!fc[e.name])}var fc={"linear-gradient":bU,"-moz-linear-gradient":Ha,"-ms-linear-gradient":Ha,"-o-linear-gradient":Ha,"-webkit-linear-gradient":Ha,"radial-gradient":DU,"-moz-radial-gradient":La,"-ms-radial-gradient":La,"-o-radial-gradient":La,"-webkit-radial-gradient":La,"-webkit-gradient":TU},xU={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(e,r){if(r.length===0)return[];var t=r[0];return t.type===20&&t.value==="none"?[]:r.filter(function(a){return xr(a)&&KU(a)}).map(function(a){return ys.parse(e,a)})}},NU={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(e,r){return r.map(function(t){if(LA(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},MU={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(e,r){return Qt(r).map(function(t){return t.filter(qA)}).map(Yu)}},RU={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(e,r){return Qt(r).map(function(t){return t.filter(LA).map(function(a){return a.value}).join(" ")}).map(VU)}},VU=function(e){switch(e){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}},Nr;(function(e){e.AUTO="auto",e.CONTAIN="contain",e.COVER="cover"})(Nr||(Nr={}));var GU={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(e,r){return Qt(r).map(function(t){return t.filter(PU)})}},PU=function(e){return LA(e)||qA(e)},ba=function(e){return{name:"border-"+e+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},kU=ba("top"),WU=ba("right"),XU=ba("bottom"),YU=ba("left"),Ta=function(e){return{name:"border-radius-"+e,initialValue:"0 0",prefix:!1,type:1,parse:function(r,t){return Yu(t.filter(qA))}}},JU=Ta("top-left"),$U=Ta("top-right"),ZU=Ta("bottom-right"),qU=Ta("bottom-left"),Da=function(e){return{name:"border-"+e+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(r,t){switch(t){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},zU=Da("top"),jU=Da("right"),Ap=Da("bottom"),ep=Da("left"),Sa=function(e){return{name:"border-"+e+"-width",initialValue:"0",type:0,prefix:!1,parse:function(r,t){return vn(t)?t.number:0}}},tp=Sa("top"),rp=Sa("right"),np=Sa("bottom"),ap=Sa("left"),ip={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},sp={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(e,r){switch(r){case"rtl":return 1;case"ltr":default:return 0}}},op={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(e,r){return r.filter(LA).reduce(function(t,a){return t|lp(a.value)},0)}},lp=function(e){switch(e){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},up={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(e,r){switch(r){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},cp={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(e,r){return r.type===20&&r.value==="normal"?0:r.type===17||r.type===15?r.number:0}},Oa;(function(e){e.NORMAL="normal",e.STRICT="strict"})(Oa||(Oa={}));var Bp={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(e,r){switch(r){case"strict":return Oa.STRICT;case"normal":default:return Oa.NORMAL}}},fp={name:"line-height",initialValue:"normal",prefix:!1,type:4},gc=function(e,r){return LA(e)&&e.value==="normal"?1.2*r:e.type===17?r*e.number:qA(e)?DA(e,r):r},gp={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(e,r){return r.type===20&&r.value==="none"?null:ys.parse(e,r)}},dp={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(e,r){switch(r){case"inside":return 0;case"outside":default:return 1}}},Hs={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(e,r){switch(r){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},Ka=function(e){return{name:"margin-"+e,initialValue:"0",prefix:!1,type:4}},wp=Ka("top"),Cp=Ka("right"),hp=Ka("bottom"),Qp=Ka("left"),Up={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(e,r){return r.filter(LA).map(function(t){switch(t.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},pp={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(e,r){switch(r){case"break-word":return"break-word";case"normal":default:return"normal"}}},xa=function(e){return{name:"padding-"+e,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},Fp=xa("top"),Ep=xa("right"),mp=xa("bottom"),Ip=xa("left"),vp={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(e,r){switch(r){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},_p={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(e,r){switch(r){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},yp={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(e,r){return r.length===1&&Is(r[0],"none")?[]:Qt(r).map(function(t){for(var a={color:St.TRANSPARENT,offsetX:le,offsetY:le,blur:le},s=0,o=0;o<t.length;o++){var l=t[o];qt(l)?(s===0?a.offsetX=l:s===1?a.offsetY=l:a.blur=l,s++):a.color=jt.parse(e,l)}return a})}},Hp={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(e,r){switch(r){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},Lp={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(e,r){if(r.type===20&&r.value==="none")return null;if(r.type===18){var t=Dp[r.name];if(typeof t>"u")throw new Error('Attempting to parse an unsupported transform function "'+r.name+'"');return t(r.values)}return null}},bp=function(e){var r=e.filter(function(t){return t.type===17}).map(function(t){return t.number});return r.length===6?r:null},Tp=function(e){var r=e.filter(function(c){return c.type===17}).map(function(c){return c.number}),t=r[0],a=r[1];r[2],r[3];var s=r[4],o=r[5];r[6],r[7],r[8],r[9],r[10],r[11];var l=r[12],B=r[13];return r[14],r[15],r.length===16?[t,a,s,o,l,B]:null},Dp={matrix:bp,matrix3d:Tp},dc={type:16,number:50,flags:pn},Sp=[dc,dc],Op={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(e,r){var t=r.filter(qA);return t.length!==2?Sp:[t[0],t[1]]}},Kp={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(e,r){switch(r){case"hidden":return 1;case"collapse":return 2;case"visible":default:return 0}}},Hn;(function(e){e.NORMAL="normal",e.BREAK_ALL="break-all",e.KEEP_ALL="keep-all"})(Hn||(Hn={}));for(var xp={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(e,r){switch(r){case"break-all":return Hn.BREAK_ALL;case"keep-all":return Hn.KEEP_ALL;case"normal":default:return Hn.NORMAL}}},Np={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(e,r){if(r.type===20)return{auto:!0,order:0};if(Kr(r))return{auto:!1,order:r.number};throw new Error("Invalid z-index number parsed")}},wc={name:"time",parse:function(e,r){if(r.type===15)switch(r.unit.toLowerCase()){case"s":return 1e3*r.number;case"ms":return r.number}throw new Error("Unsupported time type")}},Mp={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(e,r){return Kr(r)?r.number:1}},Rp={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Vp={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(e,r){return r.filter(LA).map(function(t){switch(t.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(t){return t!==0})}},Gp={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(e,r){var t=[],a=[];return r.forEach(function(s){switch(s.type){case 20:case 0:t.push(s.value);break;case 17:t.push(s.number.toString());break;case 4:a.push(t.join(" ")),t.length=0;break}}),t.length&&a.push(t.join(" ")),a.map(function(s){return s.indexOf(" ")===-1?s:"'"+s+"'"})}},Pp={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},kp={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(e,r){if(Kr(r))return r.number;if(LA(r))switch(r.value){case"bold":return 700;case"normal":default:return 400}return 400}},Wp={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(e,r){return r.filter(LA).map(function(t){return t.value})}},Xp={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(e,r){switch(r){case"oblique":return"oblique";case"italic":return"italic";case"normal":default:return"normal"}}},ee=function(e,r){return(e&r)!==0},Yp={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(e,r){if(r.length===0)return[];var t=r[0];return t.type===20&&t.value==="none"?[]:r}},Jp={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(e,r){if(r.length===0)return null;var t=r[0];if(t.type===20&&t.value==="none")return null;for(var a=[],s=r.filter(Xu),o=0;o<s.length;o++){var l=s[o],B=s[o+1];if(l.type===20){var c=B&&Kr(B)?B.number:1;a.push({counter:l.value,increment:c})}}return a}},$p={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(e,r){if(r.length===0)return[];for(var t=[],a=r.filter(Xu),s=0;s<a.length;s++){var o=a[s],l=a[s+1];if(LA(o)&&o.value!=="none"){var B=l&&Kr(l)?l.number:0;t.push({counter:o.value,reset:B})}}return t}},Zp={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(e,r){return r.filter(vn).map(function(t){return wc.parse(e,t)})}},qp={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(e,r){if(r.length===0)return null;var t=r[0];if(t.type===20&&t.value==="none")return null;var a=[],s=r.filter(EU);if(s.length%2!==0)return null;for(var o=0;o<s.length;o+=2){var l=s[o].value,B=s[o+1].value;a.push({open:l,close:B})}return a}},Cc=function(e,r,t){if(!e)return"";var a=e[Math.min(r,e.length-1)];return a?t?a.open:a.close:""},zp={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(e,r){return r.length===1&&Is(r[0],"none")?[]:Qt(r).map(function(t){for(var a={color:255,offsetX:le,offsetY:le,blur:le,spread:le,inset:!1},s=0,o=0;o<t.length;o++){var l=t[o];Is(l,"inset")?a.inset=!0:qt(l)?(s===0?a.offsetX=l:s===1?a.offsetY=l:s===2?a.blur=l:a.spread=l,s++):a.color=jt.parse(e,l)}return a})}},jp={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(e,r){var t=[0,1,2],a=[];return r.filter(LA).forEach(function(s){switch(s.value){case"stroke":a.push(1);break;case"fill":a.push(0);break;case"markers":a.push(2);break}}),t.forEach(function(s){a.indexOf(s)===-1&&a.push(s)}),a}},AF={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},eF={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(e,r){return vn(r)?r.number:0}},tF=function(){function e(r,t){var a,s;this.animationDuration=q(r,Zp,t.animationDuration),this.backgroundClip=q(r,vU,t.backgroundClip),this.backgroundColor=q(r,_U,t.backgroundColor),this.backgroundImage=q(r,xU,t.backgroundImage),this.backgroundOrigin=q(r,NU,t.backgroundOrigin),this.backgroundPosition=q(r,MU,t.backgroundPosition),this.backgroundRepeat=q(r,RU,t.backgroundRepeat),this.backgroundSize=q(r,GU,t.backgroundSize),this.borderTopColor=q(r,kU,t.borderTopColor),this.borderRightColor=q(r,WU,t.borderRightColor),this.borderBottomColor=q(r,XU,t.borderBottomColor),this.borderLeftColor=q(r,YU,t.borderLeftColor),this.borderTopLeftRadius=q(r,JU,t.borderTopLeftRadius),this.borderTopRightRadius=q(r,$U,t.borderTopRightRadius),this.borderBottomRightRadius=q(r,ZU,t.borderBottomRightRadius),this.borderBottomLeftRadius=q(r,qU,t.borderBottomLeftRadius),this.borderTopStyle=q(r,zU,t.borderTopStyle),this.borderRightStyle=q(r,jU,t.borderRightStyle),this.borderBottomStyle=q(r,Ap,t.borderBottomStyle),this.borderLeftStyle=q(r,ep,t.borderLeftStyle),this.borderTopWidth=q(r,tp,t.borderTopWidth),this.borderRightWidth=q(r,rp,t.borderRightWidth),this.borderBottomWidth=q(r,np,t.borderBottomWidth),this.borderLeftWidth=q(r,ap,t.borderLeftWidth),this.boxShadow=q(r,zp,t.boxShadow),this.color=q(r,ip,t.color),this.direction=q(r,sp,t.direction),this.display=q(r,op,t.display),this.float=q(r,up,t.cssFloat),this.fontFamily=q(r,Gp,t.fontFamily),this.fontSize=q(r,Pp,t.fontSize),this.fontStyle=q(r,Xp,t.fontStyle),this.fontVariant=q(r,Wp,t.fontVariant),this.fontWeight=q(r,kp,t.fontWeight),this.letterSpacing=q(r,cp,t.letterSpacing),this.lineBreak=q(r,Bp,t.lineBreak),this.lineHeight=q(r,fp,t.lineHeight),this.listStyleImage=q(r,gp,t.listStyleImage),this.listStylePosition=q(r,dp,t.listStylePosition),this.listStyleType=q(r,Hs,t.listStyleType),this.marginTop=q(r,wp,t.marginTop),this.marginRight=q(r,Cp,t.marginRight),this.marginBottom=q(r,hp,t.marginBottom),this.marginLeft=q(r,Qp,t.marginLeft),this.opacity=q(r,Mp,t.opacity);var o=q(r,Up,t.overflow);this.overflowX=o[0],this.overflowY=o[o.length>1?1:0],this.overflowWrap=q(r,pp,t.overflowWrap),this.paddingTop=q(r,Fp,t.paddingTop),this.paddingRight=q(r,Ep,t.paddingRight),this.paddingBottom=q(r,mp,t.paddingBottom),this.paddingLeft=q(r,Ip,t.paddingLeft),this.paintOrder=q(r,jp,t.paintOrder),this.position=q(r,_p,t.position),this.textAlign=q(r,vp,t.textAlign),this.textDecorationColor=q(r,Rp,(a=t.textDecorationColor)!==null&&a!==void 0?a:t.color),this.textDecorationLine=q(r,Vp,(s=t.textDecorationLine)!==null&&s!==void 0?s:t.textDecoration),this.textShadow=q(r,yp,t.textShadow),this.textTransform=q(r,Hp,t.textTransform),this.transform=q(r,Lp,t.transform),this.transformOrigin=q(r,Op,t.transformOrigin),this.visibility=q(r,Kp,t.visibility),this.webkitTextStrokeColor=q(r,AF,t.webkitTextStrokeColor),this.webkitTextStrokeWidth=q(r,eF,t.webkitTextStrokeWidth),this.wordBreak=q(r,xp,t.wordBreak),this.zIndex=q(r,Np,t.zIndex)}return e.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},e.prototype.isTransparent=function(){return Ar(this.backgroundColor)},e.prototype.isTransformed=function(){return this.transform!==null},e.prototype.isPositioned=function(){return this.position!==0},e.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},e.prototype.isFloating=function(){return this.float!==0},e.prototype.isInlineLevel=function(){return ee(this.display,4)||ee(this.display,33554432)||ee(this.display,268435456)||ee(this.display,536870912)||ee(this.display,67108864)||ee(this.display,134217728)},e}(),rF=function(){function e(r,t){this.content=q(r,Yp,t.content),this.quotes=q(r,qp,t.quotes)}return e}(),hc=function(){function e(r,t){this.counterIncrement=q(r,Jp,t.counterIncrement),this.counterReset=q(r,$p,t.counterReset)}return e}(),q=function(e,r,t){var a=new ku,s=t!==null&&typeof t<"u"?t.toString():r.initialValue;a.write(s);var o=new Wu(a.read());switch(r.type){case 2:var l=o.parseComponentValue();return r.parse(e,LA(l)?l.value:r.initialValue);case 0:return r.parse(e,o.parseComponentValue());case 1:return r.parse(e,o.parseComponentValues());case 4:return o.parseComponentValue();case 3:switch(r.format){case"angle":return _a.parse(e,o.parseComponentValue());case"color":return jt.parse(e,o.parseComponentValue());case"image":return ys.parse(e,o.parseComponentValue());case"length":var B=o.parseComponentValue();return qt(B)?B:le;case"length-percentage":var c=o.parseComponentValue();return qA(c)?c:le;case"time":return wc.parse(e,o.parseComponentValue())}break}},nF="data-html2canvas-debug",aF=function(e){var r=e.getAttribute(nF);switch(r){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},Ls=function(e,r){var t=aF(e);return t===1||r===t},Ut=function(){function e(r,t){if(this.context=r,this.textNodes=[],this.elements=[],this.flags=0,Ls(t,3))debugger;this.styles=new tF(r,window.getComputedStyle(t,null)),ks(t)&&(this.styles.animationDuration.some(function(a){return a>0})&&(t.style.animationDuration="0s"),this.styles.transform!==null&&(t.style.transform="none")),this.bounds=sa(this.context,t),Ls(t,4)&&(this.flags|=16)}return e}(),iF="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU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AAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZ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gACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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OAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",Qc="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ln=typeof Uint8Array>"u"?[]:new Uint8Array(256),Na=0;Na<Qc.length;Na++)Ln[Qc.charCodeAt(Na)]=Na;for(var sF=function(e){var r=e.length*.75,t=e.length,a,s=0,o,l,B,c;e[e.length-1]==="="&&(r--,e[e.length-2]==="="&&r--);var w=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(r):new Array(r),h=Array.isArray(w)?w:new Uint8Array(w);for(a=0;a<t;a+=4)o=Ln[e.charCodeAt(a)],l=Ln[e.charCodeAt(a+1)],B=Ln[e.charCodeAt(a+2)],c=Ln[e.charCodeAt(a+3)],h[s++]=o<<2|l>>4,h[s++]=(l&15)<<4|B>>2,h[s++]=(B&3)<<6|c&63;return w},oF=function(e){for(var r=e.length,t=[],a=0;a<r;a+=2)t.push(e[a+1]<<8|e[a]);return t},lF=function(e){for(var r=e.length,t=[],a=0;a<r;a+=4)t.push(e[a+3]<<24|e[a+2]<<16|e[a+1]<<8|e[a]);return t},Cr=5,bs=6+5,Ts=2,uF=bs-Cr,Uc=65536>>Cr,cF=1<<Cr,Ds=cF-1,BF=1024>>Cr,fF=Uc+BF,gF=fF,dF=32,wF=gF+dF,CF=65536>>bs,hF=1<<uF,QF=hF-1,pc=function(e,r,t){return e.slice?e.slice(r,t):new Uint16Array(Array.prototype.slice.call(e,r,t))},UF=function(e,r,t){return e.slice?e.slice(r,t):new Uint32Array(Array.prototype.slice.call(e,r,t))},pF=function(e,r){var t=sF(e),a=Array.isArray(t)?lF(t):new Uint32Array(t),s=Array.isArray(t)?oF(t):new Uint16Array(t),o=24,l=pc(s,o/2,a[4]/2),B=a[5]===2?pc(s,(o+a[4])/2):UF(a,Math.ceil((o+a[4])/4));return new FF(a[0],a[1],a[2],a[3],l,B)},FF=function(){function e(r,t,a,s,o,l){this.initialValue=r,this.errorValue=t,this.highStart=a,this.highValueIndex=s,this.index=o,this.data=l}return e.prototype.get=function(r){var t;if(r>=0){if(r<55296||r>56319&&r<=65535)return t=this.index[r>>Cr],t=(t<<Ts)+(r&Ds),this.data[t];if(r<=65535)return t=this.index[Uc+(r-55296>>Cr)],t=(t<<Ts)+(r&Ds),this.data[t];if(r<this.highStart)return t=wF-CF+(r>>bs),t=this.index[t],t+=r>>Cr&QF,t=this.index[t],t=(t<<Ts)+(r&Ds),this.data[t];if(r<=1114111)return this.data[this.highValueIndex]}return this.errorValue},e}(),Fc="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",EF=typeof Uint8Array>"u"?[]:new Uint8Array(256),Ma=0;Ma<Fc.length;Ma++)EF[Fc.charCodeAt(Ma)]=Ma;var mF=1,Ss=2,Os=3,Ec=4,mc=5,IF=7,Ic=8,Ks=9,xs=10,vc=11,_c=12,yc=13,Hc=14,Ns=15,vF=function(e){for(var r=[],t=0,a=e.length;t<a;){var s=e.charCodeAt(t++);if(s>=55296&&s<=56319&&t<a){var o=e.charCodeAt(t++);(o&64512)===56320?r.push(((s&1023)<<10)+(o&1023)+65536):(r.push(s),t--)}else r.push(s)}return r},_F=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];if(String.fromCodePoint)return String.fromCodePoint.apply(String,e);var t=e.length;if(!t)return"";for(var a=[],s=-1,o="";++s<t;){var l=e[s];l<=65535?a.push(l):(l-=65536,a.push((l>>10)+55296,l%1024+56320)),(s+1===t||a.length>16384)&&(o+=String.fromCharCode.apply(String,a),a.length=0)}return o},yF=pF(iF),$e="×",Ms="÷",HF=function(e){return yF.get(e)},LF=function(e,r,t){var a=t-2,s=r[a],o=r[t-1],l=r[t];if(o===Ss&&l===Os)return $e;if(o===Ss||o===Os||o===Ec||l===Ss||l===Os||l===Ec)return Ms;if(o===Ic&&[Ic,Ks,vc,_c].indexOf(l)!==-1||(o===vc||o===Ks)&&(l===Ks||l===xs)||(o===_c||o===xs)&&l===xs||l===yc||l===mc||l===IF||o===mF)return $e;if(o===yc&&l===Hc){for(;s===mc;)s=r[--a];if(s===Hc)return $e}if(o===Ns&&l===Ns){for(var B=0;s===Ns;)B++,s=r[--a];if(B%2===0)return $e}return Ms},bF=function(e){var r=vF(e),t=r.length,a=0,s=0,o=r.map(HF);return{next:function(){if(a>=t)return{done:!0,value:null};for(var l=$e;a<t&&(l=LF(r,o,++a))===$e;);if(l!==$e||a===t){var B=_F.apply(null,r.slice(s,a));return s=a,{value:B,done:!1}}return{done:!0,value:null}}}},TF=function(e){for(var r=bF(e),t=[],a;!(a=r.next()).done;)a.value&&t.push(a.value.slice());return t},DF=function(e){var r=123;if(e.createRange){var t=e.createRange();if(t.getBoundingClientRect){var a=e.createElement("boundtest");a.style.height=r+"px",a.style.display="block",e.body.appendChild(a),t.selectNode(a);var s=t.getBoundingClientRect(),o=Math.round(s.height);if(e.body.removeChild(a),o===r)return!0}}return!1},SF=function(e){var r=e.createElement("boundtest");r.style.width="50px",r.style.display="block",r.style.fontSize="12px",r.style.letterSpacing="0px",r.style.wordSpacing="0px",e.body.appendChild(r);var t=e.createRange();r.innerHTML=typeof"".repeat=="function"?"&#128104;".repeat(10):"";var a=r.firstChild,s=oa(a.data).map(function(c){return YA(c)}),o=0,l={},B=s.every(function(c,w){t.setStart(a,o),t.setEnd(a,o+c.length);var h=t.getBoundingClientRect();o+=c.length;var Q=h.x>l.x||h.y>l.y;return l=h,w===0?!0:Q});return e.body.removeChild(r),B},OF=function(){return typeof new Image().crossOrigin<"u"},KF=function(){return typeof new XMLHttpRequest().responseType=="string"},xF=function(e){var r=new Image,t=e.createElement("canvas"),a=t.getContext("2d");if(!a)return!1;r.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{a.drawImage(r,0,0),t.toDataURL()}catch{return!1}return!0},Lc=function(e){return e[0]===0&&e[1]===255&&e[2]===0&&e[3]===255},NF=function(e){var r=e.createElement("canvas"),t=100;r.width=t,r.height=t;var a=r.getContext("2d");if(!a)return Promise.reject(!1);a.fillStyle="rgb(0, 255, 0)",a.fillRect(0,0,t,t);var s=new Image,o=r.toDataURL();s.src=o;var l=Rs(t,t,0,0,s);return a.fillStyle="red",a.fillRect(0,0,t,t),bc(l).then(function(B){a.drawImage(B,0,0);var c=a.getImageData(0,0,t,t).data;a.fillStyle="red",a.fillRect(0,0,t,t);var w=e.createElement("div");return w.style.backgroundImage="url("+o+")",w.style.height=t+"px",Lc(c)?bc(Rs(t,t,0,0,w)):Promise.reject(!1)}).then(function(B){return a.drawImage(B,0,0),Lc(a.getImageData(0,0,t,t).data)}).catch(function(){return!1})},Rs=function(e,r,t,a,s){var o="http://www.w3.org/2000/svg",l=document.createElementNS(o,"svg"),B=document.createElementNS(o,"foreignObject");return l.setAttributeNS(null,"width",e.toString()),l.setAttributeNS(null,"height",r.toString()),B.setAttributeNS(null,"width","100%"),B.setAttributeNS(null,"height","100%"),B.setAttributeNS(null,"x",t.toString()),B.setAttributeNS(null,"y",a.toString()),B.setAttributeNS(null,"externalResourcesRequired","true"),l.appendChild(B),B.appendChild(s),l},bc=function(e){return new Promise(function(r,t){var a=new Image;a.onload=function(){return r(a)},a.onerror=t,a.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(e))})},ue={get SUPPORT_RANGE_BOUNDS(){var e=DF(document);return Object.defineProperty(ue,"SUPPORT_RANGE_BOUNDS",{value:e}),e},get SUPPORT_WORD_BREAKING(){var e=ue.SUPPORT_RANGE_BOUNDS&&SF(document);return Object.defineProperty(ue,"SUPPORT_WORD_BREAKING",{value:e}),e},get SUPPORT_SVG_DRAWING(){var e=xF(document);return Object.defineProperty(ue,"SUPPORT_SVG_DRAWING",{value:e}),e},get SUPPORT_FOREIGNOBJECT_DRAWING(){var e=typeof Array.from=="function"&&typeof window.fetch=="function"?NF(document):Promise.resolve(!1);return Object.defineProperty(ue,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:e}),e},get SUPPORT_CORS_IMAGES(){var e=OF();return Object.defineProperty(ue,"SUPPORT_CORS_IMAGES",{value:e}),e},get SUPPORT_RESPONSE_TYPE(){var e=KF();return Object.defineProperty(ue,"SUPPORT_RESPONSE_TYPE",{value:e}),e},get SUPPORT_CORS_XHR(){var e="withCredentials"in new XMLHttpRequest;return Object.defineProperty(ue,"SUPPORT_CORS_XHR",{value:e}),e},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var e=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(ue,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:e}),e}},bn=function(){function e(r,t){this.text=r,this.bounds=t}return e}(),MF=function(e,r,t,a){var s=GF(r,t),o=[],l=0;return s.forEach(function(B){if(t.textDecorationLine.length||B.trim().length>0)if(ue.SUPPORT_RANGE_BOUNDS){var c=Tc(a,l,B.length).getClientRects();if(c.length>1){var w=Vs(B),h=0;w.forEach(function(F){o.push(new bn(F,Tt.fromDOMRectList(e,Tc(a,h+l,F.length).getClientRects()))),h+=F.length})}else o.push(new bn(B,Tt.fromDOMRectList(e,c)))}else{var Q=a.splitText(B.length);o.push(new bn(B,RF(e,a))),a=Q}else ue.SUPPORT_RANGE_BOUNDS||(a=a.splitText(B.length));l+=B.length}),o},RF=function(e,r){var t=r.ownerDocument;if(t){var a=t.createElement("html2canvaswrapper");a.appendChild(r.cloneNode(!0));var s=r.parentNode;if(s){s.replaceChild(a,r);var o=sa(e,a);return a.firstChild&&s.replaceChild(a.firstChild,a),o}}return Tt.EMPTY},Tc=function(e,r,t){var a=e.ownerDocument;if(!a)throw new Error("Node has no owner document");var s=a.createRange();return s.setStart(e,r),s.setEnd(e,r+t),s},Vs=function(e){if(ue.SUPPORT_NATIVE_TEXT_SEGMENTATION){var r=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(r.segment(e)).map(function(t){return t.segment})}return TF(e)},VF=function(e,r){if(ue.SUPPORT_NATIVE_TEXT_SEGMENTATION){var t=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(t.segment(e)).map(function(a){return a.segment})}return kF(e,r)},GF=function(e,r){return r.letterSpacing!==0?Vs(e):VF(e,r)},PF=[32,160,4961,65792,65793,4153,4241],kF=function(e,r){for(var t=CQ(e,{lineBreak:r.lineBreak,wordBreak:r.overflowWrap==="break-word"?"break-word":r.wordBreak}),a=[],s,o=function(){if(s.value){var l=s.value.slice(),B=oa(l),c="";B.forEach(function(w){PF.indexOf(w)===-1?c+=YA(w):(c.length&&a.push(c),a.push(YA(w)),c="")}),c.length&&a.push(c)}};!(s=t.next()).done;)o();return a},WF=function(){function e(r,t,a){this.text=XF(t.data,a.textTransform),this.textBounds=MF(r,this.text,a,t)}return e}(),XF=function(e,r){switch(r){case 1:return e.toLowerCase();case 3:return e.replace(YF,JF);case 2:return e.toUpperCase();default:return e}},YF=/(^|\s|:|-|\(|\))([a-z])/g,JF=function(e,r,t){return e.length>0?r+t.toUpperCase():e},Dc=function(e){ot(r,e);function r(t,a){var s=e.call(this,t,a)||this;return s.src=a.currentSrc||a.src,s.intrinsicWidth=a.naturalWidth,s.intrinsicHeight=a.naturalHeight,s.context.cache.addImage(s.src),s}return r}(Ut),Sc=function(e){ot(r,e);function r(t,a){var s=e.call(this,t,a)||this;return s.canvas=a,s.intrinsicWidth=a.width,s.intrinsicHeight=a.height,s}return r}(Ut),Oc=function(e){ot(r,e);function r(t,a){var s=e.call(this,t,a)||this,o=new XMLSerializer,l=sa(t,a);return a.setAttribute("width",l.width+"px"),a.setAttribute("height",l.height+"px"),s.svg="data:image/svg+xml,"+encodeURIComponent(o.serializeToString(a)),s.intrinsicWidth=a.width.baseVal.value,s.intrinsicHeight=a.height.baseVal.value,s.context.cache.addImage(s.svg),s}return r}(Ut),Kc=function(e){ot(r,e);function r(t,a){var s=e.call(this,t,a)||this;return s.value=a.value,s}return r}(Ut),Gs=function(e){ot(r,e);function r(t,a){var s=e.call(this,t,a)||this;return s.start=a.start,s.reversed=typeof a.reversed=="boolean"&&a.reversed===!0,s}return r}(Ut),$F=[{type:15,flags:0,unit:"px",number:3}],ZF=[{type:16,flags:0,number:50}],qF=function(e){return e.width>e.height?new Tt(e.left+(e.width-e.height)/2,e.top,e.height,e.height):e.width<e.height?new Tt(e.left,e.top+(e.height-e.width)/2,e.width,e.width):e},zF=function(e){var r=e.type===jF?new Array(e.value.length+1).join("•"):e.value;return r.length===0?e.placeholder||"":r},Ra="checkbox",Va="radio",jF="password",xc=707406591,Ps=function(e){ot(r,e);function r(t,a){var s=e.call(this,t,a)||this;switch(s.type=a.type.toLowerCase(),s.checked=a.checked,s.value=zF(a),(s.type===Ra||s.type===Va)&&(s.styles.backgroundColor=3739148031,s.styles.borderTopColor=s.styles.borderRightColor=s.styles.borderBottomColor=s.styles.borderLeftColor=2779096575,s.styles.borderTopWidth=s.styles.borderRightWidth=s.styles.borderBottomWidth=s.styles.borderLeftWidth=1,s.styles.borderTopStyle=s.styles.borderRightStyle=s.styles.borderBottomStyle=s.styles.borderLeftStyle=1,s.styles.backgroundClip=[0],s.styles.backgroundOrigin=[0],s.bounds=qF(s.bounds)),s.type){case Ra:s.styles.borderTopRightRadius=s.styles.borderTopLeftRadius=s.styles.borderBottomRightRadius=s.styles.borderBottomLeftRadius=$F;break;case Va:s.styles.borderTopRightRadius=s.styles.borderTopLeftRadius=s.styles.borderBottomRightRadius=s.styles.borderBottomLeftRadius=ZF;break}return s}return r}(Ut),Nc=function(e){ot(r,e);function r(t,a){var s=e.call(this,t,a)||this,o=a.options[a.selectedIndex||0];return s.value=o&&o.text||"",s}return r}(Ut),Mc=function(e){ot(r,e);function r(t,a){var s=e.call(this,t,a)||this;return s.value=a.value,s}return r}(Ut),Rc=function(e){ot(r,e);function r(t,a){var s=e.call(this,t,a)||this;s.src=a.src,s.width=parseInt(a.width,10)||0,s.height=parseInt(a.height,10)||0,s.backgroundColor=s.styles.backgroundColor;try{if(a.contentWindow&&a.contentWindow.document&&a.contentWindow.document.documentElement){s.tree=Gc(t,a.contentWindow.document.documentElement);var o=a.contentWindow.document.documentElement?yn(t,getComputedStyle(a.contentWindow.document.documentElement).backgroundColor):St.TRANSPARENT,l=a.contentWindow.document.body?yn(t,getComputedStyle(a.contentWindow.document.body).backgroundColor):St.TRANSPARENT;s.backgroundColor=Ar(o)?Ar(l)?s.styles.backgroundColor:l:o}}catch{}return s}return r}(Ut),A0=["OL","UL","MENU"],Ga=function(e,r,t,a){for(var s=r.firstChild,o=void 0;s;s=o)if(o=s.nextSibling,Pc(s)&&s.data.trim().length>0)t.textNodes.push(new WF(e,s,t.styles));else if(Mr(s))if($c(s)&&s.assignedNodes)s.assignedNodes().forEach(function(B){return Ga(e,B,t,a)});else{var l=Vc(e,s);l.styles.isVisible()&&(e0(s,l,a)?l.flags|=4:t0(l.styles)&&(l.flags|=2),A0.indexOf(s.tagName)!==-1&&(l.flags|=8),t.elements.push(l),s.slot,s.shadowRoot?Ga(e,s.shadowRoot,l,a):!ka(s)&&!kc(s)&&!Wa(s)&&Ga(e,s,l,a))}},Vc=function(e,r){return Xs(r)?new Dc(e,r):Wc(r)?new Sc(e,r):kc(r)?new Oc(e,r):r0(r)?new Kc(e,r):n0(r)?new Gs(e,r):a0(r)?new Ps(e,r):Wa(r)?new Nc(e,r):ka(r)?new Mc(e,r):Yc(r)?new Rc(e,r):new Ut(e,r)},Gc=function(e,r){var t=Vc(e,r);return t.flags|=4,Ga(e,r,t,t),t},e0=function(e,r,t){return r.styles.isPositionedWithZIndex()||r.styles.opacity<1||r.styles.isTransformed()||Ws(e)&&t.styles.isTransparent()},t0=function(e){return e.isPositioned()||e.isFloating()},Pc=function(e){return e.nodeType===Node.TEXT_NODE},Mr=function(e){return e.nodeType===Node.ELEMENT_NODE},ks=function(e){return Mr(e)&&typeof e.style<"u"&&!Pa(e)},Pa=function(e){return typeof e.className=="object"},r0=function(e){return e.tagName==="LI"},n0=function(e){return e.tagName==="OL"},a0=function(e){return e.tagName==="INPUT"},i0=function(e){return e.tagName==="HTML"},kc=function(e){return e.tagName==="svg"},Ws=function(e){return e.tagName==="BODY"},Wc=function(e){return e.tagName==="CANVAS"},Xc=function(e){return e.tagName==="VIDEO"},Xs=function(e){return e.tagName==="IMG"},Yc=function(e){return e.tagName==="IFRAME"},Jc=function(e){return e.tagName==="STYLE"},s0=function(e){return e.tagName==="SCRIPT"},ka=function(e){return e.tagName==="TEXTAREA"},Wa=function(e){return e.tagName==="SELECT"},$c=function(e){return e.tagName==="SLOT"},Zc=function(e){return e.tagName.indexOf("-")>0},o0=function(){function e(){this.counters={}}return e.prototype.getCounterValue=function(r){var t=this.counters[r];return t&&t.length?t[t.length-1]:1},e.prototype.getCounterValues=function(r){var t=this.counters[r];return t||[]},e.prototype.pop=function(r){var t=this;r.forEach(function(a){return t.counters[a].pop()})},e.prototype.parse=function(r){var t=this,a=r.counterIncrement,s=r.counterReset,o=!0;a!==null&&a.forEach(function(B){var c=t.counters[B.counter];c&&B.increment!==0&&(o=!1,c.length||c.push(1),c[Math.max(0,c.length-1)]+=B.increment)});var l=[];return o&&s.forEach(function(B){var c=t.counters[B.counter];l.push(B.counter),c||(c=t.counters[B.counter]=[]),c.push(B.reset)}),l},e}(),qc={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},zc={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},l0={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},u0={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},Rr=function(e,r,t,a,s,o){return e<r||e>t?Dn(e,s,o.length>0):a.integers.reduce(function(l,B,c){for(;e>=B;)e-=B,l+=a.values[c];return l},"")+o},jc=function(e,r,t,a){var s="";do t||e--,s=a(e)+s,e/=r;while(e*r>=r);return s},JA=function(e,r,t,a,s){var o=t-r+1;return(e<0?"-":"")+(jc(Math.abs(e),o,a,function(l){return YA(Math.floor(l%o)+r)})+s)},hr=function(e,r,t){t===void 0&&(t=". ");var a=r.length;return jc(Math.abs(e),a,!1,function(s){return r[Math.floor(s%a)]})+t},Vr=1<<0,tr=1<<1,rr=1<<2,Tn=1<<3,Ot=function(e,r,t,a,s,o){if(e<-9999||e>9999)return Dn(e,4,s.length>0);var l=Math.abs(e),B=s;if(l===0)return r[0]+B;for(var c=0;l>0&&c<=4;c++){var w=l%10;w===0&&ee(o,Vr)&&B!==""?B=r[w]+B:w>1||w===1&&c===0||w===1&&c===1&&ee(o,tr)||w===1&&c===1&&ee(o,rr)&&e>100||w===1&&c>1&&ee(o,Tn)?B=r[w]+(c>0?t[c-1]:"")+B:w===1&&c>0&&(B=t[c-1]+B),l=Math.floor(l/10)}return(e<0?a:"")+B},AB="十百千萬",eB="拾佰仟萬",tB="マイナス",Ys="마이너스",Dn=function(e,r,t){var a=t?". ":"",s=t?"、":"",o=t?", ":"",l=t?" ":"";switch(r){case 0:return"•"+l;case 1:return"◦"+l;case 2:return"◾"+l;case 5:var B=JA(e,48,57,!0,a);return B.length<4?"0"+B:B;case 4:return hr(e,"〇一二三四五六七八九",s);case 6:return Rr(e,1,3999,qc,3,a).toLowerCase();case 7:return Rr(e,1,3999,qc,3,a);case 8:return JA(e,945,969,!1,a);case 9:return JA(e,97,122,!1,a);case 10:return JA(e,65,90,!1,a);case 11:return JA(e,1632,1641,!0,a);case 12:case 49:return Rr(e,1,9999,zc,3,a);case 35:return Rr(e,1,9999,zc,3,a).toLowerCase();case 13:return JA(e,2534,2543,!0,a);case 14:case 30:return JA(e,6112,6121,!0,a);case 15:return hr(e,"子丑寅卯辰巳午未申酉戌亥",s);case 16:return hr(e,"甲乙丙丁戊己庚辛壬癸",s);case 17:case 48:return Ot(e,"零一二三四五六七八九",AB,"負",s,tr|rr|Tn);case 47:return Ot(e,"零壹貳參肆伍陸柒捌玖",eB,"負",s,Vr|tr|rr|Tn);case 42:return Ot(e,"零一二三四五六七八九",AB,"负",s,tr|rr|Tn);case 41:return Ot(e,"零壹贰叁肆伍陆柒捌玖",eB,"负",s,Vr|tr|rr|Tn);case 26:return Ot(e,"〇一二三四五六七八九","十百千万",tB,s,0);case 25:return Ot(e,"零壱弐参四伍六七八九","拾百千万",tB,s,Vr|tr|rr);case 31:return Ot(e,"영일이삼사오육칠팔구","십백천만",Ys,o,Vr|tr|rr);case 33:return Ot(e,"零一二三四五六七八九","十百千萬",Ys,o,0);case 32:return Ot(e,"零壹貳參四五六七八九","拾百千",Ys,o,Vr|tr|rr);case 18:return JA(e,2406,2415,!0,a);case 20:return Rr(e,1,19999,u0,3,a);case 21:return JA(e,2790,2799,!0,a);case 22:return JA(e,2662,2671,!0,a);case 22:return Rr(e,1,10999,l0,3,a);case 23:return hr(e,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return hr(e,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return JA(e,3302,3311,!0,a);case 28:return hr(e,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",s);case 29:return hr(e,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",s);case 34:return JA(e,3792,3801,!0,a);case 37:return JA(e,6160,6169,!0,a);case 38:return JA(e,4160,4169,!0,a);case 39:return JA(e,2918,2927,!0,a);case 40:return JA(e,1776,1785,!0,a);case 43:return JA(e,3046,3055,!0,a);case 44:return JA(e,3174,3183,!0,a);case 45:return JA(e,3664,3673,!0,a);case 46:return JA(e,3872,3881,!0,a);case 3:default:return JA(e,48,57,!0,a)}},rB="data-html2canvas-ignore",nB=function(){function e(r,t,a){if(this.context=r,this.options=a,this.scrolledElements=[],this.referenceElement=t,this.counters=new o0,this.quoteDepth=0,!t.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(t.ownerDocument.documentElement,!1)}return e.prototype.toIFrame=function(r,t){var a=this,s=c0(r,t);if(!s.contentWindow)return Promise.reject("Unable to find iframe window");var o=r.defaultView.pageXOffset,l=r.defaultView.pageYOffset,B=s.contentWindow,c=B.document,w=g0(s).then(function(){return Fe(a,void 0,void 0,function(){var h,Q;return Ce(this,function(F){switch(F.label){case 0:return this.scrolledElements.forEach(h0),B&&(B.scrollTo(t.left,t.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(B.scrollY!==t.top||B.scrollX!==t.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(B.scrollX-t.left,B.scrollY-t.top,0,0))),h=this.options.onclone,Q=this.clonedReferenceElement,typeof Q>"u"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:c.fonts&&c.fonts.ready?[4,c.fonts.ready]:[3,2];case 1:F.sent(),F.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,f0(c)]:[3,4];case 3:F.sent(),F.label=4;case 4:return typeof h=="function"?[2,Promise.resolve().then(function(){return h(c,Q)}).then(function(){return s})]:[2,s]}})})});return c.open(),c.write(w0(document.doctype)+"<html></html>"),C0(this.referenceElement.ownerDocument,o,l),c.replaceChild(c.adoptNode(this.documentElement),c.documentElement),c.close(),w},e.prototype.createElementClone=function(r){if(Ls(r,2))debugger;if(Wc(r))return this.createCanvasClone(r);if(Xc(r))return this.createVideoClone(r);if(Jc(r))return this.createStyleClone(r);var t=r.cloneNode(!1);return Xs(t)&&(Xs(r)&&r.currentSrc&&r.currentSrc!==r.src&&(t.src=r.currentSrc,t.srcset=""),t.loading==="lazy"&&(t.loading="eager")),Zc(t)?this.createCustomElementClone(t):t},e.prototype.createCustomElementClone=function(r){var t=document.createElement("html2canvascustomelement");return Js(r.style,t),t},e.prototype.createStyleClone=function(r){try{var t=r.sheet;if(t&&t.cssRules){var a=[].slice.call(t.cssRules,0).reduce(function(o,l){return l&&typeof l.cssText=="string"?o+l.cssText:o},""),s=r.cloneNode(!1);return s.textContent=a,s}}catch(o){if(this.context.logger.error("Unable to access cssRules property",o),o.name!=="SecurityError")throw o}return r.cloneNode(!1)},e.prototype.createCanvasClone=function(r){var t;if(this.options.inlineImages&&r.ownerDocument){var a=r.ownerDocument.createElement("img");try{return a.src=r.toDataURL(),a}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",r)}}var s=r.cloneNode(!1);try{s.width=r.width,s.height=r.height;var o=r.getContext("2d"),l=s.getContext("2d");if(l)if(!this.options.allowTaint&&o)l.putImageData(o.getImageData(0,0,r.width,r.height),0,0);else{var B=(t=r.getContext("webgl2"))!==null&&t!==void 0?t:r.getContext("webgl");if(B){var c=B.getContextAttributes();(c==null?void 0:c.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",r)}l.drawImage(r,0,0)}return s}catch{this.context.logger.info("Unable to clone canvas as it is tainted",r)}return s},e.prototype.createVideoClone=function(r){var t=r.ownerDocument.createElement("canvas");t.width=r.offsetWidth,t.height=r.offsetHeight;var a=t.getContext("2d");try{return a&&(a.drawImage(r,0,0,t.width,t.height),this.options.allowTaint||a.getImageData(0,0,t.width,t.height)),t}catch{this.context.logger.info("Unable to clone video as it is tainted",r)}var s=r.ownerDocument.createElement("canvas");return s.width=r.offsetWidth,s.height=r.offsetHeight,s},e.prototype.appendChildNode=function(r,t,a){(!Mr(t)||!s0(t)&&!t.hasAttribute(rB)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(t)))&&(!this.options.copyStyles||!Mr(t)||!Jc(t))&&r.appendChild(this.cloneNode(t,a))},e.prototype.cloneChildNodes=function(r,t,a){for(var s=this,o=r.shadowRoot?r.shadowRoot.firstChild:r.firstChild;o;o=o.nextSibling)if(Mr(o)&&$c(o)&&typeof o.assignedNodes=="function"){var l=o.assignedNodes();l.length&&l.forEach(function(B){return s.appendChildNode(t,B,a)})}else this.appendChildNode(t,o,a)},e.prototype.cloneNode=function(r,t){if(Pc(r))return document.createTextNode(r.data);if(!r.ownerDocument)return r.cloneNode(!1);var a=r.ownerDocument.defaultView;if(a&&Mr(r)&&(ks(r)||Pa(r))){var s=this.createElementClone(r);s.style.transitionProperty="none";var o=a.getComputedStyle(r),l=a.getComputedStyle(r,":before"),B=a.getComputedStyle(r,":after");this.referenceElement===r&&ks(s)&&(this.clonedReferenceElement=s),Ws(s)&&p0(s);var c=this.counters.parse(new hc(this.context,o)),w=this.resolvePseudoContent(r,s,l,Sn.BEFORE);Zc(r)&&(t=!0),Xc(r)||this.cloneChildNodes(r,s,t),w&&s.insertBefore(w,s.firstChild);var h=this.resolvePseudoContent(r,s,B,Sn.AFTER);return h&&s.appendChild(h),this.counters.pop(c),(o&&(this.options.copyStyles||Pa(r))&&!Yc(r)||t)&&Js(o,s),(r.scrollTop!==0||r.scrollLeft!==0)&&this.scrolledElements.push([s,r.scrollLeft,r.scrollTop]),(ka(r)||Wa(r))&&(ka(s)||Wa(s))&&(s.value=r.value),s}return r.cloneNode(!1)},e.prototype.resolvePseudoContent=function(r,t,a,s){var o=this;if(a){var l=a.content,B=t.ownerDocument;if(!(!B||!l||l==="none"||l==="-moz-alt-content"||a.display==="none")){this.counters.parse(new hc(this.context,a));var c=new rF(this.context,a),w=B.createElement("html2canvaspseudoelement");Js(a,w),c.content.forEach(function(Q){if(Q.type===0)w.appendChild(B.createTextNode(Q.value));else if(Q.type===22){var F=B.createElement("img");F.src=Q.value,F.style.opacity="1",w.appendChild(F)}else if(Q.type===18){if(Q.name==="attr"){var T=Q.values.filter(LA);T.length&&w.appendChild(B.createTextNode(r.getAttribute(T[0].value)||""))}else if(Q.name==="counter"){var S=Q.values.filter(xr),D=S[0],R=S[1];if(D&&LA(D)){var m=o.counters.getCounterValue(D.value),_=R&&LA(R)?Hs.parse(o.context,R.value):3;w.appendChild(B.createTextNode(Dn(m,_,!1)))}}else if(Q.name==="counters"){var x=Q.values.filter(xr),D=x[0],L=x[1],R=x[2];if(D&&LA(D)){var H=o.counters.getCounterValues(D.value),b=R&&LA(R)?Hs.parse(o.context,R.value):3,V=L&&L.type===0?L.value:"",$=H.map(function(fA){return Dn(fA,b,!1)}).join(V);w.appendChild(B.createTextNode($))}}}else if(Q.type===20)switch(Q.value){case"open-quote":w.appendChild(B.createTextNode(Cc(c.quotes,o.quoteDepth++,!0)));break;case"close-quote":w.appendChild(B.createTextNode(Cc(c.quotes,--o.quoteDepth,!1)));break;default:w.appendChild(B.createTextNode(Q.value))}}),w.className=$s+" "+Zs;var h=s===Sn.BEFORE?" "+$s:" "+Zs;return Pa(t)?t.className.baseValue+=h:t.className+=h,w}}},e.destroy=function(r){return r.parentNode?(r.parentNode.removeChild(r),!0):!1},e}(),Sn;(function(e){e[e.BEFORE=0]="BEFORE",e[e.AFTER=1]="AFTER"})(Sn||(Sn={}));var c0=function(e,r){var t=e.createElement("iframe");return t.className="html2canvas-container",t.style.visibility="hidden",t.style.position="fixed",t.style.left="-10000px",t.style.top="0px",t.style.border="0",t.width=r.width.toString(),t.height=r.height.toString(),t.scrolling="no",t.setAttribute(rB,"true"),e.body.appendChild(t),t},B0=function(e){return new Promise(function(r){if(e.complete){r();return}if(!e.src){r();return}e.onload=r,e.onerror=r})},f0=function(e){return Promise.all([].slice.call(e.images,0).map(B0))},g0=function(e){return new Promise(function(r,t){var a=e.contentWindow;if(!a)return t("No window assigned for iframe");var s=a.document;a.onload=e.onload=function(){a.onload=e.onload=null;var o=setInterval(function(){s.body.childNodes.length>0&&s.readyState==="complete"&&(clearInterval(o),r(e))},50)}})},d0=["all","d","content"],Js=function(e,r){for(var t=e.length-1;t>=0;t--){var a=e.item(t);d0.indexOf(a)===-1&&r.style.setProperty(a,e.getPropertyValue(a))}return r},w0=function(e){var r="";return e&&(r+="<!DOCTYPE ",e.name&&(r+=e.name),e.internalSubset&&(r+=e.internalSubset),e.publicId&&(r+='"'+e.publicId+'"'),e.systemId&&(r+='"'+e.systemId+'"'),r+=">"),r},C0=function(e,r,t){e&&e.defaultView&&(r!==e.defaultView.pageXOffset||t!==e.defaultView.pageYOffset)&&e.defaultView.scrollTo(r,t)},h0=function(e){var r=e[0],t=e[1],a=e[2];r.scrollLeft=t,r.scrollTop=a},Q0=":before",U0=":after",$s="___html2canvas___pseudoelement_before",Zs="___html2canvas___pseudoelement_after",aB=`{
180
+ ***************************************************************************** */var Tu=function(t,A){return Tu=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])},Tu(t,A)};function sn(t,A){if(typeof A!="function"&&A!==null)throw new TypeError("Class extends value "+String(A)+" is not a constructor or null");Tu(t,A);function e(){this.constructor=t}t.prototype=A===null?Object.create(A):(e.prototype=A.prototype,new e)}var xu=function(){return xu=Object.assign||function(A){for(var e,n=1,r=arguments.length;n<r;n++){e=arguments[n];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(A[i]=e[i])}return A},xu.apply(this,arguments)};function rt(t,A,e,n){function r(i){return i instanceof e?i:new e(function(s){s(i)})}return new(e||(e=Promise))(function(i,s){function a(d){try{u(n.next(d))}catch(h){s(h)}}function c(d){try{u(n.throw(d))}catch(h){s(h)}}function u(d){d.done?i(d.value):r(d.value).then(a,c)}u((n=n.apply(t,A||[])).next())})}function Xe(t,A){var e={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,r,i,s;return s={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(u){return function(d){return c([u,d])}}function c(u){if(n)throw new TypeError("Generator is already executing.");for(;e;)try{if(n=1,r&&(i=u[0]&2?r.return:u[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,u[1])).done)return i;switch(r=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return e.label++,{value:u[1],done:!1};case 5:e.label++,r=u[1],u=[0];continue;case 7:u=e.ops.pop(),e.trys.pop();continue;default:if(i=e.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){e=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){e.label=u[1];break}if(u[0]===6&&e.label<i[1]){e.label=i[1],i=u;break}if(i&&e.label<i[2]){e.label=i[2],e.ops.push(u);break}i[2]&&e.ops.pop(),e.trys.pop();continue}u=A.call(t,e)}catch(d){u=[6,d],r=0}finally{n=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}function ga(t,A,e){if(e||arguments.length===2)for(var n=0,r=A.length,i;n<r;n++)(i||!(n in A))&&(i||(i=Array.prototype.slice.call(A,0,n)),i[n]=A[n]);return t.concat(i||A)}for(var Dn=function(){function t(A,e,n,r){this.left=A,this.top=e,this.width=n,this.height=r}return t.prototype.add=function(A,e,n,r){return new t(this.left+A,this.top+e,this.width+n,this.height+r)},t.fromClientRect=function(A,e){return new t(e.left+A.windowBounds.left,e.top+A.windowBounds.top,e.width,e.height)},t.fromDOMRectList=function(A,e){var n=Array.from(e).find(function(r){return r.width!==0});return n?new t(n.left+A.windowBounds.left,n.top+A.windowBounds.top,n.width,n.height):t.EMPTY},t.EMPTY=new t(0,0,0,0),t}(),Ba=function(t,A){return Dn.fromClientRect(t,A.getBoundingClientRect())},NT=function(t){var A=t.body,e=t.documentElement;if(!A||!e)throw new Error("Unable to get document size");var n=Math.max(Math.max(A.scrollWidth,e.scrollWidth),Math.max(A.offsetWidth,e.offsetWidth),Math.max(A.clientWidth,e.clientWidth)),r=Math.max(Math.max(A.scrollHeight,e.scrollHeight),Math.max(A.offsetHeight,e.offsetHeight),Math.max(A.clientHeight,e.clientHeight));return new Dn(0,0,n,r)},ma=function(t){for(var A=[],e=0,n=t.length;e<n;){var r=t.charCodeAt(e++);if(r>=55296&&r<=56319&&e<n){var i=t.charCodeAt(e++);(i&64512)===56320?A.push(((r&1023)<<10)+(i&1023)+65536):(A.push(r),e--)}else A.push(r)}return A},ce=function(){for(var t=[],A=0;A<arguments.length;A++)t[A]=arguments[A];if(String.fromCodePoint)return String.fromCodePoint.apply(String,t);var e=t.length;if(!e)return"";for(var n=[],r=-1,i="";++r<e;){var s=t[r];s<=65535?n.push(s):(s-=65536,n.push((s>>10)+55296,s%1024+56320)),(r+1===e||n.length>16384)&&(i+=String.fromCharCode.apply(String,n),n.length=0)}return i},PB="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",RT=typeof Uint8Array>"u"?[]:new Uint8Array(256),wa=0;wa<PB.length;wa++)RT[PB.charCodeAt(wa)]=wa;for(var VB="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ks=typeof Uint8Array>"u"?[]:new Uint8Array(256),Ca=0;Ca<VB.length;Ca++)ks[VB.charCodeAt(Ca)]=Ca;for(var KT=function(t){var A=t.length*.75,e=t.length,n,r=0,i,s,a,c;t[t.length-1]==="="&&(A--,t[t.length-2]==="="&&A--);var u=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(A):new Array(A),d=Array.isArray(u)?u:new Uint8Array(u);for(n=0;n<e;n+=4)i=ks[t.charCodeAt(n)],s=ks[t.charCodeAt(n+1)],a=ks[t.charCodeAt(n+2)],c=ks[t.charCodeAt(n+3)],d[r++]=i<<2|s>>4,d[r++]=(s&15)<<4|a>>2,d[r++]=(a&3)<<6|c&63;return u},PT=function(t){for(var A=t.length,e=[],n=0;n<A;n+=2)e.push(t[n+1]<<8|t[n]);return e},VT=function(t){for(var A=t.length,e=[],n=0;n<A;n+=4)e.push(t[n+3]<<24|t[n+2]<<16|t[n+1]<<8|t[n]);return e},Zr=5,Hu=6+5,Lu=2,GT=Hu-Zr,GB=65536>>Zr,WT=1<<Zr,Ou=WT-1,JT=1024>>Zr,$T=GB+JT,XT=$T,YT=32,zT=XT+YT,qT=65536>>Hu,ZT=1<<GT,jT=ZT-1,WB=function(t,A,e){return t.slice?t.slice(A,e):new Uint16Array(Array.prototype.slice.call(t,A,e))},Ax=function(t,A,e){return t.slice?t.slice(A,e):new Uint32Array(Array.prototype.slice.call(t,A,e))},ex=function(t,A){var e=KT(t),n=Array.isArray(e)?VT(e):new Uint32Array(e),r=Array.isArray(e)?PT(e):new Uint16Array(e),i=24,s=WB(r,i/2,n[4]/2),a=n[5]===2?WB(r,(i+n[4])/2):Ax(n,Math.ceil((i+n[4])/4));return new tx(n[0],n[1],n[2],n[3],s,a)},tx=function(){function t(A,e,n,r,i,s){this.initialValue=A,this.errorValue=e,this.highStart=n,this.highValueIndex=r,this.index=i,this.data=s}return t.prototype.get=function(A){var e;if(A>=0){if(A<55296||A>56319&&A<=65535)return e=this.index[A>>Zr],e=(e<<Lu)+(A&Ou),this.data[e];if(A<=65535)return e=this.index[GB+(A-55296>>Zr)],e=(e<<Lu)+(A&Ou),this.data[e];if(A<this.highStart)return e=zT-qT+(A>>Hu),e=this.index[e],e+=A>>Zr&jT,e=this.index[e],e=(e<<Lu)+(A&Ou),this.data[e];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},t}(),JB="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+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JMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHL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ggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHA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MAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZc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sAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAB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ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQ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AEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAV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QAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeA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ACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACU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eAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",$B=50,ix=1,XB=2,YB=3,sx=4,ox=5,zB=7,qB=8,ZB=9,gr=10,_u=11,jB=12,Mu=13,ax=14,Ns=15,Du=16,Qa=17,Rs=18,lx=19,Am=20,ku=21,Ks=22,Nu=23,ki=24,bt=25,Ps=26,Vs=27,Ni=28,cx=29,jr=30,ux=31,Ea=32,Fa=33,Ru=34,Ku=35,Pu=36,Gs=37,Vu=38,Ua=39,va=40,Gu=41,em=42,fx=43,dx=[9001,65288],tm="!",xA="×",ba="÷",Wu=ex(rx),kn=[jr,Pu],Ju=[ix,XB,YB,ox],nm=[gr,qB],rm=[Vs,Ps],hx=Ju.concat(nm),im=[Vu,Ua,va,Ru,Ku],px=[Ns,Mu],gx=function(t,A){A===void 0&&(A="strict");var e=[],n=[],r=[];return t.forEach(function(i,s){var a=Wu.get(i);if(a>$B?(r.push(!0),a-=$B):r.push(!1),["normal","auto","loose"].indexOf(A)!==-1&&[8208,8211,12316,12448].indexOf(i)!==-1)return n.push(s),e.push(Du);if(a===sx||a===_u){if(s===0)return n.push(s),e.push(jr);var c=e[s-1];return hx.indexOf(c)===-1?(n.push(n[s-1]),e.push(c)):(n.push(s),e.push(jr))}if(n.push(s),a===ux)return e.push(A==="strict"?ku:Gs);if(a===em||a===cx)return e.push(jr);if(a===fx)return i>=131072&&i<=196605||i>=196608&&i<=262141?e.push(Gs):e.push(jr);e.push(a)}),[n,e,r]},$u=function(t,A,e,n){var r=n[e];if(Array.isArray(t)?t.indexOf(r)!==-1:t===r)for(var i=e;i<=n.length;){i++;var s=n[i];if(s===A)return!0;if(s!==gr)break}if(r===gr)for(var i=e;i>0;){i--;var a=n[i];if(Array.isArray(t)?t.indexOf(a)!==-1:t===a)for(var c=e;c<=n.length;){c++;var s=n[c];if(s===A)return!0;if(s!==gr)break}if(a!==gr)break}return!1},sm=function(t,A){for(var e=t;e>=0;){var n=A[e];if(n===gr)e--;else return n}return 0},Bx=function(t,A,e,n,r){if(e[n]===0)return xA;var i=n-1;if(Array.isArray(r)&&r[i]===!0)return xA;var s=i-1,a=i+1,c=A[i],u=s>=0?A[s]:0,d=A[a];if(c===XB&&d===YB)return xA;if(Ju.indexOf(c)!==-1)return tm;if(Ju.indexOf(d)!==-1||nm.indexOf(d)!==-1)return xA;if(sm(i,A)===qB)return ba;if(Wu.get(t[i])===_u||(c===Ea||c===Fa)&&Wu.get(t[a])===_u||c===zB||d===zB||c===ZB||[gr,Mu,Ns].indexOf(c)===-1&&d===ZB||[Qa,Rs,lx,ki,Ni].indexOf(d)!==-1||sm(i,A)===Ks||$u(Nu,Ks,i,A)||$u([Qa,Rs],ku,i,A)||$u(jB,jB,i,A))return xA;if(c===gr)return ba;if(c===Nu||d===Nu)return xA;if(d===Du||c===Du)return ba;if([Mu,Ns,ku].indexOf(d)!==-1||c===ax||u===Pu&&px.indexOf(c)!==-1||c===Ni&&d===Pu||d===Am||kn.indexOf(d)!==-1&&c===bt||kn.indexOf(c)!==-1&&d===bt||c===Vs&&[Gs,Ea,Fa].indexOf(d)!==-1||[Gs,Ea,Fa].indexOf(c)!==-1&&d===Ps||kn.indexOf(c)!==-1&&rm.indexOf(d)!==-1||rm.indexOf(c)!==-1&&kn.indexOf(d)!==-1||[Vs,Ps].indexOf(c)!==-1&&(d===bt||[Ks,Ns].indexOf(d)!==-1&&A[a+1]===bt)||[Ks,Ns].indexOf(c)!==-1&&d===bt||c===bt&&[bt,Ni,ki].indexOf(d)!==-1)return xA;if([bt,Ni,ki,Qa,Rs].indexOf(d)!==-1)for(var h=i;h>=0;){var B=A[h];if(B===bt)return xA;if([Ni,ki].indexOf(B)!==-1)h--;else break}if([Vs,Ps].indexOf(d)!==-1)for(var h=[Qa,Rs].indexOf(c)!==-1?s:i;h>=0;){var B=A[h];if(B===bt)return xA;if([Ni,ki].indexOf(B)!==-1)h--;else break}if(Vu===c&&[Vu,Ua,Ru,Ku].indexOf(d)!==-1||[Ua,Ru].indexOf(c)!==-1&&[Ua,va].indexOf(d)!==-1||[va,Ku].indexOf(c)!==-1&&d===va||im.indexOf(c)!==-1&&[Am,Ps].indexOf(d)!==-1||im.indexOf(d)!==-1&&c===Vs||kn.indexOf(c)!==-1&&kn.indexOf(d)!==-1||c===ki&&kn.indexOf(d)!==-1||kn.concat(bt).indexOf(c)!==-1&&d===Ks&&dx.indexOf(t[a])===-1||kn.concat(bt).indexOf(d)!==-1&&c===Rs)return xA;if(c===Gu&&d===Gu){for(var m=e[i],C=1;m>0&&(m--,A[m]===Gu);)C++;if(C%2!==0)return xA}return c===Ea&&d===Fa?xA:ba},mx=function(t,A){A||(A={lineBreak:"normal",wordBreak:"normal"});var e=gx(t,A.lineBreak),n=e[0],r=e[1],i=e[2];(A.wordBreak==="break-all"||A.wordBreak==="break-word")&&(r=r.map(function(a){return[bt,jr,em].indexOf(a)!==-1?Gs:a}));var s=A.wordBreak==="keep-all"?i.map(function(a,c){return a&&t[c]>=19968&&t[c]<=40959}):void 0;return[n,r,s]},wx=function(){function t(A,e,n,r){this.codePoints=A,this.required=e===tm,this.start=n,this.end=r}return t.prototype.slice=function(){return ce.apply(void 0,this.codePoints.slice(this.start,this.end))},t}(),Cx=function(t,A){var e=ma(t),n=mx(e,A),r=n[0],i=n[1],s=n[2],a=e.length,c=0,u=0;return{next:function(){if(u>=a)return{done:!0,value:null};for(var d=xA;u<a&&(d=Bx(e,i,r,++u,s))===xA;);if(d!==xA||u===a){var h=new wx(e,d,c,u);return c=u,{value:h,done:!1}}return{done:!0,value:null}}}},yx=1<<0,Qx=1<<1,Ws=1<<2,om=1<<3,Ia=10,am=47,Js=92,Ex=9,Fx=32,Sa=34,$s=61,Ux=35,vx=36,bx=37,Ta=39,xa=40,Xs=41,Ix=95,gt=45,Sx=33,Tx=60,xx=62,Hx=64,Lx=91,Ox=93,_x=61,Mx=123,Ha=63,Dx=125,lm=124,kx=126,Nx=128,cm=65533,Xu=42,Ai=43,Rx=44,Kx=58,Px=59,Ys=46,Vx=0,Gx=8,Wx=11,Jx=14,$x=31,Xx=127,Qn=-1,um=48,fm=97,dm=101,Yx=102,zx=117,qx=122,hm=65,pm=69,gm=70,Zx=85,jx=90,Ye=function(t){return t>=um&&t<=57},AH=function(t){return t>=55296&&t<=57343},Ri=function(t){return Ye(t)||t>=hm&&t<=gm||t>=fm&&t<=Yx},eH=function(t){return t>=fm&&t<=qx},tH=function(t){return t>=hm&&t<=jx},nH=function(t){return eH(t)||tH(t)},rH=function(t){return t>=Nx},La=function(t){return t===Ia||t===Ex||t===Fx},Oa=function(t){return nH(t)||rH(t)||t===Ix},Bm=function(t){return Oa(t)||Ye(t)||t===gt},iH=function(t){return t>=Vx&&t<=Gx||t===Wx||t>=Jx&&t<=$x||t===Xx},Br=function(t,A){return t!==Js?!1:A!==Ia},_a=function(t,A,e){return t===gt?Oa(A)||Br(A,e):Oa(t)?!0:!!(t===Js&&Br(t,A))},Yu=function(t,A,e){return t===Ai||t===gt?Ye(A)?!0:A===Ys&&Ye(e):Ye(t===Ys?A:t)},sH=function(t){var A=0,e=1;(t[A]===Ai||t[A]===gt)&&(t[A]===gt&&(e=-1),A++);for(var n=[];Ye(t[A]);)n.push(t[A++]);var r=n.length?parseInt(ce.apply(void 0,n),10):0;t[A]===Ys&&A++;for(var i=[];Ye(t[A]);)i.push(t[A++]);var s=i.length,a=s?parseInt(ce.apply(void 0,i),10):0;(t[A]===pm||t[A]===dm)&&A++;var c=1;(t[A]===Ai||t[A]===gt)&&(t[A]===gt&&(c=-1),A++);for(var u=[];Ye(t[A]);)u.push(t[A++]);var d=u.length?parseInt(ce.apply(void 0,u),10):0;return e*(r+a*Math.pow(10,-s))*Math.pow(10,c*d)},oH={type:2},aH={type:3},lH={type:4},cH={type:13},uH={type:8},fH={type:21},dH={type:9},hH={type:10},pH={type:11},gH={type:12},BH={type:14},Ma={type:23},mH={type:1},wH={type:25},CH={type:24},yH={type:26},QH={type:27},EH={type:28},FH={type:29},UH={type:31},zu={type:32},mm=function(){function t(){this._value=[]}return t.prototype.write=function(A){this._value=this._value.concat(ma(A))},t.prototype.read=function(){for(var A=[],e=this.consumeToken();e!==zu;)A.push(e),e=this.consumeToken();return A},t.prototype.consumeToken=function(){var A=this.consumeCodePoint();switch(A){case Sa:return this.consumeStringToken(Sa);case Ux:var e=this.peekCodePoint(0),n=this.peekCodePoint(1),r=this.peekCodePoint(2);if(Bm(e)||Br(n,r)){var i=_a(e,n,r)?Qx:yx,s=this.consumeName();return{type:5,value:s,flags:i}}break;case vx:if(this.peekCodePoint(0)===$s)return this.consumeCodePoint(),cH;break;case Ta:return this.consumeStringToken(Ta);case xa:return oH;case Xs:return aH;case Xu:if(this.peekCodePoint(0)===$s)return this.consumeCodePoint(),BH;break;case Ai:if(Yu(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case Rx:return lH;case gt:var a=A,c=this.peekCodePoint(0),u=this.peekCodePoint(1);if(Yu(a,c,u))return this.reconsumeCodePoint(A),this.consumeNumericToken();if(_a(a,c,u))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();if(c===gt&&u===xx)return this.consumeCodePoint(),this.consumeCodePoint(),CH;break;case Ys:if(Yu(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case am:if(this.peekCodePoint(0)===Xu)for(this.consumeCodePoint();;){var d=this.consumeCodePoint();if(d===Xu&&(d=this.consumeCodePoint(),d===am))return this.consumeToken();if(d===Qn)return this.consumeToken()}break;case Kx:return yH;case Px:return QH;case Tx:if(this.peekCodePoint(0)===Sx&&this.peekCodePoint(1)===gt&&this.peekCodePoint(2)===gt)return this.consumeCodePoint(),this.consumeCodePoint(),wH;break;case Hx:var h=this.peekCodePoint(0),B=this.peekCodePoint(1),m=this.peekCodePoint(2);if(_a(h,B,m)){var s=this.consumeName();return{type:7,value:s}}break;case Lx:return EH;case Js:if(Br(A,this.peekCodePoint(0)))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();break;case Ox:return FH;case _x:if(this.peekCodePoint(0)===$s)return this.consumeCodePoint(),uH;break;case Mx:return pH;case Dx:return gH;case zx:case Zx:var C=this.peekCodePoint(0),E=this.peekCodePoint(1);return C===Ai&&(Ri(E)||E===Ha)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(A),this.consumeIdentLikeToken();case lm:if(this.peekCodePoint(0)===$s)return this.consumeCodePoint(),dH;if(this.peekCodePoint(0)===lm)return this.consumeCodePoint(),fH;break;case kx:if(this.peekCodePoint(0)===$s)return this.consumeCodePoint(),hH;break;case Qn:return zu}return La(A)?(this.consumeWhiteSpace(),UH):Ye(A)?(this.reconsumeCodePoint(A),this.consumeNumericToken()):Oa(A)?(this.reconsumeCodePoint(A),this.consumeIdentLikeToken()):{type:6,value:ce(A)}},t.prototype.consumeCodePoint=function(){var A=this._value.shift();return typeof A>"u"?-1:A},t.prototype.reconsumeCodePoint=function(A){this._value.unshift(A)},t.prototype.peekCodePoint=function(A){return A>=this._value.length?-1:this._value[A]},t.prototype.consumeUnicodeRangeToken=function(){for(var A=[],e=this.consumeCodePoint();Ri(e)&&A.length<6;)A.push(e),e=this.consumeCodePoint();for(var n=!1;e===Ha&&A.length<6;)A.push(e),e=this.consumeCodePoint(),n=!0;if(n){var r=parseInt(ce.apply(void 0,A.map(function(c){return c===Ha?um:c})),16),i=parseInt(ce.apply(void 0,A.map(function(c){return c===Ha?gm:c})),16);return{type:30,start:r,end:i}}var s=parseInt(ce.apply(void 0,A),16);if(this.peekCodePoint(0)===gt&&Ri(this.peekCodePoint(1))){this.consumeCodePoint(),e=this.consumeCodePoint();for(var a=[];Ri(e)&&a.length<6;)a.push(e),e=this.consumeCodePoint();var i=parseInt(ce.apply(void 0,a),16);return{type:30,start:s,end:i}}else return{type:30,start:s,end:s}},t.prototype.consumeIdentLikeToken=function(){var A=this.consumeName();return A.toLowerCase()==="url"&&this.peekCodePoint(0)===xa?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===xa?(this.consumeCodePoint(),{type:19,value:A}):{type:20,value:A}},t.prototype.consumeUrlToken=function(){var A=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===Qn)return{type:22,value:""};var e=this.peekCodePoint(0);if(e===Ta||e===Sa){var n=this.consumeStringToken(this.consumeCodePoint());return n.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Qn||this.peekCodePoint(0)===Xs)?(this.consumeCodePoint(),{type:22,value:n.value}):(this.consumeBadUrlRemnants(),Ma)}for(;;){var r=this.consumeCodePoint();if(r===Qn||r===Xs)return{type:22,value:ce.apply(void 0,A)};if(La(r))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Qn||this.peekCodePoint(0)===Xs?(this.consumeCodePoint(),{type:22,value:ce.apply(void 0,A)}):(this.consumeBadUrlRemnants(),Ma);if(r===Sa||r===Ta||r===xa||iH(r))return this.consumeBadUrlRemnants(),Ma;if(r===Js)if(Br(r,this.peekCodePoint(0)))A.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),Ma;else A.push(r)}},t.prototype.consumeWhiteSpace=function(){for(;La(this.peekCodePoint(0));)this.consumeCodePoint()},t.prototype.consumeBadUrlRemnants=function(){for(;;){var A=this.consumeCodePoint();if(A===Xs||A===Qn)return;Br(A,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},t.prototype.consumeStringSlice=function(A){for(var e=5e4,n="";A>0;){var r=Math.min(e,A);n+=ce.apply(void 0,this._value.splice(0,r)),A-=r}return this._value.shift(),n},t.prototype.consumeStringToken=function(A){var e="",n=0;do{var r=this._value[n];if(r===Qn||r===void 0||r===A)return e+=this.consumeStringSlice(n),{type:0,value:e};if(r===Ia)return this._value.splice(0,n),mH;if(r===Js){var i=this._value[n+1];i!==Qn&&i!==void 0&&(i===Ia?(e+=this.consumeStringSlice(n),n=-1,this._value.shift()):Br(r,i)&&(e+=this.consumeStringSlice(n),e+=ce(this.consumeEscapedCodePoint()),n=-1))}n++}while(!0)},t.prototype.consumeNumber=function(){var A=[],e=Ws,n=this.peekCodePoint(0);for((n===Ai||n===gt)&&A.push(this.consumeCodePoint());Ye(this.peekCodePoint(0));)A.push(this.consumeCodePoint());n=this.peekCodePoint(0);var r=this.peekCodePoint(1);if(n===Ys&&Ye(r))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),e=om;Ye(this.peekCodePoint(0));)A.push(this.consumeCodePoint());n=this.peekCodePoint(0),r=this.peekCodePoint(1);var i=this.peekCodePoint(2);if((n===pm||n===dm)&&((r===Ai||r===gt)&&Ye(i)||Ye(r)))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),e=om;Ye(this.peekCodePoint(0));)A.push(this.consumeCodePoint());return[sH(A),e]},t.prototype.consumeNumericToken=function(){var A=this.consumeNumber(),e=A[0],n=A[1],r=this.peekCodePoint(0),i=this.peekCodePoint(1),s=this.peekCodePoint(2);if(_a(r,i,s)){var a=this.consumeName();return{type:15,number:e,flags:n,unit:a}}return r===bx?(this.consumeCodePoint(),{type:16,number:e,flags:n}):{type:17,number:e,flags:n}},t.prototype.consumeEscapedCodePoint=function(){var A=this.consumeCodePoint();if(Ri(A)){for(var e=ce(A);Ri(this.peekCodePoint(0))&&e.length<6;)e+=ce(this.consumeCodePoint());La(this.peekCodePoint(0))&&this.consumeCodePoint();var n=parseInt(e,16);return n===0||AH(n)||n>1114111?cm:n}return A===Qn?cm:A},t.prototype.consumeName=function(){for(var A="";;){var e=this.consumeCodePoint();if(Bm(e))A+=ce(e);else if(Br(e,this.peekCodePoint(0)))A+=ce(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(e),A}},t}(),wm=function(){function t(A){this._tokens=A}return t.create=function(A){var e=new mm;return e.write(A),new t(e.read())},t.parseValue=function(A){return t.create(A).parseComponentValue()},t.parseValues=function(A){return t.create(A).parseComponentValues()},t.prototype.parseComponentValue=function(){for(var A=this.consumeToken();A.type===31;)A=this.consumeToken();if(A.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(A);var e=this.consumeComponentValue();do A=this.consumeToken();while(A.type===31);if(A.type===32)return e;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},t.prototype.parseComponentValues=function(){for(var A=[];;){var e=this.consumeComponentValue();if(e.type===32)return A;A.push(e),A.push()}},t.prototype.consumeComponentValue=function(){var A=this.consumeToken();switch(A.type){case 11:case 28:case 2:return this.consumeSimpleBlock(A.type);case 19:return this.consumeFunction(A)}return A},t.prototype.consumeSimpleBlock=function(A){for(var e={type:A,values:[]},n=this.consumeToken();;){if(n.type===32||bH(n,A))return e;this.reconsumeToken(n),e.values.push(this.consumeComponentValue()),n=this.consumeToken()}},t.prototype.consumeFunction=function(A){for(var e={name:A.value,values:[],type:18};;){var n=this.consumeToken();if(n.type===32||n.type===3)return e;this.reconsumeToken(n),e.values.push(this.consumeComponentValue())}},t.prototype.consumeToken=function(){var A=this._tokens.shift();return typeof A>"u"?zu:A},t.prototype.reconsumeToken=function(A){this._tokens.unshift(A)},t}(),zs=function(t){return t.type===15},Ki=function(t){return t.type===17},GA=function(t){return t.type===20},vH=function(t){return t.type===0},qu=function(t,A){return GA(t)&&t.value===A},Cm=function(t){return t.type!==31},Pi=function(t){return t.type!==31&&t.type!==4},En=function(t){var A=[],e=[];return t.forEach(function(n){if(n.type===4){if(e.length===0)throw new Error("Error parsing function args, zero tokens for arg");A.push(e),e=[];return}n.type!==31&&e.push(n)}),e.length&&A.push(e),A},bH=function(t,A){return A===11&&t.type===12||A===28&&t.type===29?!0:A===2&&t.type===3},mr=function(t){return t.type===17||t.type===15},ge=function(t){return t.type===16||mr(t)},ym=function(t){return t.length>1?[t[0],t[1]]:[t[0]]},Me={type:17,number:0,flags:Ws},Zu={type:16,number:50,flags:Ws},wr={type:16,number:100,flags:Ws},qs=function(t,A,e){var n=t[0],r=t[1];return[YA(n,A),YA(typeof r<"u"?r:n,e)]},YA=function(t,A){if(t.type===16)return t.number/100*A;if(zs(t))switch(t.unit){case"rem":case"em":return 16*t.number;case"px":default:return t.number}return t.number},Qm="deg",Em="grad",Fm="rad",Um="turn",Da={name:"angle",parse:function(t,A){if(A.type===15)switch(A.unit){case Qm:return Math.PI*A.number/180;case Em:return Math.PI/200*A.number;case Fm:return A.number;case Um:return Math.PI*2*A.number}throw new Error("Unsupported angle type")}},vm=function(t){return t.type===15&&(t.unit===Qm||t.unit===Em||t.unit===Fm||t.unit===Um)},bm=function(t){var A=t.filter(GA).map(function(e){return e.value}).join(" ");switch(A){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Me,Me];case"to top":case"bottom":return Rt(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Me,wr];case"to right":case"left":return Rt(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[wr,wr];case"to bottom":case"top":return Rt(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[wr,Me];case"to left":case"right":return Rt(270)}return 0},Rt=function(t){return Math.PI*t/180},Cr={name:"color",parse:function(t,A){if(A.type===18){var e=IH[A.name];if(typeof e>"u")throw new Error('Attempting to parse an unsupported color function "'+A.name+'"');return e(t,A.values)}if(A.type===5){if(A.value.length===3){var n=A.value.substring(0,1),r=A.value.substring(1,2),i=A.value.substring(2,3);return Qr(parseInt(n+n,16),parseInt(r+r,16),parseInt(i+i,16),1)}if(A.value.length===4){var n=A.value.substring(0,1),r=A.value.substring(1,2),i=A.value.substring(2,3),s=A.value.substring(3,4);return Qr(parseInt(n+n,16),parseInt(r+r,16),parseInt(i+i,16),parseInt(s+s,16)/255)}if(A.value.length===6){var n=A.value.substring(0,2),r=A.value.substring(2,4),i=A.value.substring(4,6);return Qr(parseInt(n,16),parseInt(r,16),parseInt(i,16),1)}if(A.value.length===8){var n=A.value.substring(0,2),r=A.value.substring(2,4),i=A.value.substring(4,6),s=A.value.substring(6,8);return Qr(parseInt(n,16),parseInt(r,16),parseInt(i,16),parseInt(s,16)/255)}}if(A.type===20){var a=Nn[A.value.toUpperCase()];if(typeof a<"u")return a}return Nn.TRANSPARENT}},yr=function(t){return(255&t)===0},Se=function(t){var A=255&t,e=255&t>>8,n=255&t>>16,r=255&t>>24;return A<255?"rgba("+r+","+n+","+e+","+A/255+")":"rgb("+r+","+n+","+e+")"},Qr=function(t,A,e,n){return(t<<24|A<<16|e<<8|Math.round(n*255)<<0)>>>0},Im=function(t,A){if(t.type===17)return t.number;if(t.type===16){var e=A===3?1:255;return A===3?t.number/100*e:Math.round(t.number/100*e)}return 0},Sm=function(t,A){var e=A.filter(Pi);if(e.length===3){var n=e.map(Im),r=n[0],i=n[1],s=n[2];return Qr(r,i,s,1)}if(e.length===4){var a=e.map(Im),r=a[0],i=a[1],s=a[2],c=a[3];return Qr(r,i,s,c)}return 0};function ju(t,A,e){return e<0&&(e+=1),e>=1&&(e-=1),e<1/6?(A-t)*e*6+t:e<1/2?A:e<2/3?(A-t)*6*(2/3-e)+t:t}var Tm=function(t,A){var e=A.filter(Pi),n=e[0],r=e[1],i=e[2],s=e[3],a=(n.type===17?Rt(n.number):Da.parse(t,n))/(Math.PI*2),c=ge(r)?r.number/100:0,u=ge(i)?i.number/100:0,d=typeof s<"u"&&ge(s)?YA(s,1):1;if(c===0)return Qr(u*255,u*255,u*255,1);var h=u<=.5?u*(c+1):u+c-u*c,B=u*2-h,m=ju(B,h,a+1/3),C=ju(B,h,a),E=ju(B,h,a-1/3);return Qr(m*255,C*255,E*255,d)},IH={hsl:Tm,hsla:Tm,rgb:Sm,rgba:Sm},Zs=function(t,A){return Cr.parse(t,wm.create(A).parseComponentValue())},Nn={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},SH={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(t,A){return A.map(function(e){if(GA(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},TH={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},ka=function(t,A){var e=Cr.parse(t,A[0]),n=A[1];return n&&ge(n)?{color:e,stop:n}:{color:e,stop:null}},xm=function(t,A){var e=t[0],n=t[t.length-1];e.stop===null&&(e.stop=Me),n.stop===null&&(n.stop=wr);for(var r=[],i=0,s=0;s<t.length;s++){var a=t[s].stop;if(a!==null){var c=YA(a,A);c>i?r.push(c):r.push(i),i=c}else r.push(null)}for(var u=null,s=0;s<r.length;s++){var d=r[s];if(d===null)u===null&&(u=s);else if(u!==null){for(var h=s-u,B=r[u-1],m=(d-B)/(h+1),C=1;C<=h;C++)r[u+C-1]=m*C;u=null}}return t.map(function(E,S){var U=E.color;return{color:U,stop:Math.max(Math.min(1,r[S]/A),0)}})},xH=function(t,A,e){var n=A/2,r=e/2,i=YA(t[0],A)-n,s=r-YA(t[1],e);return(Math.atan2(s,i)+Math.PI*2)%(Math.PI*2)},HH=function(t,A,e){var n=typeof t=="number"?t:xH(t,A,e),r=Math.abs(A*Math.sin(n))+Math.abs(e*Math.cos(n)),i=A/2,s=e/2,a=r/2,c=Math.sin(n-Math.PI/2)*a,u=Math.cos(n-Math.PI/2)*a;return[r,i-u,i+u,s-c,s+c]},on=function(t,A){return Math.sqrt(t*t+A*A)},Hm=function(t,A,e,n,r){var i=[[0,0],[0,A],[t,0],[t,A]];return i.reduce(function(s,a){var c=a[0],u=a[1],d=on(e-c,n-u);return(r?d<s.optimumDistance:d>s.optimumDistance)?{optimumCorner:a,optimumDistance:d}:s},{optimumDistance:r?1/0:-1/0,optimumCorner:null}).optimumCorner},LH=function(t,A,e,n,r){var i=0,s=0;switch(t.size){case 0:t.shape===0?i=s=Math.min(Math.abs(A),Math.abs(A-n),Math.abs(e),Math.abs(e-r)):t.shape===1&&(i=Math.min(Math.abs(A),Math.abs(A-n)),s=Math.min(Math.abs(e),Math.abs(e-r)));break;case 2:if(t.shape===0)i=s=Math.min(on(A,e),on(A,e-r),on(A-n,e),on(A-n,e-r));else if(t.shape===1){var a=Math.min(Math.abs(e),Math.abs(e-r))/Math.min(Math.abs(A),Math.abs(A-n)),c=Hm(n,r,A,e,!0),u=c[0],d=c[1];i=on(u-A,(d-e)/a),s=a*i}break;case 1:t.shape===0?i=s=Math.max(Math.abs(A),Math.abs(A-n),Math.abs(e),Math.abs(e-r)):t.shape===1&&(i=Math.max(Math.abs(A),Math.abs(A-n)),s=Math.max(Math.abs(e),Math.abs(e-r)));break;case 3:if(t.shape===0)i=s=Math.max(on(A,e),on(A,e-r),on(A-n,e),on(A-n,e-r));else if(t.shape===1){var a=Math.max(Math.abs(e),Math.abs(e-r))/Math.max(Math.abs(A),Math.abs(A-n)),h=Hm(n,r,A,e,!1),u=h[0],d=h[1];i=on(u-A,(d-e)/a),s=a*i}break}return Array.isArray(t.size)&&(i=YA(t.size[0],n),s=t.size.length===2?YA(t.size[1],r):i),[i,s]},OH=function(t,A){var e=Rt(180),n=[];return En(A).forEach(function(r,i){if(i===0){var s=r[0];if(s.type===20&&s.value==="to"){e=bm(r);return}else if(vm(s)){e=Da.parse(t,s);return}}var a=ka(t,r);n.push(a)}),{angle:e,stops:n,type:1}},Na=function(t,A){var e=Rt(180),n=[];return En(A).forEach(function(r,i){if(i===0){var s=r[0];if(s.type===20&&["top","left","right","bottom"].indexOf(s.value)!==-1){e=bm(r);return}else if(vm(s)){e=(Da.parse(t,s)+Rt(270))%Rt(360);return}}var a=ka(t,r);n.push(a)}),{angle:e,stops:n,type:1}},_H=function(t,A){var e=Rt(180),n=[],r=1,i=0,s=3,a=[];return En(A).forEach(function(c,u){var d=c[0];if(u===0){if(GA(d)&&d.value==="linear"){r=1;return}else if(GA(d)&&d.value==="radial"){r=2;return}}if(d.type===18){if(d.name==="from"){var h=Cr.parse(t,d.values[0]);n.push({stop:Me,color:h})}else if(d.name==="to"){var h=Cr.parse(t,d.values[0]);n.push({stop:wr,color:h})}else if(d.name==="color-stop"){var B=d.values.filter(Pi);if(B.length===2){var h=Cr.parse(t,B[1]),m=B[0];Ki(m)&&n.push({stop:{type:16,number:m.number*100,flags:m.flags},color:h})}}}}),r===1?{angle:(e+Rt(180))%Rt(360),stops:n,type:r}:{size:s,shape:i,stops:n,position:a,type:r}},Lm="closest-side",Om="farthest-side",_m="closest-corner",Mm="farthest-corner",Dm="circle",km="ellipse",Nm="cover",Rm="contain",MH=function(t,A){var e=0,n=3,r=[],i=[];return En(A).forEach(function(s,a){var c=!0;if(a===0){var u=!1;c=s.reduce(function(h,B){if(u)if(GA(B))switch(B.value){case"center":return i.push(Zu),h;case"top":case"left":return i.push(Me),h;case"right":case"bottom":return i.push(wr),h}else(ge(B)||mr(B))&&i.push(B);else if(GA(B))switch(B.value){case Dm:return e=0,!1;case km:return e=1,!1;case"at":return u=!0,!1;case Lm:return n=0,!1;case Nm:case Om:return n=1,!1;case Rm:case _m:return n=2,!1;case Mm:return n=3,!1}else if(mr(B)||ge(B))return Array.isArray(n)||(n=[]),n.push(B),!1;return h},c)}if(c){var d=ka(t,s);r.push(d)}}),{size:n,shape:e,stops:r,position:i,type:2}},Ra=function(t,A){var e=0,n=3,r=[],i=[];return En(A).forEach(function(s,a){var c=!0;if(a===0?c=s.reduce(function(d,h){if(GA(h))switch(h.value){case"center":return i.push(Zu),!1;case"top":case"left":return i.push(Me),!1;case"right":case"bottom":return i.push(wr),!1}else if(ge(h)||mr(h))return i.push(h),!1;return d},c):a===1&&(c=s.reduce(function(d,h){if(GA(h))switch(h.value){case Dm:return e=0,!1;case km:return e=1,!1;case Rm:case Lm:return n=0,!1;case Om:return n=1,!1;case _m:return n=2,!1;case Nm:case Mm:return n=3,!1}else if(mr(h)||ge(h))return Array.isArray(n)||(n=[]),n.push(h),!1;return d},c)),c){var u=ka(t,s);r.push(u)}}),{size:n,shape:e,stops:r,position:i,type:2}},DH=function(t){return t.type===1},kH=function(t){return t.type===2},Af={name:"image",parse:function(t,A){if(A.type===22){var e={url:A.value,type:0};return t.cache.addImage(A.value),e}if(A.type===18){var n=Km[A.name];if(typeof n>"u")throw new Error('Attempting to parse an unsupported image function "'+A.name+'"');return n(t,A.values)}throw new Error("Unsupported image type "+A.type)}};function NH(t){return!(t.type===20&&t.value==="none")&&(t.type!==18||!!Km[t.name])}var Km={"linear-gradient":OH,"-moz-linear-gradient":Na,"-ms-linear-gradient":Na,"-o-linear-gradient":Na,"-webkit-linear-gradient":Na,"radial-gradient":MH,"-moz-radial-gradient":Ra,"-ms-radial-gradient":Ra,"-o-radial-gradient":Ra,"-webkit-radial-gradient":Ra,"-webkit-gradient":_H},RH={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(t,A){if(A.length===0)return[];var e=A[0];return e.type===20&&e.value==="none"?[]:A.filter(function(n){return Pi(n)&&NH(n)}).map(function(n){return Af.parse(t,n)})}},KH={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(t,A){return A.map(function(e){if(GA(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},PH={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(t,A){return En(A).map(function(e){return e.filter(ge)}).map(ym)}},VH={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(t,A){return En(A).map(function(e){return e.filter(GA).map(function(n){return n.value}).join(" ")}).map(GH)}},GH=function(t){switch(t){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}},Vi;(function(t){t.AUTO="auto",t.CONTAIN="contain",t.COVER="cover"})(Vi||(Vi={}));var WH={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(t,A){return En(A).map(function(e){return e.filter(JH)})}},JH=function(t){return GA(t)||ge(t)},Ka=function(t){return{name:"border-"+t+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},$H=Ka("top"),XH=Ka("right"),YH=Ka("bottom"),zH=Ka("left"),Pa=function(t){return{name:"border-radius-"+t,initialValue:"0 0",prefix:!1,type:1,parse:function(A,e){return ym(e.filter(ge))}}},qH=Pa("top-left"),ZH=Pa("top-right"),jH=Pa("bottom-right"),AL=Pa("bottom-left"),Va=function(t){return{name:"border-"+t+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(A,e){switch(e){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},eL=Va("top"),tL=Va("right"),nL=Va("bottom"),rL=Va("left"),Ga=function(t){return{name:"border-"+t+"-width",initialValue:"0",type:0,prefix:!1,parse:function(A,e){return zs(e)?e.number:0}}},iL=Ga("top"),sL=Ga("right"),oL=Ga("bottom"),aL=Ga("left"),lL={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},cL={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(t,A){switch(A){case"rtl":return 1;case"ltr":default:return 0}}},uL={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(t,A){return A.filter(GA).reduce(function(e,n){return e|fL(n.value)},0)}},fL=function(t){switch(t){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},dL={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(t,A){switch(A){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},hL={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(t,A){return A.type===20&&A.value==="normal"?0:A.type===17||A.type===15?A.number:0}},Wa;(function(t){t.NORMAL="normal",t.STRICT="strict"})(Wa||(Wa={}));var pL={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(t,A){switch(A){case"strict":return Wa.STRICT;case"normal":default:return Wa.NORMAL}}},gL={name:"line-height",initialValue:"normal",prefix:!1,type:4},Pm=function(t,A){return GA(t)&&t.value==="normal"?1.2*A:t.type===17?A*t.number:ge(t)?YA(t,A):A},BL={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(t,A){return A.type===20&&A.value==="none"?null:Af.parse(t,A)}},mL={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(t,A){switch(A){case"inside":return 0;case"outside":default:return 1}}},ef={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(t,A){switch(A){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},Ja=function(t){return{name:"margin-"+t,initialValue:"0",prefix:!1,type:4}},wL=Ja("top"),CL=Ja("right"),yL=Ja("bottom"),QL=Ja("left"),EL={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(t,A){return A.filter(GA).map(function(e){switch(e.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},FL={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(t,A){switch(A){case"break-word":return"break-word";case"normal":default:return"normal"}}},$a=function(t){return{name:"padding-"+t,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},UL=$a("top"),vL=$a("right"),bL=$a("bottom"),IL=$a("left"),SL={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(t,A){switch(A){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},TL={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(t,A){switch(A){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},xL={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(t,A){return A.length===1&&qu(A[0],"none")?[]:En(A).map(function(e){for(var n={color:Nn.TRANSPARENT,offsetX:Me,offsetY:Me,blur:Me},r=0,i=0;i<e.length;i++){var s=e[i];mr(s)?(r===0?n.offsetX=s:r===1?n.offsetY=s:n.blur=s,r++):n.color=Cr.parse(t,s)}return n})}},HL={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(t,A){switch(A){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},LL={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(t,A){if(A.type===20&&A.value==="none")return null;if(A.type===18){var e=ML[A.name];if(typeof e>"u")throw new Error('Attempting to parse an unsupported transform function "'+A.name+'"');return e(A.values)}return null}},OL=function(t){var A=t.filter(function(e){return e.type===17}).map(function(e){return e.number});return A.length===6?A:null},_L=function(t){var A=t.filter(function(c){return c.type===17}).map(function(c){return c.number}),e=A[0],n=A[1];A[2],A[3];var r=A[4],i=A[5];A[6],A[7],A[8],A[9],A[10],A[11];var s=A[12],a=A[13];return A[14],A[15],A.length===16?[e,n,r,i,s,a]:null},ML={matrix:OL,matrix3d:_L},Vm={type:16,number:50,flags:Ws},DL=[Vm,Vm],kL={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(t,A){var e=A.filter(ge);return e.length!==2?DL:[e[0],e[1]]}},NL={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(t,A){switch(A){case"hidden":return 1;case"collapse":return 2;case"visible":default:return 0}}},js;(function(t){t.NORMAL="normal",t.BREAK_ALL="break-all",t.KEEP_ALL="keep-all"})(js||(js={}));for(var RL={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(t,A){switch(A){case"break-all":return js.BREAK_ALL;case"keep-all":return js.KEEP_ALL;case"normal":default:return js.NORMAL}}},KL={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(t,A){if(A.type===20)return{auto:!0,order:0};if(Ki(A))return{auto:!1,order:A.number};throw new Error("Invalid z-index number parsed")}},Gm={name:"time",parse:function(t,A){if(A.type===15)switch(A.unit.toLowerCase()){case"s":return 1e3*A.number;case"ms":return A.number}throw new Error("Unsupported time type")}},PL={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(t,A){return Ki(A)?A.number:1}},VL={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},GL={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(t,A){return A.filter(GA).map(function(e){switch(e.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(e){return e!==0})}},WL={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(t,A){var e=[],n=[];return A.forEach(function(r){switch(r.type){case 20:case 0:e.push(r.value);break;case 17:e.push(r.number.toString());break;case 4:n.push(e.join(" ")),e.length=0;break}}),e.length&&n.push(e.join(" ")),n.map(function(r){return r.indexOf(" ")===-1?r:"'"+r+"'"})}},JL={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},$L={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(t,A){if(Ki(A))return A.number;if(GA(A))switch(A.value){case"bold":return 700;case"normal":default:return 400}return 400}},XL={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(t,A){return A.filter(GA).map(function(e){return e.value})}},YL={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(t,A){switch(A){case"oblique":return"oblique";case"italic":return"italic";case"normal":default:return"normal"}}},Ee=function(t,A){return(t&A)!==0},zL={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(t,A){if(A.length===0)return[];var e=A[0];return e.type===20&&e.value==="none"?[]:A}},qL={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(t,A){if(A.length===0)return null;var e=A[0];if(e.type===20&&e.value==="none")return null;for(var n=[],r=A.filter(Cm),i=0;i<r.length;i++){var s=r[i],a=r[i+1];if(s.type===20){var c=a&&Ki(a)?a.number:1;n.push({counter:s.value,increment:c})}}return n}},ZL={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(t,A){if(A.length===0)return[];for(var e=[],n=A.filter(Cm),r=0;r<n.length;r++){var i=n[r],s=n[r+1];if(GA(i)&&i.value!=="none"){var a=s&&Ki(s)?s.number:0;e.push({counter:i.value,reset:a})}}return e}},jL={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(t,A){return A.filter(zs).map(function(e){return Gm.parse(t,e)})}},AO={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(t,A){if(A.length===0)return null;var e=A[0];if(e.type===20&&e.value==="none")return null;var n=[],r=A.filter(vH);if(r.length%2!==0)return null;for(var i=0;i<r.length;i+=2){var s=r[i].value,a=r[i+1].value;n.push({open:s,close:a})}return n}},Wm=function(t,A,e){if(!t)return"";var n=t[Math.min(A,t.length-1)];return n?e?n.open:n.close:""},eO={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(t,A){return A.length===1&&qu(A[0],"none")?[]:En(A).map(function(e){for(var n={color:255,offsetX:Me,offsetY:Me,blur:Me,spread:Me,inset:!1},r=0,i=0;i<e.length;i++){var s=e[i];qu(s,"inset")?n.inset=!0:mr(s)?(r===0?n.offsetX=s:r===1?n.offsetY=s:r===2?n.blur=s:n.spread=s,r++):n.color=Cr.parse(t,s)}return n})}},tO={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(t,A){var e=[0,1,2],n=[];return A.filter(GA).forEach(function(r){switch(r.value){case"stroke":n.push(1);break;case"fill":n.push(0);break;case"markers":n.push(2);break}}),e.forEach(function(r){n.indexOf(r)===-1&&n.push(r)}),n}},nO={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},rO={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(t,A){return zs(A)?A.number:0}},iO=function(){function t(A,e){var n,r;this.animationDuration=AA(A,jL,e.animationDuration),this.backgroundClip=AA(A,SH,e.backgroundClip),this.backgroundColor=AA(A,TH,e.backgroundColor),this.backgroundImage=AA(A,RH,e.backgroundImage),this.backgroundOrigin=AA(A,KH,e.backgroundOrigin),this.backgroundPosition=AA(A,PH,e.backgroundPosition),this.backgroundRepeat=AA(A,VH,e.backgroundRepeat),this.backgroundSize=AA(A,WH,e.backgroundSize),this.borderTopColor=AA(A,$H,e.borderTopColor),this.borderRightColor=AA(A,XH,e.borderRightColor),this.borderBottomColor=AA(A,YH,e.borderBottomColor),this.borderLeftColor=AA(A,zH,e.borderLeftColor),this.borderTopLeftRadius=AA(A,qH,e.borderTopLeftRadius),this.borderTopRightRadius=AA(A,ZH,e.borderTopRightRadius),this.borderBottomRightRadius=AA(A,jH,e.borderBottomRightRadius),this.borderBottomLeftRadius=AA(A,AL,e.borderBottomLeftRadius),this.borderTopStyle=AA(A,eL,e.borderTopStyle),this.borderRightStyle=AA(A,tL,e.borderRightStyle),this.borderBottomStyle=AA(A,nL,e.borderBottomStyle),this.borderLeftStyle=AA(A,rL,e.borderLeftStyle),this.borderTopWidth=AA(A,iL,e.borderTopWidth),this.borderRightWidth=AA(A,sL,e.borderRightWidth),this.borderBottomWidth=AA(A,oL,e.borderBottomWidth),this.borderLeftWidth=AA(A,aL,e.borderLeftWidth),this.boxShadow=AA(A,eO,e.boxShadow),this.color=AA(A,lL,e.color),this.direction=AA(A,cL,e.direction),this.display=AA(A,uL,e.display),this.float=AA(A,dL,e.cssFloat),this.fontFamily=AA(A,WL,e.fontFamily),this.fontSize=AA(A,JL,e.fontSize),this.fontStyle=AA(A,YL,e.fontStyle),this.fontVariant=AA(A,XL,e.fontVariant),this.fontWeight=AA(A,$L,e.fontWeight),this.letterSpacing=AA(A,hL,e.letterSpacing),this.lineBreak=AA(A,pL,e.lineBreak),this.lineHeight=AA(A,gL,e.lineHeight),this.listStyleImage=AA(A,BL,e.listStyleImage),this.listStylePosition=AA(A,mL,e.listStylePosition),this.listStyleType=AA(A,ef,e.listStyleType),this.marginTop=AA(A,wL,e.marginTop),this.marginRight=AA(A,CL,e.marginRight),this.marginBottom=AA(A,yL,e.marginBottom),this.marginLeft=AA(A,QL,e.marginLeft),this.opacity=AA(A,PL,e.opacity);var i=AA(A,EL,e.overflow);this.overflowX=i[0],this.overflowY=i[i.length>1?1:0],this.overflowWrap=AA(A,FL,e.overflowWrap),this.paddingTop=AA(A,UL,e.paddingTop),this.paddingRight=AA(A,vL,e.paddingRight),this.paddingBottom=AA(A,bL,e.paddingBottom),this.paddingLeft=AA(A,IL,e.paddingLeft),this.paintOrder=AA(A,tO,e.paintOrder),this.position=AA(A,TL,e.position),this.textAlign=AA(A,SL,e.textAlign),this.textDecorationColor=AA(A,VL,(n=e.textDecorationColor)!==null&&n!==void 0?n:e.color),this.textDecorationLine=AA(A,GL,(r=e.textDecorationLine)!==null&&r!==void 0?r:e.textDecoration),this.textShadow=AA(A,xL,e.textShadow),this.textTransform=AA(A,HL,e.textTransform),this.transform=AA(A,LL,e.transform),this.transformOrigin=AA(A,kL,e.transformOrigin),this.visibility=AA(A,NL,e.visibility),this.webkitTextStrokeColor=AA(A,nO,e.webkitTextStrokeColor),this.webkitTextStrokeWidth=AA(A,rO,e.webkitTextStrokeWidth),this.wordBreak=AA(A,RL,e.wordBreak),this.zIndex=AA(A,KL,e.zIndex)}return t.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},t.prototype.isTransparent=function(){return yr(this.backgroundColor)},t.prototype.isTransformed=function(){return this.transform!==null},t.prototype.isPositioned=function(){return this.position!==0},t.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},t.prototype.isFloating=function(){return this.float!==0},t.prototype.isInlineLevel=function(){return Ee(this.display,4)||Ee(this.display,33554432)||Ee(this.display,268435456)||Ee(this.display,536870912)||Ee(this.display,67108864)||Ee(this.display,134217728)},t}(),sO=function(){function t(A,e){this.content=AA(A,zL,e.content),this.quotes=AA(A,AO,e.quotes)}return t}(),Jm=function(){function t(A,e){this.counterIncrement=AA(A,qL,e.counterIncrement),this.counterReset=AA(A,ZL,e.counterReset)}return t}(),AA=function(t,A,e){var n=new mm,r=e!==null&&typeof e<"u"?e.toString():A.initialValue;n.write(r);var i=new wm(n.read());switch(A.type){case 2:var s=i.parseComponentValue();return A.parse(t,GA(s)?s.value:A.initialValue);case 0:return A.parse(t,i.parseComponentValue());case 1:return A.parse(t,i.parseComponentValues());case 4:return i.parseComponentValue();case 3:switch(A.format){case"angle":return Da.parse(t,i.parseComponentValue());case"color":return Cr.parse(t,i.parseComponentValue());case"image":return Af.parse(t,i.parseComponentValue());case"length":var a=i.parseComponentValue();return mr(a)?a:Me;case"length-percentage":var c=i.parseComponentValue();return ge(c)?c:Me;case"time":return Gm.parse(t,i.parseComponentValue())}break}},oO="data-html2canvas-debug",aO=function(t){var A=t.getAttribute(oO);switch(A){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},tf=function(t,A){var e=aO(t);return e===1||A===e},Fn=function(){function t(A,e){if(this.context=A,this.textNodes=[],this.elements=[],this.flags=0,tf(e,3))debugger;this.styles=new iO(A,window.getComputedStyle(e,null)),Bf(e)&&(this.styles.animationDuration.some(function(n){return n>0})&&(e.style.animationDuration="0s"),this.styles.transform!==null&&(e.style.transform="none")),this.bounds=Ba(this.context,e),tf(e,4)&&(this.flags|=16)}return t}(),lO="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACA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FNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIA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BlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4G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AAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",$m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ao=typeof Uint8Array>"u"?[]:new Uint8Array(256),Xa=0;Xa<$m.length;Xa++)Ao[$m.charCodeAt(Xa)]=Xa;for(var cO=function(t){var A=t.length*.75,e=t.length,n,r=0,i,s,a,c;t[t.length-1]==="="&&(A--,t[t.length-2]==="="&&A--);var u=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(A):new Array(A),d=Array.isArray(u)?u:new Uint8Array(u);for(n=0;n<e;n+=4)i=Ao[t.charCodeAt(n)],s=Ao[t.charCodeAt(n+1)],a=Ao[t.charCodeAt(n+2)],c=Ao[t.charCodeAt(n+3)],d[r++]=i<<2|s>>4,d[r++]=(s&15)<<4|a>>2,d[r++]=(a&3)<<6|c&63;return u},uO=function(t){for(var A=t.length,e=[],n=0;n<A;n+=2)e.push(t[n+1]<<8|t[n]);return e},fO=function(t){for(var A=t.length,e=[],n=0;n<A;n+=4)e.push(t[n+3]<<24|t[n+2]<<16|t[n+1]<<8|t[n]);return e},ei=5,nf=6+5,rf=2,dO=nf-ei,Xm=65536>>ei,hO=1<<ei,sf=hO-1,pO=1024>>ei,gO=Xm+pO,BO=gO,mO=32,wO=BO+mO,CO=65536>>nf,yO=1<<dO,QO=yO-1,Ym=function(t,A,e){return t.slice?t.slice(A,e):new Uint16Array(Array.prototype.slice.call(t,A,e))},EO=function(t,A,e){return t.slice?t.slice(A,e):new Uint32Array(Array.prototype.slice.call(t,A,e))},FO=function(t,A){var e=cO(t),n=Array.isArray(e)?fO(e):new Uint32Array(e),r=Array.isArray(e)?uO(e):new Uint16Array(e),i=24,s=Ym(r,i/2,n[4]/2),a=n[5]===2?Ym(r,(i+n[4])/2):EO(n,Math.ceil((i+n[4])/4));return new UO(n[0],n[1],n[2],n[3],s,a)},UO=function(){function t(A,e,n,r,i,s){this.initialValue=A,this.errorValue=e,this.highStart=n,this.highValueIndex=r,this.index=i,this.data=s}return t.prototype.get=function(A){var e;if(A>=0){if(A<55296||A>56319&&A<=65535)return e=this.index[A>>ei],e=(e<<rf)+(A&sf),this.data[e];if(A<=65535)return e=this.index[Xm+(A-55296>>ei)],e=(e<<rf)+(A&sf),this.data[e];if(A<this.highStart)return e=wO-CO+(A>>nf),e=this.index[e],e+=A>>ei&QO,e=this.index[e],e=(e<<rf)+(A&sf),this.data[e];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},t}(),zm="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",vO=typeof Uint8Array>"u"?[]:new Uint8Array(256),Ya=0;Ya<zm.length;Ya++)vO[zm.charCodeAt(Ya)]=Ya;var bO=1,of=2,af=3,qm=4,Zm=5,IO=7,jm=8,lf=9,cf=10,Aw=11,ew=12,tw=13,nw=14,uf=15,SO=function(t){for(var A=[],e=0,n=t.length;e<n;){var r=t.charCodeAt(e++);if(r>=55296&&r<=56319&&e<n){var i=t.charCodeAt(e++);(i&64512)===56320?A.push(((r&1023)<<10)+(i&1023)+65536):(A.push(r),e--)}else A.push(r)}return A},TO=function(){for(var t=[],A=0;A<arguments.length;A++)t[A]=arguments[A];if(String.fromCodePoint)return String.fromCodePoint.apply(String,t);var e=t.length;if(!e)return"";for(var n=[],r=-1,i="";++r<e;){var s=t[r];s<=65535?n.push(s):(s-=65536,n.push((s>>10)+55296,s%1024+56320)),(r+1===e||n.length>16384)&&(i+=String.fromCharCode.apply(String,n),n.length=0)}return i},xO=FO(lO),Kt="×",ff="÷",HO=function(t){return xO.get(t)},LO=function(t,A,e){var n=e-2,r=A[n],i=A[e-1],s=A[e];if(i===of&&s===af)return Kt;if(i===of||i===af||i===qm||s===of||s===af||s===qm)return ff;if(i===jm&&[jm,lf,Aw,ew].indexOf(s)!==-1||(i===Aw||i===lf)&&(s===lf||s===cf)||(i===ew||i===cf)&&s===cf||s===tw||s===Zm||s===IO||i===bO)return Kt;if(i===tw&&s===nw){for(;r===Zm;)r=A[--n];if(r===nw)return Kt}if(i===uf&&s===uf){for(var a=0;r===uf;)a++,r=A[--n];if(a%2===0)return Kt}return ff},OO=function(t){var A=SO(t),e=A.length,n=0,r=0,i=A.map(HO);return{next:function(){if(n>=e)return{done:!0,value:null};for(var s=Kt;n<e&&(s=LO(A,i,++n))===Kt;);if(s!==Kt||n===e){var a=TO.apply(null,A.slice(r,n));return r=n,{value:a,done:!1}}return{done:!0,value:null}}}},_O=function(t){for(var A=OO(t),e=[],n;!(n=A.next()).done;)n.value&&e.push(n.value.slice());return e},MO=function(t){var A=123;if(t.createRange){var e=t.createRange();if(e.getBoundingClientRect){var n=t.createElement("boundtest");n.style.height=A+"px",n.style.display="block",t.body.appendChild(n),e.selectNode(n);var r=e.getBoundingClientRect(),i=Math.round(r.height);if(t.body.removeChild(n),i===A)return!0}}return!1},DO=function(t){var A=t.createElement("boundtest");A.style.width="50px",A.style.display="block",A.style.fontSize="12px",A.style.letterSpacing="0px",A.style.wordSpacing="0px",t.body.appendChild(A);var e=t.createRange();A.innerHTML=typeof"".repeat=="function"?"&#128104;".repeat(10):"";var n=A.firstChild,r=ma(n.data).map(function(c){return ce(c)}),i=0,s={},a=r.every(function(c,u){e.setStart(n,i),e.setEnd(n,i+c.length);var d=e.getBoundingClientRect();i+=c.length;var h=d.x>s.x||d.y>s.y;return s=d,u===0?!0:h});return t.body.removeChild(A),a},kO=function(){return typeof new Image().crossOrigin<"u"},NO=function(){return typeof new XMLHttpRequest().responseType=="string"},RO=function(t){var A=new Image,e=t.createElement("canvas"),n=e.getContext("2d");if(!n)return!1;A.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{n.drawImage(A,0,0),e.toDataURL()}catch{return!1}return!0},rw=function(t){return t[0]===0&&t[1]===255&&t[2]===0&&t[3]===255},KO=function(t){var A=t.createElement("canvas"),e=100;A.width=e,A.height=e;var n=A.getContext("2d");if(!n)return Promise.reject(!1);n.fillStyle="rgb(0, 255, 0)",n.fillRect(0,0,e,e);var r=new Image,i=A.toDataURL();r.src=i;var s=df(e,e,0,0,r);return n.fillStyle="red",n.fillRect(0,0,e,e),iw(s).then(function(a){n.drawImage(a,0,0);var c=n.getImageData(0,0,e,e).data;n.fillStyle="red",n.fillRect(0,0,e,e);var u=t.createElement("div");return u.style.backgroundImage="url("+i+")",u.style.height=e+"px",rw(c)?iw(df(e,e,0,0,u)):Promise.reject(!1)}).then(function(a){return n.drawImage(a,0,0),rw(n.getImageData(0,0,e,e).data)}).catch(function(){return!1})},df=function(t,A,e,n,r){var i="http://www.w3.org/2000/svg",s=document.createElementNS(i,"svg"),a=document.createElementNS(i,"foreignObject");return s.setAttributeNS(null,"width",t.toString()),s.setAttributeNS(null,"height",A.toString()),a.setAttributeNS(null,"width","100%"),a.setAttributeNS(null,"height","100%"),a.setAttributeNS(null,"x",e.toString()),a.setAttributeNS(null,"y",n.toString()),a.setAttributeNS(null,"externalResourcesRequired","true"),s.appendChild(a),a.appendChild(r),s},iw=function(t){return new Promise(function(A,e){var n=new Image;n.onload=function(){return A(n)},n.onerror=e,n.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(t))})},De={get SUPPORT_RANGE_BOUNDS(){var t=MO(document);return Object.defineProperty(De,"SUPPORT_RANGE_BOUNDS",{value:t}),t},get SUPPORT_WORD_BREAKING(){var t=De.SUPPORT_RANGE_BOUNDS&&DO(document);return Object.defineProperty(De,"SUPPORT_WORD_BREAKING",{value:t}),t},get SUPPORT_SVG_DRAWING(){var t=RO(document);return Object.defineProperty(De,"SUPPORT_SVG_DRAWING",{value:t}),t},get SUPPORT_FOREIGNOBJECT_DRAWING(){var t=typeof Array.from=="function"&&typeof window.fetch=="function"?KO(document):Promise.resolve(!1);return Object.defineProperty(De,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:t}),t},get SUPPORT_CORS_IMAGES(){var t=kO();return Object.defineProperty(De,"SUPPORT_CORS_IMAGES",{value:t}),t},get SUPPORT_RESPONSE_TYPE(){var t=NO();return Object.defineProperty(De,"SUPPORT_RESPONSE_TYPE",{value:t}),t},get SUPPORT_CORS_XHR(){var t="withCredentials"in new XMLHttpRequest;return Object.defineProperty(De,"SUPPORT_CORS_XHR",{value:t}),t},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var t=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(De,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:t}),t}},eo=function(){function t(A,e){this.text=A,this.bounds=e}return t}(),PO=function(t,A,e,n){var r=WO(A,e),i=[],s=0;return r.forEach(function(a){if(e.textDecorationLine.length||a.trim().length>0)if(De.SUPPORT_RANGE_BOUNDS){var c=sw(n,s,a.length).getClientRects();if(c.length>1){var u=hf(a),d=0;u.forEach(function(B){i.push(new eo(B,Dn.fromDOMRectList(t,sw(n,d+s,B.length).getClientRects()))),d+=B.length})}else i.push(new eo(a,Dn.fromDOMRectList(t,c)))}else{var h=n.splitText(a.length);i.push(new eo(a,VO(t,n))),n=h}else De.SUPPORT_RANGE_BOUNDS||(n=n.splitText(a.length));s+=a.length}),i},VO=function(t,A){var e=A.ownerDocument;if(e){var n=e.createElement("html2canvaswrapper");n.appendChild(A.cloneNode(!0));var r=A.parentNode;if(r){r.replaceChild(n,A);var i=Ba(t,n);return n.firstChild&&r.replaceChild(n.firstChild,n),i}}return Dn.EMPTY},sw=function(t,A,e){var n=t.ownerDocument;if(!n)throw new Error("Node has no owner document");var r=n.createRange();return r.setStart(t,A),r.setEnd(t,A+e),r},hf=function(t){if(De.SUPPORT_NATIVE_TEXT_SEGMENTATION){var A=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(A.segment(t)).map(function(e){return e.segment})}return _O(t)},GO=function(t,A){if(De.SUPPORT_NATIVE_TEXT_SEGMENTATION){var e=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(e.segment(t)).map(function(n){return n.segment})}return $O(t,A)},WO=function(t,A){return A.letterSpacing!==0?hf(t):GO(t,A)},JO=[32,160,4961,65792,65793,4153,4241],$O=function(t,A){for(var e=Cx(t,{lineBreak:A.lineBreak,wordBreak:A.overflowWrap==="break-word"?"break-word":A.wordBreak}),n=[],r,i=function(){if(r.value){var s=r.value.slice(),a=ma(s),c="";a.forEach(function(u){JO.indexOf(u)===-1?c+=ce(u):(c.length&&n.push(c),n.push(ce(u)),c="")}),c.length&&n.push(c)}};!(r=e.next()).done;)i();return n},XO=function(){function t(A,e,n){this.text=YO(e.data,n.textTransform),this.textBounds=PO(A,this.text,n,e)}return t}(),YO=function(t,A){switch(A){case 1:return t.toLowerCase();case 3:return t.replace(zO,qO);case 2:return t.toUpperCase();default:return t}},zO=/(^|\s|:|-|\(|\))([a-z])/g,qO=function(t,A,e){return t.length>0?A+e.toUpperCase():t},ow=function(t){sn(A,t);function A(e,n){var r=t.call(this,e,n)||this;return r.src=n.currentSrc||n.src,r.intrinsicWidth=n.naturalWidth,r.intrinsicHeight=n.naturalHeight,r.context.cache.addImage(r.src),r}return A}(Fn),aw=function(t){sn(A,t);function A(e,n){var r=t.call(this,e,n)||this;return r.canvas=n,r.intrinsicWidth=n.width,r.intrinsicHeight=n.height,r}return A}(Fn),lw=function(t){sn(A,t);function A(e,n){var r=t.call(this,e,n)||this,i=new XMLSerializer,s=Ba(e,n);return n.setAttribute("width",s.width+"px"),n.setAttribute("height",s.height+"px"),r.svg="data:image/svg+xml,"+encodeURIComponent(i.serializeToString(n)),r.intrinsicWidth=n.width.baseVal.value,r.intrinsicHeight=n.height.baseVal.value,r.context.cache.addImage(r.svg),r}return A}(Fn),cw=function(t){sn(A,t);function A(e,n){var r=t.call(this,e,n)||this;return r.value=n.value,r}return A}(Fn),pf=function(t){sn(A,t);function A(e,n){var r=t.call(this,e,n)||this;return r.start=n.start,r.reversed=typeof n.reversed=="boolean"&&n.reversed===!0,r}return A}(Fn),ZO=[{type:15,flags:0,unit:"px",number:3}],jO=[{type:16,flags:0,number:50}],A_=function(t){return t.width>t.height?new Dn(t.left+(t.width-t.height)/2,t.top,t.height,t.height):t.width<t.height?new Dn(t.left,t.top+(t.height-t.width)/2,t.width,t.width):t},e_=function(t){var A=t.type===t_?new Array(t.value.length+1).join("•"):t.value;return A.length===0?t.placeholder||"":A},za="checkbox",qa="radio",t_="password",uw=707406591,gf=function(t){sn(A,t);function A(e,n){var r=t.call(this,e,n)||this;switch(r.type=n.type.toLowerCase(),r.checked=n.checked,r.value=e_(n),(r.type===za||r.type===qa)&&(r.styles.backgroundColor=3739148031,r.styles.borderTopColor=r.styles.borderRightColor=r.styles.borderBottomColor=r.styles.borderLeftColor=2779096575,r.styles.borderTopWidth=r.styles.borderRightWidth=r.styles.borderBottomWidth=r.styles.borderLeftWidth=1,r.styles.borderTopStyle=r.styles.borderRightStyle=r.styles.borderBottomStyle=r.styles.borderLeftStyle=1,r.styles.backgroundClip=[0],r.styles.backgroundOrigin=[0],r.bounds=A_(r.bounds)),r.type){case za:r.styles.borderTopRightRadius=r.styles.borderTopLeftRadius=r.styles.borderBottomRightRadius=r.styles.borderBottomLeftRadius=ZO;break;case qa:r.styles.borderTopRightRadius=r.styles.borderTopLeftRadius=r.styles.borderBottomRightRadius=r.styles.borderBottomLeftRadius=jO;break}return r}return A}(Fn),fw=function(t){sn(A,t);function A(e,n){var r=t.call(this,e,n)||this,i=n.options[n.selectedIndex||0];return r.value=i&&i.text||"",r}return A}(Fn),dw=function(t){sn(A,t);function A(e,n){var r=t.call(this,e,n)||this;return r.value=n.value,r}return A}(Fn),hw=function(t){sn(A,t);function A(e,n){var r=t.call(this,e,n)||this;r.src=n.src,r.width=parseInt(n.width,10)||0,r.height=parseInt(n.height,10)||0,r.backgroundColor=r.styles.backgroundColor;try{if(n.contentWindow&&n.contentWindow.document&&n.contentWindow.document.documentElement){r.tree=gw(e,n.contentWindow.document.documentElement);var i=n.contentWindow.document.documentElement?Zs(e,getComputedStyle(n.contentWindow.document.documentElement).backgroundColor):Nn.TRANSPARENT,s=n.contentWindow.document.body?Zs(e,getComputedStyle(n.contentWindow.document.body).backgroundColor):Nn.TRANSPARENT;r.backgroundColor=yr(i)?yr(s)?r.styles.backgroundColor:s:i}}catch{}return r}return A}(Fn),n_=["OL","UL","MENU"],Za=function(t,A,e,n){for(var r=A.firstChild,i=void 0;r;r=i)if(i=r.nextSibling,Bw(r)&&r.data.trim().length>0)e.textNodes.push(new XO(t,r,e.styles));else if(Gi(r))if(Ew(r)&&r.assignedNodes)r.assignedNodes().forEach(function(a){return Za(t,a,e,n)});else{var s=pw(t,r);s.styles.isVisible()&&(r_(r,s,n)?s.flags|=4:i_(s.styles)&&(s.flags|=2),n_.indexOf(r.tagName)!==-1&&(s.flags|=8),e.elements.push(s),r.slot,r.shadowRoot?Za(t,r.shadowRoot,s,n):!Al(r)&&!mw(r)&&!el(r)&&Za(t,r,s,n))}},pw=function(t,A){return wf(A)?new ow(t,A):ww(A)?new aw(t,A):mw(A)?new lw(t,A):s_(A)?new cw(t,A):o_(A)?new pf(t,A):a_(A)?new gf(t,A):el(A)?new fw(t,A):Al(A)?new dw(t,A):yw(A)?new hw(t,A):new Fn(t,A)},gw=function(t,A){var e=pw(t,A);return e.flags|=4,Za(t,A,e,e),e},r_=function(t,A,e){return A.styles.isPositionedWithZIndex()||A.styles.opacity<1||A.styles.isTransformed()||mf(t)&&e.styles.isTransparent()},i_=function(t){return t.isPositioned()||t.isFloating()},Bw=function(t){return t.nodeType===Node.TEXT_NODE},Gi=function(t){return t.nodeType===Node.ELEMENT_NODE},Bf=function(t){return Gi(t)&&typeof t.style<"u"&&!ja(t)},ja=function(t){return typeof t.className=="object"},s_=function(t){return t.tagName==="LI"},o_=function(t){return t.tagName==="OL"},a_=function(t){return t.tagName==="INPUT"},l_=function(t){return t.tagName==="HTML"},mw=function(t){return t.tagName==="svg"},mf=function(t){return t.tagName==="BODY"},ww=function(t){return t.tagName==="CANVAS"},Cw=function(t){return t.tagName==="VIDEO"},wf=function(t){return t.tagName==="IMG"},yw=function(t){return t.tagName==="IFRAME"},Qw=function(t){return t.tagName==="STYLE"},c_=function(t){return t.tagName==="SCRIPT"},Al=function(t){return t.tagName==="TEXTAREA"},el=function(t){return t.tagName==="SELECT"},Ew=function(t){return t.tagName==="SLOT"},Fw=function(t){return t.tagName.indexOf("-")>0},u_=function(){function t(){this.counters={}}return t.prototype.getCounterValue=function(A){var e=this.counters[A];return e&&e.length?e[e.length-1]:1},t.prototype.getCounterValues=function(A){var e=this.counters[A];return e||[]},t.prototype.pop=function(A){var e=this;A.forEach(function(n){return e.counters[n].pop()})},t.prototype.parse=function(A){var e=this,n=A.counterIncrement,r=A.counterReset,i=!0;n!==null&&n.forEach(function(a){var c=e.counters[a.counter];c&&a.increment!==0&&(i=!1,c.length||c.push(1),c[Math.max(0,c.length-1)]+=a.increment)});var s=[];return i&&r.forEach(function(a){var c=e.counters[a.counter];s.push(a.counter),c||(c=e.counters[a.counter]=[]),c.push(a.reset)}),s},t}(),Uw={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},vw={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},f_={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},d_={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},Wi=function(t,A,e,n,r,i){return t<A||t>e?no(t,r,i.length>0):n.integers.reduce(function(s,a,c){for(;t>=a;)t-=a,s+=n.values[c];return s},"")+i},bw=function(t,A,e,n){var r="";do e||t--,r=n(t)+r,t/=A;while(t*A>=A);return r},ue=function(t,A,e,n,r){var i=e-A+1;return(t<0?"-":"")+(bw(Math.abs(t),i,n,function(s){return ce(Math.floor(s%i)+A)})+r)},ti=function(t,A,e){e===void 0&&(e=". ");var n=A.length;return bw(Math.abs(t),n,!1,function(r){return A[Math.floor(r%n)]})+e},Ji=1<<0,Er=1<<1,Fr=1<<2,to=1<<3,Rn=function(t,A,e,n,r,i){if(t<-9999||t>9999)return no(t,4,r.length>0);var s=Math.abs(t),a=r;if(s===0)return A[0]+a;for(var c=0;s>0&&c<=4;c++){var u=s%10;u===0&&Ee(i,Ji)&&a!==""?a=A[u]+a:u>1||u===1&&c===0||u===1&&c===1&&Ee(i,Er)||u===1&&c===1&&Ee(i,Fr)&&t>100||u===1&&c>1&&Ee(i,to)?a=A[u]+(c>0?e[c-1]:"")+a:u===1&&c>0&&(a=e[c-1]+a),s=Math.floor(s/10)}return(t<0?n:"")+a},Iw="十百千萬",Sw="拾佰仟萬",Tw="マイナス",Cf="마이너스",no=function(t,A,e){var n=e?". ":"",r=e?"、":"",i=e?", ":"",s=e?" ":"";switch(A){case 0:return"•"+s;case 1:return"◦"+s;case 2:return"◾"+s;case 5:var a=ue(t,48,57,!0,n);return a.length<4?"0"+a:a;case 4:return ti(t,"〇一二三四五六七八九",r);case 6:return Wi(t,1,3999,Uw,3,n).toLowerCase();case 7:return Wi(t,1,3999,Uw,3,n);case 8:return ue(t,945,969,!1,n);case 9:return ue(t,97,122,!1,n);case 10:return ue(t,65,90,!1,n);case 11:return ue(t,1632,1641,!0,n);case 12:case 49:return Wi(t,1,9999,vw,3,n);case 35:return Wi(t,1,9999,vw,3,n).toLowerCase();case 13:return ue(t,2534,2543,!0,n);case 14:case 30:return ue(t,6112,6121,!0,n);case 15:return ti(t,"子丑寅卯辰巳午未申酉戌亥",r);case 16:return ti(t,"甲乙丙丁戊己庚辛壬癸",r);case 17:case 48:return Rn(t,"零一二三四五六七八九",Iw,"負",r,Er|Fr|to);case 47:return Rn(t,"零壹貳參肆伍陸柒捌玖",Sw,"負",r,Ji|Er|Fr|to);case 42:return Rn(t,"零一二三四五六七八九",Iw,"负",r,Er|Fr|to);case 41:return Rn(t,"零壹贰叁肆伍陆柒捌玖",Sw,"负",r,Ji|Er|Fr|to);case 26:return Rn(t,"〇一二三四五六七八九","十百千万",Tw,r,0);case 25:return Rn(t,"零壱弐参四伍六七八九","拾百千万",Tw,r,Ji|Er|Fr);case 31:return Rn(t,"영일이삼사오육칠팔구","십백천만",Cf,i,Ji|Er|Fr);case 33:return Rn(t,"零一二三四五六七八九","十百千萬",Cf,i,0);case 32:return Rn(t,"零壹貳參四五六七八九","拾百千",Cf,i,Ji|Er|Fr);case 18:return ue(t,2406,2415,!0,n);case 20:return Wi(t,1,19999,d_,3,n);case 21:return ue(t,2790,2799,!0,n);case 22:return ue(t,2662,2671,!0,n);case 22:return Wi(t,1,10999,f_,3,n);case 23:return ti(t,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return ti(t,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return ue(t,3302,3311,!0,n);case 28:return ti(t,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",r);case 29:return ti(t,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",r);case 34:return ue(t,3792,3801,!0,n);case 37:return ue(t,6160,6169,!0,n);case 38:return ue(t,4160,4169,!0,n);case 39:return ue(t,2918,2927,!0,n);case 40:return ue(t,1776,1785,!0,n);case 43:return ue(t,3046,3055,!0,n);case 44:return ue(t,3174,3183,!0,n);case 45:return ue(t,3664,3673,!0,n);case 46:return ue(t,3872,3881,!0,n);case 3:default:return ue(t,48,57,!0,n)}},xw="data-html2canvas-ignore",Hw=function(){function t(A,e,n){if(this.context=A,this.options=n,this.scrolledElements=[],this.referenceElement=e,this.counters=new u_,this.quoteDepth=0,!e.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(e.ownerDocument.documentElement,!1)}return t.prototype.toIFrame=function(A,e){var n=this,r=h_(A,e);if(!r.contentWindow)return Promise.reject("Unable to find iframe window");var i=A.defaultView.pageXOffset,s=A.defaultView.pageYOffset,a=r.contentWindow,c=a.document,u=B_(r).then(function(){return rt(n,void 0,void 0,function(){var d,h;return Xe(this,function(B){switch(B.label){case 0:return this.scrolledElements.forEach(y_),a&&(a.scrollTo(e.left,e.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(a.scrollY!==e.top||a.scrollX!==e.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(a.scrollX-e.left,a.scrollY-e.top,0,0))),d=this.options.onclone,h=this.clonedReferenceElement,typeof h>"u"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:c.fonts&&c.fonts.ready?[4,c.fonts.ready]:[3,2];case 1:B.sent(),B.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,g_(c)]:[3,4];case 3:B.sent(),B.label=4;case 4:return typeof d=="function"?[2,Promise.resolve().then(function(){return d(c,h)}).then(function(){return r})]:[2,r]}})})});return c.open(),c.write(w_(document.doctype)+"<html></html>"),C_(this.referenceElement.ownerDocument,i,s),c.replaceChild(c.adoptNode(this.documentElement),c.documentElement),c.close(),u},t.prototype.createElementClone=function(A){if(tf(A,2))debugger;if(ww(A))return this.createCanvasClone(A);if(Cw(A))return this.createVideoClone(A);if(Qw(A))return this.createStyleClone(A);var e=A.cloneNode(!1);return wf(e)&&(wf(A)&&A.currentSrc&&A.currentSrc!==A.src&&(e.src=A.currentSrc,e.srcset=""),e.loading==="lazy"&&(e.loading="eager")),Fw(e)?this.createCustomElementClone(e):e},t.prototype.createCustomElementClone=function(A){var e=document.createElement("html2canvascustomelement");return yf(A.style,e),e},t.prototype.createStyleClone=function(A){try{var e=A.sheet;if(e&&e.cssRules){var n=[].slice.call(e.cssRules,0).reduce(function(i,s){return s&&typeof s.cssText=="string"?i+s.cssText:i},""),r=A.cloneNode(!1);return r.textContent=n,r}}catch(i){if(this.context.logger.error("Unable to access cssRules property",i),i.name!=="SecurityError")throw i}return A.cloneNode(!1)},t.prototype.createCanvasClone=function(A){var e;if(this.options.inlineImages&&A.ownerDocument){var n=A.ownerDocument.createElement("img");try{return n.src=A.toDataURL(),n}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",A)}}var r=A.cloneNode(!1);try{r.width=A.width,r.height=A.height;var i=A.getContext("2d"),s=r.getContext("2d");if(s)if(!this.options.allowTaint&&i)s.putImageData(i.getImageData(0,0,A.width,A.height),0,0);else{var a=(e=A.getContext("webgl2"))!==null&&e!==void 0?e:A.getContext("webgl");if(a){var c=a.getContextAttributes();(c==null?void 0:c.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",A)}s.drawImage(A,0,0)}return r}catch{this.context.logger.info("Unable to clone canvas as it is tainted",A)}return r},t.prototype.createVideoClone=function(A){var e=A.ownerDocument.createElement("canvas");e.width=A.offsetWidth,e.height=A.offsetHeight;var n=e.getContext("2d");try{return n&&(n.drawImage(A,0,0,e.width,e.height),this.options.allowTaint||n.getImageData(0,0,e.width,e.height)),e}catch{this.context.logger.info("Unable to clone video as it is tainted",A)}var r=A.ownerDocument.createElement("canvas");return r.width=A.offsetWidth,r.height=A.offsetHeight,r},t.prototype.appendChildNode=function(A,e,n){(!Gi(e)||!c_(e)&&!e.hasAttribute(xw)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(e)))&&(!this.options.copyStyles||!Gi(e)||!Qw(e))&&A.appendChild(this.cloneNode(e,n))},t.prototype.cloneChildNodes=function(A,e,n){for(var r=this,i=A.shadowRoot?A.shadowRoot.firstChild:A.firstChild;i;i=i.nextSibling)if(Gi(i)&&Ew(i)&&typeof i.assignedNodes=="function"){var s=i.assignedNodes();s.length&&s.forEach(function(a){return r.appendChildNode(e,a,n)})}else this.appendChildNode(e,i,n)},t.prototype.cloneNode=function(A,e){if(Bw(A))return document.createTextNode(A.data);if(!A.ownerDocument)return A.cloneNode(!1);var n=A.ownerDocument.defaultView;if(n&&Gi(A)&&(Bf(A)||ja(A))){var r=this.createElementClone(A);r.style.transitionProperty="none";var i=n.getComputedStyle(A),s=n.getComputedStyle(A,":before"),a=n.getComputedStyle(A,":after");this.referenceElement===A&&Bf(r)&&(this.clonedReferenceElement=r),mf(r)&&F_(r);var c=this.counters.parse(new Jm(this.context,i)),u=this.resolvePseudoContent(A,r,s,ro.BEFORE);Fw(A)&&(e=!0),Cw(A)||this.cloneChildNodes(A,r,e),u&&r.insertBefore(u,r.firstChild);var d=this.resolvePseudoContent(A,r,a,ro.AFTER);return d&&r.appendChild(d),this.counters.pop(c),(i&&(this.options.copyStyles||ja(A))&&!yw(A)||e)&&yf(i,r),(A.scrollTop!==0||A.scrollLeft!==0)&&this.scrolledElements.push([r,A.scrollLeft,A.scrollTop]),(Al(A)||el(A))&&(Al(r)||el(r))&&(r.value=A.value),r}return A.cloneNode(!1)},t.prototype.resolvePseudoContent=function(A,e,n,r){var i=this;if(n){var s=n.content,a=e.ownerDocument;if(!(!a||!s||s==="none"||s==="-moz-alt-content"||n.display==="none")){this.counters.parse(new Jm(this.context,n));var c=new sO(this.context,n),u=a.createElement("html2canvaspseudoelement");yf(n,u),c.content.forEach(function(h){if(h.type===0)u.appendChild(a.createTextNode(h.value));else if(h.type===22){var B=a.createElement("img");B.src=h.value,B.style.opacity="1",u.appendChild(B)}else if(h.type===18){if(h.name==="attr"){var m=h.values.filter(GA);m.length&&u.appendChild(a.createTextNode(A.getAttribute(m[0].value)||""))}else if(h.name==="counter"){var C=h.values.filter(Pi),E=C[0],S=C[1];if(E&&GA(E)){var U=i.counters.getCounterValue(E.value),b=S&&GA(S)?ef.parse(i.context,S.value):3;u.appendChild(a.createTextNode(no(U,b,!1)))}}else if(h.name==="counters"){var M=h.values.filter(Pi),E=M[0],F=M[1],S=M[2];if(E&&GA(E)){var T=i.counters.getCounterValues(E.value),L=S&&GA(S)?ef.parse(i.context,S.value):3,N=F&&F.type===0?F.value:"",W=T.map(function(gA){return no(gA,L,!1)}).join(N);u.appendChild(a.createTextNode(W))}}}else if(h.type===20)switch(h.value){case"open-quote":u.appendChild(a.createTextNode(Wm(c.quotes,i.quoteDepth++,!0)));break;case"close-quote":u.appendChild(a.createTextNode(Wm(c.quotes,--i.quoteDepth,!1)));break;default:u.appendChild(a.createTextNode(h.value))}}),u.className=Qf+" "+Ef;var d=r===ro.BEFORE?" "+Qf:" "+Ef;return ja(e)?e.className.baseValue+=d:e.className+=d,u}}},t.destroy=function(A){return A.parentNode?(A.parentNode.removeChild(A),!0):!1},t}(),ro;(function(t){t[t.BEFORE=0]="BEFORE",t[t.AFTER=1]="AFTER"})(ro||(ro={}));var h_=function(t,A){var e=t.createElement("iframe");return e.className="html2canvas-container",e.style.visibility="hidden",e.style.position="fixed",e.style.left="-10000px",e.style.top="0px",e.style.border="0",e.width=A.width.toString(),e.height=A.height.toString(),e.scrolling="no",e.setAttribute(xw,"true"),t.body.appendChild(e),e},p_=function(t){return new Promise(function(A){if(t.complete){A();return}if(!t.src){A();return}t.onload=A,t.onerror=A})},g_=function(t){return Promise.all([].slice.call(t.images,0).map(p_))},B_=function(t){return new Promise(function(A,e){var n=t.contentWindow;if(!n)return e("No window assigned for iframe");var r=n.document;n.onload=t.onload=function(){n.onload=t.onload=null;var i=setInterval(function(){r.body.childNodes.length>0&&r.readyState==="complete"&&(clearInterval(i),A(t))},50)}})},m_=["all","d","content"],yf=function(t,A){for(var e=t.length-1;e>=0;e--){var n=t.item(e);m_.indexOf(n)===-1&&A.style.setProperty(n,t.getPropertyValue(n))}return A},w_=function(t){var A="";return t&&(A+="<!DOCTYPE ",t.name&&(A+=t.name),t.internalSubset&&(A+=t.internalSubset),t.publicId&&(A+='"'+t.publicId+'"'),t.systemId&&(A+='"'+t.systemId+'"'),A+=">"),A},C_=function(t,A,e){t&&t.defaultView&&(A!==t.defaultView.pageXOffset||e!==t.defaultView.pageYOffset)&&t.defaultView.scrollTo(A,e)},y_=function(t){var A=t[0],e=t[1],n=t[2];A.scrollLeft=e,A.scrollTop=n},Q_=":before",E_=":after",Qf="___html2canvas___pseudoelement_before",Ef="___html2canvas___pseudoelement_after",Lw=`{
70
181
  content: "" !important;
71
182
  display: none !important;
72
- }`,p0=function(e){F0(e,"."+$s+Q0+aB+`
73
- .`+Zs+U0+aB)},F0=function(e,r){var t=e.ownerDocument;if(t){var a=t.createElement("style");a.textContent=r,e.appendChild(a)}},iB=function(){function e(){}return e.getOrigin=function(r){var t=e._link;return t?(t.href=r,t.href=t.href,t.protocol+t.hostname+t.port):"about:blank"},e.isSameOrigin=function(r){return e.getOrigin(r)===e._origin},e.setContext=function(r){e._link=r.document.createElement("a"),e._origin=e.getOrigin(r.location.href)},e._origin="about:blank",e}(),E0=function(){function e(r,t){this.context=r,this._options=t,this._cache={}}return e.prototype.addImage=function(r){var t=Promise.resolve();return this.has(r)||(zs(r)||_0(r))&&(this._cache[r]=this.loadImage(r)).catch(function(){}),t},e.prototype.match=function(r){return this._cache[r]},e.prototype.loadImage=function(r){return Fe(this,void 0,void 0,function(){var t,a,s,o,l=this;return Ce(this,function(B){switch(B.label){case 0:return t=iB.isSameOrigin(r),a=!qs(r)&&this._options.useCORS===!0&&ue.SUPPORT_CORS_IMAGES&&!t,s=!qs(r)&&!t&&!zs(r)&&typeof this._options.proxy=="string"&&ue.SUPPORT_CORS_XHR&&!a,!t&&this._options.allowTaint===!1&&!qs(r)&&!zs(r)&&!s&&!a?[2]:(o=r,s?[4,this.proxy(o)]:[3,2]);case 1:o=B.sent(),B.label=2;case 2:return this.context.logger.debug("Added image "+r.substring(0,256)),[4,new Promise(function(c,w){var h=new Image;h.onload=function(){return c(h)},h.onerror=w,(y0(o)||a)&&(h.crossOrigin="anonymous"),h.src=o,h.complete===!0&&setTimeout(function(){return c(h)},500),l._options.imageTimeout>0&&setTimeout(function(){return w("Timed out ("+l._options.imageTimeout+"ms) loading image")},l._options.imageTimeout)})];case 3:return[2,B.sent()]}})})},e.prototype.has=function(r){return typeof this._cache[r]<"u"},e.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},e.prototype.proxy=function(r){var t=this,a=this._options.proxy;if(!a)throw new Error("No proxy defined");var s=r.substring(0,256);return new Promise(function(o,l){var B=ue.SUPPORT_RESPONSE_TYPE?"blob":"text",c=new XMLHttpRequest;c.onload=function(){if(c.status===200)if(B==="text")o(c.response);else{var Q=new FileReader;Q.addEventListener("load",function(){return o(Q.result)},!1),Q.addEventListener("error",function(F){return l(F)},!1),Q.readAsDataURL(c.response)}else l("Failed to proxy resource "+s+" with status code "+c.status)},c.onerror=l;var w=a.indexOf("?")>-1?"&":"?";if(c.open("GET",""+a+w+"url="+encodeURIComponent(r)+"&responseType="+B),B!=="text"&&c instanceof XMLHttpRequest&&(c.responseType=B),t._options.imageTimeout){var h=t._options.imageTimeout;c.timeout=h,c.ontimeout=function(){return l("Timed out ("+h+"ms) proxying "+s)}}c.send()})},e}(),m0=/^data:image\/svg\+xml/i,I0=/^data:image\/.*;base64,/i,v0=/^data:image\/.*/i,_0=function(e){return ue.SUPPORT_SVG_DRAWING||!H0(e)},qs=function(e){return v0.test(e)},y0=function(e){return I0.test(e)},zs=function(e){return e.substr(0,4)==="blob"},H0=function(e){return e.substr(-3).toLowerCase()==="svg"||m0.test(e)},J=function(){function e(r,t){this.type=0,this.x=r,this.y=t}return e.prototype.add=function(r,t){return new e(this.x+r,this.y+t)},e}(),Gr=function(e,r,t){return new J(e.x+(r.x-e.x)*t,e.y+(r.y-e.y)*t)},Xa=function(){function e(r,t,a,s){this.type=1,this.start=r,this.startControl=t,this.endControl=a,this.end=s}return e.prototype.subdivide=function(r,t){var a=Gr(this.start,this.startControl,r),s=Gr(this.startControl,this.endControl,r),o=Gr(this.endControl,this.end,r),l=Gr(a,s,r),B=Gr(s,o,r),c=Gr(l,B,r);return t?new e(this.start,a,l,c):new e(c,B,o,this.end)},e.prototype.add=function(r,t){return new e(this.start.add(r,t),this.startControl.add(r,t),this.endControl.add(r,t),this.end.add(r,t))},e.prototype.reverse=function(){return new e(this.end,this.endControl,this.startControl,this.start)},e}(),Ze=function(e){return e.type===1},L0=function(){function e(r){var t=r.styles,a=r.bounds,s=_n(t.borderTopLeftRadius,a.width,a.height),o=s[0],l=s[1],B=_n(t.borderTopRightRadius,a.width,a.height),c=B[0],w=B[1],h=_n(t.borderBottomRightRadius,a.width,a.height),Q=h[0],F=h[1],T=_n(t.borderBottomLeftRadius,a.width,a.height),S=T[0],D=T[1],R=[];R.push((o+c)/a.width),R.push((S+Q)/a.width),R.push((l+D)/a.height),R.push((w+F)/a.height);var m=Math.max.apply(Math,R);m>1&&(o/=m,l/=m,c/=m,w/=m,Q/=m,F/=m,S/=m,D/=m);var _=a.width-c,x=a.height-F,L=a.width-Q,H=a.height-D,b=t.borderTopWidth,V=t.borderRightWidth,$=t.borderBottomWidth,k=t.borderLeftWidth,AA=DA(t.paddingTop,r.bounds.width),fA=DA(t.paddingRight,r.bounds.width),mA=DA(t.paddingBottom,r.bounds.width),sA=DA(t.paddingLeft,r.bounds.width);this.topLeftBorderDoubleOuterBox=o>0||l>0?MA(a.left+k/3,a.top+b/3,o-k/3,l-b/3,EA.TOP_LEFT):new J(a.left+k/3,a.top+b/3),this.topRightBorderDoubleOuterBox=o>0||l>0?MA(a.left+_,a.top+b/3,c-V/3,w-b/3,EA.TOP_RIGHT):new J(a.left+a.width-V/3,a.top+b/3),this.bottomRightBorderDoubleOuterBox=Q>0||F>0?MA(a.left+L,a.top+x,Q-V/3,F-$/3,EA.BOTTOM_RIGHT):new J(a.left+a.width-V/3,a.top+a.height-$/3),this.bottomLeftBorderDoubleOuterBox=S>0||D>0?MA(a.left+k/3,a.top+H,S-k/3,D-$/3,EA.BOTTOM_LEFT):new J(a.left+k/3,a.top+a.height-$/3),this.topLeftBorderDoubleInnerBox=o>0||l>0?MA(a.left+k*2/3,a.top+b*2/3,o-k*2/3,l-b*2/3,EA.TOP_LEFT):new J(a.left+k*2/3,a.top+b*2/3),this.topRightBorderDoubleInnerBox=o>0||l>0?MA(a.left+_,a.top+b*2/3,c-V*2/3,w-b*2/3,EA.TOP_RIGHT):new J(a.left+a.width-V*2/3,a.top+b*2/3),this.bottomRightBorderDoubleInnerBox=Q>0||F>0?MA(a.left+L,a.top+x,Q-V*2/3,F-$*2/3,EA.BOTTOM_RIGHT):new J(a.left+a.width-V*2/3,a.top+a.height-$*2/3),this.bottomLeftBorderDoubleInnerBox=S>0||D>0?MA(a.left+k*2/3,a.top+H,S-k*2/3,D-$*2/3,EA.BOTTOM_LEFT):new J(a.left+k*2/3,a.top+a.height-$*2/3),this.topLeftBorderStroke=o>0||l>0?MA(a.left+k/2,a.top+b/2,o-k/2,l-b/2,EA.TOP_LEFT):new J(a.left+k/2,a.top+b/2),this.topRightBorderStroke=o>0||l>0?MA(a.left+_,a.top+b/2,c-V/2,w-b/2,EA.TOP_RIGHT):new J(a.left+a.width-V/2,a.top+b/2),this.bottomRightBorderStroke=Q>0||F>0?MA(a.left+L,a.top+x,Q-V/2,F-$/2,EA.BOTTOM_RIGHT):new J(a.left+a.width-V/2,a.top+a.height-$/2),this.bottomLeftBorderStroke=S>0||D>0?MA(a.left+k/2,a.top+H,S-k/2,D-$/2,EA.BOTTOM_LEFT):new J(a.left+k/2,a.top+a.height-$/2),this.topLeftBorderBox=o>0||l>0?MA(a.left,a.top,o,l,EA.TOP_LEFT):new J(a.left,a.top),this.topRightBorderBox=c>0||w>0?MA(a.left+_,a.top,c,w,EA.TOP_RIGHT):new J(a.left+a.width,a.top),this.bottomRightBorderBox=Q>0||F>0?MA(a.left+L,a.top+x,Q,F,EA.BOTTOM_RIGHT):new J(a.left+a.width,a.top+a.height),this.bottomLeftBorderBox=S>0||D>0?MA(a.left,a.top+H,S,D,EA.BOTTOM_LEFT):new J(a.left,a.top+a.height),this.topLeftPaddingBox=o>0||l>0?MA(a.left+k,a.top+b,Math.max(0,o-k),Math.max(0,l-b),EA.TOP_LEFT):new J(a.left+k,a.top+b),this.topRightPaddingBox=c>0||w>0?MA(a.left+Math.min(_,a.width-V),a.top+b,_>a.width+V?0:Math.max(0,c-V),Math.max(0,w-b),EA.TOP_RIGHT):new J(a.left+a.width-V,a.top+b),this.bottomRightPaddingBox=Q>0||F>0?MA(a.left+Math.min(L,a.width-k),a.top+Math.min(x,a.height-$),Math.max(0,Q-V),Math.max(0,F-$),EA.BOTTOM_RIGHT):new J(a.left+a.width-V,a.top+a.height-$),this.bottomLeftPaddingBox=S>0||D>0?MA(a.left+k,a.top+Math.min(H,a.height-$),Math.max(0,S-k),Math.max(0,D-$),EA.BOTTOM_LEFT):new J(a.left+k,a.top+a.height-$),this.topLeftContentBox=o>0||l>0?MA(a.left+k+sA,a.top+b+AA,Math.max(0,o-(k+sA)),Math.max(0,l-(b+AA)),EA.TOP_LEFT):new J(a.left+k+sA,a.top+b+AA),this.topRightContentBox=c>0||w>0?MA(a.left+Math.min(_,a.width+k+sA),a.top+b+AA,_>a.width+k+sA?0:c-k+sA,w-(b+AA),EA.TOP_RIGHT):new J(a.left+a.width-(V+fA),a.top+b+AA),this.bottomRightContentBox=Q>0||F>0?MA(a.left+Math.min(L,a.width-(k+sA)),a.top+Math.min(x,a.height+b+AA),Math.max(0,Q-(V+fA)),F-($+mA),EA.BOTTOM_RIGHT):new J(a.left+a.width-(V+fA),a.top+a.height-($+mA)),this.bottomLeftContentBox=S>0||D>0?MA(a.left+k+sA,a.top+H,Math.max(0,S-(k+sA)),D-($+mA),EA.BOTTOM_LEFT):new J(a.left+k+sA,a.top+a.height-($+mA))}return e}(),EA;(function(e){e[e.TOP_LEFT=0]="TOP_LEFT",e[e.TOP_RIGHT=1]="TOP_RIGHT",e[e.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",e[e.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(EA||(EA={}));var MA=function(e,r,t,a,s){var o=4*((Math.sqrt(2)-1)/3),l=t*o,B=a*o,c=e+t,w=r+a;switch(s){case EA.TOP_LEFT:return new Xa(new J(e,w),new J(e,w-B),new J(c-l,r),new J(c,r));case EA.TOP_RIGHT:return new Xa(new J(e,r),new J(e+l,r),new J(c,w-B),new J(c,w));case EA.BOTTOM_RIGHT:return new Xa(new J(c,r),new J(c,r+B),new J(e+l,w),new J(e,w));case EA.BOTTOM_LEFT:default:return new Xa(new J(c,w),new J(c-l,w),new J(e,r+B),new J(e,r))}},Ya=function(e){return[e.topLeftBorderBox,e.topRightBorderBox,e.bottomRightBorderBox,e.bottomLeftBorderBox]},b0=function(e){return[e.topLeftContentBox,e.topRightContentBox,e.bottomRightContentBox,e.bottomLeftContentBox]},Ja=function(e){return[e.topLeftPaddingBox,e.topRightPaddingBox,e.bottomRightPaddingBox,e.bottomLeftPaddingBox]},T0=function(){function e(r,t,a){this.offsetX=r,this.offsetY=t,this.matrix=a,this.type=0,this.target=6}return e}(),$a=function(){function e(r,t){this.path=r,this.target=t,this.type=1}return e}(),D0=function(){function e(r){this.opacity=r,this.type=2,this.target=6}return e}(),S0=function(e){return e.type===0},sB=function(e){return e.type===1},O0=function(e){return e.type===2},oB=function(e,r){return e.length===r.length?e.some(function(t,a){return t===r[a]}):!1},K0=function(e,r,t,a,s){return e.map(function(o,l){switch(l){case 0:return o.add(r,t);case 1:return o.add(r+a,t);case 2:return o.add(r+a,t+s);case 3:return o.add(r,t+s)}return o})},lB=function(){function e(r){this.element=r,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return e}(),uB=function(){function e(r,t){if(this.container=r,this.parent=t,this.effects=[],this.curves=new L0(this.container),this.container.styles.opacity<1&&this.effects.push(new D0(this.container.styles.opacity)),this.container.styles.transform!==null){var a=this.container.bounds.left+this.container.styles.transformOrigin[0].number,s=this.container.bounds.top+this.container.styles.transformOrigin[1].number,o=this.container.styles.transform;this.effects.push(new T0(a,s,o))}if(this.container.styles.overflowX!==0){var l=Ya(this.curves),B=Ja(this.curves);oB(l,B)?this.effects.push(new $a(l,6)):(this.effects.push(new $a(l,2)),this.effects.push(new $a(B,4)))}}return e.prototype.getEffects=function(r){for(var t=[2,3].indexOf(this.container.styles.position)===-1,a=this.parent,s=this.effects.slice(0);a;){var o=a.effects.filter(function(c){return!sB(c)});if(t||a.container.styles.position!==0||!a.parent){if(s.unshift.apply(s,o),t=[2,3].indexOf(a.container.styles.position)===-1,a.container.styles.overflowX!==0){var l=Ya(a.curves),B=Ja(a.curves);oB(l,B)||s.unshift(new $a(B,6))}}else s.unshift.apply(s,o);a=a.parent}return s.filter(function(c){return ee(c.target,r)})},e}(),js=function(e,r,t,a){e.container.elements.forEach(function(s){var o=ee(s.flags,4),l=ee(s.flags,2),B=new uB(s,e);ee(s.styles.display,2048)&&a.push(B);var c=ee(s.flags,8)?[]:a;if(o||l){var w=o||s.styles.isPositioned()?t:r,h=new lB(B);if(s.styles.isPositioned()||s.styles.opacity<1||s.styles.isTransformed()){var Q=s.styles.zIndex.order;if(Q<0){var F=0;w.negativeZIndex.some(function(S,D){return Q>S.element.container.styles.zIndex.order?(F=D,!1):F>0}),w.negativeZIndex.splice(F,0,h)}else if(Q>0){var T=0;w.positiveZIndex.some(function(S,D){return Q>=S.element.container.styles.zIndex.order?(T=D+1,!1):T>0}),w.positiveZIndex.splice(T,0,h)}else w.zeroOrAutoZIndexOrTransformedOrOpacity.push(h)}else s.styles.isFloating()?w.nonPositionedFloats.push(h):w.nonPositionedInlineLevel.push(h);js(B,h,o?h:t,c)}else s.styles.isInlineLevel()?r.inlineLevel.push(B):r.nonInlineLevel.push(B),js(B,r,t,c);ee(s.flags,8)&&cB(s,c)})},cB=function(e,r){for(var t=e instanceof Gs?e.start:1,a=e instanceof Gs?e.reversed:!1,s=0;s<r.length;s++){var o=r[s];o.container instanceof Kc&&typeof o.container.value=="number"&&o.container.value!==0&&(t=o.container.value),o.listValue=Dn(t,o.container.styles.listStyleType,!0),t+=a?-1:1}},x0=function(e){var r=new uB(e,null),t=new lB(r),a=[];return js(r,t,t,a),cB(r.container,a),t},BB=function(e,r){switch(r){case 0:return qe(e.topLeftBorderBox,e.topLeftPaddingBox,e.topRightBorderBox,e.topRightPaddingBox);case 1:return qe(e.topRightBorderBox,e.topRightPaddingBox,e.bottomRightBorderBox,e.bottomRightPaddingBox);case 2:return qe(e.bottomRightBorderBox,e.bottomRightPaddingBox,e.bottomLeftBorderBox,e.bottomLeftPaddingBox);case 3:default:return qe(e.bottomLeftBorderBox,e.bottomLeftPaddingBox,e.topLeftBorderBox,e.topLeftPaddingBox)}},N0=function(e,r){switch(r){case 0:return qe(e.topLeftBorderBox,e.topLeftBorderDoubleOuterBox,e.topRightBorderBox,e.topRightBorderDoubleOuterBox);case 1:return qe(e.topRightBorderBox,e.topRightBorderDoubleOuterBox,e.bottomRightBorderBox,e.bottomRightBorderDoubleOuterBox);case 2:return qe(e.bottomRightBorderBox,e.bottomRightBorderDoubleOuterBox,e.bottomLeftBorderBox,e.bottomLeftBorderDoubleOuterBox);case 3:default:return qe(e.bottomLeftBorderBox,e.bottomLeftBorderDoubleOuterBox,e.topLeftBorderBox,e.topLeftBorderDoubleOuterBox)}},M0=function(e,r){switch(r){case 0:return qe(e.topLeftBorderDoubleInnerBox,e.topLeftPaddingBox,e.topRightBorderDoubleInnerBox,e.topRightPaddingBox);case 1:return qe(e.topRightBorderDoubleInnerBox,e.topRightPaddingBox,e.bottomRightBorderDoubleInnerBox,e.bottomRightPaddingBox);case 2:return qe(e.bottomRightBorderDoubleInnerBox,e.bottomRightPaddingBox,e.bottomLeftBorderDoubleInnerBox,e.bottomLeftPaddingBox);case 3:default:return qe(e.bottomLeftBorderDoubleInnerBox,e.bottomLeftPaddingBox,e.topLeftBorderDoubleInnerBox,e.topLeftPaddingBox)}},R0=function(e,r){switch(r){case 0:return Za(e.topLeftBorderStroke,e.topRightBorderStroke);case 1:return Za(e.topRightBorderStroke,e.bottomRightBorderStroke);case 2:return Za(e.bottomRightBorderStroke,e.bottomLeftBorderStroke);case 3:default:return Za(e.bottomLeftBorderStroke,e.topLeftBorderStroke)}},Za=function(e,r){var t=[];return Ze(e)?t.push(e.subdivide(.5,!1)):t.push(e),Ze(r)?t.push(r.subdivide(.5,!0)):t.push(r),t},qe=function(e,r,t,a){var s=[];return Ze(e)?s.push(e.subdivide(.5,!1)):s.push(e),Ze(t)?s.push(t.subdivide(.5,!0)):s.push(t),Ze(a)?s.push(a.subdivide(.5,!0).reverse()):s.push(a),Ze(r)?s.push(r.subdivide(.5,!1).reverse()):s.push(r),s},fB=function(e){var r=e.bounds,t=e.styles;return r.add(t.borderLeftWidth,t.borderTopWidth,-(t.borderRightWidth+t.borderLeftWidth),-(t.borderTopWidth+t.borderBottomWidth))},qa=function(e){var r=e.styles,t=e.bounds,a=DA(r.paddingLeft,t.width),s=DA(r.paddingRight,t.width),o=DA(r.paddingTop,t.width),l=DA(r.paddingBottom,t.width);return t.add(a+r.borderLeftWidth,o+r.borderTopWidth,-(r.borderRightWidth+r.borderLeftWidth+a+s),-(r.borderTopWidth+r.borderBottomWidth+o+l))},V0=function(e,r){return e===0?r.bounds:e===2?qa(r):fB(r)},G0=function(e,r){return e===0?r.bounds:e===2?qa(r):fB(r)},Ao=function(e,r,t){var a=V0(kr(e.styles.backgroundOrigin,r),e),s=G0(kr(e.styles.backgroundClip,r),e),o=P0(kr(e.styles.backgroundSize,r),t,a),l=o[0],B=o[1],c=_n(kr(e.styles.backgroundPosition,r),a.width-l,a.height-B),w=k0(kr(e.styles.backgroundRepeat,r),c,o,a,s),h=Math.round(a.left+c[0]),Q=Math.round(a.top+c[1]);return[w,h,Q,l,B]},Pr=function(e){return LA(e)&&e.value===Nr.AUTO},za=function(e){return typeof e=="number"},P0=function(e,r,t){var a=r[0],s=r[1],o=r[2],l=e[0],B=e[1];if(!l)return[0,0];if(qA(l)&&B&&qA(B))return[DA(l,t.width),DA(B,t.height)];var c=za(o);if(LA(l)&&(l.value===Nr.CONTAIN||l.value===Nr.COVER)){if(za(o)){var w=t.width/t.height;return w<o!=(l.value===Nr.COVER)?[t.width,t.width/o]:[t.height*o,t.height]}return[t.width,t.height]}var h=za(a),Q=za(s),F=h||Q;if(Pr(l)&&(!B||Pr(B))){if(h&&Q)return[a,s];if(!c&&!F)return[t.width,t.height];if(F&&c){var T=h?a:s*o,S=Q?s:a/o;return[T,S]}var D=h?a:t.width,R=Q?s:t.height;return[D,R]}if(c){var m=0,_=0;return qA(l)?m=DA(l,t.width):qA(B)&&(_=DA(B,t.height)),Pr(l)?m=_*o:(!B||Pr(B))&&(_=m/o),[m,_]}var x=null,L=null;if(qA(l)?x=DA(l,t.width):B&&qA(B)&&(L=DA(B,t.height)),x!==null&&(!B||Pr(B))&&(L=h&&Q?x/a*s:t.height),L!==null&&Pr(l)&&(x=h&&Q?L/s*a:t.width),x!==null&&L!==null)return[x,L];throw new Error("Unable to calculate background-size for element")},kr=function(e,r){var t=e[r];return typeof t>"u"?e[0]:t},k0=function(e,r,t,a,s){var o=r[0],l=r[1],B=t[0],c=t[1];switch(e){case 2:return[new J(Math.round(a.left),Math.round(a.top+l)),new J(Math.round(a.left+a.width),Math.round(a.top+l)),new J(Math.round(a.left+a.width),Math.round(c+a.top+l)),new J(Math.round(a.left),Math.round(c+a.top+l))];case 3:return[new J(Math.round(a.left+o),Math.round(a.top)),new J(Math.round(a.left+o+B),Math.round(a.top)),new J(Math.round(a.left+o+B),Math.round(a.height+a.top)),new J(Math.round(a.left+o),Math.round(a.height+a.top))];case 1:return[new J(Math.round(a.left+o),Math.round(a.top+l)),new J(Math.round(a.left+o+B),Math.round(a.top+l)),new J(Math.round(a.left+o+B),Math.round(a.top+l+c)),new J(Math.round(a.left+o),Math.round(a.top+l+c))];default:return[new J(Math.round(s.left),Math.round(s.top)),new J(Math.round(s.left+s.width),Math.round(s.top)),new J(Math.round(s.left+s.width),Math.round(s.height+s.top)),new J(Math.round(s.left),Math.round(s.height+s.top))]}},W0="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",gB="Hidden Text",X0=function(){function e(r){this._data={},this._document=r}return e.prototype.parseMetrics=function(r,t){var a=this._document.createElement("div"),s=this._document.createElement("img"),o=this._document.createElement("span"),l=this._document.body;a.style.visibility="hidden",a.style.fontFamily=r,a.style.fontSize=t,a.style.margin="0",a.style.padding="0",a.style.whiteSpace="nowrap",l.appendChild(a),s.src=W0,s.width=1,s.height=1,s.style.margin="0",s.style.padding="0",s.style.verticalAlign="baseline",o.style.fontFamily=r,o.style.fontSize=t,o.style.margin="0",o.style.padding="0",o.appendChild(this._document.createTextNode(gB)),a.appendChild(o),a.appendChild(s);var B=s.offsetTop-o.offsetTop+2;a.removeChild(o),a.appendChild(this._document.createTextNode(gB)),a.style.lineHeight="normal",s.style.verticalAlign="super";var c=s.offsetTop-a.offsetTop+2;return l.removeChild(a),{baseline:B,middle:c}},e.prototype.getMetrics=function(r,t){var a=r+" "+t;return typeof this._data[a]>"u"&&(this._data[a]=this.parseMetrics(r,t)),this._data[a]},e}(),dB=function(){function e(r,t){this.context=r,this.options=t}return e}(),Y0=1e4,J0=function(e){ot(r,e);function r(t,a){var s=e.call(this,t,a)||this;return s._activeEffects=[],s.canvas=a.canvas?a.canvas:document.createElement("canvas"),s.ctx=s.canvas.getContext("2d"),a.canvas||(s.canvas.width=Math.floor(a.width*a.scale),s.canvas.height=Math.floor(a.height*a.scale),s.canvas.style.width=a.width+"px",s.canvas.style.height=a.height+"px"),s.fontMetrics=new X0(document),s.ctx.scale(s.options.scale,s.options.scale),s.ctx.translate(-a.x,-a.y),s.ctx.textBaseline="bottom",s._activeEffects=[],s.context.logger.debug("Canvas renderer initialized ("+a.width+"x"+a.height+") with scale "+a.scale),s}return r.prototype.applyEffects=function(t){for(var a=this;this._activeEffects.length;)this.popEffect();t.forEach(function(s){return a.applyEffect(s)})},r.prototype.applyEffect=function(t){this.ctx.save(),O0(t)&&(this.ctx.globalAlpha=t.opacity),S0(t)&&(this.ctx.translate(t.offsetX,t.offsetY),this.ctx.transform(t.matrix[0],t.matrix[1],t.matrix[2],t.matrix[3],t.matrix[4],t.matrix[5]),this.ctx.translate(-t.offsetX,-t.offsetY)),sB(t)&&(this.path(t.path),this.ctx.clip()),this._activeEffects.push(t)},r.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},r.prototype.renderStack=function(t){return Fe(this,void 0,void 0,function(){var a;return Ce(this,function(s){switch(s.label){case 0:return a=t.element.container.styles,a.isVisible()?[4,this.renderStackContent(t)]:[3,2];case 1:s.sent(),s.label=2;case 2:return[2]}})})},r.prototype.renderNode=function(t){return Fe(this,void 0,void 0,function(){return Ce(this,function(a){switch(a.label){case 0:if(ee(t.container.flags,16))debugger;return t.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(t)]:[3,3];case 1:return a.sent(),[4,this.renderNodeContent(t)];case 2:a.sent(),a.label=3;case 3:return[2]}})})},r.prototype.renderTextWithLetterSpacing=function(t,a,s){var o=this;if(a===0)this.ctx.fillText(t.text,t.bounds.left,t.bounds.top+s);else{var l=Vs(t.text);l.reduce(function(B,c){return o.ctx.fillText(c,B,t.bounds.top+s),B+o.ctx.measureText(c).width},t.bounds.left)}},r.prototype.createFontStyle=function(t){var a=t.fontVariant.filter(function(l){return l==="normal"||l==="small-caps"}).join(""),s=j0(t.fontFamily).join(", "),o=vn(t.fontSize)?""+t.fontSize.number+t.fontSize.unit:t.fontSize.number+"px";return[[t.fontStyle,a,t.fontWeight,o,s].join(" "),s,o]},r.prototype.renderTextNode=function(t,a){return Fe(this,void 0,void 0,function(){var s,o,l,B,c,w,h,Q,F=this;return Ce(this,function(T){return s=this.createFontStyle(a),o=s[0],l=s[1],B=s[2],this.ctx.font=o,this.ctx.direction=a.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",c=this.fontMetrics.getMetrics(l,B),w=c.baseline,h=c.middle,Q=a.paintOrder,t.textBounds.forEach(function(S){Q.forEach(function(D){switch(D){case 0:F.ctx.fillStyle=ie(a.color),F.renderTextWithLetterSpacing(S,a.letterSpacing,w);var R=a.textShadow;R.length&&S.text.trim().length&&(R.slice(0).reverse().forEach(function(m){F.ctx.shadowColor=ie(m.color),F.ctx.shadowOffsetX=m.offsetX.number*F.options.scale,F.ctx.shadowOffsetY=m.offsetY.number*F.options.scale,F.ctx.shadowBlur=m.blur.number,F.renderTextWithLetterSpacing(S,a.letterSpacing,w)}),F.ctx.shadowColor="",F.ctx.shadowOffsetX=0,F.ctx.shadowOffsetY=0,F.ctx.shadowBlur=0),a.textDecorationLine.length&&(F.ctx.fillStyle=ie(a.textDecorationColor||a.color),a.textDecorationLine.forEach(function(m){switch(m){case 1:F.ctx.fillRect(S.bounds.left,Math.round(S.bounds.top+w),S.bounds.width,1);break;case 2:F.ctx.fillRect(S.bounds.left,Math.round(S.bounds.top),S.bounds.width,1);break;case 3:F.ctx.fillRect(S.bounds.left,Math.ceil(S.bounds.top+h),S.bounds.width,1);break}}));break;case 1:a.webkitTextStrokeWidth&&S.text.trim().length&&(F.ctx.strokeStyle=ie(a.webkitTextStrokeColor),F.ctx.lineWidth=a.webkitTextStrokeWidth,F.ctx.lineJoin=window.chrome?"miter":"round",F.ctx.strokeText(S.text,S.bounds.left,S.bounds.top+w)),F.ctx.strokeStyle="",F.ctx.lineWidth=0,F.ctx.lineJoin="miter";break}})}),[2]})})},r.prototype.renderReplacedElement=function(t,a,s){if(s&&t.intrinsicWidth>0&&t.intrinsicHeight>0){var o=qa(t),l=Ja(a);this.path(l),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(s,0,0,t.intrinsicWidth,t.intrinsicHeight,o.left,o.top,o.width,o.height),this.ctx.restore()}},r.prototype.renderNodeContent=function(t){return Fe(this,void 0,void 0,function(){var a,s,o,l,B,c,_,_,w,h,Q,F,L,T,S,H,D,R,m,_,x,L,H;return Ce(this,function(b){switch(b.label){case 0:this.applyEffects(t.getEffects(4)),a=t.container,s=t.curves,o=a.styles,l=0,B=a.textNodes,b.label=1;case 1:return l<B.length?(c=B[l],[4,this.renderTextNode(c,o)]):[3,4];case 2:b.sent(),b.label=3;case 3:return l++,[3,1];case 4:if(!(a instanceof Dc))return[3,8];b.label=5;case 5:return b.trys.push([5,7,,8]),[4,this.context.cache.match(a.src)];case 6:return _=b.sent(),this.renderReplacedElement(a,s,_),[3,8];case 7:return b.sent(),this.context.logger.error("Error loading image "+a.src),[3,8];case 8:if(a instanceof Sc&&this.renderReplacedElement(a,s,a.canvas),!(a instanceof Oc))return[3,12];b.label=9;case 9:return b.trys.push([9,11,,12]),[4,this.context.cache.match(a.svg)];case 10:return _=b.sent(),this.renderReplacedElement(a,s,_),[3,12];case 11:return b.sent(),this.context.logger.error("Error loading svg "+a.svg.substring(0,255)),[3,12];case 12:return a instanceof Rc&&a.tree?(w=new r(this.context,{scale:this.options.scale,backgroundColor:a.backgroundColor,x:0,y:0,width:a.width,height:a.height}),[4,w.render(a.tree)]):[3,14];case 13:h=b.sent(),a.width&&a.height&&this.ctx.drawImage(h,0,0,a.width,a.height,a.bounds.left,a.bounds.top,a.bounds.width,a.bounds.height),b.label=14;case 14:if(a instanceof Ps&&(Q=Math.min(a.bounds.width,a.bounds.height),a.type===Ra?a.checked&&(this.ctx.save(),this.path([new J(a.bounds.left+Q*.39363,a.bounds.top+Q*.79),new J(a.bounds.left+Q*.16,a.bounds.top+Q*.5549),new J(a.bounds.left+Q*.27347,a.bounds.top+Q*.44071),new J(a.bounds.left+Q*.39694,a.bounds.top+Q*.5649),new J(a.bounds.left+Q*.72983,a.bounds.top+Q*.23),new J(a.bounds.left+Q*.84,a.bounds.top+Q*.34085),new J(a.bounds.left+Q*.39363,a.bounds.top+Q*.79)]),this.ctx.fillStyle=ie(xc),this.ctx.fill(),this.ctx.restore()):a.type===Va&&a.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(a.bounds.left+Q/2,a.bounds.top+Q/2,Q/4,0,Math.PI*2,!0),this.ctx.fillStyle=ie(xc),this.ctx.fill(),this.ctx.restore())),$0(a)&&a.value.length){switch(F=this.createFontStyle(o),L=F[0],T=F[1],S=this.fontMetrics.getMetrics(L,T).baseline,this.ctx.font=L,this.ctx.fillStyle=ie(o.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=q0(a.styles.textAlign),H=qa(a),D=0,a.styles.textAlign){case 1:D+=H.width/2;break;case 2:D+=H.width;break}R=H.add(D,0,0,-H.height/2+1),this.ctx.save(),this.path([new J(H.left,H.top),new J(H.left+H.width,H.top),new J(H.left+H.width,H.top+H.height),new J(H.left,H.top+H.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new bn(a.value,R),o.letterSpacing,S),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!ee(a.styles.display,2048))return[3,20];if(a.styles.listStyleImage===null)return[3,19];if(m=a.styles.listStyleImage,m.type!==0)return[3,18];_=void 0,x=m.url,b.label=15;case 15:return b.trys.push([15,17,,18]),[4,this.context.cache.match(x)];case 16:return _=b.sent(),this.ctx.drawImage(_,a.bounds.left-(_.width+10),a.bounds.top),[3,18];case 17:return b.sent(),this.context.logger.error("Error loading list-style-image "+x),[3,18];case 18:return[3,20];case 19:t.listValue&&a.styles.listStyleType!==-1&&(L=this.createFontStyle(o)[0],this.ctx.font=L,this.ctx.fillStyle=ie(o.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",H=new Tt(a.bounds.left,a.bounds.top+DA(a.styles.paddingTop,a.bounds.width),a.bounds.width,gc(o.lineHeight,o.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new bn(t.listValue,H),o.letterSpacing,gc(o.lineHeight,o.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),b.label=20;case 20:return[2]}})})},r.prototype.renderStackContent=function(t){return Fe(this,void 0,void 0,function(){var a,s,m,o,l,m,B,c,m,w,h,m,Q,F,m,T,S,m,D,R,m;return Ce(this,function(_){switch(_.label){case 0:if(ee(t.element.container.flags,16))debugger;return[4,this.renderNodeBackgroundAndBorders(t.element)];case 1:_.sent(),a=0,s=t.negativeZIndex,_.label=2;case 2:return a<s.length?(m=s[a],[4,this.renderStack(m)]):[3,5];case 3:_.sent(),_.label=4;case 4:return a++,[3,2];case 5:return[4,this.renderNodeContent(t.element)];case 6:_.sent(),o=0,l=t.nonInlineLevel,_.label=7;case 7:return o<l.length?(m=l[o],[4,this.renderNode(m)]):[3,10];case 8:_.sent(),_.label=9;case 9:return o++,[3,7];case 10:B=0,c=t.nonPositionedFloats,_.label=11;case 11:return B<c.length?(m=c[B],[4,this.renderStack(m)]):[3,14];case 12:_.sent(),_.label=13;case 13:return B++,[3,11];case 14:w=0,h=t.nonPositionedInlineLevel,_.label=15;case 15:return w<h.length?(m=h[w],[4,this.renderStack(m)]):[3,18];case 16:_.sent(),_.label=17;case 17:return w++,[3,15];case 18:Q=0,F=t.inlineLevel,_.label=19;case 19:return Q<F.length?(m=F[Q],[4,this.renderNode(m)]):[3,22];case 20:_.sent(),_.label=21;case 21:return Q++,[3,19];case 22:T=0,S=t.zeroOrAutoZIndexOrTransformedOrOpacity,_.label=23;case 23:return T<S.length?(m=S[T],[4,this.renderStack(m)]):[3,26];case 24:_.sent(),_.label=25;case 25:return T++,[3,23];case 26:D=0,R=t.positiveZIndex,_.label=27;case 27:return D<R.length?(m=R[D],[4,this.renderStack(m)]):[3,30];case 28:_.sent(),_.label=29;case 29:return D++,[3,27];case 30:return[2]}})})},r.prototype.mask=function(t){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(t.slice(0).reverse()),this.ctx.closePath()},r.prototype.path=function(t){this.ctx.beginPath(),this.formatPath(t),this.ctx.closePath()},r.prototype.formatPath=function(t){var a=this;t.forEach(function(s,o){var l=Ze(s)?s.start:s;o===0?a.ctx.moveTo(l.x,l.y):a.ctx.lineTo(l.x,l.y),Ze(s)&&a.ctx.bezierCurveTo(s.startControl.x,s.startControl.y,s.endControl.x,s.endControl.y,s.end.x,s.end.y)})},r.prototype.renderRepeat=function(t,a,s,o){this.path(t),this.ctx.fillStyle=a,this.ctx.translate(s,o),this.ctx.fill(),this.ctx.translate(-s,-o)},r.prototype.resizeImage=function(t,a,s){var o;if(t.width===a&&t.height===s)return t;var l=(o=this.canvas.ownerDocument)!==null&&o!==void 0?o:document,B=l.createElement("canvas");B.width=Math.max(1,a),B.height=Math.max(1,s);var c=B.getContext("2d");return c.drawImage(t,0,0,t.width,t.height,0,0,a,s),B},r.prototype.renderBackgroundImage=function(t){return Fe(this,void 0,void 0,function(){var a,s,o,l,B,c;return Ce(this,function(w){switch(w.label){case 0:a=t.styles.backgroundImage.length-1,s=function(h){var Q,F,T,AA,QA,pA,sA,IA,$,S,AA,QA,pA,sA,IA,D,R,m,_,x,L,H,b,V,$,k,AA,fA,mA,sA,IA,PA,QA,pA,_A,zA,te,RA,Ee,ce,me,kA;return Ce(this,function(Be){switch(Be.label){case 0:if(h.type!==0)return[3,5];Q=void 0,F=h.url,Be.label=1;case 1:return Be.trys.push([1,3,,4]),[4,o.context.cache.match(F)];case 2:return Q=Be.sent(),[3,4];case 3:return Be.sent(),o.context.logger.error("Error loading background-image "+F),[3,4];case 4:return Q&&(T=Ao(t,a,[Q.width,Q.height,Q.width/Q.height]),AA=T[0],QA=T[1],pA=T[2],sA=T[3],IA=T[4],$=o.ctx.createPattern(o.resizeImage(Q,sA,IA),"repeat"),o.renderRepeat(AA,$,QA,pA)),[3,6];case 5:SU(h)?(S=Ao(t,a,[null,null,null]),AA=S[0],QA=S[1],pA=S[2],sA=S[3],IA=S[4],D=HU(h.angle,sA,IA),R=D[0],m=D[1],_=D[2],x=D[3],L=D[4],H=document.createElement("canvas"),H.width=sA,H.height=IA,b=H.getContext("2d"),V=b.createLinearGradient(m,x,_,L),rc(h.stops,R).forEach(function(Ne){return V.addColorStop(Ne.stop,ie(Ne.color))}),b.fillStyle=V,b.fillRect(0,0,sA,IA),sA>0&&IA>0&&($=o.ctx.createPattern(H,"repeat"),o.renderRepeat(AA,$,QA,pA))):OU(h)&&(k=Ao(t,a,[null,null,null]),AA=k[0],fA=k[1],mA=k[2],sA=k[3],IA=k[4],PA=h.position.length===0?[vs]:h.position,QA=DA(PA[0],sA),pA=DA(PA[PA.length-1],IA),_A=LU(h,QA,pA,sA,IA),zA=_A[0],te=_A[1],zA>0&&te>0&&(RA=o.ctx.createRadialGradient(fA+QA,mA+pA,0,fA+QA,mA+pA,zA),rc(h.stops,zA*2).forEach(function(Ne){return RA.addColorStop(Ne.stop,ie(Ne.color))}),o.path(AA),o.ctx.fillStyle=RA,zA!==te?(Ee=t.bounds.left+.5*t.bounds.width,ce=t.bounds.top+.5*t.bounds.height,me=te/zA,kA=1/me,o.ctx.save(),o.ctx.translate(Ee,ce),o.ctx.transform(1,0,0,me,0,0),o.ctx.translate(-Ee,-ce),o.ctx.fillRect(fA,kA*(mA-ce)+ce,sA,IA*kA),o.ctx.restore()):o.ctx.fill())),Be.label=6;case 6:return a--,[2]}})},o=this,l=0,B=t.styles.backgroundImage.slice(0).reverse(),w.label=1;case 1:return l<B.length?(c=B[l],[5,s(c)]):[3,4];case 2:w.sent(),w.label=3;case 3:return l++,[3,1];case 4:return[2]}})})},r.prototype.renderSolidBorder=function(t,a,s){return Fe(this,void 0,void 0,function(){return Ce(this,function(o){return this.path(BB(s,a)),this.ctx.fillStyle=ie(t),this.ctx.fill(),[2]})})},r.prototype.renderDoubleBorder=function(t,a,s,o){return Fe(this,void 0,void 0,function(){var l,B;return Ce(this,function(c){switch(c.label){case 0:return a<3?[4,this.renderSolidBorder(t,s,o)]:[3,2];case 1:return c.sent(),[2];case 2:return l=N0(o,s),this.path(l),this.ctx.fillStyle=ie(t),this.ctx.fill(),B=M0(o,s),this.path(B),this.ctx.fill(),[2]}})})},r.prototype.renderNodeBackgroundAndBorders=function(t){return Fe(this,void 0,void 0,function(){var a,s,o,l,B,c,w,h,Q=this;return Ce(this,function(F){switch(F.label){case 0:return this.applyEffects(t.getEffects(2)),a=t.container.styles,s=!Ar(a.backgroundColor)||a.backgroundImage.length,o=[{style:a.borderTopStyle,color:a.borderTopColor,width:a.borderTopWidth},{style:a.borderRightStyle,color:a.borderRightColor,width:a.borderRightWidth},{style:a.borderBottomStyle,color:a.borderBottomColor,width:a.borderBottomWidth},{style:a.borderLeftStyle,color:a.borderLeftColor,width:a.borderLeftWidth}],l=Z0(kr(a.backgroundClip,0),t.curves),s||a.boxShadow.length?(this.ctx.save(),this.path(l),this.ctx.clip(),Ar(a.backgroundColor)||(this.ctx.fillStyle=ie(a.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(t.container)]):[3,2];case 1:F.sent(),this.ctx.restore(),a.boxShadow.slice(0).reverse().forEach(function(T){Q.ctx.save();var S=Ya(t.curves),D=T.inset?0:Y0,R=K0(S,-D+(T.inset?1:-1)*T.spread.number,(T.inset?1:-1)*T.spread.number,T.spread.number*(T.inset?-2:2),T.spread.number*(T.inset?-2:2));T.inset?(Q.path(S),Q.ctx.clip(),Q.mask(R)):(Q.mask(S),Q.ctx.clip(),Q.path(R)),Q.ctx.shadowOffsetX=T.offsetX.number+D,Q.ctx.shadowOffsetY=T.offsetY.number,Q.ctx.shadowColor=ie(T.color),Q.ctx.shadowBlur=T.blur.number,Q.ctx.fillStyle=T.inset?ie(T.color):"rgba(0,0,0,1)",Q.ctx.fill(),Q.ctx.restore()}),F.label=2;case 2:B=0,c=0,w=o,F.label=3;case 3:return c<w.length?(h=w[c],h.style!==0&&!Ar(h.color)&&h.width>0?h.style!==2?[3,5]:[4,this.renderDashedDottedBorder(h.color,h.width,B,t.curves,2)]:[3,11]):[3,13];case 4:return F.sent(),[3,11];case 5:return h.style!==3?[3,7]:[4,this.renderDashedDottedBorder(h.color,h.width,B,t.curves,3)];case 6:return F.sent(),[3,11];case 7:return h.style!==4?[3,9]:[4,this.renderDoubleBorder(h.color,h.width,B,t.curves)];case 8:return F.sent(),[3,11];case 9:return[4,this.renderSolidBorder(h.color,B,t.curves)];case 10:F.sent(),F.label=11;case 11:B++,F.label=12;case 12:return c++,[3,3];case 13:return[2]}})})},r.prototype.renderDashedDottedBorder=function(t,a,s,o,l){return Fe(this,void 0,void 0,function(){var B,c,w,h,Q,F,T,S,D,R,m,_,x,L,H,b,H,b;return Ce(this,function(V){return this.ctx.save(),B=R0(o,s),c=BB(o,s),l===2&&(this.path(c),this.ctx.clip()),Ze(c[0])?(w=c[0].start.x,h=c[0].start.y):(w=c[0].x,h=c[0].y),Ze(c[1])?(Q=c[1].end.x,F=c[1].end.y):(Q=c[1].x,F=c[1].y),s===0||s===2?T=Math.abs(w-Q):T=Math.abs(h-F),this.ctx.beginPath(),l===3?this.formatPath(B):this.formatPath(c.slice(0,2)),S=a<3?a*3:a*2,D=a<3?a*2:a,l===3&&(S=a,D=a),R=!0,T<=S*2?R=!1:T<=S*2+D?(m=T/(2*S+D),S*=m,D*=m):(_=Math.floor((T+D)/(S+D)),x=(T-_*S)/(_-1),L=(T-(_+1)*S)/_,D=L<=0||Math.abs(D-x)<Math.abs(D-L)?x:L),R&&(l===3?this.ctx.setLineDash([0,S+D]):this.ctx.setLineDash([S,D])),l===3?(this.ctx.lineCap="round",this.ctx.lineWidth=a):this.ctx.lineWidth=a*2+1.1,this.ctx.strokeStyle=ie(t),this.ctx.stroke(),this.ctx.setLineDash([]),l===2&&(Ze(c[0])&&(H=c[3],b=c[0],this.ctx.beginPath(),this.formatPath([new J(H.end.x,H.end.y),new J(b.start.x,b.start.y)]),this.ctx.stroke()),Ze(c[1])&&(H=c[1],b=c[2],this.ctx.beginPath(),this.formatPath([new J(H.end.x,H.end.y),new J(b.start.x,b.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},r.prototype.render=function(t){return Fe(this,void 0,void 0,function(){var a;return Ce(this,function(s){switch(s.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=ie(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),a=x0(t),[4,this.renderStack(a)];case 1:return s.sent(),this.applyEffects([]),[2,this.canvas]}})})},r}(dB),$0=function(e){return e instanceof Mc||e instanceof Nc?!0:e instanceof Ps&&e.type!==Va&&e.type!==Ra},Z0=function(e,r){switch(e){case 0:return Ya(r);case 2:return b0(r);case 1:default:return Ja(r)}},q0=function(e){switch(e){case 1:return"center";case 2:return"right";case 0:default:return"left"}},z0=["-apple-system","system-ui"],j0=function(e){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?e.filter(function(r){return z0.indexOf(r)===-1}):e},AE=function(e){ot(r,e);function r(t,a){var s=e.call(this,t,a)||this;return s.canvas=a.canvas?a.canvas:document.createElement("canvas"),s.ctx=s.canvas.getContext("2d"),s.options=a,s.canvas.width=Math.floor(a.width*a.scale),s.canvas.height=Math.floor(a.height*a.scale),s.canvas.style.width=a.width+"px",s.canvas.style.height=a.height+"px",s.ctx.scale(s.options.scale,s.options.scale),s.ctx.translate(-a.x,-a.y),s.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+a.width+"x"+a.height+" at "+a.x+","+a.y+") with scale "+a.scale),s}return r.prototype.render=function(t){return Fe(this,void 0,void 0,function(){var a,s;return Ce(this,function(o){switch(o.label){case 0:return a=Rs(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,t),[4,eE(a)];case 1:return s=o.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=ie(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(s,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},r}(dB),eE=function(e){return new Promise(function(r,t){var a=new Image;a.onload=function(){r(a)},a.onerror=t,a.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(e))})},tE=function(){function e(r){var t=r.id,a=r.enabled;this.id=t,this.enabled=a,this.start=Date.now()}return e.prototype.debug=function(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];this.enabled&&(typeof window<"u"&&window.console&&typeof console.debug=="function"?console.debug.apply(console,ia([this.id,this.getTime()+"ms"],r)):this.info.apply(this,r))},e.prototype.getTime=function(){return Date.now()-this.start},e.prototype.info=function(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];this.enabled&&typeof window<"u"&&window.console&&typeof console.info=="function"&&console.info.apply(console,ia([this.id,this.getTime()+"ms"],r))},e.prototype.warn=function(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];this.enabled&&(typeof window<"u"&&window.console&&typeof console.warn=="function"?console.warn.apply(console,ia([this.id,this.getTime()+"ms"],r)):this.info.apply(this,r))},e.prototype.error=function(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];this.enabled&&(typeof window<"u"&&window.console&&typeof console.error=="function"?console.error.apply(console,ia([this.id,this.getTime()+"ms"],r)):this.info.apply(this,r))},e.instances={},e}(),rE=function(){function e(r,t){var a;this.windowBounds=t,this.instanceName="#"+e.instanceCount++,this.logger=new tE({id:this.instanceName,enabled:r.logging}),this.cache=(a=r.cache)!==null&&a!==void 0?a:new E0(this,r)}return e.instanceCount=1,e}(),nE=function(e,r){return r===void 0&&(r={}),aE(e,r)};typeof window<"u"&&iB.setContext(window);var aE=function(e,r){return Fe(void 0,void 0,void 0,function(){var t,a,s,o,l,B,c,w,h,Q,F,T,S,D,R,m,_,x,L,H,V,b,V,$,k,AA,fA,mA,sA,IA,PA,QA,pA,_A,zA,te,RA,Ee,ce,me;return Ce(this,function(kA){switch(kA.label){case 0:if(!e||typeof e!="object")return[2,Promise.reject("Invalid element provided as first argument")];if(t=e.ownerDocument,!t)throw new Error("Element is not attached to a Document");if(a=t.defaultView,!a)throw new Error("Document is not attached to a Window");return s={allowTaint:($=r.allowTaint)!==null&&$!==void 0?$:!1,imageTimeout:(k=r.imageTimeout)!==null&&k!==void 0?k:15e3,proxy:r.proxy,useCORS:(AA=r.useCORS)!==null&&AA!==void 0?AA:!1},o=as({logging:(fA=r.logging)!==null&&fA!==void 0?fA:!0,cache:r.cache},s),l={windowWidth:(mA=r.windowWidth)!==null&&mA!==void 0?mA:a.innerWidth,windowHeight:(sA=r.windowHeight)!==null&&sA!==void 0?sA:a.innerHeight,scrollX:(IA=r.scrollX)!==null&&IA!==void 0?IA:a.pageXOffset,scrollY:(PA=r.scrollY)!==null&&PA!==void 0?PA:a.pageYOffset},B=new Tt(l.scrollX,l.scrollY,l.windowWidth,l.windowHeight),c=new rE(o,B),w=(QA=r.foreignObjectRendering)!==null&&QA!==void 0?QA:!1,h={allowTaint:(pA=r.allowTaint)!==null&&pA!==void 0?pA:!1,onclone:r.onclone,ignoreElements:r.ignoreElements,inlineImages:w,copyStyles:w},c.logger.debug("Starting document clone with size "+B.width+"x"+B.height+" scrolled to "+-B.left+","+-B.top),Q=new nB(c,e,h),F=Q.clonedReferenceElement,F?[4,Q.toIFrame(t,B)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return T=kA.sent(),S=Ws(F)||i0(F)?Kh(F.ownerDocument):sa(c,F),D=S.width,R=S.height,m=S.left,_=S.top,x=iE(c,F,r.backgroundColor),L={canvas:r.canvas,backgroundColor:x,scale:(zA=(_A=r.scale)!==null&&_A!==void 0?_A:a.devicePixelRatio)!==null&&zA!==void 0?zA:1,x:((te=r.x)!==null&&te!==void 0?te:0)+m,y:((RA=r.y)!==null&&RA!==void 0?RA:0)+_,width:(Ee=r.width)!==null&&Ee!==void 0?Ee:Math.ceil(D),height:(ce=r.height)!==null&&ce!==void 0?ce:Math.ceil(R)},w?(c.logger.debug("Document cloned, using foreign object rendering"),V=new AE(c,L),[4,V.render(F)]):[3,3];case 2:return H=kA.sent(),[3,5];case 3:return c.logger.debug("Document cloned, element located at "+m+","+_+" with size "+D+"x"+R+" using computed rendering"),c.logger.debug("Starting DOM parsing"),b=Gc(c,F),x===b.styles.backgroundColor&&(b.styles.backgroundColor=St.TRANSPARENT),c.logger.debug("Starting renderer for element at "+L.x+","+L.y+" with size "+L.width+"x"+L.height),V=new J0(c,L),[4,V.render(b)];case 4:H=kA.sent(),kA.label=5;case 5:return(!((me=r.removeContainer)!==null&&me!==void 0)||me)&&(nB.destroy(T)||c.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),c.logger.debug("Finished rendering"),[2,H]}})})},iE=function(e,r,t){var a=r.ownerDocument,s=a.documentElement?yn(e,getComputedStyle(a.documentElement).backgroundColor):St.TRANSPARENT,o=a.body?yn(e,getComputedStyle(a.body).backgroundColor):St.TRANSPARENT,l=typeof t=="string"?yn(e,t):t===null?St.TRANSPARENT:4294967295;return r===a.documentElement?Ar(s)?Ar(o)?l:o:s:l};const sE=f.defineComponent({__name:"dom-renderer",props:{modelValue:{type:String,default:""},fixedWidth:{type:Number,default:0},renderUpdates:{type:Boolean,default:!1},exportToSvg:{type:Boolean,default:!1},debug:{type:Boolean,default:!0}},setup(e){const r=e,t=f.ref(),a=f.ref(""),s=f.ref();async function o(){if(t.value){const B=t.value,w=(await nE(B.firstElementChild,{backgroundColor:"rgba(0, 0, 0, 0)",scale:1,width:B.offsetWidth,height:B.offsetHeight})).toDataURL();if(r.debug){const h=new Image;h.src=w,document.body.appendChild(h)}return w}return""}const l=fn.debounce(async()=>{a.value=await o()},300,{trailing:!0,leading:!1});return f.onMounted(()=>{const B=t.value;r.renderUpdates&&(s.value=new MutationObserver(async c=>{l()}),s.value.observe(B,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),setTimeout(()=>{l()},500)}),(B,c)=>(f.openBlock(),f.createElementBlock("div",{class:f.normalizeClass(["dom-renderer",{"off-screen":!e.debug}]),ref_key:"renderer",ref:t,style:f.normalizeStyle(e.fixedWidth>0?{width:`${e.fixedWidth}px`}:{})},[f.renderSlot(B.$slots,"default")],6))}}),oE={class:"base-form"},lE=["onSubmit"],uE=f.defineComponent({__name:"base-form",props:{id:null,name:null,variant:null,disabled:{type:Boolean},pending:{type:Boolean}},setup(e){function r(s){console.log("input",s)}function t(s){console.log("reset",s)}function a(s){console.log("submit",s)}return(s,o)=>(f.openBlock(),f.createElementBlock("div",oE,[f.createElementVNode("form",{ref:"form",onInput:r,onReset:t,onSubmit:f.withModifiers(a,["prevent"])},[f.renderSlot(s.$slots,"default")],40,lE)]))}}),i1="";HA.AssetUploader=Ch,HA.BaseButton=nd,HA.BaseCamera=jC,HA.BaseCarousel=fu,HA.BaseForm=uE,HA.BaseHeadline=ed,HA.BaseInput=od,HA.BaseParagraph=td,HA.CheckGroup=Ud,HA.DomRenderer=sE,HA.FileUpload=ih,HA.InputCheckbox=wd,HA.InputColor=xd,HA.InputDropdown=bC,HA.InputFile=Dd,HA.InputTextarea=Bd,HA.LoadingSpinner=Ad,HA.MediaThumbnails=vh,HA.ProgressSteps=Oh,HA.RadioGroup=Id,HA.SvgIcon=Jg,HA.UploadGroup=Bu,Object.defineProperty(HA,Symbol.toStringTag,{value:"Module"})});
183
+ }`,F_=function(t){U_(t,"."+Qf+Q_+Lw+`
184
+ .`+Ef+E_+Lw)},U_=function(t,A){var e=t.ownerDocument;if(e){var n=e.createElement("style");n.textContent=A,t.appendChild(n)}},Ow=function(){function t(){}return t.getOrigin=function(A){var e=t._link;return e?(e.href=A,e.href=e.href,e.protocol+e.hostname+e.port):"about:blank"},t.isSameOrigin=function(A){return t.getOrigin(A)===t._origin},t.setContext=function(A){t._link=A.document.createElement("a"),t._origin=t.getOrigin(A.location.href)},t._origin="about:blank",t}(),v_=function(){function t(A,e){this.context=A,this._options=e,this._cache={}}return t.prototype.addImage=function(A){var e=Promise.resolve();return this.has(A)||(Uf(A)||T_(A))&&(this._cache[A]=this.loadImage(A)).catch(function(){}),e},t.prototype.match=function(A){return this._cache[A]},t.prototype.loadImage=function(A){return rt(this,void 0,void 0,function(){var e,n,r,i,s=this;return Xe(this,function(a){switch(a.label){case 0:return e=Ow.isSameOrigin(A),n=!Ff(A)&&this._options.useCORS===!0&&De.SUPPORT_CORS_IMAGES&&!e,r=!Ff(A)&&!e&&!Uf(A)&&typeof this._options.proxy=="string"&&De.SUPPORT_CORS_XHR&&!n,!e&&this._options.allowTaint===!1&&!Ff(A)&&!Uf(A)&&!r&&!n?[2]:(i=A,r?[4,this.proxy(i)]:[3,2]);case 1:i=a.sent(),a.label=2;case 2:return this.context.logger.debug("Added image "+A.substring(0,256)),[4,new Promise(function(c,u){var d=new Image;d.onload=function(){return c(d)},d.onerror=u,(x_(i)||n)&&(d.crossOrigin="anonymous"),d.src=i,d.complete===!0&&setTimeout(function(){return c(d)},500),s._options.imageTimeout>0&&setTimeout(function(){return u("Timed out ("+s._options.imageTimeout+"ms) loading image")},s._options.imageTimeout)})];case 3:return[2,a.sent()]}})})},t.prototype.has=function(A){return typeof this._cache[A]<"u"},t.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},t.prototype.proxy=function(A){var e=this,n=this._options.proxy;if(!n)throw new Error("No proxy defined");var r=A.substring(0,256);return new Promise(function(i,s){var a=De.SUPPORT_RESPONSE_TYPE?"blob":"text",c=new XMLHttpRequest;c.onload=function(){if(c.status===200)if(a==="text")i(c.response);else{var h=new FileReader;h.addEventListener("load",function(){return i(h.result)},!1),h.addEventListener("error",function(B){return s(B)},!1),h.readAsDataURL(c.response)}else s("Failed to proxy resource "+r+" with status code "+c.status)},c.onerror=s;var u=n.indexOf("?")>-1?"&":"?";if(c.open("GET",""+n+u+"url="+encodeURIComponent(A)+"&responseType="+a),a!=="text"&&c instanceof XMLHttpRequest&&(c.responseType=a),e._options.imageTimeout){var d=e._options.imageTimeout;c.timeout=d,c.ontimeout=function(){return s("Timed out ("+d+"ms) proxying "+r)}}c.send()})},t}(),b_=/^data:image\/svg\+xml/i,I_=/^data:image\/.*;base64,/i,S_=/^data:image\/.*/i,T_=function(t){return De.SUPPORT_SVG_DRAWING||!H_(t)},Ff=function(t){return S_.test(t)},x_=function(t){return I_.test(t)},Uf=function(t){return t.substr(0,4)==="blob"},H_=function(t){return t.substr(-3).toLowerCase()==="svg"||b_.test(t)},Z=function(){function t(A,e){this.type=0,this.x=A,this.y=e}return t.prototype.add=function(A,e){return new t(this.x+A,this.y+e)},t}(),$i=function(t,A,e){return new Z(t.x+(A.x-t.x)*e,t.y+(A.y-t.y)*e)},tl=function(){function t(A,e,n,r){this.type=1,this.start=A,this.startControl=e,this.endControl=n,this.end=r}return t.prototype.subdivide=function(A,e){var n=$i(this.start,this.startControl,A),r=$i(this.startControl,this.endControl,A),i=$i(this.endControl,this.end,A),s=$i(n,r,A),a=$i(r,i,A),c=$i(s,a,A);return e?new t(this.start,n,s,c):new t(c,a,i,this.end)},t.prototype.add=function(A,e){return new t(this.start.add(A,e),this.startControl.add(A,e),this.endControl.add(A,e),this.end.add(A,e))},t.prototype.reverse=function(){return new t(this.end,this.endControl,this.startControl,this.start)},t}(),Pt=function(t){return t.type===1},L_=function(){function t(A){var e=A.styles,n=A.bounds,r=qs(e.borderTopLeftRadius,n.width,n.height),i=r[0],s=r[1],a=qs(e.borderTopRightRadius,n.width,n.height),c=a[0],u=a[1],d=qs(e.borderBottomRightRadius,n.width,n.height),h=d[0],B=d[1],m=qs(e.borderBottomLeftRadius,n.width,n.height),C=m[0],E=m[1],S=[];S.push((i+c)/n.width),S.push((C+h)/n.width),S.push((s+E)/n.height),S.push((u+B)/n.height);var U=Math.max.apply(Math,S);U>1&&(i/=U,s/=U,c/=U,u/=U,h/=U,B/=U,C/=U,E/=U);var b=n.width-c,M=n.height-B,F=n.width-h,T=n.height-E,L=e.borderTopWidth,N=e.borderRightWidth,W=e.borderBottomWidth,J=e.borderLeftWidth,eA=YA(e.paddingTop,A.bounds.width),gA=YA(e.paddingRight,A.bounds.width),wA=YA(e.paddingBottom,A.bounds.width),aA=YA(e.paddingLeft,A.bounds.width);this.topLeftBorderDoubleOuterBox=i>0||s>0?te(n.left+J/3,n.top+L/3,i-J/3,s-L/3,NA.TOP_LEFT):new Z(n.left+J/3,n.top+L/3),this.topRightBorderDoubleOuterBox=i>0||s>0?te(n.left+b,n.top+L/3,c-N/3,u-L/3,NA.TOP_RIGHT):new Z(n.left+n.width-N/3,n.top+L/3),this.bottomRightBorderDoubleOuterBox=h>0||B>0?te(n.left+F,n.top+M,h-N/3,B-W/3,NA.BOTTOM_RIGHT):new Z(n.left+n.width-N/3,n.top+n.height-W/3),this.bottomLeftBorderDoubleOuterBox=C>0||E>0?te(n.left+J/3,n.top+T,C-J/3,E-W/3,NA.BOTTOM_LEFT):new Z(n.left+J/3,n.top+n.height-W/3),this.topLeftBorderDoubleInnerBox=i>0||s>0?te(n.left+J*2/3,n.top+L*2/3,i-J*2/3,s-L*2/3,NA.TOP_LEFT):new Z(n.left+J*2/3,n.top+L*2/3),this.topRightBorderDoubleInnerBox=i>0||s>0?te(n.left+b,n.top+L*2/3,c-N*2/3,u-L*2/3,NA.TOP_RIGHT):new Z(n.left+n.width-N*2/3,n.top+L*2/3),this.bottomRightBorderDoubleInnerBox=h>0||B>0?te(n.left+F,n.top+M,h-N*2/3,B-W*2/3,NA.BOTTOM_RIGHT):new Z(n.left+n.width-N*2/3,n.top+n.height-W*2/3),this.bottomLeftBorderDoubleInnerBox=C>0||E>0?te(n.left+J*2/3,n.top+T,C-J*2/3,E-W*2/3,NA.BOTTOM_LEFT):new Z(n.left+J*2/3,n.top+n.height-W*2/3),this.topLeftBorderStroke=i>0||s>0?te(n.left+J/2,n.top+L/2,i-J/2,s-L/2,NA.TOP_LEFT):new Z(n.left+J/2,n.top+L/2),this.topRightBorderStroke=i>0||s>0?te(n.left+b,n.top+L/2,c-N/2,u-L/2,NA.TOP_RIGHT):new Z(n.left+n.width-N/2,n.top+L/2),this.bottomRightBorderStroke=h>0||B>0?te(n.left+F,n.top+M,h-N/2,B-W/2,NA.BOTTOM_RIGHT):new Z(n.left+n.width-N/2,n.top+n.height-W/2),this.bottomLeftBorderStroke=C>0||E>0?te(n.left+J/2,n.top+T,C-J/2,E-W/2,NA.BOTTOM_LEFT):new Z(n.left+J/2,n.top+n.height-W/2),this.topLeftBorderBox=i>0||s>0?te(n.left,n.top,i,s,NA.TOP_LEFT):new Z(n.left,n.top),this.topRightBorderBox=c>0||u>0?te(n.left+b,n.top,c,u,NA.TOP_RIGHT):new Z(n.left+n.width,n.top),this.bottomRightBorderBox=h>0||B>0?te(n.left+F,n.top+M,h,B,NA.BOTTOM_RIGHT):new Z(n.left+n.width,n.top+n.height),this.bottomLeftBorderBox=C>0||E>0?te(n.left,n.top+T,C,E,NA.BOTTOM_LEFT):new Z(n.left,n.top+n.height),this.topLeftPaddingBox=i>0||s>0?te(n.left+J,n.top+L,Math.max(0,i-J),Math.max(0,s-L),NA.TOP_LEFT):new Z(n.left+J,n.top+L),this.topRightPaddingBox=c>0||u>0?te(n.left+Math.min(b,n.width-N),n.top+L,b>n.width+N?0:Math.max(0,c-N),Math.max(0,u-L),NA.TOP_RIGHT):new Z(n.left+n.width-N,n.top+L),this.bottomRightPaddingBox=h>0||B>0?te(n.left+Math.min(F,n.width-J),n.top+Math.min(M,n.height-W),Math.max(0,h-N),Math.max(0,B-W),NA.BOTTOM_RIGHT):new Z(n.left+n.width-N,n.top+n.height-W),this.bottomLeftPaddingBox=C>0||E>0?te(n.left+J,n.top+Math.min(T,n.height-W),Math.max(0,C-J),Math.max(0,E-W),NA.BOTTOM_LEFT):new Z(n.left+J,n.top+n.height-W),this.topLeftContentBox=i>0||s>0?te(n.left+J+aA,n.top+L+eA,Math.max(0,i-(J+aA)),Math.max(0,s-(L+eA)),NA.TOP_LEFT):new Z(n.left+J+aA,n.top+L+eA),this.topRightContentBox=c>0||u>0?te(n.left+Math.min(b,n.width+J+aA),n.top+L+eA,b>n.width+J+aA?0:c-J+aA,u-(L+eA),NA.TOP_RIGHT):new Z(n.left+n.width-(N+gA),n.top+L+eA),this.bottomRightContentBox=h>0||B>0?te(n.left+Math.min(F,n.width-(J+aA)),n.top+Math.min(M,n.height+L+eA),Math.max(0,h-(N+gA)),B-(W+wA),NA.BOTTOM_RIGHT):new Z(n.left+n.width-(N+gA),n.top+n.height-(W+wA)),this.bottomLeftContentBox=C>0||E>0?te(n.left+J+aA,n.top+T,Math.max(0,C-(J+aA)),E-(W+wA),NA.BOTTOM_LEFT):new Z(n.left+J+aA,n.top+n.height-(W+wA))}return t}(),NA;(function(t){t[t.TOP_LEFT=0]="TOP_LEFT",t[t.TOP_RIGHT=1]="TOP_RIGHT",t[t.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",t[t.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(NA||(NA={}));var te=function(t,A,e,n,r){var i=4*((Math.sqrt(2)-1)/3),s=e*i,a=n*i,c=t+e,u=A+n;switch(r){case NA.TOP_LEFT:return new tl(new Z(t,u),new Z(t,u-a),new Z(c-s,A),new Z(c,A));case NA.TOP_RIGHT:return new tl(new Z(t,A),new Z(t+s,A),new Z(c,u-a),new Z(c,u));case NA.BOTTOM_RIGHT:return new tl(new Z(c,A),new Z(c,A+a),new Z(t+s,u),new Z(t,u));case NA.BOTTOM_LEFT:default:return new tl(new Z(c,u),new Z(c-s,u),new Z(t,A+a),new Z(t,A))}},nl=function(t){return[t.topLeftBorderBox,t.topRightBorderBox,t.bottomRightBorderBox,t.bottomLeftBorderBox]},O_=function(t){return[t.topLeftContentBox,t.topRightContentBox,t.bottomRightContentBox,t.bottomLeftContentBox]},rl=function(t){return[t.topLeftPaddingBox,t.topRightPaddingBox,t.bottomRightPaddingBox,t.bottomLeftPaddingBox]},__=function(){function t(A,e,n){this.offsetX=A,this.offsetY=e,this.matrix=n,this.type=0,this.target=6}return t}(),il=function(){function t(A,e){this.path=A,this.target=e,this.type=1}return t}(),M_=function(){function t(A){this.opacity=A,this.type=2,this.target=6}return t}(),D_=function(t){return t.type===0},_w=function(t){return t.type===1},k_=function(t){return t.type===2},Mw=function(t,A){return t.length===A.length?t.some(function(e,n){return e===A[n]}):!1},N_=function(t,A,e,n,r){return t.map(function(i,s){switch(s){case 0:return i.add(A,e);case 1:return i.add(A+n,e);case 2:return i.add(A+n,e+r);case 3:return i.add(A,e+r)}return i})},Dw=function(){function t(A){this.element=A,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return t}(),kw=function(){function t(A,e){if(this.container=A,this.parent=e,this.effects=[],this.curves=new L_(this.container),this.container.styles.opacity<1&&this.effects.push(new M_(this.container.styles.opacity)),this.container.styles.transform!==null){var n=this.container.bounds.left+this.container.styles.transformOrigin[0].number,r=this.container.bounds.top+this.container.styles.transformOrigin[1].number,i=this.container.styles.transform;this.effects.push(new __(n,r,i))}if(this.container.styles.overflowX!==0){var s=nl(this.curves),a=rl(this.curves);Mw(s,a)?this.effects.push(new il(s,6)):(this.effects.push(new il(s,2)),this.effects.push(new il(a,4)))}}return t.prototype.getEffects=function(A){for(var e=[2,3].indexOf(this.container.styles.position)===-1,n=this.parent,r=this.effects.slice(0);n;){var i=n.effects.filter(function(c){return!_w(c)});if(e||n.container.styles.position!==0||!n.parent){if(r.unshift.apply(r,i),e=[2,3].indexOf(n.container.styles.position)===-1,n.container.styles.overflowX!==0){var s=nl(n.curves),a=rl(n.curves);Mw(s,a)||r.unshift(new il(a,6))}}else r.unshift.apply(r,i);n=n.parent}return r.filter(function(c){return Ee(c.target,A)})},t}(),vf=function(t,A,e,n){t.container.elements.forEach(function(r){var i=Ee(r.flags,4),s=Ee(r.flags,2),a=new kw(r,t);Ee(r.styles.display,2048)&&n.push(a);var c=Ee(r.flags,8)?[]:n;if(i||s){var u=i||r.styles.isPositioned()?e:A,d=new Dw(a);if(r.styles.isPositioned()||r.styles.opacity<1||r.styles.isTransformed()){var h=r.styles.zIndex.order;if(h<0){var B=0;u.negativeZIndex.some(function(C,E){return h>C.element.container.styles.zIndex.order?(B=E,!1):B>0}),u.negativeZIndex.splice(B,0,d)}else if(h>0){var m=0;u.positiveZIndex.some(function(C,E){return h>=C.element.container.styles.zIndex.order?(m=E+1,!1):m>0}),u.positiveZIndex.splice(m,0,d)}else u.zeroOrAutoZIndexOrTransformedOrOpacity.push(d)}else r.styles.isFloating()?u.nonPositionedFloats.push(d):u.nonPositionedInlineLevel.push(d);vf(a,d,i?d:e,c)}else r.styles.isInlineLevel()?A.inlineLevel.push(a):A.nonInlineLevel.push(a),vf(a,A,e,c);Ee(r.flags,8)&&Nw(r,c)})},Nw=function(t,A){for(var e=t instanceof pf?t.start:1,n=t instanceof pf?t.reversed:!1,r=0;r<A.length;r++){var i=A[r];i.container instanceof cw&&typeof i.container.value=="number"&&i.container.value!==0&&(e=i.container.value),i.listValue=no(e,i.container.styles.listStyleType,!0),e+=n?-1:1}},R_=function(t){var A=new kw(t,null),e=new Dw(A),n=[];return vf(A,e,e,n),Nw(A.container,n),e},Rw=function(t,A){switch(A){case 0:return Vt(t.topLeftBorderBox,t.topLeftPaddingBox,t.topRightBorderBox,t.topRightPaddingBox);case 1:return Vt(t.topRightBorderBox,t.topRightPaddingBox,t.bottomRightBorderBox,t.bottomRightPaddingBox);case 2:return Vt(t.bottomRightBorderBox,t.bottomRightPaddingBox,t.bottomLeftBorderBox,t.bottomLeftPaddingBox);case 3:default:return Vt(t.bottomLeftBorderBox,t.bottomLeftPaddingBox,t.topLeftBorderBox,t.topLeftPaddingBox)}},K_=function(t,A){switch(A){case 0:return Vt(t.topLeftBorderBox,t.topLeftBorderDoubleOuterBox,t.topRightBorderBox,t.topRightBorderDoubleOuterBox);case 1:return Vt(t.topRightBorderBox,t.topRightBorderDoubleOuterBox,t.bottomRightBorderBox,t.bottomRightBorderDoubleOuterBox);case 2:return Vt(t.bottomRightBorderBox,t.bottomRightBorderDoubleOuterBox,t.bottomLeftBorderBox,t.bottomLeftBorderDoubleOuterBox);case 3:default:return Vt(t.bottomLeftBorderBox,t.bottomLeftBorderDoubleOuterBox,t.topLeftBorderBox,t.topLeftBorderDoubleOuterBox)}},P_=function(t,A){switch(A){case 0:return Vt(t.topLeftBorderDoubleInnerBox,t.topLeftPaddingBox,t.topRightBorderDoubleInnerBox,t.topRightPaddingBox);case 1:return Vt(t.topRightBorderDoubleInnerBox,t.topRightPaddingBox,t.bottomRightBorderDoubleInnerBox,t.bottomRightPaddingBox);case 2:return Vt(t.bottomRightBorderDoubleInnerBox,t.bottomRightPaddingBox,t.bottomLeftBorderDoubleInnerBox,t.bottomLeftPaddingBox);case 3:default:return Vt(t.bottomLeftBorderDoubleInnerBox,t.bottomLeftPaddingBox,t.topLeftBorderDoubleInnerBox,t.topLeftPaddingBox)}},V_=function(t,A){switch(A){case 0:return sl(t.topLeftBorderStroke,t.topRightBorderStroke);case 1:return sl(t.topRightBorderStroke,t.bottomRightBorderStroke);case 2:return sl(t.bottomRightBorderStroke,t.bottomLeftBorderStroke);case 3:default:return sl(t.bottomLeftBorderStroke,t.topLeftBorderStroke)}},sl=function(t,A){var e=[];return Pt(t)?e.push(t.subdivide(.5,!1)):e.push(t),Pt(A)?e.push(A.subdivide(.5,!0)):e.push(A),e},Vt=function(t,A,e,n){var r=[];return Pt(t)?r.push(t.subdivide(.5,!1)):r.push(t),Pt(e)?r.push(e.subdivide(.5,!0)):r.push(e),Pt(n)?r.push(n.subdivide(.5,!0).reverse()):r.push(n),Pt(A)?r.push(A.subdivide(.5,!1).reverse()):r.push(A),r},Kw=function(t){var A=t.bounds,e=t.styles;return A.add(e.borderLeftWidth,e.borderTopWidth,-(e.borderRightWidth+e.borderLeftWidth),-(e.borderTopWidth+e.borderBottomWidth))},ol=function(t){var A=t.styles,e=t.bounds,n=YA(A.paddingLeft,e.width),r=YA(A.paddingRight,e.width),i=YA(A.paddingTop,e.width),s=YA(A.paddingBottom,e.width);return e.add(n+A.borderLeftWidth,i+A.borderTopWidth,-(A.borderRightWidth+A.borderLeftWidth+n+r),-(A.borderTopWidth+A.borderBottomWidth+i+s))},G_=function(t,A){return t===0?A.bounds:t===2?ol(A):Kw(A)},W_=function(t,A){return t===0?A.bounds:t===2?ol(A):Kw(A)},bf=function(t,A,e){var n=G_(Yi(t.styles.backgroundOrigin,A),t),r=W_(Yi(t.styles.backgroundClip,A),t),i=J_(Yi(t.styles.backgroundSize,A),e,n),s=i[0],a=i[1],c=qs(Yi(t.styles.backgroundPosition,A),n.width-s,n.height-a),u=$_(Yi(t.styles.backgroundRepeat,A),c,i,n,r),d=Math.round(n.left+c[0]),h=Math.round(n.top+c[1]);return[u,d,h,s,a]},Xi=function(t){return GA(t)&&t.value===Vi.AUTO},al=function(t){return typeof t=="number"},J_=function(t,A,e){var n=A[0],r=A[1],i=A[2],s=t[0],a=t[1];if(!s)return[0,0];if(ge(s)&&a&&ge(a))return[YA(s,e.width),YA(a,e.height)];var c=al(i);if(GA(s)&&(s.value===Vi.CONTAIN||s.value===Vi.COVER)){if(al(i)){var u=e.width/e.height;return u<i!=(s.value===Vi.COVER)?[e.width,e.width/i]:[e.height*i,e.height]}return[e.width,e.height]}var d=al(n),h=al(r),B=d||h;if(Xi(s)&&(!a||Xi(a))){if(d&&h)return[n,r];if(!c&&!B)return[e.width,e.height];if(B&&c){var m=d?n:r*i,C=h?r:n/i;return[m,C]}var E=d?n:e.width,S=h?r:e.height;return[E,S]}if(c){var U=0,b=0;return ge(s)?U=YA(s,e.width):ge(a)&&(b=YA(a,e.height)),Xi(s)?U=b*i:(!a||Xi(a))&&(b=U/i),[U,b]}var M=null,F=null;if(ge(s)?M=YA(s,e.width):a&&ge(a)&&(F=YA(a,e.height)),M!==null&&(!a||Xi(a))&&(F=d&&h?M/n*r:e.height),F!==null&&Xi(s)&&(M=d&&h?F/r*n:e.width),M!==null&&F!==null)return[M,F];throw new Error("Unable to calculate background-size for element")},Yi=function(t,A){var e=t[A];return typeof e>"u"?t[0]:e},$_=function(t,A,e,n,r){var i=A[0],s=A[1],a=e[0],c=e[1];switch(t){case 2:return[new Z(Math.round(n.left),Math.round(n.top+s)),new Z(Math.round(n.left+n.width),Math.round(n.top+s)),new Z(Math.round(n.left+n.width),Math.round(c+n.top+s)),new Z(Math.round(n.left),Math.round(c+n.top+s))];case 3:return[new Z(Math.round(n.left+i),Math.round(n.top)),new Z(Math.round(n.left+i+a),Math.round(n.top)),new Z(Math.round(n.left+i+a),Math.round(n.height+n.top)),new Z(Math.round(n.left+i),Math.round(n.height+n.top))];case 1:return[new Z(Math.round(n.left+i),Math.round(n.top+s)),new Z(Math.round(n.left+i+a),Math.round(n.top+s)),new Z(Math.round(n.left+i+a),Math.round(n.top+s+c)),new Z(Math.round(n.left+i),Math.round(n.top+s+c))];default:return[new Z(Math.round(r.left),Math.round(r.top)),new Z(Math.round(r.left+r.width),Math.round(r.top)),new Z(Math.round(r.left+r.width),Math.round(r.height+r.top)),new Z(Math.round(r.left),Math.round(r.height+r.top))]}},X_="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",Pw="Hidden Text",Y_=function(){function t(A){this._data={},this._document=A}return t.prototype.parseMetrics=function(A,e){var n=this._document.createElement("div"),r=this._document.createElement("img"),i=this._document.createElement("span"),s=this._document.body;n.style.visibility="hidden",n.style.fontFamily=A,n.style.fontSize=e,n.style.margin="0",n.style.padding="0",n.style.whiteSpace="nowrap",s.appendChild(n),r.src=X_,r.width=1,r.height=1,r.style.margin="0",r.style.padding="0",r.style.verticalAlign="baseline",i.style.fontFamily=A,i.style.fontSize=e,i.style.margin="0",i.style.padding="0",i.appendChild(this._document.createTextNode(Pw)),n.appendChild(i),n.appendChild(r);var a=r.offsetTop-i.offsetTop+2;n.removeChild(i),n.appendChild(this._document.createTextNode(Pw)),n.style.lineHeight="normal",r.style.verticalAlign="super";var c=r.offsetTop-n.offsetTop+2;return s.removeChild(n),{baseline:a,middle:c}},t.prototype.getMetrics=function(A,e){var n=A+" "+e;return typeof this._data[n]>"u"&&(this._data[n]=this.parseMetrics(A,e)),this._data[n]},t}(),Vw=function(){function t(A,e){this.context=A,this.options=e}return t}(),z_=1e4,q_=function(t){sn(A,t);function A(e,n){var r=t.call(this,e,n)||this;return r._activeEffects=[],r.canvas=n.canvas?n.canvas:document.createElement("canvas"),r.ctx=r.canvas.getContext("2d"),n.canvas||(r.canvas.width=Math.floor(n.width*n.scale),r.canvas.height=Math.floor(n.height*n.scale),r.canvas.style.width=n.width+"px",r.canvas.style.height=n.height+"px"),r.fontMetrics=new Y_(document),r.ctx.scale(r.options.scale,r.options.scale),r.ctx.translate(-n.x,-n.y),r.ctx.textBaseline="bottom",r._activeEffects=[],r.context.logger.debug("Canvas renderer initialized ("+n.width+"x"+n.height+") with scale "+n.scale),r}return A.prototype.applyEffects=function(e){for(var n=this;this._activeEffects.length;)this.popEffect();e.forEach(function(r){return n.applyEffect(r)})},A.prototype.applyEffect=function(e){this.ctx.save(),k_(e)&&(this.ctx.globalAlpha=e.opacity),D_(e)&&(this.ctx.translate(e.offsetX,e.offsetY),this.ctx.transform(e.matrix[0],e.matrix[1],e.matrix[2],e.matrix[3],e.matrix[4],e.matrix[5]),this.ctx.translate(-e.offsetX,-e.offsetY)),_w(e)&&(this.path(e.path),this.ctx.clip()),this._activeEffects.push(e)},A.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},A.prototype.renderStack=function(e){return rt(this,void 0,void 0,function(){var n;return Xe(this,function(r){switch(r.label){case 0:return n=e.element.container.styles,n.isVisible()?[4,this.renderStackContent(e)]:[3,2];case 1:r.sent(),r.label=2;case 2:return[2]}})})},A.prototype.renderNode=function(e){return rt(this,void 0,void 0,function(){return Xe(this,function(n){switch(n.label){case 0:if(Ee(e.container.flags,16))debugger;return e.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(e)]:[3,3];case 1:return n.sent(),[4,this.renderNodeContent(e)];case 2:n.sent(),n.label=3;case 3:return[2]}})})},A.prototype.renderTextWithLetterSpacing=function(e,n,r){var i=this;if(n===0)this.ctx.fillText(e.text,e.bounds.left,e.bounds.top+r);else{var s=hf(e.text);s.reduce(function(a,c){return i.ctx.fillText(c,a,e.bounds.top+r),a+i.ctx.measureText(c).width},e.bounds.left)}},A.prototype.createFontStyle=function(e){var n=e.fontVariant.filter(function(s){return s==="normal"||s==="small-caps"}).join(""),r=tM(e.fontFamily).join(", "),i=zs(e.fontSize)?""+e.fontSize.number+e.fontSize.unit:e.fontSize.number+"px";return[[e.fontStyle,n,e.fontWeight,i,r].join(" "),r,i]},A.prototype.renderTextNode=function(e,n){return rt(this,void 0,void 0,function(){var r,i,s,a,c,u,d,h,B=this;return Xe(this,function(m){return r=this.createFontStyle(n),i=r[0],s=r[1],a=r[2],this.ctx.font=i,this.ctx.direction=n.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",c=this.fontMetrics.getMetrics(s,a),u=c.baseline,d=c.middle,h=n.paintOrder,e.textBounds.forEach(function(C){h.forEach(function(E){switch(E){case 0:B.ctx.fillStyle=Se(n.color),B.renderTextWithLetterSpacing(C,n.letterSpacing,u);var S=n.textShadow;S.length&&C.text.trim().length&&(S.slice(0).reverse().forEach(function(U){B.ctx.shadowColor=Se(U.color),B.ctx.shadowOffsetX=U.offsetX.number*B.options.scale,B.ctx.shadowOffsetY=U.offsetY.number*B.options.scale,B.ctx.shadowBlur=U.blur.number,B.renderTextWithLetterSpacing(C,n.letterSpacing,u)}),B.ctx.shadowColor="",B.ctx.shadowOffsetX=0,B.ctx.shadowOffsetY=0,B.ctx.shadowBlur=0),n.textDecorationLine.length&&(B.ctx.fillStyle=Se(n.textDecorationColor||n.color),n.textDecorationLine.forEach(function(U){switch(U){case 1:B.ctx.fillRect(C.bounds.left,Math.round(C.bounds.top+u),C.bounds.width,1);break;case 2:B.ctx.fillRect(C.bounds.left,Math.round(C.bounds.top),C.bounds.width,1);break;case 3:B.ctx.fillRect(C.bounds.left,Math.ceil(C.bounds.top+d),C.bounds.width,1);break}}));break;case 1:n.webkitTextStrokeWidth&&C.text.trim().length&&(B.ctx.strokeStyle=Se(n.webkitTextStrokeColor),B.ctx.lineWidth=n.webkitTextStrokeWidth,B.ctx.lineJoin=window.chrome?"miter":"round",B.ctx.strokeText(C.text,C.bounds.left,C.bounds.top+u)),B.ctx.strokeStyle="",B.ctx.lineWidth=0,B.ctx.lineJoin="miter";break}})}),[2]})})},A.prototype.renderReplacedElement=function(e,n,r){if(r&&e.intrinsicWidth>0&&e.intrinsicHeight>0){var i=ol(e),s=rl(n);this.path(s),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(r,0,0,e.intrinsicWidth,e.intrinsicHeight,i.left,i.top,i.width,i.height),this.ctx.restore()}},A.prototype.renderNodeContent=function(e){return rt(this,void 0,void 0,function(){var n,r,i,s,a,c,b,b,u,d,h,B,F,m,C,T,E,S,U,b,M,F,T;return Xe(this,function(L){switch(L.label){case 0:this.applyEffects(e.getEffects(4)),n=e.container,r=e.curves,i=n.styles,s=0,a=n.textNodes,L.label=1;case 1:return s<a.length?(c=a[s],[4,this.renderTextNode(c,i)]):[3,4];case 2:L.sent(),L.label=3;case 3:return s++,[3,1];case 4:if(!(n instanceof ow))return[3,8];L.label=5;case 5:return L.trys.push([5,7,,8]),[4,this.context.cache.match(n.src)];case 6:return b=L.sent(),this.renderReplacedElement(n,r,b),[3,8];case 7:return L.sent(),this.context.logger.error("Error loading image "+n.src),[3,8];case 8:if(n instanceof aw&&this.renderReplacedElement(n,r,n.canvas),!(n instanceof lw))return[3,12];L.label=9;case 9:return L.trys.push([9,11,,12]),[4,this.context.cache.match(n.svg)];case 10:return b=L.sent(),this.renderReplacedElement(n,r,b),[3,12];case 11:return L.sent(),this.context.logger.error("Error loading svg "+n.svg.substring(0,255)),[3,12];case 12:return n instanceof hw&&n.tree?(u=new A(this.context,{scale:this.options.scale,backgroundColor:n.backgroundColor,x:0,y:0,width:n.width,height:n.height}),[4,u.render(n.tree)]):[3,14];case 13:d=L.sent(),n.width&&n.height&&this.ctx.drawImage(d,0,0,n.width,n.height,n.bounds.left,n.bounds.top,n.bounds.width,n.bounds.height),L.label=14;case 14:if(n instanceof gf&&(h=Math.min(n.bounds.width,n.bounds.height),n.type===za?n.checked&&(this.ctx.save(),this.path([new Z(n.bounds.left+h*.39363,n.bounds.top+h*.79),new Z(n.bounds.left+h*.16,n.bounds.top+h*.5549),new Z(n.bounds.left+h*.27347,n.bounds.top+h*.44071),new Z(n.bounds.left+h*.39694,n.bounds.top+h*.5649),new Z(n.bounds.left+h*.72983,n.bounds.top+h*.23),new Z(n.bounds.left+h*.84,n.bounds.top+h*.34085),new Z(n.bounds.left+h*.39363,n.bounds.top+h*.79)]),this.ctx.fillStyle=Se(uw),this.ctx.fill(),this.ctx.restore()):n.type===qa&&n.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(n.bounds.left+h/2,n.bounds.top+h/2,h/4,0,Math.PI*2,!0),this.ctx.fillStyle=Se(uw),this.ctx.fill(),this.ctx.restore())),Z_(n)&&n.value.length){switch(B=this.createFontStyle(i),F=B[0],m=B[1],C=this.fontMetrics.getMetrics(F,m).baseline,this.ctx.font=F,this.ctx.fillStyle=Se(i.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=AM(n.styles.textAlign),T=ol(n),E=0,n.styles.textAlign){case 1:E+=T.width/2;break;case 2:E+=T.width;break}S=T.add(E,0,0,-T.height/2+1),this.ctx.save(),this.path([new Z(T.left,T.top),new Z(T.left+T.width,T.top),new Z(T.left+T.width,T.top+T.height),new Z(T.left,T.top+T.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new eo(n.value,S),i.letterSpacing,C),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!Ee(n.styles.display,2048))return[3,20];if(n.styles.listStyleImage===null)return[3,19];if(U=n.styles.listStyleImage,U.type!==0)return[3,18];b=void 0,M=U.url,L.label=15;case 15:return L.trys.push([15,17,,18]),[4,this.context.cache.match(M)];case 16:return b=L.sent(),this.ctx.drawImage(b,n.bounds.left-(b.width+10),n.bounds.top),[3,18];case 17:return L.sent(),this.context.logger.error("Error loading list-style-image "+M),[3,18];case 18:return[3,20];case 19:e.listValue&&n.styles.listStyleType!==-1&&(F=this.createFontStyle(i)[0],this.ctx.font=F,this.ctx.fillStyle=Se(i.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",T=new Dn(n.bounds.left,n.bounds.top+YA(n.styles.paddingTop,n.bounds.width),n.bounds.width,Pm(i.lineHeight,i.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new eo(e.listValue,T),i.letterSpacing,Pm(i.lineHeight,i.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),L.label=20;case 20:return[2]}})})},A.prototype.renderStackContent=function(e){return rt(this,void 0,void 0,function(){var n,r,U,i,s,U,a,c,U,u,d,U,h,B,U,m,C,U,E,S,U;return Xe(this,function(b){switch(b.label){case 0:if(Ee(e.element.container.flags,16))debugger;return[4,this.renderNodeBackgroundAndBorders(e.element)];case 1:b.sent(),n=0,r=e.negativeZIndex,b.label=2;case 2:return n<r.length?(U=r[n],[4,this.renderStack(U)]):[3,5];case 3:b.sent(),b.label=4;case 4:return n++,[3,2];case 5:return[4,this.renderNodeContent(e.element)];case 6:b.sent(),i=0,s=e.nonInlineLevel,b.label=7;case 7:return i<s.length?(U=s[i],[4,this.renderNode(U)]):[3,10];case 8:b.sent(),b.label=9;case 9:return i++,[3,7];case 10:a=0,c=e.nonPositionedFloats,b.label=11;case 11:return a<c.length?(U=c[a],[4,this.renderStack(U)]):[3,14];case 12:b.sent(),b.label=13;case 13:return a++,[3,11];case 14:u=0,d=e.nonPositionedInlineLevel,b.label=15;case 15:return u<d.length?(U=d[u],[4,this.renderStack(U)]):[3,18];case 16:b.sent(),b.label=17;case 17:return u++,[3,15];case 18:h=0,B=e.inlineLevel,b.label=19;case 19:return h<B.length?(U=B[h],[4,this.renderNode(U)]):[3,22];case 20:b.sent(),b.label=21;case 21:return h++,[3,19];case 22:m=0,C=e.zeroOrAutoZIndexOrTransformedOrOpacity,b.label=23;case 23:return m<C.length?(U=C[m],[4,this.renderStack(U)]):[3,26];case 24:b.sent(),b.label=25;case 25:return m++,[3,23];case 26:E=0,S=e.positiveZIndex,b.label=27;case 27:return E<S.length?(U=S[E],[4,this.renderStack(U)]):[3,30];case 28:b.sent(),b.label=29;case 29:return E++,[3,27];case 30:return[2]}})})},A.prototype.mask=function(e){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(e.slice(0).reverse()),this.ctx.closePath()},A.prototype.path=function(e){this.ctx.beginPath(),this.formatPath(e),this.ctx.closePath()},A.prototype.formatPath=function(e){var n=this;e.forEach(function(r,i){var s=Pt(r)?r.start:r;i===0?n.ctx.moveTo(s.x,s.y):n.ctx.lineTo(s.x,s.y),Pt(r)&&n.ctx.bezierCurveTo(r.startControl.x,r.startControl.y,r.endControl.x,r.endControl.y,r.end.x,r.end.y)})},A.prototype.renderRepeat=function(e,n,r,i){this.path(e),this.ctx.fillStyle=n,this.ctx.translate(r,i),this.ctx.fill(),this.ctx.translate(-r,-i)},A.prototype.resizeImage=function(e,n,r){var i;if(e.width===n&&e.height===r)return e;var s=(i=this.canvas.ownerDocument)!==null&&i!==void 0?i:document,a=s.createElement("canvas");a.width=Math.max(1,n),a.height=Math.max(1,r);var c=a.getContext("2d");return c.drawImage(e,0,0,e.width,e.height,0,0,n,r),a},A.prototype.renderBackgroundImage=function(e){return rt(this,void 0,void 0,function(){var n,r,i,s,a,c;return Xe(this,function(u){switch(u.label){case 0:n=e.styles.backgroundImage.length-1,r=function(d){var h,B,m,eA,vA,bA,aA,HA,W,C,eA,vA,bA,aA,HA,E,S,U,b,M,F,T,L,N,W,J,eA,gA,wA,aA,HA,WA,vA,bA,mA,re,ZA,JA,Be,me,Te,jA;return Xe(this,function(fe){switch(fe.label){case 0:if(d.type!==0)return[3,5];h=void 0,B=d.url,fe.label=1;case 1:return fe.trys.push([1,3,,4]),[4,i.context.cache.match(B)];case 2:return h=fe.sent(),[3,4];case 3:return fe.sent(),i.context.logger.error("Error loading background-image "+B),[3,4];case 4:return h&&(m=bf(e,n,[h.width,h.height,h.width/h.height]),eA=m[0],vA=m[1],bA=m[2],aA=m[3],HA=m[4],W=i.ctx.createPattern(i.resizeImage(h,aA,HA),"repeat"),i.renderRepeat(eA,W,vA,bA)),[3,6];case 5:DH(d)?(C=bf(e,n,[null,null,null]),eA=C[0],vA=C[1],bA=C[2],aA=C[3],HA=C[4],E=HH(d.angle,aA,HA),S=E[0],U=E[1],b=E[2],M=E[3],F=E[4],T=document.createElement("canvas"),T.width=aA,T.height=HA,L=T.getContext("2d"),N=L.createLinearGradient(U,M,b,F),xm(d.stops,S).forEach(function(it){return N.addColorStop(it.stop,Se(it.color))}),L.fillStyle=N,L.fillRect(0,0,aA,HA),aA>0&&HA>0&&(W=i.ctx.createPattern(T,"repeat"),i.renderRepeat(eA,W,vA,bA))):kH(d)&&(J=bf(e,n,[null,null,null]),eA=J[0],gA=J[1],wA=J[2],aA=J[3],HA=J[4],WA=d.position.length===0?[Zu]:d.position,vA=YA(WA[0],aA),bA=YA(WA[WA.length-1],HA),mA=LH(d,vA,bA,aA,HA),re=mA[0],ZA=mA[1],re>0&&ZA>0&&(JA=i.ctx.createRadialGradient(gA+vA,wA+bA,0,gA+vA,wA+bA,re),xm(d.stops,re*2).forEach(function(it){return JA.addColorStop(it.stop,Se(it.color))}),i.path(eA),i.ctx.fillStyle=JA,re!==ZA?(Be=e.bounds.left+.5*e.bounds.width,me=e.bounds.top+.5*e.bounds.height,Te=ZA/re,jA=1/Te,i.ctx.save(),i.ctx.translate(Be,me),i.ctx.transform(1,0,0,Te,0,0),i.ctx.translate(-Be,-me),i.ctx.fillRect(gA,jA*(wA-me)+me,aA,HA*jA),i.ctx.restore()):i.ctx.fill())),fe.label=6;case 6:return n--,[2]}})},i=this,s=0,a=e.styles.backgroundImage.slice(0).reverse(),u.label=1;case 1:return s<a.length?(c=a[s],[5,r(c)]):[3,4];case 2:u.sent(),u.label=3;case 3:return s++,[3,1];case 4:return[2]}})})},A.prototype.renderSolidBorder=function(e,n,r){return rt(this,void 0,void 0,function(){return Xe(this,function(i){return this.path(Rw(r,n)),this.ctx.fillStyle=Se(e),this.ctx.fill(),[2]})})},A.prototype.renderDoubleBorder=function(e,n,r,i){return rt(this,void 0,void 0,function(){var s,a;return Xe(this,function(c){switch(c.label){case 0:return n<3?[4,this.renderSolidBorder(e,r,i)]:[3,2];case 1:return c.sent(),[2];case 2:return s=K_(i,r),this.path(s),this.ctx.fillStyle=Se(e),this.ctx.fill(),a=P_(i,r),this.path(a),this.ctx.fill(),[2]}})})},A.prototype.renderNodeBackgroundAndBorders=function(e){return rt(this,void 0,void 0,function(){var n,r,i,s,a,c,u,d,h=this;return Xe(this,function(B){switch(B.label){case 0:return this.applyEffects(e.getEffects(2)),n=e.container.styles,r=!yr(n.backgroundColor)||n.backgroundImage.length,i=[{style:n.borderTopStyle,color:n.borderTopColor,width:n.borderTopWidth},{style:n.borderRightStyle,color:n.borderRightColor,width:n.borderRightWidth},{style:n.borderBottomStyle,color:n.borderBottomColor,width:n.borderBottomWidth},{style:n.borderLeftStyle,color:n.borderLeftColor,width:n.borderLeftWidth}],s=j_(Yi(n.backgroundClip,0),e.curves),r||n.boxShadow.length?(this.ctx.save(),this.path(s),this.ctx.clip(),yr(n.backgroundColor)||(this.ctx.fillStyle=Se(n.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(e.container)]):[3,2];case 1:B.sent(),this.ctx.restore(),n.boxShadow.slice(0).reverse().forEach(function(m){h.ctx.save();var C=nl(e.curves),E=m.inset?0:z_,S=N_(C,-E+(m.inset?1:-1)*m.spread.number,(m.inset?1:-1)*m.spread.number,m.spread.number*(m.inset?-2:2),m.spread.number*(m.inset?-2:2));m.inset?(h.path(C),h.ctx.clip(),h.mask(S)):(h.mask(C),h.ctx.clip(),h.path(S)),h.ctx.shadowOffsetX=m.offsetX.number+E,h.ctx.shadowOffsetY=m.offsetY.number,h.ctx.shadowColor=Se(m.color),h.ctx.shadowBlur=m.blur.number,h.ctx.fillStyle=m.inset?Se(m.color):"rgba(0,0,0,1)",h.ctx.fill(),h.ctx.restore()}),B.label=2;case 2:a=0,c=0,u=i,B.label=3;case 3:return c<u.length?(d=u[c],d.style!==0&&!yr(d.color)&&d.width>0?d.style!==2?[3,5]:[4,this.renderDashedDottedBorder(d.color,d.width,a,e.curves,2)]:[3,11]):[3,13];case 4:return B.sent(),[3,11];case 5:return d.style!==3?[3,7]:[4,this.renderDashedDottedBorder(d.color,d.width,a,e.curves,3)];case 6:return B.sent(),[3,11];case 7:return d.style!==4?[3,9]:[4,this.renderDoubleBorder(d.color,d.width,a,e.curves)];case 8:return B.sent(),[3,11];case 9:return[4,this.renderSolidBorder(d.color,a,e.curves)];case 10:B.sent(),B.label=11;case 11:a++,B.label=12;case 12:return c++,[3,3];case 13:return[2]}})})},A.prototype.renderDashedDottedBorder=function(e,n,r,i,s){return rt(this,void 0,void 0,function(){var a,c,u,d,h,B,m,C,E,S,U,b,M,F,T,L,T,L;return Xe(this,function(N){return this.ctx.save(),a=V_(i,r),c=Rw(i,r),s===2&&(this.path(c),this.ctx.clip()),Pt(c[0])?(u=c[0].start.x,d=c[0].start.y):(u=c[0].x,d=c[0].y),Pt(c[1])?(h=c[1].end.x,B=c[1].end.y):(h=c[1].x,B=c[1].y),r===0||r===2?m=Math.abs(u-h):m=Math.abs(d-B),this.ctx.beginPath(),s===3?this.formatPath(a):this.formatPath(c.slice(0,2)),C=n<3?n*3:n*2,E=n<3?n*2:n,s===3&&(C=n,E=n),S=!0,m<=C*2?S=!1:m<=C*2+E?(U=m/(2*C+E),C*=U,E*=U):(b=Math.floor((m+E)/(C+E)),M=(m-b*C)/(b-1),F=(m-(b+1)*C)/b,E=F<=0||Math.abs(E-M)<Math.abs(E-F)?M:F),S&&(s===3?this.ctx.setLineDash([0,C+E]):this.ctx.setLineDash([C,E])),s===3?(this.ctx.lineCap="round",this.ctx.lineWidth=n):this.ctx.lineWidth=n*2+1.1,this.ctx.strokeStyle=Se(e),this.ctx.stroke(),this.ctx.setLineDash([]),s===2&&(Pt(c[0])&&(T=c[3],L=c[0],this.ctx.beginPath(),this.formatPath([new Z(T.end.x,T.end.y),new Z(L.start.x,L.start.y)]),this.ctx.stroke()),Pt(c[1])&&(T=c[1],L=c[2],this.ctx.beginPath(),this.formatPath([new Z(T.end.x,T.end.y),new Z(L.start.x,L.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},A.prototype.render=function(e){return rt(this,void 0,void 0,function(){var n;return Xe(this,function(r){switch(r.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=Se(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),n=R_(e),[4,this.renderStack(n)];case 1:return r.sent(),this.applyEffects([]),[2,this.canvas]}})})},A}(Vw),Z_=function(t){return t instanceof dw||t instanceof fw?!0:t instanceof gf&&t.type!==qa&&t.type!==za},j_=function(t,A){switch(t){case 0:return nl(A);case 2:return O_(A);case 1:default:return rl(A)}},AM=function(t){switch(t){case 1:return"center";case 2:return"right";case 0:default:return"left"}},eM=["-apple-system","system-ui"],tM=function(t){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?t.filter(function(A){return eM.indexOf(A)===-1}):t},nM=function(t){sn(A,t);function A(e,n){var r=t.call(this,e,n)||this;return r.canvas=n.canvas?n.canvas:document.createElement("canvas"),r.ctx=r.canvas.getContext("2d"),r.options=n,r.canvas.width=Math.floor(n.width*n.scale),r.canvas.height=Math.floor(n.height*n.scale),r.canvas.style.width=n.width+"px",r.canvas.style.height=n.height+"px",r.ctx.scale(r.options.scale,r.options.scale),r.ctx.translate(-n.x,-n.y),r.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+n.width+"x"+n.height+" at "+n.x+","+n.y+") with scale "+n.scale),r}return A.prototype.render=function(e){return rt(this,void 0,void 0,function(){var n,r;return Xe(this,function(i){switch(i.label){case 0:return n=df(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,e),[4,rM(n)];case 1:return r=i.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=Se(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(r,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},A}(Vw),rM=function(t){return new Promise(function(A,e){var n=new Image;n.onload=function(){A(n)},n.onerror=e,n.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(t))})},iM=function(){function t(A){var e=A.id,n=A.enabled;this.id=e,this.enabled=n,this.start=Date.now()}return t.prototype.debug=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];this.enabled&&(typeof window<"u"&&window.console&&typeof console.debug=="function"?console.debug.apply(console,ga([this.id,this.getTime()+"ms"],A)):this.info.apply(this,A))},t.prototype.getTime=function(){return Date.now()-this.start},t.prototype.info=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];this.enabled&&typeof window<"u"&&window.console&&typeof console.info=="function"&&console.info.apply(console,ga([this.id,this.getTime()+"ms"],A))},t.prototype.warn=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];this.enabled&&(typeof window<"u"&&window.console&&typeof console.warn=="function"?console.warn.apply(console,ga([this.id,this.getTime()+"ms"],A)):this.info.apply(this,A))},t.prototype.error=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];this.enabled&&(typeof window<"u"&&window.console&&typeof console.error=="function"?console.error.apply(console,ga([this.id,this.getTime()+"ms"],A)):this.info.apply(this,A))},t.instances={},t}(),sM=function(){function t(A,e){var n;this.windowBounds=e,this.instanceName="#"+t.instanceCount++,this.logger=new iM({id:this.instanceName,enabled:A.logging}),this.cache=(n=A.cache)!==null&&n!==void 0?n:new v_(this,A)}return t.instanceCount=1,t}(),oM=function(t,A){return A===void 0&&(A={}),aM(t,A)};typeof window<"u"&&Ow.setContext(window);var aM=function(t,A){return rt(void 0,void 0,void 0,function(){var e,n,r,i,s,a,c,u,d,h,B,m,C,E,S,U,b,M,F,T,N,L,N,W,J,eA,gA,wA,aA,HA,WA,vA,bA,mA,re,ZA,JA,Be,me,Te;return Xe(this,function(jA){switch(jA.label){case 0:if(!t||typeof t!="object")return[2,Promise.reject("Invalid element provided as first argument")];if(e=t.ownerDocument,!e)throw new Error("Element is not attached to a Document");if(n=e.defaultView,!n)throw new Error("Document is not attached to a Window");return r={allowTaint:(W=A.allowTaint)!==null&&W!==void 0?W:!1,imageTimeout:(J=A.imageTimeout)!==null&&J!==void 0?J:15e3,proxy:A.proxy,useCORS:(eA=A.useCORS)!==null&&eA!==void 0?eA:!1},i=xu({logging:(gA=A.logging)!==null&&gA!==void 0?gA:!0,cache:A.cache},r),s={windowWidth:(wA=A.windowWidth)!==null&&wA!==void 0?wA:n.innerWidth,windowHeight:(aA=A.windowHeight)!==null&&aA!==void 0?aA:n.innerHeight,scrollX:(HA=A.scrollX)!==null&&HA!==void 0?HA:n.pageXOffset,scrollY:(WA=A.scrollY)!==null&&WA!==void 0?WA:n.pageYOffset},a=new Dn(s.scrollX,s.scrollY,s.windowWidth,s.windowHeight),c=new sM(i,a),u=(vA=A.foreignObjectRendering)!==null&&vA!==void 0?vA:!1,d={allowTaint:(bA=A.allowTaint)!==null&&bA!==void 0?bA:!1,onclone:A.onclone,ignoreElements:A.ignoreElements,inlineImages:u,copyStyles:u},c.logger.debug("Starting document clone with size "+a.width+"x"+a.height+" scrolled to "+-a.left+","+-a.top),h=new Hw(c,t,d),B=h.clonedReferenceElement,B?[4,h.toIFrame(e,a)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return m=jA.sent(),C=mf(B)||l_(B)?NT(B.ownerDocument):Ba(c,B),E=C.width,S=C.height,U=C.left,b=C.top,M=lM(c,B,A.backgroundColor),F={canvas:A.canvas,backgroundColor:M,scale:(re=(mA=A.scale)!==null&&mA!==void 0?mA:n.devicePixelRatio)!==null&&re!==void 0?re:1,x:((ZA=A.x)!==null&&ZA!==void 0?ZA:0)+U,y:((JA=A.y)!==null&&JA!==void 0?JA:0)+b,width:(Be=A.width)!==null&&Be!==void 0?Be:Math.ceil(E),height:(me=A.height)!==null&&me!==void 0?me:Math.ceil(S)},u?(c.logger.debug("Document cloned, using foreign object rendering"),N=new nM(c,F),[4,N.render(B)]):[3,3];case 2:return T=jA.sent(),[3,5];case 3:return c.logger.debug("Document cloned, element located at "+U+","+b+" with size "+E+"x"+S+" using computed rendering"),c.logger.debug("Starting DOM parsing"),L=gw(c,B),M===L.styles.backgroundColor&&(L.styles.backgroundColor=Nn.TRANSPARENT),c.logger.debug("Starting renderer for element at "+F.x+","+F.y+" with size "+F.width+"x"+F.height),N=new q_(c,F),[4,N.render(L)];case 4:T=jA.sent(),jA.label=5;case 5:return(!((Te=A.removeContainer)!==null&&Te!==void 0)||Te)&&(Hw.destroy(m)||c.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),c.logger.debug("Finished rendering"),[2,T]}})})},lM=function(t,A,e){var n=A.ownerDocument,r=n.documentElement?Zs(t,getComputedStyle(n.documentElement).backgroundColor):Nn.TRANSPARENT,i=n.body?Zs(t,getComputedStyle(n.body).backgroundColor):Nn.TRANSPARENT,s=typeof e=="string"?Zs(t,e):e===null?Nn.TRANSPARENT:4294967295;return A===n.documentElement?yr(r)?yr(i)?s:i:r:s};const cM=g.defineComponent({__name:"dom-renderer",props:{modelValue:{type:String,default:""},fixedWidth:{type:Number,default:0},renderUpdates:{type:Boolean,default:!1},exportToSvg:{type:Boolean,default:!1},debug:{type:Boolean,default:!0}},setup(t){const A=t,e=g.ref(),n=g.ref(""),r=g.ref();async function i(){if(e.value){const a=e.value,u=(await oM(a.firstElementChild,{backgroundColor:"rgba(0, 0, 0, 0)",scale:1,width:a.offsetWidth,height:a.offsetHeight})).toDataURL();if(A.debug){const d=new Image;d.src=u,document.body.appendChild(d)}return u}return""}const s=Ds.debounce(async()=>{n.value=await i()},300,{trailing:!0,leading:!1});return g.onMounted(()=>{const a=e.value;A.renderUpdates&&(r.value=new MutationObserver(async c=>{s()}),r.value.observe(a,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),setTimeout(()=>{s()},500)}),(a,c)=>(g.openBlock(),g.createElementBlock("div",{class:g.normalizeClass(["dom-renderer",{"off-screen":!t.debug}]),ref_key:"renderer",ref:e,style:g.normalizeStyle(t.fixedWidth>0?{width:`${t.fixedWidth}px`}:{})},[g.renderSlot(a.$slots,"default")],6))}}),uM={class:"base-form"},fM=["onSubmit"],dM=g.defineComponent({__name:"base-form",props:{id:null,name:null,variant:null,disabled:{type:Boolean},pending:{type:Boolean}},setup(t){function A(r){console.log("input",r)}function e(r){console.log("reset",r)}function n(r){console.log("submit",r)}return(r,i)=>(g.openBlock(),g.createElementBlock("div",uM,[g.createElementVNode("form",{ref:"form",onInput:A,onReset:e,onSubmit:g.withModifiers(n,["prevent"])},[g.renderSlot(r.$slots,"default")],40,fM)]))}}),fV="";DA.Accordion=Ry,DA.AccordionItem=_y,DA.AssetUploader=CT,DA.BaseButton=Py,DA.BaseCamera=tT,DA.BaseCarousel=KB,DA.BaseForm=dM,DA.BaseHeadline=vy,DA.BaseInput=Jy,DA.BaseParagraph=by,DA.CheckGroup=rQ,DA.DomRenderer=cM,DA.FileUpload=lT,DA.InputCheckbox=AQ,DA.InputColor=RI,DA.InputDropdown=OS,DA.InputFile=BQ,DA.InputTextarea=zy,DA.LoadingSpinner=Uy,DA.MediaThumbnails=ST,DA.ProgressSteps=kT,DA.RadioGroup=lQ,DA.RteEditor=MI,DA.SvgIcon=wy,DA.UploadGroup=RB,Object.defineProperty(DA,Symbol.toStringTag,{value:"Module"})});