@konnectio/core 4.0.50 → 4.0.51
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ActionField-39e6c889.cjs → ActionField-478027b3.cjs} +1 -1
- package/dist/{ActionField-fb5ffb32.js → ActionField-e9ca199c.js} +2 -2
- package/dist/ActionField-e9ca199c.js.br +0 -0
- package/dist/{AvailabilitySkeleton-d91210b3.cjs → AvailabilitySkeleton-566426af.cjs} +1 -1
- package/dist/{AvailabilitySkeleton-f03e6a50.js → AvailabilitySkeleton-e17caf62.js} +5 -5
- package/dist/AvailabilitySkeleton-e17caf62.js.br +0 -0
- package/dist/{CheckoutWindow-a69d22b3.cjs → CheckoutWindow-5f0acea5.cjs} +1 -1
- package/dist/{CheckoutWindow-8bced290.js → CheckoutWindow-98e3584c.js} +1 -1
- package/dist/CheckoutWindow-98e3584c.js.br +0 -0
- package/dist/{Container-874186cd.js → Container-a006e569.js} +1 -1
- package/dist/Container-a006e569.js.br +0 -0
- package/dist/{Container-fb6de649.cjs → Container-f044532f.cjs} +1 -1
- package/dist/{DateField.vue_vue_type_style_index_0_lang-41b6e822.js → DateField.vue_vue_type_style_index_0_lang-7b829d81.js} +1 -1
- package/dist/DateField.vue_vue_type_style_index_0_lang-7b829d81.js.br +0 -0
- package/dist/{DateField.vue_vue_type_style_index_0_lang-be78ff98.cjs → DateField.vue_vue_type_style_index_0_lang-82f7e9c7.cjs} +1 -1
- package/dist/{Field-e040d582.js → Field-1121f643.js} +2 -2
- package/dist/Field-1121f643.js.br +0 -0
- package/dist/{Field-a5dc118d.cjs → Field-2839d976.cjs} +1 -1
- package/dist/{NumberField.vue_vue_type_script_setup_true_lang-df441641.js → NumberField.vue_vue_type_script_setup_true_lang-3d0815e4.js} +1 -1
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-3d0815e4.js.br +0 -0
- package/dist/{NumberField.vue_vue_type_script_setup_true_lang-31f9b7e7.cjs → NumberField.vue_vue_type_script_setup_true_lang-fd01e54d.cjs} +1 -1
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-65a8059e.js → SelectField.vue_vue_type_style_index_0_lang-113f6c36.js} +1218 -1215
- package/dist/SelectField.vue_vue_type_style_index_0_lang-113f6c36.js.br +0 -0
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-8b4ca0fb.cjs → SelectField.vue_vue_type_style_index_0_lang-ab8bdbaa.cjs} +37 -37
- package/dist/{ThankYou-20aa47a1.cjs → ThankYou-6b839d4c.cjs} +7 -7
- package/dist/{ThankYou-1a6bb947.js → ThankYou-94db96aa.js} +350 -349
- package/dist/ThankYou-94db96aa.js.br +0 -0
- package/dist/{_-480802c4.cjs → _-8aaa6e92.cjs} +1 -1
- package/dist/{_-746de926.js → _-ef7cbf18.js} +1 -1
- package/dist/availability.cjs +1 -1
- package/dist/availability.js +8 -8
- package/dist/availability.js.br +0 -0
- package/dist/components/forms/ReservationForm.vue.d.ts +1 -1
- package/dist/{event-e76096c2.cjs → event-5fe26a0d.cjs} +1 -1
- package/dist/{event-53df7fad.js → event-f7f3ce58.js} +7 -7
- package/dist/event-f7f3ce58.js.br +0 -0
- package/dist/event.cjs +1 -1
- package/dist/event.js +8 -8
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.cjs +1 -1
- package/dist/gift-card-validation.js +4 -4
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.cjs +1 -1
- package/dist/gift-card.js +6 -6
- package/dist/gift-card.js.br +0 -0
- package/dist/hotel.cjs +1 -1
- package/dist/hotel.js +10 -10
- package/dist/hotel.js.br +0 -0
- package/dist/polyfill.cjs +1 -1
- package/dist/polyfill.js +1 -1
- package/dist/polyfill.js.br +0 -0
- package/dist/store/utilities.d.ts +4 -1
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/package.json +1 -1
- package/dist/ActionField-fb5ffb32.js.br +0 -0
- package/dist/AvailabilitySkeleton-f03e6a50.js.br +0 -0
- package/dist/CheckoutWindow-8bced290.js.br +0 -0
- package/dist/Container-874186cd.js.br +0 -0
- package/dist/DateField.vue_vue_type_style_index_0_lang-41b6e822.js.br +0 -0
- package/dist/Field-e040d582.js.br +0 -0
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-df441641.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-65a8059e.js.br +0 -0
- package/dist/ThankYou-1a6bb947.js.br +0 -0
- package/dist/event-53df7fad.js.br +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
"use strict";const it=require("./_commonjsHelpers-6763f629.cjs");function Bb(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 zb=()=>{},$b=Object.assign,Ub=Object.prototype.hasOwnProperty,sc=(e,t)=>Ub.call(e,t),jr=Array.isArray,Wl=e=>U2(e)==="[object Map]",Ph=e=>typeof e=="function",qb=e=>typeof e=="string",du=e=>typeof e=="symbol",Ps=e=>e!==null&&typeof e=="object",Kb=Object.prototype.toString,U2=e=>Kb.call(e),Wb=e=>U2(e).slice(8,-1),Ih=e=>qb(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Is=(e,t)=>!Object.is(e,t),Gb=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})};let vn;class hu{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 Rs(e){return new hu(e)}function q2(e,t=vn){t&&t.active&&t.effects.push(e)}function da(){return vn}function xs(e){vn&&vn.cleanups.push(e)}const Rh=e=>{const t=new Set(e);return t.w=0,t.n=0,t},K2=e=>(e.w&Ti)>0,W2=e=>(e.n&Ti)>0,Yb=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Ti},Xb=e=>{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r<t.length;r++){const i=t[r];K2(i)&&!W2(i)?i.delete(e):t[n++]=i,i.w&=~Ti,i.n&=~Ti}t.length=n}},lc=new WeakMap;let Da=0,Ti=1;const cd=30;let Bn;const ao=Symbol(""),ud=Symbol("");class co{constructor(t,n=null,r){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,q2(this,r)}run(){if(!this.active)return this.fn();let t=Bn,n=vi;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=Bn,Bn=this,vi=!0,Ti=1<<++Da,Da<=cd?Yb(this):Bp(this),this.fn()}finally{Da<=cd&&Xb(this),Ti=1<<--Da,Bn=this.parent,vi=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Bn===this?this.deferStop=!0:this.active&&(Bp(this),this.onStop&&this.onStop(),this.active=!1)}}function Bp(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}function G2(e,t){e.effect instanceof co&&(e=e.effect.fn);const n=new co(e);t&&($b(n,t),t.scope&&q2(n,t.scope)),(!t||!t.lazy)&&n.run();const r=n.run.bind(n);return r.effect=n,r}function Y2(e){e.effect.stop()}let vi=!0;const X2=[];function ha(){X2.push(vi),vi=!1}function pa(){const e=X2.pop();vi=e===void 0?!0:e}function hn(e,t,n){if(vi&&Bn){let r=lc.get(e);r||lc.set(e,r=new Map);let i=r.get(n);i||r.set(n,i=Rh()),J2(i)}}function J2(e,t){let n=!1;Da<=cd?W2(e)||(e.n|=Ti,n=!K2(e)):n=!e.has(Bn),n&&(e.add(Bn),Bn.deps.push(e))}function Fr(e,t,n,r,i,o){const a=lc.get(e);if(!a)return;let s=[];if(t==="clear")s=[...a.values()];else if(n==="length"&&jr(e)){const l=Number(r);a.forEach((u,d)=>{(d==="length"||!du(d)&&d>=l)&&s.push(u)})}else switch(n!==void 0&&s.push(a.get(n)),t){case"add":jr(e)?Ih(n)&&s.push(a.get("length")):(s.push(a.get(ao)),Wl(e)&&s.push(a.get(ud)));break;case"delete":jr(e)||(s.push(a.get(ao)),Wl(e)&&s.push(a.get(ud)));break;case"set":Wl(e)&&s.push(a.get(ao));break}if(s.length===1)s[0]&&fd(s[0]);else{const l=[];for(const u of s)u&&l.push(...u);fd(Rh(l))}}function fd(e,t){const n=jr(e)?e:[...e];for(const r of n)r.computed&&zp(r);for(const r of n)r.computed||zp(r)}function zp(e,t){(e!==Bn||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function Jb(e,t){var n;return(n=lc.get(e))==null?void 0:n.get(t)}const Zb=Bb("__proto__,__v_isRef,__isVue"),Z2=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(du)),$p=Qb();function Qb(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=Re(this);for(let o=0,a=this.length;o<a;o++)hn(r,"get",o+"");const i=r[t](...n);return i===-1||i===!1?r[t](...n.map(Re)):i}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){ha();const r=Re(this)[t].apply(this,n);return pa(),r}}),e}function e6(e){const t=Re(this);return hn(t,"has",e),t.hasOwnProperty(e)}class Q2{constructor(t=!1,n=!1){this._isReadonly=t,this._shallow=n}get(t,n,r){const i=this._isReadonly,o=this._shallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return o;if(n==="__v_raw"&&r===(i?o?og:ig:o?rg:ng).get(t))return t;const a=jr(t);if(!i){if(a&&sc($p,n))return Reflect.get($p,n,r);if(n==="hasOwnProperty")return e6}const s=Reflect.get(t,n,r);return(du(n)?Z2.has(n):Zb(n))||(i||hn(t,"get",n),o)?s:Ge(s)?a&&Ih(n)?s:s.value:Ps(s)?i?Ms(s):yo(s):s}}class eg extends Q2{constructor(t=!1){super(!1,t)}set(t,n,r,i){let o=t[n];if(wi(o)&&Ge(o)&&!Ge(r))return!1;if(!this._shallow&&(!Ko(r)&&!wi(r)&&(o=Re(o),r=Re(r)),!jr(t)&&Ge(o)&&!Ge(r)))return o.value=r,!0;const a=jr(t)&&Ih(n)?Number(n)<t.length:sc(t,n),s=Reflect.set(t,n,r,i);return t===Re(i)&&(a?Is(r,o)&&Fr(t,"set",n,r):Fr(t,"add",n,r)),s}deleteProperty(t,n){const r=sc(t,n);t[n];const i=Reflect.deleteProperty(t,n);return i&&r&&Fr(t,"delete",n,void 0),i}has(t,n){const r=Reflect.has(t,n);return(!du(n)||!Z2.has(n))&&hn(t,"has",n),r}ownKeys(t){return hn(t,"iterate",jr(t)?"length":ao),Reflect.ownKeys(t)}}class tg extends Q2{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const t6=new eg,n6=new tg,r6=new eg(!0),i6=new tg(!0),xh=e=>e,pu=e=>Reflect.getPrototypeOf(e);function dl(e,t,n=!1,r=!1){e=e.__v_raw;const i=Re(e),o=Re(t);n||(Is(t,o)&&hn(i,"get",t),hn(i,"get",o));const{has:a}=pu(i),s=r?xh:n?Dh:ts;if(a.call(i,t))return s(e.get(t));if(a.call(i,o))return s(e.get(o));e!==i&&e.get(t)}function hl(e,t=!1){const n=this.__v_raw,r=Re(n),i=Re(e);return t||(Is(e,i)&&hn(r,"has",e),hn(r,"has",i)),e===i?n.has(e):n.has(e)||n.has(i)}function pl(e,t=!1){return e=e.__v_raw,!t&&hn(Re(e),"iterate",ao),Reflect.get(e,"size",e)}function Up(e){e=Re(e);const t=Re(this);return pu(t).has.call(t,e)||(t.add(e),Fr(t,"add",e,e)),this}function qp(e,t){t=Re(t);const n=Re(this),{has:r,get:i}=pu(n);let o=r.call(n,e);o||(e=Re(e),o=r.call(n,e));const a=i.call(n,e);return n.set(e,t),o?Is(t,a)&&Fr(n,"set",e,t):Fr(n,"add",e,t),this}function Kp(e){const t=Re(this),{has:n,get:r}=pu(t);let i=n.call(t,e);i||(e=Re(e),i=n.call(t,e)),r&&r.call(t,e);const o=t.delete(e);return i&&Fr(t,"delete",e,void 0),o}function Wp(){const e=Re(this),t=e.size!==0,n=e.clear();return t&&Fr(e,"clear",void 0,void 0),n}function ml(e,t){return function(r,i){const o=this,a=o.__v_raw,s=Re(a),l=t?xh:e?Dh:ts;return!e&&hn(s,"iterate",ao),a.forEach((u,d)=>r.call(i,l(u),l(d),o))}}function gl(e,t,n){return function(...r){const i=this.__v_raw,o=Re(i),a=Wl(o),s=e==="entries"||e===Symbol.iterator&&a,l=e==="keys"&&a,u=i[e](...r),d=n?xh:t?Dh:ts;return!t&&hn(o,"iterate",l?ud:ao),{next(){const{value:c,done:f}=u.next();return f?{value:c,done:f}:{value:s?[d(c[0]),d(c[1])]:d(c),done:f}},[Symbol.iterator](){return this}}}}function ti(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function o6(){const e={get(o){return dl(this,o)},get size(){return pl(this)},has:hl,add:Up,set:qp,delete:Kp,clear:Wp,forEach:ml(!1,!1)},t={get(o){return dl(this,o,!1,!0)},get size(){return pl(this)},has:hl,add:Up,set:qp,delete:Kp,clear:Wp,forEach:ml(!1,!0)},n={get(o){return dl(this,o,!0)},get size(){return pl(this,!0)},has(o){return hl.call(this,o,!0)},add:ti("add"),set:ti("set"),delete:ti("delete"),clear:ti("clear"),forEach:ml(!0,!1)},r={get(o){return dl(this,o,!0,!0)},get size(){return pl(this,!0)},has(o){return hl.call(this,o,!0)},add:ti("add"),set:ti("set"),delete:ti("delete"),clear:ti("clear"),forEach:ml(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=gl(o,!1,!1),n[o]=gl(o,!0,!1),t[o]=gl(o,!1,!0),r[o]=gl(o,!0,!0)}),[e,n,t,r]}const[a6,s6,l6,c6]=o6();function mu(e,t){const n=t?e?c6:l6:e?s6:a6;return(r,i,o)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?r:Reflect.get(sc(n,i)&&i in r?n:r,i,o)}const u6={get:mu(!1,!1)},f6={get:mu(!1,!0)},d6={get:mu(!0,!1)},h6={get:mu(!0,!0)},ng=new WeakMap,rg=new WeakMap,ig=new WeakMap,og=new WeakMap;function p6(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function m6(e){return e.__v_skip||!Object.isExtensible(e)?0:p6(Wb(e))}function yo(e){return wi(e)?e:gu(e,!1,t6,u6,ng)}function Mh(e){return gu(e,!1,r6,f6,rg)}function Ms(e){return gu(e,!0,n6,d6,ig)}function ag(e){return gu(e,!0,i6,h6,og)}function gu(e,t,n,r,i){if(!Ps(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=i.get(e);if(o)return o;const a=m6(e);if(a===0)return e;const s=new Proxy(e,a===2?r:n);return i.set(e,s),s}function Kn(e){return wi(e)?Kn(e.__v_raw):!!(e&&e.__v_isReactive)}function wi(e){return!!(e&&e.__v_isReadonly)}function Ko(e){return!!(e&&e.__v_isShallow)}function vu(e){return Kn(e)||wi(e)}function Re(e){const t=e&&e.__v_raw;return t?Re(t):e}function ma(e){return Gb(e,"__v_skip",!0),e}const ts=e=>Ps(e)?yo(e):e,Dh=e=>Ps(e)?Ms(e):e;function Hh(e){vi&&Bn&&(e=Re(e),J2(e.dep||(e.dep=Rh())))}function yu(e,t){e=Re(e);const n=e.dep;n&&fd(n)}function Ge(e){return!!(e&&e.__v_isRef===!0)}function Te(e){return sg(e,!1)}function jh(e){return sg(e,!0)}function sg(e,t){return Ge(e)?e:new g6(e,t)}class g6{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Re(t),this._value=n?t:ts(t)}get value(){return Hh(this),this._value}set value(t){const n=this.__v_isShallow||Ko(t)||wi(t);t=n?t:Re(t),Is(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:ts(t),yu(this))}}function lg(e){yu(e)}function et(e){return Ge(e)?e.value:e}function cg(e){return Ph(e)?e():et(e)}const v6={get:(e,t,n)=>et(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const i=e[t];return Ge(i)&&!Ge(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function bu(e){return Kn(e)?e:new Proxy(e,v6)}class y6{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>Hh(this),()=>yu(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function ug(e){return new y6(e)}function Fh(e){const t=jr(e)?new Array(e.length):{};for(const n in e)t[n]=fg(e,n);return t}class b6{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 Jb(Re(this._object),this._key)}}class _6{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function _u(e,t,n){return Ge(e)?e:Ph(e)?new _6(e):Ps(e)&&arguments.length>1?fg(e,t,n):Te(e)}function fg(e,t,n){const r=e[t];return Ge(r)?r:new b6(e,t,n)}class E6{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 co(t,()=>{this._dirty||(this._dirty=!0,yu(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=r}get value(){const t=Re(this);return Hh(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function O6(e,t,n=!1){let r,i;const o=Ph(e);return o?(r=e,i=zb):(r=e.get,i=e.set),new E6(r,i,o||!i,n)}function dg(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={},Vo=[],pr=()=>{},T6=()=>!1,Eu=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),hg=e=>e.startsWith("onUpdate:"),xt=Object.assign,Vh=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},w6=Object.prototype.hasOwnProperty,Ke=(e,t)=>w6.call(e,t),Ce=Array.isArray,pg=e=>Ou(e)==="[object Map]",mg=e=>Ou(e)==="[object Set]",A6=e=>Ou(e)==="[object RegExp]",ke=e=>typeof e=="function",Ot=e=>typeof e=="string",pt=e=>e!==null&&typeof e=="object",Bh=e=>(pt(e)||ke(e))&&ke(e.then)&&ke(e.catch),gg=Object.prototype.toString,Ou=e=>gg.call(e),vg=e=>Ou(e)==="[object Object]",Va=dg(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Tu=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},S6=/-(\w)/g,Mn=Tu(e=>e.replace(S6,(t,n)=>n?n.toUpperCase():"")),N6=/\B([A-Z])/g,wu=Tu(e=>e.replace(N6,"-$1").toLowerCase()),Ds=Tu(e=>e.charAt(0).toUpperCase()+e.slice(1)),Bo=Tu(e=>e?`on${Ds(e)}`:""),dd=(e,t)=>!Object.is(e,t),Ba=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},hd=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},k6=e=>{const t=parseFloat(e);return isNaN(t)?e:t},C6=e=>{const t=Ot(e)?Number(e):NaN;return isNaN(t)?e:t};let Gp;const pd=()=>Gp||(Gp=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),L6="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",P6=dg(L6);function cn(e){if(Ce(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],i=Ot(r)?M6(r):cn(r);if(i)for(const o in i)t[o]=i[o]}return t}else if(Ot(e)||pt(e))return e}const I6=/;(?![^(]*\))/g,R6=/:([^]+)/,x6=/\/\*[^]*?\*\//g;function M6(e){const t={};return e.replace(x6,"").split(I6).forEach(n=>{if(n){const r=n.split(R6);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Pt(e){let t="";if(Ot(e))t=e;else if(Ce(e))for(let n=0;n<e.length;n++){const r=Pt(e[n]);r&&(t+=r+" ")}else if(pt(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function on(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Ot(t)&&(e.class=Pt(t)),n&&(e.style=cn(n)),e}const In=e=>Ot(e)?e:e==null?"":Ce(e)||pt(e)&&(e.toString===gg||!ke(e.toString))?JSON.stringify(e,yg,2):String(e),yg=(e,t)=>t&&t.__v_isRef?yg(e,t.value):pg(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,i])=>(n[`${r} =>`]=i,n),{})}:mg(t)?{[`Set(${t.size})`]:[...t.values()]}:pt(t)&&!Ce(t)&&!vg(t)?String(t):t;function bg(e,...t){}function _g(e,t){}function mr(e,t,n,r){let i;try{i=r?e(...r):e()}catch(o){Ii(o,t,n)}return i}function dn(e,t,n,r){if(ke(e)){const o=mr(e,t,n,r);return o&&Bh(o)&&o.catch(a=>{Ii(a,t,n)}),o}const i=[];for(let o=0;o<e.length;o++)i.push(dn(e[o],t,n,r));return i}function Ii(e,t,n,r=!0){const i=t?t.vnode:null;if(t){let o=t.parent;const a=t.proxy,s=n;for(;o;){const u=o.ec;if(u){for(let d=0;d<u.length;d++)if(u[d](e,a,s)===!1)return}o=o.parent}const l=t.appContext.config.errorHandler;if(l){mr(l,null,10,[e,a,s]);return}}D6(e,n,i,r)}function D6(e,t,n,r=!0){console.error(e)}let ns=!1,md=!1;const $t=[];let cr=0;const zo=[];let Rr=null,Zi=0;const Eg=Promise.resolve();let zh=null;function Dn(e){const t=zh||Eg;return e?t.then(this?e.bind(this):e):t}function H6(e){let t=cr+1,n=$t.length;for(;t<n;){const r=t+n>>>1,i=$t[r],o=is(i);o<e||o===e&&i.pre?t=r+1:n=r}return t}function Au(e){(!$t.length||!$t.includes(e,ns&&e.allowRecurse?cr+1:cr))&&(e.id==null?$t.push(e):$t.splice(H6(e.id),0,e),Og())}function Og(){!ns&&!md&&(md=!0,zh=Eg.then(Tg))}function j6(e){const t=$t.indexOf(e);t>cr&&$t.splice(t,1)}function rs(e){Ce(e)?zo.push(...e):(!Rr||!Rr.includes(e,e.allowRecurse?Zi+1:Zi))&&zo.push(e),Og()}function Yp(e,t=ns?cr+1:0){for(;t<$t.length;t++){const n=$t[t];n&&n.pre&&($t.splice(t,1),t--,n())}}function cc(e){if(zo.length){const t=[...new Set(zo)];if(zo.length=0,Rr){Rr.push(...t);return}for(Rr=t,Rr.sort((n,r)=>is(n)-is(r)),Zi=0;Zi<Rr.length;Zi++)Rr[Zi]();Rr=null,Zi=0}}const is=e=>e.id==null?1/0:e.id,F6=(e,t)=>{const n=is(e)-is(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Tg(e){md=!1,ns=!0,$t.sort(F6);const t=pr;try{for(cr=0;cr<$t.length;cr++){const n=$t[cr];n&&n.active!==!1&&mr(n,null,14)}}finally{cr=0,$t.length=0,cc(),ns=!1,zh=null,($t.length||zo.length)&&Tg()}}let Qi,vl=[];function $h(e,t){var n,r;Qi=e,Qi?(Qi.enabled=!0,vl.forEach(({event:i,args:o})=>Qi.emit(i,...o)),vl=[]):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(o=>{$h(o,t)}),setTimeout(()=>{Qi||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,vl=[])},3e3)):vl=[]}function V6(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Ye;let i=n;const o=t.startsWith("update:"),a=o&&t.slice(7);if(a&&a in r){const d=`${a==="modelValue"?"model":a}Modifiers`,{number:c,trim:f}=r[d]||Ye;f&&(i=n.map(p=>Ot(p)?p.trim():p)),c&&(i=n.map(k6))}let s,l=r[s=Bo(t)]||r[s=Bo(Mn(t))];!l&&o&&(l=r[s=Bo(wu(t))]),l&&dn(l,e,6,i);const u=r[s+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,dn(u,e,6,i)}}function wg(e,t,n=!1){const r=t.emitsCache,i=r.get(e);if(i!==void 0)return i;const o=e.emits;let a={},s=!1;if(!ke(e)){const l=u=>{const d=wg(u,t,!0);d&&(s=!0,xt(a,d))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!o&&!s?(pt(e)&&r.set(e,null),null):(Ce(o)?o.forEach(l=>a[l]=null):xt(a,o),pt(e)&&r.set(e,a),a)}function Su(e,t){return!e||!Eu(t)?!1:(t=t.slice(2).replace(/Once$/,""),Ke(e,t[0].toLowerCase()+t.slice(1))||Ke(e,wu(t))||Ke(e,t))}let Lt=null,Nu=null;function os(e){const t=Lt;return Lt=e,Nu=e&&e.type.__scopeId||null,t}function ku(e){Nu=e}function Cu(){Nu=null}const Uh=e=>gr;function gr(e,t=Lt,n){if(!t||e._n)return e;const r=(...i)=>{r._d&&dc(-1);const o=os(t);let a;try{a=e(...i)}finally{os(o),r._d&&dc(1)}return a};return r._n=!0,r._c=!0,r._d=!0,r}function Gl(e){const{type:t,vnode:n,proxy:r,withProxy:i,props:o,propsOptions:[a],slots:s,attrs:l,emit:u,render:d,renderCache:c,data:f,setupState:p,ctx:y,inheritAttrs:v}=e;let _,m;const g=os(e);try{if(n.shapeFlag&4){const h=i||r,E=h;_=yn(d.call(E,h,c,o,p,f,y)),m=l}else{const h=t;_=yn(h.length>1?h(o,{attrs:l,slots:s,emit:u}):h(o,null)),m=t.props?l:z6(l)}}catch(h){Ua.length=0,Ii(h,e,1),_=Ve(It)}let b=_;if(m&&v!==!1){const h=Object.keys(m),{shapeFlag:E}=b;h.length&&E&7&&(a&&h.some(hg)&&(m=$6(m,a)),b=Gn(b,m))}return n.dirs&&(b=Gn(b),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&(b.transition=n.transition),_=b,os(g),_}function B6(e){let t;for(let n=0;n<e.length;n++){const r=e[n];if($r(r)){if(r.type!==It||r.children==="v-if"){if(t)return;t=r}}else return}return t}const z6=e=>{let t;for(const n in e)(n==="class"||n==="style"||Eu(n))&&((t||(t={}))[n]=e[n]);return t},$6=(e,t)=>{const n={};for(const r in e)(!hg(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function U6(e,t,n){const{props:r,children:i,component:o}=e,{props:a,children:s,patchFlag:l}=t,u=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?Xp(r,a,u):!!a;if(l&8){const d=t.dynamicProps;for(let c=0;c<d.length;c++){const f=d[c];if(a[f]!==r[f]&&!Su(u,f))return!0}}}else return(i||s)&&(!s||!s.$stable)?!0:r===a?!1:r?a?Xp(r,a,u):!0:!!a;return!1}function Xp(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 o=r[i];if(t[o]!==e[o]&&!Su(n,o))return!0}return!1}function qh({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const Kh="components",q6="directives";function Wh(e,t){return Gh(Kh,e,!0,t)||e}const Ag=Symbol.for("v-ndc");function $o(e){return Ot(e)?Gh(Kh,e,!1)||e:e||Ag}function Lu(e){return Gh(q6,e)}function Gh(e,t,n=!0,r=!1){const i=Lt||dt;if(i){const o=i.type;if(e===Kh){const s=wd(o,!1);if(s&&(s===t||s===Mn(t)||s===Ds(Mn(t))))return o}const a=Jp(i[e]||o[e],t)||Jp(i.appContext[e],t);return!a&&r?o:a}}function Jp(e,t){return e&&(e[t]||e[Mn(t)]||e[Ds(Mn(t))])}const Sg=e=>e.__isSuspense,K6={name:"Suspense",__isSuspense:!0,process(e,t,n,r,i,o,a,s,l,u){e==null?W6(t,n,r,i,o,a,s,l,u):G6(e,t,n,r,i,a,s,l,u)},hydrate:Y6,create:Xh,normalize:X6},Yh=K6;function as(e,t){const n=e.props&&e.props[t];ke(n)&&n()}function W6(e,t,n,r,i,o,a,s,l){const{p:u,o:{createElement:d}}=l,c=d("div"),f=e.suspense=Xh(e,i,r,t,c,n,o,a,s,l);u(null,f.pendingBranch=e.ssContent,c,null,r,f,o,a),f.deps>0?(as(e,"onPending"),as(e,"onFallback"),u(null,e.ssFallback,t,n,r,null,o,a),Uo(f,e.ssFallback)):f.resolve(!1,!0)}function G6(e,t,n,r,i,o,a,s,{p:l,um:u,o:{createElement:d}}){const c=t.suspense=e.suspense;c.vnode=t,t.el=e.el;const f=t.ssContent,p=t.ssFallback,{activeBranch:y,pendingBranch:v,isInFallback:_,isHydrating:m}=c;if(v)c.pendingBranch=f,zn(f,v)?(l(v,f,c.hiddenContainer,null,i,c,o,a,s),c.deps<=0?c.resolve():_&&(l(y,p,n,r,i,null,o,a,s),Uo(c,p))):(c.pendingId++,m?(c.isHydrating=!1,c.activeBranch=v):u(v,i,c),c.deps=0,c.effects.length=0,c.hiddenContainer=d("div"),_?(l(null,f,c.hiddenContainer,null,i,c,o,a,s),c.deps<=0?c.resolve():(l(y,p,n,r,i,null,o,a,s),Uo(c,p))):y&&zn(f,y)?(l(y,f,n,r,i,c,o,a,s),c.resolve(!0)):(l(null,f,c.hiddenContainer,null,i,c,o,a,s),c.deps<=0&&c.resolve()));else if(y&&zn(f,y))l(y,f,n,r,i,c,o,a,s),Uo(c,f);else if(as(t,"onPending"),c.pendingBranch=f,c.pendingId++,l(null,f,c.hiddenContainer,null,i,c,o,a,s),c.deps<=0)c.resolve();else{const{timeout:g,pendingId:b}=c;g>0?setTimeout(()=>{c.pendingId===b&&c.fallback(p)},g):g===0&&c.fallback(p)}}function Xh(e,t,n,r,i,o,a,s,l,u,d=!1){const{p:c,m:f,um:p,n:y,o:{parentNode:v,remove:_}}=u;let m;const g=J6(e);g&&t?.pendingBranch&&(m=t.pendingId,t.deps++);const b=e.props?C6(e.props.timeout):void 0,h={vnode:e,parent:t,parentComponent:n,isSVG:a,container:r,hiddenContainer:i,anchor:o,deps:0,pendingId:0,timeout:typeof b=="number"?b:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:d,isUnmounted:!1,effects:[],resolve(E=!1,k=!1){const{vnode:T,activeBranch:A,pendingBranch:C,pendingId:N,effects:O,parentComponent:S,container:L}=h;let R=!1;if(h.isHydrating)h.isHydrating=!1;else if(!E){R=A&&C.transition&&C.transition.mode==="out-in",R&&(A.transition.afterLeave=()=>{N===h.pendingId&&(f(C,L,y(A),0),rs(O))});let{anchor:K}=h;A&&(K=y(A),p(A,S,h,!0)),R||f(C,L,K,0)}Uo(h,C),h.pendingBranch=null,h.isInFallback=!1;let D=h.parent,B=!1;for(;D;){if(D.pendingBranch){D.effects.push(...O),B=!0;break}D=D.parent}!B&&!R&&rs(O),h.effects=[],g&&t&&t.pendingBranch&&m===t.pendingId&&(t.deps--,t.deps===0&&!k&&t.resolve()),as(T,"onResolve")},fallback(E){if(!h.pendingBranch)return;const{vnode:k,activeBranch:T,parentComponent:A,container:C,isSVG:N}=h;as(k,"onFallback");const O=()=>{h.isInFallback&&(c(null,E,C,y(T),A,null,N,s,l),Uo(h,E))},S=E.transition&&E.transition.mode==="out-in";S&&(T.transition.afterLeave=O),h.isInFallback=!0,p(T,A,null,!0),S||O()},move(E,k,T){h.activeBranch&&f(h.activeBranch,E,k,T),h.container=E},next(){return h.activeBranch&&y(h.activeBranch)},registerDep(E,k){const T=!!h.pendingBranch;T&&h.deps++;const A=E.vnode.el;E.asyncDep.catch(C=>{Ii(C,E,0)}).then(C=>{if(E.isUnmounted||h.isUnmounted||h.pendingId!==E.suspenseId)return;E.asyncResolved=!0;const{vnode:N}=E;Od(E,C,!1),A&&(N.el=A);const O=!A&&E.subTree.el;k(E,N,v(A||E.subTree.el),A?null:y(E.subTree),h,a,l),O&&_(O),qh(E,N.el),T&&--h.deps===0&&h.resolve()})},unmount(E,k){h.isUnmounted=!0,h.activeBranch&&p(h.activeBranch,n,E,k),h.pendingBranch&&p(h.pendingBranch,n,E,k)}};return h}function Y6(e,t,n,r,i,o,a,s,l){const u=t.suspense=Xh(t,r,n,e.parentNode,document.createElement("div"),null,i,o,a,s,!0),d=l(e,u.pendingBranch=t.ssContent,n,u,o,a);return u.deps===0&&u.resolve(!1,!0),d}function X6(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=Zp(r?n.default:n),e.ssFallback=r?Zp(n.fallback):Ve(It)}function Zp(e){let t;if(ke(e)){const n=fo&&e._c;n&&(e._d=!1,Se()),e=e(),n&&(e._d=!0,t=un,ov())}return Ce(e)&&(e=B6(e)),e=yn(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Ng(e,t){t&&t.pendingBranch?Ce(e)?t.effects.push(...e):t.effects.push(e):rs(e)}function Uo(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e,i=n.el=t.el;r&&r.subTree===n&&(r.vnode.el=i,qh(r,i))}function J6(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}function kg(e,t){return Hs(e,null,t)}function Jh(e,t){return Hs(e,null,{flush:"post"})}function Cg(e,t){return Hs(e,null,{flush:"sync"})}const yl={};function ht(e,t,n){return Hs(e,t,n)}function Hs(e,t,{immediate:n,deep:r,flush:i,onTrack:o,onTrigger:a}=Ye){var s;const l=da()===((s=dt)==null?void 0:s.scope)?dt:null;let u,d=!1,c=!1;if(Ge(e)?(u=()=>e.value,d=Ko(e)):Kn(e)?(u=()=>e,r=!0):Ce(e)?(c=!0,d=e.some(h=>Kn(h)||Ko(h)),u=()=>e.map(h=>{if(Ge(h))return h.value;if(Kn(h))return to(h);if(ke(h))return mr(h,l,2)})):ke(e)?t?u=()=>mr(e,l,2):u=()=>{if(!(l&&l.isUnmounted))return f&&f(),dn(e,l,3,[p])}:u=pr,t&&r){const h=u;u=()=>to(h())}let f,p=h=>{f=g.onStop=()=>{mr(h,l,4),f=g.onStop=void 0}},y;if(Wo)if(p=pr,t?n&&dn(t,l,3,[u(),c?[]:void 0,p]):u(),i==="sync"){const h=E1();y=h.__watcherHandles||(h.__watcherHandles=[])}else return pr;let v=c?new Array(e.length).fill(yl):yl;const _=()=>{if(g.active)if(t){const h=g.run();(r||d||(c?h.some((E,k)=>dd(E,v[k])):dd(h,v)))&&(f&&f(),dn(t,l,3,[h,v===yl?void 0:c&&v[0]===yl?[]:v,p]),v=h)}else g.run()};_.allowRecurse=!!t;let m;i==="sync"?m=_:i==="post"?m=()=>jt(_,l&&l.suspense):(_.pre=!0,l&&(_.id=l.uid),m=()=>Au(_));const g=new co(u,m);t?n?_():v=g.run():i==="post"?jt(g.run.bind(g),l&&l.suspense):g.run();const b=()=>{g.stop(),l&&l.scope&&Vh(l.scope.effects,g)};return y&&y.push(b),b}function Z6(e,t,n){const r=this.proxy,i=Ot(e)?e.includes(".")?Lg(r,e):()=>r[e]:e.bind(r,r);let o;ke(t)?o=t:(o=t.handler,n=t);const a=dt;Si(this);const s=Hs(i,o.bind(r),n);return a?Si(a):_i(),s}function Lg(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 to(e,t){if(!pt(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),Ge(e))to(e.value,t);else if(Ce(e))for(let n=0;n<e.length;n++)to(e[n],t);else if(mg(e)||pg(e))e.forEach(n=>{to(n,t)});else if(vg(e))for(const n in e)to(e[n],t);return e}function yi(e,t){const n=Lt;if(n===null)return e;const r=Hu(n)||n.proxy,i=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[a,s,l,u=Ye]=t[o];a&&(ke(a)&&(a={mounted:a,updated:a}),a.deep&&to(s),i.push({dir:a,instance:r,value:s,oldValue:void 0,arg:l,modifiers:u}))}return e}function lr(e,t,n,r){const i=e.dirs,o=t&&t.dirs;for(let a=0;a<i.length;a++){const s=i[a];o&&(s.oldValue=o[a].value);let l=s.dir[r];l&&(ha(),dn(l,n,8,[e.el,s,e,t]),pa())}}const fi=Symbol("_leaveCb"),bl=Symbol("_enterCb");function Pu(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Fn(()=>{e.isMounted=!0}),bo(()=>{e.isUnmounting=!0}),e}const An=[Function,Array],Iu={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},Q6={name:"BaseTransition",props:Iu,setup(e,{slots:t}){const n=Qt(),r=Pu();let i;return()=>{const o=t.default&&js(t.default(),!0);if(!o||!o.length)return;let a=o[0];if(o.length>1){for(const v of o)if(v.type!==It){a=v;break}}const s=Re(e),{mode:l}=s;if(r.isLeaving)return Pf(a);const u=Qp(a);if(!u)return Pf(a);const d=uo(u,s,r,n);Ai(u,d);const c=n.subTree,f=c&&Qp(c);let p=!1;const{getTransitionKey:y}=u.type;if(y){const v=y();i===void 0?i=v:v!==i&&(i=v,p=!0)}if(f&&f.type!==It&&(!zn(u,f)||p)){const v=uo(f,s,r,n);if(Ai(f,v),l==="out-in")return r.isLeaving=!0,v.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&n.update()},Pf(a);l==="in-out"&&u.type!==It&&(v.delayLeave=(_,m,g)=>{const b=Pg(r,f);b[String(f.key)]=f,_[fi]=()=>{m(),_[fi]=void 0,delete d.delayedLeave},d.delayedLeave=g})}return a}}},Zh=Q6;function Pg(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 uo(e,t,n,r){const{appear:i,mode:o,persisted:a=!1,onBeforeEnter:s,onEnter:l,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:c,onLeave:f,onAfterLeave:p,onLeaveCancelled:y,onBeforeAppear:v,onAppear:_,onAfterAppear:m,onAppearCancelled:g}=t,b=String(e.key),h=Pg(n,e),E=(A,C)=>{A&&dn(A,r,9,C)},k=(A,C)=>{const N=C[1];E(A,C),Ce(A)?A.every(O=>O.length<=1)&&N():A.length<=1&&N()},T={mode:o,persisted:a,beforeEnter(A){let C=s;if(!n.isMounted)if(i)C=v||s;else return;A[fi]&&A[fi](!0);const N=h[b];N&&zn(e,N)&&N.el[fi]&&N.el[fi](),E(C,[A])},enter(A){let C=l,N=u,O=d;if(!n.isMounted)if(i)C=_||l,N=m||u,O=g||d;else return;let S=!1;const L=A[bl]=R=>{S||(S=!0,R?E(O,[A]):E(N,[A]),T.delayedLeave&&T.delayedLeave(),A[bl]=void 0)};C?k(C,[A,L]):L()},leave(A,C){const N=String(e.key);if(A[bl]&&A[bl](!0),n.isUnmounting)return C();E(c,[A]);let O=!1;const S=A[fi]=L=>{O||(O=!0,C(),L?E(y,[A]):E(p,[A]),A[fi]=void 0,h[N]===e&&delete h[N])};h[N]=e,f?k(f,[A,S]):S()},clone(A){return uo(A,t,n,r)}};return T}function Pf(e){if(Fs(e))return e=Gn(e),e.children=null,e}function Qp(e){return Fs(e)?e.children?e.children[0]:void 0:e}function Ai(e,t){e.shapeFlag&6&&e.component?Ai(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 js(e,t=!1,n){let r=[],i=0;for(let o=0;o<e.length;o++){let a=e[o];const s=n==null?a.key:String(n)+String(a.key!=null?a.key:o);a.type===tt?(a.patchFlag&128&&i++,r=r.concat(js(a.children,t,s))):(t||a.type!==It)&&r.push(s!=null?Gn(a,{key:s}):a)}if(i>1)for(let o=0;o<r.length;o++)r[o].patchFlag=-2;return r}/*! #__NO_SIDE_EFFECTS__ */function wt(e,t){return ke(e)?(()=>xt({name:e.name},t,{setup:e}))():e}const so=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function Ig(e){ke(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:i=200,timeout:o,suspensible:a=!0,onError:s}=e;let l=null,u,d=0;const c=()=>(d++,l=null,f()),f=()=>{let p;return l||(p=l=t().catch(y=>{if(y=y instanceof Error?y:new Error(String(y)),s)return new Promise((v,_)=>{s(y,()=>v(c()),()=>_(y),d+1)});throw y}).then(y=>p!==l&&l?l:(y&&(y.__esModule||y[Symbol.toStringTag]==="Module")&&(y=y.default),u=y,y)))};return wt({name:"AsyncComponentWrapper",__asyncLoader:f,get __asyncResolved(){return u},setup(){const p=dt;if(u)return()=>If(u,p);const y=g=>{l=null,Ii(g,p,13,!r)};if(a&&p.suspense||Wo)return f().then(g=>()=>If(g,p)).catch(g=>(y(g),()=>r?Ve(r,{error:g}):null));const v=Te(!1),_=Te(),m=Te(!!i);return i&&setTimeout(()=>{m.value=!1},i),o!=null&&setTimeout(()=>{if(!v.value&&!_.value){const g=new Error(`Async component timed out after ${o}ms.`);y(g),_.value=g}},o),f().then(()=>{v.value=!0,p.parent&&Fs(p.parent.vnode)&&Au(p.parent.update)}).catch(g=>{y(g),_.value=g}),()=>{if(v.value&&u)return If(u,p);if(_.value&&r)return Ve(r,{error:_.value});if(n&&!m.value)return Ve(n)}}})}function If(e,t){const{ref:n,props:r,children:i,ce:o}=t.vnode,a=Ve(e,r,i);return a.ref=n,a.ce=o,delete t.vnode.ce,a}const Fs=e=>e.type.__isKeepAlive,e3={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Qt(),r=n.ctx;if(!r.renderer)return()=>{const g=t.default&&t.default();return g&&g.length===1?g[0]:g};const i=new Map,o=new Set;let a=null;const s=n.suspense,{renderer:{p:l,m:u,um:d,o:{createElement:c}}}=r,f=c("div");r.activate=(g,b,h,E,k)=>{const T=g.component;u(g,b,h,0,s),l(T.vnode,g,b,h,T,s,E,g.slotScopeIds,k),jt(()=>{T.isDeactivated=!1,T.a&&Ba(T.a);const A=g.props&&g.props.onVnodeMounted;A&&sn(A,T.parent,g)},s)},r.deactivate=g=>{const b=g.component;u(g,f,null,1,s),jt(()=>{b.da&&Ba(b.da);const h=g.props&&g.props.onVnodeUnmounted;h&&sn(h,b.parent,g),b.isDeactivated=!0},s)};function p(g){Rf(g),d(g,n,s,!0)}function y(g){i.forEach((b,h)=>{const E=wd(b.type);E&&(!g||!g(E))&&v(h)})}function v(g){const b=i.get(g);!a||!zn(b,a)?p(b):a&&Rf(a),i.delete(g),o.delete(g)}ht(()=>[e.include,e.exclude],([g,b])=>{g&&y(h=>Ha(g,h)),b&&y(h=>!Ha(b,h))},{flush:"post",deep:!0});let _=null;const m=()=>{_!=null&&i.set(_,xf(n.subTree))};return Fn(m),Vs(m),bo(()=>{i.forEach(g=>{const{subTree:b,suspense:h}=n,E=xf(b);if(g.type===E.type&&g.key===E.key){Rf(E);const k=E.component.da;k&&jt(k,h);return}p(g)})}),()=>{if(_=null,!t.default)return null;const g=t.default(),b=g[0];if(g.length>1)return a=null,g;if(!$r(b)||!(b.shapeFlag&4)&&!(b.shapeFlag&128))return a=null,b;let h=xf(b);const E=h.type,k=wd(so(h)?h.type.__asyncResolved||{}:E),{include:T,exclude:A,max:C}=e;if(T&&(!k||!Ha(T,k))||A&&k&&Ha(A,k))return a=h,b;const N=h.key==null?E:h.key,O=i.get(N);return h.el&&(h=Gn(h),b.shapeFlag&128&&(b.ssContent=h)),_=N,O?(h.el=O.el,h.component=O.component,h.transition&&Ai(h,h.transition),h.shapeFlag|=512,o.delete(N),o.add(N)):(o.add(N),C&&o.size>parseInt(C,10)&&v(o.values().next().value)),h.shapeFlag|=256,a=h,Sg(b.type)?b:h}}},Rg=e3;function Ha(e,t){return Ce(e)?e.some(n=>Ha(n,t)):Ot(e)?e.split(",").includes(t):A6(e)?e.test(t):!1}function Qh(e,t){xg(e,"a",t)}function e1(e,t){xg(e,"da",t)}function xg(e,t,n=dt){const r=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(Ru(t,r,n),n){let i=n.parent;for(;i&&i.parent;)Fs(i.parent.vnode)&&t3(r,t,n,i),i=i.parent}}function t3(e,t,n,r){const i=Ru(t,e,r,!0);_o(()=>{Vh(r[t],i)},n)}function Rf(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function xf(e){return e.shapeFlag&128?e.ssContent:e}function Ru(e,t,n=dt,r=!1){if(n){const i=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...a)=>{if(n.isUnmounted)return;ha(),Si(n);const s=dn(t,n,e,a);return _i(),pa(),s});return r?i.unshift(o):i.push(o),o}}const Xr=e=>(t,n=dt)=>(!Wo||e==="sp")&&Ru(e,(...r)=>t(...r),n),xu=Xr("bm"),Fn=Xr("m"),Mu=Xr("bu"),Vs=Xr("u"),bo=Xr("bum"),_o=Xr("um"),t1=Xr("sp"),n1=Xr("rtg"),r1=Xr("rtc");function i1(e,t=dt){Ru("ec",e,t)}function ss(e,t,n,r){let i;const o=n&&n[r];if(Ce(e)||Ot(e)){i=new Array(e.length);for(let a=0,s=e.length;a<s;a++)i[a]=t(e[a],a,void 0,o&&o[a])}else if(typeof e=="number"){i=new Array(e);for(let a=0;a<e;a++)i[a]=t(a+1,a,void 0,o&&o[a])}else if(pt(e))if(e[Symbol.iterator])i=Array.from(e,(a,s)=>t(a,s,void 0,o&&o[s]));else{const a=Object.keys(e);i=new Array(a.length);for(let s=0,l=a.length;s<l;s++){const u=a[s];i[s]=t(e[u],u,s,o&&o[s])}}else i=[];return n&&(n[r]=i),i}function o1(e,t){for(let n=0;n<t.length;n++){const r=t[n];if(Ce(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 o=r.fn(...i);return o&&(o.key=r.key),o}:r.fn)}return e}function St(e,t,n={},r,i){if(Lt.isCE||Lt.parent&&so(Lt.parent)&&Lt.parent.isCE)return t!=="default"&&(n.name=t),Ve("slot",n,r&&r());let o=e[t];o&&o._c&&(o._d=!1),Se();const a=o&&Mg(o(n)),s=qt(tt,{key:n.key||a&&a.key||`_${t}`},a||(r?r():[]),a&&e._===1?64:-2);return!i&&s.scopeId&&(s.slotScopeIds=[s.scopeId+"-s"]),o&&o._c&&(o._d=!0),s}function Mg(e){return e.some(t=>$r(t)?!(t.type===It||t.type===tt&&!Mg(t.children)):!0)?e:null}function a1(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:Bo(r)]=e[r];return n}const gd=e=>e?fv(e)?Hu(e)||e.proxy:gd(e.parent):null,za=xt(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=>gd(e.parent),$root:e=>gd(e.root),$emit:e=>e.emit,$options:e=>c1(e),$forceUpdate:e=>e.f||(e.f=()=>Au(e.update)),$nextTick:e=>e.n||(e.n=Dn.bind(e.proxy)),$watch:e=>Z6.bind(e)}),Mf=(e,t)=>e!==Ye&&!e.__isScriptSetup&&Ke(e,t),vd={get({_:e},t){const{ctx:n,setupState:r,data:i,props:o,accessCache:a,type:s,appContext:l}=e;let u;if(t[0]!=="$"){const p=a[t];if(p!==void 0)switch(p){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return o[t]}else{if(Mf(r,t))return a[t]=1,r[t];if(i!==Ye&&Ke(i,t))return a[t]=2,i[t];if((u=e.propsOptions[0])&&Ke(u,t))return a[t]=3,o[t];if(n!==Ye&&Ke(n,t))return a[t]=4,n[t];yd&&(a[t]=0)}}const d=za[t];let c,f;if(d)return t==="$attrs"&&hn(e,"get",t),d(e);if((c=s.__cssModules)&&(c=c[t]))return c;if(n!==Ye&&Ke(n,t))return a[t]=4,n[t];if(f=l.config.globalProperties,Ke(f,t))return f[t]},set({_:e},t,n){const{data:r,setupState:i,ctx:o}=e;return Mf(i,t)?(i[t]=n,!0):r!==Ye&&Ke(r,t)?(r[t]=n,!0):Ke(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,propsOptions:o}},a){let s;return!!n[a]||e!==Ye&&Ke(e,a)||Mf(t,a)||(s=o[0])&&Ke(s,a)||Ke(r,a)||Ke(za,a)||Ke(i.config.globalProperties,a)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Ke(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},n3=xt({},vd,{get(e,t){if(t!==Symbol.unscopables)return vd.get(e,t,e)},has(e,t){return t[0]!=="_"&&!P6(t)}});function Dg(){return null}function Hg(){return null}function jg(e){}function Fg(e){}function Vg(){return null}function Bg(){}function zg(e,t){return null}function s1(){return qg().slots}function $g(){return qg().attrs}function Ug(e,t,n){const r=Qt();if(n&&n.local){const i=Te(e[t]);return ht(()=>e[t],o=>i.value=o),ht(i,o=>{o!==e[t]&&r.emit(`update:${t}`,o)}),i}else return{__v_isRef:!0,get value(){return e[t]},set value(i){r.emit(`update:${t}`,i)}}}function qg(){const e=Qt();return e.setupContext||(e.setupContext=mv(e))}function ls(e){return Ce(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Kg(e,t){const n=ls(e);for(const r in t){if(r.startsWith("__skip"))continue;let i=n[r];i?Ce(i)||ke(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 Wg(e,t){return!e||!t?e||t:Ce(e)&&Ce(t)?e.concat(t):xt({},ls(e),ls(t))}function Gg(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function l1(e){const t=Qt();let n=e();return _i(),Bh(n)&&(n=n.catch(r=>{throw Si(t),r})),[n,()=>Si(t)]}let yd=!0;function r3(e){const t=c1(e),n=e.proxy,r=e.ctx;yd=!1,t.beforeCreate&&em(t.beforeCreate,e,"bc");const{data:i,computed:o,methods:a,watch:s,provide:l,inject:u,created:d,beforeMount:c,mounted:f,beforeUpdate:p,updated:y,activated:v,deactivated:_,beforeDestroy:m,beforeUnmount:g,destroyed:b,unmounted:h,render:E,renderTracked:k,renderTriggered:T,errorCaptured:A,serverPrefetch:C,expose:N,inheritAttrs:O,components:S,directives:L,filters:R}=t;if(u&&i3(u,r,null),a)for(const K in a){const re=a[K];ke(re)&&(r[K]=re.bind(n))}if(i){const K=i.call(n,n);pt(K)&&(e.data=yo(K))}if(yd=!0,o)for(const K in o){const re=o[K],Y=ke(re)?re.bind(n,n):ke(re.get)?re.get.bind(n,n):pr,j=!ke(re)&&ke(re.set)?re.set.bind(n):pr,I=de({get:Y,set:j});Object.defineProperty(r,K,{enumerable:!0,configurable:!0,get:()=>I.value,set:F=>I.value=F})}if(s)for(const K in s)Yg(s[K],r,n,K);if(l){const K=ke(l)?l.call(n):l;Reflect.ownKeys(K).forEach(re=>{u1(re,K[re])})}d&&em(d,e,"c");function B(K,re){Ce(re)?re.forEach(Y=>K(Y.bind(n))):re&&K(re.bind(n))}if(B(xu,c),B(Fn,f),B(Mu,p),B(Vs,y),B(Qh,v),B(e1,_),B(i1,A),B(r1,k),B(n1,T),B(bo,g),B(_o,h),B(t1,C),Ce(N))if(N.length){const K=e.exposed||(e.exposed={});N.forEach(re=>{Object.defineProperty(K,re,{get:()=>n[re],set:Y=>n[re]=Y})})}else e.exposed||(e.exposed={});E&&e.render===pr&&(e.render=E),O!=null&&(e.inheritAttrs=O),S&&(e.components=S),L&&(e.directives=L)}function i3(e,t,n=pr){Ce(e)&&(e=bd(e));for(const r in e){const i=e[r];let o;pt(i)?"default"in i?o=Vr(i.from||r,i.default,!0):o=Vr(i.from||r):o=Vr(i),Ge(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:a=>o.value=a}):t[r]=o}}function em(e,t,n){dn(Ce(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Yg(e,t,n,r){const i=r.includes(".")?Lg(n,r):()=>n[r];if(Ot(e)){const o=t[e];ke(o)&&ht(i,o)}else if(ke(e))ht(i,e.bind(n));else if(pt(e))if(Ce(e))e.forEach(o=>Yg(o,t,n,r));else{const o=ke(e.handler)?e.handler.bind(n):t[e.handler];ke(o)&&ht(i,o,e)}}function c1(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:o,config:{optionMergeStrategies:a}}=e.appContext,s=o.get(t);let l;return s?l=s:!i.length&&!n&&!r?l=t:(l={},i.length&&i.forEach(u=>uc(l,u,a,!0)),uc(l,t,a)),pt(t)&&o.set(t,l),l}function uc(e,t,n,r=!1){const{mixins:i,extends:o}=t;o&&uc(e,o,n,!0),i&&i.forEach(a=>uc(e,a,n,!0));for(const a in t)if(!(r&&a==="expose")){const s=o3[a]||n&&n[a];e[a]=s?s(e[a],t[a]):t[a]}return e}const o3={data:tm,props:nm,emits:nm,methods:ja,computed:ja,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:ja,directives:ja,watch:s3,provide:tm,inject:a3};function tm(e,t){return t?e?function(){return xt(ke(e)?e.call(this,this):e,ke(t)?t.call(this,this):t)}:t:e}function a3(e,t){return ja(bd(e),bd(t))}function bd(e){if(Ce(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 ja(e,t){return e?xt(Object.create(null),e,t):t}function nm(e,t){return e?Ce(e)&&Ce(t)?[...new Set([...e,...t])]:xt(Object.create(null),ls(e),ls(t??{})):t}function s3(e,t){if(!e)return t;if(!t)return e;const n=xt(Object.create(null),e);for(const r in t)n[r]=Xt(e[r],t[r]);return n}function Xg(){return{app:null,config:{isNativeTag:T6,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 l3=0;function c3(e,t){return function(r,i=null){ke(r)||(r=xt({},r)),i!=null&&!pt(i)&&(i=null);const o=Xg(),a=new WeakSet;let s=!1;const l=o.app={_uid:l3++,_component:r,_props:i,_container:null,_context:o,_instance:null,version:ju,get config(){return o.config},set config(u){},use(u,...d){return a.has(u)||(u&&ke(u.install)?(a.add(u),u.install(l,...d)):ke(u)&&(a.add(u),u(l,...d))),l},mixin(u){return o.mixins.includes(u)||o.mixins.push(u),l},component(u,d){return d?(o.components[u]=d,l):o.components[u]},directive(u,d){return d?(o.directives[u]=d,l):o.directives[u]},mount(u,d,c){if(!s){const f=Ve(r,i);return f.appContext=o,d&&t?t(f,u):e(f,u,c),s=!0,l._container=u,u.__vue_app__=l,Hu(f.component)||f.component.proxy}},unmount(){s&&(e(null,l._container),delete l._container.__vue_app__)},provide(u,d){return o.provides[u]=d,l},runWithContext(u){cs=l;try{return u()}finally{cs=null}}};return l}}let cs=null;function u1(e,t){if(dt){let n=dt.provides;const r=dt.parent&&dt.parent.provides;r===n&&(n=dt.provides=Object.create(r)),n[e]=t}}function Vr(e,t,n=!1){const r=dt||Lt;if(r||cs){const i=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:cs._context.provides;if(i&&e in i)return i[e];if(arguments.length>1)return n&&ke(t)?t.call(r&&r.proxy):t}}function f1(){return!!(dt||Lt||cs)}function u3(e,t,n,r=!1){const i={},o={};hd(o,Du,1),e.propsDefaults=Object.create(null),Jg(e,t,i,o);for(const a in e.propsOptions[0])a in i||(i[a]=void 0);n?e.props=r?i:Mh(i):e.type.props?e.props=i:e.props=o,e.attrs=o}function f3(e,t,n,r){const{props:i,attrs:o,vnode:{patchFlag:a}}=e,s=Re(i),[l]=e.propsOptions;let u=!1;if((r||a>0)&&!(a&16)){if(a&8){const d=e.vnode.dynamicProps;for(let c=0;c<d.length;c++){let f=d[c];if(Su(e.emitsOptions,f))continue;const p=t[f];if(l)if(Ke(o,f))p!==o[f]&&(o[f]=p,u=!0);else{const y=Mn(f);i[y]=_d(l,s,y,p,e,!1)}else p!==o[f]&&(o[f]=p,u=!0)}}}else{Jg(e,t,i,o)&&(u=!0);let d;for(const c in s)(!t||!Ke(t,c)&&((d=wu(c))===c||!Ke(t,d)))&&(l?n&&(n[c]!==void 0||n[d]!==void 0)&&(i[c]=_d(l,s,c,void 0,e,!0)):delete i[c]);if(o!==s)for(const c in o)(!t||!Ke(t,c))&&(delete o[c],u=!0)}u&&Fr(e,"set","$attrs")}function Jg(e,t,n,r){const[i,o]=e.propsOptions;let a=!1,s;if(t)for(let l in t){if(Va(l))continue;const u=t[l];let d;i&&Ke(i,d=Mn(l))?!o||!o.includes(d)?n[d]=u:(s||(s={}))[d]=u:Su(e.emitsOptions,l)||(!(l in r)||u!==r[l])&&(r[l]=u,a=!0)}if(o){const l=Re(n),u=s||Ye;for(let d=0;d<o.length;d++){const c=o[d];n[c]=_d(i,l,c,u[c],e,!Ke(u,c))}}return a}function _d(e,t,n,r,i,o){const a=e[n];if(a!=null){const s=Ke(a,"default");if(s&&r===void 0){const l=a.default;if(a.type!==Function&&!a.skipFactory&&ke(l)){const{propsDefaults:u}=i;n in u?r=u[n]:(Si(i),r=u[n]=l.call(null,t),_i())}else r=l}a[0]&&(o&&!s?r=!1:a[1]&&(r===""||r===wu(n))&&(r=!0))}return r}function Zg(e,t,n=!1){const r=t.propsCache,i=r.get(e);if(i)return i;const o=e.props,a={},s=[];let l=!1;if(!ke(e)){const d=c=>{l=!0;const[f,p]=Zg(c,t,!0);xt(a,f),p&&s.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!o&&!l)return pt(e)&&r.set(e,Vo),Vo;if(Ce(o))for(let d=0;d<o.length;d++){const c=Mn(o[d]);rm(c)&&(a[c]=Ye)}else if(o)for(const d in o){const c=Mn(d);if(rm(c)){const f=o[d],p=a[c]=Ce(f)||ke(f)?{type:f}:xt({},f);if(p){const y=am(Boolean,p.type),v=am(String,p.type);p[0]=y>-1,p[1]=v<0||y<v,(y>-1||Ke(p,"default"))&&s.push(c)}}}const u=[a,s];return pt(e)&&r.set(e,u),u}function rm(e){return e[0]!=="$"}function im(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function om(e,t){return im(e)===im(t)}function am(e,t){return Ce(t)?t.findIndex(n=>om(n,e)):ke(t)&&om(t,e)?0:-1}const Qg=e=>e[0]==="_"||e==="$stable",d1=e=>Ce(e)?e.map(yn):[yn(e)],d3=(e,t,n)=>{if(t._n)return t;const r=gr((...i)=>d1(t(...i)),n);return r._c=!1,r},ev=(e,t,n)=>{const r=e._ctx;for(const i in e){if(Qg(i))continue;const o=e[i];if(ke(o))t[i]=d3(i,o,r);else if(o!=null){const a=d1(o);t[i]=()=>a}}},tv=(e,t)=>{const n=d1(t);e.slots.default=()=>n},h3=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=Re(t),hd(t,"_",n)):ev(t,e.slots={})}else e.slots={},t&&tv(e,t);hd(e.slots,Du,1)},p3=(e,t,n)=>{const{vnode:r,slots:i}=e;let o=!0,a=Ye;if(r.shapeFlag&32){const s=t._;s?n&&s===1?o=!1:(xt(i,t),!n&&s===1&&delete i._):(o=!t.$stable,ev(t,i)),a=t}else t&&(tv(e,t),a={default:1});if(o)for(const s in i)!Qg(s)&&a[s]==null&&delete i[s]};function fc(e,t,n,r,i=!1){if(Ce(e)){e.forEach((f,p)=>fc(f,t&&(Ce(t)?t[p]:t),n,r,i));return}if(so(r)&&!i)return;const o=r.shapeFlag&4?Hu(r.component)||r.component.proxy:r.el,a=i?null:o,{i:s,r:l}=e,u=t&&t.r,d=s.refs===Ye?s.refs={}:s.refs,c=s.setupState;if(u!=null&&u!==l&&(Ot(u)?(d[u]=null,Ke(c,u)&&(c[u]=null)):Ge(u)&&(u.value=null)),ke(l))mr(l,s,12,[a,d]);else{const f=Ot(l),p=Ge(l);if(f||p){const y=()=>{if(e.f){const v=f?Ke(c,l)?c[l]:d[l]:l.value;i?Ce(v)&&Vh(v,o):Ce(v)?v.includes(o)||v.push(o):f?(d[l]=[o],Ke(c,l)&&(c[l]=d[l])):(l.value=[o],e.k&&(d[e.k]=l.value))}else f?(d[l]=a,Ke(c,l)&&(c[l]=a)):p&&(l.value=a,e.k&&(d[e.k]=a))};a?(y.id=-1,jt(y,n)):y()}}}let ni=!1;const _l=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",El=e=>e.nodeType===8;function m3(e){const{mt:t,p:n,o:{patchProp:r,createText:i,nextSibling:o,parentNode:a,remove:s,insert:l,createComment:u}}=e,d=(b,h)=>{if(!h.hasChildNodes()){n(null,b,h),cc(),h._vnode=b;return}ni=!1,c(h.firstChild,b,null,null,null),cc(),h._vnode=b,ni&&console.error("Hydration completed but contains mismatches.")},c=(b,h,E,k,T,A=!1)=>{const C=El(b)&&b.data==="[",N=()=>v(b,h,E,k,T,C),{type:O,ref:S,shapeFlag:L,patchFlag:R}=h;let D=b.nodeType;h.el=b,R===-2&&(A=!1,h.dynamicChildren=null);let B=null;switch(O){case vr:D!==3?h.children===""?(l(h.el=i(""),a(b),b),B=b):B=N():(b.data!==h.children&&(ni=!0,b.data=h.children),B=o(b));break;case It:g(b)?(B=o(b),m(h.el=b.content.firstChild,b,E)):D!==8||C?B=N():B=o(b);break;case bi:if(C&&(b=o(b),D=b.nodeType),D===1||D===3){B=b;const K=!h.children.length;for(let re=0;re<h.staticCount;re++)K&&(h.children+=B.nodeType===1?B.outerHTML:B.data),re===h.staticCount-1&&(h.anchor=B),B=o(B);return C?o(B):B}else N();break;case tt:C?B=y(b,h,E,k,T,A):B=N();break;default:if(L&1)(D!==1||h.type.toLowerCase()!==b.tagName.toLowerCase())&&!g(b)?B=N():B=f(b,h,E,k,T,A);else if(L&6){h.slotScopeIds=T;const K=a(b);if(C?B=_(b):El(b)&&b.data==="teleport start"?B=_(b,b.data,"teleport end"):B=o(b),t(h,K,null,E,k,_l(K),A),so(h)){let re;C?(re=Ve(tt),re.anchor=B?B.previousSibling:K.lastChild):re=b.nodeType===3?Ur(""):Ve("div"),re.el=b,h.component.subTree=re}}else L&64?D!==8?B=N():B=h.type.hydrate(b,h,E,k,T,A,e,p):L&128&&(B=h.type.hydrate(b,h,E,k,_l(a(b)),T,A,e,c))}return S!=null&&fc(S,null,k,h),B},f=(b,h,E,k,T,A)=>{A=A||!!h.dynamicChildren;const{type:C,props:N,patchFlag:O,shapeFlag:S,dirs:L,transition:R}=h,D=C==="input"||C==="option";if(D||O!==-1){if(L&&lr(h,null,E,"created"),N)if(D||!A||O&48)for(const re in N)(D&&(re.endsWith("value")||re==="indeterminate")||Eu(re)&&!Va(re)||re[0]===".")&&r(b,re,null,N[re],!1,void 0,E);else N.onClick&&r(b,"onClick",null,N.onClick,!1,void 0,E);let B;(B=N&&N.onVnodeBeforeMount)&&sn(B,E,h);let K=!1;if(g(b)){K=rv(k,R)&&E&&E.vnode.props&&E.vnode.props.appear;const re=b.content.firstChild;K&&R.beforeEnter(re),m(re,b,E),h.el=b=re}if(L&&lr(h,null,E,"beforeMount"),((B=N&&N.onVnodeMounted)||L||K)&&Ng(()=>{B&&sn(B,E,h),K&&R.enter(b),L&&lr(h,null,E,"mounted")},k),S&16&&!(N&&(N.innerHTML||N.textContent))){let re=p(b.firstChild,h,b,E,k,T,A);for(;re;){ni=!0;const Y=re;re=re.nextSibling,s(Y)}}else S&8&&b.textContent!==h.children&&(ni=!0,b.textContent=h.children)}return b.nextSibling},p=(b,h,E,k,T,A,C)=>{C=C||!!h.dynamicChildren;const N=h.children,O=N.length;for(let S=0;S<O;S++){const L=C?N[S]:N[S]=yn(N[S]);if(b)b=c(b,L,k,T,A,C);else{if(L.type===vr&&!L.children)continue;ni=!0,n(null,L,E,null,k,T,_l(E),A)}}return b},y=(b,h,E,k,T,A)=>{const{slotScopeIds:C}=h;C&&(T=T?T.concat(C):C);const N=a(b),O=p(o(b),h,N,E,k,T,A);return O&&El(O)&&O.data==="]"?o(h.anchor=O):(ni=!0,l(h.anchor=u("]"),N,O),O)},v=(b,h,E,k,T,A)=>{if(ni=!0,h.el=null,A){const O=_(b);for(;;){const S=o(b);if(S&&S!==O)s(S);else break}}const C=o(b),N=a(b);return s(b),n(null,h,N,C,E,k,_l(N),T),C},_=(b,h="[",E="]")=>{let k=0;for(;b;)if(b=o(b),b&&El(b)&&(b.data===h&&k++,b.data===E)){if(k===0)return o(b);k--}return b},m=(b,h,E)=>{const k=h.parentNode;k&&k.replaceChild(b,h);let T=E;for(;T;)T.vnode.el===h&&(T.vnode.el=T.subTree.el=b),T=T.parent},g=b=>b.nodeType===1&&b.tagName.toLowerCase()==="template";return[d,c]}const jt=Ng;function h1(e){return nv(e)}function p1(e){return nv(e,m3)}function nv(e,t){const n=pd();n.__VUE__=!0;const{insert:r,remove:i,patchProp:o,createElement:a,createText:s,createComment:l,setText:u,setElementText:d,parentNode:c,nextSibling:f,setScopeId:p=pr,insertStaticContent:y}=e,v=(V,P,x,$=null,Z=null,se=null,U=!1,q=null,Q=!!P.dynamicChildren)=>{if(V===P)return;V&&!zn(V,P)&&($=X(V),F(V,Z,se,!0),V=null),P.patchFlag===-2&&(Q=!1,P.dynamicChildren=null);const{type:ne,ref:ae,shapeFlag:ce}=P;switch(ne){case vr:_(V,P,x,$);break;case It:m(V,P,x,$);break;case bi:V==null&&g(P,x,$,U);break;case tt:S(V,P,x,$,Z,se,U,q,Q);break;default:ce&1?E(V,P,x,$,Z,se,U,q,Q):ce&6?L(V,P,x,$,Z,se,U,q,Q):(ce&64||ce&128)&&ne.process(V,P,x,$,Z,se,U,q,Q,oe)}ae!=null&&Z&&fc(ae,V&&V.ref,se,P||V,!P)},_=(V,P,x,$)=>{if(V==null)r(P.el=s(P.children),x,$);else{const Z=P.el=V.el;P.children!==V.children&&u(Z,P.children)}},m=(V,P,x,$)=>{V==null?r(P.el=l(P.children||""),x,$):P.el=V.el},g=(V,P,x,$)=>{[V.el,V.anchor]=y(V.children,P,x,$,V.el,V.anchor)},b=({el:V,anchor:P},x,$)=>{let Z;for(;V&&V!==P;)Z=f(V),r(V,x,$),V=Z;r(P,x,$)},h=({el:V,anchor:P})=>{let x;for(;V&&V!==P;)x=f(V),i(V),V=x;i(P)},E=(V,P,x,$,Z,se,U,q,Q)=>{U=U||P.type==="svg",V==null?k(P,x,$,Z,se,U,q,Q):C(V,P,Z,se,U,q,Q)},k=(V,P,x,$,Z,se,U,q)=>{let Q,ne;const{type:ae,props:ce,shapeFlag:W,transition:te,dirs:pe}=V;if(Q=V.el=a(V.type,se,ce&&ce.is,ce),W&8?d(Q,V.children):W&16&&A(V.children,Q,null,$,Z,se&&ae!=="foreignObject",U,q),pe&&lr(V,null,$,"created"),T(Q,V,V.scopeId,U,$),ce){for(const ge in ce)ge!=="value"&&!Va(ge)&&o(Q,ge,null,ce[ge],se,V.children,$,Z,H);"value"in ce&&o(Q,"value",null,ce.value),(ne=ce.onVnodeBeforeMount)&&sn(ne,$,V)}pe&&lr(V,null,$,"beforeMount");const ve=rv(Z,te);ve&&te.beforeEnter(Q),r(Q,P,x),((ne=ce&&ce.onVnodeMounted)||ve||pe)&&jt(()=>{ne&&sn(ne,$,V),ve&&te.enter(Q),pe&&lr(V,null,$,"mounted")},Z)},T=(V,P,x,$,Z)=>{if(x&&p(V,x),$)for(let se=0;se<$.length;se++)p(V,$[se]);if(Z){let se=Z.subTree;if(P===se){const U=Z.vnode;T(V,U,U.scopeId,U.slotScopeIds,Z.parent)}}},A=(V,P,x,$,Z,se,U,q,Q=0)=>{for(let ne=Q;ne<V.length;ne++){const ae=V[ne]=q?di(V[ne]):yn(V[ne]);v(null,ae,P,x,$,Z,se,U,q)}},C=(V,P,x,$,Z,se,U)=>{const q=P.el=V.el;let{patchFlag:Q,dynamicChildren:ne,dirs:ae}=P;Q|=V.patchFlag&16;const ce=V.props||Ye,W=P.props||Ye;let te;x&&Gi(x,!1),(te=W.onVnodeBeforeUpdate)&&sn(te,x,P,V),ae&&lr(P,V,x,"beforeUpdate"),x&&Gi(x,!0);const pe=Z&&P.type!=="foreignObject";if(ne?N(V.dynamicChildren,ne,q,x,$,pe,se):U||re(V,P,q,null,x,$,pe,se,!1),Q>0){if(Q&16)O(q,P,ce,W,x,$,Z);else if(Q&2&&ce.class!==W.class&&o(q,"class",null,W.class,Z),Q&4&&o(q,"style",ce.style,W.style,Z),Q&8){const ve=P.dynamicProps;for(let ge=0;ge<ve.length;ge++){const xe=ve[ge],Oe=ce[xe],Ze=W[xe];(Ze!==Oe||xe==="value")&&o(q,xe,Oe,Ze,Z,V.children,x,$,H)}}Q&1&&V.children!==P.children&&d(q,P.children)}else!U&&ne==null&&O(q,P,ce,W,x,$,Z);((te=W.onVnodeUpdated)||ae)&&jt(()=>{te&&sn(te,x,P,V),ae&&lr(P,V,x,"updated")},$)},N=(V,P,x,$,Z,se,U)=>{for(let q=0;q<P.length;q++){const Q=V[q],ne=P[q],ae=Q.el&&(Q.type===tt||!zn(Q,ne)||Q.shapeFlag&70)?c(Q.el):x;v(Q,ne,ae,null,$,Z,se,U,!0)}},O=(V,P,x,$,Z,se,U)=>{if(x!==$){if(x!==Ye)for(const q in x)!Va(q)&&!(q in $)&&o(V,q,x[q],null,U,P.children,Z,se,H);for(const q in $){if(Va(q))continue;const Q=$[q],ne=x[q];Q!==ne&&q!=="value"&&o(V,q,ne,Q,U,P.children,Z,se,H)}"value"in $&&o(V,"value",x.value,$.value)}},S=(V,P,x,$,Z,se,U,q,Q)=>{const ne=P.el=V?V.el:s(""),ae=P.anchor=V?V.anchor:s("");let{patchFlag:ce,dynamicChildren:W,slotScopeIds:te}=P;te&&(q=q?q.concat(te):te),V==null?(r(ne,x,$),r(ae,x,$),A(P.children,x,ae,Z,se,U,q,Q)):ce>0&&ce&64&&W&&V.dynamicChildren?(N(V.dynamicChildren,W,x,Z,se,U,q),(P.key!=null||Z&&P===Z.subTree)&&m1(V,P,!0)):re(V,P,x,ae,Z,se,U,q,Q)},L=(V,P,x,$,Z,se,U,q,Q)=>{P.slotScopeIds=q,V==null?P.shapeFlag&512?Z.ctx.activate(P,x,$,U,Q):R(P,x,$,Z,se,U,Q):D(V,P,Q)},R=(V,P,x,$,Z,se,U)=>{const q=V.component=uv(V,$,Z);if(Fs(V)&&(q.ctx.renderer=oe),dv(q),q.asyncDep){if(Z&&Z.registerDep(q,B),!V.el){const Q=q.subTree=Ve(It);m(null,Q,P,x)}return}B(q,V,P,x,Z,se,U)},D=(V,P,x)=>{const $=P.component=V.component;if(U6(V,P,x))if($.asyncDep&&!$.asyncResolved){K($,P,x);return}else $.next=P,j6($.update),$.update();else P.el=V.el,$.vnode=P},B=(V,P,x,$,Z,se,U)=>{const q=()=>{if(V.isMounted){let{next:ae,bu:ce,u:W,parent:te,vnode:pe}=V,ve=ae,ge;Gi(V,!1),ae?(ae.el=pe.el,K(V,ae,U)):ae=pe,ce&&Ba(ce),(ge=ae.props&&ae.props.onVnodeBeforeUpdate)&&sn(ge,te,ae,pe),Gi(V,!0);const xe=Gl(V),Oe=V.subTree;V.subTree=xe,v(Oe,xe,c(Oe.el),X(Oe),V,Z,se),ae.el=xe.el,ve===null&&qh(V,xe.el),W&&jt(W,Z),(ge=ae.props&&ae.props.onVnodeUpdated)&&jt(()=>sn(ge,te,ae,pe),Z)}else{let ae;const{el:ce,props:W}=P,{bm:te,m:pe,parent:ve}=V,ge=so(P);if(Gi(V,!1),te&&Ba(te),!ge&&(ae=W&&W.onVnodeBeforeMount)&&sn(ae,ve,P),Gi(V,!0),ce&&he){const xe=()=>{V.subTree=Gl(V),he(ce,V.subTree,V,Z,null)};ge?P.type.__asyncLoader().then(()=>!V.isUnmounted&&xe()):xe()}else{const xe=V.subTree=Gl(V);v(null,xe,x,$,V,Z,se),P.el=xe.el}if(pe&&jt(pe,Z),!ge&&(ae=W&&W.onVnodeMounted)){const xe=P;jt(()=>sn(ae,ve,xe),Z)}(P.shapeFlag&256||ve&&so(ve.vnode)&&ve.vnode.shapeFlag&256)&&V.a&&jt(V.a,Z),V.isMounted=!0,P=x=$=null}},Q=V.effect=new co(q,()=>Au(ne),V.scope),ne=V.update=()=>Q.run();ne.id=V.uid,Gi(V,!0),ne()},K=(V,P,x)=>{P.component=V;const $=V.vnode.props;V.vnode=P,V.next=null,f3(V,P.props,$,x),p3(V,P.children,x),ha(),Yp(),pa()},re=(V,P,x,$,Z,se,U,q,Q=!1)=>{const ne=V&&V.children,ae=V?V.shapeFlag:0,ce=P.children,{patchFlag:W,shapeFlag:te}=P;if(W>0){if(W&128){j(ne,ce,x,$,Z,se,U,q,Q);return}else if(W&256){Y(ne,ce,x,$,Z,se,U,q,Q);return}}te&8?(ae&16&&H(ne,Z,se),ce!==ne&&d(x,ce)):ae&16?te&16?j(ne,ce,x,$,Z,se,U,q,Q):H(ne,Z,se,!0):(ae&8&&d(x,""),te&16&&A(ce,x,$,Z,se,U,q,Q))},Y=(V,P,x,$,Z,se,U,q,Q)=>{V=V||Vo,P=P||Vo;const ne=V.length,ae=P.length,ce=Math.min(ne,ae);let W;for(W=0;W<ce;W++){const te=P[W]=Q?di(P[W]):yn(P[W]);v(V[W],te,x,null,Z,se,U,q,Q)}ne>ae?H(V,Z,se,!0,!1,ce):A(P,x,$,Z,se,U,q,Q,ce)},j=(V,P,x,$,Z,se,U,q,Q)=>{let ne=0;const ae=P.length;let ce=V.length-1,W=ae-1;for(;ne<=ce&&ne<=W;){const te=V[ne],pe=P[ne]=Q?di(P[ne]):yn(P[ne]);if(zn(te,pe))v(te,pe,x,null,Z,se,U,q,Q);else break;ne++}for(;ne<=ce&&ne<=W;){const te=V[ce],pe=P[W]=Q?di(P[W]):yn(P[W]);if(zn(te,pe))v(te,pe,x,null,Z,se,U,q,Q);else break;ce--,W--}if(ne>ce){if(ne<=W){const te=W+1,pe=te<ae?P[te].el:$;for(;ne<=W;)v(null,P[ne]=Q?di(P[ne]):yn(P[ne]),x,pe,Z,se,U,q,Q),ne++}}else if(ne>W)for(;ne<=ce;)F(V[ne],Z,se,!0),ne++;else{const te=ne,pe=ne,ve=new Map;for(ne=pe;ne<=W;ne++){const ot=P[ne]=Q?di(P[ne]):yn(P[ne]);ot.key!=null&&ve.set(ot.key,ne)}let ge,xe=0;const Oe=W-pe+1;let Ze=!1,Jn=0;const wn=new Array(Oe);for(ne=0;ne<Oe;ne++)wn[ne]=0;for(ne=te;ne<=ce;ne++){const ot=V[ne];if(xe>=Oe){F(ot,Z,se,!0);continue}let At;if(ot.key!=null)At=ve.get(ot.key);else for(ge=pe;ge<=W;ge++)if(wn[ge-pe]===0&&zn(ot,P[ge])){At=ge;break}At===void 0?F(ot,Z,se,!0):(wn[At-pe]=ne+1,At>=Jn?Jn=At:Ze=!0,v(ot,P[At],x,null,Z,se,U,q,Q),xe++)}const Zn=Ze?g3(wn):Vo;for(ge=Zn.length-1,ne=Oe-1;ne>=0;ne--){const ot=pe+ne,At=P[ot],mn=ot+1<ae?P[ot+1].el:$;wn[ne]===0?v(null,At,x,mn,Z,se,U,q,Q):Ze&&(ge<0||ne!==Zn[ge]?I(At,x,mn,2):ge--)}}},I=(V,P,x,$,Z=null)=>{const{el:se,type:U,transition:q,children:Q,shapeFlag:ne}=V;if(ne&6){I(V.component.subTree,P,x,$);return}if(ne&128){V.suspense.move(P,x,$);return}if(ne&64){U.move(V,P,x,oe);return}if(U===tt){r(se,P,x);for(let ce=0;ce<Q.length;ce++)I(Q[ce],P,x,$);r(V.anchor,P,x);return}if(U===bi){b(V,P,x);return}if($!==2&&ne&1&&q)if($===0)q.beforeEnter(se),r(se,P,x),jt(()=>q.enter(se),Z);else{const{leave:ce,delayLeave:W,afterLeave:te}=q,pe=()=>r(se,P,x),ve=()=>{ce(se,()=>{pe(),te&&te()})};W?W(se,pe,ve):ve()}else r(se,P,x)},F=(V,P,x,$=!1,Z=!1)=>{const{type:se,props:U,ref:q,children:Q,dynamicChildren:ne,shapeFlag:ae,patchFlag:ce,dirs:W}=V;if(q!=null&&fc(q,null,x,V,!0),ae&256){P.ctx.deactivate(V);return}const te=ae&1&&W,pe=!so(V);let ve;if(pe&&(ve=U&&U.onVnodeBeforeUnmount)&&sn(ve,P,V),ae&6)J(V.component,x,$);else{if(ae&128){V.suspense.unmount(x,$);return}te&&lr(V,null,P,"beforeUnmount"),ae&64?V.type.remove(V,P,x,Z,oe,$):ne&&(se!==tt||ce>0&&ce&64)?H(ne,P,x,!1,!0):(se===tt&&ce&384||!Z&&ae&16)&&H(Q,P,x),$&&z(V)}(pe&&(ve=U&&U.onVnodeUnmounted)||te)&&jt(()=>{ve&&sn(ve,P,V),te&&lr(V,null,P,"unmounted")},x)},z=V=>{const{type:P,el:x,anchor:$,transition:Z}=V;if(P===tt){ee(x,$);return}if(P===bi){h(V);return}const se=()=>{i(x),Z&&!Z.persisted&&Z.afterLeave&&Z.afterLeave()};if(V.shapeFlag&1&&Z&&!Z.persisted){const{leave:U,delayLeave:q}=Z,Q=()=>U(x,se);q?q(V.el,se,Q):Q()}else se()},ee=(V,P)=>{let x;for(;V!==P;)x=f(V),i(V),V=x;i(P)},J=(V,P,x)=>{const{bum:$,scope:Z,update:se,subTree:U,um:q}=V;$&&Ba($),Z.stop(),se&&(se.active=!1,F(U,V,P,x)),q&&jt(q,P),jt(()=>{V.isUnmounted=!0},P),P&&P.pendingBranch&&!P.isUnmounted&&V.asyncDep&&!V.asyncResolved&&V.suspenseId===P.pendingId&&(P.deps--,P.deps===0&&P.resolve())},H=(V,P,x,$=!1,Z=!1,se=0)=>{for(let U=se;U<V.length;U++)F(V[U],P,x,$,Z)},X=V=>V.shapeFlag&6?X(V.component.subTree):V.shapeFlag&128?V.suspense.next():f(V.anchor||V.el),ie=(V,P,x)=>{V==null?P._vnode&&F(P._vnode,null,null,!0):v(P._vnode||null,V,P,null,null,null,x),Yp(),cc(),P._vnode=V},oe={p:v,um:F,m:I,r:z,mt:R,mc:A,pc:re,pbc:N,n:X,o:e};let ue,he;return t&&([ue,he]=t(oe)),{render:ie,hydrate:ue,createApp:c3(ie,ue)}}function Gi({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function rv(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function m1(e,t,n=!1){const r=e.children,i=t.children;if(Ce(r)&&Ce(i))for(let o=0;o<r.length;o++){const a=r[o];let s=i[o];s.shapeFlag&1&&!s.dynamicChildren&&((s.patchFlag<=0||s.patchFlag===32)&&(s=i[o]=di(i[o]),s.el=a.el),n||m1(a,s)),s.type===vr&&(s.el=a.el)}}function g3(e){const t=e.slice(),n=[0];let r,i,o,a,s;const l=e.length;for(r=0;r<l;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(o=0,a=n.length-1;o<a;)s=o+a>>1,e[n[s]]<u?o=s+1:a=s;u<e[n[o]]&&(o>0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,a=n[o-1];o-- >0;)n[o]=a,a=t[a];return n}const v3=e=>e.__isTeleport,$a=e=>e&&(e.disabled||e.disabled===""),sm=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Ed=(e,t)=>{const n=e&&e.to;return Ot(n)?t?t(n):null:n},y3={name:"Teleport",__isTeleport:!0,process(e,t,n,r,i,o,a,s,l,u){const{mc:d,pc:c,pbc:f,o:{insert:p,querySelector:y,createText:v,createComment:_}}=u,m=$a(t.props);let{shapeFlag:g,children:b,dynamicChildren:h}=t;if(e==null){const E=t.el=v(""),k=t.anchor=v("");p(E,n,r),p(k,n,r);const T=t.target=Ed(t.props,y),A=t.targetAnchor=v("");T&&(p(A,T),a=a||sm(T));const C=(N,O)=>{g&16&&d(b,N,O,i,o,a,s,l)};m?C(n,k):T&&C(T,A)}else{t.el=e.el;const E=t.anchor=e.anchor,k=t.target=e.target,T=t.targetAnchor=e.targetAnchor,A=$a(e.props),C=A?n:k,N=A?E:T;if(a=a||sm(k),h?(f(e.dynamicChildren,h,C,i,o,a,s),m1(e,t,!0)):l||c(e,t,C,N,i,o,a,s,!1),m)A?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Ol(t,n,E,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const O=t.target=Ed(t.props,y);O&&Ol(t,O,null,u,0)}else A&&Ol(t,k,T,u,1)}iv(t)},remove(e,t,n,r,{um:i,o:{remove:o}},a){const{shapeFlag:s,children:l,anchor:u,targetAnchor:d,target:c,props:f}=e;if(c&&o(d),a&&o(u),s&16){const p=a||!$a(f);for(let y=0;y<l.length;y++){const v=l[y];i(v,t,n,p,!!v.dynamicChildren)}}},move:Ol,hydrate:b3};function Ol(e,t,n,{o:{insert:r},m:i},o=2){o===0&&r(e.targetAnchor,t,n);const{el:a,anchor:s,shapeFlag:l,children:u,props:d}=e,c=o===2;if(c&&r(a,t,n),(!c||$a(d))&&l&16)for(let f=0;f<u.length;f++)i(u[f],t,n,2);c&&r(s,t,n)}function b3(e,t,n,r,i,o,{o:{nextSibling:a,parentNode:s,querySelector:l}},u){const d=t.target=Ed(t.props,l);if(d){const c=d._lpa||d.firstChild;if(t.shapeFlag&16)if($a(t.props))t.anchor=u(a(e),t,s(e),n,r,i,o),t.targetAnchor=c;else{t.anchor=a(e);let f=c;for(;f;)if(f=a(f),f&&f.nodeType===8&&f.data==="teleport anchor"){t.targetAnchor=f,d._lpa=t.targetAnchor&&a(t.targetAnchor);break}u(c,t,d,n,r,i,o)}iv(t)}return t.anchor&&a(t.anchor)}const g1=y3;function iv(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"),vr=Symbol.for("v-txt"),It=Symbol.for("v-cmt"),bi=Symbol.for("v-stc"),Ua=[];let un=null;function Se(e=!1){Ua.push(un=e?null:[])}function ov(){Ua.pop(),un=Ua[Ua.length-1]||null}let fo=1;function dc(e){fo+=e}function av(e){return e.dynamicChildren=fo>0?un||Vo:null,ov(),fo>0&&un&&un.push(e),e}function De(e,t,n,r,i,o){return av($e(e,t,n,r,i,o,!0))}function qt(e,t,n,r,i){return av(Ve(e,t,n,r,i,!0))}function $r(e){return e?e.__v_isVNode===!0:!1}function zn(e,t){return e.type===t.type&&e.key===t.key}function sv(e){}const Du="__vInternal",lv=({key:e})=>e??null,Yl=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ot(e)||Ge(e)||ke(e)?{i:Lt,r:e,k:t,f:!!n}:e:null);function $e(e,t=null,n=null,r=0,i=null,o=e===tt?0:1,a=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&lv(t),ref:t&&Yl(t),scopeId:Nu,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:o,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Lt};return s?(v1(l,n),o&128&&e.normalize(l)):n&&(l.shapeFlag|=Ot(n)?8:16),fo>0&&!a&&un&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&un.push(l),l}const Ve=_3;function _3(e,t=null,n=null,r=0,i=null,o=!1){if((!e||e===Ag)&&(e=It),$r(e)){const s=Gn(e,t,!0);return n&&v1(s,n),fo>0&&!o&&un&&(s.shapeFlag&6?un[un.indexOf(e)]=s:un.push(s)),s.patchFlag|=-2,s}if(A3(e)&&(e=e.__vccOpts),t){t=an(t);let{class:s,style:l}=t;s&&!Ot(s)&&(t.class=Pt(s)),pt(l)&&(vu(l)&&!Ce(l)&&(l=xt({},l)),t.style=cn(l))}const a=Ot(e)?1:Sg(e)?128:v3(e)?64:pt(e)?4:ke(e)?2:0;return $e(e,t,n,r,i,a,o,!0)}function an(e){return e?vu(e)||Du in e?xt({},e):e:null}function Gn(e,t,n=!1){const{props:r,ref:i,patchFlag:o,children:a}=e,s=t?qr(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&lv(s),ref:t&&t.ref?n&&i?Ce(i)?i.concat(Yl(t)):[i,Yl(t)]:Yl(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==tt?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Gn(e.ssContent),ssFallback:e.ssFallback&&Gn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Ur(e=" ",t=0){return Ve(vr,null,e,t)}function cv(e,t){const n=Ve(bi,null,e);return n.staticCount=t,n}function bt(e="",t=!1){return t?(Se(),qt(It,null,e)):Ve(It,null,e)}function yn(e){return e==null||typeof e=="boolean"?Ve(It):Ce(e)?Ve(tt,null,e.slice()):typeof e=="object"?di(e):Ve(vr,null,String(e))}function di(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Gn(e)}function v1(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(Ce(t))n=16;else if(typeof t=="object")if(r&65){const i=t.default;i&&(i._c&&(i._d=!1),v1(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!(Du in t)?t._ctx=Lt:i===3&&Lt&&(Lt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ke(t)?(t={default:t,_ctx:Lt},n=32):(t=String(t),r&64?(n=16,t=[Ur(t)]):n=8);e.children=t,e.shapeFlag|=n}function qr(...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=Pt([t.class,r.class]));else if(i==="style")t.style=cn([t.style,r.style]);else if(Eu(i)){const o=t[i],a=r[i];a&&o!==a&&!(Ce(o)&&o.includes(a))&&(t[i]=o?[].concat(o,a):a)}else i!==""&&(t[i]=r[i])}return t}function sn(e,t,n,r=null){dn(e,t,7,[n,r])}const E3=Xg();let O3=0;function uv(e,t,n){const r=e.type,i=(t?t.appContext:e.appContext)||E3,o={uid:O3++,vnode:e,type:r,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,scope:new hu(!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:Zg(r,i),emitsOptions:wg(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 o.ctx={_:o},o.root=t?t.root:o,o.emit=V6.bind(null,o),e.ce&&e.ce(o),o}let dt=null;const Qt=()=>dt||Lt;let y1,Lo,lm="__VUE_INSTANCE_SETTERS__";(Lo=pd()[lm])||(Lo=pd()[lm]=[]),Lo.push(e=>dt=e),y1=e=>{Lo.length>1?Lo.forEach(t=>t(e)):Lo[0](e)};const Si=e=>{y1(e),e.scope.on()},_i=()=>{dt&&dt.scope.off(),y1(null)};function fv(e){return e.vnode.shapeFlag&4}let Wo=!1;function dv(e,t=!1){Wo=t;const{props:n,children:r}=e.vnode,i=fv(e);u3(e,n,i,t),h3(e,r);const o=i?T3(e,t):void 0;return Wo=!1,o}function T3(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=ma(new Proxy(e.ctx,vd));const{setup:r}=n;if(r){const i=e.setupContext=r.length>1?mv(e):null;Si(e),ha();const o=mr(r,e,0,[e.props,i]);if(pa(),_i(),Bh(o)){if(o.then(_i,_i),t)return o.then(a=>{Od(e,a,t)}).catch(a=>{Ii(a,e,0)});e.asyncDep=o}else Od(e,o,t)}else pv(e,t)}function Od(e,t,n){ke(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:pt(t)&&(e.setupState=bu(t)),pv(e,n)}let hc,Td;function b1(e){hc=e,Td=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,n3))}}const hv=()=>!hc;function pv(e,t,n){const r=e.type;if(!e.render){if(!t&&hc&&!r.render){const i=r.template||c1(e).template;if(i){const{isCustomElement:o,compilerOptions:a}=e.appContext.config,{delimiters:s,compilerOptions:l}=r,u=xt(xt({isCustomElement:o,delimiters:s},a),l);r.render=hc(i,u)}}e.render=r.render||pr,Td&&Td(e)}{Si(e),ha();try{r3(e)}finally{pa(),_i()}}}function w3(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return hn(e,"get","$attrs"),t[n]}}))}function mv(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return w3(e)},slots:e.slots,emit:e.emit,expose:t}}function Hu(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(bu(ma(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in za)return za[n](e)},has(t,n){return n in t||n in za}}))}function wd(e,t=!0){return ke(e)?e.displayName||e.name:e.name||t&&e.__name}function A3(e){return ke(e)&&"__vccOpts"in e}const de=(e,t)=>O6(e,t,Wo);function Ri(e,t,n){const r=arguments.length;return r===2?pt(t)&&!Ce(t)?$r(t)?Ve(e,null,[t]):Ve(e,t):Ve(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&$r(n)&&(n=[n]),Ve(e,t,n))}const _1=Symbol.for("v-scx"),E1=()=>Vr(_1);function gv(){}function vv(e,t,n,r){const i=n[r];if(i&&O1(i,e))return i;const o=t();return o.memo=e.slice(),n[r]=o}function O1(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let r=0;r<n.length;r++)if(dd(n[r],t[r]))return!1;return fo>0&&un&&un.push(e),!0}const ju="3.3.10",S3={createComponentInstance:uv,setupComponent:dv,renderComponentRoot:Gl,setCurrentRenderingInstance:os,isVNode:$r,normalizeVNode:yn},yv=S3,bv=null,_v=null;function N3(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 Df={},k3=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),C3=e=>e.startsWith("onUpdate:"),Bs=Object.assign,pn=Array.isArray,zs=e=>Ov(e)==="[object Set]",cm=e=>Ov(e)==="[object Date]",Ev=e=>typeof e=="function",us=e=>typeof e=="string",um=e=>typeof e=="symbol",Ad=e=>e!==null&&typeof e=="object",L3=Object.prototype.toString,Ov=e=>L3.call(e),T1=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},P3=/-(\w)/g,Hf=T1(e=>e.replace(P3,(t,n)=>n?n.toUpperCase():"")),I3=/\B([A-Z])/g,mi=T1(e=>e.replace(I3,"-$1").toLowerCase()),R3=T1(e=>e.charAt(0).toUpperCase()+e.slice(1)),x3=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Sd=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Nd=e=>{const t=us(e)?Number(e):NaN;return isNaN(t)?e:t},M3="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",D3=N3(M3);function Tv(e){return!!e||e===""}function H3(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Ni(e[r],t[r]);return n}function Ni(e,t){if(e===t)return!0;let n=cm(e),r=cm(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=um(e),r=um(t),n||r)return e===t;if(n=pn(e),r=pn(t),n||r)return n&&r?H3(e,t):!1;if(n=Ad(e),r=Ad(t),n||r){if(!n||!r)return!1;const i=Object.keys(e).length,o=Object.keys(t).length;if(i!==o)return!1;for(const a in e){const s=e.hasOwnProperty(a),l=t.hasOwnProperty(a);if(s&&!l||!s&&l||!Ni(e[a],t[a]))return!1}}return String(e)===String(t)}function Fu(e,t){return e.findIndex(n=>Ni(n,t))}const j3="http://www.w3.org/2000/svg",eo=typeof document<"u"?document:null,fm=eo&&eo.createElement("template"),F3={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?eo.createElementNS(j3,e):eo.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&i.setAttribute("multiple",r.multiple),i},createText:e=>eo.createTextNode(e),createComment:e=>eo.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>eo.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,i,o){const a=n?n.previousSibling:t.lastChild;if(i&&(i===o||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===o||!(i=i.nextSibling)););else{fm.innerHTML=r?`<svg>${e}</svg>`:e;const s=fm.content;if(r){const l=s.firstChild;for(;l.firstChild;)s.appendChild(l.firstChild);s.removeChild(l)}t.insertBefore(s,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},ri="transition",La="animation",Go=Symbol("_vtc"),ga=(e,{slots:t})=>Ri(Zh,Av(e),t);ga.displayName="Transition";const wv={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},V3=ga.props=Bs({},Iu,wv),Yi=(e,t=[])=>{pn(e)?e.forEach(n=>n(...t)):e&&e(...t)},dm=e=>e?pn(e)?e.some(t=>t.length>1):e.length>1:!1;function Av(e){const t={};for(const S in e)S in wv||(t[S]=e[S]);if(e.css===!1)return t;const{name:n="v",type:r,duration:i,enterFromClass:o=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:l=o,appearActiveClass:u=a,appearToClass:d=s,leaveFromClass:c=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,y=B3(i),v=y&&y[0],_=y&&y[1],{onBeforeEnter:m,onEnter:g,onEnterCancelled:b,onLeave:h,onLeaveCancelled:E,onBeforeAppear:k=m,onAppear:T=g,onAppearCancelled:A=b}=t,C=(S,L,R)=>{ci(S,L?d:s),ci(S,L?u:a),R&&R()},N=(S,L)=>{S._isLeaving=!1,ci(S,c),ci(S,p),ci(S,f),L&&L()},O=S=>(L,R)=>{const D=S?T:g,B=()=>C(L,S,R);Yi(D,[L,B]),hm(()=>{ci(L,S?l:o),Pr(L,S?d:s),dm(D)||pm(L,r,v,B)})};return Bs(t,{onBeforeEnter(S){Yi(m,[S]),Pr(S,o),Pr(S,a)},onBeforeAppear(S){Yi(k,[S]),Pr(S,l),Pr(S,u)},onEnter:O(!1),onAppear:O(!0),onLeave(S,L){S._isLeaving=!0;const R=()=>N(S,L);Pr(S,c),Nv(),Pr(S,f),hm(()=>{S._isLeaving&&(ci(S,c),Pr(S,p),dm(h)||pm(S,r,_,R))}),Yi(h,[S,R])},onEnterCancelled(S){C(S,!1),Yi(b,[S])},onAppearCancelled(S){C(S,!0),Yi(A,[S])},onLeaveCancelled(S){N(S),Yi(E,[S])}})}function B3(e){if(e==null)return null;if(Ad(e))return[jf(e.enter),jf(e.leave)];{const t=jf(e);return[t,t]}}function jf(e){return Nd(e)}function Pr(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Go]||(e[Go]=new Set)).add(t)}function ci(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Go];n&&(n.delete(t),n.size||(e[Go]=void 0))}function hm(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let z3=0;function pm(e,t,n,r){const i=e._endId=++z3,o=()=>{i===e._endId&&r()};if(n)return setTimeout(o,n);const{type:a,timeout:s,propCount:l}=Sv(e,t);if(!a)return r();const u=a+"end";let d=0;const c=()=>{e.removeEventListener(u,f),o()},f=p=>{p.target===e&&++d>=l&&c()};setTimeout(()=>{d<l&&c()},s+1),e.addEventListener(u,f)}function Sv(e,t){const n=window.getComputedStyle(e),r=y=>(n[y]||"").split(", "),i=r(`${ri}Delay`),o=r(`${ri}Duration`),a=mm(i,o),s=r(`${La}Delay`),l=r(`${La}Duration`),u=mm(s,l);let d=null,c=0,f=0;t===ri?a>0&&(d=ri,c=a,f=o.length):t===La?u>0&&(d=La,c=u,f=l.length):(c=Math.max(a,u),d=c>0?a>u?ri:La:null,f=d?d===ri?o.length:l.length:0);const p=d===ri&&/\b(transform|all)(,|$)/.test(r(`${ri}Property`).toString());return{type:d,timeout:c,propCount:f,hasTransform:p}}function mm(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>gm(n)+gm(e[r])))}function gm(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Nv(){return document.body.offsetHeight}function $3(e,t,n){const r=e[Go];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const w1=Symbol("_vod"),Yo={beforeMount(e,{value:t},{transition:n}){e[w1]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Pa(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),Pa(e,!0),r.enter(e)):r.leave(e,()=>{Pa(e,!1)}):Pa(e,t))},beforeUnmount(e,{value:t}){Pa(e,t)}};function Pa(e,t){e.style.display=t?e[w1]:"none"}function U3(){Yo.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}function q3(e,t,n){const r=e.style,i=us(n);if(n&&!i){if(t&&!us(t))for(const o in t)n[o]==null&&kd(r,o,"");for(const o in n)kd(r,o,n[o])}else{const o=r.display;i?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),w1 in e&&(r.display=o)}}const vm=/\s*!important$/;function kd(e,t,n){if(pn(n))n.forEach(r=>kd(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=K3(e,t);vm.test(n)?e.setProperty(mi(r),n.replace(vm,""),"important"):e[r]=n}}const ym=["Webkit","Moz","ms"],Ff={};function K3(e,t){const n=Ff[t];if(n)return n;let r=Mn(t);if(r!=="filter"&&r in e)return Ff[t]=r;r=R3(r);for(let i=0;i<ym.length;i++){const o=ym[i]+r;if(o in e)return Ff[t]=o}return t}const bm="http://www.w3.org/1999/xlink";function W3(e,t,n,r,i){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(bm,t.slice(6,t.length)):e.setAttributeNS(bm,t,n);else{const o=D3(t);n==null||o&&!Tv(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}function G3(e,t,n,r,i,o,a){if(t==="innerHTML"||t==="textContent"){r&&a(r,i,o),e[t]=n??"";return}const s=e.tagName;if(t==="value"&&s!=="PROGRESS"&&!s.includes("-")){e._value=n;const u=s==="OPTION"?e.getAttribute("value"):e.value,d=n??"";u!==d&&(e.value=d),n==null&&e.removeAttribute(t);return}let l=!1;if(n===""||n==null){const u=typeof e[t];u==="boolean"?n=Tv(n):n==null&&u==="string"?(n="",l=!0):u==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(t)}function xr(e,t,n,r){e.addEventListener(t,n,r)}function Y3(e,t,n,r){e.removeEventListener(t,n,r)}const _m=Symbol("_vei");function X3(e,t,n,r,i=null){const o=e[_m]||(e[_m]={}),a=o[t];if(r&&a)a.value=r;else{const[s,l]=J3(t);if(r){const u=o[t]=e8(r,i);xr(e,s,u,l)}else a&&(Y3(e,s,a,l),o[t]=void 0)}}const Em=/(?:Once|Passive|Capture)$/;function J3(e){let t;if(Em.test(e)){t={};let r;for(;r=e.match(Em);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):mi(e.slice(2)),t]}let Vf=0;const Z3=Promise.resolve(),Q3=()=>Vf||(Z3.then(()=>Vf=0),Vf=Date.now());function e8(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;dn(t8(r,n.value),t,5,[r])};return n.value=e,n.attached=Q3(),n}function t8(e,t){if(pn(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 Om=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,n8=(e,t,n,r,i=!1,o,a,s,l)=>{t==="class"?$3(e,r,i):t==="style"?q3(e,n,r):k3(t)?C3(t)||X3(e,t,n,r,a):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):r8(e,t,r,i))?G3(e,t,r,o,a,s,l):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),W3(e,t,r,i))};function r8(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Om(t)&&Ev(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;return!(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")}return Om(t)&&us(n)?!1:t in e}/*! #__NO_SIDE_EFFECTS__ */function A1(e,t){const n=wt(e);class r extends $s{constructor(o){super(n,o,t)}}return r.def=n,r}/*! #__NO_SIDE_EFFECTS__ */const kv=e=>A1(e,C1),i8=typeof HTMLElement<"u"?HTMLElement:class{};class $s extends i8{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),Dn(()=>{this._connected||(ds(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:o,styles:a}=r;let s;if(o&&!pn(o))for(const l in o){const u=o[l];(u===Number||u&&u.type===Number)&&(l in this._props&&(this._props[l]=Nd(this._props[l])),(s||(s=Object.create(null)))[Hf(l)]=!0)}this._numberProps=s,i&&this._resolveProps(r),this._applyStyles(a),this._update()},n=this._def.__asyncLoader;n?n().then(r=>t(r,!0)):t(this._def)}_resolveProps(t){const{props:n}=t,r=pn(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(Hf))Object.defineProperty(this,i,{get(){return this._getProp(i)},set(o){this._setProp(i,o)}})}_setAttr(t){let n=this.getAttribute(t);const r=Hf(t);this._numberProps&&this._numberProps[r]&&(n=Nd(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(mi(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(mi(t),n+""):n||this.removeAttribute(mi(t))))}_update(){ds(this._createVNode(),this.shadowRoot)}_createVNode(){const t=Ve(this._def,Bs({},this._props));return this._instance||(t.ce=n=>{this._instance=n,n.isCE=!0;const r=(o,a)=>{this.dispatchEvent(new CustomEvent(o,{detail:a}))};n.emit=(o,...a)=>{r(o,a),mi(o)!==o&&r(mi(o),a)};let i=this;for(;i=i&&(i.parentNode||i.host);)if(i instanceof $s){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 Cv(e="$style"){{const t=Qt();if(!t)return Df;const n=t.type.__cssModules;if(!n)return Df;const r=n[e];return r||Df}}function S1(e){const t=Qt();if(!t)return;const n=t.ut=(i=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(o=>Ld(o,i))},r=()=>{const i=e(t.proxy);Cd(t.subTree,i),n(i)};Jh(r),Fn(()=>{const i=new MutationObserver(r);i.observe(t.subTree.el.parentNode,{childList:!0}),_o(()=>i.disconnect())})}function Cd(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Cd(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Ld(e.el,t);else if(e.type===tt)e.children.forEach(n=>Cd(n,t));else if(e.type===bi){let{el:n,anchor:r}=e;for(;n&&(Ld(n,t),n!==r);)n=n.nextSibling}}function Ld(e,t){if(e.nodeType===1){const n=e.style;for(const r in t)n.setProperty(`--${r}`,t[r])}}const Lv=new WeakMap,Pv=new WeakMap,pc=Symbol("_moveCb"),Tm=Symbol("_enterCb"),Iv={name:"TransitionGroup",props:Bs({},V3,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Qt(),r=Pu();let i,o;return Vs(()=>{if(!i.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!c8(i[0].el,n.vnode.el,a))return;i.forEach(a8),i.forEach(s8);const s=i.filter(l8);Nv(),s.forEach(l=>{const u=l.el,d=u.style;Pr(u,a),d.transform=d.webkitTransform=d.transitionDuration="";const c=u[pc]=f=>{f&&f.target!==u||(!f||/transform$/.test(f.propertyName))&&(u.removeEventListener("transitionend",c),u[pc]=null,ci(u,a))};u.addEventListener("transitionend",c)})}),()=>{const a=Re(e),s=Av(a);let l=a.tag||tt;i=o,o=t.default?js(t.default()):[];for(let u=0;u<o.length;u++){const d=o[u];d.key!=null&&Ai(d,uo(d,s,r,n))}if(i)for(let u=0;u<i.length;u++){const d=i[u];Ai(d,uo(d,s,r,n)),Lv.set(d,d.el.getBoundingClientRect())}return Ve(l,null,o)}}},o8=e=>delete e.mode;Iv.props;const Rv=Iv;function a8(e){const t=e.el;t[pc]&&t[pc](),t[Tm]&&t[Tm]()}function s8(e){Pv.set(e,e.el.getBoundingClientRect())}function l8(e){const t=Lv.get(e),n=Pv.get(e),r=t.left-n.left,i=t.top-n.top;if(r||i){const o=e.el.style;return o.transform=o.webkitTransform=`translate(${r}px,${i}px)`,o.transitionDuration="0s",e}}function c8(e,t,n){const r=e.cloneNode(),i=e[Go];i&&i.forEach(s=>{s.split(/\s+/).forEach(l=>l&&r.classList.remove(l))}),n.split(/\s+/).forEach(s=>s&&r.classList.add(s)),r.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(r);const{hasTransform:a}=Sv(r);return o.removeChild(r),a}const ki=e=>{const t=e.props["onUpdate:modelValue"]||!1;return pn(t)?n=>x3(t,n):t};function u8(e){e.target.composing=!0}function wm(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Rn=Symbol("_assign"),Xo={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e[Rn]=ki(i);const o=r||i.props&&i.props.type==="number";xr(e,t?"change":"input",a=>{if(a.target.composing)return;let s=e.value;n&&(s=s.trim()),o&&(s=Sd(s)),e[Rn](s)}),n&&xr(e,"change",()=>{e.value=e.value.trim()}),t||(xr(e,"compositionstart",u8),xr(e,"compositionend",wm),xr(e,"change",wm))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:i}},o){if(e[Rn]=ki(o),e.composing)return;const a=i||e.type==="number"?Sd(e.value):e.value,s=t??"";a!==s&&(document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===s)||(e.value=s))}},Vu={deep:!0,created(e,t,n){e[Rn]=ki(n),xr(e,"change",()=>{const r=e._modelValue,i=Jo(e),o=e.checked,a=e[Rn];if(pn(r)){const s=Fu(r,i),l=s!==-1;if(o&&!l)a(r.concat(i));else if(!o&&l){const u=[...r];u.splice(s,1),a(u)}}else if(zs(r)){const s=new Set(r);o?s.add(i):s.delete(i),a(s)}else a(xv(e,o))})},mounted:Am,beforeUpdate(e,t,n){e[Rn]=ki(n),Am(e,t,n)}};function Am(e,{value:t,oldValue:n},r){e._modelValue=t,pn(t)?e.checked=Fu(t,r.props.value)>-1:zs(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=Ni(t,xv(e,!0)))}const Bu={created(e,{value:t},n){e.checked=Ni(t,n.props.value),e[Rn]=ki(n),xr(e,"change",()=>{e[Rn](Jo(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[Rn]=ki(r),t!==n&&(e.checked=Ni(t,r.props.value))}},N1={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const i=zs(t);xr(e,"change",()=>{const o=Array.prototype.filter.call(e.options,a=>a.selected).map(a=>n?Sd(Jo(a)):Jo(a));e[Rn](e.multiple?i?new Set(o):o:o[0])}),e[Rn]=ki(r)},mounted(e,{value:t}){Sm(e,t)},beforeUpdate(e,t,n){e[Rn]=ki(n)},updated(e,{value:t}){Sm(e,t)}};function Sm(e,t){const n=e.multiple;if(!(n&&!pn(t)&&!zs(t))){for(let r=0,i=e.options.length;r<i;r++){const o=e.options[r],a=Jo(o);if(n)pn(t)?o.selected=Fu(t,a)>-1:o.selected=t.has(a);else if(Ni(Jo(o),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Jo(e){return"_value"in e?e._value:e.value}function xv(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const zu={created(e,t,n){Tl(e,t,n,null,"created")},mounted(e,t,n){Tl(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){Tl(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){Tl(e,t,n,r,"updated")}};function Mv(e,t){switch(e){case"SELECT":return N1;case"TEXTAREA":return Xo;default:switch(t){case"checkbox":return Vu;case"radio":return Bu;default:return Xo}}}function Tl(e,t,n,r,i){const a=Mv(e.tagName,n.props&&n.props.type)[i];a&&a(e,t,n,r)}function f8(){Xo.getSSRProps=({value:e})=>({value:e}),Bu.getSSRProps=({value:e},t)=>{if(t.props&&Ni(t.props.value,e))return{checked:!0}},Vu.getSSRProps=({value:e},t)=>{if(pn(e)){if(t.props&&Fu(e,t.props.value)>-1)return{checked:!0}}else if(zs(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},zu.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=Mv(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const d8=["ctrl","shift","alt","meta"],h8={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)=>d8.some(n=>e[`${n}Key`]&&!t.includes(n))},fs=(e,t)=>e._withMods||(e._withMods=(n,...r)=>{for(let i=0;i<t.length;i++){const o=h8[t[i]];if(o&&o(n,t))return}return e(n,...r)}),p8={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},k1=(e,t)=>e._withKeys||(e._withKeys=n=>{if(!("key"in n))return;const r=mi(n.key);if(t.some(i=>i===r||p8[i]===r))return e(n)}),Dv=Bs({patchProp:n8},F3);let qa,Nm=!1;function Hv(){return qa||(qa=h1(Dv))}function jv(){return qa=Nm?qa:p1(Dv),Nm=!0,qa}const ds=(...e)=>{Hv().render(...e)},C1=(...e)=>{jv().hydrate(...e)},L1=(...e)=>{const t=Hv().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=Vv(r);if(!i)return;const o=t._component;!Ev(o)&&!o.render&&!o.template&&(o.template=i.innerHTML),i.innerHTML="";const a=n(i,!1,i instanceof SVGElement);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),a},t},Fv=(...e)=>{const t=jv().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=Vv(r);if(i)return n(i,!0,i instanceof SVGElement)},t};function Vv(e){return us(e)?document.querySelector(e):e}let km=!1;const Bv=()=>{km||(km=!0,f8(),U3())},m8=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:Zh,BaseTransitionPropsValidators:Iu,Comment:It,EffectScope:hu,Fragment:tt,KeepAlive:Rg,ReactiveEffect:co,Static:bi,Suspense:Yh,Teleport:g1,Text:vr,Transition:ga,TransitionGroup:Rv,VueElement:$s,assertNumber:_g,callWithAsyncErrorHandling:dn,callWithErrorHandling:mr,camelize:Mn,capitalize:Ds,cloneVNode:Gn,compatUtils:_v,computed:de,createApp:L1,createBlock:qt,createCommentVNode:bt,createElementBlock:De,createElementVNode:$e,createHydrationRenderer:p1,createPropsRestProxy:Gg,createRenderer:h1,createSSRApp:Fv,createSlots:o1,createStaticVNode:cv,createTextVNode:Ur,createVNode:Ve,customRef:ug,defineAsyncComponent:Ig,defineComponent:wt,defineCustomElement:A1,defineEmits:Hg,defineExpose:jg,defineModel:Bg,defineOptions:Fg,defineProps:Dg,defineSSRCustomElement:kv,defineSlots:Vg,get devtools(){return Qi},effect:G2,effectScope:Rs,getCurrentInstance:Qt,getCurrentScope:da,getTransitionRawChildren:js,guardReactiveProps:an,h:Ri,handleError:Ii,hasInjectionContext:f1,hydrate:C1,initCustomFormatter:gv,initDirectivesForSSR:Bv,inject:Vr,isMemoSame:O1,isProxy:vu,isReactive:Kn,isReadonly:wi,isRef:Ge,isRuntimeOnly:hv,isShallow:Ko,isVNode:$r,markRaw:ma,mergeDefaults:Kg,mergeModels:Wg,mergeProps:qr,nextTick:Dn,normalizeClass:Pt,normalizeProps:on,normalizeStyle:cn,onActivated:Qh,onBeforeMount:xu,onBeforeUnmount:bo,onBeforeUpdate:Mu,onDeactivated:e1,onErrorCaptured:i1,onMounted:Fn,onRenderTracked:r1,onRenderTriggered:n1,onScopeDispose:xs,onServerPrefetch:t1,onUnmounted:_o,onUpdated:Vs,openBlock:Se,popScopeId:Cu,provide:u1,proxyRefs:bu,pushScopeId:ku,queuePostFlushCb:rs,reactive:yo,readonly:Ms,ref:Te,registerRuntimeCompiler:b1,render:ds,renderList:ss,renderSlot:St,resolveComponent:Wh,resolveDirective:Lu,resolveDynamicComponent:$o,resolveFilter:bv,resolveTransitionHooks:uo,setBlockTracking:dc,setDevtoolsHook:$h,setTransitionHooks:Ai,shallowReactive:Mh,shallowReadonly:ag,shallowRef:jh,ssrContextKey:_1,ssrUtils:yv,stop:Y2,toDisplayString:In,toHandlerKey:Bo,toHandlers:a1,toRaw:Re,toRef:_u,toRefs:Fh,toValue:cg,transformVNodeArgs:sv,triggerRef:lg,unref:et,useAttrs:$g,useCssModule:Cv,useCssVars:S1,useModel:Ug,useSSRContext:E1,useSlots:s1,useTransitionState:Pu,vModelCheckbox:Vu,vModelDynamic:zu,vModelRadio:Bu,vModelSelect:N1,vModelText:Xo,vShow:Yo,version:ju,warn:bg,watch:ht,watchEffect:kg,watchPostEffect:Jh,watchSyncEffect:Cg,withAsyncContext:l1,withCtx:gr,withDefaults:zg,withDirectives:yi,withKeys:k1,withMemo:vv,withModifiers:fs,withScopeId:Uh},Symbol.toStringTag,{value:"Module"}));function Xn(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 Pd={},mc=()=>{},Bf=()=>!1,zv=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Br=Object.assign,Zo=Array.isArray,Rt=e=>typeof e=="string",P1=e=>typeof e=="symbol",g8=e=>e!==null&&typeof e=="object",Cm=Xn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),v8=Xn("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),$u=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},y8=/-(\w)/g,Qo=$u(e=>e.replace(y8,(t,n)=>n?n.toUpperCase():"")),b8=/\B([A-Z])/g,_8=$u(e=>e.replace(b8,"-$1").toLowerCase()),I1=$u(e=>e.charAt(0).toUpperCase()+e.slice(1)),E8=$u(e=>e?`on${I1(e)}`:""),O8=/;(?![^(]*\))/g,T8=/:([^]+)/,w8=/\/\*[^]*?\*\//g;function A8(e){const t={};return e.replace(w8,"").split(O8).forEach(n=>{if(n){const r=n.split(T8);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}const S8="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",N8="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",k8="area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr",C8=Xn(S8),L8=Xn(N8),P8=Xn(k8);function R1(e){throw e}function $v(e){}function nt(e,t,n,r){const i=e,o=new SyntaxError(String(i));return o.code=e,o.loc=t,o}const hs=Symbol(""),Ka=Symbol(""),x1=Symbol(""),gc=Symbol(""),Uv=Symbol(""),ho=Symbol(""),qv=Symbol(""),Kv=Symbol(""),M1=Symbol(""),D1=Symbol(""),Us=Symbol(""),H1=Symbol(""),Wv=Symbol(""),j1=Symbol(""),vc=Symbol(""),F1=Symbol(""),V1=Symbol(""),B1=Symbol(""),z1=Symbol(""),Gv=Symbol(""),Yv=Symbol(""),Uu=Symbol(""),yc=Symbol(""),$1=Symbol(""),U1=Symbol(""),ps=Symbol(""),qs=Symbol(""),q1=Symbol(""),Id=Symbol(""),I8=Symbol(""),Rd=Symbol(""),bc=Symbol(""),R8=Symbol(""),x8=Symbol(""),K1=Symbol(""),M8=Symbol(""),D8=Symbol(""),W1=Symbol(""),Xv=Symbol(""),ea={[hs]:"Fragment",[Ka]:"Teleport",[x1]:"Suspense",[gc]:"KeepAlive",[Uv]:"BaseTransition",[ho]:"openBlock",[qv]:"createBlock",[Kv]:"createElementBlock",[M1]:"createVNode",[D1]:"createElementVNode",[Us]:"createCommentVNode",[H1]:"createTextVNode",[Wv]:"createStaticVNode",[j1]:"resolveComponent",[vc]:"resolveDynamicComponent",[F1]:"resolveDirective",[V1]:"resolveFilter",[B1]:"withDirectives",[z1]:"renderList",[Gv]:"renderSlot",[Yv]:"createSlots",[Uu]:"toDisplayString",[yc]:"mergeProps",[$1]:"normalizeClass",[U1]:"normalizeStyle",[ps]:"normalizeProps",[qs]:"guardReactiveProps",[q1]:"toHandlers",[Id]:"camelize",[I8]:"capitalize",[Rd]:"toHandlerKey",[bc]:"setBlockTracking",[R8]:"pushScopeId",[x8]:"popScopeId",[K1]:"withCtx",[M8]:"unref",[D8]:"isRef",[W1]:"withMemo",[Xv]:"isMemoSame"};function H8(e){Object.getOwnPropertySymbols(e).forEach(t=>{ea[t]=e[t]})}const En={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function j8(e,t=En){return{type:0,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}function ms(e,t,n,r,i,o,a,s=!1,l=!1,u=!1,d=En){return e&&(s?(e.helper(ho),e.helper(ra(e.inSSR,u))):e.helper(na(e.inSSR,u)),a&&e.helper(B1)),{type:13,tag:t,props:n,children:r,patchFlag:i,dynamicProps:o,directives:a,isBlock:s,disableTracking:l,isComponent:u,loc:d}}function Ks(e,t=En){return{type:17,loc:t,elements:e}}function Ln(e,t=En){return{type:15,loc:t,properties:e}}function lt(e,t){return{type:16,loc:En,key:Rt(e)?Ie(e,!0):e,value:t}}function Ie(e,t=!1,n=En,r=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:r}}function Wn(e,t=En){return{type:8,loc:t,children:e}}function ft(e,t=[],n=En){return{type:14,loc:n,callee:e,arguments:t}}function ta(e,t=void 0,n=!1,r=!1,i=En){return{type:18,params:e,returns:t,newline:n,isSlot:r,loc:i}}function xd(e,t,n,r=!0){return{type:19,test:e,consequent:t,alternate:n,newline:r,loc:En}}function F8(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:En}}function V8(e){return{type:21,body:e,loc:En}}function na(e,t){return e||t?M1:D1}function ra(e,t){return e||t?qv:Kv}function G1(e,{helper:t,removeHelper:n,inSSR:r}){e.isBlock||(e.isBlock=!0,n(na(r,e.isComponent)),t(ho),t(ra(r,e.isComponent)))}const fn=e=>e.type===4&&e.isStatic,Ho=(e,t)=>e===t||e===_8(t);function Jv(e){if(Ho(e,"Teleport"))return Ka;if(Ho(e,"Suspense"))return x1;if(Ho(e,"KeepAlive"))return gc;if(Ho(e,"BaseTransition"))return Uv}const B8=/^\d|[^\$\w]/,Y1=e=>!B8.test(e),z8=/[A-Za-z_$\xA0-\uFFFF]/,$8=/[\.\?\w$\xA0-\uFFFF]/,U8=/\s+[.[]\s*|\s*[.[]\s+/g,q8=e=>{e=e.trim().replace(U8,a=>a.trim());let t=0,n=[],r=0,i=0,o=null;for(let a=0;a<e.length;a++){const s=e.charAt(a);switch(t){case 0:if(s==="[")n.push(t),t=1,r++;else if(s==="(")n.push(t),t=2,i++;else if(!(a===0?z8:$8).test(s))return!1;break;case 1:s==="'"||s==='"'||s==="`"?(n.push(t),t=3,o=s):s==="["?r++:s==="]"&&(--r||(t=n.pop()));break;case 2:if(s==="'"||s==='"'||s==="`")n.push(t),t=3,o=s;else if(s==="(")i++;else if(s===")"){if(a===e.length-1)return!1;--i||(t=n.pop())}break;case 3:s===o&&(t=n.pop(),o=null);break}}return!r&&!i},Zv=q8;function Qv(e,t,n){const i={source:e.source.slice(t,t+n),start:_c(e.start,e.source,t),end:e.end};return n!=null&&(i.end=_c(e.start,e.source,t+n)),i}function _c(e,t,n=t.length){return Ec(Br({},e),t,n)}function Ec(e,t,n=t.length){let r=0,i=-1;for(let o=0;o<n;o++)t.charCodeAt(o)===10&&(r++,i=o);return e.offset+=n,e.line+=r,e.column=i===-1?e.column+n:n-i,e}function kn(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)&&(Rt(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 o=e.props[i];if(o.type===6){if(n)continue;if(o.name===t&&(o.value||r))return o}else if(o.name==="bind"&&(o.exp||r)&&no(o.arg,t))return o}}function no(e,t){return!!(e&&fn(e)&&e.content===t)}function K8(e){return e.props.some(t=>t.type===7&&t.name==="bind"&&(!t.arg||t.arg.type!==4||!t.arg.isStatic))}function zf(e){return e.type===5||e.type===2}function W8(e){return e.type===7&&e.name==="slot"}function Oc(e){return e.type===1&&e.tagType===3}function Tc(e){return e.type===1&&e.tagType===2}const G8=new Set([ps,qs]);function ey(e,t=[]){if(e&&!Rt(e)&&e.type===14){const n=e.callee;if(!Rt(n)&&G8.has(n))return ey(e.arguments[0],t.concat(e))}return[e,t]}function wc(e,t,n){let r,i=e.type===13?e.props:e.arguments[2],o=[],a;if(i&&!Rt(i)&&i.type===14){const s=ey(i);i=s[0],o=s[1],a=o[o.length-1]}if(i==null||Rt(i))r=Ln([t]);else if(i.type===14){const s=i.arguments[0];!Rt(s)&&s.type===15?Lm(t,s)||s.properties.unshift(t):i.callee===q1?r=ft(n.helper(yc),[Ln([t]),i]):i.arguments.unshift(Ln([t])),!r&&(r=i)}else i.type===15?(Lm(t,i)||i.properties.unshift(t),r=i):(r=ft(n.helper(yc),[Ln([t]),i]),a&&a.callee===qs&&(a=o[o.length-2]));e.type===13?a?a.arguments[0]=r:e.props=r:a?a.arguments[0]=r:e.arguments[2]=r}function Lm(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 gs(e,t){return`_${t}_${e.replace(/[^\w]/g,(n,r)=>n==="-"?"_":e.charCodeAt(r).toString())}`}function Y8(e){return e.type===14&&e.callee===W1?e.arguments[1].returns:e}const X8=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/;function Pm(e,t){const n=t.options?t.options.compatConfig:t.compatConfig,r=n&&n[e];return e==="MODE"?r||3:r}function lo(e,t){const n=Pm("MODE",t),r=Pm(e,t);return n===3?r===!0:r!==!1}function vs(e,t,n,...r){return lo(e,t)}const J8=/&(gt|lt|amp|apos|quot);/g,Z8={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},Im={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:Bf,isPreTag:Bf,isCustomElement:Bf,decodeEntities:e=>e.replace(J8,(t,n)=>Z8[n]),onError:R1,onWarn:$v,comments:!1};function Q8(e,t={}){const n=e_(e,t),r=_n(n);return j8(X1(n,0,[]),Hn(n,r))}function e_(e,t){const n=Br({},Im);let r;for(r in t)n[r]=t[r]===void 0?Im[r]:t[r];return{options:n,column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1,onWarn:n.onWarn}}function X1(e,t,n){const r=Ku(n),i=r?r.ns:0,o=[];for(;!c_(e,t,n);){const s=e.source;let l;if(t===0||t===1){if(!e.inVPre&&Ut(s,e.options.delimiters[0]))l=s_(e,t);else if(t===0&&s[0]==="<")if(s.length===1)We(e,5,1);else if(s[1]==="!")Ut(s,"<!--")?l=n_(e):Ut(s,"<!DOCTYPE")?l=Ia(e):Ut(s,"<![CDATA[")?i!==0?l=t_(e,n):(We(e,1),l=Ia(e)):(We(e,11),l=Ia(e));else if(s[1]==="/")if(s.length===2)We(e,5,2);else if(s[2]===">"){We(e,14,2),Et(e,3);continue}else if(/[a-z]/i.test(s[2])){We(e,23),Md(e,1,r);continue}else We(e,12,2),l=Ia(e);else/[a-z]/i.test(s[1])?(l=r_(e,n),lo("COMPILER_NATIVE_TEMPLATE",e)&&l&&l.tag==="template"&&!l.props.some(u=>u.type===7&&ty(u.name))&&(l=l.children)):s[1]==="?"?(We(e,21,1),l=Ia(e)):We(e,12,1)}if(l||(l=l_(e,t)),Zo(l))for(let u=0;u<l.length;u++)Rm(o,l[u]);else Rm(o,l)}let a=!1;if(t!==2&&t!==1){const s=e.options.whitespace!=="preserve";for(let l=0;l<o.length;l++){const u=o[l];if(u.type===2)if(e.inPre)u.content=u.content.replace(/\r\n/g,`
|
|
1
|
+
"use strict";const it=require("./_commonjsHelpers-6763f629.cjs");function Bb(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 zb=()=>{},$b=Object.assign,Ub=Object.prototype.hasOwnProperty,sc=(e,t)=>Ub.call(e,t),jr=Array.isArray,Wl=e=>U2(e)==="[object Map]",Ph=e=>typeof e=="function",qb=e=>typeof e=="string",du=e=>typeof e=="symbol",Ps=e=>e!==null&&typeof e=="object",Kb=Object.prototype.toString,U2=e=>Kb.call(e),Wb=e=>U2(e).slice(8,-1),Ih=e=>qb(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Is=(e,t)=>!Object.is(e,t),Gb=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})};let vn;class hu{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 Rs(e){return new hu(e)}function q2(e,t=vn){t&&t.active&&t.effects.push(e)}function da(){return vn}function xs(e){vn&&vn.cleanups.push(e)}const Rh=e=>{const t=new Set(e);return t.w=0,t.n=0,t},K2=e=>(e.w&Ti)>0,W2=e=>(e.n&Ti)>0,Yb=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Ti},Xb=e=>{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r<t.length;r++){const i=t[r];K2(i)&&!W2(i)?i.delete(e):t[n++]=i,i.w&=~Ti,i.n&=~Ti}t.length=n}},lc=new WeakMap;let Da=0,Ti=1;const cd=30;let Bn;const ao=Symbol(""),ud=Symbol("");class co{constructor(t,n=null,r){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,q2(this,r)}run(){if(!this.active)return this.fn();let t=Bn,n=vi;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=Bn,Bn=this,vi=!0,Ti=1<<++Da,Da<=cd?Yb(this):Bp(this),this.fn()}finally{Da<=cd&&Xb(this),Ti=1<<--Da,Bn=this.parent,vi=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Bn===this?this.deferStop=!0:this.active&&(Bp(this),this.onStop&&this.onStop(),this.active=!1)}}function Bp(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}function G2(e,t){e.effect instanceof co&&(e=e.effect.fn);const n=new co(e);t&&($b(n,t),t.scope&&q2(n,t.scope)),(!t||!t.lazy)&&n.run();const r=n.run.bind(n);return r.effect=n,r}function Y2(e){e.effect.stop()}let vi=!0;const X2=[];function ha(){X2.push(vi),vi=!1}function pa(){const e=X2.pop();vi=e===void 0?!0:e}function hn(e,t,n){if(vi&&Bn){let r=lc.get(e);r||lc.set(e,r=new Map);let i=r.get(n);i||r.set(n,i=Rh()),J2(i)}}function J2(e,t){let n=!1;Da<=cd?W2(e)||(e.n|=Ti,n=!K2(e)):n=!e.has(Bn),n&&(e.add(Bn),Bn.deps.push(e))}function Fr(e,t,n,r,i,o){const a=lc.get(e);if(!a)return;let s=[];if(t==="clear")s=[...a.values()];else if(n==="length"&&jr(e)){const l=Number(r);a.forEach((u,d)=>{(d==="length"||!du(d)&&d>=l)&&s.push(u)})}else switch(n!==void 0&&s.push(a.get(n)),t){case"add":jr(e)?Ih(n)&&s.push(a.get("length")):(s.push(a.get(ao)),Wl(e)&&s.push(a.get(ud)));break;case"delete":jr(e)||(s.push(a.get(ao)),Wl(e)&&s.push(a.get(ud)));break;case"set":Wl(e)&&s.push(a.get(ao));break}if(s.length===1)s[0]&&fd(s[0]);else{const l=[];for(const u of s)u&&l.push(...u);fd(Rh(l))}}function fd(e,t){const n=jr(e)?e:[...e];for(const r of n)r.computed&&zp(r);for(const r of n)r.computed||zp(r)}function zp(e,t){(e!==Bn||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function Jb(e,t){var n;return(n=lc.get(e))==null?void 0:n.get(t)}const Zb=Bb("__proto__,__v_isRef,__isVue"),Z2=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(du)),$p=Qb();function Qb(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=Re(this);for(let o=0,a=this.length;o<a;o++)hn(r,"get",o+"");const i=r[t](...n);return i===-1||i===!1?r[t](...n.map(Re)):i}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){ha();const r=Re(this)[t].apply(this,n);return pa(),r}}),e}function e6(e){const t=Re(this);return hn(t,"has",e),t.hasOwnProperty(e)}class Q2{constructor(t=!1,n=!1){this._isReadonly=t,this._shallow=n}get(t,n,r){const i=this._isReadonly,o=this._shallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return o;if(n==="__v_raw"&&r===(i?o?og:ig:o?rg:ng).get(t))return t;const a=jr(t);if(!i){if(a&&sc($p,n))return Reflect.get($p,n,r);if(n==="hasOwnProperty")return e6}const s=Reflect.get(t,n,r);return(du(n)?Z2.has(n):Zb(n))||(i||hn(t,"get",n),o)?s:Ge(s)?a&&Ih(n)?s:s.value:Ps(s)?i?Ms(s):yo(s):s}}class eg extends Q2{constructor(t=!1){super(!1,t)}set(t,n,r,i){let o=t[n];if(wi(o)&&Ge(o)&&!Ge(r))return!1;if(!this._shallow&&(!Ko(r)&&!wi(r)&&(o=Re(o),r=Re(r)),!jr(t)&&Ge(o)&&!Ge(r)))return o.value=r,!0;const a=jr(t)&&Ih(n)?Number(n)<t.length:sc(t,n),s=Reflect.set(t,n,r,i);return t===Re(i)&&(a?Is(r,o)&&Fr(t,"set",n,r):Fr(t,"add",n,r)),s}deleteProperty(t,n){const r=sc(t,n);t[n];const i=Reflect.deleteProperty(t,n);return i&&r&&Fr(t,"delete",n,void 0),i}has(t,n){const r=Reflect.has(t,n);return(!du(n)||!Z2.has(n))&&hn(t,"has",n),r}ownKeys(t){return hn(t,"iterate",jr(t)?"length":ao),Reflect.ownKeys(t)}}class tg extends Q2{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const t6=new eg,n6=new tg,r6=new eg(!0),i6=new tg(!0),xh=e=>e,pu=e=>Reflect.getPrototypeOf(e);function dl(e,t,n=!1,r=!1){e=e.__v_raw;const i=Re(e),o=Re(t);n||(Is(t,o)&&hn(i,"get",t),hn(i,"get",o));const{has:a}=pu(i),s=r?xh:n?Dh:ts;if(a.call(i,t))return s(e.get(t));if(a.call(i,o))return s(e.get(o));e!==i&&e.get(t)}function hl(e,t=!1){const n=this.__v_raw,r=Re(n),i=Re(e);return t||(Is(e,i)&&hn(r,"has",e),hn(r,"has",i)),e===i?n.has(e):n.has(e)||n.has(i)}function pl(e,t=!1){return e=e.__v_raw,!t&&hn(Re(e),"iterate",ao),Reflect.get(e,"size",e)}function Up(e){e=Re(e);const t=Re(this);return pu(t).has.call(t,e)||(t.add(e),Fr(t,"add",e,e)),this}function qp(e,t){t=Re(t);const n=Re(this),{has:r,get:i}=pu(n);let o=r.call(n,e);o||(e=Re(e),o=r.call(n,e));const a=i.call(n,e);return n.set(e,t),o?Is(t,a)&&Fr(n,"set",e,t):Fr(n,"add",e,t),this}function Kp(e){const t=Re(this),{has:n,get:r}=pu(t);let i=n.call(t,e);i||(e=Re(e),i=n.call(t,e)),r&&r.call(t,e);const o=t.delete(e);return i&&Fr(t,"delete",e,void 0),o}function Wp(){const e=Re(this),t=e.size!==0,n=e.clear();return t&&Fr(e,"clear",void 0,void 0),n}function ml(e,t){return function(r,i){const o=this,a=o.__v_raw,s=Re(a),l=t?xh:e?Dh:ts;return!e&&hn(s,"iterate",ao),a.forEach((u,d)=>r.call(i,l(u),l(d),o))}}function gl(e,t,n){return function(...r){const i=this.__v_raw,o=Re(i),a=Wl(o),s=e==="entries"||e===Symbol.iterator&&a,l=e==="keys"&&a,u=i[e](...r),d=n?xh:t?Dh:ts;return!t&&hn(o,"iterate",l?ud:ao),{next(){const{value:c,done:f}=u.next();return f?{value:c,done:f}:{value:s?[d(c[0]),d(c[1])]:d(c),done:f}},[Symbol.iterator](){return this}}}}function ti(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function o6(){const e={get(o){return dl(this,o)},get size(){return pl(this)},has:hl,add:Up,set:qp,delete:Kp,clear:Wp,forEach:ml(!1,!1)},t={get(o){return dl(this,o,!1,!0)},get size(){return pl(this)},has:hl,add:Up,set:qp,delete:Kp,clear:Wp,forEach:ml(!1,!0)},n={get(o){return dl(this,o,!0)},get size(){return pl(this,!0)},has(o){return hl.call(this,o,!0)},add:ti("add"),set:ti("set"),delete:ti("delete"),clear:ti("clear"),forEach:ml(!0,!1)},r={get(o){return dl(this,o,!0,!0)},get size(){return pl(this,!0)},has(o){return hl.call(this,o,!0)},add:ti("add"),set:ti("set"),delete:ti("delete"),clear:ti("clear"),forEach:ml(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=gl(o,!1,!1),n[o]=gl(o,!0,!1),t[o]=gl(o,!1,!0),r[o]=gl(o,!0,!0)}),[e,n,t,r]}const[a6,s6,l6,c6]=o6();function mu(e,t){const n=t?e?c6:l6:e?s6:a6;return(r,i,o)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?r:Reflect.get(sc(n,i)&&i in r?n:r,i,o)}const u6={get:mu(!1,!1)},f6={get:mu(!1,!0)},d6={get:mu(!0,!1)},h6={get:mu(!0,!0)},ng=new WeakMap,rg=new WeakMap,ig=new WeakMap,og=new WeakMap;function p6(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function m6(e){return e.__v_skip||!Object.isExtensible(e)?0:p6(Wb(e))}function yo(e){return wi(e)?e:gu(e,!1,t6,u6,ng)}function Mh(e){return gu(e,!1,r6,f6,rg)}function Ms(e){return gu(e,!0,n6,d6,ig)}function ag(e){return gu(e,!0,i6,h6,og)}function gu(e,t,n,r,i){if(!Ps(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=i.get(e);if(o)return o;const a=m6(e);if(a===0)return e;const s=new Proxy(e,a===2?r:n);return i.set(e,s),s}function Kn(e){return wi(e)?Kn(e.__v_raw):!!(e&&e.__v_isReactive)}function wi(e){return!!(e&&e.__v_isReadonly)}function Ko(e){return!!(e&&e.__v_isShallow)}function vu(e){return Kn(e)||wi(e)}function Re(e){const t=e&&e.__v_raw;return t?Re(t):e}function ma(e){return Gb(e,"__v_skip",!0),e}const ts=e=>Ps(e)?yo(e):e,Dh=e=>Ps(e)?Ms(e):e;function Hh(e){vi&&Bn&&(e=Re(e),J2(e.dep||(e.dep=Rh())))}function yu(e,t){e=Re(e);const n=e.dep;n&&fd(n)}function Ge(e){return!!(e&&e.__v_isRef===!0)}function Te(e){return sg(e,!1)}function jh(e){return sg(e,!0)}function sg(e,t){return Ge(e)?e:new g6(e,t)}class g6{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Re(t),this._value=n?t:ts(t)}get value(){return Hh(this),this._value}set value(t){const n=this.__v_isShallow||Ko(t)||wi(t);t=n?t:Re(t),Is(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:ts(t),yu(this))}}function lg(e){yu(e)}function et(e){return Ge(e)?e.value:e}function cg(e){return Ph(e)?e():et(e)}const v6={get:(e,t,n)=>et(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const i=e[t];return Ge(i)&&!Ge(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function bu(e){return Kn(e)?e:new Proxy(e,v6)}class y6{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>Hh(this),()=>yu(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function ug(e){return new y6(e)}function Fh(e){const t=jr(e)?new Array(e.length):{};for(const n in e)t[n]=fg(e,n);return t}class b6{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 Jb(Re(this._object),this._key)}}class _6{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function _u(e,t,n){return Ge(e)?e:Ph(e)?new _6(e):Ps(e)&&arguments.length>1?fg(e,t,n):Te(e)}function fg(e,t,n){const r=e[t];return Ge(r)?r:new b6(e,t,n)}class E6{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 co(t,()=>{this._dirty||(this._dirty=!0,yu(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=r}get value(){const t=Re(this);return Hh(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function O6(e,t,n=!1){let r,i;const o=Ph(e);return o?(r=e,i=zb):(r=e.get,i=e.set),new E6(r,i,o||!i,n)}function dg(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={},Vo=[],pr=()=>{},T6=()=>!1,Eu=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),hg=e=>e.startsWith("onUpdate:"),xt=Object.assign,Vh=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},w6=Object.prototype.hasOwnProperty,Ke=(e,t)=>w6.call(e,t),Ce=Array.isArray,pg=e=>Ou(e)==="[object Map]",mg=e=>Ou(e)==="[object Set]",A6=e=>Ou(e)==="[object RegExp]",ke=e=>typeof e=="function",Ot=e=>typeof e=="string",pt=e=>e!==null&&typeof e=="object",Bh=e=>(pt(e)||ke(e))&&ke(e.then)&&ke(e.catch),gg=Object.prototype.toString,Ou=e=>gg.call(e),vg=e=>Ou(e)==="[object Object]",Va=dg(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Tu=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},S6=/-(\w)/g,Mn=Tu(e=>e.replace(S6,(t,n)=>n?n.toUpperCase():"")),N6=/\B([A-Z])/g,wu=Tu(e=>e.replace(N6,"-$1").toLowerCase()),Ds=Tu(e=>e.charAt(0).toUpperCase()+e.slice(1)),Bo=Tu(e=>e?`on${Ds(e)}`:""),dd=(e,t)=>!Object.is(e,t),Ba=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},hd=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},k6=e=>{const t=parseFloat(e);return isNaN(t)?e:t},C6=e=>{const t=Ot(e)?Number(e):NaN;return isNaN(t)?e:t};let Gp;const pd=()=>Gp||(Gp=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),L6="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",P6=dg(L6);function cn(e){if(Ce(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],i=Ot(r)?M6(r):cn(r);if(i)for(const o in i)t[o]=i[o]}return t}else if(Ot(e)||pt(e))return e}const I6=/;(?![^(]*\))/g,R6=/:([^]+)/,x6=/\/\*[^]*?\*\//g;function M6(e){const t={};return e.replace(x6,"").split(I6).forEach(n=>{if(n){const r=n.split(R6);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Pt(e){let t="";if(Ot(e))t=e;else if(Ce(e))for(let n=0;n<e.length;n++){const r=Pt(e[n]);r&&(t+=r+" ")}else if(pt(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function on(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Ot(t)&&(e.class=Pt(t)),n&&(e.style=cn(n)),e}const In=e=>Ot(e)?e:e==null?"":Ce(e)||pt(e)&&(e.toString===gg||!ke(e.toString))?JSON.stringify(e,yg,2):String(e),yg=(e,t)=>t&&t.__v_isRef?yg(e,t.value):pg(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,i])=>(n[`${r} =>`]=i,n),{})}:mg(t)?{[`Set(${t.size})`]:[...t.values()]}:pt(t)&&!Ce(t)&&!vg(t)?String(t):t;function bg(e,...t){}function _g(e,t){}function mr(e,t,n,r){let i;try{i=r?e(...r):e()}catch(o){Ii(o,t,n)}return i}function dn(e,t,n,r){if(ke(e)){const o=mr(e,t,n,r);return o&&Bh(o)&&o.catch(a=>{Ii(a,t,n)}),o}const i=[];for(let o=0;o<e.length;o++)i.push(dn(e[o],t,n,r));return i}function Ii(e,t,n,r=!0){const i=t?t.vnode:null;if(t){let o=t.parent;const a=t.proxy,s=n;for(;o;){const u=o.ec;if(u){for(let d=0;d<u.length;d++)if(u[d](e,a,s)===!1)return}o=o.parent}const l=t.appContext.config.errorHandler;if(l){mr(l,null,10,[e,a,s]);return}}D6(e,n,i,r)}function D6(e,t,n,r=!0){console.error(e)}let ns=!1,md=!1;const $t=[];let cr=0;const zo=[];let Rr=null,Zi=0;const Eg=Promise.resolve();let zh=null;function Dn(e){const t=zh||Eg;return e?t.then(this?e.bind(this):e):t}function H6(e){let t=cr+1,n=$t.length;for(;t<n;){const r=t+n>>>1,i=$t[r],o=is(i);o<e||o===e&&i.pre?t=r+1:n=r}return t}function Au(e){(!$t.length||!$t.includes(e,ns&&e.allowRecurse?cr+1:cr))&&(e.id==null?$t.push(e):$t.splice(H6(e.id),0,e),Og())}function Og(){!ns&&!md&&(md=!0,zh=Eg.then(Tg))}function j6(e){const t=$t.indexOf(e);t>cr&&$t.splice(t,1)}function rs(e){Ce(e)?zo.push(...e):(!Rr||!Rr.includes(e,e.allowRecurse?Zi+1:Zi))&&zo.push(e),Og()}function Yp(e,t=ns?cr+1:0){for(;t<$t.length;t++){const n=$t[t];n&&n.pre&&($t.splice(t,1),t--,n())}}function cc(e){if(zo.length){const t=[...new Set(zo)];if(zo.length=0,Rr){Rr.push(...t);return}for(Rr=t,Rr.sort((n,r)=>is(n)-is(r)),Zi=0;Zi<Rr.length;Zi++)Rr[Zi]();Rr=null,Zi=0}}const is=e=>e.id==null?1/0:e.id,F6=(e,t)=>{const n=is(e)-is(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Tg(e){md=!1,ns=!0,$t.sort(F6);const t=pr;try{for(cr=0;cr<$t.length;cr++){const n=$t[cr];n&&n.active!==!1&&mr(n,null,14)}}finally{cr=0,$t.length=0,cc(),ns=!1,zh=null,($t.length||zo.length)&&Tg()}}let Qi,vl=[];function $h(e,t){var n,r;Qi=e,Qi?(Qi.enabled=!0,vl.forEach(({event:i,args:o})=>Qi.emit(i,...o)),vl=[]):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(o=>{$h(o,t)}),setTimeout(()=>{Qi||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,vl=[])},3e3)):vl=[]}function V6(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Ye;let i=n;const o=t.startsWith("update:"),a=o&&t.slice(7);if(a&&a in r){const d=`${a==="modelValue"?"model":a}Modifiers`,{number:c,trim:f}=r[d]||Ye;f&&(i=n.map(p=>Ot(p)?p.trim():p)),c&&(i=n.map(k6))}let s,l=r[s=Bo(t)]||r[s=Bo(Mn(t))];!l&&o&&(l=r[s=Bo(wu(t))]),l&&dn(l,e,6,i);const u=r[s+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,dn(u,e,6,i)}}function wg(e,t,n=!1){const r=t.emitsCache,i=r.get(e);if(i!==void 0)return i;const o=e.emits;let a={},s=!1;if(!ke(e)){const l=u=>{const d=wg(u,t,!0);d&&(s=!0,xt(a,d))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!o&&!s?(pt(e)&&r.set(e,null),null):(Ce(o)?o.forEach(l=>a[l]=null):xt(a,o),pt(e)&&r.set(e,a),a)}function Su(e,t){return!e||!Eu(t)?!1:(t=t.slice(2).replace(/Once$/,""),Ke(e,t[0].toLowerCase()+t.slice(1))||Ke(e,wu(t))||Ke(e,t))}let Lt=null,Nu=null;function os(e){const t=Lt;return Lt=e,Nu=e&&e.type.__scopeId||null,t}function ku(e){Nu=e}function Cu(){Nu=null}const Uh=e=>gr;function gr(e,t=Lt,n){if(!t||e._n)return e;const r=(...i)=>{r._d&&dc(-1);const o=os(t);let a;try{a=e(...i)}finally{os(o),r._d&&dc(1)}return a};return r._n=!0,r._c=!0,r._d=!0,r}function Gl(e){const{type:t,vnode:n,proxy:r,withProxy:i,props:o,propsOptions:[a],slots:s,attrs:l,emit:u,render:d,renderCache:c,data:f,setupState:p,ctx:y,inheritAttrs:v}=e;let _,m;const g=os(e);try{if(n.shapeFlag&4){const h=i||r,E=h;_=yn(d.call(E,h,c,o,p,f,y)),m=l}else{const h=t;_=yn(h.length>1?h(o,{attrs:l,slots:s,emit:u}):h(o,null)),m=t.props?l:z6(l)}}catch(h){Ua.length=0,Ii(h,e,1),_=Ve(It)}let b=_;if(m&&v!==!1){const h=Object.keys(m),{shapeFlag:E}=b;h.length&&E&7&&(a&&h.some(hg)&&(m=$6(m,a)),b=Gn(b,m))}return n.dirs&&(b=Gn(b),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&(b.transition=n.transition),_=b,os(g),_}function B6(e){let t;for(let n=0;n<e.length;n++){const r=e[n];if($r(r)){if(r.type!==It||r.children==="v-if"){if(t)return;t=r}}else return}return t}const z6=e=>{let t;for(const n in e)(n==="class"||n==="style"||Eu(n))&&((t||(t={}))[n]=e[n]);return t},$6=(e,t)=>{const n={};for(const r in e)(!hg(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function U6(e,t,n){const{props:r,children:i,component:o}=e,{props:a,children:s,patchFlag:l}=t,u=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?Xp(r,a,u):!!a;if(l&8){const d=t.dynamicProps;for(let c=0;c<d.length;c++){const f=d[c];if(a[f]!==r[f]&&!Su(u,f))return!0}}}else return(i||s)&&(!s||!s.$stable)?!0:r===a?!1:r?a?Xp(r,a,u):!0:!!a;return!1}function Xp(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 o=r[i];if(t[o]!==e[o]&&!Su(n,o))return!0}return!1}function qh({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const Kh="components",q6="directives";function Wh(e,t){return Gh(Kh,e,!0,t)||e}const Ag=Symbol.for("v-ndc");function $o(e){return Ot(e)?Gh(Kh,e,!1)||e:e||Ag}function Lu(e){return Gh(q6,e)}function Gh(e,t,n=!0,r=!1){const i=Lt||dt;if(i){const o=i.type;if(e===Kh){const s=wd(o,!1);if(s&&(s===t||s===Mn(t)||s===Ds(Mn(t))))return o}const a=Jp(i[e]||o[e],t)||Jp(i.appContext[e],t);return!a&&r?o:a}}function Jp(e,t){return e&&(e[t]||e[Mn(t)]||e[Ds(Mn(t))])}const Sg=e=>e.__isSuspense,K6={name:"Suspense",__isSuspense:!0,process(e,t,n,r,i,o,a,s,l,u){e==null?W6(t,n,r,i,o,a,s,l,u):G6(e,t,n,r,i,a,s,l,u)},hydrate:Y6,create:Xh,normalize:X6},Yh=K6;function as(e,t){const n=e.props&&e.props[t];ke(n)&&n()}function W6(e,t,n,r,i,o,a,s,l){const{p:u,o:{createElement:d}}=l,c=d("div"),f=e.suspense=Xh(e,i,r,t,c,n,o,a,s,l);u(null,f.pendingBranch=e.ssContent,c,null,r,f,o,a),f.deps>0?(as(e,"onPending"),as(e,"onFallback"),u(null,e.ssFallback,t,n,r,null,o,a),Uo(f,e.ssFallback)):f.resolve(!1,!0)}function G6(e,t,n,r,i,o,a,s,{p:l,um:u,o:{createElement:d}}){const c=t.suspense=e.suspense;c.vnode=t,t.el=e.el;const f=t.ssContent,p=t.ssFallback,{activeBranch:y,pendingBranch:v,isInFallback:_,isHydrating:m}=c;if(v)c.pendingBranch=f,zn(f,v)?(l(v,f,c.hiddenContainer,null,i,c,o,a,s),c.deps<=0?c.resolve():_&&(l(y,p,n,r,i,null,o,a,s),Uo(c,p))):(c.pendingId++,m?(c.isHydrating=!1,c.activeBranch=v):u(v,i,c),c.deps=0,c.effects.length=0,c.hiddenContainer=d("div"),_?(l(null,f,c.hiddenContainer,null,i,c,o,a,s),c.deps<=0?c.resolve():(l(y,p,n,r,i,null,o,a,s),Uo(c,p))):y&&zn(f,y)?(l(y,f,n,r,i,c,o,a,s),c.resolve(!0)):(l(null,f,c.hiddenContainer,null,i,c,o,a,s),c.deps<=0&&c.resolve()));else if(y&&zn(f,y))l(y,f,n,r,i,c,o,a,s),Uo(c,f);else if(as(t,"onPending"),c.pendingBranch=f,c.pendingId++,l(null,f,c.hiddenContainer,null,i,c,o,a,s),c.deps<=0)c.resolve();else{const{timeout:g,pendingId:b}=c;g>0?setTimeout(()=>{c.pendingId===b&&c.fallback(p)},g):g===0&&c.fallback(p)}}function Xh(e,t,n,r,i,o,a,s,l,u,d=!1){const{p:c,m:f,um:p,n:y,o:{parentNode:v,remove:_}}=u;let m;const g=J6(e);g&&t?.pendingBranch&&(m=t.pendingId,t.deps++);const b=e.props?C6(e.props.timeout):void 0,h={vnode:e,parent:t,parentComponent:n,isSVG:a,container:r,hiddenContainer:i,anchor:o,deps:0,pendingId:0,timeout:typeof b=="number"?b:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:d,isUnmounted:!1,effects:[],resolve(E=!1,k=!1){const{vnode:T,activeBranch:A,pendingBranch:C,pendingId:N,effects:O,parentComponent:S,container:L}=h;let R=!1;if(h.isHydrating)h.isHydrating=!1;else if(!E){R=A&&C.transition&&C.transition.mode==="out-in",R&&(A.transition.afterLeave=()=>{N===h.pendingId&&(f(C,L,y(A),0),rs(O))});let{anchor:q}=h;A&&(q=y(A),p(A,S,h,!0)),R||f(C,L,q,0)}Uo(h,C),h.pendingBranch=null,h.isInFallback=!1;let D=h.parent,B=!1;for(;D;){if(D.pendingBranch){D.effects.push(...O),B=!0;break}D=D.parent}!B&&!R&&rs(O),h.effects=[],g&&t&&t.pendingBranch&&m===t.pendingId&&(t.deps--,t.deps===0&&!k&&t.resolve()),as(T,"onResolve")},fallback(E){if(!h.pendingBranch)return;const{vnode:k,activeBranch:T,parentComponent:A,container:C,isSVG:N}=h;as(k,"onFallback");const O=()=>{h.isInFallback&&(c(null,E,C,y(T),A,null,N,s,l),Uo(h,E))},S=E.transition&&E.transition.mode==="out-in";S&&(T.transition.afterLeave=O),h.isInFallback=!0,p(T,A,null,!0),S||O()},move(E,k,T){h.activeBranch&&f(h.activeBranch,E,k,T),h.container=E},next(){return h.activeBranch&&y(h.activeBranch)},registerDep(E,k){const T=!!h.pendingBranch;T&&h.deps++;const A=E.vnode.el;E.asyncDep.catch(C=>{Ii(C,E,0)}).then(C=>{if(E.isUnmounted||h.isUnmounted||h.pendingId!==E.suspenseId)return;E.asyncResolved=!0;const{vnode:N}=E;Od(E,C,!1),A&&(N.el=A);const O=!A&&E.subTree.el;k(E,N,v(A||E.subTree.el),A?null:y(E.subTree),h,a,l),O&&_(O),qh(E,N.el),T&&--h.deps===0&&h.resolve()})},unmount(E,k){h.isUnmounted=!0,h.activeBranch&&p(h.activeBranch,n,E,k),h.pendingBranch&&p(h.pendingBranch,n,E,k)}};return h}function Y6(e,t,n,r,i,o,a,s,l){const u=t.suspense=Xh(t,r,n,e.parentNode,document.createElement("div"),null,i,o,a,s,!0),d=l(e,u.pendingBranch=t.ssContent,n,u,o,a);return u.deps===0&&u.resolve(!1,!0),d}function X6(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=Zp(r?n.default:n),e.ssFallback=r?Zp(n.fallback):Ve(It)}function Zp(e){let t;if(ke(e)){const n=fo&&e._c;n&&(e._d=!1,Se()),e=e(),n&&(e._d=!0,t=un,ov())}return Ce(e)&&(e=B6(e)),e=yn(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Ng(e,t){t&&t.pendingBranch?Ce(e)?t.effects.push(...e):t.effects.push(e):rs(e)}function Uo(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e,i=n.el=t.el;r&&r.subTree===n&&(r.vnode.el=i,qh(r,i))}function J6(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}function kg(e,t){return Hs(e,null,t)}function Jh(e,t){return Hs(e,null,{flush:"post"})}function Cg(e,t){return Hs(e,null,{flush:"sync"})}const yl={};function ht(e,t,n){return Hs(e,t,n)}function Hs(e,t,{immediate:n,deep:r,flush:i,onTrack:o,onTrigger:a}=Ye){var s;const l=da()===((s=dt)==null?void 0:s.scope)?dt:null;let u,d=!1,c=!1;if(Ge(e)?(u=()=>e.value,d=Ko(e)):Kn(e)?(u=()=>e,r=!0):Ce(e)?(c=!0,d=e.some(h=>Kn(h)||Ko(h)),u=()=>e.map(h=>{if(Ge(h))return h.value;if(Kn(h))return to(h);if(ke(h))return mr(h,l,2)})):ke(e)?t?u=()=>mr(e,l,2):u=()=>{if(!(l&&l.isUnmounted))return f&&f(),dn(e,l,3,[p])}:u=pr,t&&r){const h=u;u=()=>to(h())}let f,p=h=>{f=g.onStop=()=>{mr(h,l,4),f=g.onStop=void 0}},y;if(Wo)if(p=pr,t?n&&dn(t,l,3,[u(),c?[]:void 0,p]):u(),i==="sync"){const h=E1();y=h.__watcherHandles||(h.__watcherHandles=[])}else return pr;let v=c?new Array(e.length).fill(yl):yl;const _=()=>{if(g.active)if(t){const h=g.run();(r||d||(c?h.some((E,k)=>dd(E,v[k])):dd(h,v)))&&(f&&f(),dn(t,l,3,[h,v===yl?void 0:c&&v[0]===yl?[]:v,p]),v=h)}else g.run()};_.allowRecurse=!!t;let m;i==="sync"?m=_:i==="post"?m=()=>jt(_,l&&l.suspense):(_.pre=!0,l&&(_.id=l.uid),m=()=>Au(_));const g=new co(u,m);t?n?_():v=g.run():i==="post"?jt(g.run.bind(g),l&&l.suspense):g.run();const b=()=>{g.stop(),l&&l.scope&&Vh(l.scope.effects,g)};return y&&y.push(b),b}function Z6(e,t,n){const r=this.proxy,i=Ot(e)?e.includes(".")?Lg(r,e):()=>r[e]:e.bind(r,r);let o;ke(t)?o=t:(o=t.handler,n=t);const a=dt;Si(this);const s=Hs(i,o.bind(r),n);return a?Si(a):_i(),s}function Lg(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 to(e,t){if(!pt(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),Ge(e))to(e.value,t);else if(Ce(e))for(let n=0;n<e.length;n++)to(e[n],t);else if(mg(e)||pg(e))e.forEach(n=>{to(n,t)});else if(vg(e))for(const n in e)to(e[n],t);return e}function yi(e,t){const n=Lt;if(n===null)return e;const r=Hu(n)||n.proxy,i=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[a,s,l,u=Ye]=t[o];a&&(ke(a)&&(a={mounted:a,updated:a}),a.deep&&to(s),i.push({dir:a,instance:r,value:s,oldValue:void 0,arg:l,modifiers:u}))}return e}function lr(e,t,n,r){const i=e.dirs,o=t&&t.dirs;for(let a=0;a<i.length;a++){const s=i[a];o&&(s.oldValue=o[a].value);let l=s.dir[r];l&&(ha(),dn(l,n,8,[e.el,s,e,t]),pa())}}const fi=Symbol("_leaveCb"),bl=Symbol("_enterCb");function Pu(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Fn(()=>{e.isMounted=!0}),bo(()=>{e.isUnmounting=!0}),e}const An=[Function,Array],Iu={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},Q6={name:"BaseTransition",props:Iu,setup(e,{slots:t}){const n=Qt(),r=Pu();let i;return()=>{const o=t.default&&js(t.default(),!0);if(!o||!o.length)return;let a=o[0];if(o.length>1){for(const v of o)if(v.type!==It){a=v;break}}const s=Re(e),{mode:l}=s;if(r.isLeaving)return Pf(a);const u=Qp(a);if(!u)return Pf(a);const d=uo(u,s,r,n);Ai(u,d);const c=n.subTree,f=c&&Qp(c);let p=!1;const{getTransitionKey:y}=u.type;if(y){const v=y();i===void 0?i=v:v!==i&&(i=v,p=!0)}if(f&&f.type!==It&&(!zn(u,f)||p)){const v=uo(f,s,r,n);if(Ai(f,v),l==="out-in")return r.isLeaving=!0,v.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&n.update()},Pf(a);l==="in-out"&&u.type!==It&&(v.delayLeave=(_,m,g)=>{const b=Pg(r,f);b[String(f.key)]=f,_[fi]=()=>{m(),_[fi]=void 0,delete d.delayedLeave},d.delayedLeave=g})}return a}}},Zh=Q6;function Pg(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 uo(e,t,n,r){const{appear:i,mode:o,persisted:a=!1,onBeforeEnter:s,onEnter:l,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:c,onLeave:f,onAfterLeave:p,onLeaveCancelled:y,onBeforeAppear:v,onAppear:_,onAfterAppear:m,onAppearCancelled:g}=t,b=String(e.key),h=Pg(n,e),E=(A,C)=>{A&&dn(A,r,9,C)},k=(A,C)=>{const N=C[1];E(A,C),Ce(A)?A.every(O=>O.length<=1)&&N():A.length<=1&&N()},T={mode:o,persisted:a,beforeEnter(A){let C=s;if(!n.isMounted)if(i)C=v||s;else return;A[fi]&&A[fi](!0);const N=h[b];N&&zn(e,N)&&N.el[fi]&&N.el[fi](),E(C,[A])},enter(A){let C=l,N=u,O=d;if(!n.isMounted)if(i)C=_||l,N=m||u,O=g||d;else return;let S=!1;const L=A[bl]=R=>{S||(S=!0,R?E(O,[A]):E(N,[A]),T.delayedLeave&&T.delayedLeave(),A[bl]=void 0)};C?k(C,[A,L]):L()},leave(A,C){const N=String(e.key);if(A[bl]&&A[bl](!0),n.isUnmounting)return C();E(c,[A]);let O=!1;const S=A[fi]=L=>{O||(O=!0,C(),L?E(y,[A]):E(p,[A]),A[fi]=void 0,h[N]===e&&delete h[N])};h[N]=e,f?k(f,[A,S]):S()},clone(A){return uo(A,t,n,r)}};return T}function Pf(e){if(Fs(e))return e=Gn(e),e.children=null,e}function Qp(e){return Fs(e)?e.children?e.children[0]:void 0:e}function Ai(e,t){e.shapeFlag&6&&e.component?Ai(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 js(e,t=!1,n){let r=[],i=0;for(let o=0;o<e.length;o++){let a=e[o];const s=n==null?a.key:String(n)+String(a.key!=null?a.key:o);a.type===tt?(a.patchFlag&128&&i++,r=r.concat(js(a.children,t,s))):(t||a.type!==It)&&r.push(s!=null?Gn(a,{key:s}):a)}if(i>1)for(let o=0;o<r.length;o++)r[o].patchFlag=-2;return r}/*! #__NO_SIDE_EFFECTS__ */function wt(e,t){return ke(e)?(()=>xt({name:e.name},t,{setup:e}))():e}const so=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function Ig(e){ke(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:i=200,timeout:o,suspensible:a=!0,onError:s}=e;let l=null,u,d=0;const c=()=>(d++,l=null,f()),f=()=>{let p;return l||(p=l=t().catch(y=>{if(y=y instanceof Error?y:new Error(String(y)),s)return new Promise((v,_)=>{s(y,()=>v(c()),()=>_(y),d+1)});throw y}).then(y=>p!==l&&l?l:(y&&(y.__esModule||y[Symbol.toStringTag]==="Module")&&(y=y.default),u=y,y)))};return wt({name:"AsyncComponentWrapper",__asyncLoader:f,get __asyncResolved(){return u},setup(){const p=dt;if(u)return()=>If(u,p);const y=g=>{l=null,Ii(g,p,13,!r)};if(a&&p.suspense||Wo)return f().then(g=>()=>If(g,p)).catch(g=>(y(g),()=>r?Ve(r,{error:g}):null));const v=Te(!1),_=Te(),m=Te(!!i);return i&&setTimeout(()=>{m.value=!1},i),o!=null&&setTimeout(()=>{if(!v.value&&!_.value){const g=new Error(`Async component timed out after ${o}ms.`);y(g),_.value=g}},o),f().then(()=>{v.value=!0,p.parent&&Fs(p.parent.vnode)&&Au(p.parent.update)}).catch(g=>{y(g),_.value=g}),()=>{if(v.value&&u)return If(u,p);if(_.value&&r)return Ve(r,{error:_.value});if(n&&!m.value)return Ve(n)}}})}function If(e,t){const{ref:n,props:r,children:i,ce:o}=t.vnode,a=Ve(e,r,i);return a.ref=n,a.ce=o,delete t.vnode.ce,a}const Fs=e=>e.type.__isKeepAlive,e3={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Qt(),r=n.ctx;if(!r.renderer)return()=>{const g=t.default&&t.default();return g&&g.length===1?g[0]:g};const i=new Map,o=new Set;let a=null;const s=n.suspense,{renderer:{p:l,m:u,um:d,o:{createElement:c}}}=r,f=c("div");r.activate=(g,b,h,E,k)=>{const T=g.component;u(g,b,h,0,s),l(T.vnode,g,b,h,T,s,E,g.slotScopeIds,k),jt(()=>{T.isDeactivated=!1,T.a&&Ba(T.a);const A=g.props&&g.props.onVnodeMounted;A&&sn(A,T.parent,g)},s)},r.deactivate=g=>{const b=g.component;u(g,f,null,1,s),jt(()=>{b.da&&Ba(b.da);const h=g.props&&g.props.onVnodeUnmounted;h&&sn(h,b.parent,g),b.isDeactivated=!0},s)};function p(g){Rf(g),d(g,n,s,!0)}function y(g){i.forEach((b,h)=>{const E=wd(b.type);E&&(!g||!g(E))&&v(h)})}function v(g){const b=i.get(g);!a||!zn(b,a)?p(b):a&&Rf(a),i.delete(g),o.delete(g)}ht(()=>[e.include,e.exclude],([g,b])=>{g&&y(h=>Ha(g,h)),b&&y(h=>!Ha(b,h))},{flush:"post",deep:!0});let _=null;const m=()=>{_!=null&&i.set(_,xf(n.subTree))};return Fn(m),Vs(m),bo(()=>{i.forEach(g=>{const{subTree:b,suspense:h}=n,E=xf(b);if(g.type===E.type&&g.key===E.key){Rf(E);const k=E.component.da;k&&jt(k,h);return}p(g)})}),()=>{if(_=null,!t.default)return null;const g=t.default(),b=g[0];if(g.length>1)return a=null,g;if(!$r(b)||!(b.shapeFlag&4)&&!(b.shapeFlag&128))return a=null,b;let h=xf(b);const E=h.type,k=wd(so(h)?h.type.__asyncResolved||{}:E),{include:T,exclude:A,max:C}=e;if(T&&(!k||!Ha(T,k))||A&&k&&Ha(A,k))return a=h,b;const N=h.key==null?E:h.key,O=i.get(N);return h.el&&(h=Gn(h),b.shapeFlag&128&&(b.ssContent=h)),_=N,O?(h.el=O.el,h.component=O.component,h.transition&&Ai(h,h.transition),h.shapeFlag|=512,o.delete(N),o.add(N)):(o.add(N),C&&o.size>parseInt(C,10)&&v(o.values().next().value)),h.shapeFlag|=256,a=h,Sg(b.type)?b:h}}},Rg=e3;function Ha(e,t){return Ce(e)?e.some(n=>Ha(n,t)):Ot(e)?e.split(",").includes(t):A6(e)?e.test(t):!1}function Qh(e,t){xg(e,"a",t)}function e1(e,t){xg(e,"da",t)}function xg(e,t,n=dt){const r=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(Ru(t,r,n),n){let i=n.parent;for(;i&&i.parent;)Fs(i.parent.vnode)&&t3(r,t,n,i),i=i.parent}}function t3(e,t,n,r){const i=Ru(t,e,r,!0);_o(()=>{Vh(r[t],i)},n)}function Rf(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function xf(e){return e.shapeFlag&128?e.ssContent:e}function Ru(e,t,n=dt,r=!1){if(n){const i=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...a)=>{if(n.isUnmounted)return;ha(),Si(n);const s=dn(t,n,e,a);return _i(),pa(),s});return r?i.unshift(o):i.push(o),o}}const Xr=e=>(t,n=dt)=>(!Wo||e==="sp")&&Ru(e,(...r)=>t(...r),n),xu=Xr("bm"),Fn=Xr("m"),Mu=Xr("bu"),Vs=Xr("u"),bo=Xr("bum"),_o=Xr("um"),t1=Xr("sp"),n1=Xr("rtg"),r1=Xr("rtc");function i1(e,t=dt){Ru("ec",e,t)}function ss(e,t,n,r){let i;const o=n&&n[r];if(Ce(e)||Ot(e)){i=new Array(e.length);for(let a=0,s=e.length;a<s;a++)i[a]=t(e[a],a,void 0,o&&o[a])}else if(typeof e=="number"){i=new Array(e);for(let a=0;a<e;a++)i[a]=t(a+1,a,void 0,o&&o[a])}else if(pt(e))if(e[Symbol.iterator])i=Array.from(e,(a,s)=>t(a,s,void 0,o&&o[s]));else{const a=Object.keys(e);i=new Array(a.length);for(let s=0,l=a.length;s<l;s++){const u=a[s];i[s]=t(e[u],u,s,o&&o[s])}}else i=[];return n&&(n[r]=i),i}function o1(e,t){for(let n=0;n<t.length;n++){const r=t[n];if(Ce(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 o=r.fn(...i);return o&&(o.key=r.key),o}:r.fn)}return e}function St(e,t,n={},r,i){if(Lt.isCE||Lt.parent&&so(Lt.parent)&&Lt.parent.isCE)return t!=="default"&&(n.name=t),Ve("slot",n,r&&r());let o=e[t];o&&o._c&&(o._d=!1),Se();const a=o&&Mg(o(n)),s=qt(tt,{key:n.key||a&&a.key||`_${t}`},a||(r?r():[]),a&&e._===1?64:-2);return!i&&s.scopeId&&(s.slotScopeIds=[s.scopeId+"-s"]),o&&o._c&&(o._d=!0),s}function Mg(e){return e.some(t=>$r(t)?!(t.type===It||t.type===tt&&!Mg(t.children)):!0)?e:null}function a1(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:Bo(r)]=e[r];return n}const gd=e=>e?fv(e)?Hu(e)||e.proxy:gd(e.parent):null,za=xt(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=>gd(e.parent),$root:e=>gd(e.root),$emit:e=>e.emit,$options:e=>c1(e),$forceUpdate:e=>e.f||(e.f=()=>Au(e.update)),$nextTick:e=>e.n||(e.n=Dn.bind(e.proxy)),$watch:e=>Z6.bind(e)}),Mf=(e,t)=>e!==Ye&&!e.__isScriptSetup&&Ke(e,t),vd={get({_:e},t){const{ctx:n,setupState:r,data:i,props:o,accessCache:a,type:s,appContext:l}=e;let u;if(t[0]!=="$"){const p=a[t];if(p!==void 0)switch(p){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return o[t]}else{if(Mf(r,t))return a[t]=1,r[t];if(i!==Ye&&Ke(i,t))return a[t]=2,i[t];if((u=e.propsOptions[0])&&Ke(u,t))return a[t]=3,o[t];if(n!==Ye&&Ke(n,t))return a[t]=4,n[t];yd&&(a[t]=0)}}const d=za[t];let c,f;if(d)return t==="$attrs"&&hn(e,"get",t),d(e);if((c=s.__cssModules)&&(c=c[t]))return c;if(n!==Ye&&Ke(n,t))return a[t]=4,n[t];if(f=l.config.globalProperties,Ke(f,t))return f[t]},set({_:e},t,n){const{data:r,setupState:i,ctx:o}=e;return Mf(i,t)?(i[t]=n,!0):r!==Ye&&Ke(r,t)?(r[t]=n,!0):Ke(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,propsOptions:o}},a){let s;return!!n[a]||e!==Ye&&Ke(e,a)||Mf(t,a)||(s=o[0])&&Ke(s,a)||Ke(r,a)||Ke(za,a)||Ke(i.config.globalProperties,a)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Ke(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},n3=xt({},vd,{get(e,t){if(t!==Symbol.unscopables)return vd.get(e,t,e)},has(e,t){return t[0]!=="_"&&!P6(t)}});function Dg(){return null}function Hg(){return null}function jg(e){}function Fg(e){}function Vg(){return null}function Bg(){}function zg(e,t){return null}function s1(){return qg().slots}function $g(){return qg().attrs}function Ug(e,t,n){const r=Qt();if(n&&n.local){const i=Te(e[t]);return ht(()=>e[t],o=>i.value=o),ht(i,o=>{o!==e[t]&&r.emit(`update:${t}`,o)}),i}else return{__v_isRef:!0,get value(){return e[t]},set value(i){r.emit(`update:${t}`,i)}}}function qg(){const e=Qt();return e.setupContext||(e.setupContext=mv(e))}function ls(e){return Ce(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Kg(e,t){const n=ls(e);for(const r in t){if(r.startsWith("__skip"))continue;let i=n[r];i?Ce(i)||ke(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 Wg(e,t){return!e||!t?e||t:Ce(e)&&Ce(t)?e.concat(t):xt({},ls(e),ls(t))}function Gg(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function l1(e){const t=Qt();let n=e();return _i(),Bh(n)&&(n=n.catch(r=>{throw Si(t),r})),[n,()=>Si(t)]}let yd=!0;function r3(e){const t=c1(e),n=e.proxy,r=e.ctx;yd=!1,t.beforeCreate&&em(t.beforeCreate,e,"bc");const{data:i,computed:o,methods:a,watch:s,provide:l,inject:u,created:d,beforeMount:c,mounted:f,beforeUpdate:p,updated:y,activated:v,deactivated:_,beforeDestroy:m,beforeUnmount:g,destroyed:b,unmounted:h,render:E,renderTracked:k,renderTriggered:T,errorCaptured:A,serverPrefetch:C,expose:N,inheritAttrs:O,components:S,directives:L,filters:R}=t;if(u&&i3(u,r,null),a)for(const q in a){const re=a[q];ke(re)&&(r[q]=re.bind(n))}if(i){const q=i.call(n,n);pt(q)&&(e.data=yo(q))}if(yd=!0,o)for(const q in o){const re=o[q],Y=ke(re)?re.bind(n,n):ke(re.get)?re.get.bind(n,n):pr,j=!ke(re)&&ke(re.set)?re.set.bind(n):pr,I=de({get:Y,set:j});Object.defineProperty(r,q,{enumerable:!0,configurable:!0,get:()=>I.value,set:F=>I.value=F})}if(s)for(const q in s)Yg(s[q],r,n,q);if(l){const q=ke(l)?l.call(n):l;Reflect.ownKeys(q).forEach(re=>{u1(re,q[re])})}d&&em(d,e,"c");function B(q,re){Ce(re)?re.forEach(Y=>q(Y.bind(n))):re&&q(re.bind(n))}if(B(xu,c),B(Fn,f),B(Mu,p),B(Vs,y),B(Qh,v),B(e1,_),B(i1,A),B(r1,k),B(n1,T),B(bo,g),B(_o,h),B(t1,C),Ce(N))if(N.length){const q=e.exposed||(e.exposed={});N.forEach(re=>{Object.defineProperty(q,re,{get:()=>n[re],set:Y=>n[re]=Y})})}else e.exposed||(e.exposed={});E&&e.render===pr&&(e.render=E),O!=null&&(e.inheritAttrs=O),S&&(e.components=S),L&&(e.directives=L)}function i3(e,t,n=pr){Ce(e)&&(e=bd(e));for(const r in e){const i=e[r];let o;pt(i)?"default"in i?o=Vr(i.from||r,i.default,!0):o=Vr(i.from||r):o=Vr(i),Ge(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:a=>o.value=a}):t[r]=o}}function em(e,t,n){dn(Ce(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Yg(e,t,n,r){const i=r.includes(".")?Lg(n,r):()=>n[r];if(Ot(e)){const o=t[e];ke(o)&&ht(i,o)}else if(ke(e))ht(i,e.bind(n));else if(pt(e))if(Ce(e))e.forEach(o=>Yg(o,t,n,r));else{const o=ke(e.handler)?e.handler.bind(n):t[e.handler];ke(o)&&ht(i,o,e)}}function c1(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:o,config:{optionMergeStrategies:a}}=e.appContext,s=o.get(t);let l;return s?l=s:!i.length&&!n&&!r?l=t:(l={},i.length&&i.forEach(u=>uc(l,u,a,!0)),uc(l,t,a)),pt(t)&&o.set(t,l),l}function uc(e,t,n,r=!1){const{mixins:i,extends:o}=t;o&&uc(e,o,n,!0),i&&i.forEach(a=>uc(e,a,n,!0));for(const a in t)if(!(r&&a==="expose")){const s=o3[a]||n&&n[a];e[a]=s?s(e[a],t[a]):t[a]}return e}const o3={data:tm,props:nm,emits:nm,methods:ja,computed:ja,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:ja,directives:ja,watch:s3,provide:tm,inject:a3};function tm(e,t){return t?e?function(){return xt(ke(e)?e.call(this,this):e,ke(t)?t.call(this,this):t)}:t:e}function a3(e,t){return ja(bd(e),bd(t))}function bd(e){if(Ce(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 ja(e,t){return e?xt(Object.create(null),e,t):t}function nm(e,t){return e?Ce(e)&&Ce(t)?[...new Set([...e,...t])]:xt(Object.create(null),ls(e),ls(t??{})):t}function s3(e,t){if(!e)return t;if(!t)return e;const n=xt(Object.create(null),e);for(const r in t)n[r]=Xt(e[r],t[r]);return n}function Xg(){return{app:null,config:{isNativeTag:T6,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 l3=0;function c3(e,t){return function(r,i=null){ke(r)||(r=xt({},r)),i!=null&&!pt(i)&&(i=null);const o=Xg(),a=new WeakSet;let s=!1;const l=o.app={_uid:l3++,_component:r,_props:i,_container:null,_context:o,_instance:null,version:ju,get config(){return o.config},set config(u){},use(u,...d){return a.has(u)||(u&&ke(u.install)?(a.add(u),u.install(l,...d)):ke(u)&&(a.add(u),u(l,...d))),l},mixin(u){return o.mixins.includes(u)||o.mixins.push(u),l},component(u,d){return d?(o.components[u]=d,l):o.components[u]},directive(u,d){return d?(o.directives[u]=d,l):o.directives[u]},mount(u,d,c){if(!s){const f=Ve(r,i);return f.appContext=o,d&&t?t(f,u):e(f,u,c),s=!0,l._container=u,u.__vue_app__=l,Hu(f.component)||f.component.proxy}},unmount(){s&&(e(null,l._container),delete l._container.__vue_app__)},provide(u,d){return o.provides[u]=d,l},runWithContext(u){cs=l;try{return u()}finally{cs=null}}};return l}}let cs=null;function u1(e,t){if(dt){let n=dt.provides;const r=dt.parent&&dt.parent.provides;r===n&&(n=dt.provides=Object.create(r)),n[e]=t}}function Vr(e,t,n=!1){const r=dt||Lt;if(r||cs){const i=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:cs._context.provides;if(i&&e in i)return i[e];if(arguments.length>1)return n&&ke(t)?t.call(r&&r.proxy):t}}function f1(){return!!(dt||Lt||cs)}function u3(e,t,n,r=!1){const i={},o={};hd(o,Du,1),e.propsDefaults=Object.create(null),Jg(e,t,i,o);for(const a in e.propsOptions[0])a in i||(i[a]=void 0);n?e.props=r?i:Mh(i):e.type.props?e.props=i:e.props=o,e.attrs=o}function f3(e,t,n,r){const{props:i,attrs:o,vnode:{patchFlag:a}}=e,s=Re(i),[l]=e.propsOptions;let u=!1;if((r||a>0)&&!(a&16)){if(a&8){const d=e.vnode.dynamicProps;for(let c=0;c<d.length;c++){let f=d[c];if(Su(e.emitsOptions,f))continue;const p=t[f];if(l)if(Ke(o,f))p!==o[f]&&(o[f]=p,u=!0);else{const y=Mn(f);i[y]=_d(l,s,y,p,e,!1)}else p!==o[f]&&(o[f]=p,u=!0)}}}else{Jg(e,t,i,o)&&(u=!0);let d;for(const c in s)(!t||!Ke(t,c)&&((d=wu(c))===c||!Ke(t,d)))&&(l?n&&(n[c]!==void 0||n[d]!==void 0)&&(i[c]=_d(l,s,c,void 0,e,!0)):delete i[c]);if(o!==s)for(const c in o)(!t||!Ke(t,c))&&(delete o[c],u=!0)}u&&Fr(e,"set","$attrs")}function Jg(e,t,n,r){const[i,o]=e.propsOptions;let a=!1,s;if(t)for(let l in t){if(Va(l))continue;const u=t[l];let d;i&&Ke(i,d=Mn(l))?!o||!o.includes(d)?n[d]=u:(s||(s={}))[d]=u:Su(e.emitsOptions,l)||(!(l in r)||u!==r[l])&&(r[l]=u,a=!0)}if(o){const l=Re(n),u=s||Ye;for(let d=0;d<o.length;d++){const c=o[d];n[c]=_d(i,l,c,u[c],e,!Ke(u,c))}}return a}function _d(e,t,n,r,i,o){const a=e[n];if(a!=null){const s=Ke(a,"default");if(s&&r===void 0){const l=a.default;if(a.type!==Function&&!a.skipFactory&&ke(l)){const{propsDefaults:u}=i;n in u?r=u[n]:(Si(i),r=u[n]=l.call(null,t),_i())}else r=l}a[0]&&(o&&!s?r=!1:a[1]&&(r===""||r===wu(n))&&(r=!0))}return r}function Zg(e,t,n=!1){const r=t.propsCache,i=r.get(e);if(i)return i;const o=e.props,a={},s=[];let l=!1;if(!ke(e)){const d=c=>{l=!0;const[f,p]=Zg(c,t,!0);xt(a,f),p&&s.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!o&&!l)return pt(e)&&r.set(e,Vo),Vo;if(Ce(o))for(let d=0;d<o.length;d++){const c=Mn(o[d]);rm(c)&&(a[c]=Ye)}else if(o)for(const d in o){const c=Mn(d);if(rm(c)){const f=o[d],p=a[c]=Ce(f)||ke(f)?{type:f}:xt({},f);if(p){const y=am(Boolean,p.type),v=am(String,p.type);p[0]=y>-1,p[1]=v<0||y<v,(y>-1||Ke(p,"default"))&&s.push(c)}}}const u=[a,s];return pt(e)&&r.set(e,u),u}function rm(e){return e[0]!=="$"}function im(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function om(e,t){return im(e)===im(t)}function am(e,t){return Ce(t)?t.findIndex(n=>om(n,e)):ke(t)&&om(t,e)?0:-1}const Qg=e=>e[0]==="_"||e==="$stable",d1=e=>Ce(e)?e.map(yn):[yn(e)],d3=(e,t,n)=>{if(t._n)return t;const r=gr((...i)=>d1(t(...i)),n);return r._c=!1,r},ev=(e,t,n)=>{const r=e._ctx;for(const i in e){if(Qg(i))continue;const o=e[i];if(ke(o))t[i]=d3(i,o,r);else if(o!=null){const a=d1(o);t[i]=()=>a}}},tv=(e,t)=>{const n=d1(t);e.slots.default=()=>n},h3=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=Re(t),hd(t,"_",n)):ev(t,e.slots={})}else e.slots={},t&&tv(e,t);hd(e.slots,Du,1)},p3=(e,t,n)=>{const{vnode:r,slots:i}=e;let o=!0,a=Ye;if(r.shapeFlag&32){const s=t._;s?n&&s===1?o=!1:(xt(i,t),!n&&s===1&&delete i._):(o=!t.$stable,ev(t,i)),a=t}else t&&(tv(e,t),a={default:1});if(o)for(const s in i)!Qg(s)&&a[s]==null&&delete i[s]};function fc(e,t,n,r,i=!1){if(Ce(e)){e.forEach((f,p)=>fc(f,t&&(Ce(t)?t[p]:t),n,r,i));return}if(so(r)&&!i)return;const o=r.shapeFlag&4?Hu(r.component)||r.component.proxy:r.el,a=i?null:o,{i:s,r:l}=e,u=t&&t.r,d=s.refs===Ye?s.refs={}:s.refs,c=s.setupState;if(u!=null&&u!==l&&(Ot(u)?(d[u]=null,Ke(c,u)&&(c[u]=null)):Ge(u)&&(u.value=null)),ke(l))mr(l,s,12,[a,d]);else{const f=Ot(l),p=Ge(l);if(f||p){const y=()=>{if(e.f){const v=f?Ke(c,l)?c[l]:d[l]:l.value;i?Ce(v)&&Vh(v,o):Ce(v)?v.includes(o)||v.push(o):f?(d[l]=[o],Ke(c,l)&&(c[l]=d[l])):(l.value=[o],e.k&&(d[e.k]=l.value))}else f?(d[l]=a,Ke(c,l)&&(c[l]=a)):p&&(l.value=a,e.k&&(d[e.k]=a))};a?(y.id=-1,jt(y,n)):y()}}}let ni=!1;const _l=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",El=e=>e.nodeType===8;function m3(e){const{mt:t,p:n,o:{patchProp:r,createText:i,nextSibling:o,parentNode:a,remove:s,insert:l,createComment:u}}=e,d=(b,h)=>{if(!h.hasChildNodes()){n(null,b,h),cc(),h._vnode=b;return}ni=!1,c(h.firstChild,b,null,null,null),cc(),h._vnode=b,ni&&console.error("Hydration completed but contains mismatches.")},c=(b,h,E,k,T,A=!1)=>{const C=El(b)&&b.data==="[",N=()=>v(b,h,E,k,T,C),{type:O,ref:S,shapeFlag:L,patchFlag:R}=h;let D=b.nodeType;h.el=b,R===-2&&(A=!1,h.dynamicChildren=null);let B=null;switch(O){case vr:D!==3?h.children===""?(l(h.el=i(""),a(b),b),B=b):B=N():(b.data!==h.children&&(ni=!0,b.data=h.children),B=o(b));break;case It:g(b)?(B=o(b),m(h.el=b.content.firstChild,b,E)):D!==8||C?B=N():B=o(b);break;case bi:if(C&&(b=o(b),D=b.nodeType),D===1||D===3){B=b;const q=!h.children.length;for(let re=0;re<h.staticCount;re++)q&&(h.children+=B.nodeType===1?B.outerHTML:B.data),re===h.staticCount-1&&(h.anchor=B),B=o(B);return C?o(B):B}else N();break;case tt:C?B=y(b,h,E,k,T,A):B=N();break;default:if(L&1)(D!==1||h.type.toLowerCase()!==b.tagName.toLowerCase())&&!g(b)?B=N():B=f(b,h,E,k,T,A);else if(L&6){h.slotScopeIds=T;const q=a(b);if(C?B=_(b):El(b)&&b.data==="teleport start"?B=_(b,b.data,"teleport end"):B=o(b),t(h,q,null,E,k,_l(q),A),so(h)){let re;C?(re=Ve(tt),re.anchor=B?B.previousSibling:q.lastChild):re=b.nodeType===3?Ur(""):Ve("div"),re.el=b,h.component.subTree=re}}else L&64?D!==8?B=N():B=h.type.hydrate(b,h,E,k,T,A,e,p):L&128&&(B=h.type.hydrate(b,h,E,k,_l(a(b)),T,A,e,c))}return S!=null&&fc(S,null,k,h),B},f=(b,h,E,k,T,A)=>{A=A||!!h.dynamicChildren;const{type:C,props:N,patchFlag:O,shapeFlag:S,dirs:L,transition:R}=h,D=C==="input"||C==="option";if(D||O!==-1){if(L&&lr(h,null,E,"created"),N)if(D||!A||O&48)for(const re in N)(D&&(re.endsWith("value")||re==="indeterminate")||Eu(re)&&!Va(re)||re[0]===".")&&r(b,re,null,N[re],!1,void 0,E);else N.onClick&&r(b,"onClick",null,N.onClick,!1,void 0,E);let B;(B=N&&N.onVnodeBeforeMount)&&sn(B,E,h);let q=!1;if(g(b)){q=rv(k,R)&&E&&E.vnode.props&&E.vnode.props.appear;const re=b.content.firstChild;q&&R.beforeEnter(re),m(re,b,E),h.el=b=re}if(L&&lr(h,null,E,"beforeMount"),((B=N&&N.onVnodeMounted)||L||q)&&Ng(()=>{B&&sn(B,E,h),q&&R.enter(b),L&&lr(h,null,E,"mounted")},k),S&16&&!(N&&(N.innerHTML||N.textContent))){let re=p(b.firstChild,h,b,E,k,T,A);for(;re;){ni=!0;const Y=re;re=re.nextSibling,s(Y)}}else S&8&&b.textContent!==h.children&&(ni=!0,b.textContent=h.children)}return b.nextSibling},p=(b,h,E,k,T,A,C)=>{C=C||!!h.dynamicChildren;const N=h.children,O=N.length;for(let S=0;S<O;S++){const L=C?N[S]:N[S]=yn(N[S]);if(b)b=c(b,L,k,T,A,C);else{if(L.type===vr&&!L.children)continue;ni=!0,n(null,L,E,null,k,T,_l(E),A)}}return b},y=(b,h,E,k,T,A)=>{const{slotScopeIds:C}=h;C&&(T=T?T.concat(C):C);const N=a(b),O=p(o(b),h,N,E,k,T,A);return O&&El(O)&&O.data==="]"?o(h.anchor=O):(ni=!0,l(h.anchor=u("]"),N,O),O)},v=(b,h,E,k,T,A)=>{if(ni=!0,h.el=null,A){const O=_(b);for(;;){const S=o(b);if(S&&S!==O)s(S);else break}}const C=o(b),N=a(b);return s(b),n(null,h,N,C,E,k,_l(N),T),C},_=(b,h="[",E="]")=>{let k=0;for(;b;)if(b=o(b),b&&El(b)&&(b.data===h&&k++,b.data===E)){if(k===0)return o(b);k--}return b},m=(b,h,E)=>{const k=h.parentNode;k&&k.replaceChild(b,h);let T=E;for(;T;)T.vnode.el===h&&(T.vnode.el=T.subTree.el=b),T=T.parent},g=b=>b.nodeType===1&&b.tagName.toLowerCase()==="template";return[d,c]}const jt=Ng;function h1(e){return nv(e)}function p1(e){return nv(e,m3)}function nv(e,t){const n=pd();n.__VUE__=!0;const{insert:r,remove:i,patchProp:o,createElement:a,createText:s,createComment:l,setText:u,setElementText:d,parentNode:c,nextSibling:f,setScopeId:p=pr,insertStaticContent:y}=e,v=(V,P,x,$=null,Z=null,se=null,U=!1,G=null,ee=!!P.dynamicChildren)=>{if(V===P)return;V&&!zn(V,P)&&($=X(V),F(V,Z,se,!0),V=null),P.patchFlag===-2&&(ee=!1,P.dynamicChildren=null);const{type:Q,ref:ae,shapeFlag:le}=P;switch(Q){case vr:_(V,P,x,$);break;case It:m(V,P,x,$);break;case bi:V==null&&g(P,x,$,U);break;case tt:S(V,P,x,$,Z,se,U,G,ee);break;default:le&1?E(V,P,x,$,Z,se,U,G,ee):le&6?L(V,P,x,$,Z,se,U,G,ee):(le&64||le&128)&&Q.process(V,P,x,$,Z,se,U,G,ee,oe)}ae!=null&&Z&&fc(ae,V&&V.ref,se,P||V,!P)},_=(V,P,x,$)=>{if(V==null)r(P.el=s(P.children),x,$);else{const Z=P.el=V.el;P.children!==V.children&&u(Z,P.children)}},m=(V,P,x,$)=>{V==null?r(P.el=l(P.children||""),x,$):P.el=V.el},g=(V,P,x,$)=>{[V.el,V.anchor]=y(V.children,P,x,$,V.el,V.anchor)},b=({el:V,anchor:P},x,$)=>{let Z;for(;V&&V!==P;)Z=f(V),r(V,x,$),V=Z;r(P,x,$)},h=({el:V,anchor:P})=>{let x;for(;V&&V!==P;)x=f(V),i(V),V=x;i(P)},E=(V,P,x,$,Z,se,U,G,ee)=>{U=U||P.type==="svg",V==null?k(P,x,$,Z,se,U,G,ee):C(V,P,Z,se,U,G,ee)},k=(V,P,x,$,Z,se,U,G)=>{let ee,Q;const{type:ae,props:le,shapeFlag:K,transition:ne,dirs:pe}=V;if(ee=V.el=a(V.type,se,le&&le.is,le),K&8?d(ee,V.children):K&16&&A(V.children,ee,null,$,Z,se&&ae!=="foreignObject",U,G),pe&&lr(V,null,$,"created"),T(ee,V,V.scopeId,U,$),le){for(const ge in le)ge!=="value"&&!Va(ge)&&o(ee,ge,null,le[ge],se,V.children,$,Z,H);"value"in le&&o(ee,"value",null,le.value),(Q=le.onVnodeBeforeMount)&&sn(Q,$,V)}pe&&lr(V,null,$,"beforeMount");const ve=rv(Z,ne);ve&&ne.beforeEnter(ee),r(ee,P,x),((Q=le&&le.onVnodeMounted)||ve||pe)&&jt(()=>{Q&&sn(Q,$,V),ve&&ne.enter(ee),pe&&lr(V,null,$,"mounted")},Z)},T=(V,P,x,$,Z)=>{if(x&&p(V,x),$)for(let se=0;se<$.length;se++)p(V,$[se]);if(Z){let se=Z.subTree;if(P===se){const U=Z.vnode;T(V,U,U.scopeId,U.slotScopeIds,Z.parent)}}},A=(V,P,x,$,Z,se,U,G,ee=0)=>{for(let Q=ee;Q<V.length;Q++){const ae=V[Q]=G?di(V[Q]):yn(V[Q]);v(null,ae,P,x,$,Z,se,U,G)}},C=(V,P,x,$,Z,se,U)=>{const G=P.el=V.el;let{patchFlag:ee,dynamicChildren:Q,dirs:ae}=P;ee|=V.patchFlag&16;const le=V.props||Ye,K=P.props||Ye;let ne;x&&Gi(x,!1),(ne=K.onVnodeBeforeUpdate)&&sn(ne,x,P,V),ae&&lr(P,V,x,"beforeUpdate"),x&&Gi(x,!0);const pe=Z&&P.type!=="foreignObject";if(Q?N(V.dynamicChildren,Q,G,x,$,pe,se):U||re(V,P,G,null,x,$,pe,se,!1),ee>0){if(ee&16)O(G,P,le,K,x,$,Z);else if(ee&2&&le.class!==K.class&&o(G,"class",null,K.class,Z),ee&4&&o(G,"style",le.style,K.style,Z),ee&8){const ve=P.dynamicProps;for(let ge=0;ge<ve.length;ge++){const xe=ve[ge],Oe=le[xe],Ze=K[xe];(Ze!==Oe||xe==="value")&&o(G,xe,Oe,Ze,Z,V.children,x,$,H)}}ee&1&&V.children!==P.children&&d(G,P.children)}else!U&&Q==null&&O(G,P,le,K,x,$,Z);((ne=K.onVnodeUpdated)||ae)&&jt(()=>{ne&&sn(ne,x,P,V),ae&&lr(P,V,x,"updated")},$)},N=(V,P,x,$,Z,se,U)=>{for(let G=0;G<P.length;G++){const ee=V[G],Q=P[G],ae=ee.el&&(ee.type===tt||!zn(ee,Q)||ee.shapeFlag&70)?c(ee.el):x;v(ee,Q,ae,null,$,Z,se,U,!0)}},O=(V,P,x,$,Z,se,U)=>{if(x!==$){if(x!==Ye)for(const G in x)!Va(G)&&!(G in $)&&o(V,G,x[G],null,U,P.children,Z,se,H);for(const G in $){if(Va(G))continue;const ee=$[G],Q=x[G];ee!==Q&&G!=="value"&&o(V,G,Q,ee,U,P.children,Z,se,H)}"value"in $&&o(V,"value",x.value,$.value)}},S=(V,P,x,$,Z,se,U,G,ee)=>{const Q=P.el=V?V.el:s(""),ae=P.anchor=V?V.anchor:s("");let{patchFlag:le,dynamicChildren:K,slotScopeIds:ne}=P;ne&&(G=G?G.concat(ne):ne),V==null?(r(Q,x,$),r(ae,x,$),A(P.children,x,ae,Z,se,U,G,ee)):le>0&&le&64&&K&&V.dynamicChildren?(N(V.dynamicChildren,K,x,Z,se,U,G),(P.key!=null||Z&&P===Z.subTree)&&m1(V,P,!0)):re(V,P,x,ae,Z,se,U,G,ee)},L=(V,P,x,$,Z,se,U,G,ee)=>{P.slotScopeIds=G,V==null?P.shapeFlag&512?Z.ctx.activate(P,x,$,U,ee):R(P,x,$,Z,se,U,ee):D(V,P,ee)},R=(V,P,x,$,Z,se,U)=>{const G=V.component=uv(V,$,Z);if(Fs(V)&&(G.ctx.renderer=oe),dv(G),G.asyncDep){if(Z&&Z.registerDep(G,B),!V.el){const ee=G.subTree=Ve(It);m(null,ee,P,x)}return}B(G,V,P,x,Z,se,U)},D=(V,P,x)=>{const $=P.component=V.component;if(U6(V,P,x))if($.asyncDep&&!$.asyncResolved){q($,P,x);return}else $.next=P,j6($.update),$.update();else P.el=V.el,$.vnode=P},B=(V,P,x,$,Z,se,U)=>{const G=()=>{if(V.isMounted){let{next:ae,bu:le,u:K,parent:ne,vnode:pe}=V,ve=ae,ge;Gi(V,!1),ae?(ae.el=pe.el,q(V,ae,U)):ae=pe,le&&Ba(le),(ge=ae.props&&ae.props.onVnodeBeforeUpdate)&&sn(ge,ne,ae,pe),Gi(V,!0);const xe=Gl(V),Oe=V.subTree;V.subTree=xe,v(Oe,xe,c(Oe.el),X(Oe),V,Z,se),ae.el=xe.el,ve===null&&qh(V,xe.el),K&&jt(K,Z),(ge=ae.props&&ae.props.onVnodeUpdated)&&jt(()=>sn(ge,ne,ae,pe),Z)}else{let ae;const{el:le,props:K}=P,{bm:ne,m:pe,parent:ve}=V,ge=so(P);if(Gi(V,!1),ne&&Ba(ne),!ge&&(ae=K&&K.onVnodeBeforeMount)&&sn(ae,ve,P),Gi(V,!0),le&&he){const xe=()=>{V.subTree=Gl(V),he(le,V.subTree,V,Z,null)};ge?P.type.__asyncLoader().then(()=>!V.isUnmounted&&xe()):xe()}else{const xe=V.subTree=Gl(V);v(null,xe,x,$,V,Z,se),P.el=xe.el}if(pe&&jt(pe,Z),!ge&&(ae=K&&K.onVnodeMounted)){const xe=P;jt(()=>sn(ae,ve,xe),Z)}(P.shapeFlag&256||ve&&so(ve.vnode)&&ve.vnode.shapeFlag&256)&&V.a&&jt(V.a,Z),V.isMounted=!0,P=x=$=null}},ee=V.effect=new co(G,()=>Au(Q),V.scope),Q=V.update=()=>ee.run();Q.id=V.uid,Gi(V,!0),Q()},q=(V,P,x)=>{P.component=V;const $=V.vnode.props;V.vnode=P,V.next=null,f3(V,P.props,$,x),p3(V,P.children,x),ha(),Yp(),pa()},re=(V,P,x,$,Z,se,U,G,ee=!1)=>{const Q=V&&V.children,ae=V?V.shapeFlag:0,le=P.children,{patchFlag:K,shapeFlag:ne}=P;if(K>0){if(K&128){j(Q,le,x,$,Z,se,U,G,ee);return}else if(K&256){Y(Q,le,x,$,Z,se,U,G,ee);return}}ne&8?(ae&16&&H(Q,Z,se),le!==Q&&d(x,le)):ae&16?ne&16?j(Q,le,x,$,Z,se,U,G,ee):H(Q,Z,se,!0):(ae&8&&d(x,""),ne&16&&A(le,x,$,Z,se,U,G,ee))},Y=(V,P,x,$,Z,se,U,G,ee)=>{V=V||Vo,P=P||Vo;const Q=V.length,ae=P.length,le=Math.min(Q,ae);let K;for(K=0;K<le;K++){const ne=P[K]=ee?di(P[K]):yn(P[K]);v(V[K],ne,x,null,Z,se,U,G,ee)}Q>ae?H(V,Z,se,!0,!1,le):A(P,x,$,Z,se,U,G,ee,le)},j=(V,P,x,$,Z,se,U,G,ee)=>{let Q=0;const ae=P.length;let le=V.length-1,K=ae-1;for(;Q<=le&&Q<=K;){const ne=V[Q],pe=P[Q]=ee?di(P[Q]):yn(P[Q]);if(zn(ne,pe))v(ne,pe,x,null,Z,se,U,G,ee);else break;Q++}for(;Q<=le&&Q<=K;){const ne=V[le],pe=P[K]=ee?di(P[K]):yn(P[K]);if(zn(ne,pe))v(ne,pe,x,null,Z,se,U,G,ee);else break;le--,K--}if(Q>le){if(Q<=K){const ne=K+1,pe=ne<ae?P[ne].el:$;for(;Q<=K;)v(null,P[Q]=ee?di(P[Q]):yn(P[Q]),x,pe,Z,se,U,G,ee),Q++}}else if(Q>K)for(;Q<=le;)F(V[Q],Z,se,!0),Q++;else{const ne=Q,pe=Q,ve=new Map;for(Q=pe;Q<=K;Q++){const ot=P[Q]=ee?di(P[Q]):yn(P[Q]);ot.key!=null&&ve.set(ot.key,Q)}let ge,xe=0;const Oe=K-pe+1;let Ze=!1,Jn=0;const wn=new Array(Oe);for(Q=0;Q<Oe;Q++)wn[Q]=0;for(Q=ne;Q<=le;Q++){const ot=V[Q];if(xe>=Oe){F(ot,Z,se,!0);continue}let At;if(ot.key!=null)At=ve.get(ot.key);else for(ge=pe;ge<=K;ge++)if(wn[ge-pe]===0&&zn(ot,P[ge])){At=ge;break}At===void 0?F(ot,Z,se,!0):(wn[At-pe]=Q+1,At>=Jn?Jn=At:Ze=!0,v(ot,P[At],x,null,Z,se,U,G,ee),xe++)}const Zn=Ze?g3(wn):Vo;for(ge=Zn.length-1,Q=Oe-1;Q>=0;Q--){const ot=pe+Q,At=P[ot],mn=ot+1<ae?P[ot+1].el:$;wn[Q]===0?v(null,At,x,mn,Z,se,U,G,ee):Ze&&(ge<0||Q!==Zn[ge]?I(At,x,mn,2):ge--)}}},I=(V,P,x,$,Z=null)=>{const{el:se,type:U,transition:G,children:ee,shapeFlag:Q}=V;if(Q&6){I(V.component.subTree,P,x,$);return}if(Q&128){V.suspense.move(P,x,$);return}if(Q&64){U.move(V,P,x,oe);return}if(U===tt){r(se,P,x);for(let le=0;le<ee.length;le++)I(ee[le],P,x,$);r(V.anchor,P,x);return}if(U===bi){b(V,P,x);return}if($!==2&&Q&1&&G)if($===0)G.beforeEnter(se),r(se,P,x),jt(()=>G.enter(se),Z);else{const{leave:le,delayLeave:K,afterLeave:ne}=G,pe=()=>r(se,P,x),ve=()=>{le(se,()=>{pe(),ne&&ne()})};K?K(se,pe,ve):ve()}else r(se,P,x)},F=(V,P,x,$=!1,Z=!1)=>{const{type:se,props:U,ref:G,children:ee,dynamicChildren:Q,shapeFlag:ae,patchFlag:le,dirs:K}=V;if(G!=null&&fc(G,null,x,V,!0),ae&256){P.ctx.deactivate(V);return}const ne=ae&1&&K,pe=!so(V);let ve;if(pe&&(ve=U&&U.onVnodeBeforeUnmount)&&sn(ve,P,V),ae&6)J(V.component,x,$);else{if(ae&128){V.suspense.unmount(x,$);return}ne&&lr(V,null,P,"beforeUnmount"),ae&64?V.type.remove(V,P,x,Z,oe,$):Q&&(se!==tt||le>0&&le&64)?H(Q,P,x,!1,!0):(se===tt&&le&384||!Z&&ae&16)&&H(ee,P,x),$&&z(V)}(pe&&(ve=U&&U.onVnodeUnmounted)||ne)&&jt(()=>{ve&&sn(ve,P,V),ne&&lr(V,null,P,"unmounted")},x)},z=V=>{const{type:P,el:x,anchor:$,transition:Z}=V;if(P===tt){te(x,$);return}if(P===bi){h(V);return}const se=()=>{i(x),Z&&!Z.persisted&&Z.afterLeave&&Z.afterLeave()};if(V.shapeFlag&1&&Z&&!Z.persisted){const{leave:U,delayLeave:G}=Z,ee=()=>U(x,se);G?G(V.el,se,ee):ee()}else se()},te=(V,P)=>{let x;for(;V!==P;)x=f(V),i(V),V=x;i(P)},J=(V,P,x)=>{const{bum:$,scope:Z,update:se,subTree:U,um:G}=V;$&&Ba($),Z.stop(),se&&(se.active=!1,F(U,V,P,x)),G&&jt(G,P),jt(()=>{V.isUnmounted=!0},P),P&&P.pendingBranch&&!P.isUnmounted&&V.asyncDep&&!V.asyncResolved&&V.suspenseId===P.pendingId&&(P.deps--,P.deps===0&&P.resolve())},H=(V,P,x,$=!1,Z=!1,se=0)=>{for(let U=se;U<V.length;U++)F(V[U],P,x,$,Z)},X=V=>V.shapeFlag&6?X(V.component.subTree):V.shapeFlag&128?V.suspense.next():f(V.anchor||V.el),ie=(V,P,x)=>{V==null?P._vnode&&F(P._vnode,null,null,!0):v(P._vnode||null,V,P,null,null,null,x),Yp(),cc(),P._vnode=V},oe={p:v,um:F,m:I,r:z,mt:R,mc:A,pc:re,pbc:N,n:X,o:e};let ue,he;return t&&([ue,he]=t(oe)),{render:ie,hydrate:ue,createApp:c3(ie,ue)}}function Gi({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function rv(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function m1(e,t,n=!1){const r=e.children,i=t.children;if(Ce(r)&&Ce(i))for(let o=0;o<r.length;o++){const a=r[o];let s=i[o];s.shapeFlag&1&&!s.dynamicChildren&&((s.patchFlag<=0||s.patchFlag===32)&&(s=i[o]=di(i[o]),s.el=a.el),n||m1(a,s)),s.type===vr&&(s.el=a.el)}}function g3(e){const t=e.slice(),n=[0];let r,i,o,a,s;const l=e.length;for(r=0;r<l;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(o=0,a=n.length-1;o<a;)s=o+a>>1,e[n[s]]<u?o=s+1:a=s;u<e[n[o]]&&(o>0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,a=n[o-1];o-- >0;)n[o]=a,a=t[a];return n}const v3=e=>e.__isTeleport,$a=e=>e&&(e.disabled||e.disabled===""),sm=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Ed=(e,t)=>{const n=e&&e.to;return Ot(n)?t?t(n):null:n},y3={name:"Teleport",__isTeleport:!0,process(e,t,n,r,i,o,a,s,l,u){const{mc:d,pc:c,pbc:f,o:{insert:p,querySelector:y,createText:v,createComment:_}}=u,m=$a(t.props);let{shapeFlag:g,children:b,dynamicChildren:h}=t;if(e==null){const E=t.el=v(""),k=t.anchor=v("");p(E,n,r),p(k,n,r);const T=t.target=Ed(t.props,y),A=t.targetAnchor=v("");T&&(p(A,T),a=a||sm(T));const C=(N,O)=>{g&16&&d(b,N,O,i,o,a,s,l)};m?C(n,k):T&&C(T,A)}else{t.el=e.el;const E=t.anchor=e.anchor,k=t.target=e.target,T=t.targetAnchor=e.targetAnchor,A=$a(e.props),C=A?n:k,N=A?E:T;if(a=a||sm(k),h?(f(e.dynamicChildren,h,C,i,o,a,s),m1(e,t,!0)):l||c(e,t,C,N,i,o,a,s,!1),m)A?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Ol(t,n,E,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const O=t.target=Ed(t.props,y);O&&Ol(t,O,null,u,0)}else A&&Ol(t,k,T,u,1)}iv(t)},remove(e,t,n,r,{um:i,o:{remove:o}},a){const{shapeFlag:s,children:l,anchor:u,targetAnchor:d,target:c,props:f}=e;if(c&&o(d),a&&o(u),s&16){const p=a||!$a(f);for(let y=0;y<l.length;y++){const v=l[y];i(v,t,n,p,!!v.dynamicChildren)}}},move:Ol,hydrate:b3};function Ol(e,t,n,{o:{insert:r},m:i},o=2){o===0&&r(e.targetAnchor,t,n);const{el:a,anchor:s,shapeFlag:l,children:u,props:d}=e,c=o===2;if(c&&r(a,t,n),(!c||$a(d))&&l&16)for(let f=0;f<u.length;f++)i(u[f],t,n,2);c&&r(s,t,n)}function b3(e,t,n,r,i,o,{o:{nextSibling:a,parentNode:s,querySelector:l}},u){const d=t.target=Ed(t.props,l);if(d){const c=d._lpa||d.firstChild;if(t.shapeFlag&16)if($a(t.props))t.anchor=u(a(e),t,s(e),n,r,i,o),t.targetAnchor=c;else{t.anchor=a(e);let f=c;for(;f;)if(f=a(f),f&&f.nodeType===8&&f.data==="teleport anchor"){t.targetAnchor=f,d._lpa=t.targetAnchor&&a(t.targetAnchor);break}u(c,t,d,n,r,i,o)}iv(t)}return t.anchor&&a(t.anchor)}const g1=y3;function iv(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"),vr=Symbol.for("v-txt"),It=Symbol.for("v-cmt"),bi=Symbol.for("v-stc"),Ua=[];let un=null;function Se(e=!1){Ua.push(un=e?null:[])}function ov(){Ua.pop(),un=Ua[Ua.length-1]||null}let fo=1;function dc(e){fo+=e}function av(e){return e.dynamicChildren=fo>0?un||Vo:null,ov(),fo>0&&un&&un.push(e),e}function De(e,t,n,r,i,o){return av($e(e,t,n,r,i,o,!0))}function qt(e,t,n,r,i){return av(Ve(e,t,n,r,i,!0))}function $r(e){return e?e.__v_isVNode===!0:!1}function zn(e,t){return e.type===t.type&&e.key===t.key}function sv(e){}const Du="__vInternal",lv=({key:e})=>e??null,Yl=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ot(e)||Ge(e)||ke(e)?{i:Lt,r:e,k:t,f:!!n}:e:null);function $e(e,t=null,n=null,r=0,i=null,o=e===tt?0:1,a=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&lv(t),ref:t&&Yl(t),scopeId:Nu,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:o,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Lt};return s?(v1(l,n),o&128&&e.normalize(l)):n&&(l.shapeFlag|=Ot(n)?8:16),fo>0&&!a&&un&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&un.push(l),l}const Ve=_3;function _3(e,t=null,n=null,r=0,i=null,o=!1){if((!e||e===Ag)&&(e=It),$r(e)){const s=Gn(e,t,!0);return n&&v1(s,n),fo>0&&!o&&un&&(s.shapeFlag&6?un[un.indexOf(e)]=s:un.push(s)),s.patchFlag|=-2,s}if(A3(e)&&(e=e.__vccOpts),t){t=an(t);let{class:s,style:l}=t;s&&!Ot(s)&&(t.class=Pt(s)),pt(l)&&(vu(l)&&!Ce(l)&&(l=xt({},l)),t.style=cn(l))}const a=Ot(e)?1:Sg(e)?128:v3(e)?64:pt(e)?4:ke(e)?2:0;return $e(e,t,n,r,i,a,o,!0)}function an(e){return e?vu(e)||Du in e?xt({},e):e:null}function Gn(e,t,n=!1){const{props:r,ref:i,patchFlag:o,children:a}=e,s=t?qr(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&lv(s),ref:t&&t.ref?n&&i?Ce(i)?i.concat(Yl(t)):[i,Yl(t)]:Yl(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==tt?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Gn(e.ssContent),ssFallback:e.ssFallback&&Gn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Ur(e=" ",t=0){return Ve(vr,null,e,t)}function cv(e,t){const n=Ve(bi,null,e);return n.staticCount=t,n}function bt(e="",t=!1){return t?(Se(),qt(It,null,e)):Ve(It,null,e)}function yn(e){return e==null||typeof e=="boolean"?Ve(It):Ce(e)?Ve(tt,null,e.slice()):typeof e=="object"?di(e):Ve(vr,null,String(e))}function di(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Gn(e)}function v1(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(Ce(t))n=16;else if(typeof t=="object")if(r&65){const i=t.default;i&&(i._c&&(i._d=!1),v1(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!(Du in t)?t._ctx=Lt:i===3&&Lt&&(Lt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ke(t)?(t={default:t,_ctx:Lt},n=32):(t=String(t),r&64?(n=16,t=[Ur(t)]):n=8);e.children=t,e.shapeFlag|=n}function qr(...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=Pt([t.class,r.class]));else if(i==="style")t.style=cn([t.style,r.style]);else if(Eu(i)){const o=t[i],a=r[i];a&&o!==a&&!(Ce(o)&&o.includes(a))&&(t[i]=o?[].concat(o,a):a)}else i!==""&&(t[i]=r[i])}return t}function sn(e,t,n,r=null){dn(e,t,7,[n,r])}const E3=Xg();let O3=0;function uv(e,t,n){const r=e.type,i=(t?t.appContext:e.appContext)||E3,o={uid:O3++,vnode:e,type:r,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,scope:new hu(!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:Zg(r,i),emitsOptions:wg(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 o.ctx={_:o},o.root=t?t.root:o,o.emit=V6.bind(null,o),e.ce&&e.ce(o),o}let dt=null;const Qt=()=>dt||Lt;let y1,Lo,lm="__VUE_INSTANCE_SETTERS__";(Lo=pd()[lm])||(Lo=pd()[lm]=[]),Lo.push(e=>dt=e),y1=e=>{Lo.length>1?Lo.forEach(t=>t(e)):Lo[0](e)};const Si=e=>{y1(e),e.scope.on()},_i=()=>{dt&&dt.scope.off(),y1(null)};function fv(e){return e.vnode.shapeFlag&4}let Wo=!1;function dv(e,t=!1){Wo=t;const{props:n,children:r}=e.vnode,i=fv(e);u3(e,n,i,t),h3(e,r);const o=i?T3(e,t):void 0;return Wo=!1,o}function T3(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=ma(new Proxy(e.ctx,vd));const{setup:r}=n;if(r){const i=e.setupContext=r.length>1?mv(e):null;Si(e),ha();const o=mr(r,e,0,[e.props,i]);if(pa(),_i(),Bh(o)){if(o.then(_i,_i),t)return o.then(a=>{Od(e,a,t)}).catch(a=>{Ii(a,e,0)});e.asyncDep=o}else Od(e,o,t)}else pv(e,t)}function Od(e,t,n){ke(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:pt(t)&&(e.setupState=bu(t)),pv(e,n)}let hc,Td;function b1(e){hc=e,Td=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,n3))}}const hv=()=>!hc;function pv(e,t,n){const r=e.type;if(!e.render){if(!t&&hc&&!r.render){const i=r.template||c1(e).template;if(i){const{isCustomElement:o,compilerOptions:a}=e.appContext.config,{delimiters:s,compilerOptions:l}=r,u=xt(xt({isCustomElement:o,delimiters:s},a),l);r.render=hc(i,u)}}e.render=r.render||pr,Td&&Td(e)}{Si(e),ha();try{r3(e)}finally{pa(),_i()}}}function w3(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return hn(e,"get","$attrs"),t[n]}}))}function mv(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return w3(e)},slots:e.slots,emit:e.emit,expose:t}}function Hu(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(bu(ma(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in za)return za[n](e)},has(t,n){return n in t||n in za}}))}function wd(e,t=!0){return ke(e)?e.displayName||e.name:e.name||t&&e.__name}function A3(e){return ke(e)&&"__vccOpts"in e}const de=(e,t)=>O6(e,t,Wo);function Ri(e,t,n){const r=arguments.length;return r===2?pt(t)&&!Ce(t)?$r(t)?Ve(e,null,[t]):Ve(e,t):Ve(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&$r(n)&&(n=[n]),Ve(e,t,n))}const _1=Symbol.for("v-scx"),E1=()=>Vr(_1);function gv(){}function vv(e,t,n,r){const i=n[r];if(i&&O1(i,e))return i;const o=t();return o.memo=e.slice(),n[r]=o}function O1(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let r=0;r<n.length;r++)if(dd(n[r],t[r]))return!1;return fo>0&&un&&un.push(e),!0}const ju="3.3.10",S3={createComponentInstance:uv,setupComponent:dv,renderComponentRoot:Gl,setCurrentRenderingInstance:os,isVNode:$r,normalizeVNode:yn},yv=S3,bv=null,_v=null;function N3(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 Df={},k3=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),C3=e=>e.startsWith("onUpdate:"),Bs=Object.assign,pn=Array.isArray,zs=e=>Ov(e)==="[object Set]",cm=e=>Ov(e)==="[object Date]",Ev=e=>typeof e=="function",us=e=>typeof e=="string",um=e=>typeof e=="symbol",Ad=e=>e!==null&&typeof e=="object",L3=Object.prototype.toString,Ov=e=>L3.call(e),T1=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},P3=/-(\w)/g,Hf=T1(e=>e.replace(P3,(t,n)=>n?n.toUpperCase():"")),I3=/\B([A-Z])/g,mi=T1(e=>e.replace(I3,"-$1").toLowerCase()),R3=T1(e=>e.charAt(0).toUpperCase()+e.slice(1)),x3=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Sd=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Nd=e=>{const t=us(e)?Number(e):NaN;return isNaN(t)?e:t},M3="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",D3=N3(M3);function Tv(e){return!!e||e===""}function H3(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Ni(e[r],t[r]);return n}function Ni(e,t){if(e===t)return!0;let n=cm(e),r=cm(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=um(e),r=um(t),n||r)return e===t;if(n=pn(e),r=pn(t),n||r)return n&&r?H3(e,t):!1;if(n=Ad(e),r=Ad(t),n||r){if(!n||!r)return!1;const i=Object.keys(e).length,o=Object.keys(t).length;if(i!==o)return!1;for(const a in e){const s=e.hasOwnProperty(a),l=t.hasOwnProperty(a);if(s&&!l||!s&&l||!Ni(e[a],t[a]))return!1}}return String(e)===String(t)}function Fu(e,t){return e.findIndex(n=>Ni(n,t))}const j3="http://www.w3.org/2000/svg",eo=typeof document<"u"?document:null,fm=eo&&eo.createElement("template"),F3={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?eo.createElementNS(j3,e):eo.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&i.setAttribute("multiple",r.multiple),i},createText:e=>eo.createTextNode(e),createComment:e=>eo.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>eo.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,i,o){const a=n?n.previousSibling:t.lastChild;if(i&&(i===o||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===o||!(i=i.nextSibling)););else{fm.innerHTML=r?`<svg>${e}</svg>`:e;const s=fm.content;if(r){const l=s.firstChild;for(;l.firstChild;)s.appendChild(l.firstChild);s.removeChild(l)}t.insertBefore(s,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},ri="transition",La="animation",Go=Symbol("_vtc"),ga=(e,{slots:t})=>Ri(Zh,Av(e),t);ga.displayName="Transition";const wv={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},V3=ga.props=Bs({},Iu,wv),Yi=(e,t=[])=>{pn(e)?e.forEach(n=>n(...t)):e&&e(...t)},dm=e=>e?pn(e)?e.some(t=>t.length>1):e.length>1:!1;function Av(e){const t={};for(const S in e)S in wv||(t[S]=e[S]);if(e.css===!1)return t;const{name:n="v",type:r,duration:i,enterFromClass:o=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:l=o,appearActiveClass:u=a,appearToClass:d=s,leaveFromClass:c=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,y=B3(i),v=y&&y[0],_=y&&y[1],{onBeforeEnter:m,onEnter:g,onEnterCancelled:b,onLeave:h,onLeaveCancelled:E,onBeforeAppear:k=m,onAppear:T=g,onAppearCancelled:A=b}=t,C=(S,L,R)=>{ci(S,L?d:s),ci(S,L?u:a),R&&R()},N=(S,L)=>{S._isLeaving=!1,ci(S,c),ci(S,p),ci(S,f),L&&L()},O=S=>(L,R)=>{const D=S?T:g,B=()=>C(L,S,R);Yi(D,[L,B]),hm(()=>{ci(L,S?l:o),Pr(L,S?d:s),dm(D)||pm(L,r,v,B)})};return Bs(t,{onBeforeEnter(S){Yi(m,[S]),Pr(S,o),Pr(S,a)},onBeforeAppear(S){Yi(k,[S]),Pr(S,l),Pr(S,u)},onEnter:O(!1),onAppear:O(!0),onLeave(S,L){S._isLeaving=!0;const R=()=>N(S,L);Pr(S,c),Nv(),Pr(S,f),hm(()=>{S._isLeaving&&(ci(S,c),Pr(S,p),dm(h)||pm(S,r,_,R))}),Yi(h,[S,R])},onEnterCancelled(S){C(S,!1),Yi(b,[S])},onAppearCancelled(S){C(S,!0),Yi(A,[S])},onLeaveCancelled(S){N(S),Yi(E,[S])}})}function B3(e){if(e==null)return null;if(Ad(e))return[jf(e.enter),jf(e.leave)];{const t=jf(e);return[t,t]}}function jf(e){return Nd(e)}function Pr(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Go]||(e[Go]=new Set)).add(t)}function ci(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Go];n&&(n.delete(t),n.size||(e[Go]=void 0))}function hm(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let z3=0;function pm(e,t,n,r){const i=e._endId=++z3,o=()=>{i===e._endId&&r()};if(n)return setTimeout(o,n);const{type:a,timeout:s,propCount:l}=Sv(e,t);if(!a)return r();const u=a+"end";let d=0;const c=()=>{e.removeEventListener(u,f),o()},f=p=>{p.target===e&&++d>=l&&c()};setTimeout(()=>{d<l&&c()},s+1),e.addEventListener(u,f)}function Sv(e,t){const n=window.getComputedStyle(e),r=y=>(n[y]||"").split(", "),i=r(`${ri}Delay`),o=r(`${ri}Duration`),a=mm(i,o),s=r(`${La}Delay`),l=r(`${La}Duration`),u=mm(s,l);let d=null,c=0,f=0;t===ri?a>0&&(d=ri,c=a,f=o.length):t===La?u>0&&(d=La,c=u,f=l.length):(c=Math.max(a,u),d=c>0?a>u?ri:La:null,f=d?d===ri?o.length:l.length:0);const p=d===ri&&/\b(transform|all)(,|$)/.test(r(`${ri}Property`).toString());return{type:d,timeout:c,propCount:f,hasTransform:p}}function mm(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>gm(n)+gm(e[r])))}function gm(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Nv(){return document.body.offsetHeight}function $3(e,t,n){const r=e[Go];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const w1=Symbol("_vod"),Yo={beforeMount(e,{value:t},{transition:n}){e[w1]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Pa(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),Pa(e,!0),r.enter(e)):r.leave(e,()=>{Pa(e,!1)}):Pa(e,t))},beforeUnmount(e,{value:t}){Pa(e,t)}};function Pa(e,t){e.style.display=t?e[w1]:"none"}function U3(){Yo.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}function q3(e,t,n){const r=e.style,i=us(n);if(n&&!i){if(t&&!us(t))for(const o in t)n[o]==null&&kd(r,o,"");for(const o in n)kd(r,o,n[o])}else{const o=r.display;i?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),w1 in e&&(r.display=o)}}const vm=/\s*!important$/;function kd(e,t,n){if(pn(n))n.forEach(r=>kd(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=K3(e,t);vm.test(n)?e.setProperty(mi(r),n.replace(vm,""),"important"):e[r]=n}}const ym=["Webkit","Moz","ms"],Ff={};function K3(e,t){const n=Ff[t];if(n)return n;let r=Mn(t);if(r!=="filter"&&r in e)return Ff[t]=r;r=R3(r);for(let i=0;i<ym.length;i++){const o=ym[i]+r;if(o in e)return Ff[t]=o}return t}const bm="http://www.w3.org/1999/xlink";function W3(e,t,n,r,i){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(bm,t.slice(6,t.length)):e.setAttributeNS(bm,t,n);else{const o=D3(t);n==null||o&&!Tv(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}function G3(e,t,n,r,i,o,a){if(t==="innerHTML"||t==="textContent"){r&&a(r,i,o),e[t]=n??"";return}const s=e.tagName;if(t==="value"&&s!=="PROGRESS"&&!s.includes("-")){e._value=n;const u=s==="OPTION"?e.getAttribute("value"):e.value,d=n??"";u!==d&&(e.value=d),n==null&&e.removeAttribute(t);return}let l=!1;if(n===""||n==null){const u=typeof e[t];u==="boolean"?n=Tv(n):n==null&&u==="string"?(n="",l=!0):u==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(t)}function xr(e,t,n,r){e.addEventListener(t,n,r)}function Y3(e,t,n,r){e.removeEventListener(t,n,r)}const _m=Symbol("_vei");function X3(e,t,n,r,i=null){const o=e[_m]||(e[_m]={}),a=o[t];if(r&&a)a.value=r;else{const[s,l]=J3(t);if(r){const u=o[t]=e8(r,i);xr(e,s,u,l)}else a&&(Y3(e,s,a,l),o[t]=void 0)}}const Em=/(?:Once|Passive|Capture)$/;function J3(e){let t;if(Em.test(e)){t={};let r;for(;r=e.match(Em);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):mi(e.slice(2)),t]}let Vf=0;const Z3=Promise.resolve(),Q3=()=>Vf||(Z3.then(()=>Vf=0),Vf=Date.now());function e8(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;dn(t8(r,n.value),t,5,[r])};return n.value=e,n.attached=Q3(),n}function t8(e,t){if(pn(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 Om=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,n8=(e,t,n,r,i=!1,o,a,s,l)=>{t==="class"?$3(e,r,i):t==="style"?q3(e,n,r):k3(t)?C3(t)||X3(e,t,n,r,a):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):r8(e,t,r,i))?G3(e,t,r,o,a,s,l):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),W3(e,t,r,i))};function r8(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Om(t)&&Ev(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;return!(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")}return Om(t)&&us(n)?!1:t in e}/*! #__NO_SIDE_EFFECTS__ */function A1(e,t){const n=wt(e);class r extends $s{constructor(o){super(n,o,t)}}return r.def=n,r}/*! #__NO_SIDE_EFFECTS__ */const kv=e=>A1(e,C1),i8=typeof HTMLElement<"u"?HTMLElement:class{};class $s extends i8{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),Dn(()=>{this._connected||(ds(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:o,styles:a}=r;let s;if(o&&!pn(o))for(const l in o){const u=o[l];(u===Number||u&&u.type===Number)&&(l in this._props&&(this._props[l]=Nd(this._props[l])),(s||(s=Object.create(null)))[Hf(l)]=!0)}this._numberProps=s,i&&this._resolveProps(r),this._applyStyles(a),this._update()},n=this._def.__asyncLoader;n?n().then(r=>t(r,!0)):t(this._def)}_resolveProps(t){const{props:n}=t,r=pn(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(Hf))Object.defineProperty(this,i,{get(){return this._getProp(i)},set(o){this._setProp(i,o)}})}_setAttr(t){let n=this.getAttribute(t);const r=Hf(t);this._numberProps&&this._numberProps[r]&&(n=Nd(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(mi(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(mi(t),n+""):n||this.removeAttribute(mi(t))))}_update(){ds(this._createVNode(),this.shadowRoot)}_createVNode(){const t=Ve(this._def,Bs({},this._props));return this._instance||(t.ce=n=>{this._instance=n,n.isCE=!0;const r=(o,a)=>{this.dispatchEvent(new CustomEvent(o,{detail:a}))};n.emit=(o,...a)=>{r(o,a),mi(o)!==o&&r(mi(o),a)};let i=this;for(;i=i&&(i.parentNode||i.host);)if(i instanceof $s){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 Cv(e="$style"){{const t=Qt();if(!t)return Df;const n=t.type.__cssModules;if(!n)return Df;const r=n[e];return r||Df}}function S1(e){const t=Qt();if(!t)return;const n=t.ut=(i=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(o=>Ld(o,i))},r=()=>{const i=e(t.proxy);Cd(t.subTree,i),n(i)};Jh(r),Fn(()=>{const i=new MutationObserver(r);i.observe(t.subTree.el.parentNode,{childList:!0}),_o(()=>i.disconnect())})}function Cd(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Cd(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Ld(e.el,t);else if(e.type===tt)e.children.forEach(n=>Cd(n,t));else if(e.type===bi){let{el:n,anchor:r}=e;for(;n&&(Ld(n,t),n!==r);)n=n.nextSibling}}function Ld(e,t){if(e.nodeType===1){const n=e.style;for(const r in t)n.setProperty(`--${r}`,t[r])}}const Lv=new WeakMap,Pv=new WeakMap,pc=Symbol("_moveCb"),Tm=Symbol("_enterCb"),Iv={name:"TransitionGroup",props:Bs({},V3,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Qt(),r=Pu();let i,o;return Vs(()=>{if(!i.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!c8(i[0].el,n.vnode.el,a))return;i.forEach(a8),i.forEach(s8);const s=i.filter(l8);Nv(),s.forEach(l=>{const u=l.el,d=u.style;Pr(u,a),d.transform=d.webkitTransform=d.transitionDuration="";const c=u[pc]=f=>{f&&f.target!==u||(!f||/transform$/.test(f.propertyName))&&(u.removeEventListener("transitionend",c),u[pc]=null,ci(u,a))};u.addEventListener("transitionend",c)})}),()=>{const a=Re(e),s=Av(a);let l=a.tag||tt;i=o,o=t.default?js(t.default()):[];for(let u=0;u<o.length;u++){const d=o[u];d.key!=null&&Ai(d,uo(d,s,r,n))}if(i)for(let u=0;u<i.length;u++){const d=i[u];Ai(d,uo(d,s,r,n)),Lv.set(d,d.el.getBoundingClientRect())}return Ve(l,null,o)}}},o8=e=>delete e.mode;Iv.props;const Rv=Iv;function a8(e){const t=e.el;t[pc]&&t[pc](),t[Tm]&&t[Tm]()}function s8(e){Pv.set(e,e.el.getBoundingClientRect())}function l8(e){const t=Lv.get(e),n=Pv.get(e),r=t.left-n.left,i=t.top-n.top;if(r||i){const o=e.el.style;return o.transform=o.webkitTransform=`translate(${r}px,${i}px)`,o.transitionDuration="0s",e}}function c8(e,t,n){const r=e.cloneNode(),i=e[Go];i&&i.forEach(s=>{s.split(/\s+/).forEach(l=>l&&r.classList.remove(l))}),n.split(/\s+/).forEach(s=>s&&r.classList.add(s)),r.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(r);const{hasTransform:a}=Sv(r);return o.removeChild(r),a}const ki=e=>{const t=e.props["onUpdate:modelValue"]||!1;return pn(t)?n=>x3(t,n):t};function u8(e){e.target.composing=!0}function wm(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Rn=Symbol("_assign"),Xo={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e[Rn]=ki(i);const o=r||i.props&&i.props.type==="number";xr(e,t?"change":"input",a=>{if(a.target.composing)return;let s=e.value;n&&(s=s.trim()),o&&(s=Sd(s)),e[Rn](s)}),n&&xr(e,"change",()=>{e.value=e.value.trim()}),t||(xr(e,"compositionstart",u8),xr(e,"compositionend",wm),xr(e,"change",wm))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:i}},o){if(e[Rn]=ki(o),e.composing)return;const a=i||e.type==="number"?Sd(e.value):e.value,s=t??"";a!==s&&(document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===s)||(e.value=s))}},Vu={deep:!0,created(e,t,n){e[Rn]=ki(n),xr(e,"change",()=>{const r=e._modelValue,i=Jo(e),o=e.checked,a=e[Rn];if(pn(r)){const s=Fu(r,i),l=s!==-1;if(o&&!l)a(r.concat(i));else if(!o&&l){const u=[...r];u.splice(s,1),a(u)}}else if(zs(r)){const s=new Set(r);o?s.add(i):s.delete(i),a(s)}else a(xv(e,o))})},mounted:Am,beforeUpdate(e,t,n){e[Rn]=ki(n),Am(e,t,n)}};function Am(e,{value:t,oldValue:n},r){e._modelValue=t,pn(t)?e.checked=Fu(t,r.props.value)>-1:zs(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=Ni(t,xv(e,!0)))}const Bu={created(e,{value:t},n){e.checked=Ni(t,n.props.value),e[Rn]=ki(n),xr(e,"change",()=>{e[Rn](Jo(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[Rn]=ki(r),t!==n&&(e.checked=Ni(t,r.props.value))}},N1={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const i=zs(t);xr(e,"change",()=>{const o=Array.prototype.filter.call(e.options,a=>a.selected).map(a=>n?Sd(Jo(a)):Jo(a));e[Rn](e.multiple?i?new Set(o):o:o[0])}),e[Rn]=ki(r)},mounted(e,{value:t}){Sm(e,t)},beforeUpdate(e,t,n){e[Rn]=ki(n)},updated(e,{value:t}){Sm(e,t)}};function Sm(e,t){const n=e.multiple;if(!(n&&!pn(t)&&!zs(t))){for(let r=0,i=e.options.length;r<i;r++){const o=e.options[r],a=Jo(o);if(n)pn(t)?o.selected=Fu(t,a)>-1:o.selected=t.has(a);else if(Ni(Jo(o),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Jo(e){return"_value"in e?e._value:e.value}function xv(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const zu={created(e,t,n){Tl(e,t,n,null,"created")},mounted(e,t,n){Tl(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){Tl(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){Tl(e,t,n,r,"updated")}};function Mv(e,t){switch(e){case"SELECT":return N1;case"TEXTAREA":return Xo;default:switch(t){case"checkbox":return Vu;case"radio":return Bu;default:return Xo}}}function Tl(e,t,n,r,i){const a=Mv(e.tagName,n.props&&n.props.type)[i];a&&a(e,t,n,r)}function f8(){Xo.getSSRProps=({value:e})=>({value:e}),Bu.getSSRProps=({value:e},t)=>{if(t.props&&Ni(t.props.value,e))return{checked:!0}},Vu.getSSRProps=({value:e},t)=>{if(pn(e)){if(t.props&&Fu(e,t.props.value)>-1)return{checked:!0}}else if(zs(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},zu.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=Mv(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const d8=["ctrl","shift","alt","meta"],h8={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)=>d8.some(n=>e[`${n}Key`]&&!t.includes(n))},fs=(e,t)=>e._withMods||(e._withMods=(n,...r)=>{for(let i=0;i<t.length;i++){const o=h8[t[i]];if(o&&o(n,t))return}return e(n,...r)}),p8={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},k1=(e,t)=>e._withKeys||(e._withKeys=n=>{if(!("key"in n))return;const r=mi(n.key);if(t.some(i=>i===r||p8[i]===r))return e(n)}),Dv=Bs({patchProp:n8},F3);let qa,Nm=!1;function Hv(){return qa||(qa=h1(Dv))}function jv(){return qa=Nm?qa:p1(Dv),Nm=!0,qa}const ds=(...e)=>{Hv().render(...e)},C1=(...e)=>{jv().hydrate(...e)},L1=(...e)=>{const t=Hv().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=Vv(r);if(!i)return;const o=t._component;!Ev(o)&&!o.render&&!o.template&&(o.template=i.innerHTML),i.innerHTML="";const a=n(i,!1,i instanceof SVGElement);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),a},t},Fv=(...e)=>{const t=jv().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=Vv(r);if(i)return n(i,!0,i instanceof SVGElement)},t};function Vv(e){return us(e)?document.querySelector(e):e}let km=!1;const Bv=()=>{km||(km=!0,f8(),U3())},m8=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:Zh,BaseTransitionPropsValidators:Iu,Comment:It,EffectScope:hu,Fragment:tt,KeepAlive:Rg,ReactiveEffect:co,Static:bi,Suspense:Yh,Teleport:g1,Text:vr,Transition:ga,TransitionGroup:Rv,VueElement:$s,assertNumber:_g,callWithAsyncErrorHandling:dn,callWithErrorHandling:mr,camelize:Mn,capitalize:Ds,cloneVNode:Gn,compatUtils:_v,computed:de,createApp:L1,createBlock:qt,createCommentVNode:bt,createElementBlock:De,createElementVNode:$e,createHydrationRenderer:p1,createPropsRestProxy:Gg,createRenderer:h1,createSSRApp:Fv,createSlots:o1,createStaticVNode:cv,createTextVNode:Ur,createVNode:Ve,customRef:ug,defineAsyncComponent:Ig,defineComponent:wt,defineCustomElement:A1,defineEmits:Hg,defineExpose:jg,defineModel:Bg,defineOptions:Fg,defineProps:Dg,defineSSRCustomElement:kv,defineSlots:Vg,get devtools(){return Qi},effect:G2,effectScope:Rs,getCurrentInstance:Qt,getCurrentScope:da,getTransitionRawChildren:js,guardReactiveProps:an,h:Ri,handleError:Ii,hasInjectionContext:f1,hydrate:C1,initCustomFormatter:gv,initDirectivesForSSR:Bv,inject:Vr,isMemoSame:O1,isProxy:vu,isReactive:Kn,isReadonly:wi,isRef:Ge,isRuntimeOnly:hv,isShallow:Ko,isVNode:$r,markRaw:ma,mergeDefaults:Kg,mergeModels:Wg,mergeProps:qr,nextTick:Dn,normalizeClass:Pt,normalizeProps:on,normalizeStyle:cn,onActivated:Qh,onBeforeMount:xu,onBeforeUnmount:bo,onBeforeUpdate:Mu,onDeactivated:e1,onErrorCaptured:i1,onMounted:Fn,onRenderTracked:r1,onRenderTriggered:n1,onScopeDispose:xs,onServerPrefetch:t1,onUnmounted:_o,onUpdated:Vs,openBlock:Se,popScopeId:Cu,provide:u1,proxyRefs:bu,pushScopeId:ku,queuePostFlushCb:rs,reactive:yo,readonly:Ms,ref:Te,registerRuntimeCompiler:b1,render:ds,renderList:ss,renderSlot:St,resolveComponent:Wh,resolveDirective:Lu,resolveDynamicComponent:$o,resolveFilter:bv,resolveTransitionHooks:uo,setBlockTracking:dc,setDevtoolsHook:$h,setTransitionHooks:Ai,shallowReactive:Mh,shallowReadonly:ag,shallowRef:jh,ssrContextKey:_1,ssrUtils:yv,stop:Y2,toDisplayString:In,toHandlerKey:Bo,toHandlers:a1,toRaw:Re,toRef:_u,toRefs:Fh,toValue:cg,transformVNodeArgs:sv,triggerRef:lg,unref:et,useAttrs:$g,useCssModule:Cv,useCssVars:S1,useModel:Ug,useSSRContext:E1,useSlots:s1,useTransitionState:Pu,vModelCheckbox:Vu,vModelDynamic:zu,vModelRadio:Bu,vModelSelect:N1,vModelText:Xo,vShow:Yo,version:ju,warn:bg,watch:ht,watchEffect:kg,watchPostEffect:Jh,watchSyncEffect:Cg,withAsyncContext:l1,withCtx:gr,withDefaults:zg,withDirectives:yi,withKeys:k1,withMemo:vv,withModifiers:fs,withScopeId:Uh},Symbol.toStringTag,{value:"Module"}));function Xn(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 Pd={},mc=()=>{},Bf=()=>!1,zv=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Br=Object.assign,Zo=Array.isArray,Rt=e=>typeof e=="string",P1=e=>typeof e=="symbol",g8=e=>e!==null&&typeof e=="object",Cm=Xn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),v8=Xn("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),$u=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},y8=/-(\w)/g,Qo=$u(e=>e.replace(y8,(t,n)=>n?n.toUpperCase():"")),b8=/\B([A-Z])/g,_8=$u(e=>e.replace(b8,"-$1").toLowerCase()),I1=$u(e=>e.charAt(0).toUpperCase()+e.slice(1)),E8=$u(e=>e?`on${I1(e)}`:""),O8=/;(?![^(]*\))/g,T8=/:([^]+)/,w8=/\/\*[^]*?\*\//g;function A8(e){const t={};return e.replace(w8,"").split(O8).forEach(n=>{if(n){const r=n.split(T8);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}const S8="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",N8="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",k8="area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr",C8=Xn(S8),L8=Xn(N8),P8=Xn(k8);function R1(e){throw e}function $v(e){}function nt(e,t,n,r){const i=e,o=new SyntaxError(String(i));return o.code=e,o.loc=t,o}const hs=Symbol(""),Ka=Symbol(""),x1=Symbol(""),gc=Symbol(""),Uv=Symbol(""),ho=Symbol(""),qv=Symbol(""),Kv=Symbol(""),M1=Symbol(""),D1=Symbol(""),Us=Symbol(""),H1=Symbol(""),Wv=Symbol(""),j1=Symbol(""),vc=Symbol(""),F1=Symbol(""),V1=Symbol(""),B1=Symbol(""),z1=Symbol(""),Gv=Symbol(""),Yv=Symbol(""),Uu=Symbol(""),yc=Symbol(""),$1=Symbol(""),U1=Symbol(""),ps=Symbol(""),qs=Symbol(""),q1=Symbol(""),Id=Symbol(""),I8=Symbol(""),Rd=Symbol(""),bc=Symbol(""),R8=Symbol(""),x8=Symbol(""),K1=Symbol(""),M8=Symbol(""),D8=Symbol(""),W1=Symbol(""),Xv=Symbol(""),ea={[hs]:"Fragment",[Ka]:"Teleport",[x1]:"Suspense",[gc]:"KeepAlive",[Uv]:"BaseTransition",[ho]:"openBlock",[qv]:"createBlock",[Kv]:"createElementBlock",[M1]:"createVNode",[D1]:"createElementVNode",[Us]:"createCommentVNode",[H1]:"createTextVNode",[Wv]:"createStaticVNode",[j1]:"resolveComponent",[vc]:"resolveDynamicComponent",[F1]:"resolveDirective",[V1]:"resolveFilter",[B1]:"withDirectives",[z1]:"renderList",[Gv]:"renderSlot",[Yv]:"createSlots",[Uu]:"toDisplayString",[yc]:"mergeProps",[$1]:"normalizeClass",[U1]:"normalizeStyle",[ps]:"normalizeProps",[qs]:"guardReactiveProps",[q1]:"toHandlers",[Id]:"camelize",[I8]:"capitalize",[Rd]:"toHandlerKey",[bc]:"setBlockTracking",[R8]:"pushScopeId",[x8]:"popScopeId",[K1]:"withCtx",[M8]:"unref",[D8]:"isRef",[W1]:"withMemo",[Xv]:"isMemoSame"};function H8(e){Object.getOwnPropertySymbols(e).forEach(t=>{ea[t]=e[t]})}const En={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function j8(e,t=En){return{type:0,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}function ms(e,t,n,r,i,o,a,s=!1,l=!1,u=!1,d=En){return e&&(s?(e.helper(ho),e.helper(ra(e.inSSR,u))):e.helper(na(e.inSSR,u)),a&&e.helper(B1)),{type:13,tag:t,props:n,children:r,patchFlag:i,dynamicProps:o,directives:a,isBlock:s,disableTracking:l,isComponent:u,loc:d}}function Ks(e,t=En){return{type:17,loc:t,elements:e}}function Ln(e,t=En){return{type:15,loc:t,properties:e}}function lt(e,t){return{type:16,loc:En,key:Rt(e)?Ie(e,!0):e,value:t}}function Ie(e,t=!1,n=En,r=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:r}}function Wn(e,t=En){return{type:8,loc:t,children:e}}function ft(e,t=[],n=En){return{type:14,loc:n,callee:e,arguments:t}}function ta(e,t=void 0,n=!1,r=!1,i=En){return{type:18,params:e,returns:t,newline:n,isSlot:r,loc:i}}function xd(e,t,n,r=!0){return{type:19,test:e,consequent:t,alternate:n,newline:r,loc:En}}function F8(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:En}}function V8(e){return{type:21,body:e,loc:En}}function na(e,t){return e||t?M1:D1}function ra(e,t){return e||t?qv:Kv}function G1(e,{helper:t,removeHelper:n,inSSR:r}){e.isBlock||(e.isBlock=!0,n(na(r,e.isComponent)),t(ho),t(ra(r,e.isComponent)))}const fn=e=>e.type===4&&e.isStatic,Ho=(e,t)=>e===t||e===_8(t);function Jv(e){if(Ho(e,"Teleport"))return Ka;if(Ho(e,"Suspense"))return x1;if(Ho(e,"KeepAlive"))return gc;if(Ho(e,"BaseTransition"))return Uv}const B8=/^\d|[^\$\w]/,Y1=e=>!B8.test(e),z8=/[A-Za-z_$\xA0-\uFFFF]/,$8=/[\.\?\w$\xA0-\uFFFF]/,U8=/\s+[.[]\s*|\s*[.[]\s+/g,q8=e=>{e=e.trim().replace(U8,a=>a.trim());let t=0,n=[],r=0,i=0,o=null;for(let a=0;a<e.length;a++){const s=e.charAt(a);switch(t){case 0:if(s==="[")n.push(t),t=1,r++;else if(s==="(")n.push(t),t=2,i++;else if(!(a===0?z8:$8).test(s))return!1;break;case 1:s==="'"||s==='"'||s==="`"?(n.push(t),t=3,o=s):s==="["?r++:s==="]"&&(--r||(t=n.pop()));break;case 2:if(s==="'"||s==='"'||s==="`")n.push(t),t=3,o=s;else if(s==="(")i++;else if(s===")"){if(a===e.length-1)return!1;--i||(t=n.pop())}break;case 3:s===o&&(t=n.pop(),o=null);break}}return!r&&!i},Zv=q8;function Qv(e,t,n){const i={source:e.source.slice(t,t+n),start:_c(e.start,e.source,t),end:e.end};return n!=null&&(i.end=_c(e.start,e.source,t+n)),i}function _c(e,t,n=t.length){return Ec(Br({},e),t,n)}function Ec(e,t,n=t.length){let r=0,i=-1;for(let o=0;o<n;o++)t.charCodeAt(o)===10&&(r++,i=o);return e.offset+=n,e.line+=r,e.column=i===-1?e.column+n:n-i,e}function kn(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)&&(Rt(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 o=e.props[i];if(o.type===6){if(n)continue;if(o.name===t&&(o.value||r))return o}else if(o.name==="bind"&&(o.exp||r)&&no(o.arg,t))return o}}function no(e,t){return!!(e&&fn(e)&&e.content===t)}function K8(e){return e.props.some(t=>t.type===7&&t.name==="bind"&&(!t.arg||t.arg.type!==4||!t.arg.isStatic))}function zf(e){return e.type===5||e.type===2}function W8(e){return e.type===7&&e.name==="slot"}function Oc(e){return e.type===1&&e.tagType===3}function Tc(e){return e.type===1&&e.tagType===2}const G8=new Set([ps,qs]);function ey(e,t=[]){if(e&&!Rt(e)&&e.type===14){const n=e.callee;if(!Rt(n)&&G8.has(n))return ey(e.arguments[0],t.concat(e))}return[e,t]}function wc(e,t,n){let r,i=e.type===13?e.props:e.arguments[2],o=[],a;if(i&&!Rt(i)&&i.type===14){const s=ey(i);i=s[0],o=s[1],a=o[o.length-1]}if(i==null||Rt(i))r=Ln([t]);else if(i.type===14){const s=i.arguments[0];!Rt(s)&&s.type===15?Lm(t,s)||s.properties.unshift(t):i.callee===q1?r=ft(n.helper(yc),[Ln([t]),i]):i.arguments.unshift(Ln([t])),!r&&(r=i)}else i.type===15?(Lm(t,i)||i.properties.unshift(t),r=i):(r=ft(n.helper(yc),[Ln([t]),i]),a&&a.callee===qs&&(a=o[o.length-2]));e.type===13?a?a.arguments[0]=r:e.props=r:a?a.arguments[0]=r:e.arguments[2]=r}function Lm(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 gs(e,t){return`_${t}_${e.replace(/[^\w]/g,(n,r)=>n==="-"?"_":e.charCodeAt(r).toString())}`}function Y8(e){return e.type===14&&e.callee===W1?e.arguments[1].returns:e}const X8=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/;function Pm(e,t){const n=t.options?t.options.compatConfig:t.compatConfig,r=n&&n[e];return e==="MODE"?r||3:r}function lo(e,t){const n=Pm("MODE",t),r=Pm(e,t);return n===3?r===!0:r!==!1}function vs(e,t,n,...r){return lo(e,t)}const J8=/&(gt|lt|amp|apos|quot);/g,Z8={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},Im={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:Bf,isPreTag:Bf,isCustomElement:Bf,decodeEntities:e=>e.replace(J8,(t,n)=>Z8[n]),onError:R1,onWarn:$v,comments:!1};function Q8(e,t={}){const n=e_(e,t),r=_n(n);return j8(X1(n,0,[]),Hn(n,r))}function e_(e,t){const n=Br({},Im);let r;for(r in t)n[r]=t[r]===void 0?Im[r]:t[r];return{options:n,column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1,onWarn:n.onWarn}}function X1(e,t,n){const r=Ku(n),i=r?r.ns:0,o=[];for(;!c_(e,t,n);){const s=e.source;let l;if(t===0||t===1){if(!e.inVPre&&Ut(s,e.options.delimiters[0]))l=s_(e,t);else if(t===0&&s[0]==="<")if(s.length===1)We(e,5,1);else if(s[1]==="!")Ut(s,"<!--")?l=n_(e):Ut(s,"<!DOCTYPE")?l=Ia(e):Ut(s,"<![CDATA[")?i!==0?l=t_(e,n):(We(e,1),l=Ia(e)):(We(e,11),l=Ia(e));else if(s[1]==="/")if(s.length===2)We(e,5,2);else if(s[2]===">"){We(e,14,2),Et(e,3);continue}else if(/[a-z]/i.test(s[2])){We(e,23),Md(e,1,r);continue}else We(e,12,2),l=Ia(e);else/[a-z]/i.test(s[1])?(l=r_(e,n),lo("COMPILER_NATIVE_TEMPLATE",e)&&l&&l.tag==="template"&&!l.props.some(u=>u.type===7&&ty(u.name))&&(l=l.children)):s[1]==="?"?(We(e,21,1),l=Ia(e)):We(e,12,1)}if(l||(l=l_(e,t)),Zo(l))for(let u=0;u<l.length;u++)Rm(o,l[u]);else Rm(o,l)}let a=!1;if(t!==2&&t!==1){const s=e.options.whitespace!=="preserve";for(let l=0;l<o.length;l++){const u=o[l];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))s&&(u.content=u.content.replace(/[\t\r\n\f ]+/g," "));else{const d=o[l-1],c=o[l+1];!d||!c||s&&(d.type===3&&c.type===3||d.type===3&&c.type===1||d.type===1&&c.type===3||d.type===1&&c.type===1&&/[\r\n]/.test(u.content))?(a=!0,o[l]=null):u.content=" "}else u.type===3&&!e.options.comments&&(a=!0,o[l]=null)}if(e.inPre&&r&&e.options.isPreTag(r.tag)){const l=o[0];l&&l.type===2&&(l.content=l.content.replace(/^\r?\n/,""))}}return a?o.filter(Boolean):o}function Rm(e,t){if(t.type===2){const n=Ku(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 t_(e,t){Et(e,9);const n=X1(e,3,t);return e.source.length===0?We(e,6):Et(e,3),n}function n_(e){const t=_n(e);let n;const r=/--(\!)?>/.exec(e.source);if(!r)n=e.source.slice(4),Et(e,e.source.length),We(e,7);else{r.index<=3&&We(e,0),r[1]&&We(e,10),n=e.source.slice(4,r.index);const i=e.source.slice(0,r.index);let o=1,a=0;for(;(a=i.indexOf("<!--",o))!==-1;)Et(e,a-o+1),a+4<i.length&&We(e,16),o=a+1;Et(e,r.index+r[0].length-o+1)}return{type:3,content:n,loc:Hn(e,t)}}function Ia(e){const t=_n(e),n=e.source[1]==="?"?1:2;let r;const i=e.source.indexOf(">");return i===-1?(r=e.source.slice(n),Et(e,e.source.length)):(r=e.source.slice(n,i),Et(e,i+1)),{type:3,content:r,loc:Hn(e,t)}}function r_(e,t){const n=e.inPre,r=e.inVPre,i=Ku(t),o=Md(e,0,i),a=e.inPre&&!n,s=e.inVPre&&!r;if(o.isSelfClosing||e.options.isVoidTag(o.tag))return a&&(e.inPre=!1),s&&(e.inVPre=!1),o;t.push(o);const l=e.options.getTextMode(o,i),u=X1(e,l,t);t.pop();{const d=o.props.find(c=>c.type===6&&c.name==="inline-template");if(d&&vs("COMPILER_INLINE_TEMPLATE",e,d.loc)){const c=Hn(e,o.loc.end);d.value={type:2,content:c.source,loc:c}}}if(o.children=u,Dd(e.source,o.tag))Md(e,1,i);else if(We(e,24,0,o.loc.start),e.source.length===0&&o.tag.toLowerCase()==="script"){const d=u[0];d&&Ut(d.loc.source,"<!--")&&We(e,8)}return o.loc=Hn(e,o.loc.start),a&&(e.inPre=!1),s&&(e.inVPre=!1),o}const ty=Xn("if,else,else-if,for,slot");function Md(e,t,n){const r=_n(e),i=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),o=i[1],a=e.options.getNamespace(o,n);Et(e,i[0].length),ys(e);const s=_n(e),l=e.source;e.options.isPreTag(o)&&(e.inPre=!0);let u=xm(e,t);t===0&&!e.inVPre&&u.some(f=>f.type===7&&f.name==="pre")&&(e.inVPre=!0,Br(e,s),e.source=l,u=xm(e,t).filter(f=>f.name!=="v-pre"));let d=!1;if(e.source.length===0?We(e,9):(d=Ut(e.source,"/>"),t===1&&d&&We(e,4),Et(e,d?2:1)),t===1)return;let c=0;return e.inVPre||(o==="slot"?c=2:o==="template"?u.some(f=>f.type===7&&ty(f.name))&&(c=3):i_(o,u,e)&&(c=1)),{type:1,ns:a,tag:o,tagType:c,props:u,isSelfClosing:d,children:[],loc:Hn(e,r),codegenNode:void 0}}function i_(e,t,n){const r=n.options;if(r.isCustomElement(e))return!1;if(e==="component"||/^[A-Z]/.test(e)||Jv(e)||r.isBuiltInComponent&&r.isBuiltInComponent(e)||r.isNativeTag&&!r.isNativeTag(e))return!0;for(let i=0;i<t.length;i++){const o=t[i];if(o.type===6){if(o.name==="is"&&o.value){if(o.value.content.startsWith("vue:"))return!0;if(vs("COMPILER_IS_ON_ELEMENT",n,o.loc))return!0}}else{if(o.name==="is")return!0;if(o.name==="bind"&&no(o.arg,"is")&&vs("COMPILER_IS_ON_ELEMENT",n,o.loc))return!0}}}function xm(e,t){const n=[],r=new Set;for(;e.source.length>0&&!Ut(e.source,">")&&!Ut(e.source,"/>");){if(Ut(e.source,"/")){We(e,22),Et(e,1),ys(e);continue}t===1&&We(e,3);const i=o_(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)&&We(e,15),ys(e)}return n}function o_(e,t){var n;const r=_n(e),o=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(e.source)[0];t.has(o)&&We(e,2),t.add(o),o[0]==="="&&We(e,19);{const l=/["'<]/g;let u;for(;u=l.exec(o);)We(e,17,u.index)}Et(e,o.length);let a;/^[\t\r\n\f ]*=/.test(e.source)&&(ys(e),Et(e,1),ys(e),a=a_(e),a||We(e,13));const s=Hn(e,r);if(!e.inVPre&&/^(v-[A-Za-z0-9-]|:|\.|@|#)/.test(o)){const l=/(?:^v-([a-z0-9-]+))?(?:(?::|^\.|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(o);let u=Ut(o,"."),d=l[1]||(u||Ut(o,":")?"bind":Ut(o,"@")?"on":"slot"),c;if(l[2]){const p=d==="slot",y=o.lastIndexOf(l[2],o.length-(((n=l[3])==null?void 0:n.length)||0)),v=Hn(e,Mm(e,r,y),Mm(e,r,y+l[2].length+(p&&l[3]||"").length));let _=l[2],m=!0;_.startsWith("[")?(m=!1,_.endsWith("]")?_=_.slice(1,_.length-1):(We(e,27),_=_.slice(1))):p&&(_+=l[3]||""),c={type:4,content:_,isStatic:m,constType:m?3:0,loc:v}}if(a&&a.isQuoted){const p=a.loc;p.start.offset++,p.start.column++,p.end=_c(p.start,a.content),p.source=p.source.slice(1,-1)}const f=l[3]?l[3].slice(1).split("."):[];return u&&f.push("prop"),d==="bind"&&c&&f.includes("sync")&&vs("COMPILER_V_BIND_SYNC",e,s,c.loc.source)&&(d="model",f.splice(f.indexOf("sync"),1)),{type:7,name:d,exp:a&&{type:4,content:a.content,isStatic:!1,constType:0,loc:a.loc},arg:c,modifiers:f,loc:s}}return!e.inVPre&&Ut(o,"v-")&&We(e,26),{type:6,name:o,value:a&&{type:2,content:a.content,loc:a.loc},loc:s}}function a_(e){const t=_n(e);let n;const r=e.source[0],i=r==='"'||r==="'";if(i){Et(e,1);const o=e.source.indexOf(r);o===-1?n=Wa(e,e.source.length,4):(n=Wa(e,o,4),Et(e,1))}else{const o=/^[^\t\r\n\f >]+/.exec(e.source);if(!o)return;const a=/["'<=`]/g;let s;for(;s=a.exec(o[0]);)We(e,18,s.index);n=Wa(e,o[0].length,4)}return{content:n,isQuoted:i,loc:Hn(e,t)}}function s_(e,t){const[n,r]=e.options.delimiters,i=e.source.indexOf(r,n.length);if(i===-1){We(e,25);return}const o=_n(e);Et(e,n.length);const a=_n(e),s=_n(e),l=i-n.length,u=e.source.slice(0,l),d=Wa(e,l,t),c=d.trim(),f=d.indexOf(c);f>0&&Ec(a,u,f);const p=l-(d.length-c.length-f);return Ec(s,u,p),Et(e,r.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:c,loc:Hn(e,a,s)},loc:Hn(e,o)}}function l_(e,t){const n=t===3?["]]>"]:["<",e.options.delimiters[0]];let r=e.source.length;for(let a=0;a<n.length;a++){const s=e.source.indexOf(n[a],1);s!==-1&&r>s&&(r=s)}const i=_n(e);return{type:2,content:Wa(e,r,t),loc:Hn(e,i)}}function Wa(e,t,n){const r=e.source.slice(0,t);return Et(e,t),n===2||n===3||!r.includes("&")?r:e.options.decodeEntities(r,n===4)}function _n(e){const{column:t,line:n,offset:r}=e;return{column:t,line:n,offset:r}}function Hn(e,t,n){return n=n||_n(e),{start:t,end:n,source:e.originalSource.slice(t.offset,n.offset)}}function Ku(e){return e[e.length-1]}function Ut(e,t){return e.startsWith(t)}function Et(e,t){const{source:n}=e;Ec(e,n,t),e.source=n.slice(t)}function ys(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&Et(e,t[0].length)}function Mm(e,t,n){return _c(t,e.originalSource.slice(t.offset,n),n)}function We(e,t,n,r=_n(e)){n&&(r.offset+=n,r.column+=n),e.options.onError(nt(t,{start:r,end:r,source:""}))}function c_(e,t,n){const r=e.source;switch(t){case 0:if(Ut(r,"</")){for(let i=n.length-1;i>=0;--i)if(Dd(r,n[i].tag))return!0}break;case 1:case 2:{const i=Ku(n);if(i&&Dd(r,i.tag))return!0;break}case 3:if(Ut(r,"]]>"))return!0;break}return!r}function Dd(e,t){return Ut(e,"</")&&e.slice(2,2+t.length).toLowerCase()===t.toLowerCase()&&/[\t\r\n\f />]/.test(e[2+t.length]||">")}function u_(e,t){Xl(e,t,ny(e,e.children[0]))}function ny(e,t){const{children:n}=e;return n.length===1&&t.type===1&&!Tc(t)}function Xl(e,t,n=!1){const{children:r}=e,i=r.length;let o=0;for(let a=0;a<r.length;a++){const s=r[a];if(s.type===1&&s.tagType===0){const l=n?0:Pn(s,t);if(l>0){if(l>=2){s.codegenNode.patchFlag="-1",s.codegenNode=t.hoist(s.codegenNode),o++;continue}}else{const u=s.codegenNode;if(u.type===13){const d=ay(u);if((!d||d===512||d===1)&&iy(s,t)>=2){const c=oy(s);c&&(u.props=t.hoist(c))}u.dynamicProps&&(u.dynamicProps=t.hoist(u.dynamicProps))}}}if(s.type===1){const l=s.tagType===1;l&&t.scopes.vSlot++,Xl(s,t),l&&t.scopes.vSlot--}else if(s.type===11)Xl(s,t,s.children.length===1);else if(s.type===9)for(let l=0;l<s.branches.length;l++)Xl(s.branches[l],t,s.branches[l].children.length===1)}if(o&&t.transformHoist&&t.transformHoist(r,t,e),o&&o===i&&e.type===1&&e.tagType===0&&e.codegenNode&&e.codegenNode.type===13&&Zo(e.codegenNode.children)){const a=t.hoist(Ks(e.codegenNode.children));t.hmr&&(a.content=`[...${a.content}]`),e.codegenNode.children=a}}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(ay(i))return n.set(e,0),0;{let s=3;const l=iy(e,t);if(l===0)return n.set(e,0),0;l<s&&(s=l);for(let u=0;u<e.children.length;u++){const d=Pn(e.children[u],t);if(d===0)return n.set(e,0),0;d<s&&(s=d)}if(s>1)for(let u=0;u<e.props.length;u++){const d=e.props[u];if(d.type===7&&d.name==="bind"&&d.exp){const c=Pn(d.exp,t);if(c===0)return n.set(e,0),0;c<s&&(s=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(ho),t.removeHelper(ra(t.inSSR,i.isComponent)),i.isBlock=!1,t.helper(na(t.inSSR,i.isComponent))}return n.set(e,s),s}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 a=3;for(let s=0;s<e.children.length;s++){const l=e.children[s];if(Rt(l)||P1(l))continue;const u=Pn(l,t);if(u===0)return 0;u<a&&(a=u)}return a;default:return 0}}const f_=new Set([$1,U1,ps,qs]);function ry(e,t){if(e.type===14&&!Rt(e.callee)&&f_.has(e.callee)){const n=e.arguments[0];if(n.type===4)return Pn(n,t);if(n.type===14)return ry(n,t)}return 0}function iy(e,t){let n=3;const r=oy(e);if(r&&r.type===15){const{properties:i}=r;for(let o=0;o<i.length;o++){const{key:a,value:s}=i[o],l=Pn(a,t);if(l===0)return l;l<n&&(n=l);let u;if(s.type===4?u=Pn(s,t):s.type===14?u=ry(s,t):u=0,u===0)return u;u<n&&(n=u)}}return n}function oy(e){const t=e.codegenNode;if(t.type===13)return t.props}function ay(e){const t=e.patchFlag;return t?parseInt(t,10):void 0}function d_(e,{filename:t="",prefixIdentifiers:n=!1,hoistStatic:r=!1,hmr:i=!1,cacheHandlers:o=!1,nodeTransforms:a=[],directiveTransforms:s={},transformHoist:l=null,isBuiltInComponent:u=mc,isCustomElement:d=mc,expressionPlugins:c=[],scopeId:f=null,slotted:p=!0,ssr:y=!1,inSSR:v=!1,ssrCssVars:_="",bindingMetadata:m=Pd,inline:g=!1,isTS:b=!1,onError:h=R1,onWarn:E=$v,compatConfig:k}){const T=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),A={selfName:T&&I1(Qo(T[1])),prefixIdentifiers:n,hoistStatic:r,hmr:i,cacheHandlers:o,nodeTransforms:a,directiveTransforms:s,transformHoist:l,isBuiltInComponent:u,isCustomElement:d,expressionPlugins:c,scopeId:f,slotted:p,ssr:y,inSSR:v,ssrCssVars:_,bindingMetadata:m,inline:g,isTS:b,onError:h,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(C){const N=A.helpers.get(C)||0;return A.helpers.set(C,N+1),C},removeHelper(C){const N=A.helpers.get(C);if(N){const O=N-1;O?A.helpers.set(C,O):A.helpers.delete(C)}},helperString(C){return`_${ea[A.helper(C)]}`},replaceNode(C){A.parent.children[A.childIndex]=A.currentNode=C},removeNode(C){const N=A.parent.children,O=C?N.indexOf(C):A.currentNode?A.childIndex:-1;!C||C===A.currentNode?(A.currentNode=null,A.onNodeRemoved()):A.childIndex>O&&(A.childIndex--,A.onNodeRemoved()),A.parent.children.splice(O,1)},onNodeRemoved:()=>{},addIdentifiers(C){},removeIdentifiers(C){},hoist(C){Rt(C)&&(C=Ie(C)),A.hoists.push(C);const N=Ie(`_hoisted_${A.hoists.length}`,!1,C.loc,2);return N.hoisted=C,N},cache(C,N=!1){return F8(A.cached++,C,N)}};return A.filters=new Set,A}function h_(e,t){const n=d_(e,t);Wu(e,n),t.hoistStatic&&u_(e,n),t.ssr||p_(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 p_(e,t){const{helper:n}=t,{children:r}=e;if(r.length===1){const i=r[0];if(ny(e,i)&&i.codegenNode){const o=i.codegenNode;o.type===13&&G1(o,t),e.codegenNode=o}else e.codegenNode=i}else if(r.length>1){let i=64;e.codegenNode=ms(t,n(hs),void 0,e.children,i+"",void 0,void 0,!0,void 0,!1)}}function m_(e,t){let n=0;const r=()=>{n--};for(;n<e.children.length;n++){const i=e.children[n];Rt(i)||(t.parent=e,t.childIndex=n,t.onNodeRemoved=r,Wu(i,t))}}function Wu(e,t){t.currentNode=e;const{nodeTransforms:n}=t,r=[];for(let o=0;o<n.length;o++){const a=n[o](e,t);if(a&&(Zo(a)?r.push(...a):r.push(a)),t.currentNode)e=t.currentNode;else return}switch(e.type){case 3:t.ssr||t.helper(Us);break;case 5:t.ssr||t.helper(Uu);break;case 9:for(let o=0;o<e.branches.length;o++)Wu(e.branches[o],t);break;case 10:case 11:case 1:case 0:m_(e,t);break}t.currentNode=e;let i=r.length;for(;i--;)r[i]()}function sy(e,t){const n=Rt(e)?r=>r===e:r=>e.test(r);return(r,i)=>{if(r.type===1){const{props:o}=r;if(r.tagType===3&&o.some(W8))return;const a=[];for(let s=0;s<o.length;s++){const l=o[s];if(l.type===7&&n(l.name)){o.splice(s,1),s--;const u=t(r,l,i);u&&a.push(u)}}return a}}}const Gu="/*#__PURE__*/",ly=e=>`${ea[e]}: _${ea[e]}`;function Dm(e,{mode:t="function",prefixIdentifiers:n=t==="module",sourceMap:r=!1,filename:i="template.vue.html",scopeId:o=null,optimizeImports:a=!1,runtimeGlobalName:s="Vue",runtimeModuleName:l="vue",ssrRuntimeModuleName:u="vue/server-renderer",ssr:d=!1,isTS:c=!1,inSSR:f=!1}){const p={mode:t,prefixIdentifiers:n,sourceMap:r,filename:i,scopeId:o,optimizeImports:a,runtimeGlobalName:s,runtimeModuleName:l,ssrRuntimeModuleName:u,ssr:d,isTS:c,inSSR:f,source:e.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(v){return`_${ea[v]}`},push(v,_){p.code+=v},indent(){y(++p.indentLevel)},deindent(v=!1){v?--p.indentLevel:y(--p.indentLevel)},newline(){y(p.indentLevel)}};function y(v){p.push(`
|
|
3
3
|
`+" ".repeat(v))}return p}function g_(e,t={}){const n=Dm(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:r,push:i,prefixIdentifiers:o,indent:a,deindent:s,newline:l,scopeId:u,ssr:d}=n,c=Array.from(e.helpers),f=c.length>0,p=!o&&r!=="module",y=!1,v=y?Dm(e,t):n;v_(e,v);const _=d?"ssrRender":"render",g=(d?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ");if(i(`function ${_}(${g}) {`),a(),p&&(i("with (_ctx) {"),a(),f&&(i(`const { ${c.map(ly).join(", ")} } = _Vue`),i(`
|
|
4
4
|
`),l())),e.components.length&&($f(e.components,"component",n),(e.directives.length||e.temps>0)&&l()),e.directives.length&&($f(e.directives,"directive",n),e.temps>0&&l()),e.filters&&e.filters.length&&(l(),$f(e.filters,"filter",n),l()),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
|
`),l()),d||i("return "),e.codegenNode?Kt(e.codegenNode,n):i("null"),p&&(s(),i("}")),s(),i("}"),{ast:e,code:n.code,preamble:y?v.code:"",map:n.map?n.map.toJSON():void 0}}function v_(e,t){const{ssr:n,prefixIdentifiers:r,push:i,newline:o,runtimeModuleName:a,runtimeGlobalName:s,ssrRuntimeModuleName:l}=t,u=s,d=Array.from(e.helpers);if(d.length>0&&(i(`const _Vue = ${u}
|
|
6
6
|
`),e.hoists.length)){const c=[M1,D1,Us,H1,Wv].filter(f=>d.includes(f)).map(ly).join(", ");i(`const { ${c} } = _Vue
|
|
7
|
-
`)}y_(e.hoists,t),o(),i("return ")}function $f(e,t,{helper:n,push:r,newline:i,isTS:o}){const a=n(t==="filter"?V1:t==="component"?j1:F1);for(let s=0;s<e.length;s++){let l=e[s];const u=l.endsWith("__self");u&&(l=l.slice(0,-6)),r(`const ${gs(l,t)} = ${a}(${JSON.stringify(l)}${u?", true":""})${o?"!":""}`),s<e.length-1&&i()}}function y_(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:r,helper:i,scopeId:o,mode:a}=t;r();for(let s=0;s<e.length;s++){const l=e[s];l&&(n(`const _hoisted_${s+1} = `),Kt(l,t),r())}t.pure=!1}function J1(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),Ws(e,t,n),n&&t.deindent(),t.push("]")}function Ws(e,t,n=!1,r=!0){const{push:i,newline:o}=t;for(let a=0;a<e.length;a++){const s=e[a];Rt(s)?i(s):Zo(s)?J1(s,t):Kt(s,t),a<e.length-1&&(n?(r&&i(","),o()):r&&i(", "))}}function Kt(e,t){if(Rt(e)){t.push(e);return}if(P1(e)){t.push(t.helper(e));return}switch(e.type){case 1:case 9:case 11:Kt(e.codegenNode,t);break;case 2:b_(e,t);break;case 4:cy(e,t);break;case 5:__(e,t);break;case 12:Kt(e.codegenNode,t);break;case 8:uy(e,t);break;case 3:O_(e,t);break;case 13:T_(e,t);break;case 14:A_(e,t);break;case 15:S_(e,t);break;case 17:N_(e,t);break;case 18:k_(e,t);break;case 19:C_(e,t);break;case 20:L_(e,t);break;case 21:Ws(e.body,t,!0,!1);break}}function b_(e,t){t.push(JSON.stringify(e.content),e)}function cy(e,t){const{content:n,isStatic:r}=e;t.push(r?JSON.stringify(n):n,e)}function __(e,t){const{push:n,helper:r,pure:i}=t;i&&n(Gu),n(`${r(Uu)}(`),Kt(e.content,t),n(")")}function uy(e,t){for(let n=0;n<e.children.length;n++){const r=e.children[n];Rt(r)?t.push(r):Kt(r,t)}}function E_(e,t){const{push:n}=t;if(e.type===8)n("["),uy(e,t),n("]");else if(e.isStatic){const r=Y1(e.content)?e.content:JSON.stringify(e.content);n(r,e)}else n(`[${e.content}]`,e)}function O_(e,t){const{push:n,helper:r,pure:i}=t;i&&n(Gu),n(`${r(Us)}(${JSON.stringify(e.content)})`,e)}function T_(e,t){const{push:n,helper:r,pure:i}=t,{tag:o,props:a,children:s,patchFlag:l,dynamicProps:u,directives:d,isBlock:c,disableTracking:f,isComponent:p}=e;d&&n(r(B1)+"("),c&&n(`(${r(ho)}(${f?"true":""}), `),i&&n(Gu);const y=c?ra(t.inSSR,p):na(t.inSSR,p);n(r(y)+"(",e),Ws(w_([o,a,s,l,u]),t),n(")"),c&&n(")"),d&&(n(", "),Kt(d,t),n(")"))}function w_(e){let t=e.length;for(;t--&&e[t]==null;);return e.slice(0,t+1).map(n=>n||"null")}function A_(e,t){const{push:n,helper:r,pure:i}=t,o=Rt(e.callee)?e.callee:r(e.callee);i&&n(Gu),n(o+"(",e),Ws(e.arguments,t),n(")")}function S_(e,t){const{push:n,indent:r,deindent:i,newline:o}=t,{properties:a}=e;if(!a.length){n("{}",e);return}const s=a.length>1||!1;n(s?"{":"{ "),s&&r();for(let l=0;l<a.length;l++){const{key:u,value:d}=a[l];E_(u,t),n(": "),Kt(d,t),l<a.length-1&&(n(","),o())}s&&i(),n(s?"}":" }")}function N_(e,t){J1(e.elements,t)}function k_(e,t){const{push:n,indent:r,deindent:i}=t,{params:o,returns:a,body:s,newline:l,isSlot:u}=e;u&&n(`_${ea[K1]}(`),n("(",e),Zo(o)?Ws(o,t):o&&Kt(o,t),n(") => "),(l||s)&&(n("{"),r()),a?(l&&n("return "),Zo(a)?J1(a,t):Kt(a,t)):s&&Kt(s,t),(l||s)&&(i(),n("}")),u&&(e.isNonScopedSlot&&n(", undefined, true"),n(")"))}function C_(e,t){const{test:n,consequent:r,alternate:i,newline:o}=e,{push:a,indent:s,deindent:l,newline:u}=t;if(n.type===4){const c=!Y1(n.content);c&&a("("),cy(n,t),c&&a(")")}else a("("),Kt(n,t),a(")");o&&s(),t.indentLevel++,o||a(" "),a("? "),Kt(r,t),t.indentLevel--,o&&u(),o||a(" "),a(": ");const d=i.type===19;d||t.indentLevel++,Kt(i,t),d||t.indentLevel--,o&&l(!0)}function L_(e,t){const{push:n,helper:r,indent:i,deindent:o,newline:a}=t;n(`_cache[${e.index}] || (`),e.isVNode&&(i(),n(`${r(bc)}(-1),`),a()),n(`_cache[${e.index}] = `),Kt(e.value,t),e.isVNode&&(n(","),a(),n(`${r(bc)}(1),`),a(),n(`_cache[${e.index}]`),o()),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 P_=sy(/^(if|else|else-if)$/,(e,t,n)=>I_(e,t,n,(r,i,o)=>{const a=n.parent.children;let s=a.indexOf(r),l=0;for(;s-->=0;){const u=a[s];u&&u.type===9&&(l+=u.branches.length)}return()=>{if(o)r.codegenNode=jm(i,l,n);else{const u=R_(r.codegenNode);u.alternate=jm(i,l+r.branches.length-1,n)}}}));function I_(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(nt(28,t.loc)),t.exp=Ie("true",!1,i)}if(t.name==="if"){const i=Hm(e,t),o={type:9,loc:e.loc,branches:[i]};if(n.replaceNode(o),r)return r(o,i,!0)}else{const i=n.parent.children;let o=i.indexOf(e);for(;o-->=-1;){const a=i[o];if(a&&a.type===3){n.removeNode(a);continue}if(a&&a.type===2&&!a.content.trim().length){n.removeNode(a);continue}if(a&&a.type===9){t.name==="else-if"&&a.branches[a.branches.length-1].condition===void 0&&n.onError(nt(30,e.loc)),n.removeNode();const s=Hm(e,t);a.branches.push(s);const l=r&&r(a,s,!1);Wu(s,n),l&&l(),n.currentNode=null}else n.onError(nt(30,e.loc));break}}}function Hm(e,t){const n=e.tagType===3;return{type:10,loc:e.loc,condition:t.name==="else"?void 0:t.exp,children:n&&!kn(e,"for")?e.children:[e],userKey:qu(e,"key"),isTemplateIf:n}}function jm(e,t,n){return e.condition?xd(e.condition,Fm(e,t,n),ft(n.helper(Us),['""',"true"])):Fm(e,t,n)}function Fm(e,t,n){const{helper:r}=n,i=lt("key",Ie(`${t}`,!1,En,2)),{children:o}=e,a=o[0];if(o.length!==1||a.type!==1)if(o.length===1&&a.type===11){const l=a.codegenNode;return wc(l,i,n),l}else{let l=64;return ms(n,r(hs),Ln([i]),o,l+"",void 0,void 0,!0,!1,!1,e.loc)}else{const l=a.codegenNode,u=Y8(l);return u.type===13&&G1(u,n),wc(u,i,n),l}}function R_(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 x_=sy("for",(e,t,n)=>{const{helper:r,removeHelper:i}=n;return M_(e,t,n,o=>{const a=ft(r(z1),[o.source]),s=Oc(e),l=kn(e,"memo"),u=qu(e,"key"),d=u&&(u.type===6?Ie(u.value.content,!0):u.exp),c=u?lt("key",d):null,f=o.source.type===4&&o.source.constType>0,p=f?64:u?128:256;return o.codegenNode=ms(n,r(hs),void 0,a,p+"",void 0,void 0,!0,!f,!1,e.loc),()=>{let y;const{children:v}=o,_=v.length!==1||v[0].type!==1,m=Tc(e)?e:s&&e.children.length===1&&Tc(e.children[0])?e.children[0]:null;if(m?(y=m.codegenNode,s&&c&&wc(y,c,n)):_?y=ms(n,r(hs),c?Ln([c]):void 0,e.children,"64",void 0,void 0,!0,void 0,!1):(y=v[0].codegenNode,s&&c&&wc(y,c,n),y.isBlock!==!f&&(y.isBlock?(i(ho),i(ra(n.inSSR,y.isComponent))):i(na(n.inSSR,y.isComponent))),y.isBlock=!f,y.isBlock?(r(ho),r(ra(n.inSSR,y.isComponent))):r(na(n.inSSR,y.isComponent))),l){const g=ta(Hd(o.parseResult,[Ie("_cached")]));g.body=V8([Wn(["const _memo = (",l.exp,")"]),Wn(["if (_cached",...d?[" && _cached.key === ",d]:[],` && ${n.helperString(Xv)}(_cached, _memo)) return _cached`]),Wn(["const _item = ",y]),Ie("_item.memo = _memo"),Ie("return _item")]),a.arguments.push(g,Ie("_cache"),Ie(String(n.cached++)))}else a.arguments.push(ta(Hd(o.parseResult),y,!0))}})});function M_(e,t,n,r){if(!t.exp){n.onError(nt(31,t.loc));return}const i=fy(t.exp);if(!i){n.onError(nt(32,t.loc));return}const{addIdentifiers:o,removeIdentifiers:a,scopes:s}=n,{source:l,value:u,key:d,index:c}=i,f={type:11,loc:t.loc,source:l,valueAlias:u,keyAlias:d,objectIndexAlias:c,parseResult:i,children:Oc(e)?e.children:[e]};n.replaceNode(f),s.vFor++;const p=r&&r(f);return()=>{s.vFor--,p&&p()}}const Vm=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,D_=/^\(|\)$/g;function fy(e,t){const n=e.loc,r=e.content,i=r.match(X8);if(!i)return;const[,o,a]=i,s={source:wl(n,a.trim(),r.indexOf(a,o.length)),value:void 0,key:void 0,index:void 0};let l=o.trim().replace(D_,"").trim();const u=o.indexOf(l),d=l.match(Vm);if(d){l=l.replace(Vm,"").trim();const c=d[1].trim();let f;if(c&&(f=r.indexOf(c,u+l.length),s.key=wl(n,c,f)),d[2]){const p=d[2].trim();p&&(s.index=wl(n,p,r.indexOf(p,s.key?f+c.length:u+l.length)))}}return l&&(s.value=wl(n,l,u)),s}function wl(e,t,n){return Ie(t,!1,Qv(e,n,t.length))}function Hd({value:e,key:t,index:n},r=[]){return H_([e,t,n,...r])}function H_(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 Bm=Ie("undefined",!1),j_=(e,t)=>{if(e.type===1&&(e.tagType===1||e.tagType===3)){const n=kn(e,"slot");if(n)return n.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},F_=(e,t,n,r)=>ta(e,n,!1,!0,n.length?n[0].loc:r);function V_(e,t,n=F_){t.helper(K1);const{children:r,loc:i}=e,o=[],a=[];let s=t.scopes.vSlot>0||t.scopes.vFor>0;const l=kn(e,"slot",!0);if(l){const{arg:_,exp:m}=l;_&&!fn(_)&&(s=!0),o.push(lt(_||Ie("default",!0),n(m,void 0,r,i)))}let u=!1,d=!1;const c=[],f=new Set;let p=0;for(let _=0;_<r.length;_++){const m=r[_];let g;if(!Oc(m)||!(g=kn(m,"slot",!0))){m.type!==3&&c.push(m);continue}if(l){t.onError(nt(37,g.loc));break}u=!0;const{children:b,loc:h}=m,{arg:E=Ie("default",!0),exp:k,loc:T}=g;let A;fn(E)?A=E?E.content:"default":s=!0;const C=kn(m,"for"),N=n(k,C?.exp,b,h);let O,S;if(O=kn(m,"if"))s=!0,a.push(xd(O.exp,Al(E,N,p++),Bm));else if(S=kn(m,/^else(-if)?$/,!0)){let L=_,R;for(;L--&&(R=r[L],R.type===3););if(R&&Oc(R)&&kn(R,"if")){r.splice(_,1),_--;let D=a[a.length-1];for(;D.alternate.type===19;)D=D.alternate;D.alternate=S.exp?xd(S.exp,Al(E,N,p++),Bm):Al(E,N,p++)}else t.onError(nt(30,S.loc))}else if(C){s=!0;const L=C.parseResult||fy(C.exp);L?a.push(ft(t.helper(z1),[L.source,ta(Hd(L),Al(E,N),!0)])):t.onError(nt(32,C.loc))}else{if(A){if(f.has(A)){t.onError(nt(38,T));continue}f.add(A),A==="default"&&(d=!0)}o.push(lt(E,N))}}if(!l){const _=(m,g)=>{const b=n(m,void 0,g,i);return t.compatConfig&&(b.isNonScopedSlot=!0),lt("default",b)};u?c.length&&c.some(m=>dy(m))&&(d?t.onError(nt(39,c[0].loc)):o.push(_(void 0,c))):o.push(_(void 0,r))}const y=s?2:Jl(e.children)?3:1;let v=Ln(o.concat(lt("_",Ie(y+"",!1))),i);return a.length&&(v=ft(t.helper(Yv),[v,Ks(a)])),{slots:v,hasDynamicSlots:s}}function Al(e,t,n){const r=[lt("name",e),lt("fn",t)];return n!=null&&r.push(lt("key",Ie(String(n),!0))),Ln(r)}function Jl(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(n.tagType===2||Jl(n.children))return!0;break;case 9:if(Jl(n.branches))return!0;break;case 10:case 11:if(Jl(n.children))return!0;break}}return!1}function dy(e){return e.type!==2&&e.type!==12?!0:e.type===2?!!e.content.trim():dy(e.content)}const hy=new WeakMap,B_=(e,t)=>function(){if(e=t.currentNode,!(e.type===1&&(e.tagType===0||e.tagType===1)))return;const{tag:r,props:i}=e,o=e.tagType===1;let a=o?z_(e,t):`"${r}"`;const s=g8(a)&&a.callee===vc;let l,u,d,c=0,f,p,y,v=s||a===Ka||a===x1||!o&&(r==="svg"||r==="foreignObject");if(i.length>0){const _=py(e,t,void 0,o,s);l=_.props,c=_.patchFlag,p=_.dynamicPropNames;const m=_.directives;y=m&&m.length?Ks(m.map(g=>U_(g,t))):void 0,_.shouldUseBlock&&(v=!0)}if(e.children.length>0)if(a===gc&&(v=!0,c|=1024),o&&a!==Ka&&a!==gc){const{slots:m,hasDynamicSlots:g}=V_(e,t);u=m,g&&(c|=1024)}else if(e.children.length===1&&a!==Ka){const m=e.children[0],g=m.type,b=g===5||g===8;b&&Pn(m,t)===0&&(c|=1),b||g===2?u=m:u=e.children}else u=e.children;c!==0&&(d=String(c),p&&p.length&&(f=q_(p))),e.codegenNode=ms(t,a,l,u,d,f,y,!!v,!1,o,e.loc)};function z_(e,t,n=!1){let{tag:r}=e;const i=jd(r),o=qu(e,"is");if(o)if(i||lo("COMPILER_IS_ON_ELEMENT",t)){const l=o.type===6?o.value&&Ie(o.value.content,!0):o.exp;if(l)return ft(t.helper(vc),[l])}else o.type===6&&o.value.content.startsWith("vue:")&&(r=o.value.content.slice(4));const a=!i&&kn(e,"is");if(a&&a.exp)return ft(t.helper(vc),[a.exp]);const s=Jv(r)||t.isBuiltInComponent(r);return s?(n||t.helper(s),s):(t.helper(j1),t.components.add(r),gs(r,"component"))}function py(e,t,n=e.props,r,i,o=!1){const{tag:a,loc:s,children:l}=e;let u=[];const d=[],c=[],f=l.length>0;let p=!1,y=0,v=!1,_=!1,m=!1,g=!1,b=!1,h=!1;const E=[],k=C=>{u.length&&(d.push(Ln(zm(u),s)),u=[]),C&&d.push(C)},T=({key:C,value:N})=>{if(fn(C)){const O=C.content,S=zv(O);if(S&&(!r||i)&&O.toLowerCase()!=="onclick"&&O!=="onUpdate:modelValue"&&!Cm(O)&&(g=!0),S&&Cm(O)&&(h=!0),S&&N.type===14&&(N=N.arguments[0]),N.type===20||(N.type===4||N.type===8)&&Pn(N,t)>0)return;O==="ref"?v=!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 C=0;C<n.length;C++){const N=n[C];if(N.type===6){const{loc:O,name:S,value:L}=N;let R=!0;if(S==="ref"&&(v=!0,t.scopes.vFor>0&&u.push(lt(Ie("ref_for",!0),Ie("true")))),S==="is"&&(jd(a)||L&&L.content.startsWith("vue:")||lo("COMPILER_IS_ON_ELEMENT",t)))continue;u.push(lt(Ie(S,!0,Qv(O,0,S.length)),Ie(L?L.content:"",R,L?L.loc:O)))}else{const{name:O,arg:S,exp:L,loc:R,modifiers:D}=N,B=O==="bind",K=O==="on";if(O==="slot"){r||t.onError(nt(40,R));continue}if(O==="once"||O==="memo"||O==="is"||B&&no(S,"is")&&(jd(a)||lo("COMPILER_IS_ON_ELEMENT",t))||K&&o)continue;if((B&&no(S,"key")||K&&f&&no(S,"vue:before-update"))&&(p=!0),B&&no(S,"ref")&&t.scopes.vFor>0&&u.push(lt(Ie("ref_for",!0),Ie("true"))),!S&&(B||K)){if(b=!0,L)if(B){if(k(),lo("COMPILER_V_BIND_OBJECT_ORDER",t)){d.unshift(L);continue}d.push(L)}else k({type:14,loc:R,callee:t.helper(q1),arguments:r?[L]:[L,"true"]});else t.onError(nt(B?34:35,R));continue}B&&D.includes("prop")&&(y|=32);const re=t.directiveTransforms[O];if(re){const{props:Y,needRuntime:j}=re(N,e,t);!o&&Y.forEach(T),K&&S&&!fn(S)?k(Ln(Y,s)):u.push(...Y),j&&(c.push(N),P1(j)&&hy.set(N,j))}else v8(O)||(c.push(N),f&&(p=!0))}}let A;if(d.length?(k(),d.length>1?A=ft(t.helper(yc),d,s):A=d[0]):u.length&&(A=Ln(zm(u),s)),b?y|=16:(_&&!r&&(y|=2),m&&!r&&(y|=4),E.length&&(y|=8),g&&(y|=32)),!p&&(y===0||y===32)&&(v||h||c.length>0)&&(y|=512),!t.inSSR&&A)switch(A.type){case 15:let C=-1,N=-1,O=!1;for(let R=0;R<A.properties.length;R++){const D=A.properties[R].key;fn(D)?D.content==="class"?C=R:D.content==="style"&&(N=R):D.isHandlerKey||(O=!0)}const S=A.properties[C],L=A.properties[N];O?A=ft(t.helper(ps),[A]):(S&&!fn(S.value)&&(S.value=ft(t.helper($1),[S.value])),L&&(m||L.value.type===4&&L.value.content.trim()[0]==="["||L.value.type===17)&&(L.value=ft(t.helper(U1),[L.value])));break;case 14:break;default:A=ft(t.helper(ps),[ft(t.helper(qs),[A])]);break}return{props:A,directives:c,patchFlag:y,dynamicPropNames:E,shouldUseBlock:p}}function zm(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 o=i.key.content,a=t.get(o);a?(o==="style"||o==="class"||zv(o))&&$_(a,i):(t.set(o,i),n.push(i))}return n}function $_(e,t){e.value.type===17?e.value.elements.push(t.value):e.value=Ks([e.value,t.value],e.loc)}function U_(e,t){const n=[],r=hy.get(e);r?n.push(t.helperString(r)):(t.helper(F1),t.directives.add(e.name),n.push(gs(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 o=Ie("true",!1,i);n.push(Ln(e.modifiers.map(a=>lt(a,o)),i))}return Ks(n,e.loc)}function q_(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 jd(e){return e==="component"||e==="Component"}const K_=(e,t)=>{if(Tc(e)){const{children:n,loc:r}=e,{slotName:i,slotProps:o}=W_(e,t),a=[t.prefixIdentifiers?"_ctx.$slots":"$slots",i,"{}","undefined","true"];let s=2;o&&(a[2]=o,s=3),n.length&&(a[3]=ta([],n,!1,!1,r),s=4),t.scopeId&&!t.slotted&&(s=5),a.splice(s),e.codegenNode=ft(t.helper(Gv),a,r)}};function W_(e,t){let n='"default"',r;const i=[];for(let o=0;o<e.props.length;o++){const a=e.props[o];a.type===6?a.value&&(a.name==="name"?n=JSON.stringify(a.value.content):(a.name=Qo(a.name),i.push(a))):a.name==="bind"&&no(a.arg,"name")?a.exp&&(n=a.exp):(a.name==="bind"&&a.arg&&fn(a.arg)&&(a.arg.content=Qo(a.arg.content)),i.push(a))}if(i.length>0){const{props:o,directives:a}=py(e,t,i,!1,!1);r=o,a.length&&t.onError(nt(36,a[0].loc))}return{slotName:n,slotProps:r}}const G_=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,my=(e,t,n,r)=>{const{loc:i,modifiers:o,arg:a}=e;!e.exp&&!o.length&&n.onError(nt(35,i));let s;if(a.type===4)if(a.isStatic){let c=a.content;c.startsWith("vue:")&&(c=`vnode-${c.slice(4)}`);const f=t.tagType!==0||c.startsWith("vnode")||!/[A-Z]/.test(c)?E8(Qo(c)):`on:${c}`;s=Ie(f,!0,a.loc)}else s=Wn([`${n.helperString(Rd)}(`,a,")"]);else s=a,s.children.unshift(`${n.helperString(Rd)}(`),s.children.push(")");let l=e.exp;l&&!l.content.trim()&&(l=void 0);let u=n.cacheHandlers&&!l&&!n.inVOnce;if(l){const c=Zv(l.content),f=!(c||G_.test(l.content)),p=l.content.includes(";");(f||u&&c)&&(l=Wn([`${f?"$event":"(...args)"} => ${p?"{":"("}`,l,p?"}":")"]))}let d={props:[lt(s,l||Ie("() => {}",!1,i))]};return r&&(d=r(d)),u&&(d.props[0].value=n.cache(d.props[0].value)),d.props.forEach(c=>c.key.isHandlerKey=!0),d},Y_=(e,t,n)=>{const{exp:r,modifiers:i,loc:o}=e,a=e.arg;return a.type!==4?(a.children.unshift("("),a.children.push(') || ""')):a.isStatic||(a.content=`${a.content} || ""`),i.includes("camel")&&(a.type===4?a.isStatic?a.content=Qo(a.content):a.content=`${n.helperString(Id)}(${a.content})`:(a.children.unshift(`${n.helperString(Id)}(`),a.children.push(")"))),n.inSSR||(i.includes("prop")&&$m(a,"."),i.includes("attr")&&$m(a,"^")),!r||r.type===4&&!r.content.trim()?(n.onError(nt(34,o)),{props:[lt(a,Ie("",!0,o))]}):{props:[lt(a,r)]}},$m=(e,t)=>{e.type===4?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},X_=(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 o=0;o<n.length;o++){const a=n[o];if(zf(a)){i=!0;for(let s=o+1;s<n.length;s++){const l=n[s];if(zf(l))r||(r=n[o]=Wn([a],a.loc)),r.children.push(" + ",l),n.splice(s,1),s--;else{r=void 0;break}}}}if(!(!i||n.length===1&&(e.type===0||e.type===1&&e.tagType===0&&!e.props.find(o=>o.type===7&&!t.directiveTransforms[o.name])&&e.tag!=="template")))for(let o=0;o<n.length;o++){const a=n[o];if(zf(a)||a.type===8){const s=[];(a.type!==2||a.content!==" ")&&s.push(a),!t.ssr&&Pn(a,t)===0&&s.push("1"),n[o]={type:12,content:a,loc:a.loc,codegenNode:ft(t.helper(H1),s)}}}}},Um=new WeakSet,J_=(e,t)=>{if(e.type===1&&kn(e,"once",!0))return Um.has(e)||t.inVOnce||t.inSSR?void 0:(Um.add(e),t.inVOnce=!0,t.helper(bc),()=>{t.inVOnce=!1;const n=t.currentNode;n.codegenNode&&(n.codegenNode=t.cache(n.codegenNode,!0))})},gy=(e,t,n)=>{const{exp:r,arg:i}=e;if(!r)return n.onError(nt(41,e.loc)),Sl();const o=r.loc.source,a=r.type===4?r.content:o,s=n.bindingMetadata[o];if(s==="props"||s==="props-aliased")return n.onError(nt(44,r.loc)),Sl();const l=!1;if(!a.trim()||!Zv(a)&&!l)return n.onError(nt(42,r.loc)),Sl();const u=i||Ie("modelValue",!0),d=i?fn(i)?`onUpdate:${Qo(i.content)}`:Wn(['"onUpdate:" + ',i]):"onUpdate:modelValue";let c;const f=n.isTS?"($event: any)":"$event";c=Wn([`${f} => ((`,r,") = $event)"]);const p=[lt(u,e.exp),lt(d,c)];if(e.modifiers.length&&t.tagType===1){const y=e.modifiers.map(_=>(Y1(_)?_:JSON.stringify(_))+": true").join(", "),v=i?fn(i)?`${i.content}Modifiers`:Wn([i,' + "Modifiers"']):"modelModifiers";p.push(lt(v,Ie(`{ ${y} }`,!1,e.loc,2)))}return Sl(p)};function Sl(e=[]){return{props:e}}const Z_=/[\w).+\-_$\]]/,Q_=(e,t)=>{lo("COMPILER_FILTER",t)&&(e.type===5&&Ac(e.content,t),e.type===1&&e.props.forEach(n=>{n.type===7&&n.name!=="for"&&n.exp&&Ac(n.exp,t)}))};function Ac(e,t){if(e.type===4)qm(e,t);else for(let n=0;n<e.children.length;n++){const r=e.children[n];typeof r=="object"&&(r.type===4?qm(r,t):r.type===8?Ac(e,t):r.type===5&&Ac(r.content,t))}}function qm(e,t){const n=e.content;let r=!1,i=!1,o=!1,a=!1,s=0,l=0,u=0,d=0,c,f,p,y,v=[];for(p=0;p<n.length;p++)if(f=c,c=n.charCodeAt(p),r)c===39&&f!==92&&(r=!1);else if(i)c===34&&f!==92&&(i=!1);else if(o)c===96&&f!==92&&(o=!1);else if(a)c===47&&f!==92&&(a=!1);else if(c===124&&n.charCodeAt(p+1)!==124&&n.charCodeAt(p-1)!==124&&!s&&!l&&!u)y===void 0?(d=p+1,y=n.slice(0,p).trim()):_();else{switch(c){case 34:i=!0;break;case 39:r=!0;break;case 96:o=!0;break;case 40:u++;break;case 41:u--;break;case 91:l++;break;case 93:l--;break;case 123:s++;break;case 125:s--;break}if(c===47){let m=p-1,g;for(;m>=0&&(g=n.charAt(m),g===" ");m--);(!g||!Z_.test(g))&&(a=!0)}}y===void 0?y=n.slice(0,p).trim():d!==0&&_();function _(){v.push(n.slice(d,p).trim()),d=p+1}if(v.length){for(p=0;p<v.length;p++)y=e5(y,v[p],t);e.content=y}}function e5(e,t,n){n.helper(V1);const r=t.indexOf("(");if(r<0)return n.filters.add(t),`${gs(t,"filter")}(${e})`;{const i=t.slice(0,r),o=t.slice(r+1);return n.filters.add(i),`${gs(i,"filter")}(${e}${o!==")"?","+o:o}`}}const Km=new WeakSet,t5=(e,t)=>{if(e.type===1){const n=kn(e,"memo");return!n||Km.has(e)?void 0:(Km.add(e),()=>{const r=e.codegenNode||t.currentNode.codegenNode;r&&r.type===13&&(e.tagType!==1&&G1(r,t),e.codegenNode=ft(t.helper(W1),[n.exp,ta(void 0,r),"_cache",String(t.cached++)]))})}};function n5(e){return[[J_,P_,t5,x_,Q_,K_,B_,j_,X_],{on:my,bind:Y_,model:gy}]}function r5(e,t={}){const n=t.onError||R1,r=t.mode==="module";t.prefixIdentifiers===!0?n(nt(47)):r&&n(nt(48));const i=!1;t.cacheHandlers&&n(nt(49)),t.scopeId&&!r&&n(nt(50));const o=Rt(e)?Q8(e,t):e,[a,s]=n5();return h_(o,Br({},t,{prefixIdentifiers:i,nodeTransforms:[...a,...t.nodeTransforms||[]],directiveTransforms:Br({},s,t.directiveTransforms||{})})),g_(o,Br({},t,{prefixIdentifiers:i}))}const i5=()=>({props:[]}),vy=Symbol(""),yy=Symbol(""),by=Symbol(""),_y=Symbol(""),Fd=Symbol(""),Ey=Symbol(""),Oy=Symbol(""),Ty=Symbol(""),wy=Symbol(""),Ay=Symbol("");H8({[vy]:"vModelRadio",[yy]:"vModelCheckbox",[by]:"vModelText",[_y]:"vModelSelect",[Fd]:"vModelDynamic",[Ey]:"withModifiers",[Oy]:"withKeys",[Ty]:"vShow",[wy]:"Transition",[Ay]:"TransitionGroup"});let Po;function o5(e,t=!1){return Po||(Po=document.createElement("div")),t?(Po.innerHTML=`<div foo="${e.replace(/"/g,""")}">`,Po.children[0].getAttribute("foo")):(Po.innerHTML=e,Po.textContent)}const a5=Xn("style,iframe,script,noscript",!0),s5={isVoidTag:P8,isNativeTag:e=>C8(e)||L8(e),isPreTag:e=>e==="pre",decodeEntities:o5,isBuiltInComponent:e=>{if(Ho(e,"Transition"))return wy;if(Ho(e,"TransitionGroup"))return Ay},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(a5(e))return 2}return 0}},l5=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:c5(t.value.content,t.loc),modifiers:[],loc:t.loc})})},c5=(e,t)=>{const n=A8(e);return Ie(JSON.stringify(n),!1,t,3)};function Ei(e,t){return nt(e,t)}const u5=(e,t,n)=>{const{exp:r,loc:i}=e;return r||n.onError(Ei(53,i)),t.children.length&&(n.onError(Ei(54,i)),t.children.length=0),{props:[lt(Ie("innerHTML",!0,i),r||Ie("",!0))]}},f5=(e,t,n)=>{const{exp:r,loc:i}=e;return r||n.onError(Ei(55,i)),t.children.length&&(n.onError(Ei(56,i)),t.children.length=0),{props:[lt(Ie("textContent",!0),r?Pn(r,n)>0?r:ft(n.helperString(Uu),[r],i):Ie("",!0))]}},d5=(e,t,n)=>{const r=gy(e,t,n);if(!r.props.length||t.tagType===1)return r;e.arg&&n.onError(Ei(58,e.arg.loc));const{tag:i}=t,o=n.isCustomElement(i);if(i==="input"||i==="textarea"||i==="select"||o){let a=by,s=!1;if(i==="input"||o){const l=qu(t,"type");if(l){if(l.type===7)a=Fd;else if(l.value)switch(l.value.content){case"radio":a=vy;break;case"checkbox":a=yy;break;case"file":s=!0,n.onError(Ei(59,e.loc));break}}else K8(t)&&(a=Fd)}else i==="select"&&(a=_y);s||(r.needRuntime=n.helper(a))}else n.onError(Ei(57,e.loc));return r.props=r.props.filter(a=>!(a.key.type===4&&a.key.content==="modelValue")),r},h5=Xn("passive,once,capture"),p5=Xn("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),m5=Xn("left,right"),Sy=Xn("onkeyup,onkeydown,onkeypress",!0),g5=(e,t,n,r)=>{const i=[],o=[],a=[];for(let s=0;s<t.length;s++){const l=t[s];l==="native"&&vs("COMPILER_V_ON_NATIVE",n)||h5(l)?a.push(l):m5(l)?fn(e)?Sy(e.content)?i.push(l):o.push(l):(i.push(l),o.push(l)):p5(l)?o.push(l):i.push(l)}return{keyModifiers:i,nonKeyModifiers:o,eventOptionModifiers:a}},Wm=(e,t)=>fn(e)&&e.content.toLowerCase()==="onclick"?Ie(t,!0):e.type!==4?Wn(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,v5=(e,t,n)=>my(e,t,n,r=>{const{modifiers:i}=e;if(!i.length)return r;let{key:o,value:a}=r.props[0];const{keyModifiers:s,nonKeyModifiers:l,eventOptionModifiers:u}=g5(o,i,n,e.loc);if(l.includes("right")&&(o=Wm(o,"onContextmenu")),l.includes("middle")&&(o=Wm(o,"onMouseup")),l.length&&(a=ft(n.helper(Ey),[a,JSON.stringify(l)])),s.length&&(!fn(o)||Sy(o.content))&&(a=ft(n.helper(Oy),[a,JSON.stringify(s)])),u.length){const d=u.map(I1).join("");o=fn(o)?Ie(`${o.content}${d}`,!0):Wn(["(",o,`) + "${d}"`])}return{props:[lt(o,a)]}}),y5=(e,t,n)=>{const{exp:r,loc:i}=e;return r||n.onError(Ei(61,i)),{props:[],needRuntime:n.helper(Ty)}},b5=(e,t)=>{e.type===1&&e.tagType===0&&(e.tag==="script"||e.tag==="style")&&t.removeNode()},_5=[l5],E5={cloak:i5,html:u5,text:f5,model:d5,on:v5,show:y5};function O5(e,t={}){return r5(e,Br({},s5,t,{nodeTransforms:[b5,..._5,...t.nodeTransforms||[]],directiveTransforms:Br({},E5,t.directiveTransforms||{}),transformHoist:null}))}const Gm=new WeakMap;function T5(e){let t=Gm.get(e??Pd);return t||(t=Object.create(null),Gm.set(e??Pd,t)),t}function Ny(e,t){if(!Rt(e))if(e.nodeType)e=e.innerHTML;else return mc;const n=e,r=T5(t),i=r[n];if(i)return i;if(e[0]==="#"){const l=document.querySelector(e);e=l?l.innerHTML:""}const o=Br({hoistStatic:!0,onError:void 0,onWarn:mc},t);!o.isCustomElement&&typeof customElements<"u"&&(o.isCustomElement=l=>!!customElements.get(l));const{code:a}=O5(e,o),s=new Function("Vue",a)(m8);return s._rc=!0,r[n]=s}b1(Ny);const w5=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:Zh,BaseTransitionPropsValidators:Iu,Comment:It,EffectScope:hu,Fragment:tt,KeepAlive:Rg,ReactiveEffect:co,Static:bi,Suspense:Yh,Teleport:g1,Text:vr,Transition:ga,TransitionGroup:Rv,VueElement:$s,assertNumber:_g,callWithAsyncErrorHandling:dn,callWithErrorHandling:mr,camelize:Mn,capitalize:Ds,cloneVNode:Gn,compatUtils:_v,compile:Ny,computed:de,createApp:L1,createBlock:qt,createCommentVNode:bt,createElementBlock:De,createElementVNode:$e,createHydrationRenderer:p1,createPropsRestProxy:Gg,createRenderer:h1,createSSRApp:Fv,createSlots:o1,createStaticVNode:cv,createTextVNode:Ur,createVNode:Ve,customRef:ug,defineAsyncComponent:Ig,defineComponent:wt,defineCustomElement:A1,defineEmits:Hg,defineExpose:jg,defineModel:Bg,defineOptions:Fg,defineProps:Dg,defineSSRCustomElement:kv,defineSlots:Vg,get devtools(){return Qi},effect:G2,effectScope:Rs,getCurrentInstance:Qt,getCurrentScope:da,getTransitionRawChildren:js,guardReactiveProps:an,h:Ri,handleError:Ii,hasInjectionContext:f1,hydrate:C1,initCustomFormatter:gv,initDirectivesForSSR:Bv,inject:Vr,isMemoSame:O1,isProxy:vu,isReactive:Kn,isReadonly:wi,isRef:Ge,isRuntimeOnly:hv,isShallow:Ko,isVNode:$r,markRaw:ma,mergeDefaults:Kg,mergeModels:Wg,mergeProps:qr,nextTick:Dn,normalizeClass:Pt,normalizeProps:on,normalizeStyle:cn,onActivated:Qh,onBeforeMount:xu,onBeforeUnmount:bo,onBeforeUpdate:Mu,onDeactivated:e1,onErrorCaptured:i1,onMounted:Fn,onRenderTracked:r1,onRenderTriggered:n1,onScopeDispose:xs,onServerPrefetch:t1,onUnmounted:_o,onUpdated:Vs,openBlock:Se,popScopeId:Cu,provide:u1,proxyRefs:bu,pushScopeId:ku,queuePostFlushCb:rs,reactive:yo,readonly:Ms,ref:Te,registerRuntimeCompiler:b1,render:ds,renderList:ss,renderSlot:St,resolveComponent:Wh,resolveDirective:Lu,resolveDynamicComponent:$o,resolveFilter:bv,resolveTransitionHooks:uo,setBlockTracking:dc,setDevtoolsHook:$h,setTransitionHooks:Ai,shallowReactive:Mh,shallowReadonly:ag,shallowRef:jh,ssrContextKey:_1,ssrUtils:yv,stop:Y2,toDisplayString:In,toHandlerKey:Bo,toHandlers:a1,toRaw:Re,toRef:_u,toRefs:Fh,toValue:cg,transformVNodeArgs:sv,triggerRef:lg,unref:et,useAttrs:$g,useCssModule:Cv,useCssVars:S1,useModel:Ug,useSSRContext:E1,useSlots:s1,useTransitionState:Pu,vModelCheckbox:Vu,vModelDynamic:zu,vModelRadio:Bu,vModelSelect:N1,vModelText:Xo,vShow:Yo,version:ju,warn:bg,watch:ht,watchEffect:kg,watchPostEffect:Jh,watchSyncEffect:Cg,withAsyncContext:l1,withCtx:gr,withDefaults:zg,withDirectives:yi,withKeys:k1,withMemo:vv,withModifiers:fs,withScopeId:Uh},Symbol.toStringTag,{value:"Module"}));var A5=!1;/*!
|
|
7
|
+
`)}y_(e.hoists,t),o(),i("return ")}function $f(e,t,{helper:n,push:r,newline:i,isTS:o}){const a=n(t==="filter"?V1:t==="component"?j1:F1);for(let s=0;s<e.length;s++){let l=e[s];const u=l.endsWith("__self");u&&(l=l.slice(0,-6)),r(`const ${gs(l,t)} = ${a}(${JSON.stringify(l)}${u?", true":""})${o?"!":""}`),s<e.length-1&&i()}}function y_(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:r,helper:i,scopeId:o,mode:a}=t;r();for(let s=0;s<e.length;s++){const l=e[s];l&&(n(`const _hoisted_${s+1} = `),Kt(l,t),r())}t.pure=!1}function J1(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),Ws(e,t,n),n&&t.deindent(),t.push("]")}function Ws(e,t,n=!1,r=!0){const{push:i,newline:o}=t;for(let a=0;a<e.length;a++){const s=e[a];Rt(s)?i(s):Zo(s)?J1(s,t):Kt(s,t),a<e.length-1&&(n?(r&&i(","),o()):r&&i(", "))}}function Kt(e,t){if(Rt(e)){t.push(e);return}if(P1(e)){t.push(t.helper(e));return}switch(e.type){case 1:case 9:case 11:Kt(e.codegenNode,t);break;case 2:b_(e,t);break;case 4:cy(e,t);break;case 5:__(e,t);break;case 12:Kt(e.codegenNode,t);break;case 8:uy(e,t);break;case 3:O_(e,t);break;case 13:T_(e,t);break;case 14:A_(e,t);break;case 15:S_(e,t);break;case 17:N_(e,t);break;case 18:k_(e,t);break;case 19:C_(e,t);break;case 20:L_(e,t);break;case 21:Ws(e.body,t,!0,!1);break}}function b_(e,t){t.push(JSON.stringify(e.content),e)}function cy(e,t){const{content:n,isStatic:r}=e;t.push(r?JSON.stringify(n):n,e)}function __(e,t){const{push:n,helper:r,pure:i}=t;i&&n(Gu),n(`${r(Uu)}(`),Kt(e.content,t),n(")")}function uy(e,t){for(let n=0;n<e.children.length;n++){const r=e.children[n];Rt(r)?t.push(r):Kt(r,t)}}function E_(e,t){const{push:n}=t;if(e.type===8)n("["),uy(e,t),n("]");else if(e.isStatic){const r=Y1(e.content)?e.content:JSON.stringify(e.content);n(r,e)}else n(`[${e.content}]`,e)}function O_(e,t){const{push:n,helper:r,pure:i}=t;i&&n(Gu),n(`${r(Us)}(${JSON.stringify(e.content)})`,e)}function T_(e,t){const{push:n,helper:r,pure:i}=t,{tag:o,props:a,children:s,patchFlag:l,dynamicProps:u,directives:d,isBlock:c,disableTracking:f,isComponent:p}=e;d&&n(r(B1)+"("),c&&n(`(${r(ho)}(${f?"true":""}), `),i&&n(Gu);const y=c?ra(t.inSSR,p):na(t.inSSR,p);n(r(y)+"(",e),Ws(w_([o,a,s,l,u]),t),n(")"),c&&n(")"),d&&(n(", "),Kt(d,t),n(")"))}function w_(e){let t=e.length;for(;t--&&e[t]==null;);return e.slice(0,t+1).map(n=>n||"null")}function A_(e,t){const{push:n,helper:r,pure:i}=t,o=Rt(e.callee)?e.callee:r(e.callee);i&&n(Gu),n(o+"(",e),Ws(e.arguments,t),n(")")}function S_(e,t){const{push:n,indent:r,deindent:i,newline:o}=t,{properties:a}=e;if(!a.length){n("{}",e);return}const s=a.length>1||!1;n(s?"{":"{ "),s&&r();for(let l=0;l<a.length;l++){const{key:u,value:d}=a[l];E_(u,t),n(": "),Kt(d,t),l<a.length-1&&(n(","),o())}s&&i(),n(s?"}":" }")}function N_(e,t){J1(e.elements,t)}function k_(e,t){const{push:n,indent:r,deindent:i}=t,{params:o,returns:a,body:s,newline:l,isSlot:u}=e;u&&n(`_${ea[K1]}(`),n("(",e),Zo(o)?Ws(o,t):o&&Kt(o,t),n(") => "),(l||s)&&(n("{"),r()),a?(l&&n("return "),Zo(a)?J1(a,t):Kt(a,t)):s&&Kt(s,t),(l||s)&&(i(),n("}")),u&&(e.isNonScopedSlot&&n(", undefined, true"),n(")"))}function C_(e,t){const{test:n,consequent:r,alternate:i,newline:o}=e,{push:a,indent:s,deindent:l,newline:u}=t;if(n.type===4){const c=!Y1(n.content);c&&a("("),cy(n,t),c&&a(")")}else a("("),Kt(n,t),a(")");o&&s(),t.indentLevel++,o||a(" "),a("? "),Kt(r,t),t.indentLevel--,o&&u(),o||a(" "),a(": ");const d=i.type===19;d||t.indentLevel++,Kt(i,t),d||t.indentLevel--,o&&l(!0)}function L_(e,t){const{push:n,helper:r,indent:i,deindent:o,newline:a}=t;n(`_cache[${e.index}] || (`),e.isVNode&&(i(),n(`${r(bc)}(-1),`),a()),n(`_cache[${e.index}] = `),Kt(e.value,t),e.isVNode&&(n(","),a(),n(`${r(bc)}(1),`),a(),n(`_cache[${e.index}]`),o()),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 P_=sy(/^(if|else|else-if)$/,(e,t,n)=>I_(e,t,n,(r,i,o)=>{const a=n.parent.children;let s=a.indexOf(r),l=0;for(;s-->=0;){const u=a[s];u&&u.type===9&&(l+=u.branches.length)}return()=>{if(o)r.codegenNode=jm(i,l,n);else{const u=R_(r.codegenNode);u.alternate=jm(i,l+r.branches.length-1,n)}}}));function I_(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(nt(28,t.loc)),t.exp=Ie("true",!1,i)}if(t.name==="if"){const i=Hm(e,t),o={type:9,loc:e.loc,branches:[i]};if(n.replaceNode(o),r)return r(o,i,!0)}else{const i=n.parent.children;let o=i.indexOf(e);for(;o-->=-1;){const a=i[o];if(a&&a.type===3){n.removeNode(a);continue}if(a&&a.type===2&&!a.content.trim().length){n.removeNode(a);continue}if(a&&a.type===9){t.name==="else-if"&&a.branches[a.branches.length-1].condition===void 0&&n.onError(nt(30,e.loc)),n.removeNode();const s=Hm(e,t);a.branches.push(s);const l=r&&r(a,s,!1);Wu(s,n),l&&l(),n.currentNode=null}else n.onError(nt(30,e.loc));break}}}function Hm(e,t){const n=e.tagType===3;return{type:10,loc:e.loc,condition:t.name==="else"?void 0:t.exp,children:n&&!kn(e,"for")?e.children:[e],userKey:qu(e,"key"),isTemplateIf:n}}function jm(e,t,n){return e.condition?xd(e.condition,Fm(e,t,n),ft(n.helper(Us),['""',"true"])):Fm(e,t,n)}function Fm(e,t,n){const{helper:r}=n,i=lt("key",Ie(`${t}`,!1,En,2)),{children:o}=e,a=o[0];if(o.length!==1||a.type!==1)if(o.length===1&&a.type===11){const l=a.codegenNode;return wc(l,i,n),l}else{let l=64;return ms(n,r(hs),Ln([i]),o,l+"",void 0,void 0,!0,!1,!1,e.loc)}else{const l=a.codegenNode,u=Y8(l);return u.type===13&&G1(u,n),wc(u,i,n),l}}function R_(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 x_=sy("for",(e,t,n)=>{const{helper:r,removeHelper:i}=n;return M_(e,t,n,o=>{const a=ft(r(z1),[o.source]),s=Oc(e),l=kn(e,"memo"),u=qu(e,"key"),d=u&&(u.type===6?Ie(u.value.content,!0):u.exp),c=u?lt("key",d):null,f=o.source.type===4&&o.source.constType>0,p=f?64:u?128:256;return o.codegenNode=ms(n,r(hs),void 0,a,p+"",void 0,void 0,!0,!f,!1,e.loc),()=>{let y;const{children:v}=o,_=v.length!==1||v[0].type!==1,m=Tc(e)?e:s&&e.children.length===1&&Tc(e.children[0])?e.children[0]:null;if(m?(y=m.codegenNode,s&&c&&wc(y,c,n)):_?y=ms(n,r(hs),c?Ln([c]):void 0,e.children,"64",void 0,void 0,!0,void 0,!1):(y=v[0].codegenNode,s&&c&&wc(y,c,n),y.isBlock!==!f&&(y.isBlock?(i(ho),i(ra(n.inSSR,y.isComponent))):i(na(n.inSSR,y.isComponent))),y.isBlock=!f,y.isBlock?(r(ho),r(ra(n.inSSR,y.isComponent))):r(na(n.inSSR,y.isComponent))),l){const g=ta(Hd(o.parseResult,[Ie("_cached")]));g.body=V8([Wn(["const _memo = (",l.exp,")"]),Wn(["if (_cached",...d?[" && _cached.key === ",d]:[],` && ${n.helperString(Xv)}(_cached, _memo)) return _cached`]),Wn(["const _item = ",y]),Ie("_item.memo = _memo"),Ie("return _item")]),a.arguments.push(g,Ie("_cache"),Ie(String(n.cached++)))}else a.arguments.push(ta(Hd(o.parseResult),y,!0))}})});function M_(e,t,n,r){if(!t.exp){n.onError(nt(31,t.loc));return}const i=fy(t.exp);if(!i){n.onError(nt(32,t.loc));return}const{addIdentifiers:o,removeIdentifiers:a,scopes:s}=n,{source:l,value:u,key:d,index:c}=i,f={type:11,loc:t.loc,source:l,valueAlias:u,keyAlias:d,objectIndexAlias:c,parseResult:i,children:Oc(e)?e.children:[e]};n.replaceNode(f),s.vFor++;const p=r&&r(f);return()=>{s.vFor--,p&&p()}}const Vm=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,D_=/^\(|\)$/g;function fy(e,t){const n=e.loc,r=e.content,i=r.match(X8);if(!i)return;const[,o,a]=i,s={source:wl(n,a.trim(),r.indexOf(a,o.length)),value:void 0,key:void 0,index:void 0};let l=o.trim().replace(D_,"").trim();const u=o.indexOf(l),d=l.match(Vm);if(d){l=l.replace(Vm,"").trim();const c=d[1].trim();let f;if(c&&(f=r.indexOf(c,u+l.length),s.key=wl(n,c,f)),d[2]){const p=d[2].trim();p&&(s.index=wl(n,p,r.indexOf(p,s.key?f+c.length:u+l.length)))}}return l&&(s.value=wl(n,l,u)),s}function wl(e,t,n){return Ie(t,!1,Qv(e,n,t.length))}function Hd({value:e,key:t,index:n},r=[]){return H_([e,t,n,...r])}function H_(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 Bm=Ie("undefined",!1),j_=(e,t)=>{if(e.type===1&&(e.tagType===1||e.tagType===3)){const n=kn(e,"slot");if(n)return n.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},F_=(e,t,n,r)=>ta(e,n,!1,!0,n.length?n[0].loc:r);function V_(e,t,n=F_){t.helper(K1);const{children:r,loc:i}=e,o=[],a=[];let s=t.scopes.vSlot>0||t.scopes.vFor>0;const l=kn(e,"slot",!0);if(l){const{arg:_,exp:m}=l;_&&!fn(_)&&(s=!0),o.push(lt(_||Ie("default",!0),n(m,void 0,r,i)))}let u=!1,d=!1;const c=[],f=new Set;let p=0;for(let _=0;_<r.length;_++){const m=r[_];let g;if(!Oc(m)||!(g=kn(m,"slot",!0))){m.type!==3&&c.push(m);continue}if(l){t.onError(nt(37,g.loc));break}u=!0;const{children:b,loc:h}=m,{arg:E=Ie("default",!0),exp:k,loc:T}=g;let A;fn(E)?A=E?E.content:"default":s=!0;const C=kn(m,"for"),N=n(k,C?.exp,b,h);let O,S;if(O=kn(m,"if"))s=!0,a.push(xd(O.exp,Al(E,N,p++),Bm));else if(S=kn(m,/^else(-if)?$/,!0)){let L=_,R;for(;L--&&(R=r[L],R.type===3););if(R&&Oc(R)&&kn(R,"if")){r.splice(_,1),_--;let D=a[a.length-1];for(;D.alternate.type===19;)D=D.alternate;D.alternate=S.exp?xd(S.exp,Al(E,N,p++),Bm):Al(E,N,p++)}else t.onError(nt(30,S.loc))}else if(C){s=!0;const L=C.parseResult||fy(C.exp);L?a.push(ft(t.helper(z1),[L.source,ta(Hd(L),Al(E,N),!0)])):t.onError(nt(32,C.loc))}else{if(A){if(f.has(A)){t.onError(nt(38,T));continue}f.add(A),A==="default"&&(d=!0)}o.push(lt(E,N))}}if(!l){const _=(m,g)=>{const b=n(m,void 0,g,i);return t.compatConfig&&(b.isNonScopedSlot=!0),lt("default",b)};u?c.length&&c.some(m=>dy(m))&&(d?t.onError(nt(39,c[0].loc)):o.push(_(void 0,c))):o.push(_(void 0,r))}const y=s?2:Jl(e.children)?3:1;let v=Ln(o.concat(lt("_",Ie(y+"",!1))),i);return a.length&&(v=ft(t.helper(Yv),[v,Ks(a)])),{slots:v,hasDynamicSlots:s}}function Al(e,t,n){const r=[lt("name",e),lt("fn",t)];return n!=null&&r.push(lt("key",Ie(String(n),!0))),Ln(r)}function Jl(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(n.tagType===2||Jl(n.children))return!0;break;case 9:if(Jl(n.branches))return!0;break;case 10:case 11:if(Jl(n.children))return!0;break}}return!1}function dy(e){return e.type!==2&&e.type!==12?!0:e.type===2?!!e.content.trim():dy(e.content)}const hy=new WeakMap,B_=(e,t)=>function(){if(e=t.currentNode,!(e.type===1&&(e.tagType===0||e.tagType===1)))return;const{tag:r,props:i}=e,o=e.tagType===1;let a=o?z_(e,t):`"${r}"`;const s=g8(a)&&a.callee===vc;let l,u,d,c=0,f,p,y,v=s||a===Ka||a===x1||!o&&(r==="svg"||r==="foreignObject");if(i.length>0){const _=py(e,t,void 0,o,s);l=_.props,c=_.patchFlag,p=_.dynamicPropNames;const m=_.directives;y=m&&m.length?Ks(m.map(g=>U_(g,t))):void 0,_.shouldUseBlock&&(v=!0)}if(e.children.length>0)if(a===gc&&(v=!0,c|=1024),o&&a!==Ka&&a!==gc){const{slots:m,hasDynamicSlots:g}=V_(e,t);u=m,g&&(c|=1024)}else if(e.children.length===1&&a!==Ka){const m=e.children[0],g=m.type,b=g===5||g===8;b&&Pn(m,t)===0&&(c|=1),b||g===2?u=m:u=e.children}else u=e.children;c!==0&&(d=String(c),p&&p.length&&(f=q_(p))),e.codegenNode=ms(t,a,l,u,d,f,y,!!v,!1,o,e.loc)};function z_(e,t,n=!1){let{tag:r}=e;const i=jd(r),o=qu(e,"is");if(o)if(i||lo("COMPILER_IS_ON_ELEMENT",t)){const l=o.type===6?o.value&&Ie(o.value.content,!0):o.exp;if(l)return ft(t.helper(vc),[l])}else o.type===6&&o.value.content.startsWith("vue:")&&(r=o.value.content.slice(4));const a=!i&&kn(e,"is");if(a&&a.exp)return ft(t.helper(vc),[a.exp]);const s=Jv(r)||t.isBuiltInComponent(r);return s?(n||t.helper(s),s):(t.helper(j1),t.components.add(r),gs(r,"component"))}function py(e,t,n=e.props,r,i,o=!1){const{tag:a,loc:s,children:l}=e;let u=[];const d=[],c=[],f=l.length>0;let p=!1,y=0,v=!1,_=!1,m=!1,g=!1,b=!1,h=!1;const E=[],k=C=>{u.length&&(d.push(Ln(zm(u),s)),u=[]),C&&d.push(C)},T=({key:C,value:N})=>{if(fn(C)){const O=C.content,S=zv(O);if(S&&(!r||i)&&O.toLowerCase()!=="onclick"&&O!=="onUpdate:modelValue"&&!Cm(O)&&(g=!0),S&&Cm(O)&&(h=!0),S&&N.type===14&&(N=N.arguments[0]),N.type===20||(N.type===4||N.type===8)&&Pn(N,t)>0)return;O==="ref"?v=!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 C=0;C<n.length;C++){const N=n[C];if(N.type===6){const{loc:O,name:S,value:L}=N;let R=!0;if(S==="ref"&&(v=!0,t.scopes.vFor>0&&u.push(lt(Ie("ref_for",!0),Ie("true")))),S==="is"&&(jd(a)||L&&L.content.startsWith("vue:")||lo("COMPILER_IS_ON_ELEMENT",t)))continue;u.push(lt(Ie(S,!0,Qv(O,0,S.length)),Ie(L?L.content:"",R,L?L.loc:O)))}else{const{name:O,arg:S,exp:L,loc:R,modifiers:D}=N,B=O==="bind",q=O==="on";if(O==="slot"){r||t.onError(nt(40,R));continue}if(O==="once"||O==="memo"||O==="is"||B&&no(S,"is")&&(jd(a)||lo("COMPILER_IS_ON_ELEMENT",t))||q&&o)continue;if((B&&no(S,"key")||q&&f&&no(S,"vue:before-update"))&&(p=!0),B&&no(S,"ref")&&t.scopes.vFor>0&&u.push(lt(Ie("ref_for",!0),Ie("true"))),!S&&(B||q)){if(b=!0,L)if(B){if(k(),lo("COMPILER_V_BIND_OBJECT_ORDER",t)){d.unshift(L);continue}d.push(L)}else k({type:14,loc:R,callee:t.helper(q1),arguments:r?[L]:[L,"true"]});else t.onError(nt(B?34:35,R));continue}B&&D.includes("prop")&&(y|=32);const re=t.directiveTransforms[O];if(re){const{props:Y,needRuntime:j}=re(N,e,t);!o&&Y.forEach(T),q&&S&&!fn(S)?k(Ln(Y,s)):u.push(...Y),j&&(c.push(N),P1(j)&&hy.set(N,j))}else v8(O)||(c.push(N),f&&(p=!0))}}let A;if(d.length?(k(),d.length>1?A=ft(t.helper(yc),d,s):A=d[0]):u.length&&(A=Ln(zm(u),s)),b?y|=16:(_&&!r&&(y|=2),m&&!r&&(y|=4),E.length&&(y|=8),g&&(y|=32)),!p&&(y===0||y===32)&&(v||h||c.length>0)&&(y|=512),!t.inSSR&&A)switch(A.type){case 15:let C=-1,N=-1,O=!1;for(let R=0;R<A.properties.length;R++){const D=A.properties[R].key;fn(D)?D.content==="class"?C=R:D.content==="style"&&(N=R):D.isHandlerKey||(O=!0)}const S=A.properties[C],L=A.properties[N];O?A=ft(t.helper(ps),[A]):(S&&!fn(S.value)&&(S.value=ft(t.helper($1),[S.value])),L&&(m||L.value.type===4&&L.value.content.trim()[0]==="["||L.value.type===17)&&(L.value=ft(t.helper(U1),[L.value])));break;case 14:break;default:A=ft(t.helper(ps),[ft(t.helper(qs),[A])]);break}return{props:A,directives:c,patchFlag:y,dynamicPropNames:E,shouldUseBlock:p}}function zm(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 o=i.key.content,a=t.get(o);a?(o==="style"||o==="class"||zv(o))&&$_(a,i):(t.set(o,i),n.push(i))}return n}function $_(e,t){e.value.type===17?e.value.elements.push(t.value):e.value=Ks([e.value,t.value],e.loc)}function U_(e,t){const n=[],r=hy.get(e);r?n.push(t.helperString(r)):(t.helper(F1),t.directives.add(e.name),n.push(gs(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 o=Ie("true",!1,i);n.push(Ln(e.modifiers.map(a=>lt(a,o)),i))}return Ks(n,e.loc)}function q_(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 jd(e){return e==="component"||e==="Component"}const K_=(e,t)=>{if(Tc(e)){const{children:n,loc:r}=e,{slotName:i,slotProps:o}=W_(e,t),a=[t.prefixIdentifiers?"_ctx.$slots":"$slots",i,"{}","undefined","true"];let s=2;o&&(a[2]=o,s=3),n.length&&(a[3]=ta([],n,!1,!1,r),s=4),t.scopeId&&!t.slotted&&(s=5),a.splice(s),e.codegenNode=ft(t.helper(Gv),a,r)}};function W_(e,t){let n='"default"',r;const i=[];for(let o=0;o<e.props.length;o++){const a=e.props[o];a.type===6?a.value&&(a.name==="name"?n=JSON.stringify(a.value.content):(a.name=Qo(a.name),i.push(a))):a.name==="bind"&&no(a.arg,"name")?a.exp&&(n=a.exp):(a.name==="bind"&&a.arg&&fn(a.arg)&&(a.arg.content=Qo(a.arg.content)),i.push(a))}if(i.length>0){const{props:o,directives:a}=py(e,t,i,!1,!1);r=o,a.length&&t.onError(nt(36,a[0].loc))}return{slotName:n,slotProps:r}}const G_=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,my=(e,t,n,r)=>{const{loc:i,modifiers:o,arg:a}=e;!e.exp&&!o.length&&n.onError(nt(35,i));let s;if(a.type===4)if(a.isStatic){let c=a.content;c.startsWith("vue:")&&(c=`vnode-${c.slice(4)}`);const f=t.tagType!==0||c.startsWith("vnode")||!/[A-Z]/.test(c)?E8(Qo(c)):`on:${c}`;s=Ie(f,!0,a.loc)}else s=Wn([`${n.helperString(Rd)}(`,a,")"]);else s=a,s.children.unshift(`${n.helperString(Rd)}(`),s.children.push(")");let l=e.exp;l&&!l.content.trim()&&(l=void 0);let u=n.cacheHandlers&&!l&&!n.inVOnce;if(l){const c=Zv(l.content),f=!(c||G_.test(l.content)),p=l.content.includes(";");(f||u&&c)&&(l=Wn([`${f?"$event":"(...args)"} => ${p?"{":"("}`,l,p?"}":")"]))}let d={props:[lt(s,l||Ie("() => {}",!1,i))]};return r&&(d=r(d)),u&&(d.props[0].value=n.cache(d.props[0].value)),d.props.forEach(c=>c.key.isHandlerKey=!0),d},Y_=(e,t,n)=>{const{exp:r,modifiers:i,loc:o}=e,a=e.arg;return a.type!==4?(a.children.unshift("("),a.children.push(') || ""')):a.isStatic||(a.content=`${a.content} || ""`),i.includes("camel")&&(a.type===4?a.isStatic?a.content=Qo(a.content):a.content=`${n.helperString(Id)}(${a.content})`:(a.children.unshift(`${n.helperString(Id)}(`),a.children.push(")"))),n.inSSR||(i.includes("prop")&&$m(a,"."),i.includes("attr")&&$m(a,"^")),!r||r.type===4&&!r.content.trim()?(n.onError(nt(34,o)),{props:[lt(a,Ie("",!0,o))]}):{props:[lt(a,r)]}},$m=(e,t)=>{e.type===4?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},X_=(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 o=0;o<n.length;o++){const a=n[o];if(zf(a)){i=!0;for(let s=o+1;s<n.length;s++){const l=n[s];if(zf(l))r||(r=n[o]=Wn([a],a.loc)),r.children.push(" + ",l),n.splice(s,1),s--;else{r=void 0;break}}}}if(!(!i||n.length===1&&(e.type===0||e.type===1&&e.tagType===0&&!e.props.find(o=>o.type===7&&!t.directiveTransforms[o.name])&&e.tag!=="template")))for(let o=0;o<n.length;o++){const a=n[o];if(zf(a)||a.type===8){const s=[];(a.type!==2||a.content!==" ")&&s.push(a),!t.ssr&&Pn(a,t)===0&&s.push("1"),n[o]={type:12,content:a,loc:a.loc,codegenNode:ft(t.helper(H1),s)}}}}},Um=new WeakSet,J_=(e,t)=>{if(e.type===1&&kn(e,"once",!0))return Um.has(e)||t.inVOnce||t.inSSR?void 0:(Um.add(e),t.inVOnce=!0,t.helper(bc),()=>{t.inVOnce=!1;const n=t.currentNode;n.codegenNode&&(n.codegenNode=t.cache(n.codegenNode,!0))})},gy=(e,t,n)=>{const{exp:r,arg:i}=e;if(!r)return n.onError(nt(41,e.loc)),Sl();const o=r.loc.source,a=r.type===4?r.content:o,s=n.bindingMetadata[o];if(s==="props"||s==="props-aliased")return n.onError(nt(44,r.loc)),Sl();const l=!1;if(!a.trim()||!Zv(a)&&!l)return n.onError(nt(42,r.loc)),Sl();const u=i||Ie("modelValue",!0),d=i?fn(i)?`onUpdate:${Qo(i.content)}`:Wn(['"onUpdate:" + ',i]):"onUpdate:modelValue";let c;const f=n.isTS?"($event: any)":"$event";c=Wn([`${f} => ((`,r,") = $event)"]);const p=[lt(u,e.exp),lt(d,c)];if(e.modifiers.length&&t.tagType===1){const y=e.modifiers.map(_=>(Y1(_)?_:JSON.stringify(_))+": true").join(", "),v=i?fn(i)?`${i.content}Modifiers`:Wn([i,' + "Modifiers"']):"modelModifiers";p.push(lt(v,Ie(`{ ${y} }`,!1,e.loc,2)))}return Sl(p)};function Sl(e=[]){return{props:e}}const Z_=/[\w).+\-_$\]]/,Q_=(e,t)=>{lo("COMPILER_FILTER",t)&&(e.type===5&&Ac(e.content,t),e.type===1&&e.props.forEach(n=>{n.type===7&&n.name!=="for"&&n.exp&&Ac(n.exp,t)}))};function Ac(e,t){if(e.type===4)qm(e,t);else for(let n=0;n<e.children.length;n++){const r=e.children[n];typeof r=="object"&&(r.type===4?qm(r,t):r.type===8?Ac(e,t):r.type===5&&Ac(r.content,t))}}function qm(e,t){const n=e.content;let r=!1,i=!1,o=!1,a=!1,s=0,l=0,u=0,d=0,c,f,p,y,v=[];for(p=0;p<n.length;p++)if(f=c,c=n.charCodeAt(p),r)c===39&&f!==92&&(r=!1);else if(i)c===34&&f!==92&&(i=!1);else if(o)c===96&&f!==92&&(o=!1);else if(a)c===47&&f!==92&&(a=!1);else if(c===124&&n.charCodeAt(p+1)!==124&&n.charCodeAt(p-1)!==124&&!s&&!l&&!u)y===void 0?(d=p+1,y=n.slice(0,p).trim()):_();else{switch(c){case 34:i=!0;break;case 39:r=!0;break;case 96:o=!0;break;case 40:u++;break;case 41:u--;break;case 91:l++;break;case 93:l--;break;case 123:s++;break;case 125:s--;break}if(c===47){let m=p-1,g;for(;m>=0&&(g=n.charAt(m),g===" ");m--);(!g||!Z_.test(g))&&(a=!0)}}y===void 0?y=n.slice(0,p).trim():d!==0&&_();function _(){v.push(n.slice(d,p).trim()),d=p+1}if(v.length){for(p=0;p<v.length;p++)y=e5(y,v[p],t);e.content=y}}function e5(e,t,n){n.helper(V1);const r=t.indexOf("(");if(r<0)return n.filters.add(t),`${gs(t,"filter")}(${e})`;{const i=t.slice(0,r),o=t.slice(r+1);return n.filters.add(i),`${gs(i,"filter")}(${e}${o!==")"?","+o:o}`}}const Km=new WeakSet,t5=(e,t)=>{if(e.type===1){const n=kn(e,"memo");return!n||Km.has(e)?void 0:(Km.add(e),()=>{const r=e.codegenNode||t.currentNode.codegenNode;r&&r.type===13&&(e.tagType!==1&&G1(r,t),e.codegenNode=ft(t.helper(W1),[n.exp,ta(void 0,r),"_cache",String(t.cached++)]))})}};function n5(e){return[[J_,P_,t5,x_,Q_,K_,B_,j_,X_],{on:my,bind:Y_,model:gy}]}function r5(e,t={}){const n=t.onError||R1,r=t.mode==="module";t.prefixIdentifiers===!0?n(nt(47)):r&&n(nt(48));const i=!1;t.cacheHandlers&&n(nt(49)),t.scopeId&&!r&&n(nt(50));const o=Rt(e)?Q8(e,t):e,[a,s]=n5();return h_(o,Br({},t,{prefixIdentifiers:i,nodeTransforms:[...a,...t.nodeTransforms||[]],directiveTransforms:Br({},s,t.directiveTransforms||{})})),g_(o,Br({},t,{prefixIdentifiers:i}))}const i5=()=>({props:[]}),vy=Symbol(""),yy=Symbol(""),by=Symbol(""),_y=Symbol(""),Fd=Symbol(""),Ey=Symbol(""),Oy=Symbol(""),Ty=Symbol(""),wy=Symbol(""),Ay=Symbol("");H8({[vy]:"vModelRadio",[yy]:"vModelCheckbox",[by]:"vModelText",[_y]:"vModelSelect",[Fd]:"vModelDynamic",[Ey]:"withModifiers",[Oy]:"withKeys",[Ty]:"vShow",[wy]:"Transition",[Ay]:"TransitionGroup"});let Po;function o5(e,t=!1){return Po||(Po=document.createElement("div")),t?(Po.innerHTML=`<div foo="${e.replace(/"/g,""")}">`,Po.children[0].getAttribute("foo")):(Po.innerHTML=e,Po.textContent)}const a5=Xn("style,iframe,script,noscript",!0),s5={isVoidTag:P8,isNativeTag:e=>C8(e)||L8(e),isPreTag:e=>e==="pre",decodeEntities:o5,isBuiltInComponent:e=>{if(Ho(e,"Transition"))return wy;if(Ho(e,"TransitionGroup"))return Ay},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(a5(e))return 2}return 0}},l5=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:c5(t.value.content,t.loc),modifiers:[],loc:t.loc})})},c5=(e,t)=>{const n=A8(e);return Ie(JSON.stringify(n),!1,t,3)};function Ei(e,t){return nt(e,t)}const u5=(e,t,n)=>{const{exp:r,loc:i}=e;return r||n.onError(Ei(53,i)),t.children.length&&(n.onError(Ei(54,i)),t.children.length=0),{props:[lt(Ie("innerHTML",!0,i),r||Ie("",!0))]}},f5=(e,t,n)=>{const{exp:r,loc:i}=e;return r||n.onError(Ei(55,i)),t.children.length&&(n.onError(Ei(56,i)),t.children.length=0),{props:[lt(Ie("textContent",!0),r?Pn(r,n)>0?r:ft(n.helperString(Uu),[r],i):Ie("",!0))]}},d5=(e,t,n)=>{const r=gy(e,t,n);if(!r.props.length||t.tagType===1)return r;e.arg&&n.onError(Ei(58,e.arg.loc));const{tag:i}=t,o=n.isCustomElement(i);if(i==="input"||i==="textarea"||i==="select"||o){let a=by,s=!1;if(i==="input"||o){const l=qu(t,"type");if(l){if(l.type===7)a=Fd;else if(l.value)switch(l.value.content){case"radio":a=vy;break;case"checkbox":a=yy;break;case"file":s=!0,n.onError(Ei(59,e.loc));break}}else K8(t)&&(a=Fd)}else i==="select"&&(a=_y);s||(r.needRuntime=n.helper(a))}else n.onError(Ei(57,e.loc));return r.props=r.props.filter(a=>!(a.key.type===4&&a.key.content==="modelValue")),r},h5=Xn("passive,once,capture"),p5=Xn("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),m5=Xn("left,right"),Sy=Xn("onkeyup,onkeydown,onkeypress",!0),g5=(e,t,n,r)=>{const i=[],o=[],a=[];for(let s=0;s<t.length;s++){const l=t[s];l==="native"&&vs("COMPILER_V_ON_NATIVE",n)||h5(l)?a.push(l):m5(l)?fn(e)?Sy(e.content)?i.push(l):o.push(l):(i.push(l),o.push(l)):p5(l)?o.push(l):i.push(l)}return{keyModifiers:i,nonKeyModifiers:o,eventOptionModifiers:a}},Wm=(e,t)=>fn(e)&&e.content.toLowerCase()==="onclick"?Ie(t,!0):e.type!==4?Wn(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,v5=(e,t,n)=>my(e,t,n,r=>{const{modifiers:i}=e;if(!i.length)return r;let{key:o,value:a}=r.props[0];const{keyModifiers:s,nonKeyModifiers:l,eventOptionModifiers:u}=g5(o,i,n,e.loc);if(l.includes("right")&&(o=Wm(o,"onContextmenu")),l.includes("middle")&&(o=Wm(o,"onMouseup")),l.length&&(a=ft(n.helper(Ey),[a,JSON.stringify(l)])),s.length&&(!fn(o)||Sy(o.content))&&(a=ft(n.helper(Oy),[a,JSON.stringify(s)])),u.length){const d=u.map(I1).join("");o=fn(o)?Ie(`${o.content}${d}`,!0):Wn(["(",o,`) + "${d}"`])}return{props:[lt(o,a)]}}),y5=(e,t,n)=>{const{exp:r,loc:i}=e;return r||n.onError(Ei(61,i)),{props:[],needRuntime:n.helper(Ty)}},b5=(e,t)=>{e.type===1&&e.tagType===0&&(e.tag==="script"||e.tag==="style")&&t.removeNode()},_5=[l5],E5={cloak:i5,html:u5,text:f5,model:d5,on:v5,show:y5};function O5(e,t={}){return r5(e,Br({},s5,t,{nodeTransforms:[b5,..._5,...t.nodeTransforms||[]],directiveTransforms:Br({},E5,t.directiveTransforms||{}),transformHoist:null}))}const Gm=new WeakMap;function T5(e){let t=Gm.get(e??Pd);return t||(t=Object.create(null),Gm.set(e??Pd,t)),t}function Ny(e,t){if(!Rt(e))if(e.nodeType)e=e.innerHTML;else return mc;const n=e,r=T5(t),i=r[n];if(i)return i;if(e[0]==="#"){const l=document.querySelector(e);e=l?l.innerHTML:""}const o=Br({hoistStatic:!0,onError:void 0,onWarn:mc},t);!o.isCustomElement&&typeof customElements<"u"&&(o.isCustomElement=l=>!!customElements.get(l));const{code:a}=O5(e,o),s=new Function("Vue",a)(m8);return s._rc=!0,r[n]=s}b1(Ny);const w5=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:Zh,BaseTransitionPropsValidators:Iu,Comment:It,EffectScope:hu,Fragment:tt,KeepAlive:Rg,ReactiveEffect:co,Static:bi,Suspense:Yh,Teleport:g1,Text:vr,Transition:ga,TransitionGroup:Rv,VueElement:$s,assertNumber:_g,callWithAsyncErrorHandling:dn,callWithErrorHandling:mr,camelize:Mn,capitalize:Ds,cloneVNode:Gn,compatUtils:_v,compile:Ny,computed:de,createApp:L1,createBlock:qt,createCommentVNode:bt,createElementBlock:De,createElementVNode:$e,createHydrationRenderer:p1,createPropsRestProxy:Gg,createRenderer:h1,createSSRApp:Fv,createSlots:o1,createStaticVNode:cv,createTextVNode:Ur,createVNode:Ve,customRef:ug,defineAsyncComponent:Ig,defineComponent:wt,defineCustomElement:A1,defineEmits:Hg,defineExpose:jg,defineModel:Bg,defineOptions:Fg,defineProps:Dg,defineSSRCustomElement:kv,defineSlots:Vg,get devtools(){return Qi},effect:G2,effectScope:Rs,getCurrentInstance:Qt,getCurrentScope:da,getTransitionRawChildren:js,guardReactiveProps:an,h:Ri,handleError:Ii,hasInjectionContext:f1,hydrate:C1,initCustomFormatter:gv,initDirectivesForSSR:Bv,inject:Vr,isMemoSame:O1,isProxy:vu,isReactive:Kn,isReadonly:wi,isRef:Ge,isRuntimeOnly:hv,isShallow:Ko,isVNode:$r,markRaw:ma,mergeDefaults:Kg,mergeModels:Wg,mergeProps:qr,nextTick:Dn,normalizeClass:Pt,normalizeProps:on,normalizeStyle:cn,onActivated:Qh,onBeforeMount:xu,onBeforeUnmount:bo,onBeforeUpdate:Mu,onDeactivated:e1,onErrorCaptured:i1,onMounted:Fn,onRenderTracked:r1,onRenderTriggered:n1,onScopeDispose:xs,onServerPrefetch:t1,onUnmounted:_o,onUpdated:Vs,openBlock:Se,popScopeId:Cu,provide:u1,proxyRefs:bu,pushScopeId:ku,queuePostFlushCb:rs,reactive:yo,readonly:Ms,ref:Te,registerRuntimeCompiler:b1,render:ds,renderList:ss,renderSlot:St,resolveComponent:Wh,resolveDirective:Lu,resolveDynamicComponent:$o,resolveFilter:bv,resolveTransitionHooks:uo,setBlockTracking:dc,setDevtoolsHook:$h,setTransitionHooks:Ai,shallowReactive:Mh,shallowReadonly:ag,shallowRef:jh,ssrContextKey:_1,ssrUtils:yv,stop:Y2,toDisplayString:In,toHandlerKey:Bo,toHandlers:a1,toRaw:Re,toRef:_u,toRefs:Fh,toValue:cg,transformVNodeArgs:sv,triggerRef:lg,unref:et,useAttrs:$g,useCssModule:Cv,useCssVars:S1,useModel:Ug,useSSRContext:E1,useSlots:s1,useTransitionState:Pu,vModelCheckbox:Vu,vModelDynamic:zu,vModelRadio:Bu,vModelSelect:N1,vModelText:Xo,vShow:Yo,version:ju,warn:bg,watch:ht,watchEffect:kg,watchPostEffect:Jh,watchSyncEffect:Cg,withAsyncContext:l1,withCtx:gr,withDefaults:zg,withDirectives:yi,withKeys:k1,withMemo:vv,withModifiers:fs,withScopeId:Uh},Symbol.toStringTag,{value:"Module"}));var A5=!1;/*!
|
|
8
8
|
* pinia v2.1.7
|
|
9
9
|
* (c) 2023 Eduardo San Martin Morote
|
|
10
10
|
* @license MIT
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
* (c) 2023 kazuya kawaguchi
|
|
18
18
|
* Released under the MIT License.
|
|
19
19
|
*/function B5(e,t,n){return{line:e,column:t,offset:n}}function $d(e,t,n){const r={start:e,end:t};return n!=null&&(r.source=n),r}const z5=/\{([0-9a-zA-Z]+)\}/g;function $5(e,...t){return t.length===1&&U5(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(z5,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const xy=Object.assign,Zm=e=>typeof e=="string",U5=e=>e!==null&&typeof e=="object";function My(e,t=""){return e.reduce((n,r,i)=>i===0?n+r:n+t+r,"")}const Ae={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},q5={[Ae.EXPECTED_TOKEN]:"Expected token: '{0}'",[Ae.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[Ae.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[Ae.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[Ae.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[Ae.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[Ae.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[Ae.EMPTY_PLACEHOLDER]:"Empty placeholder",[Ae.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[Ae.INVALID_LINKED_FORMAT]:"Invalid linked format",[Ae.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[Ae.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[Ae.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[Ae.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[Ae.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[Ae.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function va(e,t,n={}){const{domain:r,messages:i,args:o}=n,a=$5((i||q5)[e]||"",...o||[]),s=new SyntaxError(String(a));return s.code=e,t&&(s.location=t),s.domain=r,s}function K5(e){throw e}const Lr=" ",W5="\r",Jt=`
|
|
20
|
-
`,G5=String.fromCharCode(8232),Y5=String.fromCharCode(8233);function X5(e){const t=e;let n=0,r=1,i=1,o=0;const a=T=>t[T]===W5&&t[T+1]===Jt,s=T=>t[T]===Jt,l=T=>t[T]===Y5,u=T=>t[T]===G5,d=T=>a(T)||s(T)||l(T)||u(T),c=()=>n,f=()=>r,p=()=>i,y=()=>o,v=T=>a(T)||l(T)||u(T)?Jt:t[T],_=()=>v(n),m=()=>v(n+o);function g(){return o=0,d(n)&&(r++,i=0),a(n)&&n++,n++,i++,t[n]}function b(){return a(n+o)&&o++,o++,t[n+o]}function h(){n=0,r=1,i=1,o=0}function E(T=0){o=T}function k(){const T=n+o;for(;T!==n;)g();o=0}return{index:c,line:f,column:p,peekOffset:y,charAt:v,currentChar:_,currentPeek:m,next:g,peek:b,reset:h,resetPeek:E,skipToPeek:k}}const ii=void 0,J5=".",Qm="'",Z5="tokenizer";function Q5(e,t={}){const n=t.location!==!1,r=X5(e),i=()=>r.index(),o=()=>B5(r.line(),r.column(),r.index()),a=o(),s=i(),l={currentType:14,offset:s,startLoc:a,endLoc:a,lastType:14,lastOffset:s,lastStartLoc:a,lastEndLoc:a,braceNest:0,inLinked:!1,text:""},u=()=>l,{onError:d}=t;function c(P,x,$,...Z){const se=u();if(x.column+=$,x.offset+=$,d){const U=n?$d(se.startLoc,x):null,q=va(P,U,{domain:Z5,args:Z});d(q)}}function f(P,x,$){P.endLoc=o(),P.currentType=x;const Z={type:x};return n&&(Z.loc=$d(P.startLoc,P.endLoc)),$!=null&&(Z.value=$),Z}const p=P=>f(P,14);function y(P,x){return P.currentChar()===x?(P.next(),x):(c(Ae.EXPECTED_TOKEN,o(),0,x),"")}function v(P){let x="";for(;P.currentPeek()===Lr||P.currentPeek()===Jt;)x+=P.currentPeek(),P.peek();return x}function _(P){const x=v(P);return P.skipToPeek(),x}function m(P){if(P===ii)return!1;const x=P.charCodeAt(0);return x>=97&&x<=122||x>=65&&x<=90||x===95}function g(P){if(P===ii)return!1;const x=P.charCodeAt(0);return x>=48&&x<=57}function b(P,x){const{currentType:$}=x;if($!==2)return!1;v(P);const Z=m(P.currentPeek());return P.resetPeek(),Z}function h(P,x){const{currentType:$}=x;if($!==2)return!1;v(P);const Z=P.currentPeek()==="-"?P.peek():P.currentPeek(),se=g(Z);return P.resetPeek(),se}function E(P,x){const{currentType:$}=x;if($!==2)return!1;v(P);const Z=P.currentPeek()===Qm;return P.resetPeek(),Z}function k(P,x){const{currentType:$}=x;if($!==8)return!1;v(P);const Z=P.currentPeek()===".";return P.resetPeek(),Z}function T(P,x){const{currentType:$}=x;if($!==9)return!1;v(P);const Z=m(P.currentPeek());return P.resetPeek(),Z}function A(P,x){const{currentType:$}=x;if(!($===8||$===12))return!1;v(P);const Z=P.currentPeek()===":";return P.resetPeek(),Z}function C(P,x){const{currentType:$}=x;if($!==10)return!1;const Z=()=>{const U=P.currentPeek();return U==="{"?m(P.peek()):U==="@"||U==="%"||U==="|"||U===":"||U==="."||U===Lr||!U?!1:U===Jt?(P.peek(),Z()):m(U)},se=Z();return P.resetPeek(),se}function N(P){v(P);const x=P.currentPeek()==="|";return P.resetPeek(),x}function O(P){const x=v(P),$=P.currentPeek()==="%"&&P.peek()==="{";return P.resetPeek(),{isModulo:$,hasSpace:x.length>0}}function S(P,x=!0){const $=(se=!1,U="",q=!1)=>{const Q=P.currentPeek();return Q==="{"?U==="%"?!1:se:Q==="@"||!Q?U==="%"?!0:se:Q==="%"?(P.peek(),$(se,"%",!0)):Q==="|"?U==="%"||q?!0:!(U===Lr||U===Jt):Q===Lr?(P.peek(),$(!0,Lr,q)):Q===Jt?(P.peek(),$(!0,Jt,q)):!0},Z=$();return x&&P.resetPeek(),Z}function L(P,x){const $=P.currentChar();return $===ii?ii:x($)?(P.next(),$):null}function R(P){return L(P,$=>{const Z=$.charCodeAt(0);return Z>=97&&Z<=122||Z>=65&&Z<=90||Z>=48&&Z<=57||Z===95||Z===36})}function D(P){return L(P,$=>{const Z=$.charCodeAt(0);return Z>=48&&Z<=57})}function B(P){return L(P,$=>{const Z=$.charCodeAt(0);return Z>=48&&Z<=57||Z>=65&&Z<=70||Z>=97&&Z<=102})}function K(P){let x="",$="";for(;x=D(P);)$+=x;return $}function re(P){_(P);const x=P.currentChar();return x!=="%"&&c(Ae.EXPECTED_TOKEN,o(),0,x),P.next(),"%"}function Y(P){let x="";for(;;){const $=P.currentChar();if($==="{"||$==="}"||$==="@"||$==="|"||!$)break;if($==="%")if(S(P))x+=$,P.next();else break;else if($===Lr||$===Jt)if(S(P))x+=$,P.next();else{if(N(P))break;x+=$,P.next()}else x+=$,P.next()}return x}function j(P){_(P);let x="",$="";for(;x=R(P);)$+=x;return P.currentChar()===ii&&c(Ae.UNTERMINATED_CLOSING_BRACE,o(),0),$}function I(P){_(P);let x="";return P.currentChar()==="-"?(P.next(),x+=`-${K(P)}`):x+=K(P),P.currentChar()===ii&&c(Ae.UNTERMINATED_CLOSING_BRACE,o(),0),x}function F(P){_(P),y(P,"'");let x="",$="";const Z=U=>U!==Qm&&U!==Jt;for(;x=L(P,Z);)x==="\\"?$+=z(P):$+=x;const se=P.currentChar();return se===Jt||se===ii?(c(Ae.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,o(),0),se===Jt&&(P.next(),y(P,"'")),$):(y(P,"'"),$)}function z(P){const x=P.currentChar();switch(x){case"\\":case"'":return P.next(),`\\${x}`;case"u":return ee(P,x,4);case"U":return ee(P,x,6);default:return c(Ae.UNKNOWN_ESCAPE_SEQUENCE,o(),0,x),""}}function ee(P,x,$){y(P,x);let Z="";for(let se=0;se<$;se++){const U=B(P);if(!U){c(Ae.INVALID_UNICODE_ESCAPE_SEQUENCE,o(),0,`\\${x}${Z}${P.currentChar()}`);break}Z+=U}return`\\${x}${Z}`}function J(P){_(P);let x="",$="";const Z=se=>se!=="{"&&se!=="}"&&se!==Lr&&se!==Jt;for(;x=L(P,Z);)$+=x;return $}function H(P){let x="",$="";for(;x=R(P);)$+=x;return $}function X(P){const x=($=!1,Z)=>{const se=P.currentChar();return se==="{"||se==="%"||se==="@"||se==="|"||se==="("||se===")"||!se||se===Lr?Z:se===Jt||se===J5?(Z+=se,P.next(),x($,Z)):(Z+=se,P.next(),x(!0,Z))};return x(!1,"")}function ie(P){_(P);const x=y(P,"|");return _(P),x}function oe(P,x){let $=null;switch(P.currentChar()){case"{":return x.braceNest>=1&&c(Ae.NOT_ALLOW_NEST_PLACEHOLDER,o(),0),P.next(),$=f(x,2,"{"),_(P),x.braceNest++,$;case"}":return x.braceNest>0&&x.currentType===2&&c(Ae.EMPTY_PLACEHOLDER,o(),0),P.next(),$=f(x,3,"}"),x.braceNest--,x.braceNest>0&&_(P),x.inLinked&&x.braceNest===0&&(x.inLinked=!1),$;case"@":return x.braceNest>0&&c(Ae.UNTERMINATED_CLOSING_BRACE,o(),0),$=ue(P,x)||p(x),x.braceNest=0,$;default:let se=!0,U=!0,q=!0;if(N(P))return x.braceNest>0&&c(Ae.UNTERMINATED_CLOSING_BRACE,o(),0),$=f(x,1,ie(P)),x.braceNest=0,x.inLinked=!1,$;if(x.braceNest>0&&(x.currentType===5||x.currentType===6||x.currentType===7))return c(Ae.UNTERMINATED_CLOSING_BRACE,o(),0),x.braceNest=0,he(P,x);if(se=b(P,x))return $=f(x,5,j(P)),_(P),$;if(U=h(P,x))return $=f(x,6,I(P)),_(P),$;if(q=E(P,x))return $=f(x,7,F(P)),_(P),$;if(!se&&!U&&!q)return $=f(x,13,J(P)),c(Ae.INVALID_TOKEN_IN_PLACEHOLDER,o(),0,$.value),_(P),$;break}return $}function ue(P,x){const{currentType:$}=x;let Z=null;const se=P.currentChar();switch(($===8||$===9||$===12||$===10)&&(se===Jt||se===Lr)&&c(Ae.INVALID_LINKED_FORMAT,o(),0),se){case"@":return P.next(),Z=f(x,8,"@"),x.inLinked=!0,Z;case".":return _(P),P.next(),f(x,9,".");case":":return _(P),P.next(),f(x,10,":");default:return N(P)?(Z=f(x,1,ie(P)),x.braceNest=0,x.inLinked=!1,Z):k(P,x)||A(P,x)?(_(P),ue(P,x)):T(P,x)?(_(P),f(x,12,H(P))):C(P,x)?(_(P),se==="{"?oe(P,x)||Z:f(x,11,X(P))):($===8&&c(Ae.INVALID_LINKED_FORMAT,o(),0),x.braceNest=0,x.inLinked=!1,he(P,x))}}function he(P,x){let $={type:14};if(x.braceNest>0)return oe(P,x)||p(x);if(x.inLinked)return ue(P,x)||p(x);switch(P.currentChar()){case"{":return oe(P,x)||p(x);case"}":return c(Ae.UNBALANCED_CLOSING_BRACE,o(),0),P.next(),f(x,3,"}");case"@":return ue(P,x)||p(x);default:if(N(P))return $=f(x,1,ie(P)),x.braceNest=0,x.inLinked=!1,$;const{isModulo:se,hasSpace:U}=O(P);if(se)return U?f(x,0,Y(P)):f(x,4,re(P));if(S(P))return f(x,0,Y(P));break}return $}function V(){const{currentType:P,offset:x,startLoc:$,endLoc:Z}=l;return l.lastType=P,l.lastOffset=x,l.lastStartLoc=$,l.lastEndLoc=Z,l.offset=i(),l.startLoc=o(),r.currentChar()===ii?f(l,14):he(r,l)}return{nextToken:V,currentOffset:i,currentPosition:o,context:u}}const eE="parser",tE=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function nE(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 rE(e={}){const t=e.location!==!1,{onError:n}=e;function r(m,g,b,h,...E){const k=m.currentPosition();if(k.offset+=h,k.column+=h,n){const T=t?$d(b,k):null,A=va(g,T,{domain:eE,args:E});n(A)}}function i(m,g,b){const h={type:m};return t&&(h.start=g,h.end=g,h.loc={start:b,end:b}),h}function o(m,g,b,h){h&&(m.type=h),t&&(m.end=g,m.loc&&(m.loc.end=b))}function a(m,g){const b=m.context(),h=i(3,b.offset,b.startLoc);return h.value=g,o(h,m.currentOffset(),m.currentPosition()),h}function s(m,g){const b=m.context(),{lastOffset:h,lastStartLoc:E}=b,k=i(5,h,E);return k.index=parseInt(g,10),m.nextToken(),o(k,m.currentOffset(),m.currentPosition()),k}function l(m,g){const b=m.context(),{lastOffset:h,lastStartLoc:E}=b,k=i(4,h,E);return k.key=g,m.nextToken(),o(k,m.currentOffset(),m.currentPosition()),k}function u(m,g){const b=m.context(),{lastOffset:h,lastStartLoc:E}=b,k=i(9,h,E);return k.value=g.replace(tE,nE),m.nextToken(),o(k,m.currentOffset(),m.currentPosition()),k}function d(m){const g=m.nextToken(),b=m.context(),{lastOffset:h,lastStartLoc:E}=b,k=i(8,h,E);return g.type!==12?(r(m,Ae.UNEXPECTED_EMPTY_LINKED_MODIFIER,b.lastStartLoc,0),k.value="",o(k,h,E),{nextConsumeToken:g,node:k}):(g.value==null&&r(m,Ae.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,ir(g)),k.value=g.value||"",o(k,m.currentOffset(),m.currentPosition()),{node:k})}function c(m,g){const b=m.context(),h=i(7,b.offset,b.startLoc);return h.value=g,o(h,m.currentOffset(),m.currentPosition()),h}function f(m){const g=m.context(),b=i(6,g.offset,g.startLoc);let h=m.nextToken();if(h.type===9){const E=d(m);b.modifier=E.node,h=E.nextConsumeToken||m.nextToken()}switch(h.type!==10&&r(m,Ae.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,ir(h)),h=m.nextToken(),h.type===2&&(h=m.nextToken()),h.type){case 11:h.value==null&&r(m,Ae.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,ir(h)),b.key=c(m,h.value||"");break;case 5:h.value==null&&r(m,Ae.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,ir(h)),b.key=l(m,h.value||"");break;case 6:h.value==null&&r(m,Ae.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,ir(h)),b.key=s(m,h.value||"");break;case 7:h.value==null&&r(m,Ae.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,ir(h)),b.key=u(m,h.value||"");break;default:r(m,Ae.UNEXPECTED_EMPTY_LINKED_KEY,g.lastStartLoc,0);const E=m.context(),k=i(7,E.offset,E.startLoc);return k.value="",o(k,E.offset,E.startLoc),b.key=k,o(b,E.offset,E.startLoc),{nextConsumeToken:h,node:b}}return o(b,m.currentOffset(),m.currentPosition()),{node:b}}function p(m){const g=m.context(),b=g.currentType===1?m.currentOffset():g.offset,h=g.currentType===1?g.endLoc:g.startLoc,E=i(2,b,h);E.items=[];let k=null;do{const C=k||m.nextToken();switch(k=null,C.type){case 0:C.value==null&&r(m,Ae.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,ir(C)),E.items.push(a(m,C.value||""));break;case 6:C.value==null&&r(m,Ae.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,ir(C)),E.items.push(s(m,C.value||""));break;case 5:C.value==null&&r(m,Ae.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,ir(C)),E.items.push(l(m,C.value||""));break;case 7:C.value==null&&r(m,Ae.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,ir(C)),E.items.push(u(m,C.value||""));break;case 8:const N=f(m);E.items.push(N.node),k=N.nextConsumeToken||null;break}}while(g.currentType!==14&&g.currentType!==1);const T=g.currentType===1?g.lastOffset:m.currentOffset(),A=g.currentType===1?g.lastEndLoc:m.currentPosition();return o(E,T,A),E}function y(m,g,b,h){const E=m.context();let k=h.items.length===0;const T=i(1,g,b);T.cases=[],T.cases.push(h);do{const A=p(m);k||(k=A.items.length===0),T.cases.push(A)}while(E.currentType!==14);return k&&r(m,Ae.MUST_HAVE_MESSAGES_IN_PLURAL,b,0),o(T,m.currentOffset(),m.currentPosition()),T}function v(m){const g=m.context(),{offset:b,startLoc:h}=g,E=p(m);return g.currentType===14?E:y(m,b,h,E)}function _(m){const g=Q5(m,xy({},e)),b=g.context(),h=i(0,b.offset,b.startLoc);return t&&h.loc&&(h.loc.source=m),h.body=v(g),e.onCacheKey&&(h.cacheKey=e.onCacheKey(m)),b.currentType!==14&&r(g,Ae.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,m[b.offset]||""),o(h,g.currentOffset(),g.currentPosition()),h}return{parse:_}}function ir(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 iE(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:o=>(n.helpers.add(o),o)}}function e0(e,t){for(let n=0;n<e.length;n++)Q1(e[n],t)}function Q1(e,t){switch(e.type){case 1:e0(e.cases,t),t.helper("plural");break;case 2:e0(e.items,t);break;case 6:Q1(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 oE(e,t={}){const n=iE(e);n.helper("normalize"),e.body&&Q1(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function aE(e){const t=e.body;return t.type===2?t0(t):t.cases.forEach(n=>t0(n)),e}function t0(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=My(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 sE="minifier";function Mo(e){switch(e.t=e.type,e.type){case 0:const t=e;Mo(t.body),t.b=t.body,delete t.body;break;case 1:const n=e,r=n.cases;for(let d=0;d<r.length;d++)Mo(r[d]);n.c=r,delete n.cases;break;case 2:const i=e,o=i.items;for(let d=0;d<o.length;d++)Mo(o[d]);i.i=o,delete i.items,i.static&&(i.s=i.static,delete i.static);break;case 3:case 9:case 8:case 7:const a=e;a.value&&(a.v=a.value,delete a.value);break;case 6:const s=e;Mo(s.key),s.k=s.key,delete s.key,s.modifier&&(Mo(s.modifier),s.m=s.modifier,delete s.modifier);break;case 5:const l=e;l.i=l.index,delete l.index;break;case 4:const u=e;u.k=u.key,delete u.key;break;default:throw va(Ae.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:sE,args:[e.type]})}delete e.type}const lE="parser";function cE(e,t){const{sourceMap:n,filename:r,breakLineCode:i,needIndent:o}=t,a=t.location!==!1,s={filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:i,needIndent:o,indentLevel:0};a&&e.loc&&(s.source=e.loc.source);const l=()=>s;function u(_,m){s.code+=_}function d(_,m=!0){const g=m?i:"";u(o?g+" ".repeat(_):g)}function c(_=!0){const m=++s.indentLevel;_&&d(m)}function f(_=!0){const m=--s.indentLevel;_&&d(m)}function p(){d(s.indentLevel)}return{context:l,push:u,indent:c,deindent:f,newline:p,helper:_=>`_${_}`,needIndent:()=>s.needIndent}}function uE(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),ia(e,t.key),t.modifier?(e.push(", "),ia(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function fE(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const i=t.items.length;for(let o=0;o<i&&(ia(e,t.items[o]),o!==i-1);o++)e.push(", ");e.deindent(r()),e.push("])")}function dE(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 o=0;o<i&&(ia(e,t.cases[o]),o!==i-1);o++)e.push(", ");e.deindent(r()),e.push("])")}}function hE(e,t){t.body?ia(e,t.body):e.push("null")}function ia(e,t){const{helper:n}=e;switch(t.type){case 0:hE(e,t);break;case 1:dE(e,t);break;case 2:fE(e,t);break;case 6:uE(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 va(Ae.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:lE,args:[t.type]})}}const pE=(e,t={})=>{const n=Zm(t.mode)?t.mode:"normal",r=Zm(t.filename)?t.filename:"message.intl",i=!!t.sourceMap,o=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
|
|
20
|
+
`,G5=String.fromCharCode(8232),Y5=String.fromCharCode(8233);function X5(e){const t=e;let n=0,r=1,i=1,o=0;const a=T=>t[T]===W5&&t[T+1]===Jt,s=T=>t[T]===Jt,l=T=>t[T]===Y5,u=T=>t[T]===G5,d=T=>a(T)||s(T)||l(T)||u(T),c=()=>n,f=()=>r,p=()=>i,y=()=>o,v=T=>a(T)||l(T)||u(T)?Jt:t[T],_=()=>v(n),m=()=>v(n+o);function g(){return o=0,d(n)&&(r++,i=0),a(n)&&n++,n++,i++,t[n]}function b(){return a(n+o)&&o++,o++,t[n+o]}function h(){n=0,r=1,i=1,o=0}function E(T=0){o=T}function k(){const T=n+o;for(;T!==n;)g();o=0}return{index:c,line:f,column:p,peekOffset:y,charAt:v,currentChar:_,currentPeek:m,next:g,peek:b,reset:h,resetPeek:E,skipToPeek:k}}const ii=void 0,J5=".",Qm="'",Z5="tokenizer";function Q5(e,t={}){const n=t.location!==!1,r=X5(e),i=()=>r.index(),o=()=>B5(r.line(),r.column(),r.index()),a=o(),s=i(),l={currentType:14,offset:s,startLoc:a,endLoc:a,lastType:14,lastOffset:s,lastStartLoc:a,lastEndLoc:a,braceNest:0,inLinked:!1,text:""},u=()=>l,{onError:d}=t;function c(P,x,$,...Z){const se=u();if(x.column+=$,x.offset+=$,d){const U=n?$d(se.startLoc,x):null,G=va(P,U,{domain:Z5,args:Z});d(G)}}function f(P,x,$){P.endLoc=o(),P.currentType=x;const Z={type:x};return n&&(Z.loc=$d(P.startLoc,P.endLoc)),$!=null&&(Z.value=$),Z}const p=P=>f(P,14);function y(P,x){return P.currentChar()===x?(P.next(),x):(c(Ae.EXPECTED_TOKEN,o(),0,x),"")}function v(P){let x="";for(;P.currentPeek()===Lr||P.currentPeek()===Jt;)x+=P.currentPeek(),P.peek();return x}function _(P){const x=v(P);return P.skipToPeek(),x}function m(P){if(P===ii)return!1;const x=P.charCodeAt(0);return x>=97&&x<=122||x>=65&&x<=90||x===95}function g(P){if(P===ii)return!1;const x=P.charCodeAt(0);return x>=48&&x<=57}function b(P,x){const{currentType:$}=x;if($!==2)return!1;v(P);const Z=m(P.currentPeek());return P.resetPeek(),Z}function h(P,x){const{currentType:$}=x;if($!==2)return!1;v(P);const Z=P.currentPeek()==="-"?P.peek():P.currentPeek(),se=g(Z);return P.resetPeek(),se}function E(P,x){const{currentType:$}=x;if($!==2)return!1;v(P);const Z=P.currentPeek()===Qm;return P.resetPeek(),Z}function k(P,x){const{currentType:$}=x;if($!==8)return!1;v(P);const Z=P.currentPeek()===".";return P.resetPeek(),Z}function T(P,x){const{currentType:$}=x;if($!==9)return!1;v(P);const Z=m(P.currentPeek());return P.resetPeek(),Z}function A(P,x){const{currentType:$}=x;if(!($===8||$===12))return!1;v(P);const Z=P.currentPeek()===":";return P.resetPeek(),Z}function C(P,x){const{currentType:$}=x;if($!==10)return!1;const Z=()=>{const U=P.currentPeek();return U==="{"?m(P.peek()):U==="@"||U==="%"||U==="|"||U===":"||U==="."||U===Lr||!U?!1:U===Jt?(P.peek(),Z()):m(U)},se=Z();return P.resetPeek(),se}function N(P){v(P);const x=P.currentPeek()==="|";return P.resetPeek(),x}function O(P){const x=v(P),$=P.currentPeek()==="%"&&P.peek()==="{";return P.resetPeek(),{isModulo:$,hasSpace:x.length>0}}function S(P,x=!0){const $=(se=!1,U="",G=!1)=>{const ee=P.currentPeek();return ee==="{"?U==="%"?!1:se:ee==="@"||!ee?U==="%"?!0:se:ee==="%"?(P.peek(),$(se,"%",!0)):ee==="|"?U==="%"||G?!0:!(U===Lr||U===Jt):ee===Lr?(P.peek(),$(!0,Lr,G)):ee===Jt?(P.peek(),$(!0,Jt,G)):!0},Z=$();return x&&P.resetPeek(),Z}function L(P,x){const $=P.currentChar();return $===ii?ii:x($)?(P.next(),$):null}function R(P){return L(P,$=>{const Z=$.charCodeAt(0);return Z>=97&&Z<=122||Z>=65&&Z<=90||Z>=48&&Z<=57||Z===95||Z===36})}function D(P){return L(P,$=>{const Z=$.charCodeAt(0);return Z>=48&&Z<=57})}function B(P){return L(P,$=>{const Z=$.charCodeAt(0);return Z>=48&&Z<=57||Z>=65&&Z<=70||Z>=97&&Z<=102})}function q(P){let x="",$="";for(;x=D(P);)$+=x;return $}function re(P){_(P);const x=P.currentChar();return x!=="%"&&c(Ae.EXPECTED_TOKEN,o(),0,x),P.next(),"%"}function Y(P){let x="";for(;;){const $=P.currentChar();if($==="{"||$==="}"||$==="@"||$==="|"||!$)break;if($==="%")if(S(P))x+=$,P.next();else break;else if($===Lr||$===Jt)if(S(P))x+=$,P.next();else{if(N(P))break;x+=$,P.next()}else x+=$,P.next()}return x}function j(P){_(P);let x="",$="";for(;x=R(P);)$+=x;return P.currentChar()===ii&&c(Ae.UNTERMINATED_CLOSING_BRACE,o(),0),$}function I(P){_(P);let x="";return P.currentChar()==="-"?(P.next(),x+=`-${q(P)}`):x+=q(P),P.currentChar()===ii&&c(Ae.UNTERMINATED_CLOSING_BRACE,o(),0),x}function F(P){_(P),y(P,"'");let x="",$="";const Z=U=>U!==Qm&&U!==Jt;for(;x=L(P,Z);)x==="\\"?$+=z(P):$+=x;const se=P.currentChar();return se===Jt||se===ii?(c(Ae.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,o(),0),se===Jt&&(P.next(),y(P,"'")),$):(y(P,"'"),$)}function z(P){const x=P.currentChar();switch(x){case"\\":case"'":return P.next(),`\\${x}`;case"u":return te(P,x,4);case"U":return te(P,x,6);default:return c(Ae.UNKNOWN_ESCAPE_SEQUENCE,o(),0,x),""}}function te(P,x,$){y(P,x);let Z="";for(let se=0;se<$;se++){const U=B(P);if(!U){c(Ae.INVALID_UNICODE_ESCAPE_SEQUENCE,o(),0,`\\${x}${Z}${P.currentChar()}`);break}Z+=U}return`\\${x}${Z}`}function J(P){_(P);let x="",$="";const Z=se=>se!=="{"&&se!=="}"&&se!==Lr&&se!==Jt;for(;x=L(P,Z);)$+=x;return $}function H(P){let x="",$="";for(;x=R(P);)$+=x;return $}function X(P){const x=($=!1,Z)=>{const se=P.currentChar();return se==="{"||se==="%"||se==="@"||se==="|"||se==="("||se===")"||!se||se===Lr?Z:se===Jt||se===J5?(Z+=se,P.next(),x($,Z)):(Z+=se,P.next(),x(!0,Z))};return x(!1,"")}function ie(P){_(P);const x=y(P,"|");return _(P),x}function oe(P,x){let $=null;switch(P.currentChar()){case"{":return x.braceNest>=1&&c(Ae.NOT_ALLOW_NEST_PLACEHOLDER,o(),0),P.next(),$=f(x,2,"{"),_(P),x.braceNest++,$;case"}":return x.braceNest>0&&x.currentType===2&&c(Ae.EMPTY_PLACEHOLDER,o(),0),P.next(),$=f(x,3,"}"),x.braceNest--,x.braceNest>0&&_(P),x.inLinked&&x.braceNest===0&&(x.inLinked=!1),$;case"@":return x.braceNest>0&&c(Ae.UNTERMINATED_CLOSING_BRACE,o(),0),$=ue(P,x)||p(x),x.braceNest=0,$;default:let se=!0,U=!0,G=!0;if(N(P))return x.braceNest>0&&c(Ae.UNTERMINATED_CLOSING_BRACE,o(),0),$=f(x,1,ie(P)),x.braceNest=0,x.inLinked=!1,$;if(x.braceNest>0&&(x.currentType===5||x.currentType===6||x.currentType===7))return c(Ae.UNTERMINATED_CLOSING_BRACE,o(),0),x.braceNest=0,he(P,x);if(se=b(P,x))return $=f(x,5,j(P)),_(P),$;if(U=h(P,x))return $=f(x,6,I(P)),_(P),$;if(G=E(P,x))return $=f(x,7,F(P)),_(P),$;if(!se&&!U&&!G)return $=f(x,13,J(P)),c(Ae.INVALID_TOKEN_IN_PLACEHOLDER,o(),0,$.value),_(P),$;break}return $}function ue(P,x){const{currentType:$}=x;let Z=null;const se=P.currentChar();switch(($===8||$===9||$===12||$===10)&&(se===Jt||se===Lr)&&c(Ae.INVALID_LINKED_FORMAT,o(),0),se){case"@":return P.next(),Z=f(x,8,"@"),x.inLinked=!0,Z;case".":return _(P),P.next(),f(x,9,".");case":":return _(P),P.next(),f(x,10,":");default:return N(P)?(Z=f(x,1,ie(P)),x.braceNest=0,x.inLinked=!1,Z):k(P,x)||A(P,x)?(_(P),ue(P,x)):T(P,x)?(_(P),f(x,12,H(P))):C(P,x)?(_(P),se==="{"?oe(P,x)||Z:f(x,11,X(P))):($===8&&c(Ae.INVALID_LINKED_FORMAT,o(),0),x.braceNest=0,x.inLinked=!1,he(P,x))}}function he(P,x){let $={type:14};if(x.braceNest>0)return oe(P,x)||p(x);if(x.inLinked)return ue(P,x)||p(x);switch(P.currentChar()){case"{":return oe(P,x)||p(x);case"}":return c(Ae.UNBALANCED_CLOSING_BRACE,o(),0),P.next(),f(x,3,"}");case"@":return ue(P,x)||p(x);default:if(N(P))return $=f(x,1,ie(P)),x.braceNest=0,x.inLinked=!1,$;const{isModulo:se,hasSpace:U}=O(P);if(se)return U?f(x,0,Y(P)):f(x,4,re(P));if(S(P))return f(x,0,Y(P));break}return $}function V(){const{currentType:P,offset:x,startLoc:$,endLoc:Z}=l;return l.lastType=P,l.lastOffset=x,l.lastStartLoc=$,l.lastEndLoc=Z,l.offset=i(),l.startLoc=o(),r.currentChar()===ii?f(l,14):he(r,l)}return{nextToken:V,currentOffset:i,currentPosition:o,context:u}}const eE="parser",tE=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function nE(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 rE(e={}){const t=e.location!==!1,{onError:n}=e;function r(m,g,b,h,...E){const k=m.currentPosition();if(k.offset+=h,k.column+=h,n){const T=t?$d(b,k):null,A=va(g,T,{domain:eE,args:E});n(A)}}function i(m,g,b){const h={type:m};return t&&(h.start=g,h.end=g,h.loc={start:b,end:b}),h}function o(m,g,b,h){h&&(m.type=h),t&&(m.end=g,m.loc&&(m.loc.end=b))}function a(m,g){const b=m.context(),h=i(3,b.offset,b.startLoc);return h.value=g,o(h,m.currentOffset(),m.currentPosition()),h}function s(m,g){const b=m.context(),{lastOffset:h,lastStartLoc:E}=b,k=i(5,h,E);return k.index=parseInt(g,10),m.nextToken(),o(k,m.currentOffset(),m.currentPosition()),k}function l(m,g){const b=m.context(),{lastOffset:h,lastStartLoc:E}=b,k=i(4,h,E);return k.key=g,m.nextToken(),o(k,m.currentOffset(),m.currentPosition()),k}function u(m,g){const b=m.context(),{lastOffset:h,lastStartLoc:E}=b,k=i(9,h,E);return k.value=g.replace(tE,nE),m.nextToken(),o(k,m.currentOffset(),m.currentPosition()),k}function d(m){const g=m.nextToken(),b=m.context(),{lastOffset:h,lastStartLoc:E}=b,k=i(8,h,E);return g.type!==12?(r(m,Ae.UNEXPECTED_EMPTY_LINKED_MODIFIER,b.lastStartLoc,0),k.value="",o(k,h,E),{nextConsumeToken:g,node:k}):(g.value==null&&r(m,Ae.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,ir(g)),k.value=g.value||"",o(k,m.currentOffset(),m.currentPosition()),{node:k})}function c(m,g){const b=m.context(),h=i(7,b.offset,b.startLoc);return h.value=g,o(h,m.currentOffset(),m.currentPosition()),h}function f(m){const g=m.context(),b=i(6,g.offset,g.startLoc);let h=m.nextToken();if(h.type===9){const E=d(m);b.modifier=E.node,h=E.nextConsumeToken||m.nextToken()}switch(h.type!==10&&r(m,Ae.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,ir(h)),h=m.nextToken(),h.type===2&&(h=m.nextToken()),h.type){case 11:h.value==null&&r(m,Ae.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,ir(h)),b.key=c(m,h.value||"");break;case 5:h.value==null&&r(m,Ae.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,ir(h)),b.key=l(m,h.value||"");break;case 6:h.value==null&&r(m,Ae.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,ir(h)),b.key=s(m,h.value||"");break;case 7:h.value==null&&r(m,Ae.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,ir(h)),b.key=u(m,h.value||"");break;default:r(m,Ae.UNEXPECTED_EMPTY_LINKED_KEY,g.lastStartLoc,0);const E=m.context(),k=i(7,E.offset,E.startLoc);return k.value="",o(k,E.offset,E.startLoc),b.key=k,o(b,E.offset,E.startLoc),{nextConsumeToken:h,node:b}}return o(b,m.currentOffset(),m.currentPosition()),{node:b}}function p(m){const g=m.context(),b=g.currentType===1?m.currentOffset():g.offset,h=g.currentType===1?g.endLoc:g.startLoc,E=i(2,b,h);E.items=[];let k=null;do{const C=k||m.nextToken();switch(k=null,C.type){case 0:C.value==null&&r(m,Ae.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,ir(C)),E.items.push(a(m,C.value||""));break;case 6:C.value==null&&r(m,Ae.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,ir(C)),E.items.push(s(m,C.value||""));break;case 5:C.value==null&&r(m,Ae.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,ir(C)),E.items.push(l(m,C.value||""));break;case 7:C.value==null&&r(m,Ae.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,ir(C)),E.items.push(u(m,C.value||""));break;case 8:const N=f(m);E.items.push(N.node),k=N.nextConsumeToken||null;break}}while(g.currentType!==14&&g.currentType!==1);const T=g.currentType===1?g.lastOffset:m.currentOffset(),A=g.currentType===1?g.lastEndLoc:m.currentPosition();return o(E,T,A),E}function y(m,g,b,h){const E=m.context();let k=h.items.length===0;const T=i(1,g,b);T.cases=[],T.cases.push(h);do{const A=p(m);k||(k=A.items.length===0),T.cases.push(A)}while(E.currentType!==14);return k&&r(m,Ae.MUST_HAVE_MESSAGES_IN_PLURAL,b,0),o(T,m.currentOffset(),m.currentPosition()),T}function v(m){const g=m.context(),{offset:b,startLoc:h}=g,E=p(m);return g.currentType===14?E:y(m,b,h,E)}function _(m){const g=Q5(m,xy({},e)),b=g.context(),h=i(0,b.offset,b.startLoc);return t&&h.loc&&(h.loc.source=m),h.body=v(g),e.onCacheKey&&(h.cacheKey=e.onCacheKey(m)),b.currentType!==14&&r(g,Ae.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,m[b.offset]||""),o(h,g.currentOffset(),g.currentPosition()),h}return{parse:_}}function ir(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 iE(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:o=>(n.helpers.add(o),o)}}function e0(e,t){for(let n=0;n<e.length;n++)Q1(e[n],t)}function Q1(e,t){switch(e.type){case 1:e0(e.cases,t),t.helper("plural");break;case 2:e0(e.items,t);break;case 6:Q1(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 oE(e,t={}){const n=iE(e);n.helper("normalize"),e.body&&Q1(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function aE(e){const t=e.body;return t.type===2?t0(t):t.cases.forEach(n=>t0(n)),e}function t0(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=My(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 sE="minifier";function Mo(e){switch(e.t=e.type,e.type){case 0:const t=e;Mo(t.body),t.b=t.body,delete t.body;break;case 1:const n=e,r=n.cases;for(let d=0;d<r.length;d++)Mo(r[d]);n.c=r,delete n.cases;break;case 2:const i=e,o=i.items;for(let d=0;d<o.length;d++)Mo(o[d]);i.i=o,delete i.items,i.static&&(i.s=i.static,delete i.static);break;case 3:case 9:case 8:case 7:const a=e;a.value&&(a.v=a.value,delete a.value);break;case 6:const s=e;Mo(s.key),s.k=s.key,delete s.key,s.modifier&&(Mo(s.modifier),s.m=s.modifier,delete s.modifier);break;case 5:const l=e;l.i=l.index,delete l.index;break;case 4:const u=e;u.k=u.key,delete u.key;break;default:throw va(Ae.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:sE,args:[e.type]})}delete e.type}const lE="parser";function cE(e,t){const{sourceMap:n,filename:r,breakLineCode:i,needIndent:o}=t,a=t.location!==!1,s={filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:i,needIndent:o,indentLevel:0};a&&e.loc&&(s.source=e.loc.source);const l=()=>s;function u(_,m){s.code+=_}function d(_,m=!0){const g=m?i:"";u(o?g+" ".repeat(_):g)}function c(_=!0){const m=++s.indentLevel;_&&d(m)}function f(_=!0){const m=--s.indentLevel;_&&d(m)}function p(){d(s.indentLevel)}return{context:l,push:u,indent:c,deindent:f,newline:p,helper:_=>`_${_}`,needIndent:()=>s.needIndent}}function uE(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),ia(e,t.key),t.modifier?(e.push(", "),ia(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function fE(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const i=t.items.length;for(let o=0;o<i&&(ia(e,t.items[o]),o!==i-1);o++)e.push(", ");e.deindent(r()),e.push("])")}function dE(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 o=0;o<i&&(ia(e,t.cases[o]),o!==i-1);o++)e.push(", ");e.deindent(r()),e.push("])")}}function hE(e,t){t.body?ia(e,t.body):e.push("null")}function ia(e,t){const{helper:n}=e;switch(t.type){case 0:hE(e,t);break;case 1:dE(e,t);break;case 2:fE(e,t);break;case 6:uE(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 va(Ae.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:lE,args:[t.type]})}}const pE=(e,t={})=>{const n=Zm(t.mode)?t.mode:"normal",r=Zm(t.filename)?t.filename:"message.intl",i=!!t.sourceMap,o=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
|
|
21
21
|
`,a=t.needIndent?t.needIndent:n!=="arrow",s=e.helpers||[],l=cE(e,{mode:n,filename:r,sourceMap:i,breakLineCode:o,needIndent:a});l.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(a),s.length>0&&(l.push(`const { ${My(s.map(c=>`${c}: _${c}`),", ")} } = ctx`),l.newline()),l.push("return "),ia(l,e),l.deindent(a),l.push("}"),delete e.helpers;const{code:u,map:d}=l.context();return{ast:e,code:u,map:d?d.toJSON():void 0}};function mE(e,t={}){const n=xy({},t),r=!!n.jit,i=!!n.minify,o=n.optimize==null?!0:n.optimize,s=rE(n).parse(e);return r?(o&&aE(s),i&&Mo(s),{ast:s,code:""}):(oE(s,n),pE(s,n))}/*!
|
|
22
22
|
* core-base v9.8.0
|
|
23
23
|
* (c) 2023 kazuya kawaguchi
|
|
@@ -26,18 +26,18 @@
|
|
|
26
26
|
* vue-i18n v9.8.0
|
|
27
27
|
* (c) 2023 kazuya kawaguchi
|
|
28
28
|
* Released under the MIT License.
|
|
29
|
-
*/const r7="9.8.0",Wy=DE.__EXTEND_POINT__,oi=Z1(Wy);oi(),oi(),oi(),oi(),oi(),oi(),oi(),oi();const Gy=ur.__EXTEND_POINT__,nn=Z1(Gy),jn={UNEXPECTED_RETURN_TYPE:Gy,INVALID_ARGUMENT:nn(),MUST_BE_CALL_SETUP_TOP:nn(),NOT_INSTALLED:nn(),NOT_AVAILABLE_IN_LEGACY_MODE:nn(),REQUIRED_VALUE:nn(),INVALID_VALUE:nn(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:nn(),NOT_INSTALLED_WITH_PROVIDE:nn(),UNEXPECTED_ERROR:nn(),NOT_COMPATIBLE_LEGACY_VUE_I18N:nn(),BRIDGE_SUPPORT_VUE_2_ONLY:nn(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:nn(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:nn(),__EXTEND_POINT__:nn()};function Yn(e,...t){return va(e,null,void 0)}const Gd=Mi("__translateVNode"),Yd=Mi("__datetimeParts"),Xd=Mi("__numberParts"),i7=Mi("__setPluralRules"),o7=Mi("__injectWithOption"),Jd=Mi("__dispose");function Es(e){if(!qe(e))return e;for(const t in e)if(bs(e,t))if(!t.includes("."))qe(e[t])&&Es(e[t]);else{const n=t.split("."),r=n.length-1;let i=e,o=!1;for(let a=0;a<r;a++){if(n[a]in i||(i[n[a]]={}),!qe(i[n[a]])){o=!0;break}i=i[n[a]]}o||(i[n[r]]=e[t],delete e[t]),qe(i[n[r]])&&Es(i[n[r]])}return e}function Yy(e,t){const{messages:n,__i18n:r,messageResolver:i,flatJson:o}=t,a=Fe(n)?n:_t(r)?{}:{[e]:{}};if(_t(r)&&r.forEach(s=>{if("locale"in s&&"resource"in s){const{locale:l,resource:u}=s;l?(a[l]=a[l]||{},Ya(u,a[l])):Ya(u,a)}else be(s)&&Ya(JSON.parse(s),a)}),i==null&&o)for(const s in a)bs(a,s)&&Es(a[s]);return a}function Xy(e){return e.type}function a7(e,t,n){let r=qe(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=Yy(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const i=Object.keys(r);i.length&&i.forEach(o=>{e.mergeLocaleMessage(o,r[o])});{if(qe(t.datetimeFormats)){const o=Object.keys(t.datetimeFormats);o.length&&o.forEach(a=>{e.mergeDateTimeFormat(a,t.datetimeFormats[a])})}if(qe(t.numberFormats)){const o=Object.keys(t.numberFormats);o.length&&o.forEach(a=>{e.mergeNumberFormat(a,t.numberFormats[a])})}}}function v0(e){return Ve(vr,null,e,0)}const y0="__INTLIFY_META__",b0=()=>[],s7=()=>!1;let _0=0;function E0(e){return(t,n,r,i)=>e(n,r,Qt()||void 0,i)}const l7=()=>{const e=Qt();let t=null;return e&&(t=Xy(e)[y0])?{[y0]:t}:null};function Jy(e={},t){const{__root:n,__injectWithOption:r}=e,i=n===void 0,o=e.flatJson;let a=rt(e.inheritLocale)?e.inheritLocale:!0;const s=Te(n&&a?n.locale.value:be(e.locale)?e.locale:Nc),l=Te(n&&a?n.fallbackLocale.value:be(e.fallbackLocale)||_t(e.fallbackLocale)||Fe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s.value),u=Te(Yy(s.value,e)),d=Te(Fe(e.datetimeFormats)?e.datetimeFormats:{[s.value]:{}}),c=Te(Fe(e.numberFormats)?e.numberFormats:{[s.value]:{}});let f=n?n.missingWarn:rt(e.missingWarn)||Sc(e.missingWarn)?e.missingWarn:!0,p=n?n.fallbackWarn:rt(e.fallbackWarn)||Sc(e.fallbackWarn)?e.fallbackWarn:!0,y=n?n.fallbackRoot:rt(e.fallbackRoot)?e.fallbackRoot:!0,v=!!e.fallbackFormat,_=at(e.missing)?e.missing:null,m=at(e.missing)?E0(e.missing):null,g=at(e.postTranslation)?e.postTranslation:null,b=n?n.warnHtmlMessage:rt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,h=!!e.escapeParameter;const E=n?n.modifiers:Fe(e.modifiers)?e.modifiers:{};let k=e.pluralRules||n&&n.pluralRules,T;T=(()=>{i&&l0(null);const W={version:r7,locale:s.value,fallbackLocale:l.value,messages:u.value,modifiers:E,pluralRules:k,missing:m===null?void 0:m,missingWarn:f,fallbackWarn:p,fallbackFormat:v,unresolving:!0,postTranslation:g===null?void 0:g,warnHtmlMessage:b,escapeParameter:h,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};W.datetimeFormats=d.value,W.numberFormats=c.value,W.__datetimeFormatters=Fe(T)?T.__datetimeFormatters:void 0,W.__numberFormatters=Fe(T)?T.__numberFormatters:void 0;const te=GE(W);return i&&l0(te),te})(),Ra(T,s.value,l.value);function C(){return[s.value,l.value,u.value,d.value,c.value]}const N=de({get:()=>s.value,set:W=>{s.value=W,T.locale=s.value}}),O=de({get:()=>l.value,set:W=>{l.value=W,T.fallbackLocale=l.value,Ra(T,s.value,W)}}),S=de(()=>u.value),L=de(()=>d.value),R=de(()=>c.value);function D(){return at(g)?g:null}function B(W){g=W,T.postTranslation=W}function K(){return _}function re(W){W!==null&&(m=E0(W)),_=W,T.missing=m}const Y=(W,te,pe,ve,ge,xe)=>{C();let Oe;try{i||(T.fallbackContext=n?WE():void 0),Oe=W(T)}finally{i||(T.fallbackContext=void 0)}if(pe!=="translate exists"&&Ct(Oe)&&Oe===Ju||pe==="translate exists"&&!Oe){const[Ze,Jn]=te();return n&&y?ve(n):ge(Ze)}else{if(xe(Oe))return Oe;throw Yn(jn.UNEXPECTED_RETURN_TYPE)}};function j(...W){return Y(te=>Reflect.apply(d0,null,[te,...W]),()=>qd(...W),"translate",te=>Reflect.apply(te.t,te,[...W]),te=>te,te=>be(te))}function I(...W){const[te,pe,ve]=W;if(ve&&!qe(ve))throw Yn(jn.INVALID_ARGUMENT);return j(te,pe,Wt({resolvedMessage:!0},ve||{}))}function F(...W){return Y(te=>Reflect.apply(h0,null,[te,...W]),()=>Kd(...W),"datetime format",te=>Reflect.apply(te.d,te,[...W]),()=>a0,te=>be(te))}function z(...W){return Y(te=>Reflect.apply(m0,null,[te,...W]),()=>Wd(...W),"number format",te=>Reflect.apply(te.n,te,[...W]),()=>a0,te=>be(te))}function ee(W){return W.map(te=>be(te)||Ct(te)||rt(te)?v0(String(te)):te)}const H={normalize:ee,interpolate:W=>W,type:"vnode"};function X(...W){return Y(te=>{let pe;const ve=te;try{ve.processor=H,pe=Reflect.apply(d0,null,[ve,...W])}finally{ve.processor=null}return pe},()=>qd(...W),"translate",te=>te[Gd](...W),te=>[v0(te)],te=>_t(te))}function ie(...W){return Y(te=>Reflect.apply(m0,null,[te,...W]),()=>Wd(...W),"number format",te=>te[Xd](...W),b0,te=>be(te)||_t(te))}function oe(...W){return Y(te=>Reflect.apply(h0,null,[te,...W]),()=>Kd(...W),"datetime format",te=>te[Yd](...W),b0,te=>be(te)||_t(te))}function ue(W){k=W,T.pluralRules=k}function he(W,te){return Y(()=>{if(!W)return!1;const pe=be(te)?te:s.value,ve=x(pe),ge=T.messageResolver(ve,W);return oa(ge)||Cn(ge)||be(ge)},()=>[W],"translate exists",pe=>Reflect.apply(pe.te,pe,[W,te]),s7,pe=>rt(pe))}function V(W){let te=null;const pe=Hy(T,l.value,s.value);for(let ve=0;ve<pe.length;ve++){const ge=u.value[pe[ve]]||{},xe=T.messageResolver(ge,W);if(xe!=null){te=xe;break}}return te}function P(W){const te=V(W);return te??(n?n.tm(W)||{}:{})}function x(W){return u.value[W]||{}}function $(W,te){if(o){const pe={[W]:te};for(const ve in pe)bs(pe,ve)&&Es(pe[ve]);te=pe[W]}u.value[W]=te,T.messages=u.value}function Z(W,te){u.value[W]=u.value[W]||{};const pe={[W]:te};for(const ve in pe)bs(pe,ve)&&Es(pe[ve]);te=pe[W],Ya(te,u.value[W]),T.messages=u.value}function se(W){return d.value[W]||{}}function U(W,te){d.value[W]=te,T.datetimeFormats=d.value,p0(T,W,te)}function q(W,te){d.value[W]=Wt(d.value[W]||{},te),T.datetimeFormats=d.value,p0(T,W,te)}function Q(W){return c.value[W]||{}}function ne(W,te){c.value[W]=te,T.numberFormats=c.value,g0(T,W,te)}function ae(W,te){c.value[W]=Wt(c.value[W]||{},te),T.numberFormats=c.value,g0(T,W,te)}_0++,n&&zd&&(ht(n.locale,W=>{a&&(s.value=W,T.locale=W,Ra(T,s.value,l.value))}),ht(n.fallbackLocale,W=>{a&&(l.value=W,T.fallbackLocale=W,Ra(T,s.value,l.value))}));const ce={id:_0,locale:N,fallbackLocale:O,get inheritLocale(){return a},set inheritLocale(W){a=W,W&&n&&(s.value=n.locale.value,l.value=n.fallbackLocale.value,Ra(T,s.value,l.value))},get availableLocales(){return Object.keys(u.value).sort()},messages:S,get modifiers(){return E},get pluralRules(){return k||{}},get isGlobal(){return i},get missingWarn(){return f},set missingWarn(W){f=W,T.missingWarn=f},get fallbackWarn(){return p},set fallbackWarn(W){p=W,T.fallbackWarn=p},get fallbackRoot(){return y},set fallbackRoot(W){y=W},get fallbackFormat(){return v},set fallbackFormat(W){v=W,T.fallbackFormat=v},get warnHtmlMessage(){return b},set warnHtmlMessage(W){b=W,T.warnHtmlMessage=W},get escapeParameter(){return h},set escapeParameter(W){h=W,T.escapeParameter=W},t:j,getLocaleMessage:x,setLocaleMessage:$,mergeLocaleMessage:Z,getPostTranslationHandler:D,setPostTranslationHandler:B,getMissingHandler:K,setMissingHandler:re,[i7]:ue};return ce.datetimeFormats=L,ce.numberFormats=R,ce.rt=I,ce.te=he,ce.tm=P,ce.d=F,ce.n=z,ce.getDateTimeFormat=se,ce.setDateTimeFormat=U,ce.mergeDateTimeFormat=q,ce.getNumberFormat=Q,ce.setNumberFormat=ne,ce.mergeNumberFormat=ae,ce[o7]=r,ce[Gd]=X,ce[Yd]=oe,ce[Xd]=ie,ce}const np={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function c7({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 Zy(e){return tt}const u7=wt({name:"i18n-t",props:Wt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Ct(e)||!isNaN(e)}},np),setup(e,t){const{slots:n,attrs:r}=t,i=e.i18n||Zu({useScope:e.scope,__useComponent:!0});return()=>{const o=Object.keys(n).filter(c=>c!=="_"),a={};e.locale&&(a.locale=e.locale),e.plural!==void 0&&(a.plural=be(e.plural)?+e.plural:e.plural);const s=c7(t,o),l=i[Gd](e.keypath,s,a),u=Wt({},r),d=be(e.tag)||qe(e.tag)?e.tag:Zy();return Ri(d,u,l)}}}),Zd=u7;function f7(e){return _t(e)&&!be(e[0])}function Qy(e,t,n,r){const{slots:i,attrs:o}=t;return()=>{const a={part:!0};let s={};e.locale&&(a.locale=e.locale),be(e.format)?a.key=e.format:qe(e.format)&&(be(e.format.key)&&(a.key=e.format.key),s=Object.keys(e.format).reduce((f,p)=>n.includes(p)?Wt({},f,{[p]:e.format[p]}):f,{}));const l=r(e.value,a,s);let u=[a.key];_t(l)?u=l.map((f,p)=>{const y=i[f.type],v=y?y({[f.type]:f.value,index:p,parts:l}):[f.value];return f7(v)&&(v[0].key=`${f.type}-${p}`),v}):be(l)&&(u=[l]);const d=Wt({},o),c=be(e.tag)||qe(e.tag)?e.tag:Zy();return Ri(c,d,u)}}const d7=wt({name:"i18n-n",props:Wt({value:{type:Number,required:!0},format:{type:[String,Object]}},np),setup(e,t){const n=e.i18n||Zu({useScope:"parent",__useComponent:!0});return Qy(e,t,Ky,(...r)=>n[Xd](...r))}}),O0=d7,h7=wt({name:"i18n-d",props:Wt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},np),setup(e,t){const n=e.i18n||Zu({useScope:"parent",__useComponent:!0});return Qy(e,t,qy,(...r)=>n[Yd](...r))}}),T0=h7;function p7(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 m7(e){const t=a=>{const{instance:s,modifiers:l,value:u}=a;if(!s||!s.$)throw Yn(jn.UNEXPECTED_ERROR);const d=p7(e,s.$),c=w0(u);return[Reflect.apply(d.t,d,[...A0(c)]),d]};return{created:(a,s)=>{const[l,u]=t(s);zd&&e.global===u&&(a.__i18nWatcher=ht(u.locale,()=>{s.instance&&s.instance.$forceUpdate()})),a.__composer=u,a.textContent=l},unmounted:a=>{zd&&a.__i18nWatcher&&(a.__i18nWatcher(),a.__i18nWatcher=void 0,delete a.__i18nWatcher),a.__composer&&(a.__composer=void 0,delete a.__composer)},beforeUpdate:(a,{value:s})=>{if(a.__composer){const l=a.__composer,u=w0(s);a.textContent=Reflect.apply(l.t,l,[...A0(u)])}},getSSRProps:a=>{const[s]=t(a);return{textContent:s}}}}function w0(e){if(be(e))return{path:e};if(Fe(e)){if(!("path"in e))throw Yn(jn.REQUIRED_VALUE,"path");return e}else throw Yn(jn.INVALID_VALUE)}function A0(e){const{path:t,locale:n,args:r,choice:i,plural:o}=e,a={},s=r||{};return be(n)&&(a.locale=n),Ct(i)&&(a.plural=i),Ct(o)&&(a.plural=o),[t,s,a]}function g7(e,t,...n){const r=Fe(n[0])?n[0]:{},i=!!r.useI18nComponentName;(rt(r.globalInstall)?r.globalInstall:!0)&&([i?"i18n":Zd.name,"I18nT"].forEach(a=>e.component(a,Zd)),[O0.name,"I18nN"].forEach(a=>e.component(a,O0)),[T0.name,"I18nD"].forEach(a=>e.component(a,T0))),e.directive("t",m7(t))}const v7=Mi("global-vue-i18n");function y7(e={},t){const n=rt(e.globalInjection)?e.globalInjection:!0,r=!0,i=new Map,[o,a]=b7(e),s=Mi("");function l(c){return i.get(c)||null}function u(c,f){i.set(c,f)}function d(c){i.delete(c)}{const c={get mode(){return"composition"},get allowComposition(){return r},async install(f,...p){if(f.__VUE_I18N_SYMBOL__=s,f.provide(f.__VUE_I18N_SYMBOL__,c),Fe(p[0])){const _=p[0];c.__composerExtend=_.__composerExtend,c.__vueI18nExtend=_.__vueI18nExtend}let y=null;n&&(y=N7(f,c.global)),g7(f,c,...p);const v=f.unmount;f.unmount=()=>{y&&y(),c.dispose(),v()}},get global(){return a},dispose(){o.stop()},__instances:i,__getInstance:l,__setInstance:u,__deleteInstance:d};return c}}function Zu(e={}){const t=Qt();if(t==null)throw Yn(jn.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Yn(jn.NOT_INSTALLED);const n=_7(t),r=O7(n),i=Xy(t),o=E7(e,i);if(o==="global")return a7(r,e,i),r;if(o==="parent"){let l=T7(n,t,e.__useComponent);return l==null&&(l=r),l}const a=n;let s=a.__getInstance(t);if(s==null){const l=Wt({},e);"__i18n"in i&&(l.__i18n=i.__i18n),r&&(l.__root=r),s=Jy(l),a.__composerExtend&&(s[Jd]=a.__composerExtend(s)),A7(a,t,s),a.__setInstance(t,s)}return s}function b7(e,t,n){const r=Rs();{const i=r.run(()=>Jy(e));if(i==null)throw Yn(jn.UNEXPECTED_ERROR);return[r,i]}}function _7(e){{const t=Vr(e.isCE?v7:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Yn(e.isCE?jn.NOT_INSTALLED_WITH_PROVIDE:jn.UNEXPECTED_ERROR);return t}}function E7(e,t){return Xu(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function O7(e){return e.mode==="composition"?e.global:e.global.__composer}function T7(e,t,n=!1){let r=null;const i=t.root;let o=w7(t,n);for(;o!=null;){const a=e;if(e.mode==="composition"&&(r=a.__getInstance(o)),r!=null||i===o)break;o=o.parent}return r}function w7(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function A7(e,t,n){Fn(()=>{},t),_o(()=>{const r=n;e.__deleteInstance(t);const i=r[Jd];i&&(i(),delete r[Jd])},t)}const S7=["locale","fallbackLocale","availableLocales"],S0=["t","rt","d","n","tm","te"];function N7(e,t){const n=Object.create(null);return S7.forEach(i=>{const o=Object.getOwnPropertyDescriptor(t,i);if(!o)throw Yn(jn.UNEXPECTED_ERROR);const a=Ge(o.value)?{get(){return o.value.value},set(s){o.value.value=s}}:{get(){return o.get&&o.get()}};Object.defineProperty(n,i,a)}),e.config.globalProperties.$i18n=n,S0.forEach(i=>{const o=Object.getOwnPropertyDescriptor(t,i);if(!o||!o.value)throw Yn(jn.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${i}`,o)}),()=>{delete e.config.globalProperties.$i18n,S0.forEach(i=>{delete e.config.globalProperties[`$${i}`]})}}zE(ZE);$E(TE);UE(Hy);{const e=M5();e.__INTLIFY__=!0,IE(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const Hi=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n};function e4(e,t){return function(){return e.apply(t,arguments)}}const{toString:k7}=Object.prototype,{getPrototypeOf:rp}=Object,Qu=(e=>t=>{const n=k7.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),yr=e=>(e=e.toLowerCase(),t=>Qu(t)===e),ef=e=>t=>typeof t===e,{isArray:ya}=Array,Os=ef("undefined");function C7(e){return e!==null&&!Os(e)&&e.constructor!==null&&!Os(e.constructor)&&xn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const t4=yr("ArrayBuffer");function L7(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&t4(e.buffer),t}const P7=ef("string"),xn=ef("function"),n4=ef("number"),tf=e=>e!==null&&typeof e=="object",I7=e=>e===!0||e===!1,Zl=e=>{if(Qu(e)!=="object")return!1;const t=rp(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},R7=yr("Date"),x7=yr("File"),M7=yr("Blob"),D7=yr("FileList"),H7=e=>tf(e)&&xn(e.pipe),j7=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||xn(e.append)&&((t=Qu(e))==="formdata"||t==="object"&&xn(e.toString)&&e.toString()==="[object FormData]"))},F7=yr("URLSearchParams"),V7=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Gs(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),ya(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),a=o.length;let s;for(r=0;r<a;r++)s=o[r],t.call(null,e[s],s,e)}}function r4(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 i4=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),o4=e=>!Os(e)&&e!==i4;function Qd(){const{caseless:e}=o4(this)&&this||{},t={},n=(r,i)=>{const o=e&&r4(t,i)||i;Zl(t[o])&&Zl(r)?t[o]=Qd(t[o],r):Zl(r)?t[o]=Qd({},r):ya(r)?t[o]=r.slice():t[o]=r};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&Gs(arguments[r],n);return t}const B7=(e,t,n,{allOwnKeys:r}={})=>(Gs(t,(i,o)=>{n&&xn(i)?e[o]=e4(i,n):e[o]=i},{allOwnKeys:r}),e),z7=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),$7=(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)},U7=(e,t,n,r)=>{let i,o,a;const s={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),o=i.length;o-- >0;)a=i[o],(!r||r(a,e,t))&&!s[a]&&(t[a]=e[a],s[a]=!0);e=n!==!1&&rp(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},q7=(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},K7=e=>{if(!e)return null;if(ya(e))return e;let t=e.length;if(!n4(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},W7=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&rp(Uint8Array)),G7=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const o=i.value;t.call(e,o[0],o[1])}},Y7=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},X7=yr("HTMLFormElement"),J7=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),N0=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Z7=yr("RegExp"),a4=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Gs(n,(i,o)=>{let a;(a=t(i,o,e))!==!1&&(r[o]=a||i)}),Object.defineProperties(e,r)},Q7=e=>{a4(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+"'")})}})},eO=(e,t)=>{const n={},r=i=>{i.forEach(o=>{n[o]=!0})};return ya(e)?r(e):r(String(e).split(t)),n},tO=()=>{},nO=(e,t)=>(e=+e,Number.isFinite(e)?e:t),Kf="abcdefghijklmnopqrstuvwxyz",k0="0123456789",s4={DIGIT:k0,ALPHA:Kf,ALPHA_DIGIT:Kf+Kf.toUpperCase()+k0},rO=(e=16,t=s4.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function iO(e){return!!(e&&xn(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const oO=e=>{const t=new Array(10),n=(r,i)=>{if(tf(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const o=ya(r)?[]:{};return Gs(r,(a,s)=>{const l=n(a,i+1);!Os(l)&&(o[s]=l)}),t[i]=void 0,o}}return r};return n(e,0)},aO=yr("AsyncFunction"),sO=e=>e&&(tf(e)||xn(e))&&xn(e.then)&&xn(e.catch),fe={isArray:ya,isArrayBuffer:t4,isBuffer:C7,isFormData:j7,isArrayBufferView:L7,isString:P7,isNumber:n4,isBoolean:I7,isObject:tf,isPlainObject:Zl,isUndefined:Os,isDate:R7,isFile:x7,isBlob:M7,isRegExp:Z7,isFunction:xn,isStream:H7,isURLSearchParams:F7,isTypedArray:W7,isFileList:D7,forEach:Gs,merge:Qd,extend:B7,trim:V7,stripBOM:z7,inherits:$7,toFlatObject:U7,kindOf:Qu,kindOfTest:yr,endsWith:q7,toArray:K7,forEachEntry:G7,matchAll:Y7,isHTMLForm:X7,hasOwnProperty:N0,hasOwnProp:N0,reduceDescriptors:a4,freezeMethods:Q7,toObjectSet:eO,toCamelCase:J7,noop:tO,toFiniteNumber:nO,findKey:r4,global:i4,isContextDefined:o4,ALPHABET:s4,generateString:rO,isSpecCompliantForm:iO,toJSONObject:oO,isAsyncFn:aO,isThenable:sO};function He(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)}fe.inherits(He,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:fe.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const l4=He.prototype,c4={};["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=>{c4[e]={value:e}});Object.defineProperties(He,c4);Object.defineProperty(l4,"isAxiosError",{value:!0});He.from=(e,t,n,r,i,o)=>{const a=Object.create(l4);return fe.toFlatObject(e,a,function(l){return l!==Error.prototype},s=>s!=="isAxiosError"),He.call(a,e.message,t,n,r,i),a.cause=e,a.name=e.name,o&&Object.assign(a,o),a};const lO=null;function eh(e){return fe.isPlainObject(e)||fe.isArray(e)}function u4(e){return fe.endsWith(e,"[]")?e.slice(0,-2):e}function C0(e,t,n){return e?e.concat(t).map(function(i,o){return i=u4(i),!n&&o?"["+i+"]":i}).join(n?".":""):t}function cO(e){return fe.isArray(e)&&!e.some(eh)}const uO=fe.toFlatObject(fe,{},null,function(t){return/^is[A-Z]/.test(t)});function nf(e,t,n){if(!fe.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=fe.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(v,_){return!fe.isUndefined(_[v])});const r=n.metaTokens,i=n.visitor||d,o=n.dots,a=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&fe.isSpecCompliantForm(t);if(!fe.isFunction(i))throw new TypeError("visitor must be a function");function u(y){if(y===null)return"";if(fe.isDate(y))return y.toISOString();if(!l&&fe.isBlob(y))throw new He("Blob is not supported. Use a Buffer instead.");return fe.isArrayBuffer(y)||fe.isTypedArray(y)?l&&typeof Blob=="function"?new Blob([y]):Buffer.from(y):y}function d(y,v,_){let m=y;if(y&&!_&&typeof y=="object"){if(fe.endsWith(v,"{}"))v=r?v:v.slice(0,-2),y=JSON.stringify(y);else if(fe.isArray(y)&&cO(y)||(fe.isFileList(y)||fe.endsWith(v,"[]"))&&(m=fe.toArray(y)))return v=u4(v),m.forEach(function(b,h){!(fe.isUndefined(b)||b===null)&&t.append(a===!0?C0([v],h,o):a===null?v:v+"[]",u(b))}),!1}return eh(y)?!0:(t.append(C0(_,v,o),u(y)),!1)}const c=[],f=Object.assign(uO,{defaultVisitor:d,convertValue:u,isVisitable:eh});function p(y,v){if(!fe.isUndefined(y)){if(c.indexOf(y)!==-1)throw Error("Circular reference detected in "+v.join("."));c.push(y),fe.forEach(y,function(m,g){(!(fe.isUndefined(m)||m===null)&&i.call(t,m,fe.isString(g)?g.trim():g,v,f))===!0&&p(m,v?v.concat(g):[g])}),c.pop()}}if(!fe.isObject(e))throw new TypeError("data must be an object");return p(e),t}function L0(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function ip(e,t){this._pairs=[],e&&nf(e,this,t)}const f4=ip.prototype;f4.append=function(t,n){this._pairs.push([t,n])};f4.toString=function(t){const n=t?function(r){return t.call(this,r,L0)}:L0;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function fO(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function d4(e,t,n){if(!t)return e;const r=n&&n.encode||fO,i=n&&n.serialize;let o;if(i?o=i(t,n):o=fe.isURLSearchParams(t)?t.toString():new ip(t,n).toString(r),o){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class dO{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){fe.forEach(this.handlers,function(r){r!==null&&t(r)})}}const P0=dO,h4={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},hO=typeof URLSearchParams<"u"?URLSearchParams:ip,pO=typeof FormData<"u"?FormData:null,mO=typeof Blob<"u"?Blob:null,gO={isBrowser:!0,classes:{URLSearchParams:hO,FormData:pO,Blob:mO},protocols:["http","https","file","blob","url","data"]},p4=typeof window<"u"&&typeof document<"u",vO=(e=>p4&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),yO=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),bO=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:p4,hasStandardBrowserEnv:vO,hasStandardBrowserWebWorkerEnv:yO},Symbol.toStringTag,{value:"Module"})),fr={...bO,...gO};function _O(e,t){return nf(e,new fr.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,o){return fr.isNode&&fe.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function EO(e){return fe.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function OO(e){const t={},n=Object.keys(e);let r;const i=n.length;let o;for(r=0;r<i;r++)o=n[r],t[o]=e[o];return t}function m4(e){function t(n,r,i,o){let a=n[o++];const s=Number.isFinite(+a),l=o>=n.length;return a=!a&&fe.isArray(i)?i.length:a,l?(fe.hasOwnProp(i,a)?i[a]=[i[a],r]:i[a]=r,!s):((!i[a]||!fe.isObject(i[a]))&&(i[a]=[]),t(n,r,i[a],o)&&fe.isArray(i[a])&&(i[a]=OO(i[a])),!s)}if(fe.isFormData(e)&&fe.isFunction(e.entries)){const n={};return fe.forEachEntry(e,(r,i)=>{t(EO(r),i,n,0)}),n}return null}function TO(e,t,n){if(fe.isString(e))try{return(t||JSON.parse)(e),fe.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const op={transitional:h4,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,o=fe.isObject(t);if(o&&fe.isHTMLForm(t)&&(t=new FormData(t)),fe.isFormData(t))return i&&i?JSON.stringify(m4(t)):t;if(fe.isArrayBuffer(t)||fe.isBuffer(t)||fe.isStream(t)||fe.isFile(t)||fe.isBlob(t))return t;if(fe.isArrayBufferView(t))return t.buffer;if(fe.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return _O(t,this.formSerializer).toString();if((s=fe.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return nf(s?{"files[]":t}:t,l&&new l,this.formSerializer)}}return o||i?(n.setContentType("application/json",!1),TO(t)):t}],transformResponse:[function(t){const n=this.transitional||op.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(t&&fe.isString(t)&&(r&&!this.responseType||i)){const a=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(s){if(a)throw s.name==="SyntaxError"?He.from(s,He.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:fr.classes.FormData,Blob:fr.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};fe.forEach(["delete","get","head","post","put","patch"],e=>{op.headers[e]={}});const ap=op,wO=fe.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"]),AO=e=>{const t={};let n,r,i;return e&&e.split(`
|
|
29
|
+
*/const r7="9.8.0",Wy=DE.__EXTEND_POINT__,oi=Z1(Wy);oi(),oi(),oi(),oi(),oi(),oi(),oi(),oi();const Gy=ur.__EXTEND_POINT__,nn=Z1(Gy),jn={UNEXPECTED_RETURN_TYPE:Gy,INVALID_ARGUMENT:nn(),MUST_BE_CALL_SETUP_TOP:nn(),NOT_INSTALLED:nn(),NOT_AVAILABLE_IN_LEGACY_MODE:nn(),REQUIRED_VALUE:nn(),INVALID_VALUE:nn(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:nn(),NOT_INSTALLED_WITH_PROVIDE:nn(),UNEXPECTED_ERROR:nn(),NOT_COMPATIBLE_LEGACY_VUE_I18N:nn(),BRIDGE_SUPPORT_VUE_2_ONLY:nn(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:nn(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:nn(),__EXTEND_POINT__:nn()};function Yn(e,...t){return va(e,null,void 0)}const Gd=Mi("__translateVNode"),Yd=Mi("__datetimeParts"),Xd=Mi("__numberParts"),i7=Mi("__setPluralRules"),o7=Mi("__injectWithOption"),Jd=Mi("__dispose");function Es(e){if(!qe(e))return e;for(const t in e)if(bs(e,t))if(!t.includes("."))qe(e[t])&&Es(e[t]);else{const n=t.split("."),r=n.length-1;let i=e,o=!1;for(let a=0;a<r;a++){if(n[a]in i||(i[n[a]]={}),!qe(i[n[a]])){o=!0;break}i=i[n[a]]}o||(i[n[r]]=e[t],delete e[t]),qe(i[n[r]])&&Es(i[n[r]])}return e}function Yy(e,t){const{messages:n,__i18n:r,messageResolver:i,flatJson:o}=t,a=Fe(n)?n:_t(r)?{}:{[e]:{}};if(_t(r)&&r.forEach(s=>{if("locale"in s&&"resource"in s){const{locale:l,resource:u}=s;l?(a[l]=a[l]||{},Ya(u,a[l])):Ya(u,a)}else be(s)&&Ya(JSON.parse(s),a)}),i==null&&o)for(const s in a)bs(a,s)&&Es(a[s]);return a}function Xy(e){return e.type}function a7(e,t,n){let r=qe(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=Yy(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const i=Object.keys(r);i.length&&i.forEach(o=>{e.mergeLocaleMessage(o,r[o])});{if(qe(t.datetimeFormats)){const o=Object.keys(t.datetimeFormats);o.length&&o.forEach(a=>{e.mergeDateTimeFormat(a,t.datetimeFormats[a])})}if(qe(t.numberFormats)){const o=Object.keys(t.numberFormats);o.length&&o.forEach(a=>{e.mergeNumberFormat(a,t.numberFormats[a])})}}}function v0(e){return Ve(vr,null,e,0)}const y0="__INTLIFY_META__",b0=()=>[],s7=()=>!1;let _0=0;function E0(e){return(t,n,r,i)=>e(n,r,Qt()||void 0,i)}const l7=()=>{const e=Qt();let t=null;return e&&(t=Xy(e)[y0])?{[y0]:t}:null};function Jy(e={},t){const{__root:n,__injectWithOption:r}=e,i=n===void 0,o=e.flatJson;let a=rt(e.inheritLocale)?e.inheritLocale:!0;const s=Te(n&&a?n.locale.value:be(e.locale)?e.locale:Nc),l=Te(n&&a?n.fallbackLocale.value:be(e.fallbackLocale)||_t(e.fallbackLocale)||Fe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s.value),u=Te(Yy(s.value,e)),d=Te(Fe(e.datetimeFormats)?e.datetimeFormats:{[s.value]:{}}),c=Te(Fe(e.numberFormats)?e.numberFormats:{[s.value]:{}});let f=n?n.missingWarn:rt(e.missingWarn)||Sc(e.missingWarn)?e.missingWarn:!0,p=n?n.fallbackWarn:rt(e.fallbackWarn)||Sc(e.fallbackWarn)?e.fallbackWarn:!0,y=n?n.fallbackRoot:rt(e.fallbackRoot)?e.fallbackRoot:!0,v=!!e.fallbackFormat,_=at(e.missing)?e.missing:null,m=at(e.missing)?E0(e.missing):null,g=at(e.postTranslation)?e.postTranslation:null,b=n?n.warnHtmlMessage:rt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,h=!!e.escapeParameter;const E=n?n.modifiers:Fe(e.modifiers)?e.modifiers:{};let k=e.pluralRules||n&&n.pluralRules,T;T=(()=>{i&&l0(null);const K={version:r7,locale:s.value,fallbackLocale:l.value,messages:u.value,modifiers:E,pluralRules:k,missing:m===null?void 0:m,missingWarn:f,fallbackWarn:p,fallbackFormat:v,unresolving:!0,postTranslation:g===null?void 0:g,warnHtmlMessage:b,escapeParameter:h,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};K.datetimeFormats=d.value,K.numberFormats=c.value,K.__datetimeFormatters=Fe(T)?T.__datetimeFormatters:void 0,K.__numberFormatters=Fe(T)?T.__numberFormatters:void 0;const ne=GE(K);return i&&l0(ne),ne})(),Ra(T,s.value,l.value);function C(){return[s.value,l.value,u.value,d.value,c.value]}const N=de({get:()=>s.value,set:K=>{s.value=K,T.locale=s.value}}),O=de({get:()=>l.value,set:K=>{l.value=K,T.fallbackLocale=l.value,Ra(T,s.value,K)}}),S=de(()=>u.value),L=de(()=>d.value),R=de(()=>c.value);function D(){return at(g)?g:null}function B(K){g=K,T.postTranslation=K}function q(){return _}function re(K){K!==null&&(m=E0(K)),_=K,T.missing=m}const Y=(K,ne,pe,ve,ge,xe)=>{C();let Oe;try{i||(T.fallbackContext=n?WE():void 0),Oe=K(T)}finally{i||(T.fallbackContext=void 0)}if(pe!=="translate exists"&&Ct(Oe)&&Oe===Ju||pe==="translate exists"&&!Oe){const[Ze,Jn]=ne();return n&&y?ve(n):ge(Ze)}else{if(xe(Oe))return Oe;throw Yn(jn.UNEXPECTED_RETURN_TYPE)}};function j(...K){return Y(ne=>Reflect.apply(d0,null,[ne,...K]),()=>qd(...K),"translate",ne=>Reflect.apply(ne.t,ne,[...K]),ne=>ne,ne=>be(ne))}function I(...K){const[ne,pe,ve]=K;if(ve&&!qe(ve))throw Yn(jn.INVALID_ARGUMENT);return j(ne,pe,Wt({resolvedMessage:!0},ve||{}))}function F(...K){return Y(ne=>Reflect.apply(h0,null,[ne,...K]),()=>Kd(...K),"datetime format",ne=>Reflect.apply(ne.d,ne,[...K]),()=>a0,ne=>be(ne))}function z(...K){return Y(ne=>Reflect.apply(m0,null,[ne,...K]),()=>Wd(...K),"number format",ne=>Reflect.apply(ne.n,ne,[...K]),()=>a0,ne=>be(ne))}function te(K){return K.map(ne=>be(ne)||Ct(ne)||rt(ne)?v0(String(ne)):ne)}const H={normalize:te,interpolate:K=>K,type:"vnode"};function X(...K){return Y(ne=>{let pe;const ve=ne;try{ve.processor=H,pe=Reflect.apply(d0,null,[ve,...K])}finally{ve.processor=null}return pe},()=>qd(...K),"translate",ne=>ne[Gd](...K),ne=>[v0(ne)],ne=>_t(ne))}function ie(...K){return Y(ne=>Reflect.apply(m0,null,[ne,...K]),()=>Wd(...K),"number format",ne=>ne[Xd](...K),b0,ne=>be(ne)||_t(ne))}function oe(...K){return Y(ne=>Reflect.apply(h0,null,[ne,...K]),()=>Kd(...K),"datetime format",ne=>ne[Yd](...K),b0,ne=>be(ne)||_t(ne))}function ue(K){k=K,T.pluralRules=k}function he(K,ne){return Y(()=>{if(!K)return!1;const pe=be(ne)?ne:s.value,ve=x(pe),ge=T.messageResolver(ve,K);return oa(ge)||Cn(ge)||be(ge)},()=>[K],"translate exists",pe=>Reflect.apply(pe.te,pe,[K,ne]),s7,pe=>rt(pe))}function V(K){let ne=null;const pe=Hy(T,l.value,s.value);for(let ve=0;ve<pe.length;ve++){const ge=u.value[pe[ve]]||{},xe=T.messageResolver(ge,K);if(xe!=null){ne=xe;break}}return ne}function P(K){const ne=V(K);return ne??(n?n.tm(K)||{}:{})}function x(K){return u.value[K]||{}}function $(K,ne){if(o){const pe={[K]:ne};for(const ve in pe)bs(pe,ve)&&Es(pe[ve]);ne=pe[K]}u.value[K]=ne,T.messages=u.value}function Z(K,ne){u.value[K]=u.value[K]||{};const pe={[K]:ne};for(const ve in pe)bs(pe,ve)&&Es(pe[ve]);ne=pe[K],Ya(ne,u.value[K]),T.messages=u.value}function se(K){return d.value[K]||{}}function U(K,ne){d.value[K]=ne,T.datetimeFormats=d.value,p0(T,K,ne)}function G(K,ne){d.value[K]=Wt(d.value[K]||{},ne),T.datetimeFormats=d.value,p0(T,K,ne)}function ee(K){return c.value[K]||{}}function Q(K,ne){c.value[K]=ne,T.numberFormats=c.value,g0(T,K,ne)}function ae(K,ne){c.value[K]=Wt(c.value[K]||{},ne),T.numberFormats=c.value,g0(T,K,ne)}_0++,n&&zd&&(ht(n.locale,K=>{a&&(s.value=K,T.locale=K,Ra(T,s.value,l.value))}),ht(n.fallbackLocale,K=>{a&&(l.value=K,T.fallbackLocale=K,Ra(T,s.value,l.value))}));const le={id:_0,locale:N,fallbackLocale:O,get inheritLocale(){return a},set inheritLocale(K){a=K,K&&n&&(s.value=n.locale.value,l.value=n.fallbackLocale.value,Ra(T,s.value,l.value))},get availableLocales(){return Object.keys(u.value).sort()},messages:S,get modifiers(){return E},get pluralRules(){return k||{}},get isGlobal(){return i},get missingWarn(){return f},set missingWarn(K){f=K,T.missingWarn=f},get fallbackWarn(){return p},set fallbackWarn(K){p=K,T.fallbackWarn=p},get fallbackRoot(){return y},set fallbackRoot(K){y=K},get fallbackFormat(){return v},set fallbackFormat(K){v=K,T.fallbackFormat=v},get warnHtmlMessage(){return b},set warnHtmlMessage(K){b=K,T.warnHtmlMessage=K},get escapeParameter(){return h},set escapeParameter(K){h=K,T.escapeParameter=K},t:j,getLocaleMessage:x,setLocaleMessage:$,mergeLocaleMessage:Z,getPostTranslationHandler:D,setPostTranslationHandler:B,getMissingHandler:q,setMissingHandler:re,[i7]:ue};return le.datetimeFormats=L,le.numberFormats=R,le.rt=I,le.te=he,le.tm=P,le.d=F,le.n=z,le.getDateTimeFormat=se,le.setDateTimeFormat=U,le.mergeDateTimeFormat=G,le.getNumberFormat=ee,le.setNumberFormat=Q,le.mergeNumberFormat=ae,le[o7]=r,le[Gd]=X,le[Yd]=oe,le[Xd]=ie,le}const np={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function c7({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 Zy(e){return tt}const u7=wt({name:"i18n-t",props:Wt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Ct(e)||!isNaN(e)}},np),setup(e,t){const{slots:n,attrs:r}=t,i=e.i18n||Zu({useScope:e.scope,__useComponent:!0});return()=>{const o=Object.keys(n).filter(c=>c!=="_"),a={};e.locale&&(a.locale=e.locale),e.plural!==void 0&&(a.plural=be(e.plural)?+e.plural:e.plural);const s=c7(t,o),l=i[Gd](e.keypath,s,a),u=Wt({},r),d=be(e.tag)||qe(e.tag)?e.tag:Zy();return Ri(d,u,l)}}}),Zd=u7;function f7(e){return _t(e)&&!be(e[0])}function Qy(e,t,n,r){const{slots:i,attrs:o}=t;return()=>{const a={part:!0};let s={};e.locale&&(a.locale=e.locale),be(e.format)?a.key=e.format:qe(e.format)&&(be(e.format.key)&&(a.key=e.format.key),s=Object.keys(e.format).reduce((f,p)=>n.includes(p)?Wt({},f,{[p]:e.format[p]}):f,{}));const l=r(e.value,a,s);let u=[a.key];_t(l)?u=l.map((f,p)=>{const y=i[f.type],v=y?y({[f.type]:f.value,index:p,parts:l}):[f.value];return f7(v)&&(v[0].key=`${f.type}-${p}`),v}):be(l)&&(u=[l]);const d=Wt({},o),c=be(e.tag)||qe(e.tag)?e.tag:Zy();return Ri(c,d,u)}}const d7=wt({name:"i18n-n",props:Wt({value:{type:Number,required:!0},format:{type:[String,Object]}},np),setup(e,t){const n=e.i18n||Zu({useScope:"parent",__useComponent:!0});return Qy(e,t,Ky,(...r)=>n[Xd](...r))}}),O0=d7,h7=wt({name:"i18n-d",props:Wt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},np),setup(e,t){const n=e.i18n||Zu({useScope:"parent",__useComponent:!0});return Qy(e,t,qy,(...r)=>n[Yd](...r))}}),T0=h7;function p7(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 m7(e){const t=a=>{const{instance:s,modifiers:l,value:u}=a;if(!s||!s.$)throw Yn(jn.UNEXPECTED_ERROR);const d=p7(e,s.$),c=w0(u);return[Reflect.apply(d.t,d,[...A0(c)]),d]};return{created:(a,s)=>{const[l,u]=t(s);zd&&e.global===u&&(a.__i18nWatcher=ht(u.locale,()=>{s.instance&&s.instance.$forceUpdate()})),a.__composer=u,a.textContent=l},unmounted:a=>{zd&&a.__i18nWatcher&&(a.__i18nWatcher(),a.__i18nWatcher=void 0,delete a.__i18nWatcher),a.__composer&&(a.__composer=void 0,delete a.__composer)},beforeUpdate:(a,{value:s})=>{if(a.__composer){const l=a.__composer,u=w0(s);a.textContent=Reflect.apply(l.t,l,[...A0(u)])}},getSSRProps:a=>{const[s]=t(a);return{textContent:s}}}}function w0(e){if(be(e))return{path:e};if(Fe(e)){if(!("path"in e))throw Yn(jn.REQUIRED_VALUE,"path");return e}else throw Yn(jn.INVALID_VALUE)}function A0(e){const{path:t,locale:n,args:r,choice:i,plural:o}=e,a={},s=r||{};return be(n)&&(a.locale=n),Ct(i)&&(a.plural=i),Ct(o)&&(a.plural=o),[t,s,a]}function g7(e,t,...n){const r=Fe(n[0])?n[0]:{},i=!!r.useI18nComponentName;(rt(r.globalInstall)?r.globalInstall:!0)&&([i?"i18n":Zd.name,"I18nT"].forEach(a=>e.component(a,Zd)),[O0.name,"I18nN"].forEach(a=>e.component(a,O0)),[T0.name,"I18nD"].forEach(a=>e.component(a,T0))),e.directive("t",m7(t))}const v7=Mi("global-vue-i18n");function y7(e={},t){const n=rt(e.globalInjection)?e.globalInjection:!0,r=!0,i=new Map,[o,a]=b7(e),s=Mi("");function l(c){return i.get(c)||null}function u(c,f){i.set(c,f)}function d(c){i.delete(c)}{const c={get mode(){return"composition"},get allowComposition(){return r},async install(f,...p){if(f.__VUE_I18N_SYMBOL__=s,f.provide(f.__VUE_I18N_SYMBOL__,c),Fe(p[0])){const _=p[0];c.__composerExtend=_.__composerExtend,c.__vueI18nExtend=_.__vueI18nExtend}let y=null;n&&(y=N7(f,c.global)),g7(f,c,...p);const v=f.unmount;f.unmount=()=>{y&&y(),c.dispose(),v()}},get global(){return a},dispose(){o.stop()},__instances:i,__getInstance:l,__setInstance:u,__deleteInstance:d};return c}}function Zu(e={}){const t=Qt();if(t==null)throw Yn(jn.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Yn(jn.NOT_INSTALLED);const n=_7(t),r=O7(n),i=Xy(t),o=E7(e,i);if(o==="global")return a7(r,e,i),r;if(o==="parent"){let l=T7(n,t,e.__useComponent);return l==null&&(l=r),l}const a=n;let s=a.__getInstance(t);if(s==null){const l=Wt({},e);"__i18n"in i&&(l.__i18n=i.__i18n),r&&(l.__root=r),s=Jy(l),a.__composerExtend&&(s[Jd]=a.__composerExtend(s)),A7(a,t,s),a.__setInstance(t,s)}return s}function b7(e,t,n){const r=Rs();{const i=r.run(()=>Jy(e));if(i==null)throw Yn(jn.UNEXPECTED_ERROR);return[r,i]}}function _7(e){{const t=Vr(e.isCE?v7:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Yn(e.isCE?jn.NOT_INSTALLED_WITH_PROVIDE:jn.UNEXPECTED_ERROR);return t}}function E7(e,t){return Xu(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function O7(e){return e.mode==="composition"?e.global:e.global.__composer}function T7(e,t,n=!1){let r=null;const i=t.root;let o=w7(t,n);for(;o!=null;){const a=e;if(e.mode==="composition"&&(r=a.__getInstance(o)),r!=null||i===o)break;o=o.parent}return r}function w7(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function A7(e,t,n){Fn(()=>{},t),_o(()=>{const r=n;e.__deleteInstance(t);const i=r[Jd];i&&(i(),delete r[Jd])},t)}const S7=["locale","fallbackLocale","availableLocales"],S0=["t","rt","d","n","tm","te"];function N7(e,t){const n=Object.create(null);return S7.forEach(i=>{const o=Object.getOwnPropertyDescriptor(t,i);if(!o)throw Yn(jn.UNEXPECTED_ERROR);const a=Ge(o.value)?{get(){return o.value.value},set(s){o.value.value=s}}:{get(){return o.get&&o.get()}};Object.defineProperty(n,i,a)}),e.config.globalProperties.$i18n=n,S0.forEach(i=>{const o=Object.getOwnPropertyDescriptor(t,i);if(!o||!o.value)throw Yn(jn.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${i}`,o)}),()=>{delete e.config.globalProperties.$i18n,S0.forEach(i=>{delete e.config.globalProperties[`$${i}`]})}}zE(ZE);$E(TE);UE(Hy);{const e=M5();e.__INTLIFY__=!0,IE(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const Hi=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n};function e4(e,t){return function(){return e.apply(t,arguments)}}const{toString:k7}=Object.prototype,{getPrototypeOf:rp}=Object,Qu=(e=>t=>{const n=k7.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),yr=e=>(e=e.toLowerCase(),t=>Qu(t)===e),ef=e=>t=>typeof t===e,{isArray:ya}=Array,Os=ef("undefined");function C7(e){return e!==null&&!Os(e)&&e.constructor!==null&&!Os(e.constructor)&&xn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const t4=yr("ArrayBuffer");function L7(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&t4(e.buffer),t}const P7=ef("string"),xn=ef("function"),n4=ef("number"),tf=e=>e!==null&&typeof e=="object",I7=e=>e===!0||e===!1,Zl=e=>{if(Qu(e)!=="object")return!1;const t=rp(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},R7=yr("Date"),x7=yr("File"),M7=yr("Blob"),D7=yr("FileList"),H7=e=>tf(e)&&xn(e.pipe),j7=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||xn(e.append)&&((t=Qu(e))==="formdata"||t==="object"&&xn(e.toString)&&e.toString()==="[object FormData]"))},F7=yr("URLSearchParams"),V7=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Gs(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),ya(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),a=o.length;let s;for(r=0;r<a;r++)s=o[r],t.call(null,e[s],s,e)}}function r4(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 i4=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),o4=e=>!Os(e)&&e!==i4;function Qd(){const{caseless:e}=o4(this)&&this||{},t={},n=(r,i)=>{const o=e&&r4(t,i)||i;Zl(t[o])&&Zl(r)?t[o]=Qd(t[o],r):Zl(r)?t[o]=Qd({},r):ya(r)?t[o]=r.slice():t[o]=r};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&Gs(arguments[r],n);return t}const B7=(e,t,n,{allOwnKeys:r}={})=>(Gs(t,(i,o)=>{n&&xn(i)?e[o]=e4(i,n):e[o]=i},{allOwnKeys:r}),e),z7=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),$7=(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)},U7=(e,t,n,r)=>{let i,o,a;const s={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),o=i.length;o-- >0;)a=i[o],(!r||r(a,e,t))&&!s[a]&&(t[a]=e[a],s[a]=!0);e=n!==!1&&rp(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},q7=(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},K7=e=>{if(!e)return null;if(ya(e))return e;let t=e.length;if(!n4(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},W7=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&rp(Uint8Array)),G7=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const o=i.value;t.call(e,o[0],o[1])}},Y7=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},X7=yr("HTMLFormElement"),J7=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),N0=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Z7=yr("RegExp"),a4=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Gs(n,(i,o)=>{let a;(a=t(i,o,e))!==!1&&(r[o]=a||i)}),Object.defineProperties(e,r)},Q7=e=>{a4(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+"'")})}})},eO=(e,t)=>{const n={},r=i=>{i.forEach(o=>{n[o]=!0})};return ya(e)?r(e):r(String(e).split(t)),n},tO=()=>{},nO=(e,t)=>(e=+e,Number.isFinite(e)?e:t),Kf="abcdefghijklmnopqrstuvwxyz",k0="0123456789",s4={DIGIT:k0,ALPHA:Kf,ALPHA_DIGIT:Kf+Kf.toUpperCase()+k0},rO=(e=16,t=s4.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function iO(e){return!!(e&&xn(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const oO=e=>{const t=new Array(10),n=(r,i)=>{if(tf(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const o=ya(r)?[]:{};return Gs(r,(a,s)=>{const l=n(a,i+1);!Os(l)&&(o[s]=l)}),t[i]=void 0,o}}return r};return n(e,0)},aO=yr("AsyncFunction"),sO=e=>e&&(tf(e)||xn(e))&&xn(e.then)&&xn(e.catch),fe={isArray:ya,isArrayBuffer:t4,isBuffer:C7,isFormData:j7,isArrayBufferView:L7,isString:P7,isNumber:n4,isBoolean:I7,isObject:tf,isPlainObject:Zl,isUndefined:Os,isDate:R7,isFile:x7,isBlob:M7,isRegExp:Z7,isFunction:xn,isStream:H7,isURLSearchParams:F7,isTypedArray:W7,isFileList:D7,forEach:Gs,merge:Qd,extend:B7,trim:V7,stripBOM:z7,inherits:$7,toFlatObject:U7,kindOf:Qu,kindOfTest:yr,endsWith:q7,toArray:K7,forEachEntry:G7,matchAll:Y7,isHTMLForm:X7,hasOwnProperty:N0,hasOwnProp:N0,reduceDescriptors:a4,freezeMethods:Q7,toObjectSet:eO,toCamelCase:J7,noop:tO,toFiniteNumber:nO,findKey:r4,global:i4,isContextDefined:o4,ALPHABET:s4,generateString:rO,isSpecCompliantForm:iO,toJSONObject:oO,isAsyncFn:aO,isThenable:sO};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)}fe.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:fe.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const l4=je.prototype,c4={};["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=>{c4[e]={value:e}});Object.defineProperties(je,c4);Object.defineProperty(l4,"isAxiosError",{value:!0});je.from=(e,t,n,r,i,o)=>{const a=Object.create(l4);return fe.toFlatObject(e,a,function(l){return l!==Error.prototype},s=>s!=="isAxiosError"),je.call(a,e.message,t,n,r,i),a.cause=e,a.name=e.name,o&&Object.assign(a,o),a};const lO=null;function eh(e){return fe.isPlainObject(e)||fe.isArray(e)}function u4(e){return fe.endsWith(e,"[]")?e.slice(0,-2):e}function C0(e,t,n){return e?e.concat(t).map(function(i,o){return i=u4(i),!n&&o?"["+i+"]":i}).join(n?".":""):t}function cO(e){return fe.isArray(e)&&!e.some(eh)}const uO=fe.toFlatObject(fe,{},null,function(t){return/^is[A-Z]/.test(t)});function nf(e,t,n){if(!fe.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=fe.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(v,_){return!fe.isUndefined(_[v])});const r=n.metaTokens,i=n.visitor||d,o=n.dots,a=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&fe.isSpecCompliantForm(t);if(!fe.isFunction(i))throw new TypeError("visitor must be a function");function u(y){if(y===null)return"";if(fe.isDate(y))return y.toISOString();if(!l&&fe.isBlob(y))throw new je("Blob is not supported. Use a Buffer instead.");return fe.isArrayBuffer(y)||fe.isTypedArray(y)?l&&typeof Blob=="function"?new Blob([y]):Buffer.from(y):y}function d(y,v,_){let m=y;if(y&&!_&&typeof y=="object"){if(fe.endsWith(v,"{}"))v=r?v:v.slice(0,-2),y=JSON.stringify(y);else if(fe.isArray(y)&&cO(y)||(fe.isFileList(y)||fe.endsWith(v,"[]"))&&(m=fe.toArray(y)))return v=u4(v),m.forEach(function(b,h){!(fe.isUndefined(b)||b===null)&&t.append(a===!0?C0([v],h,o):a===null?v:v+"[]",u(b))}),!1}return eh(y)?!0:(t.append(C0(_,v,o),u(y)),!1)}const c=[],f=Object.assign(uO,{defaultVisitor:d,convertValue:u,isVisitable:eh});function p(y,v){if(!fe.isUndefined(y)){if(c.indexOf(y)!==-1)throw Error("Circular reference detected in "+v.join("."));c.push(y),fe.forEach(y,function(m,g){(!(fe.isUndefined(m)||m===null)&&i.call(t,m,fe.isString(g)?g.trim():g,v,f))===!0&&p(m,v?v.concat(g):[g])}),c.pop()}}if(!fe.isObject(e))throw new TypeError("data must be an object");return p(e),t}function L0(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function ip(e,t){this._pairs=[],e&&nf(e,this,t)}const f4=ip.prototype;f4.append=function(t,n){this._pairs.push([t,n])};f4.toString=function(t){const n=t?function(r){return t.call(this,r,L0)}:L0;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function fO(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function d4(e,t,n){if(!t)return e;const r=n&&n.encode||fO,i=n&&n.serialize;let o;if(i?o=i(t,n):o=fe.isURLSearchParams(t)?t.toString():new ip(t,n).toString(r),o){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class dO{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){fe.forEach(this.handlers,function(r){r!==null&&t(r)})}}const P0=dO,h4={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},hO=typeof URLSearchParams<"u"?URLSearchParams:ip,pO=typeof FormData<"u"?FormData:null,mO=typeof Blob<"u"?Blob:null,gO={isBrowser:!0,classes:{URLSearchParams:hO,FormData:pO,Blob:mO},protocols:["http","https","file","blob","url","data"]},p4=typeof window<"u"&&typeof document<"u",vO=(e=>p4&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),yO=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),bO=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:p4,hasStandardBrowserEnv:vO,hasStandardBrowserWebWorkerEnv:yO},Symbol.toStringTag,{value:"Module"})),fr={...bO,...gO};function _O(e,t){return nf(e,new fr.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,o){return fr.isNode&&fe.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function EO(e){return fe.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function OO(e){const t={},n=Object.keys(e);let r;const i=n.length;let o;for(r=0;r<i;r++)o=n[r],t[o]=e[o];return t}function m4(e){function t(n,r,i,o){let a=n[o++];const s=Number.isFinite(+a),l=o>=n.length;return a=!a&&fe.isArray(i)?i.length:a,l?(fe.hasOwnProp(i,a)?i[a]=[i[a],r]:i[a]=r,!s):((!i[a]||!fe.isObject(i[a]))&&(i[a]=[]),t(n,r,i[a],o)&&fe.isArray(i[a])&&(i[a]=OO(i[a])),!s)}if(fe.isFormData(e)&&fe.isFunction(e.entries)){const n={};return fe.forEachEntry(e,(r,i)=>{t(EO(r),i,n,0)}),n}return null}function TO(e,t,n){if(fe.isString(e))try{return(t||JSON.parse)(e),fe.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const op={transitional:h4,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,o=fe.isObject(t);if(o&&fe.isHTMLForm(t)&&(t=new FormData(t)),fe.isFormData(t))return i&&i?JSON.stringify(m4(t)):t;if(fe.isArrayBuffer(t)||fe.isBuffer(t)||fe.isStream(t)||fe.isFile(t)||fe.isBlob(t))return t;if(fe.isArrayBufferView(t))return t.buffer;if(fe.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return _O(t,this.formSerializer).toString();if((s=fe.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return nf(s?{"files[]":t}:t,l&&new l,this.formSerializer)}}return o||i?(n.setContentType("application/json",!1),TO(t)):t}],transformResponse:[function(t){const n=this.transitional||op.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(t&&fe.isString(t)&&(r&&!this.responseType||i)){const a=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(s){if(a)throw s.name==="SyntaxError"?je.from(s,je.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:fr.classes.FormData,Blob:fr.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};fe.forEach(["delete","get","head","post","put","patch"],e=>{op.headers[e]={}});const ap=op,wO=fe.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"]),AO=e=>{const t={};let n,r,i;return e&&e.split(`
|
|
30
30
|
`).forEach(function(a){i=a.indexOf(":"),n=a.substring(0,i).trim().toLowerCase(),r=a.substring(i+1).trim(),!(!n||t[n]&&wO[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},I0=Symbol("internals");function xa(e){return e&&String(e).trim().toLowerCase()}function Ql(e){return e===!1||e==null?e:fe.isArray(e)?e.map(Ql):String(e)}function SO(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 NO=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Wf(e,t,n,r,i){if(fe.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!fe.isString(t)){if(fe.isString(r))return t.indexOf(r)!==-1;if(fe.isRegExp(r))return r.test(t)}}function kO(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function CO(e,t){const n=fe.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,o,a){return this[r].call(this,t,i,o,a)},configurable:!0})})}class rf{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function o(s,l,u){const d=xa(l);if(!d)throw new Error("header name must be a non-empty string");const c=fe.findKey(i,d);(!c||i[c]===void 0||u===!0||u===void 0&&i[c]!==!1)&&(i[c||l]=Ql(s))}const a=(s,l)=>fe.forEach(s,(u,d)=>o(u,d,l));return fe.isPlainObject(t)||t instanceof this.constructor?a(t,n):fe.isString(t)&&(t=t.trim())&&!NO(t)?a(AO(t),n):t!=null&&o(n,t,r),this}get(t,n){if(t=xa(t),t){const r=fe.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return SO(i);if(fe.isFunction(n))return n.call(this,i,r);if(fe.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=xa(t),t){const r=fe.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Wf(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function o(a){if(a=xa(a),a){const s=fe.findKey(r,a);s&&(!n||Wf(r,r[s],s,n))&&(delete r[s],i=!0)}}return fe.isArray(t)?t.forEach(o):o(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const o=n[r];(!t||Wf(this,this[o],o,t,!0))&&(delete this[o],i=!0)}return i}normalize(t){const n=this,r={};return fe.forEach(this,(i,o)=>{const a=fe.findKey(r,o);if(a){n[a]=Ql(i),delete n[o];return}const s=t?kO(o):String(o).trim();s!==o&&delete n[o],n[s]=Ql(i),r[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return fe.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&fe.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(`
|
|
31
|
-
`)}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[I0]=this[I0]={accessors:{}}).accessors,i=this.prototype;function o(a){const s=xa(a);r[s]||(CO(i,a),r[s]=!0)}return fe.isArray(t)?t.forEach(o):o(t),this}}rf.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);fe.reduceDescriptors(rf.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});fe.freezeMethods(rf);const zr=rf;function Gf(e,t){const n=this||ap,r=t||n,i=zr.from(r.headers);let o=r.data;return fe.forEach(e,function(s){o=s.call(n,o,i.normalize(),t?t.status:void 0)}),i.normalize(),o}function g4(e){return!!(e&&e.__CANCEL__)}function Ys(e,t,n){
|
|
31
|
+
`)}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[I0]=this[I0]={accessors:{}}).accessors,i=this.prototype;function o(a){const s=xa(a);r[s]||(CO(i,a),r[s]=!0)}return fe.isArray(t)?t.forEach(o):o(t),this}}rf.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);fe.reduceDescriptors(rf.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});fe.freezeMethods(rf);const zr=rf;function Gf(e,t){const n=this||ap,r=t||n,i=zr.from(r.headers);let o=r.data;return fe.forEach(e,function(s){o=s.call(n,o,i.normalize(),t?t.status:void 0)}),i.normalize(),o}function g4(e){return!!(e&&e.__CANCEL__)}function Ys(e,t,n){je.call(this,e??"canceled",je.ERR_CANCELED,t,n),this.name="CanceledError"}fe.inherits(Ys,je,{__CANCEL__:!0});function LO(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 PO=fr.hasStandardBrowserEnv?{write(e,t,n,r,i,o){const a=[e+"="+encodeURIComponent(t)];fe.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),fe.isString(r)&&a.push("path="+r),fe.isString(i)&&a.push("domain="+i),o===!0&&a.push("secure"),document.cookie=a.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 IO(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function RO(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function v4(e,t){return e&&!IO(t)?RO(e,t):t}const xO=fr.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function i(o){let a=o;return t&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{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(a){const s=fe.isString(a)?i(a):a;return s.protocol===r.protocol&&s.host===r.host}}():function(){return function(){return!0}}();function MO(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function DO(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,o=0,a;return t=t!==void 0?t:1e3,function(l){const u=Date.now(),d=r[o];a||(a=u),n[i]=l,r[i]=u;let c=o,f=0;for(;c!==i;)f+=n[c++],c=c%e;if(i=(i+1)%e,i===o&&(o=(o+1)%e),u-a<t)return;const p=d&&u-d;return p?Math.round(f*1e3/p):void 0}}function R0(e,t){let n=0;const r=DO(50,250);return i=>{const o=i.loaded,a=i.lengthComputable?i.total:void 0,s=o-n,l=r(s),u=o<=a;n=o;const d={loaded:o,total:a,progress:a?o/a:void 0,bytes:s,rate:l||void 0,estimated:l&&a&&u?(a-o)/l:void 0,event:i};d[t?"download":"upload"]=!0,e(d)}}const HO=typeof XMLHttpRequest<"u",jO=HO&&function(e){return new Promise(function(n,r){let i=e.data;const o=zr.from(e.headers).normalize();let{responseType:a,withXSRFToken:s}=e,l;function u(){e.cancelToken&&e.cancelToken.unsubscribe(l),e.signal&&e.signal.removeEventListener("abort",l)}let d;if(fe.isFormData(i)){if(fr.hasStandardBrowserEnv||fr.hasStandardBrowserWebWorkerEnv)o.setContentType(!1);else if((d=o.getContentType())!==!1){const[v,..._]=d?d.split(";").map(m=>m.trim()).filter(Boolean):[];o.setContentType([v||"multipart/form-data",..._].join("; "))}}let c=new XMLHttpRequest;if(e.auth){const v=e.auth.username||"",_=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(v+":"+_))}const f=v4(e.baseURL,e.url);c.open(e.method.toUpperCase(),d4(f,e.params,e.paramsSerializer),!0),c.timeout=e.timeout;function p(){if(!c)return;const v=zr.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),m={data:!a||a==="text"||a==="json"?c.responseText:c.response,status:c.status,statusText:c.statusText,headers:v,config:e,request:c};LO(function(b){n(b),u()},function(b){r(b),u()},m),c=null}if("onloadend"in c?c.onloadend=p:c.onreadystatechange=function(){!c||c.readyState!==4||c.status===0&&!(c.responseURL&&c.responseURL.indexOf("file:")===0)||setTimeout(p)},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||h4;e.timeoutErrorMessage&&(_=e.timeoutErrorMessage),r(new je(_,m.clarifyTimeoutError?je.ETIMEDOUT:je.ECONNABORTED,e,c)),c=null},fr.hasStandardBrowserEnv&&(s&&fe.isFunction(s)&&(s=s(e)),s||s!==!1&&xO(f))){const v=e.xsrfHeaderName&&e.xsrfCookieName&&PO.read(e.xsrfCookieName);v&&o.set(e.xsrfHeaderName,v)}i===void 0&&o.setContentType(null),"setRequestHeader"in c&&fe.forEach(o.toJSON(),function(_,m){c.setRequestHeader(m,_)}),fe.isUndefined(e.withCredentials)||(c.withCredentials=!!e.withCredentials),a&&a!=="json"&&(c.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&c.addEventListener("progress",R0(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",R0(e.onUploadProgress)),(e.cancelToken||e.signal)&&(l=v=>{c&&(r(!v||v.type?new Ys(null,e,c):v),c.abort(),c=null)},e.cancelToken&&e.cancelToken.subscribe(l),e.signal&&(e.signal.aborted?l():e.signal.addEventListener("abort",l)));const y=MO(f);if(y&&fr.protocols.indexOf(y)===-1){r(new je("Unsupported protocol "+y+":",je.ERR_BAD_REQUEST,e));return}c.send(i||null)})},th={http:lO,xhr:jO};fe.forEach(th,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const x0=e=>`- ${e}`,FO=e=>fe.isFunction(e)||e===null||e===!1,y4={getAdapter:e=>{e=fe.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let o=0;o<t;o++){n=e[o];let a;if(r=n,!FO(n)&&(r=th[(a=String(n)).toLowerCase()],r===void 0))throw new je(`Unknown adapter '${a}'`);if(r)break;i[a||"#"+o]=r}if(!r){const o=Object.entries(i).map(([s,l])=>`adapter ${s} `+(l===!1?"is not supported by the environment":"is not available in the build"));let a=t?o.length>1?`since :
|
|
32
32
|
`+o.map(x0).join(`
|
|
33
|
-
`):" "+x0(o[0]):"as no adapter specified";throw new He("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return r},adapters:th};function Yf(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ys(null,e)}function M0(e){return Yf(e),e.headers=zr.from(e.headers),e.data=Gf.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),y4.getAdapter(e.adapter||ap.adapter)(e).then(function(r){return Yf(e),r.data=Gf.call(e,e.transformResponse,r),r.headers=zr.from(r.headers),r},function(r){return g4(r)||(Yf(e),r&&r.response&&(r.response.data=Gf.call(e,e.transformResponse,r.response),r.response.headers=zr.from(r.response.headers))),Promise.reject(r)})}const D0=e=>e instanceof zr?e.toJSON():e;function aa(e,t){t=t||{};const n={};function r(u,d,c){return fe.isPlainObject(u)&&fe.isPlainObject(d)?fe.merge.call({caseless:c},u,d):fe.isPlainObject(d)?fe.merge({},d):fe.isArray(d)?d.slice():d}function i(u,d,c){if(fe.isUndefined(d)){if(!fe.isUndefined(u))return r(void 0,u,c)}else return r(u,d,c)}function o(u,d){if(!fe.isUndefined(d))return r(void 0,d)}function a(u,d){if(fe.isUndefined(d)){if(!fe.isUndefined(u))return r(void 0,u)}else return r(void 0,d)}function s(u,d,c){if(c in t)return r(u,d);if(c in e)return r(void 0,u)}const l={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(u,d)=>i(D0(u),D0(d),!0)};return fe.forEach(Object.keys(Object.assign({},e,t)),function(d){const c=l[d]||i,f=c(e[d],t[d],d);fe.isUndefined(f)&&c!==s||(n[d]=f)}),n}const b4="1.6.2",sp={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{sp[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const H0={};sp.transitional=function(t,n,r){function i(o,a){return"[Axios v"+b4+"] Transitional option '"+o+"'"+a+(r?". "+r:"")}return(o,a,s)=>{if(t===!1)throw new He(i(a," has been removed"+(n?" in "+n:"")),He.ERR_DEPRECATED);return n&&!H0[a]&&(H0[a]=!0,console.warn(i(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,a,s):!0}};function VO(e,t,n){if(typeof e!="object")throw new He("options must be an object",He.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const o=r[i],a=t[o];if(a){const s=e[o],l=s===void 0||a(s,o,e);if(l!==!0)throw new He("option "+o+" must be "+l,He.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new He("Unknown option "+o,He.ERR_BAD_OPTION)}}const nh={assertOptions:VO,validators:sp},ai=nh.validators;class kc{constructor(t){this.defaults=t,this.interceptors={request:new P0,response:new P0}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=aa(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:o}=n;r!==void 0&&nh.assertOptions(r,{silentJSONParsing:ai.transitional(ai.boolean),forcedJSONParsing:ai.transitional(ai.boolean),clarifyTimeoutError:ai.transitional(ai.boolean)},!1),i!=null&&(fe.isFunction(i)?n.paramsSerializer={serialize:i}:nh.assertOptions(i,{encode:ai.function,serialize:ai.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=o&&fe.merge(o.common,o[n.method]);o&&fe.forEach(["delete","get","head","post","put","patch","common"],y=>{delete o[y]}),n.headers=zr.concat(a,o);const s=[];let l=!0;this.interceptors.request.forEach(function(v){typeof v.runWhen=="function"&&v.runWhen(n)===!1||(l=l&&v.synchronous,s.unshift(v.fulfilled,v.rejected))});const u=[];this.interceptors.response.forEach(function(v){u.push(v.fulfilled,v.rejected)});let d,c=0,f;if(!l){const y=[M0.bind(this),void 0];for(y.unshift.apply(y,s),y.push.apply(y,u),f=y.length,d=Promise.resolve(n);c<f;)d=d.then(y[c++],y[c++]);return d}f=s.length;let p=n;for(c=0;c<f;){const y=s[c++],v=s[c++];try{p=y(p)}catch(_){v.call(this,_);break}}try{d=M0.call(this,p)}catch(y){return Promise.reject(y)}for(c=0,f=u.length;c<f;)d=d.then(u[c++],u[c++]);return d}getUri(t){t=aa(this.defaults,t);const n=v4(t.baseURL,t.url);return d4(n,t.params,t.paramsSerializer)}}fe.forEach(["delete","get","head","options"],function(t){kc.prototype[t]=function(n,r){return this.request(aa(r||{},{method:t,url:n,data:(r||{}).data}))}});fe.forEach(["post","put","patch"],function(t){function n(r){return function(o,a,s){return this.request(aa(s||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:o,data:a}))}}kc.prototype[t]=n(),kc.prototype[t+"Form"]=n(!0)});const ec=kc;class lp{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const r=this;this.promise.then(i=>{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](i);r._listeners=null}),this.promise.then=i=>{let o;const a=new Promise(s=>{r.subscribe(s),o=s}).then(i);return a.cancel=function(){r.unsubscribe(o)},a},t(function(o,a,s){r.reason||(r.reason=new Ys(o,a,s),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 lp(function(i){t=i}),cancel:t}}}const BO=lp;function zO(e){return function(n){return e.apply(null,n)}}function $O(e){return fe.isObject(e)&&e.isAxiosError===!0}const rh={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(rh).forEach(([e,t])=>{rh[t]=e});const UO=rh;function _4(e){const t=new ec(e),n=e4(ec.prototype.request,t);return fe.extend(n,ec.prototype,t,{allOwnKeys:!0}),fe.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return _4(aa(e,i))},n}const mt=_4(ap);mt.Axios=ec;mt.CanceledError=Ys;mt.CancelToken=BO;mt.isCancel=g4;mt.VERSION=b4;mt.toFormData=nf;mt.AxiosError=He;mt.Cancel=mt.CanceledError;mt.all=function(t){return Promise.all(t)};mt.spread=zO;mt.isAxiosError=$O;mt.mergeConfig=aa;mt.AxiosHeaders=zr;mt.formToJSON=e=>m4(fe.isHTMLForm(e)?new FormData(e):e);mt.getAdapter=y4.getAdapter;mt.HttpStatusCode=UO;mt.default=mt;const Hr=mt;function qO(e){return da()?(xs(e),!0):!1}function cp(e){return typeof e=="function"?e():et(e)}const KO=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const WO=Object.prototype.toString,GO=e=>WO.call(e)==="[object Object]",YO=()=>{};function XO(e,t){function n(...r){return new Promise((i,o)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(i).catch(o)})}return n}const E4=e=>e();function JO(e=E4){const t=Te(!0);function n(){t.value=!1}function r(){t.value=!0}const i=(...o)=>{t.value&&e(...o)};return{isActive:Ms(t),pause:n,resume:r,eventFilter:i}}function ZO(e){return e||Qt()}function QO(e,t,n={}){const{eventFilter:r=E4,...i}=n;return ht(e,XO(r,t),i)}function eT(e,t,n={}){const{eventFilter:r,...i}=n,{eventFilter:o,pause:a,resume:s,isActive:l}=JO(r);return{stop:QO(e,t,{...i,eventFilter:o}),pause:a,resume:s,isActive:l}}function tT(e,t=!0,n){const r=ZO(n);r?Fn(e,r):t?e():Dn(e)}function nT(e){var t;const n=cp(e);return(t=n?.$el)!=null?t:n}const ih=KO?window:void 0;function j0(...e){let t,n,r,i;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,i]=e,t=ih):[t,n,r,i]=e,!t)return YO;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const o=[],a=()=>{o.forEach(d=>d()),o.length=0},s=(d,c,f,p)=>(d.addEventListener(c,f,p),()=>d.removeEventListener(c,f,p)),l=ht(()=>[nT(t),cp(i)],([d,c])=>{if(a(),!d)return;const f=GO(c)?{...c}:c;o.push(...n.flatMap(p=>r.map(y=>s(d,p,y,f))))},{immediate:!0,flush:"post"}),u=()=>{l(),a()};return qO(u),u}const Cl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ll="__vueuse_ssr_handlers__",rT=iT();function iT(){return Ll in Cl||(Cl[Ll]=Cl[Ll]||{}),Cl[Ll]}function oT(e,t){return rT[e]||t}function aT(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const yt={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},F0="vueuse-storage";function Nt(e,t,n,r={}){var i;const{flush:o="pre",deep:a=!0,listenToStorageChanges:s=!0,writeDefaults:l=!0,mergeDefaults:u=!1,shallow:d,window:c=ih,eventFilter:f,onError:p=C=>{console.error(C)},initOnMounted:y}=r,v=(d?jh:Te)(typeof t=="function"?t():t);if(!n)try{n=oT("getDefaultStorage",()=>{var C;return(C=ih)==null?void 0:C.localStorage})()}catch(C){p(C)}if(!n)return v;const _=cp(t),m=aT(_),g=(i=r.serializer)!=null?i:yt[m],{pause:b,resume:h}=eT(v,()=>E(v.value),{flush:o,deep:a,eventFilter:f});return c&&s&&tT(()=>{j0(c,"storage",A),j0(c,F0,T),y&&A()}),y||A(),v;function E(C){try{if(C==null)n.removeItem(e);else{const N=g.write(C),O=n.getItem(e);O!==N&&(n.setItem(e,N),c&&c.dispatchEvent(new CustomEvent(F0,{detail:{key:e,oldValue:O,newValue:N,storageArea:n}})))}}catch(N){p(N)}}function k(C){const N=C?C.newValue:n.getItem(e);if(N==null)return l&&_!=null&&n.setItem(e,g.write(_)),_;if(!C&&u){const O=g.read(N);return typeof u=="function"?u(O,_):m==="object"&&!Array.isArray(O)?{..._,...O}:O}else return typeof N!="string"?N:g.read(N)}function T(C){A(C.detail)}function A(C){if(!(C&&C.storageArea!==n)){if(C&&C.key==null){v.value=_;return}if(!(C&&C.key!==e)){b();try{C?.newValue!==g.write(v.value)&&(v.value=k(C))}catch(N){p(N)}finally{C?Dn(h):h()}}}}}const ba=xi("alert",()=>{const e=Te(""),t=Te("default"),n=Te("NotActive"),r=Te(NaN),i=Te("global");function o({message:a,type:s="default"}){e.value=a,t.value=s,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:o}}),sT="aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4vianca6w0s2x0a2z0ure5ba0by2idu3namex3narepublic11d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0cast4mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dabur3d1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0ardian6cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster6d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2tura4vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9dnavy5lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0a1b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp2w2ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4finity6ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2",lT="ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2",sa=(e,t)=>{for(const n in t)e[n]=t[n];return e},oh="numeric",ah="ascii",sh="alpha",tc="asciinumeric",Pl="alphanumeric",lh="domain",O4="emoji",cT="scheme",uT="slashscheme",V0="whitespace";function fT(e,t){return e in t||(t[e]=[]),t[e]}function ro(e,t,n){t[oh]&&(t[tc]=!0,t[Pl]=!0),t[ah]&&(t[tc]=!0,t[sh]=!0),t[tc]&&(t[Pl]=!0),t[sh]&&(t[Pl]=!0),t[Pl]&&(t[lh]=!0),t[O4]&&(t[lh]=!0);for(const r in t){const i=fT(r,n);i.indexOf(e)<0&&i.push(e)}}function dT(e,t){const n={};for(const r in t)t[r].indexOf(e)>=0&&(n[r]=!0);return n}function bn(e){e===void 0&&(e=null),this.j={},this.jr=[],this.jd=null,this.t=e}bn.groups={};bn.prototype={accepts(){return!!this.t},go(e){const t=this,n=t.j[e];if(n)return n;for(let r=0;r<t.jr.length;r++){const i=t.jr[r][0],o=t.jr[r][1];if(o&&i.test(e))return o}return t.jd},has(e,t){return t===void 0&&(t=!1),t?e in this.j:!!this.go(e)},ta(e,t,n,r){for(let i=0;i<e.length;i++)this.tt(e[i],t,n,r)},tr(e,t,n,r){r=r||bn.groups;let i;return t&&t.j?i=t:(i=new bn(t),n&&r&&ro(t,n,r)),this.jr.push([e,i]),i},ts(e,t,n,r){let i=this;const o=e.length;if(!o)return i;for(let a=0;a<o-1;a++)i=i.tt(e[a]);return i.tt(e[o-1],t,n,r)},tt(e,t,n,r){r=r||bn.groups;const i=this;if(t&&t.j)return i.j[e]=t,t;const o=t;let a,s=i.go(e);if(s?(a=new bn,sa(a.j,s.j),a.jr.push.apply(a.jr,s.jr),a.jd=s.jd,a.t=s.t):a=new bn,o){if(r)if(a.t&&typeof a.t=="string"){const l=sa(dT(a.t,r),n);ro(o,l,r)}else n&&ro(o,n,r);a.t=o}return i.j[e]=a,a}};const Le=(e,t,n,r,i)=>e.ta(t,n,r,i),Sn=(e,t,n,r,i)=>e.tr(t,n,r,i),B0=(e,t,n,r,i)=>e.ts(t,n,r,i),me=(e,t,n,r,i)=>e.tt(t,n,r,i),Ir="WORD",ch="UWORD",Ts="LOCALHOST",uh="TLD",fh="UTLD",nc="SCHEME",Do="SLASH_SCHEME",up="NUM",T4="WS",fp="NL",Xa="OPENBRACE",Ja="CLOSEBRACE",Cc="OPENBRACKET",Lc="CLOSEBRACKET",Pc="OPENPAREN",Ic="CLOSEPAREN",Rc="OPENANGLEBRACKET",xc="CLOSEANGLEBRACKET",Mc="FULLWIDTHLEFTPAREN",Dc="FULLWIDTHRIGHTPAREN",Hc="LEFTCORNERBRACKET",jc="RIGHTCORNERBRACKET",Fc="LEFTWHITECORNERBRACKET",Vc="RIGHTWHITECORNERBRACKET",Bc="FULLWIDTHLESSTHAN",zc="FULLWIDTHGREATERTHAN",$c="AMPERSAND",Uc="APOSTROPHE",qc="ASTERISK",hi="AT",Kc="BACKSLASH",Wc="BACKTICK",Gc="CARET",gi="COLON",dp="COMMA",Yc="DOLLAR",or="DOT",Xc="EQUALS",hp="EXCLAMATION",ar="HYPHEN",Jc="PERCENT",Zc="PIPE",Qc="PLUS",eu="POUND",tu="QUERY",pp="QUOTE",mp="SEMI",sr="SLASH",Za="TILDE",nu="UNDERSCORE",w4="EMOJI",ru="SYM";var A4=Object.freeze({__proto__:null,WORD:Ir,UWORD:ch,LOCALHOST:Ts,TLD:uh,UTLD:fh,SCHEME:nc,SLASH_SCHEME:Do,NUM:up,WS:T4,NL:fp,OPENBRACE:Xa,CLOSEBRACE:Ja,OPENBRACKET:Cc,CLOSEBRACKET:Lc,OPENPAREN:Pc,CLOSEPAREN:Ic,OPENANGLEBRACKET:Rc,CLOSEANGLEBRACKET:xc,FULLWIDTHLEFTPAREN:Mc,FULLWIDTHRIGHTPAREN:Dc,LEFTCORNERBRACKET:Hc,RIGHTCORNERBRACKET:jc,LEFTWHITECORNERBRACKET:Fc,RIGHTWHITECORNERBRACKET:Vc,FULLWIDTHLESSTHAN:Bc,FULLWIDTHGREATERTHAN:zc,AMPERSAND:$c,APOSTROPHE:Uc,ASTERISK:qc,AT:hi,BACKSLASH:Kc,BACKTICK:Wc,CARET:Gc,COLON:gi,COMMA:dp,DOLLAR:Yc,DOT:or,EQUALS:Xc,EXCLAMATION:hp,HYPHEN:ar,PERCENT:Jc,PIPE:Zc,PLUS:Qc,POUND:eu,QUERY:tu,QUOTE:pp,SEMI:mp,SLASH:sr,TILDE:Za,UNDERSCORE:nu,EMOJI:w4,SYM:ru});const Ro=/[a-z]/,Xf=/\p{L}/u,Jf=/\p{Emoji}/u,Zf=/\d/,z0=/\s/,$0=`
|
|
34
|
-
`,hT="️",pT="";let Il=null,Rl=null;function mT(e){e===void 0&&(e=[]);const t={};bn.groups=t;const n=new bn;Il==null&&(Il=U0(sT)),Rl==null&&(Rl=U0(lT)),me(n,"'",Uc),me(n,"{",Xa),me(n,"}",Ja),me(n,"[",Cc),me(n,"]",Lc),me(n,"(",Pc),me(n,")",Ic),me(n,"<",Rc),me(n,">",xc),me(n,"(",Mc),me(n,")",Dc),me(n,"「",Hc),me(n,"」",jc),me(n,"『",Fc),me(n,"』",Vc),me(n,"<",Bc),me(n,">",zc),me(n,"&",$c),me(n,"*",qc),me(n,"@",hi),me(n,"`",Wc),me(n,"^",Gc),me(n,":",gi),me(n,",",dp),me(n,"$",Yc),me(n,".",or),me(n,"=",Xc),me(n,"!",hp),me(n,"-",ar),me(n,"%",Jc),me(n,"|",Zc),me(n,"+",Qc),me(n,"#",eu),me(n,"?",tu),me(n,'"',pp),me(n,"/",sr),me(n,";",mp),me(n,"~",Za),me(n,"_",nu),me(n,"\\",Kc);const r=Sn(n,Zf,up,{[oh]:!0});Sn(r,Zf,r);const i=Sn(n,Ro,Ir,{[ah]:!0});Sn(i,Ro,i);const o=Sn(n,Xf,ch,{[sh]:!0});Sn(o,Ro),Sn(o,Xf,o);const a=Sn(n,z0,T4,{[V0]:!0});me(n,$0,fp,{[V0]:!0}),me(a,$0),Sn(a,z0,a);const s=Sn(n,Jf,w4,{[O4]:!0});Sn(s,Jf,s),me(s,hT,s);const l=me(s,pT);Sn(l,Jf,s);const u=[[Ro,i]],d=[[Ro,null],[Xf,o]];for(let c=0;c<Il.length;c++)si(n,Il[c],uh,Ir,u);for(let c=0;c<Rl.length;c++)si(n,Rl[c],fh,ch,d);ro(uh,{tld:!0,ascii:!0},t),ro(fh,{utld:!0,alpha:!0},t),si(n,"file",nc,Ir,u),si(n,"mailto",nc,Ir,u),si(n,"http",Do,Ir,u),si(n,"https",Do,Ir,u),si(n,"ftp",Do,Ir,u),si(n,"ftps",Do,Ir,u),ro(nc,{scheme:!0,ascii:!0},t),ro(Do,{slashscheme:!0,ascii:!0},t),e=e.sort((c,f)=>c[0]>f[0]?1:-1);for(let c=0;c<e.length;c++){const f=e[c][0],y=e[c][1]?{[cT]:!0}:{[uT]:!0};f.indexOf("-")>=0?y[lh]=!0:Ro.test(f)?Zf.test(f)?y[tc]=!0:y[ah]=!0:y[oh]=!0,B0(n,f,f,y)}return B0(n,"localhost",Ts,{ascii:!0}),n.jd=new bn(ru),{start:n,tokens:sa({groups:t},A4)}}function gT(e,t){const n=vT(t.replace(/[A-Z]/g,s=>s.toLowerCase())),r=n.length,i=[];let o=0,a=0;for(;a<r;){let s=e,l=null,u=0,d=null,c=-1,f=-1;for(;a<r&&(l=s.go(n[a]));)s=l,s.accepts()?(c=0,f=0,d=s):c>=0&&(c+=n[a].length,f++),u+=n[a].length,o+=n[a].length,a++;o-=c,a-=f,u-=c,i.push({t:d.t,v:t.slice(o-u,o),s:o-u,e:o})}return i}function vT(e){const t=[],n=e.length;let r=0;for(;r<n;){let i=e.charCodeAt(r),o,a=i<55296||i>56319||r+1===n||(o=e.charCodeAt(r+1))<56320||o>57343?e[r]:e.slice(r,r+2);t.push(a),r+=a.length}return t}function si(e,t,n,r,i){let o;const a=t.length;for(let s=0;s<a-1;s++){const l=t[s];e.j[l]?o=e.j[l]:(o=new bn(r),o.jr=i.slice(),e.j[l]=o),e=o}return o=new bn(n),o.jr=i.slice(),e.j[t[a-1]]=o,o}function U0(e){const t=[],n=[];let r=0,i="0123456789";for(;r<e.length;){let o=0;for(;i.indexOf(e[r+o])>=0;)o++;if(o>0){t.push(n.join(""));for(let a=parseInt(e.substring(r,r+o),10);a>0;a--)n.pop();r+=o}else n.push(e[r]),r++}return t}const ws={defaultProtocol:"http",events:null,format:q0,formatHref:q0,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function gp(e,t){t===void 0&&(t=null);let n=sa({},ws);e&&(n=sa(n,e instanceof gp?e.o:e));const r=n.ignoreTags,i=[];for(let o=0;o<r.length;o++)i.push(r[o].toUpperCase());this.o=n,t&&(this.defaultRender=t),this.ignoreTags=i}gp.prototype={o:ws,ignoreTags:[],defaultRender(e){return e},check(e){return this.get("validate",e.toString(),e)},get(e,t,n){const r=t!=null;let i=this.o[e];return i&&(typeof i=="object"?(i=n.t in i?i[n.t]:ws[e],typeof i=="function"&&r&&(i=i(t,n))):typeof i=="function"&&r&&(i=i(t,n.t,n)),i)},getObj(e,t,n){let r=this.o[e];return typeof r=="function"&&t!=null&&(r=r(t,n.t,n)),r},render(e){const t=e.render(this);return(this.get("render",null,e)||this.defaultRender)(t,e.t,e)}};function q0(e){return e}function S4(e,t){this.t="token",this.v=e,this.tk=t}S4.prototype={isLink:!1,toString(){return this.v},toHref(e){return this.toString()},toFormattedString(e){const t=this.toString(),n=e.get("truncate",t,this),r=e.get("format",t,this);return n&&r.length>n?r.substring(0,n)+"…":r},toFormattedHref(e){return e.get("formatHref",this.toHref(e.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(e){return e===void 0&&(e=ws.defaultProtocol),{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(e),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(e){return{type:this.t,value:this.toFormattedString(e),isLink:this.isLink,href:this.toFormattedHref(e),start:this.startIndex(),end:this.endIndex()}},validate(e){return e.get("validate",this.toString(),this)},render(e){const t=this,n=this.toHref(e.get("defaultProtocol")),r=e.get("formatHref",n,this),i=e.get("tagName",n,t),o=this.toFormattedString(e),a={},s=e.get("className",n,t),l=e.get("target",n,t),u=e.get("rel",n,t),d=e.getObj("attributes",n,t),c=e.getObj("events",n,t);return a.href=r,s&&(a.class=s),l&&(a.target=l),u&&(a.rel=u),d&&sa(a,d),{tagName:i,attributes:a,content:o,eventListeners:c}}};function of(e,t){class n extends S4{constructor(i,o){super(i,o),this.t=e}}for(const r in t)n.prototype[r]=t[r];return n.t=e,n}const K0=of("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),W0=of("text"),yT=of("nl"),xl=of("url",{isLink:!0,toHref(e){return e===void 0&&(e=ws.defaultProtocol),this.hasProtocol()?this.v:`${e}://${this.v}`},hasProtocol(){const e=this.tk;return e.length>=2&&e[0].t!==Ts&&e[1].t===gi}}),Nn=e=>new bn(e);function bT(e){let{groups:t}=e;const n=t.domain.concat([$c,qc,hi,Kc,Wc,Gc,Yc,Xc,ar,up,Jc,Zc,Qc,eu,sr,ru,Za,nu]),r=[Uc,gi,dp,or,hp,tu,pp,mp,Rc,xc,Xa,Ja,Lc,Cc,Pc,Ic,Mc,Dc,Hc,jc,Fc,Vc,Bc,zc],i=[$c,Uc,qc,Kc,Wc,Gc,Yc,Xc,ar,Xa,Ja,Jc,Zc,Qc,eu,tu,sr,ru,Za,nu],o=Nn(),a=me(o,Za);Le(a,i,a),Le(a,t.domain,a);const s=Nn(),l=Nn(),u=Nn();Le(o,t.domain,s),Le(o,t.scheme,l),Le(o,t.slashscheme,u),Le(s,i,a),Le(s,t.domain,s);const d=me(s,hi);me(a,hi,d),me(l,hi,d),me(u,hi,d);const c=me(a,or);Le(c,i,a),Le(c,t.domain,a);const f=Nn();Le(d,t.domain,f),Le(f,t.domain,f);const p=me(f,or);Le(p,t.domain,f);const y=Nn(K0);Le(p,t.tld,y),Le(p,t.utld,y),me(d,Ts,y);const v=me(f,ar);Le(v,t.domain,f),Le(y,t.domain,f),me(y,or,p),me(y,ar,v);const _=me(y,gi);Le(_,t.numeric,K0);const m=me(s,ar),g=me(s,or);Le(m,t.domain,s),Le(g,i,a),Le(g,t.domain,s);const b=Nn(xl);Le(g,t.tld,b),Le(g,t.utld,b),Le(b,t.domain,s),Le(b,i,a),me(b,or,g),me(b,ar,m),me(b,hi,d);const h=me(b,gi),E=Nn(xl);Le(h,t.numeric,E);const k=Nn(xl),T=Nn();Le(k,n,k),Le(k,r,T),Le(T,n,k),Le(T,r,T),me(b,sr,k),me(E,sr,k);const A=me(l,gi),C=me(u,gi),N=me(C,sr),O=me(N,sr);Le(l,t.domain,s),me(l,or,g),me(l,ar,m),Le(u,t.domain,s),me(u,or,g),me(u,ar,m),Le(A,t.domain,k),me(A,sr,k),Le(O,t.domain,k),Le(O,n,k),me(O,sr,k);const S=[[Xa,Ja],[Cc,Lc],[Pc,Ic],[Rc,xc],[Mc,Dc],[Hc,jc],[Fc,Vc],[Bc,zc]];for(let L=0;L<S.length;L++){const[R,D]=S[L],B=me(k,R);me(T,R,B),me(B,D,k);const
|
|
33
|
+
`):" "+x0(o[0]):"as no adapter specified";throw new je("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return r},adapters:th};function Yf(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ys(null,e)}function M0(e){return Yf(e),e.headers=zr.from(e.headers),e.data=Gf.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),y4.getAdapter(e.adapter||ap.adapter)(e).then(function(r){return Yf(e),r.data=Gf.call(e,e.transformResponse,r),r.headers=zr.from(r.headers),r},function(r){return g4(r)||(Yf(e),r&&r.response&&(r.response.data=Gf.call(e,e.transformResponse,r.response),r.response.headers=zr.from(r.response.headers))),Promise.reject(r)})}const D0=e=>e instanceof zr?e.toJSON():e;function aa(e,t){t=t||{};const n={};function r(u,d,c){return fe.isPlainObject(u)&&fe.isPlainObject(d)?fe.merge.call({caseless:c},u,d):fe.isPlainObject(d)?fe.merge({},d):fe.isArray(d)?d.slice():d}function i(u,d,c){if(fe.isUndefined(d)){if(!fe.isUndefined(u))return r(void 0,u,c)}else return r(u,d,c)}function o(u,d){if(!fe.isUndefined(d))return r(void 0,d)}function a(u,d){if(fe.isUndefined(d)){if(!fe.isUndefined(u))return r(void 0,u)}else return r(void 0,d)}function s(u,d,c){if(c in t)return r(u,d);if(c in e)return r(void 0,u)}const l={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(u,d)=>i(D0(u),D0(d),!0)};return fe.forEach(Object.keys(Object.assign({},e,t)),function(d){const c=l[d]||i,f=c(e[d],t[d],d);fe.isUndefined(f)&&c!==s||(n[d]=f)}),n}const b4="1.6.2",sp={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{sp[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const H0={};sp.transitional=function(t,n,r){function i(o,a){return"[Axios v"+b4+"] Transitional option '"+o+"'"+a+(r?". "+r:"")}return(o,a,s)=>{if(t===!1)throw new je(i(a," has been removed"+(n?" in "+n:"")),je.ERR_DEPRECATED);return n&&!H0[a]&&(H0[a]=!0,console.warn(i(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,a,s):!0}};function VO(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 o=r[i],a=t[o];if(a){const s=e[o],l=s===void 0||a(s,o,e);if(l!==!0)throw new je("option "+o+" must be "+l,je.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new je("Unknown option "+o,je.ERR_BAD_OPTION)}}const nh={assertOptions:VO,validators:sp},ai=nh.validators;class kc{constructor(t){this.defaults=t,this.interceptors={request:new P0,response:new P0}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=aa(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:o}=n;r!==void 0&&nh.assertOptions(r,{silentJSONParsing:ai.transitional(ai.boolean),forcedJSONParsing:ai.transitional(ai.boolean),clarifyTimeoutError:ai.transitional(ai.boolean)},!1),i!=null&&(fe.isFunction(i)?n.paramsSerializer={serialize:i}:nh.assertOptions(i,{encode:ai.function,serialize:ai.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=o&&fe.merge(o.common,o[n.method]);o&&fe.forEach(["delete","get","head","post","put","patch","common"],y=>{delete o[y]}),n.headers=zr.concat(a,o);const s=[];let l=!0;this.interceptors.request.forEach(function(v){typeof v.runWhen=="function"&&v.runWhen(n)===!1||(l=l&&v.synchronous,s.unshift(v.fulfilled,v.rejected))});const u=[];this.interceptors.response.forEach(function(v){u.push(v.fulfilled,v.rejected)});let d,c=0,f;if(!l){const y=[M0.bind(this),void 0];for(y.unshift.apply(y,s),y.push.apply(y,u),f=y.length,d=Promise.resolve(n);c<f;)d=d.then(y[c++],y[c++]);return d}f=s.length;let p=n;for(c=0;c<f;){const y=s[c++],v=s[c++];try{p=y(p)}catch(_){v.call(this,_);break}}try{d=M0.call(this,p)}catch(y){return Promise.reject(y)}for(c=0,f=u.length;c<f;)d=d.then(u[c++],u[c++]);return d}getUri(t){t=aa(this.defaults,t);const n=v4(t.baseURL,t.url);return d4(n,t.params,t.paramsSerializer)}}fe.forEach(["delete","get","head","options"],function(t){kc.prototype[t]=function(n,r){return this.request(aa(r||{},{method:t,url:n,data:(r||{}).data}))}});fe.forEach(["post","put","patch"],function(t){function n(r){return function(o,a,s){return this.request(aa(s||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:o,data:a}))}}kc.prototype[t]=n(),kc.prototype[t+"Form"]=n(!0)});const ec=kc;class lp{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const r=this;this.promise.then(i=>{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](i);r._listeners=null}),this.promise.then=i=>{let o;const a=new Promise(s=>{r.subscribe(s),o=s}).then(i);return a.cancel=function(){r.unsubscribe(o)},a},t(function(o,a,s){r.reason||(r.reason=new Ys(o,a,s),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 lp(function(i){t=i}),cancel:t}}}const BO=lp;function zO(e){return function(n){return e.apply(null,n)}}function $O(e){return fe.isObject(e)&&e.isAxiosError===!0}const rh={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(rh).forEach(([e,t])=>{rh[t]=e});const UO=rh;function _4(e){const t=new ec(e),n=e4(ec.prototype.request,t);return fe.extend(n,ec.prototype,t,{allOwnKeys:!0}),fe.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return _4(aa(e,i))},n}const mt=_4(ap);mt.Axios=ec;mt.CanceledError=Ys;mt.CancelToken=BO;mt.isCancel=g4;mt.VERSION=b4;mt.toFormData=nf;mt.AxiosError=je;mt.Cancel=mt.CanceledError;mt.all=function(t){return Promise.all(t)};mt.spread=zO;mt.isAxiosError=$O;mt.mergeConfig=aa;mt.AxiosHeaders=zr;mt.formToJSON=e=>m4(fe.isHTMLForm(e)?new FormData(e):e);mt.getAdapter=y4.getAdapter;mt.HttpStatusCode=UO;mt.default=mt;const Hr=mt;function qO(e){return da()?(xs(e),!0):!1}function cp(e){return typeof e=="function"?e():et(e)}const KO=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const WO=Object.prototype.toString,GO=e=>WO.call(e)==="[object Object]",YO=()=>{};function XO(e,t){function n(...r){return new Promise((i,o)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(i).catch(o)})}return n}const E4=e=>e();function JO(e=E4){const t=Te(!0);function n(){t.value=!1}function r(){t.value=!0}const i=(...o)=>{t.value&&e(...o)};return{isActive:Ms(t),pause:n,resume:r,eventFilter:i}}function ZO(e){return e||Qt()}function QO(e,t,n={}){const{eventFilter:r=E4,...i}=n;return ht(e,XO(r,t),i)}function eT(e,t,n={}){const{eventFilter:r,...i}=n,{eventFilter:o,pause:a,resume:s,isActive:l}=JO(r);return{stop:QO(e,t,{...i,eventFilter:o}),pause:a,resume:s,isActive:l}}function tT(e,t=!0,n){const r=ZO(n);r?Fn(e,r):t?e():Dn(e)}function nT(e){var t;const n=cp(e);return(t=n?.$el)!=null?t:n}const ih=KO?window:void 0;function j0(...e){let t,n,r,i;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,i]=e,t=ih):[t,n,r,i]=e,!t)return YO;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const o=[],a=()=>{o.forEach(d=>d()),o.length=0},s=(d,c,f,p)=>(d.addEventListener(c,f,p),()=>d.removeEventListener(c,f,p)),l=ht(()=>[nT(t),cp(i)],([d,c])=>{if(a(),!d)return;const f=GO(c)?{...c}:c;o.push(...n.flatMap(p=>r.map(y=>s(d,p,y,f))))},{immediate:!0,flush:"post"}),u=()=>{l(),a()};return qO(u),u}const Cl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ll="__vueuse_ssr_handlers__",rT=iT();function iT(){return Ll in Cl||(Cl[Ll]=Cl[Ll]||{}),Cl[Ll]}function oT(e,t){return rT[e]||t}function aT(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const yt={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},F0="vueuse-storage";function Nt(e,t,n,r={}){var i;const{flush:o="pre",deep:a=!0,listenToStorageChanges:s=!0,writeDefaults:l=!0,mergeDefaults:u=!1,shallow:d,window:c=ih,eventFilter:f,onError:p=C=>{console.error(C)},initOnMounted:y}=r,v=(d?jh:Te)(typeof t=="function"?t():t);if(!n)try{n=oT("getDefaultStorage",()=>{var C;return(C=ih)==null?void 0:C.localStorage})()}catch(C){p(C)}if(!n)return v;const _=cp(t),m=aT(_),g=(i=r.serializer)!=null?i:yt[m],{pause:b,resume:h}=eT(v,()=>E(v.value),{flush:o,deep:a,eventFilter:f});return c&&s&&tT(()=>{j0(c,"storage",A),j0(c,F0,T),y&&A()}),y||A(),v;function E(C){try{if(C==null)n.removeItem(e);else{const N=g.write(C),O=n.getItem(e);O!==N&&(n.setItem(e,N),c&&c.dispatchEvent(new CustomEvent(F0,{detail:{key:e,oldValue:O,newValue:N,storageArea:n}})))}}catch(N){p(N)}}function k(C){const N=C?C.newValue:n.getItem(e);if(N==null)return l&&_!=null&&n.setItem(e,g.write(_)),_;if(!C&&u){const O=g.read(N);return typeof u=="function"?u(O,_):m==="object"&&!Array.isArray(O)?{..._,...O}:O}else return typeof N!="string"?N:g.read(N)}function T(C){A(C.detail)}function A(C){if(!(C&&C.storageArea!==n)){if(C&&C.key==null){v.value=_;return}if(!(C&&C.key!==e)){b();try{C?.newValue!==g.write(v.value)&&(v.value=k(C))}catch(N){p(N)}finally{C?Dn(h):h()}}}}}const ba=xi("alert",()=>{const e=Te(""),t=Te("default"),n=Te("NotActive"),r=Te(NaN),i=Te("global");function o({message:a,type:s="default"}){e.value=a,t.value=s,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:o}}),sT="aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4vianca6w0s2x0a2z0ure5ba0by2idu3namex3narepublic11d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0cast4mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dabur3d1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0ardian6cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster6d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2tura4vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9dnavy5lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0a1b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp2w2ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4finity6ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2",lT="ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2",sa=(e,t)=>{for(const n in t)e[n]=t[n];return e},oh="numeric",ah="ascii",sh="alpha",tc="asciinumeric",Pl="alphanumeric",lh="domain",O4="emoji",cT="scheme",uT="slashscheme",V0="whitespace";function fT(e,t){return e in t||(t[e]=[]),t[e]}function ro(e,t,n){t[oh]&&(t[tc]=!0,t[Pl]=!0),t[ah]&&(t[tc]=!0,t[sh]=!0),t[tc]&&(t[Pl]=!0),t[sh]&&(t[Pl]=!0),t[Pl]&&(t[lh]=!0),t[O4]&&(t[lh]=!0);for(const r in t){const i=fT(r,n);i.indexOf(e)<0&&i.push(e)}}function dT(e,t){const n={};for(const r in t)t[r].indexOf(e)>=0&&(n[r]=!0);return n}function bn(e){e===void 0&&(e=null),this.j={},this.jr=[],this.jd=null,this.t=e}bn.groups={};bn.prototype={accepts(){return!!this.t},go(e){const t=this,n=t.j[e];if(n)return n;for(let r=0;r<t.jr.length;r++){const i=t.jr[r][0],o=t.jr[r][1];if(o&&i.test(e))return o}return t.jd},has(e,t){return t===void 0&&(t=!1),t?e in this.j:!!this.go(e)},ta(e,t,n,r){for(let i=0;i<e.length;i++)this.tt(e[i],t,n,r)},tr(e,t,n,r){r=r||bn.groups;let i;return t&&t.j?i=t:(i=new bn(t),n&&r&&ro(t,n,r)),this.jr.push([e,i]),i},ts(e,t,n,r){let i=this;const o=e.length;if(!o)return i;for(let a=0;a<o-1;a++)i=i.tt(e[a]);return i.tt(e[o-1],t,n,r)},tt(e,t,n,r){r=r||bn.groups;const i=this;if(t&&t.j)return i.j[e]=t,t;const o=t;let a,s=i.go(e);if(s?(a=new bn,sa(a.j,s.j),a.jr.push.apply(a.jr,s.jr),a.jd=s.jd,a.t=s.t):a=new bn,o){if(r)if(a.t&&typeof a.t=="string"){const l=sa(dT(a.t,r),n);ro(o,l,r)}else n&&ro(o,n,r);a.t=o}return i.j[e]=a,a}};const Le=(e,t,n,r,i)=>e.ta(t,n,r,i),Sn=(e,t,n,r,i)=>e.tr(t,n,r,i),B0=(e,t,n,r,i)=>e.ts(t,n,r,i),me=(e,t,n,r,i)=>e.tt(t,n,r,i),Ir="WORD",ch="UWORD",Ts="LOCALHOST",uh="TLD",fh="UTLD",nc="SCHEME",Do="SLASH_SCHEME",up="NUM",T4="WS",fp="NL",Xa="OPENBRACE",Ja="CLOSEBRACE",Cc="OPENBRACKET",Lc="CLOSEBRACKET",Pc="OPENPAREN",Ic="CLOSEPAREN",Rc="OPENANGLEBRACKET",xc="CLOSEANGLEBRACKET",Mc="FULLWIDTHLEFTPAREN",Dc="FULLWIDTHRIGHTPAREN",Hc="LEFTCORNERBRACKET",jc="RIGHTCORNERBRACKET",Fc="LEFTWHITECORNERBRACKET",Vc="RIGHTWHITECORNERBRACKET",Bc="FULLWIDTHLESSTHAN",zc="FULLWIDTHGREATERTHAN",$c="AMPERSAND",Uc="APOSTROPHE",qc="ASTERISK",hi="AT",Kc="BACKSLASH",Wc="BACKTICK",Gc="CARET",gi="COLON",dp="COMMA",Yc="DOLLAR",or="DOT",Xc="EQUALS",hp="EXCLAMATION",ar="HYPHEN",Jc="PERCENT",Zc="PIPE",Qc="PLUS",eu="POUND",tu="QUERY",pp="QUOTE",mp="SEMI",sr="SLASH",Za="TILDE",nu="UNDERSCORE",w4="EMOJI",ru="SYM";var A4=Object.freeze({__proto__:null,WORD:Ir,UWORD:ch,LOCALHOST:Ts,TLD:uh,UTLD:fh,SCHEME:nc,SLASH_SCHEME:Do,NUM:up,WS:T4,NL:fp,OPENBRACE:Xa,CLOSEBRACE:Ja,OPENBRACKET:Cc,CLOSEBRACKET:Lc,OPENPAREN:Pc,CLOSEPAREN:Ic,OPENANGLEBRACKET:Rc,CLOSEANGLEBRACKET:xc,FULLWIDTHLEFTPAREN:Mc,FULLWIDTHRIGHTPAREN:Dc,LEFTCORNERBRACKET:Hc,RIGHTCORNERBRACKET:jc,LEFTWHITECORNERBRACKET:Fc,RIGHTWHITECORNERBRACKET:Vc,FULLWIDTHLESSTHAN:Bc,FULLWIDTHGREATERTHAN:zc,AMPERSAND:$c,APOSTROPHE:Uc,ASTERISK:qc,AT:hi,BACKSLASH:Kc,BACKTICK:Wc,CARET:Gc,COLON:gi,COMMA:dp,DOLLAR:Yc,DOT:or,EQUALS:Xc,EXCLAMATION:hp,HYPHEN:ar,PERCENT:Jc,PIPE:Zc,PLUS:Qc,POUND:eu,QUERY:tu,QUOTE:pp,SEMI:mp,SLASH:sr,TILDE:Za,UNDERSCORE:nu,EMOJI:w4,SYM:ru});const Ro=/[a-z]/,Xf=/\p{L}/u,Jf=/\p{Emoji}/u,Zf=/\d/,z0=/\s/,$0=`
|
|
34
|
+
`,hT="️",pT="";let Il=null,Rl=null;function mT(e){e===void 0&&(e=[]);const t={};bn.groups=t;const n=new bn;Il==null&&(Il=U0(sT)),Rl==null&&(Rl=U0(lT)),me(n,"'",Uc),me(n,"{",Xa),me(n,"}",Ja),me(n,"[",Cc),me(n,"]",Lc),me(n,"(",Pc),me(n,")",Ic),me(n,"<",Rc),me(n,">",xc),me(n,"(",Mc),me(n,")",Dc),me(n,"「",Hc),me(n,"」",jc),me(n,"『",Fc),me(n,"』",Vc),me(n,"<",Bc),me(n,">",zc),me(n,"&",$c),me(n,"*",qc),me(n,"@",hi),me(n,"`",Wc),me(n,"^",Gc),me(n,":",gi),me(n,",",dp),me(n,"$",Yc),me(n,".",or),me(n,"=",Xc),me(n,"!",hp),me(n,"-",ar),me(n,"%",Jc),me(n,"|",Zc),me(n,"+",Qc),me(n,"#",eu),me(n,"?",tu),me(n,'"',pp),me(n,"/",sr),me(n,";",mp),me(n,"~",Za),me(n,"_",nu),me(n,"\\",Kc);const r=Sn(n,Zf,up,{[oh]:!0});Sn(r,Zf,r);const i=Sn(n,Ro,Ir,{[ah]:!0});Sn(i,Ro,i);const o=Sn(n,Xf,ch,{[sh]:!0});Sn(o,Ro),Sn(o,Xf,o);const a=Sn(n,z0,T4,{[V0]:!0});me(n,$0,fp,{[V0]:!0}),me(a,$0),Sn(a,z0,a);const s=Sn(n,Jf,w4,{[O4]:!0});Sn(s,Jf,s),me(s,hT,s);const l=me(s,pT);Sn(l,Jf,s);const u=[[Ro,i]],d=[[Ro,null],[Xf,o]];for(let c=0;c<Il.length;c++)si(n,Il[c],uh,Ir,u);for(let c=0;c<Rl.length;c++)si(n,Rl[c],fh,ch,d);ro(uh,{tld:!0,ascii:!0},t),ro(fh,{utld:!0,alpha:!0},t),si(n,"file",nc,Ir,u),si(n,"mailto",nc,Ir,u),si(n,"http",Do,Ir,u),si(n,"https",Do,Ir,u),si(n,"ftp",Do,Ir,u),si(n,"ftps",Do,Ir,u),ro(nc,{scheme:!0,ascii:!0},t),ro(Do,{slashscheme:!0,ascii:!0},t),e=e.sort((c,f)=>c[0]>f[0]?1:-1);for(let c=0;c<e.length;c++){const f=e[c][0],y=e[c][1]?{[cT]:!0}:{[uT]:!0};f.indexOf("-")>=0?y[lh]=!0:Ro.test(f)?Zf.test(f)?y[tc]=!0:y[ah]=!0:y[oh]=!0,B0(n,f,f,y)}return B0(n,"localhost",Ts,{ascii:!0}),n.jd=new bn(ru),{start:n,tokens:sa({groups:t},A4)}}function gT(e,t){const n=vT(t.replace(/[A-Z]/g,s=>s.toLowerCase())),r=n.length,i=[];let o=0,a=0;for(;a<r;){let s=e,l=null,u=0,d=null,c=-1,f=-1;for(;a<r&&(l=s.go(n[a]));)s=l,s.accepts()?(c=0,f=0,d=s):c>=0&&(c+=n[a].length,f++),u+=n[a].length,o+=n[a].length,a++;o-=c,a-=f,u-=c,i.push({t:d.t,v:t.slice(o-u,o),s:o-u,e:o})}return i}function vT(e){const t=[],n=e.length;let r=0;for(;r<n;){let i=e.charCodeAt(r),o,a=i<55296||i>56319||r+1===n||(o=e.charCodeAt(r+1))<56320||o>57343?e[r]:e.slice(r,r+2);t.push(a),r+=a.length}return t}function si(e,t,n,r,i){let o;const a=t.length;for(let s=0;s<a-1;s++){const l=t[s];e.j[l]?o=e.j[l]:(o=new bn(r),o.jr=i.slice(),e.j[l]=o),e=o}return o=new bn(n),o.jr=i.slice(),e.j[t[a-1]]=o,o}function U0(e){const t=[],n=[];let r=0,i="0123456789";for(;r<e.length;){let o=0;for(;i.indexOf(e[r+o])>=0;)o++;if(o>0){t.push(n.join(""));for(let a=parseInt(e.substring(r,r+o),10);a>0;a--)n.pop();r+=o}else n.push(e[r]),r++}return t}const ws={defaultProtocol:"http",events:null,format:q0,formatHref:q0,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function gp(e,t){t===void 0&&(t=null);let n=sa({},ws);e&&(n=sa(n,e instanceof gp?e.o:e));const r=n.ignoreTags,i=[];for(let o=0;o<r.length;o++)i.push(r[o].toUpperCase());this.o=n,t&&(this.defaultRender=t),this.ignoreTags=i}gp.prototype={o:ws,ignoreTags:[],defaultRender(e){return e},check(e){return this.get("validate",e.toString(),e)},get(e,t,n){const r=t!=null;let i=this.o[e];return i&&(typeof i=="object"?(i=n.t in i?i[n.t]:ws[e],typeof i=="function"&&r&&(i=i(t,n))):typeof i=="function"&&r&&(i=i(t,n.t,n)),i)},getObj(e,t,n){let r=this.o[e];return typeof r=="function"&&t!=null&&(r=r(t,n.t,n)),r},render(e){const t=e.render(this);return(this.get("render",null,e)||this.defaultRender)(t,e.t,e)}};function q0(e){return e}function S4(e,t){this.t="token",this.v=e,this.tk=t}S4.prototype={isLink:!1,toString(){return this.v},toHref(e){return this.toString()},toFormattedString(e){const t=this.toString(),n=e.get("truncate",t,this),r=e.get("format",t,this);return n&&r.length>n?r.substring(0,n)+"…":r},toFormattedHref(e){return e.get("formatHref",this.toHref(e.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(e){return e===void 0&&(e=ws.defaultProtocol),{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(e),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(e){return{type:this.t,value:this.toFormattedString(e),isLink:this.isLink,href:this.toFormattedHref(e),start:this.startIndex(),end:this.endIndex()}},validate(e){return e.get("validate",this.toString(),this)},render(e){const t=this,n=this.toHref(e.get("defaultProtocol")),r=e.get("formatHref",n,this),i=e.get("tagName",n,t),o=this.toFormattedString(e),a={},s=e.get("className",n,t),l=e.get("target",n,t),u=e.get("rel",n,t),d=e.getObj("attributes",n,t),c=e.getObj("events",n,t);return a.href=r,s&&(a.class=s),l&&(a.target=l),u&&(a.rel=u),d&&sa(a,d),{tagName:i,attributes:a,content:o,eventListeners:c}}};function of(e,t){class n extends S4{constructor(i,o){super(i,o),this.t=e}}for(const r in t)n.prototype[r]=t[r];return n.t=e,n}const K0=of("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),W0=of("text"),yT=of("nl"),xl=of("url",{isLink:!0,toHref(e){return e===void 0&&(e=ws.defaultProtocol),this.hasProtocol()?this.v:`${e}://${this.v}`},hasProtocol(){const e=this.tk;return e.length>=2&&e[0].t!==Ts&&e[1].t===gi}}),Nn=e=>new bn(e);function bT(e){let{groups:t}=e;const n=t.domain.concat([$c,qc,hi,Kc,Wc,Gc,Yc,Xc,ar,up,Jc,Zc,Qc,eu,sr,ru,Za,nu]),r=[Uc,gi,dp,or,hp,tu,pp,mp,Rc,xc,Xa,Ja,Lc,Cc,Pc,Ic,Mc,Dc,Hc,jc,Fc,Vc,Bc,zc],i=[$c,Uc,qc,Kc,Wc,Gc,Yc,Xc,ar,Xa,Ja,Jc,Zc,Qc,eu,tu,sr,ru,Za,nu],o=Nn(),a=me(o,Za);Le(a,i,a),Le(a,t.domain,a);const s=Nn(),l=Nn(),u=Nn();Le(o,t.domain,s),Le(o,t.scheme,l),Le(o,t.slashscheme,u),Le(s,i,a),Le(s,t.domain,s);const d=me(s,hi);me(a,hi,d),me(l,hi,d),me(u,hi,d);const c=me(a,or);Le(c,i,a),Le(c,t.domain,a);const f=Nn();Le(d,t.domain,f),Le(f,t.domain,f);const p=me(f,or);Le(p,t.domain,f);const y=Nn(K0);Le(p,t.tld,y),Le(p,t.utld,y),me(d,Ts,y);const v=me(f,ar);Le(v,t.domain,f),Le(y,t.domain,f),me(y,or,p),me(y,ar,v);const _=me(y,gi);Le(_,t.numeric,K0);const m=me(s,ar),g=me(s,or);Le(m,t.domain,s),Le(g,i,a),Le(g,t.domain,s);const b=Nn(xl);Le(g,t.tld,b),Le(g,t.utld,b),Le(b,t.domain,s),Le(b,i,a),me(b,or,g),me(b,ar,m),me(b,hi,d);const h=me(b,gi),E=Nn(xl);Le(h,t.numeric,E);const k=Nn(xl),T=Nn();Le(k,n,k),Le(k,r,T),Le(T,n,k),Le(T,r,T),me(b,sr,k),me(E,sr,k);const A=me(l,gi),C=me(u,gi),N=me(C,sr),O=me(N,sr);Le(l,t.domain,s),me(l,or,g),me(l,ar,m),Le(u,t.domain,s),me(u,or,g),me(u,ar,m),Le(A,t.domain,k),me(A,sr,k),Le(O,t.domain,k),Le(O,n,k),me(O,sr,k);const S=[[Xa,Ja],[Cc,Lc],[Pc,Ic],[Rc,xc],[Mc,Dc],[Hc,jc],[Fc,Vc],[Bc,zc]];for(let L=0;L<S.length;L++){const[R,D]=S[L],B=me(k,R);me(T,R,B),me(B,D,k);const q=Nn(xl);Le(B,n,q);const re=Nn();Le(B,r),Le(q,n,q),Le(q,r,re),Le(re,n,q),Le(re,r,re),me(q,D,k),me(re,D,k)}return me(o,Ts,b),me(o,fp,yT),{start:o,tokens:A4}}function _T(e,t,n){let r=n.length,i=0,o=[],a=[];for(;i<r;){let s=e,l=null,u=null,d=0,c=null,f=-1;for(;i<r&&!(l=s.go(n[i].t));)a.push(n[i++]);for(;i<r&&(u=l||s.go(n[i].t));)l=null,s=u,s.accepts()?(f=0,c=s):f>=0&&f++,i++,d++;if(f<0)i-=d,i<r&&(a.push(n[i]),i++);else{a.length>0&&(o.push(Qf(W0,t,a)),a=[]),i-=f,d-=f;const p=c.t,y=n.slice(i-d,i);o.push(Qf(p,t,y))}}return a.length>0&&o.push(Qf(W0,t,a)),o}function Qf(e,t,n){const r=n[0].s,i=n[n.length-1].e,o=t.slice(r,i);return new e(o,n)}const Zt={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function ET(){Zt.scanner=mT(Zt.customSchemes);for(let e=0;e<Zt.tokenQueue.length;e++)Zt.tokenQueue[e][1]({scanner:Zt.scanner});Zt.parser=bT(Zt.scanner.tokens);for(let e=0;e<Zt.pluginQueue.length;e++)Zt.pluginQueue[e][1]({scanner:Zt.scanner,parser:Zt.parser});Zt.initialized=!0}function OT(e){return Zt.initialized||ET(),_T(Zt.parser.start,e,gT(Zt.scanner.start,e))}var TT={amp:"&",gt:">",lt:"<",nbsp:" ",quot:'"'},wT=/^#[xX]([A-Fa-f0-9]+)$/,AT=/^#([0-9]+)$/,ST=/^([A-Za-z0-9]+)$/,NT=function(){function e(t){this.named=t}return e.prototype.parse=function(t){if(t){var n=t.match(wT);if(n)return String.fromCharCode(parseInt(n[1],16));if(n=t.match(AT),n)return String.fromCharCode(parseInt(n[1],10));if(n=t.match(ST),n)return this.named[n[1]]||"&"+n[1]+";"}},e}(),kT=/[\t\n\f ]/,CT=/[A-Za-z]/,LT=/\r\n?/g;function zt(e){return kT.test(e)}function G0(e){return CT.test(e)}function PT(e){return e.replace(LT,`
|
|
35
35
|
`)}var IT=function(){function e(t,n,r){r===void 0&&(r="precompile"),this.delegate=t,this.entityParser=n,this.mode=r,this.state="beforeData",this.line=-1,this.column=-1,this.input="",this.index=-1,this.tagNameBuffer="",this.states={beforeData:function(){var i=this.peek();if(i==="<"&&!this.isIgnoredEndTag())this.transitionTo("tagOpen"),this.markTagStart(),this.consume();else{if(this.mode==="precompile"&&i===`
|
|
36
36
|
`){var o=this.tagNameBuffer.toLowerCase();(o==="pre"||o==="textarea")&&this.consume()}this.transitionTo("data"),this.delegate.beginData()}},data:function(){var i=this.peek(),o=this.tagNameBuffer;i==="<"&&!this.isIgnoredEndTag()?(this.delegate.finishData(),this.transitionTo("tagOpen"),this.markTagStart(),this.consume()):i==="&"&&o!=="script"&&o!=="style"?(this.consume(),this.delegate.appendToData(this.consumeCharRef()||"&")):(this.consume(),this.delegate.appendToData(i))},tagOpen:function(){var i=this.consume();i==="!"?this.transitionTo("markupDeclarationOpen"):i==="/"?this.transitionTo("endTagOpen"):(i==="@"||i===":"||G0(i))&&(this.transitionTo("tagName"),this.tagNameBuffer="",this.delegate.beginStartTag(),this.appendToTagName(i))},markupDeclarationOpen:function(){var i=this.consume();if(i==="-"&&this.peek()==="-")this.consume(),this.transitionTo("commentStart"),this.delegate.beginComment();else{var o=i.toUpperCase()+this.input.substring(this.index,this.index+6).toUpperCase();o==="DOCTYPE"&&(this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.transitionTo("doctype"),this.delegate.beginDoctype&&this.delegate.beginDoctype())}},doctype:function(){var i=this.consume();zt(i)&&this.transitionTo("beforeDoctypeName")},beforeDoctypeName:function(){var i=this.consume();zt(i)||(this.transitionTo("doctypeName"),this.delegate.appendToDoctypeName&&this.delegate.appendToDoctypeName(i.toLowerCase()))},doctypeName:function(){var i=this.consume();zt(i)?this.transitionTo("afterDoctypeName"):i===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeName&&this.delegate.appendToDoctypeName(i.toLowerCase())},afterDoctypeName:function(){var i=this.consume();if(!zt(i))if(i===">")this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData");else{var o=i.toUpperCase()+this.input.substring(this.index,this.index+5).toUpperCase(),a=o.toUpperCase()==="PUBLIC",s=o.toUpperCase()==="SYSTEM";(a||s)&&(this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.consume()),a?this.transitionTo("afterDoctypePublicKeyword"):s&&this.transitionTo("afterDoctypeSystemKeyword")}},afterDoctypePublicKeyword:function(){var i=this.peek();zt(i)?(this.transitionTo("beforeDoctypePublicIdentifier"),this.consume()):i==='"'?(this.transitionTo("doctypePublicIdentifierDoubleQuoted"),this.consume()):i==="'"?(this.transitionTo("doctypePublicIdentifierSingleQuoted"),this.consume()):i===">"&&(this.consume(),this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData"))},doctypePublicIdentifierDoubleQuoted:function(){var i=this.consume();i==='"'?this.transitionTo("afterDoctypePublicIdentifier"):i===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypePublicIdentifier&&this.delegate.appendToDoctypePublicIdentifier(i)},doctypePublicIdentifierSingleQuoted:function(){var i=this.consume();i==="'"?this.transitionTo("afterDoctypePublicIdentifier"):i===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypePublicIdentifier&&this.delegate.appendToDoctypePublicIdentifier(i)},afterDoctypePublicIdentifier:function(){var i=this.consume();zt(i)?this.transitionTo("betweenDoctypePublicAndSystemIdentifiers"):i===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):i==='"'?this.transitionTo("doctypeSystemIdentifierDoubleQuoted"):i==="'"&&this.transitionTo("doctypeSystemIdentifierSingleQuoted")},betweenDoctypePublicAndSystemIdentifiers:function(){var i=this.consume();zt(i)||(i===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):i==='"'?this.transitionTo("doctypeSystemIdentifierDoubleQuoted"):i==="'"&&this.transitionTo("doctypeSystemIdentifierSingleQuoted"))},doctypeSystemIdentifierDoubleQuoted:function(){var i=this.consume();i==='"'?this.transitionTo("afterDoctypeSystemIdentifier"):i===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeSystemIdentifier&&this.delegate.appendToDoctypeSystemIdentifier(i)},doctypeSystemIdentifierSingleQuoted:function(){var i=this.consume();i==="'"?this.transitionTo("afterDoctypeSystemIdentifier"):i===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeSystemIdentifier&&this.delegate.appendToDoctypeSystemIdentifier(i)},afterDoctypeSystemIdentifier:function(){var i=this.consume();zt(i)||i===">"&&(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData"))},commentStart:function(){var i=this.consume();i==="-"?this.transitionTo("commentStartDash"):i===">"?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData(i),this.transitionTo("comment"))},commentStartDash:function(){var i=this.consume();i==="-"?this.transitionTo("commentEnd"):i===">"?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData("-"),this.transitionTo("comment"))},comment:function(){var i=this.consume();i==="-"?this.transitionTo("commentEndDash"):this.delegate.appendToCommentData(i)},commentEndDash:function(){var i=this.consume();i==="-"?this.transitionTo("commentEnd"):(this.delegate.appendToCommentData("-"+i),this.transitionTo("comment"))},commentEnd:function(){var i=this.consume();i===">"?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData("--"+i),this.transitionTo("comment"))},tagName:function(){var i=this.consume();zt(i)?this.transitionTo("beforeAttributeName"):i==="/"?this.transitionTo("selfClosingStartTag"):i===">"?(this.delegate.finishTag(),this.transitionTo("beforeData")):this.appendToTagName(i)},endTagName:function(){var i=this.consume();zt(i)?(this.transitionTo("beforeAttributeName"),this.tagNameBuffer=""):i==="/"?(this.transitionTo("selfClosingStartTag"),this.tagNameBuffer=""):i===">"?(this.delegate.finishTag(),this.transitionTo("beforeData"),this.tagNameBuffer=""):this.appendToTagName(i)},beforeAttributeName:function(){var i=this.peek();if(zt(i)){this.consume();return}else i==="/"?(this.transitionTo("selfClosingStartTag"),this.consume()):i===">"?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):i==="="?(this.delegate.reportSyntaxError("attribute name cannot start with equals sign"),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(i)):(this.transitionTo("attributeName"),this.delegate.beginAttribute())},attributeName:function(){var i=this.peek();zt(i)?(this.transitionTo("afterAttributeName"),this.consume()):i==="/"?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):i==="="?(this.transitionTo("beforeAttributeValue"),this.consume()):i===">"?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):i==='"'||i==="'"||i==="<"?(this.delegate.reportSyntaxError(i+" is not a valid character within attribute names"),this.consume(),this.delegate.appendToAttributeName(i)):(this.consume(),this.delegate.appendToAttributeName(i))},afterAttributeName:function(){var i=this.peek();if(zt(i)){this.consume();return}else i==="/"?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):i==="="?(this.consume(),this.transitionTo("beforeAttributeValue")):i===">"?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(i))},beforeAttributeValue:function(){var i=this.peek();zt(i)?this.consume():i==='"'?(this.transitionTo("attributeValueDoubleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):i==="'"?(this.transitionTo("attributeValueSingleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):i===">"?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.transitionTo("attributeValueUnquoted"),this.delegate.beginAttributeValue(!1),this.consume(),this.delegate.appendToAttributeValue(i))},attributeValueDoubleQuoted:function(){var i=this.consume();i==='"'?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):i==="&"?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(i)},attributeValueSingleQuoted:function(){var i=this.consume();i==="'"?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):i==="&"?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(i)},attributeValueUnquoted:function(){var i=this.peek();zt(i)?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("beforeAttributeName")):i==="/"?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):i==="&"?(this.consume(),this.delegate.appendToAttributeValue(this.consumeCharRef()||"&")):i===">"?(this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.consume(),this.delegate.appendToAttributeValue(i))},afterAttributeValueQuoted:function(){var i=this.peek();zt(i)?(this.consume(),this.transitionTo("beforeAttributeName")):i==="/"?(this.consume(),this.transitionTo("selfClosingStartTag")):i===">"?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},selfClosingStartTag:function(){var i=this.peek();i===">"?(this.consume(),this.delegate.markTagAsSelfClosing(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},endTagOpen:function(){var i=this.consume();(i==="@"||i===":"||G0(i))&&(this.transitionTo("endTagName"),this.tagNameBuffer="",this.delegate.beginEndTag(),this.appendToTagName(i))}},this.reset()}return e.prototype.reset=function(){this.transitionTo("beforeData"),this.input="",this.tagNameBuffer="",this.index=0,this.line=1,this.column=0,this.delegate.reset()},e.prototype.transitionTo=function(t){this.state=t},e.prototype.tokenize=function(t){this.reset(),this.tokenizePart(t),this.tokenizeEOF()},e.prototype.tokenizePart=function(t){for(this.input+=PT(t);this.index<this.input.length;){var n=this.states[this.state];if(n!==void 0)n.call(this);else throw new Error("unhandled state "+this.state)}},e.prototype.tokenizeEOF=function(){this.flushData()},e.prototype.flushData=function(){this.state==="data"&&(this.delegate.finishData(),this.transitionTo("beforeData"))},e.prototype.peek=function(){return this.input.charAt(this.index)},e.prototype.consume=function(){var t=this.peek();return this.index++,t===`
|
|
37
|
-
`?(this.line++,this.column=0):this.column++,t},e.prototype.consumeCharRef=function(){var t=this.input.indexOf(";",this.index);if(t!==-1){var n=this.input.slice(this.index,t),r=this.entityParser.parse(n);if(r){for(var i=n.length;i;)this.consume(),i--;return this.consume(),r}}},e.prototype.markTagStart=function(){this.delegate.tagOpen()},e.prototype.appendToTagName=function(t){this.tagNameBuffer+=t,this.delegate.appendToTagName(t)},e.prototype.isIgnoredEndTag=function(){var t=this.tagNameBuffer;return t==="title"&&this.input.substring(this.index,this.index+8)!=="</title>"||t==="style"&&this.input.substring(this.index,this.index+8)!=="</style>"||t==="script"&&this.input.substring(this.index,this.index+9)!=="<\/script>"},e}(),RT=function(){function e(t,n){n===void 0&&(n={}),this.options=n,this.token=null,this.startLine=1,this.startColumn=0,this.tokens=[],this.tokenizer=new IT(this,t,n.mode),this._currentAttribute=void 0}return e.prototype.tokenize=function(t){return this.tokens=[],this.tokenizer.tokenize(t),this.tokens},e.prototype.tokenizePart=function(t){return this.tokens=[],this.tokenizer.tokenizePart(t),this.tokens},e.prototype.tokenizeEOF=function(){return this.tokens=[],this.tokenizer.tokenizeEOF(),this.tokens[0]},e.prototype.reset=function(){this.token=null,this.startLine=1,this.startColumn=0},e.prototype.current=function(){var t=this.token;if(t===null)throw new Error("token was unexpectedly null");if(arguments.length===0)return t;for(var n=0;n<arguments.length;n++)if(t.type===arguments[n])return t;throw new Error("token type was unexpectedly "+t.type)},e.prototype.push=function(t){this.token=t,this.tokens.push(t)},e.prototype.currentAttribute=function(){return this._currentAttribute},e.prototype.addLocInfo=function(){this.options.loc&&(this.current().loc={start:{line:this.startLine,column:this.startColumn},end:{line:this.tokenizer.line,column:this.tokenizer.column}}),this.startLine=this.tokenizer.line,this.startColumn=this.tokenizer.column},e.prototype.beginDoctype=function(){this.push({type:"Doctype",name:""})},e.prototype.appendToDoctypeName=function(t){this.current("Doctype").name+=t},e.prototype.appendToDoctypePublicIdentifier=function(t){var n=this.current("Doctype");n.publicIdentifier===void 0?n.publicIdentifier=t:n.publicIdentifier+=t},e.prototype.appendToDoctypeSystemIdentifier=function(t){var n=this.current("Doctype");n.systemIdentifier===void 0?n.systemIdentifier=t:n.systemIdentifier+=t},e.prototype.endDoctype=function(){this.addLocInfo()},e.prototype.beginData=function(){this.push({type:"Chars",chars:""})},e.prototype.appendToData=function(t){this.current("Chars").chars+=t},e.prototype.finishData=function(){this.addLocInfo()},e.prototype.beginComment=function(){this.push({type:"Comment",chars:""})},e.prototype.appendToCommentData=function(t){this.current("Comment").chars+=t},e.prototype.finishComment=function(){this.addLocInfo()},e.prototype.tagOpen=function(){},e.prototype.beginStartTag=function(){this.push({type:"StartTag",tagName:"",attributes:[],selfClosing:!1})},e.prototype.beginEndTag=function(){this.push({type:"EndTag",tagName:""})},e.prototype.finishTag=function(){this.addLocInfo()},e.prototype.markTagAsSelfClosing=function(){this.current("StartTag").selfClosing=!0},e.prototype.appendToTagName=function(t){this.current("StartTag","EndTag").tagName+=t},e.prototype.beginAttribute=function(){this._currentAttribute=["","",!1]},e.prototype.appendToAttributeName=function(t){this.currentAttribute()[0]+=t},e.prototype.beginAttributeValue=function(t){this.currentAttribute()[2]=t},e.prototype.appendToAttributeValue=function(t){this.currentAttribute()[1]+=t},e.prototype.finishAttributeValue=function(){this.current("StartTag").attributes.push(this._currentAttribute)},e.prototype.reportSyntaxError=function(t){this.current().syntaxError=t},e}();function xT(e,t){var n=new RT(new NT(TT),t);return n.tokenize(e)}const N4="LinkifyResult",iu="StartTag",k4="EndTag",dh="Chars",MT="Comment",DT="Doctype";function HT(e,t){t===void 0&&(t={});const n=xT(e),r=[],i=[],o=new gp(t,VT);for(let a=0;a<n.length;a++){const s=n[a];if(s.type===iu){r.push(s);const l=s.tagName.toUpperCase();if(!(l==="A"||o.ignoreTags.indexOf(l)>=0))continue;let d=r.length;FT(l,n,++a,r),a+=r.length-d-1}else if(s.type!==dh)r.push(s);else{const l=jT(s.chars,o);r.push.apply(r,l)}}for(let a=0;a<r.length;a++){const s=r[a];switch(s.type){case N4:i.push(s.rendered);break;case iu:{let l="<"+s.tagName;s.attributes.length>0&&(l+=" "+zT(s.attributes).join(" ")),s.selfClosing&&(l+=" /"),l+=">",i.push(l);break}case k4:i.push(`</${s.tagName}>`);break;case dh:i.push(hh(s.chars));break;case MT:i.push(`<!--${hh(s.chars)}-->`);break;case DT:{let l=`<!DOCTYPE ${s.name}`;s.publicIdentifier&&(l+=` PUBLIC "${s.publicIdentifier}"`),s.systemIdentifier&&(l+=` "${s.systemIdentifier}"`),l+=">",i.push(l);break}}}return i.join("")}function jT(e,t){const n=OT(e),r=[];for(let i=0;i<n.length;i++){const o=n[i];o.t==="nl"&&t.get("nl2br")?r.push({type:iu,tagName:"br",attributes:[],selfClosing:!0}):!o.isLink||!t.check(o)?r.push({type:dh,chars:o.toString()}):r.push({type:N4,rendered:t.render(o)})}return r}function FT(e,t,n,r){let i=1;for(;n<t.length&&i>0;){let o=t[n];o.type===iu&&o.tagName.toUpperCase()===e?i++:o.type===k4&&o.tagName.toUpperCase()===e&&i--,r.push(o),n++}return r}function VT(e){let{tagName:t,attributes:n,content:r}=e;return`<${t} ${BT(n)}>${hh(r)}</${t}>`}function hh(e){return e.replace(/</g,"<").replace(/>/g,">")}function C4(e){return e.replace(/"/g,""")}function BT(e){const t=[];for(const n in e){const r=e[n]+"";t.push(`${n}="${C4(r)}"`)}return t.join(" ")}function zT(e){const t=[];for(let n=0;n<e.length;n++){const r=e[n][0],i=e[n][1]+"";t.push(`${r}="${C4(i)}"`)}return t}const L4="en",$T=document.documentElement.lang.slice(0,2)||L4,P4=y7({warnHtmlMessage:!1,fallbackRootWithEmptyString:!1,silentTranslationWarn:!0,allowComposition:!0,legacy:!1,globalInjection:!0,locale:$T,fallbackLocale:L4}),je=P4.global;function UT(e){for(const t in e)je.setLocaleMessage(t,e[t])}var ph=(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))(ph||{}),kt=(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))(kt||{}),la=(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))(la||{}),I4=(e=>(e.Selective="selective",e.Wholesale="wholesale",e.Simplified="simplified",e.Template="template",e.Event="event",e))(I4||{}),R4=(e=>(e.Default="default",e.Minimal="minimal",e))(R4||{}),x4=(e=>(e[e.InitialState=0]="InitialState",e[e.WaitingForResponse=1]="WaitingForResponse",e[e.ReadyToPay=2]="ReadyToPay",e[e.PaymentSuccess=3]="PaymentSuccess",e))(x4||{}),M4=(e=>(e[e.None=0]="None",e[e.Hourly=1]="Hourly",e[e.FullDayEvent=2]="FullDayEvent",e[e.Weekly=3]="Weekly",e))(M4||{}),D4=(e=>(e[e.InitialState=0]="InitialState",e[e.AvailabilityState=1]="AvailabilityState",e[e.ReservationState=2]="ReservationState",e[e.PaymentState=3]="PaymentState",e))(D4||{});function qT(e){switch(e){case kt.PerUnit:return je.t("general.perUnit");case kt.PerPerson:return je.t("general.perPerson");case kt.PerAdult:return je.t("general.perAdult");case kt.PerChild:return je.t("general.perChild");case kt.PerNight:return je.t("general.perNight");case kt.PerPersonPerNight:return je.t("general.perPersonPerNight");case kt.PerAdultPerNight:return je.t("general.perAdultPerNight");case kt.PerChildPerNight:return je.t("general.perChildPerNight")}}function H4(e,t,n,r=0,i=0){switch(t){case kt.PerUnit:return e;case kt.PerPerson:return e*(r+i);case kt.PerAdult:return e*r;case kt.PerChild:return e*i;case kt.PerNight:return e*n;case kt.PerPersonPerNight:return e*(r+i)*n;case kt.PerAdultPerNight:return e*r*n;case kt.PerChildPerNight:return e*i*n;case kt.OneTimePayment:return e;default:return e}}function Y0(e){return e===void 0?e:e.replace(/([!?.])([a-z])/g,function(t,n,r){return r.toUpperCase()})}function KT(e){return e!==void 0?HT(e,{defaultProtocol:"https",target:"_blank",rel:"noopener",nl2br:!0}):""}function X0(e){switch(e){case 2:return je.t("booking.reservation.nameTitleMr");case 3:return je.t("booking.reservation.nameTitleMs");case 4:return je.t("booking.reservation.nameTitleMrs");case 5:return je.t("booking.reservation.nameTitleDr");default:return""}}function WT(e){let t,n,r,i,o,a,s,l,u,d=0,c=0,f="";const p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",y=[];if(!e)return e;do t=e.charCodeAt(d++),n=e.charCodeAt(d++),r=e.charCodeAt(d++),l=t<<16|n<<8|r,i=63&l>>18,o=63&l>>12,a=63&l>>6,s=63&l,y[c++]=p.charAt(i)+p.charAt(o)+p.charAt(a)+p.charAt(s);while(d<e.length);return f=y.join(""),u=e.length%3,(u?f.slice(0,u-3):f)+"===".slice(u||3)}function GT(e){return e.toLowerCase()}function YT(e){return new Date(e).toISOString()}function vp(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 Kr(e=!1){return e?document.documentElement.lang||"en-US":document.documentElement.lang.slice(0,2)||"en"}function af(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 rc(e,t=0){let n=new Date(e);n=new Date(n.setDate(n.getDate()+t));let r;switch(Kr()){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 XT(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 JT(e){let t=e;const n=[6,7],r=e.split(",").map(Number);let i;switch(Kr()){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=je.t("general.everyday"):n.some(o=>r.includes(o))?t=je.t("general.weekends"):XT(r)&&r.length>1?t=`${i[r[0]]} - ${i[r[r.length-1]]}`:t="-",t}function ZT(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?`${rc(e)}}`:`${rc(e)} - ${rc(t)}`}function ic(e){let t=e;const n=e.split(":");return n[2]&&(t=`${n[0]}:${n[1]}`),t}function QT(e,t){return e===t?ic(e):`${ic(e)} - ${ic(t)}`}function ew(e,t){return new Intl.NumberFormat(Kr(!0),{style:"currency",currency:t}).format(e)}function tw(e){return e?e.charAt(0).toUpperCase()+e.slice(1):""}const J0=2,Z0=0,Q0=()=>new Date(new Date(new Date().setDate(new Date().getDate()+1)).setHours(12,0,0,0)),e2=()=>new Date(new Date(new Date().setDate(new Date().getDate()+2)).setHours(12,0,0,0)),t2=NaN,ou=xi("availability",()=>{const e=Nt("konnectio_expiry_date",new Date,void 0,{serializer:yt.date}),t=Nt("konnectio_adults",J0,void 0,{serializer:yt.number}),n=Nt("konnectio_children",Z0,void 0,{serializer:yt.number}),r=Nt("konnectio_arrival_date",Q0(),void 0,{serializer:yt.date}),i=Nt("konnectio_departure_date",e2(),void 0,{serializer:yt.date}),o=Nt("konnectio_location",t2,void 0,{serializer:yt.number});function a(p){const y=new Date(p),v=""+y.getFullYear();let _=""+(y.getMonth()+1),m=""+y.getDate();return _.length<2&&(_="0"+_),m.length<2&&(m="0"+m),[v,_,m].join("-")}const s=de(()=>new Date(e.value)<new Date),l=de(()=>a(r.value)),u=de(()=>a(i.value)),d=de(()=>vp(r.value,i.value));function c(){const y=new Date(new Date().getTime()+432e5);e.value=y}function f(){t.value=J0,n.value=Z0,r.value=Q0(),i.value=e2(),o.value=t2,c()}return{fromDate:l,toDate:u,expiryDate:e,adults:t,children:n,arrivalDate:r,departureDate:i,location:o,isExpired:s,nights:d,setNewExpiryDate:c,reset:f}}),mh=e=>typeof e=="function",nw=Object.prototype.toString,rw=e=>nw.call(e),ed=e=>rw(e)==="[object Object]";function gh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function n2(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 vh(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?n2(Object(n),!0).forEach(function(r){gh(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):n2(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var iw=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new Promise(function(r,i){if(!(typeof document>"u")){var o=document.head||document.getElementsByTagName("head")[0],a=document.createElement("script");if(a.async=!0,a.src=t,a.defer=n.defer,n.preconnectOrigin){var s=document.createElement("link");s.href=n.preconnectOrigin,s.rel="preconnect",o.appendChild(s)}o.appendChild(a),a.onload=r,a.onerror=i}})},ow=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 o=r.shift();if(!(!ed(t)||!ed(o))){for(var a in o)ed(o[a])?(t[a]||Object.assign(t,gh({},a,{})),e(t[a],o[a])):Object.assign(t,gh({},a,o[a]));return e.apply(void 0,[t].concat(r))}},Xs=function(){return!(typeof window>"u"||typeof document>"u")},r2=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;Xs()},aw=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return r2('Missing "appName" property inside the plugin options.',t.app_name==null),r2('Missing "name" property in the route.',t.screen_name==null),t};function sw(){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}}}},j4={},F4=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=lw();j4=ow(n,t)},On=function(){return j4},po=function(){var e,t=On(),n=t.globalObjectName;!Xs()||typeof window[n]>"u"||(e=window)[n].apply(e,arguments)},yp=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=On(),i=r.config,o=r.includes;po.apply(void 0,["config",i.id].concat(t)),Array.isArray(o)&&o.forEach(function(a){po.apply(void 0,["config",a.id].concat(t))})},i2=function(t,n){Xs()&&(window["ga-disable-".concat(t)]=n)},V4=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,t=On(),n=t.config,r=t.includes;i2(n.id,e),Array.isArray(r)&&r.forEach(function(i){return i2(i.id,e)})},B4=function(){V4(!0)},cw=function(){V4(!1)},z4,uw=function(t){z4=t},bp=function(){return z4},$n=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=On(),r=n.includes,i=n.defaultGroupName;t.send_to==null&&Array.isArray(r)&&r.length&&(t.send_to=r.map(function(o){return o.id}).concat(i)),po("event",e,t)},$4=function(e){if(Xs()){var t;if(typeof e=="string")t={page_path:e};else if(e.path||e.fullPath){var n=On(),r=n.pageTrackerUseFullPath,i=n.pageTrackerPrependBase,o=bp(),a=o&&o.options.base,s=r?e.fullPath:e.path;t=vh(vh({},e.name&&{page_title:e.name}),{},{page_path:i?sw(s,a):s})}else t=e;t.page_location==null&&(t.page_location=window.location.href),t.send_page_view==null&&(t.send_page_view=!0),$n("page_view",t)}},U4=function(e){var t=On(),n=t.appName;if(e){var r;typeof e=="string"?r={screen_name:e}:r=e,r.app_name=r.app_name||n,$n("screen_view",r)}},fw=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];$n.apply(void 0,["exception"].concat(t))},dw=function(e){yp("linker",e)},hw=function(e){$n("timing_complete",e)},pw=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];po.apply(void 0,["set"].concat(t))},mw=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];$n.apply(void 0,["refund"].concat(t))},q4=function(e){$n("purchase",e)},gw=function(e){yp({custom_map:e})},vw=Object.freeze({__proto__:null,query:po,config:yp,optOut:B4,optIn:cw,pageview:$4,screenview:U4,exception:fw,linker:dw,time:hw,set:pw,refund:mw,purchase:q4,customMap:gw,event:$n}),yw=function(t){t.config.globalProperties.$gtag=vw},bw=function(){if(Xs()){var e=On(),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||B4(),window[n]}},o2=function(t){return vh({send_page_view:!1},t)},K4=function(){var e=On(),t=e.config,n=e.includes;po("config",t.id,o2(t.params)),Array.isArray(n)&&n.forEach(function(r){po("config",r.id,o2(r.params))})},a2=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=On(),r=n.appName,i=n.pageTrackerTemplate,o=n.pageTrackerScreenviewEnabled,a=n.pageTrackerSkipSamePath;if(!(a&&e.path===t.path)){var s=e;if(mh(i)?s=i(e,t):o&&(s=aw({app_name:r,screen_name:e.name})),o){U4(s);return}$4(s)}},s2=function(t){var n=On(),r=n.pageTrackerExcludedRoutes;return r.includes(t.path)||r.includes(t.name)},_w=function(){var e=On(),t=e.onBeforeTrack,n=e.onAfterTrack,r=bp();r.isReady().then(function(){Dn().then(function(){var i=r.currentRoute;K4(),!s2(i.value)&&a2(i.value)}),r.afterEach(function(i,o){Dn().then(function(){s2(i)||(mh(t)&&t(i,o),a2(i,o),mh(n)&&n(i,o))})})})},W4=function(){var e=On(),t=e.onReady,n=e.onError,r=e.globalObjectName,i=e.globalDataLayerName,o=e.config,a=e.customResourceURL,s=e.customPreconnectOrigin,l=e.deferScriptLoad,u=e.pageTrackerEnabled,d=e.disableScriptLoad,c=!!(u&&bp());if(bw(),c?_w():K4(),!d)return iw("".concat(a,"?id=").concat(o.id,"&l=").concat(i),{preconnectOrigin:s,defer:l}).then(function(){t&&t(window[r])}).catch(function(f){return n&&n(f),f})},Ew=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;yw(t),F4(n),uw(r),On().bootstrap&&W4()};const G4=xi("applyGiftCard",()=>{const{display:e}=ba(),{bearerToken:t}=Oi(mo()),n=Te(0),r=Te(""),i=Te(""),o=Te(""),a=Te(!1),s=Te(!1);async function l(){r.value!==""?(s.value=!0,await Hr.get("https://production.hotel-service.konnectio.dk/api/gift-card/validate",{params:{giftcardCode:r.value,lang:Kr()},headers:{Authorization:t.value,Accept:"application/json","Fresh-Booking-Ver":"4.0.50"}}).then(d=>{const{valid:c,amount:f,expirationDate:p,productName:y}=d.data;c?(n.value=f,i.value=p,o.value=y,a.value=!0,e({message:je.t("alert.success.giftCardApplied"),type:"success"})):(a.value=!1,e({message:je.t("alert.error.giftCardInvalid"),type:"warning"}))}),s.value=!1):e({message:je.t("alert.error.giftCardEmpty"),type:"error"})}function u(){n.value=0,r.value="",a.value=!1,e({message:je.t("alert.success.giftCardRemoved"),type:"success"})}return{amount:n,voucher:r,expirationDate:i,productName:o,isValid:a,isLoading:s,apply:l,reset:u}}),Y4=xi("payment",()=>{const{display:e}=ba(),{paymentGatewayId:t}=Oi(mo()),n=Te({}),r=de(()=>t.value!==la.None),i=de(()=>n.value&&n.value.guest?n.value.guest.name:""),o=de(()=>n.value&&n.value.guest?n.value.guest.email:""),a=de(()=>n.value&&n.value.guest?n.value.guest.phone:""),s=de(()=>n.value.adults),l=de(()=>n.value.children),u=de(()=>n.value.totalPrice||0),d=de(()=>n.value.totalVAT||0),c=de(()=>n.value.offerDate),f=de(()=>u.value-d.value),p=de(()=>n.value.orderLinesSummary),y=de(()=>p.value?p.value.length>0:!1);async function v({callback:_,response:m}){if(!m.error)if(!m.offer)e({message:je.t("booking.other.errorMessage"),type:"warning"});else if(n.value=m.offer,m.easyPayment)if(_(),t.value===la.ReePay){const g=new Reepay.EmbeddedCheckout(m.easyPayment.paymentID,{html_element:"fresh-booking-payment-checkout"});g.addEventHandler(ph.Accept,()=>{e({message:je.t("alert.success.payment"),type:"success"}),_()}),g.addEventHandler(ph.Error,()=>{e({message:je.t("alert.error.payment"),type:"warning"})})}else{const g={checkoutKey:m.easyPayment.checkoutSecretKey,paymentId:m.easyPayment.paymentID,containerId:"fresh-booking-payment-checkout",language:Kr()==="da"?"da-DK":"en-GB"},b=new Dibs.Checkout(g);b.on("payment-completed",()=>{console.log("Konnectio: Payment completed!"),e({message:je.t("alert.success.payment"),type:"success"}),q4({transaction_id:m.offer.uniqueID,affiliation:"Konnectio Reservation",value:m.offer.totalPrice,tax:m.offer.totalVAT,shipping:0,items:m.offer.rooms.map(h=>({item_id:h.id,item_name:`${h.roomGroupName} (${h.roomGroupRatePlanName})`,quantity:1,price:h.totalPrice,start_date:h.arriveDate,end_date:h.leaveDate}))}),_()}),b.on("pay-initialized",()=>{b.send("payment-order-finalized",!0)})}else _(2)}return{offerData:n,hasPaymentGateway:r,name:i,email:o,phone:a,adults:s,children:l,totalPrice:u,totalVAT:d,offerDate:c,subTotalPrice:f,orderSummary:p,hasOrderLines:y,pay:v}}),X4=xi("hotel",()=>{const e=_p(),t=Y4(),{voucher:n,amount:r}=Oi(G4()),{display:i}=ba(),{adults:o,children:a,arrivalDate:s,departureDate:l,fromDate:u,toDate:d,nights:c,location:f}=Oi(ou()),{metaData:p,bearerToken:y,arrivalDefault:v,departureDefault:_,disableArrivalUserSelection:m,disableDepartureUserSelection:g}=Oi(mo()),b=mo(),h=Te({}),E=de(()=>{const we=[];for(const Pe in h.value){const Qe=parseInt(Pe),ze=O.value.roomGroups.find(Qn=>Qn.id===Qe),Gt=ze?.addons,Ft=ze?.title||"",Er={roomGroupID:Qe,title:Ft,addons:Gt};h.value[Qe].forEach(Qn=>{const Or=Qn.id,Tr=ze?.rates.find(ct=>ct.id===Or),wr=[];if(Tr){const{name:ct,occupantRates:Ea}=Tr,Eo={ratePlanID:Or,name:ct},Vi=[];Qn.config.forEach((Bi,Oa)=>{const gt=Bi.units,Oo=Bi.addons;if(gt>0)for(let Ar=0;Ar<gt;Ar++){const zi=Ea.find(er=>er.index===Bi.id);if(!zi)continue;const{adultsCount:To,childrenCount:wo}=zi;let{totalPrice:Mt}=zi;en.value&&(Mt=en.value.offer.rooms.find(er=>er.ratePlanID===Or&&er.roomGroupID===Qe).totalHotelPrice);const Ao=[];if(Gt){for(const er in Oo[Ar]){const $i=parseInt(er),Ui=Oo[Ar][$i];if(Ui>0){const{name:Ta,price:Sr,quantityStrategy:So}=Gt.find(Qr=>Qr.id===$i);Ao.push({addonID:$i,name:Ta,price:Sr,quantity:Ui,totalPrice:H4(Sr,So,c.value,To,wo)*Ui})}}Vi.push({configIdx:Oa,roomIdx:Ar,adultsCount:To,childrenCount:wo,totalPrice:Mt,roomAddons:Ao})}}}),Vi.length>0&&(Eo.rooms=Vi,wr.push(Eo))}wr.length>0&&(Er.variants=wr)}),Er.variants&&we.push(Er)}return we});function k(){for(const we in h.value){const Pe=parseInt(we);h.value[Pe].forEach(Qe=>{Qe.config.forEach(ze=>{ze.units=0})})}}const T=de(()=>E.value.every(we=>we.addons?.length===0)),A=de(()=>E.value.length>0);function C(we,Pe,Qe){h.value[we][Pe].config[Qe].units=0}const N=de(()=>{let we=0;const Pe=0-r.value;if(x.value)we=Pe+Oe.value.extraPrice;else{const Qe=E.value.flatMap(({variants:ze})=>ze).flatMap(({rooms:ze})=>ze).reduce((ze,{totalPrice:Gt})=>ze+Gt,Pe);we=E.value.flatMap(({variants:ze})=>ze).flatMap(({rooms:ze})=>ze).flatMap(({roomAddons:ze})=>ze).reduce((ze,{totalPrice:Gt})=>ze+Gt,Qe)}return we}),O=Te({}),S=Te(!0),L=Te(0),R=Te(NaN),D=Te(NaN),B=Te(""),K=Te(""),re=Te(""),Y=Te(""),j=Te(""),I=Nt("konnectio_name","",void 0,{serializer:yt.string}),F=Nt("konnectio_nameTitle",2,void 0,{serializer:yt.number}),z=Nt("konnectio_email","",void 0,{serializer:yt.string}),ee=Nt("konnectio_phone","",void 0,{serializer:yt.string}),J=Nt("konnectio_company","",void 0,{serializer:yt.string}),H=Nt("konnectio_postal","",void 0,{serializer:yt.string}),X=Nt("konnectio_city","",void 0,{serializer:yt.string}),ie=Nt("konnectio_country",57,void 0,{serializer:yt.number}),oe=Nt("konnectio_address","",void 0,{serializer:yt.string}),ue=Te(""),he=Te(""),V=Te(!1),P=Te(!1),x=de(()=>!isNaN(R.value)),$=()=>b.metaData.hotels.findIndex(we=>we.id===f.value),Z=de(()=>b.metaData.hotels[$()]),se=de(()=>b.metaData.hotels&&b.metaData.hotels.length>1),U=de(()=>b.metaData.hotels?b.metaData.hotels.flatMap(we=>({value:we.id,label:we.name})):[]),q=de(()=>Z.value.termsOfService?Z.value.termsOfService:""),Q=de(()=>Z.value.country?Z.value.country.name:""),ne=de(()=>b.metaData.countries?b.metaData.countries:[]),ae=de(()=>Z.value.name?Z.value.name:""),ce=de(()=>b.metaData&&Object.keys(b.metaData).length!==0),W=de(()=>Object.keys(O.value).length!==0),te=de(()=>!(!I.value[1]||!z.value||!(ee.value.length>=5)||!H.value||!X.value||!oe.value)),pe=de(()=>L.value===1&&S.value),ve=de(()=>L.value===3&&S.value),ge=de(()=>{if(O.value.templates)return O.value.templates.find(we=>we.id===R.value)});function xe(we){if(ge.value)return ge.value.templateRoomGroups.find(Pe=>Pe.roomGroupID===we)}const Oe=de(()=>{if(ge.value)return ge.value.templateRoomGroups.find(we=>we.id===D.value)});function Ze(we){return O.value.roomGroups.find(Pe=>Pe.id===we)}function Jn(we,Pe){return`[REMARKS]: ${ue.value} \r
|
|
37
|
+
`?(this.line++,this.column=0):this.column++,t},e.prototype.consumeCharRef=function(){var t=this.input.indexOf(";",this.index);if(t!==-1){var n=this.input.slice(this.index,t),r=this.entityParser.parse(n);if(r){for(var i=n.length;i;)this.consume(),i--;return this.consume(),r}}},e.prototype.markTagStart=function(){this.delegate.tagOpen()},e.prototype.appendToTagName=function(t){this.tagNameBuffer+=t,this.delegate.appendToTagName(t)},e.prototype.isIgnoredEndTag=function(){var t=this.tagNameBuffer;return t==="title"&&this.input.substring(this.index,this.index+8)!=="</title>"||t==="style"&&this.input.substring(this.index,this.index+8)!=="</style>"||t==="script"&&this.input.substring(this.index,this.index+9)!=="<\/script>"},e}(),RT=function(){function e(t,n){n===void 0&&(n={}),this.options=n,this.token=null,this.startLine=1,this.startColumn=0,this.tokens=[],this.tokenizer=new IT(this,t,n.mode),this._currentAttribute=void 0}return e.prototype.tokenize=function(t){return this.tokens=[],this.tokenizer.tokenize(t),this.tokens},e.prototype.tokenizePart=function(t){return this.tokens=[],this.tokenizer.tokenizePart(t),this.tokens},e.prototype.tokenizeEOF=function(){return this.tokens=[],this.tokenizer.tokenizeEOF(),this.tokens[0]},e.prototype.reset=function(){this.token=null,this.startLine=1,this.startColumn=0},e.prototype.current=function(){var t=this.token;if(t===null)throw new Error("token was unexpectedly null");if(arguments.length===0)return t;for(var n=0;n<arguments.length;n++)if(t.type===arguments[n])return t;throw new Error("token type was unexpectedly "+t.type)},e.prototype.push=function(t){this.token=t,this.tokens.push(t)},e.prototype.currentAttribute=function(){return this._currentAttribute},e.prototype.addLocInfo=function(){this.options.loc&&(this.current().loc={start:{line:this.startLine,column:this.startColumn},end:{line:this.tokenizer.line,column:this.tokenizer.column}}),this.startLine=this.tokenizer.line,this.startColumn=this.tokenizer.column},e.prototype.beginDoctype=function(){this.push({type:"Doctype",name:""})},e.prototype.appendToDoctypeName=function(t){this.current("Doctype").name+=t},e.prototype.appendToDoctypePublicIdentifier=function(t){var n=this.current("Doctype");n.publicIdentifier===void 0?n.publicIdentifier=t:n.publicIdentifier+=t},e.prototype.appendToDoctypeSystemIdentifier=function(t){var n=this.current("Doctype");n.systemIdentifier===void 0?n.systemIdentifier=t:n.systemIdentifier+=t},e.prototype.endDoctype=function(){this.addLocInfo()},e.prototype.beginData=function(){this.push({type:"Chars",chars:""})},e.prototype.appendToData=function(t){this.current("Chars").chars+=t},e.prototype.finishData=function(){this.addLocInfo()},e.prototype.beginComment=function(){this.push({type:"Comment",chars:""})},e.prototype.appendToCommentData=function(t){this.current("Comment").chars+=t},e.prototype.finishComment=function(){this.addLocInfo()},e.prototype.tagOpen=function(){},e.prototype.beginStartTag=function(){this.push({type:"StartTag",tagName:"",attributes:[],selfClosing:!1})},e.prototype.beginEndTag=function(){this.push({type:"EndTag",tagName:""})},e.prototype.finishTag=function(){this.addLocInfo()},e.prototype.markTagAsSelfClosing=function(){this.current("StartTag").selfClosing=!0},e.prototype.appendToTagName=function(t){this.current("StartTag","EndTag").tagName+=t},e.prototype.beginAttribute=function(){this._currentAttribute=["","",!1]},e.prototype.appendToAttributeName=function(t){this.currentAttribute()[0]+=t},e.prototype.beginAttributeValue=function(t){this.currentAttribute()[2]=t},e.prototype.appendToAttributeValue=function(t){this.currentAttribute()[1]+=t},e.prototype.finishAttributeValue=function(){this.current("StartTag").attributes.push(this._currentAttribute)},e.prototype.reportSyntaxError=function(t){this.current().syntaxError=t},e}();function xT(e,t){var n=new RT(new NT(TT),t);return n.tokenize(e)}const N4="LinkifyResult",iu="StartTag",k4="EndTag",dh="Chars",MT="Comment",DT="Doctype";function HT(e,t){t===void 0&&(t={});const n=xT(e),r=[],i=[],o=new gp(t,VT);for(let a=0;a<n.length;a++){const s=n[a];if(s.type===iu){r.push(s);const l=s.tagName.toUpperCase();if(!(l==="A"||o.ignoreTags.indexOf(l)>=0))continue;let d=r.length;FT(l,n,++a,r),a+=r.length-d-1}else if(s.type!==dh)r.push(s);else{const l=jT(s.chars,o);r.push.apply(r,l)}}for(let a=0;a<r.length;a++){const s=r[a];switch(s.type){case N4:i.push(s.rendered);break;case iu:{let l="<"+s.tagName;s.attributes.length>0&&(l+=" "+zT(s.attributes).join(" ")),s.selfClosing&&(l+=" /"),l+=">",i.push(l);break}case k4:i.push(`</${s.tagName}>`);break;case dh:i.push(hh(s.chars));break;case MT:i.push(`<!--${hh(s.chars)}-->`);break;case DT:{let l=`<!DOCTYPE ${s.name}`;s.publicIdentifier&&(l+=` PUBLIC "${s.publicIdentifier}"`),s.systemIdentifier&&(l+=` "${s.systemIdentifier}"`),l+=">",i.push(l);break}}}return i.join("")}function jT(e,t){const n=OT(e),r=[];for(let i=0;i<n.length;i++){const o=n[i];o.t==="nl"&&t.get("nl2br")?r.push({type:iu,tagName:"br",attributes:[],selfClosing:!0}):!o.isLink||!t.check(o)?r.push({type:dh,chars:o.toString()}):r.push({type:N4,rendered:t.render(o)})}return r}function FT(e,t,n,r){let i=1;for(;n<t.length&&i>0;){let o=t[n];o.type===iu&&o.tagName.toUpperCase()===e?i++:o.type===k4&&o.tagName.toUpperCase()===e&&i--,r.push(o),n++}return r}function VT(e){let{tagName:t,attributes:n,content:r}=e;return`<${t} ${BT(n)}>${hh(r)}</${t}>`}function hh(e){return e.replace(/</g,"<").replace(/>/g,">")}function C4(e){return e.replace(/"/g,""")}function BT(e){const t=[];for(const n in e){const r=e[n]+"";t.push(`${n}="${C4(r)}"`)}return t.join(" ")}function zT(e){const t=[];for(let n=0;n<e.length;n++){const r=e[n][0],i=e[n][1]+"";t.push(`${r}="${C4(i)}"`)}return t}const L4="en",$T=document.documentElement.lang.slice(0,2)||L4,P4=y7({warnHtmlMessage:!1,fallbackRootWithEmptyString:!1,silentTranslationWarn:!0,allowComposition:!0,legacy:!1,globalInjection:!0,locale:$T,fallbackLocale:L4}),He=P4.global;function UT(e){for(const t in e)He.setLocaleMessage(t,e[t])}var ph=(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))(ph||{}),kt=(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))(kt||{}),la=(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))(la||{}),I4=(e=>(e.Selective="selective",e.Wholesale="wholesale",e.Simplified="simplified",e.Template="template",e.Event="event",e))(I4||{}),R4=(e=>(e.Default="default",e.Minimal="minimal",e))(R4||{}),x4=(e=>(e[e.InitialState=0]="InitialState",e[e.WaitingForResponse=1]="WaitingForResponse",e[e.ReadyToPay=2]="ReadyToPay",e[e.PaymentSuccess=3]="PaymentSuccess",e))(x4||{}),M4=(e=>(e[e.None=0]="None",e[e.Hourly=1]="Hourly",e[e.FullDayEvent=2]="FullDayEvent",e[e.Weekly=3]="Weekly",e))(M4||{}),D4=(e=>(e[e.InitialState=0]="InitialState",e[e.AvailabilityState=1]="AvailabilityState",e[e.ReservationState=2]="ReservationState",e[e.PaymentState=3]="PaymentState",e))(D4||{});function qT(e){switch(e){case kt.PerUnit:return He.t("general.perUnit");case kt.PerPerson:return He.t("general.perPerson");case kt.PerAdult:return He.t("general.perAdult");case kt.PerChild:return He.t("general.perChild");case kt.PerNight:return He.t("general.perNight");case kt.PerPersonPerNight:return He.t("general.perPersonPerNight");case kt.PerAdultPerNight:return He.t("general.perAdultPerNight");case kt.PerChildPerNight:return He.t("general.perChildPerNight")}}function H4(e,t,n,r=0,i=0){switch(t){case kt.PerUnit:return e;case kt.PerPerson:return e*(r+i);case kt.PerAdult:return e*r;case kt.PerChild:return e*i;case kt.PerNight:return e*n;case kt.PerPersonPerNight:return e*(r+i)*n;case kt.PerAdultPerNight:return e*r*n;case kt.PerChildPerNight:return e*i*n;case kt.OneTimePayment:return e;default:return e}}function Y0(e){return e===void 0?e:e.replace(/([!?.])([a-z])/g,function(t,n,r){return r.toUpperCase()})}function KT(e){return e!==void 0?HT(e,{defaultProtocol:"https",target:"_blank",rel:"noopener",nl2br:!0}):""}function X0(e){switch(e){case 2:return He.t("booking.reservation.nameTitleMr");case 3:return He.t("booking.reservation.nameTitleMs");case 4:return He.t("booking.reservation.nameTitleMrs");case 5:return He.t("booking.reservation.nameTitleDr");default:return""}}function WT(e){let t,n,r,i,o,a,s,l,u,d=0,c=0,f="";const p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",y=[];if(!e)return e;do t=e.charCodeAt(d++),n=e.charCodeAt(d++),r=e.charCodeAt(d++),l=t<<16|n<<8|r,i=63&l>>18,o=63&l>>12,a=63&l>>6,s=63&l,y[c++]=p.charAt(i)+p.charAt(o)+p.charAt(a)+p.charAt(s);while(d<e.length);return f=y.join(""),u=e.length%3,(u?f.slice(0,u-3):f)+"===".slice(u||3)}function GT(e){return e.toLowerCase()}function YT(e){return new Date(e).toISOString()}function vp(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 Kr(e=!1){return e?document.documentElement.lang||"en-US":document.documentElement.lang.slice(0,2)||"en"}function af(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 rc(e,t=0){let n=new Date(e);n=new Date(n.setDate(n.getDate()+t));let r;switch(Kr()){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 XT(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 JT(e){let t=e;const n=[6,7],r=e.split(",").map(Number);let i;switch(Kr()){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=He.t("general.everyday"):n.some(o=>r.includes(o))?t=He.t("general.weekends"):XT(r)&&r.length>1?t=`${i[r[0]]} - ${i[r[r.length-1]]}`:t="-",t}function ZT(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?`${rc(e)}}`:`${rc(e)} - ${rc(t)}`}function ic(e){let t=e;const n=e.split(":");return n[2]&&(t=`${n[0]}:${n[1]}`),t}function QT(e,t){return e===t?ic(e):`${ic(e)} - ${ic(t)}`}function ew(e,t){return new Intl.NumberFormat(Kr(!0),{style:"currency",currency:t}).format(e)}function tw(e){return e?e.charAt(0).toUpperCase()+e.slice(1):""}const J0=2,Z0=0,Q0=()=>new Date(new Date(new Date().setDate(new Date().getDate()+1)).setHours(12,0,0,0)),e2=()=>new Date(new Date(new Date().setDate(new Date().getDate()+2)).setHours(12,0,0,0)),t2=NaN,ou=xi("availability",()=>{const e=Nt("konnectio_expiry_date",new Date,void 0,{serializer:yt.date}),t=Nt("konnectio_adults",J0,void 0,{serializer:yt.number}),n=Nt("konnectio_children",Z0,void 0,{serializer:yt.number}),r=Nt("konnectio_arrival_date",Q0(),void 0,{serializer:yt.date}),i=Nt("konnectio_departure_date",e2(),void 0,{serializer:yt.date}),o=Nt("konnectio_location",t2,void 0,{serializer:yt.number});function a(p){const y=new Date(p),v=""+y.getFullYear();let _=""+(y.getMonth()+1),m=""+y.getDate();return _.length<2&&(_="0"+_),m.length<2&&(m="0"+m),[v,_,m].join("-")}const s=de(()=>new Date(e.value)<new Date),l=de(()=>a(r.value)),u=de(()=>a(i.value)),d=de(()=>vp(r.value,i.value));function c(){const y=new Date(new Date().getTime()+432e5);e.value=y}function f(){t.value=J0,n.value=Z0,r.value=Q0(),i.value=e2(),o.value=t2,c()}return{fromDate:l,toDate:u,expiryDate:e,adults:t,children:n,arrivalDate:r,departureDate:i,location:o,isExpired:s,nights:d,setNewExpiryDate:c,reset:f}}),mh=e=>typeof e=="function",nw=Object.prototype.toString,rw=e=>nw.call(e),ed=e=>rw(e)==="[object Object]";function gh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function n2(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 vh(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?n2(Object(n),!0).forEach(function(r){gh(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):n2(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var iw=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new Promise(function(r,i){if(!(typeof document>"u")){var o=document.head||document.getElementsByTagName("head")[0],a=document.createElement("script");if(a.async=!0,a.src=t,a.defer=n.defer,n.preconnectOrigin){var s=document.createElement("link");s.href=n.preconnectOrigin,s.rel="preconnect",o.appendChild(s)}o.appendChild(a),a.onload=r,a.onerror=i}})},ow=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 o=r.shift();if(!(!ed(t)||!ed(o))){for(var a in o)ed(o[a])?(t[a]||Object.assign(t,gh({},a,{})),e(t[a],o[a])):Object.assign(t,gh({},a,o[a]));return e.apply(void 0,[t].concat(r))}},Xs=function(){return!(typeof window>"u"||typeof document>"u")},r2=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;Xs()},aw=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return r2('Missing "appName" property inside the plugin options.',t.app_name==null),r2('Missing "name" property in the route.',t.screen_name==null),t};function sw(){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}}}},j4={},F4=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=lw();j4=ow(n,t)},On=function(){return j4},po=function(){var e,t=On(),n=t.globalObjectName;!Xs()||typeof window[n]>"u"||(e=window)[n].apply(e,arguments)},yp=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=On(),i=r.config,o=r.includes;po.apply(void 0,["config",i.id].concat(t)),Array.isArray(o)&&o.forEach(function(a){po.apply(void 0,["config",a.id].concat(t))})},i2=function(t,n){Xs()&&(window["ga-disable-".concat(t)]=n)},V4=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,t=On(),n=t.config,r=t.includes;i2(n.id,e),Array.isArray(r)&&r.forEach(function(i){return i2(i.id,e)})},B4=function(){V4(!0)},cw=function(){V4(!1)},z4,uw=function(t){z4=t},bp=function(){return z4},$n=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=On(),r=n.includes,i=n.defaultGroupName;t.send_to==null&&Array.isArray(r)&&r.length&&(t.send_to=r.map(function(o){return o.id}).concat(i)),po("event",e,t)},$4=function(e){if(Xs()){var t;if(typeof e=="string")t={page_path:e};else if(e.path||e.fullPath){var n=On(),r=n.pageTrackerUseFullPath,i=n.pageTrackerPrependBase,o=bp(),a=o&&o.options.base,s=r?e.fullPath:e.path;t=vh(vh({},e.name&&{page_title:e.name}),{},{page_path:i?sw(s,a):s})}else t=e;t.page_location==null&&(t.page_location=window.location.href),t.send_page_view==null&&(t.send_page_view=!0),$n("page_view",t)}},U4=function(e){var t=On(),n=t.appName;if(e){var r;typeof e=="string"?r={screen_name:e}:r=e,r.app_name=r.app_name||n,$n("screen_view",r)}},fw=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];$n.apply(void 0,["exception"].concat(t))},dw=function(e){yp("linker",e)},hw=function(e){$n("timing_complete",e)},pw=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];po.apply(void 0,["set"].concat(t))},mw=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];$n.apply(void 0,["refund"].concat(t))},q4=function(e){$n("purchase",e)},gw=function(e){yp({custom_map:e})},vw=Object.freeze({__proto__:null,query:po,config:yp,optOut:B4,optIn:cw,pageview:$4,screenview:U4,exception:fw,linker:dw,time:hw,set:pw,refund:mw,purchase:q4,customMap:gw,event:$n}),yw=function(t){t.config.globalProperties.$gtag=vw},bw=function(){if(Xs()){var e=On(),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||B4(),window[n]}},o2=function(t){return vh({send_page_view:!1},t)},K4=function(){var e=On(),t=e.config,n=e.includes;po("config",t.id,o2(t.params)),Array.isArray(n)&&n.forEach(function(r){po("config",r.id,o2(r.params))})},a2=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=On(),r=n.appName,i=n.pageTrackerTemplate,o=n.pageTrackerScreenviewEnabled,a=n.pageTrackerSkipSamePath;if(!(a&&e.path===t.path)){var s=e;if(mh(i)?s=i(e,t):o&&(s=aw({app_name:r,screen_name:e.name})),o){U4(s);return}$4(s)}},s2=function(t){var n=On(),r=n.pageTrackerExcludedRoutes;return r.includes(t.path)||r.includes(t.name)},_w=function(){var e=On(),t=e.onBeforeTrack,n=e.onAfterTrack,r=bp();r.isReady().then(function(){Dn().then(function(){var i=r.currentRoute;K4(),!s2(i.value)&&a2(i.value)}),r.afterEach(function(i,o){Dn().then(function(){s2(i)||(mh(t)&&t(i,o),a2(i,o),mh(n)&&n(i,o))})})})},W4=function(){var e=On(),t=e.onReady,n=e.onError,r=e.globalObjectName,i=e.globalDataLayerName,o=e.config,a=e.customResourceURL,s=e.customPreconnectOrigin,l=e.deferScriptLoad,u=e.pageTrackerEnabled,d=e.disableScriptLoad,c=!!(u&&bp());if(bw(),c?_w():K4(),!d)return iw("".concat(a,"?id=").concat(o.id,"&l=").concat(i),{preconnectOrigin:s,defer:l}).then(function(){t&&t(window[r])}).catch(function(f){return n&&n(f),f})},Ew=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;yw(t),F4(n),uw(r),On().bootstrap&&W4()};const G4=xi("applyGiftCard",()=>{const{display:e}=ba(),{bearerToken:t}=Oi(mo()),n=Te(0),r=Te(""),i=Te(""),o=Te(""),a=Te(!1),s=Te(!1);async function l(){r.value!==""?(s.value=!0,await Hr.get("https://production.hotel-service.konnectio.dk/api/gift-card/validate",{params:{giftcardCode:r.value,lang:Kr()},headers:{Authorization:t.value,Accept:"application/json","Fresh-Booking-Ver":"4.0.51"}}).then(d=>{const{valid:c,amount:f,expirationDate:p,productName:y}=d.data;c?(n.value=f,i.value=p,o.value=y,a.value=!0,e({message:He.t("alert.success.giftCardApplied"),type:"success"})):(a.value=!1,e({message:He.t("alert.error.giftCardInvalid"),type:"warning"}))}),s.value=!1):e({message:He.t("alert.error.giftCardEmpty"),type:"error"})}function u(){n.value=0,r.value="",a.value=!1,e({message:He.t("alert.success.giftCardRemoved"),type:"success"})}return{amount:n,voucher:r,expirationDate:i,productName:o,isValid:a,isLoading:s,apply:l,reset:u}}),Y4=xi("payment",()=>{const{display:e}=ba(),{paymentGatewayId:t}=Oi(mo()),n=Te({}),r=de(()=>t.value!==la.None),i=de(()=>n.value&&n.value.guest?n.value.guest.name:""),o=de(()=>n.value&&n.value.guest?n.value.guest.email:""),a=de(()=>n.value&&n.value.guest?n.value.guest.phone:""),s=de(()=>n.value.adults),l=de(()=>n.value.children),u=de(()=>n.value.totalPrice||0),d=de(()=>n.value.totalVAT||0),c=de(()=>n.value.offerDate),f=de(()=>u.value-d.value),p=de(()=>n.value.orderLinesSummary),y=de(()=>p.value?p.value.length>0:!1);async function v({callback:_,response:m}){if(!m.error)if(!m.offer)e({message:He.t("booking.other.errorMessage"),type:"warning"});else if(n.value=m.offer,m.easyPayment)if(_(),t.value===la.ReePay){const g=new Reepay.EmbeddedCheckout(m.easyPayment.paymentID,{html_element:"fresh-booking-payment-checkout"});g.addEventHandler(ph.Accept,()=>{e({message:He.t("alert.success.payment"),type:"success"}),_()}),g.addEventHandler(ph.Error,()=>{e({message:He.t("alert.error.payment"),type:"warning"})})}else{const g={checkoutKey:m.easyPayment.checkoutSecretKey,paymentId:m.easyPayment.paymentID,containerId:"fresh-booking-payment-checkout",language:Kr()==="da"?"da-DK":"en-GB"},b=new Dibs.Checkout(g);b.on("payment-completed",()=>{console.log("Konnectio: Payment completed!"),e({message:He.t("alert.success.payment"),type:"success"}),q4({transaction_id:m.offer.uniqueID,affiliation:"Konnectio Reservation",value:m.offer.totalPrice,tax:m.offer.totalVAT,shipping:0,items:m.offer.rooms.map(h=>({item_id:h.id,item_name:`${h.roomGroupName} (${h.roomGroupRatePlanName})`,quantity:1,price:h.totalPrice,start_date:h.arriveDate,end_date:h.leaveDate}))}),_()}),b.on("pay-initialized",()=>{b.send("payment-order-finalized",!0)})}else _(2)}return{offerData:n,hasPaymentGateway:r,name:i,email:o,phone:a,adults:s,children:l,totalPrice:u,totalVAT:d,offerDate:c,subTotalPrice:f,orderSummary:p,hasOrderLines:y,pay:v}}),X4=xi("hotel",()=>{const e=_p(),t=Y4(),{voucher:n,amount:r}=Oi(G4()),{display:i}=ba(),{adults:o,children:a,arrivalDate:s,departureDate:l,fromDate:u,toDate:d,nights:c,location:f}=Oi(ou()),{metaData:p,bearerToken:y,arrivalDefault:v,departureDefault:_,disableArrivalUserSelection:m,disableDepartureUserSelection:g}=Oi(mo()),b=mo(),h=Te({}),E=de(()=>{const we=[];for(const Pe in h.value){const Qe=parseInt(Pe),ze=O.value.roomGroups.find(Qn=>Qn.id===Qe),Gt=ze?.addons,Ft=ze?.title||"",Er={roomGroupID:Qe,title:Ft,addons:Gt};h.value[Qe].forEach(Qn=>{const Or=Qn.id,Tr=ze?.rates.find(ct=>ct.id===Or),wr=[];if(Tr){const{name:ct,occupantRates:Ea}=Tr,Eo={ratePlanID:Or,name:ct},Vi=[];Qn.config.forEach((Bi,Oa)=>{const gt=Bi.units,Oo=Bi.addons;if(gt>0)for(let Ar=0;Ar<gt;Ar++){const zi=Ea.find(er=>er.index===Bi.id);if(!zi)continue;const{adultsCount:To,childrenCount:wo}=zi;let{totalPrice:Mt}=zi;en.value&&(Mt=en.value.offer.rooms.find(er=>er.ratePlanID===Or&&er.roomGroupID===Qe).totalHotelPrice);const Ao=[];if(Gt){for(const er in Oo[Ar]){const $i=parseInt(er),Ui=Oo[Ar][$i];if(Ui>0){const{name:Ta,price:Sr,quantityStrategy:So}=Gt.find(Qr=>Qr.id===$i);Ao.push({addonID:$i,name:Ta,price:Sr,quantity:Ui,totalPrice:H4(Sr,So,c.value,To,wo)*Ui})}}Vi.push({configIdx:Oa,roomIdx:Ar,adultsCount:To,childrenCount:wo,totalPrice:Mt,roomAddons:Ao})}}}),Vi.length>0&&(Eo.rooms=Vi,wr.push(Eo))}wr.length>0&&(Er.variants=wr)}),Er.variants&&we.push(Er)}return we});function k(){for(const we in h.value){const Pe=parseInt(we);h.value[Pe].forEach(Qe=>{Qe.config.forEach(ze=>{ze.units=0})})}}const T=de(()=>E.value.every(we=>we.addons?.length===0)),A=de(()=>E.value.length>0);function C(we,Pe,Qe){h.value[we][Pe].config[Qe].units=0}const N=de(()=>{let we=0;const Pe=0-r.value;if(x.value)we=Pe+Oe.value.extraPrice;else{const Qe=E.value.flatMap(({variants:ze})=>ze).flatMap(({rooms:ze})=>ze).reduce((ze,{totalPrice:Gt})=>ze+Gt,Pe);we=E.value.flatMap(({variants:ze})=>ze).flatMap(({rooms:ze})=>ze).flatMap(({roomAddons:ze})=>ze).reduce((ze,{totalPrice:Gt})=>ze+Gt,Qe)}return we}),O=Te({}),S=Te(!0),L=Te(0),R=Te(NaN),D=Te(NaN),B=Te(""),q=Te(""),re=Te(""),Y=Te(""),j=Te(""),I=Nt("konnectio_name","",void 0,{serializer:yt.string}),F=Nt("konnectio_nameTitle",2,void 0,{serializer:yt.number}),z=Nt("konnectio_email","",void 0,{serializer:yt.string}),te=Nt("konnectio_phone","",void 0,{serializer:yt.string}),J=Nt("konnectio_company","",void 0,{serializer:yt.string}),H=Nt("konnectio_postal","",void 0,{serializer:yt.string}),X=Nt("konnectio_city","",void 0,{serializer:yt.string}),ie=Nt("konnectio_country",57,void 0,{serializer:yt.number}),oe=Nt("konnectio_address","",void 0,{serializer:yt.string}),ue=Te(""),he=Te(""),V=Te(!1),P=Te(!1),x=de(()=>!isNaN(R.value)),$=()=>b.metaData.hotels.findIndex(we=>we.id===f.value),Z=de(()=>b.metaData.hotels[$()]),se=de(()=>b.metaData.hotels&&b.metaData.hotels.length>1),U=de(()=>b.metaData.hotels?b.metaData.hotels.flatMap(we=>({value:we.id,label:we.name})):[]),G=de(()=>Z.value.termsOfService?Z.value.termsOfService:""),ee=de(()=>Z.value.country?Z.value.country.name:""),Q=de(()=>b.metaData.countries?b.metaData.countries:[]),ae=de(()=>Z.value.name?Z.value.name:""),le=de(()=>b.metaData&&Object.keys(b.metaData).length!==0),K=de(()=>Object.keys(O.value).length!==0),ne=de(()=>!(!I.value[1]||!z.value||!(te.value.length>=5)||!H.value||!X.value||!oe.value)),pe=de(()=>L.value===1&&S.value),ve=de(()=>L.value===3&&S.value),ge=de(()=>{if(O.value.templates)return O.value.templates.find(we=>we.id===R.value)});function xe(we){if(ge.value)return ge.value.templateRoomGroups.find(Pe=>Pe.roomGroupID===we)}const Oe=de(()=>{if(ge.value)return ge.value.templateRoomGroups.find(we=>we.id===D.value)});function Ze(we){return O.value.roomGroups.find(Pe=>Pe.id===we)}function Jn(we,Pe){return`[REMARKS]: ${ue.value} \r
|
|
38
38
|
[ALLERGIES]: ${he.value} \r
|
|
39
39
|
[REQUESTED ARRIVAL]: ${we} \r
|
|
40
|
-
[REQUESTED DEPARTURE]: ${Pe}`}function wn(we,Pe,Qe,ze){const Ft=(Pe?Qe:ze?K.value:re.value).split(":");return YT(new Date(we).setUTCHours(parseInt(Ft[0]),parseInt(Ft[1]),0,0))}function Zn(we){return vp(s.value,l.value)*we}async function ot(){try{const we=(await Hr.get("https://production.hotel-service.konnectio.dk/api/hotel/metadata",{params:{language:Kr()},headers:{Authorization:y.value,Accept:"application/json","Fresh-Booking-Ver":"4.0.50"}})).data;p.value=we}catch{i({message:je.t("alert.error.couldntFetchMetadata"),type:"warning"})}}async function At(){L.value=1,S.value=!0;let we=f.value;isNaN(we)&&(we=null);try{const Pe=await Hr.get("https://production.hotel-service.konnectio.dk/api/hotel/availability",{params:{fromDate:s.value,toDate:l.value,adultsCount:o.value,childrenCount:a.value,language:Kr(),hotelId:we},headers:{Authorization:y.value,Accept:"application/json","Konnectio-Ver":"4.0.50"}});Pe.status!==200?i({message:`${je.t("booking.other.errorMessage")} (HTTP: ${Pe.status})`,type:"warning"}):(O.value=Pe.data,e.viewItemList())}catch{i({message:je.t("alert.error.couldntFetchListings"),type:"warning"})}S.value=!1}function mn(we=!1){const Pe=[];isNaN(R.value)?E.value.forEach(({variants:ze,roomGroupID:Gt})=>{ze?.forEach(({rooms:Ft,ratePlanID:Er})=>{Ft?.forEach(({adultsCount:Qn,childrenCount:Or,roomAddons:Tr})=>{Pe.push({roomGroupID:Gt,ratePlanID:Er,adultsCount:Qn,childrenCount:Or,guest:{name:I.value,phone:ee.value,email:z.value},roomAddons:Tr})})})}):Pe.push({templateID:R.value,roomGroupID:D.value,ratePlanID:null,adultsCount:o.value,childrenCount:a.value,roomAddons:[],guest:{title:X0(F.value),guestID:0,name:I.value,email:z.value,phone:ee.value,newsmails:V.value}});let Qe=f.value;return isNaN(Qe)&&(Qe=null),{fromDate:u.value,toDate:d.value,hotelId:Qe,guest:{travellingFor:B.value,title:X0(F.value),guestID:0,name:I.value,email:z.value,firmName:J.value,phone:ee.value,country:ie.value,address1:oe.value,postal:String(H.value),city:X.value,newsmails:V.value},giftCardCode:n.value,discountCode:we?j.value:Y.value,selectedRooms:Pe,remark:Jn(wn(s.value,m.value,v.value,!0),wn(l.value,g.value,_.value,!1)),checkoutUrl:window.location.origin,privacyUrl:window.location.origin,termsOfserviceURL:window.location.origin}}const en=Te();async function gn(){const we=await Hr.post("https://production.hotel-service.konnectio.dk/api/hotel/validate-discount-code",mn(),{headers:{Authorization:y.value,Accept:"application/json","Konnectio-Ver":"4.0.50"}});if(we.status!==200)i({message:`${je.t("booking.other.errorMessage")} (HTTP: ${we.status})`,type:"warning"});else{const Pe=we.data;Pe.discountApplyed===!0?(en.value=Pe,j.value=Y.value,Y.value=""):i({message:`${je.t("alert.error.discountCodeValidation")}`,type:"error"})}}const Zr=de(()=>en.value?.offer.properties);function ji(){en.value=void 0,Y.value="",j.value=""}async function br(we){L.value=3,S.value=!0,await Hr.post("https://production.hotel-service.konnectio.dk/api/hotel/create-reservation",mn(!0),{headers:{Authorization:y.value,Accept:"application/json","Konnectio-Ver":"4.0.50"}}).then(Pe=>{P.value=!1,S.value=!1,t.pay({callback:we,response:Pe.data})}).catch(Pe=>{if(S.value=!1,L.value=2,Pe.response){const{status:Qe}=Pe.response;i(Qe===433?{message:je.t("alert.error.noRoomAvailable"),type:"error"}:{message:je.t("booking.other.errorMessage"),type:"warning"})}else i({message:je.t("booking.other.errorMessage"),type:"warning"})})}function Fi(){R.value=NaN,D.value=NaN}function _r(){At()}return{discountVouchers:Zr,discountCode:Y,appliedDiscountCode:j,resetDiscountVoucher:ji,clearRoomSelection:k,validateDiscountCode:gn,isTemplateReservation:x,selectionHasNoAddons:T,hasHotelList:se,hotelList:U,areListingsLoading:pe,roomSelect:h,removeRoom:C,termsOfService:q,metaData:p,availabilityData:O,isLoading:S,moduleState:L,templateID:R,roomGroupID:D,travelingFor:B,arrivalTime:K,departureTime:re,name:I,nameTitle:F,email:z,phone:ee,firmName:J,postal:H,city:X,country:ie,address:oe,remark:ue,allergies:he,newsMails:V,roomDisplay:E,isPaymentInitialized:P,nights:c,hotelCountry:Q,countries:ne,title:ae,isMetaDataAvailable:ce,isAvailabilityDataAvailable:W,totalPrice:N,selectedPackage:ge,isPaymentLoading:ve,getSingleListing:Ze,getSpecifiedPackageRoom:xe,getBasePrice:Zn,getSelectedPackageRoom:Oe,isReservationFormFilled:te,hasValidRoomSelection:A,fetchMetaData:ot,fetchAvailabilityData:At,createReservation:br,resetTemplate:Fi,initialize:_r,reservationPayload:mn,discountPayload:en}}),_p=xi("tracking",()=>{const e=mo(),t=X4(),n=de(()=>{const f=[];return t.roomDisplay.forEach(({variants:p})=>{p?.forEach(({rooms:y,name:v})=>{y?.forEach(({totalPrice:_})=>{f.push({name:v,quantity:1,price:_})})})}),{items:f,value:t.totalPrice}}),r=de(()=>t.availabilityData.roomGroups.map(f=>({item_id:f.id,item_name:f.title})));function i(){F4({appName:"Konnectio Booking Engine",config:{id:e.googleApiKey,params:{send_page_view:!1}},enabled:e.enableTracking}),W4().then(()=>{})}function o(){$n("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 a({id:f,name:p,value:y,label:v,category:_="general"}){return{items:[{item_id:f,item_name:p}],event_label:v,event_category:_,value:y,currency:e.currency}}function s(f,p){$n(f,a(p))}function l({id:f,name:p,value:y}){s("add_to_cart",{id:f,name:p,value:y,label:"Added to cart",category:"ecommerce"})}function u({id:f,name:p,value:y}){s("remove_from_cart",{id:f,name:p,value:y,label:"Removed to cart",category:"ecommerce"})}function d(f){$n("view_item",{items:[{name:f}]})}function c(){$n("begin_checkout",n.value)}return{hotelItems:r,hotelCart:n,setup:i,viewItem:d,addToCart:l,removeFromCart:u,beginCheckout:c,viewItemList:o}});var J4={},ca={},Js={},Ow=it.commonjsGlobal&&it.commonjsGlobal.__awaiter||function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(a){a(o)})}return new(n||(n=Promise))(function(o,a){function s(d){try{u(r.next(d))}catch(c){a(c)}}function l(d){try{u(r.throw(d))}catch(c){a(c)}}function u(d){d.done?o(d.value):i(d.value).then(s,l)}u((r=r.apply(e,t||[])).next())})},Tw=it.commonjsGlobal&&it.commonjsGlobal.__generator||function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(u){return function(d){return l([u,d])}}function l(u){if(r)throw new TypeError("Generator is already executing.");for(;n;)try{if(r=1,i&&(o=u[0]&2?i.return:u[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,u[1])).done)return o;switch(i=0,o&&(u=[u[0]&2,o.value]),u[0]){case 0:case 1:o=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(o=n.trys,!(o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]<o[3])){n.label=u[1];break}if(u[0]===6&&n.label<o[1]){n.label=o[1],o=u;break}if(o&&n.label<o[2]){n.label=o[2],n.ops.push(u);break}o[2]&&n.ops.pop(),n.trys.pop();continue}u=t.call(e,n)}catch(d){u=[6,d],i=0}finally{r=o=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}};Object.defineProperty(Js,"__esModule",{value:!0});Js.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 Ow(this,void 0,void 0,function(){return Tw(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}();Js.ReCaptchaInstance=ww;Object.defineProperty(ca,"__esModule",{value:!0});ca.getInstance=ca.load=void 0;var Aw=Js,pi;(function(e){e[e.NOT_LOADED=0]="NOT_LOADED",e[e.LOADING=1]="LOADING",e[e.LOADED=2]="LOADED"})(pi||(pi={}));var Z4=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()===pi.LOADED)return e.instance.getSiteKey()===t?Promise.resolve(e.instance):Promise.reject(new Error("reCAPTCHA already loaded with different site key!"));if(e.getLoadingState()===pi.LOADING)return t!==e.instanceSiteKey?Promise.reject(new Error("reCAPTCHA already loaded with different site key!")):new Promise(function(i,o){e.successfulLoadingConsumers.push(function(a){return i(a)}),e.errorLoadingRunnable.push(function(a){return o(a)})});e.instanceSiteKey=t,e.setLoadingState(pi.LOADING);var r=new e;return new Promise(function(i,o){r.loadScript(t,n.useRecaptchaNet||!1,n.useEnterprise||!1,n.renderParameters?n.renderParameters:{},n.customUrl).then(function(){e.setLoadingState(pi.LOADED);var a=r.doExplicitRender(grecaptcha,t,n.explicitRenderParameters?n.explicitRenderParameters:{},n.useEnterprise||!1),s=new Aw.ReCaptchaInstance(t,a,grecaptcha);e.successfulLoadingConsumers.forEach(function(l){return l(s)}),e.successfulLoadingConsumers=[],n.autoHideBadge&&s.hideBadge(),e.instance=s,i(s)}).catch(function(a){e.errorLoadingRunnable.forEach(function(s){return s(a)}),e.errorLoadingRunnable=[],o(a)})})},e.getInstance=function(){return e.instance},e.setLoadingState=function(t){e.loadingState=t},e.getLoadingState=function(){return e.loadingState===null?pi.NOT_LOADED:e.loadingState},e.prototype.loadScript=function(t,n,r,i,o){var a=this;n===void 0&&(n=!1),r===void 0&&(r=!1),i===void 0&&(i={}),o===void 0&&(o="");var s=document.createElement("script");s.setAttribute("recaptcha-v3-script","");var l="https://www.google.com/recaptcha/api.js";n&&(r?l="https://recaptcha.net/recaptcha/enterprise.js":l="https://recaptcha.net/recaptcha/api.js"),r&&(l="https://www.google.com/recaptcha/enterprise.js"),o&&(l=o),i.render&&(i.render=void 0);var u=this.buildQueryString(i);return s.src=l+"?render=explicit"+u,new Promise(function(d,c){s.addEventListener("load",a.waitForScriptToLoad(function(){d(s)},r),!1),s.onerror=function(f){e.setLoadingState(pi.NOT_LOADED),c(f)},document.head.appendChild(s)})},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 o={sitekey:n,badge:r.badge,size:r.size,tabindex:r.tabindex};return r.container?i?t.enterprise.render(r.container,o):t.render(r.container,o):i?t.enterprise.render(o):t.render(o)},e.loadingState=null,e.instance=null,e.instanceSiteKey=null,e.successfulLoadingConsumers=[],e.errorLoadingRunnable=[],e.SCRIPT_LOAD_DELAY=25,e}();ca.load=Z4.load;ca.getInstance=Z4.getInstance;(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ReCaptchaInstance=e.getInstance=e.load=void 0;var t=ca;Object.defineProperty(e,"load",{enumerable:!0,get:function(){return t.load}}),Object.defineProperty(e,"getInstance",{enumerable:!0,get:function(){return t.getInstance}});var n=Js;Object.defineProperty(e,"ReCaptchaInstance",{enumerable:!0,get:function(){return n.ReCaptchaInstance}})})(J4);const mo=xi("utilities",()=>{const e=_p(),{display:t}=ba(),{location:n}=Oi(ou()),{reset:r}=ou(),i=Nt("konnectio_settings",{},void 0,{serializer:yt.object}),o=Nt("konnectio_cLocation",NaN,void 0,{serializer:yt.number}),a=Te({}),s=de(()=>i.value.maximumNightsAvailable),l=de(()=>i.value.enableTracking),u=de(()=>i.value.googleApiKey),d=de(()=>i.value.recaptchaSiteKey),c=de(()=>i.value.recaptchaSecretKey),f=de(()=>i.value.maxAdultAmount),p=de(()=>i.value.maxChildAmount),y=de(()=>i.value.firstSelectableDateOffset),v=de(()=>i.value.lastSelectableDateOffset),_=de(()=>i.value.disableAdultSelection),m=de(()=>i.value.disableArrivalUserSelection),g=de(()=>i.value.disableChildSelection),b=de(()=>i.value.disableDepartureUserSelection),h=de(()=>i.value.bookingUri),E=de(()=>i.value.hideTitle),k=de(()=>i.value.headerHeight),T=de(()=>i.value.enableStickyHeader),A=de(()=>i.value.arrivalDefault),C=de(()=>i.value.arrivalEarliest),N=de(()=>i.value.arrivalLatest),O=de(()=>i.value.departureDefault),S=de(()=>i.value.departureEarliest),L=de(()=>i.value.departureLatest),R=de(()=>i.value.hideArrivalDepartureInputs),D=de(()=>i.value.disableNamePrefix),B=de(()=>i.value.disableGiftCardVoucher),K=de(()=>i.value.enablePackages),re=de(()=>i.value.disablePricesFrom),Y=de(()=>i.value.hideAvailableRoomAmount),j=de(()=>i.value.hideEvents),I=de(()=>i.value.hideEventTemplates),F=de(()=>i.value.disableNewsletterSignup),z=de(()=>i.value.disableTravelingFor),ee=de(()=>i.value.disableTravelingForBleasure),J=de(()=>i.value.disableCompanyField),H=Te(""),X=de(()=>`Bearer ${H.value}`),ie=de(()=>Object.keys(a.value).length>0),oe=de(()=>ie.value?a.value.hotels[0].currency.currencyCode:""),ue=de(()=>ie.value?a.value.hotels[0].currency.id:NaN),he=de(()=>ie.value?a.value.hotels[0].name:""),V=de(()=>a.value.hotels[0].paymentGatewayId),P=de(()=>{let q=!0;return(V.value===la.None||V.value===la.AskForCreditCard)&&(q=!1),q});function x(q){H.value=q}async function $(q="none"){try{if(q!=="none"){const Q=(await Hr.get(`https://production.hotel-service.konnectio.dk/api/${q}/metadata`,{params:{language:Kr()},headers:{Authorization:X.value,Accept:"application/json","Fresh-Booking-Ver":"4.0.50"}})).data;a.value=Q,Q.hotelId&&(isNaN(o.value)?o.value=Q.hotelId:o.value!==Q.hotelId&&(r(),o.value=Q.hotelId),isNaN(n.value)&&Q.hotelId&&(n.value=Q.hotelId))}}catch{t({message:je.t("alert.error.couldntFetchMetadata"),type:"warning"})}}async function Z(){await Hr.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.50"}}).then(q=>{const{settings:Q,translations:ne}=q.data;i.value=Q,UT(ne),e.setup()})}const se=de(()=>!!d.value);async function U({type:q="submit",callback:Q}){se.value?(console.log("LOADED!"),J4.load(d.value,{autoHideBadge:!0}).then(ne=>{ne.execute(q).then(async ae=>{console.log(ae),(await Hr.get("https://production.hotel-service.konnectio.dk/api/utility/verify-recaptcha",{params:{token:ae},headers:{Authorization:X.value,"Konnectio-Core-Ver":"4.0.50"}})).data.success===!0?Q():t({message:je.t("Robot guy"),type:"warning"})})})):Q()}return{setAccessToken:x,fetchUtilities:Z,fetchMetadata:$,verifyRecaptcha:U,disableTravelingForBleasure:ee,enableStickyHeader:T,hasPaymentGateway:P,name:he,paymentGatewayId:V,metaData:a,currency:oe,currencyId:ue,bearerToken:X,maximumNightsAvailable:s,enableTracking:l,googleApiKey:u,recaptchaSiteKey:d,recaptchaSecretKey:c,maxAdultAmount:f,maxChildAmount:p,firstSelectableDateOffset:y,lastSelectableDateOffset:v,disableAdultSelection:_,disableArrivalUserSelection:m,disableChildSelection:g,disableDepartureUserSelection:b,bookingUri:h,hideTitle:E,headerHeight:k,arrivalDefault:A,arrivalEarliest:C,arrivalLatest:N,departureDefault:O,departureEarliest:S,departureLatest:L,hideArrivalDepartureInputs:R,disableNamePrefix:D,disableGiftCardVoucher:B,enablePackages:K,disablePricesFrom:re,hideAvailableRoomAmount:Y,hideEvents:j,hideEventTemplates:I,disableNewsletterSignup:F,disableTravelingFor:z,disableCompanyField:J,isRecaptchaEnabled:se}});function l2(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?l2(Object(n),!0).forEach(function(r){Tt(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l2(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function au(e){"@babel/helpers - typeof";return au=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},au(e)}function Sw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c2(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 Nw(e,t,n){return t&&c2(e.prototype,t),n&&c2(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Tt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ep(e,t){return Cw(e)||Pw(e,t)||Q4(e,t)||Rw()}function Zs(e){return kw(e)||Lw(e)||Q4(e)||Iw()}function kw(e){if(Array.isArray(e))return yh(e)}function Cw(e){if(Array.isArray(e))return e}function Lw(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Pw(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],i=!0,o=!1,a,s;try{for(n=n.call(e);!(i=(a=n.next()).done)&&(r.push(a.value),!(t&&r.length===t));i=!0);}catch(l){o=!0,s=l}finally{try{!i&&n.return!=null&&n.return()}finally{if(o)throw s}}return r}}function Q4(e,t){if(e){if(typeof e=="string")return yh(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 yh(e,t)}}function yh(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 Iw(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
40
|
+
[REQUESTED DEPARTURE]: ${Pe}`}function wn(we,Pe,Qe,ze){const Ft=(Pe?Qe:ze?q.value:re.value).split(":");return YT(new Date(we).setUTCHours(parseInt(Ft[0]),parseInt(Ft[1]),0,0))}function Zn(we){return vp(s.value,l.value)*we}async function ot(){try{const we=(await Hr.get("https://production.hotel-service.konnectio.dk/api/hotel/metadata",{params:{language:Kr()},headers:{Authorization:y.value,Accept:"application/json","Fresh-Booking-Ver":"4.0.51"}})).data;p.value=we}catch{i({message:He.t("alert.error.couldntFetchMetadata"),type:"warning"})}}async function At(){L.value=1,S.value=!0;let we=f.value;isNaN(we)&&(we=null);try{const Pe=await Hr.get("https://production.hotel-service.konnectio.dk/api/hotel/availability",{params:{fromDate:s.value,toDate:l.value,adultsCount:o.value,childrenCount:a.value,language:Kr(),hotelId:we},headers:{Authorization:y.value,Accept:"application/json","Konnectio-Ver":"4.0.51"}});Pe.status!==200?i({message:`${He.t("booking.other.errorMessage")} (HTTP: ${Pe.status})`,type:"warning"}):(O.value=Pe.data,e.viewItemList())}catch{i({message:He.t("alert.error.couldntFetchListings"),type:"warning"})}S.value=!1}function mn(we=!1){const Pe=[];isNaN(R.value)?E.value.forEach(({variants:ze,roomGroupID:Gt})=>{ze?.forEach(({rooms:Ft,ratePlanID:Er})=>{Ft?.forEach(({adultsCount:Qn,childrenCount:Or,roomAddons:Tr})=>{Pe.push({roomGroupID:Gt,ratePlanID:Er,adultsCount:Qn,childrenCount:Or,guest:{name:I.value,phone:te.value,email:z.value},roomAddons:Tr})})})}):Pe.push({templateID:R.value,roomGroupID:D.value,ratePlanID:null,adultsCount:o.value,childrenCount:a.value,roomAddons:[],guest:{title:X0(F.value),guestID:0,name:I.value,email:z.value,phone:te.value,newsmails:V.value}});let Qe=f.value;return isNaN(Qe)&&(Qe=null),{fromDate:u.value,toDate:d.value,hotelId:Qe,guest:{travellingFor:B.value,title:X0(F.value),guestID:0,name:I.value,email:z.value,firmName:J.value,phone:te.value,country:ie.value,address1:oe.value,postal:String(H.value),city:X.value,newsmails:V.value},giftCardCode:n.value,discountCode:we?j.value:Y.value,selectedRooms:Pe,remark:Jn(wn(s.value,m.value,v.value,!0),wn(l.value,g.value,_.value,!1)),checkoutUrl:window.location.origin,privacyUrl:window.location.origin,termsOfserviceURL:window.location.origin}}const en=Te();async function gn(){await Hr.post("https://production.hotel-service.konnectio.dk/api/hotel/validate-discount-code",mn(),{headers:{Authorization:y.value,Accept:"application/json","Konnectio-Ver":"4.0.51"}}).then(we=>{const Pe=we.data;Pe.discountApplyed===!0?(en.value=Pe,j.value=Y.value,Y.value="",i({message:`${He.t("alert.success.discountCodeApplied")}`,type:"success"})):i({message:`${He.t("alert.error.discountCodeInvalid")}`,type:"error"})}).catch(we=>{i({message:`${He.t("alert.error.discountCodeValidation")}`,type:"warning"})})}const Zr=de(()=>en.value?.offer.properties);function ji(){en.value=void 0,Y.value="",j.value=""}async function br(we){L.value=3,S.value=!0,await Hr.post("https://production.hotel-service.konnectio.dk/api/hotel/create-reservation",mn(!0),{headers:{Authorization:y.value,Accept:"application/json","Konnectio-Ver":"4.0.51"}}).then(Pe=>{P.value=!1,S.value=!1,t.pay({callback:we,response:Pe.data})}).catch(Pe=>{if(S.value=!1,L.value=2,Pe.response){const{status:Qe}=Pe.response;i(Qe===433?{message:He.t("alert.error.noRoomAvailable"),type:"error"}:{message:He.t("booking.other.errorMessage"),type:"warning"})}else i({message:He.t("booking.other.errorMessage"),type:"warning"})})}function Fi(){R.value=NaN,D.value=NaN}function _r(){At()}return{discountVouchers:Zr,discountCode:Y,appliedDiscountCode:j,resetDiscountVoucher:ji,clearRoomSelection:k,validateDiscountCode:gn,isTemplateReservation:x,selectionHasNoAddons:T,hasHotelList:se,hotelList:U,areListingsLoading:pe,roomSelect:h,removeRoom:C,termsOfService:G,metaData:p,availabilityData:O,isLoading:S,moduleState:L,templateID:R,roomGroupID:D,travelingFor:B,arrivalTime:q,departureTime:re,name:I,nameTitle:F,email:z,phone:te,firmName:J,postal:H,city:X,country:ie,address:oe,remark:ue,allergies:he,newsMails:V,roomDisplay:E,isPaymentInitialized:P,nights:c,hotelCountry:ee,countries:Q,title:ae,isMetaDataAvailable:le,isAvailabilityDataAvailable:K,totalPrice:N,selectedPackage:ge,isPaymentLoading:ve,getSingleListing:Ze,getSpecifiedPackageRoom:xe,getBasePrice:Zn,getSelectedPackageRoom:Oe,isReservationFormFilled:ne,hasValidRoomSelection:A,fetchMetaData:ot,fetchAvailabilityData:At,createReservation:br,resetTemplate:Fi,initialize:_r,reservationPayload:mn,discountPayload:en}}),_p=xi("tracking",()=>{const e=mo(),t=X4(),n=de(()=>{const f=[];return t.roomDisplay.forEach(({variants:p})=>{p?.forEach(({rooms:y,name:v})=>{y?.forEach(({totalPrice:_})=>{f.push({name:v,quantity:1,price:_})})})}),{items:f,value:t.totalPrice}}),r=de(()=>t.availabilityData.roomGroups.map(f=>({item_id:f.id,item_name:f.title})));function i(){F4({appName:"Konnectio Booking Engine",config:{id:e.googleApiKey,params:{send_page_view:!1}},enabled:e.enableTracking}),W4().then(()=>{})}function o(){$n("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 a({id:f,name:p,value:y,label:v,category:_="general"}){return{items:[{item_id:f,item_name:p}],event_label:v,event_category:_,value:y,currency:e.currency}}function s(f,p){$n(f,a(p))}function l({id:f,name:p,value:y}){s("add_to_cart",{id:f,name:p,value:y,label:"Added to cart",category:"ecommerce"})}function u({id:f,name:p,value:y}){s("remove_from_cart",{id:f,name:p,value:y,label:"Removed to cart",category:"ecommerce"})}function d(f){$n("view_item",{items:[{name:f}]})}function c(){$n("begin_checkout",n.value)}return{hotelItems:r,hotelCart:n,setup:i,viewItem:d,addToCart:l,removeFromCart:u,beginCheckout:c,viewItemList:o}});var J4={},ca={},Js={},Ow=it.commonjsGlobal&&it.commonjsGlobal.__awaiter||function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(a){a(o)})}return new(n||(n=Promise))(function(o,a){function s(d){try{u(r.next(d))}catch(c){a(c)}}function l(d){try{u(r.throw(d))}catch(c){a(c)}}function u(d){d.done?o(d.value):i(d.value).then(s,l)}u((r=r.apply(e,t||[])).next())})},Tw=it.commonjsGlobal&&it.commonjsGlobal.__generator||function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(u){return function(d){return l([u,d])}}function l(u){if(r)throw new TypeError("Generator is already executing.");for(;n;)try{if(r=1,i&&(o=u[0]&2?i.return:u[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,u[1])).done)return o;switch(i=0,o&&(u=[u[0]&2,o.value]),u[0]){case 0:case 1:o=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(o=n.trys,!(o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]<o[3])){n.label=u[1];break}if(u[0]===6&&n.label<o[1]){n.label=o[1],o=u;break}if(o&&n.label<o[2]){n.label=o[2],n.ops.push(u);break}o[2]&&n.ops.pop(),n.trys.pop();continue}u=t.call(e,n)}catch(d){u=[6,d],i=0}finally{r=o=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}};Object.defineProperty(Js,"__esModule",{value:!0});Js.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 Ow(this,void 0,void 0,function(){return Tw(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}();Js.ReCaptchaInstance=ww;Object.defineProperty(ca,"__esModule",{value:!0});ca.getInstance=ca.load=void 0;var Aw=Js,pi;(function(e){e[e.NOT_LOADED=0]="NOT_LOADED",e[e.LOADING=1]="LOADING",e[e.LOADED=2]="LOADED"})(pi||(pi={}));var Z4=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()===pi.LOADED)return e.instance.getSiteKey()===t?Promise.resolve(e.instance):Promise.reject(new Error("reCAPTCHA already loaded with different site key!"));if(e.getLoadingState()===pi.LOADING)return t!==e.instanceSiteKey?Promise.reject(new Error("reCAPTCHA already loaded with different site key!")):new Promise(function(i,o){e.successfulLoadingConsumers.push(function(a){return i(a)}),e.errorLoadingRunnable.push(function(a){return o(a)})});e.instanceSiteKey=t,e.setLoadingState(pi.LOADING);var r=new e;return new Promise(function(i,o){r.loadScript(t,n.useRecaptchaNet||!1,n.useEnterprise||!1,n.renderParameters?n.renderParameters:{},n.customUrl).then(function(){e.setLoadingState(pi.LOADED);var a=r.doExplicitRender(grecaptcha,t,n.explicitRenderParameters?n.explicitRenderParameters:{},n.useEnterprise||!1),s=new Aw.ReCaptchaInstance(t,a,grecaptcha);e.successfulLoadingConsumers.forEach(function(l){return l(s)}),e.successfulLoadingConsumers=[],n.autoHideBadge&&s.hideBadge(),e.instance=s,i(s)}).catch(function(a){e.errorLoadingRunnable.forEach(function(s){return s(a)}),e.errorLoadingRunnable=[],o(a)})})},e.getInstance=function(){return e.instance},e.setLoadingState=function(t){e.loadingState=t},e.getLoadingState=function(){return e.loadingState===null?pi.NOT_LOADED:e.loadingState},e.prototype.loadScript=function(t,n,r,i,o){var a=this;n===void 0&&(n=!1),r===void 0&&(r=!1),i===void 0&&(i={}),o===void 0&&(o="");var s=document.createElement("script");s.setAttribute("recaptcha-v3-script","");var l="https://www.google.com/recaptcha/api.js";n&&(r?l="https://recaptcha.net/recaptcha/enterprise.js":l="https://recaptcha.net/recaptcha/api.js"),r&&(l="https://www.google.com/recaptcha/enterprise.js"),o&&(l=o),i.render&&(i.render=void 0);var u=this.buildQueryString(i);return s.src=l+"?render=explicit"+u,new Promise(function(d,c){s.addEventListener("load",a.waitForScriptToLoad(function(){d(s)},r),!1),s.onerror=function(f){e.setLoadingState(pi.NOT_LOADED),c(f)},document.head.appendChild(s)})},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 o={sitekey:n,badge:r.badge,size:r.size,tabindex:r.tabindex};return r.container?i?t.enterprise.render(r.container,o):t.render(r.container,o):i?t.enterprise.render(o):t.render(o)},e.loadingState=null,e.instance=null,e.instanceSiteKey=null,e.successfulLoadingConsumers=[],e.errorLoadingRunnable=[],e.SCRIPT_LOAD_DELAY=25,e}();ca.load=Z4.load;ca.getInstance=Z4.getInstance;(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ReCaptchaInstance=e.getInstance=e.load=void 0;var t=ca;Object.defineProperty(e,"load",{enumerable:!0,get:function(){return t.load}}),Object.defineProperty(e,"getInstance",{enumerable:!0,get:function(){return t.getInstance}});var n=Js;Object.defineProperty(e,"ReCaptchaInstance",{enumerable:!0,get:function(){return n.ReCaptchaInstance}})})(J4);const mo=xi("utilities",()=>{const e=_p(),{display:t}=ba(),{location:n}=Oi(ou()),{reset:r}=ou(),i=Nt("konnectio_settings",{},void 0,{serializer:yt.object}),o=Nt("konnectio_cLocation",NaN,void 0,{serializer:yt.number}),a=Te({}),s=de(()=>i.value.maximumNightsAvailable),l=de(()=>i.value.enableTracking),u=de(()=>i.value.googleApiKey),d=de(()=>i.value.recaptchaSiteKey),c=de(()=>i.value.recaptchaSecretKey),f=de(()=>i.value.maxAdultAmount),p=de(()=>i.value.maxChildAmount),y=de(()=>i.value.firstSelectableDateOffset),v=de(()=>i.value.lastSelectableDateOffset),_=de(()=>i.value.disableAdultSelection),m=de(()=>i.value.disableArrivalUserSelection),g=de(()=>i.value.disableChildSelection),b=de(()=>i.value.disableDepartureUserSelection),h=de(()=>i.value.bookingUri),E=de(()=>i.value.hideTitle),k=de(()=>i.value.headerHeight),T=de(()=>i.value.enableStickyHeader),A=de(()=>i.value.arrivalDefault),C=de(()=>i.value.arrivalEarliest),N=de(()=>i.value.arrivalLatest),O=de(()=>i.value.departureDefault),S=de(()=>i.value.departureEarliest),L=de(()=>i.value.departureLatest),R=de(()=>i.value.hideArrivalDepartureInputs),D=de(()=>i.value.disableNamePrefix),B=de(()=>i.value.disableGiftCardVoucher),q=de(()=>i.value.disableDiscountVoucher),re=de(()=>i.value.enablePackages),Y=de(()=>i.value.disablePricesFrom),j=de(()=>i.value.hideAvailableRoomAmount),I=de(()=>i.value.hideEvents),F=de(()=>i.value.hideEventTemplates),z=de(()=>i.value.disableNewsletterSignup),te=de(()=>i.value.disableTravelingFor),J=de(()=>i.value.disableTravelingForBleasure),H=de(()=>i.value.disableCompanyField),X=Te(""),ie=de(()=>`Bearer ${X.value}`),oe=de(()=>Object.keys(a.value).length>0),ue=de(()=>oe.value?a.value.hotels[0].currency.currencyCode:""),he=de(()=>oe.value?a.value.hotels[0].currency.id:NaN),V=de(()=>oe.value?a.value.hotels[0].name:""),P=de(()=>a.value.hotels[0].paymentGatewayId),x=de(()=>{let ee=!0;return(P.value===la.None||P.value===la.AskForCreditCard)&&(ee=!1),ee});function $(ee){X.value=ee}async function Z(ee="none"){try{if(ee!=="none"){const Q=(await Hr.get(`https://production.hotel-service.konnectio.dk/api/${ee}/metadata`,{params:{language:Kr()},headers:{Authorization:ie.value,Accept:"application/json","Fresh-Booking-Ver":"4.0.51"}})).data;a.value=Q,Q.hotelId&&(isNaN(o.value)?o.value=Q.hotelId:o.value!==Q.hotelId&&(r(),o.value=Q.hotelId),isNaN(n.value)&&Q.hotelId&&(n.value=Q.hotelId))}}catch{t({message:He.t("alert.error.couldntFetchMetadata"),type:"warning"})}}async function se(){await Hr.get("https://production.hotel-service.konnectio.dk/api/utility/get-settings-and-translations",{headers:{Authorization:ie.value,Accept:"application/json","Fresh-Booking-Ver":"4.0.51"}}).then(ee=>{const{settings:Q,translations:ae}=ee.data;i.value=Q,UT(ae),e.setup()})}const U=de(()=>!!d.value);async function G({type:ee="submit",callback:Q}){U.value?(console.log("LOADED!"),J4.load(d.value,{autoHideBadge:!0}).then(ae=>{ae.execute(ee).then(async le=>{console.log(le),(await Hr.get("https://production.hotel-service.konnectio.dk/api/utility/verify-recaptcha",{params:{token:le},headers:{Authorization:ie.value,"Konnectio-Core-Ver":"4.0.51"}})).data.success===!0?Q():t({message:He.t("Robot guy"),type:"warning"})})})):Q()}return{setAccessToken:$,fetchUtilities:se,fetchMetadata:Z,verifyRecaptcha:G,disableDiscountVoucher:q,disableTravelingForBleasure:J,enableStickyHeader:T,hasPaymentGateway:x,name:V,paymentGatewayId:P,metaData:a,currency:ue,currencyId:he,bearerToken:ie,maximumNightsAvailable:s,enableTracking:l,googleApiKey:u,recaptchaSiteKey:d,recaptchaSecretKey:c,maxAdultAmount:f,maxChildAmount:p,firstSelectableDateOffset:y,lastSelectableDateOffset:v,disableAdultSelection:_,disableArrivalUserSelection:m,disableChildSelection:g,disableDepartureUserSelection:b,bookingUri:h,hideTitle:E,headerHeight:k,arrivalDefault:A,arrivalEarliest:C,arrivalLatest:N,departureDefault:O,departureEarliest:S,departureLatest:L,hideArrivalDepartureInputs:R,disableNamePrefix:D,disableGiftCardVoucher:B,enablePackages:re,disablePricesFrom:Y,hideAvailableRoomAmount:j,hideEvents:I,hideEventTemplates:F,disableNewsletterSignup:z,disableTravelingFor:te,disableCompanyField:H,isRecaptchaEnabled:U}});function l2(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?l2(Object(n),!0).forEach(function(r){Tt(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l2(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function au(e){"@babel/helpers - typeof";return au=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},au(e)}function Sw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c2(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 Nw(e,t,n){return t&&c2(e.prototype,t),n&&c2(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Tt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ep(e,t){return Cw(e)||Pw(e,t)||Q4(e,t)||Rw()}function Zs(e){return kw(e)||Lw(e)||Q4(e)||Iw()}function kw(e){if(Array.isArray(e))return yh(e)}function Cw(e){if(Array.isArray(e))return e}function Lw(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Pw(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],i=!0,o=!1,a,s;try{for(n=n.call(e);!(i=(a=n.next()).done)&&(r.push(a.value),!(t&&r.length===t));i=!0);}catch(l){o=!0,s=l}finally{try{!i&&n.return!=null&&n.return()}finally{if(o)throw s}}return r}}function Q4(e,t){if(e){if(typeof e=="string")return yh(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 yh(e,t)}}function yh(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 Iw(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
41
41
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Rw(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
42
42
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var u2=function(){},Op={},eb={},tb=null,nb={mark:u2,measure:u2};try{typeof window<"u"&&(Op=window),typeof document<"u"&&(eb=document),typeof MutationObserver<"u"&&(tb=MutationObserver),typeof performance<"u"&&(nb=performance)}catch{}var xw=Op.navigator||{},f2=xw.userAgent,d2=f2===void 0?"":f2,Ci=Op,Je=eb,h2=tb,Ml=nb;Ci.document;var Jr=!!Je.documentElement&&!!Je.head&&typeof Je.addEventListener=="function"&&typeof Je.createElement=="function",rb=~d2.indexOf("MSIE")||~d2.indexOf("Trident/"),Dl,Hl,jl,Fl,Vl,Wr="___FONT_AWESOME___",bh=16,ib="fa",ob="svg-inline--fa",go="data-fa-i2svg",_h="data-fa-pseudo-element",Mw="data-fa-pseudo-element-pending",Tp="data-prefix",wp="data-icon",p2="fontawesome-i2svg",Dw="async",Hw=["HTML","HEAD","STYLE","SCRIPT"],ab=function(){try{return!0}catch{return!1}}(),Xe="classic",st="sharp",Ap=[Xe,st];function Qs(e){return new Proxy(e,{get:function(n,r){return r in n?n[r]:n[Xe]}})}var As=Qs((Dl={},Tt(Dl,Xe,{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",fakd:"kit","fa-kit":"kit","fa-kit-duotone":"kit"}),Tt(Dl,st,{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"}),Dl)),Ss=Qs((Hl={},Tt(Hl,Xe,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),Tt(Hl,st,{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"}),Hl)),Ns=Qs((jl={},Tt(jl,Xe,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),Tt(jl,st,{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"}),jl)),jw=Qs((Fl={},Tt(Fl,Xe,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),Tt(Fl,st,{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"}),Fl)),Fw=/fa(s|r|l|t|d|b|k|ss|sr|sl|st)?[\-\ ]/,sb="fa-layers-text",Vw=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,Bw=Qs((Vl={},Tt(Vl,Xe,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),Tt(Vl,st,{900:"fass",400:"fasr",300:"fasl",100:"fast"}),Vl)),lb=[1,2,3,4,5,6,7,8,9,10],zw=lb.concat([11,12,13,14,15,16,17,18,19,20]),$w=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],io={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},ks=new Set;Object.keys(Ss[Xe]).map(ks.add.bind(ks));Object.keys(Ss[st]).map(ks.add.bind(ks));var Uw=[].concat(Ap,Zs(ks),["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",io.GROUP,io.SWAP_OPACITY,io.PRIMARY,io.SECONDARY]).concat(lb.map(function(e){return"".concat(e,"x")})).concat(zw.map(function(e){return"w-".concat(e)})),Qa=Ci.FontAwesomeConfig||{};function qw(e){var t=Je.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function Kw(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}if(Je&&typeof Je.querySelector=="function"){var Ww=[["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"]];Ww.forEach(function(e){var t=Ep(e,2),n=t[0],r=t[1],i=Kw(qw(n));i!=null&&(Qa[r]=i)})}var cb={styleDefault:"solid",familyDefault:"classic",cssPrefix:ib,replacementClass:ob,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};Qa.familyPrefix&&(Qa.cssPrefix=Qa.familyPrefix);var ua=ye(ye({},cb),Qa);ua.autoReplaceSvg||(ua.observeMutations=!1);var _e={};Object.keys(cb).forEach(function(e){Object.defineProperty(_e,e,{enumerable:!0,set:function(n){ua[e]=n,es.forEach(function(r){return r(_e)})},get:function(){return ua[e]}})});Object.defineProperty(_e,"familyPrefix",{enumerable:!0,set:function(t){ua.cssPrefix=t,es.forEach(function(n){return n(_e)})},get:function(){return ua.cssPrefix}});Ci.FontAwesomeConfig=_e;var es=[];function Gw(e){return es.push(e),function(){es.splice(es.indexOf(e),1)}}var li=bh,dr={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function Yw(e){if(!(!e||!Jr)){var t=Je.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=Je.head.childNodes,r=null,i=n.length-1;i>-1;i--){var o=n[i],a=(o.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(a)>-1&&(r=o)}return Je.head.insertBefore(t,r),e}}var Xw="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Cs(){for(var e=12,t="";e-- >0;)t+=Xw[Math.random()*62|0];return t}function _a(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function Sp(e){return e.classList?_a(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(t){return t})}function ub(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function Jw(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,'="').concat(ub(e[n]),'" ')},"").trim()}function sf(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")},"")}function Np(e){return e.size!==dr.size||e.x!==dr.x||e.y!==dr.y||e.rotate!==dr.rotate||e.flipX||e.flipY}function Zw(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth,i={transform:"translate(".concat(n/2," 256)")},o="translate(".concat(t.x*32,", ").concat(t.y*32,") "),a="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),s="rotate(".concat(t.rotate," 0 0)"),l={transform:"".concat(o," ").concat(a," ").concat(s)},u={transform:"translate(".concat(r/2*-1," -256)")};return{outer:i,inner:l,path:u}}function Qw(e){var t=e.transform,n=e.width,r=n===void 0?bh:n,i=e.height,o=i===void 0?bh:i,a=e.startCentered,s=a===void 0?!1:a,l="";return s&&rb?l+="translate(".concat(t.x/li-r/2,"em, ").concat(t.y/li-o/2,"em) "):s?l+="translate(calc(-50% + ".concat(t.x/li,"em), calc(-50% + ").concat(t.y/li,"em)) "):l+="translate(".concat(t.x/li,"em, ").concat(t.y/li,"em) "),l+="scale(".concat(t.size/li*(t.flipX?-1:1),", ").concat(t.size/li*(t.flipY?-1:1),") "),l+="rotate(".concat(t.rotate,"deg) "),l}var eA=`:root, :host {
|
|
43
43
|
--fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";
|
|
@@ -804,41 +804,41 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
|
804
804
|
* Copyright (c) 2014, Jason Chen
|
|
805
805
|
* Copyright (c) 2013, salesforce.com
|
|
806
806
|
*/(function(e,t){(function(r,i){e.exports=i()})(typeof self<"u"?self:it.commonjsGlobal,function(){return function(n){var r={};function i(o){if(r[o])return r[o].exports;var a=r[o]={i:o,l:!1,exports:{}};return n[o].call(a.exports,a,a.exports,i),a.l=!0,a.exports}return i.m=n,i.c=r,i.d=function(o,a,s){i.o(o,a)||Object.defineProperty(o,a,{configurable:!1,enumerable:!0,get:s})},i.n=function(o){var a=o&&o.__esModule?function(){return o.default}:function(){return o};return i.d(a,"a",a),a},i.o=function(o,a){return Object.prototype.hasOwnProperty.call(o,a)},i.p="",i(i.s=109)}([function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var o=i(17),a=i(18),s=i(19),l=i(45),u=i(46),d=i(47),c=i(48),f=i(49),p=i(12),y=i(32),v=i(33),_=i(31),m=i(1),g={Scope:m.Scope,create:m.create,find:m.find,query:m.query,register:m.register,Container:o.default,Format:a.default,Leaf:s.default,Embed:c.default,Scroll:l.default,Block:d.default,Inline:u.default,Text:f.default,Attributor:{Attribute:p.default,Class:y.default,Style:v.default,Store:_.default}};r.default=g},function(n,r,i){var o=this&&this.__extends||function(){var _=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(m,g){m.__proto__=g}||function(m,g){for(var b in g)g.hasOwnProperty(b)&&(m[b]=g[b])};return function(m,g){_(m,g);function b(){this.constructor=m}m.prototype=g===null?Object.create(g):(b.prototype=g.prototype,new b)}}();Object.defineProperty(r,"__esModule",{value:!0});var a=function(_){o(m,_);function m(g){var b=this;return g="[Parchment] "+g,b=_.call(this,g)||this,b.message=g,b.name=b.constructor.name,b}return m}(Error);r.ParchmentError=a;var s={},l={},u={},d={};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 f(_,m){var g=y(_);if(g==null)throw new a("Unable to create "+_+" blot");var b=g,h=_ instanceof Node||_.nodeType===Node.TEXT_NODE?_:b.create(m);return new b(h,m)}r.create=f;function p(_,m){return m===void 0&&(m=!1),_==null?null:_[r.DATA_KEY]!=null?_[r.DATA_KEY].blot:m?p(_.parentNode,m):null}r.find=p;function y(_,m){m===void 0&&(m=c.ANY);var g;if(typeof _=="string")g=d[_]||s[_];else if(_ instanceof Text||_.nodeType===Node.TEXT_NODE)g=d.text;else if(typeof _=="number")_&c.LEVEL&c.BLOCK?g=d.block:_&c.LEVEL&c.INLINE&&(g=d.inline);else if(_ instanceof HTMLElement){var b=(_.getAttribute("class")||"").split(/\s+/);for(var h in b)if(g=l[b[h]],g)break;g=g||u[_.tagName]}return g==null?null:m&c.LEVEL&g.scope&&m&c.TYPE&g.scope?g:null}r.query=y;function v(){for(var _=[],m=0;m<arguments.length;m++)_[m]=arguments[m];if(_.length>1)return _.map(function(h){return v(h)});var g=_[0];if(typeof g.blotName!="string"&&typeof g.attrName!="string")throw new a("Invalid definition");if(g.blotName==="abstract")throw new a("Cannot register abstract class");if(d[g.blotName||g.attrName]=g,typeof g.keyName=="string")s[g.keyName]=g;else if(g.className!=null&&(l[g.className]=g),g.tagName!=null){Array.isArray(g.tagName)?g.tagName=g.tagName.map(function(h){return h.toUpperCase()}):g.tagName=g.tagName.toUpperCase();var b=Array.isArray(g.tagName)?g.tagName:[g.tagName];b.forEach(function(h){(u[h]==null||g.className==null)&&(u[h]=g)})}return g}r.register=v},function(n,r,i){var o=i(51),a=i(11),s=i(3),l=i(20),u=String.fromCharCode(0),d=function(c){Array.isArray(c)?this.ops=c:c!=null&&Array.isArray(c.ops)?this.ops=c.ops:this.ops=[]};d.prototype.insert=function(c,f){var p={};return c.length===0?this:(p.insert=c,f!=null&&typeof f=="object"&&Object.keys(f).length>0&&(p.attributes=f),this.push(p))},d.prototype.delete=function(c){return c<=0?this:this.push({delete:c})},d.prototype.retain=function(c,f){if(c<=0)return this;var p={retain:c};return f!=null&&typeof f=="object"&&Object.keys(f).length>0&&(p.attributes=f),this.push(p)},d.prototype.push=function(c){var f=this.ops.length,p=this.ops[f-1];if(c=s(!0,{},c),typeof p=="object"){if(typeof c.delete=="number"&&typeof p.delete=="number")return this.ops[f-1]={delete:p.delete+c.delete},this;if(typeof p.delete=="number"&&c.insert!=null&&(f-=1,p=this.ops[f-1],typeof p!="object"))return this.ops.unshift(c),this;if(a(c.attributes,p.attributes)){if(typeof c.insert=="string"&&typeof p.insert=="string")return this.ops[f-1]={insert:p.insert+c.insert},typeof c.attributes=="object"&&(this.ops[f-1].attributes=c.attributes),this;if(typeof c.retain=="number"&&typeof p.retain=="number")return this.ops[f-1]={retain:p.retain+c.retain},typeof c.attributes=="object"&&(this.ops[f-1].attributes=c.attributes),this}}return f===this.ops.length?this.ops.push(c):this.ops.splice(f,0,c),this},d.prototype.chop=function(){var c=this.ops[this.ops.length-1];return c&&c.retain&&!c.attributes&&this.ops.pop(),this},d.prototype.filter=function(c){return this.ops.filter(c)},d.prototype.forEach=function(c){this.ops.forEach(c)},d.prototype.map=function(c){return this.ops.map(c)},d.prototype.partition=function(c){var f=[],p=[];return this.forEach(function(y){var v=c(y)?f:p;v.push(y)}),[f,p]},d.prototype.reduce=function(c,f){return this.ops.reduce(c,f)},d.prototype.changeLength=function(){return this.reduce(function(c,f){return f.insert?c+l.length(f):f.delete?c-f.delete:c},0)},d.prototype.length=function(){return this.reduce(function(c,f){return c+l.length(f)},0)},d.prototype.slice=function(c,f){c=c||0,typeof f!="number"&&(f=1/0);for(var p=[],y=l.iterator(this.ops),v=0;v<f&&y.hasNext();){var _;v<c?_=y.next(c-v):(_=y.next(f-v),p.push(_)),v+=l.length(_)}return new d(p)},d.prototype.compose=function(c){var f=l.iterator(this.ops),p=l.iterator(c.ops),y=[],v=p.peek();if(v!=null&&typeof v.retain=="number"&&v.attributes==null){for(var _=v.retain;f.peekType()==="insert"&&f.peekLength()<=_;)_-=f.peekLength(),y.push(f.next());v.retain-_>0&&p.next(v.retain-_)}for(var m=new d(y);f.hasNext()||p.hasNext();)if(p.peekType()==="insert")m.push(p.next());else if(f.peekType()==="delete")m.push(f.next());else{var g=Math.min(f.peekLength(),p.peekLength()),b=f.next(g),h=p.next(g);if(typeof h.retain=="number"){var E={};typeof b.retain=="number"?E.retain=g:E.insert=b.insert;var k=l.attributes.compose(b.attributes,h.attributes,typeof b.retain=="number");if(k&&(E.attributes=k),m.push(E),!p.hasNext()&&a(m.ops[m.ops.length-1],E)){var T=new d(f.rest());return m.concat(T).chop()}}else typeof h.delete=="number"&&typeof b.retain=="number"&&m.push(h)}return m.chop()},d.prototype.concat=function(c){var f=new d(this.ops.slice());return c.ops.length>0&&(f.push(c.ops[0]),f.ops=f.ops.concat(c.ops.slice(1))),f},d.prototype.diff=function(c,f){if(this.ops===c.ops)return new d;var p=[this,c].map(function(g){return g.map(function(b){if(b.insert!=null)return typeof b.insert=="string"?b.insert:u;var h=g===c?"on":"with";throw new Error("diff() called "+h+" non-document")}).join("")}),y=new d,v=o(p[0],p[1],f),_=l.iterator(this.ops),m=l.iterator(c.ops);return v.forEach(function(g){for(var b=g[1].length;b>0;){var h=0;switch(g[0]){case o.INSERT:h=Math.min(m.peekLength(),b),y.push(m.next(h));break;case o.DELETE:h=Math.min(b,_.peekLength()),_.next(h),y.delete(h);break;case o.EQUAL:h=Math.min(_.peekLength(),m.peekLength(),b);var E=_.next(h),k=m.next(h);a(E.insert,k.insert)?y.retain(h,l.attributes.diff(E.attributes,k.attributes)):y.push(k).delete(h);break}b-=h}}),y.chop()},d.prototype.eachLine=function(c,f){f=f||`
|
|
807
|
-
`;for(var p=l.iterator(this.ops),y=new d,v=0;p.hasNext();){if(p.peekType()!=="insert")return;var _=p.peek(),m=l.length(_)-p.peekLength(),g=typeof _.insert=="string"?_.insert.indexOf(f,m)-m:-1;if(g<0)y.push(p.next());else if(g>0)y.push(p.next(g));else{if(c(y,p.next(1).attributes||{},v)===!1)return;v+=1,y=new d}}y.length()>0&&c(y,{},v)},d.prototype.transform=function(c,f){if(f=!!f,typeof c=="number")return this.transformPosition(c,f);for(var p=l.iterator(this.ops),y=l.iterator(c.ops),v=new d;p.hasNext()||y.hasNext();)if(p.peekType()==="insert"&&(f||y.peekType()!=="insert"))v.retain(l.length(p.next()));else if(y.peekType()==="insert")v.push(y.next());else{var _=Math.min(p.peekLength(),y.peekLength()),m=p.next(_),g=y.next(_);if(m.delete)continue;g.delete?v.push(g):v.retain(_,l.attributes.transform(m.attributes,g.attributes,f))}return v.chop()},d.prototype.transformPosition=function(c,f){f=!!f;for(var p=l.iterator(this.ops),y=0;p.hasNext()&&y<=c;){var v=p.peekLength(),_=p.peekType();if(p.next(),_==="delete"){c-=Math.min(v,c-y);continue}else _==="insert"&&(y<c||!f)&&(c+=v);y+=v}return c},n.exports=d},function(n,r){var i=Object.prototype.hasOwnProperty,o=Object.prototype.toString,a=Object.defineProperty,s=Object.getOwnPropertyDescriptor,l=function(p){return typeof Array.isArray=="function"?Array.isArray(p):o.call(p)==="[object Array]"},u=function(p){if(!p||o.call(p)!=="[object Object]")return!1;var y=i.call(p,"constructor"),v=p.constructor&&p.constructor.prototype&&i.call(p.constructor.prototype,"isPrototypeOf");if(p.constructor&&!y&&!v)return!1;var _;for(_ in p);return typeof _>"u"||i.call(p,_)},d=function(p,y){a&&y.name==="__proto__"?a(p,y.name,{enumerable:!0,configurable:!0,value:y.newValue,writable:!0}):p[y.name]=y.newValue},c=function(p,y){if(y==="__proto__")if(i.call(p,y)){if(s)return s(p,y).value}else return;return p[y]};n.exports=function f(){var p,y,v,_,m,g,b=arguments[0],h=1,E=arguments.length,k=!1;for(typeof b=="boolean"&&(k=b,b=arguments[1]||{},h=2),(b==null||typeof b!="object"&&typeof b!="function")&&(b={});h<E;++h)if(p=arguments[h],p!=null)for(y in p)v=c(b,y),_=c(p,y),b!==_&&(k&&_&&(u(_)||(m=l(_)))?(m?(m=!1,g=v&&l(v)?v:[]):g=v&&u(v)?v:{},d(b,{name:y,newValue:f(k,g,_)})):typeof _<"u"&&d(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 o=function(){function O(S,L){for(var R=0;R<L.length;R++){var D=L[R];D.enumerable=D.enumerable||!1,D.configurable=!0,"value"in D&&(D.writable=!0),Object.defineProperty(S,D.key,D)}}return function(S,L,R){return L&&O(S.prototype,L),R&&O(S,R),S}}(),a=function O(S,L,R){S===null&&(S=Function.prototype);var D=Object.getOwnPropertyDescriptor(S,L);if(D===void 0){var B=Object.getPrototypeOf(S);return B===null?void 0:O(B,L,R)}else{if("value"in D)return D.value;var
|
|
808
|
-
`)){var
|
|
809
|
-
`,N(this))),this.cache.delta}},{key:"deleteAt",value:function(R,D){a(S.prototype.__proto__||Object.getPrototypeOf(S.prototype),"deleteAt",this).call(this,R,D),this.cache={}}},{key:"formatAt",value:function(R,D,B,
|
|
810
|
-
`),re=K.shift();re.length>0&&(R<this.length()-1||this.children.tail==null?a(S.prototype.__proto__||Object.getPrototypeOf(S.prototype),"insertAt",this).call(this,Math.min(R,this.length()-1),re):this.children.tail.insertAt(this.children.tail.length(),re),this.cache={});var Y=this;K.reduce(function(j,I){return Y=Y.split(j,!0),Y.insertAt(0,I),I.length},R+re.length)}}},{key:"insertBefore",value:function(R,D){var B=this.children.head;a(S.prototype.__proto__||Object.getPrototypeOf(S.prototype),"insertBefore",this).call(this,R,D),B instanceof y.default&&B.remove(),this.cache={}}},{key:"length",value:function(){return this.cache.length==null&&(this.cache.length=a(S.prototype.__proto__||Object.getPrototypeOf(S.prototype),"length",this).call(this)+T),this.cache.length}},{key:"moveChildren",value:function(R,D){a(S.prototype.__proto__||Object.getPrototypeOf(S.prototype),"moveChildren",this).call(this,R,D),this.cache={}}},{key:"optimize",value:function(R){a(S.prototype.__proto__||Object.getPrototypeOf(S.prototype),"optimize",this).call(this,R),this.cache={}}},{key:"path",value:function(R){return a(S.prototype.__proto__||Object.getPrototypeOf(S.prototype),"path",this).call(this,R,!0)}},{key:"removeChild",value:function(R){a(S.prototype.__proto__||Object.getPrototypeOf(S.prototype),"removeChild",this).call(this,R),this.cache={}}},{key:"split",value:function(R){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(D&&(R===0||R>=this.length()-T)){var B=this.clone();return R===0?(this.parent.insertBefore(B,this),this):(this.parent.insertBefore(B,this.next),B)}else{var K=a(S.prototype.__proto__||Object.getPrototypeOf(S.prototype),"split",this).call(this,R,D);return this.cache={},K}}}]),S}(f.default.Block);C.blotName="block",C.tagName="P",C.defaultChild="break",C.allowedChildren=[_.default,f.default.Embed,g.default];function N(O){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return O==null||(typeof O.formats=="function"&&(S=(0,l.default)(S,O.formats())),O.parent==null||O.parent.blotName=="scroll"||O.parent.statics.scope!==O.statics.scope)?S:N(O.parent,S)}r.bubbleFormats=N,r.BlockEmbed=A,r.default=C},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.overload=r.expandConfig=void 0;var o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Y){return typeof Y}:function(Y){return Y&&typeof Symbol=="function"&&Y.constructor===Symbol&&Y!==Symbol.prototype?"symbol":typeof Y},a=function(){function Y(j,I){var F=[],z=!0,ee=!1,J=void 0;try{for(var H=j[Symbol.iterator](),X;!(z=(X=H.next()).done)&&(F.push(X.value),!(I&&F.length===I));z=!0);}catch(ie){ee=!0,J=ie}finally{try{!z&&H.return&&H.return()}finally{if(ee)throw J}}return F}return function(j,I){if(Array.isArray(j))return j;if(Symbol.iterator in Object(j))return Y(j,I);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),s=function(){function Y(j,I){for(var F=0;F<I.length;F++){var z=I[F];z.enumerable=z.enumerable||!1,z.configurable=!0,"value"in z&&(z.writable=!0),Object.defineProperty(j,z.key,z)}}return function(j,I,F){return I&&Y(j.prototype,I),F&&Y(j,F),j}}();i(50);var l=i(2),u=N(l),d=i(14),c=N(d),f=i(8),p=N(f),y=i(9),v=N(y),_=i(0),m=N(_),g=i(15),b=N(g),h=i(3),E=N(h),k=i(10),T=N(k),A=i(34),C=N(A);function N(Y){return Y&&Y.__esModule?Y:{default:Y}}function O(Y,j,I){return j in Y?Object.defineProperty(Y,j,{value:I,enumerable:!0,configurable:!0,writable:!0}):Y[j]=I,Y}function S(Y,j){if(!(Y instanceof j))throw new TypeError("Cannot call a class as a function")}var L=(0,T.default)("quill"),R=function(){s(Y,null,[{key:"debug",value:function(I){I===!0&&(I="log"),T.default.level(I)}},{key:"find",value:function(I){return I.__quill||m.default.find(I)}},{key:"import",value:function(I){return this.imports[I]==null&&L.error("Cannot import "+I+". Are you sure it was registered?"),this.imports[I]}},{key:"register",value:function(I,F){var z=this,ee=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(typeof I!="string"){var J=I.attrName||I.blotName;typeof J=="string"?this.register("formats/"+J,I,F):Object.keys(I).forEach(function(H){z.register(H,I[H],F)})}else this.imports[I]!=null&&!ee&&L.warn("Overwriting "+I+" with",F),this.imports[I]=F,(I.startsWith("blots/")||I.startsWith("formats/"))&&F.blotName!=="abstract"?m.default.register(F):I.startsWith("modules")&&typeof F.register=="function"&&F.register()}}]);function Y(j){var I=this,F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(S(this,Y),this.options=D(j,F),this.container=this.options.container,this.container==null)return L.error("Invalid Quill container",j);this.options.debug&&Y.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 p.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(p.default.events.EDITOR_CHANGE,function(J){J===p.default.events.TEXT_CHANGE&&I.root.classList.toggle("ql-blank",I.editor.isBlank())}),this.emitter.on(p.default.events.SCROLL_UPDATE,function(J,H){var X=I.selection.lastRange,ie=X&&X.length===0?X.index:void 0;B.call(I,function(){return I.editor.update(null,H,ie)},J)});var ee=this.clipboard.convert(`<div class='ql-editor' style="white-space: normal;">`+z+"<p><br></p></div>");this.setContents(ee),this.history.clear(),this.options.placeholder&&this.root.setAttribute("data-placeholder",this.options.placeholder),this.options.readOnly&&this.disable()}return s(Y,[{key:"addContainer",value:function(I){var F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(typeof I=="string"){var z=I;I=document.createElement("div"),I.classList.add(z)}return this.container.insertBefore(I,F),I}},{key:"blur",value:function(){this.selection.setRange(null)}},{key:"deleteText",value:function(I,F,z){var ee=this,J=K(I,F,z),H=a(J,4);return I=H[0],F=H[1],z=H[3],B.call(this,function(){return ee.editor.deleteText(I,F)},z,I,-1*F)}},{key:"disable",value:function(){this.enable(!1)}},{key:"enable",value:function(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;this.scroll.enable(I),this.container.classList.toggle("ql-disabled",!I)}},{key:"focus",value:function(){var I=this.scrollingContainer.scrollTop;this.selection.focus(),this.scrollingContainer.scrollTop=I,this.scrollIntoView()}},{key:"format",value:function(I,F){var z=this,ee=arguments.length>2&&arguments[2]!==void 0?arguments[2]:p.default.sources.API;return B.call(this,function(){var J=z.getSelection(!0),H=new u.default;if(J==null)return H;if(m.default.query(I,m.default.Scope.BLOCK))H=z.editor.formatLine(J.index,J.length,O({},I,F));else{if(J.length===0)return z.selection.format(I,F),H;H=z.editor.formatText(J.index,J.length,O({},I,F))}return z.setSelection(J,p.default.sources.SILENT),H},ee)}},{key:"formatLine",value:function(I,F,z,ee,J){var H=this,X=void 0,ie=K(I,F,z,ee,J),oe=a(ie,4);return I=oe[0],F=oe[1],X=oe[2],J=oe[3],B.call(this,function(){return H.editor.formatLine(I,F,X)},J,I,0)}},{key:"formatText",value:function(I,F,z,ee,J){var H=this,X=void 0,ie=K(I,F,z,ee,J),oe=a(ie,4);return I=oe[0],F=oe[1],X=oe[2],J=oe[3],B.call(this,function(){return H.editor.formatText(I,F,X)},J,I,0)}},{key:"getBounds",value:function(I){var F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,z=void 0;typeof I=="number"?z=this.selection.getBounds(I,F):z=this.selection.getBounds(I.index,I.length);var ee=this.container.getBoundingClientRect();return{bottom:z.bottom-ee.top,height:z.height,left:z.left-ee.left,right:z.right-ee.left,top:z.top-ee.top,width:z.width}}},{key:"getContents",value:function(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.getLength()-I,z=K(I,F),ee=a(z,2);return I=ee[0],F=ee[1],this.editor.getContents(I,F)}},{key:"getFormat",value:function(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.getSelection(!0),F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return typeof I=="number"?this.editor.getFormat(I,F):this.editor.getFormat(I.index,I.length)}},{key:"getIndex",value:function(I){return I.offset(this.scroll)}},{key:"getLength",value:function(){return this.scroll.length()}},{key:"getLeaf",value:function(I){return this.scroll.leaf(I)}},{key:"getLine",value:function(I){return this.scroll.line(I)}},{key:"getLines",value:function(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Number.MAX_VALUE;return typeof I!="number"?this.scroll.lines(I.index,I.length):this.scroll.lines(I,F)}},{key:"getModule",value:function(I){return this.theme.modules[I]}},{key:"getSelection",value:function(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return I&&this.focus(),this.update(),this.selection.getRange()[0]}},{key:"getText",value:function(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.getLength()-I,z=K(I,F),ee=a(z,2);return I=ee[0],F=ee[1],this.editor.getText(I,F)}},{key:"hasFocus",value:function(){return this.selection.hasFocus()}},{key:"insertEmbed",value:function(I,F,z){var ee=this,J=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Y.sources.API;return B.call(this,function(){return ee.editor.insertEmbed(I,F,z)},J,I)}},{key:"insertText",value:function(I,F,z,ee,J){var H=this,X=void 0,ie=K(I,0,z,ee,J),oe=a(ie,4);return I=oe[0],X=oe[2],J=oe[3],B.call(this,function(){return H.editor.insertText(I,F,X)},J,I,F.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(I,F,z){this.clipboard.dangerouslyPasteHTML(I,F,z)}},{key:"removeFormat",value:function(I,F,z){var ee=this,J=K(I,F,z),H=a(J,4);return I=H[0],F=H[1],z=H[3],B.call(this,function(){return ee.editor.removeFormat(I,F)},z,I)}},{key:"scrollIntoView",value:function(){this.selection.scrollIntoView(this.scrollingContainer)}},{key:"setContents",value:function(I){var F=this,z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:p.default.sources.API;return B.call(this,function(){I=new u.default(I);var ee=F.getLength(),J=F.editor.deleteText(0,ee),H=F.editor.applyDelta(I),X=H.ops[H.ops.length-1];X!=null&&typeof X.insert=="string"&&X.insert[X.insert.length-1]===`
|
|
811
|
-
`&&(F.editor.deleteText(F.getLength()-1,1),H.delete(1));var ie=J.compose(H);return ie},z)}},{key:"setSelection",value:function(I,F,z){if(I==null)this.selection.setRange(null,F||Y.sources.API);else{var ee=K(I,F,z),J=a(ee,4);I=J[0],F=J[1],z=J[3],this.selection.setRange(new g.Range(I,F),z),z!==p.default.sources.SILENT&&this.selection.scrollIntoView(this.scrollingContainer)}}},{key:"setText",value:function(I){var F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:p.default.sources.API,z=new u.default().insert(I);return this.setContents(z,F)}},{key:"update",value:function(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:p.default.sources.USER,F=this.scroll.update(I);return this.selection.update(I),F}},{key:"updateContents",value:function(I){var F=this,z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:p.default.sources.API;return B.call(this,function(){return I=new u.default(I),F.editor.applyDelta(I,z)},z,!0)}}]),Y}();R.DEFAULTS={bounds:null,formats:null,modules:{},placeholder:"",readOnly:!1,scrollingContainer:null,strict:!0,theme:"default"},R.events=p.default.events,R.sources=p.default.sources,R.version="1.3.7",R.imports={delta:u.default,parchment:m.default,"core/module":v.default,"core/theme":C.default};function D(Y,j){if(j=(0,E.default)(!0,{container:Y,modules:{clipboard:!0,keyboard:!0,history:!0}},j),!j.theme||j.theme===R.DEFAULTS.theme)j.theme=C.default;else if(j.theme=R.import("themes/"+j.theme),j.theme==null)throw new Error("Invalid theme "+j.theme+". Did you register it?");var I=(0,E.default)(!0,{},j.theme.DEFAULTS);[I,j].forEach(function(ee){ee.modules=ee.modules||{},Object.keys(ee.modules).forEach(function(J){ee.modules[J]===!0&&(ee.modules[J]={})})});var F=Object.keys(I.modules).concat(Object.keys(j.modules)),z=F.reduce(function(ee,J){var H=R.import("modules/"+J);return H==null?L.error("Cannot load "+J+" module. Are you sure you registered it?"):ee[J]=H.DEFAULTS||{},ee},{});return j.modules!=null&&j.modules.toolbar&&j.modules.toolbar.constructor!==Object&&(j.modules.toolbar={container:j.modules.toolbar}),j=(0,E.default)(!0,{},R.DEFAULTS,{modules:z},I,j),["bounds","container","scrollingContainer"].forEach(function(ee){typeof j[ee]=="string"&&(j[ee]=document.querySelector(j[ee]))}),j.modules=Object.keys(j.modules).reduce(function(ee,J){return j.modules[J]&&(ee[J]=j.modules[J]),ee},{}),j}function B(Y,j,I,F){if(this.options.strict&&!this.isEnabled()&&j===p.default.sources.USER)return new u.default;var z=I==null?null:this.getSelection(),ee=this.editor.delta,J=Y();if(z!=null&&(I===!0&&(I=z.index),F==null?z=re(z,J,j):F!==0&&(z=re(z,I,F,j)),this.setSelection(z,p.default.sources.SILENT)),J.length()>0){var H,X=[p.default.events.TEXT_CHANGE,J,ee,j];if((H=this.emitter).emit.apply(H,[p.default.events.EDITOR_CHANGE].concat(X)),j!==p.default.sources.SILENT){var ie;(ie=this.emitter).emit.apply(ie,X)}}return J}function K(Y,j,I,F,z){var ee={};return typeof Y.index=="number"&&typeof Y.length=="number"?typeof j!="number"?(z=F,F=I,I=j,j=Y.length,Y=Y.index):(j=Y.length,Y=Y.index):typeof j!="number"&&(z=F,F=I,I=j,j=0),(typeof I>"u"?"undefined":o(I))==="object"?(ee=I,z=F):typeof I=="string"&&(F!=null?ee[I]=F:z=I),z=z||p.default.sources.API,[Y,j,ee,z]}function re(Y,j,I,F){if(Y==null)return null;var z=void 0,ee=void 0;if(j instanceof u.default){var J=[Y.index,Y.index+Y.length].map(function(oe){return j.transformPosition(oe,F!==p.default.sources.USER)}),H=a(J,2);z=H[0],ee=H[1]}else{var X=[Y.index,Y.index+Y.length].map(function(oe){return oe<j||oe===j&&F===p.default.sources.USER?oe:I>=0?oe+I:Math.max(j,oe+I)}),ie=a(X,2);z=ie[0],ee=ie[1]}return new g.Range(z,ee-z)}r.expandConfig=D,r.overload=K,r.default=R},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var o=function(){function _(m,g){for(var b=0;b<g.length;b++){var h=g[b];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(m,h.key,h)}}return function(m,g,b){return g&&_(m.prototype,g),b&&_(m,b),m}}(),a=function _(m,g,b){m===null&&(m=Function.prototype);var h=Object.getOwnPropertyDescriptor(m,g);if(h===void 0){var E=Object.getPrototypeOf(m);return E===null?void 0:_(E,g,b)}else{if("value"in h)return h.value;var k=h.get;return k===void 0?void 0:k.call(b)}},s=i(7),l=c(s),u=i(0),d=c(u);function c(_){return _&&_.__esModule?_:{default:_}}function f(_,m){if(!(_ instanceof m))throw new TypeError("Cannot call a class as a function")}function p(_,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 v=function(_){y(m,_);function m(){return f(this,m),p(this,(m.__proto__||Object.getPrototypeOf(m)).apply(this,arguments))}return o(m,[{key:"formatAt",value:function(b,h,E,k){if(m.compare(this.statics.blotName,E)<0&&d.default.query(E,d.default.Scope.BLOT)){var T=this.isolate(b,h);k&&T.wrap(E,k)}else a(m.prototype.__proto__||Object.getPrototypeOf(m.prototype),"formatAt",this).call(this,b,h,E,k)}},{key:"optimize",value:function(b){if(a(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 h=this.parent.isolate(this.offset(),this.length());this.moveChildren(h),h.wrap(this)}}}],[{key:"compare",value:function(b,h){var E=m.order.indexOf(b),k=m.order.indexOf(h);return E>=0||k>=0?E-k:b===h?0:b<h?-1:1}}]),m}(d.default.Inline);v.allowedChildren=[v,d.default.Embed,l.default],v.order=["cursor","inline","underline","strike","italic","bold","script","link","code"],r.default=v},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var o=i(0),a=s(o);function s(f){return f&&f.__esModule?f:{default:f}}function l(f,p){if(!(f instanceof p))throw new TypeError("Cannot call a class as a function")}function u(f,p){if(!f)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:f}function d(f,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);f.prototype=Object.create(p&&p.prototype,{constructor:{value:f,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(f,p):f.__proto__=p)}var c=function(f){d(p,f);function p(){return l(this,p),u(this,(p.__proto__||Object.getPrototypeOf(p)).apply(this,arguments))}return p}(a.default.Text);r.default=c},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var o=function(){function g(b,h){for(var E=0;E<h.length;E++){var k=h[E];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(b,k.key,k)}}return function(b,h,E){return h&&g(b.prototype,h),E&&g(b,E),b}}(),a=function g(b,h,E){b===null&&(b=Function.prototype);var k=Object.getOwnPropertyDescriptor(b,h);if(k===void 0){var T=Object.getPrototypeOf(b);return T===null?void 0:g(T,h,E)}else{if("value"in k)return k.value;var A=k.get;return A===void 0?void 0:A.call(E)}},s=i(54),l=c(s),u=i(10),d=c(u);function c(g){return g&&g.__esModule?g:{default:g}}function f(g,b){if(!(g instanceof b))throw new TypeError("Cannot call a class as a function")}function p(g,b){if(!g)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b&&(typeof b=="object"||typeof b=="function")?b:g}function y(g,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof b);g.prototype=Object.create(b&&b.prototype,{constructor:{value:g,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(g,b):g.__proto__=b)}var v=(0,d.default)("quill:events"),_=["selectionchange","mousedown","mouseup","click"];_.forEach(function(g){document.addEventListener(g,function(){for(var b=arguments.length,h=Array(b),E=0;E<b;E++)h[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,h)}})})});var m=function(g){y(b,g);function b(){f(this,b);var h=p(this,(b.__proto__||Object.getPrototypeOf(b)).call(this));return h.listeners={},h.on("error",v.error),h}return o(b,[{key:"emit",value:function(){v.log.apply(v,arguments),a(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),A=1;A<k;A++)T[A-1]=arguments[A];(this.listeners[E.type]||[]).forEach(function(C){var N=C.node,O=C.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}(l.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 o(s,l){if(!(s instanceof l))throw new TypeError("Cannot call a class as a function")}var a=function s(l){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};o(this,s),this.quill=l,this.options=u};a.DEFAULTS={},r.default=a},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var o=["error","warn","log","info"],a="warn";function s(u){if(o.indexOf(u)<=o.indexOf(a)){for(var d,c=arguments.length,f=Array(c>1?c-1:0),p=1;p<c;p++)f[p-1]=arguments[p];(d=console)[u].apply(d,f)}}function l(u){return o.reduce(function(d,c){return d[c]=s.bind(console,c,u),d},{})}s.level=l.level=function(u){a=u},r.default=l},function(n,r,i){var o=Array.prototype.slice,a=i(52),s=i(53),l=n.exports=function(f,p,y){return y||(y={}),f===p?!0:f instanceof Date&&p instanceof Date?f.getTime()===p.getTime():!f||!p||typeof f!="object"&&typeof p!="object"?y.strict?f===p:f==p:c(f,p,y)};function u(f){return f==null}function d(f){return!(!f||typeof f!="object"||typeof f.length!="number"||typeof f.copy!="function"||typeof f.slice!="function"||f.length>0&&typeof f[0]!="number")}function c(f,p,y){var v,_;if(u(f)||u(p)||f.prototype!==p.prototype)return!1;if(s(f))return s(p)?(f=o.call(f),p=o.call(p),l(f,p,y)):!1;if(d(f)){if(!d(p)||f.length!==p.length)return!1;for(v=0;v<f.length;v++)if(f[v]!==p[v])return!1;return!0}try{var m=a(f),g=a(p)}catch{return!1}if(m.length!=g.length)return!1;for(m.sort(),g.sort(),v=m.length-1;v>=0;v--)if(m[v]!=g[v])return!1;for(v=m.length-1;v>=0;v--)if(_=m[v],!l(f[_],p[_],y))return!1;return typeof f==typeof p}},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var o=i(1),a=function(){function s(l,u,d){d===void 0&&(d={}),this.attrName=l,this.keyName=u;var c=o.Scope.TYPE&o.Scope.ATTRIBUTE;d.scope!=null?this.scope=d.scope&o.Scope.LEVEL|c:this.scope=o.Scope.ATTRIBUTE,d.whitelist!=null&&(this.whitelist=d.whitelist)}return s.keys=function(l){return[].map.call(l.attributes,function(u){return u.name})},s.prototype.add=function(l,u){return this.canAdd(l,u)?(l.setAttribute(this.keyName,u),!0):!1},s.prototype.canAdd=function(l,u){var d=o.query(l,o.Scope.BLOT&(this.scope|o.Scope.TYPE));return d==null?!1:this.whitelist==null?!0:typeof u=="string"?this.whitelist.indexOf(u.replace(/["']/g,""))>-1:this.whitelist.indexOf(u)>-1},s.prototype.remove=function(l){l.removeAttribute(this.keyName)},s.prototype.value=function(l){var u=l.getAttribute(this.keyName);return this.canAdd(l,u)&&u?u:""},s}();r.default=a},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.Code=void 0;var o=function(){function A(C,N){var O=[],S=!0,L=!1,R=void 0;try{for(var D=C[Symbol.iterator](),B;!(S=(B=D.next()).done)&&(O.push(B.value),!(N&&O.length===N));S=!0);}catch(K){L=!0,R=K}finally{try{!S&&D.return&&D.return()}finally{if(L)throw R}}return O}return function(C,N){if(Array.isArray(C))return C;if(Symbol.iterator in Object(C))return A(C,N);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a=function(){function A(C,N){for(var O=0;O<N.length;O++){var S=N[O];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(C,S.key,S)}}return function(C,N,O){return N&&A(C.prototype,N),O&&A(C,O),C}}(),s=function A(C,N,O){C===null&&(C=Function.prototype);var S=Object.getOwnPropertyDescriptor(C,N);if(S===void 0){var L=Object.getPrototypeOf(C);return L===null?void 0:A(L,N,O)}else{if("value"in S)return S.value;var R=S.get;return R===void 0?void 0:R.call(O)}},l=i(2),u=g(l),d=i(0),c=g(d),f=i(4),p=g(f),y=i(6),v=g(y),_=i(7),m=g(_);function g(A){return A&&A.__esModule?A:{default:A}}function b(A,C){if(!(A instanceof C))throw new TypeError("Cannot call a class as a function")}function h(A,C){if(!A)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C&&(typeof C=="object"||typeof C=="function")?C:A}function E(A,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof C);A.prototype=Object.create(C&&C.prototype,{constructor:{value:A,enumerable:!1,writable:!0,configurable:!0}}),C&&(Object.setPrototypeOf?Object.setPrototypeOf(A,C):A.__proto__=C)}var k=function(A){E(C,A);function C(){return b(this,C),h(this,(C.__proto__||Object.getPrototypeOf(C)).apply(this,arguments))}return C}(v.default);k.blotName="code",k.tagName="CODE";var T=function(A){E(C,A);function C(){return b(this,C),h(this,(C.__proto__||Object.getPrototypeOf(C)).apply(this,arguments))}return a(C,[{key:"delta",value:function(){var O=this,S=this.domNode.textContent;return S.endsWith(`
|
|
807
|
+
`;for(var p=l.iterator(this.ops),y=new d,v=0;p.hasNext();){if(p.peekType()!=="insert")return;var _=p.peek(),m=l.length(_)-p.peekLength(),g=typeof _.insert=="string"?_.insert.indexOf(f,m)-m:-1;if(g<0)y.push(p.next());else if(g>0)y.push(p.next(g));else{if(c(y,p.next(1).attributes||{},v)===!1)return;v+=1,y=new d}}y.length()>0&&c(y,{},v)},d.prototype.transform=function(c,f){if(f=!!f,typeof c=="number")return this.transformPosition(c,f);for(var p=l.iterator(this.ops),y=l.iterator(c.ops),v=new d;p.hasNext()||y.hasNext();)if(p.peekType()==="insert"&&(f||y.peekType()!=="insert"))v.retain(l.length(p.next()));else if(y.peekType()==="insert")v.push(y.next());else{var _=Math.min(p.peekLength(),y.peekLength()),m=p.next(_),g=y.next(_);if(m.delete)continue;g.delete?v.push(g):v.retain(_,l.attributes.transform(m.attributes,g.attributes,f))}return v.chop()},d.prototype.transformPosition=function(c,f){f=!!f;for(var p=l.iterator(this.ops),y=0;p.hasNext()&&y<=c;){var v=p.peekLength(),_=p.peekType();if(p.next(),_==="delete"){c-=Math.min(v,c-y);continue}else _==="insert"&&(y<c||!f)&&(c+=v);y+=v}return c},n.exports=d},function(n,r){var i=Object.prototype.hasOwnProperty,o=Object.prototype.toString,a=Object.defineProperty,s=Object.getOwnPropertyDescriptor,l=function(p){return typeof Array.isArray=="function"?Array.isArray(p):o.call(p)==="[object Array]"},u=function(p){if(!p||o.call(p)!=="[object Object]")return!1;var y=i.call(p,"constructor"),v=p.constructor&&p.constructor.prototype&&i.call(p.constructor.prototype,"isPrototypeOf");if(p.constructor&&!y&&!v)return!1;var _;for(_ in p);return typeof _>"u"||i.call(p,_)},d=function(p,y){a&&y.name==="__proto__"?a(p,y.name,{enumerable:!0,configurable:!0,value:y.newValue,writable:!0}):p[y.name]=y.newValue},c=function(p,y){if(y==="__proto__")if(i.call(p,y)){if(s)return s(p,y).value}else return;return p[y]};n.exports=function f(){var p,y,v,_,m,g,b=arguments[0],h=1,E=arguments.length,k=!1;for(typeof b=="boolean"&&(k=b,b=arguments[1]||{},h=2),(b==null||typeof b!="object"&&typeof b!="function")&&(b={});h<E;++h)if(p=arguments[h],p!=null)for(y in p)v=c(b,y),_=c(p,y),b!==_&&(k&&_&&(u(_)||(m=l(_)))?(m?(m=!1,g=v&&l(v)?v:[]):g=v&&u(v)?v:{},d(b,{name:y,newValue:f(k,g,_)})):typeof _<"u"&&d(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 o=function(){function O(S,L){for(var R=0;R<L.length;R++){var D=L[R];D.enumerable=D.enumerable||!1,D.configurable=!0,"value"in D&&(D.writable=!0),Object.defineProperty(S,D.key,D)}}return function(S,L,R){return L&&O(S.prototype,L),R&&O(S,R),S}}(),a=function O(S,L,R){S===null&&(S=Function.prototype);var D=Object.getOwnPropertyDescriptor(S,L);if(D===void 0){var B=Object.getPrototypeOf(S);return B===null?void 0:O(B,L,R)}else{if("value"in D)return D.value;var q=D.get;return q===void 0?void 0:q.call(R)}},s=i(3),l=b(s),u=i(2),d=b(u),c=i(0),f=b(c),p=i(16),y=b(p),v=i(6),_=b(v),m=i(7),g=b(m);function b(O){return O&&O.__esModule?O:{default:O}}function h(O,S){if(!(O instanceof S))throw new TypeError("Cannot call a class as a function")}function E(O,S){if(!O)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return S&&(typeof S=="object"||typeof S=="function")?S:O}function k(O,S){if(typeof S!="function"&&S!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof S);O.prototype=Object.create(S&&S.prototype,{constructor:{value:O,enumerable:!1,writable:!0,configurable:!0}}),S&&(Object.setPrototypeOf?Object.setPrototypeOf(O,S):O.__proto__=S)}var T=1,A=function(O){k(S,O);function S(){return h(this,S),E(this,(S.__proto__||Object.getPrototypeOf(S)).apply(this,arguments))}return o(S,[{key:"attach",value:function(){a(S.prototype.__proto__||Object.getPrototypeOf(S.prototype),"attach",this).call(this),this.attributes=new f.default.Attributor.Store(this.domNode)}},{key:"delta",value:function(){return new d.default().insert(this.value(),(0,l.default)(this.formats(),this.attributes.values()))}},{key:"format",value:function(R,D){var B=f.default.query(R,f.default.Scope.BLOCK_ATTRIBUTE);B!=null&&this.attributes.attribute(B,D)}},{key:"formatAt",value:function(R,D,B,q){this.format(B,q)}},{key:"insertAt",value:function(R,D,B){if(typeof D=="string"&&D.endsWith(`
|
|
808
|
+
`)){var q=f.default.create(C.blotName);this.parent.insertBefore(q,R===0?this:this.next),q.insertAt(0,D.slice(0,-1))}else a(S.prototype.__proto__||Object.getPrototypeOf(S.prototype),"insertAt",this).call(this,R,D,B)}}]),S}(f.default.Embed);A.scope=f.default.Scope.BLOCK_BLOT;var C=function(O){k(S,O);function S(L){h(this,S);var R=E(this,(S.__proto__||Object.getPrototypeOf(S)).call(this,L));return R.cache={},R}return o(S,[{key:"delta",value:function(){return this.cache.delta==null&&(this.cache.delta=this.descendants(f.default.Leaf).reduce(function(R,D){return D.length()===0?R:R.insert(D.value(),N(D))},new d.default).insert(`
|
|
809
|
+
`,N(this))),this.cache.delta}},{key:"deleteAt",value:function(R,D){a(S.prototype.__proto__||Object.getPrototypeOf(S.prototype),"deleteAt",this).call(this,R,D),this.cache={}}},{key:"formatAt",value:function(R,D,B,q){D<=0||(f.default.query(B,f.default.Scope.BLOCK)?R+D===this.length()&&this.format(B,q):a(S.prototype.__proto__||Object.getPrototypeOf(S.prototype),"formatAt",this).call(this,R,Math.min(D,this.length()-R-1),B,q),this.cache={})}},{key:"insertAt",value:function(R,D,B){if(B!=null)return a(S.prototype.__proto__||Object.getPrototypeOf(S.prototype),"insertAt",this).call(this,R,D,B);if(D.length!==0){var q=D.split(`
|
|
810
|
+
`),re=q.shift();re.length>0&&(R<this.length()-1||this.children.tail==null?a(S.prototype.__proto__||Object.getPrototypeOf(S.prototype),"insertAt",this).call(this,Math.min(R,this.length()-1),re):this.children.tail.insertAt(this.children.tail.length(),re),this.cache={});var Y=this;q.reduce(function(j,I){return Y=Y.split(j,!0),Y.insertAt(0,I),I.length},R+re.length)}}},{key:"insertBefore",value:function(R,D){var B=this.children.head;a(S.prototype.__proto__||Object.getPrototypeOf(S.prototype),"insertBefore",this).call(this,R,D),B instanceof y.default&&B.remove(),this.cache={}}},{key:"length",value:function(){return this.cache.length==null&&(this.cache.length=a(S.prototype.__proto__||Object.getPrototypeOf(S.prototype),"length",this).call(this)+T),this.cache.length}},{key:"moveChildren",value:function(R,D){a(S.prototype.__proto__||Object.getPrototypeOf(S.prototype),"moveChildren",this).call(this,R,D),this.cache={}}},{key:"optimize",value:function(R){a(S.prototype.__proto__||Object.getPrototypeOf(S.prototype),"optimize",this).call(this,R),this.cache={}}},{key:"path",value:function(R){return a(S.prototype.__proto__||Object.getPrototypeOf(S.prototype),"path",this).call(this,R,!0)}},{key:"removeChild",value:function(R){a(S.prototype.__proto__||Object.getPrototypeOf(S.prototype),"removeChild",this).call(this,R),this.cache={}}},{key:"split",value:function(R){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(D&&(R===0||R>=this.length()-T)){var B=this.clone();return R===0?(this.parent.insertBefore(B,this),this):(this.parent.insertBefore(B,this.next),B)}else{var q=a(S.prototype.__proto__||Object.getPrototypeOf(S.prototype),"split",this).call(this,R,D);return this.cache={},q}}}]),S}(f.default.Block);C.blotName="block",C.tagName="P",C.defaultChild="break",C.allowedChildren=[_.default,f.default.Embed,g.default];function N(O){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return O==null||(typeof O.formats=="function"&&(S=(0,l.default)(S,O.formats())),O.parent==null||O.parent.blotName=="scroll"||O.parent.statics.scope!==O.statics.scope)?S:N(O.parent,S)}r.bubbleFormats=N,r.BlockEmbed=A,r.default=C},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.overload=r.expandConfig=void 0;var o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Y){return typeof Y}:function(Y){return Y&&typeof Symbol=="function"&&Y.constructor===Symbol&&Y!==Symbol.prototype?"symbol":typeof Y},a=function(){function Y(j,I){var F=[],z=!0,te=!1,J=void 0;try{for(var H=j[Symbol.iterator](),X;!(z=(X=H.next()).done)&&(F.push(X.value),!(I&&F.length===I));z=!0);}catch(ie){te=!0,J=ie}finally{try{!z&&H.return&&H.return()}finally{if(te)throw J}}return F}return function(j,I){if(Array.isArray(j))return j;if(Symbol.iterator in Object(j))return Y(j,I);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),s=function(){function Y(j,I){for(var F=0;F<I.length;F++){var z=I[F];z.enumerable=z.enumerable||!1,z.configurable=!0,"value"in z&&(z.writable=!0),Object.defineProperty(j,z.key,z)}}return function(j,I,F){return I&&Y(j.prototype,I),F&&Y(j,F),j}}();i(50);var l=i(2),u=N(l),d=i(14),c=N(d),f=i(8),p=N(f),y=i(9),v=N(y),_=i(0),m=N(_),g=i(15),b=N(g),h=i(3),E=N(h),k=i(10),T=N(k),A=i(34),C=N(A);function N(Y){return Y&&Y.__esModule?Y:{default:Y}}function O(Y,j,I){return j in Y?Object.defineProperty(Y,j,{value:I,enumerable:!0,configurable:!0,writable:!0}):Y[j]=I,Y}function S(Y,j){if(!(Y instanceof j))throw new TypeError("Cannot call a class as a function")}var L=(0,T.default)("quill"),R=function(){s(Y,null,[{key:"debug",value:function(I){I===!0&&(I="log"),T.default.level(I)}},{key:"find",value:function(I){return I.__quill||m.default.find(I)}},{key:"import",value:function(I){return this.imports[I]==null&&L.error("Cannot import "+I+". Are you sure it was registered?"),this.imports[I]}},{key:"register",value:function(I,F){var z=this,te=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(typeof I!="string"){var J=I.attrName||I.blotName;typeof J=="string"?this.register("formats/"+J,I,F):Object.keys(I).forEach(function(H){z.register(H,I[H],F)})}else this.imports[I]!=null&&!te&&L.warn("Overwriting "+I+" with",F),this.imports[I]=F,(I.startsWith("blots/")||I.startsWith("formats/"))&&F.blotName!=="abstract"?m.default.register(F):I.startsWith("modules")&&typeof F.register=="function"&&F.register()}}]);function Y(j){var I=this,F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(S(this,Y),this.options=D(j,F),this.container=this.options.container,this.container==null)return L.error("Invalid Quill container",j);this.options.debug&&Y.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 p.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(p.default.events.EDITOR_CHANGE,function(J){J===p.default.events.TEXT_CHANGE&&I.root.classList.toggle("ql-blank",I.editor.isBlank())}),this.emitter.on(p.default.events.SCROLL_UPDATE,function(J,H){var X=I.selection.lastRange,ie=X&&X.length===0?X.index:void 0;B.call(I,function(){return I.editor.update(null,H,ie)},J)});var te=this.clipboard.convert(`<div class='ql-editor' style="white-space: normal;">`+z+"<p><br></p></div>");this.setContents(te),this.history.clear(),this.options.placeholder&&this.root.setAttribute("data-placeholder",this.options.placeholder),this.options.readOnly&&this.disable()}return s(Y,[{key:"addContainer",value:function(I){var F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(typeof I=="string"){var z=I;I=document.createElement("div"),I.classList.add(z)}return this.container.insertBefore(I,F),I}},{key:"blur",value:function(){this.selection.setRange(null)}},{key:"deleteText",value:function(I,F,z){var te=this,J=q(I,F,z),H=a(J,4);return I=H[0],F=H[1],z=H[3],B.call(this,function(){return te.editor.deleteText(I,F)},z,I,-1*F)}},{key:"disable",value:function(){this.enable(!1)}},{key:"enable",value:function(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;this.scroll.enable(I),this.container.classList.toggle("ql-disabled",!I)}},{key:"focus",value:function(){var I=this.scrollingContainer.scrollTop;this.selection.focus(),this.scrollingContainer.scrollTop=I,this.scrollIntoView()}},{key:"format",value:function(I,F){var z=this,te=arguments.length>2&&arguments[2]!==void 0?arguments[2]:p.default.sources.API;return B.call(this,function(){var J=z.getSelection(!0),H=new u.default;if(J==null)return H;if(m.default.query(I,m.default.Scope.BLOCK))H=z.editor.formatLine(J.index,J.length,O({},I,F));else{if(J.length===0)return z.selection.format(I,F),H;H=z.editor.formatText(J.index,J.length,O({},I,F))}return z.setSelection(J,p.default.sources.SILENT),H},te)}},{key:"formatLine",value:function(I,F,z,te,J){var H=this,X=void 0,ie=q(I,F,z,te,J),oe=a(ie,4);return I=oe[0],F=oe[1],X=oe[2],J=oe[3],B.call(this,function(){return H.editor.formatLine(I,F,X)},J,I,0)}},{key:"formatText",value:function(I,F,z,te,J){var H=this,X=void 0,ie=q(I,F,z,te,J),oe=a(ie,4);return I=oe[0],F=oe[1],X=oe[2],J=oe[3],B.call(this,function(){return H.editor.formatText(I,F,X)},J,I,0)}},{key:"getBounds",value:function(I){var F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,z=void 0;typeof I=="number"?z=this.selection.getBounds(I,F):z=this.selection.getBounds(I.index,I.length);var te=this.container.getBoundingClientRect();return{bottom:z.bottom-te.top,height:z.height,left:z.left-te.left,right:z.right-te.left,top:z.top-te.top,width:z.width}}},{key:"getContents",value:function(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.getLength()-I,z=q(I,F),te=a(z,2);return I=te[0],F=te[1],this.editor.getContents(I,F)}},{key:"getFormat",value:function(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.getSelection(!0),F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return typeof I=="number"?this.editor.getFormat(I,F):this.editor.getFormat(I.index,I.length)}},{key:"getIndex",value:function(I){return I.offset(this.scroll)}},{key:"getLength",value:function(){return this.scroll.length()}},{key:"getLeaf",value:function(I){return this.scroll.leaf(I)}},{key:"getLine",value:function(I){return this.scroll.line(I)}},{key:"getLines",value:function(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Number.MAX_VALUE;return typeof I!="number"?this.scroll.lines(I.index,I.length):this.scroll.lines(I,F)}},{key:"getModule",value:function(I){return this.theme.modules[I]}},{key:"getSelection",value:function(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return I&&this.focus(),this.update(),this.selection.getRange()[0]}},{key:"getText",value:function(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.getLength()-I,z=q(I,F),te=a(z,2);return I=te[0],F=te[1],this.editor.getText(I,F)}},{key:"hasFocus",value:function(){return this.selection.hasFocus()}},{key:"insertEmbed",value:function(I,F,z){var te=this,J=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Y.sources.API;return B.call(this,function(){return te.editor.insertEmbed(I,F,z)},J,I)}},{key:"insertText",value:function(I,F,z,te,J){var H=this,X=void 0,ie=q(I,0,z,te,J),oe=a(ie,4);return I=oe[0],X=oe[2],J=oe[3],B.call(this,function(){return H.editor.insertText(I,F,X)},J,I,F.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(I,F,z){this.clipboard.dangerouslyPasteHTML(I,F,z)}},{key:"removeFormat",value:function(I,F,z){var te=this,J=q(I,F,z),H=a(J,4);return I=H[0],F=H[1],z=H[3],B.call(this,function(){return te.editor.removeFormat(I,F)},z,I)}},{key:"scrollIntoView",value:function(){this.selection.scrollIntoView(this.scrollingContainer)}},{key:"setContents",value:function(I){var F=this,z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:p.default.sources.API;return B.call(this,function(){I=new u.default(I);var te=F.getLength(),J=F.editor.deleteText(0,te),H=F.editor.applyDelta(I),X=H.ops[H.ops.length-1];X!=null&&typeof X.insert=="string"&&X.insert[X.insert.length-1]===`
|
|
811
|
+
`&&(F.editor.deleteText(F.getLength()-1,1),H.delete(1));var ie=J.compose(H);return ie},z)}},{key:"setSelection",value:function(I,F,z){if(I==null)this.selection.setRange(null,F||Y.sources.API);else{var te=q(I,F,z),J=a(te,4);I=J[0],F=J[1],z=J[3],this.selection.setRange(new g.Range(I,F),z),z!==p.default.sources.SILENT&&this.selection.scrollIntoView(this.scrollingContainer)}}},{key:"setText",value:function(I){var F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:p.default.sources.API,z=new u.default().insert(I);return this.setContents(z,F)}},{key:"update",value:function(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:p.default.sources.USER,F=this.scroll.update(I);return this.selection.update(I),F}},{key:"updateContents",value:function(I){var F=this,z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:p.default.sources.API;return B.call(this,function(){return I=new u.default(I),F.editor.applyDelta(I,z)},z,!0)}}]),Y}();R.DEFAULTS={bounds:null,formats:null,modules:{},placeholder:"",readOnly:!1,scrollingContainer:null,strict:!0,theme:"default"},R.events=p.default.events,R.sources=p.default.sources,R.version="1.3.7",R.imports={delta:u.default,parchment:m.default,"core/module":v.default,"core/theme":C.default};function D(Y,j){if(j=(0,E.default)(!0,{container:Y,modules:{clipboard:!0,keyboard:!0,history:!0}},j),!j.theme||j.theme===R.DEFAULTS.theme)j.theme=C.default;else if(j.theme=R.import("themes/"+j.theme),j.theme==null)throw new Error("Invalid theme "+j.theme+". Did you register it?");var I=(0,E.default)(!0,{},j.theme.DEFAULTS);[I,j].forEach(function(te){te.modules=te.modules||{},Object.keys(te.modules).forEach(function(J){te.modules[J]===!0&&(te.modules[J]={})})});var F=Object.keys(I.modules).concat(Object.keys(j.modules)),z=F.reduce(function(te,J){var H=R.import("modules/"+J);return H==null?L.error("Cannot load "+J+" module. Are you sure you registered it?"):te[J]=H.DEFAULTS||{},te},{});return j.modules!=null&&j.modules.toolbar&&j.modules.toolbar.constructor!==Object&&(j.modules.toolbar={container:j.modules.toolbar}),j=(0,E.default)(!0,{},R.DEFAULTS,{modules:z},I,j),["bounds","container","scrollingContainer"].forEach(function(te){typeof j[te]=="string"&&(j[te]=document.querySelector(j[te]))}),j.modules=Object.keys(j.modules).reduce(function(te,J){return j.modules[J]&&(te[J]=j.modules[J]),te},{}),j}function B(Y,j,I,F){if(this.options.strict&&!this.isEnabled()&&j===p.default.sources.USER)return new u.default;var z=I==null?null:this.getSelection(),te=this.editor.delta,J=Y();if(z!=null&&(I===!0&&(I=z.index),F==null?z=re(z,J,j):F!==0&&(z=re(z,I,F,j)),this.setSelection(z,p.default.sources.SILENT)),J.length()>0){var H,X=[p.default.events.TEXT_CHANGE,J,te,j];if((H=this.emitter).emit.apply(H,[p.default.events.EDITOR_CHANGE].concat(X)),j!==p.default.sources.SILENT){var ie;(ie=this.emitter).emit.apply(ie,X)}}return J}function q(Y,j,I,F,z){var te={};return typeof Y.index=="number"&&typeof Y.length=="number"?typeof j!="number"?(z=F,F=I,I=j,j=Y.length,Y=Y.index):(j=Y.length,Y=Y.index):typeof j!="number"&&(z=F,F=I,I=j,j=0),(typeof I>"u"?"undefined":o(I))==="object"?(te=I,z=F):typeof I=="string"&&(F!=null?te[I]=F:z=I),z=z||p.default.sources.API,[Y,j,te,z]}function re(Y,j,I,F){if(Y==null)return null;var z=void 0,te=void 0;if(j instanceof u.default){var J=[Y.index,Y.index+Y.length].map(function(oe){return j.transformPosition(oe,F!==p.default.sources.USER)}),H=a(J,2);z=H[0],te=H[1]}else{var X=[Y.index,Y.index+Y.length].map(function(oe){return oe<j||oe===j&&F===p.default.sources.USER?oe:I>=0?oe+I:Math.max(j,oe+I)}),ie=a(X,2);z=ie[0],te=ie[1]}return new g.Range(z,te-z)}r.expandConfig=D,r.overload=q,r.default=R},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var o=function(){function _(m,g){for(var b=0;b<g.length;b++){var h=g[b];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(m,h.key,h)}}return function(m,g,b){return g&&_(m.prototype,g),b&&_(m,b),m}}(),a=function _(m,g,b){m===null&&(m=Function.prototype);var h=Object.getOwnPropertyDescriptor(m,g);if(h===void 0){var E=Object.getPrototypeOf(m);return E===null?void 0:_(E,g,b)}else{if("value"in h)return h.value;var k=h.get;return k===void 0?void 0:k.call(b)}},s=i(7),l=c(s),u=i(0),d=c(u);function c(_){return _&&_.__esModule?_:{default:_}}function f(_,m){if(!(_ instanceof m))throw new TypeError("Cannot call a class as a function")}function p(_,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 v=function(_){y(m,_);function m(){return f(this,m),p(this,(m.__proto__||Object.getPrototypeOf(m)).apply(this,arguments))}return o(m,[{key:"formatAt",value:function(b,h,E,k){if(m.compare(this.statics.blotName,E)<0&&d.default.query(E,d.default.Scope.BLOT)){var T=this.isolate(b,h);k&&T.wrap(E,k)}else a(m.prototype.__proto__||Object.getPrototypeOf(m.prototype),"formatAt",this).call(this,b,h,E,k)}},{key:"optimize",value:function(b){if(a(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 h=this.parent.isolate(this.offset(),this.length());this.moveChildren(h),h.wrap(this)}}}],[{key:"compare",value:function(b,h){var E=m.order.indexOf(b),k=m.order.indexOf(h);return E>=0||k>=0?E-k:b===h?0:b<h?-1:1}}]),m}(d.default.Inline);v.allowedChildren=[v,d.default.Embed,l.default],v.order=["cursor","inline","underline","strike","italic","bold","script","link","code"],r.default=v},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var o=i(0),a=s(o);function s(f){return f&&f.__esModule?f:{default:f}}function l(f,p){if(!(f instanceof p))throw new TypeError("Cannot call a class as a function")}function u(f,p){if(!f)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:f}function d(f,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);f.prototype=Object.create(p&&p.prototype,{constructor:{value:f,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(f,p):f.__proto__=p)}var c=function(f){d(p,f);function p(){return l(this,p),u(this,(p.__proto__||Object.getPrototypeOf(p)).apply(this,arguments))}return p}(a.default.Text);r.default=c},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var o=function(){function g(b,h){for(var E=0;E<h.length;E++){var k=h[E];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(b,k.key,k)}}return function(b,h,E){return h&&g(b.prototype,h),E&&g(b,E),b}}(),a=function g(b,h,E){b===null&&(b=Function.prototype);var k=Object.getOwnPropertyDescriptor(b,h);if(k===void 0){var T=Object.getPrototypeOf(b);return T===null?void 0:g(T,h,E)}else{if("value"in k)return k.value;var A=k.get;return A===void 0?void 0:A.call(E)}},s=i(54),l=c(s),u=i(10),d=c(u);function c(g){return g&&g.__esModule?g:{default:g}}function f(g,b){if(!(g instanceof b))throw new TypeError("Cannot call a class as a function")}function p(g,b){if(!g)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b&&(typeof b=="object"||typeof b=="function")?b:g}function y(g,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof b);g.prototype=Object.create(b&&b.prototype,{constructor:{value:g,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(g,b):g.__proto__=b)}var v=(0,d.default)("quill:events"),_=["selectionchange","mousedown","mouseup","click"];_.forEach(function(g){document.addEventListener(g,function(){for(var b=arguments.length,h=Array(b),E=0;E<b;E++)h[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,h)}})})});var m=function(g){y(b,g);function b(){f(this,b);var h=p(this,(b.__proto__||Object.getPrototypeOf(b)).call(this));return h.listeners={},h.on("error",v.error),h}return o(b,[{key:"emit",value:function(){v.log.apply(v,arguments),a(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),A=1;A<k;A++)T[A-1]=arguments[A];(this.listeners[E.type]||[]).forEach(function(C){var N=C.node,O=C.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}(l.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 o(s,l){if(!(s instanceof l))throw new TypeError("Cannot call a class as a function")}var a=function s(l){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};o(this,s),this.quill=l,this.options=u};a.DEFAULTS={},r.default=a},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var o=["error","warn","log","info"],a="warn";function s(u){if(o.indexOf(u)<=o.indexOf(a)){for(var d,c=arguments.length,f=Array(c>1?c-1:0),p=1;p<c;p++)f[p-1]=arguments[p];(d=console)[u].apply(d,f)}}function l(u){return o.reduce(function(d,c){return d[c]=s.bind(console,c,u),d},{})}s.level=l.level=function(u){a=u},r.default=l},function(n,r,i){var o=Array.prototype.slice,a=i(52),s=i(53),l=n.exports=function(f,p,y){return y||(y={}),f===p?!0:f instanceof Date&&p instanceof Date?f.getTime()===p.getTime():!f||!p||typeof f!="object"&&typeof p!="object"?y.strict?f===p:f==p:c(f,p,y)};function u(f){return f==null}function d(f){return!(!f||typeof f!="object"||typeof f.length!="number"||typeof f.copy!="function"||typeof f.slice!="function"||f.length>0&&typeof f[0]!="number")}function c(f,p,y){var v,_;if(u(f)||u(p)||f.prototype!==p.prototype)return!1;if(s(f))return s(p)?(f=o.call(f),p=o.call(p),l(f,p,y)):!1;if(d(f)){if(!d(p)||f.length!==p.length)return!1;for(v=0;v<f.length;v++)if(f[v]!==p[v])return!1;return!0}try{var m=a(f),g=a(p)}catch{return!1}if(m.length!=g.length)return!1;for(m.sort(),g.sort(),v=m.length-1;v>=0;v--)if(m[v]!=g[v])return!1;for(v=m.length-1;v>=0;v--)if(_=m[v],!l(f[_],p[_],y))return!1;return typeof f==typeof p}},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var o=i(1),a=function(){function s(l,u,d){d===void 0&&(d={}),this.attrName=l,this.keyName=u;var c=o.Scope.TYPE&o.Scope.ATTRIBUTE;d.scope!=null?this.scope=d.scope&o.Scope.LEVEL|c:this.scope=o.Scope.ATTRIBUTE,d.whitelist!=null&&(this.whitelist=d.whitelist)}return s.keys=function(l){return[].map.call(l.attributes,function(u){return u.name})},s.prototype.add=function(l,u){return this.canAdd(l,u)?(l.setAttribute(this.keyName,u),!0):!1},s.prototype.canAdd=function(l,u){var d=o.query(l,o.Scope.BLOT&(this.scope|o.Scope.TYPE));return d==null?!1:this.whitelist==null?!0:typeof u=="string"?this.whitelist.indexOf(u.replace(/["']/g,""))>-1:this.whitelist.indexOf(u)>-1},s.prototype.remove=function(l){l.removeAttribute(this.keyName)},s.prototype.value=function(l){var u=l.getAttribute(this.keyName);return this.canAdd(l,u)&&u?u:""},s}();r.default=a},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.Code=void 0;var o=function(){function A(C,N){var O=[],S=!0,L=!1,R=void 0;try{for(var D=C[Symbol.iterator](),B;!(S=(B=D.next()).done)&&(O.push(B.value),!(N&&O.length===N));S=!0);}catch(q){L=!0,R=q}finally{try{!S&&D.return&&D.return()}finally{if(L)throw R}}return O}return function(C,N){if(Array.isArray(C))return C;if(Symbol.iterator in Object(C))return A(C,N);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a=function(){function A(C,N){for(var O=0;O<N.length;O++){var S=N[O];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(C,S.key,S)}}return function(C,N,O){return N&&A(C.prototype,N),O&&A(C,O),C}}(),s=function A(C,N,O){C===null&&(C=Function.prototype);var S=Object.getOwnPropertyDescriptor(C,N);if(S===void 0){var L=Object.getPrototypeOf(C);return L===null?void 0:A(L,N,O)}else{if("value"in S)return S.value;var R=S.get;return R===void 0?void 0:R.call(O)}},l=i(2),u=g(l),d=i(0),c=g(d),f=i(4),p=g(f),y=i(6),v=g(y),_=i(7),m=g(_);function g(A){return A&&A.__esModule?A:{default:A}}function b(A,C){if(!(A instanceof C))throw new TypeError("Cannot call a class as a function")}function h(A,C){if(!A)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C&&(typeof C=="object"||typeof C=="function")?C:A}function E(A,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof C);A.prototype=Object.create(C&&C.prototype,{constructor:{value:A,enumerable:!1,writable:!0,configurable:!0}}),C&&(Object.setPrototypeOf?Object.setPrototypeOf(A,C):A.__proto__=C)}var k=function(A){E(C,A);function C(){return b(this,C),h(this,(C.__proto__||Object.getPrototypeOf(C)).apply(this,arguments))}return C}(v.default);k.blotName="code",k.tagName="CODE";var T=function(A){E(C,A);function C(){return b(this,C),h(this,(C.__proto__||Object.getPrototypeOf(C)).apply(this,arguments))}return a(C,[{key:"delta",value:function(){var O=this,S=this.domNode.textContent;return S.endsWith(`
|
|
812
812
|
`)&&(S=S.slice(0,-1)),S.split(`
|
|
813
813
|
`).reduce(function(L,R){return L.insert(R).insert(`
|
|
814
|
-
`,O.formats())},new u.default)}},{key:"format",value:function(O,S){if(!(O===this.statics.blotName&&S)){var L=this.descendant(m.default,this.length()-1),R=o(L,1),D=R[0];D?.deleteAt(D.length()-1,1),s(C.prototype.__proto__||Object.getPrototypeOf(C.prototype),"format",this).call(this,O,S)}}},{key:"formatAt",value:function(O,S,L,R){if(S!==0&&!(c.default.query(L,c.default.Scope.BLOCK)==null||L===this.statics.blotName&&R===this.statics.formats(this.domNode))){var D=this.newlineIndex(O);if(!(D<0||D>=O+S)){var B=this.newlineIndex(O,!0)+1,
|
|
814
|
+
`,O.formats())},new u.default)}},{key:"format",value:function(O,S){if(!(O===this.statics.blotName&&S)){var L=this.descendant(m.default,this.length()-1),R=o(L,1),D=R[0];D?.deleteAt(D.length()-1,1),s(C.prototype.__proto__||Object.getPrototypeOf(C.prototype),"format",this).call(this,O,S)}}},{key:"formatAt",value:function(O,S,L,R){if(S!==0&&!(c.default.query(L,c.default.Scope.BLOCK)==null||L===this.statics.blotName&&R===this.statics.formats(this.domNode))){var D=this.newlineIndex(O);if(!(D<0||D>=O+S)){var B=this.newlineIndex(O,!0)+1,q=D-B+1,re=this.isolate(B,q),Y=re.next;re.format(L,R),Y instanceof C&&Y.formatAt(0,O-B+S-q,L,R)}}}},{key:"insertAt",value:function(O,S,L){if(L==null){var R=this.descendant(m.default,O),D=o(R,2),B=D[0],q=D[1];B.insertAt(q,S)}}},{key:"length",value:function(){var O=this.domNode.textContent.length;return this.domNode.textContent.endsWith(`
|
|
815
815
|
`)?O:O+1}},{key:"newlineIndex",value:function(O){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(S)return this.domNode.textContent.slice(0,O).lastIndexOf(`
|
|
816
816
|
`);var L=this.domNode.textContent.slice(O).indexOf(`
|
|
817
817
|
`);return L>-1?O+L:-1}},{key:"optimize",value:function(O){this.domNode.textContent.endsWith(`
|
|
818
818
|
`)||this.appendChild(c.default.create("text",`
|
|
819
|
-
`)),s(C.prototype.__proto__||Object.getPrototypeOf(C.prototype),"optimize",this).call(this,O);var S=this.next;S!=null&&S.prev===this&&S.statics.blotName===this.statics.blotName&&this.statics.formats(this.domNode)===S.statics.formats(S.domNode)&&(S.optimize(O),S.moveChildren(this),S.remove())}},{key:"replace",value:function(O){s(C.prototype.__proto__||Object.getPrototypeOf(C.prototype),"replace",this).call(this,O),[].slice.call(this.domNode.querySelectorAll("*")).forEach(function(S){var L=c.default.find(S);L==null?S.parentNode.removeChild(S):L instanceof c.default.Embed?L.remove():L.unwrap()})}}],[{key:"create",value:function(O){var S=s(C.__proto__||Object.getPrototypeOf(C),"create",this).call(this,O);return S.setAttribute("spellcheck",!1),S}},{key:"formats",value:function(){return!0}}]),C}(p.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 o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Y){return typeof Y}:function(Y){return Y&&typeof Symbol=="function"&&Y.constructor===Symbol&&Y!==Symbol.prototype?"symbol":typeof Y},a=function(){function Y(j,I){var F=[],z=!0,
|
|
820
|
-
`)&&z&&(z=!1,oe=oe.slice(0,-1)),J>=
|
|
821
|
-
`)&&(z=!0),F.scroll.insertAt(J,oe);var ue=F.scroll.line(J),he=a(ue,2),V=he[0],P=he[1],x=(0,O.default)({},(0,g.bubbleFormats)(V));if(V instanceof b.default){var $=V.descendant(p.default.Leaf,P),Z=a($,1),se=Z[0];x=(0,O.default)(x,(0,g.bubbleFormats)(se))}ie=c.default.attributes.diff(x,ie)||{}}else if(o(H.insert)==="object"){var U=Object.keys(H.insert)[0];if(U==null)return J;F.scroll.insertAt(J,U,H.insert[U])}
|
|
819
|
+
`)),s(C.prototype.__proto__||Object.getPrototypeOf(C.prototype),"optimize",this).call(this,O);var S=this.next;S!=null&&S.prev===this&&S.statics.blotName===this.statics.blotName&&this.statics.formats(this.domNode)===S.statics.formats(S.domNode)&&(S.optimize(O),S.moveChildren(this),S.remove())}},{key:"replace",value:function(O){s(C.prototype.__proto__||Object.getPrototypeOf(C.prototype),"replace",this).call(this,O),[].slice.call(this.domNode.querySelectorAll("*")).forEach(function(S){var L=c.default.find(S);L==null?S.parentNode.removeChild(S):L instanceof c.default.Embed?L.remove():L.unwrap()})}}],[{key:"create",value:function(O){var S=s(C.__proto__||Object.getPrototypeOf(C),"create",this).call(this,O);return S.setAttribute("spellcheck",!1),S}},{key:"formats",value:function(){return!0}}]),C}(p.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 o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Y){return typeof Y}:function(Y){return Y&&typeof Symbol=="function"&&Y.constructor===Symbol&&Y!==Symbol.prototype?"symbol":typeof Y},a=function(){function Y(j,I){var F=[],z=!0,te=!1,J=void 0;try{for(var H=j[Symbol.iterator](),X;!(z=(X=H.next()).done)&&(F.push(X.value),!(I&&F.length===I));z=!0);}catch(ie){te=!0,J=ie}finally{try{!z&&H.return&&H.return()}finally{if(te)throw J}}return F}return function(j,I){if(Array.isArray(j))return j;if(Symbol.iterator in Object(j))return Y(j,I);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),s=function(){function Y(j,I){for(var F=0;F<I.length;F++){var z=I[F];z.enumerable=z.enumerable||!1,z.configurable=!0,"value"in z&&(z.writable=!0),Object.defineProperty(j,z.key,z)}}return function(j,I,F){return I&&Y(j.prototype,I),F&&Y(j,F),j}}(),l=i(2),u=S(l),d=i(20),c=S(d),f=i(0),p=S(f),y=i(13),v=S(y),_=i(24),m=S(_),g=i(4),b=S(g),h=i(16),E=S(h),k=i(21),T=S(k),A=i(11),C=S(A),N=i(3),O=S(N);function S(Y){return Y&&Y.__esModule?Y:{default:Y}}function L(Y,j,I){return j in Y?Object.defineProperty(Y,j,{value:I,enumerable:!0,configurable:!0,writable:!0}):Y[j]=I,Y}function R(Y,j){if(!(Y instanceof j))throw new TypeError("Cannot call a class as a function")}var D=/^[ -~]*$/,B=function(){function Y(j){R(this,Y),this.scroll=j,this.delta=this.getDelta()}return s(Y,[{key:"applyDelta",value:function(I){var F=this,z=!1;this.scroll.update();var te=this.scroll.length();return this.scroll.batchStart(),I=re(I),I.reduce(function(J,H){var X=H.retain||H.delete||H.insert.length||1,ie=H.attributes||{};if(H.insert!=null){if(typeof H.insert=="string"){var oe=H.insert;oe.endsWith(`
|
|
820
|
+
`)&&z&&(z=!1,oe=oe.slice(0,-1)),J>=te&&!oe.endsWith(`
|
|
821
|
+
`)&&(z=!0),F.scroll.insertAt(J,oe);var ue=F.scroll.line(J),he=a(ue,2),V=he[0],P=he[1],x=(0,O.default)({},(0,g.bubbleFormats)(V));if(V instanceof b.default){var $=V.descendant(p.default.Leaf,P),Z=a($,1),se=Z[0];x=(0,O.default)(x,(0,g.bubbleFormats)(se))}ie=c.default.attributes.diff(x,ie)||{}}else if(o(H.insert)==="object"){var U=Object.keys(H.insert)[0];if(U==null)return J;F.scroll.insertAt(J,U,H.insert[U])}te+=X}return Object.keys(ie).forEach(function(G){F.scroll.formatAt(J,X,G,ie[G])}),J+X},0),I.reduce(function(J,H){return typeof H.delete=="number"?(F.scroll.deleteAt(J,H.delete),J):J+(H.retain||H.insert.length||1)},0),this.scroll.batchEnd(),this.update(I)}},{key:"deleteText",value:function(I,F){return this.scroll.deleteAt(I,F),this.update(new u.default().retain(I).delete(F))}},{key:"formatLine",value:function(I,F){var z=this,te=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.scroll.update(),Object.keys(te).forEach(function(J){if(!(z.scroll.whitelist!=null&&!z.scroll.whitelist[J])){var H=z.scroll.lines(I,Math.max(F,1)),X=F;H.forEach(function(ie){var oe=ie.length();if(!(ie instanceof v.default))ie.format(J,te[J]);else{var ue=I-ie.offset(z.scroll),he=ie.newlineIndex(ue+X)-ue+1;ie.formatAt(ue,he,J,te[J])}X-=oe})}}),this.scroll.optimize(),this.update(new u.default().retain(I).retain(F,(0,T.default)(te)))}},{key:"formatText",value:function(I,F){var z=this,te=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return Object.keys(te).forEach(function(J){z.scroll.formatAt(I,F,J,te[J])}),this.update(new u.default().retain(I).retain(F,(0,T.default)(te)))}},{key:"getContents",value:function(I,F){return this.delta.slice(I,I+F)}},{key:"getDelta",value:function(){return this.scroll.lines().reduce(function(I,F){return I.concat(F.delta())},new u.default)}},{key:"getFormat",value:function(I){var F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,z=[],te=[];F===0?this.scroll.path(I).forEach(function(H){var X=a(H,1),ie=X[0];ie instanceof b.default?z.push(ie):ie instanceof p.default.Leaf&&te.push(ie)}):(z=this.scroll.lines(I,F),te=this.scroll.descendants(p.default.Leaf,I,F));var J=[z,te].map(function(H){if(H.length===0)return{};for(var X=(0,g.bubbleFormats)(H.shift());Object.keys(X).length>0;){var ie=H.shift();if(ie==null)return X;X=q((0,g.bubbleFormats)(ie),X)}return X});return O.default.apply(O.default,J)}},{key:"getText",value:function(I,F){return this.getContents(I,F).filter(function(z){return typeof z.insert=="string"}).map(function(z){return z.insert}).join("")}},{key:"insertEmbed",value:function(I,F,z){return this.scroll.insertAt(I,F,z),this.update(new u.default().retain(I).insert(L({},F,z)))}},{key:"insertText",value:function(I,F){var z=this,te=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return F=F.replace(/\r\n/g,`
|
|
822
822
|
`).replace(/\r/g,`
|
|
823
|
-
`),this.scroll.insertAt(I,F),Object.keys(
|
|
824
|
-
`));var ue=this.getContents(I,F+ie),he=ue.diff(new u.default().insert(z).concat(oe)),V=new u.default().retain(I).concat(he);return this.applyDelta(V)}},{key:"update",value:function(I){var F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0,
|
|
823
|
+
`),this.scroll.insertAt(I,F),Object.keys(te).forEach(function(J){z.scroll.formatAt(I,F.length,J,te[J])}),this.update(new u.default().retain(I).insert(F,(0,T.default)(te)))}},{key:"isBlank",value:function(){if(this.scroll.children.length==0)return!0;if(this.scroll.children.length>1)return!1;var I=this.scroll.children.head;return I.statics.blotName!==b.default.blotName||I.children.length>1?!1:I.children.head instanceof E.default}},{key:"removeFormat",value:function(I,F){var z=this.getText(I,F),te=this.scroll.line(I+F),J=a(te,2),H=J[0],X=J[1],ie=0,oe=new u.default;H!=null&&(H instanceof v.default?ie=H.newlineIndex(X)-X+1:ie=H.length()-X,oe=H.delta().slice(X,X+ie-1).insert(`
|
|
824
|
+
`));var ue=this.getContents(I,F+ie),he=ue.diff(new u.default().insert(z).concat(oe)),V=new u.default().retain(I).concat(he);return this.applyDelta(V)}},{key:"update",value:function(I){var F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0,te=this.delta;if(F.length===1&&F[0].type==="characterData"&&F[0].target.data.match(D)&&p.default.find(F[0].target)){var J=p.default.find(F[0].target),H=(0,g.bubbleFormats)(J),X=J.offset(this.scroll),ie=F[0].oldValue.replace(m.default.CONTENTS,""),oe=new u.default().insert(ie),ue=new u.default().insert(J.value()),he=new u.default().retain(X).concat(oe.diff(ue,z));I=he.reduce(function(V,P){return P.insert?V.insert(P.insert,H):V.push(P)},new u.default),this.delta=te.compose(I)}else this.delta=this.getDelta(),(!I||!(0,C.default)(te.compose(I),this.delta))&&(I=te.diff(this.delta,z));return I}}]),Y}();function q(Y,j){return Object.keys(j).reduce(function(I,F){return Y[F]==null||(j[F]===Y[F]?I[F]=j[F]:Array.isArray(j[F])?j[F].indexOf(Y[F])<0&&(I[F]=j[F].concat([Y[F]])):I[F]=[j[F],Y[F]]),I},{})}function re(Y){return Y.reduce(function(j,I){if(I.insert===1){var F=(0,T.default)(I.attributes);return delete F.image,j.insert({image:I.attributes.image},F)}if(I.attributes!=null&&(I.attributes.list===!0||I.attributes.bullet===!0)&&(I=(0,T.default)(I),I.attributes.list?I.attributes.list="ordered":(I.attributes.list="bullet",delete I.attributes.bullet)),typeof I.insert=="string"){var z=I.insert.replace(/\r\n/g,`
|
|
825
825
|
`).replace(/\r/g,`
|
|
826
|
-
`);return j.insert(z,I.attributes)}return j.push(I)},new u.default)}r.default=B},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.Range=void 0;var o=function(){function A(C,N){var O=[],S=!0,L=!1,R=void 0;try{for(var D=C[Symbol.iterator](),B;!(S=(B=D.next()).done)&&(O.push(B.value),!(N&&O.length===N));S=!0);}catch(K){L=!0,R=K}finally{try{!S&&D.return&&D.return()}finally{if(L)throw R}}return O}return function(C,N){if(Array.isArray(C))return C;if(Symbol.iterator in Object(C))return A(C,N);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a=function(){function A(C,N){for(var O=0;O<N.length;O++){var S=N[O];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(C,S.key,S)}}return function(C,N,O){return N&&A(C.prototype,N),O&&A(C,O),C}}(),s=i(0),l=m(s),u=i(21),d=m(u),c=i(11),f=m(c),p=i(8),y=m(p),v=i(10),_=m(v);function m(A){return A&&A.__esModule?A:{default:A}}function g(A){if(Array.isArray(A)){for(var C=0,N=Array(A.length);C<A.length;C++)N[C]=A[C];return N}else return Array.from(A)}function b(A,C){if(!(A instanceof C))throw new TypeError("Cannot call a class as a function")}var h=(0,_.default)("quill:selection"),E=function A(C){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;b(this,A),this.index=C,this.length=N},k=function(){function A(C,N){var O=this;b(this,A),this.emitter=N,this.scroll=C,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=l.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(S,L){S===y.default.events.TEXT_CHANGE&&L.length()>0&&O.update(y.default.sources.SILENT)}),this.emitter.on(y.default.events.SCROLL_BEFORE_UPDATE,function(){if(O.hasFocus()){var S=O.getNativeRange();S!=null&&S.start.node!==O.cursor.textNode&&O.emitter.once(y.default.events.SCROLL_UPDATE,function(){try{O.setNativeRange(S.start.node,S.start.offset,S.end.node,S.end.offset)}catch{}})}}),this.emitter.on(y.default.events.SCROLL_OPTIMIZE,function(S,L){if(L.range){var R=L.range,D=R.startNode,B=R.startOffset,K=R.endNode,re=R.endOffset;O.setNativeRange(D,B,K,re)}}),this.update(y.default.sources.SILENT)}return a(A,[{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 S=this.getNativeRange();if(!(S==null||!S.native.collapsed||l.default.query(N,l.default.Scope.BLOCK))){if(S.start.node!==this.cursor.textNode){var L=l.default.find(S.start.node,!1);if(L==null)return;if(L instanceof l.default.Leaf){var R=L.split(S.start.offset);L.parent.insertBefore(this.cursor,R)}else L.insertBefore(this.cursor,S.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,S=this.scroll.length();N=Math.min(N,S-1),O=Math.min(N+O,S-1)-N;var L=void 0,R=this.scroll.leaf(N),D=o(R,2),B=D[0],K=D[1];if(B==null)return null;var re=B.position(K,!0),Y=o(re,2);L=Y[0],K=Y[1];var j=document.createRange();if(O>0){j.setStart(L,K);var I=this.scroll.leaf(N+O),F=o(I,2);if(B=F[0],K=F[1],B==null)return null;var z=B.position(K,!0),ee=o(z,2);return L=ee[0],K=ee[1],j.setEnd(L,K),j.getBoundingClientRect()}else{var J="left",H=void 0;return L instanceof Text?(K<L.data.length?(j.setStart(L,K),j.setEnd(L,K+1)):(j.setStart(L,K-1),j.setEnd(L,K),J="right"),H=j.getBoundingClientRect()):(H=B.domNode.getBoundingClientRect(),K>0&&(J="right")),{bottom:H.top+H.height,height:H.height,left:H[J],right:H[J],top:H.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 S=this.normalizeNative(O);return h.info("getNativeRange",S),S}},{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,S=[[N.start.node,N.start.offset]];N.native.collapsed||S.push([N.end.node,N.end.offset]);var L=S.map(function(B){var K=o(B,2),re=K[0],Y=K[1],j=l.default.find(re,!0),I=j.offset(O.scroll);return Y===0?I:j instanceof l.default.Container?I+j.length():I+j.index(re,Y)}),R=Math.min(Math.max.apply(Math,g(L)),this.scroll.length()-1),D=Math.min.apply(Math,[R].concat(g(L)));return new E(D,R-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(S){for(var L=S.node,R=S.offset;!(L instanceof Text)&&L.childNodes.length>0;)if(L.childNodes.length>R)L=L.childNodes[R],R=0;else if(L.childNodes.length===R)L=L.lastChild,R=L instanceof Text?L.data.length:L.childNodes.length+1;else break;S.node=L,S.offset=R}),O}},{key:"rangeToNative",value:function(N){var O=this,S=N.collapsed?[N.index]:[N.index,N.index+N.length],L=[],R=this.scroll.length();return S.forEach(function(D,B){D=Math.min(R-1,D);var K=void 0,re=O.scroll.leaf(D),Y=o(re,2),j=Y[0],I=Y[1],F=j.position(I,B!==0),z=o(F,2);K=z[0],I=z[1],L.push(K,I)}),L.length<2&&(L=L.concat(L)),L}},{key:"scrollIntoView",value:function(N){var O=this.lastRange;if(O!=null){var S=this.getBounds(O.index,O.length);if(S!=null){var L=this.scroll.length()-1,R=this.scroll.line(Math.min(O.index,L)),D=o(R,1),B=D[0],K=B;if(O.length>0){var re=this.scroll.line(Math.min(O.index+O.length,L)),Y=o(re,1);K=Y[0]}if(!(B==null||K==null)){var j=N.getBoundingClientRect();S.top<j.top?N.scrollTop-=j.top-S.top:S.bottom>j.bottom&&(N.scrollTop+=S.bottom-j.bottom)}}}}},{key:"setNativeRange",value:function(N,O){var S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:N,L=arguments.length>3&&arguments[3]!==void 0?arguments[3]:O,R=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(h.info("setNativeRange",N,O,S,L),!(N!=null&&(this.root.parentNode==null||N.parentNode==null||S.parentNode==null))){var D=document.getSelection();if(D!=null)if(N!=null){this.hasFocus()||this.root.focus();var B=(this.getNativeRange()||{}).native;if(B==null||R||N!==B.startContainer||O!==B.startOffset||S!==B.endContainer||L!==B.endOffset){N.tagName=="BR"&&(O=[].indexOf.call(N.parentNode.childNodes,N),N=N.parentNode),S.tagName=="BR"&&(L=[].indexOf.call(S.parentNode.childNodes,S),S=S.parentNode);var K=document.createRange();K.setStart(N,O),K.setEnd(S,L),D.removeAllRanges(),D.addRange(K)}}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,S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:y.default.sources.API;if(typeof O=="string"&&(S=O,O=!1),h.info("setRange",N),N!=null){var L=this.rangeToNative(N);this.setNativeRange.apply(this,g(L).concat([O]))}else this.setNativeRange(null);this.update(S)}},{key:"update",value:function(){var N=arguments.length>0&&arguments[0]!==void 0?arguments[0]:y.default.sources.USER,O=this.lastRange,S=this.getRange(),L=o(S,2),R=L[0],D=L[1];if(this.lastRange=R,this.lastRange!=null&&(this.savedRange=this.lastRange),!(0,f.default)(O,this.lastRange)){var B;!this.composing&&D!=null&&D.native.collapsed&&D.start.node!==this.cursor.textNode&&this.cursor.restore();var K=[y.default.events.SELECTION_CHANGE,(0,d.default)(this.lastRange),(0,d.default)(O),N];if((B=this.emitter).emit.apply(B,[y.default.events.EDITOR_CHANGE].concat(K)),N!==y.default.sources.SILENT){var re;(re=this.emitter).emit.apply(re,K)}}}}]),A}();function T(A,C){try{C.parentNode}catch{return!1}return C instanceof Text&&(C=C.parentNode),A.contains(C)}r.Range=E,r.default=k},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var o=function(){function y(v,_){for(var m=0;m<_.length;m++){var g=_[m];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(v,g.key,g)}}return function(v,_,m){return _&&y(v.prototype,_),m&&y(v,m),v}}(),a=function y(v,_,m){v===null&&(v=Function.prototype);var g=Object.getOwnPropertyDescriptor(v,_);if(g===void 0){var b=Object.getPrototypeOf(v);return b===null?void 0:y(b,_,m)}else{if("value"in g)return g.value;var h=g.get;return h===void 0?void 0:h.call(m)}},s=i(0),l=u(s);function u(y){return y&&y.__esModule?y:{default:y}}function d(y,v){if(!(y instanceof v))throw new TypeError("Cannot call a class as a function")}function c(y,v){if(!y)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return v&&(typeof v=="object"||typeof v=="function")?v:y}function f(y,v){if(typeof v!="function"&&v!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof v);y.prototype=Object.create(v&&v.prototype,{constructor:{value:y,enumerable:!1,writable:!0,configurable:!0}}),v&&(Object.setPrototypeOf?Object.setPrototypeOf(y,v):y.__proto__=v)}var p=function(y){f(v,y);function v(){return d(this,v),c(this,(v.__proto__||Object.getPrototypeOf(v)).apply(this,arguments))}return o(v,[{key:"insertInto",value:function(m,g){m.children.length===0?a(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"insertInto",this).call(this,m,g):this.remove()}},{key:"length",value:function(){return 0}},{key:"value",value:function(){return""}}],[{key:"value",value:function(){}}]),v}(l.default.Embed);p.blotName="break",p.tagName="BR",r.default=p},function(n,r,i){var o=this&&this.__extends||function(){var c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,p){f.__proto__=p}||function(f,p){for(var y in p)p.hasOwnProperty(y)&&(f[y]=p[y])};return function(f,p){c(f,p);function y(){this.constructor=f}f.prototype=p===null?Object.create(p):(y.prototype=p.prototype,new y)}}();Object.defineProperty(r,"__esModule",{value:!0});var a=i(44),s=i(30),l=i(1),u=function(c){o(f,c);function f(p){var y=c.call(this,p)||this;return y.build(),y}return f.prototype.appendChild=function(p){this.insertBefore(p)},f.prototype.attach=function(){c.prototype.attach.call(this),this.children.forEach(function(p){p.attach()})},f.prototype.build=function(){var p=this;this.children=new a.default,[].slice.call(this.domNode.childNodes).reverse().forEach(function(y){try{var v=d(y);p.insertBefore(v,p.children.head||void 0)}catch(_){if(_ instanceof l.ParchmentError)return;throw _}})},f.prototype.deleteAt=function(p,y){if(p===0&&y===this.length())return this.remove();this.children.forEachAt(p,y,function(v,_,m){v.deleteAt(_,m)})},f.prototype.descendant=function(p,y){var v=this.children.find(y),_=v[0],m=v[1];return p.blotName==null&&p(_)||p.blotName!=null&&_ instanceof p?[_,m]:_ instanceof f?_.descendant(p,m):[null,-1]},f.prototype.descendants=function(p,y,v){y===void 0&&(y=0),v===void 0&&(v=Number.MAX_VALUE);var _=[],m=v;return this.children.forEachAt(y,v,function(g,b,h){(p.blotName==null&&p(g)||p.blotName!=null&&g instanceof p)&&_.push(g),g instanceof f&&(_=_.concat(g.descendants(p,b,m))),m-=h}),_},f.prototype.detach=function(){this.children.forEach(function(p){p.detach()}),c.prototype.detach.call(this)},f.prototype.formatAt=function(p,y,v,_){this.children.forEachAt(p,y,function(m,g,b){m.formatAt(g,b,v,_)})},f.prototype.insertAt=function(p,y,v){var _=this.children.find(p),m=_[0],g=_[1];if(m)m.insertAt(g,y,v);else{var b=v==null?l.create("text",y):l.create(y,v);this.appendChild(b)}},f.prototype.insertBefore=function(p,y){if(this.statics.allowedChildren!=null&&!this.statics.allowedChildren.some(function(v){return p instanceof v}))throw new l.ParchmentError("Cannot insert "+p.statics.blotName+" into "+this.statics.blotName);p.insertInto(this,y)},f.prototype.length=function(){return this.children.reduce(function(p,y){return p+y.length()},0)},f.prototype.moveChildren=function(p,y){this.children.forEach(function(v){p.insertBefore(v,y)})},f.prototype.optimize=function(p){if(c.prototype.optimize.call(this,p),this.children.length===0)if(this.statics.defaultChild!=null){var y=l.create(this.statics.defaultChild);this.appendChild(y),y.optimize(p)}else this.remove()},f.prototype.path=function(p,y){y===void 0&&(y=!1);var v=this.children.find(p,y),_=v[0],m=v[1],g=[[this,p]];return _ instanceof f?g.concat(_.path(m,y)):(_!=null&&g.push([_,m]),g)},f.prototype.removeChild=function(p){this.children.remove(p)},f.prototype.replace=function(p){p instanceof f&&p.moveChildren(this),c.prototype.replace.call(this,p)},f.prototype.split=function(p,y){if(y===void 0&&(y=!1),!y){if(p===0)return this;if(p===this.length())return this.next}var v=this.clone();return this.parent.insertBefore(v,this.next),this.children.forEachAt(p,this.length(),function(_,m,g){_=_.split(m,y),v.appendChild(_)}),v},f.prototype.unwrap=function(){this.moveChildren(this.parent,this.next),this.remove()},f.prototype.update=function(p,y){var v=this,_=[],m=[];p.forEach(function(g){g.target===v.domNode&&g.type==="childList"&&(_.push.apply(_,g.addedNodes),m.push.apply(m,g.removedNodes))}),m.forEach(function(g){if(!(g.parentNode!=null&&g.tagName!=="IFRAME"&&document.body.compareDocumentPosition(g)&Node.DOCUMENT_POSITION_CONTAINED_BY)){var b=l.find(g);b!=null&&(b.domNode.parentNode==null||b.domNode.parentNode===v.domNode)&&b.detach()}}),_.filter(function(g){return g.parentNode==v.domNode}).sort(function(g,b){return g===b?0:g.compareDocumentPosition(b)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1}).forEach(function(g){var b=null;g.nextSibling!=null&&(b=l.find(g.nextSibling));var h=d(g);(h.next!=b||h.next==null)&&(h.parent!=null&&h.parent.removeChild(v),v.insertBefore(h,b||void 0))})},f}(s.default);function d(c){var f=l.find(c);if(f==null)try{f=l.create(c)}catch{f=l.create(l.Scope.INLINE),[].slice.call(c.childNodes).forEach(function(y){f.domNode.appendChild(y)}),c.parentNode&&c.parentNode.replaceChild(f.domNode,c),f.attach()}return f}r.default=u},function(n,r,i){var o=this&&this.__extends||function(){var c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,p){f.__proto__=p}||function(f,p){for(var y in p)p.hasOwnProperty(y)&&(f[y]=p[y])};return function(f,p){c(f,p);function y(){this.constructor=f}f.prototype=p===null?Object.create(p):(y.prototype=p.prototype,new y)}}();Object.defineProperty(r,"__esModule",{value:!0});var a=i(12),s=i(31),l=i(17),u=i(1),d=function(c){o(f,c);function f(p){var y=c.call(this,p)||this;return y.attributes=new s.default(y.domNode),y}return f.formats=function(p){if(typeof this.tagName=="string")return!0;if(Array.isArray(this.tagName))return p.tagName.toLowerCase()},f.prototype.format=function(p,y){var v=u.query(p);v instanceof a.default?this.attributes.attribute(v,y):y&&v!=null&&(p!==this.statics.blotName||this.formats()[p]!==y)&&this.replaceWith(p,y)},f.prototype.formats=function(){var p=this.attributes.values(),y=this.statics.formats(this.domNode);return y!=null&&(p[this.statics.blotName]=y),p},f.prototype.replaceWith=function(p,y){var v=c.prototype.replaceWith.call(this,p,y);return this.attributes.copy(v),v},f.prototype.update=function(p,y){var v=this;c.prototype.update.call(this,p,y),p.some(function(_){return _.target===v.domNode&&_.type==="attributes"})&&this.attributes.build()},f.prototype.wrap=function(p,y){var v=c.prototype.wrap.call(this,p,y);return v instanceof f&&v.statics.scope===this.statics.scope&&this.attributes.move(v),v},f}(l.default);r.default=d},function(n,r,i){var o=this&&this.__extends||function(){var u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,c){d.__proto__=c}||function(d,c){for(var f in c)c.hasOwnProperty(f)&&(d[f]=c[f])};return function(d,c){u(d,c);function f(){this.constructor=d}d.prototype=c===null?Object.create(c):(f.prototype=c.prototype,new f)}}();Object.defineProperty(r,"__esModule",{value:!0});var a=i(30),s=i(1),l=function(u){o(d,u);function d(){return u!==null&&u.apply(this,arguments)||this}return d.value=function(c){return!0},d.prototype.index=function(c,f){return this.domNode===c||this.domNode.compareDocumentPosition(c)&Node.DOCUMENT_POSITION_CONTAINED_BY?Math.min(f,1):-1},d.prototype.position=function(c,f){var p=[].indexOf.call(this.parent.domNode.childNodes,this.domNode);return c>0&&(p+=1),[this.parent.domNode,p]},d.prototype.value=function(){var c;return c={},c[this.statics.blotName]=this.statics.value(this.domNode)||!0,c},d.scope=s.Scope.INLINE_BLOT,d}(a.default);r.default=l},function(n,r,i){var o=i(11),a=i(3),s={attributes:{compose:function(u,d,c){typeof u!="object"&&(u={}),typeof d!="object"&&(d={});var f=a(!0,{},d);c||(f=Object.keys(f).reduce(function(y,v){return f[v]!=null&&(y[v]=f[v]),y},{}));for(var p in u)u[p]!==void 0&&d[p]===void 0&&(f[p]=u[p]);return Object.keys(f).length>0?f:void 0},diff:function(u,d){typeof u!="object"&&(u={}),typeof d!="object"&&(d={});var c=Object.keys(u).concat(Object.keys(d)).reduce(function(f,p){return o(u[p],d[p])||(f[p]=d[p]===void 0?null:d[p]),f},{});return Object.keys(c).length>0?c:void 0},transform:function(u,d,c){if(typeof u!="object")return d;if(typeof d=="object"){if(!c)return d;var f=Object.keys(d).reduce(function(p,y){return u[y]===void 0&&(p[y]=d[y]),p},{});return Object.keys(f).length>0?f:void 0}}},iterator:function(u){return new l(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 l(u){this.ops=u,this.index=0,this.offset=0}l.prototype.hasNext=function(){return this.peekLength()<1/0},l.prototype.next=function(u){u||(u=1/0);var d=this.ops[this.index];if(d){var c=this.offset,f=s.length(d);if(u>=f-c?(u=f-c,this.index+=1,this.offset=0):this.offset+=u,typeof d.delete=="number")return{delete:u};var p={};return d.attributes&&(p.attributes=d.attributes),typeof d.retain=="number"?p.retain=u:typeof d.insert=="string"?p.insert=d.insert.substr(c,u):p.insert=d.insert,p}else return{retain:1/0}},l.prototype.peek=function(){return this.ops[this.index]},l.prototype.peekLength=function(){return this.ops[this.index]?s.length(this.ops[this.index])-this.offset:1/0},l.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"},l.prototype.rest=function(){if(this.hasNext()){if(this.offset===0)return this.ops.slice(this.index);var u=this.offset,d=this.index,c=this.next(),f=this.ops.slice(this.index);return this.offset=u,this.index=d,[c].concat(f)}else return[]},n.exports=s},function(n,r){var i=function(){function o(v,_){return _!=null&&v instanceof _}var a;try{a=Map}catch{a=function(){}}var s;try{s=Set}catch{s=function(){}}var l;try{l=Promise}catch{l=function(){}}function u(v,_,m,g,b){typeof _=="object"&&(m=_.depth,g=_.prototype,b=_.includeNonEnumerable,_=_.circular);var h=[],E=[],k=typeof Buffer<"u";typeof _>"u"&&(_=!0),typeof m>"u"&&(m=1/0);function T(A,C){if(A===null)return null;if(C===0)return A;var N,O;if(typeof A!="object")return A;if(o(A,a))N=new a;else if(o(A,s))N=new s;else if(o(A,l))N=new l(function(j,I){A.then(function(F){j(T(F,C-1))},function(F){I(T(F,C-1))})});else if(u.__isArray(A))N=[];else if(u.__isRegExp(A))N=new RegExp(A.source,y(A)),A.lastIndex&&(N.lastIndex=A.lastIndex);else if(u.__isDate(A))N=new Date(A.getTime());else{if(k&&Buffer.isBuffer(A))return Buffer.allocUnsafe?N=Buffer.allocUnsafe(A.length):N=new Buffer(A.length),A.copy(N),N;o(A,Error)?N=Object.create(A):typeof g>"u"?(O=Object.getPrototypeOf(A),N=Object.create(O)):(N=Object.create(g),O=g)}if(_){var S=h.indexOf(A);if(S!=-1)return E[S];h.push(A),E.push(N)}o(A,a)&&A.forEach(function(j,I){var F=T(I,C-1),z=T(j,C-1);N.set(F,z)}),o(A,s)&&A.forEach(function(j){var I=T(j,C-1);N.add(I)});for(var L in A){var R;O&&(R=Object.getOwnPropertyDescriptor(O,L)),!(R&&R.set==null)&&(N[L]=T(A[L],C-1))}if(Object.getOwnPropertySymbols)for(var D=Object.getOwnPropertySymbols(A),L=0;L<D.length;L++){var B=D[L],K=Object.getOwnPropertyDescriptor(A,B);K&&!K.enumerable&&!b||(N[B]=T(A[B],C-1),K.enumerable||Object.defineProperty(N,B,{enumerable:!1}))}if(b)for(var re=Object.getOwnPropertyNames(A),L=0;L<re.length;L++){var Y=re[L],K=Object.getOwnPropertyDescriptor(A,Y);K&&K.enumerable||(N[Y]=T(A[Y],C-1),Object.defineProperty(N,Y,{enumerable:!1}))}return N}return T(v,m)}u.clonePrototype=function(_){if(_===null)return null;var m=function(){};return m.prototype=_,new m};function d(v){return Object.prototype.toString.call(v)}u.__objToStr=d;function c(v){return typeof v=="object"&&d(v)==="[object Date]"}u.__isDate=c;function f(v){return typeof v=="object"&&d(v)==="[object Array]"}u.__isArray=f;function p(v){return typeof v=="object"&&d(v)==="[object RegExp]"}u.__isRegExp=p;function y(v){var _="";return v.global&&(_+="g"),v.ignoreCase&&(_+="i"),v.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 o=function(){function N(O,S){var L=[],R=!0,D=!1,B=void 0;try{for(var K=O[Symbol.iterator](),re;!(R=(re=K.next()).done)&&(L.push(re.value),!(S&&L.length===S));R=!0);}catch(Y){D=!0,B=Y}finally{try{!R&&K.return&&K.return()}finally{if(D)throw B}}return L}return function(O,S){if(Array.isArray(O))return O;if(Symbol.iterator in Object(O))return N(O,S);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a=function(){function N(O,S){for(var L=0;L<S.length;L++){var R=S[L];R.enumerable=R.enumerable||!1,R.configurable=!0,"value"in R&&(R.writable=!0),Object.defineProperty(O,R.key,R)}}return function(O,S,L){return S&&N(O.prototype,S),L&&N(O,L),O}}(),s=function N(O,S,L){O===null&&(O=Function.prototype);var R=Object.getOwnPropertyDescriptor(O,S);if(R===void 0){var D=Object.getPrototypeOf(O);return D===null?void 0:N(D,S,L)}else{if("value"in R)return R.value;var B=R.get;return B===void 0?void 0:B.call(L)}},l=i(0),u=h(l),d=i(8),c=h(d),f=i(4),p=h(f),y=i(16),v=h(y),_=i(13),m=h(_),g=i(25),b=h(g);function h(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 A(N){return N instanceof p.default||N instanceof f.BlockEmbed}var C=function(N){T(O,N);function O(S,L){E(this,O);var R=k(this,(O.__proto__||Object.getPrototypeOf(O)).call(this,S));return R.emitter=L.emitter,Array.isArray(L.whitelist)&&(R.whitelist=L.whitelist.reduce(function(D,B){return D[B]=!0,D},{})),R.domNode.addEventListener("DOMNodeInserted",function(){}),R.optimize(),R.enable(),R}return a(O,[{key:"batchStart",value:function(){this.batch=!0}},{key:"batchEnd",value:function(){this.batch=!1,this.optimize()}},{key:"deleteAt",value:function(L,R){var D=this.line(L),B=o(D,2),K=B[0],re=B[1],Y=this.line(L+R),j=o(Y,1),I=j[0];if(s(O.prototype.__proto__||Object.getPrototypeOf(O.prototype),"deleteAt",this).call(this,L,R),I!=null&&K!==I&&re>0){if(K instanceof f.BlockEmbed||I instanceof f.BlockEmbed){this.optimize();return}if(K instanceof m.default){var F=K.newlineIndex(K.length(),!0);if(F>-1&&(K=K.split(F+1),K===I)){this.optimize();return}}else if(I instanceof m.default){var z=I.newlineIndex(0);z>-1&&I.split(z+1)}var ee=I.children.head instanceof v.default?null:I.children.head;K.moveChildren(I,ee),K.remove()}this.optimize()}},{key:"enable",value:function(){var L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;this.domNode.setAttribute("contenteditable",L)}},{key:"formatAt",value:function(L,R,D,B){this.whitelist!=null&&!this.whitelist[D]||(s(O.prototype.__proto__||Object.getPrototypeOf(O.prototype),"formatAt",this).call(this,L,R,D,B),this.optimize())}},{key:"insertAt",value:function(L,R,D){if(!(D!=null&&this.whitelist!=null&&!this.whitelist[R])){if(L>=this.length())if(D==null||u.default.query(R,u.default.Scope.BLOCK)==null){var B=u.default.create(this.statics.defaultChild);this.appendChild(B),D==null&&R.endsWith(`
|
|
827
|
-
`)&&(R=R.slice(0,-1)),B.insertAt(0,R,D)}else{var
|
|
828
|
-
`,V).retain(ue.length()-he-1).retain(1,{list:"unchecked"});this.quill.updateContents(P,E.default.sources.USER),this.quill.setSelection(X.index+1,E.default.sources.SILENT),this.quill.scrollIntoView()}},"header enter":{key:
|
|
829
|
-
`,ie.format).retain(he.length()-V-1).retain(1,{header:null});this.quill.updateContents(P,E.default.sources.USER),this.quill.setSelection(X.index+1,E.default.sources.SILENT),this.quill.scrollIntoView()}},"list autofill":{key:" ",collapsed:!0,format:{list:!1},prefix:/^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,handler:function(X,ie){var oe=ie.prefix.length,ue=this.quill.getLine(X.index),he=a(ue,2),V=he[0],P=he[1];if(P>oe)return!0;var x=void 0;switch(ie.prefix.trim()){case"[]":case"[ ]":x="unchecked";break;case"[x]":x="checked";break;case"-":case"*":x="bullet";break;default:x="ordered"}this.quill.insertText(X.index," ",E.default.sources.USER),this.quill.history.cutoff();var $=new v.default().retain(X.index-P).delete(oe+1).retain(V.length()-2-P).retain(1,{list:x});this.quill.updateContents($,E.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(X.index-oe,E.default.sources.SILENT)}},"code exit":{key:
|
|
830
|
-
`,oe,E.default.sources.USER),this.quill.setSelection(H.index+1,E.default.sources.SILENT),this.quill.focus(),Object.keys(X.format).forEach(function(ue){oe[ue]==null&&(Array.isArray(X.format[ue])||ue!=="link"&&ie.quill.format(ue,X.format[ue],E.default.sources.USER))})}function z(H){return{key:
|
|
831
|
-
`);$=0,q.forEach(function(Q,ne){H?(x.insertAt(se+$,oe.TAB),$+=oe.TAB.length,ne===0?ue+=oe.TAB.length:he+=oe.TAB.length):Q.startsWith(oe.TAB)&&(x.deleteAt(se+$,oe.TAB.length),$-=oe.TAB.length,ne===0?ue-=oe.TAB.length:he-=oe.TAB.length),$+=Q.length+1}),this.quill.update(E.default.sources.USER),this.quill.setSelection(ue,he,E.default.sources.SILENT)}}}}function ee(H){return{key:H[0].toUpperCase(),shortKey:!0,handler:function(ie,oe){this.quill.format(H,!oe.format[H],E.default.sources.USER)}}}function J(H){if(typeof H=="string"||typeof H=="number")return J({key:H});if((typeof H>"u"?"undefined":o(H))==="object"&&(H=(0,u.default)(H,!1)),typeof H.key=="string")if(K.keys[H.key.toUpperCase()]!=null)H.key=K.keys[H.key.toUpperCase()];else if(H.key.length===1)H.key=H.key.toUpperCase().charCodeAt(0);else return null;return H.shortKey&&(H[B]=H.shortKey,delete H.shortKey),H}r.default=K,r.SHORTKEY=B},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var o=function(){function m(g,b){var h=[],E=!0,k=!1,T=void 0;try{for(var A=g[Symbol.iterator](),C;!(E=(C=A.next()).done)&&(h.push(C.value),!(b&&h.length===b));E=!0);}catch(N){k=!0,T=N}finally{try{!E&&A.return&&A.return()}finally{if(k)throw T}}return h}return function(g,b){if(Array.isArray(g))return g;if(Symbol.iterator in Object(g))return m(g,b);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a=function m(g,b,h){g===null&&(g=Function.prototype);var E=Object.getOwnPropertyDescriptor(g,b);if(E===void 0){var k=Object.getPrototypeOf(g);return k===null?void 0:m(k,b,h)}else{if("value"in E)return E.value;var T=E.get;return T===void 0?void 0:T.call(h)}},s=function(){function m(g,b){for(var h=0;h<b.length;h++){var E=b[h];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(g,E.key,E)}}return function(g,b,h){return b&&m(g.prototype,b),h&&m(g,h),g}}(),l=i(0),u=f(l),d=i(7),c=f(d);function f(m){return m&&m.__esModule?m:{default:m}}function p(m,g){if(!(m instanceof g))throw new TypeError("Cannot call a class as a function")}function y(m,g){if(!m)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:m}function v(m,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);m.prototype=Object.create(g&&g.prototype,{constructor:{value:m,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(m,g):m.__proto__=g)}var _=function(m){v(g,m),s(g,null,[{key:"value",value:function(){}}]);function g(b,h){p(this,g);var E=y(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,b));return E.selection=h,E.textNode=document.createTextNode(g.CONTENTS),E.domNode.appendChild(E.textNode),E._length=0,E}return s(g,[{key:"detach",value:function(){this.parent!=null&&this.parent.removeChild(this)}},{key:"format",value:function(h,E){if(this._length!==0)return a(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"format",this).call(this,h,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=g.CONTENTS.length,k.optimize(),k.formatAt(T,g.CONTENTS.length,h,E),this._length=0)}},{key:"index",value:function(h,E){return h===this.textNode?0:a(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"index",this).call(this,h,E)}},{key:"length",value:function(){return this._length}},{key:"position",value:function(){return[this.textNode,this.textNode.data.length]}},{key:"remove",value:function(){a(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"remove",this).call(this),this.parent=null}},{key:"restore",value:function(){if(!(this.selection.composing||this.parent==null)){var h=this.textNode,E=this.selection.getNativeRange(),k=void 0,T=void 0,A=void 0;if(E!=null&&E.start.node===h&&E.end.node===h){var C=[h,E.start.offset,E.end.offset];k=C[0],T=C[1],A=C[2]}for(;this.domNode.lastChild!=null&&this.domNode.lastChild!==this.textNode;)this.domNode.parentNode.insertBefore(this.domNode.lastChild,this.domNode);if(this.textNode.data!==g.CONTENTS){var N=this.textNode.data.split(g.CONTENTS).join("");this.next instanceof c.default?(k=this.next.domNode,this.next.insertAt(0,N),this.textNode.data=g.CONTENTS):(this.textNode.data=N,this.parent.insertBefore(u.default.create(this.textNode),this),this.textNode=document.createTextNode(g.CONTENTS),this.domNode.appendChild(this.textNode))}if(this.remove(),T!=null){var O=[T,A].map(function(L){return Math.max(0,Math.min(k.data.length,L-1))}),S=o(O,2);return T=S[0],A=S[1],{startNode:k,startOffset:T,endNode:k,endOffset:A}}}}},{key:"update",value:function(h,E){var k=this;if(h.some(function(A){return A.type==="characterData"&&A.target===k.textNode})){var T=this.restore();T&&(E.range=T)}}},{key:"value",value:function(){return""}}]),g}(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 o=i(0),a=u(o),s=i(4),l=u(s);function u(y){return y&&y.__esModule?y:{default:y}}function d(y,v){if(!(y instanceof v))throw new TypeError("Cannot call a class as a function")}function c(y,v){if(!y)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return v&&(typeof v=="object"||typeof v=="function")?v:y}function f(y,v){if(typeof v!="function"&&v!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof v);y.prototype=Object.create(v&&v.prototype,{constructor:{value:y,enumerable:!1,writable:!0,configurable:!0}}),v&&(Object.setPrototypeOf?Object.setPrototypeOf(y,v):y.__proto__=v)}var p=function(y){f(v,y);function v(){return d(this,v),c(this,(v.__proto__||Object.getPrototypeOf(v)).apply(this,arguments))}return v}(a.default.Container);p.allowedChildren=[l.default,s.BlockEmbed,p],r.default=p},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.ColorStyle=r.ColorClass=r.ColorAttributor=void 0;var o=function(){function _(m,g){for(var b=0;b<g.length;b++){var h=g[b];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(m,h.key,h)}}return function(m,g,b){return g&&_(m.prototype,g),b&&_(m,b),m}}(),a=function _(m,g,b){m===null&&(m=Function.prototype);var h=Object.getOwnPropertyDescriptor(m,g);if(h===void 0){var E=Object.getPrototypeOf(m);return E===null?void 0:_(E,g,b)}else{if("value"in h)return h.value;var k=h.get;return k===void 0?void 0:k.call(b)}},s=i(0),l=u(s);function u(_){return _&&_.__esModule?_:{default:_}}function d(_,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 f(_,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 p=function(_){f(m,_);function m(){return d(this,m),c(this,(m.__proto__||Object.getPrototypeOf(m)).apply(this,arguments))}return o(m,[{key:"value",value:function(b){var h=a(m.prototype.__proto__||Object.getPrototypeOf(m.prototype),"value",this).call(this,b);return h.startsWith("rgb(")?(h=h.replace(/^[^\d]+/,"").replace(/[^\d]+$/,""),"#"+h.split(",").map(function(E){return("00"+parseInt(E).toString(16)).slice(-2)}).join("")):h}}]),m}(l.default.Attributor.Style),y=new l.default.Attributor.Class("color","ql-color",{scope:l.default.Scope.INLINE}),v=new p("color","color",{scope:l.default.Scope.INLINE});r.ColorAttributor=p,r.ColorClass=y,r.ColorStyle=v},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.sanitize=r.default=void 0;var o=function(){function v(_,m){for(var g=0;g<m.length;g++){var b=m[g];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(_,b.key,b)}}return function(_,m,g){return m&&v(_.prototype,m),g&&v(_,g),_}}(),a=function v(_,m,g){_===null&&(_=Function.prototype);var b=Object.getOwnPropertyDescriptor(_,m);if(b===void 0){var h=Object.getPrototypeOf(_);return h===null?void 0:v(h,m,g)}else{if("value"in b)return b.value;var E=b.get;return E===void 0?void 0:E.call(g)}},s=i(6),l=u(s);function u(v){return v&&v.__esModule?v:{default:v}}function d(v,_){if(!(v instanceof _))throw new TypeError("Cannot call a class as a function")}function c(v,_){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return _&&(typeof _=="object"||typeof _=="function")?_:v}function f(v,_){if(typeof _!="function"&&_!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof _);v.prototype=Object.create(_&&_.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),_&&(Object.setPrototypeOf?Object.setPrototypeOf(v,_):v.__proto__=_)}var p=function(v){f(_,v);function _(){return d(this,_),c(this,(_.__proto__||Object.getPrototypeOf(_)).apply(this,arguments))}return o(_,[{key:"format",value:function(g,b){if(g!==this.statics.blotName||!b)return a(_.prototype.__proto__||Object.getPrototypeOf(_.prototype),"format",this).call(this,g,b);b=this.constructor.sanitize(b),this.domNode.setAttribute("href",b)}}],[{key:"create",value:function(g){var b=a(_.__proto__||Object.getPrototypeOf(_),"create",this).call(this,g);return g=this.sanitize(g),b.setAttribute("href",g),b.setAttribute("rel","noopener noreferrer"),b.setAttribute("target","_blank"),b}},{key:"formats",value:function(g){return g.getAttribute("href")}},{key:"sanitize",value:function(g){return y(g,this.PROTOCOL_WHITELIST)?g:this.SANITIZED_URL}}]),_}(l.default);p.blotName="link",p.tagName="A",p.SANITIZED_URL="about:blank",p.PROTOCOL_WHITELIST=["http","https","mailto","tel"];function y(v,_){var m=document.createElement("a");m.href=v;var g=m.href.slice(0,m.href.indexOf(":"));return _.indexOf(g)>-1}r.default=p,r.sanitize=y},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(_){return typeof _}:function(_){return _&&typeof Symbol=="function"&&_.constructor===Symbol&&_!==Symbol.prototype?"symbol":typeof _},a=function(){function _(m,g){for(var b=0;b<g.length;b++){var h=g[b];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(m,h.key,h)}}return function(m,g,b){return g&&_(m.prototype,g),b&&_(m,b),m}}(),s=i(23),l=c(s),u=i(107),d=c(u);function c(_){return _&&_.__esModule?_:{default:_}}function f(_,m){if(!(_ instanceof m))throw new TypeError("Cannot call a class as a function")}var p=0;function y(_,m){_.setAttribute(m,_.getAttribute(m)!=="true")}var v=function(){function _(m){var g=this;f(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(){g.togglePicker()}),this.label.addEventListener("keydown",function(b){switch(b.keyCode){case l.default.keys.ENTER:g.togglePicker();break;case l.default.keys.ESCAPE:g.escape(),b.preventDefault();break}}),this.select.addEventListener("change",this.update.bind(this))}return a(_,[{key:"togglePicker",value:function(){this.container.classList.toggle("ql-expanded"),y(this.label,"aria-expanded"),y(this.options,"aria-hidden")}},{key:"buildItem",value:function(g){var b=this,h=document.createElement("span");return h.tabIndex="0",h.setAttribute("role","button"),h.classList.add("ql-picker-item"),g.hasAttribute("value")&&h.setAttribute("data-value",g.getAttribute("value")),g.textContent&&h.setAttribute("data-label",g.textContent),h.addEventListener("click",function(){b.selectItem(h,!0)}),h.addEventListener("keydown",function(E){switch(E.keyCode){case l.default.keys.ENTER:b.selectItem(h,!0),E.preventDefault();break;case l.default.keys.ESCAPE:b.escape(),E.preventDefault();break}}),h}},{key:"buildLabel",value:function(){var g=document.createElement("span");return g.classList.add("ql-picker-label"),g.innerHTML=d.default,g.tabIndex="0",g.setAttribute("role","button"),g.setAttribute("aria-expanded","false"),this.container.appendChild(g),g}},{key:"buildOptions",value:function(){var g=this,b=document.createElement("span");b.classList.add("ql-picker-options"),b.setAttribute("aria-hidden","true"),b.tabIndex="-1",b.id="ql-picker-options-"+p,p+=1,this.label.setAttribute("aria-controls",b.id),this.options=b,[].slice.call(this.select.options).forEach(function(h){var E=g.buildItem(h);b.appendChild(E),h.selected===!0&&g.selectItem(E)}),this.container.appendChild(b)}},{key:"buildPicker",value:function(){var g=this;[].slice.call(this.select.attributes).forEach(function(b){g.container.setAttribute(b.name,b.value)}),this.container.classList.add("ql-picker"),this.label=this.buildLabel(),this.buildOptions()}},{key:"escape",value:function(){var g=this;this.close(),setTimeout(function(){return g.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(g){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,h=this.container.querySelector(".ql-selected");if(g!==h&&(h?.classList.remove("ql-selected"),g!=null&&(g.classList.add("ql-selected"),this.select.selectedIndex=[].indexOf.call(g.parentNode.children,g),g.hasAttribute("data-value")?this.label.setAttribute("data-value",g.getAttribute("data-value")):this.label.removeAttribute("data-value"),g.hasAttribute("data-label")?this.label.setAttribute("data-label",g.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":o(Event))==="object"){var E=document.createEvent("Event");E.initEvent("change",!0,!0),this.select.dispatchEvent(E)}this.close()}}},{key:"update",value:function(){var g=void 0;if(this.select.selectedIndex>-1){var b=this.container.querySelector(".ql-picker-options").children[this.select.selectedIndex];g=this.select.options[this.select.selectedIndex],this.selectItem(b)}else this.selectItem(null);var h=g!=null&&g!==this.select.querySelector("option[selected]");this.label.classList.toggle("ql-active",h)}}]),_}();r.default=v},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var o=i(0),a=D(o),s=i(5),l=D(s),u=i(4),d=D(u),c=i(16),f=D(c),p=i(25),y=D(p),v=i(24),_=D(v),m=i(35),g=D(m),b=i(6),h=D(b),E=i(22),k=D(E),T=i(7),A=D(T),C=i(55),N=D(C),O=i(42),S=D(O),L=i(23),R=D(L);function D(B){return B&&B.__esModule?B:{default:B}}l.default.register({"blots/block":d.default,"blots/block/embed":u.BlockEmbed,"blots/break":f.default,"blots/container":y.default,"blots/cursor":_.default,"blots/embed":g.default,"blots/inline":h.default,"blots/scroll":k.default,"blots/text":A.default,"modules/clipboard":N.default,"modules/history":S.default,"modules/keyboard":R.default}),a.default.register(d.default,f.default,_.default,h.default,k.default,A.default),r.default=l.default},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var o=i(1),a=function(){function s(l){this.domNode=l,this.domNode[o.DATA_KEY]={blot:this}}return Object.defineProperty(s.prototype,"statics",{get:function(){return this.constructor},enumerable:!0,configurable:!0}),s.create=function(l){if(this.tagName==null)throw new o.ParchmentError("Blot definition missing tagName");var u;return Array.isArray(this.tagName)?(typeof l=="string"&&(l=l.toUpperCase(),parseInt(l).toString()===l&&(l=parseInt(l))),typeof l=="number"?u=document.createElement(this.tagName[l-1]):this.tagName.indexOf(l)>-1?u=document.createElement(l):u=document.createElement(this.tagName[0])):u=document.createElement(this.tagName),this.className&&u.classList.add(this.className),u},s.prototype.attach=function(){this.parent!=null&&(this.scroll=this.parent.scroll)},s.prototype.clone=function(){var l=this.domNode.cloneNode(!1);return o.create(l)},s.prototype.detach=function(){this.parent!=null&&this.parent.removeChild(this),delete this.domNode[o.DATA_KEY]},s.prototype.deleteAt=function(l,u){var d=this.isolate(l,u);d.remove()},s.prototype.formatAt=function(l,u,d,c){var f=this.isolate(l,u);if(o.query(d,o.Scope.BLOT)!=null&&c)f.wrap(d,c);else if(o.query(d,o.Scope.ATTRIBUTE)!=null){var p=o.create(this.statics.scope);f.wrap(p),p.format(d,c)}},s.prototype.insertAt=function(l,u,d){var c=d==null?o.create("text",u):o.create(u,d),f=this.split(l);this.parent.insertBefore(c,f)},s.prototype.insertInto=function(l,u){u===void 0&&(u=null),this.parent!=null&&this.parent.children.remove(this);var d=null;l.children.insertBefore(this,u),u!=null&&(d=u.domNode),(this.domNode.parentNode!=l.domNode||this.domNode.nextSibling!=d)&&l.domNode.insertBefore(this.domNode,d),this.parent=l,this.attach()},s.prototype.isolate=function(l,u){var d=this.split(l);return d.split(u),d},s.prototype.length=function(){return 1},s.prototype.offset=function(l){return l===void 0&&(l=this.parent),this.parent==null||this==l?0:this.parent.children.offset(this)+this.parent.offset(l)},s.prototype.optimize=function(l){this.domNode[o.DATA_KEY]!=null&&delete this.domNode[o.DATA_KEY].mutations},s.prototype.remove=function(){this.domNode.parentNode!=null&&this.domNode.parentNode.removeChild(this.domNode),this.detach()},s.prototype.replace=function(l){l.parent!=null&&(l.parent.insertBefore(this,l.next),l.remove())},s.prototype.replaceWith=function(l,u){var d=typeof l=="string"?o.create(l,u):l;return d.replace(this),d},s.prototype.split=function(l,u){return l===0?this:this.next},s.prototype.update=function(l,u){},s.prototype.wrap=function(l,u){var d=typeof l=="string"?o.create(l,u):l;return this.parent!=null&&this.parent.insertBefore(d,this.next),d.appendChild(this),d},s.blotName="abstract",s}();r.default=a},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var o=i(12),a=i(32),s=i(33),l=i(1),u=function(){function d(c){this.attributes={},this.domNode=c,this.build()}return d.prototype.attribute=function(c,f){f?c.add(this.domNode,f)&&(c.value(this.domNode)!=null?this.attributes[c.attrName]=c:delete this.attributes[c.attrName]):(c.remove(this.domNode),delete this.attributes[c.attrName])},d.prototype.build=function(){var c=this;this.attributes={};var f=o.default.keys(this.domNode),p=a.default.keys(this.domNode),y=s.default.keys(this.domNode);f.concat(p).concat(y).forEach(function(v){var _=l.query(v,l.Scope.ATTRIBUTE);_ instanceof o.default&&(c.attributes[_.attrName]=_)})},d.prototype.copy=function(c){var f=this;Object.keys(this.attributes).forEach(function(p){var y=f.attributes[p].value(f.domNode);c.format(p,y)})},d.prototype.move=function(c){var f=this;this.copy(c),Object.keys(this.attributes).forEach(function(p){f.attributes[p].remove(f.domNode)}),this.attributes={}},d.prototype.values=function(){var c=this;return Object.keys(this.attributes).reduce(function(f,p){return f[p]=c.attributes[p].value(c.domNode),f},{})},d}();r.default=u},function(n,r,i){var o=this&&this.__extends||function(){var u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,c){d.__proto__=c}||function(d,c){for(var f in c)c.hasOwnProperty(f)&&(d[f]=c[f])};return function(d,c){u(d,c);function f(){this.constructor=d}d.prototype=c===null?Object.create(c):(f.prototype=c.prototype,new f)}}();Object.defineProperty(r,"__esModule",{value:!0});var a=i(12);function s(u,d){var c=u.getAttribute("class")||"";return c.split(/\s+/).filter(function(f){return f.indexOf(d+"-")===0})}var l=function(u){o(d,u);function d(){return u!==null&&u.apply(this,arguments)||this}return d.keys=function(c){return(c.getAttribute("class")||"").split(/\s+/).map(function(f){return f.split("-").slice(0,-1).join("-")})},d.prototype.add=function(c,f){return this.canAdd(c,f)?(this.remove(c),c.classList.add(this.keyName+"-"+f),!0):!1},d.prototype.remove=function(c){var f=s(c,this.keyName);f.forEach(function(p){c.classList.remove(p)}),c.classList.length===0&&c.removeAttribute("class")},d.prototype.value=function(c){var f=s(c,this.keyName)[0]||"",p=f.slice(this.keyName.length+1);return this.canAdd(c,p)?p:""},d}(a.default);r.default=l},function(n,r,i){var o=this&&this.__extends||function(){var u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,c){d.__proto__=c}||function(d,c){for(var f in c)c.hasOwnProperty(f)&&(d[f]=c[f])};return function(d,c){u(d,c);function f(){this.constructor=d}d.prototype=c===null?Object.create(c):(f.prototype=c.prototype,new f)}}();Object.defineProperty(r,"__esModule",{value:!0});var a=i(12);function s(u){var d=u.split("-"),c=d.slice(1).map(function(f){return f[0].toUpperCase()+f.slice(1)}).join("");return d[0]+c}var l=function(u){o(d,u);function d(){return u!==null&&u.apply(this,arguments)||this}return d.keys=function(c){return(c.getAttribute("style")||"").split(";").map(function(f){var p=f.split(":");return p[0].trim()})},d.prototype.add=function(c,f){return this.canAdd(c,f)?(c.style[s(this.keyName)]=f,!0):!1},d.prototype.remove=function(c){c.style[s(this.keyName)]="",c.getAttribute("style")||c.removeAttribute("style")},d.prototype.value=function(c){var f=c.style[s(this.keyName)];return this.canAdd(c,f)?f:""},d}(a.default);r.default=l},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var o=function(){function l(u,d){for(var c=0;c<d.length;c++){var f=d[c];f.enumerable=f.enumerable||!1,f.configurable=!0,"value"in f&&(f.writable=!0),Object.defineProperty(u,f.key,f)}}return function(u,d,c){return d&&l(u.prototype,d),c&&l(u,c),u}}();function a(l,u){if(!(l instanceof u))throw new TypeError("Cannot call a class as a function")}var s=function(){function l(u,d){a(this,l),this.quill=u,this.options=d,this.modules={}}return o(l,[{key:"init",value:function(){var d=this;Object.keys(this.options.modules).forEach(function(c){d.modules[c]==null&&d.addModule(c)})}},{key:"addModule",value:function(d){var c=this.quill.constructor.import("modules/"+d);return this.modules[d]=new c(this.quill,this.options.modules[d]||{}),this.modules[d]}}]),l}();s.DEFAULTS={modules:{}},s.themes={default:s},r.default=s},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var o=function(){function m(g,b){for(var h=0;h<b.length;h++){var E=b[h];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(g,E.key,E)}}return function(g,b,h){return b&&m(g.prototype,b),h&&m(g,h),g}}(),a=function m(g,b,h){g===null&&(g=Function.prototype);var E=Object.getOwnPropertyDescriptor(g,b);if(E===void 0){var k=Object.getPrototypeOf(g);return k===null?void 0:m(k,b,h)}else{if("value"in E)return E.value;var T=E.get;return T===void 0?void 0:T.call(h)}},s=i(0),l=c(s),u=i(7),d=c(u);function c(m){return m&&m.__esModule?m:{default:m}}function f(m,g){if(!(m instanceof g))throw new TypeError("Cannot call a class as a function")}function p(m,g){if(!m)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:m}function y(m,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);m.prototype=Object.create(g&&g.prototype,{constructor:{value:m,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(m,g):m.__proto__=g)}var v="\uFEFF",_=function(m){y(g,m);function g(b){f(this,g);var h=p(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,b));return h.contentNode=document.createElement("span"),h.contentNode.setAttribute("contenteditable",!1),[].slice.call(h.domNode.childNodes).forEach(function(E){h.contentNode.appendChild(E)}),h.leftGuard=document.createTextNode(v),h.rightGuard=document.createTextNode(v),h.domNode.appendChild(h.leftGuard),h.domNode.appendChild(h.contentNode),h.domNode.appendChild(h.rightGuard),h}return o(g,[{key:"index",value:function(h,E){return h===this.leftGuard?0:h===this.rightGuard?1:a(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"index",this).call(this,h,E)}},{key:"restore",value:function(h){var E=void 0,k=void 0,T=h.data.split(v).join("");if(h===this.leftGuard)if(this.prev instanceof d.default){var A=this.prev.length();this.prev.insertAt(A,T),E={startNode:this.prev.domNode,startOffset:A+T.length}}else k=document.createTextNode(T),this.parent.insertBefore(l.default.create(k),this),E={startNode:k,startOffset:T.length};else h===this.rightGuard&&(this.next instanceof d.default?(this.next.insertAt(0,T),E={startNode:this.next.domNode,startOffset:T.length}):(k=document.createTextNode(T),this.parent.insertBefore(l.default.create(k),this.next),E={startNode:k,startOffset:T.length}));return h.data=v,E}},{key:"update",value:function(h,E){var k=this;h.forEach(function(T){if(T.type==="characterData"&&(T.target===k.leftGuard||T.target===k.rightGuard)){var A=k.restore(T.target);A&&(E.range=A)}})}}]),g}(l.default.Embed);r.default=_},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.AlignStyle=r.AlignClass=r.AlignAttribute=void 0;var o=i(0),a=s(o);function s(f){return f&&f.__esModule?f:{default:f}}var l={scope:a.default.Scope.BLOCK,whitelist:["right","center","justify"]},u=new a.default.Attributor.Attribute("align","align",l),d=new a.default.Attributor.Class("align","ql-align",l),c=new a.default.Attributor.Style("align","text-align",l);r.AlignAttribute=u,r.AlignClass=d,r.AlignStyle=c},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.BackgroundStyle=r.BackgroundClass=void 0;var o=i(0),a=l(o),s=i(26);function l(c){return c&&c.__esModule?c:{default:c}}var u=new a.default.Attributor.Class("background","ql-bg",{scope:a.default.Scope.INLINE}),d=new s.ColorAttributor("background","background-color",{scope:a.default.Scope.INLINE});r.BackgroundClass=u,r.BackgroundStyle=d},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.DirectionStyle=r.DirectionClass=r.DirectionAttribute=void 0;var o=i(0),a=s(o);function s(f){return f&&f.__esModule?f:{default:f}}var l={scope:a.default.Scope.BLOCK,whitelist:["rtl"]},u=new a.default.Attributor.Attribute("direction","dir",l),d=new a.default.Attributor.Class("direction","ql-direction",l),c=new a.default.Attributor.Style("direction","direction",l);r.DirectionAttribute=u,r.DirectionClass=d,r.DirectionStyle=c},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.FontClass=r.FontStyle=void 0;var o=function(){function m(g,b){for(var h=0;h<b.length;h++){var E=b[h];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(g,E.key,E)}}return function(g,b,h){return b&&m(g.prototype,b),h&&m(g,h),g}}(),a=function m(g,b,h){g===null&&(g=Function.prototype);var E=Object.getOwnPropertyDescriptor(g,b);if(E===void 0){var k=Object.getPrototypeOf(g);return k===null?void 0:m(k,b,h)}else{if("value"in E)return E.value;var T=E.get;return T===void 0?void 0:T.call(h)}},s=i(0),l=u(s);function u(m){return m&&m.__esModule?m:{default:m}}function d(m,g){if(!(m instanceof g))throw new TypeError("Cannot call a class as a function")}function c(m,g){if(!m)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:m}function f(m,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);m.prototype=Object.create(g&&g.prototype,{constructor:{value:m,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(m,g):m.__proto__=g)}var p={scope:l.default.Scope.INLINE,whitelist:["serif","monospace"]},y=new l.default.Attributor.Class("font","ql-font",p),v=function(m){f(g,m);function g(){return d(this,g),c(this,(g.__proto__||Object.getPrototypeOf(g)).apply(this,arguments))}return o(g,[{key:"value",value:function(h){return a(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"value",this).call(this,h).replace(/["']/g,"")}}]),g}(l.default.Attributor.Style),_=new v("font","font-family",p);r.FontStyle=_,r.FontClass=y},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.SizeStyle=r.SizeClass=void 0;var o=i(0),a=s(o);function s(d){return d&&d.__esModule?d:{default:d}}var l=new a.default.Attributor.Class("size","ql-size",{scope:a.default.Scope.INLINE,whitelist:["small","large","huge"]}),u=new a.default.Attributor.Style("size","font-size",{scope:a.default.Scope.INLINE,whitelist:["10px","18px","32px"]});r.SizeClass=l,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 o=function(){function b(h,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(h,T.key,T)}}return function(h,E,k){return E&&b(h.prototype,E),k&&b(h,k),h}}(),a=i(0),s=f(a),l=i(5),u=f(l),d=i(9),c=f(d);function f(b){return b&&b.__esModule?b:{default:b}}function p(b,h){if(!(b instanceof h))throw new TypeError("Cannot call a class as a function")}function y(b,h){if(!b)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:b}function v(b,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);b.prototype=Object.create(h&&h.prototype,{constructor:{value:b,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(b,h):b.__proto__=h)}var _=function(b){v(h,b);function h(E,k){p(this,h);var T=y(this,(h.__proto__||Object.getPrototypeOf(h)).call(this,E,k));return T.lastRecorded=0,T.ignoreChange=!1,T.clear(),T.quill.on(u.default.events.EDITOR_CHANGE,function(A,C,N,O){A!==u.default.events.TEXT_CHANGE||T.ignoreChange||(!T.options.userOnly||O===u.default.sources.USER?T.record(C,N):T.transform(C))}),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 o(h,[{key:"change",value:function(k,T){if(this.stack[k].length!==0){var A=this.stack[k].pop();this.stack[T].push(A),this.lastRecorded=0,this.ignoreChange=!0,this.quill.updateContents(A[k],u.default.sources.USER),this.ignoreChange=!1;var C=g(A[k]);this.quill.setSelection(C)}}},{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 A=this.quill.getContents().diff(T),C=Date.now();if(this.lastRecorded+this.options.delay>C&&this.stack.undo.length>0){var N=this.stack.undo.pop();A=A.compose(N.undo),k=N.redo.compose(k)}else this.lastRecorded=C;this.stack.undo.push({redo:k,undo:A}),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")}}]),h}(c.default);_.DEFAULTS={delay:1e3,maxStack:100,userOnly:!1};function m(b){var h=b.ops[b.ops.length-1];return h==null?!1:h.insert!=null?typeof h.insert=="string"&&h.insert.endsWith(`
|
|
832
|
-
`):h.attributes!=null?Object.keys(h.attributes).some(function(E){return s.default.query(E,s.default.Scope.BLOCK)!=null}):!1}function g(b){var h=b.reduce(function(k,T){return k+=T.delete||0,k},0),E=b.length()-h;return m(b)&&(E-=1),E}r.default=_,r.getLastChangeIndex=g},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.BaseTooltip=void 0;var o=function(){function F(z,ee){for(var J=0;J<ee.length;J++){var H=ee[J];H.enumerable=H.enumerable||!1,H.configurable=!0,"value"in H&&(H.writable=!0),Object.defineProperty(z,H.key,H)}}return function(z,ee,J){return ee&&F(z.prototype,ee),J&&F(z,J),z}}(),a=function F(z,ee,J){z===null&&(z=Function.prototype);var H=Object.getOwnPropertyDescriptor(z,ee);if(H===void 0){var X=Object.getPrototypeOf(z);return X===null?void 0:F(X,ee,J)}else{if("value"in H)return H.value;var ie=H.get;return ie===void 0?void 0:ie.call(J)}},s=i(3),l=C(s),u=i(2),d=C(u),c=i(8),f=C(c),p=i(23),y=C(p),v=i(34),_=C(v),m=i(59),g=C(m),b=i(60),h=C(b),E=i(28),k=C(E),T=i(61),A=C(T);function C(F){return F&&F.__esModule?F:{default:F}}function N(F,z){if(!(F instanceof z))throw new TypeError("Cannot call a class as a function")}function O(F,z){if(!F)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return z&&(typeof z=="object"||typeof z=="function")?z:F}function S(F,z){if(typeof z!="function"&&z!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof z);F.prototype=Object.create(z&&z.prototype,{constructor:{value:F,enumerable:!1,writable:!0,configurable:!0}}),z&&(Object.setPrototypeOf?Object.setPrototypeOf(F,z):F.__proto__=z)}var L=[!1,"center","right","justify"],R=["#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"],B=["1","2","3",!1],K=["small",!1,"large","huge"],re=function(F){S(z,F);function z(ee,J){N(this,z);var H=O(this,(z.__proto__||Object.getPrototypeOf(z)).call(this,ee,J)),X=function ie(oe){if(!document.body.contains(ee.root))return document.body.removeEventListener("click",ie);H.tooltip!=null&&!H.tooltip.root.contains(oe.target)&&document.activeElement!==H.tooltip.textbox&&!H.quill.hasFocus()&&H.tooltip.hide(),H.pickers!=null&&H.pickers.forEach(function(ue){ue.container.contains(oe.target)||ue.close()})};return ee.emitter.listenDOM("click",document.body,X),H}return o(z,[{key:"addModule",value:function(J){var H=a(z.prototype.__proto__||Object.getPrototypeOf(z.prototype),"addModule",this).call(this,J);return J==="toolbar"&&this.extendToolbar(H),H}},{key:"buildButtons",value:function(J,H){J.forEach(function(X){var ie=X.getAttribute("class")||"";ie.split(/\s+/).forEach(function(oe){if(oe.startsWith("ql-")&&(oe=oe.slice(3),H[oe]!=null))if(oe==="direction")X.innerHTML=H[oe][""]+H[oe].rtl;else if(typeof H[oe]=="string")X.innerHTML=H[oe];else{var ue=X.value||"";ue!=null&&H[oe][ue]&&(X.innerHTML=H[oe][ue])}})})}},{key:"buildPickers",value:function(J,H){var X=this;this.pickers=J.map(function(oe){if(oe.classList.contains("ql-align"))return oe.querySelector("option")==null&&I(oe,L),new h.default(oe,H.align);if(oe.classList.contains("ql-background")||oe.classList.contains("ql-color")){var ue=oe.classList.contains("ql-background")?"background":"color";return oe.querySelector("option")==null&&I(oe,R,ue==="background"?"#ffffff":"#000000"),new g.default(oe,H[ue])}else return oe.querySelector("option")==null&&(oe.classList.contains("ql-font")?I(oe,D):oe.classList.contains("ql-header")?I(oe,B):oe.classList.contains("ql-size")&&I(oe,K)),new k.default(oe)});var ie=function(){X.pickers.forEach(function(ue){ue.update()})};this.quill.on(f.default.events.EDITOR_CHANGE,ie)}}]),z}(_.default);re.DEFAULTS=(0,l.default)(!0,{},_.default.DEFAULTS,{modules:{toolbar:{handlers:{formula:function(){this.quill.theme.tooltip.edit("formula")},image:function(){var z=this,ee=this.container.querySelector("input.ql-image[type=file]");ee==null&&(ee=document.createElement("input"),ee.setAttribute("type","file"),ee.setAttribute("accept","image/png, image/gif, image/jpeg, image/bmp, image/x-icon"),ee.classList.add("ql-image"),ee.addEventListener("change",function(){if(ee.files!=null&&ee.files[0]!=null){var J=new FileReader;J.onload=function(H){var X=z.quill.getSelection(!0);z.quill.updateContents(new d.default().retain(X.index).delete(X.length).insert({image:H.target.result}),f.default.sources.USER),z.quill.setSelection(X.index+1,f.default.sources.SILENT),ee.value=""},J.readAsDataURL(ee.files[0])}}),this.container.appendChild(ee)),ee.click()},video:function(){this.quill.theme.tooltip.edit("video")}}}}});var Y=function(F){S(z,F);function z(ee,J){N(this,z);var H=O(this,(z.__proto__||Object.getPrototypeOf(z)).call(this,ee,J));return H.textbox=H.root.querySelector('input[type="text"]'),H.listen(),H}return o(z,[{key:"listen",value:function(){var J=this;this.textbox.addEventListener("keydown",function(H){y.default.match(H,"enter")?(J.save(),H.preventDefault()):y.default.match(H,"escape")&&(J.cancel(),H.preventDefault())})}},{key:"cancel",value:function(){this.hide()}},{key:"edit",value:function(){var J=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"link",H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;this.root.classList.remove("ql-hidden"),this.root.classList.add("ql-editing"),H!=null?this.textbox.value=H:J!==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-"+J)||""),this.root.setAttribute("data-mode",J)}},{key:"restoreFocus",value:function(){var J=this.quill.scrollingContainer.scrollTop;this.quill.focus(),this.quill.scrollingContainer.scrollTop=J}},{key:"save",value:function(){var J=this.textbox.value;switch(this.root.getAttribute("data-mode")){case"link":{var H=this.quill.root.scrollTop;this.linkRange?(this.quill.formatText(this.linkRange,"link",J,f.default.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",J,f.default.sources.USER)),this.quill.root.scrollTop=H;break}case"video":J=j(J);case"formula":{if(!J)break;var X=this.quill.getSelection(!0);if(X!=null){var ie=X.index+X.length;this.quill.insertEmbed(ie,this.root.getAttribute("data-mode"),J,f.default.sources.USER),this.root.getAttribute("data-mode")==="formula"&&this.quill.insertText(ie+1," ",f.default.sources.USER),this.quill.setSelection(ie+2,f.default.sources.USER)}break}}this.textbox.value="",this.hide()}}]),z}(A.default);function j(F){var z=F.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||F.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);return z?(z[1]||"https")+"://www.youtube.com/embed/"+z[2]+"?showinfo=0":(z=F.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/))?(z[1]||"https")+"://player.vimeo.com/video/"+z[2]+"/":F}function I(F,z){var ee=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;z.forEach(function(J){var H=document.createElement("option");J===ee?H.setAttribute("selected","selected"):H.setAttribute("value",J),F.appendChild(H)})}r.BaseTooltip=Y,r.default=re},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var o=function(){function a(){this.head=this.tail=null,this.length=0}return a.prototype.append=function(){for(var s=[],l=0;l<arguments.length;l++)s[l]=arguments[l];this.insertBefore(s[0],null),s.length>1&&this.append.apply(this,s.slice(1))},a.prototype.contains=function(s){for(var l,u=this.iterator();l=u();)if(l===s)return!0;return!1},a.prototype.insertBefore=function(s,l){s&&(s.next=l,l!=null?(s.prev=l.prev,l.prev!=null&&(l.prev.next=s),l.prev=s,l===this.head&&(this.head=s)):this.tail!=null?(this.tail.next=s,s.prev=this.tail,this.tail=s):(s.prev=null,this.head=this.tail=s),this.length+=1)},a.prototype.offset=function(s){for(var l=0,u=this.head;u!=null;){if(u===s)return l;l+=u.length(),u=u.next}return-1},a.prototype.remove=function(s){this.contains(s)&&(s.prev!=null&&(s.prev.next=s.next),s.next!=null&&(s.next.prev=s.prev),s===this.head&&(this.head=s.next),s===this.tail&&(this.tail=s.prev),this.length-=1)},a.prototype.iterator=function(s){return s===void 0&&(s=this.head),function(){var l=s;return s!=null&&(s=s.next),l}},a.prototype.find=function(s,l){l===void 0&&(l=!1);for(var u,d=this.iterator();u=d();){var c=u.length();if(s<c||l&&s===c&&(u.next==null||u.next.length()!==0))return[u,s];s-=c}return[null,0]},a.prototype.forEach=function(s){for(var l,u=this.iterator();l=u();)s(l)},a.prototype.forEachAt=function(s,l,u){if(!(l<=0))for(var d=this.find(s),c=d[0],f=d[1],p,y=s-f,v=this.iterator(c);(p=v())&&y<s+l;){var _=p.length();s>y?u(p,s-y,Math.min(l,y+_-s)):u(p,0,Math.min(_,s+l-y)),y+=_}},a.prototype.map=function(s){return this.reduce(function(l,u){return l.push(s(u)),l},[])},a.prototype.reduce=function(s,l){for(var u,d=this.iterator();u=d();)l=s(l,u);return l},a}();r.default=o},function(n,r,i){var o=this&&this.__extends||function(){var c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,p){f.__proto__=p}||function(f,p){for(var y in p)p.hasOwnProperty(y)&&(f[y]=p[y])};return function(f,p){c(f,p);function y(){this.constructor=f}f.prototype=p===null?Object.create(p):(y.prototype=p.prototype,new y)}}();Object.defineProperty(r,"__esModule",{value:!0});var a=i(17),s=i(1),l={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},u=100,d=function(c){o(f,c);function f(p){var y=c.call(this,p)||this;return y.scroll=y,y.observer=new MutationObserver(function(v){y.update(v)}),y.observer.observe(y.domNode,l),y.attach(),y}return f.prototype.detach=function(){c.prototype.detach.call(this),this.observer.disconnect()},f.prototype.deleteAt=function(p,y){this.update(),p===0&&y===this.length()?this.children.forEach(function(v){v.remove()}):c.prototype.deleteAt.call(this,p,y)},f.prototype.formatAt=function(p,y,v,_){this.update(),c.prototype.formatAt.call(this,p,y,v,_)},f.prototype.insertAt=function(p,y,v){this.update(),c.prototype.insertAt.call(this,p,y,v)},f.prototype.optimize=function(p,y){var v=this;p===void 0&&(p=[]),y===void 0&&(y={}),c.prototype.optimize.call(this,y);for(var _=[].slice.call(this.observer.takeRecords());_.length>0;)p.push(_.pop());for(var m=function(E,k){k===void 0&&(k=!0),!(E==null||E===v)&&E.domNode.parentNode!=null&&(E.domNode[s.DATA_KEY].mutations==null&&(E.domNode[s.DATA_KEY].mutations=[]),k&&m(E.parent))},g=function(E){E.domNode[s.DATA_KEY]==null||E.domNode[s.DATA_KEY].mutations==null||(E instanceof a.default&&E.children.forEach(g),E.optimize(y))},b=p,h=0;b.length>0;h+=1){if(h>=u)throw new Error("[Parchment] Maximum optimize iterations reached");for(b.forEach(function(E){var k=s.find(E.target,!0);k!=null&&(k.domNode===E.target&&(E.type==="childList"?(m(s.find(E.previousSibling,!1)),[].forEach.call(E.addedNodes,function(T){var A=s.find(T,!1);m(A,!1),A instanceof a.default&&A.children.forEach(function(C){m(C,!1)})})):E.type==="attributes"&&m(k.prev)),m(k))}),this.children.forEach(g),b=[].slice.call(this.observer.takeRecords()),_=b.slice();_.length>0;)p.push(_.pop())}},f.prototype.update=function(p,y){var v=this;y===void 0&&(y={}),p=p||this.observer.takeRecords(),p.map(function(_){var m=s.find(_.target,!0);return m==null?null:m.domNode[s.DATA_KEY].mutations==null?(m.domNode[s.DATA_KEY].mutations=[_],m):(m.domNode[s.DATA_KEY].mutations.push(_),null)}).forEach(function(_){_==null||_===v||_.domNode[s.DATA_KEY]==null||_.update(_.domNode[s.DATA_KEY].mutations||[],y)}),this.domNode[s.DATA_KEY].mutations!=null&&c.prototype.update.call(this,this.domNode[s.DATA_KEY].mutations,y),this.optimize(p,y)},f.blotName="scroll",f.defaultChild="block",f.scope=s.Scope.BLOCK_BLOT,f.tagName="DIV",f}(a.default);r.default=d},function(n,r,i){var o=this&&this.__extends||function(){var d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var p in f)f.hasOwnProperty(p)&&(c[p]=f[p])};return function(c,f){d(c,f);function p(){this.constructor=c}c.prototype=f===null?Object.create(f):(p.prototype=f.prototype,new p)}}();Object.defineProperty(r,"__esModule",{value:!0});var a=i(18),s=i(1);function l(d,c){if(Object.keys(d).length!==Object.keys(c).length)return!1;for(var f in d)if(d[f]!==c[f])return!1;return!0}var u=function(d){o(c,d);function c(){return d!==null&&d.apply(this,arguments)||this}return c.formats=function(f){if(f.tagName!==c.tagName)return d.formats.call(this,f)},c.prototype.format=function(f,p){var y=this;f===this.statics.blotName&&!p?(this.children.forEach(function(v){v instanceof a.default||(v=v.wrap(c.blotName,!0)),y.attributes.copy(v)}),this.unwrap()):d.prototype.format.call(this,f,p)},c.prototype.formatAt=function(f,p,y,v){if(this.formats()[y]!=null||s.query(y,s.Scope.ATTRIBUTE)){var _=this.isolate(f,p);_.format(y,v)}else d.prototype.formatAt.call(this,f,p,y,v)},c.prototype.optimize=function(f){d.prototype.optimize.call(this,f);var p=this.formats();if(Object.keys(p).length===0)return this.unwrap();var y=this.next;y instanceof c&&y.prev===this&&l(p,y.formats())&&(y.moveChildren(this),y.remove())},c.blotName="inline",c.scope=s.Scope.INLINE_BLOT,c.tagName="SPAN",c}(a.default);r.default=u},function(n,r,i){var o=this&&this.__extends||function(){var u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,c){d.__proto__=c}||function(d,c){for(var f in c)c.hasOwnProperty(f)&&(d[f]=c[f])};return function(d,c){u(d,c);function f(){this.constructor=d}d.prototype=c===null?Object.create(c):(f.prototype=c.prototype,new f)}}();Object.defineProperty(r,"__esModule",{value:!0});var a=i(18),s=i(1),l=function(u){o(d,u);function d(){return u!==null&&u.apply(this,arguments)||this}return d.formats=function(c){var f=s.query(d.blotName).tagName;if(c.tagName!==f)return u.formats.call(this,c)},d.prototype.format=function(c,f){s.query(c,s.Scope.BLOCK)!=null&&(c===this.statics.blotName&&!f?this.replaceWith(d.blotName):u.prototype.format.call(this,c,f))},d.prototype.formatAt=function(c,f,p,y){s.query(p,s.Scope.BLOCK)!=null?this.format(p,y):u.prototype.formatAt.call(this,c,f,p,y)},d.prototype.insertAt=function(c,f,p){if(p==null||s.query(f,s.Scope.INLINE)!=null)u.prototype.insertAt.call(this,c,f,p);else{var y=this.split(c),v=s.create(f,p);y.parent.insertBefore(v,y)}},d.prototype.update=function(c,f){navigator.userAgent.match(/Trident/)?this.build():u.prototype.update.call(this,c,f)},d.blotName="block",d.scope=s.Scope.BLOCK_BLOT,d.tagName="P",d}(a.default);r.default=l},function(n,r,i){var o=this&&this.__extends||function(){var l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,d){u.__proto__=d}||function(u,d){for(var c in d)d.hasOwnProperty(c)&&(u[c]=d[c])};return function(u,d){l(u,d);function c(){this.constructor=u}u.prototype=d===null?Object.create(d):(c.prototype=d.prototype,new c)}}();Object.defineProperty(r,"__esModule",{value:!0});var a=i(19),s=function(l){o(u,l);function u(){return l!==null&&l.apply(this,arguments)||this}return u.formats=function(d){},u.prototype.format=function(d,c){l.prototype.formatAt.call(this,0,this.length(),d,c)},u.prototype.formatAt=function(d,c,f,p){d===0&&c===this.length()?this.format(f,p):l.prototype.formatAt.call(this,d,c,f,p)},u.prototype.formats=function(){return this.statics.formats(this.domNode)},u}(a.default);r.default=s},function(n,r,i){var o=this&&this.__extends||function(){var u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,c){d.__proto__=c}||function(d,c){for(var f in c)c.hasOwnProperty(f)&&(d[f]=c[f])};return function(d,c){u(d,c);function f(){this.constructor=d}d.prototype=c===null?Object.create(c):(f.prototype=c.prototype,new f)}}();Object.defineProperty(r,"__esModule",{value:!0});var a=i(19),s=i(1),l=function(u){o(d,u);function d(c){var f=u.call(this,c)||this;return f.text=f.statics.value(f.domNode),f}return d.create=function(c){return document.createTextNode(c)},d.value=function(c){var f=c.data;return f.normalize&&(f=f.normalize()),f},d.prototype.deleteAt=function(c,f){this.domNode.data=this.text=this.text.slice(0,c)+this.text.slice(c+f)},d.prototype.index=function(c,f){return this.domNode===c?f:-1},d.prototype.insertAt=function(c,f,p){p==null?(this.text=this.text.slice(0,c)+f+this.text.slice(c),this.domNode.data=this.text):u.prototype.insertAt.call(this,c,f,p)},d.prototype.length=function(){return this.text.length},d.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 d&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())},d.prototype.position=function(c,f){return[this.domNode,c]},d.prototype.split=function(c,f){if(f===void 0&&(f=!1),!f){if(c===0)return this;if(c===this.length())return this.next}var p=s.create(this.domNode.splitText(c));return this.parent.insertBefore(p,this.next),this.text=this.statics.value(this.domNode),p},d.prototype.update=function(c,f){var p=this;c.some(function(y){return y.type==="characterData"&&y.target===p.domNode})&&(this.text=this.statics.value(this.domNode))},d.prototype.value=function(){return this.text},d.blotName="text",d.scope=s.Scope.INLINE_BLOT,d}(a.default);r.default=l},function(n,r,i){var o=document.createElement("div");if(o.classList.toggle("test-class",!1),o.classList.contains("test-class")){var a=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(s,l){return arguments.length>1&&!this.contains(s)==!l?l:a.call(this,s)}}String.prototype.startsWith||(String.prototype.startsWith=function(s,l){return l=l||0,this.substr(l,s.length)===s}),String.prototype.endsWith||(String.prototype.endsWith=function(s,l){var u=this.toString();(typeof l!="number"||!isFinite(l)||Math.floor(l)!==l||l>u.length)&&(l=u.length),l-=s.length;var d=u.indexOf(s,l);return d!==-1&&d===l}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(l){if(this===null)throw new TypeError("Array.prototype.find called on null or undefined");if(typeof l!="function")throw new TypeError("predicate must be a function");for(var u=Object(this),d=u.length>>>0,c=arguments[1],f,p=0;p<d;p++)if(f=u[p],l.call(c,f,p,u))return f}}),document.addEventListener("DOMContentLoaded",function(){document.execCommand("enableObjectResizing",!1,!1),document.execCommand("autoUrlDetect",!1,!1)})},function(n,r){var i=-1,o=1,a=0;function s(h,E,k){if(h==E)return h?[[a,h]]:[];(k<0||h.length<k)&&(k=null);var T=c(h,E),A=h.substring(0,T);h=h.substring(T),E=E.substring(T),T=f(h,E);var C=h.substring(h.length-T);h=h.substring(0,h.length-T),E=E.substring(0,E.length-T);var N=l(h,E);return A&&N.unshift([a,A]),C&&N.push([a,C]),y(N),k!=null&&(N=m(N,k)),N=g(N),N}function l(h,E){var k;if(!h)return[[o,E]];if(!E)return[[i,h]];var T=h.length>E.length?h:E,A=h.length>E.length?E:h,C=T.indexOf(A);if(C!=-1)return k=[[o,T.substring(0,C)],[a,A],[o,T.substring(C+A.length)]],h.length>E.length&&(k[0][0]=k[2][0]=i),k;if(A.length==1)return[[i,h],[o,E]];var N=p(h,E);if(N){var O=N[0],S=N[1],L=N[2],R=N[3],D=N[4],B=s(O,L),K=s(S,R);return B.concat([[a,D]],K)}return u(h,E)}function u(h,E){for(var k=h.length,T=E.length,A=Math.ceil((k+T)/2),C=A,N=2*A,O=new Array(N),S=new Array(N),L=0;L<N;L++)O[L]=-1,S[L]=-1;O[C+1]=0,S[C+1]=0;for(var R=k-T,D=R%2!=0,B=0,K=0,re=0,Y=0,j=0;j<A;j++){for(var I=-j+B;I<=j-K;I+=2){var F=C+I,z;I==-j||I!=j&&O[F-1]<O[F+1]?z=O[F+1]:z=O[F-1]+1;for(var ee=z-I;z<k&&ee<T&&h.charAt(z)==E.charAt(ee);)z++,ee++;if(O[F]=z,z>k)K+=2;else if(ee>T)B+=2;else if(D){var J=C+R-I;if(J>=0&&J<N&&S[J]!=-1){var H=k-S[J];if(z>=H)return d(h,E,z,ee)}}}for(var X=-j+re;X<=j-Y;X+=2){var J=C+X,H;X==-j||X!=j&&S[J-1]<S[J+1]?H=S[J+1]:H=S[J-1]+1;for(var ie=H-X;H<k&&ie<T&&h.charAt(k-H-1)==E.charAt(T-ie-1);)H++,ie++;if(S[J]=H,H>k)Y+=2;else if(ie>T)re+=2;else if(!D){var F=C+R-X;if(F>=0&&F<N&&O[F]!=-1){var z=O[F],ee=C+z-F;if(H=k-H,z>=H)return d(h,E,z,ee)}}}}return[[i,h],[o,E]]}function d(h,E,k,T){var A=h.substring(0,k),C=E.substring(0,T),N=h.substring(k),O=E.substring(T),S=s(A,C),L=s(N,O);return S.concat(L)}function c(h,E){if(!h||!E||h.charAt(0)!=E.charAt(0))return 0;for(var k=0,T=Math.min(h.length,E.length),A=T,C=0;k<A;)h.substring(C,A)==E.substring(C,A)?(k=A,C=k):T=A,A=Math.floor((T-k)/2+k);return A}function f(h,E){if(!h||!E||h.charAt(h.length-1)!=E.charAt(E.length-1))return 0;for(var k=0,T=Math.min(h.length,E.length),A=T,C=0;k<A;)h.substring(h.length-A,h.length-C)==E.substring(E.length-A,E.length-C)?(k=A,C=k):T=A,A=Math.floor((T-k)/2+k);return A}function p(h,E){var k=h.length>E.length?h:E,T=h.length>E.length?E:h;if(k.length<4||T.length*2<k.length)return null;function A(K,re,Y){for(var j=K.substring(Y,Y+Math.floor(K.length/4)),I=-1,F="",z,ee,J,H;(I=re.indexOf(j,I+1))!=-1;){var X=c(K.substring(Y),re.substring(I)),ie=f(K.substring(0,Y),re.substring(0,I));F.length<ie+X&&(F=re.substring(I-ie,I)+re.substring(I,I+X),z=K.substring(0,Y-ie),ee=K.substring(Y+X),J=re.substring(0,I-ie),H=re.substring(I+X))}return F.length*2>=K.length?[z,ee,J,H,F]:null}var C=A(k,T,Math.ceil(k.length/4)),N=A(k,T,Math.ceil(k.length/2)),O;if(!C&&!N)return null;N?C?O=C[4].length>N[4].length?C:N:O=N:O=C;var S,L,R,D;h.length>E.length?(S=O[0],L=O[1],R=O[2],D=O[3]):(R=O[0],D=O[1],S=O[2],L=O[3]);var B=O[4];return[S,L,R,D,B]}function y(h){h.push([a,""]);for(var E=0,k=0,T=0,A="",C="",N;E<h.length;)switch(h[E][0]){case o:T++,C+=h[E][1],E++;break;case i:k++,A+=h[E][1],E++;break;case a:k+T>1?(k!==0&&T!==0&&(N=c(C,A),N!==0&&(E-k-T>0&&h[E-k-T-1][0]==a?h[E-k-T-1][1]+=C.substring(0,N):(h.splice(0,0,[a,C.substring(0,N)]),E++),C=C.substring(N),A=A.substring(N)),N=f(C,A),N!==0&&(h[E][1]=C.substring(C.length-N)+h[E][1],C=C.substring(0,C.length-N),A=A.substring(0,A.length-N))),k===0?h.splice(E-T,k+T,[o,C]):T===0?h.splice(E-k,k+T,[i,A]):h.splice(E-k-T,k+T,[i,A],[o,C]),E=E-k-T+(k?1:0)+(T?1:0)+1):E!==0&&h[E-1][0]==a?(h[E-1][1]+=h[E][1],h.splice(E,1)):E++,T=0,k=0,A="",C="";break}h[h.length-1][1]===""&&h.pop();var O=!1;for(E=1;E<h.length-1;)h[E-1][0]==a&&h[E+1][0]==a&&(h[E][1].substring(h[E][1].length-h[E-1][1].length)==h[E-1][1]?(h[E][1]=h[E-1][1]+h[E][1].substring(0,h[E][1].length-h[E-1][1].length),h[E+1][1]=h[E-1][1]+h[E+1][1],h.splice(E-1,1),O=!0):h[E][1].substring(0,h[E+1][1].length)==h[E+1][1]&&(h[E-1][1]+=h[E+1][1],h[E][1]=h[E][1].substring(h[E+1][1].length)+h[E+1][1],h.splice(E+1,1),O=!0)),E++;O&&y(h)}var v=s;v.INSERT=o,v.DELETE=i,v.EQUAL=a,n.exports=v;function _(h,E){if(E===0)return[a,h];for(var k=0,T=0;T<h.length;T++){var A=h[T];if(A[0]===i||A[0]===a){var C=k+A[1].length;if(E===C)return[T+1,h];if(E<C){h=h.slice();var N=E-k,O=[A[0],A[1].slice(0,N)],S=[A[0],A[1].slice(N)];return h.splice(T,1,O,S),[T+1,h]}else k=C}}throw new Error("cursor_pos is out of bounds!")}function m(h,E){var k=_(h,E),T=k[1],A=k[0],C=T[A],N=T[A+1];if(C==null)return h;if(C[0]!==a)return h;if(N!=null&&C[1]+N[1]===N[1]+C[1])return T.splice(A,2,N,C),b(T,A,2);if(N!=null&&N[1].indexOf(C[1])===0){T.splice(A,2,[N[0],C[1]],[0,C[1]]);var O=N[1].slice(C[1].length);return O.length>0&&T.splice(A+2,0,[N[0],O]),b(T,A,3)}else return h}function g(h){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},A=2;A<h.length;A+=1)h[A-2][0]===a&&T(h[A-2][1])&&h[A-1][0]===i&&k(h[A-1][1])&&h[A][0]===o&&k(h[A][1])&&(E=!0,h[A-1][1]=h[A-2][1].slice(-1)+h[A-1][1],h[A][1]=h[A-2][1].slice(-1)+h[A][1],h[A-2][1]=h[A-2][1].slice(0,-1));if(!E)return h;for(var C=[],A=0;A<h.length;A+=1)h[A][1].length>0&&C.push(h[A]);return C}function b(h,E,k){for(var T=E+k-1;T>=0&&T>=E-1;T--)if(T+1<h.length){var A=h[T],C=h[T+1];A[0]===C[1]&&h.splice(T,2,[A[0],A[1]+C[1]])}return h}},function(n,r){r=n.exports=typeof Object.keys=="function"?Object.keys:i,r.shim=i;function i(o){var a=[];for(var s in o)a.push(s);return a}},function(n,r){var i=function(){return Object.prototype.toString.call(arguments)}()=="[object Arguments]";r=n.exports=i?o:a,r.supported=o;function o(s){return Object.prototype.toString.call(s)=="[object Arguments]"}r.unsupported=a;function a(s){return s&&typeof s=="object"&&typeof s.length=="number"&&Object.prototype.hasOwnProperty.call(s,"callee")&&!Object.prototype.propertyIsEnumerable.call(s,"callee")||!1}},function(n,r){var i=Object.prototype.hasOwnProperty,o="~";function a(){}Object.create&&(a.prototype=Object.create(null),new a().__proto__||(o=!1));function s(u,d,c){this.fn=u,this.context=d,this.once=c||!1}function l(){this._events=new a,this._eventsCount=0}l.prototype.eventNames=function(){var d=[],c,f;if(this._eventsCount===0)return d;for(f in c=this._events)i.call(c,f)&&d.push(o?f.slice(1):f);return Object.getOwnPropertySymbols?d.concat(Object.getOwnPropertySymbols(c)):d},l.prototype.listeners=function(d,c){var f=o?o+d:d,p=this._events[f];if(c)return!!p;if(!p)return[];if(p.fn)return[p.fn];for(var y=0,v=p.length,_=new Array(v);y<v;y++)_[y]=p[y].fn;return _},l.prototype.emit=function(d,c,f,p,y,v){var _=o?o+d:d;if(!this._events[_])return!1;var m=this._events[_],g=arguments.length,b,h;if(m.fn){switch(m.once&&this.removeListener(d,m.fn,void 0,!0),g){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,f),!0;case 4:return m.fn.call(m.context,c,f,p),!0;case 5:return m.fn.call(m.context,c,f,p,y),!0;case 6:return m.fn.call(m.context,c,f,p,y,v),!0}for(h=1,b=new Array(g-1);h<g;h++)b[h-1]=arguments[h];m.fn.apply(m.context,b)}else{var E=m.length,k;for(h=0;h<E;h++)switch(m[h].once&&this.removeListener(d,m[h].fn,void 0,!0),g){case 1:m[h].fn.call(m[h].context);break;case 2:m[h].fn.call(m[h].context,c);break;case 3:m[h].fn.call(m[h].context,c,f);break;case 4:m[h].fn.call(m[h].context,c,f,p);break;default:if(!b)for(k=1,b=new Array(g-1);k<g;k++)b[k-1]=arguments[k];m[h].fn.apply(m[h].context,b)}}return!0},l.prototype.on=function(d,c,f){var p=new s(c,f||this),y=o?o+d:d;return this._events[y]?this._events[y].fn?this._events[y]=[this._events[y],p]:this._events[y].push(p):(this._events[y]=p,this._eventsCount++),this},l.prototype.once=function(d,c,f){var p=new s(c,f||this,!0),y=o?o+d:d;return this._events[y]?this._events[y].fn?this._events[y]=[this._events[y],p]:this._events[y].push(p):(this._events[y]=p,this._eventsCount++),this},l.prototype.removeListener=function(d,c,f,p){var y=o?o+d:d;if(!this._events[y])return this;if(!c)return--this._eventsCount===0?this._events=new a:delete this._events[y],this;var v=this._events[y];if(v.fn)v.fn===c&&(!p||v.once)&&(!f||v.context===f)&&(--this._eventsCount===0?this._events=new a:delete this._events[y]);else{for(var _=0,m=[],g=v.length;_<g;_++)(v[_].fn!==c||p&&!v[_].once||f&&v[_].context!==f)&&m.push(v[_]);m.length?this._events[y]=m.length===1?m[0]:m:--this._eventsCount===0?this._events=new a:delete this._events[y]}return this},l.prototype.removeAllListeners=function(d){var c;return d?(c=o?o+d:d,this._events[c]&&(--this._eventsCount===0?this._events=new a:delete this._events[c])):(this._events=new a,this._eventsCount=0),this},l.prototype.off=l.prototype.removeListener,l.prototype.addListener=l.prototype.on,l.prototype.setMaxListeners=function(){return this},l.prefixed=o,l.EventEmitter=l,typeof n<"u"&&(n.exports=l)},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 o=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},a=function(){function U(q,Q){var ne=[],ae=!0,ce=!1,W=void 0;try{for(var te=q[Symbol.iterator](),pe;!(ae=(pe=te.next()).done)&&(ne.push(pe.value),!(Q&&ne.length===Q));ae=!0);}catch(ve){ce=!0,W=ve}finally{try{!ae&&te.return&&te.return()}finally{if(ce)throw W}}return ne}return function(q,Q){if(Array.isArray(q))return q;if(Symbol.iterator in Object(q))return U(q,Q);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),s=function(){function U(q,Q){for(var ne=0;ne<Q.length;ne++){var ae=Q[ne];ae.enumerable=ae.enumerable||!1,ae.configurable=!0,"value"in ae&&(ae.writable=!0),Object.defineProperty(q,ae.key,ae)}}return function(q,Q,ne){return Q&&U(q.prototype,Q),ne&&U(q,ne),q}}(),l=i(3),u=S(l),d=i(2),c=S(d),f=i(0),p=S(f),y=i(5),v=S(y),_=i(10),m=S(_),g=i(9),b=S(g),h=i(36),E=i(37),k=i(13),T=S(k),A=i(26),C=i(38),N=i(39),O=i(40);function S(U){return U&&U.__esModule?U:{default:U}}function L(U,q,Q){return q in U?Object.defineProperty(U,q,{value:Q,enumerable:!0,configurable:!0,writable:!0}):U[q]=Q,U}function R(U,q){if(!(U instanceof q))throw new TypeError("Cannot call a class as a function")}function D(U,q){if(!U)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return q&&(typeof q=="object"||typeof q=="function")?q:U}function B(U,q){if(typeof q!="function"&&q!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof q);U.prototype=Object.create(q&&q.prototype,{constructor:{value:U,enumerable:!1,writable:!0,configurable:!0}}),q&&(Object.setPrototypeOf?Object.setPrototypeOf(U,q):U.__proto__=q)}var K=(0,m.default)("quill:clipboard"),re="__ql-matcher",Y=[[Node.TEXT_NODE,se],[Node.TEXT_NODE,x],["br",he],[Node.ELEMENT_NODE,x],[Node.ELEMENT_NODE,ue],[Node.ELEMENT_NODE,$],[Node.ELEMENT_NODE,oe],[Node.ELEMENT_NODE,Z],["li",P],["b",ie.bind(ie,"bold")],["i",ie.bind(ie,"italic")],["style",V]],j=[h.AlignAttribute,C.DirectionAttribute].reduce(function(U,q){return U[q.keyName]=q,U},{}),I=[h.AlignStyle,E.BackgroundStyle,A.ColorStyle,C.DirectionStyle,N.FontStyle,O.SizeStyle].reduce(function(U,q){return U[q.keyName]=q,U},{}),F=function(U){B(q,U);function q(Q,ne){R(this,q);var ae=D(this,(q.__proto__||Object.getPrototypeOf(q)).call(this,Q,ne));return ae.quill.root.addEventListener("paste",ae.onPaste.bind(ae)),ae.container=ae.quill.addContainer("ql-clipboard"),ae.container.setAttribute("contenteditable",!0),ae.container.setAttribute("tabindex",-1),ae.matchers=[],Y.concat(ae.options.matchers).forEach(function(ce){var W=a(ce,2),te=W[0],pe=W[1];!ne.matchVisual&&pe===$||ae.addMatcher(te,pe)}),ae}return s(q,[{key:"addMatcher",value:function(ne,ae){this.matchers.push([ne,ae])}},{key:"convert",value:function(ne){if(typeof ne=="string")return this.container.innerHTML=ne.replace(/\>\r?\n +\</g,"><"),this.convert();var ae=this.quill.getFormat(this.quill.selection.savedRange.index);if(ae[T.default.blotName]){var ce=this.container.innerText;return this.container.innerHTML="",new c.default().insert(ce,L({},T.default.blotName,ae[T.default.blotName]))}var W=this.prepareMatching(),te=a(W,2),pe=te[0],ve=te[1],ge=X(this.container,pe,ve);return J(ge,`
|
|
833
|
-
`)&&ge.ops[ge.ops.length-1].attributes==null&&(ge=ge.compose(new c.default().retain(ge.length()-1).delete(1))),
|
|
834
|
-
`)||
|
|
835
|
-
`),
|
|
836
|
-
`))return
|
|
837
|
-
`)||(H(U)||
|
|
838
|
-
`),
|
|
839
|
-
|
|
840
|
-
`)){var
|
|
841
|
-
`)}return q}function Z(U,q){var Q={},ne=U.style||{};return ne.fontStyle&&ee(U).fontStyle==="italic"&&(Q.italic=!0),ne.fontWeight&&(ee(U).fontWeight.startsWith("bold")||parseInt(ee(U).fontWeight)>=700)&&(Q.bold=!0),Object.keys(Q).length>0&&(q=z(q,Q)),parseFloat(ne.textIndent||0)>0&&(q=new c.default().insert(" ").concat(q)),q}function se(U,q){var Q=U.data;if(U.parentNode.tagName==="O:P")return q.insert(Q.trim());if(Q.trim().length===0&&U.parentNode.classList.contains("ql-clipboard"))return q;if(!ee(U.parentNode).whiteSpace.startsWith("pre")){var ne=function(ce,W){return W=W.replace(/[^\u00a0]/g,""),W.length<1&&ce?" ":W};Q=Q.replace(/\r\n/g," ").replace(/\n/g," "),Q=Q.replace(/\s\s+/g,ne.bind(ne,!0)),(U.previousSibling==null&&H(U.parentNode)||U.previousSibling!=null&&H(U.previousSibling))&&(Q=Q.replace(/^\s+/,ne.bind(ne,!1))),(U.nextSibling==null&&H(U.parentNode)||U.nextSibling!=null&&H(U.nextSibling))&&(Q=Q.replace(/\s+$/,ne.bind(ne,!1)))}return q.insert(Q)}r.default=F,r.matchAttributor=oe,r.matchBlot=ue,r.matchNewline=x,r.matchSpacing=$,r.matchText=se},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var o=function(){function y(v,_){for(var m=0;m<_.length;m++){var g=_[m];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(v,g.key,g)}}return function(v,_,m){return _&&y(v.prototype,_),m&&y(v,m),v}}(),a=function y(v,_,m){v===null&&(v=Function.prototype);var g=Object.getOwnPropertyDescriptor(v,_);if(g===void 0){var b=Object.getPrototypeOf(v);return b===null?void 0:y(b,_,m)}else{if("value"in g)return g.value;var h=g.get;return h===void 0?void 0:h.call(m)}},s=i(6),l=u(s);function u(y){return y&&y.__esModule?y:{default:y}}function d(y,v){if(!(y instanceof v))throw new TypeError("Cannot call a class as a function")}function c(y,v){if(!y)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return v&&(typeof v=="object"||typeof v=="function")?v:y}function f(y,v){if(typeof v!="function"&&v!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof v);y.prototype=Object.create(v&&v.prototype,{constructor:{value:y,enumerable:!1,writable:!0,configurable:!0}}),v&&(Object.setPrototypeOf?Object.setPrototypeOf(y,v):y.__proto__=v)}var p=function(y){f(v,y);function v(){return d(this,v),c(this,(v.__proto__||Object.getPrototypeOf(v)).apply(this,arguments))}return o(v,[{key:"optimize",value:function(m){a(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"optimize",this).call(this,m),this.domNode.tagName!==this.statics.tagName[0]&&this.replaceWith(this.statics.blotName)}}],[{key:"create",value:function(){return a(v.__proto__||Object.getPrototypeOf(v),"create",this).call(this)}},{key:"formats",value:function(){return!0}}]),v}(l.default);p.blotName="bold",p.tagName=["STRONG","B"],r.default=p},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.addControls=r.default=void 0;var o=function(){function O(S,L){var R=[],D=!0,B=!1,K=void 0;try{for(var re=S[Symbol.iterator](),Y;!(D=(Y=re.next()).done)&&(R.push(Y.value),!(L&&R.length===L));D=!0);}catch(j){B=!0,K=j}finally{try{!D&&re.return&&re.return()}finally{if(B)throw K}}return R}return function(S,L){if(Array.isArray(S))return S;if(Symbol.iterator in Object(S))return O(S,L);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a=function(){function O(S,L){for(var R=0;R<L.length;R++){var D=L[R];D.enumerable=D.enumerable||!1,D.configurable=!0,"value"in D&&(D.writable=!0),Object.defineProperty(S,D.key,D)}}return function(S,L,R){return L&&O(S.prototype,L),R&&O(S,R),S}}(),s=i(2),l=m(s),u=i(0),d=m(u),c=i(5),f=m(c),p=i(10),y=m(p),v=i(9),_=m(v);function m(O){return O&&O.__esModule?O:{default:O}}function g(O,S,L){return S in O?Object.defineProperty(O,S,{value:L,enumerable:!0,configurable:!0,writable:!0}):O[S]=L,O}function b(O,S){if(!(O instanceof S))throw new TypeError("Cannot call a class as a function")}function h(O,S){if(!O)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return S&&(typeof S=="object"||typeof S=="function")?S:O}function E(O,S){if(typeof S!="function"&&S!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof S);O.prototype=Object.create(S&&S.prototype,{constructor:{value:O,enumerable:!1,writable:!0,configurable:!0}}),S&&(Object.setPrototypeOf?Object.setPrototypeOf(O,S):O.__proto__=S)}var k=(0,y.default)("quill:toolbar"),T=function(O){E(S,O);function S(L,R){b(this,S);var D=h(this,(S.__proto__||Object.getPrototypeOf(S)).call(this,L,R));if(Array.isArray(D.options.container)){var B=document.createElement("div");C(B,D.options.container),L.container.parentNode.insertBefore(B,L.container),D.container=B}else typeof D.options.container=="string"?D.container=document.querySelector(D.options.container):D.container=D.options.container;if(!(D.container instanceof HTMLElement)){var K;return K=k.error("Container required for toolbar",D.options),h(D,K)}return D.container.classList.add("ql-toolbar"),D.controls=[],D.handlers={},Object.keys(D.options.handlers).forEach(function(re){D.addHandler(re,D.options.handlers[re])}),[].forEach.call(D.container.querySelectorAll("button, select"),function(re){D.attach(re)}),D.quill.on(f.default.events.EDITOR_CHANGE,function(re,Y){re===f.default.events.SELECTION_CHANGE&&D.update(Y)}),D.quill.on(f.default.events.SCROLL_OPTIMIZE,function(){var re=D.quill.selection.getRange(),Y=o(re,1),j=Y[0];D.update(j)}),D}return a(S,[{key:"addHandler",value:function(R,D){this.handlers[R]=D}},{key:"attach",value:function(R){var D=this,B=[].find.call(R.classList,function(re){return re.indexOf("ql-")===0});if(B){if(B=B.slice(3),R.tagName==="BUTTON"&&R.setAttribute("type","button"),this.handlers[B]==null){if(this.quill.scroll.whitelist!=null&&this.quill.scroll.whitelist[B]==null){k.warn("ignoring attaching to disabled format",B,R);return}if(d.default.query(B)==null){k.warn("ignoring attaching to nonexistent format",B,R);return}}var K=R.tagName==="SELECT"?"change":"click";R.addEventListener(K,function(re){var Y=void 0;if(R.tagName==="SELECT"){if(R.selectedIndex<0)return;var j=R.options[R.selectedIndex];j.hasAttribute("selected")?Y=!1:Y=j.value||!1}else R.classList.contains("ql-active")?Y=!1:Y=R.value||!R.hasAttribute("value"),re.preventDefault();D.quill.focus();var I=D.quill.selection.getRange(),F=o(I,1),z=F[0];if(D.handlers[B]!=null)D.handlers[B].call(D,Y);else if(d.default.query(B).prototype instanceof d.default.Embed){if(Y=prompt("Enter "+B),!Y)return;D.quill.updateContents(new l.default().retain(z.index).delete(z.length).insert(g({},B,Y)),f.default.sources.USER)}else D.quill.format(B,Y,f.default.sources.USER);D.update(z)}),this.controls.push([B,R])}}},{key:"update",value:function(R){var D=R==null?{}:this.quill.getFormat(R);this.controls.forEach(function(B){var K=o(B,2),re=K[0],Y=K[1];if(Y.tagName==="SELECT"){var j=void 0;if(R==null)j=null;else if(D[re]==null)j=Y.querySelector("option[selected]");else if(!Array.isArray(D[re])){var I=D[re];typeof I=="string"&&(I=I.replace(/\"/g,'\\"')),j=Y.querySelector('option[value="'+I+'"]')}j==null?(Y.value="",Y.selectedIndex=-1):j.selected=!0}else if(R==null)Y.classList.remove("ql-active");else if(Y.hasAttribute("value")){var F=D[re]===Y.getAttribute("value")||D[re]!=null&&D[re].toString()===Y.getAttribute("value")||D[re]==null&&!Y.getAttribute("value");Y.classList.toggle("ql-active",F)}else Y.classList.toggle("ql-active",D[re]!=null)})}}]),S}(_.default);T.DEFAULTS={};function A(O,S,L){var R=document.createElement("button");R.setAttribute("type","button"),R.classList.add("ql-"+S),L!=null&&(R.value=L),O.appendChild(R)}function C(O,S){Array.isArray(S[0])||(S=[S]),S.forEach(function(L){var R=document.createElement("span");R.classList.add("ql-formats"),L.forEach(function(D){if(typeof D=="string")A(R,D);else{var B=Object.keys(D)[0],K=D[B];Array.isArray(K)?N(R,B,K):A(R,B,K)}}),O.appendChild(R)})}function N(O,S,L){var R=document.createElement("select");R.classList.add("ql-"+S),L.forEach(function(D){var B=document.createElement("option");D!==!1?B.setAttribute("value",D):B.setAttribute("selected","selected"),R.appendChild(B)}),O.appendChild(R)}T.DEFAULTS={container:null,handlers:{clean:function(){var S=this,L=this.quill.getSelection();if(L!=null)if(L.length==0){var R=this.quill.getFormat();Object.keys(R).forEach(function(D){d.default.query(D,d.default.Scope.INLINE)!=null&&S.quill.format(D,!1)})}else this.quill.removeFormat(L,f.default.sources.USER)},direction:function(S){var L=this.quill.getFormat().align;S==="rtl"&&L==null?this.quill.format("align","right",f.default.sources.USER):!S&&L==="right"&&this.quill.format("align",!1,f.default.sources.USER),this.quill.format("direction",S,f.default.sources.USER)},indent:function(S){var L=this.quill.getSelection(),R=this.quill.getFormat(L),D=parseInt(R.indent||0);if(S==="+1"||S==="-1"){var B=S==="+1"?1:-1;R.direction==="rtl"&&(B*=-1),this.quill.format("indent",D+B,f.default.sources.USER)}},link:function(S){S===!0&&(S=prompt("Enter link URL:")),this.quill.format("link",S,f.default.sources.USER)},list:function(S){var L=this.quill.getSelection(),R=this.quill.getFormat(L);S==="check"?R.list==="checked"||R.list==="unchecked"?this.quill.format("list",!1,f.default.sources.USER):this.quill.format("list","unchecked",f.default.sources.USER):this.quill.format("list",S,f.default.sources.USER)}}},r.default=T,r.addControls=C},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 o=function(){function y(v,_){for(var m=0;m<_.length;m++){var g=_[m];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(v,g.key,g)}}return function(v,_,m){return _&&y(v.prototype,_),m&&y(v,m),v}}(),a=function y(v,_,m){v===null&&(v=Function.prototype);var g=Object.getOwnPropertyDescriptor(v,_);if(g===void 0){var b=Object.getPrototypeOf(v);return b===null?void 0:y(b,_,m)}else{if("value"in g)return g.value;var h=g.get;return h===void 0?void 0:h.call(m)}},s=i(28),l=u(s);function u(y){return y&&y.__esModule?y:{default:y}}function d(y,v){if(!(y instanceof v))throw new TypeError("Cannot call a class as a function")}function c(y,v){if(!y)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return v&&(typeof v=="object"||typeof v=="function")?v:y}function f(y,v){if(typeof v!="function"&&v!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof v);y.prototype=Object.create(v&&v.prototype,{constructor:{value:y,enumerable:!1,writable:!0,configurable:!0}}),v&&(Object.setPrototypeOf?Object.setPrototypeOf(y,v):y.__proto__=v)}var p=function(y){f(v,y);function v(_,m){d(this,v);var g=c(this,(v.__proto__||Object.getPrototypeOf(v)).call(this,_));return g.label.innerHTML=m,g.container.classList.add("ql-color-picker"),[].slice.call(g.container.querySelectorAll(".ql-picker-item"),0,7).forEach(function(b){b.classList.add("ql-primary")}),g}return o(v,[{key:"buildItem",value:function(m){var g=a(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"buildItem",this).call(this,m);return g.style.backgroundColor=m.getAttribute("value")||"",g}},{key:"selectItem",value:function(m,g){a(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"selectItem",this).call(this,m,g);var b=this.label.querySelector(".ql-color-label"),h=m&&m.getAttribute("data-value")||"";b&&(b.tagName==="line"?b.style.stroke=h:b.style.fill=h)}}]),v}(l.default);r.default=p},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var o=function(){function y(v,_){for(var m=0;m<_.length;m++){var g=_[m];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(v,g.key,g)}}return function(v,_,m){return _&&y(v.prototype,_),m&&y(v,m),v}}(),a=function y(v,_,m){v===null&&(v=Function.prototype);var g=Object.getOwnPropertyDescriptor(v,_);if(g===void 0){var b=Object.getPrototypeOf(v);return b===null?void 0:y(b,_,m)}else{if("value"in g)return g.value;var h=g.get;return h===void 0?void 0:h.call(m)}},s=i(28),l=u(s);function u(y){return y&&y.__esModule?y:{default:y}}function d(y,v){if(!(y instanceof v))throw new TypeError("Cannot call a class as a function")}function c(y,v){if(!y)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return v&&(typeof v=="object"||typeof v=="function")?v:y}function f(y,v){if(typeof v!="function"&&v!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof v);y.prototype=Object.create(v&&v.prototype,{constructor:{value:y,enumerable:!1,writable:!0,configurable:!0}}),v&&(Object.setPrototypeOf?Object.setPrototypeOf(y,v):y.__proto__=v)}var p=function(y){f(v,y);function v(_,m){d(this,v);var g=c(this,(v.__proto__||Object.getPrototypeOf(v)).call(this,_));return g.container.classList.add("ql-icon-picker"),[].forEach.call(g.container.querySelectorAll(".ql-picker-item"),function(b){b.innerHTML=m[b.getAttribute("data-value")||""]}),g.defaultItem=g.container.querySelector(".ql-selected"),g.selectItem(g.defaultItem),g}return o(v,[{key:"selectItem",value:function(m,g){a(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"selectItem",this).call(this,m,g),m=m||this.defaultItem,this.label.innerHTML=m.innerHTML}}]),v}(l.default);r.default=p},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var o=function(){function l(u,d){for(var c=0;c<d.length;c++){var f=d[c];f.enumerable=f.enumerable||!1,f.configurable=!0,"value"in f&&(f.writable=!0),Object.defineProperty(u,f.key,f)}}return function(u,d,c){return d&&l(u.prototype,d),c&&l(u,c),u}}();function a(l,u){if(!(l instanceof u))throw new TypeError("Cannot call a class as a function")}var s=function(){function l(u,d){var c=this;a(this,l),this.quill=u,this.boundsContainer=d||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 o(l,[{key:"hide",value:function(){this.root.classList.add("ql-hidden")}},{key:"position",value:function(d){var c=d.left+d.width/2-this.root.offsetWidth/2,f=d.bottom+this.quill.root.scrollTop;this.root.style.left=c+"px",this.root.style.top=f+"px",this.root.classList.remove("ql-flip");var p=this.boundsContainer.getBoundingClientRect(),y=this.root.getBoundingClientRect(),v=0;if(y.right>p.right&&(v=p.right-y.right,this.root.style.left=c+v+"px"),y.left<p.left&&(v=p.left-y.left,this.root.style.left=c+v+"px"),y.bottom>p.bottom){var _=y.bottom-y.top,m=d.bottom-d.top+_;this.root.style.top=f-m+"px",this.root.classList.add("ql-flip")}return v}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),l}();r.default=s},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var o=function(){function N(O,S){var L=[],R=!0,D=!1,B=void 0;try{for(var K=O[Symbol.iterator](),re;!(R=(re=K.next()).done)&&(L.push(re.value),!(S&&L.length===S));R=!0);}catch(Y){D=!0,B=Y}finally{try{!R&&K.return&&K.return()}finally{if(D)throw B}}return L}return function(O,S){if(Array.isArray(O))return O;if(Symbol.iterator in Object(O))return N(O,S);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a=function N(O,S,L){O===null&&(O=Function.prototype);var R=Object.getOwnPropertyDescriptor(O,S);if(R===void 0){var D=Object.getPrototypeOf(O);return D===null?void 0:N(D,S,L)}else{if("value"in R)return R.value;var B=R.get;return B===void 0?void 0:B.call(L)}},s=function(){function N(O,S){for(var L=0;L<S.length;L++){var R=S[L];R.enumerable=R.enumerable||!1,R.configurable=!0,"value"in R&&(R.writable=!0),Object.defineProperty(O,R.key,R)}}return function(O,S,L){return S&&N(O.prototype,S),L&&N(O,L),O}}(),l=i(3),u=b(l),d=i(8),c=b(d),f=i(43),p=b(f),y=i(27),v=b(y),_=i(15),m=i(41),g=b(m);function b(N){return N&&N.__esModule?N:{default:N}}function h(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"]],A=function(N){k(O,N);function O(S,L){h(this,O),L.modules.toolbar!=null&&L.modules.toolbar.container==null&&(L.modules.toolbar.container=T);var R=E(this,(O.__proto__||Object.getPrototypeOf(O)).call(this,S,L));return R.quill.container.classList.add("ql-snow"),R}return s(O,[{key:"extendToolbar",value:function(L){L.container.classList.add("ql-snow"),this.buildButtons([].slice.call(L.container.querySelectorAll("button")),g.default),this.buildPickers([].slice.call(L.container.querySelectorAll("select")),g.default),this.tooltip=new C(this.quill,this.options.bounds),L.container.querySelector(".ql-link")&&this.quill.keyboard.addBinding({key:"K",shortKey:!0},function(R,D){L.handlers.link.call(L,!D.format.link)})}}]),O}(p.default);A.DEFAULTS=(0,u.default)(!0,{},p.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(O){if(O){var S=this.quill.getSelection();if(S==null||S.length==0)return;var L=this.quill.getText(S);/^\S+@\S+\.\S+$/.test(L)&&L.indexOf("mailto:")!==0&&(L="mailto:"+L);var R=this.quill.theme.tooltip;R.edit("link",L)}else this.quill.format("link",!1)}}}}});var C=function(N){k(O,N);function O(S,L){h(this,O);var R=E(this,(O.__proto__||Object.getPrototypeOf(O)).call(this,S,L));return R.preview=R.root.querySelector("a.ql-preview"),R}return s(O,[{key:"listen",value:function(){var L=this;a(O.prototype.__proto__||Object.getPrototypeOf(O.prototype),"listen",this).call(this),this.root.querySelector("a.ql-action").addEventListener("click",function(R){L.root.classList.contains("ql-editing")?L.save():L.edit("link",L.preview.textContent),R.preventDefault()}),this.root.querySelector("a.ql-remove").addEventListener("click",function(R){if(L.linkRange!=null){var D=L.linkRange;L.restoreFocus(),L.quill.formatText(D,"link",!1,c.default.sources.USER),delete L.linkRange}R.preventDefault(),L.hide()}),this.quill.on(c.default.events.SELECTION_CHANGE,function(R,D,B){if(R!=null){if(R.length===0&&B===c.default.sources.USER){var K=L.quill.scroll.descendant(v.default,R.index),re=o(K,2),Y=re[0],j=re[1];if(Y!=null){L.linkRange=new _.Range(R.index-j,Y.length());var I=v.default.formats(Y.domNode);L.preview.textContent=I,L.preview.setAttribute("href",I),L.show(),L.position(L.quill.getBounds(L.linkRange));return}}else delete L.linkRange;L.hide()}})}},{key:"show",value:function(){a(O.prototype.__proto__||Object.getPrototypeOf(O.prototype),"show",this).call(this),this.root.removeAttribute("data-mode")}}]),O}(f.BaseTooltip);C.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=A},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var o=i(29),a=ae(o),s=i(36),l=i(38),u=i(64),d=i(65),c=ae(d),f=i(66),p=ae(f),y=i(67),v=ae(y),_=i(37),m=i(26),g=i(39),b=i(40),h=i(56),E=ae(h),k=i(68),T=ae(k),A=i(27),C=ae(A),N=i(69),O=ae(N),S=i(70),L=ae(S),R=i(71),D=ae(R),B=i(72),K=ae(B),re=i(73),Y=ae(re),j=i(13),I=ae(j),F=i(74),z=ae(F),ee=i(75),J=ae(ee),H=i(57),X=ae(H),ie=i(41),oe=ae(ie),ue=i(28),he=ae(ue),V=i(59),P=ae(V),x=i(60),$=ae(x),Z=i(61),se=ae(Z),U=i(108),q=ae(U),Q=i(62),ne=ae(Q);function ae(ce){return ce&&ce.__esModule?ce:{default:ce}}a.default.register({"attributors/attribute/direction":l.DirectionAttribute,"attributors/class/align":s.AlignClass,"attributors/class/background":_.BackgroundClass,"attributors/class/color":m.ColorClass,"attributors/class/direction":l.DirectionClass,"attributors/class/font":g.FontClass,"attributors/class/size":b.SizeClass,"attributors/style/align":s.AlignStyle,"attributors/style/background":_.BackgroundStyle,"attributors/style/color":m.ColorStyle,"attributors/style/direction":l.DirectionStyle,"attributors/style/font":g.FontStyle,"attributors/style/size":b.SizeStyle},!0),a.default.register({"formats/align":s.AlignClass,"formats/direction":l.DirectionClass,"formats/indent":u.IndentClass,"formats/background":_.BackgroundStyle,"formats/color":m.ColorStyle,"formats/font":g.FontClass,"formats/size":b.SizeClass,"formats/blockquote":c.default,"formats/code-block":I.default,"formats/header":p.default,"formats/list":v.default,"formats/bold":E.default,"formats/code":j.Code,"formats/italic":T.default,"formats/link":C.default,"formats/script":O.default,"formats/strike":L.default,"formats/underline":D.default,"formats/image":K.default,"formats/video":Y.default,"formats/list/item":y.ListItem,"modules/formula":z.default,"modules/syntax":J.default,"modules/toolbar":X.default,"themes/bubble":q.default,"themes/snow":ne.default,"ui/icons":oe.default,"ui/picker":he.default,"ui/icon-picker":$.default,"ui/color-picker":P.default,"ui/tooltip":se.default},!0),r.default=a.default},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.IndentClass=void 0;var o=function(){function v(_,m){for(var g=0;g<m.length;g++){var b=m[g];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(_,b.key,b)}}return function(_,m,g){return m&&v(_.prototype,m),g&&v(_,g),_}}(),a=function v(_,m,g){_===null&&(_=Function.prototype);var b=Object.getOwnPropertyDescriptor(_,m);if(b===void 0){var h=Object.getPrototypeOf(_);return h===null?void 0:v(h,m,g)}else{if("value"in b)return b.value;var E=b.get;return E===void 0?void 0:E.call(g)}},s=i(0),l=u(s);function u(v){return v&&v.__esModule?v:{default:v}}function d(v,_){if(!(v instanceof _))throw new TypeError("Cannot call a class as a function")}function c(v,_){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return _&&(typeof _=="object"||typeof _=="function")?_:v}function f(v,_){if(typeof _!="function"&&_!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof _);v.prototype=Object.create(_&&_.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),_&&(Object.setPrototypeOf?Object.setPrototypeOf(v,_):v.__proto__=_)}var p=function(v){f(_,v);function _(){return d(this,_),c(this,(_.__proto__||Object.getPrototypeOf(_)).apply(this,arguments))}return o(_,[{key:"add",value:function(g,b){if(b==="+1"||b==="-1"){var h=this.value(g)||0;b=b==="+1"?h+1:h-1}return b===0?(this.remove(g),!0):a(_.prototype.__proto__||Object.getPrototypeOf(_.prototype),"add",this).call(this,g,b)}},{key:"canAdd",value:function(g,b){return a(_.prototype.__proto__||Object.getPrototypeOf(_.prototype),"canAdd",this).call(this,g,b)||a(_.prototype.__proto__||Object.getPrototypeOf(_.prototype),"canAdd",this).call(this,g,parseInt(b))}},{key:"value",value:function(g){return parseInt(a(_.prototype.__proto__||Object.getPrototypeOf(_.prototype),"value",this).call(this,g))||void 0}}]),_}(l.default.Attributor.Class),y=new p("indent","ql-indent",{scope:l.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 o=i(4),a=s(o);function s(f){return f&&f.__esModule?f:{default:f}}function l(f,p){if(!(f instanceof p))throw new TypeError("Cannot call a class as a function")}function u(f,p){if(!f)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:f}function d(f,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);f.prototype=Object.create(p&&p.prototype,{constructor:{value:f,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(f,p):f.__proto__=p)}var c=function(f){d(p,f);function p(){return l(this,p),u(this,(p.__proto__||Object.getPrototypeOf(p)).apply(this,arguments))}return p}(a.default);c.blotName="blockquote",c.tagName="blockquote",r.default=c},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var o=function(){function p(y,v){for(var _=0;_<v.length;_++){var m=v[_];m.enumerable=m.enumerable||!1,m.configurable=!0,"value"in m&&(m.writable=!0),Object.defineProperty(y,m.key,m)}}return function(y,v,_){return v&&p(y.prototype,v),_&&p(y,_),y}}(),a=i(4),s=l(a);function l(p){return p&&p.__esModule?p:{default:p}}function u(p,y){if(!(p instanceof y))throw new TypeError("Cannot call a class as a function")}function d(p,y){if(!p)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return y&&(typeof y=="object"||typeof y=="function")?y:p}function c(p,y){if(typeof y!="function"&&y!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof y);p.prototype=Object.create(y&&y.prototype,{constructor:{value:p,enumerable:!1,writable:!0,configurable:!0}}),y&&(Object.setPrototypeOf?Object.setPrototypeOf(p,y):p.__proto__=y)}var f=function(p){c(y,p);function y(){return u(this,y),d(this,(y.__proto__||Object.getPrototypeOf(y)).apply(this,arguments))}return o(y,null,[{key:"formats",value:function(_){return this.tagName.indexOf(_.tagName)+1}}]),y}(s.default);f.blotName="header",f.tagName=["H1","H2","H3","H4","H5","H6"],r.default=f},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.ListItem=void 0;var o=function(){function h(E,k){for(var T=0;T<k.length;T++){var A=k[T];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(E,A.key,A)}}return function(E,k,T){return k&&h(E.prototype,k),T&&h(E,T),E}}(),a=function h(E,k,T){E===null&&(E=Function.prototype);var A=Object.getOwnPropertyDescriptor(E,k);if(A===void 0){var C=Object.getPrototypeOf(E);return C===null?void 0:h(C,k,T)}else{if("value"in A)return A.value;var N=A.get;return N===void 0?void 0:N.call(T)}},s=i(0),l=p(s),u=i(4),d=p(u),c=i(25),f=p(c);function p(h){return h&&h.__esModule?h:{default:h}}function y(h,E,k){return E in h?Object.defineProperty(h,E,{value:k,enumerable:!0,configurable:!0,writable:!0}):h[E]=k,h}function v(h,E){if(!(h instanceof E))throw new TypeError("Cannot call a class as a function")}function _(h,E){if(!h)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E&&(typeof E=="object"||typeof E=="function")?E:h}function m(h,E){if(typeof E!="function"&&E!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof E);h.prototype=Object.create(E&&E.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}}),E&&(Object.setPrototypeOf?Object.setPrototypeOf(h,E):h.__proto__=E)}var g=function(h){m(E,h);function E(){return v(this,E),_(this,(E.__proto__||Object.getPrototypeOf(E)).apply(this,arguments))}return o(E,[{key:"format",value:function(T,A){T===b.blotName&&!A?this.replaceWith(l.default.create(this.statics.scope)):a(E.prototype.__proto__||Object.getPrototypeOf(E.prototype),"format",this).call(this,T,A)}},{key:"remove",value:function(){this.prev==null&&this.next==null?this.parent.remove():a(E.prototype.__proto__||Object.getPrototypeOf(E.prototype),"remove",this).call(this)}},{key:"replaceWith",value:function(T,A){return this.parent.isolate(this.offset(this.parent),this.length()),T===this.parent.statics.blotName?(this.parent.replaceWith(T,A),this):(this.parent.unwrap(),a(E.prototype.__proto__||Object.getPrototypeOf(E.prototype),"replaceWith",this).call(this,T,A))}}],[{key:"formats",value:function(T){return T.tagName===this.tagName?void 0:a(E.__proto__||Object.getPrototypeOf(E),"formats",this).call(this,T)}}]),E}(d.default);g.blotName="list-item",g.tagName="LI";var b=function(h){m(E,h),o(E,null,[{key:"create",value:function(T){var A=T==="ordered"?"OL":"UL",C=a(E.__proto__||Object.getPrototypeOf(E),"create",this).call(this,A);return(T==="checked"||T==="unchecked")&&C.setAttribute("data-checked",T==="checked"),C}},{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){v(this,E);var T=_(this,(E.__proto__||Object.getPrototypeOf(E)).call(this,k)),A=function(N){if(N.target.parentNode===k){var O=T.statics.formats(k),S=l.default.find(N.target);O==="checked"?S.format("list","unchecked"):O==="unchecked"&&S.format("list","checked")}};return k.addEventListener("touchstart",A),k.addEventListener("mousedown",A),T}return o(E,[{key:"format",value:function(T,A){this.children.length>0&&this.children.tail.format(T,A)}},{key:"formats",value:function(){return y({},this.statics.blotName,this.statics.formats(this.domNode))}},{key:"insertBefore",value:function(T,A){if(T instanceof g)a(E.prototype.__proto__||Object.getPrototypeOf(E.prototype),"insertBefore",this).call(this,T,A);else{var C=A==null?this.length():A.offset(this),N=this.split(C);N.parent.insertBefore(T,N)}}},{key:"optimize",value:function(T){a(E.prototype.__proto__||Object.getPrototypeOf(E.prototype),"optimize",this).call(this,T);var A=this.next;A!=null&&A.prev===this&&A.statics.blotName===this.statics.blotName&&A.domNode.tagName===this.domNode.tagName&&A.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(A.moveChildren(this),A.remove())}},{key:"replace",value:function(T){if(T.statics.blotName!==this.statics.blotName){var A=l.default.create(this.statics.defaultChild);T.moveChildren(A),this.appendChild(A)}a(E.prototype.__proto__||Object.getPrototypeOf(E.prototype),"replace",this).call(this,T)}}]),E}(f.default);b.blotName="list",b.scope=l.default.Scope.BLOCK_BLOT,b.tagName=["OL","UL"],b.defaultChild="list-item",b.allowedChildren=[g],r.ListItem=g,r.default=b},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var o=i(56),a=s(o);function s(f){return f&&f.__esModule?f:{default:f}}function l(f,p){if(!(f instanceof p))throw new TypeError("Cannot call a class as a function")}function u(f,p){if(!f)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:f}function d(f,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);f.prototype=Object.create(p&&p.prototype,{constructor:{value:f,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(f,p):f.__proto__=p)}var c=function(f){d(p,f);function p(){return l(this,p),u(this,(p.__proto__||Object.getPrototypeOf(p)).apply(this,arguments))}return p}(a.default);c.blotName="italic",c.tagName=["EM","I"],r.default=c},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var o=function(){function y(v,_){for(var m=0;m<_.length;m++){var g=_[m];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(v,g.key,g)}}return function(v,_,m){return _&&y(v.prototype,_),m&&y(v,m),v}}(),a=function y(v,_,m){v===null&&(v=Function.prototype);var g=Object.getOwnPropertyDescriptor(v,_);if(g===void 0){var b=Object.getPrototypeOf(v);return b===null?void 0:y(b,_,m)}else{if("value"in g)return g.value;var h=g.get;return h===void 0?void 0:h.call(m)}},s=i(6),l=u(s);function u(y){return y&&y.__esModule?y:{default:y}}function d(y,v){if(!(y instanceof v))throw new TypeError("Cannot call a class as a function")}function c(y,v){if(!y)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return v&&(typeof v=="object"||typeof v=="function")?v:y}function f(y,v){if(typeof v!="function"&&v!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof v);y.prototype=Object.create(v&&v.prototype,{constructor:{value:y,enumerable:!1,writable:!0,configurable:!0}}),v&&(Object.setPrototypeOf?Object.setPrototypeOf(y,v):y.__proto__=v)}var p=function(y){f(v,y);function v(){return d(this,v),c(this,(v.__proto__||Object.getPrototypeOf(v)).apply(this,arguments))}return o(v,null,[{key:"create",value:function(m){return m==="super"?document.createElement("sup"):m==="sub"?document.createElement("sub"):a(v.__proto__||Object.getPrototypeOf(v),"create",this).call(this,m)}},{key:"formats",value:function(m){if(m.tagName==="SUB")return"sub";if(m.tagName==="SUP")return"super"}}]),v}(l.default);p.blotName="script",p.tagName=["SUB","SUP"],r.default=p},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var o=i(6),a=s(o);function s(f){return f&&f.__esModule?f:{default:f}}function l(f,p){if(!(f instanceof p))throw new TypeError("Cannot call a class as a function")}function u(f,p){if(!f)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:f}function d(f,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);f.prototype=Object.create(p&&p.prototype,{constructor:{value:f,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(f,p):f.__proto__=p)}var c=function(f){d(p,f);function p(){return l(this,p),u(this,(p.__proto__||Object.getPrototypeOf(p)).apply(this,arguments))}return p}(a.default);c.blotName="strike",c.tagName="S",r.default=c},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var o=i(6),a=s(o);function s(f){return f&&f.__esModule?f:{default:f}}function l(f,p){if(!(f instanceof p))throw new TypeError("Cannot call a class as a function")}function u(f,p){if(!f)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:f}function d(f,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);f.prototype=Object.create(p&&p.prototype,{constructor:{value:f,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(f,p):f.__proto__=p)}var c=function(f){d(p,f);function p(){return l(this,p),u(this,(p.__proto__||Object.getPrototypeOf(p)).apply(this,arguments))}return p}(a.default);c.blotName="underline",c.tagName="U",r.default=c},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var o=function(){function _(m,g){for(var b=0;b<g.length;b++){var h=g[b];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(m,h.key,h)}}return function(m,g,b){return g&&_(m.prototype,g),b&&_(m,b),m}}(),a=function _(m,g,b){m===null&&(m=Function.prototype);var h=Object.getOwnPropertyDescriptor(m,g);if(h===void 0){var E=Object.getPrototypeOf(m);return E===null?void 0:_(E,g,b)}else{if("value"in h)return h.value;var k=h.get;return k===void 0?void 0:k.call(b)}},s=i(0),l=d(s),u=i(27);function d(_){return _&&_.__esModule?_:{default:_}}function c(_,m){if(!(_ instanceof m))throw new TypeError("Cannot call a class as a function")}function f(_,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 p(_,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"],v=function(_){p(m,_);function m(){return c(this,m),f(this,(m.__proto__||Object.getPrototypeOf(m)).apply(this,arguments))}return o(m,[{key:"format",value:function(b,h){y.indexOf(b)>-1?h?this.domNode.setAttribute(b,h):this.domNode.removeAttribute(b):a(m.prototype.__proto__||Object.getPrototypeOf(m.prototype),"format",this).call(this,b,h)}}],[{key:"create",value:function(b){var h=a(m.__proto__||Object.getPrototypeOf(m),"create",this).call(this,b);return typeof b=="string"&&h.setAttribute("src",this.sanitize(b)),h}},{key:"formats",value:function(b){return y.reduce(function(h,E){return b.hasAttribute(E)&&(h[E]=b.getAttribute(E)),h},{})}},{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}(l.default.Embed);v.blotName="image",v.tagName="IMG",r.default=v},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var o=function(){function _(m,g){for(var b=0;b<g.length;b++){var h=g[b];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(m,h.key,h)}}return function(m,g,b){return g&&_(m.prototype,g),b&&_(m,b),m}}(),a=function _(m,g,b){m===null&&(m=Function.prototype);var h=Object.getOwnPropertyDescriptor(m,g);if(h===void 0){var E=Object.getPrototypeOf(m);return E===null?void 0:_(E,g,b)}else{if("value"in h)return h.value;var k=h.get;return k===void 0?void 0:k.call(b)}},s=i(4),l=i(27),u=d(l);function d(_){return _&&_.__esModule?_:{default:_}}function c(_,m){if(!(_ instanceof m))throw new TypeError("Cannot call a class as a function")}function f(_,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 p(_,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"],v=function(_){p(m,_);function m(){return c(this,m),f(this,(m.__proto__||Object.getPrototypeOf(m)).apply(this,arguments))}return o(m,[{key:"format",value:function(b,h){y.indexOf(b)>-1?h?this.domNode.setAttribute(b,h):this.domNode.removeAttribute(b):a(m.prototype.__proto__||Object.getPrototypeOf(m.prototype),"format",this).call(this,b,h)}}],[{key:"create",value:function(b){var h=a(m.__proto__||Object.getPrototypeOf(m),"create",this).call(this,b);return h.setAttribute("frameborder","0"),h.setAttribute("allowfullscreen",!0),h.setAttribute("src",this.sanitize(b)),h}},{key:"formats",value:function(b){return y.reduce(function(h,E){return b.hasAttribute(E)&&(h[E]=b.getAttribute(E)),h},{})}},{key:"sanitize",value:function(b){return u.default.sanitize(b)}},{key:"value",value:function(b){return b.getAttribute("src")}}]),m}(s.BlockEmbed);v.blotName="video",v.className="ql-video",v.tagName="IFRAME",r.default=v},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.FormulaBlot=void 0;var o=function(){function b(h,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(h,T.key,T)}}return function(h,E,k){return E&&b(h.prototype,E),k&&b(h,k),h}}(),a=function b(h,E,k){h===null&&(h=Function.prototype);var T=Object.getOwnPropertyDescriptor(h,E);if(T===void 0){var A=Object.getPrototypeOf(h);return A===null?void 0:b(A,E,k)}else{if("value"in T)return T.value;var C=T.get;return C===void 0?void 0:C.call(k)}},s=i(35),l=p(s),u=i(5),d=p(u),c=i(9),f=p(c);function p(b){return b&&b.__esModule?b:{default:b}}function y(b,h){if(!(b instanceof h))throw new TypeError("Cannot call a class as a function")}function v(b,h){if(!b)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:b}function _(b,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);b.prototype=Object.create(h&&h.prototype,{constructor:{value:b,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(b,h):b.__proto__=h)}var m=function(b){_(h,b);function h(){return y(this,h),v(this,(h.__proto__||Object.getPrototypeOf(h)).apply(this,arguments))}return o(h,null,[{key:"create",value:function(k){var T=a(h.__proto__||Object.getPrototypeOf(h),"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")}}]),h}(l.default);m.blotName="formula",m.className="ql-formula",m.tagName="SPAN";var g=function(b){_(h,b),o(h,null,[{key:"register",value:function(){d.default.register(m,!0)}}]);function h(){y(this,h);var E=v(this,(h.__proto__||Object.getPrototypeOf(h)).call(this));if(window.katex==null)throw new Error("Formula module requires KaTeX.");return E}return h}(f.default);r.FormulaBlot=m,r.default=g},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.CodeToken=r.CodeBlock=void 0;var o=function(){function k(T,A){for(var C=0;C<A.length;C++){var N=A[C];N.enumerable=N.enumerable||!1,N.configurable=!0,"value"in N&&(N.writable=!0),Object.defineProperty(T,N.key,N)}}return function(T,A,C){return A&&k(T.prototype,A),C&&k(T,C),T}}(),a=function k(T,A,C){T===null&&(T=Function.prototype);var N=Object.getOwnPropertyDescriptor(T,A);if(N===void 0){var O=Object.getPrototypeOf(T);return O===null?void 0:k(O,A,C)}else{if("value"in N)return N.value;var S=N.get;return S===void 0?void 0:S.call(C)}},s=i(0),l=v(s),u=i(5),d=v(u),c=i(9),f=v(c),p=i(13),y=v(p);function v(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 g(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){g(T,k);function T(){return _(this,T),m(this,(T.__proto__||Object.getPrototypeOf(T)).apply(this,arguments))}return o(T,[{key:"replaceWith",value:function(C){this.domNode.textContent=this.domNode.textContent,this.attach(),a(T.prototype.__proto__||Object.getPrototypeOf(T.prototype),"replaceWith",this).call(this,C)}},{key:"highlight",value:function(C){var N=this.domNode.textContent;this.cachedText!==N&&((N.trim().length>0||this.cachedText==null)&&(this.domNode.innerHTML=C(N),this.domNode.normalize(),this.attach()),this.cachedText=N)}}]),T}(y.default);b.className="ql-syntax";var h=new l.default.Attributor.Class("token","hljs",{scope:l.default.Scope.INLINE}),E=function(k){g(T,k),o(T,null,[{key:"register",value:function(){d.default.register(h,!0),d.default.register(b,!0)}}]);function T(A,C){_(this,T);var N=m(this,(T.__proto__||Object.getPrototypeOf(T)).call(this,A,C));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(d.default.events.SCROLL_OPTIMIZE,function(){clearTimeout(O),O=setTimeout(function(){N.highlight(),O=null},N.options.interval)}),N.highlight(),N}return o(T,[{key:"highlight",value:function(){var C=this;if(!this.quill.selection.composing){this.quill.update(d.default.sources.USER);var N=this.quill.getSelection();this.quill.scroll.descendants(b).forEach(function(O){O.highlight(C.options.highlight)}),this.quill.update(d.default.sources.SILENT),N!=null&&this.quill.setSelection(N,d.default.sources.SILENT)}}}]),T}(f.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=h,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 o=function T(A,C,N){A===null&&(A=Function.prototype);var O=Object.getOwnPropertyDescriptor(A,C);if(O===void 0){var S=Object.getPrototypeOf(A);return S===null?void 0:T(S,C,N)}else{if("value"in O)return O.value;var L=O.get;return L===void 0?void 0:L.call(N)}},a=function(){function T(A,C){for(var N=0;N<C.length;N++){var O=C[N];O.enumerable=O.enumerable||!1,O.configurable=!0,"value"in O&&(O.writable=!0),Object.defineProperty(A,O.key,O)}}return function(A,C,N){return C&&T(A.prototype,C),N&&T(A,N),A}}(),s=i(3),l=_(s),u=i(8),d=_(u),c=i(43),f=_(c),p=i(15),y=i(41),v=_(y);function _(T){return T&&T.__esModule?T:{default:T}}function m(T,A){if(!(T instanceof A))throw new TypeError("Cannot call a class as a function")}function g(T,A){if(!T)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return A&&(typeof A=="object"||typeof A=="function")?A:T}function b(T,A){if(typeof A!="function"&&A!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof A);T.prototype=Object.create(A&&A.prototype,{constructor:{value:T,enumerable:!1,writable:!0,configurable:!0}}),A&&(Object.setPrototypeOf?Object.setPrototypeOf(T,A):T.__proto__=A)}var h=[["bold","italic","link"],[{header:1},{header:2},"blockquote"]],E=function(T){b(A,T);function A(C,N){m(this,A),N.modules.toolbar!=null&&N.modules.toolbar.container==null&&(N.modules.toolbar.container=h);var O=g(this,(A.__proto__||Object.getPrototypeOf(A)).call(this,C,N));return O.quill.container.classList.add("ql-bubble"),O}return a(A,[{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")),v.default),this.buildPickers([].slice.call(N.container.querySelectorAll("select")),v.default)}}]),A}(f.default);E.DEFAULTS=(0,l.default)(!0,{},f.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(A){A?this.quill.theme.tooltip.edit():this.quill.format("link",!1)}}}}});var k=function(T){b(A,T);function A(C,N){m(this,A);var O=g(this,(A.__proto__||Object.getPrototypeOf(A)).call(this,C,N));return O.quill.on(d.default.events.EDITOR_CHANGE,function(S,L,R,D){if(S===d.default.events.SELECTION_CHANGE)if(L!=null&&L.length>0&&D===d.default.sources.USER){O.show(),O.root.style.left="0px",O.root.style.width="",O.root.style.width=O.root.offsetWidth+"px";var B=O.quill.getLines(L.index,L.length);if(B.length===1)O.position(O.quill.getBounds(L));else{var K=B[B.length-1],re=O.quill.getIndex(K),Y=Math.min(K.length()-1,L.index+L.length-re),j=O.quill.getBounds(new p.Range(re,Y));O.position(j)}}else document.activeElement!==O.textbox&&O.quill.hasFocus()&&O.hide()}),O}return a(A,[{key:"listen",value:function(){var N=this;o(A.prototype.__proto__||Object.getPrototypeOf(A.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",function(){N.root.classList.remove("ql-editing")}),this.quill.on(d.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=o(A.prototype.__proto__||Object.getPrototypeOf(A.prototype),"position",this).call(this,N),S=this.root.querySelector(".ql-tooltip-arrow");if(S.style.marginLeft="",O===0)return O;S.style.marginLeft=-1*O-S.offsetWidth/2+"px"}}]),A}(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})})(Pb);var Gk=Pb.exports;const ad=it.getDefaultExportFromCjs(Gk);var hr=-1,qn=1,ln=0;function Ls(e,t,n,r){if(e===t)return e?[[ln,e]]:[];if(n!=null){var i=Qk(e,t,n);if(i)return i}var o=Dp(e,t),a=e.substring(0,o);e=e.substring(o),t=t.substring(o),o=Hp(e,t);var s=e.substring(e.length-o);e=e.substring(0,e.length-o),t=t.substring(0,t.length-o);var l=Yk(e,t);return a&&l.unshift([ln,a]),s&&l.push([ln,s]),Ib(l,r),l}function Yk(e,t){var n;if(!e)return[[qn,t]];if(!t)return[[hr,e]];var r=e.length>t.length?e:t,i=e.length>t.length?t:e,o=r.indexOf(i);if(o!==-1)return n=[[qn,r.substring(0,o)],[ln,i],[qn,r.substring(o+i.length)]],e.length>t.length&&(n[0][0]=n[2][0]=hr),n;if(i.length===1)return[[hr,e],[qn,t]];var a=Jk(e,t);if(a){var s=a[0],l=a[1],u=a[2],d=a[3],c=a[4],f=Ls(s,u),p=Ls(l,d);return f.concat([[ln,c]],p)}return Xk(e,t)}function Xk(e,t){for(var n=e.length,r=t.length,i=Math.ceil((n+r)/2),o=i,a=2*i,s=new Array(a),l=new Array(a),u=0;u<a;u++)s[u]=-1,l[u]=-1;s[o+1]=0,l[o+1]=0;for(var d=n-r,c=d%2!==0,f=0,p=0,y=0,v=0,_=0;_<i;_++){for(var m=-_+f;m<=_-p;m+=2){var g=o+m,b;m===-_||m!==_&&s[g-1]<s[g+1]?b=s[g+1]:b=s[g-1]+1;for(var h=b-m;b<n&&h<r&&e.charAt(b)===t.charAt(h);)b++,h++;if(s[g]=b,b>n)p+=2;else if(h>r)f+=2;else if(c){var E=o+d-m;if(E>=0&&E<a&&l[E]!==-1){var k=n-l[E];if(b>=k)return D2(e,t,b,h)}}}for(var T=-_+y;T<=_-v;T+=2){var E=o+T,k;T===-_||T!==_&&l[E-1]<l[E+1]?k=l[E+1]:k=l[E-1]+1;for(var A=k-T;k<n&&A<r&&e.charAt(n-k-1)===t.charAt(r-A-1);)k++,A++;if(l[E]=k,k>n)v+=2;else if(A>r)y+=2;else if(!c){var g=o+d-T;if(g>=0&&g<a&&s[g]!==-1){var b=s[g],h=o+b-g;if(k=n-k,b>=k)return D2(e,t,b,h)}}}}return[[hr,e],[qn,t]]}function D2(e,t,n,r){var i=e.substring(0,n),o=t.substring(0,r),a=e.substring(n),s=t.substring(r),l=Ls(i,o),u=Ls(a,s);return l.concat(u)}function Dp(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,o=0;n<i;)e.substring(o,i)==t.substring(o,i)?(n=i,o=n):r=i,i=Math.floor((r-n)/2+n);return Rb(e.charCodeAt(i-1))&&i--,i}function Hp(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,o=0;n<i;)e.substring(e.length-i,e.length-o)==t.substring(t.length-i,t.length-o)?(n=i,o=n):r=i,i=Math.floor((r-n)/2+n);return xb(e.charCodeAt(e.length-i))&&i--,i}function Jk(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(p,y,v){for(var _=p.substring(v,v+Math.floor(p.length/4)),m=-1,g="",b,h,E,k;(m=y.indexOf(_,m+1))!==-1;){var T=Dp(p.substring(v),y.substring(m)),A=Hp(p.substring(0,v),y.substring(0,m));g.length<A+T&&(g=y.substring(m-A,m)+y.substring(m,m+T),b=p.substring(0,v-A),h=p.substring(v+T),E=y.substring(0,m-A),k=y.substring(m+T))}return g.length*2>=p.length?[b,h,E,k,g]:null}var o=i(n,r,Math.ceil(n.length/4)),a=i(n,r,Math.ceil(n.length/2)),s;if(!o&&!a)return null;a?o?s=o[4].length>a[4].length?o:a:s=a:s=o;var l,u,d,c;e.length>t.length?(l=s[0],u=s[1],d=s[2],c=s[3]):(d=s[0],c=s[1],l=s[2],u=s[3]);var f=s[4];return[l,u,d,c,f]}function Ib(e,t){e.push([ln,""]);for(var n=0,r=0,i=0,o="",a="",s;n<e.length;){if(n<e.length-1&&!e[n][1]){e.splice(n,1);continue}switch(e[n][0]){case qn:i++,a+=e[n][1],n++;break;case hr:r++,o+=e[n][1],n++;break;case ln:var l=n-i-r-1;if(t){if(l>=0&&Db(e[l][1])){var u=e[l][1].slice(-1);if(e[l][1]=e[l][1].slice(0,-1),o=u+o,a=u+a,!e[l][1]){e.splice(l,1),n--;var d=l-1;e[d]&&e[d][0]===qn&&(i++,a=e[d][1]+a,d--),e[d]&&e[d][0]===hr&&(r++,o=e[d][1]+o,d--),l=d}}if(Mb(e[n][1])){var u=e[n][1].charAt(0);e[n][1]=e[n][1].slice(1),o+=u,a+=u}}if(n<e.length-1&&!e[n][1]){e.splice(n,1);break}if(o.length>0||a.length>0){o.length>0&&a.length>0&&(s=Dp(a,o),s!==0&&(l>=0?e[l][1]+=a.substring(0,s):(e.splice(0,0,[ln,a.substring(0,s)]),n++),a=a.substring(s),o=o.substring(s)),s=Hp(a,o),s!==0&&(e[n][1]=a.substring(a.length-s)+e[n][1],a=a.substring(0,a.length-s),o=o.substring(0,o.length-s)));var c=i+r;o.length===0&&a.length===0?(e.splice(n-c,c),n=n-c):o.length===0?(e.splice(n-c,c,[qn,a]),n=n-c+1):a.length===0?(e.splice(n-c,c,[hr,o]),n=n-c+1):(e.splice(n-c,c,[hr,o],[qn,a]),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,o="",a="";break}}e[e.length-1][1]===""&&e.pop();var f=!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),f=!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),f=!0)),n++;f&&Ib(e,t)}function Rb(e){return e>=55296&&e<=56319}function xb(e){return e>=56320&&e<=57343}function Mb(e){return xb(e.charCodeAt(0))}function Db(e){return Rb(e.charCodeAt(e.length-1))}function Zk(e){for(var t=[],n=0;n<e.length;n++)e[n][1].length>0&&t.push(e[n]);return t}function sd(e,t,n,r){return Db(e)||Mb(r)?null:Zk([[ln,e],[hr,t],[qn,n],[ln,r]])}function Qk(e,t,n){var r=typeof n=="number"?{index:n,length:0}:n.oldRange,i=typeof n=="number"?null:n.newRange,o=e.length,a=t.length;if(r.length===0&&(i===null||i.length===0)){var s=r.index,l=e.slice(0,s),u=e.slice(s),d=i?i.index:null;e:{var c=s+a-o;if(d!==null&&d!==c||c<0||c>a)break e;var f=t.slice(0,c),p=t.slice(c);if(p!==u)break e;var y=Math.min(s,c),v=l.slice(0,y),_=f.slice(0,y);if(v!==_)break e;var m=l.slice(y),g=f.slice(y);return sd(v,m,g,u)}e:{if(d!==null&&d!==s)break e;var b=s,f=t.slice(0,b),p=t.slice(b);if(f!==l)break e;var h=Math.min(o-b,a-b),E=u.slice(u.length-h),k=p.slice(p.length-h);if(E!==k)break e;var m=u.slice(0,u.length-h),g=p.slice(0,p.length-h);return sd(l,m,g,E)}}if(r.length>0&&i&&i.length===0)e:{var v=e.slice(0,r.index),E=e.slice(r.index+r.length),y=v.length,h=E.length;if(a<y+h)break e;var _=t.slice(0,y),k=t.slice(a-h);if(v!==_||E!==k)break e;var m=e.slice(y,o-h),g=t.slice(y,a-h);return sd(v,m,g,E)}return null}function ff(e,t,n){return Ls(e,t,n,!0)}ff.INSERT=qn;ff.DELETE=hr;ff.EQUAL=ln;var e9=ff,uu={exports:{}};uu.exports;(function(e,t){var n=200,r="__lodash_hash_undefined__",i=9007199254740991,o="[object Arguments]",a="[object Array]",s="[object Boolean]",l="[object Date]",u="[object Error]",d="[object Function]",c="[object GeneratorFunction]",f="[object Map]",p="[object Number]",y="[object Object]",v="[object Promise]",_="[object RegExp]",m="[object Set]",g="[object String]",b="[object Symbol]",h="[object WeakMap]",E="[object ArrayBuffer]",k="[object DataView]",T="[object Float32Array]",A="[object Float64Array]",C="[object Int8Array]",N="[object Int16Array]",O="[object Int32Array]",S="[object Uint8Array]",L="[object Uint8ClampedArray]",R="[object Uint16Array]",D="[object Uint32Array]",B=/[\\^$.*+?()[\]{}|]/g,K=/\w*$/,re=/^\[object .+?Constructor\]$/,Y=/^(?:0|[1-9]\d*)$/,j={};j[o]=j[a]=j[E]=j[k]=j[s]=j[l]=j[T]=j[A]=j[C]=j[N]=j[O]=j[f]=j[p]=j[y]=j[_]=j[m]=j[g]=j[b]=j[S]=j[L]=j[R]=j[D]=!0,j[u]=j[d]=j[h]=!1;var I=typeof it.commonjsGlobal=="object"&&it.commonjsGlobal&&it.commonjsGlobal.Object===Object&&it.commonjsGlobal,F=typeof self=="object"&&self&&self.Object===Object&&self,z=I||F||Function("return this")(),ee=t&&!t.nodeType&&t,J=ee&&!0&&e&&!e.nodeType&&e,H=J&&J.exports===ee;function X(w,M){return w.set(M[0],M[1]),w}function ie(w,M){return w.add(M),w}function oe(w,M){for(var G=-1,le=w?w.length:0;++G<le&&M(w[G],G,w)!==!1;);return w}function ue(w,M){for(var G=-1,le=M.length,Ne=w.length;++G<le;)w[Ne+G]=M[G];return w}function he(w,M,G,le){var Ne=-1,Ee=w?w.length:0;for(le&&Ee&&(G=w[++Ne]);++Ne<Ee;)G=M(G,w[Ne],Ne,w);return G}function V(w,M){for(var G=-1,le=Array(w);++G<w;)le[G]=M(G);return le}function P(w,M){return w?.[M]}function x(w){var M=!1;if(w!=null&&typeof w.toString!="function")try{M=!!(w+"")}catch{}return M}function $(w){var M=-1,G=Array(w.size);return w.forEach(function(le,Ne){G[++M]=[Ne,le]}),G}function Z(w,M){return function(G){return w(M(G))}}function se(w){var M=-1,G=Array(w.size);return w.forEach(function(le){G[++M]=le}),G}var U=Array.prototype,q=Function.prototype,Q=Object.prototype,ne=z["__core-js_shared__"],ae=function(){var w=/[^.]+$/.exec(ne&&ne.keys&&ne.keys.IE_PROTO||"");return w?"Symbol(src)_1."+w:""}(),ce=q.toString,W=Q.hasOwnProperty,te=Q.toString,pe=RegExp("^"+ce.call(W).replace(B,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ve=H?z.Buffer:void 0,ge=z.Symbol,xe=z.Uint8Array,Oe=Z(Object.getPrototypeOf,Object),Ze=Object.create,Jn=Q.propertyIsEnumerable,wn=U.splice,Zn=Object.getOwnPropertySymbols,ot=ve?ve.isBuffer:void 0,At=Z(Object.keys,Object),mn=Vn(z,"DataView"),en=Vn(z,"Map"),gn=Vn(z,"Promise"),Zr=Vn(z,"Set"),ji=Vn(z,"WeakMap"),br=Vn(Object,"create"),Fi=Yt(mn),_r=Yt(en),we=Yt(gn),Pe=Yt(Zr),Qe=Yt(ji),ze=ge?ge.prototype:void 0,Gt=ze?ze.valueOf:void 0;function Ft(w){var M=-1,G=w?w.length:0;for(this.clear();++M<G;){var le=w[M];this.set(le[0],le[1])}}function Er(){this.__data__=br?br(null):{}}function Qn(w){return this.has(w)&&delete this.__data__[w]}function Or(w){var M=this.__data__;if(br){var G=M[w];return G===r?void 0:G}return W.call(M,w)?M[w]:void 0}function Tr(w){var M=this.__data__;return br?M[w]!==void 0:W.call(M,w)}function wr(w,M){var G=this.__data__;return G[w]=br&&M===void 0?r:M,this}Ft.prototype.clear=Er,Ft.prototype.delete=Qn,Ft.prototype.get=Or,Ft.prototype.has=Tr,Ft.prototype.set=wr;function ct(w){var M=-1,G=w?w.length:0;for(this.clear();++M<G;){var le=w[M];this.set(le[0],le[1])}}function Ea(){this.__data__=[]}function Eo(w){var M=this.__data__,G=Qr(M,w);if(G<0)return!1;var le=M.length-1;return G==le?M.pop():wn.call(M,G,1),!0}function Vi(w){var M=this.__data__,G=Qr(M,w);return G<0?void 0:M[G][1]}function Bi(w){return Qr(this.__data__,w)>-1}function Oa(w,M){var G=this.__data__,le=Qr(G,w);return le<0?G.push([w,M]):G[le][1]=M,this}ct.prototype.clear=Ea,ct.prototype.delete=Eo,ct.prototype.get=Vi,ct.prototype.has=Bi,ct.prototype.set=Oa;function gt(w){var M=-1,G=w?w.length:0;for(this.clear();++M<G;){var le=w[M];this.set(le[0],le[1])}}function Oo(){this.__data__={hash:new Ft,map:new(en||ct),string:new Ft}}function Ar(w){return Ki(this,w).delete(w)}function zi(w){return Ki(this,w).get(w)}function To(w){return Ki(this,w).has(w)}function wo(w,M){return Ki(this,w).set(w,M),this}gt.prototype.clear=Oo,gt.prototype.delete=Ar,gt.prototype.get=zi,gt.prototype.has=To,gt.prototype.set=wo;function Mt(w){this.__data__=new ct(w)}function Ao(){this.__data__=new ct}function er(w){return this.__data__.delete(w)}function $i(w){return this.__data__.get(w)}function Ui(w){return this.__data__.has(w)}function Ta(w,M){var G=this.__data__;if(G instanceof ct){var le=G.__data__;if(!en||le.length<n-1)return le.push([w,M]),this;G=this.__data__=new gt(le)}return G.set(w,M),this}Mt.prototype.clear=Ao,Mt.prototype.delete=er,Mt.prototype.get=$i,Mt.prototype.has=Ui,Mt.prototype.set=Ta;function Sr(w,M){var G=Na(w)||ko(w)?V(w.length,String):[],le=G.length,Ne=!!le;for(var Ee in w)(M||W.call(w,Ee))&&!(Ne&&(Ee=="length"||Af(Ee,le)))&&G.push(Ee);return G}function So(w,M,G){var le=w[M];(!(W.call(w,M)&&al(le,G))||G===void 0&&!(M in w))&&(w[M]=G)}function Qr(w,M){for(var G=w.length;G--;)if(al(w[G][0],M))return G;return-1}function tr(w,M){return w&&Sa(M,Ca(M),w)}function wa(w,M,G,le,Ne,Ee,Me){var Be;if(le&&(Be=Ee?le(w,Ne,Ee,Me):le(w)),Be!==void 0)return Be;if(!rr(w))return w;var ut=Na(w);if(ut){if(Be=Tf(w),!M)return _f(w,Be)}else{var Ue=kr(w),Vt=Ue==d||Ue==c;if(sl(w))return No(w,M);if(Ue==y||Ue==o||Vt&&!Ee){if(x(w))return Ee?w:{};if(Be=nr(Vt?{}:w),!M)return Ef(w,tr(Be,w))}else{if(!j[Ue])return Ee?w:{};Be=wf(w,Ue,wa,M)}}Me||(Me=new Mt);var tn=Me.get(w);if(tn)return tn;if(Me.set(w,Be),!ut)var vt=G?Of(w):Ca(w);return oe(vt||w,function(Bt,Dt){vt&&(Dt=Bt,Bt=w[Dt]),So(Be,Dt,wa(Bt,M,G,le,Dt,w,Me))}),Be}function df(w){return rr(w)?Ze(w):{}}function hf(w,M,G){var le=M(w);return Na(w)?le:ue(le,G(w))}function pf(w){return te.call(w)}function mf(w){if(!rr(w)||Nf(w))return!1;var M=ka(w)||x(w)?pe:re;return M.test(Yt(w))}function gf(w){if(!il(w))return At(w);var M=[];for(var G in Object(w))W.call(w,G)&&G!="constructor"&&M.push(G);return M}function No(w,M){if(M)return w.slice();var G=new w.constructor(w.length);return w.copy(G),G}function Aa(w){var M=new w.constructor(w.byteLength);return new xe(M).set(new xe(w)),M}function qi(w,M){var G=M?Aa(w.buffer):w.buffer;return new w.constructor(G,w.byteOffset,w.byteLength)}function nl(w,M,G){var le=M?G($(w),!0):$(w);return he(le,X,new w.constructor)}function rl(w){var M=new w.constructor(w.source,K.exec(w));return M.lastIndex=w.lastIndex,M}function vf(w,M,G){var le=M?G(se(w),!0):se(w);return he(le,ie,new w.constructor)}function yf(w){return Gt?Object(Gt.call(w)):{}}function bf(w,M){var G=M?Aa(w.buffer):w.buffer;return new w.constructor(G,w.byteOffset,w.length)}function _f(w,M){var G=-1,le=w.length;for(M||(M=Array(le));++G<le;)M[G]=w[G];return M}function Sa(w,M,G,le){G||(G={});for(var Ne=-1,Ee=M.length;++Ne<Ee;){var Me=M[Ne],Be=le?le(G[Me],w[Me],Me,G,w):void 0;So(G,Me,Be===void 0?w[Me]:Be)}return G}function Ef(w,M){return Sa(w,Nr(w),M)}function Of(w){return hf(w,Ca,Nr)}function Ki(w,M){var G=w.__data__;return Sf(M)?G[typeof M=="string"?"string":"hash"]:G.map}function Vn(w,M){var G=P(w,M);return mf(G)?G:void 0}var Nr=Zn?Z(Zn,Object):Cf,kr=pf;(mn&&kr(new mn(new ArrayBuffer(1)))!=k||en&&kr(new en)!=f||gn&&kr(gn.resolve())!=v||Zr&&kr(new Zr)!=m||ji&&kr(new ji)!=h)&&(kr=function(w){var M=te.call(w),G=M==y?w.constructor:void 0,le=G?Yt(G):void 0;if(le)switch(le){case Fi:return k;case _r:return f;case we:return v;case Pe:return m;case Qe:return h}return M});function Tf(w){var M=w.length,G=w.constructor(M);return M&&typeof w[0]=="string"&&W.call(w,"index")&&(G.index=w.index,G.input=w.input),G}function nr(w){return typeof w.constructor=="function"&&!il(w)?df(Oe(w)):{}}function wf(w,M,G,le){var Ne=w.constructor;switch(M){case E:return Aa(w);case s:case l:return new Ne(+w);case k:return qi(w,le);case T:case A:case C:case N:case O:case S:case L:case R:case D:return bf(w,le);case f:return nl(w,le,G);case p:case g:return new Ne(w);case _:return rl(w);case m:return vf(w,le,G);case b:return yf(w)}}function Af(w,M){return M=M??i,!!M&&(typeof w=="number"||Y.test(w))&&w>-1&&w%1==0&&w<M}function Sf(w){var M=typeof w;return M=="string"||M=="number"||M=="symbol"||M=="boolean"?w!=="__proto__":w===null}function Nf(w){return!!ae&&ae in w}function il(w){var M=w&&w.constructor,G=typeof M=="function"&&M.prototype||Q;return w===G}function Yt(w){if(w!=null){try{return ce.call(w)}catch{}try{return w+""}catch{}}return""}function ol(w){return wa(w,!0,!0)}function al(w,M){return w===M||w!==w&&M!==M}function ko(w){return kf(w)&&W.call(w,"callee")&&(!Jn.call(w,"callee")||te.call(w)==o)}var Na=Array.isArray;function Co(w){return w!=null&&ll(w.length)&&!ka(w)}function kf(w){return cl(w)&&Co(w)}var sl=ot||Lf;function ka(w){var M=rr(w)?te.call(w):"";return M==d||M==c}function ll(w){return typeof w=="number"&&w>-1&&w%1==0&&w<=i}function rr(w){var M=typeof w;return!!w&&(M=="object"||M=="function")}function cl(w){return!!w&&typeof w=="object"}function Ca(w){return Co(w)?Sr(w):gf(w)}function Cf(){return[]}function Lf(){return!1}e.exports=ol})(uu,uu.exports);var Hb=uu.exports,fu={exports:{}};fu.exports;(function(e,t){var n=200,r="__lodash_hash_undefined__",i=1,o=2,a=9007199254740991,s="[object Arguments]",l="[object Array]",u="[object AsyncFunction]",d="[object Boolean]",c="[object Date]",f="[object Error]",p="[object Function]",y="[object GeneratorFunction]",v="[object Map]",_="[object Number]",m="[object Null]",g="[object Object]",b="[object Promise]",h="[object Proxy]",E="[object RegExp]",k="[object Set]",T="[object String]",A="[object Symbol]",C="[object Undefined]",N="[object WeakMap]",O="[object ArrayBuffer]",S="[object DataView]",L="[object Float32Array]",R="[object Float64Array]",D="[object Int8Array]",B="[object Int16Array]",K="[object Int32Array]",re="[object Uint8Array]",Y="[object Uint8ClampedArray]",j="[object Uint16Array]",I="[object Uint32Array]",F=/[\\^$.*+?()[\]{}|]/g,z=/^\[object .+?Constructor\]$/,ee=/^(?:0|[1-9]\d*)$/,J={};J[L]=J[R]=J[D]=J[B]=J[K]=J[re]=J[Y]=J[j]=J[I]=!0,J[s]=J[l]=J[O]=J[d]=J[S]=J[c]=J[f]=J[p]=J[v]=J[_]=J[g]=J[E]=J[k]=J[T]=J[N]=!1;var H=typeof it.commonjsGlobal=="object"&&it.commonjsGlobal&&it.commonjsGlobal.Object===Object&&it.commonjsGlobal,X=typeof self=="object"&&self&&self.Object===Object&&self,ie=H||X||Function("return this")(),oe=t&&!t.nodeType&&t,ue=oe&&!0&&e&&!e.nodeType&&e,he=ue&&ue.exports===oe,V=he&&H.process,P=function(){try{return V&&V.binding&&V.binding("util")}catch{}}(),x=P&&P.isTypedArray;function $(w,M){for(var G=-1,le=w==null?0:w.length,Ne=0,Ee=[];++G<le;){var Me=w[G];M(Me,G,w)&&(Ee[Ne++]=Me)}return Ee}function Z(w,M){for(var G=-1,le=M.length,Ne=w.length;++G<le;)w[Ne+G]=M[G];return w}function se(w,M){for(var G=-1,le=w==null?0:w.length;++G<le;)if(M(w[G],G,w))return!0;return!1}function U(w,M){for(var G=-1,le=Array(w);++G<w;)le[G]=M(G);return le}function q(w){return function(M){return w(M)}}function Q(w,M){return w.has(M)}function ne(w,M){return w?.[M]}function ae(w){var M=-1,G=Array(w.size);return w.forEach(function(le,Ne){G[++M]=[Ne,le]}),G}function ce(w,M){return function(G){return w(M(G))}}function W(w){var M=-1,G=Array(w.size);return w.forEach(function(le){G[++M]=le}),G}var te=Array.prototype,pe=Function.prototype,ve=Object.prototype,ge=ie["__core-js_shared__"],xe=pe.toString,Oe=ve.hasOwnProperty,Ze=function(){var w=/[^.]+$/.exec(ge&&ge.keys&&ge.keys.IE_PROTO||"");return w?"Symbol(src)_1."+w:""}(),Jn=ve.toString,wn=RegExp("^"+xe.call(Oe).replace(F,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Zn=he?ie.Buffer:void 0,ot=ie.Symbol,At=ie.Uint8Array,mn=ve.propertyIsEnumerable,en=te.splice,gn=ot?ot.toStringTag:void 0,Zr=Object.getOwnPropertySymbols,ji=Zn?Zn.isBuffer:void 0,br=ce(Object.keys,Object),Fi=Nr(ie,"DataView"),_r=Nr(ie,"Map"),we=Nr(ie,"Promise"),Pe=Nr(ie,"Set"),Qe=Nr(ie,"WeakMap"),ze=Nr(Object,"create"),Gt=Yt(Fi),Ft=Yt(_r),Er=Yt(we),Qn=Yt(Pe),Or=Yt(Qe),Tr=ot?ot.prototype:void 0,wr=Tr?Tr.valueOf:void 0;function ct(w){var M=-1,G=w==null?0:w.length;for(this.clear();++M<G;){var le=w[M];this.set(le[0],le[1])}}function Ea(){this.__data__=ze?ze(null):{},this.size=0}function Eo(w){var M=this.has(w)&&delete this.__data__[w];return this.size-=M?1:0,M}function Vi(w){var M=this.__data__;if(ze){var G=M[w];return G===r?void 0:G}return Oe.call(M,w)?M[w]:void 0}function Bi(w){var M=this.__data__;return ze?M[w]!==void 0:Oe.call(M,w)}function Oa(w,M){var G=this.__data__;return this.size+=this.has(w)?0:1,G[w]=ze&&M===void 0?r:M,this}ct.prototype.clear=Ea,ct.prototype.delete=Eo,ct.prototype.get=Vi,ct.prototype.has=Bi,ct.prototype.set=Oa;function gt(w){var M=-1,G=w==null?0:w.length;for(this.clear();++M<G;){var le=w[M];this.set(le[0],le[1])}}function Oo(){this.__data__=[],this.size=0}function Ar(w){var M=this.__data__,G=No(M,w);if(G<0)return!1;var le=M.length-1;return G==le?M.pop():en.call(M,G,1),--this.size,!0}function zi(w){var M=this.__data__,G=No(M,w);return G<0?void 0:M[G][1]}function To(w){return No(this.__data__,w)>-1}function wo(w,M){var G=this.__data__,le=No(G,w);return le<0?(++this.size,G.push([w,M])):G[le][1]=M,this}gt.prototype.clear=Oo,gt.prototype.delete=Ar,gt.prototype.get=zi,gt.prototype.has=To,gt.prototype.set=wo;function Mt(w){var M=-1,G=w==null?0:w.length;for(this.clear();++M<G;){var le=w[M];this.set(le[0],le[1])}}function Ao(){this.size=0,this.__data__={hash:new ct,map:new(_r||gt),string:new ct}}function er(w){var M=Vn(this,w).delete(w);return this.size-=M?1:0,M}function $i(w){return Vn(this,w).get(w)}function Ui(w){return Vn(this,w).has(w)}function Ta(w,M){var G=Vn(this,w),le=G.size;return G.set(w,M),this.size+=G.size==le?0:1,this}Mt.prototype.clear=Ao,Mt.prototype.delete=er,Mt.prototype.get=$i,Mt.prototype.has=Ui,Mt.prototype.set=Ta;function Sr(w){var M=-1,G=w==null?0:w.length;for(this.__data__=new Mt;++M<G;)this.add(w[M])}function So(w){return this.__data__.set(w,r),this}function Qr(w){return this.__data__.has(w)}Sr.prototype.add=Sr.prototype.push=So,Sr.prototype.has=Qr;function tr(w){var M=this.__data__=new gt(w);this.size=M.size}function wa(){this.__data__=new gt,this.size=0}function df(w){var M=this.__data__,G=M.delete(w);return this.size=M.size,G}function hf(w){return this.__data__.get(w)}function pf(w){return this.__data__.has(w)}function mf(w,M){var G=this.__data__;if(G instanceof gt){var le=G.__data__;if(!_r||le.length<n-1)return le.push([w,M]),this.size=++G.size,this;G=this.__data__=new Mt(le)}return G.set(w,M),this.size=G.size,this}tr.prototype.clear=wa,tr.prototype.delete=df,tr.prototype.get=hf,tr.prototype.has=pf,tr.prototype.set=mf;function gf(w,M){var G=ko(w),le=!G&&al(w),Ne=!G&&!le&&Co(w),Ee=!G&&!le&&!Ne&&cl(w),Me=G||le||Ne||Ee,Be=Me?U(w.length,String):[],ut=Be.length;for(var Ue in w)(M||Oe.call(w,Ue))&&!(Me&&(Ue=="length"||Ne&&(Ue=="offset"||Ue=="parent")||Ee&&(Ue=="buffer"||Ue=="byteLength"||Ue=="byteOffset")||wf(Ue,ut)))&&Be.push(Ue);return Be}function No(w,M){for(var G=w.length;G--;)if(ol(w[G][0],M))return G;return-1}function Aa(w,M,G){var le=M(w);return ko(w)?le:Z(le,G(w))}function qi(w){return w==null?w===void 0?C:m:gn&&gn in Object(w)?kr(w):il(w)}function nl(w){return rr(w)&&qi(w)==s}function rl(w,M,G,le,Ne){return w===M?!0:w==null||M==null||!rr(w)&&!rr(M)?w!==w&&M!==M:vf(w,M,G,le,rl,Ne)}function vf(w,M,G,le,Ne,Ee){var Me=ko(w),Be=ko(M),ut=Me?l:nr(w),Ue=Be?l:nr(M);ut=ut==s?g:ut,Ue=Ue==s?g:Ue;var Vt=ut==g,tn=Ue==g,vt=ut==Ue;if(vt&&Co(w)){if(!Co(M))return!1;Me=!0,Vt=!1}if(vt&&!Vt)return Ee||(Ee=new tr),Me||cl(w)?Sa(w,M,G,le,Ne,Ee):Ef(w,M,ut,G,le,Ne,Ee);if(!(G&i)){var Bt=Vt&&Oe.call(w,"__wrapped__"),Dt=tn&&Oe.call(M,"__wrapped__");if(Bt||Dt){var ei=Bt?w.value():w,Cr=Dt?M.value():M;return Ee||(Ee=new tr),Ne(ei,Cr,G,le,Ee)}}return vt?(Ee||(Ee=new tr),Of(w,M,G,le,Ne,Ee)):!1}function yf(w){if(!ll(w)||Sf(w))return!1;var M=sl(w)?wn:z;return M.test(Yt(w))}function bf(w){return rr(w)&&ka(w.length)&&!!J[qi(w)]}function _f(w){if(!Nf(w))return br(w);var M=[];for(var G in Object(w))Oe.call(w,G)&&G!="constructor"&&M.push(G);return M}function Sa(w,M,G,le,Ne,Ee){var Me=G&i,Be=w.length,ut=M.length;if(Be!=ut&&!(Me&&ut>Be))return!1;var Ue=Ee.get(w);if(Ue&&Ee.get(M))return Ue==M;var Vt=-1,tn=!0,vt=G&o?new Sr:void 0;for(Ee.set(w,M),Ee.set(M,w);++Vt<Be;){var Bt=w[Vt],Dt=M[Vt];if(le)var ei=Me?le(Dt,Bt,Vt,M,w,Ee):le(Bt,Dt,Vt,w,M,Ee);if(ei!==void 0){if(ei)continue;tn=!1;break}if(vt){if(!se(M,function(Cr,Wi){if(!Q(vt,Wi)&&(Bt===Cr||Ne(Bt,Cr,G,le,Ee)))return vt.push(Wi)})){tn=!1;break}}else if(!(Bt===Dt||Ne(Bt,Dt,G,le,Ee))){tn=!1;break}}return Ee.delete(w),Ee.delete(M),tn}function Ef(w,M,G,le,Ne,Ee,Me){switch(G){case S:if(w.byteLength!=M.byteLength||w.byteOffset!=M.byteOffset)return!1;w=w.buffer,M=M.buffer;case O:return!(w.byteLength!=M.byteLength||!Ee(new At(w),new At(M)));case d:case c:case _:return ol(+w,+M);case f:return w.name==M.name&&w.message==M.message;case E:case T:return w==M+"";case v:var Be=ae;case k:var ut=le&i;if(Be||(Be=W),w.size!=M.size&&!ut)return!1;var Ue=Me.get(w);if(Ue)return Ue==M;le|=o,Me.set(w,M);var Vt=Sa(Be(w),Be(M),le,Ne,Ee,Me);return Me.delete(w),Vt;case A:if(wr)return wr.call(w)==wr.call(M)}return!1}function Of(w,M,G,le,Ne,Ee){var Me=G&i,Be=Ki(w),ut=Be.length,Ue=Ki(M),Vt=Ue.length;if(ut!=Vt&&!Me)return!1;for(var tn=ut;tn--;){var vt=Be[tn];if(!(Me?vt in M:Oe.call(M,vt)))return!1}var Bt=Ee.get(w);if(Bt&&Ee.get(M))return Bt==M;var Dt=!0;Ee.set(w,M),Ee.set(M,w);for(var ei=Me;++tn<ut;){vt=Be[tn];var Cr=w[vt],Wi=M[vt];if(le)var Vp=Me?le(Wi,Cr,vt,M,w,Ee):le(Cr,Wi,vt,w,M,Ee);if(!(Vp===void 0?Cr===Wi||Ne(Cr,Wi,G,le,Ee):Vp)){Dt=!1;break}ei||(ei=vt=="constructor")}if(Dt&&!ei){var ul=w.constructor,fl=M.constructor;ul!=fl&&"constructor"in w&&"constructor"in M&&!(typeof ul=="function"&&ul instanceof ul&&typeof fl=="function"&&fl instanceof fl)&&(Dt=!1)}return Ee.delete(w),Ee.delete(M),Dt}function Ki(w){return Aa(w,Ca,Tf)}function Vn(w,M){var G=w.__data__;return Af(M)?G[typeof M=="string"?"string":"hash"]:G.map}function Nr(w,M){var G=ne(w,M);return yf(G)?G:void 0}function kr(w){var M=Oe.call(w,gn),G=w[gn];try{w[gn]=void 0;var le=!0}catch{}var Ne=Jn.call(w);return le&&(M?w[gn]=G:delete w[gn]),Ne}var Tf=Zr?function(w){return w==null?[]:(w=Object(w),$(Zr(w),function(M){return mn.call(w,M)}))}:Cf,nr=qi;(Fi&&nr(new Fi(new ArrayBuffer(1)))!=S||_r&&nr(new _r)!=v||we&&nr(we.resolve())!=b||Pe&&nr(new Pe)!=k||Qe&&nr(new Qe)!=N)&&(nr=function(w){var M=qi(w),G=M==g?w.constructor:void 0,le=G?Yt(G):"";if(le)switch(le){case Gt:return S;case Ft:return v;case Er:return b;case Qn:return k;case Or:return N}return M});function wf(w,M){return M=M??a,!!M&&(typeof w=="number"||ee.test(w))&&w>-1&&w%1==0&&w<M}function Af(w){var M=typeof w;return M=="string"||M=="number"||M=="symbol"||M=="boolean"?w!=="__proto__":w===null}function Sf(w){return!!Ze&&Ze in w}function Nf(w){var M=w&&w.constructor,G=typeof M=="function"&&M.prototype||ve;return w===G}function il(w){return Jn.call(w)}function Yt(w){if(w!=null){try{return xe.call(w)}catch{}try{return w+""}catch{}}return""}function ol(w,M){return w===M||w!==w&&M!==M}var al=nl(function(){return arguments}())?nl:function(w){return rr(w)&&Oe.call(w,"callee")&&!mn.call(w,"callee")},ko=Array.isArray;function Na(w){return w!=null&&ka(w.length)&&!sl(w)}var Co=ji||Lf;function kf(w,M){return rl(w,M)}function sl(w){if(!ll(w))return!1;var M=qi(w);return M==p||M==y||M==u||M==h}function ka(w){return typeof w=="number"&&w>-1&&w%1==0&&w<=a}function ll(w){var M=typeof w;return w!=null&&(M=="object"||M=="function")}function rr(w){return w!=null&&typeof w=="object"}var cl=x?q(x):bf;function Ca(w){return Na(w)?gf(w):_f(w)}function Cf(){return[]}function Lf(){return!1}e.exports=kf})(fu,fu.exports);var jb=fu.exports,jp={},Fb=it.commonjsGlobal&&it.commonjsGlobal.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(jp,"__esModule",{value:!0});var t9=Fb(Hb),n9=Fb(jb),Lh;(function(e){function t(o,a,s){o===void 0&&(o={}),a===void 0&&(a={}),typeof o!="object"&&(o={}),typeof a!="object"&&(a={});var l=t9.default(a);s||(l=Object.keys(l).reduce(function(d,c){return l[c]!=null&&(d[c]=l[c]),d},{}));for(var u in o)o[u]!==void 0&&a[u]===void 0&&(l[u]=o[u]);return Object.keys(l).length>0?l:void 0}e.compose=t;function n(o,a){o===void 0&&(o={}),a===void 0&&(a={}),typeof o!="object"&&(o={}),typeof a!="object"&&(a={});var s=Object.keys(o).concat(Object.keys(a)).reduce(function(l,u){return n9.default(o[u],a[u])||(l[u]=a[u]===void 0?null:a[u]),l},{});return Object.keys(s).length>0?s:void 0}e.diff=n;function r(o,a){o===void 0&&(o={}),a===void 0&&(a={}),o=o||{};var s=Object.keys(a).reduce(function(l,u){return a[u]!==o[u]&&o[u]!==void 0&&(l[u]=a[u]),l},{});return Object.keys(o).reduce(function(l,u){return o[u]!==a[u]&&a[u]===void 0&&(l[u]=null),l},s)}e.invert=r;function i(o,a,s){if(s===void 0&&(s=!1),typeof o!="object")return a;if(typeof a=="object"){if(!s)return a;var l=Object.keys(a).reduce(function(u,d){return o[d]===void 0&&(u[d]=a[d]),u},{});return Object.keys(l).length>0?l:void 0}}e.transform=i})(Lh||(Lh={}));jp.default=Lh;var Ul={},ql={},H2;function r9(){if(H2)return ql;H2=1;var e=it.commonjsGlobal&&it.commonjsGlobal.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(ql,"__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 o=this.ops[this.index];if(o){var a=this.offset,s=t.default.length(o);if(i>=s-a?(i=s-a,this.index+=1,this.offset=0):this.offset+=i,typeof o.delete=="number")return{delete:i};var l={};return o.attributes&&(l.attributes=o.attributes),typeof o.retain=="number"?l.retain=i:typeof o.insert=="string"?l.insert=o.insert.substr(a,i):l.insert=o.insert,l}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,o=this.index,a=this.next(),s=this.ops.slice(this.index);return this.offset=i,this.index=o,[a].concat(s)}else return[]},r}();return ql.default=n,ql}var j2;function Vb(){if(j2)return Ul;j2=1;var e=it.commonjsGlobal&&it.commonjsGlobal.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Ul,"__esModule",{value:!0});var t=e(r9()),n;return function(r){function i(a){return new t.default(a)}r.iterator=i;function o(a){return typeof a.delete=="number"?a.delete:typeof a.retain=="number"?a.retain:typeof a.insert=="string"?a.insert.length:1}r.length=o}(n||(n={})),Ul.default=n,Ul}var tl=it.commonjsGlobal&&it.commonjsGlobal.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},Kl=tl(e9),i9=tl(Hb),ld=tl(jb),Ma=tl(jp),Ht=tl(Vb()),o9=String.fromCharCode(0),a9=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=i9.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(ld.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 o=t(i)?n:r;o.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+Ht.default.length(n):n.delete?t-n.delete:t},0)},e.prototype.length=function(){return this.reduce(function(t,n){return t+Ht.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=Ht.default.iterator(this.ops),o=0;o<n&&i.hasNext();){var a=void 0;o<t?a=i.next(t-o):(a=i.next(n-o),r.push(a)),o+=Ht.default.length(a)}return new e(r)},e.prototype.compose=function(t){var n=Ht.default.iterator(this.ops),r=Ht.default.iterator(t.ops),i=[],o=r.peek();if(o!=null&&typeof o.retain=="number"&&o.attributes==null){for(var a=o.retain;n.peekType()==="insert"&&n.peekLength()<=a;)a-=n.peekLength(),i.push(n.next());o.retain-a>0&&r.next(o.retain-a)}for(var s=new e(i);n.hasNext()||r.hasNext();)if(r.peekType()==="insert")s.push(r.next());else if(n.peekType()==="delete")s.push(n.next());else{var l=Math.min(n.peekLength(),r.peekLength()),u=n.next(l),d=r.next(l);if(typeof d.retain=="number"){var c={};typeof u.retain=="number"?c.retain=l:c.insert=u.insert;var f=Ma.default.compose(u.attributes,d.attributes,typeof u.retain=="number");if(f&&(c.attributes=f),s.push(c),!r.hasNext()&&ld.default(s.ops[s.ops.length-1],c)){var p=new e(n.rest());return s.concat(p).chop()}}else typeof d.delete=="number"&&typeof u.retain=="number"&&s.push(d)}return s.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(l){return l.map(function(u){if(u.insert!=null)return typeof u.insert=="string"?u.insert:o9;var d=l===t?"on":"with";throw new Error("diff() called "+d+" non-document")}).join("")}),i=new e,o=Kl.default(r[0],r[1],n),a=Ht.default.iterator(this.ops),s=Ht.default.iterator(t.ops);return o.forEach(function(l){for(var u=l[1].length;u>0;){var d=0;switch(l[0]){case Kl.default.INSERT:d=Math.min(s.peekLength(),u),i.push(s.next(d));break;case Kl.default.DELETE:d=Math.min(u,a.peekLength()),a.next(d),i.delete(d);break;case Kl.default.EQUAL:d=Math.min(a.peekLength(),s.peekLength(),u);var c=a.next(d),f=s.next(d);ld.default(c.insert,f.insert)?i.retain(d,Ma.default.diff(c.attributes,f.attributes)):i.push(f).delete(d);break}u-=d}}),i.chop()},e.prototype.eachLine=function(t,n){n===void 0&&(n=`
|
|
826
|
+
`);return j.insert(z,I.attributes)}return j.push(I)},new u.default)}r.default=B},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.Range=void 0;var o=function(){function A(C,N){var O=[],S=!0,L=!1,R=void 0;try{for(var D=C[Symbol.iterator](),B;!(S=(B=D.next()).done)&&(O.push(B.value),!(N&&O.length===N));S=!0);}catch(q){L=!0,R=q}finally{try{!S&&D.return&&D.return()}finally{if(L)throw R}}return O}return function(C,N){if(Array.isArray(C))return C;if(Symbol.iterator in Object(C))return A(C,N);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a=function(){function A(C,N){for(var O=0;O<N.length;O++){var S=N[O];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(C,S.key,S)}}return function(C,N,O){return N&&A(C.prototype,N),O&&A(C,O),C}}(),s=i(0),l=m(s),u=i(21),d=m(u),c=i(11),f=m(c),p=i(8),y=m(p),v=i(10),_=m(v);function m(A){return A&&A.__esModule?A:{default:A}}function g(A){if(Array.isArray(A)){for(var C=0,N=Array(A.length);C<A.length;C++)N[C]=A[C];return N}else return Array.from(A)}function b(A,C){if(!(A instanceof C))throw new TypeError("Cannot call a class as a function")}var h=(0,_.default)("quill:selection"),E=function A(C){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;b(this,A),this.index=C,this.length=N},k=function(){function A(C,N){var O=this;b(this,A),this.emitter=N,this.scroll=C,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=l.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(S,L){S===y.default.events.TEXT_CHANGE&&L.length()>0&&O.update(y.default.sources.SILENT)}),this.emitter.on(y.default.events.SCROLL_BEFORE_UPDATE,function(){if(O.hasFocus()){var S=O.getNativeRange();S!=null&&S.start.node!==O.cursor.textNode&&O.emitter.once(y.default.events.SCROLL_UPDATE,function(){try{O.setNativeRange(S.start.node,S.start.offset,S.end.node,S.end.offset)}catch{}})}}),this.emitter.on(y.default.events.SCROLL_OPTIMIZE,function(S,L){if(L.range){var R=L.range,D=R.startNode,B=R.startOffset,q=R.endNode,re=R.endOffset;O.setNativeRange(D,B,q,re)}}),this.update(y.default.sources.SILENT)}return a(A,[{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 S=this.getNativeRange();if(!(S==null||!S.native.collapsed||l.default.query(N,l.default.Scope.BLOCK))){if(S.start.node!==this.cursor.textNode){var L=l.default.find(S.start.node,!1);if(L==null)return;if(L instanceof l.default.Leaf){var R=L.split(S.start.offset);L.parent.insertBefore(this.cursor,R)}else L.insertBefore(this.cursor,S.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,S=this.scroll.length();N=Math.min(N,S-1),O=Math.min(N+O,S-1)-N;var L=void 0,R=this.scroll.leaf(N),D=o(R,2),B=D[0],q=D[1];if(B==null)return null;var re=B.position(q,!0),Y=o(re,2);L=Y[0],q=Y[1];var j=document.createRange();if(O>0){j.setStart(L,q);var I=this.scroll.leaf(N+O),F=o(I,2);if(B=F[0],q=F[1],B==null)return null;var z=B.position(q,!0),te=o(z,2);return L=te[0],q=te[1],j.setEnd(L,q),j.getBoundingClientRect()}else{var J="left",H=void 0;return L instanceof Text?(q<L.data.length?(j.setStart(L,q),j.setEnd(L,q+1)):(j.setStart(L,q-1),j.setEnd(L,q),J="right"),H=j.getBoundingClientRect()):(H=B.domNode.getBoundingClientRect(),q>0&&(J="right")),{bottom:H.top+H.height,height:H.height,left:H[J],right:H[J],top:H.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 S=this.normalizeNative(O);return h.info("getNativeRange",S),S}},{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,S=[[N.start.node,N.start.offset]];N.native.collapsed||S.push([N.end.node,N.end.offset]);var L=S.map(function(B){var q=o(B,2),re=q[0],Y=q[1],j=l.default.find(re,!0),I=j.offset(O.scroll);return Y===0?I:j instanceof l.default.Container?I+j.length():I+j.index(re,Y)}),R=Math.min(Math.max.apply(Math,g(L)),this.scroll.length()-1),D=Math.min.apply(Math,[R].concat(g(L)));return new E(D,R-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(S){for(var L=S.node,R=S.offset;!(L instanceof Text)&&L.childNodes.length>0;)if(L.childNodes.length>R)L=L.childNodes[R],R=0;else if(L.childNodes.length===R)L=L.lastChild,R=L instanceof Text?L.data.length:L.childNodes.length+1;else break;S.node=L,S.offset=R}),O}},{key:"rangeToNative",value:function(N){var O=this,S=N.collapsed?[N.index]:[N.index,N.index+N.length],L=[],R=this.scroll.length();return S.forEach(function(D,B){D=Math.min(R-1,D);var q=void 0,re=O.scroll.leaf(D),Y=o(re,2),j=Y[0],I=Y[1],F=j.position(I,B!==0),z=o(F,2);q=z[0],I=z[1],L.push(q,I)}),L.length<2&&(L=L.concat(L)),L}},{key:"scrollIntoView",value:function(N){var O=this.lastRange;if(O!=null){var S=this.getBounds(O.index,O.length);if(S!=null){var L=this.scroll.length()-1,R=this.scroll.line(Math.min(O.index,L)),D=o(R,1),B=D[0],q=B;if(O.length>0){var re=this.scroll.line(Math.min(O.index+O.length,L)),Y=o(re,1);q=Y[0]}if(!(B==null||q==null)){var j=N.getBoundingClientRect();S.top<j.top?N.scrollTop-=j.top-S.top:S.bottom>j.bottom&&(N.scrollTop+=S.bottom-j.bottom)}}}}},{key:"setNativeRange",value:function(N,O){var S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:N,L=arguments.length>3&&arguments[3]!==void 0?arguments[3]:O,R=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(h.info("setNativeRange",N,O,S,L),!(N!=null&&(this.root.parentNode==null||N.parentNode==null||S.parentNode==null))){var D=document.getSelection();if(D!=null)if(N!=null){this.hasFocus()||this.root.focus();var B=(this.getNativeRange()||{}).native;if(B==null||R||N!==B.startContainer||O!==B.startOffset||S!==B.endContainer||L!==B.endOffset){N.tagName=="BR"&&(O=[].indexOf.call(N.parentNode.childNodes,N),N=N.parentNode),S.tagName=="BR"&&(L=[].indexOf.call(S.parentNode.childNodes,S),S=S.parentNode);var q=document.createRange();q.setStart(N,O),q.setEnd(S,L),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,S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:y.default.sources.API;if(typeof O=="string"&&(S=O,O=!1),h.info("setRange",N),N!=null){var L=this.rangeToNative(N);this.setNativeRange.apply(this,g(L).concat([O]))}else this.setNativeRange(null);this.update(S)}},{key:"update",value:function(){var N=arguments.length>0&&arguments[0]!==void 0?arguments[0]:y.default.sources.USER,O=this.lastRange,S=this.getRange(),L=o(S,2),R=L[0],D=L[1];if(this.lastRange=R,this.lastRange!=null&&(this.savedRange=this.lastRange),!(0,f.default)(O,this.lastRange)){var B;!this.composing&&D!=null&&D.native.collapsed&&D.start.node!==this.cursor.textNode&&this.cursor.restore();var q=[y.default.events.SELECTION_CHANGE,(0,d.default)(this.lastRange),(0,d.default)(O),N];if((B=this.emitter).emit.apply(B,[y.default.events.EDITOR_CHANGE].concat(q)),N!==y.default.sources.SILENT){var re;(re=this.emitter).emit.apply(re,q)}}}}]),A}();function T(A,C){try{C.parentNode}catch{return!1}return C instanceof Text&&(C=C.parentNode),A.contains(C)}r.Range=E,r.default=k},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var o=function(){function y(v,_){for(var m=0;m<_.length;m++){var g=_[m];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(v,g.key,g)}}return function(v,_,m){return _&&y(v.prototype,_),m&&y(v,m),v}}(),a=function y(v,_,m){v===null&&(v=Function.prototype);var g=Object.getOwnPropertyDescriptor(v,_);if(g===void 0){var b=Object.getPrototypeOf(v);return b===null?void 0:y(b,_,m)}else{if("value"in g)return g.value;var h=g.get;return h===void 0?void 0:h.call(m)}},s=i(0),l=u(s);function u(y){return y&&y.__esModule?y:{default:y}}function d(y,v){if(!(y instanceof v))throw new TypeError("Cannot call a class as a function")}function c(y,v){if(!y)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return v&&(typeof v=="object"||typeof v=="function")?v:y}function f(y,v){if(typeof v!="function"&&v!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof v);y.prototype=Object.create(v&&v.prototype,{constructor:{value:y,enumerable:!1,writable:!0,configurable:!0}}),v&&(Object.setPrototypeOf?Object.setPrototypeOf(y,v):y.__proto__=v)}var p=function(y){f(v,y);function v(){return d(this,v),c(this,(v.__proto__||Object.getPrototypeOf(v)).apply(this,arguments))}return o(v,[{key:"insertInto",value:function(m,g){m.children.length===0?a(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"insertInto",this).call(this,m,g):this.remove()}},{key:"length",value:function(){return 0}},{key:"value",value:function(){return""}}],[{key:"value",value:function(){}}]),v}(l.default.Embed);p.blotName="break",p.tagName="BR",r.default=p},function(n,r,i){var o=this&&this.__extends||function(){var c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,p){f.__proto__=p}||function(f,p){for(var y in p)p.hasOwnProperty(y)&&(f[y]=p[y])};return function(f,p){c(f,p);function y(){this.constructor=f}f.prototype=p===null?Object.create(p):(y.prototype=p.prototype,new y)}}();Object.defineProperty(r,"__esModule",{value:!0});var a=i(44),s=i(30),l=i(1),u=function(c){o(f,c);function f(p){var y=c.call(this,p)||this;return y.build(),y}return f.prototype.appendChild=function(p){this.insertBefore(p)},f.prototype.attach=function(){c.prototype.attach.call(this),this.children.forEach(function(p){p.attach()})},f.prototype.build=function(){var p=this;this.children=new a.default,[].slice.call(this.domNode.childNodes).reverse().forEach(function(y){try{var v=d(y);p.insertBefore(v,p.children.head||void 0)}catch(_){if(_ instanceof l.ParchmentError)return;throw _}})},f.prototype.deleteAt=function(p,y){if(p===0&&y===this.length())return this.remove();this.children.forEachAt(p,y,function(v,_,m){v.deleteAt(_,m)})},f.prototype.descendant=function(p,y){var v=this.children.find(y),_=v[0],m=v[1];return p.blotName==null&&p(_)||p.blotName!=null&&_ instanceof p?[_,m]:_ instanceof f?_.descendant(p,m):[null,-1]},f.prototype.descendants=function(p,y,v){y===void 0&&(y=0),v===void 0&&(v=Number.MAX_VALUE);var _=[],m=v;return this.children.forEachAt(y,v,function(g,b,h){(p.blotName==null&&p(g)||p.blotName!=null&&g instanceof p)&&_.push(g),g instanceof f&&(_=_.concat(g.descendants(p,b,m))),m-=h}),_},f.prototype.detach=function(){this.children.forEach(function(p){p.detach()}),c.prototype.detach.call(this)},f.prototype.formatAt=function(p,y,v,_){this.children.forEachAt(p,y,function(m,g,b){m.formatAt(g,b,v,_)})},f.prototype.insertAt=function(p,y,v){var _=this.children.find(p),m=_[0],g=_[1];if(m)m.insertAt(g,y,v);else{var b=v==null?l.create("text",y):l.create(y,v);this.appendChild(b)}},f.prototype.insertBefore=function(p,y){if(this.statics.allowedChildren!=null&&!this.statics.allowedChildren.some(function(v){return p instanceof v}))throw new l.ParchmentError("Cannot insert "+p.statics.blotName+" into "+this.statics.blotName);p.insertInto(this,y)},f.prototype.length=function(){return this.children.reduce(function(p,y){return p+y.length()},0)},f.prototype.moveChildren=function(p,y){this.children.forEach(function(v){p.insertBefore(v,y)})},f.prototype.optimize=function(p){if(c.prototype.optimize.call(this,p),this.children.length===0)if(this.statics.defaultChild!=null){var y=l.create(this.statics.defaultChild);this.appendChild(y),y.optimize(p)}else this.remove()},f.prototype.path=function(p,y){y===void 0&&(y=!1);var v=this.children.find(p,y),_=v[0],m=v[1],g=[[this,p]];return _ instanceof f?g.concat(_.path(m,y)):(_!=null&&g.push([_,m]),g)},f.prototype.removeChild=function(p){this.children.remove(p)},f.prototype.replace=function(p){p instanceof f&&p.moveChildren(this),c.prototype.replace.call(this,p)},f.prototype.split=function(p,y){if(y===void 0&&(y=!1),!y){if(p===0)return this;if(p===this.length())return this.next}var v=this.clone();return this.parent.insertBefore(v,this.next),this.children.forEachAt(p,this.length(),function(_,m,g){_=_.split(m,y),v.appendChild(_)}),v},f.prototype.unwrap=function(){this.moveChildren(this.parent,this.next),this.remove()},f.prototype.update=function(p,y){var v=this,_=[],m=[];p.forEach(function(g){g.target===v.domNode&&g.type==="childList"&&(_.push.apply(_,g.addedNodes),m.push.apply(m,g.removedNodes))}),m.forEach(function(g){if(!(g.parentNode!=null&&g.tagName!=="IFRAME"&&document.body.compareDocumentPosition(g)&Node.DOCUMENT_POSITION_CONTAINED_BY)){var b=l.find(g);b!=null&&(b.domNode.parentNode==null||b.domNode.parentNode===v.domNode)&&b.detach()}}),_.filter(function(g){return g.parentNode==v.domNode}).sort(function(g,b){return g===b?0:g.compareDocumentPosition(b)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1}).forEach(function(g){var b=null;g.nextSibling!=null&&(b=l.find(g.nextSibling));var h=d(g);(h.next!=b||h.next==null)&&(h.parent!=null&&h.parent.removeChild(v),v.insertBefore(h,b||void 0))})},f}(s.default);function d(c){var f=l.find(c);if(f==null)try{f=l.create(c)}catch{f=l.create(l.Scope.INLINE),[].slice.call(c.childNodes).forEach(function(y){f.domNode.appendChild(y)}),c.parentNode&&c.parentNode.replaceChild(f.domNode,c),f.attach()}return f}r.default=u},function(n,r,i){var o=this&&this.__extends||function(){var c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,p){f.__proto__=p}||function(f,p){for(var y in p)p.hasOwnProperty(y)&&(f[y]=p[y])};return function(f,p){c(f,p);function y(){this.constructor=f}f.prototype=p===null?Object.create(p):(y.prototype=p.prototype,new y)}}();Object.defineProperty(r,"__esModule",{value:!0});var a=i(12),s=i(31),l=i(17),u=i(1),d=function(c){o(f,c);function f(p){var y=c.call(this,p)||this;return y.attributes=new s.default(y.domNode),y}return f.formats=function(p){if(typeof this.tagName=="string")return!0;if(Array.isArray(this.tagName))return p.tagName.toLowerCase()},f.prototype.format=function(p,y){var v=u.query(p);v instanceof a.default?this.attributes.attribute(v,y):y&&v!=null&&(p!==this.statics.blotName||this.formats()[p]!==y)&&this.replaceWith(p,y)},f.prototype.formats=function(){var p=this.attributes.values(),y=this.statics.formats(this.domNode);return y!=null&&(p[this.statics.blotName]=y),p},f.prototype.replaceWith=function(p,y){var v=c.prototype.replaceWith.call(this,p,y);return this.attributes.copy(v),v},f.prototype.update=function(p,y){var v=this;c.prototype.update.call(this,p,y),p.some(function(_){return _.target===v.domNode&&_.type==="attributes"})&&this.attributes.build()},f.prototype.wrap=function(p,y){var v=c.prototype.wrap.call(this,p,y);return v instanceof f&&v.statics.scope===this.statics.scope&&this.attributes.move(v),v},f}(l.default);r.default=d},function(n,r,i){var o=this&&this.__extends||function(){var u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,c){d.__proto__=c}||function(d,c){for(var f in c)c.hasOwnProperty(f)&&(d[f]=c[f])};return function(d,c){u(d,c);function f(){this.constructor=d}d.prototype=c===null?Object.create(c):(f.prototype=c.prototype,new f)}}();Object.defineProperty(r,"__esModule",{value:!0});var a=i(30),s=i(1),l=function(u){o(d,u);function d(){return u!==null&&u.apply(this,arguments)||this}return d.value=function(c){return!0},d.prototype.index=function(c,f){return this.domNode===c||this.domNode.compareDocumentPosition(c)&Node.DOCUMENT_POSITION_CONTAINED_BY?Math.min(f,1):-1},d.prototype.position=function(c,f){var p=[].indexOf.call(this.parent.domNode.childNodes,this.domNode);return c>0&&(p+=1),[this.parent.domNode,p]},d.prototype.value=function(){var c;return c={},c[this.statics.blotName]=this.statics.value(this.domNode)||!0,c},d.scope=s.Scope.INLINE_BLOT,d}(a.default);r.default=l},function(n,r,i){var o=i(11),a=i(3),s={attributes:{compose:function(u,d,c){typeof u!="object"&&(u={}),typeof d!="object"&&(d={});var f=a(!0,{},d);c||(f=Object.keys(f).reduce(function(y,v){return f[v]!=null&&(y[v]=f[v]),y},{}));for(var p in u)u[p]!==void 0&&d[p]===void 0&&(f[p]=u[p]);return Object.keys(f).length>0?f:void 0},diff:function(u,d){typeof u!="object"&&(u={}),typeof d!="object"&&(d={});var c=Object.keys(u).concat(Object.keys(d)).reduce(function(f,p){return o(u[p],d[p])||(f[p]=d[p]===void 0?null:d[p]),f},{});return Object.keys(c).length>0?c:void 0},transform:function(u,d,c){if(typeof u!="object")return d;if(typeof d=="object"){if(!c)return d;var f=Object.keys(d).reduce(function(p,y){return u[y]===void 0&&(p[y]=d[y]),p},{});return Object.keys(f).length>0?f:void 0}}},iterator:function(u){return new l(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 l(u){this.ops=u,this.index=0,this.offset=0}l.prototype.hasNext=function(){return this.peekLength()<1/0},l.prototype.next=function(u){u||(u=1/0);var d=this.ops[this.index];if(d){var c=this.offset,f=s.length(d);if(u>=f-c?(u=f-c,this.index+=1,this.offset=0):this.offset+=u,typeof d.delete=="number")return{delete:u};var p={};return d.attributes&&(p.attributes=d.attributes),typeof d.retain=="number"?p.retain=u:typeof d.insert=="string"?p.insert=d.insert.substr(c,u):p.insert=d.insert,p}else return{retain:1/0}},l.prototype.peek=function(){return this.ops[this.index]},l.prototype.peekLength=function(){return this.ops[this.index]?s.length(this.ops[this.index])-this.offset:1/0},l.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"},l.prototype.rest=function(){if(this.hasNext()){if(this.offset===0)return this.ops.slice(this.index);var u=this.offset,d=this.index,c=this.next(),f=this.ops.slice(this.index);return this.offset=u,this.index=d,[c].concat(f)}else return[]},n.exports=s},function(n,r){var i=function(){function o(v,_){return _!=null&&v instanceof _}var a;try{a=Map}catch{a=function(){}}var s;try{s=Set}catch{s=function(){}}var l;try{l=Promise}catch{l=function(){}}function u(v,_,m,g,b){typeof _=="object"&&(m=_.depth,g=_.prototype,b=_.includeNonEnumerable,_=_.circular);var h=[],E=[],k=typeof Buffer<"u";typeof _>"u"&&(_=!0),typeof m>"u"&&(m=1/0);function T(A,C){if(A===null)return null;if(C===0)return A;var N,O;if(typeof A!="object")return A;if(o(A,a))N=new a;else if(o(A,s))N=new s;else if(o(A,l))N=new l(function(j,I){A.then(function(F){j(T(F,C-1))},function(F){I(T(F,C-1))})});else if(u.__isArray(A))N=[];else if(u.__isRegExp(A))N=new RegExp(A.source,y(A)),A.lastIndex&&(N.lastIndex=A.lastIndex);else if(u.__isDate(A))N=new Date(A.getTime());else{if(k&&Buffer.isBuffer(A))return Buffer.allocUnsafe?N=Buffer.allocUnsafe(A.length):N=new Buffer(A.length),A.copy(N),N;o(A,Error)?N=Object.create(A):typeof g>"u"?(O=Object.getPrototypeOf(A),N=Object.create(O)):(N=Object.create(g),O=g)}if(_){var S=h.indexOf(A);if(S!=-1)return E[S];h.push(A),E.push(N)}o(A,a)&&A.forEach(function(j,I){var F=T(I,C-1),z=T(j,C-1);N.set(F,z)}),o(A,s)&&A.forEach(function(j){var I=T(j,C-1);N.add(I)});for(var L in A){var R;O&&(R=Object.getOwnPropertyDescriptor(O,L)),!(R&&R.set==null)&&(N[L]=T(A[L],C-1))}if(Object.getOwnPropertySymbols)for(var D=Object.getOwnPropertySymbols(A),L=0;L<D.length;L++){var B=D[L],q=Object.getOwnPropertyDescriptor(A,B);q&&!q.enumerable&&!b||(N[B]=T(A[B],C-1),q.enumerable||Object.defineProperty(N,B,{enumerable:!1}))}if(b)for(var re=Object.getOwnPropertyNames(A),L=0;L<re.length;L++){var Y=re[L],q=Object.getOwnPropertyDescriptor(A,Y);q&&q.enumerable||(N[Y]=T(A[Y],C-1),Object.defineProperty(N,Y,{enumerable:!1}))}return N}return T(v,m)}u.clonePrototype=function(_){if(_===null)return null;var m=function(){};return m.prototype=_,new m};function d(v){return Object.prototype.toString.call(v)}u.__objToStr=d;function c(v){return typeof v=="object"&&d(v)==="[object Date]"}u.__isDate=c;function f(v){return typeof v=="object"&&d(v)==="[object Array]"}u.__isArray=f;function p(v){return typeof v=="object"&&d(v)==="[object RegExp]"}u.__isRegExp=p;function y(v){var _="";return v.global&&(_+="g"),v.ignoreCase&&(_+="i"),v.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 o=function(){function N(O,S){var L=[],R=!0,D=!1,B=void 0;try{for(var q=O[Symbol.iterator](),re;!(R=(re=q.next()).done)&&(L.push(re.value),!(S&&L.length===S));R=!0);}catch(Y){D=!0,B=Y}finally{try{!R&&q.return&&q.return()}finally{if(D)throw B}}return L}return function(O,S){if(Array.isArray(O))return O;if(Symbol.iterator in Object(O))return N(O,S);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a=function(){function N(O,S){for(var L=0;L<S.length;L++){var R=S[L];R.enumerable=R.enumerable||!1,R.configurable=!0,"value"in R&&(R.writable=!0),Object.defineProperty(O,R.key,R)}}return function(O,S,L){return S&&N(O.prototype,S),L&&N(O,L),O}}(),s=function N(O,S,L){O===null&&(O=Function.prototype);var R=Object.getOwnPropertyDescriptor(O,S);if(R===void 0){var D=Object.getPrototypeOf(O);return D===null?void 0:N(D,S,L)}else{if("value"in R)return R.value;var B=R.get;return B===void 0?void 0:B.call(L)}},l=i(0),u=h(l),d=i(8),c=h(d),f=i(4),p=h(f),y=i(16),v=h(y),_=i(13),m=h(_),g=i(25),b=h(g);function h(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 A(N){return N instanceof p.default||N instanceof f.BlockEmbed}var C=function(N){T(O,N);function O(S,L){E(this,O);var R=k(this,(O.__proto__||Object.getPrototypeOf(O)).call(this,S));return R.emitter=L.emitter,Array.isArray(L.whitelist)&&(R.whitelist=L.whitelist.reduce(function(D,B){return D[B]=!0,D},{})),R.domNode.addEventListener("DOMNodeInserted",function(){}),R.optimize(),R.enable(),R}return a(O,[{key:"batchStart",value:function(){this.batch=!0}},{key:"batchEnd",value:function(){this.batch=!1,this.optimize()}},{key:"deleteAt",value:function(L,R){var D=this.line(L),B=o(D,2),q=B[0],re=B[1],Y=this.line(L+R),j=o(Y,1),I=j[0];if(s(O.prototype.__proto__||Object.getPrototypeOf(O.prototype),"deleteAt",this).call(this,L,R),I!=null&&q!==I&&re>0){if(q instanceof f.BlockEmbed||I instanceof f.BlockEmbed){this.optimize();return}if(q instanceof m.default){var F=q.newlineIndex(q.length(),!0);if(F>-1&&(q=q.split(F+1),q===I)){this.optimize();return}}else if(I instanceof m.default){var z=I.newlineIndex(0);z>-1&&I.split(z+1)}var te=I.children.head instanceof v.default?null:I.children.head;q.moveChildren(I,te),q.remove()}this.optimize()}},{key:"enable",value:function(){var L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;this.domNode.setAttribute("contenteditable",L)}},{key:"formatAt",value:function(L,R,D,B){this.whitelist!=null&&!this.whitelist[D]||(s(O.prototype.__proto__||Object.getPrototypeOf(O.prototype),"formatAt",this).call(this,L,R,D,B),this.optimize())}},{key:"insertAt",value:function(L,R,D){if(!(D!=null&&this.whitelist!=null&&!this.whitelist[R])){if(L>=this.length())if(D==null||u.default.query(R,u.default.Scope.BLOCK)==null){var B=u.default.create(this.statics.defaultChild);this.appendChild(B),D==null&&R.endsWith(`
|
|
827
|
+
`)&&(R=R.slice(0,-1)),B.insertAt(0,R,D)}else{var q=u.default.create(R,D);this.appendChild(q)}else s(O.prototype.__proto__||Object.getPrototypeOf(O.prototype),"insertAt",this).call(this,L,R,D);this.optimize()}}},{key:"insertBefore",value:function(L,R){if(L.statics.scope===u.default.Scope.INLINE_BLOT){var D=u.default.create(this.statics.defaultChild);D.appendChild(L),L=D}s(O.prototype.__proto__||Object.getPrototypeOf(O.prototype),"insertBefore",this).call(this,L,R)}},{key:"leaf",value:function(L){return this.path(L).pop()||[null,-1]}},{key:"line",value:function(L){return L===this.length()?this.line(L-1):this.descendant(A,L)}},{key:"lines",value:function(){var L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Number.MAX_VALUE,D=function B(q,re,Y){var j=[],I=Y;return q.children.forEachAt(re,Y,function(F,z,te){A(F)?j.push(F):F instanceof u.default.Container&&(j=j.concat(B(F,z,I))),I-=te}),j};return D(this,L,R)}},{key:"optimize",value:function(){var L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.batch!==!0&&(s(O.prototype.__proto__||Object.getPrototypeOf(O.prototype),"optimize",this).call(this,L,R),L.length>0&&this.emitter.emit(c.default.events.SCROLL_OPTIMIZE,L,R))}},{key:"path",value:function(L){return s(O.prototype.__proto__||Object.getPrototypeOf(O.prototype),"path",this).call(this,L).slice(1)}},{key:"update",value:function(L){if(this.batch!==!0){var R=c.default.sources.USER;typeof L=="string"&&(R=L),Array.isArray(L)||(L=this.observer.takeRecords()),L.length>0&&this.emitter.emit(c.default.events.SCROLL_BEFORE_UPDATE,R,L),s(O.prototype.__proto__||Object.getPrototypeOf(O.prototype),"update",this).call(this,L.concat([])),L.length>0&&this.emitter.emit(c.default.events.SCROLL_UPDATE,R,L)}}}]),O}(u.default.Scroll);C.blotName="scroll",C.className="ql-editor",C.tagName="DIV",C.defaultChild="block",C.allowedChildren=[p.default,f.BlockEmbed,b.default],r.default=C},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.SHORTKEY=r.default=void 0;var o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(H){return typeof H}:function(H){return H&&typeof Symbol=="function"&&H.constructor===Symbol&&H!==Symbol.prototype?"symbol":typeof H},a=function(){function H(X,ie){var oe=[],ue=!0,he=!1,V=void 0;try{for(var P=X[Symbol.iterator](),x;!(ue=(x=P.next()).done)&&(oe.push(x.value),!(ie&&oe.length===ie));ue=!0);}catch($){he=!0,V=$}finally{try{!ue&&P.return&&P.return()}finally{if(he)throw V}}return oe}return function(X,ie){if(Array.isArray(X))return X;if(Symbol.iterator in Object(X))return H(X,ie);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),s=function(){function H(X,ie){for(var oe=0;oe<ie.length;oe++){var ue=ie[oe];ue.enumerable=ue.enumerable||!1,ue.configurable=!0,"value"in ue&&(ue.writable=!0),Object.defineProperty(X,ue.key,ue)}}return function(X,ie,oe){return ie&&H(X.prototype,ie),oe&&H(X,oe),X}}(),l=i(21),u=N(l),d=i(11),c=N(d),f=i(3),p=N(f),y=i(2),v=N(y),_=i(20),m=N(_),g=i(0),b=N(g),h=i(5),E=N(h),k=i(10),T=N(k),A=i(9),C=N(A);function N(H){return H&&H.__esModule?H:{default:H}}function O(H,X,ie){return X in H?Object.defineProperty(H,X,{value:ie,enumerable:!0,configurable:!0,writable:!0}):H[X]=ie,H}function S(H,X){if(!(H instanceof X))throw new TypeError("Cannot call a class as a function")}function L(H,X){if(!H)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return X&&(typeof X=="object"||typeof X=="function")?X:H}function R(H,X){if(typeof X!="function"&&X!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof X);H.prototype=Object.create(X&&X.prototype,{constructor:{value:H,enumerable:!1,writable:!0,configurable:!0}}),X&&(Object.setPrototypeOf?Object.setPrototypeOf(H,X):H.__proto__=X)}var D=(0,T.default)("quill:keyboard"),B=/Mac/i.test(navigator.platform)?"metaKey":"ctrlKey",q=function(H){R(X,H),s(X,null,[{key:"match",value:function(oe,ue){return ue=J(ue),["altKey","ctrlKey","metaKey","shiftKey"].some(function(he){return!!ue[he]!==oe[he]&&ue[he]!==null})?!1:ue.key===(oe.which||oe.keyCode)}}]);function X(ie,oe){S(this,X);var ue=L(this,(X.__proto__||Object.getPrototypeOf(X)).call(this,ie,oe));return ue.bindings={},Object.keys(ue.options.bindings).forEach(function(he){he==="list autofill"&&ie.scroll.whitelist!=null&&!ie.scroll.whitelist.list||ue.options.bindings[he]&&ue.addBinding(ue.options.bindings[he])}),ue.addBinding({key:X.keys.ENTER,shiftKey:null},F),ue.addBinding({key:X.keys.ENTER,metaKey:null,ctrlKey:null,altKey:null},function(){}),/Firefox/i.test(navigator.userAgent)?(ue.addBinding({key:X.keys.BACKSPACE},{collapsed:!0},Y),ue.addBinding({key:X.keys.DELETE},{collapsed:!0},j)):(ue.addBinding({key:X.keys.BACKSPACE},{collapsed:!0,prefix:/^.?$/},Y),ue.addBinding({key:X.keys.DELETE},{collapsed:!0,suffix:/^.?$/},j)),ue.addBinding({key:X.keys.BACKSPACE},{collapsed:!1},I),ue.addBinding({key:X.keys.DELETE},{collapsed:!1},I),ue.addBinding({key:X.keys.BACKSPACE,altKey:null,ctrlKey:null,metaKey:null,shiftKey:null},{collapsed:!0,offset:0},Y),ue.listen(),ue}return s(X,[{key:"addBinding",value:function(oe){var ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},he=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},V=J(oe);if(V==null||V.key==null)return D.warn("Attempted to add invalid keyboard binding",V);typeof ue=="function"&&(ue={handler:ue}),typeof he=="function"&&(he={handler:he}),V=(0,p.default)(V,ue,he),this.bindings[V.key]=this.bindings[V.key]||[],this.bindings[V.key].push(V)}},{key:"listen",value:function(){var oe=this;this.quill.root.addEventListener("keydown",function(ue){if(!ue.defaultPrevented){var he=ue.which||ue.keyCode,V=(oe.bindings[he]||[]).filter(function(Oe){return X.match(ue,Oe)});if(V.length!==0){var P=oe.quill.getSelection();if(!(P==null||!oe.quill.hasFocus())){var x=oe.quill.getLine(P.index),$=a(x,2),Z=$[0],se=$[1],U=oe.quill.getLeaf(P.index),G=a(U,2),ee=G[0],Q=G[1],ae=P.length===0?[ee,Q]:oe.quill.getLeaf(P.index+P.length),le=a(ae,2),K=le[0],ne=le[1],pe=ee instanceof b.default.Text?ee.value().slice(0,Q):"",ve=K instanceof b.default.Text?K.value().slice(ne):"",ge={collapsed:P.length===0,empty:P.length===0&&Z.length()<=1,format:oe.quill.getFormat(P),offset:se,prefix:pe,suffix:ve},xe=V.some(function(Oe){if(Oe.collapsed!=null&&Oe.collapsed!==ge.collapsed||Oe.empty!=null&&Oe.empty!==ge.empty||Oe.offset!=null&&Oe.offset!==ge.offset)return!1;if(Array.isArray(Oe.format)){if(Oe.format.every(function(Ze){return ge.format[Ze]==null}))return!1}else if(o(Oe.format)==="object"&&!Object.keys(Oe.format).every(function(Ze){return Oe.format[Ze]===!0?ge.format[Ze]!=null:Oe.format[Ze]===!1?ge.format[Ze]==null:(0,c.default)(Oe.format[Ze],ge.format[Ze])}))return!1;return Oe.prefix!=null&&!Oe.prefix.test(ge.prefix)||Oe.suffix!=null&&!Oe.suffix.test(ge.suffix)?!1:Oe.handler.call(oe,P,ge)!==!0});xe&&ue.preventDefault()}}}})}}]),X}(C.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:te("bold"),italic:te("italic"),underline:te("underline"),indent:{key:q.keys.TAB,format:["blockquote","indent","list"],handler:function(X,ie){if(ie.collapsed&&ie.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(X,ie){if(ie.collapsed&&ie.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(X,ie){ie.format.indent!=null?this.quill.format("indent","-1",E.default.sources.USER):ie.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(X){this.quill.deleteText(X.index-1,1,E.default.sources.USER)}},tab:{key:q.keys.TAB,handler:function(X){this.quill.history.cutoff();var ie=new v.default().retain(X.index).delete(X.length).insert(" ");this.quill.updateContents(ie,E.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(X.index+1,E.default.sources.SILENT)}},"list empty enter":{key:q.keys.ENTER,collapsed:!0,format:["list"],empty:!0,handler:function(X,ie){this.quill.format("list",!1,E.default.sources.USER),ie.format.indent&&this.quill.format("indent",!1,E.default.sources.USER)}},"checklist enter":{key:q.keys.ENTER,collapsed:!0,format:{list:"checked"},handler:function(X){var ie=this.quill.getLine(X.index),oe=a(ie,2),ue=oe[0],he=oe[1],V=(0,p.default)({},ue.formats(),{list:"checked"}),P=new v.default().retain(X.index).insert(`
|
|
828
|
+
`,V).retain(ue.length()-he-1).retain(1,{list:"unchecked"});this.quill.updateContents(P,E.default.sources.USER),this.quill.setSelection(X.index+1,E.default.sources.SILENT),this.quill.scrollIntoView()}},"header enter":{key:q.keys.ENTER,collapsed:!0,format:["header"],suffix:/^$/,handler:function(X,ie){var oe=this.quill.getLine(X.index),ue=a(oe,2),he=ue[0],V=ue[1],P=new v.default().retain(X.index).insert(`
|
|
829
|
+
`,ie.format).retain(he.length()-V-1).retain(1,{header:null});this.quill.updateContents(P,E.default.sources.USER),this.quill.setSelection(X.index+1,E.default.sources.SILENT),this.quill.scrollIntoView()}},"list autofill":{key:" ",collapsed:!0,format:{list:!1},prefix:/^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,handler:function(X,ie){var oe=ie.prefix.length,ue=this.quill.getLine(X.index),he=a(ue,2),V=he[0],P=he[1];if(P>oe)return!0;var x=void 0;switch(ie.prefix.trim()){case"[]":case"[ ]":x="unchecked";break;case"[x]":x="checked";break;case"-":case"*":x="bullet";break;default:x="ordered"}this.quill.insertText(X.index," ",E.default.sources.USER),this.quill.history.cutoff();var $=new v.default().retain(X.index-P).delete(oe+1).retain(V.length()-2-P).retain(1,{list:x});this.quill.updateContents($,E.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(X.index-oe,E.default.sources.SILENT)}},"code exit":{key:q.keys.ENTER,collapsed:!0,format:["code-block"],prefix:/\n\n$/,suffix:/^\s+$/,handler:function(X){var ie=this.quill.getLine(X.index),oe=a(ie,2),ue=oe[0],he=oe[1],V=new v.default().retain(X.index+ue.length()-he-2).retain(1,{"code-block":null}).delete(1);this.quill.updateContents(V,E.default.sources.USER)}},"embed left":re(q.keys.LEFT,!1),"embed left shift":re(q.keys.LEFT,!0),"embed right":re(q.keys.RIGHT,!1),"embed right shift":re(q.keys.RIGHT,!0)}};function re(H,X){var ie,oe=H===q.keys.LEFT?"prefix":"suffix";return ie={key:H,shiftKey:X,altKey:null},O(ie,oe,/^$/),O(ie,"handler",function(he){var V=he.index;H===q.keys.RIGHT&&(V+=he.length+1);var P=this.quill.getLeaf(V),x=a(P,1),$=x[0];return $ instanceof b.default.Embed?(H===q.keys.LEFT?X?this.quill.setSelection(he.index-1,he.length+1,E.default.sources.USER):this.quill.setSelection(he.index-1,E.default.sources.USER):X?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}),ie}function Y(H,X){if(!(H.index===0||this.quill.getLength()<=1)){var ie=this.quill.getLine(H.index),oe=a(ie,1),ue=oe[0],he={};if(X.offset===0){var V=this.quill.getLine(H.index-1),P=a(V,1),x=P[0];if(x!=null&&x.length()>1){var $=ue.formats(),Z=this.quill.getFormat(H.index-1,1);he=m.default.attributes.diff($,Z)||{}}}var se=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(X.prefix)?2:1;this.quill.deleteText(H.index-se,se,E.default.sources.USER),Object.keys(he).length>0&&this.quill.formatLine(H.index-se,se,he,E.default.sources.USER),this.quill.focus()}}function j(H,X){var ie=/^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(X.suffix)?2:1;if(!(H.index>=this.quill.getLength()-ie)){var oe={},ue=0,he=this.quill.getLine(H.index),V=a(he,1),P=V[0];if(X.offset>=P.length()-1){var x=this.quill.getLine(H.index+1),$=a(x,1),Z=$[0];if(Z){var se=P.formats(),U=this.quill.getFormat(H.index,1);oe=m.default.attributes.diff(se,U)||{},ue=Z.length()}}this.quill.deleteText(H.index,ie,E.default.sources.USER),Object.keys(oe).length>0&&this.quill.formatLine(H.index+ue-1,ie,oe,E.default.sources.USER)}}function I(H){var X=this.quill.getLines(H),ie={};if(X.length>1){var oe=X[0].formats(),ue=X[X.length-1].formats();ie=m.default.attributes.diff(ue,oe)||{}}this.quill.deleteText(H,E.default.sources.USER),Object.keys(ie).length>0&&this.quill.formatLine(H.index,1,ie,E.default.sources.USER),this.quill.setSelection(H.index,E.default.sources.SILENT),this.quill.focus()}function F(H,X){var ie=this;H.length>0&&this.quill.scroll.deleteAt(H.index,H.length);var oe=Object.keys(X.format).reduce(function(ue,he){return b.default.query(he,b.default.Scope.BLOCK)&&!Array.isArray(X.format[he])&&(ue[he]=X.format[he]),ue},{});this.quill.insertText(H.index,`
|
|
830
|
+
`,oe,E.default.sources.USER),this.quill.setSelection(H.index+1,E.default.sources.SILENT),this.quill.focus(),Object.keys(X.format).forEach(function(ue){oe[ue]==null&&(Array.isArray(X.format[ue])||ue!=="link"&&ie.quill.format(ue,X.format[ue],E.default.sources.USER))})}function z(H){return{key:q.keys.TAB,shiftKey:!H,format:{"code-block":!0},handler:function(ie){var oe=b.default.query("code-block"),ue=ie.index,he=ie.length,V=this.quill.scroll.descendant(oe,ue),P=a(V,2),x=P[0],$=P[1];if(x!=null){var Z=this.quill.getIndex(x),se=x.newlineIndex($,!0)+1,U=x.newlineIndex(Z+$+he),G=x.domNode.textContent.slice(se,U).split(`
|
|
831
|
+
`);$=0,G.forEach(function(ee,Q){H?(x.insertAt(se+$,oe.TAB),$+=oe.TAB.length,Q===0?ue+=oe.TAB.length:he+=oe.TAB.length):ee.startsWith(oe.TAB)&&(x.deleteAt(se+$,oe.TAB.length),$-=oe.TAB.length,Q===0?ue-=oe.TAB.length:he-=oe.TAB.length),$+=ee.length+1}),this.quill.update(E.default.sources.USER),this.quill.setSelection(ue,he,E.default.sources.SILENT)}}}}function te(H){return{key:H[0].toUpperCase(),shortKey:!0,handler:function(ie,oe){this.quill.format(H,!oe.format[H],E.default.sources.USER)}}}function J(H){if(typeof H=="string"||typeof H=="number")return J({key:H});if((typeof H>"u"?"undefined":o(H))==="object"&&(H=(0,u.default)(H,!1)),typeof H.key=="string")if(q.keys[H.key.toUpperCase()]!=null)H.key=q.keys[H.key.toUpperCase()];else if(H.key.length===1)H.key=H.key.toUpperCase().charCodeAt(0);else return null;return H.shortKey&&(H[B]=H.shortKey,delete H.shortKey),H}r.default=q,r.SHORTKEY=B},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var o=function(){function m(g,b){var h=[],E=!0,k=!1,T=void 0;try{for(var A=g[Symbol.iterator](),C;!(E=(C=A.next()).done)&&(h.push(C.value),!(b&&h.length===b));E=!0);}catch(N){k=!0,T=N}finally{try{!E&&A.return&&A.return()}finally{if(k)throw T}}return h}return function(g,b){if(Array.isArray(g))return g;if(Symbol.iterator in Object(g))return m(g,b);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a=function m(g,b,h){g===null&&(g=Function.prototype);var E=Object.getOwnPropertyDescriptor(g,b);if(E===void 0){var k=Object.getPrototypeOf(g);return k===null?void 0:m(k,b,h)}else{if("value"in E)return E.value;var T=E.get;return T===void 0?void 0:T.call(h)}},s=function(){function m(g,b){for(var h=0;h<b.length;h++){var E=b[h];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(g,E.key,E)}}return function(g,b,h){return b&&m(g.prototype,b),h&&m(g,h),g}}(),l=i(0),u=f(l),d=i(7),c=f(d);function f(m){return m&&m.__esModule?m:{default:m}}function p(m,g){if(!(m instanceof g))throw new TypeError("Cannot call a class as a function")}function y(m,g){if(!m)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:m}function v(m,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);m.prototype=Object.create(g&&g.prototype,{constructor:{value:m,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(m,g):m.__proto__=g)}var _=function(m){v(g,m),s(g,null,[{key:"value",value:function(){}}]);function g(b,h){p(this,g);var E=y(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,b));return E.selection=h,E.textNode=document.createTextNode(g.CONTENTS),E.domNode.appendChild(E.textNode),E._length=0,E}return s(g,[{key:"detach",value:function(){this.parent!=null&&this.parent.removeChild(this)}},{key:"format",value:function(h,E){if(this._length!==0)return a(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"format",this).call(this,h,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=g.CONTENTS.length,k.optimize(),k.formatAt(T,g.CONTENTS.length,h,E),this._length=0)}},{key:"index",value:function(h,E){return h===this.textNode?0:a(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"index",this).call(this,h,E)}},{key:"length",value:function(){return this._length}},{key:"position",value:function(){return[this.textNode,this.textNode.data.length]}},{key:"remove",value:function(){a(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"remove",this).call(this),this.parent=null}},{key:"restore",value:function(){if(!(this.selection.composing||this.parent==null)){var h=this.textNode,E=this.selection.getNativeRange(),k=void 0,T=void 0,A=void 0;if(E!=null&&E.start.node===h&&E.end.node===h){var C=[h,E.start.offset,E.end.offset];k=C[0],T=C[1],A=C[2]}for(;this.domNode.lastChild!=null&&this.domNode.lastChild!==this.textNode;)this.domNode.parentNode.insertBefore(this.domNode.lastChild,this.domNode);if(this.textNode.data!==g.CONTENTS){var N=this.textNode.data.split(g.CONTENTS).join("");this.next instanceof c.default?(k=this.next.domNode,this.next.insertAt(0,N),this.textNode.data=g.CONTENTS):(this.textNode.data=N,this.parent.insertBefore(u.default.create(this.textNode),this),this.textNode=document.createTextNode(g.CONTENTS),this.domNode.appendChild(this.textNode))}if(this.remove(),T!=null){var O=[T,A].map(function(L){return Math.max(0,Math.min(k.data.length,L-1))}),S=o(O,2);return T=S[0],A=S[1],{startNode:k,startOffset:T,endNode:k,endOffset:A}}}}},{key:"update",value:function(h,E){var k=this;if(h.some(function(A){return A.type==="characterData"&&A.target===k.textNode})){var T=this.restore();T&&(E.range=T)}}},{key:"value",value:function(){return""}}]),g}(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 o=i(0),a=u(o),s=i(4),l=u(s);function u(y){return y&&y.__esModule?y:{default:y}}function d(y,v){if(!(y instanceof v))throw new TypeError("Cannot call a class as a function")}function c(y,v){if(!y)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return v&&(typeof v=="object"||typeof v=="function")?v:y}function f(y,v){if(typeof v!="function"&&v!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof v);y.prototype=Object.create(v&&v.prototype,{constructor:{value:y,enumerable:!1,writable:!0,configurable:!0}}),v&&(Object.setPrototypeOf?Object.setPrototypeOf(y,v):y.__proto__=v)}var p=function(y){f(v,y);function v(){return d(this,v),c(this,(v.__proto__||Object.getPrototypeOf(v)).apply(this,arguments))}return v}(a.default.Container);p.allowedChildren=[l.default,s.BlockEmbed,p],r.default=p},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.ColorStyle=r.ColorClass=r.ColorAttributor=void 0;var o=function(){function _(m,g){for(var b=0;b<g.length;b++){var h=g[b];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(m,h.key,h)}}return function(m,g,b){return g&&_(m.prototype,g),b&&_(m,b),m}}(),a=function _(m,g,b){m===null&&(m=Function.prototype);var h=Object.getOwnPropertyDescriptor(m,g);if(h===void 0){var E=Object.getPrototypeOf(m);return E===null?void 0:_(E,g,b)}else{if("value"in h)return h.value;var k=h.get;return k===void 0?void 0:k.call(b)}},s=i(0),l=u(s);function u(_){return _&&_.__esModule?_:{default:_}}function d(_,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 f(_,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 p=function(_){f(m,_);function m(){return d(this,m),c(this,(m.__proto__||Object.getPrototypeOf(m)).apply(this,arguments))}return o(m,[{key:"value",value:function(b){var h=a(m.prototype.__proto__||Object.getPrototypeOf(m.prototype),"value",this).call(this,b);return h.startsWith("rgb(")?(h=h.replace(/^[^\d]+/,"").replace(/[^\d]+$/,""),"#"+h.split(",").map(function(E){return("00"+parseInt(E).toString(16)).slice(-2)}).join("")):h}}]),m}(l.default.Attributor.Style),y=new l.default.Attributor.Class("color","ql-color",{scope:l.default.Scope.INLINE}),v=new p("color","color",{scope:l.default.Scope.INLINE});r.ColorAttributor=p,r.ColorClass=y,r.ColorStyle=v},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.sanitize=r.default=void 0;var o=function(){function v(_,m){for(var g=0;g<m.length;g++){var b=m[g];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(_,b.key,b)}}return function(_,m,g){return m&&v(_.prototype,m),g&&v(_,g),_}}(),a=function v(_,m,g){_===null&&(_=Function.prototype);var b=Object.getOwnPropertyDescriptor(_,m);if(b===void 0){var h=Object.getPrototypeOf(_);return h===null?void 0:v(h,m,g)}else{if("value"in b)return b.value;var E=b.get;return E===void 0?void 0:E.call(g)}},s=i(6),l=u(s);function u(v){return v&&v.__esModule?v:{default:v}}function d(v,_){if(!(v instanceof _))throw new TypeError("Cannot call a class as a function")}function c(v,_){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return _&&(typeof _=="object"||typeof _=="function")?_:v}function f(v,_){if(typeof _!="function"&&_!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof _);v.prototype=Object.create(_&&_.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),_&&(Object.setPrototypeOf?Object.setPrototypeOf(v,_):v.__proto__=_)}var p=function(v){f(_,v);function _(){return d(this,_),c(this,(_.__proto__||Object.getPrototypeOf(_)).apply(this,arguments))}return o(_,[{key:"format",value:function(g,b){if(g!==this.statics.blotName||!b)return a(_.prototype.__proto__||Object.getPrototypeOf(_.prototype),"format",this).call(this,g,b);b=this.constructor.sanitize(b),this.domNode.setAttribute("href",b)}}],[{key:"create",value:function(g){var b=a(_.__proto__||Object.getPrototypeOf(_),"create",this).call(this,g);return g=this.sanitize(g),b.setAttribute("href",g),b.setAttribute("rel","noopener noreferrer"),b.setAttribute("target","_blank"),b}},{key:"formats",value:function(g){return g.getAttribute("href")}},{key:"sanitize",value:function(g){return y(g,this.PROTOCOL_WHITELIST)?g:this.SANITIZED_URL}}]),_}(l.default);p.blotName="link",p.tagName="A",p.SANITIZED_URL="about:blank",p.PROTOCOL_WHITELIST=["http","https","mailto","tel"];function y(v,_){var m=document.createElement("a");m.href=v;var g=m.href.slice(0,m.href.indexOf(":"));return _.indexOf(g)>-1}r.default=p,r.sanitize=y},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(_){return typeof _}:function(_){return _&&typeof Symbol=="function"&&_.constructor===Symbol&&_!==Symbol.prototype?"symbol":typeof _},a=function(){function _(m,g){for(var b=0;b<g.length;b++){var h=g[b];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(m,h.key,h)}}return function(m,g,b){return g&&_(m.prototype,g),b&&_(m,b),m}}(),s=i(23),l=c(s),u=i(107),d=c(u);function c(_){return _&&_.__esModule?_:{default:_}}function f(_,m){if(!(_ instanceof m))throw new TypeError("Cannot call a class as a function")}var p=0;function y(_,m){_.setAttribute(m,_.getAttribute(m)!=="true")}var v=function(){function _(m){var g=this;f(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(){g.togglePicker()}),this.label.addEventListener("keydown",function(b){switch(b.keyCode){case l.default.keys.ENTER:g.togglePicker();break;case l.default.keys.ESCAPE:g.escape(),b.preventDefault();break}}),this.select.addEventListener("change",this.update.bind(this))}return a(_,[{key:"togglePicker",value:function(){this.container.classList.toggle("ql-expanded"),y(this.label,"aria-expanded"),y(this.options,"aria-hidden")}},{key:"buildItem",value:function(g){var b=this,h=document.createElement("span");return h.tabIndex="0",h.setAttribute("role","button"),h.classList.add("ql-picker-item"),g.hasAttribute("value")&&h.setAttribute("data-value",g.getAttribute("value")),g.textContent&&h.setAttribute("data-label",g.textContent),h.addEventListener("click",function(){b.selectItem(h,!0)}),h.addEventListener("keydown",function(E){switch(E.keyCode){case l.default.keys.ENTER:b.selectItem(h,!0),E.preventDefault();break;case l.default.keys.ESCAPE:b.escape(),E.preventDefault();break}}),h}},{key:"buildLabel",value:function(){var g=document.createElement("span");return g.classList.add("ql-picker-label"),g.innerHTML=d.default,g.tabIndex="0",g.setAttribute("role","button"),g.setAttribute("aria-expanded","false"),this.container.appendChild(g),g}},{key:"buildOptions",value:function(){var g=this,b=document.createElement("span");b.classList.add("ql-picker-options"),b.setAttribute("aria-hidden","true"),b.tabIndex="-1",b.id="ql-picker-options-"+p,p+=1,this.label.setAttribute("aria-controls",b.id),this.options=b,[].slice.call(this.select.options).forEach(function(h){var E=g.buildItem(h);b.appendChild(E),h.selected===!0&&g.selectItem(E)}),this.container.appendChild(b)}},{key:"buildPicker",value:function(){var g=this;[].slice.call(this.select.attributes).forEach(function(b){g.container.setAttribute(b.name,b.value)}),this.container.classList.add("ql-picker"),this.label=this.buildLabel(),this.buildOptions()}},{key:"escape",value:function(){var g=this;this.close(),setTimeout(function(){return g.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(g){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,h=this.container.querySelector(".ql-selected");if(g!==h&&(h?.classList.remove("ql-selected"),g!=null&&(g.classList.add("ql-selected"),this.select.selectedIndex=[].indexOf.call(g.parentNode.children,g),g.hasAttribute("data-value")?this.label.setAttribute("data-value",g.getAttribute("data-value")):this.label.removeAttribute("data-value"),g.hasAttribute("data-label")?this.label.setAttribute("data-label",g.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":o(Event))==="object"){var E=document.createEvent("Event");E.initEvent("change",!0,!0),this.select.dispatchEvent(E)}this.close()}}},{key:"update",value:function(){var g=void 0;if(this.select.selectedIndex>-1){var b=this.container.querySelector(".ql-picker-options").children[this.select.selectedIndex];g=this.select.options[this.select.selectedIndex],this.selectItem(b)}else this.selectItem(null);var h=g!=null&&g!==this.select.querySelector("option[selected]");this.label.classList.toggle("ql-active",h)}}]),_}();r.default=v},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var o=i(0),a=D(o),s=i(5),l=D(s),u=i(4),d=D(u),c=i(16),f=D(c),p=i(25),y=D(p),v=i(24),_=D(v),m=i(35),g=D(m),b=i(6),h=D(b),E=i(22),k=D(E),T=i(7),A=D(T),C=i(55),N=D(C),O=i(42),S=D(O),L=i(23),R=D(L);function D(B){return B&&B.__esModule?B:{default:B}}l.default.register({"blots/block":d.default,"blots/block/embed":u.BlockEmbed,"blots/break":f.default,"blots/container":y.default,"blots/cursor":_.default,"blots/embed":g.default,"blots/inline":h.default,"blots/scroll":k.default,"blots/text":A.default,"modules/clipboard":N.default,"modules/history":S.default,"modules/keyboard":R.default}),a.default.register(d.default,f.default,_.default,h.default,k.default,A.default),r.default=l.default},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var o=i(1),a=function(){function s(l){this.domNode=l,this.domNode[o.DATA_KEY]={blot:this}}return Object.defineProperty(s.prototype,"statics",{get:function(){return this.constructor},enumerable:!0,configurable:!0}),s.create=function(l){if(this.tagName==null)throw new o.ParchmentError("Blot definition missing tagName");var u;return Array.isArray(this.tagName)?(typeof l=="string"&&(l=l.toUpperCase(),parseInt(l).toString()===l&&(l=parseInt(l))),typeof l=="number"?u=document.createElement(this.tagName[l-1]):this.tagName.indexOf(l)>-1?u=document.createElement(l):u=document.createElement(this.tagName[0])):u=document.createElement(this.tagName),this.className&&u.classList.add(this.className),u},s.prototype.attach=function(){this.parent!=null&&(this.scroll=this.parent.scroll)},s.prototype.clone=function(){var l=this.domNode.cloneNode(!1);return o.create(l)},s.prototype.detach=function(){this.parent!=null&&this.parent.removeChild(this),delete this.domNode[o.DATA_KEY]},s.prototype.deleteAt=function(l,u){var d=this.isolate(l,u);d.remove()},s.prototype.formatAt=function(l,u,d,c){var f=this.isolate(l,u);if(o.query(d,o.Scope.BLOT)!=null&&c)f.wrap(d,c);else if(o.query(d,o.Scope.ATTRIBUTE)!=null){var p=o.create(this.statics.scope);f.wrap(p),p.format(d,c)}},s.prototype.insertAt=function(l,u,d){var c=d==null?o.create("text",u):o.create(u,d),f=this.split(l);this.parent.insertBefore(c,f)},s.prototype.insertInto=function(l,u){u===void 0&&(u=null),this.parent!=null&&this.parent.children.remove(this);var d=null;l.children.insertBefore(this,u),u!=null&&(d=u.domNode),(this.domNode.parentNode!=l.domNode||this.domNode.nextSibling!=d)&&l.domNode.insertBefore(this.domNode,d),this.parent=l,this.attach()},s.prototype.isolate=function(l,u){var d=this.split(l);return d.split(u),d},s.prototype.length=function(){return 1},s.prototype.offset=function(l){return l===void 0&&(l=this.parent),this.parent==null||this==l?0:this.parent.children.offset(this)+this.parent.offset(l)},s.prototype.optimize=function(l){this.domNode[o.DATA_KEY]!=null&&delete this.domNode[o.DATA_KEY].mutations},s.prototype.remove=function(){this.domNode.parentNode!=null&&this.domNode.parentNode.removeChild(this.domNode),this.detach()},s.prototype.replace=function(l){l.parent!=null&&(l.parent.insertBefore(this,l.next),l.remove())},s.prototype.replaceWith=function(l,u){var d=typeof l=="string"?o.create(l,u):l;return d.replace(this),d},s.prototype.split=function(l,u){return l===0?this:this.next},s.prototype.update=function(l,u){},s.prototype.wrap=function(l,u){var d=typeof l=="string"?o.create(l,u):l;return this.parent!=null&&this.parent.insertBefore(d,this.next),d.appendChild(this),d},s.blotName="abstract",s}();r.default=a},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var o=i(12),a=i(32),s=i(33),l=i(1),u=function(){function d(c){this.attributes={},this.domNode=c,this.build()}return d.prototype.attribute=function(c,f){f?c.add(this.domNode,f)&&(c.value(this.domNode)!=null?this.attributes[c.attrName]=c:delete this.attributes[c.attrName]):(c.remove(this.domNode),delete this.attributes[c.attrName])},d.prototype.build=function(){var c=this;this.attributes={};var f=o.default.keys(this.domNode),p=a.default.keys(this.domNode),y=s.default.keys(this.domNode);f.concat(p).concat(y).forEach(function(v){var _=l.query(v,l.Scope.ATTRIBUTE);_ instanceof o.default&&(c.attributes[_.attrName]=_)})},d.prototype.copy=function(c){var f=this;Object.keys(this.attributes).forEach(function(p){var y=f.attributes[p].value(f.domNode);c.format(p,y)})},d.prototype.move=function(c){var f=this;this.copy(c),Object.keys(this.attributes).forEach(function(p){f.attributes[p].remove(f.domNode)}),this.attributes={}},d.prototype.values=function(){var c=this;return Object.keys(this.attributes).reduce(function(f,p){return f[p]=c.attributes[p].value(c.domNode),f},{})},d}();r.default=u},function(n,r,i){var o=this&&this.__extends||function(){var u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,c){d.__proto__=c}||function(d,c){for(var f in c)c.hasOwnProperty(f)&&(d[f]=c[f])};return function(d,c){u(d,c);function f(){this.constructor=d}d.prototype=c===null?Object.create(c):(f.prototype=c.prototype,new f)}}();Object.defineProperty(r,"__esModule",{value:!0});var a=i(12);function s(u,d){var c=u.getAttribute("class")||"";return c.split(/\s+/).filter(function(f){return f.indexOf(d+"-")===0})}var l=function(u){o(d,u);function d(){return u!==null&&u.apply(this,arguments)||this}return d.keys=function(c){return(c.getAttribute("class")||"").split(/\s+/).map(function(f){return f.split("-").slice(0,-1).join("-")})},d.prototype.add=function(c,f){return this.canAdd(c,f)?(this.remove(c),c.classList.add(this.keyName+"-"+f),!0):!1},d.prototype.remove=function(c){var f=s(c,this.keyName);f.forEach(function(p){c.classList.remove(p)}),c.classList.length===0&&c.removeAttribute("class")},d.prototype.value=function(c){var f=s(c,this.keyName)[0]||"",p=f.slice(this.keyName.length+1);return this.canAdd(c,p)?p:""},d}(a.default);r.default=l},function(n,r,i){var o=this&&this.__extends||function(){var u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,c){d.__proto__=c}||function(d,c){for(var f in c)c.hasOwnProperty(f)&&(d[f]=c[f])};return function(d,c){u(d,c);function f(){this.constructor=d}d.prototype=c===null?Object.create(c):(f.prototype=c.prototype,new f)}}();Object.defineProperty(r,"__esModule",{value:!0});var a=i(12);function s(u){var d=u.split("-"),c=d.slice(1).map(function(f){return f[0].toUpperCase()+f.slice(1)}).join("");return d[0]+c}var l=function(u){o(d,u);function d(){return u!==null&&u.apply(this,arguments)||this}return d.keys=function(c){return(c.getAttribute("style")||"").split(";").map(function(f){var p=f.split(":");return p[0].trim()})},d.prototype.add=function(c,f){return this.canAdd(c,f)?(c.style[s(this.keyName)]=f,!0):!1},d.prototype.remove=function(c){c.style[s(this.keyName)]="",c.getAttribute("style")||c.removeAttribute("style")},d.prototype.value=function(c){var f=c.style[s(this.keyName)];return this.canAdd(c,f)?f:""},d}(a.default);r.default=l},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var o=function(){function l(u,d){for(var c=0;c<d.length;c++){var f=d[c];f.enumerable=f.enumerable||!1,f.configurable=!0,"value"in f&&(f.writable=!0),Object.defineProperty(u,f.key,f)}}return function(u,d,c){return d&&l(u.prototype,d),c&&l(u,c),u}}();function a(l,u){if(!(l instanceof u))throw new TypeError("Cannot call a class as a function")}var s=function(){function l(u,d){a(this,l),this.quill=u,this.options=d,this.modules={}}return o(l,[{key:"init",value:function(){var d=this;Object.keys(this.options.modules).forEach(function(c){d.modules[c]==null&&d.addModule(c)})}},{key:"addModule",value:function(d){var c=this.quill.constructor.import("modules/"+d);return this.modules[d]=new c(this.quill,this.options.modules[d]||{}),this.modules[d]}}]),l}();s.DEFAULTS={modules:{}},s.themes={default:s},r.default=s},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var o=function(){function m(g,b){for(var h=0;h<b.length;h++){var E=b[h];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(g,E.key,E)}}return function(g,b,h){return b&&m(g.prototype,b),h&&m(g,h),g}}(),a=function m(g,b,h){g===null&&(g=Function.prototype);var E=Object.getOwnPropertyDescriptor(g,b);if(E===void 0){var k=Object.getPrototypeOf(g);return k===null?void 0:m(k,b,h)}else{if("value"in E)return E.value;var T=E.get;return T===void 0?void 0:T.call(h)}},s=i(0),l=c(s),u=i(7),d=c(u);function c(m){return m&&m.__esModule?m:{default:m}}function f(m,g){if(!(m instanceof g))throw new TypeError("Cannot call a class as a function")}function p(m,g){if(!m)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:m}function y(m,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);m.prototype=Object.create(g&&g.prototype,{constructor:{value:m,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(m,g):m.__proto__=g)}var v="\uFEFF",_=function(m){y(g,m);function g(b){f(this,g);var h=p(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,b));return h.contentNode=document.createElement("span"),h.contentNode.setAttribute("contenteditable",!1),[].slice.call(h.domNode.childNodes).forEach(function(E){h.contentNode.appendChild(E)}),h.leftGuard=document.createTextNode(v),h.rightGuard=document.createTextNode(v),h.domNode.appendChild(h.leftGuard),h.domNode.appendChild(h.contentNode),h.domNode.appendChild(h.rightGuard),h}return o(g,[{key:"index",value:function(h,E){return h===this.leftGuard?0:h===this.rightGuard?1:a(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"index",this).call(this,h,E)}},{key:"restore",value:function(h){var E=void 0,k=void 0,T=h.data.split(v).join("");if(h===this.leftGuard)if(this.prev instanceof d.default){var A=this.prev.length();this.prev.insertAt(A,T),E={startNode:this.prev.domNode,startOffset:A+T.length}}else k=document.createTextNode(T),this.parent.insertBefore(l.default.create(k),this),E={startNode:k,startOffset:T.length};else h===this.rightGuard&&(this.next instanceof d.default?(this.next.insertAt(0,T),E={startNode:this.next.domNode,startOffset:T.length}):(k=document.createTextNode(T),this.parent.insertBefore(l.default.create(k),this.next),E={startNode:k,startOffset:T.length}));return h.data=v,E}},{key:"update",value:function(h,E){var k=this;h.forEach(function(T){if(T.type==="characterData"&&(T.target===k.leftGuard||T.target===k.rightGuard)){var A=k.restore(T.target);A&&(E.range=A)}})}}]),g}(l.default.Embed);r.default=_},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.AlignStyle=r.AlignClass=r.AlignAttribute=void 0;var o=i(0),a=s(o);function s(f){return f&&f.__esModule?f:{default:f}}var l={scope:a.default.Scope.BLOCK,whitelist:["right","center","justify"]},u=new a.default.Attributor.Attribute("align","align",l),d=new a.default.Attributor.Class("align","ql-align",l),c=new a.default.Attributor.Style("align","text-align",l);r.AlignAttribute=u,r.AlignClass=d,r.AlignStyle=c},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.BackgroundStyle=r.BackgroundClass=void 0;var o=i(0),a=l(o),s=i(26);function l(c){return c&&c.__esModule?c:{default:c}}var u=new a.default.Attributor.Class("background","ql-bg",{scope:a.default.Scope.INLINE}),d=new s.ColorAttributor("background","background-color",{scope:a.default.Scope.INLINE});r.BackgroundClass=u,r.BackgroundStyle=d},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.DirectionStyle=r.DirectionClass=r.DirectionAttribute=void 0;var o=i(0),a=s(o);function s(f){return f&&f.__esModule?f:{default:f}}var l={scope:a.default.Scope.BLOCK,whitelist:["rtl"]},u=new a.default.Attributor.Attribute("direction","dir",l),d=new a.default.Attributor.Class("direction","ql-direction",l),c=new a.default.Attributor.Style("direction","direction",l);r.DirectionAttribute=u,r.DirectionClass=d,r.DirectionStyle=c},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.FontClass=r.FontStyle=void 0;var o=function(){function m(g,b){for(var h=0;h<b.length;h++){var E=b[h];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(g,E.key,E)}}return function(g,b,h){return b&&m(g.prototype,b),h&&m(g,h),g}}(),a=function m(g,b,h){g===null&&(g=Function.prototype);var E=Object.getOwnPropertyDescriptor(g,b);if(E===void 0){var k=Object.getPrototypeOf(g);return k===null?void 0:m(k,b,h)}else{if("value"in E)return E.value;var T=E.get;return T===void 0?void 0:T.call(h)}},s=i(0),l=u(s);function u(m){return m&&m.__esModule?m:{default:m}}function d(m,g){if(!(m instanceof g))throw new TypeError("Cannot call a class as a function")}function c(m,g){if(!m)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:m}function f(m,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);m.prototype=Object.create(g&&g.prototype,{constructor:{value:m,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(m,g):m.__proto__=g)}var p={scope:l.default.Scope.INLINE,whitelist:["serif","monospace"]},y=new l.default.Attributor.Class("font","ql-font",p),v=function(m){f(g,m);function g(){return d(this,g),c(this,(g.__proto__||Object.getPrototypeOf(g)).apply(this,arguments))}return o(g,[{key:"value",value:function(h){return a(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"value",this).call(this,h).replace(/["']/g,"")}}]),g}(l.default.Attributor.Style),_=new v("font","font-family",p);r.FontStyle=_,r.FontClass=y},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.SizeStyle=r.SizeClass=void 0;var o=i(0),a=s(o);function s(d){return d&&d.__esModule?d:{default:d}}var l=new a.default.Attributor.Class("size","ql-size",{scope:a.default.Scope.INLINE,whitelist:["small","large","huge"]}),u=new a.default.Attributor.Style("size","font-size",{scope:a.default.Scope.INLINE,whitelist:["10px","18px","32px"]});r.SizeClass=l,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 o=function(){function b(h,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(h,T.key,T)}}return function(h,E,k){return E&&b(h.prototype,E),k&&b(h,k),h}}(),a=i(0),s=f(a),l=i(5),u=f(l),d=i(9),c=f(d);function f(b){return b&&b.__esModule?b:{default:b}}function p(b,h){if(!(b instanceof h))throw new TypeError("Cannot call a class as a function")}function y(b,h){if(!b)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:b}function v(b,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);b.prototype=Object.create(h&&h.prototype,{constructor:{value:b,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(b,h):b.__proto__=h)}var _=function(b){v(h,b);function h(E,k){p(this,h);var T=y(this,(h.__proto__||Object.getPrototypeOf(h)).call(this,E,k));return T.lastRecorded=0,T.ignoreChange=!1,T.clear(),T.quill.on(u.default.events.EDITOR_CHANGE,function(A,C,N,O){A!==u.default.events.TEXT_CHANGE||T.ignoreChange||(!T.options.userOnly||O===u.default.sources.USER?T.record(C,N):T.transform(C))}),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 o(h,[{key:"change",value:function(k,T){if(this.stack[k].length!==0){var A=this.stack[k].pop();this.stack[T].push(A),this.lastRecorded=0,this.ignoreChange=!0,this.quill.updateContents(A[k],u.default.sources.USER),this.ignoreChange=!1;var C=g(A[k]);this.quill.setSelection(C)}}},{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 A=this.quill.getContents().diff(T),C=Date.now();if(this.lastRecorded+this.options.delay>C&&this.stack.undo.length>0){var N=this.stack.undo.pop();A=A.compose(N.undo),k=N.redo.compose(k)}else this.lastRecorded=C;this.stack.undo.push({redo:k,undo:A}),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")}}]),h}(c.default);_.DEFAULTS={delay:1e3,maxStack:100,userOnly:!1};function m(b){var h=b.ops[b.ops.length-1];return h==null?!1:h.insert!=null?typeof h.insert=="string"&&h.insert.endsWith(`
|
|
832
|
+
`):h.attributes!=null?Object.keys(h.attributes).some(function(E){return s.default.query(E,s.default.Scope.BLOCK)!=null}):!1}function g(b){var h=b.reduce(function(k,T){return k+=T.delete||0,k},0),E=b.length()-h;return m(b)&&(E-=1),E}r.default=_,r.getLastChangeIndex=g},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.BaseTooltip=void 0;var o=function(){function F(z,te){for(var J=0;J<te.length;J++){var H=te[J];H.enumerable=H.enumerable||!1,H.configurable=!0,"value"in H&&(H.writable=!0),Object.defineProperty(z,H.key,H)}}return function(z,te,J){return te&&F(z.prototype,te),J&&F(z,J),z}}(),a=function F(z,te,J){z===null&&(z=Function.prototype);var H=Object.getOwnPropertyDescriptor(z,te);if(H===void 0){var X=Object.getPrototypeOf(z);return X===null?void 0:F(X,te,J)}else{if("value"in H)return H.value;var ie=H.get;return ie===void 0?void 0:ie.call(J)}},s=i(3),l=C(s),u=i(2),d=C(u),c=i(8),f=C(c),p=i(23),y=C(p),v=i(34),_=C(v),m=i(59),g=C(m),b=i(60),h=C(b),E=i(28),k=C(E),T=i(61),A=C(T);function C(F){return F&&F.__esModule?F:{default:F}}function N(F,z){if(!(F instanceof z))throw new TypeError("Cannot call a class as a function")}function O(F,z){if(!F)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return z&&(typeof z=="object"||typeof z=="function")?z:F}function S(F,z){if(typeof z!="function"&&z!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof z);F.prototype=Object.create(z&&z.prototype,{constructor:{value:F,enumerable:!1,writable:!0,configurable:!0}}),z&&(Object.setPrototypeOf?Object.setPrototypeOf(F,z):F.__proto__=z)}var L=[!1,"center","right","justify"],R=["#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"],B=["1","2","3",!1],q=["small",!1,"large","huge"],re=function(F){S(z,F);function z(te,J){N(this,z);var H=O(this,(z.__proto__||Object.getPrototypeOf(z)).call(this,te,J)),X=function ie(oe){if(!document.body.contains(te.root))return document.body.removeEventListener("click",ie);H.tooltip!=null&&!H.tooltip.root.contains(oe.target)&&document.activeElement!==H.tooltip.textbox&&!H.quill.hasFocus()&&H.tooltip.hide(),H.pickers!=null&&H.pickers.forEach(function(ue){ue.container.contains(oe.target)||ue.close()})};return te.emitter.listenDOM("click",document.body,X),H}return o(z,[{key:"addModule",value:function(J){var H=a(z.prototype.__proto__||Object.getPrototypeOf(z.prototype),"addModule",this).call(this,J);return J==="toolbar"&&this.extendToolbar(H),H}},{key:"buildButtons",value:function(J,H){J.forEach(function(X){var ie=X.getAttribute("class")||"";ie.split(/\s+/).forEach(function(oe){if(oe.startsWith("ql-")&&(oe=oe.slice(3),H[oe]!=null))if(oe==="direction")X.innerHTML=H[oe][""]+H[oe].rtl;else if(typeof H[oe]=="string")X.innerHTML=H[oe];else{var ue=X.value||"";ue!=null&&H[oe][ue]&&(X.innerHTML=H[oe][ue])}})})}},{key:"buildPickers",value:function(J,H){var X=this;this.pickers=J.map(function(oe){if(oe.classList.contains("ql-align"))return oe.querySelector("option")==null&&I(oe,L),new h.default(oe,H.align);if(oe.classList.contains("ql-background")||oe.classList.contains("ql-color")){var ue=oe.classList.contains("ql-background")?"background":"color";return oe.querySelector("option")==null&&I(oe,R,ue==="background"?"#ffffff":"#000000"),new g.default(oe,H[ue])}else return oe.querySelector("option")==null&&(oe.classList.contains("ql-font")?I(oe,D):oe.classList.contains("ql-header")?I(oe,B):oe.classList.contains("ql-size")&&I(oe,q)),new k.default(oe)});var ie=function(){X.pickers.forEach(function(ue){ue.update()})};this.quill.on(f.default.events.EDITOR_CHANGE,ie)}}]),z}(_.default);re.DEFAULTS=(0,l.default)(!0,{},_.default.DEFAULTS,{modules:{toolbar:{handlers:{formula:function(){this.quill.theme.tooltip.edit("formula")},image:function(){var z=this,te=this.container.querySelector("input.ql-image[type=file]");te==null&&(te=document.createElement("input"),te.setAttribute("type","file"),te.setAttribute("accept","image/png, image/gif, image/jpeg, image/bmp, image/x-icon"),te.classList.add("ql-image"),te.addEventListener("change",function(){if(te.files!=null&&te.files[0]!=null){var J=new FileReader;J.onload=function(H){var X=z.quill.getSelection(!0);z.quill.updateContents(new d.default().retain(X.index).delete(X.length).insert({image:H.target.result}),f.default.sources.USER),z.quill.setSelection(X.index+1,f.default.sources.SILENT),te.value=""},J.readAsDataURL(te.files[0])}}),this.container.appendChild(te)),te.click()},video:function(){this.quill.theme.tooltip.edit("video")}}}}});var Y=function(F){S(z,F);function z(te,J){N(this,z);var H=O(this,(z.__proto__||Object.getPrototypeOf(z)).call(this,te,J));return H.textbox=H.root.querySelector('input[type="text"]'),H.listen(),H}return o(z,[{key:"listen",value:function(){var J=this;this.textbox.addEventListener("keydown",function(H){y.default.match(H,"enter")?(J.save(),H.preventDefault()):y.default.match(H,"escape")&&(J.cancel(),H.preventDefault())})}},{key:"cancel",value:function(){this.hide()}},{key:"edit",value:function(){var J=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"link",H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;this.root.classList.remove("ql-hidden"),this.root.classList.add("ql-editing"),H!=null?this.textbox.value=H:J!==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-"+J)||""),this.root.setAttribute("data-mode",J)}},{key:"restoreFocus",value:function(){var J=this.quill.scrollingContainer.scrollTop;this.quill.focus(),this.quill.scrollingContainer.scrollTop=J}},{key:"save",value:function(){var J=this.textbox.value;switch(this.root.getAttribute("data-mode")){case"link":{var H=this.quill.root.scrollTop;this.linkRange?(this.quill.formatText(this.linkRange,"link",J,f.default.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",J,f.default.sources.USER)),this.quill.root.scrollTop=H;break}case"video":J=j(J);case"formula":{if(!J)break;var X=this.quill.getSelection(!0);if(X!=null){var ie=X.index+X.length;this.quill.insertEmbed(ie,this.root.getAttribute("data-mode"),J,f.default.sources.USER),this.root.getAttribute("data-mode")==="formula"&&this.quill.insertText(ie+1," ",f.default.sources.USER),this.quill.setSelection(ie+2,f.default.sources.USER)}break}}this.textbox.value="",this.hide()}}]),z}(A.default);function j(F){var z=F.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||F.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);return z?(z[1]||"https")+"://www.youtube.com/embed/"+z[2]+"?showinfo=0":(z=F.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/))?(z[1]||"https")+"://player.vimeo.com/video/"+z[2]+"/":F}function I(F,z){var te=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;z.forEach(function(J){var H=document.createElement("option");J===te?H.setAttribute("selected","selected"):H.setAttribute("value",J),F.appendChild(H)})}r.BaseTooltip=Y,r.default=re},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var o=function(){function a(){this.head=this.tail=null,this.length=0}return a.prototype.append=function(){for(var s=[],l=0;l<arguments.length;l++)s[l]=arguments[l];this.insertBefore(s[0],null),s.length>1&&this.append.apply(this,s.slice(1))},a.prototype.contains=function(s){for(var l,u=this.iterator();l=u();)if(l===s)return!0;return!1},a.prototype.insertBefore=function(s,l){s&&(s.next=l,l!=null?(s.prev=l.prev,l.prev!=null&&(l.prev.next=s),l.prev=s,l===this.head&&(this.head=s)):this.tail!=null?(this.tail.next=s,s.prev=this.tail,this.tail=s):(s.prev=null,this.head=this.tail=s),this.length+=1)},a.prototype.offset=function(s){for(var l=0,u=this.head;u!=null;){if(u===s)return l;l+=u.length(),u=u.next}return-1},a.prototype.remove=function(s){this.contains(s)&&(s.prev!=null&&(s.prev.next=s.next),s.next!=null&&(s.next.prev=s.prev),s===this.head&&(this.head=s.next),s===this.tail&&(this.tail=s.prev),this.length-=1)},a.prototype.iterator=function(s){return s===void 0&&(s=this.head),function(){var l=s;return s!=null&&(s=s.next),l}},a.prototype.find=function(s,l){l===void 0&&(l=!1);for(var u,d=this.iterator();u=d();){var c=u.length();if(s<c||l&&s===c&&(u.next==null||u.next.length()!==0))return[u,s];s-=c}return[null,0]},a.prototype.forEach=function(s){for(var l,u=this.iterator();l=u();)s(l)},a.prototype.forEachAt=function(s,l,u){if(!(l<=0))for(var d=this.find(s),c=d[0],f=d[1],p,y=s-f,v=this.iterator(c);(p=v())&&y<s+l;){var _=p.length();s>y?u(p,s-y,Math.min(l,y+_-s)):u(p,0,Math.min(_,s+l-y)),y+=_}},a.prototype.map=function(s){return this.reduce(function(l,u){return l.push(s(u)),l},[])},a.prototype.reduce=function(s,l){for(var u,d=this.iterator();u=d();)l=s(l,u);return l},a}();r.default=o},function(n,r,i){var o=this&&this.__extends||function(){var c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,p){f.__proto__=p}||function(f,p){for(var y in p)p.hasOwnProperty(y)&&(f[y]=p[y])};return function(f,p){c(f,p);function y(){this.constructor=f}f.prototype=p===null?Object.create(p):(y.prototype=p.prototype,new y)}}();Object.defineProperty(r,"__esModule",{value:!0});var a=i(17),s=i(1),l={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},u=100,d=function(c){o(f,c);function f(p){var y=c.call(this,p)||this;return y.scroll=y,y.observer=new MutationObserver(function(v){y.update(v)}),y.observer.observe(y.domNode,l),y.attach(),y}return f.prototype.detach=function(){c.prototype.detach.call(this),this.observer.disconnect()},f.prototype.deleteAt=function(p,y){this.update(),p===0&&y===this.length()?this.children.forEach(function(v){v.remove()}):c.prototype.deleteAt.call(this,p,y)},f.prototype.formatAt=function(p,y,v,_){this.update(),c.prototype.formatAt.call(this,p,y,v,_)},f.prototype.insertAt=function(p,y,v){this.update(),c.prototype.insertAt.call(this,p,y,v)},f.prototype.optimize=function(p,y){var v=this;p===void 0&&(p=[]),y===void 0&&(y={}),c.prototype.optimize.call(this,y);for(var _=[].slice.call(this.observer.takeRecords());_.length>0;)p.push(_.pop());for(var m=function(E,k){k===void 0&&(k=!0),!(E==null||E===v)&&E.domNode.parentNode!=null&&(E.domNode[s.DATA_KEY].mutations==null&&(E.domNode[s.DATA_KEY].mutations=[]),k&&m(E.parent))},g=function(E){E.domNode[s.DATA_KEY]==null||E.domNode[s.DATA_KEY].mutations==null||(E instanceof a.default&&E.children.forEach(g),E.optimize(y))},b=p,h=0;b.length>0;h+=1){if(h>=u)throw new Error("[Parchment] Maximum optimize iterations reached");for(b.forEach(function(E){var k=s.find(E.target,!0);k!=null&&(k.domNode===E.target&&(E.type==="childList"?(m(s.find(E.previousSibling,!1)),[].forEach.call(E.addedNodes,function(T){var A=s.find(T,!1);m(A,!1),A instanceof a.default&&A.children.forEach(function(C){m(C,!1)})})):E.type==="attributes"&&m(k.prev)),m(k))}),this.children.forEach(g),b=[].slice.call(this.observer.takeRecords()),_=b.slice();_.length>0;)p.push(_.pop())}},f.prototype.update=function(p,y){var v=this;y===void 0&&(y={}),p=p||this.observer.takeRecords(),p.map(function(_){var m=s.find(_.target,!0);return m==null?null:m.domNode[s.DATA_KEY].mutations==null?(m.domNode[s.DATA_KEY].mutations=[_],m):(m.domNode[s.DATA_KEY].mutations.push(_),null)}).forEach(function(_){_==null||_===v||_.domNode[s.DATA_KEY]==null||_.update(_.domNode[s.DATA_KEY].mutations||[],y)}),this.domNode[s.DATA_KEY].mutations!=null&&c.prototype.update.call(this,this.domNode[s.DATA_KEY].mutations,y),this.optimize(p,y)},f.blotName="scroll",f.defaultChild="block",f.scope=s.Scope.BLOCK_BLOT,f.tagName="DIV",f}(a.default);r.default=d},function(n,r,i){var o=this&&this.__extends||function(){var d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var p in f)f.hasOwnProperty(p)&&(c[p]=f[p])};return function(c,f){d(c,f);function p(){this.constructor=c}c.prototype=f===null?Object.create(f):(p.prototype=f.prototype,new p)}}();Object.defineProperty(r,"__esModule",{value:!0});var a=i(18),s=i(1);function l(d,c){if(Object.keys(d).length!==Object.keys(c).length)return!1;for(var f in d)if(d[f]!==c[f])return!1;return!0}var u=function(d){o(c,d);function c(){return d!==null&&d.apply(this,arguments)||this}return c.formats=function(f){if(f.tagName!==c.tagName)return d.formats.call(this,f)},c.prototype.format=function(f,p){var y=this;f===this.statics.blotName&&!p?(this.children.forEach(function(v){v instanceof a.default||(v=v.wrap(c.blotName,!0)),y.attributes.copy(v)}),this.unwrap()):d.prototype.format.call(this,f,p)},c.prototype.formatAt=function(f,p,y,v){if(this.formats()[y]!=null||s.query(y,s.Scope.ATTRIBUTE)){var _=this.isolate(f,p);_.format(y,v)}else d.prototype.formatAt.call(this,f,p,y,v)},c.prototype.optimize=function(f){d.prototype.optimize.call(this,f);var p=this.formats();if(Object.keys(p).length===0)return this.unwrap();var y=this.next;y instanceof c&&y.prev===this&&l(p,y.formats())&&(y.moveChildren(this),y.remove())},c.blotName="inline",c.scope=s.Scope.INLINE_BLOT,c.tagName="SPAN",c}(a.default);r.default=u},function(n,r,i){var o=this&&this.__extends||function(){var u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,c){d.__proto__=c}||function(d,c){for(var f in c)c.hasOwnProperty(f)&&(d[f]=c[f])};return function(d,c){u(d,c);function f(){this.constructor=d}d.prototype=c===null?Object.create(c):(f.prototype=c.prototype,new f)}}();Object.defineProperty(r,"__esModule",{value:!0});var a=i(18),s=i(1),l=function(u){o(d,u);function d(){return u!==null&&u.apply(this,arguments)||this}return d.formats=function(c){var f=s.query(d.blotName).tagName;if(c.tagName!==f)return u.formats.call(this,c)},d.prototype.format=function(c,f){s.query(c,s.Scope.BLOCK)!=null&&(c===this.statics.blotName&&!f?this.replaceWith(d.blotName):u.prototype.format.call(this,c,f))},d.prototype.formatAt=function(c,f,p,y){s.query(p,s.Scope.BLOCK)!=null?this.format(p,y):u.prototype.formatAt.call(this,c,f,p,y)},d.prototype.insertAt=function(c,f,p){if(p==null||s.query(f,s.Scope.INLINE)!=null)u.prototype.insertAt.call(this,c,f,p);else{var y=this.split(c),v=s.create(f,p);y.parent.insertBefore(v,y)}},d.prototype.update=function(c,f){navigator.userAgent.match(/Trident/)?this.build():u.prototype.update.call(this,c,f)},d.blotName="block",d.scope=s.Scope.BLOCK_BLOT,d.tagName="P",d}(a.default);r.default=l},function(n,r,i){var o=this&&this.__extends||function(){var l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,d){u.__proto__=d}||function(u,d){for(var c in d)d.hasOwnProperty(c)&&(u[c]=d[c])};return function(u,d){l(u,d);function c(){this.constructor=u}u.prototype=d===null?Object.create(d):(c.prototype=d.prototype,new c)}}();Object.defineProperty(r,"__esModule",{value:!0});var a=i(19),s=function(l){o(u,l);function u(){return l!==null&&l.apply(this,arguments)||this}return u.formats=function(d){},u.prototype.format=function(d,c){l.prototype.formatAt.call(this,0,this.length(),d,c)},u.prototype.formatAt=function(d,c,f,p){d===0&&c===this.length()?this.format(f,p):l.prototype.formatAt.call(this,d,c,f,p)},u.prototype.formats=function(){return this.statics.formats(this.domNode)},u}(a.default);r.default=s},function(n,r,i){var o=this&&this.__extends||function(){var u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,c){d.__proto__=c}||function(d,c){for(var f in c)c.hasOwnProperty(f)&&(d[f]=c[f])};return function(d,c){u(d,c);function f(){this.constructor=d}d.prototype=c===null?Object.create(c):(f.prototype=c.prototype,new f)}}();Object.defineProperty(r,"__esModule",{value:!0});var a=i(19),s=i(1),l=function(u){o(d,u);function d(c){var f=u.call(this,c)||this;return f.text=f.statics.value(f.domNode),f}return d.create=function(c){return document.createTextNode(c)},d.value=function(c){var f=c.data;return f.normalize&&(f=f.normalize()),f},d.prototype.deleteAt=function(c,f){this.domNode.data=this.text=this.text.slice(0,c)+this.text.slice(c+f)},d.prototype.index=function(c,f){return this.domNode===c?f:-1},d.prototype.insertAt=function(c,f,p){p==null?(this.text=this.text.slice(0,c)+f+this.text.slice(c),this.domNode.data=this.text):u.prototype.insertAt.call(this,c,f,p)},d.prototype.length=function(){return this.text.length},d.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 d&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())},d.prototype.position=function(c,f){return[this.domNode,c]},d.prototype.split=function(c,f){if(f===void 0&&(f=!1),!f){if(c===0)return this;if(c===this.length())return this.next}var p=s.create(this.domNode.splitText(c));return this.parent.insertBefore(p,this.next),this.text=this.statics.value(this.domNode),p},d.prototype.update=function(c,f){var p=this;c.some(function(y){return y.type==="characterData"&&y.target===p.domNode})&&(this.text=this.statics.value(this.domNode))},d.prototype.value=function(){return this.text},d.blotName="text",d.scope=s.Scope.INLINE_BLOT,d}(a.default);r.default=l},function(n,r,i){var o=document.createElement("div");if(o.classList.toggle("test-class",!1),o.classList.contains("test-class")){var a=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(s,l){return arguments.length>1&&!this.contains(s)==!l?l:a.call(this,s)}}String.prototype.startsWith||(String.prototype.startsWith=function(s,l){return l=l||0,this.substr(l,s.length)===s}),String.prototype.endsWith||(String.prototype.endsWith=function(s,l){var u=this.toString();(typeof l!="number"||!isFinite(l)||Math.floor(l)!==l||l>u.length)&&(l=u.length),l-=s.length;var d=u.indexOf(s,l);return d!==-1&&d===l}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(l){if(this===null)throw new TypeError("Array.prototype.find called on null or undefined");if(typeof l!="function")throw new TypeError("predicate must be a function");for(var u=Object(this),d=u.length>>>0,c=arguments[1],f,p=0;p<d;p++)if(f=u[p],l.call(c,f,p,u))return f}}),document.addEventListener("DOMContentLoaded",function(){document.execCommand("enableObjectResizing",!1,!1),document.execCommand("autoUrlDetect",!1,!1)})},function(n,r){var i=-1,o=1,a=0;function s(h,E,k){if(h==E)return h?[[a,h]]:[];(k<0||h.length<k)&&(k=null);var T=c(h,E),A=h.substring(0,T);h=h.substring(T),E=E.substring(T),T=f(h,E);var C=h.substring(h.length-T);h=h.substring(0,h.length-T),E=E.substring(0,E.length-T);var N=l(h,E);return A&&N.unshift([a,A]),C&&N.push([a,C]),y(N),k!=null&&(N=m(N,k)),N=g(N),N}function l(h,E){var k;if(!h)return[[o,E]];if(!E)return[[i,h]];var T=h.length>E.length?h:E,A=h.length>E.length?E:h,C=T.indexOf(A);if(C!=-1)return k=[[o,T.substring(0,C)],[a,A],[o,T.substring(C+A.length)]],h.length>E.length&&(k[0][0]=k[2][0]=i),k;if(A.length==1)return[[i,h],[o,E]];var N=p(h,E);if(N){var O=N[0],S=N[1],L=N[2],R=N[3],D=N[4],B=s(O,L),q=s(S,R);return B.concat([[a,D]],q)}return u(h,E)}function u(h,E){for(var k=h.length,T=E.length,A=Math.ceil((k+T)/2),C=A,N=2*A,O=new Array(N),S=new Array(N),L=0;L<N;L++)O[L]=-1,S[L]=-1;O[C+1]=0,S[C+1]=0;for(var R=k-T,D=R%2!=0,B=0,q=0,re=0,Y=0,j=0;j<A;j++){for(var I=-j+B;I<=j-q;I+=2){var F=C+I,z;I==-j||I!=j&&O[F-1]<O[F+1]?z=O[F+1]:z=O[F-1]+1;for(var te=z-I;z<k&&te<T&&h.charAt(z)==E.charAt(te);)z++,te++;if(O[F]=z,z>k)q+=2;else if(te>T)B+=2;else if(D){var J=C+R-I;if(J>=0&&J<N&&S[J]!=-1){var H=k-S[J];if(z>=H)return d(h,E,z,te)}}}for(var X=-j+re;X<=j-Y;X+=2){var J=C+X,H;X==-j||X!=j&&S[J-1]<S[J+1]?H=S[J+1]:H=S[J-1]+1;for(var ie=H-X;H<k&&ie<T&&h.charAt(k-H-1)==E.charAt(T-ie-1);)H++,ie++;if(S[J]=H,H>k)Y+=2;else if(ie>T)re+=2;else if(!D){var F=C+R-X;if(F>=0&&F<N&&O[F]!=-1){var z=O[F],te=C+z-F;if(H=k-H,z>=H)return d(h,E,z,te)}}}}return[[i,h],[o,E]]}function d(h,E,k,T){var A=h.substring(0,k),C=E.substring(0,T),N=h.substring(k),O=E.substring(T),S=s(A,C),L=s(N,O);return S.concat(L)}function c(h,E){if(!h||!E||h.charAt(0)!=E.charAt(0))return 0;for(var k=0,T=Math.min(h.length,E.length),A=T,C=0;k<A;)h.substring(C,A)==E.substring(C,A)?(k=A,C=k):T=A,A=Math.floor((T-k)/2+k);return A}function f(h,E){if(!h||!E||h.charAt(h.length-1)!=E.charAt(E.length-1))return 0;for(var k=0,T=Math.min(h.length,E.length),A=T,C=0;k<A;)h.substring(h.length-A,h.length-C)==E.substring(E.length-A,E.length-C)?(k=A,C=k):T=A,A=Math.floor((T-k)/2+k);return A}function p(h,E){var k=h.length>E.length?h:E,T=h.length>E.length?E:h;if(k.length<4||T.length*2<k.length)return null;function A(q,re,Y){for(var j=q.substring(Y,Y+Math.floor(q.length/4)),I=-1,F="",z,te,J,H;(I=re.indexOf(j,I+1))!=-1;){var X=c(q.substring(Y),re.substring(I)),ie=f(q.substring(0,Y),re.substring(0,I));F.length<ie+X&&(F=re.substring(I-ie,I)+re.substring(I,I+X),z=q.substring(0,Y-ie),te=q.substring(Y+X),J=re.substring(0,I-ie),H=re.substring(I+X))}return F.length*2>=q.length?[z,te,J,H,F]:null}var C=A(k,T,Math.ceil(k.length/4)),N=A(k,T,Math.ceil(k.length/2)),O;if(!C&&!N)return null;N?C?O=C[4].length>N[4].length?C:N:O=N:O=C;var S,L,R,D;h.length>E.length?(S=O[0],L=O[1],R=O[2],D=O[3]):(R=O[0],D=O[1],S=O[2],L=O[3]);var B=O[4];return[S,L,R,D,B]}function y(h){h.push([a,""]);for(var E=0,k=0,T=0,A="",C="",N;E<h.length;)switch(h[E][0]){case o:T++,C+=h[E][1],E++;break;case i:k++,A+=h[E][1],E++;break;case a:k+T>1?(k!==0&&T!==0&&(N=c(C,A),N!==0&&(E-k-T>0&&h[E-k-T-1][0]==a?h[E-k-T-1][1]+=C.substring(0,N):(h.splice(0,0,[a,C.substring(0,N)]),E++),C=C.substring(N),A=A.substring(N)),N=f(C,A),N!==0&&(h[E][1]=C.substring(C.length-N)+h[E][1],C=C.substring(0,C.length-N),A=A.substring(0,A.length-N))),k===0?h.splice(E-T,k+T,[o,C]):T===0?h.splice(E-k,k+T,[i,A]):h.splice(E-k-T,k+T,[i,A],[o,C]),E=E-k-T+(k?1:0)+(T?1:0)+1):E!==0&&h[E-1][0]==a?(h[E-1][1]+=h[E][1],h.splice(E,1)):E++,T=0,k=0,A="",C="";break}h[h.length-1][1]===""&&h.pop();var O=!1;for(E=1;E<h.length-1;)h[E-1][0]==a&&h[E+1][0]==a&&(h[E][1].substring(h[E][1].length-h[E-1][1].length)==h[E-1][1]?(h[E][1]=h[E-1][1]+h[E][1].substring(0,h[E][1].length-h[E-1][1].length),h[E+1][1]=h[E-1][1]+h[E+1][1],h.splice(E-1,1),O=!0):h[E][1].substring(0,h[E+1][1].length)==h[E+1][1]&&(h[E-1][1]+=h[E+1][1],h[E][1]=h[E][1].substring(h[E+1][1].length)+h[E+1][1],h.splice(E+1,1),O=!0)),E++;O&&y(h)}var v=s;v.INSERT=o,v.DELETE=i,v.EQUAL=a,n.exports=v;function _(h,E){if(E===0)return[a,h];for(var k=0,T=0;T<h.length;T++){var A=h[T];if(A[0]===i||A[0]===a){var C=k+A[1].length;if(E===C)return[T+1,h];if(E<C){h=h.slice();var N=E-k,O=[A[0],A[1].slice(0,N)],S=[A[0],A[1].slice(N)];return h.splice(T,1,O,S),[T+1,h]}else k=C}}throw new Error("cursor_pos is out of bounds!")}function m(h,E){var k=_(h,E),T=k[1],A=k[0],C=T[A],N=T[A+1];if(C==null)return h;if(C[0]!==a)return h;if(N!=null&&C[1]+N[1]===N[1]+C[1])return T.splice(A,2,N,C),b(T,A,2);if(N!=null&&N[1].indexOf(C[1])===0){T.splice(A,2,[N[0],C[1]],[0,C[1]]);var O=N[1].slice(C[1].length);return O.length>0&&T.splice(A+2,0,[N[0],O]),b(T,A,3)}else return h}function g(h){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},A=2;A<h.length;A+=1)h[A-2][0]===a&&T(h[A-2][1])&&h[A-1][0]===i&&k(h[A-1][1])&&h[A][0]===o&&k(h[A][1])&&(E=!0,h[A-1][1]=h[A-2][1].slice(-1)+h[A-1][1],h[A][1]=h[A-2][1].slice(-1)+h[A][1],h[A-2][1]=h[A-2][1].slice(0,-1));if(!E)return h;for(var C=[],A=0;A<h.length;A+=1)h[A][1].length>0&&C.push(h[A]);return C}function b(h,E,k){for(var T=E+k-1;T>=0&&T>=E-1;T--)if(T+1<h.length){var A=h[T],C=h[T+1];A[0]===C[1]&&h.splice(T,2,[A[0],A[1]+C[1]])}return h}},function(n,r){r=n.exports=typeof Object.keys=="function"?Object.keys:i,r.shim=i;function i(o){var a=[];for(var s in o)a.push(s);return a}},function(n,r){var i=function(){return Object.prototype.toString.call(arguments)}()=="[object Arguments]";r=n.exports=i?o:a,r.supported=o;function o(s){return Object.prototype.toString.call(s)=="[object Arguments]"}r.unsupported=a;function a(s){return s&&typeof s=="object"&&typeof s.length=="number"&&Object.prototype.hasOwnProperty.call(s,"callee")&&!Object.prototype.propertyIsEnumerable.call(s,"callee")||!1}},function(n,r){var i=Object.prototype.hasOwnProperty,o="~";function a(){}Object.create&&(a.prototype=Object.create(null),new a().__proto__||(o=!1));function s(u,d,c){this.fn=u,this.context=d,this.once=c||!1}function l(){this._events=new a,this._eventsCount=0}l.prototype.eventNames=function(){var d=[],c,f;if(this._eventsCount===0)return d;for(f in c=this._events)i.call(c,f)&&d.push(o?f.slice(1):f);return Object.getOwnPropertySymbols?d.concat(Object.getOwnPropertySymbols(c)):d},l.prototype.listeners=function(d,c){var f=o?o+d:d,p=this._events[f];if(c)return!!p;if(!p)return[];if(p.fn)return[p.fn];for(var y=0,v=p.length,_=new Array(v);y<v;y++)_[y]=p[y].fn;return _},l.prototype.emit=function(d,c,f,p,y,v){var _=o?o+d:d;if(!this._events[_])return!1;var m=this._events[_],g=arguments.length,b,h;if(m.fn){switch(m.once&&this.removeListener(d,m.fn,void 0,!0),g){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,f),!0;case 4:return m.fn.call(m.context,c,f,p),!0;case 5:return m.fn.call(m.context,c,f,p,y),!0;case 6:return m.fn.call(m.context,c,f,p,y,v),!0}for(h=1,b=new Array(g-1);h<g;h++)b[h-1]=arguments[h];m.fn.apply(m.context,b)}else{var E=m.length,k;for(h=0;h<E;h++)switch(m[h].once&&this.removeListener(d,m[h].fn,void 0,!0),g){case 1:m[h].fn.call(m[h].context);break;case 2:m[h].fn.call(m[h].context,c);break;case 3:m[h].fn.call(m[h].context,c,f);break;case 4:m[h].fn.call(m[h].context,c,f,p);break;default:if(!b)for(k=1,b=new Array(g-1);k<g;k++)b[k-1]=arguments[k];m[h].fn.apply(m[h].context,b)}}return!0},l.prototype.on=function(d,c,f){var p=new s(c,f||this),y=o?o+d:d;return this._events[y]?this._events[y].fn?this._events[y]=[this._events[y],p]:this._events[y].push(p):(this._events[y]=p,this._eventsCount++),this},l.prototype.once=function(d,c,f){var p=new s(c,f||this,!0),y=o?o+d:d;return this._events[y]?this._events[y].fn?this._events[y]=[this._events[y],p]:this._events[y].push(p):(this._events[y]=p,this._eventsCount++),this},l.prototype.removeListener=function(d,c,f,p){var y=o?o+d:d;if(!this._events[y])return this;if(!c)return--this._eventsCount===0?this._events=new a:delete this._events[y],this;var v=this._events[y];if(v.fn)v.fn===c&&(!p||v.once)&&(!f||v.context===f)&&(--this._eventsCount===0?this._events=new a:delete this._events[y]);else{for(var _=0,m=[],g=v.length;_<g;_++)(v[_].fn!==c||p&&!v[_].once||f&&v[_].context!==f)&&m.push(v[_]);m.length?this._events[y]=m.length===1?m[0]:m:--this._eventsCount===0?this._events=new a:delete this._events[y]}return this},l.prototype.removeAllListeners=function(d){var c;return d?(c=o?o+d:d,this._events[c]&&(--this._eventsCount===0?this._events=new a:delete this._events[c])):(this._events=new a,this._eventsCount=0),this},l.prototype.off=l.prototype.removeListener,l.prototype.addListener=l.prototype.on,l.prototype.setMaxListeners=function(){return this},l.prefixed=o,l.EventEmitter=l,typeof n<"u"&&(n.exports=l)},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 o=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},a=function(){function U(G,ee){var Q=[],ae=!0,le=!1,K=void 0;try{for(var ne=G[Symbol.iterator](),pe;!(ae=(pe=ne.next()).done)&&(Q.push(pe.value),!(ee&&Q.length===ee));ae=!0);}catch(ve){le=!0,K=ve}finally{try{!ae&&ne.return&&ne.return()}finally{if(le)throw K}}return Q}return function(G,ee){if(Array.isArray(G))return G;if(Symbol.iterator in Object(G))return U(G,ee);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),s=function(){function U(G,ee){for(var Q=0;Q<ee.length;Q++){var ae=ee[Q];ae.enumerable=ae.enumerable||!1,ae.configurable=!0,"value"in ae&&(ae.writable=!0),Object.defineProperty(G,ae.key,ae)}}return function(G,ee,Q){return ee&&U(G.prototype,ee),Q&&U(G,Q),G}}(),l=i(3),u=S(l),d=i(2),c=S(d),f=i(0),p=S(f),y=i(5),v=S(y),_=i(10),m=S(_),g=i(9),b=S(g),h=i(36),E=i(37),k=i(13),T=S(k),A=i(26),C=i(38),N=i(39),O=i(40);function S(U){return U&&U.__esModule?U:{default:U}}function L(U,G,ee){return G in U?Object.defineProperty(U,G,{value:ee,enumerable:!0,configurable:!0,writable:!0}):U[G]=ee,U}function R(U,G){if(!(U instanceof G))throw new TypeError("Cannot call a class as a function")}function D(U,G){if(!U)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return G&&(typeof G=="object"||typeof G=="function")?G:U}function B(U,G){if(typeof G!="function"&&G!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof G);U.prototype=Object.create(G&&G.prototype,{constructor:{value:U,enumerable:!1,writable:!0,configurable:!0}}),G&&(Object.setPrototypeOf?Object.setPrototypeOf(U,G):U.__proto__=G)}var q=(0,m.default)("quill:clipboard"),re="__ql-matcher",Y=[[Node.TEXT_NODE,se],[Node.TEXT_NODE,x],["br",he],[Node.ELEMENT_NODE,x],[Node.ELEMENT_NODE,ue],[Node.ELEMENT_NODE,$],[Node.ELEMENT_NODE,oe],[Node.ELEMENT_NODE,Z],["li",P],["b",ie.bind(ie,"bold")],["i",ie.bind(ie,"italic")],["style",V]],j=[h.AlignAttribute,C.DirectionAttribute].reduce(function(U,G){return U[G.keyName]=G,U},{}),I=[h.AlignStyle,E.BackgroundStyle,A.ColorStyle,C.DirectionStyle,N.FontStyle,O.SizeStyle].reduce(function(U,G){return U[G.keyName]=G,U},{}),F=function(U){B(G,U);function G(ee,Q){R(this,G);var ae=D(this,(G.__proto__||Object.getPrototypeOf(G)).call(this,ee,Q));return ae.quill.root.addEventListener("paste",ae.onPaste.bind(ae)),ae.container=ae.quill.addContainer("ql-clipboard"),ae.container.setAttribute("contenteditable",!0),ae.container.setAttribute("tabindex",-1),ae.matchers=[],Y.concat(ae.options.matchers).forEach(function(le){var K=a(le,2),ne=K[0],pe=K[1];!Q.matchVisual&&pe===$||ae.addMatcher(ne,pe)}),ae}return s(G,[{key:"addMatcher",value:function(Q,ae){this.matchers.push([Q,ae])}},{key:"convert",value:function(Q){if(typeof Q=="string")return this.container.innerHTML=Q.replace(/\>\r?\n +\</g,"><"),this.convert();var ae=this.quill.getFormat(this.quill.selection.savedRange.index);if(ae[T.default.blotName]){var le=this.container.innerText;return this.container.innerHTML="",new c.default().insert(le,L({},T.default.blotName,ae[T.default.blotName]))}var K=this.prepareMatching(),ne=a(K,2),pe=ne[0],ve=ne[1],ge=X(this.container,pe,ve);return J(ge,`
|
|
833
|
+
`)&&ge.ops[ge.ops.length-1].attributes==null&&(ge=ge.compose(new c.default().retain(ge.length()-1).delete(1))),q.log("convert",this.container.innerHTML,ge),this.container.innerHTML="",ge}},{key:"dangerouslyPasteHTML",value:function(Q,ae){var le=arguments.length>2&&arguments[2]!==void 0?arguments[2]:v.default.sources.API;if(typeof Q=="string")this.quill.setContents(this.convert(Q),ae),this.quill.setSelection(0,v.default.sources.SILENT);else{var K=this.convert(ae);this.quill.updateContents(new c.default().retain(Q).concat(K),le),this.quill.setSelection(Q+K.length(),v.default.sources.SILENT)}}},{key:"onPaste",value:function(Q){var ae=this;if(!(Q.defaultPrevented||!this.quill.isEnabled())){var le=this.quill.getSelection(),K=new c.default().retain(le.index),ne=this.quill.scrollingContainer.scrollTop;this.container.focus(),this.quill.selection.update(v.default.sources.SILENT),setTimeout(function(){K=K.concat(ae.convert()).delete(le.length),ae.quill.updateContents(K,v.default.sources.USER),ae.quill.setSelection(K.length()-le.length,v.default.sources.SILENT),ae.quill.scrollingContainer.scrollTop=ne,ae.quill.focus()},1)}}},{key:"prepareMatching",value:function(){var Q=this,ae=[],le=[];return this.matchers.forEach(function(K){var ne=a(K,2),pe=ne[0],ve=ne[1];switch(pe){case Node.TEXT_NODE:le.push(ve);break;case Node.ELEMENT_NODE:ae.push(ve);break;default:[].forEach.call(Q.container.querySelectorAll(pe),function(ge){ge[re]=ge[re]||[],ge[re].push(ve)});break}}),[ae,le]}}]),G}(b.default);F.DEFAULTS={matchers:[],matchVisual:!0};function z(U,G,ee){return(typeof G>"u"?"undefined":o(G))==="object"?Object.keys(G).reduce(function(Q,ae){return z(Q,ae,G[ae])},U):U.reduce(function(Q,ae){return ae.attributes&&ae.attributes[G]?Q.push(ae):Q.insert(ae.insert,(0,u.default)({},L({},G,ee),ae.attributes))},new c.default)}function te(U){if(U.nodeType!==Node.ELEMENT_NODE)return{};var G="__ql-computed-style";return U[G]||(U[G]=window.getComputedStyle(U))}function J(U,G){for(var ee="",Q=U.ops.length-1;Q>=0&&ee.length<G.length;--Q){var ae=U.ops[Q];if(typeof ae.insert!="string")break;ee=ae.insert+ee}return ee.slice(-1*G.length)===G}function H(U){if(U.childNodes.length===0)return!1;var G=te(U);return["block","list-item"].indexOf(G.display)>-1}function X(U,G,ee){return U.nodeType===U.TEXT_NODE?ee.reduce(function(Q,ae){return ae(U,Q)},new c.default):U.nodeType===U.ELEMENT_NODE?[].reduce.call(U.childNodes||[],function(Q,ae){var le=X(ae,G,ee);return ae.nodeType===U.ELEMENT_NODE&&(le=G.reduce(function(K,ne){return ne(ae,K)},le),le=(ae[re]||[]).reduce(function(K,ne){return ne(ae,K)},le)),Q.concat(le)},new c.default):new c.default}function ie(U,G,ee){return z(ee,U,!0)}function oe(U,G){var ee=p.default.Attributor.Attribute.keys(U),Q=p.default.Attributor.Class.keys(U),ae=p.default.Attributor.Style.keys(U),le={};return ee.concat(Q).concat(ae).forEach(function(K){var ne=p.default.query(K,p.default.Scope.ATTRIBUTE);ne!=null&&(le[ne.attrName]=ne.value(U),le[ne.attrName])||(ne=j[K],ne!=null&&(ne.attrName===K||ne.keyName===K)&&(le[ne.attrName]=ne.value(U)||void 0),ne=I[K],ne!=null&&(ne.attrName===K||ne.keyName===K)&&(ne=I[K],le[ne.attrName]=ne.value(U)||void 0))}),Object.keys(le).length>0&&(G=z(G,le)),G}function ue(U,G){var ee=p.default.query(U);if(ee==null)return G;if(ee.prototype instanceof p.default.Embed){var Q={},ae=ee.value(U);ae!=null&&(Q[ee.blotName]=ae,G=new c.default().insert(Q,ee.formats(U)))}else typeof ee.formats=="function"&&(G=z(G,ee.blotName,ee.formats(U)));return G}function he(U,G){return J(G,`
|
|
834
|
+
`)||G.insert(`
|
|
835
|
+
`),G}function V(){return new c.default}function P(U,G){var ee=p.default.query(U);if(ee==null||ee.blotName!=="list-item"||!J(G,`
|
|
836
|
+
`))return G;for(var Q=-1,ae=U.parentNode;!ae.classList.contains("ql-clipboard");)(p.default.query(ae)||{}).blotName==="list"&&(Q+=1),ae=ae.parentNode;return Q<=0?G:G.compose(new c.default().retain(G.length()-1).retain(1,{indent:Q}))}function x(U,G){return J(G,`
|
|
837
|
+
`)||(H(U)||G.length()>0&&U.nextSibling&&H(U.nextSibling))&&G.insert(`
|
|
838
|
+
`),G}function $(U,G){if(H(U)&&U.nextElementSibling!=null&&!J(G,`
|
|
839
|
+
|
|
840
|
+
`)){var ee=U.offsetHeight+parseFloat(te(U).marginTop)+parseFloat(te(U).marginBottom);U.nextElementSibling.offsetTop>U.offsetTop+ee*1.5&&G.insert(`
|
|
841
|
+
`)}return G}function Z(U,G){var ee={},Q=U.style||{};return Q.fontStyle&&te(U).fontStyle==="italic"&&(ee.italic=!0),Q.fontWeight&&(te(U).fontWeight.startsWith("bold")||parseInt(te(U).fontWeight)>=700)&&(ee.bold=!0),Object.keys(ee).length>0&&(G=z(G,ee)),parseFloat(Q.textIndent||0)>0&&(G=new c.default().insert(" ").concat(G)),G}function se(U,G){var ee=U.data;if(U.parentNode.tagName==="O:P")return G.insert(ee.trim());if(ee.trim().length===0&&U.parentNode.classList.contains("ql-clipboard"))return G;if(!te(U.parentNode).whiteSpace.startsWith("pre")){var Q=function(le,K){return K=K.replace(/[^\u00a0]/g,""),K.length<1&&le?" ":K};ee=ee.replace(/\r\n/g," ").replace(/\n/g," "),ee=ee.replace(/\s\s+/g,Q.bind(Q,!0)),(U.previousSibling==null&&H(U.parentNode)||U.previousSibling!=null&&H(U.previousSibling))&&(ee=ee.replace(/^\s+/,Q.bind(Q,!1))),(U.nextSibling==null&&H(U.parentNode)||U.nextSibling!=null&&H(U.nextSibling))&&(ee=ee.replace(/\s+$/,Q.bind(Q,!1)))}return G.insert(ee)}r.default=F,r.matchAttributor=oe,r.matchBlot=ue,r.matchNewline=x,r.matchSpacing=$,r.matchText=se},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var o=function(){function y(v,_){for(var m=0;m<_.length;m++){var g=_[m];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(v,g.key,g)}}return function(v,_,m){return _&&y(v.prototype,_),m&&y(v,m),v}}(),a=function y(v,_,m){v===null&&(v=Function.prototype);var g=Object.getOwnPropertyDescriptor(v,_);if(g===void 0){var b=Object.getPrototypeOf(v);return b===null?void 0:y(b,_,m)}else{if("value"in g)return g.value;var h=g.get;return h===void 0?void 0:h.call(m)}},s=i(6),l=u(s);function u(y){return y&&y.__esModule?y:{default:y}}function d(y,v){if(!(y instanceof v))throw new TypeError("Cannot call a class as a function")}function c(y,v){if(!y)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return v&&(typeof v=="object"||typeof v=="function")?v:y}function f(y,v){if(typeof v!="function"&&v!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof v);y.prototype=Object.create(v&&v.prototype,{constructor:{value:y,enumerable:!1,writable:!0,configurable:!0}}),v&&(Object.setPrototypeOf?Object.setPrototypeOf(y,v):y.__proto__=v)}var p=function(y){f(v,y);function v(){return d(this,v),c(this,(v.__proto__||Object.getPrototypeOf(v)).apply(this,arguments))}return o(v,[{key:"optimize",value:function(m){a(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"optimize",this).call(this,m),this.domNode.tagName!==this.statics.tagName[0]&&this.replaceWith(this.statics.blotName)}}],[{key:"create",value:function(){return a(v.__proto__||Object.getPrototypeOf(v),"create",this).call(this)}},{key:"formats",value:function(){return!0}}]),v}(l.default);p.blotName="bold",p.tagName=["STRONG","B"],r.default=p},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.addControls=r.default=void 0;var o=function(){function O(S,L){var R=[],D=!0,B=!1,q=void 0;try{for(var re=S[Symbol.iterator](),Y;!(D=(Y=re.next()).done)&&(R.push(Y.value),!(L&&R.length===L));D=!0);}catch(j){B=!0,q=j}finally{try{!D&&re.return&&re.return()}finally{if(B)throw q}}return R}return function(S,L){if(Array.isArray(S))return S;if(Symbol.iterator in Object(S))return O(S,L);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a=function(){function O(S,L){for(var R=0;R<L.length;R++){var D=L[R];D.enumerable=D.enumerable||!1,D.configurable=!0,"value"in D&&(D.writable=!0),Object.defineProperty(S,D.key,D)}}return function(S,L,R){return L&&O(S.prototype,L),R&&O(S,R),S}}(),s=i(2),l=m(s),u=i(0),d=m(u),c=i(5),f=m(c),p=i(10),y=m(p),v=i(9),_=m(v);function m(O){return O&&O.__esModule?O:{default:O}}function g(O,S,L){return S in O?Object.defineProperty(O,S,{value:L,enumerable:!0,configurable:!0,writable:!0}):O[S]=L,O}function b(O,S){if(!(O instanceof S))throw new TypeError("Cannot call a class as a function")}function h(O,S){if(!O)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return S&&(typeof S=="object"||typeof S=="function")?S:O}function E(O,S){if(typeof S!="function"&&S!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof S);O.prototype=Object.create(S&&S.prototype,{constructor:{value:O,enumerable:!1,writable:!0,configurable:!0}}),S&&(Object.setPrototypeOf?Object.setPrototypeOf(O,S):O.__proto__=S)}var k=(0,y.default)("quill:toolbar"),T=function(O){E(S,O);function S(L,R){b(this,S);var D=h(this,(S.__proto__||Object.getPrototypeOf(S)).call(this,L,R));if(Array.isArray(D.options.container)){var B=document.createElement("div");C(B,D.options.container),L.container.parentNode.insertBefore(B,L.container),D.container=B}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),h(D,q)}return D.container.classList.add("ql-toolbar"),D.controls=[],D.handlers={},Object.keys(D.options.handlers).forEach(function(re){D.addHandler(re,D.options.handlers[re])}),[].forEach.call(D.container.querySelectorAll("button, select"),function(re){D.attach(re)}),D.quill.on(f.default.events.EDITOR_CHANGE,function(re,Y){re===f.default.events.SELECTION_CHANGE&&D.update(Y)}),D.quill.on(f.default.events.SCROLL_OPTIMIZE,function(){var re=D.quill.selection.getRange(),Y=o(re,1),j=Y[0];D.update(j)}),D}return a(S,[{key:"addHandler",value:function(R,D){this.handlers[R]=D}},{key:"attach",value:function(R){var D=this,B=[].find.call(R.classList,function(re){return re.indexOf("ql-")===0});if(B){if(B=B.slice(3),R.tagName==="BUTTON"&&R.setAttribute("type","button"),this.handlers[B]==null){if(this.quill.scroll.whitelist!=null&&this.quill.scroll.whitelist[B]==null){k.warn("ignoring attaching to disabled format",B,R);return}if(d.default.query(B)==null){k.warn("ignoring attaching to nonexistent format",B,R);return}}var q=R.tagName==="SELECT"?"change":"click";R.addEventListener(q,function(re){var Y=void 0;if(R.tagName==="SELECT"){if(R.selectedIndex<0)return;var j=R.options[R.selectedIndex];j.hasAttribute("selected")?Y=!1:Y=j.value||!1}else R.classList.contains("ql-active")?Y=!1:Y=R.value||!R.hasAttribute("value"),re.preventDefault();D.quill.focus();var I=D.quill.selection.getRange(),F=o(I,1),z=F[0];if(D.handlers[B]!=null)D.handlers[B].call(D,Y);else if(d.default.query(B).prototype instanceof d.default.Embed){if(Y=prompt("Enter "+B),!Y)return;D.quill.updateContents(new l.default().retain(z.index).delete(z.length).insert(g({},B,Y)),f.default.sources.USER)}else D.quill.format(B,Y,f.default.sources.USER);D.update(z)}),this.controls.push([B,R])}}},{key:"update",value:function(R){var D=R==null?{}:this.quill.getFormat(R);this.controls.forEach(function(B){var q=o(B,2),re=q[0],Y=q[1];if(Y.tagName==="SELECT"){var j=void 0;if(R==null)j=null;else if(D[re]==null)j=Y.querySelector("option[selected]");else if(!Array.isArray(D[re])){var I=D[re];typeof I=="string"&&(I=I.replace(/\"/g,'\\"')),j=Y.querySelector('option[value="'+I+'"]')}j==null?(Y.value="",Y.selectedIndex=-1):j.selected=!0}else if(R==null)Y.classList.remove("ql-active");else if(Y.hasAttribute("value")){var F=D[re]===Y.getAttribute("value")||D[re]!=null&&D[re].toString()===Y.getAttribute("value")||D[re]==null&&!Y.getAttribute("value");Y.classList.toggle("ql-active",F)}else Y.classList.toggle("ql-active",D[re]!=null)})}}]),S}(_.default);T.DEFAULTS={};function A(O,S,L){var R=document.createElement("button");R.setAttribute("type","button"),R.classList.add("ql-"+S),L!=null&&(R.value=L),O.appendChild(R)}function C(O,S){Array.isArray(S[0])||(S=[S]),S.forEach(function(L){var R=document.createElement("span");R.classList.add("ql-formats"),L.forEach(function(D){if(typeof D=="string")A(R,D);else{var B=Object.keys(D)[0],q=D[B];Array.isArray(q)?N(R,B,q):A(R,B,q)}}),O.appendChild(R)})}function N(O,S,L){var R=document.createElement("select");R.classList.add("ql-"+S),L.forEach(function(D){var B=document.createElement("option");D!==!1?B.setAttribute("value",D):B.setAttribute("selected","selected"),R.appendChild(B)}),O.appendChild(R)}T.DEFAULTS={container:null,handlers:{clean:function(){var S=this,L=this.quill.getSelection();if(L!=null)if(L.length==0){var R=this.quill.getFormat();Object.keys(R).forEach(function(D){d.default.query(D,d.default.Scope.INLINE)!=null&&S.quill.format(D,!1)})}else this.quill.removeFormat(L,f.default.sources.USER)},direction:function(S){var L=this.quill.getFormat().align;S==="rtl"&&L==null?this.quill.format("align","right",f.default.sources.USER):!S&&L==="right"&&this.quill.format("align",!1,f.default.sources.USER),this.quill.format("direction",S,f.default.sources.USER)},indent:function(S){var L=this.quill.getSelection(),R=this.quill.getFormat(L),D=parseInt(R.indent||0);if(S==="+1"||S==="-1"){var B=S==="+1"?1:-1;R.direction==="rtl"&&(B*=-1),this.quill.format("indent",D+B,f.default.sources.USER)}},link:function(S){S===!0&&(S=prompt("Enter link URL:")),this.quill.format("link",S,f.default.sources.USER)},list:function(S){var L=this.quill.getSelection(),R=this.quill.getFormat(L);S==="check"?R.list==="checked"||R.list==="unchecked"?this.quill.format("list",!1,f.default.sources.USER):this.quill.format("list","unchecked",f.default.sources.USER):this.quill.format("list",S,f.default.sources.USER)}}},r.default=T,r.addControls=C},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 o=function(){function y(v,_){for(var m=0;m<_.length;m++){var g=_[m];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(v,g.key,g)}}return function(v,_,m){return _&&y(v.prototype,_),m&&y(v,m),v}}(),a=function y(v,_,m){v===null&&(v=Function.prototype);var g=Object.getOwnPropertyDescriptor(v,_);if(g===void 0){var b=Object.getPrototypeOf(v);return b===null?void 0:y(b,_,m)}else{if("value"in g)return g.value;var h=g.get;return h===void 0?void 0:h.call(m)}},s=i(28),l=u(s);function u(y){return y&&y.__esModule?y:{default:y}}function d(y,v){if(!(y instanceof v))throw new TypeError("Cannot call a class as a function")}function c(y,v){if(!y)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return v&&(typeof v=="object"||typeof v=="function")?v:y}function f(y,v){if(typeof v!="function"&&v!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof v);y.prototype=Object.create(v&&v.prototype,{constructor:{value:y,enumerable:!1,writable:!0,configurable:!0}}),v&&(Object.setPrototypeOf?Object.setPrototypeOf(y,v):y.__proto__=v)}var p=function(y){f(v,y);function v(_,m){d(this,v);var g=c(this,(v.__proto__||Object.getPrototypeOf(v)).call(this,_));return g.label.innerHTML=m,g.container.classList.add("ql-color-picker"),[].slice.call(g.container.querySelectorAll(".ql-picker-item"),0,7).forEach(function(b){b.classList.add("ql-primary")}),g}return o(v,[{key:"buildItem",value:function(m){var g=a(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"buildItem",this).call(this,m);return g.style.backgroundColor=m.getAttribute("value")||"",g}},{key:"selectItem",value:function(m,g){a(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"selectItem",this).call(this,m,g);var b=this.label.querySelector(".ql-color-label"),h=m&&m.getAttribute("data-value")||"";b&&(b.tagName==="line"?b.style.stroke=h:b.style.fill=h)}}]),v}(l.default);r.default=p},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var o=function(){function y(v,_){for(var m=0;m<_.length;m++){var g=_[m];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(v,g.key,g)}}return function(v,_,m){return _&&y(v.prototype,_),m&&y(v,m),v}}(),a=function y(v,_,m){v===null&&(v=Function.prototype);var g=Object.getOwnPropertyDescriptor(v,_);if(g===void 0){var b=Object.getPrototypeOf(v);return b===null?void 0:y(b,_,m)}else{if("value"in g)return g.value;var h=g.get;return h===void 0?void 0:h.call(m)}},s=i(28),l=u(s);function u(y){return y&&y.__esModule?y:{default:y}}function d(y,v){if(!(y instanceof v))throw new TypeError("Cannot call a class as a function")}function c(y,v){if(!y)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return v&&(typeof v=="object"||typeof v=="function")?v:y}function f(y,v){if(typeof v!="function"&&v!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof v);y.prototype=Object.create(v&&v.prototype,{constructor:{value:y,enumerable:!1,writable:!0,configurable:!0}}),v&&(Object.setPrototypeOf?Object.setPrototypeOf(y,v):y.__proto__=v)}var p=function(y){f(v,y);function v(_,m){d(this,v);var g=c(this,(v.__proto__||Object.getPrototypeOf(v)).call(this,_));return g.container.classList.add("ql-icon-picker"),[].forEach.call(g.container.querySelectorAll(".ql-picker-item"),function(b){b.innerHTML=m[b.getAttribute("data-value")||""]}),g.defaultItem=g.container.querySelector(".ql-selected"),g.selectItem(g.defaultItem),g}return o(v,[{key:"selectItem",value:function(m,g){a(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"selectItem",this).call(this,m,g),m=m||this.defaultItem,this.label.innerHTML=m.innerHTML}}]),v}(l.default);r.default=p},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var o=function(){function l(u,d){for(var c=0;c<d.length;c++){var f=d[c];f.enumerable=f.enumerable||!1,f.configurable=!0,"value"in f&&(f.writable=!0),Object.defineProperty(u,f.key,f)}}return function(u,d,c){return d&&l(u.prototype,d),c&&l(u,c),u}}();function a(l,u){if(!(l instanceof u))throw new TypeError("Cannot call a class as a function")}var s=function(){function l(u,d){var c=this;a(this,l),this.quill=u,this.boundsContainer=d||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 o(l,[{key:"hide",value:function(){this.root.classList.add("ql-hidden")}},{key:"position",value:function(d){var c=d.left+d.width/2-this.root.offsetWidth/2,f=d.bottom+this.quill.root.scrollTop;this.root.style.left=c+"px",this.root.style.top=f+"px",this.root.classList.remove("ql-flip");var p=this.boundsContainer.getBoundingClientRect(),y=this.root.getBoundingClientRect(),v=0;if(y.right>p.right&&(v=p.right-y.right,this.root.style.left=c+v+"px"),y.left<p.left&&(v=p.left-y.left,this.root.style.left=c+v+"px"),y.bottom>p.bottom){var _=y.bottom-y.top,m=d.bottom-d.top+_;this.root.style.top=f-m+"px",this.root.classList.add("ql-flip")}return v}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),l}();r.default=s},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var o=function(){function N(O,S){var L=[],R=!0,D=!1,B=void 0;try{for(var q=O[Symbol.iterator](),re;!(R=(re=q.next()).done)&&(L.push(re.value),!(S&&L.length===S));R=!0);}catch(Y){D=!0,B=Y}finally{try{!R&&q.return&&q.return()}finally{if(D)throw B}}return L}return function(O,S){if(Array.isArray(O))return O;if(Symbol.iterator in Object(O))return N(O,S);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a=function N(O,S,L){O===null&&(O=Function.prototype);var R=Object.getOwnPropertyDescriptor(O,S);if(R===void 0){var D=Object.getPrototypeOf(O);return D===null?void 0:N(D,S,L)}else{if("value"in R)return R.value;var B=R.get;return B===void 0?void 0:B.call(L)}},s=function(){function N(O,S){for(var L=0;L<S.length;L++){var R=S[L];R.enumerable=R.enumerable||!1,R.configurable=!0,"value"in R&&(R.writable=!0),Object.defineProperty(O,R.key,R)}}return function(O,S,L){return S&&N(O.prototype,S),L&&N(O,L),O}}(),l=i(3),u=b(l),d=i(8),c=b(d),f=i(43),p=b(f),y=i(27),v=b(y),_=i(15),m=i(41),g=b(m);function b(N){return N&&N.__esModule?N:{default:N}}function h(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"]],A=function(N){k(O,N);function O(S,L){h(this,O),L.modules.toolbar!=null&&L.modules.toolbar.container==null&&(L.modules.toolbar.container=T);var R=E(this,(O.__proto__||Object.getPrototypeOf(O)).call(this,S,L));return R.quill.container.classList.add("ql-snow"),R}return s(O,[{key:"extendToolbar",value:function(L){L.container.classList.add("ql-snow"),this.buildButtons([].slice.call(L.container.querySelectorAll("button")),g.default),this.buildPickers([].slice.call(L.container.querySelectorAll("select")),g.default),this.tooltip=new C(this.quill,this.options.bounds),L.container.querySelector(".ql-link")&&this.quill.keyboard.addBinding({key:"K",shortKey:!0},function(R,D){L.handlers.link.call(L,!D.format.link)})}}]),O}(p.default);A.DEFAULTS=(0,u.default)(!0,{},p.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(O){if(O){var S=this.quill.getSelection();if(S==null||S.length==0)return;var L=this.quill.getText(S);/^\S+@\S+\.\S+$/.test(L)&&L.indexOf("mailto:")!==0&&(L="mailto:"+L);var R=this.quill.theme.tooltip;R.edit("link",L)}else this.quill.format("link",!1)}}}}});var C=function(N){k(O,N);function O(S,L){h(this,O);var R=E(this,(O.__proto__||Object.getPrototypeOf(O)).call(this,S,L));return R.preview=R.root.querySelector("a.ql-preview"),R}return s(O,[{key:"listen",value:function(){var L=this;a(O.prototype.__proto__||Object.getPrototypeOf(O.prototype),"listen",this).call(this),this.root.querySelector("a.ql-action").addEventListener("click",function(R){L.root.classList.contains("ql-editing")?L.save():L.edit("link",L.preview.textContent),R.preventDefault()}),this.root.querySelector("a.ql-remove").addEventListener("click",function(R){if(L.linkRange!=null){var D=L.linkRange;L.restoreFocus(),L.quill.formatText(D,"link",!1,c.default.sources.USER),delete L.linkRange}R.preventDefault(),L.hide()}),this.quill.on(c.default.events.SELECTION_CHANGE,function(R,D,B){if(R!=null){if(R.length===0&&B===c.default.sources.USER){var q=L.quill.scroll.descendant(v.default,R.index),re=o(q,2),Y=re[0],j=re[1];if(Y!=null){L.linkRange=new _.Range(R.index-j,Y.length());var I=v.default.formats(Y.domNode);L.preview.textContent=I,L.preview.setAttribute("href",I),L.show(),L.position(L.quill.getBounds(L.linkRange));return}}else delete L.linkRange;L.hide()}})}},{key:"show",value:function(){a(O.prototype.__proto__||Object.getPrototypeOf(O.prototype),"show",this).call(this),this.root.removeAttribute("data-mode")}}]),O}(f.BaseTooltip);C.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=A},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var o=i(29),a=ae(o),s=i(36),l=i(38),u=i(64),d=i(65),c=ae(d),f=i(66),p=ae(f),y=i(67),v=ae(y),_=i(37),m=i(26),g=i(39),b=i(40),h=i(56),E=ae(h),k=i(68),T=ae(k),A=i(27),C=ae(A),N=i(69),O=ae(N),S=i(70),L=ae(S),R=i(71),D=ae(R),B=i(72),q=ae(B),re=i(73),Y=ae(re),j=i(13),I=ae(j),F=i(74),z=ae(F),te=i(75),J=ae(te),H=i(57),X=ae(H),ie=i(41),oe=ae(ie),ue=i(28),he=ae(ue),V=i(59),P=ae(V),x=i(60),$=ae(x),Z=i(61),se=ae(Z),U=i(108),G=ae(U),ee=i(62),Q=ae(ee);function ae(le){return le&&le.__esModule?le:{default:le}}a.default.register({"attributors/attribute/direction":l.DirectionAttribute,"attributors/class/align":s.AlignClass,"attributors/class/background":_.BackgroundClass,"attributors/class/color":m.ColorClass,"attributors/class/direction":l.DirectionClass,"attributors/class/font":g.FontClass,"attributors/class/size":b.SizeClass,"attributors/style/align":s.AlignStyle,"attributors/style/background":_.BackgroundStyle,"attributors/style/color":m.ColorStyle,"attributors/style/direction":l.DirectionStyle,"attributors/style/font":g.FontStyle,"attributors/style/size":b.SizeStyle},!0),a.default.register({"formats/align":s.AlignClass,"formats/direction":l.DirectionClass,"formats/indent":u.IndentClass,"formats/background":_.BackgroundStyle,"formats/color":m.ColorStyle,"formats/font":g.FontClass,"formats/size":b.SizeClass,"formats/blockquote":c.default,"formats/code-block":I.default,"formats/header":p.default,"formats/list":v.default,"formats/bold":E.default,"formats/code":j.Code,"formats/italic":T.default,"formats/link":C.default,"formats/script":O.default,"formats/strike":L.default,"formats/underline":D.default,"formats/image":q.default,"formats/video":Y.default,"formats/list/item":y.ListItem,"modules/formula":z.default,"modules/syntax":J.default,"modules/toolbar":X.default,"themes/bubble":G.default,"themes/snow":Q.default,"ui/icons":oe.default,"ui/picker":he.default,"ui/icon-picker":$.default,"ui/color-picker":P.default,"ui/tooltip":se.default},!0),r.default=a.default},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.IndentClass=void 0;var o=function(){function v(_,m){for(var g=0;g<m.length;g++){var b=m[g];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(_,b.key,b)}}return function(_,m,g){return m&&v(_.prototype,m),g&&v(_,g),_}}(),a=function v(_,m,g){_===null&&(_=Function.prototype);var b=Object.getOwnPropertyDescriptor(_,m);if(b===void 0){var h=Object.getPrototypeOf(_);return h===null?void 0:v(h,m,g)}else{if("value"in b)return b.value;var E=b.get;return E===void 0?void 0:E.call(g)}},s=i(0),l=u(s);function u(v){return v&&v.__esModule?v:{default:v}}function d(v,_){if(!(v instanceof _))throw new TypeError("Cannot call a class as a function")}function c(v,_){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return _&&(typeof _=="object"||typeof _=="function")?_:v}function f(v,_){if(typeof _!="function"&&_!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof _);v.prototype=Object.create(_&&_.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),_&&(Object.setPrototypeOf?Object.setPrototypeOf(v,_):v.__proto__=_)}var p=function(v){f(_,v);function _(){return d(this,_),c(this,(_.__proto__||Object.getPrototypeOf(_)).apply(this,arguments))}return o(_,[{key:"add",value:function(g,b){if(b==="+1"||b==="-1"){var h=this.value(g)||0;b=b==="+1"?h+1:h-1}return b===0?(this.remove(g),!0):a(_.prototype.__proto__||Object.getPrototypeOf(_.prototype),"add",this).call(this,g,b)}},{key:"canAdd",value:function(g,b){return a(_.prototype.__proto__||Object.getPrototypeOf(_.prototype),"canAdd",this).call(this,g,b)||a(_.prototype.__proto__||Object.getPrototypeOf(_.prototype),"canAdd",this).call(this,g,parseInt(b))}},{key:"value",value:function(g){return parseInt(a(_.prototype.__proto__||Object.getPrototypeOf(_.prototype),"value",this).call(this,g))||void 0}}]),_}(l.default.Attributor.Class),y=new p("indent","ql-indent",{scope:l.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 o=i(4),a=s(o);function s(f){return f&&f.__esModule?f:{default:f}}function l(f,p){if(!(f instanceof p))throw new TypeError("Cannot call a class as a function")}function u(f,p){if(!f)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:f}function d(f,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);f.prototype=Object.create(p&&p.prototype,{constructor:{value:f,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(f,p):f.__proto__=p)}var c=function(f){d(p,f);function p(){return l(this,p),u(this,(p.__proto__||Object.getPrototypeOf(p)).apply(this,arguments))}return p}(a.default);c.blotName="blockquote",c.tagName="blockquote",r.default=c},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var o=function(){function p(y,v){for(var _=0;_<v.length;_++){var m=v[_];m.enumerable=m.enumerable||!1,m.configurable=!0,"value"in m&&(m.writable=!0),Object.defineProperty(y,m.key,m)}}return function(y,v,_){return v&&p(y.prototype,v),_&&p(y,_),y}}(),a=i(4),s=l(a);function l(p){return p&&p.__esModule?p:{default:p}}function u(p,y){if(!(p instanceof y))throw new TypeError("Cannot call a class as a function")}function d(p,y){if(!p)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return y&&(typeof y=="object"||typeof y=="function")?y:p}function c(p,y){if(typeof y!="function"&&y!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof y);p.prototype=Object.create(y&&y.prototype,{constructor:{value:p,enumerable:!1,writable:!0,configurable:!0}}),y&&(Object.setPrototypeOf?Object.setPrototypeOf(p,y):p.__proto__=y)}var f=function(p){c(y,p);function y(){return u(this,y),d(this,(y.__proto__||Object.getPrototypeOf(y)).apply(this,arguments))}return o(y,null,[{key:"formats",value:function(_){return this.tagName.indexOf(_.tagName)+1}}]),y}(s.default);f.blotName="header",f.tagName=["H1","H2","H3","H4","H5","H6"],r.default=f},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.ListItem=void 0;var o=function(){function h(E,k){for(var T=0;T<k.length;T++){var A=k[T];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(E,A.key,A)}}return function(E,k,T){return k&&h(E.prototype,k),T&&h(E,T),E}}(),a=function h(E,k,T){E===null&&(E=Function.prototype);var A=Object.getOwnPropertyDescriptor(E,k);if(A===void 0){var C=Object.getPrototypeOf(E);return C===null?void 0:h(C,k,T)}else{if("value"in A)return A.value;var N=A.get;return N===void 0?void 0:N.call(T)}},s=i(0),l=p(s),u=i(4),d=p(u),c=i(25),f=p(c);function p(h){return h&&h.__esModule?h:{default:h}}function y(h,E,k){return E in h?Object.defineProperty(h,E,{value:k,enumerable:!0,configurable:!0,writable:!0}):h[E]=k,h}function v(h,E){if(!(h instanceof E))throw new TypeError("Cannot call a class as a function")}function _(h,E){if(!h)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E&&(typeof E=="object"||typeof E=="function")?E:h}function m(h,E){if(typeof E!="function"&&E!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof E);h.prototype=Object.create(E&&E.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}}),E&&(Object.setPrototypeOf?Object.setPrototypeOf(h,E):h.__proto__=E)}var g=function(h){m(E,h);function E(){return v(this,E),_(this,(E.__proto__||Object.getPrototypeOf(E)).apply(this,arguments))}return o(E,[{key:"format",value:function(T,A){T===b.blotName&&!A?this.replaceWith(l.default.create(this.statics.scope)):a(E.prototype.__proto__||Object.getPrototypeOf(E.prototype),"format",this).call(this,T,A)}},{key:"remove",value:function(){this.prev==null&&this.next==null?this.parent.remove():a(E.prototype.__proto__||Object.getPrototypeOf(E.prototype),"remove",this).call(this)}},{key:"replaceWith",value:function(T,A){return this.parent.isolate(this.offset(this.parent),this.length()),T===this.parent.statics.blotName?(this.parent.replaceWith(T,A),this):(this.parent.unwrap(),a(E.prototype.__proto__||Object.getPrototypeOf(E.prototype),"replaceWith",this).call(this,T,A))}}],[{key:"formats",value:function(T){return T.tagName===this.tagName?void 0:a(E.__proto__||Object.getPrototypeOf(E),"formats",this).call(this,T)}}]),E}(d.default);g.blotName="list-item",g.tagName="LI";var b=function(h){m(E,h),o(E,null,[{key:"create",value:function(T){var A=T==="ordered"?"OL":"UL",C=a(E.__proto__||Object.getPrototypeOf(E),"create",this).call(this,A);return(T==="checked"||T==="unchecked")&&C.setAttribute("data-checked",T==="checked"),C}},{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){v(this,E);var T=_(this,(E.__proto__||Object.getPrototypeOf(E)).call(this,k)),A=function(N){if(N.target.parentNode===k){var O=T.statics.formats(k),S=l.default.find(N.target);O==="checked"?S.format("list","unchecked"):O==="unchecked"&&S.format("list","checked")}};return k.addEventListener("touchstart",A),k.addEventListener("mousedown",A),T}return o(E,[{key:"format",value:function(T,A){this.children.length>0&&this.children.tail.format(T,A)}},{key:"formats",value:function(){return y({},this.statics.blotName,this.statics.formats(this.domNode))}},{key:"insertBefore",value:function(T,A){if(T instanceof g)a(E.prototype.__proto__||Object.getPrototypeOf(E.prototype),"insertBefore",this).call(this,T,A);else{var C=A==null?this.length():A.offset(this),N=this.split(C);N.parent.insertBefore(T,N)}}},{key:"optimize",value:function(T){a(E.prototype.__proto__||Object.getPrototypeOf(E.prototype),"optimize",this).call(this,T);var A=this.next;A!=null&&A.prev===this&&A.statics.blotName===this.statics.blotName&&A.domNode.tagName===this.domNode.tagName&&A.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(A.moveChildren(this),A.remove())}},{key:"replace",value:function(T){if(T.statics.blotName!==this.statics.blotName){var A=l.default.create(this.statics.defaultChild);T.moveChildren(A),this.appendChild(A)}a(E.prototype.__proto__||Object.getPrototypeOf(E.prototype),"replace",this).call(this,T)}}]),E}(f.default);b.blotName="list",b.scope=l.default.Scope.BLOCK_BLOT,b.tagName=["OL","UL"],b.defaultChild="list-item",b.allowedChildren=[g],r.ListItem=g,r.default=b},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var o=i(56),a=s(o);function s(f){return f&&f.__esModule?f:{default:f}}function l(f,p){if(!(f instanceof p))throw new TypeError("Cannot call a class as a function")}function u(f,p){if(!f)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:f}function d(f,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);f.prototype=Object.create(p&&p.prototype,{constructor:{value:f,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(f,p):f.__proto__=p)}var c=function(f){d(p,f);function p(){return l(this,p),u(this,(p.__proto__||Object.getPrototypeOf(p)).apply(this,arguments))}return p}(a.default);c.blotName="italic",c.tagName=["EM","I"],r.default=c},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var o=function(){function y(v,_){for(var m=0;m<_.length;m++){var g=_[m];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(v,g.key,g)}}return function(v,_,m){return _&&y(v.prototype,_),m&&y(v,m),v}}(),a=function y(v,_,m){v===null&&(v=Function.prototype);var g=Object.getOwnPropertyDescriptor(v,_);if(g===void 0){var b=Object.getPrototypeOf(v);return b===null?void 0:y(b,_,m)}else{if("value"in g)return g.value;var h=g.get;return h===void 0?void 0:h.call(m)}},s=i(6),l=u(s);function u(y){return y&&y.__esModule?y:{default:y}}function d(y,v){if(!(y instanceof v))throw new TypeError("Cannot call a class as a function")}function c(y,v){if(!y)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return v&&(typeof v=="object"||typeof v=="function")?v:y}function f(y,v){if(typeof v!="function"&&v!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof v);y.prototype=Object.create(v&&v.prototype,{constructor:{value:y,enumerable:!1,writable:!0,configurable:!0}}),v&&(Object.setPrototypeOf?Object.setPrototypeOf(y,v):y.__proto__=v)}var p=function(y){f(v,y);function v(){return d(this,v),c(this,(v.__proto__||Object.getPrototypeOf(v)).apply(this,arguments))}return o(v,null,[{key:"create",value:function(m){return m==="super"?document.createElement("sup"):m==="sub"?document.createElement("sub"):a(v.__proto__||Object.getPrototypeOf(v),"create",this).call(this,m)}},{key:"formats",value:function(m){if(m.tagName==="SUB")return"sub";if(m.tagName==="SUP")return"super"}}]),v}(l.default);p.blotName="script",p.tagName=["SUB","SUP"],r.default=p},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var o=i(6),a=s(o);function s(f){return f&&f.__esModule?f:{default:f}}function l(f,p){if(!(f instanceof p))throw new TypeError("Cannot call a class as a function")}function u(f,p){if(!f)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:f}function d(f,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);f.prototype=Object.create(p&&p.prototype,{constructor:{value:f,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(f,p):f.__proto__=p)}var c=function(f){d(p,f);function p(){return l(this,p),u(this,(p.__proto__||Object.getPrototypeOf(p)).apply(this,arguments))}return p}(a.default);c.blotName="strike",c.tagName="S",r.default=c},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var o=i(6),a=s(o);function s(f){return f&&f.__esModule?f:{default:f}}function l(f,p){if(!(f instanceof p))throw new TypeError("Cannot call a class as a function")}function u(f,p){if(!f)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:f}function d(f,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);f.prototype=Object.create(p&&p.prototype,{constructor:{value:f,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(f,p):f.__proto__=p)}var c=function(f){d(p,f);function p(){return l(this,p),u(this,(p.__proto__||Object.getPrototypeOf(p)).apply(this,arguments))}return p}(a.default);c.blotName="underline",c.tagName="U",r.default=c},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var o=function(){function _(m,g){for(var b=0;b<g.length;b++){var h=g[b];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(m,h.key,h)}}return function(m,g,b){return g&&_(m.prototype,g),b&&_(m,b),m}}(),a=function _(m,g,b){m===null&&(m=Function.prototype);var h=Object.getOwnPropertyDescriptor(m,g);if(h===void 0){var E=Object.getPrototypeOf(m);return E===null?void 0:_(E,g,b)}else{if("value"in h)return h.value;var k=h.get;return k===void 0?void 0:k.call(b)}},s=i(0),l=d(s),u=i(27);function d(_){return _&&_.__esModule?_:{default:_}}function c(_,m){if(!(_ instanceof m))throw new TypeError("Cannot call a class as a function")}function f(_,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 p(_,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"],v=function(_){p(m,_);function m(){return c(this,m),f(this,(m.__proto__||Object.getPrototypeOf(m)).apply(this,arguments))}return o(m,[{key:"format",value:function(b,h){y.indexOf(b)>-1?h?this.domNode.setAttribute(b,h):this.domNode.removeAttribute(b):a(m.prototype.__proto__||Object.getPrototypeOf(m.prototype),"format",this).call(this,b,h)}}],[{key:"create",value:function(b){var h=a(m.__proto__||Object.getPrototypeOf(m),"create",this).call(this,b);return typeof b=="string"&&h.setAttribute("src",this.sanitize(b)),h}},{key:"formats",value:function(b){return y.reduce(function(h,E){return b.hasAttribute(E)&&(h[E]=b.getAttribute(E)),h},{})}},{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}(l.default.Embed);v.blotName="image",v.tagName="IMG",r.default=v},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var o=function(){function _(m,g){for(var b=0;b<g.length;b++){var h=g[b];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(m,h.key,h)}}return function(m,g,b){return g&&_(m.prototype,g),b&&_(m,b),m}}(),a=function _(m,g,b){m===null&&(m=Function.prototype);var h=Object.getOwnPropertyDescriptor(m,g);if(h===void 0){var E=Object.getPrototypeOf(m);return E===null?void 0:_(E,g,b)}else{if("value"in h)return h.value;var k=h.get;return k===void 0?void 0:k.call(b)}},s=i(4),l=i(27),u=d(l);function d(_){return _&&_.__esModule?_:{default:_}}function c(_,m){if(!(_ instanceof m))throw new TypeError("Cannot call a class as a function")}function f(_,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 p(_,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"],v=function(_){p(m,_);function m(){return c(this,m),f(this,(m.__proto__||Object.getPrototypeOf(m)).apply(this,arguments))}return o(m,[{key:"format",value:function(b,h){y.indexOf(b)>-1?h?this.domNode.setAttribute(b,h):this.domNode.removeAttribute(b):a(m.prototype.__proto__||Object.getPrototypeOf(m.prototype),"format",this).call(this,b,h)}}],[{key:"create",value:function(b){var h=a(m.__proto__||Object.getPrototypeOf(m),"create",this).call(this,b);return h.setAttribute("frameborder","0"),h.setAttribute("allowfullscreen",!0),h.setAttribute("src",this.sanitize(b)),h}},{key:"formats",value:function(b){return y.reduce(function(h,E){return b.hasAttribute(E)&&(h[E]=b.getAttribute(E)),h},{})}},{key:"sanitize",value:function(b){return u.default.sanitize(b)}},{key:"value",value:function(b){return b.getAttribute("src")}}]),m}(s.BlockEmbed);v.blotName="video",v.className="ql-video",v.tagName="IFRAME",r.default=v},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.FormulaBlot=void 0;var o=function(){function b(h,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(h,T.key,T)}}return function(h,E,k){return E&&b(h.prototype,E),k&&b(h,k),h}}(),a=function b(h,E,k){h===null&&(h=Function.prototype);var T=Object.getOwnPropertyDescriptor(h,E);if(T===void 0){var A=Object.getPrototypeOf(h);return A===null?void 0:b(A,E,k)}else{if("value"in T)return T.value;var C=T.get;return C===void 0?void 0:C.call(k)}},s=i(35),l=p(s),u=i(5),d=p(u),c=i(9),f=p(c);function p(b){return b&&b.__esModule?b:{default:b}}function y(b,h){if(!(b instanceof h))throw new TypeError("Cannot call a class as a function")}function v(b,h){if(!b)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:b}function _(b,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);b.prototype=Object.create(h&&h.prototype,{constructor:{value:b,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(b,h):b.__proto__=h)}var m=function(b){_(h,b);function h(){return y(this,h),v(this,(h.__proto__||Object.getPrototypeOf(h)).apply(this,arguments))}return o(h,null,[{key:"create",value:function(k){var T=a(h.__proto__||Object.getPrototypeOf(h),"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")}}]),h}(l.default);m.blotName="formula",m.className="ql-formula",m.tagName="SPAN";var g=function(b){_(h,b),o(h,null,[{key:"register",value:function(){d.default.register(m,!0)}}]);function h(){y(this,h);var E=v(this,(h.__proto__||Object.getPrototypeOf(h)).call(this));if(window.katex==null)throw new Error("Formula module requires KaTeX.");return E}return h}(f.default);r.FormulaBlot=m,r.default=g},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.default=r.CodeToken=r.CodeBlock=void 0;var o=function(){function k(T,A){for(var C=0;C<A.length;C++){var N=A[C];N.enumerable=N.enumerable||!1,N.configurable=!0,"value"in N&&(N.writable=!0),Object.defineProperty(T,N.key,N)}}return function(T,A,C){return A&&k(T.prototype,A),C&&k(T,C),T}}(),a=function k(T,A,C){T===null&&(T=Function.prototype);var N=Object.getOwnPropertyDescriptor(T,A);if(N===void 0){var O=Object.getPrototypeOf(T);return O===null?void 0:k(O,A,C)}else{if("value"in N)return N.value;var S=N.get;return S===void 0?void 0:S.call(C)}},s=i(0),l=v(s),u=i(5),d=v(u),c=i(9),f=v(c),p=i(13),y=v(p);function v(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 g(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){g(T,k);function T(){return _(this,T),m(this,(T.__proto__||Object.getPrototypeOf(T)).apply(this,arguments))}return o(T,[{key:"replaceWith",value:function(C){this.domNode.textContent=this.domNode.textContent,this.attach(),a(T.prototype.__proto__||Object.getPrototypeOf(T.prototype),"replaceWith",this).call(this,C)}},{key:"highlight",value:function(C){var N=this.domNode.textContent;this.cachedText!==N&&((N.trim().length>0||this.cachedText==null)&&(this.domNode.innerHTML=C(N),this.domNode.normalize(),this.attach()),this.cachedText=N)}}]),T}(y.default);b.className="ql-syntax";var h=new l.default.Attributor.Class("token","hljs",{scope:l.default.Scope.INLINE}),E=function(k){g(T,k),o(T,null,[{key:"register",value:function(){d.default.register(h,!0),d.default.register(b,!0)}}]);function T(A,C){_(this,T);var N=m(this,(T.__proto__||Object.getPrototypeOf(T)).call(this,A,C));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(d.default.events.SCROLL_OPTIMIZE,function(){clearTimeout(O),O=setTimeout(function(){N.highlight(),O=null},N.options.interval)}),N.highlight(),N}return o(T,[{key:"highlight",value:function(){var C=this;if(!this.quill.selection.composing){this.quill.update(d.default.sources.USER);var N=this.quill.getSelection();this.quill.scroll.descendants(b).forEach(function(O){O.highlight(C.options.highlight)}),this.quill.update(d.default.sources.SILENT),N!=null&&this.quill.setSelection(N,d.default.sources.SILENT)}}}]),T}(f.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=h,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 o=function T(A,C,N){A===null&&(A=Function.prototype);var O=Object.getOwnPropertyDescriptor(A,C);if(O===void 0){var S=Object.getPrototypeOf(A);return S===null?void 0:T(S,C,N)}else{if("value"in O)return O.value;var L=O.get;return L===void 0?void 0:L.call(N)}},a=function(){function T(A,C){for(var N=0;N<C.length;N++){var O=C[N];O.enumerable=O.enumerable||!1,O.configurable=!0,"value"in O&&(O.writable=!0),Object.defineProperty(A,O.key,O)}}return function(A,C,N){return C&&T(A.prototype,C),N&&T(A,N),A}}(),s=i(3),l=_(s),u=i(8),d=_(u),c=i(43),f=_(c),p=i(15),y=i(41),v=_(y);function _(T){return T&&T.__esModule?T:{default:T}}function m(T,A){if(!(T instanceof A))throw new TypeError("Cannot call a class as a function")}function g(T,A){if(!T)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return A&&(typeof A=="object"||typeof A=="function")?A:T}function b(T,A){if(typeof A!="function"&&A!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof A);T.prototype=Object.create(A&&A.prototype,{constructor:{value:T,enumerable:!1,writable:!0,configurable:!0}}),A&&(Object.setPrototypeOf?Object.setPrototypeOf(T,A):T.__proto__=A)}var h=[["bold","italic","link"],[{header:1},{header:2},"blockquote"]],E=function(T){b(A,T);function A(C,N){m(this,A),N.modules.toolbar!=null&&N.modules.toolbar.container==null&&(N.modules.toolbar.container=h);var O=g(this,(A.__proto__||Object.getPrototypeOf(A)).call(this,C,N));return O.quill.container.classList.add("ql-bubble"),O}return a(A,[{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")),v.default),this.buildPickers([].slice.call(N.container.querySelectorAll("select")),v.default)}}]),A}(f.default);E.DEFAULTS=(0,l.default)(!0,{},f.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(A){A?this.quill.theme.tooltip.edit():this.quill.format("link",!1)}}}}});var k=function(T){b(A,T);function A(C,N){m(this,A);var O=g(this,(A.__proto__||Object.getPrototypeOf(A)).call(this,C,N));return O.quill.on(d.default.events.EDITOR_CHANGE,function(S,L,R,D){if(S===d.default.events.SELECTION_CHANGE)if(L!=null&&L.length>0&&D===d.default.sources.USER){O.show(),O.root.style.left="0px",O.root.style.width="",O.root.style.width=O.root.offsetWidth+"px";var B=O.quill.getLines(L.index,L.length);if(B.length===1)O.position(O.quill.getBounds(L));else{var q=B[B.length-1],re=O.quill.getIndex(q),Y=Math.min(q.length()-1,L.index+L.length-re),j=O.quill.getBounds(new p.Range(re,Y));O.position(j)}}else document.activeElement!==O.textbox&&O.quill.hasFocus()&&O.hide()}),O}return a(A,[{key:"listen",value:function(){var N=this;o(A.prototype.__proto__||Object.getPrototypeOf(A.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",function(){N.root.classList.remove("ql-editing")}),this.quill.on(d.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=o(A.prototype.__proto__||Object.getPrototypeOf(A.prototype),"position",this).call(this,N),S=this.root.querySelector(".ql-tooltip-arrow");if(S.style.marginLeft="",O===0)return O;S.style.marginLeft=-1*O-S.offsetWidth/2+"px"}}]),A}(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})})(Pb);var Gk=Pb.exports;const ad=it.getDefaultExportFromCjs(Gk);var hr=-1,qn=1,ln=0;function Ls(e,t,n,r){if(e===t)return e?[[ln,e]]:[];if(n!=null){var i=Qk(e,t,n);if(i)return i}var o=Dp(e,t),a=e.substring(0,o);e=e.substring(o),t=t.substring(o),o=Hp(e,t);var s=e.substring(e.length-o);e=e.substring(0,e.length-o),t=t.substring(0,t.length-o);var l=Yk(e,t);return a&&l.unshift([ln,a]),s&&l.push([ln,s]),Ib(l,r),l}function Yk(e,t){var n;if(!e)return[[qn,t]];if(!t)return[[hr,e]];var r=e.length>t.length?e:t,i=e.length>t.length?t:e,o=r.indexOf(i);if(o!==-1)return n=[[qn,r.substring(0,o)],[ln,i],[qn,r.substring(o+i.length)]],e.length>t.length&&(n[0][0]=n[2][0]=hr),n;if(i.length===1)return[[hr,e],[qn,t]];var a=Jk(e,t);if(a){var s=a[0],l=a[1],u=a[2],d=a[3],c=a[4],f=Ls(s,u),p=Ls(l,d);return f.concat([[ln,c]],p)}return Xk(e,t)}function Xk(e,t){for(var n=e.length,r=t.length,i=Math.ceil((n+r)/2),o=i,a=2*i,s=new Array(a),l=new Array(a),u=0;u<a;u++)s[u]=-1,l[u]=-1;s[o+1]=0,l[o+1]=0;for(var d=n-r,c=d%2!==0,f=0,p=0,y=0,v=0,_=0;_<i;_++){for(var m=-_+f;m<=_-p;m+=2){var g=o+m,b;m===-_||m!==_&&s[g-1]<s[g+1]?b=s[g+1]:b=s[g-1]+1;for(var h=b-m;b<n&&h<r&&e.charAt(b)===t.charAt(h);)b++,h++;if(s[g]=b,b>n)p+=2;else if(h>r)f+=2;else if(c){var E=o+d-m;if(E>=0&&E<a&&l[E]!==-1){var k=n-l[E];if(b>=k)return D2(e,t,b,h)}}}for(var T=-_+y;T<=_-v;T+=2){var E=o+T,k;T===-_||T!==_&&l[E-1]<l[E+1]?k=l[E+1]:k=l[E-1]+1;for(var A=k-T;k<n&&A<r&&e.charAt(n-k-1)===t.charAt(r-A-1);)k++,A++;if(l[E]=k,k>n)v+=2;else if(A>r)y+=2;else if(!c){var g=o+d-T;if(g>=0&&g<a&&s[g]!==-1){var b=s[g],h=o+b-g;if(k=n-k,b>=k)return D2(e,t,b,h)}}}}return[[hr,e],[qn,t]]}function D2(e,t,n,r){var i=e.substring(0,n),o=t.substring(0,r),a=e.substring(n),s=t.substring(r),l=Ls(i,o),u=Ls(a,s);return l.concat(u)}function Dp(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,o=0;n<i;)e.substring(o,i)==t.substring(o,i)?(n=i,o=n):r=i,i=Math.floor((r-n)/2+n);return Rb(e.charCodeAt(i-1))&&i--,i}function Hp(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,o=0;n<i;)e.substring(e.length-i,e.length-o)==t.substring(t.length-i,t.length-o)?(n=i,o=n):r=i,i=Math.floor((r-n)/2+n);return xb(e.charCodeAt(e.length-i))&&i--,i}function Jk(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(p,y,v){for(var _=p.substring(v,v+Math.floor(p.length/4)),m=-1,g="",b,h,E,k;(m=y.indexOf(_,m+1))!==-1;){var T=Dp(p.substring(v),y.substring(m)),A=Hp(p.substring(0,v),y.substring(0,m));g.length<A+T&&(g=y.substring(m-A,m)+y.substring(m,m+T),b=p.substring(0,v-A),h=p.substring(v+T),E=y.substring(0,m-A),k=y.substring(m+T))}return g.length*2>=p.length?[b,h,E,k,g]:null}var o=i(n,r,Math.ceil(n.length/4)),a=i(n,r,Math.ceil(n.length/2)),s;if(!o&&!a)return null;a?o?s=o[4].length>a[4].length?o:a:s=a:s=o;var l,u,d,c;e.length>t.length?(l=s[0],u=s[1],d=s[2],c=s[3]):(d=s[0],c=s[1],l=s[2],u=s[3]);var f=s[4];return[l,u,d,c,f]}function Ib(e,t){e.push([ln,""]);for(var n=0,r=0,i=0,o="",a="",s;n<e.length;){if(n<e.length-1&&!e[n][1]){e.splice(n,1);continue}switch(e[n][0]){case qn:i++,a+=e[n][1],n++;break;case hr:r++,o+=e[n][1],n++;break;case ln:var l=n-i-r-1;if(t){if(l>=0&&Db(e[l][1])){var u=e[l][1].slice(-1);if(e[l][1]=e[l][1].slice(0,-1),o=u+o,a=u+a,!e[l][1]){e.splice(l,1),n--;var d=l-1;e[d]&&e[d][0]===qn&&(i++,a=e[d][1]+a,d--),e[d]&&e[d][0]===hr&&(r++,o=e[d][1]+o,d--),l=d}}if(Mb(e[n][1])){var u=e[n][1].charAt(0);e[n][1]=e[n][1].slice(1),o+=u,a+=u}}if(n<e.length-1&&!e[n][1]){e.splice(n,1);break}if(o.length>0||a.length>0){o.length>0&&a.length>0&&(s=Dp(a,o),s!==0&&(l>=0?e[l][1]+=a.substring(0,s):(e.splice(0,0,[ln,a.substring(0,s)]),n++),a=a.substring(s),o=o.substring(s)),s=Hp(a,o),s!==0&&(e[n][1]=a.substring(a.length-s)+e[n][1],a=a.substring(0,a.length-s),o=o.substring(0,o.length-s)));var c=i+r;o.length===0&&a.length===0?(e.splice(n-c,c),n=n-c):o.length===0?(e.splice(n-c,c,[qn,a]),n=n-c+1):a.length===0?(e.splice(n-c,c,[hr,o]),n=n-c+1):(e.splice(n-c,c,[hr,o],[qn,a]),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,o="",a="";break}}e[e.length-1][1]===""&&e.pop();var f=!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),f=!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),f=!0)),n++;f&&Ib(e,t)}function Rb(e){return e>=55296&&e<=56319}function xb(e){return e>=56320&&e<=57343}function Mb(e){return xb(e.charCodeAt(0))}function Db(e){return Rb(e.charCodeAt(e.length-1))}function Zk(e){for(var t=[],n=0;n<e.length;n++)e[n][1].length>0&&t.push(e[n]);return t}function sd(e,t,n,r){return Db(e)||Mb(r)?null:Zk([[ln,e],[hr,t],[qn,n],[ln,r]])}function Qk(e,t,n){var r=typeof n=="number"?{index:n,length:0}:n.oldRange,i=typeof n=="number"?null:n.newRange,o=e.length,a=t.length;if(r.length===0&&(i===null||i.length===0)){var s=r.index,l=e.slice(0,s),u=e.slice(s),d=i?i.index:null;e:{var c=s+a-o;if(d!==null&&d!==c||c<0||c>a)break e;var f=t.slice(0,c),p=t.slice(c);if(p!==u)break e;var y=Math.min(s,c),v=l.slice(0,y),_=f.slice(0,y);if(v!==_)break e;var m=l.slice(y),g=f.slice(y);return sd(v,m,g,u)}e:{if(d!==null&&d!==s)break e;var b=s,f=t.slice(0,b),p=t.slice(b);if(f!==l)break e;var h=Math.min(o-b,a-b),E=u.slice(u.length-h),k=p.slice(p.length-h);if(E!==k)break e;var m=u.slice(0,u.length-h),g=p.slice(0,p.length-h);return sd(l,m,g,E)}}if(r.length>0&&i&&i.length===0)e:{var v=e.slice(0,r.index),E=e.slice(r.index+r.length),y=v.length,h=E.length;if(a<y+h)break e;var _=t.slice(0,y),k=t.slice(a-h);if(v!==_||E!==k)break e;var m=e.slice(y,o-h),g=t.slice(y,a-h);return sd(v,m,g,E)}return null}function ff(e,t,n){return Ls(e,t,n,!0)}ff.INSERT=qn;ff.DELETE=hr;ff.EQUAL=ln;var e9=ff,uu={exports:{}};uu.exports;(function(e,t){var n=200,r="__lodash_hash_undefined__",i=9007199254740991,o="[object Arguments]",a="[object Array]",s="[object Boolean]",l="[object Date]",u="[object Error]",d="[object Function]",c="[object GeneratorFunction]",f="[object Map]",p="[object Number]",y="[object Object]",v="[object Promise]",_="[object RegExp]",m="[object Set]",g="[object String]",b="[object Symbol]",h="[object WeakMap]",E="[object ArrayBuffer]",k="[object DataView]",T="[object Float32Array]",A="[object Float64Array]",C="[object Int8Array]",N="[object Int16Array]",O="[object Int32Array]",S="[object Uint8Array]",L="[object Uint8ClampedArray]",R="[object Uint16Array]",D="[object Uint32Array]",B=/[\\^$.*+?()[\]{}|]/g,q=/\w*$/,re=/^\[object .+?Constructor\]$/,Y=/^(?:0|[1-9]\d*)$/,j={};j[o]=j[a]=j[E]=j[k]=j[s]=j[l]=j[T]=j[A]=j[C]=j[N]=j[O]=j[f]=j[p]=j[y]=j[_]=j[m]=j[g]=j[b]=j[S]=j[L]=j[R]=j[D]=!0,j[u]=j[d]=j[h]=!1;var I=typeof it.commonjsGlobal=="object"&&it.commonjsGlobal&&it.commonjsGlobal.Object===Object&&it.commonjsGlobal,F=typeof self=="object"&&self&&self.Object===Object&&self,z=I||F||Function("return this")(),te=t&&!t.nodeType&&t,J=te&&!0&&e&&!e.nodeType&&e,H=J&&J.exports===te;function X(w,M){return w.set(M[0],M[1]),w}function ie(w,M){return w.add(M),w}function oe(w,M){for(var W=-1,ce=w?w.length:0;++W<ce&&M(w[W],W,w)!==!1;);return w}function ue(w,M){for(var W=-1,ce=M.length,Ne=w.length;++W<ce;)w[Ne+W]=M[W];return w}function he(w,M,W,ce){var Ne=-1,Ee=w?w.length:0;for(ce&&Ee&&(W=w[++Ne]);++Ne<Ee;)W=M(W,w[Ne],Ne,w);return W}function V(w,M){for(var W=-1,ce=Array(w);++W<w;)ce[W]=M(W);return ce}function P(w,M){return w?.[M]}function x(w){var M=!1;if(w!=null&&typeof w.toString!="function")try{M=!!(w+"")}catch{}return M}function $(w){var M=-1,W=Array(w.size);return w.forEach(function(ce,Ne){W[++M]=[Ne,ce]}),W}function Z(w,M){return function(W){return w(M(W))}}function se(w){var M=-1,W=Array(w.size);return w.forEach(function(ce){W[++M]=ce}),W}var U=Array.prototype,G=Function.prototype,ee=Object.prototype,Q=z["__core-js_shared__"],ae=function(){var w=/[^.]+$/.exec(Q&&Q.keys&&Q.keys.IE_PROTO||"");return w?"Symbol(src)_1."+w:""}(),le=G.toString,K=ee.hasOwnProperty,ne=ee.toString,pe=RegExp("^"+le.call(K).replace(B,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ve=H?z.Buffer:void 0,ge=z.Symbol,xe=z.Uint8Array,Oe=Z(Object.getPrototypeOf,Object),Ze=Object.create,Jn=ee.propertyIsEnumerable,wn=U.splice,Zn=Object.getOwnPropertySymbols,ot=ve?ve.isBuffer:void 0,At=Z(Object.keys,Object),mn=Vn(z,"DataView"),en=Vn(z,"Map"),gn=Vn(z,"Promise"),Zr=Vn(z,"Set"),ji=Vn(z,"WeakMap"),br=Vn(Object,"create"),Fi=Yt(mn),_r=Yt(en),we=Yt(gn),Pe=Yt(Zr),Qe=Yt(ji),ze=ge?ge.prototype:void 0,Gt=ze?ze.valueOf:void 0;function Ft(w){var M=-1,W=w?w.length:0;for(this.clear();++M<W;){var ce=w[M];this.set(ce[0],ce[1])}}function Er(){this.__data__=br?br(null):{}}function Qn(w){return this.has(w)&&delete this.__data__[w]}function Or(w){var M=this.__data__;if(br){var W=M[w];return W===r?void 0:W}return K.call(M,w)?M[w]:void 0}function Tr(w){var M=this.__data__;return br?M[w]!==void 0:K.call(M,w)}function wr(w,M){var W=this.__data__;return W[w]=br&&M===void 0?r:M,this}Ft.prototype.clear=Er,Ft.prototype.delete=Qn,Ft.prototype.get=Or,Ft.prototype.has=Tr,Ft.prototype.set=wr;function ct(w){var M=-1,W=w?w.length:0;for(this.clear();++M<W;){var ce=w[M];this.set(ce[0],ce[1])}}function Ea(){this.__data__=[]}function Eo(w){var M=this.__data__,W=Qr(M,w);if(W<0)return!1;var ce=M.length-1;return W==ce?M.pop():wn.call(M,W,1),!0}function Vi(w){var M=this.__data__,W=Qr(M,w);return W<0?void 0:M[W][1]}function Bi(w){return Qr(this.__data__,w)>-1}function Oa(w,M){var W=this.__data__,ce=Qr(W,w);return ce<0?W.push([w,M]):W[ce][1]=M,this}ct.prototype.clear=Ea,ct.prototype.delete=Eo,ct.prototype.get=Vi,ct.prototype.has=Bi,ct.prototype.set=Oa;function gt(w){var M=-1,W=w?w.length:0;for(this.clear();++M<W;){var ce=w[M];this.set(ce[0],ce[1])}}function Oo(){this.__data__={hash:new Ft,map:new(en||ct),string:new Ft}}function Ar(w){return Ki(this,w).delete(w)}function zi(w){return Ki(this,w).get(w)}function To(w){return Ki(this,w).has(w)}function wo(w,M){return Ki(this,w).set(w,M),this}gt.prototype.clear=Oo,gt.prototype.delete=Ar,gt.prototype.get=zi,gt.prototype.has=To,gt.prototype.set=wo;function Mt(w){this.__data__=new ct(w)}function Ao(){this.__data__=new ct}function er(w){return this.__data__.delete(w)}function $i(w){return this.__data__.get(w)}function Ui(w){return this.__data__.has(w)}function Ta(w,M){var W=this.__data__;if(W instanceof ct){var ce=W.__data__;if(!en||ce.length<n-1)return ce.push([w,M]),this;W=this.__data__=new gt(ce)}return W.set(w,M),this}Mt.prototype.clear=Ao,Mt.prototype.delete=er,Mt.prototype.get=$i,Mt.prototype.has=Ui,Mt.prototype.set=Ta;function Sr(w,M){var W=Na(w)||ko(w)?V(w.length,String):[],ce=W.length,Ne=!!ce;for(var Ee in w)(M||K.call(w,Ee))&&!(Ne&&(Ee=="length"||Af(Ee,ce)))&&W.push(Ee);return W}function So(w,M,W){var ce=w[M];(!(K.call(w,M)&&al(ce,W))||W===void 0&&!(M in w))&&(w[M]=W)}function Qr(w,M){for(var W=w.length;W--;)if(al(w[W][0],M))return W;return-1}function tr(w,M){return w&&Sa(M,Ca(M),w)}function wa(w,M,W,ce,Ne,Ee,Me){var Be;if(ce&&(Be=Ee?ce(w,Ne,Ee,Me):ce(w)),Be!==void 0)return Be;if(!rr(w))return w;var ut=Na(w);if(ut){if(Be=Tf(w),!M)return _f(w,Be)}else{var Ue=kr(w),Vt=Ue==d||Ue==c;if(sl(w))return No(w,M);if(Ue==y||Ue==o||Vt&&!Ee){if(x(w))return Ee?w:{};if(Be=nr(Vt?{}:w),!M)return Ef(w,tr(Be,w))}else{if(!j[Ue])return Ee?w:{};Be=wf(w,Ue,wa,M)}}Me||(Me=new Mt);var tn=Me.get(w);if(tn)return tn;if(Me.set(w,Be),!ut)var vt=W?Of(w):Ca(w);return oe(vt||w,function(Bt,Dt){vt&&(Dt=Bt,Bt=w[Dt]),So(Be,Dt,wa(Bt,M,W,ce,Dt,w,Me))}),Be}function df(w){return rr(w)?Ze(w):{}}function hf(w,M,W){var ce=M(w);return Na(w)?ce:ue(ce,W(w))}function pf(w){return ne.call(w)}function mf(w){if(!rr(w)||Nf(w))return!1;var M=ka(w)||x(w)?pe:re;return M.test(Yt(w))}function gf(w){if(!il(w))return At(w);var M=[];for(var W in Object(w))K.call(w,W)&&W!="constructor"&&M.push(W);return M}function No(w,M){if(M)return w.slice();var W=new w.constructor(w.length);return w.copy(W),W}function Aa(w){var M=new w.constructor(w.byteLength);return new xe(M).set(new xe(w)),M}function qi(w,M){var W=M?Aa(w.buffer):w.buffer;return new w.constructor(W,w.byteOffset,w.byteLength)}function nl(w,M,W){var ce=M?W($(w),!0):$(w);return he(ce,X,new w.constructor)}function rl(w){var M=new w.constructor(w.source,q.exec(w));return M.lastIndex=w.lastIndex,M}function vf(w,M,W){var ce=M?W(se(w),!0):se(w);return he(ce,ie,new w.constructor)}function yf(w){return Gt?Object(Gt.call(w)):{}}function bf(w,M){var W=M?Aa(w.buffer):w.buffer;return new w.constructor(W,w.byteOffset,w.length)}function _f(w,M){var W=-1,ce=w.length;for(M||(M=Array(ce));++W<ce;)M[W]=w[W];return M}function Sa(w,M,W,ce){W||(W={});for(var Ne=-1,Ee=M.length;++Ne<Ee;){var Me=M[Ne],Be=ce?ce(W[Me],w[Me],Me,W,w):void 0;So(W,Me,Be===void 0?w[Me]:Be)}return W}function Ef(w,M){return Sa(w,Nr(w),M)}function Of(w){return hf(w,Ca,Nr)}function Ki(w,M){var W=w.__data__;return Sf(M)?W[typeof M=="string"?"string":"hash"]:W.map}function Vn(w,M){var W=P(w,M);return mf(W)?W:void 0}var Nr=Zn?Z(Zn,Object):Cf,kr=pf;(mn&&kr(new mn(new ArrayBuffer(1)))!=k||en&&kr(new en)!=f||gn&&kr(gn.resolve())!=v||Zr&&kr(new Zr)!=m||ji&&kr(new ji)!=h)&&(kr=function(w){var M=ne.call(w),W=M==y?w.constructor:void 0,ce=W?Yt(W):void 0;if(ce)switch(ce){case Fi:return k;case _r:return f;case we:return v;case Pe:return m;case Qe:return h}return M});function Tf(w){var M=w.length,W=w.constructor(M);return M&&typeof w[0]=="string"&&K.call(w,"index")&&(W.index=w.index,W.input=w.input),W}function nr(w){return typeof w.constructor=="function"&&!il(w)?df(Oe(w)):{}}function wf(w,M,W,ce){var Ne=w.constructor;switch(M){case E:return Aa(w);case s:case l:return new Ne(+w);case k:return qi(w,ce);case T:case A:case C:case N:case O:case S:case L:case R:case D:return bf(w,ce);case f:return nl(w,ce,W);case p:case g:return new Ne(w);case _:return rl(w);case m:return vf(w,ce,W);case b:return yf(w)}}function Af(w,M){return M=M??i,!!M&&(typeof w=="number"||Y.test(w))&&w>-1&&w%1==0&&w<M}function Sf(w){var M=typeof w;return M=="string"||M=="number"||M=="symbol"||M=="boolean"?w!=="__proto__":w===null}function Nf(w){return!!ae&&ae in w}function il(w){var M=w&&w.constructor,W=typeof M=="function"&&M.prototype||ee;return w===W}function Yt(w){if(w!=null){try{return le.call(w)}catch{}try{return w+""}catch{}}return""}function ol(w){return wa(w,!0,!0)}function al(w,M){return w===M||w!==w&&M!==M}function ko(w){return kf(w)&&K.call(w,"callee")&&(!Jn.call(w,"callee")||ne.call(w)==o)}var Na=Array.isArray;function Co(w){return w!=null&&ll(w.length)&&!ka(w)}function kf(w){return cl(w)&&Co(w)}var sl=ot||Lf;function ka(w){var M=rr(w)?ne.call(w):"";return M==d||M==c}function ll(w){return typeof w=="number"&&w>-1&&w%1==0&&w<=i}function rr(w){var M=typeof w;return!!w&&(M=="object"||M=="function")}function cl(w){return!!w&&typeof w=="object"}function Ca(w){return Co(w)?Sr(w):gf(w)}function Cf(){return[]}function Lf(){return!1}e.exports=ol})(uu,uu.exports);var Hb=uu.exports,fu={exports:{}};fu.exports;(function(e,t){var n=200,r="__lodash_hash_undefined__",i=1,o=2,a=9007199254740991,s="[object Arguments]",l="[object Array]",u="[object AsyncFunction]",d="[object Boolean]",c="[object Date]",f="[object Error]",p="[object Function]",y="[object GeneratorFunction]",v="[object Map]",_="[object Number]",m="[object Null]",g="[object Object]",b="[object Promise]",h="[object Proxy]",E="[object RegExp]",k="[object Set]",T="[object String]",A="[object Symbol]",C="[object Undefined]",N="[object WeakMap]",O="[object ArrayBuffer]",S="[object DataView]",L="[object Float32Array]",R="[object Float64Array]",D="[object Int8Array]",B="[object Int16Array]",q="[object Int32Array]",re="[object Uint8Array]",Y="[object Uint8ClampedArray]",j="[object Uint16Array]",I="[object Uint32Array]",F=/[\\^$.*+?()[\]{}|]/g,z=/^\[object .+?Constructor\]$/,te=/^(?:0|[1-9]\d*)$/,J={};J[L]=J[R]=J[D]=J[B]=J[q]=J[re]=J[Y]=J[j]=J[I]=!0,J[s]=J[l]=J[O]=J[d]=J[S]=J[c]=J[f]=J[p]=J[v]=J[_]=J[g]=J[E]=J[k]=J[T]=J[N]=!1;var H=typeof it.commonjsGlobal=="object"&&it.commonjsGlobal&&it.commonjsGlobal.Object===Object&&it.commonjsGlobal,X=typeof self=="object"&&self&&self.Object===Object&&self,ie=H||X||Function("return this")(),oe=t&&!t.nodeType&&t,ue=oe&&!0&&e&&!e.nodeType&&e,he=ue&&ue.exports===oe,V=he&&H.process,P=function(){try{return V&&V.binding&&V.binding("util")}catch{}}(),x=P&&P.isTypedArray;function $(w,M){for(var W=-1,ce=w==null?0:w.length,Ne=0,Ee=[];++W<ce;){var Me=w[W];M(Me,W,w)&&(Ee[Ne++]=Me)}return Ee}function Z(w,M){for(var W=-1,ce=M.length,Ne=w.length;++W<ce;)w[Ne+W]=M[W];return w}function se(w,M){for(var W=-1,ce=w==null?0:w.length;++W<ce;)if(M(w[W],W,w))return!0;return!1}function U(w,M){for(var W=-1,ce=Array(w);++W<w;)ce[W]=M(W);return ce}function G(w){return function(M){return w(M)}}function ee(w,M){return w.has(M)}function Q(w,M){return w?.[M]}function ae(w){var M=-1,W=Array(w.size);return w.forEach(function(ce,Ne){W[++M]=[Ne,ce]}),W}function le(w,M){return function(W){return w(M(W))}}function K(w){var M=-1,W=Array(w.size);return w.forEach(function(ce){W[++M]=ce}),W}var ne=Array.prototype,pe=Function.prototype,ve=Object.prototype,ge=ie["__core-js_shared__"],xe=pe.toString,Oe=ve.hasOwnProperty,Ze=function(){var w=/[^.]+$/.exec(ge&&ge.keys&&ge.keys.IE_PROTO||"");return w?"Symbol(src)_1."+w:""}(),Jn=ve.toString,wn=RegExp("^"+xe.call(Oe).replace(F,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Zn=he?ie.Buffer:void 0,ot=ie.Symbol,At=ie.Uint8Array,mn=ve.propertyIsEnumerable,en=ne.splice,gn=ot?ot.toStringTag:void 0,Zr=Object.getOwnPropertySymbols,ji=Zn?Zn.isBuffer:void 0,br=le(Object.keys,Object),Fi=Nr(ie,"DataView"),_r=Nr(ie,"Map"),we=Nr(ie,"Promise"),Pe=Nr(ie,"Set"),Qe=Nr(ie,"WeakMap"),ze=Nr(Object,"create"),Gt=Yt(Fi),Ft=Yt(_r),Er=Yt(we),Qn=Yt(Pe),Or=Yt(Qe),Tr=ot?ot.prototype:void 0,wr=Tr?Tr.valueOf:void 0;function ct(w){var M=-1,W=w==null?0:w.length;for(this.clear();++M<W;){var ce=w[M];this.set(ce[0],ce[1])}}function Ea(){this.__data__=ze?ze(null):{},this.size=0}function Eo(w){var M=this.has(w)&&delete this.__data__[w];return this.size-=M?1:0,M}function Vi(w){var M=this.__data__;if(ze){var W=M[w];return W===r?void 0:W}return Oe.call(M,w)?M[w]:void 0}function Bi(w){var M=this.__data__;return ze?M[w]!==void 0:Oe.call(M,w)}function Oa(w,M){var W=this.__data__;return this.size+=this.has(w)?0:1,W[w]=ze&&M===void 0?r:M,this}ct.prototype.clear=Ea,ct.prototype.delete=Eo,ct.prototype.get=Vi,ct.prototype.has=Bi,ct.prototype.set=Oa;function gt(w){var M=-1,W=w==null?0:w.length;for(this.clear();++M<W;){var ce=w[M];this.set(ce[0],ce[1])}}function Oo(){this.__data__=[],this.size=0}function Ar(w){var M=this.__data__,W=No(M,w);if(W<0)return!1;var ce=M.length-1;return W==ce?M.pop():en.call(M,W,1),--this.size,!0}function zi(w){var M=this.__data__,W=No(M,w);return W<0?void 0:M[W][1]}function To(w){return No(this.__data__,w)>-1}function wo(w,M){var W=this.__data__,ce=No(W,w);return ce<0?(++this.size,W.push([w,M])):W[ce][1]=M,this}gt.prototype.clear=Oo,gt.prototype.delete=Ar,gt.prototype.get=zi,gt.prototype.has=To,gt.prototype.set=wo;function Mt(w){var M=-1,W=w==null?0:w.length;for(this.clear();++M<W;){var ce=w[M];this.set(ce[0],ce[1])}}function Ao(){this.size=0,this.__data__={hash:new ct,map:new(_r||gt),string:new ct}}function er(w){var M=Vn(this,w).delete(w);return this.size-=M?1:0,M}function $i(w){return Vn(this,w).get(w)}function Ui(w){return Vn(this,w).has(w)}function Ta(w,M){var W=Vn(this,w),ce=W.size;return W.set(w,M),this.size+=W.size==ce?0:1,this}Mt.prototype.clear=Ao,Mt.prototype.delete=er,Mt.prototype.get=$i,Mt.prototype.has=Ui,Mt.prototype.set=Ta;function Sr(w){var M=-1,W=w==null?0:w.length;for(this.__data__=new Mt;++M<W;)this.add(w[M])}function So(w){return this.__data__.set(w,r),this}function Qr(w){return this.__data__.has(w)}Sr.prototype.add=Sr.prototype.push=So,Sr.prototype.has=Qr;function tr(w){var M=this.__data__=new gt(w);this.size=M.size}function wa(){this.__data__=new gt,this.size=0}function df(w){var M=this.__data__,W=M.delete(w);return this.size=M.size,W}function hf(w){return this.__data__.get(w)}function pf(w){return this.__data__.has(w)}function mf(w,M){var W=this.__data__;if(W instanceof gt){var ce=W.__data__;if(!_r||ce.length<n-1)return ce.push([w,M]),this.size=++W.size,this;W=this.__data__=new Mt(ce)}return W.set(w,M),this.size=W.size,this}tr.prototype.clear=wa,tr.prototype.delete=df,tr.prototype.get=hf,tr.prototype.has=pf,tr.prototype.set=mf;function gf(w,M){var W=ko(w),ce=!W&&al(w),Ne=!W&&!ce&&Co(w),Ee=!W&&!ce&&!Ne&&cl(w),Me=W||ce||Ne||Ee,Be=Me?U(w.length,String):[],ut=Be.length;for(var Ue in w)(M||Oe.call(w,Ue))&&!(Me&&(Ue=="length"||Ne&&(Ue=="offset"||Ue=="parent")||Ee&&(Ue=="buffer"||Ue=="byteLength"||Ue=="byteOffset")||wf(Ue,ut)))&&Be.push(Ue);return Be}function No(w,M){for(var W=w.length;W--;)if(ol(w[W][0],M))return W;return-1}function Aa(w,M,W){var ce=M(w);return ko(w)?ce:Z(ce,W(w))}function qi(w){return w==null?w===void 0?C:m:gn&&gn in Object(w)?kr(w):il(w)}function nl(w){return rr(w)&&qi(w)==s}function rl(w,M,W,ce,Ne){return w===M?!0:w==null||M==null||!rr(w)&&!rr(M)?w!==w&&M!==M:vf(w,M,W,ce,rl,Ne)}function vf(w,M,W,ce,Ne,Ee){var Me=ko(w),Be=ko(M),ut=Me?l:nr(w),Ue=Be?l:nr(M);ut=ut==s?g:ut,Ue=Ue==s?g:Ue;var Vt=ut==g,tn=Ue==g,vt=ut==Ue;if(vt&&Co(w)){if(!Co(M))return!1;Me=!0,Vt=!1}if(vt&&!Vt)return Ee||(Ee=new tr),Me||cl(w)?Sa(w,M,W,ce,Ne,Ee):Ef(w,M,ut,W,ce,Ne,Ee);if(!(W&i)){var Bt=Vt&&Oe.call(w,"__wrapped__"),Dt=tn&&Oe.call(M,"__wrapped__");if(Bt||Dt){var ei=Bt?w.value():w,Cr=Dt?M.value():M;return Ee||(Ee=new tr),Ne(ei,Cr,W,ce,Ee)}}return vt?(Ee||(Ee=new tr),Of(w,M,W,ce,Ne,Ee)):!1}function yf(w){if(!ll(w)||Sf(w))return!1;var M=sl(w)?wn:z;return M.test(Yt(w))}function bf(w){return rr(w)&&ka(w.length)&&!!J[qi(w)]}function _f(w){if(!Nf(w))return br(w);var M=[];for(var W in Object(w))Oe.call(w,W)&&W!="constructor"&&M.push(W);return M}function Sa(w,M,W,ce,Ne,Ee){var Me=W&i,Be=w.length,ut=M.length;if(Be!=ut&&!(Me&&ut>Be))return!1;var Ue=Ee.get(w);if(Ue&&Ee.get(M))return Ue==M;var Vt=-1,tn=!0,vt=W&o?new Sr:void 0;for(Ee.set(w,M),Ee.set(M,w);++Vt<Be;){var Bt=w[Vt],Dt=M[Vt];if(ce)var ei=Me?ce(Dt,Bt,Vt,M,w,Ee):ce(Bt,Dt,Vt,w,M,Ee);if(ei!==void 0){if(ei)continue;tn=!1;break}if(vt){if(!se(M,function(Cr,Wi){if(!ee(vt,Wi)&&(Bt===Cr||Ne(Bt,Cr,W,ce,Ee)))return vt.push(Wi)})){tn=!1;break}}else if(!(Bt===Dt||Ne(Bt,Dt,W,ce,Ee))){tn=!1;break}}return Ee.delete(w),Ee.delete(M),tn}function Ef(w,M,W,ce,Ne,Ee,Me){switch(W){case S:if(w.byteLength!=M.byteLength||w.byteOffset!=M.byteOffset)return!1;w=w.buffer,M=M.buffer;case O:return!(w.byteLength!=M.byteLength||!Ee(new At(w),new At(M)));case d:case c:case _:return ol(+w,+M);case f:return w.name==M.name&&w.message==M.message;case E:case T:return w==M+"";case v:var Be=ae;case k:var ut=ce&i;if(Be||(Be=K),w.size!=M.size&&!ut)return!1;var Ue=Me.get(w);if(Ue)return Ue==M;ce|=o,Me.set(w,M);var Vt=Sa(Be(w),Be(M),ce,Ne,Ee,Me);return Me.delete(w),Vt;case A:if(wr)return wr.call(w)==wr.call(M)}return!1}function Of(w,M,W,ce,Ne,Ee){var Me=W&i,Be=Ki(w),ut=Be.length,Ue=Ki(M),Vt=Ue.length;if(ut!=Vt&&!Me)return!1;for(var tn=ut;tn--;){var vt=Be[tn];if(!(Me?vt in M:Oe.call(M,vt)))return!1}var Bt=Ee.get(w);if(Bt&&Ee.get(M))return Bt==M;var Dt=!0;Ee.set(w,M),Ee.set(M,w);for(var ei=Me;++tn<ut;){vt=Be[tn];var Cr=w[vt],Wi=M[vt];if(ce)var Vp=Me?ce(Wi,Cr,vt,M,w,Ee):ce(Cr,Wi,vt,w,M,Ee);if(!(Vp===void 0?Cr===Wi||Ne(Cr,Wi,W,ce,Ee):Vp)){Dt=!1;break}ei||(ei=vt=="constructor")}if(Dt&&!ei){var ul=w.constructor,fl=M.constructor;ul!=fl&&"constructor"in w&&"constructor"in M&&!(typeof ul=="function"&&ul instanceof ul&&typeof fl=="function"&&fl instanceof fl)&&(Dt=!1)}return Ee.delete(w),Ee.delete(M),Dt}function Ki(w){return Aa(w,Ca,Tf)}function Vn(w,M){var W=w.__data__;return Af(M)?W[typeof M=="string"?"string":"hash"]:W.map}function Nr(w,M){var W=Q(w,M);return yf(W)?W:void 0}function kr(w){var M=Oe.call(w,gn),W=w[gn];try{w[gn]=void 0;var ce=!0}catch{}var Ne=Jn.call(w);return ce&&(M?w[gn]=W:delete w[gn]),Ne}var Tf=Zr?function(w){return w==null?[]:(w=Object(w),$(Zr(w),function(M){return mn.call(w,M)}))}:Cf,nr=qi;(Fi&&nr(new Fi(new ArrayBuffer(1)))!=S||_r&&nr(new _r)!=v||we&&nr(we.resolve())!=b||Pe&&nr(new Pe)!=k||Qe&&nr(new Qe)!=N)&&(nr=function(w){var M=qi(w),W=M==g?w.constructor:void 0,ce=W?Yt(W):"";if(ce)switch(ce){case Gt:return S;case Ft:return v;case Er:return b;case Qn:return k;case Or:return N}return M});function wf(w,M){return M=M??a,!!M&&(typeof w=="number"||te.test(w))&&w>-1&&w%1==0&&w<M}function Af(w){var M=typeof w;return M=="string"||M=="number"||M=="symbol"||M=="boolean"?w!=="__proto__":w===null}function Sf(w){return!!Ze&&Ze in w}function Nf(w){var M=w&&w.constructor,W=typeof M=="function"&&M.prototype||ve;return w===W}function il(w){return Jn.call(w)}function Yt(w){if(w!=null){try{return xe.call(w)}catch{}try{return w+""}catch{}}return""}function ol(w,M){return w===M||w!==w&&M!==M}var al=nl(function(){return arguments}())?nl:function(w){return rr(w)&&Oe.call(w,"callee")&&!mn.call(w,"callee")},ko=Array.isArray;function Na(w){return w!=null&&ka(w.length)&&!sl(w)}var Co=ji||Lf;function kf(w,M){return rl(w,M)}function sl(w){if(!ll(w))return!1;var M=qi(w);return M==p||M==y||M==u||M==h}function ka(w){return typeof w=="number"&&w>-1&&w%1==0&&w<=a}function ll(w){var M=typeof w;return w!=null&&(M=="object"||M=="function")}function rr(w){return w!=null&&typeof w=="object"}var cl=x?G(x):bf;function Ca(w){return Na(w)?gf(w):_f(w)}function Cf(){return[]}function Lf(){return!1}e.exports=kf})(fu,fu.exports);var jb=fu.exports,jp={},Fb=it.commonjsGlobal&&it.commonjsGlobal.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(jp,"__esModule",{value:!0});var t9=Fb(Hb),n9=Fb(jb),Lh;(function(e){function t(o,a,s){o===void 0&&(o={}),a===void 0&&(a={}),typeof o!="object"&&(o={}),typeof a!="object"&&(a={});var l=t9.default(a);s||(l=Object.keys(l).reduce(function(d,c){return l[c]!=null&&(d[c]=l[c]),d},{}));for(var u in o)o[u]!==void 0&&a[u]===void 0&&(l[u]=o[u]);return Object.keys(l).length>0?l:void 0}e.compose=t;function n(o,a){o===void 0&&(o={}),a===void 0&&(a={}),typeof o!="object"&&(o={}),typeof a!="object"&&(a={});var s=Object.keys(o).concat(Object.keys(a)).reduce(function(l,u){return n9.default(o[u],a[u])||(l[u]=a[u]===void 0?null:a[u]),l},{});return Object.keys(s).length>0?s:void 0}e.diff=n;function r(o,a){o===void 0&&(o={}),a===void 0&&(a={}),o=o||{};var s=Object.keys(a).reduce(function(l,u){return a[u]!==o[u]&&o[u]!==void 0&&(l[u]=a[u]),l},{});return Object.keys(o).reduce(function(l,u){return o[u]!==a[u]&&a[u]===void 0&&(l[u]=null),l},s)}e.invert=r;function i(o,a,s){if(s===void 0&&(s=!1),typeof o!="object")return a;if(typeof a=="object"){if(!s)return a;var l=Object.keys(a).reduce(function(u,d){return o[d]===void 0&&(u[d]=a[d]),u},{});return Object.keys(l).length>0?l:void 0}}e.transform=i})(Lh||(Lh={}));jp.default=Lh;var Ul={},ql={},H2;function r9(){if(H2)return ql;H2=1;var e=it.commonjsGlobal&&it.commonjsGlobal.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(ql,"__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 o=this.ops[this.index];if(o){var a=this.offset,s=t.default.length(o);if(i>=s-a?(i=s-a,this.index+=1,this.offset=0):this.offset+=i,typeof o.delete=="number")return{delete:i};var l={};return o.attributes&&(l.attributes=o.attributes),typeof o.retain=="number"?l.retain=i:typeof o.insert=="string"?l.insert=o.insert.substr(a,i):l.insert=o.insert,l}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,o=this.index,a=this.next(),s=this.ops.slice(this.index);return this.offset=i,this.index=o,[a].concat(s)}else return[]},r}();return ql.default=n,ql}var j2;function Vb(){if(j2)return Ul;j2=1;var e=it.commonjsGlobal&&it.commonjsGlobal.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Ul,"__esModule",{value:!0});var t=e(r9()),n;return function(r){function i(a){return new t.default(a)}r.iterator=i;function o(a){return typeof a.delete=="number"?a.delete:typeof a.retain=="number"?a.retain:typeof a.insert=="string"?a.insert.length:1}r.length=o}(n||(n={})),Ul.default=n,Ul}var tl=it.commonjsGlobal&&it.commonjsGlobal.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},Kl=tl(e9),i9=tl(Hb),ld=tl(jb),Ma=tl(jp),Ht=tl(Vb()),o9=String.fromCharCode(0),a9=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=i9.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(ld.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 o=t(i)?n:r;o.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+Ht.default.length(n):n.delete?t-n.delete:t},0)},e.prototype.length=function(){return this.reduce(function(t,n){return t+Ht.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=Ht.default.iterator(this.ops),o=0;o<n&&i.hasNext();){var a=void 0;o<t?a=i.next(t-o):(a=i.next(n-o),r.push(a)),o+=Ht.default.length(a)}return new e(r)},e.prototype.compose=function(t){var n=Ht.default.iterator(this.ops),r=Ht.default.iterator(t.ops),i=[],o=r.peek();if(o!=null&&typeof o.retain=="number"&&o.attributes==null){for(var a=o.retain;n.peekType()==="insert"&&n.peekLength()<=a;)a-=n.peekLength(),i.push(n.next());o.retain-a>0&&r.next(o.retain-a)}for(var s=new e(i);n.hasNext()||r.hasNext();)if(r.peekType()==="insert")s.push(r.next());else if(n.peekType()==="delete")s.push(n.next());else{var l=Math.min(n.peekLength(),r.peekLength()),u=n.next(l),d=r.next(l);if(typeof d.retain=="number"){var c={};typeof u.retain=="number"?c.retain=l:c.insert=u.insert;var f=Ma.default.compose(u.attributes,d.attributes,typeof u.retain=="number");if(f&&(c.attributes=f),s.push(c),!r.hasNext()&&ld.default(s.ops[s.ops.length-1],c)){var p=new e(n.rest());return s.concat(p).chop()}}else typeof d.delete=="number"&&typeof u.retain=="number"&&s.push(d)}return s.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(l){return l.map(function(u){if(u.insert!=null)return typeof u.insert=="string"?u.insert:o9;var d=l===t?"on":"with";throw new Error("diff() called "+d+" non-document")}).join("")}),i=new e,o=Kl.default(r[0],r[1],n),a=Ht.default.iterator(this.ops),s=Ht.default.iterator(t.ops);return o.forEach(function(l){for(var u=l[1].length;u>0;){var d=0;switch(l[0]){case Kl.default.INSERT:d=Math.min(s.peekLength(),u),i.push(s.next(d));break;case Kl.default.DELETE:d=Math.min(u,a.peekLength()),a.next(d),i.delete(d);break;case Kl.default.EQUAL:d=Math.min(a.peekLength(),s.peekLength(),u);var c=a.next(d),f=s.next(d);ld.default(c.insert,f.insert)?i.retain(d,Ma.default.diff(c.attributes,f.attributes)):i.push(f).delete(d);break}u-=d}}),i.chop()},e.prototype.eachLine=function(t,n){n===void 0&&(n=`
|
|
842
842
|
`);for(var r=Ht.default.iterator(this.ops),i=new e,o=0;r.hasNext();){if(r.peekType()!=="insert")return;var a=r.peek(),s=Ht.default.length(a)-r.peekLength(),l=typeof a.insert=="string"?a.insert.indexOf(n,s)-s:-1;if(l<0)i.push(r.next());else if(l>0)i.push(r.next(l));else{if(t(i,r.next(1).attributes||{},o)===!1)return;o+=1,i=new e}}i.length()>0&&t(i,{},o)},e.prototype.invert=function(t){var n=new e;return this.reduce(function(r,i){if(i.insert)n.delete(Ht.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 o=i.delete||i.retain,a=t.slice(r,r+o);return a.forEach(function(s){i.delete?n.push(s):i.retain&&i.attributes&&n.retain(Ht.default.length(s),Ma.default.invert(i.attributes,s.attributes))}),r+o}}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=Ht.default.iterator(this.ops),o=Ht.default.iterator(r.ops),a=new e;i.hasNext()||o.hasNext();)if(i.peekType()==="insert"&&(n||o.peekType()!=="insert"))a.retain(Ht.default.length(i.next()));else if(o.peekType()==="insert")a.push(o.next());else{var s=Math.min(i.peekLength(),o.peekLength()),l=i.next(s),u=o.next(s);if(l.delete)continue;u.delete?a.push(u):a.retain(s,Ma.default.transform(l.attributes,u.attributes,n))}return a.chop()},e.prototype.transformPosition=function(t,n){n===void 0&&(n=!1),n=!!n;for(var r=Ht.default.iterator(this.ops),i=0;r.hasNext()&&i<=t;){var o=r.peekLength(),a=r.peekType();if(r.next(),a==="delete"){t-=Math.min(o,t-i);continue}else a==="insert"&&(i<t||!n)&&(t+=o);i+=o}return t},e.Op=Ht.default,e.AttributeMap=Ma.default,e}(),s9=a9;const l9=it.getDefaultExportFromCjs(s9);/*!
|
|
843
843
|
* VueQuill @vueup/vue-quill v1.2.0
|
|
844
844
|
* https://vueup.github.io/vue-quill/
|
|
@@ -853,4 +853,4 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
|
853
853
|
make sure to call this method when the editor ready
|
|
854
854
|
or use v-on:ready="onReady(quill)" event instead.`},g=(O,S)=>e.contentType==="html"?k():e.contentType==="text"?h(O,S):n?.getContents(O,S),b=(O,S="api")=>{const L=O||(e.contentType==="delta"?new l9:"");e.contentType==="html"?T(L):e.contentType==="text"?E(L,S):n?.setContents(L,S),u=s(L)},h=(O,S)=>{var L;return(L=n?.getText(O,S))!==null&&L!==void 0?L:""},E=(O,S="api")=>{n?.setText(O,S)},k=()=>{var O;return(O=n?.root.innerHTML)!==null&&O!==void 0?O:""},T=O=>{n&&(n.root.innerHTML=O)},A=(O,S="api")=>{const L=n?.clipboard.convert(O);L&&n?.setContents(L,S)},C=()=>{n?.focus()},N=()=>{Dn(()=>{var O;!t.slots.toolbar&&n&&((O=n.getModule("toolbar"))===null||O===void 0||O.container.remove()),o()})};return ht(()=>e.content,O=>{if(!n||!O||d(O))return;const S=n.getSelection();S&&Dn(()=>n?.setSelection(S)),b(O)},{deep:!0}),ht(()=>e.enable,O=>{n&&n.enable(O)}),{editor:i,getEditor:v,getToolbar:_,getQuill:m,getContents:g,setContents:b,getHTML:k,setHTML:T,pasteHTML:A,focus:C,getText:h,setText:E,reinit:N}},render(){var e,t;return[(t=(e=this.$slots).toolbar)===null||t===void 0?void 0:t.call(e),Ri("div",{ref:"editor",...this.$attrs})]}});const u9=["name","value"],f9=["id","data-test","name","required","readonly","autocomplete","placeholder","disabled","maxlength","row"],d9=["id","data-test","name","type","required","readonly","autocomplete","placeholder","disabled","maxlength"],h9={key:4,class:"suffix"},p9={key:5,class:"fresh-booking-input-limit"},m9=wt({__name:"TextField",props:{modelValue:{},description:{},suffix:{},label:{},id:{},name:{},placeholder:{},icon:{},iconColor:{},iconType:{default:"fal"},required:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},type:{default:"text"},autocomplete:{},disabled:{type:Boolean,default:!1},limit:{default:1/0},rows:{default:3},inputStyle:{}},emits:["update:modelValue"],setup(e,{emit:t}){const n=t,r=e,i=Te(),o=Te(),a=r.id||af(),s=()=>{n("update:modelValue",o.value.getHTML())},l=Te({placeholder:r.placeholder,readOnly:r.readonly,theme:"snow"}),u=de({get:()=>r.modelValue,set:v=>{n("update:modelValue",v)}}),d=de(()=>{const v=r.limit;let _=0;return r.modelValue&&(_=r.modelValue.toString().length),v-_}),c=de(()=>r.readonly?void 0:r.placeholder),f=de(()=>!!r.name&&!!r.autocomplete);function p(){if(r.type==="textarea"){const v=i.value;v.setAttribute("style",`height:${v.scrollHeight}px`)}}function y(){const v=i.value;v.style.height="auto",v.style.height=v.scrollHeight+"px"}return Fn(()=>{p()}),(v,_)=>(Se(),qt(xp,{label:v.label,id:et(a),icon:v.icon,"icon-color":v.iconColor,"icon-type":v.iconType,required:v.required,type:v.type,readonly:v.readonly,description:v.description,limit:v.limit},{default:gr(()=>[f.value?bt("",!0):(Se(),De("input",{key:0,type:"hidden",name:v.name,value:v.modelValue},null,8,u9)),v.type==="textarea"?yi((Se(),De("textarea",qr({key:1,"onUpdate:modelValue":_[0]||(_[0]=m=>u.value=m)},v.$attrs,{ref_key:"textField",ref:i,id:et(a),"data-test":et(Y0)(v.name),name:f.value?v.name:void 0,required:!!v.required,readonly:!!v.readonly,autocomplete:v.autocomplete||"off",placeholder:c.value,disabled:v.disabled,maxlength:v.limit,row:v.rows,style:v.inputStyle,onInput:y}),null,16,f9)),[[Xo,u.value]]):v.type==="editor"?(Se(),qt(et(c9),{key:2,content:v.modelValue,ref_key:"editorField",ref:o,options:l.value,"content-type":"html",id:et(a),name:f.value?v.name:null,required:!!v.required,autocomplete:v.autocomplete||"off",placeholder:c.value,disabled:v.disabled,style:cn(v.inputStyle),"onUpdate:content":s},null,8,["content","options","id","name","required","autocomplete","placeholder","disabled","style"])):yi((Se(),De("input",qr({key:3,"onUpdate:modelValue":_[1]||(_[1]=m=>u.value=m)},v.$attrs,{id:et(a),"data-test":et(Y0)(v.name),name:f.value?v.name:void 0,type:v.type,required:!!v.required,readonly:!!v.readonly,autocomplete:v.autocomplete||"off",placeholder:c.value,disabled:v.disabled,maxlength:v.limit,style:v.inputStyle}),null,16,d9)),[[zu,u.value]]),v.suffix?(Se(),De("div",h9,[$e("div",null,[$e("span",null,In(v.suffix),1)])])):bt("",!0),d.value!==1/0?(Se(),De("div",p9,[$e("span",{class:Pt({danger:d.value<=15})},In(d.value),3),Ur("/"),$e("small",null,In(v.limit),1)])):bt("",!0)]),_:1},8,["label","id","icon","icon-color","icon-type","required","type","readonly","description","limit"]))}});const g9=Hi(m9,[["__scopeId","data-v-a648c80a"]]);var v9=Object.defineProperty,y9=Object.defineProperties,b9=Object.getOwnPropertyDescriptors,V2=Object.getOwnPropertySymbols,_9=Object.prototype.hasOwnProperty,E9=Object.prototype.propertyIsEnumerable,B2=(e,t,n)=>t in e?v9(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,xo=(e,t)=>{for(var n in t||(t={}))_9.call(t,n)&&B2(e,n,t[n]);if(V2)for(var n of V2(t))E9.call(t,n)&&B2(e,n,t[n]);return e},z2=(e,t)=>y9(e,b9(t));const O9={props:{autoscroll:{type:Boolean,default:!0}},watch:{typeAheadPointer(){this.autoscroll&&this.maybeAdjustScroll()},open(e){this.autoscroll&&e&&this.$nextTick(()=>this.maybeAdjustScroll())}},methods:{maybeAdjustScroll(){var e;const t=((e=this.$refs.dropdownMenu)==null?void 0:e.children[this.typeAheadPointer])||!1;if(t){const n=this.getDropdownViewport(),{top:r,bottom:i,height:o}=t.getBoundingClientRect();if(r<n.top)return this.$refs.dropdownMenu.scrollTop=t.offsetTop;if(i>n.bottom)return this.$refs.dropdownMenu.scrollTop=t.offsetTop-(n.height-o)}},getDropdownViewport(){return this.$refs.dropdownMenu?this.$refs.dropdownMenu.getBoundingClientRect():{height:0,top:0,bottom:0}}}},T9={data(){return{typeAheadPointer:-1}},watch:{filteredOptions(){for(let e=0;e<this.filteredOptions.length;e++)if(this.selectable(this.filteredOptions[e])){this.typeAheadPointer=e;break}},open(e){e&&this.typeAheadToLastSelected()},selectedValue(){this.open&&this.typeAheadToLastSelected()}},methods:{typeAheadUp(){for(let e=this.typeAheadPointer-1;e>=0;e--)if(this.selectable(this.filteredOptions[e])){this.typeAheadPointer=e;break}},typeAheadDown(){for(let e=this.typeAheadPointer+1;e<this.filteredOptions.length;e++)if(this.selectable(this.filteredOptions[e])){this.typeAheadPointer=e;break}},typeAheadSelect(){const e=this.filteredOptions[this.typeAheadPointer];e&&this.selectable(e)&&this.select(e)},typeAheadToLastSelected(){this.typeAheadPointer=this.selectedValue.length!==0?this.filteredOptions.indexOf(this.selectedValue[this.selectedValue.length-1]):-1}}},w9={props:{loading:{type:Boolean,default:!1}},data(){return{mutableLoading:!1}},watch:{search(){this.$emit("search",this.search,this.toggleLoading)},loading(e){this.mutableLoading=e}},methods:{toggleLoading(e=null){return e==null?this.mutableLoading=!this.mutableLoading:this.mutableLoading=e}}},Fp=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n},A9={},S9={xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10"},N9=$e("path",{d:"M6.895455 5l2.842897-2.842898c.348864-.348863.348864-.914488 0-1.263636L9.106534.261648c-.348864-.348864-.914489-.348864-1.263636 0L5 3.104545 2.157102.261648c-.348863-.348864-.914488-.348864-1.263636 0L.261648.893466c-.348864.348864-.348864.914489 0 1.263636L3.104545 5 .261648 7.842898c-.348864.348863-.348864.914488 0 1.263636l.631818.631818c.348864.348864.914773.348864 1.263636 0L5 6.895455l2.842898 2.842897c.348863.348864.914772.348864 1.263636 0l.631818-.631818c.348864-.348864.348864-.914489 0-1.263636L6.895455 5z"},null,-1),k9=[N9];function C9(e,t){return Se(),De("svg",S9,k9)}const L9=Fp(A9,[["render",C9]]),P9={},I9={xmlns:"http://www.w3.org/2000/svg",width:"14",height:"10"},R9=$e("path",{d:"M9.211364 7.59931l4.48338-4.867229c.407008-.441854.407008-1.158247 0-1.60046l-.73712-.80023c-.407008-.441854-1.066904-.441854-1.474243 0L7 5.198617 2.51662.33139c-.407008-.441853-1.066904-.441853-1.474243 0l-.737121.80023c-.407008.441854-.407008 1.158248 0 1.600461l4.48338 4.867228L7 10l2.211364-2.40069z"},null,-1),x9=[R9];function M9(e,t){return Se(),De("svg",I9,x9)}const D9=Fp(P9,[["render",M9]]),$2={Deselect:L9,OpenIndicator:D9},H9={mounted(e,{instance:t}){if(t.appendToBody){const{height:n,top:r,left:i,width:o}=t.$refs.toggle.getBoundingClientRect();let a=window.scrollX||window.pageXOffset,s=window.scrollY||window.pageYOffset;e.unbindPosition=t.calculatePosition(e,t,{width:o+"px",left:a+i+"px",top:s+r+n+"px"}),document.body.appendChild(e)}},unmounted(e,{instance:t}){t.appendToBody&&(e.unbindPosition&&typeof e.unbindPosition=="function"&&e.unbindPosition(),e.parentNode&&e.parentNode.removeChild(e))}};function j9(e){const t={};return Object.keys(e).sort().forEach(n=>{t[n]=e[n]}),JSON.stringify(t)}let F9=0;function V9(){return++F9}const B9={components:xo({},$2),directives:{appendToBody:H9},mixins:[O9,T9,w9],compatConfig:{MODE:3},emits:["open","close","update:modelValue","search","search:compositionstart","search:compositionend","search:keydown","search:blur","search:focus","search:input","option:created","option:selecting","option:selected","option:deselecting","option:deselected"],props:{modelValue:{},components:{type:Object,default:()=>({})},options:{type:Array,default(){return[]}},disabled:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},deselectFromDropdown:{type:Boolean,default:!1},searchable:{type:Boolean,default:!0},multiple:{type:Boolean,default:!1},placeholder:{type:String,default:""},transition:{type:String,default:"vs__fade"},clearSearchOnSelect:{type:Boolean,default:!0},closeOnSelect:{type:Boolean,default:!0},label:{type:String,default:"label"},autocomplete:{type:String,default:"off"},reduce:{type:Function,default:e=>e},selectable:{type:Function,default:e=>!0},getOptionLabel:{type:Function,default(e){return typeof e=="object"?e.hasOwnProperty(this.label)?e[this.label]:console.warn(`[vue-select warn]: Label key "option.${this.label}" does not exist in options object ${JSON.stringify(e)}.
|
|
855
855
|
https://vue-select.org/api/props.html#getoptionlabel`):e}},getOptionKey:{type:Function,default(e){if(typeof e!="object")return e;try{return e.hasOwnProperty("id")?e.id:j9(e)}catch(t){return console.warn(`[vue-select warn]: Could not stringify this option to generate unique key. Please provide'getOptionKey' prop to return a unique key for each option.
|
|
856
|
-
https://vue-select.org/api/props.html#getoptionkey`,e,t)}}},onTab:{type:Function,default:function(){this.selectOnTab&&!this.isComposing&&this.typeAheadSelect()}},taggable:{type:Boolean,default:!1},tabindex:{type:Number,default:null},pushTags:{type:Boolean,default:!1},filterable:{type:Boolean,default:!0},filterBy:{type:Function,default(e,t,n){return(t||"").toLocaleLowerCase().indexOf(n.toLocaleLowerCase())>-1}},filter:{type:Function,default(e,t){return e.filter(n=>{let r=this.getOptionLabel(n);return typeof r=="number"&&(r=r.toString()),this.filterBy(n,r,t)})}},createOption:{type:Function,default(e){return typeof this.optionList[0]=="object"?{[this.label]:e}:e}},resetOnOptionsChange:{default:!1,validator:e=>["function","boolean"].includes(typeof e)},clearSearchOnBlur:{type:Function,default:function({clearSearchOnSelect:e,multiple:t}){return e&&!t}},noDrop:{type:Boolean,default:!1},inputId:{type:String},dir:{type:String,default:"auto"},selectOnTab:{type:Boolean,default:!1},selectOnKeyCodes:{type:Array,default:()=>[13]},searchInputQuerySelector:{type:String,default:"[type=search]"},mapKeydown:{type:Function,default:(e,t)=>e},appendToBody:{type:Boolean,default:!1},calculatePosition:{type:Function,default(e,t,{width:n,top:r,left:i}){e.style.top=r,e.style.left=i,e.style.width=n}},dropdownShouldOpen:{type:Function,default({noDrop:e,open:t,mutableLoading:n}){return e?!1:t&&!n}},uid:{type:[String,Number],default:()=>V9()}},data(){return{search:"",open:!1,isComposing:!1,pushedTags:[],_value:[],deselectButtons:[]}},computed:{isReducingValues(){return this.$props.reduce!==this.$options.props.reduce.default},isTrackingValues(){return typeof this.modelValue>"u"||this.isReducingValues},selectedValue(){let e=this.modelValue;return this.isTrackingValues&&(e=this.$data._value),e!=null&&e!==""?[].concat(e):[]},optionList(){return this.options.concat(this.pushTags?this.pushedTags:[])},searchEl(){return this.$slots.search?this.$refs.selectedOptions.querySelector(this.searchInputQuerySelector):this.$refs.search},scope(){const e={search:this.search,loading:this.loading,searching:this.searching,filteredOptions:this.filteredOptions};return{search:{attributes:xo({disabled:this.disabled,placeholder:this.searchPlaceholder,tabindex:this.tabindex,readonly:!this.searchable,id:this.inputId,"aria-autocomplete":"list","aria-labelledby":`vs${this.uid}__combobox`,"aria-controls":`vs${this.uid}__listbox`,ref:"search",type:"search",autocomplete:this.autocomplete,value:this.search},this.dropdownOpen&&this.filteredOptions[this.typeAheadPointer]?{"aria-activedescendant":`vs${this.uid}__option-${this.typeAheadPointer}`}:{}),events:{compositionstart:()=>this.isComposing=!0,compositionend:()=>this.isComposing=!1,keydown:this.onSearchKeyDown,blur:this.onSearchBlur,focus:this.onSearchFocus,input:t=>this.search=t.target.value}},spinner:{loading:this.mutableLoading},noOptions:{search:this.search,loading:this.mutableLoading,searching:this.searching},openIndicator:{attributes:{ref:"openIndicator",role:"presentation",class:"vs__open-indicator"}},listHeader:e,listFooter:e,header:z2(xo({},e),{deselect:this.deselect}),footer:z2(xo({},e),{deselect:this.deselect})}},childComponents(){return xo(xo({},$2),this.components)},stateClasses(){return{"vs--open":this.dropdownOpen,"vs--single":!this.multiple,"vs--multiple":this.multiple,"vs--searching":this.searching&&!this.noDrop,"vs--searchable":this.searchable&&!this.noDrop,"vs--unsearchable":!this.searchable,"vs--loading":this.mutableLoading,"vs--disabled":this.disabled}},searching(){return!!this.search},dropdownOpen(){return this.dropdownShouldOpen(this)},searchPlaceholder(){return this.isValueEmpty&&this.placeholder?this.placeholder:void 0},filteredOptions(){const e=[].concat(this.optionList);if(!this.filterable&&!this.taggable)return e;const t=this.search.length?this.filter(e,this.search,this):e;if(this.taggable&&this.search.length){const n=this.createOption(this.search);this.optionExists(n)||t.unshift(n)}return t},isValueEmpty(){return this.selectedValue.length===0},showClearButton(){return!this.multiple&&this.clearable&&!this.open&&!this.isValueEmpty}},watch:{options(e,t){const n=()=>typeof this.resetOnOptionsChange=="function"?this.resetOnOptionsChange(e,t,this.selectedValue):this.resetOnOptionsChange;!this.taggable&&n()&&this.clearSelection(),this.modelValue&&this.isTrackingValues&&this.setInternalValueFromOptions(this.modelValue)},modelValue:{immediate:!0,handler(e){this.isTrackingValues&&this.setInternalValueFromOptions(e)}},multiple(){this.clearSelection()},open(e){this.$emit(e?"open":"close")}},created(){this.mutableLoading=this.loading},methods:{setInternalValueFromOptions(e){Array.isArray(e)?this.$data._value=e.map(t=>this.findOptionFromReducedValue(t)):this.$data._value=this.findOptionFromReducedValue(e)},select(e){this.$emit("option:selecting",e),this.isOptionSelected(e)?this.deselectFromDropdown&&(this.clearable||this.multiple&&this.selectedValue.length>1)&&this.deselect(e):(this.taggable&&!this.optionExists(e)&&(this.$emit("option:created",e),this.pushTag(e)),this.multiple&&(e=this.selectedValue.concat(e)),this.updateValue(e),this.$emit("option:selected",e)),this.onAfterSelect(e)},deselect(e){this.$emit("option:deselecting",e),this.updateValue(this.selectedValue.filter(t=>!this.optionComparator(t,e))),this.$emit("option:deselected",e)},clearSelection(){this.updateValue(this.multiple?[]:null)},onAfterSelect(e){this.closeOnSelect&&(this.open=!this.open,this.searchEl.blur()),this.clearSearchOnSelect&&(this.search="")},updateValue(e){typeof this.modelValue>"u"&&(this.$data._value=e),e!==null&&(Array.isArray(e)?e=e.map(t=>this.reduce(t)):e=this.reduce(e)),this.$emit("update:modelValue",e)},toggleDropdown(e){const t=e.target!==this.searchEl;t&&e.preventDefault();const n=[...this.deselectButtons||[],this.$refs.clearButton];if(this.searchEl===void 0||n.filter(Boolean).some(r=>r.contains(e.target)||r===e.target)){e.preventDefault();return}this.open&&t?this.searchEl.blur():this.disabled||(this.open=!0,this.searchEl.focus())},isOptionSelected(e){return this.selectedValue.some(t=>this.optionComparator(t,e))},isOptionDeselectable(e){return this.isOptionSelected(e)&&this.deselectFromDropdown},optionComparator(e,t){return this.getOptionKey(e)===this.getOptionKey(t)},findOptionFromReducedValue(e){const t=r=>JSON.stringify(this.reduce(r))===JSON.stringify(e),n=[...this.options,...this.pushedTags].filter(t);return n.length===1?n[0]:n.find(r=>this.optionComparator(r,this.$data._value))||e},closeSearchOptions(){this.open=!1,this.$emit("search:blur")},maybeDeleteValue(){if(!this.searchEl.value.length&&this.selectedValue&&this.selectedValue.length&&this.clearable){let e=null;this.multiple&&(e=[...this.selectedValue.slice(0,this.selectedValue.length-1)]),this.updateValue(e)}},optionExists(e){return this.optionList.some(t=>this.optionComparator(t,e))},normalizeOptionForSlot(e){return typeof e=="object"?e:{[this.label]:e}},pushTag(e){this.pushedTags.push(e)},onEscape(){this.search.length?this.search="":this.searchEl.blur()},onSearchBlur(){if(this.mousedown&&!this.searching)this.mousedown=!1;else{const{clearSearchOnSelect:e,multiple:t}=this;this.clearSearchOnBlur({clearSearchOnSelect:e,multiple:t})&&(this.search=""),this.closeSearchOptions();return}if(this.search.length===0&&this.options.length===0){this.closeSearchOptions();return}},onSearchFocus(){this.open=!0,this.$emit("search:focus")},onMousedown(){this.mousedown=!0},onMouseUp(){this.mousedown=!1},onSearchKeyDown(e){const t=i=>(i.preventDefault(),!this.isComposing&&this.typeAheadSelect()),n={8:i=>this.maybeDeleteValue(),9:i=>this.onTab(),27:i=>this.onEscape(),38:i=>(i.preventDefault(),this.typeAheadUp()),40:i=>(i.preventDefault(),this.typeAheadDown())};this.selectOnKeyCodes.forEach(i=>n[i]=t);const r=this.mapKeydown(n,this);if(typeof r[e.keyCode]=="function")return r[e.keyCode](e)}}},z9=["dir"],$9=["id","aria-expanded","aria-owns"],U9={ref:"selectedOptions",class:"vs__selected-options"},q9=["disabled","title","aria-label","onClick"],K9={ref:"actions",class:"vs__actions"},W9=["disabled"],G9={class:"vs__spinner"},Y9=["id"],X9=["id","aria-selected","onMouseover","onClick"],J9={key:0,class:"vs__no-options"},Z9=Ur(" Sorry, no matching options. "),Q9=["id"];function eC(e,t,n,r,i,o){const a=Lu("append-to-body");return Se(),De("div",{dir:n.dir,class:Pt(["v-select",o.stateClasses])},[St(e.$slots,"header",on(an(o.scope.header))),$e("div",{id:`vs${n.uid}__combobox`,ref:"toggle",class:"vs__dropdown-toggle",role:"combobox","aria-expanded":o.dropdownOpen.toString(),"aria-owns":`vs${n.uid}__listbox`,"aria-label":"Search for option",onMousedown:t[1]||(t[1]=s=>o.toggleDropdown(s))},[$e("div",U9,[(Se(!0),De(tt,null,ss(o.selectedValue,(s,l)=>St(e.$slots,"selected-option-container",{option:o.normalizeOptionForSlot(s),deselect:o.deselect,multiple:n.multiple,disabled:n.disabled},()=>[(Se(),De("span",{key:n.getOptionKey(s),class:"vs__selected"},[St(e.$slots,"selected-option",on(an(o.normalizeOptionForSlot(s))),()=>[Ur(In(n.getOptionLabel(s)),1)]),n.multiple?(Se(),De("button",{key:0,ref_for:!0,ref:u=>i.deselectButtons[l]=u,disabled:n.disabled,type:"button",class:"vs__deselect",title:`Deselect ${n.getOptionLabel(s)}`,"aria-label":`Deselect ${n.getOptionLabel(s)}`,onClick:u=>o.deselect(s)},[(Se(),qt($o(o.childComponents.Deselect)))],8,q9)):bt("",!0)]))])),256)),St(e.$slots,"search",on(an(o.scope.search)),()=>[$e("input",qr({class:"vs__search"},o.scope.search.attributes,a1(o.scope.search.events)),null,16)])],512),$e("div",K9,[yi($e("button",{ref:"clearButton",disabled:n.disabled,type:"button",class:"vs__clear",title:"Clear Selected","aria-label":"Clear Selected",onClick:t[0]||(t[0]=(...s)=>o.clearSelection&&o.clearSelection(...s))},[(Se(),qt($o(o.childComponents.Deselect)))],8,W9),[[Yo,o.showClearButton]]),St(e.$slots,"open-indicator",on(an(o.scope.openIndicator)),()=>[n.noDrop?bt("",!0):(Se(),qt($o(o.childComponents.OpenIndicator),on(qr({key:0},o.scope.openIndicator.attributes)),null,16))]),St(e.$slots,"spinner",on(an(o.scope.spinner)),()=>[yi($e("div",G9,"Loading...",512),[[Yo,e.mutableLoading]])])],512)],40,$9),Ve(ga,{name:n.transition},{default:gr(()=>[o.dropdownOpen?yi((Se(),De("ul",{id:`vs${n.uid}__listbox`,ref:"dropdownMenu",key:`vs${n.uid}__listbox`,class:"vs__dropdown-menu",role:"listbox",tabindex:"-1",onMousedown:t[2]||(t[2]=fs((...s)=>o.onMousedown&&o.onMousedown(...s),["prevent"])),onMouseup:t[3]||(t[3]=(...s)=>o.onMouseUp&&o.onMouseUp(...s))},[St(e.$slots,"list-header",on(an(o.scope.listHeader))),(Se(!0),De(tt,null,ss(o.filteredOptions,(s,l)=>(Se(),De("li",{id:`vs${n.uid}__option-${l}`,key:n.getOptionKey(s),role:"option",class:Pt(["vs__dropdown-option",{"vs__dropdown-option--deselect":o.isOptionDeselectable(s)&&l===e.typeAheadPointer,"vs__dropdown-option--selected":o.isOptionSelected(s),"vs__dropdown-option--highlight":l===e.typeAheadPointer,"vs__dropdown-option--disabled":!n.selectable(s)}]),"aria-selected":l===e.typeAheadPointer?!0:null,onMouseover:u=>n.selectable(s)?e.typeAheadPointer=l:null,onClick:fs(u=>n.selectable(s)?o.select(s):null,["prevent","stop"])},[St(e.$slots,"option",on(an(o.normalizeOptionForSlot(s))),()=>[Ur(In(n.getOptionLabel(s)),1)])],42,X9))),128)),o.filteredOptions.length===0?(Se(),De("li",J9,[St(e.$slots,"no-options",on(an(o.scope.noOptions)),()=>[Z9])])):bt("",!0),St(e.$slots,"list-footer",on(an(o.scope.listFooter)))],40,Y9)),[[a]]):(Se(),De("ul",{key:1,id:`vs${n.uid}__listbox`,role:"listbox",style:{display:"none",visibility:"hidden"}},null,8,Q9))]),_:3},8,["name"]),St(e.$slots,"footer",on(an(o.scope.footer)))],10,z9)}const tC=Fp(B9,[["render",eC]]),nC=["name","value"],rC=wt({__name:"SelectField",props:{modelValue:{},label:{},options:{},labelKey:{default:"label"},valueKey:{default:"value"},name:{},icon:{},iconType:{},iconColor:{},iconPlacement:{},id:{},multiple:{type:Boolean,default:!1},taggable:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},placeholder:{},autocomplete:{default:"off"},clearable:{type:Boolean,default:!1},searchable:{type:Boolean,default:!0}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,r=n.id||af(),i=t,o=Te();function a(l){i("update:modelValue",l)}function s(l){return l?l.charAt(0).toUpperCase()+l.slice(1):""}return ht(o,l=>{a(l)}),Fn(()=>o.value=n.modelValue),(l,u)=>(Se(),qt(xp,{label:l.label,id:et(r),icon:l.icon,"icon-type":l.iconType,"icon-color":l.iconColor,"icon-placement":l.iconPlacement,required:l.required,type:"dropdown",readonly:l.readonly},{default:gr(()=>[$e("input",{type:"hidden",name:l.name,value:l.modelValue},null,8,nC),Ve(et(tC),{modelValue:o.value,"onUpdate:modelValue":u[0]||(u[0]=d=>o.value=d),label:l.labelKey,"input-id":et(r),reduce:d=>d[l.valueKey],"get-option-label":d=>s(d[l.labelKey]),placeholder:l.placeholder,options:l.options,multiple:l.multiple,taggable:l.taggable,autocomplete:l.autocomplete,clearable:l.clearable,noDrop:l.readonly,searchable:l.searchable},{option:gr(d=>[St(l.$slots,"option",{data:d})]),"selected-option":gr(d=>[St(l.$slots,"selected-option",{data:d})]),_:3},8,["modelValue","label","input-id","reduce","get-option-label","placeholder","options","multiple","taggable","autocomplete","clearable","noDrop","searchable"])]),_:3},8,["label","id","icon","icon-type","icon-color","icon-placement","required","readonly"]))}});exports.BookingHeaderLayout=R4;exports.BookingLayout=I4;exports.Clickable=Ik;exports.Comment=It;exports.EventModuleState=D4;exports.Fragment=tt;exports.GiftCardModuleState=x4;exports.Icon=fa;exports.InputField=xp;exports.Loading=Lb;exports.OctopusEventRateType=M4;exports.PaymentGateway=la;exports.StorageSerializers=yt;exports.Suspense=Yh;exports.Teleport=g1;exports.Text=vr;exports.TextField=g9;exports.Transition=ga;exports.Translation=Zd;exports._export_sfc=Hi;exports._sfc_main=rC;exports._sfc_main$1=_k;exports.axios=Hr;exports.b2a=WT;exports.capitalized=tw;exports.computed=de;exports.convertDescription=KT;exports.createApp=L1;exports.createBaseVNode=$e;exports.createBlock=qt;exports.createCommentVNode=bt;exports.createElementBlock=De;exports.createPinia=S5;exports.createSlots=o1;exports.createTextVNode=Ur;exports.createVNode=Ve;exports.daysBetweenDates=vp;exports.defineComponent=wt;exports.defineStore=xi;exports.getCurrentInstance=Qt;exports.getCurrentScope=da;exports.getPriceQuantityLabel=qT;exports.getQuantityStrategyPrice=H4;exports.getUserLanguage=Kr;exports.guardReactiveProps=an;exports.h=Ri;exports.i18n=je;exports.inject=Vr;exports.install=Ew;exports.instance=P4;exports.isRef=Ge;exports.lowercase=GT;exports.mergeProps=qr;exports.nextTick=Dn;exports.normalizeClass=Pt;exports.normalizeProps=on;exports.normalizeStyle=cn;exports.onBeforeMount=xu;exports.onBeforeUnmount=bo;exports.onBeforeUpdate=Mu;exports.onMounted=Fn;exports.onScopeDispose=xs;exports.onUnmounted=_o;exports.openBlock=Se;exports.popScopeId=Cu;exports.pushScopeId=ku;exports.ranId=af;exports.reactive=yo;exports.ref=Te;exports.render=ds;exports.renderList=ss;exports.renderSlot=St;exports.resolveComponent=Wh;exports.resolveDirective=Lu;exports.resolveDynamicComponent=$o;exports.script=Mp;exports.showDate=rc;exports.showDates=ZT;exports.showDay=JT;exports.showPrice=ew;exports.showTime=ic;exports.showTimes=QT;exports.storeToRefs=Oi;exports.toDisplayString=In;exports.toRef=_u;exports.unref=et;exports.useAlertStore=ba;exports.useApplyGiftCardStore=G4;exports.useAvailabilityStore=ou;exports.useCssVars=S1;exports.useHotelStore=X4;exports.useI18n=Zu;exports.usePaymentStore=Y4;exports.useSlots=s1;exports.useStorage=Nt;exports.useTrackingStore=_p;exports.useUtilityStore=mo;exports.vShow=Yo;exports.version=ju;exports.vue_esmBundler=w5;exports.watch=ht;exports.withCtx=gr;exports.withDirectives=yi;exports.withKeys=k1;exports.withModifiers=fs;exports.withScopeId=Uh;
|
|
856
|
+
https://vue-select.org/api/props.html#getoptionkey`,e,t)}}},onTab:{type:Function,default:function(){this.selectOnTab&&!this.isComposing&&this.typeAheadSelect()}},taggable:{type:Boolean,default:!1},tabindex:{type:Number,default:null},pushTags:{type:Boolean,default:!1},filterable:{type:Boolean,default:!0},filterBy:{type:Function,default(e,t,n){return(t||"").toLocaleLowerCase().indexOf(n.toLocaleLowerCase())>-1}},filter:{type:Function,default(e,t){return e.filter(n=>{let r=this.getOptionLabel(n);return typeof r=="number"&&(r=r.toString()),this.filterBy(n,r,t)})}},createOption:{type:Function,default(e){return typeof this.optionList[0]=="object"?{[this.label]:e}:e}},resetOnOptionsChange:{default:!1,validator:e=>["function","boolean"].includes(typeof e)},clearSearchOnBlur:{type:Function,default:function({clearSearchOnSelect:e,multiple:t}){return e&&!t}},noDrop:{type:Boolean,default:!1},inputId:{type:String},dir:{type:String,default:"auto"},selectOnTab:{type:Boolean,default:!1},selectOnKeyCodes:{type:Array,default:()=>[13]},searchInputQuerySelector:{type:String,default:"[type=search]"},mapKeydown:{type:Function,default:(e,t)=>e},appendToBody:{type:Boolean,default:!1},calculatePosition:{type:Function,default(e,t,{width:n,top:r,left:i}){e.style.top=r,e.style.left=i,e.style.width=n}},dropdownShouldOpen:{type:Function,default({noDrop:e,open:t,mutableLoading:n}){return e?!1:t&&!n}},uid:{type:[String,Number],default:()=>V9()}},data(){return{search:"",open:!1,isComposing:!1,pushedTags:[],_value:[],deselectButtons:[]}},computed:{isReducingValues(){return this.$props.reduce!==this.$options.props.reduce.default},isTrackingValues(){return typeof this.modelValue>"u"||this.isReducingValues},selectedValue(){let e=this.modelValue;return this.isTrackingValues&&(e=this.$data._value),e!=null&&e!==""?[].concat(e):[]},optionList(){return this.options.concat(this.pushTags?this.pushedTags:[])},searchEl(){return this.$slots.search?this.$refs.selectedOptions.querySelector(this.searchInputQuerySelector):this.$refs.search},scope(){const e={search:this.search,loading:this.loading,searching:this.searching,filteredOptions:this.filteredOptions};return{search:{attributes:xo({disabled:this.disabled,placeholder:this.searchPlaceholder,tabindex:this.tabindex,readonly:!this.searchable,id:this.inputId,"aria-autocomplete":"list","aria-labelledby":`vs${this.uid}__combobox`,"aria-controls":`vs${this.uid}__listbox`,ref:"search",type:"search",autocomplete:this.autocomplete,value:this.search},this.dropdownOpen&&this.filteredOptions[this.typeAheadPointer]?{"aria-activedescendant":`vs${this.uid}__option-${this.typeAheadPointer}`}:{}),events:{compositionstart:()=>this.isComposing=!0,compositionend:()=>this.isComposing=!1,keydown:this.onSearchKeyDown,blur:this.onSearchBlur,focus:this.onSearchFocus,input:t=>this.search=t.target.value}},spinner:{loading:this.mutableLoading},noOptions:{search:this.search,loading:this.mutableLoading,searching:this.searching},openIndicator:{attributes:{ref:"openIndicator",role:"presentation",class:"vs__open-indicator"}},listHeader:e,listFooter:e,header:z2(xo({},e),{deselect:this.deselect}),footer:z2(xo({},e),{deselect:this.deselect})}},childComponents(){return xo(xo({},$2),this.components)},stateClasses(){return{"vs--open":this.dropdownOpen,"vs--single":!this.multiple,"vs--multiple":this.multiple,"vs--searching":this.searching&&!this.noDrop,"vs--searchable":this.searchable&&!this.noDrop,"vs--unsearchable":!this.searchable,"vs--loading":this.mutableLoading,"vs--disabled":this.disabled}},searching(){return!!this.search},dropdownOpen(){return this.dropdownShouldOpen(this)},searchPlaceholder(){return this.isValueEmpty&&this.placeholder?this.placeholder:void 0},filteredOptions(){const e=[].concat(this.optionList);if(!this.filterable&&!this.taggable)return e;const t=this.search.length?this.filter(e,this.search,this):e;if(this.taggable&&this.search.length){const n=this.createOption(this.search);this.optionExists(n)||t.unshift(n)}return t},isValueEmpty(){return this.selectedValue.length===0},showClearButton(){return!this.multiple&&this.clearable&&!this.open&&!this.isValueEmpty}},watch:{options(e,t){const n=()=>typeof this.resetOnOptionsChange=="function"?this.resetOnOptionsChange(e,t,this.selectedValue):this.resetOnOptionsChange;!this.taggable&&n()&&this.clearSelection(),this.modelValue&&this.isTrackingValues&&this.setInternalValueFromOptions(this.modelValue)},modelValue:{immediate:!0,handler(e){this.isTrackingValues&&this.setInternalValueFromOptions(e)}},multiple(){this.clearSelection()},open(e){this.$emit(e?"open":"close")}},created(){this.mutableLoading=this.loading},methods:{setInternalValueFromOptions(e){Array.isArray(e)?this.$data._value=e.map(t=>this.findOptionFromReducedValue(t)):this.$data._value=this.findOptionFromReducedValue(e)},select(e){this.$emit("option:selecting",e),this.isOptionSelected(e)?this.deselectFromDropdown&&(this.clearable||this.multiple&&this.selectedValue.length>1)&&this.deselect(e):(this.taggable&&!this.optionExists(e)&&(this.$emit("option:created",e),this.pushTag(e)),this.multiple&&(e=this.selectedValue.concat(e)),this.updateValue(e),this.$emit("option:selected",e)),this.onAfterSelect(e)},deselect(e){this.$emit("option:deselecting",e),this.updateValue(this.selectedValue.filter(t=>!this.optionComparator(t,e))),this.$emit("option:deselected",e)},clearSelection(){this.updateValue(this.multiple?[]:null)},onAfterSelect(e){this.closeOnSelect&&(this.open=!this.open,this.searchEl.blur()),this.clearSearchOnSelect&&(this.search="")},updateValue(e){typeof this.modelValue>"u"&&(this.$data._value=e),e!==null&&(Array.isArray(e)?e=e.map(t=>this.reduce(t)):e=this.reduce(e)),this.$emit("update:modelValue",e)},toggleDropdown(e){const t=e.target!==this.searchEl;t&&e.preventDefault();const n=[...this.deselectButtons||[],this.$refs.clearButton];if(this.searchEl===void 0||n.filter(Boolean).some(r=>r.contains(e.target)||r===e.target)){e.preventDefault();return}this.open&&t?this.searchEl.blur():this.disabled||(this.open=!0,this.searchEl.focus())},isOptionSelected(e){return this.selectedValue.some(t=>this.optionComparator(t,e))},isOptionDeselectable(e){return this.isOptionSelected(e)&&this.deselectFromDropdown},optionComparator(e,t){return this.getOptionKey(e)===this.getOptionKey(t)},findOptionFromReducedValue(e){const t=r=>JSON.stringify(this.reduce(r))===JSON.stringify(e),n=[...this.options,...this.pushedTags].filter(t);return n.length===1?n[0]:n.find(r=>this.optionComparator(r,this.$data._value))||e},closeSearchOptions(){this.open=!1,this.$emit("search:blur")},maybeDeleteValue(){if(!this.searchEl.value.length&&this.selectedValue&&this.selectedValue.length&&this.clearable){let e=null;this.multiple&&(e=[...this.selectedValue.slice(0,this.selectedValue.length-1)]),this.updateValue(e)}},optionExists(e){return this.optionList.some(t=>this.optionComparator(t,e))},normalizeOptionForSlot(e){return typeof e=="object"?e:{[this.label]:e}},pushTag(e){this.pushedTags.push(e)},onEscape(){this.search.length?this.search="":this.searchEl.blur()},onSearchBlur(){if(this.mousedown&&!this.searching)this.mousedown=!1;else{const{clearSearchOnSelect:e,multiple:t}=this;this.clearSearchOnBlur({clearSearchOnSelect:e,multiple:t})&&(this.search=""),this.closeSearchOptions();return}if(this.search.length===0&&this.options.length===0){this.closeSearchOptions();return}},onSearchFocus(){this.open=!0,this.$emit("search:focus")},onMousedown(){this.mousedown=!0},onMouseUp(){this.mousedown=!1},onSearchKeyDown(e){const t=i=>(i.preventDefault(),!this.isComposing&&this.typeAheadSelect()),n={8:i=>this.maybeDeleteValue(),9:i=>this.onTab(),27:i=>this.onEscape(),38:i=>(i.preventDefault(),this.typeAheadUp()),40:i=>(i.preventDefault(),this.typeAheadDown())};this.selectOnKeyCodes.forEach(i=>n[i]=t);const r=this.mapKeydown(n,this);if(typeof r[e.keyCode]=="function")return r[e.keyCode](e)}}},z9=["dir"],$9=["id","aria-expanded","aria-owns"],U9={ref:"selectedOptions",class:"vs__selected-options"},q9=["disabled","title","aria-label","onClick"],K9={ref:"actions",class:"vs__actions"},W9=["disabled"],G9={class:"vs__spinner"},Y9=["id"],X9=["id","aria-selected","onMouseover","onClick"],J9={key:0,class:"vs__no-options"},Z9=Ur(" Sorry, no matching options. "),Q9=["id"];function eC(e,t,n,r,i,o){const a=Lu("append-to-body");return Se(),De("div",{dir:n.dir,class:Pt(["v-select",o.stateClasses])},[St(e.$slots,"header",on(an(o.scope.header))),$e("div",{id:`vs${n.uid}__combobox`,ref:"toggle",class:"vs__dropdown-toggle",role:"combobox","aria-expanded":o.dropdownOpen.toString(),"aria-owns":`vs${n.uid}__listbox`,"aria-label":"Search for option",onMousedown:t[1]||(t[1]=s=>o.toggleDropdown(s))},[$e("div",U9,[(Se(!0),De(tt,null,ss(o.selectedValue,(s,l)=>St(e.$slots,"selected-option-container",{option:o.normalizeOptionForSlot(s),deselect:o.deselect,multiple:n.multiple,disabled:n.disabled},()=>[(Se(),De("span",{key:n.getOptionKey(s),class:"vs__selected"},[St(e.$slots,"selected-option",on(an(o.normalizeOptionForSlot(s))),()=>[Ur(In(n.getOptionLabel(s)),1)]),n.multiple?(Se(),De("button",{key:0,ref_for:!0,ref:u=>i.deselectButtons[l]=u,disabled:n.disabled,type:"button",class:"vs__deselect",title:`Deselect ${n.getOptionLabel(s)}`,"aria-label":`Deselect ${n.getOptionLabel(s)}`,onClick:u=>o.deselect(s)},[(Se(),qt($o(o.childComponents.Deselect)))],8,q9)):bt("",!0)]))])),256)),St(e.$slots,"search",on(an(o.scope.search)),()=>[$e("input",qr({class:"vs__search"},o.scope.search.attributes,a1(o.scope.search.events)),null,16)])],512),$e("div",K9,[yi($e("button",{ref:"clearButton",disabled:n.disabled,type:"button",class:"vs__clear",title:"Clear Selected","aria-label":"Clear Selected",onClick:t[0]||(t[0]=(...s)=>o.clearSelection&&o.clearSelection(...s))},[(Se(),qt($o(o.childComponents.Deselect)))],8,W9),[[Yo,o.showClearButton]]),St(e.$slots,"open-indicator",on(an(o.scope.openIndicator)),()=>[n.noDrop?bt("",!0):(Se(),qt($o(o.childComponents.OpenIndicator),on(qr({key:0},o.scope.openIndicator.attributes)),null,16))]),St(e.$slots,"spinner",on(an(o.scope.spinner)),()=>[yi($e("div",G9,"Loading...",512),[[Yo,e.mutableLoading]])])],512)],40,$9),Ve(ga,{name:n.transition},{default:gr(()=>[o.dropdownOpen?yi((Se(),De("ul",{id:`vs${n.uid}__listbox`,ref:"dropdownMenu",key:`vs${n.uid}__listbox`,class:"vs__dropdown-menu",role:"listbox",tabindex:"-1",onMousedown:t[2]||(t[2]=fs((...s)=>o.onMousedown&&o.onMousedown(...s),["prevent"])),onMouseup:t[3]||(t[3]=(...s)=>o.onMouseUp&&o.onMouseUp(...s))},[St(e.$slots,"list-header",on(an(o.scope.listHeader))),(Se(!0),De(tt,null,ss(o.filteredOptions,(s,l)=>(Se(),De("li",{id:`vs${n.uid}__option-${l}`,key:n.getOptionKey(s),role:"option",class:Pt(["vs__dropdown-option",{"vs__dropdown-option--deselect":o.isOptionDeselectable(s)&&l===e.typeAheadPointer,"vs__dropdown-option--selected":o.isOptionSelected(s),"vs__dropdown-option--highlight":l===e.typeAheadPointer,"vs__dropdown-option--disabled":!n.selectable(s)}]),"aria-selected":l===e.typeAheadPointer?!0:null,onMouseover:u=>n.selectable(s)?e.typeAheadPointer=l:null,onClick:fs(u=>n.selectable(s)?o.select(s):null,["prevent","stop"])},[St(e.$slots,"option",on(an(o.normalizeOptionForSlot(s))),()=>[Ur(In(n.getOptionLabel(s)),1)])],42,X9))),128)),o.filteredOptions.length===0?(Se(),De("li",J9,[St(e.$slots,"no-options",on(an(o.scope.noOptions)),()=>[Z9])])):bt("",!0),St(e.$slots,"list-footer",on(an(o.scope.listFooter)))],40,Y9)),[[a]]):(Se(),De("ul",{key:1,id:`vs${n.uid}__listbox`,role:"listbox",style:{display:"none",visibility:"hidden"}},null,8,Q9))]),_:3},8,["name"]),St(e.$slots,"footer",on(an(o.scope.footer)))],10,z9)}const tC=Fp(B9,[["render",eC]]),nC=["name","value"],rC=wt({__name:"SelectField",props:{modelValue:{},label:{},options:{},labelKey:{default:"label"},valueKey:{default:"value"},name:{},icon:{},iconType:{},iconColor:{},iconPlacement:{},id:{},multiple:{type:Boolean,default:!1},taggable:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},placeholder:{},autocomplete:{default:"off"},clearable:{type:Boolean,default:!1},searchable:{type:Boolean,default:!0}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,r=n.id||af(),i=t,o=Te();function a(l){i("update:modelValue",l)}function s(l){return l?l.charAt(0).toUpperCase()+l.slice(1):""}return ht(o,l=>{a(l)}),Fn(()=>o.value=n.modelValue),(l,u)=>(Se(),qt(xp,{label:l.label,id:et(r),icon:l.icon,"icon-type":l.iconType,"icon-color":l.iconColor,"icon-placement":l.iconPlacement,required:l.required,type:"dropdown",readonly:l.readonly},{default:gr(()=>[$e("input",{type:"hidden",name:l.name,value:l.modelValue},null,8,nC),Ve(et(tC),{modelValue:o.value,"onUpdate:modelValue":u[0]||(u[0]=d=>o.value=d),label:l.labelKey,"input-id":et(r),reduce:d=>d[l.valueKey],"get-option-label":d=>s(d[l.labelKey]),placeholder:l.placeholder,options:l.options,multiple:l.multiple,taggable:l.taggable,autocomplete:l.autocomplete,clearable:l.clearable,noDrop:l.readonly,searchable:l.searchable},{option:gr(d=>[St(l.$slots,"option",{data:d})]),"selected-option":gr(d=>[St(l.$slots,"selected-option",{data:d})]),_:3},8,["modelValue","label","input-id","reduce","get-option-label","placeholder","options","multiple","taggable","autocomplete","clearable","noDrop","searchable"])]),_:3},8,["label","id","icon","icon-type","icon-color","icon-placement","required","readonly"]))}});exports.BookingHeaderLayout=R4;exports.BookingLayout=I4;exports.Clickable=Ik;exports.Comment=It;exports.EventModuleState=D4;exports.Fragment=tt;exports.GiftCardModuleState=x4;exports.Icon=fa;exports.InputField=xp;exports.Loading=Lb;exports.OctopusEventRateType=M4;exports.PaymentGateway=la;exports.StorageSerializers=yt;exports.Suspense=Yh;exports.Teleport=g1;exports.Text=vr;exports.TextField=g9;exports.Transition=ga;exports.Translation=Zd;exports._export_sfc=Hi;exports._sfc_main=rC;exports._sfc_main$1=_k;exports.axios=Hr;exports.b2a=WT;exports.capitalized=tw;exports.computed=de;exports.convertDescription=KT;exports.createApp=L1;exports.createBaseVNode=$e;exports.createBlock=qt;exports.createCommentVNode=bt;exports.createElementBlock=De;exports.createPinia=S5;exports.createSlots=o1;exports.createTextVNode=Ur;exports.createVNode=Ve;exports.daysBetweenDates=vp;exports.defineComponent=wt;exports.defineStore=xi;exports.getCurrentInstance=Qt;exports.getCurrentScope=da;exports.getPriceQuantityLabel=qT;exports.getQuantityStrategyPrice=H4;exports.getUserLanguage=Kr;exports.guardReactiveProps=an;exports.h=Ri;exports.i18n=He;exports.inject=Vr;exports.install=Ew;exports.instance=P4;exports.isRef=Ge;exports.lowercase=GT;exports.mergeProps=qr;exports.nextTick=Dn;exports.normalizeClass=Pt;exports.normalizeProps=on;exports.normalizeStyle=cn;exports.onBeforeMount=xu;exports.onBeforeUnmount=bo;exports.onBeforeUpdate=Mu;exports.onMounted=Fn;exports.onScopeDispose=xs;exports.onUnmounted=_o;exports.openBlock=Se;exports.popScopeId=Cu;exports.pushScopeId=ku;exports.ranId=af;exports.reactive=yo;exports.ref=Te;exports.render=ds;exports.renderList=ss;exports.renderSlot=St;exports.resolveComponent=Wh;exports.resolveDirective=Lu;exports.resolveDynamicComponent=$o;exports.script=Mp;exports.showDate=rc;exports.showDates=ZT;exports.showDay=JT;exports.showPrice=ew;exports.showTime=ic;exports.showTimes=QT;exports.storeToRefs=Oi;exports.toDisplayString=In;exports.toRef=_u;exports.unref=et;exports.useAlertStore=ba;exports.useApplyGiftCardStore=G4;exports.useAvailabilityStore=ou;exports.useCssVars=S1;exports.useHotelStore=X4;exports.useI18n=Zu;exports.usePaymentStore=Y4;exports.useSlots=s1;exports.useStorage=Nt;exports.useTrackingStore=_p;exports.useUtilityStore=mo;exports.vShow=Yo;exports.version=ju;exports.vue_esmBundler=w5;exports.watch=ht;exports.withCtx=gr;exports.withDirectives=yi;exports.withKeys=k1;exports.withModifiers=fs;exports.withScopeId=Uh;
|