@konnectio/core 4.0.37 → 4.0.38

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.
Files changed (66) hide show
  1. package/dist/{ActionField-8e5218c5.js → ActionField-cd683106.js} +2 -2
  2. package/dist/ActionField-cd683106.js.br +0 -0
  3. package/dist/{ActionField-6712c933.cjs → ActionField-dc98863c.cjs} +1 -1
  4. package/dist/{AvailabilitySkeleton-ec96db6b.cjs → AvailabilitySkeleton-2dd88f42.cjs} +1 -1
  5. package/dist/{AvailabilitySkeleton-67ce6e6d.js → AvailabilitySkeleton-64372a3d.js} +5 -5
  6. package/dist/AvailabilitySkeleton-64372a3d.js.br +0 -0
  7. package/dist/{DateField.vue_vue_type_style_index_0_lang-64a0c44b.js → DateField.vue_vue_type_style_index_0_lang-239ef816.js} +1 -1
  8. package/dist/DateField.vue_vue_type_style_index_0_lang-239ef816.js.br +0 -0
  9. package/dist/{DateField.vue_vue_type_style_index_0_lang-0c12cda5.cjs → DateField.vue_vue_type_style_index_0_lang-7267a5fa.cjs} +1 -1
  10. package/dist/{Field-616b5ab4.cjs → Field-825b33aa.cjs} +1 -1
  11. package/dist/{Field-0fa0f987.js → Field-94ac0265.js} +2 -2
  12. package/dist/Field-94ac0265.js.br +0 -0
  13. package/dist/{NumberField.vue_vue_type_script_setup_true_lang-1f92ec10.cjs → NumberField.vue_vue_type_script_setup_true_lang-4b483b4b.cjs} +1 -1
  14. package/dist/{NumberField.vue_vue_type_script_setup_true_lang-c9486f0a.js → NumberField.vue_vue_type_script_setup_true_lang-ab43cf10.js} +1 -1
  15. package/dist/NumberField.vue_vue_type_script_setup_true_lang-ab43cf10.js.br +0 -0
  16. package/dist/{SelectField.vue_vue_type_style_index_0_lang-6bfcccf8.js → SelectField.vue_vue_type_style_index_0_lang-9187c95a.js} +820 -819
  17. package/dist/SelectField.vue_vue_type_style_index_0_lang-9187c95a.js.br +0 -0
  18. package/dist/{SelectField.vue_vue_type_style_index_0_lang-2fab4a70.cjs → SelectField.vue_vue_type_style_index_0_lang-a4d7be42.cjs} +32 -32
  19. package/dist/{ThankYou-0bb9b8ba.cjs → ThankYou-2219aecc.cjs} +2 -2
  20. package/dist/{ThankYou-125b27fb.js → ThankYou-d505adc9.js} +7 -7
  21. package/dist/ThankYou-d505adc9.js.br +0 -0
  22. package/dist/{_-f6d1d88b.cjs → _-b9738f5d.cjs} +1 -1
  23. package/dist/{_-3a1d4d62.js → _-e90b6bab.js} +1 -1
  24. package/dist/availability.cjs +2 -2
  25. package/dist/availability.js +10 -10
  26. package/dist/availability.js.br +0 -0
  27. package/dist/components/listings/Base.vue.d.ts +1 -1
  28. package/dist/components/listings/Event.vue.d.ts +1 -1
  29. package/dist/entries/availability.d.ts +1 -1
  30. package/dist/{event-ad6054a0.cjs → event-8dde494e.cjs} +1 -1
  31. package/dist/{event-bf4c7637.js → event-9b5b92a7.js} +7 -7
  32. package/dist/event-9b5b92a7.js.br +0 -0
  33. package/dist/event.cjs +1 -1
  34. package/dist/event.js +9 -9
  35. package/dist/event.js.br +0 -0
  36. package/dist/gift-card-validation.cjs +1 -1
  37. package/dist/gift-card-validation.js +3 -3
  38. package/dist/gift-card-validation.js.br +0 -0
  39. package/dist/gift-card.cjs +1 -1
  40. package/dist/gift-card.js +227 -228
  41. package/dist/gift-card.js.br +0 -0
  42. package/dist/hotel.cjs +1 -1
  43. package/dist/hotel.js +11 -12
  44. package/dist/hotel.js.br +0 -0
  45. package/dist/{index-cc419f8f.js → index-524d9d24.js} +1 -1
  46. package/dist/index-524d9d24.js.br +0 -0
  47. package/dist/{index-f4b84887.cjs → index-85e3a13d.cjs} +1 -1
  48. package/dist/polyfill.cjs +1 -1
  49. package/dist/polyfill.js +1 -1
  50. package/dist/polyfill.js.br +0 -0
  51. package/dist/store/event.d.ts +3 -3
  52. package/dist/store/tracking.d.ts +8 -3
  53. package/dist/store/utilities.d.ts +4 -1
  54. package/dist/style.css +1 -1
  55. package/dist/style.css.br +0 -0
  56. package/dist/types/index.d.ts +1 -1
  57. package/package.json +1 -1
  58. package/dist/ActionField-8e5218c5.js.br +0 -0
  59. package/dist/AvailabilitySkeleton-67ce6e6d.js.br +0 -0
  60. package/dist/DateField.vue_vue_type_style_index_0_lang-64a0c44b.js.br +0 -0
  61. package/dist/Field-0fa0f987.js.br +0 -0
  62. package/dist/NumberField.vue_vue_type_script_setup_true_lang-c9486f0a.js.br +0 -0
  63. package/dist/SelectField.vue_vue_type_style_index_0_lang-6bfcccf8.js.br +0 -0
  64. package/dist/ThankYou-125b27fb.js.br +0 -0
  65. package/dist/event-bf4c7637.js.br +0 -0
  66. package/dist/index-cc419f8f.js.br +0 -0
@@ -1,10 +1,10 @@
1
- "use strict";const st=require("./_commonjsHelpers-6763f629.cjs");function pn(e,t){const n=Object.create(null),r=e.split(",");for(let i=0;i<r.length;i++)n[r[i]]=!0;return t?i=>!!n[i.toLowerCase()]:i=>!!n[i]}const Ye={},La=[],Qt=()=>{},ks=()=>!1,gb=/^on[^a-z]/,sa=e=>gb.test(e),wd=e=>e.startsWith("onUpdate:"),Ue=Object.assign,Od=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},yb=Object.prototype.hasOwnProperty,$e=(e,t)=>yb.call(e,t),me=Array.isArray,Ia=e=>Qa(e)==="[object Map]",ua=e=>Qa(e)==="[object Set]",T1=e=>Qa(e)==="[object Date]",bb=e=>Qa(e)==="[object RegExp]",Ae=e=>typeof e=="function",Le=e=>typeof e=="string",Cr=e=>typeof e=="symbol",Je=e=>e!==null&&typeof e=="object",Td=e=>(Je(e)||Ae(e))&&Ae(e.then)&&Ae(e.catch),Sv=Object.prototype.toString,Qa=e=>Sv.call(e),_b=e=>Qa(e).slice(8,-1),Po=e=>Qa(e)==="[object Object]",Sd=e=>Le(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ki=pn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Eb=pn("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),Ou=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},wb=/-(\w)/g,pt=Ou(e=>e.replace(wb,(t,n)=>n?n.toUpperCase():"")),Ob=/\B([A-Z])/g,yn=Ou(e=>e.replace(Ob,"-$1").toLowerCase()),vi=Ou(e=>e.charAt(0).toUpperCase()+e.slice(1)),Wi=Ou(e=>e?`on${vi(e)}`:""),ai=(e,t)=>!Object.is(e,t),Ma=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},zs=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},$s=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Us=e=>{const t=Le(e)?Number(e):NaN;return isNaN(t)?e:t};let S1;const mf=()=>S1||(S1=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),Tb="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console",Sb=pn(Tb);function qt(e){if(me(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],i=Le(r)?Av(r):qt(r);if(i)for(const a in i)t[a]=i[a]}return t}else if(Le(e)||Je(e))return e}const Ab=/;(?![^(]*\))/g,Nb=/:([^]+)/,kb=/\/\*[^]*?\*\//g;function Av(e){const t={};return e.replace(kb,"").split(Ab).forEach(n=>{if(n){const r=n.split(Nb);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function _t(e){let t="";if(Le(e))t=e;else if(me(e))for(let n=0;n<e.length;n++){const r=_t(e[n]);r&&(t+=r+" ")}else if(Je(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function $t(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Le(t)&&(e.class=_t(t)),n&&(e.style=qt(n)),e}const Cb="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",Pb="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",Lb="area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr",Ib=pn(Cb),Mb=pn(Pb),xb=pn(Lb),Rb="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Db=pn(Rb);function Nv(e){return!!e||e===""}function Fb(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=oi(e[r],t[r]);return n}function oi(e,t){if(e===t)return!0;let n=T1(e),r=T1(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=Cr(e),r=Cr(t),n||r)return e===t;if(n=me(e),r=me(t),n||r)return n&&r?Fb(e,t):!1;if(n=Je(e),r=Je(t),n||r){if(!n||!r)return!1;const i=Object.keys(e).length,a=Object.keys(t).length;if(i!==a)return!1;for(const o in e){const l=e.hasOwnProperty(o),s=t.hasOwnProperty(o);if(l&&!s||!l&&s||!oi(e[o],t[o]))return!1}}return String(e)===String(t)}function Tu(e,t){return e.findIndex(n=>oi(n,t))}const Ln=e=>Le(e)?e:e==null?"":me(e)||Je(e)&&(e.toString===Sv||!Ae(e.toString))?JSON.stringify(e,kv,2):String(e),kv=(e,t)=>t&&t.__v_isRef?kv(e,t.value):Ia(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,i])=>(n[`${r} =>`]=i,n),{})}:ua(t)?{[`Set(${t.size})`]:[...t.values()]}:Je(t)&&!me(t)&&!Po(t)?String(t):t;let vn;class Su{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=vn,!t&&vn&&(this.index=(vn.scopes||(vn.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=vn;try{return vn=this,t()}finally{vn=n}}}on(){vn=this}off(){vn=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0,this._active=!1}}}function vl(e){return new Su(e)}function Cv(e,t=vn){t&&t.active&&t.effects.push(e)}function eo(){return vn}function gl(e){vn&&vn.cleanups.push(e)}const Ad=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Pv=e=>(e.w&li)>0,Lv=e=>(e.n&li)>0,Hb=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=li},jb=e=>{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r<t.length;r++){const i=t[r];Pv(i)&&!Lv(i)?i.delete(e):t[n++]=i,i.w&=~li,i.n&=~li}t.length=n}},qs=new WeakMap;let Ao=0,li=1;const vf=30;let jn;const Gi=Symbol(""),gf=Symbol("");class Ji{constructor(t,n=null,r){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,Cv(this,r)}run(){if(!this.active)return this.fn();let t=jn,n=Qr;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=jn,jn=this,Qr=!0,li=1<<++Ao,Ao<=vf?Hb(this):A1(this),this.fn()}finally{Ao<=vf&&jb(this),li=1<<--Ao,jn=this.parent,Qr=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){jn===this?this.deferStop=!0:this.active&&(A1(this),this.onStop&&this.onStop(),this.active=!1)}}function A1(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}function Iv(e,t){e.effect instanceof Ji&&(e=e.effect.fn);const n=new Ji(e);t&&(Ue(n,t),t.scope&&Cv(n,t.scope)),(!t||!t.lazy)&&n.run();const r=n.run.bind(n);return r.effect=n,r}function Mv(e){e.effect.stop()}let Qr=!0;const xv=[];function to(){xv.push(Qr),Qr=!1}function no(){const e=xv.pop();Qr=e===void 0?!0:e}function hn(e,t,n){if(Qr&&jn){let r=qs.get(e);r||qs.set(e,r=new Map);let i=r.get(n);i||r.set(n,i=Ad()),Rv(i)}}function Rv(e,t){let n=!1;Ao<=vf?Lv(e)||(e.n|=li,n=!Pv(e)):n=!e.has(jn),n&&(e.add(jn),jn.deps.push(e))}function Sr(e,t,n,r,i,a){const o=qs.get(e);if(!o)return;let l=[];if(t==="clear")l=[...o.values()];else if(n==="length"&&me(e)){const s=Number(r);o.forEach((u,f)=>{(f==="length"||!Cr(f)&&f>=s)&&l.push(u)})}else switch(n!==void 0&&l.push(o.get(n)),t){case"add":me(e)?Sd(n)&&l.push(o.get("length")):(l.push(o.get(Gi)),Ia(e)&&l.push(o.get(gf)));break;case"delete":me(e)||(l.push(o.get(Gi)),Ia(e)&&l.push(o.get(gf)));break;case"set":Ia(e)&&l.push(o.get(Gi));break}if(l.length===1)l[0]&&yf(l[0]);else{const s=[];for(const u of l)u&&s.push(...u);yf(Ad(s))}}function yf(e,t){const n=me(e)?e:[...e];for(const r of n)r.computed&&N1(r);for(const r of n)r.computed||N1(r)}function N1(e,t){(e!==jn||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function Vb(e,t){var n;return(n=qs.get(e))==null?void 0:n.get(t)}const Bb=pn("__proto__,__v_isRef,__isVue"),Dv=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Cr)),k1=zb();function zb(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=Me(this);for(let a=0,o=this.length;a<o;a++)hn(r,"get",a+"");const i=r[t](...n);return i===-1||i===!1?r[t](...n.map(Me)):i}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){to();const r=Me(this)[t].apply(this,n);return no(),r}}),e}function $b(e){const t=Me(this);return hn(t,"has",e),t.hasOwnProperty(e)}class Fv{constructor(t=!1,n=!1){this._isReadonly=t,this._shallow=n}get(t,n,r){const i=this._isReadonly,a=this._shallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return a;if(n==="__v_raw"&&r===(i?a?$v:zv:a?Bv:Vv).get(t))return t;const o=me(t);if(!i){if(o&&$e(k1,n))return Reflect.get(k1,n,r);if(n==="hasOwnProperty")return $b}const l=Reflect.get(t,n,r);return(Cr(n)?Dv.has(n):Bb(n))||(i||hn(t,"get",n),a)?l:Qe(l)?o&&Sd(n)?l:l.value:Je(l)?i?yl(l):dr(l):l}}class Hv extends Fv{constructor(t=!1){super(!1,t)}set(t,n,r,i){let a=t[n];if(si(a)&&Qe(a)&&!Qe(r))return!1;if(!this._shallow&&(!Fa(r)&&!si(r)&&(a=Me(a),r=Me(r)),!me(t)&&Qe(a)&&!Qe(r)))return a.value=r,!0;const o=me(t)&&Sd(n)?Number(n)<t.length:$e(t,n),l=Reflect.set(t,n,r,i);return t===Me(i)&&(o?ai(r,a)&&Sr(t,"set",n,r):Sr(t,"add",n,r)),l}deleteProperty(t,n){const r=$e(t,n);t[n];const i=Reflect.deleteProperty(t,n);return i&&r&&Sr(t,"delete",n,void 0),i}has(t,n){const r=Reflect.has(t,n);return(!Cr(n)||!Dv.has(n))&&hn(t,"has",n),r}ownKeys(t){return hn(t,"iterate",me(t)?"length":Gi),Reflect.ownKeys(t)}}class jv extends Fv{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Ub=new Hv,qb=new jv,Kb=new Hv(!0),Wb=new jv(!0),Nd=e=>e,Au=e=>Reflect.getPrototypeOf(e);function Gl(e,t,n=!1,r=!1){e=e.__v_raw;const i=Me(e),a=Me(t);n||(ai(t,a)&&hn(i,"get",t),hn(i,"get",a));const{has:o}=Au(i),l=r?Nd:n?kd:Uo;if(o.call(i,t))return l(e.get(t));if(o.call(i,a))return l(e.get(a));e!==i&&e.get(t)}function Yl(e,t=!1){const n=this.__v_raw,r=Me(n),i=Me(e);return t||(ai(e,i)&&hn(r,"has",e),hn(r,"has",i)),e===i?n.has(e):n.has(e)||n.has(i)}function Xl(e,t=!1){return e=e.__v_raw,!t&&hn(Me(e),"iterate",Gi),Reflect.get(e,"size",e)}function C1(e){e=Me(e);const t=Me(this);return Au(t).has.call(t,e)||(t.add(e),Sr(t,"add",e,e)),this}function P1(e,t){t=Me(t);const n=Me(this),{has:r,get:i}=Au(n);let a=r.call(n,e);a||(e=Me(e),a=r.call(n,e));const o=i.call(n,e);return n.set(e,t),a?ai(t,o)&&Sr(n,"set",e,t):Sr(n,"add",e,t),this}function L1(e){const t=Me(this),{has:n,get:r}=Au(t);let i=n.call(t,e);i||(e=Me(e),i=n.call(t,e)),r&&r.call(t,e);const a=t.delete(e);return i&&Sr(t,"delete",e,void 0),a}function I1(){const e=Me(this),t=e.size!==0,n=e.clear();return t&&Sr(e,"clear",void 0,void 0),n}function Jl(e,t){return function(r,i){const a=this,o=a.__v_raw,l=Me(o),s=t?Nd:e?kd:Uo;return!e&&hn(l,"iterate",Gi),o.forEach((u,f)=>r.call(i,s(u),s(f),a))}}function Zl(e,t,n){return function(...r){const i=this.__v_raw,a=Me(i),o=Ia(a),l=e==="entries"||e===Symbol.iterator&&o,s=e==="keys"&&o,u=i[e](...r),f=n?Nd:t?kd:Uo;return!t&&hn(a,"iterate",s?gf:Gi),{next(){const{value:c,done:d}=u.next();return d?{value:c,done:d}:{value:l?[f(c[0]),f(c[1])]:f(c),done:d}},[Symbol.iterator](){return this}}}}function Vr(e){return function(...t){return e==="delete"?!1:this}}function Gb(){const e={get(a){return Gl(this,a)},get size(){return Xl(this)},has:Yl,add:C1,set:P1,delete:L1,clear:I1,forEach:Jl(!1,!1)},t={get(a){return Gl(this,a,!1,!0)},get size(){return Xl(this)},has:Yl,add:C1,set:P1,delete:L1,clear:I1,forEach:Jl(!1,!0)},n={get(a){return Gl(this,a,!0)},get size(){return Xl(this,!0)},has(a){return Yl.call(this,a,!0)},add:Vr("add"),set:Vr("set"),delete:Vr("delete"),clear:Vr("clear"),forEach:Jl(!0,!1)},r={get(a){return Gl(this,a,!0,!0)},get size(){return Xl(this,!0)},has(a){return Yl.call(this,a,!0)},add:Vr("add"),set:Vr("set"),delete:Vr("delete"),clear:Vr("clear"),forEach:Jl(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(a=>{e[a]=Zl(a,!1,!1),n[a]=Zl(a,!0,!1),t[a]=Zl(a,!1,!0),r[a]=Zl(a,!0,!0)}),[e,n,t,r]}const[Yb,Xb,Jb,Zb]=Gb();function Nu(e,t){const n=t?e?Zb:Jb:e?Xb:Yb;return(r,i,a)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?r:Reflect.get($e(n,i)&&i in r?n:r,i,a)}const Qb={get:Nu(!1,!1)},e4={get:Nu(!1,!0)},t4={get:Nu(!0,!1)},n4={get:Nu(!0,!0)},Vv=new WeakMap,Bv=new WeakMap,zv=new WeakMap,$v=new WeakMap;function r4(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function i4(e){return e.__v_skip||!Object.isExtensible(e)?0:r4(_b(e))}function dr(e){return si(e)?e:ku(e,!1,Ub,Qb,Vv)}function Vi(e){return ku(e,!1,Kb,e4,Bv)}function yl(e){return ku(e,!0,qb,t4,zv)}function Uv(e){return ku(e,!0,Wb,n4,$v)}function ku(e,t,n,r,i){if(!Je(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const a=i.get(e);if(a)return a;const o=i4(e);if(o===0)return e;const l=new Proxy(e,o===2?r:n);return i.set(e,l),l}function Un(e){return si(e)?Un(e.__v_raw):!!(e&&e.__v_isReactive)}function si(e){return!!(e&&e.__v_isReadonly)}function Fa(e){return!!(e&&e.__v_isShallow)}function Cu(e){return Un(e)||si(e)}function Me(e){const t=e&&e.__v_raw;return t?Me(t):e}function cr(e){return zs(e,"__v_skip",!0),e}const Uo=e=>Je(e)?dr(e):e,kd=e=>Je(e)?yl(e):e;function Cd(e){Qr&&jn&&(e=Me(e),Rv(e.dep||(e.dep=Ad())))}function Pu(e,t){e=Me(e);const n=e.dep;n&&yf(n)}function Qe(e){return!!(e&&e.__v_isRef===!0)}function be(e){return qv(e,!1)}function Pd(e){return qv(e,!0)}function qv(e,t){return Qe(e)?e:new a4(e,t)}class a4{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Me(t),this._value=n?t:Uo(t)}get value(){return Cd(this),this._value}set value(t){const n=this.__v_isShallow||Fa(t)||si(t);t=n?t:Me(t),ai(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Uo(t),Pu(this))}}function Kv(e){Pu(e)}function Se(e){return Qe(e)?e.value:e}function Wv(e){return Ae(e)?e():Se(e)}const o4={get:(e,t,n)=>Se(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const i=e[t];return Qe(i)&&!Qe(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function Lu(e){return Un(e)?e:new Proxy(e,o4)}class l4{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>Cd(this),()=>Pu(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function Gv(e){return new l4(e)}function Ld(e){const t=me(e)?new Array(e.length):{};for(const n in e)t[n]=Yv(e,n);return t}class s4{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Vb(Me(this._object),this._key)}}class u4{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function bl(e,t,n){return Qe(e)?e:Ae(e)?new u4(e):Je(e)&&arguments.length>1?Yv(e,t,n):be(e)}function Yv(e,t,n){const r=e[t];return Qe(r)?r:new s4(e,t,n)}class c4{constructor(t,n,r,i){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new Ji(t,()=>{this._dirty||(this._dirty=!0,Pu(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=r}get value(){const t=Me(this);return Cd(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function f4(e,t,n=!1){let r,i;const a=Ae(e);return a?(r=e,i=Qt):(r=e.get,i=e.set),new c4(r,i,a||!i,n)}function Xv(e,...t){}function Jv(e,t){}function fr(e,t,n,r){let i;try{i=r?e(...r):e()}catch(a){gi(a,t,n)}return i}function cn(e,t,n,r){if(Ae(e)){const a=fr(e,t,n,r);return a&&Td(a)&&a.catch(o=>{gi(o,t,n)}),a}const i=[];for(let a=0;a<e.length;a++)i.push(cn(e[a],t,n,r));return i}function gi(e,t,n,r=!0){const i=t?t.vnode:null;if(t){let a=t.parent;const o=t.proxy,l=n;for(;a;){const u=a.ec;if(u){for(let f=0;f<u.length;f++)if(u[f](e,o,l)===!1)return}a=a.parent}const s=t.appContext.config.errorHandler;if(s){fr(s,null,10,[e,o,l]);return}}d4(e,n,i,r)}function d4(e,t,n,r=!0){console.error(e)}let qo=!1,bf=!1;const Ut=[];let or=0;const xa=[];let wr=null,Ri=0;const Zv=Promise.resolve();let Id=null;function Ht(e){const t=Id||Zv;return e?t.then(this?e.bind(this):e):t}function h4(e){let t=or+1,n=Ut.length;for(;t<n;){const r=t+n>>>1,i=Ut[r],a=Wo(i);a<e||a===e&&i.pre?t=r+1:n=r}return t}function Iu(e){(!Ut.length||!Ut.includes(e,qo&&e.allowRecurse?or+1:or))&&(e.id==null?Ut.push(e):Ut.splice(h4(e.id),0,e),Qv())}function Qv(){!qo&&!bf&&(bf=!0,Id=Zv.then(e0))}function p4(e){const t=Ut.indexOf(e);t>or&&Ut.splice(t,1)}function Ko(e){me(e)?xa.push(...e):(!wr||!wr.includes(e,e.allowRecurse?Ri+1:Ri))&&xa.push(e),Qv()}function M1(e,t=qo?or+1:0){for(;t<Ut.length;t++){const n=Ut[t];n&&n.pre&&(Ut.splice(t,1),t--,n())}}function Ks(e){if(xa.length){const t=[...new Set(xa)];if(xa.length=0,wr){wr.push(...t);return}for(wr=t,wr.sort((n,r)=>Wo(n)-Wo(r)),Ri=0;Ri<wr.length;Ri++)wr[Ri]();wr=null,Ri=0}}const Wo=e=>e.id==null?1/0:e.id,m4=(e,t)=>{const n=Wo(e)-Wo(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function e0(e){bf=!1,qo=!0,Ut.sort(m4);const t=Qt;try{for(or=0;or<Ut.length;or++){const n=Ut[or];n&&n.active!==!1&&fr(n,null,14)}}finally{or=0,Ut.length=0,Ks(),qo=!1,Id=null,(Ut.length||xa.length)&&e0()}}let Di,Ql=[];function Md(e,t){var n,r;Di=e,Di?(Di.enabled=!0,Ql.forEach(({event:i,args:a})=>Di.emit(i,...a)),Ql=[]):typeof window<"u"&&window.HTMLElement&&!((r=(n=window.navigator)==null?void 0:n.userAgent)!=null&&r.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(a=>{Md(a,t)}),setTimeout(()=>{Di||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Ql=[])},3e3)):Ql=[]}function v4(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Ye;let i=n;const a=t.startsWith("update:"),o=a&&t.slice(7);if(o&&o in r){const f=`${o==="modelValue"?"model":o}Modifiers`,{number:c,trim:d}=r[f]||Ye;d&&(i=n.map(h=>Le(h)?h.trim():h)),c&&(i=n.map($s))}let l,s=r[l=Wi(t)]||r[l=Wi(pt(t))];!s&&a&&(s=r[l=Wi(yn(t))]),s&&cn(s,e,6,i);const u=r[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,cn(u,e,6,i)}}function t0(e,t,n=!1){const r=t.emitsCache,i=r.get(e);if(i!==void 0)return i;const a=e.emits;let o={},l=!1;if(!Ae(e)){const s=u=>{const f=t0(u,t,!0);f&&(l=!0,Ue(o,f))};!n&&t.mixins.length&&t.mixins.forEach(s),e.extends&&s(e.extends),e.mixins&&e.mixins.forEach(s)}return!a&&!l?(Je(e)&&r.set(e,null),null):(me(a)?a.forEach(s=>o[s]=null):Ue(o,a),Je(e)&&r.set(e,o),o)}function Mu(e,t){return!e||!sa(t)?!1:(t=t.slice(2).replace(/Once$/,""),$e(e,t[0].toLowerCase()+t.slice(1))||$e(e,yn(t))||$e(e,t))}let It=null,xu=null;function Go(e){const t=It;return It=e,xu=e&&e.type.__scopeId||null,t}function Ru(e){xu=e}function Du(){xu=null}const xd=e=>fn;function fn(e,t=It,n){if(!t||e._n)return e;const r=(...i)=>{r._d&&Ys(-1);const a=Go(t);let o;try{o=e(...i)}finally{Go(a),r._d&&Ys(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function Cs(e){const{type:t,vnode:n,proxy:r,withProxy:i,props:a,propsOptions:[o],slots:l,attrs:s,emit:u,render:f,renderCache:c,data:d,setupState:h,ctx:y,inheritAttrs:g}=e;let _,m;const v=Go(e);try{if(n.shapeFlag&4){const p=i||r;_=gn(f.call(p,p,c,a,h,d,y)),m=s}else{const p=t;_=gn(p.length>1?p(a,{attrs:s,slots:l,emit:u}):p(a,null)),m=t.props?s:y4(s)}}catch(p){Mo.length=0,gi(p,e,1),_=xe(Mt)}let b=_;if(m&&g!==!1){const p=Object.keys(m),{shapeFlag:E}=b;p.length&&E&7&&(o&&p.some(wd)&&(m=b4(m,o)),b=Wn(b,m))}return n.dirs&&(b=Wn(b),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&(b.transition=n.transition),_=b,Go(v),_}function g4(e){let t;for(let n=0;n<e.length;n++){const r=e[n];if(Pr(r)){if(r.type!==Mt||r.children==="v-if"){if(t)return;t=r}}else return}return t}const y4=e=>{let t;for(const n in e)(n==="class"||n==="style"||sa(n))&&((t||(t={}))[n]=e[n]);return t},b4=(e,t)=>{const n={};for(const r in e)(!wd(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function _4(e,t,n){const{props:r,children:i,component:a}=e,{props:o,children:l,patchFlag:s}=t,u=a.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&s>=0){if(s&1024)return!0;if(s&16)return r?x1(r,o,u):!!o;if(s&8){const f=t.dynamicProps;for(let c=0;c<f.length;c++){const d=f[c];if(o[d]!==r[d]&&!Mu(u,d))return!0}}}else return(i||l)&&(!l||!l.$stable)?!0:r===o?!1:r?o?x1(r,o,u):!0:!!o;return!1}function x1(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let i=0;i<r.length;i++){const a=r[i];if(t[a]!==e[a]&&!Mu(n,a))return!0}return!1}function Rd({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const Dd="components",E4="directives";function Fd(e,t){return Hd(Dd,e,!0,t)||e}const n0=Symbol.for("v-ndc");function Ar(e){return Le(e)?Hd(Dd,e,!1)||e:e||n0}function Fu(e){return Hd(E4,e)}function Hd(e,t,n=!0,r=!1){const i=It||bt;if(i){const a=i.type;if(e===Dd){const l=kf(a,!1);if(l&&(l===t||l===pt(t)||l===vi(pt(t))))return a}const o=R1(i[e]||a[e],t)||R1(i.appContext[e],t);return!o&&r?a:o}}function R1(e,t){return e&&(e[t]||e[pt(t)]||e[vi(pt(t))])}const r0=e=>e.__isSuspense,w4={name:"Suspense",__isSuspense:!0,process(e,t,n,r,i,a,o,l,s,u){e==null?O4(t,n,r,i,a,o,l,s,u):T4(e,t,n,r,i,o,l,s,u)},hydrate:S4,create:Vd,normalize:A4},jd=w4;function Yo(e,t){const n=e.props&&e.props[t];Ae(n)&&n()}function O4(e,t,n,r,i,a,o,l,s){const{p:u,o:{createElement:f}}=s,c=f("div"),d=e.suspense=Vd(e,i,r,t,c,n,a,o,l,s);u(null,d.pendingBranch=e.ssContent,c,null,r,d,a,o),d.deps>0?(Yo(e,"onPending"),Yo(e,"onFallback"),u(null,e.ssFallback,t,n,r,null,a,o),Ra(d,e.ssFallback)):d.resolve(!1,!0)}function T4(e,t,n,r,i,a,o,l,{p:s,um:u,o:{createElement:f}}){const c=t.suspense=e.suspense;c.vnode=t,t.el=e.el;const d=t.ssContent,h=t.ssFallback,{activeBranch:y,pendingBranch:g,isInFallback:_,isHydrating:m}=c;if(g)c.pendingBranch=d,Vn(d,g)?(s(g,d,c.hiddenContainer,null,i,c,a,o,l),c.deps<=0?c.resolve():_&&(s(y,h,n,r,i,null,a,o,l),Ra(c,h))):(c.pendingId++,m?(c.isHydrating=!1,c.activeBranch=g):u(g,i,c),c.deps=0,c.effects.length=0,c.hiddenContainer=f("div"),_?(s(null,d,c.hiddenContainer,null,i,c,a,o,l),c.deps<=0?c.resolve():(s(y,h,n,r,i,null,a,o,l),Ra(c,h))):y&&Vn(d,y)?(s(y,d,n,r,i,c,a,o,l),c.resolve(!0)):(s(null,d,c.hiddenContainer,null,i,c,a,o,l),c.deps<=0&&c.resolve()));else if(y&&Vn(d,y))s(y,d,n,r,i,c,a,o,l),Ra(c,d);else if(Yo(t,"onPending"),c.pendingBranch=d,c.pendingId++,s(null,d,c.hiddenContainer,null,i,c,a,o,l),c.deps<=0)c.resolve();else{const{timeout:v,pendingId:b}=c;v>0?setTimeout(()=>{c.pendingId===b&&c.fallback(h)},v):v===0&&c.fallback(h)}}function Vd(e,t,n,r,i,a,o,l,s,u,f=!1){const{p:c,m:d,um:h,n:y,o:{parentNode:g,remove:_}}=u;let m;const v=N4(e);v&&t?.pendingBranch&&(m=t.pendingId,t.deps++);const b=e.props?Us(e.props.timeout):void 0,p={vnode:e,parent:t,parentComponent:n,isSVG:o,container:r,hiddenContainer:i,anchor:a,deps:0,pendingId:0,timeout:typeof b=="number"?b:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:f,isUnmounted:!1,effects:[],resolve(E=!1,k=!1){const{vnode:T,activeBranch:S,pendingBranch:P,pendingId:N,effects:O,parentComponent:w,container:C}=p;let I=!1;if(p.isHydrating)p.isHydrating=!1;else if(!E){I=S&&P.transition&&P.transition.mode==="out-in",I&&(S.transition.afterLeave=()=>{N===p.pendingId&&(d(P,C,q,0),Ko(O))});let{anchor:q}=p;S&&(q=y(S),h(S,w,p,!0)),I||d(P,C,q,0)}Ra(p,P),p.pendingBranch=null,p.isInFallback=!1;let D=p.parent,V=!1;for(;D;){if(D.pendingBranch){D.effects.push(...O),V=!0;break}D=D.parent}!V&&!I&&Ko(O),p.effects=[],v&&t&&t.pendingBranch&&m===t.pendingId&&(t.deps--,t.deps===0&&!k&&t.resolve()),Yo(T,"onResolve")},fallback(E){if(!p.pendingBranch)return;const{vnode:k,activeBranch:T,parentComponent:S,container:P,isSVG:N}=p;Yo(k,"onFallback");const O=y(T),w=()=>{p.isInFallback&&(c(null,E,P,O,S,null,N,l,s),Ra(p,E))},C=E.transition&&E.transition.mode==="out-in";C&&(T.transition.afterLeave=w),p.isInFallback=!0,h(T,S,null,!0),C||w()},move(E,k,T){p.activeBranch&&d(p.activeBranch,E,k,T),p.container=E},next(){return p.activeBranch&&y(p.activeBranch)},registerDep(E,k){const T=!!p.pendingBranch;T&&p.deps++;const S=E.vnode.el;E.asyncDep.catch(P=>{gi(P,E,0)}).then(P=>{if(E.isUnmounted||p.isUnmounted||p.pendingId!==E.suspenseId)return;E.asyncResolved=!0;const{vnode:N}=E;Af(E,P,!1),S&&(N.el=S);const O=!S&&E.subTree.el;k(E,N,g(S||E.subTree.el),S?null:y(E.subTree),p,o,s),O&&_(O),Rd(E,N.el),T&&--p.deps===0&&p.resolve()})},unmount(E,k){p.isUnmounted=!0,p.activeBranch&&h(p.activeBranch,n,E,k),p.pendingBranch&&h(p.pendingBranch,n,E,k)}};return p}function S4(e,t,n,r,i,a,o,l,s){const u=t.suspense=Vd(t,r,n,e.parentNode,document.createElement("div"),null,i,a,o,l,!0),f=s(e,u.pendingBranch=t.ssContent,n,u,a,o);return u.deps===0&&u.resolve(!1,!0),f}function A4(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=D1(r?n.default:n),e.ssFallback=r?D1(n.fallback):xe(Mt)}function D1(e){let t;if(Ae(e)){const n=ea&&e._c;n&&(e._d=!1,_e()),e=e(),n&&(e._d=!0,t=sn,R0())}return me(e)&&(e=g4(e)),e=gn(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function i0(e,t){t&&t.pendingBranch?me(e)?t.effects.push(...e):t.effects.push(e):Ko(e)}function Ra(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e,i=n.el=t.el;r&&r.subTree===n&&(r.vnode.el=i,Rd(r,i))}function N4(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}function a0(e,t){return _l(e,null,t)}function Bd(e,t){return _l(e,null,{flush:"post"})}function o0(e,t){return _l(e,null,{flush:"sync"})}const es={};function Ke(e,t,n){return _l(e,t,n)}function _l(e,t,{immediate:n,deep:r,flush:i,onTrack:a,onTrigger:o}=Ye){var l;const s=eo()===((l=bt)==null?void 0:l.scope)?bt:null;let u,f=!1,c=!1;if(Qe(e)?(u=()=>e.value,f=Fa(e)):Un(e)?(u=()=>e,r=!0):me(e)?(c=!0,f=e.some(p=>Un(p)||Fa(p)),u=()=>e.map(p=>{if(Qe(p))return p.value;if(Un(p))return Bi(p);if(Ae(p))return fr(p,s,2)})):Ae(e)?t?u=()=>fr(e,s,2):u=()=>{if(!(s&&s.isUnmounted))return d&&d(),cn(e,s,3,[h])}:u=Qt,t&&r){const p=u;u=()=>Bi(p())}let d,h=p=>{d=v.onStop=()=>{fr(p,s,4)}},y;if(Ha)if(h=Qt,t?n&&cn(t,s,3,[u(),c?[]:void 0,h]):u(),i==="sync"){const p=ch();y=p.__watcherHandles||(p.__watcherHandles=[])}else return Qt;let g=c?new Array(e.length).fill(es):es;const _=()=>{if(v.active)if(t){const p=v.run();(r||f||(c?p.some((E,k)=>ai(E,g[k])):ai(p,g)))&&(d&&d(),cn(t,s,3,[p,g===es?void 0:c&&g[0]===es?[]:g,h]),g=p)}else v.run()};_.allowRecurse=!!t;let m;i==="sync"?m=_:i==="post"?m=()=>Ft(_,s&&s.suspense):(_.pre=!0,s&&(_.id=s.uid),m=()=>Iu(_));const v=new Ji(u,m);t?n?_():g=v.run():i==="post"?Ft(v.run.bind(v),s&&s.suspense):v.run();const b=()=>{v.stop(),s&&s.scope&&Od(s.scope.effects,v)};return y&&y.push(b),b}function k4(e,t,n){const r=this.proxy,i=Le(e)?e.includes(".")?l0(r,e):()=>r[e]:e.bind(r,r);let a;Ae(t)?a=t:(a=t.handler,n=t);const o=bt;ci(this);const l=_l(i,a.bind(r),n);return o?ci(o):ti(),l}function l0(e,t){const n=t.split(".");return()=>{let r=e;for(let i=0;i<n.length&&r;i++)r=r[n[i]];return r}}function Bi(e,t){if(!Je(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),Qe(e))Bi(e.value,t);else if(me(e))for(let n=0;n<e.length;n++)Bi(e[n],t);else if(ua(e)||Ia(e))e.forEach(n=>{Bi(n,t)});else if(Po(e))for(const n in e)Bi(e[n],t);return e}function qn(e,t){const n=It;if(n===null)return e;const r=qu(n)||n.proxy,i=e.dirs||(e.dirs=[]);for(let a=0;a<t.length;a++){let[o,l,s,u=Ye]=t[a];o&&(Ae(o)&&(o={mounted:o,updated:o}),o.deep&&Bi(l),i.push({dir:o,instance:r,value:l,oldValue:void 0,arg:s,modifiers:u}))}return e}function rr(e,t,n,r){const i=e.dirs,a=t&&t.dirs;for(let o=0;o<i.length;o++){const l=i[o];a&&(l.oldValue=a[o].value);let s=l.dir[r];s&&(to(),cn(s,n,8,[e.el,l,e,t]),no())}}const Yr=Symbol("_leaveCb"),ts=Symbol("_enterCb");function Hu(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return mn(()=>{e.isMounted=!0}),Dr(()=>{e.isUnmounting=!0}),e}const An=[Function,Array],ju={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:An,onEnter:An,onAfterEnter:An,onEnterCancelled:An,onBeforeLeave:An,onLeave:An,onAfterLeave:An,onLeaveCancelled:An,onBeforeAppear:An,onAppear:An,onAfterAppear:An,onAppearCancelled:An},C4={name:"BaseTransition",props:ju,setup(e,{slots:t}){const n=jt(),r=Hu();let i;return()=>{const a=t.default&&El(t.default(),!0);if(!a||!a.length)return;let o=a[0];if(a.length>1){for(const g of a)if(g.type!==Mt){o=g;break}}const l=Me(e),{mode:s}=l;if(r.isLeaving)return zc(o);const u=F1(o);if(!u)return zc(o);const f=Zi(u,l,r,n);ui(u,f);const c=n.subTree,d=c&&F1(c);let h=!1;const{getTransitionKey:y}=u.type;if(y){const g=y();i===void 0?i=g:g!==i&&(i=g,h=!0)}if(d&&d.type!==Mt&&(!Vn(u,d)||h)){const g=Zi(d,l,r,n);if(ui(d,g),s==="out-in")return r.isLeaving=!0,g.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&n.update()},zc(o);s==="in-out"&&u.type!==Mt&&(g.delayLeave=(_,m,v)=>{const b=s0(r,d);b[String(d.key)]=d,_[Yr]=()=>{m(),_[Yr]=void 0,delete f.delayedLeave},f.delayedLeave=v})}return o}}},zd=C4;function s0(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Zi(e,t,n,r){const{appear:i,mode:a,persisted:o=!1,onBeforeEnter:l,onEnter:s,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:c,onLeave:d,onAfterLeave:h,onLeaveCancelled:y,onBeforeAppear:g,onAppear:_,onAfterAppear:m,onAppearCancelled:v}=t,b=String(e.key),p=s0(n,e),E=(S,P)=>{S&&cn(S,r,9,P)},k=(S,P)=>{const N=P[1];E(S,P),me(S)?S.every(O=>O.length<=1)&&N():S.length<=1&&N()},T={mode:a,persisted:o,beforeEnter(S){let P=l;if(!n.isMounted)if(i)P=g||l;else return;S[Yr]&&S[Yr](!0);const N=p[b];N&&Vn(e,N)&&N.el[Yr]&&N.el[Yr](),E(P,[S])},enter(S){let P=s,N=u,O=f;if(!n.isMounted)if(i)P=_||s,N=m||u,O=v||f;else return;let w=!1;const C=S[ts]=I=>{w||(w=!0,I?E(O,[S]):E(N,[S]),T.delayedLeave&&T.delayedLeave(),S[ts]=void 0)};P?k(P,[S,C]):C()},leave(S,P){const N=String(e.key);if(S[ts]&&S[ts](!0),n.isUnmounting)return P();E(c,[S]);let O=!1;const w=S[Yr]=C=>{O||(O=!0,P(),C?E(y,[S]):E(h,[S]),S[Yr]=void 0,p[N]===e&&delete p[N])};p[N]=e,d?k(d,[S,w]):w()},clone(S){return Zi(S,t,n,r)}};return T}function zc(e){if(wl(e))return e=Wn(e),e.children=null,e}function F1(e){return wl(e)?e.children?e.children[0]:void 0:e}function ui(e,t){e.shapeFlag&6&&e.component?ui(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function El(e,t=!1,n){let r=[],i=0;for(let a=0;a<e.length;a++){let o=e[a];const l=n==null?o.key:String(n)+String(o.key!=null?o.key:a);o.type===tt?(o.patchFlag&128&&i++,r=r.concat(El(o.children,t,l))):(t||o.type!==Mt)&&r.push(l!=null?Wn(o,{key:l}):o)}if(i>1)for(let a=0;a<r.length;a++)r[a].patchFlag=-2;return r}/*! #__NO_SIDE_EFFECTS__ */function ut(e,t){return Ae(e)?(()=>Ue({name:e.name},t,{setup:e}))():e}const Yi=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function u0(e){Ae(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:i=200,timeout:a,suspensible:o=!0,onError:l}=e;let s=null,u,f=0;const c=()=>(f++,s=null,d()),d=()=>{let h;return s||(h=s=t().catch(y=>{if(y=y instanceof Error?y:new Error(String(y)),l)return new Promise((g,_)=>{l(y,()=>g(c()),()=>_(y),f+1)});throw y}).then(y=>h!==s&&s?s:(y&&(y.__esModule||y[Symbol.toStringTag]==="Module")&&(y=y.default),u=y,y)))};return ut({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return u},setup(){const h=bt;if(u)return()=>$c(u,h);const y=v=>{s=null,gi(v,h,13,!r)};if(o&&h.suspense||Ha)return d().then(v=>()=>$c(v,h)).catch(v=>(y(v),()=>r?xe(r,{error:v}):null));const g=be(!1),_=be(),m=be(!!i);return i&&setTimeout(()=>{m.value=!1},i),a!=null&&setTimeout(()=>{if(!g.value&&!_.value){const v=new Error(`Async component timed out after ${a}ms.`);y(v),_.value=v}},a),d().then(()=>{g.value=!0,h.parent&&wl(h.parent.vnode)&&Iu(h.parent.update)}).catch(v=>{y(v),_.value=v}),()=>{if(g.value&&u)return $c(u,h);if(_.value&&r)return xe(r,{error:_.value});if(n&&!m.value)return xe(n)}}})}function $c(e,t){const{ref:n,props:r,children:i,ce:a}=t.vnode,o=xe(e,r,i);return o.ref=n,o.ce=a,delete t.vnode.ce,o}const wl=e=>e.type.__isKeepAlive,P4={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=jt(),r=n.ctx;if(!r.renderer)return()=>{const v=t.default&&t.default();return v&&v.length===1?v[0]:v};const i=new Map,a=new Set;let o=null;const l=n.suspense,{renderer:{p:s,m:u,um:f,o:{createElement:c}}}=r,d=c("div");r.activate=(v,b,p,E,k)=>{const T=v.component;u(v,b,p,0,l),s(T.vnode,v,b,p,T,l,E,v.slotScopeIds,k),Ft(()=>{T.isDeactivated=!1,T.a&&Ma(T.a);const S=v.props&&v.props.onVnodeMounted;S&&on(S,T.parent,v)},l)},r.deactivate=v=>{const b=v.component;u(v,d,null,1,l),Ft(()=>{b.da&&Ma(b.da);const p=v.props&&v.props.onVnodeUnmounted;p&&on(p,b.parent,v),b.isDeactivated=!0},l)};function h(v){Uc(v),f(v,n,l,!0)}function y(v){i.forEach((b,p)=>{const E=kf(b.type);E&&(!v||!v(E))&&g(p)})}function g(v){const b=i.get(v);!o||!Vn(b,o)?h(b):o&&Uc(o),i.delete(v),a.delete(v)}Ke(()=>[e.include,e.exclude],([v,b])=>{v&&y(p=>No(v,p)),b&&y(p=>!No(b,p))},{flush:"post",deep:!0});let _=null;const m=()=>{_!=null&&i.set(_,qc(n.subTree))};return mn(m),Ol(m),Dr(()=>{i.forEach(v=>{const{subTree:b,suspense:p}=n,E=qc(b);if(v.type===E.type&&v.key===E.key){Uc(E);const k=E.component.da;k&&Ft(k,p);return}h(v)})}),()=>{if(_=null,!t.default)return null;const v=t.default(),b=v[0];if(v.length>1)return o=null,v;if(!Pr(b)||!(b.shapeFlag&4)&&!(b.shapeFlag&128))return o=null,b;let p=qc(b);const E=p.type,k=kf(Yi(p)?p.type.__asyncResolved||{}:E),{include:T,exclude:S,max:P}=e;if(T&&(!k||!No(T,k))||S&&k&&No(S,k))return o=p,b;const N=p.key==null?E:p.key,O=i.get(N);return p.el&&(p=Wn(p),b.shapeFlag&128&&(b.ssContent=p)),_=N,O?(p.el=O.el,p.component=O.component,p.transition&&ui(p,p.transition),p.shapeFlag|=512,a.delete(N),a.add(N)):(a.add(N),P&&a.size>parseInt(P,10)&&g(a.values().next().value)),p.shapeFlag|=256,o=p,r0(b.type)?b:p}}},c0=P4;function No(e,t){return me(e)?e.some(n=>No(n,t)):Le(e)?e.split(",").includes(t):bb(e)?e.test(t):!1}function $d(e,t){f0(e,"a",t)}function Ud(e,t){f0(e,"da",t)}function f0(e,t,n=bt){const r=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(Vu(t,r,n),n){let i=n.parent;for(;i&&i.parent;)wl(i.parent.vnode)&&L4(r,t,n,i),i=i.parent}}function L4(e,t,n,r){const i=Vu(t,e,r,!0);yi(()=>{Od(r[t],i)},n)}function Uc(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function qc(e){return e.shapeFlag&128?e.ssContent:e}function Vu(e,t,n=bt,r=!1){if(n){const i=n[e]||(n[e]=[]),a=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;to(),ci(n);const l=cn(t,n,e,o);return ti(),no(),l});return r?i.unshift(a):i.push(a),a}}const Rr=e=>(t,n=bt)=>(!Ha||e==="sp")&&Vu(e,(...r)=>t(...r),n),qd=Rr("bm"),mn=Rr("m"),Bu=Rr("bu"),Ol=Rr("u"),Dr=Rr("bum"),yi=Rr("um"),Kd=Rr("sp"),Wd=Rr("rtg"),Gd=Rr("rtc");function Yd(e,t=bt){Vu("ec",e,t)}function Qi(e,t,n,r){let i;const a=n&&n[r];if(me(e)||Le(e)){i=new Array(e.length);for(let o=0,l=e.length;o<l;o++)i[o]=t(e[o],o,void 0,a&&a[o])}else if(typeof e=="number"){i=new Array(e);for(let o=0;o<e;o++)i[o]=t(o+1,o,void 0,a&&a[o])}else if(Je(e))if(e[Symbol.iterator])i=Array.from(e,(o,l)=>t(o,l,void 0,a&&a[l]));else{const o=Object.keys(e);i=new Array(o.length);for(let l=0,s=o.length;l<s;l++){const u=o[l];i[l]=t(e[u],u,l,a&&a[l])}}else i=[];return n&&(n[r]=i),i}function zu(e,t){for(let n=0;n<t.length;n++){const r=t[n];if(me(r))for(let i=0;i<r.length;i++)e[r[i].name]=r[i].fn;else r&&(e[r.name]=r.key?(...i)=>{const a=r.fn(...i);return a&&(a.key=r.key),a}:r.fn)}return e}function ht(e,t,n={},r,i){if(It.isCE||It.parent&&Yi(It.parent)&&It.parent.isCE)return t!=="default"&&(n.name=t),xe("slot",n,r&&r());let a=e[t];a&&a._c&&(a._d=!1),_e();const o=a&&d0(a(n)),l=mt(tt,{key:n.key||o&&o.key||`_${t}`},o||(r?r():[]),o&&e._===1?64:-2);return!i&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),a&&a._c&&(a._d=!0),l}function d0(e){return e.some(t=>Pr(t)?!(t.type===Mt||t.type===tt&&!d0(t.children)):!0)?e:null}function Xo(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:Wi(r)]=e[r];return n}const _f=e=>e?B0(e)?qu(e)||e.proxy:_f(e.parent):null,Lo=Ue(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>_f(e.parent),$root:e=>_f(e.root),$emit:e=>e.emit,$options:e=>Qd(e),$forceUpdate:e=>e.f||(e.f=()=>Iu(e.update)),$nextTick:e=>e.n||(e.n=Ht.bind(e.proxy)),$watch:e=>k4.bind(e)}),Kc=(e,t)=>e!==Ye&&!e.__isScriptSetup&&$e(e,t),Ef={get({_:e},t){const{ctx:n,setupState:r,data:i,props:a,accessCache:o,type:l,appContext:s}=e;let u;if(t[0]!=="$"){const h=o[t];if(h!==void 0)switch(h){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return a[t]}else{if(Kc(r,t))return o[t]=1,r[t];if(i!==Ye&&$e(i,t))return o[t]=2,i[t];if((u=e.propsOptions[0])&&$e(u,t))return o[t]=3,a[t];if(n!==Ye&&$e(n,t))return o[t]=4,n[t];wf&&(o[t]=0)}}const f=Lo[t];let c,d;if(f)return t==="$attrs"&&hn(e,"get",t),f(e);if((c=l.__cssModules)&&(c=c[t]))return c;if(n!==Ye&&$e(n,t))return o[t]=4,n[t];if(d=s.config.globalProperties,$e(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:i,ctx:a}=e;return Kc(i,t)?(i[t]=n,!0):r!==Ye&&$e(r,t)?(r[t]=n,!0):$e(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(a[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,propsOptions:a}},o){let l;return!!n[o]||e!==Ye&&$e(e,o)||Kc(t,o)||(l=a[0])&&$e(l,o)||$e(r,o)||$e(Lo,o)||$e(i.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:$e(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},I4=Ue({},Ef,{get(e,t){if(t!==Symbol.unscopables)return Ef.get(e,t,e)},has(e,t){return t[0]!=="_"&&!Sb(t)}});function h0(){return null}function p0(){return null}function m0(e){}function v0(e){}function g0(){return null}function y0(){}function b0(e,t){return null}function Xd(){return E0().slots}function Jd(){return E0().attrs}function _0(e,t,n){const r=jt();if(n&&n.local){const i=be(e[t]);return Ke(()=>e[t],a=>i.value=a),Ke(i,a=>{a!==e[t]&&r.emit(`update:${t}`,a)}),i}else return{__v_isRef:!0,get value(){return e[t]},set value(i){r.emit(`update:${t}`,i)}}}function E0(){const e=jt();return e.setupContext||(e.setupContext=q0(e))}function Jo(e){return me(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function w0(e,t){const n=Jo(e);for(const r in t){if(r.startsWith("__skip"))continue;let i=n[r];i?me(i)||Ae(i)?i=n[r]={type:i,default:t[r]}:i.default=t[r]:i===null&&(i=n[r]={default:t[r]}),i&&t[`__skip_${r}`]&&(i.skipFactory=!0)}return n}function O0(e,t){return!e||!t?e||t:me(e)&&me(t)?e.concat(t):Ue({},Jo(e),Jo(t))}function T0(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function Zd(e){const t=jt();let n=e();return ti(),Td(n)&&(n=n.catch(r=>{throw ci(t),r})),[n,()=>ci(t)]}let wf=!0;function M4(e){const t=Qd(e),n=e.proxy,r=e.ctx;wf=!1,t.beforeCreate&&H1(t.beforeCreate,e,"bc");const{data:i,computed:a,methods:o,watch:l,provide:s,inject:u,created:f,beforeMount:c,mounted:d,beforeUpdate:h,updated:y,activated:g,deactivated:_,beforeDestroy:m,beforeUnmount:v,destroyed:b,unmounted:p,render:E,renderTracked:k,renderTriggered:T,errorCaptured:S,serverPrefetch:P,expose:N,inheritAttrs:O,components:w,directives:C,filters:I}=t;if(u&&x4(u,r,null),o)for(const q in o){const te=o[q];Ae(te)&&(r[q]=te.bind(n))}if(i){const q=i.call(n,n);Je(q)&&(e.data=dr(q))}if(wf=!0,a)for(const q in a){const te=a[q],K=Ae(te)?te.bind(n,n):Ae(te.get)?te.get.bind(n,n):Qt,H=!Ae(te)&&Ae(te.set)?te.set.bind(n):Qt,M=fe({get:K,set:H});Object.defineProperty(r,q,{enumerable:!0,configurable:!0,get:()=>M.value,set:j=>M.value=j})}if(l)for(const q in l)S0(l[q],r,n,q);if(s){const q=Ae(s)?s.call(n):s;Reflect.ownKeys(q).forEach(te=>{eh(te,q[te])})}f&&H1(f,e,"c");function V(q,te){me(te)?te.forEach(K=>q(K.bind(n))):te&&q(te.bind(n))}if(V(qd,c),V(mn,d),V(Bu,h),V(Ol,y),V($d,g),V(Ud,_),V(Yd,S),V(Gd,k),V(Wd,T),V(Dr,v),V(yi,p),V(Kd,P),me(N))if(N.length){const q=e.exposed||(e.exposed={});N.forEach(te=>{Object.defineProperty(q,te,{get:()=>n[te],set:K=>n[te]=K})})}else e.exposed||(e.exposed={});E&&e.render===Qt&&(e.render=E),O!=null&&(e.inheritAttrs=O),w&&(e.components=w),C&&(e.directives=C)}function x4(e,t,n=Qt){me(e)&&(e=Of(e));for(const r in e){const i=e[r];let a;Je(i)?"default"in i?a=In(i.from||r,i.default,!0):a=In(i.from||r):a=In(i),Qe(a)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>a.value,set:o=>a.value=o}):t[r]=a}}function H1(e,t,n){cn(me(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function S0(e,t,n,r){const i=r.includes(".")?l0(n,r):()=>n[r];if(Le(e)){const a=t[e];Ae(a)&&Ke(i,a)}else if(Ae(e))Ke(i,e.bind(n));else if(Je(e))if(me(e))e.forEach(a=>S0(a,t,n,r));else{const a=Ae(e.handler)?e.handler.bind(n):t[e.handler];Ae(a)&&Ke(i,a,e)}}function Qd(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:a,config:{optionMergeStrategies:o}}=e.appContext,l=a.get(t);let s;return l?s=l:!i.length&&!n&&!r?s=t:(s={},i.length&&i.forEach(u=>Ws(s,u,o,!0)),Ws(s,t,o)),Je(t)&&a.set(t,s),s}function Ws(e,t,n,r=!1){const{mixins:i,extends:a}=t;a&&Ws(e,a,n,!0),i&&i.forEach(o=>Ws(e,o,n,!0));for(const o in t)if(!(r&&o==="expose")){const l=R4[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const R4={data:j1,props:V1,emits:V1,methods:ko,computed:ko,beforeCreate:Xt,created:Xt,beforeMount:Xt,mounted:Xt,beforeUpdate:Xt,updated:Xt,beforeDestroy:Xt,beforeUnmount:Xt,destroyed:Xt,unmounted:Xt,activated:Xt,deactivated:Xt,errorCaptured:Xt,serverPrefetch:Xt,components:ko,directives:ko,watch:F4,provide:j1,inject:D4};function j1(e,t){return t?e?function(){return Ue(Ae(e)?e.call(this,this):e,Ae(t)?t.call(this,this):t)}:t:e}function D4(e,t){return ko(Of(e),Of(t))}function Of(e){if(me(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Xt(e,t){return e?[...new Set([].concat(e,t))]:t}function ko(e,t){return e?Ue(Object.create(null),e,t):t}function V1(e,t){return e?me(e)&&me(t)?[...new Set([...e,...t])]:Ue(Object.create(null),Jo(e),Jo(t??{})):t}function F4(e,t){if(!e)return t;if(!t)return e;const n=Ue(Object.create(null),e);for(const r in t)n[r]=Xt(e[r],t[r]);return n}function A0(){return{app:null,config:{isNativeTag:ks,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let H4=0;function j4(e,t){return function(r,i=null){Ae(r)||(r=Ue({},r)),i!=null&&!Je(i)&&(i=null);const a=A0(),o=new WeakSet;let l=!1;const s=a.app={_uid:H4++,_component:r,_props:i,_container:null,_context:a,_instance:null,version:Ku,get config(){return a.config},set config(u){},use(u,...f){return o.has(u)||(u&&Ae(u.install)?(o.add(u),u.install(s,...f)):Ae(u)&&(o.add(u),u(s,...f))),s},mixin(u){return a.mixins.includes(u)||a.mixins.push(u),s},component(u,f){return f?(a.components[u]=f,s):a.components[u]},directive(u,f){return f?(a.directives[u]=f,s):a.directives[u]},mount(u,f,c){if(!l){const d=xe(r,i);return d.appContext=a,f&&t?t(d,u):e(d,u,c),l=!0,s._container=u,u.__vue_app__=s,qu(d.component)||d.component.proxy}},unmount(){l&&(e(null,s._container),delete s._container.__vue_app__)},provide(u,f){return a.provides[u]=f,s},runWithContext(u){Zo=s;try{return u()}finally{Zo=null}}};return s}}let Zo=null;function eh(e,t){if(bt){let n=bt.provides;const r=bt.parent&&bt.parent.provides;r===n&&(n=bt.provides=Object.create(r)),n[e]=t}}function In(e,t,n=!1){const r=bt||It;if(r||Zo){const i=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:Zo._context.provides;if(i&&e in i)return i[e];if(arguments.length>1)return n&&Ae(t)?t.call(r&&r.proxy):t}}function th(){return!!(bt||It||Zo)}function V4(e,t,n,r=!1){const i={},a={};zs(a,Uu,1),e.propsDefaults=Object.create(null),N0(e,t,i,a);for(const o in e.propsOptions[0])o in i||(i[o]=void 0);n?e.props=r?i:Vi(i):e.type.props?e.props=i:e.props=a,e.attrs=a}function B4(e,t,n,r){const{props:i,attrs:a,vnode:{patchFlag:o}}=e,l=Me(i),[s]=e.propsOptions;let u=!1;if((r||o>0)&&!(o&16)){if(o&8){const f=e.vnode.dynamicProps;for(let c=0;c<f.length;c++){let d=f[c];if(Mu(e.emitsOptions,d))continue;const h=t[d];if(s)if($e(a,d))h!==a[d]&&(a[d]=h,u=!0);else{const y=pt(d);i[y]=Tf(s,l,y,h,e,!1)}else h!==a[d]&&(a[d]=h,u=!0)}}}else{N0(e,t,i,a)&&(u=!0);let f;for(const c in l)(!t||!$e(t,c)&&((f=yn(c))===c||!$e(t,f)))&&(s?n&&(n[c]!==void 0||n[f]!==void 0)&&(i[c]=Tf(s,l,c,void 0,e,!0)):delete i[c]);if(a!==l)for(const c in a)(!t||!$e(t,c))&&(delete a[c],u=!0)}u&&Sr(e,"set","$attrs")}function N0(e,t,n,r){const[i,a]=e.propsOptions;let o=!1,l;if(t)for(let s in t){if(Ki(s))continue;const u=t[s];let f;i&&$e(i,f=pt(s))?!a||!a.includes(f)?n[f]=u:(l||(l={}))[f]=u:Mu(e.emitsOptions,s)||(!(s in r)||u!==r[s])&&(r[s]=u,o=!0)}if(a){const s=Me(n),u=l||Ye;for(let f=0;f<a.length;f++){const c=a[f];n[c]=Tf(i,s,c,u[c],e,!$e(u,c))}}return o}function Tf(e,t,n,r,i,a){const o=e[n];if(o!=null){const l=$e(o,"default");if(l&&r===void 0){const s=o.default;if(o.type!==Function&&!o.skipFactory&&Ae(s)){const{propsDefaults:u}=i;n in u?r=u[n]:(ci(i),r=u[n]=s.call(null,t),ti())}else r=s}o[0]&&(a&&!l?r=!1:o[1]&&(r===""||r===yn(n))&&(r=!0))}return r}function k0(e,t,n=!1){const r=t.propsCache,i=r.get(e);if(i)return i;const a=e.props,o={},l=[];let s=!1;if(!Ae(e)){const f=c=>{s=!0;const[d,h]=k0(c,t,!0);Ue(o,d),h&&l.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!a&&!s)return Je(e)&&r.set(e,La),La;if(me(a))for(let f=0;f<a.length;f++){const c=pt(a[f]);B1(c)&&(o[c]=Ye)}else if(a)for(const f in a){const c=pt(f);if(B1(c)){const d=a[f],h=o[c]=me(d)||Ae(d)?{type:d}:Ue({},d);if(h){const y=U1(Boolean,h.type),g=U1(String,h.type);h[0]=y>-1,h[1]=g<0||y<g,(y>-1||$e(h,"default"))&&l.push(c)}}}const u=[o,l];return Je(e)&&r.set(e,u),u}function B1(e){return e[0]!=="$"}function z1(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function $1(e,t){return z1(e)===z1(t)}function U1(e,t){return me(t)?t.findIndex(n=>$1(n,e)):Ae(t)&&$1(t,e)?0:-1}const C0=e=>e[0]==="_"||e==="$stable",nh=e=>me(e)?e.map(gn):[gn(e)],z4=(e,t,n)=>{if(t._n)return t;const r=fn((...i)=>nh(t(...i)),n);return r._c=!1,r},P0=(e,t,n)=>{const r=e._ctx;for(const i in e){if(C0(i))continue;const a=e[i];if(Ae(a))t[i]=z4(i,a,r);else if(a!=null){const o=nh(a);t[i]=()=>o}}},L0=(e,t)=>{const n=nh(t);e.slots.default=()=>n},$4=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=Me(t),zs(t,"_",n)):P0(t,e.slots={})}else e.slots={},t&&L0(e,t);zs(e.slots,Uu,1)},U4=(e,t,n)=>{const{vnode:r,slots:i}=e;let a=!0,o=Ye;if(r.shapeFlag&32){const l=t._;l?n&&l===1?a=!1:(Ue(i,t),!n&&l===1&&delete i._):(a=!t.$stable,P0(t,i)),o=t}else t&&(L0(e,t),o={default:1});if(a)for(const l in i)!C0(l)&&o[l]==null&&delete i[l]};function Gs(e,t,n,r,i=!1){if(me(e)){e.forEach((d,h)=>Gs(d,t&&(me(t)?t[h]:t),n,r,i));return}if(Yi(r)&&!i)return;const a=r.shapeFlag&4?qu(r.component)||r.component.proxy:r.el,o=i?null:a,{i:l,r:s}=e,u=t&&t.r,f=l.refs===Ye?l.refs={}:l.refs,c=l.setupState;if(u!=null&&u!==s&&(Le(u)?(f[u]=null,$e(c,u)&&(c[u]=null)):Qe(u)&&(u.value=null)),Ae(s))fr(s,l,12,[o,f]);else{const d=Le(s),h=Qe(s);if(d||h){const y=()=>{if(e.f){const g=d?$e(c,s)?c[s]:f[s]:s.value;i?me(g)&&Od(g,a):me(g)?g.includes(a)||g.push(a):d?(f[s]=[a],$e(c,s)&&(c[s]=f[s])):(s.value=[a],e.k&&(f[e.k]=s.value))}else d?(f[s]=o,$e(c,s)&&(c[s]=o)):h&&(s.value=o,e.k&&(f[e.k]=o))};o?(y.id=-1,Ft(y,n)):y()}}}let Br=!1;const ns=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",rs=e=>e.nodeType===8;function q4(e){const{mt:t,p:n,o:{patchProp:r,createText:i,nextSibling:a,parentNode:o,remove:l,insert:s,createComment:u}}=e,f=(b,p)=>{if(!p.hasChildNodes()){n(null,b,p),Ks(),p._vnode=b;return}Br=!1,c(p.firstChild,b,null,null,null),Ks(),p._vnode=b,Br&&console.error("Hydration completed but contains mismatches.")},c=(b,p,E,k,T,S=!1)=>{const P=rs(b)&&b.data==="[",N=()=>g(b,p,E,k,T,P),{type:O,ref:w,shapeFlag:C,patchFlag:I}=p;let D=b.nodeType;p.el=b,I===-2&&(S=!1,p.dynamicChildren=null);let V=null;switch(O){case hr:D!==3?p.children===""?(s(p.el=i(""),o(b),b),V=b):V=N():(b.data!==p.children&&(Br=!0,b.data=p.children),V=a(b));break;case Mt:v(b)?(V=a(b),m(p.el=b.content.firstChild,b,E)):D!==8||P?V=N():V=a(b);break;case ei:if(P&&(b=a(b),D=b.nodeType),D===1||D===3){V=b;const q=!p.children.length;for(let te=0;te<p.staticCount;te++)q&&(p.children+=V.nodeType===1?V.outerHTML:V.data),te===p.staticCount-1&&(p.anchor=V),V=a(V);return P?a(V):V}else N();break;case tt:P?V=y(b,p,E,k,T,S):V=N();break;default:if(C&1)(D!==1||p.type.toLowerCase()!==b.tagName.toLowerCase())&&!v(b)?V=N():V=d(b,p,E,k,T,S);else if(C&6){p.slotScopeIds=T;const q=o(b);if(P?V=_(b):rs(b)&&b.data==="teleport start"?V=_(b,b.data,"teleport end"):V=a(b),t(p,q,null,E,k,ns(q),S),Yi(p)){let te;P?(te=xe(tt),te.anchor=V?V.previousSibling:q.lastChild):te=b.nodeType===3?Lr(""):xe("div"),te.el=b,p.component.subTree=te}}else C&64?D!==8?V=N():V=p.type.hydrate(b,p,E,k,T,S,e,h):C&128&&(V=p.type.hydrate(b,p,E,k,ns(o(b)),T,S,e,c))}return w!=null&&Gs(w,null,k,p),V},d=(b,p,E,k,T,S)=>{S=S||!!p.dynamicChildren;const{type:P,props:N,patchFlag:O,shapeFlag:w,dirs:C,transition:I}=p,D=P==="input"&&C||P==="option";if(D||O!==-1){if(C&&rr(p,null,E,"created"),N)if(D||!S||O&48)for(const te in N)(D&&te.endsWith("value")||sa(te)&&!Ki(te))&&r(b,te,null,N[te],!1,void 0,E);else N.onClick&&r(b,"onClick",null,N.onClick,!1,void 0,E);let V;(V=N&&N.onVnodeBeforeMount)&&on(V,E,p);let q=!1;if(v(b)){q=M0(k,I)&&E&&E.vnode.props&&E.vnode.props.appear;const te=b.content.firstChild;q&&I.beforeEnter(te),m(te,b,E),p.el=b=te}if(C&&rr(p,null,E,"beforeMount"),((V=N&&N.onVnodeMounted)||C||q)&&i0(()=>{V&&on(V,E,p),q&&I.enter(b),C&&rr(p,null,E,"mounted")},k),w&16&&!(N&&(N.innerHTML||N.textContent))){let te=h(b.firstChild,p,b,E,k,T,S);for(;te;){Br=!0;const K=te;te=te.nextSibling,l(K)}}else w&8&&b.textContent!==p.children&&(Br=!0,b.textContent=p.children)}return b.nextSibling},h=(b,p,E,k,T,S,P)=>{P=P||!!p.dynamicChildren;const N=p.children,O=N.length;for(let w=0;w<O;w++){const C=P?N[w]:N[w]=gn(N[w]);if(b)b=c(b,C,k,T,S,P);else{if(C.type===hr&&!C.children)continue;Br=!0,n(null,C,E,null,k,T,ns(E),S)}}return b},y=(b,p,E,k,T,S)=>{const{slotScopeIds:P}=p;P&&(T=T?T.concat(P):P);const N=o(b),O=h(a(b),p,N,E,k,T,S);return O&&rs(O)&&O.data==="]"?a(p.anchor=O):(Br=!0,s(p.anchor=u("]"),N,O),O)},g=(b,p,E,k,T,S)=>{if(Br=!0,p.el=null,S){const O=_(b);for(;;){const w=a(b);if(w&&w!==O)l(w);else break}}const P=a(b),N=o(b);return l(b),n(null,p,N,P,E,k,ns(N),T),P},_=(b,p="[",E="]")=>{let k=0;for(;b;)if(b=a(b),b&&rs(b)&&(b.data===p&&k++,b.data===E)){if(k===0)return a(b);k--}return b},m=(b,p,E)=>{const k=p.parentNode;k&&k.replaceChild(b,p);let T=E;for(;T;)T.vnode.el===p&&(T.vnode.el=T.subTree.el=b),T=T.parent},v=b=>b.nodeType===1&&b.tagName.toLowerCase()==="template";return[f,c]}const Ft=i0;function rh(e){return I0(e)}function ih(e){return I0(e,q4)}function I0(e,t){const n=mf();n.__VUE__=!0;const{insert:r,remove:i,patchProp:a,createElement:o,createText:l,createComment:s,setText:u,setElementText:f,parentNode:c,nextSibling:d,setScopeId:h=Qt,insertStaticContent:y}=e,g=(B,L,x,$=null,ee=null,le=null,U=!1,W=null,re=!!L.dynamicChildren)=>{if(B===L)return;B&&!Vn(B,L)&&($=J(B),j(B,ee,le,!0),B=null),L.patchFlag===-2&&(re=!1,L.dynamicChildren=null);const{type:ie,ref:oe,shapeFlag:ce}=L;switch(ie){case hr:_(B,L,x,$);break;case Mt:m(B,L,x,$);break;case ei:B==null&&v(L,x,$,U);break;case tt:w(B,L,x,$,ee,le,U,W,re);break;default:ce&1?E(B,L,x,$,ee,le,U,W,re):ce&6?C(B,L,x,$,ee,le,U,W,re):(ce&64||ce&128)&&ie.process(B,L,x,$,ee,le,U,W,re,Z)}oe!=null&&ee&&Gs(oe,B&&B.ref,le,L||B,!L)},_=(B,L,x,$)=>{if(B==null)r(L.el=l(L.children),x,$);else{const ee=L.el=B.el;L.children!==B.children&&u(ee,L.children)}},m=(B,L,x,$)=>{B==null?r(L.el=s(L.children||""),x,$):L.el=B.el},v=(B,L,x,$)=>{[B.el,B.anchor]=y(B.children,L,x,$,B.el,B.anchor)},b=({el:B,anchor:L},x,$)=>{let ee;for(;B&&B!==L;)ee=d(B),r(B,x,$),B=ee;r(L,x,$)},p=({el:B,anchor:L})=>{let x;for(;B&&B!==L;)x=d(B),i(B),B=x;i(L)},E=(B,L,x,$,ee,le,U,W,re)=>{U=U||L.type==="svg",B==null?k(L,x,$,ee,le,U,W,re):P(B,L,ee,le,U,W,re)},k=(B,L,x,$,ee,le,U,W)=>{let re,ie;const{type:oe,props:ce,shapeFlag:G,transition:ne,dirs:pe}=B;if(re=B.el=o(B.type,le,ce&&ce.is,ce),G&8?f(re,B.children):G&16&&S(B.children,re,null,$,ee,le&&oe!=="foreignObject",U,W),pe&&rr(B,null,$,"created"),T(re,B,B.scopeId,U,$),ce){for(const ve in ce)ve!=="value"&&!Ki(ve)&&a(re,ve,null,ce[ve],le,B.children,$,ee,F);"value"in ce&&a(re,"value",null,ce.value),(ie=ce.onVnodeBeforeMount)&&on(ie,$,B)}pe&&rr(B,null,$,"beforeMount");const ge=M0(ee,ne);ge&&ne.beforeEnter(re),r(re,L,x),((ie=ce&&ce.onVnodeMounted)||ge||pe)&&Ft(()=>{ie&&on(ie,$,B),ge&&ne.enter(re),pe&&rr(B,null,$,"mounted")},ee)},T=(B,L,x,$,ee)=>{if(x&&h(B,x),$)for(let le=0;le<$.length;le++)h(B,$[le]);if(ee){let le=ee.subTree;if(L===le){const U=ee.vnode;T(B,U,U.scopeId,U.slotScopeIds,ee.parent)}}},S=(B,L,x,$,ee,le,U,W,re=0)=>{for(let ie=re;ie<B.length;ie++){const oe=B[ie]=W?Xr(B[ie]):gn(B[ie]);g(null,oe,L,x,$,ee,le,U,W)}},P=(B,L,x,$,ee,le,U)=>{const W=L.el=B.el;let{patchFlag:re,dynamicChildren:ie,dirs:oe}=L;re|=B.patchFlag&16;const ce=B.props||Ye,G=L.props||Ye;let ne;x&&Ii(x,!1),(ne=G.onVnodeBeforeUpdate)&&on(ne,x,L,B),oe&&rr(L,B,x,"beforeUpdate"),x&&Ii(x,!0);const pe=ee&&L.type!=="foreignObject";if(ie?N(B.dynamicChildren,ie,W,x,$,pe,le):U||te(B,L,W,null,x,$,pe,le,!1),re>0){if(re&16)O(W,L,ce,G,x,$,ee);else if(re&2&&ce.class!==G.class&&a(W,"class",null,G.class,ee),re&4&&a(W,"style",ce.style,G.style,ee),re&8){const ge=L.dynamicProps;for(let ve=0;ve<ge.length;ve++){const De=ge[ve],Te=ce[De],it=G[De];(it!==Te||De==="value")&&a(W,De,Te,it,ee,B.children,x,$,F)}}re&1&&B.children!==L.children&&f(W,L.children)}else!U&&ie==null&&O(W,L,ce,G,x,$,ee);((ne=G.onVnodeUpdated)||oe)&&Ft(()=>{ne&&on(ne,x,L,B),oe&&rr(L,B,x,"updated")},$)},N=(B,L,x,$,ee,le,U)=>{for(let W=0;W<L.length;W++){const re=B[W],ie=L[W],oe=re.el&&(re.type===tt||!Vn(re,ie)||re.shapeFlag&70)?c(re.el):x;g(re,ie,oe,null,$,ee,le,U,!0)}},O=(B,L,x,$,ee,le,U)=>{if(x!==$){if(x!==Ye)for(const W in x)!Ki(W)&&!(W in $)&&a(B,W,x[W],null,U,L.children,ee,le,F);for(const W in $){if(Ki(W))continue;const re=$[W],ie=x[W];re!==ie&&W!=="value"&&a(B,W,ie,re,U,L.children,ee,le,F)}"value"in $&&a(B,"value",x.value,$.value)}},w=(B,L,x,$,ee,le,U,W,re)=>{const ie=L.el=B?B.el:l(""),oe=L.anchor=B?B.anchor:l("");let{patchFlag:ce,dynamicChildren:G,slotScopeIds:ne}=L;ne&&(W=W?W.concat(ne):ne),B==null?(r(ie,x,$),r(oe,x,$),S(L.children,x,oe,ee,le,U,W,re)):ce>0&&ce&64&&G&&B.dynamicChildren?(N(B.dynamicChildren,G,x,ee,le,U,W),(L.key!=null||ee&&L===ee.subTree)&&ah(B,L,!0)):te(B,L,x,oe,ee,le,U,W,re)},C=(B,L,x,$,ee,le,U,W,re)=>{L.slotScopeIds=W,B==null?L.shapeFlag&512?ee.ctx.activate(L,x,$,U,re):I(L,x,$,ee,le,U,re):D(B,L,re)},I=(B,L,x,$,ee,le,U)=>{const W=B.component=V0(B,$,ee);if(wl(B)&&(W.ctx.renderer=Z),z0(W),W.asyncDep){if(ee&&ee.registerDep(W,V),!B.el){const re=W.subTree=xe(Mt);m(null,re,L,x)}return}V(W,B,L,x,ee,le,U)},D=(B,L,x)=>{const $=L.component=B.component;if(_4(B,L,x))if($.asyncDep&&!$.asyncResolved){q($,L,x);return}else $.next=L,p4($.update),$.update();else L.el=B.el,$.vnode=L},V=(B,L,x,$,ee,le,U)=>{const W=()=>{if(B.isMounted){let{next:oe,bu:ce,u:G,parent:ne,vnode:pe}=B,ge=oe,ve;Ii(B,!1),oe?(oe.el=pe.el,q(B,oe,U)):oe=pe,ce&&Ma(ce),(ve=oe.props&&oe.props.onVnodeBeforeUpdate)&&on(ve,ne,oe,pe),Ii(B,!0);const De=Cs(B),Te=B.subTree;B.subTree=De,g(Te,De,c(Te.el),J(Te),B,ee,le),oe.el=De.el,ge===null&&Rd(B,De.el),G&&Ft(G,ee),(ve=oe.props&&oe.props.onVnodeUpdated)&&Ft(()=>on(ve,ne,oe,pe),ee)}else{let oe;const{el:ce,props:G}=L,{bm:ne,m:pe,parent:ge}=B,ve=Yi(L);if(Ii(B,!1),ne&&Ma(ne),!ve&&(oe=G&&G.onVnodeBeforeMount)&&on(oe,ge,L),Ii(B,!0),ce&&he){const De=()=>{B.subTree=Cs(B),he(ce,B.subTree,B,ee,null)};ve?L.type.__asyncLoader().then(()=>!B.isUnmounted&&De()):De()}else{const De=B.subTree=Cs(B);g(null,De,x,$,B,ee,le),L.el=De.el}if(pe&&Ft(pe,ee),!ve&&(oe=G&&G.onVnodeMounted)){const De=L;Ft(()=>on(oe,ge,De),ee)}(L.shapeFlag&256||ge&&Yi(ge.vnode)&&ge.vnode.shapeFlag&256)&&B.a&&Ft(B.a,ee),B.isMounted=!0,L=x=$=null}},re=B.effect=new Ji(W,()=>Iu(ie),B.scope),ie=B.update=()=>re.run();ie.id=B.uid,Ii(B,!0),ie()},q=(B,L,x)=>{L.component=B;const $=B.vnode.props;B.vnode=L,B.next=null,B4(B,L.props,$,x),U4(B,L.children,x),to(),M1(),no()},te=(B,L,x,$,ee,le,U,W,re=!1)=>{const ie=B&&B.children,oe=B?B.shapeFlag:0,ce=L.children,{patchFlag:G,shapeFlag:ne}=L;if(G>0){if(G&128){H(ie,ce,x,$,ee,le,U,W,re);return}else if(G&256){K(ie,ce,x,$,ee,le,U,W,re);return}}ne&8?(oe&16&&F(ie,ee,le),ce!==ie&&f(x,ce)):oe&16?ne&16?H(ie,ce,x,$,ee,le,U,W,re):F(ie,ee,le,!0):(oe&8&&f(x,""),ne&16&&S(ce,x,$,ee,le,U,W,re))},K=(B,L,x,$,ee,le,U,W,re)=>{B=B||La,L=L||La;const ie=B.length,oe=L.length,ce=Math.min(ie,oe);let G;for(G=0;G<ce;G++){const ne=L[G]=re?Xr(L[G]):gn(L[G]);g(B[G],ne,x,null,ee,le,U,W,re)}ie>oe?F(B,ee,le,!0,!1,ce):S(L,x,$,ee,le,U,W,re,ce)},H=(B,L,x,$,ee,le,U,W,re)=>{let ie=0;const oe=L.length;let ce=B.length-1,G=oe-1;for(;ie<=ce&&ie<=G;){const ne=B[ie],pe=L[ie]=re?Xr(L[ie]):gn(L[ie]);if(Vn(ne,pe))g(ne,pe,x,null,ee,le,U,W,re);else break;ie++}for(;ie<=ce&&ie<=G;){const ne=B[ce],pe=L[G]=re?Xr(L[G]):gn(L[G]);if(Vn(ne,pe))g(ne,pe,x,null,ee,le,U,W,re);else break;ce--,G--}if(ie>ce){if(ie<=G){const ne=G+1,pe=ne<oe?L[ne].el:$;for(;ie<=G;)g(null,L[ie]=re?Xr(L[ie]):gn(L[ie]),x,pe,ee,le,U,W,re),ie++}}else if(ie>G)for(;ie<=ce;)j(B[ie],ee,le,!0),ie++;else{const ne=ie,pe=ie,ge=new Map;for(ie=pe;ie<=G;ie++){const ct=L[ie]=re?Xr(L[ie]):gn(L[ie]);ct.key!=null&&ge.set(ct.key,ie)}let ve,De=0;const Te=G-pe+1;let it=!1,Yn=0;const On=new Array(Te);for(ie=0;ie<Te;ie++)On[ie]=0;for(ie=ne;ie<=ce;ie++){const ct=B[ie];if(De>=Te){j(ct,ee,le,!0);continue}let xt;if(ct.key!=null)xt=ge.get(ct.key);else for(ve=pe;ve<=G;ve++)if(On[ve-pe]===0&&Vn(ct,L[ve])){xt=ve;break}xt===void 0?j(ct,ee,le,!0):(On[xt-pe]=ie+1,xt>=Yn?Yn=xt:it=!0,g(ct,L[xt],x,null,ee,le,U,W,re),De++)}const Xn=it?K4(On):La;for(ve=Xn.length-1,ie=Te-1;ie>=0;ie--){const ct=pe+ie,xt=L[ct],ke=ct+1<oe?L[ct+1].el:$;On[ie]===0?g(null,xt,x,ke,ee,le,U,W,re):it&&(ve<0||ie!==Xn[ve]?M(xt,x,ke,2):ve--)}}},M=(B,L,x,$,ee=null)=>{const{el:le,type:U,transition:W,children:re,shapeFlag:ie}=B;if(ie&6){M(B.component.subTree,L,x,$);return}if(ie&128){B.suspense.move(L,x,$);return}if(ie&64){U.move(B,L,x,Z);return}if(U===tt){r(le,L,x);for(let ce=0;ce<re.length;ce++)M(re[ce],L,x,$);r(B.anchor,L,x);return}if(U===ei){b(B,L,x);return}if($!==2&&ie&1&&W)if($===0)W.beforeEnter(le),r(le,L,x),Ft(()=>W.enter(le),ee);else{const{leave:ce,delayLeave:G,afterLeave:ne}=W,pe=()=>r(le,L,x),ge=()=>{ce(le,()=>{pe(),ne&&ne()})};G?G(le,pe,ge):ge()}else r(le,L,x)},j=(B,L,x,$=!1,ee=!1)=>{const{type:le,props:U,ref:W,children:re,dynamicChildren:ie,shapeFlag:oe,patchFlag:ce,dirs:G}=B;if(W!=null&&Gs(W,null,x,B,!0),oe&256){L.ctx.deactivate(B);return}const ne=oe&1&&G,pe=!Yi(B);let ge;if(pe&&(ge=U&&U.onVnodeBeforeUnmount)&&on(ge,L,B),oe&6)X(B.component,x,$);else{if(oe&128){B.suspense.unmount(x,$);return}ne&&rr(B,null,L,"beforeUnmount"),oe&64?B.type.remove(B,L,x,ee,Z,$):ie&&(le!==tt||ce>0&&ce&64)?F(ie,L,x,!1,!0):(le===tt&&ce&384||!ee&&oe&16)&&F(re,L,x),$&&z(B)}(pe&&(ge=U&&U.onVnodeUnmounted)||ne)&&Ft(()=>{ge&&on(ge,L,B),ne&&rr(B,null,L,"unmounted")},x)},z=B=>{const{type:L,el:x,anchor:$,transition:ee}=B;if(L===tt){Q(x,$);return}if(L===ei){p(B);return}const le=()=>{i(x),ee&&!ee.persisted&&ee.afterLeave&&ee.afterLeave()};if(B.shapeFlag&1&&ee&&!ee.persisted){const{leave:U,delayLeave:W}=ee,re=()=>U(x,le);W?W(B.el,le,re):re()}else le()},Q=(B,L)=>{let x;for(;B!==L;)x=d(B),i(B),B=x;i(L)},X=(B,L,x)=>{const{bum:$,scope:ee,update:le,subTree:U,um:W}=B;$&&Ma($),ee.stop(),le&&(le.active=!1,j(U,B,L,x)),W&&Ft(W,L),Ft(()=>{B.isUnmounted=!0},L),L&&L.pendingBranch&&!L.isUnmounted&&B.asyncDep&&!B.asyncResolved&&B.suspenseId===L.pendingId&&(L.deps--,L.deps===0&&L.resolve())},F=(B,L,x,$=!1,ee=!1,le=0)=>{for(let U=le;U<B.length;U++)j(B[U],L,x,$,ee)},J=B=>B.shapeFlag&6?J(B.component.subTree):B.shapeFlag&128?B.suspense.next():d(B.anchor||B.el),ae=(B,L,x)=>{B==null?L._vnode&&j(L._vnode,null,null,!0):g(L._vnode||null,B,L,null,null,null,x),M1(),Ks(),L._vnode=B},Z={p:g,um:j,m:M,r:z,mt:I,mc:S,pc:te,pbc:N,n:J,o:e};let se,he;return t&&([se,he]=t(Z)),{render:ae,hydrate:se,createApp:j4(ae,se)}}function Ii({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function M0(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ah(e,t,n=!1){const r=e.children,i=t.children;if(me(r)&&me(i))for(let a=0;a<r.length;a++){const o=r[a];let l=i[a];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=i[a]=Xr(i[a]),l.el=o.el),n||ah(o,l)),l.type===hr&&(l.el=o.el)}}function K4(e){const t=e.slice(),n=[0];let r,i,a,o,l;const s=e.length;for(r=0;r<s;r++){const u=e[r];if(u!==0){if(i=n[n.length-1],e[i]<u){t[r]=i,n.push(r);continue}for(a=0,o=n.length-1;a<o;)l=a+o>>1,e[n[l]]<u?a=l+1:o=l;u<e[n[a]]&&(a>0&&(t[r]=n[a-1]),n[a]=r)}}for(a=n.length,o=n[a-1];a-- >0;)n[a]=o,o=t[o];return n}const W4=e=>e.__isTeleport,Io=e=>e&&(e.disabled||e.disabled===""),q1=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Sf=(e,t)=>{const n=e&&e.to;return Le(n)?t?t(n):null:n},G4={__isTeleport:!0,process(e,t,n,r,i,a,o,l,s,u){const{mc:f,pc:c,pbc:d,o:{insert:h,querySelector:y,createText:g,createComment:_}}=u,m=Io(t.props);let{shapeFlag:v,children:b,dynamicChildren:p}=t;if(e==null){const E=t.el=g(""),k=t.anchor=g("");h(E,n,r),h(k,n,r);const T=t.target=Sf(t.props,y),S=t.targetAnchor=g("");T&&(h(S,T),o=o||q1(T));const P=(N,O)=>{v&16&&f(b,N,O,i,a,o,l,s)};m?P(n,k):T&&P(T,S)}else{t.el=e.el;const E=t.anchor=e.anchor,k=t.target=e.target,T=t.targetAnchor=e.targetAnchor,S=Io(e.props),P=S?n:k,N=S?E:T;if(o=o||q1(k),p?(d(e.dynamicChildren,p,P,i,a,o,l),ah(e,t,!0)):s||c(e,t,P,N,i,a,o,l,!1),m)S?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):is(t,n,E,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const O=t.target=Sf(t.props,y);O&&is(t,O,null,u,0)}else S&&is(t,k,T,u,1)}x0(t)},remove(e,t,n,r,{um:i,o:{remove:a}},o){const{shapeFlag:l,children:s,anchor:u,targetAnchor:f,target:c,props:d}=e;if(c&&a(f),o&&a(u),l&16){const h=o||!Io(d);for(let y=0;y<s.length;y++){const g=s[y];i(g,t,n,h,!!g.dynamicChildren)}}},move:is,hydrate:Y4};function is(e,t,n,{o:{insert:r},m:i},a=2){a===0&&r(e.targetAnchor,t,n);const{el:o,anchor:l,shapeFlag:s,children:u,props:f}=e,c=a===2;if(c&&r(o,t,n),(!c||Io(f))&&s&16)for(let d=0;d<u.length;d++)i(u[d],t,n,2);c&&r(l,t,n)}function Y4(e,t,n,r,i,a,{o:{nextSibling:o,parentNode:l,querySelector:s}},u){const f=t.target=Sf(t.props,s);if(f){const c=f._lpa||f.firstChild;if(t.shapeFlag&16)if(Io(t.props))t.anchor=u(o(e),t,l(e),n,r,i,a),t.targetAnchor=c;else{t.anchor=o(e);let d=c;for(;d;)if(d=o(d),d&&d.nodeType===8&&d.data==="teleport anchor"){t.targetAnchor=d,f._lpa=t.targetAnchor&&o(t.targetAnchor);break}u(c,t,f,n,r,i,a)}x0(t)}return t.anchor&&o(t.anchor)}const $u=G4;function x0(e){const t=e.ctx;if(t&&t.ut){let n=e.children[0].el;for(;n&&n!==e.targetAnchor;)n.nodeType===1&&n.setAttribute("data-v-owner",t.uid),n=n.nextSibling;t.ut()}}const tt=Symbol.for("v-fgt"),hr=Symbol.for("v-txt"),Mt=Symbol.for("v-cmt"),ei=Symbol.for("v-stc"),Mo=[];let sn=null;function _e(e=!1){Mo.push(sn=e?null:[])}function R0(){Mo.pop(),sn=Mo[Mo.length-1]||null}let ea=1;function Ys(e){ea+=e}function D0(e){return e.dynamicChildren=ea>0?sn||La:null,R0(),ea>0&&sn&&sn.push(e),e}function Pe(e,t,n,r,i,a){return D0(Re(e,t,n,r,i,a,!0))}function mt(e,t,n,r,i){return D0(xe(e,t,n,r,i,!0))}function Pr(e){return e?e.__v_isVNode===!0:!1}function Vn(e,t){return e.type===t.type&&e.key===t.key}function F0(e){}const Uu="__vInternal",H0=({key:e})=>e??null,Ps=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Le(e)||Qe(e)||Ae(e)?{i:It,r:e,k:t,f:!!n}:e:null);function Re(e,t=null,n=null,r=0,i=null,a=e===tt?0:1,o=!1,l=!1){const s={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&H0(t),ref:t&&Ps(t),scopeId:xu,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:It};return l?(oh(s,n),a&128&&e.normalize(s)):n&&(s.shapeFlag|=Le(n)?8:16),ea>0&&!o&&sn&&(s.patchFlag>0||a&6)&&s.patchFlag!==32&&sn.push(s),s}const xe=X4;function X4(e,t=null,n=null,r=0,i=null,a=!1){if((!e||e===n0)&&(e=Mt),Pr(e)){const l=Wn(e,t,!0);return n&&oh(l,n),ea>0&&!a&&sn&&(l.shapeFlag&6?sn[sn.indexOf(e)]=l:sn.push(l)),l.patchFlag|=-2,l}if(t6(e)&&(e=e.__vccOpts),t){t=Zt(t);let{class:l,style:s}=t;l&&!Le(l)&&(t.class=_t(l)),Je(s)&&(Cu(s)&&!me(s)&&(s=Ue({},s)),t.style=qt(s))}const o=Le(e)?1:r0(e)?128:W4(e)?64:Je(e)?4:Ae(e)?2:0;return Re(e,t,n,r,i,o,a,!0)}function Zt(e){return e?Cu(e)||Uu in e?Ue({},e):e:null}function Wn(e,t,n=!1){const{props:r,ref:i,patchFlag:a,children:o}=e,l=t?dn(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&H0(l),ref:t&&t.ref?n&&i?me(i)?i.concat(Ps(t)):[i,Ps(t)]:Ps(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==tt?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Wn(e.ssContent),ssFallback:e.ssFallback&&Wn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Lr(e=" ",t=0){return xe(hr,null,e,t)}function j0(e,t){const n=xe(ei,null,e);return n.staticCount=t,n}function nt(e="",t=!1){return t?(_e(),mt(Mt,null,e)):xe(Mt,null,e)}function gn(e){return e==null||typeof e=="boolean"?xe(Mt):me(e)?xe(tt,null,e.slice()):typeof e=="object"?Xr(e):xe(hr,null,String(e))}function Xr(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Wn(e)}function oh(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(me(t))n=16;else if(typeof t=="object")if(r&65){const i=t.default;i&&(i._c&&(i._d=!1),oh(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!(Uu in t)?t._ctx=It:i===3&&It&&(It.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Ae(t)?(t={default:t,_ctx:It},n=32):(t=String(t),r&64?(n=16,t=[Lr(t)]):n=8);e.children=t,e.shapeFlag|=n}function dn(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const i in r)if(i==="class")t.class!==r.class&&(t.class=_t([t.class,r.class]));else if(i==="style")t.style=qt([t.style,r.style]);else if(sa(i)){const a=t[i],o=r[i];o&&a!==o&&!(me(a)&&a.includes(o))&&(t[i]=a?[].concat(a,o):o)}else i!==""&&(t[i]=r[i])}return t}function on(e,t,n,r=null){cn(e,t,7,[n,r])}const J4=A0();let Z4=0;function V0(e,t,n){const r=e.type,i=(t?t.appContext:e.appContext)||J4,a={uid:Z4++,vnode:e,type:r,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,scope:new Su(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:k0(r,i),emitsOptions:t0(r,i),emit:null,emitted:null,propsDefaults:Ye,inheritAttrs:r.inheritAttrs,ctx:Ye,data:Ye,props:Ye,attrs:Ye,slots:Ye,refs:Ye,setupState:Ye,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return a.ctx={_:a},a.root=t?t.root:a,a.emit=v4.bind(null,a),e.ce&&e.ce(a),a}let bt=null;const jt=()=>bt||It;let lh,Ea,K1="__VUE_INSTANCE_SETTERS__";(Ea=mf()[K1])||(Ea=mf()[K1]=[]),Ea.push(e=>bt=e),lh=e=>{Ea.length>1?Ea.forEach(t=>t(e)):Ea[0](e)};const ci=e=>{lh(e),e.scope.on()},ti=()=>{bt&&bt.scope.off(),lh(null)};function B0(e){return e.vnode.shapeFlag&4}let Ha=!1;function z0(e,t=!1){Ha=t;const{props:n,children:r}=e.vnode,i=B0(e);V4(e,n,i,t),$4(e,r);const a=i?Q4(e,t):void 0;return Ha=!1,a}function Q4(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=cr(new Proxy(e.ctx,Ef));const{setup:r}=n;if(r){const i=e.setupContext=r.length>1?q0(e):null;ci(e),to();const a=fr(r,e,0,[e.props,i]);if(no(),ti(),Td(a)){if(a.then(ti,ti),t)return a.then(o=>{Af(e,o,t)}).catch(o=>{gi(o,e,0)});e.asyncDep=a}else Af(e,a,t)}else U0(e,t)}function Af(e,t,n){Ae(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Je(t)&&(e.setupState=Lu(t)),U0(e,n)}let Xs,Nf;function sh(e){Xs=e,Nf=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,I4))}}const $0=()=>!Xs;function U0(e,t,n){const r=e.type;if(!e.render){if(!t&&Xs&&!r.render){const i=r.template||Qd(e).template;if(i){const{isCustomElement:a,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:s}=r,u=Ue(Ue({isCustomElement:a,delimiters:l},o),s);r.render=Xs(i,u)}}e.render=r.render||Qt,Nf&&Nf(e)}{ci(e),to();try{M4(e)}finally{no(),ti()}}}function e6(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return hn(e,"get","$attrs"),t[n]}}))}function q0(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return e6(e)},slots:e.slots,emit:e.emit,expose:t}}function qu(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Lu(cr(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Lo)return Lo[n](e)},has(t,n){return n in t||n in Lo}}))}function kf(e,t=!0){return Ae(e)?e.displayName||e.name:e.name||t&&e.__name}function t6(e){return Ae(e)&&"__vccOpts"in e}const fe=(e,t)=>f4(e,t,Ha);function bi(e,t,n){const r=arguments.length;return r===2?Je(t)&&!me(t)?Pr(t)?xe(e,null,[t]):xe(e,t):xe(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Pr(n)&&(n=[n]),xe(e,t,n))}const uh=Symbol.for("v-scx"),ch=()=>In(uh);function K0(){}function W0(e,t,n,r){const i=n[r];if(i&&fh(i,e))return i;const a=t();return a.memo=e.slice(),n[r]=a}function fh(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let r=0;r<n.length;r++)if(ai(n[r],t[r]))return!1;return ea>0&&sn&&sn.push(e),!0}const Ku="3.3.8",n6={createComponentInstance:V0,setupComponent:z0,renderComponentRoot:Cs,setCurrentRenderingInstance:Go,isVNode:Pr,normalizeVNode:gn},G0=n6,Y0=null,X0=null,r6="http://www.w3.org/2000/svg",Fi=typeof document<"u"?document:null,W1=Fi&&Fi.createElement("template"),i6={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const i=t?Fi.createElementNS(r6,e):Fi.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&i.setAttribute("multiple",r.multiple),i},createText:e=>Fi.createTextNode(e),createComment:e=>Fi.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Fi.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,i,a){const o=n?n.previousSibling:t.lastChild;if(i&&(i===a||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===a||!(i=i.nextSibling)););else{W1.innerHTML=r?`<svg>${e}</svg>`:e;const l=W1.content;if(r){const s=l.firstChild;for(;s.firstChild;)l.appendChild(s.firstChild);l.removeChild(s)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},zr="transition",yo="animation",ja=Symbol("_vtc"),fi=(e,{slots:t})=>bi(zd,Z0(e),t);fi.displayName="Transition";const J0={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},a6=fi.props=Ue({},ju,J0),Mi=(e,t=[])=>{me(e)?e.forEach(n=>n(...t)):e&&e(...t)},G1=e=>e?me(e)?e.some(t=>t.length>1):e.length>1:!1;function Z0(e){const t={};for(const w in e)w in J0||(t[w]=e[w]);if(e.css===!1)return t;const{name:n="v",type:r,duration:i,enterFromClass:a=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:s=a,appearActiveClass:u=o,appearToClass:f=l,leaveFromClass:c=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,y=o6(i),g=y&&y[0],_=y&&y[1],{onBeforeEnter:m,onEnter:v,onEnterCancelled:b,onLeave:p,onLeaveCancelled:E,onBeforeAppear:k=m,onAppear:T=v,onAppearCancelled:S=b}=t,P=(w,C,I)=>{Wr(w,C?f:l),Wr(w,C?u:o),I&&I()},N=(w,C)=>{w._isLeaving=!1,Wr(w,c),Wr(w,h),Wr(w,d),C&&C()},O=w=>(C,I)=>{const D=w?T:v,V=()=>P(C,w,I);Mi(D,[C,V]),Y1(()=>{Wr(C,w?s:a),Er(C,w?f:l),G1(D)||X1(C,r,g,V)})};return Ue(t,{onBeforeEnter(w){Mi(m,[w]),Er(w,a),Er(w,o)},onBeforeAppear(w){Mi(k,[w]),Er(w,s),Er(w,u)},onEnter:O(!1),onAppear:O(!0),onLeave(w,C){w._isLeaving=!0;const I=()=>N(w,C);Er(w,c),e2(),Er(w,d),Y1(()=>{w._isLeaving&&(Wr(w,c),Er(w,h),G1(p)||X1(w,r,_,I))}),Mi(p,[w,I])},onEnterCancelled(w){P(w,!1),Mi(b,[w])},onAppearCancelled(w){P(w,!0),Mi(S,[w])},onLeaveCancelled(w){N(w),Mi(E,[w])}})}function o6(e){if(e==null)return null;if(Je(e))return[Wc(e.enter),Wc(e.leave)];{const t=Wc(e);return[t,t]}}function Wc(e){return Us(e)}function Er(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[ja]||(e[ja]=new Set)).add(t)}function Wr(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[ja];n&&(n.delete(t),n.size||(e[ja]=void 0))}function Y1(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let l6=0;function X1(e,t,n,r){const i=e._endId=++l6,a=()=>{i===e._endId&&r()};if(n)return setTimeout(a,n);const{type:o,timeout:l,propCount:s}=Q0(e,t);if(!o)return r();const u=o+"end";let f=0;const c=()=>{e.removeEventListener(u,d),a()},d=h=>{h.target===e&&++f>=s&&c()};setTimeout(()=>{f<s&&c()},l+1),e.addEventListener(u,d)}function Q0(e,t){const n=window.getComputedStyle(e),r=y=>(n[y]||"").split(", "),i=r(`${zr}Delay`),a=r(`${zr}Duration`),o=J1(i,a),l=r(`${yo}Delay`),s=r(`${yo}Duration`),u=J1(l,s);let f=null,c=0,d=0;t===zr?o>0&&(f=zr,c=o,d=a.length):t===yo?u>0&&(f=yo,c=u,d=s.length):(c=Math.max(o,u),f=c>0?o>u?zr:yo:null,d=f?f===zr?a.length:s.length:0);const h=f===zr&&/\b(transform|all)(,|$)/.test(r(`${zr}Property`).toString());return{type:f,timeout:c,propCount:d,hasTransform:h}}function J1(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>Z1(n)+Z1(e[r])))}function Z1(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function e2(){return document.body.offsetHeight}function s6(e,t,n){const r=e[ja];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const dh=Symbol("_vod"),Nr={beforeMount(e,{value:t},{transition:n}){e[dh]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):bo(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),bo(e,!0),r.enter(e)):r.leave(e,()=>{bo(e,!1)}):bo(e,t))},beforeUnmount(e,{value:t}){bo(e,t)}};function bo(e,t){e.style.display=t?e[dh]:"none"}function u6(){Nr.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}function c6(e,t,n){const r=e.style,i=Le(n);if(n&&!i){if(t&&!Le(t))for(const a in t)n[a]==null&&Cf(r,a,"");for(const a in n)Cf(r,a,n[a])}else{const a=r.display;i?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),dh in e&&(r.display=a)}}const Q1=/\s*!important$/;function Cf(e,t,n){if(me(n))n.forEach(r=>Cf(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=f6(e,t);Q1.test(n)?e.setProperty(yn(r),n.replace(Q1,""),"important"):e[r]=n}}const ep=["Webkit","Moz","ms"],Gc={};function f6(e,t){const n=Gc[t];if(n)return n;let r=pt(t);if(r!=="filter"&&r in e)return Gc[t]=r;r=vi(r);for(let i=0;i<ep.length;i++){const a=ep[i]+r;if(a in e)return Gc[t]=a}return t}const tp="http://www.w3.org/1999/xlink";function d6(e,t,n,r,i){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(tp,t.slice(6,t.length)):e.setAttributeNS(tp,t,n);else{const a=Db(t);n==null||a&&!Nv(n)?e.removeAttribute(t):e.setAttribute(t,a?"":n)}}function h6(e,t,n,r,i,a,o){if(t==="innerHTML"||t==="textContent"){r&&o(r,i,a),e[t]=n??"";return}const l=e.tagName;if(t==="value"&&l!=="PROGRESS"&&!l.includes("-")){e._value=n;const u=l==="OPTION"?e.getAttribute("value"):e.value,f=n??"";u!==f&&(e.value=f),n==null&&e.removeAttribute(t);return}let s=!1;if(n===""||n==null){const u=typeof e[t];u==="boolean"?n=Nv(n):n==null&&u==="string"?(n="",s=!0):u==="number"&&(n=0,s=!0)}try{e[t]=n}catch{}s&&e.removeAttribute(t)}function Or(e,t,n,r){e.addEventListener(t,n,r)}function p6(e,t,n,r){e.removeEventListener(t,n,r)}const np=Symbol("_vei");function m6(e,t,n,r,i=null){const a=e[np]||(e[np]={}),o=a[t];if(r&&o)o.value=r;else{const[l,s]=v6(t);if(r){const u=a[t]=b6(r,i);Or(e,l,u,s)}else o&&(p6(e,l,o,s),a[t]=void 0)}}const rp=/(?:Once|Passive|Capture)$/;function v6(e){let t;if(rp.test(e)){t={};let r;for(;r=e.match(rp);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):yn(e.slice(2)),t]}let Yc=0;const g6=Promise.resolve(),y6=()=>Yc||(g6.then(()=>Yc=0),Yc=Date.now());function b6(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;cn(_6(r,n.value),t,5,[r])};return n.value=e,n.attached=y6(),n}function _6(e,t){if(me(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>i=>!i._stopped&&r&&r(i))}else return t}const ip=/^on[a-z]/,E6=(e,t,n,r,i=!1,a,o,l,s)=>{t==="class"?s6(e,r,i):t==="style"?c6(e,n,r):sa(t)?wd(t)||m6(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):w6(e,t,r,i))?h6(e,t,r,a,o,l,s):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),d6(e,t,r,i))};function w6(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&ip.test(t)&&Ae(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||ip.test(t)&&Le(n)?!1:t in e}/*! #__NO_SIDE_EFFECTS__ */function hh(e,t){const n=ut(e);class r extends Tl{constructor(a){super(n,a,t)}}return r.def=n,r}/*! #__NO_SIDE_EFFECTS__ */const t2=e=>hh(e,mh),O6=typeof HTMLElement<"u"?HTMLElement:class{};class Tl extends O6{constructor(t,n={},r){super(),this._def=t,this._props=n,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this._ob=null,this.shadowRoot&&r?r(this._createVNode(),this.shadowRoot):(this.attachShadow({mode:"open"}),this._def.__asyncLoader||this._resolveProps(this._def))}connectedCallback(){this._connected=!0,this._instance||(this._resolved?this._update():this._resolveDef())}disconnectedCallback(){this._connected=!1,this._ob&&(this._ob.disconnect(),this._ob=null),Ht(()=>{this._connected||(Qo(null,this.shadowRoot),this._instance=null)})}_resolveDef(){this._resolved=!0;for(let r=0;r<this.attributes.length;r++)this._setAttr(this.attributes[r].name);this._ob=new MutationObserver(r=>{for(const i of r)this._setAttr(i.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(r,i=!1)=>{const{props:a,styles:o}=r;let l;if(a&&!me(a))for(const s in a){const u=a[s];(u===Number||u&&u.type===Number)&&(s in this._props&&(this._props[s]=Us(this._props[s])),(l||(l=Object.create(null)))[pt(s)]=!0)}this._numberProps=l,i&&this._resolveProps(r),this._applyStyles(o),this._update()},n=this._def.__asyncLoader;n?n().then(r=>t(r,!0)):t(this._def)}_resolveProps(t){const{props:n}=t,r=me(n)?n:Object.keys(n||{});for(const i of Object.keys(this))i[0]!=="_"&&r.includes(i)&&this._setProp(i,this[i],!0,!1);for(const i of r.map(pt))Object.defineProperty(this,i,{get(){return this._getProp(i)},set(a){this._setProp(i,a)}})}_setAttr(t){let n=this.getAttribute(t);const r=pt(t);this._numberProps&&this._numberProps[r]&&(n=Us(n)),this._setProp(r,n,!1)}_getProp(t){return this._props[t]}_setProp(t,n,r=!0,i=!0){n!==this._props[t]&&(this._props[t]=n,i&&this._instance&&this._update(),r&&(n===!0?this.setAttribute(yn(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(yn(t),n+""):n||this.removeAttribute(yn(t))))}_update(){Qo(this._createVNode(),this.shadowRoot)}_createVNode(){const t=xe(this._def,Ue({},this._props));return this._instance||(t.ce=n=>{this._instance=n,n.isCE=!0;const r=(a,o)=>{this.dispatchEvent(new CustomEvent(a,{detail:o}))};n.emit=(a,...o)=>{r(a,o),yn(a)!==a&&r(yn(a),o)};let i=this;for(;i=i&&(i.parentNode||i.host);)if(i instanceof Tl){n.parent=i._instance,n.provides=i._instance.provides;break}}),t}_applyStyles(t){t&&t.forEach(n=>{const r=document.createElement("style");r.textContent=n,this.shadowRoot.appendChild(r)})}}function n2(e="$style"){{const t=jt();if(!t)return Ye;const n=t.type.__cssModules;if(!n)return Ye;const r=n[e];return r||Ye}}function Wu(e){const t=jt();if(!t)return;const n=t.ut=(i=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(a=>Lf(a,i))},r=()=>{const i=e(t.proxy);Pf(t.subTree,i),n(i)};Bd(r),mn(()=>{const i=new MutationObserver(r);i.observe(t.subTree.el.parentNode,{childList:!0}),yi(()=>i.disconnect())})}function Pf(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Pf(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Lf(e.el,t);else if(e.type===tt)e.children.forEach(n=>Pf(n,t));else if(e.type===ei){let{el:n,anchor:r}=e;for(;n&&(Lf(n,t),n!==r);)n=n.nextSibling}}function Lf(e,t){if(e.nodeType===1){const n=e.style;for(const r in t)n.setProperty(`--${r}`,t[r])}}const r2=new WeakMap,i2=new WeakMap,Js=Symbol("_moveCb"),ap=Symbol("_enterCb"),a2={name:"TransitionGroup",props:Ue({},a6,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=jt(),r=Hu();let i,a;return Ol(()=>{if(!i.length)return;const o=e.moveClass||`${e.name||"v"}-move`;if(!k6(i[0].el,n.vnode.el,o))return;i.forEach(S6),i.forEach(A6);const l=i.filter(N6);e2(),l.forEach(s=>{const u=s.el,f=u.style;Er(u,o),f.transform=f.webkitTransform=f.transitionDuration="";const c=u[Js]=d=>{d&&d.target!==u||(!d||/transform$/.test(d.propertyName))&&(u.removeEventListener("transitionend",c),u[Js]=null,Wr(u,o))};u.addEventListener("transitionend",c)})}),()=>{const o=Me(e),l=Z0(o);let s=o.tag||tt;i=a,a=t.default?El(t.default()):[];for(let u=0;u<a.length;u++){const f=a[u];f.key!=null&&ui(f,Zi(f,l,r,n))}if(i)for(let u=0;u<i.length;u++){const f=i[u];ui(f,Zi(f,l,r,n)),r2.set(f,f.el.getBoundingClientRect())}return xe(s,null,a)}}},T6=e=>delete e.mode;a2.props;const o2=a2;function S6(e){const t=e.el;t[Js]&&t[Js](),t[ap]&&t[ap]()}function A6(e){i2.set(e,e.el.getBoundingClientRect())}function N6(e){const t=r2.get(e),n=i2.get(e),r=t.left-n.left,i=t.top-n.top;if(r||i){const a=e.el.style;return a.transform=a.webkitTransform=`translate(${r}px,${i}px)`,a.transitionDuration="0s",e}}function k6(e,t,n){const r=e.cloneNode(),i=e[ja];i&&i.forEach(l=>{l.split(/\s+/).forEach(s=>s&&r.classList.remove(s))}),n.split(/\s+/).forEach(l=>l&&r.classList.add(l)),r.style.display="none";const a=t.nodeType===1?t:t.parentNode;a.appendChild(r);const{hasTransform:o}=Q0(r);return a.removeChild(r),o}const di=e=>{const t=e.props["onUpdate:modelValue"]||!1;return me(t)?n=>Ma(t,n):t};function C6(e){e.target.composing=!0}function op(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Mn=Symbol("_assign"),Va={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e[Mn]=di(i);const a=r||i.props&&i.props.type==="number";Or(e,t?"change":"input",o=>{if(o.target.composing)return;let l=e.value;n&&(l=l.trim()),a&&(l=$s(l)),e[Mn](l)}),n&&Or(e,"change",()=>{e.value=e.value.trim()}),t||(Or(e,"compositionstart",C6),Or(e,"compositionend",op),Or(e,"change",op))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:i}},a){if(e[Mn]=di(a),e.composing||document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===t||(i||e.type==="number")&&$s(e.value)===t))return;const o=t??"";e.value!==o&&(e.value=o)}},Gu={deep:!0,created(e,t,n){e[Mn]=di(n),Or(e,"change",()=>{const r=e._modelValue,i=Ba(e),a=e.checked,o=e[Mn];if(me(r)){const l=Tu(r,i),s=l!==-1;if(a&&!s)o(r.concat(i));else if(!a&&s){const u=[...r];u.splice(l,1),o(u)}}else if(ua(r)){const l=new Set(r);a?l.add(i):l.delete(i),o(l)}else o(l2(e,a))})},mounted:lp,beforeUpdate(e,t,n){e[Mn]=di(n),lp(e,t,n)}};function lp(e,{value:t,oldValue:n},r){e._modelValue=t,me(t)?e.checked=Tu(t,r.props.value)>-1:ua(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=oi(t,l2(e,!0)))}const Yu={created(e,{value:t},n){e.checked=oi(t,n.props.value),e[Mn]=di(n),Or(e,"change",()=>{e[Mn](Ba(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[Mn]=di(r),t!==n&&(e.checked=oi(t,r.props.value))}},ph={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const i=ua(t);Or(e,"change",()=>{const a=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>n?$s(Ba(o)):Ba(o));e[Mn](e.multiple?i?new Set(a):a:a[0])}),e[Mn]=di(r)},mounted(e,{value:t}){sp(e,t)},beforeUpdate(e,t,n){e[Mn]=di(n)},updated(e,{value:t}){sp(e,t)}};function sp(e,t){const n=e.multiple;if(!(n&&!me(t)&&!ua(t))){for(let r=0,i=e.options.length;r<i;r++){const a=e.options[r],o=Ba(a);if(n)me(t)?a.selected=Tu(t,o)>-1:a.selected=t.has(o);else if(oi(Ba(a),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Ba(e){return"_value"in e?e._value:e.value}function l2(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Xu={created(e,t,n){as(e,t,n,null,"created")},mounted(e,t,n){as(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){as(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){as(e,t,n,r,"updated")}};function s2(e,t){switch(e){case"SELECT":return ph;case"TEXTAREA":return Va;default:switch(t){case"checkbox":return Gu;case"radio":return Yu;default:return Va}}}function as(e,t,n,r,i){const o=s2(e.tagName,n.props&&n.props.type)[i];o&&o(e,t,n,r)}function P6(){Va.getSSRProps=({value:e})=>({value:e}),Yu.getSSRProps=({value:e},t)=>{if(t.props&&oi(t.props.value,e))return{checked:!0}},Gu.getSSRProps=({value:e},t)=>{if(me(e)){if(t.props&&Tu(e,t.props.value)>-1)return{checked:!0}}else if(ua(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},Xu.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=s2(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const L6=["ctrl","shift","alt","meta"],I6={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>L6.some(n=>e[`${n}Key`]&&!t.includes(n))},ta=(e,t)=>(n,...r)=>{for(let i=0;i<t.length;i++){const a=I6[t[i]];if(a&&a(n,t))return}return e(n,...r)},M6={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Ju=(e,t)=>n=>{if(!("key"in n))return;const r=yn(n.key);if(t.some(i=>i===r||M6[i]===r))return e(n)},u2=Ue({patchProp:E6},i6);let xo,up=!1;function c2(){return xo||(xo=rh(u2))}function f2(){return xo=up?xo:ih(u2),up=!0,xo}const Qo=(...e)=>{c2().render(...e)},mh=(...e)=>{f2().hydrate(...e)},vh=(...e)=>{const t=c2().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=h2(r);if(!i)return;const a=t._component;!Ae(a)&&!a.render&&!a.template&&(a.template=i.innerHTML),i.innerHTML="";const o=n(i,!1,i instanceof SVGElement);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},t},d2=(...e)=>{const t=f2().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=h2(r);if(i)return n(i,!0,i instanceof SVGElement)},t};function h2(e){return Le(e)?document.querySelector(e):e}let cp=!1;const p2=()=>{cp||(cp=!0,P6(),u6())},x6=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:zd,BaseTransitionPropsValidators:ju,Comment:Mt,EffectScope:Su,Fragment:tt,KeepAlive:c0,ReactiveEffect:Ji,Static:ei,Suspense:jd,Teleport:$u,Text:hr,Transition:fi,TransitionGroup:o2,VueElement:Tl,assertNumber:Jv,callWithAsyncErrorHandling:cn,callWithErrorHandling:fr,camelize:pt,capitalize:vi,cloneVNode:Wn,compatUtils:X0,computed:fe,createApp:vh,createBlock:mt,createCommentVNode:nt,createElementBlock:Pe,createElementVNode:Re,createHydrationRenderer:ih,createPropsRestProxy:T0,createRenderer:rh,createSSRApp:d2,createSlots:zu,createStaticVNode:j0,createTextVNode:Lr,createVNode:xe,customRef:Gv,defineAsyncComponent:u0,defineComponent:ut,defineCustomElement:hh,defineEmits:p0,defineExpose:m0,defineModel:y0,defineOptions:v0,defineProps:h0,defineSSRCustomElement:t2,defineSlots:g0,get devtools(){return Di},effect:Iv,effectScope:vl,getCurrentInstance:jt,getCurrentScope:eo,getTransitionRawChildren:El,guardReactiveProps:Zt,h:bi,handleError:gi,hasInjectionContext:th,hydrate:mh,initCustomFormatter:K0,initDirectivesForSSR:p2,inject:In,isMemoSame:fh,isProxy:Cu,isReactive:Un,isReadonly:si,isRef:Qe,isRuntimeOnly:$0,isShallow:Fa,isVNode:Pr,markRaw:cr,mergeDefaults:w0,mergeModels:O0,mergeProps:dn,nextTick:Ht,normalizeClass:_t,normalizeProps:$t,normalizeStyle:qt,onActivated:$d,onBeforeMount:qd,onBeforeUnmount:Dr,onBeforeUpdate:Bu,onDeactivated:Ud,onErrorCaptured:Yd,onMounted:mn,onRenderTracked:Gd,onRenderTriggered:Wd,onScopeDispose:gl,onServerPrefetch:Kd,onUnmounted:yi,onUpdated:Ol,openBlock:_e,popScopeId:Du,provide:eh,proxyRefs:Lu,pushScopeId:Ru,queuePostFlushCb:Ko,reactive:dr,readonly:yl,ref:be,registerRuntimeCompiler:sh,render:Qo,renderList:Qi,renderSlot:ht,resolveComponent:Fd,resolveDirective:Fu,resolveDynamicComponent:Ar,resolveFilter:Y0,resolveTransitionHooks:Zi,setBlockTracking:Ys,setDevtoolsHook:Md,setTransitionHooks:ui,shallowReactive:Vi,shallowReadonly:Uv,shallowRef:Pd,ssrContextKey:uh,ssrUtils:G0,stop:Mv,toDisplayString:Ln,toHandlerKey:Wi,toHandlers:Xo,toRaw:Me,toRef:bl,toRefs:Ld,toValue:Wv,transformVNodeArgs:F0,triggerRef:Kv,unref:Se,useAttrs:Jd,useCssModule:n2,useCssVars:Wu,useModel:_0,useSSRContext:ch,useSlots:Xd,useTransitionState:Hu,vModelCheckbox:Gu,vModelDynamic:Xu,vModelRadio:Yu,vModelSelect:ph,vModelText:Va,vShow:Nr,version:Ku,warn:Xv,watch:Ke,watchEffect:a0,watchPostEffect:Bd,watchSyncEffect:o0,withAsyncContext:Zd,withCtx:fn,withDefaults:b0,withDirectives:qn,withKeys:Ju,withMemo:W0,withModifiers:ta,withScopeId:xd},Symbol.toStringTag,{value:"Module"}));function gh(e){throw e}function m2(e){}function at(e,t,n,r){const i=e,a=new SyntaxError(String(i));return a.code=e,a.loc=t,a}const el=Symbol(""),Ro=Symbol(""),yh=Symbol(""),Zs=Symbol(""),v2=Symbol(""),na=Symbol(""),g2=Symbol(""),y2=Symbol(""),bh=Symbol(""),_h=Symbol(""),Sl=Symbol(""),Eh=Symbol(""),b2=Symbol(""),wh=Symbol(""),Qs=Symbol(""),Oh=Symbol(""),Th=Symbol(""),Sh=Symbol(""),Ah=Symbol(""),_2=Symbol(""),E2=Symbol(""),Zu=Symbol(""),eu=Symbol(""),Nh=Symbol(""),kh=Symbol(""),tl=Symbol(""),Al=Symbol(""),Ch=Symbol(""),If=Symbol(""),R6=Symbol(""),Mf=Symbol(""),tu=Symbol(""),D6=Symbol(""),F6=Symbol(""),Ph=Symbol(""),H6=Symbol(""),j6=Symbol(""),Lh=Symbol(""),w2=Symbol(""),za={[el]:"Fragment",[Ro]:"Teleport",[yh]:"Suspense",[Zs]:"KeepAlive",[v2]:"BaseTransition",[na]:"openBlock",[g2]:"createBlock",[y2]:"createElementBlock",[bh]:"createVNode",[_h]:"createElementVNode",[Sl]:"createCommentVNode",[Eh]:"createTextVNode",[b2]:"createStaticVNode",[wh]:"resolveComponent",[Qs]:"resolveDynamicComponent",[Oh]:"resolveDirective",[Th]:"resolveFilter",[Sh]:"withDirectives",[Ah]:"renderList",[_2]:"renderSlot",[E2]:"createSlots",[Zu]:"toDisplayString",[eu]:"mergeProps",[Nh]:"normalizeClass",[kh]:"normalizeStyle",[tl]:"normalizeProps",[Al]:"guardReactiveProps",[Ch]:"toHandlers",[If]:"camelize",[R6]:"capitalize",[Mf]:"toHandlerKey",[tu]:"setBlockTracking",[D6]:"pushScopeId",[F6]:"popScopeId",[Ph]:"withCtx",[H6]:"unref",[j6]:"isRef",[Lh]:"withMemo",[w2]:"isMemoSame"};function V6(e){Object.getOwnPropertySymbols(e).forEach(t=>{za[t]=e[t]})}const _n={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function B6(e,t=_n){return{type:0,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}function nl(e,t,n,r,i,a,o,l=!1,s=!1,u=!1,f=_n){return e&&(l?(e.helper(na),e.helper(qa(e.inSSR,u))):e.helper(Ua(e.inSSR,u)),o&&e.helper(Sh)),{type:13,tag:t,props:n,children:r,patchFlag:i,dynamicProps:a,directives:o,isBlock:l,disableTracking:s,isComponent:u,loc:f}}function Nl(e,t=_n){return{type:17,loc:t,elements:e}}function Cn(e,t=_n){return{type:15,loc:t,properties:e}}function dt(e,t){return{type:16,loc:_n,key:Le(e)?Ie(e,!0):e,value:t}}function Ie(e,t=!1,n=_n,r=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:r}}function Kn(e,t=_n){return{type:8,loc:t,children:e}}function yt(e,t=[],n=_n){return{type:14,loc:n,callee:e,arguments:t}}function $a(e,t=void 0,n=!1,r=!1,i=_n){return{type:18,params:e,returns:t,newline:n,isSlot:r,loc:i}}function xf(e,t,n,r=!0){return{type:19,test:e,consequent:t,alternate:n,newline:r,loc:_n}}function z6(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:_n}}function $6(e){return{type:21,body:e,loc:_n}}function Ua(e,t){return e||t?bh:_h}function qa(e,t){return e||t?g2:y2}function Ih(e,{helper:t,removeHelper:n,inSSR:r}){e.isBlock||(e.isBlock=!0,n(Ua(r,e.isComponent)),t(na),t(qa(r,e.isComponent)))}const un=e=>e.type===4&&e.isStatic,Na=(e,t)=>e===t||e===yn(t);function O2(e){if(Na(e,"Teleport"))return Ro;if(Na(e,"Suspense"))return yh;if(Na(e,"KeepAlive"))return Zs;if(Na(e,"BaseTransition"))return v2}const U6=/^\d|[^\$\w]/,Mh=e=>!U6.test(e),q6=/[A-Za-z_$\xA0-\uFFFF]/,K6=/[\.\?\w$\xA0-\uFFFF]/,W6=/\s+[.[]\s*|\s*[.[]\s+/g,G6=e=>{e=e.trim().replace(W6,o=>o.trim());let t=0,n=[],r=0,i=0,a=null;for(let o=0;o<e.length;o++){const l=e.charAt(o);switch(t){case 0:if(l==="[")n.push(t),t=1,r++;else if(l==="(")n.push(t),t=2,i++;else if(!(o===0?q6:K6).test(l))return!1;break;case 1:l==="'"||l==='"'||l==="`"?(n.push(t),t=3,a=l):l==="["?r++:l==="]"&&(--r||(t=n.pop()));break;case 2:if(l==="'"||l==='"'||l==="`")n.push(t),t=3,a=l;else if(l==="(")i++;else if(l===")"){if(o===e.length-1)return!1;--i||(t=n.pop())}break;case 3:l===a&&(t=n.pop(),a=null);break}}return!r&&!i},T2=G6;function S2(e,t,n){const i={source:e.source.slice(t,t+n),start:nu(e.start,e.source,t),end:e.end};return n!=null&&(i.end=nu(e.start,e.source,t+n)),i}function nu(e,t,n=t.length){return ru(Ue({},e),t,n)}function ru(e,t,n=t.length){let r=0,i=-1;for(let a=0;a<n;a++)t.charCodeAt(a)===10&&(r++,i=a);return e.offset+=n,e.line+=r,e.column=i===-1?e.column+n:n-i,e}function Nn(e,t,n=!1){for(let r=0;r<e.props.length;r++){const i=e.props[r];if(i.type===7&&(n||i.exp)&&(Le(t)?i.name===t:t.test(i.name)))return i}}function Qu(e,t,n=!1,r=!1){for(let i=0;i<e.props.length;i++){const a=e.props[i];if(a.type===6){if(n)continue;if(a.name===t&&(a.value||r))return a}else if(a.name==="bind"&&(a.exp||r)&&zi(a.arg,t))return a}}function zi(e,t){return!!(e&&un(e)&&e.content===t)}function Y6(e){return e.props.some(t=>t.type===7&&t.name==="bind"&&(!t.arg||t.arg.type!==4||!t.arg.isStatic))}function Xc(e){return e.type===5||e.type===2}function X6(e){return e.type===7&&e.name==="slot"}function iu(e){return e.type===1&&e.tagType===3}function au(e){return e.type===1&&e.tagType===2}const J6=new Set([tl,Al]);function A2(e,t=[]){if(e&&!Le(e)&&e.type===14){const n=e.callee;if(!Le(n)&&J6.has(n))return A2(e.arguments[0],t.concat(e))}return[e,t]}function ou(e,t,n){let r,i=e.type===13?e.props:e.arguments[2],a=[],o;if(i&&!Le(i)&&i.type===14){const l=A2(i);i=l[0],a=l[1],o=a[a.length-1]}if(i==null||Le(i))r=Cn([t]);else if(i.type===14){const l=i.arguments[0];!Le(l)&&l.type===15?fp(t,l)||l.properties.unshift(t):i.callee===Ch?r=yt(n.helper(eu),[Cn([t]),i]):i.arguments.unshift(Cn([t])),!r&&(r=i)}else i.type===15?(fp(t,i)||i.properties.unshift(t),r=i):(r=yt(n.helper(eu),[Cn([t]),i]),o&&o.callee===Al&&(o=a[a.length-2]));e.type===13?o?o.arguments[0]=r:e.props=r:o?o.arguments[0]=r:e.arguments[2]=r}function fp(e,t){let n=!1;if(e.key.type===4){const r=e.key.content;n=t.properties.some(i=>i.key.type===4&&i.key.content===r)}return n}function rl(e,t){return`_${t}_${e.replace(/[^\w]/g,(n,r)=>n==="-"?"_":e.charCodeAt(r).toString())}`}function Z6(e){return e.type===14&&e.callee===Lh?e.arguments[1].returns:e}function dp(e,t){const n=t.options?t.options.compatConfig:t.compatConfig,r=n&&n[e];return e==="MODE"?r||3:r}function Xi(e,t){const n=dp("MODE",t),r=dp(e,t);return n===3?r===!0:r!==!1}function il(e,t,n,...r){return Xi(e,t)}const Q6=/&(gt|lt|amp|apos|quot);/g,e3={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},hp={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:ks,isPreTag:ks,isCustomElement:ks,decodeEntities:e=>e.replace(Q6,(t,n)=>e3[n]),onError:gh,onWarn:m2,comments:!1};function t3(e,t={}){const n=n3(e,t),r=bn(n);return B6(xh(n,0,[]),Rn(n,r))}function n3(e,t){const n=Ue({},hp);let r;for(r in t)n[r]=t[r]===void 0?hp[r]:t[r];return{options:n,column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1,onWarn:n.onWarn}}function xh(e,t,n){const r=ec(n),i=r?r.ns:0,a=[];for(;!f3(e,t,n);){const l=e.source;let s;if(t===0||t===1){if(!e.inVPre&&Kt(l,e.options.delimiters[0]))s=u3(e,t);else if(t===0&&l[0]==="<")if(l.length===1)Ge(e,5,1);else if(l[1]==="!")Kt(l,"<!--")?s=i3(e):Kt(l,"<!DOCTYPE")?s=_o(e):Kt(l,"<![CDATA[")?i!==0?s=r3(e,n):(Ge(e,1),s=_o(e)):(Ge(e,11),s=_o(e));else if(l[1]==="/")if(l.length===2)Ge(e,5,2);else if(l[2]===">"){Ge(e,14,2),At(e,3);continue}else if(/[a-z]/i.test(l[2])){Ge(e,23),Rf(e,1,r);continue}else Ge(e,12,2),s=_o(e);else/[a-z]/i.test(l[1])?(s=a3(e,n),Xi("COMPILER_NATIVE_TEMPLATE",e)&&s&&s.tag==="template"&&!s.props.some(u=>u.type===7&&N2(u.name))&&(s=s.children)):l[1]==="?"?(Ge(e,21,1),s=_o(e)):Ge(e,12,1)}if(s||(s=c3(e,t)),me(s))for(let u=0;u<s.length;u++)pp(a,s[u]);else pp(a,s)}let o=!1;if(t!==2&&t!==1){const l=e.options.whitespace!=="preserve";for(let s=0;s<a.length;s++){const u=a[s];if(u.type===2)if(e.inPre)u.content=u.content.replace(/\r\n/g,`
1
+ "use strict";const st=require("./_commonjsHelpers-6763f629.cjs");function pn(e,t){const n=Object.create(null),r=e.split(",");for(let i=0;i<r.length;i++)n[r[i]]=!0;return t?i=>!!n[i.toLowerCase()]:i=>!!n[i]}const Ye={},La=[],Qt=()=>{},ks=()=>!1,gb=/^on[^a-z]/,sa=e=>gb.test(e),wd=e=>e.startsWith("onUpdate:"),Ue=Object.assign,Od=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},yb=Object.prototype.hasOwnProperty,$e=(e,t)=>yb.call(e,t),me=Array.isArray,Ia=e=>Qa(e)==="[object Map]",ua=e=>Qa(e)==="[object Set]",T1=e=>Qa(e)==="[object Date]",bb=e=>Qa(e)==="[object RegExp]",Ae=e=>typeof e=="function",Le=e=>typeof e=="string",Cr=e=>typeof e=="symbol",Je=e=>e!==null&&typeof e=="object",Td=e=>(Je(e)||Ae(e))&&Ae(e.then)&&Ae(e.catch),Sv=Object.prototype.toString,Qa=e=>Sv.call(e),_b=e=>Qa(e).slice(8,-1),Po=e=>Qa(e)==="[object Object]",Sd=e=>Le(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ki=pn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Eb=pn("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),Ou=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},wb=/-(\w)/g,pt=Ou(e=>e.replace(wb,(t,n)=>n?n.toUpperCase():"")),Ob=/\B([A-Z])/g,yn=Ou(e=>e.replace(Ob,"-$1").toLowerCase()),vi=Ou(e=>e.charAt(0).toUpperCase()+e.slice(1)),Wi=Ou(e=>e?`on${vi(e)}`:""),ai=(e,t)=>!Object.is(e,t),Ma=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},zs=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},$s=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Us=e=>{const t=Le(e)?Number(e):NaN;return isNaN(t)?e:t};let S1;const mf=()=>S1||(S1=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),Tb="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console",Sb=pn(Tb);function qt(e){if(me(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],i=Le(r)?Av(r):qt(r);if(i)for(const a in i)t[a]=i[a]}return t}else if(Le(e)||Je(e))return e}const Ab=/;(?![^(]*\))/g,Nb=/:([^]+)/,kb=/\/\*[^]*?\*\//g;function Av(e){const t={};return e.replace(kb,"").split(Ab).forEach(n=>{if(n){const r=n.split(Nb);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function _t(e){let t="";if(Le(e))t=e;else if(me(e))for(let n=0;n<e.length;n++){const r=_t(e[n]);r&&(t+=r+" ")}else if(Je(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function $t(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Le(t)&&(e.class=_t(t)),n&&(e.style=qt(n)),e}const Cb="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",Pb="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",Lb="area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr",Ib=pn(Cb),Mb=pn(Pb),xb=pn(Lb),Rb="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Db=pn(Rb);function Nv(e){return!!e||e===""}function Fb(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=oi(e[r],t[r]);return n}function oi(e,t){if(e===t)return!0;let n=T1(e),r=T1(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=Cr(e),r=Cr(t),n||r)return e===t;if(n=me(e),r=me(t),n||r)return n&&r?Fb(e,t):!1;if(n=Je(e),r=Je(t),n||r){if(!n||!r)return!1;const i=Object.keys(e).length,a=Object.keys(t).length;if(i!==a)return!1;for(const o in e){const l=e.hasOwnProperty(o),s=t.hasOwnProperty(o);if(l&&!s||!l&&s||!oi(e[o],t[o]))return!1}}return String(e)===String(t)}function Tu(e,t){return e.findIndex(n=>oi(n,t))}const Ln=e=>Le(e)?e:e==null?"":me(e)||Je(e)&&(e.toString===Sv||!Ae(e.toString))?JSON.stringify(e,kv,2):String(e),kv=(e,t)=>t&&t.__v_isRef?kv(e,t.value):Ia(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,i])=>(n[`${r} =>`]=i,n),{})}:ua(t)?{[`Set(${t.size})`]:[...t.values()]}:Je(t)&&!me(t)&&!Po(t)?String(t):t;let vn;class Su{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=vn,!t&&vn&&(this.index=(vn.scopes||(vn.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=vn;try{return vn=this,t()}finally{vn=n}}}on(){vn=this}off(){vn=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0,this._active=!1}}}function vl(e){return new Su(e)}function Cv(e,t=vn){t&&t.active&&t.effects.push(e)}function eo(){return vn}function gl(e){vn&&vn.cleanups.push(e)}const Ad=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Pv=e=>(e.w&li)>0,Lv=e=>(e.n&li)>0,Hb=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=li},jb=e=>{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r<t.length;r++){const i=t[r];Pv(i)&&!Lv(i)?i.delete(e):t[n++]=i,i.w&=~li,i.n&=~li}t.length=n}},qs=new WeakMap;let Ao=0,li=1;const vf=30;let jn;const Gi=Symbol(""),gf=Symbol("");class Ji{constructor(t,n=null,r){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,Cv(this,r)}run(){if(!this.active)return this.fn();let t=jn,n=Qr;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=jn,jn=this,Qr=!0,li=1<<++Ao,Ao<=vf?Hb(this):A1(this),this.fn()}finally{Ao<=vf&&jb(this),li=1<<--Ao,jn=this.parent,Qr=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){jn===this?this.deferStop=!0:this.active&&(A1(this),this.onStop&&this.onStop(),this.active=!1)}}function A1(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}function Iv(e,t){e.effect instanceof Ji&&(e=e.effect.fn);const n=new Ji(e);t&&(Ue(n,t),t.scope&&Cv(n,t.scope)),(!t||!t.lazy)&&n.run();const r=n.run.bind(n);return r.effect=n,r}function Mv(e){e.effect.stop()}let Qr=!0;const xv=[];function to(){xv.push(Qr),Qr=!1}function no(){const e=xv.pop();Qr=e===void 0?!0:e}function hn(e,t,n){if(Qr&&jn){let r=qs.get(e);r||qs.set(e,r=new Map);let i=r.get(n);i||r.set(n,i=Ad()),Rv(i)}}function Rv(e,t){let n=!1;Ao<=vf?Lv(e)||(e.n|=li,n=!Pv(e)):n=!e.has(jn),n&&(e.add(jn),jn.deps.push(e))}function Sr(e,t,n,r,i,a){const o=qs.get(e);if(!o)return;let l=[];if(t==="clear")l=[...o.values()];else if(n==="length"&&me(e)){const s=Number(r);o.forEach((u,f)=>{(f==="length"||!Cr(f)&&f>=s)&&l.push(u)})}else switch(n!==void 0&&l.push(o.get(n)),t){case"add":me(e)?Sd(n)&&l.push(o.get("length")):(l.push(o.get(Gi)),Ia(e)&&l.push(o.get(gf)));break;case"delete":me(e)||(l.push(o.get(Gi)),Ia(e)&&l.push(o.get(gf)));break;case"set":Ia(e)&&l.push(o.get(Gi));break}if(l.length===1)l[0]&&yf(l[0]);else{const s=[];for(const u of l)u&&s.push(...u);yf(Ad(s))}}function yf(e,t){const n=me(e)?e:[...e];for(const r of n)r.computed&&N1(r);for(const r of n)r.computed||N1(r)}function N1(e,t){(e!==jn||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function Vb(e,t){var n;return(n=qs.get(e))==null?void 0:n.get(t)}const Bb=pn("__proto__,__v_isRef,__isVue"),Dv=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Cr)),k1=zb();function zb(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=Me(this);for(let a=0,o=this.length;a<o;a++)hn(r,"get",a+"");const i=r[t](...n);return i===-1||i===!1?r[t](...n.map(Me)):i}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){to();const r=Me(this)[t].apply(this,n);return no(),r}}),e}function $b(e){const t=Me(this);return hn(t,"has",e),t.hasOwnProperty(e)}class Fv{constructor(t=!1,n=!1){this._isReadonly=t,this._shallow=n}get(t,n,r){const i=this._isReadonly,a=this._shallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return a;if(n==="__v_raw"&&r===(i?a?$v:zv:a?Bv:Vv).get(t))return t;const o=me(t);if(!i){if(o&&$e(k1,n))return Reflect.get(k1,n,r);if(n==="hasOwnProperty")return $b}const l=Reflect.get(t,n,r);return(Cr(n)?Dv.has(n):Bb(n))||(i||hn(t,"get",n),a)?l:Qe(l)?o&&Sd(n)?l:l.value:Je(l)?i?yl(l):dr(l):l}}class Hv extends Fv{constructor(t=!1){super(!1,t)}set(t,n,r,i){let a=t[n];if(si(a)&&Qe(a)&&!Qe(r))return!1;if(!this._shallow&&(!Fa(r)&&!si(r)&&(a=Me(a),r=Me(r)),!me(t)&&Qe(a)&&!Qe(r)))return a.value=r,!0;const o=me(t)&&Sd(n)?Number(n)<t.length:$e(t,n),l=Reflect.set(t,n,r,i);return t===Me(i)&&(o?ai(r,a)&&Sr(t,"set",n,r):Sr(t,"add",n,r)),l}deleteProperty(t,n){const r=$e(t,n);t[n];const i=Reflect.deleteProperty(t,n);return i&&r&&Sr(t,"delete",n,void 0),i}has(t,n){const r=Reflect.has(t,n);return(!Cr(n)||!Dv.has(n))&&hn(t,"has",n),r}ownKeys(t){return hn(t,"iterate",me(t)?"length":Gi),Reflect.ownKeys(t)}}class jv extends Fv{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Ub=new Hv,qb=new jv,Kb=new Hv(!0),Wb=new jv(!0),Nd=e=>e,Au=e=>Reflect.getPrototypeOf(e);function Gl(e,t,n=!1,r=!1){e=e.__v_raw;const i=Me(e),a=Me(t);n||(ai(t,a)&&hn(i,"get",t),hn(i,"get",a));const{has:o}=Au(i),l=r?Nd:n?kd:Uo;if(o.call(i,t))return l(e.get(t));if(o.call(i,a))return l(e.get(a));e!==i&&e.get(t)}function Yl(e,t=!1){const n=this.__v_raw,r=Me(n),i=Me(e);return t||(ai(e,i)&&hn(r,"has",e),hn(r,"has",i)),e===i?n.has(e):n.has(e)||n.has(i)}function Xl(e,t=!1){return e=e.__v_raw,!t&&hn(Me(e),"iterate",Gi),Reflect.get(e,"size",e)}function C1(e){e=Me(e);const t=Me(this);return Au(t).has.call(t,e)||(t.add(e),Sr(t,"add",e,e)),this}function P1(e,t){t=Me(t);const n=Me(this),{has:r,get:i}=Au(n);let a=r.call(n,e);a||(e=Me(e),a=r.call(n,e));const o=i.call(n,e);return n.set(e,t),a?ai(t,o)&&Sr(n,"set",e,t):Sr(n,"add",e,t),this}function L1(e){const t=Me(this),{has:n,get:r}=Au(t);let i=n.call(t,e);i||(e=Me(e),i=n.call(t,e)),r&&r.call(t,e);const a=t.delete(e);return i&&Sr(t,"delete",e,void 0),a}function I1(){const e=Me(this),t=e.size!==0,n=e.clear();return t&&Sr(e,"clear",void 0,void 0),n}function Jl(e,t){return function(r,i){const a=this,o=a.__v_raw,l=Me(o),s=t?Nd:e?kd:Uo;return!e&&hn(l,"iterate",Gi),o.forEach((u,f)=>r.call(i,s(u),s(f),a))}}function Zl(e,t,n){return function(...r){const i=this.__v_raw,a=Me(i),o=Ia(a),l=e==="entries"||e===Symbol.iterator&&o,s=e==="keys"&&o,u=i[e](...r),f=n?Nd:t?kd:Uo;return!t&&hn(a,"iterate",s?gf:Gi),{next(){const{value:c,done:d}=u.next();return d?{value:c,done:d}:{value:l?[f(c[0]),f(c[1])]:f(c),done:d}},[Symbol.iterator](){return this}}}}function Vr(e){return function(...t){return e==="delete"?!1:this}}function Gb(){const e={get(a){return Gl(this,a)},get size(){return Xl(this)},has:Yl,add:C1,set:P1,delete:L1,clear:I1,forEach:Jl(!1,!1)},t={get(a){return Gl(this,a,!1,!0)},get size(){return Xl(this)},has:Yl,add:C1,set:P1,delete:L1,clear:I1,forEach:Jl(!1,!0)},n={get(a){return Gl(this,a,!0)},get size(){return Xl(this,!0)},has(a){return Yl.call(this,a,!0)},add:Vr("add"),set:Vr("set"),delete:Vr("delete"),clear:Vr("clear"),forEach:Jl(!0,!1)},r={get(a){return Gl(this,a,!0,!0)},get size(){return Xl(this,!0)},has(a){return Yl.call(this,a,!0)},add:Vr("add"),set:Vr("set"),delete:Vr("delete"),clear:Vr("clear"),forEach:Jl(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(a=>{e[a]=Zl(a,!1,!1),n[a]=Zl(a,!0,!1),t[a]=Zl(a,!1,!0),r[a]=Zl(a,!0,!0)}),[e,n,t,r]}const[Yb,Xb,Jb,Zb]=Gb();function Nu(e,t){const n=t?e?Zb:Jb:e?Xb:Yb;return(r,i,a)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?r:Reflect.get($e(n,i)&&i in r?n:r,i,a)}const Qb={get:Nu(!1,!1)},e4={get:Nu(!1,!0)},t4={get:Nu(!0,!1)},n4={get:Nu(!0,!0)},Vv=new WeakMap,Bv=new WeakMap,zv=new WeakMap,$v=new WeakMap;function r4(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function i4(e){return e.__v_skip||!Object.isExtensible(e)?0:r4(_b(e))}function dr(e){return si(e)?e:ku(e,!1,Ub,Qb,Vv)}function Vi(e){return ku(e,!1,Kb,e4,Bv)}function yl(e){return ku(e,!0,qb,t4,zv)}function Uv(e){return ku(e,!0,Wb,n4,$v)}function ku(e,t,n,r,i){if(!Je(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const a=i.get(e);if(a)return a;const o=i4(e);if(o===0)return e;const l=new Proxy(e,o===2?r:n);return i.set(e,l),l}function Un(e){return si(e)?Un(e.__v_raw):!!(e&&e.__v_isReactive)}function si(e){return!!(e&&e.__v_isReadonly)}function Fa(e){return!!(e&&e.__v_isShallow)}function Cu(e){return Un(e)||si(e)}function Me(e){const t=e&&e.__v_raw;return t?Me(t):e}function cr(e){return zs(e,"__v_skip",!0),e}const Uo=e=>Je(e)?dr(e):e,kd=e=>Je(e)?yl(e):e;function Cd(e){Qr&&jn&&(e=Me(e),Rv(e.dep||(e.dep=Ad())))}function Pu(e,t){e=Me(e);const n=e.dep;n&&yf(n)}function Qe(e){return!!(e&&e.__v_isRef===!0)}function be(e){return qv(e,!1)}function Pd(e){return qv(e,!0)}function qv(e,t){return Qe(e)?e:new a4(e,t)}class a4{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Me(t),this._value=n?t:Uo(t)}get value(){return Cd(this),this._value}set value(t){const n=this.__v_isShallow||Fa(t)||si(t);t=n?t:Me(t),ai(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Uo(t),Pu(this))}}function Kv(e){Pu(e)}function Se(e){return Qe(e)?e.value:e}function Wv(e){return Ae(e)?e():Se(e)}const o4={get:(e,t,n)=>Se(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const i=e[t];return Qe(i)&&!Qe(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function Lu(e){return Un(e)?e:new Proxy(e,o4)}class l4{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>Cd(this),()=>Pu(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function Gv(e){return new l4(e)}function Ld(e){const t=me(e)?new Array(e.length):{};for(const n in e)t[n]=Yv(e,n);return t}class s4{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Vb(Me(this._object),this._key)}}class u4{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function bl(e,t,n){return Qe(e)?e:Ae(e)?new u4(e):Je(e)&&arguments.length>1?Yv(e,t,n):be(e)}function Yv(e,t,n){const r=e[t];return Qe(r)?r:new s4(e,t,n)}class c4{constructor(t,n,r,i){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new Ji(t,()=>{this._dirty||(this._dirty=!0,Pu(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=r}get value(){const t=Me(this);return Cd(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function f4(e,t,n=!1){let r,i;const a=Ae(e);return a?(r=e,i=Qt):(r=e.get,i=e.set),new c4(r,i,a||!i,n)}function Xv(e,...t){}function Jv(e,t){}function fr(e,t,n,r){let i;try{i=r?e(...r):e()}catch(a){gi(a,t,n)}return i}function cn(e,t,n,r){if(Ae(e)){const a=fr(e,t,n,r);return a&&Td(a)&&a.catch(o=>{gi(o,t,n)}),a}const i=[];for(let a=0;a<e.length;a++)i.push(cn(e[a],t,n,r));return i}function gi(e,t,n,r=!0){const i=t?t.vnode:null;if(t){let a=t.parent;const o=t.proxy,l=n;for(;a;){const u=a.ec;if(u){for(let f=0;f<u.length;f++)if(u[f](e,o,l)===!1)return}a=a.parent}const s=t.appContext.config.errorHandler;if(s){fr(s,null,10,[e,o,l]);return}}d4(e,n,i,r)}function d4(e,t,n,r=!0){console.error(e)}let qo=!1,bf=!1;const Ut=[];let or=0;const xa=[];let wr=null,Ri=0;const Zv=Promise.resolve();let Id=null;function Ht(e){const t=Id||Zv;return e?t.then(this?e.bind(this):e):t}function h4(e){let t=or+1,n=Ut.length;for(;t<n;){const r=t+n>>>1,i=Ut[r],a=Wo(i);a<e||a===e&&i.pre?t=r+1:n=r}return t}function Iu(e){(!Ut.length||!Ut.includes(e,qo&&e.allowRecurse?or+1:or))&&(e.id==null?Ut.push(e):Ut.splice(h4(e.id),0,e),Qv())}function Qv(){!qo&&!bf&&(bf=!0,Id=Zv.then(e0))}function p4(e){const t=Ut.indexOf(e);t>or&&Ut.splice(t,1)}function Ko(e){me(e)?xa.push(...e):(!wr||!wr.includes(e,e.allowRecurse?Ri+1:Ri))&&xa.push(e),Qv()}function M1(e,t=qo?or+1:0){for(;t<Ut.length;t++){const n=Ut[t];n&&n.pre&&(Ut.splice(t,1),t--,n())}}function Ks(e){if(xa.length){const t=[...new Set(xa)];if(xa.length=0,wr){wr.push(...t);return}for(wr=t,wr.sort((n,r)=>Wo(n)-Wo(r)),Ri=0;Ri<wr.length;Ri++)wr[Ri]();wr=null,Ri=0}}const Wo=e=>e.id==null?1/0:e.id,m4=(e,t)=>{const n=Wo(e)-Wo(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function e0(e){bf=!1,qo=!0,Ut.sort(m4);const t=Qt;try{for(or=0;or<Ut.length;or++){const n=Ut[or];n&&n.active!==!1&&fr(n,null,14)}}finally{or=0,Ut.length=0,Ks(),qo=!1,Id=null,(Ut.length||xa.length)&&e0()}}let Di,Ql=[];function Md(e,t){var n,r;Di=e,Di?(Di.enabled=!0,Ql.forEach(({event:i,args:a})=>Di.emit(i,...a)),Ql=[]):typeof window<"u"&&window.HTMLElement&&!((r=(n=window.navigator)==null?void 0:n.userAgent)!=null&&r.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(a=>{Md(a,t)}),setTimeout(()=>{Di||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Ql=[])},3e3)):Ql=[]}function v4(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Ye;let i=n;const a=t.startsWith("update:"),o=a&&t.slice(7);if(o&&o in r){const f=`${o==="modelValue"?"model":o}Modifiers`,{number:c,trim:d}=r[f]||Ye;d&&(i=n.map(h=>Le(h)?h.trim():h)),c&&(i=n.map($s))}let l,s=r[l=Wi(t)]||r[l=Wi(pt(t))];!s&&a&&(s=r[l=Wi(yn(t))]),s&&cn(s,e,6,i);const u=r[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,cn(u,e,6,i)}}function t0(e,t,n=!1){const r=t.emitsCache,i=r.get(e);if(i!==void 0)return i;const a=e.emits;let o={},l=!1;if(!Ae(e)){const s=u=>{const f=t0(u,t,!0);f&&(l=!0,Ue(o,f))};!n&&t.mixins.length&&t.mixins.forEach(s),e.extends&&s(e.extends),e.mixins&&e.mixins.forEach(s)}return!a&&!l?(Je(e)&&r.set(e,null),null):(me(a)?a.forEach(s=>o[s]=null):Ue(o,a),Je(e)&&r.set(e,o),o)}function Mu(e,t){return!e||!sa(t)?!1:(t=t.slice(2).replace(/Once$/,""),$e(e,t[0].toLowerCase()+t.slice(1))||$e(e,yn(t))||$e(e,t))}let It=null,xu=null;function Go(e){const t=It;return It=e,xu=e&&e.type.__scopeId||null,t}function Ru(e){xu=e}function Du(){xu=null}const xd=e=>fn;function fn(e,t=It,n){if(!t||e._n)return e;const r=(...i)=>{r._d&&Ys(-1);const a=Go(t);let o;try{o=e(...i)}finally{Go(a),r._d&&Ys(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function Cs(e){const{type:t,vnode:n,proxy:r,withProxy:i,props:a,propsOptions:[o],slots:l,attrs:s,emit:u,render:f,renderCache:c,data:d,setupState:h,ctx:y,inheritAttrs:g}=e;let _,m;const v=Go(e);try{if(n.shapeFlag&4){const p=i||r;_=gn(f.call(p,p,c,a,h,d,y)),m=s}else{const p=t;_=gn(p.length>1?p(a,{attrs:s,slots:l,emit:u}):p(a,null)),m=t.props?s:y4(s)}}catch(p){Mo.length=0,gi(p,e,1),_=xe(Mt)}let b=_;if(m&&g!==!1){const p=Object.keys(m),{shapeFlag:E}=b;p.length&&E&7&&(o&&p.some(wd)&&(m=b4(m,o)),b=Wn(b,m))}return n.dirs&&(b=Wn(b),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&(b.transition=n.transition),_=b,Go(v),_}function g4(e){let t;for(let n=0;n<e.length;n++){const r=e[n];if(Pr(r)){if(r.type!==Mt||r.children==="v-if"){if(t)return;t=r}}else return}return t}const y4=e=>{let t;for(const n in e)(n==="class"||n==="style"||sa(n))&&((t||(t={}))[n]=e[n]);return t},b4=(e,t)=>{const n={};for(const r in e)(!wd(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function _4(e,t,n){const{props:r,children:i,component:a}=e,{props:o,children:l,patchFlag:s}=t,u=a.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&s>=0){if(s&1024)return!0;if(s&16)return r?x1(r,o,u):!!o;if(s&8){const f=t.dynamicProps;for(let c=0;c<f.length;c++){const d=f[c];if(o[d]!==r[d]&&!Mu(u,d))return!0}}}else return(i||l)&&(!l||!l.$stable)?!0:r===o?!1:r?o?x1(r,o,u):!0:!!o;return!1}function x1(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let i=0;i<r.length;i++){const a=r[i];if(t[a]!==e[a]&&!Mu(n,a))return!0}return!1}function Rd({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const Dd="components",E4="directives";function Fd(e,t){return Hd(Dd,e,!0,t)||e}const n0=Symbol.for("v-ndc");function Ar(e){return Le(e)?Hd(Dd,e,!1)||e:e||n0}function Fu(e){return Hd(E4,e)}function Hd(e,t,n=!0,r=!1){const i=It||bt;if(i){const a=i.type;if(e===Dd){const l=kf(a,!1);if(l&&(l===t||l===pt(t)||l===vi(pt(t))))return a}const o=R1(i[e]||a[e],t)||R1(i.appContext[e],t);return!o&&r?a:o}}function R1(e,t){return e&&(e[t]||e[pt(t)]||e[vi(pt(t))])}const r0=e=>e.__isSuspense,w4={name:"Suspense",__isSuspense:!0,process(e,t,n,r,i,a,o,l,s,u){e==null?O4(t,n,r,i,a,o,l,s,u):T4(e,t,n,r,i,o,l,s,u)},hydrate:S4,create:Vd,normalize:A4},jd=w4;function Yo(e,t){const n=e.props&&e.props[t];Ae(n)&&n()}function O4(e,t,n,r,i,a,o,l,s){const{p:u,o:{createElement:f}}=s,c=f("div"),d=e.suspense=Vd(e,i,r,t,c,n,a,o,l,s);u(null,d.pendingBranch=e.ssContent,c,null,r,d,a,o),d.deps>0?(Yo(e,"onPending"),Yo(e,"onFallback"),u(null,e.ssFallback,t,n,r,null,a,o),Ra(d,e.ssFallback)):d.resolve(!1,!0)}function T4(e,t,n,r,i,a,o,l,{p:s,um:u,o:{createElement:f}}){const c=t.suspense=e.suspense;c.vnode=t,t.el=e.el;const d=t.ssContent,h=t.ssFallback,{activeBranch:y,pendingBranch:g,isInFallback:_,isHydrating:m}=c;if(g)c.pendingBranch=d,Vn(d,g)?(s(g,d,c.hiddenContainer,null,i,c,a,o,l),c.deps<=0?c.resolve():_&&(s(y,h,n,r,i,null,a,o,l),Ra(c,h))):(c.pendingId++,m?(c.isHydrating=!1,c.activeBranch=g):u(g,i,c),c.deps=0,c.effects.length=0,c.hiddenContainer=f("div"),_?(s(null,d,c.hiddenContainer,null,i,c,a,o,l),c.deps<=0?c.resolve():(s(y,h,n,r,i,null,a,o,l),Ra(c,h))):y&&Vn(d,y)?(s(y,d,n,r,i,c,a,o,l),c.resolve(!0)):(s(null,d,c.hiddenContainer,null,i,c,a,o,l),c.deps<=0&&c.resolve()));else if(y&&Vn(d,y))s(y,d,n,r,i,c,a,o,l),Ra(c,d);else if(Yo(t,"onPending"),c.pendingBranch=d,c.pendingId++,s(null,d,c.hiddenContainer,null,i,c,a,o,l),c.deps<=0)c.resolve();else{const{timeout:v,pendingId:b}=c;v>0?setTimeout(()=>{c.pendingId===b&&c.fallback(h)},v):v===0&&c.fallback(h)}}function Vd(e,t,n,r,i,a,o,l,s,u,f=!1){const{p:c,m:d,um:h,n:y,o:{parentNode:g,remove:_}}=u;let m;const v=N4(e);v&&t?.pendingBranch&&(m=t.pendingId,t.deps++);const b=e.props?Us(e.props.timeout):void 0,p={vnode:e,parent:t,parentComponent:n,isSVG:o,container:r,hiddenContainer:i,anchor:a,deps:0,pendingId:0,timeout:typeof b=="number"?b:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:f,isUnmounted:!1,effects:[],resolve(E=!1,k=!1){const{vnode:T,activeBranch:S,pendingBranch:P,pendingId:N,effects:O,parentComponent:w,container:C}=p;let I=!1;if(p.isHydrating)p.isHydrating=!1;else if(!E){I=S&&P.transition&&P.transition.mode==="out-in",I&&(S.transition.afterLeave=()=>{N===p.pendingId&&(d(P,C,U,0),Ko(O))});let{anchor:U}=p;S&&(U=y(S),h(S,w,p,!0)),I||d(P,C,U,0)}Ra(p,P),p.pendingBranch=null,p.isInFallback=!1;let D=p.parent,V=!1;for(;D;){if(D.pendingBranch){D.effects.push(...O),V=!0;break}D=D.parent}!V&&!I&&Ko(O),p.effects=[],v&&t&&t.pendingBranch&&m===t.pendingId&&(t.deps--,t.deps===0&&!k&&t.resolve()),Yo(T,"onResolve")},fallback(E){if(!p.pendingBranch)return;const{vnode:k,activeBranch:T,parentComponent:S,container:P,isSVG:N}=p;Yo(k,"onFallback");const O=y(T),w=()=>{p.isInFallback&&(c(null,E,P,O,S,null,N,l,s),Ra(p,E))},C=E.transition&&E.transition.mode==="out-in";C&&(T.transition.afterLeave=w),p.isInFallback=!0,h(T,S,null,!0),C||w()},move(E,k,T){p.activeBranch&&d(p.activeBranch,E,k,T),p.container=E},next(){return p.activeBranch&&y(p.activeBranch)},registerDep(E,k){const T=!!p.pendingBranch;T&&p.deps++;const S=E.vnode.el;E.asyncDep.catch(P=>{gi(P,E,0)}).then(P=>{if(E.isUnmounted||p.isUnmounted||p.pendingId!==E.suspenseId)return;E.asyncResolved=!0;const{vnode:N}=E;Af(E,P,!1),S&&(N.el=S);const O=!S&&E.subTree.el;k(E,N,g(S||E.subTree.el),S?null:y(E.subTree),p,o,s),O&&_(O),Rd(E,N.el),T&&--p.deps===0&&p.resolve()})},unmount(E,k){p.isUnmounted=!0,p.activeBranch&&h(p.activeBranch,n,E,k),p.pendingBranch&&h(p.pendingBranch,n,E,k)}};return p}function S4(e,t,n,r,i,a,o,l,s){const u=t.suspense=Vd(t,r,n,e.parentNode,document.createElement("div"),null,i,a,o,l,!0),f=s(e,u.pendingBranch=t.ssContent,n,u,a,o);return u.deps===0&&u.resolve(!1,!0),f}function A4(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=D1(r?n.default:n),e.ssFallback=r?D1(n.fallback):xe(Mt)}function D1(e){let t;if(Ae(e)){const n=ea&&e._c;n&&(e._d=!1,_e()),e=e(),n&&(e._d=!0,t=sn,R0())}return me(e)&&(e=g4(e)),e=gn(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function i0(e,t){t&&t.pendingBranch?me(e)?t.effects.push(...e):t.effects.push(e):Ko(e)}function Ra(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e,i=n.el=t.el;r&&r.subTree===n&&(r.vnode.el=i,Rd(r,i))}function N4(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}function a0(e,t){return _l(e,null,t)}function Bd(e,t){return _l(e,null,{flush:"post"})}function o0(e,t){return _l(e,null,{flush:"sync"})}const es={};function Ke(e,t,n){return _l(e,t,n)}function _l(e,t,{immediate:n,deep:r,flush:i,onTrack:a,onTrigger:o}=Ye){var l;const s=eo()===((l=bt)==null?void 0:l.scope)?bt:null;let u,f=!1,c=!1;if(Qe(e)?(u=()=>e.value,f=Fa(e)):Un(e)?(u=()=>e,r=!0):me(e)?(c=!0,f=e.some(p=>Un(p)||Fa(p)),u=()=>e.map(p=>{if(Qe(p))return p.value;if(Un(p))return Bi(p);if(Ae(p))return fr(p,s,2)})):Ae(e)?t?u=()=>fr(e,s,2):u=()=>{if(!(s&&s.isUnmounted))return d&&d(),cn(e,s,3,[h])}:u=Qt,t&&r){const p=u;u=()=>Bi(p())}let d,h=p=>{d=v.onStop=()=>{fr(p,s,4)}},y;if(Ha)if(h=Qt,t?n&&cn(t,s,3,[u(),c?[]:void 0,h]):u(),i==="sync"){const p=ch();y=p.__watcherHandles||(p.__watcherHandles=[])}else return Qt;let g=c?new Array(e.length).fill(es):es;const _=()=>{if(v.active)if(t){const p=v.run();(r||f||(c?p.some((E,k)=>ai(E,g[k])):ai(p,g)))&&(d&&d(),cn(t,s,3,[p,g===es?void 0:c&&g[0]===es?[]:g,h]),g=p)}else v.run()};_.allowRecurse=!!t;let m;i==="sync"?m=_:i==="post"?m=()=>Ft(_,s&&s.suspense):(_.pre=!0,s&&(_.id=s.uid),m=()=>Iu(_));const v=new Ji(u,m);t?n?_():g=v.run():i==="post"?Ft(v.run.bind(v),s&&s.suspense):v.run();const b=()=>{v.stop(),s&&s.scope&&Od(s.scope.effects,v)};return y&&y.push(b),b}function k4(e,t,n){const r=this.proxy,i=Le(e)?e.includes(".")?l0(r,e):()=>r[e]:e.bind(r,r);let a;Ae(t)?a=t:(a=t.handler,n=t);const o=bt;ci(this);const l=_l(i,a.bind(r),n);return o?ci(o):ti(),l}function l0(e,t){const n=t.split(".");return()=>{let r=e;for(let i=0;i<n.length&&r;i++)r=r[n[i]];return r}}function Bi(e,t){if(!Je(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),Qe(e))Bi(e.value,t);else if(me(e))for(let n=0;n<e.length;n++)Bi(e[n],t);else if(ua(e)||Ia(e))e.forEach(n=>{Bi(n,t)});else if(Po(e))for(const n in e)Bi(e[n],t);return e}function qn(e,t){const n=It;if(n===null)return e;const r=qu(n)||n.proxy,i=e.dirs||(e.dirs=[]);for(let a=0;a<t.length;a++){let[o,l,s,u=Ye]=t[a];o&&(Ae(o)&&(o={mounted:o,updated:o}),o.deep&&Bi(l),i.push({dir:o,instance:r,value:l,oldValue:void 0,arg:s,modifiers:u}))}return e}function rr(e,t,n,r){const i=e.dirs,a=t&&t.dirs;for(let o=0;o<i.length;o++){const l=i[o];a&&(l.oldValue=a[o].value);let s=l.dir[r];s&&(to(),cn(s,n,8,[e.el,l,e,t]),no())}}const Yr=Symbol("_leaveCb"),ts=Symbol("_enterCb");function Hu(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return mn(()=>{e.isMounted=!0}),Dr(()=>{e.isUnmounting=!0}),e}const An=[Function,Array],ju={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:An,onEnter:An,onAfterEnter:An,onEnterCancelled:An,onBeforeLeave:An,onLeave:An,onAfterLeave:An,onLeaveCancelled:An,onBeforeAppear:An,onAppear:An,onAfterAppear:An,onAppearCancelled:An},C4={name:"BaseTransition",props:ju,setup(e,{slots:t}){const n=jt(),r=Hu();let i;return()=>{const a=t.default&&El(t.default(),!0);if(!a||!a.length)return;let o=a[0];if(a.length>1){for(const g of a)if(g.type!==Mt){o=g;break}}const l=Me(e),{mode:s}=l;if(r.isLeaving)return zc(o);const u=F1(o);if(!u)return zc(o);const f=Zi(u,l,r,n);ui(u,f);const c=n.subTree,d=c&&F1(c);let h=!1;const{getTransitionKey:y}=u.type;if(y){const g=y();i===void 0?i=g:g!==i&&(i=g,h=!0)}if(d&&d.type!==Mt&&(!Vn(u,d)||h)){const g=Zi(d,l,r,n);if(ui(d,g),s==="out-in")return r.isLeaving=!0,g.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&n.update()},zc(o);s==="in-out"&&u.type!==Mt&&(g.delayLeave=(_,m,v)=>{const b=s0(r,d);b[String(d.key)]=d,_[Yr]=()=>{m(),_[Yr]=void 0,delete f.delayedLeave},f.delayedLeave=v})}return o}}},zd=C4;function s0(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Zi(e,t,n,r){const{appear:i,mode:a,persisted:o=!1,onBeforeEnter:l,onEnter:s,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:c,onLeave:d,onAfterLeave:h,onLeaveCancelled:y,onBeforeAppear:g,onAppear:_,onAfterAppear:m,onAppearCancelled:v}=t,b=String(e.key),p=s0(n,e),E=(S,P)=>{S&&cn(S,r,9,P)},k=(S,P)=>{const N=P[1];E(S,P),me(S)?S.every(O=>O.length<=1)&&N():S.length<=1&&N()},T={mode:a,persisted:o,beforeEnter(S){let P=l;if(!n.isMounted)if(i)P=g||l;else return;S[Yr]&&S[Yr](!0);const N=p[b];N&&Vn(e,N)&&N.el[Yr]&&N.el[Yr](),E(P,[S])},enter(S){let P=s,N=u,O=f;if(!n.isMounted)if(i)P=_||s,N=m||u,O=v||f;else return;let w=!1;const C=S[ts]=I=>{w||(w=!0,I?E(O,[S]):E(N,[S]),T.delayedLeave&&T.delayedLeave(),S[ts]=void 0)};P?k(P,[S,C]):C()},leave(S,P){const N=String(e.key);if(S[ts]&&S[ts](!0),n.isUnmounting)return P();E(c,[S]);let O=!1;const w=S[Yr]=C=>{O||(O=!0,P(),C?E(y,[S]):E(h,[S]),S[Yr]=void 0,p[N]===e&&delete p[N])};p[N]=e,d?k(d,[S,w]):w()},clone(S){return Zi(S,t,n,r)}};return T}function zc(e){if(wl(e))return e=Wn(e),e.children=null,e}function F1(e){return wl(e)?e.children?e.children[0]:void 0:e}function ui(e,t){e.shapeFlag&6&&e.component?ui(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function El(e,t=!1,n){let r=[],i=0;for(let a=0;a<e.length;a++){let o=e[a];const l=n==null?o.key:String(n)+String(o.key!=null?o.key:a);o.type===tt?(o.patchFlag&128&&i++,r=r.concat(El(o.children,t,l))):(t||o.type!==Mt)&&r.push(l!=null?Wn(o,{key:l}):o)}if(i>1)for(let a=0;a<r.length;a++)r[a].patchFlag=-2;return r}/*! #__NO_SIDE_EFFECTS__ */function ut(e,t){return Ae(e)?(()=>Ue({name:e.name},t,{setup:e}))():e}const Yi=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function u0(e){Ae(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:i=200,timeout:a,suspensible:o=!0,onError:l}=e;let s=null,u,f=0;const c=()=>(f++,s=null,d()),d=()=>{let h;return s||(h=s=t().catch(y=>{if(y=y instanceof Error?y:new Error(String(y)),l)return new Promise((g,_)=>{l(y,()=>g(c()),()=>_(y),f+1)});throw y}).then(y=>h!==s&&s?s:(y&&(y.__esModule||y[Symbol.toStringTag]==="Module")&&(y=y.default),u=y,y)))};return ut({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return u},setup(){const h=bt;if(u)return()=>$c(u,h);const y=v=>{s=null,gi(v,h,13,!r)};if(o&&h.suspense||Ha)return d().then(v=>()=>$c(v,h)).catch(v=>(y(v),()=>r?xe(r,{error:v}):null));const g=be(!1),_=be(),m=be(!!i);return i&&setTimeout(()=>{m.value=!1},i),a!=null&&setTimeout(()=>{if(!g.value&&!_.value){const v=new Error(`Async component timed out after ${a}ms.`);y(v),_.value=v}},a),d().then(()=>{g.value=!0,h.parent&&wl(h.parent.vnode)&&Iu(h.parent.update)}).catch(v=>{y(v),_.value=v}),()=>{if(g.value&&u)return $c(u,h);if(_.value&&r)return xe(r,{error:_.value});if(n&&!m.value)return xe(n)}}})}function $c(e,t){const{ref:n,props:r,children:i,ce:a}=t.vnode,o=xe(e,r,i);return o.ref=n,o.ce=a,delete t.vnode.ce,o}const wl=e=>e.type.__isKeepAlive,P4={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=jt(),r=n.ctx;if(!r.renderer)return()=>{const v=t.default&&t.default();return v&&v.length===1?v[0]:v};const i=new Map,a=new Set;let o=null;const l=n.suspense,{renderer:{p:s,m:u,um:f,o:{createElement:c}}}=r,d=c("div");r.activate=(v,b,p,E,k)=>{const T=v.component;u(v,b,p,0,l),s(T.vnode,v,b,p,T,l,E,v.slotScopeIds,k),Ft(()=>{T.isDeactivated=!1,T.a&&Ma(T.a);const S=v.props&&v.props.onVnodeMounted;S&&on(S,T.parent,v)},l)},r.deactivate=v=>{const b=v.component;u(v,d,null,1,l),Ft(()=>{b.da&&Ma(b.da);const p=v.props&&v.props.onVnodeUnmounted;p&&on(p,b.parent,v),b.isDeactivated=!0},l)};function h(v){Uc(v),f(v,n,l,!0)}function y(v){i.forEach((b,p)=>{const E=kf(b.type);E&&(!v||!v(E))&&g(p)})}function g(v){const b=i.get(v);!o||!Vn(b,o)?h(b):o&&Uc(o),i.delete(v),a.delete(v)}Ke(()=>[e.include,e.exclude],([v,b])=>{v&&y(p=>No(v,p)),b&&y(p=>!No(b,p))},{flush:"post",deep:!0});let _=null;const m=()=>{_!=null&&i.set(_,qc(n.subTree))};return mn(m),Ol(m),Dr(()=>{i.forEach(v=>{const{subTree:b,suspense:p}=n,E=qc(b);if(v.type===E.type&&v.key===E.key){Uc(E);const k=E.component.da;k&&Ft(k,p);return}h(v)})}),()=>{if(_=null,!t.default)return null;const v=t.default(),b=v[0];if(v.length>1)return o=null,v;if(!Pr(b)||!(b.shapeFlag&4)&&!(b.shapeFlag&128))return o=null,b;let p=qc(b);const E=p.type,k=kf(Yi(p)?p.type.__asyncResolved||{}:E),{include:T,exclude:S,max:P}=e;if(T&&(!k||!No(T,k))||S&&k&&No(S,k))return o=p,b;const N=p.key==null?E:p.key,O=i.get(N);return p.el&&(p=Wn(p),b.shapeFlag&128&&(b.ssContent=p)),_=N,O?(p.el=O.el,p.component=O.component,p.transition&&ui(p,p.transition),p.shapeFlag|=512,a.delete(N),a.add(N)):(a.add(N),P&&a.size>parseInt(P,10)&&g(a.values().next().value)),p.shapeFlag|=256,o=p,r0(b.type)?b:p}}},c0=P4;function No(e,t){return me(e)?e.some(n=>No(n,t)):Le(e)?e.split(",").includes(t):bb(e)?e.test(t):!1}function $d(e,t){f0(e,"a",t)}function Ud(e,t){f0(e,"da",t)}function f0(e,t,n=bt){const r=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(Vu(t,r,n),n){let i=n.parent;for(;i&&i.parent;)wl(i.parent.vnode)&&L4(r,t,n,i),i=i.parent}}function L4(e,t,n,r){const i=Vu(t,e,r,!0);yi(()=>{Od(r[t],i)},n)}function Uc(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function qc(e){return e.shapeFlag&128?e.ssContent:e}function Vu(e,t,n=bt,r=!1){if(n){const i=n[e]||(n[e]=[]),a=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;to(),ci(n);const l=cn(t,n,e,o);return ti(),no(),l});return r?i.unshift(a):i.push(a),a}}const Rr=e=>(t,n=bt)=>(!Ha||e==="sp")&&Vu(e,(...r)=>t(...r),n),qd=Rr("bm"),mn=Rr("m"),Bu=Rr("bu"),Ol=Rr("u"),Dr=Rr("bum"),yi=Rr("um"),Kd=Rr("sp"),Wd=Rr("rtg"),Gd=Rr("rtc");function Yd(e,t=bt){Vu("ec",e,t)}function Qi(e,t,n,r){let i;const a=n&&n[r];if(me(e)||Le(e)){i=new Array(e.length);for(let o=0,l=e.length;o<l;o++)i[o]=t(e[o],o,void 0,a&&a[o])}else if(typeof e=="number"){i=new Array(e);for(let o=0;o<e;o++)i[o]=t(o+1,o,void 0,a&&a[o])}else if(Je(e))if(e[Symbol.iterator])i=Array.from(e,(o,l)=>t(o,l,void 0,a&&a[l]));else{const o=Object.keys(e);i=new Array(o.length);for(let l=0,s=o.length;l<s;l++){const u=o[l];i[l]=t(e[u],u,l,a&&a[l])}}else i=[];return n&&(n[r]=i),i}function zu(e,t){for(let n=0;n<t.length;n++){const r=t[n];if(me(r))for(let i=0;i<r.length;i++)e[r[i].name]=r[i].fn;else r&&(e[r.name]=r.key?(...i)=>{const a=r.fn(...i);return a&&(a.key=r.key),a}:r.fn)}return e}function ht(e,t,n={},r,i){if(It.isCE||It.parent&&Yi(It.parent)&&It.parent.isCE)return t!=="default"&&(n.name=t),xe("slot",n,r&&r());let a=e[t];a&&a._c&&(a._d=!1),_e();const o=a&&d0(a(n)),l=mt(tt,{key:n.key||o&&o.key||`_${t}`},o||(r?r():[]),o&&e._===1?64:-2);return!i&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),a&&a._c&&(a._d=!0),l}function d0(e){return e.some(t=>Pr(t)?!(t.type===Mt||t.type===tt&&!d0(t.children)):!0)?e:null}function Xo(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:Wi(r)]=e[r];return n}const _f=e=>e?B0(e)?qu(e)||e.proxy:_f(e.parent):null,Lo=Ue(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>_f(e.parent),$root:e=>_f(e.root),$emit:e=>e.emit,$options:e=>Qd(e),$forceUpdate:e=>e.f||(e.f=()=>Iu(e.update)),$nextTick:e=>e.n||(e.n=Ht.bind(e.proxy)),$watch:e=>k4.bind(e)}),Kc=(e,t)=>e!==Ye&&!e.__isScriptSetup&&$e(e,t),Ef={get({_:e},t){const{ctx:n,setupState:r,data:i,props:a,accessCache:o,type:l,appContext:s}=e;let u;if(t[0]!=="$"){const h=o[t];if(h!==void 0)switch(h){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return a[t]}else{if(Kc(r,t))return o[t]=1,r[t];if(i!==Ye&&$e(i,t))return o[t]=2,i[t];if((u=e.propsOptions[0])&&$e(u,t))return o[t]=3,a[t];if(n!==Ye&&$e(n,t))return o[t]=4,n[t];wf&&(o[t]=0)}}const f=Lo[t];let c,d;if(f)return t==="$attrs"&&hn(e,"get",t),f(e);if((c=l.__cssModules)&&(c=c[t]))return c;if(n!==Ye&&$e(n,t))return o[t]=4,n[t];if(d=s.config.globalProperties,$e(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:i,ctx:a}=e;return Kc(i,t)?(i[t]=n,!0):r!==Ye&&$e(r,t)?(r[t]=n,!0):$e(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(a[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,propsOptions:a}},o){let l;return!!n[o]||e!==Ye&&$e(e,o)||Kc(t,o)||(l=a[0])&&$e(l,o)||$e(r,o)||$e(Lo,o)||$e(i.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:$e(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},I4=Ue({},Ef,{get(e,t){if(t!==Symbol.unscopables)return Ef.get(e,t,e)},has(e,t){return t[0]!=="_"&&!Sb(t)}});function h0(){return null}function p0(){return null}function m0(e){}function v0(e){}function g0(){return null}function y0(){}function b0(e,t){return null}function Xd(){return E0().slots}function Jd(){return E0().attrs}function _0(e,t,n){const r=jt();if(n&&n.local){const i=be(e[t]);return Ke(()=>e[t],a=>i.value=a),Ke(i,a=>{a!==e[t]&&r.emit(`update:${t}`,a)}),i}else return{__v_isRef:!0,get value(){return e[t]},set value(i){r.emit(`update:${t}`,i)}}}function E0(){const e=jt();return e.setupContext||(e.setupContext=q0(e))}function Jo(e){return me(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function w0(e,t){const n=Jo(e);for(const r in t){if(r.startsWith("__skip"))continue;let i=n[r];i?me(i)||Ae(i)?i=n[r]={type:i,default:t[r]}:i.default=t[r]:i===null&&(i=n[r]={default:t[r]}),i&&t[`__skip_${r}`]&&(i.skipFactory=!0)}return n}function O0(e,t){return!e||!t?e||t:me(e)&&me(t)?e.concat(t):Ue({},Jo(e),Jo(t))}function T0(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function Zd(e){const t=jt();let n=e();return ti(),Td(n)&&(n=n.catch(r=>{throw ci(t),r})),[n,()=>ci(t)]}let wf=!0;function M4(e){const t=Qd(e),n=e.proxy,r=e.ctx;wf=!1,t.beforeCreate&&H1(t.beforeCreate,e,"bc");const{data:i,computed:a,methods:o,watch:l,provide:s,inject:u,created:f,beforeMount:c,mounted:d,beforeUpdate:h,updated:y,activated:g,deactivated:_,beforeDestroy:m,beforeUnmount:v,destroyed:b,unmounted:p,render:E,renderTracked:k,renderTriggered:T,errorCaptured:S,serverPrefetch:P,expose:N,inheritAttrs:O,components:w,directives:C,filters:I}=t;if(u&&x4(u,r,null),o)for(const U in o){const te=o[U];Ae(te)&&(r[U]=te.bind(n))}if(i){const U=i.call(n,n);Je(U)&&(e.data=dr(U))}if(wf=!0,a)for(const U in a){const te=a[U],K=Ae(te)?te.bind(n,n):Ae(te.get)?te.get.bind(n,n):Qt,H=!Ae(te)&&Ae(te.set)?te.set.bind(n):Qt,M=fe({get:K,set:H});Object.defineProperty(r,U,{enumerable:!0,configurable:!0,get:()=>M.value,set:j=>M.value=j})}if(l)for(const U in l)S0(l[U],r,n,U);if(s){const U=Ae(s)?s.call(n):s;Reflect.ownKeys(U).forEach(te=>{eh(te,U[te])})}f&&H1(f,e,"c");function V(U,te){me(te)?te.forEach(K=>U(K.bind(n))):te&&U(te.bind(n))}if(V(qd,c),V(mn,d),V(Bu,h),V(Ol,y),V($d,g),V(Ud,_),V(Yd,S),V(Gd,k),V(Wd,T),V(Dr,v),V(yi,p),V(Kd,P),me(N))if(N.length){const U=e.exposed||(e.exposed={});N.forEach(te=>{Object.defineProperty(U,te,{get:()=>n[te],set:K=>n[te]=K})})}else e.exposed||(e.exposed={});E&&e.render===Qt&&(e.render=E),O!=null&&(e.inheritAttrs=O),w&&(e.components=w),C&&(e.directives=C)}function x4(e,t,n=Qt){me(e)&&(e=Of(e));for(const r in e){const i=e[r];let a;Je(i)?"default"in i?a=In(i.from||r,i.default,!0):a=In(i.from||r):a=In(i),Qe(a)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>a.value,set:o=>a.value=o}):t[r]=a}}function H1(e,t,n){cn(me(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function S0(e,t,n,r){const i=r.includes(".")?l0(n,r):()=>n[r];if(Le(e)){const a=t[e];Ae(a)&&Ke(i,a)}else if(Ae(e))Ke(i,e.bind(n));else if(Je(e))if(me(e))e.forEach(a=>S0(a,t,n,r));else{const a=Ae(e.handler)?e.handler.bind(n):t[e.handler];Ae(a)&&Ke(i,a,e)}}function Qd(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:a,config:{optionMergeStrategies:o}}=e.appContext,l=a.get(t);let s;return l?s=l:!i.length&&!n&&!r?s=t:(s={},i.length&&i.forEach(u=>Ws(s,u,o,!0)),Ws(s,t,o)),Je(t)&&a.set(t,s),s}function Ws(e,t,n,r=!1){const{mixins:i,extends:a}=t;a&&Ws(e,a,n,!0),i&&i.forEach(o=>Ws(e,o,n,!0));for(const o in t)if(!(r&&o==="expose")){const l=R4[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const R4={data:j1,props:V1,emits:V1,methods:ko,computed:ko,beforeCreate:Xt,created:Xt,beforeMount:Xt,mounted:Xt,beforeUpdate:Xt,updated:Xt,beforeDestroy:Xt,beforeUnmount:Xt,destroyed:Xt,unmounted:Xt,activated:Xt,deactivated:Xt,errorCaptured:Xt,serverPrefetch:Xt,components:ko,directives:ko,watch:F4,provide:j1,inject:D4};function j1(e,t){return t?e?function(){return Ue(Ae(e)?e.call(this,this):e,Ae(t)?t.call(this,this):t)}:t:e}function D4(e,t){return ko(Of(e),Of(t))}function Of(e){if(me(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Xt(e,t){return e?[...new Set([].concat(e,t))]:t}function ko(e,t){return e?Ue(Object.create(null),e,t):t}function V1(e,t){return e?me(e)&&me(t)?[...new Set([...e,...t])]:Ue(Object.create(null),Jo(e),Jo(t??{})):t}function F4(e,t){if(!e)return t;if(!t)return e;const n=Ue(Object.create(null),e);for(const r in t)n[r]=Xt(e[r],t[r]);return n}function A0(){return{app:null,config:{isNativeTag:ks,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let H4=0;function j4(e,t){return function(r,i=null){Ae(r)||(r=Ue({},r)),i!=null&&!Je(i)&&(i=null);const a=A0(),o=new WeakSet;let l=!1;const s=a.app={_uid:H4++,_component:r,_props:i,_container:null,_context:a,_instance:null,version:Ku,get config(){return a.config},set config(u){},use(u,...f){return o.has(u)||(u&&Ae(u.install)?(o.add(u),u.install(s,...f)):Ae(u)&&(o.add(u),u(s,...f))),s},mixin(u){return a.mixins.includes(u)||a.mixins.push(u),s},component(u,f){return f?(a.components[u]=f,s):a.components[u]},directive(u,f){return f?(a.directives[u]=f,s):a.directives[u]},mount(u,f,c){if(!l){const d=xe(r,i);return d.appContext=a,f&&t?t(d,u):e(d,u,c),l=!0,s._container=u,u.__vue_app__=s,qu(d.component)||d.component.proxy}},unmount(){l&&(e(null,s._container),delete s._container.__vue_app__)},provide(u,f){return a.provides[u]=f,s},runWithContext(u){Zo=s;try{return u()}finally{Zo=null}}};return s}}let Zo=null;function eh(e,t){if(bt){let n=bt.provides;const r=bt.parent&&bt.parent.provides;r===n&&(n=bt.provides=Object.create(r)),n[e]=t}}function In(e,t,n=!1){const r=bt||It;if(r||Zo){const i=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:Zo._context.provides;if(i&&e in i)return i[e];if(arguments.length>1)return n&&Ae(t)?t.call(r&&r.proxy):t}}function th(){return!!(bt||It||Zo)}function V4(e,t,n,r=!1){const i={},a={};zs(a,Uu,1),e.propsDefaults=Object.create(null),N0(e,t,i,a);for(const o in e.propsOptions[0])o in i||(i[o]=void 0);n?e.props=r?i:Vi(i):e.type.props?e.props=i:e.props=a,e.attrs=a}function B4(e,t,n,r){const{props:i,attrs:a,vnode:{patchFlag:o}}=e,l=Me(i),[s]=e.propsOptions;let u=!1;if((r||o>0)&&!(o&16)){if(o&8){const f=e.vnode.dynamicProps;for(let c=0;c<f.length;c++){let d=f[c];if(Mu(e.emitsOptions,d))continue;const h=t[d];if(s)if($e(a,d))h!==a[d]&&(a[d]=h,u=!0);else{const y=pt(d);i[y]=Tf(s,l,y,h,e,!1)}else h!==a[d]&&(a[d]=h,u=!0)}}}else{N0(e,t,i,a)&&(u=!0);let f;for(const c in l)(!t||!$e(t,c)&&((f=yn(c))===c||!$e(t,f)))&&(s?n&&(n[c]!==void 0||n[f]!==void 0)&&(i[c]=Tf(s,l,c,void 0,e,!0)):delete i[c]);if(a!==l)for(const c in a)(!t||!$e(t,c))&&(delete a[c],u=!0)}u&&Sr(e,"set","$attrs")}function N0(e,t,n,r){const[i,a]=e.propsOptions;let o=!1,l;if(t)for(let s in t){if(Ki(s))continue;const u=t[s];let f;i&&$e(i,f=pt(s))?!a||!a.includes(f)?n[f]=u:(l||(l={}))[f]=u:Mu(e.emitsOptions,s)||(!(s in r)||u!==r[s])&&(r[s]=u,o=!0)}if(a){const s=Me(n),u=l||Ye;for(let f=0;f<a.length;f++){const c=a[f];n[c]=Tf(i,s,c,u[c],e,!$e(u,c))}}return o}function Tf(e,t,n,r,i,a){const o=e[n];if(o!=null){const l=$e(o,"default");if(l&&r===void 0){const s=o.default;if(o.type!==Function&&!o.skipFactory&&Ae(s)){const{propsDefaults:u}=i;n in u?r=u[n]:(ci(i),r=u[n]=s.call(null,t),ti())}else r=s}o[0]&&(a&&!l?r=!1:o[1]&&(r===""||r===yn(n))&&(r=!0))}return r}function k0(e,t,n=!1){const r=t.propsCache,i=r.get(e);if(i)return i;const a=e.props,o={},l=[];let s=!1;if(!Ae(e)){const f=c=>{s=!0;const[d,h]=k0(c,t,!0);Ue(o,d),h&&l.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!a&&!s)return Je(e)&&r.set(e,La),La;if(me(a))for(let f=0;f<a.length;f++){const c=pt(a[f]);B1(c)&&(o[c]=Ye)}else if(a)for(const f in a){const c=pt(f);if(B1(c)){const d=a[f],h=o[c]=me(d)||Ae(d)?{type:d}:Ue({},d);if(h){const y=U1(Boolean,h.type),g=U1(String,h.type);h[0]=y>-1,h[1]=g<0||y<g,(y>-1||$e(h,"default"))&&l.push(c)}}}const u=[o,l];return Je(e)&&r.set(e,u),u}function B1(e){return e[0]!=="$"}function z1(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function $1(e,t){return z1(e)===z1(t)}function U1(e,t){return me(t)?t.findIndex(n=>$1(n,e)):Ae(t)&&$1(t,e)?0:-1}const C0=e=>e[0]==="_"||e==="$stable",nh=e=>me(e)?e.map(gn):[gn(e)],z4=(e,t,n)=>{if(t._n)return t;const r=fn((...i)=>nh(t(...i)),n);return r._c=!1,r},P0=(e,t,n)=>{const r=e._ctx;for(const i in e){if(C0(i))continue;const a=e[i];if(Ae(a))t[i]=z4(i,a,r);else if(a!=null){const o=nh(a);t[i]=()=>o}}},L0=(e,t)=>{const n=nh(t);e.slots.default=()=>n},$4=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=Me(t),zs(t,"_",n)):P0(t,e.slots={})}else e.slots={},t&&L0(e,t);zs(e.slots,Uu,1)},U4=(e,t,n)=>{const{vnode:r,slots:i}=e;let a=!0,o=Ye;if(r.shapeFlag&32){const l=t._;l?n&&l===1?a=!1:(Ue(i,t),!n&&l===1&&delete i._):(a=!t.$stable,P0(t,i)),o=t}else t&&(L0(e,t),o={default:1});if(a)for(const l in i)!C0(l)&&o[l]==null&&delete i[l]};function Gs(e,t,n,r,i=!1){if(me(e)){e.forEach((d,h)=>Gs(d,t&&(me(t)?t[h]:t),n,r,i));return}if(Yi(r)&&!i)return;const a=r.shapeFlag&4?qu(r.component)||r.component.proxy:r.el,o=i?null:a,{i:l,r:s}=e,u=t&&t.r,f=l.refs===Ye?l.refs={}:l.refs,c=l.setupState;if(u!=null&&u!==s&&(Le(u)?(f[u]=null,$e(c,u)&&(c[u]=null)):Qe(u)&&(u.value=null)),Ae(s))fr(s,l,12,[o,f]);else{const d=Le(s),h=Qe(s);if(d||h){const y=()=>{if(e.f){const g=d?$e(c,s)?c[s]:f[s]:s.value;i?me(g)&&Od(g,a):me(g)?g.includes(a)||g.push(a):d?(f[s]=[a],$e(c,s)&&(c[s]=f[s])):(s.value=[a],e.k&&(f[e.k]=s.value))}else d?(f[s]=o,$e(c,s)&&(c[s]=o)):h&&(s.value=o,e.k&&(f[e.k]=o))};o?(y.id=-1,Ft(y,n)):y()}}}let Br=!1;const ns=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",rs=e=>e.nodeType===8;function q4(e){const{mt:t,p:n,o:{patchProp:r,createText:i,nextSibling:a,parentNode:o,remove:l,insert:s,createComment:u}}=e,f=(b,p)=>{if(!p.hasChildNodes()){n(null,b,p),Ks(),p._vnode=b;return}Br=!1,c(p.firstChild,b,null,null,null),Ks(),p._vnode=b,Br&&console.error("Hydration completed but contains mismatches.")},c=(b,p,E,k,T,S=!1)=>{const P=rs(b)&&b.data==="[",N=()=>g(b,p,E,k,T,P),{type:O,ref:w,shapeFlag:C,patchFlag:I}=p;let D=b.nodeType;p.el=b,I===-2&&(S=!1,p.dynamicChildren=null);let V=null;switch(O){case hr:D!==3?p.children===""?(s(p.el=i(""),o(b),b),V=b):V=N():(b.data!==p.children&&(Br=!0,b.data=p.children),V=a(b));break;case Mt:v(b)?(V=a(b),m(p.el=b.content.firstChild,b,E)):D!==8||P?V=N():V=a(b);break;case ei:if(P&&(b=a(b),D=b.nodeType),D===1||D===3){V=b;const U=!p.children.length;for(let te=0;te<p.staticCount;te++)U&&(p.children+=V.nodeType===1?V.outerHTML:V.data),te===p.staticCount-1&&(p.anchor=V),V=a(V);return P?a(V):V}else N();break;case tt:P?V=y(b,p,E,k,T,S):V=N();break;default:if(C&1)(D!==1||p.type.toLowerCase()!==b.tagName.toLowerCase())&&!v(b)?V=N():V=d(b,p,E,k,T,S);else if(C&6){p.slotScopeIds=T;const U=o(b);if(P?V=_(b):rs(b)&&b.data==="teleport start"?V=_(b,b.data,"teleport end"):V=a(b),t(p,U,null,E,k,ns(U),S),Yi(p)){let te;P?(te=xe(tt),te.anchor=V?V.previousSibling:U.lastChild):te=b.nodeType===3?Lr(""):xe("div"),te.el=b,p.component.subTree=te}}else C&64?D!==8?V=N():V=p.type.hydrate(b,p,E,k,T,S,e,h):C&128&&(V=p.type.hydrate(b,p,E,k,ns(o(b)),T,S,e,c))}return w!=null&&Gs(w,null,k,p),V},d=(b,p,E,k,T,S)=>{S=S||!!p.dynamicChildren;const{type:P,props:N,patchFlag:O,shapeFlag:w,dirs:C,transition:I}=p,D=P==="input"&&C||P==="option";if(D||O!==-1){if(C&&rr(p,null,E,"created"),N)if(D||!S||O&48)for(const te in N)(D&&te.endsWith("value")||sa(te)&&!Ki(te))&&r(b,te,null,N[te],!1,void 0,E);else N.onClick&&r(b,"onClick",null,N.onClick,!1,void 0,E);let V;(V=N&&N.onVnodeBeforeMount)&&on(V,E,p);let U=!1;if(v(b)){U=M0(k,I)&&E&&E.vnode.props&&E.vnode.props.appear;const te=b.content.firstChild;U&&I.beforeEnter(te),m(te,b,E),p.el=b=te}if(C&&rr(p,null,E,"beforeMount"),((V=N&&N.onVnodeMounted)||C||U)&&i0(()=>{V&&on(V,E,p),U&&I.enter(b),C&&rr(p,null,E,"mounted")},k),w&16&&!(N&&(N.innerHTML||N.textContent))){let te=h(b.firstChild,p,b,E,k,T,S);for(;te;){Br=!0;const K=te;te=te.nextSibling,l(K)}}else w&8&&b.textContent!==p.children&&(Br=!0,b.textContent=p.children)}return b.nextSibling},h=(b,p,E,k,T,S,P)=>{P=P||!!p.dynamicChildren;const N=p.children,O=N.length;for(let w=0;w<O;w++){const C=P?N[w]:N[w]=gn(N[w]);if(b)b=c(b,C,k,T,S,P);else{if(C.type===hr&&!C.children)continue;Br=!0,n(null,C,E,null,k,T,ns(E),S)}}return b},y=(b,p,E,k,T,S)=>{const{slotScopeIds:P}=p;P&&(T=T?T.concat(P):P);const N=o(b),O=h(a(b),p,N,E,k,T,S);return O&&rs(O)&&O.data==="]"?a(p.anchor=O):(Br=!0,s(p.anchor=u("]"),N,O),O)},g=(b,p,E,k,T,S)=>{if(Br=!0,p.el=null,S){const O=_(b);for(;;){const w=a(b);if(w&&w!==O)l(w);else break}}const P=a(b),N=o(b);return l(b),n(null,p,N,P,E,k,ns(N),T),P},_=(b,p="[",E="]")=>{let k=0;for(;b;)if(b=a(b),b&&rs(b)&&(b.data===p&&k++,b.data===E)){if(k===0)return a(b);k--}return b},m=(b,p,E)=>{const k=p.parentNode;k&&k.replaceChild(b,p);let T=E;for(;T;)T.vnode.el===p&&(T.vnode.el=T.subTree.el=b),T=T.parent},v=b=>b.nodeType===1&&b.tagName.toLowerCase()==="template";return[f,c]}const Ft=i0;function rh(e){return I0(e)}function ih(e){return I0(e,q4)}function I0(e,t){const n=mf();n.__VUE__=!0;const{insert:r,remove:i,patchProp:a,createElement:o,createText:l,createComment:s,setText:u,setElementText:f,parentNode:c,nextSibling:d,setScopeId:h=Qt,insertStaticContent:y}=e,g=(B,L,x,$=null,ee=null,le=null,q=!1,W=null,ne=!!L.dynamicChildren)=>{if(B===L)return;B&&!Vn(B,L)&&($=J(B),j(B,ee,le,!0),B=null),L.patchFlag===-2&&(ne=!1,L.dynamicChildren=null);const{type:ie,ref:oe,shapeFlag:ce}=L;switch(ie){case hr:_(B,L,x,$);break;case Mt:m(B,L,x,$);break;case ei:B==null&&v(L,x,$,q);break;case tt:w(B,L,x,$,ee,le,q,W,ne);break;default:ce&1?E(B,L,x,$,ee,le,q,W,ne):ce&6?C(B,L,x,$,ee,le,q,W,ne):(ce&64||ce&128)&&ie.process(B,L,x,$,ee,le,q,W,ne,Q)}oe!=null&&ee&&Gs(oe,B&&B.ref,le,L||B,!L)},_=(B,L,x,$)=>{if(B==null)r(L.el=l(L.children),x,$);else{const ee=L.el=B.el;L.children!==B.children&&u(ee,L.children)}},m=(B,L,x,$)=>{B==null?r(L.el=s(L.children||""),x,$):L.el=B.el},v=(B,L,x,$)=>{[B.el,B.anchor]=y(B.children,L,x,$,B.el,B.anchor)},b=({el:B,anchor:L},x,$)=>{let ee;for(;B&&B!==L;)ee=d(B),r(B,x,$),B=ee;r(L,x,$)},p=({el:B,anchor:L})=>{let x;for(;B&&B!==L;)x=d(B),i(B),B=x;i(L)},E=(B,L,x,$,ee,le,q,W,ne)=>{q=q||L.type==="svg",B==null?k(L,x,$,ee,le,q,W,ne):P(B,L,ee,le,q,W,ne)},k=(B,L,x,$,ee,le,q,W)=>{let ne,ie;const{type:oe,props:ce,shapeFlag:G,transition:re,dirs:pe}=B;if(ne=B.el=o(B.type,le,ce&&ce.is,ce),G&8?f(ne,B.children):G&16&&S(B.children,ne,null,$,ee,le&&oe!=="foreignObject",q,W),pe&&rr(B,null,$,"created"),T(ne,B,B.scopeId,q,$),ce){for(const ve in ce)ve!=="value"&&!Ki(ve)&&a(ne,ve,null,ce[ve],le,B.children,$,ee,F);"value"in ce&&a(ne,"value",null,ce.value),(ie=ce.onVnodeBeforeMount)&&on(ie,$,B)}pe&&rr(B,null,$,"beforeMount");const ge=M0(ee,re);ge&&re.beforeEnter(ne),r(ne,L,x),((ie=ce&&ce.onVnodeMounted)||ge||pe)&&Ft(()=>{ie&&on(ie,$,B),ge&&re.enter(ne),pe&&rr(B,null,$,"mounted")},ee)},T=(B,L,x,$,ee)=>{if(x&&h(B,x),$)for(let le=0;le<$.length;le++)h(B,$[le]);if(ee){let le=ee.subTree;if(L===le){const q=ee.vnode;T(B,q,q.scopeId,q.slotScopeIds,ee.parent)}}},S=(B,L,x,$,ee,le,q,W,ne=0)=>{for(let ie=ne;ie<B.length;ie++){const oe=B[ie]=W?Xr(B[ie]):gn(B[ie]);g(null,oe,L,x,$,ee,le,q,W)}},P=(B,L,x,$,ee,le,q)=>{const W=L.el=B.el;let{patchFlag:ne,dynamicChildren:ie,dirs:oe}=L;ne|=B.patchFlag&16;const ce=B.props||Ye,G=L.props||Ye;let re;x&&Ii(x,!1),(re=G.onVnodeBeforeUpdate)&&on(re,x,L,B),oe&&rr(L,B,x,"beforeUpdate"),x&&Ii(x,!0);const pe=ee&&L.type!=="foreignObject";if(ie?N(B.dynamicChildren,ie,W,x,$,pe,le):q||te(B,L,W,null,x,$,pe,le,!1),ne>0){if(ne&16)O(W,L,ce,G,x,$,ee);else if(ne&2&&ce.class!==G.class&&a(W,"class",null,G.class,ee),ne&4&&a(W,"style",ce.style,G.style,ee),ne&8){const ge=L.dynamicProps;for(let ve=0;ve<ge.length;ve++){const De=ge[ve],Te=ce[De],it=G[De];(it!==Te||De==="value")&&a(W,De,Te,it,ee,B.children,x,$,F)}}ne&1&&B.children!==L.children&&f(W,L.children)}else!q&&ie==null&&O(W,L,ce,G,x,$,ee);((re=G.onVnodeUpdated)||oe)&&Ft(()=>{re&&on(re,x,L,B),oe&&rr(L,B,x,"updated")},$)},N=(B,L,x,$,ee,le,q)=>{for(let W=0;W<L.length;W++){const ne=B[W],ie=L[W],oe=ne.el&&(ne.type===tt||!Vn(ne,ie)||ne.shapeFlag&70)?c(ne.el):x;g(ne,ie,oe,null,$,ee,le,q,!0)}},O=(B,L,x,$,ee,le,q)=>{if(x!==$){if(x!==Ye)for(const W in x)!Ki(W)&&!(W in $)&&a(B,W,x[W],null,q,L.children,ee,le,F);for(const W in $){if(Ki(W))continue;const ne=$[W],ie=x[W];ne!==ie&&W!=="value"&&a(B,W,ie,ne,q,L.children,ee,le,F)}"value"in $&&a(B,"value",x.value,$.value)}},w=(B,L,x,$,ee,le,q,W,ne)=>{const ie=L.el=B?B.el:l(""),oe=L.anchor=B?B.anchor:l("");let{patchFlag:ce,dynamicChildren:G,slotScopeIds:re}=L;re&&(W=W?W.concat(re):re),B==null?(r(ie,x,$),r(oe,x,$),S(L.children,x,oe,ee,le,q,W,ne)):ce>0&&ce&64&&G&&B.dynamicChildren?(N(B.dynamicChildren,G,x,ee,le,q,W),(L.key!=null||ee&&L===ee.subTree)&&ah(B,L,!0)):te(B,L,x,oe,ee,le,q,W,ne)},C=(B,L,x,$,ee,le,q,W,ne)=>{L.slotScopeIds=W,B==null?L.shapeFlag&512?ee.ctx.activate(L,x,$,q,ne):I(L,x,$,ee,le,q,ne):D(B,L,ne)},I=(B,L,x,$,ee,le,q)=>{const W=B.component=V0(B,$,ee);if(wl(B)&&(W.ctx.renderer=Q),z0(W),W.asyncDep){if(ee&&ee.registerDep(W,V),!B.el){const ne=W.subTree=xe(Mt);m(null,ne,L,x)}return}V(W,B,L,x,ee,le,q)},D=(B,L,x)=>{const $=L.component=B.component;if(_4(B,L,x))if($.asyncDep&&!$.asyncResolved){U($,L,x);return}else $.next=L,p4($.update),$.update();else L.el=B.el,$.vnode=L},V=(B,L,x,$,ee,le,q)=>{const W=()=>{if(B.isMounted){let{next:oe,bu:ce,u:G,parent:re,vnode:pe}=B,ge=oe,ve;Ii(B,!1),oe?(oe.el=pe.el,U(B,oe,q)):oe=pe,ce&&Ma(ce),(ve=oe.props&&oe.props.onVnodeBeforeUpdate)&&on(ve,re,oe,pe),Ii(B,!0);const De=Cs(B),Te=B.subTree;B.subTree=De,g(Te,De,c(Te.el),J(Te),B,ee,le),oe.el=De.el,ge===null&&Rd(B,De.el),G&&Ft(G,ee),(ve=oe.props&&oe.props.onVnodeUpdated)&&Ft(()=>on(ve,re,oe,pe),ee)}else{let oe;const{el:ce,props:G}=L,{bm:re,m:pe,parent:ge}=B,ve=Yi(L);if(Ii(B,!1),re&&Ma(re),!ve&&(oe=G&&G.onVnodeBeforeMount)&&on(oe,ge,L),Ii(B,!0),ce&&he){const De=()=>{B.subTree=Cs(B),he(ce,B.subTree,B,ee,null)};ve?L.type.__asyncLoader().then(()=>!B.isUnmounted&&De()):De()}else{const De=B.subTree=Cs(B);g(null,De,x,$,B,ee,le),L.el=De.el}if(pe&&Ft(pe,ee),!ve&&(oe=G&&G.onVnodeMounted)){const De=L;Ft(()=>on(oe,ge,De),ee)}(L.shapeFlag&256||ge&&Yi(ge.vnode)&&ge.vnode.shapeFlag&256)&&B.a&&Ft(B.a,ee),B.isMounted=!0,L=x=$=null}},ne=B.effect=new Ji(W,()=>Iu(ie),B.scope),ie=B.update=()=>ne.run();ie.id=B.uid,Ii(B,!0),ie()},U=(B,L,x)=>{L.component=B;const $=B.vnode.props;B.vnode=L,B.next=null,B4(B,L.props,$,x),U4(B,L.children,x),to(),M1(),no()},te=(B,L,x,$,ee,le,q,W,ne=!1)=>{const ie=B&&B.children,oe=B?B.shapeFlag:0,ce=L.children,{patchFlag:G,shapeFlag:re}=L;if(G>0){if(G&128){H(ie,ce,x,$,ee,le,q,W,ne);return}else if(G&256){K(ie,ce,x,$,ee,le,q,W,ne);return}}re&8?(oe&16&&F(ie,ee,le),ce!==ie&&f(x,ce)):oe&16?re&16?H(ie,ce,x,$,ee,le,q,W,ne):F(ie,ee,le,!0):(oe&8&&f(x,""),re&16&&S(ce,x,$,ee,le,q,W,ne))},K=(B,L,x,$,ee,le,q,W,ne)=>{B=B||La,L=L||La;const ie=B.length,oe=L.length,ce=Math.min(ie,oe);let G;for(G=0;G<ce;G++){const re=L[G]=ne?Xr(L[G]):gn(L[G]);g(B[G],re,x,null,ee,le,q,W,ne)}ie>oe?F(B,ee,le,!0,!1,ce):S(L,x,$,ee,le,q,W,ne,ce)},H=(B,L,x,$,ee,le,q,W,ne)=>{let ie=0;const oe=L.length;let ce=B.length-1,G=oe-1;for(;ie<=ce&&ie<=G;){const re=B[ie],pe=L[ie]=ne?Xr(L[ie]):gn(L[ie]);if(Vn(re,pe))g(re,pe,x,null,ee,le,q,W,ne);else break;ie++}for(;ie<=ce&&ie<=G;){const re=B[ce],pe=L[G]=ne?Xr(L[G]):gn(L[G]);if(Vn(re,pe))g(re,pe,x,null,ee,le,q,W,ne);else break;ce--,G--}if(ie>ce){if(ie<=G){const re=G+1,pe=re<oe?L[re].el:$;for(;ie<=G;)g(null,L[ie]=ne?Xr(L[ie]):gn(L[ie]),x,pe,ee,le,q,W,ne),ie++}}else if(ie>G)for(;ie<=ce;)j(B[ie],ee,le,!0),ie++;else{const re=ie,pe=ie,ge=new Map;for(ie=pe;ie<=G;ie++){const ct=L[ie]=ne?Xr(L[ie]):gn(L[ie]);ct.key!=null&&ge.set(ct.key,ie)}let ve,De=0;const Te=G-pe+1;let it=!1,Yn=0;const On=new Array(Te);for(ie=0;ie<Te;ie++)On[ie]=0;for(ie=re;ie<=ce;ie++){const ct=B[ie];if(De>=Te){j(ct,ee,le,!0);continue}let xt;if(ct.key!=null)xt=ge.get(ct.key);else for(ve=pe;ve<=G;ve++)if(On[ve-pe]===0&&Vn(ct,L[ve])){xt=ve;break}xt===void 0?j(ct,ee,le,!0):(On[xt-pe]=ie+1,xt>=Yn?Yn=xt:it=!0,g(ct,L[xt],x,null,ee,le,q,W,ne),De++)}const Xn=it?K4(On):La;for(ve=Xn.length-1,ie=Te-1;ie>=0;ie--){const ct=pe+ie,xt=L[ct],ke=ct+1<oe?L[ct+1].el:$;On[ie]===0?g(null,xt,x,ke,ee,le,q,W,ne):it&&(ve<0||ie!==Xn[ve]?M(xt,x,ke,2):ve--)}}},M=(B,L,x,$,ee=null)=>{const{el:le,type:q,transition:W,children:ne,shapeFlag:ie}=B;if(ie&6){M(B.component.subTree,L,x,$);return}if(ie&128){B.suspense.move(L,x,$);return}if(ie&64){q.move(B,L,x,Q);return}if(q===tt){r(le,L,x);for(let ce=0;ce<ne.length;ce++)M(ne[ce],L,x,$);r(B.anchor,L,x);return}if(q===ei){b(B,L,x);return}if($!==2&&ie&1&&W)if($===0)W.beforeEnter(le),r(le,L,x),Ft(()=>W.enter(le),ee);else{const{leave:ce,delayLeave:G,afterLeave:re}=W,pe=()=>r(le,L,x),ge=()=>{ce(le,()=>{pe(),re&&re()})};G?G(le,pe,ge):ge()}else r(le,L,x)},j=(B,L,x,$=!1,ee=!1)=>{const{type:le,props:q,ref:W,children:ne,dynamicChildren:ie,shapeFlag:oe,patchFlag:ce,dirs:G}=B;if(W!=null&&Gs(W,null,x,B,!0),oe&256){L.ctx.deactivate(B);return}const re=oe&1&&G,pe=!Yi(B);let ge;if(pe&&(ge=q&&q.onVnodeBeforeUnmount)&&on(ge,L,B),oe&6)X(B.component,x,$);else{if(oe&128){B.suspense.unmount(x,$);return}re&&rr(B,null,L,"beforeUnmount"),oe&64?B.type.remove(B,L,x,ee,Q,$):ie&&(le!==tt||ce>0&&ce&64)?F(ie,L,x,!1,!0):(le===tt&&ce&384||!ee&&oe&16)&&F(ne,L,x),$&&z(B)}(pe&&(ge=q&&q.onVnodeUnmounted)||re)&&Ft(()=>{ge&&on(ge,L,B),re&&rr(B,null,L,"unmounted")},x)},z=B=>{const{type:L,el:x,anchor:$,transition:ee}=B;if(L===tt){Z(x,$);return}if(L===ei){p(B);return}const le=()=>{i(x),ee&&!ee.persisted&&ee.afterLeave&&ee.afterLeave()};if(B.shapeFlag&1&&ee&&!ee.persisted){const{leave:q,delayLeave:W}=ee,ne=()=>q(x,le);W?W(B.el,le,ne):ne()}else le()},Z=(B,L)=>{let x;for(;B!==L;)x=d(B),i(B),B=x;i(L)},X=(B,L,x)=>{const{bum:$,scope:ee,update:le,subTree:q,um:W}=B;$&&Ma($),ee.stop(),le&&(le.active=!1,j(q,B,L,x)),W&&Ft(W,L),Ft(()=>{B.isUnmounted=!0},L),L&&L.pendingBranch&&!L.isUnmounted&&B.asyncDep&&!B.asyncResolved&&B.suspenseId===L.pendingId&&(L.deps--,L.deps===0&&L.resolve())},F=(B,L,x,$=!1,ee=!1,le=0)=>{for(let q=le;q<B.length;q++)j(B[q],L,x,$,ee)},J=B=>B.shapeFlag&6?J(B.component.subTree):B.shapeFlag&128?B.suspense.next():d(B.anchor||B.el),ae=(B,L,x)=>{B==null?L._vnode&&j(L._vnode,null,null,!0):g(L._vnode||null,B,L,null,null,null,x),M1(),Ks(),L._vnode=B},Q={p:g,um:j,m:M,r:z,mt:I,mc:S,pc:te,pbc:N,n:J,o:e};let se,he;return t&&([se,he]=t(Q)),{render:ae,hydrate:se,createApp:j4(ae,se)}}function Ii({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function M0(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ah(e,t,n=!1){const r=e.children,i=t.children;if(me(r)&&me(i))for(let a=0;a<r.length;a++){const o=r[a];let l=i[a];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=i[a]=Xr(i[a]),l.el=o.el),n||ah(o,l)),l.type===hr&&(l.el=o.el)}}function K4(e){const t=e.slice(),n=[0];let r,i,a,o,l;const s=e.length;for(r=0;r<s;r++){const u=e[r];if(u!==0){if(i=n[n.length-1],e[i]<u){t[r]=i,n.push(r);continue}for(a=0,o=n.length-1;a<o;)l=a+o>>1,e[n[l]]<u?a=l+1:o=l;u<e[n[a]]&&(a>0&&(t[r]=n[a-1]),n[a]=r)}}for(a=n.length,o=n[a-1];a-- >0;)n[a]=o,o=t[o];return n}const W4=e=>e.__isTeleport,Io=e=>e&&(e.disabled||e.disabled===""),q1=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Sf=(e,t)=>{const n=e&&e.to;return Le(n)?t?t(n):null:n},G4={__isTeleport:!0,process(e,t,n,r,i,a,o,l,s,u){const{mc:f,pc:c,pbc:d,o:{insert:h,querySelector:y,createText:g,createComment:_}}=u,m=Io(t.props);let{shapeFlag:v,children:b,dynamicChildren:p}=t;if(e==null){const E=t.el=g(""),k=t.anchor=g("");h(E,n,r),h(k,n,r);const T=t.target=Sf(t.props,y),S=t.targetAnchor=g("");T&&(h(S,T),o=o||q1(T));const P=(N,O)=>{v&16&&f(b,N,O,i,a,o,l,s)};m?P(n,k):T&&P(T,S)}else{t.el=e.el;const E=t.anchor=e.anchor,k=t.target=e.target,T=t.targetAnchor=e.targetAnchor,S=Io(e.props),P=S?n:k,N=S?E:T;if(o=o||q1(k),p?(d(e.dynamicChildren,p,P,i,a,o,l),ah(e,t,!0)):s||c(e,t,P,N,i,a,o,l,!1),m)S?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):is(t,n,E,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const O=t.target=Sf(t.props,y);O&&is(t,O,null,u,0)}else S&&is(t,k,T,u,1)}x0(t)},remove(e,t,n,r,{um:i,o:{remove:a}},o){const{shapeFlag:l,children:s,anchor:u,targetAnchor:f,target:c,props:d}=e;if(c&&a(f),o&&a(u),l&16){const h=o||!Io(d);for(let y=0;y<s.length;y++){const g=s[y];i(g,t,n,h,!!g.dynamicChildren)}}},move:is,hydrate:Y4};function is(e,t,n,{o:{insert:r},m:i},a=2){a===0&&r(e.targetAnchor,t,n);const{el:o,anchor:l,shapeFlag:s,children:u,props:f}=e,c=a===2;if(c&&r(o,t,n),(!c||Io(f))&&s&16)for(let d=0;d<u.length;d++)i(u[d],t,n,2);c&&r(l,t,n)}function Y4(e,t,n,r,i,a,{o:{nextSibling:o,parentNode:l,querySelector:s}},u){const f=t.target=Sf(t.props,s);if(f){const c=f._lpa||f.firstChild;if(t.shapeFlag&16)if(Io(t.props))t.anchor=u(o(e),t,l(e),n,r,i,a),t.targetAnchor=c;else{t.anchor=o(e);let d=c;for(;d;)if(d=o(d),d&&d.nodeType===8&&d.data==="teleport anchor"){t.targetAnchor=d,f._lpa=t.targetAnchor&&o(t.targetAnchor);break}u(c,t,f,n,r,i,a)}x0(t)}return t.anchor&&o(t.anchor)}const $u=G4;function x0(e){const t=e.ctx;if(t&&t.ut){let n=e.children[0].el;for(;n&&n!==e.targetAnchor;)n.nodeType===1&&n.setAttribute("data-v-owner",t.uid),n=n.nextSibling;t.ut()}}const tt=Symbol.for("v-fgt"),hr=Symbol.for("v-txt"),Mt=Symbol.for("v-cmt"),ei=Symbol.for("v-stc"),Mo=[];let sn=null;function _e(e=!1){Mo.push(sn=e?null:[])}function R0(){Mo.pop(),sn=Mo[Mo.length-1]||null}let ea=1;function Ys(e){ea+=e}function D0(e){return e.dynamicChildren=ea>0?sn||La:null,R0(),ea>0&&sn&&sn.push(e),e}function Pe(e,t,n,r,i,a){return D0(Re(e,t,n,r,i,a,!0))}function mt(e,t,n,r,i){return D0(xe(e,t,n,r,i,!0))}function Pr(e){return e?e.__v_isVNode===!0:!1}function Vn(e,t){return e.type===t.type&&e.key===t.key}function F0(e){}const Uu="__vInternal",H0=({key:e})=>e??null,Ps=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Le(e)||Qe(e)||Ae(e)?{i:It,r:e,k:t,f:!!n}:e:null);function Re(e,t=null,n=null,r=0,i=null,a=e===tt?0:1,o=!1,l=!1){const s={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&H0(t),ref:t&&Ps(t),scopeId:xu,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:It};return l?(oh(s,n),a&128&&e.normalize(s)):n&&(s.shapeFlag|=Le(n)?8:16),ea>0&&!o&&sn&&(s.patchFlag>0||a&6)&&s.patchFlag!==32&&sn.push(s),s}const xe=X4;function X4(e,t=null,n=null,r=0,i=null,a=!1){if((!e||e===n0)&&(e=Mt),Pr(e)){const l=Wn(e,t,!0);return n&&oh(l,n),ea>0&&!a&&sn&&(l.shapeFlag&6?sn[sn.indexOf(e)]=l:sn.push(l)),l.patchFlag|=-2,l}if(t6(e)&&(e=e.__vccOpts),t){t=Zt(t);let{class:l,style:s}=t;l&&!Le(l)&&(t.class=_t(l)),Je(s)&&(Cu(s)&&!me(s)&&(s=Ue({},s)),t.style=qt(s))}const o=Le(e)?1:r0(e)?128:W4(e)?64:Je(e)?4:Ae(e)?2:0;return Re(e,t,n,r,i,o,a,!0)}function Zt(e){return e?Cu(e)||Uu in e?Ue({},e):e:null}function Wn(e,t,n=!1){const{props:r,ref:i,patchFlag:a,children:o}=e,l=t?dn(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&H0(l),ref:t&&t.ref?n&&i?me(i)?i.concat(Ps(t)):[i,Ps(t)]:Ps(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==tt?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Wn(e.ssContent),ssFallback:e.ssFallback&&Wn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Lr(e=" ",t=0){return xe(hr,null,e,t)}function j0(e,t){const n=xe(ei,null,e);return n.staticCount=t,n}function nt(e="",t=!1){return t?(_e(),mt(Mt,null,e)):xe(Mt,null,e)}function gn(e){return e==null||typeof e=="boolean"?xe(Mt):me(e)?xe(tt,null,e.slice()):typeof e=="object"?Xr(e):xe(hr,null,String(e))}function Xr(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Wn(e)}function oh(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(me(t))n=16;else if(typeof t=="object")if(r&65){const i=t.default;i&&(i._c&&(i._d=!1),oh(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!(Uu in t)?t._ctx=It:i===3&&It&&(It.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Ae(t)?(t={default:t,_ctx:It},n=32):(t=String(t),r&64?(n=16,t=[Lr(t)]):n=8);e.children=t,e.shapeFlag|=n}function dn(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const i in r)if(i==="class")t.class!==r.class&&(t.class=_t([t.class,r.class]));else if(i==="style")t.style=qt([t.style,r.style]);else if(sa(i)){const a=t[i],o=r[i];o&&a!==o&&!(me(a)&&a.includes(o))&&(t[i]=a?[].concat(a,o):o)}else i!==""&&(t[i]=r[i])}return t}function on(e,t,n,r=null){cn(e,t,7,[n,r])}const J4=A0();let Z4=0;function V0(e,t,n){const r=e.type,i=(t?t.appContext:e.appContext)||J4,a={uid:Z4++,vnode:e,type:r,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,scope:new Su(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:k0(r,i),emitsOptions:t0(r,i),emit:null,emitted:null,propsDefaults:Ye,inheritAttrs:r.inheritAttrs,ctx:Ye,data:Ye,props:Ye,attrs:Ye,slots:Ye,refs:Ye,setupState:Ye,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return a.ctx={_:a},a.root=t?t.root:a,a.emit=v4.bind(null,a),e.ce&&e.ce(a),a}let bt=null;const jt=()=>bt||It;let lh,Ea,K1="__VUE_INSTANCE_SETTERS__";(Ea=mf()[K1])||(Ea=mf()[K1]=[]),Ea.push(e=>bt=e),lh=e=>{Ea.length>1?Ea.forEach(t=>t(e)):Ea[0](e)};const ci=e=>{lh(e),e.scope.on()},ti=()=>{bt&&bt.scope.off(),lh(null)};function B0(e){return e.vnode.shapeFlag&4}let Ha=!1;function z0(e,t=!1){Ha=t;const{props:n,children:r}=e.vnode,i=B0(e);V4(e,n,i,t),$4(e,r);const a=i?Q4(e,t):void 0;return Ha=!1,a}function Q4(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=cr(new Proxy(e.ctx,Ef));const{setup:r}=n;if(r){const i=e.setupContext=r.length>1?q0(e):null;ci(e),to();const a=fr(r,e,0,[e.props,i]);if(no(),ti(),Td(a)){if(a.then(ti,ti),t)return a.then(o=>{Af(e,o,t)}).catch(o=>{gi(o,e,0)});e.asyncDep=a}else Af(e,a,t)}else U0(e,t)}function Af(e,t,n){Ae(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Je(t)&&(e.setupState=Lu(t)),U0(e,n)}let Xs,Nf;function sh(e){Xs=e,Nf=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,I4))}}const $0=()=>!Xs;function U0(e,t,n){const r=e.type;if(!e.render){if(!t&&Xs&&!r.render){const i=r.template||Qd(e).template;if(i){const{isCustomElement:a,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:s}=r,u=Ue(Ue({isCustomElement:a,delimiters:l},o),s);r.render=Xs(i,u)}}e.render=r.render||Qt,Nf&&Nf(e)}{ci(e),to();try{M4(e)}finally{no(),ti()}}}function e6(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return hn(e,"get","$attrs"),t[n]}}))}function q0(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return e6(e)},slots:e.slots,emit:e.emit,expose:t}}function qu(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Lu(cr(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Lo)return Lo[n](e)},has(t,n){return n in t||n in Lo}}))}function kf(e,t=!0){return Ae(e)?e.displayName||e.name:e.name||t&&e.__name}function t6(e){return Ae(e)&&"__vccOpts"in e}const fe=(e,t)=>f4(e,t,Ha);function bi(e,t,n){const r=arguments.length;return r===2?Je(t)&&!me(t)?Pr(t)?xe(e,null,[t]):xe(e,t):xe(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Pr(n)&&(n=[n]),xe(e,t,n))}const uh=Symbol.for("v-scx"),ch=()=>In(uh);function K0(){}function W0(e,t,n,r){const i=n[r];if(i&&fh(i,e))return i;const a=t();return a.memo=e.slice(),n[r]=a}function fh(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let r=0;r<n.length;r++)if(ai(n[r],t[r]))return!1;return ea>0&&sn&&sn.push(e),!0}const Ku="3.3.8",n6={createComponentInstance:V0,setupComponent:z0,renderComponentRoot:Cs,setCurrentRenderingInstance:Go,isVNode:Pr,normalizeVNode:gn},G0=n6,Y0=null,X0=null,r6="http://www.w3.org/2000/svg",Fi=typeof document<"u"?document:null,W1=Fi&&Fi.createElement("template"),i6={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const i=t?Fi.createElementNS(r6,e):Fi.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&i.setAttribute("multiple",r.multiple),i},createText:e=>Fi.createTextNode(e),createComment:e=>Fi.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Fi.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,i,a){const o=n?n.previousSibling:t.lastChild;if(i&&(i===a||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===a||!(i=i.nextSibling)););else{W1.innerHTML=r?`<svg>${e}</svg>`:e;const l=W1.content;if(r){const s=l.firstChild;for(;s.firstChild;)l.appendChild(s.firstChild);l.removeChild(s)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},zr="transition",yo="animation",ja=Symbol("_vtc"),fi=(e,{slots:t})=>bi(zd,Z0(e),t);fi.displayName="Transition";const J0={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},a6=fi.props=Ue({},ju,J0),Mi=(e,t=[])=>{me(e)?e.forEach(n=>n(...t)):e&&e(...t)},G1=e=>e?me(e)?e.some(t=>t.length>1):e.length>1:!1;function Z0(e){const t={};for(const w in e)w in J0||(t[w]=e[w]);if(e.css===!1)return t;const{name:n="v",type:r,duration:i,enterFromClass:a=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:s=a,appearActiveClass:u=o,appearToClass:f=l,leaveFromClass:c=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,y=o6(i),g=y&&y[0],_=y&&y[1],{onBeforeEnter:m,onEnter:v,onEnterCancelled:b,onLeave:p,onLeaveCancelled:E,onBeforeAppear:k=m,onAppear:T=v,onAppearCancelled:S=b}=t,P=(w,C,I)=>{Wr(w,C?f:l),Wr(w,C?u:o),I&&I()},N=(w,C)=>{w._isLeaving=!1,Wr(w,c),Wr(w,h),Wr(w,d),C&&C()},O=w=>(C,I)=>{const D=w?T:v,V=()=>P(C,w,I);Mi(D,[C,V]),Y1(()=>{Wr(C,w?s:a),Er(C,w?f:l),G1(D)||X1(C,r,g,V)})};return Ue(t,{onBeforeEnter(w){Mi(m,[w]),Er(w,a),Er(w,o)},onBeforeAppear(w){Mi(k,[w]),Er(w,s),Er(w,u)},onEnter:O(!1),onAppear:O(!0),onLeave(w,C){w._isLeaving=!0;const I=()=>N(w,C);Er(w,c),e2(),Er(w,d),Y1(()=>{w._isLeaving&&(Wr(w,c),Er(w,h),G1(p)||X1(w,r,_,I))}),Mi(p,[w,I])},onEnterCancelled(w){P(w,!1),Mi(b,[w])},onAppearCancelled(w){P(w,!0),Mi(S,[w])},onLeaveCancelled(w){N(w),Mi(E,[w])}})}function o6(e){if(e==null)return null;if(Je(e))return[Wc(e.enter),Wc(e.leave)];{const t=Wc(e);return[t,t]}}function Wc(e){return Us(e)}function Er(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[ja]||(e[ja]=new Set)).add(t)}function Wr(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[ja];n&&(n.delete(t),n.size||(e[ja]=void 0))}function Y1(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let l6=0;function X1(e,t,n,r){const i=e._endId=++l6,a=()=>{i===e._endId&&r()};if(n)return setTimeout(a,n);const{type:o,timeout:l,propCount:s}=Q0(e,t);if(!o)return r();const u=o+"end";let f=0;const c=()=>{e.removeEventListener(u,d),a()},d=h=>{h.target===e&&++f>=s&&c()};setTimeout(()=>{f<s&&c()},l+1),e.addEventListener(u,d)}function Q0(e,t){const n=window.getComputedStyle(e),r=y=>(n[y]||"").split(", "),i=r(`${zr}Delay`),a=r(`${zr}Duration`),o=J1(i,a),l=r(`${yo}Delay`),s=r(`${yo}Duration`),u=J1(l,s);let f=null,c=0,d=0;t===zr?o>0&&(f=zr,c=o,d=a.length):t===yo?u>0&&(f=yo,c=u,d=s.length):(c=Math.max(o,u),f=c>0?o>u?zr:yo:null,d=f?f===zr?a.length:s.length:0);const h=f===zr&&/\b(transform|all)(,|$)/.test(r(`${zr}Property`).toString());return{type:f,timeout:c,propCount:d,hasTransform:h}}function J1(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>Z1(n)+Z1(e[r])))}function Z1(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function e2(){return document.body.offsetHeight}function s6(e,t,n){const r=e[ja];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const dh=Symbol("_vod"),Nr={beforeMount(e,{value:t},{transition:n}){e[dh]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):bo(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),bo(e,!0),r.enter(e)):r.leave(e,()=>{bo(e,!1)}):bo(e,t))},beforeUnmount(e,{value:t}){bo(e,t)}};function bo(e,t){e.style.display=t?e[dh]:"none"}function u6(){Nr.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}function c6(e,t,n){const r=e.style,i=Le(n);if(n&&!i){if(t&&!Le(t))for(const a in t)n[a]==null&&Cf(r,a,"");for(const a in n)Cf(r,a,n[a])}else{const a=r.display;i?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),dh in e&&(r.display=a)}}const Q1=/\s*!important$/;function Cf(e,t,n){if(me(n))n.forEach(r=>Cf(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=f6(e,t);Q1.test(n)?e.setProperty(yn(r),n.replace(Q1,""),"important"):e[r]=n}}const ep=["Webkit","Moz","ms"],Gc={};function f6(e,t){const n=Gc[t];if(n)return n;let r=pt(t);if(r!=="filter"&&r in e)return Gc[t]=r;r=vi(r);for(let i=0;i<ep.length;i++){const a=ep[i]+r;if(a in e)return Gc[t]=a}return t}const tp="http://www.w3.org/1999/xlink";function d6(e,t,n,r,i){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(tp,t.slice(6,t.length)):e.setAttributeNS(tp,t,n);else{const a=Db(t);n==null||a&&!Nv(n)?e.removeAttribute(t):e.setAttribute(t,a?"":n)}}function h6(e,t,n,r,i,a,o){if(t==="innerHTML"||t==="textContent"){r&&o(r,i,a),e[t]=n??"";return}const l=e.tagName;if(t==="value"&&l!=="PROGRESS"&&!l.includes("-")){e._value=n;const u=l==="OPTION"?e.getAttribute("value"):e.value,f=n??"";u!==f&&(e.value=f),n==null&&e.removeAttribute(t);return}let s=!1;if(n===""||n==null){const u=typeof e[t];u==="boolean"?n=Nv(n):n==null&&u==="string"?(n="",s=!0):u==="number"&&(n=0,s=!0)}try{e[t]=n}catch{}s&&e.removeAttribute(t)}function Or(e,t,n,r){e.addEventListener(t,n,r)}function p6(e,t,n,r){e.removeEventListener(t,n,r)}const np=Symbol("_vei");function m6(e,t,n,r,i=null){const a=e[np]||(e[np]={}),o=a[t];if(r&&o)o.value=r;else{const[l,s]=v6(t);if(r){const u=a[t]=b6(r,i);Or(e,l,u,s)}else o&&(p6(e,l,o,s),a[t]=void 0)}}const rp=/(?:Once|Passive|Capture)$/;function v6(e){let t;if(rp.test(e)){t={};let r;for(;r=e.match(rp);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):yn(e.slice(2)),t]}let Yc=0;const g6=Promise.resolve(),y6=()=>Yc||(g6.then(()=>Yc=0),Yc=Date.now());function b6(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;cn(_6(r,n.value),t,5,[r])};return n.value=e,n.attached=y6(),n}function _6(e,t){if(me(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>i=>!i._stopped&&r&&r(i))}else return t}const ip=/^on[a-z]/,E6=(e,t,n,r,i=!1,a,o,l,s)=>{t==="class"?s6(e,r,i):t==="style"?c6(e,n,r):sa(t)?wd(t)||m6(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):w6(e,t,r,i))?h6(e,t,r,a,o,l,s):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),d6(e,t,r,i))};function w6(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&ip.test(t)&&Ae(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||ip.test(t)&&Le(n)?!1:t in e}/*! #__NO_SIDE_EFFECTS__ */function hh(e,t){const n=ut(e);class r extends Tl{constructor(a){super(n,a,t)}}return r.def=n,r}/*! #__NO_SIDE_EFFECTS__ */const t2=e=>hh(e,mh),O6=typeof HTMLElement<"u"?HTMLElement:class{};class Tl extends O6{constructor(t,n={},r){super(),this._def=t,this._props=n,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this._ob=null,this.shadowRoot&&r?r(this._createVNode(),this.shadowRoot):(this.attachShadow({mode:"open"}),this._def.__asyncLoader||this._resolveProps(this._def))}connectedCallback(){this._connected=!0,this._instance||(this._resolved?this._update():this._resolveDef())}disconnectedCallback(){this._connected=!1,this._ob&&(this._ob.disconnect(),this._ob=null),Ht(()=>{this._connected||(Qo(null,this.shadowRoot),this._instance=null)})}_resolveDef(){this._resolved=!0;for(let r=0;r<this.attributes.length;r++)this._setAttr(this.attributes[r].name);this._ob=new MutationObserver(r=>{for(const i of r)this._setAttr(i.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(r,i=!1)=>{const{props:a,styles:o}=r;let l;if(a&&!me(a))for(const s in a){const u=a[s];(u===Number||u&&u.type===Number)&&(s in this._props&&(this._props[s]=Us(this._props[s])),(l||(l=Object.create(null)))[pt(s)]=!0)}this._numberProps=l,i&&this._resolveProps(r),this._applyStyles(o),this._update()},n=this._def.__asyncLoader;n?n().then(r=>t(r,!0)):t(this._def)}_resolveProps(t){const{props:n}=t,r=me(n)?n:Object.keys(n||{});for(const i of Object.keys(this))i[0]!=="_"&&r.includes(i)&&this._setProp(i,this[i],!0,!1);for(const i of r.map(pt))Object.defineProperty(this,i,{get(){return this._getProp(i)},set(a){this._setProp(i,a)}})}_setAttr(t){let n=this.getAttribute(t);const r=pt(t);this._numberProps&&this._numberProps[r]&&(n=Us(n)),this._setProp(r,n,!1)}_getProp(t){return this._props[t]}_setProp(t,n,r=!0,i=!0){n!==this._props[t]&&(this._props[t]=n,i&&this._instance&&this._update(),r&&(n===!0?this.setAttribute(yn(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(yn(t),n+""):n||this.removeAttribute(yn(t))))}_update(){Qo(this._createVNode(),this.shadowRoot)}_createVNode(){const t=xe(this._def,Ue({},this._props));return this._instance||(t.ce=n=>{this._instance=n,n.isCE=!0;const r=(a,o)=>{this.dispatchEvent(new CustomEvent(a,{detail:o}))};n.emit=(a,...o)=>{r(a,o),yn(a)!==a&&r(yn(a),o)};let i=this;for(;i=i&&(i.parentNode||i.host);)if(i instanceof Tl){n.parent=i._instance,n.provides=i._instance.provides;break}}),t}_applyStyles(t){t&&t.forEach(n=>{const r=document.createElement("style");r.textContent=n,this.shadowRoot.appendChild(r)})}}function n2(e="$style"){{const t=jt();if(!t)return Ye;const n=t.type.__cssModules;if(!n)return Ye;const r=n[e];return r||Ye}}function Wu(e){const t=jt();if(!t)return;const n=t.ut=(i=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(a=>Lf(a,i))},r=()=>{const i=e(t.proxy);Pf(t.subTree,i),n(i)};Bd(r),mn(()=>{const i=new MutationObserver(r);i.observe(t.subTree.el.parentNode,{childList:!0}),yi(()=>i.disconnect())})}function Pf(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Pf(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Lf(e.el,t);else if(e.type===tt)e.children.forEach(n=>Pf(n,t));else if(e.type===ei){let{el:n,anchor:r}=e;for(;n&&(Lf(n,t),n!==r);)n=n.nextSibling}}function Lf(e,t){if(e.nodeType===1){const n=e.style;for(const r in t)n.setProperty(`--${r}`,t[r])}}const r2=new WeakMap,i2=new WeakMap,Js=Symbol("_moveCb"),ap=Symbol("_enterCb"),a2={name:"TransitionGroup",props:Ue({},a6,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=jt(),r=Hu();let i,a;return Ol(()=>{if(!i.length)return;const o=e.moveClass||`${e.name||"v"}-move`;if(!k6(i[0].el,n.vnode.el,o))return;i.forEach(S6),i.forEach(A6);const l=i.filter(N6);e2(),l.forEach(s=>{const u=s.el,f=u.style;Er(u,o),f.transform=f.webkitTransform=f.transitionDuration="";const c=u[Js]=d=>{d&&d.target!==u||(!d||/transform$/.test(d.propertyName))&&(u.removeEventListener("transitionend",c),u[Js]=null,Wr(u,o))};u.addEventListener("transitionend",c)})}),()=>{const o=Me(e),l=Z0(o);let s=o.tag||tt;i=a,a=t.default?El(t.default()):[];for(let u=0;u<a.length;u++){const f=a[u];f.key!=null&&ui(f,Zi(f,l,r,n))}if(i)for(let u=0;u<i.length;u++){const f=i[u];ui(f,Zi(f,l,r,n)),r2.set(f,f.el.getBoundingClientRect())}return xe(s,null,a)}}},T6=e=>delete e.mode;a2.props;const o2=a2;function S6(e){const t=e.el;t[Js]&&t[Js](),t[ap]&&t[ap]()}function A6(e){i2.set(e,e.el.getBoundingClientRect())}function N6(e){const t=r2.get(e),n=i2.get(e),r=t.left-n.left,i=t.top-n.top;if(r||i){const a=e.el.style;return a.transform=a.webkitTransform=`translate(${r}px,${i}px)`,a.transitionDuration="0s",e}}function k6(e,t,n){const r=e.cloneNode(),i=e[ja];i&&i.forEach(l=>{l.split(/\s+/).forEach(s=>s&&r.classList.remove(s))}),n.split(/\s+/).forEach(l=>l&&r.classList.add(l)),r.style.display="none";const a=t.nodeType===1?t:t.parentNode;a.appendChild(r);const{hasTransform:o}=Q0(r);return a.removeChild(r),o}const di=e=>{const t=e.props["onUpdate:modelValue"]||!1;return me(t)?n=>Ma(t,n):t};function C6(e){e.target.composing=!0}function op(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Mn=Symbol("_assign"),Va={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e[Mn]=di(i);const a=r||i.props&&i.props.type==="number";Or(e,t?"change":"input",o=>{if(o.target.composing)return;let l=e.value;n&&(l=l.trim()),a&&(l=$s(l)),e[Mn](l)}),n&&Or(e,"change",()=>{e.value=e.value.trim()}),t||(Or(e,"compositionstart",C6),Or(e,"compositionend",op),Or(e,"change",op))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:i}},a){if(e[Mn]=di(a),e.composing||document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===t||(i||e.type==="number")&&$s(e.value)===t))return;const o=t??"";e.value!==o&&(e.value=o)}},Gu={deep:!0,created(e,t,n){e[Mn]=di(n),Or(e,"change",()=>{const r=e._modelValue,i=Ba(e),a=e.checked,o=e[Mn];if(me(r)){const l=Tu(r,i),s=l!==-1;if(a&&!s)o(r.concat(i));else if(!a&&s){const u=[...r];u.splice(l,1),o(u)}}else if(ua(r)){const l=new Set(r);a?l.add(i):l.delete(i),o(l)}else o(l2(e,a))})},mounted:lp,beforeUpdate(e,t,n){e[Mn]=di(n),lp(e,t,n)}};function lp(e,{value:t,oldValue:n},r){e._modelValue=t,me(t)?e.checked=Tu(t,r.props.value)>-1:ua(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=oi(t,l2(e,!0)))}const Yu={created(e,{value:t},n){e.checked=oi(t,n.props.value),e[Mn]=di(n),Or(e,"change",()=>{e[Mn](Ba(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[Mn]=di(r),t!==n&&(e.checked=oi(t,r.props.value))}},ph={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const i=ua(t);Or(e,"change",()=>{const a=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>n?$s(Ba(o)):Ba(o));e[Mn](e.multiple?i?new Set(a):a:a[0])}),e[Mn]=di(r)},mounted(e,{value:t}){sp(e,t)},beforeUpdate(e,t,n){e[Mn]=di(n)},updated(e,{value:t}){sp(e,t)}};function sp(e,t){const n=e.multiple;if(!(n&&!me(t)&&!ua(t))){for(let r=0,i=e.options.length;r<i;r++){const a=e.options[r],o=Ba(a);if(n)me(t)?a.selected=Tu(t,o)>-1:a.selected=t.has(o);else if(oi(Ba(a),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Ba(e){return"_value"in e?e._value:e.value}function l2(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Xu={created(e,t,n){as(e,t,n,null,"created")},mounted(e,t,n){as(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){as(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){as(e,t,n,r,"updated")}};function s2(e,t){switch(e){case"SELECT":return ph;case"TEXTAREA":return Va;default:switch(t){case"checkbox":return Gu;case"radio":return Yu;default:return Va}}}function as(e,t,n,r,i){const o=s2(e.tagName,n.props&&n.props.type)[i];o&&o(e,t,n,r)}function P6(){Va.getSSRProps=({value:e})=>({value:e}),Yu.getSSRProps=({value:e},t)=>{if(t.props&&oi(t.props.value,e))return{checked:!0}},Gu.getSSRProps=({value:e},t)=>{if(me(e)){if(t.props&&Tu(e,t.props.value)>-1)return{checked:!0}}else if(ua(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},Xu.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=s2(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const L6=["ctrl","shift","alt","meta"],I6={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>L6.some(n=>e[`${n}Key`]&&!t.includes(n))},ta=(e,t)=>(n,...r)=>{for(let i=0;i<t.length;i++){const a=I6[t[i]];if(a&&a(n,t))return}return e(n,...r)},M6={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Ju=(e,t)=>n=>{if(!("key"in n))return;const r=yn(n.key);if(t.some(i=>i===r||M6[i]===r))return e(n)},u2=Ue({patchProp:E6},i6);let xo,up=!1;function c2(){return xo||(xo=rh(u2))}function f2(){return xo=up?xo:ih(u2),up=!0,xo}const Qo=(...e)=>{c2().render(...e)},mh=(...e)=>{f2().hydrate(...e)},vh=(...e)=>{const t=c2().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=h2(r);if(!i)return;const a=t._component;!Ae(a)&&!a.render&&!a.template&&(a.template=i.innerHTML),i.innerHTML="";const o=n(i,!1,i instanceof SVGElement);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},t},d2=(...e)=>{const t=f2().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=h2(r);if(i)return n(i,!0,i instanceof SVGElement)},t};function h2(e){return Le(e)?document.querySelector(e):e}let cp=!1;const p2=()=>{cp||(cp=!0,P6(),u6())},x6=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:zd,BaseTransitionPropsValidators:ju,Comment:Mt,EffectScope:Su,Fragment:tt,KeepAlive:c0,ReactiveEffect:Ji,Static:ei,Suspense:jd,Teleport:$u,Text:hr,Transition:fi,TransitionGroup:o2,VueElement:Tl,assertNumber:Jv,callWithAsyncErrorHandling:cn,callWithErrorHandling:fr,camelize:pt,capitalize:vi,cloneVNode:Wn,compatUtils:X0,computed:fe,createApp:vh,createBlock:mt,createCommentVNode:nt,createElementBlock:Pe,createElementVNode:Re,createHydrationRenderer:ih,createPropsRestProxy:T0,createRenderer:rh,createSSRApp:d2,createSlots:zu,createStaticVNode:j0,createTextVNode:Lr,createVNode:xe,customRef:Gv,defineAsyncComponent:u0,defineComponent:ut,defineCustomElement:hh,defineEmits:p0,defineExpose:m0,defineModel:y0,defineOptions:v0,defineProps:h0,defineSSRCustomElement:t2,defineSlots:g0,get devtools(){return Di},effect:Iv,effectScope:vl,getCurrentInstance:jt,getCurrentScope:eo,getTransitionRawChildren:El,guardReactiveProps:Zt,h:bi,handleError:gi,hasInjectionContext:th,hydrate:mh,initCustomFormatter:K0,initDirectivesForSSR:p2,inject:In,isMemoSame:fh,isProxy:Cu,isReactive:Un,isReadonly:si,isRef:Qe,isRuntimeOnly:$0,isShallow:Fa,isVNode:Pr,markRaw:cr,mergeDefaults:w0,mergeModels:O0,mergeProps:dn,nextTick:Ht,normalizeClass:_t,normalizeProps:$t,normalizeStyle:qt,onActivated:$d,onBeforeMount:qd,onBeforeUnmount:Dr,onBeforeUpdate:Bu,onDeactivated:Ud,onErrorCaptured:Yd,onMounted:mn,onRenderTracked:Gd,onRenderTriggered:Wd,onScopeDispose:gl,onServerPrefetch:Kd,onUnmounted:yi,onUpdated:Ol,openBlock:_e,popScopeId:Du,provide:eh,proxyRefs:Lu,pushScopeId:Ru,queuePostFlushCb:Ko,reactive:dr,readonly:yl,ref:be,registerRuntimeCompiler:sh,render:Qo,renderList:Qi,renderSlot:ht,resolveComponent:Fd,resolveDirective:Fu,resolveDynamicComponent:Ar,resolveFilter:Y0,resolveTransitionHooks:Zi,setBlockTracking:Ys,setDevtoolsHook:Md,setTransitionHooks:ui,shallowReactive:Vi,shallowReadonly:Uv,shallowRef:Pd,ssrContextKey:uh,ssrUtils:G0,stop:Mv,toDisplayString:Ln,toHandlerKey:Wi,toHandlers:Xo,toRaw:Me,toRef:bl,toRefs:Ld,toValue:Wv,transformVNodeArgs:F0,triggerRef:Kv,unref:Se,useAttrs:Jd,useCssModule:n2,useCssVars:Wu,useModel:_0,useSSRContext:ch,useSlots:Xd,useTransitionState:Hu,vModelCheckbox:Gu,vModelDynamic:Xu,vModelRadio:Yu,vModelSelect:ph,vModelText:Va,vShow:Nr,version:Ku,warn:Xv,watch:Ke,watchEffect:a0,watchPostEffect:Bd,watchSyncEffect:o0,withAsyncContext:Zd,withCtx:fn,withDefaults:b0,withDirectives:qn,withKeys:Ju,withMemo:W0,withModifiers:ta,withScopeId:xd},Symbol.toStringTag,{value:"Module"}));function gh(e){throw e}function m2(e){}function at(e,t,n,r){const i=e,a=new SyntaxError(String(i));return a.code=e,a.loc=t,a}const el=Symbol(""),Ro=Symbol(""),yh=Symbol(""),Zs=Symbol(""),v2=Symbol(""),na=Symbol(""),g2=Symbol(""),y2=Symbol(""),bh=Symbol(""),_h=Symbol(""),Sl=Symbol(""),Eh=Symbol(""),b2=Symbol(""),wh=Symbol(""),Qs=Symbol(""),Oh=Symbol(""),Th=Symbol(""),Sh=Symbol(""),Ah=Symbol(""),_2=Symbol(""),E2=Symbol(""),Zu=Symbol(""),eu=Symbol(""),Nh=Symbol(""),kh=Symbol(""),tl=Symbol(""),Al=Symbol(""),Ch=Symbol(""),If=Symbol(""),R6=Symbol(""),Mf=Symbol(""),tu=Symbol(""),D6=Symbol(""),F6=Symbol(""),Ph=Symbol(""),H6=Symbol(""),j6=Symbol(""),Lh=Symbol(""),w2=Symbol(""),za={[el]:"Fragment",[Ro]:"Teleport",[yh]:"Suspense",[Zs]:"KeepAlive",[v2]:"BaseTransition",[na]:"openBlock",[g2]:"createBlock",[y2]:"createElementBlock",[bh]:"createVNode",[_h]:"createElementVNode",[Sl]:"createCommentVNode",[Eh]:"createTextVNode",[b2]:"createStaticVNode",[wh]:"resolveComponent",[Qs]:"resolveDynamicComponent",[Oh]:"resolveDirective",[Th]:"resolveFilter",[Sh]:"withDirectives",[Ah]:"renderList",[_2]:"renderSlot",[E2]:"createSlots",[Zu]:"toDisplayString",[eu]:"mergeProps",[Nh]:"normalizeClass",[kh]:"normalizeStyle",[tl]:"normalizeProps",[Al]:"guardReactiveProps",[Ch]:"toHandlers",[If]:"camelize",[R6]:"capitalize",[Mf]:"toHandlerKey",[tu]:"setBlockTracking",[D6]:"pushScopeId",[F6]:"popScopeId",[Ph]:"withCtx",[H6]:"unref",[j6]:"isRef",[Lh]:"withMemo",[w2]:"isMemoSame"};function V6(e){Object.getOwnPropertySymbols(e).forEach(t=>{za[t]=e[t]})}const _n={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function B6(e,t=_n){return{type:0,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}function nl(e,t,n,r,i,a,o,l=!1,s=!1,u=!1,f=_n){return e&&(l?(e.helper(na),e.helper(qa(e.inSSR,u))):e.helper(Ua(e.inSSR,u)),o&&e.helper(Sh)),{type:13,tag:t,props:n,children:r,patchFlag:i,dynamicProps:a,directives:o,isBlock:l,disableTracking:s,isComponent:u,loc:f}}function Nl(e,t=_n){return{type:17,loc:t,elements:e}}function Cn(e,t=_n){return{type:15,loc:t,properties:e}}function dt(e,t){return{type:16,loc:_n,key:Le(e)?Ie(e,!0):e,value:t}}function Ie(e,t=!1,n=_n,r=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:r}}function Kn(e,t=_n){return{type:8,loc:t,children:e}}function yt(e,t=[],n=_n){return{type:14,loc:n,callee:e,arguments:t}}function $a(e,t=void 0,n=!1,r=!1,i=_n){return{type:18,params:e,returns:t,newline:n,isSlot:r,loc:i}}function xf(e,t,n,r=!0){return{type:19,test:e,consequent:t,alternate:n,newline:r,loc:_n}}function z6(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:_n}}function $6(e){return{type:21,body:e,loc:_n}}function Ua(e,t){return e||t?bh:_h}function qa(e,t){return e||t?g2:y2}function Ih(e,{helper:t,removeHelper:n,inSSR:r}){e.isBlock||(e.isBlock=!0,n(Ua(r,e.isComponent)),t(na),t(qa(r,e.isComponent)))}const un=e=>e.type===4&&e.isStatic,Na=(e,t)=>e===t||e===yn(t);function O2(e){if(Na(e,"Teleport"))return Ro;if(Na(e,"Suspense"))return yh;if(Na(e,"KeepAlive"))return Zs;if(Na(e,"BaseTransition"))return v2}const U6=/^\d|[^\$\w]/,Mh=e=>!U6.test(e),q6=/[A-Za-z_$\xA0-\uFFFF]/,K6=/[\.\?\w$\xA0-\uFFFF]/,W6=/\s+[.[]\s*|\s*[.[]\s+/g,G6=e=>{e=e.trim().replace(W6,o=>o.trim());let t=0,n=[],r=0,i=0,a=null;for(let o=0;o<e.length;o++){const l=e.charAt(o);switch(t){case 0:if(l==="[")n.push(t),t=1,r++;else if(l==="(")n.push(t),t=2,i++;else if(!(o===0?q6:K6).test(l))return!1;break;case 1:l==="'"||l==='"'||l==="`"?(n.push(t),t=3,a=l):l==="["?r++:l==="]"&&(--r||(t=n.pop()));break;case 2:if(l==="'"||l==='"'||l==="`")n.push(t),t=3,a=l;else if(l==="(")i++;else if(l===")"){if(o===e.length-1)return!1;--i||(t=n.pop())}break;case 3:l===a&&(t=n.pop(),a=null);break}}return!r&&!i},T2=G6;function S2(e,t,n){const i={source:e.source.slice(t,t+n),start:nu(e.start,e.source,t),end:e.end};return n!=null&&(i.end=nu(e.start,e.source,t+n)),i}function nu(e,t,n=t.length){return ru(Ue({},e),t,n)}function ru(e,t,n=t.length){let r=0,i=-1;for(let a=0;a<n;a++)t.charCodeAt(a)===10&&(r++,i=a);return e.offset+=n,e.line+=r,e.column=i===-1?e.column+n:n-i,e}function Nn(e,t,n=!1){for(let r=0;r<e.props.length;r++){const i=e.props[r];if(i.type===7&&(n||i.exp)&&(Le(t)?i.name===t:t.test(i.name)))return i}}function Qu(e,t,n=!1,r=!1){for(let i=0;i<e.props.length;i++){const a=e.props[i];if(a.type===6){if(n)continue;if(a.name===t&&(a.value||r))return a}else if(a.name==="bind"&&(a.exp||r)&&zi(a.arg,t))return a}}function zi(e,t){return!!(e&&un(e)&&e.content===t)}function Y6(e){return e.props.some(t=>t.type===7&&t.name==="bind"&&(!t.arg||t.arg.type!==4||!t.arg.isStatic))}function Xc(e){return e.type===5||e.type===2}function X6(e){return e.type===7&&e.name==="slot"}function iu(e){return e.type===1&&e.tagType===3}function au(e){return e.type===1&&e.tagType===2}const J6=new Set([tl,Al]);function A2(e,t=[]){if(e&&!Le(e)&&e.type===14){const n=e.callee;if(!Le(n)&&J6.has(n))return A2(e.arguments[0],t.concat(e))}return[e,t]}function ou(e,t,n){let r,i=e.type===13?e.props:e.arguments[2],a=[],o;if(i&&!Le(i)&&i.type===14){const l=A2(i);i=l[0],a=l[1],o=a[a.length-1]}if(i==null||Le(i))r=Cn([t]);else if(i.type===14){const l=i.arguments[0];!Le(l)&&l.type===15?fp(t,l)||l.properties.unshift(t):i.callee===Ch?r=yt(n.helper(eu),[Cn([t]),i]):i.arguments.unshift(Cn([t])),!r&&(r=i)}else i.type===15?(fp(t,i)||i.properties.unshift(t),r=i):(r=yt(n.helper(eu),[Cn([t]),i]),o&&o.callee===Al&&(o=a[a.length-2]));e.type===13?o?o.arguments[0]=r:e.props=r:o?o.arguments[0]=r:e.arguments[2]=r}function fp(e,t){let n=!1;if(e.key.type===4){const r=e.key.content;n=t.properties.some(i=>i.key.type===4&&i.key.content===r)}return n}function rl(e,t){return`_${t}_${e.replace(/[^\w]/g,(n,r)=>n==="-"?"_":e.charCodeAt(r).toString())}`}function Z6(e){return e.type===14&&e.callee===Lh?e.arguments[1].returns:e}function dp(e,t){const n=t.options?t.options.compatConfig:t.compatConfig,r=n&&n[e];return e==="MODE"?r||3:r}function Xi(e,t){const n=dp("MODE",t),r=dp(e,t);return n===3?r===!0:r!==!1}function il(e,t,n,...r){return Xi(e,t)}const Q6=/&(gt|lt|amp|apos|quot);/g,e3={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},hp={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:ks,isPreTag:ks,isCustomElement:ks,decodeEntities:e=>e.replace(Q6,(t,n)=>e3[n]),onError:gh,onWarn:m2,comments:!1};function t3(e,t={}){const n=n3(e,t),r=bn(n);return B6(xh(n,0,[]),Rn(n,r))}function n3(e,t){const n=Ue({},hp);let r;for(r in t)n[r]=t[r]===void 0?hp[r]:t[r];return{options:n,column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1,onWarn:n.onWarn}}function xh(e,t,n){const r=ec(n),i=r?r.ns:0,a=[];for(;!f3(e,t,n);){const l=e.source;let s;if(t===0||t===1){if(!e.inVPre&&Kt(l,e.options.delimiters[0]))s=u3(e,t);else if(t===0&&l[0]==="<")if(l.length===1)Ge(e,5,1);else if(l[1]==="!")Kt(l,"<!--")?s=i3(e):Kt(l,"<!DOCTYPE")?s=_o(e):Kt(l,"<![CDATA[")?i!==0?s=r3(e,n):(Ge(e,1),s=_o(e)):(Ge(e,11),s=_o(e));else if(l[1]==="/")if(l.length===2)Ge(e,5,2);else if(l[2]===">"){Ge(e,14,2),At(e,3);continue}else if(/[a-z]/i.test(l[2])){Ge(e,23),Rf(e,1,r);continue}else Ge(e,12,2),s=_o(e);else/[a-z]/i.test(l[1])?(s=a3(e,n),Xi("COMPILER_NATIVE_TEMPLATE",e)&&s&&s.tag==="template"&&!s.props.some(u=>u.type===7&&N2(u.name))&&(s=s.children)):l[1]==="?"?(Ge(e,21,1),s=_o(e)):Ge(e,12,1)}if(s||(s=c3(e,t)),me(s))for(let u=0;u<s.length;u++)pp(a,s[u]);else pp(a,s)}let o=!1;if(t!==2&&t!==1){const l=e.options.whitespace!=="preserve";for(let s=0;s<a.length;s++){const u=a[s];if(u.type===2)if(e.inPre)u.content=u.content.replace(/\r\n/g,`
2
2
  `);else if(/[^\t\r\n\f ]/.test(u.content))l&&(u.content=u.content.replace(/[\t\r\n\f ]+/g," "));else{const f=a[s-1],c=a[s+1];!f||!c||l&&(f.type===3&&c.type===3||f.type===3&&c.type===1||f.type===1&&c.type===3||f.type===1&&c.type===1&&/[\r\n]/.test(u.content))?(o=!0,a[s]=null):u.content=" "}else u.type===3&&!e.options.comments&&(o=!0,a[s]=null)}if(e.inPre&&r&&e.options.isPreTag(r.tag)){const s=a[0];s&&s.type===2&&(s.content=s.content.replace(/^\r?\n/,""))}}return o?a.filter(Boolean):a}function pp(e,t){if(t.type===2){const n=ec(e);if(n&&n.type===2&&n.loc.end.offset===t.loc.start.offset){n.content+=t.content,n.loc.end=t.loc.end,n.loc.source+=t.loc.source;return}}e.push(t)}function r3(e,t){At(e,9);const n=xh(e,3,t);return e.source.length===0?Ge(e,6):At(e,3),n}function i3(e){const t=bn(e);let n;const r=/--(\!)?>/.exec(e.source);if(!r)n=e.source.slice(4),At(e,e.source.length),Ge(e,7);else{r.index<=3&&Ge(e,0),r[1]&&Ge(e,10),n=e.source.slice(4,r.index);const i=e.source.slice(0,r.index);let a=1,o=0;for(;(o=i.indexOf("<!--",a))!==-1;)At(e,o-a+1),o+4<i.length&&Ge(e,16),a=o+1;At(e,r.index+r[0].length-a+1)}return{type:3,content:n,loc:Rn(e,t)}}function _o(e){const t=bn(e),n=e.source[1]==="?"?1:2;let r;const i=e.source.indexOf(">");return i===-1?(r=e.source.slice(n),At(e,e.source.length)):(r=e.source.slice(n,i),At(e,i+1)),{type:3,content:r,loc:Rn(e,t)}}function a3(e,t){const n=e.inPre,r=e.inVPre,i=ec(t),a=Rf(e,0,i),o=e.inPre&&!n,l=e.inVPre&&!r;if(a.isSelfClosing||e.options.isVoidTag(a.tag))return o&&(e.inPre=!1),l&&(e.inVPre=!1),a;t.push(a);const s=e.options.getTextMode(a,i),u=xh(e,s,t);t.pop();{const f=a.props.find(c=>c.type===6&&c.name==="inline-template");if(f&&il("COMPILER_INLINE_TEMPLATE",e,f.loc)){const c=Rn(e,a.loc.end);f.value={type:2,content:c.source,loc:c}}}if(a.children=u,Df(e.source,a.tag))Rf(e,1,i);else if(Ge(e,24,0,a.loc.start),e.source.length===0&&a.tag.toLowerCase()==="script"){const f=u[0];f&&Kt(f.loc.source,"<!--")&&Ge(e,8)}return a.loc=Rn(e,a.loc.start),o&&(e.inPre=!1),l&&(e.inVPre=!1),a}const N2=pn("if,else,else-if,for,slot");function Rf(e,t,n){const r=bn(e),i=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),a=i[1],o=e.options.getNamespace(a,n);At(e,i[0].length),al(e);const l=bn(e),s=e.source;e.options.isPreTag(a)&&(e.inPre=!0);let u=mp(e,t);t===0&&!e.inVPre&&u.some(d=>d.type===7&&d.name==="pre")&&(e.inVPre=!0,Ue(e,l),e.source=s,u=mp(e,t).filter(d=>d.name!=="v-pre"));let f=!1;if(e.source.length===0?Ge(e,9):(f=Kt(e.source,"/>"),t===1&&f&&Ge(e,4),At(e,f?2:1)),t===1)return;let c=0;return e.inVPre||(a==="slot"?c=2:a==="template"?u.some(d=>d.type===7&&N2(d.name))&&(c=3):o3(a,u,e)&&(c=1)),{type:1,ns:o,tag:a,tagType:c,props:u,isSelfClosing:f,children:[],loc:Rn(e,r),codegenNode:void 0}}function o3(e,t,n){const r=n.options;if(r.isCustomElement(e))return!1;if(e==="component"||/^[A-Z]/.test(e)||O2(e)||r.isBuiltInComponent&&r.isBuiltInComponent(e)||r.isNativeTag&&!r.isNativeTag(e))return!0;for(let i=0;i<t.length;i++){const a=t[i];if(a.type===6){if(a.name==="is"&&a.value){if(a.value.content.startsWith("vue:"))return!0;if(il("COMPILER_IS_ON_ELEMENT",n,a.loc))return!0}}else{if(a.name==="is")return!0;if(a.name==="bind"&&zi(a.arg,"is")&&il("COMPILER_IS_ON_ELEMENT",n,a.loc))return!0}}}function mp(e,t){const n=[],r=new Set;for(;e.source.length>0&&!Kt(e.source,">")&&!Kt(e.source,"/>");){if(Kt(e.source,"/")){Ge(e,22),At(e,1),al(e);continue}t===1&&Ge(e,3);const i=l3(e,r);i.type===6&&i.value&&i.name==="class"&&(i.value.content=i.value.content.replace(/\s+/g," ").trim()),t===0&&n.push(i),/^[^\t\r\n\f />]/.test(e.source)&&Ge(e,15),al(e)}return n}function l3(e,t){var n;const r=bn(e),a=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(e.source)[0];t.has(a)&&Ge(e,2),t.add(a),a[0]==="="&&Ge(e,19);{const s=/["'<]/g;let u;for(;u=s.exec(a);)Ge(e,17,u.index)}At(e,a.length);let o;/^[\t\r\n\f ]*=/.test(e.source)&&(al(e),At(e,1),al(e),o=s3(e),o||Ge(e,13));const l=Rn(e,r);if(!e.inVPre&&/^(v-[A-Za-z0-9-]|:|\.|@|#)/.test(a)){const s=/(?:^v-([a-z0-9-]+))?(?:(?::|^\.|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(a);let u=Kt(a,"."),f=s[1]||(u||Kt(a,":")?"bind":Kt(a,"@")?"on":"slot"),c;if(s[2]){const h=f==="slot",y=a.lastIndexOf(s[2],a.length-(((n=s[3])==null?void 0:n.length)||0)),g=Rn(e,vp(e,r,y),vp(e,r,y+s[2].length+(h&&s[3]||"").length));let _=s[2],m=!0;_.startsWith("[")?(m=!1,_.endsWith("]")?_=_.slice(1,_.length-1):(Ge(e,27),_=_.slice(1))):h&&(_+=s[3]||""),c={type:4,content:_,isStatic:m,constType:m?3:0,loc:g}}if(o&&o.isQuoted){const h=o.loc;h.start.offset++,h.start.column++,h.end=nu(h.start,o.content),h.source=h.source.slice(1,-1)}const d=s[3]?s[3].slice(1).split("."):[];return u&&d.push("prop"),f==="bind"&&c&&d.includes("sync")&&il("COMPILER_V_BIND_SYNC",e,l,c.loc.source)&&(f="model",d.splice(d.indexOf("sync"),1)),{type:7,name:f,exp:o&&{type:4,content:o.content,isStatic:!1,constType:0,loc:o.loc},arg:c,modifiers:d,loc:l}}return!e.inVPre&&Kt(a,"v-")&&Ge(e,26),{type:6,name:a,value:o&&{type:2,content:o.content,loc:o.loc},loc:l}}function s3(e){const t=bn(e);let n;const r=e.source[0],i=r==='"'||r==="'";if(i){At(e,1);const a=e.source.indexOf(r);a===-1?n=Do(e,e.source.length,4):(n=Do(e,a,4),At(e,1))}else{const a=/^[^\t\r\n\f >]+/.exec(e.source);if(!a)return;const o=/["'<=`]/g;let l;for(;l=o.exec(a[0]);)Ge(e,18,l.index);n=Do(e,a[0].length,4)}return{content:n,isQuoted:i,loc:Rn(e,t)}}function u3(e,t){const[n,r]=e.options.delimiters,i=e.source.indexOf(r,n.length);if(i===-1){Ge(e,25);return}const a=bn(e);At(e,n.length);const o=bn(e),l=bn(e),s=i-n.length,u=e.source.slice(0,s),f=Do(e,s,t),c=f.trim(),d=f.indexOf(c);d>0&&ru(o,u,d);const h=s-(f.length-c.length-d);return ru(l,u,h),At(e,r.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:c,loc:Rn(e,o,l)},loc:Rn(e,a)}}function c3(e,t){const n=t===3?["]]>"]:["<",e.options.delimiters[0]];let r=e.source.length;for(let o=0;o<n.length;o++){const l=e.source.indexOf(n[o],1);l!==-1&&r>l&&(r=l)}const i=bn(e);return{type:2,content:Do(e,r,t),loc:Rn(e,i)}}function Do(e,t,n){const r=e.source.slice(0,t);return At(e,t),n===2||n===3||!r.includes("&")?r:e.options.decodeEntities(r,n===4)}function bn(e){const{column:t,line:n,offset:r}=e;return{column:t,line:n,offset:r}}function Rn(e,t,n){return n=n||bn(e),{start:t,end:n,source:e.originalSource.slice(t.offset,n.offset)}}function ec(e){return e[e.length-1]}function Kt(e,t){return e.startsWith(t)}function At(e,t){const{source:n}=e;ru(e,n,t),e.source=n.slice(t)}function al(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&At(e,t[0].length)}function vp(e,t,n){return nu(t,e.originalSource.slice(t.offset,n),n)}function Ge(e,t,n,r=bn(e)){n&&(r.offset+=n,r.column+=n),e.options.onError(at(t,{start:r,end:r,source:""}))}function f3(e,t,n){const r=e.source;switch(t){case 0:if(Kt(r,"</")){for(let i=n.length-1;i>=0;--i)if(Df(r,n[i].tag))return!0}break;case 1:case 2:{const i=ec(n);if(i&&Df(r,i.tag))return!0;break}case 3:if(Kt(r,"]]>"))return!0;break}return!r}function Df(e,t){return Kt(e,"</")&&e.slice(2,2+t.length).toLowerCase()===t.toLowerCase()&&/[\t\r\n\f />]/.test(e[2+t.length]||">")}function d3(e,t){Ls(e,t,k2(e,e.children[0]))}function k2(e,t){const{children:n}=e;return n.length===1&&t.type===1&&!au(t)}function Ls(e,t,n=!1){const{children:r}=e,i=r.length;let a=0;for(let o=0;o<r.length;o++){const l=r[o];if(l.type===1&&l.tagType===0){const s=n?0:Pn(l,t);if(s>0){if(s>=2){l.codegenNode.patchFlag="-1",l.codegenNode=t.hoist(l.codegenNode),a++;continue}}else{const u=l.codegenNode;if(u.type===13){const f=I2(u);if((!f||f===512||f===1)&&P2(l,t)>=2){const c=L2(l);c&&(u.props=t.hoist(c))}u.dynamicProps&&(u.dynamicProps=t.hoist(u.dynamicProps))}}}if(l.type===1){const s=l.tagType===1;s&&t.scopes.vSlot++,Ls(l,t),s&&t.scopes.vSlot--}else if(l.type===11)Ls(l,t,l.children.length===1);else if(l.type===9)for(let s=0;s<l.branches.length;s++)Ls(l.branches[s],t,l.branches[s].children.length===1)}if(a&&t.transformHoist&&t.transformHoist(r,t,e),a&&a===i&&e.type===1&&e.tagType===0&&e.codegenNode&&e.codegenNode.type===13&&me(e.codegenNode.children)){const o=t.hoist(Nl(e.codegenNode.children));t.hmr&&(o.content=`[...${o.content}]`),e.codegenNode.children=o}}function Pn(e,t){const{constantCache:n}=t;switch(e.type){case 1:if(e.tagType!==0)return 0;const r=n.get(e);if(r!==void 0)return r;const i=e.codegenNode;if(i.type!==13||i.isBlock&&e.tag!=="svg"&&e.tag!=="foreignObject")return 0;if(I2(i))return n.set(e,0),0;{let l=3;const s=P2(e,t);if(s===0)return n.set(e,0),0;s<l&&(l=s);for(let u=0;u<e.children.length;u++){const f=Pn(e.children[u],t);if(f===0)return n.set(e,0),0;f<l&&(l=f)}if(l>1)for(let u=0;u<e.props.length;u++){const f=e.props[u];if(f.type===7&&f.name==="bind"&&f.exp){const c=Pn(f.exp,t);if(c===0)return n.set(e,0),0;c<l&&(l=c)}}if(i.isBlock){for(let u=0;u<e.props.length;u++)if(e.props[u].type===7)return n.set(e,0),0;t.removeHelper(na),t.removeHelper(qa(t.inSSR,i.isComponent)),i.isBlock=!1,t.helper(Ua(t.inSSR,i.isComponent))}return n.set(e,l),l}case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return Pn(e.content,t);case 4:return e.constType;case 8:let o=3;for(let l=0;l<e.children.length;l++){const s=e.children[l];if(Le(s)||Cr(s))continue;const u=Pn(s,t);if(u===0)return 0;u<o&&(o=u)}return o;default:return 0}}const h3=new Set([Nh,kh,tl,Al]);function C2(e,t){if(e.type===14&&!Le(e.callee)&&h3.has(e.callee)){const n=e.arguments[0];if(n.type===4)return Pn(n,t);if(n.type===14)return C2(n,t)}return 0}function P2(e,t){let n=3;const r=L2(e);if(r&&r.type===15){const{properties:i}=r;for(let a=0;a<i.length;a++){const{key:o,value:l}=i[a],s=Pn(o,t);if(s===0)return s;s<n&&(n=s);let u;if(l.type===4?u=Pn(l,t):l.type===14?u=C2(l,t):u=0,u===0)return u;u<n&&(n=u)}}return n}function L2(e){const t=e.codegenNode;if(t.type===13)return t.props}function I2(e){const t=e.patchFlag;return t?parseInt(t,10):void 0}function p3(e,{filename:t="",prefixIdentifiers:n=!1,hoistStatic:r=!1,hmr:i=!1,cacheHandlers:a=!1,nodeTransforms:o=[],directiveTransforms:l={},transformHoist:s=null,isBuiltInComponent:u=Qt,isCustomElement:f=Qt,expressionPlugins:c=[],scopeId:d=null,slotted:h=!0,ssr:y=!1,inSSR:g=!1,ssrCssVars:_="",bindingMetadata:m=Ye,inline:v=!1,isTS:b=!1,onError:p=gh,onWarn:E=m2,compatConfig:k}){const T=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),S={selfName:T&&vi(pt(T[1])),prefixIdentifiers:n,hoistStatic:r,hmr:i,cacheHandlers:a,nodeTransforms:o,directiveTransforms:l,transformHoist:s,isBuiltInComponent:u,isCustomElement:f,expressionPlugins:c,scopeId:d,slotted:h,ssr:y,inSSR:g,ssrCssVars:_,bindingMetadata:m,inline:v,isTS:b,onError:p,onWarn:E,compatConfig:k,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],constantCache:new WeakMap,temps:0,cached:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,currentNode:e,childIndex:0,inVOnce:!1,helper(P){const N=S.helpers.get(P)||0;return S.helpers.set(P,N+1),P},removeHelper(P){const N=S.helpers.get(P);if(N){const O=N-1;O?S.helpers.set(P,O):S.helpers.delete(P)}},helperString(P){return`_${za[S.helper(P)]}`},replaceNode(P){S.parent.children[S.childIndex]=S.currentNode=P},removeNode(P){const N=S.parent.children,O=P?N.indexOf(P):S.currentNode?S.childIndex:-1;!P||P===S.currentNode?(S.currentNode=null,S.onNodeRemoved()):S.childIndex>O&&(S.childIndex--,S.onNodeRemoved()),S.parent.children.splice(O,1)},onNodeRemoved:()=>{},addIdentifiers(P){},removeIdentifiers(P){},hoist(P){Le(P)&&(P=Ie(P)),S.hoists.push(P);const N=Ie(`_hoisted_${S.hoists.length}`,!1,P.loc,2);return N.hoisted=P,N},cache(P,N=!1){return z6(S.cached++,P,N)}};return S.filters=new Set,S}function m3(e,t){const n=p3(e,t);tc(e,n),t.hoistStatic&&d3(e,n),t.ssr||v3(e,n),e.helpers=new Set([...n.helpers.keys()]),e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached,e.filters=[...n.filters]}function v3(e,t){const{helper:n}=t,{children:r}=e;if(r.length===1){const i=r[0];if(k2(e,i)&&i.codegenNode){const a=i.codegenNode;a.type===13&&Ih(a,t),e.codegenNode=a}else e.codegenNode=i}else if(r.length>1){let i=64;e.codegenNode=nl(t,n(el),void 0,e.children,i+"",void 0,void 0,!0,void 0,!1)}}function g3(e,t){let n=0;const r=()=>{n--};for(;n<e.children.length;n++){const i=e.children[n];Le(i)||(t.parent=e,t.childIndex=n,t.onNodeRemoved=r,tc(i,t))}}function tc(e,t){t.currentNode=e;const{nodeTransforms:n}=t,r=[];for(let a=0;a<n.length;a++){const o=n[a](e,t);if(o&&(me(o)?r.push(...o):r.push(o)),t.currentNode)e=t.currentNode;else return}switch(e.type){case 3:t.ssr||t.helper(Sl);break;case 5:t.ssr||t.helper(Zu);break;case 9:for(let a=0;a<e.branches.length;a++)tc(e.branches[a],t);break;case 10:case 11:case 1:case 0:g3(e,t);break}t.currentNode=e;let i=r.length;for(;i--;)r[i]()}function M2(e,t){const n=Le(e)?r=>r===e:r=>e.test(r);return(r,i)=>{if(r.type===1){const{props:a}=r;if(r.tagType===3&&a.some(X6))return;const o=[];for(let l=0;l<a.length;l++){const s=a[l];if(s.type===7&&n(s.name)){a.splice(l,1),l--;const u=t(r,s,i);u&&o.push(u)}}return o}}}const nc="/*#__PURE__*/",x2=e=>`${za[e]}: _${za[e]}`;function gp(e,{mode:t="function",prefixIdentifiers:n=t==="module",sourceMap:r=!1,filename:i="template.vue.html",scopeId:a=null,optimizeImports:o=!1,runtimeGlobalName:l="Vue",runtimeModuleName:s="vue",ssrRuntimeModuleName:u="vue/server-renderer",ssr:f=!1,isTS:c=!1,inSSR:d=!1}){const h={mode:t,prefixIdentifiers:n,sourceMap:r,filename:i,scopeId:a,optimizeImports:o,runtimeGlobalName:l,runtimeModuleName:s,ssrRuntimeModuleName:u,ssr:f,isTS:c,inSSR:d,source:e.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(g){return`_${za[g]}`},push(g,_){h.code+=g},indent(){y(++h.indentLevel)},deindent(g=!1){g?--h.indentLevel:y(--h.indentLevel)},newline(){y(h.indentLevel)}};function y(g){h.push(`
3
3
  `+" ".repeat(g))}return h}function y3(e,t={}){const n=gp(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:r,push:i,prefixIdentifiers:a,indent:o,deindent:l,newline:s,scopeId:u,ssr:f}=n,c=Array.from(e.helpers),d=c.length>0,h=!a&&r!=="module",y=!1,g=y?gp(e,t):n;b3(e,g);const _=f?"ssrRender":"render",v=(f?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ");if(i(`function ${_}(${v}) {`),o(),h&&(i("with (_ctx) {"),o(),d&&(i(`const { ${c.map(x2).join(", ")} } = _Vue`),i(`
4
4
  `),s())),e.components.length&&(Jc(e.components,"component",n),(e.directives.length||e.temps>0)&&s()),e.directives.length&&(Jc(e.directives,"directive",n),e.temps>0&&s()),e.filters&&e.filters.length&&(s(),Jc(e.filters,"filter",n),s()),e.temps>0){i("let ");for(let b=0;b<e.temps;b++)i(`${b>0?", ":""}_temp${b}`)}return(e.components.length||e.directives.length||e.temps)&&(i(`
5
5
  `),s()),f||i("return "),e.codegenNode?Wt(e.codegenNode,n):i("null"),h&&(l(),i("}")),l(),i("}"),{ast:e,code:n.code,preamble:y?g.code:"",map:n.map?n.map.toJSON():void 0}}function b3(e,t){const{ssr:n,prefixIdentifiers:r,push:i,newline:a,runtimeModuleName:o,runtimeGlobalName:l,ssrRuntimeModuleName:s}=t,u=l,f=Array.from(e.helpers);if(f.length>0&&(i(`const _Vue = ${u}
6
6
  `),e.hoists.length)){const c=[bh,_h,Sl,Eh,b2].filter(d=>f.includes(d)).map(x2).join(", ");i(`const { ${c} } = _Vue
7
- `)}_3(e.hoists,t),a(),i("return ")}function Jc(e,t,{helper:n,push:r,newline:i,isTS:a}){const o=n(t==="filter"?Th:t==="component"?wh:Oh);for(let l=0;l<e.length;l++){let s=e[l];const u=s.endsWith("__self");u&&(s=s.slice(0,-6)),r(`const ${rl(s,t)} = ${o}(${JSON.stringify(s)}${u?", true":""})${a?"!":""}`),l<e.length-1&&i()}}function _3(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:r,helper:i,scopeId:a,mode:o}=t;r();for(let l=0;l<e.length;l++){const s=e[l];s&&(n(`const _hoisted_${l+1} = `),Wt(s,t),r())}t.pure=!1}function Rh(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),kl(e,t,n),n&&t.deindent(),t.push("]")}function kl(e,t,n=!1,r=!0){const{push:i,newline:a}=t;for(let o=0;o<e.length;o++){const l=e[o];Le(l)?i(l):me(l)?Rh(l,t):Wt(l,t),o<e.length-1&&(n?(r&&i(","),a()):r&&i(", "))}}function Wt(e,t){if(Le(e)){t.push(e);return}if(Cr(e)){t.push(t.helper(e));return}switch(e.type){case 1:case 9:case 11:Wt(e.codegenNode,t);break;case 2:E3(e,t);break;case 4:R2(e,t);break;case 5:w3(e,t);break;case 12:Wt(e.codegenNode,t);break;case 8:D2(e,t);break;case 3:T3(e,t);break;case 13:S3(e,t);break;case 14:N3(e,t);break;case 15:k3(e,t);break;case 17:C3(e,t);break;case 18:P3(e,t);break;case 19:L3(e,t);break;case 20:I3(e,t);break;case 21:kl(e.body,t,!0,!1);break}}function E3(e,t){t.push(JSON.stringify(e.content),e)}function R2(e,t){const{content:n,isStatic:r}=e;t.push(r?JSON.stringify(n):n,e)}function w3(e,t){const{push:n,helper:r,pure:i}=t;i&&n(nc),n(`${r(Zu)}(`),Wt(e.content,t),n(")")}function D2(e,t){for(let n=0;n<e.children.length;n++){const r=e.children[n];Le(r)?t.push(r):Wt(r,t)}}function O3(e,t){const{push:n}=t;if(e.type===8)n("["),D2(e,t),n("]");else if(e.isStatic){const r=Mh(e.content)?e.content:JSON.stringify(e.content);n(r,e)}else n(`[${e.content}]`,e)}function T3(e,t){const{push:n,helper:r,pure:i}=t;i&&n(nc),n(`${r(Sl)}(${JSON.stringify(e.content)})`,e)}function S3(e,t){const{push:n,helper:r,pure:i}=t,{tag:a,props:o,children:l,patchFlag:s,dynamicProps:u,directives:f,isBlock:c,disableTracking:d,isComponent:h}=e;f&&n(r(Sh)+"("),c&&n(`(${r(na)}(${d?"true":""}), `),i&&n(nc);const y=c?qa(t.inSSR,h):Ua(t.inSSR,h);n(r(y)+"(",e),kl(A3([a,o,l,s,u]),t),n(")"),c&&n(")"),f&&(n(", "),Wt(f,t),n(")"))}function A3(e){let t=e.length;for(;t--&&e[t]==null;);return e.slice(0,t+1).map(n=>n||"null")}function N3(e,t){const{push:n,helper:r,pure:i}=t,a=Le(e.callee)?e.callee:r(e.callee);i&&n(nc),n(a+"(",e),kl(e.arguments,t),n(")")}function k3(e,t){const{push:n,indent:r,deindent:i,newline:a}=t,{properties:o}=e;if(!o.length){n("{}",e);return}const l=o.length>1||!1;n(l?"{":"{ "),l&&r();for(let s=0;s<o.length;s++){const{key:u,value:f}=o[s];O3(u,t),n(": "),Wt(f,t),s<o.length-1&&(n(","),a())}l&&i(),n(l?"}":" }")}function C3(e,t){Rh(e.elements,t)}function P3(e,t){const{push:n,indent:r,deindent:i}=t,{params:a,returns:o,body:l,newline:s,isSlot:u}=e;u&&n(`_${za[Ph]}(`),n("(",e),me(a)?kl(a,t):a&&Wt(a,t),n(") => "),(s||l)&&(n("{"),r()),o?(s&&n("return "),me(o)?Rh(o,t):Wt(o,t)):l&&Wt(l,t),(s||l)&&(i(),n("}")),u&&(e.isNonScopedSlot&&n(", undefined, true"),n(")"))}function L3(e,t){const{test:n,consequent:r,alternate:i,newline:a}=e,{push:o,indent:l,deindent:s,newline:u}=t;if(n.type===4){const c=!Mh(n.content);c&&o("("),R2(n,t),c&&o(")")}else o("("),Wt(n,t),o(")");a&&l(),t.indentLevel++,a||o(" "),o("? "),Wt(r,t),t.indentLevel--,a&&u(),a||o(" "),o(": ");const f=i.type===19;f||t.indentLevel++,Wt(i,t),f||t.indentLevel--,a&&s(!0)}function I3(e,t){const{push:n,helper:r,indent:i,deindent:a,newline:o}=t;n(`_cache[${e.index}] || (`),e.isVNode&&(i(),n(`${r(tu)}(-1),`),o()),n(`_cache[${e.index}] = `),Wt(e.value,t),e.isVNode&&(n(","),o(),n(`${r(tu)}(1),`),o(),n(`_cache[${e.index}]`),a()),n(")")}new RegExp("\\b"+"arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield".split(",").join("\\b|\\b")+"\\b");const M3=M2(/^(if|else|else-if)$/,(e,t,n)=>x3(e,t,n,(r,i,a)=>{const o=n.parent.children;let l=o.indexOf(r),s=0;for(;l-->=0;){const u=o[l];u&&u.type===9&&(s+=u.branches.length)}return()=>{if(a)r.codegenNode=bp(i,s,n);else{const u=R3(r.codegenNode);u.alternate=bp(i,s+r.branches.length-1,n)}}}));function x3(e,t,n,r){if(t.name!=="else"&&(!t.exp||!t.exp.content.trim())){const i=t.exp?t.exp.loc:e.loc;n.onError(at(28,t.loc)),t.exp=Ie("true",!1,i)}if(t.name==="if"){const i=yp(e,t),a={type:9,loc:e.loc,branches:[i]};if(n.replaceNode(a),r)return r(a,i,!0)}else{const i=n.parent.children;let a=i.indexOf(e);for(;a-->=-1;){const o=i[a];if(o&&o.type===3){n.removeNode(o);continue}if(o&&o.type===2&&!o.content.trim().length){n.removeNode(o);continue}if(o&&o.type===9){t.name==="else-if"&&o.branches[o.branches.length-1].condition===void 0&&n.onError(at(30,e.loc)),n.removeNode();const l=yp(e,t);o.branches.push(l);const s=r&&r(o,l,!1);tc(l,n),s&&s(),n.currentNode=null}else n.onError(at(30,e.loc));break}}}function yp(e,t){const n=e.tagType===3;return{type:10,loc:e.loc,condition:t.name==="else"?void 0:t.exp,children:n&&!Nn(e,"for")?e.children:[e],userKey:Qu(e,"key"),isTemplateIf:n}}function bp(e,t,n){return e.condition?xf(e.condition,_p(e,t,n),yt(n.helper(Sl),['""',"true"])):_p(e,t,n)}function _p(e,t,n){const{helper:r}=n,i=dt("key",Ie(`${t}`,!1,_n,2)),{children:a}=e,o=a[0];if(a.length!==1||o.type!==1)if(a.length===1&&o.type===11){const s=o.codegenNode;return ou(s,i,n),s}else{let s=64;return nl(n,r(el),Cn([i]),a,s+"",void 0,void 0,!0,!1,!1,e.loc)}else{const s=o.codegenNode,u=Z6(s);return u.type===13&&Ih(u,n),ou(u,i,n),s}}function R3(e){for(;;)if(e.type===19)if(e.alternate.type===19)e=e.alternate;else return e;else e.type===20&&(e=e.value)}const D3=M2("for",(e,t,n)=>{const{helper:r,removeHelper:i}=n;return F3(e,t,n,a=>{const o=yt(r(Ah),[a.source]),l=iu(e),s=Nn(e,"memo"),u=Qu(e,"key"),f=u&&(u.type===6?Ie(u.value.content,!0):u.exp),c=u?dt("key",f):null,d=a.source.type===4&&a.source.constType>0,h=d?64:u?128:256;return a.codegenNode=nl(n,r(el),void 0,o,h+"",void 0,void 0,!0,!d,!1,e.loc),()=>{let y;const{children:g}=a,_=g.length!==1||g[0].type!==1,m=au(e)?e:l&&e.children.length===1&&au(e.children[0])?e.children[0]:null;if(m?(y=m.codegenNode,l&&c&&ou(y,c,n)):_?y=nl(n,r(el),c?Cn([c]):void 0,e.children,"64",void 0,void 0,!0,void 0,!1):(y=g[0].codegenNode,l&&c&&ou(y,c,n),y.isBlock!==!d&&(y.isBlock?(i(na),i(qa(n.inSSR,y.isComponent))):i(Ua(n.inSSR,y.isComponent))),y.isBlock=!d,y.isBlock?(r(na),r(qa(n.inSSR,y.isComponent))):r(Ua(n.inSSR,y.isComponent))),s){const v=$a(Ff(a.parseResult,[Ie("_cached")]));v.body=$6([Kn(["const _memo = (",s.exp,")"]),Kn(["if (_cached",...f?[" && _cached.key === ",f]:[],` && ${n.helperString(w2)}(_cached, _memo)) return _cached`]),Kn(["const _item = ",y]),Ie("_item.memo = _memo"),Ie("return _item")]),o.arguments.push(v,Ie("_cache"),Ie(String(n.cached++)))}else o.arguments.push($a(Ff(a.parseResult),y,!0))}})});function F3(e,t,n,r){if(!t.exp){n.onError(at(31,t.loc));return}const i=F2(t.exp);if(!i){n.onError(at(32,t.loc));return}const{addIdentifiers:a,removeIdentifiers:o,scopes:l}=n,{source:s,value:u,key:f,index:c}=i,d={type:11,loc:t.loc,source:s,valueAlias:u,keyAlias:f,objectIndexAlias:c,parseResult:i,children:iu(e)?e.children:[e]};n.replaceNode(d),l.vFor++;const h=r&&r(d);return()=>{l.vFor--,h&&h()}}const H3=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Ep=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,j3=/^\(|\)$/g;function F2(e,t){const n=e.loc,r=e.content,i=r.match(H3);if(!i)return;const[,a,o]=i,l={source:os(n,o.trim(),r.indexOf(o,a.length)),value:void 0,key:void 0,index:void 0};let s=a.trim().replace(j3,"").trim();const u=a.indexOf(s),f=s.match(Ep);if(f){s=s.replace(Ep,"").trim();const c=f[1].trim();let d;if(c&&(d=r.indexOf(c,u+s.length),l.key=os(n,c,d)),f[2]){const h=f[2].trim();h&&(l.index=os(n,h,r.indexOf(h,l.key?d+c.length:u+s.length)))}}return s&&(l.value=os(n,s,u)),l}function os(e,t,n){return Ie(t,!1,S2(e,n,t.length))}function Ff({value:e,key:t,index:n},r=[]){return V3([e,t,n,...r])}function V3(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map((n,r)=>n||Ie("_".repeat(r+1),!1))}const wp=Ie("undefined",!1),B3=(e,t)=>{if(e.type===1&&(e.tagType===1||e.tagType===3)){const n=Nn(e,"slot");if(n)return n.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},z3=(e,t,n,r)=>$a(e,n,!1,!0,n.length?n[0].loc:r);function $3(e,t,n=z3){t.helper(Ph);const{children:r,loc:i}=e,a=[],o=[];let l=t.scopes.vSlot>0||t.scopes.vFor>0;const s=Nn(e,"slot",!0);if(s){const{arg:_,exp:m}=s;_&&!un(_)&&(l=!0),a.push(dt(_||Ie("default",!0),n(m,void 0,r,i)))}let u=!1,f=!1;const c=[],d=new Set;let h=0;for(let _=0;_<r.length;_++){const m=r[_];let v;if(!iu(m)||!(v=Nn(m,"slot",!0))){m.type!==3&&c.push(m);continue}if(s){t.onError(at(37,v.loc));break}u=!0;const{children:b,loc:p}=m,{arg:E=Ie("default",!0),exp:k,loc:T}=v;let S;un(E)?S=E?E.content:"default":l=!0;const P=Nn(m,"for"),N=n(k,P?.exp,b,p);let O,w;if(O=Nn(m,"if"))l=!0,o.push(xf(O.exp,ls(E,N,h++),wp));else if(w=Nn(m,/^else(-if)?$/,!0)){let C=_,I;for(;C--&&(I=r[C],I.type===3););if(I&&iu(I)&&Nn(I,"if")){r.splice(_,1),_--;let D=o[o.length-1];for(;D.alternate.type===19;)D=D.alternate;D.alternate=w.exp?xf(w.exp,ls(E,N,h++),wp):ls(E,N,h++)}else t.onError(at(30,w.loc))}else if(P){l=!0;const C=P.parseResult||F2(P.exp);C?o.push(yt(t.helper(Ah),[C.source,$a(Ff(C),ls(E,N),!0)])):t.onError(at(32,P.loc))}else{if(S){if(d.has(S)){t.onError(at(38,T));continue}d.add(S),S==="default"&&(f=!0)}a.push(dt(E,N))}}if(!s){const _=(m,v)=>{const b=n(m,void 0,v,i);return t.compatConfig&&(b.isNonScopedSlot=!0),dt("default",b)};u?c.length&&c.some(m=>H2(m))&&(f?t.onError(at(39,c[0].loc)):a.push(_(void 0,c))):a.push(_(void 0,r))}const y=l?2:Is(e.children)?3:1;let g=Cn(a.concat(dt("_",Ie(y+"",!1))),i);return o.length&&(g=yt(t.helper(E2),[g,Nl(o)])),{slots:g,hasDynamicSlots:l}}function ls(e,t,n){const r=[dt("name",e),dt("fn",t)];return n!=null&&r.push(dt("key",Ie(String(n),!0))),Cn(r)}function Is(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(n.tagType===2||Is(n.children))return!0;break;case 9:if(Is(n.branches))return!0;break;case 10:case 11:if(Is(n.children))return!0;break}}return!1}function H2(e){return e.type!==2&&e.type!==12?!0:e.type===2?!!e.content.trim():H2(e.content)}const j2=new WeakMap,U3=(e,t)=>function(){if(e=t.currentNode,!(e.type===1&&(e.tagType===0||e.tagType===1)))return;const{tag:r,props:i}=e,a=e.tagType===1;let o=a?q3(e,t):`"${r}"`;const l=Je(o)&&o.callee===Qs;let s,u,f,c=0,d,h,y,g=l||o===Ro||o===yh||!a&&(r==="svg"||r==="foreignObject");if(i.length>0){const _=V2(e,t,void 0,a,l);s=_.props,c=_.patchFlag,h=_.dynamicPropNames;const m=_.directives;y=m&&m.length?Nl(m.map(v=>W3(v,t))):void 0,_.shouldUseBlock&&(g=!0)}if(e.children.length>0)if(o===Zs&&(g=!0,c|=1024),a&&o!==Ro&&o!==Zs){const{slots:m,hasDynamicSlots:v}=$3(e,t);u=m,v&&(c|=1024)}else if(e.children.length===1&&o!==Ro){const m=e.children[0],v=m.type,b=v===5||v===8;b&&Pn(m,t)===0&&(c|=1),b||v===2?u=m:u=e.children}else u=e.children;c!==0&&(f=String(c),h&&h.length&&(d=G3(h))),e.codegenNode=nl(t,o,s,u,f,d,y,!!g,!1,a,e.loc)};function q3(e,t,n=!1){let{tag:r}=e;const i=Hf(r),a=Qu(e,"is");if(a)if(i||Xi("COMPILER_IS_ON_ELEMENT",t)){const s=a.type===6?a.value&&Ie(a.value.content,!0):a.exp;if(s)return yt(t.helper(Qs),[s])}else a.type===6&&a.value.content.startsWith("vue:")&&(r=a.value.content.slice(4));const o=!i&&Nn(e,"is");if(o&&o.exp)return yt(t.helper(Qs),[o.exp]);const l=O2(r)||t.isBuiltInComponent(r);return l?(n||t.helper(l),l):(t.helper(wh),t.components.add(r),rl(r,"component"))}function V2(e,t,n=e.props,r,i,a=!1){const{tag:o,loc:l,children:s}=e;let u=[];const f=[],c=[],d=s.length>0;let h=!1,y=0,g=!1,_=!1,m=!1,v=!1,b=!1,p=!1;const E=[],k=P=>{u.length&&(f.push(Cn(Op(u),l)),u=[]),P&&f.push(P)},T=({key:P,value:N})=>{if(un(P)){const O=P.content,w=sa(O);if(w&&(!r||i)&&O.toLowerCase()!=="onclick"&&O!=="onUpdate:modelValue"&&!Ki(O)&&(v=!0),w&&Ki(O)&&(p=!0),N.type===20||(N.type===4||N.type===8)&&Pn(N,t)>0)return;O==="ref"?g=!0:O==="class"?_=!0:O==="style"?m=!0:O!=="key"&&!E.includes(O)&&E.push(O),r&&(O==="class"||O==="style")&&!E.includes(O)&&E.push(O)}else b=!0};for(let P=0;P<n.length;P++){const N=n[P];if(N.type===6){const{loc:O,name:w,value:C}=N;let I=!0;if(w==="ref"&&(g=!0,t.scopes.vFor>0&&u.push(dt(Ie("ref_for",!0),Ie("true")))),w==="is"&&(Hf(o)||C&&C.content.startsWith("vue:")||Xi("COMPILER_IS_ON_ELEMENT",t)))continue;u.push(dt(Ie(w,!0,S2(O,0,w.length)),Ie(C?C.content:"",I,C?C.loc:O)))}else{const{name:O,arg:w,exp:C,loc:I}=N,D=O==="bind",V=O==="on";if(O==="slot"){r||t.onError(at(40,I));continue}if(O==="once"||O==="memo"||O==="is"||D&&zi(w,"is")&&(Hf(o)||Xi("COMPILER_IS_ON_ELEMENT",t))||V&&a)continue;if((D&&zi(w,"key")||V&&d&&zi(w,"vue:before-update"))&&(h=!0),D&&zi(w,"ref")&&t.scopes.vFor>0&&u.push(dt(Ie("ref_for",!0),Ie("true"))),!w&&(D||V)){if(b=!0,C)if(D){if(k(),Xi("COMPILER_V_BIND_OBJECT_ORDER",t)){f.unshift(C);continue}f.push(C)}else k({type:14,loc:I,callee:t.helper(Ch),arguments:r?[C]:[C,"true"]});else t.onError(at(D?34:35,I));continue}const q=t.directiveTransforms[O];if(q){const{props:te,needRuntime:K}=q(N,e,t);!a&&te.forEach(T),V&&w&&!un(w)?k(Cn(te,l)):u.push(...te),K&&(c.push(N),Cr(K)&&j2.set(N,K))}else Eb(O)||(c.push(N),d&&(h=!0))}}let S;if(f.length?(k(),f.length>1?S=yt(t.helper(eu),f,l):S=f[0]):u.length&&(S=Cn(Op(u),l)),b?y|=16:(_&&!r&&(y|=2),m&&!r&&(y|=4),E.length&&(y|=8),v&&(y|=32)),!h&&(y===0||y===32)&&(g||p||c.length>0)&&(y|=512),!t.inSSR&&S)switch(S.type){case 15:let P=-1,N=-1,O=!1;for(let I=0;I<S.properties.length;I++){const D=S.properties[I].key;un(D)?D.content==="class"?P=I:D.content==="style"&&(N=I):D.isHandlerKey||(O=!0)}const w=S.properties[P],C=S.properties[N];O?S=yt(t.helper(tl),[S]):(w&&!un(w.value)&&(w.value=yt(t.helper(Nh),[w.value])),C&&(m||C.value.type===4&&C.value.content.trim()[0]==="["||C.value.type===17)&&(C.value=yt(t.helper(kh),[C.value])));break;case 14:break;default:S=yt(t.helper(tl),[yt(t.helper(Al),[S])]);break}return{props:S,directives:c,patchFlag:y,dynamicPropNames:E,shouldUseBlock:h}}function Op(e){const t=new Map,n=[];for(let r=0;r<e.length;r++){const i=e[r];if(i.key.type===8||!i.key.isStatic){n.push(i);continue}const a=i.key.content,o=t.get(a);o?(a==="style"||a==="class"||sa(a))&&K3(o,i):(t.set(a,i),n.push(i))}return n}function K3(e,t){e.value.type===17?e.value.elements.push(t.value):e.value=Nl([e.value,t.value],e.loc)}function W3(e,t){const n=[],r=j2.get(e);r?n.push(t.helperString(r)):(t.helper(Oh),t.directives.add(e.name),n.push(rl(e.name,"directive")));const{loc:i}=e;if(e.exp&&n.push(e.exp),e.arg&&(e.exp||n.push("void 0"),n.push(e.arg)),Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const a=Ie("true",!1,i);n.push(Cn(e.modifiers.map(o=>dt(o,a)),i))}return Nl(n,e.loc)}function G3(e){let t="[";for(let n=0,r=e.length;n<r;n++)t+=JSON.stringify(e[n]),n<r-1&&(t+=", ");return t+"]"}function Hf(e){return e==="component"||e==="Component"}const Y3=(e,t)=>{if(au(e)){const{children:n,loc:r}=e,{slotName:i,slotProps:a}=X3(e,t),o=[t.prefixIdentifiers?"_ctx.$slots":"$slots",i,"{}","undefined","true"];let l=2;a&&(o[2]=a,l=3),n.length&&(o[3]=$a([],n,!1,!1,r),l=4),t.scopeId&&!t.slotted&&(l=5),o.splice(l),e.codegenNode=yt(t.helper(_2),o,r)}};function X3(e,t){let n='"default"',r;const i=[];for(let a=0;a<e.props.length;a++){const o=e.props[a];o.type===6?o.value&&(o.name==="name"?n=JSON.stringify(o.value.content):(o.name=pt(o.name),i.push(o))):o.name==="bind"&&zi(o.arg,"name")?o.exp&&(n=o.exp):(o.name==="bind"&&o.arg&&un(o.arg)&&(o.arg.content=pt(o.arg.content)),i.push(o))}if(i.length>0){const{props:a,directives:o}=V2(e,t,i,!1,!1);r=a,o.length&&t.onError(at(36,o[0].loc))}return{slotName:n,slotProps:r}}const J3=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,B2=(e,t,n,r)=>{const{loc:i,modifiers:a,arg:o}=e;!e.exp&&!a.length&&n.onError(at(35,i));let l;if(o.type===4)if(o.isStatic){let c=o.content;c.startsWith("vue:")&&(c=`vnode-${c.slice(4)}`);const d=t.tagType!==0||c.startsWith("vnode")||!/[A-Z]/.test(c)?Wi(pt(c)):`on:${c}`;l=Ie(d,!0,o.loc)}else l=Kn([`${n.helperString(Mf)}(`,o,")"]);else l=o,l.children.unshift(`${n.helperString(Mf)}(`),l.children.push(")");let s=e.exp;s&&!s.content.trim()&&(s=void 0);let u=n.cacheHandlers&&!s&&!n.inVOnce;if(s){const c=T2(s.content),d=!(c||J3.test(s.content)),h=s.content.includes(";");(d||u&&c)&&(s=Kn([`${d?"$event":"(...args)"} => ${h?"{":"("}`,s,h?"}":")"]))}let f={props:[dt(l,s||Ie("() => {}",!1,i))]};return r&&(f=r(f)),u&&(f.props[0].value=n.cache(f.props[0].value)),f.props.forEach(c=>c.key.isHandlerKey=!0),f},Z3=(e,t,n)=>{const{exp:r,modifiers:i,loc:a}=e,o=e.arg;return o.type!==4?(o.children.unshift("("),o.children.push(') || ""')):o.isStatic||(o.content=`${o.content} || ""`),i.includes("camel")&&(o.type===4?o.isStatic?o.content=pt(o.content):o.content=`${n.helperString(If)}(${o.content})`:(o.children.unshift(`${n.helperString(If)}(`),o.children.push(")"))),n.inSSR||(i.includes("prop")&&Tp(o,"."),i.includes("attr")&&Tp(o,"^")),!r||r.type===4&&!r.content.trim()?(n.onError(at(34,a)),{props:[dt(o,Ie("",!0,a))]}):{props:[dt(o,r)]}},Tp=(e,t)=>{e.type===4?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},Q3=(e,t)=>{if(e.type===0||e.type===1||e.type===11||e.type===10)return()=>{const n=e.children;let r,i=!1;for(let a=0;a<n.length;a++){const o=n[a];if(Xc(o)){i=!0;for(let l=a+1;l<n.length;l++){const s=n[l];if(Xc(s))r||(r=n[a]=Kn([o],o.loc)),r.children.push(" + ",s),n.splice(l,1),l--;else{r=void 0;break}}}}if(!(!i||n.length===1&&(e.type===0||e.type===1&&e.tagType===0&&!e.props.find(a=>a.type===7&&!t.directiveTransforms[a.name])&&e.tag!=="template")))for(let a=0;a<n.length;a++){const o=n[a];if(Xc(o)||o.type===8){const l=[];(o.type!==2||o.content!==" ")&&l.push(o),!t.ssr&&Pn(o,t)===0&&l.push("1"),n[a]={type:12,content:o,loc:o.loc,codegenNode:yt(t.helper(Eh),l)}}}}},Sp=new WeakSet,e8=(e,t)=>{if(e.type===1&&Nn(e,"once",!0))return Sp.has(e)||t.inVOnce||t.inSSR?void 0:(Sp.add(e),t.inVOnce=!0,t.helper(tu),()=>{t.inVOnce=!1;const n=t.currentNode;n.codegenNode&&(n.codegenNode=t.cache(n.codegenNode,!0))})},z2=(e,t,n)=>{const{exp:r,arg:i}=e;if(!r)return n.onError(at(41,e.loc)),ss();const a=r.loc.source,o=r.type===4?r.content:a,l=n.bindingMetadata[a];if(l==="props"||l==="props-aliased")return n.onError(at(44,r.loc)),ss();const s=!1;if(!o.trim()||!T2(o)&&!s)return n.onError(at(42,r.loc)),ss();const u=i||Ie("modelValue",!0),f=i?un(i)?`onUpdate:${pt(i.content)}`:Kn(['"onUpdate:" + ',i]):"onUpdate:modelValue";let c;const d=n.isTS?"($event: any)":"$event";c=Kn([`${d} => ((`,r,") = $event)"]);const h=[dt(u,e.exp),dt(f,c)];if(e.modifiers.length&&t.tagType===1){const y=e.modifiers.map(_=>(Mh(_)?_:JSON.stringify(_))+": true").join(", "),g=i?un(i)?`${i.content}Modifiers`:Kn([i,' + "Modifiers"']):"modelModifiers";h.push(dt(g,Ie(`{ ${y} }`,!1,e.loc,2)))}return ss(h)};function ss(e=[]){return{props:e}}const t8=/[\w).+\-_$\]]/,n8=(e,t)=>{Xi("COMPILER_FILTER",t)&&(e.type===5&&lu(e.content,t),e.type===1&&e.props.forEach(n=>{n.type===7&&n.name!=="for"&&n.exp&&lu(n.exp,t)}))};function lu(e,t){if(e.type===4)Ap(e,t);else for(let n=0;n<e.children.length;n++){const r=e.children[n];typeof r=="object"&&(r.type===4?Ap(r,t):r.type===8?lu(e,t):r.type===5&&lu(r.content,t))}}function Ap(e,t){const n=e.content;let r=!1,i=!1,a=!1,o=!1,l=0,s=0,u=0,f=0,c,d,h,y,g=[];for(h=0;h<n.length;h++)if(d=c,c=n.charCodeAt(h),r)c===39&&d!==92&&(r=!1);else if(i)c===34&&d!==92&&(i=!1);else if(a)c===96&&d!==92&&(a=!1);else if(o)c===47&&d!==92&&(o=!1);else if(c===124&&n.charCodeAt(h+1)!==124&&n.charCodeAt(h-1)!==124&&!l&&!s&&!u)y===void 0?(f=h+1,y=n.slice(0,h).trim()):_();else{switch(c){case 34:i=!0;break;case 39:r=!0;break;case 96:a=!0;break;case 40:u++;break;case 41:u--;break;case 91:s++;break;case 93:s--;break;case 123:l++;break;case 125:l--;break}if(c===47){let m=h-1,v;for(;m>=0&&(v=n.charAt(m),v===" ");m--);(!v||!t8.test(v))&&(o=!0)}}y===void 0?y=n.slice(0,h).trim():f!==0&&_();function _(){g.push(n.slice(f,h).trim()),f=h+1}if(g.length){for(h=0;h<g.length;h++)y=r8(y,g[h],t);e.content=y}}function r8(e,t,n){n.helper(Th);const r=t.indexOf("(");if(r<0)return n.filters.add(t),`${rl(t,"filter")}(${e})`;{const i=t.slice(0,r),a=t.slice(r+1);return n.filters.add(i),`${rl(i,"filter")}(${e}${a!==")"?","+a:a}`}}const Np=new WeakSet,i8=(e,t)=>{if(e.type===1){const n=Nn(e,"memo");return!n||Np.has(e)?void 0:(Np.add(e),()=>{const r=e.codegenNode||t.currentNode.codegenNode;r&&r.type===13&&(e.tagType!==1&&Ih(r,t),e.codegenNode=yt(t.helper(Lh),[n.exp,$a(void 0,r),"_cache",String(t.cached++)]))})}};function a8(e){return[[e8,M3,i8,D3,n8,Y3,U3,B3,Q3],{on:B2,bind:Z3,model:z2}]}function o8(e,t={}){const n=t.onError||gh,r=t.mode==="module";t.prefixIdentifiers===!0?n(at(47)):r&&n(at(48));const i=!1;t.cacheHandlers&&n(at(49)),t.scopeId&&!r&&n(at(50));const a=Le(e)?t3(e,t):e,[o,l]=a8();return m3(a,Ue({},t,{prefixIdentifiers:i,nodeTransforms:[...o,...t.nodeTransforms||[]],directiveTransforms:Ue({},l,t.directiveTransforms||{})})),y3(a,Ue({},t,{prefixIdentifiers:i}))}const l8=()=>({props:[]}),$2=Symbol(""),U2=Symbol(""),q2=Symbol(""),K2=Symbol(""),jf=Symbol(""),W2=Symbol(""),G2=Symbol(""),Y2=Symbol(""),X2=Symbol(""),J2=Symbol("");V6({[$2]:"vModelRadio",[U2]:"vModelCheckbox",[q2]:"vModelText",[K2]:"vModelSelect",[jf]:"vModelDynamic",[W2]:"withModifiers",[G2]:"withKeys",[Y2]:"vShow",[X2]:"Transition",[J2]:"TransitionGroup"});let wa;function s8(e,t=!1){return wa||(wa=document.createElement("div")),t?(wa.innerHTML=`<div foo="${e.replace(/"/g,"&quot;")}">`,wa.children[0].getAttribute("foo")):(wa.innerHTML=e,wa.textContent)}const u8=pn("style,iframe,script,noscript",!0),c8={isVoidTag:xb,isNativeTag:e=>Ib(e)||Mb(e),isPreTag:e=>e==="pre",decodeEntities:s8,isBuiltInComponent:e=>{if(Na(e,"Transition"))return X2;if(Na(e,"TransitionGroup"))return J2},getNamespace(e,t){let n=t?t.ns:0;if(t&&n===2)if(t.tag==="annotation-xml"){if(e==="svg")return 1;t.props.some(r=>r.type===6&&r.name==="encoding"&&r.value!=null&&(r.value.content==="text/html"||r.value.content==="application/xhtml+xml"))&&(n=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&e!=="mglyph"&&e!=="malignmark"&&(n=0);else t&&n===1&&(t.tag==="foreignObject"||t.tag==="desc"||t.tag==="title")&&(n=0);if(n===0){if(e==="svg")return 1;if(e==="math")return 2}return n},getTextMode({tag:e,ns:t}){if(t===0){if(e==="textarea"||e==="title")return 1;if(u8(e))return 2}return 0}},f8=e=>{e.type===1&&e.props.forEach((t,n)=>{t.type===6&&t.name==="style"&&t.value&&(e.props[n]={type:7,name:"bind",arg:Ie("style",!0,t.loc),exp:d8(t.value.content,t.loc),modifiers:[],loc:t.loc})})},d8=(e,t)=>{const n=Av(e);return Ie(JSON.stringify(n),!1,t,3)};function ni(e,t){return at(e,t)}const h8=(e,t,n)=>{const{exp:r,loc:i}=e;return r||n.onError(ni(53,i)),t.children.length&&(n.onError(ni(54,i)),t.children.length=0),{props:[dt(Ie("innerHTML",!0,i),r||Ie("",!0))]}},p8=(e,t,n)=>{const{exp:r,loc:i}=e;return r||n.onError(ni(55,i)),t.children.length&&(n.onError(ni(56,i)),t.children.length=0),{props:[dt(Ie("textContent",!0),r?Pn(r,n)>0?r:yt(n.helperString(Zu),[r],i):Ie("",!0))]}},m8=(e,t,n)=>{const r=z2(e,t,n);if(!r.props.length||t.tagType===1)return r;e.arg&&n.onError(ni(58,e.arg.loc));const{tag:i}=t,a=n.isCustomElement(i);if(i==="input"||i==="textarea"||i==="select"||a){let o=q2,l=!1;if(i==="input"||a){const s=Qu(t,"type");if(s){if(s.type===7)o=jf;else if(s.value)switch(s.value.content){case"radio":o=$2;break;case"checkbox":o=U2;break;case"file":l=!0,n.onError(ni(59,e.loc));break}}else Y6(t)&&(o=jf)}else i==="select"&&(o=K2);l||(r.needRuntime=n.helper(o))}else n.onError(ni(57,e.loc));return r.props=r.props.filter(o=>!(o.key.type===4&&o.key.content==="modelValue")),r},v8=pn("passive,once,capture"),g8=pn("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),y8=pn("left,right"),Z2=pn("onkeyup,onkeydown,onkeypress",!0),b8=(e,t,n,r)=>{const i=[],a=[],o=[];for(let l=0;l<t.length;l++){const s=t[l];s==="native"&&il("COMPILER_V_ON_NATIVE",n)||v8(s)?o.push(s):y8(s)?un(e)?Z2(e.content)?i.push(s):a.push(s):(i.push(s),a.push(s)):g8(s)?a.push(s):i.push(s)}return{keyModifiers:i,nonKeyModifiers:a,eventOptionModifiers:o}},kp=(e,t)=>un(e)&&e.content.toLowerCase()==="onclick"?Ie(t,!0):e.type!==4?Kn(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,_8=(e,t,n)=>B2(e,t,n,r=>{const{modifiers:i}=e;if(!i.length)return r;let{key:a,value:o}=r.props[0];const{keyModifiers:l,nonKeyModifiers:s,eventOptionModifiers:u}=b8(a,i,n,e.loc);if(s.includes("right")&&(a=kp(a,"onContextmenu")),s.includes("middle")&&(a=kp(a,"onMouseup")),s.length&&(o=yt(n.helper(W2),[o,JSON.stringify(s)])),l.length&&(!un(a)||Z2(a.content))&&(o=yt(n.helper(G2),[o,JSON.stringify(l)])),u.length){const f=u.map(vi).join("");a=un(a)?Ie(`${a.content}${f}`,!0):Kn(["(",a,`) + "${f}"`])}return{props:[dt(a,o)]}}),E8=(e,t,n)=>{const{exp:r,loc:i}=e;return r||n.onError(ni(61,i)),{props:[],needRuntime:n.helper(Y2)}},w8=(e,t)=>{e.type===1&&e.tagType===0&&(e.tag==="script"||e.tag==="style")&&t.removeNode()},O8=[f8],T8={cloak:l8,html:h8,text:p8,model:m8,on:_8,show:E8};function S8(e,t={}){return o8(e,Ue({},c8,t,{nodeTransforms:[w8,...O8,...t.nodeTransforms||[]],directiveTransforms:Ue({},T8,t.directiveTransforms||{}),transformHoist:null}))}const Cp=Object.create(null);function Q2(e,t){if(!Le(e))if(e.nodeType)e=e.innerHTML;else return Qt;const n=e,r=Cp[n];if(r)return r;if(e[0]==="#"){const l=document.querySelector(e);e=l?l.innerHTML:""}const i=Ue({hoistStatic:!0,onError:void 0,onWarn:Qt},t);!i.isCustomElement&&typeof customElements<"u"&&(i.isCustomElement=l=>!!customElements.get(l));const{code:a}=S8(e,i),o=new Function("Vue",a)(x6);return o._rc=!0,Cp[n]=o}sh(Q2);const A8=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:zd,BaseTransitionPropsValidators:ju,Comment:Mt,EffectScope:Su,Fragment:tt,KeepAlive:c0,ReactiveEffect:Ji,Static:ei,Suspense:jd,Teleport:$u,Text:hr,Transition:fi,TransitionGroup:o2,VueElement:Tl,assertNumber:Jv,callWithAsyncErrorHandling:cn,callWithErrorHandling:fr,camelize:pt,capitalize:vi,cloneVNode:Wn,compatUtils:X0,compile:Q2,computed:fe,createApp:vh,createBlock:mt,createCommentVNode:nt,createElementBlock:Pe,createElementVNode:Re,createHydrationRenderer:ih,createPropsRestProxy:T0,createRenderer:rh,createSSRApp:d2,createSlots:zu,createStaticVNode:j0,createTextVNode:Lr,createVNode:xe,customRef:Gv,defineAsyncComponent:u0,defineComponent:ut,defineCustomElement:hh,defineEmits:p0,defineExpose:m0,defineModel:y0,defineOptions:v0,defineProps:h0,defineSSRCustomElement:t2,defineSlots:g0,get devtools(){return Di},effect:Iv,effectScope:vl,getCurrentInstance:jt,getCurrentScope:eo,getTransitionRawChildren:El,guardReactiveProps:Zt,h:bi,handleError:gi,hasInjectionContext:th,hydrate:mh,initCustomFormatter:K0,initDirectivesForSSR:p2,inject:In,isMemoSame:fh,isProxy:Cu,isReactive:Un,isReadonly:si,isRef:Qe,isRuntimeOnly:$0,isShallow:Fa,isVNode:Pr,markRaw:cr,mergeDefaults:w0,mergeModels:O0,mergeProps:dn,nextTick:Ht,normalizeClass:_t,normalizeProps:$t,normalizeStyle:qt,onActivated:$d,onBeforeMount:qd,onBeforeUnmount:Dr,onBeforeUpdate:Bu,onDeactivated:Ud,onErrorCaptured:Yd,onMounted:mn,onRenderTracked:Gd,onRenderTriggered:Wd,onScopeDispose:gl,onServerPrefetch:Kd,onUnmounted:yi,onUpdated:Ol,openBlock:_e,popScopeId:Du,provide:eh,proxyRefs:Lu,pushScopeId:Ru,queuePostFlushCb:Ko,reactive:dr,readonly:yl,ref:be,registerRuntimeCompiler:sh,render:Qo,renderList:Qi,renderSlot:ht,resolveComponent:Fd,resolveDirective:Fu,resolveDynamicComponent:Ar,resolveFilter:Y0,resolveTransitionHooks:Zi,setBlockTracking:Ys,setDevtoolsHook:Md,setTransitionHooks:ui,shallowReactive:Vi,shallowReadonly:Uv,shallowRef:Pd,ssrContextKey:uh,ssrUtils:G0,stop:Mv,toDisplayString:Ln,toHandlerKey:Wi,toHandlers:Xo,toRaw:Me,toRef:bl,toRefs:Ld,toValue:Wv,transformVNodeArgs:F0,triggerRef:Kv,unref:Se,useAttrs:Jd,useCssModule:n2,useCssVars:Wu,useModel:_0,useSSRContext:ch,useSlots:Xd,useTransitionState:Hu,vModelCheckbox:Gu,vModelDynamic:Xu,vModelRadio:Yu,vModelSelect:ph,vModelText:Va,vShow:Nr,version:Ku,warn:Xv,watch:Ke,watchEffect:a0,watchPostEffect:Bd,watchSyncEffect:o0,withAsyncContext:Zd,withCtx:fn,withDefaults:b0,withDirectives:qn,withKeys:Ju,withMemo:W0,withModifiers:ta,withScopeId:xd},Symbol.toStringTag,{value:"Module"}));var N8=!1;/*!
7
+ `)}_3(e.hoists,t),a(),i("return ")}function Jc(e,t,{helper:n,push:r,newline:i,isTS:a}){const o=n(t==="filter"?Th:t==="component"?wh:Oh);for(let l=0;l<e.length;l++){let s=e[l];const u=s.endsWith("__self");u&&(s=s.slice(0,-6)),r(`const ${rl(s,t)} = ${o}(${JSON.stringify(s)}${u?", true":""})${a?"!":""}`),l<e.length-1&&i()}}function _3(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:r,helper:i,scopeId:a,mode:o}=t;r();for(let l=0;l<e.length;l++){const s=e[l];s&&(n(`const _hoisted_${l+1} = `),Wt(s,t),r())}t.pure=!1}function Rh(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),kl(e,t,n),n&&t.deindent(),t.push("]")}function kl(e,t,n=!1,r=!0){const{push:i,newline:a}=t;for(let o=0;o<e.length;o++){const l=e[o];Le(l)?i(l):me(l)?Rh(l,t):Wt(l,t),o<e.length-1&&(n?(r&&i(","),a()):r&&i(", "))}}function Wt(e,t){if(Le(e)){t.push(e);return}if(Cr(e)){t.push(t.helper(e));return}switch(e.type){case 1:case 9:case 11:Wt(e.codegenNode,t);break;case 2:E3(e,t);break;case 4:R2(e,t);break;case 5:w3(e,t);break;case 12:Wt(e.codegenNode,t);break;case 8:D2(e,t);break;case 3:T3(e,t);break;case 13:S3(e,t);break;case 14:N3(e,t);break;case 15:k3(e,t);break;case 17:C3(e,t);break;case 18:P3(e,t);break;case 19:L3(e,t);break;case 20:I3(e,t);break;case 21:kl(e.body,t,!0,!1);break}}function E3(e,t){t.push(JSON.stringify(e.content),e)}function R2(e,t){const{content:n,isStatic:r}=e;t.push(r?JSON.stringify(n):n,e)}function w3(e,t){const{push:n,helper:r,pure:i}=t;i&&n(nc),n(`${r(Zu)}(`),Wt(e.content,t),n(")")}function D2(e,t){for(let n=0;n<e.children.length;n++){const r=e.children[n];Le(r)?t.push(r):Wt(r,t)}}function O3(e,t){const{push:n}=t;if(e.type===8)n("["),D2(e,t),n("]");else if(e.isStatic){const r=Mh(e.content)?e.content:JSON.stringify(e.content);n(r,e)}else n(`[${e.content}]`,e)}function T3(e,t){const{push:n,helper:r,pure:i}=t;i&&n(nc),n(`${r(Sl)}(${JSON.stringify(e.content)})`,e)}function S3(e,t){const{push:n,helper:r,pure:i}=t,{tag:a,props:o,children:l,patchFlag:s,dynamicProps:u,directives:f,isBlock:c,disableTracking:d,isComponent:h}=e;f&&n(r(Sh)+"("),c&&n(`(${r(na)}(${d?"true":""}), `),i&&n(nc);const y=c?qa(t.inSSR,h):Ua(t.inSSR,h);n(r(y)+"(",e),kl(A3([a,o,l,s,u]),t),n(")"),c&&n(")"),f&&(n(", "),Wt(f,t),n(")"))}function A3(e){let t=e.length;for(;t--&&e[t]==null;);return e.slice(0,t+1).map(n=>n||"null")}function N3(e,t){const{push:n,helper:r,pure:i}=t,a=Le(e.callee)?e.callee:r(e.callee);i&&n(nc),n(a+"(",e),kl(e.arguments,t),n(")")}function k3(e,t){const{push:n,indent:r,deindent:i,newline:a}=t,{properties:o}=e;if(!o.length){n("{}",e);return}const l=o.length>1||!1;n(l?"{":"{ "),l&&r();for(let s=0;s<o.length;s++){const{key:u,value:f}=o[s];O3(u,t),n(": "),Wt(f,t),s<o.length-1&&(n(","),a())}l&&i(),n(l?"}":" }")}function C3(e,t){Rh(e.elements,t)}function P3(e,t){const{push:n,indent:r,deindent:i}=t,{params:a,returns:o,body:l,newline:s,isSlot:u}=e;u&&n(`_${za[Ph]}(`),n("(",e),me(a)?kl(a,t):a&&Wt(a,t),n(") => "),(s||l)&&(n("{"),r()),o?(s&&n("return "),me(o)?Rh(o,t):Wt(o,t)):l&&Wt(l,t),(s||l)&&(i(),n("}")),u&&(e.isNonScopedSlot&&n(", undefined, true"),n(")"))}function L3(e,t){const{test:n,consequent:r,alternate:i,newline:a}=e,{push:o,indent:l,deindent:s,newline:u}=t;if(n.type===4){const c=!Mh(n.content);c&&o("("),R2(n,t),c&&o(")")}else o("("),Wt(n,t),o(")");a&&l(),t.indentLevel++,a||o(" "),o("? "),Wt(r,t),t.indentLevel--,a&&u(),a||o(" "),o(": ");const f=i.type===19;f||t.indentLevel++,Wt(i,t),f||t.indentLevel--,a&&s(!0)}function I3(e,t){const{push:n,helper:r,indent:i,deindent:a,newline:o}=t;n(`_cache[${e.index}] || (`),e.isVNode&&(i(),n(`${r(tu)}(-1),`),o()),n(`_cache[${e.index}] = `),Wt(e.value,t),e.isVNode&&(n(","),o(),n(`${r(tu)}(1),`),o(),n(`_cache[${e.index}]`),a()),n(")")}new RegExp("\\b"+"arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield".split(",").join("\\b|\\b")+"\\b");const M3=M2(/^(if|else|else-if)$/,(e,t,n)=>x3(e,t,n,(r,i,a)=>{const o=n.parent.children;let l=o.indexOf(r),s=0;for(;l-->=0;){const u=o[l];u&&u.type===9&&(s+=u.branches.length)}return()=>{if(a)r.codegenNode=bp(i,s,n);else{const u=R3(r.codegenNode);u.alternate=bp(i,s+r.branches.length-1,n)}}}));function x3(e,t,n,r){if(t.name!=="else"&&(!t.exp||!t.exp.content.trim())){const i=t.exp?t.exp.loc:e.loc;n.onError(at(28,t.loc)),t.exp=Ie("true",!1,i)}if(t.name==="if"){const i=yp(e,t),a={type:9,loc:e.loc,branches:[i]};if(n.replaceNode(a),r)return r(a,i,!0)}else{const i=n.parent.children;let a=i.indexOf(e);for(;a-->=-1;){const o=i[a];if(o&&o.type===3){n.removeNode(o);continue}if(o&&o.type===2&&!o.content.trim().length){n.removeNode(o);continue}if(o&&o.type===9){t.name==="else-if"&&o.branches[o.branches.length-1].condition===void 0&&n.onError(at(30,e.loc)),n.removeNode();const l=yp(e,t);o.branches.push(l);const s=r&&r(o,l,!1);tc(l,n),s&&s(),n.currentNode=null}else n.onError(at(30,e.loc));break}}}function yp(e,t){const n=e.tagType===3;return{type:10,loc:e.loc,condition:t.name==="else"?void 0:t.exp,children:n&&!Nn(e,"for")?e.children:[e],userKey:Qu(e,"key"),isTemplateIf:n}}function bp(e,t,n){return e.condition?xf(e.condition,_p(e,t,n),yt(n.helper(Sl),['""',"true"])):_p(e,t,n)}function _p(e,t,n){const{helper:r}=n,i=dt("key",Ie(`${t}`,!1,_n,2)),{children:a}=e,o=a[0];if(a.length!==1||o.type!==1)if(a.length===1&&o.type===11){const s=o.codegenNode;return ou(s,i,n),s}else{let s=64;return nl(n,r(el),Cn([i]),a,s+"",void 0,void 0,!0,!1,!1,e.loc)}else{const s=o.codegenNode,u=Z6(s);return u.type===13&&Ih(u,n),ou(u,i,n),s}}function R3(e){for(;;)if(e.type===19)if(e.alternate.type===19)e=e.alternate;else return e;else e.type===20&&(e=e.value)}const D3=M2("for",(e,t,n)=>{const{helper:r,removeHelper:i}=n;return F3(e,t,n,a=>{const o=yt(r(Ah),[a.source]),l=iu(e),s=Nn(e,"memo"),u=Qu(e,"key"),f=u&&(u.type===6?Ie(u.value.content,!0):u.exp),c=u?dt("key",f):null,d=a.source.type===4&&a.source.constType>0,h=d?64:u?128:256;return a.codegenNode=nl(n,r(el),void 0,o,h+"",void 0,void 0,!0,!d,!1,e.loc),()=>{let y;const{children:g}=a,_=g.length!==1||g[0].type!==1,m=au(e)?e:l&&e.children.length===1&&au(e.children[0])?e.children[0]:null;if(m?(y=m.codegenNode,l&&c&&ou(y,c,n)):_?y=nl(n,r(el),c?Cn([c]):void 0,e.children,"64",void 0,void 0,!0,void 0,!1):(y=g[0].codegenNode,l&&c&&ou(y,c,n),y.isBlock!==!d&&(y.isBlock?(i(na),i(qa(n.inSSR,y.isComponent))):i(Ua(n.inSSR,y.isComponent))),y.isBlock=!d,y.isBlock?(r(na),r(qa(n.inSSR,y.isComponent))):r(Ua(n.inSSR,y.isComponent))),s){const v=$a(Ff(a.parseResult,[Ie("_cached")]));v.body=$6([Kn(["const _memo = (",s.exp,")"]),Kn(["if (_cached",...f?[" && _cached.key === ",f]:[],` && ${n.helperString(w2)}(_cached, _memo)) return _cached`]),Kn(["const _item = ",y]),Ie("_item.memo = _memo"),Ie("return _item")]),o.arguments.push(v,Ie("_cache"),Ie(String(n.cached++)))}else o.arguments.push($a(Ff(a.parseResult),y,!0))}})});function F3(e,t,n,r){if(!t.exp){n.onError(at(31,t.loc));return}const i=F2(t.exp);if(!i){n.onError(at(32,t.loc));return}const{addIdentifiers:a,removeIdentifiers:o,scopes:l}=n,{source:s,value:u,key:f,index:c}=i,d={type:11,loc:t.loc,source:s,valueAlias:u,keyAlias:f,objectIndexAlias:c,parseResult:i,children:iu(e)?e.children:[e]};n.replaceNode(d),l.vFor++;const h=r&&r(d);return()=>{l.vFor--,h&&h()}}const H3=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Ep=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,j3=/^\(|\)$/g;function F2(e,t){const n=e.loc,r=e.content,i=r.match(H3);if(!i)return;const[,a,o]=i,l={source:os(n,o.trim(),r.indexOf(o,a.length)),value:void 0,key:void 0,index:void 0};let s=a.trim().replace(j3,"").trim();const u=a.indexOf(s),f=s.match(Ep);if(f){s=s.replace(Ep,"").trim();const c=f[1].trim();let d;if(c&&(d=r.indexOf(c,u+s.length),l.key=os(n,c,d)),f[2]){const h=f[2].trim();h&&(l.index=os(n,h,r.indexOf(h,l.key?d+c.length:u+s.length)))}}return s&&(l.value=os(n,s,u)),l}function os(e,t,n){return Ie(t,!1,S2(e,n,t.length))}function Ff({value:e,key:t,index:n},r=[]){return V3([e,t,n,...r])}function V3(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map((n,r)=>n||Ie("_".repeat(r+1),!1))}const wp=Ie("undefined",!1),B3=(e,t)=>{if(e.type===1&&(e.tagType===1||e.tagType===3)){const n=Nn(e,"slot");if(n)return n.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},z3=(e,t,n,r)=>$a(e,n,!1,!0,n.length?n[0].loc:r);function $3(e,t,n=z3){t.helper(Ph);const{children:r,loc:i}=e,a=[],o=[];let l=t.scopes.vSlot>0||t.scopes.vFor>0;const s=Nn(e,"slot",!0);if(s){const{arg:_,exp:m}=s;_&&!un(_)&&(l=!0),a.push(dt(_||Ie("default",!0),n(m,void 0,r,i)))}let u=!1,f=!1;const c=[],d=new Set;let h=0;for(let _=0;_<r.length;_++){const m=r[_];let v;if(!iu(m)||!(v=Nn(m,"slot",!0))){m.type!==3&&c.push(m);continue}if(s){t.onError(at(37,v.loc));break}u=!0;const{children:b,loc:p}=m,{arg:E=Ie("default",!0),exp:k,loc:T}=v;let S;un(E)?S=E?E.content:"default":l=!0;const P=Nn(m,"for"),N=n(k,P?.exp,b,p);let O,w;if(O=Nn(m,"if"))l=!0,o.push(xf(O.exp,ls(E,N,h++),wp));else if(w=Nn(m,/^else(-if)?$/,!0)){let C=_,I;for(;C--&&(I=r[C],I.type===3););if(I&&iu(I)&&Nn(I,"if")){r.splice(_,1),_--;let D=o[o.length-1];for(;D.alternate.type===19;)D=D.alternate;D.alternate=w.exp?xf(w.exp,ls(E,N,h++),wp):ls(E,N,h++)}else t.onError(at(30,w.loc))}else if(P){l=!0;const C=P.parseResult||F2(P.exp);C?o.push(yt(t.helper(Ah),[C.source,$a(Ff(C),ls(E,N),!0)])):t.onError(at(32,P.loc))}else{if(S){if(d.has(S)){t.onError(at(38,T));continue}d.add(S),S==="default"&&(f=!0)}a.push(dt(E,N))}}if(!s){const _=(m,v)=>{const b=n(m,void 0,v,i);return t.compatConfig&&(b.isNonScopedSlot=!0),dt("default",b)};u?c.length&&c.some(m=>H2(m))&&(f?t.onError(at(39,c[0].loc)):a.push(_(void 0,c))):a.push(_(void 0,r))}const y=l?2:Is(e.children)?3:1;let g=Cn(a.concat(dt("_",Ie(y+"",!1))),i);return o.length&&(g=yt(t.helper(E2),[g,Nl(o)])),{slots:g,hasDynamicSlots:l}}function ls(e,t,n){const r=[dt("name",e),dt("fn",t)];return n!=null&&r.push(dt("key",Ie(String(n),!0))),Cn(r)}function Is(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(n.tagType===2||Is(n.children))return!0;break;case 9:if(Is(n.branches))return!0;break;case 10:case 11:if(Is(n.children))return!0;break}}return!1}function H2(e){return e.type!==2&&e.type!==12?!0:e.type===2?!!e.content.trim():H2(e.content)}const j2=new WeakMap,U3=(e,t)=>function(){if(e=t.currentNode,!(e.type===1&&(e.tagType===0||e.tagType===1)))return;const{tag:r,props:i}=e,a=e.tagType===1;let o=a?q3(e,t):`"${r}"`;const l=Je(o)&&o.callee===Qs;let s,u,f,c=0,d,h,y,g=l||o===Ro||o===yh||!a&&(r==="svg"||r==="foreignObject");if(i.length>0){const _=V2(e,t,void 0,a,l);s=_.props,c=_.patchFlag,h=_.dynamicPropNames;const m=_.directives;y=m&&m.length?Nl(m.map(v=>W3(v,t))):void 0,_.shouldUseBlock&&(g=!0)}if(e.children.length>0)if(o===Zs&&(g=!0,c|=1024),a&&o!==Ro&&o!==Zs){const{slots:m,hasDynamicSlots:v}=$3(e,t);u=m,v&&(c|=1024)}else if(e.children.length===1&&o!==Ro){const m=e.children[0],v=m.type,b=v===5||v===8;b&&Pn(m,t)===0&&(c|=1),b||v===2?u=m:u=e.children}else u=e.children;c!==0&&(f=String(c),h&&h.length&&(d=G3(h))),e.codegenNode=nl(t,o,s,u,f,d,y,!!g,!1,a,e.loc)};function q3(e,t,n=!1){let{tag:r}=e;const i=Hf(r),a=Qu(e,"is");if(a)if(i||Xi("COMPILER_IS_ON_ELEMENT",t)){const s=a.type===6?a.value&&Ie(a.value.content,!0):a.exp;if(s)return yt(t.helper(Qs),[s])}else a.type===6&&a.value.content.startsWith("vue:")&&(r=a.value.content.slice(4));const o=!i&&Nn(e,"is");if(o&&o.exp)return yt(t.helper(Qs),[o.exp]);const l=O2(r)||t.isBuiltInComponent(r);return l?(n||t.helper(l),l):(t.helper(wh),t.components.add(r),rl(r,"component"))}function V2(e,t,n=e.props,r,i,a=!1){const{tag:o,loc:l,children:s}=e;let u=[];const f=[],c=[],d=s.length>0;let h=!1,y=0,g=!1,_=!1,m=!1,v=!1,b=!1,p=!1;const E=[],k=P=>{u.length&&(f.push(Cn(Op(u),l)),u=[]),P&&f.push(P)},T=({key:P,value:N})=>{if(un(P)){const O=P.content,w=sa(O);if(w&&(!r||i)&&O.toLowerCase()!=="onclick"&&O!=="onUpdate:modelValue"&&!Ki(O)&&(v=!0),w&&Ki(O)&&(p=!0),N.type===20||(N.type===4||N.type===8)&&Pn(N,t)>0)return;O==="ref"?g=!0:O==="class"?_=!0:O==="style"?m=!0:O!=="key"&&!E.includes(O)&&E.push(O),r&&(O==="class"||O==="style")&&!E.includes(O)&&E.push(O)}else b=!0};for(let P=0;P<n.length;P++){const N=n[P];if(N.type===6){const{loc:O,name:w,value:C}=N;let I=!0;if(w==="ref"&&(g=!0,t.scopes.vFor>0&&u.push(dt(Ie("ref_for",!0),Ie("true")))),w==="is"&&(Hf(o)||C&&C.content.startsWith("vue:")||Xi("COMPILER_IS_ON_ELEMENT",t)))continue;u.push(dt(Ie(w,!0,S2(O,0,w.length)),Ie(C?C.content:"",I,C?C.loc:O)))}else{const{name:O,arg:w,exp:C,loc:I}=N,D=O==="bind",V=O==="on";if(O==="slot"){r||t.onError(at(40,I));continue}if(O==="once"||O==="memo"||O==="is"||D&&zi(w,"is")&&(Hf(o)||Xi("COMPILER_IS_ON_ELEMENT",t))||V&&a)continue;if((D&&zi(w,"key")||V&&d&&zi(w,"vue:before-update"))&&(h=!0),D&&zi(w,"ref")&&t.scopes.vFor>0&&u.push(dt(Ie("ref_for",!0),Ie("true"))),!w&&(D||V)){if(b=!0,C)if(D){if(k(),Xi("COMPILER_V_BIND_OBJECT_ORDER",t)){f.unshift(C);continue}f.push(C)}else k({type:14,loc:I,callee:t.helper(Ch),arguments:r?[C]:[C,"true"]});else t.onError(at(D?34:35,I));continue}const U=t.directiveTransforms[O];if(U){const{props:te,needRuntime:K}=U(N,e,t);!a&&te.forEach(T),V&&w&&!un(w)?k(Cn(te,l)):u.push(...te),K&&(c.push(N),Cr(K)&&j2.set(N,K))}else Eb(O)||(c.push(N),d&&(h=!0))}}let S;if(f.length?(k(),f.length>1?S=yt(t.helper(eu),f,l):S=f[0]):u.length&&(S=Cn(Op(u),l)),b?y|=16:(_&&!r&&(y|=2),m&&!r&&(y|=4),E.length&&(y|=8),v&&(y|=32)),!h&&(y===0||y===32)&&(g||p||c.length>0)&&(y|=512),!t.inSSR&&S)switch(S.type){case 15:let P=-1,N=-1,O=!1;for(let I=0;I<S.properties.length;I++){const D=S.properties[I].key;un(D)?D.content==="class"?P=I:D.content==="style"&&(N=I):D.isHandlerKey||(O=!0)}const w=S.properties[P],C=S.properties[N];O?S=yt(t.helper(tl),[S]):(w&&!un(w.value)&&(w.value=yt(t.helper(Nh),[w.value])),C&&(m||C.value.type===4&&C.value.content.trim()[0]==="["||C.value.type===17)&&(C.value=yt(t.helper(kh),[C.value])));break;case 14:break;default:S=yt(t.helper(tl),[yt(t.helper(Al),[S])]);break}return{props:S,directives:c,patchFlag:y,dynamicPropNames:E,shouldUseBlock:h}}function Op(e){const t=new Map,n=[];for(let r=0;r<e.length;r++){const i=e[r];if(i.key.type===8||!i.key.isStatic){n.push(i);continue}const a=i.key.content,o=t.get(a);o?(a==="style"||a==="class"||sa(a))&&K3(o,i):(t.set(a,i),n.push(i))}return n}function K3(e,t){e.value.type===17?e.value.elements.push(t.value):e.value=Nl([e.value,t.value],e.loc)}function W3(e,t){const n=[],r=j2.get(e);r?n.push(t.helperString(r)):(t.helper(Oh),t.directives.add(e.name),n.push(rl(e.name,"directive")));const{loc:i}=e;if(e.exp&&n.push(e.exp),e.arg&&(e.exp||n.push("void 0"),n.push(e.arg)),Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const a=Ie("true",!1,i);n.push(Cn(e.modifiers.map(o=>dt(o,a)),i))}return Nl(n,e.loc)}function G3(e){let t="[";for(let n=0,r=e.length;n<r;n++)t+=JSON.stringify(e[n]),n<r-1&&(t+=", ");return t+"]"}function Hf(e){return e==="component"||e==="Component"}const Y3=(e,t)=>{if(au(e)){const{children:n,loc:r}=e,{slotName:i,slotProps:a}=X3(e,t),o=[t.prefixIdentifiers?"_ctx.$slots":"$slots",i,"{}","undefined","true"];let l=2;a&&(o[2]=a,l=3),n.length&&(o[3]=$a([],n,!1,!1,r),l=4),t.scopeId&&!t.slotted&&(l=5),o.splice(l),e.codegenNode=yt(t.helper(_2),o,r)}};function X3(e,t){let n='"default"',r;const i=[];for(let a=0;a<e.props.length;a++){const o=e.props[a];o.type===6?o.value&&(o.name==="name"?n=JSON.stringify(o.value.content):(o.name=pt(o.name),i.push(o))):o.name==="bind"&&zi(o.arg,"name")?o.exp&&(n=o.exp):(o.name==="bind"&&o.arg&&un(o.arg)&&(o.arg.content=pt(o.arg.content)),i.push(o))}if(i.length>0){const{props:a,directives:o}=V2(e,t,i,!1,!1);r=a,o.length&&t.onError(at(36,o[0].loc))}return{slotName:n,slotProps:r}}const J3=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,B2=(e,t,n,r)=>{const{loc:i,modifiers:a,arg:o}=e;!e.exp&&!a.length&&n.onError(at(35,i));let l;if(o.type===4)if(o.isStatic){let c=o.content;c.startsWith("vue:")&&(c=`vnode-${c.slice(4)}`);const d=t.tagType!==0||c.startsWith("vnode")||!/[A-Z]/.test(c)?Wi(pt(c)):`on:${c}`;l=Ie(d,!0,o.loc)}else l=Kn([`${n.helperString(Mf)}(`,o,")"]);else l=o,l.children.unshift(`${n.helperString(Mf)}(`),l.children.push(")");let s=e.exp;s&&!s.content.trim()&&(s=void 0);let u=n.cacheHandlers&&!s&&!n.inVOnce;if(s){const c=T2(s.content),d=!(c||J3.test(s.content)),h=s.content.includes(";");(d||u&&c)&&(s=Kn([`${d?"$event":"(...args)"} => ${h?"{":"("}`,s,h?"}":")"]))}let f={props:[dt(l,s||Ie("() => {}",!1,i))]};return r&&(f=r(f)),u&&(f.props[0].value=n.cache(f.props[0].value)),f.props.forEach(c=>c.key.isHandlerKey=!0),f},Z3=(e,t,n)=>{const{exp:r,modifiers:i,loc:a}=e,o=e.arg;return o.type!==4?(o.children.unshift("("),o.children.push(') || ""')):o.isStatic||(o.content=`${o.content} || ""`),i.includes("camel")&&(o.type===4?o.isStatic?o.content=pt(o.content):o.content=`${n.helperString(If)}(${o.content})`:(o.children.unshift(`${n.helperString(If)}(`),o.children.push(")"))),n.inSSR||(i.includes("prop")&&Tp(o,"."),i.includes("attr")&&Tp(o,"^")),!r||r.type===4&&!r.content.trim()?(n.onError(at(34,a)),{props:[dt(o,Ie("",!0,a))]}):{props:[dt(o,r)]}},Tp=(e,t)=>{e.type===4?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},Q3=(e,t)=>{if(e.type===0||e.type===1||e.type===11||e.type===10)return()=>{const n=e.children;let r,i=!1;for(let a=0;a<n.length;a++){const o=n[a];if(Xc(o)){i=!0;for(let l=a+1;l<n.length;l++){const s=n[l];if(Xc(s))r||(r=n[a]=Kn([o],o.loc)),r.children.push(" + ",s),n.splice(l,1),l--;else{r=void 0;break}}}}if(!(!i||n.length===1&&(e.type===0||e.type===1&&e.tagType===0&&!e.props.find(a=>a.type===7&&!t.directiveTransforms[a.name])&&e.tag!=="template")))for(let a=0;a<n.length;a++){const o=n[a];if(Xc(o)||o.type===8){const l=[];(o.type!==2||o.content!==" ")&&l.push(o),!t.ssr&&Pn(o,t)===0&&l.push("1"),n[a]={type:12,content:o,loc:o.loc,codegenNode:yt(t.helper(Eh),l)}}}}},Sp=new WeakSet,e8=(e,t)=>{if(e.type===1&&Nn(e,"once",!0))return Sp.has(e)||t.inVOnce||t.inSSR?void 0:(Sp.add(e),t.inVOnce=!0,t.helper(tu),()=>{t.inVOnce=!1;const n=t.currentNode;n.codegenNode&&(n.codegenNode=t.cache(n.codegenNode,!0))})},z2=(e,t,n)=>{const{exp:r,arg:i}=e;if(!r)return n.onError(at(41,e.loc)),ss();const a=r.loc.source,o=r.type===4?r.content:a,l=n.bindingMetadata[a];if(l==="props"||l==="props-aliased")return n.onError(at(44,r.loc)),ss();const s=!1;if(!o.trim()||!T2(o)&&!s)return n.onError(at(42,r.loc)),ss();const u=i||Ie("modelValue",!0),f=i?un(i)?`onUpdate:${pt(i.content)}`:Kn(['"onUpdate:" + ',i]):"onUpdate:modelValue";let c;const d=n.isTS?"($event: any)":"$event";c=Kn([`${d} => ((`,r,") = $event)"]);const h=[dt(u,e.exp),dt(f,c)];if(e.modifiers.length&&t.tagType===1){const y=e.modifiers.map(_=>(Mh(_)?_:JSON.stringify(_))+": true").join(", "),g=i?un(i)?`${i.content}Modifiers`:Kn([i,' + "Modifiers"']):"modelModifiers";h.push(dt(g,Ie(`{ ${y} }`,!1,e.loc,2)))}return ss(h)};function ss(e=[]){return{props:e}}const t8=/[\w).+\-_$\]]/,n8=(e,t)=>{Xi("COMPILER_FILTER",t)&&(e.type===5&&lu(e.content,t),e.type===1&&e.props.forEach(n=>{n.type===7&&n.name!=="for"&&n.exp&&lu(n.exp,t)}))};function lu(e,t){if(e.type===4)Ap(e,t);else for(let n=0;n<e.children.length;n++){const r=e.children[n];typeof r=="object"&&(r.type===4?Ap(r,t):r.type===8?lu(e,t):r.type===5&&lu(r.content,t))}}function Ap(e,t){const n=e.content;let r=!1,i=!1,a=!1,o=!1,l=0,s=0,u=0,f=0,c,d,h,y,g=[];for(h=0;h<n.length;h++)if(d=c,c=n.charCodeAt(h),r)c===39&&d!==92&&(r=!1);else if(i)c===34&&d!==92&&(i=!1);else if(a)c===96&&d!==92&&(a=!1);else if(o)c===47&&d!==92&&(o=!1);else if(c===124&&n.charCodeAt(h+1)!==124&&n.charCodeAt(h-1)!==124&&!l&&!s&&!u)y===void 0?(f=h+1,y=n.slice(0,h).trim()):_();else{switch(c){case 34:i=!0;break;case 39:r=!0;break;case 96:a=!0;break;case 40:u++;break;case 41:u--;break;case 91:s++;break;case 93:s--;break;case 123:l++;break;case 125:l--;break}if(c===47){let m=h-1,v;for(;m>=0&&(v=n.charAt(m),v===" ");m--);(!v||!t8.test(v))&&(o=!0)}}y===void 0?y=n.slice(0,h).trim():f!==0&&_();function _(){g.push(n.slice(f,h).trim()),f=h+1}if(g.length){for(h=0;h<g.length;h++)y=r8(y,g[h],t);e.content=y}}function r8(e,t,n){n.helper(Th);const r=t.indexOf("(");if(r<0)return n.filters.add(t),`${rl(t,"filter")}(${e})`;{const i=t.slice(0,r),a=t.slice(r+1);return n.filters.add(i),`${rl(i,"filter")}(${e}${a!==")"?","+a:a}`}}const Np=new WeakSet,i8=(e,t)=>{if(e.type===1){const n=Nn(e,"memo");return!n||Np.has(e)?void 0:(Np.add(e),()=>{const r=e.codegenNode||t.currentNode.codegenNode;r&&r.type===13&&(e.tagType!==1&&Ih(r,t),e.codegenNode=yt(t.helper(Lh),[n.exp,$a(void 0,r),"_cache",String(t.cached++)]))})}};function a8(e){return[[e8,M3,i8,D3,n8,Y3,U3,B3,Q3],{on:B2,bind:Z3,model:z2}]}function o8(e,t={}){const n=t.onError||gh,r=t.mode==="module";t.prefixIdentifiers===!0?n(at(47)):r&&n(at(48));const i=!1;t.cacheHandlers&&n(at(49)),t.scopeId&&!r&&n(at(50));const a=Le(e)?t3(e,t):e,[o,l]=a8();return m3(a,Ue({},t,{prefixIdentifiers:i,nodeTransforms:[...o,...t.nodeTransforms||[]],directiveTransforms:Ue({},l,t.directiveTransforms||{})})),y3(a,Ue({},t,{prefixIdentifiers:i}))}const l8=()=>({props:[]}),$2=Symbol(""),U2=Symbol(""),q2=Symbol(""),K2=Symbol(""),jf=Symbol(""),W2=Symbol(""),G2=Symbol(""),Y2=Symbol(""),X2=Symbol(""),J2=Symbol("");V6({[$2]:"vModelRadio",[U2]:"vModelCheckbox",[q2]:"vModelText",[K2]:"vModelSelect",[jf]:"vModelDynamic",[W2]:"withModifiers",[G2]:"withKeys",[Y2]:"vShow",[X2]:"Transition",[J2]:"TransitionGroup"});let wa;function s8(e,t=!1){return wa||(wa=document.createElement("div")),t?(wa.innerHTML=`<div foo="${e.replace(/"/g,"&quot;")}">`,wa.children[0].getAttribute("foo")):(wa.innerHTML=e,wa.textContent)}const u8=pn("style,iframe,script,noscript",!0),c8={isVoidTag:xb,isNativeTag:e=>Ib(e)||Mb(e),isPreTag:e=>e==="pre",decodeEntities:s8,isBuiltInComponent:e=>{if(Na(e,"Transition"))return X2;if(Na(e,"TransitionGroup"))return J2},getNamespace(e,t){let n=t?t.ns:0;if(t&&n===2)if(t.tag==="annotation-xml"){if(e==="svg")return 1;t.props.some(r=>r.type===6&&r.name==="encoding"&&r.value!=null&&(r.value.content==="text/html"||r.value.content==="application/xhtml+xml"))&&(n=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&e!=="mglyph"&&e!=="malignmark"&&(n=0);else t&&n===1&&(t.tag==="foreignObject"||t.tag==="desc"||t.tag==="title")&&(n=0);if(n===0){if(e==="svg")return 1;if(e==="math")return 2}return n},getTextMode({tag:e,ns:t}){if(t===0){if(e==="textarea"||e==="title")return 1;if(u8(e))return 2}return 0}},f8=e=>{e.type===1&&e.props.forEach((t,n)=>{t.type===6&&t.name==="style"&&t.value&&(e.props[n]={type:7,name:"bind",arg:Ie("style",!0,t.loc),exp:d8(t.value.content,t.loc),modifiers:[],loc:t.loc})})},d8=(e,t)=>{const n=Av(e);return Ie(JSON.stringify(n),!1,t,3)};function ni(e,t){return at(e,t)}const h8=(e,t,n)=>{const{exp:r,loc:i}=e;return r||n.onError(ni(53,i)),t.children.length&&(n.onError(ni(54,i)),t.children.length=0),{props:[dt(Ie("innerHTML",!0,i),r||Ie("",!0))]}},p8=(e,t,n)=>{const{exp:r,loc:i}=e;return r||n.onError(ni(55,i)),t.children.length&&(n.onError(ni(56,i)),t.children.length=0),{props:[dt(Ie("textContent",!0),r?Pn(r,n)>0?r:yt(n.helperString(Zu),[r],i):Ie("",!0))]}},m8=(e,t,n)=>{const r=z2(e,t,n);if(!r.props.length||t.tagType===1)return r;e.arg&&n.onError(ni(58,e.arg.loc));const{tag:i}=t,a=n.isCustomElement(i);if(i==="input"||i==="textarea"||i==="select"||a){let o=q2,l=!1;if(i==="input"||a){const s=Qu(t,"type");if(s){if(s.type===7)o=jf;else if(s.value)switch(s.value.content){case"radio":o=$2;break;case"checkbox":o=U2;break;case"file":l=!0,n.onError(ni(59,e.loc));break}}else Y6(t)&&(o=jf)}else i==="select"&&(o=K2);l||(r.needRuntime=n.helper(o))}else n.onError(ni(57,e.loc));return r.props=r.props.filter(o=>!(o.key.type===4&&o.key.content==="modelValue")),r},v8=pn("passive,once,capture"),g8=pn("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),y8=pn("left,right"),Z2=pn("onkeyup,onkeydown,onkeypress",!0),b8=(e,t,n,r)=>{const i=[],a=[],o=[];for(let l=0;l<t.length;l++){const s=t[l];s==="native"&&il("COMPILER_V_ON_NATIVE",n)||v8(s)?o.push(s):y8(s)?un(e)?Z2(e.content)?i.push(s):a.push(s):(i.push(s),a.push(s)):g8(s)?a.push(s):i.push(s)}return{keyModifiers:i,nonKeyModifiers:a,eventOptionModifiers:o}},kp=(e,t)=>un(e)&&e.content.toLowerCase()==="onclick"?Ie(t,!0):e.type!==4?Kn(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,_8=(e,t,n)=>B2(e,t,n,r=>{const{modifiers:i}=e;if(!i.length)return r;let{key:a,value:o}=r.props[0];const{keyModifiers:l,nonKeyModifiers:s,eventOptionModifiers:u}=b8(a,i,n,e.loc);if(s.includes("right")&&(a=kp(a,"onContextmenu")),s.includes("middle")&&(a=kp(a,"onMouseup")),s.length&&(o=yt(n.helper(W2),[o,JSON.stringify(s)])),l.length&&(!un(a)||Z2(a.content))&&(o=yt(n.helper(G2),[o,JSON.stringify(l)])),u.length){const f=u.map(vi).join("");a=un(a)?Ie(`${a.content}${f}`,!0):Kn(["(",a,`) + "${f}"`])}return{props:[dt(a,o)]}}),E8=(e,t,n)=>{const{exp:r,loc:i}=e;return r||n.onError(ni(61,i)),{props:[],needRuntime:n.helper(Y2)}},w8=(e,t)=>{e.type===1&&e.tagType===0&&(e.tag==="script"||e.tag==="style")&&t.removeNode()},O8=[f8],T8={cloak:l8,html:h8,text:p8,model:m8,on:_8,show:E8};function S8(e,t={}){return o8(e,Ue({},c8,t,{nodeTransforms:[w8,...O8,...t.nodeTransforms||[]],directiveTransforms:Ue({},T8,t.directiveTransforms||{}),transformHoist:null}))}const Cp=Object.create(null);function Q2(e,t){if(!Le(e))if(e.nodeType)e=e.innerHTML;else return Qt;const n=e,r=Cp[n];if(r)return r;if(e[0]==="#"){const l=document.querySelector(e);e=l?l.innerHTML:""}const i=Ue({hoistStatic:!0,onError:void 0,onWarn:Qt},t);!i.isCustomElement&&typeof customElements<"u"&&(i.isCustomElement=l=>!!customElements.get(l));const{code:a}=S8(e,i),o=new Function("Vue",a)(x6);return o._rc=!0,Cp[n]=o}sh(Q2);const A8=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:zd,BaseTransitionPropsValidators:ju,Comment:Mt,EffectScope:Su,Fragment:tt,KeepAlive:c0,ReactiveEffect:Ji,Static:ei,Suspense:jd,Teleport:$u,Text:hr,Transition:fi,TransitionGroup:o2,VueElement:Tl,assertNumber:Jv,callWithAsyncErrorHandling:cn,callWithErrorHandling:fr,camelize:pt,capitalize:vi,cloneVNode:Wn,compatUtils:X0,compile:Q2,computed:fe,createApp:vh,createBlock:mt,createCommentVNode:nt,createElementBlock:Pe,createElementVNode:Re,createHydrationRenderer:ih,createPropsRestProxy:T0,createRenderer:rh,createSSRApp:d2,createSlots:zu,createStaticVNode:j0,createTextVNode:Lr,createVNode:xe,customRef:Gv,defineAsyncComponent:u0,defineComponent:ut,defineCustomElement:hh,defineEmits:p0,defineExpose:m0,defineModel:y0,defineOptions:v0,defineProps:h0,defineSSRCustomElement:t2,defineSlots:g0,get devtools(){return Di},effect:Iv,effectScope:vl,getCurrentInstance:jt,getCurrentScope:eo,getTransitionRawChildren:El,guardReactiveProps:Zt,h:bi,handleError:gi,hasInjectionContext:th,hydrate:mh,initCustomFormatter:K0,initDirectivesForSSR:p2,inject:In,isMemoSame:fh,isProxy:Cu,isReactive:Un,isReadonly:si,isRef:Qe,isRuntimeOnly:$0,isShallow:Fa,isVNode:Pr,markRaw:cr,mergeDefaults:w0,mergeModels:O0,mergeProps:dn,nextTick:Ht,normalizeClass:_t,normalizeProps:$t,normalizeStyle:qt,onActivated:$d,onBeforeMount:qd,onBeforeUnmount:Dr,onBeforeUpdate:Bu,onDeactivated:Ud,onErrorCaptured:Yd,onMounted:mn,onRenderTracked:Gd,onRenderTriggered:Wd,onScopeDispose:gl,onServerPrefetch:Kd,onUnmounted:yi,onUpdated:Ol,openBlock:_e,popScopeId:Du,provide:eh,proxyRefs:Lu,pushScopeId:Ru,queuePostFlushCb:Ko,reactive:dr,readonly:yl,ref:be,registerRuntimeCompiler:sh,render:Qo,renderList:Qi,renderSlot:ht,resolveComponent:Fd,resolveDirective:Fu,resolveDynamicComponent:Ar,resolveFilter:Y0,resolveTransitionHooks:Zi,setBlockTracking:Ys,setDevtoolsHook:Md,setTransitionHooks:ui,shallowReactive:Vi,shallowReadonly:Uv,shallowRef:Pd,ssrContextKey:uh,ssrUtils:G0,stop:Mv,toDisplayString:Ln,toHandlerKey:Wi,toHandlers:Xo,toRaw:Me,toRef:bl,toRefs:Ld,toValue:Wv,transformVNodeArgs:F0,triggerRef:Kv,unref:Se,useAttrs:Jd,useCssModule:n2,useCssVars:Wu,useModel:_0,useSSRContext:ch,useSlots:Xd,useTransitionState:Hu,vModelCheckbox:Gu,vModelDynamic:Xu,vModelRadio:Yu,vModelSelect:ph,vModelText:Va,vShow:Nr,version:Ku,warn:Xv,watch:Ke,watchEffect:a0,watchPostEffect:Bd,watchSyncEffect:o0,withAsyncContext:Zd,withCtx:fn,withDefaults:b0,withDirectives:qn,withKeys:Ju,withMemo:W0,withModifiers:ta,withScopeId:xd},Symbol.toStringTag,{value:"Module"}));var N8=!1;/*!
8
8
  * pinia v2.1.7
9
9
  * (c) 2023 Eduardo San Martin Morote
10
10
  * @license MIT
@@ -14,7 +14,7 @@
14
14
  */var lg=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],su=lg.join(","),sg=typeof Element>"u",ra=sg?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,uu=!sg&&Element.prototype.getRootNode?function(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}:function(e){return e?.ownerDocument},cu=function e(t,n){var r;n===void 0&&(n=!0);var i=t==null||(r=t.getAttribute)===null||r===void 0?void 0:r.call(t,"inert"),a=i===""||i==="true",o=a||n&&t&&e(t.parentNode);return o},G8=function(t){var n,r=t==null||(n=t.getAttribute)===null||n===void 0?void 0:n.call(t,"contenteditable");return r===""||r==="true"},ug=function(t,n,r){if(cu(t))return[];var i=Array.prototype.slice.apply(t.querySelectorAll(su));return n&&ra.call(t,su)&&i.unshift(t),i=i.filter(r),i},cg=function e(t,n,r){for(var i=[],a=Array.from(t);a.length;){var o=a.shift();if(!cu(o,!1))if(o.tagName==="SLOT"){var l=o.assignedElements(),s=l.length?l:o.children,u=e(s,!0,r);r.flatten?i.push.apply(i,u):i.push({scopeParent:o,candidates:u})}else{var f=ra.call(o,su);f&&r.filter(o)&&(n||!t.includes(o))&&i.push(o);var c=o.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(o),d=!cu(c,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(o));if(c&&d){var h=e(c===!0?o.children:c.children,!0,r);r.flatten?i.push.apply(i,h):i.push({scopeParent:o,candidates:h})}else a.unshift.apply(a,o.children)}}return i},fg=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},Hi=function(t){if(!t)throw new Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||G8(t))&&!fg(t)?0:t.tabIndex},Y8=function(t,n){var r=Hi(t);return r<0&&n&&!fg(t)?0:r},X8=function(t,n){return t.tabIndex===n.tabIndex?t.documentOrder-n.documentOrder:t.tabIndex-n.tabIndex},dg=function(t){return t.tagName==="INPUT"},J8=function(t){return dg(t)&&t.type==="hidden"},Z8=function(t){var n=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(r){return r.tagName==="SUMMARY"});return n},Q8=function(t,n){for(var r=0;r<t.length;r++)if(t[r].checked&&t[r].form===n)return t[r]},e_=function(t){if(!t.name)return!0;var n=t.form||uu(t),r=function(l){return n.querySelectorAll('input[type="radio"][name="'+l+'"]')},i;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")i=r(window.CSS.escape(t.name));else try{i=r(t.name)}catch(o){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",o.message),!1}var a=Q8(i,t.form);return!a||a===t},t_=function(t){return dg(t)&&t.type==="radio"},n_=function(t){return t_(t)&&!e_(t)},r_=function(t){var n,r=t&&uu(t),i=(n=r)===null||n===void 0?void 0:n.host,a=!1;if(r&&r!==t){var o,l,s;for(a=!!((o=i)!==null&&o!==void 0&&(l=o.ownerDocument)!==null&&l!==void 0&&l.contains(i)||t!=null&&(s=t.ownerDocument)!==null&&s!==void 0&&s.contains(t));!a&&i;){var u,f,c;r=uu(i),i=(u=r)===null||u===void 0?void 0:u.host,a=!!((f=i)!==null&&f!==void 0&&(c=f.ownerDocument)!==null&&c!==void 0&&c.contains(i))}}return a},Ip=function(t){var n=t.getBoundingClientRect(),r=n.width,i=n.height;return r===0&&i===0},i_=function(t,n){var r=n.displayCheck,i=n.getShadowRoot;if(getComputedStyle(t).visibility==="hidden")return!0;var a=ra.call(t,"details>summary:first-of-type"),o=a?t.parentElement:t;if(ra.call(o,"details:not([open]) *"))return!0;if(!r||r==="full"||r==="legacy-full"){if(typeof i=="function"){for(var l=t;t;){var s=t.parentElement,u=uu(t);if(s&&!s.shadowRoot&&i(s)===!0)return Ip(t);t.assignedSlot?t=t.assignedSlot:!s&&u!==t.ownerDocument?t=u.host:t=s}t=l}if(r_(t))return!t.getClientRects().length;if(r!=="legacy-full")return!0}else if(r==="non-zero-area")return Ip(t);return!1},a_=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var n=t.parentElement;n;){if(n.tagName==="FIELDSET"&&n.disabled){for(var r=0;r<n.children.length;r++){var i=n.children.item(r);if(i.tagName==="LEGEND")return ra.call(n,"fieldset[disabled] *")?!0:!i.contains(t)}return!0}n=n.parentElement}return!1},fu=function(t,n){return!(n.disabled||cu(n)||J8(n)||i_(n,t)||Z8(n)||a_(n))},$f=function(t,n){return!(n_(n)||Hi(n)<0||!fu(t,n))},o_=function(t){var n=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(n)||n>=0)},l_=function e(t){var n=[],r=[];return t.forEach(function(i,a){var o=!!i.scopeParent,l=o?i.scopeParent:i,s=Y8(l,o),u=o?e(i.candidates):l;s===0?o?n.push.apply(n,u):n.push(l):r.push({documentOrder:a,tabIndex:s,item:i,isScope:o,content:u})}),r.sort(X8).reduce(function(i,a){return a.isScope?i.push.apply(i,a.content):i.push(a.content),i},[]).concat(n)},s_=function(t,n){n=n||{};var r;return n.getShadowRoot?r=cg([t],n.includeContainer,{filter:$f.bind(null,n),flatten:!1,getShadowRoot:n.getShadowRoot,shadowRootFilter:o_}):r=ug(t,n.includeContainer,$f.bind(null,n)),l_(r)},u_=function(t,n){n=n||{};var r;return n.getShadowRoot?r=cg([t],n.includeContainer,{filter:fu.bind(null,n),flatten:!0,getShadowRoot:n.getShadowRoot}):r=ug(t,n.includeContainer,fu.bind(null,n)),r},Ta=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return ra.call(t,su)===!1?!1:$f(n,t)},c_=lg.concat("iframe").join(","),Zc=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return ra.call(t,c_)===!1?!1:fu(n,t)};/*!
15
15
  * focus-trap 7.5.4
16
16
  * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
17
- */function Mp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function xp(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Mp(Object(n),!0).forEach(function(r){f_(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Mp(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function f_(e,t,n){return t=h_(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d_(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function h_(e){var t=d_(e,"string");return typeof t=="symbol"?t:String(t)}var Rp={activateTrap:function(t,n){if(t.length>0){var r=t[t.length-1];r!==n&&r.pause()}var i=t.indexOf(n);i===-1||t.splice(i,1),t.push(n)},deactivateTrap:function(t,n){var r=t.indexOf(n);r!==-1&&t.splice(r,1),t.length>0&&t[t.length-1].unpause()}},p_=function(t){return t.tagName&&t.tagName.toLowerCase()==="input"&&typeof t.select=="function"},m_=function(t){return t?.key==="Escape"||t?.key==="Esc"||t?.keyCode===27},Ho=function(t){return t?.key==="Tab"||t?.keyCode===9},v_=function(t){return Ho(t)&&!t.shiftKey},g_=function(t){return Ho(t)&&t.shiftKey},Dp=function(t){return setTimeout(t,0)},Fp=function(t,n){var r=-1;return t.every(function(i,a){return n(i)?(r=a,!1):!0}),r},Eo=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return typeof t=="function"?t.apply(void 0,r):t},fs=function(t){return t.target.shadowRoot&&typeof t.composedPath=="function"?t.composedPath()[0]:t.target},y_=[],b_=function(t,n){var r=n?.document||document,i=n?.trapStack||y_,a=xp({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:v_,isKeyBackward:g_},n),o={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},l,s=function(w,C,I){return w&&w[C]!==void 0?w[C]:a[I||C]},u=function(w,C){var I=typeof C?.composedPath=="function"?C.composedPath():void 0;return o.containerGroups.findIndex(function(D){var V=D.container,q=D.tabbableNodes;return V.contains(w)||I?.includes(V)||q.find(function(te){return te===w})})},f=function(w){var C=a[w];if(typeof C=="function"){for(var I=arguments.length,D=new Array(I>1?I-1:0),V=1;V<I;V++)D[V-1]=arguments[V];C=C.apply(void 0,D)}if(C===!0&&(C=void 0),!C){if(C===void 0||C===!1)return C;throw new Error("`".concat(w,"` was specified but was not a node, or did not return a node"))}var q=C;if(typeof C=="string"&&(q=r.querySelector(C),!q))throw new Error("`".concat(w,"` as selector refers to no known node"));return q},c=function(){var w=f("initialFocus");if(w===!1)return!1;if(w===void 0||!Zc(w,a.tabbableOptions))if(u(r.activeElement)>=0)w=r.activeElement;else{var C=o.tabbableGroups[0],I=C&&C.firstTabbableNode;w=I||f("fallbackFocus")}if(!w)throw new Error("Your focus-trap needs to have at least one focusable element");return w},d=function(){if(o.containerGroups=o.containers.map(function(w){var C=s_(w,a.tabbableOptions),I=u_(w,a.tabbableOptions),D=C.length>0?C[0]:void 0,V=C.length>0?C[C.length-1]:void 0,q=I.find(function(H){return Ta(H)}),te=I.slice().reverse().find(function(H){return Ta(H)}),K=!!C.find(function(H){return Hi(H)>0});return{container:w,tabbableNodes:C,focusableNodes:I,posTabIndexesFound:K,firstTabbableNode:D,lastTabbableNode:V,firstDomTabbableNode:q,lastDomTabbableNode:te,nextTabbableNode:function(M){var j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,z=C.indexOf(M);return z<0?j?I.slice(I.indexOf(M)+1).find(function(Q){return Ta(Q)}):I.slice(0,I.indexOf(M)).reverse().find(function(Q){return Ta(Q)}):C[z+(j?1:-1)]}}}),o.tabbableGroups=o.containerGroups.filter(function(w){return w.tabbableNodes.length>0}),o.tabbableGroups.length<=0&&!f("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(o.containerGroups.find(function(w){return w.posTabIndexesFound})&&o.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},h=function O(w){var C=w.activeElement;if(C)return C.shadowRoot&&C.shadowRoot.activeElement!==null?O(C.shadowRoot):C},y=function O(w){if(w!==!1&&w!==h(document)){if(!w||!w.focus){O(c());return}w.focus({preventScroll:!!a.preventScroll}),o.mostRecentlyFocusedNode=w,p_(w)&&w.select()}},g=function(w){var C=f("setReturnFocus",w);return C||(C===!1?!1:w)},_=function(w){var C=w.target,I=w.event,D=w.isBackward,V=D===void 0?!1:D;C=C||fs(I),d();var q=null;if(o.tabbableGroups.length>0){var te=u(C,I),K=te>=0?o.containerGroups[te]:void 0;if(te<0)V?q=o.tabbableGroups[o.tabbableGroups.length-1].lastTabbableNode:q=o.tabbableGroups[0].firstTabbableNode;else if(V){var H=Fp(o.tabbableGroups,function(F){var J=F.firstTabbableNode;return C===J});if(H<0&&(K.container===C||Zc(C,a.tabbableOptions)&&!Ta(C,a.tabbableOptions)&&!K.nextTabbableNode(C,!1))&&(H=te),H>=0){var M=H===0?o.tabbableGroups.length-1:H-1,j=o.tabbableGroups[M];q=Hi(C)>=0?j.lastTabbableNode:j.lastDomTabbableNode}else Ho(I)||(q=K.nextTabbableNode(C,!1))}else{var z=Fp(o.tabbableGroups,function(F){var J=F.lastTabbableNode;return C===J});if(z<0&&(K.container===C||Zc(C,a.tabbableOptions)&&!Ta(C,a.tabbableOptions)&&!K.nextTabbableNode(C))&&(z=te),z>=0){var Q=z===o.tabbableGroups.length-1?0:z+1,X=o.tabbableGroups[Q];q=Hi(C)>=0?X.firstTabbableNode:X.firstDomTabbableNode}else Ho(I)||(q=K.nextTabbableNode(C))}}else q=f("fallbackFocus");return q},m=function(w){var C=fs(w);if(!(u(C,w)>=0)){if(Eo(a.clickOutsideDeactivates,w)){l.deactivate({returnFocus:a.returnFocusOnDeactivate});return}Eo(a.allowOutsideClick,w)||w.preventDefault()}},v=function(w){var C=fs(w),I=u(C,w)>=0;if(I||C instanceof Document)I&&(o.mostRecentlyFocusedNode=C);else{w.stopImmediatePropagation();var D,V=!0;if(o.mostRecentlyFocusedNode)if(Hi(o.mostRecentlyFocusedNode)>0){var q=u(o.mostRecentlyFocusedNode),te=o.containerGroups[q].tabbableNodes;if(te.length>0){var K=te.findIndex(function(H){return H===o.mostRecentlyFocusedNode});K>=0&&(a.isKeyForward(o.recentNavEvent)?K+1<te.length&&(D=te[K+1],V=!1):K-1>=0&&(D=te[K-1],V=!1))}}else o.containerGroups.some(function(H){return H.tabbableNodes.some(function(M){return Hi(M)>0})})||(V=!1);else V=!1;V&&(D=_({target:o.mostRecentlyFocusedNode,isBackward:a.isKeyBackward(o.recentNavEvent)})),y(D||o.mostRecentlyFocusedNode||c())}o.recentNavEvent=void 0},b=function(w){var C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;o.recentNavEvent=w;var I=_({event:w,isBackward:C});I&&(Ho(w)&&w.preventDefault(),y(I))},p=function(w){if(m_(w)&&Eo(a.escapeDeactivates,w)!==!1){w.preventDefault(),l.deactivate();return}(a.isKeyForward(w)||a.isKeyBackward(w))&&b(w,a.isKeyBackward(w))},E=function(w){var C=fs(w);u(C,w)>=0||Eo(a.clickOutsideDeactivates,w)||Eo(a.allowOutsideClick,w)||(w.preventDefault(),w.stopImmediatePropagation())},k=function(){if(o.active)return Rp.activateTrap(i,l),o.delayInitialFocusTimer=a.delayInitialFocus?Dp(function(){y(c())}):y(c()),r.addEventListener("focusin",v,!0),r.addEventListener("mousedown",m,{capture:!0,passive:!1}),r.addEventListener("touchstart",m,{capture:!0,passive:!1}),r.addEventListener("click",E,{capture:!0,passive:!1}),r.addEventListener("keydown",p,{capture:!0,passive:!1}),l},T=function(){if(o.active)return r.removeEventListener("focusin",v,!0),r.removeEventListener("mousedown",m,!0),r.removeEventListener("touchstart",m,!0),r.removeEventListener("click",E,!0),r.removeEventListener("keydown",p,!0),l},S=function(w){var C=w.some(function(I){var D=Array.from(I.removedNodes);return D.some(function(V){return V===o.mostRecentlyFocusedNode})});C&&y(c())},P=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(S):void 0,N=function(){P&&(P.disconnect(),o.active&&!o.paused&&o.containers.map(function(w){P.observe(w,{subtree:!0,childList:!0})}))};return l={get active(){return o.active},get paused(){return o.paused},activate:function(w){if(o.active)return this;var C=s(w,"onActivate"),I=s(w,"onPostActivate"),D=s(w,"checkCanFocusTrap");D||d(),o.active=!0,o.paused=!1,o.nodeFocusedBeforeActivation=r.activeElement,C?.();var V=function(){D&&d(),k(),N(),I?.()};return D?(D(o.containers.concat()).then(V,V),this):(V(),this)},deactivate:function(w){if(!o.active)return this;var C=xp({onDeactivate:a.onDeactivate,onPostDeactivate:a.onPostDeactivate,checkCanReturnFocus:a.checkCanReturnFocus},w);clearTimeout(o.delayInitialFocusTimer),o.delayInitialFocusTimer=void 0,T(),o.active=!1,o.paused=!1,N(),Rp.deactivateTrap(i,l);var I=s(C,"onDeactivate"),D=s(C,"onPostDeactivate"),V=s(C,"checkCanReturnFocus"),q=s(C,"returnFocus","returnFocusOnDeactivate");I?.();var te=function(){Dp(function(){q&&y(g(o.nodeFocusedBeforeActivation)),D?.()})};return q&&V?(V(g(o.nodeFocusedBeforeActivation)).then(te,te),this):(te(),this)},pause:function(w){if(o.paused||!o.active)return this;var C=s(w,"onPause"),I=s(w,"onPostPause");return o.paused=!0,C?.(),T(),N(),I?.(),this},unpause:function(w){if(!o.paused||!o.active)return this;var C=s(w,"onUnpause"),I=s(w,"onPostUnpause");return o.paused=!1,C?.(),d(),k(),N(),I?.(),this},updateContainerElements:function(w){var C=[].concat(w).filter(Boolean);return o.containers=C.map(function(I){return typeof I=="string"?r.querySelector(I):I}),o.active&&d(),N(),this}},l.updateContainerElements(t),l};function __(e,t={}){let n;const{immediate:r,...i}=t,a=be(!1),o=be(!1),l=c=>n&&n.activate(c),s=c=>n&&n.deactivate(c),u=()=>{n&&(n.pause(),o.value=!0)},f=()=>{n&&(n.unpause(),o.value=!1)};return Ke(()=>og(e),c=>{c&&(n=b_(c,{...i,onActivate(){a.value=!0,t.onActivate&&t.onActivate()},onDeactivate(){a.value=!1,t.onDeactivate&&t.onDeactivate()}}),r&&l())},{flush:"post"}),ig(()=>s()),{hasFocus:a,isPaused:o,activate:l,deactivate:s,pause:u,unpause:f}}const E_=e=>(...t)=>{e&&(e?.(...t),e=null)},ar=()=>{};function ds(e,t,n){return e>n?n:e<t?t:e}const Fh=e=>typeof e=="string",Hh={modalId:{type:[String,Number,Symbol],default:void 0},modelValue:{type:Boolean,default:void 0},displayDirective:{type:String,default:"if",validator:e=>["if","show","visible"].includes(e)},hideOverlay:{type:Boolean,default:void 0},overlayTransition:{type:[String,Object],default:void 0},contentTransition:{type:[String,Object],default:void 0},overlayClass:{type:void 0,default:void 0},contentClass:{type:void 0,default:void 0},overlayStyle:{type:[String,Object,Array],default:void 0},contentStyle:{type:[String,Object,Array],default:void 0},clickToClose:{type:Boolean,default:!0},escToClose:{type:Boolean,default:!0},background:{type:String,default:"non-interactive",validator:e=>["interactive","non-interactive"].includes(e)},focusTrap:{type:[Boolean,Object],default:()=>({allowOutsideClick:!0})},lockScroll:{type:Boolean,default:!0},reserveScrollBarGap:{type:Boolean,default:!0},zIndexFn:{type:Function,default:({index:e})=>1e3+2*e},swipeToClose:{type:String,default:"none",validator:e=>["none","up","right","down","left"].includes(e)},threshold:{type:Number,default:0},showSwipeBanner:{type:Boolean,default:void 0},preventNavigationGestures:{type:Boolean,default:void 0}};function Hp(e=!1){const t=be(e),n=be(t.value?0:void 0);return[t,n,{beforeEnter(){n.value=1},afterEnter(){n.value=0},beforeLeave(){n.value=3},afterLeave(){n.value=2}}]}function w_(e,t){const{modelValueLocal:n,onEntering:r,onEnter:i,onLeaving:a,onLeave:o}=t,l=be(n.value),[s,u,f]=Hp(l.value),[c,d,h]=Hp(l.value),y=fe(()=>typeof e.contentTransition=="string"?{name:e.contentTransition}:{...e.contentTransition}),g=fe(()=>typeof e.overlayTransition=="string"?{name:e.overlayTransition}:{...e.overlayTransition}),_=fe(()=>(e.hideOverlay||d.value===2)&&u.value===2);Ke(_,b=>{b&&(l.value=!1)}),Ke(u,b=>{if(b===1){if(!l.value)return;r?.()}else if(b===0){if(!l.value)return;i?.()}else b===3?a?.():b===2&&o?.()});async function m(){l.value=!0,await Ht(),s.value=!0,c.value=!0}function v(){s.value=!1,c.value=!1}return{visible:l,contentVisible:s,contentListeners:f,contentTransition:y,overlayVisible:c,overlayListeners:h,overlayTransition:g,enterTransition:m,leaveTransition:v}}function O_(e,t,n){const{vfmRootEl:r,vfmContentEl:i,visible:a,modelValueLocal:o}=n,l=be();function s(){a.value&&e.escToClose&&(o.value=!1)}function u(c){l.value=c?.target}function f(){var c;l.value===r.value&&(e.clickToClose?o.value=!1:((c=i.value)==null||c.focus(),t("clickOutside")))}return{onEsc:s,onMouseupRoot:f,onMousedown:u}}function T_(e,t){const n=be(!!e.modelValue);return Ke(()=>e.modelValue,r=>{n.value=!!r}),Ke(n,r=>{r!==e.modelValue&&t("update:modelValue",r)}),{modelValueLocal:n}}function S_(e,t){if(e.focusTrap===!1)return{focus(){},blur(){}};const{focusEl:n}=t,{hasFocus:r,activate:i,deactivate:a}=__(n,e.focusTrap);function o(){requestAnimationFrame(()=>{i()})}function l(){r.value&&a()}return{focus:o,blur:l}}let jh=!1;if(typeof window<"u"){const e={get passive(){jh=!0}};window.addEventListener("testPassive",null,e),window.removeEventListener("testPassive",null,e)}const hg=typeof window<"u"&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||window.navigator.platform==="MacIntel"&&window.navigator.maxTouchPoints>1);let Zr=[],du=!1,Ms=0,pg=-1,jo,Vo;const A_=e=>{if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1;const t=window.getComputedStyle(e);return["auto","scroll"].includes(t.overflowY)&&e.scrollHeight>e.clientHeight},N_=(e,t)=>!(e.scrollTop===0&&t<0||e.scrollTop+e.clientHeight+t>=e.scrollHeight&&t>0),k_=e=>{const t=[];for(;e;){if(t.push(e),e.classList.contains("vfm"))return t;e=e.parentElement}return t},C_=(e,t)=>{let n=!1;return k_(e).forEach(r=>{A_(r)&&N_(r,t)&&(n=!0)}),n},mg=e=>Zr.some(()=>C_(e,-Ms)),Vh=e=>{const t=e||window.event;return mg(t.target)||t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)},P_=e=>{if(Vo===void 0){const t=!!e&&e.reserveScrollBarGap===!0,n=window.innerWidth-document.documentElement.clientWidth;if(t&&n>0){const r=parseInt(getComputedStyle(document.body).getPropertyValue("padding-right"),10);Vo=document.body.style.paddingRight,document.body.style.paddingRight=`${r+n}px`}}jo===void 0&&(jo=document.body.style.overflow,document.body.style.overflow="hidden")},L_=()=>{Vo!==void 0&&(document.body.style.paddingRight=Vo,Vo=void 0),jo!==void 0&&(document.body.style.overflow=jo,jo=void 0)},I_=e=>e?e.scrollHeight-e.scrollTop<=e.clientHeight:!1,M_=(e,t)=>(Ms=e.targetTouches[0].clientY-pg,mg(e.target)?!1:t&&t.scrollTop===0&&Ms>0||I_(t)&&Ms<0?Vh(e):(e.stopPropagation(),!0)),x_=(e,t)=>{if(!e){console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");return}if(Zr.some(r=>r.targetElement===e))return;const n={targetElement:e,options:t||{}};Zr=[...Zr,n],hg?(e.ontouchstart=r=>{r.targetTouches.length===1&&(pg=r.targetTouches[0].clientY)},e.ontouchmove=r=>{r.targetTouches.length===1&&M_(r,e)},du||(document.addEventListener("touchmove",Vh,jh?{passive:!1}:void 0),du=!0)):P_(t)},R_=e=>{if(!e){console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.");return}Zr=Zr.filter(t=>t.targetElement!==e),hg?(e.ontouchstart=null,e.ontouchmove=null,du&&Zr.length===0&&(document.removeEventListener("touchmove",Vh,jh?{passive:!1}:void 0),du=!1)):Zr.length||L_()};function D_(e,t){const{lockScrollEl:n,modelValueLocal:r}=t;let i;Ke(n,l=>{l&&(i=l)},{immediate:!0}),Ke(()=>e.lockScroll,l=>{l?o():a()}),Dr(()=>{a()});function a(){i&&R_(i)}function o(){r.value&&e.lockScroll&&i&&x_(i,{reserveScrollBarGap:e.reserveScrollBarGap,allowTouchMove:l=>{for(;l&&l!==document.body;){if(l.getAttribute("vfm-scroll-lock-ignore")!==null)return!0;l=l.parentElement}return!1}})}return{enableBodyScroll:a,disableBodyScroll:o}}function F_(e){function t(n){switch(n){case"beforeOpen":e(n);break;case"beforeClose":e(n);break;case"opened":e(n);break;case"closed":e(n);break}}return{emitEvent:t}}function H_(e){const t=be();function n(i){var a;t.value=(a=e.zIndexFn)==null?void 0:a.call(e,{index:i<=-1?0:i})}function r(){t.value=void 0}return{zIndex:t,refreshZIndex:n,resetZIndex:r}}const Qc={beforeMount(e,{value:t},{transition:n}){e._vov=e.style.visibility==="hidden"?"":e.style.visibility,n&&t?n.beforeEnter(e):wo(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),wo(e,!0),r.enter(e)):r.leave(e,()=>{wo(e,!1)}):wo(e,t))},beforeUnmount(e,{value:t}){wo(e,t)}};function wo(e,t){e.style.visibility=t?e._vov:"hidden"}const jp=e=>{if(e instanceof MouseEvent){const{clientX:t,clientY:n}=e;return{x:t,y:n}}else{const{clientX:t,clientY:n}=e.targetTouches[0];return{x:t,y:n}}};function j_(e){if(!e)return!1;let t=!1;const n={get passive(){return t=!0,!1}};return e.addEventListener("x",ar,n),e.removeEventListener("x",ar),t}function V_(e,{threshold:t=0,onSwipeStart:n,onSwipe:r,onSwipeEnd:i,passive:a=!0}){const o=dr({x:0,y:0}),l=dr({x:0,y:0}),s=fe(()=>o.x-l.x),u=fe(()=>o.y-l.y),{max:f,abs:c}=Math,d=fe(()=>f(c(s.value),c(u.value))>=t),h=be(!1),y=fe(()=>d.value?c(s.value)>c(u.value)?s.value>0?"left":"right":u.value>0?"up":"down":"none"),g=(T,S)=>{o.x=T,o.y=S},_=(T,S)=>{l.x=T,l.y=S};let m,v;function b(T){m.capture&&!m.passive&&T.preventDefault();const{x:S,y:P}=jp(T);g(S,P),_(S,P),n?.(T),v=[ir(e,"mousemove",p,m),ir(e,"touchmove",p,m),ir(e,"mouseup",E,m),ir(e,"touchend",E,m),ir(e,"touchcancel",E,m)]}function p(T){const{x:S,y:P}=jp(T);_(S,P),!h.value&&d.value&&(h.value=!0),h.value&&r?.(T)}function E(T){h.value&&i?.(T,y.value),h.value=!1,v.forEach(S=>S())}let k=[];return mn(()=>{const T=j_(window?.document);a?m=T?{passive:!0}:{capture:!1}:m=T?{passive:!1,capture:!0}:{capture:!0},k=[ir(e,"mousedown",b,m),ir(e,"touchstart",b,m)]}),{isSwiping:h,direction:y,coordsStart:o,coordsEnd:l,lengthX:s,lengthY:u,stop:()=>{k.forEach(T=>T()),v.forEach(T=>T())}}}function B_(e,t){const{vfmContentEl:n,modelValueLocal:r}=t,i=.1,a=300,o=be(),l=fe(()=>{if(!(e.swipeToClose===void 0||e.swipeToClose==="none"))return e.showSwipeBanner?o.value:n.value}),s=be(0),u=be(!0);let f=ar,c=!0,d,h=!1;const{lengthX:y,lengthY:g,direction:_,isSwiping:m}=V_(l,{threshold:e.threshold,onSwipeStart(E){f=ir(document,"selectionchange",()=>{var k;u.value=(k=window.getSelection())==null?void 0:k.isCollapsed}),d=new Date().getTime(),h=p(E?.target)},onSwipe(){var E,k,T,S;if(h&&u.value&&_.value===e.swipeToClose){if(_.value==="up"){const P=ds(Math.abs(g.value||0),0,((E=l.value)==null?void 0:E.offsetHeight)||0)-(e.threshold||0);s.value=P}else if(_.value==="down"){const P=ds(Math.abs(g.value||0),0,((k=l.value)==null?void 0:k.offsetHeight)||0)-(e.threshold||0);s.value=-P}else if(_.value==="right"){const P=ds(Math.abs(y.value||0),0,((T=l.value)==null?void 0:T.offsetWidth)||0)-(e.threshold||0);s.value=-P}else if(_.value==="left"){const P=ds(Math.abs(y.value||0),0,((S=l.value)==null?void 0:S.offsetWidth)||0)-(e.threshold||0);s.value=P}}},onSwipeEnd(E,k){if(f(),!u.value){u.value=!0;return}const T=new Date().getTime(),S=k===e.swipeToClose,P=(()=>{var O,w;if(k==="up"||k==="down")return Math.abs(g?.value||0)>i*(((O=l.value)==null?void 0:O.offsetHeight)||0);if(k==="left"||k==="right")return Math.abs(y?.value||0)>i*(((w=l.value)==null?void 0:w.offsetWidth)||0)})(),N=T-d<=a;if(c&&h&&S&&(P||N)){r.value=!1;return}s.value=0}}),v=fe(()=>{if(e.swipeToClose==="none")return;const E=(()=>{switch(e.swipeToClose){case"up":case"down":return"translateY";case"left":case"right":return"translateX"}})();return{class:{"vfm-bounce-back":!m.value},style:{transform:`${E}(${-s.value}px)`}}});Ke(()=>u.value,E=>{E||(s.value=0)}),Ke(()=>r.value,E=>{E&&(s.value=0)}),Ke(()=>s.value,(E,k)=>{switch(e.swipeToClose){case"down":case"right":c=E<k;break;case"up":case"left":c=E>k;break}});function b(E){e.preventNavigationGestures&&E.preventDefault()}function p(E){const k=E?.tagName;if(!k||["INPUT","TEXTAREA"].includes(k))return!1;const T=(()=>{switch(e.swipeToClose){case"up":return E?.scrollTop+E?.clientHeight===E?.scrollHeight;case"left":return E?.scrollLeft+E?.clientWidth===E?.scrollWidth;case"down":return E?.scrollTop===0;case"right":return E?.scrollLeft===0;default:return!1}})();return E===l.value?T:T&&p(E?.parentElement)}return{vfmContentEl:n,swipeBannerEl:o,bindSwipe:v,onTouchStartSwipeBanner:b}}const Bh=Symbol("vfm"),zh=Symbol("internalVfm"),z_=ut({__name:"CoreModal",props:Hh,emits:["update:modelValue","beforeOpen","opened","beforeClose","closed","clickOutside"],setup(e,{emit:t}){const n=e,r=t,{modals:i,openedModals:a}=In(Bh,{modals:[],openedModals:[]}),{openLastOverlay:o,moveToLastOpenedModals:l,deleteFromOpenedModals:s,moveToLastOpenedModalOverlays:u,deleteFromOpenedModalOverlays:f,deleteFromModals:c}=In(zh,{openLastOverlay:ar,moveToLastOpenedModals:ar,deleteFromOpenedModals:ar,moveToLastOpenedModalOverlays:ar,deleteFromOpenedModalOverlays:ar,deleteFromModals:ar}),d=be(),h=be(),{focus:y,blur:g}=S_(n,{focusEl:d}),{zIndex:_,refreshZIndex:m,resetZIndex:v}=H_(n),{modelValueLocal:b}=T_(n,r),{enableBodyScroll:p,disableBodyScroll:E}=D_(n,{lockScrollEl:d,modelValueLocal:b}),{emitEvent:k}=F_(r);let T=ar;const{visible:S,contentVisible:P,contentListeners:N,contentTransition:O,overlayVisible:w,overlayListeners:C,overlayTransition:I,enterTransition:D,leaveTransition:V}=w_(n,{modelValueLocal:b,onEntering(){Ht(()=>{E(),y()})},onEnter(){k("opened"),T("opened")},onLeave(){s(X()),v(),p(),k("closed"),T("closed")}}),{onEsc:q,onMouseupRoot:te,onMousedown:K}=O_(n,r,{vfmRootEl:d,vfmContentEl:h,visible:S,modelValueLocal:b}),{swipeBannerEl:H,bindSwipe:M,onTouchStartSwipeBanner:j}=B_(n,{vfmContentEl:h,modelValueLocal:b}),z=bl(n,"hideOverlay"),Q=fe(()=>({modalId:n.modalId,hideOverlay:z,overlayVisible:w,focus:y,toggle(Z){return new Promise(se=>{T=E_(B=>se(B));const he=typeof Z=="boolean"?Z:!b.value;b.value=he,r("update:modelValue",he)})}}));function X(){return Q}const F=fe(()=>a.indexOf(Q));Ke(()=>[n.zIndexFn,F.value],()=>{S.value&&m(F.value)}),mn(()=>{i.push(Q)}),b.value&&J(),Ke(b,Z=>{Z?J():ae()});async function J(){k("beforeOpen"),l(Q),u(Q),m(F.value),o(),D()}function ae(){k("beforeClose"),f(Q),o(),g(),V()}return Dr(()=>{p(),c(Q),s(Q),f(Q),g(),o()}),(Z,se)=>Z.displayDirective!=="if"||Se(S)?qn((_e(),Pe("div",{key:0,ref_key:"vfmRootEl",ref:d,class:_t(["vfm vfm--fixed vfm--inset",{"vfm--prevent-none":Z.background==="interactive"}]),style:qt({zIndex:Se(_)}),role:"dialog","aria-modal":"true",onKeydown:se[7]||(se[7]=Ju(()=>Se(q)(),["esc"])),onMouseup:se[8]||(se[8]=ta(()=>Se(te)(),["self"])),onMousedown:se[9]||(se[9]=ta(he=>Se(K)(he),["self"]))},[z.value?nt("",!0):(_e(),mt(fi,dn({key:0},Se(I),{appear:!0},Xo(Se(C))),{default:fn(()=>[Z.displayDirective!=="if"||Se(w)?qn((_e(),Pe("div",{key:0,class:_t(["vfm__overlay vfm--overlay vfm--absolute vfm--inset vfm--prevent-none",Z.overlayClass]),style:qt(Z.overlayStyle),"aria-hidden":"true"},null,6)),[[Nr,Z.displayDirective!=="show"||Se(w)],[Se(Qc),Z.displayDirective!=="visible"||Se(w)]]):nt("",!0)]),_:1},16)),xe(fi,dn(Se(O),{appear:!0},Xo(Se(N))),{default:fn(()=>[Z.displayDirective!=="if"||Se(P)?qn((_e(),Pe("div",dn({key:0,ref_key:"vfmContentEl",ref:h,class:["vfm__content vfm--outline-none",[Z.contentClass,{"vfm--prevent-auto":Z.background==="interactive"}]],style:Z.contentStyle,tabindex:"0"},Se(M),{onMousedown:se[6]||(se[6]=()=>Se(K)())}),[ht(Z.$slots,"default"),Z.showSwipeBanner?(_e(),Pe("div",{key:0,ref_key:"swipeBannerEl",ref:H,class:"vfm-swipe-banner-container",onTouchstart:se[2]||(se[2]=he=>Se(j)(he))},[ht(Z.$slots,"swipe-banner",{},()=>[Re("div",{class:"vfm-swipe-banner-back",onTouchstart:se[0]||(se[0]=he=>Z.swipeToClose==="left"&&he.preventDefault())},null,32),Re("div",{class:"vfm-swipe-banner-forward",onTouchstart:se[1]||(se[1]=he=>Z.swipeToClose==="right"&&he.preventDefault())},null,32)])],544)):!Z.showSwipeBanner&&Z.preventNavigationGestures?(_e(),Pe("div",{key:1,class:"vfm-swipe-banner-container",onTouchstart:se[5]||(se[5]=he=>Se(j)(he))},[Re("div",{class:"vfm-swipe-banner-back",onTouchstart:se[3]||(se[3]=he=>Z.swipeToClose==="left"&&he.preventDefault())},null,32),Re("div",{class:"vfm-swipe-banner-forward",onTouchstart:se[4]||(se[4]=he=>Z.swipeToClose==="right"&&he.preventDefault())},null,32)],32)):nt("",!0)],16)),[[Nr,Z.displayDirective!=="show"||Se(P)],[Se(Qc),Z.displayDirective!=="visible"||Se(P)]]):nt("",!0)]),_:3},16)],38)),[[Nr,Z.displayDirective!=="show"||Se(S)],[Se(Qc),Z.displayDirective!=="visible"||Se(S)]]):nt("",!0)}}),$_={...Hh,teleportTo:{type:[String,null,Boolean,Object],default:"body"}},U_=ut({inheritAttrs:!1}),vg=ut({...U_,__name:"VueFinalModal",props:$_,emits:["update:modelValue","beforeOpen","opened","beforeClose","closed","clickOutside"],setup(e,{emit:t}){const n=Q_({props:e,modalProps:Hh,emit:t});return(r,i)=>(_e(),mt($u,{to:r.teleportTo?r.teleportTo:void 0,disabled:!r.teleportTo},[xe(z_,$t(Zt(Se(n))),{default:fn(()=>[ht(r.$slots,"default")]),_:3},16)],8,["to","disabled"]))}});let ji;const q_=e=>ji=e,K_=()=>jt()&&In(Bh)||ji;function W_(){const e=Vi([]),t=Vi([]),n=Vi([]),r=Vi([]),i=be([]),a=cr({install(o){o.provide(Bh,a),o.config.globalProperties.$vfm=a;const l=G_(a);o.provide(zh,l)},modals:e,openedModals:t,openedModalOverlays:n,dynamicModals:r,modalsContainers:i,get(o){return e.find(l=>l.value.modalId&&o===l.value.modalId)},toggle(o,l){const s=a.get(o);return s?.value.toggle(l)},open(o){return a.toggle(o,!0)},close(o){return a.toggle(o,!1)},closeAll(){return Promise.allSettled([t.map(o=>o.value.toggle(!1))])}});return q_(a),a}function G_(e){const{modals:t,openedModals:n,openedModalOverlays:r,dynamicModals:i}=e,a={deleteFromModals(o){const l=t.findIndex(s=>s.value===o.value);l!==-1&&t.splice(l,1)},moveToLastOpenedModals(o){a.deleteFromOpenedModals(o),n.push(o)},deleteFromOpenedModals(o){const l=n.findIndex(s=>s.value===o.value);l!==-1&&n.splice(l,1)},moveToLastOpenedModalOverlays(o){a.deleteFromOpenedModalOverlays(o),r.push(o)},deleteFromOpenedModalOverlays(o){const l=r.findIndex(s=>s.value===o.value);l!==-1&&r.splice(l,1)},async openLastOverlay(){var o;if(await Ht(),r.forEach(l=>l.value.overlayVisible.value=!1),r.length>0){const l=r[r.length-1];!((o=l.value.hideOverlay)!=null&&o.value)&&(l.value.overlayVisible.value=!0)}},resolvedClosed(o){var l,s,u;(s=(l=i[o])==null?void 0:l.resolveClosed)==null||s.call(l),(u=i[o])!=null&&u.keepAlive||i.splice(o,1)},resolvedOpened(o){var l,s;(s=(l=i[o])==null?void 0:l.resolveOpened)==null||s.call(l)}};return a}function xs(){const e=K_();if(!e)throw new Error(`[Vue Final Modal]: getActiveVfm was called with no active Vfm. Did you forget to install vfm?
17
+ */function Mp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function xp(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Mp(Object(n),!0).forEach(function(r){f_(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Mp(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function f_(e,t,n){return t=h_(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d_(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function h_(e){var t=d_(e,"string");return typeof t=="symbol"?t:String(t)}var Rp={activateTrap:function(t,n){if(t.length>0){var r=t[t.length-1];r!==n&&r.pause()}var i=t.indexOf(n);i===-1||t.splice(i,1),t.push(n)},deactivateTrap:function(t,n){var r=t.indexOf(n);r!==-1&&t.splice(r,1),t.length>0&&t[t.length-1].unpause()}},p_=function(t){return t.tagName&&t.tagName.toLowerCase()==="input"&&typeof t.select=="function"},m_=function(t){return t?.key==="Escape"||t?.key==="Esc"||t?.keyCode===27},Ho=function(t){return t?.key==="Tab"||t?.keyCode===9},v_=function(t){return Ho(t)&&!t.shiftKey},g_=function(t){return Ho(t)&&t.shiftKey},Dp=function(t){return setTimeout(t,0)},Fp=function(t,n){var r=-1;return t.every(function(i,a){return n(i)?(r=a,!1):!0}),r},Eo=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return typeof t=="function"?t.apply(void 0,r):t},fs=function(t){return t.target.shadowRoot&&typeof t.composedPath=="function"?t.composedPath()[0]:t.target},y_=[],b_=function(t,n){var r=n?.document||document,i=n?.trapStack||y_,a=xp({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:v_,isKeyBackward:g_},n),o={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},l,s=function(w,C,I){return w&&w[C]!==void 0?w[C]:a[I||C]},u=function(w,C){var I=typeof C?.composedPath=="function"?C.composedPath():void 0;return o.containerGroups.findIndex(function(D){var V=D.container,U=D.tabbableNodes;return V.contains(w)||I?.includes(V)||U.find(function(te){return te===w})})},f=function(w){var C=a[w];if(typeof C=="function"){for(var I=arguments.length,D=new Array(I>1?I-1:0),V=1;V<I;V++)D[V-1]=arguments[V];C=C.apply(void 0,D)}if(C===!0&&(C=void 0),!C){if(C===void 0||C===!1)return C;throw new Error("`".concat(w,"` was specified but was not a node, or did not return a node"))}var U=C;if(typeof C=="string"&&(U=r.querySelector(C),!U))throw new Error("`".concat(w,"` as selector refers to no known node"));return U},c=function(){var w=f("initialFocus");if(w===!1)return!1;if(w===void 0||!Zc(w,a.tabbableOptions))if(u(r.activeElement)>=0)w=r.activeElement;else{var C=o.tabbableGroups[0],I=C&&C.firstTabbableNode;w=I||f("fallbackFocus")}if(!w)throw new Error("Your focus-trap needs to have at least one focusable element");return w},d=function(){if(o.containerGroups=o.containers.map(function(w){var C=s_(w,a.tabbableOptions),I=u_(w,a.tabbableOptions),D=C.length>0?C[0]:void 0,V=C.length>0?C[C.length-1]:void 0,U=I.find(function(H){return Ta(H)}),te=I.slice().reverse().find(function(H){return Ta(H)}),K=!!C.find(function(H){return Hi(H)>0});return{container:w,tabbableNodes:C,focusableNodes:I,posTabIndexesFound:K,firstTabbableNode:D,lastTabbableNode:V,firstDomTabbableNode:U,lastDomTabbableNode:te,nextTabbableNode:function(M){var j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,z=C.indexOf(M);return z<0?j?I.slice(I.indexOf(M)+1).find(function(Z){return Ta(Z)}):I.slice(0,I.indexOf(M)).reverse().find(function(Z){return Ta(Z)}):C[z+(j?1:-1)]}}}),o.tabbableGroups=o.containerGroups.filter(function(w){return w.tabbableNodes.length>0}),o.tabbableGroups.length<=0&&!f("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(o.containerGroups.find(function(w){return w.posTabIndexesFound})&&o.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},h=function O(w){var C=w.activeElement;if(C)return C.shadowRoot&&C.shadowRoot.activeElement!==null?O(C.shadowRoot):C},y=function O(w){if(w!==!1&&w!==h(document)){if(!w||!w.focus){O(c());return}w.focus({preventScroll:!!a.preventScroll}),o.mostRecentlyFocusedNode=w,p_(w)&&w.select()}},g=function(w){var C=f("setReturnFocus",w);return C||(C===!1?!1:w)},_=function(w){var C=w.target,I=w.event,D=w.isBackward,V=D===void 0?!1:D;C=C||fs(I),d();var U=null;if(o.tabbableGroups.length>0){var te=u(C,I),K=te>=0?o.containerGroups[te]:void 0;if(te<0)V?U=o.tabbableGroups[o.tabbableGroups.length-1].lastTabbableNode:U=o.tabbableGroups[0].firstTabbableNode;else if(V){var H=Fp(o.tabbableGroups,function(F){var J=F.firstTabbableNode;return C===J});if(H<0&&(K.container===C||Zc(C,a.tabbableOptions)&&!Ta(C,a.tabbableOptions)&&!K.nextTabbableNode(C,!1))&&(H=te),H>=0){var M=H===0?o.tabbableGroups.length-1:H-1,j=o.tabbableGroups[M];U=Hi(C)>=0?j.lastTabbableNode:j.lastDomTabbableNode}else Ho(I)||(U=K.nextTabbableNode(C,!1))}else{var z=Fp(o.tabbableGroups,function(F){var J=F.lastTabbableNode;return C===J});if(z<0&&(K.container===C||Zc(C,a.tabbableOptions)&&!Ta(C,a.tabbableOptions)&&!K.nextTabbableNode(C))&&(z=te),z>=0){var Z=z===o.tabbableGroups.length-1?0:z+1,X=o.tabbableGroups[Z];U=Hi(C)>=0?X.firstTabbableNode:X.firstDomTabbableNode}else Ho(I)||(U=K.nextTabbableNode(C))}}else U=f("fallbackFocus");return U},m=function(w){var C=fs(w);if(!(u(C,w)>=0)){if(Eo(a.clickOutsideDeactivates,w)){l.deactivate({returnFocus:a.returnFocusOnDeactivate});return}Eo(a.allowOutsideClick,w)||w.preventDefault()}},v=function(w){var C=fs(w),I=u(C,w)>=0;if(I||C instanceof Document)I&&(o.mostRecentlyFocusedNode=C);else{w.stopImmediatePropagation();var D,V=!0;if(o.mostRecentlyFocusedNode)if(Hi(o.mostRecentlyFocusedNode)>0){var U=u(o.mostRecentlyFocusedNode),te=o.containerGroups[U].tabbableNodes;if(te.length>0){var K=te.findIndex(function(H){return H===o.mostRecentlyFocusedNode});K>=0&&(a.isKeyForward(o.recentNavEvent)?K+1<te.length&&(D=te[K+1],V=!1):K-1>=0&&(D=te[K-1],V=!1))}}else o.containerGroups.some(function(H){return H.tabbableNodes.some(function(M){return Hi(M)>0})})||(V=!1);else V=!1;V&&(D=_({target:o.mostRecentlyFocusedNode,isBackward:a.isKeyBackward(o.recentNavEvent)})),y(D||o.mostRecentlyFocusedNode||c())}o.recentNavEvent=void 0},b=function(w){var C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;o.recentNavEvent=w;var I=_({event:w,isBackward:C});I&&(Ho(w)&&w.preventDefault(),y(I))},p=function(w){if(m_(w)&&Eo(a.escapeDeactivates,w)!==!1){w.preventDefault(),l.deactivate();return}(a.isKeyForward(w)||a.isKeyBackward(w))&&b(w,a.isKeyBackward(w))},E=function(w){var C=fs(w);u(C,w)>=0||Eo(a.clickOutsideDeactivates,w)||Eo(a.allowOutsideClick,w)||(w.preventDefault(),w.stopImmediatePropagation())},k=function(){if(o.active)return Rp.activateTrap(i,l),o.delayInitialFocusTimer=a.delayInitialFocus?Dp(function(){y(c())}):y(c()),r.addEventListener("focusin",v,!0),r.addEventListener("mousedown",m,{capture:!0,passive:!1}),r.addEventListener("touchstart",m,{capture:!0,passive:!1}),r.addEventListener("click",E,{capture:!0,passive:!1}),r.addEventListener("keydown",p,{capture:!0,passive:!1}),l},T=function(){if(o.active)return r.removeEventListener("focusin",v,!0),r.removeEventListener("mousedown",m,!0),r.removeEventListener("touchstart",m,!0),r.removeEventListener("click",E,!0),r.removeEventListener("keydown",p,!0),l},S=function(w){var C=w.some(function(I){var D=Array.from(I.removedNodes);return D.some(function(V){return V===o.mostRecentlyFocusedNode})});C&&y(c())},P=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(S):void 0,N=function(){P&&(P.disconnect(),o.active&&!o.paused&&o.containers.map(function(w){P.observe(w,{subtree:!0,childList:!0})}))};return l={get active(){return o.active},get paused(){return o.paused},activate:function(w){if(o.active)return this;var C=s(w,"onActivate"),I=s(w,"onPostActivate"),D=s(w,"checkCanFocusTrap");D||d(),o.active=!0,o.paused=!1,o.nodeFocusedBeforeActivation=r.activeElement,C?.();var V=function(){D&&d(),k(),N(),I?.()};return D?(D(o.containers.concat()).then(V,V),this):(V(),this)},deactivate:function(w){if(!o.active)return this;var C=xp({onDeactivate:a.onDeactivate,onPostDeactivate:a.onPostDeactivate,checkCanReturnFocus:a.checkCanReturnFocus},w);clearTimeout(o.delayInitialFocusTimer),o.delayInitialFocusTimer=void 0,T(),o.active=!1,o.paused=!1,N(),Rp.deactivateTrap(i,l);var I=s(C,"onDeactivate"),D=s(C,"onPostDeactivate"),V=s(C,"checkCanReturnFocus"),U=s(C,"returnFocus","returnFocusOnDeactivate");I?.();var te=function(){Dp(function(){U&&y(g(o.nodeFocusedBeforeActivation)),D?.()})};return U&&V?(V(g(o.nodeFocusedBeforeActivation)).then(te,te),this):(te(),this)},pause:function(w){if(o.paused||!o.active)return this;var C=s(w,"onPause"),I=s(w,"onPostPause");return o.paused=!0,C?.(),T(),N(),I?.(),this},unpause:function(w){if(!o.paused||!o.active)return this;var C=s(w,"onUnpause"),I=s(w,"onPostUnpause");return o.paused=!1,C?.(),d(),k(),N(),I?.(),this},updateContainerElements:function(w){var C=[].concat(w).filter(Boolean);return o.containers=C.map(function(I){return typeof I=="string"?r.querySelector(I):I}),o.active&&d(),N(),this}},l.updateContainerElements(t),l};function __(e,t={}){let n;const{immediate:r,...i}=t,a=be(!1),o=be(!1),l=c=>n&&n.activate(c),s=c=>n&&n.deactivate(c),u=()=>{n&&(n.pause(),o.value=!0)},f=()=>{n&&(n.unpause(),o.value=!1)};return Ke(()=>og(e),c=>{c&&(n=b_(c,{...i,onActivate(){a.value=!0,t.onActivate&&t.onActivate()},onDeactivate(){a.value=!1,t.onDeactivate&&t.onDeactivate()}}),r&&l())},{flush:"post"}),ig(()=>s()),{hasFocus:a,isPaused:o,activate:l,deactivate:s,pause:u,unpause:f}}const E_=e=>(...t)=>{e&&(e?.(...t),e=null)},ar=()=>{};function ds(e,t,n){return e>n?n:e<t?t:e}const Fh=e=>typeof e=="string",Hh={modalId:{type:[String,Number,Symbol],default:void 0},modelValue:{type:Boolean,default:void 0},displayDirective:{type:String,default:"if",validator:e=>["if","show","visible"].includes(e)},hideOverlay:{type:Boolean,default:void 0},overlayTransition:{type:[String,Object],default:void 0},contentTransition:{type:[String,Object],default:void 0},overlayClass:{type:void 0,default:void 0},contentClass:{type:void 0,default:void 0},overlayStyle:{type:[String,Object,Array],default:void 0},contentStyle:{type:[String,Object,Array],default:void 0},clickToClose:{type:Boolean,default:!0},escToClose:{type:Boolean,default:!0},background:{type:String,default:"non-interactive",validator:e=>["interactive","non-interactive"].includes(e)},focusTrap:{type:[Boolean,Object],default:()=>({allowOutsideClick:!0})},lockScroll:{type:Boolean,default:!0},reserveScrollBarGap:{type:Boolean,default:!0},zIndexFn:{type:Function,default:({index:e})=>1e3+2*e},swipeToClose:{type:String,default:"none",validator:e=>["none","up","right","down","left"].includes(e)},threshold:{type:Number,default:0},showSwipeBanner:{type:Boolean,default:void 0},preventNavigationGestures:{type:Boolean,default:void 0}};function Hp(e=!1){const t=be(e),n=be(t.value?0:void 0);return[t,n,{beforeEnter(){n.value=1},afterEnter(){n.value=0},beforeLeave(){n.value=3},afterLeave(){n.value=2}}]}function w_(e,t){const{modelValueLocal:n,onEntering:r,onEnter:i,onLeaving:a,onLeave:o}=t,l=be(n.value),[s,u,f]=Hp(l.value),[c,d,h]=Hp(l.value),y=fe(()=>typeof e.contentTransition=="string"?{name:e.contentTransition}:{...e.contentTransition}),g=fe(()=>typeof e.overlayTransition=="string"?{name:e.overlayTransition}:{...e.overlayTransition}),_=fe(()=>(e.hideOverlay||d.value===2)&&u.value===2);Ke(_,b=>{b&&(l.value=!1)}),Ke(u,b=>{if(b===1){if(!l.value)return;r?.()}else if(b===0){if(!l.value)return;i?.()}else b===3?a?.():b===2&&o?.()});async function m(){l.value=!0,await Ht(),s.value=!0,c.value=!0}function v(){s.value=!1,c.value=!1}return{visible:l,contentVisible:s,contentListeners:f,contentTransition:y,overlayVisible:c,overlayListeners:h,overlayTransition:g,enterTransition:m,leaveTransition:v}}function O_(e,t,n){const{vfmRootEl:r,vfmContentEl:i,visible:a,modelValueLocal:o}=n,l=be();function s(){a.value&&e.escToClose&&(o.value=!1)}function u(c){l.value=c?.target}function f(){var c;l.value===r.value&&(e.clickToClose?o.value=!1:((c=i.value)==null||c.focus(),t("clickOutside")))}return{onEsc:s,onMouseupRoot:f,onMousedown:u}}function T_(e,t){const n=be(!!e.modelValue);return Ke(()=>e.modelValue,r=>{n.value=!!r}),Ke(n,r=>{r!==e.modelValue&&t("update:modelValue",r)}),{modelValueLocal:n}}function S_(e,t){if(e.focusTrap===!1)return{focus(){},blur(){}};const{focusEl:n}=t,{hasFocus:r,activate:i,deactivate:a}=__(n,e.focusTrap);function o(){requestAnimationFrame(()=>{i()})}function l(){r.value&&a()}return{focus:o,blur:l}}let jh=!1;if(typeof window<"u"){const e={get passive(){jh=!0}};window.addEventListener("testPassive",null,e),window.removeEventListener("testPassive",null,e)}const hg=typeof window<"u"&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||window.navigator.platform==="MacIntel"&&window.navigator.maxTouchPoints>1);let Zr=[],du=!1,Ms=0,pg=-1,jo,Vo;const A_=e=>{if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1;const t=window.getComputedStyle(e);return["auto","scroll"].includes(t.overflowY)&&e.scrollHeight>e.clientHeight},N_=(e,t)=>!(e.scrollTop===0&&t<0||e.scrollTop+e.clientHeight+t>=e.scrollHeight&&t>0),k_=e=>{const t=[];for(;e;){if(t.push(e),e.classList.contains("vfm"))return t;e=e.parentElement}return t},C_=(e,t)=>{let n=!1;return k_(e).forEach(r=>{A_(r)&&N_(r,t)&&(n=!0)}),n},mg=e=>Zr.some(()=>C_(e,-Ms)),Vh=e=>{const t=e||window.event;return mg(t.target)||t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)},P_=e=>{if(Vo===void 0){const t=!!e&&e.reserveScrollBarGap===!0,n=window.innerWidth-document.documentElement.clientWidth;if(t&&n>0){const r=parseInt(getComputedStyle(document.body).getPropertyValue("padding-right"),10);Vo=document.body.style.paddingRight,document.body.style.paddingRight=`${r+n}px`}}jo===void 0&&(jo=document.body.style.overflow,document.body.style.overflow="hidden")},L_=()=>{Vo!==void 0&&(document.body.style.paddingRight=Vo,Vo=void 0),jo!==void 0&&(document.body.style.overflow=jo,jo=void 0)},I_=e=>e?e.scrollHeight-e.scrollTop<=e.clientHeight:!1,M_=(e,t)=>(Ms=e.targetTouches[0].clientY-pg,mg(e.target)?!1:t&&t.scrollTop===0&&Ms>0||I_(t)&&Ms<0?Vh(e):(e.stopPropagation(),!0)),x_=(e,t)=>{if(!e){console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");return}if(Zr.some(r=>r.targetElement===e))return;const n={targetElement:e,options:t||{}};Zr=[...Zr,n],hg?(e.ontouchstart=r=>{r.targetTouches.length===1&&(pg=r.targetTouches[0].clientY)},e.ontouchmove=r=>{r.targetTouches.length===1&&M_(r,e)},du||(document.addEventListener("touchmove",Vh,jh?{passive:!1}:void 0),du=!0)):P_(t)},R_=e=>{if(!e){console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.");return}Zr=Zr.filter(t=>t.targetElement!==e),hg?(e.ontouchstart=null,e.ontouchmove=null,du&&Zr.length===0&&(document.removeEventListener("touchmove",Vh,jh?{passive:!1}:void 0),du=!1)):Zr.length||L_()};function D_(e,t){const{lockScrollEl:n,modelValueLocal:r}=t;let i;Ke(n,l=>{l&&(i=l)},{immediate:!0}),Ke(()=>e.lockScroll,l=>{l?o():a()}),Dr(()=>{a()});function a(){i&&R_(i)}function o(){r.value&&e.lockScroll&&i&&x_(i,{reserveScrollBarGap:e.reserveScrollBarGap,allowTouchMove:l=>{for(;l&&l!==document.body;){if(l.getAttribute("vfm-scroll-lock-ignore")!==null)return!0;l=l.parentElement}return!1}})}return{enableBodyScroll:a,disableBodyScroll:o}}function F_(e){function t(n){switch(n){case"beforeOpen":e(n);break;case"beforeClose":e(n);break;case"opened":e(n);break;case"closed":e(n);break}}return{emitEvent:t}}function H_(e){const t=be();function n(i){var a;t.value=(a=e.zIndexFn)==null?void 0:a.call(e,{index:i<=-1?0:i})}function r(){t.value=void 0}return{zIndex:t,refreshZIndex:n,resetZIndex:r}}const Qc={beforeMount(e,{value:t},{transition:n}){e._vov=e.style.visibility==="hidden"?"":e.style.visibility,n&&t?n.beforeEnter(e):wo(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),wo(e,!0),r.enter(e)):r.leave(e,()=>{wo(e,!1)}):wo(e,t))},beforeUnmount(e,{value:t}){wo(e,t)}};function wo(e,t){e.style.visibility=t?e._vov:"hidden"}const jp=e=>{if(e instanceof MouseEvent){const{clientX:t,clientY:n}=e;return{x:t,y:n}}else{const{clientX:t,clientY:n}=e.targetTouches[0];return{x:t,y:n}}};function j_(e){if(!e)return!1;let t=!1;const n={get passive(){return t=!0,!1}};return e.addEventListener("x",ar,n),e.removeEventListener("x",ar),t}function V_(e,{threshold:t=0,onSwipeStart:n,onSwipe:r,onSwipeEnd:i,passive:a=!0}){const o=dr({x:0,y:0}),l=dr({x:0,y:0}),s=fe(()=>o.x-l.x),u=fe(()=>o.y-l.y),{max:f,abs:c}=Math,d=fe(()=>f(c(s.value),c(u.value))>=t),h=be(!1),y=fe(()=>d.value?c(s.value)>c(u.value)?s.value>0?"left":"right":u.value>0?"up":"down":"none"),g=(T,S)=>{o.x=T,o.y=S},_=(T,S)=>{l.x=T,l.y=S};let m,v;function b(T){m.capture&&!m.passive&&T.preventDefault();const{x:S,y:P}=jp(T);g(S,P),_(S,P),n?.(T),v=[ir(e,"mousemove",p,m),ir(e,"touchmove",p,m),ir(e,"mouseup",E,m),ir(e,"touchend",E,m),ir(e,"touchcancel",E,m)]}function p(T){const{x:S,y:P}=jp(T);_(S,P),!h.value&&d.value&&(h.value=!0),h.value&&r?.(T)}function E(T){h.value&&i?.(T,y.value),h.value=!1,v.forEach(S=>S())}let k=[];return mn(()=>{const T=j_(window?.document);a?m=T?{passive:!0}:{capture:!1}:m=T?{passive:!1,capture:!0}:{capture:!0},k=[ir(e,"mousedown",b,m),ir(e,"touchstart",b,m)]}),{isSwiping:h,direction:y,coordsStart:o,coordsEnd:l,lengthX:s,lengthY:u,stop:()=>{k.forEach(T=>T()),v.forEach(T=>T())}}}function B_(e,t){const{vfmContentEl:n,modelValueLocal:r}=t,i=.1,a=300,o=be(),l=fe(()=>{if(!(e.swipeToClose===void 0||e.swipeToClose==="none"))return e.showSwipeBanner?o.value:n.value}),s=be(0),u=be(!0);let f=ar,c=!0,d,h=!1;const{lengthX:y,lengthY:g,direction:_,isSwiping:m}=V_(l,{threshold:e.threshold,onSwipeStart(E){f=ir(document,"selectionchange",()=>{var k;u.value=(k=window.getSelection())==null?void 0:k.isCollapsed}),d=new Date().getTime(),h=p(E?.target)},onSwipe(){var E,k,T,S;if(h&&u.value&&_.value===e.swipeToClose){if(_.value==="up"){const P=ds(Math.abs(g.value||0),0,((E=l.value)==null?void 0:E.offsetHeight)||0)-(e.threshold||0);s.value=P}else if(_.value==="down"){const P=ds(Math.abs(g.value||0),0,((k=l.value)==null?void 0:k.offsetHeight)||0)-(e.threshold||0);s.value=-P}else if(_.value==="right"){const P=ds(Math.abs(y.value||0),0,((T=l.value)==null?void 0:T.offsetWidth)||0)-(e.threshold||0);s.value=-P}else if(_.value==="left"){const P=ds(Math.abs(y.value||0),0,((S=l.value)==null?void 0:S.offsetWidth)||0)-(e.threshold||0);s.value=P}}},onSwipeEnd(E,k){if(f(),!u.value){u.value=!0;return}const T=new Date().getTime(),S=k===e.swipeToClose,P=(()=>{var O,w;if(k==="up"||k==="down")return Math.abs(g?.value||0)>i*(((O=l.value)==null?void 0:O.offsetHeight)||0);if(k==="left"||k==="right")return Math.abs(y?.value||0)>i*(((w=l.value)==null?void 0:w.offsetWidth)||0)})(),N=T-d<=a;if(c&&h&&S&&(P||N)){r.value=!1;return}s.value=0}}),v=fe(()=>{if(e.swipeToClose==="none")return;const E=(()=>{switch(e.swipeToClose){case"up":case"down":return"translateY";case"left":case"right":return"translateX"}})();return{class:{"vfm-bounce-back":!m.value},style:{transform:`${E}(${-s.value}px)`}}});Ke(()=>u.value,E=>{E||(s.value=0)}),Ke(()=>r.value,E=>{E&&(s.value=0)}),Ke(()=>s.value,(E,k)=>{switch(e.swipeToClose){case"down":case"right":c=E<k;break;case"up":case"left":c=E>k;break}});function b(E){e.preventNavigationGestures&&E.preventDefault()}function p(E){const k=E?.tagName;if(!k||["INPUT","TEXTAREA"].includes(k))return!1;const T=(()=>{switch(e.swipeToClose){case"up":return E?.scrollTop+E?.clientHeight===E?.scrollHeight;case"left":return E?.scrollLeft+E?.clientWidth===E?.scrollWidth;case"down":return E?.scrollTop===0;case"right":return E?.scrollLeft===0;default:return!1}})();return E===l.value?T:T&&p(E?.parentElement)}return{vfmContentEl:n,swipeBannerEl:o,bindSwipe:v,onTouchStartSwipeBanner:b}}const Bh=Symbol("vfm"),zh=Symbol("internalVfm"),z_=ut({__name:"CoreModal",props:Hh,emits:["update:modelValue","beforeOpen","opened","beforeClose","closed","clickOutside"],setup(e,{emit:t}){const n=e,r=t,{modals:i,openedModals:a}=In(Bh,{modals:[],openedModals:[]}),{openLastOverlay:o,moveToLastOpenedModals:l,deleteFromOpenedModals:s,moveToLastOpenedModalOverlays:u,deleteFromOpenedModalOverlays:f,deleteFromModals:c}=In(zh,{openLastOverlay:ar,moveToLastOpenedModals:ar,deleteFromOpenedModals:ar,moveToLastOpenedModalOverlays:ar,deleteFromOpenedModalOverlays:ar,deleteFromModals:ar}),d=be(),h=be(),{focus:y,blur:g}=S_(n,{focusEl:d}),{zIndex:_,refreshZIndex:m,resetZIndex:v}=H_(n),{modelValueLocal:b}=T_(n,r),{enableBodyScroll:p,disableBodyScroll:E}=D_(n,{lockScrollEl:d,modelValueLocal:b}),{emitEvent:k}=F_(r);let T=ar;const{visible:S,contentVisible:P,contentListeners:N,contentTransition:O,overlayVisible:w,overlayListeners:C,overlayTransition:I,enterTransition:D,leaveTransition:V}=w_(n,{modelValueLocal:b,onEntering(){Ht(()=>{E(),y()})},onEnter(){k("opened"),T("opened")},onLeave(){s(X()),v(),p(),k("closed"),T("closed")}}),{onEsc:U,onMouseupRoot:te,onMousedown:K}=O_(n,r,{vfmRootEl:d,vfmContentEl:h,visible:S,modelValueLocal:b}),{swipeBannerEl:H,bindSwipe:M,onTouchStartSwipeBanner:j}=B_(n,{vfmContentEl:h,modelValueLocal:b}),z=bl(n,"hideOverlay"),Z=fe(()=>({modalId:n.modalId,hideOverlay:z,overlayVisible:w,focus:y,toggle(Q){return new Promise(se=>{T=E_(B=>se(B));const he=typeof Q=="boolean"?Q:!b.value;b.value=he,r("update:modelValue",he)})}}));function X(){return Z}const F=fe(()=>a.indexOf(Z));Ke(()=>[n.zIndexFn,F.value],()=>{S.value&&m(F.value)}),mn(()=>{i.push(Z)}),b.value&&J(),Ke(b,Q=>{Q?J():ae()});async function J(){k("beforeOpen"),l(Z),u(Z),m(F.value),o(),D()}function ae(){k("beforeClose"),f(Z),o(),g(),V()}return Dr(()=>{p(),c(Z),s(Z),f(Z),g(),o()}),(Q,se)=>Q.displayDirective!=="if"||Se(S)?qn((_e(),Pe("div",{key:0,ref_key:"vfmRootEl",ref:d,class:_t(["vfm vfm--fixed vfm--inset",{"vfm--prevent-none":Q.background==="interactive"}]),style:qt({zIndex:Se(_)}),role:"dialog","aria-modal":"true",onKeydown:se[7]||(se[7]=Ju(()=>Se(U)(),["esc"])),onMouseup:se[8]||(se[8]=ta(()=>Se(te)(),["self"])),onMousedown:se[9]||(se[9]=ta(he=>Se(K)(he),["self"]))},[z.value?nt("",!0):(_e(),mt(fi,dn({key:0},Se(I),{appear:!0},Xo(Se(C))),{default:fn(()=>[Q.displayDirective!=="if"||Se(w)?qn((_e(),Pe("div",{key:0,class:_t(["vfm__overlay vfm--overlay vfm--absolute vfm--inset vfm--prevent-none",Q.overlayClass]),style:qt(Q.overlayStyle),"aria-hidden":"true"},null,6)),[[Nr,Q.displayDirective!=="show"||Se(w)],[Se(Qc),Q.displayDirective!=="visible"||Se(w)]]):nt("",!0)]),_:1},16)),xe(fi,dn(Se(O),{appear:!0},Xo(Se(N))),{default:fn(()=>[Q.displayDirective!=="if"||Se(P)?qn((_e(),Pe("div",dn({key:0,ref_key:"vfmContentEl",ref:h,class:["vfm__content vfm--outline-none",[Q.contentClass,{"vfm--prevent-auto":Q.background==="interactive"}]],style:Q.contentStyle,tabindex:"0"},Se(M),{onMousedown:se[6]||(se[6]=()=>Se(K)())}),[ht(Q.$slots,"default"),Q.showSwipeBanner?(_e(),Pe("div",{key:0,ref_key:"swipeBannerEl",ref:H,class:"vfm-swipe-banner-container",onTouchstart:se[2]||(se[2]=he=>Se(j)(he))},[ht(Q.$slots,"swipe-banner",{},()=>[Re("div",{class:"vfm-swipe-banner-back",onTouchstart:se[0]||(se[0]=he=>Q.swipeToClose==="left"&&he.preventDefault())},null,32),Re("div",{class:"vfm-swipe-banner-forward",onTouchstart:se[1]||(se[1]=he=>Q.swipeToClose==="right"&&he.preventDefault())},null,32)])],544)):!Q.showSwipeBanner&&Q.preventNavigationGestures?(_e(),Pe("div",{key:1,class:"vfm-swipe-banner-container",onTouchstart:se[5]||(se[5]=he=>Se(j)(he))},[Re("div",{class:"vfm-swipe-banner-back",onTouchstart:se[3]||(se[3]=he=>Q.swipeToClose==="left"&&he.preventDefault())},null,32),Re("div",{class:"vfm-swipe-banner-forward",onTouchstart:se[4]||(se[4]=he=>Q.swipeToClose==="right"&&he.preventDefault())},null,32)],32)):nt("",!0)],16)),[[Nr,Q.displayDirective!=="show"||Se(P)],[Se(Qc),Q.displayDirective!=="visible"||Se(P)]]):nt("",!0)]),_:3},16)],38)),[[Nr,Q.displayDirective!=="show"||Se(S)],[Se(Qc),Q.displayDirective!=="visible"||Se(S)]]):nt("",!0)}}),$_={...Hh,teleportTo:{type:[String,null,Boolean,Object],default:"body"}},U_=ut({inheritAttrs:!1}),vg=ut({...U_,__name:"VueFinalModal",props:$_,emits:["update:modelValue","beforeOpen","opened","beforeClose","closed","clickOutside"],setup(e,{emit:t}){const n=Q_({props:e,modalProps:Hh,emit:t});return(r,i)=>(_e(),mt($u,{to:r.teleportTo?r.teleportTo:void 0,disabled:!r.teleportTo},[xe(z_,$t(Zt(Se(n))),{default:fn(()=>[ht(r.$slots,"default")]),_:3},16)],8,["to","disabled"]))}});let ji;const q_=e=>ji=e,K_=()=>jt()&&In(Bh)||ji;function W_(){const e=Vi([]),t=Vi([]),n=Vi([]),r=Vi([]),i=be([]),a=cr({install(o){o.provide(Bh,a),o.config.globalProperties.$vfm=a;const l=G_(a);o.provide(zh,l)},modals:e,openedModals:t,openedModalOverlays:n,dynamicModals:r,modalsContainers:i,get(o){return e.find(l=>l.value.modalId&&o===l.value.modalId)},toggle(o,l){const s=a.get(o);return s?.value.toggle(l)},open(o){return a.toggle(o,!0)},close(o){return a.toggle(o,!1)},closeAll(){return Promise.allSettled([t.map(o=>o.value.toggle(!1))])}});return q_(a),a}function G_(e){const{modals:t,openedModals:n,openedModalOverlays:r,dynamicModals:i}=e,a={deleteFromModals(o){const l=t.findIndex(s=>s.value===o.value);l!==-1&&t.splice(l,1)},moveToLastOpenedModals(o){a.deleteFromOpenedModals(o),n.push(o)},deleteFromOpenedModals(o){const l=n.findIndex(s=>s.value===o.value);l!==-1&&n.splice(l,1)},moveToLastOpenedModalOverlays(o){a.deleteFromOpenedModalOverlays(o),r.push(o)},deleteFromOpenedModalOverlays(o){const l=r.findIndex(s=>s.value===o.value);l!==-1&&r.splice(l,1)},async openLastOverlay(){var o;if(await Ht(),r.forEach(l=>l.value.overlayVisible.value=!1),r.length>0){const l=r[r.length-1];!((o=l.value.hideOverlay)!=null&&o.value)&&(l.value.overlayVisible.value=!0)}},resolvedClosed(o){var l,s,u;(s=(l=i[o])==null?void 0:l.resolveClosed)==null||s.call(l),(u=i[o])!=null&&u.keepAlive||i.splice(o,1)},resolvedOpened(o){var l,s;(s=(l=i[o])==null?void 0:l.resolveOpened)==null||s.call(l)}};return a}function xs(){const e=K_();if(!e)throw new Error(`[Vue Final Modal]: getActiveVfm was called with no active Vfm. Did you forget to install vfm?
18
18
  const vfm = createVfm()
19
19
  app.use(vfm)
20
20
  This will fail in production.`);return e}function Y_(){return In(zh)}function Vp(e,t=vg){const{component:n,slots:r,...i}=e,a=typeof r>"u"?{}:Object.fromEntries(Object.entries(r).map(([o,l])=>Fh(l)?[o,l]:"component"in l?[o,{...l,component:cr(l.component)}]:[o,cr(l)]));return{...i,component:cr(n||t),slots:a}}function X_(e){const t=dr({id:Symbol("useModal"),modelValue:!!(e!=null&&e.defaultModelValue),resolveOpened:()=>{},resolveClosed:()=>{},attrs:{},...Vp(e)});$8(()=>{t!=null&&t.keepAlive||l()}),t.modelValue===!0&&(ji?ji?.dynamicModals.push(t):Ht(()=>{const s=xs();s?.dynamicModals.push(t)}));async function n(){let s;return ji?s=ji:(await Ht(),s=xs()),t.modelValue?Promise.resolve("[Vue Final Modal] modal is already opened."):(l(),t.modelValue=!0,s.dynamicModals.push(t),new Promise(u=>{t.resolveOpened=()=>u("opened")}))}function r(){return t.modelValue?(t.modelValue=!1,new Promise(s=>{t.resolveClosed=()=>s("closed")})):Promise.resolve("[Vue Final Modal] modal is already closed.")}function i(s){const{slots:u,...f}=Vp(s,t.component);s.defaultModelValue!==void 0&&(t.defaultModelValue=s.defaultModelValue),s?.keepAlive!==void 0&&(t.keepAlive=s?.keepAlive),a(t,f),u&&Object.entries(u).forEach(([c,d])=>{const h=t.slots[c];Fh(h)?t.slots[c]=d:Bp(h)&&Bp(d)?a(h,d):t.slots[c]=d})}function a(s,u){u.component&&(s.component=u.component),u.attrs&&o(s.attrs,u.attrs)}function o(s,u){return Object.entries(u).forEach(([f,c])=>{s[f]=c}),s}function l(){const s=xs(),u=s.dynamicModals.indexOf(t);u!==-1&&s.dynamicModals.splice(u,1)}return{options:t,open:n,close:r,patchOptions:i,destroy:l}}function Bp(e){return"component"in e||"attrs"in e}function J_(e,t){return Object.keys(t).reduce((n,r)=>(n[r]=e[r],n),{})}function Z_(e){return e?{"onUpdate:modelValue":t=>e("update:modelValue",t),onBeforeClose:()=>e("beforeClose"),onClosed:()=>e("closed"),onBeforeOpen:()=>e("beforeOpen"),onOpened:()=>e("opened"),onClickOutside:()=>e("clickOutside")}:{}}function Q_(e){const{props:t,modalProps:n,emit:r}=e,i=fe(()=>J_(t,n)),a=Z_(r),o=Jd();return fe(()=>({...i.value,...a,...o}))}const e5=["innerHTML"],t5=ut({__name:"ModalsContainer",setup(e){const t=xs(),n=Y_(),r=Symbol("ModalsContainer"),i=fe(()=>{var a;return r===((a=t.modalsContainers.value)==null?void 0:a[0])});return t.modalsContainers.value.push(r),Dr(()=>{t.modalsContainers.value=t.modalsContainers.value.filter(a=>a!==r)}),(a,o)=>i.value?(_e(!0),Pe(tt,{key:0},Qi(Se(t).dynamicModals,(l,s)=>(_e(),mt(Ar(l.component),dn({key:l.id},{displayDirective:l!=null&&l.keepAlive?"show":void 0,...l.attrs},{modelValue:l.modelValue,"onUpdate:modelValue":u=>l.modelValue=u,onClosed:()=>{var u,f;return(f=(u=Se(n)).resolvedClosed)==null?void 0:f.call(u,s)},onOpened:()=>{var u,f;return(f=(u=Se(n)).resolvedOpened)==null?void 0:f.call(u,s)}}),zu({_:2},[Qi(l.slots,(u,f)=>({name:f,fn:fn(()=>[Se(Fh)(u)?(_e(),Pe("div",{key:0,innerHTML:u},null,8,e5)):"component"in u?(_e(),mt(Ar(u.component),$t(dn({key:1},u.attrs)),null,16)):(_e(),mt(Ar(u),{key:2}))])}))]),1040,["modelValue","onUpdate:modelValue","onClosed","onOpened"]))),128)):nt("",!0)}});/*!
@@ -26,7 +26,7 @@ This will fail in production.`);return e}function Y_(){return In(zh)}function Vp
26
26
  * (c) 2023 kazuya kawaguchi
27
27
  * Released under the MIT License.
28
28
  */function c5(e,t,n){return{line:e,column:t,offset:n}}function qf(e,t,n){const r={start:e,end:t};return n!=null&&(r.source=n),r}const f5=/\{([0-9a-zA-Z]+)\}/g;function d5(e,...t){return t.length===1&&h5(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(f5,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const bg=Object.assign,Up=e=>typeof e=="string",h5=e=>e!==null&&typeof e=="object";function _g(e,t=""){return e.reduce((n,r,i)=>i===0?n+r:n+t+r,"")}const Ne={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},p5={[Ne.EXPECTED_TOKEN]:"Expected token: '{0}'",[Ne.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[Ne.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[Ne.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[Ne.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[Ne.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[Ne.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[Ne.EMPTY_PLACEHOLDER]:"Empty placeholder",[Ne.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[Ne.INVALID_LINKED_FORMAT]:"Invalid linked format",[Ne.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[Ne.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[Ne.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[Ne.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[Ne.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[Ne.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function ro(e,t,n={}){const{domain:r,messages:i,args:a}=n,o=d5((i||p5)[e]||"",...a||[]),l=new SyntaxError(String(o));return l.code=e,t&&(l.location=t),l.domain=r,l}function m5(e){throw e}const _r=" ",v5="\r",Jt=`
29
- `,g5=String.fromCharCode(8232),y5=String.fromCharCode(8233);function b5(e){const t=e;let n=0,r=1,i=1,a=0;const o=T=>t[T]===v5&&t[T+1]===Jt,l=T=>t[T]===Jt,s=T=>t[T]===y5,u=T=>t[T]===g5,f=T=>o(T)||l(T)||s(T)||u(T),c=()=>n,d=()=>r,h=()=>i,y=()=>a,g=T=>o(T)||s(T)||u(T)?Jt:t[T],_=()=>g(n),m=()=>g(n+a);function v(){return a=0,f(n)&&(r++,i=0),o(n)&&n++,n++,i++,t[n]}function b(){return o(n+a)&&a++,a++,t[n+a]}function p(){n=0,r=1,i=1,a=0}function E(T=0){a=T}function k(){const T=n+a;for(;T!==n;)v();a=0}return{index:c,line:d,column:h,peekOffset:y,charAt:g,currentChar:_,currentPeek:m,next:v,peek:b,reset:p,resetPeek:E,skipToPeek:k}}const $r=void 0,_5=".",qp="'",E5="tokenizer";function w5(e,t={}){const n=t.location!==!1,r=b5(e),i=()=>r.index(),a=()=>c5(r.line(),r.column(),r.index()),o=a(),l=i(),s={currentType:14,offset:l,startLoc:o,endLoc:o,lastType:14,lastOffset:l,lastStartLoc:o,lastEndLoc:o,braceNest:0,inLinked:!1,text:""},u=()=>s,{onError:f}=t;function c(L,x,$,...ee){const le=u();if(x.column+=$,x.offset+=$,f){const U=n?qf(le.startLoc,x):null,W=ro(L,U,{domain:E5,args:ee});f(W)}}function d(L,x,$){L.endLoc=a(),L.currentType=x;const ee={type:x};return n&&(ee.loc=qf(L.startLoc,L.endLoc)),$!=null&&(ee.value=$),ee}const h=L=>d(L,14);function y(L,x){return L.currentChar()===x?(L.next(),x):(c(Ne.EXPECTED_TOKEN,a(),0,x),"")}function g(L){let x="";for(;L.currentPeek()===_r||L.currentPeek()===Jt;)x+=L.currentPeek(),L.peek();return x}function _(L){const x=g(L);return L.skipToPeek(),x}function m(L){if(L===$r)return!1;const x=L.charCodeAt(0);return x>=97&&x<=122||x>=65&&x<=90||x===95}function v(L){if(L===$r)return!1;const x=L.charCodeAt(0);return x>=48&&x<=57}function b(L,x){const{currentType:$}=x;if($!==2)return!1;g(L);const ee=m(L.currentPeek());return L.resetPeek(),ee}function p(L,x){const{currentType:$}=x;if($!==2)return!1;g(L);const ee=L.currentPeek()==="-"?L.peek():L.currentPeek(),le=v(ee);return L.resetPeek(),le}function E(L,x){const{currentType:$}=x;if($!==2)return!1;g(L);const ee=L.currentPeek()===qp;return L.resetPeek(),ee}function k(L,x){const{currentType:$}=x;if($!==8)return!1;g(L);const ee=L.currentPeek()===".";return L.resetPeek(),ee}function T(L,x){const{currentType:$}=x;if($!==9)return!1;g(L);const ee=m(L.currentPeek());return L.resetPeek(),ee}function S(L,x){const{currentType:$}=x;if(!($===8||$===12))return!1;g(L);const ee=L.currentPeek()===":";return L.resetPeek(),ee}function P(L,x){const{currentType:$}=x;if($!==10)return!1;const ee=()=>{const U=L.currentPeek();return U==="{"?m(L.peek()):U==="@"||U==="%"||U==="|"||U===":"||U==="."||U===_r||!U?!1:U===Jt?(L.peek(),ee()):m(U)},le=ee();return L.resetPeek(),le}function N(L){g(L);const x=L.currentPeek()==="|";return L.resetPeek(),x}function O(L){const x=g(L),$=L.currentPeek()==="%"&&L.peek()==="{";return L.resetPeek(),{isModulo:$,hasSpace:x.length>0}}function w(L,x=!0){const $=(le=!1,U="",W=!1)=>{const re=L.currentPeek();return re==="{"?U==="%"?!1:le:re==="@"||!re?U==="%"?!0:le:re==="%"?(L.peek(),$(le,"%",!0)):re==="|"?U==="%"||W?!0:!(U===_r||U===Jt):re===_r?(L.peek(),$(!0,_r,W)):re===Jt?(L.peek(),$(!0,Jt,W)):!0},ee=$();return x&&L.resetPeek(),ee}function C(L,x){const $=L.currentChar();return $===$r?$r:x($)?(L.next(),$):null}function I(L){return C(L,$=>{const ee=$.charCodeAt(0);return ee>=97&&ee<=122||ee>=65&&ee<=90||ee>=48&&ee<=57||ee===95||ee===36})}function D(L){return C(L,$=>{const ee=$.charCodeAt(0);return ee>=48&&ee<=57})}function V(L){return C(L,$=>{const ee=$.charCodeAt(0);return ee>=48&&ee<=57||ee>=65&&ee<=70||ee>=97&&ee<=102})}function q(L){let x="",$="";for(;x=D(L);)$+=x;return $}function te(L){_(L);const x=L.currentChar();return x!=="%"&&c(Ne.EXPECTED_TOKEN,a(),0,x),L.next(),"%"}function K(L){let x="";for(;;){const $=L.currentChar();if($==="{"||$==="}"||$==="@"||$==="|"||!$)break;if($==="%")if(w(L))x+=$,L.next();else break;else if($===_r||$===Jt)if(w(L))x+=$,L.next();else{if(N(L))break;x+=$,L.next()}else x+=$,L.next()}return x}function H(L){_(L);let x="",$="";for(;x=I(L);)$+=x;return L.currentChar()===$r&&c(Ne.UNTERMINATED_CLOSING_BRACE,a(),0),$}function M(L){_(L);let x="";return L.currentChar()==="-"?(L.next(),x+=`-${q(L)}`):x+=q(L),L.currentChar()===$r&&c(Ne.UNTERMINATED_CLOSING_BRACE,a(),0),x}function j(L){_(L),y(L,"'");let x="",$="";const ee=U=>U!==qp&&U!==Jt;for(;x=C(L,ee);)x==="\\"?$+=z(L):$+=x;const le=L.currentChar();return le===Jt||le===$r?(c(Ne.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,a(),0),le===Jt&&(L.next(),y(L,"'")),$):(y(L,"'"),$)}function z(L){const x=L.currentChar();switch(x){case"\\":case"'":return L.next(),`\\${x}`;case"u":return Q(L,x,4);case"U":return Q(L,x,6);default:return c(Ne.UNKNOWN_ESCAPE_SEQUENCE,a(),0,x),""}}function Q(L,x,$){y(L,x);let ee="";for(let le=0;le<$;le++){const U=V(L);if(!U){c(Ne.INVALID_UNICODE_ESCAPE_SEQUENCE,a(),0,`\\${x}${ee}${L.currentChar()}`);break}ee+=U}return`\\${x}${ee}`}function X(L){_(L);let x="",$="";const ee=le=>le!=="{"&&le!=="}"&&le!==_r&&le!==Jt;for(;x=C(L,ee);)$+=x;return $}function F(L){let x="",$="";for(;x=I(L);)$+=x;return $}function J(L){const x=($=!1,ee)=>{const le=L.currentChar();return le==="{"||le==="%"||le==="@"||le==="|"||le==="("||le===")"||!le||le===_r?ee:le===Jt||le===_5?(ee+=le,L.next(),x($,ee)):(ee+=le,L.next(),x(!0,ee))};return x(!1,"")}function ae(L){_(L);const x=y(L,"|");return _(L),x}function Z(L,x){let $=null;switch(L.currentChar()){case"{":return x.braceNest>=1&&c(Ne.NOT_ALLOW_NEST_PLACEHOLDER,a(),0),L.next(),$=d(x,2,"{"),_(L),x.braceNest++,$;case"}":return x.braceNest>0&&x.currentType===2&&c(Ne.EMPTY_PLACEHOLDER,a(),0),L.next(),$=d(x,3,"}"),x.braceNest--,x.braceNest>0&&_(L),x.inLinked&&x.braceNest===0&&(x.inLinked=!1),$;case"@":return x.braceNest>0&&c(Ne.UNTERMINATED_CLOSING_BRACE,a(),0),$=se(L,x)||h(x),x.braceNest=0,$;default:let le=!0,U=!0,W=!0;if(N(L))return x.braceNest>0&&c(Ne.UNTERMINATED_CLOSING_BRACE,a(),0),$=d(x,1,ae(L)),x.braceNest=0,x.inLinked=!1,$;if(x.braceNest>0&&(x.currentType===5||x.currentType===6||x.currentType===7))return c(Ne.UNTERMINATED_CLOSING_BRACE,a(),0),x.braceNest=0,he(L,x);if(le=b(L,x))return $=d(x,5,H(L)),_(L),$;if(U=p(L,x))return $=d(x,6,M(L)),_(L),$;if(W=E(L,x))return $=d(x,7,j(L)),_(L),$;if(!le&&!U&&!W)return $=d(x,13,X(L)),c(Ne.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,$.value),_(L),$;break}return $}function se(L,x){const{currentType:$}=x;let ee=null;const le=L.currentChar();switch(($===8||$===9||$===12||$===10)&&(le===Jt||le===_r)&&c(Ne.INVALID_LINKED_FORMAT,a(),0),le){case"@":return L.next(),ee=d(x,8,"@"),x.inLinked=!0,ee;case".":return _(L),L.next(),d(x,9,".");case":":return _(L),L.next(),d(x,10,":");default:return N(L)?(ee=d(x,1,ae(L)),x.braceNest=0,x.inLinked=!1,ee):k(L,x)||S(L,x)?(_(L),se(L,x)):T(L,x)?(_(L),d(x,12,F(L))):P(L,x)?(_(L),le==="{"?Z(L,x)||ee:d(x,11,J(L))):($===8&&c(Ne.INVALID_LINKED_FORMAT,a(),0),x.braceNest=0,x.inLinked=!1,he(L,x))}}function he(L,x){let $={type:14};if(x.braceNest>0)return Z(L,x)||h(x);if(x.inLinked)return se(L,x)||h(x);switch(L.currentChar()){case"{":return Z(L,x)||h(x);case"}":return c(Ne.UNBALANCED_CLOSING_BRACE,a(),0),L.next(),d(x,3,"}");case"@":return se(L,x)||h(x);default:if(N(L))return $=d(x,1,ae(L)),x.braceNest=0,x.inLinked=!1,$;const{isModulo:le,hasSpace:U}=O(L);if(le)return U?d(x,0,K(L)):d(x,4,te(L));if(w(L))return d(x,0,K(L));break}return $}function B(){const{currentType:L,offset:x,startLoc:$,endLoc:ee}=s;return s.lastType=L,s.lastOffset=x,s.lastStartLoc=$,s.lastEndLoc=ee,s.offset=i(),s.startLoc=a(),r.currentChar()===$r?d(s,14):he(r,s)}return{nextToken:B,currentOffset:i,currentPosition:a,context:u}}const O5="parser",T5=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function S5(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"�"}}}function A5(e={}){const t=e.location!==!1,{onError:n}=e;function r(m,v,b,p,...E){const k=m.currentPosition();if(k.offset+=p,k.column+=p,n){const T=t?qf(b,k):null,S=ro(v,T,{domain:O5,args:E});n(S)}}function i(m,v,b){const p={type:m};return t&&(p.start=v,p.end=v,p.loc={start:b,end:b}),p}function a(m,v,b,p){p&&(m.type=p),t&&(m.end=v,m.loc&&(m.loc.end=b))}function o(m,v){const b=m.context(),p=i(3,b.offset,b.startLoc);return p.value=v,a(p,m.currentOffset(),m.currentPosition()),p}function l(m,v){const b=m.context(),{lastOffset:p,lastStartLoc:E}=b,k=i(5,p,E);return k.index=parseInt(v,10),m.nextToken(),a(k,m.currentOffset(),m.currentPosition()),k}function s(m,v){const b=m.context(),{lastOffset:p,lastStartLoc:E}=b,k=i(4,p,E);return k.key=v,m.nextToken(),a(k,m.currentOffset(),m.currentPosition()),k}function u(m,v){const b=m.context(),{lastOffset:p,lastStartLoc:E}=b,k=i(9,p,E);return k.value=v.replace(T5,S5),m.nextToken(),a(k,m.currentOffset(),m.currentPosition()),k}function f(m){const v=m.nextToken(),b=m.context(),{lastOffset:p,lastStartLoc:E}=b,k=i(8,p,E);return v.type!==12?(r(m,Ne.UNEXPECTED_EMPTY_LINKED_MODIFIER,b.lastStartLoc,0),k.value="",a(k,p,E),{nextConsumeToken:v,node:k}):(v.value==null&&r(m,Ne.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,nr(v)),k.value=v.value||"",a(k,m.currentOffset(),m.currentPosition()),{node:k})}function c(m,v){const b=m.context(),p=i(7,b.offset,b.startLoc);return p.value=v,a(p,m.currentOffset(),m.currentPosition()),p}function d(m){const v=m.context(),b=i(6,v.offset,v.startLoc);let p=m.nextToken();if(p.type===9){const E=f(m);b.modifier=E.node,p=E.nextConsumeToken||m.nextToken()}switch(p.type!==10&&r(m,Ne.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,nr(p)),p=m.nextToken(),p.type===2&&(p=m.nextToken()),p.type){case 11:p.value==null&&r(m,Ne.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,nr(p)),b.key=c(m,p.value||"");break;case 5:p.value==null&&r(m,Ne.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,nr(p)),b.key=s(m,p.value||"");break;case 6:p.value==null&&r(m,Ne.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,nr(p)),b.key=l(m,p.value||"");break;case 7:p.value==null&&r(m,Ne.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,nr(p)),b.key=u(m,p.value||"");break;default:r(m,Ne.UNEXPECTED_EMPTY_LINKED_KEY,v.lastStartLoc,0);const E=m.context(),k=i(7,E.offset,E.startLoc);return k.value="",a(k,E.offset,E.startLoc),b.key=k,a(b,E.offset,E.startLoc),{nextConsumeToken:p,node:b}}return a(b,m.currentOffset(),m.currentPosition()),{node:b}}function h(m){const v=m.context(),b=v.currentType===1?m.currentOffset():v.offset,p=v.currentType===1?v.endLoc:v.startLoc,E=i(2,b,p);E.items=[];let k=null;do{const P=k||m.nextToken();switch(k=null,P.type){case 0:P.value==null&&r(m,Ne.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,nr(P)),E.items.push(o(m,P.value||""));break;case 6:P.value==null&&r(m,Ne.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,nr(P)),E.items.push(l(m,P.value||""));break;case 5:P.value==null&&r(m,Ne.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,nr(P)),E.items.push(s(m,P.value||""));break;case 7:P.value==null&&r(m,Ne.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,nr(P)),E.items.push(u(m,P.value||""));break;case 8:const N=d(m);E.items.push(N.node),k=N.nextConsumeToken||null;break}}while(v.currentType!==14&&v.currentType!==1);const T=v.currentType===1?v.lastOffset:m.currentOffset(),S=v.currentType===1?v.lastEndLoc:m.currentPosition();return a(E,T,S),E}function y(m,v,b,p){const E=m.context();let k=p.items.length===0;const T=i(1,v,b);T.cases=[],T.cases.push(p);do{const S=h(m);k||(k=S.items.length===0),T.cases.push(S)}while(E.currentType!==14);return k&&r(m,Ne.MUST_HAVE_MESSAGES_IN_PLURAL,b,0),a(T,m.currentOffset(),m.currentPosition()),T}function g(m){const v=m.context(),{offset:b,startLoc:p}=v,E=h(m);return v.currentType===14?E:y(m,b,p,E)}function _(m){const v=w5(m,bg({},e)),b=v.context(),p=i(0,b.offset,b.startLoc);return t&&p.loc&&(p.loc.source=m),p.body=g(v),e.onCacheKey&&(p.cacheKey=e.onCacheKey(m)),b.currentType!==14&&r(v,Ne.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,m[b.offset]||""),a(p,v.currentOffset(),v.currentPosition()),p}return{parse:_}}function nr(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function N5(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:a=>(n.helpers.add(a),a)}}function Kp(e,t){for(let n=0;n<e.length;n++)Uh(e[n],t)}function Uh(e,t){switch(e.type){case 1:Kp(e.cases,t),t.helper("plural");break;case 2:Kp(e.items,t);break;case 6:Uh(e.key,t),t.helper("linked"),t.helper("type");break;case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function k5(e,t={}){const n=N5(e);n.helper("normalize"),e.body&&Uh(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function C5(e){const t=e.body;return t.type===2?Wp(t):t.cases.forEach(n=>Wp(n)),e}function Wp(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const r=e.items[n];if(!(r.type===3||r.type===9)||r.value==null)break;t.push(r.value)}if(t.length===e.items.length){e.static=_g(t);for(let n=0;n<e.items.length;n++){const r=e.items[n];(r.type===3||r.type===9)&&delete r.value}}}}const P5="minifier";function Aa(e){switch(e.t=e.type,e.type){case 0:const t=e;Aa(t.body),t.b=t.body,delete t.body;break;case 1:const n=e,r=n.cases;for(let f=0;f<r.length;f++)Aa(r[f]);n.c=r,delete n.cases;break;case 2:const i=e,a=i.items;for(let f=0;f<a.length;f++)Aa(a[f]);i.i=a,delete i.items,i.static&&(i.s=i.static,delete i.static);break;case 3:case 9:case 8:case 7:const o=e;o.value&&(o.v=o.value,delete o.value);break;case 6:const l=e;Aa(l.key),l.k=l.key,delete l.key,l.modifier&&(Aa(l.modifier),l.m=l.modifier,delete l.modifier);break;case 5:const s=e;s.i=s.index,delete s.index;break;case 4:const u=e;u.k=u.key,delete u.key;break;default:throw ro(Ne.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:P5,args:[e.type]})}delete e.type}const L5="parser";function I5(e,t){const{sourceMap:n,filename:r,breakLineCode:i,needIndent:a}=t,o=t.location!==!1,l={filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:i,needIndent:a,indentLevel:0};o&&e.loc&&(l.source=e.loc.source);const s=()=>l;function u(_,m){l.code+=_}function f(_,m=!0){const v=m?i:"";u(a?v+" ".repeat(_):v)}function c(_=!0){const m=++l.indentLevel;_&&f(m)}function d(_=!0){const m=--l.indentLevel;_&&f(m)}function h(){f(l.indentLevel)}return{context:s,push:u,indent:c,deindent:d,newline:h,helper:_=>`_${_}`,needIndent:()=>l.needIndent}}function M5(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Ka(e,t.key),t.modifier?(e.push(", "),Ka(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function x5(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const i=t.items.length;for(let a=0;a<i&&(Ka(e,t.items[a]),a!==i-1);a++)e.push(", ");e.deindent(r()),e.push("])")}function R5(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const i=t.cases.length;for(let a=0;a<i&&(Ka(e,t.cases[a]),a!==i-1);a++)e.push(", ");e.deindent(r()),e.push("])")}}function D5(e,t){t.body?Ka(e,t.body):e.push("null")}function Ka(e,t){const{helper:n}=e;switch(t.type){case 0:D5(e,t);break;case 1:R5(e,t);break;case 2:x5(e,t);break;case 6:M5(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break;default:throw ro(Ne.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:L5,args:[t.type]})}}const F5=(e,t={})=>{const n=Up(t.mode)?t.mode:"normal",r=Up(t.filename)?t.filename:"message.intl",i=!!t.sourceMap,a=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
29
+ `,g5=String.fromCharCode(8232),y5=String.fromCharCode(8233);function b5(e){const t=e;let n=0,r=1,i=1,a=0;const o=T=>t[T]===v5&&t[T+1]===Jt,l=T=>t[T]===Jt,s=T=>t[T]===y5,u=T=>t[T]===g5,f=T=>o(T)||l(T)||s(T)||u(T),c=()=>n,d=()=>r,h=()=>i,y=()=>a,g=T=>o(T)||s(T)||u(T)?Jt:t[T],_=()=>g(n),m=()=>g(n+a);function v(){return a=0,f(n)&&(r++,i=0),o(n)&&n++,n++,i++,t[n]}function b(){return o(n+a)&&a++,a++,t[n+a]}function p(){n=0,r=1,i=1,a=0}function E(T=0){a=T}function k(){const T=n+a;for(;T!==n;)v();a=0}return{index:c,line:d,column:h,peekOffset:y,charAt:g,currentChar:_,currentPeek:m,next:v,peek:b,reset:p,resetPeek:E,skipToPeek:k}}const $r=void 0,_5=".",qp="'",E5="tokenizer";function w5(e,t={}){const n=t.location!==!1,r=b5(e),i=()=>r.index(),a=()=>c5(r.line(),r.column(),r.index()),o=a(),l=i(),s={currentType:14,offset:l,startLoc:o,endLoc:o,lastType:14,lastOffset:l,lastStartLoc:o,lastEndLoc:o,braceNest:0,inLinked:!1,text:""},u=()=>s,{onError:f}=t;function c(L,x,$,...ee){const le=u();if(x.column+=$,x.offset+=$,f){const q=n?qf(le.startLoc,x):null,W=ro(L,q,{domain:E5,args:ee});f(W)}}function d(L,x,$){L.endLoc=a(),L.currentType=x;const ee={type:x};return n&&(ee.loc=qf(L.startLoc,L.endLoc)),$!=null&&(ee.value=$),ee}const h=L=>d(L,14);function y(L,x){return L.currentChar()===x?(L.next(),x):(c(Ne.EXPECTED_TOKEN,a(),0,x),"")}function g(L){let x="";for(;L.currentPeek()===_r||L.currentPeek()===Jt;)x+=L.currentPeek(),L.peek();return x}function _(L){const x=g(L);return L.skipToPeek(),x}function m(L){if(L===$r)return!1;const x=L.charCodeAt(0);return x>=97&&x<=122||x>=65&&x<=90||x===95}function v(L){if(L===$r)return!1;const x=L.charCodeAt(0);return x>=48&&x<=57}function b(L,x){const{currentType:$}=x;if($!==2)return!1;g(L);const ee=m(L.currentPeek());return L.resetPeek(),ee}function p(L,x){const{currentType:$}=x;if($!==2)return!1;g(L);const ee=L.currentPeek()==="-"?L.peek():L.currentPeek(),le=v(ee);return L.resetPeek(),le}function E(L,x){const{currentType:$}=x;if($!==2)return!1;g(L);const ee=L.currentPeek()===qp;return L.resetPeek(),ee}function k(L,x){const{currentType:$}=x;if($!==8)return!1;g(L);const ee=L.currentPeek()===".";return L.resetPeek(),ee}function T(L,x){const{currentType:$}=x;if($!==9)return!1;g(L);const ee=m(L.currentPeek());return L.resetPeek(),ee}function S(L,x){const{currentType:$}=x;if(!($===8||$===12))return!1;g(L);const ee=L.currentPeek()===":";return L.resetPeek(),ee}function P(L,x){const{currentType:$}=x;if($!==10)return!1;const ee=()=>{const q=L.currentPeek();return q==="{"?m(L.peek()):q==="@"||q==="%"||q==="|"||q===":"||q==="."||q===_r||!q?!1:q===Jt?(L.peek(),ee()):m(q)},le=ee();return L.resetPeek(),le}function N(L){g(L);const x=L.currentPeek()==="|";return L.resetPeek(),x}function O(L){const x=g(L),$=L.currentPeek()==="%"&&L.peek()==="{";return L.resetPeek(),{isModulo:$,hasSpace:x.length>0}}function w(L,x=!0){const $=(le=!1,q="",W=!1)=>{const ne=L.currentPeek();return ne==="{"?q==="%"?!1:le:ne==="@"||!ne?q==="%"?!0:le:ne==="%"?(L.peek(),$(le,"%",!0)):ne==="|"?q==="%"||W?!0:!(q===_r||q===Jt):ne===_r?(L.peek(),$(!0,_r,W)):ne===Jt?(L.peek(),$(!0,Jt,W)):!0},ee=$();return x&&L.resetPeek(),ee}function C(L,x){const $=L.currentChar();return $===$r?$r:x($)?(L.next(),$):null}function I(L){return C(L,$=>{const ee=$.charCodeAt(0);return ee>=97&&ee<=122||ee>=65&&ee<=90||ee>=48&&ee<=57||ee===95||ee===36})}function D(L){return C(L,$=>{const ee=$.charCodeAt(0);return ee>=48&&ee<=57})}function V(L){return C(L,$=>{const ee=$.charCodeAt(0);return ee>=48&&ee<=57||ee>=65&&ee<=70||ee>=97&&ee<=102})}function U(L){let x="",$="";for(;x=D(L);)$+=x;return $}function te(L){_(L);const x=L.currentChar();return x!=="%"&&c(Ne.EXPECTED_TOKEN,a(),0,x),L.next(),"%"}function K(L){let x="";for(;;){const $=L.currentChar();if($==="{"||$==="}"||$==="@"||$==="|"||!$)break;if($==="%")if(w(L))x+=$,L.next();else break;else if($===_r||$===Jt)if(w(L))x+=$,L.next();else{if(N(L))break;x+=$,L.next()}else x+=$,L.next()}return x}function H(L){_(L);let x="",$="";for(;x=I(L);)$+=x;return L.currentChar()===$r&&c(Ne.UNTERMINATED_CLOSING_BRACE,a(),0),$}function M(L){_(L);let x="";return L.currentChar()==="-"?(L.next(),x+=`-${U(L)}`):x+=U(L),L.currentChar()===$r&&c(Ne.UNTERMINATED_CLOSING_BRACE,a(),0),x}function j(L){_(L),y(L,"'");let x="",$="";const ee=q=>q!==qp&&q!==Jt;for(;x=C(L,ee);)x==="\\"?$+=z(L):$+=x;const le=L.currentChar();return le===Jt||le===$r?(c(Ne.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,a(),0),le===Jt&&(L.next(),y(L,"'")),$):(y(L,"'"),$)}function z(L){const x=L.currentChar();switch(x){case"\\":case"'":return L.next(),`\\${x}`;case"u":return Z(L,x,4);case"U":return Z(L,x,6);default:return c(Ne.UNKNOWN_ESCAPE_SEQUENCE,a(),0,x),""}}function Z(L,x,$){y(L,x);let ee="";for(let le=0;le<$;le++){const q=V(L);if(!q){c(Ne.INVALID_UNICODE_ESCAPE_SEQUENCE,a(),0,`\\${x}${ee}${L.currentChar()}`);break}ee+=q}return`\\${x}${ee}`}function X(L){_(L);let x="",$="";const ee=le=>le!=="{"&&le!=="}"&&le!==_r&&le!==Jt;for(;x=C(L,ee);)$+=x;return $}function F(L){let x="",$="";for(;x=I(L);)$+=x;return $}function J(L){const x=($=!1,ee)=>{const le=L.currentChar();return le==="{"||le==="%"||le==="@"||le==="|"||le==="("||le===")"||!le||le===_r?ee:le===Jt||le===_5?(ee+=le,L.next(),x($,ee)):(ee+=le,L.next(),x(!0,ee))};return x(!1,"")}function ae(L){_(L);const x=y(L,"|");return _(L),x}function Q(L,x){let $=null;switch(L.currentChar()){case"{":return x.braceNest>=1&&c(Ne.NOT_ALLOW_NEST_PLACEHOLDER,a(),0),L.next(),$=d(x,2,"{"),_(L),x.braceNest++,$;case"}":return x.braceNest>0&&x.currentType===2&&c(Ne.EMPTY_PLACEHOLDER,a(),0),L.next(),$=d(x,3,"}"),x.braceNest--,x.braceNest>0&&_(L),x.inLinked&&x.braceNest===0&&(x.inLinked=!1),$;case"@":return x.braceNest>0&&c(Ne.UNTERMINATED_CLOSING_BRACE,a(),0),$=se(L,x)||h(x),x.braceNest=0,$;default:let le=!0,q=!0,W=!0;if(N(L))return x.braceNest>0&&c(Ne.UNTERMINATED_CLOSING_BRACE,a(),0),$=d(x,1,ae(L)),x.braceNest=0,x.inLinked=!1,$;if(x.braceNest>0&&(x.currentType===5||x.currentType===6||x.currentType===7))return c(Ne.UNTERMINATED_CLOSING_BRACE,a(),0),x.braceNest=0,he(L,x);if(le=b(L,x))return $=d(x,5,H(L)),_(L),$;if(q=p(L,x))return $=d(x,6,M(L)),_(L),$;if(W=E(L,x))return $=d(x,7,j(L)),_(L),$;if(!le&&!q&&!W)return $=d(x,13,X(L)),c(Ne.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,$.value),_(L),$;break}return $}function se(L,x){const{currentType:$}=x;let ee=null;const le=L.currentChar();switch(($===8||$===9||$===12||$===10)&&(le===Jt||le===_r)&&c(Ne.INVALID_LINKED_FORMAT,a(),0),le){case"@":return L.next(),ee=d(x,8,"@"),x.inLinked=!0,ee;case".":return _(L),L.next(),d(x,9,".");case":":return _(L),L.next(),d(x,10,":");default:return N(L)?(ee=d(x,1,ae(L)),x.braceNest=0,x.inLinked=!1,ee):k(L,x)||S(L,x)?(_(L),se(L,x)):T(L,x)?(_(L),d(x,12,F(L))):P(L,x)?(_(L),le==="{"?Q(L,x)||ee:d(x,11,J(L))):($===8&&c(Ne.INVALID_LINKED_FORMAT,a(),0),x.braceNest=0,x.inLinked=!1,he(L,x))}}function he(L,x){let $={type:14};if(x.braceNest>0)return Q(L,x)||h(x);if(x.inLinked)return se(L,x)||h(x);switch(L.currentChar()){case"{":return Q(L,x)||h(x);case"}":return c(Ne.UNBALANCED_CLOSING_BRACE,a(),0),L.next(),d(x,3,"}");case"@":return se(L,x)||h(x);default:if(N(L))return $=d(x,1,ae(L)),x.braceNest=0,x.inLinked=!1,$;const{isModulo:le,hasSpace:q}=O(L);if(le)return q?d(x,0,K(L)):d(x,4,te(L));if(w(L))return d(x,0,K(L));break}return $}function B(){const{currentType:L,offset:x,startLoc:$,endLoc:ee}=s;return s.lastType=L,s.lastOffset=x,s.lastStartLoc=$,s.lastEndLoc=ee,s.offset=i(),s.startLoc=a(),r.currentChar()===$r?d(s,14):he(r,s)}return{nextToken:B,currentOffset:i,currentPosition:a,context:u}}const O5="parser",T5=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function S5(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"�"}}}function A5(e={}){const t=e.location!==!1,{onError:n}=e;function r(m,v,b,p,...E){const k=m.currentPosition();if(k.offset+=p,k.column+=p,n){const T=t?qf(b,k):null,S=ro(v,T,{domain:O5,args:E});n(S)}}function i(m,v,b){const p={type:m};return t&&(p.start=v,p.end=v,p.loc={start:b,end:b}),p}function a(m,v,b,p){p&&(m.type=p),t&&(m.end=v,m.loc&&(m.loc.end=b))}function o(m,v){const b=m.context(),p=i(3,b.offset,b.startLoc);return p.value=v,a(p,m.currentOffset(),m.currentPosition()),p}function l(m,v){const b=m.context(),{lastOffset:p,lastStartLoc:E}=b,k=i(5,p,E);return k.index=parseInt(v,10),m.nextToken(),a(k,m.currentOffset(),m.currentPosition()),k}function s(m,v){const b=m.context(),{lastOffset:p,lastStartLoc:E}=b,k=i(4,p,E);return k.key=v,m.nextToken(),a(k,m.currentOffset(),m.currentPosition()),k}function u(m,v){const b=m.context(),{lastOffset:p,lastStartLoc:E}=b,k=i(9,p,E);return k.value=v.replace(T5,S5),m.nextToken(),a(k,m.currentOffset(),m.currentPosition()),k}function f(m){const v=m.nextToken(),b=m.context(),{lastOffset:p,lastStartLoc:E}=b,k=i(8,p,E);return v.type!==12?(r(m,Ne.UNEXPECTED_EMPTY_LINKED_MODIFIER,b.lastStartLoc,0),k.value="",a(k,p,E),{nextConsumeToken:v,node:k}):(v.value==null&&r(m,Ne.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,nr(v)),k.value=v.value||"",a(k,m.currentOffset(),m.currentPosition()),{node:k})}function c(m,v){const b=m.context(),p=i(7,b.offset,b.startLoc);return p.value=v,a(p,m.currentOffset(),m.currentPosition()),p}function d(m){const v=m.context(),b=i(6,v.offset,v.startLoc);let p=m.nextToken();if(p.type===9){const E=f(m);b.modifier=E.node,p=E.nextConsumeToken||m.nextToken()}switch(p.type!==10&&r(m,Ne.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,nr(p)),p=m.nextToken(),p.type===2&&(p=m.nextToken()),p.type){case 11:p.value==null&&r(m,Ne.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,nr(p)),b.key=c(m,p.value||"");break;case 5:p.value==null&&r(m,Ne.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,nr(p)),b.key=s(m,p.value||"");break;case 6:p.value==null&&r(m,Ne.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,nr(p)),b.key=l(m,p.value||"");break;case 7:p.value==null&&r(m,Ne.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,nr(p)),b.key=u(m,p.value||"");break;default:r(m,Ne.UNEXPECTED_EMPTY_LINKED_KEY,v.lastStartLoc,0);const E=m.context(),k=i(7,E.offset,E.startLoc);return k.value="",a(k,E.offset,E.startLoc),b.key=k,a(b,E.offset,E.startLoc),{nextConsumeToken:p,node:b}}return a(b,m.currentOffset(),m.currentPosition()),{node:b}}function h(m){const v=m.context(),b=v.currentType===1?m.currentOffset():v.offset,p=v.currentType===1?v.endLoc:v.startLoc,E=i(2,b,p);E.items=[];let k=null;do{const P=k||m.nextToken();switch(k=null,P.type){case 0:P.value==null&&r(m,Ne.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,nr(P)),E.items.push(o(m,P.value||""));break;case 6:P.value==null&&r(m,Ne.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,nr(P)),E.items.push(l(m,P.value||""));break;case 5:P.value==null&&r(m,Ne.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,nr(P)),E.items.push(s(m,P.value||""));break;case 7:P.value==null&&r(m,Ne.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,nr(P)),E.items.push(u(m,P.value||""));break;case 8:const N=d(m);E.items.push(N.node),k=N.nextConsumeToken||null;break}}while(v.currentType!==14&&v.currentType!==1);const T=v.currentType===1?v.lastOffset:m.currentOffset(),S=v.currentType===1?v.lastEndLoc:m.currentPosition();return a(E,T,S),E}function y(m,v,b,p){const E=m.context();let k=p.items.length===0;const T=i(1,v,b);T.cases=[],T.cases.push(p);do{const S=h(m);k||(k=S.items.length===0),T.cases.push(S)}while(E.currentType!==14);return k&&r(m,Ne.MUST_HAVE_MESSAGES_IN_PLURAL,b,0),a(T,m.currentOffset(),m.currentPosition()),T}function g(m){const v=m.context(),{offset:b,startLoc:p}=v,E=h(m);return v.currentType===14?E:y(m,b,p,E)}function _(m){const v=w5(m,bg({},e)),b=v.context(),p=i(0,b.offset,b.startLoc);return t&&p.loc&&(p.loc.source=m),p.body=g(v),e.onCacheKey&&(p.cacheKey=e.onCacheKey(m)),b.currentType!==14&&r(v,Ne.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,m[b.offset]||""),a(p,v.currentOffset(),v.currentPosition()),p}return{parse:_}}function nr(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function N5(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:a=>(n.helpers.add(a),a)}}function Kp(e,t){for(let n=0;n<e.length;n++)Uh(e[n],t)}function Uh(e,t){switch(e.type){case 1:Kp(e.cases,t),t.helper("plural");break;case 2:Kp(e.items,t);break;case 6:Uh(e.key,t),t.helper("linked"),t.helper("type");break;case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function k5(e,t={}){const n=N5(e);n.helper("normalize"),e.body&&Uh(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function C5(e){const t=e.body;return t.type===2?Wp(t):t.cases.forEach(n=>Wp(n)),e}function Wp(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const r=e.items[n];if(!(r.type===3||r.type===9)||r.value==null)break;t.push(r.value)}if(t.length===e.items.length){e.static=_g(t);for(let n=0;n<e.items.length;n++){const r=e.items[n];(r.type===3||r.type===9)&&delete r.value}}}}const P5="minifier";function Aa(e){switch(e.t=e.type,e.type){case 0:const t=e;Aa(t.body),t.b=t.body,delete t.body;break;case 1:const n=e,r=n.cases;for(let f=0;f<r.length;f++)Aa(r[f]);n.c=r,delete n.cases;break;case 2:const i=e,a=i.items;for(let f=0;f<a.length;f++)Aa(a[f]);i.i=a,delete i.items,i.static&&(i.s=i.static,delete i.static);break;case 3:case 9:case 8:case 7:const o=e;o.value&&(o.v=o.value,delete o.value);break;case 6:const l=e;Aa(l.key),l.k=l.key,delete l.key,l.modifier&&(Aa(l.modifier),l.m=l.modifier,delete l.modifier);break;case 5:const s=e;s.i=s.index,delete s.index;break;case 4:const u=e;u.k=u.key,delete u.key;break;default:throw ro(Ne.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:P5,args:[e.type]})}delete e.type}const L5="parser";function I5(e,t){const{sourceMap:n,filename:r,breakLineCode:i,needIndent:a}=t,o=t.location!==!1,l={filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:i,needIndent:a,indentLevel:0};o&&e.loc&&(l.source=e.loc.source);const s=()=>l;function u(_,m){l.code+=_}function f(_,m=!0){const v=m?i:"";u(a?v+" ".repeat(_):v)}function c(_=!0){const m=++l.indentLevel;_&&f(m)}function d(_=!0){const m=--l.indentLevel;_&&f(m)}function h(){f(l.indentLevel)}return{context:s,push:u,indent:c,deindent:d,newline:h,helper:_=>`_${_}`,needIndent:()=>l.needIndent}}function M5(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Ka(e,t.key),t.modifier?(e.push(", "),Ka(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function x5(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const i=t.items.length;for(let a=0;a<i&&(Ka(e,t.items[a]),a!==i-1);a++)e.push(", ");e.deindent(r()),e.push("])")}function R5(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const i=t.cases.length;for(let a=0;a<i&&(Ka(e,t.cases[a]),a!==i-1);a++)e.push(", ");e.deindent(r()),e.push("])")}}function D5(e,t){t.body?Ka(e,t.body):e.push("null")}function Ka(e,t){const{helper:n}=e;switch(t.type){case 0:D5(e,t);break;case 1:R5(e,t);break;case 2:x5(e,t);break;case 6:M5(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break;default:throw ro(Ne.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:L5,args:[t.type]})}}const F5=(e,t={})=>{const n=Up(t.mode)?t.mode:"normal",r=Up(t.filename)?t.filename:"message.intl",i=!!t.sourceMap,a=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
30
30
  `,o=t.needIndent?t.needIndent:n!=="arrow",l=e.helpers||[],s=I5(e,{mode:n,filename:r,sourceMap:i,breakLineCode:a,needIndent:o});s.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),s.indent(o),l.length>0&&(s.push(`const { ${_g(l.map(c=>`${c}: _${c}`),", ")} } = ctx`),s.newline()),s.push("return "),Ka(s,e),s.deindent(o),s.push("}"),delete e.helpers;const{code:u,map:f}=s.context();return{ast:e,code:u,map:f?f.toJSON():void 0}};function H5(e,t={}){const n=bg({},t),r=!!n.jit,i=!!n.minify,a=n.optimize==null?!0:n.optimize,l=A5(n).parse(e);return r?(a&&C5(l),i&&Aa(l),{ast:l,code:""}):(k5(l,n),F5(l,n))}/*!
31
31
  * core-base v9.7.1
32
32
  * (c) 2023 kazuya kawaguchi
@@ -35,14 +35,14 @@ This will fail in production.`);return e}function Y_(){return In(zh)}function Vp
35
35
  * vue-i18n v9.7.1
36
36
  * (c) 2023 kazuya kawaguchi
37
37
  * Released under the MIT License.
38
- */const A7="9.7.1",Ig=a7.__EXTEND_POINT__,Ur=$h(Ig);Ur(),Ur(),Ur(),Ur(),Ur(),Ur(),Ur(),Ur();const Mg=$i.__EXTEND_POINT__,rn=$h(Mg),Dn={UNEXPECTED_RETURN_TYPE:Mg,INVALID_ARGUMENT:rn(),MUST_BE_CALL_SETUP_TOP:rn(),NOT_INSTALLED:rn(),NOT_AVAILABLE_IN_LEGACY_MODE:rn(),REQUIRED_VALUE:rn(),INVALID_VALUE:rn(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:rn(),NOT_INSTALLED_WITH_PROVIDE:rn(),UNEXPECTED_ERROR:rn(),NOT_COMPATIBLE_LEGACY_VUE_I18N:rn(),BRIDGE_SUPPORT_VUE_2_ONLY:rn(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:rn(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:rn(),__EXTEND_POINT__:rn()};function Gn(e,...t){return ro(e,null,void 0)}const Xf=Ei("__translateVNode"),Jf=Ei("__datetimeParts"),Zf=Ei("__numberParts"),N7=Ei("__setPluralRules"),k7=Ei("__injectWithOption"),Qf=Ei("__dispose");function sl(e){if(!Xe(e))return e;for(const t in e)if(ol(e,t))if(!t.includes("."))Xe(e[t])&&sl(e[t]);else{const n=t.split("."),r=n.length-1;let i=e,a=!1;for(let o=0;o<r;o++){if(n[o]in i||(i[n[o]]={}),!Xe(i[n[o]])){a=!0;break}i=i[n[o]]}a||(i[n[r]]=e[t],delete e[t]),Xe(i[n[r]])&&sl(i[n[r]])}return e}function xg(e,t){const{messages:n,__i18n:r,messageResolver:i,flatJson:a}=t,o=Ve(n)?n:St(r)?{}:{[e]:{}};if(St(r)&&r.forEach(l=>{if("locale"in l&&"resource"in l){const{locale:s,resource:u}=l;s?(o[s]=o[s]||{},Bo(u,o[s])):Bo(u,o)}else Ee(l)&&Bo(JSON.parse(l),o)}),i==null&&a)for(const l in o)ol(o,l)&&sl(o[l]);return o}function Rg(e){return e.type}function C7(e,t,n){let r=Xe(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=xg(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const i=Object.keys(r);i.length&&i.forEach(a=>{e.mergeLocaleMessage(a,r[a])});{if(Xe(t.datetimeFormats)){const a=Object.keys(t.datetimeFormats);a.length&&a.forEach(o=>{e.mergeDateTimeFormat(o,t.datetimeFormats[o])})}if(Xe(t.numberFormats)){const a=Object.keys(t.numberFormats);a.length&&a.forEach(o=>{e.mergeNumberFormat(o,t.numberFormats[o])})}}}function um(e){return xe(hr,null,e,0)}const cm="__INTLIFY_META__",fm=()=>[],P7=()=>!1;let dm=0;function hm(e){return(t,n,r,i)=>e(n,r,jt()||void 0,i)}const L7=()=>{const e=jt();let t=null;return e&&(t=Rg(e)[cm])?{[cm]:t}:null};function Dg(e={},t){const{__root:n,__injectWithOption:r}=e,i=n===void 0,a=e.flatJson;let o=lt(e.inheritLocale)?e.inheritLocale:!0;const l=be(n&&o?n.locale.value:Ee(e.locale)?e.locale:pu),s=be(n&&o?n.fallbackLocale.value:Ee(e.fallbackLocale)||St(e.fallbackLocale)||Ve(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:l.value),u=be(xg(l.value,e)),f=be(Ve(e.datetimeFormats)?e.datetimeFormats:{[l.value]:{}}),c=be(Ve(e.numberFormats)?e.numberFormats:{[l.value]:{}});let d=n?n.missingWarn:lt(e.missingWarn)||hu(e.missingWarn)?e.missingWarn:!0,h=n?n.fallbackWarn:lt(e.fallbackWarn)||hu(e.fallbackWarn)?e.fallbackWarn:!0,y=n?n.fallbackRoot:lt(e.fallbackRoot)?e.fallbackRoot:!0,g=!!e.fallbackFormat,_=Tt(e.missing)?e.missing:null,m=Tt(e.missing)?hm(e.missing):null,v=Tt(e.postTranslation)?e.postTranslation:null,b=n?n.warnHtmlMessage:lt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,p=!!e.escapeParameter;const E=n?n.modifiers:Ve(e.modifiers)?e.modifiers:{};let k=e.pluralRules||n&&n.pluralRules,T;T=(()=>{i&&em(null);const G={version:A7,locale:l.value,fallbackLocale:s.value,messages:u.value,modifiers:E,pluralRules:k,missing:m===null?void 0:m,missingWarn:d,fallbackWarn:h,fallbackFormat:g,unresolving:!0,postTranslation:v===null?void 0:v,warnHtmlMessage:b,escapeParameter:p,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};G.datetimeFormats=f.value,G.numberFormats=c.value,G.__datetimeFormatters=Ve(T)?T.__datetimeFormatters:void 0,G.__numberFormatters=Ve(T)?T.__numberFormatters:void 0;const ne=g7(G);return i&&em(ne),ne})(),Oo(T,l.value,s.value);function P(){return[l.value,s.value,u.value,f.value,c.value]}const N=fe({get:()=>l.value,set:G=>{l.value=G,T.locale=l.value}}),O=fe({get:()=>s.value,set:G=>{s.value=G,T.fallbackLocale=s.value,Oo(T,l.value,G)}}),w=fe(()=>u.value),C=fe(()=>f.value),I=fe(()=>c.value);function D(){return Tt(v)?v:null}function V(G){v=G,T.postTranslation=G}function q(){return _}function te(G){G!==null&&(m=hm(G)),_=G,T.missing=m}const K=(G,ne,pe,ge,ve,De)=>{P();let Te;try{i||(T.fallbackContext=n?v7():void 0),Te=G(T)}finally{i||(T.fallbackContext=void 0)}if(pe!=="translate exists"&&Lt(Te)&&Te===ac||pe==="translate exists"&&!Te){const[it,Yn]=ne();return n&&y?ge(n):ve(it)}else{if(De(Te))return Te;throw Gn(Dn.UNEXPECTED_RETURN_TYPE)}};function H(...G){return K(ne=>Reflect.apply(im,null,[ne,...G]),()=>Wf(...G),"translate",ne=>Reflect.apply(ne.t,ne,[...G]),ne=>ne,ne=>Ee(ne))}function M(...G){const[ne,pe,ge]=G;if(ge&&!Xe(ge))throw Gn(Dn.INVALID_ARGUMENT);return H(ne,pe,Gt({resolvedMessage:!0},ge||{}))}function j(...G){return K(ne=>Reflect.apply(am,null,[ne,...G]),()=>Gf(...G),"datetime format",ne=>Reflect.apply(ne.d,ne,[...G]),()=>Zp,ne=>Ee(ne))}function z(...G){return K(ne=>Reflect.apply(lm,null,[ne,...G]),()=>Yf(...G),"number format",ne=>Reflect.apply(ne.n,ne,[...G]),()=>Zp,ne=>Ee(ne))}function Q(G){return G.map(ne=>Ee(ne)||Lt(ne)||lt(ne)?um(String(ne)):ne)}const F={normalize:Q,interpolate:G=>G,type:"vnode"};function J(...G){return K(ne=>{let pe;const ge=ne;try{ge.processor=F,pe=Reflect.apply(im,null,[ge,...G])}finally{ge.processor=null}return pe},()=>Wf(...G),"translate",ne=>ne[Xf](...G),ne=>[um(ne)],ne=>St(ne))}function ae(...G){return K(ne=>Reflect.apply(lm,null,[ne,...G]),()=>Yf(...G),"number format",ne=>ne[Zf](...G),fm,ne=>Ee(ne)||St(ne))}function Z(...G){return K(ne=>Reflect.apply(am,null,[ne,...G]),()=>Gf(...G),"datetime format",ne=>ne[Jf](...G),fm,ne=>Ee(ne)||St(ne))}function se(G){k=G,T.pluralRules=k}function he(G,ne){return K(()=>{if(!G)return!1;const pe=Ee(ne)?ne:l.value,ge=x(pe),ve=T.messageResolver(ge,G);return Wa(ve)||kn(ve)||Ee(ve)},()=>[G],"translate exists",pe=>Reflect.apply(pe.te,pe,[G,ne]),P7,pe=>lt(pe))}function B(G){let ne=null;const pe=Eg(T,s.value,l.value);for(let ge=0;ge<pe.length;ge++){const ve=u.value[pe[ge]]||{},De=T.messageResolver(ve,G);if(De!=null){ne=De;break}}return ne}function L(G){const ne=B(G);return ne??(n?n.tm(G)||{}:{})}function x(G){return u.value[G]||{}}function $(G,ne){if(a){const pe={[G]:ne};for(const ge in pe)ol(pe,ge)&&sl(pe[ge]);ne=pe[G]}u.value[G]=ne,T.messages=u.value}function ee(G,ne){u.value[G]=u.value[G]||{};const pe={[G]:ne};for(const ge in pe)ol(pe,ge)&&sl(pe[ge]);ne=pe[G],Bo(ne,u.value[G]),T.messages=u.value}function le(G){return f.value[G]||{}}function U(G,ne){f.value[G]=ne,T.datetimeFormats=f.value,om(T,G,ne)}function W(G,ne){f.value[G]=Gt(f.value[G]||{},ne),T.datetimeFormats=f.value,om(T,G,ne)}function re(G){return c.value[G]||{}}function ie(G,ne){c.value[G]=ne,T.numberFormats=c.value,sm(T,G,ne)}function oe(G,ne){c.value[G]=Gt(c.value[G]||{},ne),T.numberFormats=c.value,sm(T,G,ne)}dm++,n&&Uf&&(Ke(n.locale,G=>{o&&(l.value=G,T.locale=G,Oo(T,l.value,s.value))}),Ke(n.fallbackLocale,G=>{o&&(s.value=G,T.fallbackLocale=G,Oo(T,l.value,s.value))}));const ce={id:dm,locale:N,fallbackLocale:O,get inheritLocale(){return o},set inheritLocale(G){o=G,G&&n&&(l.value=n.locale.value,s.value=n.fallbackLocale.value,Oo(T,l.value,s.value))},get availableLocales(){return Object.keys(u.value).sort()},messages:w,get modifiers(){return E},get pluralRules(){return k||{}},get isGlobal(){return i},get missingWarn(){return d},set missingWarn(G){d=G,T.missingWarn=d},get fallbackWarn(){return h},set fallbackWarn(G){h=G,T.fallbackWarn=h},get fallbackRoot(){return y},set fallbackRoot(G){y=G},get fallbackFormat(){return g},set fallbackFormat(G){g=G,T.fallbackFormat=g},get warnHtmlMessage(){return b},set warnHtmlMessage(G){b=G,T.warnHtmlMessage=G},get escapeParameter(){return p},set escapeParameter(G){p=G,T.escapeParameter=G},t:H,getLocaleMessage:x,setLocaleMessage:$,mergeLocaleMessage:ee,getPostTranslationHandler:D,setPostTranslationHandler:V,getMissingHandler:q,setMissingHandler:te,[N7]:se};return ce.datetimeFormats=C,ce.numberFormats=I,ce.rt=M,ce.te=he,ce.tm=L,ce.d=j,ce.n=z,ce.getDateTimeFormat=le,ce.setDateTimeFormat=U,ce.mergeDateTimeFormat=W,ce.getNumberFormat=re,ce.setNumberFormat=ie,ce.mergeNumberFormat=oe,ce[k7]=r,ce[Xf]=J,ce[Jf]=Z,ce[Zf]=ae,ce}const Wh={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function I7({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,i)=>[...r,...i.type===tt?i.children:[i]],[]):t.reduce((n,r)=>{const i=e[r];return i&&(n[r]=i()),n},{})}function Fg(e){return tt}const M7=ut({name:"i18n-t",props:Gt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Lt(e)||!isNaN(e)}},Wh),setup(e,t){const{slots:n,attrs:r}=t,i=e.i18n||oc({useScope:e.scope,__useComponent:!0});return()=>{const a=Object.keys(n).filter(c=>c!=="_"),o={};e.locale&&(o.locale=e.locale),e.plural!==void 0&&(o.plural=Ee(e.plural)?+e.plural:e.plural);const l=I7(t,a),s=i[Xf](e.keypath,l,o),u=Gt({},r),f=Ee(e.tag)||Xe(e.tag)?e.tag:Fg();return bi(f,u,s)}}}),ed=M7;function x7(e){return St(e)&&!Ee(e[0])}function Hg(e,t,n,r){const{slots:i,attrs:a}=t;return()=>{const o={part:!0};let l={};e.locale&&(o.locale=e.locale),Ee(e.format)?o.key=e.format:Xe(e.format)&&(Ee(e.format.key)&&(o.key=e.format.key),l=Object.keys(e.format).reduce((d,h)=>n.includes(h)?Gt({},d,{[h]:e.format[h]}):d,{}));const s=r(e.value,o,l);let u=[o.key];St(s)?u=s.map((d,h)=>{const y=i[d.type],g=y?y({[d.type]:d.value,index:h,parts:s}):[d.value];return x7(g)&&(g[0].key=`${d.type}-${h}`),g}):Ee(s)&&(u=[s]);const f=Gt({},a),c=Ee(e.tag)||Xe(e.tag)?e.tag:Fg();return bi(c,f,u)}}const R7=ut({name:"i18n-n",props:Gt({value:{type:Number,required:!0},format:{type:[String,Object]}},Wh),setup(e,t){const n=e.i18n||oc({useScope:"parent",__useComponent:!0});return Hg(e,t,Lg,(...r)=>n[Zf](...r))}}),pm=R7,D7=ut({name:"i18n-d",props:Gt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Wh),setup(e,t){const n=e.i18n||oc({useScope:"parent",__useComponent:!0});return Hg(e,t,Pg,(...r)=>n[Jf](...r))}}),mm=D7;function F7(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function H7(e){const t=o=>{const{instance:l,modifiers:s,value:u}=o;if(!l||!l.$)throw Gn(Dn.UNEXPECTED_ERROR);const f=F7(e,l.$),c=vm(u);return[Reflect.apply(f.t,f,[...gm(c)]),f]};return{created:(o,l)=>{const[s,u]=t(l);Uf&&e.global===u&&(o.__i18nWatcher=Ke(u.locale,()=>{l.instance&&l.instance.$forceUpdate()})),o.__composer=u,o.textContent=s},unmounted:o=>{Uf&&o.__i18nWatcher&&(o.__i18nWatcher(),o.__i18nWatcher=void 0,delete o.__i18nWatcher),o.__composer&&(o.__composer=void 0,delete o.__composer)},beforeUpdate:(o,{value:l})=>{if(o.__composer){const s=o.__composer,u=vm(l);o.textContent=Reflect.apply(s.t,s,[...gm(u)])}},getSSRProps:o=>{const[l]=t(o);return{textContent:l}}}}function vm(e){if(Ee(e))return{path:e};if(Ve(e)){if(!("path"in e))throw Gn(Dn.REQUIRED_VALUE,"path");return e}else throw Gn(Dn.INVALID_VALUE)}function gm(e){const{path:t,locale:n,args:r,choice:i,plural:a}=e,o={},l=r||{};return Ee(n)&&(o.locale=n),Lt(i)&&(o.plural=i),Lt(a)&&(o.plural=a),[t,l,o]}function j7(e,t,...n){const r=Ve(n[0])?n[0]:{},i=!!r.useI18nComponentName;(lt(r.globalInstall)?r.globalInstall:!0)&&([i?"i18n":ed.name,"I18nT"].forEach(o=>e.component(o,ed)),[pm.name,"I18nN"].forEach(o=>e.component(o,pm)),[mm.name,"I18nD"].forEach(o=>e.component(o,mm))),e.directive("t",H7(t))}const V7=Ei("global-vue-i18n");function B7(e={},t){const n=lt(e.globalInjection)?e.globalInjection:!0,r=!0,i=new Map,[a,o]=z7(e),l=Ei("");function s(c){return i.get(c)||null}function u(c,d){i.set(c,d)}function f(c){i.delete(c)}{const c={get mode(){return"composition"},get allowComposition(){return r},async install(d,...h){if(d.__VUE_I18N_SYMBOL__=l,d.provide(d.__VUE_I18N_SYMBOL__,c),Ve(h[0])){const _=h[0];c.__composerExtend=_.__composerExtend,c.__vueI18nExtend=_.__vueI18nExtend}let y=null;n&&(y=X7(d,c.global)),j7(d,c,...h);const g=d.unmount;d.unmount=()=>{y&&y(),c.dispose(),g()}},get global(){return o},dispose(){a.stop()},__instances:i,__getInstance:s,__setInstance:u,__deleteInstance:f};return c}}function oc(e={}){const t=jt();if(t==null)throw Gn(Dn.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Gn(Dn.NOT_INSTALLED);const n=$7(t),r=q7(n),i=Rg(t),a=U7(e,i);if(a==="global")return C7(r,e,i),r;if(a==="parent"){let s=K7(n,t,e.__useComponent);return s==null&&(s=r),s}const o=n;let l=o.__getInstance(t);if(l==null){const s=Gt({},e);"__i18n"in i&&(s.__i18n=i.__i18n),r&&(s.__root=r),l=Dg(s),o.__composerExtend&&(l[Qf]=o.__composerExtend(l)),G7(o,t,l),o.__setInstance(t,l)}return l}function z7(e,t,n){const r=vl();{const i=r.run(()=>Dg(e));if(i==null)throw Gn(Dn.UNEXPECTED_ERROR);return[r,i]}}function $7(e){{const t=In(e.isCE?V7:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Gn(e.isCE?Dn.NOT_INSTALLED_WITH_PROVIDE:Dn.UNEXPECTED_ERROR);return t}}function U7(e,t){return ic(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function q7(e){return e.mode==="composition"?e.global:e.global.__composer}function K7(e,t,n=!1){let r=null;const i=t.root;let a=W7(t,n);for(;a!=null;){const o=e;if(e.mode==="composition"&&(r=o.__getInstance(a)),r!=null||i===a)break;a=a.parent}return r}function W7(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function G7(e,t,n){mn(()=>{},t),yi(()=>{const r=n;e.__deleteInstance(t);const i=r[Qf];i&&(i(),delete r[Qf])},t)}const Y7=["locale","fallbackLocale","availableLocales"],ym=["t","rt","d","n","tm","te"];function X7(e,t){const n=Object.create(null);return Y7.forEach(i=>{const a=Object.getOwnPropertyDescriptor(t,i);if(!a)throw Gn(Dn.UNEXPECTED_ERROR);const o=Qe(a.value)?{get(){return a.value.value},set(l){a.value.value=l}}:{get(){return a.get&&a.get()}};Object.defineProperty(n,i,o)}),e.config.globalProperties.$i18n=n,ym.forEach(i=>{const a=Object.getOwnPropertyDescriptor(t,i);if(!a||!a.value)throw Gn(Dn.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${i}`,a)}),()=>{delete e.config.globalProperties.$i18n,ym.forEach(i=>{delete e.config.globalProperties[`$${i}`]})}}f7(E7);d7(K5);h7(Eg);{const e=a5();e.__INTLIFY__=!0,t7(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}function jg(e,t){return function(){return e.apply(t,arguments)}}const{toString:J7}=Object.prototype,{getPrototypeOf:Gh}=Object,lc=(e=>t=>{const n=J7.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),mr=e=>(e=e.toLowerCase(),t=>lc(t)===e),sc=e=>t=>typeof t===e,{isArray:io}=Array,ul=sc("undefined");function Z7(e){return e!==null&&!ul(e)&&e.constructor!==null&&!ul(e.constructor)&&xn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Vg=mr("ArrayBuffer");function Q7(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Vg(e.buffer),t}const eE=sc("string"),xn=sc("function"),Bg=sc("number"),uc=e=>e!==null&&typeof e=="object",tE=e=>e===!0||e===!1,Rs=e=>{if(lc(e)!=="object")return!1;const t=Gh(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},nE=mr("Date"),rE=mr("File"),iE=mr("Blob"),aE=mr("FileList"),oE=e=>uc(e)&&xn(e.pipe),lE=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||xn(e.append)&&((t=lc(e))==="formdata"||t==="object"&&xn(e.toString)&&e.toString()==="[object FormData]"))},sE=mr("URLSearchParams"),uE=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Cl(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),io(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{const a=n?Object.getOwnPropertyNames(e):Object.keys(e),o=a.length;let l;for(r=0;r<o;r++)l=a[r],t.call(null,e[l],l,e)}}function zg(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,i;for(;r-- >0;)if(i=n[r],t===i.toLowerCase())return i;return null}const $g=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),Ug=e=>!ul(e)&&e!==$g;function td(){const{caseless:e}=Ug(this)&&this||{},t={},n=(r,i)=>{const a=e&&zg(t,i)||i;Rs(t[a])&&Rs(r)?t[a]=td(t[a],r):Rs(r)?t[a]=td({},r):io(r)?t[a]=r.slice():t[a]=r};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&Cl(arguments[r],n);return t}const cE=(e,t,n,{allOwnKeys:r}={})=>(Cl(t,(i,a)=>{n&&xn(i)?e[a]=jg(i,n):e[a]=i},{allOwnKeys:r}),e),fE=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),dE=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},hE=(e,t,n,r)=>{let i,a,o;const l={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),a=i.length;a-- >0;)o=i[a],(!r||r(o,e,t))&&!l[o]&&(t[o]=e[o],l[o]=!0);e=n!==!1&&Gh(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},pE=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},mE=e=>{if(!e)return null;if(io(e))return e;let t=e.length;if(!Bg(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},vE=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Gh(Uint8Array)),gE=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const a=i.value;t.call(e,a[0],a[1])}},yE=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},bE=mr("HTMLFormElement"),_E=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),bm=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),EE=mr("RegExp"),qg=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Cl(n,(i,a)=>{let o;(o=t(i,a,e))!==!1&&(r[a]=o||i)}),Object.defineProperties(e,r)},wE=e=>{qg(e,(t,n)=>{if(xn(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(xn(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},OE=(e,t)=>{const n={},r=i=>{i.forEach(a=>{n[a]=!0})};return io(e)?r(e):r(String(e).split(t)),n},TE=()=>{},SE=(e,t)=>(e=+e,Number.isFinite(e)?e:t),nf="abcdefghijklmnopqrstuvwxyz",_m="0123456789",Kg={DIGIT:_m,ALPHA:nf,ALPHA_DIGIT:nf+nf.toUpperCase()+_m},AE=(e=16,t=Kg.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function NE(e){return!!(e&&xn(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const kE=e=>{const t=new Array(10),n=(r,i)=>{if(uc(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const a=io(r)?[]:{};return Cl(r,(o,l)=>{const s=n(o,i+1);!ul(s)&&(a[l]=s)}),t[i]=void 0,a}}return r};return n(e,0)},CE=mr("AsyncFunction"),PE=e=>e&&(uc(e)||xn(e))&&xn(e.then)&&xn(e.catch),de={isArray:io,isArrayBuffer:Vg,isBuffer:Z7,isFormData:lE,isArrayBufferView:Q7,isString:eE,isNumber:Bg,isBoolean:tE,isObject:uc,isPlainObject:Rs,isUndefined:ul,isDate:nE,isFile:rE,isBlob:iE,isRegExp:EE,isFunction:xn,isStream:oE,isURLSearchParams:sE,isTypedArray:vE,isFileList:aE,forEach:Cl,merge:td,extend:cE,trim:uE,stripBOM:fE,inherits:dE,toFlatObject:hE,kindOf:lc,kindOfTest:mr,endsWith:pE,toArray:mE,forEachEntry:gE,matchAll:yE,isHTMLForm:bE,hasOwnProperty:bm,hasOwnProp:bm,reduceDescriptors:qg,freezeMethods:wE,toObjectSet:OE,toCamelCase:_E,noop:TE,toFiniteNumber:SE,findKey:zg,global:$g,isContextDefined:Ug,ALPHABET:Kg,generateString:AE,isSpecCompliantForm:NE,toJSONObject:kE,isAsyncFn:CE,isThenable:PE};function je(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}de.inherits(je,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:de.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Wg=je.prototype,Gg={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Gg[e]={value:e}});Object.defineProperties(je,Gg);Object.defineProperty(Wg,"isAxiosError",{value:!0});je.from=(e,t,n,r,i,a)=>{const o=Object.create(Wg);return de.toFlatObject(e,o,function(s){return s!==Error.prototype},l=>l!=="isAxiosError"),je.call(o,e.message,t,n,r,i),o.cause=e,o.name=e.name,a&&Object.assign(o,a),o};const LE=null;function nd(e){return de.isPlainObject(e)||de.isArray(e)}function Yg(e){return de.endsWith(e,"[]")?e.slice(0,-2):e}function Em(e,t,n){return e?e.concat(t).map(function(i,a){return i=Yg(i),!n&&a?"["+i+"]":i}).join(n?".":""):t}function IE(e){return de.isArray(e)&&!e.some(nd)}const ME=de.toFlatObject(de,{},null,function(t){return/^is[A-Z]/.test(t)});function cc(e,t,n){if(!de.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=de.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,_){return!de.isUndefined(_[g])});const r=n.metaTokens,i=n.visitor||f,a=n.dots,o=n.indexes,s=(n.Blob||typeof Blob<"u"&&Blob)&&de.isSpecCompliantForm(t);if(!de.isFunction(i))throw new TypeError("visitor must be a function");function u(y){if(y===null)return"";if(de.isDate(y))return y.toISOString();if(!s&&de.isBlob(y))throw new je("Blob is not supported. Use a Buffer instead.");return de.isArrayBuffer(y)||de.isTypedArray(y)?s&&typeof Blob=="function"?new Blob([y]):Buffer.from(y):y}function f(y,g,_){let m=y;if(y&&!_&&typeof y=="object"){if(de.endsWith(g,"{}"))g=r?g:g.slice(0,-2),y=JSON.stringify(y);else if(de.isArray(y)&&IE(y)||(de.isFileList(y)||de.endsWith(g,"[]"))&&(m=de.toArray(y)))return g=Yg(g),m.forEach(function(b,p){!(de.isUndefined(b)||b===null)&&t.append(o===!0?Em([g],p,a):o===null?g:g+"[]",u(b))}),!1}return nd(y)?!0:(t.append(Em(_,g,a),u(y)),!1)}const c=[],d=Object.assign(ME,{defaultVisitor:f,convertValue:u,isVisitable:nd});function h(y,g){if(!de.isUndefined(y)){if(c.indexOf(y)!==-1)throw Error("Circular reference detected in "+g.join("."));c.push(y),de.forEach(y,function(m,v){(!(de.isUndefined(m)||m===null)&&i.call(t,m,de.isString(v)?v.trim():v,g,d))===!0&&h(m,g?g.concat(v):[v])}),c.pop()}}if(!de.isObject(e))throw new TypeError("data must be an object");return h(e),t}function wm(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Yh(e,t){this._pairs=[],e&&cc(e,this,t)}const Xg=Yh.prototype;Xg.append=function(t,n){this._pairs.push([t,n])};Xg.toString=function(t){const n=t?function(r){return t.call(this,r,wm)}:wm;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function xE(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Jg(e,t,n){if(!t)return e;const r=n&&n.encode||xE,i=n&&n.serialize;let a;if(i?a=i(t,n):a=de.isURLSearchParams(t)?t.toString():new Yh(t,n).toString(r),a){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e}class RE{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){de.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Om=RE,Zg={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},DE=typeof URLSearchParams<"u"?URLSearchParams:Yh,FE=typeof FormData<"u"?FormData:null,HE=typeof Blob<"u"?Blob:null,jE={isBrowser:!0,classes:{URLSearchParams:DE,FormData:FE,Blob:HE},protocols:["http","https","file","blob","url","data"]},Qg=typeof window<"u"&&typeof document<"u",VE=(e=>Qg&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),BE=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),zE=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Qg,hasStandardBrowserEnv:VE,hasStandardBrowserWebWorkerEnv:BE},Symbol.toStringTag,{value:"Module"})),lr={...zE,...jE};function $E(e,t){return cc(e,new lr.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,a){return lr.isNode&&de.isBuffer(n)?(this.append(r,n.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)}},t))}function UE(e){return de.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function qE(e){const t={},n=Object.keys(e);let r;const i=n.length;let a;for(r=0;r<i;r++)a=n[r],t[a]=e[a];return t}function ey(e){function t(n,r,i,a){let o=n[a++];const l=Number.isFinite(+o),s=a>=n.length;return o=!o&&de.isArray(i)?i.length:o,s?(de.hasOwnProp(i,o)?i[o]=[i[o],r]:i[o]=r,!l):((!i[o]||!de.isObject(i[o]))&&(i[o]=[]),t(n,r,i[o],a)&&de.isArray(i[o])&&(i[o]=qE(i[o])),!l)}if(de.isFormData(e)&&de.isFunction(e.entries)){const n={};return de.forEachEntry(e,(r,i)=>{t(UE(r),i,n,0)}),n}return null}function KE(e,t,n){if(de.isString(e))try{return(t||JSON.parse)(e),de.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Xh={transitional:Zg,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,a=de.isObject(t);if(a&&de.isHTMLForm(t)&&(t=new FormData(t)),de.isFormData(t))return i&&i?JSON.stringify(ey(t)):t;if(de.isArrayBuffer(t)||de.isBuffer(t)||de.isStream(t)||de.isFile(t)||de.isBlob(t))return t;if(de.isArrayBufferView(t))return t.buffer;if(de.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(a){if(r.indexOf("application/x-www-form-urlencoded")>-1)return $E(t,this.formSerializer).toString();if((l=de.isFileList(t))||r.indexOf("multipart/form-data")>-1){const s=this.env&&this.env.FormData;return cc(l?{"files[]":t}:t,s&&new s,this.formSerializer)}}return a||i?(n.setContentType("application/json",!1),KE(t)):t}],transformResponse:[function(t){const n=this.transitional||Xh.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(t&&de.isString(t)&&(r&&!this.responseType||i)){const o=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(l){if(o)throw l.name==="SyntaxError"?je.from(l,je.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:lr.classes.FormData,Blob:lr.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};de.forEach(["delete","get","head","post","put","patch"],e=>{Xh.headers[e]={}});const Jh=Xh,WE=de.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),GE=e=>{const t={};let n,r,i;return e&&e.split(`
38
+ */const A7="9.7.1",Ig=a7.__EXTEND_POINT__,Ur=$h(Ig);Ur(),Ur(),Ur(),Ur(),Ur(),Ur(),Ur(),Ur();const Mg=$i.__EXTEND_POINT__,rn=$h(Mg),Dn={UNEXPECTED_RETURN_TYPE:Mg,INVALID_ARGUMENT:rn(),MUST_BE_CALL_SETUP_TOP:rn(),NOT_INSTALLED:rn(),NOT_AVAILABLE_IN_LEGACY_MODE:rn(),REQUIRED_VALUE:rn(),INVALID_VALUE:rn(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:rn(),NOT_INSTALLED_WITH_PROVIDE:rn(),UNEXPECTED_ERROR:rn(),NOT_COMPATIBLE_LEGACY_VUE_I18N:rn(),BRIDGE_SUPPORT_VUE_2_ONLY:rn(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:rn(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:rn(),__EXTEND_POINT__:rn()};function Gn(e,...t){return ro(e,null,void 0)}const Xf=Ei("__translateVNode"),Jf=Ei("__datetimeParts"),Zf=Ei("__numberParts"),N7=Ei("__setPluralRules"),k7=Ei("__injectWithOption"),Qf=Ei("__dispose");function sl(e){if(!Xe(e))return e;for(const t in e)if(ol(e,t))if(!t.includes("."))Xe(e[t])&&sl(e[t]);else{const n=t.split("."),r=n.length-1;let i=e,a=!1;for(let o=0;o<r;o++){if(n[o]in i||(i[n[o]]={}),!Xe(i[n[o]])){a=!0;break}i=i[n[o]]}a||(i[n[r]]=e[t],delete e[t]),Xe(i[n[r]])&&sl(i[n[r]])}return e}function xg(e,t){const{messages:n,__i18n:r,messageResolver:i,flatJson:a}=t,o=Ve(n)?n:St(r)?{}:{[e]:{}};if(St(r)&&r.forEach(l=>{if("locale"in l&&"resource"in l){const{locale:s,resource:u}=l;s?(o[s]=o[s]||{},Bo(u,o[s])):Bo(u,o)}else Ee(l)&&Bo(JSON.parse(l),o)}),i==null&&a)for(const l in o)ol(o,l)&&sl(o[l]);return o}function Rg(e){return e.type}function C7(e,t,n){let r=Xe(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=xg(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const i=Object.keys(r);i.length&&i.forEach(a=>{e.mergeLocaleMessage(a,r[a])});{if(Xe(t.datetimeFormats)){const a=Object.keys(t.datetimeFormats);a.length&&a.forEach(o=>{e.mergeDateTimeFormat(o,t.datetimeFormats[o])})}if(Xe(t.numberFormats)){const a=Object.keys(t.numberFormats);a.length&&a.forEach(o=>{e.mergeNumberFormat(o,t.numberFormats[o])})}}}function um(e){return xe(hr,null,e,0)}const cm="__INTLIFY_META__",fm=()=>[],P7=()=>!1;let dm=0;function hm(e){return(t,n,r,i)=>e(n,r,jt()||void 0,i)}const L7=()=>{const e=jt();let t=null;return e&&(t=Rg(e)[cm])?{[cm]:t}:null};function Dg(e={},t){const{__root:n,__injectWithOption:r}=e,i=n===void 0,a=e.flatJson;let o=lt(e.inheritLocale)?e.inheritLocale:!0;const l=be(n&&o?n.locale.value:Ee(e.locale)?e.locale:pu),s=be(n&&o?n.fallbackLocale.value:Ee(e.fallbackLocale)||St(e.fallbackLocale)||Ve(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:l.value),u=be(xg(l.value,e)),f=be(Ve(e.datetimeFormats)?e.datetimeFormats:{[l.value]:{}}),c=be(Ve(e.numberFormats)?e.numberFormats:{[l.value]:{}});let d=n?n.missingWarn:lt(e.missingWarn)||hu(e.missingWarn)?e.missingWarn:!0,h=n?n.fallbackWarn:lt(e.fallbackWarn)||hu(e.fallbackWarn)?e.fallbackWarn:!0,y=n?n.fallbackRoot:lt(e.fallbackRoot)?e.fallbackRoot:!0,g=!!e.fallbackFormat,_=Tt(e.missing)?e.missing:null,m=Tt(e.missing)?hm(e.missing):null,v=Tt(e.postTranslation)?e.postTranslation:null,b=n?n.warnHtmlMessage:lt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,p=!!e.escapeParameter;const E=n?n.modifiers:Ve(e.modifiers)?e.modifiers:{};let k=e.pluralRules||n&&n.pluralRules,T;T=(()=>{i&&em(null);const G={version:A7,locale:l.value,fallbackLocale:s.value,messages:u.value,modifiers:E,pluralRules:k,missing:m===null?void 0:m,missingWarn:d,fallbackWarn:h,fallbackFormat:g,unresolving:!0,postTranslation:v===null?void 0:v,warnHtmlMessage:b,escapeParameter:p,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};G.datetimeFormats=f.value,G.numberFormats=c.value,G.__datetimeFormatters=Ve(T)?T.__datetimeFormatters:void 0,G.__numberFormatters=Ve(T)?T.__numberFormatters:void 0;const re=g7(G);return i&&em(re),re})(),Oo(T,l.value,s.value);function P(){return[l.value,s.value,u.value,f.value,c.value]}const N=fe({get:()=>l.value,set:G=>{l.value=G,T.locale=l.value}}),O=fe({get:()=>s.value,set:G=>{s.value=G,T.fallbackLocale=s.value,Oo(T,l.value,G)}}),w=fe(()=>u.value),C=fe(()=>f.value),I=fe(()=>c.value);function D(){return Tt(v)?v:null}function V(G){v=G,T.postTranslation=G}function U(){return _}function te(G){G!==null&&(m=hm(G)),_=G,T.missing=m}const K=(G,re,pe,ge,ve,De)=>{P();let Te;try{i||(T.fallbackContext=n?v7():void 0),Te=G(T)}finally{i||(T.fallbackContext=void 0)}if(pe!=="translate exists"&&Lt(Te)&&Te===ac||pe==="translate exists"&&!Te){const[it,Yn]=re();return n&&y?ge(n):ve(it)}else{if(De(Te))return Te;throw Gn(Dn.UNEXPECTED_RETURN_TYPE)}};function H(...G){return K(re=>Reflect.apply(im,null,[re,...G]),()=>Wf(...G),"translate",re=>Reflect.apply(re.t,re,[...G]),re=>re,re=>Ee(re))}function M(...G){const[re,pe,ge]=G;if(ge&&!Xe(ge))throw Gn(Dn.INVALID_ARGUMENT);return H(re,pe,Gt({resolvedMessage:!0},ge||{}))}function j(...G){return K(re=>Reflect.apply(am,null,[re,...G]),()=>Gf(...G),"datetime format",re=>Reflect.apply(re.d,re,[...G]),()=>Zp,re=>Ee(re))}function z(...G){return K(re=>Reflect.apply(lm,null,[re,...G]),()=>Yf(...G),"number format",re=>Reflect.apply(re.n,re,[...G]),()=>Zp,re=>Ee(re))}function Z(G){return G.map(re=>Ee(re)||Lt(re)||lt(re)?um(String(re)):re)}const F={normalize:Z,interpolate:G=>G,type:"vnode"};function J(...G){return K(re=>{let pe;const ge=re;try{ge.processor=F,pe=Reflect.apply(im,null,[ge,...G])}finally{ge.processor=null}return pe},()=>Wf(...G),"translate",re=>re[Xf](...G),re=>[um(re)],re=>St(re))}function ae(...G){return K(re=>Reflect.apply(lm,null,[re,...G]),()=>Yf(...G),"number format",re=>re[Zf](...G),fm,re=>Ee(re)||St(re))}function Q(...G){return K(re=>Reflect.apply(am,null,[re,...G]),()=>Gf(...G),"datetime format",re=>re[Jf](...G),fm,re=>Ee(re)||St(re))}function se(G){k=G,T.pluralRules=k}function he(G,re){return K(()=>{if(!G)return!1;const pe=Ee(re)?re:l.value,ge=x(pe),ve=T.messageResolver(ge,G);return Wa(ve)||kn(ve)||Ee(ve)},()=>[G],"translate exists",pe=>Reflect.apply(pe.te,pe,[G,re]),P7,pe=>lt(pe))}function B(G){let re=null;const pe=Eg(T,s.value,l.value);for(let ge=0;ge<pe.length;ge++){const ve=u.value[pe[ge]]||{},De=T.messageResolver(ve,G);if(De!=null){re=De;break}}return re}function L(G){const re=B(G);return re??(n?n.tm(G)||{}:{})}function x(G){return u.value[G]||{}}function $(G,re){if(a){const pe={[G]:re};for(const ge in pe)ol(pe,ge)&&sl(pe[ge]);re=pe[G]}u.value[G]=re,T.messages=u.value}function ee(G,re){u.value[G]=u.value[G]||{};const pe={[G]:re};for(const ge in pe)ol(pe,ge)&&sl(pe[ge]);re=pe[G],Bo(re,u.value[G]),T.messages=u.value}function le(G){return f.value[G]||{}}function q(G,re){f.value[G]=re,T.datetimeFormats=f.value,om(T,G,re)}function W(G,re){f.value[G]=Gt(f.value[G]||{},re),T.datetimeFormats=f.value,om(T,G,re)}function ne(G){return c.value[G]||{}}function ie(G,re){c.value[G]=re,T.numberFormats=c.value,sm(T,G,re)}function oe(G,re){c.value[G]=Gt(c.value[G]||{},re),T.numberFormats=c.value,sm(T,G,re)}dm++,n&&Uf&&(Ke(n.locale,G=>{o&&(l.value=G,T.locale=G,Oo(T,l.value,s.value))}),Ke(n.fallbackLocale,G=>{o&&(s.value=G,T.fallbackLocale=G,Oo(T,l.value,s.value))}));const ce={id:dm,locale:N,fallbackLocale:O,get inheritLocale(){return o},set inheritLocale(G){o=G,G&&n&&(l.value=n.locale.value,s.value=n.fallbackLocale.value,Oo(T,l.value,s.value))},get availableLocales(){return Object.keys(u.value).sort()},messages:w,get modifiers(){return E},get pluralRules(){return k||{}},get isGlobal(){return i},get missingWarn(){return d},set missingWarn(G){d=G,T.missingWarn=d},get fallbackWarn(){return h},set fallbackWarn(G){h=G,T.fallbackWarn=h},get fallbackRoot(){return y},set fallbackRoot(G){y=G},get fallbackFormat(){return g},set fallbackFormat(G){g=G,T.fallbackFormat=g},get warnHtmlMessage(){return b},set warnHtmlMessage(G){b=G,T.warnHtmlMessage=G},get escapeParameter(){return p},set escapeParameter(G){p=G,T.escapeParameter=G},t:H,getLocaleMessage:x,setLocaleMessage:$,mergeLocaleMessage:ee,getPostTranslationHandler:D,setPostTranslationHandler:V,getMissingHandler:U,setMissingHandler:te,[N7]:se};return ce.datetimeFormats=C,ce.numberFormats=I,ce.rt=M,ce.te=he,ce.tm=L,ce.d=j,ce.n=z,ce.getDateTimeFormat=le,ce.setDateTimeFormat=q,ce.mergeDateTimeFormat=W,ce.getNumberFormat=ne,ce.setNumberFormat=ie,ce.mergeNumberFormat=oe,ce[k7]=r,ce[Xf]=J,ce[Jf]=Q,ce[Zf]=ae,ce}const Wh={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function I7({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,i)=>[...r,...i.type===tt?i.children:[i]],[]):t.reduce((n,r)=>{const i=e[r];return i&&(n[r]=i()),n},{})}function Fg(e){return tt}const M7=ut({name:"i18n-t",props:Gt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Lt(e)||!isNaN(e)}},Wh),setup(e,t){const{slots:n,attrs:r}=t,i=e.i18n||oc({useScope:e.scope,__useComponent:!0});return()=>{const a=Object.keys(n).filter(c=>c!=="_"),o={};e.locale&&(o.locale=e.locale),e.plural!==void 0&&(o.plural=Ee(e.plural)?+e.plural:e.plural);const l=I7(t,a),s=i[Xf](e.keypath,l,o),u=Gt({},r),f=Ee(e.tag)||Xe(e.tag)?e.tag:Fg();return bi(f,u,s)}}}),ed=M7;function x7(e){return St(e)&&!Ee(e[0])}function Hg(e,t,n,r){const{slots:i,attrs:a}=t;return()=>{const o={part:!0};let l={};e.locale&&(o.locale=e.locale),Ee(e.format)?o.key=e.format:Xe(e.format)&&(Ee(e.format.key)&&(o.key=e.format.key),l=Object.keys(e.format).reduce((d,h)=>n.includes(h)?Gt({},d,{[h]:e.format[h]}):d,{}));const s=r(e.value,o,l);let u=[o.key];St(s)?u=s.map((d,h)=>{const y=i[d.type],g=y?y({[d.type]:d.value,index:h,parts:s}):[d.value];return x7(g)&&(g[0].key=`${d.type}-${h}`),g}):Ee(s)&&(u=[s]);const f=Gt({},a),c=Ee(e.tag)||Xe(e.tag)?e.tag:Fg();return bi(c,f,u)}}const R7=ut({name:"i18n-n",props:Gt({value:{type:Number,required:!0},format:{type:[String,Object]}},Wh),setup(e,t){const n=e.i18n||oc({useScope:"parent",__useComponent:!0});return Hg(e,t,Lg,(...r)=>n[Zf](...r))}}),pm=R7,D7=ut({name:"i18n-d",props:Gt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Wh),setup(e,t){const n=e.i18n||oc({useScope:"parent",__useComponent:!0});return Hg(e,t,Pg,(...r)=>n[Jf](...r))}}),mm=D7;function F7(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function H7(e){const t=o=>{const{instance:l,modifiers:s,value:u}=o;if(!l||!l.$)throw Gn(Dn.UNEXPECTED_ERROR);const f=F7(e,l.$),c=vm(u);return[Reflect.apply(f.t,f,[...gm(c)]),f]};return{created:(o,l)=>{const[s,u]=t(l);Uf&&e.global===u&&(o.__i18nWatcher=Ke(u.locale,()=>{l.instance&&l.instance.$forceUpdate()})),o.__composer=u,o.textContent=s},unmounted:o=>{Uf&&o.__i18nWatcher&&(o.__i18nWatcher(),o.__i18nWatcher=void 0,delete o.__i18nWatcher),o.__composer&&(o.__composer=void 0,delete o.__composer)},beforeUpdate:(o,{value:l})=>{if(o.__composer){const s=o.__composer,u=vm(l);o.textContent=Reflect.apply(s.t,s,[...gm(u)])}},getSSRProps:o=>{const[l]=t(o);return{textContent:l}}}}function vm(e){if(Ee(e))return{path:e};if(Ve(e)){if(!("path"in e))throw Gn(Dn.REQUIRED_VALUE,"path");return e}else throw Gn(Dn.INVALID_VALUE)}function gm(e){const{path:t,locale:n,args:r,choice:i,plural:a}=e,o={},l=r||{};return Ee(n)&&(o.locale=n),Lt(i)&&(o.plural=i),Lt(a)&&(o.plural=a),[t,l,o]}function j7(e,t,...n){const r=Ve(n[0])?n[0]:{},i=!!r.useI18nComponentName;(lt(r.globalInstall)?r.globalInstall:!0)&&([i?"i18n":ed.name,"I18nT"].forEach(o=>e.component(o,ed)),[pm.name,"I18nN"].forEach(o=>e.component(o,pm)),[mm.name,"I18nD"].forEach(o=>e.component(o,mm))),e.directive("t",H7(t))}const V7=Ei("global-vue-i18n");function B7(e={},t){const n=lt(e.globalInjection)?e.globalInjection:!0,r=!0,i=new Map,[a,o]=z7(e),l=Ei("");function s(c){return i.get(c)||null}function u(c,d){i.set(c,d)}function f(c){i.delete(c)}{const c={get mode(){return"composition"},get allowComposition(){return r},async install(d,...h){if(d.__VUE_I18N_SYMBOL__=l,d.provide(d.__VUE_I18N_SYMBOL__,c),Ve(h[0])){const _=h[0];c.__composerExtend=_.__composerExtend,c.__vueI18nExtend=_.__vueI18nExtend}let y=null;n&&(y=X7(d,c.global)),j7(d,c,...h);const g=d.unmount;d.unmount=()=>{y&&y(),c.dispose(),g()}},get global(){return o},dispose(){a.stop()},__instances:i,__getInstance:s,__setInstance:u,__deleteInstance:f};return c}}function oc(e={}){const t=jt();if(t==null)throw Gn(Dn.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Gn(Dn.NOT_INSTALLED);const n=$7(t),r=q7(n),i=Rg(t),a=U7(e,i);if(a==="global")return C7(r,e,i),r;if(a==="parent"){let s=K7(n,t,e.__useComponent);return s==null&&(s=r),s}const o=n;let l=o.__getInstance(t);if(l==null){const s=Gt({},e);"__i18n"in i&&(s.__i18n=i.__i18n),r&&(s.__root=r),l=Dg(s),o.__composerExtend&&(l[Qf]=o.__composerExtend(l)),G7(o,t,l),o.__setInstance(t,l)}return l}function z7(e,t,n){const r=vl();{const i=r.run(()=>Dg(e));if(i==null)throw Gn(Dn.UNEXPECTED_ERROR);return[r,i]}}function $7(e){{const t=In(e.isCE?V7:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Gn(e.isCE?Dn.NOT_INSTALLED_WITH_PROVIDE:Dn.UNEXPECTED_ERROR);return t}}function U7(e,t){return ic(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function q7(e){return e.mode==="composition"?e.global:e.global.__composer}function K7(e,t,n=!1){let r=null;const i=t.root;let a=W7(t,n);for(;a!=null;){const o=e;if(e.mode==="composition"&&(r=o.__getInstance(a)),r!=null||i===a)break;a=a.parent}return r}function W7(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function G7(e,t,n){mn(()=>{},t),yi(()=>{const r=n;e.__deleteInstance(t);const i=r[Qf];i&&(i(),delete r[Qf])},t)}const Y7=["locale","fallbackLocale","availableLocales"],ym=["t","rt","d","n","tm","te"];function X7(e,t){const n=Object.create(null);return Y7.forEach(i=>{const a=Object.getOwnPropertyDescriptor(t,i);if(!a)throw Gn(Dn.UNEXPECTED_ERROR);const o=Qe(a.value)?{get(){return a.value.value},set(l){a.value.value=l}}:{get(){return a.get&&a.get()}};Object.defineProperty(n,i,o)}),e.config.globalProperties.$i18n=n,ym.forEach(i=>{const a=Object.getOwnPropertyDescriptor(t,i);if(!a||!a.value)throw Gn(Dn.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${i}`,a)}),()=>{delete e.config.globalProperties.$i18n,ym.forEach(i=>{delete e.config.globalProperties[`$${i}`]})}}f7(E7);d7(K5);h7(Eg);{const e=a5();e.__INTLIFY__=!0,t7(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}function jg(e,t){return function(){return e.apply(t,arguments)}}const{toString:J7}=Object.prototype,{getPrototypeOf:Gh}=Object,lc=(e=>t=>{const n=J7.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),mr=e=>(e=e.toLowerCase(),t=>lc(t)===e),sc=e=>t=>typeof t===e,{isArray:io}=Array,ul=sc("undefined");function Z7(e){return e!==null&&!ul(e)&&e.constructor!==null&&!ul(e.constructor)&&xn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Vg=mr("ArrayBuffer");function Q7(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Vg(e.buffer),t}const eE=sc("string"),xn=sc("function"),Bg=sc("number"),uc=e=>e!==null&&typeof e=="object",tE=e=>e===!0||e===!1,Rs=e=>{if(lc(e)!=="object")return!1;const t=Gh(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},nE=mr("Date"),rE=mr("File"),iE=mr("Blob"),aE=mr("FileList"),oE=e=>uc(e)&&xn(e.pipe),lE=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||xn(e.append)&&((t=lc(e))==="formdata"||t==="object"&&xn(e.toString)&&e.toString()==="[object FormData]"))},sE=mr("URLSearchParams"),uE=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Cl(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),io(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{const a=n?Object.getOwnPropertyNames(e):Object.keys(e),o=a.length;let l;for(r=0;r<o;r++)l=a[r],t.call(null,e[l],l,e)}}function zg(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,i;for(;r-- >0;)if(i=n[r],t===i.toLowerCase())return i;return null}const $g=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),Ug=e=>!ul(e)&&e!==$g;function td(){const{caseless:e}=Ug(this)&&this||{},t={},n=(r,i)=>{const a=e&&zg(t,i)||i;Rs(t[a])&&Rs(r)?t[a]=td(t[a],r):Rs(r)?t[a]=td({},r):io(r)?t[a]=r.slice():t[a]=r};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&Cl(arguments[r],n);return t}const cE=(e,t,n,{allOwnKeys:r}={})=>(Cl(t,(i,a)=>{n&&xn(i)?e[a]=jg(i,n):e[a]=i},{allOwnKeys:r}),e),fE=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),dE=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},hE=(e,t,n,r)=>{let i,a,o;const l={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),a=i.length;a-- >0;)o=i[a],(!r||r(o,e,t))&&!l[o]&&(t[o]=e[o],l[o]=!0);e=n!==!1&&Gh(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},pE=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},mE=e=>{if(!e)return null;if(io(e))return e;let t=e.length;if(!Bg(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},vE=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Gh(Uint8Array)),gE=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const a=i.value;t.call(e,a[0],a[1])}},yE=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},bE=mr("HTMLFormElement"),_E=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),bm=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),EE=mr("RegExp"),qg=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Cl(n,(i,a)=>{let o;(o=t(i,a,e))!==!1&&(r[a]=o||i)}),Object.defineProperties(e,r)},wE=e=>{qg(e,(t,n)=>{if(xn(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(xn(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},OE=(e,t)=>{const n={},r=i=>{i.forEach(a=>{n[a]=!0})};return io(e)?r(e):r(String(e).split(t)),n},TE=()=>{},SE=(e,t)=>(e=+e,Number.isFinite(e)?e:t),nf="abcdefghijklmnopqrstuvwxyz",_m="0123456789",Kg={DIGIT:_m,ALPHA:nf,ALPHA_DIGIT:nf+nf.toUpperCase()+_m},AE=(e=16,t=Kg.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function NE(e){return!!(e&&xn(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const kE=e=>{const t=new Array(10),n=(r,i)=>{if(uc(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const a=io(r)?[]:{};return Cl(r,(o,l)=>{const s=n(o,i+1);!ul(s)&&(a[l]=s)}),t[i]=void 0,a}}return r};return n(e,0)},CE=mr("AsyncFunction"),PE=e=>e&&(uc(e)||xn(e))&&xn(e.then)&&xn(e.catch),de={isArray:io,isArrayBuffer:Vg,isBuffer:Z7,isFormData:lE,isArrayBufferView:Q7,isString:eE,isNumber:Bg,isBoolean:tE,isObject:uc,isPlainObject:Rs,isUndefined:ul,isDate:nE,isFile:rE,isBlob:iE,isRegExp:EE,isFunction:xn,isStream:oE,isURLSearchParams:sE,isTypedArray:vE,isFileList:aE,forEach:Cl,merge:td,extend:cE,trim:uE,stripBOM:fE,inherits:dE,toFlatObject:hE,kindOf:lc,kindOfTest:mr,endsWith:pE,toArray:mE,forEachEntry:gE,matchAll:yE,isHTMLForm:bE,hasOwnProperty:bm,hasOwnProp:bm,reduceDescriptors:qg,freezeMethods:wE,toObjectSet:OE,toCamelCase:_E,noop:TE,toFiniteNumber:SE,findKey:zg,global:$g,isContextDefined:Ug,ALPHABET:Kg,generateString:AE,isSpecCompliantForm:NE,toJSONObject:kE,isAsyncFn:CE,isThenable:PE};function je(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}de.inherits(je,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:de.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Wg=je.prototype,Gg={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Gg[e]={value:e}});Object.defineProperties(je,Gg);Object.defineProperty(Wg,"isAxiosError",{value:!0});je.from=(e,t,n,r,i,a)=>{const o=Object.create(Wg);return de.toFlatObject(e,o,function(s){return s!==Error.prototype},l=>l!=="isAxiosError"),je.call(o,e.message,t,n,r,i),o.cause=e,o.name=e.name,a&&Object.assign(o,a),o};const LE=null;function nd(e){return de.isPlainObject(e)||de.isArray(e)}function Yg(e){return de.endsWith(e,"[]")?e.slice(0,-2):e}function Em(e,t,n){return e?e.concat(t).map(function(i,a){return i=Yg(i),!n&&a?"["+i+"]":i}).join(n?".":""):t}function IE(e){return de.isArray(e)&&!e.some(nd)}const ME=de.toFlatObject(de,{},null,function(t){return/^is[A-Z]/.test(t)});function cc(e,t,n){if(!de.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=de.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,_){return!de.isUndefined(_[g])});const r=n.metaTokens,i=n.visitor||f,a=n.dots,o=n.indexes,s=(n.Blob||typeof Blob<"u"&&Blob)&&de.isSpecCompliantForm(t);if(!de.isFunction(i))throw new TypeError("visitor must be a function");function u(y){if(y===null)return"";if(de.isDate(y))return y.toISOString();if(!s&&de.isBlob(y))throw new je("Blob is not supported. Use a Buffer instead.");return de.isArrayBuffer(y)||de.isTypedArray(y)?s&&typeof Blob=="function"?new Blob([y]):Buffer.from(y):y}function f(y,g,_){let m=y;if(y&&!_&&typeof y=="object"){if(de.endsWith(g,"{}"))g=r?g:g.slice(0,-2),y=JSON.stringify(y);else if(de.isArray(y)&&IE(y)||(de.isFileList(y)||de.endsWith(g,"[]"))&&(m=de.toArray(y)))return g=Yg(g),m.forEach(function(b,p){!(de.isUndefined(b)||b===null)&&t.append(o===!0?Em([g],p,a):o===null?g:g+"[]",u(b))}),!1}return nd(y)?!0:(t.append(Em(_,g,a),u(y)),!1)}const c=[],d=Object.assign(ME,{defaultVisitor:f,convertValue:u,isVisitable:nd});function h(y,g){if(!de.isUndefined(y)){if(c.indexOf(y)!==-1)throw Error("Circular reference detected in "+g.join("."));c.push(y),de.forEach(y,function(m,v){(!(de.isUndefined(m)||m===null)&&i.call(t,m,de.isString(v)?v.trim():v,g,d))===!0&&h(m,g?g.concat(v):[v])}),c.pop()}}if(!de.isObject(e))throw new TypeError("data must be an object");return h(e),t}function wm(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Yh(e,t){this._pairs=[],e&&cc(e,this,t)}const Xg=Yh.prototype;Xg.append=function(t,n){this._pairs.push([t,n])};Xg.toString=function(t){const n=t?function(r){return t.call(this,r,wm)}:wm;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function xE(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Jg(e,t,n){if(!t)return e;const r=n&&n.encode||xE,i=n&&n.serialize;let a;if(i?a=i(t,n):a=de.isURLSearchParams(t)?t.toString():new Yh(t,n).toString(r),a){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e}class RE{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){de.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Om=RE,Zg={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},DE=typeof URLSearchParams<"u"?URLSearchParams:Yh,FE=typeof FormData<"u"?FormData:null,HE=typeof Blob<"u"?Blob:null,jE={isBrowser:!0,classes:{URLSearchParams:DE,FormData:FE,Blob:HE},protocols:["http","https","file","blob","url","data"]},Qg=typeof window<"u"&&typeof document<"u",VE=(e=>Qg&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),BE=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),zE=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Qg,hasStandardBrowserEnv:VE,hasStandardBrowserWebWorkerEnv:BE},Symbol.toStringTag,{value:"Module"})),lr={...zE,...jE};function $E(e,t){return cc(e,new lr.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,a){return lr.isNode&&de.isBuffer(n)?(this.append(r,n.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)}},t))}function UE(e){return de.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function qE(e){const t={},n=Object.keys(e);let r;const i=n.length;let a;for(r=0;r<i;r++)a=n[r],t[a]=e[a];return t}function ey(e){function t(n,r,i,a){let o=n[a++];const l=Number.isFinite(+o),s=a>=n.length;return o=!o&&de.isArray(i)?i.length:o,s?(de.hasOwnProp(i,o)?i[o]=[i[o],r]:i[o]=r,!l):((!i[o]||!de.isObject(i[o]))&&(i[o]=[]),t(n,r,i[o],a)&&de.isArray(i[o])&&(i[o]=qE(i[o])),!l)}if(de.isFormData(e)&&de.isFunction(e.entries)){const n={};return de.forEachEntry(e,(r,i)=>{t(UE(r),i,n,0)}),n}return null}function KE(e,t,n){if(de.isString(e))try{return(t||JSON.parse)(e),de.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Xh={transitional:Zg,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,a=de.isObject(t);if(a&&de.isHTMLForm(t)&&(t=new FormData(t)),de.isFormData(t))return i&&i?JSON.stringify(ey(t)):t;if(de.isArrayBuffer(t)||de.isBuffer(t)||de.isStream(t)||de.isFile(t)||de.isBlob(t))return t;if(de.isArrayBufferView(t))return t.buffer;if(de.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(a){if(r.indexOf("application/x-www-form-urlencoded")>-1)return $E(t,this.formSerializer).toString();if((l=de.isFileList(t))||r.indexOf("multipart/form-data")>-1){const s=this.env&&this.env.FormData;return cc(l?{"files[]":t}:t,s&&new s,this.formSerializer)}}return a||i?(n.setContentType("application/json",!1),KE(t)):t}],transformResponse:[function(t){const n=this.transitional||Xh.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(t&&de.isString(t)&&(r&&!this.responseType||i)){const o=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(l){if(o)throw l.name==="SyntaxError"?je.from(l,je.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:lr.classes.FormData,Blob:lr.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};de.forEach(["delete","get","head","post","put","patch"],e=>{Xh.headers[e]={}});const Jh=Xh,WE=de.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),GE=e=>{const t={};let n,r,i;return e&&e.split(`
39
39
  `).forEach(function(o){i=o.indexOf(":"),n=o.substring(0,i).trim().toLowerCase(),r=o.substring(i+1).trim(),!(!n||t[n]&&WE[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Tm=Symbol("internals");function To(e){return e&&String(e).trim().toLowerCase()}function Ds(e){return e===!1||e==null?e:de.isArray(e)?e.map(Ds):String(e)}function YE(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const XE=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function rf(e,t,n,r,i){if(de.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!de.isString(t)){if(de.isString(r))return t.indexOf(r)!==-1;if(de.isRegExp(r))return r.test(t)}}function JE(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function ZE(e,t){const n=de.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,a,o){return this[r].call(this,t,i,a,o)},configurable:!0})})}class fc{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function a(l,s,u){const f=To(s);if(!f)throw new Error("header name must be a non-empty string");const c=de.findKey(i,f);(!c||i[c]===void 0||u===!0||u===void 0&&i[c]!==!1)&&(i[c||s]=Ds(l))}const o=(l,s)=>de.forEach(l,(u,f)=>a(u,f,s));return de.isPlainObject(t)||t instanceof this.constructor?o(t,n):de.isString(t)&&(t=t.trim())&&!XE(t)?o(GE(t),n):t!=null&&a(n,t,r),this}get(t,n){if(t=To(t),t){const r=de.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return YE(i);if(de.isFunction(n))return n.call(this,i,r);if(de.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=To(t),t){const r=de.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||rf(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function a(o){if(o=To(o),o){const l=de.findKey(r,o);l&&(!n||rf(r,r[l],l,n))&&(delete r[l],i=!0)}}return de.isArray(t)?t.forEach(a):a(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const a=n[r];(!t||rf(this,this[a],a,t,!0))&&(delete this[a],i=!0)}return i}normalize(t){const n=this,r={};return de.forEach(this,(i,a)=>{const o=de.findKey(r,a);if(o){n[o]=Ds(i),delete n[a];return}const l=t?JE(a):String(a).trim();l!==a&&delete n[a],n[l]=Ds(i),r[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return de.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&de.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
40
40
  `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[Tm]=this[Tm]={accessors:{}}).accessors,i=this.prototype;function a(o){const l=To(o);r[l]||(ZE(i,o),r[l]=!0)}return de.isArray(t)?t.forEach(a):a(t),this}}fc.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);de.reduceDescriptors(fc.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});de.freezeMethods(fc);const kr=fc;function af(e,t){const n=this||Jh,r=t||n,i=kr.from(r.headers);let a=r.data;return de.forEach(e,function(l){a=l.call(n,a,i.normalize(),t?t.status:void 0)}),i.normalize(),a}function ty(e){return!!(e&&e.__CANCEL__)}function Pl(e,t,n){je.call(this,e??"canceled",je.ERR_CANCELED,t,n),this.name="CanceledError"}de.inherits(Pl,je,{__CANCEL__:!0});function QE(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new je("Request failed with status code "+n.status,[je.ERR_BAD_REQUEST,je.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const ew=lr.hasStandardBrowserEnv?{write(e,t,n,r,i,a){const o=[e+"="+encodeURIComponent(t)];de.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),de.isString(r)&&o.push("path="+r),de.isString(i)&&o.push("domain="+i),a===!0&&o.push("secure"),document.cookie=o.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function tw(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function nw(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function ny(e,t){return e&&!tw(t)?nw(e,t):t}const rw=lr.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function i(a){let o=a;return t&&(n.setAttribute("href",o),o=n.href),n.setAttribute("href",o),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=i(window.location.href),function(o){const l=de.isString(o)?i(o):o;return l.protocol===r.protocol&&l.host===r.host}}():function(){return function(){return!0}}();function iw(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function aw(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,a=0,o;return t=t!==void 0?t:1e3,function(s){const u=Date.now(),f=r[a];o||(o=u),n[i]=s,r[i]=u;let c=a,d=0;for(;c!==i;)d+=n[c++],c=c%e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),u-o<t)return;const h=f&&u-f;return h?Math.round(d*1e3/h):void 0}}function Sm(e,t){let n=0;const r=aw(50,250);return i=>{const a=i.loaded,o=i.lengthComputable?i.total:void 0,l=a-n,s=r(l),u=a<=o;n=a;const f={loaded:a,total:o,progress:o?a/o:void 0,bytes:l,rate:s||void 0,estimated:s&&o&&u?(o-a)/s:void 0,event:i};f[t?"download":"upload"]=!0,e(f)}}const ow=typeof XMLHttpRequest<"u",lw=ow&&function(e){return new Promise(function(n,r){let i=e.data;const a=kr.from(e.headers).normalize();let{responseType:o,withXSRFToken:l}=e,s;function u(){e.cancelToken&&e.cancelToken.unsubscribe(s),e.signal&&e.signal.removeEventListener("abort",s)}let f;if(de.isFormData(i)){if(lr.hasStandardBrowserEnv||lr.hasStandardBrowserWebWorkerEnv)a.setContentType(!1);else if((f=a.getContentType())!==!1){const[g,..._]=f?f.split(";").map(m=>m.trim()).filter(Boolean):[];a.setContentType([g||"multipart/form-data",..._].join("; "))}}let c=new XMLHttpRequest;if(e.auth){const g=e.auth.username||"",_=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";a.set("Authorization","Basic "+btoa(g+":"+_))}const d=ny(e.baseURL,e.url);c.open(e.method.toUpperCase(),Jg(d,e.params,e.paramsSerializer),!0),c.timeout=e.timeout;function h(){if(!c)return;const g=kr.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),m={data:!o||o==="text"||o==="json"?c.responseText:c.response,status:c.status,statusText:c.statusText,headers:g,config:e,request:c};QE(function(b){n(b),u()},function(b){r(b),u()},m),c=null}if("onloadend"in c?c.onloadend=h:c.onreadystatechange=function(){!c||c.readyState!==4||c.status===0&&!(c.responseURL&&c.responseURL.indexOf("file:")===0)||setTimeout(h)},c.onabort=function(){c&&(r(new je("Request aborted",je.ECONNABORTED,e,c)),c=null)},c.onerror=function(){r(new je("Network Error",je.ERR_NETWORK,e,c)),c=null},c.ontimeout=function(){let _=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const m=e.transitional||Zg;e.timeoutErrorMessage&&(_=e.timeoutErrorMessage),r(new je(_,m.clarifyTimeoutError?je.ETIMEDOUT:je.ECONNABORTED,e,c)),c=null},lr.hasStandardBrowserEnv&&(l&&de.isFunction(l)&&(l=l(e)),l||l!==!1&&rw(d))){const g=e.xsrfHeaderName&&e.xsrfCookieName&&ew.read(e.xsrfCookieName);g&&a.set(e.xsrfHeaderName,g)}i===void 0&&a.setContentType(null),"setRequestHeader"in c&&de.forEach(a.toJSON(),function(_,m){c.setRequestHeader(m,_)}),de.isUndefined(e.withCredentials)||(c.withCredentials=!!e.withCredentials),o&&o!=="json"&&(c.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&c.addEventListener("progress",Sm(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",Sm(e.onUploadProgress)),(e.cancelToken||e.signal)&&(s=g=>{c&&(r(!g||g.type?new Pl(null,e,c):g),c.abort(),c=null)},e.cancelToken&&e.cancelToken.subscribe(s),e.signal&&(e.signal.aborted?s():e.signal.addEventListener("abort",s)));const y=iw(d);if(y&&lr.protocols.indexOf(y)===-1){r(new je("Unsupported protocol "+y+":",je.ERR_BAD_REQUEST,e));return}c.send(i||null)})},rd={http:LE,xhr:lw};de.forEach(rd,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Am=e=>`- ${e}`,sw=e=>de.isFunction(e)||e===null||e===!1,ry={getAdapter:e=>{e=de.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let a=0;a<t;a++){n=e[a];let o;if(r=n,!sw(n)&&(r=rd[(o=String(n)).toLowerCase()],r===void 0))throw new je(`Unknown adapter '${o}'`);if(r)break;i[o||"#"+a]=r}if(!r){const a=Object.entries(i).map(([l,s])=>`adapter ${l} `+(s===!1?"is not supported by the environment":"is not available in the build"));let o=t?a.length>1?`since :
41
41
  `+a.map(Am).join(`
42
- `):" "+Am(a[0]):"as no adapter specified";throw new je("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return r},adapters:rd};function of(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Pl(null,e)}function Nm(e){return of(e),e.headers=kr.from(e.headers),e.data=af.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),ry.getAdapter(e.adapter||Jh.adapter)(e).then(function(r){return of(e),r.data=af.call(e,e.transformResponse,r),r.headers=kr.from(r.headers),r},function(r){return ty(r)||(of(e),r&&r.response&&(r.response.data=af.call(e,e.transformResponse,r.response),r.response.headers=kr.from(r.response.headers))),Promise.reject(r)})}const km=e=>e instanceof kr?e.toJSON():e;function Ga(e,t){t=t||{};const n={};function r(u,f,c){return de.isPlainObject(u)&&de.isPlainObject(f)?de.merge.call({caseless:c},u,f):de.isPlainObject(f)?de.merge({},f):de.isArray(f)?f.slice():f}function i(u,f,c){if(de.isUndefined(f)){if(!de.isUndefined(u))return r(void 0,u,c)}else return r(u,f,c)}function a(u,f){if(!de.isUndefined(f))return r(void 0,f)}function o(u,f){if(de.isUndefined(f)){if(!de.isUndefined(u))return r(void 0,u)}else return r(void 0,f)}function l(u,f,c){if(c in t)return r(u,f);if(c in e)return r(void 0,u)}const s={url:a,method:a,data:a,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:l,headers:(u,f)=>i(km(u),km(f),!0)};return de.forEach(Object.keys(Object.assign({},e,t)),function(f){const c=s[f]||i,d=c(e[f],t[f],f);de.isUndefined(d)&&c!==l||(n[f]=d)}),n}const iy="1.6.2",Zh={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Zh[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Cm={};Zh.transitional=function(t,n,r){function i(a,o){return"[Axios v"+iy+"] Transitional option '"+a+"'"+o+(r?". "+r:"")}return(a,o,l)=>{if(t===!1)throw new je(i(o," has been removed"+(n?" in "+n:"")),je.ERR_DEPRECATED);return n&&!Cm[o]&&(Cm[o]=!0,console.warn(i(o," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(a,o,l):!0}};function uw(e,t,n){if(typeof e!="object")throw new je("options must be an object",je.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const a=r[i],o=t[a];if(o){const l=e[a],s=l===void 0||o(l,a,e);if(s!==!0)throw new je("option "+a+" must be "+s,je.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new je("Unknown option "+a,je.ERR_BAD_OPTION)}}const id={assertOptions:uw,validators:Zh},qr=id.validators;class mu{constructor(t){this.defaults=t,this.interceptors={request:new Om,response:new Om}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Ga(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:a}=n;r!==void 0&&id.assertOptions(r,{silentJSONParsing:qr.transitional(qr.boolean),forcedJSONParsing:qr.transitional(qr.boolean),clarifyTimeoutError:qr.transitional(qr.boolean)},!1),i!=null&&(de.isFunction(i)?n.paramsSerializer={serialize:i}:id.assertOptions(i,{encode:qr.function,serialize:qr.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o=a&&de.merge(a.common,a[n.method]);a&&de.forEach(["delete","get","head","post","put","patch","common"],y=>{delete a[y]}),n.headers=kr.concat(o,a);const l=[];let s=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(n)===!1||(s=s&&g.synchronous,l.unshift(g.fulfilled,g.rejected))});const u=[];this.interceptors.response.forEach(function(g){u.push(g.fulfilled,g.rejected)});let f,c=0,d;if(!s){const y=[Nm.bind(this),void 0];for(y.unshift.apply(y,l),y.push.apply(y,u),d=y.length,f=Promise.resolve(n);c<d;)f=f.then(y[c++],y[c++]);return f}d=l.length;let h=n;for(c=0;c<d;){const y=l[c++],g=l[c++];try{h=y(h)}catch(_){g.call(this,_);break}}try{f=Nm.call(this,h)}catch(y){return Promise.reject(y)}for(c=0,d=u.length;c<d;)f=f.then(u[c++],u[c++]);return f}getUri(t){t=Ga(this.defaults,t);const n=ny(t.baseURL,t.url);return Jg(n,t.params,t.paramsSerializer)}}de.forEach(["delete","get","head","options"],function(t){mu.prototype[t]=function(n,r){return this.request(Ga(r||{},{method:t,url:n,data:(r||{}).data}))}});de.forEach(["post","put","patch"],function(t){function n(r){return function(a,o,l){return this.request(Ga(l||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:a,data:o}))}}mu.prototype[t]=n(),mu.prototype[t+"Form"]=n(!0)});const Fs=mu;class Qh{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(a){n=a});const r=this;this.promise.then(i=>{if(!r._listeners)return;let a=r._listeners.length;for(;a-- >0;)r._listeners[a](i);r._listeners=null}),this.promise.then=i=>{let a;const o=new Promise(l=>{r.subscribe(l),a=l}).then(i);return o.cancel=function(){r.unsubscribe(a)},o},t(function(a,o,l){r.reason||(r.reason=new Pl(a,o,l),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new Qh(function(i){t=i}),cancel:t}}}const cw=Qh;function fw(e){return function(n){return e.apply(null,n)}}function dw(e){return de.isObject(e)&&e.isAxiosError===!0}const ad={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(ad).forEach(([e,t])=>{ad[t]=e});const hw=ad;function ay(e){const t=new Fs(e),n=jg(Fs.prototype.request,t);return de.extend(n,Fs.prototype,t,{allOwnKeys:!0}),de.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return ay(Ga(e,i))},n}const Et=ay(Jh);Et.Axios=Fs;Et.CanceledError=Pl;Et.CancelToken=cw;Et.isCancel=ty;Et.VERSION=iy;Et.toFormData=cc;Et.AxiosError=je;Et.Cancel=Et.CanceledError;Et.all=function(t){return Promise.all(t)};Et.spread=fw;Et.isAxiosError=dw;Et.mergeConfig=Ga;Et.AxiosHeaders=kr;Et.formToJSON=e=>ey(de.isHTMLForm(e)?new FormData(e):e);Et.getAdapter=ry.getAdapter;Et.HttpStatusCode=hw;Et.default=Et;const ii=Et,ao=_i("alert",()=>{const e=be(""),t=be("default"),n=be("NotActive"),r=be(NaN),i=be("global");function a({message:o,type:l="default"}){e.value=o,t.value=l,n.value!=="NotActive"?(n.value="KeepActive",clearTimeout(r.value),r.value=window.setTimeout(()=>{n.value="NotActive"},4e3)):(n.value="StartActive",r.value=window.setTimeout(()=>{n.value="NotActive"},4e3))}return{message:e,type:t,status:n,timer:r,domain:i,display:a}}),oy="en",pw=document.documentElement.lang.slice(0,2)||oy,ly=B7({warnHtmlMessage:!1,fallbackRootWithEmptyString:!1,silentTranslationWarn:!0,allowComposition:!0,legacy:!1,globalInjection:!0,locale:pw,fallbackLocale:oy}),qe=ly.global;function mw(e){for(const t in e)qe.setLocaleMessage(t,e[t])}var od=(e=>(e[e.Accept=0]="Accept",e[e.Error=1]="Error",e[e.Cancel=2]="Cancel",e[e.Close=3]="Close",e[e.Open=4]="Open",e[e.CheckResult=5]="CheckResult",e))(od||{}),Pt=(e=>(e[e.Invalid=0]="Invalid",e[e.PerUnit=1]="PerUnit",e[e.PerPerson=2]="PerPerson",e[e.PerAdult=3]="PerAdult",e[e.PerChild=4]="PerChild",e[e.PerNight=5]="PerNight",e[e.PerPersonPerNight=6]="PerPersonPerNight",e[e.PerAdultPerNight=7]="PerAdultPerNight",e[e.PerChildPerNight=8]="PerChildPerNight",e[e.Consumption=9]="Consumption",e[e.EarlyCheckIn=10]="EarlyCheckIn",e[e.EarlyCheckOut=11]="EarlyCheckOut",e[e.OneTimePayment=12]="OneTimePayment",e))(Pt||{}),Ya=(e=>(e[e.None=0]="None",e[e.AskForCreditCard=2]="AskForCreditCard",e[e.Stripe=18]="Stripe",e[e.DIBS=47]="DIBS",e[e.EasyPay=56]="EasyPay",e[e.ReePay=57]="ReePay",e))(Ya||{}),sy=(e=>(e.Selective="selective",e.Wholesale="wholesale",e.Simplified="simplified",e.Template="template",e.Event="event",e))(sy||{}),uy=(e=>(e.Default="default",e.Minimal="minimal",e))(uy||{}),cy=(e=>(e[e.InitialState=0]="InitialState",e[e.WaitingForResponse=1]="WaitingForResponse",e[e.ReadyToPay=2]="ReadyToPay",e[e.PaymentSuccess=3]="PaymentSuccess",e))(cy||{}),fy=(e=>(e[e.None=0]="None",e[e.Hourly=1]="Hourly",e[e.FullDayEvent=2]="FullDayEvent",e[e.Weekly=3]="Weekly",e))(fy||{}),dy=(e=>(e[e.InitialState=0]="InitialState",e[e.AvailabilityState=1]="AvailabilityState",e[e.ReservationState=2]="ReservationState",e[e.PaymentState=3]="PaymentState",e))(dy||{});function vw(e){switch(e){case Pt.PerUnit:return qe.t("general.perUnit");case Pt.PerPerson:return qe.t("general.perPerson");case Pt.PerAdult:return qe.t("general.perAdult");case Pt.PerChild:return qe.t("general.perChild");case Pt.PerNight:return qe.t("general.perNight");case Pt.PerPersonPerNight:return qe.t("general.perPersonPerNight");case Pt.PerAdultPerNight:return qe.t("general.perAdultPerNight");case Pt.PerChildPerNight:return qe.t("general.perChildPerNight")}}function hy(e,t,n,r=0,i=0){switch(t){case Pt.PerUnit:return e;case Pt.PerPerson:return e*(r+i);case Pt.PerAdult:return e*r;case Pt.PerChild:return e*i;case Pt.PerNight:return e*n;case Pt.PerPersonPerNight:return e*(r+i)*n;case Pt.PerAdultPerNight:return e*r*n;case Pt.PerChildPerNight:return e*i*n;case Pt.OneTimePayment:return e;default:return e}}function Pm(e){return e===void 0?e:e.replace(/([!?.])([a-z])/g,function(t,n,r){return r.toUpperCase()})}function gw(e){if(e!==void 0){const t=new RegExp("\\n","g");return e.replace(t,"<br>")}else return""}function Lm(e){switch(e){case 2:return qe.t("booking.reservation.nameTitleMr");case 3:return qe.t("booking.reservation.nameTitleMs");case 4:return qe.t("booking.reservation.nameTitleMrs");case 5:return qe.t("booking.reservation.nameTitleDr");default:return""}}function yw(e){let t,n,r,i,a,o,l,s,u,f=0,c=0,d="";const h="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",y=[];if(!e)return e;do t=e.charCodeAt(f++),n=e.charCodeAt(f++),r=e.charCodeAt(f++),s=t<<16|n<<8|r,i=63&s>>18,a=63&s>>12,o=63&s>>6,l=63&s,y[c++]=h.charAt(i)+h.charAt(a)+h.charAt(o)+h.charAt(l);while(f<e.length);return d=y.join(""),u=e.length%3,(u?d.slice(0,u-3):d)+"===".slice(u||3)}function bw(e){return e.toLowerCase()}function _w(e){return new Date(e).toISOString()}function e1(e,t){const n=new Date(e),r=new Date(t),i=r.getTime()-n.getTime();return Math.round(i/(1e3*60*60*24))}function pr(e=!1){return e?document.documentElement.lang||"en-US":document.documentElement.lang.slice(0,2)||"en"}function dc(e=10){const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=t.length;let r="";for(let i=0;i<e;i++)r+=t.charAt(Math.floor(Math.random()*n));return r}function Hs(e,t=0){let n=new Date(e);n=new Date(n.setDate(n.getDate()+t));let r;switch(pr()){case"da":case"se":r={0:"jan",1:"feb",2:"mar",3:"apr",4:"maj",5:"jun",6:"jul",7:"aug",8:"sep",9:"okt",10:"nov",11:"dec"};break;case"no":r={0:"jan",1:"feb",2:"mar",3:"apr",4:"mai",5:"jun",6:"jul",7:"aug",8:"sep",9:"okt",10:"nov",11:"des"};break;case"de":r={0:"jan",1:"feb",2:"mär",3:"apr",4:"mai",5:"jun",6:"jul",7:"aug",8:"sep",9:"okt",10:"nov",11:"dez"};break;case"fi":r={0:"tam",1:"hel",2:"maa",3:"huh",4:"tou",5:"kes",6:"hei",7:"elo",8:"syy",9:"lok",10:"mar",11:"jou"};break;case"fr":r={0:"jan",1:"feb",2:"mar",3:"apr",4:"mai",5:"jun",6:"jui",7:"aoû",8:"sep",9:"okt",10:"nov",11:"dec"};break;case"it":r={0:"gen",1:"feb",2:"mar",3:"apr",4:"mag",5:"giu",6:"lug",7:"ago",8:"set",9:"ott",10:"nov",11:"dic"};break;default:r={0:"Jan",1:"Feb",2:"Mar",3:"Apr",4:"May",5:"Jun",6:"Jul",7:"Aug",8:"Sep",9:"Oct",10:"Nov",11:"Dec"};break}return`${n.getDate()} ${r[n.getMonth()]} ${n.getFullYear()}`}function Ew(e){const t=e.sort();for(let n=1;n<t.length;n++)if(t[n]!=t[n-1]+1)return!1;return!0}function ww(e){let t=e;const n=[6,7],r=e.split(",").map(Number);let i;switch(pr()){case"da":i={1:"Man",2:"Tir",3:"Ons",4:"Tor",5:"Fre",6:"Lør",7:"Søn"};break;default:i={1:"Mon",2:"Tue",3:"Wed",4:"Thu",5:"Fri",6:"Sat",7:"Sun"};break}return r.length===7?t=qe.t("general.everyday"):n.some(a=>r.includes(a))?t=qe.t("general.weekends"):Ew(r)&&r.length>1?t=`${i[r[0]]} - ${i[r[r.length-1]]}`:t="-",t}function Ow(e,t,n=!1){if(n){const r=e.split("-");e=`${r[1]}-${r[0]}-${r[2]}`;const i=t.split("-");t=`${i[1]}-${i[0]}-${i[2]}`}return e===t?`${Hs(e)}}`:`${Hs(e)} - ${Hs(t)}`}function js(e){let t=e;const n=e.split(":");return n[2]&&(t=`${n[0]}:${n[1]}`),t}function Tw(e,t){return e===t?js(e):`${js(e)} - ${js(t)}`}function Sw(e,t){return new Intl.NumberFormat(pr(!0),{style:"currency",currency:t}).format(e)}function Aw(e){return e?e.charAt(0).toUpperCase()+e.slice(1):""}const Im=2,Mm=0,xm=()=>new Date(new Date(new Date().setDate(new Date().getDate()+1)).setHours(12,0,0,0)),Rm=()=>new Date(new Date(new Date().setDate(new Date().getDate()+2)).setHours(12,0,0,0)),Dm=NaN,vu=_i("availability",()=>{const e=Ct("konnectio_expiry_date",new Date,void 0,{serializer:Ot.date}),t=Ct("konnectio_adults",Im,void 0,{serializer:Ot.number}),n=Ct("konnectio_children",Mm,void 0,{serializer:Ot.number}),r=Ct("konnectio_arrival_date",xm(),void 0,{serializer:Ot.date}),i=Ct("konnectio_departure_date",Rm(),void 0,{serializer:Ot.date}),a=Ct("konnectio_location",Dm,void 0,{serializer:Ot.number});function o(h){const y=new Date(h),g=""+y.getFullYear();let _=""+(y.getMonth()+1),m=""+y.getDate();return _.length<2&&(_="0"+_),m.length<2&&(m="0"+m),[g,_,m].join("-")}const l=fe(()=>new Date(e.value)<new Date),s=fe(()=>o(r.value)),u=fe(()=>o(i.value)),f=fe(()=>e1(r.value,i.value));function c(){const y=new Date(new Date().getTime()+432e5);e.value=y}function d(){t.value=Im,n.value=Mm,r.value=xm(),i.value=Rm(),a.value=Dm,c()}return{fromDate:s,toDate:u,expiryDate:e,adults:t,children:n,arrivalDate:r,departureDate:i,location:a,isExpired:l,nights:f,setNewExpiryDate:c,reset:d}});function ld(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fm(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function sd(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Fm(Object(n),!0).forEach(function(r){ld(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fm(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var Nw=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new Promise(function(r,i){if(!(typeof document>"u")){var a=document.head||document.getElementsByTagName("head")[0],o=document.createElement("script");if(o.async=!0,o.src=t,o.defer=n.defer,n.preconnectOrigin){var l=document.createElement("link");l.href=n.preconnectOrigin,l.rel="preconnect",a.appendChild(l)}a.appendChild(o),o.onload=r,o.onerror=i}})},kw=function e(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];if(!r.length)return t;var a=r.shift();if(!(!Po(t)||!Po(a))){for(var o in a)Po(a[o])?(t[o]||Object.assign(t,ld({},o,{})),e(t[o],a[o])):Object.assign(t,ld({},o,a[o]));return e.apply(void 0,[t].concat(r))}},Ll=function(){return!(typeof window>"u"||typeof document>"u")},Hm=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;Ll()},Cw=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Hm('Missing "appName" property inside the plugin options.',t.app_name==null),Hm('Missing "name" property in the route.',t.screen_name==null),t};function Pw(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",n=e.split("/"),r=t.split("/");return n[0]===""&&t[t.length-1]==="/"&&n.shift(),r.join("/")+n.join("/")}var Lw=function(){return{bootstrap:!0,onReady:null,onError:null,onBeforeTrack:null,onAfterTrack:null,pageTrackerTemplate:null,customResourceURL:"https://www.googletagmanager.com/gtag/js",customPreconnectOrigin:"https://www.googletagmanager.com",deferScriptLoad:!1,pageTrackerExcludedRoutes:[],pageTrackerEnabled:!0,enabled:!0,disableScriptLoad:!1,pageTrackerScreenviewEnabled:!1,appName:null,pageTrackerUseFullPath:!1,pageTrackerPrependBase:!0,pageTrackerSkipSamePath:!0,globalDataLayerName:"dataLayer",globalObjectName:"gtag",defaultGroupName:"default",includes:null,config:{id:null,params:{send_page_view:!1}}}},py={},my=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=Lw();py=kw(n,t)},En=function(){return py},ia=function(){var e,t=En(),n=t.globalObjectName;!Ll()||typeof window[n]>"u"||(e=window)[n].apply(e,arguments)},t1=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=En(),i=r.config,a=r.includes;ia.apply(void 0,["config",i.id].concat(t)),Array.isArray(a)&&a.forEach(function(o){ia.apply(void 0,["config",o.id].concat(t))})},jm=function(t,n){Ll()&&(window["ga-disable-".concat(t)]=n)},vy=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,t=En(),n=t.config,r=t.includes;jm(n.id,e),Array.isArray(r)&&r.forEach(function(i){return jm(i.id,e)})},gy=function(){vy(!0)},Iw=function(){vy(!1)},yy,Mw=function(t){yy=t},n1=function(){return yy},Bn=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=En(),r=n.includes,i=n.defaultGroupName;t.send_to==null&&Array.isArray(r)&&r.length&&(t.send_to=r.map(function(a){return a.id}).concat(i)),ia("event",e,t)},by=function(e){if(Ll()){var t;if(typeof e=="string")t={page_path:e};else if(e.path||e.fullPath){var n=En(),r=n.pageTrackerUseFullPath,i=n.pageTrackerPrependBase,a=n1(),o=a&&a.options.base,l=r?e.fullPath:e.path;t=sd(sd({},e.name&&{page_title:e.name}),{},{page_path:i?Pw(l,o):l})}else t=e;t.page_location==null&&(t.page_location=window.location.href),t.send_page_view==null&&(t.send_page_view=!0),Bn("page_view",t)}},_y=function(e){var t=En(),n=t.appName;if(e){var r;typeof e=="string"?r={screen_name:e}:r=e,r.app_name=r.app_name||n,Bn("screen_view",r)}},xw=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];Bn.apply(void 0,["exception"].concat(t))},Rw=function(e){t1("linker",e)},Dw=function(e){Bn("timing_complete",e)},Fw=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];ia.apply(void 0,["set"].concat(t))},Hw=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];Bn.apply(void 0,["refund"].concat(t))},Ey=function(e){Bn("purchase",e)},jw=function(e){t1({custom_map:e})},Vw=Object.freeze({__proto__:null,query:ia,config:t1,optOut:gy,optIn:Iw,pageview:by,screenview:_y,exception:xw,linker:Rw,time:Dw,set:Fw,refund:Hw,purchase:Ey,customMap:jw,event:Bn}),Bw=function(t){t.config.globalProperties.$gtag=Vw},zw=function(){if(Ll()){var e=En(),t=e.enabled,n=e.globalObjectName,r=e.globalDataLayerName;return window[n]==null&&(window[r]=window[r]||[],window[n]=function(){window[r].push(arguments)}),window[n]("js",new Date),t||gy(),window[n]}},Vm=function(t){return sd({send_page_view:!1},t)},wy=function(){var e=En(),t=e.config,n=e.includes;ia("config",t.id,Vm(t.params)),Array.isArray(n)&&n.forEach(function(r){ia("config",r.id,Vm(r.params))})},Bm=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=En(),r=n.appName,i=n.pageTrackerTemplate,a=n.pageTrackerScreenviewEnabled,o=n.pageTrackerSkipSamePath;if(!(o&&e.path===t.path)){var l=e;if(Ae(i)?l=i(e,t):a&&(l=Cw({app_name:r,screen_name:e.name})),a){_y(l);return}by(l)}},zm=function(t){var n=En(),r=n.pageTrackerExcludedRoutes;return r.includes(t.path)||r.includes(t.name)},$w=function(){var e=En(),t=e.onBeforeTrack,n=e.onAfterTrack,r=n1();r.isReady().then(function(){Ht().then(function(){var i=r.currentRoute;wy(),!zm(i.value)&&Bm(i.value)}),r.afterEach(function(i,a){Ht().then(function(){zm(i)||(Ae(t)&&t(i,a),Bm(i,a),Ae(n)&&n(i,a))})})})},Oy=function(){var e=En(),t=e.onReady,n=e.onError,r=e.globalObjectName,i=e.globalDataLayerName,a=e.config,o=e.customResourceURL,l=e.customPreconnectOrigin,s=e.deferScriptLoad,u=e.pageTrackerEnabled,f=e.disableScriptLoad,c=!!(u&&n1());if(zw(),c?$w():wy(),!f)return Nw("".concat(o,"?id=").concat(a.id,"&l=").concat(i),{preconnectOrigin:l,defer:s}).then(function(){t&&t(window[r])}).catch(function(d){return n&&n(d),d})},Uw=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;Bw(t),my(n),Mw(r),En().bootstrap&&Oy()};const Ty=_i("applyGiftCard",()=>{const{display:e}=ao(),{bearerToken:t}=ri(aa()),n=be(0),r=be(""),i=be(""),a=be(""),o=be(!1),l=be(!1);async function s(){r.value!==""?(l.value=!0,await ii.get("https://production.hotel-service.konnectio.dk/api/gift-card/validate",{params:{giftcardCode:r.value,lang:pr()},headers:{Authorization:t.value,Accept:"application/json","Fresh-Booking-Ver":"4.0.37"}}).then(f=>{const{valid:c,amount:d,expirationDate:h,productName:y}=f.data;c?(n.value=d,i.value=h,a.value=y,o.value=!0,e({message:qe.t("alert.success.giftCardApplied"),type:"success"})):(o.value=!1,e({message:qe.t("alert.error.giftCardInvalid"),type:"warning"}))}),l.value=!1):e({message:qe.t("alert.error.giftCardEmpty"),type:"error"})}function u(){n.value=0,r.value="",o.value=!1,e({message:qe.t("alert.success.giftCardRemoved"),type:"success"})}return{amount:n,voucher:r,expirationDate:i,productName:a,isValid:o,isLoading:l,apply:s,reset:u}}),Sy=_i("payment",()=>{const{display:e}=ao(),{paymentGatewayId:t}=ri(aa()),n=be({}),r=fe(()=>t.value!==Ya.None),i=fe(()=>n.value&&n.value.guest?n.value.guest.name:""),a=fe(()=>n.value&&n.value.guest?n.value.guest.email:""),o=fe(()=>n.value&&n.value.guest?n.value.guest.phone:""),l=fe(()=>n.value.adults),s=fe(()=>n.value.children),u=fe(()=>n.value.totalPrice||0),f=fe(()=>n.value.totalVAT||0),c=fe(()=>n.value.offerDate),d=fe(()=>u.value-f.value),h=fe(()=>n.value.orderLinesSummary),y=fe(()=>h.value?h.value.length>0:!1);async function g({callback:_,response:m}){if(!m.error)if(!m.offer)e({message:qe.t("booking.other.errorMessage"),type:"warning"});else if(n.value=m.offer,m.easyPayment)if(_(),t.value===Ya.ReePay){const v=new Reepay.EmbeddedCheckout(m.easyPayment.paymentID,{html_element:"fresh-booking-payment-checkout"});v.addEventHandler(od.Accept,()=>{e({message:qe.t("alert.success.payment"),type:"success"}),_()}),v.addEventHandler(od.Error,()=>{e({message:qe.t("alert.error.payment"),type:"warning"})})}else{const v={checkoutKey:m.easyPayment.checkoutSecretKey,paymentId:m.easyPayment.paymentID,containerId:"fresh-booking-payment-checkout",language:pr()==="da"?"da-DK":"en-GB"},b=new Dibs.Checkout(v);b.on("payment-completed",()=>{console.log("Konnectio: Payment completed!"),e({message:qe.t("alert.success.payment"),type:"success"}),Ey({transaction_id:m.offer.uniqueID,affiliation:"Konnectio Reservation",value:m.offer.totalPrice,tax:m.offer.totalVAT,shipping:0,items:m.offer.rooms.map(p=>({id:String(p.id),name:p.roomName,quantity:1,price:p.totalPrice,start_date:p.arriveDate,end_date:p.leaveDate}))}),_()}),b.on("pay-initialized",()=>{b.send("payment-order-finalized",!0)})}else _(2)}return{offerData:n,hasPaymentGateway:r,name:i,email:a,phone:o,adults:l,children:s,totalPrice:u,totalVAT:f,offerDate:c,subTotalPrice:d,orderSummary:h,hasOrderLines:y,pay:g}}),Ay=_i("hotel",()=>{const e=r1(),t=Sy(),{voucher:n,amount:r}=ri(Ty()),{display:i}=ao(),{adults:a,children:o,arrivalDate:l,departureDate:s,fromDate:u,toDate:f,nights:c,location:d}=ri(vu()),{metaData:h,bearerToken:y,arrivalDefault:g,departureDefault:_,disableArrivalUserSelection:m,disableDepartureUserSelection:v}=ri(aa()),b=aa(),p=be({}),E=fe(()=>{const ke=[];for(const Be in p.value){const Ze=parseInt(Be),Fe=N.value.roomGroups.find(tn=>tn.id===Ze),kt=Fe?.addons,en=Fe?.title||"",Fn={roomGroupID:Ze,title:en,addons:kt};p.value[Ze].forEach(tn=>{const Jn=tn.id,Zn=Fe?.rates.find(Tn=>Tn.id===Jn),vr=[];if(Zn){const{name:Tn,occupantRates:ca}=Zn,Sn={ratePlanID:Jn,name:Tn},Ti=[];tn.config.forEach((Si,lo)=>{const Ai=Si.units,Hr=Si.addons;if(Ai>0)for(let ot=0;ot<Ai;ot++){const fa=ca.find(vt=>vt.index===Si.id);if(!fa)continue;const{adultsCount:da,childrenCount:ha,totalPrice:so}=fa,pa=[];if(kt){for(const vt in Hr[ot]){const Ni=parseInt(vt),ki=Hr[ot][Ni];if(ki>0){const{name:uo,price:ma,quantityStrategy:co}=kt.find(Vt=>Vt.id===Ni);pa.push({addonID:Ni,name:uo,price:ma,quantity:ki,totalPrice:hy(ma,co,c.value,da,ha)*ki})}}Ti.push({configIdx:lo,roomIdx:ot,adultsCount:da,childrenCount:ha,totalPrice:so,roomAddons:pa})}}}),Ti.length>0&&(Sn.rooms=Ti,vr.push(Sn))}vr.length>0&&(Fn.variants=vr)}),Fn.variants&&ke.push(Fn)}return ke}),k=fe(()=>E.value.every(ke=>ke.addons?.length===0)),T=fe(()=>E.value.length>0);function S(ke,Be,Ze){p.value[ke][Be].config[Ze].units=0}const P=fe(()=>{const ke=0-r.value,Be=E.value.flatMap(({variants:Fe})=>Fe).flatMap(({rooms:Fe})=>Fe).reduce((Fe,{totalPrice:kt})=>Fe+kt,ke);return E.value.flatMap(({variants:Fe})=>Fe).flatMap(({rooms:Fe})=>Fe).flatMap(({roomAddons:Fe})=>Fe).reduce((Fe,{totalPrice:kt})=>Fe+kt,Be)}),N=be({}),O=be(!0),w=be(0),C=be(NaN),I=be(NaN),D=be(""),V=be(""),q=be(""),te=Ct("konnectio_name","",void 0,{serializer:Ot.string}),K=Ct("konnectio_nameTitle",2,void 0,{serializer:Ot.number}),H=Ct("konnectio_email","",void 0,{serializer:Ot.string}),M=Ct("konnectio_phone","",void 0,{serializer:Ot.string}),j=Ct("konnectio_company","",void 0,{serializer:Ot.string}),z=Ct("konnectio_postal","",void 0,{serializer:Ot.string}),Q=Ct("konnectio_city","",void 0,{serializer:Ot.string}),X=Ct("konnectio_country",57,void 0,{serializer:Ot.number}),F=Ct("konnectio_address","",void 0,{serializer:Ot.string}),J=be(""),ae=be(""),Z=be(!1),se=be(!1),he=()=>b.metaData.hotels.findIndex(ke=>ke.id===d.value),B=fe(()=>b.metaData.hotels[he()]),L=fe(()=>b.metaData.hotels&&b.metaData.hotels.length>1),x=fe(()=>b.metaData.hotels?b.metaData.hotels.flatMap(ke=>({value:ke.id,label:ke.name})):[]),$=fe(()=>B.value.termsOfService),ee=fe(()=>B.value.country?B.value.country.name:""),le=fe(()=>b.metaData.countries?b.metaData.countries:[]),U=fe(()=>B.value.name?B.value.name:""),W=fe(()=>b.metaData&&Object.keys(b.metaData).length!==0),re=fe(()=>Object.keys(N.value).length!==0),ie=fe(()=>!(!te.value[1]||!H.value||!(M.value.length>=5)||!z.value||!Q.value||!F.value)),oe=fe(()=>w.value===1&&O.value),ce=fe(()=>w.value===3&&O.value),G=fe(()=>{if(N.value.templates)return N.value.templates.find(ke=>ke.id===C.value)});function ne(ke){if(G.value)return G.value.roomGroups.find(Be=>Be.roomGroupID===ke)}const pe=fe(()=>{if(G.value)return G.value.roomGroups.find(ke=>ke.roomGroupID===I.value)});function ge(ke){return N.value.roomGroups.find(Be=>Be.roomGroupID===ke)}function ve(ke){let Be="";const Ze=N.value.roomGroups.find(Fe=>Fe.roomGroupId===ke);return Ze&&Ze.name&&(Be=Ze.name),Be}function De(ke,Be){return`[REMARKS]: ${J.value} \r
42
+ `):" "+Am(a[0]):"as no adapter specified";throw new je("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return r},adapters:rd};function of(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Pl(null,e)}function Nm(e){return of(e),e.headers=kr.from(e.headers),e.data=af.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),ry.getAdapter(e.adapter||Jh.adapter)(e).then(function(r){return of(e),r.data=af.call(e,e.transformResponse,r),r.headers=kr.from(r.headers),r},function(r){return ty(r)||(of(e),r&&r.response&&(r.response.data=af.call(e,e.transformResponse,r.response),r.response.headers=kr.from(r.response.headers))),Promise.reject(r)})}const km=e=>e instanceof kr?e.toJSON():e;function Ga(e,t){t=t||{};const n={};function r(u,f,c){return de.isPlainObject(u)&&de.isPlainObject(f)?de.merge.call({caseless:c},u,f):de.isPlainObject(f)?de.merge({},f):de.isArray(f)?f.slice():f}function i(u,f,c){if(de.isUndefined(f)){if(!de.isUndefined(u))return r(void 0,u,c)}else return r(u,f,c)}function a(u,f){if(!de.isUndefined(f))return r(void 0,f)}function o(u,f){if(de.isUndefined(f)){if(!de.isUndefined(u))return r(void 0,u)}else return r(void 0,f)}function l(u,f,c){if(c in t)return r(u,f);if(c in e)return r(void 0,u)}const s={url:a,method:a,data:a,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:l,headers:(u,f)=>i(km(u),km(f),!0)};return de.forEach(Object.keys(Object.assign({},e,t)),function(f){const c=s[f]||i,d=c(e[f],t[f],f);de.isUndefined(d)&&c!==l||(n[f]=d)}),n}const iy="1.6.2",Zh={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Zh[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Cm={};Zh.transitional=function(t,n,r){function i(a,o){return"[Axios v"+iy+"] Transitional option '"+a+"'"+o+(r?". "+r:"")}return(a,o,l)=>{if(t===!1)throw new je(i(o," has been removed"+(n?" in "+n:"")),je.ERR_DEPRECATED);return n&&!Cm[o]&&(Cm[o]=!0,console.warn(i(o," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(a,o,l):!0}};function uw(e,t,n){if(typeof e!="object")throw new je("options must be an object",je.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const a=r[i],o=t[a];if(o){const l=e[a],s=l===void 0||o(l,a,e);if(s!==!0)throw new je("option "+a+" must be "+s,je.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new je("Unknown option "+a,je.ERR_BAD_OPTION)}}const id={assertOptions:uw,validators:Zh},qr=id.validators;class mu{constructor(t){this.defaults=t,this.interceptors={request:new Om,response:new Om}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Ga(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:a}=n;r!==void 0&&id.assertOptions(r,{silentJSONParsing:qr.transitional(qr.boolean),forcedJSONParsing:qr.transitional(qr.boolean),clarifyTimeoutError:qr.transitional(qr.boolean)},!1),i!=null&&(de.isFunction(i)?n.paramsSerializer={serialize:i}:id.assertOptions(i,{encode:qr.function,serialize:qr.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o=a&&de.merge(a.common,a[n.method]);a&&de.forEach(["delete","get","head","post","put","patch","common"],y=>{delete a[y]}),n.headers=kr.concat(o,a);const l=[];let s=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(n)===!1||(s=s&&g.synchronous,l.unshift(g.fulfilled,g.rejected))});const u=[];this.interceptors.response.forEach(function(g){u.push(g.fulfilled,g.rejected)});let f,c=0,d;if(!s){const y=[Nm.bind(this),void 0];for(y.unshift.apply(y,l),y.push.apply(y,u),d=y.length,f=Promise.resolve(n);c<d;)f=f.then(y[c++],y[c++]);return f}d=l.length;let h=n;for(c=0;c<d;){const y=l[c++],g=l[c++];try{h=y(h)}catch(_){g.call(this,_);break}}try{f=Nm.call(this,h)}catch(y){return Promise.reject(y)}for(c=0,d=u.length;c<d;)f=f.then(u[c++],u[c++]);return f}getUri(t){t=Ga(this.defaults,t);const n=ny(t.baseURL,t.url);return Jg(n,t.params,t.paramsSerializer)}}de.forEach(["delete","get","head","options"],function(t){mu.prototype[t]=function(n,r){return this.request(Ga(r||{},{method:t,url:n,data:(r||{}).data}))}});de.forEach(["post","put","patch"],function(t){function n(r){return function(a,o,l){return this.request(Ga(l||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:a,data:o}))}}mu.prototype[t]=n(),mu.prototype[t+"Form"]=n(!0)});const Fs=mu;class Qh{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(a){n=a});const r=this;this.promise.then(i=>{if(!r._listeners)return;let a=r._listeners.length;for(;a-- >0;)r._listeners[a](i);r._listeners=null}),this.promise.then=i=>{let a;const o=new Promise(l=>{r.subscribe(l),a=l}).then(i);return o.cancel=function(){r.unsubscribe(a)},o},t(function(a,o,l){r.reason||(r.reason=new Pl(a,o,l),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new Qh(function(i){t=i}),cancel:t}}}const cw=Qh;function fw(e){return function(n){return e.apply(null,n)}}function dw(e){return de.isObject(e)&&e.isAxiosError===!0}const ad={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(ad).forEach(([e,t])=>{ad[t]=e});const hw=ad;function ay(e){const t=new Fs(e),n=jg(Fs.prototype.request,t);return de.extend(n,Fs.prototype,t,{allOwnKeys:!0}),de.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return ay(Ga(e,i))},n}const Et=ay(Jh);Et.Axios=Fs;Et.CanceledError=Pl;Et.CancelToken=cw;Et.isCancel=ty;Et.VERSION=iy;Et.toFormData=cc;Et.AxiosError=je;Et.Cancel=Et.CanceledError;Et.all=function(t){return Promise.all(t)};Et.spread=fw;Et.isAxiosError=dw;Et.mergeConfig=Ga;Et.AxiosHeaders=kr;Et.formToJSON=e=>ey(de.isHTMLForm(e)?new FormData(e):e);Et.getAdapter=ry.getAdapter;Et.HttpStatusCode=hw;Et.default=Et;const ii=Et,ao=_i("alert",()=>{const e=be(""),t=be("default"),n=be("NotActive"),r=be(NaN),i=be("global");function a({message:o,type:l="default"}){e.value=o,t.value=l,n.value!=="NotActive"?(n.value="KeepActive",clearTimeout(r.value),r.value=window.setTimeout(()=>{n.value="NotActive"},4e3)):(n.value="StartActive",r.value=window.setTimeout(()=>{n.value="NotActive"},4e3))}return{message:e,type:t,status:n,timer:r,domain:i,display:a}}),oy="en",pw=document.documentElement.lang.slice(0,2)||oy,ly=B7({warnHtmlMessage:!1,fallbackRootWithEmptyString:!1,silentTranslationWarn:!0,allowComposition:!0,legacy:!1,globalInjection:!0,locale:pw,fallbackLocale:oy}),qe=ly.global;function mw(e){for(const t in e)qe.setLocaleMessage(t,e[t])}var od=(e=>(e[e.Accept=0]="Accept",e[e.Error=1]="Error",e[e.Cancel=2]="Cancel",e[e.Close=3]="Close",e[e.Open=4]="Open",e[e.CheckResult=5]="CheckResult",e))(od||{}),Pt=(e=>(e[e.Invalid=0]="Invalid",e[e.PerUnit=1]="PerUnit",e[e.PerPerson=2]="PerPerson",e[e.PerAdult=3]="PerAdult",e[e.PerChild=4]="PerChild",e[e.PerNight=5]="PerNight",e[e.PerPersonPerNight=6]="PerPersonPerNight",e[e.PerAdultPerNight=7]="PerAdultPerNight",e[e.PerChildPerNight=8]="PerChildPerNight",e[e.Consumption=9]="Consumption",e[e.EarlyCheckIn=10]="EarlyCheckIn",e[e.EarlyCheckOut=11]="EarlyCheckOut",e[e.OneTimePayment=12]="OneTimePayment",e))(Pt||{}),Ya=(e=>(e[e.None=0]="None",e[e.AskForCreditCard=2]="AskForCreditCard",e[e.Stripe=18]="Stripe",e[e.DIBS=47]="DIBS",e[e.EasyPay=56]="EasyPay",e[e.ReePay=57]="ReePay",e))(Ya||{}),sy=(e=>(e.Selective="selective",e.Wholesale="wholesale",e.Simplified="simplified",e.Template="template",e.Event="event",e))(sy||{}),uy=(e=>(e.Default="default",e.Minimal="minimal",e))(uy||{}),cy=(e=>(e[e.InitialState=0]="InitialState",e[e.WaitingForResponse=1]="WaitingForResponse",e[e.ReadyToPay=2]="ReadyToPay",e[e.PaymentSuccess=3]="PaymentSuccess",e))(cy||{}),fy=(e=>(e[e.None=0]="None",e[e.Hourly=1]="Hourly",e[e.FullDayEvent=2]="FullDayEvent",e[e.Weekly=3]="Weekly",e))(fy||{}),dy=(e=>(e[e.InitialState=0]="InitialState",e[e.AvailabilityState=1]="AvailabilityState",e[e.ReservationState=2]="ReservationState",e[e.PaymentState=3]="PaymentState",e))(dy||{});function vw(e){switch(e){case Pt.PerUnit:return qe.t("general.perUnit");case Pt.PerPerson:return qe.t("general.perPerson");case Pt.PerAdult:return qe.t("general.perAdult");case Pt.PerChild:return qe.t("general.perChild");case Pt.PerNight:return qe.t("general.perNight");case Pt.PerPersonPerNight:return qe.t("general.perPersonPerNight");case Pt.PerAdultPerNight:return qe.t("general.perAdultPerNight");case Pt.PerChildPerNight:return qe.t("general.perChildPerNight")}}function hy(e,t,n,r=0,i=0){switch(t){case Pt.PerUnit:return e;case Pt.PerPerson:return e*(r+i);case Pt.PerAdult:return e*r;case Pt.PerChild:return e*i;case Pt.PerNight:return e*n;case Pt.PerPersonPerNight:return e*(r+i)*n;case Pt.PerAdultPerNight:return e*r*n;case Pt.PerChildPerNight:return e*i*n;case Pt.OneTimePayment:return e;default:return e}}function Pm(e){return e===void 0?e:e.replace(/([!?.])([a-z])/g,function(t,n,r){return r.toUpperCase()})}function gw(e){if(e!==void 0){const t=new RegExp("\\n","g");return e.replace(t,"<br>")}else return""}function Lm(e){switch(e){case 2:return qe.t("booking.reservation.nameTitleMr");case 3:return qe.t("booking.reservation.nameTitleMs");case 4:return qe.t("booking.reservation.nameTitleMrs");case 5:return qe.t("booking.reservation.nameTitleDr");default:return""}}function yw(e){let t,n,r,i,a,o,l,s,u,f=0,c=0,d="";const h="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",y=[];if(!e)return e;do t=e.charCodeAt(f++),n=e.charCodeAt(f++),r=e.charCodeAt(f++),s=t<<16|n<<8|r,i=63&s>>18,a=63&s>>12,o=63&s>>6,l=63&s,y[c++]=h.charAt(i)+h.charAt(a)+h.charAt(o)+h.charAt(l);while(f<e.length);return d=y.join(""),u=e.length%3,(u?d.slice(0,u-3):d)+"===".slice(u||3)}function bw(e){return e.toLowerCase()}function _w(e){return new Date(e).toISOString()}function e1(e,t){const n=new Date(e),r=new Date(t),i=r.getTime()-n.getTime();return Math.round(i/(1e3*60*60*24))}function pr(e=!1){return e?document.documentElement.lang||"en-US":document.documentElement.lang.slice(0,2)||"en"}function dc(e=10){const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=t.length;let r="";for(let i=0;i<e;i++)r+=t.charAt(Math.floor(Math.random()*n));return r}function Hs(e,t=0){let n=new Date(e);n=new Date(n.setDate(n.getDate()+t));let r;switch(pr()){case"da":case"se":r={0:"jan",1:"feb",2:"mar",3:"apr",4:"maj",5:"jun",6:"jul",7:"aug",8:"sep",9:"okt",10:"nov",11:"dec"};break;case"no":r={0:"jan",1:"feb",2:"mar",3:"apr",4:"mai",5:"jun",6:"jul",7:"aug",8:"sep",9:"okt",10:"nov",11:"des"};break;case"de":r={0:"jan",1:"feb",2:"mär",3:"apr",4:"mai",5:"jun",6:"jul",7:"aug",8:"sep",9:"okt",10:"nov",11:"dez"};break;case"fi":r={0:"tam",1:"hel",2:"maa",3:"huh",4:"tou",5:"kes",6:"hei",7:"elo",8:"syy",9:"lok",10:"mar",11:"jou"};break;case"fr":r={0:"jan",1:"feb",2:"mar",3:"apr",4:"mai",5:"jun",6:"jui",7:"aoû",8:"sep",9:"okt",10:"nov",11:"dec"};break;case"it":r={0:"gen",1:"feb",2:"mar",3:"apr",4:"mag",5:"giu",6:"lug",7:"ago",8:"set",9:"ott",10:"nov",11:"dic"};break;default:r={0:"Jan",1:"Feb",2:"Mar",3:"Apr",4:"May",5:"Jun",6:"Jul",7:"Aug",8:"Sep",9:"Oct",10:"Nov",11:"Dec"};break}return`${n.getDate()} ${r[n.getMonth()]} ${n.getFullYear()}`}function Ew(e){const t=e.sort();for(let n=1;n<t.length;n++)if(t[n]!=t[n-1]+1)return!1;return!0}function ww(e){let t=e;const n=[6,7],r=e.split(",").map(Number);let i;switch(pr()){case"da":i={1:"Man",2:"Tir",3:"Ons",4:"Tor",5:"Fre",6:"Lør",7:"Søn"};break;default:i={1:"Mon",2:"Tue",3:"Wed",4:"Thu",5:"Fri",6:"Sat",7:"Sun"};break}return r.length===7?t=qe.t("general.everyday"):n.some(a=>r.includes(a))?t=qe.t("general.weekends"):Ew(r)&&r.length>1?t=`${i[r[0]]} - ${i[r[r.length-1]]}`:t="-",t}function Ow(e,t,n=!1){if(n){const r=e.split("-");e=`${r[1]}-${r[0]}-${r[2]}`;const i=t.split("-");t=`${i[1]}-${i[0]}-${i[2]}`}return e===t?`${Hs(e)}}`:`${Hs(e)} - ${Hs(t)}`}function js(e){let t=e;const n=e.split(":");return n[2]&&(t=`${n[0]}:${n[1]}`),t}function Tw(e,t){return e===t?js(e):`${js(e)} - ${js(t)}`}function Sw(e,t){return new Intl.NumberFormat(pr(!0),{style:"currency",currency:t}).format(e)}function Aw(e){return e?e.charAt(0).toUpperCase()+e.slice(1):""}const Im=2,Mm=0,xm=()=>new Date(new Date(new Date().setDate(new Date().getDate()+1)).setHours(12,0,0,0)),Rm=()=>new Date(new Date(new Date().setDate(new Date().getDate()+2)).setHours(12,0,0,0)),Dm=NaN,vu=_i("availability",()=>{const e=Ct("konnectio_expiry_date",new Date,void 0,{serializer:Ot.date}),t=Ct("konnectio_adults",Im,void 0,{serializer:Ot.number}),n=Ct("konnectio_children",Mm,void 0,{serializer:Ot.number}),r=Ct("konnectio_arrival_date",xm(),void 0,{serializer:Ot.date}),i=Ct("konnectio_departure_date",Rm(),void 0,{serializer:Ot.date}),a=Ct("konnectio_location",Dm,void 0,{serializer:Ot.number});function o(h){const y=new Date(h),g=""+y.getFullYear();let _=""+(y.getMonth()+1),m=""+y.getDate();return _.length<2&&(_="0"+_),m.length<2&&(m="0"+m),[g,_,m].join("-")}const l=fe(()=>new Date(e.value)<new Date),s=fe(()=>o(r.value)),u=fe(()=>o(i.value)),f=fe(()=>e1(r.value,i.value));function c(){const y=new Date(new Date().getTime()+432e5);e.value=y}function d(){t.value=Im,n.value=Mm,r.value=xm(),i.value=Rm(),a.value=Dm,c()}return{fromDate:s,toDate:u,expiryDate:e,adults:t,children:n,arrivalDate:r,departureDate:i,location:a,isExpired:l,nights:f,setNewExpiryDate:c,reset:d}});function ld(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fm(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function sd(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Fm(Object(n),!0).forEach(function(r){ld(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fm(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var Nw=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new Promise(function(r,i){if(!(typeof document>"u")){var a=document.head||document.getElementsByTagName("head")[0],o=document.createElement("script");if(o.async=!0,o.src=t,o.defer=n.defer,n.preconnectOrigin){var l=document.createElement("link");l.href=n.preconnectOrigin,l.rel="preconnect",a.appendChild(l)}a.appendChild(o),o.onload=r,o.onerror=i}})},kw=function e(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];if(!r.length)return t;var a=r.shift();if(!(!Po(t)||!Po(a))){for(var o in a)Po(a[o])?(t[o]||Object.assign(t,ld({},o,{})),e(t[o],a[o])):Object.assign(t,ld({},o,a[o]));return e.apply(void 0,[t].concat(r))}},Ll=function(){return!(typeof window>"u"||typeof document>"u")},Hm=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;Ll()},Cw=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Hm('Missing "appName" property inside the plugin options.',t.app_name==null),Hm('Missing "name" property in the route.',t.screen_name==null),t};function Pw(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",n=e.split("/"),r=t.split("/");return n[0]===""&&t[t.length-1]==="/"&&n.shift(),r.join("/")+n.join("/")}var Lw=function(){return{bootstrap:!0,onReady:null,onError:null,onBeforeTrack:null,onAfterTrack:null,pageTrackerTemplate:null,customResourceURL:"https://www.googletagmanager.com/gtag/js",customPreconnectOrigin:"https://www.googletagmanager.com",deferScriptLoad:!1,pageTrackerExcludedRoutes:[],pageTrackerEnabled:!0,enabled:!0,disableScriptLoad:!1,pageTrackerScreenviewEnabled:!1,appName:null,pageTrackerUseFullPath:!1,pageTrackerPrependBase:!0,pageTrackerSkipSamePath:!0,globalDataLayerName:"dataLayer",globalObjectName:"gtag",defaultGroupName:"default",includes:null,config:{id:null,params:{send_page_view:!1}}}},py={},my=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=Lw();py=kw(n,t)},En=function(){return py},ia=function(){var e,t=En(),n=t.globalObjectName;!Ll()||typeof window[n]>"u"||(e=window)[n].apply(e,arguments)},t1=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=En(),i=r.config,a=r.includes;ia.apply(void 0,["config",i.id].concat(t)),Array.isArray(a)&&a.forEach(function(o){ia.apply(void 0,["config",o.id].concat(t))})},jm=function(t,n){Ll()&&(window["ga-disable-".concat(t)]=n)},vy=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,t=En(),n=t.config,r=t.includes;jm(n.id,e),Array.isArray(r)&&r.forEach(function(i){return jm(i.id,e)})},gy=function(){vy(!0)},Iw=function(){vy(!1)},yy,Mw=function(t){yy=t},n1=function(){return yy},Bn=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=En(),r=n.includes,i=n.defaultGroupName;t.send_to==null&&Array.isArray(r)&&r.length&&(t.send_to=r.map(function(a){return a.id}).concat(i)),ia("event",e,t)},by=function(e){if(Ll()){var t;if(typeof e=="string")t={page_path:e};else if(e.path||e.fullPath){var n=En(),r=n.pageTrackerUseFullPath,i=n.pageTrackerPrependBase,a=n1(),o=a&&a.options.base,l=r?e.fullPath:e.path;t=sd(sd({},e.name&&{page_title:e.name}),{},{page_path:i?Pw(l,o):l})}else t=e;t.page_location==null&&(t.page_location=window.location.href),t.send_page_view==null&&(t.send_page_view=!0),Bn("page_view",t)}},_y=function(e){var t=En(),n=t.appName;if(e){var r;typeof e=="string"?r={screen_name:e}:r=e,r.app_name=r.app_name||n,Bn("screen_view",r)}},xw=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];Bn.apply(void 0,["exception"].concat(t))},Rw=function(e){t1("linker",e)},Dw=function(e){Bn("timing_complete",e)},Fw=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];ia.apply(void 0,["set"].concat(t))},Hw=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];Bn.apply(void 0,["refund"].concat(t))},Ey=function(e){Bn("purchase",e)},jw=function(e){t1({custom_map:e})},Vw=Object.freeze({__proto__:null,query:ia,config:t1,optOut:gy,optIn:Iw,pageview:by,screenview:_y,exception:xw,linker:Rw,time:Dw,set:Fw,refund:Hw,purchase:Ey,customMap:jw,event:Bn}),Bw=function(t){t.config.globalProperties.$gtag=Vw},zw=function(){if(Ll()){var e=En(),t=e.enabled,n=e.globalObjectName,r=e.globalDataLayerName;return window[n]==null&&(window[r]=window[r]||[],window[n]=function(){window[r].push(arguments)}),window[n]("js",new Date),t||gy(),window[n]}},Vm=function(t){return sd({send_page_view:!1},t)},wy=function(){var e=En(),t=e.config,n=e.includes;ia("config",t.id,Vm(t.params)),Array.isArray(n)&&n.forEach(function(r){ia("config",r.id,Vm(r.params))})},Bm=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=En(),r=n.appName,i=n.pageTrackerTemplate,a=n.pageTrackerScreenviewEnabled,o=n.pageTrackerSkipSamePath;if(!(o&&e.path===t.path)){var l=e;if(Ae(i)?l=i(e,t):a&&(l=Cw({app_name:r,screen_name:e.name})),a){_y(l);return}by(l)}},zm=function(t){var n=En(),r=n.pageTrackerExcludedRoutes;return r.includes(t.path)||r.includes(t.name)},$w=function(){var e=En(),t=e.onBeforeTrack,n=e.onAfterTrack,r=n1();r.isReady().then(function(){Ht().then(function(){var i=r.currentRoute;wy(),!zm(i.value)&&Bm(i.value)}),r.afterEach(function(i,a){Ht().then(function(){zm(i)||(Ae(t)&&t(i,a),Bm(i,a),Ae(n)&&n(i,a))})})})},Oy=function(){var e=En(),t=e.onReady,n=e.onError,r=e.globalObjectName,i=e.globalDataLayerName,a=e.config,o=e.customResourceURL,l=e.customPreconnectOrigin,s=e.deferScriptLoad,u=e.pageTrackerEnabled,f=e.disableScriptLoad,c=!!(u&&n1());if(zw(),c?$w():wy(),!f)return Nw("".concat(o,"?id=").concat(a.id,"&l=").concat(i),{preconnectOrigin:l,defer:s}).then(function(){t&&t(window[r])}).catch(function(d){return n&&n(d),d})},Uw=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;Bw(t),my(n),Mw(r),En().bootstrap&&Oy()};const Ty=_i("applyGiftCard",()=>{const{display:e}=ao(),{bearerToken:t}=ri(aa()),n=be(0),r=be(""),i=be(""),a=be(""),o=be(!1),l=be(!1);async function s(){r.value!==""?(l.value=!0,await ii.get("https://production.hotel-service.konnectio.dk/api/gift-card/validate",{params:{giftcardCode:r.value,lang:pr()},headers:{Authorization:t.value,Accept:"application/json","Fresh-Booking-Ver":"4.0.38"}}).then(f=>{const{valid:c,amount:d,expirationDate:h,productName:y}=f.data;c?(n.value=d,i.value=h,a.value=y,o.value=!0,e({message:qe.t("alert.success.giftCardApplied"),type:"success"})):(o.value=!1,e({message:qe.t("alert.error.giftCardInvalid"),type:"warning"}))}),l.value=!1):e({message:qe.t("alert.error.giftCardEmpty"),type:"error"})}function u(){n.value=0,r.value="",o.value=!1,e({message:qe.t("alert.success.giftCardRemoved"),type:"success"})}return{amount:n,voucher:r,expirationDate:i,productName:a,isValid:o,isLoading:l,apply:s,reset:u}}),Sy=_i("payment",()=>{const{display:e}=ao(),{paymentGatewayId:t}=ri(aa()),n=be({}),r=fe(()=>t.value!==Ya.None),i=fe(()=>n.value&&n.value.guest?n.value.guest.name:""),a=fe(()=>n.value&&n.value.guest?n.value.guest.email:""),o=fe(()=>n.value&&n.value.guest?n.value.guest.phone:""),l=fe(()=>n.value.adults),s=fe(()=>n.value.children),u=fe(()=>n.value.totalPrice||0),f=fe(()=>n.value.totalVAT||0),c=fe(()=>n.value.offerDate),d=fe(()=>u.value-f.value),h=fe(()=>n.value.orderLinesSummary),y=fe(()=>h.value?h.value.length>0:!1);async function g({callback:_,response:m}){if(!m.error)if(!m.offer)e({message:qe.t("booking.other.errorMessage"),type:"warning"});else if(n.value=m.offer,m.easyPayment)if(_(),t.value===Ya.ReePay){const v=new Reepay.EmbeddedCheckout(m.easyPayment.paymentID,{html_element:"fresh-booking-payment-checkout"});v.addEventHandler(od.Accept,()=>{e({message:qe.t("alert.success.payment"),type:"success"}),_()}),v.addEventHandler(od.Error,()=>{e({message:qe.t("alert.error.payment"),type:"warning"})})}else{const v={checkoutKey:m.easyPayment.checkoutSecretKey,paymentId:m.easyPayment.paymentID,containerId:"fresh-booking-payment-checkout",language:pr()==="da"?"da-DK":"en-GB"},b=new Dibs.Checkout(v);b.on("payment-completed",()=>{console.log("Konnectio: Payment completed!"),e({message:qe.t("alert.success.payment"),type:"success"}),Ey({transaction_id:m.offer.uniqueID,affiliation:"Konnectio Reservation",value:m.offer.totalPrice,tax:m.offer.totalVAT,shipping:0,items:m.offer.rooms.map(p=>({id:String(p.id),name:p.roomName,quantity:1,price:p.totalPrice,start_date:p.arriveDate,end_date:p.leaveDate}))}),_()}),b.on("pay-initialized",()=>{b.send("payment-order-finalized",!0)})}else _(2)}return{offerData:n,hasPaymentGateway:r,name:i,email:a,phone:o,adults:l,children:s,totalPrice:u,totalVAT:f,offerDate:c,subTotalPrice:d,orderSummary:h,hasOrderLines:y,pay:g}}),Ay=_i("hotel",()=>{const e=r1(),t=Sy(),{voucher:n,amount:r}=ri(Ty()),{display:i}=ao(),{adults:a,children:o,arrivalDate:l,departureDate:s,fromDate:u,toDate:f,nights:c,location:d}=ri(vu()),{metaData:h,bearerToken:y,arrivalDefault:g,departureDefault:_,disableArrivalUserSelection:m,disableDepartureUserSelection:v}=ri(aa()),b=aa(),p=be({}),E=fe(()=>{const ke=[];for(const Be in p.value){const Ze=parseInt(Be),Fe=N.value.roomGroups.find(tn=>tn.id===Ze),kt=Fe?.addons,en=Fe?.title||"",Fn={roomGroupID:Ze,title:en,addons:kt};p.value[Ze].forEach(tn=>{const Jn=tn.id,Zn=Fe?.rates.find(Tn=>Tn.id===Jn),vr=[];if(Zn){const{name:Tn,occupantRates:ca}=Zn,Sn={ratePlanID:Jn,name:Tn},Ti=[];tn.config.forEach((Si,lo)=>{const Ai=Si.units,Hr=Si.addons;if(Ai>0)for(let ot=0;ot<Ai;ot++){const fa=ca.find(vt=>vt.index===Si.id);if(!fa)continue;const{adultsCount:da,childrenCount:ha,totalPrice:so}=fa,pa=[];if(kt){for(const vt in Hr[ot]){const Ni=parseInt(vt),ki=Hr[ot][Ni];if(ki>0){const{name:uo,price:ma,quantityStrategy:co}=kt.find(Vt=>Vt.id===Ni);pa.push({addonID:Ni,name:uo,price:ma,quantity:ki,totalPrice:hy(ma,co,c.value,da,ha)*ki})}}Ti.push({configIdx:lo,roomIdx:ot,adultsCount:da,childrenCount:ha,totalPrice:so,roomAddons:pa})}}}),Ti.length>0&&(Sn.rooms=Ti,vr.push(Sn))}vr.length>0&&(Fn.variants=vr)}),Fn.variants&&ke.push(Fn)}return ke}),k=fe(()=>E.value.every(ke=>ke.addons?.length===0)),T=fe(()=>E.value.length>0);function S(ke,Be,Ze){p.value[ke][Be].config[Ze].units=0}const P=fe(()=>{const ke=0-r.value,Be=E.value.flatMap(({variants:Fe})=>Fe).flatMap(({rooms:Fe})=>Fe).reduce((Fe,{totalPrice:kt})=>Fe+kt,ke);return E.value.flatMap(({variants:Fe})=>Fe).flatMap(({rooms:Fe})=>Fe).flatMap(({roomAddons:Fe})=>Fe).reduce((Fe,{totalPrice:kt})=>Fe+kt,Be)}),N=be({}),O=be(!0),w=be(0),C=be(NaN),I=be(NaN),D=be(""),V=be(""),U=be(""),te=Ct("konnectio_name","",void 0,{serializer:Ot.string}),K=Ct("konnectio_nameTitle",2,void 0,{serializer:Ot.number}),H=Ct("konnectio_email","",void 0,{serializer:Ot.string}),M=Ct("konnectio_phone","",void 0,{serializer:Ot.string}),j=Ct("konnectio_company","",void 0,{serializer:Ot.string}),z=Ct("konnectio_postal","",void 0,{serializer:Ot.string}),Z=Ct("konnectio_city","",void 0,{serializer:Ot.string}),X=Ct("konnectio_country",57,void 0,{serializer:Ot.number}),F=Ct("konnectio_address","",void 0,{serializer:Ot.string}),J=be(""),ae=be(""),Q=be(!1),se=be(!1),he=()=>b.metaData.hotels.findIndex(ke=>ke.id===d.value),B=fe(()=>b.metaData.hotels[he()]),L=fe(()=>b.metaData.hotels&&b.metaData.hotels.length>1),x=fe(()=>b.metaData.hotels?b.metaData.hotels.flatMap(ke=>({value:ke.id,label:ke.name})):[]),$=fe(()=>B.value.termsOfService),ee=fe(()=>B.value.country?B.value.country.name:""),le=fe(()=>b.metaData.countries?b.metaData.countries:[]),q=fe(()=>B.value.name?B.value.name:""),W=fe(()=>b.metaData&&Object.keys(b.metaData).length!==0),ne=fe(()=>Object.keys(N.value).length!==0),ie=fe(()=>!(!te.value[1]||!H.value||!(M.value.length>=5)||!z.value||!Z.value||!F.value)),oe=fe(()=>w.value===1&&O.value),ce=fe(()=>w.value===3&&O.value),G=fe(()=>{if(N.value.templates)return N.value.templates.find(ke=>ke.id===C.value)});function re(ke){if(G.value)return G.value.roomGroups.find(Be=>Be.roomGroupID===ke)}const pe=fe(()=>{if(G.value)return G.value.roomGroups.find(ke=>ke.roomGroupID===I.value)});function ge(ke){return N.value.roomGroups.find(Be=>Be.roomGroupID===ke)}function ve(ke){let Be="";const Ze=N.value.roomGroups.find(Fe=>Fe.roomGroupId===ke);return Ze&&Ze.name&&(Be=Ze.name),Be}function De(ke,Be){return`[REMARKS]: ${J.value} \r
43
43
  [ALLERGIES]: ${ae.value} \r
44
44
  [REQUESTED ARRIVAL]: ${ke} \r
45
- [REQUESTED DEPARTURE]: ${Be}`}function Te(ke,Be,Ze,Fe){const en=(Be?Ze:Fe?V.value:q.value).split(":");return _w(new Date(ke).setUTCHours(parseInt(en[0]),parseInt(en[1]),0,0))}function it(ke){return e1(l.value,s.value)*ke}async function Yn(){try{const ke=(await ii.get("https://production.hotel-service.konnectio.dk/api/hotel/metadata",{params:{language:pr()},headers:{Authorization:y.value,Accept:"application/json","Fresh-Booking-Ver":"4.0.37"}})).data;h.value=ke}catch{i({message:qe.t("alert.error.couldntFetchMetadata"),type:"warning"})}}async function On(){w.value=1,O.value=!0;let ke=d.value;isNaN(ke)&&(ke=null);try{const Be=await ii.get("https://production.hotel-service.konnectio.dk/api/hotel/availability",{params:{fromDate:l.value,toDate:s.value,adultsCount:a.value,childrenCount:o.value,language:pr(),hotelId:ke},headers:{Authorization:y.value,Accept:"application/json","Fresh-Booking-Ver":"4.0.37"}});Be.status!==200?i({message:`${qe.t("booking.other.errorMessage")} (HTTP: ${Be.status})`,type:"warning"}):(N.value=Be.data,e.viewItemList())}catch{i({message:qe.t("alert.error.couldntFetchListings"),type:"warning"})}O.value=!1}async function Xn(ke){w.value=3,O.value=!0;const Be=[];isNaN(C.value)?E.value.forEach(({variants:Fe,roomGroupID:kt})=>{Fe?.forEach(({rooms:en,ratePlanID:Fn})=>{en?.forEach(({adultsCount:tn,childrenCount:Jn,roomAddons:Zn})=>{Be.push({roomGroupID:kt,ratePlanID:Fn,adultsCount:tn,childrenCount:Jn,guest:{name:te.value,phone:M.value,email:H.value},roomAddons:Zn})})})}):Be.push({templateID:C.value,roomGroupID:I.value,ratePlanID:null,adultsCount:a.value,childrenCount:o.value,guest:{title:Lm(K.value),guestID:0,name:te.value,email:H.value,phone:M.value,newsmails:Z.value}});let Ze=d.value;isNaN(Ze)&&(Ze=null),await ii.post("https://production.hotel-service.konnectio.dk/api/hotel/create-reservation",{fromDate:u.value,toDate:f.value,hotelId:Ze,guest:{travellingFor:D.value,title:Lm(K.value),guestID:0,name:te.value,email:H.value,firmName:j.value,phone:M.value,country:X.value,address1:F.value,postal:String(z.value),city:Q.value,newsmails:Z.value},giftCardCode:n.value,selectedRooms:Be,remark:De(Te(l.value,m.value,g.value,!0),Te(s.value,v.value,_.value,!1)),checkoutUrl:window.location.origin,privacyUrl:window.location.origin,termsOfserviceUrl:window.location.origin},{headers:{Authorization:y.value,Accept:"application/json","Fresh-Booking-Ver":"4.0.37"}}).then(Fe=>{se.value=!1,O.value=!1,t.pay({callback:ke,response:Fe.data})}).catch(Fe=>{if(O.value=!1,w.value=2,Fe.response){const{status:kt}=Fe.response;i(kt===433?{message:qe.t("alert.error.noRoomAvailable"),type:"error"}:{message:qe.t("booking.other.errorMessage"),type:"warning"})}else i({message:qe.t("booking.other.errorMessage"),type:"warning"})})}function ct(){C.value=NaN,I.value=NaN}function xt(){On()}return{selectionHasNoAddons:k,hasHotelList:L,hotelList:x,areListingsLoading:oe,roomSelect:p,removeRoom:S,termsOfService:$,metaData:h,availabilityData:N,isLoading:O,moduleState:w,templateID:C,roomGroupID:I,travelingFor:D,arrivalTime:V,departureTime:q,name:te,nameTitle:K,email:H,phone:M,firmName:j,postal:z,city:Q,country:X,address:F,remark:J,allergies:ae,newsMails:Z,roomDisplay:E,isPaymentInitialized:se,nights:c,hotelCountry:ee,countries:le,title:U,isMetaDataAvailable:W,isAvailabilityDataAvailable:re,totalPrice:P,selectedPackage:G,isPaymentLoading:ce,getSingleListing:ge,getSpecifiedPackageRoom:ne,getRoomName:ve,getBasePrice:it,getSelectedPackageRoom:pe,isReservationFormFilled:ie,hasValidRoomSelection:T,fetchMetaData:Yn,fetchAvailabilityData:On,createReservation:Xn,resetTemplate:ct,initialize:xt}}),r1=_i("tracking",()=>{const e=aa(),t=Ay(),n=fe(()=>{const d=[];return t.roomDisplay.forEach(({variants:h,roomGroupID:y})=>{h?.forEach(({rooms:g,ratePlanID:_,name:m})=>{g?.forEach(({totalPrice:v})=>{d.push({name:m,quantity:1,price:v})})})}),{items:d,value:t.totalPrice}}),r=fe(()=>t.availabilityData.roomGroups.map(d=>({item_id:d.id,item_name:d.title})));function i(){my({appName:"Konnectio Booking Engine",config:{id:e.googleApiKey,params:{send_page_view:!1}},enabled:e.enableTracking}),Oy().then(()=>{})}function a(){Bn("view_item_list",{item_list_id:"hotel_rooms",item_list_name:"Hotel rooms",event_label:"Fetched hotel room list",event_category:"ecommerce",items:r.value})}function o({id:d,name:h,value:y,label:g,category:_="general"}){return{items:[{item_id:d,item_name:h}],event_label:g,event_category:_,value:y,currency:e.currency}}function l(d,h){Bn(d,o(h))}function s({id:d,name:h,value:y}){l("add_to_cart",{id:d,name:h,value:y,label:"Added to cart",category:"ecommerce"})}function u({id:d,name:h,value:y}){l("remove_from_cart",{id:d,name:h,value:y,label:"Removed to cart",category:"ecommerce"})}function f(d){Bn("view_item",{items:[{name:d}]})}function c(){Bn("begin_checkout",n.value)}return{hotelItems:r,hotelCart:n,setup:i,viewItem:f,addToCart:s,removeFromCart:u,beginCheckout:c,viewItemList:a}});var Ny={},Xa={},Il={},qw=st.commonjsGlobal&&st.commonjsGlobal.__awaiter||function(e,t,n,r){function i(a){return a instanceof n?a:new n(function(o){o(a)})}return new(n||(n=Promise))(function(a,o){function l(f){try{u(r.next(f))}catch(c){o(c)}}function s(f){try{u(r.throw(f))}catch(c){o(c)}}function u(f){f.done?a(f.value):i(f.value).then(l,s)}u((r=r.apply(e,t||[])).next())})},Kw=st.commonjsGlobal&&st.commonjsGlobal.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,i,a,o;return o={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function l(u){return function(f){return s([u,f])}}function s(u){if(r)throw new TypeError("Generator is already executing.");for(;n;)try{if(r=1,i&&(a=u[0]&2?i.return:u[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,u[1])).done)return a;switch(i=0,a&&(u=[u[0]&2,a.value]),u[0]){case 0:case 1:a=u;break;case 4:return n.label++,{value:u[1],done:!1};case 5:n.label++,i=u[1],u=[0];continue;case 7:u=n.ops.pop(),n.trys.pop();continue;default:if(a=n.trys,!(a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){n.label=u[1];break}if(u[0]===6&&n.label<a[1]){n.label=a[1],a=u;break}if(a&&n.label<a[2]){n.label=a[2],n.ops.push(u);break}a[2]&&n.ops.pop(),n.trys.pop();continue}u=t.call(e,n)}catch(f){u=[6,f],i=0}finally{r=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}};Object.defineProperty(Il,"__esModule",{value:!0});Il.ReCaptchaInstance=void 0;var Ww=function(){function e(t,n,r){this.siteKey=t,this.recaptchaID=n,this.recaptcha=r,this.styleContainer=null}return e.prototype.execute=function(t){return qw(this,void 0,void 0,function(){return Kw(this,function(n){return[2,this.recaptcha.enterprise?this.recaptcha.enterprise.execute(this.recaptchaID,{action:t}):this.recaptcha.execute(this.recaptchaID,{action:t})]})})},e.prototype.getSiteKey=function(){return this.siteKey},e.prototype.hideBadge=function(){this.styleContainer===null&&(this.styleContainer=document.createElement("style"),this.styleContainer.innerHTML=".grecaptcha-badge{visibility:hidden !important;}",document.head.appendChild(this.styleContainer))},e.prototype.showBadge=function(){this.styleContainer!==null&&(document.head.removeChild(this.styleContainer),this.styleContainer=null)},e}();Il.ReCaptchaInstance=Ww;Object.defineProperty(Xa,"__esModule",{value:!0});Xa.getInstance=Xa.load=void 0;var Gw=Il,Jr;(function(e){e[e.NOT_LOADED=0]="NOT_LOADED",e[e.LOADING=1]="LOADING",e[e.LOADED=2]="LOADED"})(Jr||(Jr={}));var ky=function(){function e(){}return e.load=function(t,n){if(n===void 0&&(n={}),typeof document>"u")return Promise.reject(new Error("This is a library for the browser!"));if(e.getLoadingState()===Jr.LOADED)return e.instance.getSiteKey()===t?Promise.resolve(e.instance):Promise.reject(new Error("reCAPTCHA already loaded with different site key!"));if(e.getLoadingState()===Jr.LOADING)return t!==e.instanceSiteKey?Promise.reject(new Error("reCAPTCHA already loaded with different site key!")):new Promise(function(i,a){e.successfulLoadingConsumers.push(function(o){return i(o)}),e.errorLoadingRunnable.push(function(o){return a(o)})});e.instanceSiteKey=t,e.setLoadingState(Jr.LOADING);var r=new e;return new Promise(function(i,a){r.loadScript(t,n.useRecaptchaNet||!1,n.useEnterprise||!1,n.renderParameters?n.renderParameters:{},n.customUrl).then(function(){e.setLoadingState(Jr.LOADED);var o=r.doExplicitRender(grecaptcha,t,n.explicitRenderParameters?n.explicitRenderParameters:{},n.useEnterprise||!1),l=new Gw.ReCaptchaInstance(t,o,grecaptcha);e.successfulLoadingConsumers.forEach(function(s){return s(l)}),e.successfulLoadingConsumers=[],n.autoHideBadge&&l.hideBadge(),e.instance=l,i(l)}).catch(function(o){e.errorLoadingRunnable.forEach(function(l){return l(o)}),e.errorLoadingRunnable=[],a(o)})})},e.getInstance=function(){return e.instance},e.setLoadingState=function(t){e.loadingState=t},e.getLoadingState=function(){return e.loadingState===null?Jr.NOT_LOADED:e.loadingState},e.prototype.loadScript=function(t,n,r,i,a){var o=this;n===void 0&&(n=!1),r===void 0&&(r=!1),i===void 0&&(i={}),a===void 0&&(a="");var l=document.createElement("script");l.setAttribute("recaptcha-v3-script","");var s="https://www.google.com/recaptcha/api.js";n&&(r?s="https://recaptcha.net/recaptcha/enterprise.js":s="https://recaptcha.net/recaptcha/api.js"),r&&(s="https://www.google.com/recaptcha/enterprise.js"),a&&(s=a),i.render&&(i.render=void 0);var u=this.buildQueryString(i);return l.src=s+"?render=explicit"+u,new Promise(function(f,c){l.addEventListener("load",o.waitForScriptToLoad(function(){f(l)},r),!1),l.onerror=function(d){e.setLoadingState(Jr.NOT_LOADED),c(d)},document.head.appendChild(l)})},e.prototype.buildQueryString=function(t){var n=Object.keys(t);return n.length<1?"":"&"+Object.keys(t).filter(function(r){return!!t[r]}).map(function(r){return r+"="+t[r]}).join("&")},e.prototype.waitForScriptToLoad=function(t,n){var r=this;return function(){window.grecaptcha===void 0?setTimeout(function(){r.waitForScriptToLoad(t,n)},e.SCRIPT_LOAD_DELAY):n?window.grecaptcha.enterprise.ready(function(){t()}):window.grecaptcha.ready(function(){t()})}},e.prototype.doExplicitRender=function(t,n,r,i){var a={sitekey:n,badge:r.badge,size:r.size,tabindex:r.tabindex};return r.container?i?t.enterprise.render(r.container,a):t.render(r.container,a):i?t.enterprise.render(a):t.render(a)},e.loadingState=null,e.instance=null,e.instanceSiteKey=null,e.successfulLoadingConsumers=[],e.errorLoadingRunnable=[],e.SCRIPT_LOAD_DELAY=25,e}();Xa.load=ky.load;Xa.getInstance=ky.getInstance;(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ReCaptchaInstance=e.getInstance=e.load=void 0;var t=Xa;Object.defineProperty(e,"load",{enumerable:!0,get:function(){return t.load}}),Object.defineProperty(e,"getInstance",{enumerable:!0,get:function(){return t.getInstance}});var n=Il;Object.defineProperty(e,"ReCaptchaInstance",{enumerable:!0,get:function(){return n.ReCaptchaInstance}})})(Ny);const aa=_i("utilities",()=>{const e=r1(),{display:t}=ao(),{location:n}=ri(vu()),{reset:r}=vu(),i=Ct("konnectio_settings",{},void 0,{serializer:Ot.object}),a=Ct("konnectio_cLocation",NaN,void 0,{serializer:Ot.number}),o=be({}),l=fe(()=>i.value.maximumNightsAvailable),s=fe(()=>i.value.enableTracking),u=fe(()=>i.value.googleApiKey),f=fe(()=>i.value.recaptchaSiteKey),c=fe(()=>i.value.recaptchaSecretKey),d=fe(()=>i.value.maxAdultAmount),h=fe(()=>i.value.maxChildAmount),y=fe(()=>i.value.firstSelectableDateOffset),g=fe(()=>i.value.lastSelectableDateOffset),_=fe(()=>i.value.disableAdultSelection),m=fe(()=>i.value.disableArrivalUserSelection),v=fe(()=>i.value.disableChildSelection),b=fe(()=>i.value.disableDepartureUserSelection),p=fe(()=>i.value.bookingUri),E=fe(()=>i.value.hideTitle),k=fe(()=>i.value.headerHeight),T=fe(()=>i.value.arrivalDefault),S=fe(()=>i.value.arrivalEarliest),P=fe(()=>i.value.arrivalLatest),N=fe(()=>i.value.departureDefault),O=fe(()=>i.value.departureEarliest),w=fe(()=>i.value.departureLatest),C=fe(()=>i.value.hideArrivalDepartureInputs),I=fe(()=>i.value.disableNamePrefix),D=fe(()=>i.value.disableGiftCardVoucher),V=fe(()=>i.value.enablePackages),q=fe(()=>i.value.disablePricesFrom),te=fe(()=>i.value.hideAvailableRoomAmount),K=fe(()=>i.value.hideEvents),H=fe(()=>i.value.hideEventTemplates),M=fe(()=>i.value.disableNewsletterSignup),j=fe(()=>i.value.disableTravelingFor),z=fe(()=>i.value.disableCompanyField),Q=be(""),X=fe(()=>`Bearer ${Q.value}`),F=fe(()=>Object.keys(o.value).length>0),J=fe(()=>F.value?o.value.hotels[0].currency.currencyCode:""),ae=fe(()=>F.value?o.value.hotels[0].name:""),Z=fe(()=>o.value.hotels[0].paymentGatewayId),se=fe(()=>{let U=!0;return(Z.value===Ya.None||Z.value===Ya.AskForCreditCard)&&(U=!1),U});function he(U){Q.value=U}async function B(U="none"){try{if(U!=="none"){const W=(await ii.get(`https://production.hotel-service.konnectio.dk/api/${U}/metadata`,{params:{language:pr()},headers:{Authorization:X.value,Accept:"application/json","Fresh-Booking-Ver":"4.0.37"}})).data;o.value=W,W.hotelId&&(isNaN(a.value)?a.value=W.hotelId:a.value!==W.hotelId&&(r(),a.value=W.hotelId),isNaN(n.value)&&W.hotelId&&(n.value=W.hotelId))}}catch{t({message:qe.t("alert.error.couldntFetchMetadata"),type:"warning"})}}async function L(){await ii.get("https://production.hotel-service.konnectio.dk/api/utility/get-settings-and-translations",{headers:{Authorization:X.value,Accept:"application/json","Fresh-Booking-Ver":"4.0.37"}}).then(U=>{const{settings:W,translations:re}=U.data;i.value=W,mw(re),ee(),e.setup()})}const x=be(),$=fe(()=>x.value!==void 0);async function ee(){f.value&&(x.value||(console.log(f.value),x.value=await Ny.load(f.value)))}async function le({type:U="submit",callback:W}){if(x.value!==void 0){console.log(U);const re=await x.value.execute(U);console.log([x.value.siteKey,x.value.recaptchaID,x.value.recaptcha]),(await ii.get("https://production.hotel-service.konnectio.dk/api/utility/verify-recaptcha",{params:{language:pr(),token:re},headers:{Authorization:X.value,"Konnectio-Core-Ver":"4.0.37"}})).data.success===!0?W():t({message:qe.t("Robot guy"),type:"warning"})}else W()}return{setAccessToken:he,fetchUtilities:L,fetchMetadata:B,verifyRecaptcha:le,hasPaymentGateway:se,recaptcha:x,name:ae,paymentGatewayId:Z,metaData:o,currency:J,bearerToken:X,maximumNightsAvailable:l,enableTracking:s,googleApiKey:u,recaptchaSiteKey:f,recaptchaSecretKey:c,maxAdultAmount:d,maxChildAmount:h,firstSelectableDateOffset:y,lastSelectableDateOffset:g,disableAdultSelection:_,disableArrivalUserSelection:m,disableChildSelection:v,disableDepartureUserSelection:b,bookingUri:p,hideTitle:E,headerHeight:k,arrivalDefault:T,arrivalEarliest:S,arrivalLatest:P,departureDefault:N,departureEarliest:O,departureLatest:w,hideArrivalDepartureInputs:C,disableNamePrefix:I,disableGiftCardVoucher:D,enablePackages:V,disablePricesFrom:q,hideAvailableRoomAmount:te,hideEvents:K,hideEventTemplates:H,disableNewsletterSignup:M,disableTravelingFor:j,disableCompanyField:z,isRecaptchaEnabled:$}});function $m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function ye(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?$m(Object(n),!0).forEach(function(r){Nt(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$m(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function gu(e){"@babel/helpers - typeof";return gu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},gu(e)}function Yw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Um(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Xw(e,t,n){return t&&Um(e.prototype,t),n&&Um(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Nt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i1(e,t){return Zw(e)||eO(e,t)||Cy(e,t)||nO()}function Ml(e){return Jw(e)||Qw(e)||Cy(e)||tO()}function Jw(e){if(Array.isArray(e))return ud(e)}function Zw(e){if(Array.isArray(e))return e}function Qw(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function eO(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],i=!0,a=!1,o,l;try{for(n=n.call(e);!(i=(o=n.next()).done)&&(r.push(o.value),!(t&&r.length===t));i=!0);}catch(s){a=!0,l=s}finally{try{!i&&n.return!=null&&n.return()}finally{if(a)throw l}}return r}}function Cy(e,t){if(e){if(typeof e=="string")return ud(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ud(e,t)}}function ud(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function tO(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
45
+ [REQUESTED DEPARTURE]: ${Be}`}function Te(ke,Be,Ze,Fe){const en=(Be?Ze:Fe?V.value:U.value).split(":");return _w(new Date(ke).setUTCHours(parseInt(en[0]),parseInt(en[1]),0,0))}function it(ke){return e1(l.value,s.value)*ke}async function Yn(){try{const ke=(await ii.get("https://production.hotel-service.konnectio.dk/api/hotel/metadata",{params:{language:pr()},headers:{Authorization:y.value,Accept:"application/json","Fresh-Booking-Ver":"4.0.38"}})).data;h.value=ke}catch{i({message:qe.t("alert.error.couldntFetchMetadata"),type:"warning"})}}async function On(){w.value=1,O.value=!0;let ke=d.value;isNaN(ke)&&(ke=null);try{const Be=await ii.get("https://production.hotel-service.konnectio.dk/api/hotel/availability",{params:{fromDate:l.value,toDate:s.value,adultsCount:a.value,childrenCount:o.value,language:pr(),hotelId:ke},headers:{Authorization:y.value,Accept:"application/json","Fresh-Booking-Ver":"4.0.38"}});Be.status!==200?i({message:`${qe.t("booking.other.errorMessage")} (HTTP: ${Be.status})`,type:"warning"}):(N.value=Be.data,e.viewItemList())}catch{i({message:qe.t("alert.error.couldntFetchListings"),type:"warning"})}O.value=!1}async function Xn(ke){w.value=3,O.value=!0;const Be=[];isNaN(C.value)?E.value.forEach(({variants:Fe,roomGroupID:kt})=>{Fe?.forEach(({rooms:en,ratePlanID:Fn})=>{en?.forEach(({adultsCount:tn,childrenCount:Jn,roomAddons:Zn})=>{Be.push({roomGroupID:kt,ratePlanID:Fn,adultsCount:tn,childrenCount:Jn,guest:{name:te.value,phone:M.value,email:H.value},roomAddons:Zn})})})}):Be.push({templateID:C.value,roomGroupID:I.value,ratePlanID:null,adultsCount:a.value,childrenCount:o.value,guest:{title:Lm(K.value),guestID:0,name:te.value,email:H.value,phone:M.value,newsmails:Q.value}});let Ze=d.value;isNaN(Ze)&&(Ze=null),await ii.post("https://production.hotel-service.konnectio.dk/api/hotel/create-reservation",{fromDate:u.value,toDate:f.value,hotelId:Ze,guest:{travellingFor:D.value,title:Lm(K.value),guestID:0,name:te.value,email:H.value,firmName:j.value,phone:M.value,country:X.value,address1:F.value,postal:String(z.value),city:Z.value,newsmails:Q.value},giftCardCode:n.value,selectedRooms:Be,remark:De(Te(l.value,m.value,g.value,!0),Te(s.value,v.value,_.value,!1)),checkoutUrl:window.location.origin,privacyUrl:window.location.origin,termsOfserviceURL:window.location.origin},{headers:{Authorization:y.value,Accept:"application/json","Fresh-Booking-Ver":"4.0.38"}}).then(Fe=>{se.value=!1,O.value=!1,t.pay({callback:ke,response:Fe.data})}).catch(Fe=>{if(O.value=!1,w.value=2,Fe.response){const{status:kt}=Fe.response;i(kt===433?{message:qe.t("alert.error.noRoomAvailable"),type:"error"}:{message:qe.t("booking.other.errorMessage"),type:"warning"})}else i({message:qe.t("booking.other.errorMessage"),type:"warning"})})}function ct(){C.value=NaN,I.value=NaN}function xt(){On()}return{selectionHasNoAddons:k,hasHotelList:L,hotelList:x,areListingsLoading:oe,roomSelect:p,removeRoom:S,termsOfService:$,metaData:h,availabilityData:N,isLoading:O,moduleState:w,templateID:C,roomGroupID:I,travelingFor:D,arrivalTime:V,departureTime:U,name:te,nameTitle:K,email:H,phone:M,firmName:j,postal:z,city:Z,country:X,address:F,remark:J,allergies:ae,newsMails:Q,roomDisplay:E,isPaymentInitialized:se,nights:c,hotelCountry:ee,countries:le,title:q,isMetaDataAvailable:W,isAvailabilityDataAvailable:ne,totalPrice:P,selectedPackage:G,isPaymentLoading:ce,getSingleListing:ge,getSpecifiedPackageRoom:re,getRoomName:ve,getBasePrice:it,getSelectedPackageRoom:pe,isReservationFormFilled:ie,hasValidRoomSelection:T,fetchMetaData:Yn,fetchAvailabilityData:On,createReservation:Xn,resetTemplate:ct,initialize:xt}}),r1=_i("tracking",()=>{const e=aa(),t=Ay(),n=fe(()=>{const d=[];return t.roomDisplay.forEach(({variants:h})=>{h?.forEach(({rooms:y,name:g})=>{y?.forEach(({totalPrice:_})=>{d.push({name:g,quantity:1,price:_})})})}),{items:d,value:t.totalPrice}}),r=fe(()=>t.availabilityData.roomGroups.map(d=>({item_id:d.id,item_name:d.title})));function i(){my({appName:"Konnectio Booking Engine",config:{id:e.googleApiKey,params:{send_page_view:!1}},enabled:e.enableTracking}),Oy().then(()=>{})}function a(){Bn("view_item_list",{item_list_id:"hotel_rooms",item_list_name:"Hotel rooms",event_label:"Fetched hotel room list",event_category:"ecommerce",items:r.value})}function o({id:d,name:h,value:y,label:g,category:_="general"}){return{items:[{item_id:d,item_name:h}],event_label:g,event_category:_,value:y,currency:e.currency}}function l(d,h){Bn(d,o(h))}function s({id:d,name:h,value:y}){l("add_to_cart",{id:d,name:h,value:y,label:"Added to cart",category:"ecommerce"})}function u({id:d,name:h,value:y}){l("remove_from_cart",{id:d,name:h,value:y,label:"Removed to cart",category:"ecommerce"})}function f(d){Bn("view_item",{items:[{name:d}]})}function c(){Bn("begin_checkout",n.value)}return{hotelItems:r,hotelCart:n,setup:i,viewItem:f,addToCart:s,removeFromCart:u,beginCheckout:c,viewItemList:a}});var Ny={},Xa={},Il={},qw=st.commonjsGlobal&&st.commonjsGlobal.__awaiter||function(e,t,n,r){function i(a){return a instanceof n?a:new n(function(o){o(a)})}return new(n||(n=Promise))(function(a,o){function l(f){try{u(r.next(f))}catch(c){o(c)}}function s(f){try{u(r.throw(f))}catch(c){o(c)}}function u(f){f.done?a(f.value):i(f.value).then(l,s)}u((r=r.apply(e,t||[])).next())})},Kw=st.commonjsGlobal&&st.commonjsGlobal.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,i,a,o;return o={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function l(u){return function(f){return s([u,f])}}function s(u){if(r)throw new TypeError("Generator is already executing.");for(;n;)try{if(r=1,i&&(a=u[0]&2?i.return:u[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,u[1])).done)return a;switch(i=0,a&&(u=[u[0]&2,a.value]),u[0]){case 0:case 1:a=u;break;case 4:return n.label++,{value:u[1],done:!1};case 5:n.label++,i=u[1],u=[0];continue;case 7:u=n.ops.pop(),n.trys.pop();continue;default:if(a=n.trys,!(a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){n.label=u[1];break}if(u[0]===6&&n.label<a[1]){n.label=a[1],a=u;break}if(a&&n.label<a[2]){n.label=a[2],n.ops.push(u);break}a[2]&&n.ops.pop(),n.trys.pop();continue}u=t.call(e,n)}catch(f){u=[6,f],i=0}finally{r=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}};Object.defineProperty(Il,"__esModule",{value:!0});Il.ReCaptchaInstance=void 0;var Ww=function(){function e(t,n,r){this.siteKey=t,this.recaptchaID=n,this.recaptcha=r,this.styleContainer=null}return e.prototype.execute=function(t){return qw(this,void 0,void 0,function(){return Kw(this,function(n){return[2,this.recaptcha.enterprise?this.recaptcha.enterprise.execute(this.recaptchaID,{action:t}):this.recaptcha.execute(this.recaptchaID,{action:t})]})})},e.prototype.getSiteKey=function(){return this.siteKey},e.prototype.hideBadge=function(){this.styleContainer===null&&(this.styleContainer=document.createElement("style"),this.styleContainer.innerHTML=".grecaptcha-badge{visibility:hidden !important;}",document.head.appendChild(this.styleContainer))},e.prototype.showBadge=function(){this.styleContainer!==null&&(document.head.removeChild(this.styleContainer),this.styleContainer=null)},e}();Il.ReCaptchaInstance=Ww;Object.defineProperty(Xa,"__esModule",{value:!0});Xa.getInstance=Xa.load=void 0;var Gw=Il,Jr;(function(e){e[e.NOT_LOADED=0]="NOT_LOADED",e[e.LOADING=1]="LOADING",e[e.LOADED=2]="LOADED"})(Jr||(Jr={}));var ky=function(){function e(){}return e.load=function(t,n){if(n===void 0&&(n={}),typeof document>"u")return Promise.reject(new Error("This is a library for the browser!"));if(e.getLoadingState()===Jr.LOADED)return e.instance.getSiteKey()===t?Promise.resolve(e.instance):Promise.reject(new Error("reCAPTCHA already loaded with different site key!"));if(e.getLoadingState()===Jr.LOADING)return t!==e.instanceSiteKey?Promise.reject(new Error("reCAPTCHA already loaded with different site key!")):new Promise(function(i,a){e.successfulLoadingConsumers.push(function(o){return i(o)}),e.errorLoadingRunnable.push(function(o){return a(o)})});e.instanceSiteKey=t,e.setLoadingState(Jr.LOADING);var r=new e;return new Promise(function(i,a){r.loadScript(t,n.useRecaptchaNet||!1,n.useEnterprise||!1,n.renderParameters?n.renderParameters:{},n.customUrl).then(function(){e.setLoadingState(Jr.LOADED);var o=r.doExplicitRender(grecaptcha,t,n.explicitRenderParameters?n.explicitRenderParameters:{},n.useEnterprise||!1),l=new Gw.ReCaptchaInstance(t,o,grecaptcha);e.successfulLoadingConsumers.forEach(function(s){return s(l)}),e.successfulLoadingConsumers=[],n.autoHideBadge&&l.hideBadge(),e.instance=l,i(l)}).catch(function(o){e.errorLoadingRunnable.forEach(function(l){return l(o)}),e.errorLoadingRunnable=[],a(o)})})},e.getInstance=function(){return e.instance},e.setLoadingState=function(t){e.loadingState=t},e.getLoadingState=function(){return e.loadingState===null?Jr.NOT_LOADED:e.loadingState},e.prototype.loadScript=function(t,n,r,i,a){var o=this;n===void 0&&(n=!1),r===void 0&&(r=!1),i===void 0&&(i={}),a===void 0&&(a="");var l=document.createElement("script");l.setAttribute("recaptcha-v3-script","");var s="https://www.google.com/recaptcha/api.js";n&&(r?s="https://recaptcha.net/recaptcha/enterprise.js":s="https://recaptcha.net/recaptcha/api.js"),r&&(s="https://www.google.com/recaptcha/enterprise.js"),a&&(s=a),i.render&&(i.render=void 0);var u=this.buildQueryString(i);return l.src=s+"?render=explicit"+u,new Promise(function(f,c){l.addEventListener("load",o.waitForScriptToLoad(function(){f(l)},r),!1),l.onerror=function(d){e.setLoadingState(Jr.NOT_LOADED),c(d)},document.head.appendChild(l)})},e.prototype.buildQueryString=function(t){var n=Object.keys(t);return n.length<1?"":"&"+Object.keys(t).filter(function(r){return!!t[r]}).map(function(r){return r+"="+t[r]}).join("&")},e.prototype.waitForScriptToLoad=function(t,n){var r=this;return function(){window.grecaptcha===void 0?setTimeout(function(){r.waitForScriptToLoad(t,n)},e.SCRIPT_LOAD_DELAY):n?window.grecaptcha.enterprise.ready(function(){t()}):window.grecaptcha.ready(function(){t()})}},e.prototype.doExplicitRender=function(t,n,r,i){var a={sitekey:n,badge:r.badge,size:r.size,tabindex:r.tabindex};return r.container?i?t.enterprise.render(r.container,a):t.render(r.container,a):i?t.enterprise.render(a):t.render(a)},e.loadingState=null,e.instance=null,e.instanceSiteKey=null,e.successfulLoadingConsumers=[],e.errorLoadingRunnable=[],e.SCRIPT_LOAD_DELAY=25,e}();Xa.load=ky.load;Xa.getInstance=ky.getInstance;(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ReCaptchaInstance=e.getInstance=e.load=void 0;var t=Xa;Object.defineProperty(e,"load",{enumerable:!0,get:function(){return t.load}}),Object.defineProperty(e,"getInstance",{enumerable:!0,get:function(){return t.getInstance}});var n=Il;Object.defineProperty(e,"ReCaptchaInstance",{enumerable:!0,get:function(){return n.ReCaptchaInstance}})})(Ny);const aa=_i("utilities",()=>{const e=r1(),{display:t}=ao(),{location:n}=ri(vu()),{reset:r}=vu(),i=Ct("konnectio_settings",{},void 0,{serializer:Ot.object}),a=Ct("konnectio_cLocation",NaN,void 0,{serializer:Ot.number}),o=be({}),l=fe(()=>i.value.maximumNightsAvailable),s=fe(()=>i.value.enableTracking),u=fe(()=>i.value.googleApiKey),f=fe(()=>i.value.recaptchaSiteKey),c=fe(()=>i.value.recaptchaSecretKey),d=fe(()=>i.value.maxAdultAmount),h=fe(()=>i.value.maxChildAmount),y=fe(()=>i.value.firstSelectableDateOffset),g=fe(()=>i.value.lastSelectableDateOffset),_=fe(()=>i.value.disableAdultSelection),m=fe(()=>i.value.disableArrivalUserSelection),v=fe(()=>i.value.disableChildSelection),b=fe(()=>i.value.disableDepartureUserSelection),p=fe(()=>i.value.bookingUri),E=fe(()=>i.value.hideTitle),k=fe(()=>i.value.headerHeight),T=fe(()=>i.value.arrivalDefault),S=fe(()=>i.value.arrivalEarliest),P=fe(()=>i.value.arrivalLatest),N=fe(()=>i.value.departureDefault),O=fe(()=>i.value.departureEarliest),w=fe(()=>i.value.departureLatest),C=fe(()=>i.value.hideArrivalDepartureInputs),I=fe(()=>i.value.disableNamePrefix),D=fe(()=>i.value.disableGiftCardVoucher),V=fe(()=>i.value.enablePackages),U=fe(()=>i.value.disablePricesFrom),te=fe(()=>i.value.hideAvailableRoomAmount),K=fe(()=>i.value.hideEvents),H=fe(()=>i.value.hideEventTemplates),M=fe(()=>i.value.disableNewsletterSignup),j=fe(()=>i.value.disableTravelingFor),z=fe(()=>i.value.disableCompanyField),Z=be(""),X=fe(()=>`Bearer ${Z.value}`),F=fe(()=>Object.keys(o.value).length>0),J=fe(()=>F.value?o.value.hotels[0].currency.currencyCode:""),ae=fe(()=>F.value?o.value.hotels[0].currency.id:NaN),Q=fe(()=>F.value?o.value.hotels[0].name:""),se=fe(()=>o.value.hotels[0].paymentGatewayId),he=fe(()=>{let W=!0;return(se.value===Ya.None||se.value===Ya.AskForCreditCard)&&(W=!1),W});function B(W){Z.value=W}async function L(W="none"){try{if(W!=="none"){const ne=(await ii.get(`https://production.hotel-service.konnectio.dk/api/${W}/metadata`,{params:{language:pr()},headers:{Authorization:X.value,Accept:"application/json","Fresh-Booking-Ver":"4.0.38"}})).data;o.value=ne,ne.hotelId&&(isNaN(a.value)?a.value=ne.hotelId:a.value!==ne.hotelId&&(r(),a.value=ne.hotelId),isNaN(n.value)&&ne.hotelId&&(n.value=ne.hotelId))}}catch{t({message:qe.t("alert.error.couldntFetchMetadata"),type:"warning"})}}async function x(){await ii.get("https://production.hotel-service.konnectio.dk/api/utility/get-settings-and-translations",{headers:{Authorization:X.value,Accept:"application/json","Fresh-Booking-Ver":"4.0.38"}}).then(W=>{const{settings:ne,translations:ie}=W.data;i.value=ne,mw(ie),le(),e.setup()})}const $=be(),ee=fe(()=>$.value!==void 0);async function le(){f.value&&($.value||(console.log(f.value),$.value=await Ny.load(f.value)))}async function q({type:W="submit",callback:ne}){if($.value!==void 0){console.log(W);const ie=await $.value.execute(W);(await ii.get("https://production.hotel-service.konnectio.dk/api/utility/verify-recaptcha",{params:{language:pr(),token:ie},headers:{Authorization:X.value,"Konnectio-Core-Ver":"4.0.38"}})).data.success===!0?ne():t({message:qe.t("Robot guy"),type:"warning"})}else ne()}return{setAccessToken:B,fetchUtilities:x,fetchMetadata:L,verifyRecaptcha:q,hasPaymentGateway:he,recaptcha:$,name:Q,paymentGatewayId:se,metaData:o,currency:J,currencyId:ae,bearerToken:X,maximumNightsAvailable:l,enableTracking:s,googleApiKey:u,recaptchaSiteKey:f,recaptchaSecretKey:c,maxAdultAmount:d,maxChildAmount:h,firstSelectableDateOffset:y,lastSelectableDateOffset:g,disableAdultSelection:_,disableArrivalUserSelection:m,disableChildSelection:v,disableDepartureUserSelection:b,bookingUri:p,hideTitle:E,headerHeight:k,arrivalDefault:T,arrivalEarliest:S,arrivalLatest:P,departureDefault:N,departureEarliest:O,departureLatest:w,hideArrivalDepartureInputs:C,disableNamePrefix:I,disableGiftCardVoucher:D,enablePackages:V,disablePricesFrom:U,hideAvailableRoomAmount:te,hideEvents:K,hideEventTemplates:H,disableNewsletterSignup:M,disableTravelingFor:j,disableCompanyField:z,isRecaptchaEnabled:ee}});function $m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function ye(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?$m(Object(n),!0).forEach(function(r){Nt(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$m(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function gu(e){"@babel/helpers - typeof";return gu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},gu(e)}function Yw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Um(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Xw(e,t,n){return t&&Um(e.prototype,t),n&&Um(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Nt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i1(e,t){return Zw(e)||eO(e,t)||Cy(e,t)||nO()}function Ml(e){return Jw(e)||Qw(e)||Cy(e)||tO()}function Jw(e){if(Array.isArray(e))return ud(e)}function Zw(e){if(Array.isArray(e))return e}function Qw(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function eO(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],i=!0,a=!1,o,l;try{for(n=n.call(e);!(i=(o=n.next()).done)&&(r.push(o.value),!(t&&r.length===t));i=!0);}catch(s){a=!0,l=s}finally{try{!i&&n.return!=null&&n.return()}finally{if(a)throw l}}return r}}function Cy(e,t){if(e){if(typeof e=="string")return ud(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ud(e,t)}}function ud(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function tO(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
46
46
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function nO(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
47
47
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var qm=function(){},a1={},Py={},Ly=null,Iy={mark:qm,measure:qm};try{typeof window<"u"&&(a1=window),typeof document<"u"&&(Py=document),typeof MutationObserver<"u"&&(Ly=MutationObserver),typeof performance<"u"&&(Iy=performance)}catch{}var rO=a1.navigator||{},Km=rO.userAgent,Wm=Km===void 0?"":Km,hi=a1,rt=Py,Gm=Ly,vs=Iy;hi.document;var Fr=!!rt.documentElement&&!!rt.head&&typeof rt.addEventListener=="function"&&typeof rt.createElement=="function",My=~Wm.indexOf("MSIE")||~Wm.indexOf("Trident/"),gs,ys,bs,_s,Es,Ir="___FONT_AWESOME___",cd=16,xy="fa",Ry="svg-inline--fa",oa="data-fa-i2svg",fd="data-fa-pseudo-element",iO="data-fa-pseudo-element-pending",o1="data-prefix",l1="data-icon",Ym="fontawesome-i2svg",aO="async",oO=["HTML","HEAD","STYLE","SCRIPT"],Dy=function(){try{return!0}catch{return!1}}(),et="classic",ft="sharp",s1=[et,ft];function xl(e){return new Proxy(e,{get:function(n,r){return r in n?n[r]:n[et]}})}var cl=xl((gs={},Nt(gs,et,{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands",fak:"kit","fa-kit":"kit"}),Nt(gs,ft,{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light"}),gs)),fl=xl((ys={},Nt(ys,et,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),Nt(ys,ft,{solid:"fass",regular:"fasr",light:"fasl"}),ys)),dl=xl((bs={},Nt(bs,et,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),Nt(bs,ft,{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light"}),bs)),lO=xl((_s={},Nt(_s,et,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),Nt(_s,ft,{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl"}),_s)),sO=/fa(s|r|l|t|d|b|k|ss|sr|sl)?[\-\ ]/,Fy="fa-layers-text",uO=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,cO=xl((Es={},Nt(Es,et,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),Nt(Es,ft,{900:"fass",400:"fasr",300:"fasl"}),Es)),Hy=[1,2,3,4,5,6,7,8,9,10],fO=Hy.concat([11,12,13,14,15,16,17,18,19,20]),dO=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],Ui={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},hl=new Set;Object.keys(fl[et]).map(hl.add.bind(hl));Object.keys(fl[ft]).map(hl.add.bind(hl));var hO=[].concat(s1,Ml(hl),["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",Ui.GROUP,Ui.SWAP_OPACITY,Ui.PRIMARY,Ui.SECONDARY]).concat(Hy.map(function(e){return"".concat(e,"x")})).concat(fO.map(function(e){return"w-".concat(e)})),zo=hi.FontAwesomeConfig||{};function pO(e){var t=rt.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function mO(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}if(rt&&typeof rt.querySelector=="function"){var vO=[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]];vO.forEach(function(e){var t=i1(e,2),n=t[0],r=t[1],i=mO(pO(n));i!=null&&(zo[r]=i)})}var jy={styleDefault:"solid",familyDefault:"classic",cssPrefix:xy,replacementClass:Ry,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};zo.familyPrefix&&(zo.cssPrefix=zo.familyPrefix);var Ja=ye(ye({},jy),zo);Ja.autoReplaceSvg||(Ja.observeMutations=!1);var we={};Object.keys(jy).forEach(function(e){Object.defineProperty(we,e,{enumerable:!0,set:function(n){Ja[e]=n,$o.forEach(function(r){return r(we)})},get:function(){return Ja[e]}})});Object.defineProperty(we,"familyPrefix",{enumerable:!0,set:function(t){Ja.cssPrefix=t,$o.forEach(function(n){return n(we)})},get:function(){return Ja.cssPrefix}});hi.FontAwesomeConfig=we;var $o=[];function gO(e){return $o.push(e),function(){$o.splice($o.indexOf(e),1)}}var Kr=cd,sr={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function yO(e){if(!(!e||!Fr)){var t=rt.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=rt.head.childNodes,r=null,i=n.length-1;i>-1;i--){var a=n[i],o=(a.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(o)>-1&&(r=a)}return rt.head.insertBefore(t,r),e}}var bO="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function pl(){for(var e=12,t="";e-- >0;)t+=bO[Math.random()*62|0];return t}function oo(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function u1(e){return e.classList?oo(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(t){return t})}function Vy(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function _O(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,'="').concat(Vy(e[n]),'" ')},"").trim()}function hc(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")},"")}function c1(e){return e.size!==sr.size||e.x!==sr.x||e.y!==sr.y||e.rotate!==sr.rotate||e.flipX||e.flipY}function EO(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth,i={transform:"translate(".concat(n/2," 256)")},a="translate(".concat(t.x*32,", ").concat(t.y*32,") "),o="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),l="rotate(".concat(t.rotate," 0 0)"),s={transform:"".concat(a," ").concat(o," ").concat(l)},u={transform:"translate(".concat(r/2*-1," -256)")};return{outer:i,inner:s,path:u}}function wO(e){var t=e.transform,n=e.width,r=n===void 0?cd:n,i=e.height,a=i===void 0?cd:i,o=e.startCentered,l=o===void 0?!1:o,s="";return l&&My?s+="translate(".concat(t.x/Kr-r/2,"em, ").concat(t.y/Kr-a/2,"em) "):l?s+="translate(calc(-50% + ".concat(t.x/Kr,"em), calc(-50% + ").concat(t.y/Kr,"em)) "):s+="translate(".concat(t.x/Kr,"em, ").concat(t.y/Kr,"em) "),s+="scale(".concat(t.size/Kr*(t.flipX?-1:1),", ").concat(t.size/Kr*(t.flipY?-1:1),") "),s+="rotate(".concat(t.rotate,"deg) "),s}var OO=`:root, :host {
48
48
  --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";
@@ -808,41 +808,41 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
808
808
  * Copyright (c) 2014, Jason Chen
809
809
  * Copyright (c) 2013, salesforce.com
810
810
  */(function(e,t){(function(r,i){e.exports=i()})(typeof self<"u"?self:st.commonjsGlobal,function(){return function(n){var r={};function i(a){if(r[a])return r[a].exports;var o=r[a]={i:a,l:!1,exports:{}};return n[a].call(o.exports,o,o.exports,i),o.l=!0,o.exports}return i.m=n,i.c=r,i.d=function(a,o,l){i.o(a,o)||Object.defineProperty(a,o,{configurable:!1,enumerable:!0,get:l})},i.n=function(a){var o=a&&a.__esModule?function(){return a.default}:function(){return a};return i.d(o,"a",o),o},i.o=function(a,o){return Object.prototype.hasOwnProperty.call(a,o)},i.p="",i(i.s=109)}([function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var a=i(17),o=i(18),l=i(19),s=i(45),u=i(46),f=i(47),c=i(48),d=i(49),h=i(12),y=i(32),g=i(33),_=i(31),m=i(1),v={Scope:m.Scope,create:m.create,find:m.find,query:m.query,register:m.register,Container:a.default,Format:o.default,Leaf:l.default,Embed:c.default,Scroll:s.default,Block:f.default,Inline:u.default,Text:d.default,Attributor:{Attribute:h.default,Class:y.default,Style:g.default,Store:_.default}};r.default=v},function(n,r,i){var a=this&&this.__extends||function(){var _=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(m,v){m.__proto__=v}||function(m,v){for(var b in v)v.hasOwnProperty(b)&&(m[b]=v[b])};return function(m,v){_(m,v);function b(){this.constructor=m}m.prototype=v===null?Object.create(v):(b.prototype=v.prototype,new b)}}();Object.defineProperty(r,"__esModule",{value:!0});var o=function(_){a(m,_);function m(v){var b=this;return v="[Parchment] "+v,b=_.call(this,v)||this,b.message=v,b.name=b.constructor.name,b}return m}(Error);r.ParchmentError=o;var l={},s={},u={},f={};r.DATA_KEY="__blot";var c;(function(_){_[_.TYPE=3]="TYPE",_[_.LEVEL=12]="LEVEL",_[_.ATTRIBUTE=13]="ATTRIBUTE",_[_.BLOT=14]="BLOT",_[_.INLINE=7]="INLINE",_[_.BLOCK=11]="BLOCK",_[_.BLOCK_BLOT=10]="BLOCK_BLOT",_[_.INLINE_BLOT=6]="INLINE_BLOT",_[_.BLOCK_ATTRIBUTE=9]="BLOCK_ATTRIBUTE",_[_.INLINE_ATTRIBUTE=5]="INLINE_ATTRIBUTE",_[_.ANY=15]="ANY"})(c=r.Scope||(r.Scope={}));function d(_,m){var v=y(_);if(v==null)throw new o("Unable to create "+_+" blot");var b=v,p=_ instanceof Node||_.nodeType===Node.TEXT_NODE?_:b.create(m);return new b(p,m)}r.create=d;function h(_,m){return m===void 0&&(m=!1),_==null?null:_[r.DATA_KEY]!=null?_[r.DATA_KEY].blot:m?h(_.parentNode,m):null}r.find=h;function y(_,m){m===void 0&&(m=c.ANY);var v;if(typeof _=="string")v=f[_]||l[_];else if(_ instanceof Text||_.nodeType===Node.TEXT_NODE)v=f.text;else if(typeof _=="number")_&c.LEVEL&c.BLOCK?v=f.block:_&c.LEVEL&c.INLINE&&(v=f.inline);else if(_ instanceof HTMLElement){var b=(_.getAttribute("class")||"").split(/\s+/);for(var p in b)if(v=s[b[p]],v)break;v=v||u[_.tagName]}return v==null?null:m&c.LEVEL&v.scope&&m&c.TYPE&v.scope?v:null}r.query=y;function g(){for(var _=[],m=0;m<arguments.length;m++)_[m]=arguments[m];if(_.length>1)return _.map(function(p){return g(p)});var v=_[0];if(typeof v.blotName!="string"&&typeof v.attrName!="string")throw new o("Invalid definition");if(v.blotName==="abstract")throw new o("Cannot register abstract class");if(f[v.blotName||v.attrName]=v,typeof v.keyName=="string")l[v.keyName]=v;else if(v.className!=null&&(s[v.className]=v),v.tagName!=null){Array.isArray(v.tagName)?v.tagName=v.tagName.map(function(p){return p.toUpperCase()}):v.tagName=v.tagName.toUpperCase();var b=Array.isArray(v.tagName)?v.tagName:[v.tagName];b.forEach(function(p){(u[p]==null||v.className==null)&&(u[p]=v)})}return v}r.register=g},function(n,r,i){var a=i(51),o=i(11),l=i(3),s=i(20),u=String.fromCharCode(0),f=function(c){Array.isArray(c)?this.ops=c:c!=null&&Array.isArray(c.ops)?this.ops=c.ops:this.ops=[]};f.prototype.insert=function(c,d){var h={};return c.length===0?this:(h.insert=c,d!=null&&typeof d=="object"&&Object.keys(d).length>0&&(h.attributes=d),this.push(h))},f.prototype.delete=function(c){return c<=0?this:this.push({delete:c})},f.prototype.retain=function(c,d){if(c<=0)return this;var h={retain:c};return d!=null&&typeof d=="object"&&Object.keys(d).length>0&&(h.attributes=d),this.push(h)},f.prototype.push=function(c){var d=this.ops.length,h=this.ops[d-1];if(c=l(!0,{},c),typeof h=="object"){if(typeof c.delete=="number"&&typeof h.delete=="number")return this.ops[d-1]={delete:h.delete+c.delete},this;if(typeof h.delete=="number"&&c.insert!=null&&(d-=1,h=this.ops[d-1],typeof h!="object"))return this.ops.unshift(c),this;if(o(c.attributes,h.attributes)){if(typeof c.insert=="string"&&typeof h.insert=="string")return this.ops[d-1]={insert:h.insert+c.insert},typeof c.attributes=="object"&&(this.ops[d-1].attributes=c.attributes),this;if(typeof c.retain=="number"&&typeof h.retain=="number")return this.ops[d-1]={retain:h.retain+c.retain},typeof c.attributes=="object"&&(this.ops[d-1].attributes=c.attributes),this}}return d===this.ops.length?this.ops.push(c):this.ops.splice(d,0,c),this},f.prototype.chop=function(){var c=this.ops[this.ops.length-1];return c&&c.retain&&!c.attributes&&this.ops.pop(),this},f.prototype.filter=function(c){return this.ops.filter(c)},f.prototype.forEach=function(c){this.ops.forEach(c)},f.prototype.map=function(c){return this.ops.map(c)},f.prototype.partition=function(c){var d=[],h=[];return this.forEach(function(y){var g=c(y)?d:h;g.push(y)}),[d,h]},f.prototype.reduce=function(c,d){return this.ops.reduce(c,d)},f.prototype.changeLength=function(){return this.reduce(function(c,d){return d.insert?c+s.length(d):d.delete?c-d.delete:c},0)},f.prototype.length=function(){return this.reduce(function(c,d){return c+s.length(d)},0)},f.prototype.slice=function(c,d){c=c||0,typeof d!="number"&&(d=1/0);for(var h=[],y=s.iterator(this.ops),g=0;g<d&&y.hasNext();){var _;g<c?_=y.next(c-g):(_=y.next(d-g),h.push(_)),g+=s.length(_)}return new f(h)},f.prototype.compose=function(c){var d=s.iterator(this.ops),h=s.iterator(c.ops),y=[],g=h.peek();if(g!=null&&typeof g.retain=="number"&&g.attributes==null){for(var _=g.retain;d.peekType()==="insert"&&d.peekLength()<=_;)_-=d.peekLength(),y.push(d.next());g.retain-_>0&&h.next(g.retain-_)}for(var m=new f(y);d.hasNext()||h.hasNext();)if(h.peekType()==="insert")m.push(h.next());else if(d.peekType()==="delete")m.push(d.next());else{var v=Math.min(d.peekLength(),h.peekLength()),b=d.next(v),p=h.next(v);if(typeof p.retain=="number"){var E={};typeof b.retain=="number"?E.retain=v:E.insert=b.insert;var k=s.attributes.compose(b.attributes,p.attributes,typeof b.retain=="number");if(k&&(E.attributes=k),m.push(E),!h.hasNext()&&o(m.ops[m.ops.length-1],E)){var T=new f(d.rest());return m.concat(T).chop()}}else typeof p.delete=="number"&&typeof b.retain=="number"&&m.push(p)}return m.chop()},f.prototype.concat=function(c){var d=new f(this.ops.slice());return c.ops.length>0&&(d.push(c.ops[0]),d.ops=d.ops.concat(c.ops.slice(1))),d},f.prototype.diff=function(c,d){if(this.ops===c.ops)return new f;var h=[this,c].map(function(v){return v.map(function(b){if(b.insert!=null)return typeof b.insert=="string"?b.insert:u;var p=v===c?"on":"with";throw new Error("diff() called "+p+" non-document")}).join("")}),y=new f,g=a(h[0],h[1],d),_=s.iterator(this.ops),m=s.iterator(c.ops);return g.forEach(function(v){for(var b=v[1].length;b>0;){var p=0;switch(v[0]){case a.INSERT:p=Math.min(m.peekLength(),b),y.push(m.next(p));break;case a.DELETE:p=Math.min(b,_.peekLength()),_.next(p),y.delete(p);break;case a.EQUAL:p=Math.min(_.peekLength(),m.peekLength(),b);var E=_.next(p),k=m.next(p);o(E.insert,k.insert)?y.retain(p,s.attributes.diff(E.attributes,k.attributes)):y.push(k).delete(p);break}b-=p}}),y.chop()},f.prototype.eachLine=function(c,d){d=d||`
811
- `;for(var h=s.iterator(this.ops),y=new f,g=0;h.hasNext();){if(h.peekType()!=="insert")return;var _=h.peek(),m=s.length(_)-h.peekLength(),v=typeof _.insert=="string"?_.insert.indexOf(d,m)-m:-1;if(v<0)y.push(h.next());else if(v>0)y.push(h.next(v));else{if(c(y,h.next(1).attributes||{},g)===!1)return;g+=1,y=new f}}y.length()>0&&c(y,{},g)},f.prototype.transform=function(c,d){if(d=!!d,typeof c=="number")return this.transformPosition(c,d);for(var h=s.iterator(this.ops),y=s.iterator(c.ops),g=new f;h.hasNext()||y.hasNext();)if(h.peekType()==="insert"&&(d||y.peekType()!=="insert"))g.retain(s.length(h.next()));else if(y.peekType()==="insert")g.push(y.next());else{var _=Math.min(h.peekLength(),y.peekLength()),m=h.next(_),v=y.next(_);if(m.delete)continue;v.delete?g.push(v):g.retain(_,s.attributes.transform(m.attributes,v.attributes,d))}return g.chop()},f.prototype.transformPosition=function(c,d){d=!!d;for(var h=s.iterator(this.ops),y=0;h.hasNext()&&y<=c;){var g=h.peekLength(),_=h.peekType();if(h.next(),_==="delete"){c-=Math.min(g,c-y);continue}else _==="insert"&&(y<c||!d)&&(c+=g);y+=g}return c},n.exports=f},function(n,r){var i=Object.prototype.hasOwnProperty,a=Object.prototype.toString,o=Object.defineProperty,l=Object.getOwnPropertyDescriptor,s=function(h){return typeof Array.isArray=="function"?Array.isArray(h):a.call(h)==="[object Array]"},u=function(h){if(!h||a.call(h)!=="[object Object]")return!1;var y=i.call(h,"constructor"),g=h.constructor&&h.constructor.prototype&&i.call(h.constructor.prototype,"isPrototypeOf");if(h.constructor&&!y&&!g)return!1;var _;for(_ in h);return typeof _>"u"||i.call(h,_)},f=function(h,y){o&&y.name==="__proto__"?o(h,y.name,{enumerable:!0,configurable:!0,value:y.newValue,writable:!0}):h[y.name]=y.newValue},c=function(h,y){if(y==="__proto__")if(i.call(h,y)){if(l)return l(h,y).value}else return;return h[y]};n.exports=function d(){var h,y,g,_,m,v,b=arguments[0],p=1,E=arguments.length,k=!1;for(typeof b=="boolean"&&(k=b,b=arguments[1]||{},p=2),(b==null||typeof b!="object"&&typeof b!="function")&&(b={});p<E;++p)if(h=arguments[p],h!=null)for(y in h)g=c(b,y),_=c(h,y),b!==_&&(k&&_&&(u(_)||(m=s(_)))?(m?(m=!1,v=g&&s(g)?g:[]):v=g&&u(g)?g:{},f(b,{name:y,newValue:d(k,v,_)})):typeof _<"u"&&f(b,{name:y,newValue:_}));return b}},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.BlockEmbed=r.bubbleFormats=void 0;var a=function(){function O(w,C){for(var I=0;I<C.length;I++){var D=C[I];D.enumerable=D.enumerable||!1,D.configurable=!0,"value"in D&&(D.writable=!0),Object.defineProperty(w,D.key,D)}}return function(w,C,I){return C&&O(w.prototype,C),I&&O(w,I),w}}(),o=function O(w,C,I){w===null&&(w=Function.prototype);var D=Object.getOwnPropertyDescriptor(w,C);if(D===void 0){var V=Object.getPrototypeOf(w);return V===null?void 0:O(V,C,I)}else{if("value"in D)return D.value;var q=D.get;return q===void 0?void 0:q.call(I)}},l=i(3),s=b(l),u=i(2),f=b(u),c=i(0),d=b(c),h=i(16),y=b(h),g=i(6),_=b(g),m=i(7),v=b(m);function b(O){return O&&O.__esModule?O:{default:O}}function p(O,w){if(!(O instanceof w))throw new TypeError("Cannot call a class as a function")}function E(O,w){if(!O)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return w&&(typeof w=="object"||typeof w=="function")?w:O}function k(O,w){if(typeof w!="function"&&w!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof w);O.prototype=Object.create(w&&w.prototype,{constructor:{value:O,enumerable:!1,writable:!0,configurable:!0}}),w&&(Object.setPrototypeOf?Object.setPrototypeOf(O,w):O.__proto__=w)}var T=1,S=function(O){k(w,O);function w(){return p(this,w),E(this,(w.__proto__||Object.getPrototypeOf(w)).apply(this,arguments))}return a(w,[{key:"attach",value:function(){o(w.prototype.__proto__||Object.getPrototypeOf(w.prototype),"attach",this).call(this),this.attributes=new d.default.Attributor.Store(this.domNode)}},{key:"delta",value:function(){return new f.default().insert(this.value(),(0,s.default)(this.formats(),this.attributes.values()))}},{key:"format",value:function(I,D){var V=d.default.query(I,d.default.Scope.BLOCK_ATTRIBUTE);V!=null&&this.attributes.attribute(V,D)}},{key:"formatAt",value:function(I,D,V,q){this.format(V,q)}},{key:"insertAt",value:function(I,D,V){if(typeof D=="string"&&D.endsWith(`
812
- `)){var q=d.default.create(P.blotName);this.parent.insertBefore(q,I===0?this:this.next),q.insertAt(0,D.slice(0,-1))}else o(w.prototype.__proto__||Object.getPrototypeOf(w.prototype),"insertAt",this).call(this,I,D,V)}}]),w}(d.default.Embed);S.scope=d.default.Scope.BLOCK_BLOT;var P=function(O){k(w,O);function w(C){p(this,w);var I=E(this,(w.__proto__||Object.getPrototypeOf(w)).call(this,C));return I.cache={},I}return a(w,[{key:"delta",value:function(){return this.cache.delta==null&&(this.cache.delta=this.descendants(d.default.Leaf).reduce(function(I,D){return D.length()===0?I:I.insert(D.value(),N(D))},new f.default).insert(`
813
- `,N(this))),this.cache.delta}},{key:"deleteAt",value:function(I,D){o(w.prototype.__proto__||Object.getPrototypeOf(w.prototype),"deleteAt",this).call(this,I,D),this.cache={}}},{key:"formatAt",value:function(I,D,V,q){D<=0||(d.default.query(V,d.default.Scope.BLOCK)?I+D===this.length()&&this.format(V,q):o(w.prototype.__proto__||Object.getPrototypeOf(w.prototype),"formatAt",this).call(this,I,Math.min(D,this.length()-I-1),V,q),this.cache={})}},{key:"insertAt",value:function(I,D,V){if(V!=null)return o(w.prototype.__proto__||Object.getPrototypeOf(w.prototype),"insertAt",this).call(this,I,D,V);if(D.length!==0){var q=D.split(`
814
- `),te=q.shift();te.length>0&&(I<this.length()-1||this.children.tail==null?o(w.prototype.__proto__||Object.getPrototypeOf(w.prototype),"insertAt",this).call(this,Math.min(I,this.length()-1),te):this.children.tail.insertAt(this.children.tail.length(),te),this.cache={});var K=this;q.reduce(function(H,M){return K=K.split(H,!0),K.insertAt(0,M),M.length},I+te.length)}}},{key:"insertBefore",value:function(I,D){var V=this.children.head;o(w.prototype.__proto__||Object.getPrototypeOf(w.prototype),"insertBefore",this).call(this,I,D),V instanceof y.default&&V.remove(),this.cache={}}},{key:"length",value:function(){return this.cache.length==null&&(this.cache.length=o(w.prototype.__proto__||Object.getPrototypeOf(w.prototype),"length",this).call(this)+T),this.cache.length}},{key:"moveChildren",value:function(I,D){o(w.prototype.__proto__||Object.getPrototypeOf(w.prototype),"moveChildren",this).call(this,I,D),this.cache={}}},{key:"optimize",value:function(I){o(w.prototype.__proto__||Object.getPrototypeOf(w.prototype),"optimize",this).call(this,I),this.cache={}}},{key:"path",value:function(I){return o(w.prototype.__proto__||Object.getPrototypeOf(w.prototype),"path",this).call(this,I,!0)}},{key:"removeChild",value:function(I){o(w.prototype.__proto__||Object.getPrototypeOf(w.prototype),"removeChild",this).call(this,I),this.cache={}}},{key:"split",value:function(I){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(D&&(I===0||I>=this.length()-T)){var V=this.clone();return I===0?(this.parent.insertBefore(V,this),this):(this.parent.insertBefore(V,this.next),V)}else{var q=o(w.prototype.__proto__||Object.getPrototypeOf(w.prototype),"split",this).call(this,I,D);return this.cache={},q}}}]),w}(d.default.Block);P.blotName="block",P.tagName="P",P.defaultChild="break",P.allowedChildren=[_.default,d.default.Embed,v.default];function N(O){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return O==null||(typeof O.formats=="function"&&(w=(0,s.default)(w,O.formats())),O.parent==null||O.parent.blotName=="scroll"||O.parent.statics.scope!==O.statics.scope)?w:N(O.parent,w)}r.bubbleFormats=N,r.BlockEmbed=S,r.default=P},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.overload=r.expandConfig=void 0;var a=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(K){return typeof K}:function(K){return K&&typeof Symbol=="function"&&K.constructor===Symbol&&K!==Symbol.prototype?"symbol":typeof K},o=function(){function K(H,M){var j=[],z=!0,Q=!1,X=void 0;try{for(var F=H[Symbol.iterator](),J;!(z=(J=F.next()).done)&&(j.push(J.value),!(M&&j.length===M));z=!0);}catch(ae){Q=!0,X=ae}finally{try{!z&&F.return&&F.return()}finally{if(Q)throw X}}return j}return function(H,M){if(Array.isArray(H))return H;if(Symbol.iterator in Object(H))return K(H,M);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),l=function(){function K(H,M){for(var j=0;j<M.length;j++){var z=M[j];z.enumerable=z.enumerable||!1,z.configurable=!0,"value"in z&&(z.writable=!0),Object.defineProperty(H,z.key,z)}}return function(H,M,j){return M&&K(H.prototype,M),j&&K(H,j),H}}();i(50);var s=i(2),u=N(s),f=i(14),c=N(f),d=i(8),h=N(d),y=i(9),g=N(y),_=i(0),m=N(_),v=i(15),b=N(v),p=i(3),E=N(p),k=i(10),T=N(k),S=i(34),P=N(S);function N(K){return K&&K.__esModule?K:{default:K}}function O(K,H,M){return H in K?Object.defineProperty(K,H,{value:M,enumerable:!0,configurable:!0,writable:!0}):K[H]=M,K}function w(K,H){if(!(K instanceof H))throw new TypeError("Cannot call a class as a function")}var C=(0,T.default)("quill"),I=function(){l(K,null,[{key:"debug",value:function(M){M===!0&&(M="log"),T.default.level(M)}},{key:"find",value:function(M){return M.__quill||m.default.find(M)}},{key:"import",value:function(M){return this.imports[M]==null&&C.error("Cannot import "+M+". Are you sure it was registered?"),this.imports[M]}},{key:"register",value:function(M,j){var z=this,Q=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(typeof M!="string"){var X=M.attrName||M.blotName;typeof X=="string"?this.register("formats/"+X,M,j):Object.keys(M).forEach(function(F){z.register(F,M[F],j)})}else this.imports[M]!=null&&!Q&&C.warn("Overwriting "+M+" with",j),this.imports[M]=j,(M.startsWith("blots/")||M.startsWith("formats/"))&&j.blotName!=="abstract"?m.default.register(j):M.startsWith("modules")&&typeof j.register=="function"&&j.register()}}]);function K(H){var M=this,j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(w(this,K),this.options=D(H,j),this.container=this.options.container,this.container==null)return C.error("Invalid Quill container",H);this.options.debug&&K.debug(this.options.debug);var z=this.container.innerHTML.trim();this.container.classList.add("ql-container"),this.container.innerHTML="",this.container.__quill=this,this.root=this.addContainer("ql-editor"),this.root.classList.add("ql-blank"),this.root.setAttribute("data-gramm",!1),this.scrollingContainer=this.options.scrollingContainer||this.root,this.emitter=new h.default,this.scroll=m.default.create(this.root,{emitter:this.emitter,whitelist:this.options.formats}),this.editor=new c.default(this.scroll),this.selection=new b.default(this.scroll,this.emitter),this.theme=new this.options.theme(this,this.options),this.keyboard=this.theme.addModule("keyboard"),this.clipboard=this.theme.addModule("clipboard"),this.history=this.theme.addModule("history"),this.theme.init(),this.emitter.on(h.default.events.EDITOR_CHANGE,function(X){X===h.default.events.TEXT_CHANGE&&M.root.classList.toggle("ql-blank",M.editor.isBlank())}),this.emitter.on(h.default.events.SCROLL_UPDATE,function(X,F){var J=M.selection.lastRange,ae=J&&J.length===0?J.index:void 0;V.call(M,function(){return M.editor.update(null,F,ae)},X)});var Q=this.clipboard.convert(`<div class='ql-editor' style="white-space: normal;">`+z+"<p><br></p></div>");this.setContents(Q),this.history.clear(),this.options.placeholder&&this.root.setAttribute("data-placeholder",this.options.placeholder),this.options.readOnly&&this.disable()}return l(K,[{key:"addContainer",value:function(M){var j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(typeof M=="string"){var z=M;M=document.createElement("div"),M.classList.add(z)}return this.container.insertBefore(M,j),M}},{key:"blur",value:function(){this.selection.setRange(null)}},{key:"deleteText",value:function(M,j,z){var Q=this,X=q(M,j,z),F=o(X,4);return M=F[0],j=F[1],z=F[3],V.call(this,function(){return Q.editor.deleteText(M,j)},z,M,-1*j)}},{key:"disable",value:function(){this.enable(!1)}},{key:"enable",value:function(){var M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;this.scroll.enable(M),this.container.classList.toggle("ql-disabled",!M)}},{key:"focus",value:function(){var M=this.scrollingContainer.scrollTop;this.selection.focus(),this.scrollingContainer.scrollTop=M,this.scrollIntoView()}},{key:"format",value:function(M,j){var z=this,Q=arguments.length>2&&arguments[2]!==void 0?arguments[2]:h.default.sources.API;return V.call(this,function(){var X=z.getSelection(!0),F=new u.default;if(X==null)return F;if(m.default.query(M,m.default.Scope.BLOCK))F=z.editor.formatLine(X.index,X.length,O({},M,j));else{if(X.length===0)return z.selection.format(M,j),F;F=z.editor.formatText(X.index,X.length,O({},M,j))}return z.setSelection(X,h.default.sources.SILENT),F},Q)}},{key:"formatLine",value:function(M,j,z,Q,X){var F=this,J=void 0,ae=q(M,j,z,Q,X),Z=o(ae,4);return M=Z[0],j=Z[1],J=Z[2],X=Z[3],V.call(this,function(){return F.editor.formatLine(M,j,J)},X,M,0)}},{key:"formatText",value:function(M,j,z,Q,X){var F=this,J=void 0,ae=q(M,j,z,Q,X),Z=o(ae,4);return M=Z[0],j=Z[1],J=Z[2],X=Z[3],V.call(this,function(){return F.editor.formatText(M,j,J)},X,M,0)}},{key:"getBounds",value:function(M){var j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,z=void 0;typeof M=="number"?z=this.selection.getBounds(M,j):z=this.selection.getBounds(M.index,M.length);var Q=this.container.getBoundingClientRect();return{bottom:z.bottom-Q.top,height:z.height,left:z.left-Q.left,right:z.right-Q.left,top:z.top-Q.top,width:z.width}}},{key:"getContents",value:function(){var M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.getLength()-M,z=q(M,j),Q=o(z,2);return M=Q[0],j=Q[1],this.editor.getContents(M,j)}},{key:"getFormat",value:function(){var M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.getSelection(!0),j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return typeof M=="number"?this.editor.getFormat(M,j):this.editor.getFormat(M.index,M.length)}},{key:"getIndex",value:function(M){return M.offset(this.scroll)}},{key:"getLength",value:function(){return this.scroll.length()}},{key:"getLeaf",value:function(M){return this.scroll.leaf(M)}},{key:"getLine",value:function(M){return this.scroll.line(M)}},{key:"getLines",value:function(){var M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Number.MAX_VALUE;return typeof M!="number"?this.scroll.lines(M.index,M.length):this.scroll.lines(M,j)}},{key:"getModule",value:function(M){return this.theme.modules[M]}},{key:"getSelection",value:function(){var M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return M&&this.focus(),this.update(),this.selection.getRange()[0]}},{key:"getText",value:function(){var M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.getLength()-M,z=q(M,j),Q=o(z,2);return M=Q[0],j=Q[1],this.editor.getText(M,j)}},{key:"hasFocus",value:function(){return this.selection.hasFocus()}},{key:"insertEmbed",value:function(M,j,z){var Q=this,X=arguments.length>3&&arguments[3]!==void 0?arguments[3]:K.sources.API;return V.call(this,function(){return Q.editor.insertEmbed(M,j,z)},X,M)}},{key:"insertText",value:function(M,j,z,Q,X){var F=this,J=void 0,ae=q(M,0,z,Q,X),Z=o(ae,4);return M=Z[0],J=Z[2],X=Z[3],V.call(this,function(){return F.editor.insertText(M,j,J)},X,M,j.length)}},{key:"isEnabled",value:function(){return!this.container.classList.contains("ql-disabled")}},{key:"off",value:function(){return this.emitter.off.apply(this.emitter,arguments)}},{key:"on",value:function(){return this.emitter.on.apply(this.emitter,arguments)}},{key:"once",value:function(){return this.emitter.once.apply(this.emitter,arguments)}},{key:"pasteHTML",value:function(M,j,z){this.clipboard.dangerouslyPasteHTML(M,j,z)}},{key:"removeFormat",value:function(M,j,z){var Q=this,X=q(M,j,z),F=o(X,4);return M=F[0],j=F[1],z=F[3],V.call(this,function(){return Q.editor.removeFormat(M,j)},z,M)}},{key:"scrollIntoView",value:function(){this.selection.scrollIntoView(this.scrollingContainer)}},{key:"setContents",value:function(M){var j=this,z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:h.default.sources.API;return V.call(this,function(){M=new u.default(M);var Q=j.getLength(),X=j.editor.deleteText(0,Q),F=j.editor.applyDelta(M),J=F.ops[F.ops.length-1];J!=null&&typeof J.insert=="string"&&J.insert[J.insert.length-1]===`
815
- `&&(j.editor.deleteText(j.getLength()-1,1),F.delete(1));var ae=X.compose(F);return ae},z)}},{key:"setSelection",value:function(M,j,z){if(M==null)this.selection.setRange(null,j||K.sources.API);else{var Q=q(M,j,z),X=o(Q,4);M=X[0],j=X[1],z=X[3],this.selection.setRange(new v.Range(M,j),z),z!==h.default.sources.SILENT&&this.selection.scrollIntoView(this.scrollingContainer)}}},{key:"setText",value:function(M){var j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:h.default.sources.API,z=new u.default().insert(M);return this.setContents(z,j)}},{key:"update",value:function(){var M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:h.default.sources.USER,j=this.scroll.update(M);return this.selection.update(M),j}},{key:"updateContents",value:function(M){var j=this,z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:h.default.sources.API;return V.call(this,function(){return M=new u.default(M),j.editor.applyDelta(M,z)},z,!0)}}]),K}();I.DEFAULTS={bounds:null,formats:null,modules:{},placeholder:"",readOnly:!1,scrollingContainer:null,strict:!0,theme:"default"},I.events=h.default.events,I.sources=h.default.sources,I.version="1.3.7",I.imports={delta:u.default,parchment:m.default,"core/module":g.default,"core/theme":P.default};function D(K,H){if(H=(0,E.default)(!0,{container:K,modules:{clipboard:!0,keyboard:!0,history:!0}},H),!H.theme||H.theme===I.DEFAULTS.theme)H.theme=P.default;else if(H.theme=I.import("themes/"+H.theme),H.theme==null)throw new Error("Invalid theme "+H.theme+". Did you register it?");var M=(0,E.default)(!0,{},H.theme.DEFAULTS);[M,H].forEach(function(Q){Q.modules=Q.modules||{},Object.keys(Q.modules).forEach(function(X){Q.modules[X]===!0&&(Q.modules[X]={})})});var j=Object.keys(M.modules).concat(Object.keys(H.modules)),z=j.reduce(function(Q,X){var F=I.import("modules/"+X);return F==null?C.error("Cannot load "+X+" module. Are you sure you registered it?"):Q[X]=F.DEFAULTS||{},Q},{});return H.modules!=null&&H.modules.toolbar&&H.modules.toolbar.constructor!==Object&&(H.modules.toolbar={container:H.modules.toolbar}),H=(0,E.default)(!0,{},I.DEFAULTS,{modules:z},M,H),["bounds","container","scrollingContainer"].forEach(function(Q){typeof H[Q]=="string"&&(H[Q]=document.querySelector(H[Q]))}),H.modules=Object.keys(H.modules).reduce(function(Q,X){return H.modules[X]&&(Q[X]=H.modules[X]),Q},{}),H}function V(K,H,M,j){if(this.options.strict&&!this.isEnabled()&&H===h.default.sources.USER)return new u.default;var z=M==null?null:this.getSelection(),Q=this.editor.delta,X=K();if(z!=null&&(M===!0&&(M=z.index),j==null?z=te(z,X,H):j!==0&&(z=te(z,M,j,H)),this.setSelection(z,h.default.sources.SILENT)),X.length()>0){var F,J=[h.default.events.TEXT_CHANGE,X,Q,H];if((F=this.emitter).emit.apply(F,[h.default.events.EDITOR_CHANGE].concat(J)),H!==h.default.sources.SILENT){var ae;(ae=this.emitter).emit.apply(ae,J)}}return X}function q(K,H,M,j,z){var Q={};return typeof K.index=="number"&&typeof K.length=="number"?typeof H!="number"?(z=j,j=M,M=H,H=K.length,K=K.index):(H=K.length,K=K.index):typeof H!="number"&&(z=j,j=M,M=H,H=0),(typeof M>"u"?"undefined":a(M))==="object"?(Q=M,z=j):typeof M=="string"&&(j!=null?Q[M]=j:z=M),z=z||h.default.sources.API,[K,H,Q,z]}function te(K,H,M,j){if(K==null)return null;var z=void 0,Q=void 0;if(H instanceof u.default){var X=[K.index,K.index+K.length].map(function(Z){return H.transformPosition(Z,j!==h.default.sources.USER)}),F=o(X,2);z=F[0],Q=F[1]}else{var J=[K.index,K.index+K.length].map(function(Z){return Z<H||Z===H&&j===h.default.sources.USER?Z:M>=0?Z+M:Math.max(H,Z+M)}),ae=o(J,2);z=ae[0],Q=ae[1]}return new v.Range(z,Q-z)}r.expandConfig=D,r.overload=q,r.default=I},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var a=function(){function _(m,v){for(var b=0;b<v.length;b++){var p=v[b];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(m,p.key,p)}}return function(m,v,b){return v&&_(m.prototype,v),b&&_(m,b),m}}(),o=function _(m,v,b){m===null&&(m=Function.prototype);var p=Object.getOwnPropertyDescriptor(m,v);if(p===void 0){var E=Object.getPrototypeOf(m);return E===null?void 0:_(E,v,b)}else{if("value"in p)return p.value;var k=p.get;return k===void 0?void 0:k.call(b)}},l=i(7),s=c(l),u=i(0),f=c(u);function c(_){return _&&_.__esModule?_:{default:_}}function d(_,m){if(!(_ instanceof m))throw new TypeError("Cannot call a class as a function")}function h(_,m){if(!_)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:_}function y(_,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);_.prototype=Object.create(m&&m.prototype,{constructor:{value:_,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(_,m):_.__proto__=m)}var g=function(_){y(m,_);function m(){return d(this,m),h(this,(m.__proto__||Object.getPrototypeOf(m)).apply(this,arguments))}return a(m,[{key:"formatAt",value:function(b,p,E,k){if(m.compare(this.statics.blotName,E)<0&&f.default.query(E,f.default.Scope.BLOT)){var T=this.isolate(b,p);k&&T.wrap(E,k)}else o(m.prototype.__proto__||Object.getPrototypeOf(m.prototype),"formatAt",this).call(this,b,p,E,k)}},{key:"optimize",value:function(b){if(o(m.prototype.__proto__||Object.getPrototypeOf(m.prototype),"optimize",this).call(this,b),this.parent instanceof m&&m.compare(this.statics.blotName,this.parent.statics.blotName)>0){var p=this.parent.isolate(this.offset(),this.length());this.moveChildren(p),p.wrap(this)}}}],[{key:"compare",value:function(b,p){var E=m.order.indexOf(b),k=m.order.indexOf(p);return E>=0||k>=0?E-k:b===p?0:b<p?-1:1}}]),m}(f.default.Inline);g.allowedChildren=[g,f.default.Embed,s.default],g.order=["cursor","inline","underline","strike","italic","bold","script","link","code"],r.default=g},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var a=i(0),o=l(a);function l(d){return d&&d.__esModule?d:{default:d}}function s(d,h){if(!(d instanceof h))throw new TypeError("Cannot call a class as a function")}function u(d,h){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:d}function f(d,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);d.prototype=Object.create(h&&h.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(d,h):d.__proto__=h)}var c=function(d){f(h,d);function h(){return s(this,h),u(this,(h.__proto__||Object.getPrototypeOf(h)).apply(this,arguments))}return h}(o.default.Text);r.default=c},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var a=function(){function v(b,p){for(var E=0;E<p.length;E++){var k=p[E];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(b,k.key,k)}}return function(b,p,E){return p&&v(b.prototype,p),E&&v(b,E),b}}(),o=function v(b,p,E){b===null&&(b=Function.prototype);var k=Object.getOwnPropertyDescriptor(b,p);if(k===void 0){var T=Object.getPrototypeOf(b);return T===null?void 0:v(T,p,E)}else{if("value"in k)return k.value;var S=k.get;return S===void 0?void 0:S.call(E)}},l=i(54),s=c(l),u=i(10),f=c(u);function c(v){return v&&v.__esModule?v:{default:v}}function d(v,b){if(!(v instanceof b))throw new TypeError("Cannot call a class as a function")}function h(v,b){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b&&(typeof b=="object"||typeof b=="function")?b:v}function y(v,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof b);v.prototype=Object.create(b&&b.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(v,b):v.__proto__=b)}var g=(0,f.default)("quill:events"),_=["selectionchange","mousedown","mouseup","click"];_.forEach(function(v){document.addEventListener(v,function(){for(var b=arguments.length,p=Array(b),E=0;E<b;E++)p[E]=arguments[E];[].slice.call(document.querySelectorAll(".ql-container")).forEach(function(k){if(k.__quill&&k.__quill.emitter){var T;(T=k.__quill.emitter).handleDOM.apply(T,p)}})})});var m=function(v){y(b,v);function b(){d(this,b);var p=h(this,(b.__proto__||Object.getPrototypeOf(b)).call(this));return p.listeners={},p.on("error",g.error),p}return a(b,[{key:"emit",value:function(){g.log.apply(g,arguments),o(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"emit",this).apply(this,arguments)}},{key:"handleDOM",value:function(E){for(var k=arguments.length,T=Array(k>1?k-1:0),S=1;S<k;S++)T[S-1]=arguments[S];(this.listeners[E.type]||[]).forEach(function(P){var N=P.node,O=P.handler;(E.target===N||N.contains(E.target))&&O.apply(void 0,[E].concat(T))})}},{key:"listenDOM",value:function(E,k,T){this.listeners[E]||(this.listeners[E]=[]),this.listeners[E].push({node:k,handler:T})}}]),b}(s.default);m.events={EDITOR_CHANGE:"editor-change",SCROLL_BEFORE_UPDATE:"scroll-before-update",SCROLL_OPTIMIZE:"scroll-optimize",SCROLL_UPDATE:"scroll-update",SELECTION_CHANGE:"selection-change",TEXT_CHANGE:"text-change"},m.sources={API:"api",SILENT:"silent",USER:"user"},r.default=m},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});function a(l,s){if(!(l instanceof s))throw new TypeError("Cannot call a class as a function")}var o=function l(s){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};a(this,l),this.quill=s,this.options=u};o.DEFAULTS={},r.default=o},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var a=["error","warn","log","info"],o="warn";function l(u){if(a.indexOf(u)<=a.indexOf(o)){for(var f,c=arguments.length,d=Array(c>1?c-1:0),h=1;h<c;h++)d[h-1]=arguments[h];(f=console)[u].apply(f,d)}}function s(u){return a.reduce(function(f,c){return f[c]=l.bind(console,c,u),f},{})}l.level=s.level=function(u){o=u},r.default=s},function(n,r,i){var a=Array.prototype.slice,o=i(52),l=i(53),s=n.exports=function(d,h,y){return y||(y={}),d===h?!0:d instanceof Date&&h instanceof Date?d.getTime()===h.getTime():!d||!h||typeof d!="object"&&typeof h!="object"?y.strict?d===h:d==h:c(d,h,y)};function u(d){return d==null}function f(d){return!(!d||typeof d!="object"||typeof d.length!="number"||typeof d.copy!="function"||typeof d.slice!="function"||d.length>0&&typeof d[0]!="number")}function c(d,h,y){var g,_;if(u(d)||u(h)||d.prototype!==h.prototype)return!1;if(l(d))return l(h)?(d=a.call(d),h=a.call(h),s(d,h,y)):!1;if(f(d)){if(!f(h)||d.length!==h.length)return!1;for(g=0;g<d.length;g++)if(d[g]!==h[g])return!1;return!0}try{var m=o(d),v=o(h)}catch{return!1}if(m.length!=v.length)return!1;for(m.sort(),v.sort(),g=m.length-1;g>=0;g--)if(m[g]!=v[g])return!1;for(g=m.length-1;g>=0;g--)if(_=m[g],!s(d[_],h[_],y))return!1;return typeof d==typeof h}},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var a=i(1),o=function(){function l(s,u,f){f===void 0&&(f={}),this.attrName=s,this.keyName=u;var c=a.Scope.TYPE&a.Scope.ATTRIBUTE;f.scope!=null?this.scope=f.scope&a.Scope.LEVEL|c:this.scope=a.Scope.ATTRIBUTE,f.whitelist!=null&&(this.whitelist=f.whitelist)}return l.keys=function(s){return[].map.call(s.attributes,function(u){return u.name})},l.prototype.add=function(s,u){return this.canAdd(s,u)?(s.setAttribute(this.keyName,u),!0):!1},l.prototype.canAdd=function(s,u){var f=a.query(s,a.Scope.BLOT&(this.scope|a.Scope.TYPE));return f==null?!1:this.whitelist==null?!0:typeof u=="string"?this.whitelist.indexOf(u.replace(/["']/g,""))>-1:this.whitelist.indexOf(u)>-1},l.prototype.remove=function(s){s.removeAttribute(this.keyName)},l.prototype.value=function(s){var u=s.getAttribute(this.keyName);return this.canAdd(s,u)&&u?u:""},l}();r.default=o},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.Code=void 0;var a=function(){function S(P,N){var O=[],w=!0,C=!1,I=void 0;try{for(var D=P[Symbol.iterator](),V;!(w=(V=D.next()).done)&&(O.push(V.value),!(N&&O.length===N));w=!0);}catch(q){C=!0,I=q}finally{try{!w&&D.return&&D.return()}finally{if(C)throw I}}return O}return function(P,N){if(Array.isArray(P))return P;if(Symbol.iterator in Object(P))return S(P,N);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=function(){function S(P,N){for(var O=0;O<N.length;O++){var w=N[O];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(P,w.key,w)}}return function(P,N,O){return N&&S(P.prototype,N),O&&S(P,O),P}}(),l=function S(P,N,O){P===null&&(P=Function.prototype);var w=Object.getOwnPropertyDescriptor(P,N);if(w===void 0){var C=Object.getPrototypeOf(P);return C===null?void 0:S(C,N,O)}else{if("value"in w)return w.value;var I=w.get;return I===void 0?void 0:I.call(O)}},s=i(2),u=v(s),f=i(0),c=v(f),d=i(4),h=v(d),y=i(6),g=v(y),_=i(7),m=v(_);function v(S){return S&&S.__esModule?S:{default:S}}function b(S,P){if(!(S instanceof P))throw new TypeError("Cannot call a class as a function")}function p(S,P){if(!S)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return P&&(typeof P=="object"||typeof P=="function")?P:S}function E(S,P){if(typeof P!="function"&&P!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof P);S.prototype=Object.create(P&&P.prototype,{constructor:{value:S,enumerable:!1,writable:!0,configurable:!0}}),P&&(Object.setPrototypeOf?Object.setPrototypeOf(S,P):S.__proto__=P)}var k=function(S){E(P,S);function P(){return b(this,P),p(this,(P.__proto__||Object.getPrototypeOf(P)).apply(this,arguments))}return P}(g.default);k.blotName="code",k.tagName="CODE";var T=function(S){E(P,S);function P(){return b(this,P),p(this,(P.__proto__||Object.getPrototypeOf(P)).apply(this,arguments))}return o(P,[{key:"delta",value:function(){var O=this,w=this.domNode.textContent;return w.endsWith(`
811
+ `;for(var h=s.iterator(this.ops),y=new f,g=0;h.hasNext();){if(h.peekType()!=="insert")return;var _=h.peek(),m=s.length(_)-h.peekLength(),v=typeof _.insert=="string"?_.insert.indexOf(d,m)-m:-1;if(v<0)y.push(h.next());else if(v>0)y.push(h.next(v));else{if(c(y,h.next(1).attributes||{},g)===!1)return;g+=1,y=new f}}y.length()>0&&c(y,{},g)},f.prototype.transform=function(c,d){if(d=!!d,typeof c=="number")return this.transformPosition(c,d);for(var h=s.iterator(this.ops),y=s.iterator(c.ops),g=new f;h.hasNext()||y.hasNext();)if(h.peekType()==="insert"&&(d||y.peekType()!=="insert"))g.retain(s.length(h.next()));else if(y.peekType()==="insert")g.push(y.next());else{var _=Math.min(h.peekLength(),y.peekLength()),m=h.next(_),v=y.next(_);if(m.delete)continue;v.delete?g.push(v):g.retain(_,s.attributes.transform(m.attributes,v.attributes,d))}return g.chop()},f.prototype.transformPosition=function(c,d){d=!!d;for(var h=s.iterator(this.ops),y=0;h.hasNext()&&y<=c;){var g=h.peekLength(),_=h.peekType();if(h.next(),_==="delete"){c-=Math.min(g,c-y);continue}else _==="insert"&&(y<c||!d)&&(c+=g);y+=g}return c},n.exports=f},function(n,r){var i=Object.prototype.hasOwnProperty,a=Object.prototype.toString,o=Object.defineProperty,l=Object.getOwnPropertyDescriptor,s=function(h){return typeof Array.isArray=="function"?Array.isArray(h):a.call(h)==="[object Array]"},u=function(h){if(!h||a.call(h)!=="[object Object]")return!1;var y=i.call(h,"constructor"),g=h.constructor&&h.constructor.prototype&&i.call(h.constructor.prototype,"isPrototypeOf");if(h.constructor&&!y&&!g)return!1;var _;for(_ in h);return typeof _>"u"||i.call(h,_)},f=function(h,y){o&&y.name==="__proto__"?o(h,y.name,{enumerable:!0,configurable:!0,value:y.newValue,writable:!0}):h[y.name]=y.newValue},c=function(h,y){if(y==="__proto__")if(i.call(h,y)){if(l)return l(h,y).value}else return;return h[y]};n.exports=function d(){var h,y,g,_,m,v,b=arguments[0],p=1,E=arguments.length,k=!1;for(typeof b=="boolean"&&(k=b,b=arguments[1]||{},p=2),(b==null||typeof b!="object"&&typeof b!="function")&&(b={});p<E;++p)if(h=arguments[p],h!=null)for(y in h)g=c(b,y),_=c(h,y),b!==_&&(k&&_&&(u(_)||(m=s(_)))?(m?(m=!1,v=g&&s(g)?g:[]):v=g&&u(g)?g:{},f(b,{name:y,newValue:d(k,v,_)})):typeof _<"u"&&f(b,{name:y,newValue:_}));return b}},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.BlockEmbed=r.bubbleFormats=void 0;var a=function(){function O(w,C){for(var I=0;I<C.length;I++){var D=C[I];D.enumerable=D.enumerable||!1,D.configurable=!0,"value"in D&&(D.writable=!0),Object.defineProperty(w,D.key,D)}}return function(w,C,I){return C&&O(w.prototype,C),I&&O(w,I),w}}(),o=function O(w,C,I){w===null&&(w=Function.prototype);var D=Object.getOwnPropertyDescriptor(w,C);if(D===void 0){var V=Object.getPrototypeOf(w);return V===null?void 0:O(V,C,I)}else{if("value"in D)return D.value;var U=D.get;return U===void 0?void 0:U.call(I)}},l=i(3),s=b(l),u=i(2),f=b(u),c=i(0),d=b(c),h=i(16),y=b(h),g=i(6),_=b(g),m=i(7),v=b(m);function b(O){return O&&O.__esModule?O:{default:O}}function p(O,w){if(!(O instanceof w))throw new TypeError("Cannot call a class as a function")}function E(O,w){if(!O)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return w&&(typeof w=="object"||typeof w=="function")?w:O}function k(O,w){if(typeof w!="function"&&w!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof w);O.prototype=Object.create(w&&w.prototype,{constructor:{value:O,enumerable:!1,writable:!0,configurable:!0}}),w&&(Object.setPrototypeOf?Object.setPrototypeOf(O,w):O.__proto__=w)}var T=1,S=function(O){k(w,O);function w(){return p(this,w),E(this,(w.__proto__||Object.getPrototypeOf(w)).apply(this,arguments))}return a(w,[{key:"attach",value:function(){o(w.prototype.__proto__||Object.getPrototypeOf(w.prototype),"attach",this).call(this),this.attributes=new d.default.Attributor.Store(this.domNode)}},{key:"delta",value:function(){return new f.default().insert(this.value(),(0,s.default)(this.formats(),this.attributes.values()))}},{key:"format",value:function(I,D){var V=d.default.query(I,d.default.Scope.BLOCK_ATTRIBUTE);V!=null&&this.attributes.attribute(V,D)}},{key:"formatAt",value:function(I,D,V,U){this.format(V,U)}},{key:"insertAt",value:function(I,D,V){if(typeof D=="string"&&D.endsWith(`
812
+ `)){var U=d.default.create(P.blotName);this.parent.insertBefore(U,I===0?this:this.next),U.insertAt(0,D.slice(0,-1))}else o(w.prototype.__proto__||Object.getPrototypeOf(w.prototype),"insertAt",this).call(this,I,D,V)}}]),w}(d.default.Embed);S.scope=d.default.Scope.BLOCK_BLOT;var P=function(O){k(w,O);function w(C){p(this,w);var I=E(this,(w.__proto__||Object.getPrototypeOf(w)).call(this,C));return I.cache={},I}return a(w,[{key:"delta",value:function(){return this.cache.delta==null&&(this.cache.delta=this.descendants(d.default.Leaf).reduce(function(I,D){return D.length()===0?I:I.insert(D.value(),N(D))},new f.default).insert(`
813
+ `,N(this))),this.cache.delta}},{key:"deleteAt",value:function(I,D){o(w.prototype.__proto__||Object.getPrototypeOf(w.prototype),"deleteAt",this).call(this,I,D),this.cache={}}},{key:"formatAt",value:function(I,D,V,U){D<=0||(d.default.query(V,d.default.Scope.BLOCK)?I+D===this.length()&&this.format(V,U):o(w.prototype.__proto__||Object.getPrototypeOf(w.prototype),"formatAt",this).call(this,I,Math.min(D,this.length()-I-1),V,U),this.cache={})}},{key:"insertAt",value:function(I,D,V){if(V!=null)return o(w.prototype.__proto__||Object.getPrototypeOf(w.prototype),"insertAt",this).call(this,I,D,V);if(D.length!==0){var U=D.split(`
814
+ `),te=U.shift();te.length>0&&(I<this.length()-1||this.children.tail==null?o(w.prototype.__proto__||Object.getPrototypeOf(w.prototype),"insertAt",this).call(this,Math.min(I,this.length()-1),te):this.children.tail.insertAt(this.children.tail.length(),te),this.cache={});var K=this;U.reduce(function(H,M){return K=K.split(H,!0),K.insertAt(0,M),M.length},I+te.length)}}},{key:"insertBefore",value:function(I,D){var V=this.children.head;o(w.prototype.__proto__||Object.getPrototypeOf(w.prototype),"insertBefore",this).call(this,I,D),V instanceof y.default&&V.remove(),this.cache={}}},{key:"length",value:function(){return this.cache.length==null&&(this.cache.length=o(w.prototype.__proto__||Object.getPrototypeOf(w.prototype),"length",this).call(this)+T),this.cache.length}},{key:"moveChildren",value:function(I,D){o(w.prototype.__proto__||Object.getPrototypeOf(w.prototype),"moveChildren",this).call(this,I,D),this.cache={}}},{key:"optimize",value:function(I){o(w.prototype.__proto__||Object.getPrototypeOf(w.prototype),"optimize",this).call(this,I),this.cache={}}},{key:"path",value:function(I){return o(w.prototype.__proto__||Object.getPrototypeOf(w.prototype),"path",this).call(this,I,!0)}},{key:"removeChild",value:function(I){o(w.prototype.__proto__||Object.getPrototypeOf(w.prototype),"removeChild",this).call(this,I),this.cache={}}},{key:"split",value:function(I){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(D&&(I===0||I>=this.length()-T)){var V=this.clone();return I===0?(this.parent.insertBefore(V,this),this):(this.parent.insertBefore(V,this.next),V)}else{var U=o(w.prototype.__proto__||Object.getPrototypeOf(w.prototype),"split",this).call(this,I,D);return this.cache={},U}}}]),w}(d.default.Block);P.blotName="block",P.tagName="P",P.defaultChild="break",P.allowedChildren=[_.default,d.default.Embed,v.default];function N(O){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return O==null||(typeof O.formats=="function"&&(w=(0,s.default)(w,O.formats())),O.parent==null||O.parent.blotName=="scroll"||O.parent.statics.scope!==O.statics.scope)?w:N(O.parent,w)}r.bubbleFormats=N,r.BlockEmbed=S,r.default=P},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.overload=r.expandConfig=void 0;var a=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(K){return typeof K}:function(K){return K&&typeof Symbol=="function"&&K.constructor===Symbol&&K!==Symbol.prototype?"symbol":typeof K},o=function(){function K(H,M){var j=[],z=!0,Z=!1,X=void 0;try{for(var F=H[Symbol.iterator](),J;!(z=(J=F.next()).done)&&(j.push(J.value),!(M&&j.length===M));z=!0);}catch(ae){Z=!0,X=ae}finally{try{!z&&F.return&&F.return()}finally{if(Z)throw X}}return j}return function(H,M){if(Array.isArray(H))return H;if(Symbol.iterator in Object(H))return K(H,M);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),l=function(){function K(H,M){for(var j=0;j<M.length;j++){var z=M[j];z.enumerable=z.enumerable||!1,z.configurable=!0,"value"in z&&(z.writable=!0),Object.defineProperty(H,z.key,z)}}return function(H,M,j){return M&&K(H.prototype,M),j&&K(H,j),H}}();i(50);var s=i(2),u=N(s),f=i(14),c=N(f),d=i(8),h=N(d),y=i(9),g=N(y),_=i(0),m=N(_),v=i(15),b=N(v),p=i(3),E=N(p),k=i(10),T=N(k),S=i(34),P=N(S);function N(K){return K&&K.__esModule?K:{default:K}}function O(K,H,M){return H in K?Object.defineProperty(K,H,{value:M,enumerable:!0,configurable:!0,writable:!0}):K[H]=M,K}function w(K,H){if(!(K instanceof H))throw new TypeError("Cannot call a class as a function")}var C=(0,T.default)("quill"),I=function(){l(K,null,[{key:"debug",value:function(M){M===!0&&(M="log"),T.default.level(M)}},{key:"find",value:function(M){return M.__quill||m.default.find(M)}},{key:"import",value:function(M){return this.imports[M]==null&&C.error("Cannot import "+M+". Are you sure it was registered?"),this.imports[M]}},{key:"register",value:function(M,j){var z=this,Z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(typeof M!="string"){var X=M.attrName||M.blotName;typeof X=="string"?this.register("formats/"+X,M,j):Object.keys(M).forEach(function(F){z.register(F,M[F],j)})}else this.imports[M]!=null&&!Z&&C.warn("Overwriting "+M+" with",j),this.imports[M]=j,(M.startsWith("blots/")||M.startsWith("formats/"))&&j.blotName!=="abstract"?m.default.register(j):M.startsWith("modules")&&typeof j.register=="function"&&j.register()}}]);function K(H){var M=this,j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(w(this,K),this.options=D(H,j),this.container=this.options.container,this.container==null)return C.error("Invalid Quill container",H);this.options.debug&&K.debug(this.options.debug);var z=this.container.innerHTML.trim();this.container.classList.add("ql-container"),this.container.innerHTML="",this.container.__quill=this,this.root=this.addContainer("ql-editor"),this.root.classList.add("ql-blank"),this.root.setAttribute("data-gramm",!1),this.scrollingContainer=this.options.scrollingContainer||this.root,this.emitter=new h.default,this.scroll=m.default.create(this.root,{emitter:this.emitter,whitelist:this.options.formats}),this.editor=new c.default(this.scroll),this.selection=new b.default(this.scroll,this.emitter),this.theme=new this.options.theme(this,this.options),this.keyboard=this.theme.addModule("keyboard"),this.clipboard=this.theme.addModule("clipboard"),this.history=this.theme.addModule("history"),this.theme.init(),this.emitter.on(h.default.events.EDITOR_CHANGE,function(X){X===h.default.events.TEXT_CHANGE&&M.root.classList.toggle("ql-blank",M.editor.isBlank())}),this.emitter.on(h.default.events.SCROLL_UPDATE,function(X,F){var J=M.selection.lastRange,ae=J&&J.length===0?J.index:void 0;V.call(M,function(){return M.editor.update(null,F,ae)},X)});var Z=this.clipboard.convert(`<div class='ql-editor' style="white-space: normal;">`+z+"<p><br></p></div>");this.setContents(Z),this.history.clear(),this.options.placeholder&&this.root.setAttribute("data-placeholder",this.options.placeholder),this.options.readOnly&&this.disable()}return l(K,[{key:"addContainer",value:function(M){var j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(typeof M=="string"){var z=M;M=document.createElement("div"),M.classList.add(z)}return this.container.insertBefore(M,j),M}},{key:"blur",value:function(){this.selection.setRange(null)}},{key:"deleteText",value:function(M,j,z){var Z=this,X=U(M,j,z),F=o(X,4);return M=F[0],j=F[1],z=F[3],V.call(this,function(){return Z.editor.deleteText(M,j)},z,M,-1*j)}},{key:"disable",value:function(){this.enable(!1)}},{key:"enable",value:function(){var M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;this.scroll.enable(M),this.container.classList.toggle("ql-disabled",!M)}},{key:"focus",value:function(){var M=this.scrollingContainer.scrollTop;this.selection.focus(),this.scrollingContainer.scrollTop=M,this.scrollIntoView()}},{key:"format",value:function(M,j){var z=this,Z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:h.default.sources.API;return V.call(this,function(){var X=z.getSelection(!0),F=new u.default;if(X==null)return F;if(m.default.query(M,m.default.Scope.BLOCK))F=z.editor.formatLine(X.index,X.length,O({},M,j));else{if(X.length===0)return z.selection.format(M,j),F;F=z.editor.formatText(X.index,X.length,O({},M,j))}return z.setSelection(X,h.default.sources.SILENT),F},Z)}},{key:"formatLine",value:function(M,j,z,Z,X){var F=this,J=void 0,ae=U(M,j,z,Z,X),Q=o(ae,4);return M=Q[0],j=Q[1],J=Q[2],X=Q[3],V.call(this,function(){return F.editor.formatLine(M,j,J)},X,M,0)}},{key:"formatText",value:function(M,j,z,Z,X){var F=this,J=void 0,ae=U(M,j,z,Z,X),Q=o(ae,4);return M=Q[0],j=Q[1],J=Q[2],X=Q[3],V.call(this,function(){return F.editor.formatText(M,j,J)},X,M,0)}},{key:"getBounds",value:function(M){var j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,z=void 0;typeof M=="number"?z=this.selection.getBounds(M,j):z=this.selection.getBounds(M.index,M.length);var Z=this.container.getBoundingClientRect();return{bottom:z.bottom-Z.top,height:z.height,left:z.left-Z.left,right:z.right-Z.left,top:z.top-Z.top,width:z.width}}},{key:"getContents",value:function(){var M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.getLength()-M,z=U(M,j),Z=o(z,2);return M=Z[0],j=Z[1],this.editor.getContents(M,j)}},{key:"getFormat",value:function(){var M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.getSelection(!0),j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return typeof M=="number"?this.editor.getFormat(M,j):this.editor.getFormat(M.index,M.length)}},{key:"getIndex",value:function(M){return M.offset(this.scroll)}},{key:"getLength",value:function(){return this.scroll.length()}},{key:"getLeaf",value:function(M){return this.scroll.leaf(M)}},{key:"getLine",value:function(M){return this.scroll.line(M)}},{key:"getLines",value:function(){var M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Number.MAX_VALUE;return typeof M!="number"?this.scroll.lines(M.index,M.length):this.scroll.lines(M,j)}},{key:"getModule",value:function(M){return this.theme.modules[M]}},{key:"getSelection",value:function(){var M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return M&&this.focus(),this.update(),this.selection.getRange()[0]}},{key:"getText",value:function(){var M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.getLength()-M,z=U(M,j),Z=o(z,2);return M=Z[0],j=Z[1],this.editor.getText(M,j)}},{key:"hasFocus",value:function(){return this.selection.hasFocus()}},{key:"insertEmbed",value:function(M,j,z){var Z=this,X=arguments.length>3&&arguments[3]!==void 0?arguments[3]:K.sources.API;return V.call(this,function(){return Z.editor.insertEmbed(M,j,z)},X,M)}},{key:"insertText",value:function(M,j,z,Z,X){var F=this,J=void 0,ae=U(M,0,z,Z,X),Q=o(ae,4);return M=Q[0],J=Q[2],X=Q[3],V.call(this,function(){return F.editor.insertText(M,j,J)},X,M,j.length)}},{key:"isEnabled",value:function(){return!this.container.classList.contains("ql-disabled")}},{key:"off",value:function(){return this.emitter.off.apply(this.emitter,arguments)}},{key:"on",value:function(){return this.emitter.on.apply(this.emitter,arguments)}},{key:"once",value:function(){return this.emitter.once.apply(this.emitter,arguments)}},{key:"pasteHTML",value:function(M,j,z){this.clipboard.dangerouslyPasteHTML(M,j,z)}},{key:"removeFormat",value:function(M,j,z){var Z=this,X=U(M,j,z),F=o(X,4);return M=F[0],j=F[1],z=F[3],V.call(this,function(){return Z.editor.removeFormat(M,j)},z,M)}},{key:"scrollIntoView",value:function(){this.selection.scrollIntoView(this.scrollingContainer)}},{key:"setContents",value:function(M){var j=this,z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:h.default.sources.API;return V.call(this,function(){M=new u.default(M);var Z=j.getLength(),X=j.editor.deleteText(0,Z),F=j.editor.applyDelta(M),J=F.ops[F.ops.length-1];J!=null&&typeof J.insert=="string"&&J.insert[J.insert.length-1]===`
815
+ `&&(j.editor.deleteText(j.getLength()-1,1),F.delete(1));var ae=X.compose(F);return ae},z)}},{key:"setSelection",value:function(M,j,z){if(M==null)this.selection.setRange(null,j||K.sources.API);else{var Z=U(M,j,z),X=o(Z,4);M=X[0],j=X[1],z=X[3],this.selection.setRange(new v.Range(M,j),z),z!==h.default.sources.SILENT&&this.selection.scrollIntoView(this.scrollingContainer)}}},{key:"setText",value:function(M){var j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:h.default.sources.API,z=new u.default().insert(M);return this.setContents(z,j)}},{key:"update",value:function(){var M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:h.default.sources.USER,j=this.scroll.update(M);return this.selection.update(M),j}},{key:"updateContents",value:function(M){var j=this,z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:h.default.sources.API;return V.call(this,function(){return M=new u.default(M),j.editor.applyDelta(M,z)},z,!0)}}]),K}();I.DEFAULTS={bounds:null,formats:null,modules:{},placeholder:"",readOnly:!1,scrollingContainer:null,strict:!0,theme:"default"},I.events=h.default.events,I.sources=h.default.sources,I.version="1.3.7",I.imports={delta:u.default,parchment:m.default,"core/module":g.default,"core/theme":P.default};function D(K,H){if(H=(0,E.default)(!0,{container:K,modules:{clipboard:!0,keyboard:!0,history:!0}},H),!H.theme||H.theme===I.DEFAULTS.theme)H.theme=P.default;else if(H.theme=I.import("themes/"+H.theme),H.theme==null)throw new Error("Invalid theme "+H.theme+". Did you register it?");var M=(0,E.default)(!0,{},H.theme.DEFAULTS);[M,H].forEach(function(Z){Z.modules=Z.modules||{},Object.keys(Z.modules).forEach(function(X){Z.modules[X]===!0&&(Z.modules[X]={})})});var j=Object.keys(M.modules).concat(Object.keys(H.modules)),z=j.reduce(function(Z,X){var F=I.import("modules/"+X);return F==null?C.error("Cannot load "+X+" module. Are you sure you registered it?"):Z[X]=F.DEFAULTS||{},Z},{});return H.modules!=null&&H.modules.toolbar&&H.modules.toolbar.constructor!==Object&&(H.modules.toolbar={container:H.modules.toolbar}),H=(0,E.default)(!0,{},I.DEFAULTS,{modules:z},M,H),["bounds","container","scrollingContainer"].forEach(function(Z){typeof H[Z]=="string"&&(H[Z]=document.querySelector(H[Z]))}),H.modules=Object.keys(H.modules).reduce(function(Z,X){return H.modules[X]&&(Z[X]=H.modules[X]),Z},{}),H}function V(K,H,M,j){if(this.options.strict&&!this.isEnabled()&&H===h.default.sources.USER)return new u.default;var z=M==null?null:this.getSelection(),Z=this.editor.delta,X=K();if(z!=null&&(M===!0&&(M=z.index),j==null?z=te(z,X,H):j!==0&&(z=te(z,M,j,H)),this.setSelection(z,h.default.sources.SILENT)),X.length()>0){var F,J=[h.default.events.TEXT_CHANGE,X,Z,H];if((F=this.emitter).emit.apply(F,[h.default.events.EDITOR_CHANGE].concat(J)),H!==h.default.sources.SILENT){var ae;(ae=this.emitter).emit.apply(ae,J)}}return X}function U(K,H,M,j,z){var Z={};return typeof K.index=="number"&&typeof K.length=="number"?typeof H!="number"?(z=j,j=M,M=H,H=K.length,K=K.index):(H=K.length,K=K.index):typeof H!="number"&&(z=j,j=M,M=H,H=0),(typeof M>"u"?"undefined":a(M))==="object"?(Z=M,z=j):typeof M=="string"&&(j!=null?Z[M]=j:z=M),z=z||h.default.sources.API,[K,H,Z,z]}function te(K,H,M,j){if(K==null)return null;var z=void 0,Z=void 0;if(H instanceof u.default){var X=[K.index,K.index+K.length].map(function(Q){return H.transformPosition(Q,j!==h.default.sources.USER)}),F=o(X,2);z=F[0],Z=F[1]}else{var J=[K.index,K.index+K.length].map(function(Q){return Q<H||Q===H&&j===h.default.sources.USER?Q:M>=0?Q+M:Math.max(H,Q+M)}),ae=o(J,2);z=ae[0],Z=ae[1]}return new v.Range(z,Z-z)}r.expandConfig=D,r.overload=U,r.default=I},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var a=function(){function _(m,v){for(var b=0;b<v.length;b++){var p=v[b];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(m,p.key,p)}}return function(m,v,b){return v&&_(m.prototype,v),b&&_(m,b),m}}(),o=function _(m,v,b){m===null&&(m=Function.prototype);var p=Object.getOwnPropertyDescriptor(m,v);if(p===void 0){var E=Object.getPrototypeOf(m);return E===null?void 0:_(E,v,b)}else{if("value"in p)return p.value;var k=p.get;return k===void 0?void 0:k.call(b)}},l=i(7),s=c(l),u=i(0),f=c(u);function c(_){return _&&_.__esModule?_:{default:_}}function d(_,m){if(!(_ instanceof m))throw new TypeError("Cannot call a class as a function")}function h(_,m){if(!_)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:_}function y(_,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);_.prototype=Object.create(m&&m.prototype,{constructor:{value:_,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(_,m):_.__proto__=m)}var g=function(_){y(m,_);function m(){return d(this,m),h(this,(m.__proto__||Object.getPrototypeOf(m)).apply(this,arguments))}return a(m,[{key:"formatAt",value:function(b,p,E,k){if(m.compare(this.statics.blotName,E)<0&&f.default.query(E,f.default.Scope.BLOT)){var T=this.isolate(b,p);k&&T.wrap(E,k)}else o(m.prototype.__proto__||Object.getPrototypeOf(m.prototype),"formatAt",this).call(this,b,p,E,k)}},{key:"optimize",value:function(b){if(o(m.prototype.__proto__||Object.getPrototypeOf(m.prototype),"optimize",this).call(this,b),this.parent instanceof m&&m.compare(this.statics.blotName,this.parent.statics.blotName)>0){var p=this.parent.isolate(this.offset(),this.length());this.moveChildren(p),p.wrap(this)}}}],[{key:"compare",value:function(b,p){var E=m.order.indexOf(b),k=m.order.indexOf(p);return E>=0||k>=0?E-k:b===p?0:b<p?-1:1}}]),m}(f.default.Inline);g.allowedChildren=[g,f.default.Embed,s.default],g.order=["cursor","inline","underline","strike","italic","bold","script","link","code"],r.default=g},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var a=i(0),o=l(a);function l(d){return d&&d.__esModule?d:{default:d}}function s(d,h){if(!(d instanceof h))throw new TypeError("Cannot call a class as a function")}function u(d,h){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:d}function f(d,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);d.prototype=Object.create(h&&h.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(d,h):d.__proto__=h)}var c=function(d){f(h,d);function h(){return s(this,h),u(this,(h.__proto__||Object.getPrototypeOf(h)).apply(this,arguments))}return h}(o.default.Text);r.default=c},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var a=function(){function v(b,p){for(var E=0;E<p.length;E++){var k=p[E];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(b,k.key,k)}}return function(b,p,E){return p&&v(b.prototype,p),E&&v(b,E),b}}(),o=function v(b,p,E){b===null&&(b=Function.prototype);var k=Object.getOwnPropertyDescriptor(b,p);if(k===void 0){var T=Object.getPrototypeOf(b);return T===null?void 0:v(T,p,E)}else{if("value"in k)return k.value;var S=k.get;return S===void 0?void 0:S.call(E)}},l=i(54),s=c(l),u=i(10),f=c(u);function c(v){return v&&v.__esModule?v:{default:v}}function d(v,b){if(!(v instanceof b))throw new TypeError("Cannot call a class as a function")}function h(v,b){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b&&(typeof b=="object"||typeof b=="function")?b:v}function y(v,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof b);v.prototype=Object.create(b&&b.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(v,b):v.__proto__=b)}var g=(0,f.default)("quill:events"),_=["selectionchange","mousedown","mouseup","click"];_.forEach(function(v){document.addEventListener(v,function(){for(var b=arguments.length,p=Array(b),E=0;E<b;E++)p[E]=arguments[E];[].slice.call(document.querySelectorAll(".ql-container")).forEach(function(k){if(k.__quill&&k.__quill.emitter){var T;(T=k.__quill.emitter).handleDOM.apply(T,p)}})})});var m=function(v){y(b,v);function b(){d(this,b);var p=h(this,(b.__proto__||Object.getPrototypeOf(b)).call(this));return p.listeners={},p.on("error",g.error),p}return a(b,[{key:"emit",value:function(){g.log.apply(g,arguments),o(b.prototype.__proto__||Object.getPrototypeOf(b.prototype),"emit",this).apply(this,arguments)}},{key:"handleDOM",value:function(E){for(var k=arguments.length,T=Array(k>1?k-1:0),S=1;S<k;S++)T[S-1]=arguments[S];(this.listeners[E.type]||[]).forEach(function(P){var N=P.node,O=P.handler;(E.target===N||N.contains(E.target))&&O.apply(void 0,[E].concat(T))})}},{key:"listenDOM",value:function(E,k,T){this.listeners[E]||(this.listeners[E]=[]),this.listeners[E].push({node:k,handler:T})}}]),b}(s.default);m.events={EDITOR_CHANGE:"editor-change",SCROLL_BEFORE_UPDATE:"scroll-before-update",SCROLL_OPTIMIZE:"scroll-optimize",SCROLL_UPDATE:"scroll-update",SELECTION_CHANGE:"selection-change",TEXT_CHANGE:"text-change"},m.sources={API:"api",SILENT:"silent",USER:"user"},r.default=m},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});function a(l,s){if(!(l instanceof s))throw new TypeError("Cannot call a class as a function")}var o=function l(s){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};a(this,l),this.quill=s,this.options=u};o.DEFAULTS={},r.default=o},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var a=["error","warn","log","info"],o="warn";function l(u){if(a.indexOf(u)<=a.indexOf(o)){for(var f,c=arguments.length,d=Array(c>1?c-1:0),h=1;h<c;h++)d[h-1]=arguments[h];(f=console)[u].apply(f,d)}}function s(u){return a.reduce(function(f,c){return f[c]=l.bind(console,c,u),f},{})}l.level=s.level=function(u){o=u},r.default=s},function(n,r,i){var a=Array.prototype.slice,o=i(52),l=i(53),s=n.exports=function(d,h,y){return y||(y={}),d===h?!0:d instanceof Date&&h instanceof Date?d.getTime()===h.getTime():!d||!h||typeof d!="object"&&typeof h!="object"?y.strict?d===h:d==h:c(d,h,y)};function u(d){return d==null}function f(d){return!(!d||typeof d!="object"||typeof d.length!="number"||typeof d.copy!="function"||typeof d.slice!="function"||d.length>0&&typeof d[0]!="number")}function c(d,h,y){var g,_;if(u(d)||u(h)||d.prototype!==h.prototype)return!1;if(l(d))return l(h)?(d=a.call(d),h=a.call(h),s(d,h,y)):!1;if(f(d)){if(!f(h)||d.length!==h.length)return!1;for(g=0;g<d.length;g++)if(d[g]!==h[g])return!1;return!0}try{var m=o(d),v=o(h)}catch{return!1}if(m.length!=v.length)return!1;for(m.sort(),v.sort(),g=m.length-1;g>=0;g--)if(m[g]!=v[g])return!1;for(g=m.length-1;g>=0;g--)if(_=m[g],!s(d[_],h[_],y))return!1;return typeof d==typeof h}},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var a=i(1),o=function(){function l(s,u,f){f===void 0&&(f={}),this.attrName=s,this.keyName=u;var c=a.Scope.TYPE&a.Scope.ATTRIBUTE;f.scope!=null?this.scope=f.scope&a.Scope.LEVEL|c:this.scope=a.Scope.ATTRIBUTE,f.whitelist!=null&&(this.whitelist=f.whitelist)}return l.keys=function(s){return[].map.call(s.attributes,function(u){return u.name})},l.prototype.add=function(s,u){return this.canAdd(s,u)?(s.setAttribute(this.keyName,u),!0):!1},l.prototype.canAdd=function(s,u){var f=a.query(s,a.Scope.BLOT&(this.scope|a.Scope.TYPE));return f==null?!1:this.whitelist==null?!0:typeof u=="string"?this.whitelist.indexOf(u.replace(/["']/g,""))>-1:this.whitelist.indexOf(u)>-1},l.prototype.remove=function(s){s.removeAttribute(this.keyName)},l.prototype.value=function(s){var u=s.getAttribute(this.keyName);return this.canAdd(s,u)&&u?u:""},l}();r.default=o},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.Code=void 0;var a=function(){function S(P,N){var O=[],w=!0,C=!1,I=void 0;try{for(var D=P[Symbol.iterator](),V;!(w=(V=D.next()).done)&&(O.push(V.value),!(N&&O.length===N));w=!0);}catch(U){C=!0,I=U}finally{try{!w&&D.return&&D.return()}finally{if(C)throw I}}return O}return function(P,N){if(Array.isArray(P))return P;if(Symbol.iterator in Object(P))return S(P,N);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=function(){function S(P,N){for(var O=0;O<N.length;O++){var w=N[O];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(P,w.key,w)}}return function(P,N,O){return N&&S(P.prototype,N),O&&S(P,O),P}}(),l=function S(P,N,O){P===null&&(P=Function.prototype);var w=Object.getOwnPropertyDescriptor(P,N);if(w===void 0){var C=Object.getPrototypeOf(P);return C===null?void 0:S(C,N,O)}else{if("value"in w)return w.value;var I=w.get;return I===void 0?void 0:I.call(O)}},s=i(2),u=v(s),f=i(0),c=v(f),d=i(4),h=v(d),y=i(6),g=v(y),_=i(7),m=v(_);function v(S){return S&&S.__esModule?S:{default:S}}function b(S,P){if(!(S instanceof P))throw new TypeError("Cannot call a class as a function")}function p(S,P){if(!S)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return P&&(typeof P=="object"||typeof P=="function")?P:S}function E(S,P){if(typeof P!="function"&&P!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof P);S.prototype=Object.create(P&&P.prototype,{constructor:{value:S,enumerable:!1,writable:!0,configurable:!0}}),P&&(Object.setPrototypeOf?Object.setPrototypeOf(S,P):S.__proto__=P)}var k=function(S){E(P,S);function P(){return b(this,P),p(this,(P.__proto__||Object.getPrototypeOf(P)).apply(this,arguments))}return P}(g.default);k.blotName="code",k.tagName="CODE";var T=function(S){E(P,S);function P(){return b(this,P),p(this,(P.__proto__||Object.getPrototypeOf(P)).apply(this,arguments))}return o(P,[{key:"delta",value:function(){var O=this,w=this.domNode.textContent;return w.endsWith(`
816
816
  `)&&(w=w.slice(0,-1)),w.split(`
817
817
  `).reduce(function(C,I){return C.insert(I).insert(`
818
- `,O.formats())},new u.default)}},{key:"format",value:function(O,w){if(!(O===this.statics.blotName&&w)){var C=this.descendant(m.default,this.length()-1),I=a(C,1),D=I[0];D?.deleteAt(D.length()-1,1),l(P.prototype.__proto__||Object.getPrototypeOf(P.prototype),"format",this).call(this,O,w)}}},{key:"formatAt",value:function(O,w,C,I){if(w!==0&&!(c.default.query(C,c.default.Scope.BLOCK)==null||C===this.statics.blotName&&I===this.statics.formats(this.domNode))){var D=this.newlineIndex(O);if(!(D<0||D>=O+w)){var V=this.newlineIndex(O,!0)+1,q=D-V+1,te=this.isolate(V,q),K=te.next;te.format(C,I),K instanceof P&&K.formatAt(0,O-V+w-q,C,I)}}}},{key:"insertAt",value:function(O,w,C){if(C==null){var I=this.descendant(m.default,O),D=a(I,2),V=D[0],q=D[1];V.insertAt(q,w)}}},{key:"length",value:function(){var O=this.domNode.textContent.length;return this.domNode.textContent.endsWith(`
818
+ `,O.formats())},new u.default)}},{key:"format",value:function(O,w){if(!(O===this.statics.blotName&&w)){var C=this.descendant(m.default,this.length()-1),I=a(C,1),D=I[0];D?.deleteAt(D.length()-1,1),l(P.prototype.__proto__||Object.getPrototypeOf(P.prototype),"format",this).call(this,O,w)}}},{key:"formatAt",value:function(O,w,C,I){if(w!==0&&!(c.default.query(C,c.default.Scope.BLOCK)==null||C===this.statics.blotName&&I===this.statics.formats(this.domNode))){var D=this.newlineIndex(O);if(!(D<0||D>=O+w)){var V=this.newlineIndex(O,!0)+1,U=D-V+1,te=this.isolate(V,U),K=te.next;te.format(C,I),K instanceof P&&K.formatAt(0,O-V+w-U,C,I)}}}},{key:"insertAt",value:function(O,w,C){if(C==null){var I=this.descendant(m.default,O),D=a(I,2),V=D[0],U=D[1];V.insertAt(U,w)}}},{key:"length",value:function(){var O=this.domNode.textContent.length;return this.domNode.textContent.endsWith(`
819
819
  `)?O:O+1}},{key:"newlineIndex",value:function(O){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(w)return this.domNode.textContent.slice(0,O).lastIndexOf(`
820
820
  `);var C=this.domNode.textContent.slice(O).indexOf(`
821
821
  `);return C>-1?O+C:-1}},{key:"optimize",value:function(O){this.domNode.textContent.endsWith(`
822
822
  `)||this.appendChild(c.default.create("text",`
823
- `)),l(P.prototype.__proto__||Object.getPrototypeOf(P.prototype),"optimize",this).call(this,O);var w=this.next;w!=null&&w.prev===this&&w.statics.blotName===this.statics.blotName&&this.statics.formats(this.domNode)===w.statics.formats(w.domNode)&&(w.optimize(O),w.moveChildren(this),w.remove())}},{key:"replace",value:function(O){l(P.prototype.__proto__||Object.getPrototypeOf(P.prototype),"replace",this).call(this,O),[].slice.call(this.domNode.querySelectorAll("*")).forEach(function(w){var C=c.default.find(w);C==null?w.parentNode.removeChild(w):C instanceof c.default.Embed?C.remove():C.unwrap()})}}],[{key:"create",value:function(O){var w=l(P.__proto__||Object.getPrototypeOf(P),"create",this).call(this,O);return w.setAttribute("spellcheck",!1),w}},{key:"formats",value:function(){return!0}}]),P}(h.default);T.blotName="code-block",T.tagName="PRE",T.TAB=" ",r.Code=k,r.default=T},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var a=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(K){return typeof K}:function(K){return K&&typeof Symbol=="function"&&K.constructor===Symbol&&K!==Symbol.prototype?"symbol":typeof K},o=function(){function K(H,M){var j=[],z=!0,Q=!1,X=void 0;try{for(var F=H[Symbol.iterator](),J;!(z=(J=F.next()).done)&&(j.push(J.value),!(M&&j.length===M));z=!0);}catch(ae){Q=!0,X=ae}finally{try{!z&&F.return&&F.return()}finally{if(Q)throw X}}return j}return function(H,M){if(Array.isArray(H))return H;if(Symbol.iterator in Object(H))return K(H,M);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),l=function(){function K(H,M){for(var j=0;j<M.length;j++){var z=M[j];z.enumerable=z.enumerable||!1,z.configurable=!0,"value"in z&&(z.writable=!0),Object.defineProperty(H,z.key,z)}}return function(H,M,j){return M&&K(H.prototype,M),j&&K(H,j),H}}(),s=i(2),u=w(s),f=i(20),c=w(f),d=i(0),h=w(d),y=i(13),g=w(y),_=i(24),m=w(_),v=i(4),b=w(v),p=i(16),E=w(p),k=i(21),T=w(k),S=i(11),P=w(S),N=i(3),O=w(N);function w(K){return K&&K.__esModule?K:{default:K}}function C(K,H,M){return H in K?Object.defineProperty(K,H,{value:M,enumerable:!0,configurable:!0,writable:!0}):K[H]=M,K}function I(K,H){if(!(K instanceof H))throw new TypeError("Cannot call a class as a function")}var D=/^[ -~]*$/,V=function(){function K(H){I(this,K),this.scroll=H,this.delta=this.getDelta()}return l(K,[{key:"applyDelta",value:function(M){var j=this,z=!1;this.scroll.update();var Q=this.scroll.length();return this.scroll.batchStart(),M=te(M),M.reduce(function(X,F){var J=F.retain||F.delete||F.insert.length||1,ae=F.attributes||{};if(F.insert!=null){if(typeof F.insert=="string"){var Z=F.insert;Z.endsWith(`
824
- `)&&z&&(z=!1,Z=Z.slice(0,-1)),X>=Q&&!Z.endsWith(`
825
- `)&&(z=!0),j.scroll.insertAt(X,Z);var se=j.scroll.line(X),he=o(se,2),B=he[0],L=he[1],x=(0,O.default)({},(0,v.bubbleFormats)(B));if(B instanceof b.default){var $=B.descendant(h.default.Leaf,L),ee=o($,1),le=ee[0];x=(0,O.default)(x,(0,v.bubbleFormats)(le))}ae=c.default.attributes.diff(x,ae)||{}}else if(a(F.insert)==="object"){var U=Object.keys(F.insert)[0];if(U==null)return X;j.scroll.insertAt(X,U,F.insert[U])}Q+=J}return Object.keys(ae).forEach(function(W){j.scroll.formatAt(X,J,W,ae[W])}),X+J},0),M.reduce(function(X,F){return typeof F.delete=="number"?(j.scroll.deleteAt(X,F.delete),X):X+(F.retain||F.insert.length||1)},0),this.scroll.batchEnd(),this.update(M)}},{key:"deleteText",value:function(M,j){return this.scroll.deleteAt(M,j),this.update(new u.default().retain(M).delete(j))}},{key:"formatLine",value:function(M,j){var z=this,Q=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.scroll.update(),Object.keys(Q).forEach(function(X){if(!(z.scroll.whitelist!=null&&!z.scroll.whitelist[X])){var F=z.scroll.lines(M,Math.max(j,1)),J=j;F.forEach(function(ae){var Z=ae.length();if(!(ae instanceof g.default))ae.format(X,Q[X]);else{var se=M-ae.offset(z.scroll),he=ae.newlineIndex(se+J)-se+1;ae.formatAt(se,he,X,Q[X])}J-=Z})}}),this.scroll.optimize(),this.update(new u.default().retain(M).retain(j,(0,T.default)(Q)))}},{key:"formatText",value:function(M,j){var z=this,Q=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return Object.keys(Q).forEach(function(X){z.scroll.formatAt(M,j,X,Q[X])}),this.update(new u.default().retain(M).retain(j,(0,T.default)(Q)))}},{key:"getContents",value:function(M,j){return this.delta.slice(M,M+j)}},{key:"getDelta",value:function(){return this.scroll.lines().reduce(function(M,j){return M.concat(j.delta())},new u.default)}},{key:"getFormat",value:function(M){var j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,z=[],Q=[];j===0?this.scroll.path(M).forEach(function(F){var J=o(F,1),ae=J[0];ae instanceof b.default?z.push(ae):ae instanceof h.default.Leaf&&Q.push(ae)}):(z=this.scroll.lines(M,j),Q=this.scroll.descendants(h.default.Leaf,M,j));var X=[z,Q].map(function(F){if(F.length===0)return{};for(var J=(0,v.bubbleFormats)(F.shift());Object.keys(J).length>0;){var ae=F.shift();if(ae==null)return J;J=q((0,v.bubbleFormats)(ae),J)}return J});return O.default.apply(O.default,X)}},{key:"getText",value:function(M,j){return this.getContents(M,j).filter(function(z){return typeof z.insert=="string"}).map(function(z){return z.insert}).join("")}},{key:"insertEmbed",value:function(M,j,z){return this.scroll.insertAt(M,j,z),this.update(new u.default().retain(M).insert(C({},j,z)))}},{key:"insertText",value:function(M,j){var z=this,Q=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return j=j.replace(/\r\n/g,`
823
+ `)),l(P.prototype.__proto__||Object.getPrototypeOf(P.prototype),"optimize",this).call(this,O);var w=this.next;w!=null&&w.prev===this&&w.statics.blotName===this.statics.blotName&&this.statics.formats(this.domNode)===w.statics.formats(w.domNode)&&(w.optimize(O),w.moveChildren(this),w.remove())}},{key:"replace",value:function(O){l(P.prototype.__proto__||Object.getPrototypeOf(P.prototype),"replace",this).call(this,O),[].slice.call(this.domNode.querySelectorAll("*")).forEach(function(w){var C=c.default.find(w);C==null?w.parentNode.removeChild(w):C instanceof c.default.Embed?C.remove():C.unwrap()})}}],[{key:"create",value:function(O){var w=l(P.__proto__||Object.getPrototypeOf(P),"create",this).call(this,O);return w.setAttribute("spellcheck",!1),w}},{key:"formats",value:function(){return!0}}]),P}(h.default);T.blotName="code-block",T.tagName="PRE",T.TAB=" ",r.Code=k,r.default=T},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var a=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(K){return typeof K}:function(K){return K&&typeof Symbol=="function"&&K.constructor===Symbol&&K!==Symbol.prototype?"symbol":typeof K},o=function(){function K(H,M){var j=[],z=!0,Z=!1,X=void 0;try{for(var F=H[Symbol.iterator](),J;!(z=(J=F.next()).done)&&(j.push(J.value),!(M&&j.length===M));z=!0);}catch(ae){Z=!0,X=ae}finally{try{!z&&F.return&&F.return()}finally{if(Z)throw X}}return j}return function(H,M){if(Array.isArray(H))return H;if(Symbol.iterator in Object(H))return K(H,M);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),l=function(){function K(H,M){for(var j=0;j<M.length;j++){var z=M[j];z.enumerable=z.enumerable||!1,z.configurable=!0,"value"in z&&(z.writable=!0),Object.defineProperty(H,z.key,z)}}return function(H,M,j){return M&&K(H.prototype,M),j&&K(H,j),H}}(),s=i(2),u=w(s),f=i(20),c=w(f),d=i(0),h=w(d),y=i(13),g=w(y),_=i(24),m=w(_),v=i(4),b=w(v),p=i(16),E=w(p),k=i(21),T=w(k),S=i(11),P=w(S),N=i(3),O=w(N);function w(K){return K&&K.__esModule?K:{default:K}}function C(K,H,M){return H in K?Object.defineProperty(K,H,{value:M,enumerable:!0,configurable:!0,writable:!0}):K[H]=M,K}function I(K,H){if(!(K instanceof H))throw new TypeError("Cannot call a class as a function")}var D=/^[ -~]*$/,V=function(){function K(H){I(this,K),this.scroll=H,this.delta=this.getDelta()}return l(K,[{key:"applyDelta",value:function(M){var j=this,z=!1;this.scroll.update();var Z=this.scroll.length();return this.scroll.batchStart(),M=te(M),M.reduce(function(X,F){var J=F.retain||F.delete||F.insert.length||1,ae=F.attributes||{};if(F.insert!=null){if(typeof F.insert=="string"){var Q=F.insert;Q.endsWith(`
824
+ `)&&z&&(z=!1,Q=Q.slice(0,-1)),X>=Z&&!Q.endsWith(`
825
+ `)&&(z=!0),j.scroll.insertAt(X,Q);var se=j.scroll.line(X),he=o(se,2),B=he[0],L=he[1],x=(0,O.default)({},(0,v.bubbleFormats)(B));if(B instanceof b.default){var $=B.descendant(h.default.Leaf,L),ee=o($,1),le=ee[0];x=(0,O.default)(x,(0,v.bubbleFormats)(le))}ae=c.default.attributes.diff(x,ae)||{}}else if(a(F.insert)==="object"){var q=Object.keys(F.insert)[0];if(q==null)return X;j.scroll.insertAt(X,q,F.insert[q])}Z+=J}return Object.keys(ae).forEach(function(W){j.scroll.formatAt(X,J,W,ae[W])}),X+J},0),M.reduce(function(X,F){return typeof F.delete=="number"?(j.scroll.deleteAt(X,F.delete),X):X+(F.retain||F.insert.length||1)},0),this.scroll.batchEnd(),this.update(M)}},{key:"deleteText",value:function(M,j){return this.scroll.deleteAt(M,j),this.update(new u.default().retain(M).delete(j))}},{key:"formatLine",value:function(M,j){var z=this,Z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.scroll.update(),Object.keys(Z).forEach(function(X){if(!(z.scroll.whitelist!=null&&!z.scroll.whitelist[X])){var F=z.scroll.lines(M,Math.max(j,1)),J=j;F.forEach(function(ae){var Q=ae.length();if(!(ae instanceof g.default))ae.format(X,Z[X]);else{var se=M-ae.offset(z.scroll),he=ae.newlineIndex(se+J)-se+1;ae.formatAt(se,he,X,Z[X])}J-=Q})}}),this.scroll.optimize(),this.update(new u.default().retain(M).retain(j,(0,T.default)(Z)))}},{key:"formatText",value:function(M,j){var z=this,Z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return Object.keys(Z).forEach(function(X){z.scroll.formatAt(M,j,X,Z[X])}),this.update(new u.default().retain(M).retain(j,(0,T.default)(Z)))}},{key:"getContents",value:function(M,j){return this.delta.slice(M,M+j)}},{key:"getDelta",value:function(){return this.scroll.lines().reduce(function(M,j){return M.concat(j.delta())},new u.default)}},{key:"getFormat",value:function(M){var j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,z=[],Z=[];j===0?this.scroll.path(M).forEach(function(F){var J=o(F,1),ae=J[0];ae instanceof b.default?z.push(ae):ae instanceof h.default.Leaf&&Z.push(ae)}):(z=this.scroll.lines(M,j),Z=this.scroll.descendants(h.default.Leaf,M,j));var X=[z,Z].map(function(F){if(F.length===0)return{};for(var J=(0,v.bubbleFormats)(F.shift());Object.keys(J).length>0;){var ae=F.shift();if(ae==null)return J;J=U((0,v.bubbleFormats)(ae),J)}return J});return O.default.apply(O.default,X)}},{key:"getText",value:function(M,j){return this.getContents(M,j).filter(function(z){return typeof z.insert=="string"}).map(function(z){return z.insert}).join("")}},{key:"insertEmbed",value:function(M,j,z){return this.scroll.insertAt(M,j,z),this.update(new u.default().retain(M).insert(C({},j,z)))}},{key:"insertText",value:function(M,j){var z=this,Z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return j=j.replace(/\r\n/g,`
826
826
  `).replace(/\r/g,`
827
- `),this.scroll.insertAt(M,j),Object.keys(Q).forEach(function(X){z.scroll.formatAt(M,j.length,X,Q[X])}),this.update(new u.default().retain(M).insert(j,(0,T.default)(Q)))}},{key:"isBlank",value:function(){if(this.scroll.children.length==0)return!0;if(this.scroll.children.length>1)return!1;var M=this.scroll.children.head;return M.statics.blotName!==b.default.blotName||M.children.length>1?!1:M.children.head instanceof E.default}},{key:"removeFormat",value:function(M,j){var z=this.getText(M,j),Q=this.scroll.line(M+j),X=o(Q,2),F=X[0],J=X[1],ae=0,Z=new u.default;F!=null&&(F instanceof g.default?ae=F.newlineIndex(J)-J+1:ae=F.length()-J,Z=F.delta().slice(J,J+ae-1).insert(`
828
- `));var se=this.getContents(M,j+ae),he=se.diff(new u.default().insert(z).concat(Z)),B=new u.default().retain(M).concat(he);return this.applyDelta(B)}},{key:"update",value:function(M){var j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0,Q=this.delta;if(j.length===1&&j[0].type==="characterData"&&j[0].target.data.match(D)&&h.default.find(j[0].target)){var X=h.default.find(j[0].target),F=(0,v.bubbleFormats)(X),J=X.offset(this.scroll),ae=j[0].oldValue.replace(m.default.CONTENTS,""),Z=new u.default().insert(ae),se=new u.default().insert(X.value()),he=new u.default().retain(J).concat(Z.diff(se,z));M=he.reduce(function(B,L){return L.insert?B.insert(L.insert,F):B.push(L)},new u.default),this.delta=Q.compose(M)}else this.delta=this.getDelta(),(!M||!(0,P.default)(Q.compose(M),this.delta))&&(M=Q.diff(this.delta,z));return M}}]),K}();function q(K,H){return Object.keys(H).reduce(function(M,j){return K[j]==null||(H[j]===K[j]?M[j]=H[j]:Array.isArray(H[j])?H[j].indexOf(K[j])<0&&(M[j]=H[j].concat([K[j]])):M[j]=[H[j],K[j]]),M},{})}function te(K){return K.reduce(function(H,M){if(M.insert===1){var j=(0,T.default)(M.attributes);return delete j.image,H.insert({image:M.attributes.image},j)}if(M.attributes!=null&&(M.attributes.list===!0||M.attributes.bullet===!0)&&(M=(0,T.default)(M),M.attributes.list?M.attributes.list="ordered":(M.attributes.list="bullet",delete M.attributes.bullet)),typeof M.insert=="string"){var z=M.insert.replace(/\r\n/g,`
827
+ `),this.scroll.insertAt(M,j),Object.keys(Z).forEach(function(X){z.scroll.formatAt(M,j.length,X,Z[X])}),this.update(new u.default().retain(M).insert(j,(0,T.default)(Z)))}},{key:"isBlank",value:function(){if(this.scroll.children.length==0)return!0;if(this.scroll.children.length>1)return!1;var M=this.scroll.children.head;return M.statics.blotName!==b.default.blotName||M.children.length>1?!1:M.children.head instanceof E.default}},{key:"removeFormat",value:function(M,j){var z=this.getText(M,j),Z=this.scroll.line(M+j),X=o(Z,2),F=X[0],J=X[1],ae=0,Q=new u.default;F!=null&&(F instanceof g.default?ae=F.newlineIndex(J)-J+1:ae=F.length()-J,Q=F.delta().slice(J,J+ae-1).insert(`
828
+ `));var se=this.getContents(M,j+ae),he=se.diff(new u.default().insert(z).concat(Q)),B=new u.default().retain(M).concat(he);return this.applyDelta(B)}},{key:"update",value:function(M){var j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0,Z=this.delta;if(j.length===1&&j[0].type==="characterData"&&j[0].target.data.match(D)&&h.default.find(j[0].target)){var X=h.default.find(j[0].target),F=(0,v.bubbleFormats)(X),J=X.offset(this.scroll),ae=j[0].oldValue.replace(m.default.CONTENTS,""),Q=new u.default().insert(ae),se=new u.default().insert(X.value()),he=new u.default().retain(J).concat(Q.diff(se,z));M=he.reduce(function(B,L){return L.insert?B.insert(L.insert,F):B.push(L)},new u.default),this.delta=Z.compose(M)}else this.delta=this.getDelta(),(!M||!(0,P.default)(Z.compose(M),this.delta))&&(M=Z.diff(this.delta,z));return M}}]),K}();function U(K,H){return Object.keys(H).reduce(function(M,j){return K[j]==null||(H[j]===K[j]?M[j]=H[j]:Array.isArray(H[j])?H[j].indexOf(K[j])<0&&(M[j]=H[j].concat([K[j]])):M[j]=[H[j],K[j]]),M},{})}function te(K){return K.reduce(function(H,M){if(M.insert===1){var j=(0,T.default)(M.attributes);return delete j.image,H.insert({image:M.attributes.image},j)}if(M.attributes!=null&&(M.attributes.list===!0||M.attributes.bullet===!0)&&(M=(0,T.default)(M),M.attributes.list?M.attributes.list="ordered":(M.attributes.list="bullet",delete M.attributes.bullet)),typeof M.insert=="string"){var z=M.insert.replace(/\r\n/g,`
829
829
  `).replace(/\r/g,`
830
- `);return H.insert(z,M.attributes)}return H.push(M)},new u.default)}r.default=V},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.Range=void 0;var a=function(){function S(P,N){var O=[],w=!0,C=!1,I=void 0;try{for(var D=P[Symbol.iterator](),V;!(w=(V=D.next()).done)&&(O.push(V.value),!(N&&O.length===N));w=!0);}catch(q){C=!0,I=q}finally{try{!w&&D.return&&D.return()}finally{if(C)throw I}}return O}return function(P,N){if(Array.isArray(P))return P;if(Symbol.iterator in Object(P))return S(P,N);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=function(){function S(P,N){for(var O=0;O<N.length;O++){var w=N[O];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(P,w.key,w)}}return function(P,N,O){return N&&S(P.prototype,N),O&&S(P,O),P}}(),l=i(0),s=m(l),u=i(21),f=m(u),c=i(11),d=m(c),h=i(8),y=m(h),g=i(10),_=m(g);function m(S){return S&&S.__esModule?S:{default:S}}function v(S){if(Array.isArray(S)){for(var P=0,N=Array(S.length);P<S.length;P++)N[P]=S[P];return N}else return Array.from(S)}function b(S,P){if(!(S instanceof P))throw new TypeError("Cannot call a class as a function")}var p=(0,_.default)("quill:selection"),E=function S(P){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;b(this,S),this.index=P,this.length=N},k=function(){function S(P,N){var O=this;b(this,S),this.emitter=N,this.scroll=P,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=s.default.create("cursor",this),this.lastRange=this.savedRange=new E(0,0),this.handleComposition(),this.handleDragging(),this.emitter.listenDOM("selectionchange",document,function(){O.mouseDown||setTimeout(O.update.bind(O,y.default.sources.USER),1)}),this.emitter.on(y.default.events.EDITOR_CHANGE,function(w,C){w===y.default.events.TEXT_CHANGE&&C.length()>0&&O.update(y.default.sources.SILENT)}),this.emitter.on(y.default.events.SCROLL_BEFORE_UPDATE,function(){if(O.hasFocus()){var w=O.getNativeRange();w!=null&&w.start.node!==O.cursor.textNode&&O.emitter.once(y.default.events.SCROLL_UPDATE,function(){try{O.setNativeRange(w.start.node,w.start.offset,w.end.node,w.end.offset)}catch{}})}}),this.emitter.on(y.default.events.SCROLL_OPTIMIZE,function(w,C){if(C.range){var I=C.range,D=I.startNode,V=I.startOffset,q=I.endNode,te=I.endOffset;O.setNativeRange(D,V,q,te)}}),this.update(y.default.sources.SILENT)}return o(S,[{key:"handleComposition",value:function(){var N=this;this.root.addEventListener("compositionstart",function(){N.composing=!0}),this.root.addEventListener("compositionend",function(){if(N.composing=!1,N.cursor.parent){var O=N.cursor.restore();if(!O)return;setTimeout(function(){N.setNativeRange(O.startNode,O.startOffset,O.endNode,O.endOffset)},1)}})}},{key:"handleDragging",value:function(){var N=this;this.emitter.listenDOM("mousedown",document.body,function(){N.mouseDown=!0}),this.emitter.listenDOM("mouseup",document.body,function(){N.mouseDown=!1,N.update(y.default.sources.USER)})}},{key:"focus",value:function(){this.hasFocus()||(this.root.focus(),this.setRange(this.savedRange))}},{key:"format",value:function(N,O){if(!(this.scroll.whitelist!=null&&!this.scroll.whitelist[N])){this.scroll.update();var w=this.getNativeRange();if(!(w==null||!w.native.collapsed||s.default.query(N,s.default.Scope.BLOCK))){if(w.start.node!==this.cursor.textNode){var C=s.default.find(w.start.node,!1);if(C==null)return;if(C instanceof s.default.Leaf){var I=C.split(w.start.offset);C.parent.insertBefore(this.cursor,I)}else C.insertBefore(this.cursor,w.start.node);this.cursor.attach()}this.cursor.format(N,O),this.scroll.optimize(),this.setNativeRange(this.cursor.textNode,this.cursor.textNode.data.length),this.update()}}}},{key:"getBounds",value:function(N){var O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,w=this.scroll.length();N=Math.min(N,w-1),O=Math.min(N+O,w-1)-N;var C=void 0,I=this.scroll.leaf(N),D=a(I,2),V=D[0],q=D[1];if(V==null)return null;var te=V.position(q,!0),K=a(te,2);C=K[0],q=K[1];var H=document.createRange();if(O>0){H.setStart(C,q);var M=this.scroll.leaf(N+O),j=a(M,2);if(V=j[0],q=j[1],V==null)return null;var z=V.position(q,!0),Q=a(z,2);return C=Q[0],q=Q[1],H.setEnd(C,q),H.getBoundingClientRect()}else{var X="left",F=void 0;return C instanceof Text?(q<C.data.length?(H.setStart(C,q),H.setEnd(C,q+1)):(H.setStart(C,q-1),H.setEnd(C,q),X="right"),F=H.getBoundingClientRect()):(F=V.domNode.getBoundingClientRect(),q>0&&(X="right")),{bottom:F.top+F.height,height:F.height,left:F[X],right:F[X],top:F.top,width:0}}}},{key:"getNativeRange",value:function(){var N=document.getSelection();if(N==null||N.rangeCount<=0)return null;var O=N.getRangeAt(0);if(O==null)return null;var w=this.normalizeNative(O);return p.info("getNativeRange",w),w}},{key:"getRange",value:function(){var N=this.getNativeRange();if(N==null)return[null,null];var O=this.normalizedToRange(N);return[O,N]}},{key:"hasFocus",value:function(){return document.activeElement===this.root}},{key:"normalizedToRange",value:function(N){var O=this,w=[[N.start.node,N.start.offset]];N.native.collapsed||w.push([N.end.node,N.end.offset]);var C=w.map(function(V){var q=a(V,2),te=q[0],K=q[1],H=s.default.find(te,!0),M=H.offset(O.scroll);return K===0?M:H instanceof s.default.Container?M+H.length():M+H.index(te,K)}),I=Math.min(Math.max.apply(Math,v(C)),this.scroll.length()-1),D=Math.min.apply(Math,[I].concat(v(C)));return new E(D,I-D)}},{key:"normalizeNative",value:function(N){if(!T(this.root,N.startContainer)||!N.collapsed&&!T(this.root,N.endContainer))return null;var O={start:{node:N.startContainer,offset:N.startOffset},end:{node:N.endContainer,offset:N.endOffset},native:N};return[O.start,O.end].forEach(function(w){for(var C=w.node,I=w.offset;!(C instanceof Text)&&C.childNodes.length>0;)if(C.childNodes.length>I)C=C.childNodes[I],I=0;else if(C.childNodes.length===I)C=C.lastChild,I=C instanceof Text?C.data.length:C.childNodes.length+1;else break;w.node=C,w.offset=I}),O}},{key:"rangeToNative",value:function(N){var O=this,w=N.collapsed?[N.index]:[N.index,N.index+N.length],C=[],I=this.scroll.length();return w.forEach(function(D,V){D=Math.min(I-1,D);var q=void 0,te=O.scroll.leaf(D),K=a(te,2),H=K[0],M=K[1],j=H.position(M,V!==0),z=a(j,2);q=z[0],M=z[1],C.push(q,M)}),C.length<2&&(C=C.concat(C)),C}},{key:"scrollIntoView",value:function(N){var O=this.lastRange;if(O!=null){var w=this.getBounds(O.index,O.length);if(w!=null){var C=this.scroll.length()-1,I=this.scroll.line(Math.min(O.index,C)),D=a(I,1),V=D[0],q=V;if(O.length>0){var te=this.scroll.line(Math.min(O.index+O.length,C)),K=a(te,1);q=K[0]}if(!(V==null||q==null)){var H=N.getBoundingClientRect();w.top<H.top?N.scrollTop-=H.top-w.top:w.bottom>H.bottom&&(N.scrollTop+=w.bottom-H.bottom)}}}}},{key:"setNativeRange",value:function(N,O){var w=arguments.length>2&&arguments[2]!==void 0?arguments[2]:N,C=arguments.length>3&&arguments[3]!==void 0?arguments[3]:O,I=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(p.info("setNativeRange",N,O,w,C),!(N!=null&&(this.root.parentNode==null||N.parentNode==null||w.parentNode==null))){var D=document.getSelection();if(D!=null)if(N!=null){this.hasFocus()||this.root.focus();var V=(this.getNativeRange()||{}).native;if(V==null||I||N!==V.startContainer||O!==V.startOffset||w!==V.endContainer||C!==V.endOffset){N.tagName=="BR"&&(O=[].indexOf.call(N.parentNode.childNodes,N),N=N.parentNode),w.tagName=="BR"&&(C=[].indexOf.call(w.parentNode.childNodes,w),w=w.parentNode);var q=document.createRange();q.setStart(N,O),q.setEnd(w,C),D.removeAllRanges(),D.addRange(q)}}else D.removeAllRanges(),this.root.blur(),document.body.focus()}}},{key:"setRange",value:function(N){var O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,w=arguments.length>2&&arguments[2]!==void 0?arguments[2]:y.default.sources.API;if(typeof O=="string"&&(w=O,O=!1),p.info("setRange",N),N!=null){var C=this.rangeToNative(N);this.setNativeRange.apply(this,v(C).concat([O]))}else this.setNativeRange(null);this.update(w)}},{key:"update",value:function(){var N=arguments.length>0&&arguments[0]!==void 0?arguments[0]:y.default.sources.USER,O=this.lastRange,w=this.getRange(),C=a(w,2),I=C[0],D=C[1];if(this.lastRange=I,this.lastRange!=null&&(this.savedRange=this.lastRange),!(0,d.default)(O,this.lastRange)){var V;!this.composing&&D!=null&&D.native.collapsed&&D.start.node!==this.cursor.textNode&&this.cursor.restore();var q=[y.default.events.SELECTION_CHANGE,(0,f.default)(this.lastRange),(0,f.default)(O),N];if((V=this.emitter).emit.apply(V,[y.default.events.EDITOR_CHANGE].concat(q)),N!==y.default.sources.SILENT){var te;(te=this.emitter).emit.apply(te,q)}}}}]),S}();function T(S,P){try{P.parentNode}catch{return!1}return P instanceof Text&&(P=P.parentNode),S.contains(P)}r.Range=E,r.default=k},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var a=function(){function y(g,_){for(var m=0;m<_.length;m++){var v=_[m];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(g,v.key,v)}}return function(g,_,m){return _&&y(g.prototype,_),m&&y(g,m),g}}(),o=function y(g,_,m){g===null&&(g=Function.prototype);var v=Object.getOwnPropertyDescriptor(g,_);if(v===void 0){var b=Object.getPrototypeOf(g);return b===null?void 0:y(b,_,m)}else{if("value"in v)return v.value;var p=v.get;return p===void 0?void 0:p.call(m)}},l=i(0),s=u(l);function u(y){return y&&y.__esModule?y:{default:y}}function f(y,g){if(!(y instanceof g))throw new TypeError("Cannot call a class as a function")}function c(y,g){if(!y)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:y}function d(y,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);y.prototype=Object.create(g&&g.prototype,{constructor:{value:y,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(y,g):y.__proto__=g)}var h=function(y){d(g,y);function g(){return f(this,g),c(this,(g.__proto__||Object.getPrototypeOf(g)).apply(this,arguments))}return a(g,[{key:"insertInto",value:function(m,v){m.children.length===0?o(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"insertInto",this).call(this,m,v):this.remove()}},{key:"length",value:function(){return 0}},{key:"value",value:function(){return""}}],[{key:"value",value:function(){}}]),g}(s.default.Embed);h.blotName="break",h.tagName="BR",r.default=h},function(n,r,i){var a=this&&this.__extends||function(){var c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,h){d.__proto__=h}||function(d,h){for(var y in h)h.hasOwnProperty(y)&&(d[y]=h[y])};return function(d,h){c(d,h);function y(){this.constructor=d}d.prototype=h===null?Object.create(h):(y.prototype=h.prototype,new y)}}();Object.defineProperty(r,"__esModule",{value:!0});var o=i(44),l=i(30),s=i(1),u=function(c){a(d,c);function d(h){var y=c.call(this,h)||this;return y.build(),y}return d.prototype.appendChild=function(h){this.insertBefore(h)},d.prototype.attach=function(){c.prototype.attach.call(this),this.children.forEach(function(h){h.attach()})},d.prototype.build=function(){var h=this;this.children=new o.default,[].slice.call(this.domNode.childNodes).reverse().forEach(function(y){try{var g=f(y);h.insertBefore(g,h.children.head||void 0)}catch(_){if(_ instanceof s.ParchmentError)return;throw _}})},d.prototype.deleteAt=function(h,y){if(h===0&&y===this.length())return this.remove();this.children.forEachAt(h,y,function(g,_,m){g.deleteAt(_,m)})},d.prototype.descendant=function(h,y){var g=this.children.find(y),_=g[0],m=g[1];return h.blotName==null&&h(_)||h.blotName!=null&&_ instanceof h?[_,m]:_ instanceof d?_.descendant(h,m):[null,-1]},d.prototype.descendants=function(h,y,g){y===void 0&&(y=0),g===void 0&&(g=Number.MAX_VALUE);var _=[],m=g;return this.children.forEachAt(y,g,function(v,b,p){(h.blotName==null&&h(v)||h.blotName!=null&&v instanceof h)&&_.push(v),v instanceof d&&(_=_.concat(v.descendants(h,b,m))),m-=p}),_},d.prototype.detach=function(){this.children.forEach(function(h){h.detach()}),c.prototype.detach.call(this)},d.prototype.formatAt=function(h,y,g,_){this.children.forEachAt(h,y,function(m,v,b){m.formatAt(v,b,g,_)})},d.prototype.insertAt=function(h,y,g){var _=this.children.find(h),m=_[0],v=_[1];if(m)m.insertAt(v,y,g);else{var b=g==null?s.create("text",y):s.create(y,g);this.appendChild(b)}},d.prototype.insertBefore=function(h,y){if(this.statics.allowedChildren!=null&&!this.statics.allowedChildren.some(function(g){return h instanceof g}))throw new s.ParchmentError("Cannot insert "+h.statics.blotName+" into "+this.statics.blotName);h.insertInto(this,y)},d.prototype.length=function(){return this.children.reduce(function(h,y){return h+y.length()},0)},d.prototype.moveChildren=function(h,y){this.children.forEach(function(g){h.insertBefore(g,y)})},d.prototype.optimize=function(h){if(c.prototype.optimize.call(this,h),this.children.length===0)if(this.statics.defaultChild!=null){var y=s.create(this.statics.defaultChild);this.appendChild(y),y.optimize(h)}else this.remove()},d.prototype.path=function(h,y){y===void 0&&(y=!1);var g=this.children.find(h,y),_=g[0],m=g[1],v=[[this,h]];return _ instanceof d?v.concat(_.path(m,y)):(_!=null&&v.push([_,m]),v)},d.prototype.removeChild=function(h){this.children.remove(h)},d.prototype.replace=function(h){h instanceof d&&h.moveChildren(this),c.prototype.replace.call(this,h)},d.prototype.split=function(h,y){if(y===void 0&&(y=!1),!y){if(h===0)return this;if(h===this.length())return this.next}var g=this.clone();return this.parent.insertBefore(g,this.next),this.children.forEachAt(h,this.length(),function(_,m,v){_=_.split(m,y),g.appendChild(_)}),g},d.prototype.unwrap=function(){this.moveChildren(this.parent,this.next),this.remove()},d.prototype.update=function(h,y){var g=this,_=[],m=[];h.forEach(function(v){v.target===g.domNode&&v.type==="childList"&&(_.push.apply(_,v.addedNodes),m.push.apply(m,v.removedNodes))}),m.forEach(function(v){if(!(v.parentNode!=null&&v.tagName!=="IFRAME"&&document.body.compareDocumentPosition(v)&Node.DOCUMENT_POSITION_CONTAINED_BY)){var b=s.find(v);b!=null&&(b.domNode.parentNode==null||b.domNode.parentNode===g.domNode)&&b.detach()}}),_.filter(function(v){return v.parentNode==g.domNode}).sort(function(v,b){return v===b?0:v.compareDocumentPosition(b)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1}).forEach(function(v){var b=null;v.nextSibling!=null&&(b=s.find(v.nextSibling));var p=f(v);(p.next!=b||p.next==null)&&(p.parent!=null&&p.parent.removeChild(g),g.insertBefore(p,b||void 0))})},d}(l.default);function f(c){var d=s.find(c);if(d==null)try{d=s.create(c)}catch{d=s.create(s.Scope.INLINE),[].slice.call(c.childNodes).forEach(function(y){d.domNode.appendChild(y)}),c.parentNode&&c.parentNode.replaceChild(d.domNode,c),d.attach()}return d}r.default=u},function(n,r,i){var a=this&&this.__extends||function(){var c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,h){d.__proto__=h}||function(d,h){for(var y in h)h.hasOwnProperty(y)&&(d[y]=h[y])};return function(d,h){c(d,h);function y(){this.constructor=d}d.prototype=h===null?Object.create(h):(y.prototype=h.prototype,new y)}}();Object.defineProperty(r,"__esModule",{value:!0});var o=i(12),l=i(31),s=i(17),u=i(1),f=function(c){a(d,c);function d(h){var y=c.call(this,h)||this;return y.attributes=new l.default(y.domNode),y}return d.formats=function(h){if(typeof this.tagName=="string")return!0;if(Array.isArray(this.tagName))return h.tagName.toLowerCase()},d.prototype.format=function(h,y){var g=u.query(h);g instanceof o.default?this.attributes.attribute(g,y):y&&g!=null&&(h!==this.statics.blotName||this.formats()[h]!==y)&&this.replaceWith(h,y)},d.prototype.formats=function(){var h=this.attributes.values(),y=this.statics.formats(this.domNode);return y!=null&&(h[this.statics.blotName]=y),h},d.prototype.replaceWith=function(h,y){var g=c.prototype.replaceWith.call(this,h,y);return this.attributes.copy(g),g},d.prototype.update=function(h,y){var g=this;c.prototype.update.call(this,h,y),h.some(function(_){return _.target===g.domNode&&_.type==="attributes"})&&this.attributes.build()},d.prototype.wrap=function(h,y){var g=c.prototype.wrap.call(this,h,y);return g instanceof d&&g.statics.scope===this.statics.scope&&this.attributes.move(g),g},d}(s.default);r.default=f},function(n,r,i){var a=this&&this.__extends||function(){var u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,c){f.__proto__=c}||function(f,c){for(var d in c)c.hasOwnProperty(d)&&(f[d]=c[d])};return function(f,c){u(f,c);function d(){this.constructor=f}f.prototype=c===null?Object.create(c):(d.prototype=c.prototype,new d)}}();Object.defineProperty(r,"__esModule",{value:!0});var o=i(30),l=i(1),s=function(u){a(f,u);function f(){return u!==null&&u.apply(this,arguments)||this}return f.value=function(c){return!0},f.prototype.index=function(c,d){return this.domNode===c||this.domNode.compareDocumentPosition(c)&Node.DOCUMENT_POSITION_CONTAINED_BY?Math.min(d,1):-1},f.prototype.position=function(c,d){var h=[].indexOf.call(this.parent.domNode.childNodes,this.domNode);return c>0&&(h+=1),[this.parent.domNode,h]},f.prototype.value=function(){var c;return c={},c[this.statics.blotName]=this.statics.value(this.domNode)||!0,c},f.scope=l.Scope.INLINE_BLOT,f}(o.default);r.default=s},function(n,r,i){var a=i(11),o=i(3),l={attributes:{compose:function(u,f,c){typeof u!="object"&&(u={}),typeof f!="object"&&(f={});var d=o(!0,{},f);c||(d=Object.keys(d).reduce(function(y,g){return d[g]!=null&&(y[g]=d[g]),y},{}));for(var h in u)u[h]!==void 0&&f[h]===void 0&&(d[h]=u[h]);return Object.keys(d).length>0?d:void 0},diff:function(u,f){typeof u!="object"&&(u={}),typeof f!="object"&&(f={});var c=Object.keys(u).concat(Object.keys(f)).reduce(function(d,h){return a(u[h],f[h])||(d[h]=f[h]===void 0?null:f[h]),d},{});return Object.keys(c).length>0?c:void 0},transform:function(u,f,c){if(typeof u!="object")return f;if(typeof f=="object"){if(!c)return f;var d=Object.keys(f).reduce(function(h,y){return u[y]===void 0&&(h[y]=f[y]),h},{});return Object.keys(d).length>0?d:void 0}}},iterator:function(u){return new s(u)},length:function(u){return typeof u.delete=="number"?u.delete:typeof u.retain=="number"?u.retain:typeof u.insert=="string"?u.insert.length:1}};function s(u){this.ops=u,this.index=0,this.offset=0}s.prototype.hasNext=function(){return this.peekLength()<1/0},s.prototype.next=function(u){u||(u=1/0);var f=this.ops[this.index];if(f){var c=this.offset,d=l.length(f);if(u>=d-c?(u=d-c,this.index+=1,this.offset=0):this.offset+=u,typeof f.delete=="number")return{delete:u};var h={};return f.attributes&&(h.attributes=f.attributes),typeof f.retain=="number"?h.retain=u:typeof f.insert=="string"?h.insert=f.insert.substr(c,u):h.insert=f.insert,h}else return{retain:1/0}},s.prototype.peek=function(){return this.ops[this.index]},s.prototype.peekLength=function(){return this.ops[this.index]?l.length(this.ops[this.index])-this.offset:1/0},s.prototype.peekType=function(){return this.ops[this.index]?typeof this.ops[this.index].delete=="number"?"delete":typeof this.ops[this.index].retain=="number"?"retain":"insert":"retain"},s.prototype.rest=function(){if(this.hasNext()){if(this.offset===0)return this.ops.slice(this.index);var u=this.offset,f=this.index,c=this.next(),d=this.ops.slice(this.index);return this.offset=u,this.index=f,[c].concat(d)}else return[]},n.exports=l},function(n,r){var i=function(){function a(g,_){return _!=null&&g instanceof _}var o;try{o=Map}catch{o=function(){}}var l;try{l=Set}catch{l=function(){}}var s;try{s=Promise}catch{s=function(){}}function u(g,_,m,v,b){typeof _=="object"&&(m=_.depth,v=_.prototype,b=_.includeNonEnumerable,_=_.circular);var p=[],E=[],k=typeof Buffer<"u";typeof _>"u"&&(_=!0),typeof m>"u"&&(m=1/0);function T(S,P){if(S===null)return null;if(P===0)return S;var N,O;if(typeof S!="object")return S;if(a(S,o))N=new o;else if(a(S,l))N=new l;else if(a(S,s))N=new s(function(H,M){S.then(function(j){H(T(j,P-1))},function(j){M(T(j,P-1))})});else if(u.__isArray(S))N=[];else if(u.__isRegExp(S))N=new RegExp(S.source,y(S)),S.lastIndex&&(N.lastIndex=S.lastIndex);else if(u.__isDate(S))N=new Date(S.getTime());else{if(k&&Buffer.isBuffer(S))return Buffer.allocUnsafe?N=Buffer.allocUnsafe(S.length):N=new Buffer(S.length),S.copy(N),N;a(S,Error)?N=Object.create(S):typeof v>"u"?(O=Object.getPrototypeOf(S),N=Object.create(O)):(N=Object.create(v),O=v)}if(_){var w=p.indexOf(S);if(w!=-1)return E[w];p.push(S),E.push(N)}a(S,o)&&S.forEach(function(H,M){var j=T(M,P-1),z=T(H,P-1);N.set(j,z)}),a(S,l)&&S.forEach(function(H){var M=T(H,P-1);N.add(M)});for(var C in S){var I;O&&(I=Object.getOwnPropertyDescriptor(O,C)),!(I&&I.set==null)&&(N[C]=T(S[C],P-1))}if(Object.getOwnPropertySymbols)for(var D=Object.getOwnPropertySymbols(S),C=0;C<D.length;C++){var V=D[C],q=Object.getOwnPropertyDescriptor(S,V);q&&!q.enumerable&&!b||(N[V]=T(S[V],P-1),q.enumerable||Object.defineProperty(N,V,{enumerable:!1}))}if(b)for(var te=Object.getOwnPropertyNames(S),C=0;C<te.length;C++){var K=te[C],q=Object.getOwnPropertyDescriptor(S,K);q&&q.enumerable||(N[K]=T(S[K],P-1),Object.defineProperty(N,K,{enumerable:!1}))}return N}return T(g,m)}u.clonePrototype=function(_){if(_===null)return null;var m=function(){};return m.prototype=_,new m};function f(g){return Object.prototype.toString.call(g)}u.__objToStr=f;function c(g){return typeof g=="object"&&f(g)==="[object Date]"}u.__isDate=c;function d(g){return typeof g=="object"&&f(g)==="[object Array]"}u.__isArray=d;function h(g){return typeof g=="object"&&f(g)==="[object RegExp]"}u.__isRegExp=h;function y(g){var _="";return g.global&&(_+="g"),g.ignoreCase&&(_+="i"),g.multiline&&(_+="m"),_}return u.__getRegExpFlags=y,u}();typeof n=="object"&&n.exports&&(n.exports=i)},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var a=function(){function N(O,w){var C=[],I=!0,D=!1,V=void 0;try{for(var q=O[Symbol.iterator](),te;!(I=(te=q.next()).done)&&(C.push(te.value),!(w&&C.length===w));I=!0);}catch(K){D=!0,V=K}finally{try{!I&&q.return&&q.return()}finally{if(D)throw V}}return C}return function(O,w){if(Array.isArray(O))return O;if(Symbol.iterator in Object(O))return N(O,w);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=function(){function N(O,w){for(var C=0;C<w.length;C++){var I=w[C];I.enumerable=I.enumerable||!1,I.configurable=!0,"value"in I&&(I.writable=!0),Object.defineProperty(O,I.key,I)}}return function(O,w,C){return w&&N(O.prototype,w),C&&N(O,C),O}}(),l=function N(O,w,C){O===null&&(O=Function.prototype);var I=Object.getOwnPropertyDescriptor(O,w);if(I===void 0){var D=Object.getPrototypeOf(O);return D===null?void 0:N(D,w,C)}else{if("value"in I)return I.value;var V=I.get;return V===void 0?void 0:V.call(C)}},s=i(0),u=p(s),f=i(8),c=p(f),d=i(4),h=p(d),y=i(16),g=p(y),_=i(13),m=p(_),v=i(25),b=p(v);function p(N){return N&&N.__esModule?N:{default:N}}function E(N,O){if(!(N instanceof O))throw new TypeError("Cannot call a class as a function")}function k(N,O){if(!N)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return O&&(typeof O=="object"||typeof O=="function")?O:N}function T(N,O){if(typeof O!="function"&&O!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof O);N.prototype=Object.create(O&&O.prototype,{constructor:{value:N,enumerable:!1,writable:!0,configurable:!0}}),O&&(Object.setPrototypeOf?Object.setPrototypeOf(N,O):N.__proto__=O)}function S(N){return N instanceof h.default||N instanceof d.BlockEmbed}var P=function(N){T(O,N);function O(w,C){E(this,O);var I=k(this,(O.__proto__||Object.getPrototypeOf(O)).call(this,w));return I.emitter=C.emitter,Array.isArray(C.whitelist)&&(I.whitelist=C.whitelist.reduce(function(D,V){return D[V]=!0,D},{})),I.domNode.addEventListener("DOMNodeInserted",function(){}),I.optimize(),I.enable(),I}return o(O,[{key:"batchStart",value:function(){this.batch=!0}},{key:"batchEnd",value:function(){this.batch=!1,this.optimize()}},{key:"deleteAt",value:function(C,I){var D=this.line(C),V=a(D,2),q=V[0],te=V[1],K=this.line(C+I),H=a(K,1),M=H[0];if(l(O.prototype.__proto__||Object.getPrototypeOf(O.prototype),"deleteAt",this).call(this,C,I),M!=null&&q!==M&&te>0){if(q instanceof d.BlockEmbed||M instanceof d.BlockEmbed){this.optimize();return}if(q instanceof m.default){var j=q.newlineIndex(q.length(),!0);if(j>-1&&(q=q.split(j+1),q===M)){this.optimize();return}}else if(M instanceof m.default){var z=M.newlineIndex(0);z>-1&&M.split(z+1)}var Q=M.children.head instanceof g.default?null:M.children.head;q.moveChildren(M,Q),q.remove()}this.optimize()}},{key:"enable",value:function(){var C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;this.domNode.setAttribute("contenteditable",C)}},{key:"formatAt",value:function(C,I,D,V){this.whitelist!=null&&!this.whitelist[D]||(l(O.prototype.__proto__||Object.getPrototypeOf(O.prototype),"formatAt",this).call(this,C,I,D,V),this.optimize())}},{key:"insertAt",value:function(C,I,D){if(!(D!=null&&this.whitelist!=null&&!this.whitelist[I])){if(C>=this.length())if(D==null||u.default.query(I,u.default.Scope.BLOCK)==null){var V=u.default.create(this.statics.defaultChild);this.appendChild(V),D==null&&I.endsWith(`
831
- `)&&(I=I.slice(0,-1)),V.insertAt(0,I,D)}else{var q=u.default.create(I,D);this.appendChild(q)}else l(O.prototype.__proto__||Object.getPrototypeOf(O.prototype),"insertAt",this).call(this,C,I,D);this.optimize()}}},{key:"insertBefore",value:function(C,I){if(C.statics.scope===u.default.Scope.INLINE_BLOT){var D=u.default.create(this.statics.defaultChild);D.appendChild(C),C=D}l(O.prototype.__proto__||Object.getPrototypeOf(O.prototype),"insertBefore",this).call(this,C,I)}},{key:"leaf",value:function(C){return this.path(C).pop()||[null,-1]}},{key:"line",value:function(C){return C===this.length()?this.line(C-1):this.descendant(S,C)}},{key:"lines",value:function(){var C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Number.MAX_VALUE,D=function V(q,te,K){var H=[],M=K;return q.children.forEachAt(te,K,function(j,z,Q){S(j)?H.push(j):j instanceof u.default.Container&&(H=H.concat(V(j,z,M))),M-=Q}),H};return D(this,C,I)}},{key:"optimize",value:function(){var C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.batch!==!0&&(l(O.prototype.__proto__||Object.getPrototypeOf(O.prototype),"optimize",this).call(this,C,I),C.length>0&&this.emitter.emit(c.default.events.SCROLL_OPTIMIZE,C,I))}},{key:"path",value:function(C){return l(O.prototype.__proto__||Object.getPrototypeOf(O.prototype),"path",this).call(this,C).slice(1)}},{key:"update",value:function(C){if(this.batch!==!0){var I=c.default.sources.USER;typeof C=="string"&&(I=C),Array.isArray(C)||(C=this.observer.takeRecords()),C.length>0&&this.emitter.emit(c.default.events.SCROLL_BEFORE_UPDATE,I,C),l(O.prototype.__proto__||Object.getPrototypeOf(O.prototype),"update",this).call(this,C.concat([])),C.length>0&&this.emitter.emit(c.default.events.SCROLL_UPDATE,I,C)}}}]),O}(u.default.Scroll);P.blotName="scroll",P.className="ql-editor",P.tagName="DIV",P.defaultChild="block",P.allowedChildren=[h.default,d.BlockEmbed,b.default],r.default=P},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.SHORTKEY=r.default=void 0;var a=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(F){return typeof F}:function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F},o=function(){function F(J,ae){var Z=[],se=!0,he=!1,B=void 0;try{for(var L=J[Symbol.iterator](),x;!(se=(x=L.next()).done)&&(Z.push(x.value),!(ae&&Z.length===ae));se=!0);}catch($){he=!0,B=$}finally{try{!se&&L.return&&L.return()}finally{if(he)throw B}}return Z}return function(J,ae){if(Array.isArray(J))return J;if(Symbol.iterator in Object(J))return F(J,ae);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),l=function(){function F(J,ae){for(var Z=0;Z<ae.length;Z++){var se=ae[Z];se.enumerable=se.enumerable||!1,se.configurable=!0,"value"in se&&(se.writable=!0),Object.defineProperty(J,se.key,se)}}return function(J,ae,Z){return ae&&F(J.prototype,ae),Z&&F(J,Z),J}}(),s=i(21),u=N(s),f=i(11),c=N(f),d=i(3),h=N(d),y=i(2),g=N(y),_=i(20),m=N(_),v=i(0),b=N(v),p=i(5),E=N(p),k=i(10),T=N(k),S=i(9),P=N(S);function N(F){return F&&F.__esModule?F:{default:F}}function O(F,J,ae){return J in F?Object.defineProperty(F,J,{value:ae,enumerable:!0,configurable:!0,writable:!0}):F[J]=ae,F}function w(F,J){if(!(F instanceof J))throw new TypeError("Cannot call a class as a function")}function C(F,J){if(!F)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return J&&(typeof J=="object"||typeof J=="function")?J:F}function I(F,J){if(typeof J!="function"&&J!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof J);F.prototype=Object.create(J&&J.prototype,{constructor:{value:F,enumerable:!1,writable:!0,configurable:!0}}),J&&(Object.setPrototypeOf?Object.setPrototypeOf(F,J):F.__proto__=J)}var D=(0,T.default)("quill:keyboard"),V=/Mac/i.test(navigator.platform)?"metaKey":"ctrlKey",q=function(F){I(J,F),l(J,null,[{key:"match",value:function(Z,se){return se=X(se),["altKey","ctrlKey","metaKey","shiftKey"].some(function(he){return!!se[he]!==Z[he]&&se[he]!==null})?!1:se.key===(Z.which||Z.keyCode)}}]);function J(ae,Z){w(this,J);var se=C(this,(J.__proto__||Object.getPrototypeOf(J)).call(this,ae,Z));return se.bindings={},Object.keys(se.options.bindings).forEach(function(he){he==="list autofill"&&ae.scroll.whitelist!=null&&!ae.scroll.whitelist.list||se.options.bindings[he]&&se.addBinding(se.options.bindings[he])}),se.addBinding({key:J.keys.ENTER,shiftKey:null},j),se.addBinding({key:J.keys.ENTER,metaKey:null,ctrlKey:null,altKey:null},function(){}),/Firefox/i.test(navigator.userAgent)?(se.addBinding({key:J.keys.BACKSPACE},{collapsed:!0},K),se.addBinding({key:J.keys.DELETE},{collapsed:!0},H)):(se.addBinding({key:J.keys.BACKSPACE},{collapsed:!0,prefix:/^.?$/},K),se.addBinding({key:J.keys.DELETE},{collapsed:!0,suffix:/^.?$/},H)),se.addBinding({key:J.keys.BACKSPACE},{collapsed:!1},M),se.addBinding({key:J.keys.DELETE},{collapsed:!1},M),se.addBinding({key:J.keys.BACKSPACE,altKey:null,ctrlKey:null,metaKey:null,shiftKey:null},{collapsed:!0,offset:0},K),se.listen(),se}return l(J,[{key:"addBinding",value:function(Z){var se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},he=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},B=X(Z);if(B==null||B.key==null)return D.warn("Attempted to add invalid keyboard binding",B);typeof se=="function"&&(se={handler:se}),typeof he=="function"&&(he={handler:he}),B=(0,h.default)(B,se,he),this.bindings[B.key]=this.bindings[B.key]||[],this.bindings[B.key].push(B)}},{key:"listen",value:function(){var Z=this;this.quill.root.addEventListener("keydown",function(se){if(!se.defaultPrevented){var he=se.which||se.keyCode,B=(Z.bindings[he]||[]).filter(function(Te){return J.match(se,Te)});if(B.length!==0){var L=Z.quill.getSelection();if(!(L==null||!Z.quill.hasFocus())){var x=Z.quill.getLine(L.index),$=o(x,2),ee=$[0],le=$[1],U=Z.quill.getLeaf(L.index),W=o(U,2),re=W[0],ie=W[1],oe=L.length===0?[re,ie]:Z.quill.getLeaf(L.index+L.length),ce=o(oe,2),G=ce[0],ne=ce[1],pe=re instanceof b.default.Text?re.value().slice(0,ie):"",ge=G instanceof b.default.Text?G.value().slice(ne):"",ve={collapsed:L.length===0,empty:L.length===0&&ee.length()<=1,format:Z.quill.getFormat(L),offset:le,prefix:pe,suffix:ge},De=B.some(function(Te){if(Te.collapsed!=null&&Te.collapsed!==ve.collapsed||Te.empty!=null&&Te.empty!==ve.empty||Te.offset!=null&&Te.offset!==ve.offset)return!1;if(Array.isArray(Te.format)){if(Te.format.every(function(it){return ve.format[it]==null}))return!1}else if(a(Te.format)==="object"&&!Object.keys(Te.format).every(function(it){return Te.format[it]===!0?ve.format[it]!=null:Te.format[it]===!1?ve.format[it]==null:(0,c.default)(Te.format[it],ve.format[it])}))return!1;return Te.prefix!=null&&!Te.prefix.test(ve.prefix)||Te.suffix!=null&&!Te.suffix.test(ve.suffix)?!1:Te.handler.call(Z,L,ve)!==!0});De&&se.preventDefault()}}}})}}]),J}(P.default);q.keys={BACKSPACE:8,TAB:9,ENTER:13,ESCAPE:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46},q.DEFAULTS={bindings:{bold:Q("bold"),italic:Q("italic"),underline:Q("underline"),indent:{key:q.keys.TAB,format:["blockquote","indent","list"],handler:function(J,ae){if(ae.collapsed&&ae.offset!==0)return!0;this.quill.format("indent","+1",E.default.sources.USER)}},outdent:{key:q.keys.TAB,shiftKey:!0,format:["blockquote","indent","list"],handler:function(J,ae){if(ae.collapsed&&ae.offset!==0)return!0;this.quill.format("indent","-1",E.default.sources.USER)}},"outdent backspace":{key:q.keys.BACKSPACE,collapsed:!0,shiftKey:null,metaKey:null,ctrlKey:null,altKey:null,format:["indent","list"],offset:0,handler:function(J,ae){ae.format.indent!=null?this.quill.format("indent","-1",E.default.sources.USER):ae.format.list!=null&&this.quill.format("list",!1,E.default.sources.USER)}},"indent code-block":z(!0),"outdent code-block":z(!1),"remove tab":{key:q.keys.TAB,shiftKey:!0,collapsed:!0,prefix:/\t$/,handler:function(J){this.quill.deleteText(J.index-1,1,E.default.sources.USER)}},tab:{key:q.keys.TAB,handler:function(J){this.quill.history.cutoff();var ae=new g.default().retain(J.index).delete(J.length).insert(" ");this.quill.updateContents(ae,E.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(J.index+1,E.default.sources.SILENT)}},"list empty enter":{key:q.keys.ENTER,collapsed:!0,format:["list"],empty:!0,handler:function(J,ae){this.quill.format("list",!1,E.default.sources.USER),ae.format.indent&&this.quill.format("indent",!1,E.default.sources.USER)}},"checklist enter":{key:q.keys.ENTER,collapsed:!0,format:{list:"checked"},handler:function(J){var ae=this.quill.getLine(J.index),Z=o(ae,2),se=Z[0],he=Z[1],B=(0,h.default)({},se.formats(),{list:"checked"}),L=new g.default().retain(J.index).insert(`
832
- `,B).retain(se.length()-he-1).retain(1,{list:"unchecked"});this.quill.updateContents(L,E.default.sources.USER),this.quill.setSelection(J.index+1,E.default.sources.SILENT),this.quill.scrollIntoView()}},"header enter":{key:q.keys.ENTER,collapsed:!0,format:["header"],suffix:/^$/,handler:function(J,ae){var Z=this.quill.getLine(J.index),se=o(Z,2),he=se[0],B=se[1],L=new g.default().retain(J.index).insert(`
833
- `,ae.format).retain(he.length()-B-1).retain(1,{header:null});this.quill.updateContents(L,E.default.sources.USER),this.quill.setSelection(J.index+1,E.default.sources.SILENT),this.quill.scrollIntoView()}},"list autofill":{key:" ",collapsed:!0,format:{list:!1},prefix:/^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,handler:function(J,ae){var Z=ae.prefix.length,se=this.quill.getLine(J.index),he=o(se,2),B=he[0],L=he[1];if(L>Z)return!0;var x=void 0;switch(ae.prefix.trim()){case"[]":case"[ ]":x="unchecked";break;case"[x]":x="checked";break;case"-":case"*":x="bullet";break;default:x="ordered"}this.quill.insertText(J.index," ",E.default.sources.USER),this.quill.history.cutoff();var $=new g.default().retain(J.index-L).delete(Z+1).retain(B.length()-2-L).retain(1,{list:x});this.quill.updateContents($,E.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(J.index-Z,E.default.sources.SILENT)}},"code exit":{key:q.keys.ENTER,collapsed:!0,format:["code-block"],prefix:/\n\n$/,suffix:/^\s+$/,handler:function(J){var ae=this.quill.getLine(J.index),Z=o(ae,2),se=Z[0],he=Z[1],B=new g.default().retain(J.index+se.length()-he-2).retain(1,{"code-block":null}).delete(1);this.quill.updateContents(B,E.default.sources.USER)}},"embed left":te(q.keys.LEFT,!1),"embed left shift":te(q.keys.LEFT,!0),"embed right":te(q.keys.RIGHT,!1),"embed right shift":te(q.keys.RIGHT,!0)}};function te(F,J){var ae,Z=F===q.keys.LEFT?"prefix":"suffix";return ae={key:F,shiftKey:J,altKey:null},O(ae,Z,/^$/),O(ae,"handler",function(he){var B=he.index;F===q.keys.RIGHT&&(B+=he.length+1);var L=this.quill.getLeaf(B),x=o(L,1),$=x[0];return $ instanceof b.default.Embed?(F===q.keys.LEFT?J?this.quill.setSelection(he.index-1,he.length+1,E.default.sources.USER):this.quill.setSelection(he.index-1,E.default.sources.USER):J?this.quill.setSelection(he.index,he.length+1,E.default.sources.USER):this.quill.setSelection(he.index+he.length+1,E.default.sources.USER),!1):!0}),ae}function K(F,J){if(!(F.index===0||this.quill.getLength()<=1)){var ae=this.quill.getLine(F.index),Z=o(ae,1),se=Z[0],he={};if(J.offset===0){var B=this.quill.getLine(F.index-1),L=o(B,1),x=L[0];if(x!=null&&x.length()>1){var $=se.formats(),ee=this.quill.getFormat(F.index-1,1);he=m.default.attributes.diff($,ee)||{}}}var le=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(J.prefix)?2:1;this.quill.deleteText(F.index-le,le,E.default.sources.USER),Object.keys(he).length>0&&this.quill.formatLine(F.index-le,le,he,E.default.sources.USER),this.quill.focus()}}function H(F,J){var ae=/^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(J.suffix)?2:1;if(!(F.index>=this.quill.getLength()-ae)){var Z={},se=0,he=this.quill.getLine(F.index),B=o(he,1),L=B[0];if(J.offset>=L.length()-1){var x=this.quill.getLine(F.index+1),$=o(x,1),ee=$[0];if(ee){var le=L.formats(),U=this.quill.getFormat(F.index,1);Z=m.default.attributes.diff(le,U)||{},se=ee.length()}}this.quill.deleteText(F.index,ae,E.default.sources.USER),Object.keys(Z).length>0&&this.quill.formatLine(F.index+se-1,ae,Z,E.default.sources.USER)}}function M(F){var J=this.quill.getLines(F),ae={};if(J.length>1){var Z=J[0].formats(),se=J[J.length-1].formats();ae=m.default.attributes.diff(se,Z)||{}}this.quill.deleteText(F,E.default.sources.USER),Object.keys(ae).length>0&&this.quill.formatLine(F.index,1,ae,E.default.sources.USER),this.quill.setSelection(F.index,E.default.sources.SILENT),this.quill.focus()}function j(F,J){var ae=this;F.length>0&&this.quill.scroll.deleteAt(F.index,F.length);var Z=Object.keys(J.format).reduce(function(se,he){return b.default.query(he,b.default.Scope.BLOCK)&&!Array.isArray(J.format[he])&&(se[he]=J.format[he]),se},{});this.quill.insertText(F.index,`
834
- `,Z,E.default.sources.USER),this.quill.setSelection(F.index+1,E.default.sources.SILENT),this.quill.focus(),Object.keys(J.format).forEach(function(se){Z[se]==null&&(Array.isArray(J.format[se])||se!=="link"&&ae.quill.format(se,J.format[se],E.default.sources.USER))})}function z(F){return{key:q.keys.TAB,shiftKey:!F,format:{"code-block":!0},handler:function(ae){var Z=b.default.query("code-block"),se=ae.index,he=ae.length,B=this.quill.scroll.descendant(Z,se),L=o(B,2),x=L[0],$=L[1];if(x!=null){var ee=this.quill.getIndex(x),le=x.newlineIndex($,!0)+1,U=x.newlineIndex(ee+$+he),W=x.domNode.textContent.slice(le,U).split(`
835
- `);$=0,W.forEach(function(re,ie){F?(x.insertAt(le+$,Z.TAB),$+=Z.TAB.length,ie===0?se+=Z.TAB.length:he+=Z.TAB.length):re.startsWith(Z.TAB)&&(x.deleteAt(le+$,Z.TAB.length),$-=Z.TAB.length,ie===0?se-=Z.TAB.length:he-=Z.TAB.length),$+=re.length+1}),this.quill.update(E.default.sources.USER),this.quill.setSelection(se,he,E.default.sources.SILENT)}}}}function Q(F){return{key:F[0].toUpperCase(),shortKey:!0,handler:function(ae,Z){this.quill.format(F,!Z.format[F],E.default.sources.USER)}}}function X(F){if(typeof F=="string"||typeof F=="number")return X({key:F});if((typeof F>"u"?"undefined":a(F))==="object"&&(F=(0,u.default)(F,!1)),typeof F.key=="string")if(q.keys[F.key.toUpperCase()]!=null)F.key=q.keys[F.key.toUpperCase()];else if(F.key.length===1)F.key=F.key.toUpperCase().charCodeAt(0);else return null;return F.shortKey&&(F[V]=F.shortKey,delete F.shortKey),F}r.default=q,r.SHORTKEY=V},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var a=function(){function m(v,b){var p=[],E=!0,k=!1,T=void 0;try{for(var S=v[Symbol.iterator](),P;!(E=(P=S.next()).done)&&(p.push(P.value),!(b&&p.length===b));E=!0);}catch(N){k=!0,T=N}finally{try{!E&&S.return&&S.return()}finally{if(k)throw T}}return p}return function(v,b){if(Array.isArray(v))return v;if(Symbol.iterator in Object(v))return m(v,b);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=function m(v,b,p){v===null&&(v=Function.prototype);var E=Object.getOwnPropertyDescriptor(v,b);if(E===void 0){var k=Object.getPrototypeOf(v);return k===null?void 0:m(k,b,p)}else{if("value"in E)return E.value;var T=E.get;return T===void 0?void 0:T.call(p)}},l=function(){function m(v,b){for(var p=0;p<b.length;p++){var E=b[p];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(v,E.key,E)}}return function(v,b,p){return b&&m(v.prototype,b),p&&m(v,p),v}}(),s=i(0),u=d(s),f=i(7),c=d(f);function d(m){return m&&m.__esModule?m:{default:m}}function h(m,v){if(!(m instanceof v))throw new TypeError("Cannot call a class as a function")}function y(m,v){if(!m)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return v&&(typeof v=="object"||typeof v=="function")?v:m}function g(m,v){if(typeof v!="function"&&v!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof v);m.prototype=Object.create(v&&v.prototype,{constructor:{value:m,enumerable:!1,writable:!0,configurable:!0}}),v&&(Object.setPrototypeOf?Object.setPrototypeOf(m,v):m.__proto__=v)}var _=function(m){g(v,m),l(v,null,[{key:"value",value:function(){}}]);function v(b,p){h(this,v);var E=y(this,(v.__proto__||Object.getPrototypeOf(v)).call(this,b));return E.selection=p,E.textNode=document.createTextNode(v.CONTENTS),E.domNode.appendChild(E.textNode),E._length=0,E}return l(v,[{key:"detach",value:function(){this.parent!=null&&this.parent.removeChild(this)}},{key:"format",value:function(p,E){if(this._length!==0)return o(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"format",this).call(this,p,E);for(var k=this,T=0;k!=null&&k.statics.scope!==u.default.Scope.BLOCK_BLOT;)T+=k.offset(k.parent),k=k.parent;k!=null&&(this._length=v.CONTENTS.length,k.optimize(),k.formatAt(T,v.CONTENTS.length,p,E),this._length=0)}},{key:"index",value:function(p,E){return p===this.textNode?0:o(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"index",this).call(this,p,E)}},{key:"length",value:function(){return this._length}},{key:"position",value:function(){return[this.textNode,this.textNode.data.length]}},{key:"remove",value:function(){o(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"remove",this).call(this),this.parent=null}},{key:"restore",value:function(){if(!(this.selection.composing||this.parent==null)){var p=this.textNode,E=this.selection.getNativeRange(),k=void 0,T=void 0,S=void 0;if(E!=null&&E.start.node===p&&E.end.node===p){var P=[p,E.start.offset,E.end.offset];k=P[0],T=P[1],S=P[2]}for(;this.domNode.lastChild!=null&&this.domNode.lastChild!==this.textNode;)this.domNode.parentNode.insertBefore(this.domNode.lastChild,this.domNode);if(this.textNode.data!==v.CONTENTS){var N=this.textNode.data.split(v.CONTENTS).join("");this.next instanceof c.default?(k=this.next.domNode,this.next.insertAt(0,N),this.textNode.data=v.CONTENTS):(this.textNode.data=N,this.parent.insertBefore(u.default.create(this.textNode),this),this.textNode=document.createTextNode(v.CONTENTS),this.domNode.appendChild(this.textNode))}if(this.remove(),T!=null){var O=[T,S].map(function(C){return Math.max(0,Math.min(k.data.length,C-1))}),w=a(O,2);return T=w[0],S=w[1],{startNode:k,startOffset:T,endNode:k,endOffset:S}}}}},{key:"update",value:function(p,E){var k=this;if(p.some(function(S){return S.type==="characterData"&&S.target===k.textNode})){var T=this.restore();T&&(E.range=T)}}},{key:"value",value:function(){return""}}]),v}(u.default.Embed);_.blotName="cursor",_.className="ql-cursor",_.tagName="span",_.CONTENTS="\uFEFF",r.default=_},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var a=i(0),o=u(a),l=i(4),s=u(l);function u(y){return y&&y.__esModule?y:{default:y}}function f(y,g){if(!(y instanceof g))throw new TypeError("Cannot call a class as a function")}function c(y,g){if(!y)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:y}function d(y,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);y.prototype=Object.create(g&&g.prototype,{constructor:{value:y,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(y,g):y.__proto__=g)}var h=function(y){d(g,y);function g(){return f(this,g),c(this,(g.__proto__||Object.getPrototypeOf(g)).apply(this,arguments))}return g}(o.default.Container);h.allowedChildren=[s.default,l.BlockEmbed,h],r.default=h},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.ColorStyle=r.ColorClass=r.ColorAttributor=void 0;var a=function(){function _(m,v){for(var b=0;b<v.length;b++){var p=v[b];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(m,p.key,p)}}return function(m,v,b){return v&&_(m.prototype,v),b&&_(m,b),m}}(),o=function _(m,v,b){m===null&&(m=Function.prototype);var p=Object.getOwnPropertyDescriptor(m,v);if(p===void 0){var E=Object.getPrototypeOf(m);return E===null?void 0:_(E,v,b)}else{if("value"in p)return p.value;var k=p.get;return k===void 0?void 0:k.call(b)}},l=i(0),s=u(l);function u(_){return _&&_.__esModule?_:{default:_}}function f(_,m){if(!(_ instanceof m))throw new TypeError("Cannot call a class as a function")}function c(_,m){if(!_)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:_}function d(_,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);_.prototype=Object.create(m&&m.prototype,{constructor:{value:_,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(_,m):_.__proto__=m)}var h=function(_){d(m,_);function m(){return f(this,m),c(this,(m.__proto__||Object.getPrototypeOf(m)).apply(this,arguments))}return a(m,[{key:"value",value:function(b){var p=o(m.prototype.__proto__||Object.getPrototypeOf(m.prototype),"value",this).call(this,b);return p.startsWith("rgb(")?(p=p.replace(/^[^\d]+/,"").replace(/[^\d]+$/,""),"#"+p.split(",").map(function(E){return("00"+parseInt(E).toString(16)).slice(-2)}).join("")):p}}]),m}(s.default.Attributor.Style),y=new s.default.Attributor.Class("color","ql-color",{scope:s.default.Scope.INLINE}),g=new h("color","color",{scope:s.default.Scope.INLINE});r.ColorAttributor=h,r.ColorClass=y,r.ColorStyle=g},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.sanitize=r.default=void 0;var a=function(){function g(_,m){for(var v=0;v<m.length;v++){var b=m[v];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(_,b.key,b)}}return function(_,m,v){return m&&g(_.prototype,m),v&&g(_,v),_}}(),o=function g(_,m,v){_===null&&(_=Function.prototype);var b=Object.getOwnPropertyDescriptor(_,m);if(b===void 0){var p=Object.getPrototypeOf(_);return p===null?void 0:g(p,m,v)}else{if("value"in b)return b.value;var E=b.get;return E===void 0?void 0:E.call(v)}},l=i(6),s=u(l);function u(g){return g&&g.__esModule?g:{default:g}}function f(g,_){if(!(g instanceof _))throw new TypeError("Cannot call a class as a function")}function c(g,_){if(!g)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return _&&(typeof _=="object"||typeof _=="function")?_:g}function d(g,_){if(typeof _!="function"&&_!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof _);g.prototype=Object.create(_&&_.prototype,{constructor:{value:g,enumerable:!1,writable:!0,configurable:!0}}),_&&(Object.setPrototypeOf?Object.setPrototypeOf(g,_):g.__proto__=_)}var h=function(g){d(_,g);function _(){return f(this,_),c(this,(_.__proto__||Object.getPrototypeOf(_)).apply(this,arguments))}return a(_,[{key:"format",value:function(v,b){if(v!==this.statics.blotName||!b)return o(_.prototype.__proto__||Object.getPrototypeOf(_.prototype),"format",this).call(this,v,b);b=this.constructor.sanitize(b),this.domNode.setAttribute("href",b)}}],[{key:"create",value:function(v){var b=o(_.__proto__||Object.getPrototypeOf(_),"create",this).call(this,v);return v=this.sanitize(v),b.setAttribute("href",v),b.setAttribute("rel","noopener noreferrer"),b.setAttribute("target","_blank"),b}},{key:"formats",value:function(v){return v.getAttribute("href")}},{key:"sanitize",value:function(v){return y(v,this.PROTOCOL_WHITELIST)?v:this.SANITIZED_URL}}]),_}(s.default);h.blotName="link",h.tagName="A",h.SANITIZED_URL="about:blank",h.PROTOCOL_WHITELIST=["http","https","mailto","tel"];function y(g,_){var m=document.createElement("a");m.href=g;var v=m.href.slice(0,m.href.indexOf(":"));return _.indexOf(v)>-1}r.default=h,r.sanitize=y},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var a=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(_){return typeof _}:function(_){return _&&typeof Symbol=="function"&&_.constructor===Symbol&&_!==Symbol.prototype?"symbol":typeof _},o=function(){function _(m,v){for(var b=0;b<v.length;b++){var p=v[b];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(m,p.key,p)}}return function(m,v,b){return v&&_(m.prototype,v),b&&_(m,b),m}}(),l=i(23),s=c(l),u=i(107),f=c(u);function c(_){return _&&_.__esModule?_:{default:_}}function d(_,m){if(!(_ instanceof m))throw new TypeError("Cannot call a class as a function")}var h=0;function y(_,m){_.setAttribute(m,_.getAttribute(m)!=="true")}var g=function(){function _(m){var v=this;d(this,_),this.select=m,this.container=document.createElement("span"),this.buildPicker(),this.select.style.display="none",this.select.parentNode.insertBefore(this.container,this.select),this.label.addEventListener("mousedown",function(){v.togglePicker()}),this.label.addEventListener("keydown",function(b){switch(b.keyCode){case s.default.keys.ENTER:v.togglePicker();break;case s.default.keys.ESCAPE:v.escape(),b.preventDefault();break}}),this.select.addEventListener("change",this.update.bind(this))}return o(_,[{key:"togglePicker",value:function(){this.container.classList.toggle("ql-expanded"),y(this.label,"aria-expanded"),y(this.options,"aria-hidden")}},{key:"buildItem",value:function(v){var b=this,p=document.createElement("span");return p.tabIndex="0",p.setAttribute("role","button"),p.classList.add("ql-picker-item"),v.hasAttribute("value")&&p.setAttribute("data-value",v.getAttribute("value")),v.textContent&&p.setAttribute("data-label",v.textContent),p.addEventListener("click",function(){b.selectItem(p,!0)}),p.addEventListener("keydown",function(E){switch(E.keyCode){case s.default.keys.ENTER:b.selectItem(p,!0),E.preventDefault();break;case s.default.keys.ESCAPE:b.escape(),E.preventDefault();break}}),p}},{key:"buildLabel",value:function(){var v=document.createElement("span");return v.classList.add("ql-picker-label"),v.innerHTML=f.default,v.tabIndex="0",v.setAttribute("role","button"),v.setAttribute("aria-expanded","false"),this.container.appendChild(v),v}},{key:"buildOptions",value:function(){var v=this,b=document.createElement("span");b.classList.add("ql-picker-options"),b.setAttribute("aria-hidden","true"),b.tabIndex="-1",b.id="ql-picker-options-"+h,h+=1,this.label.setAttribute("aria-controls",b.id),this.options=b,[].slice.call(this.select.options).forEach(function(p){var E=v.buildItem(p);b.appendChild(E),p.selected===!0&&v.selectItem(E)}),this.container.appendChild(b)}},{key:"buildPicker",value:function(){var v=this;[].slice.call(this.select.attributes).forEach(function(b){v.container.setAttribute(b.name,b.value)}),this.container.classList.add("ql-picker"),this.label=this.buildLabel(),this.buildOptions()}},{key:"escape",value:function(){var v=this;this.close(),setTimeout(function(){return v.label.focus()},1)}},{key:"close",value:function(){this.container.classList.remove("ql-expanded"),this.label.setAttribute("aria-expanded","false"),this.options.setAttribute("aria-hidden","true")}},{key:"selectItem",value:function(v){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,p=this.container.querySelector(".ql-selected");if(v!==p&&(p?.classList.remove("ql-selected"),v!=null&&(v.classList.add("ql-selected"),this.select.selectedIndex=[].indexOf.call(v.parentNode.children,v),v.hasAttribute("data-value")?this.label.setAttribute("data-value",v.getAttribute("data-value")):this.label.removeAttribute("data-value"),v.hasAttribute("data-label")?this.label.setAttribute("data-label",v.getAttribute("data-label")):this.label.removeAttribute("data-label"),b))){if(typeof Event=="function")this.select.dispatchEvent(new Event("change"));else if((typeof Event>"u"?"undefined":a(Event))==="object"){var E=document.createEvent("Event");E.initEvent("change",!0,!0),this.select.dispatchEvent(E)}this.close()}}},{key:"update",value:function(){var v=void 0;if(this.select.selectedIndex>-1){var b=this.container.querySelector(".ql-picker-options").children[this.select.selectedIndex];v=this.select.options[this.select.selectedIndex],this.selectItem(b)}else this.selectItem(null);var p=v!=null&&v!==this.select.querySelector("option[selected]");this.label.classList.toggle("ql-active",p)}}]),_}();r.default=g},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var a=i(0),o=D(a),l=i(5),s=D(l),u=i(4),f=D(u),c=i(16),d=D(c),h=i(25),y=D(h),g=i(24),_=D(g),m=i(35),v=D(m),b=i(6),p=D(b),E=i(22),k=D(E),T=i(7),S=D(T),P=i(55),N=D(P),O=i(42),w=D(O),C=i(23),I=D(C);function D(V){return V&&V.__esModule?V:{default:V}}s.default.register({"blots/block":f.default,"blots/block/embed":u.BlockEmbed,"blots/break":d.default,"blots/container":y.default,"blots/cursor":_.default,"blots/embed":v.default,"blots/inline":p.default,"blots/scroll":k.default,"blots/text":S.default,"modules/clipboard":N.default,"modules/history":w.default,"modules/keyboard":I.default}),o.default.register(f.default,d.default,_.default,p.default,k.default,S.default),r.default=s.default},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var a=i(1),o=function(){function l(s){this.domNode=s,this.domNode[a.DATA_KEY]={blot:this}}return Object.defineProperty(l.prototype,"statics",{get:function(){return this.constructor},enumerable:!0,configurable:!0}),l.create=function(s){if(this.tagName==null)throw new a.ParchmentError("Blot definition missing tagName");var u;return Array.isArray(this.tagName)?(typeof s=="string"&&(s=s.toUpperCase(),parseInt(s).toString()===s&&(s=parseInt(s))),typeof s=="number"?u=document.createElement(this.tagName[s-1]):this.tagName.indexOf(s)>-1?u=document.createElement(s):u=document.createElement(this.tagName[0])):u=document.createElement(this.tagName),this.className&&u.classList.add(this.className),u},l.prototype.attach=function(){this.parent!=null&&(this.scroll=this.parent.scroll)},l.prototype.clone=function(){var s=this.domNode.cloneNode(!1);return a.create(s)},l.prototype.detach=function(){this.parent!=null&&this.parent.removeChild(this),delete this.domNode[a.DATA_KEY]},l.prototype.deleteAt=function(s,u){var f=this.isolate(s,u);f.remove()},l.prototype.formatAt=function(s,u,f,c){var d=this.isolate(s,u);if(a.query(f,a.Scope.BLOT)!=null&&c)d.wrap(f,c);else if(a.query(f,a.Scope.ATTRIBUTE)!=null){var h=a.create(this.statics.scope);d.wrap(h),h.format(f,c)}},l.prototype.insertAt=function(s,u,f){var c=f==null?a.create("text",u):a.create(u,f),d=this.split(s);this.parent.insertBefore(c,d)},l.prototype.insertInto=function(s,u){u===void 0&&(u=null),this.parent!=null&&this.parent.children.remove(this);var f=null;s.children.insertBefore(this,u),u!=null&&(f=u.domNode),(this.domNode.parentNode!=s.domNode||this.domNode.nextSibling!=f)&&s.domNode.insertBefore(this.domNode,f),this.parent=s,this.attach()},l.prototype.isolate=function(s,u){var f=this.split(s);return f.split(u),f},l.prototype.length=function(){return 1},l.prototype.offset=function(s){return s===void 0&&(s=this.parent),this.parent==null||this==s?0:this.parent.children.offset(this)+this.parent.offset(s)},l.prototype.optimize=function(s){this.domNode[a.DATA_KEY]!=null&&delete this.domNode[a.DATA_KEY].mutations},l.prototype.remove=function(){this.domNode.parentNode!=null&&this.domNode.parentNode.removeChild(this.domNode),this.detach()},l.prototype.replace=function(s){s.parent!=null&&(s.parent.insertBefore(this,s.next),s.remove())},l.prototype.replaceWith=function(s,u){var f=typeof s=="string"?a.create(s,u):s;return f.replace(this),f},l.prototype.split=function(s,u){return s===0?this:this.next},l.prototype.update=function(s,u){},l.prototype.wrap=function(s,u){var f=typeof s=="string"?a.create(s,u):s;return this.parent!=null&&this.parent.insertBefore(f,this.next),f.appendChild(this),f},l.blotName="abstract",l}();r.default=o},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var a=i(12),o=i(32),l=i(33),s=i(1),u=function(){function f(c){this.attributes={},this.domNode=c,this.build()}return f.prototype.attribute=function(c,d){d?c.add(this.domNode,d)&&(c.value(this.domNode)!=null?this.attributes[c.attrName]=c:delete this.attributes[c.attrName]):(c.remove(this.domNode),delete this.attributes[c.attrName])},f.prototype.build=function(){var c=this;this.attributes={};var d=a.default.keys(this.domNode),h=o.default.keys(this.domNode),y=l.default.keys(this.domNode);d.concat(h).concat(y).forEach(function(g){var _=s.query(g,s.Scope.ATTRIBUTE);_ instanceof a.default&&(c.attributes[_.attrName]=_)})},f.prototype.copy=function(c){var d=this;Object.keys(this.attributes).forEach(function(h){var y=d.attributes[h].value(d.domNode);c.format(h,y)})},f.prototype.move=function(c){var d=this;this.copy(c),Object.keys(this.attributes).forEach(function(h){d.attributes[h].remove(d.domNode)}),this.attributes={}},f.prototype.values=function(){var c=this;return Object.keys(this.attributes).reduce(function(d,h){return d[h]=c.attributes[h].value(c.domNode),d},{})},f}();r.default=u},function(n,r,i){var a=this&&this.__extends||function(){var u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,c){f.__proto__=c}||function(f,c){for(var d in c)c.hasOwnProperty(d)&&(f[d]=c[d])};return function(f,c){u(f,c);function d(){this.constructor=f}f.prototype=c===null?Object.create(c):(d.prototype=c.prototype,new d)}}();Object.defineProperty(r,"__esModule",{value:!0});var o=i(12);function l(u,f){var c=u.getAttribute("class")||"";return c.split(/\s+/).filter(function(d){return d.indexOf(f+"-")===0})}var s=function(u){a(f,u);function f(){return u!==null&&u.apply(this,arguments)||this}return f.keys=function(c){return(c.getAttribute("class")||"").split(/\s+/).map(function(d){return d.split("-").slice(0,-1).join("-")})},f.prototype.add=function(c,d){return this.canAdd(c,d)?(this.remove(c),c.classList.add(this.keyName+"-"+d),!0):!1},f.prototype.remove=function(c){var d=l(c,this.keyName);d.forEach(function(h){c.classList.remove(h)}),c.classList.length===0&&c.removeAttribute("class")},f.prototype.value=function(c){var d=l(c,this.keyName)[0]||"",h=d.slice(this.keyName.length+1);return this.canAdd(c,h)?h:""},f}(o.default);r.default=s},function(n,r,i){var a=this&&this.__extends||function(){var u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,c){f.__proto__=c}||function(f,c){for(var d in c)c.hasOwnProperty(d)&&(f[d]=c[d])};return function(f,c){u(f,c);function d(){this.constructor=f}f.prototype=c===null?Object.create(c):(d.prototype=c.prototype,new d)}}();Object.defineProperty(r,"__esModule",{value:!0});var o=i(12);function l(u){var f=u.split("-"),c=f.slice(1).map(function(d){return d[0].toUpperCase()+d.slice(1)}).join("");return f[0]+c}var s=function(u){a(f,u);function f(){return u!==null&&u.apply(this,arguments)||this}return f.keys=function(c){return(c.getAttribute("style")||"").split(";").map(function(d){var h=d.split(":");return h[0].trim()})},f.prototype.add=function(c,d){return this.canAdd(c,d)?(c.style[l(this.keyName)]=d,!0):!1},f.prototype.remove=function(c){c.style[l(this.keyName)]="",c.getAttribute("style")||c.removeAttribute("style")},f.prototype.value=function(c){var d=c.style[l(this.keyName)];return this.canAdd(c,d)?d:""},f}(o.default);r.default=s},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var a=function(){function s(u,f){for(var c=0;c<f.length;c++){var d=f[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(u,d.key,d)}}return function(u,f,c){return f&&s(u.prototype,f),c&&s(u,c),u}}();function o(s,u){if(!(s instanceof u))throw new TypeError("Cannot call a class as a function")}var l=function(){function s(u,f){o(this,s),this.quill=u,this.options=f,this.modules={}}return a(s,[{key:"init",value:function(){var f=this;Object.keys(this.options.modules).forEach(function(c){f.modules[c]==null&&f.addModule(c)})}},{key:"addModule",value:function(f){var c=this.quill.constructor.import("modules/"+f);return this.modules[f]=new c(this.quill,this.options.modules[f]||{}),this.modules[f]}}]),s}();l.DEFAULTS={modules:{}},l.themes={default:l},r.default=l},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var a=function(){function m(v,b){for(var p=0;p<b.length;p++){var E=b[p];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(v,E.key,E)}}return function(v,b,p){return b&&m(v.prototype,b),p&&m(v,p),v}}(),o=function m(v,b,p){v===null&&(v=Function.prototype);var E=Object.getOwnPropertyDescriptor(v,b);if(E===void 0){var k=Object.getPrototypeOf(v);return k===null?void 0:m(k,b,p)}else{if("value"in E)return E.value;var T=E.get;return T===void 0?void 0:T.call(p)}},l=i(0),s=c(l),u=i(7),f=c(u);function c(m){return m&&m.__esModule?m:{default:m}}function d(m,v){if(!(m instanceof v))throw new TypeError("Cannot call a class as a function")}function h(m,v){if(!m)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return v&&(typeof v=="object"||typeof v=="function")?v:m}function y(m,v){if(typeof v!="function"&&v!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof v);m.prototype=Object.create(v&&v.prototype,{constructor:{value:m,enumerable:!1,writable:!0,configurable:!0}}),v&&(Object.setPrototypeOf?Object.setPrototypeOf(m,v):m.__proto__=v)}var g="\uFEFF",_=function(m){y(v,m);function v(b){d(this,v);var p=h(this,(v.__proto__||Object.getPrototypeOf(v)).call(this,b));return p.contentNode=document.createElement("span"),p.contentNode.setAttribute("contenteditable",!1),[].slice.call(p.domNode.childNodes).forEach(function(E){p.contentNode.appendChild(E)}),p.leftGuard=document.createTextNode(g),p.rightGuard=document.createTextNode(g),p.domNode.appendChild(p.leftGuard),p.domNode.appendChild(p.contentNode),p.domNode.appendChild(p.rightGuard),p}return a(v,[{key:"index",value:function(p,E){return p===this.leftGuard?0:p===this.rightGuard?1:o(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"index",this).call(this,p,E)}},{key:"restore",value:function(p){var E=void 0,k=void 0,T=p.data.split(g).join("");if(p===this.leftGuard)if(this.prev instanceof f.default){var S=this.prev.length();this.prev.insertAt(S,T),E={startNode:this.prev.domNode,startOffset:S+T.length}}else k=document.createTextNode(T),this.parent.insertBefore(s.default.create(k),this),E={startNode:k,startOffset:T.length};else p===this.rightGuard&&(this.next instanceof f.default?(this.next.insertAt(0,T),E={startNode:this.next.domNode,startOffset:T.length}):(k=document.createTextNode(T),this.parent.insertBefore(s.default.create(k),this.next),E={startNode:k,startOffset:T.length}));return p.data=g,E}},{key:"update",value:function(p,E){var k=this;p.forEach(function(T){if(T.type==="characterData"&&(T.target===k.leftGuard||T.target===k.rightGuard)){var S=k.restore(T.target);S&&(E.range=S)}})}}]),v}(s.default.Embed);r.default=_},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.AlignStyle=r.AlignClass=r.AlignAttribute=void 0;var a=i(0),o=l(a);function l(d){return d&&d.__esModule?d:{default:d}}var s={scope:o.default.Scope.BLOCK,whitelist:["right","center","justify"]},u=new o.default.Attributor.Attribute("align","align",s),f=new o.default.Attributor.Class("align","ql-align",s),c=new o.default.Attributor.Style("align","text-align",s);r.AlignAttribute=u,r.AlignClass=f,r.AlignStyle=c},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.BackgroundStyle=r.BackgroundClass=void 0;var a=i(0),o=s(a),l=i(26);function s(c){return c&&c.__esModule?c:{default:c}}var u=new o.default.Attributor.Class("background","ql-bg",{scope:o.default.Scope.INLINE}),f=new l.ColorAttributor("background","background-color",{scope:o.default.Scope.INLINE});r.BackgroundClass=u,r.BackgroundStyle=f},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.DirectionStyle=r.DirectionClass=r.DirectionAttribute=void 0;var a=i(0),o=l(a);function l(d){return d&&d.__esModule?d:{default:d}}var s={scope:o.default.Scope.BLOCK,whitelist:["rtl"]},u=new o.default.Attributor.Attribute("direction","dir",s),f=new o.default.Attributor.Class("direction","ql-direction",s),c=new o.default.Attributor.Style("direction","direction",s);r.DirectionAttribute=u,r.DirectionClass=f,r.DirectionStyle=c},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.FontClass=r.FontStyle=void 0;var a=function(){function m(v,b){for(var p=0;p<b.length;p++){var E=b[p];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(v,E.key,E)}}return function(v,b,p){return b&&m(v.prototype,b),p&&m(v,p),v}}(),o=function m(v,b,p){v===null&&(v=Function.prototype);var E=Object.getOwnPropertyDescriptor(v,b);if(E===void 0){var k=Object.getPrototypeOf(v);return k===null?void 0:m(k,b,p)}else{if("value"in E)return E.value;var T=E.get;return T===void 0?void 0:T.call(p)}},l=i(0),s=u(l);function u(m){return m&&m.__esModule?m:{default:m}}function f(m,v){if(!(m instanceof v))throw new TypeError("Cannot call a class as a function")}function c(m,v){if(!m)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return v&&(typeof v=="object"||typeof v=="function")?v:m}function d(m,v){if(typeof v!="function"&&v!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof v);m.prototype=Object.create(v&&v.prototype,{constructor:{value:m,enumerable:!1,writable:!0,configurable:!0}}),v&&(Object.setPrototypeOf?Object.setPrototypeOf(m,v):m.__proto__=v)}var h={scope:s.default.Scope.INLINE,whitelist:["serif","monospace"]},y=new s.default.Attributor.Class("font","ql-font",h),g=function(m){d(v,m);function v(){return f(this,v),c(this,(v.__proto__||Object.getPrototypeOf(v)).apply(this,arguments))}return a(v,[{key:"value",value:function(p){return o(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"value",this).call(this,p).replace(/["']/g,"")}}]),v}(s.default.Attributor.Style),_=new g("font","font-family",h);r.FontStyle=_,r.FontClass=y},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.SizeStyle=r.SizeClass=void 0;var a=i(0),o=l(a);function l(f){return f&&f.__esModule?f:{default:f}}var s=new o.default.Attributor.Class("size","ql-size",{scope:o.default.Scope.INLINE,whitelist:["small","large","huge"]}),u=new o.default.Attributor.Style("size","font-size",{scope:o.default.Scope.INLINE,whitelist:["10px","18px","32px"]});r.SizeClass=s,r.SizeStyle=u},function(n,r,i){n.exports={align:{"":i(76),center:i(77),right:i(78),justify:i(79)},background:i(80),blockquote:i(81),bold:i(82),clean:i(83),code:i(58),"code-block":i(58),color:i(84),direction:{"":i(85),rtl:i(86)},float:{center:i(87),full:i(88),left:i(89),right:i(90)},formula:i(91),header:{1:i(92),2:i(93)},italic:i(94),image:i(95),indent:{"+1":i(96),"-1":i(97)},link:i(98),list:{ordered:i(99),bullet:i(100),check:i(101)},script:{sub:i(102),super:i(103)},strike:i(104),underline:i(105),video:i(106)}},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.getLastChangeIndex=r.default=void 0;var a=function(){function b(p,E){for(var k=0;k<E.length;k++){var T=E[k];T.enumerable=T.enumerable||!1,T.configurable=!0,"value"in T&&(T.writable=!0),Object.defineProperty(p,T.key,T)}}return function(p,E,k){return E&&b(p.prototype,E),k&&b(p,k),p}}(),o=i(0),l=d(o),s=i(5),u=d(s),f=i(9),c=d(f);function d(b){return b&&b.__esModule?b:{default:b}}function h(b,p){if(!(b instanceof p))throw new TypeError("Cannot call a class as a function")}function y(b,p){if(!b)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:b}function g(b,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);b.prototype=Object.create(p&&p.prototype,{constructor:{value:b,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(b,p):b.__proto__=p)}var _=function(b){g(p,b);function p(E,k){h(this,p);var T=y(this,(p.__proto__||Object.getPrototypeOf(p)).call(this,E,k));return T.lastRecorded=0,T.ignoreChange=!1,T.clear(),T.quill.on(u.default.events.EDITOR_CHANGE,function(S,P,N,O){S!==u.default.events.TEXT_CHANGE||T.ignoreChange||(!T.options.userOnly||O===u.default.sources.USER?T.record(P,N):T.transform(P))}),T.quill.keyboard.addBinding({key:"Z",shortKey:!0},T.undo.bind(T)),T.quill.keyboard.addBinding({key:"Z",shortKey:!0,shiftKey:!0},T.redo.bind(T)),/Win/i.test(navigator.platform)&&T.quill.keyboard.addBinding({key:"Y",shortKey:!0},T.redo.bind(T)),T}return a(p,[{key:"change",value:function(k,T){if(this.stack[k].length!==0){var S=this.stack[k].pop();this.stack[T].push(S),this.lastRecorded=0,this.ignoreChange=!0,this.quill.updateContents(S[k],u.default.sources.USER),this.ignoreChange=!1;var P=v(S[k]);this.quill.setSelection(P)}}},{key:"clear",value:function(){this.stack={undo:[],redo:[]}}},{key:"cutoff",value:function(){this.lastRecorded=0}},{key:"record",value:function(k,T){if(k.ops.length!==0){this.stack.redo=[];var S=this.quill.getContents().diff(T),P=Date.now();if(this.lastRecorded+this.options.delay>P&&this.stack.undo.length>0){var N=this.stack.undo.pop();S=S.compose(N.undo),k=N.redo.compose(k)}else this.lastRecorded=P;this.stack.undo.push({redo:k,undo:S}),this.stack.undo.length>this.options.maxStack&&this.stack.undo.shift()}}},{key:"redo",value:function(){this.change("redo","undo")}},{key:"transform",value:function(k){this.stack.undo.forEach(function(T){T.undo=k.transform(T.undo,!0),T.redo=k.transform(T.redo,!0)}),this.stack.redo.forEach(function(T){T.undo=k.transform(T.undo,!0),T.redo=k.transform(T.redo,!0)})}},{key:"undo",value:function(){this.change("undo","redo")}}]),p}(c.default);_.DEFAULTS={delay:1e3,maxStack:100,userOnly:!1};function m(b){var p=b.ops[b.ops.length-1];return p==null?!1:p.insert!=null?typeof p.insert=="string"&&p.insert.endsWith(`
836
- `):p.attributes!=null?Object.keys(p.attributes).some(function(E){return l.default.query(E,l.default.Scope.BLOCK)!=null}):!1}function v(b){var p=b.reduce(function(k,T){return k+=T.delete||0,k},0),E=b.length()-p;return m(b)&&(E-=1),E}r.default=_,r.getLastChangeIndex=v},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.BaseTooltip=void 0;var a=function(){function j(z,Q){for(var X=0;X<Q.length;X++){var F=Q[X];F.enumerable=F.enumerable||!1,F.configurable=!0,"value"in F&&(F.writable=!0),Object.defineProperty(z,F.key,F)}}return function(z,Q,X){return Q&&j(z.prototype,Q),X&&j(z,X),z}}(),o=function j(z,Q,X){z===null&&(z=Function.prototype);var F=Object.getOwnPropertyDescriptor(z,Q);if(F===void 0){var J=Object.getPrototypeOf(z);return J===null?void 0:j(J,Q,X)}else{if("value"in F)return F.value;var ae=F.get;return ae===void 0?void 0:ae.call(X)}},l=i(3),s=P(l),u=i(2),f=P(u),c=i(8),d=P(c),h=i(23),y=P(h),g=i(34),_=P(g),m=i(59),v=P(m),b=i(60),p=P(b),E=i(28),k=P(E),T=i(61),S=P(T);function P(j){return j&&j.__esModule?j:{default:j}}function N(j,z){if(!(j instanceof z))throw new TypeError("Cannot call a class as a function")}function O(j,z){if(!j)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return z&&(typeof z=="object"||typeof z=="function")?z:j}function w(j,z){if(typeof z!="function"&&z!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof z);j.prototype=Object.create(z&&z.prototype,{constructor:{value:j,enumerable:!1,writable:!0,configurable:!0}}),z&&(Object.setPrototypeOf?Object.setPrototypeOf(j,z):j.__proto__=z)}var C=[!1,"center","right","justify"],I=["#000000","#e60000","#ff9900","#ffff00","#008a00","#0066cc","#9933ff","#ffffff","#facccc","#ffebcc","#ffffcc","#cce8cc","#cce0f5","#ebd6ff","#bbbbbb","#f06666","#ffc266","#ffff66","#66b966","#66a3e0","#c285ff","#888888","#a10000","#b26b00","#b2b200","#006100","#0047b2","#6b24b2","#444444","#5c0000","#663d00","#666600","#003700","#002966","#3d1466"],D=[!1,"serif","monospace"],V=["1","2","3",!1],q=["small",!1,"large","huge"],te=function(j){w(z,j);function z(Q,X){N(this,z);var F=O(this,(z.__proto__||Object.getPrototypeOf(z)).call(this,Q,X)),J=function ae(Z){if(!document.body.contains(Q.root))return document.body.removeEventListener("click",ae);F.tooltip!=null&&!F.tooltip.root.contains(Z.target)&&document.activeElement!==F.tooltip.textbox&&!F.quill.hasFocus()&&F.tooltip.hide(),F.pickers!=null&&F.pickers.forEach(function(se){se.container.contains(Z.target)||se.close()})};return Q.emitter.listenDOM("click",document.body,J),F}return a(z,[{key:"addModule",value:function(X){var F=o(z.prototype.__proto__||Object.getPrototypeOf(z.prototype),"addModule",this).call(this,X);return X==="toolbar"&&this.extendToolbar(F),F}},{key:"buildButtons",value:function(X,F){X.forEach(function(J){var ae=J.getAttribute("class")||"";ae.split(/\s+/).forEach(function(Z){if(Z.startsWith("ql-")&&(Z=Z.slice(3),F[Z]!=null))if(Z==="direction")J.innerHTML=F[Z][""]+F[Z].rtl;else if(typeof F[Z]=="string")J.innerHTML=F[Z];else{var se=J.value||"";se!=null&&F[Z][se]&&(J.innerHTML=F[Z][se])}})})}},{key:"buildPickers",value:function(X,F){var J=this;this.pickers=X.map(function(Z){if(Z.classList.contains("ql-align"))return Z.querySelector("option")==null&&M(Z,C),new p.default(Z,F.align);if(Z.classList.contains("ql-background")||Z.classList.contains("ql-color")){var se=Z.classList.contains("ql-background")?"background":"color";return Z.querySelector("option")==null&&M(Z,I,se==="background"?"#ffffff":"#000000"),new v.default(Z,F[se])}else return Z.querySelector("option")==null&&(Z.classList.contains("ql-font")?M(Z,D):Z.classList.contains("ql-header")?M(Z,V):Z.classList.contains("ql-size")&&M(Z,q)),new k.default(Z)});var ae=function(){J.pickers.forEach(function(se){se.update()})};this.quill.on(d.default.events.EDITOR_CHANGE,ae)}}]),z}(_.default);te.DEFAULTS=(0,s.default)(!0,{},_.default.DEFAULTS,{modules:{toolbar:{handlers:{formula:function(){this.quill.theme.tooltip.edit("formula")},image:function(){var z=this,Q=this.container.querySelector("input.ql-image[type=file]");Q==null&&(Q=document.createElement("input"),Q.setAttribute("type","file"),Q.setAttribute("accept","image/png, image/gif, image/jpeg, image/bmp, image/x-icon"),Q.classList.add("ql-image"),Q.addEventListener("change",function(){if(Q.files!=null&&Q.files[0]!=null){var X=new FileReader;X.onload=function(F){var J=z.quill.getSelection(!0);z.quill.updateContents(new f.default().retain(J.index).delete(J.length).insert({image:F.target.result}),d.default.sources.USER),z.quill.setSelection(J.index+1,d.default.sources.SILENT),Q.value=""},X.readAsDataURL(Q.files[0])}}),this.container.appendChild(Q)),Q.click()},video:function(){this.quill.theme.tooltip.edit("video")}}}}});var K=function(j){w(z,j);function z(Q,X){N(this,z);var F=O(this,(z.__proto__||Object.getPrototypeOf(z)).call(this,Q,X));return F.textbox=F.root.querySelector('input[type="text"]'),F.listen(),F}return a(z,[{key:"listen",value:function(){var X=this;this.textbox.addEventListener("keydown",function(F){y.default.match(F,"enter")?(X.save(),F.preventDefault()):y.default.match(F,"escape")&&(X.cancel(),F.preventDefault())})}},{key:"cancel",value:function(){this.hide()}},{key:"edit",value:function(){var X=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"link",F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;this.root.classList.remove("ql-hidden"),this.root.classList.add("ql-editing"),F!=null?this.textbox.value=F:X!==this.root.getAttribute("data-mode")&&(this.textbox.value=""),this.position(this.quill.getBounds(this.quill.selection.savedRange)),this.textbox.select(),this.textbox.setAttribute("placeholder",this.textbox.getAttribute("data-"+X)||""),this.root.setAttribute("data-mode",X)}},{key:"restoreFocus",value:function(){var X=this.quill.scrollingContainer.scrollTop;this.quill.focus(),this.quill.scrollingContainer.scrollTop=X}},{key:"save",value:function(){var X=this.textbox.value;switch(this.root.getAttribute("data-mode")){case"link":{var F=this.quill.root.scrollTop;this.linkRange?(this.quill.formatText(this.linkRange,"link",X,d.default.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",X,d.default.sources.USER)),this.quill.root.scrollTop=F;break}case"video":X=H(X);case"formula":{if(!X)break;var J=this.quill.getSelection(!0);if(J!=null){var ae=J.index+J.length;this.quill.insertEmbed(ae,this.root.getAttribute("data-mode"),X,d.default.sources.USER),this.root.getAttribute("data-mode")==="formula"&&this.quill.insertText(ae+1," ",d.default.sources.USER),this.quill.setSelection(ae+2,d.default.sources.USER)}break}}this.textbox.value="",this.hide()}}]),z}(S.default);function H(j){var z=j.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||j.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);return z?(z[1]||"https")+"://www.youtube.com/embed/"+z[2]+"?showinfo=0":(z=j.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/))?(z[1]||"https")+"://player.vimeo.com/video/"+z[2]+"/":j}function M(j,z){var Q=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;z.forEach(function(X){var F=document.createElement("option");X===Q?F.setAttribute("selected","selected"):F.setAttribute("value",X),j.appendChild(F)})}r.BaseTooltip=K,r.default=te},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var a=function(){function o(){this.head=this.tail=null,this.length=0}return o.prototype.append=function(){for(var l=[],s=0;s<arguments.length;s++)l[s]=arguments[s];this.insertBefore(l[0],null),l.length>1&&this.append.apply(this,l.slice(1))},o.prototype.contains=function(l){for(var s,u=this.iterator();s=u();)if(s===l)return!0;return!1},o.prototype.insertBefore=function(l,s){l&&(l.next=s,s!=null?(l.prev=s.prev,s.prev!=null&&(s.prev.next=l),s.prev=l,s===this.head&&(this.head=l)):this.tail!=null?(this.tail.next=l,l.prev=this.tail,this.tail=l):(l.prev=null,this.head=this.tail=l),this.length+=1)},o.prototype.offset=function(l){for(var s=0,u=this.head;u!=null;){if(u===l)return s;s+=u.length(),u=u.next}return-1},o.prototype.remove=function(l){this.contains(l)&&(l.prev!=null&&(l.prev.next=l.next),l.next!=null&&(l.next.prev=l.prev),l===this.head&&(this.head=l.next),l===this.tail&&(this.tail=l.prev),this.length-=1)},o.prototype.iterator=function(l){return l===void 0&&(l=this.head),function(){var s=l;return l!=null&&(l=l.next),s}},o.prototype.find=function(l,s){s===void 0&&(s=!1);for(var u,f=this.iterator();u=f();){var c=u.length();if(l<c||s&&l===c&&(u.next==null||u.next.length()!==0))return[u,l];l-=c}return[null,0]},o.prototype.forEach=function(l){for(var s,u=this.iterator();s=u();)l(s)},o.prototype.forEachAt=function(l,s,u){if(!(s<=0))for(var f=this.find(l),c=f[0],d=f[1],h,y=l-d,g=this.iterator(c);(h=g())&&y<l+s;){var _=h.length();l>y?u(h,l-y,Math.min(s,y+_-l)):u(h,0,Math.min(_,l+s-y)),y+=_}},o.prototype.map=function(l){return this.reduce(function(s,u){return s.push(l(u)),s},[])},o.prototype.reduce=function(l,s){for(var u,f=this.iterator();u=f();)s=l(s,u);return s},o}();r.default=a},function(n,r,i){var a=this&&this.__extends||function(){var c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,h){d.__proto__=h}||function(d,h){for(var y in h)h.hasOwnProperty(y)&&(d[y]=h[y])};return function(d,h){c(d,h);function y(){this.constructor=d}d.prototype=h===null?Object.create(h):(y.prototype=h.prototype,new y)}}();Object.defineProperty(r,"__esModule",{value:!0});var o=i(17),l=i(1),s={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},u=100,f=function(c){a(d,c);function d(h){var y=c.call(this,h)||this;return y.scroll=y,y.observer=new MutationObserver(function(g){y.update(g)}),y.observer.observe(y.domNode,s),y.attach(),y}return d.prototype.detach=function(){c.prototype.detach.call(this),this.observer.disconnect()},d.prototype.deleteAt=function(h,y){this.update(),h===0&&y===this.length()?this.children.forEach(function(g){g.remove()}):c.prototype.deleteAt.call(this,h,y)},d.prototype.formatAt=function(h,y,g,_){this.update(),c.prototype.formatAt.call(this,h,y,g,_)},d.prototype.insertAt=function(h,y,g){this.update(),c.prototype.insertAt.call(this,h,y,g)},d.prototype.optimize=function(h,y){var g=this;h===void 0&&(h=[]),y===void 0&&(y={}),c.prototype.optimize.call(this,y);for(var _=[].slice.call(this.observer.takeRecords());_.length>0;)h.push(_.pop());for(var m=function(E,k){k===void 0&&(k=!0),!(E==null||E===g)&&E.domNode.parentNode!=null&&(E.domNode[l.DATA_KEY].mutations==null&&(E.domNode[l.DATA_KEY].mutations=[]),k&&m(E.parent))},v=function(E){E.domNode[l.DATA_KEY]==null||E.domNode[l.DATA_KEY].mutations==null||(E instanceof o.default&&E.children.forEach(v),E.optimize(y))},b=h,p=0;b.length>0;p+=1){if(p>=u)throw new Error("[Parchment] Maximum optimize iterations reached");for(b.forEach(function(E){var k=l.find(E.target,!0);k!=null&&(k.domNode===E.target&&(E.type==="childList"?(m(l.find(E.previousSibling,!1)),[].forEach.call(E.addedNodes,function(T){var S=l.find(T,!1);m(S,!1),S instanceof o.default&&S.children.forEach(function(P){m(P,!1)})})):E.type==="attributes"&&m(k.prev)),m(k))}),this.children.forEach(v),b=[].slice.call(this.observer.takeRecords()),_=b.slice();_.length>0;)h.push(_.pop())}},d.prototype.update=function(h,y){var g=this;y===void 0&&(y={}),h=h||this.observer.takeRecords(),h.map(function(_){var m=l.find(_.target,!0);return m==null?null:m.domNode[l.DATA_KEY].mutations==null?(m.domNode[l.DATA_KEY].mutations=[_],m):(m.domNode[l.DATA_KEY].mutations.push(_),null)}).forEach(function(_){_==null||_===g||_.domNode[l.DATA_KEY]==null||_.update(_.domNode[l.DATA_KEY].mutations||[],y)}),this.domNode[l.DATA_KEY].mutations!=null&&c.prototype.update.call(this,this.domNode[l.DATA_KEY].mutations,y),this.optimize(h,y)},d.blotName="scroll",d.defaultChild="block",d.scope=l.Scope.BLOCK_BLOT,d.tagName="DIV",d}(o.default);r.default=f},function(n,r,i){var a=this&&this.__extends||function(){var f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,d){c.__proto__=d}||function(c,d){for(var h in d)d.hasOwnProperty(h)&&(c[h]=d[h])};return function(c,d){f(c,d);function h(){this.constructor=c}c.prototype=d===null?Object.create(d):(h.prototype=d.prototype,new h)}}();Object.defineProperty(r,"__esModule",{value:!0});var o=i(18),l=i(1);function s(f,c){if(Object.keys(f).length!==Object.keys(c).length)return!1;for(var d in f)if(f[d]!==c[d])return!1;return!0}var u=function(f){a(c,f);function c(){return f!==null&&f.apply(this,arguments)||this}return c.formats=function(d){if(d.tagName!==c.tagName)return f.formats.call(this,d)},c.prototype.format=function(d,h){var y=this;d===this.statics.blotName&&!h?(this.children.forEach(function(g){g instanceof o.default||(g=g.wrap(c.blotName,!0)),y.attributes.copy(g)}),this.unwrap()):f.prototype.format.call(this,d,h)},c.prototype.formatAt=function(d,h,y,g){if(this.formats()[y]!=null||l.query(y,l.Scope.ATTRIBUTE)){var _=this.isolate(d,h);_.format(y,g)}else f.prototype.formatAt.call(this,d,h,y,g)},c.prototype.optimize=function(d){f.prototype.optimize.call(this,d);var h=this.formats();if(Object.keys(h).length===0)return this.unwrap();var y=this.next;y instanceof c&&y.prev===this&&s(h,y.formats())&&(y.moveChildren(this),y.remove())},c.blotName="inline",c.scope=l.Scope.INLINE_BLOT,c.tagName="SPAN",c}(o.default);r.default=u},function(n,r,i){var a=this&&this.__extends||function(){var u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,c){f.__proto__=c}||function(f,c){for(var d in c)c.hasOwnProperty(d)&&(f[d]=c[d])};return function(f,c){u(f,c);function d(){this.constructor=f}f.prototype=c===null?Object.create(c):(d.prototype=c.prototype,new d)}}();Object.defineProperty(r,"__esModule",{value:!0});var o=i(18),l=i(1),s=function(u){a(f,u);function f(){return u!==null&&u.apply(this,arguments)||this}return f.formats=function(c){var d=l.query(f.blotName).tagName;if(c.tagName!==d)return u.formats.call(this,c)},f.prototype.format=function(c,d){l.query(c,l.Scope.BLOCK)!=null&&(c===this.statics.blotName&&!d?this.replaceWith(f.blotName):u.prototype.format.call(this,c,d))},f.prototype.formatAt=function(c,d,h,y){l.query(h,l.Scope.BLOCK)!=null?this.format(h,y):u.prototype.formatAt.call(this,c,d,h,y)},f.prototype.insertAt=function(c,d,h){if(h==null||l.query(d,l.Scope.INLINE)!=null)u.prototype.insertAt.call(this,c,d,h);else{var y=this.split(c),g=l.create(d,h);y.parent.insertBefore(g,y)}},f.prototype.update=function(c,d){navigator.userAgent.match(/Trident/)?this.build():u.prototype.update.call(this,c,d)},f.blotName="block",f.scope=l.Scope.BLOCK_BLOT,f.tagName="P",f}(o.default);r.default=s},function(n,r,i){var a=this&&this.__extends||function(){var s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,f){u.__proto__=f}||function(u,f){for(var c in f)f.hasOwnProperty(c)&&(u[c]=f[c])};return function(u,f){s(u,f);function c(){this.constructor=u}u.prototype=f===null?Object.create(f):(c.prototype=f.prototype,new c)}}();Object.defineProperty(r,"__esModule",{value:!0});var o=i(19),l=function(s){a(u,s);function u(){return s!==null&&s.apply(this,arguments)||this}return u.formats=function(f){},u.prototype.format=function(f,c){s.prototype.formatAt.call(this,0,this.length(),f,c)},u.prototype.formatAt=function(f,c,d,h){f===0&&c===this.length()?this.format(d,h):s.prototype.formatAt.call(this,f,c,d,h)},u.prototype.formats=function(){return this.statics.formats(this.domNode)},u}(o.default);r.default=l},function(n,r,i){var a=this&&this.__extends||function(){var u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,c){f.__proto__=c}||function(f,c){for(var d in c)c.hasOwnProperty(d)&&(f[d]=c[d])};return function(f,c){u(f,c);function d(){this.constructor=f}f.prototype=c===null?Object.create(c):(d.prototype=c.prototype,new d)}}();Object.defineProperty(r,"__esModule",{value:!0});var o=i(19),l=i(1),s=function(u){a(f,u);function f(c){var d=u.call(this,c)||this;return d.text=d.statics.value(d.domNode),d}return f.create=function(c){return document.createTextNode(c)},f.value=function(c){var d=c.data;return d.normalize&&(d=d.normalize()),d},f.prototype.deleteAt=function(c,d){this.domNode.data=this.text=this.text.slice(0,c)+this.text.slice(c+d)},f.prototype.index=function(c,d){return this.domNode===c?d:-1},f.prototype.insertAt=function(c,d,h){h==null?(this.text=this.text.slice(0,c)+d+this.text.slice(c),this.domNode.data=this.text):u.prototype.insertAt.call(this,c,d,h)},f.prototype.length=function(){return this.text.length},f.prototype.optimize=function(c){u.prototype.optimize.call(this,c),this.text=this.statics.value(this.domNode),this.text.length===0?this.remove():this.next instanceof f&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())},f.prototype.position=function(c,d){return[this.domNode,c]},f.prototype.split=function(c,d){if(d===void 0&&(d=!1),!d){if(c===0)return this;if(c===this.length())return this.next}var h=l.create(this.domNode.splitText(c));return this.parent.insertBefore(h,this.next),this.text=this.statics.value(this.domNode),h},f.prototype.update=function(c,d){var h=this;c.some(function(y){return y.type==="characterData"&&y.target===h.domNode})&&(this.text=this.statics.value(this.domNode))},f.prototype.value=function(){return this.text},f.blotName="text",f.scope=l.Scope.INLINE_BLOT,f}(o.default);r.default=s},function(n,r,i){var a=document.createElement("div");if(a.classList.toggle("test-class",!1),a.classList.contains("test-class")){var o=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(l,s){return arguments.length>1&&!this.contains(l)==!s?s:o.call(this,l)}}String.prototype.startsWith||(String.prototype.startsWith=function(l,s){return s=s||0,this.substr(s,l.length)===l}),String.prototype.endsWith||(String.prototype.endsWith=function(l,s){var u=this.toString();(typeof s!="number"||!isFinite(s)||Math.floor(s)!==s||s>u.length)&&(s=u.length),s-=l.length;var f=u.indexOf(l,s);return f!==-1&&f===s}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(s){if(this===null)throw new TypeError("Array.prototype.find called on null or undefined");if(typeof s!="function")throw new TypeError("predicate must be a function");for(var u=Object(this),f=u.length>>>0,c=arguments[1],d,h=0;h<f;h++)if(d=u[h],s.call(c,d,h,u))return d}}),document.addEventListener("DOMContentLoaded",function(){document.execCommand("enableObjectResizing",!1,!1),document.execCommand("autoUrlDetect",!1,!1)})},function(n,r){var i=-1,a=1,o=0;function l(p,E,k){if(p==E)return p?[[o,p]]:[];(k<0||p.length<k)&&(k=null);var T=c(p,E),S=p.substring(0,T);p=p.substring(T),E=E.substring(T),T=d(p,E);var P=p.substring(p.length-T);p=p.substring(0,p.length-T),E=E.substring(0,E.length-T);var N=s(p,E);return S&&N.unshift([o,S]),P&&N.push([o,P]),y(N),k!=null&&(N=m(N,k)),N=v(N),N}function s(p,E){var k;if(!p)return[[a,E]];if(!E)return[[i,p]];var T=p.length>E.length?p:E,S=p.length>E.length?E:p,P=T.indexOf(S);if(P!=-1)return k=[[a,T.substring(0,P)],[o,S],[a,T.substring(P+S.length)]],p.length>E.length&&(k[0][0]=k[2][0]=i),k;if(S.length==1)return[[i,p],[a,E]];var N=h(p,E);if(N){var O=N[0],w=N[1],C=N[2],I=N[3],D=N[4],V=l(O,C),q=l(w,I);return V.concat([[o,D]],q)}return u(p,E)}function u(p,E){for(var k=p.length,T=E.length,S=Math.ceil((k+T)/2),P=S,N=2*S,O=new Array(N),w=new Array(N),C=0;C<N;C++)O[C]=-1,w[C]=-1;O[P+1]=0,w[P+1]=0;for(var I=k-T,D=I%2!=0,V=0,q=0,te=0,K=0,H=0;H<S;H++){for(var M=-H+V;M<=H-q;M+=2){var j=P+M,z;M==-H||M!=H&&O[j-1]<O[j+1]?z=O[j+1]:z=O[j-1]+1;for(var Q=z-M;z<k&&Q<T&&p.charAt(z)==E.charAt(Q);)z++,Q++;if(O[j]=z,z>k)q+=2;else if(Q>T)V+=2;else if(D){var X=P+I-M;if(X>=0&&X<N&&w[X]!=-1){var F=k-w[X];if(z>=F)return f(p,E,z,Q)}}}for(var J=-H+te;J<=H-K;J+=2){var X=P+J,F;J==-H||J!=H&&w[X-1]<w[X+1]?F=w[X+1]:F=w[X-1]+1;for(var ae=F-J;F<k&&ae<T&&p.charAt(k-F-1)==E.charAt(T-ae-1);)F++,ae++;if(w[X]=F,F>k)K+=2;else if(ae>T)te+=2;else if(!D){var j=P+I-J;if(j>=0&&j<N&&O[j]!=-1){var z=O[j],Q=P+z-j;if(F=k-F,z>=F)return f(p,E,z,Q)}}}}return[[i,p],[a,E]]}function f(p,E,k,T){var S=p.substring(0,k),P=E.substring(0,T),N=p.substring(k),O=E.substring(T),w=l(S,P),C=l(N,O);return w.concat(C)}function c(p,E){if(!p||!E||p.charAt(0)!=E.charAt(0))return 0;for(var k=0,T=Math.min(p.length,E.length),S=T,P=0;k<S;)p.substring(P,S)==E.substring(P,S)?(k=S,P=k):T=S,S=Math.floor((T-k)/2+k);return S}function d(p,E){if(!p||!E||p.charAt(p.length-1)!=E.charAt(E.length-1))return 0;for(var k=0,T=Math.min(p.length,E.length),S=T,P=0;k<S;)p.substring(p.length-S,p.length-P)==E.substring(E.length-S,E.length-P)?(k=S,P=k):T=S,S=Math.floor((T-k)/2+k);return S}function h(p,E){var k=p.length>E.length?p:E,T=p.length>E.length?E:p;if(k.length<4||T.length*2<k.length)return null;function S(q,te,K){for(var H=q.substring(K,K+Math.floor(q.length/4)),M=-1,j="",z,Q,X,F;(M=te.indexOf(H,M+1))!=-1;){var J=c(q.substring(K),te.substring(M)),ae=d(q.substring(0,K),te.substring(0,M));j.length<ae+J&&(j=te.substring(M-ae,M)+te.substring(M,M+J),z=q.substring(0,K-ae),Q=q.substring(K+J),X=te.substring(0,M-ae),F=te.substring(M+J))}return j.length*2>=q.length?[z,Q,X,F,j]:null}var P=S(k,T,Math.ceil(k.length/4)),N=S(k,T,Math.ceil(k.length/2)),O;if(!P&&!N)return null;N?P?O=P[4].length>N[4].length?P:N:O=N:O=P;var w,C,I,D;p.length>E.length?(w=O[0],C=O[1],I=O[2],D=O[3]):(I=O[0],D=O[1],w=O[2],C=O[3]);var V=O[4];return[w,C,I,D,V]}function y(p){p.push([o,""]);for(var E=0,k=0,T=0,S="",P="",N;E<p.length;)switch(p[E][0]){case a:T++,P+=p[E][1],E++;break;case i:k++,S+=p[E][1],E++;break;case o:k+T>1?(k!==0&&T!==0&&(N=c(P,S),N!==0&&(E-k-T>0&&p[E-k-T-1][0]==o?p[E-k-T-1][1]+=P.substring(0,N):(p.splice(0,0,[o,P.substring(0,N)]),E++),P=P.substring(N),S=S.substring(N)),N=d(P,S),N!==0&&(p[E][1]=P.substring(P.length-N)+p[E][1],P=P.substring(0,P.length-N),S=S.substring(0,S.length-N))),k===0?p.splice(E-T,k+T,[a,P]):T===0?p.splice(E-k,k+T,[i,S]):p.splice(E-k-T,k+T,[i,S],[a,P]),E=E-k-T+(k?1:0)+(T?1:0)+1):E!==0&&p[E-1][0]==o?(p[E-1][1]+=p[E][1],p.splice(E,1)):E++,T=0,k=0,S="",P="";break}p[p.length-1][1]===""&&p.pop();var O=!1;for(E=1;E<p.length-1;)p[E-1][0]==o&&p[E+1][0]==o&&(p[E][1].substring(p[E][1].length-p[E-1][1].length)==p[E-1][1]?(p[E][1]=p[E-1][1]+p[E][1].substring(0,p[E][1].length-p[E-1][1].length),p[E+1][1]=p[E-1][1]+p[E+1][1],p.splice(E-1,1),O=!0):p[E][1].substring(0,p[E+1][1].length)==p[E+1][1]&&(p[E-1][1]+=p[E+1][1],p[E][1]=p[E][1].substring(p[E+1][1].length)+p[E+1][1],p.splice(E+1,1),O=!0)),E++;O&&y(p)}var g=l;g.INSERT=a,g.DELETE=i,g.EQUAL=o,n.exports=g;function _(p,E){if(E===0)return[o,p];for(var k=0,T=0;T<p.length;T++){var S=p[T];if(S[0]===i||S[0]===o){var P=k+S[1].length;if(E===P)return[T+1,p];if(E<P){p=p.slice();var N=E-k,O=[S[0],S[1].slice(0,N)],w=[S[0],S[1].slice(N)];return p.splice(T,1,O,w),[T+1,p]}else k=P}}throw new Error("cursor_pos is out of bounds!")}function m(p,E){var k=_(p,E),T=k[1],S=k[0],P=T[S],N=T[S+1];if(P==null)return p;if(P[0]!==o)return p;if(N!=null&&P[1]+N[1]===N[1]+P[1])return T.splice(S,2,N,P),b(T,S,2);if(N!=null&&N[1].indexOf(P[1])===0){T.splice(S,2,[N[0],P[1]],[0,P[1]]);var O=N[1].slice(P[1].length);return O.length>0&&T.splice(S+2,0,[N[0],O]),b(T,S,3)}else return p}function v(p){for(var E=!1,k=function(N){return N.charCodeAt(0)>=56320&&N.charCodeAt(0)<=57343},T=function(N){return N.charCodeAt(N.length-1)>=55296&&N.charCodeAt(N.length-1)<=56319},S=2;S<p.length;S+=1)p[S-2][0]===o&&T(p[S-2][1])&&p[S-1][0]===i&&k(p[S-1][1])&&p[S][0]===a&&k(p[S][1])&&(E=!0,p[S-1][1]=p[S-2][1].slice(-1)+p[S-1][1],p[S][1]=p[S-2][1].slice(-1)+p[S][1],p[S-2][1]=p[S-2][1].slice(0,-1));if(!E)return p;for(var P=[],S=0;S<p.length;S+=1)p[S][1].length>0&&P.push(p[S]);return P}function b(p,E,k){for(var T=E+k-1;T>=0&&T>=E-1;T--)if(T+1<p.length){var S=p[T],P=p[T+1];S[0]===P[1]&&p.splice(T,2,[S[0],S[1]+P[1]])}return p}},function(n,r){r=n.exports=typeof Object.keys=="function"?Object.keys:i,r.shim=i;function i(a){var o=[];for(var l in a)o.push(l);return o}},function(n,r){var i=function(){return Object.prototype.toString.call(arguments)}()=="[object Arguments]";r=n.exports=i?a:o,r.supported=a;function a(l){return Object.prototype.toString.call(l)=="[object Arguments]"}r.unsupported=o;function o(l){return l&&typeof l=="object"&&typeof l.length=="number"&&Object.prototype.hasOwnProperty.call(l,"callee")&&!Object.prototype.propertyIsEnumerable.call(l,"callee")||!1}},function(n,r){var i=Object.prototype.hasOwnProperty,a="~";function o(){}Object.create&&(o.prototype=Object.create(null),new o().__proto__||(a=!1));function l(u,f,c){this.fn=u,this.context=f,this.once=c||!1}function s(){this._events=new o,this._eventsCount=0}s.prototype.eventNames=function(){var f=[],c,d;if(this._eventsCount===0)return f;for(d in c=this._events)i.call(c,d)&&f.push(a?d.slice(1):d);return Object.getOwnPropertySymbols?f.concat(Object.getOwnPropertySymbols(c)):f},s.prototype.listeners=function(f,c){var d=a?a+f:f,h=this._events[d];if(c)return!!h;if(!h)return[];if(h.fn)return[h.fn];for(var y=0,g=h.length,_=new Array(g);y<g;y++)_[y]=h[y].fn;return _},s.prototype.emit=function(f,c,d,h,y,g){var _=a?a+f:f;if(!this._events[_])return!1;var m=this._events[_],v=arguments.length,b,p;if(m.fn){switch(m.once&&this.removeListener(f,m.fn,void 0,!0),v){case 1:return m.fn.call(m.context),!0;case 2:return m.fn.call(m.context,c),!0;case 3:return m.fn.call(m.context,c,d),!0;case 4:return m.fn.call(m.context,c,d,h),!0;case 5:return m.fn.call(m.context,c,d,h,y),!0;case 6:return m.fn.call(m.context,c,d,h,y,g),!0}for(p=1,b=new Array(v-1);p<v;p++)b[p-1]=arguments[p];m.fn.apply(m.context,b)}else{var E=m.length,k;for(p=0;p<E;p++)switch(m[p].once&&this.removeListener(f,m[p].fn,void 0,!0),v){case 1:m[p].fn.call(m[p].context);break;case 2:m[p].fn.call(m[p].context,c);break;case 3:m[p].fn.call(m[p].context,c,d);break;case 4:m[p].fn.call(m[p].context,c,d,h);break;default:if(!b)for(k=1,b=new Array(v-1);k<v;k++)b[k-1]=arguments[k];m[p].fn.apply(m[p].context,b)}}return!0},s.prototype.on=function(f,c,d){var h=new l(c,d||this),y=a?a+f:f;return this._events[y]?this._events[y].fn?this._events[y]=[this._events[y],h]:this._events[y].push(h):(this._events[y]=h,this._eventsCount++),this},s.prototype.once=function(f,c,d){var h=new l(c,d||this,!0),y=a?a+f:f;return this._events[y]?this._events[y].fn?this._events[y]=[this._events[y],h]:this._events[y].push(h):(this._events[y]=h,this._eventsCount++),this},s.prototype.removeListener=function(f,c,d,h){var y=a?a+f:f;if(!this._events[y])return this;if(!c)return--this._eventsCount===0?this._events=new o:delete this._events[y],this;var g=this._events[y];if(g.fn)g.fn===c&&(!h||g.once)&&(!d||g.context===d)&&(--this._eventsCount===0?this._events=new o:delete this._events[y]);else{for(var _=0,m=[],v=g.length;_<v;_++)(g[_].fn!==c||h&&!g[_].once||d&&g[_].context!==d)&&m.push(g[_]);m.length?this._events[y]=m.length===1?m[0]:m:--this._eventsCount===0?this._events=new o:delete this._events[y]}return this},s.prototype.removeAllListeners=function(f){var c;return f?(c=a?a+f:f,this._events[c]&&(--this._eventsCount===0?this._events=new o:delete this._events[c])):(this._events=new o,this._eventsCount=0),this},s.prototype.off=s.prototype.removeListener,s.prototype.addListener=s.prototype.on,s.prototype.setMaxListeners=function(){return this},s.prefixed=a,s.EventEmitter=s,typeof n<"u"&&(n.exports=s)},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.matchText=r.matchSpacing=r.matchNewline=r.matchBlot=r.matchAttributor=r.default=void 0;var a=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(U){return typeof U}:function(U){return U&&typeof Symbol=="function"&&U.constructor===Symbol&&U!==Symbol.prototype?"symbol":typeof U},o=function(){function U(W,re){var ie=[],oe=!0,ce=!1,G=void 0;try{for(var ne=W[Symbol.iterator](),pe;!(oe=(pe=ne.next()).done)&&(ie.push(pe.value),!(re&&ie.length===re));oe=!0);}catch(ge){ce=!0,G=ge}finally{try{!oe&&ne.return&&ne.return()}finally{if(ce)throw G}}return ie}return function(W,re){if(Array.isArray(W))return W;if(Symbol.iterator in Object(W))return U(W,re);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),l=function(){function U(W,re){for(var ie=0;ie<re.length;ie++){var oe=re[ie];oe.enumerable=oe.enumerable||!1,oe.configurable=!0,"value"in oe&&(oe.writable=!0),Object.defineProperty(W,oe.key,oe)}}return function(W,re,ie){return re&&U(W.prototype,re),ie&&U(W,ie),W}}(),s=i(3),u=w(s),f=i(2),c=w(f),d=i(0),h=w(d),y=i(5),g=w(y),_=i(10),m=w(_),v=i(9),b=w(v),p=i(36),E=i(37),k=i(13),T=w(k),S=i(26),P=i(38),N=i(39),O=i(40);function w(U){return U&&U.__esModule?U:{default:U}}function C(U,W,re){return W in U?Object.defineProperty(U,W,{value:re,enumerable:!0,configurable:!0,writable:!0}):U[W]=re,U}function I(U,W){if(!(U instanceof W))throw new TypeError("Cannot call a class as a function")}function D(U,W){if(!U)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return W&&(typeof W=="object"||typeof W=="function")?W:U}function V(U,W){if(typeof W!="function"&&W!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof W);U.prototype=Object.create(W&&W.prototype,{constructor:{value:U,enumerable:!1,writable:!0,configurable:!0}}),W&&(Object.setPrototypeOf?Object.setPrototypeOf(U,W):U.__proto__=W)}var q=(0,m.default)("quill:clipboard"),te="__ql-matcher",K=[[Node.TEXT_NODE,le],[Node.TEXT_NODE,x],["br",he],[Node.ELEMENT_NODE,x],[Node.ELEMENT_NODE,se],[Node.ELEMENT_NODE,$],[Node.ELEMENT_NODE,Z],[Node.ELEMENT_NODE,ee],["li",L],["b",ae.bind(ae,"bold")],["i",ae.bind(ae,"italic")],["style",B]],H=[p.AlignAttribute,P.DirectionAttribute].reduce(function(U,W){return U[W.keyName]=W,U},{}),M=[p.AlignStyle,E.BackgroundStyle,S.ColorStyle,P.DirectionStyle,N.FontStyle,O.SizeStyle].reduce(function(U,W){return U[W.keyName]=W,U},{}),j=function(U){V(W,U);function W(re,ie){I(this,W);var oe=D(this,(W.__proto__||Object.getPrototypeOf(W)).call(this,re,ie));return oe.quill.root.addEventListener("paste",oe.onPaste.bind(oe)),oe.container=oe.quill.addContainer("ql-clipboard"),oe.container.setAttribute("contenteditable",!0),oe.container.setAttribute("tabindex",-1),oe.matchers=[],K.concat(oe.options.matchers).forEach(function(ce){var G=o(ce,2),ne=G[0],pe=G[1];!ie.matchVisual&&pe===$||oe.addMatcher(ne,pe)}),oe}return l(W,[{key:"addMatcher",value:function(ie,oe){this.matchers.push([ie,oe])}},{key:"convert",value:function(ie){if(typeof ie=="string")return this.container.innerHTML=ie.replace(/\>\r?\n +\</g,"><"),this.convert();var oe=this.quill.getFormat(this.quill.selection.savedRange.index);if(oe[T.default.blotName]){var ce=this.container.innerText;return this.container.innerHTML="",new c.default().insert(ce,C({},T.default.blotName,oe[T.default.blotName]))}var G=this.prepareMatching(),ne=o(G,2),pe=ne[0],ge=ne[1],ve=J(this.container,pe,ge);return X(ve,`
837
- `)&&ve.ops[ve.ops.length-1].attributes==null&&(ve=ve.compose(new c.default().retain(ve.length()-1).delete(1))),q.log("convert",this.container.innerHTML,ve),this.container.innerHTML="",ve}},{key:"dangerouslyPasteHTML",value:function(ie,oe){var ce=arguments.length>2&&arguments[2]!==void 0?arguments[2]:g.default.sources.API;if(typeof ie=="string")this.quill.setContents(this.convert(ie),oe),this.quill.setSelection(0,g.default.sources.SILENT);else{var G=this.convert(oe);this.quill.updateContents(new c.default().retain(ie).concat(G),ce),this.quill.setSelection(ie+G.length(),g.default.sources.SILENT)}}},{key:"onPaste",value:function(ie){var oe=this;if(!(ie.defaultPrevented||!this.quill.isEnabled())){var ce=this.quill.getSelection(),G=new c.default().retain(ce.index),ne=this.quill.scrollingContainer.scrollTop;this.container.focus(),this.quill.selection.update(g.default.sources.SILENT),setTimeout(function(){G=G.concat(oe.convert()).delete(ce.length),oe.quill.updateContents(G,g.default.sources.USER),oe.quill.setSelection(G.length()-ce.length,g.default.sources.SILENT),oe.quill.scrollingContainer.scrollTop=ne,oe.quill.focus()},1)}}},{key:"prepareMatching",value:function(){var ie=this,oe=[],ce=[];return this.matchers.forEach(function(G){var ne=o(G,2),pe=ne[0],ge=ne[1];switch(pe){case Node.TEXT_NODE:ce.push(ge);break;case Node.ELEMENT_NODE:oe.push(ge);break;default:[].forEach.call(ie.container.querySelectorAll(pe),function(ve){ve[te]=ve[te]||[],ve[te].push(ge)});break}}),[oe,ce]}}]),W}(b.default);j.DEFAULTS={matchers:[],matchVisual:!0};function z(U,W,re){return(typeof W>"u"?"undefined":a(W))==="object"?Object.keys(W).reduce(function(ie,oe){return z(ie,oe,W[oe])},U):U.reduce(function(ie,oe){return oe.attributes&&oe.attributes[W]?ie.push(oe):ie.insert(oe.insert,(0,u.default)({},C({},W,re),oe.attributes))},new c.default)}function Q(U){if(U.nodeType!==Node.ELEMENT_NODE)return{};var W="__ql-computed-style";return U[W]||(U[W]=window.getComputedStyle(U))}function X(U,W){for(var re="",ie=U.ops.length-1;ie>=0&&re.length<W.length;--ie){var oe=U.ops[ie];if(typeof oe.insert!="string")break;re=oe.insert+re}return re.slice(-1*W.length)===W}function F(U){if(U.childNodes.length===0)return!1;var W=Q(U);return["block","list-item"].indexOf(W.display)>-1}function J(U,W,re){return U.nodeType===U.TEXT_NODE?re.reduce(function(ie,oe){return oe(U,ie)},new c.default):U.nodeType===U.ELEMENT_NODE?[].reduce.call(U.childNodes||[],function(ie,oe){var ce=J(oe,W,re);return oe.nodeType===U.ELEMENT_NODE&&(ce=W.reduce(function(G,ne){return ne(oe,G)},ce),ce=(oe[te]||[]).reduce(function(G,ne){return ne(oe,G)},ce)),ie.concat(ce)},new c.default):new c.default}function ae(U,W,re){return z(re,U,!0)}function Z(U,W){var re=h.default.Attributor.Attribute.keys(U),ie=h.default.Attributor.Class.keys(U),oe=h.default.Attributor.Style.keys(U),ce={};return re.concat(ie).concat(oe).forEach(function(G){var ne=h.default.query(G,h.default.Scope.ATTRIBUTE);ne!=null&&(ce[ne.attrName]=ne.value(U),ce[ne.attrName])||(ne=H[G],ne!=null&&(ne.attrName===G||ne.keyName===G)&&(ce[ne.attrName]=ne.value(U)||void 0),ne=M[G],ne!=null&&(ne.attrName===G||ne.keyName===G)&&(ne=M[G],ce[ne.attrName]=ne.value(U)||void 0))}),Object.keys(ce).length>0&&(W=z(W,ce)),W}function se(U,W){var re=h.default.query(U);if(re==null)return W;if(re.prototype instanceof h.default.Embed){var ie={},oe=re.value(U);oe!=null&&(ie[re.blotName]=oe,W=new c.default().insert(ie,re.formats(U)))}else typeof re.formats=="function"&&(W=z(W,re.blotName,re.formats(U)));return W}function he(U,W){return X(W,`
830
+ `);return H.insert(z,M.attributes)}return H.push(M)},new u.default)}r.default=V},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.Range=void 0;var a=function(){function S(P,N){var O=[],w=!0,C=!1,I=void 0;try{for(var D=P[Symbol.iterator](),V;!(w=(V=D.next()).done)&&(O.push(V.value),!(N&&O.length===N));w=!0);}catch(U){C=!0,I=U}finally{try{!w&&D.return&&D.return()}finally{if(C)throw I}}return O}return function(P,N){if(Array.isArray(P))return P;if(Symbol.iterator in Object(P))return S(P,N);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=function(){function S(P,N){for(var O=0;O<N.length;O++){var w=N[O];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(P,w.key,w)}}return function(P,N,O){return N&&S(P.prototype,N),O&&S(P,O),P}}(),l=i(0),s=m(l),u=i(21),f=m(u),c=i(11),d=m(c),h=i(8),y=m(h),g=i(10),_=m(g);function m(S){return S&&S.__esModule?S:{default:S}}function v(S){if(Array.isArray(S)){for(var P=0,N=Array(S.length);P<S.length;P++)N[P]=S[P];return N}else return Array.from(S)}function b(S,P){if(!(S instanceof P))throw new TypeError("Cannot call a class as a function")}var p=(0,_.default)("quill:selection"),E=function S(P){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;b(this,S),this.index=P,this.length=N},k=function(){function S(P,N){var O=this;b(this,S),this.emitter=N,this.scroll=P,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=s.default.create("cursor",this),this.lastRange=this.savedRange=new E(0,0),this.handleComposition(),this.handleDragging(),this.emitter.listenDOM("selectionchange",document,function(){O.mouseDown||setTimeout(O.update.bind(O,y.default.sources.USER),1)}),this.emitter.on(y.default.events.EDITOR_CHANGE,function(w,C){w===y.default.events.TEXT_CHANGE&&C.length()>0&&O.update(y.default.sources.SILENT)}),this.emitter.on(y.default.events.SCROLL_BEFORE_UPDATE,function(){if(O.hasFocus()){var w=O.getNativeRange();w!=null&&w.start.node!==O.cursor.textNode&&O.emitter.once(y.default.events.SCROLL_UPDATE,function(){try{O.setNativeRange(w.start.node,w.start.offset,w.end.node,w.end.offset)}catch{}})}}),this.emitter.on(y.default.events.SCROLL_OPTIMIZE,function(w,C){if(C.range){var I=C.range,D=I.startNode,V=I.startOffset,U=I.endNode,te=I.endOffset;O.setNativeRange(D,V,U,te)}}),this.update(y.default.sources.SILENT)}return o(S,[{key:"handleComposition",value:function(){var N=this;this.root.addEventListener("compositionstart",function(){N.composing=!0}),this.root.addEventListener("compositionend",function(){if(N.composing=!1,N.cursor.parent){var O=N.cursor.restore();if(!O)return;setTimeout(function(){N.setNativeRange(O.startNode,O.startOffset,O.endNode,O.endOffset)},1)}})}},{key:"handleDragging",value:function(){var N=this;this.emitter.listenDOM("mousedown",document.body,function(){N.mouseDown=!0}),this.emitter.listenDOM("mouseup",document.body,function(){N.mouseDown=!1,N.update(y.default.sources.USER)})}},{key:"focus",value:function(){this.hasFocus()||(this.root.focus(),this.setRange(this.savedRange))}},{key:"format",value:function(N,O){if(!(this.scroll.whitelist!=null&&!this.scroll.whitelist[N])){this.scroll.update();var w=this.getNativeRange();if(!(w==null||!w.native.collapsed||s.default.query(N,s.default.Scope.BLOCK))){if(w.start.node!==this.cursor.textNode){var C=s.default.find(w.start.node,!1);if(C==null)return;if(C instanceof s.default.Leaf){var I=C.split(w.start.offset);C.parent.insertBefore(this.cursor,I)}else C.insertBefore(this.cursor,w.start.node);this.cursor.attach()}this.cursor.format(N,O),this.scroll.optimize(),this.setNativeRange(this.cursor.textNode,this.cursor.textNode.data.length),this.update()}}}},{key:"getBounds",value:function(N){var O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,w=this.scroll.length();N=Math.min(N,w-1),O=Math.min(N+O,w-1)-N;var C=void 0,I=this.scroll.leaf(N),D=a(I,2),V=D[0],U=D[1];if(V==null)return null;var te=V.position(U,!0),K=a(te,2);C=K[0],U=K[1];var H=document.createRange();if(O>0){H.setStart(C,U);var M=this.scroll.leaf(N+O),j=a(M,2);if(V=j[0],U=j[1],V==null)return null;var z=V.position(U,!0),Z=a(z,2);return C=Z[0],U=Z[1],H.setEnd(C,U),H.getBoundingClientRect()}else{var X="left",F=void 0;return C instanceof Text?(U<C.data.length?(H.setStart(C,U),H.setEnd(C,U+1)):(H.setStart(C,U-1),H.setEnd(C,U),X="right"),F=H.getBoundingClientRect()):(F=V.domNode.getBoundingClientRect(),U>0&&(X="right")),{bottom:F.top+F.height,height:F.height,left:F[X],right:F[X],top:F.top,width:0}}}},{key:"getNativeRange",value:function(){var N=document.getSelection();if(N==null||N.rangeCount<=0)return null;var O=N.getRangeAt(0);if(O==null)return null;var w=this.normalizeNative(O);return p.info("getNativeRange",w),w}},{key:"getRange",value:function(){var N=this.getNativeRange();if(N==null)return[null,null];var O=this.normalizedToRange(N);return[O,N]}},{key:"hasFocus",value:function(){return document.activeElement===this.root}},{key:"normalizedToRange",value:function(N){var O=this,w=[[N.start.node,N.start.offset]];N.native.collapsed||w.push([N.end.node,N.end.offset]);var C=w.map(function(V){var U=a(V,2),te=U[0],K=U[1],H=s.default.find(te,!0),M=H.offset(O.scroll);return K===0?M:H instanceof s.default.Container?M+H.length():M+H.index(te,K)}),I=Math.min(Math.max.apply(Math,v(C)),this.scroll.length()-1),D=Math.min.apply(Math,[I].concat(v(C)));return new E(D,I-D)}},{key:"normalizeNative",value:function(N){if(!T(this.root,N.startContainer)||!N.collapsed&&!T(this.root,N.endContainer))return null;var O={start:{node:N.startContainer,offset:N.startOffset},end:{node:N.endContainer,offset:N.endOffset},native:N};return[O.start,O.end].forEach(function(w){for(var C=w.node,I=w.offset;!(C instanceof Text)&&C.childNodes.length>0;)if(C.childNodes.length>I)C=C.childNodes[I],I=0;else if(C.childNodes.length===I)C=C.lastChild,I=C instanceof Text?C.data.length:C.childNodes.length+1;else break;w.node=C,w.offset=I}),O}},{key:"rangeToNative",value:function(N){var O=this,w=N.collapsed?[N.index]:[N.index,N.index+N.length],C=[],I=this.scroll.length();return w.forEach(function(D,V){D=Math.min(I-1,D);var U=void 0,te=O.scroll.leaf(D),K=a(te,2),H=K[0],M=K[1],j=H.position(M,V!==0),z=a(j,2);U=z[0],M=z[1],C.push(U,M)}),C.length<2&&(C=C.concat(C)),C}},{key:"scrollIntoView",value:function(N){var O=this.lastRange;if(O!=null){var w=this.getBounds(O.index,O.length);if(w!=null){var C=this.scroll.length()-1,I=this.scroll.line(Math.min(O.index,C)),D=a(I,1),V=D[0],U=V;if(O.length>0){var te=this.scroll.line(Math.min(O.index+O.length,C)),K=a(te,1);U=K[0]}if(!(V==null||U==null)){var H=N.getBoundingClientRect();w.top<H.top?N.scrollTop-=H.top-w.top:w.bottom>H.bottom&&(N.scrollTop+=w.bottom-H.bottom)}}}}},{key:"setNativeRange",value:function(N,O){var w=arguments.length>2&&arguments[2]!==void 0?arguments[2]:N,C=arguments.length>3&&arguments[3]!==void 0?arguments[3]:O,I=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(p.info("setNativeRange",N,O,w,C),!(N!=null&&(this.root.parentNode==null||N.parentNode==null||w.parentNode==null))){var D=document.getSelection();if(D!=null)if(N!=null){this.hasFocus()||this.root.focus();var V=(this.getNativeRange()||{}).native;if(V==null||I||N!==V.startContainer||O!==V.startOffset||w!==V.endContainer||C!==V.endOffset){N.tagName=="BR"&&(O=[].indexOf.call(N.parentNode.childNodes,N),N=N.parentNode),w.tagName=="BR"&&(C=[].indexOf.call(w.parentNode.childNodes,w),w=w.parentNode);var U=document.createRange();U.setStart(N,O),U.setEnd(w,C),D.removeAllRanges(),D.addRange(U)}}else D.removeAllRanges(),this.root.blur(),document.body.focus()}}},{key:"setRange",value:function(N){var O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,w=arguments.length>2&&arguments[2]!==void 0?arguments[2]:y.default.sources.API;if(typeof O=="string"&&(w=O,O=!1),p.info("setRange",N),N!=null){var C=this.rangeToNative(N);this.setNativeRange.apply(this,v(C).concat([O]))}else this.setNativeRange(null);this.update(w)}},{key:"update",value:function(){var N=arguments.length>0&&arguments[0]!==void 0?arguments[0]:y.default.sources.USER,O=this.lastRange,w=this.getRange(),C=a(w,2),I=C[0],D=C[1];if(this.lastRange=I,this.lastRange!=null&&(this.savedRange=this.lastRange),!(0,d.default)(O,this.lastRange)){var V;!this.composing&&D!=null&&D.native.collapsed&&D.start.node!==this.cursor.textNode&&this.cursor.restore();var U=[y.default.events.SELECTION_CHANGE,(0,f.default)(this.lastRange),(0,f.default)(O),N];if((V=this.emitter).emit.apply(V,[y.default.events.EDITOR_CHANGE].concat(U)),N!==y.default.sources.SILENT){var te;(te=this.emitter).emit.apply(te,U)}}}}]),S}();function T(S,P){try{P.parentNode}catch{return!1}return P instanceof Text&&(P=P.parentNode),S.contains(P)}r.Range=E,r.default=k},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var a=function(){function y(g,_){for(var m=0;m<_.length;m++){var v=_[m];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(g,v.key,v)}}return function(g,_,m){return _&&y(g.prototype,_),m&&y(g,m),g}}(),o=function y(g,_,m){g===null&&(g=Function.prototype);var v=Object.getOwnPropertyDescriptor(g,_);if(v===void 0){var b=Object.getPrototypeOf(g);return b===null?void 0:y(b,_,m)}else{if("value"in v)return v.value;var p=v.get;return p===void 0?void 0:p.call(m)}},l=i(0),s=u(l);function u(y){return y&&y.__esModule?y:{default:y}}function f(y,g){if(!(y instanceof g))throw new TypeError("Cannot call a class as a function")}function c(y,g){if(!y)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:y}function d(y,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);y.prototype=Object.create(g&&g.prototype,{constructor:{value:y,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(y,g):y.__proto__=g)}var h=function(y){d(g,y);function g(){return f(this,g),c(this,(g.__proto__||Object.getPrototypeOf(g)).apply(this,arguments))}return a(g,[{key:"insertInto",value:function(m,v){m.children.length===0?o(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"insertInto",this).call(this,m,v):this.remove()}},{key:"length",value:function(){return 0}},{key:"value",value:function(){return""}}],[{key:"value",value:function(){}}]),g}(s.default.Embed);h.blotName="break",h.tagName="BR",r.default=h},function(n,r,i){var a=this&&this.__extends||function(){var c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,h){d.__proto__=h}||function(d,h){for(var y in h)h.hasOwnProperty(y)&&(d[y]=h[y])};return function(d,h){c(d,h);function y(){this.constructor=d}d.prototype=h===null?Object.create(h):(y.prototype=h.prototype,new y)}}();Object.defineProperty(r,"__esModule",{value:!0});var o=i(44),l=i(30),s=i(1),u=function(c){a(d,c);function d(h){var y=c.call(this,h)||this;return y.build(),y}return d.prototype.appendChild=function(h){this.insertBefore(h)},d.prototype.attach=function(){c.prototype.attach.call(this),this.children.forEach(function(h){h.attach()})},d.prototype.build=function(){var h=this;this.children=new o.default,[].slice.call(this.domNode.childNodes).reverse().forEach(function(y){try{var g=f(y);h.insertBefore(g,h.children.head||void 0)}catch(_){if(_ instanceof s.ParchmentError)return;throw _}})},d.prototype.deleteAt=function(h,y){if(h===0&&y===this.length())return this.remove();this.children.forEachAt(h,y,function(g,_,m){g.deleteAt(_,m)})},d.prototype.descendant=function(h,y){var g=this.children.find(y),_=g[0],m=g[1];return h.blotName==null&&h(_)||h.blotName!=null&&_ instanceof h?[_,m]:_ instanceof d?_.descendant(h,m):[null,-1]},d.prototype.descendants=function(h,y,g){y===void 0&&(y=0),g===void 0&&(g=Number.MAX_VALUE);var _=[],m=g;return this.children.forEachAt(y,g,function(v,b,p){(h.blotName==null&&h(v)||h.blotName!=null&&v instanceof h)&&_.push(v),v instanceof d&&(_=_.concat(v.descendants(h,b,m))),m-=p}),_},d.prototype.detach=function(){this.children.forEach(function(h){h.detach()}),c.prototype.detach.call(this)},d.prototype.formatAt=function(h,y,g,_){this.children.forEachAt(h,y,function(m,v,b){m.formatAt(v,b,g,_)})},d.prototype.insertAt=function(h,y,g){var _=this.children.find(h),m=_[0],v=_[1];if(m)m.insertAt(v,y,g);else{var b=g==null?s.create("text",y):s.create(y,g);this.appendChild(b)}},d.prototype.insertBefore=function(h,y){if(this.statics.allowedChildren!=null&&!this.statics.allowedChildren.some(function(g){return h instanceof g}))throw new s.ParchmentError("Cannot insert "+h.statics.blotName+" into "+this.statics.blotName);h.insertInto(this,y)},d.prototype.length=function(){return this.children.reduce(function(h,y){return h+y.length()},0)},d.prototype.moveChildren=function(h,y){this.children.forEach(function(g){h.insertBefore(g,y)})},d.prototype.optimize=function(h){if(c.prototype.optimize.call(this,h),this.children.length===0)if(this.statics.defaultChild!=null){var y=s.create(this.statics.defaultChild);this.appendChild(y),y.optimize(h)}else this.remove()},d.prototype.path=function(h,y){y===void 0&&(y=!1);var g=this.children.find(h,y),_=g[0],m=g[1],v=[[this,h]];return _ instanceof d?v.concat(_.path(m,y)):(_!=null&&v.push([_,m]),v)},d.prototype.removeChild=function(h){this.children.remove(h)},d.prototype.replace=function(h){h instanceof d&&h.moveChildren(this),c.prototype.replace.call(this,h)},d.prototype.split=function(h,y){if(y===void 0&&(y=!1),!y){if(h===0)return this;if(h===this.length())return this.next}var g=this.clone();return this.parent.insertBefore(g,this.next),this.children.forEachAt(h,this.length(),function(_,m,v){_=_.split(m,y),g.appendChild(_)}),g},d.prototype.unwrap=function(){this.moveChildren(this.parent,this.next),this.remove()},d.prototype.update=function(h,y){var g=this,_=[],m=[];h.forEach(function(v){v.target===g.domNode&&v.type==="childList"&&(_.push.apply(_,v.addedNodes),m.push.apply(m,v.removedNodes))}),m.forEach(function(v){if(!(v.parentNode!=null&&v.tagName!=="IFRAME"&&document.body.compareDocumentPosition(v)&Node.DOCUMENT_POSITION_CONTAINED_BY)){var b=s.find(v);b!=null&&(b.domNode.parentNode==null||b.domNode.parentNode===g.domNode)&&b.detach()}}),_.filter(function(v){return v.parentNode==g.domNode}).sort(function(v,b){return v===b?0:v.compareDocumentPosition(b)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1}).forEach(function(v){var b=null;v.nextSibling!=null&&(b=s.find(v.nextSibling));var p=f(v);(p.next!=b||p.next==null)&&(p.parent!=null&&p.parent.removeChild(g),g.insertBefore(p,b||void 0))})},d}(l.default);function f(c){var d=s.find(c);if(d==null)try{d=s.create(c)}catch{d=s.create(s.Scope.INLINE),[].slice.call(c.childNodes).forEach(function(y){d.domNode.appendChild(y)}),c.parentNode&&c.parentNode.replaceChild(d.domNode,c),d.attach()}return d}r.default=u},function(n,r,i){var a=this&&this.__extends||function(){var c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,h){d.__proto__=h}||function(d,h){for(var y in h)h.hasOwnProperty(y)&&(d[y]=h[y])};return function(d,h){c(d,h);function y(){this.constructor=d}d.prototype=h===null?Object.create(h):(y.prototype=h.prototype,new y)}}();Object.defineProperty(r,"__esModule",{value:!0});var o=i(12),l=i(31),s=i(17),u=i(1),f=function(c){a(d,c);function d(h){var y=c.call(this,h)||this;return y.attributes=new l.default(y.domNode),y}return d.formats=function(h){if(typeof this.tagName=="string")return!0;if(Array.isArray(this.tagName))return h.tagName.toLowerCase()},d.prototype.format=function(h,y){var g=u.query(h);g instanceof o.default?this.attributes.attribute(g,y):y&&g!=null&&(h!==this.statics.blotName||this.formats()[h]!==y)&&this.replaceWith(h,y)},d.prototype.formats=function(){var h=this.attributes.values(),y=this.statics.formats(this.domNode);return y!=null&&(h[this.statics.blotName]=y),h},d.prototype.replaceWith=function(h,y){var g=c.prototype.replaceWith.call(this,h,y);return this.attributes.copy(g),g},d.prototype.update=function(h,y){var g=this;c.prototype.update.call(this,h,y),h.some(function(_){return _.target===g.domNode&&_.type==="attributes"})&&this.attributes.build()},d.prototype.wrap=function(h,y){var g=c.prototype.wrap.call(this,h,y);return g instanceof d&&g.statics.scope===this.statics.scope&&this.attributes.move(g),g},d}(s.default);r.default=f},function(n,r,i){var a=this&&this.__extends||function(){var u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,c){f.__proto__=c}||function(f,c){for(var d in c)c.hasOwnProperty(d)&&(f[d]=c[d])};return function(f,c){u(f,c);function d(){this.constructor=f}f.prototype=c===null?Object.create(c):(d.prototype=c.prototype,new d)}}();Object.defineProperty(r,"__esModule",{value:!0});var o=i(30),l=i(1),s=function(u){a(f,u);function f(){return u!==null&&u.apply(this,arguments)||this}return f.value=function(c){return!0},f.prototype.index=function(c,d){return this.domNode===c||this.domNode.compareDocumentPosition(c)&Node.DOCUMENT_POSITION_CONTAINED_BY?Math.min(d,1):-1},f.prototype.position=function(c,d){var h=[].indexOf.call(this.parent.domNode.childNodes,this.domNode);return c>0&&(h+=1),[this.parent.domNode,h]},f.prototype.value=function(){var c;return c={},c[this.statics.blotName]=this.statics.value(this.domNode)||!0,c},f.scope=l.Scope.INLINE_BLOT,f}(o.default);r.default=s},function(n,r,i){var a=i(11),o=i(3),l={attributes:{compose:function(u,f,c){typeof u!="object"&&(u={}),typeof f!="object"&&(f={});var d=o(!0,{},f);c||(d=Object.keys(d).reduce(function(y,g){return d[g]!=null&&(y[g]=d[g]),y},{}));for(var h in u)u[h]!==void 0&&f[h]===void 0&&(d[h]=u[h]);return Object.keys(d).length>0?d:void 0},diff:function(u,f){typeof u!="object"&&(u={}),typeof f!="object"&&(f={});var c=Object.keys(u).concat(Object.keys(f)).reduce(function(d,h){return a(u[h],f[h])||(d[h]=f[h]===void 0?null:f[h]),d},{});return Object.keys(c).length>0?c:void 0},transform:function(u,f,c){if(typeof u!="object")return f;if(typeof f=="object"){if(!c)return f;var d=Object.keys(f).reduce(function(h,y){return u[y]===void 0&&(h[y]=f[y]),h},{});return Object.keys(d).length>0?d:void 0}}},iterator:function(u){return new s(u)},length:function(u){return typeof u.delete=="number"?u.delete:typeof u.retain=="number"?u.retain:typeof u.insert=="string"?u.insert.length:1}};function s(u){this.ops=u,this.index=0,this.offset=0}s.prototype.hasNext=function(){return this.peekLength()<1/0},s.prototype.next=function(u){u||(u=1/0);var f=this.ops[this.index];if(f){var c=this.offset,d=l.length(f);if(u>=d-c?(u=d-c,this.index+=1,this.offset=0):this.offset+=u,typeof f.delete=="number")return{delete:u};var h={};return f.attributes&&(h.attributes=f.attributes),typeof f.retain=="number"?h.retain=u:typeof f.insert=="string"?h.insert=f.insert.substr(c,u):h.insert=f.insert,h}else return{retain:1/0}},s.prototype.peek=function(){return this.ops[this.index]},s.prototype.peekLength=function(){return this.ops[this.index]?l.length(this.ops[this.index])-this.offset:1/0},s.prototype.peekType=function(){return this.ops[this.index]?typeof this.ops[this.index].delete=="number"?"delete":typeof this.ops[this.index].retain=="number"?"retain":"insert":"retain"},s.prototype.rest=function(){if(this.hasNext()){if(this.offset===0)return this.ops.slice(this.index);var u=this.offset,f=this.index,c=this.next(),d=this.ops.slice(this.index);return this.offset=u,this.index=f,[c].concat(d)}else return[]},n.exports=l},function(n,r){var i=function(){function a(g,_){return _!=null&&g instanceof _}var o;try{o=Map}catch{o=function(){}}var l;try{l=Set}catch{l=function(){}}var s;try{s=Promise}catch{s=function(){}}function u(g,_,m,v,b){typeof _=="object"&&(m=_.depth,v=_.prototype,b=_.includeNonEnumerable,_=_.circular);var p=[],E=[],k=typeof Buffer<"u";typeof _>"u"&&(_=!0),typeof m>"u"&&(m=1/0);function T(S,P){if(S===null)return null;if(P===0)return S;var N,O;if(typeof S!="object")return S;if(a(S,o))N=new o;else if(a(S,l))N=new l;else if(a(S,s))N=new s(function(H,M){S.then(function(j){H(T(j,P-1))},function(j){M(T(j,P-1))})});else if(u.__isArray(S))N=[];else if(u.__isRegExp(S))N=new RegExp(S.source,y(S)),S.lastIndex&&(N.lastIndex=S.lastIndex);else if(u.__isDate(S))N=new Date(S.getTime());else{if(k&&Buffer.isBuffer(S))return Buffer.allocUnsafe?N=Buffer.allocUnsafe(S.length):N=new Buffer(S.length),S.copy(N),N;a(S,Error)?N=Object.create(S):typeof v>"u"?(O=Object.getPrototypeOf(S),N=Object.create(O)):(N=Object.create(v),O=v)}if(_){var w=p.indexOf(S);if(w!=-1)return E[w];p.push(S),E.push(N)}a(S,o)&&S.forEach(function(H,M){var j=T(M,P-1),z=T(H,P-1);N.set(j,z)}),a(S,l)&&S.forEach(function(H){var M=T(H,P-1);N.add(M)});for(var C in S){var I;O&&(I=Object.getOwnPropertyDescriptor(O,C)),!(I&&I.set==null)&&(N[C]=T(S[C],P-1))}if(Object.getOwnPropertySymbols)for(var D=Object.getOwnPropertySymbols(S),C=0;C<D.length;C++){var V=D[C],U=Object.getOwnPropertyDescriptor(S,V);U&&!U.enumerable&&!b||(N[V]=T(S[V],P-1),U.enumerable||Object.defineProperty(N,V,{enumerable:!1}))}if(b)for(var te=Object.getOwnPropertyNames(S),C=0;C<te.length;C++){var K=te[C],U=Object.getOwnPropertyDescriptor(S,K);U&&U.enumerable||(N[K]=T(S[K],P-1),Object.defineProperty(N,K,{enumerable:!1}))}return N}return T(g,m)}u.clonePrototype=function(_){if(_===null)return null;var m=function(){};return m.prototype=_,new m};function f(g){return Object.prototype.toString.call(g)}u.__objToStr=f;function c(g){return typeof g=="object"&&f(g)==="[object Date]"}u.__isDate=c;function d(g){return typeof g=="object"&&f(g)==="[object Array]"}u.__isArray=d;function h(g){return typeof g=="object"&&f(g)==="[object RegExp]"}u.__isRegExp=h;function y(g){var _="";return g.global&&(_+="g"),g.ignoreCase&&(_+="i"),g.multiline&&(_+="m"),_}return u.__getRegExpFlags=y,u}();typeof n=="object"&&n.exports&&(n.exports=i)},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var a=function(){function N(O,w){var C=[],I=!0,D=!1,V=void 0;try{for(var U=O[Symbol.iterator](),te;!(I=(te=U.next()).done)&&(C.push(te.value),!(w&&C.length===w));I=!0);}catch(K){D=!0,V=K}finally{try{!I&&U.return&&U.return()}finally{if(D)throw V}}return C}return function(O,w){if(Array.isArray(O))return O;if(Symbol.iterator in Object(O))return N(O,w);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=function(){function N(O,w){for(var C=0;C<w.length;C++){var I=w[C];I.enumerable=I.enumerable||!1,I.configurable=!0,"value"in I&&(I.writable=!0),Object.defineProperty(O,I.key,I)}}return function(O,w,C){return w&&N(O.prototype,w),C&&N(O,C),O}}(),l=function N(O,w,C){O===null&&(O=Function.prototype);var I=Object.getOwnPropertyDescriptor(O,w);if(I===void 0){var D=Object.getPrototypeOf(O);return D===null?void 0:N(D,w,C)}else{if("value"in I)return I.value;var V=I.get;return V===void 0?void 0:V.call(C)}},s=i(0),u=p(s),f=i(8),c=p(f),d=i(4),h=p(d),y=i(16),g=p(y),_=i(13),m=p(_),v=i(25),b=p(v);function p(N){return N&&N.__esModule?N:{default:N}}function E(N,O){if(!(N instanceof O))throw new TypeError("Cannot call a class as a function")}function k(N,O){if(!N)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return O&&(typeof O=="object"||typeof O=="function")?O:N}function T(N,O){if(typeof O!="function"&&O!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof O);N.prototype=Object.create(O&&O.prototype,{constructor:{value:N,enumerable:!1,writable:!0,configurable:!0}}),O&&(Object.setPrototypeOf?Object.setPrototypeOf(N,O):N.__proto__=O)}function S(N){return N instanceof h.default||N instanceof d.BlockEmbed}var P=function(N){T(O,N);function O(w,C){E(this,O);var I=k(this,(O.__proto__||Object.getPrototypeOf(O)).call(this,w));return I.emitter=C.emitter,Array.isArray(C.whitelist)&&(I.whitelist=C.whitelist.reduce(function(D,V){return D[V]=!0,D},{})),I.domNode.addEventListener("DOMNodeInserted",function(){}),I.optimize(),I.enable(),I}return o(O,[{key:"batchStart",value:function(){this.batch=!0}},{key:"batchEnd",value:function(){this.batch=!1,this.optimize()}},{key:"deleteAt",value:function(C,I){var D=this.line(C),V=a(D,2),U=V[0],te=V[1],K=this.line(C+I),H=a(K,1),M=H[0];if(l(O.prototype.__proto__||Object.getPrototypeOf(O.prototype),"deleteAt",this).call(this,C,I),M!=null&&U!==M&&te>0){if(U instanceof d.BlockEmbed||M instanceof d.BlockEmbed){this.optimize();return}if(U instanceof m.default){var j=U.newlineIndex(U.length(),!0);if(j>-1&&(U=U.split(j+1),U===M)){this.optimize();return}}else if(M instanceof m.default){var z=M.newlineIndex(0);z>-1&&M.split(z+1)}var Z=M.children.head instanceof g.default?null:M.children.head;U.moveChildren(M,Z),U.remove()}this.optimize()}},{key:"enable",value:function(){var C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;this.domNode.setAttribute("contenteditable",C)}},{key:"formatAt",value:function(C,I,D,V){this.whitelist!=null&&!this.whitelist[D]||(l(O.prototype.__proto__||Object.getPrototypeOf(O.prototype),"formatAt",this).call(this,C,I,D,V),this.optimize())}},{key:"insertAt",value:function(C,I,D){if(!(D!=null&&this.whitelist!=null&&!this.whitelist[I])){if(C>=this.length())if(D==null||u.default.query(I,u.default.Scope.BLOCK)==null){var V=u.default.create(this.statics.defaultChild);this.appendChild(V),D==null&&I.endsWith(`
831
+ `)&&(I=I.slice(0,-1)),V.insertAt(0,I,D)}else{var U=u.default.create(I,D);this.appendChild(U)}else l(O.prototype.__proto__||Object.getPrototypeOf(O.prototype),"insertAt",this).call(this,C,I,D);this.optimize()}}},{key:"insertBefore",value:function(C,I){if(C.statics.scope===u.default.Scope.INLINE_BLOT){var D=u.default.create(this.statics.defaultChild);D.appendChild(C),C=D}l(O.prototype.__proto__||Object.getPrototypeOf(O.prototype),"insertBefore",this).call(this,C,I)}},{key:"leaf",value:function(C){return this.path(C).pop()||[null,-1]}},{key:"line",value:function(C){return C===this.length()?this.line(C-1):this.descendant(S,C)}},{key:"lines",value:function(){var C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Number.MAX_VALUE,D=function V(U,te,K){var H=[],M=K;return U.children.forEachAt(te,K,function(j,z,Z){S(j)?H.push(j):j instanceof u.default.Container&&(H=H.concat(V(j,z,M))),M-=Z}),H};return D(this,C,I)}},{key:"optimize",value:function(){var C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.batch!==!0&&(l(O.prototype.__proto__||Object.getPrototypeOf(O.prototype),"optimize",this).call(this,C,I),C.length>0&&this.emitter.emit(c.default.events.SCROLL_OPTIMIZE,C,I))}},{key:"path",value:function(C){return l(O.prototype.__proto__||Object.getPrototypeOf(O.prototype),"path",this).call(this,C).slice(1)}},{key:"update",value:function(C){if(this.batch!==!0){var I=c.default.sources.USER;typeof C=="string"&&(I=C),Array.isArray(C)||(C=this.observer.takeRecords()),C.length>0&&this.emitter.emit(c.default.events.SCROLL_BEFORE_UPDATE,I,C),l(O.prototype.__proto__||Object.getPrototypeOf(O.prototype),"update",this).call(this,C.concat([])),C.length>0&&this.emitter.emit(c.default.events.SCROLL_UPDATE,I,C)}}}]),O}(u.default.Scroll);P.blotName="scroll",P.className="ql-editor",P.tagName="DIV",P.defaultChild="block",P.allowedChildren=[h.default,d.BlockEmbed,b.default],r.default=P},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.SHORTKEY=r.default=void 0;var a=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(F){return typeof F}:function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F},o=function(){function F(J,ae){var Q=[],se=!0,he=!1,B=void 0;try{for(var L=J[Symbol.iterator](),x;!(se=(x=L.next()).done)&&(Q.push(x.value),!(ae&&Q.length===ae));se=!0);}catch($){he=!0,B=$}finally{try{!se&&L.return&&L.return()}finally{if(he)throw B}}return Q}return function(J,ae){if(Array.isArray(J))return J;if(Symbol.iterator in Object(J))return F(J,ae);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),l=function(){function F(J,ae){for(var Q=0;Q<ae.length;Q++){var se=ae[Q];se.enumerable=se.enumerable||!1,se.configurable=!0,"value"in se&&(se.writable=!0),Object.defineProperty(J,se.key,se)}}return function(J,ae,Q){return ae&&F(J.prototype,ae),Q&&F(J,Q),J}}(),s=i(21),u=N(s),f=i(11),c=N(f),d=i(3),h=N(d),y=i(2),g=N(y),_=i(20),m=N(_),v=i(0),b=N(v),p=i(5),E=N(p),k=i(10),T=N(k),S=i(9),P=N(S);function N(F){return F&&F.__esModule?F:{default:F}}function O(F,J,ae){return J in F?Object.defineProperty(F,J,{value:ae,enumerable:!0,configurable:!0,writable:!0}):F[J]=ae,F}function w(F,J){if(!(F instanceof J))throw new TypeError("Cannot call a class as a function")}function C(F,J){if(!F)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return J&&(typeof J=="object"||typeof J=="function")?J:F}function I(F,J){if(typeof J!="function"&&J!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof J);F.prototype=Object.create(J&&J.prototype,{constructor:{value:F,enumerable:!1,writable:!0,configurable:!0}}),J&&(Object.setPrototypeOf?Object.setPrototypeOf(F,J):F.__proto__=J)}var D=(0,T.default)("quill:keyboard"),V=/Mac/i.test(navigator.platform)?"metaKey":"ctrlKey",U=function(F){I(J,F),l(J,null,[{key:"match",value:function(Q,se){return se=X(se),["altKey","ctrlKey","metaKey","shiftKey"].some(function(he){return!!se[he]!==Q[he]&&se[he]!==null})?!1:se.key===(Q.which||Q.keyCode)}}]);function J(ae,Q){w(this,J);var se=C(this,(J.__proto__||Object.getPrototypeOf(J)).call(this,ae,Q));return se.bindings={},Object.keys(se.options.bindings).forEach(function(he){he==="list autofill"&&ae.scroll.whitelist!=null&&!ae.scroll.whitelist.list||se.options.bindings[he]&&se.addBinding(se.options.bindings[he])}),se.addBinding({key:J.keys.ENTER,shiftKey:null},j),se.addBinding({key:J.keys.ENTER,metaKey:null,ctrlKey:null,altKey:null},function(){}),/Firefox/i.test(navigator.userAgent)?(se.addBinding({key:J.keys.BACKSPACE},{collapsed:!0},K),se.addBinding({key:J.keys.DELETE},{collapsed:!0},H)):(se.addBinding({key:J.keys.BACKSPACE},{collapsed:!0,prefix:/^.?$/},K),se.addBinding({key:J.keys.DELETE},{collapsed:!0,suffix:/^.?$/},H)),se.addBinding({key:J.keys.BACKSPACE},{collapsed:!1},M),se.addBinding({key:J.keys.DELETE},{collapsed:!1},M),se.addBinding({key:J.keys.BACKSPACE,altKey:null,ctrlKey:null,metaKey:null,shiftKey:null},{collapsed:!0,offset:0},K),se.listen(),se}return l(J,[{key:"addBinding",value:function(Q){var se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},he=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},B=X(Q);if(B==null||B.key==null)return D.warn("Attempted to add invalid keyboard binding",B);typeof se=="function"&&(se={handler:se}),typeof he=="function"&&(he={handler:he}),B=(0,h.default)(B,se,he),this.bindings[B.key]=this.bindings[B.key]||[],this.bindings[B.key].push(B)}},{key:"listen",value:function(){var Q=this;this.quill.root.addEventListener("keydown",function(se){if(!se.defaultPrevented){var he=se.which||se.keyCode,B=(Q.bindings[he]||[]).filter(function(Te){return J.match(se,Te)});if(B.length!==0){var L=Q.quill.getSelection();if(!(L==null||!Q.quill.hasFocus())){var x=Q.quill.getLine(L.index),$=o(x,2),ee=$[0],le=$[1],q=Q.quill.getLeaf(L.index),W=o(q,2),ne=W[0],ie=W[1],oe=L.length===0?[ne,ie]:Q.quill.getLeaf(L.index+L.length),ce=o(oe,2),G=ce[0],re=ce[1],pe=ne instanceof b.default.Text?ne.value().slice(0,ie):"",ge=G instanceof b.default.Text?G.value().slice(re):"",ve={collapsed:L.length===0,empty:L.length===0&&ee.length()<=1,format:Q.quill.getFormat(L),offset:le,prefix:pe,suffix:ge},De=B.some(function(Te){if(Te.collapsed!=null&&Te.collapsed!==ve.collapsed||Te.empty!=null&&Te.empty!==ve.empty||Te.offset!=null&&Te.offset!==ve.offset)return!1;if(Array.isArray(Te.format)){if(Te.format.every(function(it){return ve.format[it]==null}))return!1}else if(a(Te.format)==="object"&&!Object.keys(Te.format).every(function(it){return Te.format[it]===!0?ve.format[it]!=null:Te.format[it]===!1?ve.format[it]==null:(0,c.default)(Te.format[it],ve.format[it])}))return!1;return Te.prefix!=null&&!Te.prefix.test(ve.prefix)||Te.suffix!=null&&!Te.suffix.test(ve.suffix)?!1:Te.handler.call(Q,L,ve)!==!0});De&&se.preventDefault()}}}})}}]),J}(P.default);U.keys={BACKSPACE:8,TAB:9,ENTER:13,ESCAPE:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46},U.DEFAULTS={bindings:{bold:Z("bold"),italic:Z("italic"),underline:Z("underline"),indent:{key:U.keys.TAB,format:["blockquote","indent","list"],handler:function(J,ae){if(ae.collapsed&&ae.offset!==0)return!0;this.quill.format("indent","+1",E.default.sources.USER)}},outdent:{key:U.keys.TAB,shiftKey:!0,format:["blockquote","indent","list"],handler:function(J,ae){if(ae.collapsed&&ae.offset!==0)return!0;this.quill.format("indent","-1",E.default.sources.USER)}},"outdent backspace":{key:U.keys.BACKSPACE,collapsed:!0,shiftKey:null,metaKey:null,ctrlKey:null,altKey:null,format:["indent","list"],offset:0,handler:function(J,ae){ae.format.indent!=null?this.quill.format("indent","-1",E.default.sources.USER):ae.format.list!=null&&this.quill.format("list",!1,E.default.sources.USER)}},"indent code-block":z(!0),"outdent code-block":z(!1),"remove tab":{key:U.keys.TAB,shiftKey:!0,collapsed:!0,prefix:/\t$/,handler:function(J){this.quill.deleteText(J.index-1,1,E.default.sources.USER)}},tab:{key:U.keys.TAB,handler:function(J){this.quill.history.cutoff();var ae=new g.default().retain(J.index).delete(J.length).insert(" ");this.quill.updateContents(ae,E.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(J.index+1,E.default.sources.SILENT)}},"list empty enter":{key:U.keys.ENTER,collapsed:!0,format:["list"],empty:!0,handler:function(J,ae){this.quill.format("list",!1,E.default.sources.USER),ae.format.indent&&this.quill.format("indent",!1,E.default.sources.USER)}},"checklist enter":{key:U.keys.ENTER,collapsed:!0,format:{list:"checked"},handler:function(J){var ae=this.quill.getLine(J.index),Q=o(ae,2),se=Q[0],he=Q[1],B=(0,h.default)({},se.formats(),{list:"checked"}),L=new g.default().retain(J.index).insert(`
832
+ `,B).retain(se.length()-he-1).retain(1,{list:"unchecked"});this.quill.updateContents(L,E.default.sources.USER),this.quill.setSelection(J.index+1,E.default.sources.SILENT),this.quill.scrollIntoView()}},"header enter":{key:U.keys.ENTER,collapsed:!0,format:["header"],suffix:/^$/,handler:function(J,ae){var Q=this.quill.getLine(J.index),se=o(Q,2),he=se[0],B=se[1],L=new g.default().retain(J.index).insert(`
833
+ `,ae.format).retain(he.length()-B-1).retain(1,{header:null});this.quill.updateContents(L,E.default.sources.USER),this.quill.setSelection(J.index+1,E.default.sources.SILENT),this.quill.scrollIntoView()}},"list autofill":{key:" ",collapsed:!0,format:{list:!1},prefix:/^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,handler:function(J,ae){var Q=ae.prefix.length,se=this.quill.getLine(J.index),he=o(se,2),B=he[0],L=he[1];if(L>Q)return!0;var x=void 0;switch(ae.prefix.trim()){case"[]":case"[ ]":x="unchecked";break;case"[x]":x="checked";break;case"-":case"*":x="bullet";break;default:x="ordered"}this.quill.insertText(J.index," ",E.default.sources.USER),this.quill.history.cutoff();var $=new g.default().retain(J.index-L).delete(Q+1).retain(B.length()-2-L).retain(1,{list:x});this.quill.updateContents($,E.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(J.index-Q,E.default.sources.SILENT)}},"code exit":{key:U.keys.ENTER,collapsed:!0,format:["code-block"],prefix:/\n\n$/,suffix:/^\s+$/,handler:function(J){var ae=this.quill.getLine(J.index),Q=o(ae,2),se=Q[0],he=Q[1],B=new g.default().retain(J.index+se.length()-he-2).retain(1,{"code-block":null}).delete(1);this.quill.updateContents(B,E.default.sources.USER)}},"embed left":te(U.keys.LEFT,!1),"embed left shift":te(U.keys.LEFT,!0),"embed right":te(U.keys.RIGHT,!1),"embed right shift":te(U.keys.RIGHT,!0)}};function te(F,J){var ae,Q=F===U.keys.LEFT?"prefix":"suffix";return ae={key:F,shiftKey:J,altKey:null},O(ae,Q,/^$/),O(ae,"handler",function(he){var B=he.index;F===U.keys.RIGHT&&(B+=he.length+1);var L=this.quill.getLeaf(B),x=o(L,1),$=x[0];return $ instanceof b.default.Embed?(F===U.keys.LEFT?J?this.quill.setSelection(he.index-1,he.length+1,E.default.sources.USER):this.quill.setSelection(he.index-1,E.default.sources.USER):J?this.quill.setSelection(he.index,he.length+1,E.default.sources.USER):this.quill.setSelection(he.index+he.length+1,E.default.sources.USER),!1):!0}),ae}function K(F,J){if(!(F.index===0||this.quill.getLength()<=1)){var ae=this.quill.getLine(F.index),Q=o(ae,1),se=Q[0],he={};if(J.offset===0){var B=this.quill.getLine(F.index-1),L=o(B,1),x=L[0];if(x!=null&&x.length()>1){var $=se.formats(),ee=this.quill.getFormat(F.index-1,1);he=m.default.attributes.diff($,ee)||{}}}var le=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(J.prefix)?2:1;this.quill.deleteText(F.index-le,le,E.default.sources.USER),Object.keys(he).length>0&&this.quill.formatLine(F.index-le,le,he,E.default.sources.USER),this.quill.focus()}}function H(F,J){var ae=/^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(J.suffix)?2:1;if(!(F.index>=this.quill.getLength()-ae)){var Q={},se=0,he=this.quill.getLine(F.index),B=o(he,1),L=B[0];if(J.offset>=L.length()-1){var x=this.quill.getLine(F.index+1),$=o(x,1),ee=$[0];if(ee){var le=L.formats(),q=this.quill.getFormat(F.index,1);Q=m.default.attributes.diff(le,q)||{},se=ee.length()}}this.quill.deleteText(F.index,ae,E.default.sources.USER),Object.keys(Q).length>0&&this.quill.formatLine(F.index+se-1,ae,Q,E.default.sources.USER)}}function M(F){var J=this.quill.getLines(F),ae={};if(J.length>1){var Q=J[0].formats(),se=J[J.length-1].formats();ae=m.default.attributes.diff(se,Q)||{}}this.quill.deleteText(F,E.default.sources.USER),Object.keys(ae).length>0&&this.quill.formatLine(F.index,1,ae,E.default.sources.USER),this.quill.setSelection(F.index,E.default.sources.SILENT),this.quill.focus()}function j(F,J){var ae=this;F.length>0&&this.quill.scroll.deleteAt(F.index,F.length);var Q=Object.keys(J.format).reduce(function(se,he){return b.default.query(he,b.default.Scope.BLOCK)&&!Array.isArray(J.format[he])&&(se[he]=J.format[he]),se},{});this.quill.insertText(F.index,`
834
+ `,Q,E.default.sources.USER),this.quill.setSelection(F.index+1,E.default.sources.SILENT),this.quill.focus(),Object.keys(J.format).forEach(function(se){Q[se]==null&&(Array.isArray(J.format[se])||se!=="link"&&ae.quill.format(se,J.format[se],E.default.sources.USER))})}function z(F){return{key:U.keys.TAB,shiftKey:!F,format:{"code-block":!0},handler:function(ae){var Q=b.default.query("code-block"),se=ae.index,he=ae.length,B=this.quill.scroll.descendant(Q,se),L=o(B,2),x=L[0],$=L[1];if(x!=null){var ee=this.quill.getIndex(x),le=x.newlineIndex($,!0)+1,q=x.newlineIndex(ee+$+he),W=x.domNode.textContent.slice(le,q).split(`
835
+ `);$=0,W.forEach(function(ne,ie){F?(x.insertAt(le+$,Q.TAB),$+=Q.TAB.length,ie===0?se+=Q.TAB.length:he+=Q.TAB.length):ne.startsWith(Q.TAB)&&(x.deleteAt(le+$,Q.TAB.length),$-=Q.TAB.length,ie===0?se-=Q.TAB.length:he-=Q.TAB.length),$+=ne.length+1}),this.quill.update(E.default.sources.USER),this.quill.setSelection(se,he,E.default.sources.SILENT)}}}}function Z(F){return{key:F[0].toUpperCase(),shortKey:!0,handler:function(ae,Q){this.quill.format(F,!Q.format[F],E.default.sources.USER)}}}function X(F){if(typeof F=="string"||typeof F=="number")return X({key:F});if((typeof F>"u"?"undefined":a(F))==="object"&&(F=(0,u.default)(F,!1)),typeof F.key=="string")if(U.keys[F.key.toUpperCase()]!=null)F.key=U.keys[F.key.toUpperCase()];else if(F.key.length===1)F.key=F.key.toUpperCase().charCodeAt(0);else return null;return F.shortKey&&(F[V]=F.shortKey,delete F.shortKey),F}r.default=U,r.SHORTKEY=V},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var a=function(){function m(v,b){var p=[],E=!0,k=!1,T=void 0;try{for(var S=v[Symbol.iterator](),P;!(E=(P=S.next()).done)&&(p.push(P.value),!(b&&p.length===b));E=!0);}catch(N){k=!0,T=N}finally{try{!E&&S.return&&S.return()}finally{if(k)throw T}}return p}return function(v,b){if(Array.isArray(v))return v;if(Symbol.iterator in Object(v))return m(v,b);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=function m(v,b,p){v===null&&(v=Function.prototype);var E=Object.getOwnPropertyDescriptor(v,b);if(E===void 0){var k=Object.getPrototypeOf(v);return k===null?void 0:m(k,b,p)}else{if("value"in E)return E.value;var T=E.get;return T===void 0?void 0:T.call(p)}},l=function(){function m(v,b){for(var p=0;p<b.length;p++){var E=b[p];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(v,E.key,E)}}return function(v,b,p){return b&&m(v.prototype,b),p&&m(v,p),v}}(),s=i(0),u=d(s),f=i(7),c=d(f);function d(m){return m&&m.__esModule?m:{default:m}}function h(m,v){if(!(m instanceof v))throw new TypeError("Cannot call a class as a function")}function y(m,v){if(!m)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return v&&(typeof v=="object"||typeof v=="function")?v:m}function g(m,v){if(typeof v!="function"&&v!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof v);m.prototype=Object.create(v&&v.prototype,{constructor:{value:m,enumerable:!1,writable:!0,configurable:!0}}),v&&(Object.setPrototypeOf?Object.setPrototypeOf(m,v):m.__proto__=v)}var _=function(m){g(v,m),l(v,null,[{key:"value",value:function(){}}]);function v(b,p){h(this,v);var E=y(this,(v.__proto__||Object.getPrototypeOf(v)).call(this,b));return E.selection=p,E.textNode=document.createTextNode(v.CONTENTS),E.domNode.appendChild(E.textNode),E._length=0,E}return l(v,[{key:"detach",value:function(){this.parent!=null&&this.parent.removeChild(this)}},{key:"format",value:function(p,E){if(this._length!==0)return o(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"format",this).call(this,p,E);for(var k=this,T=0;k!=null&&k.statics.scope!==u.default.Scope.BLOCK_BLOT;)T+=k.offset(k.parent),k=k.parent;k!=null&&(this._length=v.CONTENTS.length,k.optimize(),k.formatAt(T,v.CONTENTS.length,p,E),this._length=0)}},{key:"index",value:function(p,E){return p===this.textNode?0:o(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"index",this).call(this,p,E)}},{key:"length",value:function(){return this._length}},{key:"position",value:function(){return[this.textNode,this.textNode.data.length]}},{key:"remove",value:function(){o(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"remove",this).call(this),this.parent=null}},{key:"restore",value:function(){if(!(this.selection.composing||this.parent==null)){var p=this.textNode,E=this.selection.getNativeRange(),k=void 0,T=void 0,S=void 0;if(E!=null&&E.start.node===p&&E.end.node===p){var P=[p,E.start.offset,E.end.offset];k=P[0],T=P[1],S=P[2]}for(;this.domNode.lastChild!=null&&this.domNode.lastChild!==this.textNode;)this.domNode.parentNode.insertBefore(this.domNode.lastChild,this.domNode);if(this.textNode.data!==v.CONTENTS){var N=this.textNode.data.split(v.CONTENTS).join("");this.next instanceof c.default?(k=this.next.domNode,this.next.insertAt(0,N),this.textNode.data=v.CONTENTS):(this.textNode.data=N,this.parent.insertBefore(u.default.create(this.textNode),this),this.textNode=document.createTextNode(v.CONTENTS),this.domNode.appendChild(this.textNode))}if(this.remove(),T!=null){var O=[T,S].map(function(C){return Math.max(0,Math.min(k.data.length,C-1))}),w=a(O,2);return T=w[0],S=w[1],{startNode:k,startOffset:T,endNode:k,endOffset:S}}}}},{key:"update",value:function(p,E){var k=this;if(p.some(function(S){return S.type==="characterData"&&S.target===k.textNode})){var T=this.restore();T&&(E.range=T)}}},{key:"value",value:function(){return""}}]),v}(u.default.Embed);_.blotName="cursor",_.className="ql-cursor",_.tagName="span",_.CONTENTS="\uFEFF",r.default=_},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var a=i(0),o=u(a),l=i(4),s=u(l);function u(y){return y&&y.__esModule?y:{default:y}}function f(y,g){if(!(y instanceof g))throw new TypeError("Cannot call a class as a function")}function c(y,g){if(!y)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:y}function d(y,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);y.prototype=Object.create(g&&g.prototype,{constructor:{value:y,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(y,g):y.__proto__=g)}var h=function(y){d(g,y);function g(){return f(this,g),c(this,(g.__proto__||Object.getPrototypeOf(g)).apply(this,arguments))}return g}(o.default.Container);h.allowedChildren=[s.default,l.BlockEmbed,h],r.default=h},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.ColorStyle=r.ColorClass=r.ColorAttributor=void 0;var a=function(){function _(m,v){for(var b=0;b<v.length;b++){var p=v[b];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(m,p.key,p)}}return function(m,v,b){return v&&_(m.prototype,v),b&&_(m,b),m}}(),o=function _(m,v,b){m===null&&(m=Function.prototype);var p=Object.getOwnPropertyDescriptor(m,v);if(p===void 0){var E=Object.getPrototypeOf(m);return E===null?void 0:_(E,v,b)}else{if("value"in p)return p.value;var k=p.get;return k===void 0?void 0:k.call(b)}},l=i(0),s=u(l);function u(_){return _&&_.__esModule?_:{default:_}}function f(_,m){if(!(_ instanceof m))throw new TypeError("Cannot call a class as a function")}function c(_,m){if(!_)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:_}function d(_,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);_.prototype=Object.create(m&&m.prototype,{constructor:{value:_,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(_,m):_.__proto__=m)}var h=function(_){d(m,_);function m(){return f(this,m),c(this,(m.__proto__||Object.getPrototypeOf(m)).apply(this,arguments))}return a(m,[{key:"value",value:function(b){var p=o(m.prototype.__proto__||Object.getPrototypeOf(m.prototype),"value",this).call(this,b);return p.startsWith("rgb(")?(p=p.replace(/^[^\d]+/,"").replace(/[^\d]+$/,""),"#"+p.split(",").map(function(E){return("00"+parseInt(E).toString(16)).slice(-2)}).join("")):p}}]),m}(s.default.Attributor.Style),y=new s.default.Attributor.Class("color","ql-color",{scope:s.default.Scope.INLINE}),g=new h("color","color",{scope:s.default.Scope.INLINE});r.ColorAttributor=h,r.ColorClass=y,r.ColorStyle=g},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.sanitize=r.default=void 0;var a=function(){function g(_,m){for(var v=0;v<m.length;v++){var b=m[v];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(_,b.key,b)}}return function(_,m,v){return m&&g(_.prototype,m),v&&g(_,v),_}}(),o=function g(_,m,v){_===null&&(_=Function.prototype);var b=Object.getOwnPropertyDescriptor(_,m);if(b===void 0){var p=Object.getPrototypeOf(_);return p===null?void 0:g(p,m,v)}else{if("value"in b)return b.value;var E=b.get;return E===void 0?void 0:E.call(v)}},l=i(6),s=u(l);function u(g){return g&&g.__esModule?g:{default:g}}function f(g,_){if(!(g instanceof _))throw new TypeError("Cannot call a class as a function")}function c(g,_){if(!g)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return _&&(typeof _=="object"||typeof _=="function")?_:g}function d(g,_){if(typeof _!="function"&&_!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof _);g.prototype=Object.create(_&&_.prototype,{constructor:{value:g,enumerable:!1,writable:!0,configurable:!0}}),_&&(Object.setPrototypeOf?Object.setPrototypeOf(g,_):g.__proto__=_)}var h=function(g){d(_,g);function _(){return f(this,_),c(this,(_.__proto__||Object.getPrototypeOf(_)).apply(this,arguments))}return a(_,[{key:"format",value:function(v,b){if(v!==this.statics.blotName||!b)return o(_.prototype.__proto__||Object.getPrototypeOf(_.prototype),"format",this).call(this,v,b);b=this.constructor.sanitize(b),this.domNode.setAttribute("href",b)}}],[{key:"create",value:function(v){var b=o(_.__proto__||Object.getPrototypeOf(_),"create",this).call(this,v);return v=this.sanitize(v),b.setAttribute("href",v),b.setAttribute("rel","noopener noreferrer"),b.setAttribute("target","_blank"),b}},{key:"formats",value:function(v){return v.getAttribute("href")}},{key:"sanitize",value:function(v){return y(v,this.PROTOCOL_WHITELIST)?v:this.SANITIZED_URL}}]),_}(s.default);h.blotName="link",h.tagName="A",h.SANITIZED_URL="about:blank",h.PROTOCOL_WHITELIST=["http","https","mailto","tel"];function y(g,_){var m=document.createElement("a");m.href=g;var v=m.href.slice(0,m.href.indexOf(":"));return _.indexOf(v)>-1}r.default=h,r.sanitize=y},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var a=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(_){return typeof _}:function(_){return _&&typeof Symbol=="function"&&_.constructor===Symbol&&_!==Symbol.prototype?"symbol":typeof _},o=function(){function _(m,v){for(var b=0;b<v.length;b++){var p=v[b];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(m,p.key,p)}}return function(m,v,b){return v&&_(m.prototype,v),b&&_(m,b),m}}(),l=i(23),s=c(l),u=i(107),f=c(u);function c(_){return _&&_.__esModule?_:{default:_}}function d(_,m){if(!(_ instanceof m))throw new TypeError("Cannot call a class as a function")}var h=0;function y(_,m){_.setAttribute(m,_.getAttribute(m)!=="true")}var g=function(){function _(m){var v=this;d(this,_),this.select=m,this.container=document.createElement("span"),this.buildPicker(),this.select.style.display="none",this.select.parentNode.insertBefore(this.container,this.select),this.label.addEventListener("mousedown",function(){v.togglePicker()}),this.label.addEventListener("keydown",function(b){switch(b.keyCode){case s.default.keys.ENTER:v.togglePicker();break;case s.default.keys.ESCAPE:v.escape(),b.preventDefault();break}}),this.select.addEventListener("change",this.update.bind(this))}return o(_,[{key:"togglePicker",value:function(){this.container.classList.toggle("ql-expanded"),y(this.label,"aria-expanded"),y(this.options,"aria-hidden")}},{key:"buildItem",value:function(v){var b=this,p=document.createElement("span");return p.tabIndex="0",p.setAttribute("role","button"),p.classList.add("ql-picker-item"),v.hasAttribute("value")&&p.setAttribute("data-value",v.getAttribute("value")),v.textContent&&p.setAttribute("data-label",v.textContent),p.addEventListener("click",function(){b.selectItem(p,!0)}),p.addEventListener("keydown",function(E){switch(E.keyCode){case s.default.keys.ENTER:b.selectItem(p,!0),E.preventDefault();break;case s.default.keys.ESCAPE:b.escape(),E.preventDefault();break}}),p}},{key:"buildLabel",value:function(){var v=document.createElement("span");return v.classList.add("ql-picker-label"),v.innerHTML=f.default,v.tabIndex="0",v.setAttribute("role","button"),v.setAttribute("aria-expanded","false"),this.container.appendChild(v),v}},{key:"buildOptions",value:function(){var v=this,b=document.createElement("span");b.classList.add("ql-picker-options"),b.setAttribute("aria-hidden","true"),b.tabIndex="-1",b.id="ql-picker-options-"+h,h+=1,this.label.setAttribute("aria-controls",b.id),this.options=b,[].slice.call(this.select.options).forEach(function(p){var E=v.buildItem(p);b.appendChild(E),p.selected===!0&&v.selectItem(E)}),this.container.appendChild(b)}},{key:"buildPicker",value:function(){var v=this;[].slice.call(this.select.attributes).forEach(function(b){v.container.setAttribute(b.name,b.value)}),this.container.classList.add("ql-picker"),this.label=this.buildLabel(),this.buildOptions()}},{key:"escape",value:function(){var v=this;this.close(),setTimeout(function(){return v.label.focus()},1)}},{key:"close",value:function(){this.container.classList.remove("ql-expanded"),this.label.setAttribute("aria-expanded","false"),this.options.setAttribute("aria-hidden","true")}},{key:"selectItem",value:function(v){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,p=this.container.querySelector(".ql-selected");if(v!==p&&(p?.classList.remove("ql-selected"),v!=null&&(v.classList.add("ql-selected"),this.select.selectedIndex=[].indexOf.call(v.parentNode.children,v),v.hasAttribute("data-value")?this.label.setAttribute("data-value",v.getAttribute("data-value")):this.label.removeAttribute("data-value"),v.hasAttribute("data-label")?this.label.setAttribute("data-label",v.getAttribute("data-label")):this.label.removeAttribute("data-label"),b))){if(typeof Event=="function")this.select.dispatchEvent(new Event("change"));else if((typeof Event>"u"?"undefined":a(Event))==="object"){var E=document.createEvent("Event");E.initEvent("change",!0,!0),this.select.dispatchEvent(E)}this.close()}}},{key:"update",value:function(){var v=void 0;if(this.select.selectedIndex>-1){var b=this.container.querySelector(".ql-picker-options").children[this.select.selectedIndex];v=this.select.options[this.select.selectedIndex],this.selectItem(b)}else this.selectItem(null);var p=v!=null&&v!==this.select.querySelector("option[selected]");this.label.classList.toggle("ql-active",p)}}]),_}();r.default=g},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var a=i(0),o=D(a),l=i(5),s=D(l),u=i(4),f=D(u),c=i(16),d=D(c),h=i(25),y=D(h),g=i(24),_=D(g),m=i(35),v=D(m),b=i(6),p=D(b),E=i(22),k=D(E),T=i(7),S=D(T),P=i(55),N=D(P),O=i(42),w=D(O),C=i(23),I=D(C);function D(V){return V&&V.__esModule?V:{default:V}}s.default.register({"blots/block":f.default,"blots/block/embed":u.BlockEmbed,"blots/break":d.default,"blots/container":y.default,"blots/cursor":_.default,"blots/embed":v.default,"blots/inline":p.default,"blots/scroll":k.default,"blots/text":S.default,"modules/clipboard":N.default,"modules/history":w.default,"modules/keyboard":I.default}),o.default.register(f.default,d.default,_.default,p.default,k.default,S.default),r.default=s.default},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var a=i(1),o=function(){function l(s){this.domNode=s,this.domNode[a.DATA_KEY]={blot:this}}return Object.defineProperty(l.prototype,"statics",{get:function(){return this.constructor},enumerable:!0,configurable:!0}),l.create=function(s){if(this.tagName==null)throw new a.ParchmentError("Blot definition missing tagName");var u;return Array.isArray(this.tagName)?(typeof s=="string"&&(s=s.toUpperCase(),parseInt(s).toString()===s&&(s=parseInt(s))),typeof s=="number"?u=document.createElement(this.tagName[s-1]):this.tagName.indexOf(s)>-1?u=document.createElement(s):u=document.createElement(this.tagName[0])):u=document.createElement(this.tagName),this.className&&u.classList.add(this.className),u},l.prototype.attach=function(){this.parent!=null&&(this.scroll=this.parent.scroll)},l.prototype.clone=function(){var s=this.domNode.cloneNode(!1);return a.create(s)},l.prototype.detach=function(){this.parent!=null&&this.parent.removeChild(this),delete this.domNode[a.DATA_KEY]},l.prototype.deleteAt=function(s,u){var f=this.isolate(s,u);f.remove()},l.prototype.formatAt=function(s,u,f,c){var d=this.isolate(s,u);if(a.query(f,a.Scope.BLOT)!=null&&c)d.wrap(f,c);else if(a.query(f,a.Scope.ATTRIBUTE)!=null){var h=a.create(this.statics.scope);d.wrap(h),h.format(f,c)}},l.prototype.insertAt=function(s,u,f){var c=f==null?a.create("text",u):a.create(u,f),d=this.split(s);this.parent.insertBefore(c,d)},l.prototype.insertInto=function(s,u){u===void 0&&(u=null),this.parent!=null&&this.parent.children.remove(this);var f=null;s.children.insertBefore(this,u),u!=null&&(f=u.domNode),(this.domNode.parentNode!=s.domNode||this.domNode.nextSibling!=f)&&s.domNode.insertBefore(this.domNode,f),this.parent=s,this.attach()},l.prototype.isolate=function(s,u){var f=this.split(s);return f.split(u),f},l.prototype.length=function(){return 1},l.prototype.offset=function(s){return s===void 0&&(s=this.parent),this.parent==null||this==s?0:this.parent.children.offset(this)+this.parent.offset(s)},l.prototype.optimize=function(s){this.domNode[a.DATA_KEY]!=null&&delete this.domNode[a.DATA_KEY].mutations},l.prototype.remove=function(){this.domNode.parentNode!=null&&this.domNode.parentNode.removeChild(this.domNode),this.detach()},l.prototype.replace=function(s){s.parent!=null&&(s.parent.insertBefore(this,s.next),s.remove())},l.prototype.replaceWith=function(s,u){var f=typeof s=="string"?a.create(s,u):s;return f.replace(this),f},l.prototype.split=function(s,u){return s===0?this:this.next},l.prototype.update=function(s,u){},l.prototype.wrap=function(s,u){var f=typeof s=="string"?a.create(s,u):s;return this.parent!=null&&this.parent.insertBefore(f,this.next),f.appendChild(this),f},l.blotName="abstract",l}();r.default=o},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var a=i(12),o=i(32),l=i(33),s=i(1),u=function(){function f(c){this.attributes={},this.domNode=c,this.build()}return f.prototype.attribute=function(c,d){d?c.add(this.domNode,d)&&(c.value(this.domNode)!=null?this.attributes[c.attrName]=c:delete this.attributes[c.attrName]):(c.remove(this.domNode),delete this.attributes[c.attrName])},f.prototype.build=function(){var c=this;this.attributes={};var d=a.default.keys(this.domNode),h=o.default.keys(this.domNode),y=l.default.keys(this.domNode);d.concat(h).concat(y).forEach(function(g){var _=s.query(g,s.Scope.ATTRIBUTE);_ instanceof a.default&&(c.attributes[_.attrName]=_)})},f.prototype.copy=function(c){var d=this;Object.keys(this.attributes).forEach(function(h){var y=d.attributes[h].value(d.domNode);c.format(h,y)})},f.prototype.move=function(c){var d=this;this.copy(c),Object.keys(this.attributes).forEach(function(h){d.attributes[h].remove(d.domNode)}),this.attributes={}},f.prototype.values=function(){var c=this;return Object.keys(this.attributes).reduce(function(d,h){return d[h]=c.attributes[h].value(c.domNode),d},{})},f}();r.default=u},function(n,r,i){var a=this&&this.__extends||function(){var u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,c){f.__proto__=c}||function(f,c){for(var d in c)c.hasOwnProperty(d)&&(f[d]=c[d])};return function(f,c){u(f,c);function d(){this.constructor=f}f.prototype=c===null?Object.create(c):(d.prototype=c.prototype,new d)}}();Object.defineProperty(r,"__esModule",{value:!0});var o=i(12);function l(u,f){var c=u.getAttribute("class")||"";return c.split(/\s+/).filter(function(d){return d.indexOf(f+"-")===0})}var s=function(u){a(f,u);function f(){return u!==null&&u.apply(this,arguments)||this}return f.keys=function(c){return(c.getAttribute("class")||"").split(/\s+/).map(function(d){return d.split("-").slice(0,-1).join("-")})},f.prototype.add=function(c,d){return this.canAdd(c,d)?(this.remove(c),c.classList.add(this.keyName+"-"+d),!0):!1},f.prototype.remove=function(c){var d=l(c,this.keyName);d.forEach(function(h){c.classList.remove(h)}),c.classList.length===0&&c.removeAttribute("class")},f.prototype.value=function(c){var d=l(c,this.keyName)[0]||"",h=d.slice(this.keyName.length+1);return this.canAdd(c,h)?h:""},f}(o.default);r.default=s},function(n,r,i){var a=this&&this.__extends||function(){var u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,c){f.__proto__=c}||function(f,c){for(var d in c)c.hasOwnProperty(d)&&(f[d]=c[d])};return function(f,c){u(f,c);function d(){this.constructor=f}f.prototype=c===null?Object.create(c):(d.prototype=c.prototype,new d)}}();Object.defineProperty(r,"__esModule",{value:!0});var o=i(12);function l(u){var f=u.split("-"),c=f.slice(1).map(function(d){return d[0].toUpperCase()+d.slice(1)}).join("");return f[0]+c}var s=function(u){a(f,u);function f(){return u!==null&&u.apply(this,arguments)||this}return f.keys=function(c){return(c.getAttribute("style")||"").split(";").map(function(d){var h=d.split(":");return h[0].trim()})},f.prototype.add=function(c,d){return this.canAdd(c,d)?(c.style[l(this.keyName)]=d,!0):!1},f.prototype.remove=function(c){c.style[l(this.keyName)]="",c.getAttribute("style")||c.removeAttribute("style")},f.prototype.value=function(c){var d=c.style[l(this.keyName)];return this.canAdd(c,d)?d:""},f}(o.default);r.default=s},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var a=function(){function s(u,f){for(var c=0;c<f.length;c++){var d=f[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(u,d.key,d)}}return function(u,f,c){return f&&s(u.prototype,f),c&&s(u,c),u}}();function o(s,u){if(!(s instanceof u))throw new TypeError("Cannot call a class as a function")}var l=function(){function s(u,f){o(this,s),this.quill=u,this.options=f,this.modules={}}return a(s,[{key:"init",value:function(){var f=this;Object.keys(this.options.modules).forEach(function(c){f.modules[c]==null&&f.addModule(c)})}},{key:"addModule",value:function(f){var c=this.quill.constructor.import("modules/"+f);return this.modules[f]=new c(this.quill,this.options.modules[f]||{}),this.modules[f]}}]),s}();l.DEFAULTS={modules:{}},l.themes={default:l},r.default=l},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var a=function(){function m(v,b){for(var p=0;p<b.length;p++){var E=b[p];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(v,E.key,E)}}return function(v,b,p){return b&&m(v.prototype,b),p&&m(v,p),v}}(),o=function m(v,b,p){v===null&&(v=Function.prototype);var E=Object.getOwnPropertyDescriptor(v,b);if(E===void 0){var k=Object.getPrototypeOf(v);return k===null?void 0:m(k,b,p)}else{if("value"in E)return E.value;var T=E.get;return T===void 0?void 0:T.call(p)}},l=i(0),s=c(l),u=i(7),f=c(u);function c(m){return m&&m.__esModule?m:{default:m}}function d(m,v){if(!(m instanceof v))throw new TypeError("Cannot call a class as a function")}function h(m,v){if(!m)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return v&&(typeof v=="object"||typeof v=="function")?v:m}function y(m,v){if(typeof v!="function"&&v!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof v);m.prototype=Object.create(v&&v.prototype,{constructor:{value:m,enumerable:!1,writable:!0,configurable:!0}}),v&&(Object.setPrototypeOf?Object.setPrototypeOf(m,v):m.__proto__=v)}var g="\uFEFF",_=function(m){y(v,m);function v(b){d(this,v);var p=h(this,(v.__proto__||Object.getPrototypeOf(v)).call(this,b));return p.contentNode=document.createElement("span"),p.contentNode.setAttribute("contenteditable",!1),[].slice.call(p.domNode.childNodes).forEach(function(E){p.contentNode.appendChild(E)}),p.leftGuard=document.createTextNode(g),p.rightGuard=document.createTextNode(g),p.domNode.appendChild(p.leftGuard),p.domNode.appendChild(p.contentNode),p.domNode.appendChild(p.rightGuard),p}return a(v,[{key:"index",value:function(p,E){return p===this.leftGuard?0:p===this.rightGuard?1:o(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"index",this).call(this,p,E)}},{key:"restore",value:function(p){var E=void 0,k=void 0,T=p.data.split(g).join("");if(p===this.leftGuard)if(this.prev instanceof f.default){var S=this.prev.length();this.prev.insertAt(S,T),E={startNode:this.prev.domNode,startOffset:S+T.length}}else k=document.createTextNode(T),this.parent.insertBefore(s.default.create(k),this),E={startNode:k,startOffset:T.length};else p===this.rightGuard&&(this.next instanceof f.default?(this.next.insertAt(0,T),E={startNode:this.next.domNode,startOffset:T.length}):(k=document.createTextNode(T),this.parent.insertBefore(s.default.create(k),this.next),E={startNode:k,startOffset:T.length}));return p.data=g,E}},{key:"update",value:function(p,E){var k=this;p.forEach(function(T){if(T.type==="characterData"&&(T.target===k.leftGuard||T.target===k.rightGuard)){var S=k.restore(T.target);S&&(E.range=S)}})}}]),v}(s.default.Embed);r.default=_},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.AlignStyle=r.AlignClass=r.AlignAttribute=void 0;var a=i(0),o=l(a);function l(d){return d&&d.__esModule?d:{default:d}}var s={scope:o.default.Scope.BLOCK,whitelist:["right","center","justify"]},u=new o.default.Attributor.Attribute("align","align",s),f=new o.default.Attributor.Class("align","ql-align",s),c=new o.default.Attributor.Style("align","text-align",s);r.AlignAttribute=u,r.AlignClass=f,r.AlignStyle=c},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.BackgroundStyle=r.BackgroundClass=void 0;var a=i(0),o=s(a),l=i(26);function s(c){return c&&c.__esModule?c:{default:c}}var u=new o.default.Attributor.Class("background","ql-bg",{scope:o.default.Scope.INLINE}),f=new l.ColorAttributor("background","background-color",{scope:o.default.Scope.INLINE});r.BackgroundClass=u,r.BackgroundStyle=f},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.DirectionStyle=r.DirectionClass=r.DirectionAttribute=void 0;var a=i(0),o=l(a);function l(d){return d&&d.__esModule?d:{default:d}}var s={scope:o.default.Scope.BLOCK,whitelist:["rtl"]},u=new o.default.Attributor.Attribute("direction","dir",s),f=new o.default.Attributor.Class("direction","ql-direction",s),c=new o.default.Attributor.Style("direction","direction",s);r.DirectionAttribute=u,r.DirectionClass=f,r.DirectionStyle=c},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.FontClass=r.FontStyle=void 0;var a=function(){function m(v,b){for(var p=0;p<b.length;p++){var E=b[p];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(v,E.key,E)}}return function(v,b,p){return b&&m(v.prototype,b),p&&m(v,p),v}}(),o=function m(v,b,p){v===null&&(v=Function.prototype);var E=Object.getOwnPropertyDescriptor(v,b);if(E===void 0){var k=Object.getPrototypeOf(v);return k===null?void 0:m(k,b,p)}else{if("value"in E)return E.value;var T=E.get;return T===void 0?void 0:T.call(p)}},l=i(0),s=u(l);function u(m){return m&&m.__esModule?m:{default:m}}function f(m,v){if(!(m instanceof v))throw new TypeError("Cannot call a class as a function")}function c(m,v){if(!m)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return v&&(typeof v=="object"||typeof v=="function")?v:m}function d(m,v){if(typeof v!="function"&&v!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof v);m.prototype=Object.create(v&&v.prototype,{constructor:{value:m,enumerable:!1,writable:!0,configurable:!0}}),v&&(Object.setPrototypeOf?Object.setPrototypeOf(m,v):m.__proto__=v)}var h={scope:s.default.Scope.INLINE,whitelist:["serif","monospace"]},y=new s.default.Attributor.Class("font","ql-font",h),g=function(m){d(v,m);function v(){return f(this,v),c(this,(v.__proto__||Object.getPrototypeOf(v)).apply(this,arguments))}return a(v,[{key:"value",value:function(p){return o(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"value",this).call(this,p).replace(/["']/g,"")}}]),v}(s.default.Attributor.Style),_=new g("font","font-family",h);r.FontStyle=_,r.FontClass=y},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.SizeStyle=r.SizeClass=void 0;var a=i(0),o=l(a);function l(f){return f&&f.__esModule?f:{default:f}}var s=new o.default.Attributor.Class("size","ql-size",{scope:o.default.Scope.INLINE,whitelist:["small","large","huge"]}),u=new o.default.Attributor.Style("size","font-size",{scope:o.default.Scope.INLINE,whitelist:["10px","18px","32px"]});r.SizeClass=s,r.SizeStyle=u},function(n,r,i){n.exports={align:{"":i(76),center:i(77),right:i(78),justify:i(79)},background:i(80),blockquote:i(81),bold:i(82),clean:i(83),code:i(58),"code-block":i(58),color:i(84),direction:{"":i(85),rtl:i(86)},float:{center:i(87),full:i(88),left:i(89),right:i(90)},formula:i(91),header:{1:i(92),2:i(93)},italic:i(94),image:i(95),indent:{"+1":i(96),"-1":i(97)},link:i(98),list:{ordered:i(99),bullet:i(100),check:i(101)},script:{sub:i(102),super:i(103)},strike:i(104),underline:i(105),video:i(106)}},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.getLastChangeIndex=r.default=void 0;var a=function(){function b(p,E){for(var k=0;k<E.length;k++){var T=E[k];T.enumerable=T.enumerable||!1,T.configurable=!0,"value"in T&&(T.writable=!0),Object.defineProperty(p,T.key,T)}}return function(p,E,k){return E&&b(p.prototype,E),k&&b(p,k),p}}(),o=i(0),l=d(o),s=i(5),u=d(s),f=i(9),c=d(f);function d(b){return b&&b.__esModule?b:{default:b}}function h(b,p){if(!(b instanceof p))throw new TypeError("Cannot call a class as a function")}function y(b,p){if(!b)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:b}function g(b,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);b.prototype=Object.create(p&&p.prototype,{constructor:{value:b,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(b,p):b.__proto__=p)}var _=function(b){g(p,b);function p(E,k){h(this,p);var T=y(this,(p.__proto__||Object.getPrototypeOf(p)).call(this,E,k));return T.lastRecorded=0,T.ignoreChange=!1,T.clear(),T.quill.on(u.default.events.EDITOR_CHANGE,function(S,P,N,O){S!==u.default.events.TEXT_CHANGE||T.ignoreChange||(!T.options.userOnly||O===u.default.sources.USER?T.record(P,N):T.transform(P))}),T.quill.keyboard.addBinding({key:"Z",shortKey:!0},T.undo.bind(T)),T.quill.keyboard.addBinding({key:"Z",shortKey:!0,shiftKey:!0},T.redo.bind(T)),/Win/i.test(navigator.platform)&&T.quill.keyboard.addBinding({key:"Y",shortKey:!0},T.redo.bind(T)),T}return a(p,[{key:"change",value:function(k,T){if(this.stack[k].length!==0){var S=this.stack[k].pop();this.stack[T].push(S),this.lastRecorded=0,this.ignoreChange=!0,this.quill.updateContents(S[k],u.default.sources.USER),this.ignoreChange=!1;var P=v(S[k]);this.quill.setSelection(P)}}},{key:"clear",value:function(){this.stack={undo:[],redo:[]}}},{key:"cutoff",value:function(){this.lastRecorded=0}},{key:"record",value:function(k,T){if(k.ops.length!==0){this.stack.redo=[];var S=this.quill.getContents().diff(T),P=Date.now();if(this.lastRecorded+this.options.delay>P&&this.stack.undo.length>0){var N=this.stack.undo.pop();S=S.compose(N.undo),k=N.redo.compose(k)}else this.lastRecorded=P;this.stack.undo.push({redo:k,undo:S}),this.stack.undo.length>this.options.maxStack&&this.stack.undo.shift()}}},{key:"redo",value:function(){this.change("redo","undo")}},{key:"transform",value:function(k){this.stack.undo.forEach(function(T){T.undo=k.transform(T.undo,!0),T.redo=k.transform(T.redo,!0)}),this.stack.redo.forEach(function(T){T.undo=k.transform(T.undo,!0),T.redo=k.transform(T.redo,!0)})}},{key:"undo",value:function(){this.change("undo","redo")}}]),p}(c.default);_.DEFAULTS={delay:1e3,maxStack:100,userOnly:!1};function m(b){var p=b.ops[b.ops.length-1];return p==null?!1:p.insert!=null?typeof p.insert=="string"&&p.insert.endsWith(`
836
+ `):p.attributes!=null?Object.keys(p.attributes).some(function(E){return l.default.query(E,l.default.Scope.BLOCK)!=null}):!1}function v(b){var p=b.reduce(function(k,T){return k+=T.delete||0,k},0),E=b.length()-p;return m(b)&&(E-=1),E}r.default=_,r.getLastChangeIndex=v},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.BaseTooltip=void 0;var a=function(){function j(z,Z){for(var X=0;X<Z.length;X++){var F=Z[X];F.enumerable=F.enumerable||!1,F.configurable=!0,"value"in F&&(F.writable=!0),Object.defineProperty(z,F.key,F)}}return function(z,Z,X){return Z&&j(z.prototype,Z),X&&j(z,X),z}}(),o=function j(z,Z,X){z===null&&(z=Function.prototype);var F=Object.getOwnPropertyDescriptor(z,Z);if(F===void 0){var J=Object.getPrototypeOf(z);return J===null?void 0:j(J,Z,X)}else{if("value"in F)return F.value;var ae=F.get;return ae===void 0?void 0:ae.call(X)}},l=i(3),s=P(l),u=i(2),f=P(u),c=i(8),d=P(c),h=i(23),y=P(h),g=i(34),_=P(g),m=i(59),v=P(m),b=i(60),p=P(b),E=i(28),k=P(E),T=i(61),S=P(T);function P(j){return j&&j.__esModule?j:{default:j}}function N(j,z){if(!(j instanceof z))throw new TypeError("Cannot call a class as a function")}function O(j,z){if(!j)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return z&&(typeof z=="object"||typeof z=="function")?z:j}function w(j,z){if(typeof z!="function"&&z!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof z);j.prototype=Object.create(z&&z.prototype,{constructor:{value:j,enumerable:!1,writable:!0,configurable:!0}}),z&&(Object.setPrototypeOf?Object.setPrototypeOf(j,z):j.__proto__=z)}var C=[!1,"center","right","justify"],I=["#000000","#e60000","#ff9900","#ffff00","#008a00","#0066cc","#9933ff","#ffffff","#facccc","#ffebcc","#ffffcc","#cce8cc","#cce0f5","#ebd6ff","#bbbbbb","#f06666","#ffc266","#ffff66","#66b966","#66a3e0","#c285ff","#888888","#a10000","#b26b00","#b2b200","#006100","#0047b2","#6b24b2","#444444","#5c0000","#663d00","#666600","#003700","#002966","#3d1466"],D=[!1,"serif","monospace"],V=["1","2","3",!1],U=["small",!1,"large","huge"],te=function(j){w(z,j);function z(Z,X){N(this,z);var F=O(this,(z.__proto__||Object.getPrototypeOf(z)).call(this,Z,X)),J=function ae(Q){if(!document.body.contains(Z.root))return document.body.removeEventListener("click",ae);F.tooltip!=null&&!F.tooltip.root.contains(Q.target)&&document.activeElement!==F.tooltip.textbox&&!F.quill.hasFocus()&&F.tooltip.hide(),F.pickers!=null&&F.pickers.forEach(function(se){se.container.contains(Q.target)||se.close()})};return Z.emitter.listenDOM("click",document.body,J),F}return a(z,[{key:"addModule",value:function(X){var F=o(z.prototype.__proto__||Object.getPrototypeOf(z.prototype),"addModule",this).call(this,X);return X==="toolbar"&&this.extendToolbar(F),F}},{key:"buildButtons",value:function(X,F){X.forEach(function(J){var ae=J.getAttribute("class")||"";ae.split(/\s+/).forEach(function(Q){if(Q.startsWith("ql-")&&(Q=Q.slice(3),F[Q]!=null))if(Q==="direction")J.innerHTML=F[Q][""]+F[Q].rtl;else if(typeof F[Q]=="string")J.innerHTML=F[Q];else{var se=J.value||"";se!=null&&F[Q][se]&&(J.innerHTML=F[Q][se])}})})}},{key:"buildPickers",value:function(X,F){var J=this;this.pickers=X.map(function(Q){if(Q.classList.contains("ql-align"))return Q.querySelector("option")==null&&M(Q,C),new p.default(Q,F.align);if(Q.classList.contains("ql-background")||Q.classList.contains("ql-color")){var se=Q.classList.contains("ql-background")?"background":"color";return Q.querySelector("option")==null&&M(Q,I,se==="background"?"#ffffff":"#000000"),new v.default(Q,F[se])}else return Q.querySelector("option")==null&&(Q.classList.contains("ql-font")?M(Q,D):Q.classList.contains("ql-header")?M(Q,V):Q.classList.contains("ql-size")&&M(Q,U)),new k.default(Q)});var ae=function(){J.pickers.forEach(function(se){se.update()})};this.quill.on(d.default.events.EDITOR_CHANGE,ae)}}]),z}(_.default);te.DEFAULTS=(0,s.default)(!0,{},_.default.DEFAULTS,{modules:{toolbar:{handlers:{formula:function(){this.quill.theme.tooltip.edit("formula")},image:function(){var z=this,Z=this.container.querySelector("input.ql-image[type=file]");Z==null&&(Z=document.createElement("input"),Z.setAttribute("type","file"),Z.setAttribute("accept","image/png, image/gif, image/jpeg, image/bmp, image/x-icon"),Z.classList.add("ql-image"),Z.addEventListener("change",function(){if(Z.files!=null&&Z.files[0]!=null){var X=new FileReader;X.onload=function(F){var J=z.quill.getSelection(!0);z.quill.updateContents(new f.default().retain(J.index).delete(J.length).insert({image:F.target.result}),d.default.sources.USER),z.quill.setSelection(J.index+1,d.default.sources.SILENT),Z.value=""},X.readAsDataURL(Z.files[0])}}),this.container.appendChild(Z)),Z.click()},video:function(){this.quill.theme.tooltip.edit("video")}}}}});var K=function(j){w(z,j);function z(Z,X){N(this,z);var F=O(this,(z.__proto__||Object.getPrototypeOf(z)).call(this,Z,X));return F.textbox=F.root.querySelector('input[type="text"]'),F.listen(),F}return a(z,[{key:"listen",value:function(){var X=this;this.textbox.addEventListener("keydown",function(F){y.default.match(F,"enter")?(X.save(),F.preventDefault()):y.default.match(F,"escape")&&(X.cancel(),F.preventDefault())})}},{key:"cancel",value:function(){this.hide()}},{key:"edit",value:function(){var X=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"link",F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;this.root.classList.remove("ql-hidden"),this.root.classList.add("ql-editing"),F!=null?this.textbox.value=F:X!==this.root.getAttribute("data-mode")&&(this.textbox.value=""),this.position(this.quill.getBounds(this.quill.selection.savedRange)),this.textbox.select(),this.textbox.setAttribute("placeholder",this.textbox.getAttribute("data-"+X)||""),this.root.setAttribute("data-mode",X)}},{key:"restoreFocus",value:function(){var X=this.quill.scrollingContainer.scrollTop;this.quill.focus(),this.quill.scrollingContainer.scrollTop=X}},{key:"save",value:function(){var X=this.textbox.value;switch(this.root.getAttribute("data-mode")){case"link":{var F=this.quill.root.scrollTop;this.linkRange?(this.quill.formatText(this.linkRange,"link",X,d.default.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",X,d.default.sources.USER)),this.quill.root.scrollTop=F;break}case"video":X=H(X);case"formula":{if(!X)break;var J=this.quill.getSelection(!0);if(J!=null){var ae=J.index+J.length;this.quill.insertEmbed(ae,this.root.getAttribute("data-mode"),X,d.default.sources.USER),this.root.getAttribute("data-mode")==="formula"&&this.quill.insertText(ae+1," ",d.default.sources.USER),this.quill.setSelection(ae+2,d.default.sources.USER)}break}}this.textbox.value="",this.hide()}}]),z}(S.default);function H(j){var z=j.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||j.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);return z?(z[1]||"https")+"://www.youtube.com/embed/"+z[2]+"?showinfo=0":(z=j.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/))?(z[1]||"https")+"://player.vimeo.com/video/"+z[2]+"/":j}function M(j,z){var Z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;z.forEach(function(X){var F=document.createElement("option");X===Z?F.setAttribute("selected","selected"):F.setAttribute("value",X),j.appendChild(F)})}r.BaseTooltip=K,r.default=te},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var a=function(){function o(){this.head=this.tail=null,this.length=0}return o.prototype.append=function(){for(var l=[],s=0;s<arguments.length;s++)l[s]=arguments[s];this.insertBefore(l[0],null),l.length>1&&this.append.apply(this,l.slice(1))},o.prototype.contains=function(l){for(var s,u=this.iterator();s=u();)if(s===l)return!0;return!1},o.prototype.insertBefore=function(l,s){l&&(l.next=s,s!=null?(l.prev=s.prev,s.prev!=null&&(s.prev.next=l),s.prev=l,s===this.head&&(this.head=l)):this.tail!=null?(this.tail.next=l,l.prev=this.tail,this.tail=l):(l.prev=null,this.head=this.tail=l),this.length+=1)},o.prototype.offset=function(l){for(var s=0,u=this.head;u!=null;){if(u===l)return s;s+=u.length(),u=u.next}return-1},o.prototype.remove=function(l){this.contains(l)&&(l.prev!=null&&(l.prev.next=l.next),l.next!=null&&(l.next.prev=l.prev),l===this.head&&(this.head=l.next),l===this.tail&&(this.tail=l.prev),this.length-=1)},o.prototype.iterator=function(l){return l===void 0&&(l=this.head),function(){var s=l;return l!=null&&(l=l.next),s}},o.prototype.find=function(l,s){s===void 0&&(s=!1);for(var u,f=this.iterator();u=f();){var c=u.length();if(l<c||s&&l===c&&(u.next==null||u.next.length()!==0))return[u,l];l-=c}return[null,0]},o.prototype.forEach=function(l){for(var s,u=this.iterator();s=u();)l(s)},o.prototype.forEachAt=function(l,s,u){if(!(s<=0))for(var f=this.find(l),c=f[0],d=f[1],h,y=l-d,g=this.iterator(c);(h=g())&&y<l+s;){var _=h.length();l>y?u(h,l-y,Math.min(s,y+_-l)):u(h,0,Math.min(_,l+s-y)),y+=_}},o.prototype.map=function(l){return this.reduce(function(s,u){return s.push(l(u)),s},[])},o.prototype.reduce=function(l,s){for(var u,f=this.iterator();u=f();)s=l(s,u);return s},o}();r.default=a},function(n,r,i){var a=this&&this.__extends||function(){var c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,h){d.__proto__=h}||function(d,h){for(var y in h)h.hasOwnProperty(y)&&(d[y]=h[y])};return function(d,h){c(d,h);function y(){this.constructor=d}d.prototype=h===null?Object.create(h):(y.prototype=h.prototype,new y)}}();Object.defineProperty(r,"__esModule",{value:!0});var o=i(17),l=i(1),s={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},u=100,f=function(c){a(d,c);function d(h){var y=c.call(this,h)||this;return y.scroll=y,y.observer=new MutationObserver(function(g){y.update(g)}),y.observer.observe(y.domNode,s),y.attach(),y}return d.prototype.detach=function(){c.prototype.detach.call(this),this.observer.disconnect()},d.prototype.deleteAt=function(h,y){this.update(),h===0&&y===this.length()?this.children.forEach(function(g){g.remove()}):c.prototype.deleteAt.call(this,h,y)},d.prototype.formatAt=function(h,y,g,_){this.update(),c.prototype.formatAt.call(this,h,y,g,_)},d.prototype.insertAt=function(h,y,g){this.update(),c.prototype.insertAt.call(this,h,y,g)},d.prototype.optimize=function(h,y){var g=this;h===void 0&&(h=[]),y===void 0&&(y={}),c.prototype.optimize.call(this,y);for(var _=[].slice.call(this.observer.takeRecords());_.length>0;)h.push(_.pop());for(var m=function(E,k){k===void 0&&(k=!0),!(E==null||E===g)&&E.domNode.parentNode!=null&&(E.domNode[l.DATA_KEY].mutations==null&&(E.domNode[l.DATA_KEY].mutations=[]),k&&m(E.parent))},v=function(E){E.domNode[l.DATA_KEY]==null||E.domNode[l.DATA_KEY].mutations==null||(E instanceof o.default&&E.children.forEach(v),E.optimize(y))},b=h,p=0;b.length>0;p+=1){if(p>=u)throw new Error("[Parchment] Maximum optimize iterations reached");for(b.forEach(function(E){var k=l.find(E.target,!0);k!=null&&(k.domNode===E.target&&(E.type==="childList"?(m(l.find(E.previousSibling,!1)),[].forEach.call(E.addedNodes,function(T){var S=l.find(T,!1);m(S,!1),S instanceof o.default&&S.children.forEach(function(P){m(P,!1)})})):E.type==="attributes"&&m(k.prev)),m(k))}),this.children.forEach(v),b=[].slice.call(this.observer.takeRecords()),_=b.slice();_.length>0;)h.push(_.pop())}},d.prototype.update=function(h,y){var g=this;y===void 0&&(y={}),h=h||this.observer.takeRecords(),h.map(function(_){var m=l.find(_.target,!0);return m==null?null:m.domNode[l.DATA_KEY].mutations==null?(m.domNode[l.DATA_KEY].mutations=[_],m):(m.domNode[l.DATA_KEY].mutations.push(_),null)}).forEach(function(_){_==null||_===g||_.domNode[l.DATA_KEY]==null||_.update(_.domNode[l.DATA_KEY].mutations||[],y)}),this.domNode[l.DATA_KEY].mutations!=null&&c.prototype.update.call(this,this.domNode[l.DATA_KEY].mutations,y),this.optimize(h,y)},d.blotName="scroll",d.defaultChild="block",d.scope=l.Scope.BLOCK_BLOT,d.tagName="DIV",d}(o.default);r.default=f},function(n,r,i){var a=this&&this.__extends||function(){var f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,d){c.__proto__=d}||function(c,d){for(var h in d)d.hasOwnProperty(h)&&(c[h]=d[h])};return function(c,d){f(c,d);function h(){this.constructor=c}c.prototype=d===null?Object.create(d):(h.prototype=d.prototype,new h)}}();Object.defineProperty(r,"__esModule",{value:!0});var o=i(18),l=i(1);function s(f,c){if(Object.keys(f).length!==Object.keys(c).length)return!1;for(var d in f)if(f[d]!==c[d])return!1;return!0}var u=function(f){a(c,f);function c(){return f!==null&&f.apply(this,arguments)||this}return c.formats=function(d){if(d.tagName!==c.tagName)return f.formats.call(this,d)},c.prototype.format=function(d,h){var y=this;d===this.statics.blotName&&!h?(this.children.forEach(function(g){g instanceof o.default||(g=g.wrap(c.blotName,!0)),y.attributes.copy(g)}),this.unwrap()):f.prototype.format.call(this,d,h)},c.prototype.formatAt=function(d,h,y,g){if(this.formats()[y]!=null||l.query(y,l.Scope.ATTRIBUTE)){var _=this.isolate(d,h);_.format(y,g)}else f.prototype.formatAt.call(this,d,h,y,g)},c.prototype.optimize=function(d){f.prototype.optimize.call(this,d);var h=this.formats();if(Object.keys(h).length===0)return this.unwrap();var y=this.next;y instanceof c&&y.prev===this&&s(h,y.formats())&&(y.moveChildren(this),y.remove())},c.blotName="inline",c.scope=l.Scope.INLINE_BLOT,c.tagName="SPAN",c}(o.default);r.default=u},function(n,r,i){var a=this&&this.__extends||function(){var u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,c){f.__proto__=c}||function(f,c){for(var d in c)c.hasOwnProperty(d)&&(f[d]=c[d])};return function(f,c){u(f,c);function d(){this.constructor=f}f.prototype=c===null?Object.create(c):(d.prototype=c.prototype,new d)}}();Object.defineProperty(r,"__esModule",{value:!0});var o=i(18),l=i(1),s=function(u){a(f,u);function f(){return u!==null&&u.apply(this,arguments)||this}return f.formats=function(c){var d=l.query(f.blotName).tagName;if(c.tagName!==d)return u.formats.call(this,c)},f.prototype.format=function(c,d){l.query(c,l.Scope.BLOCK)!=null&&(c===this.statics.blotName&&!d?this.replaceWith(f.blotName):u.prototype.format.call(this,c,d))},f.prototype.formatAt=function(c,d,h,y){l.query(h,l.Scope.BLOCK)!=null?this.format(h,y):u.prototype.formatAt.call(this,c,d,h,y)},f.prototype.insertAt=function(c,d,h){if(h==null||l.query(d,l.Scope.INLINE)!=null)u.prototype.insertAt.call(this,c,d,h);else{var y=this.split(c),g=l.create(d,h);y.parent.insertBefore(g,y)}},f.prototype.update=function(c,d){navigator.userAgent.match(/Trident/)?this.build():u.prototype.update.call(this,c,d)},f.blotName="block",f.scope=l.Scope.BLOCK_BLOT,f.tagName="P",f}(o.default);r.default=s},function(n,r,i){var a=this&&this.__extends||function(){var s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,f){u.__proto__=f}||function(u,f){for(var c in f)f.hasOwnProperty(c)&&(u[c]=f[c])};return function(u,f){s(u,f);function c(){this.constructor=u}u.prototype=f===null?Object.create(f):(c.prototype=f.prototype,new c)}}();Object.defineProperty(r,"__esModule",{value:!0});var o=i(19),l=function(s){a(u,s);function u(){return s!==null&&s.apply(this,arguments)||this}return u.formats=function(f){},u.prototype.format=function(f,c){s.prototype.formatAt.call(this,0,this.length(),f,c)},u.prototype.formatAt=function(f,c,d,h){f===0&&c===this.length()?this.format(d,h):s.prototype.formatAt.call(this,f,c,d,h)},u.prototype.formats=function(){return this.statics.formats(this.domNode)},u}(o.default);r.default=l},function(n,r,i){var a=this&&this.__extends||function(){var u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,c){f.__proto__=c}||function(f,c){for(var d in c)c.hasOwnProperty(d)&&(f[d]=c[d])};return function(f,c){u(f,c);function d(){this.constructor=f}f.prototype=c===null?Object.create(c):(d.prototype=c.prototype,new d)}}();Object.defineProperty(r,"__esModule",{value:!0});var o=i(19),l=i(1),s=function(u){a(f,u);function f(c){var d=u.call(this,c)||this;return d.text=d.statics.value(d.domNode),d}return f.create=function(c){return document.createTextNode(c)},f.value=function(c){var d=c.data;return d.normalize&&(d=d.normalize()),d},f.prototype.deleteAt=function(c,d){this.domNode.data=this.text=this.text.slice(0,c)+this.text.slice(c+d)},f.prototype.index=function(c,d){return this.domNode===c?d:-1},f.prototype.insertAt=function(c,d,h){h==null?(this.text=this.text.slice(0,c)+d+this.text.slice(c),this.domNode.data=this.text):u.prototype.insertAt.call(this,c,d,h)},f.prototype.length=function(){return this.text.length},f.prototype.optimize=function(c){u.prototype.optimize.call(this,c),this.text=this.statics.value(this.domNode),this.text.length===0?this.remove():this.next instanceof f&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())},f.prototype.position=function(c,d){return[this.domNode,c]},f.prototype.split=function(c,d){if(d===void 0&&(d=!1),!d){if(c===0)return this;if(c===this.length())return this.next}var h=l.create(this.domNode.splitText(c));return this.parent.insertBefore(h,this.next),this.text=this.statics.value(this.domNode),h},f.prototype.update=function(c,d){var h=this;c.some(function(y){return y.type==="characterData"&&y.target===h.domNode})&&(this.text=this.statics.value(this.domNode))},f.prototype.value=function(){return this.text},f.blotName="text",f.scope=l.Scope.INLINE_BLOT,f}(o.default);r.default=s},function(n,r,i){var a=document.createElement("div");if(a.classList.toggle("test-class",!1),a.classList.contains("test-class")){var o=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(l,s){return arguments.length>1&&!this.contains(l)==!s?s:o.call(this,l)}}String.prototype.startsWith||(String.prototype.startsWith=function(l,s){return s=s||0,this.substr(s,l.length)===l}),String.prototype.endsWith||(String.prototype.endsWith=function(l,s){var u=this.toString();(typeof s!="number"||!isFinite(s)||Math.floor(s)!==s||s>u.length)&&(s=u.length),s-=l.length;var f=u.indexOf(l,s);return f!==-1&&f===s}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(s){if(this===null)throw new TypeError("Array.prototype.find called on null or undefined");if(typeof s!="function")throw new TypeError("predicate must be a function");for(var u=Object(this),f=u.length>>>0,c=arguments[1],d,h=0;h<f;h++)if(d=u[h],s.call(c,d,h,u))return d}}),document.addEventListener("DOMContentLoaded",function(){document.execCommand("enableObjectResizing",!1,!1),document.execCommand("autoUrlDetect",!1,!1)})},function(n,r){var i=-1,a=1,o=0;function l(p,E,k){if(p==E)return p?[[o,p]]:[];(k<0||p.length<k)&&(k=null);var T=c(p,E),S=p.substring(0,T);p=p.substring(T),E=E.substring(T),T=d(p,E);var P=p.substring(p.length-T);p=p.substring(0,p.length-T),E=E.substring(0,E.length-T);var N=s(p,E);return S&&N.unshift([o,S]),P&&N.push([o,P]),y(N),k!=null&&(N=m(N,k)),N=v(N),N}function s(p,E){var k;if(!p)return[[a,E]];if(!E)return[[i,p]];var T=p.length>E.length?p:E,S=p.length>E.length?E:p,P=T.indexOf(S);if(P!=-1)return k=[[a,T.substring(0,P)],[o,S],[a,T.substring(P+S.length)]],p.length>E.length&&(k[0][0]=k[2][0]=i),k;if(S.length==1)return[[i,p],[a,E]];var N=h(p,E);if(N){var O=N[0],w=N[1],C=N[2],I=N[3],D=N[4],V=l(O,C),U=l(w,I);return V.concat([[o,D]],U)}return u(p,E)}function u(p,E){for(var k=p.length,T=E.length,S=Math.ceil((k+T)/2),P=S,N=2*S,O=new Array(N),w=new Array(N),C=0;C<N;C++)O[C]=-1,w[C]=-1;O[P+1]=0,w[P+1]=0;for(var I=k-T,D=I%2!=0,V=0,U=0,te=0,K=0,H=0;H<S;H++){for(var M=-H+V;M<=H-U;M+=2){var j=P+M,z;M==-H||M!=H&&O[j-1]<O[j+1]?z=O[j+1]:z=O[j-1]+1;for(var Z=z-M;z<k&&Z<T&&p.charAt(z)==E.charAt(Z);)z++,Z++;if(O[j]=z,z>k)U+=2;else if(Z>T)V+=2;else if(D){var X=P+I-M;if(X>=0&&X<N&&w[X]!=-1){var F=k-w[X];if(z>=F)return f(p,E,z,Z)}}}for(var J=-H+te;J<=H-K;J+=2){var X=P+J,F;J==-H||J!=H&&w[X-1]<w[X+1]?F=w[X+1]:F=w[X-1]+1;for(var ae=F-J;F<k&&ae<T&&p.charAt(k-F-1)==E.charAt(T-ae-1);)F++,ae++;if(w[X]=F,F>k)K+=2;else if(ae>T)te+=2;else if(!D){var j=P+I-J;if(j>=0&&j<N&&O[j]!=-1){var z=O[j],Z=P+z-j;if(F=k-F,z>=F)return f(p,E,z,Z)}}}}return[[i,p],[a,E]]}function f(p,E,k,T){var S=p.substring(0,k),P=E.substring(0,T),N=p.substring(k),O=E.substring(T),w=l(S,P),C=l(N,O);return w.concat(C)}function c(p,E){if(!p||!E||p.charAt(0)!=E.charAt(0))return 0;for(var k=0,T=Math.min(p.length,E.length),S=T,P=0;k<S;)p.substring(P,S)==E.substring(P,S)?(k=S,P=k):T=S,S=Math.floor((T-k)/2+k);return S}function d(p,E){if(!p||!E||p.charAt(p.length-1)!=E.charAt(E.length-1))return 0;for(var k=0,T=Math.min(p.length,E.length),S=T,P=0;k<S;)p.substring(p.length-S,p.length-P)==E.substring(E.length-S,E.length-P)?(k=S,P=k):T=S,S=Math.floor((T-k)/2+k);return S}function h(p,E){var k=p.length>E.length?p:E,T=p.length>E.length?E:p;if(k.length<4||T.length*2<k.length)return null;function S(U,te,K){for(var H=U.substring(K,K+Math.floor(U.length/4)),M=-1,j="",z,Z,X,F;(M=te.indexOf(H,M+1))!=-1;){var J=c(U.substring(K),te.substring(M)),ae=d(U.substring(0,K),te.substring(0,M));j.length<ae+J&&(j=te.substring(M-ae,M)+te.substring(M,M+J),z=U.substring(0,K-ae),Z=U.substring(K+J),X=te.substring(0,M-ae),F=te.substring(M+J))}return j.length*2>=U.length?[z,Z,X,F,j]:null}var P=S(k,T,Math.ceil(k.length/4)),N=S(k,T,Math.ceil(k.length/2)),O;if(!P&&!N)return null;N?P?O=P[4].length>N[4].length?P:N:O=N:O=P;var w,C,I,D;p.length>E.length?(w=O[0],C=O[1],I=O[2],D=O[3]):(I=O[0],D=O[1],w=O[2],C=O[3]);var V=O[4];return[w,C,I,D,V]}function y(p){p.push([o,""]);for(var E=0,k=0,T=0,S="",P="",N;E<p.length;)switch(p[E][0]){case a:T++,P+=p[E][1],E++;break;case i:k++,S+=p[E][1],E++;break;case o:k+T>1?(k!==0&&T!==0&&(N=c(P,S),N!==0&&(E-k-T>0&&p[E-k-T-1][0]==o?p[E-k-T-1][1]+=P.substring(0,N):(p.splice(0,0,[o,P.substring(0,N)]),E++),P=P.substring(N),S=S.substring(N)),N=d(P,S),N!==0&&(p[E][1]=P.substring(P.length-N)+p[E][1],P=P.substring(0,P.length-N),S=S.substring(0,S.length-N))),k===0?p.splice(E-T,k+T,[a,P]):T===0?p.splice(E-k,k+T,[i,S]):p.splice(E-k-T,k+T,[i,S],[a,P]),E=E-k-T+(k?1:0)+(T?1:0)+1):E!==0&&p[E-1][0]==o?(p[E-1][1]+=p[E][1],p.splice(E,1)):E++,T=0,k=0,S="",P="";break}p[p.length-1][1]===""&&p.pop();var O=!1;for(E=1;E<p.length-1;)p[E-1][0]==o&&p[E+1][0]==o&&(p[E][1].substring(p[E][1].length-p[E-1][1].length)==p[E-1][1]?(p[E][1]=p[E-1][1]+p[E][1].substring(0,p[E][1].length-p[E-1][1].length),p[E+1][1]=p[E-1][1]+p[E+1][1],p.splice(E-1,1),O=!0):p[E][1].substring(0,p[E+1][1].length)==p[E+1][1]&&(p[E-1][1]+=p[E+1][1],p[E][1]=p[E][1].substring(p[E+1][1].length)+p[E+1][1],p.splice(E+1,1),O=!0)),E++;O&&y(p)}var g=l;g.INSERT=a,g.DELETE=i,g.EQUAL=o,n.exports=g;function _(p,E){if(E===0)return[o,p];for(var k=0,T=0;T<p.length;T++){var S=p[T];if(S[0]===i||S[0]===o){var P=k+S[1].length;if(E===P)return[T+1,p];if(E<P){p=p.slice();var N=E-k,O=[S[0],S[1].slice(0,N)],w=[S[0],S[1].slice(N)];return p.splice(T,1,O,w),[T+1,p]}else k=P}}throw new Error("cursor_pos is out of bounds!")}function m(p,E){var k=_(p,E),T=k[1],S=k[0],P=T[S],N=T[S+1];if(P==null)return p;if(P[0]!==o)return p;if(N!=null&&P[1]+N[1]===N[1]+P[1])return T.splice(S,2,N,P),b(T,S,2);if(N!=null&&N[1].indexOf(P[1])===0){T.splice(S,2,[N[0],P[1]],[0,P[1]]);var O=N[1].slice(P[1].length);return O.length>0&&T.splice(S+2,0,[N[0],O]),b(T,S,3)}else return p}function v(p){for(var E=!1,k=function(N){return N.charCodeAt(0)>=56320&&N.charCodeAt(0)<=57343},T=function(N){return N.charCodeAt(N.length-1)>=55296&&N.charCodeAt(N.length-1)<=56319},S=2;S<p.length;S+=1)p[S-2][0]===o&&T(p[S-2][1])&&p[S-1][0]===i&&k(p[S-1][1])&&p[S][0]===a&&k(p[S][1])&&(E=!0,p[S-1][1]=p[S-2][1].slice(-1)+p[S-1][1],p[S][1]=p[S-2][1].slice(-1)+p[S][1],p[S-2][1]=p[S-2][1].slice(0,-1));if(!E)return p;for(var P=[],S=0;S<p.length;S+=1)p[S][1].length>0&&P.push(p[S]);return P}function b(p,E,k){for(var T=E+k-1;T>=0&&T>=E-1;T--)if(T+1<p.length){var S=p[T],P=p[T+1];S[0]===P[1]&&p.splice(T,2,[S[0],S[1]+P[1]])}return p}},function(n,r){r=n.exports=typeof Object.keys=="function"?Object.keys:i,r.shim=i;function i(a){var o=[];for(var l in a)o.push(l);return o}},function(n,r){var i=function(){return Object.prototype.toString.call(arguments)}()=="[object Arguments]";r=n.exports=i?a:o,r.supported=a;function a(l){return Object.prototype.toString.call(l)=="[object Arguments]"}r.unsupported=o;function o(l){return l&&typeof l=="object"&&typeof l.length=="number"&&Object.prototype.hasOwnProperty.call(l,"callee")&&!Object.prototype.propertyIsEnumerable.call(l,"callee")||!1}},function(n,r){var i=Object.prototype.hasOwnProperty,a="~";function o(){}Object.create&&(o.prototype=Object.create(null),new o().__proto__||(a=!1));function l(u,f,c){this.fn=u,this.context=f,this.once=c||!1}function s(){this._events=new o,this._eventsCount=0}s.prototype.eventNames=function(){var f=[],c,d;if(this._eventsCount===0)return f;for(d in c=this._events)i.call(c,d)&&f.push(a?d.slice(1):d);return Object.getOwnPropertySymbols?f.concat(Object.getOwnPropertySymbols(c)):f},s.prototype.listeners=function(f,c){var d=a?a+f:f,h=this._events[d];if(c)return!!h;if(!h)return[];if(h.fn)return[h.fn];for(var y=0,g=h.length,_=new Array(g);y<g;y++)_[y]=h[y].fn;return _},s.prototype.emit=function(f,c,d,h,y,g){var _=a?a+f:f;if(!this._events[_])return!1;var m=this._events[_],v=arguments.length,b,p;if(m.fn){switch(m.once&&this.removeListener(f,m.fn,void 0,!0),v){case 1:return m.fn.call(m.context),!0;case 2:return m.fn.call(m.context,c),!0;case 3:return m.fn.call(m.context,c,d),!0;case 4:return m.fn.call(m.context,c,d,h),!0;case 5:return m.fn.call(m.context,c,d,h,y),!0;case 6:return m.fn.call(m.context,c,d,h,y,g),!0}for(p=1,b=new Array(v-1);p<v;p++)b[p-1]=arguments[p];m.fn.apply(m.context,b)}else{var E=m.length,k;for(p=0;p<E;p++)switch(m[p].once&&this.removeListener(f,m[p].fn,void 0,!0),v){case 1:m[p].fn.call(m[p].context);break;case 2:m[p].fn.call(m[p].context,c);break;case 3:m[p].fn.call(m[p].context,c,d);break;case 4:m[p].fn.call(m[p].context,c,d,h);break;default:if(!b)for(k=1,b=new Array(v-1);k<v;k++)b[k-1]=arguments[k];m[p].fn.apply(m[p].context,b)}}return!0},s.prototype.on=function(f,c,d){var h=new l(c,d||this),y=a?a+f:f;return this._events[y]?this._events[y].fn?this._events[y]=[this._events[y],h]:this._events[y].push(h):(this._events[y]=h,this._eventsCount++),this},s.prototype.once=function(f,c,d){var h=new l(c,d||this,!0),y=a?a+f:f;return this._events[y]?this._events[y].fn?this._events[y]=[this._events[y],h]:this._events[y].push(h):(this._events[y]=h,this._eventsCount++),this},s.prototype.removeListener=function(f,c,d,h){var y=a?a+f:f;if(!this._events[y])return this;if(!c)return--this._eventsCount===0?this._events=new o:delete this._events[y],this;var g=this._events[y];if(g.fn)g.fn===c&&(!h||g.once)&&(!d||g.context===d)&&(--this._eventsCount===0?this._events=new o:delete this._events[y]);else{for(var _=0,m=[],v=g.length;_<v;_++)(g[_].fn!==c||h&&!g[_].once||d&&g[_].context!==d)&&m.push(g[_]);m.length?this._events[y]=m.length===1?m[0]:m:--this._eventsCount===0?this._events=new o:delete this._events[y]}return this},s.prototype.removeAllListeners=function(f){var c;return f?(c=a?a+f:f,this._events[c]&&(--this._eventsCount===0?this._events=new o:delete this._events[c])):(this._events=new o,this._eventsCount=0),this},s.prototype.off=s.prototype.removeListener,s.prototype.addListener=s.prototype.on,s.prototype.setMaxListeners=function(){return this},s.prefixed=a,s.EventEmitter=s,typeof n<"u"&&(n.exports=s)},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.matchText=r.matchSpacing=r.matchNewline=r.matchBlot=r.matchAttributor=r.default=void 0;var a=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(q){return typeof q}:function(q){return q&&typeof Symbol=="function"&&q.constructor===Symbol&&q!==Symbol.prototype?"symbol":typeof q},o=function(){function q(W,ne){var ie=[],oe=!0,ce=!1,G=void 0;try{for(var re=W[Symbol.iterator](),pe;!(oe=(pe=re.next()).done)&&(ie.push(pe.value),!(ne&&ie.length===ne));oe=!0);}catch(ge){ce=!0,G=ge}finally{try{!oe&&re.return&&re.return()}finally{if(ce)throw G}}return ie}return function(W,ne){if(Array.isArray(W))return W;if(Symbol.iterator in Object(W))return q(W,ne);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),l=function(){function q(W,ne){for(var ie=0;ie<ne.length;ie++){var oe=ne[ie];oe.enumerable=oe.enumerable||!1,oe.configurable=!0,"value"in oe&&(oe.writable=!0),Object.defineProperty(W,oe.key,oe)}}return function(W,ne,ie){return ne&&q(W.prototype,ne),ie&&q(W,ie),W}}(),s=i(3),u=w(s),f=i(2),c=w(f),d=i(0),h=w(d),y=i(5),g=w(y),_=i(10),m=w(_),v=i(9),b=w(v),p=i(36),E=i(37),k=i(13),T=w(k),S=i(26),P=i(38),N=i(39),O=i(40);function w(q){return q&&q.__esModule?q:{default:q}}function C(q,W,ne){return W in q?Object.defineProperty(q,W,{value:ne,enumerable:!0,configurable:!0,writable:!0}):q[W]=ne,q}function I(q,W){if(!(q instanceof W))throw new TypeError("Cannot call a class as a function")}function D(q,W){if(!q)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return W&&(typeof W=="object"||typeof W=="function")?W:q}function V(q,W){if(typeof W!="function"&&W!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof W);q.prototype=Object.create(W&&W.prototype,{constructor:{value:q,enumerable:!1,writable:!0,configurable:!0}}),W&&(Object.setPrototypeOf?Object.setPrototypeOf(q,W):q.__proto__=W)}var U=(0,m.default)("quill:clipboard"),te="__ql-matcher",K=[[Node.TEXT_NODE,le],[Node.TEXT_NODE,x],["br",he],[Node.ELEMENT_NODE,x],[Node.ELEMENT_NODE,se],[Node.ELEMENT_NODE,$],[Node.ELEMENT_NODE,Q],[Node.ELEMENT_NODE,ee],["li",L],["b",ae.bind(ae,"bold")],["i",ae.bind(ae,"italic")],["style",B]],H=[p.AlignAttribute,P.DirectionAttribute].reduce(function(q,W){return q[W.keyName]=W,q},{}),M=[p.AlignStyle,E.BackgroundStyle,S.ColorStyle,P.DirectionStyle,N.FontStyle,O.SizeStyle].reduce(function(q,W){return q[W.keyName]=W,q},{}),j=function(q){V(W,q);function W(ne,ie){I(this,W);var oe=D(this,(W.__proto__||Object.getPrototypeOf(W)).call(this,ne,ie));return oe.quill.root.addEventListener("paste",oe.onPaste.bind(oe)),oe.container=oe.quill.addContainer("ql-clipboard"),oe.container.setAttribute("contenteditable",!0),oe.container.setAttribute("tabindex",-1),oe.matchers=[],K.concat(oe.options.matchers).forEach(function(ce){var G=o(ce,2),re=G[0],pe=G[1];!ie.matchVisual&&pe===$||oe.addMatcher(re,pe)}),oe}return l(W,[{key:"addMatcher",value:function(ie,oe){this.matchers.push([ie,oe])}},{key:"convert",value:function(ie){if(typeof ie=="string")return this.container.innerHTML=ie.replace(/\>\r?\n +\</g,"><"),this.convert();var oe=this.quill.getFormat(this.quill.selection.savedRange.index);if(oe[T.default.blotName]){var ce=this.container.innerText;return this.container.innerHTML="",new c.default().insert(ce,C({},T.default.blotName,oe[T.default.blotName]))}var G=this.prepareMatching(),re=o(G,2),pe=re[0],ge=re[1],ve=J(this.container,pe,ge);return X(ve,`
837
+ `)&&ve.ops[ve.ops.length-1].attributes==null&&(ve=ve.compose(new c.default().retain(ve.length()-1).delete(1))),U.log("convert",this.container.innerHTML,ve),this.container.innerHTML="",ve}},{key:"dangerouslyPasteHTML",value:function(ie,oe){var ce=arguments.length>2&&arguments[2]!==void 0?arguments[2]:g.default.sources.API;if(typeof ie=="string")this.quill.setContents(this.convert(ie),oe),this.quill.setSelection(0,g.default.sources.SILENT);else{var G=this.convert(oe);this.quill.updateContents(new c.default().retain(ie).concat(G),ce),this.quill.setSelection(ie+G.length(),g.default.sources.SILENT)}}},{key:"onPaste",value:function(ie){var oe=this;if(!(ie.defaultPrevented||!this.quill.isEnabled())){var ce=this.quill.getSelection(),G=new c.default().retain(ce.index),re=this.quill.scrollingContainer.scrollTop;this.container.focus(),this.quill.selection.update(g.default.sources.SILENT),setTimeout(function(){G=G.concat(oe.convert()).delete(ce.length),oe.quill.updateContents(G,g.default.sources.USER),oe.quill.setSelection(G.length()-ce.length,g.default.sources.SILENT),oe.quill.scrollingContainer.scrollTop=re,oe.quill.focus()},1)}}},{key:"prepareMatching",value:function(){var ie=this,oe=[],ce=[];return this.matchers.forEach(function(G){var re=o(G,2),pe=re[0],ge=re[1];switch(pe){case Node.TEXT_NODE:ce.push(ge);break;case Node.ELEMENT_NODE:oe.push(ge);break;default:[].forEach.call(ie.container.querySelectorAll(pe),function(ve){ve[te]=ve[te]||[],ve[te].push(ge)});break}}),[oe,ce]}}]),W}(b.default);j.DEFAULTS={matchers:[],matchVisual:!0};function z(q,W,ne){return(typeof W>"u"?"undefined":a(W))==="object"?Object.keys(W).reduce(function(ie,oe){return z(ie,oe,W[oe])},q):q.reduce(function(ie,oe){return oe.attributes&&oe.attributes[W]?ie.push(oe):ie.insert(oe.insert,(0,u.default)({},C({},W,ne),oe.attributes))},new c.default)}function Z(q){if(q.nodeType!==Node.ELEMENT_NODE)return{};var W="__ql-computed-style";return q[W]||(q[W]=window.getComputedStyle(q))}function X(q,W){for(var ne="",ie=q.ops.length-1;ie>=0&&ne.length<W.length;--ie){var oe=q.ops[ie];if(typeof oe.insert!="string")break;ne=oe.insert+ne}return ne.slice(-1*W.length)===W}function F(q){if(q.childNodes.length===0)return!1;var W=Z(q);return["block","list-item"].indexOf(W.display)>-1}function J(q,W,ne){return q.nodeType===q.TEXT_NODE?ne.reduce(function(ie,oe){return oe(q,ie)},new c.default):q.nodeType===q.ELEMENT_NODE?[].reduce.call(q.childNodes||[],function(ie,oe){var ce=J(oe,W,ne);return oe.nodeType===q.ELEMENT_NODE&&(ce=W.reduce(function(G,re){return re(oe,G)},ce),ce=(oe[te]||[]).reduce(function(G,re){return re(oe,G)},ce)),ie.concat(ce)},new c.default):new c.default}function ae(q,W,ne){return z(ne,q,!0)}function Q(q,W){var ne=h.default.Attributor.Attribute.keys(q),ie=h.default.Attributor.Class.keys(q),oe=h.default.Attributor.Style.keys(q),ce={};return ne.concat(ie).concat(oe).forEach(function(G){var re=h.default.query(G,h.default.Scope.ATTRIBUTE);re!=null&&(ce[re.attrName]=re.value(q),ce[re.attrName])||(re=H[G],re!=null&&(re.attrName===G||re.keyName===G)&&(ce[re.attrName]=re.value(q)||void 0),re=M[G],re!=null&&(re.attrName===G||re.keyName===G)&&(re=M[G],ce[re.attrName]=re.value(q)||void 0))}),Object.keys(ce).length>0&&(W=z(W,ce)),W}function se(q,W){var ne=h.default.query(q);if(ne==null)return W;if(ne.prototype instanceof h.default.Embed){var ie={},oe=ne.value(q);oe!=null&&(ie[ne.blotName]=oe,W=new c.default().insert(ie,ne.formats(q)))}else typeof ne.formats=="function"&&(W=z(W,ne.blotName,ne.formats(q)));return W}function he(q,W){return X(W,`
838
838
  `)||W.insert(`
839
- `),W}function B(){return new c.default}function L(U,W){var re=h.default.query(U);if(re==null||re.blotName!=="list-item"||!X(W,`
840
- `))return W;for(var ie=-1,oe=U.parentNode;!oe.classList.contains("ql-clipboard");)(h.default.query(oe)||{}).blotName==="list"&&(ie+=1),oe=oe.parentNode;return ie<=0?W:W.compose(new c.default().retain(W.length()-1).retain(1,{indent:ie}))}function x(U,W){return X(W,`
841
- `)||(F(U)||W.length()>0&&U.nextSibling&&F(U.nextSibling))&&W.insert(`
842
- `),W}function $(U,W){if(F(U)&&U.nextElementSibling!=null&&!X(W,`
839
+ `),W}function B(){return new c.default}function L(q,W){var ne=h.default.query(q);if(ne==null||ne.blotName!=="list-item"||!X(W,`
840
+ `))return W;for(var ie=-1,oe=q.parentNode;!oe.classList.contains("ql-clipboard");)(h.default.query(oe)||{}).blotName==="list"&&(ie+=1),oe=oe.parentNode;return ie<=0?W:W.compose(new c.default().retain(W.length()-1).retain(1,{indent:ie}))}function x(q,W){return X(W,`
841
+ `)||(F(q)||W.length()>0&&q.nextSibling&&F(q.nextSibling))&&W.insert(`
842
+ `),W}function $(q,W){if(F(q)&&q.nextElementSibling!=null&&!X(W,`
843
843
 
844
- `)){var re=U.offsetHeight+parseFloat(Q(U).marginTop)+parseFloat(Q(U).marginBottom);U.nextElementSibling.offsetTop>U.offsetTop+re*1.5&&W.insert(`
845
- `)}return W}function ee(U,W){var re={},ie=U.style||{};return ie.fontStyle&&Q(U).fontStyle==="italic"&&(re.italic=!0),ie.fontWeight&&(Q(U).fontWeight.startsWith("bold")||parseInt(Q(U).fontWeight)>=700)&&(re.bold=!0),Object.keys(re).length>0&&(W=z(W,re)),parseFloat(ie.textIndent||0)>0&&(W=new c.default().insert(" ").concat(W)),W}function le(U,W){var re=U.data;if(U.parentNode.tagName==="O:P")return W.insert(re.trim());if(re.trim().length===0&&U.parentNode.classList.contains("ql-clipboard"))return W;if(!Q(U.parentNode).whiteSpace.startsWith("pre")){var ie=function(ce,G){return G=G.replace(/[^\u00a0]/g,""),G.length<1&&ce?" ":G};re=re.replace(/\r\n/g," ").replace(/\n/g," "),re=re.replace(/\s\s+/g,ie.bind(ie,!0)),(U.previousSibling==null&&F(U.parentNode)||U.previousSibling!=null&&F(U.previousSibling))&&(re=re.replace(/^\s+/,ie.bind(ie,!1))),(U.nextSibling==null&&F(U.parentNode)||U.nextSibling!=null&&F(U.nextSibling))&&(re=re.replace(/\s+$/,ie.bind(ie,!1)))}return W.insert(re)}r.default=j,r.matchAttributor=Z,r.matchBlot=se,r.matchNewline=x,r.matchSpacing=$,r.matchText=le},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var a=function(){function y(g,_){for(var m=0;m<_.length;m++){var v=_[m];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(g,v.key,v)}}return function(g,_,m){return _&&y(g.prototype,_),m&&y(g,m),g}}(),o=function y(g,_,m){g===null&&(g=Function.prototype);var v=Object.getOwnPropertyDescriptor(g,_);if(v===void 0){var b=Object.getPrototypeOf(g);return b===null?void 0:y(b,_,m)}else{if("value"in v)return v.value;var p=v.get;return p===void 0?void 0:p.call(m)}},l=i(6),s=u(l);function u(y){return y&&y.__esModule?y:{default:y}}function f(y,g){if(!(y instanceof g))throw new TypeError("Cannot call a class as a function")}function c(y,g){if(!y)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:y}function d(y,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);y.prototype=Object.create(g&&g.prototype,{constructor:{value:y,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(y,g):y.__proto__=g)}var h=function(y){d(g,y);function g(){return f(this,g),c(this,(g.__proto__||Object.getPrototypeOf(g)).apply(this,arguments))}return a(g,[{key:"optimize",value:function(m){o(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"optimize",this).call(this,m),this.domNode.tagName!==this.statics.tagName[0]&&this.replaceWith(this.statics.blotName)}}],[{key:"create",value:function(){return o(g.__proto__||Object.getPrototypeOf(g),"create",this).call(this)}},{key:"formats",value:function(){return!0}}]),g}(s.default);h.blotName="bold",h.tagName=["STRONG","B"],r.default=h},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.addControls=r.default=void 0;var a=function(){function O(w,C){var I=[],D=!0,V=!1,q=void 0;try{for(var te=w[Symbol.iterator](),K;!(D=(K=te.next()).done)&&(I.push(K.value),!(C&&I.length===C));D=!0);}catch(H){V=!0,q=H}finally{try{!D&&te.return&&te.return()}finally{if(V)throw q}}return I}return function(w,C){if(Array.isArray(w))return w;if(Symbol.iterator in Object(w))return O(w,C);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=function(){function O(w,C){for(var I=0;I<C.length;I++){var D=C[I];D.enumerable=D.enumerable||!1,D.configurable=!0,"value"in D&&(D.writable=!0),Object.defineProperty(w,D.key,D)}}return function(w,C,I){return C&&O(w.prototype,C),I&&O(w,I),w}}(),l=i(2),s=m(l),u=i(0),f=m(u),c=i(5),d=m(c),h=i(10),y=m(h),g=i(9),_=m(g);function m(O){return O&&O.__esModule?O:{default:O}}function v(O,w,C){return w in O?Object.defineProperty(O,w,{value:C,enumerable:!0,configurable:!0,writable:!0}):O[w]=C,O}function b(O,w){if(!(O instanceof w))throw new TypeError("Cannot call a class as a function")}function p(O,w){if(!O)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return w&&(typeof w=="object"||typeof w=="function")?w:O}function E(O,w){if(typeof w!="function"&&w!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof w);O.prototype=Object.create(w&&w.prototype,{constructor:{value:O,enumerable:!1,writable:!0,configurable:!0}}),w&&(Object.setPrototypeOf?Object.setPrototypeOf(O,w):O.__proto__=w)}var k=(0,y.default)("quill:toolbar"),T=function(O){E(w,O);function w(C,I){b(this,w);var D=p(this,(w.__proto__||Object.getPrototypeOf(w)).call(this,C,I));if(Array.isArray(D.options.container)){var V=document.createElement("div");P(V,D.options.container),C.container.parentNode.insertBefore(V,C.container),D.container=V}else typeof D.options.container=="string"?D.container=document.querySelector(D.options.container):D.container=D.options.container;if(!(D.container instanceof HTMLElement)){var q;return q=k.error("Container required for toolbar",D.options),p(D,q)}return D.container.classList.add("ql-toolbar"),D.controls=[],D.handlers={},Object.keys(D.options.handlers).forEach(function(te){D.addHandler(te,D.options.handlers[te])}),[].forEach.call(D.container.querySelectorAll("button, select"),function(te){D.attach(te)}),D.quill.on(d.default.events.EDITOR_CHANGE,function(te,K){te===d.default.events.SELECTION_CHANGE&&D.update(K)}),D.quill.on(d.default.events.SCROLL_OPTIMIZE,function(){var te=D.quill.selection.getRange(),K=a(te,1),H=K[0];D.update(H)}),D}return o(w,[{key:"addHandler",value:function(I,D){this.handlers[I]=D}},{key:"attach",value:function(I){var D=this,V=[].find.call(I.classList,function(te){return te.indexOf("ql-")===0});if(V){if(V=V.slice(3),I.tagName==="BUTTON"&&I.setAttribute("type","button"),this.handlers[V]==null){if(this.quill.scroll.whitelist!=null&&this.quill.scroll.whitelist[V]==null){k.warn("ignoring attaching to disabled format",V,I);return}if(f.default.query(V)==null){k.warn("ignoring attaching to nonexistent format",V,I);return}}var q=I.tagName==="SELECT"?"change":"click";I.addEventListener(q,function(te){var K=void 0;if(I.tagName==="SELECT"){if(I.selectedIndex<0)return;var H=I.options[I.selectedIndex];H.hasAttribute("selected")?K=!1:K=H.value||!1}else I.classList.contains("ql-active")?K=!1:K=I.value||!I.hasAttribute("value"),te.preventDefault();D.quill.focus();var M=D.quill.selection.getRange(),j=a(M,1),z=j[0];if(D.handlers[V]!=null)D.handlers[V].call(D,K);else if(f.default.query(V).prototype instanceof f.default.Embed){if(K=prompt("Enter "+V),!K)return;D.quill.updateContents(new s.default().retain(z.index).delete(z.length).insert(v({},V,K)),d.default.sources.USER)}else D.quill.format(V,K,d.default.sources.USER);D.update(z)}),this.controls.push([V,I])}}},{key:"update",value:function(I){var D=I==null?{}:this.quill.getFormat(I);this.controls.forEach(function(V){var q=a(V,2),te=q[0],K=q[1];if(K.tagName==="SELECT"){var H=void 0;if(I==null)H=null;else if(D[te]==null)H=K.querySelector("option[selected]");else if(!Array.isArray(D[te])){var M=D[te];typeof M=="string"&&(M=M.replace(/\"/g,'\\"')),H=K.querySelector('option[value="'+M+'"]')}H==null?(K.value="",K.selectedIndex=-1):H.selected=!0}else if(I==null)K.classList.remove("ql-active");else if(K.hasAttribute("value")){var j=D[te]===K.getAttribute("value")||D[te]!=null&&D[te].toString()===K.getAttribute("value")||D[te]==null&&!K.getAttribute("value");K.classList.toggle("ql-active",j)}else K.classList.toggle("ql-active",D[te]!=null)})}}]),w}(_.default);T.DEFAULTS={};function S(O,w,C){var I=document.createElement("button");I.setAttribute("type","button"),I.classList.add("ql-"+w),C!=null&&(I.value=C),O.appendChild(I)}function P(O,w){Array.isArray(w[0])||(w=[w]),w.forEach(function(C){var I=document.createElement("span");I.classList.add("ql-formats"),C.forEach(function(D){if(typeof D=="string")S(I,D);else{var V=Object.keys(D)[0],q=D[V];Array.isArray(q)?N(I,V,q):S(I,V,q)}}),O.appendChild(I)})}function N(O,w,C){var I=document.createElement("select");I.classList.add("ql-"+w),C.forEach(function(D){var V=document.createElement("option");D!==!1?V.setAttribute("value",D):V.setAttribute("selected","selected"),I.appendChild(V)}),O.appendChild(I)}T.DEFAULTS={container:null,handlers:{clean:function(){var w=this,C=this.quill.getSelection();if(C!=null)if(C.length==0){var I=this.quill.getFormat();Object.keys(I).forEach(function(D){f.default.query(D,f.default.Scope.INLINE)!=null&&w.quill.format(D,!1)})}else this.quill.removeFormat(C,d.default.sources.USER)},direction:function(w){var C=this.quill.getFormat().align;w==="rtl"&&C==null?this.quill.format("align","right",d.default.sources.USER):!w&&C==="right"&&this.quill.format("align",!1,d.default.sources.USER),this.quill.format("direction",w,d.default.sources.USER)},indent:function(w){var C=this.quill.getSelection(),I=this.quill.getFormat(C),D=parseInt(I.indent||0);if(w==="+1"||w==="-1"){var V=w==="+1"?1:-1;I.direction==="rtl"&&(V*=-1),this.quill.format("indent",D+V,d.default.sources.USER)}},link:function(w){w===!0&&(w=prompt("Enter link URL:")),this.quill.format("link",w,d.default.sources.USER)},list:function(w){var C=this.quill.getSelection(),I=this.quill.getFormat(C);w==="check"?I.list==="checked"||I.list==="unchecked"?this.quill.format("list",!1,d.default.sources.USER):this.quill.format("list","unchecked",d.default.sources.USER):this.quill.format("list",w,d.default.sources.USER)}}},r.default=T,r.addControls=P},function(n,r){n.exports='<svg viewbox="0 0 18 18"> <polyline class="ql-even ql-stroke" points="5 7 3 9 5 11"></polyline> <polyline class="ql-even ql-stroke" points="13 7 15 9 13 11"></polyline> <line class=ql-stroke x1=10 x2=8 y1=5 y2=13></line> </svg>'},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var a=function(){function y(g,_){for(var m=0;m<_.length;m++){var v=_[m];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(g,v.key,v)}}return function(g,_,m){return _&&y(g.prototype,_),m&&y(g,m),g}}(),o=function y(g,_,m){g===null&&(g=Function.prototype);var v=Object.getOwnPropertyDescriptor(g,_);if(v===void 0){var b=Object.getPrototypeOf(g);return b===null?void 0:y(b,_,m)}else{if("value"in v)return v.value;var p=v.get;return p===void 0?void 0:p.call(m)}},l=i(28),s=u(l);function u(y){return y&&y.__esModule?y:{default:y}}function f(y,g){if(!(y instanceof g))throw new TypeError("Cannot call a class as a function")}function c(y,g){if(!y)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:y}function d(y,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);y.prototype=Object.create(g&&g.prototype,{constructor:{value:y,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(y,g):y.__proto__=g)}var h=function(y){d(g,y);function g(_,m){f(this,g);var v=c(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,_));return v.label.innerHTML=m,v.container.classList.add("ql-color-picker"),[].slice.call(v.container.querySelectorAll(".ql-picker-item"),0,7).forEach(function(b){b.classList.add("ql-primary")}),v}return a(g,[{key:"buildItem",value:function(m){var v=o(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"buildItem",this).call(this,m);return v.style.backgroundColor=m.getAttribute("value")||"",v}},{key:"selectItem",value:function(m,v){o(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"selectItem",this).call(this,m,v);var b=this.label.querySelector(".ql-color-label"),p=m&&m.getAttribute("data-value")||"";b&&(b.tagName==="line"?b.style.stroke=p:b.style.fill=p)}}]),g}(s.default);r.default=h},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var a=function(){function y(g,_){for(var m=0;m<_.length;m++){var v=_[m];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(g,v.key,v)}}return function(g,_,m){return _&&y(g.prototype,_),m&&y(g,m),g}}(),o=function y(g,_,m){g===null&&(g=Function.prototype);var v=Object.getOwnPropertyDescriptor(g,_);if(v===void 0){var b=Object.getPrototypeOf(g);return b===null?void 0:y(b,_,m)}else{if("value"in v)return v.value;var p=v.get;return p===void 0?void 0:p.call(m)}},l=i(28),s=u(l);function u(y){return y&&y.__esModule?y:{default:y}}function f(y,g){if(!(y instanceof g))throw new TypeError("Cannot call a class as a function")}function c(y,g){if(!y)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:y}function d(y,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);y.prototype=Object.create(g&&g.prototype,{constructor:{value:y,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(y,g):y.__proto__=g)}var h=function(y){d(g,y);function g(_,m){f(this,g);var v=c(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,_));return v.container.classList.add("ql-icon-picker"),[].forEach.call(v.container.querySelectorAll(".ql-picker-item"),function(b){b.innerHTML=m[b.getAttribute("data-value")||""]}),v.defaultItem=v.container.querySelector(".ql-selected"),v.selectItem(v.defaultItem),v}return a(g,[{key:"selectItem",value:function(m,v){o(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"selectItem",this).call(this,m,v),m=m||this.defaultItem,this.label.innerHTML=m.innerHTML}}]),g}(s.default);r.default=h},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var a=function(){function s(u,f){for(var c=0;c<f.length;c++){var d=f[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(u,d.key,d)}}return function(u,f,c){return f&&s(u.prototype,f),c&&s(u,c),u}}();function o(s,u){if(!(s instanceof u))throw new TypeError("Cannot call a class as a function")}var l=function(){function s(u,f){var c=this;o(this,s),this.quill=u,this.boundsContainer=f||document.body,this.root=u.addContainer("ql-tooltip"),this.root.innerHTML=this.constructor.TEMPLATE,this.quill.root===this.quill.scrollingContainer&&this.quill.root.addEventListener("scroll",function(){c.root.style.marginTop=-1*c.quill.root.scrollTop+"px"}),this.hide()}return a(s,[{key:"hide",value:function(){this.root.classList.add("ql-hidden")}},{key:"position",value:function(f){var c=f.left+f.width/2-this.root.offsetWidth/2,d=f.bottom+this.quill.root.scrollTop;this.root.style.left=c+"px",this.root.style.top=d+"px",this.root.classList.remove("ql-flip");var h=this.boundsContainer.getBoundingClientRect(),y=this.root.getBoundingClientRect(),g=0;if(y.right>h.right&&(g=h.right-y.right,this.root.style.left=c+g+"px"),y.left<h.left&&(g=h.left-y.left,this.root.style.left=c+g+"px"),y.bottom>h.bottom){var _=y.bottom-y.top,m=f.bottom-f.top+_;this.root.style.top=d-m+"px",this.root.classList.add("ql-flip")}return g}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),s}();r.default=l},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var a=function(){function N(O,w){var C=[],I=!0,D=!1,V=void 0;try{for(var q=O[Symbol.iterator](),te;!(I=(te=q.next()).done)&&(C.push(te.value),!(w&&C.length===w));I=!0);}catch(K){D=!0,V=K}finally{try{!I&&q.return&&q.return()}finally{if(D)throw V}}return C}return function(O,w){if(Array.isArray(O))return O;if(Symbol.iterator in Object(O))return N(O,w);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=function N(O,w,C){O===null&&(O=Function.prototype);var I=Object.getOwnPropertyDescriptor(O,w);if(I===void 0){var D=Object.getPrototypeOf(O);return D===null?void 0:N(D,w,C)}else{if("value"in I)return I.value;var V=I.get;return V===void 0?void 0:V.call(C)}},l=function(){function N(O,w){for(var C=0;C<w.length;C++){var I=w[C];I.enumerable=I.enumerable||!1,I.configurable=!0,"value"in I&&(I.writable=!0),Object.defineProperty(O,I.key,I)}}return function(O,w,C){return w&&N(O.prototype,w),C&&N(O,C),O}}(),s=i(3),u=b(s),f=i(8),c=b(f),d=i(43),h=b(d),y=i(27),g=b(y),_=i(15),m=i(41),v=b(m);function b(N){return N&&N.__esModule?N:{default:N}}function p(N,O){if(!(N instanceof O))throw new TypeError("Cannot call a class as a function")}function E(N,O){if(!N)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return O&&(typeof O=="object"||typeof O=="function")?O:N}function k(N,O){if(typeof O!="function"&&O!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof O);N.prototype=Object.create(O&&O.prototype,{constructor:{value:N,enumerable:!1,writable:!0,configurable:!0}}),O&&(Object.setPrototypeOf?Object.setPrototypeOf(N,O):N.__proto__=O)}var T=[[{header:["1","2","3",!1]}],["bold","italic","underline","link"],[{list:"ordered"},{list:"bullet"}],["clean"]],S=function(N){k(O,N);function O(w,C){p(this,O),C.modules.toolbar!=null&&C.modules.toolbar.container==null&&(C.modules.toolbar.container=T);var I=E(this,(O.__proto__||Object.getPrototypeOf(O)).call(this,w,C));return I.quill.container.classList.add("ql-snow"),I}return l(O,[{key:"extendToolbar",value:function(C){C.container.classList.add("ql-snow"),this.buildButtons([].slice.call(C.container.querySelectorAll("button")),v.default),this.buildPickers([].slice.call(C.container.querySelectorAll("select")),v.default),this.tooltip=new P(this.quill,this.options.bounds),C.container.querySelector(".ql-link")&&this.quill.keyboard.addBinding({key:"K",shortKey:!0},function(I,D){C.handlers.link.call(C,!D.format.link)})}}]),O}(h.default);S.DEFAULTS=(0,u.default)(!0,{},h.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(O){if(O){var w=this.quill.getSelection();if(w==null||w.length==0)return;var C=this.quill.getText(w);/^\S+@\S+\.\S+$/.test(C)&&C.indexOf("mailto:")!==0&&(C="mailto:"+C);var I=this.quill.theme.tooltip;I.edit("link",C)}else this.quill.format("link",!1)}}}}});var P=function(N){k(O,N);function O(w,C){p(this,O);var I=E(this,(O.__proto__||Object.getPrototypeOf(O)).call(this,w,C));return I.preview=I.root.querySelector("a.ql-preview"),I}return l(O,[{key:"listen",value:function(){var C=this;o(O.prototype.__proto__||Object.getPrototypeOf(O.prototype),"listen",this).call(this),this.root.querySelector("a.ql-action").addEventListener("click",function(I){C.root.classList.contains("ql-editing")?C.save():C.edit("link",C.preview.textContent),I.preventDefault()}),this.root.querySelector("a.ql-remove").addEventListener("click",function(I){if(C.linkRange!=null){var D=C.linkRange;C.restoreFocus(),C.quill.formatText(D,"link",!1,c.default.sources.USER),delete C.linkRange}I.preventDefault(),C.hide()}),this.quill.on(c.default.events.SELECTION_CHANGE,function(I,D,V){if(I!=null){if(I.length===0&&V===c.default.sources.USER){var q=C.quill.scroll.descendant(g.default,I.index),te=a(q,2),K=te[0],H=te[1];if(K!=null){C.linkRange=new _.Range(I.index-H,K.length());var M=g.default.formats(K.domNode);C.preview.textContent=M,C.preview.setAttribute("href",M),C.show(),C.position(C.quill.getBounds(C.linkRange));return}}else delete C.linkRange;C.hide()}})}},{key:"show",value:function(){o(O.prototype.__proto__||Object.getPrototypeOf(O.prototype),"show",this).call(this),this.root.removeAttribute("data-mode")}}]),O}(d.BaseTooltip);P.TEMPLATE=['<a class="ql-preview" rel="noopener noreferrer" target="_blank" href="about:blank"></a>','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-action"></a>','<a class="ql-remove"></a>'].join(""),r.default=S},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var a=i(29),o=oe(a),l=i(36),s=i(38),u=i(64),f=i(65),c=oe(f),d=i(66),h=oe(d),y=i(67),g=oe(y),_=i(37),m=i(26),v=i(39),b=i(40),p=i(56),E=oe(p),k=i(68),T=oe(k),S=i(27),P=oe(S),N=i(69),O=oe(N),w=i(70),C=oe(w),I=i(71),D=oe(I),V=i(72),q=oe(V),te=i(73),K=oe(te),H=i(13),M=oe(H),j=i(74),z=oe(j),Q=i(75),X=oe(Q),F=i(57),J=oe(F),ae=i(41),Z=oe(ae),se=i(28),he=oe(se),B=i(59),L=oe(B),x=i(60),$=oe(x),ee=i(61),le=oe(ee),U=i(108),W=oe(U),re=i(62),ie=oe(re);function oe(ce){return ce&&ce.__esModule?ce:{default:ce}}o.default.register({"attributors/attribute/direction":s.DirectionAttribute,"attributors/class/align":l.AlignClass,"attributors/class/background":_.BackgroundClass,"attributors/class/color":m.ColorClass,"attributors/class/direction":s.DirectionClass,"attributors/class/font":v.FontClass,"attributors/class/size":b.SizeClass,"attributors/style/align":l.AlignStyle,"attributors/style/background":_.BackgroundStyle,"attributors/style/color":m.ColorStyle,"attributors/style/direction":s.DirectionStyle,"attributors/style/font":v.FontStyle,"attributors/style/size":b.SizeStyle},!0),o.default.register({"formats/align":l.AlignClass,"formats/direction":s.DirectionClass,"formats/indent":u.IndentClass,"formats/background":_.BackgroundStyle,"formats/color":m.ColorStyle,"formats/font":v.FontClass,"formats/size":b.SizeClass,"formats/blockquote":c.default,"formats/code-block":M.default,"formats/header":h.default,"formats/list":g.default,"formats/bold":E.default,"formats/code":H.Code,"formats/italic":T.default,"formats/link":P.default,"formats/script":O.default,"formats/strike":C.default,"formats/underline":D.default,"formats/image":q.default,"formats/video":K.default,"formats/list/item":y.ListItem,"modules/formula":z.default,"modules/syntax":X.default,"modules/toolbar":J.default,"themes/bubble":W.default,"themes/snow":ie.default,"ui/icons":Z.default,"ui/picker":he.default,"ui/icon-picker":$.default,"ui/color-picker":L.default,"ui/tooltip":le.default},!0),r.default=o.default},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.IndentClass=void 0;var a=function(){function g(_,m){for(var v=0;v<m.length;v++){var b=m[v];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(_,b.key,b)}}return function(_,m,v){return m&&g(_.prototype,m),v&&g(_,v),_}}(),o=function g(_,m,v){_===null&&(_=Function.prototype);var b=Object.getOwnPropertyDescriptor(_,m);if(b===void 0){var p=Object.getPrototypeOf(_);return p===null?void 0:g(p,m,v)}else{if("value"in b)return b.value;var E=b.get;return E===void 0?void 0:E.call(v)}},l=i(0),s=u(l);function u(g){return g&&g.__esModule?g:{default:g}}function f(g,_){if(!(g instanceof _))throw new TypeError("Cannot call a class as a function")}function c(g,_){if(!g)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return _&&(typeof _=="object"||typeof _=="function")?_:g}function d(g,_){if(typeof _!="function"&&_!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof _);g.prototype=Object.create(_&&_.prototype,{constructor:{value:g,enumerable:!1,writable:!0,configurable:!0}}),_&&(Object.setPrototypeOf?Object.setPrototypeOf(g,_):g.__proto__=_)}var h=function(g){d(_,g);function _(){return f(this,_),c(this,(_.__proto__||Object.getPrototypeOf(_)).apply(this,arguments))}return a(_,[{key:"add",value:function(v,b){if(b==="+1"||b==="-1"){var p=this.value(v)||0;b=b==="+1"?p+1:p-1}return b===0?(this.remove(v),!0):o(_.prototype.__proto__||Object.getPrototypeOf(_.prototype),"add",this).call(this,v,b)}},{key:"canAdd",value:function(v,b){return o(_.prototype.__proto__||Object.getPrototypeOf(_.prototype),"canAdd",this).call(this,v,b)||o(_.prototype.__proto__||Object.getPrototypeOf(_.prototype),"canAdd",this).call(this,v,parseInt(b))}},{key:"value",value:function(v){return parseInt(o(_.prototype.__proto__||Object.getPrototypeOf(_.prototype),"value",this).call(this,v))||void 0}}]),_}(s.default.Attributor.Class),y=new h("indent","ql-indent",{scope:s.default.Scope.BLOCK,whitelist:[1,2,3,4,5,6,7,8]});r.IndentClass=y},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var a=i(4),o=l(a);function l(d){return d&&d.__esModule?d:{default:d}}function s(d,h){if(!(d instanceof h))throw new TypeError("Cannot call a class as a function")}function u(d,h){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:d}function f(d,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);d.prototype=Object.create(h&&h.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(d,h):d.__proto__=h)}var c=function(d){f(h,d);function h(){return s(this,h),u(this,(h.__proto__||Object.getPrototypeOf(h)).apply(this,arguments))}return h}(o.default);c.blotName="blockquote",c.tagName="blockquote",r.default=c},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var a=function(){function h(y,g){for(var _=0;_<g.length;_++){var m=g[_];m.enumerable=m.enumerable||!1,m.configurable=!0,"value"in m&&(m.writable=!0),Object.defineProperty(y,m.key,m)}}return function(y,g,_){return g&&h(y.prototype,g),_&&h(y,_),y}}(),o=i(4),l=s(o);function s(h){return h&&h.__esModule?h:{default:h}}function u(h,y){if(!(h instanceof y))throw new TypeError("Cannot call a class as a function")}function f(h,y){if(!h)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return y&&(typeof y=="object"||typeof y=="function")?y:h}function c(h,y){if(typeof y!="function"&&y!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof y);h.prototype=Object.create(y&&y.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}}),y&&(Object.setPrototypeOf?Object.setPrototypeOf(h,y):h.__proto__=y)}var d=function(h){c(y,h);function y(){return u(this,y),f(this,(y.__proto__||Object.getPrototypeOf(y)).apply(this,arguments))}return a(y,null,[{key:"formats",value:function(_){return this.tagName.indexOf(_.tagName)+1}}]),y}(l.default);d.blotName="header",d.tagName=["H1","H2","H3","H4","H5","H6"],r.default=d},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.ListItem=void 0;var a=function(){function p(E,k){for(var T=0;T<k.length;T++){var S=k[T];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(E,S.key,S)}}return function(E,k,T){return k&&p(E.prototype,k),T&&p(E,T),E}}(),o=function p(E,k,T){E===null&&(E=Function.prototype);var S=Object.getOwnPropertyDescriptor(E,k);if(S===void 0){var P=Object.getPrototypeOf(E);return P===null?void 0:p(P,k,T)}else{if("value"in S)return S.value;var N=S.get;return N===void 0?void 0:N.call(T)}},l=i(0),s=h(l),u=i(4),f=h(u),c=i(25),d=h(c);function h(p){return p&&p.__esModule?p:{default:p}}function y(p,E,k){return E in p?Object.defineProperty(p,E,{value:k,enumerable:!0,configurable:!0,writable:!0}):p[E]=k,p}function g(p,E){if(!(p instanceof E))throw new TypeError("Cannot call a class as a function")}function _(p,E){if(!p)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E&&(typeof E=="object"||typeof E=="function")?E:p}function m(p,E){if(typeof E!="function"&&E!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof E);p.prototype=Object.create(E&&E.prototype,{constructor:{value:p,enumerable:!1,writable:!0,configurable:!0}}),E&&(Object.setPrototypeOf?Object.setPrototypeOf(p,E):p.__proto__=E)}var v=function(p){m(E,p);function E(){return g(this,E),_(this,(E.__proto__||Object.getPrototypeOf(E)).apply(this,arguments))}return a(E,[{key:"format",value:function(T,S){T===b.blotName&&!S?this.replaceWith(s.default.create(this.statics.scope)):o(E.prototype.__proto__||Object.getPrototypeOf(E.prototype),"format",this).call(this,T,S)}},{key:"remove",value:function(){this.prev==null&&this.next==null?this.parent.remove():o(E.prototype.__proto__||Object.getPrototypeOf(E.prototype),"remove",this).call(this)}},{key:"replaceWith",value:function(T,S){return this.parent.isolate(this.offset(this.parent),this.length()),T===this.parent.statics.blotName?(this.parent.replaceWith(T,S),this):(this.parent.unwrap(),o(E.prototype.__proto__||Object.getPrototypeOf(E.prototype),"replaceWith",this).call(this,T,S))}}],[{key:"formats",value:function(T){return T.tagName===this.tagName?void 0:o(E.__proto__||Object.getPrototypeOf(E),"formats",this).call(this,T)}}]),E}(f.default);v.blotName="list-item",v.tagName="LI";var b=function(p){m(E,p),a(E,null,[{key:"create",value:function(T){var S=T==="ordered"?"OL":"UL",P=o(E.__proto__||Object.getPrototypeOf(E),"create",this).call(this,S);return(T==="checked"||T==="unchecked")&&P.setAttribute("data-checked",T==="checked"),P}},{key:"formats",value:function(T){if(T.tagName==="OL")return"ordered";if(T.tagName==="UL")return T.hasAttribute("data-checked")?T.getAttribute("data-checked")==="true"?"checked":"unchecked":"bullet"}}]);function E(k){g(this,E);var T=_(this,(E.__proto__||Object.getPrototypeOf(E)).call(this,k)),S=function(N){if(N.target.parentNode===k){var O=T.statics.formats(k),w=s.default.find(N.target);O==="checked"?w.format("list","unchecked"):O==="unchecked"&&w.format("list","checked")}};return k.addEventListener("touchstart",S),k.addEventListener("mousedown",S),T}return a(E,[{key:"format",value:function(T,S){this.children.length>0&&this.children.tail.format(T,S)}},{key:"formats",value:function(){return y({},this.statics.blotName,this.statics.formats(this.domNode))}},{key:"insertBefore",value:function(T,S){if(T instanceof v)o(E.prototype.__proto__||Object.getPrototypeOf(E.prototype),"insertBefore",this).call(this,T,S);else{var P=S==null?this.length():S.offset(this),N=this.split(P);N.parent.insertBefore(T,N)}}},{key:"optimize",value:function(T){o(E.prototype.__proto__||Object.getPrototypeOf(E.prototype),"optimize",this).call(this,T);var S=this.next;S!=null&&S.prev===this&&S.statics.blotName===this.statics.blotName&&S.domNode.tagName===this.domNode.tagName&&S.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(S.moveChildren(this),S.remove())}},{key:"replace",value:function(T){if(T.statics.blotName!==this.statics.blotName){var S=s.default.create(this.statics.defaultChild);T.moveChildren(S),this.appendChild(S)}o(E.prototype.__proto__||Object.getPrototypeOf(E.prototype),"replace",this).call(this,T)}}]),E}(d.default);b.blotName="list",b.scope=s.default.Scope.BLOCK_BLOT,b.tagName=["OL","UL"],b.defaultChild="list-item",b.allowedChildren=[v],r.ListItem=v,r.default=b},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var a=i(56),o=l(a);function l(d){return d&&d.__esModule?d:{default:d}}function s(d,h){if(!(d instanceof h))throw new TypeError("Cannot call a class as a function")}function u(d,h){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:d}function f(d,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);d.prototype=Object.create(h&&h.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(d,h):d.__proto__=h)}var c=function(d){f(h,d);function h(){return s(this,h),u(this,(h.__proto__||Object.getPrototypeOf(h)).apply(this,arguments))}return h}(o.default);c.blotName="italic",c.tagName=["EM","I"],r.default=c},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var a=function(){function y(g,_){for(var m=0;m<_.length;m++){var v=_[m];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(g,v.key,v)}}return function(g,_,m){return _&&y(g.prototype,_),m&&y(g,m),g}}(),o=function y(g,_,m){g===null&&(g=Function.prototype);var v=Object.getOwnPropertyDescriptor(g,_);if(v===void 0){var b=Object.getPrototypeOf(g);return b===null?void 0:y(b,_,m)}else{if("value"in v)return v.value;var p=v.get;return p===void 0?void 0:p.call(m)}},l=i(6),s=u(l);function u(y){return y&&y.__esModule?y:{default:y}}function f(y,g){if(!(y instanceof g))throw new TypeError("Cannot call a class as a function")}function c(y,g){if(!y)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:y}function d(y,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);y.prototype=Object.create(g&&g.prototype,{constructor:{value:y,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(y,g):y.__proto__=g)}var h=function(y){d(g,y);function g(){return f(this,g),c(this,(g.__proto__||Object.getPrototypeOf(g)).apply(this,arguments))}return a(g,null,[{key:"create",value:function(m){return m==="super"?document.createElement("sup"):m==="sub"?document.createElement("sub"):o(g.__proto__||Object.getPrototypeOf(g),"create",this).call(this,m)}},{key:"formats",value:function(m){if(m.tagName==="SUB")return"sub";if(m.tagName==="SUP")return"super"}}]),g}(s.default);h.blotName="script",h.tagName=["SUB","SUP"],r.default=h},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var a=i(6),o=l(a);function l(d){return d&&d.__esModule?d:{default:d}}function s(d,h){if(!(d instanceof h))throw new TypeError("Cannot call a class as a function")}function u(d,h){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:d}function f(d,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);d.prototype=Object.create(h&&h.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(d,h):d.__proto__=h)}var c=function(d){f(h,d);function h(){return s(this,h),u(this,(h.__proto__||Object.getPrototypeOf(h)).apply(this,arguments))}return h}(o.default);c.blotName="strike",c.tagName="S",r.default=c},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var a=i(6),o=l(a);function l(d){return d&&d.__esModule?d:{default:d}}function s(d,h){if(!(d instanceof h))throw new TypeError("Cannot call a class as a function")}function u(d,h){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:d}function f(d,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);d.prototype=Object.create(h&&h.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(d,h):d.__proto__=h)}var c=function(d){f(h,d);function h(){return s(this,h),u(this,(h.__proto__||Object.getPrototypeOf(h)).apply(this,arguments))}return h}(o.default);c.blotName="underline",c.tagName="U",r.default=c},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var a=function(){function _(m,v){for(var b=0;b<v.length;b++){var p=v[b];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(m,p.key,p)}}return function(m,v,b){return v&&_(m.prototype,v),b&&_(m,b),m}}(),o=function _(m,v,b){m===null&&(m=Function.prototype);var p=Object.getOwnPropertyDescriptor(m,v);if(p===void 0){var E=Object.getPrototypeOf(m);return E===null?void 0:_(E,v,b)}else{if("value"in p)return p.value;var k=p.get;return k===void 0?void 0:k.call(b)}},l=i(0),s=f(l),u=i(27);function f(_){return _&&_.__esModule?_:{default:_}}function c(_,m){if(!(_ instanceof m))throw new TypeError("Cannot call a class as a function")}function d(_,m){if(!_)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:_}function h(_,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);_.prototype=Object.create(m&&m.prototype,{constructor:{value:_,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(_,m):_.__proto__=m)}var y=["alt","height","width"],g=function(_){h(m,_);function m(){return c(this,m),d(this,(m.__proto__||Object.getPrototypeOf(m)).apply(this,arguments))}return a(m,[{key:"format",value:function(b,p){y.indexOf(b)>-1?p?this.domNode.setAttribute(b,p):this.domNode.removeAttribute(b):o(m.prototype.__proto__||Object.getPrototypeOf(m.prototype),"format",this).call(this,b,p)}}],[{key:"create",value:function(b){var p=o(m.__proto__||Object.getPrototypeOf(m),"create",this).call(this,b);return typeof b=="string"&&p.setAttribute("src",this.sanitize(b)),p}},{key:"formats",value:function(b){return y.reduce(function(p,E){return b.hasAttribute(E)&&(p[E]=b.getAttribute(E)),p},{})}},{key:"match",value:function(b){return/\.(jpe?g|gif|png)$/.test(b)||/^data:image\/.+;base64/.test(b)}},{key:"sanitize",value:function(b){return(0,u.sanitize)(b,["http","https","data"])?b:"//:0"}},{key:"value",value:function(b){return b.getAttribute("src")}}]),m}(s.default.Embed);g.blotName="image",g.tagName="IMG",r.default=g},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var a=function(){function _(m,v){for(var b=0;b<v.length;b++){var p=v[b];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(m,p.key,p)}}return function(m,v,b){return v&&_(m.prototype,v),b&&_(m,b),m}}(),o=function _(m,v,b){m===null&&(m=Function.prototype);var p=Object.getOwnPropertyDescriptor(m,v);if(p===void 0){var E=Object.getPrototypeOf(m);return E===null?void 0:_(E,v,b)}else{if("value"in p)return p.value;var k=p.get;return k===void 0?void 0:k.call(b)}},l=i(4),s=i(27),u=f(s);function f(_){return _&&_.__esModule?_:{default:_}}function c(_,m){if(!(_ instanceof m))throw new TypeError("Cannot call a class as a function")}function d(_,m){if(!_)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:_}function h(_,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);_.prototype=Object.create(m&&m.prototype,{constructor:{value:_,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(_,m):_.__proto__=m)}var y=["height","width"],g=function(_){h(m,_);function m(){return c(this,m),d(this,(m.__proto__||Object.getPrototypeOf(m)).apply(this,arguments))}return a(m,[{key:"format",value:function(b,p){y.indexOf(b)>-1?p?this.domNode.setAttribute(b,p):this.domNode.removeAttribute(b):o(m.prototype.__proto__||Object.getPrototypeOf(m.prototype),"format",this).call(this,b,p)}}],[{key:"create",value:function(b){var p=o(m.__proto__||Object.getPrototypeOf(m),"create",this).call(this,b);return p.setAttribute("frameborder","0"),p.setAttribute("allowfullscreen",!0),p.setAttribute("src",this.sanitize(b)),p}},{key:"formats",value:function(b){return y.reduce(function(p,E){return b.hasAttribute(E)&&(p[E]=b.getAttribute(E)),p},{})}},{key:"sanitize",value:function(b){return u.default.sanitize(b)}},{key:"value",value:function(b){return b.getAttribute("src")}}]),m}(l.BlockEmbed);g.blotName="video",g.className="ql-video",g.tagName="IFRAME",r.default=g},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.FormulaBlot=void 0;var a=function(){function b(p,E){for(var k=0;k<E.length;k++){var T=E[k];T.enumerable=T.enumerable||!1,T.configurable=!0,"value"in T&&(T.writable=!0),Object.defineProperty(p,T.key,T)}}return function(p,E,k){return E&&b(p.prototype,E),k&&b(p,k),p}}(),o=function b(p,E,k){p===null&&(p=Function.prototype);var T=Object.getOwnPropertyDescriptor(p,E);if(T===void 0){var S=Object.getPrototypeOf(p);return S===null?void 0:b(S,E,k)}else{if("value"in T)return T.value;var P=T.get;return P===void 0?void 0:P.call(k)}},l=i(35),s=h(l),u=i(5),f=h(u),c=i(9),d=h(c);function h(b){return b&&b.__esModule?b:{default:b}}function y(b,p){if(!(b instanceof p))throw new TypeError("Cannot call a class as a function")}function g(b,p){if(!b)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:b}function _(b,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);b.prototype=Object.create(p&&p.prototype,{constructor:{value:b,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(b,p):b.__proto__=p)}var m=function(b){_(p,b);function p(){return y(this,p),g(this,(p.__proto__||Object.getPrototypeOf(p)).apply(this,arguments))}return a(p,null,[{key:"create",value:function(k){var T=o(p.__proto__||Object.getPrototypeOf(p),"create",this).call(this,k);return typeof k=="string"&&(window.katex.render(k,T,{throwOnError:!1,errorColor:"#f00"}),T.setAttribute("data-value",k)),T}},{key:"value",value:function(k){return k.getAttribute("data-value")}}]),p}(s.default);m.blotName="formula",m.className="ql-formula",m.tagName="SPAN";var v=function(b){_(p,b),a(p,null,[{key:"register",value:function(){f.default.register(m,!0)}}]);function p(){y(this,p);var E=g(this,(p.__proto__||Object.getPrototypeOf(p)).call(this));if(window.katex==null)throw new Error("Formula module requires KaTeX.");return E}return p}(d.default);r.FormulaBlot=m,r.default=v},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.CodeToken=r.CodeBlock=void 0;var a=function(){function k(T,S){for(var P=0;P<S.length;P++){var N=S[P];N.enumerable=N.enumerable||!1,N.configurable=!0,"value"in N&&(N.writable=!0),Object.defineProperty(T,N.key,N)}}return function(T,S,P){return S&&k(T.prototype,S),P&&k(T,P),T}}(),o=function k(T,S,P){T===null&&(T=Function.prototype);var N=Object.getOwnPropertyDescriptor(T,S);if(N===void 0){var O=Object.getPrototypeOf(T);return O===null?void 0:k(O,S,P)}else{if("value"in N)return N.value;var w=N.get;return w===void 0?void 0:w.call(P)}},l=i(0),s=g(l),u=i(5),f=g(u),c=i(9),d=g(c),h=i(13),y=g(h);function g(k){return k&&k.__esModule?k:{default:k}}function _(k,T){if(!(k instanceof T))throw new TypeError("Cannot call a class as a function")}function m(k,T){if(!k)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return T&&(typeof T=="object"||typeof T=="function")?T:k}function v(k,T){if(typeof T!="function"&&T!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof T);k.prototype=Object.create(T&&T.prototype,{constructor:{value:k,enumerable:!1,writable:!0,configurable:!0}}),T&&(Object.setPrototypeOf?Object.setPrototypeOf(k,T):k.__proto__=T)}var b=function(k){v(T,k);function T(){return _(this,T),m(this,(T.__proto__||Object.getPrototypeOf(T)).apply(this,arguments))}return a(T,[{key:"replaceWith",value:function(P){this.domNode.textContent=this.domNode.textContent,this.attach(),o(T.prototype.__proto__||Object.getPrototypeOf(T.prototype),"replaceWith",this).call(this,P)}},{key:"highlight",value:function(P){var N=this.domNode.textContent;this.cachedText!==N&&((N.trim().length>0||this.cachedText==null)&&(this.domNode.innerHTML=P(N),this.domNode.normalize(),this.attach()),this.cachedText=N)}}]),T}(y.default);b.className="ql-syntax";var p=new s.default.Attributor.Class("token","hljs",{scope:s.default.Scope.INLINE}),E=function(k){v(T,k),a(T,null,[{key:"register",value:function(){f.default.register(p,!0),f.default.register(b,!0)}}]);function T(S,P){_(this,T);var N=m(this,(T.__proto__||Object.getPrototypeOf(T)).call(this,S,P));if(typeof N.options.highlight!="function")throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");var O=null;return N.quill.on(f.default.events.SCROLL_OPTIMIZE,function(){clearTimeout(O),O=setTimeout(function(){N.highlight(),O=null},N.options.interval)}),N.highlight(),N}return a(T,[{key:"highlight",value:function(){var P=this;if(!this.quill.selection.composing){this.quill.update(f.default.sources.USER);var N=this.quill.getSelection();this.quill.scroll.descendants(b).forEach(function(O){O.highlight(P.options.highlight)}),this.quill.update(f.default.sources.SILENT),N!=null&&this.quill.setSelection(N,f.default.sources.SILENT)}}}]),T}(d.default);E.DEFAULTS={highlight:function(){return window.hljs==null?null:function(k){var T=window.hljs.highlightAuto(k);return T.value}}(),interval:1e3},r.CodeBlock=b,r.CodeToken=p,r.default=E},function(n,r){n.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=13 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=9 y1=4 y2=4></line> </svg>'},function(n,r){n.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=14 x2=4 y1=14 y2=14></line> <line class=ql-stroke x1=12 x2=6 y1=4 y2=4></line> </svg>'},function(n,r){n.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=5 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=9 y1=4 y2=4></line> </svg>'},function(n,r){n.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=3 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=3 y1=4 y2=4></line> </svg>'},function(n,r){n.exports='<svg viewbox="0 0 18 18"> <g class="ql-fill ql-color-label"> <polygon points="6 6.868 6 6 5 6 5 7 5.942 7 6 6.868"></polygon> <rect height=1 width=1 x=4 y=4></rect> <polygon points="6.817 5 6 5 6 6 6.38 6 6.817 5"></polygon> <rect height=1 width=1 x=2 y=6></rect> <rect height=1 width=1 x=3 y=5></rect> <rect height=1 width=1 x=4 y=7></rect> <polygon points="4 11.439 4 11 3 11 3 12 3.755 12 4 11.439"></polygon> <rect height=1 width=1 x=2 y=12></rect> <rect height=1 width=1 x=2 y=9></rect> <rect height=1 width=1 x=2 y=15></rect> <polygon points="4.63 10 4 10 4 11 4.192 11 4.63 10"></polygon> <rect height=1 width=1 x=3 y=8></rect> <path d=M10.832,4.2L11,4.582V4H10.708A1.948,1.948,0,0,1,10.832,4.2Z></path> <path d=M7,4.582L7.168,4.2A1.929,1.929,0,0,1,7.292,4H7V4.582Z></path> <path d=M8,13H7.683l-0.351.8a1.933,1.933,0,0,1-.124.2H8V13Z></path> <rect height=1 width=1 x=12 y=2></rect> <rect height=1 width=1 x=11 y=3></rect> <path d=M9,3H8V3.282A1.985,1.985,0,0,1,9,3Z></path> <rect height=1 width=1 x=2 y=3></rect> <rect height=1 width=1 x=6 y=2></rect> <rect height=1 width=1 x=3 y=2></rect> <rect height=1 width=1 x=5 y=3></rect> <rect height=1 width=1 x=9 y=2></rect> <rect height=1 width=1 x=15 y=14></rect> <polygon points="13.447 10.174 13.469 10.225 13.472 10.232 13.808 11 14 11 14 10 13.37 10 13.447 10.174"></polygon> <rect height=1 width=1 x=13 y=7></rect> <rect height=1 width=1 x=15 y=5></rect> <rect height=1 width=1 x=14 y=6></rect> <rect height=1 width=1 x=15 y=8></rect> <rect height=1 width=1 x=14 y=9></rect> <path d=M3.775,14H3v1H4V14.314A1.97,1.97,0,0,1,3.775,14Z></path> <rect height=1 width=1 x=14 y=3></rect> <polygon points="12 6.868 12 6 11.62 6 12 6.868"></polygon> <rect height=1 width=1 x=15 y=2></rect> <rect height=1 width=1 x=12 y=5></rect> <rect height=1 width=1 x=13 y=4></rect> <polygon points="12.933 9 13 9 13 8 12.495 8 12.933 9"></polygon> <rect height=1 width=1 x=9 y=14></rect> <rect height=1 width=1 x=8 y=15></rect> <path d=M6,14.926V15H7V14.316A1.993,1.993,0,0,1,6,14.926Z></path> <rect height=1 width=1 x=5 y=15></rect> <path d=M10.668,13.8L10.317,13H10v1h0.792A1.947,1.947,0,0,1,10.668,13.8Z></path> <rect height=1 width=1 x=11 y=15></rect> <path d=M14.332,12.2a1.99,1.99,0,0,1,.166.8H15V12H14.245Z></path> <rect height=1 width=1 x=14 y=15></rect> <rect height=1 width=1 x=15 y=11></rect> </g> <polyline class=ql-stroke points="5.5 13 9 5 12.5 13"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=11 y2=11></line> </svg>'},function(n,r){n.exports='<svg viewbox="0 0 18 18"> <rect class="ql-fill ql-stroke" height=3 width=3 x=4 y=5></rect> <rect class="ql-fill ql-stroke" height=3 width=3 x=11 y=5></rect> <path class="ql-even ql-fill ql-stroke" d=M7,8c0,4.031-3,5-3,5></path> <path class="ql-even ql-fill ql-stroke" d=M14,8c0,4.031-3,5-3,5></path> </svg>'},function(n,r){n.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,4H9.5A2.5,2.5,0,0,1,12,6.5v0A2.5,2.5,0,0,1,9.5,9H5A0,0,0,0,1,5,9V4A0,0,0,0,1,5,4Z></path> <path class=ql-stroke d=M5,9h5.5A2.5,2.5,0,0,1,13,11.5v0A2.5,2.5,0,0,1,10.5,14H5a0,0,0,0,1,0,0V9A0,0,0,0,1,5,9Z></path> </svg>'},function(n,r){n.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=5 x2=13 y1=3 y2=3></line> <line class=ql-stroke x1=6 x2=9.35 y1=12 y2=3></line> <line class=ql-stroke x1=11 x2=15 y1=11 y2=15></line> <line class=ql-stroke x1=15 x2=11 y1=11 y2=15></line> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=7 x=2 y=14></rect> </svg>'},function(n,r){n.exports='<svg viewbox="0 0 18 18"> <line class="ql-color-label ql-stroke ql-transparent" x1=3 x2=15 y1=15 y2=15></line> <polyline class=ql-stroke points="5.5 11 9 3 12.5 11"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=9 y2=9></line> </svg>'},function(n,r){n.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="3 11 5 9 3 7 3 11"></polygon> <line class="ql-stroke ql-fill" x1=15 x2=11 y1=4 y2=4></line> <path class=ql-fill d=M11,3a3,3,0,0,0,0,6h1V3H11Z></path> <rect class=ql-fill height=11 width=1 x=11 y=4></rect> <rect class=ql-fill height=11 width=1 x=13 y=4></rect> </svg>'},function(n,r){n.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="15 12 13 10 15 8 15 12"></polygon> <line class="ql-stroke ql-fill" x1=9 x2=5 y1=4 y2=4></line> <path class=ql-fill d=M5,3A3,3,0,0,0,5,9H6V3H5Z></path> <rect class=ql-fill height=11 width=1 x=5 y=4></rect> <rect class=ql-fill height=11 width=1 x=7 y=4></rect> </svg>'},function(n,r){n.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M14,16H4a1,1,0,0,1,0-2H14A1,1,0,0,1,14,16Z /> <path class=ql-fill d=M14,4H4A1,1,0,0,1,4,2H14A1,1,0,0,1,14,4Z /> <rect class=ql-fill x=3 y=6 width=12 height=6 rx=1 ry=1 /> </svg>'},function(n,r){n.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M13,16H5a1,1,0,0,1,0-2h8A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H5A1,1,0,0,1,5,2h8A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=2 y=6 width=14 height=6 rx=1 ry=1 /> </svg>'},function(n,r){n.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15,8H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,8Z /> <path class=ql-fill d=M15,12H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,12Z /> <path class=ql-fill d=M15,16H5a1,1,0,0,1,0-2H15A1,1,0,0,1,15,16Z /> <path class=ql-fill d=M15,4H5A1,1,0,0,1,5,2H15A1,1,0,0,1,15,4Z /> <rect class=ql-fill x=2 y=6 width=8 height=6 rx=1 ry=1 /> </svg>'},function(n,r){n.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M5,8H3A1,1,0,0,1,3,6H5A1,1,0,0,1,5,8Z /> <path class=ql-fill d=M5,12H3a1,1,0,0,1,0-2H5A1,1,0,0,1,5,12Z /> <path class=ql-fill d=M13,16H3a1,1,0,0,1,0-2H13A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H3A1,1,0,0,1,3,2H13A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=8 y=6 width=8 height=6 rx=1 ry=1 transform="translate(24 18) rotate(-180)"/> </svg>'},function(n,r){n.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M11.759,2.482a2.561,2.561,0,0,0-3.53.607A7.656,7.656,0,0,0,6.8,6.2C6.109,9.188,5.275,14.677,4.15,14.927a1.545,1.545,0,0,0-1.3-.933A0.922,0.922,0,0,0,2,15.036S1.954,16,4.119,16s3.091-2.691,3.7-5.553c0.177-.826.36-1.726,0.554-2.6L8.775,6.2c0.381-1.421.807-2.521,1.306-2.676a1.014,1.014,0,0,0,1.02.56A0.966,0.966,0,0,0,11.759,2.482Z></path> <rect class=ql-fill height=1.6 rx=0.8 ry=0.8 width=5 x=5.15 y=6.2></rect> <path class=ql-fill d=M13.663,12.027a1.662,1.662,0,0,1,.266-0.276q0.193,0.069.456,0.138a2.1,2.1,0,0,0,.535.069,1.075,1.075,0,0,0,.767-0.3,1.044,1.044,0,0,0,.314-0.8,0.84,0.84,0,0,0-.238-0.619,0.8,0.8,0,0,0-.594-0.239,1.154,1.154,0,0,0-.781.3,4.607,4.607,0,0,0-.781,1q-0.091.15-.218,0.346l-0.246.38c-0.068-.288-0.137-0.582-0.212-0.885-0.459-1.847-2.494-.984-2.941-0.8-0.482.2-.353,0.647-0.094,0.529a0.869,0.869,0,0,1,1.281.585c0.217,0.751.377,1.436,0.527,2.038a5.688,5.688,0,0,1-.362.467,2.69,2.69,0,0,1-.264.271q-0.221-.08-0.471-0.147a2.029,2.029,0,0,0-.522-0.066,1.079,1.079,0,0,0-.768.3A1.058,1.058,0,0,0,9,15.131a0.82,0.82,0,0,0,.832.852,1.134,1.134,0,0,0,.787-0.3,5.11,5.11,0,0,0,.776-0.993q0.141-.219.215-0.34c0.046-.076.122-0.194,0.223-0.346a2.786,2.786,0,0,0,.918,1.726,2.582,2.582,0,0,0,2.376-.185c0.317-.181.212-0.565,0-0.494A0.807,0.807,0,0,1,14.176,15a5.159,5.159,0,0,1-.913-2.446l0,0Q13.487,12.24,13.663,12.027Z></path> </svg>'},function(n,r){n.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm6.06787,9.209H14.98975V7.59863a.54085.54085,0,0,0-.605-.60547h-.62744a1.01119,1.01119,0,0,0-.748.29688L11.645,8.56641a.5435.5435,0,0,0-.022.8584l.28613.30762a.53861.53861,0,0,0,.84717.0332l.09912-.08789a1.2137,1.2137,0,0,0,.2417-.35254h.02246s-.01123.30859-.01123.60547V13.209H12.041a.54085.54085,0,0,0-.605.60547v.43945a.54085.54085,0,0,0,.605.60547h4.02686a.54085.54085,0,0,0,.605-.60547v-.43945A.54085.54085,0,0,0,16.06787,13.209Z /> </svg>'},function(n,r){n.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M16.73975,13.81445v.43945a.54085.54085,0,0,1-.605.60547H11.855a.58392.58392,0,0,1-.64893-.60547V14.0127c0-2.90527,3.39941-3.42187,3.39941-4.55469a.77675.77675,0,0,0-.84717-.78125,1.17684,1.17684,0,0,0-.83594.38477c-.2749.26367-.561.374-.85791.13184l-.4292-.34082c-.30811-.24219-.38525-.51758-.1543-.81445a2.97155,2.97155,0,0,1,2.45361-1.17676,2.45393,2.45393,0,0,1,2.68408,2.40918c0,2.45312-3.1792,2.92676-3.27832,3.93848h2.79443A.54085.54085,0,0,1,16.73975,13.81445ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z /> </svg>'},function(n,r){n.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=13 y1=4 y2=4></line> <line class=ql-stroke x1=5 x2=11 y1=14 y2=14></line> <line class=ql-stroke x1=8 x2=10 y1=14 y2=4></line> </svg>'},function(n,r){n.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=10 width=12 x=3 y=4></rect> <circle class=ql-fill cx=6 cy=7 r=1></circle> <polyline class="ql-even ql-fill" points="5 12 5 11 7 9 8 10 11 7 13 9 13 12 5 12"></polyline> </svg>'},function(n,r){n.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class="ql-fill ql-stroke" points="3 7 3 11 5 9 3 7"></polyline> </svg>'},function(n,r){n.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="5 7 5 11 3 9 5 7"></polyline> </svg>'},function(n,r){n.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=11 y1=7 y2=11></line> <path class="ql-even ql-stroke" d=M8.9,4.577a3.476,3.476,0,0,1,.36,4.679A3.476,3.476,0,0,1,4.577,8.9C3.185,7.5,2.035,6.4,4.217,4.217S7.5,3.185,8.9,4.577Z></path> <path class="ql-even ql-stroke" d=M13.423,9.1a3.476,3.476,0,0,0-4.679-.36,3.476,3.476,0,0,0,.36,4.679c1.392,1.392,2.5,2.542,4.679.36S14.815,10.5,13.423,9.1Z></path> </svg>'},function(n,r){n.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=7 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=7 x2=15 y1=14 y2=14></line> <line class="ql-stroke ql-thin" x1=2.5 x2=4.5 y1=5.5 y2=5.5></line> <path class=ql-fill d=M3.5,6A0.5,0.5,0,0,1,3,5.5V3.085l-0.276.138A0.5,0.5,0,0,1,2.053,3c-0.124-.247-0.023-0.324.224-0.447l1-.5A0.5,0.5,0,0,1,4,2.5v3A0.5,0.5,0,0,1,3.5,6Z></path> <path class="ql-stroke ql-thin" d=M4.5,10.5h-2c0-.234,1.85-1.076,1.85-2.234A0.959,0.959,0,0,0,2.5,8.156></path> <path class="ql-stroke ql-thin" d=M2.5,14.846a0.959,0.959,0,0,0,1.85-.109A0.7,0.7,0,0,0,3.75,14a0.688,0.688,0,0,0,.6-0.736,0.959,0.959,0,0,0-1.85-.109></path> </svg>'},function(n,r){n.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=6 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=6 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=6 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=3 y1=4 y2=4></line> <line class=ql-stroke x1=3 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=3 y1=14 y2=14></line> </svg>'},function(n,r){n.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=9 x2=15 y1=4 y2=4></line> <polyline class=ql-stroke points="3 4 4 5 6 3"></polyline> <line class=ql-stroke x1=9 x2=15 y1=14 y2=14></line> <polyline class=ql-stroke points="3 14 4 15 6 13"></polyline> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="3 9 4 10 6 8"></polyline> </svg>'},function(n,r){n.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,15H13.861a3.858,3.858,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.921,1.921,0,0,0,12.021,11.7a0.50013,0.50013,0,1,0,.957.291h0a0.914,0.914,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.076-1.16971,1.86982-1.93971,2.43082A1.45639,1.45639,0,0,0,12,15.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,15Z /> <path class=ql-fill d=M9.65,5.241a1,1,0,0,0-1.409.108L6,7.964,3.759,5.349A1,1,0,0,0,2.192,6.59178Q2.21541,6.6213,2.241,6.649L4.684,9.5,2.241,12.35A1,1,0,0,0,3.71,13.70722q0.02557-.02768.049-0.05722L6,11.036,8.241,13.65a1,1,0,1,0,1.567-1.24277Q9.78459,12.3777,9.759,12.35L7.316,9.5,9.759,6.651A1,1,0,0,0,9.65,5.241Z /> </svg>'},function(n,r){n.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,7H13.861a4.015,4.015,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.922,1.922,0,0,0,12.021,3.7a0.5,0.5,0,1,0,.957.291,0.917,0.917,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.077-1.164,1.925-1.934,2.486A1.423,1.423,0,0,0,12,7.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,7Z /> <path class=ql-fill d=M9.651,5.241a1,1,0,0,0-1.41.108L6,7.964,3.759,5.349a1,1,0,1,0-1.519,1.3L4.683,9.5,2.241,12.35a1,1,0,1,0,1.519,1.3L6,11.036,8.241,13.65a1,1,0,0,0,1.519-1.3L7.317,9.5,9.759,6.651A1,1,0,0,0,9.651,5.241Z /> </svg>'},function(n,r){n.exports='<svg viewbox="0 0 18 18"> <line class="ql-stroke ql-thin" x1=15.5 x2=2.5 y1=8.5 y2=9.5></line> <path class=ql-fill d=M9.007,8C6.542,7.791,6,7.519,6,6.5,6,5.792,7.283,5,9,5c1.571,0,2.765.679,2.969,1.309a1,1,0,0,0,1.9-.617C13.356,4.106,11.354,3,9,3,6.2,3,4,4.538,4,6.5a3.2,3.2,0,0,0,.5,1.843Z></path> <path class=ql-fill d=M8.984,10C11.457,10.208,12,10.479,12,11.5c0,0.708-1.283,1.5-3,1.5-1.571,0-2.765-.679-2.969-1.309a1,1,0,1,0-1.9.617C4.644,13.894,6.646,15,9,15c2.8,0,5-1.538,5-3.5a3.2,3.2,0,0,0-.5-1.843Z></path> </svg>'},function(n,r){n.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,3V9a4.012,4.012,0,0,0,4,4H9a4.012,4.012,0,0,0,4-4V3></path> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=12 x=3 y=15></rect> </svg>'},function(n,r){n.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=12 width=12 x=3 y=3></rect> <rect class=ql-fill height=12 width=1 x=5 y=3></rect> <rect class=ql-fill height=12 width=1 x=12 y=3></rect> <rect class=ql-fill height=2 width=8 x=5 y=8></rect> <rect class=ql-fill height=1 width=3 x=3 y=5></rect> <rect class=ql-fill height=1 width=3 x=3 y=7></rect> <rect class=ql-fill height=1 width=3 x=3 y=10></rect> <rect class=ql-fill height=1 width=3 x=3 y=12></rect> <rect class=ql-fill height=1 width=3 x=12 y=5></rect> <rect class=ql-fill height=1 width=3 x=12 y=7></rect> <rect class=ql-fill height=1 width=3 x=12 y=10></rect> <rect class=ql-fill height=1 width=3 x=12 y=12></rect> </svg>'},function(n,r){n.exports='<svg viewbox="0 0 18 18"> <polygon class=ql-stroke points="7 11 9 13 11 11 7 11"></polygon> <polygon class=ql-stroke points="7 7 9 5 11 7 7 7"></polygon> </svg>'},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.BubbleTooltip=void 0;var a=function T(S,P,N){S===null&&(S=Function.prototype);var O=Object.getOwnPropertyDescriptor(S,P);if(O===void 0){var w=Object.getPrototypeOf(S);return w===null?void 0:T(w,P,N)}else{if("value"in O)return O.value;var C=O.get;return C===void 0?void 0:C.call(N)}},o=function(){function T(S,P){for(var N=0;N<P.length;N++){var O=P[N];O.enumerable=O.enumerable||!1,O.configurable=!0,"value"in O&&(O.writable=!0),Object.defineProperty(S,O.key,O)}}return function(S,P,N){return P&&T(S.prototype,P),N&&T(S,N),S}}(),l=i(3),s=_(l),u=i(8),f=_(u),c=i(43),d=_(c),h=i(15),y=i(41),g=_(y);function _(T){return T&&T.__esModule?T:{default:T}}function m(T,S){if(!(T instanceof S))throw new TypeError("Cannot call a class as a function")}function v(T,S){if(!T)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return S&&(typeof S=="object"||typeof S=="function")?S:T}function b(T,S){if(typeof S!="function"&&S!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof S);T.prototype=Object.create(S&&S.prototype,{constructor:{value:T,enumerable:!1,writable:!0,configurable:!0}}),S&&(Object.setPrototypeOf?Object.setPrototypeOf(T,S):T.__proto__=S)}var p=[["bold","italic","link"],[{header:1},{header:2},"blockquote"]],E=function(T){b(S,T);function S(P,N){m(this,S),N.modules.toolbar!=null&&N.modules.toolbar.container==null&&(N.modules.toolbar.container=p);var O=v(this,(S.__proto__||Object.getPrototypeOf(S)).call(this,P,N));return O.quill.container.classList.add("ql-bubble"),O}return o(S,[{key:"extendToolbar",value:function(N){this.tooltip=new k(this.quill,this.options.bounds),this.tooltip.root.appendChild(N.container),this.buildButtons([].slice.call(N.container.querySelectorAll("button")),g.default),this.buildPickers([].slice.call(N.container.querySelectorAll("select")),g.default)}}]),S}(d.default);E.DEFAULTS=(0,s.default)(!0,{},d.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(S){S?this.quill.theme.tooltip.edit():this.quill.format("link",!1)}}}}});var k=function(T){b(S,T);function S(P,N){m(this,S);var O=v(this,(S.__proto__||Object.getPrototypeOf(S)).call(this,P,N));return O.quill.on(f.default.events.EDITOR_CHANGE,function(w,C,I,D){if(w===f.default.events.SELECTION_CHANGE)if(C!=null&&C.length>0&&D===f.default.sources.USER){O.show(),O.root.style.left="0px",O.root.style.width="",O.root.style.width=O.root.offsetWidth+"px";var V=O.quill.getLines(C.index,C.length);if(V.length===1)O.position(O.quill.getBounds(C));else{var q=V[V.length-1],te=O.quill.getIndex(q),K=Math.min(q.length()-1,C.index+C.length-te),H=O.quill.getBounds(new h.Range(te,K));O.position(H)}}else document.activeElement!==O.textbox&&O.quill.hasFocus()&&O.hide()}),O}return o(S,[{key:"listen",value:function(){var N=this;a(S.prototype.__proto__||Object.getPrototypeOf(S.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",function(){N.root.classList.remove("ql-editing")}),this.quill.on(f.default.events.SCROLL_OPTIMIZE,function(){setTimeout(function(){if(!N.root.classList.contains("ql-hidden")){var O=N.quill.getSelection();O!=null&&N.position(N.quill.getBounds(O))}},1)})}},{key:"cancel",value:function(){this.show()}},{key:"position",value:function(N){var O=a(S.prototype.__proto__||Object.getPrototypeOf(S.prototype),"position",this).call(this,N),w=this.root.querySelector(".ql-tooltip-arrow");if(w.style.marginLeft="",O===0)return O;w.style.marginLeft=-1*O-w.offsetWidth/2+"px"}}]),S}(c.BaseTooltip);k.TEMPLATE=['<span class="ql-tooltip-arrow"></span>','<div class="ql-tooltip-editor">','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-close"></a>',"</div>"].join(""),r.BubbleTooltip=k,r.default=E},function(n,r,i){n.exports=i(63)}]).default})})(lb);var g9=lb.exports;const df=st.getDefaultExportFromCjs(g9);var ur=-1,$n=1,ln=0;function ml(e,t,n,r){if(e===t)return e?[[ln,e]]:[];if(n!=null){var i=w9(e,t,n);if(i)return i}var a=b1(e,t),o=e.substring(0,a);e=e.substring(a),t=t.substring(a),a=_1(e,t);var l=e.substring(e.length-a);e=e.substring(0,e.length-a),t=t.substring(0,t.length-a);var s=y9(e,t);return o&&s.unshift([ln,o]),l&&s.push([ln,l]),sb(s,r),s}function y9(e,t){var n;if(!e)return[[$n,t]];if(!t)return[[ur,e]];var r=e.length>t.length?e:t,i=e.length>t.length?t:e,a=r.indexOf(i);if(a!==-1)return n=[[$n,r.substring(0,a)],[ln,i],[$n,r.substring(a+i.length)]],e.length>t.length&&(n[0][0]=n[2][0]=ur),n;if(i.length===1)return[[ur,e],[$n,t]];var o=_9(e,t);if(o){var l=o[0],s=o[1],u=o[2],f=o[3],c=o[4],d=ml(l,u),h=ml(s,f);return d.concat([[ln,c]],h)}return b9(e,t)}function b9(e,t){for(var n=e.length,r=t.length,i=Math.ceil((n+r)/2),a=i,o=2*i,l=new Array(o),s=new Array(o),u=0;u<o;u++)l[u]=-1,s[u]=-1;l[a+1]=0,s[a+1]=0;for(var f=n-r,c=f%2!==0,d=0,h=0,y=0,g=0,_=0;_<i;_++){for(var m=-_+d;m<=_-h;m+=2){var v=a+m,b;m===-_||m!==_&&l[v-1]<l[v+1]?b=l[v+1]:b=l[v-1]+1;for(var p=b-m;b<n&&p<r&&e.charAt(b)===t.charAt(p);)b++,p++;if(l[v]=b,b>n)h+=2;else if(p>r)d+=2;else if(c){var E=a+f-m;if(E>=0&&E<o&&s[E]!==-1){var k=n-s[E];if(b>=k)return gv(e,t,b,p)}}}for(var T=-_+y;T<=_-g;T+=2){var E=a+T,k;T===-_||T!==_&&s[E-1]<s[E+1]?k=s[E+1]:k=s[E-1]+1;for(var S=k-T;k<n&&S<r&&e.charAt(n-k-1)===t.charAt(r-S-1);)k++,S++;if(s[E]=k,k>n)g+=2;else if(S>r)y+=2;else if(!c){var v=a+f-T;if(v>=0&&v<o&&l[v]!==-1){var b=l[v],p=a+b-v;if(k=n-k,b>=k)return gv(e,t,b,p)}}}}return[[ur,e],[$n,t]]}function gv(e,t,n,r){var i=e.substring(0,n),a=t.substring(0,r),o=e.substring(n),l=t.substring(r),s=ml(i,a),u=ml(o,l);return s.concat(u)}function b1(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;for(var n=0,r=Math.min(e.length,t.length),i=r,a=0;n<i;)e.substring(a,i)==t.substring(a,i)?(n=i,a=n):r=i,i=Math.floor((r-n)/2+n);return ub(e.charCodeAt(i-1))&&i--,i}function _1(e,t){if(!e||!t||e.slice(-1)!==t.slice(-1))return 0;for(var n=0,r=Math.min(e.length,t.length),i=r,a=0;n<i;)e.substring(e.length-i,e.length-a)==t.substring(t.length-i,t.length-a)?(n=i,a=n):r=i,i=Math.floor((r-n)/2+n);return cb(e.charCodeAt(e.length-i))&&i--,i}function _9(e,t){var n=e.length>t.length?e:t,r=e.length>t.length?t:e;if(n.length<4||r.length*2<n.length)return null;function i(h,y,g){for(var _=h.substring(g,g+Math.floor(h.length/4)),m=-1,v="",b,p,E,k;(m=y.indexOf(_,m+1))!==-1;){var T=b1(h.substring(g),y.substring(m)),S=_1(h.substring(0,g),y.substring(0,m));v.length<S+T&&(v=y.substring(m-S,m)+y.substring(m,m+T),b=h.substring(0,g-S),p=h.substring(g+T),E=y.substring(0,m-S),k=y.substring(m+T))}return v.length*2>=h.length?[b,p,E,k,v]:null}var a=i(n,r,Math.ceil(n.length/4)),o=i(n,r,Math.ceil(n.length/2)),l;if(!a&&!o)return null;o?a?l=a[4].length>o[4].length?a:o:l=o:l=a;var s,u,f,c;e.length>t.length?(s=l[0],u=l[1],f=l[2],c=l[3]):(f=l[0],c=l[1],s=l[2],u=l[3]);var d=l[4];return[s,u,f,c,d]}function sb(e,t){e.push([ln,""]);for(var n=0,r=0,i=0,a="",o="",l;n<e.length;){if(n<e.length-1&&!e[n][1]){e.splice(n,1);continue}switch(e[n][0]){case $n:i++,o+=e[n][1],n++;break;case ur:r++,a+=e[n][1],n++;break;case ln:var s=n-i-r-1;if(t){if(s>=0&&db(e[s][1])){var u=e[s][1].slice(-1);if(e[s][1]=e[s][1].slice(0,-1),a=u+a,o=u+o,!e[s][1]){e.splice(s,1),n--;var f=s-1;e[f]&&e[f][0]===$n&&(i++,o=e[f][1]+o,f--),e[f]&&e[f][0]===ur&&(r++,a=e[f][1]+a,f--),s=f}}if(fb(e[n][1])){var u=e[n][1].charAt(0);e[n][1]=e[n][1].slice(1),a+=u,o+=u}}if(n<e.length-1&&!e[n][1]){e.splice(n,1);break}if(a.length>0||o.length>0){a.length>0&&o.length>0&&(l=b1(o,a),l!==0&&(s>=0?e[s][1]+=o.substring(0,l):(e.splice(0,0,[ln,o.substring(0,l)]),n++),o=o.substring(l),a=a.substring(l)),l=_1(o,a),l!==0&&(e[n][1]=o.substring(o.length-l)+e[n][1],o=o.substring(0,o.length-l),a=a.substring(0,a.length-l)));var c=i+r;a.length===0&&o.length===0?(e.splice(n-c,c),n=n-c):a.length===0?(e.splice(n-c,c,[$n,o]),n=n-c+1):o.length===0?(e.splice(n-c,c,[ur,a]),n=n-c+1):(e.splice(n-c,c,[ur,a],[$n,o]),n=n-c+2)}n!==0&&e[n-1][0]===ln?(e[n-1][1]+=e[n][1],e.splice(n,1)):n++,i=0,r=0,a="",o="";break}}e[e.length-1][1]===""&&e.pop();var d=!1;for(n=1;n<e.length-1;)e[n-1][0]===ln&&e[n+1][0]===ln&&(e[n][1].substring(e[n][1].length-e[n-1][1].length)===e[n-1][1]?(e[n][1]=e[n-1][1]+e[n][1].substring(0,e[n][1].length-e[n-1][1].length),e[n+1][1]=e[n-1][1]+e[n+1][1],e.splice(n-1,1),d=!0):e[n][1].substring(0,e[n+1][1].length)==e[n+1][1]&&(e[n-1][1]+=e[n+1][1],e[n][1]=e[n][1].substring(e[n+1][1].length)+e[n+1][1],e.splice(n+1,1),d=!0)),n++;d&&sb(e,t)}function ub(e){return e>=55296&&e<=56319}function cb(e){return e>=56320&&e<=57343}function fb(e){return cb(e.charCodeAt(0))}function db(e){return ub(e.charCodeAt(e.length-1))}function E9(e){for(var t=[],n=0;n<e.length;n++)e[n][1].length>0&&t.push(e[n]);return t}function hf(e,t,n,r){return db(e)||fb(r)?null:E9([[ln,e],[ur,t],[$n,n],[ln,r]])}function w9(e,t,n){var r=typeof n=="number"?{index:n,length:0}:n.oldRange,i=typeof n=="number"?null:n.newRange,a=e.length,o=t.length;if(r.length===0&&(i===null||i.length===0)){var l=r.index,s=e.slice(0,l),u=e.slice(l),f=i?i.index:null;e:{var c=l+o-a;if(f!==null&&f!==c||c<0||c>o)break e;var d=t.slice(0,c),h=t.slice(c);if(h!==u)break e;var y=Math.min(l,c),g=s.slice(0,y),_=d.slice(0,y);if(g!==_)break e;var m=s.slice(y),v=d.slice(y);return hf(g,m,v,u)}e:{if(f!==null&&f!==l)break e;var b=l,d=t.slice(0,b),h=t.slice(b);if(d!==s)break e;var p=Math.min(a-b,o-b),E=u.slice(u.length-p),k=h.slice(h.length-p);if(E!==k)break e;var m=u.slice(0,u.length-p),v=h.slice(0,h.length-p);return hf(s,m,v,E)}}if(r.length>0&&i&&i.length===0)e:{var g=e.slice(0,r.index),E=e.slice(r.index+r.length),y=g.length,p=E.length;if(o<y+p)break e;var _=t.slice(0,y),k=t.slice(o-p);if(g!==_||E!==k)break e;var m=e.slice(y,a-p),v=t.slice(y,o-p);return hf(g,m,v,E)}return null}function gc(e,t,n){return ml(e,t,n,!0)}gc.INSERT=$n;gc.DELETE=ur;gc.EQUAL=ln;var O9=gc,Eu={exports:{}};Eu.exports;(function(e,t){var n=200,r="__lodash_hash_undefined__",i=9007199254740991,a="[object Arguments]",o="[object Array]",l="[object Boolean]",s="[object Date]",u="[object Error]",f="[object Function]",c="[object GeneratorFunction]",d="[object Map]",h="[object Number]",y="[object Object]",g="[object Promise]",_="[object RegExp]",m="[object Set]",v="[object String]",b="[object Symbol]",p="[object WeakMap]",E="[object ArrayBuffer]",k="[object DataView]",T="[object Float32Array]",S="[object Float64Array]",P="[object Int8Array]",N="[object Int16Array]",O="[object Int32Array]",w="[object Uint8Array]",C="[object Uint8ClampedArray]",I="[object Uint16Array]",D="[object Uint32Array]",V=/[\\^$.*+?()[\]{}|]/g,q=/\w*$/,te=/^\[object .+?Constructor\]$/,K=/^(?:0|[1-9]\d*)$/,H={};H[a]=H[o]=H[E]=H[k]=H[l]=H[s]=H[T]=H[S]=H[P]=H[N]=H[O]=H[d]=H[h]=H[y]=H[_]=H[m]=H[v]=H[b]=H[w]=H[C]=H[I]=H[D]=!0,H[u]=H[f]=H[p]=!1;var M=typeof st.commonjsGlobal=="object"&&st.commonjsGlobal&&st.commonjsGlobal.Object===Object&&st.commonjsGlobal,j=typeof self=="object"&&self&&self.Object===Object&&self,z=M||j||Function("return this")(),Q=t&&!t.nodeType&&t,X=Q&&!0&&e&&!e.nodeType&&e,F=X&&X.exports===Q;function J(A,R){return A.set(R[0],R[1]),A}function ae(A,R){return A.add(R),A}function Z(A,R){for(var Y=-1,ue=A?A.length:0;++Y<ue&&R(A[Y],Y,A)!==!1;);return A}function se(A,R){for(var Y=-1,ue=R.length,Ce=A.length;++Y<ue;)A[Ce+Y]=R[Y];return A}function he(A,R,Y,ue){var Ce=-1,Oe=A?A.length:0;for(ue&&Oe&&(Y=A[++Ce]);++Ce<Oe;)Y=R(Y,A[Ce],Ce,A);return Y}function B(A,R){for(var Y=-1,ue=Array(A);++Y<A;)ue[Y]=R(Y);return ue}function L(A,R){return A?.[R]}function x(A){var R=!1;if(A!=null&&typeof A.toString!="function")try{R=!!(A+"")}catch{}return R}function $(A){var R=-1,Y=Array(A.size);return A.forEach(function(ue,Ce){Y[++R]=[Ce,ue]}),Y}function ee(A,R){return function(Y){return A(R(Y))}}function le(A){var R=-1,Y=Array(A.size);return A.forEach(function(ue){Y[++R]=ue}),Y}var U=Array.prototype,W=Function.prototype,re=Object.prototype,ie=z["__core-js_shared__"],oe=function(){var A=/[^.]+$/.exec(ie&&ie.keys&&ie.keys.IE_PROTO||"");return A?"Symbol(src)_1."+A:""}(),ce=W.toString,G=re.hasOwnProperty,ne=re.toString,pe=RegExp("^"+ce.call(G).replace(V,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ge=F?z.Buffer:void 0,ve=z.Symbol,De=z.Uint8Array,Te=ee(Object.getPrototypeOf,Object),it=Object.create,Yn=re.propertyIsEnumerable,On=U.splice,Xn=Object.getOwnPropertySymbols,ct=ge?ge.isBuffer:void 0,xt=ee(Object.keys,Object),ke=Hn(z,"DataView"),Be=Hn(z,"Map"),Ze=Hn(z,"Promise"),Fe=Hn(z,"Set"),kt=Hn(z,"WeakMap"),en=Hn(Object,"create"),Fn=Yt(ke),tn=Yt(Be),Jn=Yt(Ze),Zn=Yt(Fe),vr=Yt(kt),Tn=ve?ve.prototype:void 0,ca=Tn?Tn.valueOf:void 0;function Sn(A){var R=-1,Y=A?A.length:0;for(this.clear();++R<Y;){var ue=A[R];this.set(ue[0],ue[1])}}function Ti(){this.__data__=en?en(null):{}}function Si(A){return this.has(A)&&delete this.__data__[A]}function lo(A){var R=this.__data__;if(en){var Y=R[A];return Y===r?void 0:Y}return G.call(R,A)?R[A]:void 0}function Ai(A){var R=this.__data__;return en?R[A]!==void 0:G.call(R,A)}function Hr(A,R){var Y=this.__data__;return Y[A]=en&&R===void 0?r:R,this}Sn.prototype.clear=Ti,Sn.prototype.delete=Si,Sn.prototype.get=lo,Sn.prototype.has=Ai,Sn.prototype.set=Hr;function ot(A){var R=-1,Y=A?A.length:0;for(this.clear();++R<Y;){var ue=A[R];this.set(ue[0],ue[1])}}function fa(){this.__data__=[]}function da(A){var R=this.__data__,Y=ga(R,A);if(Y<0)return!1;var ue=R.length-1;return Y==ue?R.pop():On.call(R,Y,1),!0}function ha(A){var R=this.__data__,Y=ga(R,A);return Y<0?void 0:R[Y][1]}function so(A){return ga(this.__data__,A)>-1}function pa(A,R){var Y=this.__data__,ue=ga(Y,A);return ue<0?Y.push([A,R]):Y[ue][1]=R,this}ot.prototype.clear=fa,ot.prototype.delete=da,ot.prototype.get=ha,ot.prototype.has=so,ot.prototype.set=pa;function vt(A){var R=-1,Y=A?A.length:0;for(this.clear();++R<Y;){var ue=A[R];this.set(ue[0],ue[1])}}function Ni(){this.__data__={hash:new Sn,map:new(Be||ot),string:new Sn}}function ki(A){return Pi(this,A).delete(A)}function uo(A){return Pi(this,A).get(A)}function ma(A){return Pi(this,A).has(A)}function co(A,R){return Pi(this,A).set(A,R),this}vt.prototype.clear=Ni,vt.prototype.delete=ki,vt.prototype.get=uo,vt.prototype.has=ma,vt.prototype.set=co;function Vt(A){this.__data__=new ot(A)}function yc(){this.__data__=new ot}function bc(A){return this.__data__.delete(A)}function _c(A){return this.__data__.get(A)}function Ec(A){return this.__data__.has(A)}function wc(A,R){var Y=this.__data__;if(Y instanceof ot){var ue=Y.__data__;if(!Be||ue.length<n-1)return ue.push([A,R]),this;Y=this.__data__=new vt(ue)}return Y.set(A,R),this}Vt.prototype.clear=yc,Vt.prototype.delete=bc,Vt.prototype.get=_c,Vt.prototype.has=Ec,Vt.prototype.set=wc;function va(A,R){var Y=mo(A)||ba(A)?B(A.length,String):[],ue=Y.length,Ce=!!ue;for(var Oe in A)(R||G.call(A,Oe))&&!(Ce&&(Oe=="length"||Dc(Oe,ue)))&&Y.push(Oe);return Y}function Fl(A,R,Y){var ue=A[R];(!(G.call(A,R)&&zl(ue,Y))||Y===void 0&&!(R in A))&&(A[R]=Y)}function ga(A,R){for(var Y=A.length;Y--;)if(zl(A[Y][0],R))return Y;return-1}function Qn(A,R){return A&&po(R,go(R),A)}function fo(A,R,Y,ue,Ce,Oe,He){var ze;if(ue&&(ze=Oe?ue(A,Ce,Oe,He):ue(A)),ze!==void 0)return ze;if(!tr(A))return A;var gt=mo(A);if(gt){if(ze=xc(A),!R)return Lc(A,ze)}else{var We=yr(A),Bt=We==f||We==c;if($l(A))return ya(A,R);if(We==y||We==a||Bt&&!Oe){if(x(A))return Oe?A:{};if(ze=er(Bt?{}:A),!R)return Ic(A,Qn(ze,A))}else{if(!H[We])return Oe?A:{};ze=Rc(A,We,fo,R)}}He||(He=new Vt);var nn=He.get(A);if(nn)return nn;if(He.set(A,ze),!gt)var wt=Y?Mc(A):go(A);return Z(wt||A,function(zt,Rt){wt&&(Rt=zt,zt=A[Rt]),Fl(ze,Rt,fo(zt,R,Y,ue,Rt,A,He))}),ze}function Oc(A){return tr(A)?it(A):{}}function Tc(A,R,Y){var ue=R(A);return mo(A)?ue:se(ue,Y(A))}function Sc(A){return ne.call(A)}function Ac(A){if(!tr(A)||Hc(A))return!1;var R=vo(A)||x(A)?pe:te;return R.test(Yt(A))}function Nc(A){if(!Vl(A))return xt(A);var R=[];for(var Y in Object(A))G.call(A,Y)&&Y!="constructor"&&R.push(Y);return R}function ya(A,R){if(R)return A.slice();var Y=new A.constructor(A.length);return A.copy(Y),Y}function ho(A){var R=new A.constructor(A.byteLength);return new De(R).set(new De(A)),R}function Ci(A,R){var Y=R?ho(A.buffer):A.buffer;return new A.constructor(Y,A.byteOffset,A.byteLength)}function Hl(A,R,Y){var ue=R?Y($(A),!0):$(A);return he(ue,J,new A.constructor)}function jl(A){var R=new A.constructor(A.source,q.exec(A));return R.lastIndex=A.lastIndex,R}function kc(A,R,Y){var ue=R?Y(le(A),!0):le(A);return he(ue,ae,new A.constructor)}function Cc(A){return ca?Object(ca.call(A)):{}}function Pc(A,R){var Y=R?ho(A.buffer):A.buffer;return new A.constructor(Y,A.byteOffset,A.length)}function Lc(A,R){var Y=-1,ue=A.length;for(R||(R=Array(ue));++Y<ue;)R[Y]=A[Y];return R}function po(A,R,Y,ue){Y||(Y={});for(var Ce=-1,Oe=R.length;++Ce<Oe;){var He=R[Ce],ze=ue?ue(Y[He],A[He],He,Y,A):void 0;Fl(Y,He,ze===void 0?A[He]:ze)}return Y}function Ic(A,R){return po(A,gr(A),R)}function Mc(A){return Tc(A,go,gr)}function Pi(A,R){var Y=A.__data__;return Fc(R)?Y[typeof R=="string"?"string":"hash"]:Y.map}function Hn(A,R){var Y=L(A,R);return Ac(Y)?Y:void 0}var gr=Xn?ee(Xn,Object):Vc,yr=Sc;(ke&&yr(new ke(new ArrayBuffer(1)))!=k||Be&&yr(new Be)!=d||Ze&&yr(Ze.resolve())!=g||Fe&&yr(new Fe)!=m||kt&&yr(new kt)!=p)&&(yr=function(A){var R=ne.call(A),Y=R==y?A.constructor:void 0,ue=Y?Yt(Y):void 0;if(ue)switch(ue){case Fn:return k;case tn:return d;case Jn:return g;case Zn:return m;case vr:return p}return R});function xc(A){var R=A.length,Y=A.constructor(R);return R&&typeof A[0]=="string"&&G.call(A,"index")&&(Y.index=A.index,Y.input=A.input),Y}function er(A){return typeof A.constructor=="function"&&!Vl(A)?Oc(Te(A)):{}}function Rc(A,R,Y,ue){var Ce=A.constructor;switch(R){case E:return ho(A);case l:case s:return new Ce(+A);case k:return Ci(A,ue);case T:case S:case P:case N:case O:case w:case C:case I:case D:return Pc(A,ue);case d:return Hl(A,ue,Y);case h:case v:return new Ce(A);case _:return jl(A);case m:return kc(A,ue,Y);case b:return Cc(A)}}function Dc(A,R){return R=R??i,!!R&&(typeof A=="number"||K.test(A))&&A>-1&&A%1==0&&A<R}function Fc(A){var R=typeof A;return R=="string"||R=="number"||R=="symbol"||R=="boolean"?A!=="__proto__":A===null}function Hc(A){return!!oe&&oe in A}function Vl(A){var R=A&&A.constructor,Y=typeof R=="function"&&R.prototype||re;return A===Y}function Yt(A){if(A!=null){try{return ce.call(A)}catch{}try{return A+""}catch{}}return""}function Bl(A){return fo(A,!0,!0)}function zl(A,R){return A===R||A!==A&&R!==R}function ba(A){return jc(A)&&G.call(A,"callee")&&(!Yn.call(A,"callee")||ne.call(A)==a)}var mo=Array.isArray;function _a(A){return A!=null&&Ul(A.length)&&!vo(A)}function jc(A){return ql(A)&&_a(A)}var $l=ct||Bc;function vo(A){var R=tr(A)?ne.call(A):"";return R==f||R==c}function Ul(A){return typeof A=="number"&&A>-1&&A%1==0&&A<=i}function tr(A){var R=typeof A;return!!A&&(R=="object"||R=="function")}function ql(A){return!!A&&typeof A=="object"}function go(A){return _a(A)?va(A):Nc(A)}function Vc(){return[]}function Bc(){return!1}e.exports=Bl})(Eu,Eu.exports);var hb=Eu.exports,wu={exports:{}};wu.exports;(function(e,t){var n=200,r="__lodash_hash_undefined__",i=1,a=2,o=9007199254740991,l="[object Arguments]",s="[object Array]",u="[object AsyncFunction]",f="[object Boolean]",c="[object Date]",d="[object Error]",h="[object Function]",y="[object GeneratorFunction]",g="[object Map]",_="[object Number]",m="[object Null]",v="[object Object]",b="[object Promise]",p="[object Proxy]",E="[object RegExp]",k="[object Set]",T="[object String]",S="[object Symbol]",P="[object Undefined]",N="[object WeakMap]",O="[object ArrayBuffer]",w="[object DataView]",C="[object Float32Array]",I="[object Float64Array]",D="[object Int8Array]",V="[object Int16Array]",q="[object Int32Array]",te="[object Uint8Array]",K="[object Uint8ClampedArray]",H="[object Uint16Array]",M="[object Uint32Array]",j=/[\\^$.*+?()[\]{}|]/g,z=/^\[object .+?Constructor\]$/,Q=/^(?:0|[1-9]\d*)$/,X={};X[C]=X[I]=X[D]=X[V]=X[q]=X[te]=X[K]=X[H]=X[M]=!0,X[l]=X[s]=X[O]=X[f]=X[w]=X[c]=X[d]=X[h]=X[g]=X[_]=X[v]=X[E]=X[k]=X[T]=X[N]=!1;var F=typeof st.commonjsGlobal=="object"&&st.commonjsGlobal&&st.commonjsGlobal.Object===Object&&st.commonjsGlobal,J=typeof self=="object"&&self&&self.Object===Object&&self,ae=F||J||Function("return this")(),Z=t&&!t.nodeType&&t,se=Z&&!0&&e&&!e.nodeType&&e,he=se&&se.exports===Z,B=he&&F.process,L=function(){try{return B&&B.binding&&B.binding("util")}catch{}}(),x=L&&L.isTypedArray;function $(A,R){for(var Y=-1,ue=A==null?0:A.length,Ce=0,Oe=[];++Y<ue;){var He=A[Y];R(He,Y,A)&&(Oe[Ce++]=He)}return Oe}function ee(A,R){for(var Y=-1,ue=R.length,Ce=A.length;++Y<ue;)A[Ce+Y]=R[Y];return A}function le(A,R){for(var Y=-1,ue=A==null?0:A.length;++Y<ue;)if(R(A[Y],Y,A))return!0;return!1}function U(A,R){for(var Y=-1,ue=Array(A);++Y<A;)ue[Y]=R(Y);return ue}function W(A){return function(R){return A(R)}}function re(A,R){return A.has(R)}function ie(A,R){return A?.[R]}function oe(A){var R=-1,Y=Array(A.size);return A.forEach(function(ue,Ce){Y[++R]=[Ce,ue]}),Y}function ce(A,R){return function(Y){return A(R(Y))}}function G(A){var R=-1,Y=Array(A.size);return A.forEach(function(ue){Y[++R]=ue}),Y}var ne=Array.prototype,pe=Function.prototype,ge=Object.prototype,ve=ae["__core-js_shared__"],De=pe.toString,Te=ge.hasOwnProperty,it=function(){var A=/[^.]+$/.exec(ve&&ve.keys&&ve.keys.IE_PROTO||"");return A?"Symbol(src)_1."+A:""}(),Yn=ge.toString,On=RegExp("^"+De.call(Te).replace(j,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Xn=he?ae.Buffer:void 0,ct=ae.Symbol,xt=ae.Uint8Array,ke=ge.propertyIsEnumerable,Be=ne.splice,Ze=ct?ct.toStringTag:void 0,Fe=Object.getOwnPropertySymbols,kt=Xn?Xn.isBuffer:void 0,en=ce(Object.keys,Object),Fn=gr(ae,"DataView"),tn=gr(ae,"Map"),Jn=gr(ae,"Promise"),Zn=gr(ae,"Set"),vr=gr(ae,"WeakMap"),Tn=gr(Object,"create"),ca=Yt(Fn),Sn=Yt(tn),Ti=Yt(Jn),Si=Yt(Zn),lo=Yt(vr),Ai=ct?ct.prototype:void 0,Hr=Ai?Ai.valueOf:void 0;function ot(A){var R=-1,Y=A==null?0:A.length;for(this.clear();++R<Y;){var ue=A[R];this.set(ue[0],ue[1])}}function fa(){this.__data__=Tn?Tn(null):{},this.size=0}function da(A){var R=this.has(A)&&delete this.__data__[A];return this.size-=R?1:0,R}function ha(A){var R=this.__data__;if(Tn){var Y=R[A];return Y===r?void 0:Y}return Te.call(R,A)?R[A]:void 0}function so(A){var R=this.__data__;return Tn?R[A]!==void 0:Te.call(R,A)}function pa(A,R){var Y=this.__data__;return this.size+=this.has(A)?0:1,Y[A]=Tn&&R===void 0?r:R,this}ot.prototype.clear=fa,ot.prototype.delete=da,ot.prototype.get=ha,ot.prototype.has=so,ot.prototype.set=pa;function vt(A){var R=-1,Y=A==null?0:A.length;for(this.clear();++R<Y;){var ue=A[R];this.set(ue[0],ue[1])}}function Ni(){this.__data__=[],this.size=0}function ki(A){var R=this.__data__,Y=ya(R,A);if(Y<0)return!1;var ue=R.length-1;return Y==ue?R.pop():Be.call(R,Y,1),--this.size,!0}function uo(A){var R=this.__data__,Y=ya(R,A);return Y<0?void 0:R[Y][1]}function ma(A){return ya(this.__data__,A)>-1}function co(A,R){var Y=this.__data__,ue=ya(Y,A);return ue<0?(++this.size,Y.push([A,R])):Y[ue][1]=R,this}vt.prototype.clear=Ni,vt.prototype.delete=ki,vt.prototype.get=uo,vt.prototype.has=ma,vt.prototype.set=co;function Vt(A){var R=-1,Y=A==null?0:A.length;for(this.clear();++R<Y;){var ue=A[R];this.set(ue[0],ue[1])}}function yc(){this.size=0,this.__data__={hash:new ot,map:new(tn||vt),string:new ot}}function bc(A){var R=Hn(this,A).delete(A);return this.size-=R?1:0,R}function _c(A){return Hn(this,A).get(A)}function Ec(A){return Hn(this,A).has(A)}function wc(A,R){var Y=Hn(this,A),ue=Y.size;return Y.set(A,R),this.size+=Y.size==ue?0:1,this}Vt.prototype.clear=yc,Vt.prototype.delete=bc,Vt.prototype.get=_c,Vt.prototype.has=Ec,Vt.prototype.set=wc;function va(A){var R=-1,Y=A==null?0:A.length;for(this.__data__=new Vt;++R<Y;)this.add(A[R])}function Fl(A){return this.__data__.set(A,r),this}function ga(A){return this.__data__.has(A)}va.prototype.add=va.prototype.push=Fl,va.prototype.has=ga;function Qn(A){var R=this.__data__=new vt(A);this.size=R.size}function fo(){this.__data__=new vt,this.size=0}function Oc(A){var R=this.__data__,Y=R.delete(A);return this.size=R.size,Y}function Tc(A){return this.__data__.get(A)}function Sc(A){return this.__data__.has(A)}function Ac(A,R){var Y=this.__data__;if(Y instanceof vt){var ue=Y.__data__;if(!tn||ue.length<n-1)return ue.push([A,R]),this.size=++Y.size,this;Y=this.__data__=new Vt(ue)}return Y.set(A,R),this.size=Y.size,this}Qn.prototype.clear=fo,Qn.prototype.delete=Oc,Qn.prototype.get=Tc,Qn.prototype.has=Sc,Qn.prototype.set=Ac;function Nc(A,R){var Y=ba(A),ue=!Y&&zl(A),Ce=!Y&&!ue&&_a(A),Oe=!Y&&!ue&&!Ce&&ql(A),He=Y||ue||Ce||Oe,ze=He?U(A.length,String):[],gt=ze.length;for(var We in A)(R||Te.call(A,We))&&!(He&&(We=="length"||Ce&&(We=="offset"||We=="parent")||Oe&&(We=="buffer"||We=="byteLength"||We=="byteOffset")||Rc(We,gt)))&&ze.push(We);return ze}function ya(A,R){for(var Y=A.length;Y--;)if(Bl(A[Y][0],R))return Y;return-1}function ho(A,R,Y){var ue=R(A);return ba(A)?ue:ee(ue,Y(A))}function Ci(A){return A==null?A===void 0?P:m:Ze&&Ze in Object(A)?yr(A):Vl(A)}function Hl(A){return tr(A)&&Ci(A)==l}function jl(A,R,Y,ue,Ce){return A===R?!0:A==null||R==null||!tr(A)&&!tr(R)?A!==A&&R!==R:kc(A,R,Y,ue,jl,Ce)}function kc(A,R,Y,ue,Ce,Oe){var He=ba(A),ze=ba(R),gt=He?s:er(A),We=ze?s:er(R);gt=gt==l?v:gt,We=We==l?v:We;var Bt=gt==v,nn=We==v,wt=gt==We;if(wt&&_a(A)){if(!_a(R))return!1;He=!0,Bt=!1}if(wt&&!Bt)return Oe||(Oe=new Qn),He||ql(A)?po(A,R,Y,ue,Ce,Oe):Ic(A,R,gt,Y,ue,Ce,Oe);if(!(Y&i)){var zt=Bt&&Te.call(A,"__wrapped__"),Rt=nn&&Te.call(R,"__wrapped__");if(zt||Rt){var jr=zt?A.value():A,br=Rt?R.value():R;return Oe||(Oe=new Qn),Ce(jr,br,Y,ue,Oe)}}return wt?(Oe||(Oe=new Qn),Mc(A,R,Y,ue,Ce,Oe)):!1}function Cc(A){if(!Ul(A)||Fc(A))return!1;var R=$l(A)?On:z;return R.test(Yt(A))}function Pc(A){return tr(A)&&vo(A.length)&&!!X[Ci(A)]}function Lc(A){if(!Hc(A))return en(A);var R=[];for(var Y in Object(A))Te.call(A,Y)&&Y!="constructor"&&R.push(Y);return R}function po(A,R,Y,ue,Ce,Oe){var He=Y&i,ze=A.length,gt=R.length;if(ze!=gt&&!(He&&gt>ze))return!1;var We=Oe.get(A);if(We&&Oe.get(R))return We==R;var Bt=-1,nn=!0,wt=Y&a?new va:void 0;for(Oe.set(A,R),Oe.set(R,A);++Bt<ze;){var zt=A[Bt],Rt=R[Bt];if(ue)var jr=He?ue(Rt,zt,Bt,R,A,Oe):ue(zt,Rt,Bt,A,R,Oe);if(jr!==void 0){if(jr)continue;nn=!1;break}if(wt){if(!le(R,function(br,Li){if(!re(wt,Li)&&(zt===br||Ce(zt,br,Y,ue,Oe)))return wt.push(Li)})){nn=!1;break}}else if(!(zt===Rt||Ce(zt,Rt,Y,ue,Oe))){nn=!1;break}}return Oe.delete(A),Oe.delete(R),nn}function Ic(A,R,Y,ue,Ce,Oe,He){switch(Y){case w:if(A.byteLength!=R.byteLength||A.byteOffset!=R.byteOffset)return!1;A=A.buffer,R=R.buffer;case O:return!(A.byteLength!=R.byteLength||!Oe(new xt(A),new xt(R)));case f:case c:case _:return Bl(+A,+R);case d:return A.name==R.name&&A.message==R.message;case E:case T:return A==R+"";case g:var ze=oe;case k:var gt=ue&i;if(ze||(ze=G),A.size!=R.size&&!gt)return!1;var We=He.get(A);if(We)return We==R;ue|=a,He.set(A,R);var Bt=po(ze(A),ze(R),ue,Ce,Oe,He);return He.delete(A),Bt;case S:if(Hr)return Hr.call(A)==Hr.call(R)}return!1}function Mc(A,R,Y,ue,Ce,Oe){var He=Y&i,ze=Pi(A),gt=ze.length,We=Pi(R),Bt=We.length;if(gt!=Bt&&!He)return!1;for(var nn=gt;nn--;){var wt=ze[nn];if(!(He?wt in R:Te.call(R,wt)))return!1}var zt=Oe.get(A);if(zt&&Oe.get(R))return zt==R;var Rt=!0;Oe.set(A,R),Oe.set(R,A);for(var jr=He;++nn<gt;){wt=ze[nn];var br=A[wt],Li=R[wt];if(ue)var O1=He?ue(Li,br,wt,R,A,Oe):ue(br,Li,wt,A,R,Oe);if(!(O1===void 0?br===Li||Ce(br,Li,Y,ue,Oe):O1)){Rt=!1;break}jr||(jr=wt=="constructor")}if(Rt&&!jr){var Kl=A.constructor,Wl=R.constructor;Kl!=Wl&&"constructor"in A&&"constructor"in R&&!(typeof Kl=="function"&&Kl instanceof Kl&&typeof Wl=="function"&&Wl instanceof Wl)&&(Rt=!1)}return Oe.delete(A),Oe.delete(R),Rt}function Pi(A){return ho(A,go,xc)}function Hn(A,R){var Y=A.__data__;return Dc(R)?Y[typeof R=="string"?"string":"hash"]:Y.map}function gr(A,R){var Y=ie(A,R);return Cc(Y)?Y:void 0}function yr(A){var R=Te.call(A,Ze),Y=A[Ze];try{A[Ze]=void 0;var ue=!0}catch{}var Ce=Yn.call(A);return ue&&(R?A[Ze]=Y:delete A[Ze]),Ce}var xc=Fe?function(A){return A==null?[]:(A=Object(A),$(Fe(A),function(R){return ke.call(A,R)}))}:Vc,er=Ci;(Fn&&er(new Fn(new ArrayBuffer(1)))!=w||tn&&er(new tn)!=g||Jn&&er(Jn.resolve())!=b||Zn&&er(new Zn)!=k||vr&&er(new vr)!=N)&&(er=function(A){var R=Ci(A),Y=R==v?A.constructor:void 0,ue=Y?Yt(Y):"";if(ue)switch(ue){case ca:return w;case Sn:return g;case Ti:return b;case Si:return k;case lo:return N}return R});function Rc(A,R){return R=R??o,!!R&&(typeof A=="number"||Q.test(A))&&A>-1&&A%1==0&&A<R}function Dc(A){var R=typeof A;return R=="string"||R=="number"||R=="symbol"||R=="boolean"?A!=="__proto__":A===null}function Fc(A){return!!it&&it in A}function Hc(A){var R=A&&A.constructor,Y=typeof R=="function"&&R.prototype||ge;return A===Y}function Vl(A){return Yn.call(A)}function Yt(A){if(A!=null){try{return De.call(A)}catch{}try{return A+""}catch{}}return""}function Bl(A,R){return A===R||A!==A&&R!==R}var zl=Hl(function(){return arguments}())?Hl:function(A){return tr(A)&&Te.call(A,"callee")&&!ke.call(A,"callee")},ba=Array.isArray;function mo(A){return A!=null&&vo(A.length)&&!$l(A)}var _a=kt||Bc;function jc(A,R){return jl(A,R)}function $l(A){if(!Ul(A))return!1;var R=Ci(A);return R==h||R==y||R==u||R==p}function vo(A){return typeof A=="number"&&A>-1&&A%1==0&&A<=o}function Ul(A){var R=typeof A;return A!=null&&(R=="object"||R=="function")}function tr(A){return A!=null&&typeof A=="object"}var ql=x?W(x):Pc;function go(A){return mo(A)?Nc(A):Lc(A)}function Vc(){return[]}function Bc(){return!1}e.exports=jc})(wu,wu.exports);var pb=wu.exports,E1={},mb=st.commonjsGlobal&&st.commonjsGlobal.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(E1,"__esModule",{value:!0});var T9=mb(hb),S9=mb(pb),Ed;(function(e){function t(a,o,l){a===void 0&&(a={}),o===void 0&&(o={}),typeof a!="object"&&(a={}),typeof o!="object"&&(o={});var s=T9.default(o);l||(s=Object.keys(s).reduce(function(f,c){return s[c]!=null&&(f[c]=s[c]),f},{}));for(var u in a)a[u]!==void 0&&o[u]===void 0&&(s[u]=a[u]);return Object.keys(s).length>0?s:void 0}e.compose=t;function n(a,o){a===void 0&&(a={}),o===void 0&&(o={}),typeof a!="object"&&(a={}),typeof o!="object"&&(o={});var l=Object.keys(a).concat(Object.keys(o)).reduce(function(s,u){return S9.default(a[u],o[u])||(s[u]=o[u]===void 0?null:o[u]),s},{});return Object.keys(l).length>0?l:void 0}e.diff=n;function r(a,o){a===void 0&&(a={}),o===void 0&&(o={}),a=a||{};var l=Object.keys(o).reduce(function(s,u){return o[u]!==a[u]&&a[u]!==void 0&&(s[u]=o[u]),s},{});return Object.keys(a).reduce(function(s,u){return a[u]!==o[u]&&o[u]===void 0&&(s[u]=null),s},l)}e.invert=r;function i(a,o,l){if(l===void 0&&(l=!1),typeof a!="object")return o;if(typeof o=="object"){if(!l)return o;var s=Object.keys(o).reduce(function(u,f){return a[f]===void 0&&(u[f]=o[f]),u},{});return Object.keys(s).length>0?s:void 0}}e.transform=i})(Ed||(Ed={}));E1.default=Ed;var Ss={},As={},yv;function A9(){if(yv)return As;yv=1;var e=st.commonjsGlobal&&st.commonjsGlobal.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(As,"__esModule",{value:!0});var t=e(vb()),n=function(){function r(i){this.ops=i,this.index=0,this.offset=0}return r.prototype.hasNext=function(){return this.peekLength()<1/0},r.prototype.next=function(i){i||(i=1/0);var a=this.ops[this.index];if(a){var o=this.offset,l=t.default.length(a);if(i>=l-o?(i=l-o,this.index+=1,this.offset=0):this.offset+=i,typeof a.delete=="number")return{delete:i};var s={};return a.attributes&&(s.attributes=a.attributes),typeof a.retain=="number"?s.retain=i:typeof a.insert=="string"?s.insert=a.insert.substr(o,i):s.insert=a.insert,s}else return{retain:1/0}},r.prototype.peek=function(){return this.ops[this.index]},r.prototype.peekLength=function(){return this.ops[this.index]?t.default.length(this.ops[this.index])-this.offset:1/0},r.prototype.peekType=function(){return this.ops[this.index]?typeof this.ops[this.index].delete=="number"?"delete":typeof this.ops[this.index].retain=="number"?"retain":"insert":"retain"},r.prototype.rest=function(){if(this.hasNext()){if(this.offset===0)return this.ops.slice(this.index);var i=this.offset,a=this.index,o=this.next(),l=this.ops.slice(this.index);return this.offset=i,this.index=a,[o].concat(l)}else return[]},r}();return As.default=n,As}var bv;function vb(){if(bv)return Ss;bv=1;var e=st.commonjsGlobal&&st.commonjsGlobal.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Ss,"__esModule",{value:!0});var t=e(A9()),n;return function(r){function i(o){return new t.default(o)}r.iterator=i;function a(o){return typeof o.delete=="number"?o.delete:typeof o.retain=="number"?o.retain:typeof o.insert=="string"?o.insert.length:1}r.length=a}(n||(n={})),Ss.default=n,Ss}var Dl=st.commonjsGlobal&&st.commonjsGlobal.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},Ns=Dl(O9),N9=Dl(hb),pf=Dl(pb),So=Dl(E1),Dt=Dl(vb()),k9=String.fromCharCode(0),C9=function(){function e(t){Array.isArray(t)?this.ops=t:t!=null&&Array.isArray(t.ops)?this.ops=t.ops:this.ops=[]}return e.prototype.insert=function(t,n){var r={};return typeof t=="string"&&t.length===0?this:(r.insert=t,n!=null&&typeof n=="object"&&Object.keys(n).length>0&&(r.attributes=n),this.push(r))},e.prototype.delete=function(t){return t<=0?this:this.push({delete:t})},e.prototype.retain=function(t,n){if(t<=0)return this;var r={retain:t};return n!=null&&typeof n=="object"&&Object.keys(n).length>0&&(r.attributes=n),this.push(r)},e.prototype.push=function(t){var n=this.ops.length,r=this.ops[n-1];if(t=N9.default(t),typeof r=="object"){if(typeof t.delete=="number"&&typeof r.delete=="number")return this.ops[n-1]={delete:r.delete+t.delete},this;if(typeof r.delete=="number"&&t.insert!=null&&(n-=1,r=this.ops[n-1],typeof r!="object"))return this.ops.unshift(t),this;if(pf.default(t.attributes,r.attributes)){if(typeof t.insert=="string"&&typeof r.insert=="string")return this.ops[n-1]={insert:r.insert+t.insert},typeof t.attributes=="object"&&(this.ops[n-1].attributes=t.attributes),this;if(typeof t.retain=="number"&&typeof r.retain=="number")return this.ops[n-1]={retain:r.retain+t.retain},typeof t.attributes=="object"&&(this.ops[n-1].attributes=t.attributes),this}}return n===this.ops.length?this.ops.push(t):this.ops.splice(n,0,t),this},e.prototype.chop=function(){var t=this.ops[this.ops.length-1];return t&&t.retain&&!t.attributes&&this.ops.pop(),this},e.prototype.filter=function(t){return this.ops.filter(t)},e.prototype.forEach=function(t){this.ops.forEach(t)},e.prototype.map=function(t){return this.ops.map(t)},e.prototype.partition=function(t){var n=[],r=[];return this.forEach(function(i){var a=t(i)?n:r;a.push(i)}),[n,r]},e.prototype.reduce=function(t,n){return this.ops.reduce(t,n)},e.prototype.changeLength=function(){return this.reduce(function(t,n){return n.insert?t+Dt.default.length(n):n.delete?t-n.delete:t},0)},e.prototype.length=function(){return this.reduce(function(t,n){return t+Dt.default.length(n)},0)},e.prototype.slice=function(t,n){t===void 0&&(t=0),n===void 0&&(n=1/0);for(var r=[],i=Dt.default.iterator(this.ops),a=0;a<n&&i.hasNext();){var o=void 0;a<t?o=i.next(t-a):(o=i.next(n-a),r.push(o)),a+=Dt.default.length(o)}return new e(r)},e.prototype.compose=function(t){var n=Dt.default.iterator(this.ops),r=Dt.default.iterator(t.ops),i=[],a=r.peek();if(a!=null&&typeof a.retain=="number"&&a.attributes==null){for(var o=a.retain;n.peekType()==="insert"&&n.peekLength()<=o;)o-=n.peekLength(),i.push(n.next());a.retain-o>0&&r.next(a.retain-o)}for(var l=new e(i);n.hasNext()||r.hasNext();)if(r.peekType()==="insert")l.push(r.next());else if(n.peekType()==="delete")l.push(n.next());else{var s=Math.min(n.peekLength(),r.peekLength()),u=n.next(s),f=r.next(s);if(typeof f.retain=="number"){var c={};typeof u.retain=="number"?c.retain=s:c.insert=u.insert;var d=So.default.compose(u.attributes,f.attributes,typeof u.retain=="number");if(d&&(c.attributes=d),l.push(c),!r.hasNext()&&pf.default(l.ops[l.ops.length-1],c)){var h=new e(n.rest());return l.concat(h).chop()}}else typeof f.delete=="number"&&typeof u.retain=="number"&&l.push(f)}return l.chop()},e.prototype.concat=function(t){var n=new e(this.ops.slice());return t.ops.length>0&&(n.push(t.ops[0]),n.ops=n.ops.concat(t.ops.slice(1))),n},e.prototype.diff=function(t,n){if(this.ops===t.ops)return new e;var r=[this,t].map(function(s){return s.map(function(u){if(u.insert!=null)return typeof u.insert=="string"?u.insert:k9;var f=s===t?"on":"with";throw new Error("diff() called "+f+" non-document")}).join("")}),i=new e,a=Ns.default(r[0],r[1],n),o=Dt.default.iterator(this.ops),l=Dt.default.iterator(t.ops);return a.forEach(function(s){for(var u=s[1].length;u>0;){var f=0;switch(s[0]){case Ns.default.INSERT:f=Math.min(l.peekLength(),u),i.push(l.next(f));break;case Ns.default.DELETE:f=Math.min(u,o.peekLength()),o.next(f),i.delete(f);break;case Ns.default.EQUAL:f=Math.min(o.peekLength(),l.peekLength(),u);var c=o.next(f),d=l.next(f);pf.default(c.insert,d.insert)?i.retain(f,So.default.diff(c.attributes,d.attributes)):i.push(d).delete(f);break}u-=f}}),i.chop()},e.prototype.eachLine=function(t,n){n===void 0&&(n=`
844
+ `)){var ne=q.offsetHeight+parseFloat(Z(q).marginTop)+parseFloat(Z(q).marginBottom);q.nextElementSibling.offsetTop>q.offsetTop+ne*1.5&&W.insert(`
845
+ `)}return W}function ee(q,W){var ne={},ie=q.style||{};return ie.fontStyle&&Z(q).fontStyle==="italic"&&(ne.italic=!0),ie.fontWeight&&(Z(q).fontWeight.startsWith("bold")||parseInt(Z(q).fontWeight)>=700)&&(ne.bold=!0),Object.keys(ne).length>0&&(W=z(W,ne)),parseFloat(ie.textIndent||0)>0&&(W=new c.default().insert(" ").concat(W)),W}function le(q,W){var ne=q.data;if(q.parentNode.tagName==="O:P")return W.insert(ne.trim());if(ne.trim().length===0&&q.parentNode.classList.contains("ql-clipboard"))return W;if(!Z(q.parentNode).whiteSpace.startsWith("pre")){var ie=function(ce,G){return G=G.replace(/[^\u00a0]/g,""),G.length<1&&ce?" ":G};ne=ne.replace(/\r\n/g," ").replace(/\n/g," "),ne=ne.replace(/\s\s+/g,ie.bind(ie,!0)),(q.previousSibling==null&&F(q.parentNode)||q.previousSibling!=null&&F(q.previousSibling))&&(ne=ne.replace(/^\s+/,ie.bind(ie,!1))),(q.nextSibling==null&&F(q.parentNode)||q.nextSibling!=null&&F(q.nextSibling))&&(ne=ne.replace(/\s+$/,ie.bind(ie,!1)))}return W.insert(ne)}r.default=j,r.matchAttributor=Q,r.matchBlot=se,r.matchNewline=x,r.matchSpacing=$,r.matchText=le},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var a=function(){function y(g,_){for(var m=0;m<_.length;m++){var v=_[m];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(g,v.key,v)}}return function(g,_,m){return _&&y(g.prototype,_),m&&y(g,m),g}}(),o=function y(g,_,m){g===null&&(g=Function.prototype);var v=Object.getOwnPropertyDescriptor(g,_);if(v===void 0){var b=Object.getPrototypeOf(g);return b===null?void 0:y(b,_,m)}else{if("value"in v)return v.value;var p=v.get;return p===void 0?void 0:p.call(m)}},l=i(6),s=u(l);function u(y){return y&&y.__esModule?y:{default:y}}function f(y,g){if(!(y instanceof g))throw new TypeError("Cannot call a class as a function")}function c(y,g){if(!y)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:y}function d(y,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);y.prototype=Object.create(g&&g.prototype,{constructor:{value:y,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(y,g):y.__proto__=g)}var h=function(y){d(g,y);function g(){return f(this,g),c(this,(g.__proto__||Object.getPrototypeOf(g)).apply(this,arguments))}return a(g,[{key:"optimize",value:function(m){o(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"optimize",this).call(this,m),this.domNode.tagName!==this.statics.tagName[0]&&this.replaceWith(this.statics.blotName)}}],[{key:"create",value:function(){return o(g.__proto__||Object.getPrototypeOf(g),"create",this).call(this)}},{key:"formats",value:function(){return!0}}]),g}(s.default);h.blotName="bold",h.tagName=["STRONG","B"],r.default=h},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.addControls=r.default=void 0;var a=function(){function O(w,C){var I=[],D=!0,V=!1,U=void 0;try{for(var te=w[Symbol.iterator](),K;!(D=(K=te.next()).done)&&(I.push(K.value),!(C&&I.length===C));D=!0);}catch(H){V=!0,U=H}finally{try{!D&&te.return&&te.return()}finally{if(V)throw U}}return I}return function(w,C){if(Array.isArray(w))return w;if(Symbol.iterator in Object(w))return O(w,C);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=function(){function O(w,C){for(var I=0;I<C.length;I++){var D=C[I];D.enumerable=D.enumerable||!1,D.configurable=!0,"value"in D&&(D.writable=!0),Object.defineProperty(w,D.key,D)}}return function(w,C,I){return C&&O(w.prototype,C),I&&O(w,I),w}}(),l=i(2),s=m(l),u=i(0),f=m(u),c=i(5),d=m(c),h=i(10),y=m(h),g=i(9),_=m(g);function m(O){return O&&O.__esModule?O:{default:O}}function v(O,w,C){return w in O?Object.defineProperty(O,w,{value:C,enumerable:!0,configurable:!0,writable:!0}):O[w]=C,O}function b(O,w){if(!(O instanceof w))throw new TypeError("Cannot call a class as a function")}function p(O,w){if(!O)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return w&&(typeof w=="object"||typeof w=="function")?w:O}function E(O,w){if(typeof w!="function"&&w!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof w);O.prototype=Object.create(w&&w.prototype,{constructor:{value:O,enumerable:!1,writable:!0,configurable:!0}}),w&&(Object.setPrototypeOf?Object.setPrototypeOf(O,w):O.__proto__=w)}var k=(0,y.default)("quill:toolbar"),T=function(O){E(w,O);function w(C,I){b(this,w);var D=p(this,(w.__proto__||Object.getPrototypeOf(w)).call(this,C,I));if(Array.isArray(D.options.container)){var V=document.createElement("div");P(V,D.options.container),C.container.parentNode.insertBefore(V,C.container),D.container=V}else typeof D.options.container=="string"?D.container=document.querySelector(D.options.container):D.container=D.options.container;if(!(D.container instanceof HTMLElement)){var U;return U=k.error("Container required for toolbar",D.options),p(D,U)}return D.container.classList.add("ql-toolbar"),D.controls=[],D.handlers={},Object.keys(D.options.handlers).forEach(function(te){D.addHandler(te,D.options.handlers[te])}),[].forEach.call(D.container.querySelectorAll("button, select"),function(te){D.attach(te)}),D.quill.on(d.default.events.EDITOR_CHANGE,function(te,K){te===d.default.events.SELECTION_CHANGE&&D.update(K)}),D.quill.on(d.default.events.SCROLL_OPTIMIZE,function(){var te=D.quill.selection.getRange(),K=a(te,1),H=K[0];D.update(H)}),D}return o(w,[{key:"addHandler",value:function(I,D){this.handlers[I]=D}},{key:"attach",value:function(I){var D=this,V=[].find.call(I.classList,function(te){return te.indexOf("ql-")===0});if(V){if(V=V.slice(3),I.tagName==="BUTTON"&&I.setAttribute("type","button"),this.handlers[V]==null){if(this.quill.scroll.whitelist!=null&&this.quill.scroll.whitelist[V]==null){k.warn("ignoring attaching to disabled format",V,I);return}if(f.default.query(V)==null){k.warn("ignoring attaching to nonexistent format",V,I);return}}var U=I.tagName==="SELECT"?"change":"click";I.addEventListener(U,function(te){var K=void 0;if(I.tagName==="SELECT"){if(I.selectedIndex<0)return;var H=I.options[I.selectedIndex];H.hasAttribute("selected")?K=!1:K=H.value||!1}else I.classList.contains("ql-active")?K=!1:K=I.value||!I.hasAttribute("value"),te.preventDefault();D.quill.focus();var M=D.quill.selection.getRange(),j=a(M,1),z=j[0];if(D.handlers[V]!=null)D.handlers[V].call(D,K);else if(f.default.query(V).prototype instanceof f.default.Embed){if(K=prompt("Enter "+V),!K)return;D.quill.updateContents(new s.default().retain(z.index).delete(z.length).insert(v({},V,K)),d.default.sources.USER)}else D.quill.format(V,K,d.default.sources.USER);D.update(z)}),this.controls.push([V,I])}}},{key:"update",value:function(I){var D=I==null?{}:this.quill.getFormat(I);this.controls.forEach(function(V){var U=a(V,2),te=U[0],K=U[1];if(K.tagName==="SELECT"){var H=void 0;if(I==null)H=null;else if(D[te]==null)H=K.querySelector("option[selected]");else if(!Array.isArray(D[te])){var M=D[te];typeof M=="string"&&(M=M.replace(/\"/g,'\\"')),H=K.querySelector('option[value="'+M+'"]')}H==null?(K.value="",K.selectedIndex=-1):H.selected=!0}else if(I==null)K.classList.remove("ql-active");else if(K.hasAttribute("value")){var j=D[te]===K.getAttribute("value")||D[te]!=null&&D[te].toString()===K.getAttribute("value")||D[te]==null&&!K.getAttribute("value");K.classList.toggle("ql-active",j)}else K.classList.toggle("ql-active",D[te]!=null)})}}]),w}(_.default);T.DEFAULTS={};function S(O,w,C){var I=document.createElement("button");I.setAttribute("type","button"),I.classList.add("ql-"+w),C!=null&&(I.value=C),O.appendChild(I)}function P(O,w){Array.isArray(w[0])||(w=[w]),w.forEach(function(C){var I=document.createElement("span");I.classList.add("ql-formats"),C.forEach(function(D){if(typeof D=="string")S(I,D);else{var V=Object.keys(D)[0],U=D[V];Array.isArray(U)?N(I,V,U):S(I,V,U)}}),O.appendChild(I)})}function N(O,w,C){var I=document.createElement("select");I.classList.add("ql-"+w),C.forEach(function(D){var V=document.createElement("option");D!==!1?V.setAttribute("value",D):V.setAttribute("selected","selected"),I.appendChild(V)}),O.appendChild(I)}T.DEFAULTS={container:null,handlers:{clean:function(){var w=this,C=this.quill.getSelection();if(C!=null)if(C.length==0){var I=this.quill.getFormat();Object.keys(I).forEach(function(D){f.default.query(D,f.default.Scope.INLINE)!=null&&w.quill.format(D,!1)})}else this.quill.removeFormat(C,d.default.sources.USER)},direction:function(w){var C=this.quill.getFormat().align;w==="rtl"&&C==null?this.quill.format("align","right",d.default.sources.USER):!w&&C==="right"&&this.quill.format("align",!1,d.default.sources.USER),this.quill.format("direction",w,d.default.sources.USER)},indent:function(w){var C=this.quill.getSelection(),I=this.quill.getFormat(C),D=parseInt(I.indent||0);if(w==="+1"||w==="-1"){var V=w==="+1"?1:-1;I.direction==="rtl"&&(V*=-1),this.quill.format("indent",D+V,d.default.sources.USER)}},link:function(w){w===!0&&(w=prompt("Enter link URL:")),this.quill.format("link",w,d.default.sources.USER)},list:function(w){var C=this.quill.getSelection(),I=this.quill.getFormat(C);w==="check"?I.list==="checked"||I.list==="unchecked"?this.quill.format("list",!1,d.default.sources.USER):this.quill.format("list","unchecked",d.default.sources.USER):this.quill.format("list",w,d.default.sources.USER)}}},r.default=T,r.addControls=P},function(n,r){n.exports='<svg viewbox="0 0 18 18"> <polyline class="ql-even ql-stroke" points="5 7 3 9 5 11"></polyline> <polyline class="ql-even ql-stroke" points="13 7 15 9 13 11"></polyline> <line class=ql-stroke x1=10 x2=8 y1=5 y2=13></line> </svg>'},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var a=function(){function y(g,_){for(var m=0;m<_.length;m++){var v=_[m];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(g,v.key,v)}}return function(g,_,m){return _&&y(g.prototype,_),m&&y(g,m),g}}(),o=function y(g,_,m){g===null&&(g=Function.prototype);var v=Object.getOwnPropertyDescriptor(g,_);if(v===void 0){var b=Object.getPrototypeOf(g);return b===null?void 0:y(b,_,m)}else{if("value"in v)return v.value;var p=v.get;return p===void 0?void 0:p.call(m)}},l=i(28),s=u(l);function u(y){return y&&y.__esModule?y:{default:y}}function f(y,g){if(!(y instanceof g))throw new TypeError("Cannot call a class as a function")}function c(y,g){if(!y)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:y}function d(y,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);y.prototype=Object.create(g&&g.prototype,{constructor:{value:y,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(y,g):y.__proto__=g)}var h=function(y){d(g,y);function g(_,m){f(this,g);var v=c(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,_));return v.label.innerHTML=m,v.container.classList.add("ql-color-picker"),[].slice.call(v.container.querySelectorAll(".ql-picker-item"),0,7).forEach(function(b){b.classList.add("ql-primary")}),v}return a(g,[{key:"buildItem",value:function(m){var v=o(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"buildItem",this).call(this,m);return v.style.backgroundColor=m.getAttribute("value")||"",v}},{key:"selectItem",value:function(m,v){o(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"selectItem",this).call(this,m,v);var b=this.label.querySelector(".ql-color-label"),p=m&&m.getAttribute("data-value")||"";b&&(b.tagName==="line"?b.style.stroke=p:b.style.fill=p)}}]),g}(s.default);r.default=h},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var a=function(){function y(g,_){for(var m=0;m<_.length;m++){var v=_[m];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(g,v.key,v)}}return function(g,_,m){return _&&y(g.prototype,_),m&&y(g,m),g}}(),o=function y(g,_,m){g===null&&(g=Function.prototype);var v=Object.getOwnPropertyDescriptor(g,_);if(v===void 0){var b=Object.getPrototypeOf(g);return b===null?void 0:y(b,_,m)}else{if("value"in v)return v.value;var p=v.get;return p===void 0?void 0:p.call(m)}},l=i(28),s=u(l);function u(y){return y&&y.__esModule?y:{default:y}}function f(y,g){if(!(y instanceof g))throw new TypeError("Cannot call a class as a function")}function c(y,g){if(!y)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:y}function d(y,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);y.prototype=Object.create(g&&g.prototype,{constructor:{value:y,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(y,g):y.__proto__=g)}var h=function(y){d(g,y);function g(_,m){f(this,g);var v=c(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,_));return v.container.classList.add("ql-icon-picker"),[].forEach.call(v.container.querySelectorAll(".ql-picker-item"),function(b){b.innerHTML=m[b.getAttribute("data-value")||""]}),v.defaultItem=v.container.querySelector(".ql-selected"),v.selectItem(v.defaultItem),v}return a(g,[{key:"selectItem",value:function(m,v){o(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"selectItem",this).call(this,m,v),m=m||this.defaultItem,this.label.innerHTML=m.innerHTML}}]),g}(s.default);r.default=h},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var a=function(){function s(u,f){for(var c=0;c<f.length;c++){var d=f[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(u,d.key,d)}}return function(u,f,c){return f&&s(u.prototype,f),c&&s(u,c),u}}();function o(s,u){if(!(s instanceof u))throw new TypeError("Cannot call a class as a function")}var l=function(){function s(u,f){var c=this;o(this,s),this.quill=u,this.boundsContainer=f||document.body,this.root=u.addContainer("ql-tooltip"),this.root.innerHTML=this.constructor.TEMPLATE,this.quill.root===this.quill.scrollingContainer&&this.quill.root.addEventListener("scroll",function(){c.root.style.marginTop=-1*c.quill.root.scrollTop+"px"}),this.hide()}return a(s,[{key:"hide",value:function(){this.root.classList.add("ql-hidden")}},{key:"position",value:function(f){var c=f.left+f.width/2-this.root.offsetWidth/2,d=f.bottom+this.quill.root.scrollTop;this.root.style.left=c+"px",this.root.style.top=d+"px",this.root.classList.remove("ql-flip");var h=this.boundsContainer.getBoundingClientRect(),y=this.root.getBoundingClientRect(),g=0;if(y.right>h.right&&(g=h.right-y.right,this.root.style.left=c+g+"px"),y.left<h.left&&(g=h.left-y.left,this.root.style.left=c+g+"px"),y.bottom>h.bottom){var _=y.bottom-y.top,m=f.bottom-f.top+_;this.root.style.top=d-m+"px",this.root.classList.add("ql-flip")}return g}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),s}();r.default=l},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var a=function(){function N(O,w){var C=[],I=!0,D=!1,V=void 0;try{for(var U=O[Symbol.iterator](),te;!(I=(te=U.next()).done)&&(C.push(te.value),!(w&&C.length===w));I=!0);}catch(K){D=!0,V=K}finally{try{!I&&U.return&&U.return()}finally{if(D)throw V}}return C}return function(O,w){if(Array.isArray(O))return O;if(Symbol.iterator in Object(O))return N(O,w);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=function N(O,w,C){O===null&&(O=Function.prototype);var I=Object.getOwnPropertyDescriptor(O,w);if(I===void 0){var D=Object.getPrototypeOf(O);return D===null?void 0:N(D,w,C)}else{if("value"in I)return I.value;var V=I.get;return V===void 0?void 0:V.call(C)}},l=function(){function N(O,w){for(var C=0;C<w.length;C++){var I=w[C];I.enumerable=I.enumerable||!1,I.configurable=!0,"value"in I&&(I.writable=!0),Object.defineProperty(O,I.key,I)}}return function(O,w,C){return w&&N(O.prototype,w),C&&N(O,C),O}}(),s=i(3),u=b(s),f=i(8),c=b(f),d=i(43),h=b(d),y=i(27),g=b(y),_=i(15),m=i(41),v=b(m);function b(N){return N&&N.__esModule?N:{default:N}}function p(N,O){if(!(N instanceof O))throw new TypeError("Cannot call a class as a function")}function E(N,O){if(!N)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return O&&(typeof O=="object"||typeof O=="function")?O:N}function k(N,O){if(typeof O!="function"&&O!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof O);N.prototype=Object.create(O&&O.prototype,{constructor:{value:N,enumerable:!1,writable:!0,configurable:!0}}),O&&(Object.setPrototypeOf?Object.setPrototypeOf(N,O):N.__proto__=O)}var T=[[{header:["1","2","3",!1]}],["bold","italic","underline","link"],[{list:"ordered"},{list:"bullet"}],["clean"]],S=function(N){k(O,N);function O(w,C){p(this,O),C.modules.toolbar!=null&&C.modules.toolbar.container==null&&(C.modules.toolbar.container=T);var I=E(this,(O.__proto__||Object.getPrototypeOf(O)).call(this,w,C));return I.quill.container.classList.add("ql-snow"),I}return l(O,[{key:"extendToolbar",value:function(C){C.container.classList.add("ql-snow"),this.buildButtons([].slice.call(C.container.querySelectorAll("button")),v.default),this.buildPickers([].slice.call(C.container.querySelectorAll("select")),v.default),this.tooltip=new P(this.quill,this.options.bounds),C.container.querySelector(".ql-link")&&this.quill.keyboard.addBinding({key:"K",shortKey:!0},function(I,D){C.handlers.link.call(C,!D.format.link)})}}]),O}(h.default);S.DEFAULTS=(0,u.default)(!0,{},h.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(O){if(O){var w=this.quill.getSelection();if(w==null||w.length==0)return;var C=this.quill.getText(w);/^\S+@\S+\.\S+$/.test(C)&&C.indexOf("mailto:")!==0&&(C="mailto:"+C);var I=this.quill.theme.tooltip;I.edit("link",C)}else this.quill.format("link",!1)}}}}});var P=function(N){k(O,N);function O(w,C){p(this,O);var I=E(this,(O.__proto__||Object.getPrototypeOf(O)).call(this,w,C));return I.preview=I.root.querySelector("a.ql-preview"),I}return l(O,[{key:"listen",value:function(){var C=this;o(O.prototype.__proto__||Object.getPrototypeOf(O.prototype),"listen",this).call(this),this.root.querySelector("a.ql-action").addEventListener("click",function(I){C.root.classList.contains("ql-editing")?C.save():C.edit("link",C.preview.textContent),I.preventDefault()}),this.root.querySelector("a.ql-remove").addEventListener("click",function(I){if(C.linkRange!=null){var D=C.linkRange;C.restoreFocus(),C.quill.formatText(D,"link",!1,c.default.sources.USER),delete C.linkRange}I.preventDefault(),C.hide()}),this.quill.on(c.default.events.SELECTION_CHANGE,function(I,D,V){if(I!=null){if(I.length===0&&V===c.default.sources.USER){var U=C.quill.scroll.descendant(g.default,I.index),te=a(U,2),K=te[0],H=te[1];if(K!=null){C.linkRange=new _.Range(I.index-H,K.length());var M=g.default.formats(K.domNode);C.preview.textContent=M,C.preview.setAttribute("href",M),C.show(),C.position(C.quill.getBounds(C.linkRange));return}}else delete C.linkRange;C.hide()}})}},{key:"show",value:function(){o(O.prototype.__proto__||Object.getPrototypeOf(O.prototype),"show",this).call(this),this.root.removeAttribute("data-mode")}}]),O}(d.BaseTooltip);P.TEMPLATE=['<a class="ql-preview" rel="noopener noreferrer" target="_blank" href="about:blank"></a>','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-action"></a>','<a class="ql-remove"></a>'].join(""),r.default=S},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var a=i(29),o=oe(a),l=i(36),s=i(38),u=i(64),f=i(65),c=oe(f),d=i(66),h=oe(d),y=i(67),g=oe(y),_=i(37),m=i(26),v=i(39),b=i(40),p=i(56),E=oe(p),k=i(68),T=oe(k),S=i(27),P=oe(S),N=i(69),O=oe(N),w=i(70),C=oe(w),I=i(71),D=oe(I),V=i(72),U=oe(V),te=i(73),K=oe(te),H=i(13),M=oe(H),j=i(74),z=oe(j),Z=i(75),X=oe(Z),F=i(57),J=oe(F),ae=i(41),Q=oe(ae),se=i(28),he=oe(se),B=i(59),L=oe(B),x=i(60),$=oe(x),ee=i(61),le=oe(ee),q=i(108),W=oe(q),ne=i(62),ie=oe(ne);function oe(ce){return ce&&ce.__esModule?ce:{default:ce}}o.default.register({"attributors/attribute/direction":s.DirectionAttribute,"attributors/class/align":l.AlignClass,"attributors/class/background":_.BackgroundClass,"attributors/class/color":m.ColorClass,"attributors/class/direction":s.DirectionClass,"attributors/class/font":v.FontClass,"attributors/class/size":b.SizeClass,"attributors/style/align":l.AlignStyle,"attributors/style/background":_.BackgroundStyle,"attributors/style/color":m.ColorStyle,"attributors/style/direction":s.DirectionStyle,"attributors/style/font":v.FontStyle,"attributors/style/size":b.SizeStyle},!0),o.default.register({"formats/align":l.AlignClass,"formats/direction":s.DirectionClass,"formats/indent":u.IndentClass,"formats/background":_.BackgroundStyle,"formats/color":m.ColorStyle,"formats/font":v.FontClass,"formats/size":b.SizeClass,"formats/blockquote":c.default,"formats/code-block":M.default,"formats/header":h.default,"formats/list":g.default,"formats/bold":E.default,"formats/code":H.Code,"formats/italic":T.default,"formats/link":P.default,"formats/script":O.default,"formats/strike":C.default,"formats/underline":D.default,"formats/image":U.default,"formats/video":K.default,"formats/list/item":y.ListItem,"modules/formula":z.default,"modules/syntax":X.default,"modules/toolbar":J.default,"themes/bubble":W.default,"themes/snow":ie.default,"ui/icons":Q.default,"ui/picker":he.default,"ui/icon-picker":$.default,"ui/color-picker":L.default,"ui/tooltip":le.default},!0),r.default=o.default},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.IndentClass=void 0;var a=function(){function g(_,m){for(var v=0;v<m.length;v++){var b=m[v];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(_,b.key,b)}}return function(_,m,v){return m&&g(_.prototype,m),v&&g(_,v),_}}(),o=function g(_,m,v){_===null&&(_=Function.prototype);var b=Object.getOwnPropertyDescriptor(_,m);if(b===void 0){var p=Object.getPrototypeOf(_);return p===null?void 0:g(p,m,v)}else{if("value"in b)return b.value;var E=b.get;return E===void 0?void 0:E.call(v)}},l=i(0),s=u(l);function u(g){return g&&g.__esModule?g:{default:g}}function f(g,_){if(!(g instanceof _))throw new TypeError("Cannot call a class as a function")}function c(g,_){if(!g)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return _&&(typeof _=="object"||typeof _=="function")?_:g}function d(g,_){if(typeof _!="function"&&_!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof _);g.prototype=Object.create(_&&_.prototype,{constructor:{value:g,enumerable:!1,writable:!0,configurable:!0}}),_&&(Object.setPrototypeOf?Object.setPrototypeOf(g,_):g.__proto__=_)}var h=function(g){d(_,g);function _(){return f(this,_),c(this,(_.__proto__||Object.getPrototypeOf(_)).apply(this,arguments))}return a(_,[{key:"add",value:function(v,b){if(b==="+1"||b==="-1"){var p=this.value(v)||0;b=b==="+1"?p+1:p-1}return b===0?(this.remove(v),!0):o(_.prototype.__proto__||Object.getPrototypeOf(_.prototype),"add",this).call(this,v,b)}},{key:"canAdd",value:function(v,b){return o(_.prototype.__proto__||Object.getPrototypeOf(_.prototype),"canAdd",this).call(this,v,b)||o(_.prototype.__proto__||Object.getPrototypeOf(_.prototype),"canAdd",this).call(this,v,parseInt(b))}},{key:"value",value:function(v){return parseInt(o(_.prototype.__proto__||Object.getPrototypeOf(_.prototype),"value",this).call(this,v))||void 0}}]),_}(s.default.Attributor.Class),y=new h("indent","ql-indent",{scope:s.default.Scope.BLOCK,whitelist:[1,2,3,4,5,6,7,8]});r.IndentClass=y},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var a=i(4),o=l(a);function l(d){return d&&d.__esModule?d:{default:d}}function s(d,h){if(!(d instanceof h))throw new TypeError("Cannot call a class as a function")}function u(d,h){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:d}function f(d,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);d.prototype=Object.create(h&&h.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(d,h):d.__proto__=h)}var c=function(d){f(h,d);function h(){return s(this,h),u(this,(h.__proto__||Object.getPrototypeOf(h)).apply(this,arguments))}return h}(o.default);c.blotName="blockquote",c.tagName="blockquote",r.default=c},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var a=function(){function h(y,g){for(var _=0;_<g.length;_++){var m=g[_];m.enumerable=m.enumerable||!1,m.configurable=!0,"value"in m&&(m.writable=!0),Object.defineProperty(y,m.key,m)}}return function(y,g,_){return g&&h(y.prototype,g),_&&h(y,_),y}}(),o=i(4),l=s(o);function s(h){return h&&h.__esModule?h:{default:h}}function u(h,y){if(!(h instanceof y))throw new TypeError("Cannot call a class as a function")}function f(h,y){if(!h)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return y&&(typeof y=="object"||typeof y=="function")?y:h}function c(h,y){if(typeof y!="function"&&y!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof y);h.prototype=Object.create(y&&y.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}}),y&&(Object.setPrototypeOf?Object.setPrototypeOf(h,y):h.__proto__=y)}var d=function(h){c(y,h);function y(){return u(this,y),f(this,(y.__proto__||Object.getPrototypeOf(y)).apply(this,arguments))}return a(y,null,[{key:"formats",value:function(_){return this.tagName.indexOf(_.tagName)+1}}]),y}(l.default);d.blotName="header",d.tagName=["H1","H2","H3","H4","H5","H6"],r.default=d},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.ListItem=void 0;var a=function(){function p(E,k){for(var T=0;T<k.length;T++){var S=k[T];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(E,S.key,S)}}return function(E,k,T){return k&&p(E.prototype,k),T&&p(E,T),E}}(),o=function p(E,k,T){E===null&&(E=Function.prototype);var S=Object.getOwnPropertyDescriptor(E,k);if(S===void 0){var P=Object.getPrototypeOf(E);return P===null?void 0:p(P,k,T)}else{if("value"in S)return S.value;var N=S.get;return N===void 0?void 0:N.call(T)}},l=i(0),s=h(l),u=i(4),f=h(u),c=i(25),d=h(c);function h(p){return p&&p.__esModule?p:{default:p}}function y(p,E,k){return E in p?Object.defineProperty(p,E,{value:k,enumerable:!0,configurable:!0,writable:!0}):p[E]=k,p}function g(p,E){if(!(p instanceof E))throw new TypeError("Cannot call a class as a function")}function _(p,E){if(!p)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E&&(typeof E=="object"||typeof E=="function")?E:p}function m(p,E){if(typeof E!="function"&&E!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof E);p.prototype=Object.create(E&&E.prototype,{constructor:{value:p,enumerable:!1,writable:!0,configurable:!0}}),E&&(Object.setPrototypeOf?Object.setPrototypeOf(p,E):p.__proto__=E)}var v=function(p){m(E,p);function E(){return g(this,E),_(this,(E.__proto__||Object.getPrototypeOf(E)).apply(this,arguments))}return a(E,[{key:"format",value:function(T,S){T===b.blotName&&!S?this.replaceWith(s.default.create(this.statics.scope)):o(E.prototype.__proto__||Object.getPrototypeOf(E.prototype),"format",this).call(this,T,S)}},{key:"remove",value:function(){this.prev==null&&this.next==null?this.parent.remove():o(E.prototype.__proto__||Object.getPrototypeOf(E.prototype),"remove",this).call(this)}},{key:"replaceWith",value:function(T,S){return this.parent.isolate(this.offset(this.parent),this.length()),T===this.parent.statics.blotName?(this.parent.replaceWith(T,S),this):(this.parent.unwrap(),o(E.prototype.__proto__||Object.getPrototypeOf(E.prototype),"replaceWith",this).call(this,T,S))}}],[{key:"formats",value:function(T){return T.tagName===this.tagName?void 0:o(E.__proto__||Object.getPrototypeOf(E),"formats",this).call(this,T)}}]),E}(f.default);v.blotName="list-item",v.tagName="LI";var b=function(p){m(E,p),a(E,null,[{key:"create",value:function(T){var S=T==="ordered"?"OL":"UL",P=o(E.__proto__||Object.getPrototypeOf(E),"create",this).call(this,S);return(T==="checked"||T==="unchecked")&&P.setAttribute("data-checked",T==="checked"),P}},{key:"formats",value:function(T){if(T.tagName==="OL")return"ordered";if(T.tagName==="UL")return T.hasAttribute("data-checked")?T.getAttribute("data-checked")==="true"?"checked":"unchecked":"bullet"}}]);function E(k){g(this,E);var T=_(this,(E.__proto__||Object.getPrototypeOf(E)).call(this,k)),S=function(N){if(N.target.parentNode===k){var O=T.statics.formats(k),w=s.default.find(N.target);O==="checked"?w.format("list","unchecked"):O==="unchecked"&&w.format("list","checked")}};return k.addEventListener("touchstart",S),k.addEventListener("mousedown",S),T}return a(E,[{key:"format",value:function(T,S){this.children.length>0&&this.children.tail.format(T,S)}},{key:"formats",value:function(){return y({},this.statics.blotName,this.statics.formats(this.domNode))}},{key:"insertBefore",value:function(T,S){if(T instanceof v)o(E.prototype.__proto__||Object.getPrototypeOf(E.prototype),"insertBefore",this).call(this,T,S);else{var P=S==null?this.length():S.offset(this),N=this.split(P);N.parent.insertBefore(T,N)}}},{key:"optimize",value:function(T){o(E.prototype.__proto__||Object.getPrototypeOf(E.prototype),"optimize",this).call(this,T);var S=this.next;S!=null&&S.prev===this&&S.statics.blotName===this.statics.blotName&&S.domNode.tagName===this.domNode.tagName&&S.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(S.moveChildren(this),S.remove())}},{key:"replace",value:function(T){if(T.statics.blotName!==this.statics.blotName){var S=s.default.create(this.statics.defaultChild);T.moveChildren(S),this.appendChild(S)}o(E.prototype.__proto__||Object.getPrototypeOf(E.prototype),"replace",this).call(this,T)}}]),E}(d.default);b.blotName="list",b.scope=s.default.Scope.BLOCK_BLOT,b.tagName=["OL","UL"],b.defaultChild="list-item",b.allowedChildren=[v],r.ListItem=v,r.default=b},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var a=i(56),o=l(a);function l(d){return d&&d.__esModule?d:{default:d}}function s(d,h){if(!(d instanceof h))throw new TypeError("Cannot call a class as a function")}function u(d,h){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:d}function f(d,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);d.prototype=Object.create(h&&h.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(d,h):d.__proto__=h)}var c=function(d){f(h,d);function h(){return s(this,h),u(this,(h.__proto__||Object.getPrototypeOf(h)).apply(this,arguments))}return h}(o.default);c.blotName="italic",c.tagName=["EM","I"],r.default=c},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var a=function(){function y(g,_){for(var m=0;m<_.length;m++){var v=_[m];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(g,v.key,v)}}return function(g,_,m){return _&&y(g.prototype,_),m&&y(g,m),g}}(),o=function y(g,_,m){g===null&&(g=Function.prototype);var v=Object.getOwnPropertyDescriptor(g,_);if(v===void 0){var b=Object.getPrototypeOf(g);return b===null?void 0:y(b,_,m)}else{if("value"in v)return v.value;var p=v.get;return p===void 0?void 0:p.call(m)}},l=i(6),s=u(l);function u(y){return y&&y.__esModule?y:{default:y}}function f(y,g){if(!(y instanceof g))throw new TypeError("Cannot call a class as a function")}function c(y,g){if(!y)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:y}function d(y,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);y.prototype=Object.create(g&&g.prototype,{constructor:{value:y,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(y,g):y.__proto__=g)}var h=function(y){d(g,y);function g(){return f(this,g),c(this,(g.__proto__||Object.getPrototypeOf(g)).apply(this,arguments))}return a(g,null,[{key:"create",value:function(m){return m==="super"?document.createElement("sup"):m==="sub"?document.createElement("sub"):o(g.__proto__||Object.getPrototypeOf(g),"create",this).call(this,m)}},{key:"formats",value:function(m){if(m.tagName==="SUB")return"sub";if(m.tagName==="SUP")return"super"}}]),g}(s.default);h.blotName="script",h.tagName=["SUB","SUP"],r.default=h},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var a=i(6),o=l(a);function l(d){return d&&d.__esModule?d:{default:d}}function s(d,h){if(!(d instanceof h))throw new TypeError("Cannot call a class as a function")}function u(d,h){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:d}function f(d,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);d.prototype=Object.create(h&&h.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(d,h):d.__proto__=h)}var c=function(d){f(h,d);function h(){return s(this,h),u(this,(h.__proto__||Object.getPrototypeOf(h)).apply(this,arguments))}return h}(o.default);c.blotName="strike",c.tagName="S",r.default=c},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var a=i(6),o=l(a);function l(d){return d&&d.__esModule?d:{default:d}}function s(d,h){if(!(d instanceof h))throw new TypeError("Cannot call a class as a function")}function u(d,h){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:d}function f(d,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);d.prototype=Object.create(h&&h.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(d,h):d.__proto__=h)}var c=function(d){f(h,d);function h(){return s(this,h),u(this,(h.__proto__||Object.getPrototypeOf(h)).apply(this,arguments))}return h}(o.default);c.blotName="underline",c.tagName="U",r.default=c},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var a=function(){function _(m,v){for(var b=0;b<v.length;b++){var p=v[b];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(m,p.key,p)}}return function(m,v,b){return v&&_(m.prototype,v),b&&_(m,b),m}}(),o=function _(m,v,b){m===null&&(m=Function.prototype);var p=Object.getOwnPropertyDescriptor(m,v);if(p===void 0){var E=Object.getPrototypeOf(m);return E===null?void 0:_(E,v,b)}else{if("value"in p)return p.value;var k=p.get;return k===void 0?void 0:k.call(b)}},l=i(0),s=f(l),u=i(27);function f(_){return _&&_.__esModule?_:{default:_}}function c(_,m){if(!(_ instanceof m))throw new TypeError("Cannot call a class as a function")}function d(_,m){if(!_)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:_}function h(_,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);_.prototype=Object.create(m&&m.prototype,{constructor:{value:_,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(_,m):_.__proto__=m)}var y=["alt","height","width"],g=function(_){h(m,_);function m(){return c(this,m),d(this,(m.__proto__||Object.getPrototypeOf(m)).apply(this,arguments))}return a(m,[{key:"format",value:function(b,p){y.indexOf(b)>-1?p?this.domNode.setAttribute(b,p):this.domNode.removeAttribute(b):o(m.prototype.__proto__||Object.getPrototypeOf(m.prototype),"format",this).call(this,b,p)}}],[{key:"create",value:function(b){var p=o(m.__proto__||Object.getPrototypeOf(m),"create",this).call(this,b);return typeof b=="string"&&p.setAttribute("src",this.sanitize(b)),p}},{key:"formats",value:function(b){return y.reduce(function(p,E){return b.hasAttribute(E)&&(p[E]=b.getAttribute(E)),p},{})}},{key:"match",value:function(b){return/\.(jpe?g|gif|png)$/.test(b)||/^data:image\/.+;base64/.test(b)}},{key:"sanitize",value:function(b){return(0,u.sanitize)(b,["http","https","data"])?b:"//:0"}},{key:"value",value:function(b){return b.getAttribute("src")}}]),m}(s.default.Embed);g.blotName="image",g.tagName="IMG",r.default=g},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var a=function(){function _(m,v){for(var b=0;b<v.length;b++){var p=v[b];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(m,p.key,p)}}return function(m,v,b){return v&&_(m.prototype,v),b&&_(m,b),m}}(),o=function _(m,v,b){m===null&&(m=Function.prototype);var p=Object.getOwnPropertyDescriptor(m,v);if(p===void 0){var E=Object.getPrototypeOf(m);return E===null?void 0:_(E,v,b)}else{if("value"in p)return p.value;var k=p.get;return k===void 0?void 0:k.call(b)}},l=i(4),s=i(27),u=f(s);function f(_){return _&&_.__esModule?_:{default:_}}function c(_,m){if(!(_ instanceof m))throw new TypeError("Cannot call a class as a function")}function d(_,m){if(!_)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m&&(typeof m=="object"||typeof m=="function")?m:_}function h(_,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof m);_.prototype=Object.create(m&&m.prototype,{constructor:{value:_,enumerable:!1,writable:!0,configurable:!0}}),m&&(Object.setPrototypeOf?Object.setPrototypeOf(_,m):_.__proto__=m)}var y=["height","width"],g=function(_){h(m,_);function m(){return c(this,m),d(this,(m.__proto__||Object.getPrototypeOf(m)).apply(this,arguments))}return a(m,[{key:"format",value:function(b,p){y.indexOf(b)>-1?p?this.domNode.setAttribute(b,p):this.domNode.removeAttribute(b):o(m.prototype.__proto__||Object.getPrototypeOf(m.prototype),"format",this).call(this,b,p)}}],[{key:"create",value:function(b){var p=o(m.__proto__||Object.getPrototypeOf(m),"create",this).call(this,b);return p.setAttribute("frameborder","0"),p.setAttribute("allowfullscreen",!0),p.setAttribute("src",this.sanitize(b)),p}},{key:"formats",value:function(b){return y.reduce(function(p,E){return b.hasAttribute(E)&&(p[E]=b.getAttribute(E)),p},{})}},{key:"sanitize",value:function(b){return u.default.sanitize(b)}},{key:"value",value:function(b){return b.getAttribute("src")}}]),m}(l.BlockEmbed);g.blotName="video",g.className="ql-video",g.tagName="IFRAME",r.default=g},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.FormulaBlot=void 0;var a=function(){function b(p,E){for(var k=0;k<E.length;k++){var T=E[k];T.enumerable=T.enumerable||!1,T.configurable=!0,"value"in T&&(T.writable=!0),Object.defineProperty(p,T.key,T)}}return function(p,E,k){return E&&b(p.prototype,E),k&&b(p,k),p}}(),o=function b(p,E,k){p===null&&(p=Function.prototype);var T=Object.getOwnPropertyDescriptor(p,E);if(T===void 0){var S=Object.getPrototypeOf(p);return S===null?void 0:b(S,E,k)}else{if("value"in T)return T.value;var P=T.get;return P===void 0?void 0:P.call(k)}},l=i(35),s=h(l),u=i(5),f=h(u),c=i(9),d=h(c);function h(b){return b&&b.__esModule?b:{default:b}}function y(b,p){if(!(b instanceof p))throw new TypeError("Cannot call a class as a function")}function g(b,p){if(!b)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:b}function _(b,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);b.prototype=Object.create(p&&p.prototype,{constructor:{value:b,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(b,p):b.__proto__=p)}var m=function(b){_(p,b);function p(){return y(this,p),g(this,(p.__proto__||Object.getPrototypeOf(p)).apply(this,arguments))}return a(p,null,[{key:"create",value:function(k){var T=o(p.__proto__||Object.getPrototypeOf(p),"create",this).call(this,k);return typeof k=="string"&&(window.katex.render(k,T,{throwOnError:!1,errorColor:"#f00"}),T.setAttribute("data-value",k)),T}},{key:"value",value:function(k){return k.getAttribute("data-value")}}]),p}(s.default);m.blotName="formula",m.className="ql-formula",m.tagName="SPAN";var v=function(b){_(p,b),a(p,null,[{key:"register",value:function(){f.default.register(m,!0)}}]);function p(){y(this,p);var E=g(this,(p.__proto__||Object.getPrototypeOf(p)).call(this));if(window.katex==null)throw new Error("Formula module requires KaTeX.");return E}return p}(d.default);r.FormulaBlot=m,r.default=v},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.CodeToken=r.CodeBlock=void 0;var a=function(){function k(T,S){for(var P=0;P<S.length;P++){var N=S[P];N.enumerable=N.enumerable||!1,N.configurable=!0,"value"in N&&(N.writable=!0),Object.defineProperty(T,N.key,N)}}return function(T,S,P){return S&&k(T.prototype,S),P&&k(T,P),T}}(),o=function k(T,S,P){T===null&&(T=Function.prototype);var N=Object.getOwnPropertyDescriptor(T,S);if(N===void 0){var O=Object.getPrototypeOf(T);return O===null?void 0:k(O,S,P)}else{if("value"in N)return N.value;var w=N.get;return w===void 0?void 0:w.call(P)}},l=i(0),s=g(l),u=i(5),f=g(u),c=i(9),d=g(c),h=i(13),y=g(h);function g(k){return k&&k.__esModule?k:{default:k}}function _(k,T){if(!(k instanceof T))throw new TypeError("Cannot call a class as a function")}function m(k,T){if(!k)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return T&&(typeof T=="object"||typeof T=="function")?T:k}function v(k,T){if(typeof T!="function"&&T!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof T);k.prototype=Object.create(T&&T.prototype,{constructor:{value:k,enumerable:!1,writable:!0,configurable:!0}}),T&&(Object.setPrototypeOf?Object.setPrototypeOf(k,T):k.__proto__=T)}var b=function(k){v(T,k);function T(){return _(this,T),m(this,(T.__proto__||Object.getPrototypeOf(T)).apply(this,arguments))}return a(T,[{key:"replaceWith",value:function(P){this.domNode.textContent=this.domNode.textContent,this.attach(),o(T.prototype.__proto__||Object.getPrototypeOf(T.prototype),"replaceWith",this).call(this,P)}},{key:"highlight",value:function(P){var N=this.domNode.textContent;this.cachedText!==N&&((N.trim().length>0||this.cachedText==null)&&(this.domNode.innerHTML=P(N),this.domNode.normalize(),this.attach()),this.cachedText=N)}}]),T}(y.default);b.className="ql-syntax";var p=new s.default.Attributor.Class("token","hljs",{scope:s.default.Scope.INLINE}),E=function(k){v(T,k),a(T,null,[{key:"register",value:function(){f.default.register(p,!0),f.default.register(b,!0)}}]);function T(S,P){_(this,T);var N=m(this,(T.__proto__||Object.getPrototypeOf(T)).call(this,S,P));if(typeof N.options.highlight!="function")throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");var O=null;return N.quill.on(f.default.events.SCROLL_OPTIMIZE,function(){clearTimeout(O),O=setTimeout(function(){N.highlight(),O=null},N.options.interval)}),N.highlight(),N}return a(T,[{key:"highlight",value:function(){var P=this;if(!this.quill.selection.composing){this.quill.update(f.default.sources.USER);var N=this.quill.getSelection();this.quill.scroll.descendants(b).forEach(function(O){O.highlight(P.options.highlight)}),this.quill.update(f.default.sources.SILENT),N!=null&&this.quill.setSelection(N,f.default.sources.SILENT)}}}]),T}(d.default);E.DEFAULTS={highlight:function(){return window.hljs==null?null:function(k){var T=window.hljs.highlightAuto(k);return T.value}}(),interval:1e3},r.CodeBlock=b,r.CodeToken=p,r.default=E},function(n,r){n.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=13 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=9 y1=4 y2=4></line> </svg>'},function(n,r){n.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=14 x2=4 y1=14 y2=14></line> <line class=ql-stroke x1=12 x2=6 y1=4 y2=4></line> </svg>'},function(n,r){n.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=5 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=9 y1=4 y2=4></line> </svg>'},function(n,r){n.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=3 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=3 y1=4 y2=4></line> </svg>'},function(n,r){n.exports='<svg viewbox="0 0 18 18"> <g class="ql-fill ql-color-label"> <polygon points="6 6.868 6 6 5 6 5 7 5.942 7 6 6.868"></polygon> <rect height=1 width=1 x=4 y=4></rect> <polygon points="6.817 5 6 5 6 6 6.38 6 6.817 5"></polygon> <rect height=1 width=1 x=2 y=6></rect> <rect height=1 width=1 x=3 y=5></rect> <rect height=1 width=1 x=4 y=7></rect> <polygon points="4 11.439 4 11 3 11 3 12 3.755 12 4 11.439"></polygon> <rect height=1 width=1 x=2 y=12></rect> <rect height=1 width=1 x=2 y=9></rect> <rect height=1 width=1 x=2 y=15></rect> <polygon points="4.63 10 4 10 4 11 4.192 11 4.63 10"></polygon> <rect height=1 width=1 x=3 y=8></rect> <path d=M10.832,4.2L11,4.582V4H10.708A1.948,1.948,0,0,1,10.832,4.2Z></path> <path d=M7,4.582L7.168,4.2A1.929,1.929,0,0,1,7.292,4H7V4.582Z></path> <path d=M8,13H7.683l-0.351.8a1.933,1.933,0,0,1-.124.2H8V13Z></path> <rect height=1 width=1 x=12 y=2></rect> <rect height=1 width=1 x=11 y=3></rect> <path d=M9,3H8V3.282A1.985,1.985,0,0,1,9,3Z></path> <rect height=1 width=1 x=2 y=3></rect> <rect height=1 width=1 x=6 y=2></rect> <rect height=1 width=1 x=3 y=2></rect> <rect height=1 width=1 x=5 y=3></rect> <rect height=1 width=1 x=9 y=2></rect> <rect height=1 width=1 x=15 y=14></rect> <polygon points="13.447 10.174 13.469 10.225 13.472 10.232 13.808 11 14 11 14 10 13.37 10 13.447 10.174"></polygon> <rect height=1 width=1 x=13 y=7></rect> <rect height=1 width=1 x=15 y=5></rect> <rect height=1 width=1 x=14 y=6></rect> <rect height=1 width=1 x=15 y=8></rect> <rect height=1 width=1 x=14 y=9></rect> <path d=M3.775,14H3v1H4V14.314A1.97,1.97,0,0,1,3.775,14Z></path> <rect height=1 width=1 x=14 y=3></rect> <polygon points="12 6.868 12 6 11.62 6 12 6.868"></polygon> <rect height=1 width=1 x=15 y=2></rect> <rect height=1 width=1 x=12 y=5></rect> <rect height=1 width=1 x=13 y=4></rect> <polygon points="12.933 9 13 9 13 8 12.495 8 12.933 9"></polygon> <rect height=1 width=1 x=9 y=14></rect> <rect height=1 width=1 x=8 y=15></rect> <path d=M6,14.926V15H7V14.316A1.993,1.993,0,0,1,6,14.926Z></path> <rect height=1 width=1 x=5 y=15></rect> <path d=M10.668,13.8L10.317,13H10v1h0.792A1.947,1.947,0,0,1,10.668,13.8Z></path> <rect height=1 width=1 x=11 y=15></rect> <path d=M14.332,12.2a1.99,1.99,0,0,1,.166.8H15V12H14.245Z></path> <rect height=1 width=1 x=14 y=15></rect> <rect height=1 width=1 x=15 y=11></rect> </g> <polyline class=ql-stroke points="5.5 13 9 5 12.5 13"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=11 y2=11></line> </svg>'},function(n,r){n.exports='<svg viewbox="0 0 18 18"> <rect class="ql-fill ql-stroke" height=3 width=3 x=4 y=5></rect> <rect class="ql-fill ql-stroke" height=3 width=3 x=11 y=5></rect> <path class="ql-even ql-fill ql-stroke" d=M7,8c0,4.031-3,5-3,5></path> <path class="ql-even ql-fill ql-stroke" d=M14,8c0,4.031-3,5-3,5></path> </svg>'},function(n,r){n.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,4H9.5A2.5,2.5,0,0,1,12,6.5v0A2.5,2.5,0,0,1,9.5,9H5A0,0,0,0,1,5,9V4A0,0,0,0,1,5,4Z></path> <path class=ql-stroke d=M5,9h5.5A2.5,2.5,0,0,1,13,11.5v0A2.5,2.5,0,0,1,10.5,14H5a0,0,0,0,1,0,0V9A0,0,0,0,1,5,9Z></path> </svg>'},function(n,r){n.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=5 x2=13 y1=3 y2=3></line> <line class=ql-stroke x1=6 x2=9.35 y1=12 y2=3></line> <line class=ql-stroke x1=11 x2=15 y1=11 y2=15></line> <line class=ql-stroke x1=15 x2=11 y1=11 y2=15></line> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=7 x=2 y=14></rect> </svg>'},function(n,r){n.exports='<svg viewbox="0 0 18 18"> <line class="ql-color-label ql-stroke ql-transparent" x1=3 x2=15 y1=15 y2=15></line> <polyline class=ql-stroke points="5.5 11 9 3 12.5 11"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=9 y2=9></line> </svg>'},function(n,r){n.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="3 11 5 9 3 7 3 11"></polygon> <line class="ql-stroke ql-fill" x1=15 x2=11 y1=4 y2=4></line> <path class=ql-fill d=M11,3a3,3,0,0,0,0,6h1V3H11Z></path> <rect class=ql-fill height=11 width=1 x=11 y=4></rect> <rect class=ql-fill height=11 width=1 x=13 y=4></rect> </svg>'},function(n,r){n.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="15 12 13 10 15 8 15 12"></polygon> <line class="ql-stroke ql-fill" x1=9 x2=5 y1=4 y2=4></line> <path class=ql-fill d=M5,3A3,3,0,0,0,5,9H6V3H5Z></path> <rect class=ql-fill height=11 width=1 x=5 y=4></rect> <rect class=ql-fill height=11 width=1 x=7 y=4></rect> </svg>'},function(n,r){n.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M14,16H4a1,1,0,0,1,0-2H14A1,1,0,0,1,14,16Z /> <path class=ql-fill d=M14,4H4A1,1,0,0,1,4,2H14A1,1,0,0,1,14,4Z /> <rect class=ql-fill x=3 y=6 width=12 height=6 rx=1 ry=1 /> </svg>'},function(n,r){n.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M13,16H5a1,1,0,0,1,0-2h8A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H5A1,1,0,0,1,5,2h8A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=2 y=6 width=14 height=6 rx=1 ry=1 /> </svg>'},function(n,r){n.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15,8H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,8Z /> <path class=ql-fill d=M15,12H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,12Z /> <path class=ql-fill d=M15,16H5a1,1,0,0,1,0-2H15A1,1,0,0,1,15,16Z /> <path class=ql-fill d=M15,4H5A1,1,0,0,1,5,2H15A1,1,0,0,1,15,4Z /> <rect class=ql-fill x=2 y=6 width=8 height=6 rx=1 ry=1 /> </svg>'},function(n,r){n.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M5,8H3A1,1,0,0,1,3,6H5A1,1,0,0,1,5,8Z /> <path class=ql-fill d=M5,12H3a1,1,0,0,1,0-2H5A1,1,0,0,1,5,12Z /> <path class=ql-fill d=M13,16H3a1,1,0,0,1,0-2H13A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H3A1,1,0,0,1,3,2H13A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=8 y=6 width=8 height=6 rx=1 ry=1 transform="translate(24 18) rotate(-180)"/> </svg>'},function(n,r){n.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M11.759,2.482a2.561,2.561,0,0,0-3.53.607A7.656,7.656,0,0,0,6.8,6.2C6.109,9.188,5.275,14.677,4.15,14.927a1.545,1.545,0,0,0-1.3-.933A0.922,0.922,0,0,0,2,15.036S1.954,16,4.119,16s3.091-2.691,3.7-5.553c0.177-.826.36-1.726,0.554-2.6L8.775,6.2c0.381-1.421.807-2.521,1.306-2.676a1.014,1.014,0,0,0,1.02.56A0.966,0.966,0,0,0,11.759,2.482Z></path> <rect class=ql-fill height=1.6 rx=0.8 ry=0.8 width=5 x=5.15 y=6.2></rect> <path class=ql-fill d=M13.663,12.027a1.662,1.662,0,0,1,.266-0.276q0.193,0.069.456,0.138a2.1,2.1,0,0,0,.535.069,1.075,1.075,0,0,0,.767-0.3,1.044,1.044,0,0,0,.314-0.8,0.84,0.84,0,0,0-.238-0.619,0.8,0.8,0,0,0-.594-0.239,1.154,1.154,0,0,0-.781.3,4.607,4.607,0,0,0-.781,1q-0.091.15-.218,0.346l-0.246.38c-0.068-.288-0.137-0.582-0.212-0.885-0.459-1.847-2.494-.984-2.941-0.8-0.482.2-.353,0.647-0.094,0.529a0.869,0.869,0,0,1,1.281.585c0.217,0.751.377,1.436,0.527,2.038a5.688,5.688,0,0,1-.362.467,2.69,2.69,0,0,1-.264.271q-0.221-.08-0.471-0.147a2.029,2.029,0,0,0-.522-0.066,1.079,1.079,0,0,0-.768.3A1.058,1.058,0,0,0,9,15.131a0.82,0.82,0,0,0,.832.852,1.134,1.134,0,0,0,.787-0.3,5.11,5.11,0,0,0,.776-0.993q0.141-.219.215-0.34c0.046-.076.122-0.194,0.223-0.346a2.786,2.786,0,0,0,.918,1.726,2.582,2.582,0,0,0,2.376-.185c0.317-.181.212-0.565,0-0.494A0.807,0.807,0,0,1,14.176,15a5.159,5.159,0,0,1-.913-2.446l0,0Q13.487,12.24,13.663,12.027Z></path> </svg>'},function(n,r){n.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm6.06787,9.209H14.98975V7.59863a.54085.54085,0,0,0-.605-.60547h-.62744a1.01119,1.01119,0,0,0-.748.29688L11.645,8.56641a.5435.5435,0,0,0-.022.8584l.28613.30762a.53861.53861,0,0,0,.84717.0332l.09912-.08789a1.2137,1.2137,0,0,0,.2417-.35254h.02246s-.01123.30859-.01123.60547V13.209H12.041a.54085.54085,0,0,0-.605.60547v.43945a.54085.54085,0,0,0,.605.60547h4.02686a.54085.54085,0,0,0,.605-.60547v-.43945A.54085.54085,0,0,0,16.06787,13.209Z /> </svg>'},function(n,r){n.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M16.73975,13.81445v.43945a.54085.54085,0,0,1-.605.60547H11.855a.58392.58392,0,0,1-.64893-.60547V14.0127c0-2.90527,3.39941-3.42187,3.39941-4.55469a.77675.77675,0,0,0-.84717-.78125,1.17684,1.17684,0,0,0-.83594.38477c-.2749.26367-.561.374-.85791.13184l-.4292-.34082c-.30811-.24219-.38525-.51758-.1543-.81445a2.97155,2.97155,0,0,1,2.45361-1.17676,2.45393,2.45393,0,0,1,2.68408,2.40918c0,2.45312-3.1792,2.92676-3.27832,3.93848h2.79443A.54085.54085,0,0,1,16.73975,13.81445ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z /> </svg>'},function(n,r){n.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=13 y1=4 y2=4></line> <line class=ql-stroke x1=5 x2=11 y1=14 y2=14></line> <line class=ql-stroke x1=8 x2=10 y1=14 y2=4></line> </svg>'},function(n,r){n.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=10 width=12 x=3 y=4></rect> <circle class=ql-fill cx=6 cy=7 r=1></circle> <polyline class="ql-even ql-fill" points="5 12 5 11 7 9 8 10 11 7 13 9 13 12 5 12"></polyline> </svg>'},function(n,r){n.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class="ql-fill ql-stroke" points="3 7 3 11 5 9 3 7"></polyline> </svg>'},function(n,r){n.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="5 7 5 11 3 9 5 7"></polyline> </svg>'},function(n,r){n.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=11 y1=7 y2=11></line> <path class="ql-even ql-stroke" d=M8.9,4.577a3.476,3.476,0,0,1,.36,4.679A3.476,3.476,0,0,1,4.577,8.9C3.185,7.5,2.035,6.4,4.217,4.217S7.5,3.185,8.9,4.577Z></path> <path class="ql-even ql-stroke" d=M13.423,9.1a3.476,3.476,0,0,0-4.679-.36,3.476,3.476,0,0,0,.36,4.679c1.392,1.392,2.5,2.542,4.679.36S14.815,10.5,13.423,9.1Z></path> </svg>'},function(n,r){n.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=7 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=7 x2=15 y1=14 y2=14></line> <line class="ql-stroke ql-thin" x1=2.5 x2=4.5 y1=5.5 y2=5.5></line> <path class=ql-fill d=M3.5,6A0.5,0.5,0,0,1,3,5.5V3.085l-0.276.138A0.5,0.5,0,0,1,2.053,3c-0.124-.247-0.023-0.324.224-0.447l1-.5A0.5,0.5,0,0,1,4,2.5v3A0.5,0.5,0,0,1,3.5,6Z></path> <path class="ql-stroke ql-thin" d=M4.5,10.5h-2c0-.234,1.85-1.076,1.85-2.234A0.959,0.959,0,0,0,2.5,8.156></path> <path class="ql-stroke ql-thin" d=M2.5,14.846a0.959,0.959,0,0,0,1.85-.109A0.7,0.7,0,0,0,3.75,14a0.688,0.688,0,0,0,.6-0.736,0.959,0.959,0,0,0-1.85-.109></path> </svg>'},function(n,r){n.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=6 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=6 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=6 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=3 y1=4 y2=4></line> <line class=ql-stroke x1=3 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=3 y1=14 y2=14></line> </svg>'},function(n,r){n.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=9 x2=15 y1=4 y2=4></line> <polyline class=ql-stroke points="3 4 4 5 6 3"></polyline> <line class=ql-stroke x1=9 x2=15 y1=14 y2=14></line> <polyline class=ql-stroke points="3 14 4 15 6 13"></polyline> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="3 9 4 10 6 8"></polyline> </svg>'},function(n,r){n.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,15H13.861a3.858,3.858,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.921,1.921,0,0,0,12.021,11.7a0.50013,0.50013,0,1,0,.957.291h0a0.914,0.914,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.076-1.16971,1.86982-1.93971,2.43082A1.45639,1.45639,0,0,0,12,15.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,15Z /> <path class=ql-fill d=M9.65,5.241a1,1,0,0,0-1.409.108L6,7.964,3.759,5.349A1,1,0,0,0,2.192,6.59178Q2.21541,6.6213,2.241,6.649L4.684,9.5,2.241,12.35A1,1,0,0,0,3.71,13.70722q0.02557-.02768.049-0.05722L6,11.036,8.241,13.65a1,1,0,1,0,1.567-1.24277Q9.78459,12.3777,9.759,12.35L7.316,9.5,9.759,6.651A1,1,0,0,0,9.65,5.241Z /> </svg>'},function(n,r){n.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,7H13.861a4.015,4.015,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.922,1.922,0,0,0,12.021,3.7a0.5,0.5,0,1,0,.957.291,0.917,0.917,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.077-1.164,1.925-1.934,2.486A1.423,1.423,0,0,0,12,7.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,7Z /> <path class=ql-fill d=M9.651,5.241a1,1,0,0,0-1.41.108L6,7.964,3.759,5.349a1,1,0,1,0-1.519,1.3L4.683,9.5,2.241,12.35a1,1,0,1,0,1.519,1.3L6,11.036,8.241,13.65a1,1,0,0,0,1.519-1.3L7.317,9.5,9.759,6.651A1,1,0,0,0,9.651,5.241Z /> </svg>'},function(n,r){n.exports='<svg viewbox="0 0 18 18"> <line class="ql-stroke ql-thin" x1=15.5 x2=2.5 y1=8.5 y2=9.5></line> <path class=ql-fill d=M9.007,8C6.542,7.791,6,7.519,6,6.5,6,5.792,7.283,5,9,5c1.571,0,2.765.679,2.969,1.309a1,1,0,0,0,1.9-.617C13.356,4.106,11.354,3,9,3,6.2,3,4,4.538,4,6.5a3.2,3.2,0,0,0,.5,1.843Z></path> <path class=ql-fill d=M8.984,10C11.457,10.208,12,10.479,12,11.5c0,0.708-1.283,1.5-3,1.5-1.571,0-2.765-.679-2.969-1.309a1,1,0,1,0-1.9.617C4.644,13.894,6.646,15,9,15c2.8,0,5-1.538,5-3.5a3.2,3.2,0,0,0-.5-1.843Z></path> </svg>'},function(n,r){n.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,3V9a4.012,4.012,0,0,0,4,4H9a4.012,4.012,0,0,0,4-4V3></path> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=12 x=3 y=15></rect> </svg>'},function(n,r){n.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=12 width=12 x=3 y=3></rect> <rect class=ql-fill height=12 width=1 x=5 y=3></rect> <rect class=ql-fill height=12 width=1 x=12 y=3></rect> <rect class=ql-fill height=2 width=8 x=5 y=8></rect> <rect class=ql-fill height=1 width=3 x=3 y=5></rect> <rect class=ql-fill height=1 width=3 x=3 y=7></rect> <rect class=ql-fill height=1 width=3 x=3 y=10></rect> <rect class=ql-fill height=1 width=3 x=3 y=12></rect> <rect class=ql-fill height=1 width=3 x=12 y=5></rect> <rect class=ql-fill height=1 width=3 x=12 y=7></rect> <rect class=ql-fill height=1 width=3 x=12 y=10></rect> <rect class=ql-fill height=1 width=3 x=12 y=12></rect> </svg>'},function(n,r){n.exports='<svg viewbox="0 0 18 18"> <polygon class=ql-stroke points="7 11 9 13 11 11 7 11"></polygon> <polygon class=ql-stroke points="7 7 9 5 11 7 7 7"></polygon> </svg>'},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.BubbleTooltip=void 0;var a=function T(S,P,N){S===null&&(S=Function.prototype);var O=Object.getOwnPropertyDescriptor(S,P);if(O===void 0){var w=Object.getPrototypeOf(S);return w===null?void 0:T(w,P,N)}else{if("value"in O)return O.value;var C=O.get;return C===void 0?void 0:C.call(N)}},o=function(){function T(S,P){for(var N=0;N<P.length;N++){var O=P[N];O.enumerable=O.enumerable||!1,O.configurable=!0,"value"in O&&(O.writable=!0),Object.defineProperty(S,O.key,O)}}return function(S,P,N){return P&&T(S.prototype,P),N&&T(S,N),S}}(),l=i(3),s=_(l),u=i(8),f=_(u),c=i(43),d=_(c),h=i(15),y=i(41),g=_(y);function _(T){return T&&T.__esModule?T:{default:T}}function m(T,S){if(!(T instanceof S))throw new TypeError("Cannot call a class as a function")}function v(T,S){if(!T)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return S&&(typeof S=="object"||typeof S=="function")?S:T}function b(T,S){if(typeof S!="function"&&S!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof S);T.prototype=Object.create(S&&S.prototype,{constructor:{value:T,enumerable:!1,writable:!0,configurable:!0}}),S&&(Object.setPrototypeOf?Object.setPrototypeOf(T,S):T.__proto__=S)}var p=[["bold","italic","link"],[{header:1},{header:2},"blockquote"]],E=function(T){b(S,T);function S(P,N){m(this,S),N.modules.toolbar!=null&&N.modules.toolbar.container==null&&(N.modules.toolbar.container=p);var O=v(this,(S.__proto__||Object.getPrototypeOf(S)).call(this,P,N));return O.quill.container.classList.add("ql-bubble"),O}return o(S,[{key:"extendToolbar",value:function(N){this.tooltip=new k(this.quill,this.options.bounds),this.tooltip.root.appendChild(N.container),this.buildButtons([].slice.call(N.container.querySelectorAll("button")),g.default),this.buildPickers([].slice.call(N.container.querySelectorAll("select")),g.default)}}]),S}(d.default);E.DEFAULTS=(0,s.default)(!0,{},d.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(S){S?this.quill.theme.tooltip.edit():this.quill.format("link",!1)}}}}});var k=function(T){b(S,T);function S(P,N){m(this,S);var O=v(this,(S.__proto__||Object.getPrototypeOf(S)).call(this,P,N));return O.quill.on(f.default.events.EDITOR_CHANGE,function(w,C,I,D){if(w===f.default.events.SELECTION_CHANGE)if(C!=null&&C.length>0&&D===f.default.sources.USER){O.show(),O.root.style.left="0px",O.root.style.width="",O.root.style.width=O.root.offsetWidth+"px";var V=O.quill.getLines(C.index,C.length);if(V.length===1)O.position(O.quill.getBounds(C));else{var U=V[V.length-1],te=O.quill.getIndex(U),K=Math.min(U.length()-1,C.index+C.length-te),H=O.quill.getBounds(new h.Range(te,K));O.position(H)}}else document.activeElement!==O.textbox&&O.quill.hasFocus()&&O.hide()}),O}return o(S,[{key:"listen",value:function(){var N=this;a(S.prototype.__proto__||Object.getPrototypeOf(S.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",function(){N.root.classList.remove("ql-editing")}),this.quill.on(f.default.events.SCROLL_OPTIMIZE,function(){setTimeout(function(){if(!N.root.classList.contains("ql-hidden")){var O=N.quill.getSelection();O!=null&&N.position(N.quill.getBounds(O))}},1)})}},{key:"cancel",value:function(){this.show()}},{key:"position",value:function(N){var O=a(S.prototype.__proto__||Object.getPrototypeOf(S.prototype),"position",this).call(this,N),w=this.root.querySelector(".ql-tooltip-arrow");if(w.style.marginLeft="",O===0)return O;w.style.marginLeft=-1*O-w.offsetWidth/2+"px"}}]),S}(c.BaseTooltip);k.TEMPLATE=['<span class="ql-tooltip-arrow"></span>','<div class="ql-tooltip-editor">','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-close"></a>',"</div>"].join(""),r.BubbleTooltip=k,r.default=E},function(n,r,i){n.exports=i(63)}]).default})})(lb);var g9=lb.exports;const df=st.getDefaultExportFromCjs(g9);var ur=-1,$n=1,ln=0;function ml(e,t,n,r){if(e===t)return e?[[ln,e]]:[];if(n!=null){var i=w9(e,t,n);if(i)return i}var a=b1(e,t),o=e.substring(0,a);e=e.substring(a),t=t.substring(a),a=_1(e,t);var l=e.substring(e.length-a);e=e.substring(0,e.length-a),t=t.substring(0,t.length-a);var s=y9(e,t);return o&&s.unshift([ln,o]),l&&s.push([ln,l]),sb(s,r),s}function y9(e,t){var n;if(!e)return[[$n,t]];if(!t)return[[ur,e]];var r=e.length>t.length?e:t,i=e.length>t.length?t:e,a=r.indexOf(i);if(a!==-1)return n=[[$n,r.substring(0,a)],[ln,i],[$n,r.substring(a+i.length)]],e.length>t.length&&(n[0][0]=n[2][0]=ur),n;if(i.length===1)return[[ur,e],[$n,t]];var o=_9(e,t);if(o){var l=o[0],s=o[1],u=o[2],f=o[3],c=o[4],d=ml(l,u),h=ml(s,f);return d.concat([[ln,c]],h)}return b9(e,t)}function b9(e,t){for(var n=e.length,r=t.length,i=Math.ceil((n+r)/2),a=i,o=2*i,l=new Array(o),s=new Array(o),u=0;u<o;u++)l[u]=-1,s[u]=-1;l[a+1]=0,s[a+1]=0;for(var f=n-r,c=f%2!==0,d=0,h=0,y=0,g=0,_=0;_<i;_++){for(var m=-_+d;m<=_-h;m+=2){var v=a+m,b;m===-_||m!==_&&l[v-1]<l[v+1]?b=l[v+1]:b=l[v-1]+1;for(var p=b-m;b<n&&p<r&&e.charAt(b)===t.charAt(p);)b++,p++;if(l[v]=b,b>n)h+=2;else if(p>r)d+=2;else if(c){var E=a+f-m;if(E>=0&&E<o&&s[E]!==-1){var k=n-s[E];if(b>=k)return gv(e,t,b,p)}}}for(var T=-_+y;T<=_-g;T+=2){var E=a+T,k;T===-_||T!==_&&s[E-1]<s[E+1]?k=s[E+1]:k=s[E-1]+1;for(var S=k-T;k<n&&S<r&&e.charAt(n-k-1)===t.charAt(r-S-1);)k++,S++;if(s[E]=k,k>n)g+=2;else if(S>r)y+=2;else if(!c){var v=a+f-T;if(v>=0&&v<o&&l[v]!==-1){var b=l[v],p=a+b-v;if(k=n-k,b>=k)return gv(e,t,b,p)}}}}return[[ur,e],[$n,t]]}function gv(e,t,n,r){var i=e.substring(0,n),a=t.substring(0,r),o=e.substring(n),l=t.substring(r),s=ml(i,a),u=ml(o,l);return s.concat(u)}function b1(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;for(var n=0,r=Math.min(e.length,t.length),i=r,a=0;n<i;)e.substring(a,i)==t.substring(a,i)?(n=i,a=n):r=i,i=Math.floor((r-n)/2+n);return ub(e.charCodeAt(i-1))&&i--,i}function _1(e,t){if(!e||!t||e.slice(-1)!==t.slice(-1))return 0;for(var n=0,r=Math.min(e.length,t.length),i=r,a=0;n<i;)e.substring(e.length-i,e.length-a)==t.substring(t.length-i,t.length-a)?(n=i,a=n):r=i,i=Math.floor((r-n)/2+n);return cb(e.charCodeAt(e.length-i))&&i--,i}function _9(e,t){var n=e.length>t.length?e:t,r=e.length>t.length?t:e;if(n.length<4||r.length*2<n.length)return null;function i(h,y,g){for(var _=h.substring(g,g+Math.floor(h.length/4)),m=-1,v="",b,p,E,k;(m=y.indexOf(_,m+1))!==-1;){var T=b1(h.substring(g),y.substring(m)),S=_1(h.substring(0,g),y.substring(0,m));v.length<S+T&&(v=y.substring(m-S,m)+y.substring(m,m+T),b=h.substring(0,g-S),p=h.substring(g+T),E=y.substring(0,m-S),k=y.substring(m+T))}return v.length*2>=h.length?[b,p,E,k,v]:null}var a=i(n,r,Math.ceil(n.length/4)),o=i(n,r,Math.ceil(n.length/2)),l;if(!a&&!o)return null;o?a?l=a[4].length>o[4].length?a:o:l=o:l=a;var s,u,f,c;e.length>t.length?(s=l[0],u=l[1],f=l[2],c=l[3]):(f=l[0],c=l[1],s=l[2],u=l[3]);var d=l[4];return[s,u,f,c,d]}function sb(e,t){e.push([ln,""]);for(var n=0,r=0,i=0,a="",o="",l;n<e.length;){if(n<e.length-1&&!e[n][1]){e.splice(n,1);continue}switch(e[n][0]){case $n:i++,o+=e[n][1],n++;break;case ur:r++,a+=e[n][1],n++;break;case ln:var s=n-i-r-1;if(t){if(s>=0&&db(e[s][1])){var u=e[s][1].slice(-1);if(e[s][1]=e[s][1].slice(0,-1),a=u+a,o=u+o,!e[s][1]){e.splice(s,1),n--;var f=s-1;e[f]&&e[f][0]===$n&&(i++,o=e[f][1]+o,f--),e[f]&&e[f][0]===ur&&(r++,a=e[f][1]+a,f--),s=f}}if(fb(e[n][1])){var u=e[n][1].charAt(0);e[n][1]=e[n][1].slice(1),a+=u,o+=u}}if(n<e.length-1&&!e[n][1]){e.splice(n,1);break}if(a.length>0||o.length>0){a.length>0&&o.length>0&&(l=b1(o,a),l!==0&&(s>=0?e[s][1]+=o.substring(0,l):(e.splice(0,0,[ln,o.substring(0,l)]),n++),o=o.substring(l),a=a.substring(l)),l=_1(o,a),l!==0&&(e[n][1]=o.substring(o.length-l)+e[n][1],o=o.substring(0,o.length-l),a=a.substring(0,a.length-l)));var c=i+r;a.length===0&&o.length===0?(e.splice(n-c,c),n=n-c):a.length===0?(e.splice(n-c,c,[$n,o]),n=n-c+1):o.length===0?(e.splice(n-c,c,[ur,a]),n=n-c+1):(e.splice(n-c,c,[ur,a],[$n,o]),n=n-c+2)}n!==0&&e[n-1][0]===ln?(e[n-1][1]+=e[n][1],e.splice(n,1)):n++,i=0,r=0,a="",o="";break}}e[e.length-1][1]===""&&e.pop();var d=!1;for(n=1;n<e.length-1;)e[n-1][0]===ln&&e[n+1][0]===ln&&(e[n][1].substring(e[n][1].length-e[n-1][1].length)===e[n-1][1]?(e[n][1]=e[n-1][1]+e[n][1].substring(0,e[n][1].length-e[n-1][1].length),e[n+1][1]=e[n-1][1]+e[n+1][1],e.splice(n-1,1),d=!0):e[n][1].substring(0,e[n+1][1].length)==e[n+1][1]&&(e[n-1][1]+=e[n+1][1],e[n][1]=e[n][1].substring(e[n+1][1].length)+e[n+1][1],e.splice(n+1,1),d=!0)),n++;d&&sb(e,t)}function ub(e){return e>=55296&&e<=56319}function cb(e){return e>=56320&&e<=57343}function fb(e){return cb(e.charCodeAt(0))}function db(e){return ub(e.charCodeAt(e.length-1))}function E9(e){for(var t=[],n=0;n<e.length;n++)e[n][1].length>0&&t.push(e[n]);return t}function hf(e,t,n,r){return db(e)||fb(r)?null:E9([[ln,e],[ur,t],[$n,n],[ln,r]])}function w9(e,t,n){var r=typeof n=="number"?{index:n,length:0}:n.oldRange,i=typeof n=="number"?null:n.newRange,a=e.length,o=t.length;if(r.length===0&&(i===null||i.length===0)){var l=r.index,s=e.slice(0,l),u=e.slice(l),f=i?i.index:null;e:{var c=l+o-a;if(f!==null&&f!==c||c<0||c>o)break e;var d=t.slice(0,c),h=t.slice(c);if(h!==u)break e;var y=Math.min(l,c),g=s.slice(0,y),_=d.slice(0,y);if(g!==_)break e;var m=s.slice(y),v=d.slice(y);return hf(g,m,v,u)}e:{if(f!==null&&f!==l)break e;var b=l,d=t.slice(0,b),h=t.slice(b);if(d!==s)break e;var p=Math.min(a-b,o-b),E=u.slice(u.length-p),k=h.slice(h.length-p);if(E!==k)break e;var m=u.slice(0,u.length-p),v=h.slice(0,h.length-p);return hf(s,m,v,E)}}if(r.length>0&&i&&i.length===0)e:{var g=e.slice(0,r.index),E=e.slice(r.index+r.length),y=g.length,p=E.length;if(o<y+p)break e;var _=t.slice(0,y),k=t.slice(o-p);if(g!==_||E!==k)break e;var m=e.slice(y,a-p),v=t.slice(y,o-p);return hf(g,m,v,E)}return null}function gc(e,t,n){return ml(e,t,n,!0)}gc.INSERT=$n;gc.DELETE=ur;gc.EQUAL=ln;var O9=gc,Eu={exports:{}};Eu.exports;(function(e,t){var n=200,r="__lodash_hash_undefined__",i=9007199254740991,a="[object Arguments]",o="[object Array]",l="[object Boolean]",s="[object Date]",u="[object Error]",f="[object Function]",c="[object GeneratorFunction]",d="[object Map]",h="[object Number]",y="[object Object]",g="[object Promise]",_="[object RegExp]",m="[object Set]",v="[object String]",b="[object Symbol]",p="[object WeakMap]",E="[object ArrayBuffer]",k="[object DataView]",T="[object Float32Array]",S="[object Float64Array]",P="[object Int8Array]",N="[object Int16Array]",O="[object Int32Array]",w="[object Uint8Array]",C="[object Uint8ClampedArray]",I="[object Uint16Array]",D="[object Uint32Array]",V=/[\\^$.*+?()[\]{}|]/g,U=/\w*$/,te=/^\[object .+?Constructor\]$/,K=/^(?:0|[1-9]\d*)$/,H={};H[a]=H[o]=H[E]=H[k]=H[l]=H[s]=H[T]=H[S]=H[P]=H[N]=H[O]=H[d]=H[h]=H[y]=H[_]=H[m]=H[v]=H[b]=H[w]=H[C]=H[I]=H[D]=!0,H[u]=H[f]=H[p]=!1;var M=typeof st.commonjsGlobal=="object"&&st.commonjsGlobal&&st.commonjsGlobal.Object===Object&&st.commonjsGlobal,j=typeof self=="object"&&self&&self.Object===Object&&self,z=M||j||Function("return this")(),Z=t&&!t.nodeType&&t,X=Z&&!0&&e&&!e.nodeType&&e,F=X&&X.exports===Z;function J(A,R){return A.set(R[0],R[1]),A}function ae(A,R){return A.add(R),A}function Q(A,R){for(var Y=-1,ue=A?A.length:0;++Y<ue&&R(A[Y],Y,A)!==!1;);return A}function se(A,R){for(var Y=-1,ue=R.length,Ce=A.length;++Y<ue;)A[Ce+Y]=R[Y];return A}function he(A,R,Y,ue){var Ce=-1,Oe=A?A.length:0;for(ue&&Oe&&(Y=A[++Ce]);++Ce<Oe;)Y=R(Y,A[Ce],Ce,A);return Y}function B(A,R){for(var Y=-1,ue=Array(A);++Y<A;)ue[Y]=R(Y);return ue}function L(A,R){return A?.[R]}function x(A){var R=!1;if(A!=null&&typeof A.toString!="function")try{R=!!(A+"")}catch{}return R}function $(A){var R=-1,Y=Array(A.size);return A.forEach(function(ue,Ce){Y[++R]=[Ce,ue]}),Y}function ee(A,R){return function(Y){return A(R(Y))}}function le(A){var R=-1,Y=Array(A.size);return A.forEach(function(ue){Y[++R]=ue}),Y}var q=Array.prototype,W=Function.prototype,ne=Object.prototype,ie=z["__core-js_shared__"],oe=function(){var A=/[^.]+$/.exec(ie&&ie.keys&&ie.keys.IE_PROTO||"");return A?"Symbol(src)_1."+A:""}(),ce=W.toString,G=ne.hasOwnProperty,re=ne.toString,pe=RegExp("^"+ce.call(G).replace(V,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ge=F?z.Buffer:void 0,ve=z.Symbol,De=z.Uint8Array,Te=ee(Object.getPrototypeOf,Object),it=Object.create,Yn=ne.propertyIsEnumerable,On=q.splice,Xn=Object.getOwnPropertySymbols,ct=ge?ge.isBuffer:void 0,xt=ee(Object.keys,Object),ke=Hn(z,"DataView"),Be=Hn(z,"Map"),Ze=Hn(z,"Promise"),Fe=Hn(z,"Set"),kt=Hn(z,"WeakMap"),en=Hn(Object,"create"),Fn=Yt(ke),tn=Yt(Be),Jn=Yt(Ze),Zn=Yt(Fe),vr=Yt(kt),Tn=ve?ve.prototype:void 0,ca=Tn?Tn.valueOf:void 0;function Sn(A){var R=-1,Y=A?A.length:0;for(this.clear();++R<Y;){var ue=A[R];this.set(ue[0],ue[1])}}function Ti(){this.__data__=en?en(null):{}}function Si(A){return this.has(A)&&delete this.__data__[A]}function lo(A){var R=this.__data__;if(en){var Y=R[A];return Y===r?void 0:Y}return G.call(R,A)?R[A]:void 0}function Ai(A){var R=this.__data__;return en?R[A]!==void 0:G.call(R,A)}function Hr(A,R){var Y=this.__data__;return Y[A]=en&&R===void 0?r:R,this}Sn.prototype.clear=Ti,Sn.prototype.delete=Si,Sn.prototype.get=lo,Sn.prototype.has=Ai,Sn.prototype.set=Hr;function ot(A){var R=-1,Y=A?A.length:0;for(this.clear();++R<Y;){var ue=A[R];this.set(ue[0],ue[1])}}function fa(){this.__data__=[]}function da(A){var R=this.__data__,Y=ga(R,A);if(Y<0)return!1;var ue=R.length-1;return Y==ue?R.pop():On.call(R,Y,1),!0}function ha(A){var R=this.__data__,Y=ga(R,A);return Y<0?void 0:R[Y][1]}function so(A){return ga(this.__data__,A)>-1}function pa(A,R){var Y=this.__data__,ue=ga(Y,A);return ue<0?Y.push([A,R]):Y[ue][1]=R,this}ot.prototype.clear=fa,ot.prototype.delete=da,ot.prototype.get=ha,ot.prototype.has=so,ot.prototype.set=pa;function vt(A){var R=-1,Y=A?A.length:0;for(this.clear();++R<Y;){var ue=A[R];this.set(ue[0],ue[1])}}function Ni(){this.__data__={hash:new Sn,map:new(Be||ot),string:new Sn}}function ki(A){return Pi(this,A).delete(A)}function uo(A){return Pi(this,A).get(A)}function ma(A){return Pi(this,A).has(A)}function co(A,R){return Pi(this,A).set(A,R),this}vt.prototype.clear=Ni,vt.prototype.delete=ki,vt.prototype.get=uo,vt.prototype.has=ma,vt.prototype.set=co;function Vt(A){this.__data__=new ot(A)}function yc(){this.__data__=new ot}function bc(A){return this.__data__.delete(A)}function _c(A){return this.__data__.get(A)}function Ec(A){return this.__data__.has(A)}function wc(A,R){var Y=this.__data__;if(Y instanceof ot){var ue=Y.__data__;if(!Be||ue.length<n-1)return ue.push([A,R]),this;Y=this.__data__=new vt(ue)}return Y.set(A,R),this}Vt.prototype.clear=yc,Vt.prototype.delete=bc,Vt.prototype.get=_c,Vt.prototype.has=Ec,Vt.prototype.set=wc;function va(A,R){var Y=mo(A)||ba(A)?B(A.length,String):[],ue=Y.length,Ce=!!ue;for(var Oe in A)(R||G.call(A,Oe))&&!(Ce&&(Oe=="length"||Dc(Oe,ue)))&&Y.push(Oe);return Y}function Fl(A,R,Y){var ue=A[R];(!(G.call(A,R)&&zl(ue,Y))||Y===void 0&&!(R in A))&&(A[R]=Y)}function ga(A,R){for(var Y=A.length;Y--;)if(zl(A[Y][0],R))return Y;return-1}function Qn(A,R){return A&&po(R,go(R),A)}function fo(A,R,Y,ue,Ce,Oe,He){var ze;if(ue&&(ze=Oe?ue(A,Ce,Oe,He):ue(A)),ze!==void 0)return ze;if(!tr(A))return A;var gt=mo(A);if(gt){if(ze=xc(A),!R)return Lc(A,ze)}else{var We=yr(A),Bt=We==f||We==c;if($l(A))return ya(A,R);if(We==y||We==a||Bt&&!Oe){if(x(A))return Oe?A:{};if(ze=er(Bt?{}:A),!R)return Ic(A,Qn(ze,A))}else{if(!H[We])return Oe?A:{};ze=Rc(A,We,fo,R)}}He||(He=new Vt);var nn=He.get(A);if(nn)return nn;if(He.set(A,ze),!gt)var wt=Y?Mc(A):go(A);return Q(wt||A,function(zt,Rt){wt&&(Rt=zt,zt=A[Rt]),Fl(ze,Rt,fo(zt,R,Y,ue,Rt,A,He))}),ze}function Oc(A){return tr(A)?it(A):{}}function Tc(A,R,Y){var ue=R(A);return mo(A)?ue:se(ue,Y(A))}function Sc(A){return re.call(A)}function Ac(A){if(!tr(A)||Hc(A))return!1;var R=vo(A)||x(A)?pe:te;return R.test(Yt(A))}function Nc(A){if(!Vl(A))return xt(A);var R=[];for(var Y in Object(A))G.call(A,Y)&&Y!="constructor"&&R.push(Y);return R}function ya(A,R){if(R)return A.slice();var Y=new A.constructor(A.length);return A.copy(Y),Y}function ho(A){var R=new A.constructor(A.byteLength);return new De(R).set(new De(A)),R}function Ci(A,R){var Y=R?ho(A.buffer):A.buffer;return new A.constructor(Y,A.byteOffset,A.byteLength)}function Hl(A,R,Y){var ue=R?Y($(A),!0):$(A);return he(ue,J,new A.constructor)}function jl(A){var R=new A.constructor(A.source,U.exec(A));return R.lastIndex=A.lastIndex,R}function kc(A,R,Y){var ue=R?Y(le(A),!0):le(A);return he(ue,ae,new A.constructor)}function Cc(A){return ca?Object(ca.call(A)):{}}function Pc(A,R){var Y=R?ho(A.buffer):A.buffer;return new A.constructor(Y,A.byteOffset,A.length)}function Lc(A,R){var Y=-1,ue=A.length;for(R||(R=Array(ue));++Y<ue;)R[Y]=A[Y];return R}function po(A,R,Y,ue){Y||(Y={});for(var Ce=-1,Oe=R.length;++Ce<Oe;){var He=R[Ce],ze=ue?ue(Y[He],A[He],He,Y,A):void 0;Fl(Y,He,ze===void 0?A[He]:ze)}return Y}function Ic(A,R){return po(A,gr(A),R)}function Mc(A){return Tc(A,go,gr)}function Pi(A,R){var Y=A.__data__;return Fc(R)?Y[typeof R=="string"?"string":"hash"]:Y.map}function Hn(A,R){var Y=L(A,R);return Ac(Y)?Y:void 0}var gr=Xn?ee(Xn,Object):Vc,yr=Sc;(ke&&yr(new ke(new ArrayBuffer(1)))!=k||Be&&yr(new Be)!=d||Ze&&yr(Ze.resolve())!=g||Fe&&yr(new Fe)!=m||kt&&yr(new kt)!=p)&&(yr=function(A){var R=re.call(A),Y=R==y?A.constructor:void 0,ue=Y?Yt(Y):void 0;if(ue)switch(ue){case Fn:return k;case tn:return d;case Jn:return g;case Zn:return m;case vr:return p}return R});function xc(A){var R=A.length,Y=A.constructor(R);return R&&typeof A[0]=="string"&&G.call(A,"index")&&(Y.index=A.index,Y.input=A.input),Y}function er(A){return typeof A.constructor=="function"&&!Vl(A)?Oc(Te(A)):{}}function Rc(A,R,Y,ue){var Ce=A.constructor;switch(R){case E:return ho(A);case l:case s:return new Ce(+A);case k:return Ci(A,ue);case T:case S:case P:case N:case O:case w:case C:case I:case D:return Pc(A,ue);case d:return Hl(A,ue,Y);case h:case v:return new Ce(A);case _:return jl(A);case m:return kc(A,ue,Y);case b:return Cc(A)}}function Dc(A,R){return R=R??i,!!R&&(typeof A=="number"||K.test(A))&&A>-1&&A%1==0&&A<R}function Fc(A){var R=typeof A;return R=="string"||R=="number"||R=="symbol"||R=="boolean"?A!=="__proto__":A===null}function Hc(A){return!!oe&&oe in A}function Vl(A){var R=A&&A.constructor,Y=typeof R=="function"&&R.prototype||ne;return A===Y}function Yt(A){if(A!=null){try{return ce.call(A)}catch{}try{return A+""}catch{}}return""}function Bl(A){return fo(A,!0,!0)}function zl(A,R){return A===R||A!==A&&R!==R}function ba(A){return jc(A)&&G.call(A,"callee")&&(!Yn.call(A,"callee")||re.call(A)==a)}var mo=Array.isArray;function _a(A){return A!=null&&Ul(A.length)&&!vo(A)}function jc(A){return ql(A)&&_a(A)}var $l=ct||Bc;function vo(A){var R=tr(A)?re.call(A):"";return R==f||R==c}function Ul(A){return typeof A=="number"&&A>-1&&A%1==0&&A<=i}function tr(A){var R=typeof A;return!!A&&(R=="object"||R=="function")}function ql(A){return!!A&&typeof A=="object"}function go(A){return _a(A)?va(A):Nc(A)}function Vc(){return[]}function Bc(){return!1}e.exports=Bl})(Eu,Eu.exports);var hb=Eu.exports,wu={exports:{}};wu.exports;(function(e,t){var n=200,r="__lodash_hash_undefined__",i=1,a=2,o=9007199254740991,l="[object Arguments]",s="[object Array]",u="[object AsyncFunction]",f="[object Boolean]",c="[object Date]",d="[object Error]",h="[object Function]",y="[object GeneratorFunction]",g="[object Map]",_="[object Number]",m="[object Null]",v="[object Object]",b="[object Promise]",p="[object Proxy]",E="[object RegExp]",k="[object Set]",T="[object String]",S="[object Symbol]",P="[object Undefined]",N="[object WeakMap]",O="[object ArrayBuffer]",w="[object DataView]",C="[object Float32Array]",I="[object Float64Array]",D="[object Int8Array]",V="[object Int16Array]",U="[object Int32Array]",te="[object Uint8Array]",K="[object Uint8ClampedArray]",H="[object Uint16Array]",M="[object Uint32Array]",j=/[\\^$.*+?()[\]{}|]/g,z=/^\[object .+?Constructor\]$/,Z=/^(?:0|[1-9]\d*)$/,X={};X[C]=X[I]=X[D]=X[V]=X[U]=X[te]=X[K]=X[H]=X[M]=!0,X[l]=X[s]=X[O]=X[f]=X[w]=X[c]=X[d]=X[h]=X[g]=X[_]=X[v]=X[E]=X[k]=X[T]=X[N]=!1;var F=typeof st.commonjsGlobal=="object"&&st.commonjsGlobal&&st.commonjsGlobal.Object===Object&&st.commonjsGlobal,J=typeof self=="object"&&self&&self.Object===Object&&self,ae=F||J||Function("return this")(),Q=t&&!t.nodeType&&t,se=Q&&!0&&e&&!e.nodeType&&e,he=se&&se.exports===Q,B=he&&F.process,L=function(){try{return B&&B.binding&&B.binding("util")}catch{}}(),x=L&&L.isTypedArray;function $(A,R){for(var Y=-1,ue=A==null?0:A.length,Ce=0,Oe=[];++Y<ue;){var He=A[Y];R(He,Y,A)&&(Oe[Ce++]=He)}return Oe}function ee(A,R){for(var Y=-1,ue=R.length,Ce=A.length;++Y<ue;)A[Ce+Y]=R[Y];return A}function le(A,R){for(var Y=-1,ue=A==null?0:A.length;++Y<ue;)if(R(A[Y],Y,A))return!0;return!1}function q(A,R){for(var Y=-1,ue=Array(A);++Y<A;)ue[Y]=R(Y);return ue}function W(A){return function(R){return A(R)}}function ne(A,R){return A.has(R)}function ie(A,R){return A?.[R]}function oe(A){var R=-1,Y=Array(A.size);return A.forEach(function(ue,Ce){Y[++R]=[Ce,ue]}),Y}function ce(A,R){return function(Y){return A(R(Y))}}function G(A){var R=-1,Y=Array(A.size);return A.forEach(function(ue){Y[++R]=ue}),Y}var re=Array.prototype,pe=Function.prototype,ge=Object.prototype,ve=ae["__core-js_shared__"],De=pe.toString,Te=ge.hasOwnProperty,it=function(){var A=/[^.]+$/.exec(ve&&ve.keys&&ve.keys.IE_PROTO||"");return A?"Symbol(src)_1."+A:""}(),Yn=ge.toString,On=RegExp("^"+De.call(Te).replace(j,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Xn=he?ae.Buffer:void 0,ct=ae.Symbol,xt=ae.Uint8Array,ke=ge.propertyIsEnumerable,Be=re.splice,Ze=ct?ct.toStringTag:void 0,Fe=Object.getOwnPropertySymbols,kt=Xn?Xn.isBuffer:void 0,en=ce(Object.keys,Object),Fn=gr(ae,"DataView"),tn=gr(ae,"Map"),Jn=gr(ae,"Promise"),Zn=gr(ae,"Set"),vr=gr(ae,"WeakMap"),Tn=gr(Object,"create"),ca=Yt(Fn),Sn=Yt(tn),Ti=Yt(Jn),Si=Yt(Zn),lo=Yt(vr),Ai=ct?ct.prototype:void 0,Hr=Ai?Ai.valueOf:void 0;function ot(A){var R=-1,Y=A==null?0:A.length;for(this.clear();++R<Y;){var ue=A[R];this.set(ue[0],ue[1])}}function fa(){this.__data__=Tn?Tn(null):{},this.size=0}function da(A){var R=this.has(A)&&delete this.__data__[A];return this.size-=R?1:0,R}function ha(A){var R=this.__data__;if(Tn){var Y=R[A];return Y===r?void 0:Y}return Te.call(R,A)?R[A]:void 0}function so(A){var R=this.__data__;return Tn?R[A]!==void 0:Te.call(R,A)}function pa(A,R){var Y=this.__data__;return this.size+=this.has(A)?0:1,Y[A]=Tn&&R===void 0?r:R,this}ot.prototype.clear=fa,ot.prototype.delete=da,ot.prototype.get=ha,ot.prototype.has=so,ot.prototype.set=pa;function vt(A){var R=-1,Y=A==null?0:A.length;for(this.clear();++R<Y;){var ue=A[R];this.set(ue[0],ue[1])}}function Ni(){this.__data__=[],this.size=0}function ki(A){var R=this.__data__,Y=ya(R,A);if(Y<0)return!1;var ue=R.length-1;return Y==ue?R.pop():Be.call(R,Y,1),--this.size,!0}function uo(A){var R=this.__data__,Y=ya(R,A);return Y<0?void 0:R[Y][1]}function ma(A){return ya(this.__data__,A)>-1}function co(A,R){var Y=this.__data__,ue=ya(Y,A);return ue<0?(++this.size,Y.push([A,R])):Y[ue][1]=R,this}vt.prototype.clear=Ni,vt.prototype.delete=ki,vt.prototype.get=uo,vt.prototype.has=ma,vt.prototype.set=co;function Vt(A){var R=-1,Y=A==null?0:A.length;for(this.clear();++R<Y;){var ue=A[R];this.set(ue[0],ue[1])}}function yc(){this.size=0,this.__data__={hash:new ot,map:new(tn||vt),string:new ot}}function bc(A){var R=Hn(this,A).delete(A);return this.size-=R?1:0,R}function _c(A){return Hn(this,A).get(A)}function Ec(A){return Hn(this,A).has(A)}function wc(A,R){var Y=Hn(this,A),ue=Y.size;return Y.set(A,R),this.size+=Y.size==ue?0:1,this}Vt.prototype.clear=yc,Vt.prototype.delete=bc,Vt.prototype.get=_c,Vt.prototype.has=Ec,Vt.prototype.set=wc;function va(A){var R=-1,Y=A==null?0:A.length;for(this.__data__=new Vt;++R<Y;)this.add(A[R])}function Fl(A){return this.__data__.set(A,r),this}function ga(A){return this.__data__.has(A)}va.prototype.add=va.prototype.push=Fl,va.prototype.has=ga;function Qn(A){var R=this.__data__=new vt(A);this.size=R.size}function fo(){this.__data__=new vt,this.size=0}function Oc(A){var R=this.__data__,Y=R.delete(A);return this.size=R.size,Y}function Tc(A){return this.__data__.get(A)}function Sc(A){return this.__data__.has(A)}function Ac(A,R){var Y=this.__data__;if(Y instanceof vt){var ue=Y.__data__;if(!tn||ue.length<n-1)return ue.push([A,R]),this.size=++Y.size,this;Y=this.__data__=new Vt(ue)}return Y.set(A,R),this.size=Y.size,this}Qn.prototype.clear=fo,Qn.prototype.delete=Oc,Qn.prototype.get=Tc,Qn.prototype.has=Sc,Qn.prototype.set=Ac;function Nc(A,R){var Y=ba(A),ue=!Y&&zl(A),Ce=!Y&&!ue&&_a(A),Oe=!Y&&!ue&&!Ce&&ql(A),He=Y||ue||Ce||Oe,ze=He?q(A.length,String):[],gt=ze.length;for(var We in A)(R||Te.call(A,We))&&!(He&&(We=="length"||Ce&&(We=="offset"||We=="parent")||Oe&&(We=="buffer"||We=="byteLength"||We=="byteOffset")||Rc(We,gt)))&&ze.push(We);return ze}function ya(A,R){for(var Y=A.length;Y--;)if(Bl(A[Y][0],R))return Y;return-1}function ho(A,R,Y){var ue=R(A);return ba(A)?ue:ee(ue,Y(A))}function Ci(A){return A==null?A===void 0?P:m:Ze&&Ze in Object(A)?yr(A):Vl(A)}function Hl(A){return tr(A)&&Ci(A)==l}function jl(A,R,Y,ue,Ce){return A===R?!0:A==null||R==null||!tr(A)&&!tr(R)?A!==A&&R!==R:kc(A,R,Y,ue,jl,Ce)}function kc(A,R,Y,ue,Ce,Oe){var He=ba(A),ze=ba(R),gt=He?s:er(A),We=ze?s:er(R);gt=gt==l?v:gt,We=We==l?v:We;var Bt=gt==v,nn=We==v,wt=gt==We;if(wt&&_a(A)){if(!_a(R))return!1;He=!0,Bt=!1}if(wt&&!Bt)return Oe||(Oe=new Qn),He||ql(A)?po(A,R,Y,ue,Ce,Oe):Ic(A,R,gt,Y,ue,Ce,Oe);if(!(Y&i)){var zt=Bt&&Te.call(A,"__wrapped__"),Rt=nn&&Te.call(R,"__wrapped__");if(zt||Rt){var jr=zt?A.value():A,br=Rt?R.value():R;return Oe||(Oe=new Qn),Ce(jr,br,Y,ue,Oe)}}return wt?(Oe||(Oe=new Qn),Mc(A,R,Y,ue,Ce,Oe)):!1}function Cc(A){if(!Ul(A)||Fc(A))return!1;var R=$l(A)?On:z;return R.test(Yt(A))}function Pc(A){return tr(A)&&vo(A.length)&&!!X[Ci(A)]}function Lc(A){if(!Hc(A))return en(A);var R=[];for(var Y in Object(A))Te.call(A,Y)&&Y!="constructor"&&R.push(Y);return R}function po(A,R,Y,ue,Ce,Oe){var He=Y&i,ze=A.length,gt=R.length;if(ze!=gt&&!(He&&gt>ze))return!1;var We=Oe.get(A);if(We&&Oe.get(R))return We==R;var Bt=-1,nn=!0,wt=Y&a?new va:void 0;for(Oe.set(A,R),Oe.set(R,A);++Bt<ze;){var zt=A[Bt],Rt=R[Bt];if(ue)var jr=He?ue(Rt,zt,Bt,R,A,Oe):ue(zt,Rt,Bt,A,R,Oe);if(jr!==void 0){if(jr)continue;nn=!1;break}if(wt){if(!le(R,function(br,Li){if(!ne(wt,Li)&&(zt===br||Ce(zt,br,Y,ue,Oe)))return wt.push(Li)})){nn=!1;break}}else if(!(zt===Rt||Ce(zt,Rt,Y,ue,Oe))){nn=!1;break}}return Oe.delete(A),Oe.delete(R),nn}function Ic(A,R,Y,ue,Ce,Oe,He){switch(Y){case w:if(A.byteLength!=R.byteLength||A.byteOffset!=R.byteOffset)return!1;A=A.buffer,R=R.buffer;case O:return!(A.byteLength!=R.byteLength||!Oe(new xt(A),new xt(R)));case f:case c:case _:return Bl(+A,+R);case d:return A.name==R.name&&A.message==R.message;case E:case T:return A==R+"";case g:var ze=oe;case k:var gt=ue&i;if(ze||(ze=G),A.size!=R.size&&!gt)return!1;var We=He.get(A);if(We)return We==R;ue|=a,He.set(A,R);var Bt=po(ze(A),ze(R),ue,Ce,Oe,He);return He.delete(A),Bt;case S:if(Hr)return Hr.call(A)==Hr.call(R)}return!1}function Mc(A,R,Y,ue,Ce,Oe){var He=Y&i,ze=Pi(A),gt=ze.length,We=Pi(R),Bt=We.length;if(gt!=Bt&&!He)return!1;for(var nn=gt;nn--;){var wt=ze[nn];if(!(He?wt in R:Te.call(R,wt)))return!1}var zt=Oe.get(A);if(zt&&Oe.get(R))return zt==R;var Rt=!0;Oe.set(A,R),Oe.set(R,A);for(var jr=He;++nn<gt;){wt=ze[nn];var br=A[wt],Li=R[wt];if(ue)var O1=He?ue(Li,br,wt,R,A,Oe):ue(br,Li,wt,A,R,Oe);if(!(O1===void 0?br===Li||Ce(br,Li,Y,ue,Oe):O1)){Rt=!1;break}jr||(jr=wt=="constructor")}if(Rt&&!jr){var Kl=A.constructor,Wl=R.constructor;Kl!=Wl&&"constructor"in A&&"constructor"in R&&!(typeof Kl=="function"&&Kl instanceof Kl&&typeof Wl=="function"&&Wl instanceof Wl)&&(Rt=!1)}return Oe.delete(A),Oe.delete(R),Rt}function Pi(A){return ho(A,go,xc)}function Hn(A,R){var Y=A.__data__;return Dc(R)?Y[typeof R=="string"?"string":"hash"]:Y.map}function gr(A,R){var Y=ie(A,R);return Cc(Y)?Y:void 0}function yr(A){var R=Te.call(A,Ze),Y=A[Ze];try{A[Ze]=void 0;var ue=!0}catch{}var Ce=Yn.call(A);return ue&&(R?A[Ze]=Y:delete A[Ze]),Ce}var xc=Fe?function(A){return A==null?[]:(A=Object(A),$(Fe(A),function(R){return ke.call(A,R)}))}:Vc,er=Ci;(Fn&&er(new Fn(new ArrayBuffer(1)))!=w||tn&&er(new tn)!=g||Jn&&er(Jn.resolve())!=b||Zn&&er(new Zn)!=k||vr&&er(new vr)!=N)&&(er=function(A){var R=Ci(A),Y=R==v?A.constructor:void 0,ue=Y?Yt(Y):"";if(ue)switch(ue){case ca:return w;case Sn:return g;case Ti:return b;case Si:return k;case lo:return N}return R});function Rc(A,R){return R=R??o,!!R&&(typeof A=="number"||Z.test(A))&&A>-1&&A%1==0&&A<R}function Dc(A){var R=typeof A;return R=="string"||R=="number"||R=="symbol"||R=="boolean"?A!=="__proto__":A===null}function Fc(A){return!!it&&it in A}function Hc(A){var R=A&&A.constructor,Y=typeof R=="function"&&R.prototype||ge;return A===Y}function Vl(A){return Yn.call(A)}function Yt(A){if(A!=null){try{return De.call(A)}catch{}try{return A+""}catch{}}return""}function Bl(A,R){return A===R||A!==A&&R!==R}var zl=Hl(function(){return arguments}())?Hl:function(A){return tr(A)&&Te.call(A,"callee")&&!ke.call(A,"callee")},ba=Array.isArray;function mo(A){return A!=null&&vo(A.length)&&!$l(A)}var _a=kt||Bc;function jc(A,R){return jl(A,R)}function $l(A){if(!Ul(A))return!1;var R=Ci(A);return R==h||R==y||R==u||R==p}function vo(A){return typeof A=="number"&&A>-1&&A%1==0&&A<=o}function Ul(A){var R=typeof A;return A!=null&&(R=="object"||R=="function")}function tr(A){return A!=null&&typeof A=="object"}var ql=x?W(x):Pc;function go(A){return mo(A)?Nc(A):Lc(A)}function Vc(){return[]}function Bc(){return!1}e.exports=jc})(wu,wu.exports);var pb=wu.exports,E1={},mb=st.commonjsGlobal&&st.commonjsGlobal.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(E1,"__esModule",{value:!0});var T9=mb(hb),S9=mb(pb),Ed;(function(e){function t(a,o,l){a===void 0&&(a={}),o===void 0&&(o={}),typeof a!="object"&&(a={}),typeof o!="object"&&(o={});var s=T9.default(o);l||(s=Object.keys(s).reduce(function(f,c){return s[c]!=null&&(f[c]=s[c]),f},{}));for(var u in a)a[u]!==void 0&&o[u]===void 0&&(s[u]=a[u]);return Object.keys(s).length>0?s:void 0}e.compose=t;function n(a,o){a===void 0&&(a={}),o===void 0&&(o={}),typeof a!="object"&&(a={}),typeof o!="object"&&(o={});var l=Object.keys(a).concat(Object.keys(o)).reduce(function(s,u){return S9.default(a[u],o[u])||(s[u]=o[u]===void 0?null:o[u]),s},{});return Object.keys(l).length>0?l:void 0}e.diff=n;function r(a,o){a===void 0&&(a={}),o===void 0&&(o={}),a=a||{};var l=Object.keys(o).reduce(function(s,u){return o[u]!==a[u]&&a[u]!==void 0&&(s[u]=o[u]),s},{});return Object.keys(a).reduce(function(s,u){return a[u]!==o[u]&&o[u]===void 0&&(s[u]=null),s},l)}e.invert=r;function i(a,o,l){if(l===void 0&&(l=!1),typeof a!="object")return o;if(typeof o=="object"){if(!l)return o;var s=Object.keys(o).reduce(function(u,f){return a[f]===void 0&&(u[f]=o[f]),u},{});return Object.keys(s).length>0?s:void 0}}e.transform=i})(Ed||(Ed={}));E1.default=Ed;var Ss={},As={},yv;function A9(){if(yv)return As;yv=1;var e=st.commonjsGlobal&&st.commonjsGlobal.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(As,"__esModule",{value:!0});var t=e(vb()),n=function(){function r(i){this.ops=i,this.index=0,this.offset=0}return r.prototype.hasNext=function(){return this.peekLength()<1/0},r.prototype.next=function(i){i||(i=1/0);var a=this.ops[this.index];if(a){var o=this.offset,l=t.default.length(a);if(i>=l-o?(i=l-o,this.index+=1,this.offset=0):this.offset+=i,typeof a.delete=="number")return{delete:i};var s={};return a.attributes&&(s.attributes=a.attributes),typeof a.retain=="number"?s.retain=i:typeof a.insert=="string"?s.insert=a.insert.substr(o,i):s.insert=a.insert,s}else return{retain:1/0}},r.prototype.peek=function(){return this.ops[this.index]},r.prototype.peekLength=function(){return this.ops[this.index]?t.default.length(this.ops[this.index])-this.offset:1/0},r.prototype.peekType=function(){return this.ops[this.index]?typeof this.ops[this.index].delete=="number"?"delete":typeof this.ops[this.index].retain=="number"?"retain":"insert":"retain"},r.prototype.rest=function(){if(this.hasNext()){if(this.offset===0)return this.ops.slice(this.index);var i=this.offset,a=this.index,o=this.next(),l=this.ops.slice(this.index);return this.offset=i,this.index=a,[o].concat(l)}else return[]},r}();return As.default=n,As}var bv;function vb(){if(bv)return Ss;bv=1;var e=st.commonjsGlobal&&st.commonjsGlobal.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Ss,"__esModule",{value:!0});var t=e(A9()),n;return function(r){function i(o){return new t.default(o)}r.iterator=i;function a(o){return typeof o.delete=="number"?o.delete:typeof o.retain=="number"?o.retain:typeof o.insert=="string"?o.insert.length:1}r.length=a}(n||(n={})),Ss.default=n,Ss}var Dl=st.commonjsGlobal&&st.commonjsGlobal.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},Ns=Dl(O9),N9=Dl(hb),pf=Dl(pb),So=Dl(E1),Dt=Dl(vb()),k9=String.fromCharCode(0),C9=function(){function e(t){Array.isArray(t)?this.ops=t:t!=null&&Array.isArray(t.ops)?this.ops=t.ops:this.ops=[]}return e.prototype.insert=function(t,n){var r={};return typeof t=="string"&&t.length===0?this:(r.insert=t,n!=null&&typeof n=="object"&&Object.keys(n).length>0&&(r.attributes=n),this.push(r))},e.prototype.delete=function(t){return t<=0?this:this.push({delete:t})},e.prototype.retain=function(t,n){if(t<=0)return this;var r={retain:t};return n!=null&&typeof n=="object"&&Object.keys(n).length>0&&(r.attributes=n),this.push(r)},e.prototype.push=function(t){var n=this.ops.length,r=this.ops[n-1];if(t=N9.default(t),typeof r=="object"){if(typeof t.delete=="number"&&typeof r.delete=="number")return this.ops[n-1]={delete:r.delete+t.delete},this;if(typeof r.delete=="number"&&t.insert!=null&&(n-=1,r=this.ops[n-1],typeof r!="object"))return this.ops.unshift(t),this;if(pf.default(t.attributes,r.attributes)){if(typeof t.insert=="string"&&typeof r.insert=="string")return this.ops[n-1]={insert:r.insert+t.insert},typeof t.attributes=="object"&&(this.ops[n-1].attributes=t.attributes),this;if(typeof t.retain=="number"&&typeof r.retain=="number")return this.ops[n-1]={retain:r.retain+t.retain},typeof t.attributes=="object"&&(this.ops[n-1].attributes=t.attributes),this}}return n===this.ops.length?this.ops.push(t):this.ops.splice(n,0,t),this},e.prototype.chop=function(){var t=this.ops[this.ops.length-1];return t&&t.retain&&!t.attributes&&this.ops.pop(),this},e.prototype.filter=function(t){return this.ops.filter(t)},e.prototype.forEach=function(t){this.ops.forEach(t)},e.prototype.map=function(t){return this.ops.map(t)},e.prototype.partition=function(t){var n=[],r=[];return this.forEach(function(i){var a=t(i)?n:r;a.push(i)}),[n,r]},e.prototype.reduce=function(t,n){return this.ops.reduce(t,n)},e.prototype.changeLength=function(){return this.reduce(function(t,n){return n.insert?t+Dt.default.length(n):n.delete?t-n.delete:t},0)},e.prototype.length=function(){return this.reduce(function(t,n){return t+Dt.default.length(n)},0)},e.prototype.slice=function(t,n){t===void 0&&(t=0),n===void 0&&(n=1/0);for(var r=[],i=Dt.default.iterator(this.ops),a=0;a<n&&i.hasNext();){var o=void 0;a<t?o=i.next(t-a):(o=i.next(n-a),r.push(o)),a+=Dt.default.length(o)}return new e(r)},e.prototype.compose=function(t){var n=Dt.default.iterator(this.ops),r=Dt.default.iterator(t.ops),i=[],a=r.peek();if(a!=null&&typeof a.retain=="number"&&a.attributes==null){for(var o=a.retain;n.peekType()==="insert"&&n.peekLength()<=o;)o-=n.peekLength(),i.push(n.next());a.retain-o>0&&r.next(a.retain-o)}for(var l=new e(i);n.hasNext()||r.hasNext();)if(r.peekType()==="insert")l.push(r.next());else if(n.peekType()==="delete")l.push(n.next());else{var s=Math.min(n.peekLength(),r.peekLength()),u=n.next(s),f=r.next(s);if(typeof f.retain=="number"){var c={};typeof u.retain=="number"?c.retain=s:c.insert=u.insert;var d=So.default.compose(u.attributes,f.attributes,typeof u.retain=="number");if(d&&(c.attributes=d),l.push(c),!r.hasNext()&&pf.default(l.ops[l.ops.length-1],c)){var h=new e(n.rest());return l.concat(h).chop()}}else typeof f.delete=="number"&&typeof u.retain=="number"&&l.push(f)}return l.chop()},e.prototype.concat=function(t){var n=new e(this.ops.slice());return t.ops.length>0&&(n.push(t.ops[0]),n.ops=n.ops.concat(t.ops.slice(1))),n},e.prototype.diff=function(t,n){if(this.ops===t.ops)return new e;var r=[this,t].map(function(s){return s.map(function(u){if(u.insert!=null)return typeof u.insert=="string"?u.insert:k9;var f=s===t?"on":"with";throw new Error("diff() called "+f+" non-document")}).join("")}),i=new e,a=Ns.default(r[0],r[1],n),o=Dt.default.iterator(this.ops),l=Dt.default.iterator(t.ops);return a.forEach(function(s){for(var u=s[1].length;u>0;){var f=0;switch(s[0]){case Ns.default.INSERT:f=Math.min(l.peekLength(),u),i.push(l.next(f));break;case Ns.default.DELETE:f=Math.min(u,o.peekLength()),o.next(f),i.delete(f);break;case Ns.default.EQUAL:f=Math.min(o.peekLength(),l.peekLength(),u);var c=o.next(f),d=l.next(f);pf.default(c.insert,d.insert)?i.retain(f,So.default.diff(c.attributes,d.attributes)):i.push(d).delete(f);break}u-=f}}),i.chop()},e.prototype.eachLine=function(t,n){n===void 0&&(n=`
846
846
  `);for(var r=Dt.default.iterator(this.ops),i=new e,a=0;r.hasNext();){if(r.peekType()!=="insert")return;var o=r.peek(),l=Dt.default.length(o)-r.peekLength(),s=typeof o.insert=="string"?o.insert.indexOf(n,l)-l:-1;if(s<0)i.push(r.next());else if(s>0)i.push(r.next(s));else{if(t(i,r.next(1).attributes||{},a)===!1)return;a+=1,i=new e}}i.length()>0&&t(i,{},a)},e.prototype.invert=function(t){var n=new e;return this.reduce(function(r,i){if(i.insert)n.delete(Dt.default.length(i));else{if(i.retain&&i.attributes==null)return n.retain(i.retain),r+i.retain;if(i.delete||i.retain&&i.attributes){var a=i.delete||i.retain,o=t.slice(r,r+a);return o.forEach(function(l){i.delete?n.push(l):i.retain&&i.attributes&&n.retain(Dt.default.length(l),So.default.invert(i.attributes,l.attributes))}),r+a}}return r},0),n.chop()},e.prototype.transform=function(t,n){if(n===void 0&&(n=!1),n=!!n,typeof t=="number")return this.transformPosition(t,n);for(var r=t,i=Dt.default.iterator(this.ops),a=Dt.default.iterator(r.ops),o=new e;i.hasNext()||a.hasNext();)if(i.peekType()==="insert"&&(n||a.peekType()!=="insert"))o.retain(Dt.default.length(i.next()));else if(a.peekType()==="insert")o.push(a.next());else{var l=Math.min(i.peekLength(),a.peekLength()),s=i.next(l),u=a.next(l);if(s.delete)continue;u.delete?o.push(u):o.retain(l,So.default.transform(s.attributes,u.attributes,n))}return o.chop()},e.prototype.transformPosition=function(t,n){n===void 0&&(n=!1),n=!!n;for(var r=Dt.default.iterator(this.ops),i=0;r.hasNext()&&i<=t;){var a=r.peekLength(),o=r.peekType();if(r.next(),o==="delete"){t-=Math.min(a,t-i);continue}else o==="insert"&&(i<t||!n)&&(t+=a);i+=a}return t},e.Op=Dt.default,e.AttributeMap=So.default,e}(),P9=C9;const L9=st.getDefaultExportFromCjs(P9);/*!
847
847
  * VueQuill @vueup/vue-quill v1.2.0
848
848
  * https://vueup.github.io/vue-quill/