1var Lf=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)};var On=(e,t,n)=>(Lf(e,t,"read from private field"),n?n.call(e):t.get(e)),Mr=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},Ks=(e,t,n,r)=>(Lf(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n);var tl=(e,t,n)=>(Lf(e,t,"access private method"),n);const _k=function(){const t=document.createElement("link").relList;return t&&t.supports&&t.supports("modulepreload")?"modulepreload":"preload"}(),Ny={},Ck="/",om=function(t,n){return!n||n.length===0?t():Promise.all(n.map(r=>{if(r=`${Ck}${r}`,r in Ny)return;Ny[r]=!0;const a=r.endsWith(".css"),c=a?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${r}"]${c}`))return;const p=document.createElement("link");if(p.rel=a?"stylesheet":_k,a||(p.as="script",p.crossOrigin=""),p.href=r,document.head.appendChild(p),a)return new Promise((w,_)=>{p.addEventListener("load",w),p.addEventListener("error",()=>_(new Error(`Unable to preload CSS for ${r}`)))})})).then(()=>t())};/** 2* @vue/shared v3.4.25 3* (c) 2018-present Yuxi (Evan) You and Vue contributors 4* @license MIT
5**//*! #__NO_SIDE_EFFECTS__ */function Kd(e,t){const n=new Set(e.split(","));return t?r=>n.has(r.toLowerCase()):r=>n.has(r)}const wi={},dl=[],Hn=()=>{},kk=()=>!1,Wu=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),rm=e=>e.startsWith("onUpdate:"),Ni=Object.assign,sm=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Ak=Object.prototype.hasOwnProperty,hi=(e,t)=>Ak.call(e,t),Ct=Array.isArray,hl=e=>Nl(e)==="[object Map]",xa=e=>Nl(e)==="[object Set]",Ry=e=>Nl(e)==="[object Date]",Tk=e=>Nl(e)==="[object RegExp]",Vt=e=>typeof e=="function",Bi=e=>typeof e=="string",Br=e=>typeof e=="symbol",_i=e=>e!==null&&typeof e=="object",am=e=>(_i(e)||Vt(e))&&Vt(e.then)&&Vt(e.catch),Qb=Object.prototype.toString,Nl=e=>Qb.call(e),Ek=e=>Nl(e).slice(8,-1),Zb=e=>Nl(e)==="[object Object]",lm=e=>Bi(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,fl=Kd(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Qd=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Mk=/-(\w)/g,zn=Qd(e=>e.replace(Mk,(t,n)=>n?n.toUpperCase():"")),Pk=/\B([A-Z])/g,ao=Qd(e=>e.replace(Pk,"-$1").toLowerCase()),Gu=Qd(e=>e.charAt(0).toUpperCase()+e.slice(1)),Su=Qd(e=>e?`on${Gu(e)}`:""),Go=(e,t)=>!Object.is(e,t),pl=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Jb=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Cd=e=>{const t=parseFloat(e);return isNaN(t)?e:t},kd=e=>{const t=Bi(e)?Number(e):NaN;return isNaN(t)?e:t};let Fy;const e0=()=>Fy||(Fy=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{}),Ok="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,Error",Ik=Kd(Ok);function Hr(e){if(Ct(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],a=Bi(r)?Fk(r):Hr(r);if(a)for(const c in a)t[c]=a[c]}return t}else if(Bi(e)||_i(e))return e}const Lk=/;(?![^(]*\))/g,Nk=/:([^]+)/,Rk=/\/\*[^]*?\*\//g;function Fk(e){const t={};return e.replace(Rk,"").split(Lk).forEach(n=>{if(n){const r=n.split(Nk);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function ji(e){let t="";if(Bi(e))t=e;else if(Ct(e))for(let n=0;n<e.length;n++){const r=ji(e[n]);r&&(t+=r+" ")}else if(_i(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Dk(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Bi(t)&&(e.class=ji(t)),n&&(e.style=Hr(n)),e}const Bk="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Vk=Kd(Bk);function t0(e){return!!e||e===""}function qk(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Ps(e[r],t[r]);return n}function Ps(e,t){if(e===t)return!0;let n=Ry(e),r=Ry(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=Br(e),r=Br(t),n||r)return e===t;if(n=Ct(e),r=Ct(t),n||r)return n&&r?qk(e,t):!1;if(n=_i(e),r=_i(t),n||r){if(!n||!r)return!1;const a=Object.keys(e).length,c=Object.keys(t).length;if(a!==c)return!1;for(const p in e){const w=e.hasOwnProperty(p),_=t.hasOwnProperty(p);if(w&&!_||!w&&_||!Ps(e[p],t[p]))return!1}}return String(e)===String(t)}function Zd(e,t){return e.findIndex(n=>Ps(n,t))}const dt=e=>Bi(e)?e:e==null?"":Ct(e)||_i(e)&&(e.toString===Qb||!Vt(e.toString))?JSON.stringify(e,i0,2):String(e),i0=(e,t)=>t&&t.__v_isRef?i0(e,t.value):hl(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,a],c)=>(n[Nf(r,c)+" =>"]=a,n),{})}:xa(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Nf(n))}:Br(t)?Nf(t):_i(t)&&!Ct(t)&&!Zb(t)?String(t):t,Nf=(e,t="")=>{var n;return Br(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** 6* @vue/reactivity v3.4.25 7* (c) 2018-present Yuxi (Evan) You and Vue contributors 8* @license MIT
vendor: 11,927 bytes, lines 9-12
9**/let ro;class um{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=ro,!t&&ro&&(this.index=(ro.scopes||(ro.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=ro;try{return ro=this,t()}finally{ro=n}}}on(){ro=this}off(){ro=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 a=this.parent.scopes.pop();a&&a!==this&&(this.parent.scopes[this.index]=a,a.index=this.index)}this.parent=void 0,this._active=!1}}}function n0(e){return new um(e)}function o0(e,t=ro){t&&t.active&&t.effects.push(e)}function r0(){return ro}function Hk(e){ro&&ro.cleanups.push(e)}let aa;class Sl{constructor(t,n,r,a){this.fn=t,this.trigger=n,this.scheduler=r,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,o0(this,a)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,Ns();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(zk(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),Rs()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Ms,n=aa;try{return Ms=!0,aa=this,this._runnings++,Dy(this),this.fn()}finally{By(this),this._runnings--,aa=n,Ms=t}}stop(){var t;this.active&&(Dy(this),By(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function zk(e){return e.value}function Dy(e){e._trackId++,e._depsLength=0}function By(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)s0(e.deps[t],e);e.deps.length=e._depsLength}}function s0(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}function jk(e,t){e.effect instanceof Sl&&(e=e.effect.fn);const n=new Sl(e,Hn,()=>{n.dirty&&n.run()});t&&(Ni(n,t),t.scope&&o0(n,t.scope)),(!t||!t.lazy)&&n.run();const r=n.run.bind(n);return r.effect=n,r}function $k(e){e.effect.stop()}let Ms=!0,fp=0;const a0=[];function Ns(){a0.push(Ms),Ms=!1}function Rs(){const e=a0.pop();Ms=e===void 0?!0:e}function cm(){fp++}function dm(){for(fp--;!fp&&pp.length;)pp.shift()()}function l0(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const r=e.deps[e._depsLength];r!==t?(r&&s0(r,e),e.deps[e._depsLength++]=t):e._depsLength++}}const pp=[];function u0(e,t,n){cm();for(const r of e.keys()){let a;r._dirtyLevel<t&&(a!=null?a:a=e.get(r)===r._trackId)&&(r._shouldSchedule||(r._shouldSchedule=r._dirtyLevel===0),r._dirtyLevel=t),r._shouldSchedule&&(a!=null?a:a=e.get(r)===r._trackId)&&(r.trigger(),(!r._runnings||r.allowRecurse)&&r._dirtyLevel!==2&&(r._shouldSchedule=!1,r.scheduler&&pp.push(r.scheduler)))}dm()}const c0=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},Ad=new WeakMap,la=Symbol(""),mp=Symbol("");function Qn(e,t,n){if(Ms&&aa){let r=Ad.get(e);r||Ad.set(e,r=new Map);let a=r.get(n);a||r.set(n,a=c0(()=>r.delete(n))),l0(aa,a)}}function Nr(e,t,n,r,a,c){const p=Ad.get(e);if(!p)return;let w=[];if(t==="clear")w=[...p.values()];else if(n==="length"&&Ct(e)){const _=Number(r);p.forEach((T,A)=>{(A==="length"||!Br(A)&&A>=_)&&w.push(T)})}else switch(n!==void 0&&w.push(p.get(n)),t){case"add":Ct(e)?lm(n)&&w.push(p.get("length")):(w.push(p.get(la)),hl(e)&&w.push(p.get(mp)));break;case"delete":Ct(e)||(w.push(p.get(la)),hl(e)&&w.push(p.get(mp)));break;case"set":hl(e)&&w.push(p.get(la));break}cm();for(const _ of w)_&&u0(_,4);dm()}function Uk(e,t){var n;return(n=Ad.get(e))==null?void 0:n.get(t)}const Wk=Kd("__proto__,__v_isRef,__isVue"),d0=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Br)),Vy=Gk();function Gk(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=Qt(this);for(let c=0,p=this.length;c<p;c++)Qn(r,"get",c+"");const a=r[t](...n);return a===-1||a===!1?r[t](...n.map(Qt)):a}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){Ns(),cm();const r=Qt(this)[t].apply(this,n);return dm(),Rs(),r}}),e}function Yk(e){Br(e)||(e=String(e));const t=Qt(this);return Qn(t,"has",e),t.hasOwnProperty(e)}class h0{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const a=this._isReadonly,c=this._isShallow;if(n==="__v_isReactive")return!a;if(n==="__v_isReadonly")return a;if(n==="__v_isShallow")return c;if(n==="__v_raw")return r===(a?c?v0:y0:c?g0:m0).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const p=Ct(t);if(!a){if(p&&hi(Vy,n))return Reflect.get(Vy,n,r);if(n==="hasOwnProperty")return Yk}const w=Reflect.get(t,n,r);return(Br(n)?d0.has(n):Wk(n))||(a||Qn(t,"get",n),c)?w:An(w)?p&&lm(n)?w:w.value:_i(w)?a?pm(w):kn(w):w}}class f0 extends h0{constructor(t=!1){super(!1,t)}set(t,n,r,a){let c=t[n];if(!this._isShallow){const _=_l(c);if(!Ou(r)&&!_l(r)&&(c=Qt(c),r=Qt(r)),!Ct(t)&&An(c)&&!An(r))return _?!1:(c.value=r,!0)}const p=Ct(t)&&lm(n)?Number(n)<t.length:hi(t,n),w=Reflect.set(t,n,r,a);return t===Qt(a)&&(p?Go(r,c)&&Nr(t,"set",n,r):Nr(t,"add",n,r)),w}deleteProperty(t,n){const r=hi(t,n);t[n];const a=Reflect.deleteProperty(t,n);return a&&r&&Nr(t,"delete",n,void 0),a}has(t,n){const r=Reflect.has(t,n);return(!Br(n)||!d0.has(n))&&Qn(t,"has",n),r}ownKeys(t){return Qn(t,"iterate",Ct(t)?"length":la),Reflect.ownKeys(t)}}class p0 extends h0{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Xk=new f0,Kk=new p0,Qk=new f0(!0),Zk=new p0(!0),hm=e=>e,Jd=e=>Reflect.getPrototypeOf(e);function Xc(e,t,n=!1,r=!1){e=e.__v_raw;const a=Qt(e),c=Qt(t);n||(Go(t,c)&&Qn(a,"get",t),Qn(a,"get",c));const{has:p}=Jd(a),w=r?hm:n?gm:Iu;if(p.call(a,t))return w(e.get(t));if(p.call(a,c))return w(e.get(c));e!==a&&e.get(t)}function Kc(e,t=!1){const n=this.__v_raw,r=Qt(n),a=Qt(e);return t||(Go(e,a)&&Qn(r,"has",e),Qn(r,"has",a)),e===a?n.has(e):n.has(e)||n.has(a)}function Qc(e,t=!1){return e=e.__v_raw,!t&&Qn(Qt(e),"iterate",la),Reflect.get(e,"size",e)}function qy(e){e=Qt(e);const t=Qt(this);return Jd(t).has.call(t,e)||(t.add(e),Nr(t,"add",e,e)),this}function Hy(e,t){t=Qt(t);const n=Qt(this),{has:r,get:a}=Jd(n);let c=r.call(n,e);c||(e=Qt(e),c=r.call(n,e));const p=a.call(n,e);return n.set(e,t),c?Go(t,p)&&Nr(n,"set",e,t):Nr(n,"add",e,t),this}function zy(e){const t=Qt(this),{has:n,get:r}=Jd(t);let a=n.call(t,e);a||(e=Qt(e),a=n.call(t,e)),r&&r.call(t,e);const c=t.delete(e);return a&&Nr(t,"delete",e,void 0),c}function jy(){const e=Qt(this),t=e.size!==0,n=e.clear();return t&&Nr(e,"clear",void 0,void 0),n}function Zc(e,t){return function(r,a){const c=this,p=c.__v_raw,w=Qt(p),_=t?hm:e?gm:Iu;return!e&&Qn(w,"iterate",la),p.forEach((T,A)=>r.call(a,_(T),_(A),c))}}function Jc(e,t,n){return function(...r){const a=this.__v_raw,c=Qt(a),p=hl(c),w=e==="entries"||e===Symbol.iterator&&p,_=e==="keys"&&p,T=a[e](...r),A=n?hm:t?gm:Iu;return!t&&Qn(c,"iterate",_?mp:la),{next(){const{value:P,done:O}=T.next();return O?{value:P,done:O}:{value:w?[A(P[0]),A(P[1])]:A(P),done:O}},[Symbol.iterator](){return this}}}}function fs(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Jk(){const e={get(c){return Xc(this,c)},get size(){return Qc(this)},has:Kc,add:qy,set:Hy,delete:zy,clear:jy,forEach:Zc(!1,!1)},t={get(c){return Xc(this,c,!1,!0)},get size(){return Qc(this)},has:Kc,add:qy,set:Hy,delete:zy,clear:jy,forEach:Zc(!1,!0)},n={get(c){return Xc(this,c,!0)},get size(){return Qc(this,!0)},has(c){return Kc.call(this,c,!0)},add:fs("add"),set:fs("set"),delete:fs("delete"),clear:fs("clear"),forEach:Zc(!0,!1)},r={get(c){return Xc(this,c,!0,!0)},get size(){return Qc(this,!0)},has(c){return Kc.call(this,c,!0)},add:fs("add"),set:fs("set"),delete:fs("delete"),clear:fs("clear"),forEach:Zc(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(c=>{e[c]=Jc(c,!1,!1),n[c]=Jc(c,!0,!1),t[c]=Jc(c,!1,!0),r[c]=Jc(c,!0,!0)}),[e,n,t,r]}const[eA,tA,iA,nA]=Jk();function eh(e,t){const n=t?e?nA:iA:e?tA:eA;return(r,a,c)=>a==="__v_isReactive"?!e:a==="__v_isReadonly"?e:a==="__v_raw"?r:Reflect.get(hi(n,a)&&a in r?n:r,a,c)}const oA={get:eh(!1,!1)},rA={get:eh(!1,!0)},sA={get:eh(!0,!1)},aA={get:eh(!0,!0)},m0=new WeakMap,g0=new WeakMap,y0=new WeakMap,v0=new WeakMap;function lA(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function uA(e){return e.__v_skip||!Object.isExtensible(e)?0:lA(Ek(e))}function kn(e){return _l(e)?e:th(e,!1,Xk,oA,m0)}function fm(e){return th(e,!1,Qk,rA,g0)}function pm(e){return th(e,!0,Kk,sA,y0)}function cA(e){return th(e,!0,Zk,aA,v0)}function th(e,t,n,r,a){if(!_i(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const c=a.get(e);if(c)return c;const p=uA(e);if(p===0)return e;const w=new Proxy(e,p===2?r:n);return a.set(e,w),w}function ml(e){return _l(e)?ml(e.__v_raw):!!(e&&e.__v_isReactive)}function _l(e){return!!(e&&e.__v_isReadonly)}function Ou(e){return!!(e&&e.__v_isShallow)}function mm(e){return e?!!e.__v_raw:!1}function Qt(e){const t=e&&e.__v_raw;return t?Qt(t):e}function Rl(e){return Object.isExtensible(e)&&Jb(e,"__v_skip",!0),e}const Iu=e=>_i(e)?kn(e):e,gm=e=>_i(e)?pm(e):e;class b0{constructor(t,n,r,a){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Sl(()=>t(this._value),()=>gl(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!a,this.__v_isReadonly=r}get value(){const t=Qt(this);return(!t._cacheable||t.effect.dirty)&&Go(t._value,t._value=t.effect.run())&&gl(t,4),ym(t),t.effect._dirtyLevel>=2&&gl(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function dA(e,t,n=!1){let r,a;const c=Vt(e);return c?(r=e,a=Hn):(r=e.get,a=e.set),new b0(r,a,c||!a,n)}function ym(e){var t;Ms&&aa&&(e=Qt(e),l0(aa,(t=e.dep)!=null?t:e.dep=c0(()=>e.dep=void 0,e instanceof b0?e:void 0)))}function gl(e,t=4,n){e=Qt(e);const r=e.dep;r&&u0(r,t)}function An(e){return!!(e&&e.__v_isRef===!0)}function Ke(e){return w0(e,!1)}function x0(e){return w0(e,!0)}function w0(e,t){return An(e)?e:new hA(e,t)}class hA{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Qt(t),this._value=n?t:Iu(t)}get value(){return ym(this),this._value}set value(t){const n=this.__v_isShallow||Ou(t)||_l(t);t=n?t:Qt(t),Go(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Iu(t),gl(this,4))}}function fA(e){gl(e,4)}function Ji(e){return An(e)?e.value:e}function pA(e){return Vt(e)?e():Ji(e)}const mA={get:(e,t,n)=>Ji(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const a=e[t];return An(a)&&!An(n)?(a.value=n,!0):Reflect.set(e,t,n,r)}};function vm(e){return ml(e)?e:new Proxy(e,mA)}class gA{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>ym(this),()=>gl(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function S0(e){return new gA(e)}function yA(e){const t=Ct(e)?new Array(e.length):{};for(const n in e)t[n]=_0(e,n);return t}class vA{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 Uk(Qt(this._object),this._key)}}class bA{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function xA(e,t,n){return An(e)?e:Vt(e)?new bA(e):_i(e)&&arguments.length>1?_0(e,t,n):Ke(e)}function _0(e,t,n){const r=e[t];return An(r)?r:new vA(e,t,n)}const wA={GET:"get",HAS:"has",ITERATE:"iterate"},SA={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"};/** 10* @vue/runtime-core v3.4.25 11* (c) 2018-present Yuxi (Evan) You and Vue contributors 12* @license MIT
13**/function _A(e,t){}const CA={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",WATCH_GETTER:2,2:"WATCH_GETTER",WATCH_CALLBACK:3,3:"WATCH_CALLBACK",WATCH_CLEANUP:4,4:"WATCH_CLEANUP",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER"},kA={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",[0]:"setup function",[1]:"render function",[2]:"watcher getter",[3]:"watcher callback",[4]:"watcher cleanup function",[5]:"native event handler",[6]:"component event handler",[7]:"vnode hook",[8]:"directive hook",[9]:"transition hook",[10]:"app errorHandler",[11]:"app warnHandler",[12]:"ref function",[13]:"async component loader",[14]:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core ."};function Rr(e,t,n,r){try{return r?e(...r):e()}catch(a){wa(a,t,n)}}function uo(e,t,n,r){if(Vt(e)){const a=Rr(e,t,n,r);return a&&am(a)&&a.catch(c=>{wa(c,t,n)}),a}if(Ct(e)){const a=[];for(let c=0;c<e.length;c++)a.push(uo(e[c],t,n,r));return a}}function wa(e,t,n,r=!0){const a=t?t.vnode:null;if(t){let c=t.parent;const p=t.proxy,w=`https://vuejs.org/error-reference/#runtime-${n}`;for(;c;){const T=c.ec;if(T){for(let A=0;A<T.length;A++)if(T[A](e,p,w)===!1)return}c=c.parent}const _=t.appContext.config.errorHandler;if(_){Ns(),Rr(_,null,10,[e,p,w]),Rs();return}}AA(e,n,a,r)}function AA(e,t,n,r=!0){console.error(e)}let Lu=!1,gp=!1;const Ln=[];let fr=0;const yl=[];let bs=null,ia=0;const C0=Promise.resolve();let bm=null;function Ai(e){const t=bm||C0;return e?t.then(this?e.bind(this):e):t}function TA(e){let t=fr+1,n=Ln.length;for(;t<n;){const r=t+n>>>1,a=Ln[r],c=Nu(a);c<e||c===e&&a.pre?t=r+1:n=r}return t}function ih(e){(!Ln.length||!Ln.includes(e,Lu&&e.allowRecurse?fr+1:fr))&&(e.id==null?Ln.push(e):Ln.splice(TA(e.id),0,e),k0())}function k0(){!Lu&&!gp&&(gp=!0,bm=C0.then(A0))}function EA(e){const t=Ln.indexOf(e);t>fr&&Ln.splice(t,1)}function Td(e){Ct(e)?yl.push(...e):(!bs||!bs.includes(e,e.allowRecurse?ia+1:ia))&&yl.push(e),k0()}function $y(e,t,n=Lu?fr+1:0){for(;n<Ln.length;n++){const r=Ln[n];if(r&&r.pre){if(e&&r.id!==e.uid)continue;Ln.splice(n,1),n--,r()}}}function Ed(e){if(yl.length){const t=[...new Set(yl)].sort((n,r)=>Nu(n)-Nu(r));if(yl.length=0,bs){bs.push(...t);return}for(bs=t,ia=0;ia<bs.length;ia++)bs[ia]();bs=null,ia=0}}const Nu=e=>e.id==null?1/0:e.id,MA=(e,t)=>{const n=Nu(e)-Nu(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function A0(e){gp=!1,Lu=!0,Ln.sort(MA);const t=Hn;try{for(fr=0;fr<Ln.length;fr++){const n=Ln[fr];n&&n.active!==!1&&Rr(n,null,14)}}finally{fr=0,Ln.length=0,Ed(),Lu=!1,bm=null,(Ln.length||yl.length)&&A0()}}let ll,ed=[];function T0(e,t){var n,r;ll=e,ll?(ll.enabled=!0,ed.forEach(({event:a,args:c})=>ll.emit(a,...c)),ed=[]):typeof window!="undefined"&&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(c=>{T0(c,t)}),setTimeout(()=>{ll||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,ed=[])},3e3)):ed=[]}function PA(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||wi;let a=n;const c=t.startsWith("update:"),p=c&&t.slice(7);if(p&&p in r){const A=`${p==="modelValue"?"model":p}Modifiers`,{number:P,trim:O}=r[A]||wi;O&&(a=n.map(B=>Bi(B)?B.trim():B)),P&&(a=n.map(Cd))}let w,_=r[w=Su(t)]||r[w=Su(zn(t))];!_&&c&&(_=r[w=Su(ao(t))]),_&&uo(_,e,6,a);const T=r[w+"Once"];if(T){if(!e.emitted)e.emitted={};else if(e.emitted[w])return;e.emitted[w]=!0,uo(T,e,6,a)}}function E0(e,t,n=!1){const r=t.emitsCache,a=r.get(e);if(a!==void 0)return a;const c=e.emits;let p={},w=!1;if(!Vt(e)){const _=T=>{const A=E0(T,t,!0);A&&(w=!0,Ni(p,A))};!n&&t.mixins.length&&t.mixins.forEach(_),e.extends&&_(e.extends),e.mixins&&e.mixins.forEach(_)}
vendor: 8,642 bytes, line 13
13return!c&&!w?(_i(e)&&r.set(e,null),null):(Ct(c)?c.forEach(_=>p[_]=null):Ni(p,c),_i(e)&&r.set(e,p),p)}function nh(e,t){return!e||!Wu(t)?!1:(t=t.slice(2).replace(/Once$/,""),hi(e,t[0].toLowerCase()+t.slice(1))||hi(e,ao(t))||hi(e,t))}let on=null,oh=null;function Ru(e){const t=on;return on=e,oh=e&&e.type.__scopeId||null,t}function Yu(e){oh=e}function Xu(){oh=null}const OA=e=>_t;function _t(e,t=on,n){if(!t||e._n)return e;const r=(...a)=>{r._d&&Cp(-1);const c=Ru(t);let p;try{p=e(...a)}finally{Ru(c),r._d&&Cp(1)}return p};return r._n=!0,r._c=!0,r._d=!0,r}function fd(e){const{type:t,vnode:n,proxy:r,withProxy:a,propsOptions:[c],slots:p,attrs:w,emit:_,render:T,renderCache:A,props:P,data:O,setupState:B,ctx:z,inheritAttrs:U}=e,J=Ru(e);let ee,Y;try{if(n.shapeFlag&4){const $=a||r,G=$;ee=so(T.call(G,$,A,P,B,O,z)),Y=w}else{const $=t;ee=so($.length>1?$(P,{attrs:w,slots:p,emit:_}):$(P,null)),Y=t.props?w:LA(w)}}catch($){ku.length=0,wa($,e,1),ee=fe(Nn)}let q=ee;if(Y&&U!==!1){const $=Object.keys(Y),{shapeFlag:G}=q;$.length&&G&7&&(c&&$.some(rm)&&(Y=NA(Y,c)),q=gr(q,Y))}return n.dirs&&(q=gr(q),q.dirs=q.dirs?q.dirs.concat(n.dirs):n.dirs),n.transition&&(q.transition=n.transition),ee=q,Ru(J),ee}function IA(e,t=!0){let n;for(let r=0;r<e.length;r++){const a=e[r];if(Os(a)){if(a.type!==Nn||a.children==="v-if"){if(n)return;n=a}}else return}return n}const LA=e=>{let t;for(const n in e)(n==="class"||n==="style"||Wu(n))&&((t||(t={}))[n]=e[n]);return t},NA=(e,t)=>{const n={};for(const r in e)(!rm(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function RA(e,t,n){const{props:r,children:a,component:c}=e,{props:p,children:w,patchFlag:_}=t,T=c.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&_>=0){if(_&1024)return!0;if(_&16)return r?Uy(r,p,T):!!p;if(_&8){const A=t.dynamicProps;for(let P=0;P<A.length;P++){const O=A[P];if(p[O]!==r[O]&&!nh(T,O))return!0}}}else return(a||w)&&(!w||!w.$stable)?!0:r===p?!1:r?p?Uy(r,p,T):!0:!!p;return!1}function Uy(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let a=0;a<r.length;a++){const c=r[a];if(t[c]!==e[c]&&!nh(n,c))return!0}return!1}function xm({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const wm="components",FA="directives";function ze(e,t){return Sm(wm,e,!0,t)||e}const M0=Symbol.for("v-ndc");function DA(e){return Bi(e)?Sm(wm,e,!1)||e:e||M0}function BA(e){return Sm(FA,e)}function Sm(e,t,n=!0,r=!1){const a=on||pn;if(a){const c=a.type;if(e===wm){const w=Mp(c,!1);if(w&&(w===t||w===zn(t)||w===Gu(zn(t))))return c}const p=Wy(a[e]||c[e],t)||Wy(a.appContext[e],t);return!p&&r?c:p}}function Wy(e,t){return e&&(e[t]||e[zn(t)]||e[Gu(zn(t))])}const P0=e=>e.__isSuspense;let yp=0;const VA={name:"Suspense",__isSuspense:!0,process(e,t,n,r,a,c,p,w,_,T){if(e==null)HA(t,n,r,a,c,p,w,_,T);else{if(c&&c.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}zA(e,t,n,r,a,p,w,_,T)}},hydrate:jA,create:_m,normalize:$A},qA=VA;function Fu(e,t){const n=e.props&&e.props[t];Vt(n)&&n()}function HA(e,t,n,r,a,c,p,w,_){const{p:T,o:{createElement:A}}=_,P=A("div"),O=e.suspense=_m(e,a,r,t,P,n,c,p,w,_);T(null,O.pendingBranch=e.ssContent,P,null,r,O,c,p),O.deps>0?(Fu(e,"onPending"),Fu(e,"onFallback"),T(null,e.ssFallback,t,n,r,null,c,p),vl(O,e.ssFallback)):O.resolve(!1,!0)}function zA(e,t,n,r,a,c,p,w,{p:_,um:T,o:{createElement:A}}){const P=t.suspense=e.suspense;P.vnode=t,t.el=e.el;const O=t.ssContent,B=t.ssFallback,{activeBranch:z,pendingBranch:U,isInFallback:J,isHydrating:ee}=P;if(U)P.pendingBranch=O,jo(O,U)?(_(U,O,P.hiddenContainer,null,a,P,c,p,w),P.deps<=0?P.resolve():J&&(ee||(_(z,B,n,r,a,null,c,p,w),vl(P,B)))):(P.pendingId=yp++,ee?(P.isHydrating=!1,P.activeBranch=U):T(U,a,P),P.deps=0,P.effects.length=0,P.hiddenContainer=A("div"),J?(_(null,O,P.hiddenContainer,null,a,P,c,p,w),P.deps<=0?P.resolve():(_(z,B,n,r,a,null,c,p,w),vl(P,B))):z&&jo(O,z)?(_(z,O,n,r,a,P,c,p,w),P.resolve(!0)):(_(null,O,P.hiddenContainer,null,a,P,c,p,w),P.deps<=0&&P.resolve()));else if(z&&jo(O,z))_(z,O,n,r,a,P,c,p,w),vl(P,O);else if(Fu(t,"onPending"),P.pendingBranch=O,O.shapeFlag&512?P.pendingId=O.component.suspenseId:P.pendingId=yp++,_(null,O,P.hiddenContainer,null,a,P,c,p,w),P.deps<=0)P.resolve();else{const{timeout:Y,pendingId:q}=P;Y>0?setTimeout(()=>{P.pendingId===q&&P.fallback(B)},Y):Y===0&&P.fallback(B)}}function _m(e,t,n,r,a,c,p,w,_,T,A=!1){const{p:P,m:O,um:B,n:z,o:{parentNode:U,remove:J}}=T;let ee;const Y=UA(e);Y&&t!=null&&t.pendingBranch&&(ee=t.pendingId,t.deps++);const q=e.props?kd(e.props.timeout):void 0,$=c,G={vnode:e,parent:t,parentComponent:n,namespace:p,container:r,hiddenContainer:a,deps:0,pendingId:yp++,timeout:typeof q=="number"?q:-1,activeBranch:null,pendingBranch:null,isInFallback:!A,isHydrating:A,isUnmounted:!1,effects:[],resolve(X=!1,v=!1){const{vnode:me,activeBranch:re,pendingBranch:de,pendingId:Oe,effects:oe,parentComponent:Ee,container:Pe}=G;let Je=!1;G.isHydrating?G.isHydrating=!1:X||(Je=re&&de.transition&&de.transition.mode==="out-in",Je&&(re.transition.afterLeave=()=>{Oe===G.pendingId&&(O(de,Pe,c===$?z(re):c,0),Td(oe))}),re&&(U(re.el)!==G.hiddenContainer&&(c=z(re)),B(re,Ee,G,!0)),Je||O(de,Pe,c,0)),vl(G,de),G.pendingBranch=null,G.isInFallback=!1;let Fe=G.parent,Ae=!1;for(;Fe;){if(Fe.pendingBranch){Fe.effects.push(...oe),Ae=!0;break}Fe=Fe.parent}!Ae&&!Je&&Td(oe),G.effects=[],Y&&t&&t.pendingBranch&&ee===t.pendingId&&(t.deps--,t.deps===0&&!v&&t.resolve()),Fu(me,"onResolve")},fallback(X){if(!G.pendingBranch)return;const{vnode:v,activeBranch:me,parentComponent:re,container:de,namespace:Oe}=G;Fu(v,"onFallback");const oe=z(me),Ee=()=>{!G.isInFallback||(P(null,X,de,oe,re,null,Oe,w,_),vl(G,X))},Pe=X.transition&&X.transition.mode==="out-in";Pe&&(me.transition.afterLeave=Ee),G.isInFallback=!0,B(me,re,null,!0),Pe||Ee()},move(X,v,me){G.activeBranch&&O(G.activeBranch,X,v,me),G.container=X},next(){return G.activeBranch&&z(G.activeBranch)},registerDep(X,v){const me=!!G.pendingBranch;me&&G.deps++;const re=X.vnode.el;X.asyncDep.catch(de=>{wa(de,X,0)}).then(de=>{if(X.isUnmounted||G.isUnmounted||G.pendingId!==X.suspenseId)return;X.asyncResolved=!0;const{vnode:Oe}=X;Tp(X,de,!1),re&&(Oe.el=re);const oe=!re&&X.subTree.el;v(X,Oe,U(re||X.subTree.el),re?null:z(X.subTree),G,p,_),oe&&J(oe),xm(X,Oe.el),me&&--G.deps===0&&G.resolve()})},unmount(X,v){G.isUnmounted=!0,G.activeBranch&&B(G.activeBranch,n,X,v),G.pendingBranch&&B(G.pendingBranch,n,X,v)}};return G}function jA(e,t,n,r,a,c,p,w,_){const T=t.suspense=_m(t,r,n,e.parentNode,document.createElement("div"),null,a,c,p,w,!0),A=_(e,T.pendingBranch=t.ssContent,n,T,c,p);return T.deps===0&&T.resolve(!1,!0),A}function $A(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=Gy(r?n.default:n),e.ssFallback=r?Gy(n.fallback):fe(Nn)}function Gy(e){let t;if(Vt(e)){const n=ga&&e._c;n&&(e._d=!1,xe()),e=e(),n&&(e._d=!0,t=Kn,dx())}return Ct(e)&&(e=IA(e)),e=so(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function O0(e,t){t&&t.pendingBranch?Ct(e)?t.effects.push(...e):t.effects.push(e):Td(e)}function vl(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let a=t.el;for(;!a&&t.component;)t=t.component.subTree,a=t.el;n.el=a,r&&r.subTree===n&&(r.vnode.el=a,xm(r,a))}function UA(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}const I0=Symbol.for("v-scx"),L0=()=>Pi(I0);function N0(e,t){return Ku(e,null,t)}function R0(e,t){return Ku(e,null,{flush:"post"})}function F0(e,t){return Ku(e,null,{flush:"sync"})}const td={};function Ft(e,t,n){return Ku(e,t,n)}function Ku(e,t,{immediate:n,deep:r,flush:a,once:c,onTrack:p,onTrigger:w}=wi){if(t&&c){const X=t;t=(...v)=>{X(...v),G()}}const _=pn,T=X=>r===!0?X:na(X,r===!1?1:void 0);let A,P=!1,O=!1;if(An(e)?(A=()=>e.value,P=Ou(e)):ml(e)?(A=()=>T(e),P=!0):Ct(e)?(O=!0,P=e.some(X=>ml(X)||Ou(X)),A=()=>e.map(X=>{if(An(X))return X.value;if(ml(X))return T(X);if(Vt(X))return Rr(X,_,2)})):Vt(e)?t?A=()=>Rr(e,_,2):A=()=>(B&&B(),uo(e,_,3,[z])):A=Hn,t&&r){const X=A;A=()=>na(X())}let B,z=X=>{B=q.onStop=()=>{Rr(X,_,4),B=q.onStop=void 0}},U;if(ec)if(z=Hn,t?n&&uo(t,_,3,[A(),O?[]:void 0,z]):A(),a==="sync"){const X=L0();U=X.__watcherHandles||(X.__watcherHandles=[])}else return Hn;let J=O?new Array(e.length).fill(td):td;const ee=()=>{if(!(!q.active||!q.dirty))if(t){const X=q.run();(r||P||(O?X.some((v,me)=>Go(v,J[me])):Go(X,J)))&&(B&&B(),uo(t,_,3,[X,J===td?void 0:O&&J[0]===td?[]:J,z]),J=X)}else q.run()};ee.allowRecurse=!!t;let Y;a==="sync"?Y=ee:a==="post"?Y=()=>Cn(ee,_&&_.suspense):(ee.pre=!0,_&&(ee.id=_.uid),Y=()=>ih(ee));const q=new Sl(A,Hn,Y),$=r0(),G=()=>{q.stop(),$&&sm($.effects,q)}
vendor: 8,602 bytes, line 13
13;return t?n?ee():J=q.run():a==="post"?Cn(q.run.bind(q),_&&_.suspense):q.run(),U&&U.push(G),G}function WA(e,t,n){const r=this.proxy,a=Bi(e)?e.includes(".")?D0(r,e):()=>r[e]:e.bind(r,r);let c;Vt(t)?c=t:(c=t.handler,n=t);const p=ya(this),w=Ku(a,c.bind(r),n);return p(),w}function D0(e,t){const n=t.split(".");return()=>{let r=e;for(let a=0;a<n.length&&r;a++)r=r[n[a]];return r}}function na(e,t,n=0,r){if(!_i(e)||e.__v_skip)return e;if(t&&t>0){if(n>=t)return e;n++}if(r=r||new Set,r.has(e))return e;if(r.add(e),An(e))na(e.value,t,n,r);else if(Ct(e))for(let a=0;a<e.length;a++)na(e[a],t,n,r);else if(xa(e)||hl(e))e.forEach(a=>{na(a,t,n,r)});else if(Zb(e))for(const a in e)na(e[a],t,n,r);return e}function Uo(e,t){if(on===null)return e;const n=uh(on)||on.proxy,r=e.dirs||(e.dirs=[]);for(let a=0;a<t.length;a++){let[c,p,w,_=wi]=t[a];c&&(Vt(c)&&(c={mounted:c,updated:c}),c.deep&&na(p),r.push({dir:c,instance:n,value:p,oldValue:void 0,arg:w,modifiers:_}))}return e}function dr(e,t,n,r){const a=e.dirs,c=t&&t.dirs;for(let p=0;p<a.length;p++){const w=a[p];c&&(w.oldValue=c[p].value);let _=w.dir[r];_&&(Ns(),uo(_,n,8,[e.el,w,e,t]),Rs())}}const xs=Symbol("_leaveCb"),id=Symbol("_enterCb");function Cm(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Rn(()=>{e.isMounted=!0}),Ci(()=>{e.isUnmounting=!0}),e}const _o=[Function,Array],km={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:_o,onEnter:_o,onAfterEnter:_o,onEnterCancelled:_o,onBeforeLeave:_o,onLeave:_o,onAfterLeave:_o,onLeaveCancelled:_o,onBeforeAppear:_o,onAppear:_o,onAfterAppear:_o,onAppearCancelled:_o},GA={name:"BaseTransition",props:km,setup(e,{slots:t}){const n=ri(),r=Cm();return()=>{const a=t.default&&rh(t.default(),!0);if(!a||!a.length)return;let c=a[0];if(a.length>1){for(const O of a)if(O.type!==Nn){c=O;break}}const p=Qt(e),{mode:w}=p;if(r.isLeaving)return Rf(c);const _=Yy(c);if(!_)return Rf(c);const T=Cl(_,p,r,n);pa(_,T);const A=n.subTree,P=A&&Yy(A);if(P&&P.type!==Nn&&!jo(_,P)){const O=Cl(P,p,r,n);if(pa(P,O),w==="out-in")return r.isLeaving=!0,O.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},Rf(c);w==="in-out"&&_.type!==Nn&&(O.delayLeave=(B,z,U)=>{const J=V0(r,P);J[String(P.key)]=P,B[xs]=()=>{z(),B[xs]=void 0,delete T.delayedLeave},T.delayedLeave=U})}return c}}},B0=GA;function V0(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 Cl(e,t,n,r){const{appear:a,mode:c,persisted:p=!1,onBeforeEnter:w,onEnter:_,onAfterEnter:T,onEnterCancelled:A,onBeforeLeave:P,onLeave:O,onAfterLeave:B,onLeaveCancelled:z,onBeforeAppear:U,onAppear:J,onAfterAppear:ee,onAppearCancelled:Y}=t,q=String(e.key),$=V0(n,e),G=(me,re)=>{me&&uo(me,r,9,re)},X=(me,re)=>{const de=re[1];G(me,re),Ct(me)?me.every(Oe=>Oe.length<=1)&&de():me.length<=1&&de()},v={mode:c,persisted:p,beforeEnter(me){let re=w;if(!n.isMounted)if(a)re=U||w;else return;me[xs]&&me[xs](!0);const de=$[q];de&&jo(e,de)&&de.el[xs]&&de.el[xs](),G(re,[me])},enter(me){let re=_,de=T,Oe=A;if(!n.isMounted)if(a)re=J||_,de=ee||T,Oe=Y||A;else return;let oe=!1;const Ee=me[id]=Pe=>{oe||(oe=!0,Pe?G(Oe,[me]):G(de,[me]),v.delayedLeave&&v.delayedLeave(),me[id]=void 0)};re?X(re,[me,Ee]):Ee()},leave(me,re){const de=String(e.key);if(me[id]&&me[id](!0),n.isUnmounting)return re();G(P,[me]);let Oe=!1;const oe=me[xs]=Ee=>{Oe||(Oe=!0,re(),Ee?G(z,[me]):G(B,[me]),me[xs]=void 0,$[de]===e&&delete $[de])};$[de]=e,O?X(O,[me,oe]):oe()},clone(me){return Cl(me,t,n,r)}};return v}function Rf(e){if(Qu(e))return e=gr(e),e.children=null,e}function Yy(e){if(!Qu(e))return e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&Vt(n.default))return n.default()}}function pa(e,t){e.shapeFlag&6&&e.component?pa(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 rh(e,t=!1,n){let r=[],a=0;for(let c=0;c<e.length;c++){let p=e[c];const w=n==null?p.key:String(n)+String(p.key!=null?p.key:c);p.type===$t?(p.patchFlag&128&&a++,r=r.concat(rh(p.children,t,w))):(t||p.type!==Nn)&&r.push(w!=null?gr(p,{key:w}):p)}if(a>1)for(let c=0;c<r.length;c++)r[c].patchFlag=-2;return r}/*! #__NO_SIDE_EFFECTS__ */function Sa(e,t){return Vt(e)?(()=>Ni({name:e.name},t,{setup:e}))():e}const ua=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function YA(e){Vt(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:a=200,timeout:c,suspensible:p=!0,onError:w}=e;let _=null,T,A=0;const P=()=>(A++,_=null,O()),O=()=>{let B;return _||(B=_=t().catch(z=>{if(z=z instanceof Error?z:new Error(String(z)),w)return new Promise((U,J)=>{w(z,()=>U(P()),()=>J(z),A+1)});throw z}).then(z=>B!==_&&_?_:(z&&(z.__esModule||z[Symbol.toStringTag]==="Module")&&(z=z.default),T=z,z)))};return Sa({name:"AsyncComponentWrapper",__asyncLoader:O,get __asyncResolved(){return T},setup(){const B=pn;if(T)return()=>Ff(T,B);const z=Y=>{_=null,wa(Y,B,13,!r)};if(p&&B.suspense||ec)return O().then(Y=>()=>Ff(Y,B)).catch(Y=>(z(Y),()=>r?fe(r,{error:Y}):null));const U=Ke(!1),J=Ke(),ee=Ke(!!a);return a&&setTimeout(()=>{ee.value=!1},a),c!=null&&setTimeout(()=>{if(!U.value&&!J.value){const Y=new Error(`Async component timed out after ${c}ms.`);z(Y),J.value=Y}},c),O().then(()=>{U.value=!0,B.parent&&Qu(B.parent.vnode)&&(B.parent.effect.dirty=!0,ih(B.parent.update))}).catch(Y=>{z(Y),J.value=Y}),()=>{if(U.value&&T)return Ff(T,B);if(J.value&&r)return fe(r,{error:J.value});if(n&&!ee.value)return fe(n)}}})}function Ff(e,t){const{ref:n,props:r,children:a,ce:c}=t.vnode,p=fe(e,r,a);return p.ref=n,p.ce=c,delete t.vnode.ce,p}const Qu=e=>e.type.__isKeepAlive,XA={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=ri(),r=n.ctx;if(!r.renderer)return()=>{const Y=t.default&&t.default();return Y&&Y.length===1?Y[0]:Y};const a=new Map,c=new Set;let p=null;const w=n.suspense,{renderer:{p:_,m:T,um:A,o:{createElement:P}}}=r,O=P("div");r.activate=(Y,q,$,G,X)=>{const v=Y.component;T(Y,q,$,0,w),_(v.vnode,Y,q,$,v,w,G,Y.slotScopeIds,X),Cn(()=>{v.isDeactivated=!1,v.a&&pl(v.a);const me=Y.props&&Y.props.onVnodeMounted;me&&Xn(me,v.parent,Y)},w)},r.deactivate=Y=>{const q=Y.component;T(Y,O,null,1,w),Cn(()=>{q.da&&pl(q.da);const $=Y.props&&Y.props.onVnodeUnmounted;$&&Xn($,q.parent,Y),q.isDeactivated=!0},w)};function B(Y){Df(Y),A(Y,n,w,!0)}function z(Y){a.forEach((q,$)=>{const G=Mp(q.type);G&&(!Y||!Y(G))&&U($)})}function U(Y){const q=a.get(Y);!p||!jo(q,p)?B(q):p&&Df(p),a.delete(Y),c.delete(Y)}Ft(()=>[e.include,e.exclude],([Y,q])=>{Y&&z($=>vu(Y,$)),q&&z($=>!vu(q,$))},{flush:"post",deep:!0});let J=null;const ee=()=>{J!=null&&a.set(J,Bf(n.subTree))};return Rn(ee),Zu(ee),Ci(()=>{a.forEach(Y=>{const{subTree:q,suspense:$}=n,G=Bf(q);if(Y.type===G.type&&Y.key===G.key){Df(G);const X=G.component.da;X&&Cn(X,$);return}B(Y)})}),()=>{if(J=null,!t.default)return p=null;const Y=t.default(),q=Y[0];if(Y.length>1)return p=null,Y;if(!Os(q)||!(q.shapeFlag&4)&&!(q.shapeFlag&128))return p=null,q;let $=Bf(q);const G=$.type,X=Mp(ua($)?$.type.__asyncResolved||{}:G),{include:v,exclude:me,max:re}=e;if(v&&(!X||!vu(v,X))||me&&X&&vu(me,X))return p=$,q;const de=$.key==null?G:$.key,Oe=a.get(de);return $.el&&($=gr($),q.shapeFlag&128&&(q.ssContent=$)),J=de,Oe?($.el=Oe.el,$.component=Oe.component,$.transition&&pa($,$.transition),$.shapeFlag|=512,c.delete(de),c.add(de)):(c.add(de),re&&c.size>parseInt(re,10)&&U(c.values().next().value)),$.shapeFlag|=256,p=$,P0(q.type)?q:$}}},KA=XA;function vu(e,t){return Ct(e)?e.some(n=>vu(n,t)):Bi(e)?e.split(",").includes(t):Tk(e)?e.test(t):!1}function sh(e,t){q0(e,"a",t)}function Fl(e,t){q0(e,"da",t)}function q0(e,t,n=pn){const r=e.__wdc||(e.__wdc=()=>{let a=n;for(;a;){if(a.isDeactivated)return;a=a.parent}return e()});if(ah(t,r,n),n){let a=n.parent;for(;a&&a.parent;)Qu(a.parent.vnode)&&QA(r,t,n,a),a=a.parent}}function QA(e,t,n,r){const a=ah(t,e,r,!0);_a(()=>{sm(r[t],a)},n)}function Df(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Bf(e){return e.shapeFlag&128?e.ssContent:e}function ah(e,t,n=pn,r=!1){if(n){const a=n[e]||(n[e]=[]),c=t.__weh||(t.__weh=(...p)=>{if(n.isUnmounted)return;Ns();const w=ya(n),_=uo(t,n,e,p);return w(),Rs(),_});return r?a.unshift(c):a.push(c),c}}const zr=e=>(t,n=pn)=>(!ec||e==="sp")&&ah(e,(...r)=>t(...r),n),Am=zr("bm"),Rn=zr("m"),lh=zr("bu"),Zu=zr("u"),Ci=zr("bum"),_a=zr("um"),H0=zr("sp"),z0=zr("rtg"),j0=zr("rtc");function $0(e,t=pn){ah("ec",e,t)}function Vr(e,t,n,r){let a;const c=n&&n[r];if(Ct(e)||Bi(e)){a=new Array(e.length);for(let p=0,w=e.length;p<w;
vendor: 4,887 bytes, line 13
13p++)a[p]=t(e[p],p,void 0,c&&c[p])}else if(typeof e=="number"){a=new Array(e);for(let p=0;p<e;p++)a[p]=t(p+1,p,void 0,c&&c[p])}else if(_i(e))if(e[Symbol.iterator])a=Array.from(e,(p,w)=>t(p,w,void 0,c&&c[w]));else{const p=Object.keys(e);a=new Array(p.length);for(let w=0,_=p.length;w<_;w++){const T=p[w];a[w]=t(e[T],T,w,c&&c[w])}}else a=[];return n&&(n[r]=a),a}function ZA(e,t){for(let n=0;n<t.length;n++){const r=t[n];if(Ct(r))for(let a=0;a<r.length;a++)e[r[a].name]=r[a].fn;else r&&(e[r.name]=r.key?(...a)=>{const c=r.fn(...a);return c&&(c.key=r.key),c}:r.fn)}return e}function co(e,t,n={},r,a){if(on.isCE||on.parent&&ua(on.parent)&&on.parent.isCE)return t!=="default"&&(n.name=t),fe("slot",n,r&&r());let c=e[t];c&&c._c&&(c._d=!1),xe();const p=c&&U0(c(n)),w=Rt($t,{key:n.key||p&&p.key||`_${t}`},p||(r?r():[]),p&&e._===1?64:-2);return!a&&w.scopeId&&(w.slotScopeIds=[w.scopeId+"-s"]),c&&c._c&&(c._d=!0),w}function U0(e){return e.some(t=>Os(t)?!(t.type===Nn||t.type===$t&&!U0(t.children)):!0)?e:null}function JA(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:Su(r)]=e[r];return n}const vp=e=>e?gx(e)?uh(e)||e.proxy:vp(e.parent):null,_u=Ni(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=>vp(e.parent),$root:e=>vp(e.root),$emit:e=>e.emit,$options:e=>Tm(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,ih(e.update)}),$nextTick:e=>e.n||(e.n=Ai.bind(e.proxy)),$watch:e=>WA.bind(e)}),Vf=(e,t)=>e!==wi&&!e.__isScriptSetup&&hi(e,t),bp={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:a,props:c,accessCache:p,type:w,appContext:_}=e;let T;if(t[0]!=="$"){const B=p[t];if(B!==void 0)switch(B){case 1:return r[t];case 2:return a[t];case 4:return n[t];case 3:return c[t]}else{if(Vf(r,t))return p[t]=1,r[t];if(a!==wi&&hi(a,t))return p[t]=2,a[t];if((T=e.propsOptions[0])&&hi(T,t))return p[t]=3,c[t];if(n!==wi&&hi(n,t))return p[t]=4,n[t];xp&&(p[t]=0)}}const A=_u[t];let P,O;if(A)return t==="$attrs"&&Qn(e.attrs,"get",""),A(e);if((P=w.__cssModules)&&(P=P[t]))return P;if(n!==wi&&hi(n,t))return p[t]=4,n[t];if(O=_.config.globalProperties,hi(O,t))return O[t]},set({_:e},t,n){const{data:r,setupState:a,ctx:c}=e;return Vf(a,t)?(a[t]=n,!0):r!==wi&&hi(r,t)?(r[t]=n,!0):hi(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(c[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:a,propsOptions:c}},p){let w;return!!n[p]||e!==wi&&hi(e,p)||Vf(t,p)||(w=c[0])&&hi(w,p)||hi(r,p)||hi(_u,p)||hi(a.config.globalProperties,p)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:hi(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},eT=Ni({},bp,{get(e,t){if(t!==Symbol.unscopables)return bp.get(e,t,e)},has(e,t){return t[0]!=="_"&&!Ik(t)}});function tT(){return null}function iT(){return null}function nT(e){}function oT(e){}function rT(){return null}function sT(){}function aT(e,t){return null}function lT(){return W0().slots}function Ju(){return W0().attrs}function W0(){const e=ri();return e.setupContext||(e.setupContext=bx(e))}function Du(e){return Ct(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function uT(e,t){const n=Du(e);for(const r in t){if(r.startsWith("__skip"))continue;let a=n[r];a?Ct(a)||Vt(a)?a=n[r]={type:a,default:t[r]}:a.default=t[r]:a===null&&(a=n[r]={default:t[r]}),a&&t[`__skip_${r}`]&&(a.skipFactory=!0)}return n}function G0(e,t){return!e||!t?e||t:Ct(e)&&Ct(t)?e.concat(t):Ni({},Du(e),Du(t))}function cT(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function dT(e){const t=ri();let n=e();return Ap(),am(n)&&(n=n.catch(r=>{throw ya(t),r})),[n,()=>ya(t)]}let xp=!0;function hT(e){const t=Tm(e),n=e.proxy,r=e.ctx;xp=!1,t.beforeCreate&&Xy(t.beforeCreate,e,"bc");const{data:a,computed:c,methods:p,watch:w,provide:_,inject:T,created:A,beforeMount:P,mounted:O,beforeUpdate:B,updated:z,activated:U,deactivated:J,beforeDestroy:ee,beforeUnmount:Y,destroyed:q,unmounted:$,render:G,renderTracked:X,renderTriggered:v,errorCaptured:me,serverPrefetch:re,expose:de,inheritAttrs:Oe,components:oe,directives:Ee,filters:Pe}=t;if(T&&fT(T,r,null),p)for(const Ae in p){const Ve=p[Ae];Vt(Ve)&&(r[Ae]=Ve.bind(n))}if(a){const Ae=a.call(n,n);_i(Ae)&&(e.data=kn(Ae))}if(xp=!0,c)for(const Ae in c){const Ve=c[Ae],Mt=Vt(Ve)?Ve.bind(n,n):Vt(Ve.get)?Ve.get.bind(n,n):Hn,Et=!Vt(Ve)&&Vt(Ve.set)?Ve.set.bind(n):Hn,Te=ce({get:Mt,set:Et});Object.defineProperty(r,Ae,{enumerable:!0,configurable:!0,get:()=>Te.value,set:ve=>Te.value=ve})}if(w)for(const Ae in w)Y0(w[Ae],r,n,Ae);if(_){const Ae=Vt(_)?_.call(n):_;Reflect.ownKeys(Ae).forEach(Ve=>{Fr(Ve,Ae[Ve])})}A&&Xy(A,e,"c");function Fe(Ae,Ve){Ct(Ve)?Ve.forEach(Mt=>Ae(Mt.bind(n))):Ve&&Ae(Ve.bind(n))}if(Fe(Am,P),Fe(Rn,O),Fe(lh,B),Fe(Zu,z),Fe(sh,U),Fe(Fl,J),Fe($0,me),Fe(j0,X),Fe(z0,v),Fe(Ci,Y),Fe(_a,$),Fe(H0,re),Ct(de))if(de.length){const Ae=e.exp
vendor: 4,381 bytes, line 13
13osed||(e.exposed={});de.forEach(Ve=>{Object.defineProperty(Ae,Ve,{get:()=>n[Ve],set:Mt=>n[Ve]=Mt})})}else e.exposed||(e.exposed={});G&&e.render===Hn&&(e.render=G),Oe!=null&&(e.inheritAttrs=Oe),oe&&(e.components=oe),Ee&&(e.directives=Ee)}function fT(e,t,n=Hn){Ct(e)&&(e=wp(e));for(const r in e){const a=e[r];let c;_i(a)?"default"in a?c=Pi(a.from||r,a.default,!0):c=Pi(a.from||r):c=Pi(a),An(c)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>c.value,set:p=>c.value=p}):t[r]=c}}function Xy(e,t,n){uo(Ct(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Y0(e,t,n,r){const a=r.includes(".")?D0(n,r):()=>n[r];if(Bi(e)){const c=t[e];Vt(c)&&Ft(a,c)}else if(Vt(e))Ft(a,e.bind(n));else if(_i(e))if(Ct(e))e.forEach(c=>Y0(c,t,n,r));else{const c=Vt(e.handler)?e.handler.bind(n):t[e.handler];Vt(c)&&Ft(a,c,e)}}function Tm(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:a,optionsCache:c,config:{optionMergeStrategies:p}}=e.appContext,w=c.get(t);let _;return w?_=w:!a.length&&!n&&!r?_=t:(_={},a.length&&a.forEach(T=>Md(_,T,p,!0)),Md(_,t,p)),_i(t)&&c.set(t,_),_}function Md(e,t,n,r=!1){const{mixins:a,extends:c}=t;c&&Md(e,c,n,!0),a&&a.forEach(p=>Md(e,p,n,!0));for(const p in t)if(!(r&&p==="expose")){const w=pT[p]||n&&n[p];e[p]=w?w(e[p],t[p]):t[p]}return e}const pT={data:Ky,props:Qy,emits:Qy,methods:bu,computed:bu,beforeCreate:Vn,created:Vn,beforeMount:Vn,mounted:Vn,beforeUpdate:Vn,updated:Vn,beforeDestroy:Vn,beforeUnmount:Vn,destroyed:Vn,unmounted:Vn,activated:Vn,deactivated:Vn,errorCaptured:Vn,serverPrefetch:Vn,components:bu,directives:bu,watch:gT,provide:Ky,inject:mT};function Ky(e,t){return t?e?function(){return Ni(Vt(e)?e.call(this,this):e,Vt(t)?t.call(this,this):t)}:t:e}function mT(e,t){return bu(wp(e),wp(t))}function wp(e){if(Ct(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Vn(e,t){return e?[...new Set([].concat(e,t))]:t}function bu(e,t){return e?Ni(Object.create(null),e,t):t}function Qy(e,t){return e?Ct(e)&&Ct(t)?[...new Set([...e,...t])]:Ni(Object.create(null),Du(e),Du(t!=null?t:{})):t}function gT(e,t){if(!e)return t;if(!t)return e;const n=Ni(Object.create(null),e);for(const r in t)n[r]=Vn(e[r],t[r]);return n}function X0(){return{app:null,config:{isNativeTag:kk,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 yT=0;function vT(e,t){return function(r,a=null){Vt(r)||(r=Ni({},r)),a!=null&&!_i(a)&&(a=null);const c=X0(),p=new WeakSet;let w=!1;const _=c.app={_uid:yT++,_component:r,_props:a,_container:null,_context:c,_instance:null,version:Sx,get config(){return c.config},set config(T){},use(T,...A){return p.has(T)||(T&&Vt(T.install)?(p.add(T),T.install(_,...A)):Vt(T)&&(p.add(T),T(_,...A))),_},mixin(T){return c.mixins.includes(T)||c.mixins.push(T),_},component(T,A){return A?(c.components[T]=A,_):c.components[T]},directive(T,A){return A?(c.directives[T]=A,_):c.directives[T]},mount(T,A,P){if(!w){const O=fe(r,a);return O.appContext=c,P===!0?P="svg":P===!1&&(P=void 0),A&&t?t(O,T):e(O,T,P),w=!0,_._container=T,T.__vue_app__=_,uh(O.component)||O.component.proxy}},unmount(){w&&(e(null,_._container),delete _._container.__vue_app__)},provide(T,A){return c.provides[T]=A,_},runWithContext(T){const A=bl;bl=_;try{return T()}finally{bl=A}}};return _}}let bl=null;function Fr(e,t){if(pn){let n=pn.provides;const r=pn.parent&&pn.parent.provides;r===n&&(n=pn.provides=Object.create(r)),n[e]=t}}function Pi(e,t,n=!1){const r=pn||on;if(r||bl){const a=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:bl._context.provides;if(a&&e in a)return a[e];if(arguments.length>1)return n&&Vt(t)?t.call(r&&r.proxy):t}}function bT(){return!!(pn||on||bl)}const K0={},Q0=()=>Object.create(K0),Z0=e=>Object.getPrototypeOf(e)===K0;function xT(e,t,n,r=!1){const a={},c=Q0();e.propsDefaults=Object.create(null),J0(e,t,a,c);for(const p in e.propsOptions[0])p in a||(a[p]=void 0);n?e.props=r?a:fm(a):e.type.props?e.props=a:e.props=c,e.attrs=c}function wT(e,t,n,r){const{props:a,attrs:c,vnode:{patchFlag:p}}=e,w=Qt(a),[_]=e.propsOptions;let T=!1;if((r||p>0)&&!(p&16)){if(p&8){const A=e.vnode.dynamicProps;for(let P=0;P<A.length;P++){let O=A[P];if(nh(e.emitsOptions,O))continue;const B=t[O];
vendor: 28,342 bytes, lines 13-16
13if(_)if(hi(c,O))B!==c[O]&&(c[O]=B,T=!0);else{const z=zn(O);a[z]=Sp(_,w,z,B,e,!1)}else B!==c[O]&&(c[O]=B,T=!0)}}}else{J0(e,t,a,c)&&(T=!0);let A;for(const P in w)(!t||!hi(t,P)&&((A=ao(P))===P||!hi(t,A)))&&(_?n&&(n[P]!==void 0||n[A]!==void 0)&&(a[P]=Sp(_,w,P,void 0,e,!0)):delete a[P]);if(c!==w)for(const P in c)(!t||!hi(t,P)&&!0)&&(delete c[P],T=!0)}T&&Nr(e.attrs,"set","")}function J0(e,t,n,r){const[a,c]=e.propsOptions;let p=!1,w;if(t)for(let _ in t){if(fl(_))continue;const T=t[_];let A;a&&hi(a,A=zn(_))?!c||!c.includes(A)?n[A]=T:(w||(w={}))[A]=T:nh(e.emitsOptions,_)||(!(_ in r)||T!==r[_])&&(r[_]=T,p=!0)}if(c){const _=Qt(n),T=w||wi;for(let A=0;A<c.length;A++){const P=c[A];n[P]=Sp(a,_,P,T[P],e,!hi(T,P))}}return p}function Sp(e,t,n,r,a,c){const p=e[n];if(p!=null){const w=hi(p,"default");if(w&&r===void 0){const _=p.default;if(p.type!==Function&&!p.skipFactory&&Vt(_)){const{propsDefaults:T}=a;if(n in T)r=T[n];else{const A=ya(a);r=T[n]=_.call(null,t),A()}}else r=_}p[0]&&(c&&!w?r=!1:p[1]&&(r===""||r===ao(n))&&(r=!0))}return r}function ex(e,t,n=!1){const r=t.propsCache,a=r.get(e);if(a)return a;const c=e.props,p={},w=[];let _=!1;if(!Vt(e)){const A=P=>{_=!0;const[O,B]=ex(P,t,!0);Ni(p,O),B&&w.push(...B)};!n&&t.mixins.length&&t.mixins.forEach(A),e.extends&&A(e.extends),e.mixins&&e.mixins.forEach(A)}if(!c&&!_)return _i(e)&&r.set(e,dl),dl;if(Ct(c))for(let A=0;A<c.length;A++){const P=zn(c[A]);Zy(P)&&(p[P]=wi)}else if(c)for(const A in c){const P=zn(A);if(Zy(P)){const O=c[A],B=p[P]=Ct(O)||Vt(O)?{type:O}:Ni({},O);if(B){const z=tv(Boolean,B.type),U=tv(String,B.type);B[0]=z>-1,B[1]=U<0||z<U,(z>-1||hi(B,"default"))&&w.push(P)}}}const T=[p,w];return _i(e)&&r.set(e,T),T}function Zy(e){return e[0]!=="$"&&!fl(e)}function Jy(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function ev(e,t){return Jy(e)===Jy(t)}function tv(e,t){return Ct(t)?t.findIndex(n=>ev(n,e)):Vt(t)&&ev(t,e)?0:-1}const tx=e=>e[0]==="_"||e==="$stable",Em=e=>Ct(e)?e.map(so):[so(e)],ST=(e,t,n)=>{if(t._n)return t;const r=_t((...a)=>Em(t(...a)),n);return r._c=!1,r},ix=(e,t,n)=>{const r=e._ctx;for(const a in e){if(tx(a))continue;const c=e[a];if(Vt(c))t[a]=ST(a,c,r);else if(c!=null){const p=Em(c);t[a]=()=>p}}},nx=(e,t)=>{const n=Em(t);e.slots.default=()=>n},_T=(e,t)=>{const n=e.slots=Q0();if(e.vnode.shapeFlag&32){const r=t._;r?(Ni(n,t),Jb(n,"_",r)):ix(t,n)}else t&&nx(e,t)},CT=(e,t,n)=>{const{vnode:r,slots:a}=e;let c=!0,p=wi;if(r.shapeFlag&32){const w=t._;w?n&&w===1?c=!1:(Ni(a,t),!n&&w===1&&delete a._):(c=!t.$stable,ix(t,a)),p=t}else t&&(nx(e,t),p={default:1});if(c)for(const w in a)!tx(w)&&p[w]==null&&delete a[w]};function Pd(e,t,n,r,a=!1){if(Ct(e)){e.forEach((O,B)=>Pd(O,t&&(Ct(t)?t[B]:t),n,r,a));return}if(ua(r)&&!a)return;const c=r.shapeFlag&4?uh(r.component)||r.component.proxy:r.el,p=a?null:c,{i:w,r:_}=e,T=t&&t.r,A=w.refs===wi?w.refs={}:w.refs,P=w.setupState;if(T!=null&&T!==_&&(Bi(T)?(A[T]=null,hi(P,T)&&(P[T]=null)):An(T)&&(T.value=null)),Vt(_))Rr(_,w,12,[p,A]);else{const O=Bi(_),B=An(_);if(O||B){const z=()=>{if(e.f){const U=O?hi(P,_)?P[_]:A[_]:_.value;a?Ct(U)&&sm(U,c):Ct(U)?U.includes(c)||U.push(c):O?(A[_]=[c],hi(P,_)&&(P[_]=A[_])):(_.value=[c],e.k&&(A[e.k]=_.value))}else O?(A[_]=p,hi(P,_)&&(P[_]=p)):B&&(_.value=p,e.k&&(A[e.k]=p))};p?(z.id=-1,Cn(z,n)):z()}}}let ps=!1;const kT=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",AT=e=>e.namespaceURI.includes("MathML"),nd=e=>{if(kT(e))return"svg";if(AT(e))return"mathml"},od=e=>e.nodeType===8;function TT(e){const{mt:t,p:n,o:{patchProp:r,createText:a,nextSibling:c,parentNode:p,remove:w,insert:_,createComment:T}}=e,A=(q,$)=>{if(!$.hasChildNodes()){n(null,q,$),Ed(),$._vnode=q;return}ps=!1,P($.firstChild,q,null,null,null),Ed(),$._vnode=q,ps&&console.error("Hydration completed but contains mismatches.")},P=(q,$,G,X,v,me=!1)=>{me=me||!!$.dynamicChildren;const re=od(q)&&q.data==="[",de=()=>U(q,$,G,X,v,re),{type:Oe,ref:oe,shapeFlag:Ee,patchFlag:Pe}=$;let Je=q.nodeType;$.el=q,Pe===-2&&(me=!1,$.dynamicChildren=null);let Fe=null;switch(Oe){case ma:Je!==3?$.children===""?(_($.el=a(""),p(q),q),Fe=q):Fe=de():(q.data!==$.children&&(ps=!0,q.data=$.children),Fe=c(q));break;case Nn:Y(q)?(Fe=c(q),ee($.el=q.content.firstChild,q,G)):Je!==8||re?Fe=de():Fe=c(q);break;case ca:if(re&&(q=c(q),Je=q.nodeType),Je===1||Je===3){Fe=q;const Ae=!$.children.length;for(let Ve=0;Ve<$.staticCount;Ve++)Ae&&($.children+=Fe.nodeType===1?Fe.outerHTML:Fe.data),Ve===$.staticCount-1&&($.anchor=Fe),Fe=c(Fe);return re?c(Fe):Fe}else de();break;case $t:re?Fe=z(q,$,G,X,v,me):Fe=de();break;default:if(Ee&1)(Je!==1||$.type.toLowerCase()!==q.tagName.toLowerCase())&&!Y(q)?Fe=de():Fe=O(q,$,G,X,v,me);else if(Ee&6){$.slotScopeIds=v;const Ae=p(q);if(re?Fe=J(q):od(q)&&q.data==="teleport start"?Fe=J(q,q.data,"teleport end"):Fe=c(q),t($,Ae,null,G,X,nd(Ae),me),ua($)){let Ve;re?(Ve=fe($t),Ve.anchor=Fe?Fe.previousSibling:Ae.lastChild):Ve=q.nodeType===3?Ze(""):fe("div"),Ve.el=q,$.component.subTree=Ve}}else Ee&64?Je!==8?Fe=de():Fe=$.type.hydrate(q,$,G,X,v,me,e,B):Ee&128&&(Fe=$.type.hydrate(q,$,G,X,nd(p(q)),v,me,e,P))}return oe!=null&&Pd(oe,null,X,$),Fe},O=(q,$,G,X,v,me)=>{me=me||!!$.dynamicChildren;const{type:re,props:de,patchFlag:Oe,shapeFlag:oe,dirs:Ee,transition:Pe}=$,Je=re==="input"||re==="option";if(Je||Oe!==-1){Ee&&dr($,null,G,"created");let Fe=!1;if(Y(q)){Fe=ax(X,Pe)&&G&&G.vnode.props&&G.vnode.props.appear;const Ve=q.content.firstChild;Fe&&Pe.beforeEnter(Ve),ee(Ve,q,G),$.el=q=Ve}if(oe&16&&!(de&&(de.innerHTML||de.textContent))){let Ve=B(q.firstChild,$,q,G,X,v,me);for(;Ve;){ps=!0;const Mt=Ve;Ve=Ve.nextSibling,w(Mt)}}else oe&8&&q.textContent!==$.children&&(ps=!0,q.textContent=$.children);if(de)if(Je||!me||Oe&48)for(const Ve in de)(Je&&(Ve.endsWith("value")||Ve==="indeterminate")||Wu(Ve)&&!fl(Ve)||Ve[0]===".")&&r(q,Ve,null,de[Ve],void 0,void 0,G);else de.onClick&&r(q,"onClick",null,de.onClick,void 0,void 0,G);let Ae;(Ae=de&&de.onVnodeBeforeMount)&&Xn(Ae,G,$),Ee&&dr($,null,G,"beforeMount"),((Ae=de&&de.onVnodeMounted)||Ee||Fe)&&O0(()=>{Ae&&Xn(Ae,G,$),Fe&&Pe.enter(q),Ee&&dr($,null,G,"mounted")},X)}return q.nextSibling},B=(q,$,G,X,v,me,re)=>{re=re||!!$.dynamicChildren;const de=$.children,Oe=de.length;for(let oe=0;oe<Oe;oe++){const Ee=re?de[oe]:de[oe]=so(de[oe]);if(q)q=P(q,Ee,X,v,me,re);else{if(Ee.type===ma&&!Ee.children)continue;ps=!0,n(null,Ee,G,null,X,v,nd(G),me)}}return q},z=(q,$,G,X,v,me)=>{const{slotScopeIds:re}=$;re&&(v=v?v.concat(re):re);const de=p(q),Oe=B(c(q),$,de,G,X,v,me);return Oe&&od(Oe)&&Oe.data==="]"?c($.anchor=Oe):(ps=!0,_($.anchor=T("]"),de,Oe),Oe)},U=(q,$,G,X,v,me)=>{if(ps=!0,$.el=null,me){const Oe=J(q);for(;;){const oe=c(q);if(oe&&oe!==Oe)w(oe);else break}}const re=c(q),de=p(q);return w(q),n(null,$,de,re,G,X,nd(de),v),re},J=(q,$="[",G="]")=>{let X=0;for(;q;)if(q=c(q),q&&od(q)&&(q.data===$&&X++,q.data===G)){if(X===0)return c(q);X--}return q},ee=(q,$,G)=>{const X=$.parentNode;X&&X.replaceChild(q,$);let v=G;for(;v;)v.vnode.el===$&&(v.vnode.el=v.subTree.el=q),v=v.parent},Y=q=>q.nodeType===1&&q.tagName.toLowerCase()==="template";return[A,P]}const Cn=O0;function ox(e){return sx(e)}function rx(e){return sx(e,TT)}function sx(e,t){const n=e0();n.__VUE__=!0;const{insert:r,remove:a,patchProp:c,createElement:p,createText:w,createComment:_,setText:T,setElementText:A,parentNode:P,nextSibling:O,setScopeId:B=Hn,insertStaticContent:z}=e,U=(Q,te,Ce,De=null,Le=null,Xe=null,ct=void 0,it=null,ot=!!te.dynamicChildren)=>{if(Q===te)return;Q&&!jo(Q,te)&&(De=ge(Q),ve(Q,Le,Xe,!0),Q=null),te.patchFlag===-2&&(ot=!1,te.dynamicChildren=null);const{type:Ne,ref:pt,shapeFlag:st}=te;switch(Ne){case ma:J(Q,te,Ce,De);break;case Nn:ee(Q,te,Ce,De);break;case ca:Q==null&&Y(te,Ce,De,ct);break;case $t:oe(Q,te,Ce,De,Le,Xe,ct,it,ot);break;default:st&1?G(Q,te,Ce,De,Le,Xe,ct,it,ot):st&6?Ee(Q,te,Ce,De,Le,Xe,ct,it,ot):(st&64||st&128)&&Ne.process(Q,te,Ce,De,Le,Xe,ct,it,ot,nt)}pt!=null&&Le&&Pd(pt,Q&&Q.ref,Xe,te||Q,!te)},J=(Q,te,Ce,De)=>{if(Q==null)r(te.el=w(te.children),Ce,De);else{const Le=te.el=Q.el;te.children!==Q.children&&T(Le,te.children)}},ee=(Q,te,Ce,De)=>{Q==null?r(te.el=_(te.children||""),Ce,De):te.el=Q.el},Y=(Q,te,Ce,De)=>{[Q.el,Q.anchor]=z(Q.children,te,Ce,De,Q.el,Q.anchor)},q=({el:Q,anchor:te},Ce,De)=>{let Le;for(;Q&&Q!==te;)Le=O(Q),r(Q,Ce,De),Q=Le;r(te,Ce,De)},$=({el:Q,anchor:te})=>{let Ce;for(;Q&&Q!==te;)Ce=O(Q),a(Q),Q=Ce;a(te)},G=(Q,te,Ce,De,Le,Xe,ct,it,ot)=>{te.type==="svg"?ct="svg":te.type==="math"&&(ct="mathml"),Q==null?X(te,Ce,De,Le,Xe,ct,it,ot):re(Q,te,Le,Xe,ct,it,ot)},X=(Q,te,Ce,De,Le,Xe,ct,it)=>{let ot,Ne;const{props:pt,shapeFlag:st,transition:qe,dirs:wt}=Q;if(ot=Q.el=p(Q.type,Xe,pt&&pt.is,pt),st&8?A(ot,Q.children):st&16&&me(Q.children,ot,null,De,Le,qf(Q,Xe),ct,it),wt&&dr(Q,null,De,"created"),v(ot,Q,Q.scopeId,ct,De),pt){for(const si in pt)si!=="value"&&!fl(si)&&c(ot,si,null,pt[si],Xe,Q.children,De,Le,Ge);"value"in pt&&c(ot,"value",null,pt.value,Xe),(Ne=pt.onVnodeBeforeMount)&&Xn(Ne,De,Q)}wt&&dr(Q,null,De,"beforeMount");const Wt=ax(Le,qe);Wt&&qe.beforeEnter(ot),r(ot,te,Ce),((Ne=pt&&pt.onVnodeMounted)||Wt||wt)&&Cn(()=>{Ne&&Xn(Ne,De,Q),Wt&&qe.enter(ot),wt&&dr(Q,null,De,"mounted")},Le)},v=(Q,te,Ce,De,Le)=>{if(Ce&&B(Q,Ce),De)for(let Xe=0;Xe<De.length;Xe++)B(Q,De[Xe]);if(Le){let Xe=Le.subTree;if(te===Xe){const ct=Le.vnode;v(Q,ct,ct.scopeId,ct.slotScopeIds,Le.parent)}}},me=(Q,te,Ce,De,Le,Xe,ct,it,ot=0)=>{for(let Ne=ot;Ne<Q.length;Ne++){const pt=Q[Ne]=it?ws(Q[Ne]):so(Q[Ne]);U(null,pt,te,Ce,De,Le,Xe,ct,it)}},re=(Q,te,Ce,De,Le,Xe,ct)=>{const it=te.el=Q.el;let{patchFlag:ot,dynamicChildren:Ne,dirs:pt}=te;ot|=Q.patchFlag&16;const st=Q.props||wi,qe=te.props||wi;let wt;if(Ce&&Qs(Ce,!1),(wt=qe.onVnodeBeforeUpdate)&&Xn(wt,Ce,te,Q),pt&&dr(te,Q,Ce,"beforeUpdate"),Ce&&Qs(Ce,!0),Ne?de(Q.dynamicChildren,Ne,it,Ce,De,qf(te,Le),Xe):ct||Ve(Q,te,it,null,Ce,De,qf(te,Le),Xe,!1),ot>0){if(ot&16)Oe(it,te,st,qe,Ce,De,Le);else if(ot&2&&st.class!==qe.class&&c(it,"class",null,qe.class,Le),ot&4&&c(it,"style",st.style,qe.style,Le),ot&8){const Wt=te.dynamicProps;for(let si=0;si<Wt.length;si++){const ci=Wt[si],pi=st[ci],Vi=qe[ci];(Vi!==pi||ci==="value")&&c(it,ci,pi,Vi,Le,Q.children,Ce,De,Ge)}}ot&1&&Q.children!==te.children&&A(it,te.children)}else!ct&&Ne==null&&Oe(it,te,st,qe,Ce,De,Le);((wt=qe.onVnodeUpdated)||pt)&&Cn(()=>{wt&&Xn(wt,Ce,te,Q),pt&&dr(te,Q,Ce,"updated")},De)},de=(Q,te,Ce,De,Le,Xe,ct)=>{for(let it=0;it<te.length;it++){const ot=Q[it],Ne=te[it],pt=ot.el&&(ot.type===$t||!jo(ot,Ne)||ot.shapeFlag&70)?P(ot.el):Ce;U(ot,Ne,pt,null,De,Le,Xe,ct,!0)}},Oe=(Q,te,Ce,De,Le,Xe,ct)=>{if(Ce!==De){if(Ce!==wi)for(const it in Ce)!fl(it)&&!(it in De)&&c(Q,it,Ce[it],null,ct,te.children,Le,Xe,Ge);for(const it in De){if(fl(it))continue;const ot=De[it],Ne=Ce[it];ot!==Ne&&it!=="value"&&c(Q,it,Ne,ot,ct,te.children,Le,Xe,Ge)}"value"in De&&c(Q,"value",Ce.value,De.value,ct)}},oe=(Q,te,Ce,De,Le,Xe,ct,it,ot)=>{const Ne=te.el=Q?Q.el:w(""),pt=te.anchor=Q?Q.anchor:w("");let{patchFlag:st,dynamicChildren:qe,slotScopeIds:wt}=te;wt&&(it=it?it.concat(wt):wt),Q==null?(r(Ne,Ce,De),r(pt,Ce,De),me(te.children||[],Ce,pt,Le,Xe,ct,it,ot)):st>0&&st&64&&qe&&Q.dynamicChildren?(de(Q.dynamicChildren,qe,Ce,Le,Xe,ct,it),(te.key!=null||Le&&te===Le.subTree)&&Mm(Q,te,!0)):Ve(Q,te,Ce,pt,Le,Xe,ct,it,ot)},Ee=(Q,te,Ce,De,Le,Xe,ct,it,ot)=>{te.slotScopeIds=it,Q==null?te.shapeFlag&512?Le.ctx.activate(te,Ce,De,ct,ot):Pe(te,Ce,De,Le,Xe,ct,ot):Je(Q,te,ot)},Pe=(Q,te,Ce,De,Le,Xe,ct)=>{const it=Q.component=mx(Q,De,Le);if(Qu(Q)&&(it.ctx.renderer=nt),yx(it),it.asyncDep){if(Le&&Le.registerDep(it,Fe),!Q.el){const ot=it.subTree=fe(Nn);ee(null,ot,te,Ce)}}else Fe(it,Q,te,Ce,Le,Xe,ct)},Je=(Q,te,Ce)=>{const De=te.component=Q.component;if(RA(Q,te,Ce))if(De.asyncDep&&!De.asyncResolved){Ae(De,te,Ce);return}else De.next=te,EA(De.update),De.effect.dirty=!0,De.update();else te.el=Q.el,De.vnode=te},Fe=(Q,te,Ce,De,Le,Xe,ct)=>{const it=()=>{if(Q.isMounted){let{next:pt,bu:st,u:qe,parent:wt,vnode:Wt}=Q;{const an=lx(Q);if(an){pt&&(pt.el=Wt.el,Ae(Q,pt,ct)),an.asyncDep.then(()=>{Q.isUnmounted||it()});return}}let si=pt,ci;Qs(Q,!1),pt?(pt.el=Wt.el,Ae(Q,pt,ct)):pt=Wt,st&&pl(st),(ci=pt.props&&pt.props.onVnodeBeforeUpdate)&&Xn(ci,wt,pt,Wt),Qs(Q,!0);const pi=fd(Q),Vi=Q.subTree;Q.subTree=pi,U(Vi,pi,P(Vi.el),ge(Vi),Q,Le,Xe),pt.el=pi.el,si===null&&xm(Q,pi.el),qe&&Cn(qe,Le),(ci=pt.props&&pt.props.onVnodeUpdated)&&Cn(()=>Xn(ci,wt,pt,Wt),Le)}else{let pt;const{el:st,props:qe}=te,{bm:wt,m:Wt,parent:si}=Q,ci=ua(te);if(Qs(Q,!1),wt&&pl(wt),!ci&&(pt=qe&&qe.onVnodeBeforeMount)&&Xn(pt,si,te),Qs(Q,!0),st&&tt){const pi=()=>{Q.subTree=fd(Q),tt(st,Q.subTree,Q,Le,null)};ci?te.type.__asyncLoader().then(()=>!Q.isUnmounted&&pi()):pi()}else{const pi=Q.subTree=fd(Q);U(null,pi,Ce,De,Q,Le,Xe),te.el=pi.el}if(Wt&&Cn(Wt,Le),!ci&&(pt=qe&&qe.onVnodeMounted)){const pi=te;Cn(()=>Xn(pt,si,pi),Le)}(te.shapeFlag&256||si&&ua(si.vnode)&&si.vnode.shapeFlag&256)&&Q.a&&Cn(Q.a,Le),Q.isMounted=!0,te=Ce=De=null}},ot=Q.effect=new Sl(it,Hn,()=>ih(Ne),Q.scope),Ne=Q.update=()=>{ot.dirty&&ot.run()};Ne.id=Q.uid,Qs(Q,!0),Ne()},Ae=(Q,te,Ce)=>{te.component=Q;const De=Q.vnode.props;Q.vnode=te,Q.next=null,wT(Q,te.props,De,Ce),CT(Q,te.children,Ce),Ns(),$y(Q),Rs()},Ve=(Q,te,Ce,De,Le,Xe,ct,it,ot=!1)=>{const Ne=Q&&Q.children,pt=Q?Q.shapeFlag:0,st=te.children,{patchFlag:qe,shapeFlag:wt}=te;if(qe>0){if(qe&128){Et(Ne,st,Ce,De,Le,Xe,ct,it,ot);return}else if(qe&256){Mt(Ne,st,Ce,De,Le,Xe,ct,it,ot);return}}wt&8?(pt&16&&Ge(Ne,Le,Xe),st!==Ne&&A(Ce,st)):pt&16?wt&16?Et(Ne,st,Ce,De,Le,Xe,ct,it,ot):Ge(Ne,Le,Xe,!0):(pt&8&&A(Ce,""),wt&16&&me(st,Ce,De,Le,Xe,ct,it,ot))},Mt=(Q,te,Ce,De,Le,Xe,ct,it,ot)=>{Q=Q||dl,te=te||dl;const Ne=Q.length,pt=te.length,st=Math.min(Ne,pt);let qe;for(qe=0;qe<st;qe++){const wt=te[qe]=ot?ws(te[qe]):so(te[qe]);U(Q[qe],wt,Ce,null,Le,Xe,ct,it,ot)}Ne>pt?Ge(Q,Le,Xe,!0,!1,st):me(te,Ce,De,Le,Xe,ct,it,ot,st)},Et=(Q,te,Ce,De,Le,Xe,ct,it,ot)=>{let Ne=0;const pt=te.length;let st=Q.length-1,qe=pt-1;for(;Ne<=st&&Ne<=qe;){const wt=Q[Ne],Wt=te[Ne]=ot?ws(te[Ne]):so(te[Ne]);if(jo(wt,Wt))U(wt,Wt,Ce,null,Le,Xe,ct,it,ot);else break;Ne++}for(;Ne<=st&&Ne<=qe;){const wt=Q[st],Wt=te[qe]=ot?ws(te[qe]):so(te[qe]);if(jo(wt,Wt))U(wt,Wt,Ce,null,Le,Xe,ct,it,ot);else break;st--,qe--}if(Ne>st){if(Ne<=qe){const wt=qe+1,Wt=wt<pt?te[wt].el:De;for(;Ne<=qe;)U(null,te[Ne]=ot?ws(te[Ne]):so(te[Ne]),Ce,Wt,Le,Xe,ct,it,ot),Ne++}}else if(Ne>qe)for(;Ne<=st;)ve(Q[Ne],Le,Xe,!0),Ne++;else{const wt=Ne,Wt=Ne,si=new Map;for(Ne=Wt;Ne<=qe;Ne++){const Hi=te[Ne]=ot?ws(te[Ne]):so(te[Ne]);Hi.key!=null&&si.set(Hi.key,Ne)}let ci,pi=0;const Vi=qe-Wt+1;let an=!1,qi=0;const Yi=new Array(Vi);for(Ne=0;Ne<Vi;Ne++)Yi[Ne]=0;for(Ne=wt;Ne<=st;Ne++){const Hi=Q[Ne];if(pi>=Vi){ve(Hi,Le,Xe,!0);continue}let en;if(Hi.key!=null)en=si.get(Hi.key);else for(ci=Wt;ci<=qe;ci++)if(Yi[ci-Wt]===0&&jo(Hi,te[ci])){en=ci;break}en===void 0?ve(Hi,Le,Xe,!0):(Yi[en-Wt]=Ne+1,en>=qi?qi=en:an=!0,U(Hi,te[en],Ce,null,Le,Xe,ct,it,ot),pi++)}const Ti=an?ET(Yi):dl;for(ci=Ti.length-1,Ne=Vi-1;Ne>=0;Ne--){const Hi=Wt+Ne,en=te[Hi],Ri=Hi+1<pt?te[Hi+1].el:De;Yi[Ne]===0?U(null,en,Ce,Ri,Le,Xe,ct,it,ot):an&&(ci<0||Ne!==Ti[ci]?Te(en,Ce,Ri,2):ci--)}}},Te=(Q,te,Ce,De,Le=null)=>{const{el:Xe,type:ct,transition:it,children:ot,shapeFlag:Ne}=Q;if(Ne&6){Te(Q.component.subTree,te,Ce,De);return}if(Ne&128){Q.suspense.move(te,Ce,De);return}if(Ne&64){ct.move(Q,te,Ce,nt);return}if(ct===$t){r(Xe,te,Ce);for(let st=0;st<ot.length;st++)Te(ot[st],te,Ce,De);r(Q.anchor,te,Ce);return}if(ct===ca){q(Q,te,Ce);return}if(De!==2&&Ne&1&&it)if(De===0)it.beforeEnter(Xe),r(Xe,te,Ce),Cn(()=>it.enter(Xe),Le);else{const{leave:st,delayLeave:qe,afterLeave:wt}=it,Wt=()=>r(Xe,te,Ce),si=()=>{st(Xe,()=>{Wt(),wt&&wt()})};qe?qe(Xe,Wt,si):si()}else r(Xe,te,Ce)},ve=(Q,te,Ce,De=!1,Le=!1)=>{const{type:Xe,props:ct,ref:it,children:ot,dynamicChildren:Ne,shapeFlag:pt,patchFlag:st,dirs:qe}=Q;if(it!=null&&Pd(it,null,Ce,Q,!0),pt&256){te.ctx.deactivate(Q);return}const wt=pt&1&&qe,Wt=!ua(Q);let si;if(Wt&&(si=ct&&ct.onVnodeBeforeUnmount)&&Xn(si,te,Q),pt&6)jt(Q.component,Ce,De);else{if(pt&128){Q.suspense.unmount(Ce,De);return}wt&&dr(Q,null,te,"beforeUnmount"),pt&64?Q.type.remove(Q,te,Ce,Le,nt,De):Ne&&(Xe!==$t||st>0&&st&64)?Ge(Ne,te,Ce,!1,!0):(Xe===$t&&st&384||!Le&&pt&16)&&Ge(ot,te,Ce),De&&ft(Q)}(Wt&&(si=ct&&ct.onVnodeUnmounted)||wt)&&Cn(()=>{si&&Xn(si,te,Q),wt&&dr(Q,null,te,"unmounted")},Ce)},ft=Q=>{const{type:te,el:Ce,anchor:De,transition:Le}=Q;if(te===$t){Pt(Ce,De);return}if(te===ca){$(Q);return}const Xe=()=>{a(Ce),Le&&!Le.persisted&&Le.afterLeave&&Le.afterLeave()};if(Q.shapeFlag&1&&Le&&!Le.persisted){const{leave:ct,delayLeave:it}=Le,ot=()=>ct(Ce,Xe);it?it(Q.el,Xe,ot):ot()}else Xe()},Pt=(Q,te)=>{let Ce;for(;Q!==te;)Ce=O(Q),a(Q),Q=Ce;a(te)},jt=(Q,te,Ce)=>{const{bum:De,scope:Le,update:Xe,subTree:ct,um:it}=Q;De&&pl(De),Le.stop(),Xe&&(Xe.active=!1,ve(ct,Q,te,Ce)),it&&Cn(it,te),Cn(()=>{Q.isUnmounted=!0},te),te&&te.pendingBranch&&!te.isUnmounted&&Q.asyncDep&&!Q.asyncResolved&&Q.suspenseId===te.pendingId&&(te.deps--,te.deps===0&&te.resolve())},Ge=(Q,te,Ce,De=!1,Le=!1,Xe=0)=>{for(let ct=Xe;ct<Q.length;ct++)ve(Q[ct],te,Ce,De,Le)},ge=Q=>Q.shapeFlag&6?ge(Q.component.subTree):Q.shapeFlag&128?Q.suspense.next():O(Q.anchor||Q.el);let Ye=!1;const ke=(Q,te,Ce)=>{Q==null?te._vnode&&ve(te._vnode,null,null,!0):U(te._vnode||null,Q,te,null,null,null,Ce),Ye||(Ye=!0,$y(),Ed(),Ye=!1),te._vnode=Q},nt={p:U,um:ve,m:Te,r:ft,mt:Pe,mc:me,pc:Ve,pbc:de,n:ge,o:e};let Ut,tt;return t&&([Ut,tt]=t(nt)),{render:ke,hydrate:Ut,createApp:vT(ke,Ut)}}function qf({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Qs({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function ax(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Mm(e,t,n=!1){const r=e.children,a=t.children;if(Ct(r)&&Ct(a))for(let c=0;c<r.length;c++){const p=r[c];let w=a[c];w.shapeFlag&1&&!w.dynamicChildren&&((w.patchFlag<=0||w.patchFlag===32)&&(w=a[c]=ws(a[c]),w.el=p.el),n||Mm(p,w)),w.type===ma&&(w.el=p.el)}}function ET(e){const t=e.slice(),n=[0];let r,a,c,p,w;const _=e.length;for(r=0;r<_;r++){const T=e[r];if(T!==0){if(a=n[n.length-1],e[a]<T){t[r]=a,n.push(r);continue}for(c=0,p=n.length-1;c<p;)w=c+p>>1,e[n[w]]<T?c=w+1:p=w;T<e[n[c]]&&(c>0&&(t[r]=n[c-1]),n[c]=r)}}for(c=n.length,p=n[c-1];c-- >0;)n[c]=p,p=t[p];return n}function lx(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:lx(t)}const MT=e=>e.__isTeleport,Cu=e=>e&&(e.disabled||e.disabled===""),iv=e=>typeof SVGElement!="undefined"&&e instanceof SVGElement,nv=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,_p=(e,t)=>{const n=e&&e.to;return Bi(n)?t?t(n):null:n},PT={name:"Teleport",__isTeleport:!0,process(e,t,n,r,a,c,p,w,_,T){const{mc:A,pc:P,pbc:O,o:{insert:B,querySelector:z,createText:U,createComment:J}}=T,ee=Cu(t.props);let{shapeFlag:Y,children:q,dynamicChildren:$}=t;if(e==null){const G=t.el=U(""),X=t.anchor=U("");B(G,n,r),B(X,n,r);const v=t.target=_p(t.props,z),me=t.targetAnchor=U("");v&&(B(me,v),p==="svg"||iv(v)?p="svg":(p==="mathml"||nv(v))&&(p="mathml"));const re=(de,Oe)=>{Y&16&&A(q,de,Oe,a,c,p,w,_)};ee?re(n,X):v&&re(v,me)}else{t.el=e.el;const G=t.anchor=e.anchor,X=t.target=e.target,v=t.targetAnchor=e.targetAnchor,me=Cu(e.props),re=me?n:X,de=me?G:v;if(p==="svg"||iv(X)?p="svg":(p==="mathml"||nv(X))&&(p="mathml"),$?(O(e.dynamicChildren,$,re,a,c,p,w),Mm(e,t,!0)):_||P(e,t,re,de,a,c,p,w,!1),ee)me?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):rd(t,n,G,T,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const Oe=t.target=_p(t.props,z);Oe&&rd(t,Oe,null,T,0)}else me&&rd(t,X,v,T,1)}cx(t)},remove(e,t,n,r,{um:a,o:{remove:c}},p){const{shapeFlag:w,children:_,anchor:T,targetAnchor:A,target:P,props:O}=e;if(P&&c(A),p&&c(T),w&16){const B=p||!Cu(O);for(let z=0;z<_.length;z++){const U=_[z];a(U,t,n,B,!!U.dynamicChildren)}}},move:rd,hydrate:OT};function rd(e,t,n,{o:{insert:r},m:a},c=2){c===0&&r(e.targetAnchor,t,n);const{el:p,anchor:w,shapeFlag:_,children:T,props:A}=e,P=c===2;if(P&&r(p,t,n),(!P||Cu(A))&&_&16)for(let O=0;O<T.length;O++)a(T[O],t,n,2);P&&r(w,t,n)}function OT(e,t,n,r,a,c,{o:{nextSibling:p,parentNode:w,querySelector:_}},T){const A=t.target=_p(t.props,_);if(A){const P=A._lpa||A.firstChild;if(t.shapeFlag&16)if(Cu(t.props))t.anchor=T(p(e),t,w(e),n,r,a,c),t.targetAnchor=P;else{t.anchor=p(e);let O=P;for(;O;)if(O=p(O),O&&O.nodeType===8&&O.data==="teleport anchor"){t.targetAnchor=O,A._lpa=t.targetAnchor&&p(t.targetAnchor);break}T(P,t,A,n,r,a,c)}cx(t)}return t.anchor&&p(t.anchor)}const ux=PT;function cx(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 $t=Symbol.for("v-fgt"),ma=Symbol.for("v-txt"),Nn=Symbol.for("v-cmt"),ca=Symbol.for("v-stc"),ku=[];let Kn=null;function xe(e=!1){ku.push(Kn=e?null:[])}function dx(){ku.pop(),Kn=ku[ku.length-1]||null}let ga=1;function Cp(e){ga+=e}function hx(e){return e.dynamicChildren=ga>0?Kn||dl:null,dx(),ga>0&&Kn&&Kn.push(e),e}function We(e,t,n,r,a,c){return hx(N(e,t,n,r,a,c,!0))}function Rt(e,t,n,r,a){return hx(fe(e,t,n,r,a,!0))}function Os(e){return e?e.__v_isVNode===!0:!1}function jo(e,t){return e.type===t.type&&e.key===t.key}function IT(e){}const fx=({key:e})=>e!=null?e:null,pd=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Bi(e)||An(e)||Vt(e)?{i:on,r:e,k:t,f:!!n}:e:null);function N(e,t=null,n=null,r=0,a=null,c=e===$t?0:1,p=!1,w=!1){const _={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&fx(t),ref:t&&pd(t),scopeId:oh,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:c,patchFlag:r,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:on};return w?(Pm(_,n),c&128&&e.normalize(_)):n&&(_.shapeFlag|=Bi(n)?8:16),ga>0&&!p&&Kn&&(_.patchFlag>0||c&6)&&_.patchFlag!==32&&Kn.push(_),_}const fe=LT;function LT(e,t=null,n=null,r=0,a=null,c=!1){if((!e||e===M0)&&(e=Nn),Os(e)){const w=gr(e,t,!0);return n&&Pm(w,n),ga>0&&!c&&Kn&&(w.shapeFlag&6?Kn[Kn.indexOf(e)]=w:Kn.push(w)),w.patchFlag|=-2,w}if(qT(e)&&(e=e.__vccOpts),t){t=px(t);let{class:w,style:_}=t;w&&!Bi(w)&&(t.class=ji(w)),_i(_)&&(mm(_)&&!Ct(_)&&(_=Ni({},_)),t.style=Hr(_))}const p=Bi(e)?1:P0(e)?128:MT(e)?64:_i(e)?4:Vt(e)?2:0;return N(e,t,n,r,a,p,c,!0)}function px(e){return e?mm(e)||Z0(e)?Ni({},e):e:null}function gr(e,t,n=!1){const{props:r,ref:a,patchFlag:c,children:p}=e,w=t?Wo(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:w,key:w&&fx(w),ref:t&&t.ref?n&&a?Ct(a)?a.concat(pd(t)):[a,pd(t)]:pd(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:p,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==$t?c===-1?16:c|16:c,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&gr(e.ssContent),ssFallback:e.ssFallback&&gr(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Ze(e=" ",t=0){return fe(ma,null,e,t)}function Dl(e,t){const n=fe(ca,null,e);return n.staticCount=t,n}function ht(e="",t=!1){return t?(xe(),Rt(Nn,null,e)):fe(Nn,null,e)}function so(e){return e==null||typeof e=="boolean"?fe(Nn):Ct(e)?fe($t,null,e.slice()):typeof e=="object"?ws(e):fe(ma,null,String(e))}function ws(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:gr(e)}function Pm(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(Ct(t))n=16;else if(typeof t=="object")if(r&65){const a=t.default;a&&(a._c&&(a._d=!1),Pm(e,a()),a._c&&(a._d=!0));return}else{n=32;const a=t._;!a&&!Z0(t)?t._ctx=on:a===3&&on&&(on.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Vt(t)?(t={default:t,_ctx:on},n=32):(t=String(t),r&64?(n=16,t=[Ze(t)]):n=8);e.children=t,e.shapeFlag|=n}function Wo(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const a in r)if(a==="class")t.class!==r.class&&(t.class=ji([t.class,r.class]));else if(a==="style")t.style=Hr([t.style,r.style]);else if(Wu(a)){const c=t[a],p=r[a];p&&c!==p&&!(Ct(c)&&c.includes(p))&&(t[a]=c?[].concat(c,p):p)}else a!==""&&(t[a]=r[a])}return t}function Xn(e,t,n,r=null){uo(e,t,7,[n,r])}const NT=X0();let RT=0;function mx(e,t,n){const r=e.type,a=(t?t.appContext:e.appContext)||NT,c={uid:RT++,vnode:e,type:r,parent:t,appContext:a,root:null,next:null,subTree:null,effect:null,update:null,scope:new um(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(a.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:ex(r,a),emitsOptions:E0(r,a),emit:null,emitted:null,propsDefaults:wi,inheritAttrs:r.inheritAttrs,ctx:wi,data:wi,props:wi,attrs:wi,slots:wi,refs:wi,setupState:wi,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 c.ctx={_:c},c.root=t?t.root:c,c.emit=PA.bind(null,c),e.ce&&e.ce(c),c}let pn=null;const ri=()=>pn||on;let Od,kp;{const e=e0(),t=(n,r)=>{let a;return(a=e[n])||(a=e[n]=[]),a.push(r),c=>{a.length>1?a.forEach(p=>p(c)):a[0](c)}};Od=t("__VUE_INSTANCE_SETTERS__",n=>pn=n),kp=t("__VUE_SSR_SETTERS__",n=>ec=n)}const ya=e=>{const t=pn;return Od(e),e.scope.on(),()=>{e.scope.off(),Od(t)}},Ap=()=>{pn&&pn.scope.off(),Od(null)};function gx(e){return e.vnode.shapeFlag&4}let ec=!1;function yx(e,t=!1){t&&kp(t);const{props:n,children:r}=e.vnode,a=gx(e);xT(e,n,a,t),_T(e,r);const c=a?FT(e,t):void 0;return t&&kp(!1),c}function FT(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,bp);const{setup:r}=n;if(r){const a=e.setupContext=r.length>1?bx(e):null,c=ya(e);Ns();const p=Rr(r,e,0,[e.props,a]);if(Rs(),c(),am(p)){if(p.then(Ap,Ap),t)return p.then(w=>{Tp(e,w,t)}).catch(w=>{wa(w,e,0)});e.asyncDep=p}else Tp(e,p,t)}else vx(e,t)}function Tp(e,t,n){Vt(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:_i(t)&&(e.setupState=vm(t)),vx(e,n)}let Id,Ep;function DT(e){Id=e,Ep=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,eT))}}const BT=()=>!Id;function vx(e,t,n){const r=e.type;if(!e.render){if(!t&&Id&&!r.render){const a=r.template||Tm(e).template;if(a){const{isCustomElement:c,compilerOptions:p}=e.appContext.config,{delimiters:w,compilerOptions:_}=r,T=Ni(Ni({isCustomElement:c,delimiters:w},p),_);r.render=Id(a,T)}}e.render=r.render||Hn,Ep&&Ep(e)}{const a=ya(e);Ns();try{hT(e)}finally{Rs(),a()}}}const VT={get(e,t){return Qn(e,"get",""),e[t]}};function bx(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,VT),slots:e.slots,emit:e.emit,expose:t}}function uh(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(vm(Rl(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in _u)return _u[n](e)},has(t,n){return n in t||n in _u}}))}function Mp(e,t=!0){return Vt(e)?e.displayName||e.name:e.name||t&&e.__name}function qT(e){return Vt(e)&&"__vccOpts"in e}const ce=(e,t)=>dA(e,t,ec);function xx(e,t,n=wi){const r=ri(),a=zn(t),c=ao(t),p=S0((_,T)=>{let A;return F0(()=>{const P=e[t];Go(A,P)&&(A=P,T())}),{get(){return _(),n.get?n.get(A):A},set(P){const O=r.vnode.props;!(O&&(t in O||a in O||c in O)&&(`onUpdate:${t}`in O||`onUpdate:${a}`in O||`onUpdate:${c}`in O))&&Go(P,A)&&(A=P,T()),r.emit(`update:${t}`,n.set?n.set(P):P)}}}),w=t==="modelValue"?"modelModifiers":`${t}Modifiers`;return p[Symbol.iterator]=()=>{let _=0;return{next(){return _<2?{value:_++?e[w]||{}:p,done:!1}:{done:!0}}}},p}function Se(e,t,n){const r=arguments.length;return r===2?_i(t)&&!Ct(t)?Os(t)?fe(e,null,[t]):fe(e,t):fe(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Os(n)&&(n=[n]),fe(e,t,n))}function HT(){}function zT(e,t,n,r){const a=n[r];if(a&&wx(a,e))return a;const c=t();return c.memo=e.slice(),n[r]=c}function wx(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let r=0;r<n.length;r++)if(Go(n[r],t[r]))return!1;return ga>0&&Kn&&Kn.push(e),!0}const Sx="3.4.25",jT=Hn,$T=kA,UT=ll,WT=T0,GT={createComponentInstance:mx,setupComponent:yx,renderComponentRoot:fd,setCurrentRenderingInstance:Ru,isVNode:Os,normalizeVNode:so},YT=GT,XT=null,KT=null,QT=null;/** 14* @vue/runtime-dom v3.4.25 15* (c) 2018-present Yuxi (Evan) You and Vue contributors 16* @license MIT
17**/const ZT="http://www.w3.org/2000/svg",JT="http://www.w3.org/1998/Math/MathML",Ss=typeof document!="undefined"?document:null,ov=Ss&&Ss.createElement("template"),eE={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 a=t==="svg"?Ss.createElementNS(ZT,e):t==="mathml"?Ss.createElementNS(JT,e):Ss.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&a.setAttribute("multiple",r.multiple),a},createText:e=>Ss.createTextNode(e),createComment:e=>Ss.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ss.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,a,c){const p=n?n.previousSibling:t.lastChild;if(a&&(a===c||a.nextSibling))for(;t.insertBefore(a.cloneNode(!0),n),!(a===c||!(a=a.nextSibling)););else{ov.innerHTML=r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e;const w=ov.content;if(r==="svg"||r==="mathml"){const _=w.firstChild;for(;_.firstChild;)w.appendChild(_.firstChild);w.removeChild(_)}t.insertBefore(w,n)}return[p?p.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},ms="transition",du="animation",kl=Symbol("_vtc"),qr=(e,{slots:t})=>
vendor: 17,695 bytes, lines 17-20
17Se(B0,Cx(e),t);qr.displayName="Transition";const _x={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},tE=qr.props=Ni({},km,_x),Zs=(e,t=[])=>{Ct(e)?e.forEach(n=>n(...t)):e&&e(...t)},rv=e=>e?Ct(e)?e.some(t=>t.length>1):e.length>1:!1;function Cx(e){const t={};for(const oe in e)oe in _x||(t[oe]=e[oe]);if(e.css===!1)return t;const{name:n="v",type:r,duration:a,enterFromClass:c=`${n}-enter-from`,enterActiveClass:p=`${n}-enter-active`,enterToClass:w=`${n}-enter-to`,appearFromClass:_=c,appearActiveClass:T=p,appearToClass:A=w,leaveFromClass:P=`${n}-leave-from`,leaveActiveClass:O=`${n}-leave-active`,leaveToClass:B=`${n}-leave-to`}=e,z=iE(a),U=z&&z[0],J=z&&z[1],{onBeforeEnter:ee,onEnter:Y,onEnterCancelled:q,onLeave:$,onLeaveCancelled:G,onBeforeAppear:X=ee,onAppear:v=Y,onAppearCancelled:me=q}=t,re=(oe,Ee,Pe)=>{vs(oe,Ee?A:w),vs(oe,Ee?T:p),Pe&&Pe()},de=(oe,Ee)=>{oe._isLeaving=!1,vs(oe,P),vs(oe,B),vs(oe,O),Ee&&Ee()},Oe=oe=>(Ee,Pe)=>{const Je=oe?v:Y,Fe=()=>re(Ee,oe,Pe);Zs(Je,[Ee,Fe]),sv(()=>{vs(Ee,oe?_:c),Ir(Ee,oe?A:w),rv(Je)||av(Ee,r,U,Fe)})};return Ni(t,{onBeforeEnter(oe){Zs(ee,[oe]),Ir(oe,c),Ir(oe,p)},onBeforeAppear(oe){Zs(X,[oe]),Ir(oe,_),Ir(oe,T)},onEnter:Oe(!1),onAppear:Oe(!0),onLeave(oe,Ee){oe._isLeaving=!0;const Pe=()=>de(oe,Ee);Ir(oe,P),Ir(oe,O),Ax(),sv(()=>{!oe._isLeaving||(vs(oe,P),Ir(oe,B),rv($)||av(oe,r,J,Pe))}),Zs($,[oe,Pe])},onEnterCancelled(oe){re(oe,!1),Zs(q,[oe])},onAppearCancelled(oe){re(oe,!0),Zs(me,[oe])},onLeaveCancelled(oe){de(oe),Zs(G,[oe])}})}function iE(e){if(e==null)return null;if(_i(e))return[Hf(e.enter),Hf(e.leave)];{const t=Hf(e);return[t,t]}}function Hf(e){return kd(e)}function Ir(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[kl]||(e[kl]=new Set)).add(t)}function vs(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[kl];n&&(n.delete(t),n.size||(e[kl]=void 0))}function sv(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let nE=0;function av(e,t,n,r){const a=e._endId=++nE,c=()=>{a===e._endId&&r()};if(n)return setTimeout(c,n);const{type:p,timeout:w,propCount:_}=kx(e,t);if(!p)return r();const T=p+"end";let A=0;const P=()=>{e.removeEventListener(T,O),c()},O=B=>{B.target===e&&++A>=_&&P()};setTimeout(()=>{A<_&&P()},w+1),e.addEventListener(T,O)}function kx(e,t){const n=window.getComputedStyle(e),r=z=>(n[z]||"").split(", "),a=r(`${ms}Delay`),c=r(`${ms}Duration`),p=lv(a,c),w=r(`${du}Delay`),_=r(`${du}Duration`),T=lv(w,_);let A=null,P=0,O=0;t===ms?p>0&&(A=ms,P=p,O=c.length):t===du?T>0&&(A=du,P=T,O=_.length):(P=Math.max(p,T),A=P>0?p>T?ms:du:null,O=A?A===ms?c.length:_.length:0);const B=A===ms&&/\b(transform|all)(,|$)/.test(r(`${ms}Property`).toString());return{type:A,timeout:P,propCount:O,hasTransform:B}}function lv(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>uv(n)+uv(e[r])))}function uv(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Ax(){return document.body.offsetHeight}function oE(e,t,n){const r=e[kl];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ld=Symbol("_vod"),Tx=Symbol("_vsh"),Al={beforeMount(e,{value:t},{transition:n}){e[Ld]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):hu(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),hu(e,!0),r.enter(e)):r.leave(e,()=>{hu(e,!1)}):hu(e,t))},beforeUnmount(e,{value:t}){hu(e,t)}};function hu(e,t){e.style.display=t?e[Ld]:"none",e[Tx]=!t}function rE(){Al.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const Ex=Symbol("");function sE(e){const t=ri();if(!t)return;const n=t.ut=(a=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(c=>Op(c,a))},r=()=>{const a=e(t.proxy);Pp(t.subTree,a),n(a)};Rn(()=>{R0(r);const a=new MutationObserver(r);a.observe(t.subTree.el.parentNode,{childList:!0}),_a(()=>a.disconnect())})}function Pp(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Pp(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Op(e.el,t);else if(e.type===$t)e.children.forEach(n=>Pp(n,t));else if(e.type===ca){let{el:n,anchor:r}=e;for(;n&&(Op(n,t),n!==r);)n=n.nextSibling}}function Op(e,t){if(e.nodeType===1){const n=e.style;let r="";for(const a in t)n.setProperty(`--${a}`,t[a]),r+=`--${a}: ${t[a]};`;n[Ex]=r}}const aE=/(^|;)\s*display\s*:/;function lE(e,t,n){const r=e.style,a=Bi(n);let c=!1;if(n&&!a){if(t)if(Bi(t))for(const p of t.split(";")){const w=p.slice(0,p.indexOf(":")).trim();n[w]==null&&md(r,w,"")}else for(const p in t)n[p]==null&&md(r,p,"");for(const p in n)p==="display"&&(c=!0),md(r,p,n[p])}else if(a){if(t!==n){const p=r[Ex];p&&(n+=";"+p),r.cssText=n,c=aE.test(n)}}else t&&e.removeAttribute("style");Ld in e&&(e[Ld]=c?r.display:"",e[Tx]&&(r.display="none"))}const cv=/\s*!important$/;function md(e,t,n){if(Ct(n))n.forEach(r=>md(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=uE(e,t);cv.test(n)?e.setProperty(ao(r),n.replace(cv,""),"important"):e[r]=n}}const dv=["Webkit","Moz","ms"],zf={};function uE(e,t){const n=zf[t];if(n)return n;let r=zn(t);if(r!=="filter"&&r in e)return zf[t]=r;r=Gu(r);for(let a=0;a<dv.length;a++){const c=dv[a]+r;if(c in e)return zf[t]=c}return t}const hv="http://www.w3.org/1999/xlink";function cE(e,t,n,r,a){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(hv,t.slice(6,t.length)):e.setAttributeNS(hv,t,n);else{const c=Vk(t);n==null||c&&!t0(n)?e.removeAttribute(t):e.setAttribute(t,c?"":n)}}function dE(e,t,n,r,a,c,p){if(t==="innerHTML"||t==="textContent"){r&&p(r,a,c),e[t]=n==null?"":n;return}const w=e.tagName;if(t==="value"&&w!=="PROGRESS"&&!w.includes("-")){const T=w==="OPTION"?e.getAttribute("value")||"":e.value,A=n==null?"":n;(T!==A||!("_value"in e))&&(e.value=A),n==null&&e.removeAttribute(t),e._value=n;return}let _=!1;if(n===""||n==null){const T=typeof e[t];T==="boolean"?n=t0(n):n==null&&T==="string"?(n="",_=!0):T==="number"&&(n=0,_=!0)}try{e[t]=n}catch{}_&&e.removeAttribute(t)}function Lr(e,t,n,r){e.addEventListener(t,n,r)}function hE(e,t,n,r){e.removeEventListener(t,n,r)}const fv=Symbol("_vei");function fE(e,t,n,r,a=null){const c=e[fv]||(e[fv]={}),p=c[t];if(r&&p)p.value=r;else{const[w,_]=pE(t);if(r){const T=c[t]=yE(r,a);Lr(e,w,T,_)}else p&&(hE(e,w,p,_),c[t]=void 0)}}const pv=/(?:Once|Passive|Capture)$/;function pE(e){let t;if(pv.test(e)){t={};let r;for(;r=e.match(pv);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):ao(e.slice(2)),t]}let jf=0;const mE=Promise.resolve(),gE=()=>jf||(mE.then(()=>jf=0),jf=Date.now());function yE(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;uo(vE(r,n.value),t,5,[r])};return n.value=e,n.attached=gE(),n}function vE(e,t){if(Ct(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>a=>!a._stopped&&r&&r(a))}else return t}const mv=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,bE=(e,t,n,r,a,c,p,w,_)=>{const T=a==="svg";t==="class"?oE(e,r,T):t==="style"?lE(e,n,r):Wu(t)?rm(t)||fE(e,t,n,r,p):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):xE(e,t,r,T))?dE(e,t,r,c,p,w,_):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),cE(e,t,r,T))};function xE(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&mv(t)&&Vt(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 a=e.tagName;if(a==="IMG"||a==="VIDEO"||a==="CANVAS"||a==="SOURCE")return!1}return mv(t)&&Bi(n)?!1:t in e}/*! #__NO_SIDE_EFFECTS__ */function Mx(e,t){const n=Sa(e);class r extends ch{constructor(c){super(n,c,t)}}return r.def=n,r}/*! #__NO_SIDE_EFFECTS__ */const wE=e=>Mx(e,Hx),SE=typeof HTMLElement!="undefined"?HTMLElement:class{};class ch extends SE{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),Ai(()=>{this._connected||(Ip(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 a of r)this._setAttr(a.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(r,a=!1)=>{const{props:c,styles:p}=r;let w;if(c&&!Ct(c))for(const _ in c){const T=c[_];(T===Number||T&&T.type===Number)&&(_ in this._props&&(this._props[_]=kd(this._props[_])),(w||(w=Object.create(null)))[zn(_)]=!0)}this._numberProps=w,a&&this._resolveProps(r),this._applyStyles(p),this._update()},n=this._def.__asyncLoader;n?n().then(r=>t(r,!0)):t(this._def)}_resolveProps(t){const{props:n}=t,r=Ct(n)?n:Object.keys(n||{});for(const a of Object.keys(this))a[0]!=="_"&&r.includes(a)&&this._setProp(a,this[a],!0,!1);for(const a of r.map(zn))Object.defineProperty(this,a,{get(){return this._getProp(a)},set(c){this._setProp(a,c)}})}_setAttr(t){let n=this.hasAttribute(t)?this.getAttribute(t):void 0;const r=zn(t);this._numberProps&&this._numberProps[r]&&(n=kd(n)),this._setProp(r,n,!1)}_getProp(t){return this._props[t]}_setProp(t,n,r=!0,a=!0){n!==this._props[t]&&(this._props[t]=n,a&&this._instance&&this._update(),r&&(n===!0?this.setAttribute(ao(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(ao(t),n+""):n||this.removeAttribute(ao(t))))}_update(){Ip(this._createVNode(),this.shadowRoot)}_createVNode(){const t=fe(this._def,Ni({},this._props));return this._instance||(t.ce=n=>{this._instance=n,n.isCE=!0;const r=(c,p)=>{this.dispatchEvent(new CustomEvent(c,{detail:p}))};n.emit=(c,...p)=>{r(c,p),ao(c)!==c&&r(ao(c),p)};let a=this;for(;a=a&&(a.parentNode||a.host);)if(a instanceof ch){n.parent=a._instance,n.provides=a._instance.provides;break}}),t}_applyStyles(t){t&&t.forEach(n=>{const r=document.createElement("style");r.textContent=n,this.shadowRoot.appendChild(r)})}}function _E(e="$style"){{const t=ri();if(!t)return wi;const n=t.type.__cssModules;if(!n)return wi;const r=n[e];return r||wi}}const Px=new WeakMap,Ox=new WeakMap,Nd=Symbol("_moveCb"),gv=Symbol("_enterCb"),Ix={name:"TransitionGroup",props:Ni({},tE,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=ri(),r=Cm();let a,c;return Zu(()=>{if(!a.length)return;const p=e.moveClass||`${e.name||"v"}-move`;if(!EE(a[0].el,n.vnode.el,p))return;a.forEach(kE),a.forEach(AE);const w=a.filter(TE);Ax(),w.forEach(_=>{const T=_.el,A=T.style;Ir(T,p),A.transform=A.webkitTransform=A.transitionDuration="";const P=T[Nd]=O=>{O&&O.target!==T||(!O||/transform$/.test(O.propertyName))&&(T.removeEventListener("transitionend",P),T[Nd]=null,vs(T,p))};T.addEventListener("transitionend",P)})}),()=>{const p=Qt(e),w=Cx(p);let _=p.tag||$t;if(a=[],c)for(let T=0;T<c.length;T++){const A=c[T];A.el&&A.el instanceof Element&&(a.push(A),pa(A,Cl(A,w,r,n)),Px.set(A,A.el.getBoundingClientRect()))}c=t.default?rh(t.default()):[];for(let T=0;T<c.length;T++){const A=c[T];A.key!=null&&pa(A,Cl(A,w,r,n))}return fe(_,null,c)}}},CE=e=>delete e.mode;Ix.props;const Lx=Ix;function kE(e){const t=e.el;t[Nd]&&t[Nd](),t[gv]&&t[gv]()}function AE(e){Ox.set(e,e.el.getBoundingClientRect())}function TE(e){const t=Px.get(e),n=Ox.get(e),r=t.left-n.left,a=t.top-n.top;if(r||a){const c=e.el.style;return c.transform=c.webkitTransform=`translate(${r}px,${a}px)`,c.transitionDuration="0s",e}}function EE(e,t,n){const r=e.cloneNode(),a=e[kl];a&&a.forEach(w=>{w.split(/\s+/).forEach(_=>_&&r.classList.remove(_))}),n.split(/\s+/).forEach(w=>w&&r.classList.add(w)),r.style.display="none";const c=t.nodeType===1?t:t.parentNode;c.appendChild(r);const{hasTransform:p}=kx(r);return c.removeChild(r),p}const Is=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Ct(t)?n=>pl(t,n):t};function ME(e){e.target.composing=!0}function yv(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const ko=Symbol("_assign"),Tl={created(e,{modifiers:{lazy:t,trim:n,number:r}},a){e[ko]=Is(a);const c=r||a.props&&a.props.type==="number";Lr(e,t?"change":"input",p=>{if(p.target.composing)return;let w=e.value;n&&(w=w.trim()),c&&(w=Cd(w)),e[ko](w)}),n&&Lr(e,"change",()=>{e.value=e.value.trim()}),t||(Lr(e,"compositionstart",ME),Lr(e,"compositionend",yv),Lr(e,"change",yv))},mounted(e,{value:t}){e.value=t==null?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:a}},c){if(e[ko]=Is(c),e.composing)return;const p=(a||e.type==="number")&&!/^0\d/.test(e.value)?Cd(e.value):e.value,w=t==null?"":t;p!==w&&(document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===w)||(e.value=w))}},Om={deep:!0,created(e,t,n){e[ko]=Is(n),Lr(e,"change",()=>{const r=e._modelValue,a=El(e),c=e.checked,p=e[ko];if(Ct(r)){const w=Zd(r,a),_=w!==-1;if(c&&!_)p(r.concat(a));else if(!c&&_){const T=[...r];T.splice(w,1),p(T)}}else if(xa(r)){const w=new Set(r);c?w.add(a):w.delete(a),p(w)}else p(Nx(e,c))})},mounted:vv,beforeUpdate(e,t,n){e[ko]=Is(n),vv(e,t,n)}};function vv(e,{value:t,oldValue:n},r){e._modelValue=t,Ct(t)?e.checked=Zd(t,r.props.value)>-1:xa(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=Ps(t,Nx(e,!0)))}const dh={created(e,{value:t},n){e.checked=Ps(t,n.props.value),e[ko]=Is(n),Lr(e,"change",()=>{e[ko](El(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[ko]=Is(r),t!==n&&(e.checked=Ps(t,r.props.value))}},Im={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const a=xa(t);Lr(e,"change",()=>{const c=Array.prototype.filter.call(e.options,p=>p.selected).map(p=>n?Cd(El(p)):El(p));e[ko](e.multiple?a?new Set(c):c:c[0]),e._assigning=!0,Ai(()=>{e._assigning=!1})}),e[ko]=Is(r)},mounted(e,{value:t,modifiers:{number:n}}){bv(e,t)},beforeUpdate(e,t,n){e[ko]=Is(n)},updated(e,{value:t,modifiers:{number:n}}){e._assigning||bv(e,t)}};function bv(e,t,n){const r=e.multiple,a=Ct(t);if(!(r&&!a&&!xa(t))){for(let c=0,p=e.options.length;c<p;c++){const w=e.options[c],_=El(w);if(r)if(a){const T=typeof _;T==="string"||T==="number"?w.selected=t.some(A=>String(A)===String(_)):w.selected=Zd(t,_)>-1}else w.selected=t.has(_);else if(Ps(El(w),t)){e.selectedIndex!==c&&(e.selectedIndex=c);return}}!r&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function El(e){return"_value"in e?e._value:e.value}function Nx(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Rx={created(e,t,n){sd(e,t,n,null,"created")},mounted(e,t,n){sd(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){sd(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){sd(e,t,n,r,"updated")}};function Fx(e,t){switch(e){case"SELECT":return Im;case"TEXTAREA":return Tl;default:switch(t){case"checkbox":return Om;case"radio":return dh;default:return Tl}}}function sd(e,t,n,r,a){const p=Fx(e.tagName,n.props&&n.props.type)[a];p&&p(e,t,n,r)}function PE(){Tl.getSSRProps=({value:e})=>({value:e}),dh.getSSRProps=({value:e},t)=>{if(t.props&&Ps(t.props.value,e))return{checked:!0}},Om.getSSRProps=({value:e},t)=>{if(Ct(e)){if(t.props&&Zd(e,t.props.value)>-1)return{checked:!0}}else if(xa(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},Rx.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=Fx(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const OE=["ctrl","shift","alt","meta"],IE={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)=>OE.some(n=>e[`${n}Key`]&&!t.includes(n))},Dx=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(a,...c)=>{for(let p=0;p<t.length;p++){const w=IE[t[p]];if(w&&w(a,t))return}return e(a,...c)})},LE={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},NE=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=a=>{if(!("key"in a))return;const c=ao(a.key);if(t.some(p=>p===c||LE[p]===c))return e(a)})},Bx=Ni({patchProp:bE},eE);let Au,xv=!1;function Vx(){return Au||(Au=ox(Bx))}function qx(){return Au=xv?Au:rx(Bx),xv=!0,Au}const Ip=(...e)=>{Vx().render(...e)},Hx=(...e)=>{qx().hydrate(...e)},hh=(...e)=>{const t=Vx().createApp(...e),{mount:n}=t;return t.mount=r=>{const a=jx(r);if(!a)return;const c=t._component;!Vt(c)&&!c.render&&!c.template&&(c.template=a.innerHTML),a.innerHTML="";const p=n(a,!1,zx(a));return a instanceof Element&&(a.removeAttribute("v-cloak"),a.setAttribute("data-v-app","")),p},t},RE=(...e)=>{const t=qx().createApp(...e),{mount:n}=t;return t.mount=r=>{const a=jx(r);if(a)return n(a,!0,zx(a))},t};function zx(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function jx(e){return Bi(e)?document.querySelector(e):e}let wv=!1;const FE=()=>{wv||(wv=!0,PE(),rE())};/** 18* vue v3.4.25 19* (c) 2018-present Yuxi (Evan) You and Vue contributors 20* @license MIT
21**/const DE=()=>{};var BE=Object.freeze(Object.defineProperty({__proto__:null,compile:DE,EffectScope:um,ReactiveEffect:Sl,TrackOpTypes:wA,TriggerOpTypes:SA,customRef:S0,effect:jk,effectScope:n0,getCurrentScope:r0,isProxy:mm,isReactive:ml,isReadonly:_l,isRef:An,isShallow:Ou,markRaw:Rl,onScopeDispose:Hk,proxyRefs:vm,reactive:kn,readonly:pm,ref:Ke,shallowReactive:fm,shallowReadonly:cA,shallowRef:x0,stop:$k,toRaw:Qt,toRef:xA,toRefs:yA,toValue:pA,triggerRef:fA,unref:Ji,camelize:zn,capitalize:Gu,normalizeClass:ji,normalizeProps:Dk,normalizeStyle:Hr,toDisplayString:dt,toHandlerKey:Su,BaseTransition:B0,BaseTransitionPropsValidators:km,Comment:Nn,DeprecationTypes:QT,ErrorCodes:CA,ErrorTypeStrings:$T,Fragment:$t,KeepAlive:KA,Static:ca,Suspense:qA,Teleport:ux,Text:ma,assertNumber:_A,callWithAsyncErrorHandling:uo,callWithErrorHandling:Rr,cloneVNode:gr,compatUtils:KT,computed:ce,createBlock:Rt,createCommentVNode:ht,createElementBlock:We,createElementVNode:N,createHydrationRenderer:rx,createPropsRestProxy:cT,createRenderer:ox,createSlots:ZA,createStaticVNode:Dl,createTextVNode:Ze,createVNode:fe,defineAsyncComponent:YA,defineComponent:Sa,defineEmits:iT,defineExpose:nT,defineModel:sT,defineOptions:oT,defineProps:tT,defineSlots:rT,devtools:UT,getCurrentInstance:ri,getTransitionRawChildren:rh,guardReactiveProps:px,h:Se,handleError:wa,hasInjectionContext:bT,initCustomFormatter:HT,inject:Pi,isMemoSame:wx,isRuntimeOnly:BT,isVNode:Os,mergeDefaults:uT,mergeModels:G0,mergeProps:Wo,nextTick:Ai,onActivated:sh,onBeforeMount:Am,onBeforeUnmount:Ci,onBeforeUpdate:lh,onDeactivated:Fl,onErrorCaptured:$0,onMounted:Rn,onRenderTracked:j0,onRenderTriggered:z0,onServerPrefetch:H0,onUnmounted:_a,onUpdated:Zu,openBlock:xe,popScopeId:Xu,provide:Fr,pushScopeId:Yu,queuePostFlushCb:Td,registerRuntimeCompiler:DT,renderList:Vr,renderSlot:co,resolveComponent:ze,resolveDirective:BA,resolveDynamicComponent:DA,resolveFilter:XT,resolveTransitionHooks:Cl,setBlockTracking:Cp,setDevtoolsHook:WT,setTransitionHooks:pa,ssrContextKey:I0,ssrUtils:YT,toHandlers:JA,transformVNodeArgs:IT,useAttrs:Ju,useModel:xx,useSSRContext:L0,useSlots:lT,useTransitionState:Cm,version:Sx,warn:jT,watch:Ft,watchEffect:N0,watchPostEffect:R0,watchSyncEffect:F0,withAsyncContext:dT,withCtx:_t,withDefaults:aT,withDirectives:Uo,withMemo:zT,withScopeId:OA,Transition:qr,TransitionGroup:Lx,VueElement:ch,createApp:hh,createSSRApp:RE,defineCustomElement:Mx,defineSSRCustomElement:wE,hydrate:Hx,initDirectivesForSSR:FE,render:Ip,useCssModule:_E,useCssVars:sE,vModelCheckbox:Om,vModelDynamic:Rx,vModelRadio:dh,vModelSelect:Im,vModelText:Tl,vShow:Al,withKeys:NE,withModifiers:Dx},Symbol.toStringTag,{value:"Module"}));function Bl(e,t,n,r){return Object.defineProperty(e,t,{get:n,set:r,enumerable:!0}),e}const Eo=Ke(!1);let Lp;function VE(e,t){const n=/(edg|edge|edga|edgios)\/([\w.]+)/.exec(e)||/(opr)[\/]([\w.]+)/.exec(e)||/(vivaldi)[\/]([\w.]+)/.exec(e)||/(chrome|crios)[\/]([\w.]+)/.exec(e)||/(version)(applewebkit)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e)||/(webkit)[\/]([\w.]+).*(version)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e)||/(firefox|fxios)[\/]([\w.]+)/.exec(e)||/(webkit)[\/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[\/]([\w.]+)/.exec(e)||[];return{browser:n[5]||n[3]||n[1]||"",version:n[4]||n[2]||"0",platform:t[0]||""}}function qE(e){return/(ipad)/.exec(e)||/(ipod)/.exec(e)||/(windows phone)/.exec(e)||/(iphone)/.exec(e)||/(kindle)/.exec(e)||/(silk)/.exec(e)||/(android)/.exec(e)||/(win)/.exec(e)||/(mac)/.exec(e)||/(linux)/.exec(e)||/(cros)/.exec(e)||/(playbook)/.exec(e)||/(bb)/.exec(e)||/(blackberry)/.exec(e)||[]}const $x="ontouchstart"in window||window.navigator.maxTouchPoints>0;function HE(e){const t=e.toLowerCase(),n=qE(t),r=VE(t,n),a={};r.browser&&(a[r.browser]=!0,a.version=r.version,a.versionNumber=parseInt(r.version,10)),r.platform&&(a[r.platform]=!0);const c=a.android||a.ios||a.bb||a.blackberry||a.ipad||a.iphone||a.ipod||a.kindle||a.playbook||a.silk||a["windows phone"];if(c===!0||t.indexOf("mobile")!==-1?a.mobile=!0:a.desktop=!0,a["windows phone"]&&(a.winphone=!0,delete a["windows phone"]),a.edga||a.edgios||a.edg?(a.edge=!0,r.browser="edge"):a.crios?(a.chrome=!0,r.browser="chrome"):a.fxios&&(a.firefox=!0,r.browser="firefox"),(a.ipod||a.ipad||a.iphone)&&(a.ios=!0),a.vivaldi&&(r.browser="vivaldi",a.vivaldi=!0),(a.chrome||a.opr||a.safari||a.vivaldi||a.mobile===!0&&a.ios!==!0&&c!==!0)&&(a.webkit=!0),a.opr&&(r.browser="opera",a.opera=!0),a.safari&&(a.blackberry||a.bb?(r.browser="blackberry",a.blackberry=!0):a.playbook?(r.browser="playbook",a.playbook=!0):a.android?(r.browser="android",a.android=!0):a.kindle?(r.browser="kindle",a.kindle=!0):a.silk&&(r.browser="silk",a.silk=!0)),a.name=r.browser,a.platform=r.platform,t.indexOf("electron")!==-1)a.electron=!0;else if(document.location.href.indexOf("-extension://")!==-1)a.bex=!0;else{if(window.Capacitor!==void 0?(a.capacitor=!0,a.nativeMobile=!0,a.nativeMobileWrapper="capacitor"):(window._cordovaNative!==void 0||window.cordova!==void 0)&&(a.cordova=!0,a.nativeMobile=!0,a.nativeMobileWrapper="cordova"),Eo.value===!0&&(Lp={is:{...a}}),$x===!0&&a.mac===!0&&(a.desktop===!0&&a.safari===!0||a.nativeMobile===!0&&a.android!==!0&&a.ios!==!0&&a.ipad!==!0)){delete a.mac,delete a.desktop;const p=Math.min(window.innerHeight,window.innerWidth)>414?"ipad":"iphone";Object.assign(a,{mobile:!0,ios:!0,platform:p,[p]:!0})}a.mobile!==!0&&window.navigator.userAgentData&&window.navigator.userAgentData.mobile&&(delete a.desktop,a.mobile=!0)}return a}const Sv=navigator.userAgent||navigator.vendor||window.opera,zE={has:{touch:!1,webStorage:!1},within:{iframe:!1}},rn={userAgent:Sv,is:HE(Sv),has:{touch:$x},within:{iframe:window.self!==window.top}},Rd={install(e){const{$q:t}=e;Eo.value===!0?(e.onSSRHydrated.push(()=>{Object.assign(t.platform,rn),Eo.value=!1}),t.platform=kn(this)):t.platform=this}};{let e;Bl(rn.has,"webStorage",()=>{if(e!==void 0)return e;try{if(window.localStorage)return e=!0,!0}catch{}return e=!1,!1}),Object.assign(Rd,rn),Eo.value===!0&&(Object.assign(Rd,Lp,zE),Lp=null)}function $i(e){return Rl(Sa(e))}function jE(e){return Rl(e)}const tc=(e,t)=>{const n=kn(e);for(const r in e)Bl(t,r,()=>n[r],a=>{n[r]=a});return t},vn={hasPassive:!1,passiveCapture:!0,notPassiveCapture:!0};try{const e=Object.defineProperty({},"passive",{get(){Object.assign(vn,{hasPassive:!0,passive:{passive:!0},notPassive:{passive:!1},passiveCapture:{passive:!0,capture:!0},notPassiveCapture:{passive:!1,capture:!0}})}});window.addEventListener("qtest",null,e),window.removeEventListener("qtest",null,e)}catch{}function Ls(){}function Ux(e){return e.touches&&e.touches[0]?e=e.touches[0]:e.changedTouches&&e.changedTouches[0]?e=e.changedTouches[0]:e.targetTouches&&e.targetTouches[0]&&(e=e.targetTouches[0]),{top:e.clientY,left:e.clientX}}function $E(e){if(e.path)return e.path;if(e.composedPath)return e.composedPath();const t=[];let n=e.target;for(;n;){if(t.push(n),n.tagName==="HTML")return t.push(document),t.push(window),t;n=n.parentElement}}function hr(e){e.stopPropagation()}function $o(e){e.cancelable!==!1&&e.preventDefault()}function Zi(e){e.cancelable!==!1&&e.preventDefault(),e.stopPropagation()}
21function Np(e,t,n){const r=`__q_${t}_evt`;e[r]=e[r]!==void 0?e[r].concat(n):n,n.forEach(a=>{a[0].addEventListener(a[1],e[a[2]],vn[a[3]])})}function Wx(e,t){const n=`__q_${t}_evt`;e[n]!==void 0&&(e[n].forEach(r=>{r[0].removeEventListener(r[1],e[r[2]],vn[r[3]])}),e[n]=void 0)}function Lm(e,t=250,n){let r=null;function a(){const c=arguments,p=()=>{r=null,n!==!0&&e.apply(this,c)};r!==null?clearTimeout(r):n===!0&&e.apply(this,c),r=setTimeout(p,t)}return a.cancel=()=>{r!==null&&clearTimeout(r)},a}const $f=["sm","md","lg","xl"],{passive:_v}=vn;var UE=tc({width:0,height:0,name:"xs",sizes:{sm:600,md:1024,lg:1440,xl:1920},lt:{sm:!0,md:!0,lg:!0,xl:!0},gt:{xs:!1,sm:!1,md:!1,lg:!1},xs:!0,sm:!1,md:!1,lg:!1,xl:!1},{setSizes:Ls,setDebounce:Ls,install({$q:e,onSSRHydrated:t}){if(e.screen=this,this.__installed===!0){e.config.screen!==void 0&&(e.config.screen.bodyClasses===!1?document.body.classList.remove(`screen--${this.name}`):this.__update(!0));return}const{visualViewport:n}=window,r=n||window,a=document.scrollingElement||document.documentElement,c=n===void 0||rn.is.mobile===!0?()=>[Math.max(window.innerWidth,a.clientWidth),Math.max(window.innerHeight,a.clientHeight)]:()=>[n.width*n.scale+window.innerWidth-a.clientWidth,n.height*n.scale+window.innerHeight-a.clientHeight],p=e.config.screen!==void 0&&e.config.screen.bodyClasses===!0;this.__update=P=>{const[O,B]=c();if(B!==this.height&&(this.height=B),O!==this.width)this.width=O;else if(P!==!0)return;let z=this.sizes;this.gt.xs=O>=z.sm,this.gt.sm=O>=z.md,this.gt.md=O>=z.lg,this.gt.lg=O>=z.xl,this.lt.sm=O<z.sm,this.lt.md=O<z.md,this.lt.lg=O<z.lg,this.lt.xl=O<z.xl,this.xs=this.lt.sm,this.sm=this.gt.xs===!0&&this.lt.md===!0,this.md=this.gt.sm===!0&&this.lt.lg===!0,this.lg=this.gt.md===!0&&this.lt.xl===!0,this.xl=this.gt.lg,z=this.xs===!0&&"xs"||this.sm===!0&&"sm"||this.md===!0&&"md"||this.lg===!0&&"lg"||"xl",z!==this.name&&(p===!0&&(document.body.classList.remove(`screen--${this.name}`),document.body.classList.add(`screen--${z}`)),this.name=z)};let w,_={},T=16;this.setSizes=P=>{$f.forEach(O=>{P[O]!==void 0&&(_[O]=P[O])})},this.setDebounce=P=>{T=P};const A=()=>{const P=getComputedStyle(document.body);P.getPropertyValue("--q-size-sm")&&$f.forEach(O=>{this.sizes[O]=parseInt(P.getPropertyValue(`--q-size-${O}`),10)}),this.setSizes=O=>{$f.forEach(B=>{O[B]&&(this.sizes[B]=O[B])}),this.__update(!0)},this.setDebounce=O=>{w!==void 0&&r.removeEventListener("resize",w,_v),w=O>0?Lm(this.__update,O):this.__update,r.addEventListener("resize",w,_v)},this.setDebounce(T),Object.keys(_).length!==0?(this.setSizes(_),_=void 0):this.__update(),p===!0&&this.name==="xs"&&document.body.classList.add("screen--xs")};Eo.value===!0?t.push(A):A()}});const In=tc({isActive:!1,mode:!1},{__media:void 0,set(e){In.mode=e,e==="auto"?(In.__media===void 0&&(In.__media=window.matchMedia("(prefers-color-scheme: dark)"),In.__updateMedia=()=>{In.set("auto")},In.__media.addListener(In.__updateMedia)),e=In.__media.matches):In.__media!==void 0&&(In.__media.removeListener(In.__updateMedia),In.__media=void 0),In.isActive=e===!0,document.body.classList.remove(`body--${e===!0?"light":"dark"}`),document.body.classList.add(`body--${e===!0?"dark":"light"}`)},toggle(){In.set(In.isActive===!1)},install({$q:e,ssrContext:t}){const{dark:n}=e.config;e.dark=this,this.__installed!==!0&&this.set(n!==void 0?n:!1)}});function WE(e,t,n=document.body){if(typeof e!="string")throw new TypeError("Expected a string as propName");if(typeof t!="string")throw new TypeError("Expected a string as value");if(!(n instanceof Element))throw new TypeError("Expected a DOM element");n.style.setProperty(`--q-${e}`,t)}let Gx=!1;function GE(e){Gx=e.isComposing===!0}function Nm(e){return Gx===!0||e!==Object(e)||e.isComposing===!0||e.qKeyEvent===!0}function va(e,t){return Nm(e)===!0?!1:[].concat(t).includes(e.keyCode)}function Yx(e){if(e.ios===!0)return"ios";if(e.android===!0)return"android"}function YE({is:e,has:t,within:n},r){const a=[e.desktop===!0?"desktop":"mobile",`${t.touch===!1?"no-":""}touch`];if(e.mobile===!0){const c=Yx(e);c!==void 0&&a.push("platform-"+c)}if(e.nativeMobile===!0){const c=e.nativeMobileWrapper;a.push(c),a.push("native-mobile"),e.ios===!0&&(r[c]===void 0||r[c].iosStatusBarPadding!==!1)&&a.push("q-ios-padding")}else e.electron===!0?a.push("electron"):e.bex===!0&&a.push("bex");return n.iframe===!0&&a.push("within-iframe"),a}function XE(){const{is:e}=rn,t=document.body.className,n=new Set(t.replace(/ {2}/g," ").split(" "));if(e.nativeMobile!==!0&&e.electron!==!0&&e.bex!==!0){if(e.desktop===!0)n.delete("mobile"),n.delete("platform-ios"),n.delete("platform-android"),n.add("desktop");else if(e.mobile===!0){n.delete("desktop"),n.add("mobile"),n.delete("platform-ios"),n.delete("platform-android");const a=Yx(e);a!==void 0&&n.add(`platform-${a}`)}}rn.has.touch===!0&&(n.delete("no-touch"),n.add("touch")),rn.within.iframe===!0&&n.add("within-iframe");const r=Array.from(n).join(" ");t!==r&&(document.body.className=r)}function KE(e){for(const t in e)WE(t,e[t])}var QE={install(e){if(this.__installed!==!0){if(Eo.value===!0)XE();else{const{$q:t}=e;t.config.brand!==void 0&&KE(t.config.brand);const n=YE(rn,t.config);document.body.classList.add.apply(document.body.classList,n)}rn.is.ios===!0&&document.body.addEventListener("touchstart",Ls),window.addEventListener("keydown",GE,!0)}}};const Xx=()=>!0;function ZE(e){return typeof e=="string"&&e!==""&&e!=="/"&&e!=="#/"}function JE(e){return e.startsWith("#")===!0&&(e=e.substring(1)),e.startsWith("/")===!1&&(e="/"+e),e.endsWith("/")===!0&&(e=e.substring(0,e.length-1)),"#"+e}function eM(e){if(e.backButtonExit===!1)return()=>!1;if(e.backButtonExit==="*")return Xx;const t=["#/"];return Array.isArray(e.backButtonExit)===!0&&t.push(...e.backButtonExit.filter(ZE).map(JE)),()=>t.includes(window.location.hash)}var Rp={__history:[],add:Ls,remove:Ls,install({$q:e}){if(this.__installed===!0)return;const{cordova:t,capacitor:n}=rn.is;if(t!==!0&&n!==!0)return;const r=e.config[t===!0?"cordova":"capacitor"];if(r!==void 0&&r.backButton===!1||n===!0&&(window.Capacitor===void 0||window.Capacitor.Plugins.App===void 0))return;this.add=p=>{p.condition===void 0&&(p.condition=Xx),this.__history.push(p)},this.remove=p=>{const w=this.__history.indexOf(p);w>=0&&this.__history.splice(w,1)};const a=eM(Object.assign({backButtonExit:!0},r)),c=()=>
21{if(this.__history.length){const p=this.__history[this.__history.length-1];p.condition()===!0&&(this.__history.pop(),p.handler())}else a()===!0?navigator.app.exitApp():window.history.back()};t===!0?document.addEventListener("deviceready",()=>{document.addEventListener("backbutton",c,!1)}):window.Capacitor.Plugins.App.addListener("backButton",c)}},Cv={isoName:"en-US",nativeName:"English (US)",label:{clear:"Clear",ok:"OK",cancel:"Cancel",close:"Close",set:"Set",select:"Select",reset:"Reset",remove:"Remove",update:"Update",create:"Create",search:"Search",filter:"Filter",refresh:"Refresh",expand:e=>e?`Expand "${e}"`:"Expand",collapse:e=>e?`Collapse "${e}"`:"Collapse"},date:{days:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),daysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),firstDayOfWeek:0,format24h:!1,pluralDay:"days"},table:{noData:"No data available",noResults:"No matching records found",loading:"Loading...",selectedRecords:e=>e===1?"1 record selected.":(e===0?"No":e)+" records selected.",recordsPerPage:"Records per page:",allRows:"All",pagination:(e,t,n)=>e+"-"+t+" of "+n,columns:"Columns"},editor:{url:"URL",bold:"Bold",italic:"Italic",strikethrough:"Strikethrough",underline:"Underline",unorderedList:"Unordered List",orderedList:"Ordered List",subscript:"Subscript",superscript:"Superscript",hyperlink:"Hyperlink",toggleFullscreen:"Toggle Fullscreen",quote:"Quote",left:"Left align",center:"Center align",right:"Right align",justify:"Justify align",print:"Print",outdent:"Decrease indentation",indent:"Increase indentation",removeFormat:"Remove formatting",formatting:"Formatting",fontSize:"Font Size",align:"Align",hr:"Insert Horizontal Rule",undo:"Undo",redo:"Redo",heading1:"Heading 1",heading2:"Heading 2",heading3:"Heading 3",heading4:"Heading 4",heading5:"Heading 5",heading6:"Heading 6",paragraph:"Paragraph",code:"Code",size1:"Very small",size2:"A bit small",size3:"Normal",size4:"Medium-large",size5:"Big",size6:"Very big",size7:"Maximum",defaultFont:"Default Font",viewSource:"View Source"},tree:{noNodes:"No nodes available",noResults:"No matching nodes found"}};function kv(){const e=Array.isArray(navigator.languages)===!0&&navigator.languages.length!==0?navigator.languages[0]:navigator.language;if(typeof e=="string")return e.split(/[-_]/).map((t,n)=>n===0?t.toLowerCase():n>1||t.length<4?t.toUpperCase():t[0].toUpperCase()+t.slice(1).toLowerCase()).join("-")}const _s=tc({__qLang:{}},{getLocale:kv,set(e=Cv,t){const n={...e,rtl:e.rtl===!0,getLocale:kv};{if(n.set=_s.set,_s.__langConfig===void 0||_s.__langConfig.noHtmlAttrs!==!0){const r=document.documentElement;r.setAttribute("dir",n.rtl===!0?"rtl":"ltr"),r.setAttribute("lang",n.isoName)}Object.assign(_s.__qLang,n)}},install({$q:e,lang:t,ssrContext:n}){e.lang=_s.__qLang,_s.__langConfig=e.config.lang,this.__installed===!0?t!==void 0&&this.set(t):(this.props=new Proxy(this.__qLang,{get(){return Reflect.get(...arguments)},ownKeys(r){return Reflect.ownKeys(r).filter(a=>a!=="set"&&a!=="getLocale")}}),this.set(t||Cv))}});var tM={name:"material-icons",type:{positive:"check_circle",negative:"warning",info:"info",warning:"priority_high"},arrow:{up:"arrow_upward",right:"arrow_forward",down:"arrow_downward",left:"arrow_back",dropdown:"arrow_drop_down"},chevron:{left:"chevron_left",right:"chevron_right"},colorPicker:{spectrum:"gradient",tune:"tune",palette:"style"},pullToRefresh:{icon:"refresh"},carousel:{left:"chevron_left",right:"chevron_right",up:"keyboard_arrow_up",down:"keyboard_arrow_down",navigationIcon:"lens"},chip:{remove:"cancel",selected:"check"},datetime:{arrowLeft:"chevron_left",arrowRight:"chevron_right",now:"access_time",today:"today"},editor:{bold:"format_bold",italic:"format_italic",strikethrough:"strikethrough_s",underline:"format_underlined",unorderedList:"format_list_bulleted",orderedList:"format_list_numbered",subscript:"vertical_align_bottom",superscript:"vertical_align_top",hyperlink:"link",toggleFullscreen:"fullscreen",quote:"format_quote",left:"format_align_left",center:"format_align_center",right:"format_align_right",justify:"format_align_justify",print:"print",outdent:"format_indent_decrease",indent:"format_indent_increase",removeFormat:"format_clear",formatting:"text_format",fontSize:"format_size",align:"format_align_left",hr:"remove",undo:"undo",redo:"redo",heading:"format_size",code:"code",size:"format_size",font:"font_download",viewSource:"code"},expansionItem:{icon:"keyboard_arrow_down",denseIcon:"arrow_drop_down"},fab:{icon:"add",activeIcon:"close"},field:{clear:"cancel",error:"error"},pagination:{first:"first_page",prev:"keyboard_arrow_left",next:"keyboard_arrow_right",last:"last_page"},rating:{icon:"grade"},stepper:{done:"check",active:"edit",error:"warning"},tabs:{left:"chevron_left",right:"chevron_right",up:"keyboard_arrow_up",down:"keyboard_arrow_down"},table:{arrowUp:"arrow_upward",warning:"warning",firstPage:"first_page",prevPage:"chevron_left",nextPage:"chevron_right",lastPage:"last_page"},tree:{icon:"play_arrow"},uploader:{done:"done",clear:"clear",add:"add_box",upload:"cloud_upload",removeQueue:"clear_all",removeUploaded:"done_all"}};const Fd=tc({iconMapFn:null,__qIconSet:{}},{set(e,t){const n={...e};
21n.set=Fd.set,Object.assign(Fd.__qIconSet,n)},install({$q:e,iconSet:t,ssrContext:n}){e.config.iconMapFn!==void 0&&(this.iconMapFn=e.config.iconMapFn),e.iconSet=this.__qIconSet,Bl(e,"iconMapFn",()=>this.iconMapFn,r=>{this.iconMapFn=r}),this.__installed===!0?t!==void 0&&this.set(t):(this.props=new Proxy(this.__qIconSet,{get(){return Reflect.get(...arguments)},ownKeys(r){return Reflect.ownKeys(r).filter(a=>a!=="set")}}),this.set(t||tM))}}),Kx="_q_",Rm="_q_l_",iM="_q_pc_",nM="_q_fo_";function xl(){}const Dd={};let Qx=!1;function oM(){Qx=!0}function ks(e,t){if(e===t)return!0;if(e!==null&&t!==null&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;let n,r;if(e.constructor===Array){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(ks(e[r],t[r])!==!0)return!1;return!0}if(e.constructor===Map){if(e.size!==t.size)return!1;let c=e.entries();for(r=c.next();r.done!==!0;){if(t.has(r.value[0])!==!0)return!1;r=c.next()}for(c=e.entries(),r=c.next();r.done!==!0;){if(ks(r.value[1],t.get(r.value[0]))!==!0)return!1;r=c.next()}return!0}if(e.constructor===Set){if(e.size!==t.size)return!1;const c=e.entries();for(r=c.next();r.done!==!0;){if(t.has(r.value[0])!==!0)return!1;r=c.next()}return!0}if(e.buffer!=null&&e.buffer.constructor===ArrayBuffer){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();const a=Object.keys(e).filter(c=>e[c]!==void 0);if(n=a.length,n!==Object.keys(t).filter(c=>t[c]!==void 0).length)return!1;for(r=n;r--!==0;){const c=a[r];if(ks(e[c],t[c])!==!0)return!1}return!0}return e!==e&&t!==t}function ba(e){return e!==null&&typeof e=="object"&&Array.isArray(e)!==!0}const Av=[Rd,QE,In,UE,Rp,_s,Fd];function Zx(e,t){const n=hh(e);n.config.globalProperties=t.config.globalProperties;const{reload:r,...a}=t._context;return Object.assign(n._context,a),n}function Tv(e,t){t.forEach(n=>{n.install(e),n.__installed=!0})}function rM(e,t,n){e.config.globalProperties.$q=n.$q,e.provide(Kx,n.$q),Tv(n,Av),t.components!==void 0&&Object.values(t.components).forEach(r=>{ba(r)===!0&&r.name!==void 0&&e.component(r.name,r)}),t.directives!==void 0&&Object.values(t.directives).forEach(r=>{ba(r)===!0&&r.name!==void 0&&e.directive(r.name,r)}),t.plugins!==void 0&&Tv(n,Object.values(t.plugins).filter(r=>typeof r.install=="function"&&Av.includes(r)===!1)),Eo.value===!0&&(n.$q.onSSRHydrated=()=>{n.onSSRHydrated.forEach(r=>{r()}),n.$q.onSSRHydrated=()=>{}})}var sM=function(e,t={}){const n={version:"2.15.4"};Qx===!1?(t.config!==void 0&&Object.assign(Dd,t.config),n.config={...Dd},oM()):n.config=t.config||{},rM(e,t,{parentApp:e,$q:n,lang:t.lang,iconSet:t.iconSet,onSSRHydrated:[]})},aM={name:"Quasar",version:"2.15.4",install:sM,lang:_s,iconSet:Fd};function lM(e){return{all:e=e||new Map,on:function(t,n){var r=e.get(t);r?r.push(n):e.set(t,[n])},off:function(t,n){var r=e.get(t);r&&(n?r.splice(r.indexOf(n)>>>0,1):e.set(t,[]))},emit:function(t,n){var r=e.get(t);r&&r.slice().map(function(a){a(n)}),(r=e.get("*"))&&r.slice().map(function(a){a(t,n)})}}}const ut=lM();function Jx(e,t){return function(){return e.apply(t,arguments)}}const{toString:uM}=Object.prototype,{getPrototypeOf:Fm}=Object,fh=(e=>t=>{const n=uM.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),yr=e=>(e=e.toLowerCase(),t=>fh(t)===e),ph=e=>t=>typeof t===e,{isArray:Vl}=Array,Bu=ph("undefined");function cM(e){return e!==null&&!Bu(e)&&e.constructor!==null&&!Bu(e.constructor)&&Ao(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const ew=yr("ArrayBuffer");function dM(e){let t;return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&ew(e.buffer),t}const hM=ph("string"),Ao=ph("function"),tw=ph("number"),mh=e=>e!==null&&typeof e=="object",fM=e=>e===!0||e===!1,gd=e=>{if(fh(e)!=="object")return!1;const t=Fm(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}
vendor: 8,835 bytes, line 21
21,pM=yr("Date"),mM=yr("File"),gM=yr("Blob"),yM=yr("FileList"),vM=e=>mh(e)&&Ao(e.pipe),bM=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Ao(e.append)&&((t=fh(e))==="formdata"||t==="object"&&Ao(e.toString)&&e.toString()==="[object FormData]"))},xM=yr("URLSearchParams"),wM=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ic(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e=="undefined")return;let r,a;if(typeof e!="object"&&(e=[e]),Vl(e))for(r=0,a=e.length;r<a;r++)t.call(null,e[r],r,e);else{const c=n?Object.getOwnPropertyNames(e):Object.keys(e),p=c.length;let w;for(r=0;r<p;r++)w=c[r],t.call(null,e[w],w,e)}}function iw(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,a;for(;r-- >0;)if(a=n[r],t===a.toLowerCase())return a;return null}const nw=(()=>typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:global)(),ow=e=>!Bu(e)&&e!==nw;function Fp(){const{caseless:e}=ow(this)&&this||{},t={},n=(r,a)=>{const c=e&&iw(t,a)||a;gd(t[c])&&gd(r)?t[c]=Fp(t[c],r):gd(r)?t[c]=Fp({},r):Vl(r)?t[c]=r.slice():t[c]=r};for(let r=0,a=arguments.length;r<a;r++)arguments[r]&&ic(arguments[r],n);return t}const SM=(e,t,n,{allOwnKeys:r}={})=>(ic(t,(a,c)=>{n&&Ao(a)?e[c]=Jx(a,n):e[c]=a},{allOwnKeys:r}),e),_M=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),CM=(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)},kM=(e,t,n,r)=>{let a,c,p;const w={};if(t=t||{},e==null)return t;do{for(a=Object.getOwnPropertyNames(e),c=a.length;c-- >0;)p=a[c],(!r||r(p,e,t))&&!w[p]&&(t[p]=e[p],w[p]=!0);e=n!==!1&&Fm(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},AM=(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},TM=e=>{if(!e)return null;if(Vl(e))return e;let t=e.length;if(!tw(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},EM=(e=>t=>e&&t instanceof e)(typeof Uint8Array!="undefined"&&Fm(Uint8Array)),MM=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let a;for(;(a=r.next())&&!a.done;){const c=a.value;t.call(e,c[0],c[1])}},PM=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},OM=yr("HTMLFormElement"),IM=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,a){return r.toUpperCase()+a}),Ev=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),LM=yr("RegExp"),rw=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};ic(n,(a,c)=>{let p;(p=t(a,c,e))!==!1&&(r[c]=p||a)}),Object.defineProperties(e,r)},NM=e=>{rw(e,(t,n)=>{if(Ao(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(!!Ao(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+"'")})}})},RM=(e,t)=>{const n={},r=a=>{a.forEach(c=>{n[c]=!0})};return Vl(e)?r(e):r(String(e).split(t)),n},FM=()=>{},DM=(e,t)=>(e=+e,Number.isFinite(e)?e:t),Uf="abcdefghijklmnopqrstuvwxyz",Mv="0123456789",sw={DIGIT:Mv,ALPHA:Uf,ALPHA_DIGIT:Uf+Uf.toUpperCase()+Mv},BM=(e=16,t=sw.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function VM(e){return!!(e&&Ao(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const qM=e=>{const t=new Array(10),n=(r,a)=>{if(mh(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[a]=r;const c=Vl(r)?[]:{};return ic(r,(p,w)=>{const _=n(p,a+1);!Bu(_)&&(c[w]=_)}),t[a]=void 0,c}}return r};return n(e,0)},HM=yr("AsyncFunction"),zM=e=>e&&(mh(e)||Ao(e))&&Ao(e.then)&&Ao(e.catch);var je={isArray:Vl,isArrayBuffer:ew,isBuffer:cM,isFormData:bM,isArrayBufferView:dM,isString:hM,isNumber:tw,isBoolean:fM,isObject:mh,isPlainObject:gd,isUndefined:Bu,isDate:pM,isFile:mM,isBlob:gM,isRegExp:LM,isFunction:Ao,isStream:vM,isURLSearchParams:xM,isTypedArray:EM,isFileList:yM,forEach:ic,merge:Fp,extend:SM,trim:wM,stripBOM:_M,inherits:CM,toFlatObject:kM,kindOf:fh,kindOfTest:yr,endsWith:AM,toArray:TM,forEachEntry:MM,matchAll:PM,isHTMLForm:OM,hasOwnProperty:Ev,hasOwnProp:Ev,reduceDescriptors:rw,freezeMethods:NM,toObjectSet:RM,toCamelCase:IM,noop:FM,toFiniteNumber:DM,findKey:iw,global:nw,isContextDefined:ow,ALPHABET:sw,generateString:BM,isSpecCompliantForm:VM,toJSONObject:qM,isAsyncFn:HM,isThenable:zM};function ui(e,t,n,r,a){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),a&&(this.response=a)}je.inherits(ui,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:je.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const aw=ui.prototype,lw={};["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=>{lw[e]={value:e}});Object.defineProperties(ui,lw);Object.defineProperty(aw,"isAxiosError",{value:!0});ui.from=(e,t,n,r,a,c)=>{const p=Object.create(aw);return je.toFlatObject(e,p,function(_){return _!==Error.prototype},w=>w!=="isAxiosError"),ui.call(p,e.message,t,n,r,a),p.cause=e,p.name=e.name,c&&Object.assign(p,c),p};var jM=null;function Dp(e){return je.isPlainObject(e)||je.isArray(e)}function uw(e){return je.endsWith(e,"[]")?e.slice(0,-2):e}function Pv(e,t,n){return e?e.concat(t).map(function(a,c){return a=uw(a),!n&&c?"["+a+"]":a}).join(n?".":""):t}function $M(e){return je.isArray(e)&&!e.some(Dp)}const UM=je.toFlatObject(je,{},null,function(t){return/^is[A-Z]/.test(t)});function gh(e,t,n){if(!je.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=je.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(U,J){return!je.isUndefined(J[U])});const r=n.metaTokens,a=n.visitor||A,c=n.dots,p=n.indexes,_=(n.Blob||typeof Blob!="undefined"&&Blob)&&je.isSpecCompliantForm(t);if(!je.isFunction(a))throw new TypeError("visitor must be a function");function T(z){if(z===null)return"";if(je.isDate(z))return z.toISOString();if(!_&&je.isBlob(z))throw new ui("Blob is not supported. Use a Buffer instead.");return je.isArrayBuffer(z)||je.isTypedArray(z)?_&&typeof Blob=="function"?new Blob([z]):Buffer.from(z):z}function A(z,U,J){let ee=z;if(z&&!J&&typeof z=="object"){if(je.endsWith(U,"{}"))U=r?U:U.slice(0,-2),z=JSON.stringify(z);else if(je.isArray(z)&&$M(z)||(je.isFileList(z)||je.endsWith(U,"[]"))&&(ee=je.toArray(z)))return U=uw(U),ee.forEach(function(q,$){!(je.isUndefined(q)||q===null)&&t.append(p===!0?Pv([U],$,c):p===null?U:U+"[]",T(q))}),!1}return Dp(z)?!0:(t.append(Pv(J,U,c),T(z)),!1)}const P=[],O=Object.assign(UM,{defaultVisitor:A,convertValue:T,isVisitable:Dp});function B(z,U){if(!je.isUndefined(z)){if(P.indexOf(z)!==-1)throw Error("Circular reference detected in "+U.join("."));P.push(z),je.forEach(z,function(ee,Y){(!(je.isUndefined(ee)||ee===null)&&a.call(t,ee,je.isString(Y)?Y.trim():Y,U,O))===!0&&B(ee,U?U.concat(Y):[Y])}),P.pop()}}if(!je.isObject(e))throw new TypeError("data must be an object");return B(e),t}function Ov(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Dm(e,t){this._pairs=[],e&&gh(e,this,t)}const cw=Dm.prototype;cw.append=function(t,n){this._pairs.push([t,n])};cw.toString=function(t){const n=t?function(r){return t.call(this,r,Ov)}:Ov;return this._pairs.map(function(a){return n(a[0])+"="+n(a[1])},"").join("&")};function WM(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function dw(e,t,n){if(!t)return e;const r=n&&n.encode||WM,a=n&&n.serialize;let c;if(a?c=a(t,n):c=je.isURLSearchParams(t)?t.toString():new Dm(t,n).toString(r),c){const p=e.indexOf("#");p!==-1&&(e=e.slice(0,p)),e+=(e.indexOf("?")===-1?"?":"&")+c}return e}class GM{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){je.forEach(this.handlers,function(r){r!==null&&t(r)})}}var Iv=GM,hw={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},YM=typeof URLSearchParams!="undefined"?URLSearchParams:Dm,XM=typeof FormData!="undefined"?FormData:null,KM=typeof Blob!="undefined"?Blob:null,QM={isBrowser:!0,classes:{
vendor: 4,623 bytes, lines 21-22
21URLSearchParams:YM,FormData:XM,Blob:KM},protocols:["http","https","file","blob","url","data"]};const fw=typeof window!="undefined"&&typeof document!="undefined",ZM=(e=>fw&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator!="undefined"&&navigator.product),JM=(()=>typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")();var eP=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:fw,hasStandardBrowserWebWorkerEnv:JM,hasStandardBrowserEnv:ZM},Symbol.toStringTag,{value:"Module"})),pr={...eP,...QM};function tP(e,t){return gh(e,new pr.classes.URLSearchParams,Object.assign({visitor:function(n,r,a,c){return pr.isNode&&je.isBuffer(n)?(this.append(r,n.toString("base64")),!1):c.defaultVisitor.apply(this,arguments)}},t))}function iP(e){return je.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function nP(e){const t={},n=Object.keys(e);let r;const a=n.length;let c;for(r=0;r<a;r++)c=n[r],t[c]=e[c];return t}function pw(e){function t(n,r,a,c){let p=n[c++];if(p==="__proto__")return!0;const w=Number.isFinite(+p),_=c>=n.length;return p=!p&&je.isArray(a)?a.length:p,_?(je.hasOwnProp(a,p)?a[p]=[a[p],r]:a[p]=r,!w):((!a[p]||!je.isObject(a[p]))&&(a[p]=[]),t(n,r,a[p],c)&&je.isArray(a[p])&&(a[p]=nP(a[p])),!w)}if(je.isFormData(e)&&je.isFunction(e.entries)){const n={};return je.forEachEntry(e,(r,a)=>{t(iP(r),a,n,0)}),n}return null}function oP(e,t,n){if(je.isString(e))try{return(t||JSON.parse)(e),je.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Bm={transitional:hw,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",a=r.indexOf("application/json")>-1,c=je.isObject(t);if(c&&je.isHTMLForm(t)&&(t=new FormData(t)),je.isFormData(t))return a?JSON.stringify(pw(t)):t;if(je.isArrayBuffer(t)||je.isBuffer(t)||je.isStream(t)||je.isFile(t)||je.isBlob(t))return t;if(je.isArrayBufferView(t))return t.buffer;if(je.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let w;if(c){if(r.indexOf("application/x-www-form-urlencoded")>-1)return tP(t,this.formSerializer).toString();if((w=je.isFileList(t))||r.indexOf("multipart/form-data")>-1){const _=this.env&&this.env.FormData;return gh(w?{"files[]":t}:t,_&&new _,this.formSerializer)}}return c||a?(n.setContentType("application/json",!1),oP(t)):t}],transformResponse:[function(t){const n=this.transitional||Bm.transitional,r=n&&n.forcedJSONParsing,a=this.responseType==="json";if(t&&je.isString(t)&&(r&&!this.responseType||a)){const p=!(n&&n.silentJSONParsing)&&a;try{return JSON.parse(t)}catch(w){if(p)throw w.name==="SyntaxError"?ui.from(w,ui.ERR_BAD_RESPONSE,this,null,this.response):w}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:pr.classes.FormData,Blob:pr.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};je.forEach(["delete","get","head","post","put","patch"],e=>{Bm.headers[e]={}});var Vm=Bm;const rP=je.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"]);var sP=e=>{const t={};let n,r,a;return e&&e.split(` 22`).forEach(function(p){a=p.indexOf(":"),n=p.substring(0,a).trim().toLowerCase(),r=p.substring(a+1).trim(),!(!n||t[n]&&rP[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t};const Lv=Symbol("internals");function fu(e){return e&&String(e).trim().toLowerCase()}function yd(e){return e===!1||e==null?e:je.isArray(e)?e.map(yd):String(e)}function aP(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 lP=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Wf(e,t,n,r,a){if(je.isFunction(r))return r.call(this,t,n);if(a&&(t=n),!!je.isString(t)){if(je.isString(r))return t.indexOf(r)!==-1;if(je.isRegExp(r))return r.test(t)}}function uP(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function cP(e,t){const n=je.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(a,c,p){return this[r].call(this,t,a,c,p)},configurable:!0})})}class yh{constructor(t){t&&this.set(t)}set(t,n,r){const a=this;function c(w,_,T){const A=fu(_);if(!A)throw new Error("header name must be a non-empty string");
vendor: 5,068 bytes, lines 22-23
22const P=je.findKey(a,A);(!P||a[P]===void 0||T===!0||T===void 0&&a[P]!==!1)&&(a[P||_]=yd(w))}const p=(w,_)=>je.forEach(w,(T,A)=>c(T,A,_));return je.isPlainObject(t)||t instanceof this.constructor?p(t,n):je.isString(t)&&(t=t.trim())&&!lP(t)?p(sP(t),n):t!=null&&c(n,t,r),this}get(t,n){if(t=fu(t),t){const r=je.findKey(this,t);if(r){const a=this[r];if(!n)return a;if(n===!0)return aP(a);if(je.isFunction(n))return n.call(this,a,r);if(je.isRegExp(n))return n.exec(a);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=fu(t),t){const r=je.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 a=!1;function c(p){if(p=fu(p),p){const w=je.findKey(r,p);w&&(!n||Wf(r,r[w],w,n))&&(delete r[w],a=!0)}}return je.isArray(t)?t.forEach(c):c(t),a}clear(t){const n=Object.keys(this);let r=n.length,a=!1;for(;r--;){const c=n[r];(!t||Wf(this,this[c],c,t,!0))&&(delete this[c],a=!0)}return a}normalize(t){const n=this,r={};return je.forEach(this,(a,c)=>{const p=je.findKey(r,c);if(p){n[p]=yd(a),delete n[c];return}const w=t?uP(c):String(c).trim();w!==c&&delete n[c],n[w]=yd(a),r[w]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return je.forEach(this,(r,a)=>{r!=null&&r!==!1&&(n[a]=t&&je.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(` 23`)}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(a=>r.set(a)),r}static accessor(t){const r=(this[Lv]=this[Lv]={accessors:{}}).accessors,a=this.prototype;function c(p){const w=fu(p);r[w]||(cP(a,p),r[w]=!0)}return je.isArray(t)?t.forEach(c):c(t),this}}yh.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);je.reduceDescriptors(yh.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});je.freezeMethods(yh);var Dr=yh;function Gf(e,t){const n=this||Vm,r=t||n,a=Dr.from(r.headers);let c=r.data;return je.forEach(e,function(w){c=w.call(n,c,a.normalize(),t?t.status:void 0)}),a.normalize(),c}function mw(e){return!!(e&&e.__CANCEL__)}function nc(e,t,n){ui.call(this,e==null?"canceled":e,ui.ERR_CANCELED,t,n),this.name="CanceledError"}je.inherits(nc,ui,{__CANCEL__:!0});function dP(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new ui("Request failed with status code "+n.status,[ui.ERR_BAD_REQUEST,ui.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}var hP=pr.hasStandardBrowserEnv?{write(e,t,n,r,a,c){const p=[e+"="+encodeURIComponent(t)];je.isNumber(n)&&p.push("expires="+new Date(n).toGMTString()),je.isString(r)&&p.push("path="+r),je.isString(a)&&p.push("domain="+a),c===!0&&p.push("secure"),document.cookie=p.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 fP(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function pP(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function gw(e,t){return e&&!fP(t)?pP(e,t):t}var mP=pr.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function a(c){let p=c;return t&&(n.setAttribute("href",p),p=n.href),n.setAttribute("href",p),{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=a(window.location.href),function(p){const w=je.isString(p)?a(p):p;return w.protocol===r.protocol&&w.host===r.host}}():function(){return function(){return!0}}();function gP(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function yP(e,t){e=e||10;const n=new Array(e),r=new Array(e);let a=0,c=0,p;return t=t!==void 0?t:1e3,function(_){const T=Date.now(),A=r[c];p||(p=T),n[a]=_,r[a]=T;let P=c,O=0;for(;P!==a;)O+=n[P++],P=P%e;if(a=(a+1)%e,a===c&&(c=(c+1)%e),T-p<t)return;const B=A&&T-A;return B?Math.round(O*1e3/B):void 0}}function Nv(e,t){let n=0;const r=yP(50,250);return a=>{const c=a.loaded,p=a.lengthComputable?a.total:void 0,w=c-n,_=r(w),T=c<=p;n=c;const A={loaded:c,total:p,progress:p?c/p:void 0,bytes:w,rate:_||void 0,estimated:_&&p&&T?(p-c)/_:void 0,event:a};A[t?"download":"upload"]=!0,e(A)}}const vP=typeof XMLHttpRequest!="undefined";var bP=vP&&function(e){return new Promise(function(n,r){let a=e.data;const c=Dr.from(e.headers).normalize();let{responseType:p,withXSRFToken:w}=e,_;function T(){e.cancelToken&&e.cancelToken.unsubscribe(_),e.signal&&e.signal.removeEventListener("abort",_)}let A;if(je.isFormData(a)){if(pr.hasStandardBrowserEnv||pr.hasStandardBrowserWebWorkerEnv)c.setContentType(!1);
23else if((A=c.getContentType())!==!1){const[U,...J]=A?A.split(";").map(ee=>ee.trim()).filter(Boolean):[];c.setContentType([U||"multipart/form-data",...J].join("; "))}}let P=new XMLHttpRequest;if(e.auth){const U=e.auth.username||"",J=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";c.set("Authorization","Basic "+btoa(U+":"+J))}const O=gw(e.baseURL,e.url);P.open(e.method.toUpperCase(),dw(O,e.params,e.paramsSerializer),!0),P.timeout=e.timeout;function B(){if(!P)return;const U=Dr.from("getAllResponseHeaders"in P&&P.getAllResponseHeaders()),ee={data:!p||p==="text"||p==="json"?P.responseText:P.response,status:P.status,statusText:P.statusText,headers:U,config:e,request:P};dP(function(q){n(q),T()},function(q){r(q),T()},ee),P=null}if("onloadend"in P?P.onloadend=B:P.onreadystatechange=function(){!P||P.readyState!==4||P.status===0&&!(P.responseURL&&P.responseURL.indexOf("file:")===0)||setTimeout(B)},P.onabort=function(){!P||(r(new ui("Request aborted",ui.ECONNABORTED,e,P)),P=null)},P.onerror=function(){r(new ui("Network Error",ui.ERR_NETWORK,e,P)),P=null},P.ontimeout=function(){let J=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const ee=e.transitional||hw;e.timeoutErrorMessage&&(J=e.timeoutErrorMessage),r(new ui(J,ee.clarifyTimeoutError?ui.ETIMEDOUT:ui.ECONNABORTED,e,P)),P=null},pr.hasStandardBrowserEnv&&(w&&je.isFunction(w)&&(w=w(e)),w||w!==!1&&mP(O))){const U=e.xsrfHeaderName&&e.xsrfCookieName&&hP.read(e.xsrfCookieName);U&&c.set(e.xsrfHeaderName,U)}a===void 0&&c.setContentType(null),"setRequestHeader"in P&&je.forEach(c.toJSON(),function(J,ee){P.setRequestHeader(ee,J)}),je.isUndefined(e.withCredentials)||(P.withCredentials=!!e.withCredentials),p&&p!=="json"&&(P.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&P.addEventListener("progress",Nv(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&P.upload&&P.upload.addEventListener("progress",Nv(e.onUploadProgress)),(e.cancelToken||e.signal)&&(_=U=>{!P||(r(!U||U.type?new nc(null,e,P):U),P.abort(),P=null)},e.cancelToken&&e.cancelToken.subscribe(_),e.signal&&(e.signal.aborted?_():e.signal.addEventListener("abort",_)));const z=gP(O);if(z&&pr.protocols.indexOf(z)===-1){r(new ui("Unsupported protocol "+z+":",ui.ERR_BAD_REQUEST,e));return}P.send(a||null)})};const Bp={http:jM,xhr:bP};je.forEach(Bp,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Rv=e=>`- ${e}`,xP=e=>je.isFunction(e)||e===null||e===!1;var yw={getAdapter:e=>{e=je.isArray(e)?e:[e];const{length:t}=e;let n,r;const a={};for(let c=0;c<t;c++){n=e[c];let p;if(r=n,!xP(n)&&(r=Bp[(p=String(n)).toLowerCase()],r===void 0))throw new ui(`Unknown adapter '${p}'`);if(r)break;a[p||"#"+c]=r}if(!r){const c=Object.entries(a).map(([w,_])=>`adapter ${w} `+(_===!1?"is not supported by the environment":"is not available in the build"));let p=t?c.length>1?`since : 24`+c.map(Rv).join(` 25`):" "+Rv(c[0]):"as no adapter specified";throw new ui("There is no suitable adapter to dispatch the request "+p,"ERR_NOT_SUPPORT")}return r},adapters:Bp};function Yf(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new nc(null,e)}function Fv(e){return Yf(e),e.headers=Dr.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),yw.getAdapter(e.adapter||Vm.adapter)(e).then(function(r){return Yf(e),r.data=Gf.call(e,e.transformResponse,r),r.headers=Dr.from(r.headers),r},function(r){return mw(r)||(Yf(e),r&&r.response&&(r.response.data=Gf.call(e,e.transformResponse,r.response),r.response.headers=Dr.from(r.response.headers))),Promise.reject(r)})}const Dv=e=>e instanceof Dr?{...e}:e;function Ml(e,t){t=t||{};const n={};function r(T,A,P){return je.isPlainObject(T)&&je.isPlainObject(A)?je.merge.call({caseless:P},T,A):je.isPlainObject(A)?je.merge({},A):je.isArray(A)?A.slice():A}function a(T,A,P){if(je.isUndefined(A)){if(!je.isUndefined(T))return r(void 0,T,P)}else return r(T,A,P)}function c(T,A){if(!je.isUndefined(A))return r(void 0,A)}function p(T,A){if(je.isUndefined(A)){if(!je.isUndefined(T))return r(void 0,T)}else return r(void 0,A)}function w(T,A,P){if(P in t)return r(T,A);if(P in e)return r(void 0,T)}const _={url:c,method:c,data:c,baseURL:p,transformRequest:p,transformResponse:p,paramsSerializer:p,timeout:p,timeoutMessage:p,withCredentials:p,withXSRFToken:p,adapter:p,responseType:p,xsrfCookieName:p,xsrfHeaderName:p,onUploadProgress:p,onDownloadProgress:p,decompress:p,maxContentLength:p,maxBodyLength:p,beforeRedirect:p,transport:p,httpAgent:p,httpsAgent:p,cancelToken:p,socketPath:p,responseEncoding:p,validateStatus:w,headers:(T,A)=>a(Dv(T),Dv(A),!0)};return je.forEach(Object.keys(Object.assign({},e,t)),function(A){const P=_[A]||a,O=P(e[A],t[A],A);je.isUndefined(O)&&P!==w||(n[A]=O)}),n}const vw="1.6.8",qm={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{qm[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Bv={};qm.transitional=function(t,n,r){function a(c,p){return"[Axios v"+vw+"] Transitional option '"+c+"'"+p+(r?". "+r:"")}return(c,p,w)=>{if(t===!1)throw new ui(a(p," has been removed"+(n?" in "+n:"")),ui.ERR_DEPRECATED);return n&&!Bv[p]&&(Bv[p]=!0,console.warn(a(p," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(c,p,w):!0}};function wP(e,t,n){if(typeof e!="object")throw new ui("options must be an object",ui.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let a=r.length;for(;a-- >0;){const c=r[a],p=t[c];if(p){const w=e[c],_=w===void 0||p(w,c,e);if(_!==!0)throw new ui("option "+c+" must be "+_,ui.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new ui("Unknown option "+c,ui.ERR_BAD_OPTION)}}var Vp={assertOptions:wP,validators:qm};const gs=Vp.validators;class Bd{constructor(t){this.defaults=t,this.interceptors={request:new Iv,response:new Iv}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let a;Error.captureStackTrace?Error.captureStackTrace(a={}):a=new Error;const c=a.stack?a.stack.replace(/^.+\n/,""):"";r.stack?c&&!String(r.stack).endsWith(c.replace(/^.+\n.+\n/,""))&&(r.stack+=` 26`+c):r.stack=c}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Ml(this.defaults,n);const{transitional:r,paramsSerializer:a,headers:c}=n;r!==void 0&&Vp.assertOptions(r,{silentJSONParsing:gs.transitional(gs.boolean),forcedJSONParsing:gs.transitional(gs.boolean),clarifyTimeoutError:gs.transitional(gs.boolean)}
vendor: 2,625 bytes, line 26
26,!1),a!=null&&(je.isFunction(a)?n.paramsSerializer={serialize:a}:Vp.assertOptions(a,{encode:gs.function,serialize:gs.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let p=c&&je.merge(c.common,c[n.method]);c&&je.forEach(["delete","get","head","post","put","patch","common"],z=>{delete c[z]}),n.headers=Dr.concat(p,c);const w=[];let _=!0;this.interceptors.request.forEach(function(U){typeof U.runWhen=="function"&&U.runWhen(n)===!1||(_=_&&U.synchronous,w.unshift(U.fulfilled,U.rejected))});const T=[];this.interceptors.response.forEach(function(U){T.push(U.fulfilled,U.rejected)});let A,P=0,O;if(!_){const z=[Fv.bind(this),void 0];for(z.unshift.apply(z,w),z.push.apply(z,T),O=z.length,A=Promise.resolve(n);P<O;)A=A.then(z[P++],z[P++]);return A}O=w.length;let B=n;for(P=0;P<O;){const z=w[P++],U=w[P++];try{B=z(B)}catch(J){U.call(this,J);break}}try{A=Fv.call(this,B)}catch(z){return Promise.reject(z)}for(P=0,O=T.length;P<O;)A=A.then(T[P++],T[P++]);return A}getUri(t){t=Ml(this.defaults,t);const n=gw(t.baseURL,t.url);return dw(n,t.params,t.paramsSerializer)}}je.forEach(["delete","get","head","options"],function(t){Bd.prototype[t]=function(n,r){return this.request(Ml(r||{},{method:t,url:n,data:(r||{}).data}))}});je.forEach(["post","put","patch"],function(t){function n(r){return function(c,p,w){return this.request(Ml(w||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:c,data:p}))}}Bd.prototype[t]=n(),Bd.prototype[t+"Form"]=n(!0)});var vd=Bd;class Hm{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(c){n=c});const r=this;this.promise.then(a=>{if(!r._listeners)return;let c=r._listeners.length;for(;c-- >0;)r._listeners[c](a);r._listeners=null}),this.promise.then=a=>{let c;const p=new Promise(w=>{r.subscribe(w),c=w}).then(a);return p.cancel=function(){r.unsubscribe(c)},p},t(function(c,p,w){r.reason||(r.reason=new nc(c,p,w),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 Hm(function(a){t=a}),cancel:t}}}var SP=Hm;function _P(e){return function(n){return e.apply(null,n)}}function CP(e){return je.isObject(e)&&e.isAxiosError===!0}const qp={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,Parti
26alContent: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(qp).forEach(([e,t])=>{qp[t]=e});var kP=qp;function bw(e){const t=new vd(e),n=Jx(vd.prototype.request,t);return je.extend(n,vd.prototype,t,{allOwnKeys:!0}),je.extend(n,t,null,{allOwnKeys:!0}),n.create=function(a){return bw(Ml(e,a))},n}const sn=bw(Vm);sn.Axios=vd;sn.CanceledError=nc;sn.CancelToken=SP;sn.isCancel=mw;sn.VERSION=vw;sn.toFormData=gh;sn.AxiosError=ui;sn.Cancel=sn.CanceledError;sn.all=function(t){return Promise.all(t)};sn.spread=_P;sn.isAxiosError=CP;sn.mergeConfig=Ml;sn.AxiosHeaders=Dr;sn.formToJSON=e=>pw(je.isHTMLForm(e)?new FormData(e):e);sn.getAdapter=yw.getAdapter;sn.HttpStatusCode=kP;sn.default=sn;var Pl=sn,rt={apiUrl:window.location.protocol+"//"+window.location.hostname+"/api/",mode:"production",dev:!1,fakeData:!1,useQuasar:!0,forceAppReference:!0,mockDataEnabled:!1,cellHint:"0850834837",landlineHint:"0219087666",mockData:{categoryData:!0,basicInfo:!0,additionalInfo:!0,employmentInfo:!0,financialInfo:!0,contactInfo:!0,references:!0,continueFromReference:!0,continueIdForm:!0,continueOtpForm:!0,initiateAgentApplication:!0,permissionsAndSubs:!0},fakeDataConfig:{originInfo:!1,basicInfo:!0,additionalInfo:!0,additionalInfoThin:!0,employmentInfo:!1,financialInfo:!1,contactInfo:!1,references:!1,magazines:!1,permissionsAndSubs:!1}};function AP(){return xw().__VUE_DEVTOOLS_GLOBAL_HOOK__}function xw(){return typeof navigator!="undefined"&&typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:{}}const TP=typeof Proxy=="function",EP="devtools-plugin:setup",MP="plugin:settings:set";let il,Hp;function PP(){var e;return il!==void 0||(typeof window!="undefined"&&window.performance?(il=!0,Hp=window.performance):typeof globalThis!="undefined"&&((e=globalThis.perf_hooks)===null||e===void 0?void 0:e.performance)?(il=!0,Hp=globalThis.perf_hooks.performance):il=!1),il}function OP(){return PP()?Hp.now():Date.now()}class IP{constructor(t,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=n;const r={};if(t.settings)for(const p in t.settings){const w=t.settings[p];r[p]=w.defaultValue}const a=`__vue-devtools-plugin-settings__${t.id}`;let c=Object.assign({},r);try{const p=localStorage.getItem(a),w=JSON.parse(p);Object.assign(c,w)}catch{}this.fallbacks={getSettings(){return c},setSettings(p){try{localStorage.setItem(a,JSON.stringify(p))}catch{}c=p},now(){return OP()}},n&&n.on(MP,(p,w)=>{p===this.plugin.id&&this.fallbacks.setSettings(w)}),this.proxiedOn=new Proxy({},{get:(p,w)=>this.target?this.target.on[w]:(..._)=>{this.onQueue.push({method:w,args:_})}}),this.proxiedTarget=new Proxy({},{get:(p,w)=>this.target?this.target[w]:w==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(w)?(..._)=>(this.targetQueue.push({method:w,args:_,resolve:()=>{}}),this.fallbacks[w](..._)):(..._)=>new Promise(T=>{this.targetQueue.push({method:w,args:_,resolve:T})})})}async setRealTarget(t){this.target=t;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(await this.target[n.method](...n.args))}}function LP(e,t){const n=e,r=xw(),a=AP(),c=TP&&n.enableEarlyProxy;
vendor: 7,285 bytes, lines 26-30
26if(a&&(r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!c))a.emit(EP,e,t);else{const p=c?new IP(n,a):null;(r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:p}),p&&t(p.proxiedTarget)}}/*! 27 * vue-router v4.3.2 28 * (c) 2024 Eduardo San Martin Morote 29 * @license MIT 30 */const ul=typeof document!="undefined";function NP(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const xi=Object.assign;function Xf(e,t){const n={};for(const r in t){const a=t[r];n[r]=Yo(a)?a.map(e):e(a)}return n}const Tu=()=>{},Yo=Array.isArray,ww=/#/g,RP=/&/g,FP=/\//g,DP=/=/g,BP=/\?/g,Sw=/\+/g,VP=/%5B/g,qP=/%5D/g,_w=/%5E/g,HP=/%60/g,Cw=/%7B/g,zP=/%7C/g,kw=/%7D/g,jP=/%20/g;function zm(e){return encodeURI(""+e).replace(zP,"|").replace(VP,"[").replace(qP,"]")}function $P(e){return zm(e).replace(Cw,"{").replace(kw,"}").replace(_w,"^")}function zp(e){return zm(e).replace(Sw,"%2B").replace(jP,"+").replace(ww,"%23").replace(RP,"%26").replace(HP,"`").replace(Cw,"{").replace(kw,"}").replace(_w,"^")}function UP(e){return zp(e).replace(DP,"%3D")}function WP(e){return zm(e).replace(ww,"%23").replace(BP,"%3F")}function GP(e){return e==null?"":WP(e).replace(FP,"%2F")}function Vu(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const YP=/\/$/,XP=e=>e.replace(YP,"");function Kf(e,t,n="/"){let r,a={},c="",p="";const w=t.indexOf("#");let _=t.indexOf("?");return w<_&&w>=0&&(_=-1),_>-1&&(r=t.slice(0,_),c=t.slice(_+1,w>-1?w:t.length),a=e(c)),w>-1&&(r=r||t.slice(0,w),p=t.slice(w,t.length)),r=JP(r!=null?r:t,n),{fullPath:r+(c&&"?")+c+p,path:r,query:a,hash:Vu(p)}}function KP(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Vv(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function QP(e,t,n){const r=t.matched.length-1,a=n.matched.length-1;return r>-1&&r===a&&Ol(t.matched[r],n.matched[a])&&Aw(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Ol(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Aw(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!ZP(e[n],t[n]))return!1;return!0}function ZP(e,t){return Yo(e)?qv(e,t):Yo(t)?qv(t,e):e===t}function qv(e,t){return Yo(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function JP(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),a=r[r.length-1];(a===".."||a===".")&&r.push("");let c=n.length-1,p,w;for(p=0;p<r.length;p++)if(w=r[p],w!==".")if(w==="..")c>1&&c--;else break;return n.slice(0,c).join("/")+"/"+r.slice(p).join("/")}var qu;(function(e){e.pop="pop",e.push="push"})(qu||(qu={}));var Eu;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Eu||(Eu={}));function eO(e){if(!e)if(ul){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),XP(e)}const tO=/^[^#]+#/;function iO(e,t){return e.replace(tO,"#")+t}function nO(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const vh=()=>({left:window.scrollX,top:window.scrollY});function oO(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),a=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!a)return;t=nO(a,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Hv(e,t){return(history.state?history.state.position-t:-1)+e}const jp=new Map;function rO(e,t){jp.set(e,t)}function sO(e){const t=jp.get(e);return jp.delete(e),t}let aO=()=>location.protocol+"//"+location.host;function Tw(e,t){const{pathname:n,search:r,hash:a}=t,c=e.indexOf("#");if(c>-1){let w=a.includes(e.slice(c))?e.slice(c).length:1,_=a.slice(w);return _[0]!=="/"&&(_="/"+_),Vv(_,"")}return Vv(n,e)+r+a}function lO(e,t,n,r){let a=[],c=[],p=null;const w=({state:O})=>{const B=Tw(e,location),z=n.value,U=t.value;let J=0;if(O){if(n.value=B,t.value=O,p&&p===z){p=null;return}J=U?O.position-U.position:0}else r(B);a.forEach(ee=>{ee(n.value,z,{delta:J,type:qu.pop,direction:J?J>0?Eu.forward:Eu.back:Eu.unknown})})};function _(){p=n.value}function T(O){a.push(O);const B=()=>{const z=a.indexOf(O);z>-1&&a.splice(z,1)};return c.push(B),B}function A(){const{history:O}=window;!O.state||O.replaceState(xi({},O.state,{scroll:vh()}),"")}function P(){for(const O of c)O();c=[],window.removeEventListener("popstate",w),window.removeEventListener("beforeunload",A)}return window.addEventListener("popstate",w),window.addEventListener("beforeunload",A,{passive:!0}),{pauseListeners:_,listen:T,destroy:P}}function zv(e,t,n,r=!1,a=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:a?vh():null}}function uO(e){const{history:t,location:n}=window,r={value:Tw(e,n)},a={value:t.state};a.value||c(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function c(_,T,A){const P=e.indexOf("#"),O=P>-1?(n.host&&document.querySelector("base")?e:e.slice(P))+_:aO()+e+_;try{t[A?"replaceState":"pushState"](T,"",O),a.value=T}catch(B){console.error(B),n[A?"replace":"assign"](O)}}function p(_,T){const A=xi({},t.state,zv(a.value.back,_,a.value.forward,!0),T,{position:a.value.position});c(_,A,!0),r.value=_}function w(_,T){const A=xi({},a.value,t.state,{forward:_,scroll:vh()});c(A.current,A,!0);const P=xi({},zv(r.value,_,null),{position:A.position+1},T);c(_,P,!1),r.value=_}return{location:r,state:a,push:w,replace:p}}function cO(e){e=eO(e);const t=uO(e),n=lO(e,t.state,t.location,t.replace);function r(c,p=!0){p||n.pauseListeners(),history.go(c)}const a=xi({location:"",base:e,go:r,createHref:iO.bind(null,e)},t,n);return Object.defineProperty(a,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(a,"state",{enumerable:!0,get:()=>t.state.value}),a}function dO(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),cO(e)}function hO(e){return typeof e=="string"||e&&typeof e=="object"}function Ew(e){return typeof e=="string"||typeof e=="symbol"}const ys={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Mw=Symbol("");var jv;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(jv||(jv={}));function Il(e,t){return xi(new Error,{type:e,[Mw]:!0},t)}function Pr(e,t){return e instanceof Error&&Mw in e&&(t==null||!!(e.type&t))}const $v="[^/]+?",fO={sensitive:!1,strict:!1,start:!0,end:!0},pO=/[.+*?^${}()[\]/\\]/g;function mO(e,t){const n=xi({},fO,t),r=[];let a=n.start?"^":"";const c=[];for(const T of e){const A=T.length?[]:[90];n.strict&&!T.length&&(a+="/");for(let P=0;P<T.length;P++){const O=T[P];let B=40+(n.sensitive?.25:0);if(O.type===0)P||(a+="/"),a+=O.value.replace(pO,"\\$&"),B+=40;else if(O.type===1){const{value:z,repeatable:U,optional:J,regexp:ee}=O;c.push({name:z,repeatable:U,optional:J});const Y=ee||$v;if(Y!==$v){B+=10;try{new RegExp(`(${Y})`)}catch($){throw new Error(`Invalid custom RegExp for param "${z}" (${Y}): `+$.message)}}let q=U?`((?:${Y}
30)(?:/(?:${Y}))*)`:`(${Y})`;P||(q=J&&T.length<2?`(?:/${q})`:"/"+q),J&&(q+="?"),a+=q,B+=20,J&&(B+=-8),U&&(B+=-20),Y===".*"&&(B+=-50)}A.push(B)}r.push(A)}if(n.strict&&n.end){const T=r.length-1;r[T][r[T].length-1]+=.7000000000000001}n.strict||(a+="/?"),n.end?a+="$":n.strict&&(a+="(?:/|$)");const p=new RegExp(a,n.sensitive?"":"i");function w(T){const A=T.match(p),P={};if(!A)return null;for(let O=1;O<A.length;O++){const B=A[O]||"",z=c[O-1];P[z.name]=B&&z.repeatable?B.split("/"):B}return P}function _(T){let A="",P=!1;for(const O of e){(!P||!A.endsWith("/"))&&(A+="/"),P=!1;for(const B of O)if(B.type===0)A+=B.value;else if(B.type===1){const{value:z,repeatable:U,optional:J}=B,ee=z in T?T[z]:"";if(Yo(ee)&&!U)throw new Error(`Provided param "${z}" is an array but it is not repeatable (* or + modifiers)`);const Y=Yo(ee)?ee.join("/"):ee;if(!Y)if(J)O.length<2&&(A.endsWith("/")?A=A.slice(0,-1):P=!0);else throw new Error(`Missing required param "${z}"`);A+=Y}}return A||"/"}return{re:p,score:r,keys:c,parse:w,stringify:_}}function gO(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===40+40?-1:1:e.length>t.length?t.length===1&&t[0]===40+40?1:-1:0}function yO(e,t){let n=0;const r=e.score,a=t.score;for(;n<r.length&&n<a.length;){const c=gO(r[n],a[n]);if(c)return c;n++}if(Math.abs(a.length-r.length)===1){if(Uv(r))return 1;if(Uv(a))return-1}return a.length-r.length}function Uv(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const vO={type:0,value:""},bO=/[a-zA-Z0-9_]/;function xO(e){if(!e)return[[]];if(e==="/")return[[vO]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(B){throw new Error(`ERR (${n})/"${T}": ${B}`)}let n=0,r=n;const a=[];let c;function p(){c&&a.push(c),c=[]}let w=0,_,T="",A="";function P(){!T||(n===0?c.push({type:0,value:T}):n===1||n===2||n===3?(c.length>1&&(_==="*"||_==="+")&&t(`A repeatable param (${T}) must be alone in its segment. eg: '/:ids+.`),c.push({type:1,value:T,regexp:A,repeatable:_==="*"||_==="+",optional:_==="*"||_==="?"})):t("Invalid state to consume buffer"),T="")}function O(){T+=_}for(;w<e.length;){if(_=e[w++],_==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:_==="/"?(T&&P(),p()):_===":"?(P(),n=1):O();break;case 4:O(),n=r;break;case 1:_==="("?n=2:bO.test(_)?O():(P(),n=0,_!=="*"&&_!=="?"&&_!=="+"&&w--);break;case 2:_===")"?A[A.length-1]=="\\"?A=A.slice(0,-1)+_:n=3:A+=_;break;case 3:P(),n=0,_!=="*"&&_!=="?"&&_!=="+"&&w--,A="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${T}"`),P(),p(),a}function wO(e,t,n){const r=mO(xO(e.path),n),a=xi(r,{record:e,parent:t,children:[],alias:[]});return t&&!a.record.aliasOf==!t.record.aliasOf&&t.children.push(a),a}function SO(e,t){const n=[],r=new Map;t=Yv({strict:!1,end:!0,sensitive:!1},t);function a(A){return r.get(A)}function c(A,P,O){const B=!O,z=_O(A);z.aliasOf=O&&O.record;const U=Yv(t,A),J=[z];if("alias"in A){const q=typeof A.alias=="string"?[A.alias]:A.alias;for(const $ of q)J.push(xi({},z,{components:O?O.record.components:z.components,path:$,aliasOf:O?O.record:z}))}let ee,Y;for(const q of J){const{path:$}=q;if(P&&$[0]!=="/"){const G=P.record.path,X=G[G.length-1]==="/"?"":"/";q.path=P.record.path+($&&X+$)}if(ee=wO(q,P,U),O?O.alias.push(ee):(Y=Y||ee,Y!==ee&&Y.alias.push(ee),B&&A.name&&!Gv(ee)&&p(A.name)),z.children){const G=z.children;for(let X=0;X<G.length;X++)c(G[X],ee,O&&O.children[X])}O=O||ee,(ee.record.components&&Object.keys(ee.record.components).length||ee.record.name||ee.record.redirect)&&_(ee)}return Y?()=>{p(Y)}:Tu}function p(A){if(Ew(A)){const P=r.get(A);P&&(r.delete(A),n.splice(n.indexOf(P),1),P.children.forEach(p),P.alias.forEach(p))}else{const P=n.indexOf(A);P>-1&&(n.splice(P,1),A.record.name&&r.delete(A.record.name),A.children.forEach(p),A.alias.forEach(p))}}function w(){return n}function _(A){let P=0;for(;P<n.length&&yO(A,n[P])>=0&&(A.record.path!==n[P].record.path||!Pw(A,n[P]));)P++;n.splice(P,0,A),A.record.name&&!Gv(A)&&r.set(A.record.name,A)}function T(A,P){let O,B={},z,U;if("name"in A&&A.name){if(O=r.get(A.name),!O)throw Il(1,{location:A});U=O.record.name,B=xi(Wv(P.params,O.keys.filter(Y=>!Y.optional).concat(O.parent?O.parent.keys.filter(Y=>Y.optional):[]).map(Y=>Y.name)),A.params&&Wv(A.params,O.keys.map(Y=>Y.name))),z=O.stringify(B)}else if(A.path!=null)z=A.path,O=n.find(Y=>Y.re.test(z)),O&&(B=O.parse(z),U=O.record.name);else{if(O=P.name?r.get(P.name):n.find(Y=>Y.re.test(P.path)),!O)throw Il(1,{location:A,currentLocation:P});U=O.record.name,B=xi({},P.params,A.params),z=O.stringify(B)}const J=[];let ee=O;for(;ee;
vendor: 9,234 bytes, line 30
30)J.unshift(ee.record),ee=ee.parent;return{name:U,path:z,params:B,matched:J,meta:kO(J)}}return e.forEach(A=>c(A)),{addRoute:c,resolve:T,removeRoute:p,getRoutes:w,getRecordMatcher:a}}function Wv(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function _O(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:CO(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function CO(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function Gv(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function kO(e){return e.reduce((t,n)=>xi(t,n.meta),{})}function Yv(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Pw(e,t){return t.children.some(n=>n===e||Pw(e,n))}function AO(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let a=0;a<r.length;++a){const c=r[a].replace(Sw," "),p=c.indexOf("="),w=Vu(p<0?c:c.slice(0,p)),_=p<0?null:Vu(c.slice(p+1));if(w in t){let T=t[w];Yo(T)||(T=t[w]=[T]),T.push(_)}else t[w]=_}return t}function Xv(e){let t="";for(let n in e){const r=e[n];if(n=UP(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(Yo(r)?r.map(c=>c&&zp(c)):[r&&zp(r)]).forEach(c=>{c!==void 0&&(t+=(t.length?"&":"")+n,c!=null&&(t+="="+c))})}return t}function TO(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Yo(r)?r.map(a=>a==null?null:""+a):r==null?r:""+r)}return t}const EO=Symbol(""),Kv=Symbol(""),bh=Symbol(""),jm=Symbol(""),$p=Symbol("");function pu(){let e=[];function t(r){return e.push(r),()=>{const a=e.indexOf(r);a>-1&&e.splice(a,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Cs(e,t,n,r,a,c=p=>p()){const p=r&&(r.enterCallbacks[a]=r.enterCallbacks[a]||[]);return()=>new Promise((w,_)=>{const T=O=>{O===!1?_(Il(4,{from:n,to:t})):O instanceof Error?_(O):hO(O)?_(Il(2,{from:t,to:O})):(p&&r.enterCallbacks[a]===p&&typeof O=="function"&&p.push(O),w())},A=c(()=>e.call(r&&r.instances[a],t,n,T));let P=Promise.resolve(A);e.length<3&&(P=P.then(T)),P.catch(O=>_(O))})}function Qf(e,t,n,r,a=c=>c()){const c=[];for(const p of e)for(const w in p.components){let _=p.components[w];if(!(t!=="beforeRouteEnter"&&!p.instances[w]))if(MO(_)){const A=(_.__vccOpts||_)[t];A&&c.push(Cs(A,n,r,p,w,a))}else{let T=_();c.push(()=>T.then(A=>{if(!A)return Promise.reject(new Error(`Couldn't resolve component "${w}" at "${p.path}"`));const P=NP(A)?A.default:A;p.components[w]=P;const B=(P.__vccOpts||P)[t];return B&&Cs(B,n,r,p,w,a)()}))}}return c}function MO(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Qv(e){const t=Pi(bh),n=Pi(jm),r=ce(()=>{const _=Ji(e.to);return t.resolve(_)}),a=ce(()=>{const{matched:_}=r.value,{length:T}=_,A=_[T-1],P=n.matched;if(!A||!P.length)return-1;const O=P.findIndex(Ol.bind(null,A));if(O>-1)return O;const B=Zv(_[T-2]);return T>1&&Zv(A)===B&&P[P.length-1].path!==B?P.findIndex(Ol.bind(null,_[T-2])):O}),c=ce(()=>a.value>-1&&LO(n.params,r.value.params)),p=ce(()=>a.value>-1&&a.value===n.matched.length-1&&Aw(n.params,r.value.params));function w(_={}){return IO(_)?t[Ji(e.replace)?"replace":"push"](Ji(e.to)).catch(Tu):Promise.resolve()}return{route:r,href:ce(()=>r.value.href),isActive:c,isExactActive:p,navigate:w}}const PO=Sa({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Qv,setup(e,{slots:t}){const n=kn(Qv(e)),{options:r}=Pi(bh),a=ce(()=>({[Jv(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Jv(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const c=t.default&&t.default(n);return e.custom?c:Se("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:a.value},c)}}}),OO=PO;function IO(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function LO(e,t){for(const n in t){const r=t[n],a=e[n];if(typeof r=="string"){if(r!==a)return!1}else if(!Yo(a)||a.length!==r.length||r.some((c,p)=>c!==a[p]))return!1}return!0}function Zv(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Jv=(e,t,n)=>e!=null?e:t!=null?t:n,NO=Sa({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Pi($p),a=ce(()=>e.route||r.value),c=Pi(Kv,0),p=ce(()=>{let T=Ji(c);const{matched:A}=a.value;let P;for(;(P=A[T])&&!P.components;)T++;return T}),w=ce(()=>a.value.matched[p.value]);Fr(Kv,ce(()=>p.value+1)),Fr(EO,w),Fr($p,a);const _=Ke();return Ft(()=>[_.value,w.value,e.name],([T,A,P],[O,B,z])=>{A&&(A.instances[P]=T,B&&B!==A&&T&&T===O&&(A.leaveGuards.size||(A.leaveGuards=B.leaveGuards),A.updateGuards.size||(A.updateGuards=B.updateGuards))),T&&A&&(!B||!Ol(A,B)||!O)&&(A.enterCallbacks[P]||[]).forEach(U=>U(T))},{flush:"post"}),()=>{const T=a.value,A=e.name,P=w.value,O=P&&P.components[A];if(!O)return eb(n.default,{Component:O,route:T});const B=P.props[A],z=B?B===!0?T.params:typeof B=="function"?B(T):B:null,J=Se(O,xi({},z,t,{onVnodeUnmounted:ee=>{ee.component.isUnmounted&&(P.instances[A]=null)},ref:_}));return eb(n.default,{Component:J,route:T})||J}}});function eb(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const RO=NO;function FO(e){const t=SO(e.routes,e),n=e.parseQuery||AO,r=e.stringifyQuery||Xv,a=e.history,c=pu(),p=pu(),w=pu(),_=x0(ys);let T=ys;ul&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const A=Xf.bind(null,ge=>""+ge),P=Xf.bind(null,GP),O=Xf.bind(null,Vu);function B(ge,Ye){let ke,nt;return Ew(ge)?(ke=t.getRecordMatcher(ge),nt=Ye):nt=ge,t.addRoute(nt,ke)}function z(ge){const Ye=t.getRecordMatcher(ge);Ye&&t.removeRoute(Ye)}function U(){return t.getRoutes().map(ge=>ge.record)}function J(ge){return!!t.getRecordMatcher(ge)}function ee(ge,Ye){if(Ye=xi({},Ye||_.value),typeof ge=="string"){const te=Kf(n,ge,Ye.path),Ce=t.resolve({path:te.path},Ye),De=a.createHref(te.fullPath);return xi(te,Ce,{params:O(Ce.params),hash:Vu(te.hash),redirectedFrom:void 0,href:De})}let ke;if(ge.path!=null)ke=xi({},ge,{path:Kf(n,ge.path,Ye.path).path});else{const te=xi({},ge.params);for(const Ce in te)te[Ce]==null&&delete te[Ce];ke=xi({},ge,{params:P(te)}),Ye.params=P(Ye.params)}const nt=t.resolve(ke,Ye),Ut=ge.hash||"";nt.params=A(O(nt.params));const tt=KP(r,xi({},ge,{hash:$P(Ut),path:nt.path})),Q=a.createHref(tt);return xi({fullPath:tt,hash:Ut,query:r===Xv?TO(ge.query):ge.query||{}},nt,{redirectedFrom:void 0,href:Q})}function Y(ge){return typeof ge=="string"?Kf(n,ge,_.value.path):xi({},ge)}function q(ge,Ye){if(T!==ge)return Il(8,{from:Ye,to:ge})}function $(ge){return v(ge)}function G(ge){return $(xi(Y(ge),{replace:!0}))}function X(ge){const Ye=ge.matched[ge.matched.length-1];if(Ye&&Ye.redirect){const{redirect:ke}=Ye;let nt=typeof ke=="function"?ke(ge):ke;return typeof nt=="string"&&(nt=nt.includes("?")||nt.includes("#")?nt=Y(nt):{path:nt},nt.params={}),xi({query:ge.query,hash:ge.hash,params:nt.path!=null?{}:ge.params},nt)}}function v(ge,Ye){const ke=T=ee(ge),nt=_.value,Ut=ge.state,tt=ge.force,Q=ge.replace===!0,te=X(ke);if(te)return v(xi(Y(te),{state:typeof te=="object"?xi({},Ut,te.state):Ut,force:tt,replace:Q}),Ye||ke);const Ce=ke;Ce.redirectedFrom=Ye;let De;return!tt&&QP(r,nt,ke)&&(De=Il(16,{to:Ce,from:nt}),Te(nt,nt,!0,!1)),(De?Promise.resolve(De):de(Ce,nt)).catch(Le=>Pr(Le)?Pr(Le,2)?Le:Et(Le):Ve(Le,Ce,nt)).then(Le=>{if(Le){if(Pr(Le,2))return v(xi({replace:Q},Y(Le.to),{state:typeof Le.to=="object"?xi({},Ut,Le.to.state):Ut,force:tt}),Ye||Ce)}else Le=oe(Ce,nt,!0,Q,Ut);return Oe(Ce,nt,Le),Le})}function me(ge,Ye){const ke=q(ge,Ye);return ke?Promise.reject(ke):Promise.resolve()}function re(ge){const Ye=Pt.values().next().value;return Ye&&typeof Ye.runWithContext=="function"?Ye.runWithContext(ge):ge()}function de(ge,Ye){let ke;const[nt,Ut,tt]=DO(ge,Ye);ke=Qf(nt.reverse(),"beforeRouteLeave",ge,Ye);for(const te of nt)te.leaveGuards.forEach(Ce=>{ke.push(Cs(Ce,ge,Ye))});const Q=me.bind(null,ge,Ye);return ke.push(Q),Ge(ke).then(()=>{ke=[];for(const te of c.list())ke.push(Cs(te,ge,Ye));return ke.push(Q),Ge(ke)}).then(()=>{ke=Qf(Ut,"beforeRouteUpdate",ge,Ye);for(const te of Ut)te.updateGuards.forEach(Ce=>{ke.push(Cs(Ce,ge,Ye))});return ke.push(Q),Ge(ke)}).then(()=>{ke=[];for(const te of tt)if(te.beforeEnter)if(Yo(te.beforeEnter))for(const Ce of te.beforeEnter)ke.push(Cs(Ce,ge,Ye));else ke.push(Cs(te.beforeEnter,ge,Ye));return ke.push(Q),Ge(ke)}).then(()=>(ge.matched.forEach(te=>te.enterCallbacks={}),ke=Qf(tt,"beforeRouteEnter",ge,Ye,re),ke.push(Q),Ge(ke))).then(()=>{ke=[];for(const te of p.list())ke.push(Cs(te,ge,Ye));return ke.push(Q),Ge(ke)}).catch(te=>Pr(te,8)?te:Promise.reject(te))}
30function Oe(ge,Ye,ke){w.list().forEach(nt=>re(()=>nt(ge,Ye,ke)))}function oe(ge,Ye,ke,nt,Ut){const tt=q(ge,Ye);if(tt)return tt;const Q=Ye===ys,te=ul?history.state:{};ke&&(nt||Q?a.replace(ge.fullPath,xi({scroll:Q&&te&&te.scroll},Ut)):a.push(ge.fullPath,Ut)),_.value=ge,Te(ge,Ye,ke,Q),Et()}let Ee;function Pe(){Ee||(Ee=a.listen((ge,Ye,ke)=>{if(!jt.listening)return;const nt=ee(ge),Ut=X(nt);if(Ut){v(xi(Ut,{replace:!0}),nt).catch(Tu);return}T=nt;const tt=_.value;ul&&rO(Hv(tt.fullPath,ke.delta),vh()),de(nt,tt).catch(Q=>Pr(Q,12)?Q:Pr(Q,2)?(v(Q.to,nt).then(te=>{Pr(te,20)&&!ke.delta&&ke.type===qu.pop&&a.go(-1,!1)}).catch(Tu),Promise.reject()):(ke.delta&&a.go(-ke.delta,!1),Ve(Q,nt,tt))).then(Q=>{Q=Q||oe(nt,tt,!1),Q&&(ke.delta&&!Pr(Q,8)?a.go(-ke.delta,!1):ke.type===qu.pop&&Pr(Q,20)&&a.go(-1,!1)),Oe(nt,tt,Q)}).catch(Tu)}))}let Je=pu(),Fe=pu(),Ae;function Ve(ge,Ye,ke){Et(ge);const nt=Fe.list();return nt.length?nt.forEach(Ut=>Ut(ge,Ye,ke)):console.error(ge),Promise.reject(ge)}function Mt(){return Ae&&_.value!==ys?Promise.resolve():new Promise((ge,Ye)=>{Je.add([ge,Ye])})}function Et(ge){return Ae||(Ae=!ge,Pe(),Je.list().forEach(([Ye,ke])=>ge?ke(ge):Ye()),Je.reset()),ge}function Te(ge,Ye,ke,nt){const{scrollBehavior:Ut}=e;if(!ul||!Ut)return Promise.resolve();const tt=!ke&&sO(Hv(ge.fullPath,0))||(nt||!ke)&&history.state&&history.state.scroll||null;return Ai().then(()=>Ut(ge,Ye,tt)).then(Q=>Q&&oO(Q)).catch(Q=>Ve(Q,ge,Ye))}const ve=ge=>a.go(ge);let ft;const Pt=new Set,jt={currentRoute:_,listening:!0,addRoute:B,removeRoute:z,hasRoute:J,getRoutes:U,resolve:ee,options:e,push:$,replace:G,go:ve,back:()=>ve(-1),forward:()=>ve(1),beforeEach:c.add,beforeResolve:p.add,afterEach:w.add,onError:Fe.add,isReady:Mt,install(ge){const Ye=this;ge.component("RouterLink",OO),ge.component("RouterView",RO),ge.config.globalProperties.$router=Ye,Object.defineProperty(ge.config.globalProperties,"$route",{enumerable:!0,get:()=>Ji(_)}),ul&&!ft&&_.value===ys&&(ft=!0,$(a.location).catch(Ut=>{}));const ke={};for(const Ut in ys)Object.defineProperty(ke,Ut,{get:()=>_.value[Ut],enumerable:!0});ge.provide(bh,Ye),ge.provide(jm,fm(ke)),ge.provide($p,_);const nt=ge.unmount;Pt.add(ge),ge.unmount=function(){Pt.delete(ge),Pt.size<1&&(T=ys,Ee&&Ee(),Ee=null,_.value=ys,ft=!1,Ae=!1),nt()}}};function Ge(ge){return ge.reduce((Ye,ke)=>Ye.then(()=>re(ke)),Promise.resolve())}return jt}function DO(e,t){const n=[],r=[],a=[],c=Math.max(t.matched.length,e.matched.length);for(let p=0;p<c;p++){const w=t.matched[p];w&&(e.matched.find(T=>Ol(T,w))?r.push(w):n.push(w));const _=e.matched[p];_&&(t.matched.find(T=>Ol(T,_))||a.push(_))}return[n,r,a]}function BO(){return Pi(bh)}function $m(){return Pi(jm)}const tb=kn({initialised:!1});function Ow(){const e=$m();console.log("Init Page Log");const t=(a,c)=>{let p=localStorage.getItem("sessionId");p||(p="N/A"),Pl({method:"POST",url:"/api/tfg/page-log",data:{url:location.href,from:a,path:c,referrer:document.referrer,sessionId:p}}).then(w=>{},w=>{})};return{logPage:t,logStep:a=>{let c=localStorage.getItem("sessionId");c||(c="N/A"),Pl({method:"POST",url:"/api/tfg/page-log",data:{url:location.href,path:e.path,sessionId:c,step:a}}).then(p=>{},p=>{})},init:()=>{tb.initialised||(t("-",e.path),Ft(()=>e.path,(a,c)=>{t(c,a)}),tb.initialised=!0)}}}const Iw=Object.assign({name:"App"},{__name:"App",setup(e){return Ow().init(),(n,r)=>{const a=ze("router-view");return xe(),Rt(a)}}});function Xq(e){return e}const ho={categories:{brands:[{id:"001",name:"Foschini"},{id:"611",name:"Totalsports"},{id:"201",name:"Markham"},{id:"301",name:"Exact"},{id:"651",name:"Sportscene"},{id:"101",name:"American Swiss"},{id:"151",name:"Sterns"},{id:"401",name:"@home"},{id:"221",name:"Fabiani"},{id:"011",name:"The FIX"},{id:"231",name:"G-Star Raw",message:"Please note that your G-Star account can be used for any online and in-store purchases at any TFG store (excluding www.g-star.com/za)"},{id:"501",name:"Hi"},{id:"631",name:"Archive"},{id:"211",name:"Relay Jeans"},{id:"551",name:"RFO"},{id:"641",name:"Sneaker Factory"},{id:"411",name:"Coricraft"},{id:"412",name:"Dial-a-Bed"},{id:"413",name:"Volpes"},{id:"414",name:"Mojo Beds"},{id:"331",name:"Jet"},{id:"051",name:"Beauty Box"},{id:"161",name:"1896"}],titles:["Mr","Mrs","Miss","Ms"],maritalStatus:[{id:"S",name:"Single"},{id:"M",name:"Married"},{id:"W",name:"Widowed"},{id:"D",name:"Divorced"}],ethnicGroups:[{id:"W",name:"White"},{id:"B",name:"Black"},{id:"I",name:"Indian"},{id:"C",name:"Coloured"},{id:"A",name:"Asian"},{id:"D",name:"I do not want to Answer"}],employmentTypes:[{id:"PEM",name:"Permanently employed"},{id:"SEM",name:"Self-employed"},{id:"CON",name:"Employed on a contract basis"},{id:"HME",name:"Home executive (housewife)"},{id:"STU",name:"Student"},{id:"RET",name:"Retired"},{id:"GRT",name:"Receive a state grant"},{id:"NEM",name:"Not employed"}
30],selfEmploymentCapacityCodes:[{id:"OCE",name:"Own company (employer of others)"},{id:"RPE",name:"Registered professional (e.g. doctor)"},{id:"NRP",name:"Non-registered professional (e.g. graphic designer)"},{id:"OIE",name:"Other (Informal)"}],studentTypes:[{id:"1",name:"Full-time"},{id:"2",name:"Part-time"}],contractExpiryYears:[{id:"2024",name:"2024"},{id:"2025",name:"2025"},{id:"2026",name:"2026"}],employmentLevels:[{id:"JML",name:"Junior / Mid-level"},{id:"SML",name:"Senior Manager"},{id:"NRP",name:"Non-registered professional (e.g. graphic designer)"}],employmentCapacityCodes:[{id:"EDU",name:"Education"},{id:"MMS",name:"Marketing / Media / Sales"},{id:"ISM",name:"IT / Science / Medical / Research"},{id:"SCD",name:"Security / Defence"},{id:"LFS",name:"Legal / Financial services"},{id:"EAT",name:"Engineering / Architecture"},{id:"CEA",name:"Catering / Entertainment / Accommodation"},{id:"SLA",name:"Skilled labour / Artisan"},{id:"DWL",name:"Domestic worker / Labourer"},{id:"AOS",name:"Admin/ Office Support"},{id:"GOV",name:"Government Department"},{id:"DRV",name:"Driver (bus, taxi, truck, train)"},{id:"OPS",name:"Other Professional Services"}]},processed:{additionalInformation:{status:"success",data:{applicationReferenceNumber:"123456",nextStep:"EmploymentInformation",processType:"THIN",pauseProcessing:!1}},basicInformation_paused:{status:"success",data:{applicationReferenceNumber:"335D4C8C53",processType:"THICK/CMS",pauseProcessing:!0,message:"This is a PAUSED MESSAGE"}},continueIdForm:{status:"success",data:{applicationReferenceNumber:"335D4C8C53",cellNumber:"0834563500",activeApplicationFound:!0,otpUniqueId:123456,message:null}},continueOtpForm:{status:"success",data:{applicationReferenceNumber:"335D4C8C53",nextStep:"AdditionalInformation",processType:"THICK/CMS",pauseProcessing:!1,message:null}},initiateAgentApplication:{status:"failure",data:{success:!1,errorContainer:{errorMsg:null,errNo:null,serverError:!1,errors:[]},applicationReferenceNumber:null,processType:null,nextStep:"BasicInformation",hasValidationErrors:!1,validationResults:[],errorOccured:!0,message:"Oops, something went wrong. Please try again in 10 minutes or call 0860 834 834.",pauseProcessing:!1}},continueFromReference:{status:"success",data:{applicationReferenceNumber:"335D4C8C53",nextStep:"AdditionalInformation",processType:"THICK/CMS",pauseProcessing:!1,message:null}},basicInformation:{status:"success",data:{applicationReferenceNumber:"335D4C8C53",nextStep:"AdditionalInformation",processType:"THICK/CMS",pauseProcessing:!1,message:null}},basicInformation_validation_fail:{status:"failure",data:{message:"Test Failure message - set mockData.js basicInformation.status=success to move to next step",applicationReferenceNumber:"123456",nextStep:"AdditionalInformation",processType:"THIN",pauseProcessing:!1,validationResults:[{fieldName:"IdNumber",outcome:"Failed",message:"Forced ID Failed message"}]}},employmentInformation:{status:"success",data:{applicationReferenceNumber:"123456",nextStep:"AffordabilityDetails",processType:"THIN",pauseProcessing:!1}},financialInformation:{status:"success",data:{success:!0,errorContainer:{errorMsg:null,errNo:null,serverError:!1,errors:[]},applicationReferenceNumber:"3800606079",processType:"THICK/CMS",nextStep:"ContactDetails",hasValidationErrors:!1,validationResults:[],errorOccured:!1,message:"Congratulations! Your FOSCHINI account application has been provisionally approved. We're almost done! Please complete the remaining details to finalise your application.",pauseProcessing:!0,errorMsg:null,serverError:!1,errNo:null}},contactInformation:{status:"success",data:{applicationReferenceNumber:"123456",nextStep:"ReferenceDetails",processType:"THIN",pauseProcessing:!1}},references:{status:"success",data:{applicationReferenceNumber:"123456",nextStep:"Permissions",processType:"THIN",pauseProcessing:!1}},permissionsAndSubs:{status:"success",data:{success:!0,errorContainer:{errorMsg:null,errNo:null,serverError:!1,errors:[]},applicationReferenceNumber:"38005E8241",processType:"THICK/CMS",nextStep:"SubscriptionMagazines",hasValidationErrors:!1,validationResults:[],errorOccured:!1,message:"Sorry, your application for a FOSCHINI card account has been unsuccessful.",pauseProcessing:!1,errorMsg:null,serverError:!1,errNo:null}}}},VO={loadAll:qO};function qO(e){const t={method:"GET"};console.log("dev",rt.dev),console.log("apiUrl",rt.apiUrl);let n=new URL(`${rt.apiUrl}category`);return Object.keys(e).forEach(r=>{n.searchParams.append(r,e[r])}),fetch(n,t).then(HO)}function HO(e){return e.text().then(t=>{const n=t&&JSON.parse(t);if(!e.ok){e.status===401&&location.reload(!0);const r=n&&n.message||e.statusText;return Promise.reject(r)}return n})}const zO={saveStep:jO};function jO(e,t){const n={method:"POST",body:JSON.stringify(t),headers:{Accept:"application/json","Content-Type":"application/json"}}
30,r=new URL(`${rt.apiUrl}${e}`);return fetch(r,n).then($O)}function $O(e){return e.text().then(t=>{const n=t&&JSON.parse(t);if(!e.ok){const r=n&&n.message||e.statusText;return Promise.reject(r)}return n})}const Gt={service:{saveStep(e,t,n,r,a){r.accountAppRef=r.accountAppRef!=null?r.accountAppRef:t.appState.applicationReferenceNumber,r.processType=t.appState.processType,r.campaignCode=t.appState.campaignCode,r.deviceInformation=navigator.userAgent;let c=localStorage.getItem("sessionId");c||(c="none"),r.sessionId=c,r.captureStrategy||(r.captureStrategy=t.appState.entryType),a||(a="saveSuccess"),zO.saveStep(n,r).then(p=>{scrollTo(0,0),console.log("save",p,a),p.status==="failure"&&ut.emit("v-failure",{data:p,endPoint:n}),e(a,p)},p=>e("saveFailure",p))}},mutations:{request(e){e.posting=!0,ut.emit("posting",!0)},saveSuccess(e,t){console.log("success",t),e.posting=!1,ut.emit("posting",!1),e.data={...t.data},e.data.status=t.status,e.data.pauseProcessing?ut.emit("PAUSE_APPLICATION",e.data.message):e.data.message&&ut.emit("SYS_MESSAGE",e.data.message),e.data.hasValidationErrors&&location.href.includes("AdditionalInformationThin")?scrollTo(0,0):ut.emit("APP_STATE_UPDATE",{nextStep:e.data.nextStep,logo:e.data.logo,applicationReferenceNumber:e.data.applicationReferenceNumber,processType:e.data.processType})},saveFailure(e,t){console.log("saveFail"),e.loading=!1,e.posting=!1,ut.emit("posting",!1),e.error=t}}},UO={namespaced:!0,state:{loading:!0,posting:!1,data:{status:"unknown"},step1Data:{}},actions:{send({commit:e,rootState:t,state:n},r){t.appState.processType=="THIN"&&r.fromThin==null?(e("setStep1Data",r),n.step1Data=r,ut.emit("APP_STATE_UPDATE",{nextStep:"AdditionalInformationThin"})):(e("request"),n.step1Data!=null&&(r={...r,...n.step1Data}),rt.mockData.additionalInfo&&rt.dev&&rt.mockDataEnabled?e("saveSuccess",ho.processed.additionalInformation):(console.log("trigger save step additional info"),console.trace(),Gt.service.saveStep(e,t,"account/processAdditionalInformation",{additionalInformation:r})))}},mutations:{setStep1Data(e,t){e.step1Data=t},request(e){Gt.mutations.request(e)},saveSuccess(e,t){Gt.mutations.saveSuccess(e,t)},saveFailure(e,t){Gt.mutations.saveFailure(e,t)}}},WO={namespaced:!0,state:{applicationReferenceNumber:localStorage.getItem("applicationReferenceNumber"),processType:localStorage.getItem("processType"),entryType:localStorage.getItem("entryType"),logo:null,nextStep:null},actions:{updateState({commit:e},t){e("updateStateSuccess",t)},initFromState({commit:e},t){e("initFromStateSuccess",t)},clearState({commit:e},t){e("clearStateSuccess",t)}},mutations:{updateStateSuccess(e,t){let n=sessionStorage;t.nextStep&&(e.nextStep=t.nextStep,n.setItem("nextStep",t.nextStep)),t.applicationReferenceNumber&&(e.applicationReferenceNumber=t.applicationReferenceNumber,n.setItem("applicationReferenceNumber",t.applicationReferenceNumber)),t.logo&&(e.logo=t.logo),t.processType&&(e.processType=t.processType,n.setItem("processType",t.processType)),t.campaignCode&&(e.campaignCode=t.campaignCode,n.setItem("campaignCode",t.campaignCode)),t.entryType&&(e.entryType=t.entryType,n.setItem("entryType",t.entryType))},initFromStateSuccess(e){let t=sessionStorage;t.getItem("nextStep")!=null&&(e.nextStep=t.getItem("nextStep")),t.getItem("applicationReferenceNumber")!=null&&(e.applicationReferenceNumber=t.getItem("applicationReferenceNumber")),t.getItem("processType")!=null&&(e.processType=t.getItem("processType")),t.getItem("campaignCode")!=null&&(e.campaignCode=t.getItem("campaignCode")),t.getItem("entryType")!=null&&(e.entryType=t.getItem("entryType"))},clearStateSuccess(e){sessionStorage.clear(),e.nextStep=null}}},GO={namespaced:!0,state:{posting:!1,data:{status:"unknown"}},actions:{send({commit:e,rootState:t},n){e("request"),rt.mockData.basicInfo&&rt.dev&&rt.mockDataEnabled?e("saveSuccess",ho.processed.basicInformation):Gt.service.saveStep(e,t,"account/processBasicInformation",{basicInformation:n})}},mutations:{request(e){Gt.mutations.request(e)},saveSuccess(e,t){console.log("data",t),Gt.mutations.saveSuccess(e,t)},saveFailure(e,t){Gt.mutations.saveFailure(e,t)}}},YO={namespaced:!0,state:{loading:!0,data:{}},actions:{loadAll({commit:e,state:t},n){e("loadAllRequest"),t.data.brands==null&&(rt.mockData.categoryData&&rt.dev&&rt.mockDataEnabled?e("getSuccess",ho.categories):VO.loadAll(n).then(r=>e("getSuccess",r),r=>e("getFailure",r)))}},mutations:{loadAllRequest(e){e.loading=!0},getSuccess(e,t){e.loading=!1,e.data={...t}},getFailure(e,t){e.loading=!1,e.posting=!1,ut.emit("posting",!1),e.error=t}}},XO={namespaced:!0,state:{loading:!0,posting:!1,data:{status:"unknown"}},actions:{send({commit:e,rootState:t},n){e("request"),rt.mockData.contactInfo&&rt.dev&&rt.mockDataEnabled?e("saveSuccess",ho.processed.contactInformation):Gt.service.saveStep(e,t,"account/processContactInformation",{contactDetails:n})}},mutations:{request(e){Gt.mutations.request(e)},saveSuccess(e,t){Gt.mutations.saveSuccess(e,t)},saveFailure(e,t){Gt.mutations.saveFailure(e,t)}}},KO={namespaced:!0,state:{posting:!1,data:{idForm:{status:"unknown"},otpForm:{status:"unknown"}}},actions:{reset({commit:e}){e("resetStep")},sendIdForm({commit:e,rootState:t},n){e("request"),rt.mockData.continueIdForm&&rt.dev&&rt.mockDataEnabled?e("saveSuccessIdForm",ho.processed.continueIdForm):Gt.service.saveStep(e,t,"account/retrieveApplication",n,"saveSuccessIdForm")},sendOtpForm({commit:e,rootState:t},n){e("request"),rt.mockData.continueOtpForm&&rt.dev&&rt.mockDataEnabled?e("saveSuccessOtpForm",ho.processed.continueOtpForm):Gt.service.saveStep(e,t,"account/continueApplication",n,"saveSuccessOtpForm")}},mutations:{request(e){Gt.mutations.request(e)},resetStep(e){e.posting=!1,ut.emit("posting",!1),e.data={idForm:{status:"unknown"},otpForm:{status:"unknown"}}},saveSuccessIdForm(e,t){e.posting=!1,ut.emit("posting",!1),e.data.idForm={...t.data};let n=e.data.idForm;n.status=t.status,n.pauseProcessing?ut.emit("PAUSE_APPLICATION",n.message):n.message?ut.emit("SYS_MESSAGE",n.message):n.cellNumber!=null&&n.cellNumber.length>0&&ut.emit("SYS_MESSAGE","OTP sent to "+n.cellNumber)},saveSuccessOtpForm(e,t){e.posting=!1,ut.emit("posting",!1),e.data.otpForm={...t.data};let n=e.data.otpForm;n.status=t.status,n.pauseProcessing?ut.emit("PAUSE_APPLICATION",n.message):n.message?ut.emit("SYS_MESSAGE",n.message):n.cellNumber!=null&&n.cellNumber.length>0&&ut.emit("SYS_MESSAGE","OTP sent to "+n.cellNumber)},saveFailure(e,t){Gt.mutations.saveFailure(e,t)}}},QO={namespaced:!0,state:{posting:!1,data:{status:"unknown"}},actions:{send({commit:e,rootState:t},n){e("request"),rt.mockData.continueFromReference&&rt.dev&&rt.mockDataEnabled?e("saveSuccess",ho.processed.continueFromReference):Gt.service.saveStep(e,t,"account/continueFromReference",n)}},mutations:{request(e){Gt.mutations.request(e)},saveSuccess(e,t){Gt.mutations.saveSuccess(e,t)},saveFailure(e,t){Gt.mutations.saveFailure(e,t)}}},ZO={namespaced:!0,state:{loading:!0,posting:!1,data:{status:"unknown"}},actions:{send({commit:e,rootState:t},n){e("request"),rt.mockData.employmentInfo&&rt.dev&&rt.mockDataEnabled?e("saveSuccess",ho.processed.employmentInformation):Gt.service.saveStep(e,t,"account/processEmploymentInformation",{employmentInformation:n})}},mutations:{request(e){Gt.mutations.request(e)},saveSuccess(e,t){Gt.mutations.saveSuccess(e,t)},saveFailure(e,t){Gt.mutations.saveFailure(e,t)}}},JO={namespaced:!0,state:{loading:!0,posting:!1,data:{status:"unknown"}},actions:{send({commit:e,rootState:t},n){e("request"),rt.mockData.financialInfo&&rt.dev&&rt.mockDataEnabled?e("saveSuccess",ho.processed.financialInformation):Gt.service.saveStep(e,t,"account/processFinancialInformation",n)}},mutations:{request(e){Gt.mutations.request(e)},saveSuccess(e,t){Gt.mutations.saveSuccess(e,t)},saveFailure(e,t){Gt.mutations.saveFailure(e,t)}}},eI={namespaced:!0,state:{posting:!1,data:{status:"unknown"}},actions:{send({commit:e,rootState:t},n){e("request"),rt.mockData.initiateAgentApplication&&rt.dev&&rt.mockDataEnabled?e("saveSuccess",ho.processed.initiateAgentApplication):Gt.service.saveStep(e,t,"account/initiateAgentApplication",n)}},mutations:{request(e){Gt.mutations.request(e)},saveSuccess(e,t){Gt.mutations.saveSuccess(e,t)},saveFailure(e,t){Gt.mutations.saveFailure(e,t)}}},tI={namespaced:!0,state:{show:!1,message:""},actions:{showMessage({commit:e},t){e("showMessage",t)},visible({commit:e},t){e("visible",t)}},mutations:{showMessage(e,t){e.show=t!=null&&t.length>0,e.message=t},visible(e,t){e.show=t}}},iI={namespaced:!0,state:{posting:!1,data:{status:"unknown"}},actions:{send({commit:e,rootState:t},n){e("request"),rt.mockData.originInfo&&rt.dev&&rt.mockDataEnabled?e("saveSuccess",ho.processed.originInformation):Gt.service.saveStep(e,t,"account/processOriginInformation",n)}},mutations:{request(e){Gt.mutations.request(e)},saveSuccess(e,t){Gt.mutations.saveSuccess(e,t)},saveFailure(e,t){Gt.mutations.saveFailure(e,t)}}},nI={namespaced:!0,state:{loading:!0,posting:!1,data:{status:"unknown"}},actions:{send({commit:e},t){e("saveInterim",t),ut.emit("APP_STATE_UPDATE",{nextStep:"SubscriptionProducts"})}},mutations:{saveInterim(e,t){e.data=t}}},oI={namespaced:!0,state:{loading:!0,posting:!1,data:{status:"unknown"}},actions:{send({commit:e,rootState:t},n){e("request"),rt.mockData.references&&rt.dev&&rt.mockDataEnabled?e("saveSuccess",ho.processed.references):Gt.service.saveStep(e,t,"account/processReferences",n)}},mutations:{request(e){Gt.mutations.request(e)},saveSuccess(e,t){Gt.mutations.saveSuccess(e,t)},saveFailure(e,t){Gt.mutations.saveFailure(e,t)}}},rI={namespaced:!0,state:{loading:!0,posting:!1,data:{status:"unknown"}},actions:{send({commit:e,rootState:t},n){e("request"),rt.mockData.permissionsAndSubs&&rt.dev&&rt.mockDataEnabled?(e("saveSuccess",ho.processed.permissionsAndSubs),scrollTo(0,0)):(t.permissions.data&&(n={...n,...t.permissions.data}),t.subProducts.data&&(n={...n,...t.subProducts.data}),Gt.service.saveStep(e,t,"account/processPermissionsAndSubs",{permissionsAndSubs:n}))}},mutations:{request(e){Gt.mutations.request(e)},saveSuccess(e,t){Gt.mutations.saveSuccess(e,t)},saveFailure(e,t){Gt.mutations.saveFailure(e,t)}}},sI={namespaced:!0,state:{loading:!0,posting:!1,data:{status:"unknown"}},actions:{send({commit:e},t){e("saveInterim",t),ut.emit("APP_STATE_UPDATE",{nextStep:"SubscriptionMagazines"})}},mutations:{saveInterim(e,t){e.data=t}}};/*! 31 * vuex v4.1.0 32 * (c) 2022 Evan You 33 * @license MIT 34 */var Lw="store";function aI(e){return e===void 0&&(e=null),Pi(e!==null?e:Lw)}function ql(e,t){Object.keys(e).forEach(function(n){return t(e[n],n)})}function lI(e){return e!==null&&typeof e=="object"}function uI(e){return e&&typeof e.then=="function"}function cI(e,t){return function(){return e(t)}}function Nw(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var r=t.indexOf(e);r>-1&&t.splice(r,1)}}function Rw(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;xh(e,n,[],e._modules.root,!0),Um(e,n,t)}function Um(e,t,n){var r=e._state,a=e._scope;e.getters={},e._makeLocalGettersCache=Object.create(null);var c=e._wrappedGetters,p={},w={},_=n0(!0);_.run(function(){ql(c,function(T,A){p[A]=cI(T,e),w[A]=ce(function(){return p[A]()}),Object.defineProperty(e.getters,A,{get:function(){return w[A].value},enumerable:!0})})}),e._state=kn({data:t}),e._scope=_,e.strict&&mI(e),r&&n&&e._withCommit(function(){r.data=null}),a&&a.stop()}function xh(e,t,n,r,a){var c=!n.length,p=e._modules.getNamespace(n);if(r.namespaced&&(e._modulesNamespaceMap[p],e._modulesNamespaceMap[p]=r),!c&&!a){var w=Wm(t,n.slice(0,-1)),_=n[n.length-1];
34e._withCommit(function(){w[_]=r.state})}var T=r.context=dI(e,p,n);r.forEachMutation(function(A,P){var O=p+P;hI(e,O,A,T)}),r.forEachAction(function(A,P){var O=A.root?P:p+P,B=A.handler||A;fI(e,O,B,T)}),r.forEachGetter(function(A,P){var O=p+P;pI(e,O,A,T)}),r.forEachChild(function(A,P){xh(e,t,n.concat(P),A,a)})}function dI(e,t,n){var r=t==="",a={dispatch:r?e.dispatch:function(c,p,w){var _=Vd(c,p,w),T=_.payload,A=_.options,P=_.type;return(!A||!A.root)&&(P=t+P),e.dispatch(P,T)},commit:r?e.commit:function(c,p,w){var _=Vd(c,p,w),T=_.payload,A=_.options,P=_.type;(!A||!A.root)&&(P=t+P),e.commit(P,T,A)}};return Object.defineProperties(a,{getters:{get:r?function(){return e.getters}:function(){return Fw(e,t)}},state:{get:function(){return Wm(e.state,n)}}}),a}function Fw(e,t){if(!e._makeLocalGettersCache[t]){var n={},r=t.length;Object.keys(e.getters).forEach(function(a){if(a.slice(0,r)===t){var c=a.slice(r);Object.defineProperty(n,c,{get:function(){return e.getters[a]},enumerable:!0})}}),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function hI(e,t,n,r){var a=e._mutations[t]||(e._mutations[t]=[]);a.push(function(p){n.call(e,r.state,p)})}function fI(e,t,n,r){var a=e._actions[t]||(e._actions[t]=[]);a.push(function(p){var w=n.call(e,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:e.getters,rootState:e.state},p);return uI(w)||(w=Promise.resolve(w)),e._devtoolHook?w.catch(function(_){throw e._devtoolHook.emit("vuex:error",_),_}):w})}function pI(e,t,n,r){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(c){return n(r.state,r.getters,c.state,c.getters)})}function mI(e){Ft(function(){return e._state.data},function(){},{deep:!0,flush:"sync"})}function Wm(e,t){return t.reduce(function(n,r){return n[r]},e)}function Vd(e,t,n){return lI(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}var gI="vuex bindings",ib="vuex:mutations",Zf="vuex:actions",nl="vuex",yI=0;function vI(e,t){LP({id:"org.vuejs.vuex",app:e,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:[gI]},function(n){n.addTimelineLayer({id:ib,label:"Vuex Mutations",color:nb}),n.addTimelineLayer({id:Zf,label:"Vuex Actions",color:nb}),n.addInspector({id:nl,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree(function(r){if(r.app===e&&r.inspectorId===nl)if(r.filter){var a=[];qw(a,t._modules.root,r.filter,""),r.rootNodes=a}else r.rootNodes=[Vw(t._modules.root,"")]}),n.on.getInspectorState(function(r){if(r.app===e&&r.inspectorId===nl){var a=r.nodeId;Fw(t,a),r.state=wI(_I(t._modules,a),a==="root"?t.getters:t._makeLocalGettersCache,a)}}),n.on.editInspectorState(function(r){if(r.app===e&&r.inspectorId===nl){var a=r.nodeId,c=r.path;a!=="root"&&(c=a.split("/").filter(Boolean).concat(c)),t._withCommit(function(){r.set(t._state.data,c,r.state.value)})}}),t.subscribe(function(r,a){var c={};r.payload&&(c.payload=r.payload),c.state=a,n.notifyComponentUpdate(),n.sendInspectorTree(nl),n.sendInspectorState(nl),n.addTimelineEvent({layerId:ib,event:{time:Date.now(),title:r.type,data:c}})}),t.subscribeAction({before:function(r,a){var c={};r.payload&&(c.payload=r.payload),r._id=yI++,r._time=Date.now(),c.state=a,n.addTimelineEvent({layerId:Zf,event:{time:r._time,title:r.type,groupId:r._id,subtitle:"start",data:c}})},after:function(r,a){var c={},p=Date.now()-r._time;c.duration={_custom:{type:"duration",display:p+"ms",tooltip:"Action duration",value:p}},r.payload&&(c.payload=r.payload),c.state=a,n.addTimelineEvent({layerId:Zf,event:{time:Date.now(),title:r.type,groupId:r._id,subtitle:"end",data:c}})}})})}var nb=8702998,bI=6710886,xI=16777215,Dw={label:"namespaced",textColor:xI,backgroundColor:bI};function Bw(e){return e&&e!=="root"?e.split("/").slice(-2,-1)[0]:"Root"}function Vw(e,t){return{id:t||"root",label:Bw(t),tags:e.namespaced?[Dw]:[],children:Object.keys(e._children).map(function(n){return Vw(e._children[n],t+n+"/")})}}function qw(e,t,n,r){r.includes(n)&&e.push({id:r||"root",label:r.endsWith("/")?r.slice(0,r.length-1):r||"Root",tags:t.namespaced?[Dw]:[]}
34),Object.keys(t._children).forEach(function(a){qw(e,t._children[a],n,r+a+"/")})}function wI(e,t,n){t=n==="root"?t:t[n];var r=Object.keys(t),a={state:Object.keys(e.state).map(function(p){return{key:p,editable:!0,value:e.state[p]}})};if(r.length){var c=SI(t);a.getters=Object.keys(c).map(function(p){return{key:p.endsWith("/")?Bw(p):p,editable:!1,value:Up(function(){return c[p]})}})}return a}function SI(e){var t={};return Object.keys(e).forEach(function(n){var r=n.split("/");if(r.length>1){var a=t,c=r.pop();r.forEach(function(p){a[p]||(a[p]={_custom:{value:{},display:p,tooltip:"Module",abstract:!0}}),a=a[p]._custom.value}),a[c]=Up(function(){return e[n]})}else t[n]=Up(function(){return e[n]})}),t}function _I(e,t){var n=t.split("/").filter(function(r){return r});return n.reduce(function(r,a,c){var p=r[a];if(!p)throw new Error('Missing module "'+a+'" for path "'+t+'".');return c===n.length-1?p:p._children},t==="root"?e:e.root._children)}function Up(e){try{return e()}catch(t){return t}}var Xo=function(t,n){this.runtime=n,this._children=Object.create(null),this._rawModule=t;var r=t.state;this.state=(typeof r=="function"?r():r)||{}},Hw={namespaced:{configurable:!0}};Hw.namespaced.get=function(){return!!this._rawModule.namespaced};Xo.prototype.addChild=function(t,n){this._children[t]=n};Xo.prototype.removeChild=function(t){delete this._children[t]};Xo.prototype.getChild=function(t){return this._children[t]};Xo.prototype.hasChild=function(t){return t in this._children};Xo.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)};Xo.prototype.forEachChild=function(t){ql(this._children,t)};Xo.prototype.forEachGetter=function(t){this._rawModule.getters&&ql(this._rawModule.getters,t)};Xo.prototype.forEachAction=function(t){this._rawModule.actions&&ql(this._rawModule.actions,t)};Xo.prototype.forEachMutation=function(t){this._rawModule.mutations&&ql(this._rawModule.mutations,t)};Object.defineProperties(Xo.prototype,Hw);var Ca=function(t){this.register([],t,!1)};Ca.prototype.get=function(t){return t.reduce(function(n,r){return n.getChild(r)},this.root)};Ca.prototype.getNamespace=function(t){var n=this.root;return t.reduce(function(r,a){return n=n.getChild(a),r+(n.namespaced?a+"/":"")},"")};Ca.prototype.update=function(t){zw([],this.root,t)};Ca.prototype.register=function(t,n,r){var a=this;r===void 0&&(r=!0);var c=new Xo(n,r);if(t.length===0)this.root=c;else{var p=this.get(t.slice(0,-1));p.addChild(t[t.length-1],c)}n.modules&&ql(n.modules,function(w,_){a.register(t.concat(_),w,r)})};Ca.prototype.unregister=function(t){var n=this.get(t.slice(0,-1)),r=t[t.length-1],a=n.getChild(r);!a||!a.runtime||n.removeChild(r)};Ca.prototype.isRegistered=function(t){var n=this.get(t.slice(0,-1)),r=t[t.length-1];return n?n.hasChild(r):!1};function zw(e,t,n){if(t.update(n),n.modules)for(var r in n.modules){if(!t.getChild(r))return;zw(e.concat(r),t.getChild(r),n.modules[r])}}function CI(e){return new Zn(e)}var Zn=function(t){var n=this;t===void 0&&(t={});var r=t.plugins;r===void 0&&(r=[]);var a=t.strict;a===void 0&&(a=!1);var c=t.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new Ca(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._scope=null,this._devtools=c;var p=this,w=this,_=w.dispatch,T=w.commit;this.dispatch=function(O,B){return _.call(p,O,B)},this.commit=function(O,B,z){return T.call(p,O,B,z)},this.strict=a;var A=this._modules.root.state;xh(this,A,[],this._modules.root),Um(this,A),r.forEach(function(P){return P(n)})},Gm={state:{configurable:!0}};Zn.prototype.install=function(t,n){t.provide(n||Lw,this),t.config.globalProperties.$store=this;var r=this._devtools!==void 0?this._devtools:!1;r&&vI(t,this)};Gm.state.get=function(){return this._state.data};Gm.state.set=function(e){};Zn.prototype.commit=function(t,n,r){var a=this,c=Vd(t,n,r),p=c.type,w=c.payload,_={type:p,payload:w},T=this._mutations[p];!T||(this._withCommit(function(){T.forEach(function(P){P(w)})}
34),this._subscribers.slice().forEach(function(A){return A(_,a.state)}))};Zn.prototype.dispatch=function(t,n){var r=this,a=Vd(t,n),c=a.type,p=a.payload,w={type:c,payload:p},_=this._actions[c];if(!!_){try{this._actionSubscribers.slice().filter(function(A){return A.before}).forEach(function(A){return A.before(w,r.state)})}catch{}var T=_.length>1?Promise.all(_.map(function(A){return A(p)})):_[0](p);return new Promise(function(A,P){T.then(function(O){try{r._actionSubscribers.filter(function(B){return B.after}).forEach(function(B){return B.after(w,r.state)})}catch{}A(O)},function(O){try{r._actionSubscribers.filter(function(B){return B.error}).forEach(function(B){return B.error(w,r.state,O)})}catch{}P(O)})})}};Zn.prototype.subscribe=function(t,n){return Nw(t,this._subscribers,n)};Zn.prototype.subscribeAction=function(t,n){var r=typeof t=="function"?{before:t}:t;return Nw(r,this._actionSubscribers,n)};Zn.prototype.watch=function(t,n,r){var a=this;return Ft(function(){return t(a.state,a.getters)},n,Object.assign({},r))};Zn.prototype.replaceState=function(t){var n=this;this._withCommit(function(){n._state.data=t})};Zn.prototype.registerModule=function(t,n,r){r===void 0&&(r={}),typeof t=="string"&&(t=[t]),this._modules.register(t,n),xh(this,this.state,t,this._modules.get(t),r.preserveState),Um(this,this.state)};Zn.prototype.unregisterModule=function(t){var n=this;typeof t=="string"&&(t=[t]),this._modules.unregister(t),this._withCommit(function(){var r=Wm(n.state,t.slice(0,-1));delete r[t[t.length-1]]}),Rw(this)};Zn.prototype.hasModule=function(t){return typeof t=="string"&&(t=[t]),this._modules.isRegistered(t)};Zn.prototype.hotUpdate=function(t){this._modules.update(t),Rw(this,!0)};Zn.prototype._withCommit=function(t){var n=this._committing;this._committing=!0,t(),this._committing=n};Object.defineProperties(Zn.prototype,Gm);var bd=function(){return CI({modules:{appState:WO,originInfo:iI,basicInfo:GO,additionalInfo:UO,employmentInfo:ZO,financialInfo:JO,categoryData:YO,permissions:nI,subMagazines:rI,subProducts:sI,references:oI,contactInfo:XO,continueFromReference:QO,continueForm:KO,initiateAgentApplication:eI,messages:tI},strict:!1})},kI=Object.freeze(Object.defineProperty({__proto__:null,default:bd},Symbol.toStringTag,{value:"Module"}));const Wp={xs:18,sm:24,md:32,lg:38,xl:46},Hl={size:String};function zl(e,t=Wp){return ce(()=>e.size!==void 0?{fontSize:e.size in t?`${t[e.size]}px`:e.size}:null)}function lo(e,t){return e!==void 0&&e()||t}function AI(e,t){if(e!==void 0){const n=e();if(n!=null)return n.slice()}return t}function mr(e,t){return e!==void 0?t.concat(e()):t}function jw(e,t){return e===void 0?t:t!==void 0?t.concat(e()):e()}function TI(e,t,n,r,a,c){t.key=r+a;const p=Se(e,t,n);return a===!0?Uo(p,c()):p}const ob="0 0 24 24",rb=e=>e,Jf=e=>`ionicons ${e}`,$w={"mdi-":e=>`mdi ${e}`,"icon-":rb,"bt-":e=>`bt ${e}`,"eva-":e=>`eva ${e}`,"ion-md":Jf,"ion-ios":Jf,"ion-logo":Jf,"iconfont ":rb,"ti-":e=>`themify-icon ${e}`,"bi-":e=>`bootstrap-icons ${e}`},Uw={o_:"-outlined",r_:"-round",s_:"-sharp"},Ww={sym_o_:"-outlined",sym_r_:"-rounded",sym_s_:"-sharp"},EI=new RegExp("^("+Object.keys($w).join("|")+")"),MI=new RegExp("^("+Object.keys(Uw).join("|")+")"),sb=new RegExp("^("+Object.keys(Ww).join("|")+")"),PI=/^[Mm]\s?[-+]?\.?\d/,OI=/^img:/,II=/^svguse:/,LI=/^ion-/,NI=/^(fa-(sharp|solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /;var To=$i({name:"QIcon",props:{...Hl,tag:{type:String,default:"i"},name:String,color:String,left:Boolean,right:Boolean},setup(e,{slots:t}){const{proxy:{$q:n}}=ri(),r=zl(e),a=ce(()=>"q-icon"+(e.left===!0?" on-left":"")+(e.right===!0?" on-right":"")+(e.color!==void 0?` text-${e.color}`:"")),c=ce(()=>{let p,w=e.name;if(w==="none"||!w)return{none:!0};if(n.iconMapFn!==null){const A=n.iconMapFn(w);if(A!==void 0)if(A.icon!==void 0){if(w=A.icon,w==="none"||!w)return{none:!0}}else return{cls:A.cls,content:A.content!==void 0?A.content:" "}}if(PI.test(w)===!0){const[A,P=ob]=w.split("|");return{svg:!0,viewBox:P,nodes:A.split("&&").map(O=>{const[B,z,U]=O.split("@@");return Se("path",{style:z,d:B,transform:U})})}}if(OI.test(w)===!0)return{img:!0,src:w.substring(4)};if(II.test(w)===!0){const[A,P=ob]=w.split("|");return{svguse:!0,src:A.substring(7),viewBox:P}}let _=" ";const T=w.match(EI);if(T!==null)p=$w[T[1]](w);else if(NI.test(w)===!0)p=w;else if(LI.test(w)===!0)p=`ionicons ion-${n.platform.is.ios===!0?"ios":"md"}${w.substring(3)}`;else if(sb.test(w)===!0){p="notranslate material-symbols";const A=w.match(sb);A!==null&&(w=w.substring(6),p+=Ww[A[1]]),_=w}else{p="notranslate material-icons";const A=w.match(MI);A!==null&&(w=w.substring(2),p+=Uw[A[1]]),_=w}
34return{cls:p,content:_}});return()=>{const p={class:a.value,style:r.value,"aria-hidden":"true",role:"presentation"};return c.value.none===!0?Se(e.tag,p,lo(t.default)):c.value.img===!0?Se(e.tag,p,mr(t.default,[Se("img",{src:c.value.src})])):c.value.svg===!0?Se(e.tag,p,mr(t.default,[Se("svg",{viewBox:c.value.viewBox||"0 0 24 24"},c.value.nodes)])):c.value.svguse===!0?Se(e.tag,p,mr(t.default,[Se("svg",{viewBox:c.value.viewBox},[Se("use",{"xlink:href":c.value.src})])])):(c.value.cls!==void 0&&(p.class+=" "+c.value.cls),Se(e.tag,p,mr(t.default,[c.value.content])))}}});const RI={size:{type:[Number,String],default:"1em"},color:String};function FI(e){return{cSize:ce(()=>e.size in Wp?`${Wp[e.size]}px`:e.size),classes:ce(()=>"q-spinner"+(e.color?` text-${e.color}`:""))}}var wh=$i({name:"QSpinner",props:{...RI,thickness:{type:Number,default:5}},setup(e){const{cSize:t,classes:n}=FI(e);return()=>Se("svg",{class:n.value+" q-spinner-mat",width:t.value,height:t.value,viewBox:"25 25 50 50"},[Se("circle",{class:"path",cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":e.thickness,"stroke-miterlimit":"10"})])}});function Gp(e,t){const n=e.style;for(const r in t)n[r]=t[r]}function DI(e){if(e==null)return;if(typeof e=="string")try{return document.querySelector(e)||void 0}catch{return}const t=Ji(e);if(t)return t.$el||t}function Gw(e,t){if(e==null||e.contains(t)===!0)return!0;for(let n=e.nextElementSibling;n!==null;n=n.nextElementSibling)if(n.contains(t))return!0;return!1}function BI(e,t=250){let n=!1,r;return function(){return n===!1&&(n=!0,setTimeout(()=>{n=!1},t),r=e.apply(this,arguments)),r}}function ab(e,t,n,r){n.modifiers.stop===!0&&hr(e);const a=n.modifiers.color;let c=n.modifiers.center;c=c===!0||r===!0;const p=document.createElement("span"),w=document.createElement("span"),_=Ux(e),{left:T,top:A,width:P,height:O}=t.getBoundingClientRect(),B=Math.sqrt(P*P+O*O),z=B/2,U=`${(P-B)/2}px`,J=c?U:`${_.left-T-z}px`,ee=`${(O-B)/2}px`,Y=c?ee:`${_.top-A-z}px`;w.className="q-ripple__inner",Gp(w,{height:`${B}px`,width:`${B}px`,transform:`translate3d(${J},${Y},0) scale3d(.2,.2,1)`,opacity:0}),p.className=`q-ripple${a?" text-"+a:""}`,p.setAttribute("dir","ltr"),p.appendChild(w),t.appendChild(p);const q=()=>{p.remove(),clearTimeout($)};n.abort.push(q);let $=setTimeout(()=>{w.classList.add("q-ripple__inner--enter"),w.style.transform=`translate3d(${U},${ee},0) scale3d(1,1,1)`,w.style.opacity=.2,$=setTimeout(()=>{w.classList.remove("q-ripple__inner--enter"),w.classList.add("q-ripple__inner--leave"),w.style.opacity=0,$=setTimeout(()=>{p.remove(),n.abort.splice(n.abort.indexOf(q),1)},275)},250)},50)}function lb(e,{modifiers:t,value:n,arg:r}){const a=Object.assign({},e.cfg.ripple,t,n);e.modifiers={early:a.early===!0,stop:a.stop===!0,center:a.center===!0,color:a.color||r,keyCodes:[].concat(a.keyCodes||13)}}var Yw=jE({name:"ripple",beforeMount(e,t){const n=t.instance.$.appContext.config.globalProperties.$q.config||{};if(n.ripple===!1)return;const r={cfg:n,enabled:t.value!==!1,modifiers:{},abort:[],start(a){r.enabled===!0&&a.qSkipRipple!==!0&&a.type===(r.modifiers.early===!0?"pointerdown":"click")&&ab(a,e,r,a.qKeyEvent===!0)},keystart:BI(a=>{r.enabled===!0&&a.qSkipRipple!==!0&&va(a,r.modifiers.keyCodes)===!0&&a.type===`key${r.modifiers.early===!0?"down":"up"}`&&ab(a,e,r,!0)},300)};lb(r,t),e.__qripple=r,Np(r,"main",[[e,"pointerdown","start","passive"],[e,"click","start","passive"],[e,"keydown","keystart","passive"],[e,"keyup","keystart","passive"]])},updated(e,t){if(t.oldValue!==t.value){const n=e.__qripple;n!==void 0&&(n.enabled=t.value!==!1,n.enabled===!0&&Object(t.value)===t.value&&lb(n,t))}},beforeUnmount(e){const t=e.__qripple;t!==void 0&&(t.abort.forEach(n=>{n()}),Wx(t,"main"),delete e._qripple)}});const Xw={left:"start",center:"center",right:"end",between:"between",around:"around",evenly:"evenly",stretch:"stretch"},VI=Object.keys(Xw),qI={align:{type:String,validator:e=>VI.includes(e)}};function HI(e){return ce(()=>{const t=e.align===void 0?e.vertical===!0?"stretch":"left":e.align;return`${e.vertical===!0?"items":"justify"}-${Xw[t]}`})}function ep(e){if(Object(e.$parent)===e.$parent)return e.$parent;let{parent:t}=e.$;for(;Object(t)===t;){if(Object(t.proxy)===t.proxy)return t.proxy;t=t.parent}}function Kw(e){return e.appContext.config.globalProperties.$router!==void 0}function Qw(e){return e.isUnmounted===!0||e.isDeactivated===!0}function ub(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}function cb(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function zI(e,t){for(const n in t){const r=t[n],a=e[n];if(typeof r=="string"){if(r!==a)return!1}else if(Array.isArray(a)===!1||a.length!==r.length||r.some((c,p)=>c!==a[p]))return!1}return!0}function db(e,t){return Array.isArray(t)===!0?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function jI(e,t){return Array.isArray(e)===!0?db(e,t):Array.isArray(t)===!0?db(t,e):e===t}function $I(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(jI(e[n],t[n])===!1)return!1;return!0}const Zw={to:[String,Object],replace:Boolean,exact:Boolean,activeClass:{type:String,default:"q-router-link--active"},exactActiveClass:{type:String,default:"q-router-link--exact-active"},href:String,target:String,disable:Boolean};function Jw({fallbackTag:e,useDisableForRouterLinkProps:t=!0}={}){const n=ri(),{props:r,proxy:a,emit:c}=n,p=Kw(n),w=ce(()=>r.disable!==!0&&r.href!==void 0),_=ce(t===!0?()=>p===!0&&r.disable!==!0&&w.value!==!0&&r.to!==void 0&&r.to!==null&&r.to!=="":()=>p===!0&&w.value!==!0&&r.to!==void 0&&r.to!==null&&r.to!==""),T=ce(()=>_.value===!0?Y(r.to):null),A=ce(()=>T.value!==null),P=ce(()=>w.value===!0||A.value===!0),O=ce(()=>r.type==="a"||P.value===!0?"a":r.tag||e||"div"),B=ce(()=>w.value===!0?{href:r.href,target:r.target}:A.value===!0?{href:T.value.href,target:r.target}:{}),z=ce(()=>{if(A.value===!1)return-1;const{matched:G}=T.value,{length:X}=G,v=G[X-1];if(v===void 0)return-1;const me=a.$route.matched;
34if(me.length===0)return-1;const re=me.findIndex(cb.bind(null,v));if(re!==-1)return re;const de=ub(G[X-2]);return X>1&&ub(v)===de&&me[me.length-1].path!==de?me.findIndex(cb.bind(null,G[X-2])):re}),U=ce(()=>A.value===!0&&z.value!==-1&&zI(a.$route.params,T.value.params)),J=ce(()=>U.value===!0&&z.value===a.$route.matched.length-1&&$I(a.$route.params,T.value.params)),ee=ce(()=>A.value===!0?J.value===!0?` ${r.exactActiveClass} ${r.activeClass}`:r.exact===!0?"":U.value===!0?` ${r.activeClass}`:"":"");function Y(G){try{return a.$router.resolve(G)}catch{}return null}function q(G,{returnRouterError:X,to:v=r.to,replace:me=r.replace}={}){if(r.disable===!0)return G.preventDefault(),Promise.resolve(!1);if(G.metaKey||G.altKey||G.ctrlKey||G.shiftKey||G.button!==void 0&&G.button!==0||r.target==="_blank")return Promise.resolve(!1);G.preventDefault();const re=a.$router[me===!0?"replace":"push"](v);return X===!0?re:re.then(()=>{}).catch(()=>{})}function $(G){if(A.value===!0){const X=v=>q(G,v);c("click",G,X),G.defaultPrevented!==!0&&X()}else c("click",G)}return{hasRouterLink:A,hasHrefLink:w,hasLink:P,linkTag:O,resolvedLink:T,linkIsActive:U,linkIsExactActive:J,linkClass:ee,linkAttrs:B,getLink:Y,navigateToRouterLink:q,navigateOnClick:$}}const hb={none:0,xs:4,sm:8,md:16,lg:24,xl:32},UI={xs:8,sm:10,md:14,lg:20,xl:24},WI=["button","submit","reset"],GI=/[^\s]\/[^\s]/,YI=["flat","outline","push","unelevated"];function XI(e,t){return e.flat===!0?"flat":e.outline===!0?"outline":e.push===!0?"push":e.unelevated===!0?"unelevated":t}const KI={...Hl,...Zw,type:{type:String,default:"button"},label:[Number,String],icon:String,iconRight:String,...YI.reduce((e,t)=>(e[t]=Boolean)&&e,{}),square:Boolean,round:Boolean,rounded:Boolean,glossy:Boolean,size:String,fab:Boolean,fabMini:Boolean,padding:String,color:String,textColor:String,noCaps:Boolean,noWrap:Boolean,dense:Boolean,tabindex:[Number,String],ripple:{type:[Boolean,Object],default:!0},align:{...qI.align,default:"center"},stack:Boolean,stretch:Boolean,loading:{type:Boolean,default:null},disable:Boolean};function QI(e){const t=zl(e,UI),n=HI(e),{hasRouterLink:r,hasLink:a,linkTag:c,linkAttrs:p,navigateOnClick:w}=Jw({fallbackTag:"button"}),_=ce(()=>{const J=e.fab===!1&&e.fabMini===!1?t.value:{};return e.padding!==void 0?Object.assign({},J,{padding:e.padding.split(/\s+/).map(ee=>ee in hb?hb[ee]+"px":ee).join(" "),minWidth:"0",minHeight:"0"}):J}),T=ce(()=>e.rounded===!0||e.fab===!0||e.fabMini===!0),A=ce(()=>e.disable!==!0&&e.loading!==!0),P=ce(()=>A.value===!0?e.tabindex||0:-1),O=ce(()=>XI(e,"standard")),B=ce(()=>{const J={tabindex:P.value};return a.value===!0?Object.assign(J,p.value):WI.includes(e.type)===!0&&(J.type=e.type),c.value==="a"?(e.disable===!0?J["aria-disabled"]="true":J.href===void 0&&(J.role="button"),r.value!==!0&&GI.test(e.type)===!0&&(J.type=e.type)):e.disable===!0&&(J.disabled="",J["aria-disabled"]="true"),e.loading===!0&&e.percentage!==void 0&&Object.assign(J,{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":e.percentage}),J}),z=ce(()=>{let J;e.color!==void 0?e.flat===!0||e.outline===!0?J=`text-${e.textColor||e.color}`:J=`bg-${e.color} text-${e.textColor||"white"}`:e.textColor&&(J=`text-${e.textColor}`);const ee=e.round===!0?"round":`rectangle${T.value===!0?" q-btn--rounded":e.square===!0?" q-btn--square":""}`;return`q-btn--${O.value} q-btn--${ee}`+(J!==void 0?" "+J:"")+(A.value===!0?" q-btn--actionable q-focusable q-hoverable":e.disable===!0?" disabled":"")+(e.fab===!0?" q-btn--fab":e.fabMini===!0?" q-btn--fab-mini":"")+(e.noCaps===!0?" q-btn--no-uppercase":"")+(e.dense===!0?" q-btn--dense":"")+(e.stretch===!0?" no-border-radius self-stretch":"")+(e.glossy===!0?" glossy":"")+(e.square?" q-btn--square":"")}),U=ce(()=>n.value+(e.stack===!0?" column":" row")+(e.noWrap===!0?" no-wrap text-no-wrap":"")+(e.loading===!0?" q-btn__content--hidden":""));return{classes:z,style:_,innerClasses:U,attributes:B,hasLink:a,linkTag:c,navigateOnClick:w,isActionable:A}}const{passiveCapture:Co}=vn;let ol=null,rl=null,sl=null;var qd=$i({name:"QBtn",props:{...KI,percentage:Number,darkPercentage:Boolean,onTouchstart:[Function,Array]},emits:["click","keydown","mousedown","keyup"],setup(e,{slots:t,emit:n}){const{proxy:r}=ri(),{classes:a,style:c,innerClasses:p,attributes:w,hasLink:_,linkTag:T,navigateOnClick:A,isActionable:P}=QI(e),O=Ke(null),B=Ke(null);let z=null,U,J=null;const ee=ce(()=>e.label!==void 0&&e.label!==null&&e.label!==""),Y=ce(()=>e.disable===!0||e.ripple===!1?!1:{keyCodes:_.value===!0?[13,32]:[13],...e.ripple===!0?{}:e.ripple}),q=ce(()=>({center:e.round})),$=ce(()=>{const Pe=Math.max(0,Math.min(100,e.percentage));return Pe>0?{transition:"transform 0.6s",transform:`translateX(${Pe-100}%)`}:{}}),G=ce(()=>{if(e.loading===!0)return{onMousedown:Ee,onTouchstart:Ee,onClick:Ee,onKeydown:Ee,onKeyup:Ee};if(P.value===!0){const Pe={onClick:v,onKeydown:me,onMousedown:de};if(r.$q.platform.has.touch===!0){const Je=e.onTouchstart!==void 0?"":"Passive";Pe[`onTouchstart${Je}`]=re}return Pe}return{onClick:Zi}}),X=ce(()=>({ref:O,class:"q-btn q-btn-item non-selectable no-outline "+a.value,style:c.value,...w.value,...G.value}));function v(Pe){if(O.value!==null){if(Pe!==void 0){if(Pe.defaultPrevented===!0)return;const Je=document.activeElement;if(e.type==="submit"&&Je!==document.body&&O.value.contains(Je)===!1&&Je.contains(O.value)===!1){O.value.focus();const Fe=()=>{document.removeEventListener("keydown",Zi,!0),document.removeEventListener("keyup",Fe,Co),O.value!==null&&O.value.removeEventListener("blur",Fe,Co)};document.addEventListener("keydown",Zi,!0),document.addEventListener("keyup",Fe,Co),O.value.addEventListener("blur",Fe,Co)}}A(Pe)}}function me(Pe){O.value!==null&&(n("keydown",Pe),va(Pe,[13,32])===!0&&rl!==O.value&&(rl!==null&&oe(),Pe.defaultPrevented!==!0&&(O.value.focus(),rl=O.value,O.value.classList.add("q-btn--active"),document.addEventListener("keyup",Oe,!0),O.value.addEventListener("blur",Oe,Co)),Zi(Pe)))}function re(Pe){O.value!==null&&(n("touchstart",Pe),Pe.defaultPrevented!==!0&&(ol!==O.value&&(ol!==null&&oe(),ol=O.value,z=Pe.target,z.addEventListener("touchcancel",Oe,Co),z.addEventListener("touchend",Oe,Co)),U=!0,J!==null&&clearTimeout(J),J=setTimeout(()=>{J=null,U=!1},200)))}function de(Pe){O.value!==null&&(Pe.qSkipRipple=U===!0,n("mousedown",Pe),Pe.defaultPrevented!==!0&&sl!==O.value&&(sl!==null&&oe(),sl=O.value,O.value.classList.add("q-btn--active"),document.addEventListener("mouseup",Oe,Co)))}function Oe(Pe){if(O.value!==null&&!(Pe!==void 0&&Pe.type==="blur"&&document.activeElement===O.value)){if(Pe!==void 0&&Pe.type==="
34keyup"){if(rl===O.value&&va(Pe,[13,32])===!0){const Je=new MouseEvent("click",Pe);Je.qKeyEvent=!0,Pe.defaultPrevented===!0&&$o(Je),Pe.cancelBubble===!0&&hr(Je),O.value.dispatchEvent(Je),Zi(Pe),Pe.qKeyEvent=!0}n("keyup",Pe)}oe()}}function oe(Pe){const Je=B.value;Pe!==!0&&(ol===O.value||sl===O.value)&&Je!==null&&Je!==document.activeElement&&(Je.setAttribute("tabindex",-1),Je.focus()),ol===O.value&&(z!==null&&(z.removeEventListener("touchcancel",Oe,Co),z.removeEventListener("touchend",Oe,Co)),ol=z=null),sl===O.value&&(document.removeEventListener("mouseup",Oe,Co),sl=null),rl===O.value&&(document.removeEventListener("keyup",Oe,!0),O.value!==null&&O.value.removeEventListener("blur",Oe,Co),rl=null),O.value!==null&&O.value.classList.remove("q-btn--active")}function Ee(Pe){Zi(Pe),Pe.qSkipRipple=!0}return Ci(()=>{oe(!0)}),Object.assign(r,{click:Pe=>{P.value===!0&&v(Pe)}}),()=>{let Pe=[];e.icon!==void 0&&Pe.push(Se(To,{name:e.icon,left:e.stack!==!0&&ee.value===!0,role:"img","aria-hidden":"true"})),ee.value===!0&&Pe.push(Se("span",{class:"block"},[e.label])),Pe=mr(t.default,Pe),e.iconRight!==void 0&&e.round===!1&&Pe.push(Se(To,{name:e.iconRight,right:e.stack!==!0&&ee.value===!0,role:"img","aria-hidden":"true"}));const Je=[Se("span",{class:"q-focus-helper",ref:B})];return e.loading===!0&&e.percentage!==void 0&&Je.push(Se("span",{class:"q-btn__progress absolute-full overflow-hidden"+(e.darkPercentage===!0?" q-btn__progress--dark":"")},[Se("span",{class:"q-btn__progress-indicator fit block",style:$.value})])),Je.push(Se("span",{class:"q-btn__content text-center col items-center q-anchor--skip "+p.value},Pe)),e.loading!==null&&Je.push(Se(qr,{name:"q-transition--fade"},()=>e.loading===!0?[Se("span",{key:"loading",class:"absolute-full flex flex-center"},t.loading!==void 0?t.loading():[Se(wh)])]:null)),Uo(Se(T.value,X.value,Je),[[Yw,Y.value,void 0,q.value]])}}}),e1=$i({name:"QItemSection",props:{avatar:Boolean,thumbnail:Boolean,side:Boolean,top:Boolean,noWrap:Boolean},setup(e,{slots:t}){const n=ce(()=>`q-item__section column q-item__section--${e.avatar===!0||e.side===!0||e.thumbnail===!0?"side":"main"}`+(e.top===!0?" q-item__section--top justify-start":" justify-center")+(e.avatar===!0?" q-item__section--avatar":"")+(e.thumbnail===!0?" q-item__section--thumbnail":"")+(e.noWrap===!0?" q-item__section--nowrap":""));return()=>Se("div",{class:n.value},lo(t.default))}});const ka={dark:{type:Boolean,default:null}};function Aa(e,t){return ce(()=>e.dark===null?t.dark.isActive:e.dark)}var t1=$i({name:"QItem",props:{...ka,...Zw,tag:{type:String,default:"div"},active:{type:Boolean,default:null},clickable:Boolean,dense:Boolean,insetLevel:Number,tabindex:[String,Number],focused:Boolean,manualFocus:Boolean},emits:["click","keyup"],setup(e,{slots:t,emit:n}){const{proxy:{$q:r}}=ri(),a=Aa(e,r),{hasLink:c,linkAttrs:p,linkClass:w,linkTag:_,navigateOnClick:T}=Jw(),A=Ke(null),P=Ke(null),O=ce(()=>e.clickable===!0||c.value===!0||e.tag==="label"),B=ce(()=>e.disable!==!0&&O.value===!0),z=ce(()=>"q-item q-item-type row no-wrap"+(e.dense===!0?" q-item--dense":"")+(a.value===!0?" q-item--dark":"")+(c.value===!0&&e.active===null?w.value:e.active===!0?` q-item--active${e.activeClass!==void 0?` ${e.activeClass}`:""}`:"")+(e.disable===!0?" disabled":"")+(B.value===!0?" q-item--clickable q-link cursor-pointer "+(e.manualFocus===!0?"q-manual-focusable":"q-focusable q-hoverable")+(e.focused===!0?" q-manual-focusable--focused":""):"")),U=ce(()=>{if(e.insetLevel===void 0)return null;const q=r.lang.rtl===!0?"Right":"Left";return{["padding"+q]:16+e.insetLevel*56+"px"}});function J(q){B.value===!0&&(P.value!==null&&(q.qKeyEvent!==!0&&document.activeElement===A.value?P.value.focus():document.activeElement===P.value&&A.value.focus()),T(q))}function ee(q){if(B.value===!0&&va(q,[13,32])===!0){Zi(q),q.qKeyEvent=!0;const $=new MouseEvent("click",q);$.qKeyEvent=!0,A.value.dispatchEvent($)}n("keyup",q)}function Y(){const q=AI(t.default,[]);return B.value===!0&&q.unshift(Se("div",{class:"q-focus-helper",tabindex:-1,ref:P})),q}return()=>{const q={ref:A,class:z.value,style:U.value,role:"listitem",onClick:J,onKeyup:ee};return B.value===!0?(q.tabindex=e.tabindex||"0",Object.assign(q,p.value)):O.value===!0&&(q["aria-disabled"]="true"),Se(_.value,q,Y())}}});
34function ZI(e,t,n){let r;function a(){r!==void 0&&(Rp.remove(r),r=void 0)}return Ci(()=>{e.value===!0&&a()}),{removeFromHistory:a,addToHistory(){r={condition:()=>n.value===!0,handler:t},Rp.add(r)}}}function i1(){let e=null;const t=ri();function n(){e!==null&&(clearTimeout(e),e=null)}return Fl(n),Ci(n),{removeTimeout:n,registerTimeout(r,a){n(),Qw(t)===!1&&(e=setTimeout(()=>{e=null,r()},a))}}}function n1(){let e;const t=ri();function n(){e=void 0}return Fl(n),Ci(n),{removeTick:n,registerTick(r){e=r,Ai(()=>{e===r&&(Qw(t)===!1&&e(),e=void 0)})}}}const o1={modelValue:{type:Boolean,default:null},"onUpdate:modelValue":[Function,Array]},r1=["beforeShow","show","beforeHide","hide"];function s1({showing:e,canShow:t,hideOnRouteChange:n,handleShow:r,handleHide:a,processOnMount:c}){const p=ri(),{props:w,emit:_,proxy:T}=p;let A;function P(Y){e.value===!0?z(Y):O(Y)}function O(Y){if(w.disable===!0||Y!==void 0&&Y.qAnchorHandled===!0||t!==void 0&&t(Y)!==!0)return;const q=w["onUpdate:modelValue"]!==void 0;q===!0&&(_("update:modelValue",!0),A=Y,Ai(()=>{A===Y&&(A=void 0)})),(w.modelValue===null||q===!1)&&B(Y)}function B(Y){e.value!==!0&&(e.value=!0,_("beforeShow",Y),r!==void 0?r(Y):_("show",Y))}function z(Y){if(w.disable===!0)return;const q=w["onUpdate:modelValue"]!==void 0;q===!0&&(_("update:modelValue",!1),A=Y,Ai(()=>{A===Y&&(A=void 0)})),(w.modelValue===null||q===!1)&&U(Y)}function U(Y){e.value!==!1&&(e.value=!1,_("beforeHide",Y),a!==void 0?a(Y):_("hide",Y))}function J(Y){w.disable===!0&&Y===!0?w["onUpdate:modelValue"]!==void 0&&_("update:modelValue",!1):Y===!0!==e.value&&(Y===!0?B:U)(A)}Ft(()=>w.modelValue,J),n!==void 0&&Kw(p)===!0&&Ft(()=>T.$route.fullPath,()=>{n.value===!0&&e.value===!0&&z()}),c===!0&&Rn(()=>{J(w.modelValue)});const ee={show:O,hide:z,toggle:P};return Object.assign(T,ee),ee}const a1={transitionShow:{type:String,default:"fade"},transitionHide:{type:String,default:"fade"},transitionDuration:{type:[String,Number],default:300}};function l1(e,t=()=>{},n=()=>{}){return{transitionProps:ce(()=>{const r=`q-transition--${e.transitionShow||t()}`,a=`q-transition--${e.transitionHide||n()}`;return{appear:!0,enterFromClass:`${r}-enter-from`,enterActiveClass:`${r}-enter-active`,enterToClass:`${r}-enter-to`,leaveFromClass:`${a}-leave-from`,leaveActiveClass:`${a}-leave-active`,leaveToClass:`${a}-leave-to`}}),transitionStyle:ce(()=>`--q-transition-duration: ${e.transitionDuration}ms`)}}let oa=[],Hu=[];function u1(e){Hu=Hu.filter(t=>t!==e)}function JI(e){u1(e),Hu.push(e)}function fb(e){u1(e),Hu.length===0&&oa.length!==0&&(oa[oa.length-1](),oa=[])}function Sh(e){Hu.length===0?e():oa.push(e)}function eL(e){oa=oa.filter(t=>t!==e)}let tL=1,iL=document.body;function Ym(e,t){const n=document.createElement("div");if(n.id=t!==void 0?`q-portal--${t}--${tL++}`:e,Dd.globalNodes!==void 0){const r=Dd.globalNodes.class;r!==void 0&&(n.className=r)}return iL.appendChild(n),n}function c1(e){e.remove()}const Mu=[];function nL(e,t){do{if(e.$options.name==="QMenu"){if(e.hide(t),e.$props.separateClosePopup===!0)return ep(e)}else if(e.__qPortal===!0){const n=ep(e);return n!==void 0&&n.$options.name==="QPopupProxy"?(e.hide(t),n):e}e=ep(e)}while(e!=null)}const oL=$i({name:"QPortal",setup(e,{slots:t}){return()=>t.default()}});function rL(e){for(e=e.parent;e!=null;){if(e.type.name==="QGlobalDialog")return!0;if(e.type.name==="QDialog"||e.type.name==="QMenu")return!1;e=e.parent}return!1}function d1(e,t,n,r){const a=Ke(!1),c=Ke(!1);let p=null;const w={},_=r==="dialog"&&rL(e);function T(P){if(P===!0){fb(w),c.value=!0;return}c.value=!1,a.value===!1&&(_===!1&&p===null&&(p=Ym(!1,r)),a.value=!0,Mu.push(e.proxy),JI(w))}function A(P){if(c.value=!1,P!==!0)return;fb(w),a.value=!1;const O=Mu.indexOf(e.proxy);O!==-1&&Mu.splice(O,1),p!==null&&(c1(p),p=null)}return _a(()=>{A(!0)}),e.proxy.__qPortal=!0,Bl(e.proxy,"contentEl",()=>t.value),{showPortal:T,hidePortal:A,portalIsActive:a,portalIsAccessible:c,renderPortal:()=>_===!0?n():a.value===!0?[Se(ux,{to:p},Se(oL,n))]:void 0}}const sL=[null,document,document.body,document.scrollingElement,document.documentElement];function h1(e,t){let n=DI(t);if(n===void 0){if(e==null)return window;n=e.closest(".scroll,.scroll-y,.overflow-auto")}return sL.includes(n)?window:n}function f1(e){return e===window?window.pageYOffset||window.scrollY||document.body.scrollTop||0:e.scrollTop}function p1(e){return e===window?window.pageXOffset||window.scrollX||document.body.scrollLeft||0:e.scrollLeft}let ad;function xd(){if(ad!==void 0)return ad;const e=document.createElement("p"),t=document.createElement("div");Gp(e,{width:"100%",height:"200px"}),Gp(t,{position:"absolute",top:"0px",left:"0px",visibility:"hidden",
34width:"200px",height:"150px",overflow:"hidden"}),t.appendChild(e),document.body.appendChild(t);const n=e.offsetWidth;t.style.overflow="scroll";let r=e.offsetWidth;return n===r&&(r=t.clientWidth),t.remove(),ad=n-r,ad}function aL(e,t=!0){return!e||e.nodeType!==Node.ELEMENT_NODE?!1:t?e.scrollHeight>e.clientHeight&&(e.classList.contains("scroll")||e.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(e)["overflow-y"])):e.scrollWidth>e.clientWidth&&(e.classList.contains("scroll")||e.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(e)["overflow-x"]))}let mu=0,tp,ip,xu,np=!1,pb,mb,gb,Js=null;function lL(e){uL(e)&&Zi(e)}function uL(e){if(e.target===document.body||e.target.classList.contains("q-layout__backdrop"))return!0;const t=$E(e),n=e.shiftKey&&!e.deltaX,r=!n&&Math.abs(e.deltaX)<=Math.abs(e.deltaY),a=n||r?e.deltaY:e.deltaX;for(let c=0;c<t.length;c++){const p=t[c];if(aL(p,r))return r?a<0&&p.scrollTop===0?!0:a>0&&p.scrollTop+p.clientHeight===p.scrollHeight:a<0&&p.scrollLeft===0?!0:a>0&&p.scrollLeft+p.clientWidth===p.scrollWidth}return!0}function yb(e){e.target===document&&(document.scrollingElement.scrollTop=document.scrollingElement.scrollTop)}function ld(e){np!==!0&&(np=!0,requestAnimationFrame(()=>{np=!1;const{height:t}=e.target,{clientHeight:n,scrollTop:r}=document.scrollingElement;(xu===void 0||t!==window.innerHeight)&&(xu=n-t,document.scrollingElement.scrollTop=r),r>xu&&(document.scrollingElement.scrollTop-=Math.ceil((r-xu)/8))}))}function vb(e){const t=document.body,n=window.visualViewport!==void 0;if(e==="add"){const{overflowY:r,overflowX:a}=window.getComputedStyle(t);tp=p1(window),ip=f1(window),pb=t.style.left,mb=t.style.top,gb=window.location.href,t.style.left=`-${tp}px`,t.style.top=`-${ip}px`,a!=="hidden"&&(a==="scroll"||t.scrollWidth>window.innerWidth)&&t.classList.add("q-body--force-scrollbar-x"),r!=="hidden"&&(r==="scroll"||t.scrollHeight>window.innerHeight)&&t.classList.add("q-body--force-scrollbar-y"),t.classList.add("q-body--prevent-scroll"),document.qScrollPrevented=!0,rn.is.ios===!0&&(n===!0?(window.scrollTo(0,0),window.visualViewport.addEventListener("resize",ld,vn.passiveCapture),window.visualViewport.addEventListener("scroll",ld,vn.passiveCapture),window.scrollTo(0,0)):window.addEventListener("scroll",yb,vn.passiveCapture))}rn.is.desktop===!0&&rn.is.mac===!0&&window[`${e}EventListener`]("wheel",lL,vn.notPassive),e==="remove"&&(rn.is.ios===!0&&(n===!0?(window.visualViewport.removeEventListener("resize",ld,vn.passiveCapture),window.visualViewport.removeEventListener("scroll",ld,vn.passiveCapture)):window.removeEventListener("scroll",yb,vn.passiveCapture)),t.classList.remove("q-body--prevent-scroll"),t.classList.remove("q-body--force-scrollbar-x"),t.classList.remove("q-body--force-scrollbar-y"),document.qScrollPrevented=!1,t.style.left=pb,t.style.top=mb,window.location.href===gb&&window.scrollTo(tp,ip),xu=void 0)}function Yp(e){let t="add";if(e===!0){if(mu++,Js!==null){clearTimeout(Js),Js=null;return}if(mu>1)return}else{if(mu===0||(mu--,mu>0))return;if(t="remove",rn.is.ios===!0&&rn.is.nativeMobile===!0){Js!==null&&clearTimeout(Js),Js=setTimeout(()=>{vb(t),Js=null},100);return}}vb(t)}function cL(){let e;return{preventBodyScroll(t){t!==e&&(e!==void 0||t===!0)&&(e=t,Yp(t))}}}const da=[];let Ll;function dL(e){Ll=e.keyCode===27}function hL(){Ll===!0&&(Ll=!1)}function fL(e){Ll===!0&&(Ll=!1,va(e,27)===!0&&da[da.length-1](e))}function m1(e){window[e]("keydown",dL),window[e]("blur",hL),window[e]("keyup",fL),Ll=!1}function g1(e){rn.is.desktop===!0&&(da.push(e),da.length===1&&m1("addEventListener"))}function Hd(e){const t=da.indexOf(e);t!==-1&&(da.splice(t,1),da.length===0&&m1("removeEventListener"))}const ha=[];function y1(e){ha[ha.length-1](e)}function v1(e){rn.is.desktop===!0&&(ha.push(e),ha.length===1&&document.body.addEventListener("focusin",y1))}function Xp(e){const t=ha.indexOf(e);t!==-1&&(ha.splice(t,1),ha.length===0&&document.body.removeEventListener("focusin",y1))}let ud=0;const pL={standard:"fixed-full flex-center",top:"fixed-top justify-center",bottom:"fixed-bottom justify-center",right:"fixed-right items-center",left:"fixed-left items-center"},bb={standard:["scale","scale"],top:["slide-down","slide-up"],bottom:["slide-up","slide-down"],right:["slide-left","slide-right"],left:["slide-right","slide-left"]};var jl=$i({name:"QDialog",inheritAttrs:!1,props:{...o1,...a1,transitionShow:String,transitionHide:String,persistent:Boolean,autoClose:Boolean,allowFocusOutside:Boolean,noEscDismiss:Boolean,noBackdropDismiss:Boolean,noRouteDism
34iss:Boolean,noRefocus:Boolean,noFocus:Boolean,noShake:Boolean,seamless:Boolean,maximized:Boolean,fullWidth:Boolean,fullHeight:Boolean,square:Boolean,backdropFilter:String,position:{type:String,default:"standard",validator:e=>e==="standard"||["top","bottom","left","right"].includes(e)}},emits:[...r1,"shake","click","escapeKey"],setup(e,{slots:t,emit:n,attrs:r}){const a=ri(),c=Ke(null),p=Ke(!1),w=Ke(!1);let _=null,T=null,A,P;const O=ce(()=>e.persistent!==!0&&e.noRouteDismiss!==!0&&e.seamless!==!0),{preventBodyScroll:B}=cL(),{registerTimeout:z}=i1(),{registerTick:U,removeTick:J}=n1(),{transitionProps:ee,transitionStyle:Y}=l1(e,()=>bb[e.position][0],()=>bb[e.position][1]),q=ce(()=>Y.value+(e.backdropFilter!==void 0?`;backdrop-filter:${e.backdropFilter};-webkit-backdrop-filter:${e.backdropFilter}`:"")),{showPortal:$,hidePortal:G,portalIsAccessible:X,renderPortal:v}=d1(a,c,jt,"dialog"),{hide:me}=s1({showing:p,hideOnRouteChange:O,handleShow:Je,handleHide:Fe,processOnMount:!0}),{addToHistory:re,removeFromHistory:de}=ZI(p,me,O),Oe=ce(()=>`q-dialog__inner flex no-pointer-events q-dialog__inner--${e.maximized===!0?"maximized":"minimized"} q-dialog__inner--${e.position} ${pL[e.position]}`+(w.value===!0?" q-dialog__inner--animating":"")+(e.fullWidth===!0?" q-dialog__inner--fullwidth":"")+(e.fullHeight===!0?" q-dialog__inner--fullheight":"")+(e.square===!0?" q-dialog__inner--square":"")),oe=ce(()=>p.value===!0&&e.seamless!==!0),Ee=ce(()=>e.autoClose===!0?{onClick:ve}:{}),Pe=ce(()=>[`q-dialog fullscreen no-pointer-events q-dialog--${oe.value===!0?"modal":"seamless"}`,r.class]);Ft(()=>e.maximized,Ge=>{p.value===!0&&Te(Ge)}),Ft(oe,Ge=>{B(Ge),Ge===!0?(v1(Pt),g1(Mt)):(Xp(Pt),Hd(Mt))});function Je(Ge){re(),T=e.noRefocus===!1&&document.activeElement!==null?document.activeElement:null,Te(e.maximized),$(),w.value=!0,e.noFocus!==!0?(document.activeElement!==null&&document.activeElement.blur(),U(Ae)):J(),z(()=>{if(a.proxy.$q.platform.is.ios===!0){if(e.seamless!==!0&&document.activeElement){const{top:ge,bottom:Ye}=document.activeElement.getBoundingClientRect(),{innerHeight:ke}=window,nt=window.visualViewport!==void 0?window.visualViewport.height:ke;ge>0&&Ye>nt/2&&(document.scrollingElement.scrollTop=Math.min(document.scrollingElement.scrollHeight-nt,Ye>=ke?1/0:Math.ceil(document.scrollingElement.scrollTop+Ye-nt/2))),document.activeElement.scrollIntoView()}P=!0,c.value.click(),P=!1}$(!0),w.value=!1,n("show",Ge)},e.transitionDuration)}function Fe(Ge){J(),de(),Et(!0),w.value=!0,G(),T!==null&&(((Ge&&Ge.type.indexOf("key")===0?T.closest('[tabindex]:not([tabindex^="-"])'):void 0)||T).focus(),T=null),z(()=>{G(!0),w.value=!1,n("hide",Ge)},e.transitionDuration)}function Ae(Ge){Sh(()=>{let ge=c.value;if(ge!==null){if(Ge!==void 0){const Ye=ge.querySelector(Ge);if(Ye!==null){Ye.focus({preventScroll:!0});return}}ge.contains(document.activeElement)!==!0&&(ge=ge.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||ge.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||ge.querySelector("[autofocus], [data-autofocus]")||ge,ge.focus({preventScroll:!0}))}})}function Ve(Ge){Ge&&typeof Ge.focus=="function"?Ge.focus({preventScroll:!0}):Ae(),n("shake");const ge=c.value;ge!==null&&(ge.classList.remove("q-animate--scale"),ge.classList.add("q-animate--scale"),_!==null&&clearTimeout(_),_=setTimeout(()=>{_=null,c.value!==null&&(ge.classList.remove("q-animate--scale"),Ae())},170))}function Mt(){e.seamless!==!0&&(e.persistent===!0||e.noEscDismiss===!0?e.maximized!==!0&&e.noShake!==!0&&Ve():(n("escapeKey"),me()))}function Et(Ge){_!==null&&(clearTimeout(_),_=null),(Ge===!0||p.value===!0)&&(Te(!1),e.seamless!==!0&&(B(!1),Xp(Pt),Hd(Mt))),Ge!==!0&&(T=null)}function Te(Ge){Ge===!0?A!==!0&&(ud<1&&document.body.classList.add("q-body--dialog"),ud++,A=!0):A===!0&&(ud<2&&document.body.classList.remove("q-body--dialog"),ud--,A=!1)}function ve(Ge){P!==!0&&(me(Ge),n("click",Ge))}function ft(Ge){e.persistent!==!0&&e.noBackdropDismiss!==!0?me(Ge):e.noShake!==!0&&Ve()}function Pt(Ge){e.allowFocusOutside!==!0&&X.value===!0&&Gw(c.value,Ge.target)!==!0&&Ae('[tabindex]:not
34([tabindex="-1"])')}Object.assign(a.proxy,{focus:Ae,shake:Ve,__updateRefocusTarget(Ge){T=Ge||null}}),Ci(Et);function jt(){return Se("div",{role:"dialog","aria-modal":oe.value===!0?"true":"false",...r,class:Pe.value},[Se(qr,{name:"q-transition--fade",appear:!0},()=>oe.value===!0?Se("div",{class:"q-dialog__backdrop fixed-full",style:q.value,"aria-hidden":"true",tabindex:-1,onClick:ft}):null),Se(qr,ee.value,()=>p.value===!0?Se("div",{ref:c,class:Oe.value,style:Y.value,tabindex:-1,...Ee.value},lo(t.default)):null)])}return v}}),zd={d:(e,t)=>{for(var n in t)zd.o(t,n)&&!zd.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},b1={};function Kp(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 x1(e,t){if(e){if(typeof e=="string")return Kp(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Kp(e,t):void 0}}function jd(e){return function(t){if(Array.isArray(t))return Kp(t)}(e)||function(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}(e)||x1(e)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 35In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function $d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}zd.d(b1,{Z:()=>bL});const Nt=(xb={computed:()=>ce,createTextVNode:()=>Ze,createVNode:()=>fe,defineComponent:()=>Sa,reactive:()=>kn,ref:()=>Ke,watch:()=>Ft,watchEffect:()=>N0},op={},zd.d(op,xb),op),mL=(0,Nt.defineComponent)({props:{data:{required:!0,type:String},onClick:Function},render:function(){var e=this.data,t=this.onClick;return(0,Nt.createVNode)("span",{class:"vjs-tree-brackets",onClick:t},[e])}}),gL=(0,Nt.defineComponent)({emits:["change","update:modelValue"],props:{checked:{type:Boolean,default:!1},isMultiple:Boolean,onChange:Function},setup:function(e,t){var n=t.emit;return{uiType:(0,Nt.computed)(function(){return e.isMultiple?"checkbox":"radio"}),model:(0,Nt.computed)({get:function(){return e.checked},set:function(r){return n("update:modelValue",r)}})}},render:function(){var e=this.uiType,t=this.model,n=this.$emit;return(0,Nt.createVNode)("label",{class:["vjs-check-controller",t?"is-checked":""],onClick:function(r){return r.stopPropagation()}},[(0,Nt.createVNode)("span",{class:"vjs-check-controller-inner is-".concat(e)},null),(0,Nt.createVNode)("input",{checked:t,class:"vjs-check-controller-original is-".concat(e),type:e,onChange:function(){return n("change",t)}},null)])}}),yL=(0,Nt.defineComponent)({props:{nodeType:{required:!0,type:String},onClick:Function},render:function(){var e=this.nodeType,t=this.onClick,n=e==="objectStart"||e==="arrayStart";return n||e==="objectCollapsed"||e==="arrayCollapsed"?(0,Nt.createVNode)("span",{class:"vjs-carets vjs-carets-".concat(n?"open":"close"),onClick:t},[(0,Nt.createVNode)("svg",{viewBox:"0 0 1024 1024",focusable:"false","data-icon":"caret-down",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},[(0,Nt.createVNode)("path",{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"},null)])]):null}});var xb,op;function Qp(e){return Qp=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},Qp(e)}function w1(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}function ta(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"root",n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,r=arguments.length>3?arguments[3]:void 0,a=r||{},c=a.key,p=a.index,w=a.type,_=w===void 0?"content":w,T=a.showComma,A=T!==void 0&&T,P=a.length,O=P===void 0?1:P,B=w1(e);if(B==="array"){var z=wb(e.map(function(ee,Y,q){return ta(ee,"".concat(t,"[").concat(Y,"]"),n+1,{index:Y,showComma:Y!==q.length-1,length:O,type:_})}));return[ta("[",t,n,{showComma:!1,key:c,length:e.length,type:"arrayStart"})[0]].concat(z,ta("]",t,n,{showComma:A,length:e.length,type:"arrayEnd"})[0])}if(B==="object"){var U=Object.keys(e),J=wb(U.map(function(ee,Y,q){return ta(e[ee],/^[a-zA-Z_]\w*$/.test(ee)?"".concat(t,".").concat(ee):"".concat(t,'["').concat(ee,'"]'),n+1,{key:ee,showComma:Y!==q.length-1,length:O,type:_})}));return[ta("{",t,n,{showComma:!1,key:c,index:p,length:U.length,type:"objectStart"})[0]].concat(J,ta("}",t,n,{showComma:A,length:U.length,type:"objectEnd"})[0])}return[{content:e,level:n,key:c,index:p,path:t,showComma:A,length:O,type:_}]}function wb(e){if(typeof Array.prototype.flat=="function")return e.flat();for(var t=jd(e),n=[];t.length;){var r=t.shift();Array.isArray(r)?t.unshift.apply(t,jd(r)):n.push(r)}return n}function Zp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new WeakMap;if(e==null)return e;if(e instanceof Date)return new Date(e);if(e instanceof RegExp)return new RegExp(e);if(Qp(e)!=="object")return e;if(t.get(e))return t.get(e);if(Array.isArray(e)){var n=e.map(function(c){return Zp(c,t)});return t.set(e,n),n}
35var r={};for(var a in e)r[a]=Zp(e[a],t);return t.set(e,r),r}function Sb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function _b(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Sb(Object(n),!0).forEach(function(r){$d(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Sb(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var S1={showLength:{type:Boolean,default:!1},showDoubleQuotes:{type:Boolean,default:!0},renderNodeKey:Function,renderNodeValue:Function,selectableType:String,showSelectController:{type:Boolean,default:!1},showLine:{type:Boolean,default:!0},showLineNumber:{type:Boolean,default:!1},selectOnClickNode:{type:Boolean,default:!0},nodeSelectable:{type:Function,default:function(){return!0}},highlightSelectedNode:{type:Boolean,default:!0},showIcon:{type:Boolean,default:!1},theme:{type:String,default:"light"},showKeyValueSpace:{type:Boolean,default:!0},editable:{type:Boolean,default:!1},editableTrigger:{type:String,default:"click"},onNodeClick:{type:Function},onBracketsClick:{type:Function},onIconClick:{type:Function},onValueChange:{type:Function}};const vL=(0,Nt.defineComponent)({name:"TreeNode",props:_b(_b({},S1),{},{node:{type:Object,required:!0},collapsed:Boolean,checked:Boolean,style:Object,onSelectedChange:{type:Function}}),emits:["nodeClick","bracketsClick","iconClick","selectedChange","valueChange"],setup:function(e,t){var n=t.emit,r=(0,Nt.computed)(function(){return w1(e.node.content)}),a=(0,Nt.computed)(function(){return"vjs-value vjs-value-".concat(r.value)}),c=(0,Nt.computed)(function(){return e.showDoubleQuotes?'"'.concat(e.node.key,'"'):e.node.key}),p=(0,Nt.computed)(function(){return e.selectableType==="multiple"}),w=(0,Nt.computed)(function(){return e.selectableType==="single"}),_=(0,Nt.computed)(function(){return e.nodeSelectable(e.node)&&(p.value||w.value)}),T=(0,Nt.reactive)({editing:!1}),A=function(Y){var q,$,G=($=(q=Y.target)===null||q===void 0?void 0:q.value)==="null"?null:$==="undefined"?void 0:$==="true"||$!=="false"&&($[0]+$[$.length-1]==='""'||$[0]+$[$.length-1]==="''"?$.slice(1,-1):typeof Number($)=="number"&&!isNaN(Number($))||$==="NaN"?Number($):$);n("valueChange",G,e.node.path)},P=(0,Nt.computed)(function(){var Y,q=(Y=e.node)===null||Y===void 0?void 0:Y.content;return q===null?q="null":q===void 0&&(q="undefined"),r.value==="string"?'"'.concat(q,'"'):q+""}),O=function(){var Y=e.renderNodeValue;return Y?Y({node:e.node,defaultValue:P.value}):P.value},B=function(){n("bracketsClick",!e.collapsed,e.node)},z=function(){n("iconClick",!e.collapsed,e.node)},U=function(){n("selectedChange",e.node)},J=function(){n("nodeClick",e.node),_.value&&e.selectOnClickNode&&n("selectedChange",e.node)},ee=function(Y){if(e.editable&&!T.editing){T.editing=!0;var q=function $(G){var X;G.target!==Y.target&&((X=G.target)===null||X===void 0?void 0:X.parentElement)!==Y.target&&(T.editing=!1,document.removeEventListener("click",$))};document.removeEventListener("click",q),document.addEventListener("click",q)}};return function(){var Y,q=e.node;return(0,Nt.createVNode)("div",{class:{"vjs-tree-node":!0,"has-selector":e.showSelectController,"has-carets":e.showIcon,"is-highlight":e.highlightSelectedNode&&e.checked,dark:e.theme==="dark"},onClick:J,style:e.style},[e.showLineNumber&&(0,Nt.createVNode)("span",{class:"vjs-node-index"},[q.id+1]),e.showSelectController&&_.value&&q.type!=="objectEnd"&&q.type!=="arrayEnd"&&(0,Nt.createVNode)(gL,{isMultiple:p.value,checked:e.checked,onChange:U},null),(0,Nt.createVNode)("div",{class:"vjs-indent"},[Array.from(Array(q.level)).map(function($,G){return(0,Nt.createVNode)("div",{key:G,class:{"vjs-indent-unit":!0,"has-line":e.showLine}},null)}),e.showIcon&&(0,Nt.createVNode)(yL,{nodeType:q.type,onClick:z},null)]),q.key&&(0,Nt.createVNode)("span",{class:"vjs-key"},[(Y=e.renderNodeKey,Y?Y({node:e.node,defaultKey:c.value||""}):c.value),(0,Nt.createVNode)("span",{class:"vjs-colon"},[":".concat(e.showKeyValueSpace?" ":"")])]),(0,Nt.createVNode)("span",null,[q.type!=="content"&&q.content?(0,Nt.createVNode)(mL,{data:q.content.toString(),onClick:B},null):(0,Nt.createVNode)("span",{class:a.value,onClick:!e.editable||e.editableTrigger&&e.editableTrigger!=="click"?void 0:ee,onDblclick:e.editable&&e.editableTrigger==="dblclick"?ee:void 0},[e.editable&&T.editing?(0,Nt.createVNode)("input",{value:P.value,onChange:A,style:{padding:"3px 8px",border:"1px solid #eee",boxShadow:"none",boxSizing:"border-box",borderRadius:5,fontFamily:"inherit"}},null):O()]),q.showComma&&(0,Nt.createVNode)("span",null,[","]),e.showLength&&e.collapsed&&(0,Nt.createVNode)("span",{class:"vjs-comment"},[(0,Nt.createTextVNode)(" // "),q.length,(0,Nt.createTextVNode)(" items ")])])])}}});function Cb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function oo(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};
35t%2?Cb(Object(n),!0).forEach(function(r){$d(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Cb(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}const bL=(0,Nt.defineComponent)({name:"Tree",props:oo(oo({},S1),{},{data:{type:[String,Number,Boolean,Array,Object],default:null},collapsedNodeLength:{type:Number,default:1/0},deep:{type:Number,default:1/0},pathCollapsible:{type:Function,default:function(){return!1}},rootPath:{type:String,default:"root"},virtual:{type:Boolean,default:!1},height:{type:Number,default:400},itemHeight:{type:Number,default:20},selectedValue:{type:[String,Array],default:function(){return""}},collapsedOnClickBrackets:{type:Boolean,default:!0},style:Object,onSelectedChange:{type:Function},theme:{type:String,default:"light"}}),slots:["renderNodeKey","renderNodeValue"],emits:["nodeClick","bracketsClick","iconClick","selectedChange","update:selectedValue","update:data"],setup:function(e,t){var n=t.emit,r=t.slots,a=(0,Nt.ref)(),c=(0,Nt.computed)(function(){return ta(e.data,e.rootPath)}),p=function(q,$){return c.value.reduce(function(G,X){var v,me=X.level>=q||X.length>=$,re=(v=e.pathCollapsible)===null||v===void 0?void 0:v.call(e,X);return X.type!=="objectStart"&&X.type!=="arrayStart"||!me&&!re?G:oo(oo({},G),{},$d({},X.path,1))},{})},w=(0,Nt.reactive)({translateY:0,visibleData:null,hiddenPaths:p(e.deep,e.collapsedNodeLength)}),_=(0,Nt.computed)(function(){for(var q=null,$=[],G=c.value.length,X=0;X<G;X++){var v=oo(oo({},c.value[X]),{},{id:X}),me=w.hiddenPaths[v.path];if(q&&q.path===v.path){var re=q.type==="objectStart",de=oo(oo(oo({},v),q),{},{showComma:v.showComma,content:re?"{...}":"[...]",type:re?"objectCollapsed":"arrayCollapsed"});q=null,$.push(de)}else{if(me&&!q){q=v;continue}if(q)continue;$.push(v)}}return $}),T=(0,Nt.computed)(function(){var q=e.selectedValue;return q&&e.selectableType==="multiple"&&Array.isArray(q)?q:[q]}),A=(0,Nt.computed)(function(){return!e.selectableType||e.selectOnClickNode||e.showSelectController?"":"When selectableType is not null, selectOnClickNode and showSelectController cannot be false at the same time, because this will cause the selection to fail."}),P=function(){var q=_.value;if(e.virtual){var $,G=e.height/e.itemHeight,X=(($=a.value)===null||$===void 0?void 0:$.scrollTop)||0,v=Math.floor(X/e.itemHeight),me=v<0?0:v+G>q.length?q.length-G:v;me<0&&(me=0);var re=me+G;w.translateY=me*e.itemHeight,w.visibleData=q.filter(function(de,Oe){return Oe>=me&&Oe<re})}else w.visibleData=q},O=function(){P()},B=function(q){var $,G,X=q.path,v=e.selectableType;if(v==="multiple"){var me=T.value.findIndex(function(oe){return oe===X}),re=jd(T.value);me!==-1?re.splice(me,1):re.push(X),n("update:selectedValue",re),n("selectedChange",re,jd(T.value))}else if(v==="single"&&T.value[0]!==X){var de=($=T.value,G=1,function(oe){if(Array.isArray(oe))return oe}($)||function(oe,Ee){var Pe=oe==null?null:typeof Symbol!="undefined"&&oe[Symbol.iterator]||oe["@@iterator"];if(Pe!=null){var Je,Fe,Ae=[],Ve=!0,Mt=!1;try{for(Pe=Pe.call(oe);!(Ve=(Je=Pe.next()).done)&&(Ae.push(Je.value),!Ee||Ae.length!==Ee);Ve=!0);}catch(Et){Mt=!0,Fe=Et}finally{try{Ve||Pe.return==null||Pe.return()}finally{if(Mt)throw Fe}}return Ae}}($,G)||x1($,G)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 36In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}())[0],Oe=X;n("update:selectedValue",Oe),n("selectedChange",Oe,de)}},z=function(q){n("nodeClick",q)},U=function(q,$){if(q)w.hiddenPaths=oo(oo({},w.hiddenPaths),{},$d({},$,1));else{var G=oo({},w.hiddenPaths);delete G[$],w.hiddenPaths=G}},J=function(q,$){e.collapsedOnClickBrackets&&U(q,$.path),n("bracketsClick",q,$)},ee=function(q,$){U(q,$.path),n("iconClick",q,$)},Y=function(q,$){var G=Zp(e.data),X=e.rootPath;new Function("data","val","data".concat($.slice(X.length),"=val"))(G,q),n("update:data",G)};return(0,Nt.watchEffect)(function(){A.value&&function(q){throw new Error("[VueJSONPretty] ".concat(q))}(A.value)}),(0,Nt.watchEffect)(function(){_.value&&P()}),(0,Nt.watch)(function(){return e.deep},function(q){q&&(w.hiddenPaths=p(q,e.collapsedNodeLength))}),(0,Nt.watch)(function(){return e.collapsedNodeLength},function(q){q&&(w.hiddenPaths=p(e.deep,q))}),function(){var q,$,G=(q=e.renderNodeKey)!==null&&q!==void 0?q:r.renderNodeKey,X=($=e.renderNodeValue)!==null&&$!==void 0?$:r.renderNodeValue,v=w.visibleData&&w.visibleData.map(function(me){return(0,Nt.createVNode)(vL,{key:me.i
36d,node:me,collapsed:!!w.hiddenPaths[me.path],theme:e.theme,showDoubleQuotes:e.showDoubleQuotes,showLength:e.showLength,checked:T.value.includes(me.path),selectableType:e.selectableType,showLine:e.showLine,showLineNumber:e.showLineNumber,showSelectController:e.showSelectController,selectOnClickNode:e.selectOnClickNode,nodeSelectable:e.nodeSelectable,highlightSelectedNode:e.highlightSelectedNode,editable:e.editable,editableTrigger:e.editableTrigger,showIcon:e.showIcon,showKeyValueSpace:e.showKeyValueSpace,renderNodeKey:G,renderNodeValue:X,onNodeClick:z,onBracketsClick:J,onIconClick:ee,onSelectedChange:B,onValueChange:Y,style:e.itemHeight&&e.itemHeight!==20?{lineHeight:"".concat(e.itemHeight,"px")}:{}},null)});return(0,Nt.createVNode)("div",{ref:a,class:{"vjs-tree":!0,"is-virtual":e.virtual,dark:e.theme==="dark"},onScroll:e.virtual?O:void 0,style:e.showLineNumber?oo({paddingLeft:"".concat(12*Number(c.value.length.toString().length),"px")},e.style):e.style},[e.virtual?(0,Nt.createVNode)("div",{class:"vjs-tree-list",style:{height:"".concat(e.height,"px")}},[(0,Nt.createVNode)("div",{class:"vjs-tree-list-holder",style:{height:"".concat(_.value.length*e.itemHeight,"px")}},[(0,Nt.createVNode)("div",{class:"vjs-tree-list-holder-inner",style:{transform:"translateY(".concat(w.translateY,"px)")}},[v])])]):v])}}});var xL=b1.Z;var Kt=(e,t)=>{const n=e.__vccOpts||e;for(const[r,a]of t)n[r]=a;return n};const wL={name:"JsonFormatter",props:["data","expanded"],components:{VueJsonPretty:xL}},SL={style:{width:"100%",background:"white",overflow:"scroll"}};function _L(e,t,n,r,a,c){const p=ze("vue-json-pretty");return xe(),We("div",SL,[(xe(),Rt(p,{key:0,path:"res",data:n.data},null,8,["data"]))])}var _1=Kt(wL,[["render",_L]]);function C1(){return Pi(Kx)}function _h(){const e=C1();return{success:a=>{e.notify({message:a,color:"positive",position:"center"})},error:a=>{e.notify({message:a,color:"negative"})},general:a=>{e.notify({message:a,color:"secondary"})}}}var k1=typeof window<"u",CL=()=>k1?window.innerWidth:0,kL=()=>k1?window.innerHeight:0,AL=e=>e!=null?e:CL(),TL=e=>e!=null?e:kL(),EL=e=>({width:AL(e==null?void 0:e.width),height:TL(e==null?void 0:e.height)}),ML=e=>{let t=0,n=e(),r=kn(EL()),a=({width:w,height:_})=>{r.width=w,r.height=_};n.addObserver("composition-api",a);let c=()=>{++t},p=()=>{t=Math.max(t-1,0)};return()=>(t===0&&n.subscribe().dispatch(),c(),_a(()=>{p(),t===0&&n.unsubscribe()}),{width:ce(()=>r.width),height:ce(()=>r.height)})},As,sa,ju,Ts,Es,$u,Jp,Uu,em,Xd,A1,Kb,PL=(Kb=class{constructor(e){Mr(this,$u);Mr(this,Uu);Mr(this,Xd);Mr(this,As,new Map);Mr(this,sa,void 0);Mr(this,ju,void 0);Mr(this,Ts,!1);Mr(this,Es,void 0);let{delay:t=33}=e!=null?e:{};Ks(this,sa,t),Ks(this,Es,tl(this,Xd,A1).bind(this))}addObserver(e,t){return On(this,As).set(e,t),t(tl(this,$u,Jp).call(this)),this}deleteObserver(e){return On(this,As).delete(e),this}deleteObservers(){return On(this,As).clear(),this}notifyObservers(e){return On(this,As).forEach(t=>{t(e)}),this}subscribe(){return typeof window>"u"?this:On(this,Ts)?this:(window.addEventListener("resize",On(this,Es)),window.addEventListener("orientationchange",On(this,Es)),Ks(this,Ts,!0),this)}unsubscribe(){return On(this,Ts)?(window.removeEventListener("resize",On(this,Es)),window.removeEventListener("orientationchange",On(this,Es)),Ks(this,Ts,!1),this):this}setDelay(e){return Ks(this,sa,e),this}info(){return{delay:On(this,sa),subscribed:On(this,Ts),observersCount:On(this,As).size}}dispatch(){return tl(this,Uu,em).call(this),this}},As=new WeakMap,sa=new WeakMap,ju=new WeakMap,Ts=new WeakMap,Es=new WeakMap,$u=new WeakSet,Jp=function(){return typeof window>"u"?{width:0,height:0}:{width:window.innerWidth,height:window.innerHeight}},Uu=new WeakSet,em=function(){let e=tl(this,$u,Jp).call(this);this.notifyObservers(e)},Xd=new WeakSet,A1=function(){clearTimeout(On(this,ju)),window.setTimeout(()=>{},1),Ks(this,ju,window.setTimeout(()=>{tl(this,Uu,em).call(this)},On(this,sa)))},Kb),rp,OL=()=>(rp||(rp=new PL),rp),IL=ML(OL);function Xm(){const e=IL(),t=ce(()=>e.width.value*1),n=ce(()=>e.height.value),r=ce(()=>e.width.value<576),a=ce(()=>{let w=220;return n.value<500&&(w=190),n.value-w+"px"}),c=ce(()=>r.value?1*t.value:550);return{guestListsDesktop:ce(()=>t.value>800),sectionHeight:a,drawerWidth:c,width:t,height:n,isMobi:r}}const Sn=kn({userType:null,timeInactive:0,timeInactiveInterval:null,previousRoute:null,forceDevMode:!0,configData:{loading:!0}});function Gi(e,t){const n=ce(()=>document.cookie.includes("campaignCode")?document.cookie.split("; ").find(J=>J.startsWith("campaignCode=")).split("=")[1]:""),r=U=>{let J=new Date;J.setTime(J.getTime()+30*60*1e3);let ee="expires="+J.toUTCString();document.cookie="campaignCode="+U+";"+ee+";path=/"},a=()=>{document.cookie="campaignCode=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;"},c=()=>{Pl({method:"GET",url:"/api/tfg/config?v="+new Date().getTime(),data:{}}).then(U=>{Sn.configData=U.data.data},U=>{alert(U)})},p=ce(()=>Sn.configData),w=()=>{location.href="/#/apply/"+Sn.userType+"/Initiate",location.reload()},_=$m();e&&(Sn.userType=t,Sn.previousRoute==null&&(_.path.includes("Initiate")||w()),Ft(()=>_.path,(U,J)=>{Sn.previousRoute=J}),Sn.timeInactiveInterval=setInterval(()=>{Sn.timeInactive+=1e3,Sn.timeInactive>60*10*1e3&&w()},1e3),window.addEventListener("mousemove",()=>Sn.timeInactive=0),Ci(()=>{try{clearInterval(Sn.timeInactiveInterval),window.removeEventListener("mousemove")}catch{}}));const T=U=>Sn.previousRoute===U.path?(console.log("back button pressed"),w(),!0):!1,A=ce(()=>Sn.previousRoute),P=ce(()=>Sn.timeInactive),O=ce(()=>Sn.userType),B=ce(()=>Sn.forceDevMode);return{tfgConfig:p,getConfig:c,setCampaignCode:r,clearCampaignCode:a,campaignCode:n,lastPath:A,timeInactive:P,userType:O,restartApplication:w,userPressedBack:T,forceDevMode:B,setForceDevMode:U=>{Sn.forceDevMode=U}}}const LL={__name:"C_QA",props:{form:Object,validations:{}},setup(e){const t=e,n=C1(),r=Xm(),a=Gi(),c=BO();Ke("a");const w=aI().state.appState.applicationReferenceNumber;_h();const _=localStorage.getItem("sessionId");return Ke({sessionId:_,currentPath:c.currentRoute.value.path,lastPath:a.lastPath,dimension:{width:r.width.value,height:r.height.value},validations:t.validations,form:t.form,timeInactive:a.timeInactive,appRef:w,userType:a.userType,userAgent:n.platform.userAgent}),(T,A)=>ht("",!0)}};var Mo=Kt(LL,[["__scopeId","data-v-1ddf5ba4"]]);function T1(e,t){const n=Ke(null),r=ce(()=>e.disable===!0?null:Se("span",{ref:n,class:"no-outline",tabindex:-1}));function a(c){const p=t.value;c!==void 0&&c.type.indexOf("key")===0?p!==null&&document.activeElement!==p&&p.
36contains(document.activeElement)===!0&&p.focus():n.value!==null&&(c===void 0||p!==null&&p.contains(c.target)===!0)&&n.value.focus()}return{refocusTargetEl:r,refocusTarget:a}}const Ch={name:String};function E1(e={}){return(t,n,r)=>{t[n](Se("input",{class:"hidden"+(r||""),...e.value}))}}function M1(e){return ce(()=>e.name||e.for)}var P1={xs:30,sm:35,md:40,lg:50,xl:60};const NL=Se("svg",{key:"svg",class:"q-radio__bg absolute non-selectable",viewBox:"0 0 24 24"},[Se("path",{d:"M12,22a10,10 0 0 1 -10,-10a10,10 0 0 1 10,-10a10,10 0 0 1 10,10a10,10 0 0 1 -10,10m0,-22a12,12 0 0 0 -12,12a12,12 0 0 0 12,12a12,12 0 0 0 12,-12a12,12 0 0 0 -12,-12"}),Se("path",{class:"q-radio__check",d:"M12,6a6,6 0 0 0 -6,6a6,6 0 0 0 6,6a6,6 0 0 0 6,-6a6,6 0 0 0 -6,-6"})]);var kb=$i({name:"QRadio",props:{...ka,...Hl,...Ch,modelValue:{required:!0},val:{required:!0},label:String,leftLabel:Boolean,checkedIcon:String,uncheckedIcon:String,color:String,keepColor:Boolean,dense:Boolean,disable:Boolean,tabindex:[String,Number]},emits:["update:modelValue"],setup(e,{slots:t,emit:n}){const{proxy:r}=ri(),a=Aa(e,r.$q),c=zl(e,P1),p=Ke(null),{refocusTargetEl:w,refocusTarget:_}=T1(e,p),T=ce(()=>Qt(e.modelValue)===Qt(e.val)),A=ce(()=>"q-radio cursor-pointer no-outline row inline no-wrap items-center"+(e.disable===!0?" disabled":"")+(a.value===!0?" q-radio--dark":"")+(e.dense===!0?" q-radio--dense":"")+(e.leftLabel===!0?" reverse":"")),P=ce(()=>{const q=e.color!==void 0&&(e.keepColor===!0||T.value===!0)?` text-${e.color}`:"";return`q-radio__inner relative-position q-radio__inner--${T.value===!0?"truthy":"falsy"}${q}`}),O=ce(()=>(T.value===!0?e.checkedIcon:e.uncheckedIcon)||null),B=ce(()=>e.disable===!0?-1:e.tabindex||0),z=ce(()=>{const q={type:"radio"};return e.name!==void 0&&Object.assign(q,{".checked":T.value===!0,"^checked":T.value===!0?"checked":void 0,name:e.name,value:e.val}),q}),U=E1(z);function J(q){q!==void 0&&(Zi(q),_(q)),e.disable!==!0&&T.value!==!0&&n("update:modelValue",e.val,q)}function ee(q){(q.keyCode===13||q.keyCode===32)&&Zi(q)}function Y(q){(q.keyCode===13||q.keyCode===32)&&J(q)}return Object.assign(r,{set:J}),()=>{const q=O.value!==null?[Se("div",{key:"icon",class:"q-radio__icon-container absolute-full flex flex-center no-wrap"},[Se(To,{class:"q-radio__icon",name:O.value})])]:[NL];e.disable!==!0&&U(q,"unshift"," q-radio__native q-ma-none q-pa-none");const $=[Se("div",{class:P.value,style:c.value,"aria-hidden":"true"},q)];w.value!==null&&$.push(w.value);const G=e.label!==void 0?mr(t.default,[e.label]):lo(t.default);return G!==void 0&&$.push(Se("div",{class:"q-radio__label q-anchor--skip"},G)),Se("div",{ref:p,class:A.value,tabindex:B.value,role:"radio","aria-label":e.label,"aria-checked":T.value===!0?"true":"false","aria-disabled":e.disable===!0?"true":void 0,onClick:J,onKeydown:ee,onKeyup:Y},$)}}}),wd={isEmail(e){return/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e)},isRealNumber(e){const t=".0123456789";let n=!0,r;for(let a=0;a<e.length&&n;a++)r=e.charAt(a),t.indexOf(r)===-1&&(n=!1);return n},isWholeNumber(e){if(e===null||typeof e=="object")return!1;const t="0123456789";let n=!0,r;for(let a=0;a<e.length&&n;a++)r=e.charAt(a),t.indexOf(r)===-1&&(n=!1);return n},isIDNumber(e){if(!e)return!1;e=e.toString();let t=!0;if(isNaN(e)||e.length!==13)return!1;const n=new Date(e.substring(0,2),e.substring(2,4)-1,e.substring(4,6));n.getYear()===e.substring(0,2)&&n.getMonth()===e.substring(2,4)-1&&n.getDate()===e.substring(4,6)||(t=!1);let r=0,a=0,c=1;for(let p=0;p<13;++p)r=parseInt(e.charAt(p))*c,r>9&&(r=parseInt(r.toString().charAt(0))+parseInt(r.toString().charAt(1))),a=a+r,c=c%2===0?1:2;return a%10===0&&(t=!0),t}};function kh(e,t,n,r){const a=Ke([]),c=Ke(!1),p=$=>{c.value=$},w=ce(()=>{let $=!1;return t.validations?(t.validations.forEach(G=>{typeof G=="string"?G==="required"&&($=!0):typeof G=="object"&&G.type==="required"&&($=!0)}),$):!1});w.value&&ut.emit("validation-update",{name:r.name,state:!1});const _=ce(()=>({"is--valid":A.value,"is--invalid":T.value})),T=ce(()=>!A.value&&Y.value),A=ce(()=>a.value.length===0),P=()=>{ut.emit("validation-remove",{name:r.name})},O=ce(()=>t.hideValidation),B=()=>{let $=!1;return n==="text"?e.value&&($=e.value.toString().trim().length>0):n==="checkbox"?$=e.value:(n==="radio"||n==="select")&&($=e.value?e.value.length>0:!1),$||w.value},z=$=>{let G=[];if(!t.validations||!Array.isArray(t.validations))return!0;
36if(!B())return a.value=[],!0;t.validations.forEach(X=>{let v=!1;if(typeof X=="object"){if(!e.value&&X.type!=="required")v=!0;else if(X.type==="required")n==="text"?e.value&&(v=e.value.toString().trim().length>0):n==="checkbox"?(v=e.value,v||(v=!1)):n==="radio"&&(v=e&&e.value&&e.value.length>0);else if(X.type==="pattern")if(e.value==="")v=!0;else{let me=new RegExp(X.pattern).test(e.value);me||(c.value=!1),v=me}else if(X.type==="email")v=wd.isEmail(e.value);else if(X.type==="checkProps"){let me=!0;X.exactLength&&e.value.toString().length!==X.exactLength&&(me=!1),X.maxLength&&e.value.toString().length>X.maxLength&&(me=!1),X.minLength&&e.value.toString().length<X.minLength&&(me=!1),X.pattern&&e.value.toString().length>0&&(new RegExp(X.pattern).test(e.value)||(me=!1)),X.exactType&&X.exactType==="number"&&!wd.isWholeNumber(e.value)&&(me=!1),v=me}v||G.push(X.errorMsg)}else X==="required"?n==="text"?e.value&&(v=e.value.toString().trim().length>0||Number.isInteger(e.value)):n==="checkbox"?(v=e.value,v||(v=!1)):n==="radio"?v=e!=null&&e.value!=null:n==="select"&&(v=e.value?e.value.length>0||Number.isInteger(e.value):!1):X==="idNumber"&&(v=wd.isIDNumber(e.value)),v===!1&&G.push(U(X))}),$?(c.value=!0,G.length===0&&(c.value=!1,a.value="")):(c.value=!1,a.value=G),w.value&&ut.emit("validation-update",{name:r.name,state:G.length===0})},U=$=>{if($==="typeMismatch")switch(this.$refs.controlEl.getAttribute("type")){case"email":return J("emailMismatch");case"url":return J("urlMismatch");case"number":return J("numberMismatch")}else{let G=J($);return G.length>50&&$==="required"&&(G="This field must be completed"),G}},J=$=>{if(t.errorMessage&&t.errorMessage[$])return t.errorMessage[$];let G=t.label||"Field";return{required:`${G} must be completed`,idNumber:"Please enter a valid 13 digit South African ID number",badInput:"Bad input",valueMissing:`${G} is required. Please make sure you fill it in before continuing`,typeMismatch:`${G} must match requested format`,emailMismatch:`${G} should follow this format [email protected]`,urlMismatch:`${G} must be a valid url`,numberMismatch:`${G} must be a valid number`,stepMismatch:`${G} must match requested format`,patternMismatch:`${G} must match requested format`,password:"So sorry! Password should be 8 characters or more, with a mix of at least one upper and lowercase letter, and a number."}[$]},ee=ce(()=>a.value),Y=Ke(!1),q=()=>{Y.value=!0};return ut.on("set-field-interaction",()=>{q(),z()}),ut.on("validate-all-fields",z),Ci(()=>{ut.off("set-field-interaction"),ut.off("validate-all-fields")}),{setInteracted:q,showError:T,isValid:A,checkValid:z,validationClasses:_,hideValidation:O,hasBeenInteractedWith:Y,theErrors:ee,errorHidden:c,setErrorHidden:p,removeFromForm:P}}function Ab(e,t){return()=>console.warn(`The ${e} component must be used inside a ${t}`)}function RL(e,t,n){const r=t&&n?{register:Ab(t,n),unregister:Ab(t,n)}:null;return{name:"registrable-inject",inject:{[e]:{default:r}}}}function FL(e){return{name:"registrable-provide",methods:{register:null,unregister:null},provide(){return{[e]:{register:this.register,unregister:this.unregister}}}}}let DL=0;var Ah={mixins:[RL("form","form-control","<C_Form>")],props:{maxlength:{type:Number,default:null},label:String,hint:String,subHint:String,validations:Array,modelValue:Object,disable:Boolean,hideValidation:{type:Boolean,default:!1},mandatory:Boolean,width:{type:Number,default:-1}},created(){this.form.register(this)},computed:{innerLabel(){return this.control_value&&(this.control_value.length>0||typeof this.control_value=="number")||this.mandatory?null:"(optional)"},fieldStyle(){return this.width>0?"width:"+this.width+"px":""}},data(){return{control_id:`control-${DL++}`,focused:!1,externalLabel:!0}},mounted(){this.$refs.controlEl||console.warn("The validatable mixin requires a control element reference")},watch:{},methods:{onFocus(){this.focused=!0},offFocus(){this.focused=!1}},beforeUnmount(){this.form.unregister(this)}};const BL={name:"C_Radio",setup(e){const t=Ju(),n=Ke(e.modelValue);return{validation:kh(n,e,"radio",t),control_value:n}},watch:{modelValue(e){this.control_value=e}},props:{size:{default:"40px"},radioValue:{},labels:[]},beforeUnmount(){this.validation.removeFromForm()},mixins:[Ah]},VL=["innerHTML"],qL={class:"form-group- form-group--radiof"},HL=N("div",{style:{clear:"both"}},null,-1),zL={key:0,style:{display:"block"}},jL={key:1},$L=["id","value"],UL=["for"],WL={class:"form-control__hint"},GL={key:1,class:"form-control__error"};function YL(e,t,n,r,a,c){return xe(),We("div",null,[e.label?(xe(),We("span",{key:0,class:"input-container--radio_label",innerHTML:e.label},null,8,VL)):ht("",!0),N("div",qL,[N("div",null,[co(e.$slots,"label")]),HL,n.labels&&n.labels.length>2?(xe(),We("div",zL,[(xe(!0),We($t,null,Vr(n.labels,p=>(xe(),We("div",{key:p,style:{"text-align":"left"}},[fe(kb,Wo({size:n.size,ref_for:!0},e.$attrs,{type:"radio",val:p.value,label:p.label,modelValue:r.control_value,"onUpdate:modelValue":t[0]||(t[0]=w=>r.control_value=w),onClick:t[1]||(t[1]=w=>r.validation.checkValid())}),null,16,["size","val","label","modelValue"])]))),128))])):n.labels&&n.labels.length>1?(xe(),We("div",jL,[(xe(!0),We($t,null,Vr(n.labels,p=>(xe(),Rt(kb,Wo({key:p,size:n.size,ref_for:!0},e.$attrs,{type:"radio",val:p.value,label:p.label,modelValue:r.control_value,"onUpdate:modelValue":t[2]||(t[2]=w=>r.control_value=w),onClick:t[3]||(t[3]=w=>r.validation.checkValid())}),null,16,["size","val","label","modelValue"]))),128))])):(xe(),We($t,{key:2},[Uo(N("input",Wo({id:e.control_id,ref:"controlEl",class:"form-control",autocomplete:"off"},e.$attrs,{type:"radio",value:n.radioValue,"onUpdate:modelValue":t[4]||(t[4]=p=>r.control_value=p)}),null,16,$L),[[dh,r.control_value]]),e.label?(xe(),We("label",{key:0,for:e.control_id,class:"form-control__label"},dt(e.label),9,UL)):ht("",!0)],64)),N("div",WL,[co(e.$slots,"hint")])]),r.validation.showError.value&&!r.validation.hideValidation.value?(xe(),We("div",GL,dt(r.validation.theErrors.value[0]),1)):ht("",!0)])}var oc=Kt(BL,[["render",YL]]);function fo(){let e={},t={},n={},r={},a={},c={},p={},w={income:{},expenses:{}},_={postalSameAsHome:!1,homeAddress:{},postalAddress:{}},T={},A={},P={},O={familyReference:{},personalReference:{}};return r={branchNumber:"000028",agentType:"StoreAgent",employeeName:"Greg",customerPresent:!0,customerPermission:!0,employeeNumber:"123456"},{origin:r,basicInfo:a,additionalInfo:c,additionalInfoThin:t,employmentInfo:p,financialInfo:w,contactInfo:_,permissions:T,magazines:A,products:P,references:O,continue_idForm:e,continue_otpForm:n}}var jr={basicInfo:{brand:"",idNumber:"Please enter a valid 13 digit South African ID number",title:"",firstName:"Only letters or -",surname:"Only letters or -",cell:`SA mobile number e.g. ${rt.cellHint}`,promo:"",terms:""},originInfo:{customerPermission:"",branchNumber:"Please enter a valid 6 digit Branch
36Number",agentType:"",canvassingAgency:"Canvassing Agency Name: only letters, numbers, spaces or (-)",employeeNumber:"Employee Number: only letters, numbers, (/) or (-), more than 1 character",employeeName:"Employee Name: only letters, spaces or (-), more than 2 characters",customerPresent:""},additionalInformation:{maritalStatus:"",primarySourceIncome:"",ethnicGroup:"This is used for statistical purposes only"},additionalInformationThin:{numberOfDependents:"Number of children and/or other people you're financially responsible for e.g. 2",yearsAtBank:"Number of years at bank e.g. 6",creditCardExpiryYear:"Expiry year of credit card",creditCardExpiryMonth:"Expiry month of credit card"},employmentDetails:{employmentCategory:"Type of industry you work in",companyName:"Name of the company you work for",institution:"Name of the college / university that you attend"},affordability:{salary:"Salary before deductions (incl. medical aid, income tax,UIF, pension) e.g. 8000",otherIncome:"Additional to salary, E.g student or other allowance e.g. 1000",rent:"What you pay for rent monthly e.g. 2000",homeLoan:"What you pay for your home loan monthly e.g. 5000",levyRates:"What you pay for levies / rates & taxes in total e.g. 5000",childSupport:"If your child(ren) does not live with you, how much maintenance do you pay monthly for your child(ren) e.g. 1000",medicalAid:"What do you pay for medical aid monthly e.g. 800",policies:"Include total of life policy, funeral insurance, stokvel and investment contributions e.g. 500",cell:"Your monthly (non contract) mobile expenses e.g. 200",transport:"Your monthly petrol, taxi, bus and train costs e.g. 500",otherExpenses:"e.g. water, electricity, food, clothing, school fees, bank fees, medical expenses.",otherExpensesSub:"<b>Exclude all account payments eg: Clothing/Jewellery/Furniture</b>"},references:{f_relationship:"How are you related e.g. Mother",f_firstName:"Only letters or -",f_lastName:"Only letters or -",f_contactNumber:`Landline or mobile number e.g. ${rt.landlineHint} or ${rt.cellHint}`,p_firstName:"Only letters or -",p_lastName:"Only letters or -",p_contactNumber:`Landline or mobile number e.g. ${rt.landlineHint} or ${rt.cellHint}`},contact:{h_yearsAtCurrentAddress:"Number of years you've lived at this address e.g. 5",homePhone:`How can we reach you at home e.g. ${rt.landlineHint} (landline) or ${rt.cellHint} (mobile)`,workPhone:`How can we reach you at work e.g. ${rt.landlineHint}`,emailAddress:"Please enter valid email address e.g. [email protected]",p_address1:"Road where you live e.g. 340 Voortrekker Road",p_address2:"Suburb you live in e.g. Bellville South",p_suburb:"Suburb / Town you live in e.g. Bellville",p_postalCode:"e.g. 7530",h_address1:"Road where you live e.g. 340 Voortrekker Road",h_address2:"Suburb you live in e.g. Bellville South",h_suburb:"Suburb / Town you live in e.g. Bellville",h_postalCode:"e.g. 7530"},continue:{refNo:"Please enter a valid reference number",idNumber:"Please enter a valid 13 digit South African ID number",otp:"Please enter your One-Time-PIN"}},$r={continue:{refNo:["required",{type:"checkProps",exactLength:6,errorMsg:"Please enter a valid reference number"}],idNumber:["required","idNumber"],otp:["required"]},basicInfo:{brand:["required"],idNumber:["required","idNumber"],title:["required"],firstName:["required",{type:"pattern",pattern:/^[A-Za-z- ]*$/,errorMsg:"Only letters or (-)"}],surname:["required",{type:"checkProps",pattern:/^[A-Za-z- ]*$/,minLength:2,errorMsg:"Only letters or (-)"}],cell:["required",{type:"checkProps",pattern:/^0/,exactType:"number",errorMsg:"Number should begin with a 0"},{type:"checkProps",exactLength:10,exactType:"number",errorMsg:`SA cell number e.g. ${rt.cellHint}`}],promo:[{type:"pattern",pattern:"^[a-zA-Z0-9/-]+$",errorMsg:"only letters, numbers, (/) or (-)"}],terms:[{type:"required",errorMsg:"Please confirm the Terms and Conditions"}]},originInfo:{customerPermission:[{type:"required",errorMsg:"Please confirm that you have the Customer's Permission"}],branchNumber:["required",{type:"checkProps",exactLength:6,exactType:"number",errorMsg:"Please enter a valid 6 digit Branch
36Number"}],agentType:["required"],canvassingAgency:["required",{type:"pattern",pattern:/^[A-Za-z- ]*$/,errorMsg:"Canvassing Agency Name: only letters, numbers, spaces or (-)"},{type:"checkProps",maxLength:30,errorMsg:"Name cannot exceed 30 characters"}],employeeNumber:["required",{type:"checkProps",maxLength:8,minLength:2,errorMsg:"Employee Number: only numbers, more than 1 digit"}],employeeName:["required",{type:"checkProps",maxLength:30,minLength:3,pattern:/^[A-Za-z- ]*$/,errorMsg:"Only letters, spaces or (-), more than 2 characters"}],customerPresent:["required"]},additionalInformation:{maritalStatus:["required"],ethnicGroup:["required"],pipRelationship:["required"]},additionalInformationThin:{numberOfDependents:["required",{type:"checkProps",maxLength:1}],yearsAtBank:["required",{type:"checkProps",maxLength:2}],ccExpiryDateMonth:["required",{type:"checkProps",maxLength:2}],ccExpiryDateYear:["required",{type:"checkProps",maxLength:4}]},employmentDetails:{employmentType:["required"],employmentCategory:["required"],employmentLevel:["required"],studentType:["required"],contractExpiryYear:["required"],contractExpiryMonth:["required"],companyName:["required",{type:"checkProps",maxLength:30,errorMsg:"Max 30 characters"}],institution:["required",{type:"checkProps",maxLength:50,errorMsg:"Max 50 characters"}]},affordability:{primarySourceIncome:["required"],income:[{type:"required",errorMsg:"Please enter a 0 if the income type is not applicable"},{type:"checkProps",maxLength:6,errorMsg:"Amount may not exceed 6 figures"}],expenses:[{type:"required",errorMsg:"Please enter a 0 if the expense is not applicable"},{type:"checkProps",maxLength:6,errorMsg:"Amount may not exceed 6 figures"}],automaticIncreases:["required"]},references:{f_relationship:["required"],f_firstName:["required",{type:"checkProps",pattern:/^[A-Za-z- ]*$/,maxLength:12,errorMsg:"Only letters or (-)"}],f_lastName:["required",{type:"checkProps",pattern:/^[A-Za-z- ]*$/,minLength:2,maxLength:17,errorMsg:"Only letters or (-)"}],f_contactNumber:["required",{type:"checkProps",pattern:/^0/,exactType:"number",errorMsg:"Number should begin with a 0"},{type:"checkProps",exactLength:10,exactType:"number",errorMsg:`How can we contact your reference e.g. ${rt.landlineHint}`}],p_firstName:["required",{type:"checkProps",pattern:/^[A-Za-z- ]*$/,maxLength:12,errorMsg:"Only letters or (-)"}],p_lastName:["required",{type:"checkProps",pattern:/^[A-Za-z- ]*$/,maxLength:17,minLength:2,errorMsg:"Only letters or (-)"}],p_contactNumber:["required",{type:"checkProps",pattern:/^0/,exactType:"number",errorMsg:"Number should begin with a 0"},{type:"checkProps",exactLength:10,exactType:"number",errorMsg:`How can we contact your reference e.g. ${rt.landlineHint}`}]},contact:{homePhone:["required",{type:"checkProps",pattern:/^0/,exactType:"number",errorMsg:"Number should begin with a 0"},{type:"checkProps",exactLength:10,exactType:"number",errorMsg:`How can we reach you at home e.g. ${rt.landlineHint}`}],workPhone:["required",{type:"checkProps",pattern:/^0/,exactType:"number",errorMsg:"Number should begin with a 0"},{type:"checkProps",exactLength:10,exactType:"number",errorMsg:`How can we reach you at work e.g. ${rt.landlineHint}`}],emailAddress:[{type:"email",errorMsg:"Please enter a valid email address e.g. [email protected]"},{type:"checkProps",maxLength:72,errorMsg:"Max 72 characters"}],h_address1:["required",{type:"checkProps",pattern:/^[A-Za-z0-9-. ]*$/,maxLength:30,errorMsg:"Please enter a valid address line 1: less than 30 characters, containing only letters, numbers, (.) or (-)."}],h_address2:[{type:"checkProps",pattern:/^[A-Za-z0-9-. ]*$/,maxLength:30,errorMsg:"Please enter a valid address line 2: less than 30 characters, containing only letters, numbers, (.) or (-)."}],h_suburb:["required",{type:"checkProps",pattern:/^[A-Za-z0-9-. ]*$/,maxLength:22,errorMsg:"Please enter a valid suburb / town / city: less than 22 characters, containing only letters, numbers, (.) or (-)."}],h_postalCode:["required",{type:"checkProps",exactLength:4,errorMsg:"Postal code should be 4 digits"}],h_yearsAtCurrentAddress:["required",{type:"checkProps",maxLength:2,errorMsg:"Only 2 digits allowed"}
36]}};function O1(){const e=p=>{let w=null;return Array.from(document.getElementsByClassName(p)).forEach(_=>{n(_)||(w=_)}),w},t=(p,w)=>{const _=window.scrollY,A=p-_,P=performance.now();function O(B){const z=B-P,U=z/w,J=U<.5?2*U*U:-1+(4-2*U)*U;window.scrollTo(0,_+A*J),z<w&&window.requestAnimationFrame(O)}window.requestAnimationFrame(O)},n=p=>{const w=window.getComputedStyle(p);return w.display==="none"||w.visibility==="hidden"||p.offsetParent===null},r=(p,w,_)=>{if(_<=0)return;let A=(w-p.scrollTop)/_*10;setTimeout(()=>{p.scrollTop=p.scrollTop+A,p.scrollTop!==w&&r(p,w,_-10)},10)};return{getCumulativeOffset:p=>{let w=0;for(;p;)w+=p.offsetTop,p=p.offsetParent;return w},scrollToError:()=>{setTimeout(()=>{r(e("scroll"),e("errorOffset").offsetTop,300)},400)},scrollTo:r,isElementHidden:n,smoothScrollTo:t,getVisibleElementClassName:e}}const XL={key:0},KL={class:"error-box"},QL={__name:"C_Error",props:{errorMessage:String,validationResults:Array},setup(e){const t=e,n=ce(()=>{let a=null;return t.validationResults&&t.validationResults.forEach(c=>{c.message&&(a=c.message)}),a}),r=Ke(null);return ut.on("set-custom-validation-message",a=>{r.value=a,O1().smoothScrollTo(0,500)}),(a,c)=>n.value||e.errorMessage||r.value?(xe(),We("div",XL,[N("div",KL,[r.value?(xe(),We($t,{key:0},[Ze(dt(r.value),1)],64)):n.value?(xe(),We($t,{key:1},[Ze(dt(n.value),1)],64)):e.errorMessage?(xe(),We($t,{key:2},[Ze(dt(e.errorMessage),1)],64)):ht("",!0)])])):ht("",!0)}};var ZL=Kt(QL,[["__scopeId","data-v-6b708ce8"]]);const JL={name:"C_Form",components:{C_Error:ZL},mixins:[FL("form")],props:{validationResults:Array,errorMessage:String},data(){return{controls:[],reseting:!1}},computed:{invalidControls(){return this.controls.filter(e=>!e.valid).filter(e=>!e._isDestroyed)},isValid(){return this.invalidControls.length==0}},watch:{isValid:{handler(e){this.$emit("validity",e)},immediate:!0}},methods:{register(e){this.controls.push(e)},unregister(e){let t=this.controls.indexOf(e);t>=0&&this.controls.splice(t,1)},submit(){return this.onSubmit()},onSubmit(){this.$emit("submit")},reset(){this.reseting=!0,Ai(()=>this.reseting=!1)}}};function eN(e,t,n,r,a,c){const p=ze("C_Error");return xe(),We("div",null,[(xe(),Rt(p,{key:0,"validation-results":n.validationResults,"error-message":n.errorMessage},null,8,["validation-results","error-message"])),a.reseting?ht("",!0):(xe(),We("form",{key:1,class:"form",onSubmit:t[0]||(t[0]=Dx((...w)=>c.onSubmit&&c.onSubmit(...w),["stop","prevent"])),novalidate:""},[co(e.$slots,"default")],32))])}var Po=Kt(JL,[["render",eN]]);let sp,cd=0;const _n=new Array(256);for(let e=0;e<256;e++)_n[e]=(e+256).toString(16).substring(1);const tN=(()=>{const e=typeof crypto!="undefined"?crypto:typeof window!="undefined"?window.crypto||window.msCrypto:void 0;if(e!==void 0){if(e.randomBytes!==void 0)return e.randomBytes;if(e.getRandomValues!==void 0)return t=>{const n=new Uint8Array(t);return e.getRandomValues(n),n}}return t=>{const n=[];for(let r=t;r>0;r--)n.push(Math.floor(Math.random()*256));return n}})(),Tb=4096;function tm(){(sp===void 0||cd+16>Tb)&&(cd=0,sp=tN(Tb));const e=Array.prototype.slice.call(sp,cd,cd+=16);return e[6]=e[6]&15|64,e[8]=e[8]&63|128,_n[e[0]]+_n[e[1]]+_n[e[2]]+_n[e[3]]+"-"+_n[e[4]]+_n[e[5]]+"-"+_n[e[6]]+_n[e[7]]+"-"+_n[e[8]]+_n[e[9]]+"-"+_n[e[10]]+_n[e[11]]+_n[e[12]]+_n[e[13]]+_n[e[14]]+_n[e[15]]}function iN(e){return e==null?null:e}function Eb(e,t){return e==null?t===!0?`f_${tm()}`:null:e}function nN({getValue:e,required:t=!0}={}){if(Eo.value===!0){const n=Ke(e!==void 0?iN(e()):null);return t===!0&&n.value===null&&Rn(()=>{n.value=`f_${tm()}`}),e!==void 0&&Ft(e,r=>{n.value=Eb(r,t)}),n}return e!==void 0?ce(()=>Eb(e(),t)):Ke(`f_${tm()}`)}const Mb=/^on[A-Z]/;function oN(){const{attrs:e,vnode:t}=ri(),n={listeners:Ke({}),attributes:Ke({})};function r(){const a={},c={};for(const p in e)p!=="class"&&p!=="style"&&Mb.test(p)===!1&&(a[p]=e[p]);for(const p in t.props)Mb.test(p)===!0&&(c[p]=t.props[p]);n.attributes.value=a,n.listeners.value=c}return lh(r),r(),n}function rN({validate:e,resetValidation:t,requiresQForm:n}){const r=Pi(nM,!1);if(r!==!1){const{props:a,proxy:c}=ri();Object.assign(c,{validate:e,resetValidation:t}),Ft(()=>a.disable,p=>{p===!0?(typeof t=="function"&&t(),r.unbindComponent(c)):r.bindComponent(c)}),Rn(()=>{a.disable!==!0&&r.bindComponent(c)}),Ci(()=>{a.disable!==!0&&r.unbindComponent(c)})}else n===!0&&console.error("Parent QForm not found on useFormChild()!")}const Pb=/^#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?$/,Ob=/^#[0-9a-fA-F]{4}([0-9a-fA-F]{4})?$/,Ib=/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/,dd=/^rgb\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5])\)$/,hd=/^rgba\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),(0|0\.[0-9]+[1-9]|0\.[1-9]+|1)\)$/,ap={date:e=>/^-?[\d]+\/[0-1]\d\/[0-3]\d$/.test(e),time:e=>/^([0-1]?\d|2[0-3]):[0-5]\d$/.test(e),fulltime:e=>/^([0-1]?\d|2[0-3]):[0-5]\d:[0-5]\d$/.test(e),timeOrFulltime:e=>/^([0-1]?\d|2[0-3]):[0-5]\d(:[0-5]\d)?$/.test(e),email:e=>/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e),hexColor:e=>Pb.test(e),hexaColor:e=>Ob.test(e),hexOrHexaColor:e=>Ib.test(e),rgbColor:e=>dd.test(e),rgbaColor:e=>hd.test(e),rgbOrRgbaColor:e=>dd.test(e)||hd.test(e),hexOrRgbColor:e=>Pb.test(e)||dd.test(e),hexaOrRgbaColor:e=>Ob.test(e)||hd.test(e),anyColor:e=>Ib.test(e)||dd.test(e)||hd.test(e)},sN=[!0,!1,"ondemand"],aN={modelValue:{},error:{type:Boolean,default:null}
36,errorMessage:String,noErrorIcon:Boolean,rules:Array,reactiveRules:Boolean,lazyRules:{type:[Boolean,String],default:!1,validator:e=>sN.includes(e)}};function lN(e,t){const{props:n,proxy:r}=ri(),a=Ke(!1),c=Ke(null),p=Ke(!1);rN({validate:U,resetValidation:z});let w=0,_;const T=ce(()=>n.rules!==void 0&&n.rules!==null&&n.rules.length!==0),A=ce(()=>n.disable!==!0&&T.value===!0&&t.value===!1),P=ce(()=>n.error===!0||a.value===!0),O=ce(()=>typeof n.errorMessage=="string"&&n.errorMessage.length!==0?n.errorMessage:c.value);Ft(()=>n.modelValue,()=>{p.value=!0,A.value===!0&&n.lazyRules===!1&&J()});function B(){n.lazyRules!=="ondemand"&&A.value===!0&&p.value===!0&&J()}Ft(()=>n.reactiveRules,ee=>{ee===!0?_===void 0&&(_=Ft(()=>n.rules,B,{immediate:!0,deep:!0})):_!==void 0&&(_(),_=void 0)},{immediate:!0}),Ft(()=>n.lazyRules,B),Ft(e,ee=>{ee===!0?p.value=!0:A.value===!0&&n.lazyRules!=="ondemand"&&J()});function z(){w++,t.value=!1,p.value=!1,a.value=!1,c.value=null,J.cancel()}function U(ee=n.modelValue){if(n.disable===!0||T.value===!1)return!0;const Y=++w,q=t.value!==!0?()=>{p.value=!0}:()=>{},$=(X,v)=>{X===!0&&q(),a.value=X,c.value=v||null,t.value=!1},G=[];for(let X=0;X<n.rules.length;X++){const v=n.rules[X];let me;if(typeof v=="function"?me=v(ee,ap):typeof v=="string"&&ap[v]!==void 0&&(me=ap[v](ee)),me===!1||typeof me=="string")return $(!0,me),!1;me!==!0&&me!==void 0&&G.push(me)}return G.length===0?($(!1),!0):(t.value=!0,Promise.all(G).then(X=>{if(X===void 0||Array.isArray(X)===!1||X.length===0)return Y===w&&$(!1),!0;const v=X.find(me=>me===!1||typeof me=="string");return Y===w&&$(v!==void 0,v),v===void 0},X=>(Y===w&&(console.error(X),$(!0)),!1)))}const J=Lm(U,0);return Ci(()=>{_!==void 0&&_(),J.cancel()}),Object.assign(r,{resetValidation:z,validate:U}),Bl(r,"hasError",()=>P.value),{isDirtyModel:p,hasRules:T,hasError:P,errorMessage:O,validate:U,resetValidation:z}}function zu(e){return e!=null&&(""+e).length!==0}const Th={...ka,...aN,label:String,stackLabel:Boolean,hint:String,hideHint:Boolean,prefix:String,suffix:String,labelColor:String,color:String,bgColor:String,filled:Boolean,outlined:Boolean,borderless:Boolean,standout:[Boolean,String],square:Boolean,loading:Boolean,labelSlot:Boolean,bottomSlots:Boolean,hideBottomSpace:Boolean,rounded:Boolean,dense:Boolean,itemAligned:Boolean,counter:Boolean,clearable:Boolean,clearIcon:String,disable:Boolean,readonly:Boolean,autofocus:Boolean,for:String,maxlength:[Number,String]},Km=["update:modelValue","clear","focus","blur","popupShow","popupHide"];function Qm({requiredForAttr:e=!0,tagProp:t}={}){const{props:n,proxy:r}=ri(),a=Aa(n,r.$q),c=nN({required:e,getValue:()=>n.for});return{requiredForAttr:e,tag:t===!0?ce(()=>n.tag):{value:"label"},isDark:a,editable:ce(()=>n.disable!==!0&&n.readonly!==!0),innerLoading:Ke(!1),focused:Ke(!1),hasPopupOpen:!1,splitAttrs:oN(),targetUid:c,rootRef:Ke(null),targetRef:Ke(null),controlRef:Ke(null)}}function Zm(e){const{props:t,emit:n,slots:r,attrs:a,proxy:c}=ri(),{$q:p}=c;let w=null;e.hasValue===void 0&&(e.hasValue=ce(()=>zu(t.modelValue))),e.emitValue===void 0&&(e.emitValue=Ae=>{n("update:modelValue",Ae)}),e.controlEvents===void 0&&(e.controlEvents={onFocusin:re,onFocusout:de}),Object.assign(e,{clearValue:Oe,onControlFocusin:re,onControlFocusout:de,focus:v}),e.computedCounter===void 0&&(e.computedCounter=ce(()=>{if(t.counter!==!1){const Ae=typeof t.modelValue=="string"||typeof t.modelValue=="number"?(""+t.modelValue).length:Array.isArray(t.modelValue)===!0?t.modelValue.length:0,Ve=t.maxlength!==void 0?t.maxlength:t.maxValues;return Ae+(Ve!==void 0?" / "+Ve:"")}}));const{isDirtyModel:_,hasRules:T,hasError:A,errorMessage:P,resetValidation:O}=lN(e.focused,e.innerLoading),B=e.floatingLabel!==void 0?ce(()=>t.stackLabel===!0||e.focused.value===!0||e.floatingLabel.value===!0):ce(()=>t.stackLabel===!0||e.focused.value===!0||e.hasValue.value===!0),z=ce(()=>t.bottomSlots===!0||t.hint!==void 0||T.value===!0||t.counter===!0||t.error!==null),U=ce(()=>t.filled===!0?"filled":t.outlined===!0?"outlined":t.borderless===!0?"borderless":t.standout?"standout":"standard"),J=ce(()=>`q-field row no-wrap items-start q-field--${U.value}`+(e.fieldClass!==void 0?` ${e.fieldClass.value}`:"")+(t.rounded===!0?" q-field--rounded":"")+(t.square===!0?" q-field--square":"")+(B.value===!0?" q-field--float":"")+(Y.value===!0?" q-field--labeled":"")+(t.dense===!0?" q-field--dense":"")+(t.itemAligned===!0?" q-field--item-aligned q-item-type":"")+(e.isDark.value===!0?" q-field--dark":"")+(e.getControl===void 0?" q-field--auto-height":"")+(e.focused.value===!0?" q-field--focused":"")+(A.value===!0?" q-field--error":"")+(A.value===!0||e.focused.value===!0?" q-field--highlighted":"")+(t.hideBottomSpace!==!0&&z.value===!0?" q-field--with-bottom":"")+(t.disable===!0?" q-field--disabled":t.readonly===!0?" q-field--readonly":"")),ee=ce(()=>"q-field__control relative-position row no-wrap"+(t.bgColor!==void 0?` bg-${t.bgColor}`:"")+(A.value===!0?" text-negative":typeof t.standout=="string"&&t.standout.length!==0&&e.focused.value===!0?` ${t.standout}`:t.color!==void 0?` text-${t.color}`:"")),Y=ce(()=>t.labelSlot===!0||t.label!==void 0),q=ce(()=>"q-field__label no-pointer-events absolute ellipsis"+(t.labelColor!==void 0&&A.value!==!0?` text-${t.labelColor}`:"")),$=ce(()=>({id:e.targetUid.value,editable:e.editable.value,focused:e.focused.value,floatingLabel:B.value,modelValue:t.modelValue,emitValue:e.emitValue})),G=ce(()=>{const Ae={};return e.targetUid.value&&(Ae.for=e.targetUid.value),t.disable===!0&&(Ae["aria-disabled"]="true"),Ae});function X(){const Ae=document.activeElement;let Ve=e.targetRef!==void 0&&e.targetRef.value;Ve&&(Ae===null||Ae.id!==e.targetUid.value)&&(Ve.hasAttribute("tabindex")===!0||(Ve=Ve.querySelector("[tabindex]")),Ve&&Ve!==Ae&&Ve.focus({preventScroll:!0}))}function v(){Sh(X)}function me(){eL(X);const Ae=document.activeElement;Ae!==null&&e.rootRef.value.contains(Ae)&&Ae.blur()}function re(Ae){w!==null&&(clearTimeout(w),w=null),e.editable.value===!0&&e.focused.value===!1&&(e.focused.value=!0,n("focus",Ae))}function de(Ae,Ve){w!==null&&clearTimeout(w),w=setTimeout(()=>{w=null,!(document.hasFocus()===!0&&(e.hasPopupOpen===!0||e.controlRef===void 0||e.controlRef.value===null||e.controlRef.value.contains(document.activeElement)!==!1))&&(e.focused.value===!0&&(e.focused.value=!1,n("blur",Ae)),Ve!==void 0&&Ve())})}function Oe(Ae){Zi(Ae),p.platform.is.mobile!==!0?(e.targetRef!==void 0&&e.targetRef.value||e.rootRef.value).focus():e.rootRef.value.contains(document.activeElement)===!0&&document.activeElement.blur(),t.type==="file"&&(e.inputRef.value.value=null),n("update:modelValue",null),n("clear",t.modelValue),Ai(()=>{const Ve=_.value;O(),_.value=Ve})}function oe(){const Ae=[];return r.prepend!==void 0&&Ae.push(Se("div",{class:"q-field__prepend q-field__marginal row no-wrap items-center",key:"prepend",onClick:$o},r.prepend())),Ae.push(Se("div",{class:"q-field__control-container col relative-position row no-wrap q-anchor--skip"},Ee())),A.value===!0&&t.noErrorIcon===!1&&Ae.push(Je("error",[Se(To,{name:p.iconSet.field.error,color:"negative"})])),t.loading===!0||e.innerLoading.value===!0?Ae.push(Je("inner-loading-append",r.loading!==void 0?r.loading():[Se(wh,{color:t.color})])):t.clearable===!0&&e.hasValue.value===!0&&e.editable.value===!0&&Ae.push(Je("inner-clearable-append",[Se(To,{class:"q-field__focusable-action",tag:"button",name:t.clearIcon||p.iconSet.field.clear,tabindex:0,type:"button","aria-hidden":null,role:null,onClick:Oe})])),r.append!==void 0&&Ae.push(Se("div",{class:"q-field__append q-field__marginal row no-wrap items-center",key:"append",onClick:$o},r.append())),e.getInnerAppend!==void 0&&Ae.push(Je("inner-append",e.getInnerAppend())),e.getControlChild!==void 0&&Ae.push(e.getControlChild()),Ae}function Ee(){const Ae=[];return t.prefix!==void 0&&t.prefix!==null&&Ae.push(Se("div",{class:"q-field__prefix no-pointer-events row items-center"},t.prefix)),e.getShadowControl!==void 0&&e.hasShadow.value===!0&&Ae.push(e.getShadowControl()),e.getControl!==void 0?Ae.push(e.getControl()):r.rawControl!==void 0?Ae.push(r.rawControl()):r.control!==void 0&&Ae.push(Se("div",{ref:e.targetRef,class:"q-field__native row",tabindex:-1,...e.splitAttrs.attributes.value,"data-autofocus":t.autofocus===!0||void 0},r.control($.value))),Y.value===!0&&Ae.push(Se("div",{class:q.value},lo(r.label,t.label))),t.suffix!==void 0&&t.suffix!==null&&Ae.push(Se("div",{class:"q-field__suffix no-pointer-events row items-center"},t.suffix)),Ae.concat(lo(r.default))}function Pe(){let Ae,Ve;A.value===!0?P.value!==null?(Ae=[Se("div",{role:"alert"},P.value)],Ve=`q--slot-error-${P.value}`):(Ae=lo(r.error),Ve="q--slot-error"):(t.hideHint!==!0||e.focused.value===!0)&&(t.hint!==void 0?(Ae=[Se("div",t.hint)],Ve=`q--slot-hint-${t.hint}`):(Ae=lo(r.hint),Ve="q--slot-hint"));const Mt=t.counter===!0||r.counter!==void 0;if(t.hideBottomSpace===!0&&Mt===!1&&Ae===void 0)return;const Et=Se("div",{key:Ve,class:"q-field__messages col"},Ae);return Se("div",{class:"q-field__bottom row items-start q-field__bottom--"+(t.hideBottomSpace!==!0?"animated":"stale"),onClick:$o},[t.hideBottomSpace===!0?Et:Se(qr,{name:"q-transition--field-message"},()=>Et),Mt===!0?Se("div",{class:"q-field__counter"},r.counter!==void 0?r.counter():e.computedCounter.value):null])}function Je(Ae,Ve){return Ve===null?null:Se("div",{key:Ae,class:"q-field__append q-field__marginal row no-wrap items-center q-anchor--skip"},Ve)}let Fe=!1;return Fl(()=>{Fe=!0}),sh(()=>{Fe===!0&&t.autofocus===!0&&c.focus()}),t.autofocus===!0&&Rn(()=>{c.focus()}),Ci(()=>{w!==null&&clearTimeout(w)}),Object.assign(c,{focus:v,blur:me}),function(){const Ve=e.getControl===void 0&&r.control===void 0?{...e.splitAttrs.attributes.value,"data-autofocus":t.autofocus===!0||void 0,...G.value}:G.value;return Se(e.tag.value,{ref:e.rootRef,class:[J.value,a.class],style:a.style,...Ve},[r.before!==void 0?Se("div",{class:"q-field__before q-field__marginal row no-wrap items-center",onClick:$o},r.before()):null,Se("div",{class:"q-field__inner relative-position col self-stretch"},[Se("div",{ref:e.controlRef,class:ee.value,tabindex:-1,...e.controlEvents},oe()),z.value===!0?Pe():null]),r.after!==void 0?Se("div",{class:"q-field__after q-field__marginal row no-wrap items-center",onClick:$o},r.after()):null])}}var uN=$i({name:"QField",inheritAttrs:!1,props:{...Th,tag:{type:String,default:"label"}},emits:Km,setup(){return Zm(Qm({requiredForAttr:!1,tagProp:!0}))}});const cN={xs:8,sm:10,md:14,lg:20,xl:24};var dN=$i({name:"QChip",props:{...ka,...Hl,dense:Boolean,icon:String,iconRight:String,iconRemove:String,iconSelected:String,label:[String,Number],color:String,textColor:String,modelValue:{type:Boolean,default:!0},selected:{type:Boolean,default:null},square:Boolean,outline:Boolean,clickable:Boolean,removable:Boolean,removeAriaLabel:String,tabindex:[String,Number],disable:Boolean,ripple:{type:[Boolean,Object],default:!0}},emits:["update:modelValue","update:selected","remove","click"],setup(e,{slots:t,emit:n}){const{proxy:{$q:r}}=ri(),a=Aa(e,r),c=zl(e,cN),p=ce(()=>e.selected===!0||e.icon!==void 0),w=ce(()=>e.selected===!0?e.iconSelected||r.iconSet.chip.selected:e.icon),_=ce(()=>e.iconRemove||r.iconSet.chip.remove),T=ce(()=>e.disable===!1&&(e.clickable===!0||e.selected!==null)),A=ce(()=>{const J=e.outline===!0&&e.color||e.textColor;return"q-chip row inline no-wrap items-center"+(e.outline===!1&&e.color!==void 0?` bg-${e.color}`:"")+(J?` text-${J} q-chip--colored`:"")+(e.disable===!0?" disabled":"")+(e.dense===!0?" q-chip--dense":"")+(e.outline===!0?" q-chip--outline":"")+(e.selected===!0?" q-chip--selected":"")+(T.value===!0?" q-chip--clickable cursor-pointer non-selectable q-hoverable":"")+(e.square===!0?" q-chip--square":"")+(a.value===!0?" q-chip--dark q-d
36ark":"")}),P=ce(()=>{const J=e.disable===!0?{tabindex:-1,"aria-disabled":"true"}:{tabindex:e.tabindex||0},ee={...J,role:"button","aria-hidden":"false","aria-label":e.removeAriaLabel||r.lang.label.remove};return{chip:J,remove:ee}});function O(J){J.keyCode===13&&B(J)}function B(J){e.disable||(n("update:selected",!e.selected),n("click",J))}function z(J){(J.keyCode===void 0||J.keyCode===13)&&(Zi(J),e.disable===!1&&(n("update:modelValue",!1),n("remove")))}function U(){const J=[];T.value===!0&&J.push(Se("div",{class:"q-focus-helper"})),p.value===!0&&J.push(Se(To,{class:"q-chip__icon q-chip__icon--left",name:w.value}));const ee=e.label!==void 0?[Se("div",{class:"ellipsis"},[e.label])]:void 0;return J.push(Se("div",{class:"q-chip__content col row no-wrap items-center q-anchor--skip"},jw(t.default,ee))),e.iconRight&&J.push(Se(To,{class:"q-chip__icon q-chip__icon--right",name:e.iconRight})),e.removable===!0&&J.push(Se(To,{class:"q-chip__icon q-chip__icon--remove cursor-pointer",name:_.value,...P.value.remove,onClick:z,onKeyup:z})),J}return()=>{if(e.modelValue===!1)return;const J={class:A.value,style:c.value};return T.value===!0&&Object.assign(J,P.value.chip,{onClick:B,onKeyup:O}),TI("div",J,U(),"ripple",e.ripple!==!1&&e.disable!==!0,()=>[[Yw,e.ripple]])}}}),hN=$i({name:"QItemLabel",props:{overline:Boolean,caption:Boolean,header:Boolean,lines:[Number,String]},setup(e,{slots:t}){const n=ce(()=>parseInt(e.lines,10)),r=ce(()=>"q-item__label"+(e.overline===!0?" q-item__label--overline text-overline":"")+(e.caption===!0?" q-item__label--caption text-caption":"")+(e.header===!0?" q-item__label--header":"")+(n.value===1?" ellipsis":"")),a=ce(()=>e.lines!==void 0&&n.value>1?{overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":n.value}:null);return()=>Se("div",{style:a.value,class:r.value},lo(t.default))}});function fN(){if(window.getSelection!==void 0){const e=window.getSelection();e.empty!==void 0?e.empty():e.removeAllRanges!==void 0&&(e.removeAllRanges(),Rd.is.mobile!==!0&&e.addRange(document.createRange()))}else document.selection!==void 0&&document.selection.empty()}const pN={target:{default:!0},noParentEvent:Boolean,contextMenu:Boolean};function mN({showing:e,avoidEmit:t,configureAnchorEl:n}){const{props:r,proxy:a,emit:c}=ri(),p=Ke(null);let w=null;function _(B){return p.value===null?!1:B===void 0||B.touches===void 0||B.touches.length<=1}const T={};n===void 0&&(Object.assign(T,{hide(B){a.hide(B)},toggle(B){a.toggle(B),B.qAnchorHandled=!0},toggleKey(B){va(B,13)===!0&&T.toggle(B)},contextClick(B){a.hide(B),$o(B),Ai(()=>{a.show(B),B.qAnchorHandled=!0})},prevent:$o,mobileTouch(B){if(T.mobileCleanup(B),_(B)!==!0)return;a.hide(B),p.value.classList.add("non-selectable");const z=B.target;Np(T,"anchor",[[z,"touchmove","mobileCleanup","passive"],[z,"touchend","mobileCleanup","passive"],[z,"touchcancel","mobileCleanup","passive"],[p.value,"contextmenu","prevent","notPassive"]]),w=setTimeout(()=>{w=null,a.show(B),B.qAnchorHandled=!0},300)},mobileCleanup(B){p.value.classList.remove("non-selectable"),w!==null&&(clearTimeout(w),w=null),e.value===!0&&B!==void 0&&fN()}}),n=function(B=r.contextMenu){if(r.noParentEvent===!0||p.value===null)return;let z;B===!0?a.$q.platform.is.mobile===!0?z=[[p.value,"touchstart","mobileTouch","passive"]]:z=[[p.value,"mousedown","hide","passive"],[p.value,"contextmenu","contextClick","notPassive"]]:z=[[p.value,"click","toggle","passive"],[p.value,"keyup","toggleKey","passive"]],Np(T,"anchor",z)});function A(){Wx(T,"anchor")}
36function P(B){for(p.value=B;p.value.classList.contains("q-anchor--skip");)p.value=p.value.parentNode;n()}function O(){if(r.target===!1||r.target===""||a.$el.parentNode===null)p.value=null;else if(r.target===!0)P(a.$el.parentNode);else{let B=r.target;if(typeof r.target=="string")try{B=document.querySelector(r.target)}catch{B=void 0}B!=null?(p.value=B.$el||B,n()):(p.value=null,console.error(`Anchor: target "${r.target}" not found`))}}return Ft(()=>r.contextMenu,B=>{p.value!==null&&(A(),n(B))}),Ft(()=>r.target,()=>{p.value!==null&&A(),O()}),Ft(()=>r.noParentEvent,B=>{p.value!==null&&(B===!0?A():n())}),Rn(()=>{O(),t!==!0&&r.modelValue===!0&&p.value===null&&c("update:modelValue",!1)}),Ci(()=>{w!==null&&clearTimeout(w),A()}),{anchorEl:p,canShow:_,anchorEvents:T}}function gN(e,t){const n=Ke(null);let r;function a(w,_){const T=`${_!==void 0?"add":"remove"}EventListener`,A=_!==void 0?_:r;w!==window&&w[T]("scroll",A,vn.passive),window[T]("scroll",A,vn.passive),r=_}function c(){n.value!==null&&(a(n.value),n.value=null)}const p=Ft(()=>e.noParentEvent,()=>{n.value!==null&&(c(),t())});return Ci(p),{localScrollTarget:n,unconfigureScrollTarget:c,changeScrollEvent:a}}const{notPassiveCapture:Ud}=vn,fa=[];function Wd(e){const t=e.target;if(t===void 0||t.nodeType===8||t.classList.contains("no-pointer-events")===!0)return;let n=Mu.length-1;for(;n>=0;){const r=Mu[n].$;if(r.type.name==="QTooltip"){n--;continue}if(r.type.name!=="QDialog")break;if(r.props.seamless!==!0)return;n--}for(let r=fa.length-1;r>=0;r--){const a=fa[r];if((a.anchorEl.value===null||a.anchorEl.value.contains(t)===!1)&&(t===document.body||a.innerRef.value!==null&&a.innerRef.value.contains(t)===!1))e.qClickOutside=!0,a.onClickOutside(e);else return}}function yN(e){fa.push(e),fa.length===1&&(document.addEventListener("mousedown",Wd,Ud),document.addEventListener("touchstart",Wd,Ud))}function Lb(e){const t=fa.findIndex(n=>n===e);t!==-1&&(fa.splice(t,1),fa.length===0&&(document.removeEventListener("mousedown",Wd,Ud),document.removeEventListener("touchstart",Wd,Ud)))}let Nb,Rb;function Fb(e){const t=e.split(" ");return t.length!==2?!1:["top","center","bottom"].includes(t[0])!==!0?(console.error("Anchor/Self position must start with one of top/center/bottom"),!1):["left","middle","right","start","end"].includes(t[1])!==!0?(console.error("Anchor/Self position must end with one of left/middle/right/start/end"),!1):!0}function vN(e){return e?!(e.length!==2||typeof e[0]!="number"||typeof e[1]!="number"):!0}const im={"start#ltr":"left","start#rtl":"right","end#ltr":"right","end#rtl":"left"};["left","middle","right"].forEach(e=>{im[`${e}#ltr`]=e,im[`${e}#rtl`]=e});function Db(e,t){const n=e.split(" ");return{vertical:n[0],horizontal:im[`${n[1]}#${t===!0?"rtl":"ltr"}`]}}function bN(e,t){let{top:n,left:r,right:a,bottom:c,width:p,height:w}=e.getBoundingClientRect();return t!==void 0&&(n-=t[1],r-=t[0],c+=t[1],a+=t[0],p+=t[0],w+=t[1]),{top:n,bottom:c,height:w,left:r,right:a,width:p,middle:r+(a-r)/2,center:n+(c-n)/2}}function xN(e,t,n){let{top:r,left:a}=e.getBoundingClientRect();return r+=t.top,a+=t.left,n!==void 0&&(r+=n[1],a+=n[0]),{top:r,bottom:r+1,height:1,left:a,right:a+1,width:1,middle:a,center:r}}function wN(e,t){return{top:0,center:t/2,bottom:t,left:0,middle:e/2,right:e}}function Bb(e,t,n,r){return{top:e[n.vertical]-t[r.vertical],left:e[n.horizontal]-t[r.horizontal]}}function I1(e,t=0){if(e.targetEl===null||e.anchorEl===null||t>5)return;if(e.targetEl.offsetHeight===0||e.targetEl.offsetWidth===0){setTimeout(()=>{I1(e,t+1)},10);return}const{targetEl:n,offset:r,anchorEl:a,anchorOrigin:c,selfOrigin:p,absoluteOffset:w,fit:_,cover:T,maxHeight:A,maxWidth:P}=e;if(rn.is.ios===!0&&window.visualViewport!==void 0){const X=document.body.style,{offsetLeft:v,offsetTop:me}=window.visualViewport;v!==Nb&&(X.setProperty("--q-pe-left",v+"px"),Nb=v),me!==Rb&&(X.setProperty("--q-pe-top",me+"px"),Rb=me)}const{scrollLeft:O,scrollTop:B}=n,z=w===void 0?bN(a,T===!0?[0,0]:r):xN(a,w,r);Object.assign(n.style,{top:0,left:0,minWidth:null,minHeight:null,maxWidth:P||"100vw",maxHeight:A||"100vh",visibility:"visible"});const{offsetWidth:U,offsetHeight:J}=n,{elWidth:ee,elHeight:Y}=_===!0||T===!0?{elWidth:Math.max(z.width,U),elHeight:T===!0?Math.max(z.height,J):J}:{elWidth:U,elHeight:J};let q={maxWidth:P,maxHeight:A};
36(_===!0||T===!0)&&(q.minWidth=z.width+"px",T===!0&&(q.minHeight=z.height+"px")),Object.assign(n.style,q);const $=wN(ee,Y);let G=Bb(z,$,c,p);if(w===void 0||r===void 0)lp(G,z,$,c,p);else{const{top:X,left:v}=G;lp(G,z,$,c,p);let me=!1;if(G.top!==X){me=!0;const re=2*r[1];z.center=z.top-=re,z.bottom-=re+2}if(G.left!==v){me=!0;const re=2*r[0];z.middle=z.left-=re,z.right-=re+2}me===!0&&(G=Bb(z,$,c,p),lp(G,z,$,c,p))}q={top:G.top+"px",left:G.left+"px"},G.maxHeight!==void 0&&(q.maxHeight=G.maxHeight+"px",z.height>G.maxHeight&&(q.minHeight=q.maxHeight)),G.maxWidth!==void 0&&(q.maxWidth=G.maxWidth+"px",z.width>G.maxWidth&&(q.minWidth=q.maxWidth)),Object.assign(n.style,q),n.scrollTop!==B&&(n.scrollTop=B),n.scrollLeft!==O&&(n.scrollLeft=O)}function lp(e,t,n,r,a){const c=n.bottom,p=n.right,w=xd(),_=window.innerHeight-w,T=document.body.clientWidth;if(e.top<0||e.top+c>_)if(a.vertical==="center")e.top=t[r.vertical]>_/2?Math.max(0,_-c):0,e.maxHeight=Math.min(c,_);else if(t[r.vertical]>_/2){const A=Math.min(_,r.vertical==="center"?t.center:r.vertical===a.vertical?t.bottom:t.top);e.maxHeight=Math.min(c,A),e.top=Math.max(0,A-c)}else e.top=Math.max(0,r.vertical==="center"?t.center:r.vertical===a.vertical?t.top:t.bottom),e.maxHeight=Math.min(c,_-e.top);if(e.left<0||e.left+p>T)if(e.maxWidth=Math.min(p,T),a.horizontal==="middle")e.left=t[r.horizontal]>T/2?Math.max(0,T-p):0;else if(t[r.horizontal]>T/2){const A=Math.min(T,r.horizontal==="middle"?t.middle:r.horizontal===a.horizontal?t.right:t.left);e.maxWidth=Math.min(p,A),e.left=Math.max(0,A-e.maxWidth)}else e.left=Math.max(0,r.horizontal==="middle"?t.middle:r.horizontal===a.horizontal?t.left:t.right),e.maxWidth=Math.min(p,T-e.left)}var SN=$i({name:"QMenu",inheritAttrs:!1,props:{...pN,...o1,...ka,...a1,persistent:Boolean,autoClose:Boolean,separateClosePopup:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,fit:Boolean,cover:Boolean,square:Boolean,anchor:{type:String,validator:Fb},self:{type:String,validator:Fb},offset:{type:Array,validator:vN},scrollTarget:{default:void 0},touchPosition:Boolean,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null}},emits:[...r1,"click","escapeKey"],setup(e,{slots:t,emit:n,attrs:r}){let a=null,c,p,w;const _=ri(),{proxy:T}=_,{$q:A}=T,P=Ke(null),O=Ke(!1),B=ce(()=>e.persistent!==!0&&e.noRouteDismiss!==!0),z=Aa(e,A),{registerTick:U,removeTick:J}=n1(),{registerTimeout:ee}=i1(),{transitionProps:Y,transitionStyle:q}=l1(e),{localScrollTarget:$,changeScrollEvent:G,unconfigureScrollTarget:X}=gN(e,ft),{anchorEl:v,canShow:me}=mN({showing:O}),{hide:re}=s1({showing:O,canShow:me,handleShow:Et,handleHide:Te,hideOnRouteChange:B,processOnMount:!0}),{showPortal:de,hidePortal:Oe,renderPortal:oe}=d1(_,P,Ye,"menu"),Ee={anchorEl:v,innerRef:P,onClickOutside(ke){if(e.persistent!==!0&&O.value===!0)return re(ke),(ke.type==="touchstart"||ke.target.classList.contains("q-dialog__backdrop"))&&Zi(ke),!0}},Pe=ce(()=>Db(e.anchor||(e.cover===!0?"center middle":"bottom start"),A.lang.rtl)),Je=ce(()=>e.cover===!0?Pe.value:Db(e.self||"top start",A.lang.rtl)),Fe=ce(()=>(e.square===!0?" q-menu--square":"")+(z.value===!0?" q-menu--dark q-dark":"")),Ae=ce(()=>e.autoClose===!0?{onClick:Pt}:{}),Ve=ce(()=>O.value===!0&&e.persistent!==!0);Ft(Ve,ke=>{ke===!0?(g1(Ge),yN(Ee)):(Hd(Ge),Lb(Ee))});function Mt(){Sh(()=>{let ke=P.value;ke&&ke.contains(document.activeElement)!==!0&&(ke=ke.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||ke.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||ke.querySelector("[autofocus], [data-autofocus]")||ke,ke.focu
36s({preventScroll:!0}))})}function Et(ke){if(a=e.noRefocus===!1?document.activeElement:null,v1(jt),de(),ft(),c=void 0,ke!==void 0&&(e.touchPosition||e.contextMenu)){const nt=Ux(ke);if(nt.left!==void 0){const{top:Ut,left:tt}=v.value.getBoundingClientRect();c={left:nt.left-tt,top:nt.top-Ut}}}p===void 0&&(p=Ft(()=>A.screen.width+"|"+A.screen.height+"|"+e.self+"|"+e.anchor+"|"+A.lang.rtl,ge)),e.noFocus!==!0&&document.activeElement.blur(),U(()=>{ge(),e.noFocus!==!0&&Mt()}),ee(()=>{A.platform.is.ios===!0&&(w=e.autoClose,P.value.click()),ge(),de(!0),n("show",ke)},e.transitionDuration)}function Te(ke){J(),Oe(),ve(!0),a!==null&&(ke===void 0||ke.qClickOutside!==!0)&&(((ke&&ke.type.indexOf("key")===0?a.closest('[tabindex]:not([tabindex^="-"])'):void 0)||a).focus(),a=null),ee(()=>{Oe(!0),n("hide",ke)},e.transitionDuration)}function ve(ke){c=void 0,p!==void 0&&(p(),p=void 0),(ke===!0||O.value===!0)&&(Xp(jt),X(),Lb(Ee),Hd(Ge)),ke!==!0&&(a=null)}function ft(){(v.value!==null||e.scrollTarget!==void 0)&&($.value=h1(v.value,e.scrollTarget),G($.value,ge))}function Pt(ke){w!==!0?(nL(T,ke),n("click",ke)):w=!1}function jt(ke){Ve.value===!0&&e.noFocus!==!0&&Gw(P.value,ke.target)!==!0&&Mt()}function Ge(ke){n("escapeKey"),re(ke)}function ge(){I1({targetEl:P.value,offset:e.offset,anchorEl:v.value,anchorOrigin:Pe.value,selfOrigin:Je.value,absoluteOffset:c,fit:e.fit,cover:e.cover,maxHeight:e.maxHeight,maxWidth:e.maxWidth})}function Ye(){return Se(qr,Y.value,()=>O.value===!0?Se("div",{role:"menu",...r,ref:P,tabindex:-1,class:["q-menu q-position-engine scroll"+Fe.value,r.class],style:[r.style,q.value],...Ae.value},lo(t.default)):null)}return Ci(ve),Object.assign(T,{focus:Mt,updatePosition:ge}),oe}});let Gd=!1;{const e=document.createElement("div");e.setAttribute("dir","rtl"),Object.assign(e.style,{width:"1px",height:"1px",overflow:"auto"});const t=document.createElement("div");Object.assign(t.style,{width:"1000px",height:"1px"}),document.body.appendChild(e),e.appendChild(t),e.scrollLeft=-1e3,Gd=e.scrollLeft>=0,e.remove()}const zo=1e3,_N=["start","center","end","start-force","center-force","end-force"],L1=Array.prototype.filter,CN=window.getComputedStyle(document.body).overflowAnchor===void 0?Ls:function(e,t){e!==null&&(e._qOverflowAnimationFrame!==void 0&&cancelAnimationFrame(e._qOverflowAnimationFrame),e._qOverflowAnimationFrame=requestAnimationFrame(()=>{if(e===null)return;e._qOverflowAnimationFrame=void 0;const n=e.children||[];L1.call(n,a=>a.dataset&&a.dataset.qVsAnchor!==void 0).forEach(a=>{delete a.dataset.qVsAnchor});const r=n[t];r&&r.dataset&&(r.dataset.qVsAnchor="")}))};function wl(e,t){return e+t}function up(e,t,n,r,a,c,p,w){const _=e===window?document.scrollingElement||document.documentElement:e,T=a===!0?"offsetWidth":"offsetHeight",A={scrollStart:0,scrollViewSize:-p-w,scrollMaxSize:0,offsetStart:-p,offsetEnd:-w};if(a===!0?(e===window?(A.scrollStart=window.pageXOffset||window.scrollX||document.body.scrollLeft||0,A.scrollViewSize+=document.documentElement.clientWidth):(A.scrollStart=_.scrollLeft,A.scrollViewSize+=_.clientWidth),A.scrollMaxSize=_.scrollWidth,c===!0&&(A.scrollStart=(Gd===!0?A.scrollMaxSize-A.scrollViewSize:0)-A.scrollStart)):(e===window?(A.scrollStart=window.pageYOffset||window.scrollY||document.body.scrollTop||0,A.scrollViewSize+=document.documentElement.clientHeight):(A.scrollStart=_.scrollTop,A.scrollViewSize+=_.clientHeight),A.scrollMaxSize=_.scrollHeight),n!==null)for(let P=n.previousElementSibling;P!==null;P=P.previousElementSibling)P.classList.contains("q-virtual-scroll--skip")===!1&&(A.offsetStart+=P[T]);if(r!==null)for(let P=r.nextElementSibling;P!==null;P=P.nextElementSibling)P.classList.contains("q-virtual-scroll--skip")===!1&&(A.offsetEnd+=P[T]);if(t!==e){const P=_.getBoundingClientRect(),O=t.getBoundingClientRect();a===!0?(A.offsetStart+=O.left-P.left,A.offsetEnd-=O.width):(A.offsetStart+=O.top-P.top,A.offsetEnd-=O.height),e!==window&&(A.offsetStart+=A.scrollStart),A.offsetEnd+=A.scrollMaxSize-A.offsetStart}return A}function Vb(e,t,n,r){t==="end"&&(t=(e===window?document.body:e)[n===!0?"scrollWidth":"scrollHeight"]),e===window?n===!0?(r===!0&&(t=(Gd===!0?document.body.scrollWidth-document.documentElement.clientWidth:0)-t),window.scrollTo(t,window.pageYOffset||window.scrollY||document.body.scrollTop||0)):window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,t):n===!0?(r===!0&&(t=(Gd===!0?e.scrollWidth-e.offsetWidth:0)-t),e.scrollLeft=t):e.scrollTop=t}function gu(e,t,n,r){if(n>=r)return 0;const a=t.length,c=Math.floor(n/zo),p=Math.floor((r-1)/zo)+1;let w=e.slice(c,p).reduce(wl,0);return n%zo!==0&&(w-=t.slice(c*zo,n).reduce(wl,0)),r%zo!==0&&r!==a&&(w-=t.slice(r,p*zo).reduce(wl,0)),w}const kN={virtualScrollSliceSize:{type:[Number,String],default:null},virtualScrollSliceRatioBefore:{type:[Number,String],default:1},virtualScrollSliceRatioAfter:{type:[Number,String],default:1},virtualScrollItemSize:{type:[Number,String],default:24},virtualScrollStickySizeStart:{type:[Number,String],default:0},virtualScrollStickySizeEnd:{type:[Number,String],default:0},tableColspan:[Number,String]},AN={virtualScrollHorizontal:Boolean,onVirtualScroll:Function,...kN};function TN({virtualScrollLength:e,getVirtualScrollTarget:t,getVirtualScrollEl:n,virtualScrollItemSizeComputed:r}){const a=ri(),{props:c,emit:p,proxy:w}=a,{$q:_}=w;let T,A,P,O=[],B;const z=Ke(0),U=Ke(0),J=Ke({}),ee=Ke(null),Y=Ke(null),q=Ke(null),$=Ke({from:0,to:0}),G=ce(()=>c.tableColspan!==void 0?c.tableColspan:100);r===void 0&&(r=ce(()=>c.virtualScrollItemSize));const X=ce(()=>r.value+";"+c.virtualScrollHorizontal),v=ce(()=>X.value+";"+c.virtualScrollSliceRatioBefore+";"+c.virtualScrollSliceRatioAfter);Ft(v,()=>{Fe()}),Ft(X,me);function me(){Je(A,!0)}function re(Te){Je(Te===void 0?A:Te)}
36function de(Te,ve){const ft=t();if(ft==null||ft.nodeType===8)return;const Pt=up(ft,n(),ee.value,Y.value,c.virtualScrollHorizontal,_.lang.rtl,c.virtualScrollStickySizeStart,c.virtualScrollStickySizeEnd);P!==Pt.scrollViewSize&&Fe(Pt.scrollViewSize),oe(ft,Pt,Math.min(e.value-1,Math.max(0,parseInt(Te,10)||0)),0,_N.indexOf(ve)!==-1?ve:A!==-1&&Te>A?"end":"start")}function Oe(){const Te=t();if(Te==null||Te.nodeType===8)return;const ve=up(Te,n(),ee.value,Y.value,c.virtualScrollHorizontal,_.lang.rtl,c.virtualScrollStickySizeStart,c.virtualScrollStickySizeEnd),ft=e.value-1,Pt=ve.scrollMaxSize-ve.offsetStart-ve.offsetEnd-U.value;if(T===ve.scrollStart)return;if(ve.scrollMaxSize<=0){oe(Te,ve,0,0);return}P!==ve.scrollViewSize&&Fe(ve.scrollViewSize),Ee($.value.from);const jt=Math.floor(ve.scrollMaxSize-Math.max(ve.scrollViewSize,ve.offsetEnd)-Math.min(B[ft],ve.scrollViewSize/2));if(jt>0&&Math.ceil(ve.scrollStart)>=jt){oe(Te,ve,ft,ve.scrollMaxSize-ve.offsetEnd-O.reduce(wl,0));return}let Ge=0,ge=ve.scrollStart-ve.offsetStart,Ye=ge;if(ge<=Pt&&ge+ve.scrollViewSize>=z.value)ge-=z.value,Ge=$.value.from,Ye=ge;else for(let ke=0;ge>=O[ke]&&Ge<ft;ke++)ge-=O[ke],Ge+=zo;for(;ge>0&&Ge<ft;)ge-=B[Ge],ge>-ve.scrollViewSize?(Ge++,Ye=ge):Ye=B[Ge]+ge;oe(Te,ve,Ge,Ye)}function oe(Te,ve,ft,Pt,jt){const Ge=typeof jt=="string"&&jt.indexOf("-force")!==-1,ge=Ge===!0?jt.replace("-force",""):jt,Ye=ge!==void 0?ge:"start";let ke=Math.max(0,ft-J.value[Ye]),nt=ke+J.value.total;nt>e.value&&(nt=e.value,ke=Math.max(0,nt-J.value.total)),T=ve.scrollStart;const Ut=ke!==$.value.from||nt!==$.value.to;if(Ut===!1&&ge===void 0){Ve(ft);return}const{activeElement:tt}=document,Q=q.value;Ut===!0&&Q!==null&&Q!==tt&&Q.contains(tt)===!0&&(Q.addEventListener("focusout",Pe),setTimeout(()=>{Q!==null&&Q.removeEventListener("focusout",Pe)})),CN(Q,ft-ke);const te=ge!==void 0?B.slice(ke,ft).reduce(wl,0):0;if(Ut===!0){const Ce=nt>=$.value.from&&ke<=$.value.to?$.value.to:nt;$.value={from:ke,to:Ce},z.value=gu(O,B,0,ke),U.value=gu(O,B,nt,e.value),requestAnimationFrame(()=>{$.value.to!==nt&&T===ve.scrollStart&&($.value={from:$.value.from,to:nt},U.value=gu(O,B,nt,e.value))})}requestAnimationFrame(()=>{if(T!==ve.scrollStart)return;Ut===!0&&Ee(ke);const Ce=B.slice(ke,ft).reduce(wl,0),De=Ce+ve.offsetStart+z.value,Le=De+B[ft];let Xe=De+Pt;if(ge!==void 0){const ct=Ce-te,it=ve.scrollStart+ct;Xe=Ge!==!0&&it<De&&Le<it+ve.scrollViewSize?it:ge==="end"?Le-ve.scrollViewSize:De-(ge==="start"?0:Math.round((ve.scrollViewSize-B[ft])/2))}T=Xe,Vb(Te,Xe,c.virtualScrollHorizontal,_.lang.rtl),Ve(ft)})}function Ee(Te){const ve=q.value;if(ve){const ft=L1.call(ve.children,ke=>ke.classList&&ke.classList.contains("q-virtual-scroll--skip")===!1),Pt=ft.length,jt=c.virtualScrollHorizontal===!0?ke=>ke.getBoundingClientRect().width:ke=>ke.offsetHeight;let Ge=Te,ge,Ye;for(let ke=0;ke<Pt;){for(ge=jt(ft[ke]),ke++;ke<Pt&&ft[ke].classList.contains("q-virtual-scroll--with-prev")===!0;)ge+=jt(ft[ke]),ke++;Ye=ge-B[Ge],Ye!==0&&(B[Ge]+=Ye,O[Math.floor(Ge/zo)]+=Ye),Ge++}}}function Pe(){q.value!==null&&q.value!==void 0&&q.value.focus()}function Je(Te,ve){const ft=1*r.value;(ve===!0||Array.isArray(B)===!1)&&(B=[]);const Pt=B.length;B.length=e.value;for(let Ge=e.value-1;Ge>=Pt;Ge--)B[Ge]=ft;const jt=Math.floor((e.value-1)/zo);O=[];for(let Ge=0;Ge<=jt;Ge++){let ge=0;const Ye=Math.min((Ge+1)*zo,e.value);for(let ke=Ge*zo;ke<Ye;ke++)ge+=B[ke];O.push(ge)}A=-1,T=void 0,z.value=gu(O,B,0,$.value.from),U.value=gu(O,B,$.value.to,e.value),Te>=0?(Ee($.value.from),Ai(()=>{de(Te)})):Mt()}function Fe(Te){if(Te===void 0&&typeof window!="undefined"){const ge=t();ge!=null&&ge.nodeType!==8&&(Te=up(ge,n(),ee.value,Y.value,c.virtualScrollHorizontal,_.lang.rtl,c.virtualScrollStickySizeStart,c.virtualScrollStickySizeEnd).scrollViewSize)}P=Te;const ve=parseFloat(c.virtualScrollSliceRatioBefore)||0,ft=parseFloat(c.virtualScrollSliceRatioAfter)||0,Pt=1+ve+ft,jt=Te===void 0||Te<=0?1:Math.ceil(Te/r.value),Ge=Math.max(1,jt,Math.ceil((c.virtualScrollSliceSize>0?c.virtualScrollSliceSize:10)/Pt));J.value={total:Math.ceil(Ge*Pt),start:Math.ceil(Ge*ve),center:Math.ceil(Ge*(.5+ve)),end:Math.ceil(Ge*(1+ve)),view:jt}}
36function Ae(Te,ve){const ft=c.virtualScrollHorizontal===!0?"width":"height",Pt={["--q-virtual-scroll-item-"+ft]:r.value+"px"};return[Te==="tbody"?Se(Te,{class:"q-virtual-scroll__padding",key:"before",ref:ee},[Se("tr",[Se("td",{style:{[ft]:`${z.value}px`,...Pt},colspan:G.value})])]):Se(Te,{class:"q-virtual-scroll__padding",key:"before",ref:ee,style:{[ft]:`${z.value}px`,...Pt}}),Se(Te,{class:"q-virtual-scroll__content",key:"content",ref:q,tabindex:-1},ve.flat()),Te==="tbody"?Se(Te,{class:"q-virtual-scroll__padding",key:"after",ref:Y},[Se("tr",[Se("td",{style:{[ft]:`${U.value}px`,...Pt},colspan:G.value})])]):Se(Te,{class:"q-virtual-scroll__padding",key:"after",ref:Y,style:{[ft]:`${U.value}px`,...Pt}})]}function Ve(Te){A!==Te&&(c.onVirtualScroll!==void 0&&p("virtualScroll",{index:Te,from:$.value.from,to:$.value.to-1,direction:Te<A?"decrease":"increase",ref:w}),A=Te)}Fe();const Mt=Lm(Oe,_.platform.is.ios===!0?120:35);Am(()=>{Fe()});let Et=!1;return Fl(()=>{Et=!0}),sh(()=>{if(Et!==!0)return;const Te=t();T!==void 0&&Te!==void 0&&Te!==null&&Te.nodeType!==8?Vb(Te,T,c.virtualScrollHorizontal,_.lang.rtl):de(A)}),Ci(()=>{Mt.cancel()}),Object.assign(w,{scrollTo:de,reset:me,refresh:re}),{virtualScrollSliceRange:$,virtualScrollSliceSizeComputed:J,setVirtualScrollSize:Fe,onVirtualScrollEvt:Mt,localResetVirtualScroll:Je,padVirtualScroll:Ae,scrollTo:de,reset:me,refresh:re}}const EN=/[\u3000-\u303f\u3040-\u309f\u30a0-\u30ff\uff00-\uff9f\u4e00-\u9faf\u3400-\u4dbf]/,MN=/[\u4e00-\u9fff\u3400-\u4dbf\u{20000}-\u{2a6df}\u{2a700}-\u{2b73f}\u{2b740}-\u{2b81f}\u{2b820}-\u{2ceaf}\uf900-\ufaff\u3300-\u33ff\ufe30-\ufe4f\uf900-\ufaff\u{2f800}-\u{2fa1f}]/u,PN=/[\u3131-\u314e\u314f-\u3163\uac00-\ud7a3]/,ON=/[a-z0-9_ -]$/i;function N1(e){return function(n){if(n.type==="compositionend"||n.type==="change"){if(n.target.qComposing!==!0)return;n.target.qComposing=!1,e(n)}else n.type==="compositionupdate"&&n.target.qComposing!==!0&&typeof n.data=="str
36ing"&&(rn.is.firefox===!0?ON.test(n.data)===!1:EN.test(n.data)===!0||MN.test(n.data)===!0||PN.test(n.data)===!0)===!0&&(n.target.qComposing=!0)}}function qb(e,t,n){if(n<=t)return t;const r=n-t+1;let a=t+(e-t)%r;return a<t&&(a=r+a),a===0?0:a}const Hb=e=>["add","add-unique","toggle"].includes(e),IN=".*+?^${}()|[]\\",LN=Object.keys(Th);var NN=$i({name:"QSelect",inheritAttrs:!1,props:{...AN,...Ch,...Th,modelValue:{required:!0},multiple:Boolean,displayValue:[String,Number],displayValueHtml:Boolean,dropdownIcon:String,options:{type:Array,default:()=>[]},optionValue:[Function,String],optionLabel:[Function,String],optionDisable:[Function,String],hideSelected:Boolean,hideDropdownIcon:Boolean,fillInput:Boolean,maxValues:[Number,String],optionsDense:Boolean,optionsDark:{type:Boolean,default:null},optionsSelectedClass:String,optionsHtml:Boolean,optionsCover:Boolean,menuShrink:Boolean,menuAnchor:String,menuSelf:String,menuOffset:Array,popupContentClass:String,popupContentStyle:[String,Array,Object],popupNoRouteDismiss:Boolean,useInput:Boolean,useChips:Boolean,newValueMode:{type:String,validator:Hb},mapOptions:Boolean,emitValue:Boolean,inputDebounce:{type:[Number,String],default:500},inputClass:[Array,String,Object],inputStyle:[Array,String,Object],tabindex:{type:[String,Number],default:0},autocomplete:String,transitionShow:String,transitionHide:String,transitionDuration:[String,Number],behavior:{type:String,validator:e=>["default","menu","dialog"].includes(e),default:"default"},virtualScrollItemSize:{type:[Number,String],default:void 0},onNewValue:Function,onFilter:Function},emits:[...Km,"add","remove","inputValue","keyup","keypress","keydown","filterAbort"],setup(e,{slots:t,emit:n}){const{proxy:r}=ri(),{$q:a}=r,c=Ke(!1),p=Ke(!1),w=Ke(-1),_=Ke(""),T=Ke(!1),A=Ke(!1);let P=null,O=null,B,z,U,J=null,ee,Y,q,$;const G=Ke(null),X=Ke(null),v=Ke(null),me=Ke(null),re=Ke(null),de=M1(e),Oe=N1(ln),oe=ce(()=>Array.isArray(e.options)?e.options.length:0),Ee=ce(()=>e.virtualScrollItemSize===void 0?e.optionsDense===!0?24:48:e.virtualScrollItemSize),{virtualScrollSliceRange:Pe,virtualScrollSliceSizeComputed:Je,localResetVirtualScroll:Fe,padVirtualScroll:Ae,onVirtualScrollEvt:Ve,scrollTo:Mt,setVirtualScrollSize:Et}=TN({virtualScrollLength:oe,getVirtualScrollTarget:vr,getVirtualScrollEl:mo,virtualScrollItemSizeComputed:Ee}),Te=Qm(),ve=ce(()=>{const le=e.mapOptions===!0&&e.multiple!==!0,Qe=e.modelValue!==void 0&&(e.modelValue!==null||le===!0)?e.multiple===!0&&Array.isArray(e.modelValue)?e.modelValue:[e.modelValue]:[];if(e.mapOptions===!0&&Array.isArray(e.options)===!0){const mt=e.mapOptions===!0&&B!==void 0?B:[],Bt=Qe.map(mi=>qi(mi,mt));return e.modelValue===null&&le===!0?Bt.filter(mi=>mi!==null):Bt}return Qe}),ft=ce(()=>{const le={};return LN.forEach(Qe=>{const mt=e[Qe];mt!==void 0&&(le[Qe]=mt)}),le}),Pt=ce(()=>e.optionsDark===null?Te.isDark.value:e.optionsDark),jt=ce(()=>zu(ve.value)),Ge=ce(()=>{let le="q-field__input q-placeholder col";return e.hideSelected===!0||ve.value.length===0?[le,e.inputClass]:(le+=" q-field__input--padding",e.inputClass===void 0?le:[le,e.inputClass])}),ge=ce(()=>(e.virtualScrollHorizontal===!0?"q-virtual-scroll--horizontal":"")+(e.popupContentClass?" "+e.popupContentClass:"")),Ye=ce(()=>oe.value===0),ke=ce(()=>ve.value.map(le=>Ne.value(le)).join(", ")),nt=ce(()=>e.displayValue!==void 0?e.displayValue:ke.value),Ut=ce(()=>e.optionsHtml===!0?()=>!0:le=>le!=null&&le.html===!0),tt=ce(()=>e.displayValueHtml===!0||e.displayValue===void 0&&(e.optionsHtml===!0||ve.value.some(Ut.value))),Q=ce(()=>Te.focused.value===!0?e.tabindex:-1),te=ce(()=>{const le={tabindex:e.tabindex,role:"combobox","aria-label":e.label,"aria-readonly":e.readonly===!0?"true":"false","aria-autocomplete":e.useInput===!0?"list":"none","aria-expanded":c.value===!0?"true":"false","aria-controls":`${Te.targetUid.value}_lb`};return w.value>=0&&(le["aria-activedescendant"]=`${Te.targetUid.value}_${w.value}`),le}),Ce=ce(()=>({id:`${Te.targetUid.value}_lb`,role:"listbox","aria-multiselectable":e.multiple===!0?"true":"false"})),De=ce(()=>ve.value.map((le,Qe)=>({index:Qe,opt:le,html:Ut.value(le),selected:!0,removeAtIndex:si,toggleOption:pi,tabindex:Q.value}))),Le=ce(()=>{if(oe.value===0)return[];const{from:le,to:Qe}=Pe.value;return e.options.slice(le,Qe).map((mt,Bt)=>{const mi=pt.value(mt)===!0,fi=Ti(mt)===!0,Ki=le+Bt,ki={clickable:!0,active:fi,activeClass:it.value,manualFocus:!0,focused:!1,disable:mi,tabindex:-1,dense:e.optionsDense,dark:Pt.value,role:"option","aria-selected":fi===!0?"true":"false",id:`${Te.targetUid.value}_${Ki}`,onClick:()=>{pi(mt)}};return mi!==!0&&(w.value===Ki&&(ki.focused=!0),a.platform.is.desktop===!0&&(ki.onMousemove=()=>{c.value===!0&&Vi(Ki)})),{index:Ki,opt:mt,html:Ut.value(mt),label:Ne.value(mt),selected:ki.active,focused:ki.focused,toggleOption:pi,setOptionIndex:Vi,itemProps:ki}})}),Xe=ce(()=>e.dropdownIcon!==void 0?e.dropdownIcon:a.iconSet.arrow.dropdown),ct=ce(()=>e.optionsCover===!1&&e.outlined!==!0&&e.standout!==!0&&e.borderless!==!0&&e.rounded!==!0),it=ce(()=>e.optionsSelectedClass!==void 0?e.optionsSelectedClass:e.color!==void 0?`text-${e.color}`:""),ot=ce(()=>Yi(e.optionValue,"value")),Ne=ce(()=>Yi(e.optionLabel,"label")),pt=ce(()=>Yi(e.optionDisable,"disable")),st=ce(()=>ve.value.map(le=>ot.value(le))),qe=ce(()=>{const le={onInput:ln,onChange:Oe,onKeydown:Oi,onKeyup:Ri,onKeypress:Ur,onF
36ocus:Hi,onClick(Qe){z===!0&&hr(Qe)}};return le.onCompositionstart=le.onCompositionupdate=le.onCompositionend=Oe,le});Ft(ve,le=>{B=le,e.useInput===!0&&e.fillInput===!0&&e.multiple!==!0&&Te.innerLoading.value!==!0&&(p.value!==!0&&c.value!==!0||jt.value!==!0)&&(U!==!0&&No(),(p.value===!0||c.value===!0)&&Io(""))},{immediate:!0}),Ft(()=>e.fillInput,No),Ft(c,yo),Ft(oe,Vs);function wt(le){return e.emitValue===!0?ot.value(le):le}function Wt(le){if(le!==-1&&le<ve.value.length)if(e.multiple===!0){const Qe=e.modelValue.slice();n("remove",{index:le,value:Qe.splice(le,1)[0]}),n("update:modelValue",Qe)}else n("update:modelValue",null)}function si(le){Wt(le),Te.focus()}function ci(le,Qe){const mt=wt(le);if(e.multiple!==!0){e.fillInput===!0&&br(Ne.value(le),!0,!0),n("update:modelValue",mt);return}if(ve.value.length===0){n("add",{index:0,value:mt}),n("update:modelValue",e.multiple===!0?[mt]:mt);return}if(Qe===!0&&Ti(le)===!0||e.maxValues!==void 0&&e.modelValue.length>=e.maxValues)return;const Bt=e.modelValue.slice();n("add",{index:Bt.length,value:mt}),Bt.push(mt),n("update:modelValue",Bt)}function pi(le,Qe){if(Te.editable.value!==!0||le===void 0||pt.value(le)===!0)return;const mt=ot.value(le);if(e.multiple!==!0){Qe!==!0&&(br(e.fillInput===!0?Ne.value(le):"",!0,!0),go()),X.value!==null&&X.value.focus(),(ve.value.length===0||ks(ot.value(ve.value[0]),mt)!==!0)&&n("update:modelValue",e.emitValue===!0?mt:le);return}if((z!==!0||T.value===!0)&&Te.focus(),Hi(),ve.value.length===0){const fi=e.emitValue===!0?mt:le;n("add",{index:0,value:fi}),n("update:modelValue",e.multiple===!0?[fi]:fi);return}const Bt=e.modelValue.slice(),mi=st.value.findIndex(fi=>ks(fi,mt));if(mi!==-1)n("remove",{index:mi,value:Bt.splice(mi,1)[0]});else{if(e.maxValues!==void 0&&Bt.length>=e.maxValues)return;const fi=e.emitValue===!0?mt:le;n("add",{index:Bt.length,value:fi}),Bt.push(fi)}n("update:modelValue",Bt)}function Vi(le){if(a.platform.is.desktop!==!0)return;const Qe=le!==-1&&le<oe.value?le:-1;w.value!==Qe&&(w.value=Qe)}function an(le=1,Qe){if(c.value===!0){let mt=w.value;do mt=qb(mt+le,-1,oe.value-1);while(mt!==-1&&mt!==w.value&&pt.value(e.options[mt])===!0);w.value!==mt&&(Vi(mt),Mt(mt),Qe!==!0&&e.useInput===!0&&e.fillInput===!0&&Qo(mt>=0?Ne.value(e.options[mt]):ee,!0))}}function qi(le,Qe){const mt=Bt=>ks(ot.value(Bt),le);return e.options.find(mt)||Qe.find(mt)||le}function Yi(le,Qe){const mt=le!==void 0?le:Qe;return typeof mt=="function"?mt:Bt=>Bt!==null&&typeof Bt=="object"&&mt in Bt?Bt[mt]:Bt}function Ti(le){const Qe=ot.value(le);return st.value.find(mt=>ks(mt,Qe))!==void 0}function Hi(le){e.useInput===!0&&X.value!==null&&(le===void 0||X.value===le.target&&le.target.value===ke.value)&&X.value.select()}function en(le){va(le,27)===!0&&c.value===!0&&(hr(le),go(),No()),n("keyup",le)}function Ri(le){const{value:Qe}=le.target;if(le.keyCode!==void 0){en(le);return}if(le.target.value="",P!==null&&(clearTimeout(P),P=null),O!==null&&(clearTimeout(O),O=null),No(),typeof Qe=="string"&&Qe.length!==0){const mt=Qe.toLocaleLowerCase(),Bt=fi=>{const Ki=e.options.find(ki=>fi.value(ki).toLocaleLowerCase()===mt);return Ki===void 0?!1:(ve.value.indexOf(Ki)===-1?pi(Ki):go(),!0)},mi=fi=>{Bt(ot)!==!0&&(Bt(Ne)===!0||fi===!0||Io(Qe,!0,()=>mi(!0)))};mi()}else Te.clearValue(le)}function Ur(le){n("keypress",le)}function Oi(le){if(n("keydown",le),Nm(le)===!0)return;const Qe=_.value.length!==0&&(e.newValueMode!==void 0||e.onNewValue!==void 0),mt=le.shiftKey!==!0&&e.multiple!==!0&&(w.value!==-1||Qe===!0);if(le.keyCode===27){$o(le);return}if(le.keyCode===9&&mt===!1){er();return}if(le.target===void 0||le.target.id!==Te.targetUid.value||Te.editable.value!==!0)return;if(le.keyCode===40&&Te.innerLoading.value!==!0&&c.value===!1){Zi(le),tr();return}if(le.keyCode===8&&(e.useChips===!0||e.clearable===!0)&&e.hideSelected!==!0&&_.value.length===0){e.multiple===!0&&Array.isArray(e.modelValue)===!0?Wt(e.modelValue.length-1):e.multiple!==!0&&e.modelValue!==null&&n("update:modelValue",null);return}(le.keyCode===35||le.keyCode===36)&&(typeof _.value!="string"||_.value.length===0)&&(Zi(le),w.value=-1,an(le.keyCode===36?1:-1,e.multiple)),(le.keyCode===33||le.keyCode===34)&&Je.value!==void 0&&(Zi(le),w.value=Math.max(-1,Math.min(oe.value,w.value+(le.keyCode===33?-1:1)*Je.value.view)),an(le.keyCode===33?1:-1,e.multiple)),(le.keyCode===38||le.keyCode===40)&&
36(Zi(le),an(le.keyCode===38?-1:1,e.multiple));const Bt=oe.value;if((q===void 0||$<Date.now())&&(q=""),Bt>0&&e.useInput!==!0&&le.key!==void 0&&le.key.length===1&&le.altKey===!1&&le.ctrlKey===!1&&le.metaKey===!1&&(le.keyCode!==32||q.length!==0)){c.value!==!0&&tr(le);const mi=le.key.toLocaleLowerCase(),fi=q.length===1&&q[0]===mi;$=Date.now()+1500,fi===!1&&(Zi(le),q+=mi);const Ki=new RegExp("^"+q.split("").map(Xr=>IN.indexOf(Xr)!==-1?"\\"+Xr:Xr).join(".*"),"i");let ki=w.value;if(fi===!0||ki<0||Ki.test(Ne.value(e.options[ki]))!==!0)do ki=qb(ki+1,-1,Bt-1);while(ki!==w.value&&(pt.value(e.options[ki])===!0||Ki.test(Ne.value(e.options[ki]))!==!0));w.value!==ki&&Ai(()=>{Vi(ki),Mt(ki),ki>=0&&e.useInput===!0&&e.fillInput===!0&&Qo(Ne.value(e.options[ki]),!0)});return}if(!(le.keyCode!==13&&(le.keyCode!==32||e.useInput===!0||q!=="")&&(le.keyCode!==9||mt===!1))){if(le.keyCode!==9&&Zi(le),w.value!==-1&&w.value<Bt){pi(e.options[w.value]);return}if(Qe===!0){const mi=(fi,Ki)=>{if(Ki){if(Hb(Ki)!==!0)return}else Ki=e.newValueMode;if(br("",e.multiple!==!0,!0),fi==null)return;(Ki==="toggle"?pi:ci)(fi,Ki==="add-unique"),e.multiple!==!0&&(X.value!==null&&X.value.focus(),go())};if(e.onNewValue!==void 0?n("newValue",_.value,mi):mi(_.value),e.multiple!==!0)return}c.value===!0?er():Te.innerLoading.value!==!0&&tr()}}function mo(){return z===!0?re.value:v.value!==null&&v.value.contentEl!==null?v.value.contentEl:void 0}function vr(){return mo()}function Wr(){return e.hideSelected===!0?[]:t["selected-item"]!==void 0?De.value.map(le=>t["selected-item"](le)).slice():t.selected!==void 0?[].concat(t.selected()):e.useChips===!0?De.value.map((le,Qe)=>Se(dN,{key:"option-"+Qe,removable:Te.editable.value===!0&&pt.value(le.opt)!==!0,dense:!0,textColor:e.color,tabindex:Q.value,onRemove(){le.removeAtIndex(Qe)}},()=>Se("span",{class:"ellipsis",[le.html===!0?"innerHTML":"textContent"]:Ne.value(le.opt)}))):[Se("span",{[tt.value===!0?"innerHTML":"textContent"]:nt.value})]}function Ds(){if(Ye.value===!0)return t["no-option"]!==void 0?t["no-option"]({inputValue:_.value}):void 0;const le=t.option!==void 0?t.option:mt=>Se(t1,{key:mt.index,...mt.itemProps},()=>Se(e1,()=>Se(hN,()=>Se("span",{[mt.html===!0?"innerHTML":"textContent"]:mt.label}))));let Qe=Ae("div",Le.value.map(le));return t["before-options"]!==void 0&&(Qe=t["before-options"]().concat(Qe)),mr(t["after-options"],Qe)}function yi(le,Qe){const mt=Qe===!0?{...te.value,...Te.splitAttrs.attributes.value}:void 0,Bt={ref:Qe===!0?X:void 0,key:"i_t",class:Ge.value,style:e.inputStyle,value:_.value!==void 0?_.value:"",type:"search",...mt,id:Qe===!0?Te.targetUid.value:void 0,maxlength:e.maxlength,autocomplete:e.autocomplete,"data-autofocus":le===!0||e.autofocus===!0||void 0,disabled:e.disable===!0,readonly:e.readonly===!0,...qe.value};return le!==!0&&z===!0&&(Array.isArray(Bt.class)===!0?Bt.class=[...Bt.class,"no-pointer-events"]:Bt.class+=" no-pointer-events"),Se("input",Bt)}function ln(le){P!==null&&(clearTimeout(P),P=null),O!==null&&(clearTimeout(O),O=null),!(le&&le.target&&le.target.qComposing===!0)&&(Qo(le.target.value||""),U=!0,ee=_.value,Te.focused.value!==!0&&(z!==!0||T.value===!0)&&Te.focus(),e.onFilter!==void 0&&(P=setTimeout(()=>{P=null,Io(_.value)},e.inputDebounce)))}function Qo(le,Qe){_.value!==le&&(_.value=le,Qe===!0||e.inputDebounce===0||e.inputDebounce==="0"?n("inputValue",le):O=setTimeout(()=>{O=null,n("inputValue",le)},e.inputDebounce))}function br(le,Qe,mt){U=mt!==!0,e.useInput===!0&&(Qo(le,!0),(Qe===!0||mt!==!0)&&(ee=le),Qe!==!0&&Io(le))}function Io(le,Qe,mt){if(e.onFilter===void 0||Qe!==!0&&Te.focused.value!==!0)return;Te.innerLoading.value===!0?n("filterAbort"):(Te.innerLoading.value=!0,A.value=!0),le!==""&&e.multiple!==!0&&ve.value.length!==0&&U!==!0&&le===Ne.value(ve.value[0])&&(le="");const Bt=setTimeout(()=>{c.value===!0&&(c.value=!1)},10);J!==null&&clearTimeout(J),J=Bt,n("filter",le,(mi,fi)=>{(Qe===!0||Te.focused.value===!0)&&J===Bt&&(clearTimeout(J),typeof mi=="function"&&mi(),A.value=!1,Ai(()=>{Te.innerLoading.value=!1,Te.editable.value===!0&&(Qe===!0?c.value===!0&&go():c.value===!0?yo(!0):c.value=!0),typeof fi=="function"&&Ai(()=>{fi(r)}),typeof mt=="function"&&Ai(()=>{mt(r)})}))},()=>{Te.focused.value===!0&&J===Bt&&(clearTimeout(J),Te.innerLoading.value=!1,A.value=!1),c.value===!0&&(c.value=!1)})}function Gr(){return Se(SN,{ref:v,class:ge.value,style:e.popupContentStyle,modelValue:c.value,fit:e.menuShrink!==!0,cover:e.optionsCover===!0&&Ye.value!==!0&&e.useInput!==!0,anchor:e.menuAnchor,self:e.menuSelf,offset:e.menuOffset,dark:Pt.value,noParentEvent:!0,noRefocus:!0,noFocus:!0,noRouteDism
36iss:e.popupNoRouteDismiss,square:ct.value,transitionShow:e.transitionShow,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,separateClosePopup:!0,...Ce.value,onScrollPassive:Ve,onBeforeShow:Yr,onBeforeHide:Lo,onShow:Zo},Ds)}function Lo(le){Ro(le),er()}function Zo(){Et()}function Bs(le){hr(le),X.value!==null&&X.value.focus(),T.value=!0,window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,0)}function Jo(le){hr(le),Ai(()=>{T.value=!1})}function Ma(){const le=[Se(uN,{class:`col-auto ${Te.fieldClass.value}`,...ft.value,for:Te.targetUid.value,dark:Pt.value,square:!0,loading:A.value,itemAligned:!1,filled:!0,stackLabel:_.value.length!==0,...Te.splitAttrs.listeners.value,onFocus:Bs,onBlur:Jo},{...t,rawControl:()=>Te.getControl(!0),before:void 0,after:void 0})];return c.value===!0&&le.push(Se("div",{ref:re,class:ge.value+" scroll",style:e.popupContentStyle,...Ce.value,onClick:$o,onScrollPassive:Ve},Ds())),Se(jl,{ref:me,modelValue:p.value,position:e.useInput===!0?"top":void 0,transitionShow:Y,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,noRouteDismiss:e.popupNoRouteDismiss,onBeforeShow:Yr,onBeforeHide:Xi,onHide:Pa,onShow:Oa},()=>Se("div",{class:"q-select__dialog"+(Pt.value===!0?" q-select__dialog--dark q-dark":"")+(T.value===!0?" q-select__dialog--focused":"")},le))}function Xi(le){Ro(le),me.value!==null&&me.value.__updateRefocusTarget(Te.rootRef.value.querySelector(".q-field__native > [tabindex]:last-child")),Te.focused.value=!1}function Pa(le){go(),Te.focused.value===!1&&n("blur",le),No()}function Oa(){const le=document.activeElement;(le===null||le.id!==Te.targetUid.value)&&X.value!==null&&X.value!==le&&X.value.focus(),Et()}function er(){p.value!==!0&&(w.value=-1,c.value===!0&&(c.value=!1),Te.focused.value===!1&&(J!==null&&(clearTimeout(J),J=null),Te.innerLoading.value===!0&&(n("filterAbort"),Te.innerLoading.value=!1,A.value=!1)))}function tr(le){Te.editable.value===!0&&(z===!0?(Te.onControlFocusin(le),p.value=!0,Ai(()=>{Te.focus()})):Te.focus(),e.onFilter!==void 0?Io(_.value):(Ye.value!==!0||t["no-option"]!==void 0)&&(c.value=!0))}function go(){p.value=!1,er()}function No(){e.useInput===!0&&br(e.multiple!==!0&&e.fillInput===!0&&ve.value.length!==0&&Ne.value(ve.value[0])||"",!0,!0)}function yo(le){let Qe=-1;if(le===!0){if(ve.value.length!==0){const mt=ot.value(ve.value[0]);Qe=e.options.findIndex(Bt=>ks(ot.value(Bt),mt))}Fe(Qe)}Vi(Qe)}function Vs(le,Qe){c.value===!0&&Te.innerLoading.value===!1&&(Fe(-1,!0),Ai(()=>{c.value===!0&&Te.innerLoading.value===!1&&(le>Qe?Fe():yo(!0))}))}function xr(){p.value===!1&&v.value!==null&&v.value.updatePosition()}function Yr(le){le!==void 0&&hr(le),n("popupShow",le),Te.hasPopupOpen=!0,Te.onControlFocusin(le)}function Ro(le){le!==void 0&&hr(le),n("popupHide",le),Te.hasPopupOpen=!1,Te.onControlFocusout(le)}function ir(){z=a.platform.is.mobile!==!0&&e.behavior!=="dialog"?!1:e.behavior!=="menu"&&(e.useInput===!0?t["no-option"]!==void 0||e.onFilter!==void 0||Ye.value===!1:!0),Y=a.platform.is.ios===!0&&z===!0&&e.useInput===!0?"fade":e.transitionShow}return lh(ir),Zu(xr),ir(),Ci(()=>{P!==null&&clearTimeout(P),O!==null&&clearTimeout(O)}),Object.assign(r,{showPopup:tr,hidePopup:go,removeAtIndex:Wt,add:ci,toggleOption:pi,getOptionIndex:()=>w.value,setOptionIndex:Vi,moveOptionSelection:an,filter:Io,updateMenuPosition:xr,updateInputValue:br,isOptionSelected:Ti,getEmittingOptionValue:wt,isOptionDisabled:(...le)=>pt.value.apply(null,le)===!0,getOptionValue:(...le)=>ot.value.apply(null,le),getOptionLabel:(...le)=>Ne.value.apply(null,le)}),Object.assign(Te,{innerValue:ve,fieldClass:ce(()=>`q-select q-field--auto-height q-select--with${e.useInput!==!0?"out":""}-input q-select--with${e.useChips!==!0?"out":""}-chips q-select--${e.multiple===!0?"multiple":"single"}`),inputRef:G,targetRef:X,hasValue:jt,showPopup:tr,floatingLabel:ce(()=>e.hideSelected!==!0&&jt.value===!0||typeof _.value=="number"||_.value.length!==0||zu(e.displayValue)),getControlChild:()=>{if(Te.editable.value!==!1&&(p.value===!0||Ye.value!==!0||t["no-option"]!==void 0))return z===!0?Ma():Gr();Te.hasPopupOpen===!0&&(Te.hasPopupOpen=!1)},controlEvents:{onFocusin(le){Te.onControlFocusin(le)},onFocusout(le){Te.onControlFocusout(le,()=>{No(),er()})},onClick(le){if($o(le),z!==!0&&c.value===!0){er(),X.value!==null&&X.value.focus();return}tr(le)}},getControl:le=>{const Qe=Wr(),mt=le===!0||p.value!==!0||z!==!0;
36if(e.useInput===!0)Qe.push(yi(le,mt));else if(Te.editable.value===!0){const mi=mt===!0?te.value:void 0;Qe.push(Se("input",{ref:mt===!0?X:void 0,key:"d_t",class:"q-select__focus-target",id:mt===!0?Te.targetUid.value:void 0,value:nt.value,readonly:!0,"data-autofocus":le===!0||e.autofocus===!0||void 0,...mi,onKeydown:Oi,onKeyup:en,onKeypress:Ur})),mt===!0&&typeof e.autocomplete=="string"&&e.autocomplete.length!==0&&Qe.push(Se("input",{class:"q-select__autocomplete-input",autocomplete:e.autocomplete,tabindex:-1,onKeyup:Ri}))}if(de.value!==void 0&&e.disable!==!0&&st.value.length!==0){const mi=st.value.map(fi=>Se("option",{value:fi,selected:!0}));Qe.push(Se("select",{class:"hidden",name:de.value,multiple:e.multiple},mi))}const Bt=e.useInput===!0||mt!==!0?void 0:Te.splitAttrs.attributes.value;return Se("div",{class:"q-field__native row items-center",...Bt,...Te.splitAttrs.listeners.value},Qe)},getInnerAppend:()=>e.loading!==!0&&A.value!==!0&&e.hideDropdownIcon!==!0?[Se(To,{class:"q-select__dropdown-icon"+(c.value===!0?" rotate-180":""),name:Xe.value})]:null}),Zm(Te)}}),R1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAAqCAYAAADmmJiOAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGvSURBVGhD3dg7TsMwHIDxrwxIoAoklJWcACQmzsDUAyBxCiYOgLpzDiamTlyiPUG6lkitqlbqEoZgBFEetvP3I/22OC//BitWRkVRFBxxJ9WBY2uwwGye83z3TjbPq6f+NUhgNs+ZTmZ8LbdMJ7NW5OCACrffHADYbw6tyEEBqzhVG3IwwCacqgk5CGAXTlWHjB6oi1Ml6ZgkHf8eRw00xV3fXPHy8cD55envWLRACRyxAqVwxAiUxBEbUBpHTEAXOHSBu/WB3VrvxTa5wqED3K3Lj+d0MnOCdImjC6hwy0XOclFORBLpGkcb8C9OJYn0gaMJWIdTSSB94agDtuFUfZA+cdQB354+W3EqG6RvHHXAx9d7zi70HmiCDIGjDpjelg+WRIbCUQdEGBkSRxMQIWRoHMCo68+27SRXWflLz/Q+SRw6QCyRq2xrdL0LHLpALJC6ucTRtgarma5JnVzjMAEijPSBwxSIENIXDhsgPZE+cdgCsUT6xtEHiCEyBI6+QDSRoXBIAOlAhsQhBaQBGRqHyU5GN7XjSdJxcBwugPwgk3QcHIcrYEyJrcFY+wZ8FtKrxxfN6AAAAABJRU5ErkJggg==";const RN={name:"C_Select",setup(e){const t=Ju(),n=Ke(e.modelValue);return{validation:kh(n,e,"select",t),control_value:n}},mixins:[Ah],props:{secondary:Boolean,options:Array},watch:{control_value(){this.validation.checkValid(!0)}},computed:{myHint(){if(this.validation.hasBeenInteractedWith.value)return this.hint},adaptedOptions(){let e=[];return this.options&&this.options.forEach(t=>{typeof t=="object"?e.push({label:t.name,value:t.id}):e.push({label:t,value:t})}),e},config(){return rt},formControlClasses(){return{"black-50--text":!this.control_value,"secondary-select":this.secondary}},wrapper_classes(){return{"hide--label":this.control_value}}},beforeUnmount(){this.validation.removeFromForm()}},FN=["for"],DN=["id"],BN={key:1,class:"ext-label"},VN={key:3,class:"form-control__context-icons"},qN={key:1},HN=N("img",{class:"form-control__valid-check",src:R1,alt:""},null,-1),zN=[HN],jN={class:"form-control__hint"},$N={key:0,class:"form-control__error"};function UN(e,t,n,r,a,c){return xe(),We("div",{class:ji(["form-group form-group--select",r.validation.validationClasses.value])},[N("div",{class:ji(["form-control__wrapper",c.wrapper_classes]),style:Hr(e.fieldStyle)},[c.config.useQuasar?ht("",!0):(xe(),We($t,{key:0},[e.label?(xe(),We("label",{key:0,for:e.control_id,class:"form-control__label"},dt(e.label),9,FN)):ht("",!0),Uo(N("select",Wo({id:e.control_id,ref:"controlEl",class:["form-control",c.formControlClasses],autocomplete:"off"},e.$attrs,{"onUpdate:modelValue":t[0]||(t[0]=p=>r.control_value=p)}),[co(e.$slots,"default")],16,DN),[[Im,r.control_value]])],64)),e.externalLabel?(xe(),We("div",BN,dt(e.label),1)):ht("",!0),c.config.useQuasar?(xe(),Rt(NN,Wo({key:2,modelValue:r.control_value,"onUpdate:modelValue":t[1]||(t[1]=p=>r.control_value=p),id:e.control_id,"input-class":"form-control "+c.formControlClasses,options:c.adaptedOptions},e.$attrs,{outlined:"",dense:"",label:e.externalLabel?e.innerLabel:e.label,disable:e.disable,onFocus:t[2]||(t[2]=p=>r.validation.setInteracted(!0)),onPopupHide:t[3]||(t[3]=p=>r.validation.checkValid(!1)),hint:c.myHint,error:!r.validation.isValid.value,"error-message":r.validation.theErrors.value[0],"no-error-icon":"","hide-bottom-space":!0,autocomplete:"off","emit-value":"","map-options":""}),null,16,["modelValue","id","input-class","options","label","disable","hint","error","error-message"])):ht("",!0),r.validation.hideValidation.value?ht("",!0):(xe(),We("span",VN,[e.$slots.icon?co(e.$slots,"icon",{key:0}):r.validation.isValid.value&&r.control_value?(xe(),We("span",qN,zN)):ht("",!0)]))],6),N("div",jN,[co(e.$slots,"hint")]),r.validation.showError.value&&!r.validation.hideValidation.value?(xe(),We("div",$N,dt(r.validation.theErrors[0]),1)):ht("",!0)],2)}var Ta=Kt(RN,[["render",UN]]);const WN={...ka,...Hl,...Ch,modelValue:{required:!0,default:null},val:{},trueValue:{default:!0},falseValue:{default:!1},indeterminateValue:{default:null},checkedIcon:String,uncheckedIcon:String,indeterminateIcon:String,toggleOrder:{type:String,validator:e=>e==="tf"||e==="ft"},toggleIndeterminate:Boolean,label:String,leftLabel:Boolean,color:String,keepColor:Boolean,dense:Boolean,disable:Boolean,tabindex:[String,Number]},GN=["update:modelValue"];function YN(e,t){const{props:n,slots:r,emit:a,proxy:c}=ri(),{$q:p}=c,w=Aa(n,p),_=Ke(null),{refocusTargetEl:T,refocusTarget:A}=T1(n,_),P=zl(n,P1),O=ce(()=>n.val!==void 0&&Array.isArray(n.modelValue)),B=ce(()=>{const oe=Qt(n.val);return O.value===!0?n.modelValue.findIndex(Ee=>Qt(Ee)===oe):-1}),z=ce(()=>O.value===!0?B.value!==-1:Qt(n.modelValue)===Qt(n.trueValue)),U=ce(()=>O.value===!0?B.value===-1:Qt(n.modelValue)===Qt(n.falseValue)),J=ce(()=>z.value===!1&&U.value===!1),ee=ce(()=>n.disable===!0?-1:n.tabindex||0),Y=ce(()=>`q-${e} cursor-pointer no-outline row inline no-wrap items-center`+(n.disable===!0?" disabled":"")+(w.value===!0?` q-${e}--dark`:"")+(n.dense===!0?` q-${e}--dense`:"")+(n.leftLabel===!0?" reverse":"")),q=ce(()=>{const oe=z.value===!0?"truthy":U.value===!0?"falsy":"indet",Ee=n.color!==void 0&&(n.keepColor===!0||(e==="toggle"?z.value===!0:U.value!==!0))?` text-${n.color}`:"";return`q-${e}__inner relative-position non-selectable q-${e}__inner--${oe}${Ee}`}),$=ce(()=>{const oe={type:"checkbox"};return n.name!==void 0&&Object.assign(oe,{".checked":z.value,"^checked":z.value===!0?"checked":void 0,name:n.name,value:O.value===!0?n.val:n.trueValue}),oe}),G=E1($),X=ce(()=>
36{const oe={tabindex:ee.value,role:e==="toggle"?"switch":"checkbox","aria-label":n.label,"aria-checked":J.value===!0?"mixed":z.value===!0?"true":"false"};return n.disable===!0&&(oe["aria-disabled"]="true"),oe});function v(oe){oe!==void 0&&(Zi(oe),A(oe)),n.disable!==!0&&a("update:modelValue",me(),oe)}function me(){if(O.value===!0){if(z.value===!0){const oe=n.modelValue.slice();return oe.splice(B.value,1),oe}return n.modelValue.concat([n.val])}if(z.value===!0){if(n.toggleOrder!=="ft"||n.toggleIndeterminate===!1)return n.falseValue}else if(U.value===!0){if(n.toggleOrder==="ft"||n.toggleIndeterminate===!1)return n.trueValue}else return n.toggleOrder!=="ft"?n.trueValue:n.falseValue;return n.indeterminateValue}function re(oe){(oe.keyCode===13||oe.keyCode===32)&&Zi(oe)}function de(oe){(oe.keyCode===13||oe.keyCode===32)&&v(oe)}const Oe=t(z,J);return Object.assign(c,{toggle:v}),()=>{const oe=Oe();n.disable!==!0&&G(oe,"unshift",` q-${e}__native absolute q-ma-none q-pa-none`);const Ee=[Se("div",{class:q.value,style:P.value,"aria-hidden":"true"},oe)];T.value!==null&&Ee.push(T.value);const Pe=n.label!==void 0?mr(r.default,[n.label]):lo(r.default);return Pe!==void 0&&Ee.push(Se("div",{class:`q-${e}__label q-anchor--skip`},Pe)),Se("div",{ref:_,class:Y.value,...X.value,onClick:v,onKeydown:re,onKeyup:de},Ee)}}const XN=Se("div",{key:"svg",class:"q-checkbox__bg absolute"},[Se("svg",{class:"q-checkbox__svg fit absolute-full",viewBox:"0 0 24 24"},[Se("path",{class:"q-checkbox__truthy",fill:"none",d:"M1.73,12.91 8.1,19.28 22.79,4.59"}),Se("path",{class:"q-checkbox__indet",d:"M4,14H20V10H4"})])]);var Pu=$i({name:"QCheckbox",props:WN,emits:GN,setup(e){function t(n,r){const a=ce(()=>(n.value===!0?e.checkedIcon:r.value===!0?e.indeterminateIcon:e.uncheckedIcon)||null);return()=>a.value!==null?[Se("div",{key:"icon",class:"q-checkbox__icon-container absolute-full flex flex-center no-wrap"},[Se(To,{class:"q-checkbox__icon",name:a.value})])]:[XN]}return YN("checkbox",t)}});const KN={name:"C_Checkbox",setup(e){const t=Ju(),n=Ke(e.modelValue);return{validation:kh(n,e,"checkbox",t),control_value:n}},props:{useLabel:{default:!1}},methods:{check(){setTimeout(()=>{this.validation.checkValid()},200)}},mixins:[Ah],beforeUnmount(){this.validation.removeFromForm()}},QN=["for"],ZN={class:"form-control__hint"},JN={key:0,class:"form-control__error"};function eR(e,t,n,r,a,c){return xe(),We("div",{class:ji(["form-group form-group--checkbox",r.validation.validationClasses.value])},[N("div",null,[ht("",!0),n.useLabel?(xe(),Rt(Pu,Wo({key:1,modelValue:r.control_value,"onUpdate:modelValue":t[2]||(t[2]=p=>r.control_value=p)},e.$attrs,{onClick:c.check}),{default:_t(()=>[co(e.$slots,"default")]),_:3},16,["modelValue","onClick"])):ht("",!0),n.useLabel?ht("",!0):(xe(),We($t,{key:2},[fe(Pu,Wo({modelValue:r.control_value,"onUpdate:modelValue":t[3]||(t[3]=p=>r.control_value=p)},e.$attrs,{onClick:c.check,onKeyup:c.check}),null,16,["modelValue","onClick","onKeyup"]),N("label",{for:e.control_id,class:"form-control__label"},[co(e.$slots,"default")],8,QN)],64)),N("div",ZN,[co(e.$slots,"hint")])]),r.validation.theErrors.value&&!r.validation.hideValidation.value?(xe(),We("div",JN,dt(r.validation.theErrors.value[0]),1)):ht("",!0)],2)}var Ea=Kt(KN,[["render",eR]]);const tR={name:"C_Button",props:{label:String}};function iR(e,t,n,r,a,c){return xe(),We("button",Wo(e.$attrs,{class:"gb-das-btn"}),dt(n.label),17)}var po=Kt(tR,[["render",iR]]),jn={data:function(){return{showForm:!0,formValidation:{}}},created(){console.log("mounted app step"),this.formValidation={},ut.on("validation-update",e=>{this.formValidation[e.name]=e.state}),ut.on("validation-remove",e=>{delete this.formValidation[e.name],delete this.form[e.name]}),this.loadLookups(),this.stepNumber&&setTimeout(()=>{ut.emit("STEP_UPDATE",{step:this.stepNumber})},500)},mounted(){ut.emit("STEP_UPDATE",{step:this.stepNumber}),rt.forceAppReference&&this.requiresAppReference&&this.$store.state.appState.applicationReferenceNumber==null&&(this.$store.dispatch("appState/updateState",{nextStep:"BasicInformation"}),ut.emit("SYS_MESSAGE",{type:"flash",msg:"Ooops, You seemed to have skipped a step or refreshed your browser, please start again"}))},props:["type"],methods:{trySubmit(){ut.emit("set-custom-validation-message",null),this.canProceedToNextStep?this.submitStep():(ut.emit("set-custom-validation-message","Please make sure all below fields have been completed"),ut.emit("set-field-interaction",!0))},loadLookups(){const{dispatch:e}=this.$store;e("categoryData/loadAll",{})},submitStep(){let e=this.form;this.$store.dispatch(this.storePrefix+"/send",e)}},computed:{validationResults(){return this.$store.state[this.storePrefix]?this.$store.state[this.storePrefix].data.validationResults:null},errorMessage(){return this.$store.state[this.storePrefix]?this.$store.state[this.storePrefix].data.message:null},posting(){return this.$store.state[this.storePrefix]?this.$store.state[this.storePrefix].posting:!1},canProceedToNextStep(){if(rt.mockData&&rt.dev)return!0;let e=!0;
36return Object.keys(this.formValidation).forEach(t=>{e=e&&this.formValidation[t]}),e}},watch:{posting(){return this.$store.state[this.storePrefix]?this.$store.state[this.storePrefix].posting:!1},validationResults(){if(this.validationResults!=null&&this.validationResults.length>0){let e="";this.validationResults.forEach(t=>{if(t.outcome==="Failed"){let n=t.fieldName;this.$refs[n]==null&&t.fieldName.indexOf(".")!=-1&&(n=t.fieldName.substring(0,t.fieldName.indexOf("."))),this.$refs[n]?(console.log("ref",n,this.$refs[n]),console.log("message",t.message)):(e+="<li>"+t.fieldName+": "+t.message,console.log("Could not find field "+t.fieldName))}}),e.length>0&&ut.emit("SYS_MESSAGE",e)}}},beforeUnmount(){ut.off("validation-update"),ut.off("validation-remove")}};let al,cp,zb=0,ea=null,yn={},ra={};const F1={group:"__default_quasar_group__",delay:0,message:!1,html:!1,spinnerSize:80,spinnerColor:"",messageColor:"",backgroundColor:"",boxClass:"",spinner:wh,customClass:""},D1={...F1};function nR(e){if(e&&e.group!==void 0&&ra[e.group]!==void 0)return Object.assign(ra[e.group],e);const t=ba(e)===!0&&e.ignoreDefaults===!0?{...F1,...e}:{...D1,...e};return ra[t.group]=t,t}const qn=tc({isActive:!1},{show(e){yn=nR(e);const{group:t}=yn;return qn.isActive=!0,al!==void 0?(yn.uid=zb,cp.$forceUpdate()):(yn.uid=++zb,ea!==null&&clearTimeout(ea),ea=setTimeout(()=>{ea=null;const n=Ym("q-loading");al=Zx({name:"QLoading",setup(){Rn(()=>{Yp(!0)});function r(){qn.isActive!==!0&&al!==void 0&&(Yp(!1),al.unmount(n),c1(n),al=void 0,cp=void 0)}function a(){if(qn.isActive!==!0)return null;const c=[Se(yn.spinner,{class:"q-loading__spinner",color:yn.spinnerColor,size:yn.spinnerSize})];return yn.message&&c.push(Se("div",{class:"q-loading__message"+(yn.messageColor?` text-${yn.messageColor}`:""),[yn.html===!0?"innerHTML":"textContent"]:yn.message})),Se("div",{class:"q-loading fullscreen flex flex-center z-max "+yn.customClass.trim(),key:yn.uid},[Se("div",{class:"q-loading__backdrop"+(yn.backgroundColor?` bg-${yn.backgroundColor}`:"")}),Se("div",{class:"q-loading__box column items-center "+yn.boxClass},c)])}return()=>Se(qr,{name:"q-transition--fade",appear:!0,onAfterLeave:r},a)}},qn.__parentApp),cp=al.mount(n)},yn.delay)),n=>{if(n===void 0||Object(n)!==n){qn.hide(t);return}qn.show({...n,group:t})}},hide(e){if(qn.isActive===!0){if(e===void 0)ra={};else{if(ra[e]===void 0)return;{delete ra[e];const t=Object.keys(ra);if(t.length!==0){const n=t[t.length-1];qn.show({group:n});return}}}ea!==null&&(clearTimeout(ea),ea=null),qn.isActive=!1}},setDefaults(e){ba(e)===!0&&Object.assign(D1,e)},install({$q:e,parentApp:t}){e.loading=this,qn.__parentApp=t,e.config.loading!==void 0&&this.setDefaults(e.config.loading)}});const oR={name:"C_Processing",setup(){return{htmlUtils:O1()}},props:{show:{required:!1}},created(){},watch:{show(e){e?qn.show():(this.htmlUtils.smoothScrollTo(0,1e3),setTimeout(()=>{qn.hide()},400))}}};function rR(e,t,n,r,a,c){return ht("",!0)}var Oo=Kt(oR,[["render",rR]]);const sR={name:"C_ApplicationForm_AdditionalInfo",setup(){const e=Gi();return e.clearCampaignCode(),{tfg:e}},mixins:[jn],components:{C_Radio:oc,C_QA:Mo,C_Form:Po,C_Select:Ta,C_Checkbox:Ea,C_Button:po,C_Processing:Oo},props:{},data(){return{showPipPopup:!1,storePrefix:"additionalInfo",stepNumber:1,requiresAppReference:!0,form:{spousePermission:!1}}},beforeRouteLeave(e,t){if(this.tfg.userPressedBack(e))return!1},created(){rt.fakeData&&rt.fakeDataConfig.additionalInfo&&(this.form=fo().additionalInfo,Object.keys(this.form).length>1&&setTimeout(()=>{ut.emit("set-field-interaction",!0)},200))},watch:{"form.maritalStatus"(e){e&&(this.form.spousePermission=!1)}},computed:{formHints(){return jr},formValidations(){return $r},ethnicGroups(){return this.$store.state.categoryData.data.ethnicGroups},maritalStatus(){return this.$store.state.categoryData.data.maritalStatus}}},aR={class:"section-wrapper"},lR={key:0,class:"AdditionalInformation"},uR=N("h2",{class:"gb-das-heading"}," Please complete all fields below ",-1),cR=N("p",null," This only applies if you are married in community of property, or by customary law (prior to November 2000) or if you are in a polygamous marriage. If so, please confirm that you have permission from your spouse(s) to enter into this agreement ",-1);const dR=N("br",null,null,-1),hR=N("br",null,null,-1),fR=N("br",null,null,-1),pR=N("br",null,null,-1),mR=N("div",{style:{clear:"both"}},null,-1),gR=N("p",null,[Ze(" The National Credit Regulator requests us to obtain your ethnicity for statistical reporting purposes."),N("br"),N("i",null,"You have the option to not answer, in the drop-down selection below.")],-1),yR=["value"];function vR(e,t,n,r,a,c){const p=ze("C_Processing"),w=ze("C_Select"),_=ze("C_Checkbox"),T=ze("C_Radio"),A=ze("C_Button"),P=ze("C_Form"),O=ze("C_QA");return xe(),We("section",aR,[fe(p,{show:e.posting},null,8,["show"]),fe(P,{novalidate:"",class:"accounts-form",ref:"form","validation-results":e.validationResults,errorMessage:e.errorMessage},{default:_t(()=>[e.showForm?(xe(),We("div",lR,[uR,fe(w,{mandatory:!0,modelValue:a.form.maritalStatus,"onUpdate:modelValue":t[0]||(t[0]=B=>a.form.maritalStatus=B),label:"Marital Status",ref:"MaritalStatus",id:"account-app-marital-status",name:"maritalStatus",validations:c.formValidations.additionalInformation.maritalStatus,options:c.maritalStatus},null,8,["modelValue","validations","options"]),a.form.maritalStatus==="M"?(xe(),We($t,{key:0},[cR,fe(_,{modelValue:a.form.spousePermission,"onUpdate:modelValue":t[1]||(t[1]=B=>a.form.spousePermission=B),ref:"SpousePermission",id:"spouse-permission",
36name:"spousePermission","use-label":!0},{default:_t(()=>[Ze(" Yes, I have received permission from my spouse to sign up for a TFG Account. ")]),_:1},8,["modelValue"])],64)):ht("",!0),ht("",!0),dR,fe(T,{mandatory:!0,modelValue:a.form.pipRelationship,"onUpdate:modelValue":t[4]||(t[4]=B=>a.form.pipRelationship=B),type:"radio",name:"pipRelationship",ref:"pipRelationship",iddd:"payslip-permission-yes",labels:[{label:"Yes",value:!0},{label:"No",value:!1}],label:"",required:"",validations:c.formValidations.additionalInformation.pipRelationship,"radio-value":!0},{label:_t(()=>[Ze(" Are you a\xA0 "),N("span",{style:{"text-decoration":"underline"},onClick:t[3]||(t[3]=B=>a.showPipPopup=!0)},"Prominent Influential Person, Politically Exposed Person"),Ze(", "),hR,Ze("or directly related to someone who is? "),fR]),_:1},8,["modelValue","validations"]),pR,fe(jl,{modelValue:a.showPipPopup,"onUpdate:modelValue":t[6]||(t[6]=B=>a.showPipPopup=B)},{default:_t(()=>[fe(t1,null,{default:_t(()=>[fe(e1,{style:{background:"white"},class:"q-pa-md"},{default:_t(()=>[N("div",null,[fe(qd,{icon:"close",dense:"",style:{float:"right"},flat:"",round:"",onClick:t[5]||(t[5]=B=>a.showPipPopup=!1)}),mR,Ze(" This is an individual entrusted with prominent public functions either domestically or in a foreign country. Examples include heads of governments, political party officials. This terms also includes immediate family members and close associates. ")])]),_:1})]),_:1})]),_:1},8,["modelValue"]),gR,fe(w,{mandatory:!0,modelValue:a.form.ethnicGroup,"onUpdate:modelValue":t[7]||(t[7]=B=>a.form.ethnicGroup=B),ref:"EthnicGroup",label:"Ethnic Group",id:"account-app-ethnic-group",name:"ethnicGroup",hint:c.formHints.additionalInformation.ethnicGroup,validations:c.formValidations.additionalInformation.ethnicGroup,options:c.ethnicGroups},{default:_t(()=>[(xe(!0),We($t,null,Vr(c.ethnicGroups,B=>(xe(),We("option",{value:B.id,key:B.id},dt(B.name),9,yR))),128))]),_:1},8,["modelValue","hint","validations","options"])])):ht("",!0),fe(A,{label:"Next",onClick:e.trySubmit,class:ji({"btn-disabled":!e.canProceedToNextStep})},null,8,["onClick","class"])]),_:1},8,["validation-results","errorMessage"]),fe(O,{form:a.form,validations:e.formValidation},null,8,["form","validations"])])}var bR=Kt(sR,[["render",vR]]);const jb={date:"####/##/##",datetime:"####/##/## ##:##",time:"##:##",fulltime:"##:##:##",phone:"(###) ### - ####",card:"#### #### #### ####"},Yd={"#":{pattern:"[\\d]",negate:"[^\\d]"},S:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]"},N:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]"},A:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]",transform:e=>e.toLocaleUpperCase()},a:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]",transform:e=>e.toLocaleLowerCase()},X:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]",transform:e=>e.toLocaleUpperCase()},x:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]",transform:e=>e.toLocaleLowerCase()}},B1=Object.keys(Yd);B1.forEach(e=>{Yd[e].regex=new RegExp(Yd[e].pattern)});const xR=new RegExp("\\\\([^.*+?^${}()|([\\]])|([.*+?^${}()|[\\]])|(["+B1.join("")+"])|(.)","g"),$b=/[.*+?^${}()|[\]\\]/g,nn=String.fromCharCode(1),wR={mask:String,reverseFillMask:Boolean,fillMask:[Boolean,String],unmaskedValue:Boolean};function SR(e,t,n,r){let a,c,p,w,_,T;const A=Ke(null),P=Ke(B());function O(){return e.autogrow===!0||["textarea","text","search","url","tel","password"].includes(e.type)}Ft(()=>e.type+e.autogrow,U),Ft(()=>e.mask,re=>{if(re!==void 0)J(P.value,!0);else{const de=v(P.value);U(),e.modelValue!==de&&t("update:modelValue",de)}}),Ft(()=>e.fillMask+e.reverseFillMask,()=>{A.value===!0&&J(P.value,!0)}),Ft(()=>e.unmaskedValue,()=>{A.value===!0&&J(P.value)});function B(){if(U(),A.value===!0){const re=G(v(e.modelValue));return e.fillMask!==!1?me(re):re}return e.modelValue}function z(re){if(re<a.length)return a.slice(-re);let de="",Oe=a;const oe=Oe.indexOf(nn);if(oe!==-1){for(let Ee=re-Oe.length;Ee>0;Ee--)de+=nn;Oe=Oe.slice(0,oe)+de+Oe.slice(oe)}return Oe}function U(){if(A.value=e.mask!==void 0&&e.mask.length!==0&&O(),A.value===!1){w=void 0,a="",c="";return}const re=jb[e.mask]===void 0?e.mask:jb[e.mask],de=typeof e.fillMask=="str
36ing"&&e.fillMask.length!==0?e.fillMask.slice(0,1):"_",Oe=de.replace($b,"\\$&"),oe=[],Ee=[],Pe=[];let Je=e.reverseFillMask===!0,Fe="",Ae="";re.replace(xR,(Te,ve,ft,Pt,jt)=>{if(Pt!==void 0){const Ge=Yd[Pt];Pe.push(Ge),Ae=Ge.negate,Je===!0&&(Ee.push("(?:"+Ae+"+)?("+Ge.pattern+"+)?(?:"+Ae+"+)?("+Ge.pattern+"+)?"),Je=!1),Ee.push("(?:"+Ae+"+)?("+Ge.pattern+")?")}else if(ft!==void 0)Fe="\\"+(ft==="\\"?"":ft),Pe.push(ft),oe.push("([^"+Fe+"]+)?"+Fe+"?");else{const Ge=ve!==void 0?ve:jt;Fe=Ge==="\\"?"\\\\\\\\":Ge.replace($b,"\\\\$&"),Pe.push(Ge),oe.push("([^"+Fe+"]+)?"+Fe+"?")}});const Ve=new RegExp("^"+oe.join("")+"("+(Fe===""?".":"[^"+Fe+"]")+"+)?"+(Fe===""?"":"["+Fe+"]*")+"$"),Mt=Ee.length-1,Et=Ee.map((Te,ve)=>ve===0&&e.reverseFillMask===!0?new RegExp("^"+Oe+"*"+Te):ve===Mt?new RegExp("^"+Te+"("+(Ae===""?".":Ae)+"+)?"+(e.reverseFillMask===!0?"$":Oe+"*")):new RegExp("^"+Te));p=Pe,w=Te=>{const ve=Ve.exec(e.reverseFillMask===!0?Te:Te.slice(0,Pe.length+1));ve!==null&&(Te=ve.slice(1).join(""));const ft=[],Pt=Et.length;for(let jt=0,Ge=Te;jt<Pt;jt++){const ge=Et[jt].exec(Ge);if(ge===null)break;Ge=Ge.slice(ge.shift().length),ft.push(...ge)}return ft.length!==0?ft.join(""):Te},a=Pe.map(Te=>typeof Te=="string"?Te:nn).join(""),c=a.split(nn).join(de)}function J(re,de,Oe){const oe=r.value,Ee=oe.selectionEnd,Pe=oe.value.length-Ee,Je=v(re);de===!0&&U();const Fe=G(Je),Ae=e.fillMask!==!1?me(Fe):Fe,Ve=P.value!==Ae;oe.value!==Ae&&(oe.value=Ae),Ve===!0&&(P.value=Ae),document.activeElement===oe&&Ai(()=>{if(Ae===c){const Et=e.reverseFillMask===!0?c.length:0;oe.setSelectionRange(Et,Et,"forward");return}if(Oe==="insertFromPaste"&&e.reverseFillMask!==!0){const Et=oe.selectionEnd;let Te=Ee-1;for(let ve=_;ve<=Te&&ve<Et;ve++)a[ve]!==nn&&Te++;Y.right(oe,Te);return}if(["deleteContentBackward","deleteContentForward"].indexOf(Oe)!==-1){const Et=e.reverseFillMask===!0?Ee===0?Ae.length>Fe.length?1:0:Math.max(0,Ae.length-(Ae===c?0:Math.min(Fe.length,Pe)+1))+1:Ee;oe.setSelectionRange(Et,Et,"forward");return}if(e.reverseFillMask===!0)if(Ve===!0){const Et=Math.max(0,Ae.length-(Ae===c?0:Math.min(Fe.length,Pe+1)));Et===1&&Ee===1?oe.setSelectionRange(Et,Et,"forward"):Y.rightReverse(oe,Et)}else{const Et=Ae.length-Pe;oe.setSelectionRange(Et,Et,"backward")}else if(Ve===!0){const Et=Math.max(0,a.indexOf(nn),Math.min(Fe.length,Ee)-1);Y.right(oe,Et)}else{const Et=Ee-1;Y.right(oe,Et)}});const Mt=e.unmaskedValue===!0?v(Ae):Ae;String(e.modelValue)!==Mt&&(e.modelValue!==null||Mt!=="")&&n(Mt,!0)}function ee(re,de,Oe){const oe=G(v(re.value));de=Math.max(0,a.indexOf(nn),Math.min(oe.length,de)),_=de,re.setSelectionRange(de,Oe,"forward")}const Y={left(re,de){const Oe=a.slice(de-1).indexOf(nn)===-1;let oe=Math.max(0,de-1);for(;oe>=0;oe--)if(a[oe]===nn){de=oe,Oe===!0&&de++;break}if(oe<0&&a[de]!==void 0&&a[de]!==nn)return Y.right(re,0);de>=0&&re.setSelectionRange(de,de,"backward")},right(re,de){const Oe=re.value.length;let oe=Math.min(Oe,de+1);for(;oe<=Oe;oe++)if(a[oe]===nn){de=oe;break}else a[oe-1]===nn&&(de=oe);if(oe>Oe&&a[de-1]!==void 0&&a[de-1]!==nn)return Y.left(re,Oe);re.setSelectionRange(de,de,"forward")},leftReverse(re,de){const Oe=z(re.value.length);let oe=Math.max(0,de-1);for(;oe>=0;oe--)if(Oe[oe-1]===nn){de=oe;break}else if(Oe[oe]===nn&&(de=oe,oe===0))break;if(oe<0&&Oe[de]!==void 0&&Oe[de]!==nn)return Y.rightReverse(re,0);de>=0&&re.setSelectionRange(de,de,"backward")},rightReverse(re,de){const Oe=re.value.length,oe=z(Oe),Ee=oe.slice(0,de+1).indexOf(nn)===-1;let Pe=Math.min(Oe,de+1);for(;Pe<=Oe;Pe++)if(oe[Pe-1]===nn){de=Pe,de>0&&Ee===!0&&de--;break}if(Pe>Oe&&oe[de-1]!==void 0&&oe[de-1]!==nn)return Y.leftReverse(re,Oe);re.setSelectionRange(de,de,"forward")}};function q(re){t("click",re),T=void 0}function $(re){if(t("keydown",re),Nm(re)===!0||re.altKey===!0)return;const de=r.value,Oe=de.selectionStart,oe=de.selectionEnd;if(re.shiftKey||(T=void 0),re.keyCode===37||re.keyCode===39){re.shiftKey&&T===void 0&&(T=de.selectionDirection==="forward"?Oe:oe);const Ee=Y[(re.keyCode===39?"right":"left")+(e.reverseFillMask===!0?"Reverse":"")];if(re.preventDefault(),Ee(de,T===Oe?oe:Oe),re.shiftKey){const Pe=de.selectionStart;de.setSelectionRange(Math.min(T,Pe),Math.max(T,Pe),"forward")}}else re.keyCode===8&&e.reverseFillMask!==!0&&Oe===oe?(Y.left(de,Oe),de.setSelectionRange(de.selectionStart,oe,"backward")):re.keyCode===46&&e.reverseFillMask===!0&&Oe===oe&&(Y.rightRever
36se(de,oe),de.setSelectionRange(Oe,de.selectionEnd,"forward"))}function G(re){if(re==null||re==="")return"";if(e.reverseFillMask===!0)return X(re);const de=p;let Oe=0,oe="";for(let Ee=0;Ee<de.length;Ee++){const Pe=re[Oe],Je=de[Ee];if(typeof Je=="string")oe+=Je,Pe===Je&&Oe++;else if(Pe!==void 0&&Je.regex.test(Pe))oe+=Je.transform!==void 0?Je.transform(Pe):Pe,Oe++;else return oe}return oe}function X(re){const de=p,Oe=a.indexOf(nn);let oe=re.length-1,Ee="";for(let Pe=de.length-1;Pe>=0&&oe!==-1;Pe--){const Je=de[Pe];let Fe=re[oe];if(typeof Je=="string")Ee=Je+Ee,Fe===Je&&oe--;else if(Fe!==void 0&&Je.regex.test(Fe))do Ee=(Je.transform!==void 0?Je.transform(Fe):Fe)+Ee,oe--,Fe=re[oe];while(Oe===Pe&&Fe!==void 0&&Je.regex.test(Fe));else return Ee}return Ee}function v(re){return typeof re!="string"||w===void 0?typeof re=="number"?w(""+re):re:w(re)}function me(re){return c.length-re.length<=0?re:e.reverseFillMask===!0&&re.length!==0?c.slice(0,-re.length)+re:re+c.slice(re.length)}return{innerValue:P,hasMask:A,moveCursorForPaste:ee,updateMaskValue:J,onMaskedKeydown:$,onMaskedClick:q}}function _R(e,t){function n(){const r=e.modelValue;try{const a="DataTransfer"in window?new DataTransfer:"ClipboardEvent"in window?new ClipboardEvent("").clipboardData:void 0;return Object(r)===r&&("length"in r?Array.from(r):[r]).forEach(c=>{a.items.add(c)}),{files:a.files}}catch{return{files:void 0}}}return ce(t===!0?()=>{if(e.type==="file")return n()}:n)}var wu=$i({name:"QInput",inheritAttrs:!1,props:{...Th,...wR,...Ch,modelValue:{required:!1},shadowText:String,type:{type:String,default:"text"},debounce:[String,Number],autogrow:Boolean,inputClass:[Array,String,Object],inputStyle:[Array,String,Object]},emits:[...Km,"paste","change","keydown","click","animationend"],setup(e,{emit:t,attrs:n}){const{proxy:r}=ri(),{$q:a}=r,c={};let p=NaN,w,_,T=null,A;const P=Ke(null),O=M1(e),{innerValue:B,hasMask:z,moveCursorForPaste:U,updateMaskValue:J,onMaskedKeydown:ee,onMaskedClick:Y}=SR(e,t,Fe,P),q=_R(e,!0),$=ce(()=>zu(B.value)),G=N1(Pe),X=Qm(),v=ce(()=>e.type==="textarea"||e.autogrow===!0),me=ce(()=>v.value===!0||["text","search","url","tel","password"].includes(e.type)),re=ce(()=>{const ve={...X.splitAttrs.listeners.value,onInput:Pe,onPaste:Ee,onChange:Ve,onBlur:Mt,onFocus:hr};return ve.onCompositionstart=ve.onCompositionupdate=ve.onCompositionend=G,z.value===!0&&(ve.onKeydown=ee,ve.onClick=Y),e.autogrow===!0&&(ve.onAnimationend=Je),ve}),de=ce(()=>{const ve={tabindex:0,"data-autofocus":e.autofocus===!0||void 0,rows:e.type==="textarea"?6:void 0,"aria-label":e.label,name:O.value,...X.splitAttrs.attributes.value,id:X.targetUid.value,maxlength:e.maxlength,disabled:e.disable===!0,readonly:e.readonly===!0};return v.value===!1&&(ve.type=e.type),e.autogrow===!0&&(ve.rows=1),ve});Ft(()=>e.type,()=>{P.value&&(P.value.value=e.modelValue)}),Ft(()=>e.modelValue,ve=>{if(z.value===!0){if(_===!0&&(_=!1,String(ve)===p))return;J(ve)}else B.value!==ve&&(B.value=ve,e.type==="number"&&c.hasOwnProperty("value")===!0&&(w===!0?w=!1:delete c.value));e.autogrow===!0&&Ai(Ae)}),Ft(()=>e.autogrow,ve=>{ve===!0?Ai(Ae):P.value!==null&&n.rows>0&&(P.value.style.height="auto")}),Ft(()=>e.dense,()=>{e.autogrow===!0&&Ai(Ae)});function Oe(){Sh(()=>{const ve=document.activeElement;P.value!==null&&P.value!==ve&&(ve===null||ve.id!==X.targetUid.value)&&P.value.focus({preventScroll:!0})})}function oe(){P.value!==null&&P.value.select()}function Ee(ve){if(z.value===!0&&e.reverseFillMask!==!0){const ft=ve.target;U(ft,ft.selectionStart,ft.selectionEnd)}t("paste",ve)}function Pe(ve){if(!ve||!ve.target)return;if(e.type==="file"){t("update:modelValue",ve.target.files);return}const ft=ve.target.value;if(ve.target.qComposing===!0){c.value=ft;return}if(z.value===!0)J(ft,!1,ve.inputType);else if(Fe(ft),me.value===!0&&ve.target===document.activeElement){const{selectionStart:Pt,selectionEnd:jt}=ve.target;Pt!==void 0&&jt!==void 0&&Ai(()=>{ve.target===document.activeElement&&ft.indexOf(ve.target.value)===0&&ve.target.setSelectionRange(Pt,jt)}
36)}e.autogrow===!0&&Ae()}function Je(ve){t("animationend",ve),Ae()}function Fe(ve,ft){A=()=>{T=null,e.type!=="number"&&c.hasOwnProperty("value")===!0&&delete c.value,e.modelValue!==ve&&p!==ve&&(p=ve,ft===!0&&(_=!0),t("update:modelValue",ve),Ai(()=>{p===ve&&(p=NaN)})),A=void 0},e.type==="number"&&(w=!0,c.value=ve),e.debounce!==void 0?(T!==null&&clearTimeout(T),c.value=ve,T=setTimeout(A,e.debounce)):A()}function Ae(){requestAnimationFrame(()=>{const ve=P.value;if(ve!==null){const ft=ve.parentNode.style,{scrollTop:Pt}=ve,{overflowY:jt,maxHeight:Ge}=a.platform.is.firefox===!0?{}:window.getComputedStyle(ve),ge=jt!==void 0&&jt!=="scroll";ge===!0&&(ve.style.overflowY="hidden"),ft.marginBottom=ve.scrollHeight-1+"px",ve.style.height="1px",ve.style.height=ve.scrollHeight+"px",ge===!0&&(ve.style.overflowY=parseInt(Ge,10)<ve.scrollHeight?"auto":"hidden"),ft.marginBottom="",ve.scrollTop=Pt}})}function Ve(ve){G(ve),T!==null&&(clearTimeout(T),T=null),A!==void 0&&A(),t("change",ve.target.value)}function Mt(ve){ve!==void 0&&hr(ve),T!==null&&(clearTimeout(T),T=null),A!==void 0&&A(),w=!1,_=!1,delete c.value,e.type!=="file"&&setTimeout(()=>{P.value!==null&&(P.value.value=B.value!==void 0?B.value:"")}
36)}function Et(){return c.hasOwnProperty("value")===!0?c.value:B.value!==void 0?B.value:""}Ci(()=>{Mt()}),Rn(()=>{e.autogrow===!0&&Ae()}),Object.assign(X,{innerValue:B,fieldClass:ce(()=>`q-${v.value===!0?"textarea":"input"}`+(e.autogrow===!0?" q-textarea--autogrow":"")),hasShadow:ce(()=>e.type!=="file"&&typeof e.shadowText=="string"&&e.shadowText.length!==0),inputRef:P,emitValue:Fe,hasValue:$,floatingLabel:ce(()=>$.value===!0&&(e.type!=="number"||isNaN(B.value)===!1)||zu(e.displayValue)),getControl:()=>Se(v.value===!0?"textarea":"input",{ref:P,class:["q-field__native q-placeholder",e.inputClass],style:e.inputStyle,...de.value,...re.value,...e.type!=="file"?{value:Et()}:q.value}),getShadowControl:()=>Se("div",{class:"q-field__native q-field__shadow absolute-bottom no-pointer-events"+(v.value===!0?"":" text-no-wrap")},[Se("span",{class:"invisible"},Et()),Se("span",e.shadowText)])});const Te=Zm(X);return Object.assign(r,{focus:Oe,select:oe,getNativeElement:()=>P.value}),Bl(r,"nativeEl",()=>P.value),Te}});const CR={name:"C_Input",setup(e){const t=Ju(),n=Ke(e.modelValue);return{validation:kh(n,e,"text",t),control_value:n}},mixins:[Ah],methods:{focus(){this.validation.setErrorHidden(!0),this.showHint=!1},blur(){this.showHint=!0},preventDisallowedCharacters(e){let t=!1;if((e.key==="Delete"||e.key==="Tab"||e.key==="Shift"||e.key==="Backspace"||e.key==="Control"||e.key==="ArrowLeft"||e.key==="ArrowRight")&&(t=!0),!t&&this.numeric){const n=e.key;"0123456789".indexOf(n)===-1&&e.preventDefault()}}},props:{numeric:{type:Boolean,default:!1},secondary:Boolean,prependIconSlot:Boolean},watch:{control_value(){typeof this.control_value=="string"&&(this.control_value=this.control_value.trimStart()),this.numeric&&this.control_value&&this.control_value.length>0&&(this.control_value=this.control_value.replace(/[^0-9]/g,""))}},beforeUnmount(){this.validation.removeFromForm()},data(){return{showHint:!1}},computed:{myHint(){return this.validation.errorHidden.value?this.hint:!this.validation.hasBeenInteractedWith.value||this.control_value&&this.control_value.length>0&&(this.validation.isValid.value||!this.showHint)?void 0:this.hint},config(){return rt},secondary_classes(){return{"form-control":!0,"secondary-input":this.secondary}},wrapper_classes(){return{"icon-slot--left":this.prependIconSlot,focus:this.focused,"hide--label":this.control_value}}}},kR=["for"],AR={key:1,style:{border:"0px solid black"},class:"ext-label"},TR=["innerHTML"],ER={key:4,class:"form-control__context-icons"},MR={key:1},PR=N("img",{class:"form-control__valid-check",src:R1,alt:""},null,-1),OR=[PR],IR={key:0,class:"form-control__error"},LR={key:1,class:"form-control__hint"};function NR(e,t,n,r,a,c){return xe(),We("div",{class:ji(["form-group",r.validation.validationClasses.value])},[N("div",{class:ji(["form-control__wrapper",c.wrapper_classes]),style:Hr(e.fieldStyle)},[!c.config.useQuasar&&e.label?(xe(),We("label",{key:0,for:e.control_id,class:"form-control__label"},dt(e.label),9,kR)):ht("",!0),e.externalLabel?(xe(),We("div",AR,dt(e.label),1)):ht("",!0),c.config.useQuasar?(xe(),Rt(wu,Wo({key:2,outlined:"",dense:"",class:"tfg-input",label:e.externalLabel?e.innerLabel:e.label,"stack-label":!1,autocomplete:"off",color:"primary",hint:c.myHint,error:!r.validation.isValid.value,"error-message":r.validation.theErrors.value[0],"no-error-icon":"","hide-bottom-space":!0,maxlength:e.maxlength},e.$attrs,{onFocus:[t[0]||(t[0]=p=>{c.focus(),e.$emit("focus")}),t[4]||(t[4]=p=>r.validation.setInteracted())],onBlur:[t[1]||(t[1]=p=>{c.blur(),e.$emit("blur")}),t[3]||(t[3]=p=>r.validation.checkValid())],onKeydown:c.preventDisallowedCharacters,onKeyup:t[2]||(t[2]=p=>r.validation.checkValid(!0)),modelValue:r.control_value,"onUpdate:modelValue":t[5]||(t[5]=p=>r.control_value=p)}),null,16,["label","hint","error","error-message","maxlength","onKeydown","modelValue"])):ht("",!0),c.myHint&&e.subHint&&r.validation.isValid?(xe(),We("div",{key:3,innerHTML:e.subHint,style:{padding:"15px","font-size":"10px","text-align":"left"}},null,8,TR)):ht("",!0),r.validation.hideValidation.value?ht("",!0):(xe(),We("span",ER,[e.$slots.icon?co(e.$slots,"icon",{key:0}):r.validation.isValid.value&&!r.validation.errorHidden.value&&r.control_value?(xe(),We("span",MR,OR)):ht("",!0)]))],6),r.validation.showError.value&&!r.validation.hideValidation.value?(xe(),We("div",IR)):(xe(),We("div",LR,[co(e.$slots,"hint")]))],2)}var Fs=Kt(CR,[["render",NR]]);const RR={name:"C_ApplicationForm_AdditionalInfoThin",setup(){return{tfg:Gi()}},mixins:[jn],components:{C_QA:Mo,C_Checkbox:Ea,C_Form:Po,C_Button:po,C_Select:Ta,C_Input:Fs,C_Processing:Oo},props:{},data(){return{storePrefix:"additionalInfo",requiresAppReference:!0,stepNumber:1,form:{fromThin:!0,creditCardNA:!1}}},beforeRouteLeave(e,t){if(this.tfg.userPressedBack(e))return!1},created(){rt.fakeData&&rt.fakeDataConfig.additionalInfoThin&&(this.form=fo().additionalInfoThin,Object.keys(this.form).length>1&&setTimeout(()=>{ut.emit("set-field-interaction",!0)},200))},computed:{formHints(){return jr},formValidations(){return $r},ccYears(){let e=[],t=new Date().getFullYear();e.push(t);for(let n=0;n<4;n++)e.push(++t);return e}}},FR={class:"section-wrapper"},DR={key:0,class:"AdditionalInformationThin"},BR=N("h2",{class:"gb-das-heading"}," Please tell us more about yourself ",-1);function VR(e,t,n,r,a,c){const p=ze("C_Processing"),w=ze("C_Input"),_=ze("C_Checkbox"),T=ze("C_Select"),A=ze("C_Button"),P=ze("C_Form"),O=ze("C_QA");return xe(),We("section",FR,[fe(p,{show:e.posting},null,8,["show"]),fe(P,{novalidate:"",class:"accounts-form",ref:"form","validation-results":e.validationResults,errorMessage:e.errorMessage},{default:_t(()=>[(xe(),We("div",DR,[BR,fe(w,{mandatory:!0,modelValue:a.form.numberOfDepen
36dents,"onUpdate:modelValue":t[0]||(t[0]=B=>a.form.numberOfDependents=B),label:"Number of Dependants",id:"numberOfDependents",ref:"NumberOfDependents",validations:c.formValidations.additionalInformationThin.numberOfDependents,name:"numberOfDependents",maxlength:1,hint:c.formHints.additionalInformationThin.numberOfDependents,type:"text",numeric:!0},null,8,["modelValue","validations","hint"]),fe(w,{mandatory:!0,modelValue:a.form.yearsAtBank,"onUpdate:modelValue":t[1]||(t[1]=B=>a.form.yearsAtBank=B),label:"Years at Current Bank",id:"yearsAtBank",ref:"YearsAtBank",type:"text",numeric:!0,name:"yearsAtBank",maxlength:2,validations:c.formValidations.additionalInformationThin.yearsAtBank,hint:c.formHints.additionalInformationThin.yearsAtBank},null,8,["modelValue","validations","hint"]),N("p",null,[Ze(" Credit Card Expiry Date "),fe(_,{mandatory:!0,modelValue:a.form.creditCardNA,"onUpdate:modelValue":t[2]||(t[2]=B=>a.form.creditCardNA=B),id:"ccNA",name:"creditCardNotApplicable","use-label":!0},{default:_t(()=>[Ze(" N/A ")]),_:1},8,["modelValue"])]),a.form.creditCardNA?ht("",!0):(xe(),Rt(T,{key:0,mandatory:!0,modelValue:a.form.creditCardExpiryMonth,"onUpdate:modelValue":t[3]||(t[3]=B=>a.form.creditCardExpiryMonth=B),label:"Month",id:"creditCardExpiryMonth",ref:"CreditCardExpiryMonth",name:"creditCardExpiryMonth",maxlength:2,validations:c.formValidations.additionalInformationThin.ccExpiryDateMonth,hint:c.formHints.additionalInformationThin.creditCardExpiryMonth,options:["01","02","03","04","05","06","07","08","09","10","11","12"]},null,8,["modelValue","validations","hint"])),a.form.creditCardNA?ht("",!0):(xe(),Rt(T,{key:1,mandatory:!0,modelValue:a.form.creditCardExpiryYear,"onUpdate:modelValue":t[4]||(t[4]=B=>a.form.creditCardExpiryYear=B),label:"Year",id:"creditCardExpiryYear",ref:"CreditCardExpiryYear",name:"creditCardExpiryYear",maxlength:4,validations:c.formValidations.additionalInformationThin.ccExpiryDateYear,hint:c.formHints.additionalInformationThin.creditCardExpiryYear,options:c.ccYears},null,8,["modelValue","validations","hint","options"]))])),fe(A,{label:"Next",onClick:e.trySubmit,class:ji({"btn-disabled":!e.canProceedToNextStep})},null,8,["onClick","class"])]),_:1},8,["validation-results","errorMessage"]),fe(O,{form:a.form,validations:e.formValidation},null,8,["form","validations"])])}var qR=Kt(RR,[["render",VR]]),V1=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function HR(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function zR(e){if(e.__esModule)return e;var t=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach(function(n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}),t}var q1={exports:{}};/*! 37 * jQuery JavaScript Library v3.7.1 38 * https://jquery.com/ 39 * 40 * Copyright OpenJS Foundation and other contributors 41 * Released under the MIT license 42 * https://jquery.org/license 43 * 44 * Date: 2023-08-28T13:37Z 45 */(function(e){(function(t,n){e.exports=t.document?n(t,!0):function(r){if(!r.document)throw new Error("jQuery requires a window with a document");return n(r)}})(typeof window!="undefined"?window:V1,function(t,n){var r=[],a=Object.getPrototypeOf,c=r.slice,p=r.flat?function(h){return r.flat.call(h)}:function(h){return r.concat.apply([],h)},w=r.push,_=r.indexOf,T={},A=T.toString,P=T.hasOwnProperty,O=P.toString,B=O.call(Object),z={},U=function(g){return typeof g=="function"&&typeof g.nodeType!="number"&&typeof g.item!="function"},J=function(g){return g!=null&&g===g.window},ee=t.document,Y={type:!0,src:!0,nonce:!0,noModule:!0};function q(h,g,C){C=C||ee;var E,R,F=C.createElement("script");if(F.text=h,g)for(E in Y)R=g[E]||g.getAttribute&&g.getAttribute(E),R&&F.setAttribute(E,R);C.head.appendChild(F).parentNode.removeChild(F)}function $(h){return h==null?h+"":typeof h=="object"||typeof h=="function"?T[A.call(h)]||"object":typeof h}var G="3.7.1",X=/HTML$/i,v=function(h,g){return new v.fn.init(h,g)};v.fn=v.prototype={jquery:G,constructor:v,length:0,toArray:function(){return c.call(this)},get:function(h){return h==null?c.call(this):h<0?this[h+this.length]:this[h]},pushStack:function(h){var g=v.merge(this.constructor(),h);
vendor: 26,671 bytes, line 45
45return g.prevObject=this,g},each:function(h){return v.each(this,h)},map:function(h){return this.pushStack(v.map(this,function(g,C){return h.call(g,C,g)}))},slice:function(){return this.pushStack(c.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(v.grep(this,function(h,g){return(g+1)%2}))},odd:function(){return this.pushStack(v.grep(this,function(h,g){return g%2}))},eq:function(h){var g=this.length,C=+h+(h<0?g:0);return this.pushStack(C>=0&&C<g?[this[C]]:[])},end:function(){return this.prevObject||this.constructor()},push:w,sort:r.sort,splice:r.splice},v.extend=v.fn.extend=function(){var h,g,C,E,R,F,H=arguments[0]||{},ne=1,Z=arguments.length,pe=!1;for(typeof H=="boolean"&&(pe=H,H=arguments[ne]||{},ne++),typeof H!="object"&&!U(H)&&(H={}),ne===Z&&(H=this,ne--);ne<Z;ne++)if((h=arguments[ne])!=null)for(g in h)E=h[g],!(g==="__proto__"||H===E)&&(pe&&E&&(v.isPlainObject(E)||(R=Array.isArray(E)))?(C=H[g],R&&!Array.isArray(C)?F=[]:!R&&!v.isPlainObject(C)?F={}:F=C,R=!1,H[g]=v.extend(pe,F,E)):E!==void 0&&(H[g]=E));return H},v.extend({expando:"jQuery"+(G+Math.random()).replace(/\D/g,""),isReady:!0,error:function(h){throw new Error(h)},noop:function(){},isPlainObject:function(h){var g,C;return!h||A.call(h)!=="[object Object]"?!1:(g=a(h),g?(C=P.call(g,"constructor")&&g.constructor,typeof C=="function"&&O.call(C)===B):!0)},isEmptyObject:function(h){var g;for(g in h)return!1;return!0},globalEval:function(h,g,C){q(h,{nonce:g&&g.nonce},C)},each:function(h,g){var C,E=0;if(me(h))for(C=h.length;E<C&&g.call(h[E],E,h[E])!==!1;E++);else for(E in h)if(g.call(h[E],E,h[E])===!1)break;return h},text:function(h){var g,C="",E=0,R=h.nodeType;if(!R)for(;g=h[E++];)C+=v.text(g);return R===1||R===11?h.textContent:R===9?h.documentElement.textContent:R===3||R===4?h.nodeValue:C},makeArray:function(h,g){var C=g||[];return h!=null&&(me(Object(h))?v.merge(C,typeof h=="string"?[h]:h):w.call(C,h)),C},inArray:function(h,g,C){return g==null?-1:_.call(g,h,C)},isXMLDoc:function(h){var g=h&&h.namespaceURI,C=h&&(h.ownerDocument||h).documentElement;return!X.test(g||C&&C.nodeName||"HTML")},merge:function(h,g){for(var C=+g.length,E=0,R=h.length;E<C;E++)h[R++]=g[E];return h.length=R,h},grep:function(h,g,C){for(var E,R=[],F=0,H=h.length,ne=!C;F<H;F++)E=!g(h[F],F),E!==ne&&R.push(h[F]);return R},map:function(h,g,C){var E,R,F=0,H=[];if(me(h))for(E=h.length;F<E;F++)R=g(h[F],F,C),R!=null&&H.push(R);else for(F in h)R=g(h[F],F,C),R!=null&&H.push(R);return p(H)},guid:1,support:z}),typeof Symbol=="function"&&(v.fn[Symbol.iterator]=r[Symbol.iterator]),v.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(h,g){T["[object "+g+"]"]=g.toLowerCase()});function me(h){var g=!!h&&"length"in h&&h.length,C=$(h);return U(h)||J(h)?!1:C==="array"||g===0||typeof g=="number"&&g>0&&g-1 in h}function re(h,g){return h.nodeName&&h.nodeName.toLowerCase()===g.toLowerCase()}var de=r.pop,Oe=r.sort,oe=r.splice,Ee="[\\x20\\t\\r\\n\\f]",Pe=new RegExp("^"+Ee+"+|((?:^|[^\\\\])(?:\\\\.)*)"+Ee+"+$","g");v.contains=function(h,g){var C=g&&g.parentNode;return h===C||!!(C&&C.nodeType===1&&(h.contains?h.contains(C):h.compareDocumentPosition&&h.compareDocumentPosition(C)&16))};var Je=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function Fe(h,g){return g?h==="\0"?"\uFFFD":h.slice(0,-1)+"\\"+h.charCodeAt(h.length-1).toString(16)+" ":"\\"+h}v.escapeSelector=function(h){return(h+"").replace(Je,Fe)};var Ae=ee,Ve=w;(function(){var h,g,C,E,R,F=Ve,H,ne,Z,pe,Ie,Be=v.expando,_e=0,et=0,qt=qa(),ni=qa(),Yt=qa(),Fi=qa(),Wi=function(K,ue){return K===ue&&(R=!0),0},eo="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",bo="(?:\\\\[\\da-fA-F]{1,6}"+Ee+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",ii="\\["+Ee+"*("+bo+")(?:"+Ee+"*([*^$|!~]?=)"+Ee+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+bo+"))|)"+Ee+"*\\]",Cr=":("+bo+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+ii+")*)|.*)\\)|)",Zt=new RegExp(Ee+"+","g"),Ei=new RegExp("^"+Ee+"*,"+Ee+"*"),rr=new RegExp("^"+Ee+"*([>+~]|"+Ee+")"+Ee+"*"),ts=new RegExp(Ee+"|>"),xo=new RegExp(Cr),is=new RegExp("^"+bo+"$"),Fn={ID:new RegExp("^#("+bo+")"),CLASS:new RegExp("^\\.("+bo+")"),TAG:new RegExp("^("+bo+"|[*])"),ATTR:new RegExp("^"+ii),PSEUDO:new RegExp("^"+Cr),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+Ee+"*(even|odd|(([+-]|)(\\d*)n|)"+Ee+"*(?:([+-]|)"+Ee+"*(\\d+)|))"+Ee+"*\\)|)","i"),bool:new RegExp("^(?:"+eo+")$","i"),needsContext:new RegExp("^"+Ee+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+Ee+"*((?:-\\d)?\\d*)"+Ee+"*\\)|)(?=[^-]|$)","i")},En=/^(?:input|select|textarea|button)$/i,sr=/^h\d$/i,tn=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Ql=/[+~]/,Dn=new RegExp("\\\\[\\da-fA-F]{1,6}"+Ee+"?|\\\\([^\\r\\n\\f])","g"),Bn=function(K,ue){var we="0x"+K.slice(1)-65536;return ue||(we<0?String.fromCharCode(we+65536):String.fromCharCode(we>>10|55296,we&1023|56320))},Bh=function(){ar()},Zl=ja(function(K){return K.disabled===!0&&re(K,"fieldset")},{dir:"parentNode",next:"legend"});function Jl(){try{return H.activeElement}catch{}}try{F.apply(r=c.call(Ae.childNodes),Ae.childNodes),r[Ae.childNodes.length].nodeType}catch{F={apply:function(ue,we){Ve.apply(ue,c.call(we))},call:function(ue){Ve.apply(ue,c.call(arguments,1))}}}function gi(K,ue,we,Me){var Re,at,bt,kt,gt,Jt,Lt,Ht=ue&&ue.ownerDocument,ei=ue?ue.nodeType:9;if(we=we||[],typeof K!="string"||!K||ei!==1&&ei!==9&&ei!==11)return we;if(!Me&&(ar(ue),ue=ue||H,Z)){if(ei!==11&&(gt=tn.exec(K)))if(Re=gt[1]){if(ei===9)if(bt=ue.getElementById(Re)){if(bt.id===Re)return F.call(we,bt),we}else return we;else if(Ht&&(bt=Ht.getElementById(Re))&&gi.contains(ue,bt)&&bt.id===Re)return F.call(we,bt),we}else{if(gt[2])return F.apply(we,ue.getElementsByTagName(K)),we;if((Re=gt[3])&&ue.getElementsByClassName)return F.apply(we,ue.getElementsByClassName(Re)),we}if(!Fi[K+" "]&&(!pe||!pe.test(K))){if(Lt=K,Ht=ue,ei===1&&(ts.test(K)||rr.test(K))){for(Ht=Ql.test(K)&&Ha(ue.parentNode)||ue,(Ht!=ue||!z.scope)&&((kt=ue.getAttribute("id"))?kt=v.escapeSelector(kt):ue.setAttribute("id",kt=Be)),Jt=Us(K),at=Jt.length;at--;)Jt[at]=(kt?"#"+kt:":scope")+" "+za(Jt[at]);Lt=Jt.join(",")}try{return F.apply(we,Ht.querySelectorAll(Lt)),we}catch{Fi(K,!0)}finally{kt===Be&&ue.removeAttribute("id")}}}return yc(K.replace(Pe,"$1"),ue,we,Me)}function qa(){var K=[];function ue(we,Me){return K.push(we+" ")>g.cacheLength&&delete ue[K.shift()],ue[we+" "]=Me}return ue}function to(K){return K[Be]=!0,K}function Fo(K){var ue=H.createElement("fieldset");try{return!!K(ue)}catch{return!1}finally{ue.parentNode&&ue.parentNode.removeChild(ue),ue=null}}function Vh(K){return function(ue){return re(ue,"input")&&ue.type===K}}function qh(K){return function(ue){return(re(ue,"input")||re(ue,"button"))&&ue.type===K}}function kr(K){return function(ue){return"form"in ue?ue.parentNode&&ue.disabled===!1?"label"in ue?"label"in ue.parentNode?ue.parentNode.disabled===K:ue.disabled===K:ue.isDisabled===K||ue.isDisabled!==!K&&Zl(ue)===K:ue.disabled===K:"label"in ue?ue.disabled===K:!1}}function Ar(K){return to(function(ue){return ue=+ue,to(function(we,Me){for(var Re,at=K([],we.length,ue),bt=at.length;bt--;)we[Re=at[bt]]&&(we[Re]=!(Me[Re]=we[Re]))})})}function Ha(K){return K&&typeof K.getElementsByTagName!="undefined"&&K}function ar(K){var ue,we=K?K.ownerDocument||K:Ae;return we==H||we.nodeType!==9||!we.documentElement||(H=we,ne=H.documentElement,Z=!v.isXMLDoc(H),Ie=ne.matches||ne.webkitMatchesSelector||ne.msMatchesSelector,ne.msMatchesSelector&&Ae!=H&&(ue=H.defaultView)&&ue.top!==ue&&ue.addEventListener("unload",Bh),z.getById=Fo(function(Me){return ne.appendChild(Me).id=v.expando,!H.getElementsByName||!H.getElementsByName(v.expando).length}),z.disconnectedMatch=Fo(function(Me){return Ie.call(Me,"*")}),z.scope=Fo(function(){return H.querySelectorAll(":scope")}),z.cssHas=Fo(function(){try{return H.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),z.getById?(g.filter.ID=function(Me){var Re=Me.replace(Dn,Bn);return function(at){return at.getAttribute("id")===Re}},g.find.ID=function(Me,Re){if(typeof Re.getElementById!="undefined"&&Z){var at=Re.getElementById(Me);return at?[at]:[]}}):(g.filter.ID=function(Me){var Re=Me.replace(Dn,Bn);return function(at){var bt=typeof at.getAttributeNode!="undefined"&&at.getAttributeNode("id");return bt&&bt.value===Re}},g.find.ID=function(Me,Re){if(typeof Re.getElementById!="undefined"&&Z){var at,bt,kt,gt=Re.getElementById(Me);if(gt){if(at=gt.getAttributeNode("id"),at&&at.value===Me)return[gt];for(kt=Re.getElementsByName(Me),bt=0;gt=kt[bt++];)if(at=gt.getAttributeNode("id"),at&&at.value===Me)return[gt]}return[]}}),g.find.TAG=function(Me,Re){return typeof Re.getElementsByTagName!="undefined"?Re.getElementsByTagName(Me):Re.querySelectorAll(Me)},g.find.CLASS=function(Me,Re){if(typeof Re.getElementsByClassName!="undefined"&&Z)return Re.getElementsByClassName(Me)},pe=[],Fo(function(Me){var Re;ne.appendChild(Me).innerHTML="<a id='"+Be+"' href='' disabled='disabled'></a><select id='"+Be+"-\r\\' disabled='disabled'><option selected=''></option></select>",Me.querySelectorAll("[selected]").length||pe.push("\\["+Ee+"*(?:value|"+eo+")"),Me.querySelectorAll("[id~="+Be+"-]").length||pe.push("~="),Me.querySelectorAll("a#"+Be+"+*").length||pe.push(".#.+[+~]"),Me.querySelectorAll(":checked").length||pe.push(":checked"),Re=H.createElement("input"),Re.setAttribute("type","hidden"),Me.appendChild(Re).setAttribute("name","D"),ne.appendChild(Me).disabled=!0,Me.querySelectorAll(":disabled").length!==2&&pe.push(":enabled",":disabled"),Re=H.createElement("input"),Re.setAttribute("name",""),Me.appendChild(Re),Me.querySelectorAll("[name='']").length||pe.push("\\["+Ee+"*name"+Ee+"*="+Ee+`*(?:''|"")`)}),z.cssHas||pe.push(":has"),pe=pe.length&&new RegExp(pe.join("|")),Wi=function(Me,Re){if(Me===Re)return R=!0,0;var at=!Me.compareDocumentPosition-!Re.compareDocumentPosition;return at||(at=(Me.ownerDocument||Me)==(Re.ownerDocument||Re)?Me.compareDocumentPosition(Re):1,at&1||!z.sortDetached&&Re.compareDocumentPosition(Me)===at?Me===H||Me.ownerDocument==Ae&&gi.contains(Ae,Me)?-1:Re===H||Re.ownerDocument==Ae&&gi.contains(Ae,Re)?1:E?_.call(E,Me)-_.call(E,Re):0:at&4?-1:1)}),H}gi.matches=function(K,ue){return gi(K,null,null,ue)},gi.matchesSelector=function(K,ue){if(ar(K),Z&&!Fi[ue+" "]&&(!pe||!pe.test(ue)))try{var we=Ie.call(K,ue);if(we||z.disconnectedMatch||K.document&&K.document.nodeType!==11)return we}catch{Fi(ue,!0)}return gi(ue,H,null,[K]).length>0},gi.contains=function(K,ue){return(K.ownerDocument||K)!=H&&ar(K),v.contains(K,ue)},gi.attr=function(K,ue){(K.ownerDocument||K)!=H&&ar(K);var we=g.attrHandle[ue.toLowerCase()],Me=we&&P.call(g.attrHandle,ue.toLowerCase())?we(K,ue,!Z):void 0;return Me!==void 0?Me:K.getAttribute(ue)},gi.error=function(K){throw new Error("Syntax error, unrecognized expression: "+K)},v.uniqueSort=function(K){var ue,we=[],Me=0,Re=0;if(R=!z.sortStable,E=!z.sortStable&&c.call(K,0),Oe.call(K,Wi),R){for(;ue=K[Re++];)ue===K[Re]&&(Me=we.push(Re));for(;Me--;)oe.call(K,we[Me],1)}return E=null,K},v.fn.uniqueSort=function(){return this.pushStack(v.uniqueSort(c.apply(this)))},g=v.expr={cacheLength:50,createPseudo:to,match:Fn,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(K){return K[1]=K[1].replace(Dn,Bn),K[3]=(K[3]||K[4]||K[5]||"").replace(Dn,Bn),K[2]==="~="&&(K[3]=" "+K[3]+" "),K.slice(0,4)},CHILD:function(K){return K[1]=K[1].toLowerCase(),K[1].slice(0,3)==="nth"?(K[3]||gi.error(K[0]),K[4]=+(K[4]?K[5]+(K[6]||1):2*(K[3]==="even"||K[3]==="odd")),K[5]=+(K[7]+K[8]||K[3]==="odd")):K[3]&&gi.error(K[0]),K},PSEUDO:function(K){var ue,we=!K[6]&&K[2];return Fn.CHILD.test(K[0])?null:(K[3]?K[2]=K[4]||K[5]||"":we&&xo.test(we)&&(ue=Us(we,!0))&&(ue=we.indexOf(")",we.length-ue)-we.length)&&(K[0]=K[0].slice(0,ue),K[2]=we.slice(0,ue)),K.slice(0,3))}},filter:{TAG:function(K){var ue=K.replace(Dn,Bn).toLowerCase();return K==="*"?function(){return!0}:function(we){return re(we,ue)}},CLASS:function(K){var ue=qt[K+" "];return ue||(ue=new RegExp("(^|"+Ee+")"+K+"("+Ee+"|$)"))&&qt(K,function(we){return ue.test(typeof we.className=="string"&&we.className||typeof we.getAttribute!="undefined"&&we.getAttribute("class")||"")})},ATTR:function(K,ue,we){return function(Me){var Re=gi.attr(Me,K);return Re==null?ue==="!=":ue?(Re+="",ue==="="?Re===we:ue==="!="?Re!==we:ue==="^="?we&&Re.indexOf(we)===0:ue==="*="?we&&Re.indexOf(we)>-1:ue==="$="?we&&Re.slice(-we.length)===we:ue==="~="?(" "+Re.replace(Zt," ")+" ").indexOf(we)>-1:ue==="|="?Re===we||Re.slice(0,we.length+1)===we+"-":!1):!0}},CHILD:function(K,ue,we,Me,Re){var at=K.slice(0,3)!=="nth",bt=K.slice(-4)!=="last",kt=ue==="of-type";return Me===1&&Re===0?function(gt){return!!gt.parentNode}:function(gt,Jt,Lt){var Ht,ei,St,di,Mn,cn=at!==bt?"nextSibling":"previousSibling",Gn=gt.parentNode,Yn=kt&>.nodeName.toLowerCase(),ns=!Lt&&!kt,bn=!1;if(Gn){if(at){for(;cn;){for(St=gt;St=St[cn];)if(kt?re(St,Yn):St.nodeType===1)return!1;Mn=cn=K==="only"&&!Mn&&"nextSibling"}return!0}if(Mn=[bt?Gn.firstChild:Gn.lastChild],bt&&ns){for(ei=Gn[Be]||(Gn[Be]={}),Ht=ei[K]||[],di=Ht[0]===_e&&Ht[1],bn=di&&Ht[2],St=di&&Gn.childNodes[di];St=++di&&St&&St[cn]||(bn=di=0)||Mn.pop();)if(St.nodeType===1&&++bn&&St===gt){ei[K]=[_e,di,bn];break}}else if(ns&&(ei=gt[Be]||(gt[Be]={}),Ht=ei[K]||[],di=Ht[0]===_e&&Ht[1],bn=di),bn===!1)for(;(St=++di&&St&&St[cn]||(bn=di=0)||Mn.pop())&&!((kt?re(St,Yn):St.nodeType===1)&&++bn&&(ns&&(ei=St[Be]||(St[Be]={}),ei[K]=[_e,bn]),St===gt)););return bn-=Re,bn===Me||bn%Me===0&&bn/Me>=0}}},PSEUDO:function(K,ue){var we,Me=g.pseudos[K]||g.setFilters[K.toLowerCase()]||gi.error("unsupported pseudo: "+K);return Me[Be]?Me(ue):Me.length>1?(we=[K,K,"",ue],g.setFilters.hasOwnProperty(K.toLowerCase())?to(function(Re,at){for(var bt,kt=Me(Re,ue),gt=kt.length;gt--;)bt=_.call(Re,kt[gt]),Re[bt]=!(at[bt]=kt[gt])}):function(Re){return Me(Re,0,we)}):Me}},pseudos:{not:to(function(K){var ue=[],we=[],Me=tu(K.replace(Pe,"$1"));return Me[Be]?to(function(Re,at,bt,kt){for(var gt,Jt=Me(Re,null,kt,[]),Lt=Re.length;Lt--;)(gt=Jt[Lt])&&(Re[Lt]=!(at[Lt]=gt))}):function(Re,at,bt){return ue[0]=Re,Me(ue,null,bt,we),ue[0]=null,!we.pop()}}),has:to(function(K){return function(ue){return gi(K,ue).length>0}}),contains:to(function(K){return K=K.replace(Dn,Bn),function(ue){return(ue.textContent||v.text(ue)).indexOf(K)>-1}}),lang:to(function(K){return is.test(K||"")||gi.error("unsupported lang: "+K),K=K.replace(Dn,Bn).toLowerCase(),function(ue){var we;do if(we=Z?ue.lang:ue.getAttribute("xml:lang")||ue.getAttribute("lang"))return we=we.toLowerCase(),we===K||we.indexOf(K+"-")===0;while((ue=ue.parentNode)&&ue.nodeType===1);return!1}}),target:function(K){var ue=t.location&&t.location.hash;return ue&&ue.slice(1)===K.id},root:function(K){return K===ne},focus:function(K){return K===Jl()&&H.hasFocus()&&!!(K.type||K.href||~K.tabIndex)},enabled:kr(!1),disabled:kr(!0),checked:function(K){return re(K,"input")&&!!K.checked||re(K,"option")&&!!K.selected},selected:function(K){return K.parentNode&&K.parentNode.selectedIndex,K.selected===!0},empty:function(K){for(K=K.firstChild;K;K=K.nextSibling)if(K.nodeType<6)return!1;return!0},parent:function(K){return!g.pseudos.empty(K)},header:function(K){return sr.test(K.nodeName)},input:function(K){return En.test(K.nodeName)},button:function(K){return re(K,"input")&&K.type==="button"||re(K,"button")},text:function(K){var ue;return re(K,"input")&&K.type==="text"&&((ue=K.getAttribute("type"))==null||ue.toLowerCase()==="text")},first:Ar(function(){return[0]}),last:Ar(function(K,ue){return[ue-1]}),eq:Ar(function(K,ue,we){return[we<0?we+ue:we]}),even:Ar(function(K,ue){for(var we=0;we<ue;we+=2)K.push(we);return K}),odd:Ar(function(K,ue){for(var we=1;we<ue;we+=2)K.push(we);return K}),lt:Ar(function(K,ue,we){var Me;for(we<0?Me=we+ue:we>ue?Me=ue:Me=we;--Me>=0;)K.push(Me);return K}),gt:Ar(function(K,ue,we){for(var Me=we<0?we+ue:we;++Me<ue;)K.push(Me);return K})}},g.pseudos.nth=g.pseudos.eq;for(h in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})g.pseudos[h]=Vh(h);for(h in{submit:!0,reset:!0})g.pseudos[h]=qh(h);function gc(){}gc.prototype=g.filters=g.pseudos,g.setFilters=new gc;function Us(K,ue){var we,Me,Re,at,bt,kt,gt,Jt=ni[K+" "];if(Jt)return ue?0:Jt.slice(0);for(bt=K,kt=[],gt=g.preFilter;bt;){(!we||(Me=Ei.exec(bt)))&&(Me&&(bt=bt.slice(Me[0].length)||bt),kt.push(Re=[])),we=!1,(Me=rr.exec(bt))&&(we=Me.shift(),Re.push({value:we,type:Me[0].replace(Pe," ")}),bt=bt.slice(we.length));for(at in g.filter)(Me=Fn[at].exec(bt))&&(!gt[at]||(Me=gt[at](Me)))&&(we=Me.shift(),Re.push({value:we,type:at,matches:Me}),bt=bt.slice(we.length));if(!we)break}return ue?bt.length:bt?gi.error(K):ni(K,kt).slice(0)}function za(K){for(var ue=0,we=K.length,Me="";ue<we;ue++)Me+=K[ue].value;return Me}function ja(K,ue,we){var Me=ue.dir,Re=ue.next,at=Re||Me,bt=we&&at==="parentNode",kt=et++;return ue.first?function(gt,Jt,Lt){for(;gt=gt[Me];)if(gt.nodeType===1||bt)return K(gt,Jt,Lt);return!1}:function(gt,Jt,Lt){var Ht,ei,St=[_e,kt];if(Lt){for(;gt=gt[Me];)if((gt.nodeType===1||bt)&&K(gt,Jt,Lt))return!0}else for(;gt=gt[Me];)if(gt.nodeType===1||bt)if(ei=gt[Be]||(gt[Be]={}),Re&&re(gt,Re))gt=gt[Me]||gt;else{if((Ht=ei[at])&&Ht[0]===_e&&Ht[1]===kt)return St[2]=Ht[2];if(ei[at]=St,St[2]=K(gt,Jt,Lt))return!0}return!1}}function $a(K){return K.length>1?function(ue,we,Me){for(var Re=K.length;Re--;)if(!K[Re](ue,we,Me))return!1;return!0}:K[0]}function Hh(K,ue,we){for(var Me=0,Re=ue.length;Me<Re;Me++)gi(K,ue[Me],we);return we}function lr(K,ue,we,Me,Re){for(var at,bt=[],kt=0,gt=K.length,Jt=ue!=null;kt<gt;kt++)(at=K[kt])&&(!we||we(at,Me,Re))&&(bt.push(at),Jt&&ue.push(kt));return bt}function Do(K,ue,we,Me,Re,at){return Me&&!Me[Be]&&(Me=Do(Me)),Re&&!Re[Be]&&(Re=Do(Re,at)),to(function(bt,kt,gt,Jt){var Lt,Ht,ei,St,di=[],Mn=[],cn=kt.length,Gn=bt||Hh(ue||"*",gt.nodeType?[gt]:gt,[]),Yn=K&&(bt||!ue)?lr(Gn,di,K,gt,Jt):Gn;if(we?(St=Re||(bt?K:cn||Me)?[]:kt,we(Yn,St,gt,Jt)):St=Yn,Me)for(Lt=lr(St,Mn),Me(Lt,[],gt,Jt),Ht=Lt.length;Ht--;)(ei=Lt[Ht])&&(St[Mn[Ht]]=!(Yn[Mn[Ht]]=ei));if(bt){if(Re||K){if(Re){for(Lt=[],Ht=St.length;Ht--;)(ei=St[Ht])&&Lt.push(Yn[Ht]=ei);Re(null,St=[],Lt,Jt)}for(Ht=St.length;Ht--;)(ei=St[Ht])&&(Lt=Re?_.call(bt,ei):di[Ht])>-1&&(bt[Lt]=!(kt[Lt]=ei))}}else St=lr(St===kt?St.splice(cn,St.length):St),Re?Re(null,kt,St,Jt):F.apply(kt,St)})}function eu(K){for(var ue,we,Me,Re=K.length,at=g.relative[K[0].type],bt=at||g.relative[" "],kt=at?1:0,gt=ja(function(Ht){return Ht===ue},bt,!0),Jt=ja(function(Ht){return _.call(ue,Ht)>-1},bt,!0),Lt=[function(Ht,ei,St){var di=!at&&(St||ei!=C)||((ue=ei).nodeType?gt(Ht,ei,St):Jt(Ht,ei,St));return ue=null,di}];kt<Re;kt++)if(we=g.relative[K[kt].type])Lt=[ja($a(Lt),we)];else{if(we=g.filter[K[kt].type].apply(null,K[kt].matches),we[Be]){for(Me=++kt;Me<Re&&!g.relative[K[Me].type];Me++);return Do(kt>1&&$a(Lt),kt>1&&za(K.slice(0,kt-1).concat({value:K[kt-2].type===" "?"*":""})).replace(Pe,"$1"),we,kt<Me&&eu(K.slice(kt,Me)),Me<Re&&eu(K=K.slice(Me)),Me<Re&&za(K))}Lt.push(we)}return $a(Lt)}function zh(K,ue){var we=ue.length>0,Me=K.length>0,Re=function(at,bt,kt,gt,Jt){var Lt,Ht,ei,St=0,di="0",Mn=at&&[],cn=[],Gn=C,Yn=at||Me&&g.find.TAG("*",Jt),ns=_e+=Gn==null?1:Math.random()||.1,bn=Yn.length;for(Jt&&(C=bt==H||bt||Jt);di!==bn&&(Lt=Yn[di])!=null;di++){if(Me&&Lt){for(Ht=0,!bt&&Lt.ownerDocument!=H&&(ar(Lt),kt=!Z);ei=K[Ht++];)if(ei(Lt,bt||H,kt)){F.call(gt,Lt);break}Jt&&(_e=ns)}we&&((Lt=!ei&&Lt)&&St--,at&&Mn.push(Lt))}if(St+=di,we&&di!==St){for(Ht=0;ei=ue[Ht++];)ei(Mn,cn,bt,kt);if(at){if(St>0)for(;di--;)Mn[di]||cn[di]||(cn[di]=de.call(gt));cn=lr(cn)}F.apply(gt,cn),Jt&&!at&&cn.length>0&&St+ue.length>1&&v.uniqueSort(gt)}return Jt&&(_e=ns,C=Gn),Mn};return we?to(Re):Re}function tu(K,ue){var we,Me=[],Re=[],at=Yt[K+" "];if(!at){for(ue||(ue=Us(K)),we=ue.length;we--;)at=eu(ue[we]),at[Be]?Me.push(at):Re.push(at);at=Yt(K,zh(Re,Me)),at.selector=K}return at}function yc(K,ue,we,Me){var Re,at,bt,kt,gt,Jt=typeof K=="function"&&K,Lt=!Me&&Us(K=Jt.selector||K);if(we=we||[],Lt.length===1){if(at=Lt[0]=Lt[0].slice(0),at.length>2&&(bt=at[0]).type==="ID"&&ue.nodeType===9&&Z&&g.relative[at[1].type]){if(ue=(g.find.ID(bt.matches[0].replace(Dn,Bn),ue)||[])[0],ue)Jt&&(ue=ue.parentNode);else return we;K=K.slice(at.shift().value.length)}for(Re=Fn.needsContext.test(K)?0:at.length;Re--&&(bt=at[Re],!g.relative[kt=bt.type]);)if((gt=g.find[kt])&&(Me=gt(bt.matches[0].replace(Dn,Bn),Ql.test(at[0].type)&&Ha(ue.parentNode)||ue))){if(at.splice(Re,1),K=Me.length&&za(at),!K)return F.apply(we,Me),we;break}}return(Jt||tu(K,Lt))(Me,ue,!Z,we,!ue||Ql.test(K)&&Ha(ue.parentNode)||ue),we}z.sortStable=Be.split("").sort(Wi).join("")===Be,ar(),z.sortDetached=Fo(function(K){return K.compareDocumentPosition(H.createElement("fieldset"))&1}),v.find=gi,v.expr[":"]=v.expr.pseudos,v.unique=v.uniqueSort,gi.compile=tu,gi.select=yc,gi.setDocument=ar,gi.tokenize=Us,gi.escape=v.escapeSelector,gi.getText=v.text,gi.isXML=v.isXMLDoc,gi.selectors=v.expr,gi.support=v.support,gi.uniqueSort=v.uniqueSort})();var Mt=function(h,g,C){for(var E=[],R=C!==void 0;(h=h[g])&&h.nodeType!==9;)if(h.nodeType===1){if(R&&v(h).is(C))break;E.push(h)}return E},Et=function(h,g){for(var C=[];h;h=h.nextSibling)h.nodeType===1&&h!==g&&C.push(h);return C},Te=v.expr.match.needsContext,ve=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function ft(h,g,C){return U(g)?v.grep(h,function(E,R){return!!g.call(E,R,E)!==C}):g.nodeType?v.grep(h,function(E){return E===g!==C}):typeof g!="string"?v.grep(h,function(E){return _.call(g,E)>-1!==C}):v.filter(g,h,C)}v.filter=function(h,g,C){var E=g[0];return C&&(h=":not("+h+")"),g.length===1&&E.nodeType===1?v.find.matchesSelector(E,h)?[E]:[]:v.find.matches(h,v.grep(g,function(R){return R.nodeType===1}))},v.fn.extend({find:function(h){var g,C,E=this.length,R=this;if(typeof h!="string")return this.pushStack(v(h).filter(function(){for(g=0;g<E;g++)if(v.contains(R[g],this))return!0}));for(C=this.pushStack([]),g=0;g<E;g++)v.find(h,R[g],C);return E>1?v.uniqueSort(C):C},filter:function(h){return this.pushStack(ft(this,h||[],!1))},not:function(h){return this.pushStack(ft(this,h||[],!0))},is:function(h){return!!ft(this,typeof h=="string"&&Te.test(h)?v(h):h||[],!1).length}});var Pt,jt=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,Ge=v.fn.init=function(h,g,C){var E,R;if(!h)return this;if(C=C||Pt,typeof h=="string")if(h[0]==="<"&&h[h.length-1]===">"&&h.length>=3?E=[null,h,null]:E=jt.exec(h),E&&(E[1]||!g))if(E[1]){if(g=g instanceof v?g[0]:g,v.merge(this,v.parseHTML(E[1],g&&g.nodeType?g.ownerDocument||g:ee,!0)),ve.test(E[1])&&v.isPlainObject(g))for(E in g)U(this[E])?this[E](g[E]):this.attr(E,g[E]);return this}else return R=ee.getElementById(E[2]),R&&(this[0]=R,this.length=1),this;else return!g||g.jquery?(g||C).find(h):this.constructor(g).find(h);else{if(h.nodeType)return this[0]=h,this.length=1,this;if(U(h))return C.ready!==void 0?C.ready(h):h(v)}return v.makeArray(h,this)};Ge.prototype=v.fn,Pt=v(ee);var ge=/^(?:parents|prev(?:Until|All))/,Ye={children:!0,contents:!0,next:!0,prev:!0};v.fn.extend({has:function(h){var g=v(h,this),C=g.length;return this.filter(function(){for(var E=0;E<C;E++)if(v.contains(this,g[E]))return!0})},closest:function(h,g){var C,E=0,R=this.length,F=[],H=typeof h!="string"&&v(h);if(!Te.test(h)){for(;E<R;E++)for(C=this[E];C&&C!==g;C=C.parentNode)if(C.nodeType<11&&(H?H.index(C)>-1:C.nodeType===1&&v.find.matchesSelector(C,h))){F.push(C);break}}return this.pushStack(F.length>1?v.uniqueSort(F):F)},index:function(h){return h?typeof h=="string"?_.call(v(h),this[0]):_.call(this,h.jquery?h[0]:h):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(h,g){return this.pushStack(v.uniqueSort(v.merge(this.get(),v(h,g))))},addBack:function(h){return this.add(h==null?this.prevObject:this.prevObject.filter(h))}});function ke(h,g){for(;(h=h[g])&&h.nodeType!==1;);return h}v.each({parent:function(h){var g=h.parentNode;return g&&g.nodeType!==11?g:null},parents:function(h){return Mt(h,"parentNode")},parentsUntil:function(h,g,C){return Mt(h,"parentNode",C)},next:function(h){return ke(h,"nextSibling")},prev:function(h){return ke(h,"previousSibling")},nextAll:function(h){return Mt(h,"nextSibling")},prevAll:function(h){return Mt(h,"previousSibling")},nextUntil:function(h,g,C){return Mt(h,"nextSibling",C)},prevUntil:function(h,g,C){return Mt(h,"previousSibling",C)},siblings:function(h){return Et((h.parentNode||{}).firstChild,h)},children:function(h){return Et(h.firstChild)},contents:function(h){return h.contentDocument!=null&&a(h.contentDocument)?h.contentDocument:(re(h,"template")&&(h=h.content||h),v.merge([],h.childNodes))}},function(h,g){v.fn[h]=function(C,E){var R=v.map(this,g,C);return h.slice(-5)!=="Until"&&(E=C),E&&typeof E=="string"&&(R=v.filter(E,R)),this.length>1&&(Ye[h]||v.uniqueSort(R),ge.test(h)&&R.reverse()),this.pushStack(R)}});var nt=/[^\x20\t\r\n\f]+/g;function Ut(h){var g={};return v.each(h.match(nt)||[],function(C,E){g[E]=!0}),g}v.Callbacks=function(h){h=typeof h=="string"?Ut(h):v.extend({},h);var g,C,E,R,F=[],H=[],ne=-1,Z=function(){for(R=R||h.once,E=g=!0;H.length;ne=-1)for(C=H.shift();++ne<F.length;)F[ne].apply(C[0],C[1])===!1&&h.stopOnFalse&&(ne=F.length,C=!1);h.memory||(C=!1),g=!1,R&&(C?F=[]:F="")},pe={add:function(){return F&&(C&&!g&&(ne=F.length-1,H.push(C)),function Ie(Be){v.each(Be,function(_e,et){U(et)?(!h.unique||!pe.has(et))&&F.push(et):et&&et.length&&$(et)!=="string"&&Ie(et)})}(arguments),C&&!g&&Z()),this},remove:function(){return v.each(arguments,function(Ie,Be){for(var _e;(_e=v.inArray(Be,F,_e))>-1;)F.splice(_e,1),_e<=ne&&ne--}),this},has:function(Ie){return Ie?v.inArray(Ie,F)>-1:F.length>0},empty:function(){return F&&(F=[]),this},disable:function(){return R=H=[],F=C="",this},disabled:function(){return!F},lock:function(){return R=H=[],!C&&!g&&(F=C=""),this},locked:function(){return!!R},fireWith:function(Ie,Be){return R||(Be=Be||[],Be=[Ie,Be.slice?Be.slice():Be],H.push(Be),g||Z()),this},fire:function(){return pe.fireWith(this,arguments),this},fired:function(){return!!E}};return pe};function tt(h){return h}function Q(h){throw h}function te(h,g,C,E){var R;try{h&&U(R=h.promise)?R.call(h).done(g).fail(C):h&&U(R=h.then)?R.call(h,g,C):g.apply(void 0,[h].slice(E))}catch(F){C.apply(void 0,[F])}}v.extend({Deferred:function(h){var g=[["notify","progress",v.Callbacks("memory"),v.Callbacks("memory"),2],["resolve","done",v.Callbacks("once memory"),v.Callbacks("once memory"),0,"resolved"],["reject","fail",v.Callbacks("once memory"),v.Callbacks("once memory"),1,"rejected"]],
vendor: 8,890 bytes, line 45
45C="pending",E={state:function(){return C},always:function(){return R.done(arguments).fail(arguments),this},catch:function(F){return E.then(null,F)},pipe:function(){var F=arguments;return v.Deferred(function(H){v.each(g,function(ne,Z){var pe=U(F[Z[4]])&&F[Z[4]];R[Z[1]](function(){var Ie=pe&&pe.apply(this,arguments);Ie&&U(Ie.promise)?Ie.promise().progress(H.notify).done(H.resolve).fail(H.reject):H[Z[0]+"With"](this,pe?[Ie]:arguments)})}),F=null}).promise()},then:function(F,H,ne){var Z=0;function pe(Ie,Be,_e,et){return function(){var qt=this,ni=arguments,Yt=function(){var Wi,eo;if(!(Ie<Z)){if(Wi=_e.apply(qt,ni),Wi===Be.promise())throw new TypeError("Thenable self-resolution");eo=Wi&&(typeof Wi=="object"||typeof Wi=="function")&&Wi.then,U(eo)?et?eo.call(Wi,pe(Z,Be,tt,et),pe(Z,Be,Q,et)):(Z++,eo.call(Wi,pe(Z,Be,tt,et),pe(Z,Be,Q,et),pe(Z,Be,tt,Be.notifyWith))):(_e!==tt&&(qt=void 0,ni=[Wi]),(et||Be.resolveWith)(qt,ni))}},Fi=et?Yt:function(){try{Yt()}catch(Wi){v.Deferred.exceptionHook&&v.Deferred.exceptionHook(Wi,Fi.error),Ie+1>=Z&&(_e!==Q&&(qt=void 0,ni=[Wi]),Be.rejectWith(qt,ni))}};Ie?Fi():(v.Deferred.getErrorHook?Fi.error=v.Deferred.getErrorHook():v.Deferred.getStackHook&&(Fi.error=v.Deferred.getStackHook()),t.setTimeout(Fi))}}return v.Deferred(function(Ie){g[0][3].add(pe(0,Ie,U(ne)?ne:tt,Ie.notifyWith)),g[1][3].add(pe(0,Ie,U(F)?F:tt)),g[2][3].add(pe(0,Ie,U(H)?H:Q))}).promise()},promise:function(F){return F!=null?v.extend(F,E):E}},R={};return v.each(g,function(F,H){var ne=H[2],Z=H[5];E[H[1]]=ne.add,Z&&ne.add(function(){C=Z},g[3-F][2].disable,g[3-F][3].disable,g[0][2].lock,g[0][3].lock),ne.add(H[3].fire),R[H[0]]=function(){return R[H[0]+"With"](this===R?void 0:this,arguments),this},R[H[0]+"With"]=ne.fireWith}),E.promise(R),h&&h.call(R,R),R},when:function(h){var g=arguments.length,C=g,E=Array(C),R=c.call(arguments),F=v.Deferred(),H=function(ne){return function(Z){E[ne]=this,R[ne]=arguments.length>1?c.call(arguments):Z,--g||F.resolveWith(E,R)}};if(g<=1&&(te(h,F.done(H(C)).resolve,F.reject,!g),F.state()==="pending"||U(R[C]&&R[C].then)))return F.then();for(;C--;)te(R[C],H(C),F.reject);return F.promise()}});var Ce=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;v.Deferred.exceptionHook=function(h,g){t.console&&t.console.warn&&h&&Ce.test(h.name)&&t.console.warn("jQuery.Deferred exception: "+h.message,h.stack,g)},v.readyException=function(h){t.setTimeout(function(){throw h})};var De=v.Deferred();v.fn.ready=function(h){return De.then(h).catch(function(g){v.readyException(g)}),this},v.extend({isReady:!1,readyWait:1,ready:function(h){(h===!0?--v.readyWait:v.isReady)||(v.isReady=!0,!(h!==!0&&--v.readyWait>0)&&De.resolveWith(ee,[v]))}}),v.ready.then=De.then;function Le(){ee.removeEventListener("DOMContentLoaded",Le),t.removeEventListener("load",Le),v.ready()}ee.readyState==="complete"||ee.readyState!=="loading"&&!ee.documentElement.doScroll?t.setTimeout(v.ready):(ee.addEventListener("DOMContentLoaded",Le),t.addEventListener("load",Le));var Xe=function(h,g,C,E,R,F,H){var ne=0,Z=h.length,pe=C==null;if($(C)==="object"){R=!0;for(ne in C)Xe(h,g,ne,C[ne],!0,F,H)}else if(E!==void 0&&(R=!0,U(E)||(H=!0),pe&&(H?(g.call(h,E),g=null):(pe=g,g=function(Ie,Be,_e){return pe.call(v(Ie),_e)})),g))for(;ne<Z;ne++)g(h[ne],C,H?E:E.call(h[ne],ne,g(h[ne],C)));return R?h:pe?g.call(h):Z?g(h[0],C):F},ct=/^-ms-/,it=/-([a-z])/g;function ot(h,g){return g.toUpperCase()}function Ne(h){return h.replace(ct,"ms-").replace(it,ot)}var pt=function(h){return h.nodeType===1||h.nodeType===9||!+h.nodeType};function st(){this.expando=v.expando+st.uid++}st.uid=1,st.prototype={cache:function(h){var g=h[this.expando];return g||(g={},pt(h)&&(h.nodeType?h[this.expando]=g:Object.defineProperty(h,this.expando,{value:g,configurable:!0}))),g},set:function(h,g,C){var E,R=this.cache(h);if(typeof g=="string")R[Ne(g)]=C;else for(E in g)R[Ne(E)]=g[E];return R},get:function(h,g){return g===void 0?this.cache(h):h[this.expando]&&h[this.expando][Ne(g)]},access:function(h,g,C){return g===void 0||g&&typeof g=="string"&&C===void 0?this.get(h,g):(this.set(h,g,C),C!==void 0?C:g)},remove:function(h,g){var C,E=h[this.expando];if(E!==void 0){if(g!==void 0)for(Array.isArray(g)?g=g.map(Ne):(g=Ne(g),g=g in E?[g]:g.match(nt)||[]),C=g.length;C--;)delete E[g[C]];(g===void 0||v.isEmptyObject(E))&&(h.nodeType?h[this.expando]=void 0:delete h[this.expando])}},hasData:function(h){var g=h[this.expando];return g!==void 0&&!v.isEmptyObject(g)}};var qe=new st,wt=new st,Wt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,si=/[A-Z]/g;function ci(h){return h==="true"?!0:h==="false"?!1:h==="null"?null:h===+h+""?+h:Wt.test(h)?JSON.parse(h):h}function pi(h,g,C){var E;if(C===void 0&&h.nodeType===1)if(E="data-"+g.replace(si,"-$&").toLowerCase(),C=h.getAttribute(E),typeof C=="string"){try{C=ci(C)}catch{}wt.set(h,g,C)}else C=void 0;return C}v.extend({hasData:function(h){return wt.hasData(h)||qe.hasData(h)},data:function(h,g,C){return wt.access(h,g,C)},removeData:function(h,g){wt.remove(h,g)},_data:function(h,g,C){return qe.access(h,g,C)},_removeData:function(h,g){qe.remove(h,g)}}),v.fn.extend({data:function(h,g){var C,E,R,F=this[0],H=F&&F.attributes;if(h===void 0){if(this.length&&(R=wt.get(F),F.nodeType===1&&!qe.get(F,"hasDataAttrs"))){for(C=H.length;C--;)H[C]&&(E=H[C].name,E.indexOf("data-")===0&&(E=Ne(E.slice(5)),pi(F,E,R[E])));qe.set(F,"hasDataAttrs",!0)}return R}return typeof h=="object"?this.each(function(){wt.set(this,h)}):Xe(this,function(ne){var Z;if(F&&ne===void 0)return Z=wt.get(F,h),Z!==void 0||(Z=pi(F,h),Z!==void 0)?Z:void 0;this.each(function(){wt.set(this,h,ne)})},null,g,arguments.length>1,null,!0)},removeData:function(h){return this.each(function(){wt.remove(this,h)})}}),v.extend({queue:function(h,g,C){var E;if(h)return g=(g||"fx")+"queue",E=qe.get(h,g),C&&(!E||Array.isArray(C)?E=qe.access(h,g,v.makeArray(C)):E.push(C)),E||[]},dequeue:function(h,g){g=g||"fx";var C=v.queue(h,g),E=C.length,R=C.shift(),F=v._queueHooks(h,g),H=function(){v.dequeue(h,g)};R==="inprogress"&&(R=C.shift(),E--),R&&(g==="fx"&&C.unshift("inprogress"),delete F.stop,R.call(h,H,F)),!E&&F&&F.empty.fire()},_queueHooks:function(h,g){var C=g+"queueHooks";return qe.get(h,C)||qe.access(h,C,{empty:v.Callbacks("once memory").add(function(){qe.remove(h,[g+"queue",C])})})}}),v.fn.extend({queue:function(h,g){var C=2;return typeof h!="string"&&(g=h,h="fx",C--),arguments.length<C?v.queue(this[0],h):g===void 0?this:this.each(function(){var E=v.queue(this,h,g);v._queueHooks(this,h),h==="fx"&&E[0]!=="inprogress"&&v.dequeue(this,h)})},dequeue:function(h){return this.each(function(){v.dequeue(this,h)})},clearQueue:function(h){return this.queue(h||"fx",[])},promise:function(h,g){var C,E=1,R=v.Deferred(),F=this,H=this.length,ne=function(){--E||R.resolveWith(F,[F])};for(typeof h!="string"&&(g=h,h=void 0),h=h||"fx";H--;)C=qe.get(F[H],h+"queueHooks"),C&&C.empty&&(E++,C.empty.add(ne));return ne(),R.promise(g)}});var Vi=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,an=new RegExp("^(?:([+-])=|)("+Vi+")([a-z%]*)$","i"),qi=["Top","Right","Bottom","Left"],Yi=ee.documentElement,Ti=function(h){return v.contains(h.ownerDocument,h)},Hi={composed:!0};Yi.getRootNode&&(Ti=function(h){return v.contains(h.ownerDocument,h)||h.getRootNode(Hi)===h.ownerDocument});var en=function(h,g){return h=g||h,h.style.display==="none"||h.style.display===""&&Ti(h)&&v.css(h,"display")==="none"};function Ri(h,g,C,E){var R,F,H=20,ne=E?function(){return E.cur()}:function(){return v.css(h,g,"")},Z=ne(),pe=C&&C[3]||(v.cssNumber[g]?"":"px"),Ie=h.nodeType&&(v.cssNumber[g]||pe!=="px"&&+Z)&&an.exec(v.css(h,g));if(Ie&&Ie[3]!==pe){for(Z=Z/2,pe=pe||Ie[3],Ie=+Z||1;H--;)v.style(h,g,Ie+pe),(1-F)*(1-(F=ne()/Z||.5))<=0&&(H=0),Ie=Ie/F;Ie=Ie*2,v.style(h,g,Ie+pe),C=C||[]}return C&&(Ie=+Ie||+Z||0,R=C[1]?Ie+(C[1]+1)*C[2]:+C[2],E&&(E.unit=pe,E.start=Ie,E.end=R)),R}var Ur={};function Oi(h){var g,C=h.ownerDocument,E=h.nodeName,R=Ur[E];return R||(g=C.body.appendChild(C.createElement(E)),R=v.css(g,"display"),g.parentNode.removeChild(g),R==="none"&&(R="block"),Ur[E]=R,R)}function mo(h,g){for(var C,E,R=[],F=0,H=h.length;F<H;F++)E=h[F],E.style&&(C=E.style.display,g?(C==="none"&&(R[F]=qe.get(E,"display")||null,R[F]||(E.style.display="")),E.style.display===""&&en(E)&&(R[F]=Oi(E))):C!=="none"&&(R[F]="none",qe.set(E,"display",C)));for(F=0;F<H;F++)R[F]!=null&&(h[F].style.display=R[F]);return h}v.fn.extend({show:function(){return mo(this,!0)},hide:function(){return mo(this)},toggle:function(h){return typeof h=="boolean"?h?this.show():this.hide():this.each(function(){en(this)?v(this).show():v(this).hide()})}});var vr=/^(?:checkbox|radio)$/i,Wr=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Ds=/^$|^module$|\/(?:java|ecma)script/i;(function(){var h=ee.createDocumentFragment(),g=h.appendChild(ee.createElement("div")),C=ee.createElement("input");C.setAttribute("type","radio"),C.setAttribute("checked","checked"),C.setAttribute("name","t"),g.appendChild(C),z.checkClone
vendor: 8,116 bytes, line 45
45=g.cloneNode(!0).cloneNode(!0).lastChild.checked,g.innerHTML="<textarea>x</textarea>",z.noCloneChecked=!!g.cloneNode(!0).lastChild.defaultValue,g.innerHTML="<option></option>",z.option=!!g.lastChild})();var yi={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};yi.tbody=yi.tfoot=yi.colgroup=yi.caption=yi.thead,yi.th=yi.td,z.option||(yi.optgroup=yi.option=[1,"<select multiple='multiple'>","</select>"]);function ln(h,g){var C;return typeof h.getElementsByTagName!="undefined"?C=h.getElementsByTagName(g||"*"):typeof h.querySelectorAll!="undefined"?C=h.querySelectorAll(g||"*"):C=[],g===void 0||g&&re(h,g)?v.merge([h],C):C}function Qo(h,g){for(var C=0,E=h.length;C<E;C++)qe.set(h[C],"globalEval",!g||qe.get(g[C],"globalEval"))}var br=/<|&#?\w+;/;function Io(h,g,C,E,R){for(var F,H,ne,Z,pe,Ie,Be=g.createDocumentFragment(),_e=[],et=0,qt=h.length;et<qt;et++)if(F=h[et],F||F===0)if($(F)==="object")v.merge(_e,F.nodeType?[F]:F);else if(!br.test(F))_e.push(g.createTextNode(F));else{for(H=H||Be.appendChild(g.createElement("div")),ne=(Wr.exec(F)||["",""])[1].toLowerCase(),Z=yi[ne]||yi._default,H.innerHTML=Z[1]+v.htmlPrefilter(F)+Z[2],Ie=Z[0];Ie--;)H=H.lastChild;v.merge(_e,H.childNodes),H=Be.firstChild,H.textContent=""}for(Be.textContent="",et=0;F=_e[et++];){if(E&&v.inArray(F,E)>-1){R&&R.push(F);continue}if(pe=Ti(F),H=ln(Be.appendChild(F),"script"),pe&&Qo(H),C)for(Ie=0;F=H[Ie++];)Ds.test(F.type||"")&&C.push(F)}return Be}var Gr=/^([^.]*)(?:\.(.+)|)/;function Lo(){return!0}function Zo(){return!1}function Bs(h,g,C,E,R,F){var H,ne;if(typeof g=="object"){typeof C!="string"&&(E=E||C,C=void 0);for(ne in g)Bs(h,ne,C,E,g[ne],F);return h}if(E==null&&R==null?(R=C,E=C=void 0):R==null&&(typeof C=="string"?(R=E,E=void 0):(R=E,E=C,C=void 0)),R===!1)R=Zo;else if(!R)return h;return F===1&&(H=R,R=function(Z){return v().off(Z),H.apply(this,arguments)},R.guid=H.guid||(H.guid=v.guid++)),h.each(function(){v.event.add(this,g,R,E,C)})}v.event={global:{},add:function(h,g,C,E,R){var F,H,ne,Z,pe,Ie,Be,_e,et,qt,ni,Yt=qe.get(h);if(!!pt(h))for(C.handler&&(F=C,C=F.handler,R=F.selector),R&&v.find.matchesSelector(Yi,R),C.guid||(C.guid=v.guid++),(Z=Yt.events)||(Z=Yt.events=Object.create(null)),(H=Yt.handle)||(H=Yt.handle=function(Fi){return typeof v!="undefined"&&v.event.triggered!==Fi.type?v.event.dispatch.apply(h,arguments):void 0}),g=(g||"").match(nt)||[""],pe=g.length;pe--;)ne=Gr.exec(g[pe])||[],et=ni=ne[1],qt=(ne[2]||"").split(".").sort(),et&&(Be=v.event.special[et]||{},et=(R?Be.delegateType:Be.bindType)||et,Be=v.event.special[et]||{},Ie=v.extend({type:et,origType:ni,data:E,handler:C,guid:C.guid,selector:R,needsContext:R&&v.expr.match.needsContext.test(R),namespace:qt.join(".")},F),(_e=Z[et])||(_e=Z[et]=[],_e.delegateCount=0,(!Be.setup||Be.setup.call(h,E,qt,H)===!1)&&h.addEventListener&&h.addEventListener(et,H)),Be.add&&(Be.add.call(h,Ie),Ie.handler.guid||(Ie.handler.guid=C.guid)),R?_e.splice(_e.delegateCount++,0,Ie):_e.push(Ie),v.event.global[et]=!0)},remove:function(h,g,C,E,R){var F,H,ne,Z,pe,Ie,Be,_e,et,qt,ni,Yt=qe.hasData(h)&&qe.get(h);if(!(!Yt||!(Z=Yt.events))){for(g=(g||"").match(nt)||[""],pe=g.length;pe--;){if(ne=Gr.exec(g[pe])||[],et=ni=ne[1],qt=(ne[2]||"").split(".").sort(),!et){for(et in Z)v.event.remove(h,et+g[pe],C,E,!0);continue}for(Be=v.event.special[et]||{},et=(E?Be.delegateType:Be.bindType)||et,_e=Z[et]||[],ne=ne[2]&&new RegExp("(^|\\.)"+qt.join("\\.(?:.*\\.|)")+"(\\.|$)"),H=F=_e.length;F--;)Ie=_e[F],(R||ni===Ie.origType)&&(!C||C.guid===Ie.guid)&&(!ne||ne.test(Ie.namespace))&&(!E||E===Ie.selector||E==="**"&&Ie.selector)&&(_e.splice(F,1),Ie.selector&&_e.delegateCount--,Be.remove&&Be.remove.call(h,Ie));H&&!_e.length&&((!Be.teardown||Be.teardown.call(h,qt,Yt.handle)===!1)&&v.removeEvent(h,et,Yt.handle),delete Z[et])}v.isEmptyObject(Z)&&qe.remove(h,"handle events")}},dispatch:function(h){var g,C,E,R,F,H,ne=new Array(arguments.length),Z=v.event.fix(h),pe=(qe.get(this,"events")||Object.create(null))[Z.type]||[],Ie=v.event.special[Z.type]||{};for(ne[0]=Z,g=1;g<arguments.length;g++)ne[g]=arguments[g];if(Z.delegateTarget=this,!(Ie.preDispatch&&Ie.preDispatch.call(this,Z)===!1)){for(H=v.event.handlers.call(this,Z,pe),g=0;(R=H[g++])&&!Z.isPropagationStopped();)for(Z.currentTarget=R.elem,C=0;(F=R.handlers[C++])&&!Z.isImmediatePropagationStopped();)(!Z.rnamespace||F.namespace===!1||Z.rnamespace.test(F.namespace))&&(Z.handleObj=F,Z.data=F.data,E=((v.event.special[F.origType]||{}).handle||F.handler).apply(R.elem,ne),E!==void 0&&(Z.result=E)===!1&&(Z.preventDefault(),Z.stopPropagation()));return Ie.postDispatch&&Ie.postDispatch.call(this,Z),Z.result}},handlers:function(h,g){var C,E,R,F,H,ne=[],Z=g.delegateCount,pe=h.target;if(Z&&pe.nodeType&&!(h.type==="click"&&h.button>=1)){for(;pe!==this;pe=pe.parentNode||this)if(pe.nodeType===1&&!(h.type==="click"&&pe.disabled===!0)){for(F=[],H={},C=0;C<Z;C++)E=g[C],R=E.selector+" ",H[R]===void 0&&(H[R]=E.needsContext?v(R,this).index(pe)>-1:v.find(R,this,null,[pe]).length),H[R]&&F.push(E);F.length&&ne.push({elem:pe,handlers:F})}}return pe=this,Z<g.length&&ne.push({elem:pe,handlers:g.slice(Z)}),ne},addProp:function(h,g){Object.defineProperty(v.Event.prototype,h,{enumerable:!0,configurable:!0,get:U(g)?function(){if(this.originalEvent)return g(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[h]},set:function(C){Object.defineProperty(this,h,{enumerable:!0,configurable:!0,writable:!0,value:C})}})},fix:function(h){return h[v.expando]?h:new v.Event(h)},special:{load:{noBubble:!0},click:{setup:function(h){var g=this||h;return vr.test(g.type)&&g.click&&re(g,"input")&&Jo(g,"click",!0),!1},trigger:function(h){var g=this||h;return vr.test(g.type)&&g.click&&re(g,"input")&&Jo(g,"click"),!0},_default:function(h){var g=h.target;return vr.test(g.type)&&g.click&&re(g,"input")&&qe.get(g,"click")||re(g,"a")}},beforeunload:{postDispatch:function(h){h.result!==void 0&&h.originalEvent&&(h.originalEvent.returnValue=h.result)}}}};function Jo(h,g,C){if(!C){qe.get(h,g)===void 0&&v.event.add(h,g,Lo);return}qe.set(h,g,!1),v.event.add(h,g,{namespace:!1,handler:function(E){var R,F=qe.get(this,g);if(E.isTrigger&1&&this[g]){if(F)(v.event.special[g]||{}).delegateType&&E.stopPropagation();else if(F=c.call(arguments),qe.set(this,g,F),this[g](),R=qe.get(this,g),qe.set(this,g,!1),F!==R)return E.stopImmediatePropagation(),E.preventDefault(),R}else F&&(qe.set(this,g,v.event.trigger(F[0],F.slice(1),this)),E.stopPropagation(),E.isImmediatePropagationStopped=Lo)}})}v.removeEvent=function(h,g,C){h.removeEventListener&&h.removeEventListener(g,C)},v.Event=function(h,g){if(!(this instanceof v.Event))return new v.Event(h,g);h&&h.type?(this.originalEvent=h,this.type=h.type,this.isDefaultPrevented=h.defaultPrevented||h.defaultPrevented===void 0&&h.returnValue===!1?Lo:Zo,this.target=h.target&&h.target.nodeType===3?h.target.parentNode:h.target,this.currentTarget=h.currentTarget,this.relatedTarget=h.relatedTarget):this.type=h,g&&v.extend(this,g),this.timeStamp=h&&h.timeStamp||Date.now(),this[v.expando]=!0},v.Event.prototype={constructor:v.Event,isDefaultPrevented:Zo,isPropagationStopped:Zo,isImmediatePropagationStopped:Zo,isSimulated:!1,preventDefault:function(){var h=this.originalEvent;this.isDefaultPrevented=Lo,h&&!this.isSimulated&&h.preventDefault()},stopPropagation:function(){var h=this.originalEvent;this.isPropagationStopped=Lo,h&&!this.isSimulated&&h.stopPropagation()},stopImmediatePropagation:function(){var h=this.originalEvent;this.isImmediatePropagationStopped=Lo,h&&!this.isSimulated&&h.stopImmediatePropagation(),this.stopPropagation()}},v.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},v.event.addProp),v.each({focus:"focusin",blur:"focusout"}
45,function(h,g){function C(E){if(ee.documentMode){var R=qe.get(this,"handle"),F=v.event.fix(E);F.type=E.type==="focusin"?"focus":"blur",F.isSimulated=!0,R(E),F.target===F.currentTarget&&R(F)}else v.event.simulate(g,E.target,v.event.fix(E))}v.event.special[h]={setup:function(){var E;if(Jo(this,h,!0),ee.documentMode)E=qe.get(this,g),E||this.addEventListener(g,C),qe.set(this,g,(E||0)+1);else return!1},trigger:function(){return Jo(this,h),!0},teardown:function(){var E;if(ee.documentMode)E=qe.get(this,g)-1,E?qe.set(this,g,E):(this.removeEventListener(g,C),qe.remove(this,g));else return!1},_default:function(E){return qe.get(E.target,h)},delegateType:g},v.event.special[g]={setup:function(){var E=this.ownerDocument||this.document||this,R=ee.documentMode?this:E,F=qe.get(R,g);F||(ee.documentMode?this.addEventListener(g,C):E.addEventListener(h,C,!0)),qe.set(R,g,(F||0)+1)},teardown:function(){var E=this.ownerDocument||this.document||this,R=ee.documentMode?this:E,F=qe.get(R,g)-1;F?qe.set(R,g,F):(ee.documentMode?this.removeEventListener(g,C):E.removeEventListener(h,C,!0),qe.remove(R,g))}}}
vendor: 5,586 bytes, line 45
45),v.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(h,g){v.event.special[h]={delegateType:g,bindType:g,handle:function(C){var E,R=this,F=C.relatedTarget,H=C.handleObj;return(!F||F!==R&&!v.contains(R,F))&&(C.type=H.origType,E=H.handler.apply(this,arguments),C.type=g),E}}}),v.fn.extend({on:function(h,g,C,E){return Bs(this,h,g,C,E)},one:function(h,g,C,E){return Bs(this,h,g,C,E,1)},off:function(h,g,C){var E,R;if(h&&h.preventDefault&&h.handleObj)return E=h.handleObj,v(h.delegateTarget).off(E.namespace?E.origType+"."+E.namespace:E.origType,E.selector,E.handler),this;if(typeof h=="object"){for(R in h)this.off(R,g,h[R]);return this}return(g===!1||typeof g=="function")&&(C=g,g=void 0),C===!1&&(C=Zo),this.each(function(){v.event.remove(this,h,C,g)})}});var Ma=/<script|<style|<link/i,Xi=/checked\s*(?:[^=]|=\s*.checked.)/i,Pa=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Oa(h,g){return re(h,"table")&&re(g.nodeType!==11?g:g.firstChild,"tr")&&v(h).children("tbody")[0]||h}function er(h){return h.type=(h.getAttribute("type")!==null)+"/"+h.type,h}function tr(h){return(h.type||"").slice(0,5)==="true/"?h.type=h.type.slice(5):h.removeAttribute("type"),h}function go(h,g){var C,E,R,F,H,ne,Z;if(g.nodeType===1){if(qe.hasData(h)&&(F=qe.get(h),Z=F.events,Z)){qe.remove(g,"handle events");for(R in Z)for(C=0,E=Z[R].length;C<E;C++)v.event.add(g,R,Z[R][C])}wt.hasData(h)&&(H=wt.access(h),ne=v.extend({},H),wt.set(g,ne))}}function No(h,g){var C=g.nodeName.toLowerCase();C==="input"&&vr.test(h.type)?g.checked=h.checked:(C==="input"||C==="textarea")&&(g.defaultValue=h.defaultValue)}function yo(h,g,C,E){g=p(g);var R,F,H,ne,Z,pe,Ie=0,Be=h.length,_e=Be-1,et=g[0],qt=U(et);if(qt||Be>1&&typeof et=="string"&&!z.checkClone&&Xi.test(et))return h.each(function(ni){var Yt=h.eq(ni);qt&&(g[0]=et.call(this,ni,Yt.html())),yo(Yt,g,C,E)});if(Be&&(R=Io(g,h[0].ownerDocument,!1,h,E),F=R.firstChild,R.childNodes.length===1&&(R=F),F||E)){for(H=v.map(ln(R,"script"),er),ne=H.length;Ie<Be;Ie++)Z=R,Ie!==_e&&(Z=v.clone(Z,!0,!0),ne&&v.merge(H,ln(Z,"script"))),C.call(h[Ie],Z,Ie);if(ne)for(pe=H[H.length-1].ownerDocument,v.map(H,tr),Ie=0;Ie<ne;Ie++)Z=H[Ie],Ds.test(Z.type||"")&&!qe.access(Z,"globalEval")&&v.contains(pe,Z)&&(Z.src&&(Z.type||"").toLowerCase()!=="module"?v._evalUrl&&!Z.noModule&&v._evalUrl(Z.src,{nonce:Z.nonce||Z.getAttribute("nonce")},pe):q(Z.textContent.replace(Pa,""),Z,pe))}return h}function Vs(h,g,C){for(var E,R=g?v.filter(g,h):h,F=0;(E=R[F])!=null;F++)!C&&E.nodeType===1&&v.cleanData(ln(E)),E.parentNode&&(C&&Ti(E)&&Qo(ln(E,"script")),E.parentNode.removeChild(E));return h}v.extend({htmlPrefilter:function(h){return h},clone:function(h,g,C){var E,R,F,H,ne=h.cloneNode(!0),Z=Ti(h);if(!z.noCloneChecked&&(h.nodeType===1||h.nodeType===11)&&!v.isXMLDoc(h))for(H=ln(ne),F=ln(h),E=0,R=F.length;E<R;E++)No(F[E],H[E]);if(g)if(C)for(F=F||ln(h),H=H||ln(ne),E=0,R=F.length;E<R;E++)go(F[E],H[E]);else go(h,ne);return H=ln(ne,"script"),H.length>0&&Qo(H,!Z&&ln(h,"script")),ne},cleanData:function(h){for(var g,C,E,R=v.event.special,F=0;(C=h[F])!==void 0;F++)if(pt(C)){if(g=C[qe.expando]){if(g.events)for(E in g.events)R[E]?v.event.remove(C,E):v.removeEvent(C,E,g.handle);C[qe.expando]=void 0}C[wt.expando]&&(C[wt.expando]=void 0)}}}),v.fn.extend({detach:function(h){return Vs(this,h,!0)},remove:function(h){return Vs(this,h)},text:function(h){return Xe(this,function(g){return g===void 0?v.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=g)})},null,h,arguments.length)},append:function(){return yo(this,arguments,function(h){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var g=Oa(this,h);g.appendChild(h)}})},prepend:function(){return yo(this,arguments,function(h){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var g=Oa(this,h);g.insertBefore(h,g.firstChild)}})},before:function(){return yo(this,arguments,function(h){this.parentNode&&this.parentNode.insertBefore(h,this)})},after:function(){return yo(this,arguments,function(h){this.parentNode&&this.parentNode.insertBefore(h,this.nextSibling)})},empty:function(){for(var h,g=0;(h=this[g])!=null;g++)h.nodeType===1&&(v.cleanData(ln(h,!1)),h.textContent="");return this},clone:function(h,g){return h=h==null?!1:h,g=g==null?h:g,this.map(function(){return v.clone(this,h,g)})},html:function(h){return Xe(this,function(g){var C=this[0]||{},E=0,R=this.length;if(g===void 0&&C.nodeType===1)return C.innerHTML;if(typeof g=="string"&&!Ma.test(g)&&!yi[(Wr.exec(g)||["",""])[1].toLowerCase()]){g=v.htmlPrefilter(g);try{for(;E<R;E++)C=this[E]||{},C.nodeType===1&&(v.cleanData(ln(C,!1)),C.innerHTML=g);C=0}catch{}}C&&this.empty().append(g)},null,h,arguments.length)},replaceWith:function(){var h=[];return yo(this,arguments,function(g){var C=this.parentNode;v.inArray(this,h)<0&&(v.cleanData(ln(this)),C&&C.replaceChild(g,this))},h)}}),v.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(h,g){v.fn[h]=function(C){for(var E,R=[],F=v(C),H=F.length-1,ne=0;ne<=H;ne++)E=ne===H?this:this.clone(!0),v(F[ne])[g](E),w.apply(R,E.get());return this.pushStack(R)}});var xr=new RegExp("^("+Vi+")(?!px)[a-z%]+$","i"),Yr=/^--/,Ro=function(h){var g=h.ownerDocument.defaultView;return(!g||!g.opener)&&(g=t),g.getComputedStyle(h)},ir=function(h,g,C){var E,R,F={};for(R in g)F[R]=h.style[R],h.style[R]=g[R];E=C.call(h);for(R in g)h.style[R]=F[R];return E},le=new RegExp(qi.join("|"),"i");(function(){function h(){if(!!pe){Z.style.cssText="position:absolute;
45left:-11111px;width:60px;margin-top:1px;padding:0;border:0",pe.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",Yi.appendChild(Z).appendChild(pe);var Ie=t.getComputedStyle(pe);C=Ie.top!=="1%",ne=g(Ie.marginLeft)===12,pe.style.right="60%",F=g(Ie.right)===36,E=g(Ie.width)===36,pe.style.position="absolute",R=g(pe.offsetWidth/3)===12,Yi.removeChild(Z),pe=null}}function g(Ie){return Math.round(parseFloat(Ie))}var C,E,R,F,H,ne,Z=ee.createElement("div"),pe=ee.createElement("div");!pe.style||(pe.style.backgroundClip="content-box",pe.cloneNode(!0).style.backgroundClip="",z.clearCloneStyle=pe.style.backgroundClip==="content-box",v.extend(z,{boxSizingReliable:function(){return h(),E},pixelBoxStyles:function(){return h(),F},pixelPosition:function(){return h(),C},reliableMarginLeft:function(){return h(),ne},scrollboxSize:function(){return h(),R},reliableTrDimensions:function(){var Ie,Be,_e,et;return H==null&&(Ie=ee.createElement("table"),Be=ee.createElement("tr"),_e=ee.createElement("div"),Ie.style.cssText="position:absolute;left:-11111px;border-collapse:separate",Be.style.cssText="box-sizing:content-box;border:1px solid",Be.style.height="1px",_e.style.height="9px",_e.style.display="block",Yi.appendChild(Ie).appendChild(Be).appendChild(_e),et=t.getComputedStyle(Be),H=parseInt(et.height,10)+parseInt(et.borderTopWidth,10)+parseInt(et.borderBottomWidth,10)===Be.offsetHeight,Yi.removeChild(Ie)),H}}))})();function Qe(h,g,C){var E,R,F,H,ne=Yr.test(g),Z=h.style;return C=C||Ro(h),C&&(H=C.getPropertyValue(g)||C[g],ne&&H&&(H=H.replace(Pe,"$1")||void 0),H===""&&!Ti(h)&&(H=v.style(h,g)),!z.pixelBoxStyles()&&xr.test(H)&&le.test(g)&&(E=Z.width,R=Z.minWidth,F=Z.maxWidth,Z.minWidth=Z.maxWidth=Z.width=H,H=C.width,Z.width=E,Z.minWidth=R,Z.maxWidth=F)),H!==void 0?H+"":H}function mt(h,g){return{get:function(){if(h()){delete this.get;return}return(this.get=g).apply(this,arguments)}}}var Bt=["Webkit","Moz","ms"],mi=ee.createElement("div").style,fi={};function Ki(h){for(var g=h[0].toUpperCase()+h.slice(1),C=Bt.length;C--;)if(h=Bt[C]+g,h in mi)return h}function ki(h){var g=v.cssProps[h]||fi[h];return g||(h in mi?h:fi[h]=Ki(h)||h)}var Xr=/^(none|table(?!-c[ea]).+)/,Eh={position:"absolute",visibility:"hidden",display:"block"},sc={letterSpacing:"0",fontWeight:"400"};function ac(h,g,C){var E=an.exec(g);return E?Math.max(0,E[2]-(C||0))+(E[3]||"px"):g}function Kr(h,g,C,E,R,F){var H=g==="width"?1:0,ne=0,Z=0,pe=0;if(C===(E?"border":"content"))return 0;for(;H<4;H+=2)C==="margin"&&(pe+=v.css(h,C+qi[H],!0,R)),E?(C==="content"&&(Z-=v.css(h,"padding"+qi[H],!0,R)),C!=="margin"&&(Z-=v.css(h,"border"+qi[H]+"Width",!0,R))):(Z+=v.css(h,"padding"+qi[H],!0,R),C!=="padding"?Z+=v.css(h,"border"+qi[H]+"Width",!0,R):ne+=v.css(h,"border"+qi[H]+"Width",!0,R));return!E&&F>=0&&(Z+=Math.max(0,Math.ceil(h["offset"+g[0].toUpperCase()+g.slice(1)]-F-Z-ne-.5))||0),Z+pe}function $l(h,g,C){var E=Ro(h),R=!z.boxSizingReliable()||C,F=R&&v.css(h,"boxSizing",!1,E)==="border-box",H=F,ne=Qe(h,g,E),Z="offset"+g[0].toUpperCase()+g.slice(1);if(xr.test(ne)){if(!C)return ne;ne="auto"}return(!z.boxSizingReliable()&&F||!z.reliableTrDimensions()&&re(h,"tr")||ne==="auto"||!parseFloat(ne)&&v.css(h,"display",!1,E)==="inline")&&h.getClientRects().length&&(F=v.css(h,"boxSizing",!1,E)==="border-box",H=Z in h,H&&(ne=h[Z])),ne=parseFloat(ne)||0,ne+Kr(h,g,C||(F?"border":"content"),H,E,ne)+"px"}v.extend({cssHooks:{opacity:{get:function(h,g){if(g){var C=Qe(h,"opacity");return C===""?"1":C}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(h,g,C,E){if(!(!h||h.nodeType===3||h.nodeType===8||!h.style)){var R,F,H,ne=Ne(g),Z=Yr.test(g),pe=h.style;if(Z||(g=ki(ne)),H=v.cssHooks[g]||v.cssHooks[ne],C!==void 0){if(F=typeof C,F==="string"&&(R=an.exec(C))&&R[1]&&(C=Ri(h,g,R),F="number"),C==null||C!==C)return;F==="number"&&!Z&&(C+=R&&R[3]||(v.cssNumber[ne]?"":"px")),!z.clearCloneStyle&&C===""&&g.indexOf("background")===0&&(pe[g]="inherit"),(!H||!("set"in H)||(C=H.set(h,C,E))!==void 0)&&(Z?pe.setProperty(g,C):pe[g]=C)}else return H&&"get"in H&&(R=H.get(h,!1,E))!==void 0?R:pe[g]}},css:function(h,g,C,E){var R,F,H,ne=Ne(g),Z=Yr.test(g);return Z||(g=ki(ne)),H=v.cssHooks[g]||v.cssHooks[ne],H&&"get"in H&&(R=H.get(h,!0,C)),R===void 0&&(R=Qe(h,g,E)),R==="normal"&&g in sc&&(R=sc[g]),C===""||C?(F=parseFloat(R),C===!0||isFinite(F)?F||0:R):R}}),v.each(["height","width"],function(h,g){v.cssHooks[g]={get:function(C,E,R){if(E)return Xr.test(v.css(C,"display"))&&(!C.getClientRects().length||!C.getBoundingClientRect().width)?ir(C,Eh,function(){return $l
vendor: 33,078 bytes, lines 45-48
45(C,g,R)}):$l(C,g,R)},set:function(C,E,R){var F,H=Ro(C),ne=!z.scrollboxSize()&&H.position==="absolute",Z=ne||R,pe=Z&&v.css(C,"boxSizing",!1,H)==="border-box",Ie=R?Kr(C,g,R,pe,H):0;return pe&&ne&&(Ie-=Math.ceil(C["offset"+g[0].toUpperCase()+g.slice(1)]-parseFloat(H[g])-Kr(C,g,"border",!1,H)-.5)),Ie&&(F=an.exec(E))&&(F[3]||"px")!=="px"&&(C.style[g]=E,E=v.css(C,g)),ac(C,E,Ie)}}}),v.cssHooks.marginLeft=mt(z.reliableMarginLeft,function(h,g){if(g)return(parseFloat(Qe(h,"marginLeft"))||h.getBoundingClientRect().left-ir(h,{marginLeft:0},function(){return h.getBoundingClientRect().left}))+"px"}),v.each({margin:"",padding:"",border:"Width"},function(h,g){v.cssHooks[h+g]={expand:function(C){for(var E=0,R={},F=typeof C=="string"?C.split(" "):[C];E<4;E++)R[h+qi[E]+g]=F[E]||F[E-2]||F[0];return R}},h!=="margin"&&(v.cssHooks[h+g].set=ac)}),v.fn.extend({css:function(h,g){return Xe(this,function(C,E,R){var F,H,ne={},Z=0;if(Array.isArray(E)){for(F=Ro(C),H=E.length;Z<H;Z++)ne[E[Z]]=v.css(C,E[Z],!1,F);return ne}return R!==void 0?v.style(C,E,R):v.css(C,E)},h,g,arguments.length>1)}});function un(h,g,C,E,R){return new un.prototype.init(h,g,C,E,R)}v.Tween=un,un.prototype={constructor:un,init:function(h,g,C,E,R,F){this.elem=h,this.prop=C,this.easing=R||v.easing._default,this.options=g,this.start=this.now=this.cur(),this.end=E,this.unit=F||(v.cssNumber[C]?"":"px")},cur:function(){var h=un.propHooks[this.prop];return h&&h.get?h.get(this):un.propHooks._default.get(this)},run:function(h){var g,C=un.propHooks[this.prop];return this.options.duration?this.pos=g=v.easing[this.easing](h,this.options.duration*h,0,1,this.options.duration):this.pos=g=h,this.now=(this.end-this.start)*g+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),C&&C.set?C.set(this):un.propHooks._default.set(this),this}},un.prototype.init.prototype=un.prototype,un.propHooks={_default:{get:function(h){var g;return h.elem.nodeType!==1||h.elem[h.prop]!=null&&h.elem.style[h.prop]==null?h.elem[h.prop]:(g=v.css(h.elem,h.prop,""),!g||g==="auto"?0:g)},set:function(h){v.fx.step[h.prop]?v.fx.step[h.prop](h):h.elem.nodeType===1&&(v.cssHooks[h.prop]||h.elem.style[ki(h.prop)]!=null)?v.style(h.elem,h.prop,h.now+h.unit):h.elem[h.prop]=h.now}}},un.propHooks.scrollTop=un.propHooks.scrollLeft={set:function(h){h.elem.nodeType&&h.elem.parentNode&&(h.elem[h.prop]=h.now)}},v.easing={linear:function(h){return h},swing:function(h){return .5-Math.cos(h*Math.PI)/2},_default:"swing"},v.fx=un.prototype.init,v.fx.step={};var wr,Tn,qs=/^(?:toggle|show|hide)$/,Mh=/queueHooks$/;function Ul(){Tn&&(ee.hidden===!1&&t.requestAnimationFrame?t.requestAnimationFrame(Ul):t.setTimeout(Ul,v.fx.interval),v.fx.tick())}function lc(){return t.setTimeout(function(){wr=void 0}),wr=Date.now()}function Qr(h,g){var C,E=0,R={height:h};for(g=g?1:0;E<4;E+=2-g)C=qi[E],R["margin"+C]=R["padding"+C]=h;return g&&(R.opacity=R.width=h),R}function Hs(h,g,C){for(var E,R=($n.tweeners[g]||[]).concat($n.tweeners["*"]),F=0,H=R.length;F<H;F++)if(E=R[F].call(C,g,h))return E}function Ph(h,g,C){var E,R,F,H,ne,Z,pe,Ie,Be="width"in g||"height"in g,_e=this,et={},qt=h.style,ni=h.nodeType&&en(h),Yt=qe.get(h,"fxshow");C.queue||(H=v._queueHooks(h,"fx"),H.unqueued==null&&(H.unqueued=0,ne=H.empty.fire,H.empty.fire=function(){H.unqueued||ne()}),H.unqueued++,_e.always(function(){_e.always(function(){H.unqueued--,v.queue(h,"fx").length||H.empty.fire()})}));for(E in g)if(R=g[E],qs.test(R)){if(delete g[E],F=F||R==="toggle",R===(ni?"hide":"show"))if(R==="show"&&Yt&&Yt[E]!==void 0)ni=!0;else continue;et[E]=Yt&&Yt[E]||v.style(h,E)}if(Z=!v.isEmptyObject(g),!(!Z&&v.isEmptyObject(et))){Be&&h.nodeType===1&&(C.overflow=[qt.overflow,qt.overflowX,qt.overflowY],pe=Yt&&Yt.display,pe==null&&(pe=qe.get(h,"display")),Ie=v.css(h,"display"),Ie==="none"&&(pe?Ie=pe:(mo([h],!0),pe=h.style.display||pe,Ie=v.css(h,"display"),mo([h]))),(Ie==="inline"||Ie==="inline-block"&&pe!=null)&&v.css(h,"float")==="none"&&(Z||(_e.done(function(){qt.display=pe}),pe==null&&(Ie=qt.display,pe=Ie==="none"?"":Ie)),qt.display="inline-block")),C.overflow&&(qt.overflow="hidden",_e.always(function(){qt.overflow=C.overflow[0],qt.overflowX=C.overflow[1],qt.overflowY=C.overflow[2]})),Z=!1;for(E in et)Z||(Yt?"hidden"in Yt&&(ni=Yt.hidden):Yt=qe.access(h,"fxshow",{display:pe}),F&&(Yt.hidden=!ni),ni&&mo([h],!0),_e.done(function(){ni||mo([h]),qe.remove(h,"fxshow");for(E in et)v.style(h,E,et[E])})),Z=Hs(ni?Yt[E]:0,E,_e),E in Yt||(Yt[E]=Z.start,ni&&(Z.end=Z.start,Z.start=0))}}function Oh(h,g){var C,E,R,F,H;for(C in h)if(E=Ne(C),R=g[E],F=h[C],Array.isArray(F)&&(R=F[1],F=h[C]=F[0]),C!==E&&(h[E]=F,delete h[C]),H=v.cssHooks[E],H&&"expand"in H){F=H.expand(F),delete h[E];for(C in F)C in h||(h[C]=F[C],g[C]=R)}else g[E]=R}function $n(h,g,C){var E,R,F=0,H=$n.prefilters.length,ne=v.Deferred().always(function(){delete Z.elem}),Z=function(){if(R)return!1;for(var Be=wr||lc(),_e=Math.max(0,pe.startTime+pe.duration-Be),et=_e/pe.duration||0,qt=1-et,ni=0,Yt=pe.tweens.length;ni<Yt;ni++)pe.tweens[ni].run(qt);return ne.notifyWith(h,[pe,qt,_e]),qt<1&&Yt?_e:(Yt||ne.notifyWith(h,[pe,1,0]),ne.resolveWith(h,[pe]),!1)},pe=ne.promise({elem:h,props:v.extend({},g),opts:v.extend(!0,{specialEasing:{},easing:v.easing._default},C),originalProperties:g,originalOptions:C,startTime:wr||lc(),duration:C.duration,tweens:[],createTween:function(Be,_e){var et=v.Tween(h,pe.opts,Be,_e,pe.opts.specialEasing[Be]||pe.opts.easing);return pe.tweens.push(et),et},stop:function(Be){var _e=0,et=Be?pe.tweens.length:0;if(R)return this;for(R=!0;_e<et;_e++)pe.tweens[_e].run(1);return Be?(ne.notifyWith(h,[pe,1,0]),ne.resolveWith(h,[pe,Be])):ne.rejectWith(h,[pe,Be]),this}}),Ie=pe.props;for(Oh(Ie,pe.opts.specialEasing);F<H;F++)if(E=$n.prefilters[F].call(pe,h,Ie,pe.opts),E)return U(E.stop)&&(v._queueHooks(pe.elem,pe.opts.queue).stop=E.stop.bind(E)),E;return v.map(Ie,Hs,pe),U(pe.opts.start)&&pe.opts.start.call(h,pe),pe.progress(pe.opts.progress).done(pe.opts.done,pe.opts.complete).fail(pe.opts.fail).always(pe.opts.always),v.fx.timer(v.extend(Z,{elem:h,anim:pe,queue:pe.opts.queue})),pe}v.Animation=v.extend($n,{tweeners:{"*":[function(h,g){var C=this.createTween(h,g);return Ri(C.elem,h,an.exec(g),C),C}]},tweener:function(h,g){U(h)?(g=h,h=["*"]):h=h.match(nt);for(var C,E=0,R=h.length;E<R;E++)C=h[E],$n.tweeners[C]=$n.tweeners[C]||[],$n.tweeners[C].unshift(g)},prefilters:[Ph],prefilter:function(h,g){g?$n.prefilters.unshift(h):$n.prefilters.push(h)}}),v.speed=function(h,g,C){var E=h&&typeof h=="object"?v.extend({},h):{complete:C||!C&&g||U(h)&&h,duration:h,easing:C&&g||g&&!U(g)&&g};return v.fx.off?E.duration=0:typeof E.duration!="number"&&(E.duration in v.fx.speeds?E.duration=v.fx.speeds[E.duration]:E.duration=v.fx.speeds._default),(E.queue==null||E.queue===!0)&&(E.queue="fx"),E.old=E.complete,E.complete=function(){U(E.old)&&E.old.call(this),E.queue&&v.dequeue(this,E.queue)},E},v.fn.extend({fadeTo:function(h,g,C,E){return this.filter(en).css("opacity",0).show().end().animate({opacity:g},h,C,E)},animate:function(h,g,C,E){var R=v.isEmptyObject(h),F=v.speed(g,C,E),H=function(){var ne=$n(this,v.extend({},h),F);(R||qe.get(this,"finish"))&&ne.stop(!0)};return H.finish=H,R||F.queue===!1?this.each(H):this.queue(F.queue,H)},stop:function(h,g,C){var E=function(R){var F=R.stop;delete R.stop,F(C)};return typeof h!="string"&&(C=g,g=h,h=void 0),g&&this.queue(h||"fx",[]),this.each(function(){var R=!0,F=h!=null&&h+"queueHooks",H=v.timers,ne=qe.get(this);if(F)ne[F]&&ne[F].stop&&E(ne[F]);else for(F in ne)ne[F]&&ne[F].stop&&Mh.test(F)&&E(ne[F]);for(F=H.length;F--;)H[F].elem===this&&(h==null||H[F].queue===h)&&(H[F].anim.stop(C),R=!1,H.splice(F,1));(R||!C)&&v.dequeue(this,h)})},finish:function(h){return h!==!1&&(h=h||"fx"),this.each(function(){var g,C=qe.get(this),E=C[h+"queue"],R=C[h+"queueHooks"],F=v.timers,H=E?E.length:0;for(C.finish=!0,v.queue(this,h,[]),R&&R.stop&&R.stop.call(this,!0),g=F.length;g--;)F[g].elem===this&&F[g].queue===h&&(F[g].anim.stop(!0),F.splice(g,1));for(g=0;g<H;g++)E[g]&&E[g].finish&&E[g].finish.call(this);delete C.finish})}}),v.each(["toggle","show","hide"],function(h,g){var C=v.fn[g];v.fn[g]=function(E,R,F){return E==null||typeof E=="boolean"?C.apply(this,arguments):this.animate(Qr(g,!0),E,R,F)}}),v.each({slideDown:Qr("show"),slideUp:Qr("hide"),slideToggle:Qr("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(h,g){v.fn[h]=function(C,E,R){return this.animate(g,C,E,R)}}),v.timers=[],v.fx.tick=function(){var h,g=0,C=v.timers;for(wr=Date.now();g<C.length;g++)h=C[g],!h()&&C[g]===h&&C.splice(g--,1);C.length||v.fx.stop(),wr=void 0},v.fx.timer=function(h){v.timers.push(h),v.fx.start()},v.fx.interval=13,v.fx.start=function(){Tn||(Tn=!0,Ul())},v.fx.stop=function(){Tn=null},v.fx.speeds={slow:600,fast:200,_default:400},v.fn.delay=function(h,g){return h=v.fx&&v.fx.speeds[h]||h,g=g||"fx",this.queue(g,function(C,E){var R=t.setTimeout(C,h);E.stop=function(){t.clearTimeout(R)}})},function(){var h=ee.createElement("input"),g=ee.createElement("select"),C=g.appendChild(ee.createElement("option"));h.type="checkbox",z.checkOn=h.value!=="",z.optSelected=C.selected,h=ee.createElement("input"),h.value="t",h.type="radio",z.radioValue=h.value==="t"}();var Wl,vo=v.expr.attrHandle;v.fn.extend({attr:function(h,g){return Xe(this,v.attr,h,g,arguments.length>1)},removeAttr:function(h){return this.each(function(){v.removeAttr(this,h)})}}),v.extend({attr:function(h,g,C){var E,R,F=h.nodeType;if(!(F===3||F===8||F===2)){if(typeof h.getAttribute=="undefined")return v.prop(h,g,C);if((F!==1||!v.isXMLDoc(h))&&(R=v.attrHooks[g.toLowerCase()]||(v.expr.match.bool.test(g)?Wl:void 0)),C!==void 0){if(C===null){v.removeAttr(h,g);return}return R&&"set"in R&&(E=R.set(h,C,g))!==void 0?E:(h.setAttribute(g,C+""),C)}return R&&"get"in R&&(E=R.get(h,g))!==null?E:(E=v.find.attr(h,g),E==null?void 0:E)}},attrHooks:{type:{set:function(h,g){if(!z.radioValue&&g==="radio"&&re(h,"input")){var C=h.value;return h.setAttribute("type",g),C&&(h.value=C),g}}}},removeAttr:function(h,g){var C,E=0,R=g&&g.match(nt);if(R&&h.nodeType===1)for(;C=R[E++];)h.removeAttribute(C)}}),Wl={set:function(h,g,C){return g===!1?v.removeAttr(h,C):h.setAttribute(C,C),C}},v.each(v.expr.match.bool.source.match(/\w+/g),function(h,g){var C=vo[g]||v.find.attr;vo[g]=function(E,R,F){var H,ne,Z=R.toLowerCase();return F||(ne=vo[Z],vo[Z]=H,H=C(E,R,F)!=null?Z:null,vo[Z]=ne),H}});var Ih=/^(?:input|select|textarea|button)$/i,Ia=/^(?:a|area)$/i;v.fn.extend({prop:function(h,g){return Xe(this,v.prop,h,g,arguments.length>1)},removeProp:function(h){return this.each(function(){delete this[v.propFix[h]||h]})}}),v.extend({prop:function(h,g,C){var E,R,F=h.nodeType;if(!(F===3||F===8||F===2))return(F!==1||!v.isXMLDoc(h))&&(g=v.propFix[g]||g,R=v.propHooks[g]),C!==void 0?R&&"set"in R&&(E=R.set(h,C,g))!==void 0?E:h[g]=C:R&&"get"in R&&(E=R.get(h,g))!==null?E:h[g]},propHooks:{tabIndex:{get:function(h){var g=v.find.attr(h,"tabindex");return g?parseInt(g,10):Ih.test(h.nodeName)||Ia.test(h.nodeName)&&h.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),z.optSelected||(v.propHooks.selected={get:function(h){var g=h.parentNode;return g&&g.parentNode&&g.parentNode.selectedIndex,null},set:function(h){var g=h.parentNode;g&&(g.selectedIndex,g.parentNode&&g.parentNode.selectedIndex)}}),v.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){v.propFix[this.toLowerCase()]=this});function Sr(h){var g=h.match(nt)||[];return g.join(" ")}function _r(h){return h.getAttribute&&h.getAttribute("class")||""}function zs(h){return Array.isArray(h)?h:typeof h=="string"?h.match(nt)||[]:[]}v.fn.extend({addClass:function(h){var g,C,E,R,F,H;return U(h)?this.each(function(ne){v(this).addClass(h.call(this,ne,_r(this)))}):(g=zs(h),g.length?this.each(function(){if(E=_r(this),C=this.nodeType===1&&" "+Sr(E)+" ",C){for(F=0;F<g.length;F++)R=g[F],C.indexOf(" "+R+" ")<0&&(C+=R+" ");H=Sr(C),E!==H&&this.setAttribute("class",H)}}):this)},removeClass:function(h){var g,C,E,R,F,H;return U(h)?this.each(function(ne){v(this).removeClass(h.call(this,ne,_r(this)))}):arguments.length?(g=zs(h),g.length?this.each(function(){if(E=_r(this),C=this.nodeType===1&&" "+Sr(E)+" ",C){for(F=0;F<g.length;F++)for(R=g[F];C.indexOf(" "+R+" ")>-1;)C=C.replace(" "+R+" "," ");H=Sr(C),E!==H&&this.setAttribute("class",H)}}):this):this.attr("class","")},toggleClass:function(h,g){var C,E,R,F,H=typeof h,ne=H==="string"||Array.isArray(h);return U(h)?this.each(function(Z){v(this).toggleClass(h.call(this,Z,_r(this),g),g)}):typeof g=="boolean"&&ne?g?this.addClass(h):this.removeClass(h):(C=zs(h),this.each(function(){if(ne)for(F=v(this),R=0;R<C.length;R++)E=C[R],F.hasClass(E)?F.removeClass(E):F.addClass(E);else(h===void 0||H==="boolean")&&(E=_r(this),E&&qe.set(this,"__className__",E),this.setAttribute&&this.setAttribute("class",E||h===!1?"":qe.get(this,"__className__")||""))}))},hasClass:function(h){var g,C,E=0;for(g=" "+h+" ";C=this[E++];)if(C.nodeType===1&&(" "+Sr(_r(C))+" ").indexOf(g)>-1)return!0;return!1}});var Lh=/\r/g;v.fn.extend({val:function(h){var g,C,E,R=this[0];return arguments.length?(E=U(h),this.each(function(F){var H;this.nodeType===1&&(E?H=h.call(this,F,v(this).val()):H=h,H==null?H="":typeof H=="number"?H+="":Array.isArray(H)&&(H=v.map(H,function(ne){return ne==null?"":ne+""})),g=v.valHooks[this.type]||v.valHooks[this.nodeName.toLowerCase()],(!g||!("set"in g)||g.set(this,H,"value")===void 0)&&(this.value=H))})):R?(g=v.valHooks[R.type]||v.valHooks[R.nodeName.toLowerCase()],g&&"get"in g&&(C=g.get(R,"value"))!==void 0?C:(C=R.value,typeof C=="string"?C.replace(Lh,""):C==null?"":C)):void 0}}),v.extend({valHooks:{option:{get:function(h){var g=v.find.attr(h,"value");return g!=null?g:Sr(v.text(h))}},select:{get:function(h){var g,C,E,R=h.options,F=h.selectedIndex,H=h.type==="select-one",ne=H?null:[],Z=H?F+1:R.length;for(F<0?E=Z:E=H?F:0;E<Z;E++)if(C=R[E],(C.selected||E===F)&&!C.disabled&&(!C.parentNode.disabled||!re(C.parentNode,"optgroup"))){if(g=v(C).val(),H)return g;ne.push(g)}return ne},set:function(h,g){for(var C,E,R=h.options,F=v.makeArray(g),H=R.length;H--;)E=R[H],(E.selected=v.inArray(v.valHooks.option.get(E),F)>-1)&&(C=!0);return C||(h.selectedIndex=-1),F}}}}),v.each(["radio","checkbox"],function(){v.valHooks[this]={set:function(h,g){if(Array.isArray(g))return h.checked=v.inArray(v(h).val(),g)>-1}},z.checkOn||(v.valHooks[this].get=function(h){return h.getAttribute("value")===null?"on":h.value})});var nr=t.location,Gl={guid:Date.now()},Un=/\?/;v.parseXML=function(h){var g,C;if(!h||typeof h!="string")return null;try{g=new t.DOMParser().parseFromString(h,"text/xml")}catch{}return C=g&&g.getElementsByTagName("parsererror")[0],(!g||C)&&v.error("Invalid XML: "+(C?v.map(C.childNodes,function(E){return E.textContent}).join(` 46`):h)),g};var uc=/^(?:focusinfocus|focusoutblur)$/,Zr=function(h){h.stopPropagation()};v.extend(v.event,{trigger:function(h,g,C,E){var R,F,H,ne,Z,pe,Ie,Be,_e=[C||ee],et=P.call(h,"type")?h.type:h,qt=P.call(h,"namespace")?h.namespace.split("."):[];if(F=Be=H=C=C||ee,!(C.nodeType===3||C.nodeType===8)&&!uc.test(et+v.event.triggered)&&(et.indexOf(".")>-1&&(qt=et.split("."),et=qt.shift(),qt.sort()),Z=et.indexOf(":")<0&&"on"+et,h=h[v.expando]?h:new v.Event(et,typeof h=="object"&&h),h.isTrigger=E?2:3,h.namespace=qt.join("."),h.rnamespace=h.namespace?new RegExp("(^|\\.)"+qt.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,h.result=void 0,h.target||(h.target=C),g=g==null?[h]:v.makeArray(g,[h]),Ie=v.event.special[et]||{},!(!E&&Ie.trigger&&Ie.trigger.apply(C,g)===!1))){if(!E&&!Ie.noBubble&&!J(C)){for(ne=Ie.delegateType||et,uc.test(ne+et)||(F=F.parentNode);F;F=F.parentNode)_e.push(F),H=F;H===(C.ownerDocument||ee)&&_e.push(H.defaultView||H.parentWindow||t)}for(R=0;(F=_e[R++])&&!h.isPropagationStopped();)Be=F,h.type=R>1?ne:Ie.bindType||et,pe=(qe.get(F,"events")||Object.create(null))[h.type]&&qe.get(F,"handle"),pe&&pe.apply(F,g),pe=Z&&F[Z],pe&&pe.apply&&pt(F)&&(h.result=pe.apply(F,g),h.result===!1&&h.preventDefault());return h.type=et,!E&&!h.isDefaultPrevented()&&(!Ie._default||Ie._default.apply(_e.pop(),g)===!1)&&pt(C)&&Z&&U(C[et])&&!J(C)&&(H=C[Z],H&&(C[Z]=null),v.event.triggered=et,h.isPropagationStopped()&&Be.addEventListener(et,Zr),C[et](),h.isPropagationStopped()&&Be.removeEventListener(et,Zr),v.event.triggered=void 0,H&&(C[Z]=H)),h.result}},simulate:function(h,g,C){var E=v.extend(new v.Event,C,{type:h,isSimulated:!0});v.event.trigger(E,null,g)}}),v.fn.extend({trigger:function(h,g){return this.each(function(){v.event.trigger(h,g,this)})},triggerHandler:function(h,g){var C=this[0];if(C)return v.event.trigger(h,g,C,!0)}});var Yl=/\[\]$/,La=/\r?\n/g,cc=/^(?:submit|button|image|reset|file)$/i,dc=/^(?:input|select|textarea|keygen)/i;function Xl(h,g,C,E){var R;if(Array.isArray(g))v.each(g,function(F,H){C||Yl.test(h)?E(h,H):Xl(h+"["+(typeof H=="object"&&H!=null?F:"")+"]",H,C,E)});else if(!C&&$(g)==="object")for(R in g)Xl(h+"["+R+"]",g[R],C,E);else E(h,g)}v.param=function(h,g){var C,E=[],R=function(F,H){var ne=U(H)?H():H;E[E.length]=encodeURIComponent(F)+"="+encodeURIComponent(ne==null?"":ne)};if(h==null)return"";if(Array.isArray(h)||h.jquery&&!v.isPlainObject(h))v.each(h,function(){R(this.name,this.value)});else for(C in h)Xl(C,h[C],g,R);return E.join("&")},v.fn.extend({serialize:function(){return v.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var h=v.prop(this,"elements");return h?v.makeArray(h):this}).filter(function(){var h=this.type;return this.name&&!v(this).is(":disabled")&&dc.test(this.nodeName)&&!cc.test(h)&&(this.checked||!vr.test(h))}).map(function(h,g){var C=v(this).val();return C==null?null:Array.isArray(C)?v.map(C,function(E){return{name:g.name,value:E.replace(La,`\r 47`)}}):{name:g.name,value:C.replace(La,`\r 48`)}}).get()}});var hc=/%20/g,Kl=/#.*$/,Jr=/([?&])_=[^&]*/,Jn=/^(.*?):[ \t]*([^\r\n]*)$/mg,Na=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Nh=/^(?:GET|HEAD)$/,Rh=/^\/\//,fc={},Ra={},Ui="*/".concat("*"),Wn=ee.createElement("a");Wn.href=nr.href;function Fa(h){return function(g,C){typeof g!="string"&&(C=g,g="*");var E,R=0,F=g.toLowerCase().match(nt)||[];if(U(C))for(;E=F[R++];)E[0]==="+"?(E=E.slice(1)||"*",(h[E]=h[E]||[]).unshift(C)):(h[E]=h[E]||[]).push(C)}}function pc(h,g,C,E){var R={},F=h===Ra;function H(ne){var Z;return R[ne]=!0,v.each(h[ne]||[],function(pe,Ie){var Be=Ie(g,C,E);if(typeof Be=="string"&&!F&&!R[Be])return g.dataTypes.unshift(Be),H(Be),!1;if(F)return!(Z=Be)}),Z}return H(g.dataTypes[0])||!R["*"]&&H("*")}function Da(h,g){var C,E,R=v.ajaxSettings.flatOptions||{};for(C in g)g[C]!==void 0&&((R[C]?h:E||(E={}))[C]=g[C]);return E&&v.extend(!0,h,E),h}function js(h,g,C){for(var E,R,F,H,ne=h.contents,Z=h.dataTypes;Z[0]==="*";)Z.shift(),E===void 0&&(E=h.mimeType||g.getResponseHeader("Content-Type"));if(E){for(R in ne)if(ne[R]&&ne[R].test(E)){Z.unshift(R);break}}if(Z[0]in C)F=Z[0];else{for(R in C){if(!Z[0]||h.converters[R+" "+Z[0]]){F=R;break}H||(H=R)}F=F||H}if(F)return F!==Z[0]&&Z.unshift(F),C[F]}function Fh(h,g,C,E){var R,F,H,ne,Z,pe={},Ie=h.dataTypes.slice();if(Ie[1])for(H in h.converters)pe[H.toLowerCase()]=h.converters[H];for(F=Ie.shift();F;)if(h.responseFields[F]&&(C[h.responseFields[F]]=g),!Z&&E&&h.dataFilter&&(g=h.dataFilter(g,h.dataType)),Z=F,F=Ie.shift(),F){if(F==="*")F=Z;else if(Z!=="*"&&Z!==F){if(H=pe[Z+" "+F]||pe["* "+F],!H){for(R in pe)if(ne=R.split(" "),ne[1]===F&&(H=pe[Z+" "+ne[0]]||pe["* "+ne[0]],H)){H===!0?H=pe[R]:pe[R]!==!0&&(F=ne[0],Ie.unshift(ne[1]));break}}if(H!==!0)if(H&&h.throws)g=H(g);else try{g=H(g)}catch(Be){return{state:"parsererror",error:H?Be:"No conversion from "+Z+" to "+F}}}}return{state:"success",data:g}}v.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:nr.href,type:"GET",isLocal:Na.test(nr.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ui,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":v.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(h,g){return g?Da(Da(h,v.ajaxSettings),g):Da(v.ajaxSettings,h)},ajaxPrefilter:Fa(fc),ajaxTransport:Fa(Ra),ajax:function(h,g){typeof h=="object"&&(g=h,h=void 0),g=g||{};var C,E,R,F,H,ne,Z,pe,Ie,Be,_e=v.ajaxSetup({},g),et=_e.context||_e,qt=_e.context&&(et.nodeType||et.jquery)?v(et):v.event,ni=v.Deferred(),Yt=v.Callbacks("once memory"),Fi=_e.statusCode||{},Wi={},eo={},bo="canceled",ii={readyState:0,getResponseHeader:function(Zt){var Ei;if(Z){if(!F)for(F={};Ei=Jn.exec(R);)F[Ei[1].toLowerCase()+" "]=(F[Ei[1].toLowerCase()+" "]||[]).concat(Ei[2]);Ei=F[Zt.toLowerCase()+" "]}return Ei==null?null:Ei.join(", ")},getAllResponseHeaders:function(){return Z?R:null},setRequestHeader:function(Zt,Ei){return Z==null&&(Zt=eo[Zt.toLowerCase()]=eo[Zt.toLowerCase()]||Zt,Wi[Zt]=Ei),this},overrideMimeType:function(Zt){return Z==null&&(_e.mimeType=Zt),this},statusCode:function(Zt){var Ei;if(Zt)if(Z)ii.always(Zt[ii.status]);else for(Ei in Zt)Fi[Ei]=[Fi[Ei],Zt[Ei]];return this},abort:function(Zt){var Ei=Zt||bo;return C&&C.abort(Ei),Cr(0,Ei),this}};if(ni.promise(ii),_e.url=((h||_e.url||nr.href)+"").replace(Rh,nr.protocol+"//"),_e.type=g.method||g.type||_e.method||_e.type,_e.dataTypes=(_e.dataType||"*").toLowerCase().match(nt)||[""],_e.crossDomain==null){ne=ee.createElement("a");try{ne.href=_e.url,ne.href=ne.href,_e.crossDomain=Wn.protocol+"//"+Wn.host!=ne.protocol+"//"+ne.host}catch{_e.crossDomain=!0}}if(_e.data&&_e.processData&&typeof _e.data!="string"&&(_e.data=v.param(_e.data,_e.traditional)),pc(fc,_e,g,ii),Z)return ii;pe=v.event&&_e.global,pe&&v.active++===0&&v.event.trigger("ajaxStart"),_e.type=_e.type.toUpperCase(),_e.hasContent=!Nh.test(_e.type),E=_e.url.replace(Kl,""),_e.hasContent?_e.data&&_e.processData&&(_e.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(_e.data=_e.data.replace(hc,"+")):(Be=_e.url.slice(E.length),_e.data&&(_e.processData||typeof _e.data=="string")&&(E+=(Un.test(E)?"&":"?")+_e.data,delete _e.data),_e.cache===!1&&(E=E.replace(Jr,"$1"),Be=(Un.test(E)?"&":"?")+"_="+Gl.guid+++Be),_e.url=E+Be),_e.ifModified&&(v.lastModified[E]&&ii.setRequestHeader("If-Modified-Since",v.lastModified[E]),v.etag[E]&&ii.setRequestHeader("If-None-Match",v.etag[E])),(_e.data&&_e.hasContent&&_e.contentType!==!1||g.contentType)&&ii.setRequestHeader("Content-Type",_e.contentType),ii.setRequestHeader("Accept",_e.dataTypes[0]&&_e.accepts[_e.dataTypes[0]]?_e.accepts[_e.dataTypes[0]]+(_e.dataTypes[0]!=="*"?", "+Ui+"; q=0.01":""):_e.accepts["*"]);for(Ie in _e.headers)ii.setRequestHeader(Ie,_e.headers[Ie]);if(_e.beforeSend&&(_e.beforeSend.call(et,ii,_e)===!1||Z))return ii.abort();if(bo="abort",Yt.add(_e.complete),ii.done(_e.success),ii.fail(_e.error),C=pc(Ra,_e,g,ii),!C)Cr(-1,"No Transport");else{if(ii.readyState=1,pe&&qt.trigger("ajaxSend",[ii,_e]),Z)return ii;_e.async&&_e.timeout>0&&(H=t.setTimeout(function(){ii.abort("timeout")},_e.timeout));try{Z=!1,C.send(Wi,Cr)}catch(Zt){if(Z)throw Zt;Cr(-1,Zt)}}function Cr(Zt,Ei,rr,ts){var xo,is,Fn,En,sr,tn=Ei;Z||(Z=!0,H&&t.clearTimeout(H),C=void 0,R=ts||"",ii.readyState=Zt>0?4:0,xo=Zt>=200&&Zt<300||Zt===304,rr&&(En=js(_e,ii,rr)),!xo&&v.inArray("script",_e.dataTypes)>-1&&v.inArray("json",_e.dataTypes)<0&&(_e.converters["text script"]=function(){}),En=Fh(_e,En,ii,xo),xo?(_e.ifModified&&(sr=ii.getResponseHeader("Last-Modified"),sr&&(v.lastModified[E]=sr),sr=ii.getResponseHeader("etag"),sr&&(v.etag[E]=sr)),Zt===204||_e.type==="HEAD"?tn="nocontent":Zt===304?tn="notmodified":(tn=En.state,is=En.data,Fn=En.error,xo=!Fn)):(Fn=tn,(Zt||!tn)&&(tn="error",Zt<0&&(Zt=0))),ii.status=Zt,ii.statusText=(Ei||tn)+"",xo?ni.resolveWith(et,[is,tn,ii]):ni.rejectWith(et,[ii,tn,Fn]),ii.statusCode(Fi),Fi=void 0,pe&&qt.trigger(xo?"ajaxSuccess":"ajaxError",[ii,_e,xo?is:Fn]),Yt.fireWith(et,[ii,tn]),pe&&(qt.trigger("ajaxComplete",[ii,_e]),--v.active||v.event.trigger("ajaxStop")))}return ii},getJSON:function(h,g,C){return v.get(h,g,C,"json")},getScript:function(h,g){return v.get(h,void 0,g,"script")}}),v.each(["get","post"],function(h,g){v[g]=function(C,E,R,F){return U(E)&&(F=F||R,R=E,E=void 0),v.ajax(v.extend({url:C,type:g,dataType:F,data:E,success:R},v.isPlainObject(C)&&C))}}),v.ajaxPrefilter(function(h){var g;for(g in h.headers)g.toLowerCase()==="content-type"&&(h.contentType=h.headers[g]||"")}),v._evalUrl=function(h,g,C){return v.ajax({url:h,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(E){v.globalEval(E,g,C)}})},v.fn.extend({wrapAll:function(h){var g;return this[0]&&(U(h)&&(h=h.call(this[0])),g=v(h,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&g.insertBefore(this[0]),g.map(function(){for(var C=this;C.firstElementChild;)C=C.firstElementChild;return C}).append(this)),this},wrapInner:function(h){return U(h)?this.each(function(g){v(this).wrapInner(h.call(this,g))}):this.each(function(){var g=v(this),C=g.contents();C.length?C.wrapAll(h):g.append(h)})},wrap:function(h){var g=U(h);return this.each(function(C){v(this).wrapAll(g?h.call(this,C):h)})},unwrap:function(h){return this.parent(h).not("body").each(function(){v(this).replaceWith(this.childNodes)}),this}}),v.expr.pseudos.hidden=function(h){return!v.expr.pseudos.visible(h)},v.expr.pseudos.visible=function(h){return!!(h.offsetWidth||h.offsetHeight||h.getClientRects().length)},v.ajaxSettings.xhr=function(){try{return new t.XMLHttpRequest}catch{}};var Ba={0:200,1223:204},es=v.ajaxSettings.xhr();z.cors=!!es&&"withCredentials"in es,z.ajax=es=!!es,v.ajaxTransport(function(h){var g,C;if(z.cors||es&&!h.crossDomain)return{send:function(E,R){var F,H=h.xhr();if(H.open(h.type,h.url,h.async,h.username,h.password),h.xhrFields)for(F in h.xhrFields)H[F]=h.xhrFields[F];h.mimeType&&H.overrideMimeType&&H.overrideMimeType(h.mimeType),!h.crossDomain&&!E["X-Requested-With"]&&(E["X-Requested-With"]="XMLHttpRequest");for(F in E)H.setRequestHeader(F,E[F]);g=function(ne){return function(){g&&(g=C=H.onload=H.onerror=H.onabort=H.ontimeout=H.onreadystatechange=null,ne==="abort"?H.abort():ne==="error"?typeof H.status!="number"?R(0,"error"):R(H.status,H.statusText):R(Ba[H.status]||H.status,H.statusText,(H.responseType||"text")!=="text"||typeof H.responseText!="string"?{binary:H.response}:{text:H.responseText},H.getAllResponseHeaders()))}},H.onload=g(),C=H.onerror=H.ontimeout=g("error"),H.onabort!==void 0?H.onabort=C:H.onreadystatechange=function(){H.readyState===4&&t.setTimeout(function(){g&&C()})},g=g("abort");try{H.send(h.hasContent&&h.data||null)}catch(ne){if(g)throw ne}},abort:function(){g&&g()}}}),v.ajaxPrefilter(function(h){h.crossDomain&&(h.contents.script=!1)}),v.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(h){return v.globalEval(h),h}}}),v.ajaxPrefilter("script",function(h){h.cache===void 0&&(h.cache=!1),h.crossDomain&&(h.type="GET")}),v.ajaxTransport("script",function(h){if(h.crossDomain||h.scriptAttrs){var g,C;return{send:function(E,R){g=v("<script>").attr(h.scriptAttrs||{}).prop({charset:h.scriptCharset,src:h.url}).on("load error",C=function(F){g.remove(),C=null,F&&R(F.type==="error"?404:200,F.type)}),ee.head.appendChild(g[0])},abort:function(){C&&C()}}}});var or=[],Va=/(=)\?(?=&|$)|\?\?/;v.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var h=or.pop()||v.expando+"_"+Gl.guid++;return this[h]=!0,h}}),v.ajaxPrefilter("json jsonp",function(h,g,C){var E,R,F,H=h.jsonp!==!1&&(Va.test(h.url)?"url":typeof h.data=="string"&&(h.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&Va.test(h.data)&&"data");if(H||h.dataTypes[0]==="jsonp")return E=h.jsonpCallback=U(h.jsonpCallback)?h.jsonpCallback():h.jsonpCallback,H?h[H]=h[H].replace(Va,"$1"+E):h.jsonp!==!1&&(h.url+=(Un.test(h.url)?"&":"?")+h.jsonp+"="+E),h.converters["script json"]=function(){return F||v.error(E+" was not called"),F[0]},h.dataTypes[0]="json",R=t[E],t[E]=function(){F=arguments},C.always(function(){R===void 0?v(t).removeProp(E):t[E]=R,h[E]&&(h.jsonpCallback=g.jsonpCallback,or.push(E)),F&&U(R)&&R(F[0]),F=R=void 0}),"script"}),z.createHTMLDocument=function(){var h=ee.implementation.createHTMLDocument("").body;return h.innerHTML="<form></form><form></form>",h.childNodes.length===2}(),v.parseHTML=function(h,g,C){if(typeof h!="string")return[];typeof g=="boolean"&&(C=g,g=!1);var E,R,F;return g||(z.createHTMLDocument?(g=ee.implementation.createHTMLDocument(""),E=g.createElement("base"),E.href=ee.location.href,g.head.appendChild(E)):g=ee),R=ve.exec(h),F=!C&&[],R?[g.createElement(R[1])]:(R=Io([h],g,F),F&&F.length&&v(F).remove(),v.merge([],R.childNodes))},v.fn.load=function(h,g,C){var E,R,F,H=this,ne=h.indexOf(" ");return ne>-1&&(E=Sr(h.slice(ne)),h=h.slice(0,ne)),U(g)?(C=g,g=void 0):g&&typeof g=="object"&&(R="POST"),H.length>0&&v.ajax({url:h,type:R||"GET",dataType:"html",data:g}).done(function(Z){F=arguments,H.html(E?v("<div>").append(v.parseHTML(Z)).find(E):Z)}).always(C&&function(Z,pe){H.each(function(){C.apply(this,F||[Z.responseText,pe,Z])})}),this},v.expr.pseudos.animated=function(h){return v.grep(v.timers,function(g){return h===g.elem}).length},v.offset={setOffset:function(h,g,C){var E,R,F,H,ne,Z,pe,Ie=v.css(h,"position"),Be=v(h),_e={};Ie==="static"&&(h.style.position="relative"),ne=Be.offset(),F=v.css(h,"top"),Z=v.css(h,"left"),pe=(Ie==="absolute"||Ie==="fixed")&&(F+Z).indexOf("auto")>-1,pe?(E=Be.position(),H=E.top,R=E.left):(H=parseFloat(F)||0,R=parseFloat(Z)||0),U(g)&&(g=g.call(h,C,v.extend({},ne))),g.top!=null&&(_e.top=g.top-ne.top+H),g.left!=null&&(_e.left=g.left-ne.left+R),"using"in g?g.using.call(h,_e):Be.css(_e)}},v.fn.extend({offset:function(h){if(arguments.length)return h===void 0?this:this.each(function(R){v.offset.setOffset(this,h,R)});var g,C,E=this[0];if(!!E)return E.getClientRects().length?(g=E.getBoundingClientRect(),C=E.ownerDocument.defaultView,{top:g.top+C.pageYOffset,left:g.left+C.pageXOffset}):{top:0,left:0}},position:function(){if(!!this[0]){var h,g,C,E=this[0],R={top:0,left:0};if(v.css(E,"position")==="fixed")g=E.getBoundingClientRect();else{for(g=this.offset(),C=E.ownerDocument,h=E.offsetParent||C.documentElement;h&&(h===C.body||h===C.documentElement)&&v.css(h,"position")==="static";)h=h.parentNode;h&&h!==E&&h.nodeType===1&&(R=v(h).offset(),R.top+=v.css(h,"borderTopWidth",!0),R.left+=v.css(h,"borderLeftWidth",!0))}return{top:g.top-R.top-v.css(E,"marginTop",!0),left:g.left-R.left-v.css(E,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var h=this.offsetParent;h&&v.css(h,"position")==="static";)h=h.offsetParent;return h||Yi})}}),v.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(h,g){var C=g==="pageYOffset";v.fn[h]=function(E){return Xe(this,function(R,F,H){var ne;if(J(R)?ne=R:R.nodeType===9&&(ne=R.defaultView),H===void 0)return ne?ne[g]:R[F];ne?ne.scrollTo(C?ne.pageXOffset:H,C?H:ne.pageYOffset):R[F]=H},h,E,arguments.length)}}),v.each(["top","left"],function(h,g){v.cssHooks[g]=mt(z.pixelPosition,function(C,E){if(E)return E=Qe(C,g),xr.test(E)?v(C).position()[g]+"px":E})}),v.each({Height:"height",Width:"width"},function(h,g){v.each({padding:"inner"+h,content:g,"":"outer"+h},function(C,E){v.fn[E]=function(R,F){var H=arguments.length&&(C||typeof R!="boolean"),ne=C||(R===!0||F===!0?"margin":"border");return Xe(this,function(Z,pe,Ie){var Be;return J(Z)?E.indexOf("outer")===0?Z["inner"+h]:Z.document.documentElement["client"+h]:Z.nodeType===9?(Be=Z.documentElement,Math.max(Z.body["scroll"+h],Be["scroll"+h],Z.body["offset"+h],Be["offset"+h],Be["client"+h])):Ie===void 0?v.css(Z,pe,ne):v.style(Z,pe,Ie,ne)},g,H?R:void 0,H)}})}),v.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(h,g){v.fn[g]=function(C){return this.on(g,C)}}),v.fn.extend({bind:function(h,g,C){return this.on(h,null,g,C)},unbind:function(h,g){return this.off(h,null,g)},delegate:function(h,g,C,E){return this.on(g,h,C,E)},undelegate:function(h,g,C){return arguments.length===1?this.off(h,"**"):this.off(g,h||"**",C)},hover:function(h,g){return this.on("mouseenter",h).on("mouseleave",g||h)}}),v.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(h,g){v.fn[g]=function(C,E){return arguments.length>0?this.on(g,null,C,E):this.trigger(g)}});var Dh=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;v.proxy=function(h,g){var C,E,R;if(typeof g=="string"&&(C=h[g],g=h,h=C),!!U(h))return E=c.call(arguments,2),R=function(){return h.apply(g||this,E.concat(c.call(arguments)))},R.guid=h.guid=h.guid||v.guid++,R},v.holdReady=function(h){h?v.readyWait++:v.ready(!0)},v.isArray=Array.isArray,v.parseJSON=JSON.parse,v.nodeName=re,v.is
48Function=U,v.isWindow=J,v.camelCase=Ne,v.type=$,v.now=Date.now,v.isNumeric=function(h){var g=v.type(h);return(g==="number"||g==="string")&&!isNaN(h-parseFloat(h))},v.trim=function(h){return h==null?"":(h+"").replace(Dh,"$1")};var $s=t.jQuery,mc=t.$;return v.noConflict=function(h){return t.$===v&&(t.$=mc),h&&t.jQuery===v&&(t.jQuery=$s),v},typeof n=="undefined"&&(t.jQuery=t.$=v),v})})(q1);var dp=q1.exports;const Or=kn({isAuthedWithSAML:!1,userData:!1,originData:{}});function H1(){const e=_h();let t=Ke("prod");rt.apiUrl.includes("localhost")?t.value="dev":rt.apiUrl.includes("qa")?t.value="qa":t.value="prod",console.log("useSaml",t.value);let n="https://auth.tfgqa.co.za";t.value==="prod"&&(n="https://auth.tfg.co.za");const r=ce(()=>Or.originData),a=U=>{Or.originData=U},c=ce(()=>Or.isAuthedWithSAML),p=(U,J)=>new Promise((ee,Y)=>{dp.ajax({url:n+"/auth/get-status",dataType:"json",type:"get",xhrFields:{withCredentials:!0},success:function(q){if(q.success&&q.data.auth){Or.isAuthedWithSAML=!0;let $=q.data.values.firstName,G=q.data.values.lastName,X=q.data.values.email,v=q.data.values.branchCode,me=q.data.values.employeeId;console.log("adEmployeeId",me),Or.userData={adFirstName:$,adLastName:G,adUsername:X,adDepartmentNumber:v,adEmployeeId:me},U||(P(),ut.emit("saml-user-authenticated")),console.log("userData",Or.userData)}else U&&(ut.emit("saml-user-authenticated-timed-out"),J||e.success("SAML session timed out"),console.log("tfg","reset"),B());ee()},error:q=>{Y(q)}})}),w=U=>{dp.ajax({url:n+"/auth/set-referer",dataType:"json",type:"get",xhrFields:{withCredentials:!0},data:{referer:location.href},success:function(J){location.href=n+"/auth/saml2/authenticate/"+U},error:J=>{alert(JSON.stringify(J))}})},_=Ke(null),T=()=>{a({}),A()},A=(U,J)=>{p(U,J),clearInterval(_.value),_.value=setInterval(()=>{p(U,J)},3e3)};Ci(()=>{console.log("tfg","unmount"),clearInterval(_.value)});const P=()=>{console.log("tfg","CLEAR"),clearInterval(_.value)},O=ce(()=>Or.userData),B=()=>{Or.isAuthedWithSAML=!1,Or.userData={},P()};return{logout:()=>{dp.ajax({url:n+"/auth/signout",dataType:"json",type:"get",xhrFields:{withCredentials:!0},success:function(U){e.success("Logged out successfully")},error:U=>{alert(JSON.stringify(U))}})},reset:B,userData:O,getAuthStatus:p,goToAD:w,authed:c,originData:r,setOriginData:a,checkAuth:A,clear:P,init:T}}var jR="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAfCAYAAAGHa02RAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNS4xIFdpbmRvd3MiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6Qzk5MTU3NTdBRTU0MTFFMkI0MUM4OEE3Njc5NDEyNDAiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6Qzk5MTU3NThBRTU0MTFFMkI0MUM4OEE3Njc5NDEyNDAiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpDOTkxNTc1NUFFNTQxMUUyQjQxQzg4QTc2Nzk0MTI0MCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpDOTkxNTc1NkFFNTQxMUUyQjQxQzg4QTc2Nzk0MTI0MCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PiRsJoMAAAdNSURBVHjaYmBAgBgQwQgidu/d/x8IGCTERBmYgPyDL5+/YHBzcWK4cuUqRG1XV+//iROm/Acy/wMEEEy/N9wkSUnJ/7v27Pu/fOVqkAo1hmXLVoKVLl26HEwzRUWFMwD1M7x58xZsK0AAwXRqi4uL/79w8fL/s+fO/58wYSKKBdWbNm/5v2Pnbpjg/6NHj/3fuGkLxEgg0bp61WoGVhZmhn379jMsWbKMITIyguHli1cgze/ARjx69BhEJcNMQDYeIIDQ0UQglkIX/P/y5av/R44e/3/33n24bpDd//fuO8Dg6ubK8O37d4ajx44x7Nm7nwGmAOjKzf9BoSIiIgLWtWHj5v8zZswEu5rhy+evDOXllcDAeMMgJCTM8PXLF4a/fyHu+j9r1jywjpkz5/yXkJCA8xlhDpo4cQoDKLIYGRkZZs+eCYyjy9OQ/YrsT1aQAEAAwdGHjx9BFAuaInTcjKwHZi07EP/IyMhgiIqJY/j37x/YCSiKgM5RUlRgkJOVAfF+QfUwcIBMPXX67P/tO3b919PXB9sCCpZt23f+nzd/Idzm7UA+SI2MjAzcwxeBWG/1mvVQ2/4zcHJyMaSlJjE8f/4
48cbPPhI0eA7FdgOVCAMDMzMwQF+oNjqAGkABS2X798Zbh39x6Dr48nWOOBAwcZJCQkGWxtbBgy0lPA8iC8bOlSFD9fB2KNaVNngjk2NlYMhw4dgbqWkYGHh5vhLzAcfv74yTBz1nSGixcvgAOXET0BgQh+fn6G8PBIBg0NTYYnTx4znDp1kuHIkcMwNS1AXMtABODAJwkQgLKqWWkjjKLHidQqSgVrE8F5hMRCIQWteQIdu1H6AipWoilddNcnSJeF0IgWKZagj9DgSh8gLpqf+pOZ+DOLhiQUkpkpSe+9mRmahYoXDgzz3fN98917zp3ALe9DhNeEVbf3xVt3YIG4Ivlwj0h6vqTfu+no6BOLnh6RkzGvaajVamg2W1SsYUyEgohEwjBNs8n1JBz9X22doOpGBWfnF7RZp8eo3FtFUbD3bRepVEpqSmhwn58xMZc7QbFYkv7qhg7HcXxsxNdhWRYWl97wqGJy3W8Py41lx/Lz7seyZHl67mXZcg7L2M0Z6hOzprcQDIZEnuNPxzAzMy27ElHczaftfN2l01tyBW1+jpfTSjdpHLZtCy6vbkTLHB7xS3objUaDyI7AjWUhX19dwyFiFxYWtAW/WFyD018l2Jbt57hRFfLhYZZOdQRxKk61+lsMwcbgSCQ2SKYVN8cnf2Ty6cHBviw4zl/pKw0pJJOfUCiUZA5zRKMvpPLZ7A+P/LnP7XV7auo5VlfWMPB4AAHq6R+ynueqWOwVGeNYGG/XWbEwWcKetiumeaOV9TLC4Yj0tNPuoN3pjqOLcpnU1kTiXdw7dcRXmGEYUFX1PT0mu36epc98iclJFfn8T2Qy31Gv+7pQev4UPFrd8XrX9NzEA2PwrsV/AnReNTFNBUF4mkhKqAgUiNrixVhBYjUqB0+CprE20VPpAaPGiHrCg5UqpkmFxkaEtp68qRcPECoehKSWNB48Kx6aWIjGBLVYUqsJfwEeTZ3Zt/v6nlBLnHSy232zs293Z75v3lZ+BqJJ1GyJdCVd4NheU8qpbhPSgOqqqjpsJinZFN43mRBUz8Jpu52FvNVqZeOJRIJF8UQsBmPj4xiss2qXRM2H6TL/uTBHrhnCE/pjs9ngydNnsLi0hAH7m6dvvgCyagc6uWc01sB2gwGudl6BeDyu9t2C+n6zhR9T6FHH4XBAOPwIfqTnNHiez5c4Pp3WJQGf230TotGoGHqJ6lRbPRf12GAwCEeOtmA9kGO7o2O87bkFqVSKAUYwHGYZp5Z0Og3dbjfaZsBsNsPAYIhdB3BC/DD5Djzd3cL8LWorxfdxsWhX1w1obj4IK5g8Ekck0+5djOdlRMrA5UsX4cL5Dvg285Up9WmMnpGQLc1Z44BDvsgn+eZyAtVOO36Feo5GRkZGYVtZmepY5baiohx2VFaCy9WuUP3fQhAZibyA+YUFWF5eUY5dtLl1Cec7hfkU7dgi/q3nCMBWOf7KrSStIQLMw3c86j7//Q3HzCISx+gZ2ZAtzdH6WAVpXVJPaSLEmKAOe43kFFgs+3nwFiIpk8lAIODHyP6l2aHAc7rj69c6MaKN4PX6oL6+XkOOJNPTU+qFx3ScHOdkZybw+wOMRcXiodAAJJMfNbsbGhrGBef4C+xkJTUtLqSxsQk8nh5lUbp3n8+Lc5Qc3yOi2kbfFtSpra2De75e0Ov1cjWpL4d9lr0sLfofPESymUUaWNQcNXFLQ4MJeu7eYWn4+dMXxqMkhPx9/l7IZn8K8w7UYXUeH0BVttbWdgqcTpe2MssXPgfETegKCKLsUMjoaAQZ8o16qJWn0wbk0gAJg8/qajhjdzDKEVdQTOhIqUJ8HYuyCkolBBztRT9iBE1xqjq5RWIopquaj7z/FNrqIc482SKs1I96TKkjS8gfyuucMzE12gcAAAAASUVORK5CYII=";const $R={name:"C_Modal",props:{title:String,className:String},data(){return{formValid:!1}},methods:{closeModal(){document.body.classList.remove("overflow-hidden"),this.$emit("on-close")}},created(){document.body.classList.add("overflow-hidden")}},UR={class:"modal__container"},WR={class:"modal__form"},GR={class:"modal__header t-uppercase modal__header--bottom-nudge"},YR=N("img",{src:jR,alt:"Close modal"},null,-1),XR=[YR];function KR(e,t,n,r,a,c){return xe(),We("div",null,[N("div",{class:"modal__overlay",onClick:t[0]||(t[0]=(...p)=>c.closeModal&&c.closeModal(...p))}),N("div",UR,[N("section",WR,[N("header",GR,[N("div",{class:"modal__close",onClick:t[1]||(t[1]=(...p)=>c.closeModal&&c.closeModal(...p))},XR),N("h2",null,dt(n.title),1)]),N("div",{class:ji(["modal__content",n.className])},[co(e.$slots,"default")],2)])])])}var Ko=Kt($R,[["render",KR]]);const QR={name:"C_TermsAndConditions"},ZR={class:"general-copy"},JR=Dl('<div style="width:100%;text-align:center;">for a TFG Money account</div><br><ol style="padding-left:0;" class="main-ol"><li class="tc-level-1"><strong>Definitions used in this document</strong><br> In this Agreement, unless the context indicates differently - <ol class="main-ol"><li>"<strong>TFG Account</strong>" means a TFG Money account opened in your name to which we will debit amounts payable by you in terms of this Agreement, which is linked to the Card; </li><li>"<strong>Agreement</strong>" means the credit agreement that you accept and sign in store and includes these terms and conditions (the "<strong>Terms</strong>") and all notices that we send to you; </li><li>"<strong>Application</strong>" means your application for the Credit Facility which allows you to purchase on the Card, which purchases can be made at any TFG store, telephonically, or online; </li><li>"<strong>Business Day</strong>" means any day except for a Saturday, Sunday or public holiday;</li><li>"<strong>Card</strong>" means the card and the Family card(s) that we issue to you / the Family card holder(s) (as the case may be), and any digital representation of your Card; </li><li>"<strong>Credit Allocation</strong>" means the maximum amount of credit that we make available for you to access and cannot exceed the Credit Limit; </li><li>"<strong>Credit Facility</strong>" means the closed loop revolving credit facility that we offer to you to use within TFG, subject to the Terms; </li><li>"<strong>Credit Limit</strong>" means the maximum approved amount of credit in terms of your Credit Facility; </li><li>"<strong>Due Date</strong>" means the date on which a payment is due, as set out in the statement of account; </li><li>"<strong>Interest Bearing Plan</strong>" means interest bearing payment Plans of 1, 6, 12, 18, 24, 36 (six, twelve, eighteen, twenty four, thirty six) months or longer </li><li>"<strong>FGRR</strong>" means The Foschini Group Reference rate, which is the rate of interest determined by TFG from time to time and is linked to the ruling South African Reserve Bank Repurchase Rate (the "<strong>repo</strong>" rate); </li><li>"<strong>NCA</strong>" means the National Credit Act, no 34 of 2005, and Regulations, as amended; </li><li>"<strong>Personal Information</strong>" means personal information as defined in the Protection of Personal Information Act 4 of 2013 ("<strong>POPIA</strong>"); </li><li>"<strong>Process/Processing</strong>" is as defined in POPIA;</li><li>"<strong>Suspensive Interest Plan</strong>" means a 1 (one) or 6 (six) month interest waived plan which may be interest bearing as per clause 9.5 below. Certain goods may not be purchased on this Plan; </li><li>"<strong>TFG</strong>" means Foschini Retail Group (Pty) Ltd, registration number 1988/007302/07, a registered credit provider, NCRCP 36, and an authorised financial services provider, and where relevant, our affiliated companies (owned by The Foschini Group Limited). Our address is Stanley Lewis Centre, 340 Voortrekker Road, Parow East, 7500. </li><li>"<strong>we</strong>", "<strong>us</strong>" and "<strong>our</strong>" means TFG;</li><li>"<strong>you</strong>" / "<strong>your</strong>" means the person who has agreed to enter into this Agreement and whose details are recorded on the Agreement; </li><li>The headings of the various clauses in this Agreement have been inserted purely for the purposes of convenience and they will not be used to interpret the Agreement; </li><li>The singular includes the plural and vice versa.</li></ol></li><li class="tc-level-1"><strong>Your Credit Facility</strong><ol class="main-ol"><li>You have accepted the Credit Facility as set out in the pre-agreement statement and quotation and the Credit Agreement, which upon acceptance becomes part of the Agreement. </li><li>We hereby grant you the Credit Facility, subject to the Agreement.</li><li>We will issue you with a Card. The use of the Card is subject to these Terms.</li><li>We will debit all the amounts which you owe us under the Agreement, including charges and fees, to your TFG Account, on these Terms. </li><li> Your Credit Facility can be used for purchases in all of the South African brands listed on https://tfglimited.co.za/brands/, and in affiliated company brands. </li><li> We have the right in our sole discretion to close your Credit Facility and end our relationship with you, in which event we will advise you in writing of any action we intend to take. If we close your Credit Facility, you acknowledge and confirm that we will not be responsible for losses or damages incurred by you whether direct or indirect, due to our actions. </li></ol></li><li class="tc-level-1"><strong>Use of your Card and TFG Account</strong><ol class="main-ol"><li>You are the only person who can use your Card. You cannot transfer it to any other person or allow another person to use it or transfer a digital version of your Card to any other person or allow another person to access any digital version of your Card or any other information whatsoever relating to your Card. </li><li>You may apply for Family card(s) to be issued to a nominated person(s) and to link Family card(s) to your TFG Account. These terms will also apply to the use of the Family card(s). You will be responsible for all transactions made through the use of the Family card(s) and all amounts will be debited to your TFG Account. </li><li>You may use your Card to purchase goods and services from any TFG store and at Bash online. When in store, you must sign the sales voucher when you use your Card to confirm receipt of the goods and/or the services. You will not be allowed to purchase on your TFG Account if your Card or an original authentic digital representation of your Card is not present in store. Your purchases will be charged to your TFG Account. </li><li>If your Card is lost or stolen, you must call customer services (see clause 18 below for c
48ontact details), as soon as you discover the loss. If we issue a new Card to you, we will charge you a card replacement cost for the replacement Card; <ol class="main-ol"><li>You must be in store to replace your Card;</li><li>We cannot replace your Card without your original ID book/Smart ID card being present; </li><li>When replacing your Card we will conduct a DIA Facial recognition check / authentication checks to verify that you are the Card holder. </li></ol></li><li>Your Card will remain our property and we may cancel, suspend or demand the return of your Card at any time. Further, we may suspend and/or close your TFG Account/Card at any time at our absolute and sole discretion, but we will not exercise this discretion unreasonably. </li><li>If your TFG Account has been used fraudulently, you must lodge a claim with TFG Credit Forensics (see clause 18 below for contact details) within 30 (thirty) days of the date of your statement reflecting the fraudulent use, or sooner if you become aware of it before this. Failure to do so could result in you being held liable for the fraudulent purchases made on your TFG Account. You will be required to provide us with certain documents to support your claim. These must be provided to us within 7 (seven) Business Days of lodging your claim, or the investigation may be closed, and you will be held liable for the purchases. We will investigate your claim, and if we conclude that you did not make the purchase(s), we will not hold you liable for the disputed purchases. </li><li>If you are a contract worker there may be limits/blocks placed on your TFG Account up to 6 (six) months before your contract comes to an end. You therefore need to inform us if these circumstances arise and will then need to provide us with new employment details to enable us to re-activate your TFG Account/Card. You can contact customer services for more information. </li><li>You may be required to pay a deposit with your first purchase, and with each purchase thereafter until your first instalment is due, or when purchasing certain goods, and will be advised about this in store. </li></ol></li><li class="tc-level-1"><strong>Understanding your Credit Limit and Credit Allocation</strong><ol class="main-ol"><li>Any purchases you make are at all times limited to your Credit Allocation.</li><li>You undertake not to purchase in excess of the Credit Allocation.</li><li>Your Credit Allocation may be increased or decreased at any time by us in our sole discretion. </li><li>Your Credit Limit may be increased in the following instances: <ol class="main-ol"><li>temporarily, where we accept a purchase which results in the Credit Limit being exceeded or where we agree to raise the Credit Limit in response to a request from you in order to accommodate a particular purchase. You will then only be able to purchase again on your TFG Account when you have paid back the amount which exceeded your Credit Limit; or </li><li>by agreement with you in response to a written or oral request initiated by you at any time or with your written consent in response to a written proposal by us at any time; or </li><li>unilaterally and in accordance with the NCA, if you, at the time of applying for the Credit Facility or at any later time, in writing, have specifically requested the option of having the Credit Limit automatically increased from time to time. </li></ol></li><li>You may at any time, by written notice to us, require that the Credit Limit be reduced or stipulate the maximum Credit Limit that you will accept. </li><li>We may, by notice to you, reduce the Credit Limit. The reduction will be effective upon delivery of the written notice. </li><li>We may, in our sole discretion, decide to extend the term of your Plan to assist you with meeting your monthly payment obligations. We will inform you of this in writing or via SMS. This will bring your TFG Account up to date for purposes of section 103(5) of the NCA. </li></ol></li><li class="tc-level-1"><strong>If your circumstances change</strong><ol class="main-ol"><li>If your financial circumstances or income changes at any time, or you become unemployed, you must notify customer services as soon as possible after these changes occur. </li><li>If you go under debt review, you must inform us of this immediately. You will not be allowed to purchase on your TFG Account while under debt review. If you have made an online purchase on your TFG Account and
48you subsequently apply for or go under debt review before the order is fulfilled, the order may be cancelled. </li></ol></li><li class="tc-level-1"><strong>Address</strong><ol class="main-ol"><li>You agree that the address or the email address that you have provided to us at time of opening your TFG Account is the address where we must send all communication as well as legal communication to you and that such communication will be binding on you. </li><li>You must let us know in writing of any change to your address/email address, telephone or cellular phone numbers. If you fail to give notice of such a change, we may use the last information we have for you. <strong>We may also update your contact details from Information provided to us by third parties</strong>. </li><li>You will be deemed to have received a notice or letter 5 (five) Business Days after we have posted it to the address you have given us, and an email/sms on the same day that it was sent. </li></ol></li><li class="tc-level-1"><strong>Your monthly TFG Account statement ("statement")</strong><ol class="main-ol"><li>You agree that we may provide you with statements periodically (at least once every 90 days). We may not send you statements when your TFG Account is dormant or has a credit balance. </li><li>We will send the statements to the address you elected in the Agreement or to your chosen e-mail address or via SMS. You can also view your statements online by registering on www.bash.com. </li><li>The statement will, amongst others, show: all transactions relating to your TFG Account, including all interest and other charges debited or credited to your TFG Account, the minimum amount that is payable to us on or before the Due Date stated on the statement, and the total amount due on your TFG Account. </li><li>An amount equal to or more than the minimum amount due must be paid to us and must clear and reflect in our bank account on or before the Due Date. Non-availability of a statement shall not be a cause to withhold or reduce any amount due and payable to us. Information about your TFG Account and your payment obligations can also be obtained from customer services, on our website, or from any of our stores. </li><li style="font-weight:bold;">If you have not denied liability regarding a debit on your TFG Account and/or raised a query regarding the correctness of any statement within 30 (thirty) days from the date of the statement, you shall be deemed to have admitted liability to us in respect of the debit and to have accepted the statement as true and correct, unless you are able to prove the contrary. </li></ol></li><li class="tc-level-1"><strong>Paying your TFG Account</strong><ol class="main-ol"><li>We have the discretion to decide the minimum monthly amount payable ("<strong>Instalment</strong>") by you. </li><li>You may make payments at any TFG store, by electronic funds transfer (as set out on your statement), by debit order, or online. The payment method you choose is at your risk, and we will only consider a payment as properly made when we have received it and credited it to your TFG Account. </li><li>We will credit each payment made at the date of receipt of the payment, as follows - <ol class="main-ol"><li>firstly, towards any due or unpaid interest;</li><li>secondly, towards any due or unpaid fees or charges; and</li><li>thirdly, to reduce the amount of Principal Debt, which is the amount that becomes due when goods and services are purchased. </li></ol></li><li>
48If your TFG Account has been credited with an early payment, we will allocate that credit towards your monthly Instalment payment for subsequent months, after which your monthly Instalment will again become due and payable. Early payments will not be credited towards subsequent months where a contractual payment is due monthly (such as a monthly airtime subscription). </li><li>Debit orders:<br> You can pay your TFG Account by monthly debit order. You will need to complete a separate debit order instruction form in store, or you can speak to Customer Services to arrange a debit order. You will be bound to the debit order terms and conditions which can be found on the Websites. </li></ol></li><li class="tc-level-1"><strong>Interest, costs and fees that we may charge you</strong><ol class="main-ol"><li>We may charge an initiation fee for the preparation costs of this Agreement. We will inform you in the Credit Agreement if we charge this fee. </li><li>You agree to pay the monthly service fee on the Due Date. This fee is for the routine monthly administration of your TFG Account. If you do not pay this fee on time, it will be added to the outstanding balance and interest may be charged thereon. The service fee may be increased and we will give you notice of this. We may change the frequency of this fee from monthly to annually, in which event we will advise you of this in writing. </li><li>The interest rate payable by you will be the interest rate set out in the Credit Agreement, which is a variable rate. The total interest payable as well as the amount of the repayments stated in the Credit Agreement may change if the FGRR changes. We will notify you on your monthly statement of the date on which the new rate takes effect, within 30 (thirty) Business Days of the interest rate change. </li><li>Interest is calculated daily on your full outstanding balance and compounded monthly. We are entitled to add any unpaid interest to the outstanding balance and the Principal Debt. </li><li>Interest on Suspensive Interest Plans: <ol class="main-ol"><li>If your Suspensive Interest Plan is not in arrears at the beginning of the month, and you pay your full Instalment on or before the Due Date, the interest as set out in clauses 9.3 and 9.4 above will not be charged. </li><li>If you do not pay your full Instalment which which must clear and reflect in your bank account by the Due Date, interest will be charged as per clauses 9.3 and 9.4 above from the date when the purchases were made under this Plan, until you have brought your TFG Account up to date. </li></ol></li><li>We will charge you collection costs each time you miss one or more payments, or short pay, or your payment does not reflect in our bank account on the Due Date, and as a result of which we have to write a letter or email, send a SMS or call you to advise you of your default. </li><li>We may also charge for telephone calls and electronic communication if they are made or sent to a telephone number or email address that you have provided us with, and are not delivered, or if a voicemail is left on your phone. </li><li>If we hand your TFG Account over to Attorneys or debt collectors for legal collection, you will be liable for their costs in full. </li><li>If we have to institute or defend any legal action of any nature whatsoever against you, you will be liable for all legal costs incurred by us, including but not limited to: legal costs on the "attorney and client scale", collection charges, tracing fees and all necessary disbursements plus value added tax (VAT) thereon (where applicable). </li></ol></li><li class="tc-level-1"><strong>Credit Top-Up's</strong><ol class="main-ol"><li>You may apply for a Credit Top-Up for a high value purchase at selected TFG stores by completing the application form in-store. </li><li>Approval is subject to an affordability assessment.</li><li>Your credit limit must revert to what it was before the Credit Top-Up before you will be allowed to purchase on your TFG Account again. </li></ol></li><li class="tc-level-1"><strong>Optional financial products</strong><ol class="main-ol"><li>Your TFG Account may be used to pay for optional financial products that TFG is licensed to offer, and which you have agreed to take up (if available).</li><li>You agree that we may charge your TFG Account and collect the relevant amount(s) from you, for the financial products you have chosen to take up. All charges will reflect on your statement. The charging and collection of the amount(s) for these financial products as per this clause 11.282 may attract interest in terms of the Agreement. This interest is retained by us.</li><li>Separate terms and conditions apply for each optional financial product which will be provided to you when you take up the product.</li></ol></li><li class="tc-level-1"><strong>Terminating your Agreement with us</strong><ol class="main-ol"><li>You may terminate this Agreement at any time by advising customer services as per clause 18 below, and on the conditions set out below. The date on which this Agreement ends or terminates will be called the settlement date. </li><li>If you terminate this Agreement, you must pay us the settlement value on the settlement date. The settlement value will include the following amounts at the settlement date: <ol class="main-ol"><li>the unpaid balance of the Principal Debt; and</li><li>the unpaid interest and all other fees and charges you owe.</li></ol></li><li>We may terminate this Agreement on notice to you if you fail to comply with these Terms. </li></ol></li><li class="tc-level-1"><strong>If you fail to pay your TFG Account or comply with these Terms</strong><ol class="main-ol"><li>You will be in default under this Agreement if - <ol class="main-ol"><li>you do not pay any amount payable to us under this Agreement which must clear and reflect in our bank account on the Due Date; or </li><li>you breach any of the Terms of this Agreement and you do not remedy the breach; or </li><li>any representation or warranty made in connection with this Agreement or any other documents supplied by you is materially incorrect or false; </li><li>you - <ol class="main-ol"><li>publish notice of the voluntary surrender of your estate or die;</li><li>are placed under administration or commit an act of insolvency as defined in the Insolvency Act 24 of 1936; </li><li>have any application or other proceedings brought against or in respect of you in terms of which a third party seeks to have you sequestrated or placed under curatorship, in any event, whether in a manner which is provisional or final, voluntary or compulsory. </li></ol></li></ol></li><li> If you are in default, we may: <ol class="main-ol"><li>give you written notice of such default via post, email or sms;</li><li>propose that you refer this Agreement to a debt counsellor, alternative dispute resolution agent, consumer court or Ombud with jurisdiction, with the intention that the parties resolve any dispute under this Agreement or develop and agree on a plan to bring repayments up to date; </li><li> commence legal proceedings to enforce this Agreement if - <ol class="main-ol"><li>we have given you notice as referred to in 13.2.1 above or we have given notice to end any debt review process which may be underway in respect of this Agreement; and </li><li>you have been in default of this Agreement for at least 20 (twenty) Business Days; and </li><li>at least 10 (ten) Business Days have passed since we delivered a notice to you contemplated in 13.2.1; and </li><li>in the case of the notice sent to you, have not responded to that notice, or rejected our proposal. </li></ol></li></ol></li><li>If you fail to pay any amount that is due, or, you fail to comply with any conditions of your Agreement, then - <ol class="main-ol"><li>all amounts owing by you to us may become due and payable immediately, at the discretion of TFG, and in the case of your estate being sequestrated or you going under administration, we will lodge a claim for the full amount outstanding on your TFG Account, plus further interest; and </li><li>we may suspend your TFG Account and give you 10 (ten) days' notice before closing your TFG Account, in which event you will be required to repay the TFG Account in full and on demand. </li></ol></li><li> We may use the services of a tracing agent to confirm your address and contact details in the event that we cannot make contact with you. </li></ol></li><li class="tc-level-1"><strong>How we may process your Personal Information ("PI") <br> This clause 14 must be read in conjunction with TFG's Privacy Statement which can be found at https://www.mytfgworld.com/browse/staticContent.jsp?pageName=privacy </strong><ol class="main-ol"><li><span style="text-decoration:underline;">For as long as you have a TFG Account, you expressly agree that</span>: <ol class="main-ol"><li>we may collect and retain your PI for the purposes of opening and maintaining your TFG Account with us and establishing and verifying your identity; </li><li>we may make any enquiry to confirm and verify any information provided by you to us at any stage including at Application; </li><li>you will give us honest, accurate and up-to-date PI and maintain and update such information where necessary; </li><li>in the event that your Application is unsuccessful, we may check your credit record at a later stage at a credit bureau to enable us to contact you with an offer to open a TFG Account again; This will include monitoring future credit bureau(x) activity on your profile including obtaining details of any new credit application/s which you may make to third parties and monitoring your credit bureau report for any changes that may have an impact on your credit risk profile; </li><li>we may maintain and store your PI for as long as we need to by law or for any lawful purpose provided for in POPIA. </li><li>you may access your PI held by us, during office hours within a reasonable time after we have received a written request for access from you and our PAIA manual on the Website (see clause 18 for contact details);</li><li>you may request us to correct or delete your PI that is inaccurate, irrelevant, excessive, out of date, incomplete, misleading or obtained unlawfully;</li><li>you have the right to object to the processing of your PI at any time in
48which event we will no longer be able to manage your TFG Account, and it will be closed after payment of any amount due by you (see Termination clause 12 above).</li><li>you may be subject to a decision, which results in legal consequences for your or which affects you to a substantial degree, which is based solely on automated processing of your PI. You may make representations to us about a decision made in this regard. </li><li> we may transfer your PI to a third party who is in a foreign country for purposes of Application for or maintaining your TFG Account. </li></ol></li><li><span style="text-decoration:underline;">You expressly consent that we may share your PI, and monitor your PI on an ongoing basis with:</span><ol class="main-ol"><li>(a) registered credit bureau(x), the South African Credit and Risk Reporting Association (SACRRA), any organisation representing credit bureau(x), the Department of Home Affairs and other sources from time to time. We will share information concerning your Application, this Agreement and the termination thereof as well as information about your TFG Account and non-compliance with the terms of this Agreement. You acknowledge that the credit bureau(x) will provide a credit profile and possibly a credit score on your credit worthiness. You have the right to contact such credit bureau(x), to have the credit record(s) disclosed to you and to correct any inaccurate information. You acknowledge that we may also utilise alternative profile information such as: historical cash purchase behaviour at TFG, educational qualifications, household structure data, mobile device data, and geographical data and/or property ownership when assessing your Application; </li><li>other companies to share positive and negative information about you or your TFG Account, including any non-compliance with the Terms of this Agreement; </li><li>payment processing service providers, merchants and banks and other persons that assist with the processing of your payment instructions; </li><li>law enforcement and fraud prevention agencies and other persons tasked with the prevention and prosecution of crime, including the SAFPS (the South African Fraud Prevention Services) to prevent futuristic identity fraud; </li><li>Regulatory authorities, industry ombudsmen, governmental departments, local and international tax authorities and other persons that we, in accordance with applicable laws, are required to share your PI with; </li><li>our service providers, agents and sub-contractors that have been contracted by us, including Attorneys and Debt C
48ollecting agencies; </li><li>persons to whom we cede our rights or delegate our authority to in terms of this Agreement, without your consent and without notice to you. We may sell your TFG Account to third parties in the event that you have defaulted on your TFG Account. In such an event the third party will then process your PI. </li><li>third parties for the express purpose of them marketing their services and products to you, as per clause 15 below. </li></ol></li><li><span style="text-decoration:underline;">You acknowledge and expressly consent that we may process your PI for purposes of:</span><ol class="main-ol"><li>managing your TFG Account and your TFG Rewards membership, and enabling us, and any of our authorised representatives to fulfil our obligations in terms of this Agreement; </li><li>enabling us to detect fraud and criminal activities and to take the necessary measures to prevent any suspicious or fraudulent activity on your TFG Account; </li><li>Processing your purchasing information and online browsing behaviour for: market and product analysis; customer analysis; monitoring your buying patterns and using credit bureau data to enrich your profile to enable us to improve our personalized marketing offers to you; generating statistical and research reports for TFG use. Should we produce such research or statistical reports for external use, these reports will not contain any PI that identifies you; </li><li>interacting with you via various means including but not limited to: telephonic, in writing, email, SMS and WhatsApp. </li><li> We may contact the contact persons provided at time of your Application by you, to get hold of you. </li></ol></li><li> You have the right to lodge a complaint with the Information Regulator on 010 023 5200 <br><br><a href="https://www.mytfgworld.com/browse/staticContent.jsp?pageName=privacy" rel="noopener" target="_blank" class="link">More information can be found on our Privacy Statement</a></li></ol></li><li class="tc-level-1"><strong>Direct Marketing</strong><ol class="main-ol"><li>If you opt-in at time of opening your TFG Account, or any later stage, to receive direct marketing from us, we will send you marketing information and promotional offers as per clause 15.2 below ("<strong>the Marketing Services</strong>") from all of our brands across all the marketing channels you have opted-in to, which include: e-mail, SMS/MMS, post, WhatsApp and telemarketing ("<strong>the Channels</strong>"). When you opt-out of a particular Channel, you are opted-out of the Channel for that brand that was communicating to you when you opted out. To opt-out of all Marketing Services (for all brands and channels), you must contact customer services as per clause 18. It could take up to 48 hours for your updated election to take effect. </li><li>The following brands, products and services are part of TFG and could market to you: <ol class="main-ol"><li>the South African brands listed on https://tfglimited.co.za/brands/ and affiliated company brands;</li><li>TFG Rewards, myTFGworld, Bash, TFG Media and TFG Money;</li><li>TFG insurance products and airtime/data offerings.</li><li>Additional brands, products and services may be added from time to time.</li></ol></li><li>We may market any of the Marketing Services to you on Saturdays, Sundays and public holidays and outside of prescribed times as set out in the Consumer Protection Act 68 of 2008 ("CPA"). We will not do this if you opt-out. </li><li>Each time we send you Marketing Services via the Channels, we will give you the option to opt-out of receiving further Marketing Services via that Channel from that brand. </li><li>You must ensure your contact details are kept up to date to ensure you receive Marketing Services, as we will not be held responsible if you do not receive personalized offers and information on limited time deals your contact details have changed. </li><li> If you agreed to TFG sharing your Personal Information with selected business partners to market their products to you: <ol class="main-ol"><li>your Personal Information, purchasing behaviour, online browsing behaviour, marketing permissions, and TFG Account and TFG Rewards behaviour information, as visible to TFG, will be shared with selected third parties. These third parties will process your Personal Information and other related information (set out in this clause 15.6.1) for the express purpose of: conducting analytics to develop insights; conducting marketing and product analysis; enhancing product offerings and developing new products that could be relevant to you; and marketing their services and products to you in a relevant way. Third parties may contact you in various ways including but not limited to phone, SMS, email, and direct mail. </li><li> you can contact Customer Services at any time to opt out of all third-party data sharing and marketing. </li></ol></li></ol></li><li class="tc-level-1"><strong>Failure / Malfunction of networks and devices</strong><ol class="main-ol"><strong>We will not be responsible for any failure, malfunction or delay of any networks or electronic or mechanical device or terminal used in the acceptance and Processing of transactions and any other use of the TFG Account and will not be liable for any damages, losses, claims or expenses suffered or incurred by you.</strong></ol></li><li class="tc-level-1"><strong>Your acknowledgements, representations and warranties</strong><br><strong>By signing this Agreement you acknowledge that -</strong><ol class="main-ol" style="font-weight:bold;"><li>you have the full legal capacity to effect and carry out your obligations in terms of this Agreement and that the terms of this Agreement do not conflict with and do not constitute a breach of the terms of any other agreement or undertaking that is binding to you. </li><li>you have not stipulated a child grant as income for purposes of assessing your affordability. </li><li>all information that you provided to us in connection with this Agreement is in all aspects true, complete, current and accurate, and you are not aware of any material fact or circumstances not disclosed to us, which if disclosed, would adversely affect our decision to grant credit to you. </li><li>you are not subject to an administration order, under debt review or under curatorship.</li><li>this Agreement has been explained to you and you understand and appreciate the costs, risks and obligations associated herewith. </li><li>as at the date of your Application for credit with us, you have not applied for or are in the process of taking up any additional credit. </li><li>if you are married in community of property, your spouse has consented to the conclusion of this Agreement in writing and his/her signature has been attested to by two witnesses. </li><li> you have the full consent of the family reference and personal reference, as listed by you in the Application, to be contacted by TFG. </li><li>You have read these Terms and confirm that you understand their content, the meaning of which has been explained to you. </li><li style="font-weight:normal;">you have the right to resolve any dispute that may arise between us by way of alternative dispute resolution, or to file a complaint with the National Credit Regulator on 086 062 7627, or to make an application to the Consumer Tribunal, who can be contacted on 086 166 2837. </li><li> you will advise us if you are a politically exposed person or prominent influential person (this is an individual entrusted with prominent public functions either domestically or in a foreign country or a director or officer of a company providing goods or services to the State. Examples include heads of governments, political party officials or companies with State tenders). This term also includes immediate family members and close associates and further, any change to your status that results in you becoming such a person must be brought to our attention. </li></ol></li><li class="tc-level-1"><strong>Contact details</strong><ol class="main-ol"><li>Please ensure your contact details are correct, and advise us of any changes to your contact details via e-mail - [email protected]; post - P.O. Box 6020, Parow East, 7500; and; telephone - 0860 834 834 </li><li>TFG Credit Forensics can be contacted via e-mail - [email protected] / telephone - 021 938 7415 </li></ol></li><li class="tc-level-1"><strong>General terms</strong><ol class="main-ol"><li>We may monitor and record all phone calls and other interactions with you.</li><li>You may request the Terms and certain other documents in Afrikaans, isiXhosa, isiZulu and Sesotho. To the extent that any of our translated ver
48sions of our Terms conflict with the English version, the English version prevails. </li><li>If we have not strictly enforced the Terms of this Agreement at any time, you may not assume that the Terms have been waived or altered by us. The Terms will still apply and we will have the right to enforce the Terms at any time. </li><li>We may provide a letter from any of our managers, whose position it will not be necessary to prove, showing the amount that you owe to us. You agree that we may take any judgement or order that we are entitled to in law based on the amount contained in the letter, unless you disagree with such amount and are able to satisfy the court that the amount in the letter is incorrect. </li><li>This is the whole Agreement and no change or cancellation (except changes of the Terms) will be valid unless it is in writing and signed by both parties or is voice logged by us and subsequently reduced to writing, except for unilateral changes made by us in accordance with the NCA or changes to the Terms. </li><li>This Agreement is governed by South African Law.</li><li>In terms of Section 45 of the Magistrate's Court Act 32 of 1944 and at our option, any claim that may arise may be recovered in any Magistrate's Court having jurisdiction and you hereby consent to the jurisdiction of the Magistrate's Court. </li><li>We may amend or replace the Terms at any time and you will be bound to any changes made, and in such an event, a new agreement will not automatically come into being between us. Changes will be effective from a date to be advised to you or the date the new Terms are published on our Website. </li><li>As a TFG Account customer you are automatically a member of TFG Rewards which is available at select TFG brands - Visit bash.com for more information. </li><li> If you are in a polygamous marriage, married in community of property, you confirm you have the consent of your spouses to enter into this agreement. </li></ol></li><li class="tc-level-1"><strong>Special orders for jewellery</strong><br><div class="tc-block"> Any special orders placed for jewellery on your TFG Account will be subject to the terms and conditions for special orders, which you will receive when you place your special order. </div></li></ol><br><strong>If, after reading the Agreement and after we have explained it to you, you are still uncertain of your rights and your financial risk and obligations, we recommend that you obtain independent legal advice.</strong><br><br>',7),eF=N("br",null,null,-1),tF=N("br",null,null,-1),iF=N("div",{style:{"text-align":"right"}},"2024",-1);function nF(e,t,n,r,a,c){return xe(),We("section",ZR,[JR,Ze(" By signing the Agreement you acknowledge and agree that you understand the Agreement, your rights, financial risk, and obligations, and that you are aware of and have paid special attention to all the terms printed in bold. "),eF,tF,iF])}var oF=Kt(QR,[["render",nF]]);const rF={name:"C_ApplicationForm_BasicInfo",setup(){const e=H1(),t=Gi();return{saml:e,tfg:t}},mixins:[jn],components:{C_QA:Mo,C_Form:Po,C_Input:Fs,C_Select:Ta,C_Checkbox:Ea,C_Button:po,C_Modal:Ko,C_TermsAndConditions:oF,C_Processing:Oo},created(){rt.fakeData&&rt.fakeDataConfig.basicInfo&&(this.form=fo().basicInfo,Object.keys(this.form).length>1&&setTimeout(()=>{ut.emit("set-field-interaction",!0)},200)),this.logo&&(this.form.brandId=this.logo,this.logoDisabled=!0)},mounted(){this.type==="agent"&&(this.logo&&(this.formValidation.brand=!0),this.logoDisabled=!0,rt.dev?this.form.originInformation=this.saml.originData.value:this.saml.getAuthStatus().then(t=>{Object.keys(this.saml.originData.value).length===0&&this.tfg.restartApplication(),this.form.originInformation=this.saml.originData.value}));let e=this.tfg.campaignCode.value;e&&(this.form.campaignCode=e,this.$store.dispatch("appState/updateState",{campaignCode:e}))},data:function(){return{storePrefix:"basicInfo",stepNumber:1,logoDisabled:!1,termsModalActive:!1,brandMessage:null,form:{givenPermissionForCreditBureau:!1,acceptedTerms:!1}}},beforeRouteLeave(e,t){if(this.tfg.userPressedBack(e))return!1},methods:{basicSubmit(){ut.emit("set-custom-validation-message",null),this.canProceedToNextStep?this.submitStep():(ut.emit("set-custom-validation-message","Please make sure all below fields have been completed"),ut.emit("set-field-interaction",!0))}},watch:{brandId(e){console.log("brandId",e),ut.emit("TRACK",{brand:this.form.brandId}),this.brandMessage=null,this.brands.forEach(t=>{t.id==this.form.brandId&&t.message&&(this.brandMessage=t.message)})}},computed:{formHints(){return jr},formValidations(){return $r},brandId(){return this.form.brandId},titles(){return this.$store.state.categoryData.data.titles},brands(){return this.$store.state.categoryData.data.brands},filteredBrands(){return this.brands?this.type==="customer"?this.brands.filter(e=>!e.agentOnly):this.brands:[]},logo(){return this.$store.state.appState.logo}}},sF={class:"section-wrapper"},aF=N("h2",{class:"gb-das-heading"}," Please complete all fields below ",-1),lF=N("p",{class:"gb-das-sub-heading"},[Ze(" Choose the brand you\u2019re most likely to shop."),N("br"),Ze(" Your TFG Money account can be used in all TFG brands, in-store or online. ")],-1),uF={key:0},cF=["value"],dF={class:"input-container--checkbox",style:{"margin-top":"30px"}},hF=N("br",null,null,-1),fF=N("ul",null,[N("li",null,[Ze("I understand and agree to be bound by "),N("a",{style:{"font-weight":"bold"},href:"https://help.bash.com/support/solutions/articles/101000494931-tfg-money-account-terms-conditions",target:"_blank",rel:"noopener"},"the Account terms and conditions"),Ze(" ;")]),N("li",null,"Information provided by me including the documents I may provide for proof of income purposes is true, correct and complete;"),N("li",null,"TFG may contact any credit bureau to obtain my credit profile history;"),N("li",null,"I do not have any other outstanding applications for credit;"),N("li",null,"I have not applied for debt review and am not under administration, sequestration, or curatorship;"),N("li",null,[Ze("TFG will collect, retain, share, and process my personal information "),N("a",{href:"https://help.bash.com/support/solutions/articles/101000494927-privacy-statement",target:"_blank",rel:"noopener"},"as follows "),Ze(";")]),N("li",null,[Ze("I must have credit life insurance to cover the outstanding balance on this account if approved. As a feature of the TFG Money account, TFG provides TFG Customer Protection Plan and I have read, understood and accepted "),N("a",{style:{"font-weight":"bold"},href:"https://help.bash.com/support/solutions/articles/101000579099-tfg-customer-protection-
48plan-policy-and-disclosure-notice",target:"_blank",rel:"noopener"},"the terms, conditions, exclusions and limitations"),Ze(" for this insurance cover. I may replace TFG Customer Protection Plan with my own credit life insurance policy if accepted by TFG.")])],-1);function pF(e,t,n,r,a,c){const p=ze("C_Processing"),w=ze("C_Select"),_=ze("C_Input"),T=ze("C_Checkbox"),A=ze("C_TermsAndConditions"),P=ze("C_Modal"),O=ze("C_Button"),B=ze("C_Form"),z=ze("C_QA");return xe(),We("section",sF,[fe(p,{show:e.posting},null,8,["show"]),fe(B,{novalidate:"",class:"accounts-form",ref:"form","validation-results":e.validationResults,errorMessage:e.errorMessage},{default:_t(()=>[aF,lF,fe(w,{mandatory:!0,modelValue:e.form.brandId,"onUpdate:modelValue":t[0]||(t[0]=U=>e.form.brandId=U),label:"Choose a brand",id:"account-app-logo",name:"brand",ref:"Logo",disable:e.logoDisabled,options:c.filteredBrands,validations:c.formValidations.basicInfo.brand},null,8,["modelValue","disable","options","validations"]),e.brandMessage?(xe(),We("p",uF,dt(e.brandMessage),1)):ht("",!0),fe(_,{mandatory:!0,modelValue:e.form.idNumber,"onUpdate:modelValue":t[1]||(t[1]=U=>e.form.idNumber=U),label:"SA ID Number",id:"idNumber",ref:"IdNumber",type:"text",numeric:!0,name:"idNumber",maxlength:13,hint:c.formHints.basicInfo.idNumber,validations:c.formValidations.basicInfo.idNumber},null,8,["modelValue","hint","validations"]),fe(w,{options:c.titles,mandatory:!0,modelValue:e.form.title,"onUpdate:modelValue":t[2]||(t[2]=U=>e.form.title=U),label:"Title",id:"account-app-title",ref:"Title",name:"title",validations:c.formValidations.basicInfo.title},{default:_t(()=>[(xe(!0),We($t,null,Vr(c.titles,U=>(xe(),We("option",{value:U,key:U},dt(U),9,cF))),128))]),_:1},8,["options","modelValue","validations"]),fe(_,{mandatory:!0,modelValue:e.form.firstName,"onUpdate:modelValue":t[3]||(t[3]=U=>e.form.firstName=U),label:"First Name",id:"account-app-name",ref:"FirstNames",type:"text",name:"name",maxlength:15,hint:c.formHints.basicInfo.firstName,validations:c.formValidations.basicInfo.firstName},null,8,["modelValue","hint","validations"]),fe(_,{mandatory:!0,modelValue:e.form.surname,"onUpdate:modelValue":t[4]||(t[4]=U=>e.form.surname=U),label:"Surname",ref:"Surname",maxlength:22,id:"account-app-surname",type:"text",name:"surname",hint:c.formHints.basicInfo.surname,validations:c.formValidations.basicInfo.surname},null,8,["modelValue","hint","validations"]),fe(_,{mandatory:!0,modelValue:e.form.cellNumber,"onUpdate:modelValue":t[5]||(t[5]=U=>e.form.cellNumber=U),label:"SA Mobile Number",id:"account-app-cell",ref:"CellNumber",type:"text",name:"cell",numeric:!0,hint:c.formHints.basicInfo.cell,maxlength:10,validations:c.formValidations.basicInfo.cell},null,8,["modelValue","hint","validations"]),Uo(fe(_,{modelValue:e.form.promotionCode,"onUpdate:modelValue":t[6]||(t[6]=U=>e.form.promotionCode=U),label:"Promotion Code",id:"account-app-promotion-code",type:"text",name:"promotionCode",maxlength:40,validations:c.formValidations.basicInfo.promo},null,8,["modelValue","validations"]),[[Al,!1]]),N("div",dF,[fe(T,{modelValue:e.form.acceptedTerms,"onUpdate:modelValue":t[7]||(t[7]=U=>e.form.acceptedTerms=U),id:"account-app-terms",name:"terms",ref:"AcceptTermsAndConditions",validations:c.formValidations.basicInfo.terms,errorMessage:{valueMissing:"Please confirm the Terms and Conditions"}},{default:_t(()=>[Ze(" By applying for a TFG Money account I confirm that:"),hF,fF]),_:1},8,["modelValue","validations"]),fe(T,{modelValue:e.form.givenPermissionForCreditBureau,"onUpdate:modelValue":t[8]||(t[8]=U=>e.form.givenPermissionForCreditBureau=U),id:"account-app-credit",name:"creditCheck",validations:[]},{default:_t(()=>[Ze(" If I am not successful with this credit application, I give TFG permission to contact the credit bureau at a later stage to offer me a TFG Money account. ")]),_:1},8,["modelValue"])]),e.termsModalActive?(xe(),Rt(P,{key:1,onOnClose:t[9]||(t[9]=U=>e.termsModalActive=!1),title:"Terms and Conditions"},{default:_t(()=>[fe(A)]),_:1})):ht("",!0),fe(O,{label:"Next",onClick:c.basicSubmit,class:ji({"btn-disabled":!e.canProceedToNextStep})},null,8,["onClick","class"])]),_:1},8,["validation-results","errorMessage"]),fe(z,{form:e.form,validations:e.formValidation},null,8,["form","validations"])])}var mF=Kt(rF,[["render",pF]]);const gF={mixins:[jn],name:"C_ApplicationForm_Complete",setup(){return{tfg:Gi()}},data:function(){return{stepNumber:6}},beforeRouteLeave(e,t){if(this.tfg.userPressedBack(e))return!1},mounted(){},watch:{},computed:{failedApplication(){return this.text.toLowerCase().includes("sorry")||this.text.toLowerCase().includes("unsuccessful")},text(){return this.$store.state.messages.message},show(){return this.text!=null&&this.text.length}}},yF=e=>(Yu("data-v-80007aa8"),e=e(),Xu(),e),vF={class:"section-wrapper",id:"c
48omplete"},bF={ref:"messageBar",class:"complete-container"},xF=yF(()=>N("div",{style:{"margin-top":"10px"}},[Ze("Click "),N("a",{href:"https://bash.com/?redirect=www.mytfgworld.com",style:{"font-weight":"bold","text-decoration":"none"}},"here"),Ze(" to find your nearest store.")],-1));function wF(e,t,n,r,a,c){return xe(),We("section",vF,[Uo(N("div",bF,[Ze(dt(c.text)+" ",1),xF],512),[[Al,c.show]])])}var SF=Kt(gF,[["render",wF],["__scopeId","data-v-80007aa8"]]);const _F={name:"C_ApplicationForm_Contacts",computed:{formHints(){return jr},formValidations(){return $r}},setup(){return{tfg:Gi()}},mixins:[jn],components:{C_QA:Mo,C_Form:Po,C_Input:Fs,C_Checkbox:Ea,C_Button:po,C_Processing:Oo},created(){rt.fakeData&&rt.fakeDataConfig.contactInfo&&(this.form=fo().contactInfo,Object.keys(this.form).length>1&&setTimeout(()=>{ut.emit("set-field-interaction",!0)},200))},data(){return{storePrefix:"contactInfo",stepNumber:4,termsModalActive:!1,form:{postalSameAsHome:!1,homeAddress:{},postalAddress:{}},formDev:{workPhoneNumber:"0111232345",homePhoneNumber:"0111232345",email:"[email protected]",yearsAtPresentAddress:3,postalSameAsHome:!0,homeAddress:{line1:"addr line 1",line2:"addr line 2",city:"Stellenbosch ",postalCode:"7600"},postalAddress:{}}}},beforeRouteLeave(e,t){if(this.tfg.userPressedBack(e))return!1}},CF={class:"section-wrapper",id:"contacts"},kF=N("h2",{class:"gb-das-heading"}," Contact Details ",-1),AF=N("p",null," Please tell us where we can reach you (other than your cellphone) ",-1),TF=N("div",{class:"form-subheading"}," Home Address ",-1),EF=N("p",null," Please enter the address where you currently live. ",-1),MF=N("hr",null,null,-1),PF=N("div",{class:"form-subheading"}," Postal Address ",-1),OF=N("p",null," Please enter an address where we can send your TFG Account statements. ",-1);function IF(e,t,n,r,a,c){const p=ze("C_Processing"),w=ze("C_Input"),_=ze("C_Checkbox"),T=ze("C_Button"),A=ze("C_Form"),P=ze("C_QA");return xe(),We("section",CF,[fe(p,{show:e.posting},null,8,["show"]),fe(A,{novalidate:"",class:"accounts-form","validation-results":e.validationResults,errorMessage:e.errorMessage},{default:_t(()=>[kF,AF,fe(w,{mandatory:!0,modelValue:a.form.homePhoneNumber,"onUpdate:modelValue":t[0]||(t[0]=O=>a.form.homePhoneNumber=O),label:"Home Telephone",id:"account-app-contact-home",name:"homePhoneNumber",ref:"HomeContactNumber",numeric:!0,maxlength:10,validations:c.formValidations.contact.homePhone,hint:c.formHints.contact.homePhone,errorMessage_:{exactLength:"How can we reach you at work e.g. 0219387666"}},null,8,["modelValue","validations","hint","errorMessage_"]),fe(w,{mandatory:!0,modelValue:a.form.workPhoneNumber,"onUpdate:modelValue":t[1]||(t[1]=O=>a.form.workPhoneNumber=O),label:"Work Telephone",id:"account-app-contact-work",ref:"WorkContactNumber",name:"workPhoneNumber",numeric:!0,maxlength:10,validations:c.formValidations.contact.workPhone,hint:c.formHints.contact.workPhone,errorMessage_:{exactLength:"How can we reach you at work e.g. 0219387666"}},null,8,["modelValue","validations","hint","errorMessage_"]),fe(w,{mandatory:!0,modelValue:a.form.email,"onUpdate:modelValue":t[2]||(t[2]=O=>a.form.email=O),label:"Email Address",id:"account-app-contact-email",ref:"EmailAddress",type:"text",name:"email",maxlength:72,hint:c.formHints.contact.emailAddress,validations:c.formValidations.contact.emailAddress,errorMessage_:{valueMissing:"e.g. [email protected]"}},null,8,["modelValue","hint","validations","errorMessage_"]),TF,EF,fe(w,{mandatory:!0,modelValue:a.form.homeAddress.line1,"onUpdate:modelValue":t[3]||(t[3]=O=>a.form.homeAddress.line1=O),ref:"HomeAddress.Line1",label:"Address Line 1",id:"account-app-home-address-line1",type:"text",name:"homeAddressLine1",maxlength:30,hint:c.formHints.contact.h_address1,__pattern:"[a-zA-Z0-9 \\.\\-]+",validations:c.formValidations.contact.h_address1,__errorMessage:{patternMismatch:"Please enter a valid Home Address line 1: less than 30 characters, containing only letters, numbers, (.) or (-)."}},null,8,["modelValue","hint","validations","__errorMessage"]),fe(w,{mandatory:!1,modelValue:a.form.homeAddress.line2,"onUpdate:modelValue":t[4]||(t[4]=O=>a.form.homeAddress.line2=O),label:"Address Line 2",ref:"HomeAddress.Line2",id:"account-app-home-address-line2",type:"text",hint:c.formHints.contact.h_address2,name:"homeAddressLine2",validations:c.formValidations.contact.h_address2,maxlength:30,pattern__:"[a-zA-Z0-9 \\.\\-]+",errorMessage__:{patternMismatch:"Please enter a valid Home Address line 2: less than 30 characters, containing only letters, numbers, (.) or (-)."}},null,8,["modelValue","hint","validations","errorMessage__"]),fe(w,{mandatory:!0,modelValue:a.form.homeAddress.city,"onUpdate:modelValue":t[5]||(t[5]=O=>a.form.homeAddress.city=O),label:"Town/City/Suburb",ref:"HomeAddress.CityOrSuburb",id:"account-app-home-city",type:"text",name:"homeCity",hint:c.formHints.contact.h_suburb,maxlength:22,__pattern:"[a-zA-Z0-9 \\.\\-]+",validations:c.formValidations.contact.h_suburb,__errorMessage:{patternMismatch:"Please enter a valid Home City / town / suburb: less than 22 characters, containing only letters, numbers, (.) or (-)."}},null,8,["modelValue","hint","validations","__errorMessage"]),fe(w,{mandatory:!0,modelValue:a.form.homeAddress.postalCode,"onUpdate:modelValue":t[6]||(t[6]=O=>a.form.homeAddress.postalCode=O),ref:"HomeAddress.PostalCode",label:"Postal Code",id:"account-app-home-postalcode",type:"text",numeric:!0,hint:c.formHints.contact.h_postalCode,name:"homePostalCode",validations:c.formValidations.contact.h_postalCode,errorMessage_:{valueMissing:"e.g. 7500"}},null,8,["modelValue","hint","validations","errorMessage_"]),fe(w,{mandatory:!0,modelValue:a.form.yearsAtPresentAddress,"onUpdate:modelValue":t[7]||(t[7]=O=>a.form.yearsAtPresentAddress=O),label:"Years at Current Address",id:"account-app-home-years-at-address",type:"text",numeric:!0,maxlength:2,name:"yearsAtAddress",hint:c.formHints.contact.h_yearsAtCurrentAddress,validations:c.formValidations.contact.h_yearsAtCurrentAddress,errorMessage__:{valueMissing:"Number of years you've lived at this address e.g. 5"}},null,8,["modelValue","hint","validations","errorMessage__"]),fe(_,{modelValue:a.form.postalSameAsHome,"onUpdate:modelValue":t[8]||(t[8]=O=>a.form.postalSameAsHome=O),id:"account-app-home-sameAsPostal",name:"sameAsPostal","use-label":!0},{default:_t(()=>[Ze(" Is your postal address the same as your home address? ")]),_:1},8,["modelValue"]),a.form.postalSameAsHome?ht("",!0):(xe(),We($t,{key:0},[MF,PF,OF,fe(w,{mandatory:!0,modelValue:a.form.postalAddress.line1,"onUpdate:modelValue":t[9]||(t[9]=O=>a.form.postalAddress.line1=O),ref:"PostalAddress.Line1",label:"Address Line 1",id:"account-app-post-address-line1",type:"text",name:"postalAddressLine1",maxlength:30,validations:c.formValidations.contact.h_address1,hint:c.formHints.contact.p_address1,errorMessage_:{valueMissing:"egad",patternMismatch:"Please enter a valid Home Address line 1: less than 30 characters, containing only letters, numbers, (.) or (-)."}},null,8,["modelValue","validations","hint","errorMessage_"]),fe(w,{mandatory:!1,modelValue:a.form.postalAddress.line2,"onUpdate:modelValue":t[10]||(t[10]=O=>a.form.postalAddress.line2=O),ref:"PostalAddress.Line2",label:"Address Line 2",id:"account-app-post-address-line2",type:"text",name:"postalAddressLine2",maxlength:30,validations:c.formValidations.contact.h_address2,hint:c.formHints.contact.p_address2,errorMessage_:{patternMismatch:"Please enter a valid Home Address line 2: less than 30 characters, containing only letters, numbers, (.) or (-)."}},null,8,["modelValue","validations","hint","errorMessage_"]),fe(w,{mandatory:!0,modelValue:a.form.postalAddress.city,"onUpdate:modelValue":t[11]||(t[11]=O=>a.form.postalAddress.city=O),ref:"PostalAddress.CityOrSuburb",label:"Town/City/Suburb",id:"account-app-post-city",type:"text",name:"postalCity",validations:c.formValidations.contact.h_suburb,maxlength:22,___pattern:"[a-zA-Z0-9 \\.\\-]+",hint:c.formHints.contact.p_suburb,errorMessage_:{patternMismatch:"Please enter a valid Home City / town / suburb: less than 22 characters, containing only letters, numbers, (.) or (-)."}},null,8,["modelValue","validations","hint","errorMessage_"]),fe(w,{mandatory:!0,modelValue:a.form.postalAddress.postalCode,"onUpdate:modelValue":t[12]||(t[12]=O=>a.form.postalAddress.postalCode=O),ref:"PostalAddress.PostalCode",label:"Postal Code",id:"account-app-post-postalcode",type:"text",numeric:!0,name:"postalPostalCode",validations:c.formValidations.contact.h_postalCode,hint:c.formHints.contact.p_postalCode,errorMessage_:{valueMissing:"e.g. 7500"}},null,8,["modelValue","validations","hint","errorMessage_"])],64)),fe(T,{label:"Next",onClick:e.trySubmit,class:ji({"btn-disabled":!e.canProceedToNextStep})},null,8,["onClick","class"])]),_:1},8,["validation-results","errorMessage"]),fe(P,{form:a.form,validations:e.formValidation},null,8,["form","validations"])])}var LF=Kt(_F,[["render",IF]]);
48const NF={name:"C_ContinueFromReference",setup(){return{tfg:Gi()}},mixins:[jn],components:{C_Processing:Oo},data:function(){return{storePrefix:"continueFromReference"}},beforeRouteLeave(e,t){if(this.tfg.userPressedBack(e))return!1},mounted(){let e=this.$route.query.accountAppRef;e==null?this.$router.push("/"):this.$store.dispatch("continueFromReference/send",{accountAppRef:e})}},RF={class:"section-wrapper continue-step"};function FF(e,t,n,r,a,c){const p=ze("C_Processing");return xe(),We("section",RF,[fe(p,{show:e.posting},null,8,["show"]),Ze(" Continue Application.... ")])}var DF=Kt(NF,[["render",FF],["__scopeId","data-v-15c920da"]]);const BF={name:"C_ApplicationForm_Employment",setup(){return{tfg:Gi()}},mixins:[jn],components:{C_QA:Mo,C_Form:Po,C_Input:Fs,C_Select:Ta,C_Button:po,C_Processing:Oo},watch:{employmentCapacities(){delete this.form.employmentCapacity,this.reset=!0,setTimeout(()=>{this.reset=!1},100)}},created(){rt.fakeData&&rt.fakeDataConfig.employmentInfo&&(this.form=fo().employmentInfo,Object.keys(this.form).length>1&&setTimeout(()=>{ut.emit("set-field-interaction",!0)},200))},data(){return{storePrefix:"employmentInfo",stepNumber:2,form:{},reset:!1}},beforeRouteLeave(e,t){if(this.tfg.userPressedBack(e))return!1},computed:{canShowEmploymentCapacity(){return this.form.incomeCategory=="PEM"||this.form.incomeCategory=="CON"||this.form.incomeCategory=="SEM"},canShowEmploymentLevel(){return this.form.employmentCapacity=="MMS"||this.form.employmentCapacity=="ISM"||this.form.employmentCapacity=="LFS"||this.form.employmentCapacity=="OPS"||this.form.employmentCapacity=="EAT"},formValidations(){return $r},formHints(){return jr},employmentCapacities(){let e=[];return(this.form.incomeCategory=="PEM"||this.form.incomeCategory=="CON")&&this.employmentCapacityCodes.forEach(t=>{e.push({name:t.name,id:t.id})}),this.form.incomeCategory=="SEM"&&this.selfEmploymentCapacityCodes.forEach(t=>{e.push({name:t.name,id:t.id})}),e},contractExpiryYearOptions(){return this.$store.state.categoryData.data.contractExpiryYears},studentTypes(){return this.$store.state.categoryData.data.studentTypes},employmentTypes(){return this.$store.state.categoryData.data.employmentTypes},selfEmploymentCapacityCodes(){return this.$store.state.categoryData.data.selfEmploymentCapacityCodes},employmentLevels(){return this.$store.state.categoryData.data.employmentLevels},employmentCapacityCodes(){return this.$store.state.categoryData.data.employmentCapacityCodes}}},VF={class:"section-wrapper",id:"employment"},qF=N("h2",{class:"gb-das-heading"}," Please complete your employment details ",-1),HF={key:0},zF={key:1},jF={key:2},$F={key:3},UF=["value"],WF=N("p",null,"Contract Expiry Date",-1);function GF(e,t,n,r,a,c){const p=ze("C_Processing"),w=ze("C_Select"),_=ze("C_Input"),T=ze("C_Button"),A=ze("C_Form"),P=ze("C_QA");return xe(),We("section",VF,[fe(p,{show:e.posting},null,8,["show"]),fe(A,{novalidate:"",class:"accounts-form","validation-results":e.validationResults,errorMessage:e.errorMessage},{default:_t(()=>[qF,(xe(),We($t,{key:0},[a.form.incomeCategory==null?(xe(),We("p",HF,"Please specify your type of employment.")):ht("",!0),fe(w,{mandatory:!0,modelValue:a.form.incomeCategory,"onUpdate:modelValue":t[0]||(t[0]=O=>a.form.incomeCategory=O),label:"Employment Type",id:"account-app-employment-type",name:"incomeCategory",ref:"IncomeCategory",required:"",validations:c.formValidations.employmentDetails.employmentType,options:c.employmentTypes},null,8,["modelValue","validations","options"]),a.form.incomeCategory=="PEM"||a.form.incomeCategory=="CON"?(xe(),We("p",zF," Please tell us more about your job ")):a.form.incomeCategory=="SEM"?(xe(),We("p",jF," Please tell us more about your business ")):a.form.incomeCategory=="STU"?(xe(),We("p",$F," Please tell us more about your studies ")):ht("",!0),a.form.incomeCategory=="STU"?(xe(),We($t,{key:4},[fe(_,{mandatory:!0,modelValue:a.form.educationalInstitution,"onUpdate:modelValue":t[1]||(t[1]=O=>a.form.educationalInstitution=O),label:"Study Institution",id:"account-app-institution",type:"text",maxlength:50,name:"educationalInstitution",ref:"EducationalInstitution",validations:c.formValidations.employmentDetails.institution,hint:c.formHints.employmentDetails.institution,errorMessage_:{valueMissing:"e.g. UCT"}},null,8,["modelValue","validations","hint","errorMessage_"]),fe(w,{mandatory:!0,modelValue:a.form.studentType,"onUpdate:modelValue":t[2]||(t[2]=O=>a.form.studentType=O),label:"Type of Student",id:"account-app-student-type",name:"studentType",ref:"StudentTypeId",required:"",options:c.studentTypes,validations:c.formValidations.employmentDetails.studentType},{default:_t(()=>[(xe(!0),We($t,null,Vr(c.studentTypes,O=>(xe(),We("option",{value:O.id,key:O.id},dt(O.name),9,UF))),128))]),_:1},8,["modelValue","options","validations"])],64)):ht("",!0),c.canShowEmploymentCapacity&&!a.reset?(xe(),Rt(w,{key:5,mandatory:!0,modelValue:a.form.employmentCapacity,"onUpdate:modelValue":t[3]||(t[3]=O=>a.form.employmentCapacity=O),label:"Employment Category",id:"account-app-employment-category",name:"employmentCapacity",ref:"EmploymentCapacity",required:"",validations:c.formValidations.employmentDetails.employmentCategory,hint:c.formHints.employmentDetails.employmentCategory,options:c.employmentCapacities},null,8,["modelValue","validations","hint","options"])):ht("",!0),c.canShowEmploymentCapacity&&c.canShowEmploymentLevel?(xe(),Rt(w,{key:6,mandatory:!0,modelValue:a.form.employmentLevel,"onUpdate:modelValue":t[4]||(t[4]=O=>a.form.employmentLevel=O),label:"Employment Level",id:"account-app-employment-level",name:"employmentLevel",ref:"EmploymentLevel",required:"",validations:c.formValidations.employmentDetails.employmentLevel,options:c.employmentLevels},null,8,["modelValue","validations","options"])):ht("",!0),a.form.incomeCategory=="PEM"||a.form.incomeCategory=="CON"||a.form.incomeCategory=="SEM"?(xe(),Rt(_,{key:7,mandatory:!0,modelValue:a.form.employer,"onUpdate:modelValue":t[5]||(t[5]=O=>a.form.employer=O),label:"Employer",ref:"CompanyOrEmployerName",id:"account-app-employer",type:"text",name:"employer",maxlength:30,hint:c.formHints.employmentDetails.companyName,validations:c.formValidations.employmentDetails.companyName,errorMessage_:{valueMissing:"Name of the company"}},null,8,["modelValue","hint","validations"])):ht("",!0),a.form.incomeCategory=="CON"?(xe(),We($t,{key:8},[WF,fe(w,{mandatory:!0,modelValue:a.form.contractExpiryMonth,"onUpdate:modelValue":t[6]||(t[6]=O=>a.form.contractExpiryMonth=O),label:"Contract Expiry Month",id:"acc-app-contract-expiry-month",name:"contractExpiryMonth",ref:"ContractExpiryDate",required:"",hint:"Contract Expiry Date",validations:c.formValidations.employmentDetails.contractExpiryMonth,options:["01","02","03","04","05","06","07","08","09","10","11","12"]},null,8,["modelValue","validations"]),fe(w,{mandatory:!0,modelValue:a.form.contractExpiryYear,"onUpdate:modelValue":t[7]||(t[7]=O=>a.form.contractExpiryYear=O),label:"Contract Expiry Year",id:"acc-app-contract-expiry-year",ref:"ContractExpiryDate.Year",name:"contractExpiryYear",required:"",validations:c.formValidations.employmentDetails.contractExpiryYear,options:c.contractExpiryYearOptions},null,8,["modelValue","validations","options"])],64)):ht("",!0)],64)),fe(T,{label:"Next",onClick:e.trySubmit,class:ji({"btn-disabled":!e.canProceedToNextStep})},null,8,["onClick","class"])]),_:1},8,["validation-results","errorMessage"]),fe(P,{form:a.form,validations:e.formValidation},null,8,["form","validations"])])}var YF=Kt(BF,[["render",GF]]);const XF={name:"C_ApplicationForm_Financial",computed:{formHints(){return jr},formValidations(){return $r}},setup(){return{tfg:Gi()}},mixins:[jn],components:{C_Select:Ta,C_QA:Mo,C_Form:Po,C_Input:Fs,C_Radio:oc,C_Button:po,C_Processing:Oo},data:function(){return{storePrefix:"financialInfo",stepNumber:3,termsModalActive:!1,form:{income:{},expenses:{}}}},created(){rt.fakeData&&rt.fakeDataConfig.financialInfo&&(this.form=fo().financialInfo,Object.keys(this.form).length>1&&setTimeout(()=>{ut.emit("set-field-interaction",!0)},200))},beforeRouteLeave(e,t){if(this.tfg.userPressedBack(e))return!1}},KF={class:"section-wrapper",id:"financial"},QF=N("h2",{class:"gb-das-heading"}," Please complete your income and expense details ",-1),ZF=N("p",null," TFG will use the income and expense information provided by you, plus your bureau commitments, to ensure that we give you a credit limit that you can afford. ",-1),JF=N("h2",{class:"gb-das-heading"}," Monthly Income ",-1),eD=N("p",null," Please enter 0 if not applicable ",-1),tD=N("strong",{style:{"font-weight":"bolder"}},"Child grants must be excluded",-1),iD=N("input",{id:"account-app-affordable-installment",type:"hidden",name:"installment",value:"
480"},null,-1),nD={class:"input-container--radio"},oD=N("h2",{class:"t-semibold t-center wrapper-small gb-das-heading"}," Monthly Expenses ",-1),rD=N("p",null," Please enter 0 if not applicable ",-1),sD={class:"input-container--radio"};function aD(e,t,n,r,a,c){const p=ze("C_Processing"),w=ze("C_Select"),_=ze("C_Input"),T=ze("C_Radio"),A=ze("C_Button"),P=ze("C_Form"),O=ze("C_QA");return xe(),We("section",KF,[fe(p,{show:e.posting},null,8,["show"]),fe(P,{novalidate:"",class:"accounts-form","validation-results":e.validationResults,errorMessage:e.errorMessage},{default:_t(()=>[QF,ZF,fe(w,{mandatory:!0,modelValue:e.form.income.primarySourceIncome,"onUpdate:modelValue":t[0]||(t[0]=B=>e.form.income.primarySourceIncome=B),ref:"PrimarySourceIncome",label:"Primary Source of Income",sdfsdfsdfid:"account-app-ethnic-group",name:"primarySourceIncome",widthy:240,hint:c.formHints.affordability.primarySourceIncome,validations:c.formValidations.affordability.primarySourceIncome,options:["Salary","Wages","Rental income","Investments","Grants","Own business","Allowance","Commission","Other"]},null,8,["modelValue","hint","validations"]),JF,eD,tD,fe(_,{mandatory:!0,modelValue:e.form.income.salary,"onUpdate:modelValue":t[1]||(t[1]=B=>e.form.income.salary=B),label:"Monthly Salary Before Deductions",id:"account-app-salary",ref:"Income-Salary",type:"text",numeric:!0,name:"salary",maxlength:6,widthy:270,validations:c.formValidations.affordability.income,hint:c.formHints.affordability.salary,errorMessage_:{valueMissing:"Before deductions e.g. 8000"}},null,8,["modelValue","validations","hint","errorMessage_"]),fe(_,{mandatory:!0,modelValue:e.form.income.otherIncome,"onUpdate:modelValue":t[2]||(t[2]=B=>e.form.income.otherIncome=B),label:"Other Income (e.g. allowances)",id:"account-app-other-income",ref:"Income-OtherIncome",type:"text",numeric:!0,validations:c.formValidations.affordability.income,name:"otherIncome",widthy:245,maxlength:6,hint:c.formHints.affordability.otherIncome,errorMessage_:{valueMissing:"Excluding salary, including student or other allowance e.g. 1000"}},null,8,["modelValue","validations","hint","errorMessage_"]),iD,N("div",nD,[fe(T,{mandatory:!0,modelValue:e.form.income.payslipPermission,"onUpdate:modelValue":t[3]||(t[3]=B=>e.form.income.payslipPermission=B),type:"radio",name:"payslipPermission",ref:"PayslipPermission",id:"payslip-permission-yes",labels:[{label:"Yes",value:!0},{label:"No",value:!1}],required:"",hideValidation:!0,"radio-value":!0},{label:_t(()=>[Ze(" If required, may we obtain your payslip from a third party on your behalf to verify your income? ")]),_:1},8,["modelValue"])]),oD,rD,fe(_,{mandatory:!0,modelValue:e.form.expenses.rent,"onUpdate:modelValue":t[4]||(t[4]=B=>e.form.expenses.rent=B),label:"Rent",id:"account-app-expense-rent",ref:"Rent",type:"text",numeric:!0,maxlength:6,name:"rent",hint:c.formHints.affordability.rent,validations:c.formValidations.affordability.expenses,errorMessage_:{valueMissing:"e.g. 2000"}},null,8,["modelValue","hint","validations","errorMessage_"]),fe(_,{mandatory:!0,modelValue:e.form.expenses.homeLoanRepayments,"onUpdate:modelValue":t[5]||(t[5]=B=>e.form.expenses.homeLoanRepayments=B),label:"Home Loan repayments",ref:"HomeLoanRepayments",id:"account-app-expense-home-loan",type:"text",numeric:!0,maxlength:6,name:"homeLoan",validations:c.formValidations.affordability.expenses,hint:c.formHints.affordability.homeLoan,errorMessage_:{valueMissing:"e.g. 5000"}},null,8,["modelValue","validations","hint","errorMessage_"]),fe(_,{mandatory:!0,modelValue:e.form.expenses.levyAndRates,"onUpdate:modelValue":t[6]||(t[6]=B=>e.form.expenses.levyAndRates=B),label:"Levy / Rates / Taxes",id:"account-app-levy-and-rates",ref:"LevyAndRates",type:"text",numeric:!0,maxlength:6,name:"levyRates",validations:c.formValidations.affordability.expenses,hint:c.formHints.affordability.levyRates,errorMessage_:{valueMissing:"e.g. 500"}},null,8,["modelValue","validations","hint","errorMessage_"]),fe(_,{mandatory:!0,modelValue:e.form.expenses.childSupportPayments,"onUpdate:modelValue":t[7]||(t[7]=B=>e.form.expenses.childSupportPayments=B),label:"Child Support / Maintenance",ref:"ChildSupportPayments",id:"account-app-expense-child-support",type:"text",numeric:!0,maxlength:6,widthy:230,name:"childSupportPayments",validations:c.formValidations.affordability.expenses,hint:c.formHints.affordability.childSupport,errorMessage_:{valueMissing:"If you are not living with your child, how much maintenance do you pay every month e.g. 1000"}},null,8,["modelValue","validations","hint","errorMessage_"]),fe(_,{mandatory:!0,modelValue:e.form.expenses.medicalAid,"onUpdate:modelValue":t[8]||(t[8]=B=>e.form.expenses.medicalAid=B),label:"Medical Aid",id:"account-app-medical-aid",ref:"MedicalAid",type:"text",numeric:!0,maxlength:6,name:"medicalAid",hint:c.formHints.affordability.medicalAid,validations:c.formValidations.affordability.expenses,errorMessage_:{valueMissing:"e.g. 800"}},null,8,["modelValue","hint","validations","errorMessage_"]),fe(_,{mandatory:!0,modelValue:e.form.expenses.policies,"onUpdate:modelValue":t[9]||(t[9]=B=>e.form.expenses.policies=B),label:"Policies",id:"account-app-policies",ref:"Policies",type:"text",numeric:!0,maxlength:6,name:"policies",hint:c.formHints.affordability.policies,val
48idations:c.formValidations.affordability.expenses,errorMessage_:{valueMissing:"Including life & funeral insurance, stokvel and investment contributions e.g. 500"}},null,8,["modelValue","hint","validations","errorMessage_"]),fe(_,{mandatory:!0,modelValue:e.form.expenses.prepaidCellular,"onUpdate:modelValue":t[10]||(t[10]=B=>e.form.expenses.prepaidCellular=B),label:"Prepaid Mobile",id:"account-app-prepaid-cellular",ref:"PrepaidCellular",type:"text",maxlength:6,numeric:!0,name:"prepaidCellular",validations:c.formValidations.affordability.expenses,hint:c.formHints.affordability.cell,errorMessage_:{valueMissing:"Your monthly (non contract) cellphone bill e.g. 200"}},null,8,["modelValue","validations","hint","errorMessage_"]),fe(_,{mandatory:!0,modelValue:e.form.expenses.transport,"onUpdate:modelValue":t[11]||(t[11]=B=>e.form.expenses.transport=B),label:"Transport Expenses",ref:"Transport",id:"account-app-transport",type:"text",numeric:!0,name:"transport",maxlength:6,validations:c.formValidations.affordability.expenses,hint:c.formHints.affordability.transport,errorMessage_:{valueMissing:"Your monthly petrol, taxi, bus and train costs e.g. 500"}},null,8,["modelValue","validations","hint","errorMessage_"]),fe(_,{mandatory:!0,modelValue:e.form.expenses.otherExpenses,"onUpdate:modelValue":t[12]||(t[12]=B=>e.form.expenses.otherExpenses=B),label:"Other Monthly Living Expenses",id:"account-app-other-expenses",ref:"OtherExpenses",type:"text",numeric:!0,maxlength:6,name:"otherExpenses",validations:c.formValidations.affordability.expenses,hint:c.formHints.affordability.otherExpenses,"sub-hint":c.formHints.affordability.otherExpensesSub,errorMessage_:{valueMissing:"(eg. water, electricity, food, clothing, school fees, bank fees, medical expenses.)"}},null,8,["modelValue","validations","hint","sub-hint","errorMessage_"]),N("div",sD,[ht("",!0),fe(T,{modelValue:e.form.expenses.creditLimitIncreasePermission,"onUpdate:modelValue":t[13]||(t[13]=B=>e.form.expenses.creditLimitIncreasePermission=B),type:"radio",name:"creditLimitIncreasePermission",ref:"creditLimitIncreasePermission",validations:c.formValidations.affordability.automaticIncreases,id:"automatic-credit-increase-yes",label:"Would you like to be considered for automatic annual credit limit increases?",labels:[{label:"Yes",value:!0},{label:"No",value:!1}]},null,8,["modelValue","validations"])]),fe(A,{label:"Next",onClick:e.trySubmit,class:ji({"btn-disabled":!e.canProceedToNextStep})},null,8,["onClick","class"])]),_:1},8,["validation-results","errorMessage"]),fe(O,{form:e.form,validations:e.formValidation},null,8,["form","validations"])])}var lD=Kt(XF,[["render",aD]]);const uD={name:"C_ApplicationForm_StartAsCustomer",setup(){return{tfg:Gi()}},mixins:[jn],components:{C_Processing:Oo},data:function(){return{storePrefix:"initiateAgentApplication",type:""}},props:["campaignCode"],methods:{trackInitiate(e){let t=this.campaignCode,n={entryType:e,applicationType:"New"};t!=null&&(this.tfg.setCampaignCode(t),n.campaignCode=t),ut.emit("TRACK",n)}},mounted(){let e=[...Array(8)].map(()=>(Math.random()*36|0).toString(36)).join("");localStorage.setItem("sessionId",e);let t=this.$route.path.split("/");this.type=t[t.length-2],this.$store.dispatch("appState/clearState",{}),this.$store.dispatch("appState/updateState",{nextStep:""});let n=this.type=="customer"?"C001":"S001";setTimeout(()=>{this.$store.dispatch("appState/updateState",{entryType:n}),this.$store.dispatch("initiateAgentApplication/send",{})},0),this.trackInitiate(n)}},cD={class:"section-wrapper continue-step"};function dD(e,t,n,r,a,c){const p=ze("C_Processing");return xe(),We("section",cD,[fe(p,{show:e.posting},null,8,["show"]),Ze(" Start Application as "+dt(e.type)+".... ",1)])}var hD=Kt(uD,[["render",dD],["__scopeId","data-v-8e7451a2"]]);const z1=e=>(Yu("data-v-15e7cf20"),e=e(),Xu(),e),fD=z1(()=>N("hr",null,null,-1)),pD={id:"myModal",class:"modal"},mD={class:"modal-content",style:{"min-width":"350px"}},gD=z1(()=>N("div",{class:"ad-headline"},"Store sign in",-1)),yD={__name:"C_SAML",setup(e){const t=Ke(!1),n=Pi("saml");return console.log("tfg","init saml!"),n.init(),(r,a)=>(xe(),We("div",null,[fD,N("div",{class:"sign-in-button",onClick:a[0]||(a[0]=c=>t.value=!0)},"Store sign in"),fe(jl,{modelValue:t.value,"onUpdate:modelValue":a[5]||(a[5]=c=>t.value=c)},{default:_t(()=>[N("div",pD,[N("div",mD,[N("span",{class:"close",onClick:a[1]||(a[1]=c=>t.value=!1)},"\xD7"),gD,N("div",{class:"ad-option",onClick:a[2]||(a[2]=c=>Ji(n).goToAD("tfg"))},"TFG"),N("div",{class:"ad-option",onClick:a[3]||(a[3]=c=>Ji(n).goToAD("coricraft"))},"Coricraft"),N("div",{class:"ad-option",onClick:a[4]||(a[4]=c=>Ji(n).goToAD("dial-a-bed"))},"Dial a Bed / Mojo Beds")])])]),_:1},8,["modelValue"])]))}};var vD=Kt(yD,[["__scopeId","data-v-15e7cf20"]]);const bD={name:"C_ApplicationForm_OriginInfo",computed:{formHints(){return jr},formValidations(){return $r},config(){return rt}},setup(){const e=H1(),t=Gi(),n=_h();return Fr("saml",e),{saml:e,tfg:t,notify:n}},mixins:[jn],components:{C_QA:Mo,C_SAML:vD,C_Form:Po,C_Input:Fs,C_Select:Ta,C_Radio:oc,C_Checkbox:Ea,C_Button:po,C_Processing:Oo},props:{},data(){return{timer:null,storePrefix:"originInfo",isAgency:!1,termsModalActive:!1,form:{customerPresent:null,customerPermission:!1}}},methods:{setSAMLTimeout(){},originSubmit(){ut.emit("set-custom-validation-message",null),this.canProceedToNextStep?(this.saml.setOriginData(this.form),console.log("tfg","clearTimerInterval1"),clearInterval(this.timer),this.submitStep()):(ut.emit("set-custom-validation-message","Please make sure all below fields have been completed"),ut.emit("set-field-interaction",!0))}},beforeUnmount(){ut.off("saml-user-authenticated"),ut.off("saml-user-authenticated-timed-out"),console.log("tfg","clearTimerInterval3")},created(){rt.fakeData&&rt.fakeDataConfig.originInfo&&(this.form=fo().origin)},mounted(){ut.on("saml-user-authenticated",()=>
48{Object.keys(this.saml.userData.value).forEach(e=>{this.form[e]=this.saml.userData.value[e]}),console.log("tfg","saml.checkAuth"),this.saml.checkAuth(!0)}),ut.on("saml-user-authenticated-timed-out",()=>{clearInterval(this.timer)}),console.log("tfg","mounted.setSAMLTimeout"),this.form.captureStrategy="S001",this.saml.checkAuth(!0,!0)}},xD={class:"section-wrapper",id:"agency"},wD=N("h2",{class:"gb-das-heading"}," Please complete all fields below ",-1),SD=N("p",null,"6 month interest-free plans are available upon request at time of first purchase.",-1),_D={class:"input-container--radio-"},CD=N("div",{style:{"margin-top":"0px"}},"The customer is present",-1),kD=N("div",{style:{clear:"both"}},null,-1),AD={class:"input-container--checkbox"},TD=N("br",null,null,-1);function ED(e,t,n,r,a,c){const p=ze("C_SAML"),w=ze("C_Processing"),_=ze("C_Input"),T=ze("C_Select"),A=ze("C_Radio"),P=ze("C_Checkbox"),O=ze("C_Button"),B=ze("C_Form"),z=ze("C_QA");return xe(),We("section",xD,[r.saml.authed.value?(xe(),We($t,{key:1},[fe(w,{show:e.posting},null,8,["show"]),fe(B,{novalidate:"",class:"accounts-form","validation-results":e.validationResults,errorMessage:e.errorMessage},{default:_t(()=>[(xe(),We($t,{key:0},[wD,SD,fe(_,{mandatory:!0,modelValue:a.form.branchNumber,"onUpdate:modelValue":t[0]||(t[0]=U=>a.form.branchNumber=U),label:"Store Branch Number",id:"account-app-branch-number",type:"text",numeric:!0,maxlength:6,name:"branchNumber",hint:c.formHints.originInfo.branchNumber,validations:c.formValidations.originInfo.branchNumber},null,8,["modelValue","hint","validations"]),fe(T,{mandatory:!0,modelValue:a.form.agentType,"onUpdate:modelValue":t[1]||(t[1]=U=>a.form.agentType=U),label:"Agent Type",id:"account-app-agent-type",name:"agentType",required:"",validations:c.formValidations.originInfo.agentType,options:[{name:"Store Agent",id:"StoreAgent"},{name:"Canvassing Agent",id:"Canvas"}]},null,8,["modelValue","validations"]),a.form.agentType==="Canvas"?(xe(),Rt(_,{key:0,mandatory:!0,modelValue:a.form.canvassingAgency,"onUpdate:modelValue":t[2]||(t[2]=U=>a.form.canvassingAgency=U),label:"Canvassing Agency",id:"account-app-agency",type:"text",name:"canvassingAgency",hint:c.formHints.originInfo.canvassingAgency,maxlength:30,validations:c.formValidations.originInfo.canvassingAgency},null,8,["modelValue","hint","validations"])):ht("",!0),a.form.agentType?(xe(),We($t,{key:1},[fe(_,{mandatory:!0,modelValue:a.form.employeeNumber,"onUpdate:modelValue":t[3]||(t[3]=U=>a.form.employeeNumber=U),label:"Employee Number",type:"text",id:"account-app-employee-number",name:"employeeNumber",maxlength:8,hint:c.formHints.originInfo.employeeNumber,validations:c.formValidations.originInfo.employeeNumber},null,8,["modelValue","hint","validations"]),fe(_,{mandatory:!0,modelValue:a.form.employeeName,"onUpdate:modelValue":t[4]||(t[4]=U=>a.form.employeeName=U),label:"Employee Name",id:"account-app-employee-name",type:"text",name:"employeeName",maxlength:30,hint:c.formHints.originInfo.employeeName,validations:c.formValidations.originInfo.employeeName},null,8,["modelValue","hint","validations"])],64)):ht("",!0),a.form.agentType?(xe(),We($t,{key:2},[N("div",_D,[CD,kD,fe(A,{modelValue:a.form.customerPresent,"onUpdate:modelValue":t[5]||(t[5]=U=>a.form.customerPresent=U),type:"radio",name:"customerPresent",id:"customer-present-yes",labels:[{label:"Yes",value:!0},{label:"No",value:!1}],validations:c.formValidations.originInfo.customerPresent,hideValidation:!1,"radio-value":!0},null,8,["modelValue","validations"])]),N("div",AD,[fe(P,{modelValue:a.form.customerPermission,"onUpdate:modelValue":t[6]||(t[6]=U=>a.form.customerPermission=U),id:"account-app-customer-permission",name:"customerPermission",validations:c.formValidations.originInfo.customerPermission,errorMessage_:{valueMissing:"Please confirm that you have the Customer's Permission"}},{default:_t(()=>[Ze(" I confirm that I have obtained the customer's permission to capture their application online / on DAS on their behalf. "),TD,Ze(" I confirm further that I have given the terms and conditions for the TFG Money account and TFG Customer Protection Plan, as well as any optional insurance products, to the customer. ")]),_:1},8,["modelValue","validations"])])],64)):ht("",!0)],64)),fe(O,{label:"Next",onClick:c.originSubmit,class:ji({"btn-disabled":!e.canProceedToNextStep})},null,8,["onClick","class"])]),_:1},8,["validation-results","errorMessage"]),fe(z,{form:a.form,validations:e.formValidation},null,8,["form","validations"])],64)):(xe(),Rt(p,{key:0}))])}var MD=Kt(bD,[["render",ED]]);const PD={name:"C_ApplicationForm_PS_Permissions",setup(){return{tfg:Gi()}},mixins:[jn],components:{C_QA:Mo,C_Form:Po,C_Checkbox:Ea,C_Button:po},data(){return{storePrefix:"permissions",stepNumber:6,form:{postalMarketing:!1,telephoneMarketing:!1,emailMarketing:!1,cellphoneMarketing:!1,thirdPartyMarketing:!1}}},created(){rt.fakeData&&rt.fakeDataConfig.permissionsAndSubs&&(this.form=fo().permissions)},beforeRouteLeave(e,t){if(this.tfg.userPressedBack(e))return!1}},OD={class:"section-wrapper",id:"permissions"},ID=N("h2",{class:"gb-das-heading"}," Permissions to Personalized Offers & Updates ",-1),LD=N("p",null," As a TFG Money account customer, you'll qualify for personalised offers and updates from all of TFG's brands, including cellular, insurance and publishing offers. Do you agree to us sending you these offers via: ",-1),ND={class:"permissions-column"},RD=N("div",{class:"my-option"},"SMS",-1),FD={class:"permissions-column"},DD=N("div",{class:"my-option"},"Email",-1),BD={class:"permissions-column"},VD=N("div",{class:"my-option"},"Telephone",-1),qD={class:"permissions-column"},HD=N("div",{class:"my-option"},"Mail / Post",-1),zD=N("p",null," Do you agree that TFG may share your personal information with selected business partners to market their products to you? ",-1),jD={class:"permissions-column"},$D=N("div",{class:"my-option"}
48,"3rd Party Marketing",-1);function UD(e,t,n,r,a,c){const p=ze("C_Checkbox"),w=ze("C_Button"),_=ze("C_Form"),T=ze("C_QA");return xe(),We("section",OD,[fe(_,{novalidate:"",onSubmit:e.submitStep,class:"accounts-form","validation-results":e.validationResults,errorMessage:e.errorMessage},{default:_t(()=>[ID,LD,N("div",ND,[RD,fe(p,{modelValue:a.form.cellphoneMarketing,"onUpdate:modelValue":t[0]||(t[0]=A=>a.form.cellphoneMarketing=A),id:"marketing-sms",name:"marketingSMS","use-label":!0},{default:_t(()=>[Ze(" Yes ")]),_:1},8,["modelValue"])]),N("div",FD,[DD,fe(p,{modelValue:a.form.emailMarketing,"onUpdate:modelValue":t[1]||(t[1]=A=>a.form.emailMarketing=A),id:"marketing-email",name:"marketingEmail","use-label":!0},{default:_t(()=>[Ze(" Yes ")]),_:1},8,["modelValue"])]),N("div",BD,[VD,fe(p,{modelValue:a.form.telephoneMarketing,"onUpdate:modelValue":t[2]||(t[2]=A=>a.form.telephoneMarketing=A),id:"marketing-telephone",name:"marketingTelephone","use-label":!0},{default:_t(()=>[Ze(" Yes ")]),_:1},8,["modelValue"])]),N("div",qD,[HD,fe(p,{modelValue:a.form.postalMarketing,"onUpdate:modelValue":t[3]||(t[3]=A=>a.form.postalMarketing=A),id:"marketing-post",name:"marketingPost","use-label":!0},{default:_t(()=>[Ze(" Yes ")]),_:1},8,["modelValue"])]),zD,N("div",jD,[$D,fe(p,{modelValue:a.form.thirdPartyMarketing,"onUpdate:modelValue":t[4]||(t[4]=A=>a.form.thirdPartyMarketing=A),id:"marketing-3rd-party",name:"marketingThirdParty","use-label":!0},{default:_t(()=>[Ze(" Yes ")]),_:1},8,["modelValue"])]),fe(w,{label:"Next"})]),_:1},8,["onSubmit","validation-results","errorMessage"]),fe(T,{form:a.form,validations:e.formValidation},null,8,["form","validations"])])}var WD=Kt(PD,[["render",UD]]);const GD={style:{height:"100%","border-collapse":"collapse"},class:"pub-table"},YD=["src","alt"],XD=["src","alt"],KD=["src","alt"],QD={style:{width:"116px"},align:"left"},ZD={key:0},JD={colspan:"3"},e2=["innerHTML"],t2={__name:"C_MagazineTable",props:G0({name:String,imageName:String,imageName2:String,varName:String,options:Array,disclaimer:String,align:String},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const t=xx(e,"modelValue"),n=e,r=()=>{ut.emit("magazine-selection-made",n.varName)};return(a,c)=>(xe(),We("table",GD,[N("tr",null,[N("td",{style:{cursor:"pointer",height:"120px","padding-right":"0px","text-align":"right"},onClick:c[0]||(c[0]=p=>a.$emit("modal"))},[N("span",null,[Ze(dt(e.name),1),e.disclaimer?(xe(),We($t,{key:0},[Ze(" *")],64)):ht("",!0)])]),N("td",{style:Hr([`width:${e.imageName2,105}px`,{cursor:"pointer","text-align":"center"}]),onClick:c[1]||(c[1]=p=>
48a.$emit("modal"))},[e.imageName2?ht("",!0):(xe(),We("img",{key:0,src:`/img/magazines/${e.imageName}.png`,style:{"max-width":"50px"},alt:e.name},null,8,YD)),e.imageName2?(xe(),We($t,{key:1},[N("img",{src:`/img/magazines/${e.imageName}.png`,style:{"max-width":"50px"},alt:e.imageName},null,8,XD),N("img",{src:`/img/magazines/${e.imageName2}.png`,style:{"max-width":"50px"},alt:e.imageName2},null,8,KD)],64)):ht("",!0)],4),N("td",QD,[fe(oc,{modelValue:t.value[e.varName],"onUpdate:modelValue":c[2]||(c[2]=p=>t.value[e.varName]=p),onClick:r,type:"radio",name:e.varName,size:"30px",labels:e.options,hideValidation:!0,"radio-value":!0},null,8,["modelValue","name","labels"])])]),e.disclaimer?(xe(),We("tr",ZD,[N("td",JD,[N("small",{innerHTML:e.disclaimer},null,8,e2)])])):ht("",!0)]))}};var i2=Kt(t2,[["__scopeId","data-v-73badca2"]]),n2="/assets/club-cover.a8e72eda.png";const o2=N("img",{src:n2,alt:"Club",class:"permissions-modal-img"},null,-1),r2=N("br",null,null,-1),s2=N("ul",null,[N("li",null,"Fashion! Beauty! Food! D\xE9cor! Discounts & more! It's all in your fantastic monthly CLUB magazine"),N("li",null,"2 x R20 000 bursaries awarded monthly"),N("li",null,"Grocery coupons worth up to R1 250 each month"),N("li",null," R6 500 death benefit underwritten by Guardrisk Life Limited, an authorised financial services provider (FSP76) and an insurer licensed to conduct life insurance business in terms of the Insurance Act 18 of 2017 "),N("li",null,"Fantastic competitions & prizes")],-1),a2=["innerHTML"],l2={__name:"ClubRegular",props:{prices:Object},setup(e){const t=Pi("magazines"),n=Ke(!0);return(r,a)=>n.value?(xe(),Rt(Ko,{key:0,onOnClose:a[0]||(a[0]=c=>r.$emit("close")),title:"Club",style:{"text-align":"left"},"class-name":"magazine__modal"},{default:_t(()=>[o2,N("p",null,[Ze(" Digital: "),N("strong",null,"R"+dt(e.prices.clubDigital),1),Ze(" per month."),r2,Ze(" Billed to your TFG Money account. ")]),s2,N("p",{innerHTML:Ji(t).popupFooterCopy},null,8,a2)]),_:1})):ht("",!0)}};var u2="/assets/club-x-cover.9cfe345d.png";const c2=N("img",{src:u2,alt:"ClubX",class:"permissions-modal-img"},null,-1),d2=N("br",null,null,-1),h2=N("p",null,"ClubX - Dive into youth culture with cutting edge fashion and beauty tips, interviews with influencers and musicians, and the latest trends and celebrity inside scoops. Plus, ClubX magazine is loaded with great monthly prizes and exclusive subscriber benefits.",-1),f2=N("ul",null,[N("li",null,"50+ Shoprite Checkers grocery coupons monthly"),N("li",null,"R10,000 tertiary education bursary awarded each month"),N("li",null,"R40 KFC food voucher to the first 500 subscribers to claim monthly"),N("li",null,"Exclusive shopping discounts at TFG stores"),N("li",null,"Awesome competitions and prizes")],-1),p2=["innerHTML"],m2={__name:"ClubX",props:{prices:Object},setup(e){const t=Pi("magazines"),n=Ke(!0);return(r,a)=>n.value?(xe(),Rt(Ko,{key:0,onOnClose:a[0]||(a[0]=c=>r.$emit("close")),title:"ClubX",style:{"text-align":"left"},"class-name":"magazine__modal"},{default:_t(()=>[c2,N("p",null,[Ze("Digital: "),N("strong",null,"R"+dt(e.prices.clubXDigital),1),Ze(" per month."),d2,Ze(" Billed to your TFG Money account. ")]),h2,Ze(" Great reasons to sign up for ClubX magazine: "),f2,N("p",{innerHTML:Ji(t).popupFooterCopy},null,8,p2)]),_:1})):ht("",!0)}};var g2="/assets/jet-club-cover.ba4e4445.png";const y2=N("img",{src:g2,alt:"Jet Club",class:"permissions-modal-img"},null,-1),v2=N("br",null,null,-1),b2=N("ul",null,[N("li",null,[Ze("Monthly "),N("strong",null,"grocery coupons"),Ze(" to "),N("strong",null,"save"),Ze(" on your shopping")]),N("li",null,[N("strong",null,"Educational assistance"),Ze(" \u2013 telephonic tutorial support for Grade 1-12 from Study Master")]),N("li",null,[Ze("Chance to win "),N("strong",null,"TFG Gift Cards"),Ze(" of up to "),N("strong",{style:{"text-wrap":"nowrap"}},"R15 000")]),N("li",null,"Shopping discounts at TFG stores"),N("li",null," Up to R5 000 funeral benefit (R3 500 for you and R1 500 for your partner) underwritten by Guardrisk Life Limited, an authorised financial services provider (FSP76) and an insurer licensed to conduct life insurance business in terms of the Insurance Act 18 of 2017 ")],-1),x2=["innerHTML"],w2={__name:"JetClub",props:{prices:Object},setup(e){const t=Pi("magazines"),n=Ke(!0);return(r,a)=>n.value?(xe(),Rt(Ko,{key:0,onOnClose:a[0]||(a[0]=c=>r.$emit("close")),title:"Jet Club",style:{"text-align":"left"},"class-name":"magazine__modal"},{default:_t(()=>[y2,N("p",null,[Ze(" Digital: "),N("strong",null,"R"+dt(e.prices.jetClubDigital),1),Ze(" per month."),v2,Ze(" Billed to your TFG Money account. ")]),b2,N("p",{innerHTML:Ji(t).popupFooterCopy},null,8,x2)]),_:1})):ht("",!0)}};var S2="/assets/kids-only-cover.9b20f5b7.png";const _2=N("img",{src:S2,alt:"Kids Only",class:"permissions-modal-img"},null,-1),C2=N("br",null,null,-1),k2=N("ul",null,[N("li",null,"Educational Assistance- telephonic tutorial support for Grade 1-12 from Study Master"),N("li",null,"A monthly entry to stand a chance to win a school fee bursary to the value of R
485 000"),N("li",null,"Awesome monthly competitions to stand a chance to win TFG Money account credits"),N("li",null,"Monthly shopping discounts at TFG stores"),N("li",null,"The first 500 subscribers to claim will receive a R40 food voucher.")],-1),A2=["innerHTML"],T2={__name:"KidsOnly",props:{prices:Object},setup(e){const t=Pi("magazines"),n=Ke(!0);return(r,a)=>n.value?(xe(),Rt(Ko,{key:0,onOnClose:a[0]||(a[0]=c=>r.$emit("close")),title:"Kids",style:{"text-align":"left"},"class-name":"magazine__modal"},{default:_t(()=>[_2,N("p",null,[Ze("Digital: "),N("strong",null,"R"+dt(e.prices.kidsOnlyDigital),1),Ze(" per month."),C2,Ze(" Billed to your TFG Money account. ")]),Ze(" Kids magazine lets children have fun while learning; packed with awesome educational and interactive activities and content! It's also the biggest children's magazine in South Africa. "),k2,N("p",{innerHTML:Ji(t).popupFooterCopy},null,8,A2)]),_:1})):ht("",!0)}};var E2="/assets/mykitchen-cover.d85ff1fd.png";const M2=N("img",{src:E2,alt:"MyKitchen",class:"permissions-modal-img"},null,-1),P2=N("br",null,null,-1),O2=N("p",null,"Bringing local and international trends and recipes that are simple to make, budget-friendly and educational. Plus, it's filled with health tips, food hacks and awesome benefits. You can also enjoy meals that cater to the health conscious and cooking with kids. Whether you're a beginner or the ultimate foodie, we've got something for everyone.",-1),I2=N("strong",null,"exclusive",-1),L2=N("ul",null,[N("li",null,[Ze("Grocery coupons worth over "),N("strong",null,"R1000"),Ze(" every month")]),N("li",null,"Monthly shopping discounts from @home"),N("li",null,"Discounts at the MK Online shop"),N("li",null,"Over 28 easy recipes every month"),N("li",null,"Great monthly prizes and competitions")],-1),N2=["innerHTML"],R2={__name:"MyKitchen",props:{prices:Object},setup(e){const t=Pi("magazines"),n=Ke(!0);return(r,a)=>n.value?(xe(),Rt(Ko,{key:0,onOnClose:a[0]||(a[0]=c=>r.$emit("close")),title:"MyKitchen",style:{"text-align":"left"},"class-name":"magazine__modal"},{default:_t(()=>[M2,N("p",null,[Ze("Digital: "),N("strong",null,"R"+dt(e.prices.myKitchenDigital),1),Ze(" per month."),P2,Ze(" Billed to your TFG Money account. ")]),O2,Ze(" Monthly "),I2,Ze(" subscriber benefits include: "),L2,N("p",{innerHTML:Ji(t).popupFooterCopy},null,8,N2)]),_:1})):ht("",!0)}};var F2="/assets/club-cover.a8e72eda.png";const D2=N("img",{src:F2,alt:"Platinum Club",class:"permissions-modal-img"},null,-1),B2=N("br",null,null,-1),V2=N("p",null,"ALL the fashion, beauty, d\xE9cor and food you want! Monthly grocery discounts! All in your monthly CLUB magazine",-1),q2=N("ul",null,[N("li",null,"Great competitions"),N("li",null,"R17 000 death benefit underwritten by Guardrisk Life Limited, an authorised financial services provider (FSP76) and an insurer licensed to conduct life insurance business in terms of the Insurance Act 18 of 2017"),N("li",null,"R20k big cash draw monthly")],-1),H2=["innerHTML"],z2={__name:"PlatinumClub",props:{prices:Object},setup(e){const t=Pi("magazines"),n=Ke(!0);return(r,a)=>n.value?(xe(),Rt(Ko,{key:0,onOnClose:a[0]||(a[0]=c=>r.$emit("close")),title:"Platinum Club",style:{"text-align":"left"},"class-name":"magazine__modal"},{default:_t(()=>[D2,N("p",null,[Ze("Digital: "),N("strong",null,"R"+dt(e.prices.platinumClubDigital),1),Ze(" per month."),B2,Ze(" Billed to your TFG Money account.")]),V2,q2,N("p",{innerHTML:Ji(t).popupFooterCopy},null,8,H2)]),_:1})):ht("",!0)}};var j2="/assets/sports-gold-cover.54fa3d61.png";const $2=N("img",{src:j2,alt:"SportsGold",class:"permissions-modal-img"},null,-1),U2=N("br",null,null,-1),W2=N("br",null,null,-1),G2=N("ul",null,[N("li",null,"24/7 free medical advice"),N("li",null,"Win your share of R15,000 in account credit monthly"),N("li",null,"Save up to 30% on local stays"),N("li",null,"10% off Intercape bus tickets"),N("li",null,"50 monthly food coupons = up to R500 in savings"),N("li",null,"Fastest fingers first, KFC vouchers monthly"),N("li",null,"Monthly TFG store discounts"),N("li",null,"R50 airtime/month with a TFG Connect SIM")],-1),Y2=["innerHTML"],X2={__name:"SportsGold",props:{prices:Object},setup(e){const t=Pi("magazines"),n=Ke(!0);return(r,a)=>n.value?(xe(),Rt(Ko,{key:0,onOnClose:a[0]||(a[0]=c=>r.$emit("close")),title:"SportsGold",style:{"text-align":"left"},"class-name":"magazine__modal"},{default:_t(()=>[$2,N("p",null,[Ze(" Digital: "),N("strong",null,"R"+dt(e.prices.sportsGoldDigital),1),Ze(" per month."),U2,Ze(" Billed to your TFG Money account. ")]),Ze(" Get your sports fix plus awesome perks with SportsClub magazine!"),W2,G2,N("p",{innerHTML:Ji(t).popupFooterCopy},null,8,Y2)]),_:1})):ht("",!0)}};var K2="/assets/man-cover.ded72a2a.png";const Q2=N("img",{src:K2,alt:"Man",class:"permissions-modal-img"},null,-1),Z2=N("br",null,null,-1),J2=N("p",null,"TFG Man magazine is the ultimate guide for the modern ambitious man, filled with fas
48hion, grooming, cars, music, and business\u2026 all in a slick monthly magazine. Over 50,000 South Africans already subscribe to this amazing publication.",-1),e5=N("ul",null,[N("li",null,"Access to a unique roadside assistance helpline"),N("li",null,"Automatic entry into monthly competitions with the CHANCE TO WIN your share of R10,000 credited to your TFG account, with five subscribers each month receiving R2,000")],-1),t5=["innerHTML"],i5={__name:"TfgMan",props:{prices:Object},setup(e){const t=Pi("magazines"),n=Ke(!0);return(r,a)=>n.value?(xe(),Rt(Ko,{key:0,onOnClose:a[0]||(a[0]=c=>r.$emit("close")),title:"Man",style:{"text-align":"left"},"class-name":"magazine__modal"},{default:_t(()=>[Q2,N("p",null,[Ze("Digital: "),N("strong",null,"R"+dt(e.prices.tfgManDigital),1),Ze(" per month."),Z2,Ze(" Billed to your TFG Money account. ")]),J2,Ze(" Exclusive Subscriber Benefits: "),e5,N("p",{innerHTML:Ji(t).popupFooterCopy},null,8,t5)]),_:1})):ht("",!0)}};function Ub(){const e=[{label:"Yes - Digital",value:"yesDigital"},{label:"No",value:"false"}],t=[{name:"Platinum Club",options:e,varName:"platinumClub",imageName:"platinum-club-cover",disclaimer:`By selecting 'Yes' I confirm that I have read, 49understood and accepted the <a href='https://mytfginsure.co.za/t-cs/club-platinum-terms-and-conditions/' target='_blank'>insurance policy & disclosure notice</a> and in particular, the policy 50exclusions and limitations in respect of the insurance benefit that forms part of Platinum Club`},{name:"MyKitchen",options:e,varName:"myKitchen",disclaimer:!1,imageName:"mykitchen-cover"},{name:"Club",options:e,varName:"theClubExtraBenefit",imageName:"club-cover",disclaimer:`By selecting \u2018Yes\u2019 I confirm that I have read, understood 51and accepted the <a href='https://mytfginsure.co.za/t-cs/club-terms-and-conditions/' target='_blank'>insurance policy & disclosure notice</a> and in particular, the policy exclusions and 52limitations in respect of the insurance benefit that forms part of Club `},{name:"Man",options:e,varName:"tfgMan",disclaimer:!1,imageName:"man-cover"},{name:"Jet Club",options:e,varName:"jetClub",imageName:"jet-club-cover",disclaimer:`By selecting \u2018Yes\u2019 I confirm that I have read, understood and 53accepted the <a href='https://mytfginsure.co.za/t-cs/jet-club-terms-and-conditions/' target='_blank'>insurance policy & disclosure notice</a> and in particular, the policy exclusions and 54limitations in respect of the insurance benefit that forms part of Jet Club `},{name:"SportsGold",options:e,varName:"sportsGold",disclaimer:!1,imageName:"sports-gold-cover"},{name:"ClubX",options:e,varName:"clubX",disclaimer:!1,imageName:"club-x-cover"},{name:"Kids",options:e,varName:"kidsOnly",disclaimer:!1,imageName:"kids-only-cover"}];return{rowsForDisplay:ce(()=>{let a=[];for(let c=0;c<=t.length;c++){c%2===0&&a.push({id:c});let p=a[a.length-1];p[c%2]=t[c]}return a}),popupFooterCopy:"T&
54C's apply to all benefits, competitions, and magazine subscriptions. The Digital magazine will be delivered to you via SMS link, email or Whatsapp."}}const n5={style:{background:"white","text-align":"center"},class:"q-pa-lg"},o5=N("br",null,null,-1),r5=N("br",null,null,-1),s5=N("br",null,null,-1),a5={__name:"MagazineLimit",props:{selectedMagazines:Object},setup(e){const t=e,n=ce(()=>{let c=0;return Object.entries(t.selectedMagazines).forEach(([p,w])=>{w&&(w.includes("yes")||w==="true")&&c++}),c}),r=Ke(null);ut.on("magazine-selection-made",c=>{r.value=c}),Ft(n,()=>{setTimeout(()=>{n.value>3&&(a.value=!0,ut.emit("magazine-set-to-no",r.value))},300)});const a=Ke(!1);return(c,p)=>(xe(),We("div",null,[fe(jl,{modelValue:a.value,"onUpdate:modelValue":p[1]||(p[1]=w=>a.value=w),persistent:""},{default:_t(()=>[N("div",n5,[Ze(" The maximum number of 3 magazine subscriptions has been reached."),o5,Ze("Please de-select a magazine if you would like to choose an alternative. "),r5,s5,fe(po,{label:"Continue",onClick:p[0]||(p[0]=w=>a.value=!1)})])]),_:1},8,["modelValue"])]))}};const l5={name:"C_ApplicationForm_PS_Subscriptions_Magazines",setup(){const e=Gi(),t=Ub();return Fr("magazines",t),{tfg:e,magazines:t}},mixins:[jn],components:{MagazineLimit:a5,TfgMan:i5,SportsGold:X2,PlatinumClub:z2,MyKitchen:R2,KidsOnly:T2,JetClub:w2,ClubX:m2,ClubRegular:l2,C_MagazineTable:i2,JsonFormatter:_1,C_QA:Mo,C_Form:Po,C_Button:po,C_Processing:Oo},data(){return{modalToShow:null,storePrefix:"subMagazines",stepNumber:6,internalStep:0,accountBalanceModalActive:!1,funeralPlanModalActive:!1,legalPlanModalActive:!1,fraudAlertModalActive:!1,platinumClubModalActive:!1,clubModalActive:!1,superClubModalActive:!1,kidsClubModalActive:!1,clubXModalActive:!1,balancedLifeModalActive:!1,myKitchenModalActive:!1,livingspaceModalActive:!1,sportsGoldModalActive:!1,soccerPremierModalActive:!1,manModalActive:!1,prices:{platinumClub:"66.99",platinumClubDigital:"63.99",kidsOnly:"34.99",kidsOnlyDigital:"31.99",clubX:"39.99",clubXDigital:"31.99",balancedLife:"39.99",balancedLifeDigital:"29.99",myKitchen:"39.99",myKitchenDigital:"31.99",livingspace:"39.99",livingspaceDigital:"29.99",sportsGold:"49.99",sportsGoldDigital:"37.99",tfgMan:"39.99",tfgManDigital:"31.99",soccerPremier:"49.99",soccerPremierDigital:"35.99",jetClub:"48.00",jetClubDigital:"39.99",club:"49.99",clubDigital:"38.99",superClub:"77.99"},form:{balancedLife:null,clubX:null,fraudAlert:null,funeralPlan:null,kidsOnly:null,legalPlanGold:null,livingspace:null,marketingEmail:null,marketingPost:null,marketingSMS:null,marketingTelephone:null,marketingThirdParty:null,myKitchen:null,platinumClub:null,soccerPremier:null,sportsGold:null,superClubExtraBenefit:null,tfgMan:null,theClubExtraBenefit:null}}},created(){rt.fakeData&&rt.fakeDataConfig.magazines&&(this.form=fo().magazines),ut.on("magazine-set-to-no",e=>{this.form[e]="false"})},beforeUnmount(){ut.off("magazine-set-to-no")},beforeRouteLeave(e,t){if(this.tfg.userPressedBack(e))return!1},methods:{useMagazines:Ub,nextStep(){this.internalStep<2?this.internalStep++:this.$router.push("2")}},watch:{"form.platinumClub"(e){e!=="false"&&(this.form.superClubExtraBenefit="false",this.form.theClubExtraBenefit="false")},"form.superClubExtraBenefit"(e){e!=="false"&&(this.form.platinumClub="false",this.form.theClubExtraBenefit="false")},"form.theClubExtraBenefit"(e){e!=="false"&&(this.form.superClubExtraBenefit="false",this.form.platinumClub="false")},internalStep(){this.$refs.form.reset(),document.getElementById("app").scrollIntoView({behavior:"smooth"})}}},u5={class:"section-wrapper",id:"permissions"},c5=N("h2",{class:"gb-das-heading"}," Optional Subscriptions ",-1),d5=N("div",null,[Ze(" As a TFG Money account holder, you can choose to subscribe to up to 3 magazines and have them billed to your account. "),N("br"),Ze(" Foschini Retail Group (Pty) Ltd is an authorised financial services provider (FSP32719) ")],-1),h5=N("div",{style:{"max-width":"400px",margin:"auto"}},[N("div",{style:{width:"100%","text-align":"center","text-decoration":"underline"}},"Click on any magazine cover below to view:"),N("div",{style:{width:"100%","text-align":"center"}},[N("ul",{style:{"margin-top":"0"}},[N("li",null,"Price"),N("li",null,"Included benefits e.g. insurance & grocery vouchers ")])])],-1);const f5=N("div",null,[N("p",null,"You may subscribe to up to three magazines, except as indicated below."),N("p",null,[Ze(" Club subscriptions only: you may subscribe to JET Club and ONE of the following magazines: Platinum Club or
54Club, or, if you don't subscribe to JET Club, you may only subscribe to ONE of the following magazines: Platinum Club or Club."),N("br")]),N("p",null,"T&C's apply to all magazine benefits, competitions, and subscriptions."),N("p",null,"* Insurance benefits that form part of Jet Club, Club, and Club Platinum are underwritten by Guardrisk Life Limited, an authorised financial services provider (FSP76) and an insurer licenced to conduct life insurance business in terms of Insurance Act 18 of 2017.")],-1);function p5(e,t,n,r,a,c){const p=ze("C_Processing"),w=ze("JsonFormatter"),_=ze("C_MagazineTable"),T=ze("PlatinumClub"),A=ze("MyKitchen"),P=ze("ClubRegular"),O=ze("TfgMan"),B=ze("JetClub"),z=ze("SportsGold"),U=ze("KidsOnly"),J=ze("ClubX"),ee=ze("C_Button"),Y=ze("C_Form"),q=ze("C_QA"),$=ze("MagazineLimit");return xe(),We($t,null,[N("section",u5,[fe(p,{show:e.posting},null,8,["show"]),fe(Y,{novalidate:"",onSubmit:e.submitStep,class:"accounts-form","validation-results":e.validationResults,errorMessage:e.errorMessage},{default:_t(()=>[c5,d5,h5,ht("",!0),(xe(!0),We($t,null,Vr(r.magazines.rowsForDisplay.value,G=>(xe(),We("div",{class:"publication-row",key:G.id},[(xe(),We($t,null,Vr(["0","1"],X=>(xe(),We($t,{key:X+"key"},[G[X]?(xe(),Rt(_,{key:0,modelValue:a.form,"onUpdate:modelValue":t[0]||(t[0]=v=>a.form=v),options:G[X].options,disclaimer:G[X].disclaimer,name:G[X].name,"image-name":G[X].imageName,"image-name-2":G[X].imageName2,"var-name":G[X].varName,align:"left",onModal:v=>a.modalToShow=G[X].varName},null,8,["modelValue","options","disclaimer","name","image-name","image-name-2","var-name","onModal"])):ht("",!0)],64))),64))]))),128)),ht("",!0),f5,a.modalToShow==="platinumClub"?(xe(),Rt(T,{key:2,prices:a.prices,onClose:t[1]||(t[1]=G=>a.modalToShow=null)},null,8,["prices"])):ht("",!0),a.modalToShow==="myKitchen"?(xe(),Rt(A,{key:3,prices:a.prices,onClose:t[2]||(t[2]=G=>a.modalToShow=null)},null,8,["prices"])):ht("",!0),a.modalToShow==="theClubExtraBenefit"?(xe(),Rt(P,{key:4,prices:a.prices,onClose:t[3]||(t[3]=G=>a.modalToShow=null)},null,8,["prices"])):ht("",!0),a.modalToShow==="tfgMan"?(xe(),Rt(O,{key:5,prices:a.prices,onClose:t[4]||(t[4]=G=>a.modalToShow=null)},null,8,["prices"])):ht("",!0),a.modalToShow==="jetClub"?(xe(),Rt(B,{key:6,prices:a.prices,onClose:t[5]||(t[5]=G=>a.modalToShow=null)},null,8,["prices"])):ht("",!0),a.modalToShow==="sportsGold"?(xe(),Rt(z,{key:7,prices:a.prices,onClose:t[6]||(t[6]=G=>a.modalToShow=null)},null,8,["prices"])):ht("",!0),a.modalToShow==="kidsOnly"?(xe(),Rt(U,{key:8,prices:a.prices,onClose:t[7]||(t[7]=G=>a.modalToShow=null)},null,8,["prices"])):ht("",!0),a.modalToShow==="clubX"?(xe(),Rt(J,{key:9,prices:a.prices,onClose:t[8]||(t[8]=G=>a.modalToShow=null)},null,8,["prices"])):ht("",!0),fe(ee,{label:"Finish"})]),_:1},8,["onSubmit","validation-results","errorMessage"]),fe(q,{form:a.form,validations:e.formValidation},null,8,["form","validations"])]),fe($,{"selected-magazines":a.form},null,8,["selected-magazines"])],64)}var m5=Kt(l5,[["render",p5]]);const g5={name:"C_TermsAndConditions"},y5={class:"general-copy"},v5=Dl('<h3 class="text-center">TFG FRAUD ALERT</h3><h3 class="text-center">TERMS AND CONDITIONS FOR THE PROVISION OF SERVICES</h3><h3 class="text-center">IMPORTANT \u2013 PLEASE READ CAREFULLY</h3><ol class="main-ol"><li>DEFINITIONS <ol class="main-ol"><li>\u201CAccount\u201D means the facility that we have given You that enables You to buy goods, services, and other optional products on credit from Us.</li><li>\u201CAgreement\u201D means these terms and conditions (\u201Cthe Terms\u201D), which are in addition to, and must be read together with (as if specifically incorporated herein), The Foschini Group\u2019s standard terms and conditions for store cards and lay - bys. In the event of conflict, the Terms will prevail.</li><li>\u201CBusiness Day\u201D means any day except for a Saturday, Sunday or public holiday, and \u201CBusiness Days\u201D shall have a corresponding meaning.</li><li>\u201CCard\u201D means the personal account card that We issue to You when You open an Account.</li><li>\u201CCredit Limit\u201D means the maximum approved amount of credit in terms of Your Account.</li><li>\u201CService\u201D means the optional and value added service called TFG Fraud Alert which You have requested Us to provide to You, at a cost payable by You to Us.</li><li>
54\u201CSMS\u201D means a short message service sent to Your nominated cellular telephone.</li><li>\u201CWe / Us / Our\u201D means: <ol class="main-ol"><li>in South Africa, Foschini Retail Group (Pty) Ltd, registration number 1988/007302/07, a registered credit provider, NCRCP 36, and an authorised Financial Services Provider with registered address at 340 Voortrekker Road, Parow East, 7500, South Africa and contact telephone number 021 938 1911.</li><li>in Namibia, Fashion Retailers (Pty) Ltd, registration number 821</li><li>in Swaziland, Foschini Swaziland (Pty) Ltd, registration number 117/1980</li></ol></li><li>\u201CYou / Your\u201D means the person holding the Account with Us who has elected to accept the Service.</li></ol></li><li>UNDERSTANDING THIS AGREEMENT <ol class="main-ol"><li>It is hereby explicitly stated and guaranteed that You have read the terms of this Agreement and that You understand the content and the meaning of the terms of this Agreement.</li></ol></li><li>WHAT IS TFG FRAUD ALERT <ol class="main-ol"><li>We will send You an SMS each and every time a purchase with a value of over R100.00 (one hundred rand) (\u201Cthe Purchase\u201D) is made on Your Account using Your Card, at any TFG store excluding Jet stores.</li><li>Your nominated cellular telephone number will be the number that You have provided to Us when You applied for your Account, or any other number which You have provided to Us from time to time with instructions that We are to use said number as Your nominated contact number. Your nominated cellular telephone number must be a valid and registered South African cellular telephone number. If you do not have a valid and registered South African cellular telephone number, you will not receive the Service.</li><li>The SMS will contain details as to the date on which the Purchase on your Account was made, the amount of the purchase and in which TFG brand store the Purchase was made.</li><li>We may change the Service, or any part thereof, at any time by giving You notice in writing to any address / email / cellphone number You have provided to Us when You applied for your Accoun, or provided to us at a later stage with instructions that We are to use it as Your nominated contact details.</li></ol></li><li>CANCELLATION <ol class="main-ol"><li>You may cancel the Service at any time by giving Us no less than 30 (thirty) days\u2019 notice in any one of the following ways: <ol class="main-ol"><li>by writing to Us at either of the following addresses: <ol class="main-ol"><li>Stanley Lewis Centre, 340 Voortrekker Road, Parow East, 7500; or</li><li>P.O. Box 6020, Parow East, 7501; or</li></ol></li><li>by calling Our customer services department on 0860 834 834; or</li><li>by emailing Us at [email protected].</li></ol></li><li>You may cancel the Service within 5 (five) Business Days after subscribing to it, in which event You will receive a refund of any amount billed as per clause 5 below.</li><li>We may cancel the Service at any time by giving You no less than 30 (thirty) days\u2019 notice in writing to any address / email / cellphone number You have provided to Us when You applied for your Account or provided to us at a later stage with instructions that We are to use it as Your nominated contact details.</li></ol></li><li>COST AND PAYMENT <ol class="main-ol"><li>The cost of the Service is R4.95 (four rand and ninety five cents) per month, or as increased by Us as per clause 5.6 of this Agreement.</li><li>The cost of the Service is due and payable monthly, together with your instalment on your Account. The due date for payment of your instalment on your Account is the due date for payment of the cost of the Service.</li><li>You consent to Us debiting and collecting the cost of the Service from Your Account each month until the Service is cancelled as per clause 4 above or lapses or suspends as per clause 6 below.</li><li>If interest is payable on your Account, You will pay the same interest rate on the cost of the Service. We will retain this interest.</li><li>We may increase the cost of the Service at any time on no less than 30 days\u2019 written notice to You, and this notice will appear on your monthly Account statement .</li></ol></li><li>AUTOMATIC LAPSING OF THE SERVICE <ol class="main-ol"><li>The Service will suspend, without notice to You, when: <ol class="main-ol"><li>You have not paid the monthly amount required by Us on Your Account for 2 (two) consecutive months. You may contact TFG\u2019s customer services on 0860 834 834 if You would like to know what this amount is; or</li><li>You apply for or are accepted to go under debt review as provided for under the National Credit Act 34 of 2005; or</li><li>You go under administration as provided for in the Magistrates\u2019 Courts Act 32 of 1944 ; or</li><li>You become insolvent as provided for in the Insolvency Act 24 of 1936; or</li><li>You reach Your Credit Limit.</li></ol></li><li>The Service will automatically, and without notice to You, lapse / end / terminate at midnight on the day that: <ol class="main-ol"><li>Your Account is terminated; or</li><li>We cease to provide this Service.</li></ol></li><li>In the event of the suspension of the Service or the termination of the Service as provided for at 6.1 and 6.2 above, We will not be liable to You for any damages You may suffer, including consequential loss, as a result of You not receiving the Service.</li><li>As soon as any of the circumstances listed above at 6.1.1 to 6.1.5 come to an end or no longer apply, the Service will reinstate automatically.</li></ol></li><li>WARRANTY <ol class="main-ol"><li>We warrant that in delivering the Service We have and will exercise all reasonable skill and care to be expected of an entity rendering such services.</li></ol></li><li>FORCE MAJEURE <ol class="main-ol"><li>Neither party shall be responsible for any failure or delay in performance of its obligations under this Agreement (other than the obligation to make payments of money) due to any force majeure event including, Act of God, fire, explosion, embargo, terrorism, civil disturbance, accident, epidemics, lightning damage, electromagnetic interference, radio interference, strikes, industrial dispute, or any other cause beyond its reasonable control.</li><li>In the unlikely event of the above, We will not be liable for any loss or expenses caused to You.</li></ol></li><li>NATURE OF THE SERVICE <ol class="main-ol"><li>The Service is a value \u2013 added product which You have elected to receive. It is not an insurance product, and the cost of the Service does not constitute a \u201Ccost\u201D as defined in the NCA.</li><li>The Service may alert You to fraudulent activity on Your Account, or fraudulent use of Your Card. It is Your responsibility to call Our customer services department immediately on 0860 834 834 if You suspect fraudulent activity on Your Account.</li><li>The Service does not give You a right to a refund of proven fraudulent purchases made on Your Account with your Card, and it does not mean that We will be under any duty to reverse any proven fraudulent purchases made on Your Account with Your Card.</li></ol></li><li>AVAILABILITY / INTERRUPTION OF THE SERVICE <ol class="main-ol"><li>The Service is available only when Your cellular telephone is within the operating range of Your cellular telephone network provider with an appropriate signal for network services.</li><li>The Service is subject to transmission limitations and service interruptions which are occasioned by Your cellular telephone network and are not under Our control.</li><li>You acknowledge and agree that We are not responsible for performance degradation, interruption or delays due to conditions of, or in terms of your contractual arrangements with, Your cellular telephone network provider.</li></ol></li><li>GOVERNING LAW <ol class="main-ol"><li>The Parties agree that the validity and interpretation of this Agreement will be governed by the laws of the Republic of South Africa.</li></ol></li><li>COMPLAINTS <ol class="main-ol"><li>If You have a complaint about the product, You may contact Our customer services department on 0860 834 834 or [email protected].</li></ol></li></ol><p>Version: 25 01 2021</p><p class="text-center"><b>Promotional Competition Rules for the TFG Fraud Alert Grocery Voucher I-Voice C
54ompetition:</b></p><ol class="main-ol"><li>This promotional competition is organised by Foschini Retail Group (Pty) Ltd (registration number 1988/007302/07) (\u201CTFG\u201D) a subsidiary of The Foschini Group Limited.</li><li>In these rules, \u201CPromoter\u201D means a person who directly or indirectly promotes, sponsors, organises or conducts the promotional competition, or for whose benefit the promotional competition is promoted, sponsored, organised or conducted, which includes TFG.</li><li>No director, member, partner, employee, agent of, or consultant to the Promoter or any other person who directly or indirectly controls or is controlled by the Promoter, their advertising agencies, or their spouses, life partners, parents, children, brothers, sisters, business partners or associates, may enter this promotional competition. This also applies to a person who is a supplier of goods or services in connection with this promotional competition.</li><li>All participants must be South African citizens who also reside in South Africa and be at least 18 years old.</li><li>The accounts of participants must be up-to-date and not in arrears as at the date of entry into the competition to be eligible to win a prize.</li><li>Should the Promoter, law or any authority terminate this promotional competition, no notice of termination shall be required. In such event, all participants waive any rights and acknowledge that they shall have no claim of any nature whatsoever against the Promoter, its directors, agents or employees as a result of the termination.</li><li>The Promoter reserves the right to vary, postpone, suspend or cancel the competition and any prizes which have not yet been drawn, or any aspect thereof, without notice at any time and for any reason whatsoever that the Promoter deems is reasonable at the time.</li><li>By entering the competition, participants agree and understand that they may win a prize, but that there is no guarantee that they will win a prize.</li><li>Participants who receive an i-voice message on their cellular phones to subscribe to TFG Fraud Alert, and subsequently choose to subscribe by pressing the number 1 on their cellular phones, will be automatically entered into the competition.</li><li>There will be 1 (one) winner, who will receive a grocery voucher to the value of R2 000 (two thousand rand). By accepting the prize, the winner agrees to be bound by the terms and conditions of the grocery voucher (for example, the expiry date).</li><li>The Promoter, its directors, agents and employees do not accept any responsibility for any entries and/or prizes that are lost, damaged, unusable or delayed.</li><li>Prizes are not transferable and may not be deferred or exchangeable for cash, credit or otherwise.</li><li>If any taxes, levies, duties or any charges whatsoever are levied on a prize by any competent authority, the winner will be liable for these and the prize value will not be increased to compensate for such charges.</li><li>This competition will commence on 15 April 2019 and end on 15 June 2019.</li><li>The winner will be randomly selected from eligible participants at the discretion of representatives of the Promoter after the closing date at the TFG head office in Parow East, Cape Town, in the presence of an independent accountant/auditor/attorney.</li><li>The winner will be contacted telephonically and/or via email. If the Promoter cannot contact the winner after 2 attempts have been made to reach him/her on their chosen contact details, and either the call is not answered or the call goes directly to voicemail, or the email is not responded to by the date indicated in the email, the prize will be forfeited and a new winner will be re-drawn.</li><li>The decision of the Promoter as to the winner is final and no correspondence will be entered into.</li><li>By accepting a prize or by entering this competition, participants hereby indemnify the Promoter, its directors, agents, employees and the promoters/sponsors against any damages of any nature whatsoever that the participants may suffer as a result of the prizes and/or this competition, including consequential damages and economic loss.</li><li>The Promoter may request the winner to agree in writing to endorse, promote or advertise any of its goods or services. The winner will not unreasonably with
54hold his/her consent.</li><li>Any participant in this competition shall be deemed to have accepted these Competition Rules and agrees to be bound by them.</li><li>Failure to comply with these rules or the terms of acceptance of a prize by a winner will be deemed to be a rejection of the prize and the winner will then be disqualified from receiving the prize.</li><li>It may be necessary for certain third party benefit providers to process the winners\u2019 personal information to enable them to provide their services to the winners. By entering this competition and making use of any benefits, participants agree to this.</li></ol><p>11 April 2019</p><p class="text-center"><b>Promotional Competition Rules for the TFG Fraud Alert Account Credit I-Voice Competition:</b></p><ol class="main-ol"><li>This promotional competition is organised by Foschini Retail Group (Pty) Ltd (registration number 1988/007302/07) (\u201CTFG\u201D) a subsidiary of The Foschini Group Limited.</li><li>In these rules, \u201CPromoter\u201D means a person who directly or indirectly promotes, sponsors, organises or conducts the promotional competition, or for whose benefit the promotional competition is promoted, sponsored, organised or conducted, which includes TFG.</li><li>No director, member, partner, employee, agent of, or consultant to the Promoter or any other person who directly or indirectly controls or is controlled by the Promoter, their advertising agencies, or their spouses, life partners, parents, children, brothers, sisters, business partners or associates, may enter this promotional competition. This also applies to a person who is a supplier of goods or services in connection with this promotional competition.</li><li>All participants must be South African citizens who also reside in South Africa and be at least 18 years old.</li><li>The accounts of participants must be up-to-date and not in arrears as at the date of entry into the competition to be eligible to win a prize.</li><li>Should the Promoter, law or any authority terminate this promotional competition, no notice of termination shall be required. In such event, all participants waive any rights and acknowledge that they shall have no claim of any nature whatsoever against the Promoter, its directors, agents or employees as a result of the termination.</li><li>The Promoter reserves the right to vary, postpone, suspend or cancel the competition and any prizes which have not yet been drawn, or any aspect thereof, without notice at any time and for any reason whatsoever that the Promoter deems is reasonable at the time.</li><li>By entering the competition, participants agree and understand that they may win a prize, but that there is no guarantee that they will win a prize.</li><li>Participants who receive an i-voice message on their cellular phones to subscribe to TFG Fraud Alert, and subsequently choose to subscribe by pressing the number 1 on their cellular phones, will be automatically entered into the competition.</li><li>There will be 1 (one) winner whose TFG account will be credited with R2 000 (two thousand rand).</li><li>The Promoter, its directors, agents and employees do not accept any responsibility for any entries and/or prizes that are lost, damaged, unusable or delayed.</li><li>Prizes are not transferable and may not be deferred or exchangeable for cash, credit or otherwise.</li><li>If any taxes, levies, duties or any charges whatsoever are levied on a prize by any competent authority, the winner will be liable for these and the prize value will not be increased to compensate for such charges.</li><li>This competition will commence on 15 April 2019 and end on 15 June 2019.</li><li>The winner will be randomly selected from eligible participants at the discretion of representatives of the Promoter after the closing date at the TFG head office in Parow East, Cape Town, in the presence of an independent accountant/auditor/attorney.</li><li>The winner will be contacted telephonically and/or via email. If the Promoter cannot contact the winner after 2 attempts have been made to reach him/her on their chosen contact details, and either the call is not answered or the call goes directly to voicemail, or the email is not responded to by the date indicated in the email, the prize will be forfeited and a new winner will be re-drawn.</li><li>
54The decision of the Promoter as to the winner is final and no correspondence will be entered into.</li><li>By accepting a prize or by entering this competition, participants hereby indemnify the Promoter, its directors, agents, employees and the promoters/sponsors against any damages of any nature whatsoever that the participants may suffer as a result of the prizes and/or this competition, including consequential damages and economic loss.</li><li>The Promoter may request the winner to agree in writing to endorse, promote or advertise any of its goods or services. The winner will not unreasonably withhold his/her consent.</li><li>Any participant in this competition shall be deemed to have accepted these Competition Rules and agrees to be bound by them.</li><li>Failure to comply with these rules or the terms of acceptance of a prize by a winner will be deemed to be a rejection of the prize and the winner will then be disqualified from receiving the prize.</li></ol><p>11 April 2019</p>',11),b5=[v5];function x5(e,t,n,r,a,c){return xe(),We("section",y5,b5)}var w5=Kt(g5,[["render",x5]]),j1="/assets/funeral-plan.5b2e3d70.png",$1="/assets/legal-plan-gold.30f86cc4.png",U1="/assets/fraud-alert.8e19ec19.png";const S5={name:"C_ApplicationForm_PS_Subscriptions_Products",setup(){return{tfg:Gi()}},mixins:[jn],components:{C_QA:Mo,C_Form:Po,C_Radio:oc,C_Checkbox:Ea,C_Button:po,C_Modal:Ko,C_FraudTermsAndConditionsVue:w5},data(){return{storePrefix:"subProducts",stepNumber:6,internalStep:0,funeralPlanModalActive:!1,legalPlanModalActive:!1,fraudAlertModalActive:!1,platinumClubModalActive:!1,clubModalActive:!1,superClubModalActive:!1,kidsClubModalActive:!1,clubXModalActive:!1,balancedLifeModalActive:!1,myKitchenModalActive:!1,livingspaceModalActive:!1,fitlifeModalActive:!1,sportsClubModalActive:!1,soccerClubModalActive:!1,manModalActive:!1,fraudTermsModalActive:!1,form:{acceptInsurance:!1}}},created(){rt.fakeData&&rt.fakeDataConfig.permissionsAndSubs&&(this.form=fo().products)},computed:{anyInsuranceProductsSelected(){return this.form.funeralPlan||this.form.legalPlanGold},canSubmit(){return this.anyInsuranceProductsSelected?this.form.acceptInsurance:!0}},methods:{presubmit(){ut.emit("set-custom-validation-message",null),this.canSubmit?this.submitStep():ut.emit("set-custom-validation-message","Please accept the Terms and Conditions")}},watch:{anyInsuranceProductsSelected(e){e&&(this.form.acceptInsurance=!1)}},beforeRouteLeave(e,t){if(this.tfg.userPressedBack(e))return!1}},_5={class:"section-wrapper",id:"permissions"},C5=N("h2",{class:"gb-das-heading"}," Optional Products with Insurance Benefits ",-1),k5=N("p",null,"Please indicate if you would like to take up one of our optional products which include insurance benefits. The monthly premium/payment for the product will be billed to your TFG Money account. Click on the product logo for pricing and product summary. Foschini Retail Group (Pty) Ltd is an authorised financial services provider (FSP32719). ",-1),A5={class:"insurance-table"},T5=N("div",{class:"text-left"},[N("span",null,"Funeral Plan"),N("br"),N("small",null,"Life insurer: Guardrisk Life Ltd (FSP76)")],-1),E5={class:"insurance-table-img"},M5={class:"input-container--radio"},P5=N("div",null,[Ze(" Click here for the "),N("a",{href:"https://mytfginsure.co.za/t-cs/funeral-plan-terms-and-conditions/",rel:"noopener",target:"_blank"}," Policy and Disclosure Notice")],-1),O5={class:"insurance-table"},I5=N("div",{class:"text-left"},[N("span",null,"TFG Legal Plan (Gold Option)"),N("br"),N("small",null,"Non-life insurance benefit underwritten by Guardrisk Insurance Co. Ltd (FSP75)")],-1),L5={class:"insurance-table-img"},N5={class:"input-container--radio"},R5=N("div",null,[Ze(" Click here for the "),N("a",{href:"https://mytfginsure.co.za/t-cs/tfg-legal-plan-gold-terms-and-conditions/",target:"_blank",rel:"noopener"},"Membership Guide")],-1),F5={class:"p-2"},D5=N("div",{class:"form-subheading"},"Optional Value-Added Service",-1),B5=N("p",null,"Please indicate if you would like to activate our optional TFG Fraud Alert service",-1),V5={class:"insurance-table"},q5=N("div",{class:"text-left"},[N("span",null,"TFG Fraud Alert")],-1),H5={class:"insurance-table-img"},z5={class:"input-container--radio"},j5=N("div",null,[Ze(" Click here for the "),N("a",{href:"/#/tfg-fraud-alert-terms-and-conditions",target:"_blank",rel:"noopener"},"product terms and conditions")],-1),$5=N("img",{src:j1,alt:"Funeral Plan",class:"permissions-modal-img"},null,-1),U5=N("div",{style:{"text-align":"left"}},"TFG's Funeral Plan is an optional insurance product which provides TFG customers with:",-1),W5=N("ul",null,[N("li",null,[Ze("A "),N("strong",null,"R38 000 funeral benefit*"),Ze(" which pays out if you die. There is a 3 month waiting period for natural death, calculated from the starting date.")]),N("li",null,[Ze("A R2 000 TFG Gift Card as a value-ad
54ded benefit (provided by TFG and not Guardrisk) when a claim is approved which can help with funeral clothing. The gift card is valid for "),N("strong",null,"3 years.")]),N("li",null,[Ze("These benefits are available for "),N("strong",null,"R60.00 per month"),Ze(", billed to your TFG Money account. The premium will not change in the first 12 months from take up and is subject to review once a year.")])],-1),G5=N("p",{style:{"text-align":"left"}}," Please note that the above information IS NOT the full Policy and Disclosure Notice. ",-1),Y5=N("p",{style:{"text-align":"left"}}," * Funeral Plan is underwritten by Guardrisk Life Limited, an authorised financial services provider (FSP76) and an insurer licensed to conduct life insurance business in terms of the Insurance Act 18 of 2017. ",-1),X5=N("img",{src:$1,alt:"TFG Legal Plan (Gold Option)",class:"permissions-modal-img"},null,-1),K5=N("p",{style:{"text-align":"left"}}," TFG Legal Plan (Gold Option) is an optional product which provides TFG customers with: ",-1),Q5=N("ul",null,[N("li",null,"A Legal Insurance benefit*, Mediation benefit, a Basic benefit (access to a legal advice line) and a 24 hour Legal Emergency benefit."),N("li",null,[Ze("The Legal Insurance benefit* provides insurance cover (for representation in court) "),N("strong",null,"up to R60 000"),Ze(" per membership per year (for all the members combined), including bail cover of R2 000 per membership per year (for all the members combined). There is a two month waiting period for this benefit, calculated from the starting date.")]),N("li",null,"Covers you, your spouse and all your dependent children who are younger than 25."),N("li",null,[Ze("These benefits are available for "),N("strong",null,"R59.00 per month"),Ze(", billed to your TFG Money account. The amount will not change in the first month from take up and is subject to review once a year.")]),N("li",null,"The product is serviced by LIPCO LAW FOR ALL, a division of LIPCO Group (Pty) Limited and an authorised financial services provider (FSP7508)."),N("li",null,"*The Legal Insurance benefit is underwritten by Guardrisk Insurance Company Limited, an authorised financial services provider (FSP75) and an insurer licensed to conduct non-life insurance business in terms of the Insurance Act 18 of 2017.")],-1),Z5=N("p",{style:{"text-align":"left"}}," Please note that the above information IS NOT the full Membership Guide. ",-1),J5=N("img",{src:U1,alt:"TFG Fraud Alert",class:"permissions-modal-img"},null,-1),eB=N("ul",null,[N("li",null,"Receive an SMS on your cellphone every time a purchase of more than R100.00 is made on your TFG Money account using your store card."),N("li",null,"The SMS will contain details about when the purchase was made on your TFG Money account, the amount of the purchase and in which TFG store the purchase was made."),N("li",null,"The cost is R4.95 per month, billed to your TFG Money account")],-1),tB=N("p",{style:{"text-align":"left"}}," Please note that the above information IS NOT the full product terms and conditions. ",-1);function iB(e,t,n,r,a,c){const p=ze("C_Radio"),w=ze("C_Checkbox"),_=ze("C_Modal"),T=ze("C_FraudTermsAndConditionsVue"),A=ze("C_Button"),P=ze("C_Form"),O=ze("C_QA");return xe(),We("section",_5,[fe(P,{novalidate:"",class:"accounts-form","validation-results":e.validationResults,errorMessage:e.errorMessage},{default:_t(()=>[C5,k5,N("div",A5,[T5,N("div",E5,[N("img",{onClick:t[0]||(t[0]=B=>a.funeralPlanModalActive=!0),src:j1,alt:"Funeral Plan",class:"insurance-table-img"})]),N("div",M5,[fe(p,{modelValue:a.form.funeralPlan,"onUpdate:modelValue":t[1]||(t[1]=B=>a.form.funeralPlan=B),type:"radio",name:"funeralPlan",id:"funeral-plan-yes",labels:[{label:"Yes",value:!0},{label:"No",value:!1}],hideValidation:!0,"radio-value":!0}
54,null,8,["modelValue"])]),P5]),N("div",O5,[I5,N("div",L5,[N("img",{onClick:t[2]||(t[2]=B=>a.legalPlanModalActive=!0),src:$1,alt:"TFG Legal Plan Gold",class:"insurance-table-img"})]),N("div",N5,[fe(p,{modelValue:a.form.legalPlanGold,"onUpdate:modelValue":t[3]||(t[3]=B=>a.form.legalPlanGold=B),type:"radio",name:"legalPlanGold",id:"legal-plan-gold-yes",labels:[{label:"Yes",value:!0},{label:"No",value:!1}],hideValidation:!0,"radio-value":!0},null,8,["modelValue"])]),R5]),N("div",F5,[c.anyInsuranceProductsSelected?(xe(),Rt(w,{key:0,modelValue:a.form.acceptInsurance,"onUpdate:modelValue":t[4]||(t[4]=B=>a.form.acceptInsurance=B),id:"account-app-accept-insurance",name:"acceptInsurance",required:"",validations:c.anyInsuranceProductsSelected?["required"]:[],hint:c.anyInsuranceProductsSelected?"Please complete":null,"use-label":!0,errorMessage:{valueMissing:"Please confirm that you have the Customer's Permission"}},{default:_t(()=>[Ze(" By selecting \u2018Yes\u2019 I confirm that I have read, understood & accepted the insurance policy & disclosure notice and/or membership guide and in particular, the policy exclusions, limitations and charges in respect of the insurance benefit/benefits that form part of the product/products selected. ")]),_:1},8,["modelValue","validations","hint"])):ht("",!0),D5,B5]),N("div",V5,[q5,N("div",H5,[N("img",{onClick:t[5]||(t[5]=B=>a.fraudAlertModalActive=!0),src:U1,alt:"Fraud Alert",class:"insurance-table-img"})]),N("div",z5,[fe(p,{modelValue:a.form.fraudAlert,"onUpdate:modelValue":t[6]||(t[6]=B=>a.form.fraudAlert=B),type:"radio",name:"fraudAlert",id:"fraud-alert-yes",labels:[{label:"Yes",value:!0},{label:"No",value:!1}],hideValidation:!0,"radio-value":!0},null,8,["modelValue"])]),j5]),a.funeralPlanModalActive?(xe(),Rt(_,{key:0,onOnClose:t[7]||(t[7]=B=>a.funeralPlanModalActive=!1),title:"Funeral Plan"},{default:_t(()=>[$5,U5,W5,G5,Y5]),_:1})):ht("",!0),a.legalPlanModalActive?(xe(),Rt(_,{key:1,onOnClose:t[8]||(t[8]=B=>a.legalPlanModalActive=!1),title:"TFG Legal Plan (Gold Option)"},{default:_t(()=>[X5,K5,Q5,Z5]),_:1})):ht("",!0),a.fraudAlertModalActive?(xe(),Rt(_,{key:2,onOnClose:t[9]||(t[9]=B=>a.fraudAlertModalActive=!1),title:"TFG Fraud Alert"},{default:_t(()=>[J5,eB,tB]),_:1})):ht("",!0),a.fraudTermsModalActive?(xe(),Rt(_,{key:3,onOnClose:t[10]||(t[10]=B=>a.fraudTermsModalActive=!1),title:"Account Balance Protection"},{default:_t(()=>[fe(T)]),_:1})):ht("",!0),fe(A,{label:"Next",onClick:c.presubmit,class:ji({"btn-disabled":!c.canSubmit})},null,8,["onClick","class"])]),_:1},8,["validation-results","errorMessage"]),fe(O,{form:a.form,validations:e.formValidation},null,8,["form","validations"])])}var nB=Kt(S5,[["render",iB]]);const oB={name:"C_ApplicationForm_References",computed:{formHints(){return jr},formValidations(){return $r}},setup(){return{tfg:Gi()}},mixins:[jn],components:{C_QA:Mo,C_Form:Po,C_Input:Fs,C_Select:Ta,C_Button:po,C_Processing:Oo},data(){return{storePrefix:"references",stepNumber:5,form:{personalReference:{},familyReference:{}}}},created(){rt.fakeData&&rt.fakeDataConfig.references&&(this.form=fo().references)},beforeRouteLeave(e,t){if(this.tfg.userPressedBack(e))return!1}},rB={class:"section-wrapper",id:"references"},sB=N("h2",{class:"gb-das-heading"}," Family Reference ",-1),aB=N("p",null," Please give details of a family member ",-1),lB=N("h2",{class:"gb-das-heading"}," Personal Reference ",-1),uB=N("p",null," Please give details of a friend or family member not living with you ",-1);function cB(e,t,n,r,a,c){const p=ze("C_Processing"),w=ze("C_Select"),_=ze("C_Input"),T=ze("C_Button"),A=ze("C_Form"),P=ze("C_QA");return xe(),We("section",rB,[fe(p,{show:e.posting},null,8,["show"]),fe(A,{novalidate:"",class:"accounts-form","validation-results":e.validationResults,errorMessage:e.errorMessage},{default:_t(()=>[sB,aB,fe(w,{mandatory:!0,modelValue:a.form.familyReference.type,"onUpdate:modelValue":t[0]||(t[0]=O=>a.form.familyReference.type=O),label:"Relation to you",id:"account-app-reference-relation",name:"referenceRelation",hint:c.formHints.references.f_relationship,validations:c.formValidations.references.f_relationship,_errorMessage:{valueMissing:"How are you related e.g. Mother"},options:[{name:"Father",id:"F"},{name:"Mother",id:"M"},{name:"Guardian",id:"G"},{name:"Husband",id:"H"},{name:"Wife",id:"W"},{name:"Other",id:"O"},{name:"Partner",id:"P"}]},null,8,["modelValue","hint","validations","_errorMessage"]),fe(_,{mandatory:!0,modelValue:a.form.familyReference.firstName,"onUpdate:modelValue":t[1]||(t[1]=O=>a.form.familyReference.firstName=O),label:"First Name",id:"account-app-reference-firstname",type:"text",maxlength:12,name:"firstName",hint:c.formHints.references.f_firstName,validations:c.formValidations.references.f_firstName,_errorMessage:{patternMismatch:"Only letters or -"}},null,8,["modelValue","hint","validations"]),fe(_,{mandatory:!0,modelValue:a.form.familyReference.surname,"onUpdate:modelValue":t[2]||(t[2]=O=>a.form.familyReference.surname=O),label:"Surname",id:"account-app-reference-surname",type:"text",name:"surname",maxlength:17,hint:c.formHints.references.f_lastName,validations:c.formValidations.references.f_lastName},null,8,["modelValue","hint","validations"]),fe(_,{mandatory:!0,modelValue:a.form.familyReference.contactPhoneNumber,"onUpdate:modelValue":t[3]||(t[3]=O=>a.form.familyReference.contactPhoneNumber=O),label:"Contact Number",id:"account-app-reference-contact",type:"text",numeric:!0,name:"contactNumber",maxlength:"10",hint:c.formHints.references.f_contactNumber,validations:c.formValidations.references.f_contactNumber},null,8,["modelValue","hint","validations"]),lB,uB,fe(_,{mandatory:!0,modelValue:a.form.personalReference.firstName,"onUpdate:modelValue":t[4]||(t[4]=O=>a.form.personalReference.firstName=O),label:"First Name",id:"account-app-reference-personal-firstname",type:"text",maxlength:12,name:"personalFirstName",hint:c.formHints.references.p_firstName,validations:c.formValidations.references.p_firstName},null,8,["modelValue","hint","validations"]),fe(_,{mandatory:!0,modelValue:a.form.personalReference.surname,"onUpdate:modelValue":t[5]||(t[5]=O=>a.form.personalReference.surname=O),label:"Surname",id:"account-app-reference-personal-surname",type:"text",name:"personalSurname",maxlength:17,validations:c.formValidations.references.p_lastName,hint:c.formHints.references.p_lastName},null,8,["modelValue","validations","hint"]),fe(_,{mandatory:!0,modelValue:a.form.personalReference.contactPhoneNumber,"onUpdate:modelValue":t[6]||(t[6]=O=>a.form.personalReference.contactPhoneNumber=O),label:"Contact Number",id:"account-app-reference-personal-contact",name:"personalContactNumber",maxlength:"10",numeric:!0,hint:c.formHints.references.p_contactNumber,validations:c.formValidations.references.p_contactNumber},null,8,["modelValue","hint","validations"]),fe(T,{label:"Next",onClick:e.trySubmit,class:ji({"btn-disabled":!e.canProceedToNextStep})},null,8,["onClick","class"])]),_:1},8,["validation-results","errorMessage"]),fe(P,{form:a.form,validations:e.formValidation},null,8,["form","validations"])])}var dB=Kt(oB,[["render",cB]]);
54const hB={name:"C_ApplicationForm_StartFromStorage",setup(){return{tfg:Gi()}},mixins:[jn],components:{},data:function(){return{storePrefix:null}},mounted(){setTimeout(()=>{this.$store.dispatch("appState/initFromState",{}),ut.emit("ROUTE_FROM_APP_STATE",{})},0)}},fB={class:"section-wrapper continue-step"};function pB(e,t,n,r,a,c){return xe(),We("section",fB)}var mB=Kt(hB,[["render",pB],["__scopeId","data-v-c3ae12b6"]]);const{passive:Wb}=vn,gB=["both","horizontal","vertical"];var yB=$i({name:"QScrollObserver",props:{axis:{type:String,validator:e=>gB.includes(e),default:"vertical"},debounce:[String,Number],scrollTarget:{default:void 0}},emits:["scroll"],setup(e,{emit:t}){const n={position:{top:0,left:0},direction:"down",directionChanged:!1,delta:{top:0,left:0},inflectionPoint:{top:0,left:0}};let r=null,a,c;Ft(()=>e.scrollTarget,()=>{_(),w()});function p(){r!==null&&r();const P=Math.max(0,f1(a)),O=p1(a),B={top:P-n.position.top,left:O-n.position.left};if(e.axis==="vertical"&&B.top===0||e.axis==="horizontal"&&B.left===0)return;const z=Math.abs(B.top)>=Math.abs(B.left)?B.top<0?"up":"down":B.left<0?"left":"right";n.position={top:P,left:O},n.directionChanged=n.direction!==z,n.delta=B,n.directionChanged===!0&&(n.direction=z,n.inflectionPoint=n.position),t("scroll",{...n})}function w(){a=h1(c,e.scrollTarget),a.addEventListener("scroll",T,Wb),T(!0)}function _(){a!==void 0&&(a.removeEventListener("scroll",T,Wb),a=void 0)}function T(P){if(P===!0||e.debounce===0||e.debounce==="0")p();else if(r===null){const[O,B]=e.debounce?[setTimeout(p,e.debounce),clearTimeout]:[requestAnimationFrame(p),cancelAnimationFrame];r=()=>{B(O),r=null}}}const{proxy:A}=ri();return Ft(()=>A.$q.lang.rtl,p),Rn(()=>{c=A.$el.parentNode,w()}),Ci(()=>{r!==null&&r(),_()}),Object.assign(A,{trigger:T,getPosition:()=>n}),Ls}});function vB(){const e=Ke(!Eo.value);return e.value===!1&&Rn(()=>{e.value=!0}),{isHydrated:e}}const W1=typeof ResizeObserver!="undefined",Gb=W1===!0?{}:{style:"display:block;position:absolute;top:0;left:0;right:0;bottom:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1;",url:"about:blank"};var nm=$i({name:"QResizeObserver",props:{debounce:{type:[String,Number],default:100}},emits:["resize"],setup(e,{emit:t}){let n=null,r,a={width:-1,height:-1};function c(_){_===!0||e.debounce===0||e.debounce==="0"?p():n===null&&(n=setTimeout(p,e.debounce))}function p(){if(n!==null&&(clearTimeout(n),n=null),r){const{offsetWidth:_,offsetHeight:T}=r;(_!==a.width||T!==a.height)&&(a={width:_,height:T},t("resize",a))}}const{proxy:w}=ri();if(w.trigger=c,W1===!0){let _;const T=A=>{r=w.$el.parentNode,r?(_=new ResizeObserver(c),_.observe(r),p()):A!==!0&&Ai(()=>{T(!0)})};return Rn(()=>{T()}),Ci(()=>{n!==null&&clearTimeout(n),_!==void 0&&(_.disconnect!==void 0?_.disconnect():r&&_.unobserve(r))}),Ls}else{let A=function(){n!==null&&(clearTimeout(n),n=null),T!==void 0&&(T.removeEventListener!==void 0&&T.removeEventListener("resize",c,vn.passive),T=void 0)},P=function(){A(),r&&r.contentDocument&&(T=r.contentDocument.defaultView,T.addEventListener("resize",c,vn.passive),p())};const{isHydrated:_}=vB();let T;return Rn(()=>{Ai(()=>{r=w.$el,r&&P()})}),Ci(A),()=>{if(_.value===!0)return Se("object",{class:"q--avoid-card-border",style:Gb.style,tabindex:-1,type:"text/html",data:Gb.url,"aria-hidden":"true",onLoad:P})}}}}),rc=$i({name:"QLayout",props:{container:Boolean,view:{type:String,default:"hhh lpr fff",validator:e=>/^(h|l)h(h|r) lpr (f|l)f(f|r)$/.test(e.toLowerCase())},onScroll:Function,onScrollHeight:Function,onResize:Function},setup(e,{slots:t,emit:n}){const{proxy:{$q:r}}=ri(),a=Ke(null),c=Ke(r.screen.height),p=Ke(e.container===!0?0:r.screen.width),w=Ke({position:0,direction:"down",inflectionPoint:0}),_=Ke(0),T=Ke(Eo.value===!0?0:xd()),A=ce(()=>"q-layout q-layout--"+(e.container===!0?"containerized":"standard")),P=ce(()=>e.container===!1?{minHeight:r.screen.height+"px"}:null),O=ce(()=>T.value!==0?{[r.lang.rtl===!0?"left":"right"]:`${T.value}px`}:null),B=ce(()=>T.value!==0?{[r.lang.rtl===!0?"right":"left"]:0,[r.lang.rtl===!0?"left":"right"]:`-${T.value}px`,width:`calc(100% + ${T.value}px)`}:null);function z($){if(e.container===!0||document.qScrollPrevented!==!0){const G={position:$.position.top,direction:$.direction,directionChanged:$.directionChanged,inflectionPoint:$.inflectionPoint.top,delta:$.delta.top};w.value=G,e.onScroll!==void 0&&n("scroll",G)}}function U($){const{height:G,width:X}=$;let v=!1;c.value!==G&&(v=!0,c.value=G,e.onScrollHeight!==void 0&&n("scrollHeight",G),ee()),p.value!==X&&(v=!0,p.value=X),v===!0&&e.onResize!==void 0&&n("resize",$)}function J({height:$}){_.value!==$&&(_.value=$,ee())}function ee(){if(e.container===!0){const $=c.value>_.value?xd():0;T.value!==$&&(T.value=$)}}let Y=null;const q={instances:{},view:ce(()=>e.view),isContainer:ce(()=>e.container),rootRef:a,height:c,containerHeight:_,scrollbarWidth:T,totalWidth:ce(()=>p.value+T.value),rows:ce(()=>{const $=e.view.toLowerCase().split(" ");return{top:$[0].split(""),middle:$[1].split(""),bottom:$[2].split("")}}),header:kn({size:0,offset:0,space:!1}),right:kn({size:300,offset:0,space:!1}),footer:kn({size:0,offset:0,space:!1}
54),left:kn({size:300,offset:0,space:!1}),scroll:w,animate(){Y!==null?clearTimeout(Y):document.body.classList.add("q-body--layout-animate"),Y=setTimeout(()=>{Y=null,document.body.classList.remove("q-body--layout-animate")},155)},update($,G,X){q[$][G]=X}};if(Fr(Rm,q),xd()>0){let X=function(){$=null,G.classList.remove("hide-scrollbar")},v=function(){if($===null){if(G.scrollHeight>r.screen.height)return;G.classList.add("hide-scrollbar")}else clearTimeout($);$=setTimeout(X,300)},me=function(re){$!==null&&re==="remove"&&(clearTimeout($),X()),window[`${re}EventListener`]("resize",v)},$=null;const G=document.body;Ft(()=>e.container!==!0?"add":"remove",me),e.container!==!0&&me("add"),_a(()=>{me("remove")})}return()=>{const $=mr(t.default,[Se(yB,{onScroll:z}),Se(nm,{onResize:U})]),G=Se("div",{class:A.value,style:P.value,ref:e.container===!0?void 0:a,tabindex:-1},$);return e.container===!0?Se("div",{class:"q-layout-container overflow-hidden",ref:a},[Se(nm,{onResize:J}),Se("div",{class:"absolute-full",style:O.value},[Se("div",{class:"scroll",style:B.value},[G])])]):G}}});const bB={key:0},xB={key:1,style:{"max-width":"600px",margin:"auto"}},wB=N("br",null,null,-1),SB=N("b",null,null,-1),_B=N("br",null,null,-1),CB=N("br",null,null,-1),kB=N("br",null,null,-1),AB={__name:"P_Config",setup(e){const t=_h(),n=Ke({loading:!0}),r=Ke(""),a=()=>{Pl({method:"GET",url:"/api/tfg/config?password="+r.value,data:{}}).then(p=>{n.value=p.data.data},p=>{alert(p)})},c=()=>{Pl({method:"POST",url:"/api/tfg/config?password="+r.value,data:n.value}).then(p=>{p.data.success?t.success("Saved"):t.error("Auth failed")},p=>{t.error("Error: "+p)})};return(p,w)=>(xe(),Rt(rc,{class:"q-pa-md"},{default:_t(()=>[n.value.loading?(xe(),We("form",bB,[fe(wu,{type:"text",dense:"",outlined:"",style:{width:"300px",float:"left",display:"none"},name:"username","model-value":"username"}),fe(wu,{modelValue:r.value,"onUpdate:modelValue":w[0]||(w[0]=_=>r.value=_),type:"password",dense:"",outlined:"",style:{width:"300px",float:"left"},name:"password"},null,8,["modelValue"]),fe(qd,{onClick:a,label:"Login",color:"primary",style:{float:"left"}})])):(xe(),We("div",xB,[fe(Pu,{modelValue:n.value.maintenanceMode,"onUpdate:modelValue":w[1]||(w[1]=_=>n.value.maintenanceMode=_),label:"Maintenance Mode"},null,8,["modelValue"]),wB,fe(Pu,{modelValue:n.value.maintenanceWarning,"onUpdate:modelValue":w[2]||(w[2]=_=>n.value.maintenanceWarning=_),label:"Maintenance Warning"},null,8,["modelValue"]),SB,fe(wu,{modelValue:n.value.maintenanceWarningText,"onUpdate:modelValue":w[3]||(w[3]=_=>n.value.maintenanceWarningText=_),label:"Maintenance Warning Text",type:"textarea",outlined:""},null,8,["modelValue"]),_B,fe(Pu,{modelValue:n.value.enableMaintenanceModeWarningFrom,"onUpdate:modelValue":w[4]||(w[4]=_=>n.value.enableMaintenanceModeWarningFrom=_),label:"Show Maintenance Warning Text After"},null,8,["modelValue"]),CB,fe(wu,{modelValue:n.value.maintenanceModeWarningFrom,"onUpdate:modelValue":w[5]||(w[5]=_=>n.value.maintenanceModeWarningFrom=_),mask:"####-##-## ##:##","fill-mask":"",hint:"Format: YYYY-MM-DD HH:mm"},null,8,["modelValue"]),kB,fe(qd,{onClick:c,label:"save",color:"primary"})]))]),_:1}))}};var TB=$i({name:"QFooter",props:{modelValue:{type:Boolean,default:!0},reveal:Boolean,bordered:Boolean,elevated:Boolean,heightHint:{type:[String,Number],default:50}},emits:["reveal","focusin"],setup(e,{slots:t,emit:n}){const{proxy:{$q:r}}=ri(),a=Pi(Rm,xl);if(a===xl)return console.error("QFooter needs to be child of QLayout"),xl;const c=Ke(parseInt(e.heightHint,10)),p=Ke(!0),w=Ke(Eo.value===!0||a.isContainer.value===!0?0:window.innerHeight),_=ce(()=>e.reveal===!0||a.view.value.indexOf("F")!==-1||r.platform.is.ios&&a.isContainer.value===!0),T=ce(()=>a.isContainer.value===!0?a.containerHeight.value:w.value),A=ce(()=>{if(e.modelValue!==!0)return 0;if(_.value===!0)return p.value===!0?c.value:0;const G=a.scroll.value.position+T.value+c.value-a.height.value;return G>0?G:0}),P=ce(()=>e.modelValue!==!0||_.value===!0&&p.value!==!0),O=ce(()=>e.modelValue===!0&&P.value===!0&&e.reveal===!0),B=ce(()=>"q-footer q-layout__section--marginal "+(_.value===!0?"fixed":"absolute")+"-bottom"+(e.bordered===!0?" q-footer--bordered":"")+(P.value===!0?" q-footer--hidden":"")+(e.modelValue!==!0?" q-layout--prevent-focus"+(_.value!==!0?" hidden":""):"")),z=ce(()=>{const G=a.rows.value.bottom,X={};return G[0]==="l"&&a.left.space===!0&&(X[r.lang.rtl===!0?"right":"left"]=`${a.left.size}px`),G[2]==="r"&&a.right.space===!0&&(X[r.lang.rtl===!0?"left":"right"]=`${a.right.size}px`),X});function U(G,X){a.update("footer",G,X)}function J(G,X){G.value!==X&&(G.value=X)}function ee({height:G}){J(c,G),U("size",G)}function Y(){if(e.reveal!==!0)return;const{direction:G,position:X,inflectionPoint:v}=a.scroll.value;J(p,G==="up"||X-v<100||a.height.value-T.value-X-c.value<300)}function q(G){O.value===!0&&J(p,!0),n("focusin",G)}Ft(()=>e.modelValue,G=>{U("space",G),J(p,!0),a.animate()}),Ft(A,G=>{U("offset",G)}),Ft(()=>e.reveal,G=>{G===!1&&J(p,e.modelValue)}),Ft(p,G=>{a.animate(),n("reveal",G)}),Ft([c,a.scroll,a.height],Y),Ft(()=>r.screen.height,G=>{a.isContainer.value!==!0&&J(w,G)});const $={};return a.instances.footer=$,e.modelValue===!0&&U("size",c.value),U("space",e.modelValue),U("offset",A.value),Ci(()=>{a.instances.footer===$&&(a.instances.footer=void 0,U("size",0),U("offset",0),U("space",!1))}),()=>{const G=mr(t.default,[Se(nm,{debounce:0,onResize:ee})]);return e.elevated===!0&&G.push(Se("div",{class:"q-layout__shadow absolute-full overflow-hidden no-pointer-events"})),Se("footer",{class:B.value,style:z.value,onFocusin:q},G)}}});const EB={},MB={style:{"max-width":"800px",margin:"auto"}},PB=Dl('<div class="container-inner cf" data-v-5b01da58><br data-v-5b01da58><div class="headline--main form-subheading text-uppercase text-center" data-v-5b01da58><strong data-v-5b01da58>Terms and <em data-v-5b01da58>Conditions</em></strong></div><div class="main" data-v-5b01da58><section class="general-copy campaign__terms" style="display:block;" data-v-5b01da58><p style="text-align:center;" data-v-5b01da58><b data-v-5b01da58><span lang="EN-ZA" data-v-5b01da58>TFG FRAUD ALERT</span></b></p><p style="text-align:center;" data-v-5b01da58><b data-v-5b01da58><span lang="EN-ZA" data-v-5b01da58>TERMS AND CONDITIONS FOR THE PROVISION OF SERVICES</span></b></p><p style="text-align:center;" data-v-5b01da58><b data-v-5b01da58><span lang="EN-ZA" data-v-5b01da58>IMPORTANT \u2013 PLEASE READ CAREFULLY</span></b></p><p data-v-5b01da58><b data-v-5b01da58><span data-v-5b01da58>1.\xA0<span style="text-decoration:underline;" data-v-5b01da58>DEFINITIONS</span></span></b></p><p data-v-5b01da58><span data-v-5b01da58>1.1. \u201CAccount\u201D means the facility that we have given You that enables You to buy goods, services, and other optional products on credit from Us.</span></p><p data-v-5b01da58><span data-v-5b01da58>1.2. \u201CAgreement\u201D means these terms and conditions (\u201Cthe Terms\u201D), which are in addition to, and must be read together with (as if specifically \xA0\xA0\xA0\xA0\xA0\xA0\xA0\xA0\xA0\xA0\xA0\xA0\xA0\xA0\xA0 incorporated herein), The Foschini Group\u2019s standard terms and conditions for store cards and lay - bys. In the event of conflict, the Terms will prevail.</span></p><p data-v-5b01da58><span data-v-5b01da58>1.3. \u201CBusiness Day\u201D means any day except for a Saturday, Sunday or public holiday, and \u201CBusiness Days\u201D shall have a corresponding meaning.</span></p><p data-v-5b01da58><span data-v-5b01da58>1.4. \u201CCard\u201D means the personal account card that We issue to You when You open an Account.</span></p><p data-v-5b01da58><span data-v-5b01da58>1.5. \u201CCredit Limit\u201D means the maximum approved amount of credit in terms of Your Account.</span></p><p data-v-5b01da58><span data-v-5b01da58>1.6. \u201CService\u201D means the optional and value added service called TFG Fraud Alert which You have requested Us to provide to You, at a cost payable by You \xA0\xA0\xA0\xA0\xA0\xA0\xA0 to Us.</span></p><p data-v-5b01da58><span data-v-5b01da58>
541.7. \u201CSMS\u201D means a short message service sent to Your nominated cellular telephone.</span></p><p data-v-5b01da58><span data-v-5b01da58>1.8. \u201CWe / Us / Our\u201D means:</span></p><p data-v-5b01da58><span data-v-5b01da58>1.8.1 in South Africa, Foschini Retail Group (Pty) Ltd, registration number 1988/007302/07, a registered credit provider, NCRCP 36, and an authorised Financial Services Provider with registered address at 340 Voortrekker Road, Parow East, 7500, South Africa and contact telephone number 021\xA0938 1911. </span></p><p data-v-5b01da58><span data-v-5b01da58>1.8.2 in Namibia, Fashion Retailers (Pty) Ltd, registration number 821</span></p><p data-v-5b01da58><span data-v-5b01da58>1.8.3 in Swaziland, Foschini Swaziland (Pty) Ltd, registration number 117/1980</span></p><p data-v-5b01da58><span data-v-5b01da58>1.9.\xA0 \u201CYou / Your\u201D means the person holding the Account with Us who has elected to accept the Service.</span></p><p data-v-5b01da58><b data-v-5b01da58><span data-v-5b01da58>2.\xA0<span style="text-decoration:underline;" data-v-5b01da58>UNDERSTANDING THIS AGREEMENT</span></span></b></p><p data-v-5b01da58><span data-v-5b01da58>2.1\xA0 It is hereby explicitly stated and guaranteed that You have read the terms of this Agreement and that You understand the content and the meaning \xA0 of the terms of this Agreement. </span></p><p data-v-5b01da58><b data-v-5b01da58><span data-v-5b01da58>3.\xA0<span style="text-decoration:underline;" data-v-5b01da58>WHAT IS TFG FRAUD ALERT</span></span></b></p><p data-v-5b01da58><span data-v-5b01da58>3.1 We will send You an SMS each and every time a purchase with a value of over R100.00 (one hundred rand) (\u201Cthe Purchase\u201D) is made on Your Account \xA0\xA0\xA0\xA0\xA0\xA0\xA0\xA0\xA0 using Your Card, at any TFG store excluding Jet stores.</span></p><p data-v-5b01da58><span data-v-5b01da58>3.2 Your nominated cellular telephone number will be the number that You have provided to Us when You applied for your Account, or any other \xA0\xA0\xA0\xA0\xA0 number which You have provided to Us from time to time with instructions that We are to use said number as Your nominated contact number. \xA0 Your nominated cellular telephone number must be a valid and registered South African cellular telephone number. If you do not have a valid and registered South African cellular telephone number, you will not receive the Service.</span></p><p data-v-5b01da58><span data-v-5b01da58>3.3 The SMS will contain details as to the date on which the Purchase on your Account was made, the amount of the purchase and in which TFG brand store the Purchase was made.</span></p><p data-v-5b01da58><span data-v-5b01da58>3.4 We may change the Service, or any part thereof, at any time by giving You notice in writing to any address / email / cellphone number You have provided to Us when You applied for your Accoun, or provided to us at a later stage with instructions that We are to use it as Your nominated contact details. </span></p><p data-v-5b01da58><b data-v-5b01da58><span data-v-5b01da58>4.\xA0<span style="text-decoration:underline;" data-v-5b01da58>CANCELLATION </span></span></b></p><p data-v-5b01da58><span data-v-5b01da58>4.1 You may cancel the Service at any time by giving Us no less than 30 (thirty) days\u2019 notice in any one of the following ways: </span></p><p data-v-5b01da58><span data-v-5b01da58>4.1.1 by writing to Us at either of the following addresses:</span></p><p data-v-5b01da58><span data-v-5b01da58>4.1.1.1 Stanley Lewis Centre, 340 Voortrekker Road, Parow East, 7500; or</span></p><p data-v-5b01da58><span data-v-5b01da58>4.1.1.2 P.O. Box 6020, Parow East, 7501; or</span></p><p data-v-5b01da58><span data-v-5b01da58>4.1.2\xA0 by calling Our customer services department on 0860 834 834; or</span></p><p data-v-5b01da58><span data-v-5b01da58>4.1.3\xA0 by emailing Us at [email protected]. </span></p><p data-v-5b01da58><span data-v-5b01da58>4.2 You may cancel the Service within 5 (five) Business Days after subscribing to it, in which event You will receive a refund of any amount billed as per clause 5 below.</span></p><p data-v-5b01da58><span data-v-5b01da58>4.3 We may cancel the Service at any time by giving You no less than 30 (thirty) days\u2019 notice in writing to any address / email / cellphone number You have provided to Us when You applied for your Account or provided to us at a later stage with instructions that We are to use it as Your nominated contact details.</span></p><p data-v-5b01da58><b data-v-5b01da58><span data-v-5b01da58>5.\xA0\xA0<span style="text-decoration:underline;" data-v-5b01da58>COST AND PAYMENT</span></span></b></p><p data-v-5b01da58><span data-v-5b01da58>5.1\xA0 The cost of the Service is R4.95 (four rand and ninety five cents) per month, or as increased by Us as per clause\xA0</span>5.6 of this Agreement.</p><p data-v-5b01da58><span data-v-5b01da58>5.2 The cost of the Service is due and payable monthly, together with your instalment on your Account. The due date for payment of your instalment on \xA0\xA0\xA0\xA0\xA0\xA0\xA0\xA0 your Account is the due date for payment of the cost of the Service. </span></p><p data-v-5b01da58><span data-v-5b01da58>5.3 You consent to Us debiting and collecting the cost of the Service from Your Account each month until the Service is cancelled as per clause 4 above or lapses or suspends as per clause 6 below. </span></p><p data-v-5b01da58><span data-v-5b01da58>5.4 If interest is payable on your Account, You will pay the same interest rate on the cost of the Service. We will retain this interest.</span></p><p data-v-5b01da58><span data-v-5b01da58>5.5 We may increase the cost of the Service at any time on no less than 30 days\u2019 written notice to You, and this notice will appear on your monthly \xA0 Account statement .</span></p><p data-v-5b01da58><b data-v-5b01da58><span data-v-5b01da58>6.\xA0<span style="text-decoration:underline;" data-v-5b01da58>AUTOMATIC LAPSING OF THE SERVICE</span></span></b></p><p data-v-5b01da58><span data-v-5b01da58>6.1. The Service will suspend, without notice to You, when:</span></p><p data-v-5b01da58><span data-v-5b01da58>6.1.1 You have not paid the monthly amount required by Us on Your Account for 2 (two) consecutive months. You may contact TFG\u2019s customer services on 0860 834 834 if You would like to know what this amount is; or</span></p><p data-v-5b01da58><span data-v-5b01da58>6.1.2 You apply for or are accepted to go under debt review as provided for under the National Credit Act 34 of 2005; or</span></p><p data-v-5b01da58><span data-v-5b01da58>6.1.3 You go under administration as provided for in the Magistrates\u2019 Courts Act 32 of 1944 ; or</span></p><p data-v-5b01da58><span data-v-5b01da58>6.1.4 You become insolvent as provided for in the Insolvency Act 24 of 1936; or</span></p><p data-v-5b01da58><span data-v-5b01da58>6.1.5 You reach Your Credit Limit.</span></p><p data-v-5b01da58><span data-v-5b01da58>6.2. The Service will automatically, and without notice to You, lapse / end / terminate at midnight on the day that:</span></p><p data-v-5b01da58><span data-v-5b01da58>6.1.1 Your Account is terminated; or</span></p><p data-v-5b01da58><span data-v-5b01da58>6.1.2 We cease to provide this Service.</span></p><p data-v-5b01da58><span data-v-5b01da58>6.2. In the event of the suspension of the Service or the termination of the Service as provided for at 6.1 and 6.2 above, We will not be liable to You for any damages You may suffer, including consequential loss, as a result of You not receiving the Service.</span></p><p data-v-5b01da58><span data-v-5b01da58>6.3 As soon as any of the circumstances listed above at 6.1.1 to 6.1.5 come to an end or no longer apply, the Service will reinstate automatically.</span></p><p data-v-5b01da58><b data-v-5b01da58><span data-v-5b01da58>7.\xA0\xA0<span style="text-decoration:underline;" data-v-5b01da58>WARRANTY</span></span></b></p><p data-v-5b01da58><span data-v-5b01da58>7.1 We warrant that in delivering the Service We have and will exercise all reasonable skill and care to be expected of an entity rendering such services.</span></p><p data-v-5b01da58><b data-v-5b01da58><span data-v-5b01da58>8.\xA0<span style="text-decoration:underline;" data-v-5b01da58>FORCE MAJEURE</span></span></b></p><p data-v-5b01da58><span data-v-5b01da58>8.1. Neither party shall be responsible for any failure or delay in performance of its obligations under this Agreement (other than the obligation to make payments of money) due to any force majeure event\xA0 including, Act of God, fire, explosion, embargo, terrorism, civil disturbance, accident, epidemics, lightning damage, electromagnetic interference, radio interference, strikes, industrial dispute, or any other cause beyond its reasonable control.</span></p><p data-v-5b01da58><span data-v-5b01da58>8.2. In the unlikely event of the above, We will not be liable for any loss or expenses caused to You. </span></p><p data-v-5b01da58><b data-v-5b01da58><span data-v-5b01da58>9.\xA0<span style="text-decoration:underline;" data-v-5b01da58>NATURE OF THE SERVICE</span></span></b></p><p data-v-5b01da58><span data-v-5b01da58>9.1 The Service is a value \u2013 added product which You have elected to receive. It is not an insurance product, and the cost of the Service does not constitute a \u201Ccost\u201D as defined in the NCA. </span></p><p data-v-5b01da58><span data-v-5b01da58>9.2 The Service may alert You to fraudulent activity on Your Account, or fraudulent use of Your Card. It is Your responsibility to call Our customer services department immediately on 0860 834 834 if You suspect fraudulent activity on Your Account.</span></p><p data-v-5b01da58><span data-v-5b01da58>9.3 The Service does not give You a right to a refund of proven fraudulent purchases made on Your Account with your Card, and it does not mean that We will be under any duty to reverse any proven fraudulent purchases made on Your Account with Your Card.</span></p><p data-v-5b01da58><b data-v-5b01da58><span data-v-5b01da58>10.\xA0<span style="text-decoration:underline;" data-v-5b01da58>AVAILABILITY / INTERRUPTION OF THE SERVICE</span></span></b></p><p data-v-5b01da58><span data-v-5b01da58>10.1 The Service is available only when Your cellular telephone is within the operating range of Your cellular telephone network provider with an appropriate signal for network services. </span></p><p data-v-5b01da58><span data-v-5b01da58>10.2 The Service is subject to transmission limitations and service interruptions which are occasioned by Your cellular telephone network and are not under Our control. </span></p><p data-v-5b01da58><span data-v-5b01da58>10.3 You acknowledge and agree that We are not responsible for performance degradation, interruption or delays due to conditions of, or in terms of \xA0 your contractual arrangements with, Your cellular telephone network provider. <
54/span></p><p data-v-5b01da58><b data-v-5b01da58><span data-v-5b01da58>11.\xA0<span style="text-decoration:underline;" data-v-5b01da58>GOVERNING LAW</span></span></b></p><p data-v-5b01da58><span data-v-5b01da58>11.1. The Parties agree that the validity and interpretation of this Agreement will be governed by the laws of the Republic of South Africa.</span></p><p data-v-5b01da58><b data-v-5b01da58><span data-v-5b01da58>12.COMPLAINTS</span></b></p><p data-v-5b01da58><span data-v-5b01da58>12.1 If You have a complaint about the product, You may contact Our customer services department on 0860 834\xA0834 or </span><a href="mailto:[email protected]" data-v-5b01da58><span data-v-5b01da58>[email protected]</span></a><span data-v-5b01da58>. </span></p><p data-v-5b01da58><span data-v-5b01da58>\xA0</span></p><p data-v-5b01da58><span data-v-5b01da58>Version: 25 01 2021</span></p><p data-v-5b01da58><span lang="EN-ZA" data-v-5b01da58>\xA0</span></p><p style="text-align:center;" data-v-5b01da58><span style="text-decoration:underline;" data-v-5b01da58><b data-v-5b01da58><span lang="EN-US" data-v-5b01da58>Promotional Competition Rules for the TFG Fraud Alert Grocery Voucher I-Voice Competition:</span></b></span><span lang="EN-US" data-v-5b01da58></span></p><p data-v-5b01da58><span lang="EN-US" data-v-5b01da58><br data-v-5b01da58>1.\xA0</span><span lang="EN-US" data-v-5b01da58>This promotional competition is organised by Foschini Retail Group (Pty) Ltd (registration number 1988/007302/07) (\u201CTFG\u201D) a subsidiary of The Foschini Group Limited.</span></p><p data-v-5b01da58><span lang="EN-US" data-v-5b01da58>2.<span data-v-5b01da58>\xA0</span></span><span lang="EN-US" data-v-5b01da58>In these rules, \u201CPromoter\u201D means a person who directly or indirectly promotes, sponsors, organises or conducts the promotional competition, or for whose benefit the promotional competition is promoted, sponsored, organised or conducted, which includes TFG.</span></p><p data-v-5b01da58><span lang="EN-US" data-v-5b01da58>3.<span data-v-5b01da58>\xA0</span></span><span lang="EN-US" data-v-5b01da58>No director, member, partner, employee, agent of, or consultant to the Promoter or any other person who directly or indirectly controls or is controlled by the Promoter, their advertising agencies, or their spouses, life partners, parents, children, brothers, sisters, business partners or associates, may enter this promotional competition. This also applies to a person who is a supplier of goods or services in connection with this promotional competition.</span></p><p data-v-5b01da58><span lang="EN-US" data-v-5b01da58>4.<span data-v-5b01da58>\xA0</span></span><span lang="EN-US" data-v-5b01da58>All participants must be South African citizens who also reside in South Africa and be at least 18 years old.</span></p><p data-v-5b01da58><span lang="EN-US" data-v-5b01da58>5.<span data-v-5b01da58>\xA0</span></span><span lang="EN-US" data-v-5b01da58>The accounts of participants must be up-to-date and not in arrears as at the date of entry into the competition to be eligible to win a prize.</span></p><p data-v-5b01da58><span lang="EN-US" data-v-5b01da58>6.<span data-v-5b01da58>\xA0</span></span><span lang="EN-US" data-v-5b01da58>Should the Promoter, law or any authority terminate this promotional competition, no notice of termination shall be required. In such event, all participants waive any rights and acknowledge that they shall have no claim of any nature whatsoever against the Promoter, its directors, agents or employees as a result of the termination.</span></p><p data-v-5b01da58><span lang="EN-US" data-v-5b01da58>7.<span data-v-5b01da58>\xA0</span></span><span lang="EN-US" data-v-5b01da58>The Promoter reserves the right to vary, postpone, suspend or cancel the competition and any prizes which have not yet been drawn, or any aspect thereof, without notice at any time and for any reason whatsoever that the Promoter deems is reasonable at the time.</span></p><p data-v-5b01da58><span lang="EN-US" data-v-5b01da58>8.<span data-v-5b01da58>\xA0</span></span><span lang="EN-US" data-v-5b01da58>By entering the competition, participants agree and understand that they may win a prize, but that there is no guarantee that they will win a prize.</span></p><p data-v-5b01da58><span lang="EN-US" data-v-5b01da58>9.<span data-v-5b01da58>\xA0</span></span><span lang="EN-US" data-v-5b01da58>Participants who receive an i-voice message on their cellular phones to
54subscribe to TFG Fraud Alert, and subsequently choose to subscribe by pressing the number 1 on their cellular phones, will be automatically entered into the competition.<span data-v-5b01da58></span></span></p><p data-v-5b01da58><span lang="EN-US" data-v-5b01da58>10.<span data-v-5b01da58>\xA0</span></span><span lang="EN-US" data-v-5b01da58>There will be 1 (one) winner, who will receive a grocery voucher to the value of R2 000 (two thousand rand). By accepting the prize, the winner agrees to be bound by the terms and conditions of the grocery voucher (for example, the expiry date).</span></p><p data-v-5b01da58><span lang="EN-US" data-v-5b01da58>11.<span data-v-5b01da58>\xA0</span></span><span lang="EN-US" data-v-5b01da58>The Promoter, its directors, agents and employees do not accept any responsibility for any entries and/or prizes that are lost, damaged, unusable or delayed.</span></p><p data-v-5b01da58><span lang="EN-US" data-v-5b01da58>12.<span data-v-5b01da58>\xA0</span></span><span lang="EN-US" data-v-5b01da58>Prizes are not transferable and may not be deferred or exchangeable for cash, credit or otherwise.</span></p><p data-v-5b01da58><span lang="EN-US" data-v-5b01da58>13.<span data-v-5b01da58>\xA0</span></span><span lang="EN-US" data-v-5b01da58>If any taxes, levies, duties or any charges whatsoever are levied on a prize by any competent authority, the winner will be liable for these and the prize value will not be increased to compensate for such charges.</span></p><p data-v-5b01da58><span lang="EN-US" data-v-5b01da58>14.<span data-v-5b01da58>\xA0</span></span><span lang="EN-US" data-v-5b01da58>This competition will commence on 15 April 2019 and end on 15 June 2019.</span></p><p data-v-5b01da58><span lang="EN-US" data-v-5b01da58>15.<span data-v-5b01da58>\xA0</span></span><span lang="EN-US" data-v-5b01da58>The winner will be randomly selected from eligible participants at the discretion of representatives of the Promoter after the closing date at the TFG head office in Parow East, Cape Town, in the presence of an independent accountant/auditor/attorney.</span></p><p data-v-5b01da58><span lang="EN-US" data-v-5b01da58>16.<span data-v-5b01da58>\xA0</span></span><span lang="EN-US" data-v-5b01da58>The winner will be contacted telephonically and/or via email. If the Promoter cannot contact the winner after 2 attempts have been made to reach him/her on their chosen contact details, and either the call is not answered or the call goes directly to voicemail, or the email is not responded to by the date indicated in the email, the prize will be forfeited and a new winner will be re-drawn.</span></p><p data-v-5b01da58><span lang="EN-US" data-v-5b01da58>17.<span data-v-5b01da58>\xA0</span></span><span lang="EN-US" data-v-5b01da58>The decision of the Promoter as to the winner is final and no correspondence will be entered into.</span></p><p data-v-5b01da58><span lang="EN-US" data-v-5b01da58>18.<span data-v-5b01da58>\xA0</span></span><span lang="EN-US" data-v-5b01da58>By accepting a prize or by entering this competition, participants hereby indemnify the Promoter, its directors, agents, employees and the promoters/sponsors against any damages of any nature whatsoever that the participants may suffer as a result of the prizes and/or this competition, including consequential damages and economic loss.</span></p><p data-v-5b01da58><span lang="EN-US" data-v-5b01da58>19.<span data-v-5b01da58>\xA0</span></span><span lang="EN-US" data-v-5b01da58>The Promoter may request the winner to agree in writing to endorse, promote or advertise any of its goods or services. The winner will not unreasonably withhold his/her consent.</span></p><p data-v-5b01da58><span lang="EN-US" data-v-5b01da58>20.<span data-v-5b01da58>\xA0</span></span><span lang="EN-US" data-v-5b01da58>Any participant in this competition shall be deemed to have accepted these Competition Rules and agrees to be bound by them.</span></p><p data-v-5b01da58><span lang="EN-US" data-v-5b01da58>21.<span data-v-5b01da58>\xA0</span></span><span lang="EN-US" data-v-5b01da58>Failure to comply with these rules or the terms of acceptance of a prize by a winner will be deemed to be a rejection of the prize and the winner will then be disqualified from receiving the prize.</span></p><p data-v-5b01da58>22. It may be necessary for certain third party benefit providers to process the winners\u2019 personal information to enable them to provide their services to the winners. By entering this competition and making use of any benefits, participants agree to this.<br data-v-5b01da58><br data-v-5b01da58><br data-v-5b01da58><span lang="EN-US" data-v-5b01da58>11 April 2019</span><b data-v-5b01da58><span lang="EN-US" data-v-5b01da58><br data-v-5b01da58><br data-v-5b01da58><span style="text-decoration:underline;" data-v-5b01da58>Promotional Competition Rules for the TFG Fraud Alert Account Credit I-Voice C
54ompetition:</span><br data-v-5b01da58><br data-v-5b01da58></span></b></p><p data-v-5b01da58><span lang="EN-US" data-v-5b01da58>1.<span data-v-5b01da58>\xA0\xA0\xA0\xA0</span></span><span lang="EN-US" data-v-5b01da58>This promotional competition is organised by Foschini Retail Group (Pty) Ltd (registration number 1988/007302/07) (\u201CTFG\u201D) a subsidiary of The Foschini Group Limited.<span data-v-5b01da58></span></span></p><p data-v-5b01da58><span lang="EN-US" data-v-5b01da58>2.<span data-v-5b01da58>\xA0\xA0\xA0\xA0</span></span><span lang="EN-US" data-v-5b01da58>In these rules, \u201CPromoter\u201D means a person who directly or indirectly promotes, sponsors, organises or conducts the promotional competition, or for whose benefit the promotional competition is promoted, sponsored, organised or conducted, which includes TFG.</span></p><p data-v-5b01da58><span lang="EN-US" data-v-5b01da58>3.<span data-v-5b01da58>\xA0\xA0\xA0\xA0</span></span><span lang="EN-US" data-v-5b01da58>No director, member, partner, employee, agent of, or consultant to the Promoter or any other person who directly or indirectly controls or is controlled by the Promoter, their advertising agencies, or their spouses, life partners, parents, children, brothers, sisters, business partners or associates, may enter this promotional competition. This also applies to a person who is a supplier of goods or services in connection with this promotional competition.</span></p><p data-v-5b01da58><span lang="EN-US" data-v-5b01da58>4.<span data-v-5b01da58>\xA0\xA0\xA0\xA0</span></span><span lang="EN-US" data-v-5b01da58>All participants must be South African citizens who also reside in South Africa and be at least 18 years old.</span></p><p data-v-5b01da58><span lang="EN-US" data-v-5b01da58>5.<span data-v-5b01da58>\xA0\xA0\xA0\xA0</span></span><span lang="EN-US" data-v-5b01da58>The accounts of participants must be up-to-date and not in arrears as at the date of entry into the competition to be eligible to win a prize.</span></p><p data-v-5b01da58><span lang="EN-US" data-v-5b01da58>6.<span data-v-5b01da58>\xA0\xA0\xA0\xA0</span></span><span lang="EN-US" data-v-5b01da58>Should the Promoter, law or any authority terminate this promotional competition, no notice of termination shall be required. In such event, all participants waive any rights and acknowledge that they shall have no claim of any nature whatsoever against the Promoter, its directors, agents or employees as a result of the termination.</span></p><p data-v-5b01da58><span lang="EN-US" data-v-5b01da58>7.<span data-v-5b01da58>\xA0\xA0\xA0\xA0</span></span><span lang="EN-US" data-v-5b01da58>The Promoter reserves the right to vary, postpone, suspend or cancel the competition and any prizes which have not yet been drawn, or any aspect thereof, without notice at any time and for any reason whatsoever that the Promoter deems is reasonable at the time.</span></p><p data-v-5b01da58><span lang="EN-US" data-v-5b01da58>8.<span data-v-5b01da58>\xA0\xA0\xA0\xA0</span></span><span lang="EN-US" data-v-5b01da58>By entering the competition, participants agree and understand that they may win a prize, but that there is no guarantee that they will win a prize.</span></p><p data-v-5b01da58><span lang="EN-US" data-v-5b01da58>9.<span data-v-5b01da58>\xA0\xA0\xA0\xA0</span></span><span lang="EN-US" data-v-5b01da58>Participants who receive an i-voice message on their cellular phones to subscribe to TFG Fraud Alert, and subsequently choose to subscribe by pressing the number 1 on their cellular phones, will be automatically entered into the competition.<span data-v-5b01da58></span></span></p><p data-v-5b01da58><span lang="EN-US" data-v-5b01da58>10.<span data-v-5b01da58>\xA0\xA0</span></span><span lang="EN-US" data-v-5b01da58>There will be 1 (one) winner whose TFG account will be credited with R2 000 (two thousand rand).</span></p><p data-v-5b01da58><span lang="EN-US" data-v-5b01da58>11.<span data-v-5b01da58>\xA0\xA0</span></span><span lang="EN-US" data-v-5b01da58>The Promoter, its directors, agents and employees do not accept any responsibility for any entries and/or prizes that are lost, damaged, unusable or delayed.</span></p><p data-v-5b01da58><span lang="EN-US" data-v-5b01da58>12.<span data-v-5b01da58>\xA0\xA0</span></span><span lang="EN-US" data-v-5b01da58>
54Prizes are not transferable and may not be deferred or exchangeable for cash, credit or otherwise.</span></p><p data-v-5b01da58><span lang="EN-US" data-v-5b01da58>13.<span data-v-5b01da58>\xA0\xA0</span></span><span lang="EN-US" data-v-5b01da58>If any taxes, levies, duties or any charges whatsoever are levied on a prize by any competent authority, the winner will be liable for these and the prize value will not be increased to compensate for such charges.</span></p><p data-v-5b01da58><span lang="EN-US" data-v-5b01da58>14.<span data-v-5b01da58>\xA0\xA0</span></span><span lang="EN-US" data-v-5b01da58>This competition will commence on 15 April 2019 and end on 15 June 2019.</span></p><p data-v-5b01da58><span lang="EN-US" data-v-5b01da58>15.<span data-v-5b01da58>\xA0\xA0</span></span><span lang="EN-US" data-v-5b01da58>The winner will be randomly selected from eligible participants at the discretion of representatives of the Promoter after the closing date at the TFG head office in Parow East, Cape Town, in the presence of an independent accountant/auditor/attorney.</span></p><p data-v-5b01da58><span lang="EN-US" data-v-5b01da58>16.<span data-v-5b01da58>\xA0\xA0</span></span><span lang="EN-US" data-v-5b01da58>The winner will be contacted telephonically and/or via email. If the Promoter cannot contact the winner after 2 attempts have been made to reach him/her on their chosen contact details, and either the call is not answered or the call goes directly to voicemail, or the email is not responded to by the date indicated in the email, the prize will be forfeited and a new winner will be re-drawn.</span></p><p data-v-5b01da58><span lang="EN-US" data-v-5b01da58>17.<span data-v-5b01da58>\xA0\xA0</span></span><span lang="EN-US" data-v-5b01da58>The decision of the Promoter as to the winner is final and no correspondence will be entered into.</span></p><p data-v-5b01da58><span lang="EN-US" data-v-5b01da58>18.<span data-v-5b01da58>\xA0\xA0</span></span><span lang="EN-US" data-v-5b01da58>By accepting a prize or by entering this competition, participants hereby indemnify the Promoter, its directors, agents, employees and the promoters/sponsors against any damages of any nature whatsoever that the participants may suffer as a result of the prizes and/or this competition, including consequential damages and economic loss.</span></p><p data-v-5b01da58><span lang="EN-US" data-v-5b01da58>19.<span data-v-5b01da58>\xA0\xA0</span></span><span lang="EN-US" data-v-5b01da58>The Promoter may request the winner to agree in writing to endorse, promote or advertise any of its goods or services. The winner will not unreasonably withhold his/her consent.</span></p><p data-v-5b01da58><span lang="EN-US" data-v-5b01da58>20.<span data-v-5b01da58>\xA0\xA0</span></span><span lang="EN-US" data-v-5b01da58>Any participant in this competition shall be deemed to have accepted these Competition Rules and agrees to be bound by them.</span></p><p data-v-5b01da58><span lang="EN-US" data-v-5b01da58>21.<span data-v-5b01da58>\xA0\xA0</span></span><span lang="EN-US" data-v-5b01da58>Failure to comply with these rules or the terms of acceptance of a prize by a winner will be deemed to be a rejection of the prize and the winner will then be disqualified from receiving the prize.</span></p><p data-v-5b01da58>11 April 2019</p><p data-v-5b01da58><span lang="EN-ZA" data-v-5b01da58>\xA0</span></p></section></div></div>',1),OB=[PB];function IB(e,t){return xe(),We("div",MB,OB)}var LB=Kt(EB,[["render",IB],["__scopeId","data-v-5b01da58"]]);const G1=e=>(Yu("data-v-7bb29762"),e=e(),Xu(),e),NB={class:"simple-footer"},RB={key:0},FB=G1(()=>N("a",{href:"https://help.bash.com/support/solutions/folders/101000433285"},"*TFG Money Promotional Voucher T&Cs",-1)),DB=[FB],BB=G1(()=>N("div",{style:{margin:"0 5px"}},"\xA9 Foschini Retail Group (Pty) Ltd, a registered credit provider NCRCP36.",-1)),VB={__name:"C_SimpleFooter",props:{landing:Boolean},setup(e){return(t,n)=>(xe(),We("div",NB,[e.landing?(xe(),We("div",RB,DB)):ht("",!0),BB]))}};var Jm=Kt(VB,[["__scopeId","data-v-7bb29762"]]);const qB={style:{"text-align":"center","margin-top":"50px","padding-left":"5px","padding-right":"5px","max-width":"850px",margin:"auto"}},HB=Dl('<img src="/img/2026/top-banner.jpg" style="width:100%;display:block;"><img src="/img/maintenance-mode.jpg" style="max-width:100%;margin:auto;" alt="Maintenance Mode"><br><br><br><div class="bash-link"><a href="https://bash.com/feature/financialservices-account"><img src="/img/2026/bash.jpg" style="width:100%;"></a></div>',6),eg={__name:"C_MaintenanceMode",setup(e){return Ke(!0),(t,n)=>(xe(),We("div",qB,[HB,fe(Jm)]))}},zB={name:"C_Footer"},jB={class:"footer"},$B=Dl('<div class="footer-top container"><div class="footer-nav"><div class="footer-nav-left"><div class="footer-item footer-item-header"> TFG MONEY ACCOUNT </div><div><a href="https://help.bash.com/support/solutions/articles/101000494931-tfg-money-account-terms-conditions" rel="noopener" target="_blank" class="footer-item"> Terms & Conditions </a></div><div><a href="https://help.bash.com/support/solutions/articles/101000495125-contact-tfg-money" class="footer-item" target="_blank" rel="noopener"> Contact us </a></div><br></div></div><div class="footer__section-new"><table style="width:190px;margin:auto;"><tbody><tr><td style="font-size:13px;color:darkgray;"> This is a secure site </td><td><img src="/img/digicert.webp" alt="digicert logo"></td></tr></tbody></table></div></div><section class="bottom-bar"><p class="copyright-text"> \xA9 TFG Money is a division of Foschini Retail Group (Pty) Ltd, a registered credit provider (NCRCP36) </p></section>',2),UB=[$B];function WB(e,t,n,r,a,c){return xe(),We("footer",jB,UB)}var GB=Kt(zB,[["render",WB]]),YB=$i({name:"QCard",props:{...ka,tag:{type:String,default:"div"},square:Boolean,flat:Boolean,bordered:Boolean},setup(e,{slots:t}){const{proxy:{$q:n}}=ri(),r=Aa(e,n),a=ce(()=>
54"q-card"+(r.value===!0?" q-card--dark q-dark":"")+(e.bordered===!0?" q-card--bordered":"")+(e.square===!0?" q-card--square no-border-radius":"")+(e.flat===!0?" q-card--flat no-shadow":""));return()=>Se(e.tag,{class:a.value},lo(t.default))}});const XB=N("br",null,null,-1),KB=N("br",null,null,-1),QB=N("div",{class:"text-h3 text-center"},"Oh no! DAS seems to be down. Please try again in a few minutes.",-1),ZB={__name:"C_VFailPopup",setup(e){const t=Ke(!1),n=Ke({});return ut.on("v-failure",r=>{(location.href.includes("localhost")||location.href.includes("tfgqa"))&&(qn.hide(),n.value=r,t.value=!0)}),qn.hide(),Ci(()=>{ut.off("v-failure")}),(r,a)=>(xe(),Rt(jl,{modelValue:t.value,"onUpdate:modelValue":a[1]||(a[1]=c=>t.value=c),"full-height":"","full-width":""},{default:_t(()=>[fe(YB,{class:"q-pa-md"},{default:_t(()=>[N("span",{class:"close",onClick:a[0]||(a[0]=c=>t.value=!1),style:{"font-size":"30px",float:"right",cursor:"pointer"}},"\xD7"),XB,KB,QB,fe(_1,{data:n.value},null,8,["data"])]),_:1})]),_:1},8,["modelValue"]))}};const JB={name:"C_Header",setup(){return{tfg:Gi()}},components:{C_VFailPopup:ZB}},eV=["innerHTML"],tV=N("img",{src:"/img/2026/top-banner.jpg",style:{width:"100%",display:"block"}},null,-1);function iV(e,t,n,r,a,c){return ze("C_VFailPopup"),xe(),We("header",null,[r.tfg.tfgConfig.value.maintenanceWarning?(xe(),We("div",{key:0,class:"maintenance-warning",innerHTML:r.tfg.tfgConfig.value.maintenanceWarningText},null,8,eV)):ht("",!0),tV,ht("",!0)])}var tg=Kt(JB,[["render",iV]]);const nV={name:"PFraudAlertTermsAndConditions",setup(){const e=Gi(),t=Xm();return e.getConfig(),{tfg:e,myScreen:t}},props:{type:String},components:{C_FraudAlertTermsAndConditions:LB,C_MaintenanceMode:eg,C_Footer:GB,C_Header:tg}},oV={key:0,style:{clear:"both",height:"300px"}};function rV(e,t,n,r,a,c){const p=ze("C_MaintenanceMode"),w=ze("C_Header"),_=ze("C_FraudAlertTermsAndConditions"),T=ze("C_Footer");return r.tfg.tfgConfig.value.loading?ht("",!0):(xe(),Rt(rc,{key:0},{default:_t(()=>[r.tfg.tfgConfig.value.maintenanceMode?(xe(),Rt(p,{key:0})):(xe(),We($t,{key:1},[fe(w),fe(_),(xe(),We("div",oV)),fe(TB,{style:{background:"none"}},{default:_t(()=>[(xe(),Rt(T,{key:0}))]),_:1})],64))]),_:1}))}var sV=Kt(nV,[["render",rV]]);function Y1(){const e=Ke({}),t=n=>{if(console.log("tracker payload",n),console.log("tracker trackObj",e.value),n.event)console.log("TRACK - Event - pushing onto dataLayer",n),window.dataLayer.push(n);else{let r=null;for(const a in n)(e.value[a]==null||e.value[a]!=n[a])&&(console.log("Loop",a),r==null&&(r={}),e.value[a]=n[a],r[a]=n[a]);r!=null&&(console.log("TRACK - push - pushing onto dataLayer",r),window.dataLayer.push(r))}};return ut.on("TRACK",t),console.log("tracker on"),Ci(()=>{ut.off("TRACK"),console.log("tracker off")}),{}}const aV={name:"C_ApplicationForm_Continue",setup(){return{tfg:Gi()}},props:{type:String},components:{C_QA:Mo,C_Form:Po,C_Input:Fs,C_Processing:Oo},mounted(){this.$store.dispatch(this.storePrefix+"/reset"),this.$store.dispatch("appState/clearState",{}),this.type=="agent"&&this.$store.dispatch("appState/updateState",{entryType:"S001"})},data(){return{storePrefix:"continueForm",idFormDev:{idNumber:"7503065084085",referenceNumber:"123456"},idForm:{idNumber:"",referenceNumber:""},otpFormDev:{otpUniqueId:"12345",otp:"123456"},otpForm:{},step:1}},beforeRouteLeave(e,t){if(this.tfg.userPressedBack(e))return!1},methods:{submitIdForm(){if(this.canSubmitStep1){alert("This is not working yet, please do not log a bug.");let e=this.idForm;this.$store.dispatch(this.storePrefix+"/sendIdForm",e)}},submitOtpForm(){let e=this.otpForm;this.$store.dispatch(this.storePrefix+"/sendOtpForm",e)}
54,trackContinue(e){let t={entryType:this.type=="customer"?"C001":"S001",applicationType:"Continued",continueStep:e};this.$route.query.campaignCode!=null&&(t.campaignCode=this.$route.query.campaignCode),ut.emit("TRACK",t)}},computed:{formHints(){return jr},validationResults(){return this.$store.state[this.storePrefix]?this.$store.state[this.storePrefix].data.validationResults:null},errorMessage(){return this.$store.state[this.storePrefix]?this.$store.state[this.storePrefix].data.message:null},formValidations(){return $r},canSubmitStep1(){return wd.isIDNumber(this.idForm.idNumber)?this.idForm.referenceNumber!=null&&this.idForm.referenceNumber.length:!1},idFormSuccess(){return this.$store.state[this.storePrefix].data.idForm.status},otpFormSuccess(){return this.$store.state[this.storePrefix].data.otpForm.status},posting(){return this.$store.state[this.storePrefix]?this.$store.state[this.storePrefix].posting:!1},sentToCellNumber(){return this.$store.state[this.storePrefix]?this.$store.state[this.storePrefix].data.idForm.cellNumber:""}},created(){rt.fakeData&&(this.idForm=fo().continue_idForm,this.otpForm=fo().continue_otpForm)},watch:{posting(){return this.$store.state[this.storePrefix]?this.$store.state[this.storePrefix].posting:!1},idFormSuccess(){let e=this.$store.state[this.storePrefix]!=null&&this.$store.state[this.storePrefix].data.idForm.status=="success",t=this.$store.state[this.storePrefix]!=null&&this.$store.state[this.storePrefix].data.idForm.activeApplicationFound;return e&&(t?this.otpForm.accountAppRef=this.$store.state[this.storePrefix].data.idForm.applicationReferenceNumber:ut.emit("SYS_MESSAGE","Could not find your active application")),e},otpFormSuccess(){let e=this.$store.state[this.storePrefix]!=null&&this.$store.state[this.storePrefix].data.otpForm.status=="success";return e&&(this.trackContinue(this.$store.state[this.storePrefix].data.otpForm.nextStep),this.$router.push("/apply/"+this.type+"/StartFromStorage"),this.$store.dispatch("appState/updateState",this.$store.state[this.storePrefix].data.otpForm)),e}}},lV=N("h2",{class:"form-subheading"}," Please complete all fields below ",-1),uV={class:"modal-btn-wrapper"},cV=["disabled","dddclass"],dV=N("h2",{class:"form-subheading"}," One-Time-PIN ",-1),hV={class:"modal-btn-wrapper"},fV=["disabled"],pV=N("br",null,null,-1),mV=N("a",{href:"#"},"Click here to resend the One-Time-PIN",-1);function gV(e,t,n,r,a,c){const p=ze("C_Processing"),w=ze("C_Input"),_=ze("C_Form"),T=ze("C_QA");return xe(),We("div",null,[fe(p,{show:c.posting},null,8,["show"]),Uo(N("div",null,[lV,fe(_,{nodvalidate:"",onSubmit:c.submitIdForm,ref:"idForm","validation-results":c.validationResults,errorMessage:c.errorMessage},{default:_t(()=>[fe(w,{modelValue:a.idForm.idNumber,"onUpdate:modelValue":t[0]||(t[0]=A=>a.idForm.idNumber=A),label:"ID Number",id:"continue-app-id",type:"text",numeric:!0,name:"idNumber",maxlength:13,hint:c.formHints.continue.idNumber,validations:c.formValidations.continue.idNumber,_errorMessage:{valueMissing:"Please enter a valid 13 digit South African ID number"}},null,8,["modelValue","hint","validations"]),fe(w,{modelValue:a.idForm.referenceNumber,"onUpdate:modelValue":t[1]||(t[1]=A=>a.idForm.referenceNumber=A),label:"Reference Number",id:"continue-app-reference-num",type:"text",numeric:!0,maxlength:6,name:"referenceNumber",hint:c.formHints.continue.refNo,validations:c.formValidations.continue.refNo},null,8,["modelValue","hint","validations"]),N("div",uV,[N("button",{type:"submit",class:"modal-btn",disabled:!c.canSubmitStep1,dddclass:{disabledBtn:!c.canSubmitStep1}}," Submit ",8,cV)])]),_:1},8,["onSubmit","validation-results","errorMessage"])],512),[[Al,c.idFormSuccess!="success"]]),Uo(N("div",null,[dV,fe(_,{onSubmit:c.submitOtpForm,novalidate:"",class:"text-center"},{default:_t(()=>[Uo(N("input",{"onUpdate:modelValue":t[2]||(t[2]=A=>a.otpForm.otpUniqueId=A),id:"continue-app-otp-unique-id",type:"hidden",name:"otpUniqueId"},null,512),[[Tl,a.otpForm.otpUniqueId]]),Uo(N("input",{"onUpdate:modelValue":t[3]||(t[3]=A=>a.otpForm.accountAppRef=A),id:"continue-app-account-ref",type:"hidden",name:"accountAppRef"},null,512),[[Tl,a.otpForm.accountAppRef]]),fe(w,{modelValue:a.otpF
54orm.otp,"onUpdate:modelValue":t[4]||(t[4]=A=>a.otpForm.otp=A),label:"One-Time-PIN",id:"continue-app-otp",type:"text",name:"otp",hint:c.formHints.continue.otp,required:"",_errorMessage:{missingValue:"Please enter your One-Time-PIN"}},null,8,["modelValue","hint"]),N("div",hV,[N("button",{id:"continueApplication",type:"submit",class:"modal-btn",disabled:!a.otpForm.otp}," Submit ",8,fV)]),Ze(" OTP Sent to "+dt(c.sentToCellNumber)+".",1),pV,mV]),_:1},8,["onSubmit"])],512),[[Al,c.idFormSuccess=="success"]]),fe(T,{form:{otpForm:a.otpForm,idForm:a.idForm},label:"otpForm"},null,8,["form"])])}var yV=Kt(aV,[["render",gV]]);const vV=["src","alt"],bV=5,xV={__name:"C_BannerRotation",setup(e){const t=["/img/2026/banner-1.jpg","/img/2026/banner-2.jpg","/img/2026/banner-3.jpg"],n=Ke(0),r=setInterval(()=>{n.value++},bV*1e3);Ci(()=>{clearInterval(r)});const a=ce(()=>{const c=n.value%t.length;return t[c]});return(c,p)=>(xe(),We("img",{src:a.value,style:{display:"block",width:"100%",height:"auto"},alt:`Banner Ad ${n.value%t.length}`},null,8,vV))}};const X1=e=>(Yu("data-v-fec896ac"),e=e(),Xu(),e),wV=X1(()=>N("img",{src:"/img/2026/apply-online.jpg",class:"home-cta-btn"},null,-1)),SV={key:0,class:"home-cta-btn-div-whatsapp"},_V=X1(()=>N("a",{href:"https://l.ead.me/TFG_Money"},[N("img",{src:"/img/2026/apply-whatsapp.jpg",class:"home-cta-btn"})],-1)),CV=[_V],kV={__name:"C_HomeCTA",props:{type:String},setup(e){const{type:t}=e,n=ce(()=>t==="customer"),r=Gi();return ce(()=>r.tfgConfig.value.chatBotNumber),(a,c)=>{const p=ze("router-link");return xe(),We("div",{class:ji({"home-cta-container-customer":n.value,"home-cta-container-agent":!n.value})},[N("div",{class:ji({"home-cta-btn-div-online":n.value,"home-cta-btn-div-online-only":!n.value})},[fe(p,{to:"/apply/"+e.type+"/Initiate"},{default:_t(()=>[wV]),_:1},8,["to"])],2),n.value?(xe(),We("div",SV,CV)):ht("",!0)],2)}}};var AV=Kt(kV,[["__scopeId","data-v-fec896ac"]]);const TV={name:"PAccountsBase",setup(){Y1();const e=Gi(),t=Xm();e.getConfig();const n=setInterval(()=>{e.getConfig()},15e3);return{tfg:e,myScreen:t,configTimer:n}},props:{type:String},mounted(){setTimeout(()=>{let e=this.$route.query.campaignCode;e!=null&&(this.tfg.setCampaignCode(e),ut.emit("TRACK",{campaignCode:e}))},200)},beforeUnmount(){clearInterval(this.configTimer)},components:{C_HomeCTA:AV,C_SimpleFooter:Jm,C_BannerRotation:xV,C_MaintenanceMode:eg,C_Header:tg,C_Modal:Ko,C_ApplicationForm_Continue:yV},data(){return{modalActive:!1}}},EV={key:1},MV=N("div",{class:"bash-link"},[N("a",{href:"https://bash.com/feature/financialservices-account"},[N("img",{src:"/img/2026/bash.jpg",style:{width:"100%"}})])],-1);function PV(e,t,n,r,a,c){const p=ze("C_MaintenanceMode"),w=ze("C_Header"),_=ze("C_BannerRotation"),T=ze("C_HomeCTA"),A=ze("C_SimpleFooter"),P=ze("C_ApplicationForm_Continue"),O=ze("C_Modal");return r.tfg.tfgConfig.value.loading?ht("",!0):(xe(),Rt(rc,{key:0,class:"tfg-layout"},{default:_t(()=>[r.tfg.tfgConfig.value.maintenanceMode?(xe(),Rt(p,{key:0})):(xe(),We("div",EV,[fe(w),fe(_),fe(T,{type:n.type},null,8,["type"]),MV,fe(A,{landing:""}),a.modalActive?(xe(),Rt(O,{key:0,class:"secondary-moda__l",onOnClose:t[0]||(t[0]=B=>a.modalActive=!1),title:"Continue Application"},{default:_t(()=>[fe(P,{type:n.type},null,8,["type"])]),_:1})):ht("",!0)]))]),_:1}))}var K1=Kt(TV,[["render",PV]]);const OV={name:"PAccounts",components:{P_AccountsBase:K1},mounted(){this.$store.dispatch("appState/clearState",{}),this.$store.dispatch("appState/updateState",{entryType:"S001"})}};function IV(e,t,n,r,a,c){const p=ze("P_AccountsBase");return xe(),We("div",null,[fe(p,{type:"agent"})])}var LV=Kt(OV,[["render",IV]]);const NV={name:"PAccounts",components:{P_AccountsBase:K1},mounted(){this.$store.dispatch("appState/clearState",{}),this.$store.dispatch("appState/updateState",{entryType:"C001"})}};function RV(e,t,n,r,a,c){const p=ze("P_AccountsBase");return xe(),We("div",null,[fe(p,{type:"customer"})])}var FV=Kt(NV,[["render",RV]]),DV=$i({name:"QPageContainer",setup(e,{slots:t}){const{proxy:{$q:n}}=ri(),r=Pi(Rm,xl);if(r===xl)return console.error("QPageContainer needs to be child of QLayout"),xl;Fr(iM,!0);const a=ce(()=>{const c={};return r.header.space===!0&&(c.paddingTop=`${r.header.size}px`),r.right.space===!0&&(c[`padding${n.lang.rtl===!0?"Left":"Right"}`]=`${r.right.size}px`),r.footer.space===!0&&(c.paddingBottom=`${r.footer.size}px`),r.left.space===!0&&(c[`padding${n.lang.rtl===!0?"Right":"Left"}`]=`${r.left.size}px`),c});return()=>Se("div",{class:"q-page-container",style:a.value},lo(t.default))}});const BV={name:"MessageBar",data:()=>({}),methods:{evtMessage(e){console.log("payload",e);let t=e.msg?e.msg:e;t==null||t==""?this.$store.dispatch("messages/visible",!1):(this.$store.dispatch("messages/showMessage",e.msg?e.msg:e),setTimeout(()=>{this.$refs.messageBar.classList.remove("show"),this.show=!1},5e3))}},beforeUnmount(){ut.off("SYS_MESSAGE",this.evtMessage)},mounted(){ut.on("SYS_MESSAGE",this.evtMessage)},watch:{show(){this.show&&this.$refs.messageBar&&this.$refs.messageBar.classList.toggle("show")}},computed:{show:{get:function(){return this.$store.state.messages.show},set:function(e){const{dispatch:t}=this.$store;t("messages/visible",e)}},text(){return this.$store.state.messages.message}}};function VV(e,t,n,r,a,c){return ht("",!0)}var qV=Kt(BV,[["render",VV],["__scopeId","data-v-09f71728"]]);const HV={name:"C_ProgressBar",props:{steps:Array},data(){return{progressbarSize:0}},mounted(){},watch:{},methods:{setProgressBarSteps(e){let t=0;this.steps.forEach((n,r)=>{n.number<=e?(n.active=!0,r!=0&&t++):n.active=!1}),this.progressbarSize=this.$refs.progressSize.offsetWidth/(this.steps.length-1)*t}}},zV={class:"progress-bar"},jV={ref:"progressSize",class:"progress-bar__size"},$V={class:"progress-bar__steps"},UV={class:"progress-bar__step-label"},WV={class:"progress-bar__step-number"};function GV(e,t,n,r,a,c){return xe(),We("div",zV,[N("div",jV,null,512),N("div",{class:"progress-bar__determinate",style:Hr(`width: ${a.progressbarSize}px;`)},null,4),N("div",$V,[(xe(!0),We($t,null,Vr(n.steps,p=>(xe(),We("div",{key:p.number,class:ji(["progress-bar__step",p.active?"progress-bar__step--active":""])},[N("div",UV,dt(p.label),1),N("div",WV,dt(p.number),1)],2))),128))])])}var YV=Kt(HV,[["render",GV]]);const XV={name:"P_Home",setup(){Y1();const e=Ow();let n=$m().params.type;const r=Gi(!0,n);r.getConfig();const a=setInterval(()=>{r.getConfig()},15e3);return{tfg:r,pageLog:e,type:n,configTimer:a}},props:[],components:{C_SimpleFooter:Jm,C_Button:po,MessageBar:qV,C_MaintenanceMode:eg,C_Header:tg,C_ProgressBar:YV},data(){return{pauseApplication:!1,pauseMessage:"",steps:[{label:"Basic info",
54number:"1",active:!0},{label:"Employment",number:"2",active:!1},{label:"Financial",number:"3",active:!1},{label:"Contacts",number:"4",active:!1},{label:"References",number:"5",active:!1},{label:"Permissions",number:"6",active:!1}]}},beforeUnmount(){clearInterval(this.configTimer),ut.off("STEP_UPDATE",this.evtStepUpdate),ut.off("APP_STATE_UPDATE",this.evtAppStateUpdate),ut.off("PAUSE_APPLICATION",this.evtPauseApp),ut.off("ROUTE_FROM_APP_STATE",this.evtRouteFromAppState)},mounted(){ut.on("STEP_UPDATE",this.evtStepUpdate),ut.on("APP_STATE_UPDATE",this.evtAppStateUpdate),ut.on("PAUSE_APPLICATION",this.evtPauseApp),ut.on("ROUTE_FROM_APP_STATE",this.evtRouteFromAppState)},methods:{evtStepUpdate(e){this.$refs.progressBar&&this.$refs.progressBar.setProgressBarSteps(e.step)},evtAppStateUpdate(e){this.$store.dispatch("appState/updateState",e)},evtPauseApp(e){this.pauseMessage=e,this.pauseApplication=!0},evtRouteFromAppState(){this.routeTo()},routeTo(){let e=this.nextStep,t=this.$route.path.split("/");if(t[t.length-1]!=e){let n=t.length==3?this.$route.path+"/"+e:e;console.log("tracking page change..."+e),this.$router.push(n);let r="?";this.type==="customer"?r="C001":this.type==="agent"&&(r="S001"),setTimeout(()=>{ut.emit("TRACK",{event:"applicationStep",step:e,entryType:r}),this.pageLog.logStep(e)},500)}}},computed:{nextStep(){return this.$store.state.appState.nextStep}},watch:{nextStep(){this.routeTo(this.nextStep)}}},KV={class:"progress-bar-wrapper"},QV={style:{background:"white","text-align":"center"},class:"q-pa-lg"},ZV=N("br",null,null,-1),JV=N("br",null,null,-1);function eq(e,t,n,r,a,c){const p=ze("C_MaintenanceMode"),w=ze("C_Header"),_=ze("C_ProgressBar"),T=ze("C_Button"),A=ze("MessageBar"),P=ze("router-view"),O=ze("C_SimpleFooter");return r.tfg.tfgConfig.value.loading?ht("",!0):(xe(),Rt(rc,{key:0,class:"tfg-layout"},{default:_t(()=>[r.tfg.tfgConfig.value.maintenanceMode?(xe(),Rt(p,{key:0})):(xe(),We($t,{key:1},[fe(w),N("div",KV,[fe(_,{steps:a.steps,ref:"progressBar"},null,8,["steps"])]),fe(jl,{modelValue:a.pauseApplication,"onUpdate:modelValue":t[1]||(t[1]=B=>a.pauseApplication=B),persistent:""},{default:_t(()=>[N("div",QV,[Ze(dt(a.pauseMessage)+" ",1),ZV,JV,fe(T,{label:"Continue",onClick:t[0]||(t[0]=B=>a.pauseApplication=!1)})])]),_:1},8,["modelValue"]),fe(A),fe(DV,null,{default:_t(()=>[fe(P)]),_:1}),fe(O)],64))]),_:1}))}var tq=Kt(XV,[["render",eq]]);const iq={border:"1"},nq=N("tr",{style:{"font-weight":"bold"}},[N("td"),N("td",null,"S001"),N("td",null,"C001")],-1),oq=N("td",null,"/apply/xxx/Initiate",-1),rq=N("td",null,"/apply/xxx/OriginInformation",-1),sq=N("td",null,"/apply/xxx/BasicInformation",-1),aq=N("td",null,"/apply/xxx/AdditionalInformation",-1),lq=N("td",null,"/apply/xxx/AdditionalInformationThin",-1),uq=N("td",null,"/apply/xxx/EmploymentInformation",-1),cq=N("td",null,"/apply/xxx/ExpenseDetails",-1),dq=N("td",null,"/apply/xxx/ContactDetails",-1),hq=N("td",null,"/apply/xxx/ReferenceDetails",-1),fq=N("td",null,"/apply/xxx/Permissions",-1),pq=N("td",null,"/apply/xxx/SubscriptionProducts",-1),mq=N("td",null,"/apply/xxx/SubscriptionMagazines",-1),gq=N("td",null,"/apply/xxx/Completed",-1),yq={border:"1"},vq=N("tr",{style:{"font-weight":"bold"}},[N("td"),N("td",null,"S001"),N("td",null,"C001")],-1),bq=N("td",null,"OriginInformation",-1),xq=N("td",null,"BasicInformation",-1),wq=N("td",null,"AdditionalInformation",-1),Sq=N("td",null,"AdditionalInformationThin",-1),_q=N("td",null,"EmploymentInformation",-1),Cq=N("td",null,"ExpenseDetails",-1),kq=N("td",null,"ContactDetails",-1),Aq=N("td",null,"ReferenceDetails",-1),Tq=N("td",null,"Permissions",-1),Eq=N("td",null,"SubscriptionProducts",-1),Mq=N("td",null,"SubscriptionMagazines",-1),Pq=N("td",null,"Completed",-1),Oq={__name:"P_Stats",setup(e){const t=Ke({loading:!0}),n=Ke("2024-11-25 14:00"),r=Ke("2024-11-26 00:00");return(()=>{Pl({method:"GET",url:"/api/tfg/get-page-logs?dateStart_="+n.value+"&dateEnd_="+r.value,data:{}}).then(c=>{t.value=c.data.data},c=>{alert(c)})})(),(c,p)=>(xe(),Rt(rc,{class:"q-pa-md"},{default:_t(()=>[N("table",iq,[nq,N("tr",null,[oq,N("td",null,dt(t.value.pages["/apply/agent/Initiate"]),1
54),N("td",null,dt(t.value.pages["/apply/customer/Initiate"]),1)]),N("tr",null,[rq,N("td",null,dt(t.value.pages["/apply/agent/OriginInformation"]),1),N("td",null,dt(t.value.pages["/apply/customer/OriginInformation"]),1)]),N("tr",null,[sq,N("td",null,dt(t.value.pages["/apply/agent/BasicInformation"]),1),N("td",null,dt(t.value.pages["/apply/customer/BasicInformation"]),1)]),N("tr",null,[aq,N("td",null,dt(t.value.pages["/apply/agent/AdditionalInformation"]),1),N("td",null,dt(t.value.pages["/apply/customer/AdditionalInformation"]),1)]),N("tr",null,[lq,N("td",null,dt(t.value.pages["/apply/agent/AdditionalInformationThin"]),1),N("td",null,dt(t.value.pages["/apply/customer/AdditionalInformationThin"]),1)]),N("tr",null,[uq,N("td",null,dt(t.value.pages["/apply/agent/EmploymentInformation"]),1),N("td",null,dt(t.value.pages["/apply/customer/EmploymentInformation"]),1)]),N("tr",null,[cq,N("td",null,dt(t.value.pages["/apply/agent/ExpenseDetails"]),1),N("td",null,dt(t.value.pages["/apply/customer/ExpenseDetails"]),1)]),N("tr",null,[dq,N("td",null,dt(t.value.pages["/apply/agent/ContactDetails"]),1),N("td",null,dt(t.value.pages["/apply/customer/ContactDetails"]),1)]),N("tr",null,[hq,N("td",null,dt(t.value.pages["/apply/agent/ReferenceDetails"]),1),N("td",null,dt(t.value.pages["/apply/customer/ReferenceDetails"]),1)]),N("tr",null,[fq,N("td",null,dt(t.value.pages["/apply/agent/Permissions"]),1),N("td",null,dt(t.value.pages["/apply/customer/Permissions"]),1)]),N("tr",null,[pq,N("td",null,dt(t.value.pages["/apply/agent/SubscriptionProducts"]),1),N("td",null,dt(t.value.pages["/apply/customer/SubscriptionProducts"]),1)]),N("tr",null,[mq,N("td",null,dt(t.value.pages["/apply/agent/SubscriptionMagazines"]),1),N("td",null,dt(t.value.pages["/apply/customer/SubscriptionMagazines"]),1)]),N("tr",null,[gq,N("td",null,dt(t.value.pages["/apply/agent/Completed"]),1),N("td",null,dt(t.value.pages["/apply/customer/Completed"]),1)])]),Ze(" "+dt(t.value.steps_agent)+" ",1),N("table",yq,[vq,N("tr",null,[bq,N("td",null,dt(t.value.steps_agent.OriginInformation),1),N("td",null,dt(t.value.steps_customer.OriginInformation),1)]),N("tr",null,[xq,N("td",null,dt(t.value.steps_agent.BasicInformation),1),N("td",null,dt(t.value.steps_customer.BasicInformation),1)]),N("tr",null,[wq,N("td",null,dt(t.value.steps_agent.AdditionalInformation),1),N("td",null,dt(t.value.steps_customer.AdditionalInformation),1)]),N("tr",null,[Sq,N("td",null,dt(t.value.steps_agent.AdditionalInformationThin),1),N("td",null,dt(t.value.steps_customer.AdditionalInformationThin),1)]),N("tr",null,[_q,N("td",null,dt(t.value.steps_agent.EmploymentInformation),1),N("td",null,dt(t.value.steps_customer.EmploymentInformation),1)]),N("tr",null,[Cq,N("td",null,dt(t.value.steps_agent.ExpenseDetails),1),N("td",null,dt(t.value.steps_customer.ExpenseDetails),1)]),N("tr",null,[kq,N("td",null,dt(t.value.steps_agent.ContactDetails),1),N("td",null,dt(t.value.steps_customer.ContactDetails),1)]),N("tr",null,[Aq,N("td",null,dt(t.value.steps_agent.ReferenceDetails),1),N("td",null,dt(t.value.steps_customer.ReferenceDetails),1)]),N("tr",null,[Tq,N("td",null,dt(t.value.steps_agent.Permissions),1),N("td",null,dt(t.value.steps_customer.Permissions),1)]),N("tr",null,[Eq,N("td",null,dt(t.value.steps_agent.SubscriptionProducts),1),N("td",null,dt(t.value.steps_customer.SubscriptionProducts),1)]),N("tr",null,[Mq,N("td",null,dt(t.value.steps_agent.SubscriptionMagazines),1),N("td",null,dt(t.value.steps_customer.SubscriptionMagazines),1)]),N("tr",null,[Pq,N("td",null,dt(t.value.steps_agent.Completed),1),N("td",null,dt(t.value.steps_customer.Completed),1)])])]),_:1}))}};var Q1={exports:{}},Z1={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(V1,()=>(()=>{let n,r;var a,c,p,w,_,T,A,P,O,B,z,U,J,ee,Y,q,$,G={};G.d=(y,i)=>{for(var o in i)G.o(i,o)&&!G.o(y,o)&&Object.defineProperty(y,o,{enumerable:!0,get:i[o]})},G.o=(y,i)=>Object.prototype.hasOwnProperty.call(y,i);var X={};G.d(X,{default:()=>Sk}),function(y){y.SVG_NS="http://www.w3.org/2000/svg",y.product="Highcharts",y.version="12.0.1",y.win=typeof window!="undefined"?window:{},y.doc=y.win.document,y.svg=y.doc&&y.doc.createElementNS&&!!y.doc.createElementNS(y.SVG_NS,"svg").createSVGRect,y.userAgent=y.win.navigator&&y.win.navigator.userAgent||"",y.isChrome=y.win.chrome,y.isFirefox=y.userAgent.indexOf("Firefox")!==-1,y.isMS=/(edge|msie|trident)/i.test(y.userAgent)&&!y.win.opera,y.isSafari=!y.isChrome&&y.userAgent.indexOf("Safari")!==-1,y.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(y.userAgent),y.isWebKit=y.userAgent.indexOf("AppleWebKit")!==-1,y.deg2rad=2*Math.PI/360,y.marginNames=["plotTop","marginRight","marginBottom","plotLeft"],y.noop=function(){},y.supportsPassiveEvents=function(){let i=!1;if(!y.isMS){let o=Object.defineProperty({},"passive",{get:function(){i=!0}});y.win.addEventListener&&y.win.removeEventListener&&(y.win.addEventListener("testPassive",y.noop,o),y.win.removeEventListener("testPassive",y.noop,o))}return i}(),y.charts=[],y.composed=[],y.dateFormats={},y.seriesTypes={},y.symbolSizes={},y.chartCount=0}(a||(a={}));let v=a,{charts:me,doc:re,win:de}=v;function Oe(y,i,o,s){let l=i?"Highcharts error":"Highcharts warning";y===32&&(y=`${l}: Deprecated member`);let u=Ve(y),d=u?`${l} #${y}: www.highcharts.com/errors/${y}/`:y.toString();if(s!==void 0){let f="";u&&(d+="?"),Ye(s,function(m,b){f+=` 55 - ${b}: ${m}`,u&&(d+=encodeURI(b)+"="+encodeURI(m))}),d+=f}nt(v,"displayError",{chart:o,code:y,message:d,params:s},function(){if(i)throw Error(d);de.console&&Oe.messages.indexOf(d)===-1&&console.warn(d)}),Oe.messages.push(d)}function oe(y,i){return parseInt(y,i||10)}function Ee(y){return typeof y=="string"}function Pe(y){let i=Object.prototype.toString.call(y);return i==="[object Array]"||i==="[object Array Iterator]"}function Je(y,i){return!!y&&typeof y=="object"&&(!i||!Pe(y))}function Fe(y){return Je(y)&&typeof y.nodeType=="number"}function Ae(y){let i=y&&y.constructor;return!!(Je(y,!0)&&!Fe(y)&&i&&i.name&&i.name!=="Object")}function Ve(y){return typeof y=="number"&&!isNaN(y)&&y<1/0&&y>-1/0}function Mt(y){return y!=null}function Et(y,i,o){let s,l=Ee(i)&&!Mt(o),u=(d,f)=>{Mt(d)?y.setAttribute(f,d):l?(s=y.getAttribute(f))||f!=="class"||(s=y.getAttribute(f+"Name")):y.removeAttribute(f)};return Ee(i)?u(o,i):Ye(i,u),s}function Te(y){return Pe(y)?y:[y]}function ve(y,i){let o;
vendor: 12,997 bytes, line 55
55for(o in y||(y={}),i)y[o]=i[o];return y}function ft(){let y=arguments,i=y.length;for(let o=0;o<i;o++){let s=y[o];if(s!=null)return s}}function Pt(y,i){ve(y.style,i)}function jt(y){return Math.pow(10,Math.floor(Math.log(y)/Math.LN10))}function Ge(y,i){return y>1e14?y:parseFloat(y.toPrecision(i||14))}(Oe||(Oe={})).messages=[],Math.easeInOutSine=function(y){return-.5*(Math.cos(Math.PI*y)-1)};let ge=Array.prototype.find?function(y,i){return y.find(i)}:function(y,i){let o,s=y.length;for(o=0;o<s;o++)if(i(y[o],o))return y[o]};function Ye(y,i,o){for(let s in y)Object.hasOwnProperty.call(y,s)&&i.call(o||y[s],y[s],s,y)}function ke(y,i,o){function s(d,f){let m=y.removeEventListener;m&&m.call(y,d,f,!1)}function l(d){let f,m;y.nodeName&&(i?(f={})[i]=!0:f=d,Ye(f,function(b,S){if(d[S])for(m=d[S].length;m--;)s(S,d[S][m].fn)}))}let u=typeof y=="function"&&y.prototype||y;if(Object.hasOwnProperty.call(u,"hcEvents")){let d=u.hcEvents;if(i){let f=d[i]||[];o?(d[i]=f.filter(function(m){return o!==m.fn}),s(i,o)):(l(d),d[i]=[])}else l(d),delete u.hcEvents}}function nt(y,i,o,s){if(o=o||{},re.createEvent&&(y.dispatchEvent||y.fireEvent&&y!==v)){let l=re.createEvent("Events");l.initEvent(i,!0,!0),o=ve(l,o),y.dispatchEvent?y.dispatchEvent(o):y.fireEvent(i,o)}else if(y.hcEvents){o.target||ve(o,{preventDefault:function(){o.defaultPrevented=!0},target:y,type:i});let l=[],u=y,d=!1;for(;u.hcEvents;)Object.hasOwnProperty.call(u,"hcEvents")&&u.hcEvents[i]&&(l.length&&(d=!0),l.unshift.apply(l,u.hcEvents[i])),u=Object.getPrototypeOf(u);d&&l.sort((f,m)=>f.order-m.order),l.forEach(f=>{f.fn.call(y,o)===!1&&o.preventDefault()})}s&&!o.defaultPrevented&&s.call(y,o)}let Ut=function(){let y=Math.random().toString(36).substring(2,9)+"-",i=0;return function(){return"highcharts-"+(n?"":y)+i++}}();de.jQuery&&(de.jQuery.fn.highcharts=function(){let y=[].slice.call(arguments);if(this[0])return y[0]?(new v[Ee(y[0])?y.shift():"Chart"](this[0],y[0],y[1]),this):me[Et(this[0],"data-highcharts-chart")]});let tt={addEvent:function(y,i,o,s={}){let l=typeof y=="function"&&y.prototype||y;Object.hasOwnProperty.call(l,"hcEvents")||(l.hcEvents={});let u=l.hcEvents;v.Point&&y instanceof v.Point&&y.series&&y.series.chart&&(y.series.chart.runTrackerClick=!0);let d=y.addEventListener;d&&d.call(y,i,o,!!v.supportsPassiveEvents&&{passive:s.passive===void 0?i.indexOf("touch")!==-1:s.passive,capture:!1}),u[i]||(u[i]=[]);let f={fn:o,order:typeof s.order=="number"?s.order:1/0};return u[i].push(f),u[i].sort((m,b)=>m.order-b.order),function(){ke(y,i,o)}},arrayMax:function(y){let i=y.length,o=y[0];for(;i--;)y[i]>o&&(o=y[i]);return o},arrayMin:function(y){let i=y.length,o=y[0];for(;i--;)y[i]<o&&(o=y[i]);return o},attr:Et,clamp:function(y,i,o){return y>i?y<o?y:o:i},clearTimeout:function(y){Mt(y)&&clearTimeout(y)},correctFloat:Ge,createElement:function(y,i,o,s,l){let u=re.createElement(y);return i&&ve(u,i),l&&Pt(u,{padding:"0",border:"none",margin:"0"}),o&&Pt(u,o),s&&s.appendChild(u),u},crisp:function(y,i=0,o){let s=i%2/2,l=o?-1:1;return(Math.round(y*l-s)+s)*l},css:Pt,defined:Mt,destroyObjectProperties:function(y,i,o){Ye(y,function(s,l){s!==i&&(s==null?void 0:s.destroy)&&s.destroy(),((s==null?void 0:s.destroy)||!o)&&delete y[l]})},diffObjects:function(y,i,o,s){let l={};return function u(d,f,m,b){let S=o?f:d;Ye(d,function(x,k){if(!b&&s&&s.indexOf(k)>-1&&f[k]){x=Te(x),m[k]=[];for(let M=0;M<Math.max(x.length,f[k].length);M++)f[k][M]&&(x[M]===void 0?m[k][M]=f[k][M]:(m[k][M]={},u(x[M],f[k][M],m[k][M],b+1)))}else Je(x,!0)&&!x.nodeType?(m[k]=Pe(x)?[]:{},u(x,f[k]||{},m[k],b+1),Object.keys(m[k]).length!==0||k==="colorAxis"&&b===0||delete m[k]):(d[k]!==f[k]||k in d&&!(k in f))&&k!=="__proto__"&&k!=="constructor"&&(m[k]=S[k])})}(y,i,l,0),l},discardElement:function(y){y&&y.parentElement&&y.parentElement.removeChild(y)},erase:function(y,i){let o=y.length;for(;o--;)if(y[o]===i){y.splice(o,1);break}},error:Oe,extend:ve,extendClass:function(y,i){let o=function(){};return o.prototype=new y,ve(o.prototype,i),o},find:ge,fireEvent:nt,getAlignFactor:(y="")=>({center:.5,right:1,middle:.5,bottom:1})[y]||0,getClosestDistance:function(y,i){let o,s,l,u=!i;return y.forEach(d=>{if(d.length>1)for(l=d.length-1;l>0;l--)(s=d[l]-d[l-1])<0&&!u?(i==null||i(),i=void 0):s&&(o===void 0||s<o)&&(o=s)}),o},getMagnitude:jt,getNestedProperty:function(y,i){let o=y.split(".");for(;o.length&&Mt(i);){let s=o.shift();if(s===void 0||s==="__proto__")return;if(s==="this"){let u;return Je(i)&&(u=i["@this"]),u!=null?u:i}let l=i[s];if(!Mt(l)||typeof l=="function"||typeof l.nodeType=="number"||l===de)return;i=l}return i},getStyle:function y(i,o,s){let l;if(o==="width"){let d=Math.min(i.offsetWidth,i.scrollWidth),f=i.getBoundingClientRect&&i.getBoundingClientRect().width;return f<d&&f>=d-1&&(d=Math.floor(f)),Math.max(0,d-(y(i,"padding-left",!0)||0)-(y(i,"padding-right",!0)||0))}if(o==="height")return Math.max(0,Math.min(i.offsetHeight,i.scrollHeight)-(y(i,"padding-top",!0)||0)-(y(i,"padding-bottom",!0)||0));let u=de.getComputedStyle(i,void 0);return u&&(l=u.getPropertyValue(o),ft(s,o!=="opacity")&&(l=oe(l))),l},insertItem:function(y,i){let o,s=y.options.index,l=i.length;for(o=y.options.isInternal?l:0;o<l+1;o++)if(!i[o]||Ve(s)&&s<ft(i[o].options.index,i[o]._i)||i[o].options.isInternal){i.splice(o,0,y);break}return o},isArray:Pe,isClass:Ae,isDOMElement:Fe,isFunction:function(y){return typeof y=="function"},isNumber:Ve,isObject:Je,isString:Ee,merge:function(y,...i){let o,s=[y,...i],l={},u=function(f,m){return typeof f!="object"&&(f={}),Ye(m,function(b,S){S!=="__proto__"&&S!=="constructor"&&(!Je(b,!0)||Ae(b)||Fe(b)?f[S]=m[S]:f[S]=u(f[S]||{},b))}),f};y===!0&&(l=s[1],s=Array.prototype.slice.call(s,2));let d=s.length;for(o=0;o<d;o++)l=u(l,s[o]);return l},normalizeTickInterval:function(y,i,o,s,l){let u,d=y;o=ft(o,jt(y));let f=y/o;for(!i&&(i=l?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],s===!1&&(o===1?i=i.filter(function(m){return m%1==0}):o<=.1&&(i=[1/o]))),u=0;u<i.length&&(d=i[u],(!l||!(d*o>=y))&&(l||!(f<=(i[u]+(i[u+1]||i[u]))/2)));u++);return Ge(d*o,-Math.round(Math.log(.001)/Math.LN10))},objectEach:Ye,offset:function(y){let i=re.documentElement,o=y.parentElement||y.parentNode?y.getBoundingClientRect():{top:0,left:0,width:0,height:0};return{top:o.top+(de.pageYOffset||i.scrollTop)-(i.clientTop||0),left:o.left+(de.pageXOffset||i.scrollLeft)-(i.clientLeft||0),width:o.width,height:o.height}},pad:function(y,i,o){return Array((i||2)+1-String(y).replace("-","").length).join(o||"0")+y},pick:ft,pInt:oe,pushUnique:function(y,i){return 0>y.indexOf(i)&&!!y.push(i)},relativeLength:function(y,i,o){return/%$/.test(y)?i*parseFloat(y)/100+(o||0):parseFloat(y)},removeEvent:ke,replaceNested:function(y,...i){let o,s;do for(s of(o=y,i))y=y.replace(s[0],s[1]);while(y!==o);return y},splat:Te,stableSort:function(y,i){let o,s,l=y.length;for(s=0;s<l;s++)y[s].safeI=s;for(y.sort(function(u,d){return(o=i(u,d))===0?u.safeI-d.safeI:o}),s=0;s<l;s++)delete y[s].safeI},syncTimeout:function(y,i,o){return i>0?setTimeout(y,i,o):(y.call(0,o),-1)},timeUnits:{millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:24192e5,year:314496e5},ucfirst:function(y){return Ee(y)?y.substring(0,1).toUpperCase()+y.substring(1):String(y)},uniqueKey:Ut,useSerialIds:function(y){return n=ft(y,n)},wrap:function(y,i,o){let s=y[i];y[i]=function(){let l=arguments,u=this;return o.apply(this,[function(){return s.apply(u,arguments.length?arguments:l)}].concat([].slice.call(arguments)))}}},{win:Q}=v,{defined:te,error:Ce,extend:De,isNumber:Le,isObject:Xe,isString:ct,merge:it,objectEach:ot,pad:Ne,splat:pt,timeUnits:st,ucfirst:qe}=tt,wt=v.isSafari&&Q.Intl&&!Q.Intl.DateTimeFormat.prototype.formatRange,Wt=y=>y.main===void 0,si=y=>["D","L","M","X","J","V","S"].indexOf(y),ci=class{constructor(y){this.options={},this.variableTimezone=!1,this.Date=Q.Date,this.update(y)}update(y={}){var l;let i=(l=y.timezone)!=null?l:"UTC";this.dTLCache={},this.options=y=it(!0,this.options,y);let{timezoneOffset:o,useUTC:s}=y;this.Date=y.Date||Q.Date||Date,te(s)&&(i=s?"UTC":void 0),o&&o%60==0&&(i="Etc/GMT"+(o>0?"+":"")+o/60),this.variableTimezone=i!=="UTC"&&(i==null?void 0:i.indexOf("Etc/GMT"))!==0,this.timezone=i,["months","shortMonths","weekdays","shortWeekdays"].forEach(u=>{let d=/months/i.test(u),f=/short/.test(u),m={timeZone:"UTC"};m[d?"month":"weekday"]=f?"short":"long",this[u]=(d?[0,1,2,3,4,5,6,7,8,9,10,11]:[3,4,5,6,7,8,9]).map(b=>this.dateFormat(m,(d?31:1)*24*36e5*b))})}toParts(y){let[i,o,s,l,u,d,f]=this.dateTimeFormat({weekday:"narrow",day:"numeric",month:"numeric",year:"numeric",hour:"numeric",minute:"numeric",second:"numeric"},y,"es").split(/(?:, |\/|:)/g);return[l,+s-1,o,u,d,f,Math.floor(Number(y)||0)%1e3,si(i)].map(Number)}dateTimeFormat(y,i,o=this.options.locale){var u;let s=JSON.stringify(y)+o;ct(y)&&(y=this.str2dtf(y));let l=this.dTLCache[s];if(!l){(u=y.timeZone)!=null||(y.timeZone=this.timezone);try{l=new Intl.DateTimeFormat(o,y)}catch(d){/Invalid time zone/i.test(d.message)?(Ce(34),y.timeZone="UTC",l=new Intl.DateTimeFormat(o,y)):Ce(d.message,!1)}}return this.dTLCache[s]=l,(l==null?void 0:l.format(i))||""}str2dtf(y,i={}){let o={L:{fractionalSecondDigits:3},S:{second:"2-digit"},M:{minute:"numeric"},H:{hour:"2-digit"},k:{hour:"numeric"},E:{weekday:"narrow"},a:{weekday:"short"},A:{weekday:"long"},d:{day:"2-digit"},e:{day:"numeric"},b:{month:"short"},B:{month:"long"},m:{month:"2-digit"},o:{month:"numeric"},y:{year:"2-digit"},Y:{year:"numeric"}};return Object.keys(o).forEach(s=>{y.indexOf(s)!==-1&&De(i,o[s])}),i}makeTime(y,i,o=1,s=0,l,u,d){let f=this.Date.UTC(y,i,o,s,l||0,u||0,d||0);if(this.timezone!=="UTC"){let m=this.getTimezoneOffset(f);if(f+=m,[2,3,8,9,10,11].indexOf(i)!==-1&&(s<5||s>20)){let b=this.getTimezoneOffset(f);m!==b?f+=b-m:m-36e5!==this.getTimezoneOffset(f-36e5)||wt||(f-=36e5)}}return f}parse(y){if(!ct(y))return y!=null?y:void 0;let i=(y=y.replace(/\//g,"-").replace(/(GMT|UTC)/,"")).indexOf("Z")>-1||/([+-][0-9]{2}):?[0-9]{2}$/.test(y),o=/^[0-9]{4}-[0-9]{2}-[0-9]{2}$/.test(y);i||o||(y+="Z");let s=Date.parse(y);if(Le(s))return s+(!i||o?this.getTimezoneOffset(s):0)}getTimezoneOffset(y){if(this.timezone!=="UTC"){let[i,o,s,l,u=0]=this.dateTimeFormat({timeZoneName:"shortOffset"},y,"en").split(/(GMT|:)/).map(Number),d=-(36e5*(s+u/60));if(Le(d))return d}return 0}dateFormat(y,i,o){var l;let s=(l=v.defaultOptions)==null?void 0:l.lang;if(!te(i)||isNaN(i))return(s==null?void 0:s.invalidDate)||"";if(ct(y=y!=null?y:"%Y-%m-%d %H:%M:%S")){let u,d=/%\[([a-zA-Z]+)\]/g;for(;u=d.exec(y);)y=y.replace(u[0],this.dateTimeFormat(u[1],i))}if(ct(y)&&y.indexOf("%")!==-1){let u=this,[d,f,m,b,S,x,k,M]=this.toParts(i),I=(s==null?void 0:s.weekdays)||this.weekdays,D=(s==null?void 0:s.shortWeekdays)||this.shortWeekdays,V=(s==null?void 0:s.months)||this.months,L=(s==null?void 0:s.shortMonths)||this.shortMonths;ot(De({a:D?D[M]:I[M].substr(0,3),A:I[M],d:Ne(m),e:Ne(m,2," "),w:M,b:L[f],B:V[f],m:Ne(f+1),o:f+1,y:d.toString().substr(2,2),Y:d,H:Ne(b),k:b,I:Ne(b%12||12),l:b%12||12,M:Ne(S),p:b<12?"AM":"PM",P:b<12?"am":"pm",S:Ne(x),L:Ne(k,3)},v.dateFormats),function(j,W){if(ct(y))for(;y.indexOf("%"+W)!==-1;)y=y.replace("%"+W,typeof j=="function"?j.call(u,i):j)})}else if(Xe(y)){let u=(this.getTimezoneOffset(i)||0)/36e5,d=this.options.timezone||"Etc/GMT"+(u>=0?"+":"")+u,{prefix:f="",suffix:m=""}=y;y=f+this.dateTimeFormat(De({timeZone:d},y),i)+m}return o?qe(y):y}resolveDTLFormat(y){return Xe(y,!0)?Xe(y,!0)&&Wt(y)?{main:y}:y:{main:(y=pt(y))[0],from:y[1],to:y[2]}}getTimeTicks(y,i,o,s){let l=this,u=[],d={},{count:f=1,unitRange:m}=y,[b,S,x,k,M,I]=l.toParts(i),D=(i||0)%1e3,V;if(s!=null||(s=1),te(i)){if(D=m>=st.second?0:f*Math.floor(D/f),m>=st.second&&(I=m>=st.minute?0:f*Math.floor(I/f)),m>=st.minute&&(M=m>=st.hour?0:f*Math.floor(M/f)),m>=st.hour&&(k=m>=st.day?0:f*Math.floor(k/f)),m>=st.day&&(x=m>=st.month?1:Math.max(1,f*Math.floor(x/f))),m>=st.month&&(S=m>=st.year?0:f*Math.floor(S/f)),m>=st.year&&(b-=b%f),m===st.week){f&&(i=l.makeTime(b,S,x,k,M,I,D));let W=si(this.dateTimeFormat({timeZone:this.timezone,weekday:"narrow"},i,"es"));x+=-W+s+(W<s?-7:0)}i=l.makeTime(b,S,x,k,M,I,D),l.variableTimezone&&te(o)&&(V=o-i>4*st.month||l.getTimezoneOffset(i)!==l.getTimezoneOffset(o));let L=i,j=1;for(;L<o;)u.push(L),m===st.year?L=l.makeTime(b+j*f,0):m===st.month?L=l.makeTime(b,S+j*f):V&&(m===st.day||m===st.week)?L=l.makeTime(b,S,x+j*f*(m===st.day?1:7)):V&&m===st.hour&&f>1?L=l.makeTime(b,S,x,k+j*f):L+=m*f,j++;u.push(L),m<=st.hour&&u.length<1e4&&u.forEach(W=>{W%18e5==0&&l.dateFormat("%H%M%S%L",W)==="000000000"&&(d[W]="day")})}return u.info=De(y,{higherRanks:d,totalRange:m*f}),u}getDateFormat(y,i,o,s){let l=this.dateFormat("%m-%d %H:%M:%S.%L",i),u="01-01 00:00:00.000",d={millisecond:15,second:12,minute:9,hour:6,day:3},f="millisecond",m=f;for(f in st){if(y===st.week&&+this.dateFormat("%w",i)===o&&l.substr(6)===u.substr(6)){f="week";break}if(st[f]>y){f=m;break}if(d[f]&&l.substr(d[f])!==u.substr(d[f]))break;f!=="week"&&(m=f)}return this.resolveDTLFormat(s[f]).main}},{isTouchDevice:pi}=v,{fireEvent:Vi,merge:an}
55=tt,qi={colors:["#2caffe","#544fc5","#00e272","#fe6a35","#6b8abc","#d568fb","#2ee0ca","#fa4b42","#feb56a","#91e8e1"],symbols:["circle","diamond","square","triangle","triangle-down"],lang:{locale:void 0,loading:"Loading...",months:void 0,shortMonths:void 0,weekdays:void 0,numericSymbols:["k","M","G","T","P","E"],resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1"},global:{buttonTheme:{fill:"#f7f7f7",padding:8,r:2,stroke:"#cccccc","stroke-width":1,style:{color:"#333333",cursor:"pointer",fontSize:"0.8em",fontWeight:"normal"},states:{hover:{fill:"#e6e6e6"},select:{fill:"#e6e9ff",style:{color:"#000000",fontWeight:"bold"}},disabled:{style:{color:"#cccccc"}}}}},time:{Date:void 0,timezone:"UTC",timezoneOffset:0,useUTC:void 0},chart:{alignThresholds:!1,panning:{enabled:!1,type:"x"},styledMode:!1,borderRadius:0,colorCount:10,allowMutatingData:!0,ignoreHiddenSeries:!0,spacing:[10,10,15,10],resetZoomButton:{theme:{},position:{}},reflow:!0,type:"line",zooming:{singleTouch:!1,resetButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}}},width:null,height:null,borderColor:"#334eff",backgroundColor:"#ffffff",plotBorderColor:"#cccccc"},title:{style:{color:"#333333",fontWeight:"bold"},text:"Chart title",margin:15,minScale:.67},subtitle:{style:{color:"#666666",fontSize:"0.8em"},text:""},caption:{margin:15,style:{color:"#666666",fontSize:"0.8em"},text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},legend:{enabled:!0,align:"center",alignColumns:!0,className:"highcharts-no-tooltip",events:{},layout:"horizontal",itemMarginBottom:2,itemMarginTop:2,labelFormatter:function(){return this.name},borderColor:"#999999",borderRadius:0,navigation:{style:{fontSize:"0.8em"},activeColor:"#0022ff",inactiveColor:"#cccccc"},itemStyle:{color:"#333333",cursor:"pointer",fontSize:"0.8em",textDecoration:"none",textOverflow:"ellipsis"},itemHoverStyle:{color:"#000000"},itemHiddenStyle:{color:"#666666",textDecoration:"line-through"},shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontSize:"0.8em",fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:"#ffffff",opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:{duration:300,easing:y=>Math.sqrt(1-Math.pow(y-1,2))},borderRadius:3,dateTimeLabelFormats:{millisecond:"%[AebHMSL]",second:"%[AebHMS]",minute:"%[AebHM]",hour:"%[AebHM]",day:"%[AebY]",week:"Week from %[AebY]",month:"%[BY]",year:"%Y"},footerFormat:"",headerShape:"callout",hideDelay:500,padding:8,shape:"callout",shared:!1,snap:pi?25:10,headerFormat:'<span style="font-size: 0.8em">{ucfirst point.key}</span><br/>',pointFormat:'<span style="color:{point.color}">\u25CF</span> {series.name}: <b>{point.y}</b><br/>',backgroundColor:"#ffffff",borderWidth:void 0,shadow:!0,stickOnContact:!1,style:{color:"#333333",cursor:"default",fontSize:"0.8em"},useHTML:!1},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#999999",fontSize:"0.6em"},text:"Highcharts.com"}};qi.chart.styledMode=!0,qi.chart.styledMode=!1;let Yi=new ci(qi.time),Ti={defaultOptions:qi,defaultTime:Yi,getOptions:function(){return qi},setOptions:function(y){return Vi(v,"setOptions",{options:y}),an(!0,qi,y),y.time&&Yi.update(qi.time),y.lang&&"locale"in y.lang&&Yi.update({locale:y.lang.locale}),qi}},{isNumber:Hi,merge:en,pInt:Ri,defined:Ur}=tt;class Oi{static parse(i){return i?new Oi(i):Oi.None}constructor(i){let o,s,l,u;this.rgba=[NaN,NaN,NaN,NaN],this.input=i;let d=v.Color;if(d&&d!==Oi)return new d(i);if(typeof i=="object"&&i.stops!==void 0)this.stops=i.stops.map(f=>new Oi(f[1]));else if(typeof i=="string")for(this.input=i=Oi.names[i.toLowerCase()]||i,l=Oi.parsers.length;l--&&!s;)(o=(u=Oi.parsers[l]).regex.exec(i))&&(s=u.parse(o));s&&(this.rgba=s)}get(i){let o=this.input,s=this.rgba;if(typeof o=="object"&&this.stops!==void 0){let l=en(o);return l.stops=[].slice.call(l.stops),this.stops.forEach((u,d)=>{l.stops[d]=[l.stops[d][0],u.get(i)]}),l}return s&&Hi(s[0])?i!=="rgb"&&(i||s[3]!==1)?i==="a"?`${s[3]}`:"rgba("+s.join(",")+")":"rgb("+s[0]+","+s[1]+","+s[2]+")":o}brighten(i){let o=this.rgba;if(this.stops)this.stops.forEach(function(s){s.brighten(i)});else if(Hi(i)&&i!==0)for(let s=0;s<3;s++)o[s]+=Ri(255*i),o[s]<0&&(o[s]=0),o[s]>255&&(o[s]=255);return this}setOpacity(i){return this.rgba[3]=i,this}tweenTo(i,o){let s=this.rgba,l=i.rgba;if(!Hi(s[0])||!Hi(l[0]))return i.input||"none";let u=l[3]!==1||s[3]!==1;return(u?"rgba(":"rgb(")+Math.round(l[0]+(s[0]-l[0])*(1-o))+","+Math.round(l[1]+(s[1]-l[1])*(1-o))+","+Math.round(l[2]+(s[2]-l[2])*(1-o))+(u?","+(l[3]+(s[3]-l[3])*(1-o)):"")+")"}}Oi.names={white:"#ffffff",black:"#000000"},Oi.parsers=[{regex:/rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d?(?:\.\d+)?)\s*\)/,parse:function(y){return[Ri(y[1]),Ri(y[2]),Ri(y[3]),parseFloat(y[4],10)]}},{regex:/rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)/,parse:function(y){return[Ri(y[1]),Ri(y[2]),Ri(y[3]),1]}},{regex:/^#([a-f0-9])([a-f0-9])([a-f0-9])([a-f0-9])?$/i,parse:function(y){return[Ri(y[1]+y[1],16),Ri(y[2]+y[2],16),Ri(y[3]+y[3],16),Ur(y[4])?Ri(y[4]+y[4],16)/255:1]}},{regex:/^#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})?$/i,parse:function(y){return[Ri(y[1],16),Ri(y[2],16),Ri(y[3],16),Ur(y[4])?Ri(y[4],16)/255:1]}}],Oi.None=new Oi("");let{parse:mo}=Oi,{win:vr}=v,{isNumber:Wr,objectEach:Ds}=tt;class yi{constructor(i,o,s){this.pos=NaN,this.options=o,this.elem=i,this.prop=s}dSetter(){let i=this.paths,o=i&&i[0],s=i&&i[1],l=this.now||0,u=[];
vendor: 39,637 bytes, line 55
55if(l!==1&&o&&s)if(o.length===s.length&&l<1)for(let d=0;d<s.length;d++){let f=o[d],m=s[d],b=[];for(let S=0;S<m.length;S++){let x=f[S],k=m[S];Wr(x)&&Wr(k)&&!(m[0]==="A"&&(S===4||S===5))?b[S]=x+l*(k-x):b[S]=k}u.push(b)}else u=s;else u=this.toD||[];this.elem.attr("d",u,void 0,!0)}update(){let i=this.elem,o=this.prop,s=this.now,l=this.options.step;this[o+"Setter"]?this[o+"Setter"]():i.attr?i.element&&i.attr(o,s,null,!0):i.style[o]=s+this.unit,l&&l.call(i,s,this)}run(i,o,s){let l=this,u=l.options,d=function(b){return!d.stopped&&l.step(b)},f=vr.requestAnimationFrame||function(b){setTimeout(b,13)},m=function(){for(let b=0;b<yi.timers.length;b++)yi.timers[b]()||yi.timers.splice(b--,1);yi.timers.length&&f(m)};i!==o||this.elem["forceAnimate:"+this.prop]?(this.startTime=+new Date,this.start=i,this.end=o,this.unit=s,this.now=this.start,this.pos=0,d.elem=this.elem,d.prop=this.prop,d()&&yi.timers.push(d)===1&&f(m)):(delete u.curAnim[this.prop],u.complete&&Object.keys(u.curAnim).length===0&&u.complete.call(this.elem))}step(i){let o,s,l=+new Date,u=this.options,d=this.elem,f=u.complete,m=u.duration,b=u.curAnim;return d.attr&&!d.element?o=!1:i||l>=m+this.startTime?(this.now=this.end,this.pos=1,this.update(),b[this.prop]=!0,s=!0,Ds(b,function(S){S!==!0&&(s=!1)}),s&&f&&f.call(d),o=!1):(this.pos=u.easing((l-this.startTime)/m),this.now=this.start+(this.end-this.start)*this.pos,this.update(),o=!0),o}initPath(i,o,s){let l=i.startX,u=i.endX,d=s.slice(),f=i.isArea,m=f?2:1,b=o&&s.length>o.length&&s.hasStackedCliffs,S,x,k,M,I=o&&o.slice();if(!I||b)return[d,d];function D(L,j){for(;L.length<x;){let W=L[0],ie=j[x-L.length];if(ie&&W[0]==="M"&&(ie[0]==="C"?L[0]=["C",W[1],W[2],W[1],W[2],W[1],W[2]]:L[0]=["L",W[1],W[2]]),L.unshift(W),f){let se=L.pop();L.push(L[L.length-1],se)}}}function V(L){for(;L.length<x;){let j=L[Math.floor(L.length/m)-1].slice();if(j[0]==="C"&&(j[1]=j[5],j[2]=j[6]),f){let W=L[Math.floor(L.length/m)].slice();L.splice(L.length/2,0,j,W)}else L.push(j)}}if(l&&u&&u.length){for(k=0;k<l.length;k++){if(l[k]===u[0]){S=k;break}if(l[0]===u[u.length-l.length+k]){S=k,M=!0;break}if(l[l.length-1]===u[u.length-l.length+k]){S=l.length-k;break}}S===void 0&&(I=[])}return I.length&&Wr(S)&&(x=d.length+S*m,M?(D(I,d),V(d)):(D(d,I),V(I))),[I,d]}fillSetter(){yi.prototype.strokeSetter.apply(this,arguments)}strokeSetter(){this.elem.attr(this.prop,mo(this.start).tweenTo(mo(this.end),this.pos),void 0,!0)}}yi.timers=[];let{defined:ln,getStyle:Qo,isArray:br,isNumber:Io,isObject:Gr,merge:Lo,objectEach:Zo,pick:Bs}=tt;function Jo(y){return Gr(y)?Lo({duration:500,defer:0},y):{duration:y?500:0,defer:0}}function Ma(y,i){let o=yi.timers.length;for(;o--;)yi.timers[o].elem!==y||i&&i!==yi.timers[o].prop||(yi.timers[o].stopped=!0)}let Xi={animate:function(y,i,o){let s,l="",u,d,f;Gr(o)||(f=arguments,o={duration:f[2],easing:f[3],complete:f[4]}),Io(o.duration)||(o.duration=400),o.easing=typeof o.easing=="function"?o.easing:Math[o.easing]||Math.easeInOutSine,o.curAnim=Lo(i),Zo(i,function(m,b){Ma(y,b),d=new yi(y,o,b),u=void 0,b==="d"&&br(i.d)?(d.paths=d.initPath(y,y.pathArray,i.d),d.toD=i.d,s=0,u=1):y.attr?s=y.attr(b):(s=parseFloat(Qo(y,b))||0,b!=="opacity"&&(l="px")),u||(u=m),typeof u=="string"&&u.match("px")&&(u=u.replace(/px/g,"")),d.run(s,u,l)})},animObject:Jo,getDeferredAnimation:function(y,i,o){let s=Jo(i),l=o?[o]:y.series,u=0,d=0;return l.forEach(f=>{let m=Jo(f.options.animation);u=Gr(i)&&ln(i.defer)?s.defer:Math.max(u,m.duration+m.defer),d=Math.min(s.duration,m.duration)}),y.renderer.forExport&&(u=0),{defer:Math.max(0,u-d),duration:Math.min(u,d)}},setAnimation:function(y,i){i.renderer.globalAnimation=Bs(y,i.options.chart.animation,!0)},stop:Ma},{SVG_NS:Pa,win:Oa}=v,{attr:er,createElement:tr,css:go,error:No,isFunction:yo,isString:Vs,objectEach:xr,splat:Yr}=tt,{trustedTypes:Ro}=Oa,ir=Ro&&yo(Ro.createPolicy)&&Ro.createPolicy("highcharts",{createHTML:y=>y}),le=ir?ir.createHTML(""):"";class Qe{static filterUserAttributes(i){return xr(i,(o,s)=>{let l=!0;Qe.allowedAttributes.indexOf(s)===-1&&(l=!1),["background","dynsrc","href","lowsrc","src"].indexOf(s)!==-1&&(l=Vs(o)&&Qe.allowedReferences.some(u=>o.indexOf(u)===0)),l||(No(33,!1,void 0,{"Invalid attribute in config":`${s}`}),delete i[s]),Vs(o)&&i[s]&&(i[s]=o.replace(/</g,"<"))}),i}static parseStyle(i){return i.split(";").reduce((o,s)=>{let l=s.split(":").map(d=>d.trim()),u=l.shift();return u&&l.length&&(o[u.replace(/-([a-z])/g,d=>d[1].toUpperCase())]=l.join(":")),o},{})}static setElementHTML(i,o){i.innerHTML=Qe.emptyHTML,o&&new Qe(o).addToDOM(i)}constructor(i){this.nodes=typeof i=="string"?this.parseMarkup(i):i}addToDOM(i){return function o(s,l){let u;return Yr(s).forEach(function(d){let f,m=d.tagName,b=d.textContent?v.doc.createTextNode(d.textContent):void 0,S=Qe.bypassHTMLFiltering;if(m)if(m==="#text")f=b;else if(Qe.allowedTags.indexOf(m)!==-1||S){let x=m==="svg"?Pa:l.namespaceURI||Pa,k=v.doc.createElementNS(x,m),M=d.attributes||{};xr(d,function(I,D){D!=="tagName"&&D!=="attributes"&&D!=="children"&&D!=="style"&&D!=="textContent"&&(M[D]=I)}),er(k,S?M:Qe.filterUserAttributes(M)),d.style&&go(k,d.style),b&&k.appendChild(b),o(d.children||[],k),f=k}else No(33,!1,void 0,{"Invalid tagName in config":m});f&&l.appendChild(f),u=f}),u}(this.nodes,i)}parseMarkup(i){let o,s=[];i=i.trim().replace(/ style=(["'])/g," data-style=$1");try{o=new DOMParser().parseFromString(ir?ir.createHTML(i):i,"text/html")}catch{}if(!o){let u=tr("div");u.innerHTML=i,o={body:u}}let l=(u,d)=>{let f=u.nodeName.toLowerCase(),m={tagName:f};f==="#text"&&(m.textContent=u.textContent||"");let b=u.attributes;if(b){let S={};[].forEach.call(b,x=>{x.name==="data-style"?m.style=Qe.parseStyle(x.value):S[x.name]=x.value}),m.attributes=S}if(u.childNodes.length){let S=[];[].forEach.call(u.childNodes,x=>{l(x,S)}),S.length&&(m.children=S)}d.push(m)};return[].forEach.call(o.body.childNodes,u=>l(u,s)),s}}Qe.allowedAttributes=["alt","aria-controls","aria-describedby","aria-expanded","aria-haspopup","aria-hidden","aria-label","aria-labelledby","aria-live","aria-pressed","aria-readonly","aria-roledescription","aria-selected","class","clip-path","color","colspan","cx","cy","d","dx","dy","disabled","fill","filterUnits","flood-color","flood-opacity","height","href","id","in","in2","markerHeight","markerWidth","offset","opacity","operator","orient","padding","paddingLeft","paddingRight","patternUnits","r","radius","refX","refY","role","scope","slope","src","startOffset","stdDeviation","stroke","stroke-linecap","stroke-width","style","tableValues","result","rowspan","summary","target","tabindex","text-align","text-anchor","textAnchor","textLength","title","type","valign","width","x","x1","x2","xlink:href","y","y1","y2","zIndex"],Qe.allowedReferences=["https://","http://","mailto:","/","../","./","#"],Qe.allowedTags=["a","abbr","b","br","button","caption","circle","clipPath","code","dd","defs","div","dl","dt","em","feComponentTransfer","feComposite","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMorphology","feOffset","feMerge","feMergeNode","filter","h1","h2","h3","h4","h5","h6","hr","i","img","li","linearGradient","marker","ol","p","path","pattern","pre","rect","small","span","stop","strong","style","sub","sup","svg","table","text","textPath","thead","title","tbody","tspan","td","th","tr","u","ul","#text"],Qe.emptyHTML=le,Qe.bypassHTMLFiltering=!1;let{defaultOptions:mt,defaultTime:Bt}=Ti,{doc:mi}=v,{extend:fi,getNestedProperty:Ki,isArray:ki,isNumber:Xr,isObject:Eh,pick:sc,ucfirst:ac}=tt,Kr={add:(y,i)=>y+i,divide:(y,i)=>i!==0?y/i:"",eq:(y,i)=>y==i,each:function(y){let i=arguments[arguments.length-1];return!!ki(y)&&y.map((o,s)=>un(i.body,fi(Eh(o)?o:{"@this":o},{"@index":s,"@first":s===0,"@last":s===y.length-1}))).join("")},ge:(y,i)=>y>=i,gt:(y,i)=>y>i,if:y=>!!y,le:(y,i)=>y<=i,lt:(y,i)=>y<i,multiply:(y,i)=>y*i,ne:(y,i)=>y!=i,subtract:(y,i)=>y-i,ucfirst:ac,unless:y=>!y},$l={};function un(y="",i,o){let s=/\{([\p{L}\d:\.,;\-\/<>\[\]%_@"'’= #\(\)]+)\}/gu,l=/\(([\p{L}\d:\.,;\-\/<>\[\]%_@"'= ]+)\)/gu,u=[],d=/f$/,f=/\.(\d)/,m=(o==null?void 0:o.options.lang)||mt.lang,b=o&&o.time||Bt,S=o&&o.numberFormatter||wr,x=(V="")=>{let L;return V==="true"||V!=="false"&&((L=Number(V)).toString()===V?L:/^["'].+["']$/.test(V)?V.slice(1,-1):Ki(V,i))},k,M,I=0,D;for(;(k=s.exec(y))!==null;){let V=k,L=l.exec(k[1]);L&&(k=L,D=!0),M&&M.isBlock||(M={ctx:i,expression:k[1],find:k[0],isBlock:k[1].charAt(0)==="#",start:k.index,startInner:k.index+k[0].length,length:k[0].length});let j=(M.isBlock?V:k)[1].split(" ")[0].replace("#","");Kr[j]&&(M.isBlock&&j===M.fn&&I++,M.fn||(M.fn=j));let W=k[1]==="else";if(M.isBlock&&M.fn&&(k[1]===`/${M.fn}`||W))if(I)!W&&I--;else{let ie=M.startInner,se=y.substr(ie,k.index-ie);M.body===void 0?(M.body=se,M.startInner=k.index+k[0].length):M.elseBody=se,M.find+=se+k[0],W||(u.push(M),M=void 0)}else M.isBlock||u.push(M);if(L&&!(M!=null&&M.isBlock))break}return u.forEach(V=>{let L,j,{body:W,elseBody:ie,expression:se,fn:ae}=V;if(ae){let ye=[V],he=[],be=se.length,He=0,$e;for(j=0;j<=be;j++){let lt=se.charAt(j);$e||lt!=='"'&<!=="'"?$e===lt&&($e=""):$e=lt,$e||lt!==" "&&j!==be||(he.push(se.substr(He,j-He)),He=j+1)}for(j=Kr[ae].length;j--;)ye.unshift(x(he[j+1]));L=Kr[ae].apply(i,ye),V.isBlock&&typeof L=="boolean"&&(L=un(L?W:ie,i,o))}else{let ye=se.split(":");if(L=x(ye.shift()||""),ye.length&&typeof L=="number"){let he=ye.join(":");if(d.test(he)){let be=parseInt((he.match(f)||["","-1"])[1],10);L!==null&&(L=S(L,be,m.decimalPoint,he.indexOf(",")>-1?m.thousandsSep:""))}else L=b.dateFormat(he,L),D&&(L=`"${L}"`)}}y=y.replace(V.find,sc(L,""))}),D?un(y,i,o):y}function wr(y,i,o,s){var D,V,L;i=+i;let l,u,[d,f]=(y=+y||0).toString().split("e").map(Number),m=((D=this==null?void 0:this.options)==null?void 0:D.lang)||mt.lang,b=(y.toString().split(".")[1]||"").split("e")[0].length,S=i,x={};o!=null||(o=m.decimalPoint),s!=null||(s=m.thousandsSep),i===-1?i=Math.min(b,20):Xr(i)?i&&f<0&&((u=i+f)>=0?(d=+d.toExponential(u).split("e")[0],i=u):(d=Math.floor(d),y=i<20?+(d*Math.pow(10,f)).toFixed(i):0,f=0)):i=2,f&&(i!=null||(i=2),y=d),Xr(i)&&i>=0&&(x.minimumFractionDigits=i,x.maximumFractionDigits=i),s===""&&(x.useGrouping=!1);let k=s||o,M=k?"en":(this==null?void 0:this.locale)||m.locale||((V=mi.body.closest("[lang]"))==null?void 0:V.lang),I=JSON.stringify(x)+M;return l=((L=$l[I])!=null?L:$l[I]=new Intl.NumberFormat(M,x)).format(y),k&&(l=l.replace(/\,/g,s!=null?s:",").replace(".",o!=null?o:".")),(i||+l!=0)&&(!(f<0)||S)||(l="0"),f&&+l!=0&&(l+="e"+(f<0?"":"+")+f),l}let Tn={dateFormat:function(y,i,o){return Bt.dateFormat(y,i,o)},format:un,helpers:Kr,numberFormat:wr};(function(y){let i;y.rendererTypes={},y.getRendererType=function(o=i){return y.rendererTypes[o]||y.rendererTypes[i]},y.registerRendererType=function(o,s,l){y.rendererTypes[o]=s,(!i||l)&&(i=o,v.Renderer=s)}})(c||(c={}));let qs=c,{clamp:Mh,pick:Ul,pushUnique:lc,stableSort:Qr}=tt;(p||(p={})).distribute=function y(i,o,s){let l=i,u=l.reducedLen||o,d=(W,ie)=>W.target-ie.target,f=[],m=i.length,b=[],S=f.push,x,k,M,I=!0,D,V,L=0,j;for(x=m;x--;)L+=i[x].size;if(L>u){for(Qr(i,(W,ie)=>(ie.rank||0)-(W.rank||0)),M=(j=i[0].rank===i[i.length-1].rank)?m/2:-1,k=j?M:m-1;M&&L>u;)D=i[x=Math.floor(k)],lc(b,x)&&(L-=D.size),k+=M,j&&k>=i.length&&(M/=2,k=M);b.sort((W,ie)=>ie-W).forEach(W=>S.apply(f,i.splice(W,1)))}for(Qr(i,d),i=i.map(W=>({size:W.size,targets:[W.target],align:Ul(W.align,.5)}));I;){for(x=i.length;x--;)D=i[x],V=(Math.min.apply(0,D.targets)+Math.max.apply(0,D.targets))/2,D.pos=Mh(V-D.size*D.align,0,o-D.size);for(x=i.length,I=!1;x--;)x>0&&i[x-1].pos+i[x-1].size>i[x].pos&&(i[x-1].size+=i[x].size,i[x-1].targets=i[x-1].targets.concat(i[x].targets),i[x-1].align=.5,i[x-1].pos+i[x-1].size>o&&(i[x-1].pos=o-i[x-1].size),i.splice(x,1),I=!0)}return S.apply(l,f),x=0,i.some(W=>{let ie=0;return(W.targets||[]).some(()=>(l[x].pos=W.pos+ie,s!==void 0&&Math.abs(l[x].pos-l[x].target)>s?(l.slice(0,x+1).forEach(se=>delete se.pos),l.reducedLen=(l.reducedLen||o)-.1*o,l.reducedLen>.1*o&&y(l,o,s),!0):(ie+=l[x].size,x++,!1)))}),Qr(l,d),l};let Hs=p,{animate:Ph,animObject:Oh,stop:$n}=Xi,{deg2rad:Wl,doc:vo,svg:Ih,SVG_NS:Ia,win:Sr}=v,{addEvent:_r,attr:zs,createElement:Lh,crisp:nr,css:Gl,defined:Un,erase:uc,extend:Zr,fireEvent:Yl,getAlignFactor:La,isArray:cc,isFunction:dc,isObject:Xl,isString:hc,merge:Kl,objectEach:Jr,pick:Jn,pInt:Na,pushUnique:Nh,replaceNested:Rh,syncTimeout:fc,uniqueKey:Ra}=tt;class Ui{_defaultGetter(i){let o=Jn(this[i+"Value"],this[i],this.element?this.element.getAttribute(i):null,0);return/^-?[\d\.]+$/.test(o)&&(o=parseFloat(o)),o}_defaultSetter(i,o,s){s.setAttribute(o,i)}add(i){let o,s=this.renderer,l=this.element;return i&&(this.parentGroup=i),this.textStr!==void 0&&this.element.nodeName==="text"&&s.buildText(this),this.added=!0,(!i||i.handleZ||this.zIndex)&&(o=this.zIndexSetter()),o||(i?i.element:s.box).appendChild(l),this.onAdd&&this.onAdd(),this}addClass(i,o){let s=o?"":this.attr("class")||"";return(i=(i||"").split(/ /g).reduce(function(l,u){return s.indexOf(u)===-1&&l.push(u),l},s?[s]:[]).join(" "))!==s&&this.attr("class",i),this}afterSetters(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)}align(i,o,s,l=!0){let u={},d=this.renderer,f=d.alignedObjects,m=!!i;i?(this.alignOptions=i,this.alignByTranslate=o,this.alignTo=s):(i=this.alignOptions||{},o=this.alignByTranslate,s=this.alignTo);let b=!s||hc(s)?s||"renderer":void 0;b&&(m&&Nh(f,this),s=void 0);let S=Jn(s,d[b],d),x=(S.x||0)+(i.x||0)+((S.width||0)-(i.width||0))*La(i.align),k=(S.y||0)+(i.y||0)+((S.height||0)-(i.height||0))*La(i.verticalAlign);return u[o?"translateX":"x"]=Math.round(x),u[o?"translateY":"y"]=Math.round(k),l&&(this[this.placed?"animate":"attr"](u),this.placed=!0),this.alignAttr=u,this}alignSetter(i){let o={left:"start",center:"middle",right:"end"};o[i]&&(this.alignValue=i,this.element.setAttribute("text-anchor",o[i]))}animate(i,o,s){let l=Oh(Jn(o,this.renderer.globalAnimation,!0)),u=l.defer;return vo.hidden&&(l.duration=0),l.duration!==0?(s&&(l.complete=s),fc(()=>{this.element&&Ph(this,i,l)},u)):(this.attr(i,void 0,s||l.complete),Jr(i,function(d,f){l.step&&l.step.call(this,d,{prop:f,pos:1,elem:this})},this)),this}applyTextOutline(i){let o=this.element;i.indexOf("contrast")!==-1&&(i=i.replace(/contrast/g,this.renderer.getContrast(o.style.fill)));let s=i.split(" "),l=s[s.length-1],u=s[0];if(u&&u!=="none"&&v.svg){this.fakeTS=!0,u=u.replace(/(^[\d\.]+)(.*?)$/g,function(S,x,k){return 2*Number(x)+k}),this.removeTextOutline();let d=vo.createElementNS(Ia,"tspan");zs(d,{class:"highcharts-text-outline",fill:l,stroke:l,"stroke-width":u,"stroke-linejoin":"round"});let f=o.querySelector("textPath")||o;[].forEach.call(f.childNodes,S=>{let x=S.cloneNode(!0);x.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach(k=>x.removeAttribute(k)),d.appendChild(x)});let m=0;[].forEach.call(f.querySelectorAll("text tspan"),S=>{m+=Number(S.getAttribute("dy"))});let b=vo.createElementNS(Ia,"tspan");b.textContent="\u200B",zs(b,{x:Number(o.getAttribute("x")),dy:-m}),d.appendChild(b),f.insertBefore(d,f.firstChild)}}attr(i,o,s,l){let{element:u}=this,d=Ui.symbolCustomAttribs,f,m,b=this,S;return typeof i=="string"&&o!==void 0&&(f=i,(i={})[f]=o),typeof i=="string"?b=(this[i+"Getter"]||this._defaultGetter).call(this,i,u):(Jr(i,function(x,k){S=!1,l||$n(this,k),this.symbolName&&d.indexOf(k)!==-1&&(m||(this.symbolAttr(i),m=!0),S=!0),this.rotation&&(k==="x"||k==="y")&&(this.doTransform=!0),S||(this[k+"Setter"]||this._defaultSetter).call(this,x,k,u)},this),this.afterSetters()),s&&s.call(this),b}clip(i){if(i&&!i.clipPath){let o=Ra()+"-",s=this.renderer.createElement("clipPath").attr({id:o}).add(this.renderer.defs);Zr(i,{clipPath:s,id:o,count:0}),i.add(s)}return this.attr("clip-path",i?`url(${this.renderer.url}#${i.id})`:"none")}crisp(i,o){o=Math.round(o||i.strokeWidth||0);let s=i.x||this.x||0,l=i.y||this.y||0,u=(i.width||this.width||0)+s,d=(i.height||this.height||0)+l,f=nr(s,o),m=nr(l,o);return Zr(i,{x:f,y:m,width:nr(u,o)-f,height:nr(d,o)-m}),Un(i.strokeWidth)&&(i.strokeWidth=o),i}complexColor(i,o,s){let l=this.renderer,u,d,f,m,b,S,x,k,M,I,D=[],V;Yl(this.renderer,"complexColor",{args:arguments},function(){if(i.radialGradient?d="radialGradient":i.linearGradient&&(d="linearGradient"),d){if(f=i[d],b=l.gradients,S=i.stops,M=s.radialReference,cc(f)&&(i[d]=f={x1:f[0],y1:f[1],x2:f[2],y2:f[3],gradientUnits:"userSpaceOnUse"}),d==="radialGradient"&&M&&!Un(f.gradientUnits)&&(m=f,f=Kl(f,l.getRadialAttr(M,m),{gradientUnits:"userSpaceOnUse"})),Jr(f,function(L,j){j!=="id"&&D.push(j,L)}),Jr(S,function(L){D.push(L)}),b[D=D.join(",")])I=b[D].attr("id");else{f.id=I=Ra();let L=b[D]=l.createElement(d).attr(f).add(l.defs);L.radAttr=m,L.stops=[],S.forEach(function(j){j[1].indexOf("rgba")===0?(x=(u=Oi.parse(j[1])).get("rgb"),k=u.get("a")):(x=j[1],k=1);let W=l.createElement("stop").attr({offset:j[0],"stop-color":x,"stop-opacity":k}).add(L);L.stops.push(W)})}V="url("+l.url+"#"+I+")",s.setAttribute(o,V),s.gradient=D,i.toString=function(){return V}}})}css(i){let o=this.styles,s={},l=this.element,u,d=!o;if(o&&Jr(i,function(f,m){o&&o[m]!==f&&(s[m]=f,d=!0)}),d){o&&(i=Zr(o,s)),i.width===null||i.width==="auto"?delete this.textWidth:l.nodeName.toLowerCase()==="text"&&i.width&&(u=this.textWidth=Na(i.width)),Zr(this.styles,i),u&&!Ih&&this.renderer.forExport&&delete i.width;let f=Kl(i);l.namespaceURI===this.SVG_NS&&(["textOutline","textOverflow","whiteSpace","width"].forEach(m=>f&&delete f[m]),f.color&&(f.fill=f.color)),Gl(l,f)}return this.added&&(this.element.nodeName==="text"&&this.renderer.buildText(this),i.textOutline&&this.applyTextOutline(i.textOutline)),this}dashstyleSetter(i){let o,s=this["stroke-width"];if(s==="inherit"&&(s=1),i=i&&i.toLowerCase()){let l=i.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(",");for(o=l.length;o--;)l[o]=""+Na(l[o])*Jn(s,NaN);i=l.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",i)}}destroy(){var m;let i=this,o=i.element||{},s=i.renderer,l=o.ownerSVGElement,u=o.nodeName==="SPAN"&&i.parentGroup||void 0,d,f;if(o.onclick=o.onmouseout=o.onmouseover=o.onmousemove=o.point=null,$n(i),i.clipPath&&l){let b=i.clipPath;[].forEach.call(l.querySelectorAll("[clip-path],[CLIP-PATH]"),function(S){S.getAttribute("clip-path").indexOf(b.element.id)>-1&&S.removeAttribute("clip-path")}),i.clipPath=b.destroy()}if(i.connector=(m=i.connector)==null?void 0:m.destroy(),i.stops){for(f=0;f<i.stops.length;f++)i.stops[f].destroy();i.stops.length=0,i.stops=void 0}for(i.safeRemoveChild(o);u&&u.div&&u.div.childNodes.length===0;)d=u.parentGroup,i.safeRemoveChild(u.div),delete u.div,u=d;i.alignOptions&&uc(s.alignedObjects,i),Jr(i,function(b,S){i[S]&&i[S].parentGroup===i&&i[S].destroy&&i[S].destroy(),delete i[S]})}dSetter(i,o,s){cc(i)&&(typeof i[0]=="string"&&(i=this.renderer.pathToSegments(i)),this.pathArray=i,i=i.reduce((l,u,d)=>u&&u.join?(d?l+" ":"")+u.join(" "):(u||"").toString(),"")),/(NaN| {2}|^$)/.test(i)&&(i="M 0 0"),this[o]!==i&&(s.setAttribute(o,i),this[o]=i)}fillSetter(i,o,s){typeof i=="string"?s.setAttribute(o,i):i&&this.complexColor(i,o,s)}hrefSetter(i,o,s){s.setAttributeNS("http://www.w3.org/1999/xlink",o,i)}getBBox(i,o){let s,l,u,d,{alignValue:f,element:m,renderer:b,styles:S,textStr:x}=this,{cache:k,cacheKeys:M}=b,I=m.namespaceURI===this.SVG_NS,D=Jn(o,this.rotation,0),V=b.styledMode?m&&Ui.prototype.getStyle.call(m,"font-size"):S.fontSize;if(Un(x)&&((d=x.toString()).indexOf("<")===-1&&(d=d.replace(/\d/g,"0")),d+=["",b.rootFontSize,V,D,this.textWidth,f,S.lineClamp,S.textOverflow,S.fontWeight].join(",")),d&&!i&&(s=k[d]),!s||s.polygon){if(I||b.forExport){try{u=this.fakeTS&&function(j){let W=m.querySelector(".highcharts-text-outline");W&&Gl(W,{display:j})},dc(u)&&u("none"),s=m.getBBox?Zr({},m.getBBox()):{width:m.offsetWidth,height:m.offsetHeight,x:0,y:0},dc(u)&&u("")}catch{}(!s||s.width<0)&&(s={x:0,y:0,width:0,height:0})}else s=this.htmlGetBBox();l=s.height,I&&(s.height=l={"11px,17":14,"13px,20":16}[`${V||""},${Math.round(l)}`]||l),D&&(s=this.getRotatedBox(s,D));let L={bBox:s};Yl(this,"afterGetBBox",L),s=L.bBox}if(d&&(x===""||s.height>0)){for(;M.length>250;)delete k[M.shift()];k[d]||M.push(d),k[d]=s}return s}getRotatedBox(i,o){let{x:s,y:l,width:u,height:d}=i,{alignValue:f,translateY:m,rotationOriginX:b=0,rotationOriginY:S=0}=this,x=La(f),k=Number(this.element.getAttribute("y")||0)-(m?0:l),M=o*Wl,I=(o-90)*Wl,D=Math.cos(M),V=Math.sin(M),L=u*D,j=u*V,W=Math.cos(I),ie=Math.sin(I),[[se,ae],[ye,he]]=[b,S].map(Dt=>[Dt-Dt*D,Dt*V]),be=s+x*(u-L)+se+he+k*W,He=be+L,$e=He-d*W,lt=$e-L,Ue=l+k-x*j-ae+ye+k*ie,yt=Ue+j,At=yt-d*ie,Tt=At-j,vt=Math.min(be,He,$e,lt),zt=Math.min(Ue,yt,At,Tt),xt=Math.max(be,He,$e,lt)-vt,It=Math.max(Ue,yt,At,Tt)-zt;return{x:vt,y:zt,width:xt,height:It,polygon:[[be,Ue],[He,yt],[$e,At],[lt,Tt]]}}getStyle(i){return Sr.getComputedStyle(this.element||this,"").getPropertyValue(i)}hasClass(i){return(""+this.attr("class")).split(" ").indexOf(i)!==-1}hide(){return this.attr({visibility:"hidden"})}htmlGetBBox(){return{height:0,width:0,x:0,y:0}}constructor(i,o){this.onEvents={},this.opacity=1,this.SVG_NS=Ia,this.element=o==="span"||o==="body"?Lh(o):vo.createElementNS(this.SVG_NS,o),this.renderer=i,this.styles={},Yl(this,"afterInit")}on(i,o){let{onEvents:s}=this;return s[i]&&s[i](),s[i]=_r(this.element,i,o),this}opacitySetter(i,o,s){let l=Number(Number(i).toFixed(3));this.opacity=l,s.setAttribute(o,l)}reAlign(){var i;((i=this.alignOptions)==null?void 0:i.width)&&this.alignOptions.align!=="left"&&(this.alignOptions.width=this.getBBox().width,this.placed=!1,this.align())}removeClass(i){return this.attr("class",(""+this.attr("class")).replace(hc(i)?RegExp(`(^| )${i}( |$)`):i," ").replace(/ +/g," ").trim())}removeTextOutline(){let i=this.element.querySelector("tspan.highcharts-text-outline");i&&this.safeRemoveChild(i)}safeRemoveChild(i){let o=i.parentNode;o&&o.removeChild(i)}setRadialReference(i){let o=this.element.gradient&&this.renderer.gradients[this.element.gradient];return this.element.radialReference=i,o&&o.radAttr&&o.animate(this.renderer.getRadialAttr(i,o.radAttr)),this}shadow(i){var u;let{renderer:o}=this,s=Kl(((u=this.parentGroup)==null?void 0:u.rotation)===90?{offsetX:-1,offsetY:-1}:{},Xl(i)?i:{}),l=o.shadowDefinition(s);return this.attr({filter:i?`url(${o.url}#${l})`:"none"})}show(i=!0){return this.attr({visibility:i?"inherit":"visible"})}"stroke-widthSetter"(i,o,s){this[o]=i,s.setAttribute(o,i)}strokeWidth(){if(!this.renderer.styledMode)return this["stroke-width"]||0;let i=this.getStyle("stroke-width"),o=0,s;return/px$/.test(i)?o=Na(i):i!==""&&(zs(s=vo.createElementNS(Ia,"rect"),{width:i,"stroke-width":0}),this.element.parentNode.appendChild(s),o=s.getBBox().width,s.parentNode.removeChild(s)),o}symbolAttr(i){let o=this;Ui.symbolCustomAttribs.forEach(function(s){o[s]=Jn(i[s],o[s])}),o.attr({d:o.renderer.symbols[o.symbolName](o.x,o.y,o.width,o.height,o)})}textSetter(i){i!==this.textStr&&(delete this.textPxLength,this.textStr=i,this.added&&this.renderer.buildText(this),this.reAlign())}titleSetter(i){let o=this.element,s=o.getElementsByTagName("title")[0]||vo.createElementNS(this.SVG_NS,"title");o.insertBefore?o.insertBefore(s,o.firstChild):o.appendChild(s),s.textContent=Rh(Jn(i,""),[/<[^>]*>/g,""]).replace(/</g,"<").replace(/>/g,">")}toFront(){let i=this.element;return i.parentNode.appendChild(i),this}translate(i,o){return this.attr({translateX:i,translateY:o})}updateTransform(i="transform"){var k;let{element:o,matrix:s,rotation:l=0,rotationOriginX:u,rotationOriginY:d,scaleX:f,scaleY:m,translateX:b=0,translateY:S=0}=this,x=["translate("+b+","+S+")"];Un(s)&&x.push("matrix("+s.join(",")+")"),l&&(x.push("rotate("+l+" "+Jn(u,o.getAttribute("x"),0)+" "+Jn(d,o.getAttribute("y")||0)+")"),((k=this.text)==null?void 0:k.element.tagName)==="SPAN"&&this.text.attr({rotation:l,rotationOriginX:(u||0)-this.padding,rotationOriginY:(d||0)-this.padding})),(Un(f)||Un(m))&&x.push("scale("+Jn(f,1)+" "+Jn(m,1)+")"),x.length&&!(this.text||this).textPath&&o.setAttribute(i,x.join(" "))}visibilitySetter(i,o,s){i==="inherit"?s.removeAttribute(o):this[o]!==i&&s.setAttribute(o,i),this[o]=i}xGetter(i){return this.element.nodeName==="circle"&&(i==="x"?i="cx":i==="y"&&(i="cy")),this._defaultGetter(i)}zIndexSetter(i,o){let s=this.renderer,l=this.parentGroup,u=(l||s).element||s.box,d=this.element,f=u===s.box,m,b,S,x=!1,k,M=this.added,I;if(Un(i)?(d.setAttribute("data-z-index",i),i=+i,this[o]===i&&(M=!1)):Un(this[o])&&d.removeAttribute("data-z-index"),this[o]=i,M){for((i=this.zIndex)&&l&&(l.handleZ=!0),I=(m=u.childNodes).length-1;I>=0&&!x;I--)k=!Un(S=(b=m[I]).getAttribute("data-z-index")),b!==d&&(i<0&&k&&!f&&!I?(u.insertBefore(d,m[I]),x=!0):(Na(S)<=i||k&&(!Un(i)||i>=0))&&(u.insertBefore(d,m[I+1]),x=!0));x||(u.insertBefore(d,m[f?3:0]),x=!0)}return x}}Ui.symbolCustomAttribs=["anchorX","anchorY","clockwise","end","height","innerR","r","start","width","x","y"],Ui.prototype.strokeSetter=Ui.prototype.fillSetter,Ui.prototype.yGetter=Ui.prototype.xGetter,Ui.prototype.matrixSetter=Ui.prototype.rotationOriginXSetter=Ui.prototype.rotationOriginYSetter=Ui.prototype.rotationSetter=Ui.prototype.scaleXSetter=Ui.prototype.scaleYSetter=Ui.prototype.translateXSetter=Ui.prototype.translateYSetter=Ui.prototype.verticalAlignSetter=function(y,i){this[i]=y,this.doTransform=!0};let Wn=Ui,{defined:Fa,extend:pc,getAlignFactor:Da,isNumber:js,merge:Fh,pick:Ba,removeEvent:es}=tt;class or extends Wn{constructor(i,o,s,l,u,d,f,m,b,S){let x;super(i,"g"),this.paddingLeftSetter=this.paddingSetter,this.paddingRightSetter=this.paddingSetter,this.doUpdate=!1,this.textStr=o,this.x=s,this.y=l,this.anchorX=d,this.anchorY=f,this.baseline=b,this.className=S,this.addClass(S==="button"?"highcharts-no-tooltip":"highcharts-label"),S&&this.addClass("highcharts-"+S),this.text=i.text(void 0,0,0,m).attr({zIndex:1}),typeof u=="string"&&((x=/^url\((.*?)\)$/.test(u))||this.renderer.symbols[u])&&(this.symbolKey=u),this.bBox=or.emptyBBox,this.padding=3,this.baselineOffset=0,this.needsBox=i.styledMode||x,this.deferredAttr={},this.alignFactor=0}alignSetter(i){let o=Da(i);o!==this.alignFactor&&(this.alignFactor=o,this.bBox&&js(this.xSetting)&&this.attr({x:this.xSetting}))}anchorXSetter(i,o){this.anchorX=i,this.boxAttr(o,Math.round(i)-this.getCrispAdjust()-this.xSetting)}anchorYSetter(i,o){this.anchorY=i,this.boxAttr(o,i-this.ySetting)}boxAttr(i,o){this.box?this.box.attr(i,o):this.deferredAttr[i]=o}css(i){if(i){let o={};i=Fh(i),or.textProps.forEach(s=>{i[s]!==void 0&&(o[s]=i[s],delete i[s])}),this.text.css(o),"fontSize"in o||"fontWeight"in o?this.updateTextPadding():("width"in o||"textOverflow"in o)&&this.updateBoxSize()}return Wn.prototype.css.call(this,i)}destroy(){es(this.element,"mouseenter"),es(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),Wn.prototype.destroy.call(this)}fillSetter(i,o){i&&(this.needsBox=!0),this.fill=i,this.boxAttr(o,i)}getBBox(i,o){this.textStr&&this.bBox.width===0&&this.bBox.height===0&&this.updateBoxSize();let{padding:s,height:l=0,translateX:u=0,translateY:d=0,width:f=0}=this,m=Ba(this.paddingLeft,s),b=o!=null?o:this.rotation||0,S={width:f,height:l,x:u+this.bBox.x-m,y:d+this.bBox.y-s+this.baselineOffset};return b&&(S=this.getRotatedBox(S,b)),S}getCrispAdjust(){return(this.renderer.styledMode&&this.box?this.box.strokeWidth():this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2}heightSetter(i){this.heightSetting=i,this.doUpdate=!0}afterSetters(){super.afterSetters(),this.doUpdate&&(this.updateBoxSize(),this.doUpdate=!1)}onAdd(){this.text.add(this),this.attr({text:Ba(this.textStr,""),x:this.x||0,y:this.y||0}),this.box&&Fa(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})}paddingSetter(i,o){js(i)?i!==this[o]&&(this[o]=i,this.updateTextPadding()):this[o]=void 0}rSetter(i,o){this.boxAttr(o,i)}strokeSetter(i,o){this.stroke=i,this.boxAttr(o,i)}"stroke-widthSetter"(i,o){i&&(this.needsBox=!0),this["stroke-width"]=i,this.boxAttr(o,i)}"text-alignSetter"(i){this.textAlign=i}textSetter(i){i!==void 0&&this.text.attr({text:i}),this.updateTextPadding(),this.reAlign()}updateBoxSize(){let i,o=this.text,s={},l=this.padding,u=this.bBox=(!js(this.widthSetting)||!js(this.heightSetting)||this.textAlign)&&Fa(o.textStr)?o.getBBox(void 0,0):or.emptyBBox;this.width=this.getPaddedWidth(),this.height=(this.heightSetting||u.height||0)+2*l;let d=this.renderer.fontMetrics(o);if(this.baselineOffset=l+Math.min((this.text.firstLineMetrics||d).b,u.height||1/0),this.heightSetting&&(this.baselineOffset+=(this.heightSetting-d.h)/2),this.needsBox&&!o.textPath){if(!this.box){let f=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect();f.addClass((this.className==="button"?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),f.add(this)}i=this.getCrispAdjust(),s.x=i,s.y=(this.baseline?-this.baselineOffset:0)+i,s.width=Math.round(this.width),s.height=Math.round(this.height),this.box.attr(pc(s,this.deferredAttr)),this.deferredAttr={}}}updateTextPadding(){var o;let i=this.text;if(!i.textPath){this.updateBoxSize();let s=this.baseline?0:this.baselineOffset,l=((o=this.paddingLeft)!=null?o:this.padding)+(Fa(this.widthSetting)&&this.bBox?Da(this.textAlign)*(this.widthSetting-this.bBox.width):0);(l!==i.x||s!==i.y)&&(i.attr("x",l),i.hasBoxWidthChanged&&(this.bBox=i.getBBox(!0)),s!==void 0&&i.attr("y",s)),i.x=l,i.y=s}}widthSetter(i){this.widthSetting=js(i)?i:void 0,this.doUpdate=!0}getPaddedWidth(){let i=this.padding,o=Ba(this.paddingLeft,i),s=Ba(this.paddingRight,i);return(this.widthSetting||this.bBox.width||0)+o+s}xSetter(i){this.x=i,this.alignFactor&&(i-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0),this.xSetting=Math.round(i),this.attr("translateX",this.xSetting)}ySetter(i){this.ySetting=this.y=Math.round(i),this.attr("translateY",this.ySetting)}}or.emptyBBox={width:0,height:0,x:0,y:0},or.textProps=["color","direction","fontFamily","fontSize","fontStyle","fontWeight","lineClamp","lineHeight","textAlign","textDecoration","textOutline","textOverflow","whiteSpace","width"];let{defined:Va,isNumber:Dh,pick:$s}=tt;function mc(y,i,o,s,l){let u=[];if(l){let d=l.start||0,f=$s(l.r,o),m=$s(l.r,s||o),b=2e-4/(l.borderRadius?1:Math.max(f,1)),S=Math.abs((l.end||0)-d-2*Math.PI)<b,x=(l.end||0)-(S?b:0),k=l.innerR,M=$s(l.open,S),I=Math.cos(d),D=Math.sin(d),V=Math.cos(x),L=Math.sin(x),j=$s(l.longArc,x-d-Math.PI<b?0:1),W=["A",f,m,0,j,$s(l.clockwise,1),y+f*V,i+m*L];W.params={start:d,end:x,cx:y,cy:i},u.push(["M",y+f*I,i+m*D],W),Va(k)&&((W=["A",k,k,0,j,Va(l.clockwise)?1-l.clockwise:0,y+k*I,i+k*D]).params={start:x,end:d,cx:y,cy:i},u.push(M?["M",y+k*V,i+k*L]:["L",y+k*V,i+k*L],W)),M||u.push(["Z"])}return u}function h(y,i,o,s,l){return l&&l.r?g(y,i,o,s,l):[["M",y,i],["L",y+o,i],["L",y+o,i+s],["L",y,i+s],["Z"]]}function g(y,i,o,s,l){let u=(l==null?void 0:l.r)||0;return[["M",y+u,i],["L",y+o-u,i],["A",u,u,0,0,1,y+o,i+u],["L",y+o,i+s-u],["A",u,u,0,0,1,y+o-u,i+s],["L",y+u,i+s],["A",u,u,0,0,1,y,i+s-u],["L",y,i+u],["A",u,u,0,0,1,y+u,i],["Z"]]}let C={arc:mc,callout:function(y,i,o,s,l){let u=Math.min(l&&l.r||0,o,s),d=u+6,f=l&&l.anchorX,m=l&&l.anchorY||0,b=g(y,i,o,s,{r:u});if(!Dh(f)||f<o&&f>0&&m<s&&m>0)return b;if(y+f>o-d)if(m>i+d&&m<i+s-d)b.splice(3,1,["L",y+o,m-6],["L",y+o+6,m],["L",y+o,m+6],["L",y+o,i+s-u]);else if(f<o){let S=m<i+d,x=S?i:i+s;b.splice(S?2:5,0,["L",f,m],["L",y+o-u,x])}else b.splice(3,1,["L",y+o,s/2],["L",f,m],["L",y+o,s/2],["L",y+o,i+s-u]);else if(y+f<d)if(m>i+d&&m<i+s-d)b.splice(7,1,["L",y,m+6],["L",y-6,m],["L",y,m-6],["L",y,i+u]);else if(f>0){let S=m<i+d,x=S?i:i+s;b.splice(S?1:6,0,["L",f,m],["L",y+u,x])}else b.splice(7,1,["L",y,s/2],["L",f,m],["L",y,s/2],["L",y,i+u]);else m>s&&f<o-d?b.splice(5,1,["L",f+6,i+s],["L",f,i+s+6],["L",f-6,i+s],["L",y+u,i+s]):m<0&&f>d&&b.splice(1,1,["L",f-6,i],["L",f,i-6],["L",f+6,i],["L",o-u,i]);return b},circle:function(y,i,o,s){return mc(y+o/2,i+s/2,o/2,s/2,{start:.5*Math.PI,end:2.5*Math.PI,open:!1})},diamond:function(y,i,o,s){return[["M",y+o/2,i],["L",y+o,i+s/2],["L",y+o/2,i+s],["L",y,i+s/2],["Z"]]},rect:h,roundedRect:g,square:h,triangle:function(y,i,o,s){return[["M",y+o/2,i],["L",y+o,i+s],["L",y,i+s],["Z"]]},"triangle-down":function(y,i,o,s){return[["M",y,i],["L",y+o,i],["L",y+o/2,i+s],["Z"]]}},{doc:E,SVG_NS:R,win:F}=v,{attr:H,extend:ne,fireEvent:Z,isString:pe,objectEach:Ie,pick:Be}=tt,_e=(y,i)=>y.substring(0,i)+"\u2026",et=class{constructor(y){let i=y.styles;this.renderer=y.renderer,this.svgElement=y,this.width=y.textWidth,this.textLineHeight=i&&i.lineHeight,this.textOutline=i&&i.textOutline,this.ellipsis=!!(i&&i.textOverflow==="ellipsis"),this.lineClamp=i==null?void 0:i.lineClamp,this.noWrap=!!(i&&i.whiteSpace==="nowrap")}buildSVG(){let y=this.svgElement,i=y.element,o=y.renderer,s=Be(y.textStr,"").toString(),l=s.indexOf("<")!==-1,u=i.childNodes,d=!y.added&&o.box,f=[s,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,y.getStyle("font-size"),y.styles.lineClamp,this.width].join(",");if(f!==y.textCache){y.textCache=f,delete y.actualWidth;for(let m=u.length;m--;)i.removeChild(u[m]);if(l||this.ellipsis||this.width||y.textPath||s.indexOf(" ")!==-1&&(!this.noWrap||/<br.*?>/g.test(s))){if(s!==""){d&&d.appendChild(i);let m=new Qe(s);this.modifyTree(m.nodes),m.addToDOM(i),this.modifyDOM(),this.ellipsis&&(i.textContent||"").indexOf("\u2026")!==-1&&y.attr("title",this.unescapeEntities(y.textStr||"",["<",">"])),d&&d.removeChild(i)}}else i.appendChild(E.createTextNode(this.unescapeEntities(s)));pe(this.textOutline)&&y.applyTextOutline&&y.applyTextOutline(this.textOutline)}}modifyDOM(){let y,i=this.svgElement,o=H(i.element,"x");for(i.firstLineMetrics=void 0;(y=i.element.firstChild)&&/^[\s\u200B]*$/.test(y.textContent||" ");)i.element.removeChild(y);[].forEach.call(i.element.querySelectorAll("tspan.highcharts-br"),(d,f)=>{d.nextSibling&&d.previousSibling&&(f===0&&d.previousSibling.nodeType===1&&(i.firstLineMetrics=i.renderer.fontMetrics(d.previousSibling)),H(d,{dy:this.getLineHeight(d.nextSibling),x:o}))});let s=this.width||0;if(!s)return;let l=(d,f)=>{var D;let m=d.textContent||"",b=m.replace(/([^\^])-/g,"$1- ").split(" "),S=!this.noWrap&&(b.length>1||i.element.childNodes.length>1),x=this.getLineHeight(f),k=Math.max(0,s-.8*x),M=0,I=i.actualWidth;if(S){let V=[],L=[];for(;f.firstChild&&f.firstChild!==d;)L.push(f.firstChild),f.removeChild(f.firstChild);for(;b.length;)if(b.length&&!this.noWrap&&M>0&&(V.push(d.textContent||""),d.textContent=b.join(" ").replace(/- /g,"-")),this.truncate(d,void 0,b,M===0&&I||0,s,k,(j,W)=>b.slice(0,W).join(" ").replace(/- /g,"-")),I=i.actualWidth,M++,this.lineClamp&&M>=this.lineClamp){b.length&&(this.truncate(d,d.textContent||"",void 0,0,s,k,_e),d.textContent=((D=d.textContent)==null?void 0:D.replace("\u2026",""))+"\u2026");break}L.forEach(j=>{f.insertBefore(j,d)}),V.forEach(j=>{f.insertBefore(E.createTextNode(j),d);let W=E.createElementNS(R,"tspan");W.textContent="\u200B",H(W,{dy:x,x:o}),f.insertBefore(W,d)})}else this.ellipsis&&m&&this.truncate(d,m,void 0,0,s,k,_e)},u=d=>{[].slice.call(d.childNodes).forEach(f=>{f.nodeType===F.Node.TEXT_NODE?l(f,d):(f.className.baseVal.indexOf("highcharts-br")!==-1&&(i.actualWidth=0),u(f))})};u(i.element)}getLineHeight(y){let i=y.nodeType===F.Node.TEXT_NODE?y.parentElement:y;return this.textLineHeight?parseInt(this.textLineHeight.toString(),10):this.renderer.fontMetrics(i||this.svgElement.element).h}modifyTree(y){let i=(o,s)=>{let{attributes:l={},children:u,style:d={},tagName:f}=o,m=this.renderer.styledMode;if(f==="b"||f==="strong"?m?l.class="highcharts-strong":d.fontWeight="bold":(f==="i"||f==="em")&&(m?l.class="highcharts-emphasized":d.fontStyle="italic"),d&&d.color&&(d.fill=d.color),f==="br"){l.class="highcharts-br",o.textContent="\u200B";let b=y[s+1];b&&b.textContent&&(b.textContent=b.textContent.replace(/^ +/gm,""))}else f==="a"&&u&&u.some(b=>b.tagName==="#text")&&(o.children=[{children:u,tagName:"tspan"}]);f!=="#text"&&f!=="a"&&(o.tagName="tspan"),ne(o,{attributes:l,style:d}),u&&u.filter(b=>b.tagName!=="#text").forEach(i)};y.forEach(i),Z(this.svgElement,"afterModifyTree",{nodes:y})}truncate(y,i,o,s,l,u,d){let f,m,b=this.svgElement,{rotation:S}=b,x=[],k=o&&!s?1:0,M=(i||o||"").length,I=M;o||(l=u);let D=function(V,L){let j=L||V,W=y.parentNode;if(W&&x[j]===void 0&&W.getSubStringLength)try{x[j]=s+W.getSubStringLength(0,o&&!s?j+1:j)}catch{}return x[j]};if(b.rotation=0,s+(m=D(y.textContent.length))>l){for(;k<=M;)I=Math.ceil((k+M)/2),o&&(f=d(o,I)),m=D(I,f&&f.length-1),k===M?k=M+1:m>l?M=I-1:k=I;M===0?y.textContent="":i&&M===i.length-1||(y.textContent=f||d(i||o,I)),this.ellipsis&&m>l&&this.truncate(y,y.textContent||"",void 0,0,l,u,_e)}o&&o.splice(0,I),b.actualWidth=m,b.rotation=S}unescapeEntities(y,i){return Ie(this.renderer.escapes,function(o,s){i&&i.indexOf(o)!==-1||(y=y.toString().replace(RegExp(o,"g"),s))}),y}},{defaultOptions:qt}=Ti,{charts:ni,deg2rad:Yt,doc:Fi,isFirefox:Wi,isMS:eo,isWebKit:bo,noop:ii,SVG_NS:Cr,symbolSizes:Zt,win:Ei}=v,{addEvent:rr,attr:ts,createElement:xo,crisp:is,css:Fn,defined:En,destroyObjectProperties:sr,extend:tn,isArray:Ql,isNumber:Dn,isObject:Bn,isString:Bh,merge:Zl,pick:Jl,pInt:gi,replaceNested:qa,uniqueKey:to}=tt;class Fo{constructor(i,o,s,l,u,d,f){let m,b,S=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"}),x=S.element;f||S.css(this.getStyle(l||{})),i.appendChild(x),ts(i,"dir","ltr"),i.innerHTML.indexOf("xmlns")===-1&&ts(x,"xmlns",this.SVG_NS),this.box=x,this.boxWrapper=S,this.alignedObjects=[],this.url=this.getReferenceURL(),this.createElement("desc").add().element.appendChild(Fi.createTextNode("Created with Highcharts 12.0.1")),this.defs=this.createElement("defs").add(),this.allowHTML=d,this.forExport=u,this.styledMode=f,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.rootFontSize=S.getStyle("font-size"),this.setSize(o,s,!1),Wi&&i.getBoundingClientRect&&((m=function(){Fn(i,{left:0,top:0}),b=i.getBoundingClientRect(),Fn(i,{left:Math.ceil(b.left)-b.left+"px",top:Math.ceil(b.top)-b.top+"px"})})(),this.unSubPixelFix=rr(Ei,"resize",m))}definition(i){return new Qe([i]).addToDOM(this.defs.element)}getReferenceURL(){if((Wi||bo)&&Fi.getElementsByTagName("base").length){if(!En(r)){let i=to(),o=new Qe([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:i},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":`url(#${i})`,fill:"rgba(0,0,0,0.001)"}}]}]).addToDOM(Fi.body);Fn(o,{position:"fixed",top:0,left:0,zIndex:9e5});let s=Fi.elementFromPoint(6,6);r=(s&&s.id)==="hitme",Fi.body.removeChild(o)}if(r)return qa(Ei.location.href.split("#")[0],[/<[^>]*>/g,""],[/([\('\)])/g,"\\$1"],[/ /g,"%20"])}return""}getStyle(i){return this.style=tn({fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif',fontSize:"1rem"},i),this.style}setStyle(i){this.boxWrapper.css(this.getStyle(i))}isHidden(){return!this.boxWrapper.getBBox().width}destroy(){let i=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),sr(this.gradients||{}),this.gradients=null,this.defs=i.destroy(),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null,null}createElement(i){return new this.Element(this,i)}getRadialAttr(i,o){return{cx:i[0]-i[2]/2+(o.cx||0)*i[2],cy:i[1]-i[2]/2+(o.cy||0)*i[2],r:(o.r||0)*i[2]}}shadowDefinition(i){let o=[`highcharts-drop-shadow-${this.chartIndex}
55`,...Object.keys(i).map(l=>`${l}-${i[l]}`)].join("-").toLowerCase().replace(/[^a-z\d\-]/g,""),s=Zl({color:"#000000",offsetX:1,offsetY:1,opacity:.15,width:5},i);return this.defs.element.querySelector(`#${o}`)||this.definition({tagName:"filter",attributes:{id:o,filterUnits:s.filterUnits},children:this.getShadowFilterContent(s)}),o}getShadowFilterContent(i){return[{tagName:"feDropShadow",attributes:{dx:i.offsetX,dy:i.offsetY,"flood-color":i.color,"flood-opacity":Math.min(5*i.opacity,1),stdDeviation:i.width/2}}]}buildText(i){new et(i).buildSVG()}getContrast(i){let o=Oi.parse(i).rgba.map(l=>{let u=l/255;return u<=.03928?u/12.92:Math.pow((u+.055)/1.055,2.4)}),s=.2126*o[0]+.7152*o[1]+.0722*o[2];return 1.05/(s+.05)>(s+.05)/.05?"#FFFFFF":"#000000"}button(i,o,s,l,u={},d,f,m,b,S){let x=this.label(i,o,s,b,void 0,void 0,S,void 0,"button"),k=this.styledMode,M=arguments,I=0;u=Zl(qt.global.buttonTheme,u),k&&(delete u.fill,delete u.stroke,delete u["stroke-width"]);let D=u.states||{},V=u.style||{};delete u.states,delete u.style;let L=[Qe.filterUserAttributes(u)],j=[V];return k||["hover","select","disabled"].forEach((W,ie)=>{L.push(Zl(L[0],Qe.filterUserAttributes(M[ie+5]||D[W]||{}))),j.push(L[ie+1].style),delete L[ie+1].style}),rr(x.element,eo?"mouseover":"mouseenter",function(){I!==3&&x.setState(1)}),rr(x.element,eo?"mouseout":"mouseleave",function(){I!==3&&x.setState(I)}),x.setState=(W=0)=>{if(W!==1&&(x.state=I=W),x.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][W]),!k){x.attr(L[W]);let ie=j[W];Bn(ie)&&x.css(ie)}},x.attr(L[0]),!k&&(x.css(tn({cursor:"default"},V)),S&&x.text.css({pointerEvents:"none"})),x.on("touchstart",W=>W.stopPropagation()).on("click",function(W){I!==3&&l.call(x,W)})}crispLine(i,o){let[s,l]=i;return En(s[1])&&s[1]===l[1]&&(s[1]=l[1]=is(s[1],o)),En(s[2])&&s[2]===l[2]&&(s[2]=l[2]=is(s[2],o)),i}path(i){let o=this.styledMode?{}:{fill:"none"};return Ql(i)?o.d=i:Bn(i)&&tn(o,i),this.createElement("path").attr(o)}circle(i,o,s){let l=Bn(i)?i:i===void 0?{}:{x:i,y:o,r:s},u=this.createElement("circle");return u.xSetter=u.ySetter=function(d,f,m){m.setAttribute("c"+f,d)},u.attr(l)}arc(i,o,s,l,u,d){let f;Bn(i)?(o=(f=i).y,s=f.r,l=f.innerR,u=f.start,d=f.end,i=f.x):f={innerR:l,start:u,end:d};let m=this.symbol("arc",i,o,s,s,f);return m.r=s,m}rect(i,o,s,l,u,d){let f=Bn(i)?i:i===void 0?{}:{x:i,y:o,r:u,width:Math.max(s||0,0),height:Math.max(l||0,0)},m=this.createElement("rect");return this.styledMode||(d!==void 0&&(f["stroke-width"]=d,tn(f,m.crisp(f))),f.fill="none"),m.rSetter=function(b,S,x){m.r=b,ts(x,{rx:b,ry:b})},m.rGetter=function(){return m.r||0},m.attr(f)}roundedRect(i){return this.symbol("roundedRect").attr(i)}setSize(i,o,s){this.width=i,this.height=o,this.boxWrapper.animate({width:i,height:o},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:Jl(s,!0)?void 0:0}),this.alignElements()}g(i){let o=this.createElement("g");return i?o.attr({class:"highcharts-"+i}):o}image(i,o,s,l,u,d){let f={preserveAspectRatio:"none"};Dn(o)&&(f.x=o),Dn(s)&&(f.y=s),Dn(l)&&(f.width=l),Dn(u)&&(f.height=u);let m=this.createElement("image").attr(f),b=function(S){m.attr({href:i}),d.call(m,S)};if(d){m.attr({href:"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="});let S=new Ei.Image;rr(S,"load",b),S.src=i,S.complete&&b({})}else m.attr({href:i});return m}symbol(i,o,s,l,u,d){let f,m,b,S,x=this,k=/^url\((.*?)\)$/,M=k.test(i),I=!M&&(this.symbols[i]?i:"circle"),D=I&&this.symbols[I];if(D)typeof o=="number"&&(m=D.call(this.symbols,o||0,s||0,l||0,u||0,d)),f=this.path(m),x.styledMode||f.attr("fill","none"),tn(f,{symbolName:I||void 0,x:o,y:s,width:l,height:u}),d&&tn(f,d);else if(M){b=i.match(k)[1];let V=f=this.image(b);V.imgwidth=Jl(d&&d.width,Zt[b]&&Zt[b].width),V.imgheight=Jl(d&&d.height,Zt[b]&&Zt[b].height),S=L=>L.attr({width:L.width,height:L.height}),["width","height"].forEach(L=>{V[`${L}Setter`]=function(j,W){this[W]=j;let{alignByTranslate:ie,element:se,width:ae,height:ye,imgwidth:he,imgheight:be}=this,He=W==="width"?he:be,$e=1;d&&d.backgroundSize==="within"&&ae&&ye&&he&&be?($e=Math.min(ae/he,
55ye/be),ts(se,{width:Math.round(he*$e),height:Math.round(be*$e)})):se&&He&&se.setAttribute(W,He),!ie&&he&&be&&this.translate(((ae||0)-he*$e)/2,((ye||0)-be*$e)/2)}}),En(o)&&V.attr({x:o,y:s}),V.isImg=!0,V.symbolUrl=i,En(V.imgwidth)&&En(V.imgheight)?S(V):(V.attr({width:0,height:0}),xo("img",{onload:function(){let L=ni[x.chartIndex];this.width===0&&(Fn(this,{position:"absolute",top:"-999em"}),Fi.body.appendChild(this)),Zt[b]={width:this.width,height:this.height},V.imgwidth=this.width,V.imgheight=this.height,V.element&&S(V),this.parentNode&&this.parentNode.removeChild(this),x.imgCount--,x.imgCount||!L||L.hasLoaded||L.onload()},src:b}),this.imgCount++)}return f}clipRect(i,o,s,l){return this.rect(i,o,s,l,0)}text(i,o,s,l){let u={};if(l&&(this.allowHTML||!this.forExport))return this.html(i,o,s);u.x=Math.round(o||0),s&&(u.y=Math.round(s)),En(i)&&(u.text=i);let d=this.createElement("text").attr(u);return l&&(!this.forExport||this.allowHTML)||(d.xSetter=function(f,m,b){let S=b.getElementsByTagName("tspan"),x=b.getAttribute(m);for(let k=0,M;k<S.length;k++)(M=S[k]).getAttribute(m)===x&&M.setAttribute(m,f);b.setAttribute(m,f)}),d}fontMetrics(i){let o=gi(Wn.prototype.getStyle.call(i,"font-size")||0),s=o<24?o+3:Math.round(1.2*o),l=Math.round(.8*s);return{h:s,b:l,f:o}}rotCorr(i,o,s){let l=i;return o&&s&&(l=Math.max(l*Math.cos(o*Yt),4)),{x:-i/3*Math.sin(o*Yt),y:l}}pathToSegments(i){let o=[],s=[],l={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2};for(let u=0;u<i.length;u++)Bh(s[0])&&Dn(i[u])&&s.length===l[s[0].toUpperCase()]&&i.splice(u,0,s[0].replace("M","L").replace("m","l")),typeof i[u]=="string"&&(s.length&&o.push(s.slice(0)),s.length=0),s.push(i[u]);return o.push(s.slice(0)),o}label(i,o,s,l,u,d,f,m,b){return new or(this,i,o,s,l,u,d,f,m,b)}alignElements(){this.alignedObjects.forEach(i=>i.align())}}tn(Fo.prototype,{Element:Wn,SVG_NS:Cr,escapes:{"&":"&","<":"<",">":">","'":"'",'"':"""},symbols:C,draw:ii}),qs.registerRendererType("svg",Fo,!0);let{composed:Vh}=v,{attr:qh,css:kr,createElement:Ar,defined:Ha,extend:ar,getAlignFactor:gc,isNumber:Us,pInt:za,pushUnique:ja}=tt;function $a(y,i,o){var l;let s=((l=this.div)==null?void 0:l.style)||o.style;Wn.prototype[`${i}Setter`].call(this,y,i,o),s&&(s[i]=y)}let Hh=(y,i)=>{var o;if(!y.div){let s=qh(y.element,"class"),l=y.css,u=Ar("div",s?{className:s}:void 0,{position:"absolute",left:`${y.translateX||0}px`,top:`${y.translateY||0}px`,...y.styles,display:y.display,opacity:y.opacity,visibility:y.visibility},((o=y.parentGroup)==null?void 0:o.div)||i);y.classSetter=(d,f,m)=>{m.setAttribute("class",d),u.className=d},y.translateXSetter=y.translateYSetter=(d,f)=>{y[f]=d,u.style[f==="translateX"?"left":"top"]=`${d}px`,y.doTransform=!0},y.opacitySetter=y.visibilitySetter=$a,y.css=d=>(l.call(y,d),d.cursor&&(u.style.cursor=d.cursor),d.pointerEvents&&(u.style.pointerEvents=d.pointerEvents),y),y.on=function(){return Wn.prototype.on.apply({element:u,onEvents:y.onEvents},arguments),y},y.div=u}return y.div};class lr extends Wn{static compose(i){ja(Vh,this.compose)&&(i.prototype.html=function(o,s,l){return new lr(this,"span").attr({text:o,x:Math.round(s),y:Math.round(l)})})}constructor(i,o){super(i,o),this.css({position:"absolute",...i.styledMode?{}:{fontFamily:i.style.fontFamily,fontSize:i.style.fontSize}})}getSpanCorrection(i,o,s){this.xCorr=-i*s,this.yCorr=-o}css(i){let o,{element:s}=this,l=s.tagName==="SPAN"&&i&&"width"in i,u=l&&i.width;return l&&(delete i.width,this.textWidth=za(u)||void 0,o=!0),(i==null?void 0:i.textOverflow)==="ellipsis"&&(i.overflow="hidden"),i!=null&&i.lineClamp&&(i.display="-webkit-box",i.WebkitLineClamp=i.lineClamp,i.WebkitBoxOrient="vertical",i.overflow="hidden"),Us(Number(i==null?void 0:i.fontSize))&&(i.fontSize=i.fontSize+"px"),ar(this.styles,i),kr(s,i),o&&this.updateTransform(),this}htmlGetBBox(){let{element:i}=this;return{x:i.offsetLeft,y:i.offsetTop,width:i.offsetWidth,height:i.offsetHeight}}updateTransform(){var L;if(!this.added){this.alignOnAdd=!0;return}let{element:i,renderer:o,rotation:s,rotationOriginX:l,rotationOriginY:u,scaleX:d,scaleY:f,styles:m,textAlign:b="left",textWidth:S,translateX:x=0,translateY:k=0,x:M=0,y:I=0}=this,{display:D="block",whiteSpace:V}=m;if(kr(i,{marginLeft:`${x}px`,marginTop:`${k}px`}),i.tagName==="SPAN"){let j=[s,b,i.innerHTML,S,this.textAlign].join(","),W=-(((L=this.parentGroup)==null?void 0:L.padding)*1)||0,ie,se=!1;if(S!==this.oldTextWidth){let be=this.textPxLength?this.textPxLength:(kr(i,{width:"",whiteSpace:V||"nowrap"}),i.offsetWidth),He=S||0;(He>this.oldTextWidth||be>He)&&(/[ \-]/.test(i.textContent||i.innerText)||i.style.textOverflow==="ellipsis")&&(kr(i,{width:be>He||s||d?S+"px":"auto",display:D,whiteSpace:V||"normal"}),this.oldTextWidth=S,se=!0)}this.hasBoxWidthChanged=se,j!==this.cTT&&(ie=o.fontMetrics(i).b,Ha(s)&&(s!==(this.oldRotation||0)||b!==this.oldAlign)&&this.setSpanRotation(s,W,W),this.get
55SpanCorrection(!Ha(s)&&!this.textWidth&&this.textPxLength||i.offsetWidth,ie,gc(b)));let{xCorr:ae=0,yCorr:ye=0}=this,he={left:`${M+ae}px`,top:`${I+ye}px`,textAlign:b,transformOrigin:`${(l!=null?l:M)-ae-M-W}px ${(u!=null?u:I)-ye-I-W}px`};(d||f)&&(he.transform=`scale(${d!=null?d:1},${f!=null?f:1})`),kr(i,he),this.cTT=j,this.oldRotation=s,this.oldAlign=b}}setSpanRotation(i,o,s){kr(this.element,{transform:`rotate(${i}deg)`,transformOrigin:`${o}% ${s}px`})}add(i){let o,s=this.renderer.box.parentNode,l=[];if(this.parentGroup=i,i&&!(o=i.div)){let u=i;for(;u;)l.push(u),u=u.parentGroup;for(let d of l.reverse())o=Hh(d,s)}return(o||s).appendChild(this.element),this.added=!0,this.alignOnAdd&&this.updateTransform(),this}textSetter(i){i!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,Qe.setElementHTML(this.element,i!=null?i:""),this.textStr=i,this.doTransform=!0)}alignSetter(i){this.alignValue=this.textAlign=i,this.doTransform=!0}xSetter(i,o){this[o]=i,this.doTransform=!0}}let Do=lr.prototype;Do.visibilitySetter=Do.opacitySetter=$a,Do.ySetter=Do.rotationSetter=Do.rotationOriginXSetter=Do.rotationOriginYSetter=Do.xSetter,function(y){y.xAxis={alignTicks:!0,allowDecimals:void 0,panningEnabled:!0,zIndex:2,zoomEnabled:!0,dateTimeLabelFormats:{millisecond:{main:"%[HMSL]",range:!1},second:{main:"%[HMS]",range:!1},minute:{main:"%[HM]",range:!1},hour:{main:"%[HM]",range:!1},day:{main:"%[eb]"},week:{main:"%[eb]"},month:{main:"%[bY]"},year:{main:"%Y"}},endOnTick:!1,gridLineDashStyle:"Solid",gridZIndex:1,labels:{autoRotationLimit:80,distance:15,enabled:!0,indentation:10,overflow:"justify",reserveSpace:void 0,rotation:void 0,staggerLines:0,step:0,useHTML:!1,zIndex:7,style:{color:"#333333",cursor:"default",fontSize:"0.8em",textOverflow:"ellipsis"}},maxPadding:.01,minorGridLineDashStyle:"Solid",minorTickLength:2,minorTickPosition:"outside",minorTicksPerMajor:5,minPadding:.01,offset:void 0,reversed:void 0,reversedStacks:!1,showEmpty:!0,showFirstLabel:!0,showLastLabel:!0,startOfWeek:1,startOnTick:!1,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",useHTML:!1,x:0,y:0,style:{color:"#666666",fontSize:"0.8em"}},visible:!0,minorGridLineColor:"#f2f2f2",minorGridLineWidth:1,minorTickColor:"#999999",lineColor:"#333333",lineWidth:1,gridLineColor:"#e6e6e6",gridLineWidth:void 0,tickColor:"#333333"},y.yAxis={reversedStacks:!0,endOnTick:!0,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:!0,labels:{x:void 0},startOnTick:!0,title:{text:"Values"},stackLabels:{animation:{},allowOverlap:!1,enabled:!1,crop:!0,overflow:"justify",formatter:function(){let{numberFormatter:i}=this.axis.chart;return i(this.total||0,-1)},style:{color:"#000000",fontSize:"0.7em",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0}}(w||(w={}));let eu=w,{addEvent:zh,isFunction:tu,objectEach:yc,removeEvent:K}=tt;(_||(_={})).registerEventOptions=function(y,i){y.eventOptions=y.eventOptions||{},yc(i.events,function(o,s){y.eventOptions[s]!==o&&(y.eventOptions[s]&&(K(y,s,y.eventOptions[s]),delete y.eventOptions[s]),tu(o)&&(y.eventOptions[s]=o,zh(y,s,o,{order:0})))})};let ue=_,{deg2rad:we}=v,{clamp:Me,correctFloat:Re,defined:at,destroyObjectProperties:bt,extend:kt,fireEvent:gt,getAlignFactor:Jt,isNumber:Lt,merge:Ht,objectEach:ei,pick:St}=tt,di=class{constructor(y,i,o,s,l){this.isNew=!0,this.isNewLabel=!0,this.axis=y,this.pos=i,this.type=o||"",this.parameters=l||{},this.tickmarkOffset=this.parameters.tickmarkOffset,this.options=this.parameters.options,gt(this,"init"),o||s||this.addLabel()}addLabel(){let y=this,i=y.axis,o=i.options,s=i.chart,l=i.categories,u=i.logarithmic,d=i.names,f=y.pos,m=St(y.options&&y.options.labels,o.labels),b=i.tickPositions,S=f===b[0],x=f===b[b.length-1],k=(!m.step||m.step===1)&&i.tickInterval===1,M=b.info,I=y.label,D,V,L,j=this.parameters.category||(l?St(l[f],d[f],f):f);u&&Lt(j)&&(j=Re(u.lin2log(j))),i.dateTime&&(M?D=(V=s.time.resolveDTLFormat(o.dateTimeLabelFormats[!o.grid&&M.higherRanks[f]||M.unitName])).main:Lt(j)&&(D=i.dateTime.getXDateFormat(j,o.dateTimeLabelFormats||{}))),y.isFirst=S,y.isLast=x;
vendor: 38,681 bytes, line 55
55let W={axis:i,chart:s,dateTimeLabelFormat:D,isFirst:S,isLast:x,pos:f,tick:y,tickPositionInfo:M,value:j};gt(this,"labelFormat",W);let ie=ye=>m.formatter?m.formatter.call(ye,ye):m.format?(ye.text=i.defaultLabelFormatter.call(ye),Tn.format(m.format,ye,s)):i.defaultLabelFormatter.call(ye),se=ie.call(W,W),ae=V&&V.list;ae?y.shortenLabel=function(){for(L=0;L<ae.length;L++)if(kt(W,{dateTimeLabelFormat:ae[L]}),I.attr({text:ie.call(W,W)}),I.getBBox().width<i.getSlotWidth(y)-2*(m.padding||0))return;I.attr({text:""})}:y.shortenLabel=void 0,k&&i._addedPlotLB&&y.moveLabel(se,m),at(I)||y.movedLabel?I&&I.textStr!==se&&!k&&(!I.textWidth||m.style.width||I.styles.width||I.css({width:null}),I.attr({text:se}),I.textPxLength=I.getBBox().width):(y.label=I=y.createLabel(se,m),y.rotation=0)}createLabel(y,i,o){let s=this.axis,{renderer:l,styledMode:u}=s.chart,d=at(y)&&i.enabled?l.text(y,o==null?void 0:o.x,o==null?void 0:o.y,i.useHTML).add(s.labelGroup):void 0;if(d){let f=i.style.whiteSpace||"normal";u||d.css(Ht(i.style,{whiteSpace:"nowrap"})),d.textPxLength=d.getBBox().width,u||d.css({whiteSpace:f})}return d}destroy(){bt(this,this.axis)}getPosition(y,i,o,s){let l=this.axis,u=l.chart,d=s&&u.oldChartHeight||u.chartHeight,f={x:y?Re(l.translate(i+o,void 0,void 0,s)+l.transB):l.left+l.offset+(l.opposite?(s&&u.oldChartWidth||u.chartWidth)-l.right-l.left:0),y:y?d-l.bottom+l.offset-(l.opposite?l.height:0):Re(d-l.translate(i+o,void 0,void 0,s)-l.transB)};return f.y=Me(f.y,-1e9,1e9),gt(this,"afterGetPosition",{pos:f}),f}getLabelPosition(y,i,o,s,l,u,d,f){let m,b,S=this.axis,x=S.transA,k=S.isLinked&&S.linkedParent?S.linkedParent.reversed:S.reversed,M=S.staggerLines,I=S.tickRotCorr||{x:0,y:0},D=s||S.reserveSpaceDefault?0:-S.labelOffset*(S.labelAlign==="center"?.5:1),V=l.distance,L={};return m=S.side===0?o.rotation?-V:-o.getBBox().height:S.side===2?I.y+V:Math.cos(o.rotation*we)*(I.y-o.getBBox(!1,0).height/2),at(l.y)&&(m=S.side===0&&S.horiz?l.y+m:l.y),y=y+St(l.x,[0,1,0,-1][S.side]*V)+D+I.x-(u&&s?u*x*(k?-1:1):0),i=i+m-(u&&!s?u*x*(k?1:-1):0),M&&(b=d/(f||1)%M,S.opposite&&(b=M-b-1),i+=b*(S.labelOffset/M)),L.x=y,L.y=Math.round(i),gt(this,"afterGetLabelPosition",{pos:L,tickmarkOffset:u,index:d}),L}getLabelSize(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0}getMarkPath(y,i,o,s,l=!1,u){return u.crispLine([["M",y,i],["L",y+(l?0:-o),i+(l?o:0)]],s)}handleOverflow(y){let i=this.axis,o=i.options.labels,s=y.x,l=i.chart.chartWidth,u=i.chart.spacing,d=St(i.labelLeft,Math.min(i.pos,u[3])),f=St(i.labelRight,Math.max(i.isRadial?0:i.pos+i.len,l-u[1])),m=this.label,b=this.rotation,S=Jt(i.labelAlign||m.attr("align")),x=m.getBBox().width,k=i.getSlotWidth(this),M=k,I=1,D,V,L;b||o.overflow!=="justify"?b<0&&s-S*x<d?L=Math.round(s/Math.cos(b*we)-d):b>0&&s+S*x>f&&(L=Math.round((l-s)/Math.cos(b*we))):(D=s-S*x,V=s+(1-S)*x,D<d?M=y.x+M*(1-S)-d:V>f&&(M=f-y.x+M*S,I=-1),(M=Math.min(k,M))<k&&i.labelAlign==="center"&&(y.x+=I*(k-M-S*(k-Math.min(x,M)))),(x>M||i.autoRotation&&(m.styles||{}).width)&&(L=M)),L&&m&&(this.shortenLabel?this.shortenLabel():m.css(kt({},{width:Math.floor(L)+"px",lineClamp:i.isRadial?0:1})))}moveLabel(y,i){let o=this,s=o.label,l=o.axis,u=!1,d;s&&s.textStr===y?(o.movedLabel=s,u=!0,delete o.label):ei(l.ticks,function(f){u||f.isNew||f===o||!f.label||f.label.textStr!==y||(o.movedLabel=f.label,u=!0,f.labelPos=o.movedLabel.xy,delete f.label)}),!u&&(o.labelPos||s)&&(d=o.labelPos||s.xy,o.movedLabel=o.createLabel(y,i,d),o.movedLabel&&o.movedLabel.attr({opacity:0}))}render(y,i,o){let s=this.axis,l=s.horiz,u=this.pos,d=St(this.tickmarkOffset,s.tickmarkOffset),f=this.getPosition(l,u,d,i),m=f.x,b=f.y,S=s.pos,x=S+s.len,k=l?m:b;!s.chart.polar&&this.isNew&&(Re(k)<S||k>x)&&(o=0);let M=St(o,this.label&&this.label.newOpacity,1);o=St(o,1),this.isActive=!0,this.renderGridLine(i,o),this.renderMark(f,o),this.renderLabel(f,i,M,y),this.isNew=!1,gt(this,"afterRender")}renderGridLine(y,i){let o=this.axis,s=o.options,l={},u=this.pos,d=this.type,f=St(this.tickmarkOffset,o.tickmarkOffset),m=o.chart.renderer,b=this.gridLine,S,x=s.gridLineWidth,k=s.gridLineColor,M=s.gridLineDashStyle;this.type==="minor"&&(x=s.minorGridLineWidth,k=s.minorGridLineColor,M=s.minorGridLineDashStyle),b||(o.chart.styledMode||(l.stroke=k,l["stroke-width"]=x||0,l.dashstyle=M),d||(l.zIndex=1),y&&(i=0),this.gridLine=b=m.path().attr(l).addClass("highcharts-"+(d?d+"-":"")+"grid-line").add(o.gridGroup)),b&&(S=o.getPlotLinePath({value:u+f,lineWidth:b.strokeWidth(),force:"pass",old:y,acrossPanes:!1}))&&b[y||this.isNew?"attr":"animate"]({d:S,opacity:i})}renderMark(y,i){let o=this.axis,s=o.options,l=o.chart.renderer,u=this.type,d=o.tickSize(u?u+"Tick":"tick"),f=y.x,m=y.y,b=St(s[u!=="minor"?"tickWidth":"minorTickWidth"],!u&&o.isXAxis?1:0),S=s[u!=="minor"?"tickColor":"minorTickColor"],x=this.mark,k=!x;d&&(o.opposite&&(d[0]=-d[0]),x||(this.mark=x=l.path().addClass("highcharts-"+(u?u+"-":"")+"tick").add(o.axisGroup),o.chart.styledMode||x.attr({stroke:S,"stroke-width":b})),x[k?"attr":"animate"]({d:this.getMarkPath(f,m,d[0],x.strokeWidth(),o.horiz,l),opacity:i}))}renderLabel(y,i,o,s){let l=this.axis,u=l.horiz,d=l.options,f=this.label,m=d.labels,b=m.step,S=St(this.tickmarkOffset,l.tickmarkOffset),x=y.x,k=y.y,M=!0;f&&Lt(x)&&(f.xy=y=this.getLabelPosition(x,k,f,u,m,S,s,b),(!this.isFirst||this.isLast||d.showFirstLabel)&&(!this.isLast||this.isFirst||d.showLastLabel)?!u||m.step||m.rotation||i||o===0||this.handleOverflow(y):M=!1,b&&s%b&&(M=!1),M&&Lt(y.y)?(y.opacity=o,f[this.isNewLabel?"attr":"animate"](y).show(!0),this.isNewLabel=!1):(f.hide(),this.isNewLabel=!0))}replaceMovedLabel(){let y=this.label,i=this.axis;y&&!this.isNew&&(y.animate({opacity:0},void 0,y.destroy),delete this.label),i.isDirty=!0,this.label=this.movedLabel,delete this.movedLabel}},{animObject:Mn}=Xi,{xAxis:cn,yAxis:Gn}=eu,{defaultOptions:Yn}=Ti,{registerEventOptions:ns}=ue,{deg2rad:bn}=v,{arrayMax:ng,arrayMin:iS,clamp:jh,correctFloat:io,defined:Si,destroyObjectProperties:nS,erase:og,error:$h,extend:vc,fireEvent:Di,getClosestDistance:rg,insertItem:oS,isArray:sg,isNumber:Ot,isString:ag,merge:bc,normalizeTickInterval:rS,objectEach:xc,pick:Xt,relativeLength:wc,removeEvent:sS,splat:aS,syncTimeout:lS}=tt,lg=(y,i)=>rS(i,void 0,void 0,Xt(y.options.allowDecimals,i<.5||y.tickAmount!==void 0),!!y.tickAmount);vc(Yn,{xAxis:cn,yAxis:bc(cn,Gn)});class Ua{constructor(i,o,s){this.init(i,o,s)}init(i,o,s=this.coll){var b,S,x,k;let l=s==="xAxis",u=this.isZAxis||(i.inverted?!l:l);this.chart=i,this.horiz=u,this.isXAxis=l,this.coll=s,Di(this,"init",{userOptions:o}),this.opposite=Xt(o.opposite,this.opposite),this.side=Xt(o.side,this.side,u?this.opposite?0:2:this.opposite?1:3),this.setOptions(o);let d=this.options,f=d.labels;(b=this.type)!=null||(this.type=d.type||"linear"),(x=this.uniqueNames)!=null||(this.uniqueNames=(S=d.uniqueNames)!=null?S:!0),Di(this,"afterSetType"),this.userOptions=o,this.minPixelPadding=0,this.reversed=Xt(d.reversed,this.reversed),this.visible=d.visible,this.zoomEnabled=d.zoomEnabled,this.hasNames=this.type==="category"||d.categories===!0,this.categories=sg(d.categories)&&d.categories||(this.hasNames?[]:void 0),this.names||(this.names=[],this.names.keys={}),this.plotLinesAndBandsGroups={},this.positiveValuesOnly=!!this.logarithmic,this.isLinked=Si(d.linkedTo),this.ticks={},this.labelEdge=[],this.minorTicks={},this.plotLinesAndBands=[],this.alternateBands={},(k=this.len)!=null||(this.len=0),this.minRange=this.userMinRange=d.minRange||d.maxZoom,this.range=d.range,this.offset=d.offset||0,this.max=void 0,this.min=void 0;let m=Xt(d.crosshair,aS(i.options.tooltip.crosshairs)[l?0:1]);this.crosshair=m===!0?{}:m,i.axes.indexOf(this)===-1&&(l?i.axes.splice(i.xAxis.length,0,this):i.axes.push(this),oS(this,i[this.coll])),i.orderItems(this.coll),this.series=this.series||[],i.inverted&&!this.isZAxis&&l&&!Si(this.reversed)&&(this.reversed=!0),this.labelRotation=Ot(f.rotation)?f.rotation:void 0,ns(this,d),Di(this,"afterInit")}setOptions(i){let o=this.horiz?{labels:{autoRotation:[-45],padding:3},margin:15}:{labels:{padding:1},title:{rotation:90*this.side}};this.options=bc(o,Yn[this.coll],i),Di(this,"afterSetOptions",{userOptions:i})}defaultLabelFormatter(){let i=this.axis,{numberFormatter:o}=this.chart,s=Ot(this.value)?this.value:NaN,l=i.chart.time,u=i.categories,d=this.dateTimeLabelFormat,f=Yn.lang,m=f.numericSymbols,b=f.numericSymbolMagnitude||1e3,S=i.logarithmic?Math.abs(s):i.tickInterval,x=m&&m.length,k,M;if(u)M=`${this.value}`;else if(d)M=l.dateFormat(d,s,!0);else if(x&&m&&S>=1e3)for(;x--&&M===void 0;)S>=(k=Math.pow(b,x+1))&&10*s%k==0&&m[x]!==null&&s!==0&&(M=o(s/k,-1)+m[x]);return M===void 0&&(M=Math.abs(s)>=1e4?o(s,-1):o(s,-1,void 0,"")),M}getSeriesExtremes(){let i,o=this;Di(this,"getSeriesExtremes",null,function(){o.hasVisibleSeries=!1,o.dataMin=o.dataMax=o.threshold=void 0,o.softThreshold=!o.isXAxis,o.series.forEach(s=>{if(s.reserveSpace()){let l=s.options,u,d=l.threshold,f,m;if(o.hasVisibleSeries=!0,o.positiveValuesOnly&&0>=(d||0)&&(d=void 0),o.isXAxis)(u=s.getColumn("x")).length&&(u=o.logarithmic?u.filter(b=>b>0):u,f=(i=s.getXExtremes(u)).min,m=i.max,Ot(f)||f instanceof Date||(u=u.filter(Ot),f=(i=s.getXExtremes(u)).min,m=i.max),u.length&&(o.dataMin=Math.min(Xt(o.dataMin,f),f),o.dataMax=Math.max(Xt(o.dataMax,m),m)));else{let b=s.applyExtremes();Ot(b.dataMin)&&(f=b.dataMin,o.dataMin=Math.min(Xt(o.dataMin,f),f)),Ot(b.dataMax)&&(m=b.dataMax,o.dataMax=Math.max(Xt(o.dataMax,m),m)),Si(d)&&(o.threshold=d),(!l.softThreshold||o.positiveValuesOnly)&&(o.softThreshold=!1)}}})}),Di(this,"afterGetSeriesExtremes")}translate(i,o,s,l,u,d){var D;let f=this.linkedParent||this,m=l&&f.old?f.old.min:f.min;if(!Ot(m))return NaN;let b=f.minPixelPadding,S=(f.isOrdinal||((D=f.brokenAxis)==null?void 0:D.hasBreaks)||f.logarithmic&&u)&&f.lin2val,x=1,k=0,M=l&&f.old?f.old.transA:f.transA,I=0;return M||(M=f.transA),s&&(x*=-1,k=f.len),f.reversed&&(x*=-1,k-=x*(f.sector||f.len)),o?(I=(i=i*x+k-b)/M+m,S&&(I=f.lin2val(I))):(S&&(i=f.val2lin(i)),I=x*(i-m)*M+k+x*b+(Ot(d)?M*d:0),f.isRadial||(I=io(I))),I}toPixels(i,o){var s;return this.translate((s=this.chart.time.parse(i))!=null?s:NaN,!1,!this.horiz,void 0,!0)+(o?0:this.pos)}toValue(i,o){return this.translate(i-(o?0:this.pos),!0,!this.horiz,void 0,!0)}getPlotLinePath(i){let o=this,s=o.chart,l=o.left,u=o.top,d=i.old,f=i.value,m=i.lineWidth,b=d&&s.oldChartHeight||s.chartHeight,S=d&&s.oldChartWidth||s.chartWidth,x=o.transB,k=i.translatedValue,M=i.force,I,D,V,L,j;function W(se,ae,ye){return M!=="pass"&&(se<ae||se>ye)&&(M?se=jh(se,ae,ye):j=!0),se}let ie={value:f,lineWidth:m,old:d,force:M,acrossPanes:i.acrossPanes,translatedValue:k};return Di(this,"getPlotLinePath",ie,function(se){I=V=(k=jh(k=Xt(k,o.translate(f,void 0,void 0,d)),-1e9,1e9))+x,D=L=b-k-x,Ot(k)?o.horiz?(D=u,L=b-o.bottom+(o.options.isInternal?0:s.scrollablePixelsY||0),I=V=W(I,l,l+o.width)):(I=l,V=S-o.right+(s.scrollablePixelsX||0),D=L=W(D,u,u+o.height)):(j=!0,M=!1),se.path=j&&!M?void 0:s.renderer.crispLine([["M",I,D],["L",V,L]],m||1)}),ie.path}getLinearTickPositions(i,o,s){let l,u,d,f=io(Math.floor(o/i)*i),m=io(Math.ceil(s/i)*i),b=[];if(io(f+i)===f&&(d=20),this.single)return[o];for(l=f;l<=m&&(b.push(l),(l=io(l+i,d))!==u);)u=l;return b}getMinorTickInterval(){let{minorTicks:i,minorTickInterval:o}=this.options;return i===!0?Xt(o,"auto"):i!==!1?o:void 0}getMinorTickPositions(){var S;let i=this.options,o=this.tickPositions,s=this.minorTickInterval,l=this.pointRangePadding||0,u=(this.min||0)-l,d=(this.max||0)+l,f=(S=this.brokenAxis)!=null&&S.hasBreaks?this.brokenAxis.unitLength:d-u,m=[],b;if(f&&f/s<this.len/3){let x=this.logarithmic;if(x)this.paddedTicks.forEach(function(k,M,I){M&&m.push.apply(m,x.getLogTickPositions(s,I[M-1],I[M],!0))});else if(this.dateTime&&this.getMinorTickInterval()==="auto")m=m.concat(this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(s),u,d,i.startOfWeek));else for(b=u+(o[0]-u)%s;b<=d&&b!==m[0];b+=s)m.push(b)}return m.length!==0&&this.trimTicks(m),m}adjustForMinRange(){var x,k,M;let i=this.options,o=this.logarithmic,s=this.chart.time,{max:l,min:u,minRange:d}=this,f,m,b,S;this.isXAxis&&d===void 0&&!o&&(d=Si(i.min)||Si(i.max)||Si(i.floor)||Si(i.ceiling)?null:Math.min(5*(rg(this.series.map(I=>{let D=I.getColumn("x");return I.xIncrement?D.slice(0,2):D}))||0),this.dataMax-this.dataMin)),Ot(l)&&Ot(u)&&Ot(d)&&l-u<d&&(m=this.dataMax-this.dataMin>=d,f=(d-l+u)/2,b=[u-f,(x=s.parse(i.min))!=null?x:u-f],m&&(b[2]=o?o.log2lin(this.dataMin):this.dataMin),S=[(u=ng(b))+d,(k=s.parse(i.max))!=null?k:u+d],m&&(S[2]=o?o.log2lin(this.dataMax):this.dataMax),(l=iS(S))-u<d&&(b[0]=l-d,b[1]=(M=s.parse(i.min))!=null?M:l-d,u=ng(b))),this.minRange=d,this.min=u,this.max=l}getClosest(){let i,o;if(this.categories)o=1;else{let s=[];this.series.forEach(function(l){let u=l.closestPointRange,d=l.getColumn("x");d.length===1?s.push(d[0]):l.sorted&&Si(u)&&l.reserveSpace()&&(o=Si(o)?Math.min(o,u):u)}),s.length&&(s.sort((l,u)=>l-u),i=rg([s]))}return i&&o?Math.min(i,o):i||o}nameToX(i){let o=sg(this.options.categories),s=o?this.categories:this.names,l=i.options.x,u;return i.series.requireSorting=!1,Si(l)||(l=this.uniqueNames&&s?o?s.indexOf(i.name):Xt(s.keys[i.name],-1):i.series.autoIncrement()),l===-1?!o&&s&&(u=s.length):Ot(l)&&(u=l),u!==void 0?(this.names[u]=i.name,this.names.keys[i.name]=u):i.x&&(u=i.x),u}updateNames(){let i=this,o=this.names;o.length>0&&(Object.keys(o.keys).forEach(function(s){delete o.keys[s]}),o.length=0,this.minRange=this.userMinRange,(this.series||[]).forEach(s=>{s.xIncrement=null,(!s.points||s.isDirtyData)&&(i.max=Math.max(i.max||0,s.dataTable.rowCount-1),s.processData(),s.generatePoints());let l=s.getColumn("x").slice();s.data.forEach((u,d)=>{let f=l[d];(u==null?void 0:u.options)&&u.name!==void 0&&(f=i.nameToX(u))!==void 0&&f!==u.x&&(l[d]=u.x=f)}),s.dataTable.setColumn("x",l)}))}setAxisTranslation(){let i=this,o=i.max-i.min,s=i.linkedParent,l=!!i.categories,u=i.isXAxis,d=i.axisPointRange||0,f,m=0,b=0,S,x=i.transA;(u||l||d)&&(f=i.getClosest(),s?(m=s.minPointOffset,b=s.pointRangePadding):i.series.forEach(function(k){let M=l?1:u?Xt(k.options.pointRange,f,0):i.axisPointRange||0,I=k.options.pointPlacement;if(d=Math.max(d,M),!i.single||l){let D=k.is("xrange")?!u:u;m=Math.max(m,D&&ag(I)?0:M/2),b=Math.max(b,D&&I==="on"?0:M)}}),S=i.ordinal&&i.ordinal.slope&&f?i.ordinal.slope/f:1,i.minPointOffset=m*=S,i.pointRangePadding=b*=S,i.pointRange=Math.min(d,i.single&&l?1:o),u&&f&&(i.closestPointRange=f)),i.translationSlope=i.transA=x=i.staticScale||i.len/(o+b||1),i.transB=i.horiz?i.left:i.bottom,i.minPixelPadding=x*m,Di(this,"afterSetAxisTranslation")}minFromRange(){let{max:i,min:o}=this;return Ot(i)&&Ot(o)&&i-o||void 0}setTickInterval(i){var At,Tt,vt,zt;let{categories:o,chart:s,dataMax:l,dataMin:u,dateTime:d,isXAxis:f,logarithmic:m,options:b,softThreshold:S}=this,x=s.time,k=Ot(this.threshold)?this.threshold:void 0,M=this.minRange||0,{ceiling:I,floor:D,linkedTo:V,softMax:L,softMin:j}=b,W=Ot(V)&&((At=s[this.coll])==null?void 0:At[V]),ie=b.tickPixelInterval,se=b.maxPadding,ae=b.minPadding,ye=0,he,be=Ot(b.tickInterval)&&b.tickInterval>=0?b.tickInterval:void 0,He,$e,lt,Ue;if(d||o||W||this.getTickAmount(),lt=Xt(this.userMin,x.parse(b.min)),Ue=Xt(this.userMax,x.parse(b.max)),W?(this.linkedParent=W,he=W.getExtremes(),this.min=Xt(he.min,he.dataMin),this.max=Xt(he.max,he.dataMax),this.type!==W.type&&$h(11,!0,s)):(S&&Si(k)&&Ot(l)&&Ot(u)&&(u>=k?(He=k,ae=0):l<=k&&($e=k,se=0)),this.min=Xt(lt,He,u),this.max=Xt(Ue,$e,l)),Ot(this.max)&&Ot(this.min)&&(m&&(this.positiveValuesOnly&&!i&&0>=Math.min(this.min,Xt(u,this.min))&&$h(10,!0,s),this.min=io(m.log2lin(this.min),16),this.max=io(m.log2lin(this.max),16)),this.range&&Ot(u)&&(this.userMin=this.min=lt=Math.max(u,this.minFromRange()||0),this.userMax=Ue=this.max,this.range=void 0)),Di(this,"foundExtremes"),this.adjustForMinRange(),Ot(this.min)&&Ot(this.max)){if(!Ot(this.userMin)&&Ot(j)&&j<this.min&&(this.min=lt=j),!Ot(this.userMax)&&Ot(L)&&L>this.max&&(this.max=Ue=L),o||this.axisPointRange||((Tt=this.stacking)==null?void 0:Tt.usePercentage)||W||!(ye=this.max-this.min)||(!Si(lt)&&ae&&(this.min-=ye*ae),Si(Ue)||!se||(this.max+=ye*se)),!Ot(this.userMin)&&Ot(D)&&(this.min=Math.max(this.min,D)),!Ot(this.userMax)&&Ot(I)&&(this.max=Math.min(this.max,I)),S&&Ot(u)&&Ot(l)){let xt=k||0;!Si(lt)&&this.min<xt&&u>=xt?this.min=b.minRange?Math.min(xt,this.max-M):xt:!Si(Ue)&&this.max>xt&&l<=xt&&(this.max=b.minRange?Math.max(xt,this.min+M):xt)}!s.polar&&this.min>this.max&&(Si(b.min)?this.max=this.min:Si(b.max)&&(this.min=this.max)),ye=this.max-this.min}if(this.min!==this.max&&Ot(this.min)&&Ot(this.max)?W&&!be&&ie===W.options.tickPixelInterval?this.tickInterval=be=W.tickInterval:this.tickInterval=Xt(be,this.tickAmount?ye/Math.max(this.tickAmount-1,1):void 0,o?1:ye*ie/Math.max(this.len,ie)):this.tickInterval=1,f&&!i){let xt=this.min!==((vt=this.old)==null?void 0:vt.min)||this.max!==((zt=this.old)==null?void 0:zt.max);this.series.forEach(function(It){var Dt;It.forceCrop=(Dt=It.forceCropping)==null?void 0:Dt.call(It),It.processData(xt)}),Di(this,"postProcessData",{hasExtremesChanged:xt})}this.setAxisTranslation(),Di(this,"initialAxisTranslation"),this.pointRange&&!be&&(this.tickInterval=Math.max(this.pointRange,this.tickInterval));let yt=Xt(b.minTickInterval,d&&!this.series.some(xt=>!xt.sorted)?this.closestPointRange:0);!be&&this.tickInterval<yt&&(this.tickInterval=yt),d||m||be||(this.tickInterval=lg(this,this.tickInterval)),this.tickAmount||(this.tickInterval=this.unsquish()),this.setTickPositions()}setTickPositions(){var S,x;let i=this.options,o=i.tickPositions,s=i.tickPositioner,l=this.getMinorTickInterval(),u=!this.isPanning,d=u&&i.startOnTick,f=u&&i.endOnTick,m=[],b;if(this.tickmarkOffset=this.categories&&i.tickmarkPlacement==="between"&&this.tickInterval===1?.5:0,this.single=this.min===this.max&&Si(this.min)&&!this.tickAmount&&(this.min%1==0||i.allowDecimals!==!1),o)m=o.slice();else if(Ot(this.min)&&Ot(this.max)){if(!((S=this.ordinal)!=null&&S.positions)&&(this.max-this.min)/this.tickInterval>Math.max(2*this.len,200))m=[this.min,this.max],$h(19,!1,this.chart);else if(this.dateTime)m=this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,i.units),this.min,this.max,i.startOfWeek,(x=this.ordinal)==null?void 0:x.positions,this.closestPointRange,!0);else if(this.logarithmic)m=this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max);else{let k=this.tickInterval,M=k;for(;M<=2*k&&(m=this.getLinearTickPositions(this.tickInterval,this.min,this.max),this.tickAmount&&m.length>this.tickAmount);)this.tickInterval=lg(this,M*=1.1)}m.length>this.len&&(m=[m[0],m[m.length-1]])[0]===m[1]&&(m.length=1),s&&(this.tickPositions=m,(b=s.apply(this,[this.min,this.max]))&&(m=b))}this.tickPositions=m,this.minorTickInterval=l==="auto"&&this.tickInterval?this.tickInterval/i.minorTicksPerMajor:l,this.paddedTicks=m.slice(0),this.trimTicks(m,d,f),!this.isLinked&&Ot(this.min)&&Ot(this.max)&&(this.single&&m.length<2&&!this.categories&&!this.series.some(k=>k.is("heatmap")&&k.options.pointPlacement==="between")&&(this.min-=.5,this.max+=.5),o||b||this.adjustTickAmount()),Di(this,"afterSetTickPositions")}trimTicks(i,o,s){let l=i[0],u=i[i.length-1],d=!this.isOrdinal&&this.minPointOffset||0;if(Di(this,"trimTicks"),!this.isLinked){if(o&&l!==-1/0)this.min=l;else for(;this.min-d>i[0];)i.shift();if(s)this.max=u;else for(;this.max+d<i[i.length-1];)i.pop();i.length===0&&Si(l)&&!this.options.tickPositions&&i.push((u+l)/2)}}alignToOthers(){let i,o=this,s=o.chart,l=[this],u=o.options,d=s.options.chart,f=this.coll==="yAxis"&&d.alignThresholds,m=[];if(o.thresholdAlignment=void 0,(d.alignTicks!==!1&&u.alignTicks||f)&&u.startOnTick!==!1&&u.endOnTick!==!1&&!o.logarithmic){let b=x=>{let{horiz:k,options:M}=x;return[k?M.left:M.top,M.width,M.height,M.pane].join(",")},S=b(this);s[this.coll].forEach(function(x){let{series:k}=x;k.length&&k.some(M=>M.visible)&&x!==o&&b(x)===S&&(i=!0,l.push(x))})}if(i&&f){l.forEach(S=>{let x=S.getThresholdAlignment(o);Ot(x)&&m.push(x)});let b=m.length>1?m.reduce((S,x)=>S+=x,0)/m.length:void 0;l.forEach(S=>{S.thresholdAlignment=b})}return i}getThresholdAlignment(i){if((!Ot(this.dataMin)||this!==i&&this.series.some(o=>o.isDirty||o.isDirtyData))&&this.getSeriesExtremes(),Ot(this.threshold)){let o=jh((this.threshold-(this.dataMin||0))/((this.dataMax||0)-(this.dataMin||0)),0,1);return this.options.reversed&&(o=1-o),o}}getTickAmount(){let i=this.options,o=i.tickPixelInterval,s=i.tickAmount;Si(i.tickInterval)||s||!(this.len<o)||this.isRadial||this.logarithmic||!i.startOnTick||!i.endOnTick||(s=2),!s&&this.alignToOthers()&&(s=Math.ceil(this.len/o)+1),s<4&&(this.finalTickAmt=s,s=5),this.tickAmount=s}adjustTickAmount(){let i=this,{finalTickAmt:o,max:s,min:l,options:u,tickPositions:d,tickAmount:f,thresholdAlignment:m}=i,b=d==null?void 0:d.length,S=Xt(i.threshold,i.softThreshold?0:null),x,k,M=i.tickInterval,I,D=()=>d.push(io(d[d.length-1]+M)),V=()=>d.unshift(io(d[0]-M));if(Ot(m)&&(I=m<.5?Math.ceil(m*(f-1)):Math.floor(m*(f-1)),u.reversed&&(I=f-1-I)),i.hasData()&&Ot(l)&&Ot(s)){let L=()=>{i.transA*=(b-1)/(f-1),i.min=u.startOnTick?d[0]:Math.min(l,d[0]),i.max=u.endOnTick?d[d.length-1]:Math.max(s,d[d.length-1])};if(Ot(I)&&Ot(i.threshold)){for(;d[I]!==S||d.length!==f||d[0]>l||d[d.length-1]<s;){for(d.length=0,d.push(i.threshold);d.length<f;)d[I]===void 0||d[I]>i.threshold?V():D();if(M>8*i.tickInterval)break;M*=2}L()}else if(b<f){for(;d.length<f;)d.length%2||l===S?D():V();L()}if(Si(o)){for(k=x=d.length;k--;)(o===3&&k%2==1||o<=2&&k>0&&k<x-1)&&d.splice(k,1);i.finalTickAmt=void 0}}}setScale(){var d,f;let{coll:i,stacking:o}=this,s=!1,l=!1;this.series.forEach(m=>{s=s||m.isDirtyData||m.isDirty,l=l||m.xAxis&&m.xAxis.isDirty||!1}),this.setAxisSize();let u=this.len!==(this.old&&this.old.len);u||s||l||this.isLinked||this.forceRedraw||this.userMin!==(this.old&&this.old.userMin)||this.userMax!==(this.old&&this.old.userMax)||this.alignToOthers()?(o&&i==="yAxis"&&o.buildStacks(),this.forceRedraw=!1,this.userMinRange||(this.minRange=void 0),this.getSeriesExtremes(),this.setTickInterval(),o&&i==="xAxis"&&o.buildStacks(),this.isDirty||(this.isDirty=u||this.min!==((d=this.old)==null?void 0:d.min)||this.max!==((f=this.old)==null?void 0:f.max))):o&&o.cleanStacks(),s&&delete this.allExtremes,Di(this,"afterSetScale")}setExtremes(i,o,s=!0,l,u){let d=this.chart;this.series.forEach(f=>{delete f.kdTree}),i=d.time.parse(i),o=d.time.parse(o),Di(this,"setExtremes",u=vc(u,{min:i,max:o}),f=>{this.userMin=f.min,this.userMax=f.max,this.eventArgs=f,s&&d.redraw(l)})}setAxisSize(){let i=this.chart,o=this.options,s=o.offsets||[0,0,0,0],l=this.horiz,u=this.width=Math.round(wc(Xt(o.width,i.plotWidth-s[3]+s[1]),i.plotWidth)),d=this.height=Math.round(wc(Xt(o.height,i.plotHeight-s[0]+s[2]),i.plotHeight)),f=this.top=Math.round(wc(Xt(o.top,i.plotTop+s[0]),i.plotHeight,i.plotTop)),m=this.left=Math.round(wc(Xt(o.left,i.plotLeft+s[3]),i.plotWidth,i.plotLeft));this.bottom=i.chartHeight-d-f,this.right=i.chartWidth-u-m,this.len=Math.max(l?u:d,0),this.pos=l?m:f}getExtremes(){let i=this.logarithmic;return{min:i?io(i.lin2log(this.min)):this.min,max:i?io(i.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}}getThreshold(i){let o=this.logarithmic,s=o?o.lin2log(this.min):this.min,l=o?o.lin2log(this.max):this.max;return i===null||i===-1/0?i=s:i===1/0?i=l:s>i?i=s:l<i&&(i=l),this.translate(i,0,1,0,1)}autoLabelAlign(i){let o=(Xt(i,0)-90*this.side+720)%360,s={align:"center"};return Di(this,"autoLabelAlign",s,function(l){o>15&&o<165?l.align="right":o>195&&o<345&&(l.align="left")}),s.align}tickSize(i){let o=this.options,s=Xt(o[i==="tick"?"tickWidth":"minorTickWidth"],i==="tick"&&this.isXAxis&&!this.categories?1:0),l=o[i==="tick"?"tickLength":"minorTickLength"],u;s&&l&&(o[i+"Position"]==="inside"&&(l=-l),u=[l,s]);let d={tickSize:u};return Di(this,"afterTickSize",d),d.tickSize}labelMetrics(){let i=this.chart.renderer,o=this.ticks,s=o[Object.keys(o)[0]]||{};return this.chart.renderer.fontMetrics(s.label||s.movedLabel||i.box)}unsquish(){let i=this.options.labels,o=i.padding||0,s=this.horiz,l=this.tickInterval,u=this.len/(((this.categories?1:0)+this.max-this.min)/l),d=i.rotation,f=io(.8*this.labelMetrics().h),m=Math.max(this.max-this.min,0),b=function(I){let D=(I+2*o)/(u||1);return(D=D>1?Math.ceil(D):1)*l>m&&I!==1/0&&u!==1/0&&m&&(D=Math.ceil(m/l)),io(D*l)},S=l,x,k=Number.MAX_VALUE,M;if(s){if(!i.staggerLines&&(Ot(d)?M=[d]:u<i.autoRotationLimit&&(M=i.autoRotation)),M){let I,D;for(let V of M)(V===d||V&&V>=-90&&V<=90)&&(D=(I=b(Math.abs(f/Math.sin(bn*V))))+Math.abs(V/360))<k&&(k=D,x=V,S=I)}}else S=b(.75*f);return this.autoRotation=M,this.labelRotation=Xt(x,Ot(d)?d:0),i.step?l:S}getSlotWidth(i){let o=this.chart,s=this.horiz,l=this.options.labels,u=Math.max(this.tickPositions.length-(this.categories?0:1),1),d=o.margin[3];if(i&&Ot(i.slotWidth))return i.slotWidth;if(s&&l.step<2&&!this.isRadial)return l.rotation?0:(this.staggerLines||1)*this.len/u;if(!s){let f=l.style.width;if(f!==void 0)return parseInt(String(f),10);if(d)return d-o.spacing[3]}return .33*o.chartWidth}renderUnsquish(){let i=this.chart,o=i.renderer,s=this.tickPositions,l=this.ticks,u=this.options.labels,d=u.style,f=this.horiz,m=this.getSlotWidth(),b=Math.max(1,Math.round(m-(f?2*(u.padding||0):u.distance||0))),S={},x=this.labelMetrics(),k=d.lineClamp,M,I=k!=null?k:Math.floor(this.len/(s.length*x.h))||1,D=0;ag(u.rotation)||(S.rotation=u.rotation||0),s.forEach(function(V){var W;let L=l[V];L.movedLabel&&L.replaceMovedLabel();let j=((W=L.label)==null?void 0:W.textPxLength)||0;j>D&&(D=j)}),this.maxLabelLength=D,this.autoRotation?D>b&&D>x.h?S.rotation=this.labelRotation:this.labelRotation=0:m&&(M=b),S.rotation&&(M=D>.5*i.chartHeight?.33*i.chartHeight:D,k||(I=1)),this.labelAlign=u.align||this.autoLabelAlign(this.labelRotation),this.labelAlign&&(S.align=this.labelAlign),s.forEach(function(V){let L=l[V],j=L&&L.label,W=d.width,ie={};j&&(j.attr(S),L.shortenLabel?L.shortenLabel():M&&!W&&d.whiteSpace!=="nowrap"&&(M<(j.textPxLength||0)||j.element.tagName==="SPAN")?j.css(vc(ie,{width:`${M}px`,lineClamp:I})):!j.styles.width||ie.width||W||j.css({width:"auto"}),L.rotation=S.rotation)},this),this.tickRotCorr=o.rotCorr(x.b,this.labelRotation||0,this.side!==0)}hasData(){return this.series.some(function(i){return i.hasData()})||this.options.showEmpty&&Si(this.min)&&Si(this.max)}addTitle(i){let o,s=this.chart.renderer,l=this.horiz,u=this.opposite,d=this.options.title,f=this.chart.styledMode;this.axisTitle||((o=d.textAlign)||(o=(l?{low:"left",middle:"center",high:"right"}:{low:u?"right":"left",middle:"center",high:u?"left":"right"})[d.align]),this.axisTitle=s.text(d.text||"",0,0,d.useHTML).attr({zIndex:7,rotation:d.rotation||0,align:o}).addClass("highcharts-axis-title"),f||this.axisTitle.css(bc(d.style)),this.axisTitle.add(this.axisGroup),this.axisTitle.isNew=!0),f||d.style.width||this.isRadial||this.axisTitle.css({width:this.len+"px"}),this.axisTitle[i?"show":"hide"](i)}generateTick(i){let o=this.ticks;o[i]?o[i].addLabel():o[i]=new di(this,i)}createGroups(){let{axisParent:i,chart:o,coll:s,options:l}=this,u=o.renderer,d=(f,m,b)=>u.g(f).attr({zIndex:b}).addClass(`highcharts-${s.toLowerCase()}${m} `+(this.isRadial?`highcharts-radial-axis${m} `:"")+(l.className||"")).add(i);this.axisGroup||(this.gridGroup=d("grid","-grid",l.gridZIndex),this.axisGroup=d("axis","",l.zIndex),this.labelGroup=d("axis-labels","-labels",l.labels.zIndex))}getOffset(){let i=this,{chart:o,horiz:s,options:l,side:u,ticks:d,tickPositions:f,coll:m}=i,b=o.inverted&&!i.isZAxis?[1,0,3,2][u]:u,S=i.hasData(),x=l.title,k=l.labels,M=Ot(l.crossing),I=o.axisOffset,D=o.clipOffset,V=[-1,1,1,-1][u],L,j=0,W,ie=0,se=0,ae,ye;if(i.showAxis=L=S||l.showEmpty,i.staggerLines=i.horiz&&k.staggerLines||void 0,i.createGroups(),S||i.isLinked?(f.forEach(function(he){i.generateTick(he)}),i.renderUnsquish(),i.reserveSpaceDefault=u===0||u===2||{1:"left",3:"right"}[u]===i.labelAlign,Xt(k.reserveSpace,!M&&null,i.labelAlign==="center"||null,i.reserveSpaceDefault)&&f.forEach(function(he){se=Math.max(d[he].getLabelSize(),se)}),i.staggerLines&&(se*=i.staggerLines),i.labelOffset=se*(i.opposite?-1:1)):xc(d,function(he,be){he.destroy(),delete d[be]}),(x==null?void 0:x.text)&&x.enabled!==!1&&(i.addTitle(L),L&&!M&&x.reserveSpace!==!1&&(i.titleOffset=j=i.axisTitle.getBBox()[s?"height":"width"],ie=Si(W=x.offset)?0:Xt(x.margin,s?5:10))),i.renderLine(),i.offset=V*Xt(l.offset,I[u]?I[u]+(l.margin||0):0),i.tickRotCorr=i.tickRotCorr||{x:0,y:0},ye=u===0?-i.labelMetrics().h:u===2?i.tickRotCorr.y:0,ae=Math.abs(se)+ie,se&&(ae-=ye,ae+=V*(s?Xt(k.y,i.tickRotCorr.y+V*k.distance):Xt(k.x,V*k.distance))),i.axisTitleMargin=Xt(W,ae),i.getMaxLabelDimensions&&(i.maxLabelDimensions=i.getMaxLabelDimensions(d,f)),m!=="colorAxis"&&D){let he=this.tickSize("tick");I[u]=Math.max(I[u],(i.axisTitleMargin||0)+j+V*i.offset,ae,f&&f.length&&he?he[0]+V*i.offset:0);let be=!i.axisLine||l.offset?0:i.axisLine.strokeWidth()/2;D[b]=Math.max(D[b],be)}Di(this,"afterGetOffset")}getLinePath(i){let o=this.chart,s=this.opposite,l=this.offset,u=this.horiz,d=this.left+(s?this.width:0)+l,f=o.chartHeight-this.bottom-(s?this.height:0)+l;return s&&(i*=-1),o.renderer.crispLine([["M",u?this.left:d,u?f:this.top],["L",u?o.chartWidth-this.right:d,u?f:o.chartHeight-this.bottom]],i)}renderLine(){this.axisLine||(this.axisLine=this.chart.renderer.path().addClass("highcharts-axis-line").add(this.axisGroup),this.chart.styledMode||this.axisLine.attr({stroke:this.options.lineColor,"stroke-width":this.options.lineWidth,zIndex:7}))}getTitlePosition(i){let o=this.horiz,s=this.left,l=this.top,u=this.len,d=this.options.title,f=o?s:l,m=this.opposite,b=this.offset,S=d.x,x=d.y,k=this.chart.renderer.fontMetrics(i),M=i?Math.max(i.getBBox(!1,0).height-k.h-1,0):0,I={low:f+(o?0:u),middle:f+u/2,high:f+(o?u:0)}[d.align],D=(o?l+this.height:s)+(o?1:-1)*(m?-1:1)*(this.axisTitleMargin||0)+[-M,M,k.f,-M][this.side],V={x:o?I+S:D+(m?this.width:0)+b+S,y:o?D+x-(m?this.height:0)+b:I+x};return Di(this,"afterGetTitlePosition",{titlePosition:V}),V}renderMinorTick(i,o){let s=this.minorTicks;s[i]||(s[i]=new di(this,i,"minor")),o&&s[i].isNew&&s[i].render(null,!0),s[i].render(null,!1,1)}renderTick(i,o,s){let l=this.isLinked,u=this.ticks;(!l||i>=this.min&&i<=this.max||this.grid&&this.grid.isColumn)&&(u[i]||(u[i]=new di(this,i)),s&&u[i].isNew&&u[i].render(o,!0,-1),u[i].render(o))}render(){let i,o,s=this,l=s.chart,u=s.logarithmic,d=l.renderer,f=s.options,m=s.isLinked,b=s.tickPositions,S=s.axisTitle,x=s.ticks,k=s.minorTicks,M=s.alternateBands,I=f.stackLabels,D=f.alternateGridColor,V=f.crossing,L=s.tickmarkOffset,j=s.axisLine,W=s.showAxis,ie=Mn(d.globalAnimation);if(s.labelEdge.length=0,s.overlap=!1,[x,k,M].forEach(function(se){xc(se,function(ae){ae.isActive=!1})}),Ot(V)){let se=this.isXAxis?l.yAxis[0]:l.xAxis[0],ae=[1,-1,-1,1][this.side];if(se){let ye=se.toPixels(V,!0);s.horiz&&(ye=se.len-ye),s.offset=ae*ye}}if(s.hasData()||m){let se=s.chart.hasRendered&&s.old&&Ot(s.old.min);s.minorTickInterval&&!s.categories&&s.getMinorTickPositions().forEach(function(ae){s.renderMinorTick(ae,se)}),b.length&&(b.forEach(function(ae,ye){s.renderTick(ae,ye,se)}),L&&(s.min===0||s.single)&&(x[-1]||(x[-1]=new di(s,-1,null,!0)),x[-1].render(-1))),D&&b.forEach(function(ae,ye){o=b[ye+1]!==void 0?b[ye+1]+L:s.max-L,ye%2==0&&ae<s.max&&o<=s.max+(l.polar?-L:L)&&(M[ae]||(M[ae]=new v.PlotLineOrBand(s,{})),i=ae+L,M[ae].options={from:u?u.lin2log(i):i,to:u?u.lin2log(o):o,color:D,className:"highcharts-alternate-grid"},M[ae].render(),M[ae].isActive=!0)}),s._addedPlotLB||(s._addedPlotLB=!0,(f.plotLines||[]).concat(f.plotBands||[]).forEach(function(ae){s.addPlotBandOrLine(ae)}))}[x,k,M].forEach(function(se){let ae=[],ye=ie.duration;xc(se,function(he,be){he.isActive||(he.render(be,!1,0),he.isActive=!1,ae.push(be))}),lS(function(){let he=ae.length;for(;he--;)se[ae[he]]&&!se[ae[he]].isActive&&(se[ae[he]].destroy(),delete se[ae[he]])},se!==M&&l.hasRendered&&ye?ye:0)}),j&&(j[j.isPlaced?"animate":"attr"]({d:this.getLinePath(j.strokeWidth())}),j.isPlaced=!0,j[W?"show":"hide"](W)),S&&W&&(S[S.isNew?"attr":"animate"](s.getTitlePosition(S)),S.isNew=!1),I&&I.enabled&&s.stacking&&s.stacking.renderStackTotals(),s.old={len:s.len,max:s.max,min:s.min,transA:s.transA,userMax:s.userMax,userMin:s.userMin},s.isDirty=!1,Di(this,"afterRender")}redraw(){this.visible&&(this.render(),this.plotLinesAndBands.forEach(function(i){i.render()})),this.series.forEach(function(i){i.isDirty=!0})}getKeepProps(){return this.keepProps||Ua.keepProps}destroy(i){let o=this,s=o.plotLinesAndBands,l=this.eventOptions;if(Di(this,"destroy",{keepEvents:i}),i||sS(o),[o.ticks,o.minorTicks,o.alternateBands].forEach(function(u){nS(u)}),s){let u=s.length;for(;u--;)s[u].destroy()}for(let u in["axisLine","axisTitle","axisGroup","gridGroup","labelGroup","cross","scrollbar"].forEach(function(d){o[d]&&(o[d]=o[d].destroy())}),o.plotLinesAndBandsGroups)o.plotLinesAndBandsGroups[u]=o.plotLinesAndBandsGroups[u].destroy();xc(o,function(u,d){o.getKeepProps().indexOf(d)===-1&&delete o[d]}),this.eventOptions=l}drawCrosshair(i,o){let s=this.crosshair,l=Xt(s&&s.snap,!0),u=this.chart,d,f,m,b=this.cross,S;if(Di(this,"drawCrosshair",{e:i,point:o}),i||(i=this.cross&&this.cross.e),s&&(Si(o)||!l)!==!1){if(l?Si(o)&&(f=Xt(this.coll!=="colorAxis"?o.crosshairPos:null,this.isXAxis?o.plotX:this.len-o.plotY)):f=i&&(this.horiz?i.chartX-this.pos:this.len-i.chartY+this.pos),Si(f)&&(S={value:o&&(this.isXAxis?o.x:Xt(o.stackY,o.y)),translatedValue:f},u.polar&&vc(S,{isCrosshair:!0,chartX:i&&i.chartX,chartY:i&&i.chartY,point:o}),d=this.getPlotLinePath(S)||null),!Si(d)){this.hideCrosshair();return}m=this.categories&&!this.isRadial,b||(this.cross=b=u.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-"+(m?"category ":"thin ")+(s.className||"")).attr({zIndex:Xt(s.zIndex,2)}).add(),!u.styledMode&&(b.attr({stroke:s.color||(m?Oi.parse("#ccd3ff").setOpacity(.25).get():"#cccccc"),"stroke-width":Xt(s.width,1)}).css({"pointer-events":"none"}),s.dashStyle&&b.attr({dashstyle:s.dashStyle}))),b.show().attr({d}),m&&!s.width&&b.attr({"stroke-width":this.transA}),this.cross.e=i}else this.hideCrosshair();Di(this,"afterDrawCrosshair",{e:i,point:o})}hideCrosshair(){this.cross&&this.cross.hide(),Di(this,"afterHideCrosshair")}update(i,o){let s=this.chart;i=bc(this.userOptions,i),this.destroy(!0),this.init(s,i),s.isDirtyBox=!0,Xt(o,!0)&&s.redraw()}remove(i){let o=this.chart,s=this.coll,l=this.series,u=l.length;for(;u--;)l[u]&&l[u].remove(!1);og(o.axes,this),og(o[s]||[],this),o.orderItems(s),this.destroy(),o.isDirtyBox=!0,Xt(i,!0)&&o.redraw()}setTitle(i,o){this.update({title:i},o)}setCategories(i,o){this.update({categories:i},o)}}Ua.keepProps=["coll","extKey","hcEvents","len","names","series","userMax","userMin"];let{addEvent:uS,getMagnitude:cS,normalizeTickInterval:dS,timeUnits:Sc}=tt;(function(y){function i(){return this.chart.time.getTimeTicks.apply(this.chart.time,arguments)}function o(){if(this.type!=="datetime"){this.dateTime=void 0;return}this.dateTime||(this.dateTime=new s(this))}y.compose=function(l){return l.keepProps.includes("dateTime")||(l.keepProps.push("dateTime"),l.prototype.getTimeTicks=i,uS(l,"afterSetType",o)),l};class s{constructor(u){this.axis=u}normalizeTimeTickInterval(u,d){let f=d||[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2]],["week",[1,2]],["month",[1,2,3,4,6]],["year",null]],m=f[f.length-1],b=Sc[m[0]],S=m[1],x;for(x=0;x<f.length&&(b=Sc[(m=f[x])[0]],S=m[1],!f[x+1]||!(u<=(b*S[S.length-1]+Sc[f[x+1][0]])/2));x++);b===Sc.year&&u<5*b&&(S=[1,2,5]);let k=dS(u/b,S,m[0]==="year"?Math.max(cS(u/b),1):1);return{unitRange:b,count:k,unitName:m[0]}}getXDateFormat(u,d){let{axis:f}=this,m=f.chart.time;return f.closestPointRange?m.getDateFormat(f.closestPointRange,u,f.options.startOfWeek,d)||m.resolveDTLFormat(d.year).main:m.resolveDTLFormat(d.day).main}}y.Additions=s})(T||(T={}));let hS=T,{addEvent:ug,normalizeTickInterval:fS,pick:pS}=tt;(function(y){function i(){var l;this.type!=="logarithmic"?this.logarithmic=void 0:(l=this.logarithmic)!=null||(this.logarithmic=new s(this))}function o(){let l=this.logarithmic;l&&(this.lin2val=function(u){return l.lin2log(u)},this.val2lin=function(u){return l.log2lin(u)})}y.compose=function(l){return l.keepProps.includes("logarithmic")||(l.keepProps.push("logarithmic"),ug(l,"afterSetType",i),ug(l,"afterInit",o)),l};class s{constructor(u){this.axis=u}getLogTickPositions(u,d,f,m){let b=this.axis,S=b.len,x=b.options,k=[];if(m||(this.minorAutoInterval=void 0),u>=.5)u=Math.round(u),k=b.getLinearTickPositions(u,d,f);else if(u>=.08){let M,I,D,V,L,j,W,ie=Math.floor(d);for(M=u>.3?[1,2,4]:u>.15?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9],I=ie;I<f+1&&!W;I++)for(D=0,V=M.length;D<V&&!W;D++)(L=this.log2lin(this.lin2log(I)*M[D]))>d&&(!m||j<=f)&&j!==void 0&&k.push(j),j>f&&(W=!0),j=L}else{let M=this.lin2log(d),I=this.lin2log(f),D=m?b.getMinorTickInterval():x.tickInterval,V=x.tickPixelInterval/(m?5:1),L=m?S/b.tickPositions.length:S;u=fS(u=pS(D==="auto"?null:D,this.minorAutoInterval,(I-M)*V/(L||1))),k=b.getLinearTickPositions(u,M,I).map(this.log2lin),m||(this.minorAutoInterval=u/5)}return m||(b.tickInterval=u),k}lin2log(u){return Math.pow(10,u)}log2lin(u){return Math.log(u)/Math.LN10}}y.Additions=s})(A||(A={}));let mS=A,{erase:gS,extend:yS,isNumber:cg}=tt;(function(y){let i;function o(b){return this.addPlotBandOrLine(b,"plotBands")}function s(b,S){let x=this.userOptions,k=new i(this,b);if(this.visible&&(k=k.render()),k){if(this._addedPlotLB||(this._addedPlotLB=!0,(x.plotLines||[]).concat(x.plotBands||[]).forEach(M=>{this.addPlotBandOrLine(M)})),S){let M=x[S]||[];M.push(b),x[S]=M}this.plotLinesAndBands.push(k)}return k}function l(b){return this.addPlotBandOrLine(b,"plotLines")}function u(b,S,x){x=x||this.options;let k=this.getPlotLinePath({value:S,force:!0,acrossPanes:x.acrossPanes}),M=[],I=this.horiz,D=!cg(this.min)||!cg(this.max)||b<this.min&&S<this.min||b>this.max&&S>this.max,V=this.getPlotLinePath({value:b,force:!0,acrossPanes:x.acrossPanes}),L,j=1,W;if(V&&k)for(D&&(W=V.toString()===k.toString(),j=0),L=0;L<V.length;L+=2){let ie=V[L],se=V[L+1],ae=k[L],ye=k[L+1];(ie[0]==="M"||ie[0]==="L")&&(se[0]==="M"||se[0]==="L")&&(ae[0]==="M"||ae[0]==="L")&&(ye[0]==="M"||ye[0]==="L")&&(I&&ae[1]===ie[1]?(ae[1]+=j,ye[1]+=j):I||ae[2]!==ie[2]||(ae[2]+=j,ye[2]+=j),M.push(["M",ie[1],ie[2]],["L",se[1],se[2]],["L",ye[1],ye[2]],["L",ae[1],ae[2]],["Z"])),M.isFlat=W}return M}function d(b){this.removePlotBandOrLine(b)}function f(b){let S=this.plotLinesAndBands,x=this.options,k=this.userOptions;if(S){let M=S.length;for(;M--;)S[M].id===b&&S[M].destroy();[x.plotLines||[],k.plotLines||[],x.plotBands||[],k.plotBands||[]].forEac
55h(function(I){for(M=I.length;M--;)(I[M]||{}).id===b&&gS(I,I[M])})}}function m(b){this.removePlotBandOrLine(b)}y.compose=function(b,S){let x=S.prototype;return x.addPlotBand||(i=b,yS(x,{addPlotBand:o,addPlotLine:l,addPlotBandOrLine:s,getPlotBandPath:u,removePlotBand:d,removePlotLine:m,removePlotBandOrLine:f})),S}})(P||(P={}));let vS=P,{addEvent:bS,arrayMax:dg,arrayMin:hg,defined:ur,destroyObjectProperties:xS,erase:wS,fireEvent:SS,merge:fg,objectEach:_S,pick:CS}=tt;class _c{static compose(i,o){return bS(i,"afterInit",function(){this.labelCollectors.push(()=>{var l;let s=[];for(let u of this.axes)for(let{label:d,options:f}of u.plotLinesAndBands)d&&!((l=f==null?void 0:f.label)!=null&&l.allowOverlap)&&s.push(d);return s})}),vS.compose(_c,o)}constructor(i,o){this.axis=i,this.options=o,this.id=o.id}render(){var be,He,$e;SS(this,"render");let{axis:i,options:o}=this,{horiz:s,logarithmic:l}=i,{color:u,events:d,zIndex:f=0}=o,{renderer:m,time:b}=i.chart,S={},x=b.parse(o.to),k=b.parse(o.from),M=b.parse(o.value),I=o.borderWidth,D=o.label,{label:V,svgElem:L}=this,j=[],W,ie=ur(k)&&ur(x),se=ur(M),ae=!L,ye={class:"highcharts-plot-"+(ie?"band ":"line ")+(o.className||"")},he=ie?"bands":"lines";if(!i.chart.styledMode&&(se?(ye.stroke=u||"#999999",ye["stroke-width"]=CS(o.width,1),o.dashStyle&&(ye.dashstyle=o.dashStyle)):ie&&(ye.fill=u||"#e6e9ff",I&&(ye.stroke=o.borderColor,ye["stroke-width"]=I))),S.zIndex=f,he+="-"+f,(W=i.plotLinesAndBandsGroups[he])||(i.plotLinesAndBandsGroups[he]=W=m.g("plot-"+he).attr(S).add()),L||(this.svgElem=L=m.path().attr(ye).add(W)),ur(M))j=i.getPlotLinePath({value:(be=l==null?void 0:l.log2lin(M))!=null?be:M,lineWidth:L.strokeWidth(),acrossPanes:o.acrossPanes});else{if(!(ur(k)&&ur(x)))return;j=i.getPlotBandPath((He=l==null?void 0:l.log2lin(k))!=null?He:k,($e=l==null?void 0:l.log2lin(x))!=null?$e:x,o)}return!this.eventsAdded&&d&&(_S(d,(lt,Ue)=>{L==null||L.on(Ue,yt=>{d[Ue].apply(this,[yt])})}),this.eventsAdded=!0),(ae||!L.d)&&(j==null?void 0:j.length)?L.attr({d:j}):L&&(j?(L.show(),L.animate({d:j})):L.d&&(L.hide(),V&&(this.label=V=V.destroy()))),D&&(ur(D.text)||ur(D.formatter))&&(j==null?void 0:j.length)&&i.width>0&&i.height>0&&!j.isFlat?(D=fg({align:s&&ie?"center":void 0,x:s?!ie&&4:10,verticalAlign:!s&&ie?"middle":void 0,y:s?ie?16:10:ie?6:-4,rotation:s&&!ie?90:0,...ie?{inside:!0}:{}},D),this.renderLabel(D,j,ie,f)):V&&V.hide(),this}renderLabel(i,o,s,l){var I;let u=this.axis,d=u.chart.renderer,f=i.inside,m=this.label;m||(this.label=m=d.text(this.getLabelText(i),0,0,i.useHTML).attr({align:i.textAlign||i.align,rotation:i.rotation,class:"highcharts-plot-"+(s?"band":"line")+"-label "+(i.className||""),zIndex:l}),u.chart.styledMode||m.css(fg({fontSize:"0.8em",textOverflow:s&&!f?"":"ellipsis"},i.style)),m.add());let b=o.xBounds||[o[0][1],o[1][1],s?o[2][1]:o[0][1]],S=o.yBounds||[o[0][2],o[1][2],s?o[2][2]:o[0][2]],x=hg(b),k=hg(S),M=dg(b)-x;m.align(i,!1,{x,y:k,width:M,height:dg(S)-k}),(!m.alignValue||m.alignValue==="left"||ur(f))&&m.css({width:(((I=i.style)==null?void 0:I.width)||(s&&f?M:m.rotation===90?u.height-(m.alignAttr.y-u.top):(i.clip?u.width:u.chart.chartWidth)-(m.alignAttr.x-u.left)))+"px"}),m.show(!0)}getLabelText(i){return ur(i.formatter)?i.formatter.call(this):i.text}destroy(){wS(this.axis.plotLinesAndBands,this),delete this.axis,xS(this)}}let{animObject:kS}=Xi,{format:pg}=Tn,{composed:AS,dateFormats:TS,doc:mg,isSafari:ES}=v,{distribute:MS}=Hs,{addEvent:PS,clamp:Wa,css:gg,discardElement:OS,extend:IS,fireEvent:yg,isArray:LS,isNumber:NS,isObject:RS,isString:Uh,merge:FS,pick:Ga,pushUnique:DS,splat:Wh,syncTimeout:BS}=tt;class Gh{constructor(i,o,s){this.allowShared=!0,this.crosshairs=[],this.distance=0,this.isHidden=!0,this.isSticky=!1,this.options={},this.outside=!1,this.chart=i,this.init(i,o),this.pointer=s}bodyFormatter(i){return i.map(o=>{let s=o.series.tooltipOptions,l=o.formatPrefix||"point";return(s[l+"Formatter"]||o.tooltipFormatter).call(o,s[l+"Format"]||"")})}cleanSplit(i){this.chart.series.forEach(function(o){let s=o&&o.tt;s&&(!s.isActive||i?o.tt=s.destroy():s.isActive=!1)})}defaultFormatter(i){let o,s=this.points||Wh(this);
vendor: 4,131 bytes, line 55
55return(o=(o=[i.headerFooterFormatter(s[0])]).concat(i.bodyFormatter(s))).push(i.headerFooterFormatter(s[0],!0)),o}destroy(){this.label&&(this.label=this.label.destroy()),this.split&&(this.cleanSplit(!0),this.tt&&(this.tt=this.tt.destroy())),this.renderer&&(this.renderer=this.renderer.destroy(),OS(this.container)),tt.clearTimeout(this.hideTimer)}getAnchor(i,o){let s,{chart:l,pointer:u}=this,d=l.inverted,f=l.plotTop,m=l.plotLeft;if((i=Wh(i))[0].series&&i[0].series.yAxis&&!i[0].series.yAxis.options.reversedStacks&&(i=i.slice().reverse()),this.followPointer&&o)o.chartX===void 0&&(o=u.normalize(o)),s=[o.chartX-m,o.chartY-f];else if(i[0].tooltipPos)s=i[0].tooltipPos;else{let b=0,S=0;i.forEach(function(x){let k=x.pos(!0);k&&(b+=k[0],S+=k[1])}),b/=i.length,S/=i.length,this.shared&&i.length>1&&o&&(d?b=o.chartX:S=o.chartY),s=[b-m,S-f]}return s.map(Math.round)}getClassName(i,o,s){let l=this.options,u=i.series,d=u.options;return[l.className,"highcharts-label",s&&"highcharts-tooltip-header",o?"highcharts-tooltip-box":"highcharts-tooltip",!s&&"highcharts-color-"+Ga(i.colorIndex,u.colorIndex),d&&d.className].filter(Uh).join(" ")}getLabel({anchorX:i,anchorY:o}={anchorX:0,anchorY:0}){let s=this,l=this.chart.styledMode,u=this.options,d=this.split&&this.allowShared,f=this.container,m=this.chart.renderer;if(this.label){let b=!this.label.hasClass("highcharts-label");(!d&&b||d&&!b)&&this.destroy()}if(!this.label){if(this.outside){let b=this.chart,S=b.options.chart.style,x=qs.getRendererType();this.container=f=v.doc.createElement("div"),f.className="highcharts-tooltip-container "+(b.renderTo.className.match(/(highcharts[a-zA-Z0-9-]+)\s?/gm)||""),gg(f,{position:"absolute",top:"1px",pointerEvents:"none",zIndex:Math.max(this.options.style.zIndex||0,(S&&S.zIndex||0)+3)}),this.renderer=m=new x(f,0,0,S,void 0,void 0,m.styledMode)}if(d?this.label=m.g("tooltip"):(this.label=m.label("",i,o,u.shape,void 0,void 0,u.useHTML,void 0,"tooltip").attr({padding:u.padding,r:u.borderRadius}),l||this.label.attr({fill:u.backgroundColor,"stroke-width":u.borderWidth||0}).css(u.style).css({pointerEvents:u.style.pointerEvents||(this.shouldStickOnContact()?"auto":"none")})),s.outside){let b=this.label;[b.xSetter,b.ySetter].forEach((S,x)=>{b[x?"ySetter":"xSetter"]=k=>{S.call(b,s.distance),b[x?"y":"x"]=k,f&&(f.style[x?"top":"left"]=`${k}px`)}})}this.label.attr({zIndex:8}).shadow(u.shadow).add()}return f&&!f.parentElement&&v.doc.body.appendChild(f),this.label}getPlayingField(){let{body:i,documentElement:o}=mg,{chart:s,distance:l,outside:u}=this;return{width:u?Math.max(i.scrollWidth,o.scrollWidth,i.offsetWidth,o.offsetWidth,o.clientWidth)-2*l-2:s.chartWidth,height:u?Math.max(i.scrollHeight,o.scrollHeight,i.offsetHeight,o.offsetHeight,o.clientHeight):s.chartHeight}}getPosition(i,o,s){var At,Tt;let{distance:l,chart:u,outside:d,pointer:f}=this,{inverted:m,plotLeft:b,plotTop:S,polar:x}=u,{plotX:k=0,plotY:M=0}=s,I={},D=m&&s.h||0,{height:V,width:L}=this.getPlayingField(),j=f.getChartPosition(),W=vt=>vt*j.scaleX,ie=vt=>vt*j.scaleY,se=vt=>{let zt=vt==="x";return[vt,zt?L:V,zt?i:o].concat(d?[zt?W(i):ie(o),zt?j.left-l+W(k+b):j.top-l+ie(M+S),0,zt?L:V]:[zt?i:o,zt?k+b:M+S,zt?b:S,zt?b+u.plotWidth:S+u.plotHeight])},ae=se("y"),ye=se("x"),he,be=!!s.negative;!x&&((Tt=(At=u.hoverSeries)==null?void 0:At.yAxis)==null?void 0:Tt.reversed)&&(be=!be);let He=!this.followPointer&&Ga(s.ttBelow,!x&&!m===be),$e=function(vt,zt,xt,It,Dt,li,vi){let ti=d?vt==="y"?ie(l):W(l):l,oi=(xt-It)/2,bi=It<Dt-l,Pn=Dt+l+It<zt,Qi=Dt-ti-xt+oi,wn=Dt+ti-oi;if(He&&Pn)I[vt]=wn;else if(!He&&bi)I[vt]=Qi;else if(bi)I[vt]=Math.min(vi-It,Qi-D<0?Qi:Qi-D);else{if(!Pn)return!1;I[vt]=Math.max(li,wn+D+xt>zt?wn:wn+D)}},lt=function(vt,zt,xt,It,Dt){if(Dt<l||Dt>zt-l)return!1;Dt<xt/2?I[vt]=1:Dt>zt-It/2?I[vt]=zt-It-2:I[vt]=Dt-xt/2},Ue=function(vt){[ae,ye]=[ye,ae],he=vt},yt=()=>{$e.apply(0,ae)!==!1?lt.apply(0,ye)!==!1||he||(Ue(!0),yt()):he?I.x=I.y=0:(Ue(!0),yt())};return(m&&!x||this.len>1)&&Ue(),yt(),I}hide(i){let o=this;tt.clearTimeout(this.hideTimer),i=Ga(i,this.options.hideDelay),this.isHidden||(this.hideTimer=BS(function(){let s=o.getLabel();o.getLabel().animate({opacity:0}
55,{duration:i&&150,complete:()=>{s.hide(),o.container&&o.container.remove()}}),o.isHidden=!0},i))}init(i,o){this.chart=i,this.options=o,this.crosshairs=[],this.isHidden=!0,this.split=o.split&&!i.inverted&&!i.polar,this.shared=o.shared||this.split,this.outside=Ga(o.outside,!!(i.scrollablePixelsX||i.scrollablePixelsY))}shouldStickOnContact(i){return!!(!this.followPointer&&this.options.stickOnContact&&(!i||this.pointer.inClass(i.target,"highcharts-tooltip")))}move(i,o,s,l){let u=this,d=kS(!u.isHidden&&u.options.animation),f=u.followPointer||(u.len||0)>1,m={x:i,y:o};f||(m.anchorX=s,m.anchorY=l),d.step=()=>u.drawTracker(),u.getLabel().animate(m,d)}refresh(i,o){let{chart:s,options:l,pointer:u,shared:d}=this,f=Wh(i),m=f[0],b=l.format,S=l.formatter||this.defaultFormatter,x=s.styledMode,k=this.allowShared;if(!l.enabled||!m.series)return;tt.clearTimeout(this.hideTimer),this.allowShared=!(!LS(i)&&i.series&&i.series.noSharedTooltip),k=k&&!this.allowShared,this.followPointer=!this.split&&m.series.tooltipOptions.followPointer;let M=this.getAnchor(i,o),I=M[0],D=M[1];d&&this.allowShared&&(u.applyInactiveState(f),f.forEach(j=>j.setState("hover")),m.points=f),this.len=f.length;let V=Uh(b)?pg(b,m,s):S.call(m,this);m.points=void 0;let L=m.series;if(this.distance=Ga(L.tooltipOptions.distance,16),V===!1)this.hide();else{if(this.split&&this.allowShared)this.renderSplit(V,f);else{let j=I,W=D;if(o&&u.isDirectTouch&&(j=o.chartX-s.plotLeft,W=o.chartY-s.plotTop),s.polar||L.options.clip===!1||f.some(ie=>u.isDirectTouch||ie.series.shouldShowTooltip(j,W))){let ie=this.getLabel(k&&this.tt||{});(!l.style.width||x)&&ie.css({width:(this.outside?this.getPlayingField():s.spacingBox).width+"px"}),ie.attr({class:this.getClassName(m),text:V&&V.join?V.join(""):V}),this.outside&&ie.attr({x:Wa(ie.x||0,0,this.getPlayingField().width-(ie.width||0))}),x||ie.attr({stroke:l.borderColor||m.color||L.color||"#666666"}),this.updatePosition({plotX:I,plotY:D,negative:m.negative,ttBelow:m.ttBelow,h:M[2]||0})}else{this.hide();return}}this.isHidden&&this.label&&this.label.attr({opacity:1}).show(),this.isHidden=!1}yg(this,"refresh")}renderSplit(i,o){var zt;let s=this,{chart:l,chart:{chartWidth:u,chartHeight:d,plotHeight:f,plotLeft:m,plotTop:b,scrollablePixelsY:S=0,scrollablePixelsX:x,styledMode:k},distance:M,options:I,options:{positioner:D},pointer:V}=s,{scrollLeft:L=0,scrollTop:j=0}=((zt=l.scrollablePlotArea)==null?void 0:zt.scrollingContainer)||{},W=s.outside&&typeof x!="number"?mg.documentElement.getBoundingClientRect():{left:L,right:L+u,top:j,bottom:j+d},ie=s.getLabel(),se=this.renderer||l.renderer,ae=!!(l.xAxis[0]&&l.xAxis[0].opposite),{left:ye,top:he}=V.getChartPosition(),be=b+j,He=0,$e=f-S;function lt(xt,It,Dt,li,vi=!0){let ti,oi;return Dt?(ti=ae?0:$e,oi=Wa(xt-li/2,W.left,W.right-li-(s.outside?ye:0))):(ti=It-be,oi=Wa(oi=vi?xt-li-M:xt+M,vi?oi:W.left,W.right)),{x:oi,y:ti}}Uh(i)&&(i=[!1,i]);let Ue=i.slice(0,o.length+1).reduce(function(xt,It,Dt){if(It!==!1&&It!==""){let li=o[Dt-1]||{isHeader:!0,plotX:o[0].plotX,plotY:f,series:{}},vi=li.isHeader,ti=vi?s:li.series,oi=ti.tt=function(gn,Mi,fn){var cu;let qo=gn,{isHeader:cr,series:Yc}=Mi;if(!qo){let el={padding:I.padding,r:I.borderRadius};k||(el.fill=I.backgroundColor,el["stroke-width"]=(cu=I.borderWidth)!=null?cu:1),qo=se.label("",0,0,I[cr?"headerShape":"shape"],void 0,void 0,I.useHTML).addClass(s.getClassName(Mi,!0,cr)).attr(el).add(ie)}return qo.isActive=!0,qo.attr({text:fn}),k||qo.css(I.style).attr({stroke:I.borderColor||Mi.color||Yc.color||"#333333"}),qo}(ti.tt,li,It.toString()),bi=oi.getBBox(),Pn=bi.width+oi.strokeWidth();vi&&(He=bi.height,$e+=He,ae&&(be-=He));let{anchorX:Qi,anchorY:wn}=function(gn){let Mi,fn,{isHeader:qo,plotX:cr=0,plotY:Yc=0,series:cu}=gn;if(qo)Mi=Math.max(m+cr,m),fn=b+f/2;else{let{xAxis:el,yAxis:Ly}=cu;Mi=el.pos+Wa(cr,-M,el.len+M),cu.shouldShowTooltip(0,Ly.pos-b+Yc,{ignoreX:!0})&&(fn=Ly.pos+Yc)}return{anchorX:Mi=Wa(Mi,W.left-M,W.right+M),anchorY:fn}}(li);if(typeof wn=="number"){let gn=bi.height+1,Mi=D?D.call(s,Pn,gn,li):lt(Qi,wn,vi,Pn);xt.push({align:D?0:void 0,anchorX:Qi,anchorY:wn,boxWidth:Pn,point:li,rank:Ga(Mi.rank,vi?1:0),size:gn,target:Mi.y,tt:oi,x:Mi.x})}else oi.isActive=!1}return xt},[]);!D&&Ue.some(xt=>{let{outside:It}=s,Dt=(It?ye:0)+xt.anchorX;return Dt<W.left&&Dt+xt.boxWidth<W.right||Dt<ye-W.left+xt.boxWidth&&W.right-Dt>Dt})&&(Ue=Ue.map(xt=>{let{x:It,y:Dt}=lt(xt.anchorX,xt.anchorY,xt.point.isHeader,xt.boxWidth,!1);return IS(xt,{target:Dt,x:It})})),s.cleanSplit(),MS(Ue,$e);let yt={left:ye,right:ye};Ue.forEach(function(xt){let{x:It,boxWidth:Dt,isHeader:li}=xt;!li&&(s.outside&&ye+It<yt.left&&(yt.left=ye+It),!li&&s.outside&&yt.left+Dt>yt.right&&(yt.right=ye+It))}),Ue.forEach(function(xt){let{x:It,anchorX:Dt,anchorY:li,pos:vi,point:{isHeader:ti}}=xt,oi={visibility:vi===void 0?"hidden":"inherit",x:It,y:(vi||0)+be,anchorX:Dt,anchorY:li};if(s.outside&&It<Dt){let bi=ye-yt.left;bi>0&&(ti||(oi.x=It+bi,oi.anchorX=Dt+bi),ti&&(oi.x=(yt.right-yt.left)/2,oi.anchorX=Dt+bi))}xt.tt.attr(oi)});let{container:At,outside:Tt,renderer:vt}=s;if(Tt&&At&&vt){let{width:xt,height:It,x:Dt,y:li}=ie.getBBox();vt.setSize(xt+Dt,It+li,!1),At.style.left=yt.left+"px",At.style.top=he+"px"}ES&&ie.attr({opacity:ie.opacity===1?.999:1})}drawTracker(){if(!this.shouldStickOnContact()){this.tracker&&(this.tracker=this.tracker.destroy());return}let i=this.chart,o=this.label,s=this.shared?i.hoverPoints:i.hoverPoint;if(!o||!s)return;let l={x:0,y:0,width:0,height:0},u=this.getAnchor(s),d=o.getBBox();u[0]+=i.plotLeft-(o.translateX||0),u[1]+=i.plotTop-(o.translateY||0),l.x=Math.min(0,u[0]),l.y=Math.min(0,u[1]),l.width=u[0]<0?Math.max(Math.abs(u[0]),d.width-u[0]):Math.max(Math.abs(u[0]),d.width),l.height=u[1]<0?Math.max(Math.abs(u[1]),d.height-Math.abs(u[1])):Math.max(Math.abs(u[1]),d.height),this.tracker?this.tracker.attr(l):(this.tracker=o.renderer.rect(l).addClass("highcharts-tracker").add(o),i.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}styledModeFormat(i){return i.replace('style="font-size: 0.8em"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex} {series.options.className} {point.options.className}"')}headerFooterFormatter(i,o){let s=i.series,l=s.tooltipOptions,u=s.xAxis,d=u&&u.dateTime,f={is
55Footer:o,point:i},m=l.xDateFormat||"",b=l[o?"footerFormat":"headerFormat"];return yg(this,"headerFormatter",f,function(S){if(d&&!m&&NS(i.key)&&(m=d.getXDateFormat(i.key,l.dateTimeLabelFormats)),d&&m){if(RS(m)){let x=m;TS[0]=k=>s.chart.time.dateFormat(x,k),m="%0"}(i.tooltipDateKeys||["key"]).forEach(x=>{b=b.replace(RegExp("point\\."+x+"([ \\)}])",""),`(point.${x}:${m})$1`)})}s.chart.styledMode&&(b=this.styledModeFormat(b)),S.text=pg(b,i,this.chart)}),f.text||""}update(i){this.destroy(),this.init(this.chart,FS(!0,this.options,i))}updatePosition(i){let{chart:o,container:s,distance:l,options:u,pointer:d,renderer:f}=this,{height:m=0,width:b=0}=this.getLabel(),{left:S,top:x,scaleX:k,scaleY:M}=d.getChartPosition(),I=(u.positioner||this.getPosition).call(this,b,m,i),D=v.doc,V=(i.plotX||0)+o.plotLeft,L=(i.plotY||0)+o.plotTop,j;f&&s&&(u.positioner&&(I.x+=S-l,I.y+=x-l),j=(u.borderWidth||0)+2*l+2,f.setSize(Wa(b+j,0,D.documentElement.clientWidth)-1,m+j,!1),(k!==1||M!==1)&&(gg(s,{transform:`scale(${k}, ${M})`}),V*=k,L*=M),V+=S-I.x,L+=x-I.y),this.move(Math.round(I.x),Math.round(I.y||0),V,L)}}(function(y){y.compose=function(i){DS(AS,"Core.Tooltip")&&PS(i,"afterInit",function(){let o=this.chart;o.options.tooltip&&(o.tooltip=new y(o,o.options.tooltip,this))})}})(Gh||(Gh={}));let vg=Gh,{animObject:VS}=Xi,{defaultOptions:qS}=Ti,{format:HS}=Tn,{addEvent:zS,crisp:jS,erase:$S,extend:Cc,fireEvent:Yh,getNestedProperty:US,isArray:WS,isFunction:GS,isNumber:os,isObject:kc,merge:bg,pick:rs,syncTimeout:YS,removeEvent:xg,uniqueKey:XS}=tt;class iu{animateBeforeDestroy(){let i=this,o={x:i.startXPos,opacity:0},s=i.getGraphicalProps();s.singular.forEach(function(l){i[l]=i[l].animate(l==="dataLabel"?{x:i[l].startXPos,y:i[l].startYPos,opacity:0}:o)}),s.plural.forEach(function(l){i[l].forEach(function(u){u.element&&u.animate(Cc({x:i.startXPos},u.startYPos?{x:u.startXPos,y:u.startYPos}:{}))})})}applyOptions(i,o){let s=this.series,l=s.options.pointValKey||s.pointValKey;return Cc(this,i=iu.prototype.optionsToObject.call(this,i)),this.options=this.options?Cc(this.options,i):i,i.group&&delete this.group,i.dataLabels&&delete this.dataLabels,l&&(this.y=iu.prototype.getNestedProperty.call(this,l)),this.selected&&(this.state="select"),"name"in this&&o===void 0&&s.xAxis&&s.xAxis.hasNames&&(this.x=s.xAxis.nameToX(this)),this.x===void 0&&s?this.x=o!=null?o:s.autoIncrement():os(i.x)&&s.options.relativeXValue?this.x=s.autoIncrement(i.x):typeof this.x=="string"&&(o!=null||(o=s.chart.time.parse(this.x)),os(o)&&(this.x=o)),this.isNull=this.isValid&&!this.isValid(),this.formatPrefix=this.isNull?"null":"point",this}destroy(){if(!this.destroyed){let i=this,o=i.series,s=o.chart,l=o.options.dataSorting,u=s.hoverPoints,d=VS(i.series.chart.renderer.globalAnimation),f=()=>{for(let m in(i.graphic||i.graphics||i.dataLabel||i.dataLabels)&&(xg(i),i.destroyElements()),i)delete i[m]};i.legendItem&&s.legend.destroyItem(i),u&&(i.setState(),$S(u,i),u.length||(s.hoverPoints=null)),i===s.hoverPoint&&i.onMouseOut(),l&&l.enabled?(this.animateBeforeDestroy(),YS(f,d.duration)):f(),s.pointCount--}this.destroyed=!0}destroyElements(i){let o=this,s=o.getGraphicalProps(i);s.singular.forEach(function(l){o[l]=o[l].destroy()}),s.plural.forEach(function(l){o[l].forEach(function(u){u&&u.element&&u.destroy()}),delete o[l]})}firePointEvent(i,o,s){let l=this,u=this.series.options;l.manageEvent(i),i==="click"&&u.allowPointSelect&&(s=function(d){!l.destroyed&&l.select&&l.select(null,d.ctrlKey||d.metaKey||d.shiftKey)}),Yh(l,i,o,s)}getClassName(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+(this.colorIndex!==void 0?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")}getGraphicalProps(i){let o,s,l=this,u=[],d={singular:[],plural:[]};for((i=i||{graphic:1,dataLabel:1}).graphic&&u.push("graphic","connector"),i.dataLabel&&u.push("dataLabel","dataLabelPath","dataLabelUpper"),s=u.length;s--;)l[o=u[s]]&&d.singular.push(o);return["graphic","dataLabel"].forEach(function(f){let m=f+"s";i[f]&&l[m]&&d.plural.push(m)}),d}getNestedProperty(i){return i?i.indexOf("custom.")===0?US(i,this.options):this[i]:void 0}getZone(){let i=this.series,o=i.zones,s=i.zoneAxis||"y",l,u=0;for(l=o[0];this[s]>=l.value;)l=o[++u];return this.nonZonedColor||(this.nonZonedColor=this.color),l&&l.color&&!this.options.color?this.color=l.color:this.color=this.nonZonedColor,l}hasNewShapeType(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType}constructor(i,o,s){var l;this.formatPrefix="point",this.visible=!0,this.point=this,this.series=i,this.applyOptions(o,s),(l=this.id
vendor: 2,931 bytes, line 55
55)!=null||(this.id=XS()),this.resolveColor(),i.chart.pointCount++,Yh(this,"afterInit")}isValid(){return(os(this.x)||this.x instanceof Date)&&os(this.y)}optionsToObject(i){var S;let o=this.series,s=o.options.keys,l=s||o.pointArrayMap||["y"],u=l.length,d={},f,m=0,b=0;if(os(i)||i===null)d[l[0]]=i;else if(WS(i))for(!s&&i.length>u&&((f=typeof i[0])=="string"?(S=o.xAxis)!=null&&S.dateTime?d.x=o.chart.time.parse(i[0]):d.name=i[0]:f==="number"&&(d.x=i[0]),m++);b<u;)s&&i[m]===void 0||(l[b].indexOf(".")>0?iu.prototype.setNestedProperty(d,i[m],l[b]):d[l[b]]=i[m]),m++,b++;else typeof i=="object"&&(d=i,i.dataLabels&&(o.hasDataLabels=()=>!0),i.marker&&(o._hasPointMarkers=!0));return d}pos(i,o=this.plotY){if(!this.destroyed){let{plotX:s,series:l}=this,{chart:u,xAxis:d,yAxis:f}=l,m=0,b=0;if(os(s)&&os(o))return i&&(m=d?d.pos:u.plotLeft,b=f?f.pos:u.plotTop),u.inverted&&d&&f?[f.len-o+b,d.len-s+m]:[s+m,o+b]}}resolveColor(){let i=this.series,o=i.chart.options.chart,s=i.chart.styledMode,l,u,d=o.colorCount,f;delete this.nonZonedColor,i.options.colorByPoint?(s||(l=(u=i.options.colors||i.chart.options.colors)[i.colorCounter],d=u.length),f=i.colorCounter,i.colorCounter++,i.colorCounter===d&&(i.colorCounter=0)):(s||(l=i.color),f=i.colorIndex),this.colorIndex=rs(this.options.colorIndex,f),this.color=rs(this.options.color,l)}setNestedProperty(i,o,s){return s.split(".").reduce(function(l,u,d,f){let m=f.length-1===d;return l[u]=m?o:kc(l[u],!0)?l[u]:{},l[u]},i),i}shouldDraw(){return!this.isNull}tooltipFormatter(i){var m;let{chart:o,pointArrayMap:s=["y"],tooltipOptions:l}=this.series,{valueDecimals:u="",valuePrefix:d="",valueSuffix:f=""}=l;return o.styledMode&&(i=((m=o.tooltip)==null?void 0:m.styledModeFormat(i))||i),s.forEach(b=>{b="{point."+b,(d||f)&&(i=i.replace(RegExp(b+"}","g"),d+b+"}"+f)),i=i.replace(RegExp(b+"}","g"),b+":,."+u+"f}")}),HS(i,this,o)}update(i,o,s,l){let u,d=this,f=d.series,m=d.graphic,b=f.chart,S=f.options;function x(){d.applyOptions(i);let k=m&&d.hasMockGraphic,M=d.y===null?!k:k;m&&M&&(d.graphic=m.destroy(),delete d.hasMockGraphic),kc(i,!0)&&(m&&m.element&&i&&i.marker&&i.marker.symbol!==void 0&&(d.graphic=m.destroy()),(i==null?void 0:i.dataLabels)&&d.dataLabel&&(d.dataLabel=d.dataLabel.destroy())),u=d.index;let I={};for(let D of f.dataColumnKeys())I[D]=d[D];f.dataTable.setRow(I,u),S.data[u]=kc(S.data[u],!0)||kc(i,!0)?d.options:rs(i,S.data[u]),f.isDirty=f.isDirtyData=!0,!f.fixedBox&&f.hasCartesianSeries&&(b.isDirtyBox=!0),S.legendType==="point"&&(b.isDirtyLegend=!0),o&&b.redraw(s)}o=rs(o,!0),l===!1?x():d.firePointEvent("update",{options:i},x)}remove(i,o){this.series.removePoint(this.series.data.indexOf(this),i,o)}select(i,o){let s=this,l=s.series,u=l.chart;i=rs(i,!s.selected),this.selectedStaging=i,s.firePointEvent(i?"select":"unselect",{accumulate:o},function(){s.selected=s.options.selected=i,l.options.data[l.data.indexOf(s)]=s.options,s.setState(i&&"select"),o||u.getSelectedPoints().forEac
55h(function(d){let f=d.series;d.selected&&d!==s&&(d.selected=d.options.selected=!1,f.options.data[f.data.indexOf(d)]=d.options,d.setState(u.hoverPoints&&f.options.inactiveOtherPoints?"inactive":""),d.firePointEvent("unselect"))})}),delete this.selectedStaging}onMouseOver(i){let{inverted:o,pointer:s}=this.series.chart;s&&(i=i?s.normalize(i):s.getChartCoordinatesFromPoint(this,o),s.runPointActions(i,this))}onMouseOut(){let i=this.series.chart;this.firePointEvent("mouseOut"),this.series.options.inactiveOtherPoints||(i.hoverPoints||[]).forEach(function(o){o.setState()}),i.hoverPoints=i.hoverPoint=null}manageEvent(i){var l,u,d,f,m,b,S;let o=bg(this.series.options.point,this.options),s=(l=o.events)==null?void 0:l[i];GS(s)&&(!((u=this.hcEvents)!=null&&u[i])||((f=(d=this.hcEvents)==null?void 0:d[i])==null?void 0:f.map(x=>x.fn).indexOf(s))===-1)?((m=this.importedUserEvent)==null||m.call(this),this.importedUserEvent=zS(this,i,s),this.hcEvents&&(this.hcEvents[i].userEvent=!0)):this.importedUserEvent&&!s&&((b=this.hcEvents)==null?void 0:b[i])&&((S=this.hcEvents)==null?void 0:S[i].userEvent)&&(xg(this,i),delete this.hcEvents[i],Object.keys(this.hcEvents)||delete this.importedUserEvent)}setState(i,o){var ae;let s=this.series,l=this.state,u=s.options.states[i||"normal"]||{},d=qS.plotOptions[s.type].marker&&s.options.marker,f=d&&d.enabled===!1,m=d&&d.states&&d.states[i||"normal"]||{},b=m.enabled===!1,S=this.marker||{},x=s.chart,k=d&&s.markerAttribs,M=s.halo,I,D,V,L=s.stateMarkerGraphic,j;if((i=i||"")===this.state&&!o||this.selected&&i!=="select"||u.enabled===!1||i&&(b||f&&m.enabled===!1)||i&&S.states&&S.states[i]&&S.states[i].enabled===!1)return;if(this.state=i,k&&(I=s.markerAttribs(this,i)),this.graphic&&!this.hasMockGraphic){if(l&&this.graphic.removeClass("highcharts-point-"+l),i&&this.graphic.addClass("highcharts-point-"+i),!x.styledMode){D=s.pointAttribs(this,i),V=rs(x.options.chart.animation,u.animation);let ye=D.opacity;s.options.inactiveOtherPoints&&os(ye)&&(this.dataLabels||[]).forEach(function(he){he&&!he.hasClass("highcharts-data-label-hidden")&&(he.animate({opacity:ye},V),he.connector&&he.connector.animate({opacity:ye},V))}),this.graphic.animate(D,V)}I&&this.graphic.animate(I,rs(x.options.chart.animation,m.animation,d.animation)),L&&L.hide()}else i&&m&&(j=S.symbol||s.symbol,L&&L.currentSymbol!==j&&(L=L.destroy()),I&&(L?L[o?"animate":"attr"]({x:I.x,y:I.y}):j&&(s.stateMarkerGraphic=L=x.renderer.symbol(j,I.x,I.y,I.width,I.height,bg(d,m)).add(s.markerGroup),L.currentSymbol=j)),!x.styledMode&&L&&this.state!=="inactive"&&L.attr(s.pointAttribs(this,i))),L&&(L[i&&this.isInside?"show":"hide"](),L.element.point=this,L.addClass(this.getClassName(),!0));let W=u.halo,ie=this.graphic||L,se=ie&&ie.visibility||"inherit";W&&W.size&&ie&&se!=="hidden"&&!this.isCluster?(M||(s.halo=M=x.renderer.path().add(ie.parentGroup)),M.show()[o?"animate":"attr"]({d:this.haloPath(W.size)}),M.attr({class:"highcharts-halo highcharts-color-"+rs(this.colorIndex,s.colorIndex)+(this.className?" "+this.className:""),visibility:se,zIndex:-1}),M.point=this,x.styledMode||M.attr(Cc({fill:this.color||s.color,"fill-opacity":W.opacity},Qe.filterUserAttributes(W.attributes||{})))):((ae=M==null?void 0:M.point)==null?void 0:ae.haloPath)&&!M.point.destroyed&&M.animate({d:M.point.haloPath(0)},null,M.hide),Yh(this,"afterSetState",{state:i})}haloPath(i){let o=this.pos();return o?this.series.chart.renderer.symbols.circle(jS(o[0],1)-i,o[1]-i,2*i,2*i):[]}}let ss=iu,{parse:KS}=Oi,{charts:Xh,composed:QS,isTouchDevice:ZS}=v,{addEvent:wo,attr:JS,css:Kh,extend:Qh,find:wg,fireEvent:as,isNumber:Ac,isObject:Tc,objectEach:e_,offset:t_,pick:Bo,pushUnique:i_,splat:Sg}=tt;class dn{applyInactiveState(i){let o=[],s;(i||[]).forEach(function(l){s=l.series,o.push(s),s.linkedParent&&o.push(s.linkedParent),s.linkedSeries&&(o=o.concat(s.linkedSeries)),s.navigatorSeries&&o.push(s.navigatorSeries)}),this.chart.series.forEach(function(l){o.indexOf(l)===-1?l.setState("inactive",!0):l.options.inactiveOtherPoints&&l.setAllPointsToState("inactive")})}destroy(){let i=this;this.eventsToUnbind.forEach(o=>o()),this.eventsToUnbind=[],!v.chartCount&&(dn.unbindDocumentMouseUp.forEac
55h(o=>o.unbind()),dn.unbindDocumentMouseUp.length=0,dn.unbindDocumentTouchEnd&&(dn.unbindDocumentTouchEnd=dn.unbindDocumentTouchEnd())),clearInterval(i.tooltipTimeout),e_(i,function(o,s){i[s]=void 0})}getSelectionMarkerAttrs(i,o){let s={args:{chartX:i,chartY:o},attrs:{},shapeType:"rect"};return as(this,"getSelectionMarkerAttrs",s,l=>{let u,{chart:d,zoomHor:f,zoomVert:m}=this,{mouseDownX:b=0,mouseDownY:S=0}=d,x=l.attrs;x.x=d.plotLeft,x.y=d.plotTop,x.width=f?1:d.plotWidth,x.height=m?1:d.plotHeight,f&&(u=i-b,x.width=Math.max(1,Math.abs(u)),x.x=(u>0?0:u)+b),m&&(u=o-S,x.height=Math.max(1,Math.abs(u)),x.y=(u>0?0:u)+S)}),s}drag(i){let{chart:o}=this,{mouseDownX:s=0,mouseDownY:l=0}=o,{panning:u,panKey:d,selectionMarkerFill:f}=o.options.chart,m=o.plotLeft,b=o.plotTop,S=o.plotWidth,x=o.plotHeight,k=Tc(u)?u.enabled:u,M=d&&i[`${d}Key`],I=i.chartX,D=i.chartY,V,L=this.selectionMarker;if((!L||!L.touch)&&(I<m?I=m:I>m+S&&(I=m+S),D<b?D=b:D>b+x&&(D=b+x),this.hasDragged=Math.sqrt(Math.pow(s-I,2)+Math.pow(l-D,2)),this.hasDragged>10)){V=o.isInsidePlot(s-m,l-b,{visiblePlotOnly:!0});let{shapeType:j,attrs:W}=this.getSelectionMarkerAttrs(I,D);(o.hasCartesianSeries||o.mapView)&&this.hasZoom&&V&&!M&&!L&&(this.selectionMarker=L=o.renderer[j](),L.attr({class:"highcharts-selection-marker",zIndex:7}).add(),o.styledMode||L.attr({fill:f||KS("#334eff").setOpacity(.25).get()})),L&&L.attr(W),V&&!L&&k&&o.pan(i,u)}}dragStart(i){let o=this.chart;o.mouseIsDown=i.type,o.cancelClick=!1,o.mouseDownX=i.chartX,o.mouseDownY=i.chartY}getSelectionBox(i){let o={args:{marker:i},result:i.getBBox()};return as(this,"getSelectionBox",o),o.result}drop(i){let o,{chart:s,selectionMarker:l}=this;for(let u of s.axes)u.isPanning&&(u.isPanning=!1,(u.options.startOnTick||u.options.endOnTick||u.series.some(d=>d.boosted))&&(u.forceRedraw=!0,u.setExtremes(u.userMin,u.userMax,!1),o=!0));if(o&&s.redraw(),l&&i){if(this.hasDragged){let u=this.getSelectionBox(l);s.transform({axes:s.axes.filter(d=>d.zoomEnabled&&(d.coll==="xAxis"&&this.zoomX||d.coll==="yAxis"&&this.zoomY)),selection:{originalEvent:i,xAxis:[],yAxis:[],...u},from:u})}Ac(s.index)&&(this.selectionMarker=l.destroy())}s&&Ac(s.index)&&(Kh(s.container,{cursor:s._cursor}),s.cancelClick=this.hasDragged>10,s.mouseIsDown=!1,this.hasDragged=0,this.pinchDown=[])}findNearestKDPoint(i,o,s){let l;return i.forEach(function(u){let d=!(u.noSharedTooltip&&o)&&0>u.options.findNearestPointBy.indexOf("y"),f=u.searchPoint(s,d);Tc(f,!0)&&f.series&&(!Tc(l,!0)||function(m,b){var M,I;let S=m.distX-b.distX,x=m.dist-b.dist,k=((M=b.series.group)==null?void 0:M.zIndex)-((I=m.series.group)==null?void 0:I.zIndex);return S!==0&&o?S:x!==0?x:k!==0?k:m.series.index>b.series.index?-1:1}(l,f)>0)&&(l=f)}),l}getChartCoordinatesFromPoint(i,o){var d,f;let{xAxis:s,yAxis:l}=i.series,u=i.shapeArgs;if(s&&l){let m=(f=(d=i.clientX)!=null?d:i.plotX)!=null?f:0,b=i.plotY||0;return i.isNode&&u&&Ac(u.x)&&Ac(u.y)&&(m=u.x,b=u.y),o?{chartX:l.len+l.pos-b,chartY:s.len+s.pos-m}:{chartX:m+s.pos,chartY:b+l.pos}}if(u&&u.x&&u.y)return{chartX:u.x,chartY:u.y}}getChartPosition(){if(this.chartPosition)return this.chartPosition;let{container:i}=this.chart,o=t_(i);this.chartPosition={left:o.left,top:o.top,scaleX:1,scaleY:1};let{offsetHeight:s,offsetWidth:l}=i;return l>2&&s>2&&(this.chartPosition.scaleX=o.width/l,this.chartPosition.scaleY=o.height/s),this.chartPosition}getCoordinates(i){let o={xAxis:[],yAxis:[]};for(let s of this.chart.axes)o[s.isXAxis?"xAxis":"yAxis"].push({axis:s,value:s.toValue(i[s.horiz?"chartX":"chartY"])});return o}getHoverData(i,o,s,l,u,d){let f=[],m=function(M){return M.visible&&!(!u&&M.directTouch)&&Bo(M.options.enableMouseTracking,!0)},b=o,S,x={chartX:d?d.chartX:void 0,chartY:d?d.chartY:void 0,shared:u};as(this,"beforeGetHoverData",x),S=b&&!b.stickyTracking?[b]:s.filter(M=>M.stickyTracking&&(x.filter||m)(M));let k=l&&i||!d?i:this.findNearestKDPoint(S,u,d);return b=k&&k.series,k&&(u&&!b.noSharedTooltip?(S=s.filter(function(M){return x.filter?x.filter(M):m(M)&&!M.noSharedTooltip})).forEach(function(M){let I=wg(M.points,function(D){return D.x===k.x&&!D.isNull});
vendor: 4,356 bytes, line 55
55Tc(I)&&(M.boosted&&M.boost&&(I=M.boost.getPoint(I)),f.push(I))}):f.push(k)),as(this,"afterGetHoverData",x={hoverPoint:k}),{hoverPoint:x.hoverPoint,hoverSeries:b,hoverPoints:f}}getPointFromEvent(i){let o=i.target,s;for(;o&&!s;)s=o.point,o=o.parentNode;return s}onTrackerMouseOut(i){let o=this.chart,s=i.relatedTarget,l=o.hoverSeries;this.isDirectTouch=!1,!l||!s||l.stickyTracking||this.inClass(s,"highcharts-tooltip")||this.inClass(s,"highcharts-series-"+l.index)&&this.inClass(s,"highcharts-tracker")||l.onMouseOut()}inClass(i,o){let s=i,l;for(;s;){if(l=JS(s,"class")){if(l.indexOf(o)!==-1)return!0;if(l.indexOf("highcharts-container")!==-1)return!1}s=s.parentElement}}constructor(i,o){var s;this.hasDragged=0,this.pointerCaptureEventsToUnbind=[],this.eventsToUnbind=[],this.options=o,this.chart=i,this.runChartClick=!!((s=o.chart.events)!=null&&s.click),this.pinchDown=[],this.setDOMEvents(),as(this,"afterInit")}normalize(i,o){let s=i.touches,l=s?s.length?s.item(0):Bo(s.changedTouches,i.changedTouches)[0]:i;o||(o=this.getChartPosition());let u=l.pageX-o.left,d=l.pageY-o.top;return Qh(i,{chartX:Math.round(u/=o.scaleX),chartY:Math.round(d/=o.scaleY)})}onContainerClick(i){let o=this.chart,s=o.hoverPoint,l=this.normalize(i),u=o.plotLeft,d=o.plotTop;!o.cancelClick&&(s&&this.inClass(l.target,"highcharts-tracker")?(as(s.series,"click",Qh(l,{point:s})),o.hoverPoint&&s.firePointEvent("click",l)):(Qh(l,this.getCoordinates(l)),o.isInsidePlot(l.chartX-u,l.chartY-d,{visiblePlotOnly:!0})&&as(o,"click",l)))}onContainerMouseDown(i){var s;let o=(1&(i.buttons||i.button))==1;i=this.normalize(i),v.isFirefox&&i.button!==0&&this.onContainerMouseMove(i),(i.button===void 0||o)&&(this.zoomOption(i),o&&((s=i.preventDefault)==null||s.call(i)),this.dragStart(i))}onContainerMouseLeave(i){let{pointer:o}=Xh[Bo(dn.hoverChartIndex,-1)]||{};i=this.normalize(i),this.onContainerMouseMove(i),o&&!this.inClass(i.relatedTarget,"highcharts-tooltip")&&(o.reset(),o.chartPosition=void 0)}onContainerMouseEnter(){delete this.chartPosition}onContainerMouseMove(i){let o=this.chart,s=o.tooltip,l=this.normalize(i);this.setHoverChartIndex(i),(o.mouseIsDown==="mousedown"||this.touchSelect(l))&&this.drag(l),!o.openMenu&&(this.inClass(l.target,"highcharts-tracker")||o.isInsidePlot(l.chartX-o.plotLeft,l.chartY-o.plotTop,{visiblePlotOnly:!0}))&&!(s&&s.shouldStickOnContact(l))&&(this.inClass(l.target,"highcharts-no-tooltip")?this.reset(!1,0):this.runPointActions(l))}onDocumentTouchEnd(i){this.onDocumentMouseUp(i)}onContainerTouchMove(i){this.touchSelect(i)?this.onContainerMouseMove(i):this.touch(i)}onContainerTouchStart(i){this.touchSelect(i)?this.onContainerMouseDown(i):(this.zoomOption(i),this.touch(i,!0))}onDocumentMouseMove(i){let o=this.chart,s=o.tooltip,l=this.chartPosition,u=this.normalize(i,l);!l||o.isInsidePlot(u.chartX-o.plotLeft,u.chartY-o.plotTop,{visiblePlotOnly:!0})||s&&s.shouldStickOnContact(u)||u.target!==o.container.ownerDocument&&this.inClass(u.target,"highcharts-tracker")||this.reset()}onDocumentMouseUp(i){var o,s;(s=(o=Xh[Bo(dn.hoverChartIndex,-1)])==null?void 0:o.pointer)==null||s.drop(i)}pinch(i){let o=this,{chart:s,hasZoom:l,lastTouches:u}=o,d=[].map.call(i.touches||[],x=>o.normalize(x)),f=d.length,m=f===1&&(o.inClass(i.target,"highcharts-tracker")&&s.runTrackerClick||o.runChartClick),b=s.tooltip,S=f===1&&Bo(b==null?void 0:b.options.followTouchMove,!0);f>1?o.initiated=!0:S&&(o.initiated=!1),l&&o.initiated&&!m&&i.cancelable!==!1&&i.preventDefault(),i.type==="touchstart"?(o.pinchDown=d,o.res=!0,s.mouseDownX=i.chartX):S?this.runPointActions(o.normalize(i)):u&&(as(s,"touchpan",{originalEvent:i,touches:d},()=>{let x=k=>{let M=k[0],I=k[1]||M;return{x:M.chartX,y:M.chartY,width:I.chartX-M.chartX,height:I.chartY-M.chartY}};s.transform({axes:s.axes.filter(k=>k.zoomEnabled&&(this.zoomHor&&k.horiz||this.zoomVert&&!k.horiz)),to:x(d),from:x(u),trigger:i.type})}),o.res&&(o.res=!1,this.reset(!1,0))),o.lastTouches=d}reset(i,o){let s=this.chart,l=s.hoverSeries,u=s.hoverPoint,d=s.hoverPoints,f=s.tooltip,m=f&&f.shared?d:u;i&&m&&Sg(m).forEach(function(b){b.series.isCartesian&&b.plotX===void 0&&(i=!1)}),i?f&&m&&Sg(m).length&&(f.refresh(m),f.shared&&d?d.forEach(function(b){b.setState(b.state,!0),b.series.isCartesian&&(b.series.xAxis.crosshair&&b.series.xAxis.drawCrosshair(null,b),b.series.yAxis.crosshair&&b.series.yAxis.drawCrosshair(null,b))}
55):u&&(u.setState(u.state,!0),s.axes.forEach(function(b){b.crosshair&&u.series[b.coll]===b&&b.drawCrosshair(null,u)}))):(u&&u.onMouseOut(),d&&d.forEach(function(b){b.setState()}),l&&l.onMouseOut(),f&&f.hide(o),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),s.axes.forEach(function(b){b.hideCrosshair()}),s.hoverPoints=s.hoverPoint=void 0)}runPointActions(i,o,s){let l=this.chart,u=l.series,d=l.tooltip&&l.tooltip.options.enabled?l.tooltip:void 0,f=!!d&&d.shared,m=o||l.hoverPoint,b=m&&m.series||l.hoverSeries,S=(!i||i.type!=="touchmove")&&(!!o||b&&b.directTouch&&this.isDirectTouch),x=this.getHoverData(m,b,u,S,f,i);m=x.hoverPoint,b=x.hoverSeries;let k=x.hoverPoints,M=b&&b.tooltipOptions.followPointer&&!b.tooltipOptions.split,I=f&&b&&!b.noSharedTooltip;if(m&&(s||m!==l.hoverPoint||d&&d.isHidden)){if((l.hoverPoints||[]).forEach(function(D){k.indexOf(D)===-1&&D.setState()}),l.hoverSeries!==b&&b.onMouseOver(),this.applyInactiveState(k),(k||[]).forEach(function(D){D.setState("hover")}),l.hoverPoint&&l.hoverPoint.firePointEvent("mouseOut"),!m.series)return;l.hoverPoints=k,l.hoverPoint=m,m.firePointEvent("mouseOver",void 0,()=>{d&&m&&d.refresh(I?k:m,i)})}else if(M&&d&&!d.isHidden){let D=d.getAnchor([{}],i);l.isInsidePlot(D[0],D[1],{visiblePlotOnly:!0})&&d.updatePosition({plotX:D[0],plotY:D[1]})}this.unDocMouseMove||(this.unDocMouseMove=wo(l.container.ownerDocument,"mousemove",D=>{var V,L,j;return(j=(L=Xh[(V=dn.hoverChartIndex)!=null?V:-1])==null?void 0:L.pointer)==null?void 0:j.onDocumentMouseMove(D)}),this.eventsToUnbind.push(this.unDocMouseMove)),l.axes.forEach(function(D){let V,L=Bo((D.crosshair||{}).snap,!0);!L||(V=l.hoverPoint)&&V.series[D.coll]===D||(V=wg(k,j=>j.series&&j.series[D.coll]===D)),V||!L?D.drawCrosshair(i,V):D.hideCrosshair()})}setDOMEvents(){let i=this.chart.container,o=i.ownerDocument;i.onmousedown=this.onContainerMouseDown.bind(this),i.onmousemove=this.onContainerMouseMove.bind(this),i.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(wo(i,"mouseenter",this.onContainerMouseEnter.bind(this)),wo(i,"mouseleave",this.onContainerMouseLeave.bind(this))),dn.unbindDocumentMouseUp.some(l=>l.doc===o)||dn.unbindDocumentMouseUp.push({doc:o,unbind:wo(o,"mouseup",this.onDocumentMouseUp.bind(this))});let s=this.chart.renderTo.parentElement;for(;s&&s.tagName!=="BODY";)this.eventsToUnbind.push(wo(s,"scroll",()=>{delete this.chartPosition})),s=s.parentElement;this.eventsToUnbind.push(wo(i,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1}),wo(i,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),dn.unbindDocumentTouchEnd||(dn.unbindDocumentTouchEnd=wo(o,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})),this.setPointerCapture(),wo(this.chart,"redraw",this.setPointerCapture.bind(this))}setPointerCapture(){var u,d;if(!ZS)return;let i=this.pointerCaptureEventsToUnbind,o=this.chart,s=o.container,l=Bo((u=o.options.tooltip)==null?void 0:u.followTouchMove,!0)&&o.series.some(f=>f.options.findNearestPointBy.indexOf("y")>-1);!this.hasPointerCapture&&l?(i.push(wo(s,"pointerdown",f=>{var m,b;(m=f.target)!=null&&m.hasPointerCapture(f.pointerId)&&((b=f.target)==null||b.releasePointerCapture(f.pointerId))}),wo(s,"pointermove",f=>{var m,b;(b=(m=o.pointer)==null?void 0:m.getPointFromEvent(f))==null||b.onMouseOver(f)})),o.styledMode||Kh(s,{"touch-action":"none"}),s.className+=" highcharts-no-touch-action",this.hasPointerCapture=!0):this.hasPointerCapture&&!l&&(i.forEach(f=>f()),i.length=0,o.styledMode||Kh(s,{"touch-action":Bo((d=o.options.chart.style)==null?void 0:d["touch-action"],"manipulation")}),s.className=s.className.replace(" highcharts-no-touch-action",""),this.hasPointerCapture=!1)}setHoverChartIndex(i){var l;let o=this.chart,s=v.charts[Bo(dn.hoverChartIndex,-1)];if(s&&s!==o){let u={relatedTarget:o.container};i&&!(i!=null&&i.relatedTarget)&&(i={...u,...i}),(l=s.pointer)==null||l.onContainerMouseLeave(i||u)}s&&s.mouseIsDown||(dn.hoverChartIndex=o.index)}touch(i,o){let s,{chart:l,pinchDown:u=[]}=this;this.setHoverChartIndex(),(i=this.normalize(i)).touches.length===1?l.isInsidePlot(i.chartX-l.plotLeft,i.chartY-l.plotTop,{visiblePlotOnly:!0})&&!l.openMenu?(o&&this.runPointActions(i),i.type==="touchmove"&&(s=!!u[0]&&Math.pow(u[0].chartX-i.chartX,2)+Math.pow(u[0].chartY-i.chartY,2)>=16),Bo(s,!0)&&this.pinch(i)):o&&this.reset():i.touches.length===2&&this.pinch(i)}touchSelect(i){return!!(this.chart.zooming.singleTouch&&i.touches&&i.touches.length===1)}zoomOption(i){let o=this.chart,s=o.inverted,l=o.zooming.type||"",u,d;
55/touch/.test(i.type)&&(l=Bo(o.zooming.pinchType,l)),this.zoomX=u=/x/.test(l),this.zoomY=d=/y/.test(l),this.zoomHor=u&&!s||d&&s,this.zoomVert=d&&!s||u&&s,this.hasZoom=u||d}}dn.unbindDocumentMouseUp=[],function(y){y.compose=function(i){i_(QS,"Core.Pointer")&&wo(i,"beforeRender",function(){this.pointer=new y(this,this.options)})}}(dn||(dn={}));let _g=dn,{fireEvent:Cg,isArray:n_,objectEach:Ec,uniqueKey:Mc}=tt,Pc=class{constructor(y={}){this.autoId=!y.id,this.columns={},this.id=y.id||Mc(),this.modified=this,this.rowCount=0,this.versionTag=Mc();let i=0;Ec(y.columns||{},(o,s)=>{this.columns[s]=o.slice(),i=Math.max(i,o.length)}),this.applyRowCount(i)}applyRowCount(y){this.rowCount=y,Ec(this.columns,i=>{n_(i)&&(i.length=y)})}getColumn(y,i){return this.columns[y]}getColumns(y,i){return(y||Object.keys(this.columns)).reduce((o,s)=>(o[s]=this.columns[s],o),{})}getRow(y,i){return(i||Object.keys(this.columns)).map(o=>{var s;return(s=this.columns[o])==null?void 0:s[y]})}setColumn(y,i=[],o=0,s){this.setColumns({[y]:i},o,s)}setColumns(y,i,o){let s=this.rowCount;Ec(y,(l,u)=>{this.columns[u]=l.slice(),s=l.length}),this.applyRowCount(s),o!=null&&o.silent||(Cg(this,"afterSetColumns"),this.versionTag=Mc())}setRow(y,i=this.rowCount,o,s){let{columns:l}=this,u=o?this.rowCount+1:i+1;Ec(y,(d,f)=>{let m=l[f]||(s==null?void 0:s.addColumns)!==!1&&Array(u);m&&(o?m.splice(i,0,d):m[i]=d,l[f]=m)}),u>this.rowCount&&this.applyRowCount(u),s!=null&&s.silent||(Cg(this,"afterSetRows"),this.versionTag=Mc())}},{extend:o_,merge:r_,pick:kg}=tt;(function(y){function i(o,s,l){var ie,se;let u=this.legendItem=this.legendItem||{},{chart:d,options:f}=this,{baseline:m=0,symbolWidth:b,symbolHeight:S}=o,x=this.symbol||"circle",k=S/2,M=d.renderer,I=u.group,D=m-Math.round((((ie=o.fontMetrics)==null?void 0:ie.b)||S)*(l?.4:.3)),V={},L,j=f.marker,W=0;if(d.styledMode||(V["stroke-width"]=Math.min(f.lineWidth||0,24),f.dashStyle?V.dashstyle=f.dashStyle:f.linecap==="square"||(V["stroke-linecap"]="round")),u.line=M.path().addClass("highcharts-graph").attr(V).add(I),l&&(u.area=M.path().addClass("highcharts-area").add(I)),V["stroke-linecap"]&&(W=Math.min(u.line.strokeWidth(),b)/2),b){let ae=[["M",W,D],["L",b-W,D]];u.line.attr({d:ae}),(se=u.area)==null||se.attr({d:[...ae,["L",b-W,m],["L",W,m]]})}if(j&&j.enabled!==!1&&b){let ae=Math.min(kg(j.radius,k),k);x.indexOf("url")===0&&(j=r_(j,{width:S,height:S}),ae=0),u.symbol=L=M.symbol(x,b/2-ae,D-ae,2*ae,2*ae,o_({context:"legend"},j)).addClass("highcharts-point").add(I),L.isMarker=!0}}y.areaMarker=function(o,s){i.call(this,o,s,!0)},y.lineMarker=i,y.rectangle=function(o,s){let l=s.legendItem||{}
55,u=o.options,d=o.symbolHeight,f=u.squareSymbol,m=f?d:o.symbolWidth;l.symbol=this.chart.renderer.rect(f?(o.symbolWidth-d)/2:0,o.baseline-d+1,m,d,kg(o.options.symbolRadius,d/2)).addClass("highcharts-point").attr({zIndex:3}).add(l.group)}})(O||(O={}));let Ag=O,{defaultOptions:Tg}=Ti,{extend:s_,extendClass:a_,merge:l_}=tt;(function(y){function i(o,s){let l=Tg.plotOptions||{},u=s.defaultOptions,d=s.prototype;return d.type=o,d.pointClass||(d.pointClass=ss),!y.seriesTypes[o]&&(u&&(l[o]=u),y.seriesTypes[o]=s,!0)}y.seriesTypes=v.seriesTypes,y.registerSeriesType=i,y.seriesType=function(o,s,l,u,d){let f=Tg.plotOptions||{};if(s=s||"",f[o]=l_(f[s],l),delete y.seriesTypes[o],i(o,a_(y.seriesTypes[s]||function(){},u)),y.seriesTypes[o].prototype.type=o,d){class m extends ss{}s_(m.prototype,d),y.seriesTypes[o].prototype.pointClass=m}return y.seriesTypes[o]}})(B||(B={}));let zi=B,{animObject:Eg,setAnimation:u_}=Xi,{defaultOptions:Oc}=Ti,{registerEventOptions:c_}=ue,{svg:d_,win:h_}=v,{seriesTypes:Ya}=zi,{arrayMax:Zh,arrayMin:Mg,clamp:Pg,correctFloat:Og,crisp:f_,defined:hn,destroyObjectProperties:p_,diffObjects:m_,erase:Ig,error:Ic,extend:Xa,find:g_,fireEvent:Ii,getClosestDistance:y_,getNestedProperty:Lg,insertItem:Ng,isArray:Rg,isNumber:mn,isString:v_,merge:Ka,objectEach:Jh,pick:Li,removeEvent:b_,syncTimeout:Fg}=tt;class Qa{constructor(){this.zoneAxis="y"}init(i,o){var m;let s;Ii(this,"init",{options:o}),(m=this.dataTable)!=null||(this.dataTable=new Pc);let l=i.series;this.eventsToUnbind=[],this.chart=i,this.options=this.setOptions(o);let u=this.options,d=u.visible!==!1;this.linkedSeries=[],this.bindAxes(),Xa(this,{name:u.name,state:"",visible:d,selected:u.selected===!0}),c_(this,u);let f=u.events;(f&&f.click||u.point&&u.point.events&&u.point.events.click||u.allowPointSelect)&&(i.runTrackerClick=!0),this.getColor(),this.getSymbol(),this.isCartesian&&(i.hasCartesianSeries=!0),l.length&&(s=l[l.length-1]),this._i=Li(s&&s._i,-1)+1,this.opacity=this.options.opacity,i.orderItems("series",Ng(this,l)),u.dataSorting&&u.dataSorting.enabled?this.setDataSortingOptions():this.points||this.data||this.setData(u.data,!1),Ii(this,"afterInit")}is(i){return Ya[i]&&this instanceof Ya[i]}bindAxes(){let i,o=this,s=o.options,l=o.chart;Ii(this,"bindAxes",null,function(){(o.axisTypes||[]).forEach(function(u){(l[u]||[]).forEach(function(d){i=d.options,(Li(s[u],0)===d.index||s[u]!==void 0&&s[u]===i.id)&&(Ng(o,d.series),o[u]=d,d.isDirty=!0)}),o[u]||o.optionalAxis===u||Ic(18,!0,l)})}),Ii(this,"afterBindAxes")}hasData(){return this.visible&&this.dataMax!==void 0&&this.dataMin!==void 0||this.visible&&this.dataTable.rowCount>0}hasMarkerChanged(i,o){let s=i.marker,l=o.marker||{};return s&&(l.enabled&&!s.enabled||l.symbol!==s.symbol||l.height!==s.height||l.width!==s.width)}autoIncrement(i){var m,b;let o,s=this.options,{pointIntervalUnit:l,relativeXValue:u}=this.options,d=this.chart.time,f=(b=(m=this.xIncrement)!=null?m:d.parse(s.pointStart))!=null?b:0;if(this.pointInterval=o=Li(this.pointInterval,s.pointInterval,1),u&&mn(i)&&(o*=i),l){let S=d.toParts(f);l==="day"?S[2]+=o:l==="month"?S[1]+=o:l==="year"&&(S[0]+=o),o=d.makeTime.apply(d,S)-f}return u&&mn(i)?f+o:(this.xIncrement=f+o,f)}setDataSortingOptions(){let i=this.options;Xa(this,{requireSorting:!1,sorted:!1,enabledDataSorting:!0,allowDG:!1}),hn(i.pointRange)||(i.pointRange=1)}setOptions(i){var V,L;let o,s=this.chart,l=s.options.plotOptions,u=s.userOptions||{},d=Ka(i),f=s.styledMode,m={plotOptions:l,userOptions:d};Ii(this,"setOptions",m);let b=m.plotOptions[this.type],S=u.plotOptions||{},x=S.series||{},k=Oc.plotOptions[this.type]||{},M=S[this.type]||{};this.userOptions=m.userOptions;let I=Ka(b,l.series,M,d);this.tooltipOptions=Ka(Oc.tooltip,(V=Oc.plotOptions.series)==null?void 0:V.tooltip,k==null?void 0:k.tooltip,s.userOptions.tooltip,(L=S.series)==null?void 0:L.tooltip,M.tooltip,d.tooltip),this.stickyTracking=Li(d.stickyTracking,M.stickyTracking,x.stickyTracking,!!this.tooltipOptions.shared&&!this.noSharedTooltip||I.stickyTracking),b.marker===null&&delete I.marker,this.zoneAxis=I.zoneAxis||"y";let D=this.zones=(I.zones||[]).map(j=>({...j}));return(I.negativeColor||I.negativeFillColor)&&!I.zones&&(o={value:I[this.zoneAxis+"Threshold"]||I.threshold||0,className:"highcharts-negative"},f||(o.color=I.negativeColor,o.fillColor=I.negativeFillColor),D.push(o)),D.length&&hn(D[D.length-1].value)&&D.push(f?{}:{color:this.color,fillColor:this.fillColor}),Ii(this,"afterSetOptions",{options:I}),I}
55getName(){return Li(this.options.name,"Series "+(this.index+1))}getCyclic(i,o,s){let l,u,d=this.chart,f=`${i}Index`,m=`${i}Counter`,b=(s==null?void 0:s.length)||d.options.chart.colorCount;!o&&(hn(u=Li(i==="color"?this.options.colorIndex:void 0,this[f]))?l=u:(d.series.length||(d[m]=0),l=d[m]%b,d[m]+=1),s&&(o=s[l])),l!==void 0&&(this[f]=l),this[i]=o}getColor(){this.chart.styledMode?this.getCyclic("color"):this.options.colorByPoint?this.color="#cccccc":this.getCyclic("color",this.options.color||Oc.plotOptions[this.type].color,this.chart.options.colors)}getPointsCollection(){return(this.hasGroupedData?this.points:this.data)||[]}getSymbol(){let i=this.options.marker;this.getCyclic("symbol",i.symbol,this.chart.options.symbols)}getColumn(i,o){return(o?this.dataTable.modified:this.dataTable).getColumn(i,!0)||[]}findPointIndex(i,o){let s,l,u,d=i.id,f=i.x,m=this.points,b=this.options.dataSorting;if(d){let S=this.chart.get(d);S instanceof ss&&(s=S)}else if(this.linkedParent||this.enabledDataSorting||this.options.relativeXValue){let S=x=>!x.touched&&x.index===i.index;if(b&&b.matchByName?S=x=>!x.touched&&x.name===i.name:this.options.relativeXValue&&(S=x=>!x.touched&&x.options.x===i.x),!(s=g_(m,S)))return}return s&&(u=s&&s.index)!==void 0&&(l=!0),u===void 0&&mn(f)&&(u=this.getColumn("x").indexOf(f,o)),u!==-1&&u!==void 0&&this.cropped&&(u=u>=this.cropStart?u-this.cropStart:u),!l&&mn(u)&&m[u]&&m[u].touched&&(u=void 0),u}updateData(i,o){let s=this.options,l=s.dataSorting,u=this.points,d=[],f=this.requireSorting,m=i.length===u.length,b,S,x,k,M=!0;if(this.xIncrement=null,i.forEach(function(D,V){let L,j=hn(D)&&this.pointClass.prototype.optionsToObject.call({series:this},D)||{},W=j.x;j.id||mn(W)?((L=this.findPointIndex(j,k))===-1||L===void 0?d.push(D):u[L]&&D!==s.data[L]?(u[L].update(D,!1,null,!1),u[L].touched=!0,f&&(k=L+1)):u[L]&&(u[L].touched=!0),(!m||V!==L||l&&l.enabled||this.hasDerivedData)&&(b=!0)):d.push(D)},this),b)for(S=u.length;S--;)(x=u[S])&&!x.touched&&x.remove&&x.remove(!1,o);else!m||l&&l.enabled?M=!1:(i.forEach(function(D,V){D===u[V].y||u[V].destroyed||u[V].update(D,!1,null,!1)}),d.length=0);if(u.forEach(function(D){D&&(D.touched=!1)}),!M)return!1;d.forEach(function(D){this.addPoint(D,!1,null,null,!1)},this);let I=this.getColumn("x");return this.xIncrement===null&&I.length&&(this.xIncrement=Zh(I),this.autoIncrement()),!0}dataColumnKeys(){return["x",...this.pointArrayMap||["y"]]}setData(i,o=!0,s,l){var ye,he;let u=this.points,d=u&&u.length||0,f=this.options,m=this.chart,b=f.dataSorting,S=this.xAxis,x=f.turboThreshold,k=this.dataTable,M=this.dataColumnKeys(),I=this.pointValKey||"y",D=(this.pointArrayMap||[]).length,V=f.keys,L,j,W=0,ie=1,se;m.options.chart.allowMutatingData||(f.data&&delete this.options.data,this.userOptions.data&&delete this.userOptions.data,se=Ka(!0,i));let ae=(i=se||i||[]).length;if(b&&b.enabled&&(i=this.sortData(i)),m.options.chart.allowMutatingData&&l!==!1&&ae&&d&&!this.cropped&&!this.hasGroupedData&&this.visible&&!this.boosted&&(j=this.updateData(i,s)),!j){this.xIncrement=null,this.colorCounter=0;let be=x&&ae>x;if(be){let He=this.getFirstValidPoint(i),$e=this.getFirstValidPoint(i,ae-1,-1),lt=Ue=>!!(Rg(Ue)&&(V||mn(Ue[0])));if(mn(He)&&mn($e)){let Ue=[],yt=[];for(let At of i)Ue.push(this.autoIncrement()),yt.push(At);k.setColumns({x:Ue,[I]:yt})}else if(lt(He)&<($e))if(D){let Ue=He.length===D?1:0,yt=Array(M.length).fill(0).map(()=>[]);for(let At of i){Ue&&yt[0].push(this.autoIncrement());for(let Tt=Ue;Tt<=D;Tt++)(ye=yt[Tt])==null||ye.push(At[Tt-Ue])}k.setColumns(M.reduce((At,Tt,vt)=>(At[Tt]=yt[vt],At),{}))}else{V&&(W=V.indexOf("x"),ie=V.indexOf("y"),W=W>=0?W:0,ie=ie>=0?ie:1),He.length===1&&(ie=0);let Ue=[],yt=[];if(W===ie)for(let At of i)Ue.push(this.autoIncrement()),yt.push(At[ie]);else for(let At of i)Ue.push(At[W]),yt.push(At[ie]);k.setColumns({x:Ue,[I]:yt})}else be=!1}if(!be){let He=M.reduce(($e,lt)=>($e[lt]=[],$e),{});for(L=0;L<ae;L++){let $e=this.pointClass.prototype.applyOptions.apply({series:this},[i[L]]);for(let lt of M)He[lt][L]=$e[lt]}k.setColumns(He)}for(v_(this.getColumn("y")[0])&&Ic(14,!0,m),this.data=[],this.options.data=this.userOptions.data=i,L=d;L--;)(he=u[L])==null||he.destroy();S&&(S.minRange=S.userMinRange),this.isDirty=m.isDirtyBox=!0,this.isDirtyData=!!u,s=!1}f.legendType==="point"&&(this.processData(),this.generatePoints()),o&&m.redraw(s)}sortData(i){let o=this,s=o.options.dataSorting.sortKey||"y",l=function(u,d){return hn(d)&&u.pointClass.prototype.optionsToObject.call({series:u},d)||{}};
55return i.forEach(function(u,d){i[d]=l(o,u),i[d].index=d},this),i.concat().sort((u,d)=>{let f=Lg(s,u),m=Lg(s,d);return m<f?-1:m>f?1:0}).forEach(function(u,d){u.x=d},this),o.linkedSeries&&o.linkedSeries.forEach(function(u){let d=u.options,f=d.data;d.dataSorting&&d.dataSorting.enabled||!f||(f.forEach(function(m,b){f[b]=l(u,m),i[b]&&(f[b].x=i[b].x,f[b].index=b)}),u.setData(f,!1))}),i}getProcessedData(i){let o=this,{dataTable:s,isCartesian:l,options:u,xAxis:d}=o,f=u.cropThreshold,m=i||o.getExtremesFromAll,b=d==null?void 0:d.logarithmic,S=s.rowCount,x,k,M=0,I,D,V,L=o.getColumn("x"),j=s,W=!1;return d&&(D=(I=d.getExtremes()).min,V=I.max,W=!!(d.categories&&!d.names.length),l&&o.sorted&&!m&&(!f||S>f||o.forceCrop)&&(L[S-1]<D||L[0]>V?j=new Pc:o.getColumn(o.pointValKey||"y").length&&(L[0]<D||L[S-1]>V)&&(j=(x=this.cropData(s,D,V)).modified,M=x.start,k=!0))),L=j.getColumn("x")||[],{modified:j,cropped:k,cropStart:M,closestPointRange:y_([b?L.map(b.log2lin):L],()=>o.requireSorting&&!W&&Ic(15,!1,o.chart))}}processData(i){let o=this.xAxis,s=this.dataTable;if(this.isCartesian&&!this.isDirty&&!o.isDirty&&!this.yAxis.isDirty&&!i)return!1;let l=this.getProcessedData();s.modified=l.modified,this.cropped=l.cropped,this.cropStart=l.cropStart,this.closestPointRange=this.basePointRange=l.closestPointRange,Ii(this,"afterProcessData")}cropData(i,o,s){let l=i.getColumn("x",!0)||[],u=l.length,d={},f,m,b=0,S=u;for(f=0;f<u;f++)if(l[f]>=o){b=Math.max(0,f-1);break}for(m=f;m<u;m++)if(l[m]>s){S=m+1;break}for(let x of this.dataColumnKeys()){let k=i.getColumn(x,!0);k&&(d[x]=k.slice(b,S))}return{modified:new Pc({columns:d}),start:b,end:S}}generatePoints(){var se,ae,ye,he;let i=this.options,o=this.processedData||i.data,s=this.dataTable.modified,l=this.getColumn("x",!0),u=this.pointClass,d=s.rowCount,f=this.cropStart||0,m=this.hasGroupedData,b=i.keys,S=[],x=i.dataGrouping&&i.dataGrouping.groupAll?f:0,k=(se=this.xAxis)==null?void 0:se.categories,M=this.pointArrayMap||["y"],I=this.dataColumnKeys(),D,V,L,j,W=this.data,ie;if(!W&&!m){let be=[];be.length=(o==null?void 0:o.length)||0,W=this.data=be}for(b&&m&&(this.options.keys=!1),j=0;j<d;j++)V=f+j,m?((L=new u(this,s.getRow(j,I)||[])).dataGroup=this.groupMap[x+j],(ae=L.dataGroup)!=null&&ae.options&&(L.options=L.dataGroup.options,Xa(L,L.dataGroup.options),delete L.dataLabels)):(L=W[V],ie=o?o[V]:s.getRow(j,M),L||ie===void 0||(W[V]=L=new u(this,ie,l[j]))),L&&(L.index=m?x+j:V,S[j]=L,L.category=(ye=k==null?void 0:k[L.x])!=null?ye:L.x,L.key=(he=L.name)!=null?he:L.category);if(this.options.keys=b,W&&(d!==(D=W.length)||m))for(j=0;j<D;j++)j!==f||m||(j+=d),W[j]&&(W[j].destroyElements(),W[j].plotX=void 0);this.data=W,this.points=S,Ii(this,"afterGeneratePoints")}getXExtremes(i){return{min:Mg(i),max:Zh(i)}}getExtremes(i,o){var se;let{xAxis:s,yAxis:l}=this,u=o||this.getExtremesFromAll||this.options.getExtremesFromAll,d=u&&this.cropped?this.dataTable:this.dataTable.modified,f=d.rowCount,m=i||this.stackedYData,b=m?[m]:((se=this.keysAffectYAxis||this.pointArrayMap||["y"])==null?void 0:se.map(ae=>d.getColumn(ae,!0)||[]))||[],S=this.getColumn("x",!0),x=[],k=this.requireSorting&&!this.is("column")?1:0,M=!!l&&l.positiveValuesOnly,I=u||this.cropped||!s,D,V,L,j=0,W=0;for(s&&(j=(D=s.getExtremes()).min,W=D.max),L=0;L<f;L++)if(V=S[L],I||(S[L+k]||V)>=j&&(S[L-k]||V)<=W)for(let ae of b){let ye=ae[L];mn(ye)&&(ye>0||!M)&&x.push(ye)}let ie={activeYData:x,dataMin:Mg(x),dataMax:Zh(x)};return Ii(this,"afterGetExtremes",{dataExtremes:ie}),ie}applyExtremes(){let i=this.getExtremes();return this.dataMin=i.dataMin,this.dataMax=i.dataMax,i}getFirstValidPoint(i,o=0,s=1){let l=i.length,u=o;for(;u>=0&&u<l;){if(hn(i[u]))return i[u];u+=s}}translate(){var j;this.generatePoints();let i=this.options,o=i.stacking,s=this.xAxis,l=this.enabledDataSorting,u=this.yAxis,d=this.points,f=d.length,m=this.pointPlacementToXValue(),b=!!m,S=i.threshold,x=i.startFromThreshold?S:0,k,M,I,D,V=Number.MAX_VALUE;function L(W){return Pg(W,-1e9,1e9)}for(k=0;k<f;k++){let W,ie=d[k],se=ie.x,ae,ye,he=ie.y,be=ie.low,He=o&&((j=u.stacking)==null?void 0:j.stacks[(this.negStacks&&he<(x?0:S)?"-":"")+this.stackKey]);M=s.translate(se,!1,!1,!1,!0,m),ie.plotX=mn(M)?Og(L(M)):void 0,o&&this.visible&&He&&He[se]&&(D=this.getStackIndicator(D,se,this.index),!ie.isNull&&D.key&&
55(ye=(ae=He[se]).points[D.key]),ae&&Rg(ye)&&(be=ye[0],he=ye[1],be===x&&D.key===He[se].base&&(be=Li(mn(S)?S:u.min)),u.positiveValuesOnly&&hn(be)&&be<=0&&(be=void 0),ie.total=ie.stackTotal=Li(ae.total),ie.percentage=hn(ie.y)&&ae.total?ie.y/ae.total*100:void 0,ie.stackY=he,this.irregularWidths||ae.setOffset(this.pointXOffset||0,this.barW||0,void 0,void 0,void 0,this.xAxis))),ie.yBottom=hn(be)?L(u.translate(be,!1,!0,!1,!0)):void 0,this.dataModify&&(he=this.dataModify.modifyValue(he,k)),mn(he)&&ie.plotX!==void 0&&(W=mn(W=u.translate(he,!1,!0,!1,!0))?L(W):void 0),ie.plotY=W,ie.isInside=this.isPointInside(ie),ie.clientX=b?Og(s.translate(se,!1,!1,!1,!0,m)):M,ie.negative=(ie.y||0)<(S||0),ie.isNull||ie.visible===!1||(I!==void 0&&(V=Math.min(V,Math.abs(M-I))),I=M),ie.zone=this.zones.length?ie.getZone():void 0,!ie.graphic&&this.group&&l&&(ie.isNew=!0)}this.closestPointRangePx=V,Ii(this,"afterTranslate")}getValidPoints(i,o,s){let l=this.chart;return(i||this.points||[]).filter(function(u){let{plotX:d,plotY:f}=u;return!!((s||!u.isNull&&mn(f))&&(!o||l.isInsidePlot(d,f,{inverted:l.inverted})))&&u.visible!==!1})}getClipBox(){let{chart:i,xAxis:o,yAxis:s}=this,{x:l,y:u,width:d,height:f}=Ka(i.clipBox);return o&&o.len!==i.plotSizeX&&(d=o.len),s&&s.len!==i.plotSizeY&&(f=s.len),i.inverted&&!this.invertible&&([d,f]=[f,d]),{x:l,y:u,width:d,height:f}}getSharedClipKey(){return this.sharedClipKey=(this.options.xAxis||0)+","+(this.options.yAxis||0),this.sharedClipKey}setClip(){let{chart:i,group:o,markerGroup:s}=this,l=i.sharedClips,u=i.renderer,d=this.getClipBox(),f=this.getSharedClipKey(),m=l[f];m?m.animate(d):l[f]=m=u.clipRect(d),o&&o.clip(this.options.clip===!1?void 0:m),s&&s.clip()}animate(i){let{chart:o,group:s,markerGroup:l}=this,u=o.inverted,d=Eg(this.options.animation),f=[this.getSharedClipKey(),d.duration,d.easing,d.defer].join(","),m=o.sharedClips[f],b=o.sharedClips[f+"m"];if(i&&s){let S=this.getClipBox();if(m)m.attr("height",S.height);else{S.width=0,u&&(S.x=o.plotHeight),m=o.renderer.clipRect(S),o.sharedClips[f]=m;let x={x:-99,y:-99,width:u?o.plotWidth+199:99,height:u?99:o.plotHeight+199};b=o.renderer.clipRect(x),o.sharedClips[f+"m"]=b}s.clip(m),l==null||l.clip(b)}else if(m&&!m.hasClass("highcharts-animating")){let S=this.getClipBox(),x=d.step;((l==null?void 0:l.element.childNodes.length)||o.series.length>1)&&(d.step=function(k,M){x&&x.apply(M,arguments),M.prop==="width"&&(b==null?void 0:b.element)&&b.attr(u?"height":"width",k+99)}),m.addClass("highcharts-animating").animate(S,d)}}afterAnimate(){this.setClip(),Jh(this.chart.sharedClips,(i,o,s)=>{i&&!this.chart.container.querySelector(`[clip-path="url(#${i.id})"]`)&&(i.destroy(),delete s[o])}),this.finishedAnimating=!0,Ii(this,"afterAnimate")}drawPoints(i=this.points){let o,s,l,u,d,f,m,b=this.chart,S=b.styledMode,{colorAxis:x,options:k}=this,M=k.marker,I=this[this.specialGroup||"markerGroup"],D=this.xAxis,V=Li(M.enabled,!D||!!D.isRadial||null,this.closestPointRangePx>=M.enabledThreshold*M.radius);if(M.enabled!==!1||this._hasPointMarkers)for(o=0;o<i.length;o++)if(u=(l=(s=i[o]).graphic)?"animate":"attr",d=s.marker||{},f=!!s.marker,(V&&d.enabled===void 0||d.enabled)&&!s.isNull&&s.visible!==!1){let L=Li(d.symbol,this.symbol,"rect");m=this.markerAttribs(s,s.selected&&"select"),this.enabledDataSorting&&(s.startXPos=D.reversed?-(m.width||0):D.width);let j=s.isInside!==!1;if(!l&&j&&((m.width||0)>0||s.hasImage)&&(s.graphic=l=b.renderer.symbol(L,m.x,m.y,m.width,m.height,f?d:M).add(I),this.enabledDataSorting&&b.hasRendered&&(l.attr({x:s.startXPos}),u="animate")),l&&u==="animate"&&l[j?"show":"hide"](j).animate(m),l){let W=this.pointAttribs(s,S||!s.selected?void 0:"select");S?x&&l.css({fill:W.fill}):l[u](W)}l&&l.addClass(s.getClassName(),!0)}else l&&(s.graphic=l.destroy())}markerAttribs(i,o){let s=this.options,l=s.marker,u=i.marker||{},d=u.symbol||l.symbol,f={},m,b,S=Li(u.radius,l&&l.radius);o&&(m=l.states[o],S=Li((b=u.states&&u.states[o])&&b.radius,m&&m.radius,S&&S+(m&&m.radiusPlus||0))),i.hasImage=d&&d.indexOf("url")===0,i.hasImage&&(S=0);let x=i.pos();return mn(S)&&x&&(s.crisp&&(x[0]=f_(x[0],i.hasImage?0:d==="rect"?(l==null?void 0:l.lineWidth)||0:1)),f.x=x[0]-S,f.y=x[1]-S),S&&(f.width=f.height=2*S),f}pointAttribs(i,o){let s=this.options.marker,l=i&&i.options,u=l&&l.marker||{},d=l&&l.color,f=i&&i.color,m=i&&i.zone&&i.zone.color,b,S,x=this.color,k,M,I=Li(u.lineWidth,s.lineWidth),D=1;return x=d||m||f||x,k=u.fillColor||s.fillColor||x,M=u.lineColor||s.lineColor||x,o=o||"normal",b=s.states[o]||{},I=Li((S=u.states&&u.states[o]||{}).lineWidth,b.lineWidth,I+Li(S.lineWidthPlus,b.lineWidthPlus,0)),k=S.fillColor||b.fillColor||k,{stroke:M=S.lineColor||b.lineColor||M,"stroke-width":I,fill:k,opacity:D=Li(S.opacity,b.opacity,D)}}
vendor: 4,299 bytes, line 55
55destroy(i){let o,s,l,u=this,d=u.chart,f=/AppleWebKit\/533/.test(h_.navigator.userAgent),m=u.data||[];for(Ii(u,"destroy",{keepEventsForUpdate:i}),this.removeEvents(i),(u.axisTypes||[]).forEach(function(b){(l=u[b])&&l.series&&(Ig(l.series,u),l.isDirty=l.forceRedraw=!0)}),u.legendItem&&u.chart.legend.destroyItem(u),o=m.length;o--;)(s=m[o])&&s.destroy&&s.destroy();for(let b of u.zones)p_(b,void 0,!0);tt.clearTimeout(u.animationTimeout),Jh(u,function(b,S){b instanceof Wn&&!b.survive&&b[f&&S==="group"?"hide":"destroy"]()}),d.hoverSeries===u&&(d.hoverSeries=void 0),Ig(d.series,u),d.orderItems("series"),Jh(u,function(b,S){i&&S==="hcEvents"||delete u[S]})}applyZones(){let{area:i,chart:o,graph:s,zones:l,points:u,xAxis:d,yAxis:f,zoneAxis:m}=this,{inverted:b,renderer:S}=o,x=this[`${m}Axis`],{isXAxis:k,len:M=0,minPointOffset:I=0}=x||{},D=((s==null?void 0:s.strokeWidth())||0)/2+1,V=(L,j=0,W=0)=>{b&&(W=M-W);let{translated:ie=0,lineClip:se}=L,ae=W-ie;se==null||se.push(["L",j,Math.abs(ae)<D?W-D*(ae<=0?-1:1):ie])};if(l.length&&(s||i)&&x&&mn(x.min)){let L=x.getExtremes().max+I,j=se=>{se.forEach((ae,ye)=>{(ae[0]==="M"||ae[0]==="L")&&(se[ye]=[ae[0],k?M-ae[1]:ae[1],k?ae[2]:M-ae[2]])})};if(l.forEach(se=>{se.lineClip=[],se.translated=Pg(x.toPixels(Li(se.value,L),!0)||0,0,M)}),s&&!this.showLine&&s.hide(),i&&i.hide(),m==="y"&&u.length<d.len)for(let se of u){let{plotX:ae,plotY:ye,zone:he}=se,be=he&&l[l.indexOf(he)-1];he&&V(he,ae,ye),be&&V(be,ae,ye)}let W=[],ie=x.toPixels(x.getExtremes().min-I,!0);l.forEach(se=>{var Tt,vt;let ae=se.lineClip||[],ye=Math.round(se.translated||0);d.reversed&&ae.reverse();let{clip:he,simpleClip:be}=se,He=0,$e=0,lt=d.len,Ue=f.len;k?(He=ye,lt=ie):($e=ye,Ue=ie);let yt=[["M",He,$e],["L",lt,$e],["L",lt,Ue],["L",He,Ue],["Z"]],At=[yt[0],...ae,yt[1],yt[2],...W,yt[3],yt[4]];W=ae.reverse(),ie=ye,b&&(j(At),i&&j(yt)),he?(he.animate({d:At}),be==null||be.animate({d:yt})):(he=se.clip=S.path(At),i&&(be=se.simpleClip=S.path(yt))),s&&((Tt=se.graph)==null||Tt.clip(he)),i&&((vt=se.area)==null||vt.clip(be))})}else this.visible&&(s&&s.show(),i&&i.show())}plotGroup(i,o,s,l,u){let d=this[i],f=!d,m={visibility:s,zIndex:l||.1};return hn(this.opacity)&&!this.chart.styledMode&&this.state!=="inactive"&&(m.opacity=this.opacity),d||(this[i]=d=this.chart.renderer.g().add(u)),d.addClass("highcharts-"+o+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(hn(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(d.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),d.attr(m)[f?"attr":"animate"](this.getPlotBox(o)),d}getPlotBox(i){let o=this.xAxis,s=this.yAxis,l=this.chart,u=l.inverted&&!l.polar&&o&&this.invertible&&i==="series";return l.inverted&&(o=s,s=this.xAxis),{translateX:o?o.left:l.plotLeft,translateY:s?s.top:l.plotTop,rotation:u?90:0,rotationOriginX:u?(o.len-s.len)/2:0,rotationOriginY:u?(o.len+s.len)/2:0,scaleX:u?-1:1,scaleY:1}}removeEvents(i){let{eventsToUnbind:o}=this;i||b_(this),o.length&&(o.forEach(s=>{s()}),o.length=0)}render(){var S,x,k,M,I;let i=this,{chart:o,options:s,hasRendered:l}=i,u=Eg(s.animation),d=i.visible?"inherit":"hidden",f=s.zIndex,m=o.seriesGroup,b=i.finishedAnimating?0:u.duration;Ii(this,"render"),i.plotGroup("group","series",d,f,m),i.markerGroup=i.plotGroup("markerGroup","markers",d,f,m),s.clip!==!1&&i.setClip(),b&&((S=i.animate)==null||S.call(i,!0)),i.drawGraph&&(i.drawGraph(),i.applyZones()),i.visible&&i.drawPoints(),(x=i.drawDataLabels)==null||x.call(i),(k=i.redrawPoints)==null||k.call(i),s.enableMouseTracking&&((M=i.drawTracker)==null||M.call(i)),b&&((I=i.animate)==null||I.call(i)),l||(b&&u.defer&&(b+=u.defer),i.animationTimeout=Fg(()=>{i.afterAnimate()},b||0)),i.isDirty=!1,i.hasRendered=!0,Ii(i,"afterRender")}redraw(){let i=this.isDirty||this.isDirtyData;this.translate(),this.render(),i&&delete this.kdTree}reserveSpace(){return this.visible||!this.chart.options.chart.ignoreHiddenSeries}searchPoint(i,o){let{xAxis:s,yAxis:l}=this,u=this.chart.inverted;return this.searchKDTree({clientX:u?s.len-i.chartY+s.pos:i.chartX-s.pos,plotY:u?l.len-i.chartX+l.pos:i.chartY-l.pos},o,i)}buildKDTree(i){this.buildingKdTree=!0;let o=this,s=o.options.findNearestPointBy.indexOf("y")>-1?2:1;delete o.kdTree,Fg(function(){o.kdTree=function l(u,d,f){let m,b,S=u==null?void 0:u.length;
55if(S)return m=o.kdAxisArray[d%f],u.sort((x,k)=>(x[m]||0)-(k[m]||0)),{point:u[b=Math.floor(S/2)],left:l(u.slice(0,b),d+1,f),right:l(u.slice(b+1),d+1,f)}}(o.getValidPoints(void 0,!o.directTouch),s,s),o.buildingKdTree=!1},o.options.kdNow||(i==null?void 0:i.type)==="touchstart"?0:1)}searchKDTree(i,o,s){let l=this,[u,d]=this.kdAxisArray,f=o?"distX":"dist",m=(l.options.findNearestPointBy||"").indexOf("y")>-1?2:1,b=!!l.isBubble;if(this.kdTree||this.buildingKdTree||this.buildKDTree(s),this.kdTree)return function S(x,k,M,I){var ye;let D=k.point,V=l.kdAxisArray[M%I],L,j,W=D;(function(he,be){var vt;let He=he[u],$e=be[u],lt=hn(He)&&hn($e)?He-$e:null,Ue=he[d],yt=be[d],At=hn(Ue)&&hn(yt)?Ue-yt:0,Tt=b&&((vt=be.marker)==null?void 0:vt.radius)||0;be.dist=Math.sqrt((lt&<*lt||0)+At*At)-Tt,be.distX=hn(lt)?Math.abs(lt)-Tt:Number.MAX_VALUE})(x,D);let ie=(x[V]||0)-(D[V]||0)+(b&&((ye=D.marker)==null?void 0:ye.radius)||0),se=ie<0?"left":"right",ae=ie<0?"right":"left";return k[se]&&(W=(L=S(x,k[se],M+1,I))[f]<W[f]?L:D),k[ae]&&Math.sqrt(ie*ie)<W[f]&&(W=(j=S(x,k[ae],M+1,I))[f]<W[f]?j:W),W}(i,this.kdTree,m,m)}pointPlacementToXValue(){let{options:i,xAxis:o}=this,s=i.pointPlacement;return s==="between"&&(s=o.reversed?-.5:.5),mn(s)?s*(i.pointRange||o.pointRange):0}isPointInside(i){let{chart:o,xAxis:s,yAxis:l}=this,{plotX:u=-1,plotY:d=-1}=i;return d>=0&&d<=(l?l.len:o.plotHeight)&&u>=0&&u<=(s?s.len:o.plotWidth)}drawTracker(){var k;let i=this,o=i.options,s=o.trackByArea,l=[].concat((s?i.areaPath:i.graphPath)||[]),u=i.chart,d=u.pointer,f=u.renderer,m=((k=u.options.tooltip)==null?void 0:k.snap)||0,b=()=>{o.enableMouseTracking&&u.hoverSeries!==i&&i.onMouseOver()},S="rgba(192,192,192,"+(d_?1e-4:.002)+")",x=i.tracker;x?x.attr({d:l}):i.graph&&(i.tracker=x=f.path(l).attr({visibility:i.visible?"inherit":"hidden",zIndex:2}).addClass(s?"highcharts-tracker-area":"highcharts-tracker-line").add(i.group),u.styledMode||x.attr({"stroke-linecap":"round","stroke-linejoin":"round",stroke:S,fill:s?S:"none","stroke-width":i.graph.strokeWidth()+(s?0:2*m)}),[i.tracker,i.markerGroup,i.dataLabelsGroup].forEach(M=>{M&&(M.addClass("highcharts-tracker").on("mouseover",b).on("mouseout",I=>{d==null||d.onTrackerMouseOut(I)}),o.cursor&&!u.styledMode&&M.css({cursor:o.cursor}),M.on("touchstart",b))})),Ii(this,"afterDrawTracker")}addPoint(i,o,s,l,u){let d,f,m=this.options,{chart:b,data:S,dataTable:x,xAxis:k}=this,M=k&&k.hasNames&&k.names,I=m.data,D=this.getColumn("x");o=Li(o,!0);let V={series:this};this.pointClass.prototype.applyOptions.apply(V,[i]);let L=V.x;if(f=D.length,this.requireSorting&&L<D[f-1])for(d=!0;f&&D[f-1]>L;)f--;x.setRow(V,f,!0,{addColumns:!1}),M&&V.name&&(M[L]=V.name),I==null||I.splice(f,0,i),(d||this.processedData)&&(this.data.splice(f,0,null),this.processData()),m.legendType==="point"&&this.generatePoints(),s&&(S[0]&&S[0].remove?S[0].remove(!1):([S,I,...Object.values(x.getColumns())].filter(hn).forEach(j=>{j.shift()}),x.rowCount-=1,Ii(x,"afterDeleteRows"))),u!==!1&&Ii(this,"addPoint",{point:V}),this.isDirty=!0,this.isDirtyData=!0,o&&b.redraw(l)}removePoint(i,o,s){let l=this,{chart:u,data:d,points:f,dataTable:m}=l,b=d[i],S=function(){[(f==null?void 0:f.length)===d.length?f:void 0,d,l.options.data,...Object.values(m.getColumns())].filter(hn).forEach(x=>{x.splice(i,1)}),m.rowCount-=1,Ii(m,"afterDeleteRows"),b==null||b.destroy(),l.isDirty=!0,l.isDirtyData=!0,o&&u.redraw()};u_(s,u),o=Li(o,!0),b?b.firePointEvent("remove",null,S):S()}remove(i,o,s,l){let u=this,d=u.chart;function f(){u.destroy(l),d.isDirtyLegend=d.isDirtyBox=!0,d.linkSeries(l),Li(i,!0)&&d.redraw(o)}s!==!1?Ii(u,"remove",null,f):f()}update(i,o){var L,j,W,ie;Ii(this,"update",{options:i=m_(i,this.userOptions)});let s=this,l=s.chart,u=s.userOptions,d=s.initialType||s.type,f=l.options.plotOptions,m=Ya[d].prototype,b=s.finishedAnimating&&{animation:!1},S={},x,k,M=["colorIndex","eventOptions","navigatorSeries","symbolIndex","baseSeries"],I=i.type||u.type||l.options.chart.type,D=!(this.hasDerivedData||I&&I!==this.type||i.keys!==void 0||i.pointStart!==void 0||i.pointInterval!==void 0||i.relativeXValue!==void 0||i.joinBy||i.mapData||["dataGrouping","pointStart","pointInterval","pointIntervalUnit","keys"].some(se=>s.hasOptionChanged(se)));I=I||d,D?(M.push("data","isDirtyData","isDirtyCanvas","points","dataTable","processedData","xIncrement","cropped","_hasPointMarkers","hasDataLabels","nodes","layout","level","mapMap","mapData","minY","maxY","minX","maxX","transformGroups"),i.visible!==!1&&M.push("area","graph"),s.parallelArrays.forEach(function(se){M.push(se+"Data")}),i.data&&(i.dataSorting&&Xa(s.options.dataSorting,i.dataSorting),this.setData(i.data,!1))):this.dataTable.modified=this.dataTable,i=Ka(u,{index:u.index===void 0?s.index:u.index,pointStart:(W=(j=(L=f==null?void 0:f.series)==null?void 0:L.pointStart)!=null?j:u.pointStart)!=null?W:s.getColumn("x")[0]},!D&&{data:s.options.data},i,b),D&&i.data&&(i.data=s.options.data),(M=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(M)).forEac
55h(function(se){M[se]=s[se],delete s[se]});let V=!1;if(Ya[I]){if(V=I!==s.type,s.remove(!1,!1,!1,!0),V)if(l.propFromSeries(),Object.setPrototypeOf)Object.setPrototypeOf(s,Ya[I].prototype);else{let se=Object.hasOwnProperty.call(s,"hcEvents")&&s.hcEvents;for(k in m)s[k]=void 0;Xa(s,Ya[I].prototype),se?s.hcEvents=se:delete s.hcEvents}}else Ic(17,!0,l,{missingModuleFor:I});if(M.forEach(function(se){s[se]=M[se]}),s.init(l,i),D&&this.points)for(let se of((x=s.options).visible===!1?(S.graphic=1,S.dataLabel=1):(this.hasMarkerChanged(x,u)&&(S.graphic=1),(ie=s.hasDataLabels)!=null&&ie.call(s)||(S.dataLabel=1)),this.points))se&&se.series&&(se.resolveColor(),Object.keys(S).length&&se.destroyElements(S),x.showInLegend===!1&&se.legendItem&&l.legend.destroyItem(se));s.initialType=d,l.linkSeries(),l.setSortedData(),V&&s.linkedSeries.length&&(s.isDirtyData=!0),Ii(this,"afterUpdate"),Li(o,!0)&&l.redraw(!!D&&void 0)}setName(i){this.name=this.options.name=this.userOptions.name=i,this.chart.isDirtyLegend=!0}hasOptionChanged(i){var f,m;let o=this.chart,s=this.options[i],l=o.options.plotOptions,u=this.userOptions[i],d=Li((f=l==null?void 0:l[this.type])==null?void 0:f[i],(m=l==null?void 0:l.series)==null?void 0:m[i]);return u&&!hn(d)?s!==u:s!==Li(d,s)}onMouseOver(){let i=this.chart,o=i.hoverSeries,s=i.pointer;s==null||s.setHoverChartIndex(),o&&o!==this&&o.onMouseOut(),this.options.events.mouseOver&&Ii(this,"mouseOver"),this.setState("hover"),i.hoverSeries=this}onMouseOut(){let i=this.options,o=this.chart,s=o.tooltip,l=o.hoverPoint;o.hoverSeries=null,l&&l.onMouseOut(),this&&i.events.mouseOut&&Ii(this,"mouseOut"),s&&!this.stickyTracking&&(!s.shared||this.noSharedTooltip)&&s.hide(),o.series.forEach(function(u){u.setState("",!0)})}setState(i,o){let s=this,l=s.options,u=s.graph,d=l.inactiveOtherPoints,f=l.states,m=Li(f[i||"normal"]&&f[i||"normal"].animation,s.chart.options.chart.animation),b=l.lineWidth,S=l.opacity;if(i=i||"",s.state!==i&&([s.group,s.markerGroup,s.dataLabelsGroup].forEach(function(x){x&&(s.state&&x.removeClass("highcharts-series-"+s.state),i&&x.addClass("highcharts-series-"+i))}),s.state=i,!s.chart.styledMode)){if(f[i]&&f[i].enabled===!1)return;if(i&&(b=f[i].lineWidth||b+(f[i].lineWidthPlus||0),S=Li(f[i].opacity,S)),u&&!u.dashstyle&&mn(b))for(let x of[u,...this.zones.map(k=>k.graph)])x==null||x.animate({"stroke-width":b},m);d||[s.group,s.markerGroup,s.dataLabelsGroup,s.labelBySeries].forEach(function(x){x&&x.animate({opacity:S},m)})}o&&d&&s.points&&s.setAllPointsToState(i||void 0)}setAllPointsToState(i){this.points.forEach(function(o){o.setState&&o.setState(i)})}setVisible(i,o){var m;let s=this,l=s.chart,u=l.options.chart.ignoreHiddenSeries,d=s.visible;s.visible=i=s.options.visible=s.userOptions.visible=i===void 0?!d:i;let f=i?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach(b=>{var S;(S=s[b])==null||S[f]()}),(l.hoverSeries===s||((m=l.hoverPoint)==null?void 0:m.series)===s)&&s.onMouseOut(),s.legendItem&&l.legend.colorizeItem(s,i),s.isDirty=!0,s.options.stacking&&l.series.forEach(b=>{b.options.stacking&&b.visible&&(b.isDirty=!0)}),s.linkedSeries.forEach(b=>{b.setVisible(i,!1)}),u&&(l.isDirtyBox=!0),Ii(s,f),o!==!1&&l.redraw()}show(){this.setVisible(!0)}hide(){this.setVisible(!1)}select(i){this.selected=i=this.options.selected=i===void 0?!this.selected:i,this.checkbox&&(this.checkbox.checked=i),Ii(this,i?"select":"unselect")}shouldShowTooltip(i,o,s={}){return s.series=this,s.visiblePlotOnly=!0,this.chart.isInsidePlot(i,o,s)}drawLegendSymbol(i,o){var s;(s=Ag[this.options.legendSymbol||"rectangle"])==null||s.call(this,i,o)}}Qa.defaultOptions={lineWidth:2,allowPointSelect:!1,crisp:!0,showCheckbox:!1,animation:{duration:1e3},enableMouseTracking:!0,events:{},marker:{enabledThreshold:2,lineColor:"#ffffff",lineWidth:0,radius:4,states:{normal:{animation:!0},hover:{animation:{duration:150},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:"#cccccc",lineColor:"#000000",lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},align:"center",borderWidth:0,defer:!0,formatter:function(){let{numberFormatter:y}=this.series.chart;return typeof this.y!="number"?"":y(this.y,-1)},padding:5,style:{fontSize:"0.7em",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},cropThreshold:300,opacity:1,pointRange:0,softThreshold:!0,states:{normal:{animation:!0},hover:{animation:{duration:150},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:150},opacity:.2}},stickyTracking:!0,turboThreshold:1e3,findNearestPointBy:"x"},Qa.types=zi.seriesTypes,Qa.registerType=zi.registerSeriesType,Xa(Qa.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,directTouch:!1,invertible:!0,isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:ss,requireSorting:!0,sorted:!0}
vendor: 21,669 bytes, line 55
55),zi.series=Qa;let no=Qa,{animObject:x_,setAnimation:w_}=Xi,{registerEventOptions:Dg}=ue,{composed:S_,marginNames:Bg}=v,{distribute:__}=Hs,{format:C_}=Tn,{addEvent:Lc,createElement:k_,css:A_,defined:ef,discardElement:T_,find:E_,fireEvent:Tr,isNumber:Vg,merge:Ws,pick:So,pushUnique:M_,relativeLength:P_,stableSort:O_,syncTimeout:I_}=tt;class tf{constructor(i,o){this.allItems=[],this.initialItemY=0,this.itemHeight=0,this.itemMarginBottom=0,this.itemMarginTop=0,this.itemX=0,this.itemY=0,this.lastItemY=0,this.lastLineHeight=0,this.legendHeight=0,this.legendWidth=0,this.maxItemWidth=0,this.maxLegendWidth=0,this.offsetWidth=0,this.padding=0,this.pages=[],this.symbolHeight=0,this.symbolWidth=0,this.titleHeight=0,this.totalItemWidth=0,this.widthOption=0,this.chart=i,this.setOptions(o),o.enabled&&(this.render(),Dg(this,o),Lc(this.chart,"endResize",function(){this.legend.positionCheckboxes()})),Lc(this.chart,"render",()=>{this.options.enabled&&this.proximate&&(this.proximatePositions(),this.positionItems())})}setOptions(i){let o=So(i.padding,8);this.options=i,this.chart.styledMode||(this.itemStyle=i.itemStyle,this.itemHiddenStyle=Ws(this.itemStyle,i.itemHiddenStyle)),this.itemMarginTop=i.itemMarginTop,this.itemMarginBottom=i.itemMarginBottom,this.padding=o,this.initialItemY=o-5,this.symbolWidth=So(i.symbolWidth,16),this.pages=[],this.proximate=i.layout==="proximate"&&!this.chart.inverted,this.baseline=void 0}update(i,o){let s=this.chart;this.setOptions(Ws(!0,this.options,i)),"events"in this.options&&Dg(this,this.options),this.destroy(),s.isDirtyLegend=s.isDirtyBox=!0,So(o,!0)&&s.redraw(),Tr(this,"afterUpdate",{redraw:o})}colorizeItem(i,o){var b;let s=i.color,{area:l,group:u,label:d,line:f,symbol:m}=i.legendItem||{};if((i instanceof no||i instanceof ss)&&(i.color=((b=i.options)==null?void 0:b.legendSymbolColor)||s),u==null||u[o?"removeClass":"addClass"]("highcharts-legend-item-hidden"),!this.chart.styledMode){let{itemHiddenStyle:S={}}=this,x=S.color,{fillColor:k,fillOpacity:M,lineColor:I,marker:D}=i.options,V=L=>(!o&&(L.fill&&(L.fill=x),L.stroke&&(L.stroke=x)),L);d==null||d.css(Ws(o?this.itemStyle:S)),f==null||f.attr(V({stroke:I||i.color})),m&&m.attr(V(D&&m.isMarker?i.pointAttribs():{fill:i.color})),l==null||l.attr(V({fill:k||i.color,"fill-opacity":k?1:M!=null?M:.75}))}i.color=s,Tr(this,"afterColorizeItem",{item:i,visible:o})}positionItems(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()}positionItem(i){let{group:o,x:s=0,y:l=0}=i.legendItem||{},u=this.options,d=u.symbolPadding,f=!u.rtl,m=i.checkbox;if(o&&o.element){let b={translateX:f?s:this.legendWidth-s-2*d-4,translateY:l};o[ef(o.translateY)?"animate":"attr"](b,void 0,()=>{Tr(this,"afterPositionItem",{item:i})})}m&&(m.x=s,m.y=l)}destroyItem(i){let o=i.checkbox,s=i.legendItem||{};for(let l of["group","label","line","symbol"])s[l]&&(s[l]=s[l].destroy());o&&T_(o),i.legendItem=void 0}destroy(){for(let i of this.getAllItems())this.destroyItem(i);for(let i of["clipRect","up","down","pager","nav","box","title","group"])this[i]&&(this[i]=this[i].destroy());this.display=null}positionCheckboxes(){let i,o=this.group&&this.group.alignAttr,s=this.clipHeight||this.legendHeight,l=this.titleHeight;o&&(i=o.translateY,this.allItems.forEach(function(u){let d,f=u.checkbox;f&&(d=i+l+f.y+(this.scrollOffset||0)+3,A_(f,{left:o.translateX+u.checkboxOffset+f.x-20+"px",top:d+"px",display:this.proximate||d>i-6&&d<i+s-6?"":"none"}))},this))}renderTitle(){let i=this.options,o=this.padding,s=i.title,l,u=0;s.text&&(this.title||(this.title=this.chart.renderer.label(s.text,o-3,o-4,void 0,void 0,void 0,i.useHTML,void 0,"legend-title").attr({zIndex:1}),this.chart.styledMode||this.title.css(s.style),this.title.add(this.group)),s.width||this.title.css({width:this.maxLegendWidth+"px"}),u=(l=this.title.getBBox()).height,this.offsetWidth=l.width,this.contentGroup.attr({translateY:u})),this.titleHeight=u}setText(i){let o=this.options;i.legendItem.label.attr({text:o.labelFormat?C_(o.labelFormat,i,this.chart):o.labelFormatter.call(i)})}renderItem(i){let o=i.legendItem=i.legendItem||{},s=this.chart,l=s.renderer,u=this.options,d=u.layout==="horizontal",f=this.symbolWidth,m=u.symbolPadding||0,b=this.itemStyle,S=this.itemHiddenStyle,x=d?So(u.itemDistance,20):0,k=!u.rtl,M=!i.series,I=!M&&i.series.drawLegendSymbol?i.series:i,D=I.options,V=!!this.createCheckboxForItem&&D&&D.showCheckbox,L=u.useHTML,j=i.options.className,W=o.label,ie=f+m+x+(V?20:0);!W&&(o.group=l.g("legend-item").addClass("highcharts-"+I.type+"-series highcharts-color-"+i.colorIndex+(j?" "+j:"")+(M?" highcharts-series-"+i.index:"")).attr({zIndex:1}).add(this.scrollGroup),o.label=W=l.text("",k?f+m:-m,this.baseline||0,L),s.styledMode||W.css(Ws(i.visible?b:S)),W.attr({align:k?"left":"right",zIndex:2}).add(o.group),!this.baseline&&(this.fontMetrics=l.fontMetrics(W),this.baseline=this.fontMetrics.f+3+this.itemMarginTop,W.attr("y",this.baseline),this.symbolHeight=So(u.symbolHeight,this.fontMetrics.f),u.squareSymbol&&(this.symbolWidth=So(u.symbolWidth,Math.max(this.symbolHeight,16)),ie=this.symbolWidth+m+x+(V?20:0),k&&W.attr("x",this.symbolWidth+m))),I.drawLegendSymbol(this,i),this.setItemEvents&&this.setItemEvents(i,W,L)),V&&!i.checkbox&&this.createCheckboxForItem&&this.createCheckboxForItem(i),this.colorizeItem(i,i.visible),(s.styledMode||!b.width)&&W.css({width:(u.itemWidth||this.widthOption||s.spacingBox.width)-ie+"px"}),this.setText(i);let se=W.getBBox(),ae=this.fontMetrics&&this.fontMetrics.h||0;i.itemWidth=i.checkboxOffset=u.itemWidth||o.labelWidth||se.width+ie,this.maxItemWidth=Math.max(this.maxItemWidth,i.itemWidth),this.totalItemWidth+=i.itemWidth,this.itemHeight=i.itemHeight=Math.round(o.labelHeight||(se.height>1.5*ae?se.height:ae))}layoutItem(i){let o=this.options,s=this.padding,l=o.layout==="horizontal",u=i.itemHeight,d=this.itemMarginBottom,f=this.itemMarginTop,m=l?So(o.itemDistance,20):0,b=this.maxLegendWidth,S=o.alignColumns&&this.totalItemWidth>b?this.maxItemWidth:i.itemWidth,x=i.legendItem||{};l&&this.itemX-s+S>b&&(this.itemX=s,this.lastLineHeight&&(this.itemY+=f+this.lastLineHeight+d),this.lastLineHeight=0),this.lastItemY=f+this.itemY+d,this.lastLineHeight=Math.max(u,this.lastLineHeight),x.x=this.itemX,x.y=this.itemY,l?this.itemX+=S:(this.itemY+=f+u+d,this.lastLineHeight=u),this.offsetWidth=this.widthOption||Math.max((l?this.itemX-s-(i.checkbox?0:m):S)+s,this.offsetWidth)}getAllItems(){let i=[];return this.chart.series.forEach(function(o){let s=o&&o.options;o&&So(s.showInLegend,!ef(s.linkedTo)&&void 0,!0)&&(i=i.concat((o.legendItem||{}).labels||(s.legendType==="point"?o.data:o)))}),Tr(this,"afterGetAllItems",{allItems:i}),i}getAlignment(){let i=this.options;return this.proximate?i.align.charAt(0)+"tv":i.floating?"":i.align.charAt(0)+i.verticalAlign.charAt(0)+i.layout.charAt(0)}adjustMargins(i,o){let s=this.chart,l=this.options,u=this.getAlignment();u&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach(function(d,f){d.test(u)&&!ef(i[f])&&(s[Bg[f]]=Math.max(s[Bg[f]],s.legend[(f+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][f]*l[f%2?"x":"y"]+So(l.margin,12)+o[f]+(s.titleOffset[f]||0)))})}proximatePositions(){let i,o=this.chart,s=[],l=this.options.align==="left";for(let u of(this.allItems.forEach(function(d){let f,m,b=l,S,x;d.yAxis&&(d.xAxis.options.reversed&&(b=!b),d.points&&(f=E_(b?d.points:d.points.slice(0).reverse(),function(k){return Vg(k.plotY)})),m=this.itemMarginTop+d.legendItem.label.getBBox().height+this.itemMarginBottom,x=d.yAxis.top-o.plotTop,S=d.visible?(f?f.plotY:d.yAxis.height)+(x-.3*m):x+d.yAxis.height,s.push({target:S,size:m,item:d}))},this),__(s,o.plotHeight)))i=u.item.legendItem||{},Vg(u.pos)&&(i.y=o.plotTop-o.spacing[0]+u.pos)}render(){let i=this.chart,o=i.renderer,s=this.options,l=this.padding,u=this.getAllItems(),d,f,m,b=this.group,S,x=this.box;this.itemX=l,this.itemY=this.initialItemY,this.offsetWidth=0,this.lastItemY=0,this.widthOption=P_(s.width,i.spacingBox.width-l),S=i.spacingBox.width-2*l-s.x,["rm","lm"].indexOf(this.getAlignment().substring(0,2))>-1&&(S/=2),this.maxLegendWidth=this.widthOption||S,b||(this.group=b=o.g("legend").addClass(s.className||"").attr({zIndex:7}).add(),this.contentGroup=o.g().attr({zIndex:1}).add(b),this.scrollGroup=o.g().add(this.contentGroup)),this.renderTitle(),O_(u,(k,M)=>(k.options&&k.options.legendIndex||0)-(M.options&&M.options.legendIndex||0)),s.reversed&&u.reverse(),this.allItems=u,this.display=d=!!u.length,this.lastLineHeight=0,this.maxItemWidth=0,this.totalItemWidth=0,this.itemHeight=0,u.forEach(this.renderItem,this),u.forEach(this.layoutItem,this),f=(this.widthOption||this.offsetWidth)+l,m=this.lastItemY+this.lastLineHeight+this.titleHeight,m=this.handleOverflow(m)+l,x||(this.box=x=o.rect().addClass("highcharts-legend-box").attr({r:s.borderRadius}).add(b)),i.styledMode||x.attr({stroke:s.borderColor,"stroke-width":s.borderWidth||0,fill:s.backgroundColor||"none"}).shadow(s.shadow),f>0&&m>0&&x[x.placed?"animate":"attr"](x.crisp.call({},{x:0,y:0,width:f,height:m},x.strokeWidth())),b[d?"show":"hide"](),i.styledMode&&b.getStyle("display")==="none"&&(f=m=0),this.legendWidth=f,this.legendHeight=m,d&&this.align(),this.proximate||this.positionItems(),Tr(this,"afterRender")}align(i=this.chart.spacingBox){let o=this.chart,s=this.options,l=i.y;/(lth|ct|rth)/.test(this.getAlignment())&&o.titleOffset[0]>0?l+=o.titleOffset[0]:/(lbh|cb|rbh)/.test(this.getAlignment())&&o.titleOffset[2]>0&&(l-=o.titleOffset[2]),l!==i.y&&(i=Ws(i,{y:l})),o.hasRendered||(this.group.placed=!1),this.group.align(Ws(s,{width:this.legendWidth,height:this.legendHeight,verticalAlign:this.proximate?"top":s.verticalAlign}),!0,i)}handleOverflow(i){let o=this,s=this.chart,l=s.renderer,u=this.options,d=u.y,f=u.verticalAlign==="top",m=this.padding,b=u.maxHeight,S=u.navigation,x=So(S.animation,!0),k=S.arrowSize||12,M=this.pages,I=this.allItems,D=function(ye){typeof ye=="number"?ae.attr({height:ye}):ae&&(o.clipRect=ae.destroy(),o.contentGroup.clip()),o.contentGroup.div&&(o.contentGroup.div.style.clip=ye?"rect("+m+"px,9999px,"+(m+ye)+"px,0)":"auto")},V=function(ye){return o[ye]=l.circle(0,0,1.3*k).translate(k/2,k/2).add(se),s.styledMode||o[ye].attr("fill","rgba(0,0,0,0.0001)"),o[ye]},L,j,W,ie=s.spacingBox.height+(f?-d:d)-m,se=this.nav,ae=this.clipRect;return u.layout!=="horizontal"||u.verticalAlign==="middle"||u.floating||(ie/=2),b&&(ie=Math.min(ie,b)),M.length=0,i&&ie>0&&i>ie&&S.enabled!==!1?(this.clipHeight=L=Math.max(ie-20-this.titleHeight-m,0),this.currentPage=So(this.currentPage,1),this.fullHeight=i,I.forEach((ye,he)=>{let be=(W=ye.legendItem||{}).y||0,He=Math.round(W.label.getBBox().height),$e=M.length;(!$e||be-M[$e-1]>L&&(j||be)!==M[$e-1])&&(M.push(j||be),$e++),W.pageIx=$e-1,j&&((I[he-1].legendItem||{}).pageIx=$e-1),he===I.length-1&&be+He-M[$e-1]>L&&be>M[$e-1]&&(M.push(be),W.pageIx=$e),be!==j&&(j=be)}),ae||(ae=o.clipRect=l.clipRect(0,m-2,9999,0),o.contentGroup.clip(ae)),D(L),se||(this.nav=se=l.g().attr({zIndex:1}).add(this.group),this.up=l.symbol("triangle",0,0,k,k).add(se),V("upTracker").on("click",function(){o.scroll(-1,x)}),this.pager=l.text("",15,10).addClass("highcharts-legend-navigation"),!s.styledMode&&S.style&&this.pager.css(S.style),this.pager.add(se),this.down=l.symbol("triangle-down",0,0,k,k).add(se),V("downTracker").on("click",function(){o.scroll(1,x)})),o.scroll(0),i=ie):se&&(D(),this.nav=se.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),i}scroll(i,o){let s=this.chart,l=this.pages,u=l.length,d=this.clipHeight,f=this.options.navigation,m=this.pager,b=this.padding,S=this.currentPage+i;S>u&&(S=u),S>0&&(o!==void 0&&w_(o,s),this.nav.attr({translateX:b,translateY:d+this.padding+7+this.titleHeight,visibility:"inherit"}),[this.up,this.upTracker].forEach(function(x){x.attr({class:S===1?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})}),m.attr({text:S+"/"+u}),[this.down,this.downTracker].forEach(function(x){x.attr({x:18+this.pager.getBBox().width,class:S===u?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})},this),s.styledMode||(this.up.attr({fill:S===1?f.inactiveColor:f.activeColor}),this.upTracker.css({cursor:S===1?"default":"pointer"}),this.down.attr({fill:S===u?f.inactiveColor:f.activeColor}),this.downTracker.css({cursor:S===u?"default":"pointer"})),this.scrollOffset=-l[S-1]+this.initialItemY,this.scrollGroup.animate({translateY:this.scrollOffset}),this.currentPage=S,this.positionCheckboxes(),I_(()=>{Tr(this,"afterScroll",{currentPage:S})},x_(So(o,s.renderer.globalAnimation,!0)).duration))}setItemEvents(i,o,s){let l=this,u=i.legendItem||{},d=l.chart.renderer.boxWrapper,f=i instanceof ss,m=i instanceof no,b="highcharts-legend-"+(f?"point":"series")+"-active",S=l.chart.styledMode,x=s?[o,u.symbol]:[u.group],k=M=>{l.allItems.forEach(I=>{i!==I&&[I].concat(I.linkedSeries||[]).forEach(D=>{D.setState(M,!f)})})};for(let M of x)M&&M.on("mouseover",function(){i.visible&&k("inactive"),i.setState("hover"),i.visible&&d.addClass(b),S||o.css(l.options.itemHoverStyle)}).on("mouseout",function(){l.chart.styledMode||o.css(Ws(i.visible?l.itemStyle:l.itemHiddenStyle)),k(""),d.removeClass(b),i.setState()}).on("click",function(I){let D=function(){i.setVisible&&i.setVisible(),k(i.visible?"inactive":"")};d.removeClass(b),Tr(l,"itemClick",{browserEvent:I,legendItem:i},D),f?i.firePointEvent("legendItemClick",{browserEvent:I}):m&&Tr(i,"legendItemClick",{browserEvent:I})})}createCheckboxForItem(i){i.checkbox=k_("input",{type:"checkbox",className:"highcharts-legend-checkbox",checked:i.selected,defaultChecked:i.selected},this.options.itemCheckboxStyle,this.chart.container),Lc(i.checkbox,"click",function(o){let s=o.target;Tr(i.series||i,"checkboxClick",{checked:s.checked,item:i},function(){i.select()})})}}(function(y){y.compose=function(i){M_(S_,"Core.Legend")&&Lc(i,"beforeMargins",function(){this.legend=new y(this,this.options.legend)})}})(tf||(tf={}));let qg=tf,{animate:nf,animObject:L_,setAnimation:of}=Xi,{defaultOptions:rf}=Ti,{numberFormat:N_}=Tn,{registerEventOptions:Hg}=ue,{charts:Gs,doc:nu,marginNames:zg,svg:R_,win:jg}=v,{seriesTypes:sf}=zi,{addEvent:af,attr:$g,createElement:lf,css:Vo,defined:ls,diffObjects:Ug,discardElement:F_,erase:D_,error:uf,extend:us,find:cf,fireEvent:ai,getAlignFactor:B_,getStyle:df,isArray:V_,isNumber:Za,isObject:q_,isString:Nc,merge:Er,objectEach:hf,pick:xn,pInt:H_,relativeLength:Wg,removeEvent:Gg,splat:Rc,syncTimeout:z_,uniqueKey:j_}=tt;class cs{static chart(i,o,s){return new cs(i,o,s)}constructor(i,o,s){this.sharedClips={};let l=[...arguments];(Nc(i)||i.nodeName)&&(this.renderTo=l.shift()),this.init(l[0],l[1])}setZoomOptions(){let i=this.options.chart,o=i.zooming;this.zooming={...o,type:xn(i.zoomType,o.type),key:xn(i.zoomKey,o.key),pinchType:xn(i.pinchType,o.pinchType),singleTouch:xn(i.zoomBySingleTouch,o.singleTouch,!1),resetButton:Er(o.resetButton,i.resetZoomButton)}}init(i,o){ai(this,"init",{args:arguments},function(){var d,f;let s=Er(rf,i),l=s.chart,u=this.renderTo||l.renderTo;this.userOptions=us({},i),(this.renderTo=Nc(u)?nu.getElementById(u):u)||uf(13,!0,this),this.margin=[],this.spacing=[],this.labelCollectors=[],this.callback=o,this.isResizing=0,this.options=s,this.axes=[],this.series=[],this.locale=(f=s.lang.locale)!=null?f:(d=this.renderTo.closest("[lang]"))==null?void 0:d.lang,this.time=new ci(us(s.time||{},{locale:this.locale})),s.time=this.time.options,this.numberFormatter=(l.numberFormatter||N_).bind(this),this.styledMode=l.styledMode,this.hasCartesianSeries=l.showAxes,this.index=Gs.length,Gs.push(this),v.chartCount++,Hg(this,l),this.xAxis=[],this.yAxis=[],this.pointCount=this.colorCounter=this.symbolCounter=0,this.setZoomOptions(),ai(this,"afterInit"),this.firstRender()})}initSeries(i){let o=this.options.chart,s=i.type||o.type,l=sf[s];l||uf(17,!0,this,{missingModuleFor:s});let u=new l;return typeof u.init=="function"&&u.init(this,i),u}setSortedData(){this.getSeriesOrderByLinks().forEach(function(i){i.points||i.data||!i.enabledDataSorting||i.setData(i.options.data,!1)})}getSeriesOrderByLinks(){return this.series.concat().sort(function(i,o){return i.linkedSeries.length||o.linkedSeries.length?o.linkedSeries.length-i.linkedSeries.length:0})}orderItems(i,o=0){let s=this[i],l=this.options[i]=Rc(this.options[i]).slice(),u=this.userOptions[i]=this.userOptions[i]?Rc(this.userOptions[i]).slice():[];if(this.hasRendered&&(l.splice(o),u.splice(o)),s)for(let d=o,f=s.length;d<f;++d){let m=s[d];m&&(m.index=d,m instanceof no&&(m.name=m.getName()),m.options.isInternal||(l[d]=m.options,u[d]=m.userOptions))}}isInsidePlot(i,o,s={}){var V;let{inverted:l,plotBox:u,plotLeft:d,plotTop:f,scrollablePlotBox:m}=this,{scrollLeft:b=0,scrollTop:S=0}=s.visiblePlotOnly&&((V=this.scrollablePlotArea)==null?void 0:V.scrollingContainer)||{},x=s.series,k=s.visiblePlotOnly&&m||u,M=s.inverted?o:i,I=s.inverted?i:o,D={x:M,y:I,isInsidePlot:!0,options:s};if(!s.ignoreX){let L=x&&(l&&!this.polar?x.yAxis:x.xAxis)||{pos:d,len:1/0},j=s.paneCoordinates?L.pos+M:d+M;j>=Math.max(b+d,L.pos)&&j<=Math.min(b+d+k.width,L.pos+L.len)||(D.isInsidePlot=!1)}if(!s.ignoreY&&D.isInsidePlot){let L=!l&&s.axis&&!s.axis.isXAxis&&s.axis||x&&(l?x.xAxis:x.yAxis)||{pos:f,len:1/0},j=s.paneCoordinates?L.pos+I:f+I;j>=Math.max(S+f,L.pos)&&j<=Math.min(S+f+k.height,L.pos+L.len)||(D.isInsidePlot=!1)}return ai(this,"afterIsInsidePlot",D),D.isInsidePlot}redraw(i){ai(this,"beforeRedraw");let o=this.hasCartesianSeries?this.axes:this.colorAxis||[],s=this.series,l=this.pointer,u=this.legend,d=this.userOptions.legend,f=this.renderer,m=f.isHidden(),b=[],S,x,k,M=this.isDirtyBox,I=this.isDirtyLegend,D;for(f.rootFontSize=f.boxWrapper.getStyle("font-size"),this.setResponsive&&this.setResponsive(!1),of(!!this.hasRendered&&i,this),m&&this.temporaryDisplay(),this.layOutTitles(!1),k=s.length;k--;)if(((D=s[k]).options.stacking||D.options.centerInCategory)&&(x=!0,D.isDirty)){S=!0;break}if(S)for(k=s.length;k--;)(D=s[k]).options.stacking&&(D.isDirty=!0);s.forEach(function(V){V.isDirty&&(V.options.legendType==="point"?(typeof V.updateTotals=="function"&&V.updateTotals(),I=!0):d&&(d.labelFormatter||d.labelFormat)&&(I=!0)),V.isDirtyData&&ai(V,"updatedData")}),I&&u&&u.options.enabled&&(u.render(),this.isDirtyLegend=!1),x&&this.getStacks(),o.forEach(function(V){V.updateNames(),V.setScale()}),this.getMargins(),o.forEach(function(V){V.isDirty&&(M=!0)}),o.forEach(function(V){let L=V.min+","+V.max;V.extKey!==L&&(V.extKey=L,b.push(function(){ai(V,"afterSetExtremes",us(V.eventArgs,V.getExtremes())),delete V.eventArgs})),(M||x)&&V.redraw()}),M&&this.drawChartBox(),ai(this,"predraw"),s.forEach(function(V){(M||V.isDirty)&&V.visible&&V.redraw(),V.isDirtyData=!1}),l&&l.reset(!0),f.draw(),ai(this,"redraw"),ai(this,"render"),m&&this.temporaryDisplay(!0),b.forEach(function(V){V.call()})}get(i){let o=this.series;function s(u){return u.id===i||u.options&&u.options.id===i}let l=cf(this.axes,s)||cf(this.series,s);for(let u=0;!l&&u<o.length;u++)l=cf(o[u].points||[],s);return l}createAxes(){let i=this.userOptions;for(let o of(ai(this,"createAxes"),["xAxis","yAxis"]))for(let s of i[o]=Rc(i[o]||{}))new Ua(this,s,o);ai(this,"afterCreateAxes")}getSelectedPoints(){return this.series.reduce((i,o)=>(o.getPointsCollection().forEach(s=>{xn(s.selectedStaging,s.selected)&&i.push(s)}),i),[])}getSelectedSeries(){return this.series.filter(i=>i.selected)}setTitle(i,o,s){this.applyDescription("title",i),this.applyDescription("subtitle",o),this.applyDescription("caption",void 0),this.layOutTitles(s)}applyDescription(i,o){var d;let s=this,l=this.options[i]=Er(this.options[i],o),u=this[i];u&&o&&(this[i]=u=u.destroy()),l&&!u&&((u=this.renderer.text(l.text,0,0,l.useHTML).attr({align:l.align,class:"highcharts-"+i,zIndex:l.zIndex||4}).css({textOverflow:"ellipsis",whiteSpace:"nowrap"}).add()).update=function(f,m){s.applyDescription(i,f),s.layOutTitles(m)},this.styledMode||u.css(us(i==="title"?{fontSize:this.options.isStock?"1em":"1.2em"}:{},l.style)),u.textPxLength=u.getBBox().width,u.css({whiteSpace:(d=l.style)==null?void 0:d.whiteSpace}),this[i]=u)}layOutTitles(i=!0){var f,m,b,S;let o=[0,0,0],{options:s,renderer:l,spacingBox:u}=this;["title","subtitle","caption"].forEach(x=>{var V;let k=this[x],M=this.options[x],I=Er(u),D=(k==null?void 0:k.textPxLength)||0;if(k&&M){ai(this,"layOutTitle",{alignTo:I,key:x,textPxLength:D});let L=l.fontMetrics(k),j=L.b,W=L.h,ie=M.verticalAlign||"top",se=ie==="top",ae=se&&M.minScale||1,ye=x==="title"?se?-3:0:se?o[0]+2:0,he=Math.min(I.width/D,1),be=Math.max(ae,he),He=Er({y:ie==="bottom"?j:ye+j},{align:x==="title"?he<ae?"left":"center":(V=this.title)==null?void 0:V.alignValue},M),$e=M.width||(he>ae?this.chartWidth:I.width)/be;k.alignValue!==He.align&&(k.placed=!1);let lt=Math.round(k.css({width:`${$e}px`}).getBBox(M.useHTML).height);if(He.height=lt,k.align(He,!1,I).attr({align:He.align,scaleX:be,scaleY:be,"transform-origin":`${I.x+D*be*B_(He.align)} ${W}`}),!M.floating){let Ue=lt*(lt<1.2*W?1:be);ie==="top"?o[0]=Math.ceil(o[0]+Ue):ie==="bottom"&&(o[2]=Math.ceil(o[2]+Ue))}}},this),o[0]&&(((f=s.title)==null?void 0:f.verticalAlign)||"top")==="top"&&(o[0]+=((m=s.title)==null?void 0:m.margin)||0),o[2]&&((b=s.caption)==null?void 0:b.verticalAlign)==="bottom"&&(o[2]+=((S=s.caption)==null?void 0:S.margin)||0);let d=!this.titleOffset||this.titleOffset.join(",")!==o.join(",");this.titleOffset=o,ai(this,"afterLayOutTitles"),!this.isDirtyBox&&d&&(this.isDirtyBox=this.isDirtyLegend=d,this.hasRendered&&i&&this.isDirtyBox&&this.redraw())}getContainerBox(){let i=[].map.call(this.renderTo.children,s=>{if(s!==this.container){let l=s.style.display;return s.style.display="none",[s,l]}}),o={width:df(this.renderTo,"width",!0)||0,height:df(this.renderTo,"height",!0)||0};
55return i.filter(Boolean).forEach(([s,l])=>{s.style.display=l}),o}getChartSize(){var d;let i=this.options.chart,o=i.width,s=i.height,l=this.getContainerBox(),u=l.height<=1||!((d=this.renderTo.parentElement)!=null&&d.style.height)&&this.renderTo.style.height==="100%";this.chartWidth=Math.max(0,o||l.width||600),this.chartHeight=Math.max(0,Wg(s,this.chartWidth)||(u?400:l.height)),this.containerBox=l}temporaryDisplay(i){let o=this.renderTo,s;if(i)for(;o&&o.style;)o.hcOrigStyle&&(Vo(o,o.hcOrigStyle),delete o.hcOrigStyle),o.hcOrigDetached&&(nu.body.removeChild(o),o.hcOrigDetached=!1),o=o.parentNode;else for(;o&&o.style&&(nu.body.contains(o)||o.parentNode||(o.hcOrigDetached=!0,nu.body.appendChild(o)),(df(o,"display",!1)==="none"||o.hcOricDetached)&&(o.hcOrigStyle={display:o.style.display,height:o.style.height,overflow:o.style.overflow},s={display:"block",overflow:"hidden"},o!==this.renderTo&&(s.height=0),Vo(o,s),o.offsetWidth||o.style.setProperty("display","block","important")),(o=o.parentNode)!==nu.body););}setClassName(i){this.container.className="highcharts-container "+(i||"")}getContainer(){var k;let i,o=this.options,s=o.chart,l="data-highcharts-chart",u=j_(),d=this.renderTo,f=H_($g(d,l));Za(f)&&Gs[f]&&Gs[f].hasRendered&&Gs[f].destroy(),$g(d,l,this.index),d.innerHTML=Qe.emptyHTML,s.skipClone||d.offsetWidth||this.temporaryDisplay(),this.getChartSize();let m=this.chartHeight,b=this.chartWidth;Vo(d,{overflow:"hidden"}),this.styledMode||(i=us({position:"relative",overflow:"hidden",width:b+"px",height:m+"px",textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)",userSelect:"none","touch-action":"manipulation",outline:"none",padding:"0px"},s.style||{}));let S=lf("div",{id:u},i,d);this.container=S,this.getChartSize(),b===this.chartWidth||(b=this.chartWidth,this.styledMode||Vo(S,{width:xn((k=s.style)==null?void 0:k.width,b+"px")})),this.containerBox=this.getContainerBox(),this._cursor=S.style.cursor;let x=s.renderer||!R_?qs.getRendererType(s.renderer):Fo;if(this.renderer=new x(S,b,m,void 0,s.forExport,o.exporting&&o.exporting.allowHTML,this.styledMode),of(void 0,this),this.setClassName(s.className),this.styledMode)for(let M in o.defs)this.renderer.definition(o.defs[M]);else this.renderer.setStyle(s.style);this.renderer.chartIndex=this.index,ai(this,"afterGetContainer")}getMargins(i){let{spacing:o,margin:s,titleOffset:l}=this;this.resetMargins(),l[0]&&!ls(s[0])&&(this.plotTop=Math.max(this.plotTop,l[0]+o[0])),l[2]&&!ls(s[2])&&(this.marginBottom=Math.max(this.marginBottom,l[2]+o[2])),this.legend&&this.legend.display&&this.legend.adjustMargins(s,o),ai(this,"getMargins"),i||this.getAxisMargins()}getAxisMargins(){let i=this,o=i.axisOffset=[0,0,0,0],s=i.colorAxis,l=i.margin,u=function(d){d.forEach(function(f){f.visible&&f.getOffset()})};i.hasCartesianSeries?u(i.axes):s&&s.length&&u(s),zg.forEach(function(d,f){ls(l[f])||(i[d]+=o[f])}),i.setChartSize()}getOptions(){return Ug(this.userOptions,rf)}reflow(i){var u;let o=this,s=o.containerBox,l=o.getContainerBox();(u=o.pointer)==null||delete u.chartPosition,!o.isPrinting&&!o.isResizing&&s&&l.width&&((l.width!==s.width||l.height!==s.height)&&(tt.clearTimeout(o.reflowTimeout),o.reflowTimeout=z_(function(){o.container&&o.setSize(void 0,void 0,!1)},i?100:0)),o.containerBox=l)}setReflow(){let i=this,o=s=>{var l;((l=i.options)==null?void 0:l.chart.reflow)&&i.hasLoaded&&i.reflow(s)};if(typeof ResizeObserver=="function")new ResizeObserver(o).observe(i.renderTo);else{let s=af(jg,"resize",o);af(this,"destroy",s)}}setSize(i,o,s){let l=this,u=l.renderer;l.isResizing+=1,of(s,l);let d=u.globalAnimation;l.oldChartHeight=l.chartHeight,l.oldChartWidth=l.chartWidth,i!==void 0&&(l.options.chart.width=i),o!==void 0&&(l.options.chart.height=o),l.getChartSize();let{chartWidth:f,chartHeight:m,scrollablePixelsX:b=0,scrollablePixelsY:S=0}=l;(l.isDirtyBox||f!==l.oldChartWidth||m!==l.oldChartHeight)&&(l.styledMode||(d?nf:Vo)(l.container,{width:`${f+b}px`,height:`${m+S}px`},d),l.setChartSize(!0),u.setSize(f,m,d),l.axes.forEach(function(x){x.isDirty=!0,x.setScale()}),l.isDirtyLegend=!0,l.isDirtyBox=!0,l.layOutTitles(),l.getMargins(),l.redraw(d),l.oldChartHeight=void 0,ai(l,"resize"),setTimeout(()=>{l&&ai(l,"endResize")},L_(d).duration)),l.isResizing-=1}
55setChartSize(i){let o,s,l,u,{chartHeight:d,chartWidth:f,inverted:m,spacing:b,renderer:S}=this,x=this.clipOffset,k=Math[m?"floor":"round"];this.plotLeft=o=Math.round(this.plotLeft),this.plotTop=s=Math.round(this.plotTop),this.plotWidth=l=Math.max(0,Math.round(f-o-this.marginRight)),this.plotHeight=u=Math.max(0,Math.round(d-s-this.marginBottom)),this.plotSizeX=m?u:l,this.plotSizeY=m?l:u,this.spacingBox=S.spacingBox={x:b[3],y:b[0],width:f-b[3]-b[1],height:d-b[0]-b[2]},this.plotBox=S.plotBox={x:o,y:s,width:l,height:u},x&&(this.clipBox={x:k(x[3]),y:k(x[0]),width:k(this.plotSizeX-x[1]-x[3]),height:k(this.plotSizeY-x[0]-x[2])}),i||(this.axes.forEach(function(M){M.setAxisSize(),M.setAxisTranslation()}),S.alignElements()),ai(this,"afterSetChartSize",{skipAxes:i})}resetMargins(){ai(this,"resetMargins");let i=this,o=i.options.chart,s=o.plotBorderWidth||0,l=s/2;["margin","spacing"].forEach(function(u){let d=o[u],f=q_(d)?d:[d,d,d,d];["Top","Right","Bottom","Left"].forEach(function(m,b){i[u][b]=xn(o[u+m],f[b])})}),zg.forEach(function(u,d){i[u]=xn(i.margin[d],i.spacing[d])}),i.axisOffset=[0,0,0,0],i.clipOffset=[l,l,l,l],i.plotBorderWidth=s}drawChartBox(){let i=this.options.chart,o=this.renderer,s=this.chartWidth,l=this.chartHeight,u=this.styledMode,d=this.plotBGImage,f=i.backgroundColor,m=i.plotBackgroun
vendor: 9,509 bytes, line 55
55dColor,b=i.plotBackgroundImage,S=this.plotLeft,x=this.plotTop,k=this.plotWidth,M=this.plotHeight,I=this.plotBox,D=this.clipRect,V=this.clipBox,L=this.chartBackground,j=this.plotBackground,W=this.plotBorder,ie,se,ae,ye="animate";L||(this.chartBackground=L=o.rect().addClass("highcharts-background").add(),ye="attr"),u?ie=se=L.strokeWidth():(se=(ie=i.borderWidth||0)+(i.shadow?8:0),ae={fill:f||"none"},(ie||L["stroke-width"])&&(ae.stroke=i.borderColor,ae["stroke-width"]=ie),L.attr(ae).shadow(i.shadow)),L[ye]({x:se/2,y:se/2,width:s-se-ie%2,height:l-se-ie%2,r:i.borderRadius}),ye="animate",j||(ye="attr",this.plotBackground=j=o.rect().addClass("highcharts-plot-background").add()),j[ye](I),!u&&(j.attr({fill:m||"none"}).shadow(i.plotShadow),b&&(d?(b!==d.attr("href")&&d.attr("href",b),d.animate(I)):this.plotBGImage=o.image(b,S,x,k,M).add())),D?D.animate({width:V.width,height:V.height}):this.clipRect=o.clipRect(V),ye="animate",W||(ye="attr",this.plotBorder=W=o.rect().addClass("highcharts-plot-border").attr({zIndex:1}).add()),u||W.attr({stroke:i.plotBorderColor,"stroke-width":i.plotBorderWidth||0,fill:"none"}),W[ye](W.crisp({x:S,y:x,width:k,height:M},-W.strokeWidth())),this.isDirtyBox=!1,ai(this,"afterDrawChartBox")}propFromSeries(){let i,o,s,l=this,u=l.options.chart,d=l.options.series;["inverted","angular","polar"].forEach(function(f){for(o=sf[u.type],s=u[f]||o&&o.prototype[f],i=d&&d.length;!s&&i--;)(o=sf[d[i].type])&&o.prototype[f]&&(s=!0);l[f]=s})}linkSeries(i){let o=this,s=o.series;s.forEach(function(l){l.linkedSeries.length=0}),s.forEach(function(l){let{linkedTo:u}=l.options;if(Nc(u)){let d;(d=u===":previous"?o.series[l.index-1]:o.get(u))&&d.linkedParent!==l&&(d.linkedSeries.push(l),l.linkedParent=d,d.enabledDataSorting&&l.setDataSortingOptions(),l.visible=xn(l.options.visible,d.options.visible,l.visible))}}),ai(this,"afterLinkSeries",{isUpdating:i})}renderSeries(){this.series.forEach(function(i){i.translate(),i.render()})}render(){var S;let i=this.axes,o=this.colorAxis,s=this.renderer,l=this.options.chart.axisLayoutRuns||2,u=x=>{x.forEach(k=>{k.visible&&k.render()})},d=0,f=!0,m,b=0;for(let x of(this.setTitle(),ai(this,"beforeMargins"),(S=this.getStacks)==null||S.call(this),this.getMargins(!0),this.setChartSize(),i)){let{options:k}=x,{labels:M}=k;if(this.hasCartesianSeries&&x.horiz&&x.visible&&M.enabled&&x.series.length&&x.coll!=="colorAxis"&&!this.polar){d=k.tickLength,x.createGroups();let I=new di(x,0,"",!0),D=I.createLabel("x",M);if(I.destroy(),D&&xn(M.reserveSpace,!Za(k.crossing))&&(d=D.getBBox().height+M.distance+Math.max(k.offset||0,0)),d){D==null||D.destroy();break}}}for(this.plotHeight=Math.max(this.plotHeight-d,0);(f||m||l>1)&&b<l;){let x=this.plotWidth,k=this.plotHeight;for(let M of i)b===0?M.setScale():(M.horiz&&f||!M.horiz&&m)&&M.setTickInterval(!0);b===0?this.getAxisMargins():this.getMargins(),f=x/this.plotWidth>(b?1:1.1),m=k/this.plotHeight>(b?1:1.05),b++}this.drawChartBox(),this.hasCartesianSeries?u(i):o&&o.length&&u(o),this.seriesGroup||(this.seriesGroup=s.g("series-group").attr({zIndex:3}).shadow(this.options.chart.seriesGroupShadow).add()),this.renderSeries(),this.addCredits(),this.setResponsive&&this.setResponsive(),this.hasRendered=!0}addCredits(i){let o=this,s=Er(!0,this.options.credits,i);s.enabled&&!this.credits&&(this.credits=this.renderer.text(s.text+(this.mapCredits||""),0,0).addClass("highcharts-credits").on("click",function(){s.href&&(jg.location.href=s.href)}).attr({align:s.position.align,zIndex:8}),o.styledMode||this.credits.css(s.style),this.credits.add().align(s.position),this.credits.update=function(l){o.credits=o.credits.destroy(),o.addCredits(l)})}destroy(){let i,o=this,s=o.axes,l=o.series,u=o.container,d=u&&u.parentNode;for(ai(o,"destroy"),o.renderer.forExport?D_(Gs,o):Gs[o.index]=void 0,v.chartCount--,o.renderTo.removeAttribute("data-highcharts-chart"),Gg(o),i=s.length;i--;)s[i]=s[i].destroy();for(this.scroller&&this.scroller.destroy&&this.scroller.destroy(),i=l.length;i--;)l[i]=l[i].destroy();["title","subtitle","chartBackground","plotBackground","plotBGImage","plotBorder","seriesGroup","clipRect","credits","pointer","rangeSelector","legend","resetZoomButton","tooltip","renderer"].forEach(function(f){let m=o[f];m&&m.destroy&&(o[f]=m.destroy())}),u&&(u.innerHTML=Qe.emptyHTML,Gg(u),d&&F_(u)),hf(o,function(f,m){delete o[m]})}firstRender(){var l;let i=this,o=i.options;i.getContainer(),i.resetMargins(),i.setChartSize(),i.propFromSeries(),i.createAxes();let s=V_(o.series)?o.series:[];o.series=[],s.forEach(function(u){i.initSeries(u)}),i.linkSeries(),i.setSortedData(),ai(i,"beforeRender"),i.render(),(l=i.pointer)==null||l.getChartPosition(),i.renderer.imgCount||i.hasLoaded||i.onload(),i.temporaryDisplay(!0)}onload(){this.callbacks.concat([this.callback]).forEach(function(i){i&&this.index!==void 0&&i.apply(this,[this])},this),ai(this,"load"),ai(this,"render"),ls(this.index)&&this.setReflow(),this.warnIfA11yModuleNotLoaded(),this.hasLoaded=!0}warnIfA11yModuleNotLoaded(){let{options:i,title:o}=this;!i||this.accessibility||(this.renderer.boxWrapper.attr({role:"img","aria-label":(o&&o.element.textContent||"").replace(/</g,"<")}),i.accessibility&&i.accessibility.enabled===!1||uf('Highcharts warning: Consider including the "accessibility.js" module to make your chart more usable for people with disabilities. Set the "accessibility.enabled" option to false to remove this warning. See https://www.highcharts.com/docs/accessibility/accessibility-module.',!1,this))}addSeries(i,o,s){let l,u=this;return i&&(o=xn(o,!0),ai(u,"addSeries",{options:i},function(){l=u.initSeries(i),u.isDirtyLegend=!0,u.linkSeries(),l.enabledDataSorting&&l.setData(i.data,!1),ai(u,"afterAddSeries",{series:l}),o&&u.redraw(s)})),l}addAxis(i,o,s,l){return this.createAxis(o?"xAxis":"yAxis",{axis:i,redraw:s,animation:l})}addColorAxis(i,o,s){return this.createAxis("colorAxis",{axis:i,redraw:o,animation:s})}createAxis(i,o){let s=new Ua(this,o.axis,i);return xn(o.redraw,!0)&&this.redraw(o.animation),s}showLoading(i){let o=this,s=o.options,l=s.loading,u=function(){d&&Vo(d,{left:o.plotLeft+"px",top:o.plotTop+"px",width:o.plotWidth+"px",height:o.plotHeight+"px"})},d=o.loadingDiv,f=o.loadingSpan;d||(o.loadingDiv=d=lf("div",{className:"highcharts-loading highcharts-loading-hidden"},null,o.container)),f||(o.loadingSpan=f=lf("span",{className:"highcharts-loading-inner"},null,d),af(o,"redraw",u)),d.className="highcharts-loading",Qe.setElementHTML(f,xn(i,s.lang.loading,"")),o.styledMode||(Vo(d,us(l.style,{zIndex:10})),Vo(f,l.labelStyle),o.loadingShown||(Vo(d,{opacity:0,display:""}),nf(d,{opacity:l.style.opacity||.5},{duration:l.showDuration||0}))),o.loadingShown=!0,u()}hideLoading(){let i=this.options,o=this.loadingDiv;o&&(o.className="highcharts-loading highcharts-loading-hidden",this.styledMode||nf(o,{opacity:0},{duration:i.loading.hideDuration||100,complete:function(){Vo(o,{display:"none"})}})),this.loadingShown=!1}update(i,o,s,l){let u,d,f,m=this,b={credits:"addCredits",title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"},S=i.isResponsiveOptions,x=[];ai(m,"update",{options:i}),S||m.setResponsive(!1,!0),i=Ug(i,m.options),m.userOptions=Er(m.userOptions,i);let k=i.chart;k&&(Er(!0,m.options.chart,k),this.setZoomOptions(),"className"in k&&m.setClassName(k.className),("inverted"in k||"polar"in k||"type"in k)&&(m.propFromSeries(),u=!0),"alignTicks"in k&&(u=!0),"events"in k&&Hg(this,k),hf(k,function(D,V){m.propsRequireUpdateSeries.indexOf("chart."+V)!==-1&&(d=!0),m.propsRequireDirtyBox.indexOf(V)!==-1&&(m.isDirtyBox=!0),m.propsRequireReflow.indexOf(V)===-1||(m.isDirtyBox=!0,S||(f=!0))}),!m.styledMode&&k.style&&m.renderer.setStyle(m.options.chart.style||{})),!m.styledMode&&i.colors&&(this.options.colors=i.colors),hf(i,function(D,V){m[V]&&typeof m[V].update=="function"?m[V].update(D,!1):typeof m[b[V]]=="function"?m[b[V]](D):V!=="colors"&&m.collectionsWithUpdate.indexOf(V)===-1&&Er(!0,m.options[V],i[V]),V!=="chart"&&m.propsRequireUpdateSeries.indexOf(V)!==-1&&(d=!0)}),this.collectionsWithUpdate.forEach(function(D){i[D]&&(Rc(i[D]).forEach(function(V,L){let j,W=ls(V.id);W&&(j=m.get(V.id)),!j&&m[D]&&(j=m[D][xn(V.index,L)])&&(W&&ls(j.options.id)||j.options.isInternal)&&(j=void 0),j&&j.coll===D&&(j.update(V,!1),s&&(j.touched=!0)),!j&&s&&m.collectionsWithInit[D]&&(m.collectionsWithInit[D][0].apply(m,[V].concat(m.collectionsWithInit[D][1]||[]).concat([!1])).touched=!0)}),s&&m[D].forEach(function(V){V.touched||V.options.isInternal?delete V.touched:x.push(V)}))}),x.forEach(function(D){D.chart&&D.remove&&D.remove(!1)}),u&&m.axes.forEach(function(D){D.update({},!1)}),d&&m.getSeriesOrderByLinks().forEach(function(D){D.chart&&D.update({},!1)},this);let M=k&&k.width,I=k&&(Nc(k.height)?Wg(k.height,M||m.chartWidth):k.height);f||Za(M)&&M!==m.chartWidth||Za(I)&&I!==m.chartHeight?m.setSize(M,I,l):xn(o,!0)&&m.redraw(l),ai(m,"afterUpdate",{options:i,redraw:o,animation:l})}setSubtitle(i,o){this.applyDescription("subtitle",i),this.layOutTitles(o)}setCaption(i,o){this.applyDescription("caption",i),this.layOutTitles(o)}showResetZoom(){let i=this,o=rf.lang,s=i.zooming.resetButton,l=s.theme,u=s.relativeTo==="chart"||s.relativeTo==="spacingBox"?null:"plotBox";function d(){i.zoomOut()}ai(this,"beforeShowResetZoom",null,function(){i.resetZoomButton=i.renderer.button(o.resetZoom,null,null,d,l).attr({align:s.position.align,title:o.resetZoomTitle}).addClass("highcharts-reset-zoom").add().align(s.position,!1,u)}),ai(this,"afterShowResetZoom")}zoomOut(){ai(this,"selection",{resetSelection:!0}
55,()=>this.transform({reset:!0,trigger:"zoom"}))}pan(i,o){let s=this,l=typeof o=="object"?o:{enabled:o,type:"x"},u=l.type,d=u&&s[{x:"xAxis",xy:"axes",y:"yAxis"}[u]].filter(m=>m.options.panningEnabled&&!m.options.isInternal),f=s.options.chart;f!=null&&f.panning&&(f.panning=l),ai(this,"pan",{originalEvent:i},()=>{s.transform({axes:d,event:i,to:{x:i.chartX-(s.mouseDownX||0),y:i.chartY-(s.mouseDownY||0)},trigger:"pan"}),Vo(s.container,{cursor:"move"})})}transform(i){var I,D,V;let{axes:o=this.axes,event:s,from:l={},reset:u,selection:d,to:f={},trigger:m}=i,{inverted:b,time:S}=this,x=!1,k,M;for(let L of((I=this.hoverPoints)==null||I.forEach(j=>j.setState()),o)){let{horiz:j,len:W,minPointOffset:ie=0,options:se,reversed:ae}=L,ye=j?"width":"height",he=j?"x":"y",be=xn(f[ye],L.len),He=xn(l[ye],L.len),$e=10>Math.abs(be)?1:be/He,lt=(l[he]||0)+He/2-L.pos,Ue=lt-(((D=f[he])!=null?D:L.pos)+be/2-L.pos)/$e,yt=ae&&!b||!ae&&b?-1:1;if(!u&&(lt<0||lt>L.len))continue;let At=L.toValue(Ue,!0)+(d||L.isOrdinal?0:ie*yt),Tt=L.toValue(Ue+W/$e,!0)-(d||L.isOrdinal?0:ie*yt||0),vt=L.allExtremes;if(At>Tt&&([At,Tt]=[Tt,At]),$e===1&&!u&&L.coll==="yAxis"&&!vt){for(let qo of L.series){let cr=qo.getExtremes(qo.getProcessedData(!0).modified.getColumn("y")||[],!0);vt!=null||(vt={dataMin:Number.MAX_VALUE,dataMax:-Number.MAX_VALUE}),Za(cr.dataMin)&&Za(cr.dataMax)&&(vt.dataMin=Math.min(cr.dataMin,vt.dataMin),vt.dataMax=Math.max(cr.dataMax,vt.dataMax))}L.allExtremes=vt}let{dataMin:zt,dataMax:xt,min:It,max:Dt}=us(L.getExtremes(),vt||{}),li=S.parse(se.min),vi=S.parse(se.max),ti=zt!=null?zt:li,oi=xt!=null?xt:vi,bi=Tt-At,Pn=L.categories?0:Math.min(bi,oi-ti),Qi=ti-Pn*(ls(li)?0:se.minPadding),wn=oi+Pn*(ls(vi)?0:se.maxPadding),gn=L.allowZoomOutside||$e===1||m!=="zoom"&&$e>1,Mi=Math.min(li!=null?li:Qi,Qi,gn?It:Qi),fn=Math.max(vi!=null?vi:wn,wn,gn?Dt:wn);(!L.isOrdinal||L.options.overscroll||$e!==1||u)&&(At<Mi&&(At=Mi,$e>=1&&(Tt=At+bi)),Tt>fn&&(Tt=fn,$e>=1&&(At=Tt-bi)),(u||L.series.length&&(At!==It||Tt!==Dt)&&At>=Mi&&Tt<=fn)&&(d?d[L.coll].push({axis:L,min:At,max:Tt}):(L.isPanning=m!=="zoom",L.isPanning&&(M=!0),L.setExtremes(u?void 0:At,u?void 0:Tt,!1,!1,{move:Ue,trigger:m,scale:$e}),!u&&(At>Mi||Tt<fn)&&m!=="mousewheel"&&(k=!0)),x=!0),s&&(this[j?"mouseDownX":"mouseDownY"]=s[j?"chartX":"chartY"]))}return x&&(d?ai(this,"selection",d,()=>{delete i.selection,i.trigger="zoom",this.transform(i)}):(!k||M||this.resetZoomButton?!k&&this.resetZoomButton&&(this.resetZoomButton=this.resetZoomButton.destroy()):this.showResetZoom(),this.redraw(m==="zoom"&&((V=this.options.chart.animation)!=null?V:this.pointCount<100)))),x}}us(cs.prototype,{callbacks:[],collectionsWithInit:{xAxis:[cs.prototype.addAxis,[!0]],yAxis:[cs.prototype.addAxis,[!1]],series:[cs.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","series"],propsRequireDirtyBox:["backgroundColor","borderColor","borderWidth","borderRadius","plotBackgroun
55dColor","plotBackgroundImage","plotBorderColor","plotBorderWidth","plotShadow","shadow"],propsRequireReflow:["margin","marginTop","marginRight","marginBottom","marginLeft","spacing","spacingTop","spacingRight","spacingBottom","spacingLeft"],propsRequireUpdateSeries:["chart.inverted","chart.polar","chart.ignoreHiddenSeries","chart.type","colors","plotOptions","time","tooltip"]});let{stop:$_}=Xi,{composed:U_}=v,{addEvent:ds,createElement:Fc,css:ff,defined:pf,erase:W_,merge:Yg,pushUnique:Xg}=tt;function G_(){let y=this.scrollablePlotArea;(this.scrollablePixelsX||this.scrollablePixelsY)&&!y&&(this.scrollablePlotArea=y=new ou(this)),y==null||y.applyFixed()}function Kg(){this.chart.scrollablePlotArea&&(this.chart.scrollablePlotArea.isDirty=!0)}class ou{static compose(i,o,s){Xg(U_,this.compose)&&(ds(i,"afterInit",Kg),ds(o,"afterSetChartSize",l=>this.afterSetSize(l.target,l)),ds(o,"render",G_),ds(s,"show",Kg))}static afterSetSize(i,o){let s,l,u,{minWidth:d,minHeight:f}=i.options.chart.scrollablePlotArea||{},{clipBox:m,plotBox:b,inverted:S,renderer:x}=i;if(!x.forExport&&(d?(i.scrollablePixelsX=s=Math.max(0,d-i.chartWidth),s&&(i.scrollablePlotBox=Yg(i.plotBox),b.width=i.plotWidth+=s,m[S?"height":"width"]+=s,u=!0)):f&&(i.scrollablePixelsY=l=Math.max(0,f-i.chartHeight),pf(l)&&(i.scrollablePlotBox=Yg(i.plotBox),b.height=i.plotHeight+=l,m[S?"width":"height"]+=l,u=!1)),pf(u)&&!o.skipAxes))for(let k of i.axes)(k.horiz===u||i.hasParallelCoordinates&&k.coll==="yAxis")&&(k.setAxisSize(),k.setAxisTranslation())}constructor(i){var M,I;let o,s=i.options.chart,l=qs.getRendererType(),u=s.scrollablePlotArea||{},d=this.moveFixedElements.bind(this),f={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};i.scrollablePixelsX&&(f.overflowX="auto"),i.scrollablePixelsY&&(f.overflowY="auto"),this.chart=i;let m=this.parentDiv=Fc("div",{className:"highcharts-scrolling-parent"},{position:"relative"},i.renderTo),b=this.scrollingContainer=Fc("div",{className:"highcharts-scrolling"},f,m),S=this.innerContainer=Fc("div",{className:"highcharts-inner-container"},void 0,b),x=this.fixedDiv=Fc("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:(((M=s.style)==null?void 0:M.zIndex)||0)+2,top:0}
vendor: 5,594 bytes, line 55
55,void 0,!0),k=this.fixedRenderer=new l(x,i.chartWidth,i.chartHeight,s.style);this.mask=k.path().attr({fill:s.backgroundColor||"#fff","fill-opacity":(I=u.opacity)!=null?I:.85,zIndex:-1}).addClass("highcharts-scrollable-mask").add(),b.parentNode.insertBefore(x,b),ff(i.renderTo,{overflow:"visible"}),ds(i,"afterShowResetZoom",d),ds(i,"afterApplyDrilldown",d),ds(i,"afterLayOutTitles",d),ds(b,"scroll",()=>{let{pointer:D,hoverPoint:V}=i;D&&(delete D.chartPosition,V&&(o=V),D.runPointActions(void 0,o,!0))}),S.appendChild(i.container)}applyFixed(){var He;let{chart:i,fixedRenderer:o,isDirty:s,scrollingContainer:l}=this,{axisOffset:u,chartWidth:d,chartHeight:f,container:m,plotHeight:b,plotLeft:S,plotTop:x,plotWidth:k,scrollablePixelsX:M=0,scrollablePixelsY:I=0}=i,{scrollPositionX:D=0,scrollPositionY:V=0}=i.options.chart.scrollablePlotArea||{},L=d+M,j=f+I;o.setSize(d,f),(s==null||s)&&(this.isDirty=!1,this.moveFixedElements()),$_(i.container),ff(m,{width:`${L}px`,height:`${j}px`}),i.renderer.boxWrapper.attr({width:L,height:j,viewBox:[0,0,L,j].join(" ")}),(He=i.chartBackground)==null||He.attr({width:L,height:j}),ff(l,{width:`${d}px`,height:`${f}px`}),pf(s)||(l.scrollLeft=M*D,l.scrollTop=I*V);let W=x-u[0]-1,ie=S-u[3]-1,se=x+b+u[2]+1,ae=S+k+u[1]+1,ye=S+k-M,he=x+b-I,be=[["M",0,0]];M?be=[["M",0,W],["L",S-1,W],["L",S-1,se],["L",0,se],["Z"],["M",ye,W],["L",d,W],["L",d,se],["L",ye,se],["Z"]]:I&&(be=[["M",ie,0],["L",ie,x-1],["L",ae,x-1],["L",ae,0],["Z"],["M",ie,he],["L",ie,f],["L",ae,f],["L",ae,he],["Z"]]),i.redrawTrigger!=="adjustHeight"&&this.mask.attr({d:be})}moveFixedElements(){let i,{container:o,inverted:s,scrollablePixelsX:l,scrollablePixelsY:u}=this.chart,d=this.fixedRenderer,f=ou.fixedSelectors;if(l&&!s?i=".highcharts-yaxis":l&&s||u&&!s?i=".highcharts-xaxis":u&&s&&(i=".highcharts-yaxis"),i&&!(this.chart.hasParallelCoordinates&&i===".highcharts-yaxis"))for(let m of[`${i}:not(.highcharts-radial-axis)`,`${i}-labels:not(.highcharts-radial-axis-labels)`])Xg(f,m);else for(let m of[".highcharts-xaxis",".highcharts-yaxis"])for(let b of[`${m}:not(.highcharts-radial-axis)`,`${m}-labels:not(.highcharts-radial-axis-labels)`])W_(f,b);for(let m of f)[].forEach.call(o.querySelectorAll(m),b=>{(b.namespaceURI===d.SVG_NS?d.box:d.box.parentNode).appendChild(b),b.style.pointerEvents="auto"})}}ou.fixedSelectors=[".highcharts-breadcrumbs-group",".highcharts-contextbutton",".highcharts-caption",".highcharts-credits",".highcharts-drillup-button",".highcharts-legend",".highcharts-legend-checkbox",".highcharts-navigator-series",".highcharts-navigator-xaxis",".highcharts-navigator-yaxis",".highcharts-navigator",".highcharts-range-selector-group",".highcharts-reset-zoom",".highcharts-scrollbar",".highcharts-subtitle",".highcharts-title"];let{format:Y_}=Tn,{series:X_}=zi,{destroyObjectProperties:K_,fireEvent:Qg,getAlignFactor:mf,isNumber:gf,pick:ru}=tt,Zg=class{constructor(y,i,o,s,l){let u=y.chart.inverted,d=y.reversed;this.axis=y;let f=this.isNegative=!!o!=!!d;this.options=i=i||{},this.x=s,this.total=null,this.cumulative=null,this.points={},this.hasValidPoints=!1,this.stack=l,this.leftCliff=0,this.rightCliff=0,this.alignOptions={align:i.align||(u?f?"left":"right":"center"),verticalAlign:i.verticalAlign||(u?"middle":f?"bottom":"top"),y:i.y,x:i.x},this.textAlign=i.textAlign||(u?f?"right":"left":"center")}destroy(){K_(this,this.axis)}render(y){let i=this.axis.chart,o=this.options,s=o.format,l=s?Y_(s,this,i):o.formatter.call(this);if(this.label)this.label.attr({text:l,visibility:"hidden"});else{this.label=i.renderer.label(l,null,void 0,o.shape,void 0,void 0,o.useHTML,!1,"stack-labels");let u={r:o.borderRadius||0,text:l,padding:ru(o.padding,5),visibility:"hidden"};i.styledMode||(u.fill=o.backgroundColor,u.stroke=o.borderColor,u["stroke-width"]=o.borderWidth,this.label.css(o.style||{})),this.label.attr(u),this.label.added||this.label.add(y)}this.label.labelrank=i.plotSizeY,Qg(this,"afterRender")}setOffset(y,i,o,s,l,u){let{alignOptions:d,axis:f,label:m,options:b,textAlign:S}=this,x=f.chart,k=this.getStackBox({xOffset:y,width:i,boxBottom:o,boxTop:s,defaultX:l,xAxis:u}),{verticalAlign:M}=d;if(m&&k){let I=m.getBBox(void 0,0),D=m.padding,V=ru(b.overflow,"justify")==="justify",L;d.x=b.x||0,d.y=b.y||0;let{x:j,y:W}=this.adjustStackPosition({labelBox:I,verticalAlign:M,textAlign:S});k.x-=j,k.y-=W,m.align(d,!1,k),(L=x.isInsidePlot(m.alignAttr.x+d.x+j,m.alignAttr.y+d.y+W))||(V=!1),V&&X_.prototype.justifyDataLabel.call(f,m,d,m.alignAttr,I,k),m.attr({x:m.alignAttr.x,y:m.alignAttr.y,rotation:b.rotation,rotationOriginX:I.width*mf(b.textAlign||"center"),rotationOriginY:I.height/2}),ru(!V&&b.crop,!0)&&(L=gf(m.x)&&gf(m.y)&&x.isInsidePlot(m.x-D+(m.width||0),m.y)&&x.isInsidePlot(m.x+D,m.y)),m[L?"show":"hide"]()}Qg(this,"afterSetOffset",{xOffset:y,width:i})}adjustStackPosition({labelBox:y,verticalAlign:i,textAlign:o}){return{x:y.width/2+y.width/2*(2*mf(o)-1),y:y.height/2*2*(1-mf(i))}}getStackBox(y){let i=this.axis,o=i.chart,{boxTop:s,defaultX:l,xOffset:u,width:d,boxBottom:f}=y,m=i.stacking.usePercentage?100:ru(s,this.total,0),b=i.toPixels(m),S=y.xAxis||o.xAxis[0],x=ru(l,S.translate(this.x))+u,k=Math.abs(b-i.toPixels(f||gf(i.min)&&i.logarithmic&&i.logarithmic.lin2log(i.min)||0)),M=o.inverted,I=this.isNegative;return M?{x:(I?b:b-k)-o.plotLeft,y:S.height-x-d+S.top-o.plotTop,width:k,height:d}:{x:x+S.transB-o.plotLeft,y:(I?b-k:b)-o.plotTop,width:d,height:k}}},{getDeferredAnimation:Q_}=Xi,{series:{prototype:Z_}}=zi,{addEvent:Jg,correctFloat:su,defined:ey,destroyObjectProperties:J_,fireEvent:eC,isNumber:yf,objectEach:Ys,pick:vf}=tt;function tC(){let y=this.inverted;
55this.axes.forEach(i=>{i.stacking&&i.stacking.stacks&&i.hasVisibleSeries&&(i.stacking.oldStacks=i.stacking.stacks)}),this.series.forEach(i=>{let o=i.xAxis&&i.xAxis.options||{};i.options.stacking&&i.reserveSpace()&&(i.stackKey=[i.type,vf(i.options.stack,""),y?o.top:o.left,y?o.height:o.width].join(","))})}function iC(){var i;let y=this.stacking;if(y){let o=y.stacks;Ys(o,(s,l)=>{J_(s),delete o[l]}),(i=y.stackTotalGroup)==null||i.destroy()}}function nC(){this.stacking||(this.stacking=new uC(this))}function oC(y,i,o,s){return!ey(y)||y.x!==i||s&&y.stackKey!==s?y={x:i,index:0,key:s,stackKey:s}:y.index++,y.key=[o,i,y.index].join(","),y}function rC(){let y,i=this,o=i.yAxis,s=i.stackKey||"",l=o.stacking.stacks,u=i.getColumn("x",!0),d=i.options.stacking,f=i[d+"Stacker"];f&&[s,"-"+s].forEach(m=>{var M;let b=u.length,S,x,k;for(;b--;)S=u[b],y=i.getStackIndicator(y,S,i.index,m),x=(M=l[m])==null?void 0:M[S],(k=x==null?void 0:x.points[y.key||""])&&f.call(i,k,x,b)})}function sC(y,i,o){let s=i.total?100/i.total:0;y[0]=su(y[0]*s),y[1]=su(y[1]*s),this.stackedYData[o]=y[1]}function aC(y){(this.is("column")||this.is("columnrange"))&&(this.options.centerInCategory&&this.chart.series.length>1?Z_.setStackedPoints.call(this,y,"group"):y.stacking.resetStacks())}function lC(y,i){var he,be;let o,s,l,u,d,f,m,b=i||this.options.stacking;if(!b||!this.reserveSpace()||({group:"xAxis"}[b]||"yAxis")!==y.coll)return;let S=this.getColumn("x",!0),x=this.getColumn(this.pointValKey||"y",!0),k=[],M=x.length,I=this.options,D=I.threshold||0,V=I.startFromThreshold?D:0,L=I.stack,j=i?`${this.type},${b}`:this.stackKey||"",W="-"+j,ie=this.negStacks,se=y.stacking,ae=se.stacks,ye=se.oldStacks;for(se.stacksTouched+=1,m=0;m<M;m++){let He=S[m]||0,$e=x[m],lt=yf($e)&&$e||0;f=(o=this.getStackIndicator(o,He,this.index)).key||"",ae[d=(s=ie&<<(V?0:D))?W:j]||(ae[d]={}),ae[d][He]||((he=ye[d])!=null&&he[He]?(ae[d][He]=ye[d][He],ae[d][He].total=null):ae[d][He]=new Zg(y,y.options.stackLabels,!!s,He,L)),l=ae[d][He],$e!==null?(l.points[f]=l.points[this.index]=[vf(l.cumulative,V)],ey(l.cumulative)||(l.base=f),l.touched=se.stacksTouched,o.index>0&&this.singleStacks===!1&&(l.points[f][0]=l.points[this.index+","+He+",0"][0])):(delete l.points[f],delete l.points[this.index]);let Ue=l.total||0;b==="percent"?(u=s?j:W,Ue=ie&&((be=ae[u])==null?void 0:be[He])?(u=ae[u][He]).total=Math.max(u.total||0,Ue)+Math.abs(lt):su(Ue+Math.abs(lt))):b==="group"?yf($e)&&Ue++:Ue=su(Ue+lt),b==="group"?l.cumulative=(Ue||1)-1:l.cumulative=su(vf(l.cumulative,V)+lt),l.total=Ue,$e!==null&&(l.points[f].push(l.cumulative),k[m]=l.cumulative,l.hasValidPoints=!0)}b==="percent"&&(se.usePercentage=!0),b!=="group"&&(this.stackedYData=k),se.oldStacks={}}class uC{constructor(i){this.oldStacks={},this.stacks={},this.stacksTouched=0,this.axis=i}buildStacks(){let i,o,s=this.axis,l=s.series,u=s.coll==="xAxis",d=s.options.reversedStacks,f=l.length;for(this.resetStacks(),this.usePercentage=!1,o=f;o--;)i=l[d?o:f-o-1],u&&i.setGroupedPoints(s),i.setStackedPoints(s);if(!u)for(o=0;o<f;o++)l[o].modifyStacks();eC(s,"afterBuildStacks")}cleanStacks(){this.oldStacks&&(this.stacks=this.oldStacks,Ys(this.stacks,i=>{Ys(i,o=>{o.cumulative=o.total})}))}resetStacks(){Ys(this.stacks,i=>{Ys(i,(o,s)=>{yf(o.touched)&&o.touched<this.stacksTouched?(o.destroy(),delete i[s]):(o.total=null,o.cumulative=null)})})}renderStackTotals(){var f;let i=this.axis,o=i.chart,s=o.renderer,l=this.stacks,u=Q_(o,((f=i.options.stackLabels)==null?void 0:f.animation)||!1),d=this.stackTotalGroup=this.stackTotalGroup||s.g("stack-labels").attr({zIndex:6,opacity:0}).add();d.translate(o.plotLeft,o.plotTop),Ys(l,m=>{Ys(m,b=>{b.render(d)})}),d.animate({opacity:1},u)}}(z||(z={})).compose=function(y,i,o){let s=i.prototype,l=o.prototype;s.getStacks||(Jg(y,"init",nC),Jg(y,"destroy",iC),s.getStacks=tC,l.getStackIndicator=oC,l.modifyStacks=rC,l.percentStacker=sC,l.setGroupedPoints=aC,l.setStackedPoints=lC)};let cC=z,{defined:dC,merge:ty,isObject:hC}=tt;class iy extends no{drawGraph(){let i=this.options,o=(this.gappedPath||this.getGraphPath).call(this),s=this.chart.styledMode;
vendor: 18,910 bytes, line 55
55[this,...this.zones].forEach((l,u)=>{let d,f=l.graph,m=f?"animate":"attr",b=l.dashStyle||i.dashStyle;f?(f.endX=this.preventGraphAnimation?null:o.xMap,f.animate({d:o})):o.length&&(l.graph=f=this.chart.renderer.path(o).addClass("highcharts-graph"+(u?` highcharts-zone-graph-${u-1} `:" ")+(u&&l.className||"")).attr({zIndex:1}).add(this.group)),f&&!s&&(d={stroke:!u&&i.lineColor||l.color||this.color||"#cccccc","stroke-width":i.lineWidth||0,fill:this.fillGraph&&this.color||"none"},b?d.dashstyle=b:i.linecap!=="square"&&(d["stroke-linecap"]=d["stroke-linejoin"]="round"),f[m](d).shadow(u<2&&i.shadow&&ty({filterUnits:"userSpaceOnUse"},hC(i.shadow)?i.shadow:{}))),f&&(f.startX=o.xMap,f.isArea=o.isArea)})}getGraphPath(i,o,s){let l=this,u=l.options,d=[],f=[],m,b=u.step,S=(i=i||l.points).reversed;return S&&i.reverse(),(b={right:1,center:2}[b]||b&&3)&&S&&(b=4-b),(i=this.getValidPoints(i,!1,!(u.connectNulls&&!o&&!s))).forEach(function(x,k){let M,I=x.plotX,D=x.plotY,V=i[k-1],L=x.isNull||typeof D!="number";(x.leftCliff||V&&V.rightCliff)&&!s&&(m=!0),L&&!dC(o)&&k>0?m=!u.connectNulls:L&&!o?m=!0:(k===0||m?M=[["M",x.plotX,x.plotY]]:l.getPointSpline?M=[l.getPointSpline(i,x,k)]:b?(M=b===1?[["L",V.plotX,D]]:b===2?[["L",(V.plotX+I)/2,V.plotY],["L",(V.plotX+I)/2,D]]:[["L",I,V.plotY]]).push(["L",I,D]):M=[["L",I,D]],f.push(x.x),b&&(f.push(x.x),b===2&&f.push(x.x)),d.push.apply(d,M),m=!1)}),d.xMap=f,l.graphPath=d,d}}iy.defaultOptions=ty(no.defaultOptions,{legendSymbol:"lineMarker"}),zi.registerSeriesType("line",iy);let{seriesTypes:{line:bf}}=zi,{extend:fC,merge:pC,objectEach:mC,pick:Dc}=tt;class xf extends bf{drawGraph(){this.areaPath=[],super.drawGraph.apply(this);let{areaPath:i,options:o}=this;[this,...this.zones].forEach((s,l)=>{var b;let u={},d=s.fillColor||o.fillColor,f=s.area,m=f?"animate":"attr";f?(f.endX=this.preventGraphAnimation?null:i.xMap,f.animate({d:i})):(u.zIndex=0,(f=s.area=this.chart.renderer.path(i).addClass("highcharts-area"+(l?` highcharts-zone-area-${l-1} `:" ")+(l&&s.className||"")).add(this.group)).isArea=!0),this.chart.styledMode||(u.fill=d||s.color||this.color,u["fill-opacity"]=d?1:(b=o.fillOpacity)!=null?b:.75,f.css({pointerEvents:this.stickyTracking?"none":"auto"})),f[m](u),f.startX=i.xMap,f.shiftUnit=o.step?2:1})}getGraphPath(i){let o,s,l,u=bf.prototype.getGraphPath,d=this.options,f=d.stacking,m=this.yAxis,b=[],S=[],x=this.index,k=m.stacking.stacks[this.stackKey],M=d.threshold,I=Math.round(m.getThreshold(d.threshold)),D=Dc(d.connectNulls,f==="percent"),V=function(ae,ye,he){let be=i[ae],He=f&&k[be.x].points[x],$e=be[he+"Null"]||0,lt=be[he+"Cliff"]||0,Ue,yt,At=!0;lt||$e?(Ue=($e?He[0]:He[1])+lt,yt=He[0]+lt,At=!!$e):!f&&i[ye]&&i[ye].isNull&&(Ue=yt=M),Ue!==void 0&&(S.push({plotX:o,plotY:Ue===null?I:m.getThreshold(Ue),isNull:At,isCliff:!0}),b.push({plotX:o,plotY:yt===null?I:m.getThreshold(yt),doCurve:!1}))};i=i||this.points,f&&(i=this.getStackPoints(i));for(let ae=0,ye=i.length;ae<ye;++ae)f||(i[ae].leftCliff=i[ae].rightCliff=i[ae].leftNull=i[ae].rightNull=void 0),s=i[ae].isNull,o=Dc(i[ae].rectPlotX,i[ae].plotX),l=f?Dc(i[ae].yBottom,I):I,s&&!D||(D||V(ae,ae-1,"left"),s&&!f&&D||(S.push(i[ae]),b.push({x:ae,plotX:o,plotY:l})),D||V(ae,ae+1,"right"));let L=u.call(this,S,!0,!0);b.reversed=!0;let j=u.call(this,b,!0,!0),W=j[0];W&&W[0]==="M"&&(j[0]=["L",W[1],W[2]]);let ie=L.concat(j);ie.length&&ie.push(["Z"]);let se=u.call(this,S,!1,D);return this.chart.series.length>1&&f&&S.some(ae=>ae.isCliff)&&(ie.hasStackedCliffs=se.hasStackedCliffs=!0),ie.xMap=L.xMap,this.areaPath=ie,se}getStackPoints(i){let o=this,s=[],l=[],u=this.xAxis,d=this.yAxis,f=d.stacking.stacks[this.stackKey],m={},b=d.series,S=b.length,x=d.options.reversedStacks?1:-1,k=b.indexOf(o);if(i=i||this.points,this.options.stacking){for(let I=0;I<i.length;I++)i[I].leftNull=i[I].rightNull=void 0,m[i[I].x]=i[I];mC(f,function(I,D){I.total!==null&&l.push(D)}),l.sort(function(I,D){return I-D});let M=b.map(I=>I.visible);l.forEach(function(I,D){let V=0,L,j;if(m[I]&&!m[I].isNull)s.push(m[I]),[-1,1].forEach(function(W){let ie=W===1?"rightNull":"leftNull",se=f[l[D+W]],ae=0;if(se){let ye=k;for(;ye>=0&&ye<S;){let he=b[ye].index;!(L=se.points[he])&&(he===o.index?m[I][ie]=!0:M[ye]&&(j=f[I].points[he])&&(ae-=j[1]-j[0])),ye+=x}}m[I][W===1?"rightCliff":"leftCliff"]=ae});else{let W=k;for(;W>=0&&W<S;){let ie=b[W].index;if(L=f[I].points[ie]){V=L[1];break}W+=x}V=Dc(V,0),V=d.translate(V,0,1,0,1),s.push({isNull:!0,plotX:u.translate(I,0,0,0,1),x:I,plotY:V,yBottom:V})}})}return s}}xf.defaultOptions=pC(bf.defaultOptions,{threshold:0,legendSymbol:"areaMarker"}),fC(xf.prototype,{singleStacks:!1}),zi.registerSeriesType("area",xf);let{line:ny}=zi.seriesTypes,{merge:gC,pick:Bc}=tt;class wf extends ny{getPointSpline(i,o,s){let l,u,d,f,m=o.plotX||0,b=o.plotY||0,S=i[s-1],x=i[s+1];function k(I){return I&&!I.isNull&&I.doCurve!==!1&&!o.isCliff}if(k(S)&&k(x)){let I=S.plotX||0,D=S.plotY||0,V=x.plotX||0,L=x.plotY||0,j=0;l=(1.5*m+I)/2.5,u=(1.5*b+D)/2.5,d=(1.5*m+V)/2.5,f=(1.5*b+L)/2.5,d!==l&&(j=(f-u)*(d-m)/(d-l)+b-f),u+=j,f+=j,u>D&&u>b?(u=Math.max(D,b),f=2*b-u):u<D&&u<b&&(u=Math.min(D,b),f=2*b-u),f>L&&f>b?(f=Math.max(L,b),u=2*b-f):f<L&&f<b&&(f=Math.min(L,b),u=2*b-f),o.rightContX=d,o.rightContY=f,o.controlPoints={low:[l,u],high:[d,f]}}let M=["C",Bc(S.rightContX,S.plotX,0),Bc(S.rightContY,S.plotY,0),Bc(l,m,0),Bc(u,b,0),m,b];return S.rightContX=S.rightContY=void 0,M}}wf.defaultOptions=gC(ny.defaultOptions),zi.registerSeriesType("spline",wf);let oy=wf,{area:yC,area:{prototype:Sf}}=zi.seriesTypes,{extend:vC,merge:bC}=tt;class _f extends oy{}_f.defaultOptions=bC(oy.defaultOptions,yC.defaultOptions),vC(_f.prototype,{getGraphPath:Sf.getGraphPath,getStackPoints:Sf.getStackPoints,drawGraph:Sf.drawGraph}),zi.registerSeriesType("areaspline",_f);let{animObject:xC}=Xi,{parse:wC}=Oi,{noop:SC}=v,{clamp:Vc,crisp:qc,defined:ry,extend:sy,fireEvent:ay,isArray:ly,isNumber:Hc,merge:Cf,pick:Ja,objectEach:_C}=tt;class zc extends no{animate(i){let o,s,l=this,u=this.yAxis,d=u.pos,f=u.reversed,m=l.options,{clipOffset:b,inverted:S}=this.chart,x={},k=S?"translateX":"translateY";i&&b?(x.scaleY=.001,s=Vc(u.toPixels(m.threshold||0),d,d+u.len),S?(s+=f?-Math.floor(b[0]):Math.ceil(b[2]),x.translateX=s-u.len):(s+=f?Math.ceil(b[0]):-Math.floor(b[2]),x.translateY=s),l.clipBox&&l.setClip(),l.group.attr(x)):(o=Number(l.group.attr(k)),l.group.animate({scaleY:1},sy(xC(l.options.animation),{step:function(M,I){l.group&&(x[k]=o+I.pos*(d-o),l.group.attr(x))}})))}init(i,o){super.init.apply(this,arguments);let s=this;(i=s.chart).hasRendered&&i.series.forEach(function(l){l.type===s.type&&(l.isDirty=!0)})}getColumnMetrics(){var D,V;let i=this,o=i.options,s=i.xAxis,l=i.yAxis,u=s.options.reversedStacks,d=s.reversed&&!u||!s.reversed&&u,f={},m,b=0;o.grouping===!1?b=1:i.chart.series.forEach(function(L){let j,W=L.yAxis,ie=L.options;L.type===i.type&&L.reserveSpace()&&l.len===W.len&&l.pos===W.pos&&(ie.stacking&&ie.stacking!=="group"?(f[m=L.stackKey]===void 0&&(f[m]=b++),j=f[m]):ie.grouping!==!1&&(j=b++),L.columnIndex=j)});let S=Math.min(Math.abs(s.transA)*(!((D=s.brokenAxis)!=null&&D.hasBreaks)&&((V=s.ordinal)==null?void 0:V.slope)||o.pointRange||s.closestPointRange||s.tickInterval||1),s.len),x=S*o.groupPadding,k=(S-2*x)/(b||1),M=Math.min(o.maxPointWidth||s.len,Ja(o.pointWidth,k*(1-2*o.pointPadding))),I=(i.columnIndex||0)+(d?1:0);return i.columnMetrics={width:M,offset:(k-M)/2+(x+I*k-S/2)*(d?-1:1),paddedWidth:k,columnCount:b},i.columnMetrics}crispCol(i,o,s,l){let u=this.borderWidth,d=this.chart.inverted;return l=qc(o+l,u,d)-(o=qc(o,u,d)),this.options.crisp&&(s=qc(i+s,u)-(i=qc(i,u))),{x:i,y:o,width:s,height:l}}adjustForMissingColumns(i,o,s,l){var u;if(!s.isNull&&l.columnCount>1){let d=this.xAxis.series.filter(S=>S.visible).map(S=>S.index),f=0,m=0;_C((u=this.xAxis.stacking)==null?void 0:u.stacks,S=>{var I;let x=typeof s.x=="number"?(I=S[s.x.toString()])==null?void 0:I.points:void 0,k=x==null?void 0:x[this.index],M={};if(x&&ly(k)){let D=this.index,V=Object.keys(x).filter(L=>!L.match(",")&&x[L]&&x[L].length>1).map(parseFloat).filter(L=>d.indexOf(L)!==-1).filter(L=>{let j=this.chart.series[L].options,W=j.stacking&&j.stack;if(ry(W)){if(Hc(M[W]))return D===L&&(D=M[W]),!1;M[W]=L}return!0}).sort((L,j)=>j-L);f=V.indexOf(D),m=V.length}}),f=this.xAxis.reversed?m-1-f:f;let b=(m-1)*l.paddedWidth+o;i=(s.plotX||0)+b/2-o-f*l.paddedWidth}return i}translate(){let i=this,o=i.chart,s=i.options,l=i.dense=i.closestPointRange*i.xAxis.transA<2,u=i.borderWidth=Ja(s.borderWidth,l?0:1),d=i.xAxis,f=i.yAxis,m=s.threshold,b=Ja(s.minPointLength,5),S=i.getColumnMetrics(),x=S.width,k=i.pointXOffset=S.offset,M=i.dataMin,I=i.dataMax,D=i.translatedThreshold=f.getThreshold(m),V=i.barW=Math.max(x,1+2*u);s.pointPadding&&s.crisp&&(V=Math.ceil(V)),no.prototype.translate.apply(i),i.points.forEach(function(L){let j=Ja(L.yBottom,D),W=999+Math.abs(j),ie=L.plotX||0,se=Vc(L.plotY,-W,f.len+W),ae,ye=Math.min(se,j),he=Math.max(se,j)-ye,be=x,He=ie+k,$e=V;b&&Math.abs(he)<b&&(he=b,ae=!f.reversed&&!L.negative||f.reversed&&L.negative,Hc(m)&&Hc(I)&&L.y===m&&I<=m&&(f.min||0)<m&&(M!==I||(f.max||0)<=m)&&(ae=!ae,L.negative=!L.negative),ye=Math.abs(ye-D)>b?j-b:D-(ae?b:0)),ry(L.options.pointWidth)&&(He-=Math.round(((be=$e=Math.ceil(L.options.pointWidth))-x)/2)),s.centerInCategory&&(He=i.adjustForMissingColumns(He,be,L,S)),L.barX=He,L.pointWidth=be,L.tooltipPos=o.inverted?[Vc(f.len+f.pos-o.plotLeft-se,f.pos-o.plotLeft,f.len+f.pos-o.plotLeft),d.len+d.pos-o.plotTop-He-$e/2,he]:[d.left-o.plotLeft+He+$e/2,Vc(se+f.pos-o.plotTop,f.pos-o.plotTop,f.len+f.pos-o.plotTop),he],L.shapeType=i.pointClass.prototype.shapeType||"roundedRect",L.shapeArgs=i.crispCol(He,L.isNull?D:ye,$e,L.isNull?0:he)}),ay(this,"afterColumnTranslate")}drawGraph(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")}pointAttribs(i,o){let s=this.options,l=this.pointAttrToOptions||{},u=l.stroke||"borderColor",d=l["stroke-width"]||"borderWidth",f,m,b,S=i&&i.color||this.color,x=i&&i[u]||s[u]||S,k=i&&i.options.dashStyle||s.dashStyle,M=i&&i[d]||s[d]||this[d]||0,I=Ja(i&&i.opacity,s.opacity,1);i&&this.zones.length&&(m=i.getZone(),S=i.options.color||m&&(m.color||i.nonZonedColor)||this.color,m&&(x=m.borderColor||x,k=m.dashStyle||k,M=m.borderWidth||M)),o&&i&&(b=(f=Cf(s.states[o],i.options.states&&i.options.states[o]||{})).brightness,S=f.color||b!==void 0&&wC(S).brighten(f.brightness).get()||S,x=f[u]||x,M=f[d]||M,k=f.dashStyle||k,I=Ja(f.opacity,I));let D={fill:S,stroke:x,"stroke-width":M,opacity:I};return k&&(D.dashstyle=k),D}drawPoints(i=this.points){let o,s=this,l=this.chart,u=s.options,d=l.renderer,f=u.animationLimit||250;i.forEach(function(m){let b=m.plotY,S=m.graphic,x=!!S,k=S&&l.pointCount<f?"animate":"attr";Hc(b)&&m.y!==null?(o=m.shapeArgs,S&&m.hasNewShapeType()&&(S=S.destroy()),s.enabledDataSorting&&(m.startXPos=s.xAxis.reversed?-(o&&o.width||0):s.xAxis.width),!S&&(m.graphic=S=d[m.shapeType](o).add(m.group||s.group),S&&s.enabledDataSorting&&l.hasRendered&&l.pointCount<f&&(S.attr({x:m.startXPos}),x=!0,k="animate")),S&&x&&S[k](Cf(o)),l.styledMode||S[k](s.pointAttribs(m,m.selected&&"select")).shadow(m.allowShadow!==!1&&u.shadow),S&&(S.addClass(m.getClassName(),!0),S.attr({visibility:m.visible?"inherit":"hidden"}))):S&&(m.graphic=S.destroy())})}drawTracker(i=this.points){let o,s=this,l=s.chart,u=l.pointer,d=function(f){u==null||u.normalize(f);let m=u==null?void 0:u.getPointFromEvent(f),b=!l.scrollablePlotArea||l.isInsidePlot(f.chartX-l.plotLeft,f.chartY-l.plotTop,{visiblePlotOnly:!0});u&&m&&s.options.enableMouseTracking&&b&&(u.isDirectTouch=!0,m.onMouseOver(f))};i.forEach(function(f){o=ly(f.dataLabels)?f.dataLabels:f.dataLabel?[f.dataLabel]:[],f.graphic&&(f.graphic.element.point=f),o.forEach(function(m){(m.div||m.element).point=f})}),s._hasTracking||(s.trackerGroups.forEach(function(f){s[f]&&(s[f].addClass("highcharts-tracker").on("mouseover",d).on("mouseout",function(m){u==null||u.onTrackerMouseOut(m)}).on("touchstart",d),!l.styledMode&&s.options.cursor&&s[f].css({cursor:s.options.cursor}))}),s._hasTracking=!0),ay(this,"afterDrawTracker")}remove(){let i=this,o=i.chart;o.hasRendered&&o.series.forEach(function(s){s.type===i.type&&(s.isDirty=!0)}),no.prototype.remove.apply(i,arguments)}}zc.defaultOptions=Cf(no.defaultOptions,{borderRadius:3,centerInCategory:!1,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{halo:!1,brightness:.1},select:{color:"#cccccc",borderColor:"#000000"}},dataLabels:{align:void 0,verticalAlign:void 0,y:void 0},startFromThreshold:!0,stickyTracking:!1,tooltip:{distance:6},threshold:0,borderColor:"#ffffff"}),sy(zc.prototype,{directTouch:!0,getSymbol:SC,negStacks:!0,trackerGroups:["group","dataLabelsGroup"]}),zi.registerSeriesType("column",zc);let jc=zc,{getDeferredAnimation:CC}=Xi,{format:kC}=Tn,{defined:Xs,extend:uy,fireEvent:kf,getAlignFactor:cy,isArray:hs,isString:Af,merge:au,objectEach:AC,pick:lu,pInt:TC,splat:dy}=tt;(function(y){function i(){return m(this).some(S=>S==null?void 0:S.enabled)}function o(S,x,k,M,I){var He;let{chart:D,enabledDataSorting:V}=this,L=this.isCartesian&&D.inverted,j=S.plotX,W=S.plotY,ie=k.rotation||0,se=Xs(j)&&Xs(W)&&D.isInsidePlot(j,Math.round(W),{inverted:L,paneCoordinates:!0,series:this}),ae=ie===0&&lu(k.overflow,V?"none":"justify")==="justify",ye=this.visible&&S.visible!==!1&&Xs(j)&&(S.series.forceDL||V&&!ae||se||lu(k.inside,!!this.options.stacking)&&M&&D.isInsidePlot(j,L?M.x+1:M.y+M.height-1,{inverted:L,paneCoordinates:!0,series:this})),he=S.pos();if(ye&&he){var be;let $e=x.getBBox(),lt=x.getBBox(void 0,0);if(M=uy({x:he[0],y:Math.round(he[1]),width:0,height:0},M||{}),k.alignTo==="plotEdges"&&this.isCartesian&&(M[L?"x":"y"]=0,M[L?"width":"height"]=((He=this.yAxis)==null?void 0:He.len)||0),uy(k,{width:$e.width,height:$e.height}),be=M,V&&this.xAxis&&!ae&&this.setDataLabelStartPos(S,x,I,se,be),x.align(au(k,{width:lt.width,height:lt.height}),!1,M,!1),x.alignAttr.x+=cy(k.align)*(lt.width-$e.width),x.alignAttr.y+=cy(k.verticalAlign)*(lt.height-$e.height),x[x.placed?"animate":"attr"]({x:x.alignAttr.x+($e.width-lt.width)/2,y:x.alignAttr.y+($e.height-lt.height)/2,rotationOriginX:(x.width||0)/2,rotationOriginY:(x.height||0)/2}),ae&&M.height>=0)this.justifyDataLabel(x,k,x.alignAttr,$e,M,I);else if(lu(k.crop,!0)){let{x:Ue,y:yt}=x.alignAttr;ye=D.isInsidePlot(Ue,yt,{paneCoordinates:!0,series:this})&&D.isInsidePlot(Ue+$e.width-1,yt+$e.height-1,{paneCoordinates:!0,series:this})}k.shape&&!ie&&x[I?"attr":"animate"]({anchorX:he[0],anchorY:he[1]})}I&&V&&(x.placed=!1),ye||V&&!ae?(x.show(),x.placed=!0):(x.hide(),x.placed=!1)}function s(){return this.plotGroup("dataLabelsGroup","data-labels",this.hasRendered?"inherit":"hidden",this.options.dataLabels.zIndex||6)}function l(S){let x=this.hasRendered||0,k=this.initDataLabelsGroup().attr({opacity:+x});return!x&&k&&(this.visible&&k.show(),this.options.animation?k.animate({opacity:1},S):k.attr({opacity:1})),k}function u(S){var ye;let x;S=S||this.points;let k=this,M=k.chart,I=k.options,D=M.renderer,{backgroundColor:V,plotBackgroundColor:L}=M.options.chart,j=D.getContrast(Af(L)&&L||Af(V)&&V||"#000000"),W=m(k),{animation:ie,defer:se}=W[0],ae=se?CC(M,ie,k):{defer:0,duration:0};kf(this,"drawDataLabels"),(ye=k.hasDataLabels)!=null&&ye.call(k)&&(x=this.initDataLabels(ae),S.forEach(he=>{var $e,lt;let be=he.dataLabels||[];dy(f(W,he.dlOptions||(($e=he.options)==null?void 0:$e.dataLabels))).forEach((Ue,yt)=>{let At=Ue.enabled&&(he.visible||he.dataLabelOnHidden)&&(!he.isNull||he.dataLabelOnNull)&&function(Pn,Qi){let wn=Qi.filter;if(wn){let gn=wn.operator,Mi=Pn[wn.property],fn=wn.value;return gn===">"&&Mi>fn||gn==="<"&&Mi<fn||gn===">="&&Mi>=fn||gn==="<="&&Mi<=fn||gn==="=="&&Mi==fn||gn==="==="&&Mi===fn||gn==="!="&&Mi!=fn||gn==="!=="&&Mi!==fn}return!0}(he,Ue),{backgroundColor:Tt,borderColor:vt,distance:zt,style:xt={}}=Ue,It,Dt,li,vi={},ti=be[yt],oi=!ti,bi;At&&(Dt=Xs(It=lu(Ue[he.formatPrefix+"Format"],Ue.format))?kC(It,he,M):(Ue[he.formatPrefix+"Formatter"]||Ue.formatter).call(he,Ue),li=Ue.rotation,!M.styledMode&&(xt.color=lu(Ue.color,xt.color,Af(k.color)?k.color:void 0,"#000000"),xt.color==="contrast"?(Tt!=="none"&&(bi=Tt),he.contrastColor=D.getContrast(bi!=="auto"&&bi||he.color||k.color),xt.color=bi||!Xs(zt)&&Ue.inside||0>TC(zt||0)||I.stacking?he.contrastColor:j):delete he.contrastColor,I.cursor&&(xt.cursor=I.cursor)),vi={r:Ue.borderRadius||0,rotation:li,padding:Ue.padding,zIndex:1},M.styledMode||(vi.fill=Tt==="auto"?he.color:Tt,vi.stroke=vt==="auto"?he.color:vt,vi["stroke-width"]=Ue.borderWidth),AC(vi,(Pn,Qi)=>{Pn===void 0&&delete vi[Qi]})),!ti||At&&Xs(Dt)&&!!ti.div==!!Ue.useHTML&&(ti.rotation&&Ue.rotation||ti.rotation===Ue.rotation)||(ti=void 0,oi=!0),At&&Xs(Dt)&&(ti?vi.text=Dt:(ti=D.label(Dt,0,0,Ue.shape,void 0,void 0,Ue.useHTML,void 0,"data-label")).addClass(" highcharts-data-label-color-"+he.colorIndex+" "+(Ue.className||"")+(Ue.useHTML?" highcharts-tracker":"")),ti&&(ti.options=Ue,ti.attr(vi),M.styledMode?xt.width&&ti.css({width:xt.width,textOverflow:xt.textOverflow,whiteSpace:xt.whiteSpace}):ti.css(xt).shadow(Ue.shadow),kf(ti,"beforeAddingDataLabel",{labelOptions:Ue,point:he}),ti.added||ti.add(x),k.alignDataLabel(he,ti,Ue,void 0,oi),ti.isActive=!0,be[yt]&&be[yt]!==ti&&be[yt].destroy(),be[yt]=ti))});let He=be.length;for(;He--;)be[He]&&be[He].isActive?be[He].isActive=!1:((lt=be[He])==null||lt.destroy(),be.splice(He,1));he.dataLabel=be[0],he.dataLabels=be})),kf(this,"afterDrawDataLabels")}function d(S,x,k,M,I,D){let V=this.chart,L=x.align,j=x.verticalAlign,W=S.box?0:S.padding||0,ie=V.inverted?this.yAxis:this.xAxis,se=ie?ie.left-V.plotLeft:0,ae=V.inverted?this.xAxis:this.yAxis,ye=ae?ae.top-V.plotTop:0,{x:he=0,y:be=0}=x,He,$e;return(He=(k.x||0)+W+se)<0&&(L==="right"&&he>=0?(x.align="left",x.inside=!0):he-=He,$e=!0),(He=(k.x||0)+M.width-W+se)>V.plotWidth&&(L==="left"&&he<=0?(x.align="right",x.inside=!0):he+=V.plotWidth-He,$e=!0),(He=k.y+W+ye)<0&&(j==="bottom"&&be>=0?(x.verticalAlign="top",x.inside=!0):be-=He,$e=!0),(He=(k.y||0)+M.height-W+ye)>V.plotHeight&&(j==="top"&&be<=0?(x.verticalAlign="bottom",x.inside=!0):be+=V.plotHeight-He,$e=!0),$e&&(x.x=he,x.y=be,S.placed=!D,S.align(x,void 0,I)),$e}function f(S,x){let k=[],M;if(hs(S)&&!hs(x))k=S.map(function(I){return au(I,x)});else if(hs(x)&&!hs(S))k=x.map(function(I){return au(S,I)});else if(hs(S)||hs(x)){if(hs(S)&&hs(x))for(M=Math.max(S.length,x.length);M--;)k[M]=au(S[M],x[M])}else k=au(S,x);return k}function m(S){var k,M;let x=S.chart.options.plotOptions;return dy(f(f((k=x==null?void 0:x.series)==null?void 0:k.dataLabels,(M=x==null?void 0:x[S.type])==null?void 0:M.dataLabels),S.options.dataLabels))}function b(S,x,k,M,I){let D=this.chart,V=D.inverted,L=this.xAxis,j=L.reversed,W=((V?x.height:x.width)||0)/2,ie=S.pointWidth,se=ie?ie/2:0;x.startXPos=V?I.x:j?-W-se:L.width-W+se,x.startYPos=V?j?this.yAxis.height-W+se:-W-se:I.y,M?x.visibility==="hidden"&&(x.show(),x.attr({opacity:0}).animate({opacity:1})):x.attr({opacity:1}).animate({opacity:0}
55,void 0,x.hide),D.hasRendered&&(k&&x.attr({x:x.startXPos,y:x.startYPos}),x.placed=!0)}y.compose=function(S){let x=S.prototype;x.initDataLabels||(x.initDataLabels=l,x.initDataLabelsGroup=s,x.alignDataLabel=o,x.drawDataLabels=u,x.justifyDataLabel=d,x.setDataLabelStartPos=b,x.hasDataLabels=i)}})(U||(U={}));let $c=U,{composed:EC}=v,{series:hy}=zi,{merge:MC,pick:uu,pushUnique:PC}=tt;(function(y){function i(o,s,l,u,d){let f=this.chart.inverted,m=o.series,b=(m.xAxis?m.xAxis.len:this.chart.plotSizeX)||0,S=(m.yAxis?m.yAxis.len:this.chart.plotSizeY)||0,x=o.dlBox||o.shapeArgs,k=uu(o.below,o.plotY>uu(this.translatedThreshold,S)),M=uu(l.inside,!!this.options.stacking);if(x){if(u=MC(x),!(l.overflow==="allow"&&l.crop===!1)){u.y<0&&(u.height+=u.y,u.y=0);let I=u.y+u.height-S;I>0&&I<u.height-1&&(u.height-=I)}f&&(u={x:S-u.y-u.height,y:b-u.x-u.width,width:u.height,height:u.width}),M||(f?(u.x+=k?0:u.width,u.width=0):(u.y+=k?u.height:0,u.height=0))}l.align=uu(l.align,!f||M?"center":k?"right":"left"),l.verticalAlign=uu(l.verticalAlign,f||M?"middle":k?"top":"bottom"),hy.prototype.alignDataLabel.call(this,o,s,l,u,d),l.inside&&o.contrastColor&&s.css({color:o.contrastColor})}y.compose=function(o){$c.compose(hy),PC(EC,"ColumnDataLabel")&&(o.prototype.alignDataLabel=i)}})(J||(J={}));let OC=J,{extend:IC,merge:LC}=tt;class Tf extends jc{}Tf.defaultOptions=LC(jc.defaultOptions,{}),IC(Tf.prototype,{inverted:!0}),zi.registerSeriesType("bar",Tf);let{column:NC,line:fy}=zi.seriesTypes,{addEvent:RC,extend:FC,merge:DC}=tt;class Uc extends fy{applyJitter(){let i=this,o=this.options.jitter,s=this.points.length;o&&this.points.forEach(function(l,u){["x","y"].forEach(function(d,f){if(o[d]&&!l.isNull){let m=`plot${d.toUpperCase()}`,b=i[`${d}Axis`],S=o[d]*b.transA;if(b&&!b.logarithmic){let x=Math.max(0,(l[m]||0)-S),k=Math.min(b.len,(l[m]||0)+S);l[m]=x+(k-x)*function(M){let I=1e4*Math.sin(M);return I-Math.floor(I)}(u+f*s),d==="x"&&(l.clientX=l.plotX)}}})})}drawGraph(){this.options.lineWidth?super.drawGraph():this.graph&&(this.graph=this.graph.destroy())}}Uc.defaultOptions=DC(fy.defaultOptions,{lineWidth:0,findNearestPointBy:"xy",jitter:{x:0,y:0},marker:{enabled:!0},tooltip:{headerFormat:'<span style="color:{point.color}">\u25CF</span> <span style="font-size: 0.8em"> {series.name}</span><br/>',pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>"}}),FC(Uc.prototype,{drawTracker:NC.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"]}),RC(Uc,"afterTranslate",function(){this.applyJitter()}),zi.registerSeriesType("scatter",Uc);let{deg2rad:py}=v,{fireEvent:BC,isNumber:Ef,pick:Wc,relativeLength:VC}=tt;(function(y){y.getCenter=function(){let i=this.options,o=this.chart,s=2*(i.slicedOffset||0),l=o.plotWidth-2*s,u=o.plotHeight-2*s,d=i.center,f=Math.min(l,u),m=i.thickness,b,S=i.size,x=i.innerSize||0,k,M;typeof S=="string"&&(S=parseFloat(S)),typeof x=="string"&&(x=parseFloat(x));let I=[Wc(d==null?void 0:d[0],"50%"),Wc(d==null?void 0:d[1],"50%"),Wc(S&&S<0?void 0:i.size,"100%"),Wc(x&&x<0?void 0:i.innerSize||0,"0%")];for(!o.angular||this instanceof no||(I[3]=0),k=0;k<4;++k)M=I[k],b=k<2||k===2&&/%$/.test(M),I[k]=VC(M,[l,u,f,I[2]][k])+(b?s:0);return I[3]>I[2]&&(I[3]=I[2]),Ef(m)&&2*m<I[2]&&m>0&&(I[3]=I[2]-2*m),BC(this,"afterGetCenter",{positions:I}),I},y.getStartAndEndRadians=function(i,o){let s=Ef(i)?i:0,l=Ef(o)&&o>s&&o-s<360?o:s+360;return{start:py*(s+-90),end:py*(l+-90)}}})(ee||(ee={}));let my=ee,{setAnimation:qC}=Xi,{addEvent:gy,defined:HC,extend:zC,isNumber:jC,pick:$C,relativeLength:UC}=tt;class yy extends ss{getConnectorPath(i){let o=i.dataLabelPosition,s=i.options||{},l=s.connectorShape,u=this.connectorShapes[l]||l;return o&&u.call(this,{...o.computed,alignment:o.alignment},o.connectorPosition,s)||[]}getTranslate(){return this.sliced&&this.slicedTranslation||{translateX:0,translateY:0}}haloPath(i){let o=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(o.x,o.y,o.r+i,o.r+i,{innerR:o.r-1,start:o.start,end:o.end,borderRadius:o.borderRadius})}constructor(i,o,s){var u;super(i,o,s),this.half=0,(u=this.name)!=null||(this.name="Slice");let l=d=>{this.slice(d.type==="select")};gy(this,"select",l),gy(this,"unselect",l)}isValid(){return jC(this.y)&&this.y>=0}setVisible(i,o=!0){i!==this.visible&&this.update({visible:i!=null?i:!this.visible},o,void 0,!1)}slice(i,o,s){let l=this.series;qC(s,l.chart),o=$C(o,!0),this.sliced=this.options.sliced=i=HC(i)?i:!this.sliced,l.options.data[l.data.indexOf(this)]=this.options,this.graphic&&this.graphic.animate(this.getTranslate())}}zC(yy.prototype,{connectorShapes:{fixedOffset:function(y,i,o){let s=i.breakAt,l=i.touchingSliceAt,u=o.softConnector?["C",y.x+(y.alignment==="left"?-5:5),y.y,2*s.x-l.x,2*s.y-l.y,s.x,s.y]:["L",s.x,s.y];return[["M",y.x,y.y],u,["L",l.x,l.y]]},straight:function(y,i){let o=i.touchingSliceAt;return[["M",y.x,y.y],["L",o.x,o.y]]},crookedLine:function(y,i,o){let{angle:s=this.angle||0,breakAt:l,touchingSliceAt:u}=i,{series:d}=this,[f,m,b]=d.center,S=b/2,{plotLeft:x,plotWidth:k}=d.chart,M=y.alignment==="left",{x:I,y:D}=y,V=l.x;if(o.crookDistance){let j=UC(o.crookDistance,1);V=M?f+S+(k+x-f-S)*(1-j):x+(f-S)*j}else V=f+(m-D)*Math.tan(s-Math.PI/2);let L=[["M",I,D]];return(M?V<=I&&V>=l.x:V>=I&&V<=l.x)&&L.push(["L",V,D]),L.push(["L",l.x,l.y],["L",u.x,u.y]),L}}});let{getStartAndEndRadians:WC}=my,{noop:vy}=v,{clamp:GC,extend:YC,fireEvent:by,merge:Mf,pick:XC}=tt;class Pf extends no{animate(i){let o=this,s=o.points,l=o.startAngleRad;
vendor: 15,749 bytes, line 55
55i||s.forEach(function(u){let d=u.graphic,f=u.shapeArgs;d&&f&&(d.attr({r:XC(u.startR,o.center&&o.center[3]/2),start:l,end:l}),d.animate({r:f.r,start:f.start,end:f.end},o.options.animation))})}drawEmpty(){let i,o,s=this.startAngleRad,l=this.endAngleRad,u=this.options;this.total===0&&this.center?(i=this.center[0],o=this.center[1],this.graph||(this.graph=this.chart.renderer.arc(i,o,this.center[1]/2,0,s,l).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:C.arc(i,o,this.center[2]/2,0,{start:s,end:l,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":u.borderWidth,fill:u.fillColor||"none",stroke:u.color||"#cccccc"})):this.graph&&(this.graph=this.graph.destroy())}drawPoints(){let i=this.chart.renderer;this.points.forEach(function(o){o.graphic&&o.hasNewShapeType()&&(o.graphic=o.graphic.destroy()),o.graphic||(o.graphic=i[o.shapeType](o.shapeArgs).add(o.series.group),o.delayedRendering=!0)})}generatePoints(){super.generatePoints(),this.updateTotals()}getX(i,o,s,l){let u=this.center,d=this.radii?this.radii[s.index]||0:u[2]/2,f=l.dataLabelPosition,m=(f==null?void 0:f.distance)||0,b=Math.asin(GC((i-u[1])/(d+m),-1,1));return u[0]+Math.cos(b)*(d+m)*(o?-1:1)+(m>0?(o?-1:1)*(l.padding||0):0)}hasData(){return!!this.dataTable.rowCount}redrawPoints(){let i,o,s,l,u=this,d=u.chart;this.drawEmpty(),u.group&&!d.styledMode&&u.group.shadow(u.options.shadow),u.points.forEach(function(f){let m={};o=f.graphic,!f.isNull&&o?(l=f.shapeArgs,i=f.getTranslate(),d.styledMode||(s=u.pointAttribs(f,f.selected&&"select")),f.delayedRendering?(o.setRadialReference(u.center).attr(l).attr(i),d.styledMode||o.attr(s).attr({"stroke-linejoin":"round"}),f.delayedRendering=!1):(o.setRadialReference(u.center),d.styledMode||Mf(!0,m,s),Mf(!0,m,l,i),o.animate(m)),o.attr({visibility:f.visible?"inherit":"hidden"}),o.addClass(f.getClassName(),!0)):o&&(f.graphic=o.destroy())})}sortByAngle(i,o){i.sort(function(s,l){return s.angle!==void 0&&(l.angle-s.angle)*o})}translate(i){by(this,"translate"),this.generatePoints();let o=this.options,s=o.slicedOffset,l=WC(o.startAngle,o.endAngle),u=this.startAngleRad=l.start,d=(this.endAngleRad=l.end)-u,f=this.points,m=o.ignoreHiddenPoint,b=f.length,S,x,k,M,I,D,V,L=0;for(i||(this.center=i=this.getCenter()),D=0;D<b;D++){V=f[D],S=u+L*d,V.isValid()&&(!m||V.visible)&&(L+=V.percentage/100),x=u+L*d;let j={x:i[0],y:i[1],r:i[2]/2,innerR:i[3]/2,start:Math.round(1e3*S)/1e3,end:Math.round(1e3*x)/1e3};V.shapeType="arc",V.shapeArgs=j,(k=(x+S)/2)>1.5*Math.PI?k-=2*Math.PI:k<-Math.PI/2&&(k+=2*Math.PI),V.slicedTranslation={translateX:Math.round(Math.cos(k)*s),translateY:Math.round(Math.sin(k)*s)},M=Math.cos(k)*i[2]/2,I=Math.sin(k)*i[2]/2,V.tooltipPos=[i[0]+.7*M,i[1]+.7*I],V.half=k<-Math.PI/2||k>Math.PI/2?1:0,V.angle=k}by(this,"afterTranslate")}updateTotals(){let i=this.points,o=i.length,s=this.options.ignoreHiddenPoint,l,u,d=0;for(l=0;l<o;l++)(u=i[l]).isValid()&&(!s||u.visible)&&(d+=u.y);for(l=0,this.total=d;l<o;l++)(u=i[l]).percentage=d>0&&(u.visible||!s)?u.y/d*100:0,u.total=d}}Pf.defaultOptions=Mf(no.defaultOptions,{borderRadius:3,center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{connectorPadding:5,connectorShape:"crookedLine",crookDistance:void 0,distance:30,enabled:!0,formatter:function(){return this.isNull?void 0:this.name},softConnector:!0,x:0},fillColor:void 0,ignoreHiddenPoint:!0,inactiveOtherPoints:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:"#ffffff",borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}}),YC(Pf.prototype,{axisTypes:[],directTouch:!0,drawGraph:void 0,drawTracker:jc.prototype.drawTracker,getCenter:my.getCenter,getSymbol:vy,invertible:!1,isCartesian:!1,noSharedTooltip:!0,pointAttribs:jc.prototype.pointAttribs,pointClass:yy,requireSorting:!1,searchPoint:vy,trackerGroups:["group","dataLabelsGroup"]}),zi.registerSeriesType("pie",Pf);let{composed:KC,noop:QC}=v,{distribute:ZC}=Hs,{series:xy}=zi,{arrayMax:JC,clamp:wy,defined:Sy,pick:ek,pushUnique:tk,relativeLength:_y}=tt;(function(y){let i={radialDistributionY:function(d,f){var m;return(((m=f.dataLabelPosition)==null?void 0:m.top)||0)+d.distributeBox.pos},radialDistributionX:function(d,f,m,b,S){let x=S.dataLabelPosition;return d.getX(m<((x==null?void 0:x.top)||0)+2||m>((x==null?void 0:x.bottom)||0)-2?b:m,f.half,f,S)},justify:function(d,f,m,b){var S;return b[0]+(d.half?-1:1)*(m+(((S=f.dataLabelPosition)==null?void 0:S.distance)||0))},alignToPlotEdges:function(d,f,m,b){let S=d.getBBox().width;return f?S+b:m-S-b},alignToConnectors:function(d,f,m,b){let S=0,x;return d.forEach(function(k){(x=k.dataLabel.getBBox().width)>S&&(S=x)}),f?S+b:m-S-b}};function o(d,f){let m=Math.PI/2,{start:b=0,end:S=0}=d.shapeArgs||{},x=d.angle||0;f>0&&b<m&&S>m&&x>m/2&&x<1.5*m&&(x=x<=m?Math.max(m/2,(b+m)/2):Math.min(1.5*m,(m+S)/2));let{center:k,options:M}=this,I=k[2]/2,D=Math.cos(x),V=Math.sin(x),L=k[0]+D*I,j=k[1]+V*I,W=Math.min((M.slicedOffset||0)+(M.borderWidth||0),f/5);return{natural:{x:L+D*f,y:j+V*f},computed:{},alignment:f<0?"center":d.half?"right":"left",connectorPosition:{angle:x,breakAt:{x:L+D*W,y:j+V*W},touchingSliceAt:{x:L,y:j}},distance:f}}function s(){var ye;let d=this,f=d.points,m=d.chart,b=m.plotWidth,S=m.plotHeight,x=m.plotLeft,k=Math.round(m.chartWidth/3),M=d.center,I=M[2]/2,D=M[1],V=[[],[]],L=[0,0,0,0],j=d.dataLabelPositioners,W,ie,se,ae=0;d.visible&&((ye=d.hasDataLabels)==null?void 0:ye.call(d))&&(f.forEach(he=>{(he.dataLabels||[]).forEach(be=>{be.shortened&&(be.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),be.shortened=!1)})}),xy.prototype.drawDataLabels.apply(d),f.forEach(he=>{(he.dataLabels||[]).forEach((be,He)=>{var yt;let $e=M[2]/2,lt=be.options,Ue=_y((lt==null?void 0:lt.distance)||0,$e);He===0&&V[he.half].push(he),!Sy((yt=lt==null?void 0:lt.style)==null?void 0:yt.width)&&be.getBBox().width>k&&(be.css({width:Math.round(.7*k)+"px"}),be.shortened=!0),be.dataLabelPosition=this.getDataLabelPosition(he,Ue),ae=Math.max(ae,Ue)})}),V.forEach((he,be)=>{let He=he.length,$e=[],lt,Ue,yt=0,At;He&&(d.sortByAngle(he,be-.5),ae>0&&(lt=Math.max(0,D-I-ae),Ue=Math.min(D+I+ae,m.plotHeight),he.forEach(Tt=>{(Tt.dataLabels||[]).forEach(vt=>{var xt;let zt=vt.dataLabelPosition;zt&&zt.distance>0&&(zt.top=Math.max(0,D-I-zt.distance),zt.bottom=Math.min(D+I+zt.distance,m.plotHeight),yt=vt.getBBox().height||21,vt.lineHeight=m.renderer.fontMetrics(vt.text||vt).h+2*vt.padding,Tt.distributeBox={target:(((xt=vt.dataLabelPosition)==null?void 0:xt.natural.y)||0)-zt.top+vt.lineHeight/2,size:yt,rank:Tt.y},$e.push(Tt.distributeBox))})}),ZC($e,At=Ue+yt-lt,At/5)),he.forEach(Tt=>{(Tt.dataLabels||[]).forEach(vt=>{let zt=vt.options||{},xt=Tt.distributeBox,It=vt.dataLabelPosition,Dt=(It==null?void 0:It.natural.y)||0,li=zt.connectorPadding||0,vi=vt.lineHeight||21,ti=(vi-vt.getBBox().height)/2,oi=0,bi=Dt,Pn="inherit";if(It){if($e&&Sy(xt)&&It.distance>0&&(xt.pos===void 0?Pn="hidden":(se=xt.size,bi=j.radialDistributionY(Tt,vt))),zt.justify)oi=j.justify(Tt,vt,I,M);else switch(zt.alignTo){case"connectors":oi=j.alignToConnectors(he,be,b,x);break;case"plotEdges":oi=j.alignToPlotEdges(vt,be,b,x);break;default:oi=j.radialDistributionX(d,Tt,bi-ti,Dt,vt)}if(It.attribs={visibility:Pn,align:It.alignment},It.posAttribs={x:oi+(zt.x||0)+({left:li,right:-li}[It.alignment]||0),y:bi+(zt.y||0)-vi/2},It.computed.x=oi,It.computed.y=bi-ti,ek(zt.crop,!0)){let Qi;oi-(ie=vt.getBBox().width)<li&&be===1?(Qi=Math.round(ie-oi+li),L[3]=Math.max(Qi,L[3])):oi+ie>b-li&&be===0&&(Qi=Math.round(oi+ie-b+li),L[1]=Math.max(Qi,L[1])),bi-se/2<0?L[0]=Math.max(Math.round(-bi+se/2),L[0]):bi+se/2>S&&(L[2]=Math.max(Math.round(bi+se/2-S),L[2])),It.sideOverflow=Qi}}})}))}),(JC(L)===0||this.verifyDataLabelOverflow(L))&&(this.placeDataLabels(),this.points.forEach(he=>{(he.dataLabels||[]).forEach(be=>{var Ue;let{connectorColor:He,connectorWidth:$e=1}=be.options||{},lt=be.dataLabelPosition;if($e){let yt;W=be.connector,lt&<.distance>0?(yt=!W,W||(be.connector=W=m.renderer.path().addClass("highcharts-data-label-connector highcharts-color-"+he.colorIndex+(he.className?" "+he.className:"")).add(d.dataLabelsGroup)),m.styledMode||W.attr({"stroke-width":$e,stroke:He||he.color||"#666666"}),W[yt?"attr":"animate"]({d:he.getConnectorPath(be)}),W.attr({visibility:(Ue=lt.attribs)==null?void 0:Ue.visibility})):W&&(be.connector=W.destroy())}})})))}function l(){this.points.forEach(d=>{(d.dataLabels||[]).forEach(f=>{var b;let m=f.dataLabelPosition;m?(m.sideOverflow&&(f.css({width:Math.max(f.getBBox().width-m.sideOverflow,0)+"px",textOverflow:(((b=f.options)==null?void 0:b.style)||{}).textOverflow||"ellipsis"}),f.shortened=!0),f.attr(m.attribs),f[f.moved?"animate":"attr"](m.posAttribs),f.moved=!0):f&&f.attr({y:-9999})}),delete d.distributeBox},this)}function u(d){let f=this.center,m=this.options,b=m.center,S=m.minSize||80,x=S,k=m.size!==null;return!k&&(b[0]!==null?x=Math.max(f[2]-Math.max(d[1],d[3]),S):(x=Math.max(f[2]-d[1]-d[3],S),f[0]+=(d[3]-d[1])/2),b[1]!==null?x=wy(x,S,f[2]-Math.max(d[0],d[2])):(x=wy(x,S,f[2]-d[0]-d[2]),f[1]+=(d[0]-d[2])/2),x<f[2]?(f[2]=x,f[3]=Math.min(m.thickness?Math.max(0,x-2*m.thickness):Math.max(0,_y(m.innerSize||0,x)),x),this.translate(f),this.drawDataLabels&&this.drawDataLabels()):k=!0),k}y.compose=function(d){if($c.compose(xy),tk(KC,"PieDataLabel")){let f=d.prototype;f.dataLabelPositioners=i,f.alignDataLabel=QC,f.drawDataLabels=s,f.getDataLabelPosition=o,f.placeDataLabels=l,f.verifyDataLabelOverflow=u}}})(Y||(Y={}));let ik=Y;(function(y){y.getCenterOfPoints=function(i){let o=i.reduce((s,l)=>(s.x+=l.x,s.y+=l.y,s),{x:0,y:0});return{x:o.x/i.length,y:o.y/i.length}},y.getDistanceBetweenPoints=function(i,o){return Math.sqrt(Math.pow(o.x-i.x,2)+Math.pow(o.y-i.y,2))},y.getAngleBetweenPoints=function(i,o){return Math.atan2(o.x-i.x,o.y-i.y)},y.pointInPolygon=function({x:i,y:o},s){let l=s.length,u,d,f=!1;for(u=0,d=l-1;u<l;d=u++){let[m,b]=s[u],[S,x]=s[d];b>o!=x>o&&i<(S-m)*(o-b)/(x-b)+m&&(f=!f)}return f}})(q||(q={}));let{pointInPolygon:nk}=q,{addEvent:ok,fireEvent:Cy,objectEach:ky,pick:rk}=tt;function sk(y){let i=y.length,o=(S,x)=>!(x.x>=S.x+S.width||x.x+x.width<=S.x||x.y>=S.y+S.height||x.y+x.height<=S.y),s=(S,x)=>{for(let k of S)if(nk({x:k[0],y:k[1]},x))return!0;return!1},l,u,d,f,m,b=!1;for(let S=0;S<i;S++)(l=y[S])&&(l.oldOpacity=l.opacity,l.newOpacity=1,l.absoluteBox=function(x){var k,M;if(x&&(!x.alignAttr||x.placed)){let I=x.box?0:x.padding||0,D=x.alignAttr||{x:x.attr("x"),y:x.attr("y")},V=x.getBBox();return x.width=V.width,x.height=V.height,{x:D.x+(((k=x.parentGroup)==null?void 0:k.translateX)||0)+I,y:D.y+(((M=x.parentGroup)==null?void 0:M.translateY)||0)+I,width:(x.width||0)-2*I,height:(x.height||0)-2*I,polygon:V==null?void 0:V.polygon}}}(l));y.sort((S,x)=>(x.labelrank||0)-(S.labelrank||0));for(let S=0;S<i;++S){f=(u=y[S])&&u.absoluteBox;let x=f==null?void 0:f.polygon;for(let k=S+1;k<i;++k){m=(d=y[k])&&d.absoluteBox;let M=!1;if(f&&m&&u!==d&&u.newOpacity!==0&&d.newOpacity!==0&&u.visibility!=="hidden"&&d.visibility!=="hidden"){let I=m.polygon;if(x&&I&&x!==I?s(x,I)&&(M=!0):o(f,m)&&(M=!0),M){let D=u.labelrank<d.labelrank?u:d,V=D.text;D.newOpacity=0,V!=null&&V.element.querySelector("textPath")&&V.hide()}}}}for(let S of y)Ay(S,this)&&(b=!0);b&&Cy(this,"afterHideAllOverlappingLabels")}function Ay(y,i){let o,s,l=!1;return y&&(s=y.newOpacity,y.oldOpacity!==s&&(y.hasClass("highcharts-data-label")?(y[s?"removeClass":"addClass"]("highcharts-data-label-hidden"),o=function(){i.styledMode||y.css({pointerEvents:s?"auto":"none"})},l=!0,y[y.isOld?"animate":"attr"]({opacity:s},void 0,o),Cy(i,"afterHideOverlappingLabel")):y.attr({opacity:s})),y.isOld=!0),l}function ak(){var o;let y=this,i=[];for(let s of y.labelCollectors||[])i=i.concat(s());for(let s of y.yAxis||[])s.stacking&&s.options.stackLabels&&!s.options.stackLabels.allowOverlap&&ky(s.stacking.stacks,l=>{ky(l,u=>{u.label&&i.push(u.label)})});for(let s of y.series||[])if(s.visible&&((o=s.hasDataLabels)==null?void 0:o.call(s))){let l=u=>{for(let d of u)d.visible&&(d.dataLabels||[]).forEach(f=>{var b,S;let m=f.options||{};f.labelrank=rk(m.labelrank,d.labelrank,(b=d.shapeArgs)==null?void 0:b.height),((S=m.allowOverlap)!=null?S:Number(m.distance)>0)?(f.oldOpacity=f.opacity,f.newOpacity=1,Ay(f,y)):i.push(f)})};l(s.nodes||[]),l(s.points)}this.hideOverlappingLabels(i)}let Ty={compose:function(y){let i=y.prototype;i.hideOverlappingLabels||(i.hideOverlappingLabels=sk,ok(y,"render",ak))}},{defaultOptions:lk}=Ti,{noop:Ey}=v,{addEvent:My,extend:uk,isObject:Py,merge:ck,relativeLength:Of}=tt,dk={radius:0,scope:"stack",where:void 0},Oy=Ey,Iy=Ey;function hk(y,i,o,s,l={}){let u=Oy(y,i,o,s,l),{innerR:d=0,r:f=o,start:m=0,end:b=0}=l;if(l.open||!l.borderRadius)return u;let S=b-m,x=Math.sin(S/2),k=Math.max(Math.min(Of(l.borderRadius||0,f-d),(f-d)/2,f*x/(1+x)),0),M=Math.min(k,S/Math.PI*2*d),I=u.length-1;for(;I--;)(function(D,V,L){let j,W,ie,se=D[V],ae=D[V+1];if(ae[0]==="Z"&&(ae=D[0]),(se[0]==="M"||se[0]==="L")&&ae[0]==="A"?(j=se,W=ae,ie=!0):se[0]==="A"&&(ae[0]==="M"||ae[0]==="L")&&(j=ae,W=se),j&&W&&W.params){let ye=W[1],he=W[5],be=W.params,{start:He,end:$e,cx:lt,cy:Ue}=be,yt=he?ye-L:ye+L,At=yt?Math.asin(L/yt):0,Tt=he?At:-At,vt=Math.cos(At)*yt;ie?(be.start=He+Tt,j[1]=lt+vt*Math.cos(He),j[2]=Ue+vt*Math.sin(He),D.splice(V+1,0,["A",L,L,0,0,1,lt+ye*Math.cos(be.start),Ue+ye*Math.sin(be.start)])):(be.end=$e-Tt,W[6]=lt+ye*Math.cos(be.end),W[7]=Ue+ye*Math.sin(be.end),D.splice(V+1,0,["A",L,L,0,0,1,lt+vt*Math.cos($e),Ue+vt*Math.sin($e)])),W[4]=Math.abs(be.end-be.start)<Math.PI?0:1}})(u,I,I>1?M:k);return u}function fk(){var y,i;if(this.options.borderRadius&&!(this.chart.is3d&&this.chart.is3d())){let{options:o,yAxis:s}=this,l=o.stacking==="percent",u=(i=(y=lk.plotOptions)==null?void 0:y[this.type])==null?void 0:i.borderRadius,d=If(o.borderRadius,Py(u)?u:{}),f=s.options.reversed;for(let m of this.points){let{shapeArgs:b}=m;if(m.shapeType==="roundedRect"&&b){let{width:S=0,height:x=0,y:k=0}=b,M=k,I=x;if(d.scope==="stack"&&m.stackTotal){let j=s.translate(l?100:m.stackTotal,!1,!0,!1,!0),W=s.translate(o.threshold||0,!1,!0,!1,!0),ie=this.crispCol(0,Math.min(j,W),0,Math.abs(j-W));M=ie.y,I=ie.height}let D=(m.negative?-1:1)*(f?-1:1)==-1,V=d.where;!V&&this.is("waterfall")&&Math.abs((m.yBottom||0)-(this.translatedThreshold||0))>this.borderWidth&&(V="all"),V||(V="end");let L=Math.min(Of(d.radius,S),S/2,V==="all"?x/2:1/0)||0;V==="end"&&(D&&(M-=L),I+=L),uk(b,{brBoxHeight:I,brBoxY:M,r:L})}}}}function If(y,i){return Py(y)||(y={radius:y||0}),ck(dk,i,y)}function pk(){let y=If(this.options.borderRadius);for(let i of this.points){let o=i.shapeArgs;o&&(o.borderRadius=Of(y.radius,(o.r||0)-(o.innerR||0)))}}function mk(y,i,o,s,l={}){let u=Iy(y,i,o,s,l),{r:d=0,brBoxHeight:f=s,brBoxY:m=i}=l,b=i-m,S=m+f-(i+s),x=b-d>-.1?0:d,k=S-d>-.1?0:d,M=Math.max(x&&b,0),I=Math.max(k&&S,0),D=[y+x,i],V=[y+o-x,i],L=[y+o,i+x],j=[y+o,i+s-k],W=[y+o-k,i+s],ie=[y+k,i+s],se=[y,i+s-k],ae=[y,i+x],ye=(he,be)=>Math.sqrt(Math.pow(he,2)-Math.pow(be,2));if(M){let he=ye(x,x-M);D[0]-=he,V[0]+=he,L[1]=ae[1]=i+x-M}if(s<x-M){let he=ye(x,x-M-s);L[0]=j[0]=y+o-x+he,W[0]=Math.min(L[0],W[0]),ie[0]=Math.max(j[0],ie[0]),se[0]=ae[0]=y+x-he,L[1]=ae[1]=i+s}if(I){let he=ye(k,k-I);W[0]+=he,ie[0]-=he,j[1]=se[1]=i+s-k+I}if(s<k-I){let he=ye(k,k-I-s);L[0]=j[0]=y+o-k+he,V[0]=Math.min(L[0],V[0]),D[0]=Math.max(j[0],D[0]),se[0]=ae[0]=y+k-he,j[1]=se[1]=i}return u.length=0,u.push(["M",...D],["L",...V],["A",x,x,0,0,1,...L],["L",...j],["A",k,k,0,0,1,...W],["L",...ie],["A",k,k,0,0,1,...se],["L",...ae],["A",x,x,0,0,1,...D],["Z"]),u}let{diffObjects:gk,extend:yk,find:vk,merge:bk,pick:Gc,uniqueKey:xk}=tt;(function(y){function i(s,l){let u=s.condition;(u.callback||function(){return this.chartWidth<=Gc(u.maxWidth,Number.MAX_VALUE)&&this.chartHe
55ight<=Gc(u.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=Gc(u.minWidth,0)&&this.chartHeight>=Gc(u.minHeight,0)}).call(this)&&l.push(s._id)}function o(s,l){let u=this.options.responsive,d=this.currentResponsive,f=[],m;!l&&u&&u.rules&&u.rules.forEach(x=>{x._id===void 0&&(x._id=xk()),this.matchResponsiveRule(x,f)},this);let b=bk(...f.map(x=>vk((u||{}).rules||[],k=>k._id===x)).map(x=>x&&x.chartOptions));b.isResponsiveOptions=!0,f=f.toString()||void 0;let S=d&&d.ruleIds;f===S||(d&&(this.currentResponsive=void 0,this.updatingResponsive=!0,this.update(d.undoOptions,s,!0),this.updatingResponsive=!1),f?((m=gk(b,this.options,!0,this.collectionsWithUpdate)).isResponsiveOptions=!0,this.currentResponsive={ruleIds:f,mergedOptions:b,undoOptions:m},this.updatingResponsive||this.update(b,s,!0)):this.currentResponsive=void 0)}y.compose=function(s){let l=s.prototype;return l.matchResponsiveRule||yk(l,{matchResponsiveRule:i,setResponsive:o}),s}})($||($={}));let wk=$;v.AST=Qe,v.Axis=Ua,v.Chart=cs,v.Color=Oi,v.DataLabel=$c,v.DataTableCore=Pc,v.Fx=yi,v.HTMLElement=lr,v.Legend=qg,v.LegendSymbol=Ag,v.OverlappingDataLabels=v.OverlappingDataLabels||Ty,v.PlotLineOrBand=_c,v.Point=ss,v.Pointer=_g,v.RendererRegistry=qs,v.Series=no,v.SeriesRegistry=zi,v.StackItem=Zg,v.SVGElement=Wn,v.SVGRenderer=Fo,v.Templating=Tn,v.Tick=di,v.Time=ci,v.Tooltip=vg,v.animate=Xi.animate,v.animObject=Xi.animObject,v.chart=cs.chart,v.color=Oi.parse,v.dateFormat=Tn.dateFormat,v.defaultOptions=Ti.defaultOptions,v.distribute=Hs.distribute,v.format=Tn.format,v.getDeferredAnimation=Xi.getDeferredAnimation,v.getOptions=Ti.getOptions,v.numberFormat=Tn.numberFormat,v.seriesType=zi.seriesType,v.setAnimation=Xi.setAnimation,v.setOptions=Ti.setOptions,v.stop=Xi.stop,v.time=Ti.defaultTime,v.timers=yi.timers,{compose:function(y,i,o){let s=y.types.pie;if(!i.symbolCustomAttribs.includes("borderRadius")){let l=o.prototype.symbols;My(y,"afterColumnTranslate",fk,{order:9}),My(s,"afterTranslate",pk),i.symbolCustomAttribs.push("borderRadius","brBoxHeight","brBoxY"),Oy=l.arc,Iy=l.roundedRect,l.arc=hk,l.roundedRect=mk}},optionsToObject:If}.compose(v.Series,v.SVGElement,v.SVGRenderer),OC.compose(v.Series.types.column),$c.compose(v.Series),hS.compose(v.Axis),lr.compose(v.SVGRenderer),qg.compose(v.Chart),mS.compose(v.Axis),Ty.compose(v.Chart),ik.compose(v.Series.types.pie),_c.compose(v.Chart,v.Axis),_g.compose(v.Chart),wk.compose(v.Chart),ou.compose(v.Axis,v.Chart,v.Series),cC.compose(v.Axis,v.Chart,v.Series),vg.compose(v.Pointer),tt.extend(v,tt);let Sk=v;return X.default})())})(Z1);var Iq=zR(BE);(function(e,t){(function(n,r){e.exports=r(Z1.exports,Iq)})(self,(n,r)=>(()=>{var a={879:_=>{_.exports=n},744:_=>{_.exports=r}},c={};function p(_){var T=c[_];if(T!==void 0)return T.exports;var A=c[_]={exports:{}};return a[_](A,A.exports,p),A.exports}p.n=_=>{var T=_&&_.__esModule?()=>_.default:()=>_;return p.d(T,{a:T}),T},p.d=(_,T)=>{for(var A in T)p.o(T,A)&&!p.o(_,A)&&Object.defineProperty(_,A,{enumerable:!0,get:T[A]})},p.o=(_,T)=>Object.prototype.hasOwnProperty.call(_,T),p.r=_=>{typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(_,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(_,"__esModule",{value:!0})};var w={};return(()=>{p.r(w),p.d(w,{Chart:()=>U,default:()=>J});var _=p(879),T=p.n(_),A=function ee(Y,q){var $=T().isArray(Y)?[]:{};function G(X,v){!T().isObject(X,!q)||T().isClass(X)||T().isDOMElement(X)?$[v]=X:$[v]=ee(X,q)}return T().isArray(Y)?Y.forEach(function(X,v){return G(X,v)}):T().objectEach(Y,G),$},P=p(744);function O(ee){return function(Y){if(Array.isArray(Y))return B(Y)}(ee)||function(Y){if(typeof Symbol!="undefined"&&Y[Symbol.iterator]!=null||Y["@@iterator"]!=null)return Array.from(Y)}(ee)||function(Y,q){if(!!Y){if(typeof Y=="string")return B(Y,q);var $=Object.prototype.toString.call(Y).slice(8,-1);if($==="Object"&&Y.constructor&&($=Y.constructor.name),$==="Map"||$==="Set")return Array.from(Y);if($==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test($))return B(Y,q)}}(ee)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 56In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}
56function B(ee,Y){(Y==null||Y>ee.length)&&(Y=ee.length);for(var q=0,$=new Array(Y);q<Y;q++)$[q]=ee[q];return $}const z=function(ee){var Y=this;return{render:function(){return(0,P.h)("div",{ref:"chart"})},beforeUnmount:function(){var q;return Y==null||(q=Y.chart)===null||q===void 0?void 0:q.destroy()},props:{constructorType:{type:String,default:"chart"},options:{type:Object,required:!0},callback:Function,updateArgs:{type:Array,default:function(){return[!0,!0]}},highcharts:{type:Object},deepCopyOnUpdate:{type:Boolean,default:!0}},watch:{options:{handler:function(q){var $;($=this.chart).update.apply($,[A(q,this.deepCopyOnUpdate)].concat(O(this.updateArgs)))},deep:!0}},mounted:function(){var q=this.highcharts||ee;q[this.constructorType]?this.options?this.chart=q[this.constructorType](this.$refs.chart,A(this.options,!0),this.callback?this.callback:null):console.error('The "options" parameter was not passed.'):console.error("'".concat(this.constructorType,"' constructor-type is incorrect. Sometimes this error is caused by the fact, that the corresponding module wasn't imported."))}}};var U=z(T());function J(ee){var Y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};ee.component(Y.tagName||"highcharts",z(Y.highcharts||T()))}})(),w})())})(Q1);var Yb=HR(Q1.exports);const Lq={__name:"P_Graph",setup(e){hh(Iw).use(Yb);const n=Ke({series:[{data:[1,2,3]}]});return(r,a)=>(xe(),Rt(Ji(Yb),{options:n.value},null,8,["options"]))}},Nq=[{path:"/",redirect:"/customer"},{path:"/accounts",redirect:"/customer"},{path:"/store-application",redirect:"/agent"},{path:"/customer",component:FV},{path:"/agent",component:LV},{path:"/tfg-admin/stats",component:Oq},{path:"/tfg-admin/graph",component:Lq},{path:"/tfg-admin/config",component:AB},{path:"/tfg-fraud-alert-terms-and-conditions",component:sV},{path:"/apply/:type",component:tq,children:[{path:"Initiate",component:hD,props:e=>({type:e.params.type,campaignCode:e.query.campaignCode})},{path:"StartFromStorage",component:mB,props:e=>({type:e.params.type})},{path:"ApplicationFromReference",component:DF,props:e=>({type:e.params.type})},{path:"OriginInformation",component:MD,props:e=>({type:e.params.type})},{path:"BasicInformation",component:mF,props:e=>({type:e.params.type})},{path:"AdditionalInformation",component:bR,props:e=>({type:e.params.type})},{path:"AdditionalInformationThin",component:qR,props:e=>({type:e.params.type})},{path:"EmploymentInformation",component:YF,props:e=>({type:e.params.type})},{path:"AffordabilityDetails",component:lD,props:e=>({type:e.params.type})},{path:"ContactDetails",component:LF,props:e=>({type:e.params.type})},{path:"ReferenceDetails",component:dB,props:e=>({type:e.params.type})},{path:"Permissions",component:WD,props:e=>({type:e.params.type})},{path:"SubscriptionProducts",component:nB,props:e=>({type:e.params.type})},{path:"SubscriptionMagazines",component:m5,props:e=>({type:e.params.type})},{path:"Completed",component:SF,props:e=>({type:e.params.type})}]},{path:"/:catchAll(.*)*",component:()=>om(()=>import("./C_NotFound.c770b804.js"),["assets/C_NotFound.c770b804.js","assets/C_NotFound.db399202.css"])}];var hp=function(){return FO({scrollBehavior:()=>({left:0,top:0}),routes:Nq,history:dO("/")})};async function Rq(e,t){const n=e(Iw);n.use(aM,t);const r=typeof bd=="function"?await bd({}):bd,{storeKey:a}=await om(()=>Promise.resolve().then(function(){return kI}),void 0),c=Rl(typeof hp=="function"?await hp({store:r}):hp);return r.$router=c,{app:n,store:r,storeKey:a,router:c}}var Fq=$i({name:"QAvatar",props:{...Hl,fontSize:String,color:String,textColor:String,icon:String,square:Boolean,rounded:Boolean},setup(e,{slots:t}){const n=zl(e),r=ce(()=>"q-avatar"+(e.color?` bg-${e.color}`:"")+(e.textColor?` text-${e.textColor} q-chip--colored`:"")+(e.square===!0?" q-avatar--square":e.rounded===!0?" rounded-borders":"")),a=ce(()=>e.fontSize?{fontSize:e.fontSize}:null);return()=>{const c=e.icon!==void 0?[Se(To,{name:e.icon})]:void 0;return Se("div",{class:r.value,style:n.value},[Se("div",{class:"q-avatar__content row flex-center overflow-hidden",style:a.value},jw(t.default,c))])}}});let Dq=0;const Sd={},_d={},Ho={},J1={},Bq=/^\s*$/,eS=[],Vq=[void 0,null,!0,!1,""],ig=["top-left","top-right","bottom-left","bottom-right","top","bottom","left","right","center"],qq=["top-left","top-right","bottom-left","bottom-right"],cl={positive:{icon:e=>e.iconSet.type.positive,color:"positive"},negative:{icon:e=>e.iconSet.type.negative,color:"negative"},warning:{icon:e=>e.iconSet.type.warning,color:"warning",textColor:"dark"},info:{icon:e=>e.iconSet.type.info,color:"info"},ongoing:{group:!1,timeout:0,spinner:!0,color:"grey-8"}};function tS(e,t,n){if(!e)return yu("parameter required");let r;const a={textColor:"white"};if(e.ignoreDefaults!==!0&&Object.assign(a,Sd),ba(e)===!1&&(a.type&&Object.assign(a,cl[a.type]),e={message:e}),Object.assign(a,cl[e.type||a.type],e),typeof a.icon=="function"&&(a.icon=a.icon(t)),a.spinner?(a.spinner===!0&&(a.spinner=wh),a.spinner=Rl(a.spinner)):a.spinner=!1,a.meta={hasMedia:Boolean(a.spinner!==!1||a.icon||a.avatar),hasText:Xb(a.message)||Xb(a.caption)},a.position){if(ig.includes(a.position)===!1)return yu("wrong position",e)}else a.position="bottom";if(Vq.includes(a.timeout)===!0)a.timeout=5e3;else{const _=Number(a.timeout);if(isNaN(_)||_<0)return yu("wrong timeout",e);a.timeout=Number.isFinite(_)?_:0}a.timeout===0?a.progress=!1:a.progress===!0&&(a.meta.progressClass="q-notification__progress"+(a.progressClass?` ${a.progressClass}`:""),a.meta.progressStyle={animationDuration:`${a.timeout+1e3}ms`});const c=(Array.isArray(e.actions)===!0?e.actions:[]).concat(e.ignoreDefaults!==!0&&Array.isArray(Sd.actions)===!0?Sd.actions:[]).concat(cl[e.type]!==void 0&&Array.isArray(cl[e.type].actions)===!0?cl[e.type].actions:[]),{closeBtn:p}=a;if(p&&c.push({label:typeof p=="string"?p:t.lang.label.close}),a.actions=c.map(({handler:_,noDismiss:T,...A})=>({flat:!0,...A,onClick:typeof _=="function"?()=>{_(),T!==!0&&w()}:()=>{w()}})),a.multiLine===void 0&&(a.multiLine=a.actions.length>
561),Object.assign(a.meta,{class:`q-notification row items-stretch q-notification--${a.multiLine===!0?"multi-line":"standard"}`+(a.color!==void 0?` bg-${a.color}`:"")+(a.textColor!==void 0?` text-${a.textColor}`:"")+(a.classes!==void 0?` ${a.classes}`:""),wrapperClass:"q-notification__wrapper col relative-position border-radius-inherit "+(a.multiLine===!0?"column no-wrap justify-center":"row items-center"),contentClass:"q-notification__content row items-center"+(a.multiLine===!0?"":" col"),leftClass:a.meta.hasText===!0?"additional":"single",attrs:{role:"alert",...a.attrs}}),a.group===!1?(a.group=void 0,a.meta.group=void 0):((a.group===void 0||a.group===!0)&&(a.group=[a.message,a.caption,a.multiline].concat(a.actions.map(_=>`${_.label}*${_.icon}`)).join("|")),a.meta.group=a.group+"|"+a.position),a.actions.length===0?a.actions=void 0:a.meta.actionsClass="q-notification__actions row items-center "+(a.multiLine===!0?"justify-end":"col-auto")+(a.meta.hasMedia===!0?" q-notification__actions--with-media":""),n!==void 0){n.notif.meta.timer&&(clearTimeout(n.notif.meta.timer),n.notif.meta.timer=void 0),a.meta.uid=n.notif.meta.uid;const _=Ho[a.position].value.indexOf(n.notif);Ho[a.position].value[_]=a}else{const _=_d[a.meta.group];if(_===void 0){if(a.meta.uid=Dq++,a.meta.badge=1,["left","right","center"].indexOf(a.position)!==-1)Ho[a.position].value.splice(Math.floor(Ho[a.position].value.length/2),0,a);else{const T=a.position.indexOf("top")!==-1?"unshift":"push";Ho[a.position].value[T](a)}a.group!==void 0&&(_d[a.meta.group]=a)}else{if(_.meta.timer&&(clearTimeout(_.meta.timer),_.meta.timer=void 0),a.badgePosition!==void 0){if(qq.includes(a.badgePosition)===!1)return yu("wrong badgePosition",e)}else a.badgePosition=`top-${a.position.indexOf("left")!==-1?"right":"left"}`;a.meta.uid=_.meta.uid,a.meta.badge=_.meta.badge+1,a.meta.badgeClass=`q-notification__badge q-notification__badge--${a.badgePosition}`+(a.badgeColor!==void 0?` bg-${a.badgeColor}`:"")+(a.badgeTextColor!==void 0?` text-${a.badgeTextColor}`:"")+(a.badgeClass?` ${a.badgeClass}`:"");const T=Ho[a.position].value.indexOf(_);Ho[a.position].value[T]=_d[a.meta.group]=a}}const w=()=>{Hq(a),r=void 0};if(a.timeout>0&&(a.meta.timer=setTimeout(()=>{a.meta.timer=void 0,w()},a.timeout+1e3)),a.group!==void 0)return _=>{_!==void 0?yu("trying to update a grouped one which is forbidden",e):w()};if(r={dismiss:w,config:e,notif:a},n!==void 0){Object.assign(n,r);return}return _=>{if(r!==void 0)if(_===void 0)r.dismiss();else{const T=Object.assign({},r.config,_,{group:!1,position:a.position});tS(T,t,r)}}}function Hq(e){e.meta.timer&&(clearTimeout(e.meta.timer),e.meta.timer=void 0);const t=Ho[e.position].value.indexOf(e);if(t!==-1){e.group!==void 0&&delete _d[e.meta.group];const n=eS[""+e.meta.uid];if(n){const{width:r,height:a}=getComputedStyle(n);n.style.left=`${n.offsetLeft}px`,n.style.width=r,n.style.height=a}Ho[e.position].value.splice(t,1),typeof e.onDismiss=="function"&&e.onDismiss()}}function Xb(e){return e!=null&&Bq.test(e)!==!0}function yu(e,t){return console.error(`Notify: ${e}`,t),!1}function zq(){return $i({name:"QNotifications",devtools:{hide:!0},setup(){return()=>Se("div",{class:"q-notifications"},ig.map(e=>Se(Lx,{key:e,class:J1[e],tag:"div",name:`q-notification--${e}`},()=>Ho[e].value.map(t=>{const n=t.meta,r=[];if(n.hasMedia===!0&&(t.spinner!==!1?r.push(Se(t.spinner,{class:"q-notification__spinner q-notification__spinner--"+n.leftClass,color:t.spinnerColor,size:t.spinnerSize})):t.icon?r.push(Se(To,{class:"q-notification__icon q-notification__icon--"+n.leftClass,name:t.icon,color:t.iconColor,size:t.iconSize,role:"img"})):t.avatar&&r.push(Se(Fq,{class:"q-notification__avatar q-notification__avatar--"+n.leftClass},()=>Se("img",{src:t.avatar,"aria-hidden":"true"})))),n.hasText===!0){let c;const p={class:"q-notification__message col"};if(t.html===!0)p.innerHTML=t.caption?`<div>${t.message}</div><div class="q-notification__caption">${t.caption}</div>`:t.message;else{const w=[t.message];c=t.caption?[Se("div",w),Se("div",{class:"q-notification__caption"},[t.caption])]:w}r.push(Se("div",p,c))}const a=[Se("div",{class:n.contentClass},r)];return t.progress===!0&&a.push(Se("div",{key:`${n.uid}|p|${n.badge}`,class:n.progressClass,style:n.progressStyle})),t.actions!==void 0&&a.push(Se("div",{class:n.actionsClass},t.actions.map(c=>Se(qd,c)))),n.badge>1&&a.push(Se("div",{key:`${n.uid}|${n.badge}`,class:t.meta.badgeClass,style:t.badgeStyle},[n.badge])),Se("div",{ref:c=>{eS[""+n.uid]=c},key:n.uid,class:n.class,...n.attrs},[Se("div",{class:n.wrapperClass},a)])}))))}})}var jq={setDefaults(e){ba(e)===!0&&Object.assign(Sd,e)},registerType(e,t){ba(t)===!0&&(cl[e]=t)},install({$q:e,parentApp:t}){if(e.notify=this.create=n=>tS(n,e),e.notify.setDefaults=this.setDefaults,e.notify.registerType=this.registerType,e.config.notify!==void 0&&this.setDefaults(e.config.notify),this.__installed!==!0){ig.forEach(r=>{Ho[r]=Ke([]);const a=["left","center","right"].includes(r)===!0?"center":r.indexOf("top")!==-1?"top":"bottom",c=r.indexOf("left")!==-1?"start":r.indexOf("right")!==-1?"end":"center",p=["left","right"].includes(r)?`items-${r==="left"?"start":"end"} justify-center`:r==="center"?"flex-center":`items-${c}`;J1[r]=`q-notifications__list q-notifications__list--${a}
56 fixed column no-wrap ${p}`});const n=Ym("q-notify");Zx(zq(),t).mount(n)}}},$q={install(e){this.__installed!==!0&&Eo.value===!0&&document.getElementById("qmeta-init").remove()}},Uq={config:{},plugins:{Notify:jq,Loading:qn,Meta:$q}};const Wq="/";async function Gq({app:e,router:t,store:n,storeKey:r},a){let c=!1;const p=T=>{try{return t.resolve(T).href}catch{}return Object(T)===T?null:T},w=T=>{if(c=!0,typeof T=="string"&&/^https?:\/\//.test(T)){window.location.href=T;return}const A=p(T);A!==null&&(window.location.href=A,window.location.reload())},_=window.location.href.replace(window.location.origin,"");for(let T=0;c===!1&&T<a.length;T++)try{await a[T]({app:e,router:t,store:n,ssrContext:null,redirect:w,urlPath:_,publicPath:Wq})}catch(A){if(A&&A.url){w(A.url);return}console.error("[Quasar] boot error:",A);return}c!==!0&&(e.use(t),e.use(n,r),e.mount("#q-app"))}Rq(hh,Uq).then(e=>{const[t,n]=Promise.allSettled!==void 0?["allSettled",r=>r.map(a=>{if(a.status==="rejected"){console.error("[Quasar] boot error:",a.reason);return}return a.value.default})]:["all",r=>r.map(a=>a.default)];return Promise[t]([om(()=>import("./axios.2dba91a0.js"),[])]).then(r=>{const a=n(r).filter(c=>typeof c=="function");Gq(e,a)})});export{Kt as _,Pl as a,Xq as b,We as c,Xu as d,N as e,Ze as f,xe as o,Yu as p};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.