PageSourceSearch

https://slingofinancialservices.com/build/assets/app-D8dqhI-T.js

js slingofinancialservices.com collected 2026-10-09 01:58:08 UTC 1,211,839 bytes, 692 lines download raw bytes

vendor: 3,735 bytes, lines 1-8
1/* empty css            *//**
2* @vue/shared v3.5.14
3* (c) 2018-present Yuxi (Evan) You and Vue contributors
4* @license MIT
5**//*! #__NO_SIDE_EFFECTS__ */function fh(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Gt={},vi=[],sa=()=>{},zC=()=>!1,fu=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ph=e=>e.startsWith("onUpdate:"),Hn=Object.assign,mh=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},jC=Object.prototype.hasOwnProperty,Zt=(e,t)=>jC.call(e,t),Ke=Array.isArray,yi=e=>pu(e)==="[object Map]",Hi=e=>pu(e)==="[object Set]",bv=e=>pu(e)==="[object Date]",ut=e=>typeof e=="function",Sn=e=>typeof e=="string",Vr=e=>typeof e=="symbol",un=e=>e!==null&&typeof e=="object",P0=e=>(un(e)||ut(e))&&ut(e.then)&&ut(e.catch),O0=Object.prototype.toString,pu=e=>O0.call(e),UC=e=>pu(e).slice(8,-1),I0=e=>pu(e)==="[object Object]",hh=e=>Sn(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,bi=fh(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Sd=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},HC=/-(\w)/g,ur=Sd(e=>e.replace(HC,(t,n)=>n?n.toUpperCase():"")),WC=/\B([A-Z])/g,La=Sd(e=>e.replace(WC,"-$1").toLowerCase()),mu=Sd(e=>e.charAt(0).toUpperCase()+e.slice(1)),bc=Sd(e=>e?`on${mu(e)}`:""),Ko=(e,t)=>!Object.is(e,t),wc=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},D0=(e,t,n,o=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:o,value:n})},Fc=e=>{const t=parseFloat(e);return isNaN(t)?e:t},qC=e=>{const t=Sn(e)?Number(e):NaN;return isNaN(t)?e:t};let wv;const Cd=()=>wv||(wv=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ze(e){if(Ke(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=Sn(o)?QC(o):ze(o);if(r)for(const s in r)t[s]=r[s]}return t}else if(Sn(e)||un(e))return e}const GC=/;(?![^(]*\))/g,YC=/:([^]+)/,KC=/\/\*[^]*?\*\//g;function QC(e){const t={};return e.replace(KC,"").split(GC).forEach(n=>{if(n){const o=n.split(YC);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function xe(e){let t="";if(Sn(e))t=e;else if(Ke(e))for(let n=0;n<e.length;n++){const o=xe(e[n]);o&&(t+=o+" ")}else if(un(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function nt(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Sn(t)&&(e.class=xe(t)),n&&(e.style=ze(n)),e}const XC="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",JC=fh(XC);function M0(e){return!!e||e===""}function ZC(e,t){if(e.length!==t.length)return!1;let n=!0;for(let o=0;n&&o<e.length;o++)n=Fs(e[o],t[o]);return n}function Fs(e,t){if(e===t)return!0;let n=bv(e),o=bv(t);if(n||o)return n&&o?e.getTime()===t.getTime():!1;if(n=Vr(e),o=Vr(t),n||o)return e===t;if(n=Ke(e),o=Ke(t),n||o)return n&&o?ZC(e,t):!1;if(n=un(e),o=un(t),n||o){if(!n||!o)return!1;const r=Object.keys(e).length,s=Object.keys(t).length;if(r!==s)return!1;for(const i in e){const l=e.hasOwnProperty(i),u=t.hasOwnProperty(i);if(l&&!u||!l&&u||!Fs(e[i],t[i]))return!1}}return String(e)===String(t)}function gh(e,t){return e.findIndex(n=>Fs(n,t))}const R0=e=>!!(e&&e.__v_isRef===!0),V=e=>Sn(e)?e:e==null?"":Ke(e)||un(e)&&(e.toString===O0||!ut(e.toString))?R0(e)?V(e.value):JSON.stringify(e,L0,2):String(e),L0=(e,t)=>R0(t)?L0(e,t.value):yi(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[o,r],s)=>(n[$f(o,s)+" =>"]=r,n),{})}:Hi(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>$f(n))}:Vr(t)?$f(t):un(t)&&!Ke(t)&&!I0(t)?String(t):t,$f=(e,t="")=>{var n;return Vr(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
6* @vue/reactivity v3.5.14
7* (c) 2018-present Yuxi (Evan) You and Vue contributors
8* @license MIT
vendor: 6,210 bytes, line 9
9**/let $o;class V0{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=$o,!t&&$o&&(this.index=($o.scopes||($o.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=$o;try{return $o=this,t()}finally{$o=n}}}on(){++this._on===1&&(this.prevScope=$o,$o=this)}off(){this._on>0&&--this._on===0&&($o=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,o;for(n=0,o=this.effects.length;n<o;n++)this.effects[n].stop();for(this.effects.length=0,n=0,o=this.cleanups.length;n<o;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,o=this.scopes.length;n<o;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0}}}function ek(e){return new V0(e)}function kd(){return $o}function vh(e,t=!1){$o&&$o.cleanups.push(e)}let hn;const Af=new WeakSet;class B0{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,$o&&$o.active&&$o.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Af.has(this)&&(Af.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||N0(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,_v(this),z0(this);const t=hn,n=Lr;hn=this,Lr=!0;try{return this.fn()}finally{j0(this),hn=t,Lr=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)wh(t);this.deps=this.depsTail=void 0,_v(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Af.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Yp(this)&&this.run()}get dirty(){return Yp(this)}}let F0=0,$l,Al;function N0(e,t=!1){if(e.flags|=8,t){e.next=Al,Al=e;return}e.next=$l,$l=e}function yh(){F0++}function bh(){if(--F0>0)return;if(Al){let t=Al;for(Al=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;$l;){let t=$l;for($l=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(o){e||(e=o)}t=n}}if(e)throw e}function z0(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function j0(e){let t,n=e.depsTail,o=n;for(;o;){const r=o.prevDep;o.version===-1?(o===n&&(n=r),wh(o),tk(o)):t=o,o.dep.activeLink=o.prevActiveLink,o.prevActiveLink=void 0,o=r}e.deps=t,e.depsTail=n}function Yp(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(U0(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function U0(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Wl)||(e.globalVersion=Wl,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Yp(e))))return;e.flags|=2;const t=e.dep,n=hn,o=Lr;hn=e,Lr=!0;try{z0(e);const r=e.fn(e._value);(t.version===0||Ko(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{hn=n,Lr=o,j0(e),e.flags&=-3}}function wh(e,t=!1){const{dep:n,prevSub:o,nextSub:r}=e;if(o&&(o.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=o,e.nextSub=void 0),n.subs===e&&(n.subs=o,!o&&n.computed)){n.computed.flags&=-5;for(let s=n.computed.deps;s;s=s.nextDep)wh(s,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function tk(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Lr=!0;const H0=[];function Pa(){H0.push(Lr),Lr=!1}function Oa(){const e=H0.pop();Lr=e===void 0?!0:e}function _v(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=hn;hn=void 0;try{t()}finally{hn=n}}}let Wl=0;class nk{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class $d{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!hn||!Lr||hn===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==hn)n=this.activeLink=new nk(hn,this),hn.deps?(n.prevDep=hn.depsTail,hn.depsTail.nextDep=n,hn.depsTail=n):hn.deps=hn.depsTail=n,W0(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const o=n.nextDep;o.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=o),n.prevDep=hn.depsTail,n.nextDep=void 0,hn.depsTail.nextDep=n,hn.depsTail=n,hn.deps===n&&(hn.deps=o)}return n}trigger(t){this.version++,Wl++,this.notify(t)}notify(t){yh();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{bh()}}}function W0(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let o=t.deps;o;o=o.nextDep)W0(o)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Nc=new WeakMap,Os=Symbol(""),Kp=Symbol(""),ql=Symbol("");function Ao(e,t,n){if(Lr&&hn){let o=Nc.get(e);o||Nc.set(e,o=new Map);let r=o.get(n);r||(o.set(n,r=new $d),r.map=o,r.key=n),r.track()}}function Sa(e,t,n,o,r,s){const i=Nc.get(e);if(!i){Wl++;return}const l=u=>{u&&u.trigger()};if(yh(),t==="clear")i.forEach(l);else{const u=Ke(e),c=u&&hh(n);if(u&&n==="length"){const d=Number(o);i.forEach((p,m)=>{(m==="length"||m===ql||!Vr(m)&&m>=d)&&l(p)})}else switch((n!==void 0||i.has(void 0))&&l(i.get(n)),c&&l(i.get(ql)),t){case"add":u?c&&l(i.get("length")):(l(i.get(Os)),yi(e)&&l(i.get(Kp)));break;case"delete":u||(l(i.get(Os)),yi(e)&&l(i.get(Kp)));break;case"set":yi(e)&&l(i.get(Os));break}}bh()}function ok(e,t){const n=Nc.get(e);return n&&n.get(t)}function ri(e){const t=Nt(e);return t===e?t:(Ao(t,"iterate",ql),Sr(e)?t:t.map(po))}function Ad(e){return Ao(e=Nt(e),"iterate",ql),e}const rk={__proto__:null,[Symbol.iterator](){return Tf(this,Symbol.iterator,po)},concat(...e){return ri(this).concat(...e.map(t=>Ke(t)?ri(t):t))}
vendor: 4,601 bytes, line 9
9,entries(){return Tf(this,"entries",e=>(e[1]=po(e[1]),e))},every(e,t){return ya(this,"every",e,t,void 0,arguments)},filter(e,t){return ya(this,"filter",e,t,n=>n.map(po),arguments)},find(e,t){return ya(this,"find",e,t,po,arguments)},findIndex(e,t){return ya(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return ya(this,"findLast",e,t,po,arguments)},findLastIndex(e,t){return ya(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return ya(this,"forEach",e,t,void 0,arguments)},includes(...e){return Ef(this,"includes",e)},indexOf(...e){return Ef(this,"indexOf",e)},join(e){return ri(this).join(e)},lastIndexOf(...e){return Ef(this,"lastIndexOf",e)},map(e,t){return ya(this,"map",e,t,void 0,arguments)},pop(){return Zi(this,"pop")},push(...e){return Zi(this,"push",e)},reduce(e,...t){return xv(this,"reduce",e,t)},reduceRight(e,...t){return xv(this,"reduceRight",e,t)},shift(){return Zi(this,"shift")},some(e,t){return ya(this,"some",e,t,void 0,arguments)},splice(...e){return Zi(this,"splice",e)},toReversed(){return ri(this).toReversed()},toSorted(e){return ri(this).toSorted(e)},toSpliced(...e){return ri(this).toSpliced(...e)},unshift(...e){return Zi(this,"unshift",e)},values(){return Tf(this,"values",po)}};function Tf(e,t,n){const o=Ad(e),r=o[t]();return o!==e&&!Sr(e)&&(r._next=r.next,r.next=()=>{const s=r._next();return s.value&&(s.value=n(s.value)),s}),r}const ak=Array.prototype;function ya(e,t,n,o,r,s){const i=Ad(e),l=i!==e&&!Sr(e),u=i[t];if(u!==ak[t]){const p=u.apply(e,s);return l?po(p):p}let c=n;i!==e&&(l?c=function(p,m){return n.call(this,po(p),m,e)}:n.length>2&&(c=function(p,m){return n.call(this,p,m,e)}));const d=u.call(i,c,o);return l&&r?r(d):d}function xv(e,t,n,o){const r=Ad(e);let s=n;return r!==e&&(Sr(e)?n.length>3&&(s=function(i,l,u){return n.call(this,i,l,u,e)}):s=function(i,l,u){return n.call(this,i,po(l),u,e)}),r[t](s,...o)}function Ef(e,t,n){const o=Nt(e);Ao(o,"iterate",ql);const r=o[t](...n);return(r===-1||r===!1)&&_h(n[0])?(n[0]=Nt(n[0]),o[t](...n)):r}function Zi(e,t,n=[]){Pa(),yh();const o=Nt(e)[t].apply(e,n);return bh(),Oa(),o}const sk=fh("__proto__,__v_isRef,__isVue"),q0=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Vr));function ik(e){Vr(e)||(e=String(e));const t=Nt(this);return Ao(t,"has",e),t.hasOwnProperty(e)}class G0{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,o){if(n==="__v_skip")return t.__v_skip;const r=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return s;if(n==="__v_raw")return o===(r?s?Z0:J0:s?X0:Q0).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(o)?t:void 0;const i=Ke(t);if(!r){let u;if(i&&(u=rk[n]))return u;if(n==="hasOwnProperty")return ik}const l=Reflect.get(t,n,mt(t)?t:o);return(Vr(n)?q0.has(n):sk(n))||(r||Ao(t,"get",n),s)?l:mt(l)?i&&hh(n)?l:l.value:un(l)?r?tw(l):Fo(l):l}}class Y0 extends G0{constructor(t=!1){super(!1,t)}set(t,n,o,r){let s=t[n];if(!this._isShallow){const u=os(s);if(!Sr(o)&&!os(o)&&(s=Nt(s),o=Nt(o)),!Ke(t)&&mt(s)&&!mt(o))return u?!1:(s.value=o,!0)}const i=Ke(t)&&hh(n)?Number(n)<t.length:Zt(t,n),l=Reflect.set(t,n,o,mt(t)?t:r);return t===Nt(r)&&(i?Ko(o,s)&&Sa(t,"set",n,o):Sa(t,"add",n,o)),l}deleteProperty(t,n){const o=Zt(t,n);t[n];const r=Reflect.deleteProperty(t,n);return r&&o&&Sa(t,"delete",n,void 0),r}has(t,n){const o=Reflect.has(t,n);return(!Vr(n)||!q0.has(n))&&Ao(t,"has",n),o}ownKeys(t){return Ao(t,"iterate",Ke(t)?"length":Os),Reflect.ownKeys(t)}}class K0 extends G0{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const lk=new Y0,uk=new K0,ck=new Y0(!0),dk=new K0(!0),Qp=e=>e,Nu=e=>Reflect.getPrototypeOf(e);function fk(e,t,n){return function(...o){const r=this.__v_raw,s=Nt(r),i=yi(s),l=e==="entries"||e===Symbol.iterator&&i,u=e==="keys"&&i,c=r[e](...o),d=n?Qp:t?zc:po;return!t&&Ao(s,"iterate",u?Kp:Os),{next(){const{value:p,done:m}=c.next();return m?{value:p,done:m}:{value:l?[d(p[0]),d(p[1])]:d(p),done:m}},[Symbol.iterator](){return this}}}}function zu(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function pk(e,t){const n={get(r){const s=this.__v_raw,i=Nt(s),l=Nt(r);e||(Ko(r,l)&&Ao(i,"get",r),Ao(i,"get",l));const{has:u}=Nu(i),c=t?Qp:e?zc:po;if(u.call(i,r))return c(s.get(r));if(u.call(i,l))return c(s.get(l));s!==i&&s.get(r)},get size(){const r=this.__v_raw;return!e&&Ao(Nt(r),"iterate",Os),Reflect.get(r,"size",r)},has(r){const s=this.__v_raw,i=Nt(s),l=Nt(r);return e||(Ko(r,l)&&Ao(i,"has",r),Ao(i,"has",l)),r===l?s.has(r):s.has(r)||s.has(l)}
vendor: 4,321 bytes, line 9
9,forEach(r,s){const i=this,l=i.__v_raw,u=Nt(l),c=t?Qp:e?zc:po;return!e&&Ao(u,"iterate",Os),l.forEach((d,p)=>r.call(s,c(d),c(p),i))}};return Hn(n,e?{add:zu("add"),set:zu("set"),delete:zu("delete"),clear:zu("clear")}:{add(r){!t&&!Sr(r)&&!os(r)&&(r=Nt(r));const s=Nt(this);return Nu(s).has.call(s,r)||(s.add(r),Sa(s,"add",r,r)),this},set(r,s){!t&&!Sr(s)&&!os(s)&&(s=Nt(s));const i=Nt(this),{has:l,get:u}=Nu(i);let c=l.call(i,r);c||(r=Nt(r),c=l.call(i,r));const d=u.call(i,r);return i.set(r,s),c?Ko(s,d)&&Sa(i,"set",r,s):Sa(i,"add",r,s),this},delete(r){const s=Nt(this),{has:i,get:l}=Nu(s);let u=i.call(s,r);u||(r=Nt(r),u=i.call(s,r)),l&&l.call(s,r);const c=s.delete(r);return u&&Sa(s,"delete",r,void 0),c},clear(){const r=Nt(this),s=r.size!==0,i=r.clear();return s&&Sa(r,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=fk(r,e,t)}),n}function Td(e,t){const n=pk(e,t);return(o,r,s)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?o:Reflect.get(Zt(n,r)&&r in o?n:o,r,s)}const mk={get:Td(!1,!1)},hk={get:Td(!1,!0)},gk={get:Td(!0,!1)},vk={get:Td(!0,!0)},Q0=new WeakMap,X0=new WeakMap,J0=new WeakMap,Z0=new WeakMap;function yk(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function bk(e){return e.__v_skip||!Object.isExtensible(e)?0:yk(UC(e))}function Fo(e){return os(e)?e:Ed(e,!1,lk,mk,Q0)}function ew(e){return Ed(e,!1,ck,hk,X0)}function tw(e){return Ed(e,!0,uk,gk,J0)}function xs(e){return Ed(e,!0,dk,vk,Z0)}function Ed(e,t,n,o,r){if(!un(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=bk(e);if(s===0)return e;const i=r.get(e);if(i)return i;const l=new Proxy(e,s===2?o:n);return r.set(e,l),l}function Is(e){return os(e)?Is(e.__v_raw):!!(e&&e.__v_isReactive)}function os(e){return!!(e&&e.__v_isReadonly)}function Sr(e){return!!(e&&e.__v_isShallow)}function _h(e){return e?!!e.__v_raw:!1}function Nt(e){const t=e&&e.__v_raw;return t?Nt(t):e}function Xp(e){return!Zt(e,"__v_skip")&&Object.isExtensible(e)&&D0(e,"__v_skip",!0),e}const po=e=>un(e)?Fo(e):e,zc=e=>un(e)?tw(e):e;function mt(e){return e?e.__v_isRef===!0:!1}function M(e){return nw(e,!1)}function At(e){return nw(e,!0)}function nw(e,t){return mt(e)?e:new wk(e,t)}class wk{constructor(t,n){this.dep=new $d,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Nt(t),this._value=n?t:po(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,o=this.__v_isShallow||Sr(t)||os(t);t=o?t:Nt(t),Ko(t,n)&&(this._rawValue=t,this._value=o?t:po(t),this.dep.trigger())}}function f(e){return mt(e)?e.value:e}function No(e){return ut(e)?e():f(e)}const _k={get:(e,t,n)=>t==="__v_raw"?e:f(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return mt(r)&&!mt(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function ow(e){return Is(e)?e:new Proxy(e,_k)}class xk{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new $d,{get:o,set:r}=t(n.track.bind(n),n.trigger.bind(n));this._get=o,this._set=r}get value(){return this._value=this._get()}set value(t){this._set(t)}}function rw(e){return new xk(e)}function Qs(e){const t=Ke(e)?new Array(e.length):{};for(const n in e)t[n]=aw(e,n);return t}class Sk{constructor(t,n,o){this._object=t,this._key=n,this._defaultValue=o,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return ok(Nt(this._object),this._key)}}class Ck{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function go(e,t,n){return mt(e)?e:ut(e)?new Ck(e):un(e)&&arguments.length>1?aw(e,t,n):M(e)}function aw(e,t,n){const o=e[t];return mt(o)?o:new Sk(e,t,n)}class kk{constructor(t,n,o){this.fn=t,this.setter=n,this._value=void 0,this.dep=new $d(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Wl-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=o}notify(){if(this.flags|=16,!(this.flags&8)&&hn!==this)return N0(this,!0),!0}get value(){const t=this.dep.track();return U0(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function $k(e,t,n=!1){let o,r;
vendor: 1,828 bytes, lines 9-12
9return ut(e)?o=e:(o=e.get,r=e.set),new kk(o,r,n)}const ju={},jc=new WeakMap;let Ss;function Ak(e,t=!1,n=Ss){if(n){let o=jc.get(n);o||jc.set(n,o=[]),o.push(e)}}function Tk(e,t,n=Gt){const{immediate:o,deep:r,once:s,scheduler:i,augmentJob:l,call:u}=n,c=E=>r?E:Sr(E)||r===!1||r===0?Ca(E,1):Ca(E);let d,p,m,h,g=!1,b=!1;if(mt(e)?(p=()=>e.value,g=Sr(e)):Is(e)?(p=()=>c(e),g=!0):Ke(e)?(b=!0,g=e.some(E=>Is(E)||Sr(E)),p=()=>e.map(E=>{if(mt(E))return E.value;if(Is(E))return c(E);if(ut(E))return u?u(E,2):E()})):ut(e)?t?p=u?()=>u(e,2):e:p=()=>{if(m){Pa();try{m()}finally{Oa()}}const E=Ss;Ss=d;try{return u?u(e,3,[h]):e(h)}finally{Ss=E}}:p=sa,t&&r){const E=p,I=r===!0?1/0:r;p=()=>Ca(E(),I)}const y=kd(),_=()=>{d.stop(),y&&y.active&&mh(y.effects,d)};if(s&&t){const E=t;t=(...I)=>{E(...I),_()}}let A=b?new Array(e.length).fill(ju):ju;const k=E=>{if(!(!(d.flags&1)||!d.dirty&&!E))if(t){const I=d.run();if(r||g||(b?I.some((F,P)=>Ko(F,A[P])):Ko(I,A))){m&&m();const F=Ss;Ss=d;try{const P=[I,A===ju?void 0:b&&A[0]===ju?[]:A,h];u?u(t,3,P):t(...P),A=I}finally{Ss=F}}}else d.run()};return l&&l(k),d=new B0(p),d.scheduler=i?()=>i(k,!1):k,h=E=>Ak(E,!1,d),m=d.onStop=()=>{const E=jc.get(d);if(E){if(u)u(E,4);else for(const I of E)I();jc.delete(d)}},t?o?k(!0):A=d.run():i?i(k.bind(null,!0),!0):d.run(),_.pause=d.pause.bind(d),_.resume=d.resume.bind(d),_.stop=_,_}function Ca(e,t=1/0,n){if(t<=0||!un(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,mt(e))Ca(e.value,t,n);else if(Ke(e))for(let o=0;o<e.length;o++)Ca(e[o],t,n);else if(Hi(e)||yi(e))e.forEach(o=>{Ca(o,t,n)});else if(I0(e)){for(const o in e)Ca(e[o],t,n);for(const o of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,o)&&Ca(e[o],t,n)}return e}/**
10* @vue/runtime-core v3.5.14
11* (c) 2018-present Yuxi (Evan) You and Vue contributors
12* @license MIT
13**/function hu(e,t,n,o){try{return o?e(...o):e()}catch(r){Pd(r,t,n)}}function Br(e,t,n,o){if(ut(e)){const r=hu(e,t,n,o);return r&&P0(r)&&r.catch(s=>{Pd(s,t,n)}),r}if(Ke(e)){const r=[];for(let s=0;s<e.length;s++)r.push(Br(e[s],t,n,o));return r}}function Pd(e,t,n,o=!0){const r=t?t.vnode:null,{errorHandler:s,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||Gt;if(t){let l=t.parent;const u=t.proxy,c=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const d=l.ec;if(d){for(let p=0;p<d.length;p++)if(d[p](e,u,c)===!1)return}l=l.parent}if(s){Pa(),hu(s,null,10,[e,u,c]),Oa();return}}Ek(e,n,r,o,i)}function Ek(e,t,n,o=!0,r=!1){if(r)throw e;console.error(e)}const Bo=[];let Kr=-1;const wi=[];let Ka=null,fi=0;const sw=Promise.resolve();let Uc=null;function Ct(e){const t=Uc||sw;return e?t.then(this?e.bind(this):e):t}function Pk(e){let t=Kr+1,n=Bo.length;for(;t<n;){const o=t+n>>>1,r=Bo[o],s=Gl(r);s<e||s===e&&r.flags&2?t=o+1:n=o}return t}function xh(e){if(!(e.flags&1)){const t=Gl(e),n=Bo[Bo.length-1];!n||!(e.flags&2)&&t>=Gl(n)?Bo.push(e):Bo.splice(Pk(t),0,e),e.flags|=1,iw()}}function iw(){Uc||(Uc=sw.then(lw))}function Ok(e){Ke(e)?wi.push(...e):Ka&&e.id===-1?Ka.splice(fi+1,0,e):e.flags&1||(wi.push(e),e.flags|=1),iw()}function Sv(e,t,n=Kr+1){for(;n<Bo.length;n++){const o=Bo[n];if(o&&o.flags&2){if(e&&o.id!==e.uid)continue;Bo.splice(n,1),n--,o.flags&4&&(o.flags&=-2),o(),o.flags&4||(o.flags&=-2)}}}function Hc(e){if(wi.length){const t=[...new Set(wi)].sort((n,o)=>Gl(n)-Gl(o));if(wi.length=0,Ka){Ka.push(...t);return}for(Ka=t,fi=0;fi<Ka.length;fi++){const n=Ka[fi];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Ka=null,fi=0}}const Gl=e=>e.id==null?e.flags&2?-1:1/0:e.id;function lw(e){try{for(Kr=0;Kr<Bo.length;Kr++){const t=Bo[Kr];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),hu(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Kr<Bo.length;Kr++){const t=Bo[Kr];t&&(t.flags&=-2)}Kr=-1,Bo.length=0,Hc(),Uc=null,(Bo.length||wi.length)&&lw()}}let Jn=null,uw=null;function Wc(e){const t=Jn;return Jn=e,uw=e&&e.type.__scopeId||null,t}function $(e,t=Jn,n){if(!t||e._n)return e;const o=(...r)=>{o._d&&Vv(-1);const s=Wc(t);let i;try{i=e(...r)}finally{Wc(s),o._d&&Vv(1)}return i};return o._n=!0,o._c=!0,o._d=!0,o}function ca(e,t){if(Jn===null)return e;const n=Rd(Jn),o=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[s,i,l,u=Gt]=t[r];s&&(ut(s)&&(s={mounted:s,updated:s}),s.deep&&Ca(i),o.push({dir:s,instance:n,value:i,oldValue:void 0,arg:l,modifiers:u}))}return e}function Qr(e,t,n,o){const r=e.dirs,s=t&&t.dirs;for(let i=0;i<r.length;i++){const l=r[i];s&&(l.oldValue=s[i].value);let u=l.dir[o];u&&(Pa(),Br(u,n,8,[e.el,l,e,t]),Oa())}}const cw=Symbol("_vte"),dw=e=>e.__isTeleport,Tl=e=>e&&(e.disabled||e.disabled===""),Cv=e=>e&&(e.defer||e.defer===""),kv=e=>typeof SVGElement<"u"&&e instanceof SVGElement,$v=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Jp=(e,t)=>{const n=e&&e.to;return Sn(n)?t?t(n):null:n},fw={name:"Teleport",__isTeleport:!0,process(e,t,n,o,r,s,i,l,u,c){const{mc:d,pc:p,pbc:m,o:{insert:h,querySelector:g,createText:b,createComment:y}}=c,_=Tl(t.props);let{shapeFlag:A,children:k,dynamicChildren:E}=t;if(e==null){const I=t.el=b(""),F=t.anchor=b("");h(I,n,o),h(F,n,o);const P=(O,j)=>{A&16&&(r&&r.isCE&&(r.ce._teleportTarget=O),d(k,O,j,r,s,i,l,u))},B=()=>{const O=t.target=Jp(t.props,g),j=pw(O,t,b,h);O&&(i!=="svg"&&kv(O)?i="svg":i!=="mathml"&&$v(O)&&(i="mathml"),_||(P(O,j),_c(t,!1)))};_&&(P(n,F),_c(t,!0)),Cv(t.props)?Vo(()=>{B(),t.el.__isMounted=!0},s):B()}else{if(Cv(t.props)&&!e.el.__isMounted){Vo(()=>{fw.process(e,t,n,o,r,s,i,l,u,c),delete e.el.__isMounted},s);return}t.el=e.el,t.targetStart=e.targetStart;const I=t.anchor=e.anchor,F=t.target=e.target,P=t.targetAnchor=e.targetAnchor,B=Tl(e.props),O=B?n:F,j=B?I:P;if(i==="svg"||kv(F)?i="svg":(i==="mathml"||$v(F))&&(i="mathml"),E?(m(e.dynamicChildren,E,O,r,s,i,l),Ah(e,t,!0)):u||p(e,t,O,j,r,s,i,l,!1),_)B?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Uu(t,n,I,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const G=t.target=Jp(t.props,g);G&&Uu(t,G,null,c,0)}else B&&Uu(t,F,P,c,1);_c(t,_)}},remove(e,t,n,{um:o,o:{remove:r}},s){const{shapeFlag:i,children:l,anchor:u,targetStart:c,targetAnchor:d,target:p,props:m}=e;if(p&&(r(c),r(d)),s&&r(u),i&16){const h=s||!Tl(m);for(let g=0;g<l.length;g++){const b=l[g];o(b,t,n,h,!!b.dynamicChildren)}}},move:Uu,hydrate:Ik};function Uu(e,t,n,{o:{insert:o},m:r},s=2){s===0&&o(e.targetAnchor,t,n);const{el:i,anchor:l,shapeFlag:u,children:c,props:d}=e,p=s===2;if(p&&o(i,t,n),(!p||Tl(d))&&u&16)for(let m=0;m<c.length;m++)r(c[m],t,n,2);p&&o(l,t,n)}function Ik(e,t,n,o,r,s,{o:{nextSibling:i,parentNode:l,querySelector:u,insert:c,createText:d}},p){const m=t.target=Jp(t.props,u);if(m){const h=Tl(t.props),g=m._lpa||m.firstChild;if(t.shapeFlag&16)if(h)t.anchor=p(i(e),t,l(e),n,o,r,s),t.targetStart=g,t.targetAnchor=g&&i(g);else{t.anchor=i(e);let b=g;for(;b;){if(b&&b.nodeType===8){if(b.data==="teleport start anchor")t.targetStart=b;else if(b.data==="teleport anchor"){t.targetAnchor=b,m._lpa=t.targetAnchor&&i(t.targetAnchor);break}}b=i(b)}t.targetAnchor||pw(m,t,d,c),p(g&&i(g),t,m,n,o,r,s)}_c(t,h)}return t.anchor&&i(t.anchor)}const qc=fw;function _c(e,t){const n=e.ctx;if(n&&n.ut){let o,r;for(t?(o=e.el,r=e.anchor):(o=e.targetStart,r=e.targetAnchor);o&&o!==r;)o.nodeType===1&&o.setAttribute("data-v-owner",n.uid),o=o.nextSibling;n.ut()}}function pw(e,t,n,o){const r=t.targetStart=n(""),s=t.targetAnchor=n("");return r[cw]=s,e&&(o(r,e),o(s,e)),s}const Qa=Symbol("_leaveCb"),Hu=Symbol("_enterCb");function mw(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leav
vendor: 20,740 bytes, lines 13-14
13ingVNodes:new Map};return rt(()=>{e.isMounted=!0}),Wn(()=>{e.isUnmounting=!0}),e}const yr=[Function,Array],hw={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:yr,onEnter:yr,onAfterEnter:yr,onEnterCancelled:yr,onBeforeLeave:yr,onLeave:yr,onAfterLeave:yr,onLeaveCancelled:yr,onBeforeAppear:yr,onAppear:yr,onAfterAppear:yr,onAppearCancelled:yr},gw=e=>{const t=e.subTree;return t.component?gw(t.component):t},Dk={name:"BaseTransition",props:hw,setup(e,{slots:t}){const n=It(),o=mw();return()=>{const r=t.default&&Sh(t.default(),!0);if(!r||!r.length)return;const s=vw(r),i=Nt(e),{mode:l}=i;if(o.isLeaving)return Pf(s);const u=Av(s);if(!u)return Pf(s);let c=Yl(u,i,o,n,p=>c=p);u.type!==jn&&Ns(u,c);let d=n.subTree&&Av(n.subTree);if(d&&d.type!==jn&&!ks(u,d)&&gw(n).type!==jn){let p=Yl(d,i,o,n);if(Ns(d,p),l==="out-in"&&u.type!==jn)return o.isLeaving=!0,p.afterLeave=()=>{o.isLeaving=!1,n.job.flags&8||n.update(),delete p.afterLeave,d=void 0},Pf(s);l==="in-out"&&u.type!==jn?p.delayLeave=(m,h,g)=>{const b=yw(o,d);b[String(d.key)]=d,m[Qa]=()=>{h(),m[Qa]=void 0,delete c.delayedLeave,d=void 0},c.delayedLeave=()=>{g(),delete c.delayedLeave,d=void 0}}:d=void 0}else d&&(d=void 0);return s}}};function vw(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==jn){t=n;break}}return t}const Mk=Dk;function yw(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function Yl(e,t,n,o,r){const{appear:s,mode:i,persisted:l=!1,onBeforeEnter:u,onEnter:c,onAfterEnter:d,onEnterCancelled:p,onBeforeLeave:m,onLeave:h,onAfterLeave:g,onLeaveCancelled:b,onBeforeAppear:y,onAppear:_,onAfterAppear:A,onAppearCancelled:k}=t,E=String(e.key),I=yw(n,e),F=(O,j)=>{O&&Br(O,o,9,j)},P=(O,j)=>{const G=j[1];F(O,j),Ke(O)?O.every(Q=>Q.length<=1)&&G():O.length<=1&&G()},B={mode:i,persisted:l,beforeEnter(O){let j=u;if(!n.isMounted)if(s)j=y||u;else return;O[Qa]&&O[Qa](!0);const G=I[E];G&&ks(e,G)&&G.el[Qa]&&G.el[Qa](),F(j,[O])},enter(O){let j=c,G=d,Q=p;if(!n.isMounted)if(s)j=_||c,G=A||d,Q=k||p;else return;let Y=!1;const W=O[Hu]=re=>{Y||(Y=!0,re?F(Q,[O]):F(G,[O]),B.delayedLeave&&B.delayedLeave(),O[Hu]=void 0)};j?P(j,[O,W]):W()},leave(O,j){const G=String(e.key);if(O[Hu]&&O[Hu](!0),n.isUnmounting)return j();F(m,[O]);let Q=!1;const Y=O[Qa]=W=>{Q||(Q=!0,j(),W?F(b,[O]):F(g,[O]),O[Qa]=void 0,I[G]===e&&delete I[G])};I[G]=e,h?P(h,[O,Y]):Y()},clone(O){const j=Yl(O,t,n,o,r);return r&&r(j),j}};return B}function Pf(e){if(Od(e))return e=rs(e),e.children=null,e}function Av(e){if(!Od(e))return dw(e.type)&&e.children?vw(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&ut(n.default))return n.default()}}function Ns(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Ns(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 Sh(e,t=!1,n){let o=[],r=0;for(let s=0;s<e.length;s++){let i=e[s];const l=n==null?i.key:String(n)+String(i.key!=null?i.key:s);i.type===de?(i.patchFlag&128&&r++,o=o.concat(Sh(i.children,t,l))):(t||i.type!==jn)&&o.push(l!=null?rs(i,{key:l}):i)}if(r>1)for(let s=0;s<o.length;s++)o[s].patchFlag=-2;return o}/*! #__NO_SIDE_EFFECTS__ */function $e(e,t){return ut(e)?Hn({name:e.name},t,{setup:e}):e}function Rk(){const e=It();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function bw(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Kl(e,t,n,o,r=!1){if(Ke(e)){e.forEach((g,b)=>Kl(g,t&&(Ke(t)?t[b]:t),n,o,r));return}if(Ds(o)&&!r){o.shapeFlag&512&&o.type.__asyncResolved&&o.component.subTree.component&&Kl(e,t,n,o.component.subTree);return}const s=o.shapeFlag&4?Rd(o.component):o.el,i=r?null:s,{i:l,r:u}=e,c=t&&t.r,d=l.refs===Gt?l.refs={}:l.refs,p=l.setupState,m=Nt(p),h=p===Gt?()=>!1:g=>Zt(m,g);if(c!=null&&c!==u&&(Sn(c)?(d[c]=null,h(c)&&(p[c]=null)):mt(c)&&(c.value=null)),ut(u))hu(u,l,12,[i,d]);else{const g=Sn(u),b=mt(u);if(g||b){const y=()=>{if(e.f){const _=g?h(u)?p[u]:d[u]:u.value;r?Ke(_)&&mh(_,s):Ke(_)?_.includes(s)||_.push(s):g?(d[u]=[s],h(u)&&(p[u]=d[u])):(u.value=[s],e.k&&(d[e.k]=u.value))}else g?(d[u]=i,h(u)&&(p[u]=i)):b&&(u.value=i,e.k&&(d[e.k]=i))};i?(y.id=-1,Vo(y,n)):y()}}}let Tv=!1;const ai=()=>{Tv||(console.error("Hydration completed but contains mismatches."),Tv=!0)},Lk=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Vk=e=>e.namespaceURI.includes("MathML"),Wu=e=>{if(e.nodeType===1){if(Lk(e))return"svg";if(Vk(e))return"mathml"}},qu=e=>e.nodeType===8;function Bk(e){const{mt:t,p:n,o:{patchProp:o,createText:r,nextSibling:s,parentNode:i,remove:l,insert:u,createComment:c}}=e,d=(k,E)=>{if(!E.hasChildNodes()){n(null,k,E),Hc(),E._vnode=k;return}p(E.firstChild,k,null,null,null),Hc(),E._vnode=k},p=(k,E,I,F,P,B=!1)=>{B=B||!!E.dynamicChildren;const O=qu(k)&&k.data==="[",j=()=>b(k,E,I,F,P,O),{type:G,ref:Q,shapeFlag:Y,patchFlag:W}=E;let re=k.nodeType;E.el=k,W===-2&&(B=!1,E.dynamicChildren=null);let oe=null;switch(G){case Ta:re!==3?E.children===""?(u(E.el=r(""),i(k),k),oe=k):oe=j():(k.data!==E.children&&(ai(),k.data=E.children),oe=s(k));break;case jn:A(k)?(oe=s(k),_(E.el=k.content.firstChild,k,I)):re!==8||O?oe=j():oe=s(k);break;case Pl:if(O&&(k=s(k),re=k.nodeType),re===1||re===3){oe=k;const ne=!E.children.length;for(let z=0;z<E.staticCount;z++)ne&&(E.children+=oe.nodeType===1?oe.outerHTML:oe.data),z===E.staticCount-1&&(E.anchor=oe),oe=s(oe);return O?s(oe):oe}else j();break;case de:O?oe=g(k,E,I,F,P,B):oe=j();break;default:if(Y&1)(re!==1||E.type.toLowerCase()!==k.tagName.toLowerCase())&&!A(k)?oe=j():oe=m(k,E,I,F,P,B);else if(Y&6){E.slotScopeIds=P;const ne=i(k);if(O?oe=y(k):qu(k)&&k.data==="teleport start"?oe=y(k,k.data,"teleport end"):oe=s(k),t(E,ne,null,I,F,Wu(ne),B),Ds(E)&&!E.type.__asyncResolved){let z;O?(z=C(de),z.anchor=oe?oe.previousSibling:ne.lastChild):z=k.nodeType===3?T(""):C("div"),z.el=k,E.component.subTree=z}}else Y&64?re!==8?oe=j():oe=E.type.hydrate(k,E,I,F,P,B,e,h):Y&128&&(oe=E.type.hydrate(k,E,I,F,Wu(i(k)),P,B,e,p))}return Q!=null&&Kl(Q,null,F,E),oe},m=(k,E,I,F,P,B)=>{B=B||!!E.dynamicChildren;const{type:O,props:j,patchFlag:G,shapeFlag:Q,dirs:Y,transition:W}=E,re=O==="input"||O==="option";if(re||G!==-1){Y&&Qr(E,null,I,"created");let oe=!1;if(A(k)){oe=Nw(null,W)&&I&&I.vnode.props&&I.vnode.props.appear;const z=k.content.firstChild;oe&&W.beforeEnter(z),_(z,k,I),E.el=k=z}if(Q&16&&!(j&&(j.innerHTML||j.textContent))){let z=h(k.firstChild,E,k,I,F,P,B);for(;z;){Gu(k,1)||ai();const N=z;z=z.nextSibling,l(N)}}else if(Q&8){let z=E.children;z[0]===`
14`&&(k.tagName==="PRE"||k.tagName==="TEXTAREA")&&(z=z.slice(1)),k.textContent!==z&&(Gu(k,0)||ai(),k.textContent=E.children)}if(j){if(re||!B||G&48){const z=k.tagName.includes("-");for(const N in j)(re&&(N.endsWith("value")||N==="indeterminate")||fu(N)&&!bi(N)||N[0]==="."||z)&&o(k,N,null,j[N],void 0,I)}else if(j.onClick)o(k,"onClick",null,j.onClick,void 0,I);else if(G&4&&Is(j.style))for(const z in j.style)j.style[z]}let ne;(ne=j&&j.onVnodeBeforeMount)&&wr(ne,I,E),Y&&Qr(E,null,I,"beforeMount"),((ne=j&&j.onVnodeMounted)||Y||oe)&&Gw(()=>{ne&&wr(ne,I,E),oe&&W.enter(k),Y&&Qr(E,null,I,"mounted")},F)}return k.nextSibling},h=(k,E,I,F,P,B,O)=>{O=O||!!E.dynamicChildren;const j=E.children,G=j.length;for(let Q=0;Q<G;Q++){const Y=O?j[Q]:j[Q]=_r(j[Q]),W=Y.type===Ta;k?(W&&!O&&Q+1<G&&_r(j[Q+1]).type===Ta&&(u(r(k.data.slice(Y.children.length)),I,s(k)),k.data=Y.children),k=p(k,Y,F,P,B,O)):W&&!Y.children?u(Y.el=r(""),I):(Gu(I,1)||ai(),n(null,Y,I,null,F,P,Wu(I),B))}return k},g=(k,E,I,F,P,B)=>{const{slotScopeIds:O}=E;O&&(P=P?P.concat(O):O);const j=i(k),G=h(s(k),E,j,I,F,P,B);return G&&qu(G)&&G.data==="]"?s(E.anchor=G):(ai(),u(E.anchor=c("]"),j,G),G)},b=(k,E,I,F,P,B)=>{if(Gu(k.parentElement,1)||ai(),E.el=null,B){const G=y(k);for(;;){const Q=s(k);if(Q&&Q!==G)l(Q);else break}}const O=s(k),j=i(k);return l(k),n(null,E,j,O,I,F,Wu(j),P),I&&(I.vnode.el=E.el,Ww(I,E.el)),O},y=(k,E="[",I="]")=>{let F=0;for(;k;)if(k=s(k),k&&qu(k)&&(k.data===E&&F++,k.data===I)){if(F===0)return s(k);F--}return k},_=(k,E,I)=>{const F=E.parentNode;F&&F.replaceChild(k,E);let P=I;for(;P;)P.vnode.el===E&&(P.vnode.el=P.subTree.el=k),P=P.parent},A=k=>k.nodeType===1&&k.tagName==="TEMPLATE";return[d,p]}const Ev="data-allow-mismatch",Fk={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function Gu(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(Ev);)e=e.parentElement;const n=e&&e.getAttribute(Ev);if(n==null)return!1;if(n==="")return!0;{const o=n.split(",");return t===0&&o.includes("children")?!0:n.split(",").includes(Fk[t])}}Cd().requestIdleCallback;Cd().cancelIdleCallback;const Ds=e=>!!e.type.__asyncLoader,Od=e=>e.type.__isKeepAlive;function Nk(e,t){ww(e,"a",t)}function zk(e,t){ww(e,"da",t)}function ww(e,t,n=ao){const o=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Id(t,o,n),n){let r=n.parent;for(;r&&r.parent;)Od(r.parent.vnode)&&jk(o,t,n,r),r=r.parent}}function jk(e,t,n,o){const r=Id(t,e,o,!0);ps(()=>{mh(o[t],r)},n)}function Id(e,t,n=ao,o=!1){if(n){const r=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...i)=>{Pa();const l=gu(n),u=Br(t,n,e,i);return l(),Oa(),u});return o?r.unshift(s):r.push(s),s}}const Va=e=>(t,n=ao)=>{(!Xl||e==="sp")&&Id(e,(...o)=>t(...o),n)},Ch=Va("bm"),rt=Va("m"),_w=Va("bu"),Wi=Va("u"),Wn=Va("bum"),ps=Va("um"),Uk=Va("sp"),Hk=Va("rtg"),Wk=Va("rtc");function qk(e,t=ao){Id("ec",e,t)}const xw="components";function he(e,t){return Cw(xw,e,!0,t)||e}const Sw=Symbol.for("v-ndc");function $r(e){return Sn(e)?Cw(xw,e,!1)||e:e||Sw}function Cw(e,t,n=!0,o=!1){const r=Jn||ao;if(r){const s=r.type;{const l=T$(s,!1);if(l&&(l===t||l===ur(t)||l===mu(ur(t))))return s}const i=Pv(r[e]||s[e],t)||Pv(r.appContext[e],t);return!i&&o?s:i}}function Pv(e,t){return e&&(e[t]||e[ur(t)]||e[mu(ur(t))])}function Be(e,t,n,o){let r;const s=n,i=Ke(e);if(i||Sn(e)){const l=i&&Is(e);let u=!1,c=!1;l&&(u=!Sr(e),c=os(e),e=Ad(e)),r=new Array(e.length);for(let d=0,p=e.length;d<p;d++)r[d]=t(u?c?zc(po(e[d])):po(e[d]):e[d],d,void 0,s)}else if(typeof e=="number"){r=new Array(e);for(let l=0;l<e;l++)r[l]=t(l+1,l,void 0,s)}else if(un(e))if(e[Symbol.iterator])r=Array.from(e,(l,u)=>t(l,u,void 0,s));else{const l=Object.keys(e);r=new Array(l.length);for(let u=0,c=l.length;u<c;u++){const d=l[u];r[u]=t(e[d],d,u,s)}}else r=[];return r}function Dr(e,t){for(let n=0;n<t.length;n++){const o=t[n];if(Ke(o))for(let r=0;r<o.length;r++)e[o[r].name]=o[r].fn;else o&&(e[o.name]=o.key?(...r)=>{const s=o.fn(...r);return s&&(s.key=o.key),s}:o.fn)}return e}function se(e,t,n={},o,r){if(Jn.ce||Jn.parent&&Ds(Jn.parent)&&Jn.parent.ce)return t!=="default"&&(n.name=t),v(),X(de,null,[C("slot",n,o&&o())],64);let s=e[t];s&&s._c&&(s._d=!1),v();const i=s&&kw(s(n)),l=n.key||i&&i.key,u=X(de,{key:(l&&!Vr(l)?l:`_${t}`)+(!i&&o?"_fb":"")},i||(o?o():[]),i&&e._===1?64:-2);return!r&&u.scopeId&&(u.slotScopeIds=[u.scopeId+"-s"]),s&&s._c&&(s._d=!0),u}function kw(e){return e.some(t=>zs(t)?!(t.type===jn||t.type===de&&!kw(t.children)):!0)?e:null}function Yu(e,t){const n={};for(const o in e)n[bc(o)]=e[o];return n}const Zp=e=>e?Qw(e)?Rd(e):Zp(e.parent):null,El=Hn(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=>Zp(e.parent),$root:e=>Zp(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Tw(e),$forceUpdate:e=>e.f||(e.f=()=>{xh(e.update)}),$nextTick:e=>e.n||(e.n=Ct.bind(e.proxy)),$watch:e=>p$.bind(e)}),Of=(e,t)=>e!==Gt&&!e.__isScriptSetup&&Zt(e,t),Gk={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:o,data:r,props:s,accessCache:i,type:l,appContext:u}=e;let c;if(t[0]!=="$"){const h=i[t];if(h!==void 0)switch(h){case 1:return o[t];case 2:return r[t];case 4:return n[t];case 3:return s[t]}else{if(Of(o,t))return i[t]=1,o[t];if(r!==Gt&&Zt(r,t))return i[t]=2,r[t];if((c=e.propsOptions[0])&&Zt(c,t))return i[t]=3,s[t];if(n!==Gt&&Zt(n,t))return i[t]=4,n[t];em&&(i[t]=0)}}const d=El[t];let p,m;if(d)return t==="$attrs"&&Ao(e.attrs,"get",""),d(e);if((p=l.__cssModules)&&(p=p[t]))return p;if(n!==Gt&&Zt(n,t))return i[t]=4,n[t];if(m=u.config.globalProperties,Zt(m,t))return m[t]},set({_:e},t,n){const{data:o,setupState:r,ctx:s}=e;return Of(r,t)?(r[t]=n,!0):o!==Gt&&Zt(o,t)?(o[t]=n,!0):Zt(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:r,propsOptions:s}},i){let l;return!!n[i]||e!==Gt&&Zt(e,i)||Of(t,i)||(l=s[0])&&Zt(l,i)||Zt(o,i)||Zt(El,i)||Zt(r.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Zt(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function pa(){return $w().slots}function qi(){return $w().attrs}function $w(){const e=It();return e.setupContext||(e.setupContext=Jw(e))}function Gc(e){return Ke(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Fr(e,t){return!e||!t?e||t:Ke(e)&&Ke(t)?e.concat(t):Hn({},Gc(e),Gc(t))}let em=!0;function Yk(e){const t=Tw(e),n=e.proxy,o=e.ctx;em=!1,t.beforeCreate&&Ov(t.beforeCreate,e,"bc");const{data:r,computed:s,methods:i,watch:l,provide:u,inject:c,created:d,beforeMount:p,mounted:m,beforeUpdate:h,updated:g,activated:b,deactivated:y,beforeDestroy:_,beforeUnmount:A,destroyed:k,unmounted:E,render:I,renderTracked:F,renderTriggered:P,errorCaptured:B,serverPrefetch:O,expose:j,inheritAttrs:G,components:Q,directives:Y,filters:W}=t;if(c&&Kk(c,o,null),i)for(const ne in i){const z=i[ne];ut(z)&&(o[ne]=z.bind(n))}if(r){const ne=r.call(n,n);un(ne)&&(e.data=Fo(ne))}if(em=!0,s)for(const ne in s){const z=s[ne],N=ut(z)?z.bind(n,n):ut(z.get)?z.get.bind(n,n):sa,ae=!ut(z)&&ut(z.set)?z.set.bind(n):sa,ee=w({get:N,set:ae});Object.defineProperty(o,ne,{enumerable:!0,configurable:!0,get:()=>ee.value,set:K=>ee.value=K})}if(l)for(const ne in l)Aw(l[ne],o,n,ne);if(u){const ne=ut(u)?u.call(n):u;Reflect.ownKeys(ne).forEach(z=>{cr(z,ne[z])})}d&&Ov(d,e,"c");function oe(ne,z){Ke(z)?z.forEach(N=>ne(N.bind(n))):z&&ne(z.bind(n))}if(oe(Ch,p),oe(rt,m),oe(_w,h),oe(Wi,g),oe(Nk,b),oe(zk,y),oe(qk,B),oe(Wk,F),oe(Hk,P),oe(Wn,A),oe(ps,E),oe(Uk,O),Ke(j))if(j.length){const ne=e.exposed||(e.exposed={});j.forEach(z=>{Object.defineProperty(ne,z,{get:()=>n[z],set:N=>n[z]=N})})}else e.exposed||(e.exposed={});I&&e.render===sa&&(e.render=I),G!=null&&(e.inheritAttrs=G),Q&&(e.components=Q),Y&&(e.directives=Y),O&&bw(e)}function Kk(e,t,n=sa){Ke(e)&&(e=tm(e));for(const o in e){const r=e[o];let s;un(r)?"default"in r?s=Dn(r.from||o,r.default,!0):s=Dn(r.from||o):s=Dn(r),mt(s)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>s.value,set:i=>s.value=i}):t[o]=s}}function Ov(e,t,n){Br(Ke(e)?e.map(o=>o.bind(t.proxy)):e.bind(t.proxy),t,n)}function Aw(e,t,n,o){let r=o.includes(".")?jw(n,o):()=>n[o];if(Sn(e)){const s=t[e];ut(s)&&we(r,s)}else if(ut(e))we(r,e.bind(n));else if(un(e))if(Ke(e))e.forEach(s=>Aw(s,t,n,o));else{const s=ut(e.handler)?e.handler.bind(n):t[e.handler];ut(s)&&we(r,s,e)}}function Tw(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,l=s.get(t);let u;return l?u=l:!r.length&&!n&&!o?u=t:(u={},r.length&&r.forEach(c=>Yc(u,c,i,!0)),Yc(u,t,i)),un(t)&&s.set(t,u),u}function Yc(e,t,n,o=!1){const{mixins:r,extends:s}=t;s&&Yc(e,s,n,!0),r&&r.forEach(i=>Yc(e,i,n,!0));for(const i in t)if(!(o&&i==="expose")){const l=Qk[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const Qk={data:Iv,props:Dv,emits:Dv,methods:bl,computed:bl,beforeCreate:Ro,created:Ro,beforeMount:Ro,mounted:Ro,beforeUpdate:Ro,updated:Ro,beforeDestroy:Ro,beforeUnmount:Ro,destroyed:Ro,unmounted:Ro,activated:Ro,deactivated:Ro,errorCaptured:Ro,serverPrefetch:Ro,components:bl,directives:bl,watch:Jk,provide:Iv,inject:Xk};function Iv(e,t){return t?e?function(){return Hn(ut(e)?e.call(this,this):e,ut(t)?t.call(this,this):t)}:t:e}function Xk(e,t){return bl(tm(e),tm(t))}function tm(e){if(Ke(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ro(e,t){return e?[...new Set([].concat(e,t))]:t}function bl(e,t){return e?Hn(Object.create(null),e,t):t}function Dv(e,t){return e?Ke(e)&&Ke(t)?[...new Set([...e,...t])]:Hn(Object.create(null),Gc(e),Gc(t??{})):t}function Jk(e,t){if(!e)return t;if(!t)return e;const n=Hn(Object.create(null),e);for(const o in t)n[o]=Ro(e[o],t[o]);return n}function Ew(){return{app:null,config:{isNativeTag:zC,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 Zk=0;function e$(e,t){return function(o,r=null){ut(o)||(o=Hn({},o)),r!=null&&!un(r)&&(r=null);const s=Ew(),i=new WeakSet,l=[];let u=!1;const c=s.app={_uid:Zk++,_component:o,_props:r,_container:null,_context:s,_instance:null,version:P$,get config(){return s.config},set config(d){},use(d,...p){return i.has(d)||(d&&ut(d.install)?(i.add(d),d.install(c,...p)):ut(d)&&(i.add(d),d(c,...p))),c},mixin(d){return s.mixins.includes(d)||s.mixins.push(d),c},component(d,p){return p?(s.components[d]=p,c):s.components[d]},directive(d,p){return p?(s.directives[d]=p,c):s.directives[d]},mount(d,p,m){if(!u){const h=c._ceVNode||C(o,r);return h.appContext=s,m===!0?m="svg":m===!1&&(m=void 0),p&&t?t(h,d):e(h,d,m),u=!0,c._container=d,d.__vue_app__=c,Rd(h.component)}},onUnmount(d){l.push(d)},unmount(){u&&(Br(l,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide(d,p){return s.provides[d]=p,c},runWithContext(d){const p=Ms;Ms=c;try{return d()}finally{Ms=p}}};return c}}let Ms=null;function cr(e,t){if(ao){let n=ao.provides;const o=ao.parent&&ao.parent.provides;o===n&&(n=ao.provides=Object.create(o)),n[e]=t}}function Dn(e,t,n=!1){const o=ao||Jn;if(o||Ms){const r=Ms?Ms._context.provides:o?o.parent==null?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return n&&ut(t)?t.call(o&&o.proxy):t}}function Pw(){return!!(ao||Jn||Ms)}const Ow={},Iw=()=>Object.create(Ow),Dw=e=>Object.getPrototypeOf(e)===Ow;function t$(e,t,n,o=!1){const r={},s=Iw();e.propsDefaults=Object.create(null),Mw(e,t,r,s);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=o?r:ew(r):e.type.props?e.props=r:e.props=s,e.attrs=s}function n$(e,t,n,o){const{props:r,attrs:s,vnode:{patchFlag:i}}=e,l=Nt(r),[u]=e.propsOptions;let c=!1;if((o||i>0)&&!(i&16)){if(i&8){const d=e.vnode.dynamicProps;for(let p=0;p<d.length;p++){let m=d[p];if(Md(e.emitsOptions,m))continue;const h=t[m];if(u)if(Zt(s,m))h!==s[m]&&(s[m]=h,c=!0);else{const g=ur(m);r[g]=nm(u,l,g,h,e,!1)}else h!==s[m]&&(s[m]=h,c=!0)}}}else{Mw(e,t,r,s)&&(c=!0);let d;for(const p in l)(!t||!Zt(t,p)&&((d=La(p))===p||!Zt(t,d)))&&(u?n&&(n[p]!==void 0||n[d]!==void 0)&&(r[p]=nm(u,l,p,void 0,e,!0)):delete r[p]);if(s!==l)for(const p in s)(!t||!Zt(t,p))&&(delete s[p],c=!0)}c&&Sa(e.attrs,"set","")}function Mw(e,t,n,o){const[r,s]=e.propsOptions;let i=!1,l;if(t)for(let u in t){if(bi(u))continue;const c=t[u];let d;r&&Zt(r,d=ur(u))?!s||!s.includes(d)?n[d]=c:(l||(l={}))[d]=c:Md(e.emitsOptions,u)||(!(u in o)||c!==o[u])&&(o[u]=c,i=!0)}if(s){const u=Nt(n),c=l||Gt;for(let d=0;d<s.length;d++){const p=s[d];n[p]=nm(r,u,p,c[p],e,!Zt(c,p))}}return i}function nm(e,t,n,o,r,s){const i=e[n];if(i!=null){const l=Zt(i,"default");if(l&&o===void 0){const u=i.default;if(i.type!==Function&&!i.skipFactory&&ut(u)){const{propsDefaults:c}=r;if(n in c)o=c[n];else{const d=gu(r);o=c[n]=u.call(null,t),d()}}else o=u;r.ce&&r.ce._setProp(n,o)}i[0]&&(s&&!l?o=!1:i[1]&&(o===""||o===La(n))&&(o=!0))}return o}const o$=new WeakMap;function Rw(e,t,n=!1){const o=n?o$:t.propsCache,r=o.get(e);if(r)return r;const s=e.props,i={},l=[];let u=!1;if(!ut(e)){const d=p=>{u=!0;const[m,h]=Rw(p,t,!0);Hn(i,m),h&&l.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!s&&!u)return un(e)&&o.set(e,vi),vi;if(Ke(s))for(let d=0;d<s.length;d++){const p=ur(s[d]);Mv(p)&&(i[p]=Gt)}else if(s)for(const d in s){const p=ur(d);if(Mv(p)){const m=s[d],h=i[p]=Ke(m)||ut(m)?{type:m}:Hn({},m),g=h.type;let b=!1,y=!0;if(Ke(g))for(let _=0;_<g.length;++_){const A=g[_],k=ut(A)&&A.name;if(k==="Boolean"){b=!0;break}else k==="String"&&(y=!1)}else b=ut(g)&&g.name==="Boolean";h[0]=b,h[1]=y,(b||Zt(h,"default"))&&l.push(p)}}const c=[i,l];return un(e)&&o.set(e,c),c}function Mv(e){return e[0]!=="$"&&!bi(e)}const kh=e=>e[0]==="_"||e==="$stable",$h=e=>Ke(e)?e.map(_r):[_r(e)],r$=(e,t,n)=>{if(t._n)return t;const o=$((...r)=>$h(t(...r)),n);return o._c=!1,o},Lw=(e,t,n)=>{const o=e._ctx;for(const r in e){if(kh(r))continue;const s=e[r];if(ut(s))t[r]=r$(r,s,o);else if(s!=null){const i=$h(s);t[r]=()=>i}}},Vw=(e,t)=>{const n=$h(t);e.slots.default=()=>n},Bw=(e,t,n)=>{for(const o in t)(n||!kh(o))&&(e[o]=t[o])}
vendor: 4,859 bytes, line 14
14,a$=(e,t,n)=>{const o=e.slots=Iw();if(e.vnode.shapeFlag&32){const r=t._;r?(Bw(o,t,n),n&&D0(o,"_",r,!0)):Lw(t,o)}else t&&Vw(e,t)},s$=(e,t,n)=>{const{vnode:o,slots:r}=e;let s=!0,i=Gt;if(o.shapeFlag&32){const l=t._;l?n&&l===1?s=!1:Bw(r,t,n):(s=!t.$stable,Lw(t,r)),i=t}else t&&(Vw(e,t),i={default:1});if(s)for(const l in r)!kh(l)&&i[l]==null&&delete r[l]},Vo=Gw;function i$(e){return Fw(e)}function l$(e){return Fw(e,Bk)}function Fw(e,t){const n=Cd();n.__VUE__=!0;const{insert:o,remove:r,patchProp:s,createElement:i,createText:l,createComment:u,setText:c,setElementText:d,parentNode:p,nextSibling:m,setScopeId:h=sa,insertStaticContent:g}=e,b=(U,Z,pe,le=null,L=null,ie=null,me=void 0,Te=null,be=!!Z.dynamicChildren)=>{if(U===Z)return;U&&!ks(U,Z)&&(le=ye(U),K(U,L,ie,!0),U=null),Z.patchFlag===-2&&(be=!1,Z.dynamicChildren=null);const{type:Ee,ref:_e,shapeFlag:Se}=Z;switch(Ee){case Ta:y(U,Z,pe,le);break;case jn:_(U,Z,pe,le);break;case Pl:U==null&&A(Z,pe,le,me);break;case de:Q(U,Z,pe,le,L,ie,me,Te,be);break;default:Se&1?I(U,Z,pe,le,L,ie,me,Te,be):Se&6?Y(U,Z,pe,le,L,ie,me,Te,be):(Se&64||Se&128)&&Ee.process(U,Z,pe,le,L,ie,me,Te,be,Ce)}_e!=null&&L&&Kl(_e,U&&U.ref,ie,Z||U,!Z)},y=(U,Z,pe,le)=>{if(U==null)o(Z.el=l(Z.children),pe,le);else{const L=Z.el=U.el;Z.children!==U.children&&c(L,Z.children)}},_=(U,Z,pe,le)=>{U==null?o(Z.el=u(Z.children||""),pe,le):Z.el=U.el},A=(U,Z,pe,le)=>{[U.el,U.anchor]=g(U.children,Z,pe,le,U.el,U.anchor)},k=({el:U,anchor:Z},pe,le)=>{let L;for(;U&&U!==Z;)L=m(U),o(U,pe,le),U=L;o(Z,pe,le)},E=({el:U,anchor:Z})=>{let pe;for(;U&&U!==Z;)pe=m(U),r(U),U=pe;r(Z)},I=(U,Z,pe,le,L,ie,me,Te,be)=>{Z.type==="svg"?me="svg":Z.type==="math"&&(me="mathml"),U==null?F(Z,pe,le,L,ie,me,Te,be):O(U,Z,L,ie,me,Te,be)},F=(U,Z,pe,le,L,ie,me,Te)=>{let be,Ee;const{props:_e,shapeFlag:Se,transition:Oe,dirs:je}=U;if(be=U.el=i(U.type,ie,_e&&_e.is,_e),Se&8?d(be,U.children):Se&16&&B(U.children,be,null,le,L,If(U,ie),me,Te),je&&Qr(U,null,le,"created"),P(be,U,U.scopeId,me,le),_e){for(const ft in _e)ft!=="value"&&!bi(ft)&&s(be,ft,null,_e[ft],ie,le);"value"in _e&&s(be,"value",null,_e.value,ie),(Ee=_e.onVnodeBeforeMount)&&wr(Ee,le,U)}je&&Qr(U,null,le,"beforeMount");const qe=Nw(L,Oe);qe&&Oe.beforeEnter(be),o(be,Z,pe),((Ee=_e&&_e.onVnodeMounted)||qe||je)&&Vo(()=>{Ee&&wr(Ee,le,U),qe&&Oe.enter(be),je&&Qr(U,null,le,"mounted")},L)},P=(U,Z,pe,le,L)=>{if(pe&&h(U,pe),le)for(let ie=0;ie<le.length;ie++)h(U,le[ie]);if(L){let ie=L.subTree;if(Z===ie||qw(ie.type)&&(ie.ssContent===Z||ie.ssFallback===Z)){const me=L.vnode;P(U,me,me.scopeId,me.slotScopeIds,L.parent)}}},B=(U,Z,pe,le,L,ie,me,Te,be=0)=>{for(let Ee=be;Ee<U.length;Ee++){const _e=U[Ee]=Te?Xa(U[Ee]):_r(U[Ee]);b(null,_e,Z,pe,le,L,ie,me,Te)}},O=(U,Z,pe,le,L,ie,me)=>{const Te=Z.el=U.el;let{patchFlag:be,dynamicChildren:Ee,dirs:_e}=Z;be|=U.patchFlag&16;const Se=U.props||Gt,Oe=Z.props||Gt;let je;if(pe&&bs(pe,!1),(je=Oe.onVnodeBeforeUpdate)&&wr(je,pe,Z,U),_e&&Qr(Z,U,pe,"beforeUpdate"),pe&&bs(pe,!0),(Se.innerHTML&&Oe.innerHTML==null||Se.textContent&&Oe.textContent==null)&&d(Te,""),Ee?j(U.dynamicChildren,Ee,Te,pe,le,If(Z,L),ie):me||z(U,Z,Te,null,pe,le,If(Z,L),ie,!1),be>0){if(be&16)G(Te,Se,Oe,pe,L);else if(be&2&&Se.class!==Oe.class&&s(Te,"class",null,Oe.class,L),be&4&&s(Te,"style",Se.style,Oe.style,L),be&8){const qe=Z.dynamicProps;for(let ft=0;ft<qe.length;ft++){const st=qe[ft],wt=Se[st],Ot=Oe[st];(Ot!==wt||st==="value")&&s(Te,st,wt,Ot,L,pe)}}be&1&&U.children!==Z.children&&d(Te,Z.children)}else!me&&Ee==null&&G(Te,Se,Oe,pe,L);((je=Oe.onVnodeUpdated)||_e)&&Vo(()=>{je&&wr(je,pe,Z,U),_e&&Qr(Z,U,pe,"updated")},le)},j=(U,Z,pe,le,L,ie,me)=>{for(let Te=0;Te<Z.length;Te++){const be=U[Te],Ee=Z[Te],_e=be.el&&(be.type===de||!ks(be,Ee)||be.shapeFlag&70)?p(be.el):pe;b(be,Ee,_e,null,le,L,ie,me,!0)}},G=(U,Z,pe,le,L)=>{if(Z!==pe){if(Z!==Gt)for(const ie in Z)!bi(ie)&&!(ie in pe)&&s(U,ie,Z[ie],null,L,le);for(const ie in pe){if(bi(ie))continue;const me=pe[ie],Te=Z[ie];me!==Te&&ie!=="value"&&s(U,ie,Te,me,L,le)}"value"in pe&&s(U,"value",Z.value,pe.value,L)}},Q=(U,Z,pe,le,L,ie,me,Te,be)=>{const Ee=Z.el=U?U.el:l(""),_e=Z.anchor=U?U.anchor:l("");let{patchFlag:Se,dynamicChildren:Oe,slotScopeIds:je}=Z;je&&(Te=Te?Te.concat(je):je),U==null?(o(Ee,pe,le),o(_e,pe,le),B(Z.children||[],pe,_e,L,ie,me,Te,be)):Se>0&&Se&64&&Oe&&U.dynamicChildren?(j(U.dynamicChildren,Oe,pe,L,ie,me,Te),(Z.key!=null||L&&Z===L.subTree)&&Ah(U,Z,!0)):z(U,Z,pe,_e,L,ie,me,Te,be)},Y=(U,Z,pe,le,L,ie,me,Te,be)=>{Z.slotScopeIds=Te,U==null?Z.shapeFlag&512?L.ctx.activate(Z,pe,le,me,be):W(Z,pe,le,L,ie,me,be):re(U,Z,be)},W=(U,Z,pe,le,L,ie,me)=>{const Te=U.component=C$(U,le,L);if(Od(U)&&(Te.ctx.renderer=Ce),k$(Te,!1,me),Te.asyncDep){if(L&&L.registerDep(Te,oe,me),!U.el){const be=Te.subTree=C(jn);_(null,be,Z,pe)}}else oe(Te,U,Z,pe,L,ie,me)},re=(U,Z,pe)=>{const le=Z.component=U.component;if(v$(U,Z,pe))if(le.asyncDep&&!le.asyncResolved){ne(le,Z,pe);return}
vendor: 10,860 bytes, line 14
14else le.next=Z,le.update();else Z.el=U.el,le.vnode=Z},oe=(U,Z,pe,le,L,ie,me)=>{const Te=()=>{if(U.isMounted){let{next:Se,bu:Oe,u:je,parent:qe,vnode:ft}=U;{const Tt=zw(U);if(Tt){Se&&(Se.el=ft.el,ne(U,Se,me)),Tt.asyncDep.then(()=>{U.isUnmounted||Te()});return}}let st=Se,wt;bs(U,!1),Se?(Se.el=ft.el,ne(U,Se,me)):Se=ft,Oe&&wc(Oe),(wt=Se.props&&Se.props.onVnodeBeforeUpdate)&&wr(wt,qe,Se,ft),bs(U,!0);const Ot=Df(U),jt=U.subTree;U.subTree=Ot,b(jt,Ot,p(jt.el),ye(jt),U,L,ie),Se.el=Ot.el,st===null&&Ww(U,Ot.el),je&&Vo(je,L),(wt=Se.props&&Se.props.onVnodeUpdated)&&Vo(()=>wr(wt,qe,Se,ft),L)}else{let Se;const{el:Oe,props:je}=Z,{bm:qe,m:ft,parent:st,root:wt,type:Ot}=U,jt=Ds(Z);if(bs(U,!1),qe&&wc(qe),!jt&&(Se=je&&je.onVnodeBeforeMount)&&wr(Se,st,Z),bs(U,!0),Oe&&ot){const Tt=()=>{U.subTree=Df(U),ot(Oe,U.subTree,U,L,null)};jt&&Ot.__asyncHydrate?Ot.__asyncHydrate(Oe,U,Tt):Tt()}else{wt.ce&&wt.ce._injectChildStyle(Ot);const Tt=U.subTree=Df(U);b(null,Tt,pe,le,U,L,ie),Z.el=Tt.el}if(ft&&Vo(ft,L),!jt&&(Se=je&&je.onVnodeMounted)){const Tt=Z;Vo(()=>wr(Se,st,Tt),L)}(Z.shapeFlag&256||st&&Ds(st.vnode)&&st.vnode.shapeFlag&256)&&U.a&&Vo(U.a,L),U.isMounted=!0,Z=pe=le=null}};U.scope.on();const be=U.effect=new B0(Te);U.scope.off();const Ee=U.update=be.run.bind(be),_e=U.job=be.runIfDirty.bind(be);_e.i=U,_e.id=U.uid,be.scheduler=()=>xh(_e),bs(U,!0),Ee()},ne=(U,Z,pe)=>{Z.component=U;const le=U.vnode.props;U.vnode=Z,U.next=null,n$(U,Z.props,le,pe),s$(U,Z.children,pe),Pa(),Sv(U),Oa()},z=(U,Z,pe,le,L,ie,me,Te,be=!1)=>{const Ee=U&&U.children,_e=U?U.shapeFlag:0,Se=Z.children,{patchFlag:Oe,shapeFlag:je}=Z;if(Oe>0){if(Oe&128){ae(Ee,Se,pe,le,L,ie,me,Te,be);return}else if(Oe&256){N(Ee,Se,pe,le,L,ie,me,Te,be);return}}je&8?(_e&16&&Fe(Ee,L,ie),Se!==Ee&&d(pe,Se)):_e&16?je&16?ae(Ee,Se,pe,le,L,ie,me,Te,be):Fe(Ee,L,ie,!0):(_e&8&&d(pe,""),je&16&&B(Se,pe,le,L,ie,me,Te,be))},N=(U,Z,pe,le,L,ie,me,Te,be)=>{U=U||vi,Z=Z||vi;const Ee=U.length,_e=Z.length,Se=Math.min(Ee,_e);let Oe;for(Oe=0;Oe<Se;Oe++){const je=Z[Oe]=be?Xa(Z[Oe]):_r(Z[Oe]);b(U[Oe],je,pe,null,L,ie,me,Te,be)}Ee>_e?Fe(U,L,ie,!0,!1,Se):B(Z,pe,le,L,ie,me,Te,be,Se)},ae=(U,Z,pe,le,L,ie,me,Te,be)=>{let Ee=0;const _e=Z.length;let Se=U.length-1,Oe=_e-1;for(;Ee<=Se&&Ee<=Oe;){const je=U[Ee],qe=Z[Ee]=be?Xa(Z[Ee]):_r(Z[Ee]);if(ks(je,qe))b(je,qe,pe,null,L,ie,me,Te,be);else break;Ee++}for(;Ee<=Se&&Ee<=Oe;){const je=U[Se],qe=Z[Oe]=be?Xa(Z[Oe]):_r(Z[Oe]);if(ks(je,qe))b(je,qe,pe,null,L,ie,me,Te,be);else break;Se--,Oe--}if(Ee>Se){if(Ee<=Oe){const je=Oe+1,qe=je<_e?Z[je].el:le;for(;Ee<=Oe;)b(null,Z[Ee]=be?Xa(Z[Ee]):_r(Z[Ee]),pe,qe,L,ie,me,Te,be),Ee++}}else if(Ee>Oe)for(;Ee<=Se;)K(U[Ee],L,ie,!0),Ee++;else{const je=Ee,qe=Ee,ft=new Map;for(Ee=qe;Ee<=Oe;Ee++){const pt=Z[Ee]=be?Xa(Z[Ee]):_r(Z[Ee]);pt.key!=null&&ft.set(pt.key,Ee)}let st,wt=0;const Ot=Oe-qe+1;let jt=!1,Tt=0;const cn=new Array(Ot);for(Ee=0;Ee<Ot;Ee++)cn[Ee]=0;for(Ee=je;Ee<=Se;Ee++){const pt=U[Ee];if(wt>=Ot){K(pt,L,ie,!0);continue}let Dt;if(pt.key!=null)Dt=ft.get(pt.key);else for(st=qe;st<=Oe;st++)if(cn[st-qe]===0&&ks(pt,Z[st])){Dt=st;break}Dt===void 0?K(pt,L,ie,!0):(cn[Dt-qe]=Ee+1,Dt>=Tt?Tt=Dt:jt=!0,b(pt,Z[Dt],pe,null,L,ie,me,Te,be),wt++)}const qt=jt?u$(cn):vi;for(st=qt.length-1,Ee=Ot-1;Ee>=0;Ee--){const pt=qe+Ee,Dt=Z[pt],gn=pt+1<_e?Z[pt+1].el:le;cn[Ee]===0?b(null,Dt,pe,gn,L,ie,me,Te,be):jt&&(st<0||Ee!==qt[st]?ee(Dt,pe,gn,2):st--)}}},ee=(U,Z,pe,le,L=null)=>{const{el:ie,type:me,transition:Te,children:be,shapeFlag:Ee}=U;if(Ee&6){ee(U.component.subTree,Z,pe,le);return}if(Ee&128){U.suspense.move(Z,pe,le);return}if(Ee&64){me.move(U,Z,pe,Ce);return}if(me===de){o(ie,Z,pe);for(let Se=0;Se<be.length;Se++)ee(be[Se],Z,pe,le);o(U.anchor,Z,pe);return}if(me===Pl){k(U,Z,pe);return}if(le!==2&&Ee&1&&Te)if(le===0)Te.beforeEnter(ie),o(ie,Z,pe),Vo(()=>Te.enter(ie),L);else{const{leave:Se,delayLeave:Oe,afterLeave:je}=Te,qe=()=>{U.ctx.isUnmounted?r(ie):o(ie,Z,pe)},ft=()=>{Se(ie,()=>{qe(),je&&je()})};Oe?Oe(ie,qe,ft):ft()}else o(ie,Z,pe)},K=(U,Z,pe,le=!1,L=!1)=>{const{type:ie,props:me,ref:Te,children:be,dynamicChildren:Ee,shapeFlag:_e,patchFlag:Se,dirs:Oe,cacheIndex:je}=U;if(Se===-2&&(L=!1),Te!=null&&(Pa(),Kl(Te,null,pe,U,!0),Oa()),je!=null&&(Z.renderCache[je]=void 0),_e&256){Z.ctx.deactivate(U);return}const qe=_e&1&&Oe,ft=!Ds(U);let st;if(ft&&(st=me&&me.onVnodeBeforeUnmount)&&wr(st,Z,U),_e&6)ge(U.component,pe,le);else{if(_e&128){U.suspense.unmount(pe,le);return}qe&&Qr(U,null,Z,"beforeUnmount"),_e&64?U.type.remove(U,Z,pe,Ce,le):Ee&&!Ee.hasOnce&&(ie!==de||Se>0&&Se&64)?Fe(Ee,Z,pe,!1,!0):(ie===de&&Se&384||!L&&_e&16)&&Fe(be,Z,pe),le&&Ie(U)}(ft&&(st=me&&me.onVnodeUnmounted)||qe)&&Vo(()=>{st&&wr(st,Z,U),qe&&Qr(U,null,Z,"unmounted")},pe)},Ie=U=>{const{type:Z,el:pe,anchor:le,transition:L}=U;if(Z===de){fe(pe,le);return}if(Z===Pl){E(U);return}const ie=()=>{r(pe),L&&!L.persisted&&L.afterLeave&&L.afterLeave()};if(U.shapeFlag&1&&L&&!L.persisted){const{leave:me,delayLeave:Te}=L,be=()=>me(pe,ie);Te?Te(U.el,ie,be):be()}else ie()},fe=(U,Z)=>{let pe;for(;U!==Z;)pe=m(U),r(U),U=pe;r(Z)},ge=(U,Z,pe)=>{const{bum:le,scope:L,job:ie,subTree:me,um:Te,m:be,a:Ee,parent:_e,slots:{__:Se}}=U;Rv(be),Rv(Ee),le&&wc(le),_e&&Ke(Se)&&Se.forEach(Oe=>{_e.renderCache[Oe]=void 0}),L.stop(),ie&&(ie.flags|=8,K(me,U,Z,pe)),Te&&Vo(Te,Z),Vo(()=>{U.isUnmounted=!0},Z),Z&&Z.pendingBranch&&!Z.isUnmounted&&U.asyncDep&&!U.asyncResolved&&U.suspenseId===Z.pendingId&&(Z.deps--,Z.deps===0&&Z.resolve())},Fe=(U,Z,pe,le=!1,L=!1,ie=0)=>{for(let me=ie;me<U.length;me++)K(U[me],Z,pe,le,L)},ye=U=>{if(U.shapeFlag&6)return ye(U.component.subTree);if(U.shapeFlag&128)return U.suspense.next();const Z=m(U.anchor||U.el),pe=Z&&Z[cw];return pe?m(pe):Z};let ce=!1;const Re=(U,Z,pe)=>{U==null?Z._vnode&&K(Z._vnode,null,null,!0):b(Z._vnode||null,U,Z,null,null,null,pe),Z._vnode=U,ce||(ce=!0,Sv(),Hc(),ce=!1)},Ce={p:b,um:K,m:ee,r:Ie,mt:W,mc:B,pc:z,pbc:j,n:ye,o:e};let De,ot;return t&&([De,ot]=t(Ce)),{render:Re,hydrate:De,createApp:e$(Re,De)}}function If({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 bs({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Nw(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ah(e,t,n=!1){const o=e.children,r=t.children;if(Ke(o)&&Ke(r))for(let s=0;s<o.length;s++){const i=o[s];let l=r[s];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=r[s]=Xa(r[s]),l.el=i.el),!n&&l.patchFlag!==-2&&Ah(i,l)),l.type===Ta&&(l.el=i.el),l.type===jn&&!l.el&&(l.el=i.el)}}function u$(e){const t=e.slice(),n=[0];let o,r,s,i,l;const u=e.length;for(o=0;o<u;o++){const c=e[o];if(c!==0){if(r=n[n.length-1],e[r]<c){t[o]=r,n.push(o);continue}for(s=0,i=n.length-1;s<i;)l=s+i>>1,e[n[l]]<c?s=l+1:i=l;c<e[n[s]]&&(s>0&&(t[o]=n[s-1]),n[s]=o)}}for(s=n.length,i=n[s-1];s-- >0;)n[s]=i,i=t[i];return n}function zw(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:zw(t)}function Rv(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const c$=Symbol.for("v-scx"),d$=()=>Dn(c$);function Po(e,t){return Dd(e,null,t)}function f$(e,t){return Dd(e,null,{flush:"sync"})}function we(e,t,n){return Dd(e,t,n)}function Dd(e,t,n=Gt){const{immediate:o,deep:r,flush:s,once:i}=n,l=Hn({},n),u=t&&o||!t&&s!=="post";let c;if(Xl){if(s==="sync"){const h=d$();c=h.__watcherHandles||(h.__watcherHandles=[])}else if(!u){const h=()=>{};return h.stop=sa,h.resume=sa,h.pause=sa,h}}const d=ao;l.call=(h,g,b)=>Br(h,d,g,b);let p=!1;s==="post"?l.scheduler=h=>{Vo(h,d&&d.suspense)}:s!=="sync"&&(p=!0,l.scheduler=(h,g)=>{g?h():xh(h)}),l.augmentJob=h=>{t&&(h.flags|=4),p&&(h.flags|=2,d&&(h.id=d.uid,h.i=d))};const m=Tk(e,t,l);return Xl&&(c?c.push(m):u&&m()),m}function p$(e,t,n){const o=this.proxy,r=Sn(e)?e.includes(".")?jw(o,e):()=>o[e]:e.bind(o,o);let s;ut(t)?s=t:(s=t.handler,n=t);const i=gu(this),l=Dd(r,s.bind(o),n);return i(),l}function jw(e,t){const n=t.split(".");return()=>{let o=e;for(let r=0;r<n.length&&o;r++)o=o[n[r]];return o}}function Gi(e,t,n=Gt){const o=It(),r=ur(t),s=La(t),i=Uw(e,r),l=rw((u,c)=>{let d,p=Gt,m;return f$(()=>{const h=e[r];Ko(d,h)&&(d=h,c())}),{get(){return u(),n.get?n.get(d):d},set(h){const g=n.set?n.set(h):h;if(!Ko(g,d)&&!(p!==Gt&&Ko(h,p)))return;const b=o.vnode.props;b&&(t in b||r in b||s in b)&&(`onUpdate:${t}`in b||`onUpdate:${r}`in b||`onUpdate:${s}`in b)||(d=h,c()),o.emit(`update:${t}`,g),Ko(h,g)&&Ko(h,p)&&!Ko(g,m)&&c(),p=h,m=g}}});return l[Symbol.iterator]=()=>{let u=0;return{next(){return u<2?{value:u++?i||Gt:l,done:!1}:{done:!0}}}},l}const Uw=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${ur(t)}Modifiers`]||e[`${La(t)}Modifiers`];function m$(e,t,...n){if(e.isUnmounted)return;const o=e.vnode.props||Gt;let r=n;const s=t.startsWith("update:"),i=s&&Uw(o,t.slice(7));i&&(i.trim&&(r=n.map(d=>Sn(d)?d.trim():d)),i.number&&(r=n.map(Fc)));let l,u=o[l=bc(t)]||o[l=bc(ur(t))];!u&&s&&(u=o[l=bc(La(t))]),u&&Br(u,e,6,r);const c=o[l+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Br(c,e,6,r)}}function Hw(e,t,n=!1){const o=t.emitsCache,r=o.get(e);if(r!==void 0)return r;const s=e.emits;let i={},l=!1;if(!ut(e)){const u=c=>{const d=Hw(c,t,!0);d&&(l=!0,Hn(i,d))};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!s&&!l?(un(e)&&o.set(e,null),null):(Ke(s)?s.forEach(u=>i[u]=null):Hn(i,s),un(e)&&o.set(e,i),i)}function Md(e,t){return!e||!fu(t)?!1:(t=t.slice(2).replace(/Once$/,""),Zt(e,t[0].toLowerCase()+t.slice(1))||Zt(e,La(t))||Zt(e,t))}function Df(e){const{type:t,vnode:n,proxy:o,withProxy:r,propsOptions:[s],slots:i,attrs:l,emit:u,render:c,renderCache:d,props:p,data:m,setupState:h,ctx:g,inheritAttrs:b}=e,y=Wc(e);let _,A;try{if(n.shapeFlag&4){const E=r||o,I=E;_=_r(c.call(I,E,d,p,h,m,g)),A=l}else{const E=t;_=_r(E.length>1?E(p,{attrs:l,slots:i,emit:u}):E(p,null)),A=t.props?l:h$(l)}}catch(E){Ol.length=0,Pd(E,e,1),_=C(jn)}let k=_;if(A&&b!==!1){const E=Object.keys(A),{shapeFlag:I}=k;E.length&&I&7&&(s&&E.some(ph)&&(A=g$(A,s)),k=rs(k,A,!1,!0))}return n.dirs&&(k=rs(k,null,!1,!0),k.dirs=k.dirs?k.dirs.concat(n.dirs):n.dirs),n.transition&&Ns(k,n.transition),_=k,Wc(y),_}const h$=e=>{let t;for(const n in e)(n==="class"||n==="style"||fu(n))&&((t||(t={}))[n]=e[n]);return t},g$=(e,t)=>{const n={};for(const o in e)(!ph(o)||!(o.slice(9)in t))&&(n[o]=e[o]);return n};function v$(e,t,n){const{props:o,children:r,component:s}=e,{props:i,children:l,patchFlag:u}=t,c=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&u>=0){if(u&1024)return!0;if(u&16)return o?Lv(o,i,c):!!i;if(u&8){const d=t.dynamicProps;for(let p=0;p<d.length;p++){const m=d[p];if(i[m]!==o[m]&&!Md(c,m))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:o===i?!1:o?i?Lv(o,i,c):!0:!!i;return!1}function Lv(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let r=0;r<o.length;r++){const s=o[r];
vendor: 4,792 bytes, line 14
14if(t[s]!==e[s]&&!Md(n,s))return!0}return!1}function Ww({vnode:e,parent:t},n){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.el=e.el),o===e)(e=t.vnode).el=n,t=t.parent;else break}}const qw=e=>e.__isSuspense,y$={},b$=y$;function Gw(e,t){t&&t.pendingBranch?Ke(e)?t.effects.push(...e):t.effects.push(e):Ok(e)}const de=Symbol.for("v-fgt"),Ta=Symbol.for("v-txt"),jn=Symbol.for("v-cmt"),Pl=Symbol.for("v-stc"),Ol=[];let sr=null;function v(e=!1){Ol.push(sr=e?null:[])}function w$(){Ol.pop(),sr=Ol[Ol.length-1]||null}let Ql=1;function Vv(e,t=!1){Ql+=e,e<0&&sr&&t&&(sr.hasOnce=!0)}function Yw(e){return e.dynamicChildren=Ql>0?sr||vi:null,w$(),Ql>0&&sr&&sr.push(e),e}function x(e,t,n,o,r,s){return Yw(a(e,t,n,o,r,s,!0))}function X(e,t,n,o,r){return Yw(C(e,t,n,o,r,!0))}function zs(e){return e?e.__v_isVNode===!0:!1}function ks(e,t){return e.type===t.type&&e.key===t.key}const Kw=({key:e})=>e??null,xc=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Sn(e)||mt(e)||ut(e)?{i:Jn,r:e,k:t,f:!!n}:e:null);function a(e,t=null,n=null,o=0,r=null,s=e===de?0:1,i=!1,l=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Kw(t),ref:t&&xc(t),scopeId:uw,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Jn};return l?(Th(u,n),s&128&&e.normalize(u)):n&&(u.shapeFlag|=Sn(n)?8:16),Ql>0&&!i&&sr&&(u.patchFlag>0||s&6)&&u.patchFlag!==32&&sr.push(u),u}const C=_$;function _$(e,t=null,n=null,o=0,r=null,s=!1){if((!e||e===Sw)&&(e=jn),zs(e)){const l=rs(e,t,!0);return n&&Th(l,n),Ql>0&&!s&&sr&&(l.shapeFlag&6?sr[sr.indexOf(e)]=l:sr.push(l)),l.patchFlag=-2,l}if(E$(e)&&(e=e.__vccOpts),t){t=dt(t);let{class:l,style:u}=t;l&&!Sn(l)&&(t.class=xe(l)),un(u)&&(_h(u)&&!Ke(u)&&(u=Hn({},u)),t.style=ze(u))}const i=Sn(e)?1:qw(e)?128:dw(e)?64:un(e)?4:ut(e)?2:0;return a(e,t,n,o,r,i,s,!0)}function dt(e){return e?_h(e)||Dw(e)?Hn({},e):e:null}function rs(e,t,n=!1,o=!1){const{props:r,ref:s,patchFlag:i,children:l,transition:u}=e,c=t?Me(r||{},t):r,d={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Kw(c),ref:t&&t.ref?n&&s?Ke(s)?s.concat(xc(t)):[s,xc(t)]:xc(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==de?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:u,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&rs(e.ssContent),ssFallback:e.ssFallback&&rs(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return u&&o&&Ns(d,u.clone(d)),d}function T(e=" ",t=0){return C(Ta,null,e,t)}function js(e,t){const n=C(Pl,null,e);return n.staticCount=t,n}function D(e="",t=!1){return t?(v(),X(jn,null,e)):C(jn,null,e)}function _r(e){return e==null||typeof e=="boolean"?C(jn):Ke(e)?C(de,null,e.slice()):zs(e)?Xa(e):C(Ta,null,String(e))}function Xa(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:rs(e)}function Th(e,t){let n=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(Ke(t))n=16;else if(typeof t=="object")if(o&65){const r=t.default;r&&(r._c&&(r._d=!1),Th(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!Dw(t)?t._ctx=Jn:r===3&&Jn&&(Jn.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ut(t)?(t={default:t,_ctx:Jn},n=32):(t=String(t),o&64?(n=16,t=[T(t)]):n=8);e.children=t,e.shapeFlag|=n}function Me(...e){const t={};for(let n=0;n<e.length;n++){const o=e[n];for(const r in o)if(r==="class")t.class!==o.class&&(t.class=xe([t.class,o.class]));else if(r==="style")t.style=ze([t.style,o.style]);else if(fu(r)){const s=t[r],i=o[r];i&&s!==i&&!(Ke(s)&&s.includes(i))&&(t[r]=s?[].concat(s,i):i)}else r!==""&&(t[r]=o[r])}return t}function wr(e,t,n,o=null){Br(e,t,7,[n,o])}const x$=Ew();let S$=0;function C$(e,t,n){const o=e.type,r=(t?t.appContext:e.appContext)||x$,s={uid:S$++,vnode:e,type:o,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new V0(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Rw(o,r),emitsOptions:Hw(o,r),emit:null,emitted:null,propsDefaults:Gt,inheritAttrs:o.inheritAttrs,ctx:Gt,data:Gt,props:Gt,attrs:Gt,slots:Gt,refs:Gt,setupState:Gt,setupContext: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,
vendor: 2,018 bytes, lines 14-17
14sp:null};return s.ctx={_:s},s.root=t?t.root:s,s.emit=m$.bind(null,s),e.ce&&e.ce(s),s}let ao=null;const It=()=>ao||Jn;let Kc,om;{const e=Cd(),t=(n,o)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(o),s=>{r.length>1?r.forEach(i=>i(s)):r[0](s)}};Kc=t("__VUE_INSTANCE_SETTERS__",n=>ao=n),om=t("__VUE_SSR_SETTERS__",n=>Xl=n)}const gu=e=>{const t=ao;return Kc(e),e.scope.on(),()=>{e.scope.off(),Kc(t)}},Bv=()=>{ao&&ao.scope.off(),Kc(null)};function Qw(e){return e.vnode.shapeFlag&4}let Xl=!1;function k$(e,t=!1,n=!1){t&&om(t);const{props:o,children:r}=e.vnode,s=Qw(e);t$(e,o,s,t),a$(e,r,n||t);const i=s?$$(e,t):void 0;return t&&om(!1),i}function $$(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Gk);const{setup:o}=n;if(o){Pa();const r=e.setupContext=o.length>1?Jw(e):null,s=gu(e),i=hu(o,e,0,[e.props,r]),l=P0(i);if(Oa(),s(),(l||e.sp)&&!Ds(e)&&bw(e),l){if(i.then(Bv,Bv),t)return i.then(u=>{Fv(e,u)}).catch(u=>{Pd(u,e,0)});e.asyncDep=i}else Fv(e,i)}else Xw(e)}function Fv(e,t,n){ut(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:un(t)&&(e.setupState=ow(t)),Xw(e)}function Xw(e,t,n){const o=e.type;e.render||(e.render=o.render||sa);{const r=gu(e);Pa();try{Yk(e)}finally{Oa(),r()}}}const A$={get(e,t){return Ao(e,"get",""),e[t]}};function Jw(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,A$),slots:e.slots,emit:e.emit,expose:t}}function Rd(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(ow(Xp(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in El)return El[n](e)},has(t,n){return n in t||n in El}})):e.proxy}function T$(e,t=!0){return ut(e)?e.displayName||e.name:e.name||t&&e.__name}function E$(e){return ut(e)&&"__vccOpts"in e}const w=(e,t)=>$k(e,t,Xl);function nn(e,t,n){const o=arguments.length;return o===2?un(t)&&!Ke(t)?zs(t)?C(e,null,[t]):C(e,t):C(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):o===3&&zs(n)&&(n=[n]),C(e,t,n))}const P$="3.5.14";/**
15* @vue/runtime-dom v3.5.14
16* (c) 2018-present Yuxi (Evan) You and Vue contributors
17* @license MIT
18**/let rm;const Nv=typeof window<"u"&&window.trustedTypes;if(Nv)try{rm=Nv.createPolicy("vue",{createHTML:e=>e})}catch{}const Zw=rm?e=>rm.createHTML(e):e=>e,O$="http://www.w3.org/2000/svg",I$="http://www.w3.org/1998/Math/MathML",_a=typeof document<"u"?document:null,zv=_a&&_a.createElement("template"),D$={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const r=t==="svg"?_a.createElementNS(O$,e):t==="mathml"?_a.createElementNS(I$,e):n?_a.createElement(e,{is:n}):_a.createElement(e);return e==="select"&&o&&o.multiple!=null&&r.setAttribute("multiple",o.multiple),r},createText:e=>_a.createTextNode(e),createComment:e=>_a.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>_a.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,r,s){const i=n?n.previousSibling:t.lastChild;if(r&&(r===s||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===s||!(r=r.nextSibling)););else{zv.innerHTML=Zw(o==="svg"?`<svg>${e}</svg>`:o==="mathml"?`<math>${e}</math>`:e);const l=zv.content;if(o==="svg"||o==="mathml"){const u=l.firstChild;for(;u.firstChild;)l.appendChild(u.firstChild);l.removeChild(u)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Wa="transition",el="animation",$i=Symbol("_vtc"),e_={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},t_=Hn({},hw,e_),M$=e=>(e.displayName="Transition",e.props=t_,e),Ld=M$((e,{slots:t})=>nn(Mk,n_(e),t)),ws=(e,t=[])=>{Ke(e)?e.forEach(n=>n(...t)):e&&e(...t)},jv=e=>e?Ke(e)?e.some(t=>t.length>1):e.length>1:!1;function n_(e){const t={};for(const Q in e)Q in e_||(t[Q]=e[Q]);if(e.css===!1)return t;const{name:n="v",type:o,duration:r,enterFromClass:s=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:u=s,appearActiveClass:c=i,appearToClass:d=l,leaveFromClass:p=`${n}-leave-from`,leaveActiveClass:m=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,g=R$(r),b=g&&g[0],y=g&&g[1],{onBeforeEnter:_,onEnter:A,onEnterCancelled:k,onLeave:E,onLeaveCancelled:I,onBeforeAppear:F=_,onAppear:P=A,onAppearCancelled:B=k}=t,O=(Q,Y,W,re)=>{Q._enterCancelled=re,Ya(Q,Y?d:l),Ya(Q,Y?c:i),W&&W()},j=(Q,Y)=>{Q._isLeaving=!1,Ya(Q,p),Ya(Q,h),Ya(Q,m),Y&&Y()},G=Q=>(Y,W)=>{const re=Q?P:A,oe=()=>O(Y,Q,W);ws(re,[Y,oe]),Uv(()=>{Ya(Y,Q?u:s),qr(Y,Q?d:l),jv(re)||Hv(Y,o,b,oe)})};return Hn(t,{onBeforeEnter(Q){ws(_,[Q]),qr(Q,s),qr(Q,i)},onBeforeAppear(Q){ws(F,[Q]),qr(Q,u),qr(Q,c)},onEnter:G(!1),onAppear:G(!0),onLeave(Q,Y){Q._isLeaving=!0;const W=()=>j(Q,Y);qr(Q,p),Q._enterCancelled?(qr(Q,m),am()):(am(),qr(Q,m)),Uv(()=>{Q._isLeaving&&(Ya(Q,p),qr(Q,h),jv(E)||Hv(Q,o,y,W))}),ws(E,[Q,W])},onEnterCancelled(Q){O(Q,!1,void 0,!0),ws(k,[Q])},onAppearCancelled(Q){O(Q,!0,void 0,!0),ws(B,[Q])},onLeaveCancelled(Q){j(Q),ws(I,[Q])}})}function R$(e){if(e==null)return null;if(un(e))return[Mf(e.enter),Mf(e.leave)];{const t=Mf(e);return[t,t]}}function Mf(e){return qC(e)}function qr(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[$i]||(e[$i]=new Set)).add(t)}function Ya(e,t){t.split(/\s+/).forEach(o=>o&&e.classList.remove(o));const n=e[$i];n&&(n.delete(t),n.size||(e[$i]=void 0))}function Uv(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let L$=0;function Hv(e,t,n,o){const r=e._endId=++L$,s=()=>{r===e._endId&&o()};if(n!=null)return setTimeout(s,n);const{type:i,timeout:l,propCount:u}=o_(e,t);if(!i)return o();const c=i+"end";let d=0;const p=()=>{e.removeEventListener(c,m),s()},m=h=>{h.target===e&&++d>=u&&p()};setTimeout(()=>{d<u&&p()},l+1),e.addEventListener(c,m)}function o_(e,t){const n=window.getComputedStyle(e),o=g=>(n[g]||"").split(", "),r=o(`${Wa}Delay`),s=o(`${Wa}Duration`),i=Wv(r,s),l=o(`${el}Delay`),u=o(`${el}Duration`),c=Wv(l,u);let d=null,p=0,m=0;t===Wa?i>0&&(d=Wa,p=i,m=s.length):t===el?c>0&&(d=el,p=c,m=u.length):(p=Math.max(i,c),d=p>0?i>c?Wa:el:null,m=d?d===Wa?s.length:u.length:0);const h=d===Wa&&/\b(transform|all)(,|$)/.test(o(`${Wa}Property`).toString());return{type:d,timeout:p,propCount:m,hasTransform:h}}function Wv(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,o)=>qv(n)+qv(e[o])))}function qv(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function am(){return document.body.offsetHeight}function V$(e,t,n){const o=e[$i];o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Qc=Symbol("_vod"),r_=Symbol("_vsh"),Jl={beforeMount(e,{value:t},{transition:n}){e[Qc]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):tl(e,t)}
vendor: 8,814 bytes, line 18
18,mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),tl(e,!0),o.enter(e)):o.leave(e,()=>{tl(e,!1)}):tl(e,t))},beforeUnmount(e,{value:t}){tl(e,t)}};function tl(e,t){e.style.display=t?e[Qc]:"none",e[r_]=!t}const B$=Symbol(""),F$=/(^|;)\s*display\s*:/;function N$(e,t,n){const o=e.style,r=Sn(n);let s=!1;if(n&&!r){if(t)if(Sn(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&Sc(o,l,"")}else for(const i in t)n[i]==null&&Sc(o,i,"");for(const i in n)i==="display"&&(s=!0),Sc(o,i,n[i])}else if(r){if(t!==n){const i=o[B$];i&&(n+=";"+i),o.cssText=n,s=F$.test(n)}}else t&&e.removeAttribute("style");Qc in e&&(e[Qc]=s?o.display:"",e[r_]&&(o.display="none"))}const Gv=/\s*!important$/;function Sc(e,t,n){if(Ke(n))n.forEach(o=>Sc(e,t,o));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=z$(e,t);Gv.test(n)?e.setProperty(La(o),n.replace(Gv,""),"important"):e[o]=n}}const Yv=["Webkit","Moz","ms"],Rf={};function z$(e,t){const n=Rf[t];if(n)return n;let o=ur(t);if(o!=="filter"&&o in e)return Rf[t]=o;o=mu(o);for(let r=0;r<Yv.length;r++){const s=Yv[r]+o;if(s in e)return Rf[t]=s}return t}const Kv="http://www.w3.org/1999/xlink";function Qv(e,t,n,o,r,s=JC(t)){o&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Kv,t.slice(6,t.length)):e.setAttributeNS(Kv,t,n):n==null||s&&!M0(n)?e.removeAttribute(t):e.setAttribute(t,s?"":Vr(n)?String(n):n)}function Xv(e,t,n,o,r){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Zw(n):n);return}const s=e.tagName;if(t==="value"&&s!=="PROGRESS"&&!s.includes("-")){const l=s==="OPTION"?e.getAttribute("value")||"":e.value,u=n==null?e.type==="checkbox"?"on":"":String(n);(l!==u||!("_value"in e))&&(e.value=u),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=M0(n):n==null&&l==="string"?(n="",i=!0):l==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(r||t)}function ka(e,t,n,o){e.addEventListener(t,n,o)}function j$(e,t,n,o){e.removeEventListener(t,n,o)}const Jv=Symbol("_vei");function U$(e,t,n,o,r=null){const s=e[Jv]||(e[Jv]={}),i=s[t];if(o&&i)i.value=o;else{const[l,u]=H$(t);if(o){const c=s[t]=G$(o,r);ka(e,l,c,u)}else i&&(j$(e,l,i,u),s[t]=void 0)}}const Zv=/(?:Once|Passive|Capture)$/;function H$(e){let t;if(Zv.test(e)){t={};let o;for(;o=e.match(Zv);)e=e.slice(0,e.length-o[0].length),t[o[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):La(e.slice(2)),t]}let Lf=0;const W$=Promise.resolve(),q$=()=>Lf||(W$.then(()=>Lf=0),Lf=Date.now());function G$(e,t){const n=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=n.attached)return;Br(Y$(o,n.value),t,5,[o])};return n.value=e,n.attached=q$(),n}function Y$(e,t){if(Ke(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(o=>r=>!r._stopped&&o&&o(r))}else return t}const ey=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,K$=(e,t,n,o,r,s)=>{const i=r==="svg";t==="class"?V$(e,o,i):t==="style"?N$(e,n,o):fu(t)?ph(t)||U$(e,t,n,o,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Q$(e,t,o,i))?(Xv(e,t,o),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Qv(e,t,o,i,s,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Sn(o))?Xv(e,ur(t),o,s,t):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),Qv(e,t,o,i))};function Q$(e,t,n,o){if(o)return!!(t==="innerHTML"||t==="textContent"||t in e&&ey(t)&&ut(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return ey(t)&&Sn(n)?!1:t in e}const a_=new WeakMap,s_=new WeakMap,Xc=Symbol("_moveCb"),ty=Symbol("_enterCb"),X$=e=>(delete e.props.mode,e),J$=X$({name:"TransitionGroup",props:Hn({},t_,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=It(),o=mw();let r,s;return Wi(()=>{if(!r.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!oA(r[0].el,n.vnode.el,i)){r=[];return}r.forEach(eA),r.forEach(tA);const l=r.filter(nA);am(),l.forEach(u=>{const c=u.el,d=c.style;qr(c,i),d.transform=d.webkitTransform=d.transitionDuration="";const p=c[Xc]=m=>{m&&m.target!==c||(!m||/transform$/.test(m.propertyName))&&(c.removeEventListener("transitionend",p),c[Xc]=null,Ya(c,i))};c.addEventListener("transitionend",p)}),r=[]}),()=>{const i=Nt(e),l=n_(i);let u=i.tag||de;if(r=[],s)for(let c=0;c<s.length;c++){const d=s[c];d.el&&d.el instanceof Element&&(r.push(d),Ns(d,Yl(d,l,o,n)),a_.set(d,d.el.getBoundingClientRect()))}s=t.default?Sh(t.default()):[];for(let c=0;c<s.length;c++){const d=s[c];d.key!=null&&Ns(d,Yl(d,l,o,n))}return C(u,null,s)}}}),Z$=J$;function eA(e){const t=e.el;t[Xc]&&t[Xc](),t[ty]&&t[ty]()}function tA(e){s_.set(e,e.el.getBoundingClientRect())}function nA(e){const t=a_.get(e),n=s_.get(e),o=t.left-n.left,r=t.top-n.top;if(o||r){const s=e.el.style;return s.transform=s.webkitTransform=`translate(${o}px,${r}px)`,s.transitionDuration="0s",e}}function oA(e,t,n){const o=e.cloneNode(),r=e[$i];r&&r.forEach(l=>{l.split(/\s+/).forEach(u=>u&&o.classList.remove(u))}),n.split(/\s+/).forEach(l=>l&&o.classList.add(l)),o.style.display="none";const s=t.nodeType===1?t:t.parentNode;s.appendChild(o);const{hasTransform:i}=o_(o);return s.removeChild(o),i}const as=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Ke(t)?n=>wc(t,n):t};function rA(e){e.target.composing=!0}function ny(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Cr=Symbol("_assign"),sm={created(e,{modifiers:{lazy:t,trim:n,number:o}},r){e[Cr]=as(r);const s=o||r.props&&r.props.type==="number";ka(e,t?"change":"input",i=>{if(i.target.composing)return;let l=e.value;n&&(l=l.trim()),s&&(l=Fc(l)),e[Cr](l)}),n&&ka(e,"change",()=>{e.value=e.value.trim()}),t||(ka(e,"compositionstart",rA),ka(e,"compositionend",ny),ka(e,"change",ny))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:o,trim:r,number:s}},i){if(e[Cr]=as(i),e.composing)return;const l=(s||e.type==="number")&&!/^0\d/.test(e.value)?Fc(e.value):e.value,u=t??"";l!==u&&(document.activeElement===e&&e.type!=="range"&&(o&&t===n||r&&e.value.trim()===u)||(e.value=u))}},aA={deep:!0,created(e,t,n){e[Cr]=as(n),ka(e,"change",()=>{const o=e._modelValue,r=Ai(e),s=e.checked,i=e[Cr];if(Ke(o)){const l=gh(o,r),u=l!==-1;if(s&&!u)i(o.concat(r));else if(!s&&u){const c=[...o];c.splice(l,1),i(c)}}else if(Hi(o)){const l=new Set(o);s?l.add(r):l.delete(r),i(l)}else i(l_(e,s))})},mounted:oy,beforeUpdate(e,t,n){e[Cr]=as(n),oy(e,t,n)}};function oy(e,{value:t,oldValue:n},o){e._modelValue=t;let r;if(Ke(t))r=gh(t,o.props.value)>-1;else if(Hi(t))r=t.has(o.props.value);else{if(t===n)return;r=Fs(t,l_(e,!0))}e.checked!==r&&(e.checked=r)}const i_={created(e,{value:t},n){e.checked=Fs(t,n.props.value),e[Cr]=as(n),ka(e,"change",()=>{e[Cr](Ai(e))})},beforeUpdate(e,{value:t,oldValue:n},o){e[Cr]=as(o),t!==n&&(e.checked=Fs(t,o.props.value))}},sA={deep:!0,created(e,{value:t,modifiers:{number:n}},o){const r=Hi(t);ka(e,"change",()=>{const s=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?Fc(Ai(i)):Ai(i));e[Cr](e.multiple?r?new Set(s):s:s[0]),e._assigning=!0,Ct(()=>{e._assigning=!1})}),e[Cr]=as(o)},mounted(e,{value:t}){ry(e,t)},beforeUpdate(e,t,n){e[Cr]=as(n)},updated(e,{value:t}){e._assigning||ry(e,t)}};function ry(e,t){const n=e.multiple,o=Ke(t);if(!(n&&!o&&!Hi(t))){for(let r=0,s=e.options.length;r<s;r++){const i=e.options[r],l=Ai(i);if(n)if(o){const u=typeof l;u==="string"||u==="number"?i.selected=t.some(c=>String(c)===String(l)):i.selected=gh(t,l)>-1}else i.selected=t.has(l);else if(Fs(Ai(i),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Ai(e){return"_value"in e?e._value:e.value}function l_(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Eh={created(e,t,n){Ku(e,t,n,null,"created")},mounted(e,t,n){Ku(e,t,n,null,"mounted")},beforeUpdate(e,t,n,o){Ku(e,t,n,o,"beforeUpdate")},updated(e,t,n,o){Ku(e,t,n,o,"updated")}};function iA(e,t){switch(e){case"SELECT":return sA;case"TEXTAREA":return sm;default:switch(t){case"checkbox":return aA;case"radio":return i_;default:return sm}}}function Ku(e,t,n,o,r){const i=iA(e.tagName,n.props&&n.props.type)[r];i&&i(e,t,n,o)}const lA=["ctrl","shift","alt","meta"],uA={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)=>
18lA.some(n=>e[`${n}Key`]&&!t.includes(n))},He=(e,t)=>{const n=e._withMods||(e._withMods={}),o=t.join(".");return n[o]||(n[o]=(r,...s)=>{for(let i=0;i<t.length;i++){const l=uA[t[i]];if(l&&l(r,t))return}return e(r,...s)})},cA={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},tt=(e,t)=>{const n=e._withKeys||(e._withKeys={}),o=t.join(".");return n[o]||(n[o]=r=>{if(!("key"in r))return;const s=La(r.key);if(t.some(i=>i===s||cA[i]===s))return e(r)})},u_=Hn({patchProp:K$},D$);let Il,ay=!1;function c_(){return Il||(Il=i$(u_))}function dA(){return Il=ay?Il:l$(u_),ay=!0,Il}const im=(...e)=>{c_().render(...e)},fA=(...e)=>{const t=c_().createApp(...e),{mount:n}=t;return t.mount=o=>{const r=f_(o);if(!r)return;const s=t._component;!ut(s)&&!s.render&&!s.template&&(s.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const i=n(r,!1,d_(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t},pA=(...e)=>{const t=dA().createApp(...e),{mount:n}=t;return t.mount=o=>{const r=f_(o);if(r)return n(r,!0,d_(r))},t};function d_(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function f_(e){return Sn(e)?document.querySelector(e):e}/*! @license DOMPurify 3.4.0 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.0/LICENSE */const{entries:p_,setPrototypeOf:sy,isFrozen:mA,getPrototypeOf:hA,getOwnPropertyDescriptor:gA}=Object;let{freeze:zo,seal:Ar,create:wl}=Object,{apply:lm,construct:um}=typeof Reflect<"u"&&Reflect;zo||(zo=function(t){return t});Ar||(Ar=function(t){return t});lm||(lm=function(t,n){for(var o=arguments.length,r=new Array(o>2?o-2:0),s=2;s<o;s++)r[s-2]=arguments[s];return t.apply(n,r)});um||(um=function(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return new t(...o)});const nl=jo(Array.prototype.forEach),vA=jo(Array.prototype.lastIndexOf),iy=jo(Array.prototype.pop),ol=jo(Array.prototype.push),yA=jo(Array.prototype.splice),Cc=jo(String.prototype.toLowerCase),Vf=jo(String.prototype.toString),Bf=jo(String.prototype.match),si=jo(String.prototype.replace),bA=jo(String.prototype.indexOf),wA=jo(String.prototype.trim),Or=jo(Object.prototype.hasOwnProperty),Mo=jo(RegExp.prototype.test),rl=_A(TypeError);function jo(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return lm(e,t,o)}}function _A(e){return function(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return um(e,n)}}function $t(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Cc;sy&&sy(e,null);let o=t.length;for(;o--;){let r=t[o];if(typeof r=="string"){const s=n(r);s!==r&&(mA(t)||(t[o]=s),r=s)}e[r]=!0}return e}function xA(e){for(let t=0;t<e.length;t++)Or(e,t)||(e[t]=null);return e}function Gr(e){const t=wl(null);for(const[n,o]of p_(e))Or(e,n)&&(Array.isArray(o)?t[n]=xA(o):o&&typeof o=="object"&&o.constructor===Object?t[n]=Gr(o):t[n]=o);return t}function al(e,t){for(;e!==null;){const o=gA(e,t);if(o){if(o.get)return jo(o.get);if(typeof o.value=="function")return jo(o.value)}e=hA(e)}function n(){return null}return n}const ly=zo(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Ff=zo(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Nf=zo(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),SA=zo(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),zf=zo(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),CA=zo(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),uy=zo(["#text"]),cy=zo(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","
18spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),jf=zo(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),dy=zo(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Qu=zo(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),kA=Ar(/\{\{[\w\W]*|[\w\W]*\}\}/gm),$A=Ar(/<%[\w\W]*|[\w\W]*%>/gm),AA=Ar(/\$\{[\w\W]*/gm),TA=Ar(/^data-[\-\w.\u00B7-\uFFFF]+$/),EA=Ar(/^aria-[\-\w]+$/),m_=Ar(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),PA=Ar(/^(?:\w+script|data):/i),OA=Ar(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),h_=Ar(/^html$/i),IA=Ar(/^[a-z][.\w]*(-[.\w]+)+$/i);var fy=Object.freeze({__proto__:null,ARIA_ATTR:EA,ATTR_WHITESPACE:OA,CUSTOM_ELEMENT:IA,DATA_ATTR:TA,DOCTYPE_NAME:h_,ERB_EXPR:$A,IS_ALLOWED_URI:m_,IS_SCRIPT_OR_DATA:PA,MUSTACHE_EXPR:kA,TMPLIT_EXPR:AA});const sl={element:1,text:3,progressingInstruction:7,comment:8,document:9},DA=function(){return typeof window>"u"?null:window},MA=function(t,n){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let o=null;const r="data-tt-policy-suffix";n&&n.hasAttribute(r)&&(o=n.getAttribute(r));const s="dompurify"+(o?"#"+o:"");try{return t.createPolicy(s,{createHTML(i){return i},createScriptURL(i){return i}})}catch{return console.warn("TrustedTypes policy "+s+" could not be created."),null}},py=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function g_(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:DA();const t=Ge=>g_(Ge);if(t.version="3.4.0",t.removed=[],!e||!e.document||e.document.nodeType!==sl.document||!e.Element)return t.isSupported=!1,t;let{document:n}=e;const o=n,r=o.currentScript,{DocumentFragment:s,HTMLTemplateElement:i,Node:l,Element:u,NodeFilter:c,NamedNodeMap:d=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:p,DOMParser:m,trustedTypes:h}=e,g=u.prototype,b=al(g,"cloneNode"),y=al(g,"remove"),_=al(g,"nextSibling"),A=al(g,"childNodes"),k=al(g,"parentNode");if(typeof i=="function"){const Ge=n.createElement("template");Ge.content&&Ge.content.ownerDocument&&(n=Ge.content.ownerDocument)}let E,I="";const{implementation:F,createNodeIterator:P,createDocumentFragment:B,getElementsByTagName:O}=n,{importNode:j}=o;let G=py();t.isSupported=typeof p_=="function"&&typeof k=="function"&&F&&F.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:Q,ERB_EXPR:Y,TMPLIT_EXPR:W,DATA_ATTR:re,ARIA_ATTR:oe,IS_SCRIPT_OR_DATA:ne,ATTR_WHITESPACE:z,CUSTOM_ELEMENT:N}=fy;let{IS_ALLOWED_URI:ae}=fy,ee=null;const K=$t({},[...ly,...Ff,...Nf,...zf,...uy]);let Ie=null;const fe=$t({},[...cy,...jf,...dy,...Qu]);let ge=Object.seal(wl(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Fe=null,ye=null;const ce=Object.seal(wl(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let Re=!0,Ce=!0,De=!1,ot=!0,U=!1,Z=!0,pe=!1,le=!1,L=!1,ie=!1,me=!1,Te=!1,be=!0,Ee=!1;const _e="user-content-";let Se=!0,Oe=!1,je={},qe=null;
vendor: 7,548 bytes, line 18
18const ft=$t({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let st=null;const wt=$t({},["audio","video","img","source","image","track"]);let Ot=null;const jt=$t({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Tt="http://www.w3.org/1998/Math/MathML",cn="http://www.w3.org/2000/svg",qt="http://www.w3.org/1999/xhtml";let pt=qt,Dt=!1,gn=null;const vn=$t({},[Tt,cn,qt],Vf);let Cn=$t({},["mi","mo","mn","ms","mtext"]),Bn=$t({},["annotation-xml"]);const Gn=$t({},["title","style","font","a","script"]);let Yn=null;const io=["application/xhtml+xml","text/html"],wo="text/html";let Rt=null,kn=null;const Rn=n.createElement("form"),Pe=function(J){return J instanceof RegExp||J instanceof Function},et=function(){let J=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(kn&&kn===J)){if((!J||typeof J!="object")&&(J={}),J=Gr(J),Yn=io.indexOf(J.PARSER_MEDIA_TYPE)===-1?wo:J.PARSER_MEDIA_TYPE,Rt=Yn==="application/xhtml+xml"?Vf:Cc,ee=Or(J,"ALLOWED_TAGS")?$t({},J.ALLOWED_TAGS,Rt):K,Ie=Or(J,"ALLOWED_ATTR")?$t({},J.ALLOWED_ATTR,Rt):fe,gn=Or(J,"ALLOWED_NAMESPACES")?$t({},J.ALLOWED_NAMESPACES,Vf):vn,Ot=Or(J,"ADD_URI_SAFE_ATTR")?$t(Gr(jt),J.ADD_URI_SAFE_ATTR,Rt):jt,st=Or(J,"ADD_DATA_URI_TAGS")?$t(Gr(wt),J.ADD_DATA_URI_TAGS,Rt):wt,qe=Or(J,"FORBID_CONTENTS")?$t({},J.FORBID_CONTENTS,Rt):ft,Fe=Or(J,"FORBID_TAGS")?$t({},J.FORBID_TAGS,Rt):Gr({}),ye=Or(J,"FORBID_ATTR")?$t({},J.FORBID_ATTR,Rt):Gr({}),je=Or(J,"USE_PROFILES")?J.USE_PROFILES:!1,Re=J.ALLOW_ARIA_ATTR!==!1,Ce=J.ALLOW_DATA_ATTR!==!1,De=J.ALLOW_UNKNOWN_PROTOCOLS||!1,ot=J.ALLOW_SELF_CLOSE_IN_ATTR!==!1,U=J.SAFE_FOR_TEMPLATES||!1,Z=J.SAFE_FOR_XML!==!1,pe=J.WHOLE_DOCUMENT||!1,ie=J.RETURN_DOM||!1,me=J.RETURN_DOM_FRAGMENT||!1,Te=J.RETURN_TRUSTED_TYPE||!1,L=J.FORCE_BODY||!1,be=J.SANITIZE_DOM!==!1,Ee=J.SANITIZE_NAMED_PROPS||!1,Se=J.KEEP_CONTENT!==!1,Oe=J.IN_PLACE||!1,ae=J.ALLOWED_URI_REGEXP||m_,pt=J.NAMESPACE||qt,Cn=J.MATHML_TEXT_INTEGRATION_POINTS||Cn,Bn=J.HTML_INTEGRATION_POINTS||Bn,ge=J.CUSTOM_ELEMENT_HANDLING||wl(null),J.CUSTOM_ELEMENT_HANDLING&&Pe(J.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(ge.tagNameCheck=J.CUSTOM_ELEMENT_HANDLING.tagNameCheck),J.CUSTOM_ELEMENT_HANDLING&&Pe(J.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(ge.attributeNameCheck=J.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),J.CUSTOM_ELEMENT_HANDLING&&typeof J.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(ge.allowCustomizedBuiltInElements=J.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),U&&(Ce=!1),me&&(ie=!0),je&&(ee=$t({},uy),Ie=wl(null),je.html===!0&&($t(ee,ly),$t(Ie,cy)),je.svg===!0&&($t(ee,Ff),$t(Ie,jf),$t(Ie,Qu)),je.svgFilters===!0&&($t(ee,Nf),$t(Ie,jf),$t(Ie,Qu)),je.mathMl===!0&&($t(ee,zf),$t(Ie,dy),$t(Ie,Qu))),ce.tagCheck=null,ce.attributeCheck=null,J.ADD_TAGS&&(typeof J.ADD_TAGS=="function"?ce.tagCheck=J.ADD_TAGS:(ee===K&&(ee=Gr(ee)),$t(ee,J.ADD_TAGS,Rt))),J.ADD_ATTR&&(typeof J.ADD_ATTR=="function"?ce.attributeCheck=J.ADD_ATTR:(Ie===fe&&(Ie=Gr(Ie)),$t(Ie,J.ADD_ATTR,Rt))),J.ADD_URI_SAFE_ATTR&&$t(Ot,J.ADD_URI_SAFE_ATTR,Rt),J.FORBID_CONTENTS&&(qe===ft&&(qe=Gr(qe)),$t(qe,J.FORBID_CONTENTS,Rt)),J.ADD_FORBID_CONTENTS&&(qe===ft&&(qe=Gr(qe)),$t(qe,J.ADD_FORBID_CONTENTS,Rt)),Se&&(ee["#text"]=!0),pe&&$t(ee,["html","head","body"]),ee.table&&($t(ee,["tbody"]),delete Fe.tbody),J.TRUSTED_TYPES_POLICY){if(typeof J.TRUSTED_TYPES_POLICY.createHTML!="function")throw rl('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof J.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw rl('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');E=J.TRUSTED_TYPES_POLICY,I=E.createHTML("")}else E===void 0&&(E=MA(h,r)),E!==null&&typeof I=="string"&&(I=E.createHTML(""));zo&&zo(J),kn=J}},it=$t({},[...Ff,...Nf,...SA]),_t=$t({},[...zf,...CA]),_n=function(J){let Ae=k(J);(!Ae||!Ae.tagName)&&(Ae={namespaceURI:pt,tagName:"template"});const Ue=Cc(J.tagName),kt=Cc(Ae.tagName);return gn[J.namespaceURI]?J.namespaceURI===cn?Ae.namespaceURI===qt?Ue==="svg":Ae.namespaceURI===Tt?Ue==="svg"&&(kt==="annotation-xml"||Cn[kt]):!!it[Ue]:J.namespaceURI===Tt?Ae.namespaceURI===qt?Ue==="math":Ae.namespaceURI===cn?Ue==="math"&&Bn[kt]:!!_t[Ue]:J.namespaceURI===qt?Ae.namespaceURI===cn&&!Bn[kt]||Ae.namespaceURI===Tt&&!Cn[kt]?!1:!_t[Ue]&&(Gn[Ue]||!it[Ue]):!!(Yn==="application/xhtml+xml"&&gn[J.namespaceURI]):!1},an=function(J){ol(t.removed,{element:J});try{k(J).removeChild(J)}catch{y(J)}},$n=function(J,Ae){try{ol(t.removed,{attribute:Ae.getAttributeNode(J),from:Ae})}catch{ol(t.removed,{attribute:null,from:Ae})}if(Ae.removeAttribute(J),J==="is")if(ie||me)try{an(Ae)}catch{}else try{Ae.setAttribute(J,"")}catch{}},Qt=function(J){let Ae=null,Ue=null;if(L)J="<remove></remove>"+J;else{const Lt=Bf(J,/^[\r\n\t ]+/);Ue=Lt&&Lt[0]}Yn==="application/xhtml+xml"&&pt===qt&&(J='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+J+"</body></html>");const kt=E?E.createHTML(J):J;if(pt===qt)try{Ae=new m().parseFromString(kt,Yn)}catch{}if(!Ae||!Ae.documentElement){Ae=F.createDocument(pt,"template",null);try{Ae.documentElement.innerHTML=Dt?I:kt}catch{}}const fn=Ae.body||Ae.documentElement;return J&&Ue&&fn.insertBefore(n.createTextNode(Ue),fn.childNodes[0]||null),pt===qt?O.call(Ae,pe?"html":"body")[0]:pe?Ae.documentElement:fn},_o=function(J){return P.call(J.ownerDocument||J,J,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},lo=function(J){return J instanceof p&&(typeof J.nodeName!="string"||typeof J.textContent!="string"||typeof J.removeChild!="function"||!(J.attributes instanceof d)||typeof J.removeAttribute!="function"||typeof J.setAttribute!="function"||typeof J.namespaceURI!="string"||typeof J.insertBefore!="function"||typeof J.hasChildNodes!="function")},Zo=function(J){return typeof l=="function"&&J instanceof l};function Fn(Ge,J,Ae){nl(Ge,Ue=>{Ue.call(t,J,Ae,kn)})}const mr=function(J){let Ae=null;if(Fn(G.beforeSanitizeElements,J,null),lo(J))return an(J),!0;const Ue=Rt(J.nodeName);if(Fn(G.uponSanitizeElement,J,{tagName:Ue,allowedTags:ee}),Z&&J.hasChildNodes()&&!Zo(J.firstElementChild)&&Mo(/<[/\w!]/g,J.innerHTML)&&Mo(/<[/\w!]/g,J.textContent)||Z&&J.namespaceURI===qt&&Ue==="style"&&Zo(J.firstElementChild)||J.nodeType===sl.progressingInstruction||Z&&J.nodeType===sl.comment&&Mo(/<[/\w]/g,J.data))return an(J),!0;if(Fe[Ue]||!(ce.tagCheck instanceof Function&&ce.tagCheck(Ue))&&!ee[Ue]){if(!Fe[Ue]&&Oo(Ue)&&(ge.tagNameCheck instanceof RegExp&&Mo(ge.tagNameCheck,Ue)||ge.tagNameCheck instanceof Function&&ge.tagNameCheck(Ue)))return!1;if(Se&&!qe[Ue]){const kt=k(J)||J.parentNode,fn=A(J)||J.childNodes;if(fn&&kt){const Lt=fn.length;for(let sn=Lt-1;sn>=0;--sn){const pn=b(fn[sn],!0);pn.__removalCount=(J.__removalCount||0)+1,kt.insertBefore(pn,_(J))}}}return an(J),!0}return J instanceof u&&!_n(J)||(Ue==="noscript"||Ue==="noembed"||Ue==="noframes")&&Mo(/<\/no(script|embed|frames)/i,J.innerHTML)?(an(J),!0):(U&&J.nodeType===sl.text&&(Ae=J.textContent,nl([Q,Y,W],kt=>{Ae=si(Ae,kt," ")}),J.textContent!==Ae&&(ol(t.removed,{element:J.cloneNode()}),J.textContent=Ae)),Fn(G.afterSanitizeElements,J,null),!1)},en=function(J,Ae,Ue){if(ye[Ae]||be&&(Ae==="id"||Ae==="name")&&(Ue in n||Ue in Rn))return!1;if(!(Ce&&!ye[Ae]&&Mo(re,Ae))){if(!(Re&&Mo(oe,Ae))){if(!(ce.attributeCheck instanceof Function&&ce.attributeCheck(Ae,J))){if
18(!Ie[Ae]||ye[Ae]){if(!(Oo(J)&&(ge.tagNameCheck instanceof RegExp&&Mo(ge.tagNameCheck,J)||ge.tagNameCheck instanceof Function&&ge.tagNameCheck(J))&&(ge.attributeNameCheck instanceof RegExp&&Mo(ge.attributeNameCheck,Ae)||ge.attributeNameCheck instanceof Function&&ge.attributeNameCheck(Ae,J))||Ae==="is"&&ge.allowCustomizedBuiltInElements&&(ge.tagNameCheck instanceof RegExp&&Mo(ge.tagNameCheck,Ue)||ge.tagNameCheck instanceof Function&&ge.tagNameCheck(Ue))))return!1}else if(!Ot[Ae]){if(!Mo(ae,si(Ue,z,""))){if(!((Ae==="src"||Ae==="xlink:href"||Ae==="href")&&J!=="script"&&bA(Ue,"data:")===0&&st[J])){if(!(De&&!Mo(ne,si(Ue,z,"")))){if(Ue)return!1}}}}}}}return!0},Oo=function(J){return J!=="annotation-xml"&&Bf(J,N)},Io=function(J){Fn(G.beforeSanitizeAttributes,J,null);const{attributes:Ae}=J;if(!Ae||lo(J))return;const Ue={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Ie,forceKeepAttr:void 0};let kt=Ae.length;for(;kt--;){const fn=Ae[kt],{name:Lt,namespaceURI:sn,value:pn}=fn,Kn=Rt(Lt),Xt=pn;let H=Lt==="value"?Xt:wA(Xt);if(Ue.attrName=Kn,Ue.attrValue=H,Ue.keepAttr=!0,Ue.forceKeepAttr=void 0,Fn(G.uponSanitizeAttribute,J,Ue),H=Ue.attrValue,Ee&&(Kn==="id"||Kn==="name")&&($n(Lt,J),H=_e+H),Z&&Mo(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,H)){$n(Lt,J);continue}if(Kn==="attributename"&&Bf(H,"href")){$n(Lt,J);continue}if(Ue.forceKeepAttr)continue;if(!Ue.keepAttr){$n(Lt,J);continue}if(!ot&&Mo(/\/>/i,H)){$n(Lt,J);continue}U&&nl([Q,Y,W],Nn=>{H=si(H,Nn," ")});const yn=Rt(J.nodeName);if(!en(yn,Kn,H)){$n(Lt,J);continue}if(E&&typeof h=="object"&&typeof h.getAttributeType=="function"&&!sn)switch(h.getAttributeType(yn,Kn)){case"TrustedHTML":{H=E.createHTML(H);break}case"TrustedScriptURL":{H=E.createScriptURL(H);break}}if(H!==Xt)try{sn?J.setAttributeNS(sn,Lt,H):J.setAttribute(Lt,H),lo(J)?an(J):iy(t.removed)}catch{$n(Lt,J)}}Fn(G.afterSanitizeAttributes,J,null)},Ho=function(J){let Ae=null;const Ue=_o(J);for(Fn(G.beforeSanitizeShadowDOM,J,null);Ae=Ue.nextNode();)Fn(G.uponSanitizeShadowNode,Ae,null),mr(Ae),Io(Ae),Ae.content instanceof s&&Ho(Ae.content);Fn(G.afterSanitizeShadowDOM,J,null)};return t.sanitize=function(Ge){let J=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ae=null,Ue=null,kt=null,fn=null;if(Dt=!Ge,Dt&&(Ge="<!-->"),typeof Ge!="string"&&!Zo(Ge))if(typeof Ge.toString=="function"){if(Ge=Ge.toString(),typeof Ge!="string")throw rl("dirty is not a string, aborting")}else throw rl("toString is not a function");if(!t.isSupported)return Ge;if(le||et(J),t.removed=[],typeof Ge=="string"&&(Oe=!1),Oe){if(Ge.nodeName){const pn=Rt(Ge.nodeName);if(!ee[pn]||Fe[pn])throw rl("root node is forbidden and cannot be sanitized in-place")}}else if(Ge instanceof l)Ae=Qt("<!---->"),Ue=Ae.ownerDocument.importNode(Ge,!0),Ue.nodeType===sl.element&&Ue.nodeName==="BODY"||Ue.nodeName==="HTML"?Ae=Ue:Ae.appendChild(Ue);else{if(!ie&&!U&&!pe&&Ge.indexOf("<")===-1)return E&&Te?E.createHTML(Ge):Ge;if(Ae=Qt(Ge),!Ae)return ie?null:Te?I:""}Ae&&L&&an(Ae.firstChild);const Lt=_o(Oe?Ge:Ae);for(;kt=Lt.nextNode();)mr(kt),Io(kt),kt.content instanceof s&&Ho(kt.content);if(Oe)return Ge;if(ie){if(U){Ae.normalize();let pn=Ae.innerHTML;nl([Q,Y,W],Kn=>{pn=si(pn,Kn," ")}),Ae.innerHTML=pn}if(me)for(fn=B.call(Ae.ownerDocument);Ae.firstChild;)fn.appendChild(Ae.firstChild);else fn=Ae;return(Ie.shadowroot||Ie.shadowrootmode)&&(fn=j.call(o,fn,!0)),fn}let sn=pe?Ae.outerHTML:Ae.innerHTML;return pe&&ee["!doctype"]&&Ae.ownerDocument&&Ae.ownerDocument.doctype&&Ae.ownerDocument.doctype.name&&Mo(h_,Ae.ownerDocument.doctype.name)&&(sn="<!DOCTYPE "+Ae.ownerDocument.doctype.name+`>
19`+sn),U&&nl([Q,Y,W],pn=>{sn=si(sn,pn," ")}),E&&Te?E.createHTML(sn):sn},t.setConfig=function(){let Ge=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};et(Ge),le=!0},t.clearConfig=function(){kn=null,le=!1},t.isValidAttribute=function(Ge,J,Ae){kn||et({});const Ue=Rt(Ge),kt=Rt(J);return en(Ue,kt,Ae)},t.addHook=function(Ge,J){typeof J=="function"&&ol(G[Ge],J)},t.removeHook=function(Ge,J){if(J!==void 0){const Ae=vA(G[Ge],J);return Ae===-1?void 0:yA(G[Ge],Ae,1)[0]}return iy(G[Ge])},t.removeHooks=function(Ge){G[Ge]=[]},t.removeAllHooks=function(){G=py()},t}var RA=g_();const on=e=>e?RA.sanitize(String(e),{USE_PROFILES:{html:!0},ALLOWED_ATTR:["href","src","alt","title","class","target","rel","width","height"]}):"",v_=(e,t={})=>Object.entries(e).map(([n,o])=>({label:t[n]||n,value:String(o??"")})),Ja=e=>String(e??"").replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;"),my=(e,t={})=>v_(e,t).map(({label:n,value:o})=>`<strong>${Ja(n)}</strong>: ${Ja(o)}`).join("<br>"),y_=new Intl.DateTimeFormat("en-US",{year:"numeric",month:"2-digit",day:"2-digit",timeZone:"UTC"});function Ph(){document.querySelectorAll(".post, .single-post").forEach(t=>{t.querySelectorAll(".post-content h1, .post-content h2, .post-content h3, .post-content h4, .post-content h5, .post-content h6").forEach(u=>{u.querySelectorAll("a").forEach(d=>{var p,m;if((p=d.href)!=null&&p.includes("quility.com")){const h=document.createTextNode(d.textContent||"");(m=d.parentNode)==null||m.insertBefore(h,d),d.remove()}else d.textContent&&(d.textContent=d.textContent.replace(/Quility/g,"Symmetry Financial Group").replace(/quility/g,"sfglife"))}
19),u.childNodes.forEach(d=>{d.nodeType===Node.TEXT_NODE&&d.textContent&&(d.textContent=d.textContent.replace(/Quility/g,"Symmetry Financial Group").replace(/quility/g,"sfglife"))})}),t.querySelectorAll(".post-content p").forEach(u=>{u.querySelectorAll("a").forEach(d=>{var p,m;if((p=d.href)!=null&&p.includes("quility.com")){const h=document.createTextNode(d.textContent||"");(m=d.parentNode)==null||m.insertBefore(h,d),d.remove()}else d.textContent&&(d.textContent=d.textContent.replace(/Quility/g,"Symmetry Financial Group").replace(/quility/g,"sfglife"))}),u.childNodes.forEach(d=>{d.nodeType===Node.TEXT_NODE&&d.textContent&&(d.textContent=d.textContent.replace(/Quility/g,"Symmetry Financial Group").replace(/quility/g,"sfglife"))})}),t.querySelectorAll(".post-content strong").forEach(u=>{u.querySelectorAll("a").forEach(d=>{var p,m;if((p=d.href)!=null&&p.includes("quility.com")){const h=document.createTextNode(d.textContent||"");(m=d.parentNode)==null||m.insertBefore(h,d),d.remove()}else d.textContent&&(d.textContent=d.textContent.replace(/Quility/g,"Symmetry Financial Group").replace(/quility/g,"sfglife"))}),u.childNodes.forEach(d=>{d.nodeType===Node.TEXT_NODE&&d.textContent&&(d.textContent=d.textContent.replace(/Quility/g,"Symmetry Financial Group").replace(/quility/g,"sfglife"))})}),t.querySelectorAll(".post-content ul li").forEach(u=>{u.querySelectorAll("a").forEach(d=>{var p,m;if((p=d.href)!=null&&p.includes("quility.com")){const h=document.createTextNode(d.textContent||"");(m=d.parentNode)==null||m.insertBefore(h,d),d.remove()}else d.textContent&&(d.textContent=d.textContent.replace(/Quility/g,"Symmetry Financial Group").replace(/quility/g,"sfglife"))}),u.childNodes.forEach(d=>{d.nodeType===Node.TEXT_NODE&&d.textContent&&(d.textContent=d.textContent.replace(/Quility/g,"Symmetry Financial Group").replace(/quility/g,"sfglife"))})}),t.querySelectorAll(".post-content").forEach(u=>{u.querySelectorAll("a").forEach(d=>{var p,m;if((p=d.href)!=null&&p.includes("quility.com")){const h=document.createTextNode(d.textContent||"");(m=d.parentNode)==null||m.insertBefore(h,d),d.remove()}else d.textContent&&(d.textContent=d.textContent.replace(/Quility/g,"Symmetry Financial Group").replace(/quility/g,"sfglife"))}),u.childNodes.forEach(d=>{d.nodeType===Node.TEXT_NODE&&d.textContent&&(d.textContent=d.textContent.replace(/Quility/g,"Symmetry Financial Group").replace(/quility/g,"sfglife"))})}),t.querySelectorAll(".post-image img").forEach(u=>{u.alt&&(u.alt=u.alt.replace(/quility/g,"sfglife"),u.alt=u.alt.replace(/Quility/g,"Symmetry Financial Group"))})})}const Oh=()=>"OC"+"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,n=>{const o=Math.random()*16|0;return(n==="x"?o:o&3|8).toString(16)}).slice(2),Ti=()=>new Date().toLocaleDateString("en-CA");function Ei(e){if(!e)return"";let t=String(e).replace(/\D/g,"");return t.length===11&&t.startsWith("1")&&(t=t.slice(1)),t.length!==10?String(e):`${t.slice(0,3)}-${t.slice(3,6)}-${t.slice(6)}`}function LA(e){if(!e)return"";let t=String(e).replace(/\D/g,"");return t.length===11&&t.startsWith("1")&&(t=t.slice(1)),/^[2-9]\d{2}[2-9]\d{6}$/.test(t)?`+1 ${t.slice(0,3)}-${t.slice(3,6)}-${t.slice(6)}`:""}function Vd(e,t,n){const o=encodeURIComponent(e||""),r=encodeURIComponent(t);return`${o}?redirect_url=${n}&leadtype=${r}&producttype=${r}`}function VA(e,t){return`${encodeURIComponent(e||"")}?redirect_url=${t}`}function hy(e){const t="https://myhatchsite.io/careers",n=(e??"").trim();return n?`${t}?agent_code=${encodeURIComponent(n)}`:t}function _i(e){if(!e)return!1;try{const t=new URL(e);if(t.protocol!=="https:")return!1;const n=t.hostname.toLowerCase();return n==="calendly.com"||n.endsWith(".calendly.com")}catch{return!1}}function b_(e,t){return function(){return e.apply(t,arguments)}}const{toString:BA}=Object.prototype,{getPrototypeOf:Ih}=Object,{iterator:Bd,toStringTag:w_}=Symbol,Fd=(e=>t=>{const n=BA.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),jr=e=>(e=e.toLowerCase(),t=>Fd(t)===e),Nd=e=>t=>typeof t===e,{isArray:Yi}=Array,Pi=Nd("undefined");function vu(e){return e!==null&&!Pi(e)&&e.constructor!==null&&!Pi(e.constructor)&&Qo(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const __=jr("ArrayBuffer");function FA(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&__(e.buffer),t}const NA=Nd("string"),Qo=Nd("function"),x_=Nd("number"),yu=e=>e!==null&&typeof e=="object",zA=e=>e===!0||e===!1,kc=e=>{if(Fd(e)!=="object")return!1;const t=Ih(e);
vendor: 14,336 bytes, lines 19-20
19return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(w_ in e)&&!(Bd in e)},jA=e=>{if(!yu(e)||vu(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},UA=jr("Date"),HA=jr("File"),WA=e=>!!(e&&typeof e.uri<"u"),qA=e=>e&&typeof e.getParts<"u",GA=jr("Blob"),YA=jr("FileList"),KA=e=>yu(e)&&Qo(e.pipe);function QA(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const gy=QA(),vy=typeof gy.FormData<"u"?gy.FormData:void 0,XA=e=>{let t;return e&&(vy&&e instanceof vy||Qo(e.append)&&((t=Fd(e))==="formdata"||t==="object"&&Qo(e.toString)&&e.toString()==="[object FormData]"))},JA=jr("URLSearchParams"),[ZA,e5,t5,n5]=["ReadableStream","Request","Response","Headers"].map(jr),o5=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function bu(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let o,r;if(typeof e!="object"&&(e=[e]),Yi(e))for(o=0,r=e.length;o<r;o++)t.call(null,e[o],o,e);else{if(vu(e))return;const s=n?Object.getOwnPropertyNames(e):Object.keys(e),i=s.length;let l;for(o=0;o<i;o++)l=s[o],t.call(null,e[l],l,e)}}function S_(e,t){if(vu(e))return null;t=t.toLowerCase();const n=Object.keys(e);let o=n.length,r;for(;o-- >0;)if(r=n[o],t===r.toLowerCase())return r;return null}const Ts=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,C_=e=>!Pi(e)&&e!==Ts;function cm(){const{caseless:e,skipUndefined:t}=C_(this)&&this||{},n={},o=(r,s)=>{if(s==="__proto__"||s==="constructor"||s==="prototype")return;const i=e&&S_(n,s)||s;kc(n[i])&&kc(r)?n[i]=cm(n[i],r):kc(r)?n[i]=cm({},r):Yi(r)?n[i]=r.slice():(!t||!Pi(r))&&(n[i]=r)};for(let r=0,s=arguments.length;r<s;r++)arguments[r]&&bu(arguments[r],o);return n}const r5=(e,t,n,{allOwnKeys:o}={})=>(bu(t,(r,s)=>{n&&Qo(r)?Object.defineProperty(e,s,{value:b_(r,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,s,{value:r,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:o}),e),a5=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),s5=(e,t,n,o)=>{e.prototype=Object.create(t.prototype,o),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},i5=(e,t,n,o)=>{let r,s,i;const l={};if(t=t||{},e==null)return t;do{for(r=Object.getOwnPropertyNames(e),s=r.length;s-- >0;)i=r[s],(!o||o(i,e,t))&&!l[i]&&(t[i]=e[i],l[i]=!0);e=n!==!1&&Ih(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},l5=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const o=e.indexOf(t,n);return o!==-1&&o===n},u5=e=>{if(!e)return null;if(Yi(e))return e;let t=e.length;if(!x_(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},c5=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Ih(Uint8Array)),d5=(e,t)=>{const o=(e&&e[Bd]).call(e);let r;for(;(r=o.next())&&!r.done;){const s=r.value;t.call(e,s[0],s[1])}},f5=(e,t)=>{let n;const o=[];for(;(n=e.exec(t))!==null;)o.push(n);return o},p5=jr("HTMLFormElement"),m5=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,o,r){return o.toUpperCase()+r}),yy=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),h5=jr("RegExp"),k_=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),o={};bu(n,(r,s)=>{let i;(i=t(r,s,e))!==!1&&(o[s]=i||r)}),Object.defineProperties(e,o)},g5=e=>{k_(e,(t,n)=>{if(Qo(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const o=e[n];if(Qo(o)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},v5=(e,t)=>{const n={},o=r=>{r.forEach(s=>{n[s]=!0})};return Yi(e)?o(e):o(String(e).split(t)),n},y5=()=>{},b5=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function w5(e){return!!(e&&Qo(e.append)&&e[w_]==="FormData"&&e[Bd])}const _5=e=>{const t=new Array(10),n=(o,r)=>{if(yu(o)){if(t.indexOf(o)>=0)return;if(vu(o))return o;if(!("toJSON"in o)){t[r]=o;const s=Yi(o)?[]:{};return bu(o,(i,l)=>{const u=n(i,r+1);!Pi(u)&&(s[l]=u)}),t[r]=void 0,s}}return o};return n(e,0)},x5=jr("AsyncFunction"),S5=e=>e&&(yu(e)||Qo(e))&&Qo(e.then)&&Qo(e.catch),$_=((e,t)=>e?setImmediate:t?((n,o)=>(Ts.addEventListener("message",({source:r,data:s})=>{r===Ts&&s===n&&o.length&&o.shift()()},!1),r=>{o.push(r),Ts.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Qo(Ts.postMessage)),C5=typeof queueMicrotask<"u"?queueMicrotask.bind(Ts):typeof process<"u"&&process.nextTick||$_,k5=e=>e!=null&&Qo(e[Bd]),ve={isArray:Yi,isArrayBuffer:__,isBuffer:vu,isFormData:XA,isArrayBufferView:FA,isString:NA,isNumber:x_,isBoolean:zA,isObject:yu,isPlainObject:kc,isEmptyObject:jA,isReadableStream:ZA,isRequest:e5,isResponse:t5,isHeaders:n5,isUndefined:Pi,isDate:UA,isFile:HA,isReactNativeBlob:WA,isReactNative:qA,isBlob:GA,isRegExp:h5,isFunction:Qo,isStream:KA,isURLSearchParams:JA,isTypedArray:c5,isFileList:YA,forEach:bu,merge:cm,extend:r5,trim:o5,stripBOM:a5,inherits:s5,toFlatObject:i5,kindOf:Fd,kindOfTest:jr,endsWith:l5,toArray:u5,forEachEntry:d5,matchAll:f5,isHTMLForm:p5,hasOwnProperty:yy,hasOwnProp:yy,reduceDescriptors:k_,freezeMethods:g5,toObjectSet:v5,toCamelCase:m5,noop:y5,toFiniteNumber:b5,findKey:S_,global:Ts,isContextDefined:C_,isSpecCompliantForm:w5,toJSONObject:_5,isAsyncFn:x5,isThenable:S5,setImmediate:$_,asap:C5,isIterable:k5};let at=class A_ extends Error{static from(t,n,o,r,s,i){const l=new A_(t.message,n||t.code,o,r,s);return l.cause=t,l.name=t.name,t.status!=null&&l.status==null&&(l.status=t.status),i&&Object.assign(l,i),l}constructor(t,n,o,r,s){super(t),Object.defineProperty(this,"message",{value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,n&&(this.code=n),o&&(this.config=o),r&&(this.request=r),s&&(this.response=s,this.status=s.status)}toJSON(){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:ve.toJSONObject(this.config),code:this.code,status:this.status}}};at.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";at.ERR_BAD_OPTION="ERR_BAD_OPTION";at.ECONNABORTED="ECONNABORTED";at.ETIMEDOUT="ETIMEDOUT";at.ERR_NETWORK="ERR_NETWORK";at.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";at.ERR_DEPRECATED="ERR_DEPRECATED";at.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";at.ERR_BAD_REQUEST="ERR_BAD_REQUEST";at.ERR_CANCELED="ERR_CANCELED";at.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";at.ERR_INVALID_URL="ERR_INVALID_URL";const $5=null;function dm(e){return ve.isPlainObject(e)||ve.isArray(e)}function T_(e){return ve.endsWith(e,"[]")?e.slice(0,-2):e}function Uf(e,t,n){return e?e.concat(t).map(function(r,s){return r=T_(r),!n&&s?"["+r+"]":r}).join(n?".":""):t}function A5(e){return ve.isArray(e)&&!e.some(dm)}const T5=ve.toFlatObject(ve,{},null,function(t){return/^is[A-Z]/.test(t)});function zd(e,t,n){if(!ve.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=ve.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(b,y){return!ve.isUndefined(y[b])});const o=n.metaTokens,r=n.visitor||d,s=n.dots,i=n.indexes,u=(n.Blob||typeof Blob<"u"&&Blob)&&ve.isSpecCompliantForm(t);if(!ve.isFunction(r))throw new TypeError("visitor must be a function");function c(g){if(g===null)return"";if(ve.isDate(g))return g.toISOString();if(ve.isBoolean(g))return g.toString();if(!u&&ve.isBlob(g))throw new at("Blob is not supported. Use a Buffer instead.");return ve.isArrayBuffer(g)||ve.isTypedArray(g)?u&&typeof Blob=="function"?new Blob([g]):Buffer.from(g):g}function d(g,b,y){let _=g;if(ve.isReactNative(t)&&ve.isReactNativeBlob(g))return t.append(Uf(y,b,s),c(g)),!1;if(g&&!y&&typeof g=="object"){if(ve.endsWith(b,"{}"))b=o?b:b.slice(0,-2),g=JSON.stringify(g);else if(ve.isArray(g)&&A5(g)||(ve.isFileList(g)||ve.endsWith(b,"[]"))&&(_=ve.toArray(g)))return b=T_(b),_.forEach(function(k,E){!(ve.isUndefined(k)||k===null)&&t.append(i===!0?Uf([b],E,s):i===null?b:b+"[]",c(k))}),!1}return dm(g)?!0:(t.append(Uf(y,b,s),c(g)),!1)}const p=[],m=Object.assign(T5,{defaultVisitor:d,convertValue:c,isVisitable:dm});function h(g,b){if(!ve.isUndefined(g)){if(p.indexOf(g)!==-1)throw Error("Circular reference detected in "+b.join("."));p.push(g),ve.forEach(g,function(_,A){(!(ve.isUndefined(_)||_===null)&&r.call(t,_,ve.isString(A)?A.trim():A,b,m))===!0&&h(_,b?b.concat(A):[A])}),p.pop()}}if(!ve.isObject(e))throw new TypeError("data must be an object");return h(e),t}function by(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(o){return t[o]})}function Dh(e,t){this._pairs=[],e&&zd(e,this,t)}const E_=Dh.prototype;E_.append=function(t,n){this._pairs.push([t,n])};E_.toString=function(t){const n=t?function(o){return t.call(this,o,by)}:by;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};function E5(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function P_(e,t,n){if(!t)return e;const o=n&&n.encode||E5,r=ve.isFunction(n)?{serialize:n}:n,s=r&&r.serialize;let i;if(s?i=s(t,r):i=ve.isURLSearchParams(t)?t.toString():new Dh(t,r).toString(o),i){const l=e.indexOf("#");l!==-1&&(e=e.slice(0,l)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class wy{constructor(){this.handlers=[]}use(t,n,o){return this.handlers.push({fulfilled:t,rejected:n,synchronous:o?o.synchronous:!1,runWhen:o?o.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){ve.forEach(this.handlers,function(o){o!==null&&t(o)})}}const Mh={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},P5=typeof URLSearchParams<"u"?URLSearchParams:Dh,O5=typeof FormData<"u"?FormData:null,I5=typeof Blob<"u"?Blob:null,D5={isBrowser:!0,classes:{URLSearchParams:P5,FormData:O5,Blob:I5},protocols:["http","https","file","blob","url","data"]},Rh=typeof window<"u"&&typeof document<"u",fm=typeof navigator=="object"&&navigator||void 0,M5=Rh&&(!fm||["ReactNative","NativeScript","NS"].indexOf(fm.product)<0),R5=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",L5=Rh&&window.location.href||"http://localhost",V5=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Rh,hasStandardBrowserEnv:M5,hasStandardBrowserWebWorkerEnv:R5,navigator:fm,origin:L5},Symbol.toStringTag,{value:"Module"})),To={...V5,...D5};function B5(e,t){return zd(e,new To.classes.URLSearchParams,{visitor:function(n,o,r,s){return To.isNode&&ve.isBuffer(n)?(this.append(o,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)},...t})}function F5(e){return ve.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function N5(e){const t={},n=Object.keys(e);let o;const r=n.length;let s;for(o=0;o<r;o++)s=n[o],t[s]=e[s];return t}function O_(e){function t(n,o,r,s){let i=n[s++];if(i==="__proto__")return!0;const l=Number.isFinite(+i),u=s>=n.length;return i=!i&&ve.isArray(r)?r.length:i,u?(ve.hasOwnProp(r,i)?r[i]=[r[i],o]:r[i]=o,!l):((!r[i]||!ve.isObject(r[i]))&&(r[i]=[]),t(n,o,r[i],s)&&ve.isArray(r[i])&&(r[i]=N5(r[i])),!l)}if(ve.isFormData(e)&&ve.isFunction(e.entries)){const n={};return ve.forEachEntry(e,(o,r)=>{t(F5(o),r,n,0)}),n}return null}function z5(e,t,n){if(ve.isString(e))try{return(t||JSON.parse)(e),ve.trim(e)}catch(o){if(o.name!=="SyntaxError")throw o}return(n||JSON.stringify)(e)}const wu={transitional:Mh,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const o=n.getContentType()||"",r=o.indexOf("application/json")>-1,s=ve.isObject(t);if(s&&ve.isHTMLForm(t)&&(t=new FormData(t)),ve.isFormData(t))return r?JSON.stringify(O_(t)):t;if(ve.isArrayBuffer(t)||ve.isBuffer(t)||ve.isStream(t)||ve.isFile(t)||ve.isBlob(t)||ve.isReadableStream(t))return t;if(ve.isArrayBufferView(t))return t.buffer;if(ve.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(s){if(o.indexOf("application/x-www-form-urlencoded")>-1)return B5(t,this.formSerializer).toString();if((l=ve.isFileList(t))||o.indexOf("multipart/form-data")>-1){const u=this.env&&this.env.FormData;return zd(l?{"files[]":t}:t,u&&new u,this.formSerializer)}}return s||r?(n.setContentType("application/json",!1),z5(t)):t}],transformResponse:[function(t){const n=this.transitional||wu.transitional,o=n&&n.forcedJSONParsing,r=this.responseType==="json";if(ve.isResponse(t)||ve.isReadableStream(t))return t;if(t&&ve.isString(t)&&(o&&!this.responseType||r)){const i=!(n&&n.silentJSONParsing)&&r;try{return JSON.parse(t,this.parseReviver)}catch(l){if(i)throw l.name==="SyntaxError"?at.from(l,at.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:To.classes.FormData,Blob:To.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};ve.forEach(["delete","get","head","post","put","patch"],e=>{wu.headers[e]={}});const j5=ve.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"]),U5=e=>{const t={};let n,o,r;return e&&e.split(`
20`).forEach(function(i){r=i.indexOf(":"),n=i.substring(0,r).trim().toLowerCase(),o=i.substring(r+1).trim(),!(!n||t[n]&&j5[n])&&(n==="set-cookie"?t[n]?t[n].push(o):t[n]=[o]:t[n]=t[n]?t[n]+", "+o:o)}),t},_y=Symbol("internals"),H5=e=>!/[\r\n]/.test(e);function I_(e,t){if(!(e===!1||e==null)){if(ve.isArray(e)){e.forEach(n=>I_(n,t));return}if(!H5(String(e)))throw new Error(`Invalid character in header content ["${t}"]`)}}function il(e){return e&&String(e).trim().toLowerCase()}function W5(e){let t=e.length;for(;t>0;){const n=e.charCodeAt(t-1);if(n!==10&&n!==13)break;t-=1}return t===e.length?e:e.slice(0,t)}function $c(e){return e===!1||e==null?e:ve.isArray(e)?e.map($c):W5(String(e))}function q5(e){const t=Object.create(null),n=/([^\s,;
20=]+)\s*(?:=\s*([^,;]+))?/g;let o;for(;o=n.exec(e);)t[o[1]]=o[2];return t}const G5=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Hf(e,t,n,o,r){if(ve.isFunction(o))return o.call(this,t,n);if(r&&(t=n),!!ve.isString(t)){if(ve.isString(o))return t.indexOf(o)!==-1;if(ve.isRegExp(o))return o.test(t)}}function Y5(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,o)=>n.toUpperCase()+o)}function K5(e,t){const n=ve.toCamelCase(" "+t);["get","set","has"].forEach(o=>{Object.defineProperty(e,o+n,{value:function(r,s,i){return this[o].call(this,t,r,s,i)},configurable:!0})})}let Xo=class{constructor(t){t&&this.set(t)}set(t,n,o){const r=this;function s(l,u,c){const d=il(u);if(!d)throw new Error("header name must be a non-empty string");const p=ve.findKey(r,d);(!p||r[p]===void 0||c===!0||c===void 0&&r[p]!==!1)&&(I_(l,u),r[p||u]=$c(l))}const i=(l,u)=>ve.forEach(l,(c,d)=>s(c,d,u));if(ve.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(ve.isString(t)&&(t=t.trim())&&!G5(t))i(U5(t),n);else if(ve.isObject(t)&&ve.isIterable(t)){let l={},u,c;for(const d of t){if(!ve.isArray(d))throw TypeError("Object iterator must return a key-value pair");l[c=d[0]]=(u=l[c])?ve.isArray(u)?[...u,d[1]]:[u,d[1]]:d[1]}i(l,n)}else t!=null&&s(n,t,o);return this}get(t,n){if(t=il(t),t){const o=ve.findKey(this,t);if(o){const r=this[o];if(!n)return r;if(n===!0)return q5(r);if(ve.isFunction(n))return n.call(this,r,o);if(ve.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=il(t),t){const o=ve.findKey(this,t);return!!(o&&this[o]!==void 0&&(!n||Hf(this,this[o],o,n)))}return!1}delete(t,n){const o=this;let r=!1;function s(i){if(i=il(i),i){const l=ve.findKey(o,i);l&&(!n||Hf(o,o[l],l,n))&&(delete o[l],r=!0)}}return ve.isArray(t)?t.forEach(s):s(t),r}clear(t){const n=Object.keys(this);let o=n.length,r=!1;for(;o--;){const s=n[o];(!t||Hf(this,this[s],s,t,!0))&&(delete this[s],r=!0)}return r}normalize(t){const n=this,o={};return ve.forEach(this,(r,s)=>{const i=ve.findKey(o,s);if(i){n[i]=$c(r),delete n[s];return}const l=t?Y5(s):String(s).trim();l!==s&&delete n[s],n[l]=$c(r),o[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return ve.forEach(this,(o,r)=>{o!=null&&o!==!1&&(n[r]=t&&ve.isArray(o)?o.join(", "):o)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
21`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const o=new this(t);return n.forEach(r=>o.set(r)),o}static accessor(t){const o=(this[_y]=this[_y]={accessors:{}}).accessors,r=this.prototype;function s(i){const l=il(i);o[l]||(K5(r,i),o[l]=!0)}return ve.isArray(t)?t.forEach(s):s(t),this}};Xo.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);ve.reduceDescriptors(Xo.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(o){this[n]=o}}});ve.freezeMethods(Xo);function Wf(e,t){const n=this||wu,o=t||n,r=Xo.from(o.headers);let s=o.data;return ve.forEach(e,function(l){s=l.call(n,s,r.normalize(),t?t.status:void 0)}),r.normalize(),s}function D_(e){return!!(e&&e.__CANCEL__)}let _u=class extends at{constructor(t,n,o){super(t??"canceled",at.ERR_CANCELED,n,o),this.name="CanceledError",this.__CANCEL__=!0}};function M_(e,t,n){const o=n.config.validateStatus;!n.status||!o||o(n.status)?e(n):t(new at("Request failed with status code "+n.status,[at.ERR_BAD_REQUEST,at.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function Q5(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function X5(e,t){e=e||10;const n=new Array(e),o=new Array(e);let r=0,s=0,i;return t=t!==void 0?t:1e3,function(u){const c=Date.now(),d=o[s];i||(i=c),n[r]=u,o[r]=c;let p=s,m=0;for(;p!==r;)m+=n[p++],p=p%e;if(r=(r+1)%e,r===s&&(s=(s+1)%e),c-i<t)return;const h=d&&c-d;return h?Math.round(m*1e3/h):void 0}}function J5(e,t){let n=0,o=1e3/t,r,s;const i=(c,d=Date.now())=>{n=d,r=null,s&&(clearTimeout(s),s=null),e(...c)};return[(...c)=>{const d=Date.now(),p=d-n;p>=o?i(c,d):(r=c,s||(s=setTimeout(()=>{s=null,i(r)},o-p)))},()=>r&&i(r)]}const Jc=(e,t,n=3)=>{let o=0;const r=X5(50,250);return J5(s=>{const i=s.loaded,l=s.lengthComputable?s.total:void 0,u=i-o,c=r(u),d=i<=l;o=i;const p={loaded:i,total:l,progress:l?i/l:void 0,bytes:u,rate:c||void 0,estimated:c&&l&&d?(l-i)/c:void 0,event:s,lengthComputable:l!=null,[t?"download":"upload"]:!0};e(p)},n)},xy=(e,t)=>{const n=e!=null;return[o=>t[0]({lengthComputable:n,total:e,loaded:o}),t[1]]},Sy=e=>(...t)=>ve.asap(()=>e(...t)),Z5=To.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,To.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(To.origin),To.navigator&&/(msie|trident)/i.test(To.navigator.userAgent)):()=>!0,e3=To.hasStandardBrowserEnv?{write(e,t,n,o,r,s,i){if(typeof document>"u")return;const l=[`${e}=${encodeURIComponent(t)}`];ve.isNumber(n)&&l.push(`expires=${new Date(n).toUTCString()}`),ve.isString(o)&&l.push(`path=${o}`),ve.isString(r)&&l.push(`domain=${r}`),s===!0&&l.push("secure"),ve.isString(i)&&l.push(`SameSite=${i}`),document.cookie=l.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function t3(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function n3(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function R_(e,t,n){let o=!t3(t);return e&&(o||n==!1)?n3(e,t):t}const Cy=e=>e instanceof Xo?{...e}:e;function Us(e,t){t=t||{};const n={};function o(c,d,p,m){return ve.isPlainObject(c)&&ve.isPlainObject(d)?ve.merge.call({caseless:m},c,d):ve.isPlainObject(d)?ve.merge({},d):ve.isArray(d)?d.slice():d}function r(c,d,p,m){if(ve.isUndefined(d)){if(!ve.isUndefined(c))return o(void 0,c,p,m)}else return o(c,d,p,m)}function s(c,d){if(!ve.isUndefined(d))return o(void 0,d)}function i(c,d){if(ve.isUndefined(d)){if(!ve.isUndefined(c))return o(void 0,c)}else return o(void 0,d)}function l(c,d,p){if(p in t)return o(c,d);if(p in e)return o(void 0,c)}const u={url:s,method:s,data:s,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:l,headers:(c,d,p)=>r(Cy(c),Cy(d),p,!0)};return ve.forEach(Object.keys({...e,...t}),function(d){if(d==="__proto__"||d==="constructor"||d==="prototype")return;const p=ve.hasOwnProp(u,d)?u[d]:r,m=p(e[d],t[d],d);ve.isUndefined(m)&&p!==l||(n[d]=m)}),n}const L_=e=>{const t=Us({},e);let{data:n,withXSRFToken:o,xsrfHeaderName:r,xsrfCookieName:s,headers:i,auth:l}=t;if(t.headers=i=Xo.from(i),t.url=P_(R_(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),l&&i.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),ve.isFormData(n)){if(To.hasStandardBrowserEnv||To.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if(ve.isFunction(n.getHeaders)){const u=n.getHeaders(),c=["content-type","content-length"];Object.entries(u).forEach(([d,p])=>{c.includes(d.toLowerCase())&&i.set(d,p)})}}if(To.hasStandardBrowserEnv&&(o&&ve.isFunction(o)&&(o=o(t)),o||o!==!1&&Z5(t.url))){const u=r&&s&&e3.read(s);u&&i.set(r,u)}return t},o3=typeof XMLHttpRequest<"u",r3=o3&&function(e){return new Promise(function(n,o){const r=L_(e);let s=r.data;const i=Xo.from(r.headers).normalize();let{responseType:l,onUploadProgress:u,onDownloadProgress:c}=r,d,p,m,h,g;function b(){h&&h(),g&&g(),r.cancelToken&&r.cancelToken.unsubscribe(d),r.signal&&r.signal.removeEventListener("abort",d)}let y=new XMLHttpRequest;y.open(r.method.toUpperCase(),r.url,!0),y.timeout=r.timeout;function _(){if(!y)return;const k=Xo.from("getAllResponseHeaders"in y&&y.getAllResponseHeaders()),I={data:!l||l==="text"||l==="json"?y.responseText:y.response,status:y.status,statusText:y.statusText,headers:k,config:e,request:y};M_(function(P){n(P),b()},function(P){o(P),b()},I),y=null}"onloadend"in y?y.onloadend=_:y.onreadystatechange=function(){!y||y.readyState!==4||y.status===0&&!(y.responseURL&&y.responseURL.indexOf("file:")===0)||setTimeout(_)},y.onabort=function(){y&&(o(new at("Request aborted",at.ECONNABORTED,e,y)),y=null)},y.onerror=function(E){const I=E&&E.message?E.message:"Network Error",F=new at(I,at.ERR_NETWORK,e,y);F.event=E||null,o(F),y=null},y.ontimeout=function(){let E=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const I=r.transitional||Mh;r.timeoutErrorMessage&&(E=r.timeoutErrorMessage),o(new at(E,I.clarifyTimeoutError?at.ETIMEDOUT:at.ECONNABORTED,e,y)),y=null},s===void 0&&i.setContentType(null),"setRequestHeader"in y&&ve.forEach(i.toJSON(),function(E,I){y.setRequestHeader(I,E)}),ve.isUndefined(r.withCredentials)||(y.withCredentials=!!r.withCredentials),l&&l!=="json"&&(y.responseType=r.responseType),c&&
vendor: 10,132 bytes, lines 21-27
21([m,g]=Jc(c,!0),y.addEventListener("progress",m)),u&&y.upload&&([p,h]=Jc(u),y.upload.addEventListener("progress",p),y.upload.addEventListener("loadend",h)),(r.cancelToken||r.signal)&&(d=k=>{y&&(o(!k||k.type?new _u(null,e,y):k),y.abort(),y=null)},r.cancelToken&&r.cancelToken.subscribe(d),r.signal&&(r.signal.aborted?d():r.signal.addEventListener("abort",d)));const A=Q5(r.url);if(A&&To.protocols.indexOf(A)===-1){o(new at("Unsupported protocol "+A+":",at.ERR_BAD_REQUEST,e));return}y.send(s||null)})},a3=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let o=new AbortController,r;const s=function(c){if(!r){r=!0,l();const d=c instanceof Error?c:this.reason;o.abort(d instanceof at?d:new _u(d instanceof Error?d.message:d))}};let i=t&&setTimeout(()=>{i=null,s(new at(`timeout of ${t}ms exceeded`,at.ETIMEDOUT))},t);const l=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(c=>{c.unsubscribe?c.unsubscribe(s):c.removeEventListener("abort",s)}),e=null)};e.forEach(c=>c.addEventListener("abort",s));const{signal:u}=o;return u.unsubscribe=()=>ve.asap(l),u}},s3=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let o=0,r;for(;o<n;)r=o+t,yield e.slice(o,r),o=r},i3=async function*(e,t){for await(const n of l3(e))yield*s3(n,t)},l3=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:o}=await t.read();if(n)break;yield o}}finally{await t.cancel()}},ky=(e,t,n,o)=>{const r=i3(e,t);let s=0,i,l=u=>{i||(i=!0,o&&o(u))};return new ReadableStream({async pull(u){try{const{done:c,value:d}=await r.next();if(c){l(),u.close();return}let p=d.byteLength;if(n){let m=s+=p;n(m)}u.enqueue(new Uint8Array(d))}catch(c){throw l(c),c}},cancel(u){return l(u),r.return()}},{highWaterMark:2})},$y=64*1024,{isFunction:Xu}=ve,u3=(({Request:e,Response:t})=>({Request:e,Response:t}))(ve.global),{ReadableStream:Ay,TextEncoder:Ty}=ve.global,Ey=(e,...t)=>{try{return!!e(...t)}catch{return!1}},c3=e=>{e=ve.merge.call({skipUndefined:!0},u3,e);const{fetch:t,Request:n,Response:o}=e,r=t?Xu(t):typeof fetch=="function",s=Xu(n),i=Xu(o);if(!r)return!1;const l=r&&Xu(Ay),u=r&&(typeof Ty=="function"?(g=>b=>g.encode(b))(new Ty):async g=>new Uint8Array(await new n(g).arrayBuffer())),c=s&&l&&Ey(()=>{let g=!1;const b=new Ay,y=new n(To.origin,{body:b,method:"POST",get duplex(){return g=!0,"half"}}).headers.has("Content-Type");return b.cancel(),g&&!y}),d=i&&l&&Ey(()=>ve.isReadableStream(new o("").body)),p={stream:d&&(g=>g.body)};r&&["text","arrayBuffer","blob","formData","stream"].forEach(g=>{!p[g]&&(p[g]=(b,y)=>{let _=b&&b[g];if(_)return _.call(b);throw new at(`Response type '${g}' is not supported`,at.ERR_NOT_SUPPORT,y)})});const m=async g=>{if(g==null)return 0;if(ve.isBlob(g))return g.size;if(ve.isSpecCompliantForm(g))return(await new n(To.origin,{method:"POST",body:g}).arrayBuffer()).byteLength;if(ve.isArrayBufferView(g)||ve.isArrayBuffer(g))return g.byteLength;if(ve.isURLSearchParams(g)&&(g=g+""),ve.isString(g))return(await u(g)).byteLength},h=async(g,b)=>{const y=ve.toFiniteNumber(g.getContentLength());return y??m(b)};return async g=>{let{url:b,method:y,data:_,signal:A,cancelToken:k,timeout:E,onDownloadProgress:I,onUploadProgress:F,responseType:P,headers:B,withCredentials:O="same-origin",fetchOptions:j}=L_(g),G=t||fetch;P=P?(P+"").toLowerCase():"text";let Q=a3([A,k&&k.toAbortSignal()],E),Y=null;const W=Q&&Q.unsubscribe&&(()=>{Q.unsubscribe()});let re;try{if(F&&c&&y!=="get"&&y!=="head"&&(re=await h(B,_))!==0){let ee=new n(b,{method:"POST",body:_,duplex:"half"}),K;if(ve.isFormData(_)&&(K=ee.headers.get("content-type"))&&B.setContentType(K),ee.body){const[Ie,fe]=xy(re,Jc(Sy(F)));_=ky(ee.body,$y,Ie,fe)}}ve.isString(O)||(O=O?"include":"omit");const oe=s&&"credentials"in n.prototype,ne={...j,signal:Q,method:y.toUpperCase(),headers:B.normalize().toJSON(),body:_,duplex:"half",credentials:oe?O:void 0};Y=s&&new n(b,ne);let z=await(s?G(Y,j):G(b,ne));const N=d&&(P==="stream"||P==="response");if(d&&(I||N&&W)){const ee={};["status","statusText","headers"].forEach(ge=>{ee[ge]=z[ge]});const K=ve.toFiniteNumber(z.headers.get("content-length")),[Ie,fe]=I&&xy(K,Jc(Sy(I),!0))||[];z=new o(ky(z.body,$y,Ie,()=>{fe&&fe(),W&&W()}),ee)}P=P||"text";let ae=await p[ve.findKey(p,P)||"text"](z,g);return!N&&W&&W(),await new Promise((ee,K)=>{M_(ee,K,{data:ae,headers:Xo.from(z.headers),status:z.status,statusText:z.statusText,config:g,request:Y})})}catch(oe){throw W&&W(),oe&&oe.name==="TypeError"&&/Load failed|fetch/i.test(oe.message)?Object.assign(new at("Network Error",at.ERR_NETWORK,g,Y,oe&&oe.response),{cause:oe.cause||oe}):at.from(oe,oe&&oe.code,g,Y,oe&&oe.response)}}},d3=new Map,V_=e=>{let t=e&&e.env||{};const{fetch:n,Request:o,Response:r}=t,s=[o,r,n];let i=s.length,l=i,u,c,d=d3;for(;l--;)u=s[l],c=d.get(u),c===void 0&&d.set(u,c=l?new Map:c3(t)),d=c;return c};V_();const Lh={http:$5,xhr:r3,fetch:{get:V_}};ve.forEach(Lh,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Py=e=>`- ${e}`,f3=e=>ve.isFunction(e)||e===null||e===!1;function p3(e,t){e=ve.isArray(e)?e:[e];const{length:n}=e;let o,r;const s={};for(let i=0;i<n;i++){o=e[i];let l;if(r=o,!f3(o)&&(r=Lh[(l=String(o)).toLowerCase()],r===void 0))throw new at(`Unknown adapter '${l}'`);if(r&&(ve.isFunction(r)||(r=r.get(t))))break;s[l||"#"+i]=r}if(!r){const i=Object.entries(s).map(([u,c])=>`adapter ${u} `+(c===!1?"is not supported by the environment":"is not available in the build"));let l=n?i.length>1?`since :
22`+i.map(Py).join(`
23`):" "+Py(i[0]):"as no adapter specified";throw new at("There is no suitable adapter to dispatch the request "+l,"ERR_NOT_SUPPORT")}return r}const B_={getAdapter:p3,adapters:Lh};function qf(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new _u(null,e)}function Oy(e){return qf(e),e.headers=Xo.from(e.headers),e.data=Wf.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),B_.getAdapter(e.adapter||wu.adapter,e)(e).then(function(o){return qf(e),o.data=Wf.call(e,e.transformResponse,o),o.headers=Xo.from(o.headers),o},function(o){return D_(o)||(qf(e),o&&o.response&&(o.response.data=Wf.call(e,e.transformResponse,o.response),o.response.headers=Xo.from(o.response.headers))),Promise.reject(o)})}const F_="1.15.0",jd={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{jd[e]=function(o){return typeof o===e||"a"+(t<1?"n ":" ")+e}});const Iy={};jd.transitional=function(t,n,o){function r(s,i){return"[Axios v"+F_+"] Transitional option '"+s+"'"+i+(o?". "+o:"")}return(s,i,l)=>{if(t===!1)throw new at(r(i," has been removed"+(n?" in "+n:"")),at.ERR_DEPRECATED);return n&&!Iy[i]&&(Iy[i]=!0,console.warn(r(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(s,i,l):!0}};jd.spelling=function(t){return(n,o)=>(console.warn(`${o} is likely a misspelling of ${t}`),!0)};function m3(e,t,n){if(typeof e!="object")throw new at("options must be an object",at.ERR_BAD_OPTION_VALUE);const o=Object.keys(e);let r=o.length;for(;r-- >0;){const s=o[r],i=t[s];if(i){const l=e[s],u=l===void 0||i(l,s,e);if(u!==!0)throw new at("option "+s+" must be "+u,at.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new at("Unknown option "+s,at.ERR_BAD_OPTION)}}const Ac={assertOptions:m3,validators:jd},br=Ac.validators;let Rs=class{constructor(t){this.defaults=t||{},this.interceptors={request:new wy,response:new wy}}async request(t,n){try{return await this._request(t,n)}catch(o){if(o instanceof Error){let r={};Error.captureStackTrace?Error.captureStackTrace(r):r=new Error;const s=(()=>{if(!r.stack)return"";const i=r.stack.indexOf(`
24`);return i===-1?"":r.stack.slice(i+1)})();try{if(!o.stack)o.stack=s;else if(s){const i=s.indexOf(`
25`),l=i===-1?-1:s.indexOf(`
26`,i+1),u=l===-1?"":s.slice(l+1);String(o.stack).endsWith(u)||(o.stack+=`
27`+s)}}catch{}}throw o}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Us(this.defaults,n);const{transitional:o,paramsSerializer:r,headers:s}=n;o!==void 0&&Ac.assertOptions(o,{silentJSONParsing:br.transitional(br.boolean),forcedJSONParsing:br.transitional(br.boolean),clarifyTimeoutError:br.transitional(br.boolean),legacyInterceptorReqResOrdering:br.transitional(br.boolean)},!1),r!=null&&(ve.isFunction(r)?n.paramsSerializer={serialize:r}:Ac.assertOptions(r,{encode:br.function,serialize:br.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),Ac.assertOptions(n,{baseUrl:br.spelling("baseURL"),withXsrfToken:br.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=s&&ve.merge(s.common,s[n.method]);s&&ve.forEach(["delete","get","head","post","put","patch","common"],g=>{delete s[g]}),n.headers=Xo.concat(i,s);const l=[];let u=!0;this.interceptors.request.forEach(function(b){if(typeof b.runWhen=="function"&&b.runWhen(n)===!1)return;u=u&&b.synchronous;const y=n.transitional||Mh;y&&y.legacyInterceptorReqResOrdering?l.unshift(b.fulfilled,b.rejected):l.push(b.fulfilled,b.rejected)});const c=[];this.interceptors.response.forEach(function(b){c.push(b.fulfilled,b.rejected)});let d,p=0,m;if(!u){const g=[Oy.bind(this),void 0];for(g.unshift(...l),g.push(...c),m=g.length,d=Promise.resolve(n);p<m;)d=d.then(g[p++],g[p++]);return d}m=l.length;let h=n;for(;p<m;){const g=l[p++],b=l[p++];try{h=g(h)}catch(y){b.call(this,y);break}}try{d=Oy.call(this,h)}catch(g){return Promise.reject(g)}for(p=0,m=c.length;p<m;)d=d.then(c[p++],c[p++]);return d}getUri(t){t=Us(this.defaults,t);const n=R_(t.baseURL,t.url,t.allowAbsoluteUrls);return P_(n,t.params,t.paramsSerializer)}};ve.forEach(["delete","get","head","options"],function(t){Rs.prototype[t]=function(n,o){return this.request(Us(o||{},{method:t,url:n,data:(o||{}).data}))}});ve.forEach(["post","put","patch"],function(t){function n(o){return function(s,i,l){return this.request(Us(l||{},{method:t,headers:o?{"Content-Type":"multipart/form-data"}:{},url:s,data:i}))}}Rs.prototype[t]=n(),Rs.prototype[t+"Form"]=n(!0)});
vendor: 1,270 bytes, line 27
27let h3=class N_{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(s){n=s});const o=this;this.promise.then(r=>{if(!o._listeners)return;let s=o._listeners.length;for(;s-- >0;)o._listeners[s](r);o._listeners=null}),this.promise.then=r=>{let s;const i=new Promise(l=>{o.subscribe(l),s=l}).then(r);return i.cancel=function(){o.unsubscribe(s)},i},t(function(s,i,l){o.reason||(o.reason=new _u(s,i,l),n(o.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)}toAbortSignal(){const t=new AbortController,n=o=>{t.abort(o)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new N_(function(r){t=r}),cancel:t}}};function g3(e){return function(n){return e.apply(null,n)}}function v3(e){return ve.isObject(e)&&e.isAxiosError===!0}const pm={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,Parti
27alContent: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,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(pm).forEach(([e,t])=>{pm[t]=e});function z_(e){const t=new Rs(e),n=b_(Rs.prototype.request,t);return ve.extend(n,Rs.prototype,t,{allOwnKeys:!0}),ve.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return z_(Us(e,r))},n}const vt=z_(wu);vt.Axios=Rs;vt.CanceledError=_u;vt.CancelToken=h3;vt.isCancel=D_;vt.VERSION=F_;vt.toFormData=zd;vt.AxiosError=at;vt.Cancel=vt.CanceledError;vt.all=function(t){return Promise.all(t)};vt.spread=g3;vt.isAxiosError=v3;vt.mergeConfig=Us;vt.AxiosHeaders=Xo;vt.formToJSON=e=>O_(ve.isHTMLForm(e)?new FormData(e):e);vt.getAdapter=B_.getAdapter;vt.HttpStatusCode=pm;vt.default=vt;const{Axios:pie,AxiosError:mie,CanceledError:hie,isCancel:gie,CancelToken:vie,VERSION:yie,all:bie,Cancel:wie,isAxiosError:_ie,spread:xie,toFormData:Sie,AxiosHeaders:Cie,HttpStatusCode:kie,formToJSON:$ie,getAdapter:Aie,mergeConfig:Tie}=vt;var Mr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ud(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function y3(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function o(){return this instanceof o?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(o){var r=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(n,o,r.get?r:{enumerable:!0,get:function(){return e[o]}})}),n}var b3=function(t){return w3(t)&&!_3(t)};function w3(e){return!!e&&typeof e=="object"}function _3(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||C3(e)}var x3=typeof Symbol=="function"&&Symbol.for,S3=x3?Symbol.for("react.element"):60103;function C3(e){return e.$$typeof===S3}function k3(e){return Array.isArray(e)?[]:{}}function Zl(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Oi(k3(e),e,t):e}function $3(e,t,n){return e.concat(t).map(function(o){return Zl(o,n)})}function A3(e,t){if(!t.customMerge)return Oi;var n=t.customMerge(e);return typeof n=="function"?n:Oi}function T3(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function Dy(e){return Object.keys(e).concat(T3(e))}function j_(e,t){try{return t in e}catch{return!1}}function E3(e,t){return j_(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function P3(e,t,n){var o={};return n.isMergeableObject(e)&&Dy(e).forEach(function(r){o[r]=Zl(e[r],n)}),Dy(t).forEach(function(r){E3(e,r)||(j_(e,r)&&n.isMergeableObject(t[r])?o[r]=A3(r,n)(e[r],t[r],n):o[r]=Zl(t[r],n))}),o}function Oi(e,t,n){n=n||{},n.arrayMerge=n.arrayMerge||$3,n.isMergeableObject=n.isMergeableObject||b3,n.cloneUnlessOtherwiseSpecified=Zl;var o=Array.isArray(t),r=Array.isArray(e),s=o===r;return s?o?n.arrayMerge(e,t,n):P3(e,t,n):Zl(t,n)}Oi.all=function(t,n){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(o,r){return Oi(o,r,n)},{})};var O3=Oi,I3=O3;const D3=Ud(I3);var Ki=TypeError;const M3={},R3=Object.freeze(Object.defineProperty({__proto__:null,default:M3},Symbol.toStringTag,{value:"Module"})),L3=y3(R3);var Vh=typeof Map=="function"&&Map.prototype,Gf=Object.getOwnPropertyDescriptor&&Vh?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Zc=Vh&&Gf&&typeof Gf.get=="function"?Gf.get:null,My=Vh&&Map.prototype.forEach,Bh=typeof Set=="function"&&Set.prototype,Yf=Object.getOwnPropertyDescriptor&&Bh?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,ed=Bh&&Yf&&typeof Yf.get=="function"?Yf.get:null,Ry=Bh&&Set.prototype.forEach,V3=typeof WeakMap=="function"&&WeakMap.prototype,Dl=V3?WeakMap.prototype.has:null,B3=typeof WeakSet=="function"&&WeakSet.prototype,Ml=B3?WeakSet.prototype.has:null,F3=typeof WeakRef=="function"&&WeakRef.prototype,Ly=F3?WeakRef.prototype.deref:null,N3=Boolean.prototype.valueOf,z3=Object.prototype.toString,j3=Function.prototype.toString,U3=String.prototype.match,Fh=String.prototype.slice,ts=String.prototype.replace,H3=String.prototype.toUpperCase,Vy=String.prototype.toLowerCase,U_=RegExp.prototype.test,By=Array.prototype.concat,Jr=Array.prototype.join,W3=Array.prototype.slice,Fy=Math.floor,mm=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Kf=Object.getOwnPropertySymbols,hm=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,Ii=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Rl=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Ii||!0)?Symbol.toStringTag:null,H_=Object.prototype.propertyIsEnumerable,Ny=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function zy(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||U_.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var o=e<0?-Fy(-e):Fy(e);if(o!==e){var r=String(o),s=Fh.call(t,r.length+1);return ts.call(r,n,"$&_")+"."+ts.call(ts.call(s,/([0-9]{3})/g,"$&_"),/_$/,"")}}return ts.call(t,n,"$&_")}var gm=L3,jy=gm.custom,Uy=G_(jy)?jy:null,W_={__proto__:null,double:'"',single:"'"},q3={__proto__:null,double:/(["\\])/g,single:/(['\\])/g},Hd=function e(t,n,o,r){var s=n||{};if(xa(s,"quoteStyle")&&!xa(W_,s.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(xa(s,"maxStringLength")&&(typeof s.maxStringLength=="number"?s.maxStringLength<0&&s.maxStringLength!==1/0:s.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var i=xa(s,"customInspect")?s.customInspect:!0;if(typeof i!="boolean"&&i!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");
vendor: 5,288 bytes, line 27
27if(xa(s,"indent")&&s.indent!==null&&s.indent!=="	"&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(xa(s,"numericSeparator")&&typeof s.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var l=s.numericSeparator;if(typeof t>"u")return"undefined";if(t===null)return"null";if(typeof t=="boolean")return t?"true":"false";if(typeof t=="string")return K_(t,s);if(typeof t=="number"){if(t===0)return 1/0/t>0?"0":"-0";var u=String(t);return l?zy(t,u):u}if(typeof t=="bigint"){var c=String(t)+"n";return l?zy(t,c):c}var d=typeof s.depth>"u"?5:s.depth;if(typeof o>"u"&&(o=0),o>=d&&d>0&&typeof t=="object")return vm(t)?"[Array]":"[Object]";var p=c4(s,o);if(typeof r>"u")r=[];else if(Y_(r,t)>=0)return"[Circular]";function m(Y,W,re){if(W&&(r=W3.call(r),r.push(W)),re){var oe={depth:s.depth};return xa(s,"quoteStyle")&&(oe.quoteStyle=s.quoteStyle),e(Y,oe,o+1,r)}return e(Y,s,o+1,r)}if(typeof t=="function"&&!Hy(t)){var h=t4(t),g=Ju(t,m);return"[Function"+(h?": "+h:" (anonymous)")+"]"+(g.length>0?" { "+Jr.call(g,", ")+" }":"")}if(G_(t)){var b=Ii?ts.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):hm.call(t);return typeof t=="object"&&!Ii?ll(b):b}if(i4(t)){for(var y="<"+Vy.call(String(t.nodeName)),_=t.attributes||[],A=0;A<_.length;A++)y+=" "+_[A].name+"="+q_(G3(_[A].value),"double",s);return y+=">",t.childNodes&&t.childNodes.length&&(y+="..."),y+="</"+Vy.call(String(t.nodeName))+">",y}if(vm(t)){if(t.length===0)return"[]";var k=Ju(t,m);return p&&!u4(k)?"["+ym(k,p)+"]":"[ "+Jr.call(k,", ")+" ]"}if(K3(t)){var E=Ju(t,m);return!("cause"in Error.prototype)&&"cause"in t&&!H_.call(t,"cause")?"{ ["+String(t)+"] "+Jr.call(By.call("[cause]: "+m(t.cause),E),", ")+" }":E.length===0?"["+String(t)+"]":"{ ["+String(t)+"] "+Jr.call(E,", ")+" }"}if(typeof t=="object"&&i){if(Uy&&typeof t[Uy]=="function"&&gm)return gm(t,{depth:d-o});if(i!=="symbol"&&typeof t.inspect=="function")return t.inspect()}if(n4(t)){var I=[];return My&&My.call(t,function(Y,W){I.push(m(W,t,!0)+" => "+m(Y,t))}),Wy("Map",Zc.call(t),I,p)}if(a4(t)){var F=[];return Ry&&Ry.call(t,function(Y){F.push(m(Y,t))}),Wy("Set",ed.call(t),F,p)}if(o4(t))return Qf("WeakMap");if(s4(t))return Qf("WeakSet");if(r4(t))return Qf("WeakRef");if(X3(t))return ll(m(Number(t)));if(Z3(t))return ll(m(mm.call(t)));if(J3(t))return ll(N3.call(t));if(Q3(t))return ll(m(String(t)));if(typeof window<"u"&&t===window)return"{ [object Window] }";if(typeof globalThis<"u"&&t===globalThis||typeof Mr<"u"&&t===Mr)return"{ [object globalThis] }";if(!Y3(t)&&!Hy(t)){var P=Ju(t,m),B=Ny?Ny(t)===Object.prototype:t instanceof Object||t.constructor===Object,O=t instanceof Object?"":"null prototype",j=!B&&Rl&&Object(t)===t&&Rl in t?Fh.call(ms(t),8,-1):O?"Object":"",G=B||typeof t.constructor!="function"?"":t.constructor.name?t.constructor.name+" ":"",Q=G+(j||O?"["+Jr.call(By.call([],j||[],O||[]),": ")+"] ":"");return P.length===0?Q+"{}":p?Q+"{"+ym(P,p)+"}":Q+"{ "+Jr.call(P,", ")+" }"}return String(t)};function q_(e,t,n){var o=n.quoteStyle||t,r=W_[o];return r+e+r}function G3(e){return ts.call(String(e),/"/g,"&quot;")}function Xs(e){return!Rl||!(typeof e=="object"&&(Rl in e||typeof e[Rl]<"u"))}function vm(e){return ms(e)==="[object Array]"&&Xs(e)}function Y3(e){return ms(e)==="[object Date]"&&Xs(e)}function Hy(e){return ms(e)==="[object RegExp]"&&Xs(e)}function K3(e){return ms(e)==="[object Error]"&&Xs(e)}function Q3(e){return ms(e)==="[object String]"&&Xs(e)}function X3(e){return ms(e)==="[object Number]"&&Xs(e)}function J3(e){return ms(e)==="[object Boolean]"&&Xs(e)}function G_(e){if(Ii)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!hm)return!1;try{return hm.call(e),!0}catch{}return!1}function Z3(e){if(!e||typeof e!="object"||!mm)return!1;try{return mm.call(e),!0}catch{}return!1}var e4=Object.prototype.hasOwnProperty||function(e){return e in this};function xa(e,t){return e4.call(e,t)}function ms(e){return z3.call(e)}function t4(e){if(e.name)return e.name;var t=U3.call(j3.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function Y_(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,o=e.length;n<o;n++)if(e[n]===t)return n;return-1}function n4(e){if(!Zc||!e||typeof e!="object")return!1;try{Zc.call(e);try{ed.call(e)}catch{return!0}return e instanceof Map}catch{}return!1}function o4(e){if(!Dl||!e||typeof e!="object")return!1;try{Dl.call(e,Dl);try{Ml.call(e,Ml)}catch{return!0}return e instanceof WeakMap}catch{}return!1}function r4(e){if(!Ly||!e||typeof e!="object")return!1;try{return Ly.call(e),!0}catch{}return!1}function a4(e){if(!ed||!e||typeof e!="object")return!1;try{ed.call(e);try{Zc.call(e)}catch{return!0}return e instanceof Set}catch{}return!1}function s4(e){if(!Ml||!e||typeof e!="object")return!1;try{Ml.call(e,Ml);try{Dl.call(e,Dl)}catch{return!0}return e instanceof WeakSet}catch{}return!1}function i4(e){return!e||typeof e!="object"?!1:typeof HTMLElement<"u"&&e instanceof HTMLElement?!0:typeof e.nodeName=="string"&&typeof e.getAttribute=="function"}function K_(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,o="... "+n+" more character"+(n>1?"s":"");return K_(Fh.call(e,0,t.maxStringLength),t)+o}
27var r=q3[t.quoteStyle||"single"];r.lastIndex=0;var s=ts.call(ts.call(e,r,"\\$1"),/[\x00-\x1f]/g,l4);return q_(s,"single",t)}function l4(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+H3.call(t.toString(16))}function ll(e){return"Object("+e+")"}function Qf(e){return e+" { ? }"}function Wy(e,t,n,o){var r=o?ym(n,o):Jr.call(n,", ");return e+" ("+t+") {"+r+"}"}function u4(e){for(var t=0;t<e.length;t++)if(Y_(e[t],`
28`)>=0)return!1;return!0}function c4(e,t){var n;if(e.indent==="	")n="	";else if(typeof e.indent=="number"&&e.indent>0)n=Jr.call(Array(e.indent+1)," ");else return null;return{base:n,prev:Jr.call(Array(t+1),n)}}function ym(e,t){if(e.length===0)return"";var n=`
29`+t.prev+t.base;return n+Jr.call(e,","+n)+`
30`+t.prev}function Ju(e,t){var n=vm(e),o=[];if(n){o.length=e.length;for(var r=0;r<e.length;r++)o[r]=xa(e,r)?t(e[r],e):""}var s=typeof Kf=="function"?Kf(e):[],i;if(Ii){i={};for(var l=0;l<s.length;l++)i["$"+s[l]]=s[l]}for(var u in e)xa(e,u)&&(n&&String(Number(u))===u&&u<e.length||Ii&&i["$"+u]instanceof Symbol||(U_.call(/[^\w$]/,u)?o.push(t(u,e)+": "+t(e[u],e)):o.push(u+": "+t(e[u],e))));if(typeof Kf=="function")for(var c=0;c<s.length;c++)H_.call(e,s[c])&&o.push("["+t(s[c])+"]: "+t(e[s[c]],e));return o}var d4=Hd,f4=Ki,Wd=function(e,t,n){for(var o=e,r;(r=o.next)!=null;o=r)if(r.key===t)return o.next=r.next,n||(r.next=e.next,e.next=r),r},p4=function(e,t){if(e){var n=Wd(e,t);return n&&n.value}},m4=function(e,t,n){var o=Wd(e,t);o?o.value=n:e.next={key:t,next:e.next,value:n}},h4=function(e,t){return e?!!Wd(e,t):!1},g4=function(e,t){if(e)return Wd(e,t,!0)},v4=function(){var t,n={assert:function(o){if(!n.has(o))throw new f4("Side channel does not contain "+d4(o))},delete:function(o){var r=t&&t.next,s=g4(t,o);return s&&r&&r===s&&(t=void 0),!!s},get:function(o){return p4(t,o)},has:function(o){return h4(t,o)},set:function(o,r){t||(t={next:void 0}),m4(t,o,r)}};return n},Q_=Object,y4=Error,b4=EvalError,w4=RangeError,_4=ReferenceError,x4=SyntaxError,S4=URIError,C4=Math.abs,k4=Math.floor,$4=Math.max,A4=Math.min,T4=Math.pow,E4=Math.round,P4=Number.isNaN||function(t){return t!==t},O4=P4,I4=function(t){return O4(t)||t===0?t:t<0?-1:1},D4=Object.getOwnPropertyDescriptor,Tc=D4;if(Tc)try{Tc([],"length")}catch{Tc=null}var X_=Tc,Ec=Object.defineProperty||!1;if(Ec)try{Ec({},"a",{value:1})}catch{Ec=!1}var M4=Ec,Xf,qy;function R4(){return qy||(qy=1,Xf=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},n=Symbol("test"),o=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(o)!=="[object Symbol]")return!1;var r=42;t[n]=r;for(var s in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var i=Object.getOwnPropertySymbols(t);if(i.length!==1||i[0]!==n||!Object.prototype.propertyIsEnumerable.call(t,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var l=Object.getOwnPropertyDescriptor(t,n);if(l.value!==r||l.enumerable!==!0)return!1}return!0}),Xf}var Jf,Gy;function L4(){if(Gy)return Jf;Gy=1;var e=typeof Symbol<"u"&&Symbol,t=R4();return Jf=function(){return typeof e!="function"||typeof Symbol!="function"||typeof e("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:t()},Jf}var Zf,Yy;function J_(){return Yy||(Yy=1,Zf=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),Zf}var ep,Ky;function Z_(){if(Ky)return ep;Ky=1;var e=Q_;return ep=e.getPrototypeOf||null,ep}var V4="Function.prototype.bind called on incompatible ",B4=Object.prototype.toString,F4=Math.max,N4="[object Function]",Qy=function(t,n){for(var o=[],r=0;r<t.length;r+=1)o[r]=t[r];for(var s=0;s<n.length;s+=1)o[s+t.length]=n[s];return o},z4=function(t,n){for(var o=[],r=n,s=0;r<t.length;r+=1,s+=1)o[s]=t[r];return o},j4=function(e,t){for(var n="",o=0;o<e.length;o+=1)n+=e[o],o+1<e.length&&(n+=t);return n},U4=function(t){var n=this;if(typeof n!="function"||B4.apply(n)!==N4)throw new TypeError(V4+n);
30for(var o=z4(arguments,1),r,s=function(){if(this instanceof r){var d=n.apply(this,Qy(o,arguments));return Object(d)===d?d:this}return n.apply(t,Qy(o,arguments))},i=F4(0,n.length-o.length),l=[],u=0;u<i;u++)l[u]="$"+u;if(r=Function("binder","return function ("+j4(l,",")+"){ return binder.apply(this,arguments); }")(s),n.prototype){var c=function(){};c.prototype=n.prototype,r.prototype=new c,c.prototype=null}return r},H4=U4,qd=Function.prototype.bind||H4,Nh=Function.prototype.call,tp,Xy;function ex(){return Xy||(Xy=1,tp=Function.prototype.apply),tp}var W4=typeof Reflect<"u"&&Reflect&&Reflect.apply,q4=qd,G4=ex(),Y4=Nh,K4=W4,Q4=K4||q4.call(Y4,G4),X4=qd,J4=Ki,Z4=Nh,eT=Q4,tx=function(t){if(t.length<1||typeof t[0]!="function")throw new J4("a function is required");return eT(X4,Z4,t)},np,Jy;function tT(){if(Jy)return np;Jy=1;var e=tx,t=X_,n;try{n=[].__proto__===Array.prototype}catch(i){if(!i||typeof i!="object"||!("code"in i)||i.code!=="ERR_PROTO_ACCESS")throw i}var o=!!n&&t&&t(Object.prototype,"__proto__"),r=Object,s=r.getPrototypeOf;return np=o&&typeof o.get=="function"?e([o.get]):typeof s=="function"?function(l){return s(l==null?l:r(l))}:!1,np}var op,Zy;function nT(){if(Zy)return op;Zy=1;var e=J_(),t=Z_(),n=tT();return op=e?function(r){return e(r)}:t?function(r){if(!r||typeof r!="object"&&typeof r!="function")throw new TypeError("getProto: not an object");return t(r)}:n?function(r){return n(r)}:null,op}var rp,eb;function oT(){if(eb)return rp;eb=1;var e=Function.prototype.call,t=Object.prototype.hasOwnProperty,n=qd;return rp=n.call(e,t),rp}var Et,rT=Q_,aT=y4,sT=b4,iT=w4,lT=_4,Di=x4,xi=Ki,uT=S4,cT=C4,dT=k4,fT=$4,pT=A4,mT=T4,hT=E4,gT=I4,nx=Function,ap=function(e){try{return nx('"use strict"; return ('+e+").constructor;")()}catch{}},eu=X_,vT=M4,sp=function(){throw new xi},yT=eu?function(){try{return arguments.callee,sp}catch{try{return eu(arguments,"callee").get}catch{return sp}}}():sp,ii=L4()(),ro=nT(),bT=Z_(),wT=J_(),ox=ex(),xu=Nh,pi={},_T=typeof Uint8Array>"u"||!ro?Et:ro(Uint8Array),Ls={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?Et:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?Et:ArrayBuffer,"%ArrayIteratorPrototype%":ii&&ro?ro([][Symbol.iterator]()):Et,"%AsyncFromSyncIteratorPrototype%":Et,"%AsyncFunction%":pi,"%AsyncGenerator%":pi,"%AsyncGeneratorFunction%":pi,"%AsyncIteratorPrototype%":pi,"%Atomics%":typeof Atomics>"u"?Et:Atomics,"%BigInt%":typeof BigInt>"u"?Et:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?Et:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?Et:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?Et:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":aT,"%eval%":eval,"%EvalError%":sT,"%Float16Array%":typeof Float16Array>"u"?Et:Float16Array,"%Float32Array%":typeof Float32Array>"u"?Et:Float32Array,"%Float64Array%":typeof Float64Array>"u"?Et:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?Et:FinalizationRegistry,"%Function%":nx,"%GeneratorFunction%":pi,"%Int8Array%":typeof Int8Array>"u"?Et:Int8Array,"%Int16Array%":typeof Int16Array>"u"?Et:Int16Array,"%Int32Array%":typeof Int32Array>
vendor: 18,634 bytes, line 30
30"u"?Et:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":ii&&ro?ro(ro([][Symbol.iterator]())):Et,"%JSON%":typeof JSON=="object"?JSON:Et,"%Map%":typeof Map>"u"?Et:Map,"%MapIteratorPrototype%":typeof Map>"u"||!ii||!ro?Et:ro(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":rT,"%Object.getOwnPropertyDescriptor%":eu,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?Et:Promise,"%Proxy%":typeof Proxy>"u"?Et:Proxy,"%RangeError%":iT,"%ReferenceError%":lT,"%Reflect%":typeof Reflect>"u"?Et:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?Et:Set,"%SetIteratorPrototype%":typeof Set>"u"||!ii||!ro?Et:ro(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?Et:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":ii&&ro?ro(""[Symbol.iterator]()):Et,"%Symbol%":ii?Symbol:Et,"%SyntaxError%":Di,"%ThrowTypeError%":yT,"%TypedArray%":_T,"%TypeError%":xi,"%Uint8Array%":typeof Uint8Array>"u"?Et:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?Et:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?Et:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?Et:Uint32Array,"%URIError%":uT,"%WeakMap%":typeof WeakMap>"u"?Et:WeakMap,"%WeakRef%":typeof WeakRef>"u"?Et:WeakRef,"%WeakSet%":typeof WeakSet>"u"?Et:WeakSet,"%Function.prototype.call%":xu,"%Function.prototype.apply%":ox,"%Object.defineProperty%":vT,"%Object.getPrototypeOf%":bT,"%Math.abs%":cT,"%Math.floor%":dT,"%Math.max%":fT,"%Math.min%":pT,"%Math.pow%":mT,"%Math.round%":hT,"%Math.sign%":gT,"%Reflect.getPrototypeOf%":wT};if(ro)try{null.error}catch(e){var xT=ro(ro(e));Ls["%Error.prototype%"]=xT}var ST=function e(t){var n;if(t==="%AsyncFunction%")n=ap("async function () {}");else if(t==="%GeneratorFunction%")n=ap("function* () {}");else if(t==="%AsyncGeneratorFunction%")n=ap("async function* () {}");else if(t==="%AsyncGenerator%"){var o=e("%AsyncGeneratorFunction%");o&&(n=o.prototype)}else if(t==="%AsyncIteratorPrototype%"){var r=e("%AsyncGenerator%");r&&ro&&(n=ro(r.prototype))}return Ls[t]=n,n},tb={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Su=qd,td=oT(),CT=Su.call(xu,Array.prototype.concat),kT=Su.call(ox,Array.prototype.splice),nb=Su.call(xu,String.prototype.replace),nd=Su.call(xu,String.prototype.slice),$T=Su.call(xu,RegExp.prototype.exec),AT=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,TT=/\\(\\)?/g,ET=function(t){var n=nd(t,0,1),o=nd(t,-1);if(n==="%"&&o!=="%")throw new Di("invalid intrinsic syntax, expected closing `%`");if(o==="%"&&n!=="%")throw new Di("invalid intrinsic syntax, expected opening `%`");var r=[];return nb(t,AT,function(s,i,l,u){r[r.length]=l?nb(u,TT,"$1"):i||s}),r},PT=function(t,n){var o=t,r;if(td(tb,o)&&(r=tb[o],o="%"+r[0]+"%"),td(Ls,o)){var s=Ls[o];if(s===pi&&(s=ST(o)),typeof s>"u"&&!n)throw new xi("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:o,value:s}}throw new Di("intrinsic "+t+" does not exist!")},zh=function(t,n){if(typeof t!="string"||t.length===0)throw new xi("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof n!="boolean")throw new xi('"allowMissing" argument must be a boolean');if($T(/^%?[^%]*%?$/,t)===null)throw new Di("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var o=ET(t),r=o.length>0?o[0]:"",s=PT("%"+r+"%",n),i=s.name,l=s.value,u=!1,c=s.alias;c&&(r=c[0],kT(o,CT([0,1],c)));for(var d=1,p=!0;d<o.length;d+=1){var m=o[d],h=nd(m,0,1),g=nd(m,-1);if((h==='"'||h==="'"||h==="`"||g==='"'||g==="'"||g==="`")&&h!==g)throw new Di("property names with quotes must have matching quotes");if((m==="constructor"||!p)&&(u=!0),r+="."+m,i="%"+r+"%",td(Ls,i))l=Ls[i];else if(l!=null){if(!(m in l)){if(!n)throw new xi("base intrinsic for "+t+" exists, but the property is not available.");return}if(eu&&d+1>=o.length){var b=eu(l,m);p=!!b,p&&"get"in b&&!("originalValue"in b.get)?l=b.get:l=l[m]}else p=td(l,m),l=l[m];p&&!u&&(Ls[i]=l)}}return l},rx=zh,ax=tx,OT=ax([rx("%String.prototype.indexOf%")]),sx=function(t,n){var o=rx(t,!!n);return typeof o=="function"&&OT(t,".prototype.")>-1?ax([o]):o},IT=zh,Cu=sx,DT=Hd,MT=Ki,ob=IT("%Map%",!0),RT=Cu("Map.prototype.get",!0),LT=Cu("Map.prototype.set",!0),VT=Cu("Map.prototype.has",!0),BT=Cu("Map.prototype.delete",!0),FT=Cu("Map.prototype.size",!0),ix=!!ob&&function(){var t,n={assert:function(o){if(!n.has(o))throw new MT("Side channel does not contain "+DT(o))},delete:function(o){if(t){var r=BT(t,o);return FT(t)===0&&(t=void 0),r}return!1},get:function(o){if(t)return RT(t,o)},has:function(o){return t?VT(t,o):!1},set:function(o,r){t||(t=new ob),LT(t,o,r)}};return n},NT=zh,Gd=sx,zT=Hd,Zu=ix,jT=Ki,li=NT("%WeakMap%",!0),UT=Gd("WeakMap.prototype.get",!0),HT=Gd("WeakMap.prototype.set",!0),WT=Gd("WeakMap.prototype.has",!0),qT=Gd("WeakMap.prototype.delete",!0),GT=li?function(){var t,n,o={assert:function(r){if(!o.has(r))throw new jT("Side channel does not contain "+zT(r))},delete:function(r){if(li&&r&&(typeof r=="object"||typeof r=="function")){if(t)return qT(t,r)}else if(Zu&&n)return n.delete(r);return!1},get:function(r){return li&&r&&(typeof r=="object"||typeof r=="function")&&t?UT(t,r):n&&n.get(r)},has:function(r){return li&&r&&(typeof r=="object"||typeof r=="function")&&t?WT(t,r):!!n&&n.has(r)},set:function(r,s){li&&r&&(typeof r=="object"||typeof r=="function")?(t||(t=new li),HT(t,r,s)):Zu&&(n||(n=Zu()),n.set(r,s))}};return o}:Zu,YT=Ki,KT=Hd,QT=v4,XT=ix,JT=GT,ZT=JT||XT||QT,lx=function(){var t,n={assert:function(o){if(!n.has(o))throw new YT("Side channel does not contain "+KT(o))},delete:function(o){return!!t&&t.delete(o)},get:function(o){return t&&t.get(o)},has:function(o){return!!t&&t.has(o)},set:function(o,r){t||(t=ZT()),t.set(o,r)}};return n},eE=String.prototype.replace,tE=/%20/g,rb={RFC1738:"RFC1738",RFC3986:"RFC3986"},ux={default:rb.RFC3986,formatters:{RFC1738:function(e){return eE.call(e,tE,"+")},RFC3986:function(e){return String(e)}},RFC1738:rb.RFC1738},nE=ux,oE=lx,ip=Object.prototype.hasOwnProperty,$s=Array.isArray,Yd=oE(),hi=function(t,n){return Yd.set(t,n),t},As=function(t){return Yd.has(t)},_l=function(t){return Yd.get(t)},bm=function(t,n){Yd.set(t,n)},Wr=function(){for(var e=[],t=0;t<256;++t)e[e.length]="%"+((t<16?"0":"")+t.toString(16)).toUpperCase();return e}(),rE=function(t){for(;t.length>1;){var n=t.pop(),o=n.obj[n.prop];if($s(o)){for(var r=[],s=0;s<o.length;++s)typeof o[s]<"u"&&(r[r.length]=o[s]);n.obj[n.prop]=r}}},Ll=function(t,n){for(var o=n&&n.plainObjects?{__proto__:null}:{},r=0;r<t.length;++r)typeof t[r]<"u"&&(o[r]=t[r]);return o},aE=function e(t,n,o){if(!n)return t;if(typeof n!="object"&&typeof n!="function"){if($s(t)){var r=t.length;if(o&&typeof o.arrayLimit=="number"&&r>o.arrayLimit)return hi(Ll(t.concat(n),o),r);t[r]=n}else if(t&&typeof t=="object")if(As(t)){var s=_l(t)+1;t[s]=n,bm(t,s)}else{if(o&&o.strictMerge)return[t,n];(o&&(o.plainObjects||o.allowPrototypes)||!ip.call(Object.prototype,n))&&(t[n]=!0)}else return[t,n];return t}if(!t||typeof t!="object"){if(As(n)){for(var i=Object.keys(n),l=o&&o.plainObjects?{__proto__:null,0:t}:{0:t},u=0;u<i.length;u++){var c=parseInt(i[u],10);l[c+1]=n[i[u]]}return hi(l,_l(n)+1)}var d=[t].concat(n);return o&&typeof o.arrayLimit=="number"&&d.length>o.arrayLimit?hi(Ll(d,o),d.length-1):d}var p=t;return $s(t)&&!$s(n)&&(p=Ll(t,o)),$s(t)&&$s(n)?(n.forEach(function(m,h){if(ip.call(t,h)){var g=t[h];g&&typeof g=="object"&&m&&typeof m=="object"?t[h]=e(g,m,o):t[t.length]=m}else t[h]=m}),t):Object.keys(n).reduce(function(m,h){var g=n[h];if(ip.call(m,h)?m[h]=e(m[h],g,o):m[h]=g,As(n)&&!As(m)&&hi(m,_l(n)),As(m)){var b=parseInt(h,10);String(b)===h&&b>=0&&b>_l(m)&&bm(m,b)}return m},p)},sE=function(t,n){return Object.keys(n).reduce(function(o,r){return o[r]=n[r],o},t)},iE=function(e,t,n){var o=e.replace(/\+/g," ");if(n==="iso-8859-1")return o.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(o)}catch{return o}},lp=1024,lE=function(t,n,o,r,s){if(t.length===0)return t;var i=t;if(typeof t=="symbol"?i=Symbol.prototype.toString.call(t):typeof t!="string"&&(i=String(t)),o==="iso-8859-1")return escape(i).replace(/%u[0-9a-f]{4}/gi,function(h){return"%26%23"+parseInt(h.slice(2),16)+"%3B"});for(var l="",u=0;u<i.length;u+=lp){for(var c=i.length>=lp?i.slice(u,u+lp):i,d=[],p=0;p<c.length;++p){var m=c.charCodeAt(p);if(m===45||m===46||m===95||m===126||m>=48&&m<=57||m>=65&&m<=90||m>=97&&m<=122||s===nE.RFC1738&&(m===40||m===41)){d[d.length]=c.charAt(p);continue}if(m<128){d[d.length]=Wr[m];continue}if(m<2048){d[d.length]=Wr[192|m>>6]+Wr[128|m&63];continue}if(m<55296||m>=57344){d[d.length]=Wr[224|m>>12]+Wr[128|m>>6&63]+Wr[128|m&63];continue}p+=1,m=65536+((m&1023)<<10|c.charCodeAt(p)&1023),d[d.length]=Wr[240|m>>18]+Wr[128|m>>12&63]+Wr[128|m>>6&63]+Wr[128|m&63]}l+=d.join("")}return l},uE=function(t){for(var n=[{obj:{o:t},prop:"o"}],o=[],r=0;r<n.length;++r)for(var s=n[r],i=s.obj[s.prop],l=Object.keys(i),u=0;u<l.length;++u){var c=l[u],d=i[c];typeof d=="object"&&d!==null&&o.indexOf(d)===-1&&(n[n.length]={obj:i,prop:c},o[o.length]=d)}return rE(n),t},cE=function(t){return Object.prototype.toString.call(t)==="[object RegExp]"},dE=function(t){return!t||typeof t!="object"?!1:!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},fE=function(t,n,o,r){if(As(t)){var s=_l(t)+1;return t[s]=n,bm(t,s),t}var i=[].concat(t,n);return i.length>o?hi(Ll(i,{plainObjects:r}),i.length-1):i},pE=function(t,n){if($s(t)){for(var o=[],r=0;r<t.length;r+=1)o[o.length]=n(t[r]);return o}return n(t)},cx={arrayToObject:Ll,assign:sE,combine:fE,compact:uE,decode:iE,encode:lE,isBuffer:dE,isOverflow:As,isRegExp:cE,markOverflow:hi,maybeMap:pE,merge:aE},dx=lx,Pc=cx,Vl=ux,mE=Object.prototype.hasOwnProperty,fx={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,n){return t+"["+n+"]"},repeat:function(t){return t}},Xr=Array.isArray,hE=Array.prototype.push,px=function(e,t){hE.apply(e,Xr(t)?t:[t])},gE=Date.prototype.toISOString,ab=Vl.default,Xn={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:Pc.encode,encodeValuesOnly:!1,filter:void 0,format:ab,formatter:Vl.formatters[ab],indices:!1,serializeDate:function(t){return gE.call(t)},skipNulls:!1,strictNullHandling:!1},vE=function(t){return typeof t=="string"||typeof t=="number"||typeof t=="boolean"||typeof t=="symbol"||typeof t=="bigint"},up={},yE=function e(t,n,o,r,s,i,l,u,c,d,p,m,h,g,b,y,_,A){for(var k=t,E=A,I=0,F=!1;(E=E.get(up))!==void 0&&!F;){var P=E.get(t);if(I+=1,typeof P<"u"){if(P===I)throw new RangeError("Cyclic object value");F=!0}typeof E.get(up)>"u"&&(I=0)}if(typeof d=="function"?k=d(n,k):k instanceof Date?k=h(k):o==="comma"&&Xr(k)&&(k=Pc.maybeMap(k,function(ae){return ae instanceof Date?h(ae):ae})),k===null){if(i)return c&&!y?c(n,Xn.encoder,_,"key",g):n;k=""}if(vE(k)||Pc.isBuffer(k)){if(c){var B=y?n:c(n,Xn.encoder,_,"key",g);return[b(B)+"="+b(c(k,Xn.encoder,_,"value",g))]}return[b(n)+"="+b(String(k))]}var O=[];if(typeof k>"u")return O;var j;if(o==="comma"&&Xr(k))y&&c&&(k=Pc.maybeMap(k,c)),j=[{value:k.length>0?k.join(",")||null:void 0}];else if(Xr(d))j=d;else{var G=Object.keys(k);j=p?G.sort(p):G}var Q=u?String(n).replace(/\./g,"%2E"):String(n),Y=r&&Xr(k)&&k.length===1?Q+"[]":Q;if(s&&Xr(k)&&k.length===0)return Y+"[]";for(var W=0;W<j.length;++W){var re=j[W],oe=typeof re=="object"&&re&&typeof re.value<"u"?re.value:k[re];if(!(l&&oe===null)){var ne=m&&u?String(re).replace(/\./g,"%2E"):String(re),z=Xr(k)?typeof o=="function"?o(Y,ne):Y:Y+(m?"."+ne:"["+ne+"]");A.set(t,I);var N=dx();N.set(up,A),px(O,e(oe,z,o,r,s,i,l,u,o==="comma"&&y&&Xr(k)?null:c,d,p,m,h,g,b,y,_,N))}}return O},bE=function(t){if(!t)return Xn;if(typeof t.allowEmptyArrays<"u"&&typeof t.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof t.encodeDotInKeys<"u"&&typeof t.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(t.encoder!==null&&typeof t.encoder<"u"&&typeof t.encoder!="function")throw new TypeError("Encoder has to be a function.");var n=t.charset||Xn.charset;if(typeof t.charset<"u"&&t.charset!=="utf-8"&&t.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var o=Vl.default;if(typeof t.format<"u"){if(!mE.call(Vl.formatters,t.format))throw new TypeError("Unknown format option provided.");o=t.format}var r=Vl.formatters[o],s=Xn.filter;(typeof t.filter=="function"||Xr(t.filter))&&(s=t.filter);var i;if(t.arrayFormat in fx?i=t.arrayFormat:"indices"in t?i=t.indices?"indices":"repeat":i=Xn.arrayFormat,"commaRoundTrip"in t&&typeof t.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var l=typeof t.allowDots>"u"?t.encodeDotInKeys===!0?!0:Xn.allowDots:!!t.allowDots;return{addQueryPrefix:typeof t.addQueryPrefix=="boolean"?t.addQueryPrefix:Xn.addQueryPrefix,allowDots:l,allowEmptyArrays:typeof t.allowEmptyArrays=="boolean"?!!t.allowEmptyArrays:Xn.allowEmptyArrays,arrayFormat:i,charset:n,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:Xn.charsetSentinel,commaRoundTrip:!!t.commaRoundTrip,delimiter:typeof t.delimiter>"u"?Xn.delimiter:t.delimiter,encode:typeof t.encode=="boolean"?t.encode:Xn.encode,encodeDotInKeys:typeof t.encodeDotInKeys=="boolean"?t.encodeDotInKeys:Xn.encodeDotInKeys,encoder:typeof t.encoder=="function"?t.encoder:Xn.encoder,encodeValuesOnly:typeof t.encodeValuesOnly=="boolean"?t.encodeValuesOnly:Xn.encodeValuesOnly,filter:s,format:o,formatter:r,serializeDate:typeof t.serializeDate=="function"?t.serializeDate:Xn.serializeDate,skipNulls:typeof t.skipNulls=="boolean"?t.skipNulls:Xn.skipNulls,sort:typeof t.sort=="function"?t.sort:null,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:Xn.strictNullHandling}},wE=function(e,t){var n=e,o=bE(t),r,s;typeof o.filter=="function"?(s=o.filter,n=s("",n)):Xr(o.filter)&&(s=o.filter,r=s);var i=[];if(typeof n!="object"||n===null)return"";var l=fx[o.arrayFormat],u=l==="comma"&&o.commaRoundTrip;r||(r=Object.keys(n)),o.sort&&r.sort(o.sort);for(var c=dx(),d=0;d<r.length;++d){var p=r[d],m=n[p];o.skipNulls&&m===null||px(i,yE(m,p,l,u,o.allowEmptyArrays,o.strictNullHandling,o.skipNulls,o.encodeDotInKeys,o.encode?o.encoder:null,o.filter,o.sort,o.allowDots,o.serializeDate,o.format,o.formatter,o.encodeValuesOnly,o.charset,c))}var h=i.join(o.delimiter),g=o.addQueryPrefix===!0?"?":"";return o.charsetSentinel&&(o.charset==="iso-8859-1"?g+="utf8=%26%2310003%3B&":g+="utf8=%E2%9C%93&"),h.length>0?g+h:""},ia=cx,Oc=Object.prototype.hasOwnProperty,cp=Array.isArray,Tn={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:ia.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictMerge:!0,strictNullHandling:!1,throwOnLimitExceeded:!1},_E=function(e){return e.replace(/&#(\d+);/g,function(t,n){return String.fromCharCode(parseInt(n,10))})},mx=function(e,t,n){if(e&&typeof e=="string"&&t.comma&&e.indexOf(",")>-1)return e.split(",");if(t.throwOnLimitExceeded&&n>=t.arrayLimit)throw new RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(t.arrayLimit===1?"":"s")+" allowed in an array.");return e},xE="utf8=%26%2310003%3B",SE="utf8=%E2%9C%93",CE=function(t,n){var o={__proto__:null},r=n.ignoreQueryPrefix?t.replace(/^\?/,""):t;r=r.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var s=n.parameterLimit===1/0?void 0:n.parameterLimit,i=r.split(n.delimiter,n.throwOnLimitExceeded&&typeof s<"u"?s+1:s);if(n.throwOnLimitExceeded&&typeof s<"u"&&i.length>s)throw new RangeError("Parameter limit exceeded. Only "+s+" parameter"+(s===1?"":"s")+" allowed.");var l=-1,u,c=n.charset;if(n.charsetSentinel)for(u=0;u<i.length;++u)i[u].indexOf("utf8=")===0&&(i[u]===SE?c="utf-8":i[u]===xE&&(c="iso-8859-1"),l=u,u=i.length);for(u=0;
30u<i.length;++u)if(u!==l){var d=i[u],p=d.indexOf("]="),m=p===-1?d.indexOf("="):p+1,h,g;if(m===-1?(h=n.decoder(d,Tn.decoder,c,"key"),g=n.strictNullHandling?null:""):(h=n.decoder(d.slice(0,m),Tn.decoder,c,"key"),h!==null&&(g=ia.maybeMap(mx(d.slice(m+1),n,cp(o[h])?o[h].length:0),function(y){return n.decoder(y,Tn.decoder,c,"value")}))),g&&n.interpretNumericEntities&&c==="iso-8859-1"&&(g=_E(String(g))),d.indexOf("[]=")>-1&&(g=cp(g)?[g]:g),n.comma&&cp(g)&&g.length>n.arrayLimit){if(n.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+n.arrayLimit+" element"+(n.arrayLimit===1?"":"s")+" allowed in an array.");g=ia.combine([],g,n.arrayLimit,n.plainObjects)}if(h!==null){var b=Oc.call(o,h);b&&(n.duplicates==="combine"||d.indexOf("[]=")>-1)?o[h]=ia.combine(o[h],g,n.arrayLimit,n.plainObjects):(!b||n.duplicates==="last")&&(o[h]=g)}}return o},kE=function(e,t,n,o){var r=0;if(e.length>0&&e[e.length-1]==="[]"){var s=e.slice(0,-1).join("");r=Array.isArray(t)&&t[s]?t[s].length:0}for(var i=o?t:mx(t,n,r),l=e.length-1;l>=0;--l){var u,c=e[l];if(c==="[]"&&n.parseArrays)ia.isOverflow(i)?u=i:u=n.allowEmptyArrays&&(i===""||n.strictNullHandling&&i===null)?[]:ia.combine([],i,n.arrayLimit,n.plainObjects);else{u=n.plainObjects?{__proto__:null}:{};var d=c.charAt(0)==="["&&c.charAt(c.length-1)==="]"?c.slice(1,-1):c,p=n.decodeDotInKeys?d.replace(/%2E/g,"."):d,m=parseInt(p,10),h=!isNaN(m)&&c!==p&&String(m)===p&&m>=0&&n.parseArrays;if(!n.parseArrays&&p==="")u={0:i};else if(h&&m<n.arrayLimit)u=[],u[m]=i;else{if(h&&n.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+n.arrayLimit+" element"+(n.arrayLimit===1?"":"s")+" allowed in an array.");h?(u[m]=i,ia.markOverflow(u,m)):p!=="__proto__"&&(u[p]=i)}}i=u}return i},$E=function(t,n){var o=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t;if(n.depth<=0)return!n.plainObjects&&Oc.call(Object.prototype,o)&&!n.allowPrototypes?void 0:[o];var r=/(\[[^[\]]*])/,s=/(\[[^[\]]*])/g,i=r.exec(o),l=i?o.slice(0,i.index):o,u=[];if(l){if(!n.plainObjects&&Oc.call(Object.prototype,l)&&!n.allowPrototypes)return;u[u.length]=l}for(var c=0;(i=s.exec(o))!==null&&c<n.depth;){c+=1;var d=i[1].slice(1,-1);if(!n.plainObjects&&Oc.call(Object.prototype,d)&&!n.allowPrototypes)return;u[u.length]=i[1]}if(i){if(n.strictDepth===!0)throw new RangeError("Input depth exceeded depth option of "+n.depth+" and strictDepth is true");u[u.length]="["+o.slice(i.index)+"]"}return u},AE=function(t,n,o,r){if(t){var s=$E(t,o);if(s)return kE(s,n,o,r)}},TE=function(t){if(!t)return Tn;if(typeof t.allowEmptyArrays<"u"&&typeof t.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof t.decodeDotInKeys<"u"&&typeof t.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(t.decoder!==null&&typeof t.decoder<"u"&&typeof t.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof t.charset<"u"&&t.charset!=="utf-8"&&t.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(typeof t.throwOnLimitExceeded<"u"&&typeof t.throwOnLimitExceeded!="boolean")throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var n=typeof t.charset>"u"?Tn.charset:t.charset,o=typeof t.duplicates>"u"?Tn.duplicates:t.duplicates;if(o!=="combine"&&o!=="first"&&o!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var r=typeof t.allowDots>"u"?t.decodeDotInKeys===!0?!0:Tn.allowDots:!!t.allowDots;return{allowDots:r,allowEmptyArrays:typeof t.allowEmptyArrays=="boolean"?!!t.allowEmptyArrays:Tn.allowEmptyArrays,allowPrototypes:typeof t.allowPrototypes=="boolean"?t.allowPrototypes:Tn.allowPrototypes,allowSparse:typeof t.allowSparse=="boolean"?t.allowSparse:Tn.allowSparse,arrayLimit:typeof t.arrayLimit=="number"?t.arrayLimit:Tn.arrayLimit,charset:n,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:Tn.charsetSentinel,comma:typeof t.comma=="boolean"?t.comma:Tn.comma,decodeDotInKeys:typeof t.decodeDotInKeys=="boolean"?t.decodeDotInKeys:Tn.decodeDotInKeys,decoder:typeof t.decoder=="function"?t.decoder:Tn.decoder,delimiter:typeof t.delimiter=="string"||ia.isRegExp(t.delimiter)?t.delimiter:Tn.delimiter,depth:typeof t.depth=="number"||t.depth===!1?+t.depth:Tn.depth,duplicates:o,ignoreQueryPrefix:t.ignoreQueryPrefix===!0,interpretNumericEntities:typeof t.interpretNumericEntities=="boolean"?t.interpretNumericEntities:Tn.interpretNumericEntities,parameterLimit:typeof t.parameterLimit=="number"?t.parameterLimit:Tn.parameterLimit,parseArrays:t.parseArrays!==!1,plainObjects:typeof t.plainObjects=="boolean"?t.plainObjects:Tn.plainObjects,strictDepth:typeof t.strictDepth=="boolean"?!!t.strictDepth:Tn.strictDepth,strictMerge:typeof t.strictMerge=="boolean"?!!t.strictMerge:Tn.strictMerge,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:Tn.strictNullHandling,throwOnLimitExceeded:typeof t.throwOnLimitExceeded=="boolean"?t.throwOnLimitExceeded:!1}},EE=function(e,t){var n=TE(t);if(e===""||e===null||typeof e>"u")return n.plainObjects?{__proto__:null}:{};for(var o=typeof e=="string"?CE(e,n):e,r=n.plainObjects?{__proto__:null}:{},s=Object.keys(o),i=0;i<s.length;++i){var l=s[i],u=AE(l,o[l],n,typeof e=="string");r=ia.merge(r,u,n)}return n.allowSparse===!0?r:ia.compact(r)},PE=wE,OE=EE,sb={parse:OE,stringify:PE},hx={exports:{}};/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
31 * @license MIT */(function(e,t){(function(n,o){e.exports=o()})(Mr,function(){var n={};n.version="0.2.0";var o=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};n.configure=function(g){var b,y;for(b in g)y=g[b],y!==void 0&&g.hasOwnProperty(b)&&(o[b]=y);return this}
31,n.status=null,n.set=function(g){var b=n.isStarted();g=r(g,o.minimum,1),n.status=g===1?null:g;var y=n.render(!b),_=y.querySelector(o.barSelector),A=o.speed,k=o.easing;return y.offsetWidth,l(function(E){o.positionUsing===""&&(o.positionUsing=n.getPositioningCSS()),u(_,i(g,A,k)),g===1?(u(y,{transition:"none",opacity:1}),y.offsetWidth,setTimeout(function(){u(y,{transition:"all "+A+"ms linear",opacity:0}),setTimeout(function(){n.remove(),E()},A)},A)):setTimeout(E,A)}),this},n.isStarted=function(){return typeof n.status=="number"},n.start=function(){n.status||n.set(0);var g=function(){setTimeout(function(){n.status&&(n.trickle(),g())},o.trickleSpeed)};return o.trickle&&g(),this},n.done=function(g){return!g&&!n.status?this:n.inc(.3+.5*Math.random()).set(1)},n.inc=function(g){var b=n.status;return b?(typeof g!="number"&&(g=(1-b)*r(Math.random()*b,.1,.95)),b=r(b+g,0,.994),n.set(b)):n.start()},n.trickle=function(){return n.inc(Math.random()*o.trickleRate)},function(){var g=0,b=0;n.promise=function(y){return!y||y.state()==="resolved"?this:(b===0&&n.start(),g++,b++,y.always(function(){b--,b===0?(g=0,n.done()):n.set((g-b)/g)}),this)}}(),n.render=function(g){if(n.isRendered())return document.getElementById("nprogress");d(document.documentElement,"nprogress-busy");var b=document.createElement("div");b.id="nprogress",b.innerHTML=o.template;var y=b.querySelector(o.barSelector),_=g?"-100":s(n.status||0),A=document.querySelector(o.parent),k;return u(y,{transition:"all 0 linear",transform:"translate3d("+_+"%,0,0)"}),o.showSpinner||(k=b.querySelector(o.spinnerSelector),k&&h(k)),A!=document.body&&d(A,"nprogress-custom-parent"),A.appendChild(b),b},n.remove=function(){p(document.documentElement,"nprogress-busy"),p(document.querySelector(o.parent),"nprogress-custom-parent");var g=document.getElementById("nprogress");g&&h(g)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var g=document.body.style,b="WebkitTransform"in g?"Webkit":"MozTransform"in g?"Moz":"msTransform"in g?"ms":"OTransform"in g?"O":"";return b+"Perspective"in g?"translate3d":b+"Transform"in g?"translate":"margin"};function r(g,b,y){return g<b?b:g>y?y:g}function s(g){return(-1+g)*100}function i(g,b,y){var _;return o.positionUsing==="translate3d"?_={transform:"translate3d("+s(g)+"%,0,0)"}:o.positionUsing==="translate"?_={transform:"translate("+s(g)+"%,0)"}:_={"margin-left":s(g)+"%"},_.transition="all "+b+"ms "+y,_}var l=function(){var g=[];function b(){var y=g.shift();y&&y(b)}return function(y){g.push(y),g.length==1&&b()}}(),u=function(){var g=["Webkit","O","Moz","ms"],b={};function y(E){return E.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(I,F){return F.toUpperCase()})}function _(E){var I=document.body.style;if(E in I)return E;for(var F=g.length,P=E.charAt(0).toUpperCase()+E.slice(1),B;F--;)if(B=g[F]+P,B in I)return B;return E}function A(E){return E=y(E),b[E]||(b[E]=_(E))}function k(E,I,F){I=A(I),E.style[I]=F}return function(E,I){var F=arguments,P,B;if(F.length==2)for(P in I)B=I[P],B!==void 0&&I.hasOwnProperty(P)&&k(E,P,B);else k(E,F[1],F[2])}}();function c(g,b){var y=typeof g=="string"?g:m(g);return y.indexOf(" "+b+" ")>=0}function d(g,b){var y=m(g),_=y+b;c(y,b)||(g.className=_.substring(1))}function p(g,b){var y=m(g),_;c(g,b)&&(_=y.replace(" "+b+" "," "),g.className=_.substring(1,_.length-1))}function m(g){return(" "+(g.className||"")+" ").replace(/\s+/gi," ")}function h(g){g&&g.parentNode&&g.parentNode.removeChild(g)}return n})})(hx);var IE=hx.exports;const ea=Ud(IE);function gx(e,t){let n;return function(...o){clearTimeout(n),n=setTimeout(()=>e.apply(this,o),t)}}function Ba(e,t){return document.dispatchEvent(new CustomEvent(`inertia:${e}`,t))}var DE=e=>Ba("before",{cancelable:!0,detail:{visit:e}}),ME=e=>Ba("error",{detail:{errors:e}}),RE=e=>Ba("exception",{cancelable:!0,detail:{exception:e}}),ib=e=>Ba("finish",{detail:{visit:e}}),LE=e=>Ba("invalid",{cancelable:!0,detail:{response:e}}),ul=e=>Ba("navigate",{detail:{page:e}}),VE=e=>Ba("progress",{detail:{progress:e}}),BE=e=>Ba("start",{detail:{visit:e}}),FE=e=>Ba("success",{detail:{page:e}});function wm(e){return e instanceof File||e instanceof Blob||e instanceof FileList&&e.length>0||e instanceof FormData&&Array.from(e.values()).some(t=>wm(t))||typeof e=="object"&&e!==null&&Object.values(e).some(t=>wm(t))}function vx(e,t=new FormData,n=null){e=e||{};for(let o in e)Object.prototype.hasOwnProperty.call(e,o)&&bx(t,yx(n,o),e[o]);return t}function yx(e,t){return e?e+"["+t+"]":t}function bx(e,t,n){if(Array.isArray(n))return Array.from(n.keys()).forEac
31h(o=>bx(e,yx(t,o.toString()),n[o]));if(n instanceof Date)return e.append(t,n.toISOString());if(n instanceof File)return e.append(t,n,n.name);if(n instanceof Blob)return e.append(t,n);if(typeof n=="boolean")return e.append(t,n?"1":"0");if(typeof n=="string")return e.append(t,n);if(typeof n=="number")return e.append(t,`${n}`);if(n==null)return e.append(t,"");vx(n,e,t)}var NE={modal:null,listener:null,show(e){typeof e=="object"&&(e=`All Inertia requests must receive a valid Inertia response, however a plain JSON response was received.<hr>${JSON.stringify(e)}`);let t=document.createElement("html");t.innerHTML=e,t.querySelectorAll("a").forEach(o=>o.setAttribute("target","_top")),this.modal=document.createElement("div"),this.modal.style.position="fixed",this.modal.style.width="100vw",this.modal.style.height="100vh",this.modal.style.padding="50px",this.modal.style.boxSizing="border-box",this.modal.style.backgroundColor="rgba(0, 0, 0, .6)",this.modal.style.zIndex=2e5,this.modal.addEventListener("click",()=>this.hide());let n=document.createElement("iframe");if(n.style.backgroundColor="white",n.style.borderRadius="5px",n.style.width="100%",n.style.height="100%",this.modal.appendChild(n),document.body.prepend(this.modal),document.body.style.overflow="hidden",!n.contentWindow)throw new Error("iframe not yet ready.");n.contentWindow.document.open(),n.contentWindow.document.write(t.outerHTML),n.contentWindow.document.close(),this.listener=this.hideOnEscape.bind(this),document.addEventListener("keydown",this.listener)},hide(){this.modal.outerHTML="",this.modal=null,document.body.style.overflow="visible",document.removeEventListener("keydown",this.listener)},hideOnEscape(e){e.keyCode===27&&this.hide()}};function ui(e){return new URL(e.toString(),window.location.toString())}function wx(e,t,n,o="brackets"){let r=/^https?:\/\//.test(t.toString()),s=r||t.toString().startsWith("/"),i=!s&&!t.toString().startsWith("#")&&!t.toString().startsWith("?"),l=t.toString().includes("?")||e==="get"&&Object.keys(n).length,u=t.toString().includes("#"),c=new URL(t.toString(),"http://localhost");return e==="get"&&Object.keys(n).length&&(c.search=sb.stringify(D3(sb.parse(c.search,{ignoreQueryPrefix:!0}),n),{encodeValuesOnly:!0,arrayFormat:o}),n={}),[[r?`${c.protocol}//${c.host}`:"",s?c.pathname:"",i?c.pathname.substring(1):"",l?c.search:"",u?c.hash:""].join(""),n]}function cl(e){return e=new URL(e.href),e.hash="",e}var Ic=typeof window>"u",lb=!Ic&&/CriOS/.test(window.navigator.userAgent),ub=e=>{requestAnimationFrame(()=>{requestAnimationFrame(e)})},zE=class{constructor(){this.visitId=null}init({initialPage:t,resolveComponent:n,swapComponent:o}){this.page=t,this.resolveComponent=n,this.swapComponent=o,this.setNavigationType(),this.clearRememberedStateOnReload(),this.isBackForwardVisit()?this.handleBackForwardVisit(this.page):this.isLocationVisit()?this.handleLocationVisit(this.page):this.handleInitialPageVisit(this.page),this.setupEventListeners()}setNavigationType(){this.navigationType=window.performance&&window.performance.getEntriesByType&&window.performance.getEntriesByType("navigation").length>0?window.performance.getEntriesByType("navigation")[0].type:"navigate"}clearRememberedStateOnReload(){var t;this.navigationType==="reload"&&((t=window.history.state)!=null&&t.rememberedState)&&delete window.history.state.rememberedState}handleInitialPageVisit(t){let n=window.location.hash;this.page.url.includes(n)||(this.page.url+=n),this.setPage(t,{preserveScroll:!0,preserveState:!0}).then(()=>ul(t))}setupEventListeners(){window.addEventListener("popstate",this.handlePopstateEvent.bind(this)),document.addEventListener("scroll",gx(this.handleScrollEvent.bind(this),100),!0)}scrollRegions(){return document.querySelectorAll("[scroll-region]")}handleScrollEvent(t){typeof t.target.hasAttribute=="function"&&t.target.hasAttribute("scroll-region")&&this.saveScrollPositions()}saveScrollPositions(){this.replaceState({...this.page,scrollRegions:Array.from(this.scrollRegions()).map(t=>({top:t.scrollTop,left:t.scrollLeft}))})}resetScrollPositions(){ub(()=>{var t;
31window.scrollTo(0,0),this.scrollRegions().forEach(n=>{typeof n.scrollTo=="function"?n.scrollTo(0,0):(n.scrollTop=0,n.scrollLeft=0)}),this.saveScrollPositions(),window.location.hash&&((t=document.getElementById(window.location.hash.slice(1)))==null||t.scrollIntoView())})}restoreScrollPositions(){ub(()=>{this.page.scrollRegions&&this.scrollRegions().forEach((t,n)=>{let o=this.page.scrollRegions[n];if(o)typeof t.scrollTo=="function"?t.scrollTo(o.left,o.top):(t.scrollTop=o.top,t.scrollLeft=o.left);else return})})}isBackForwardVisit(){return window.history.state&&this.navigationType==="back_forward"}handleBackForwardVisit(t){window.history.state.version=t.version,this.setPage(window.history.state,{preserveScroll:!0,preserveState:!0}).then(()=>{this.restoreScrollPositions(),ul(t)})}locationVisit(t,n){try{let o={preserveScroll:n};window.sessionStorage.setItem("inertiaLocationVisit",JSON.stringify(o)),window.location.href=t.href,cl(window.location).href===cl(t).href&&window.location.reload()}catch{return!1}}isLocationVisit(){try{return window.sessionStorage.getItem("inertiaLocationVisit")!==null}catch{return!1}}handleLocationVisit(t){var o,r;let n=JSON.parse(window.sessionStorage.getItem("inertiaLocationVisit")||"");window.sessionStorage.removeItem("inertiaLocationVisit"),t.url+=window.location.hash,t.rememberedState=((o=window.history.state)==null?void 0:o.rememberedState)??{},t.scrollRegions=((r=window.history.state)==null?void 0:r.scrollRegions)??[],this.setPage(t,{preserveScroll:n.preserveScroll,preserveState:!0}).then(()=>{n.preserveScroll&&this.restoreScrollPositions(),ul(t)})}isLocationVisitResponse(t){return!!(t&&t.status===409&&t.headers["x-inertia-location"])}isInertiaResponse(t){return!!(t!=null&&t.headers["x-inertia"])}createVisitId(){return this.visitId={},this.visitId}cancelVisit(t,{cancelled:n=!1,interrupted:o=!1}){t&&!t.completed&&!t.cancelled&&!t.interrupted&&(t.cancelToken.abort(),t.onCancel(),t.completed=!1,t.cancelled=n,t.interrupted=o,ib(t),t.onFinish(t))}finishVisit(t){!t.cancelled&&!t.interrupted&&(t.completed=!0,t.cancelled=!1,t.interrupted=!1,ib(t),t.onFinish(t))}resolvePreserveOption(t,n){return typeof t=="function"?t(n):t==="errors"?Object.keys(n.props.errors||{}).length>0:t}cancel(){this.activeVisit&&this.cancelVisit(this.activeVisit,{cancelled:!0})}visit(t,{method:n="get",data:o={},replace:r=!1,preserveScroll:s=!1,preserveState:i=!1,only:l=[],except:u=[],headers:c={},errorBag:d="",forceFormData:p=!1,onCancelToken:m=()=>{},onBefore:h=()=>{},onStart:g=()=>{},onProgress:b=()=>{},onFinish:y=()=>{},onCancel:_=()=>{},onSuccess:A=()=>{},onError:k=()=>{},queryStringArrayFormat:E="brackets"}={}){let I=typeof t=="string"?ui(t):t;if((wm(o)||p)&&!(o instanceof FormData)&&(o=vx(o)),!(o instanceof FormData)){let[O,j]=wx(n,I,o,E);I=ui(O),o=j}let F={url:I,method:n,data:o,replace:r,preserveScroll:s,preserveState:i,only:l,except:u,headers:c,errorBag:d,forceFormData:p,queryStringArrayFormat:E,cancelled:!1,completed:!1,interrupted:!1};if(h(F)===!1||!DE(F))return;this.activeVisit&&this.cancelVisit(this.activeVisit,{interrupted:!0}),this.saveScrollPositions();let P=this.createVisitId();this.activeVisit={...F,onCancelToken:m,onBefore:h,onStart:g,onProgress:b,onFinish:y,onCancel:_,onSuccess:A,onError:k,queryStringArrayFormat:E,cancelToken:new AbortController},m({cancel:()=>{this.activeVisit&&this.cancelVisit(this.activeVisit,{cancelled:!0})}}),BE(F),g(F);let B=!!(l.length||u.length);vt({method:n,url:cl(I).href,data:n==="get"?{}:o,params:n==="get"?o:{},signal:this.activeVisit.cancelToken.signal,headers:{...c,Accept:"text/html, application/xhtml+xml","X-Requested-With":"XMLHttpRequest","X-Inertia":!0,...B?{"X-Inertia-Partial-Component":this.page.component}:{},...l.length?{"X-Inertia-Partial-Data":l.join(",")}:{},...u.length?{"X-Inertia-Partial-Except":u.join(",")}:{},...d&&d.length?{"X-Inertia-Error-Bag":d}:{},...this.page.version?{"X-Inertia-Version":this.page.version}:{}},onUploadProgress:O=>{o instanceof FormData&&(O.percentage=O.progress?Math.round(O.progress*100):0,VE(O),b(O))}}).then(O=>{var Y;if(!this.isInertiaResponse(O))return Promise.reject({response:O});let j=O.data;B&&j.component===this.page.component&&(j.props={...this.page.props,...j.props}),s=this.resolvePreserveOption(s,j),i=this.resolvePreserveOption(i,j),i&&((Y=window.history.state)!=null&&Y.rememberedState)&&j.component===this.page.component&&(j.rememberedState=window.history.state.rememberedState);let G=I,Q=ui(j.url);return G.hash&&!Q.hash&&cl(G).href===Q.href&&(Q.hash=G.hash,j.url=Q.href),this.setPage(j,{visitId:P,replace:r,preserveScroll:s,preserveState:i})}).then(()=>{let O=this.page.props.errors||{};if(Object.keys(O).length>0){let j=d?O[d]?O[d]:{}:O;return ME(j),k(j)}return FE(this.page),A(this.page)}
31).catch(O=>{if(this.isInertiaResponse(O.response))return this.setPage(O.response.data,{visitId:P});if(this.isLocationVisitResponse(O.response)){let j=ui(O.response.headers["x-inertia-location"]),G=I;G.hash&&!j.hash&&cl(G).href===j.href&&(j.hash=G.hash),this.locationVisit(j,s===!0)}else if(O.response)LE(O.response)&&NE.show(O.response.data);else return Promise.reject(O)}).then(()=>{this.activeVisit&&this.finishVisit(this.activeVisit)}).catch(O=>{if(!vt.isCancel(O)){let j=RE(O);if(this.activeVisit&&this.finishVisit(this.activeVisit),j)return Promise.reject(O)}})}setPage(t,{visitId:n=this.createVisitId(),replace:o=!1,preserveScroll:r=!1,preserveState:s=!1}={}){return Promise.resolve(this.resolveComponent(t.component)).then(i=>{n===this.visitId&&(t.scrollRegions=this.page.scrollRegions||[],t.rememberedState=t.rememberedState||{},o=o||ui(t.url).href===window.location.href,o?this.replaceState(t):this.pushState(t),this.swapComponent({component:i,page:t,preserveState:s}).then(()=>{r?this.restoreScrollPositions():this.resetScrollPositions(),o||ul(t)}))})}pushState(t){this.page=t,lb?setTimeout(()=>window.history.pushState(t,"",t.url)):window.history.pushState(t,"",t.url)}replaceState(t){this.page=t,lb?setTimeout(()=>window.history.replaceState(t,"",t.url)):window.history.replaceState(t,"",t.url)}handlePopstateEvent(t){if(t.state!==null){let n=t.state,o=this.createVisitId();Promise.resolve(this.resolveComponent(n.component)).then(r=>{o===this.visitId&&(this.page=n,this.swapComponent({component:r,page:n,preserveState:!1}).then(()=>{this.restoreScrollPositions(),ul(n)}))})}else{let n=ui(this.page.url);n.hash=window.location.hash,this.replaceState({...this.page,url:n.href}),this.resetScrollPositions()}}get(t,n={},o={}){return this.visit(t,{...o,method:"get",data:n})}reload(t={}){return this.visit(window.location.href,{...t,preserveScroll:!0,preserveState:!0})}replace(t,n={}){return console.warn(`Inertia.replace() has been deprecated and will be removed in a future release. Please use Inertia.${n.method??"get"}() instead.`),this.visit(t,{preserveState:!0,...n,replace:!0})}post(t,n={},o={}){return this.visit(t,{preserveState:!0,...o,method:"post",data:n})}put(t,n={},o={}){return this.visit(t,{preserveState:!0,...o,method:"put",data:n})}patch(t,n={},o={}){return this.visit(t,{preserveState:!0,...o,method:"patch",data:n})}delete(t,n={}){return this.visit(t,{preserveState:!0,...n,method:"delete"})}remember(t,n="default"){var o;Ic||this.replaceState({...this.page,rememberedState:{...(o=this.page)==null?void 0:o.rememberedState,[n]:t}})}restore(t="default"){var n,o;if(!Ic)return(o=(n=window.history.state)==null?void 0:n.rememberedState)==null?void 0:o[t]}on(t,n){if(Ic)return()=>{};let o=r=>{let s=n(r);r.cancelable&&!r.defaultPrevented&&s===!1&&r.preventDefault()};return document.addEventListener(`inertia:${t}`,o),()=>document.removeEventListener(`inertia:${t}`,o)}},jE={buildDOMElement(e){let t=document.createElement("template");t.innerHTML=e;let n=t.content.firstChild;if(!e.startsWith("<script "))return n;let o=document.createElement("script");return o.innerHTML=n.innerHTML,n.getAttributeNames().forEach(r=>{o.setAttribute(r,n.getAttribute(r)||"")}),o},isInertiaManagedElement(e){return e.nodeType===Node.ELEMENT_NODE&&e.getAttribute("inertia")!==null},findMatchingElementIndex(e,t){let n=e.getAttribute("inertia");return n!==null?t.findIndex(o=>o.getAttribute("inertia")===n):-1},update:gx(function(e){let t=e.map(n=>this.buildDOMElement(n));Array.from(document.head.childNodes).filter(n=>this.isInertiaManagedElement(n)).forEach(n=>{var s,i;let o=this.findMatchingElementIndex(n,t);if(o===-1){(s=n==null?void 0:n.parentNode)==null||s.removeChild(n);return}let r=t.splice(o,1)[0];r&&!n.isEqualNode(r)&&((i=n==null?void 0:n.parentNode)==null||i.replaceChild(r,n))}),t.forEach(n=>document.head.appendChild(n))},1)};function UE(e,t,n){let o={},r=0;function s(){let d=r+=1;return o[d]=[],d.toString()}function i(d){d===null||Object.keys(o).indexOf(d)===-1||(delete o[d],c())}function l(d,p=[]){d!==null&&Object.keys(o).indexOf(d)>-1&&(o[d]=p),c()}function u(){let d=t(""),p={...d?{title:`<title inertia="">${d}</title>`}:{}},m=Object.values(o).reduce((h,g)=>h.concat(g),[]).reduce((h,g)=>{if(g.indexOf("<")===-1)return h;if(g.indexOf("<title ")===0){let y=g.match(/(<title [^>]+>)(.*?)(<\/title>)/);return h.title=y?`${y[1]}${t(y[2])}${y[3]}`:g,h}let b=g.match(/ inertia="[^"]+"/);return b?h[b[0]]=g:h[Object.keys(h).length]=g,h},p);return Object.values(m)}function c(){e?n(u()):jE.update(u())}return c(),{forceUpdate:c,createProvider:function(){let d=s();return{update:p=>l(d,p),disconnect:()=>i(d)}}}}var _x=null;function HE(e){document.addEventListener("inertia:start",WE.bind(null,e)),document.addEventListener("inertia:progress",qE),document.addEventListener("inertia:finish",GE)}function WE(e){_x=setTimeout(()=>ea.start(),e)}function qE(e){var t;ea.isStarted()&&((t=e.detail.progress)!=null&&t.percentage)&&ea.set(Math.max(ea.status,e.detail.progress.percentage/100*.9))}function GE(e){if(clearTimeout(_x),ea.isStarted())e.detail.visit.completed?ea.done():e.detail.visit.interrupted?ea.set(0):e.detail.visit.cancelled&&(ea.done(),ea.remove());else return}function YE(e){let t=document.createElement("style");t.type="text/css",t.textContent=`
32    #nprogress {
33      pointer-events: none;
34    }
35
36    #nprogress .bar {
37      background: ${e};
38
39      position: fixed;
40      z-index: 1031;
41      top: 0;
42      left: 0;
43
44      width: 100%;
45      height: 2px;
46    }
47
48    #nprogress .peg {
49      display: block;
50      position: absolute;
51      right: 0px;
52      width: 100px;
53      height: 100%;
54      box-shadow: 0 0 10px ${e}, 0 0 5px ${e};
55      opacity: 1.0;
56
57      -webkit-transform: rotate(3deg) translate(0px, -4px);
58          -ms-transform: rotate(3deg) translate(0px, -4px);
59              transform: rotate(3deg) translate(0px, -4px);
60    }
61
62    #nprogress .spinner {
63      display: block;
64      position: fixed;
65      z-index: 1031;
66      top: 15px;
67      right: 15px;
68    }
69
70    #nprogress .spinner-icon {
71      width: 18px;
72      height: 18px;
73      box-sizing: border-box;
74
75      border: solid 2px transparent;
76      border-top-color: ${e};
77      border-left-color: ${e};
78      border-radius: 50%;
79
80      -webkit-animation: nprogress-spinner 400ms linear infinite;
81              animation: nprogress-spinner 400ms linear infinite;
82    }
83
84    .nprogress-custom-parent {
85      overflow: hidden;
86      position: relative;
87    }
88
89    .nprogress-custom-parent #nprogress .spinner,
90    .nprogress-custom-parent #nprogress .bar {
91      position: absolute;
92    }
93
94    @-webkit-keyframes nprogress-spinner {
95      0%   { -webkit-transform: rotate(0deg); }
96      100% { -webkit-transform: rotate(360deg); }
97    }
98    @keyframes nprogress-spinner {
99      0%   { transform: rotate(0deg); }
100      100% { transform: rotate(360deg); }
101    }
102  `,document.head.appendChild(t)}function KE({delay:e=250,color:t="#29d",includeCSS:n=!0,showSpinner:o=!1}={}){HE(e),ea.configure({showSpinner:o}),n&&YE(t)}function QE(e){let t=e.currentTarget.tagName.toLowerCase()==="a";return!(e.target&&(e==null?void 0:e.target).isContentEditable||e.defaultPrevented||t&&e.altKey||t&&e.ctrlKey||t&&e.metaKey||t&&e.shiftKey||t&&"button"in e&&e.button!==0)}var Mt=new zE,od={exports:{}};od.exports;(function(e,t){var n=200,o="__lodash_hash_undefined__",r=9007199254740991,s="[object Arguments]",i="[object Array]",l="[object Boolean]",u="[object Date]",c="[object Error]",d="[object Function]",p="[object GeneratorFunction]",m="[object Map]",h="[object Number]",g="[object Object]",b="[object Promise]",y="[object RegExp]",_="[object Set]",A="[object String]",k="[object Symbol]",E="[object WeakMap]",I="[object ArrayBuffer]",F="[object DataView]",P="[object Float32Array]",B="[object Float64Array]",O="[object Int8Array]",j="[object Int16Array]",G="[object Int32Array]",Q="[object Uint8Array]",Y="[object Uint8ClampedArray]",W="[object Uint16Array]",re="[object Uint32Array]",oe=/[\\^$.*+?()[\]{}|]/g,ne=/\w*$/,z=/^\[object .+?Constructor\]$/,N=/^(?:0|[1-9]\d*)$/,ae={};ae[s]=ae[i]=ae[I]=ae[F]=ae[l]=ae[u]=ae[P]=ae[B]=ae[O]=ae[j]=ae[G]=ae[m]=ae[h]=ae[g]=ae[y]=ae[_]=ae[A]=ae[k]=ae[Q]=ae[Y]=ae[W]=ae[re]=!0,ae[c]=ae[d]=ae[E]=!1;var ee=typeof Mr=="object"&&Mr&&Mr.Object===Object&&Mr,K=typeof self=="object"&&self&&self.Object===Object&&self,Ie=ee||K||Function("return this")(),fe=t&&!t.nodeType&&t,ge=fe&&!0&&e&&!e.nodeType&&e,Fe=ge&&ge.exports===fe;function ye(S,R){return S.set(R[0],R[1]),S}function ce(S,R){return S.add(R),S}function Re(S,R){for(var te=-1,ke=S?S.length:0;++te<ke&&R(S[te],te,S)!==!1;);return S}function Ce(S,R){for(var te=-1,ke=R.length,ht=S.length;++te<ke;)S[ht+te]=R[te];return S}function De(S,R,te,ke){for(var ht=-1,Xe=S?S.length:0;++ht<Xe;)te=R(te,S[ht],ht,S);return te}function ot(S,R){for(var te=-1,ke=Array(S);++te<S;)ke[te]=R(te);return ke}function U(S,R){return S==null?void 0:S[R]}function Z(S){var R=!1;if(S!=null&&typeof S.toString!="function")try{R=!!(S+"")}catch{}return R}function pe(S){var R=-1,te=Array(S.size);return S.forEach(function(ke,ht){te[++R]=[ht,ke]}),te}function le(S,R){return function(te){return S(R(te))}}function L(S){var R=-1,te=Array(S.size);return S.forEach(function(ke){te[++R]=ke}),te}var ie=Array.prototype,me=Function.prototype,Te=Object.prototype,be=Ie["__core-js_shared__"],Ee=function(){var S=/[^.]+$/.exec(be&&be.keys&&be.keys.IE_PROTO||"");return S?"Symbol(src)_1."+S:""}(),_e=me.toString,Se=Te.hasOwnProperty,Oe=Te.toString,je=RegExp("^"+_e.call(Se).replace(oe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),qe=Fe?Ie.Buffer:void 0,ft=Ie.Symbol,st=Ie.Uint8Array,wt=le(Object.getPrototypeOf,Object),Ot=Object.create,jt=Te.propertyIsEnumerable,Tt=ie.splice,cn=Object.getOwnPropertySymbols,qt=qe?qe.isBuffer:void 0,pt=le(Object.keys,Object),Dt=no(Ie,"DataView"),gn=no(Ie,"Map"),vn=no(Ie,"Promise"),Cn=no(Ie,"Set"),Bn=no(Ie,"WeakMap"),Gn=no(Object,"create"),Yn=tn(Dt),io=tn(gn),wo=tn(vn),Rt=tn(Cn),kn=tn(Bn),Rn=ft?ft.prototype:void 0,Pe=Rn?Rn.valueOf:void 0;function et(S){var R=-1,te=S?S.length:0;for(this.clear();++R<te;){var ke=S[R];this.set(ke[0],ke[1])}}function it(){this.__data__=Gn?Gn(null):{}}function _t(S){return this.has(S)&&delete this.__data__[S]}function _n(S){var R=this.__data__;if(Gn){var te=R[S];return te===o?void 0:te}return Se.call(R,S)?R[S]:void 0}function an(S){var R=this.__data__;return Gn?R[S]!==void 0:Se.call(R,S)}function $n(S,R){var te=this.__data__;return te[S]=Gn&&R===void 0?o:R,this}et.prototype.clear=it,et.prototype.delete=_t,et.prototype.get=_n,et.prototype.has=an,et.prototype.set=$n;function Qt(S){var R=-1,te=S?S.length:0;for(this.clear();++R<te;){var ke=S[R];this.set(ke[0],ke[1])}}function _o(){this.__data__=[]}function lo(S){var R=this.__data__,te=Xt(R,S);if(te<0)return!1;var ke=R.length-1;return te==ke?R.pop():Tt.call(R,te,1),!0}function Zo(S){var R=this.__data__,te=Xt(R,S);return te<0?void 0:R[te][1]}function Fn(S){return Xt(this.__data__,S)>-1}function mr(S,R){var te=this.__data__,ke=Xt(te,S);return ke<0?te.push([S,R]):te[ke][1]=R,this}Qt.prototype.clear=_o,Qt.prototype.delete=lo,Qt.prototype.get=Zo,Qt.prototype.has=Fn,Qt.prototype.set=mr;function en(S){var R=-1,te=S?S.length:0;for(this.clear();++R<te;){var ke=S[R];this.set(ke[0],ke[1])}}function Oo(){this.__data__={hash:new et,map:new(gn||Qt),string:new et}}function Io(S){return Vt(this,S).delete(S)}function Ho(S){return Vt(this,S).get(S)}function Ge(S){return Vt(this,S).has(S)}function J(S,R){return Vt(this,S).set(S,R),this}en.prototype.clear=Oo,en.prototype.delete=Io,en.prototype.get=Ho,en.prototype.has=Ge,en.prototype.set=J;function Ae(S){this.__data__=new Qt(S)}function Ue(){this.__data__=new Qt}function kt(S){return this.__data__.delete(S)}function fn(S){return this.__data__.get(S)}function Lt(S){return this.__data__.has(S)}function sn(S,R){var te=this.__data__;if(te instanceof Qt){var ke=te.__data__;if(!gn||ke.length<n-1)return ke.push([S,R]),this;te=this.__data__=new en(ke)}return te.set(S,R),this}Ae.prototype.clear=Ue,Ae.prototype.delete=kt,Ae.prototype.get=fn,Ae.prototype.has=Lt,Ae.prototype.set=sn;function pn(S,R){var te=vs(S)||za(S)?ot(S.length,String):[],ke=te.length,ht=!!ke;for(var Xe in S)Se.call(S,Xe)&&!(ht&&(Xe=="length"||xn(Xe,ke)))&&te.push(Xe);return te}function Kn(S,R,te){var ke=S[R];(!(Se.call(S,R)&&ni(ke,te))||te===void 0&&!(R in S))&&(S[R]=te)}function Xt(S,R){for(var te=S.length;te--;)if(ni(S[te][0],R))return te;return-1}function H(S,R){return S&&q(R,Ua(R),S)}function yn(S,R,te,ke,ht,Xe,Ut){var Ft;if(ke&&(Ft=Xe?ke(S,ht,Xe,Ut):ke(S)),Ft!==void 0)return Ft;if(!Bt(S))return S;var zn=vs(S);if(zn){if(Ft=ga(S),!R)return We(S,Ft)}else{var Jt=tr(S),Co=Jt==d||Jt==p;if(ue(S))return Ln(S,R);if(Jt==g||Jt==s||Co&&!Xe){if(Z(S))return Xe?S:{};if(Ft=xo(Co?{}:S),!R)return Le(S,H(Ft,S))}else{if(!ae[Jt])return Xe?S:{};Ft=vr(S,Jt,yn,R)}}Ut||(Ut=new Ae);var Go=Ut.get(S);if(Go)return Go;if(Ut.set(S,Ft),!zn)var Qn=te?xt(S):Ua(S);return Re(Qn||S,function(ko,fo){Qn&&(fo=ko,ko=S[fo]),Kn(Ft,fo,yn(ko,R,te,ke,fo,S,Ut))}),Ft}function Nn(S){return Bt(S)?Ot(S):{}}function er(S,R,te){var ke=R(S);return vs(S)?ke:Ce(ke,te(S))}function Wo(S){return Oe.call(S)}function mn(S){if(!Bt(S)||So(S))return!1;var R=Ne(S)||Z(S)?je:z;return R.test(tn(S))}function hr(S){if(!Ye(S))return pt(S);var R=[];
vendor: 14,112 bytes, line 102
102for(var te in Object(S))Se.call(S,te)&&te!="constructor"&&R.push(te);return R}function Ln(S,R){if(R)return S.slice();var te=new S.constructor(S.length);return S.copy(te),te}function eo(S){var R=new S.constructor(S.byteLength);return new st(R).set(new st(S)),R}function uo(S,R){var te=R?eo(S.buffer):S.buffer;return new S.constructor(te,S.byteOffset,S.byteLength)}function gr(S,R,te){var ke=R?te(pe(S),!0):pe(S);return De(ke,ye,new S.constructor)}function co(S){var R=new S.constructor(S.source,ne.exec(S));return R.lastIndex=S.lastIndex,R}function to(S,R,te){var ke=R?te(L(S),!0):L(S);return De(ke,ce,new S.constructor)}function Do(S){return Pe?Object(Pe.call(S)):{}}function gt(S,R){var te=R?eo(S.buffer):S.buffer;return new S.constructor(te,S.byteOffset,S.length)}function We(S,R){var te=-1,ke=S.length;for(R||(R=Array(ke));++te<ke;)R[te]=S[te];return R}function q(S,R,te,ke){te||(te={});for(var ht=-1,Xe=R.length;++ht<Xe;){var Ut=R[ht],Ft=void 0;Kn(te,Ut,Ft===void 0?S[Ut]:Ft)}return te}function Le(S,R){return q(S,bn(S),R)}function xt(S){return er(S,Ua,bn)}function Vt(S,R){var te=S.__data__;return Hr(R)?te[typeof R=="string"?"string":"hash"]:te.map}function no(S,R){var te=U(S,R);return mn(te)?te:void 0}var bn=cn?le(cn,Object):oi,tr=Wo;(Dt&&tr(new Dt(new ArrayBuffer(1)))!=F||gn&&tr(new gn)!=m||vn&&tr(vn.resolve())!=b||Cn&&tr(new Cn)!=_||Bn&&tr(new Bn)!=E)&&(tr=function(S){var R=Oe.call(S),te=R==g?S.constructor:void 0,ke=te?tn(te):void 0;if(ke)switch(ke){case Yn:return F;case io:return m;case wo:return b;case Rt:return _;case kn:return E}return R});function ga(S){var R=S.length,te=S.constructor(R);return R&&typeof S[0]=="string"&&Se.call(S,"index")&&(te.index=S.index,te.input=S.input),te}function xo(S){return typeof S.constructor=="function"&&!Ye(S)?Nn(wt(S)):{}}function vr(S,R,te,ke){var ht=S.constructor;switch(R){case I:return eo(S);case l:case u:return new ht(+S);case F:return uo(S,ke);case P:case B:case O:case j:case G:case Q:case Y:case W:case re:return gt(S,ke);case m:return gr(S,ke,te);case h:case A:return new ht(S);case y:return co(S);case _:return to(S,ke,te);case k:return Do(S)}}function xn(S,R){return R=R??r,!!R&&(typeof S=="number"||N.test(S))&&S>-1&&S%1==0&&S<R}function Hr(S){var R=typeof S;return R=="string"||R=="number"||R=="symbol"||R=="boolean"?S!=="__proto__":S===null}function So(S){return!!Ee&&Ee in S}function Ye(S){var R=S&&S.constructor,te=typeof R=="function"&&R.prototype||Te;return S===te}function tn(S){if(S!=null){try{return _e.call(S)}catch{}try{return S+""}catch{}}return""}function gs(S){return yn(S,!0,!0)}function ni(S,R){return S===R||S!==S&&R!==R}function za(S){return Ji(S)&&Se.call(S,"callee")&&(!jt.call(S,"callee")||Oe.call(S)==s)}var vs=Array.isArray;function ja(S){return S!=null&&lt(S.length)&&!Ne(S)}function Ji(S){return qo(S)&&ja(S)}var ue=qt||nr;function Ne(S){var R=Bt(S)?Oe.call(S):"";return R==d||R==p}function lt(S){return typeof S=="number"&&S>-1&&S%1==0&&S<=r}function Bt(S){var R=typeof S;return!!S&&(R=="object"||R=="function")}function qo(S){return!!S&&typeof S=="object"}function Ua(S){return ja(S)?pn(S):hr(S)}function oi(){return[]}function nr(){return!1}e.exports=gs})(od,od.exports);var XE=od.exports;const Yr=Ud(XE);var rd={exports:{}};rd.exports;(function(e,t){var n=200,o="__lodash_hash_undefined__",r=1,s=2,i=9007199254740991,l="[object Arguments]",u="[object Array]",c="[object AsyncFunction]",d="[object Boolean]",p="[object Date]",m="[object Error]",h="[object Function]",g="[object GeneratorFunction]",b="[object Map]",y="[object Number]",_="[object Null]",A="[object Object]",k="[object Promise]",E="[object Proxy]",I="[object RegExp]",F="[object Set]",P="[object String]",B="[object Symbol]",O="[object Undefined]",j="[object WeakMap]",G="[object ArrayBuffer]",Q="[object DataView]",Y="[object Float32Array]",W="[object Float64Array]",re="[object Int8Array]",oe="[object Int16Array]",ne="[object Int32Array]",z="[object Uint8Array]",N="[object Uint8ClampedArray]",ae="[object Uint16Array]",ee="[object Uint32Array]",K=/[\\^$.*+?()[\]{}|]/g,Ie=/^\[object .+?Constructor\]$/,fe=/^(?:0|[1-9]\d*)$/,ge={};ge[Y]=ge[W]=ge[re]=ge[oe]=ge[ne]=ge[z]=ge[N]=ge[ae]=ge[ee]=!0,ge[l]=ge[u]=ge[G]=ge[d]=ge[Q]=ge[p]=ge[m]=ge[h]=ge[b]=ge[y]=ge[A]=ge[I]=ge[F]=ge[P]=ge[j]=!1;var Fe=typeof Mr=="object"&&Mr&&Mr.Object===Object&&Mr,ye=typeof self=="object"&&self&&self.Object===Object&&self,ce=Fe||ye||Function("return this")(),Re=t&&!t.nodeType&&t,Ce=Re&&!0&&e&&!e.nodeType&&e,De=Ce&&Ce.exports===Re,ot=De&&Fe.process,U=function(){try{return ot&&ot.binding&&ot.binding("util")}catch{}}(),Z=U&&U.isTypedArray;function pe(S,R){for(var te=-1,ke=S==null?0:S.length,ht=0,Xe=[];++te<ke;){var Ut=S[te];R(Ut,te,S)&&(Xe[ht++]=Ut)}return Xe}function le(S,R){for(var te=-1,ke=R.length,ht=S.length;++te<ke;)S[ht+te]=R[te];return S}function L(S,R){for(var te=-1,ke=S==null?0:S.length;++te<ke;)if(R(S[te],te,S))return!0;return!1}function ie(S,R){for(var te=-1,ke=Array(S);++te<S;)ke[te]=R(te);return ke}function me(S){return function(R){return S(R)}}function Te(S,R){return S.has(R)}function be(S,R){return S==null?void 0:S[R]}function Ee(S){var R=-1,te=Array(S.size);return S.forEach(function(ke,ht){te[++R]=[ht,ke]}),te}function _e(S,R){return function(te){return S(R(te))}}function Se(S){var R=-1,te=Array(S.size);return S.forEach(function(ke){te[++R]=ke}),te}var Oe=Array.prototype,je=Function.prototype,qe=Object.prototype,ft=ce["__core-js_shared__"],st=je.toString,wt=qe.hasOwnProperty,Ot=function(){var S=/[^.]+$/.exec(ft&&ft.keys&&ft.keys.IE_PROTO||"");return S?"Symbol(src)_1."+S:""}(),jt=qe.toString,Tt=RegExp("^"+st.call(wt).replace(K,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),cn=De?ce.Buffer:void 0,qt=ce.Symbol,pt=ce.Uint8Array,Dt=qe.propertyIsEnumerable,gn=Oe.splice,vn=qt?qt.toStringTag:void 0,Cn=Object.getOwnPropertySymbols,Bn=cn?cn.isBuffer:void 0,Gn=_e(Object.keys,Object),Yn=bn(ce,"DataView"),io=bn(ce,"Map"),wo=bn(ce,"Promise"),Rt=bn(ce,"Set"),kn=bn(ce,"WeakMap"),Rn=bn(Object,"create"),Pe=tn(Yn),et=tn(io),it=tn(wo),_t=tn(Rt),_n=tn(kn),an=qt?qt.prototype:void 0,$n=an?an.valueOf:void 0;function Qt(S){var R=-1,te=S==null?0:S.length;for(this.clear();++R<te;){var ke=S[R];this.set(ke[0],ke[1])}}function _o(){this.__data__=Rn?Rn(null):{},this.size=0}function lo(S){var R=this.has(S)&&delete this.__data__[S];return this.size-=R?1:0,R}function Zo(S){var R=this.__data__;if(Rn){var te=R[S];return te===o?void 0:te}return wt.call(R,S)?R[S]:void 0}function Fn(S){var R=this.__data__;return Rn?R[S]!==void 0:wt.call(R,S)}function mr(S,R){var te=this.__data__;return this.size+=this.has(S)?0:1,te[S]=Rn&&R===void 0?o:R,this}Qt.prototype.clear=_o,Qt.prototype.delete=lo,Qt.prototype.get=Zo,Qt.prototype.has=Fn,Qt.prototype.set=mr;function en(S){var R=-1,te=S==null?0:S.length;for(this.clear();++R<te;){var ke=S[R];this.set(ke[0],ke[1])}}function Oo(){this.__data__=[],this.size=0}function Io(S){var R=this.__data__,te=Ln(R,S);if(te<0)return!1;var ke=R.length-1;return te==ke?R.pop():gn.call(R,te,1),--this.size,!0}function Ho(S){var R=this.__data__,te=Ln(R,S);return te<0?void 0:R[te][1]}function Ge(S){return Ln(this.__data__,S)>-1}function J(S,R){var te=this.__data__,ke=Ln(te,S);return ke<0?(++this.size,te.push([S,R])):te[ke][1]=R,this}en.prototype.clear=Oo,en.prototype.delete=Io,en.prototype.get=Ho,en.prototype.has=Ge,en.prototype.set=J;function Ae(S){var R=-1,te=S==null?0:S.length;for(this.clear();++R<te;){var ke=S[R];this.set(ke[0],ke[1])}}function Ue(){this.size=0,this.__data__={hash:new Qt,map:new(io||en),string:new Qt}}function kt(S){var R=no(this,S).delete(S);return this.size-=R?1:0,R}function fn(S){return no(this,S).get(S)}function Lt(S){return no(this,S).has(S)}function sn(S,R){var te=no(this,S),ke=te.size;return te.set(S,R),this.size+=te.size==ke?0:1,this}Ae.prototype.clear=Ue,Ae.prototype.delete=kt,Ae.prototype.get=fn,Ae.prototype.has=Lt,Ae.prototype.set=sn;function pn(S){var R=-1,te=S==null?0:S.length;for(this.__data__=new Ae;++R<te;)this.add(S[R])}function Kn(S){return this.__data__.set(S,o),this}function Xt(S){return this.__data__.has(S)}pn.prototype.add=pn.prototype.push=Kn,pn.prototype.has=Xt;function H(S){var R=this.__data__=new en(S);this.size=R.size}function yn(){this.__data__=new en,this.size=0}function Nn(S){var R=this.__data__,te=R.delete(S);return this.size=R.size,te}function er(S){return this.__data__.get(S)}function Wo(S){return this.__data__.has(S)}function mn(S,R){var te=this.__data__;if(te instanceof en){var ke=te.__data__;if(!io||ke.length<n-1)return ke.push([S,R]),this.size=++te.size,this;te=this.__data__=new Ae(ke)}return te.set(S,R),this.size=te.size,this}H.prototype.clear=yn,H.prototype.delete=Nn,H.prototype.get=er,H.prototype.has=Wo,H.prototype.set=mn;function hr(S,R){var te=za(S),ke=!te&&ni(S),ht=!te&&!ke&&ja(S),Xe=!te&&!ke&&!ht&&qo(S),Ut=te||ke||ht||Xe,Ft=Ut?ie(S.length,String):[],zn=Ft.length;for(var Jt in S)wt.call(S,Jt)&&!(Ut&&(Jt=="length"||ht&&(Jt=="offset"||Jt=="parent")||Xe&&(Jt=="buffer"||Jt=="byteLength"||Jt=="byteOffset")||vr(Jt,zn)))&&Ft.push(Jt);return Ft}function Ln(S,R){for(var te=S.length;te--;)if(gs(S[te][0],R))return te;return-1}function eo(S,R,te){var ke=R(S);return za(S)?ke:le(ke,te(S))}function uo(S){return S==null?S===void 0?O:_:vn&&vn in Object(S)?tr(S):Ye(S)}function gr(S){return Bt(S)&&uo(S)==l}function co(S,R,te,ke,ht){return S===R?!0:S==null||R==null||!Bt(S)&&!Bt(R)?S!==S&&R!==R:to(S,R,te,ke,co,ht)}function to(S,R,te,ke,ht,Xe){var Ut=za(S),Ft=za(R),zn=Ut?u:xo(S),Jt=Ft?u:xo(R);zn=zn==l?A:zn,Jt=Jt==l?A:Jt;var Co=zn==A,Go=Jt==A,Qn=zn==Jt;if(Qn&&ja(S)){if(!ja(R))return!1;Ut=!0,Co=!1}if(Qn&&!Co)return Xe||(Xe=new H),Ut||qo(S)?q(S,R,te,ke,ht,Xe):Le(S,R,zn,te,ke,ht,Xe);if(!(te&r)){var ko=Co&&wt.call(S,"__wrapped__"),fo=Go&&wt.call(R,"__wrapped__");if(ko||fo){var Ha=ko?S.value():S,va=fo?R.value():R;return Xe||(Xe=new H),ht(Ha,va,te,ke,Xe)}}return Qn?(Xe||(Xe=new H),xt(S,R,te,ke,ht,Xe)):!1}function Do(S){if(!lt(S)||Hr(S))return!1;var R=ue(S)?Tt:Ie;return R.test(tn(S))}function gt(S){return Bt(S)&&Ne(S.length)&&!!ge[uo(S)]}function We(S){if(!So(S))return Gn(S);var R=[];for(var te in Object(S))wt.call(S,te)&&te!="constructor"&&R.push(te);return R}function q(S,R,te,ke,ht,Xe){var Ut=te&r,Ft=S.length,zn=R.length;if(Ft!=zn&&!(Ut&&zn>Ft))return!1;var Jt=Xe.get(S);if(Jt&&Xe.get(R))return Jt==R;var Co=-1,Go=!0,Qn=te&s?new pn:void 0;for(Xe.set(S,R),Xe.set(R,S);++Co<Ft;){var ko=S[Co],fo=R[Co];if(ke)var Ha=Ut?ke(fo,ko,Co,R,S,Xe):ke(ko,fo,Co,S,R,Xe);if(Ha!==void 0){if(Ha)continue;Go=!1;break}if(Qn){if(!L(R,function(va,ys){if(!Te(Qn,ys)&&(ko===va||ht(ko,va,te,ke,Xe)))return Qn.push(ys)})){Go=!1;break}}else if(!(ko===fo||ht(ko,fo,te,ke,Xe))){Go=!1;break}}return Xe.delete(S),Xe.delete(R),Go}function Le(S,R,te,ke,ht,Xe,Ut){switch(te){case Q:if(S.byteLength!=R.byteLength||S.byteOffset!=R.byteOffset)return!1;S=S.buffer,R=R.buffer;case G:return!(S.byteLength!=R.byteLength||!Xe(new pt(S),new pt(R)));case d:case p:case y:return gs(+S,+R);case m:return S.name==R.name&&S.message==R.message;case I:case P:return S==R+"";case b:var Ft=Ee;case F:var zn=ke&r;if(Ft||(Ft=Se),S.size!=R.size&&!zn)return!1;var Jt=Ut.get(S);if(Jt)return Jt==R;ke|=s,Ut.set(S,R);var Co=q(Ft(S),Ft(R),ke,ht,Xe,Ut);return Ut.delete(S),Co;case B:if($n)return $n.call(S)==$n.call(R)}return!1}function xt(S,R,te,ke,ht,Xe){var Ut=te&r,Ft=Vt(S),zn=Ft.length,Jt=Vt(R),Co=Jt.length;if(zn!=Co&&!Ut)return!1;for(var Go=zn;Go--;){var Qn=Ft[Go];if(!(Ut?Qn in R:wt.call(R,Qn)))return!1}var ko=Xe.get(S);if(ko&&Xe.get(R))return ko==R;var fo=!0;Xe.set(S,R),Xe.set(R,S);for(var Ha=Ut;++Go<zn;){Qn=Ft[Go];var va=S[Qn],ys=R[Qn];if(ke)var yv=Ut?ke(ys,va,Qn,R,S,Xe):ke(va,ys,Qn,S,R,Xe);if(!(yv===void 0?va===ys||ht(va,ys,te,ke,Xe):yv)){fo=!1;break}Ha||(Ha=Qn=="constructor")}if(fo&&!Ha){var Bu=S.constructor,Fu=R.constructor;Bu!=Fu&&"constructor"in S&&"constructor"in R&&!(typeof Bu=="function"&&Bu instanceof Bu&&typeof Fu=="function"&&Fu instanceof Fu)&&(fo=!1)}return Xe.delete(S),Xe.delete(R),fo}function Vt(S){return eo(S,Ua,ga)}function no(S,R){var te=S.__data__;return xn(R)?te[typeof R=="string"?"string":"hash"]:te.map}function bn(S,R){var te=be(S,R);return Do(te)?te:void 0}function tr(S){var R=wt.call(S,vn),te=S[vn];try{S[vn]=void 0;var ke=!0}catch{}var ht=jt.call(S);return ke&&(R?S[vn]=te:delete S[vn]),ht}var ga=Cn?function(S){return S==null?[]:(S=Object(S),pe(Cn(S),function(R){return Dt.call(S,R)}))}:oi,xo=uo;(Yn&&xo(new Yn(new ArrayBuffer(1)))!=Q||io&&xo(new io)!=b||wo&&xo(wo.resolve())!=k||Rt&&xo(new Rt)!=F||kn&&xo(new kn)!=j)&&(xo=function(S){var R=uo(S),te=R==A?S.constructor:void 0,ke=te?tn(te):"";if(ke)switch(ke){case Pe:return Q;case et:return b;case it:return k;case _t:return F;case _n:return j}return R});function vr(S,R){return R=R??i,!!R&&(typeof S=="number"||fe.test(S))&&S>-1&&S%1==0&&S<R}function xn(S){var R=typeof S;return R=="string"||R=="number"||R=="symbol"||R=="boolean"?S!=="__proto__":S===null}function Hr(S){return!!Ot&&Ot in S}function So(S){var R=S&&S.constructor,te=typeof R=="function"&&R.prototype||qe;return S===te}function Ye(S){return jt.call(S)}function tn(S){if(S!=null){try{return st.call(S)}catch{}try{return S+""}catch{}}return""}function gs(S,R){return S===R||S!==S&&R!==R}var ni=gr(function(){return arguments}())?gr:function(S){return Bt(S)&&wt.call(S,"callee")&&!Dt.call(S,"callee")},za=Array.isArray;function vs(S){return S!=null&&Ne(S.length)&&!ue(S)}var ja=Bn||nr;function Ji(S,R){return co(S,R)}function ue(S){if(!lt(S))return!1;var R=uo(S);return R==h||R==g||R==c||R==E}function Ne(S){return typeof S=="number"&&S>-1&&S%1==0&&S<=i}function lt(S){var R=typeof S;return S!=null&&(R=="object"||R=="function")}function Bt(S){return S!=null&&typeof S=="object"}var qo=Z?me(Z):gt;function Ua(S){return vs(S)?hr(S):We(S)}function oi(){return[]}function nr(){return!1}e.exports=Ji})(rd,rd.exports);var JE=rd.exports;const ZE=Ud(JE);var e6={created(){if(!this.$options.remember)return;Array.isArray(this.$options.remember)&&(this.$options.remember={data:this.$options.remember}),typeof this.$options.remember=="string"&&(this.$options.remember={data:[this.$options.remember]}
102),typeof this.$options.remember.data=="string"&&(this.$options.remember={data:[this.$options.remember.data]});let e=this.$options.remember.key instanceof Function?this.$options.remember.key.call(this):this.$options.remember.key,t=Mt.restore(e),n=this.$options.remember.data.filter(r=>!(this[r]!==null&&typeof this[r]=="object"&&this[r].__rememberable===!1)),o=r=>this[r]!==null&&typeof this[r]=="object"&&typeof this[r].__remember=="function"&&typeof this[r].__restore=="function";n.forEach(r=>{this[r]!==void 0&&t!==void 0&&t[r]!==void 0&&(o(r)?this[r].__restore(t[r]):this[r]=t[r]),this.$watch(r,()=>{Mt.remember(n.reduce((s,i)=>({...s,[i]:Yr(o(i)?this[i].__remember():this[i])}),{}),e)},{immediate:!0,deep:!0})})}},t6=e6;function jh(e,t){let n=typeof e=="string"?e:null,o=typeof e=="string"?t:e,r=n?Mt.restore(n):null,s=Yr(typeof o=="object"?o:o()),i=null,l=null,u=d=>d,c=Fo({...r?r.data:Yr(s),isDirty:!1,errors:r?r.errors:{},hasErrors:!1,processing:!1,progress:null,wasSuccessful:!1,recentlySuccessful:!1,data(){return Object.keys(s).reduce((d,p)=>(d[p]=this[p],d),{})},transform(d){return u=d,this},defaults(d,p){if(typeof o=="function")throw new Error("You cannot call `defaults()` when using a function to define your form data.");return typeof d>"u"?(s=this.data(),this.isDirty=!1):s=Object.assign({},Yr(s),typeof d=="string"?{[d]:p}:d),this},reset(...d){let p=Yr(typeof o=="object"?s:o()),m=Yr(p);return d.length===0?(s=m,Object.assign(this,p)):Object.keys(p).filter(h=>d.includes(h)).forEach(h=>{s[h]=m[h],this[h]=p[h]}),this},setError(d,p){return Object.assign(this.errors,typeof d=="string"?{[d]:p}:d),this.hasErrors=Object.keys(this.errors).length>0,this},clearErrors(...d){return this.errors=Object.keys(this.errors).reduce((p,m)=>({...p,...d.length>0&&!d.includes(m)?{[m]:this.errors[m]}:{}}),{}),this.hasErrors=Object.keys(this.errors).length>0,this},submit(d,p,m={}){let h=u(this.data()),g={...m,onCancelToken:b=>{if(i=b,m.onCancelToken)return m.onCancelToken(b)},onBefore:b=>{if(this.wasSuccessful=!1,this.recentlySuccessful=!1,clearTimeout(l),m.onBefore)return m.onBefore(b)},onStart:b=>{if(this.processing=!0,m.onStart)return m.onStart(b)},onProgress:b=>{if(this.progress=b,m.onProgress)return m.onProgress(b)},onSuccess:async b=>{this.processing=!1,this.progress=null,this.clearErrors(),this.wasSuccessful=!0,this.recentlySuccessful=!0,l=setTimeout(()=>this.recentlySuccessful=!1,2e3);let y=m.onSuccess?await m.onSuccess(b):null;return s=Yr(this.data()),this.isDirty=!1,y},onError:b=>{if(this.processing=!1,this.progress=null,this.clearErrors().setError(b),m.onError)return m.onError(b)},onCancel:()=>{if(this.processing=!1,this.progress=null,m.onCancel)return m.onCancel()},onFinish:b=>{if(this.processing=!1,this.progress=null,i=null,m.onFinish)return m.onFinish(b)}};d==="delete"?Mt.delete(p,{...g,data:h}):Mt[d](p,h,g)},get(d,p){this.submit("get",d,p)},post(d,p){this.submit("post",d,p)},put(d,p){this.submit("put",d,p)},patch(d,p){this.submit("patch",d,p)},delete(d,p){this.submit("delete",d,p)},cancel(){i&&i.cancel()},__rememberable:n===null,__remember(){return{data:this.data(),errors:this.errors}},__restore(d){Object.assign(this,d.data),this.setError(d.errors)}});return we(c,d=>{c.isDirty=!ZE(c.data(),s),n&&Mt.remember(Yr(d.__remember()),n)},{immediate:!0,deep:!0}),c}var or=M(null),Ir=M(null),dp=At(null),ec=M(null),_m=null,n6=$e({name:"Inertia",props:{initialPage:{type:Object,required:!0},initialComponent:{type:Object,required:!1},resolveComponent:{type:Function,required:!1},titleCallback:{type:Function,required:!1,default:e=>e},onHeadUpdate:{type:Function,required:!1,default:()=>()=>{}}},setup({initialPage:e,initialComponent:t,resolveComponent:n,titleCallback:o,onHeadUpdate:r}){or.value=t?Xp(t):null,Ir.value=e,ec.value=null;let s=typeof window>"u";return _m=UE(s,o,r),s||(Mt.init({initialPage:e,resolveComponent:n,swapComponent:async i=>{or.value=Xp(i.component),Ir.value=i.page,ec.value=i.preserveState?ec.value:Date.now()}}),Mt.on("navigate",()=>_m.forceUpdate())),()=>{if(or.value){or.value.inheritAttrs=!!or.value.inheritAttrs;let i=nn(or.value,{...Ir.value.props,key:ec.value});return dp.value&&(or.value.layout=dp.value,dp.value=null),or.value.layout?typeof or.value.layout=="function"?or.value.layout(nn,i):(Array.isArray(or.value.layout)?or.value.layout:[or.value.layout]).concat(i).reverse().reduce((l,u)=>(u.inheritAttrs=!!u.inheritAttrs,nn(u,{...Ir.value.props}
102,()=>l))):i}}}}),o6=n6,r6={install(e){Mt.form=jh,Object.defineProperty(e.config.globalProperties,"$inertia",{get:()=>Mt}),Object.defineProperty(e.config.globalProperties,"$page",{get:()=>Ir.value}),Object.defineProperty(e.config.globalProperties,"$headManager",{get:()=>_m}),e.mixin(t6)}};function qn(){return Fo({props:w(()=>{var e;return(e=Ir.value)==null?void 0:e.props}),url:w(()=>{var e;return(e=Ir.value)==null?void 0:e.url}),component:w(()=>{var e;return(e=Ir.value)==null?void 0:e.component}),version:w(()=>{var e;return(e=Ir.value)==null?void 0:e.version}),scrollRegions:w(()=>{var e;return(e=Ir.value)==null?void 0:e.scrollRegions}),rememberedState:w(()=>{var e;return(e=Ir.value)==null?void 0:e.rememberedState})})}async function a6({id:e="app",resolve:t,setup:n,title:o,progress:r={},page:s,render:i}){let l=typeof window>"u",u=l?null:document.getElementById(e),c=s||JSON.parse(u.dataset.page),d=h=>Promise.resolve(t(h)).then(g=>g.default||g),p=[],m=await d(c.component).then(h=>n({el:u,App:o6,props:{initialPage:c,initialComponent:h,resolveComponent:d,titleCallback:o,onHeadUpdate:l?g=>p=g:null},plugin:r6}));if(!l&&r&&KE(r),l){let h=await i(pA({render:()=>nn("div",{id:e,"data-page":JSON.stringify(c),innerHTML:m?i(m):""})}));return{head:p,body:h}}}var s6=$e({props:{title:{type:String,required:!1}},data(){return{provider:this.$headManager.createProvider()}},beforeUnmount(){this.provider.disconnect()},methods:{isUnaryTag(e){return["area","base","br","col","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"].indexOf(e.type)>-1},renderTagStart(e){e.props=e.props||{},e.props.inertia=e.props["head-key"]!==void 0?e.props["head-key"]:"";let t=Object.keys(e.props).reduce((n,o)=>{let r=e.props[o];return["key","head-key"].includes(o)?n:r===""?n+` ${o}`:n+` ${o}="${r}"`},"");return`<${e.type}${t}>`},renderTagChildren(e){return typeof e.children=="string"?e.children:e.children.reduce((t,n)=>t+this.renderTag(n),"")},isFunctionNode(e){return typeof e.type=="function"},isComponentNode(e){return typeof e.type=="object"},isCommentNode(e){return/(comment|cmt)/i.test(e.type.toString())},isFragmentNode(e){return/(fragment|fgt|symbol\(\))/i.test(e.type.toString())},isTextNode(e){return/(text|txt)/i.test(e.type.toString())},renderTag(e){if(this.isTextNode(e))return e.children;if(this.isFragmentNode(e)||this.isCommentNode(e))return"";let t=this.renderTagStart(e);return e.children&&(t+=this.renderTagChildren(e)),this.isUnaryTag(e)||(t+=`</${e.type}>`),t},addTitleElement(e){return this.title&&!e.find(t=>t.startsWith("<title"))&&e.push(`<title inertia>${this.title}</title>`),e},renderNodes(e){return this.addTitleElement(e.flatMap(t=>this.resolveNode(t)).map(t=>this.renderTag(t)).filter(t=>t))},resolveNode(e){return this.isFunctionNode(e)?this.resolveNode(e.type()):this.isComponentNode(e)?(console.warn("Using components in the <Head> component is not supported."),[]):this.isTextNode(e)&&e.children?e:this.isFragmentNode(e)&&e.children?e.children.flatMap(t=>this.resolveNode(t)):this.isCommentNode(e)?[]:e}},render(){this.provider.update(this.renderNodes(this.$slots.default?this.$slots.default():[]))}}),Uh=s6,i6=$e({name:"Link",props:{as:{type:String,default:"a"},data:{type:Object,default:()=>({})},href:{type:String,required:!0},method:{type:String,default:"get"},replace:{type:Boolean,default:!1},preserveScroll:{type:Boolean,default:!1},preserveState:{type:Boolean,default:null},only:{type:Array,default:()=>[]},except:{type:Array,default:()=>[]},headers:{type:Object,default:()=>({})},queryStringArrayFormat:{type:String,default:"brackets"}},setup(e,{slots:t,attrs:n}){return()=>{let o=e.as.toLowerCase(),r=e.method.toLowerCase(),[s,i]=wx(r,e.href||"",e.data,e.queryStringArrayFormat);return o==="a"&&r!=="get"&&console.warn(`Creating POST/PUT/PATCH/DELETE <a> links is discouraged as it causes "Open Link in New Tab/Window" accessibility issues.
103
104Please specify a more appropriate element using the "as" attribute. For example:
105
106<Link href="${s}" method="${r}" as="button">...</Link>`),nn(e.as,{...n,...o==="a"?{href:s}:{},onClick:l=>{QE(l)&&(l.preventDefault(),Mt.visit(s,{data:i,method:r,replace:e.replace,preserveScroll:e.preserveScroll,preserveState:e.preserveState??r!=="get",only:e.only,except:e.except,headers:e.headers,onCancelToken:n.onCancelToken||(()=>({})),onBefore:n.onBefore||(()=>({})),onStart:n.onStart||(()=>({})),onProgress:n.onProgress||(()=>({})),onFinish:n.onFinish||(()=>({})),onCancel:n.onCancel||(()=>({})),onSuccess:n.onSuccess||(()=>({})),onError:n.onError||(()=>({}))}))}},t)}}}),zt=i6;const Fa=Symbol("ocsPropsProvider"),xx=Symbol("dtcEffectivePage"),Qi=()=>({oc_site:M({})}),l6=["aria-expanded"],u6={role:"menubar",class:"primary-menu flex flex-col justify-start w-[80vw] mx-auto"},c6=["aria-expanded"],d6=["aria-expanded"],f6=["aria-expanded"],p6=["aria-expanded"],m6={tabindex:"0",class:"body-17 bold py-4"},h6={key:0,tabindex:"0",class:"agent-phone"},g6=["href"],v6={__name:"MobileNav",setup(e){const{oc_site:t}=Dn(Fa,Qi()),n=M(!1),o=M(!1),r=M(!1),s=()=>{n.value=!n.value},i=()=>{o.value=!o.value},l=()=>{r.value=!r.value};return(u,c)=>{var d;return v(),x(de,null,[a("button",{id:"hamburger","aria-expanded":n.value?"true":"false",onClick:s,"aria-label":"Menu","aria-controls":"primary-nav",class:"lg:hidden text-xl font-bold justify-self-end text-right flex-1"},[a("i",{"aria-hidden":"true",focusable:"false",class:xe(["icon-hamburger-q padding-[10px] border-[1px] border-medgray",n.value?"hidden":""])},null,2),a("i",{"aria-hidden":"true",focusable:"false",class:xe(["icon-x-close-q padding-[10px] border-[1px] border-medgray",n.value?"":"hidden"])},null,2)],8,l6),a("nav",{id:"primary-nav","aria-label":"Primary Nav Menu",role:"navigation",class:xe([n.value?"block":"hidden","primary-nav mobile-nav lg:hidden flex flex-col z-100 absolute top-[65px] left-0 w-full bg-white px-5 py-5 mt-[2px]"])},[a("ul",u6,[a("li",{"aria-haspopup":"true","aria-expanded":o.value?"true":"false",onFocusin:c[0]||(c[0]=p=>(o.value=!0)&&(r.value=!1)),tabindex:"0",class:"body-17 py-4 border-b-[1px] border-medgray"},[c[10]||(c[10]=a("span",{class:"bold h-[25px]"},"What We Offer",-1)),a("button",{onClick:i,"aria-label":"What We Offer submenu","aria-expanded":o.value?"true":"false"},[a("i",{"aria-hidden":"true",class:xe([o.value?"hidden":"","icon-q-down body-25 align-middle text-primary"])},null,2),a("i",{"aria-hidden":"true",class:xe([o.value?"":"hidden","icon-q-up body-25 align-middle text-primary"])},null,2)],8,d6),a("ul",{class:xe(["sub-menu mt-2 light",o.value?"block":"hidden"])},[a("li",null,[C(f(zt),{class:"body-17 light py-2 block",href:"/mortgage-protection"},{default:$(()=>c[2]||(c[2]=[T("Mortgage Protection")])),_:1,__:[2]})]),a("li",null,[C(f(zt),{class:"body-17 light py-2 block",href:"/term-life"},{default:$(()=>c[3]||(c[3]=[T("Term Life")])),_:1,__:[3]})]),a("li",null,[C(f(zt),{class:"body-17 light py-2 block",href:"/permanent-life"},{default:$(()=>c[4]||(c[4]=[T("Permanent Life")])),_:1,__:[4]})]),a("li",null,[C(f(zt),{class:"body-17 light py-2 block",href:"/final-expense"},{default:$(()=>c[5]||(c[5]=[T("Final Expense")])),_:1,__:[5]})]),a("li",null,[C(f(zt),{class:"body-17 light py-2 block",href:"/debt-free-life"},{default:$(()=>c[6]||(c[6]=[T("Debt Free Life"),a("sup",null,"®",-1)])),_:1,__:[6]})]),a("li",null,[C(f(zt),{class:"body-17 light py-2 block",href:"/disability"},{default:$(()=>c[7]||(c[7]=[T("Disability")])),_:1,__:[7]})]),a("li",null,[C(f(zt),{class:"body-17 light py-2 block",href:"/critical-illness"},{default:$(()=>c[8]||(c[8]=[T("Critical Illness")])),_:1,__:[8]})]),a("li",null,[C(f(zt),{class:"body-17 light py-2 block",href:"/retirement"},{default:$(()=>c[9]||(c[9]=[T("Retirement Solutions")])),_:1,__:[9]})])],2)],40,c6),a("li",{"aria-haspopup":"true","aria-expanded":r.value?"true":"false",onFocusin:c[1]||(c[1]=p=>(r.value=!0)&&(o.value=!1)),tabindex:"0",class:"body-17 py-4 border-b-[1px] border-medgray"},[c[15]||(c[15]=a("span",{class:"bold h-[25px]"},"About",-1)),a("button",{onClick:l,"aria-label":"About submenu","aria-expanded":r.value?"true":"false"},[a("i",{"aria-hidden":"true",class:xe([r.value?"hidden":"","icon-q-down body-25 align-middle text-primary"])},null,2),a("i",{"aria-hidden":"true",class:xe([r.value?"":"hidden","icon-q-up body-25 align-middle text-primary"])},null,2)],8,p6),a("ul",{class:xe(["sub-menu mt-2 light",r.value?"block":"hidden"])},[a("li",null,[C(f(zt),{class:"body-17 light py-2 block",href:"/about-us"},{default:$(()=>c[11]||(c[11]=[T("About Us")])),_:1,__:[11]})]),a("li",null,[C(f(zt),{class:"body-17 light py-2 block",href:"/symmetry-stories"},{default:$(()=>c[12]||(c[12]=[T("Symmetry Stories")])),_:1,__:[12]})]),a("li",null,[C(f(zt),{class:"body-17 light py-2 block",href:"/working-with-symmetry"},{default:$(()=>c[13]||(c[13]=[T("Working With Symmetry")])),_:1,__:[13]})]),a("li",null,[C(f(zt),{class:"body-17 light py-2 block",href:"/contact"},{default:$(()=>c[14]||(c[14]=[T("Contact")])),_:1,__:[14]})])],2)],40,f6),a("li",m6,[C(f(zt),{href:"/blog",class:"h-[25px]"},{default:$(()=>c[16]||(c[16]=[T("Blog")])),_:1,__:[16]})]),(d=f(t))!=null&&d.phone?(v(),x("li",h6,[a("a",{class:"block body-17 bold py-4 text-primary border-t-[1px] border-medgray h-[25px]",href:"tel:"+f(t).phone},V(f(Ei)(f(t).phone)),9,g6)])):D("",!0)])],2)],64)}}},y6={id:"main-nav",role:"navigation","aria-label":"Primary Nav Menu",class:"primary-nav flex z-2 w-full lg:block hidden items-center p-0 min-h-full relative h-auto top-0 ml-[8vw]"},b6={role:"menubar",class:"flex lg:flex-row lg:flex-wrap flex-col gap-x-[3vw] xl:items-center w-[100%]"},w6=["aria-expanded","onKeydown"],_6=["aria-expanded","onKeydown"],x6={tabindex:"0",class:"relative cursor-pointer transition-all duration-250"},S6={key:0,tabindex:"0",class:"agent-phone ml-auto"},C6=["href"],k6=$e({__name:"PrimaryNav",setup(e){const{oc_site:t}=Dn(Fa,Qi()),n=M(!1),o=M(!1),r=()=>{n.value=!n.value},s=()=>{o.value=!o.value};return(i,l)=>{var u;return v(),x(de,null,[C(v6),a("nav",y6,[a("ul",b6,[a("li",{onMouseover:l[1]||(l[1]=c=>n.value=!0),onMouseleave:l[2]||(l[2]=c=>n.value=!1),onFocusin:l[3]||(l[3]=c=>(n.value=!0)&&(o.value=!1)),class:"cursor-pointer"},[a("span",{"aria-haspopup":"true","aria-expanded":n.value?"true":"false",tabindex:"0",role:"button",onKeydown:[tt(He(r,["prevent"]),["enter"]),tt(He(r,["prevent"]),["space"]),l[0]||(l[0]=tt(c=>n.value=!1,["escape"]))],class:"nav-label pb-2 body-20 cursor-pointer border-b-[3px] border-white transition-all duration-250"},"What We Offer",40,w6),a("div",{class:xe(["sub-nav-section w-[100vw] fixed left-0 z-[-1] px-[10vw] pt-[3rem] pb-[4rem] bg-white flex",n.value?"block":"hidden"])},l[8]||(l[8]=[js('<div class="sub-nav-content max-w-[266px]"><h3 class="body-25 bold mb-[0.75rem]">What We Offer</h3><p class="body-17 light">Life insurance policies to help you protect your family, get out of debt and build your retirement savings.</p></div><ul class="sub-menu pl-[4vw] ml-[4vw] border-l-[1px] border-medgray columns-2 gap-[3rem]"><li><a class="py-2 px-4 block p-[10px] body-20 hover:opacity-50 transition-all duration-250" href="/term-life">Term Life</a></li><li><a class="py-2 px-4 block p-[10px] body-20 hover:opacity-50 transition-all duration-250" href="/mortgage-protection">Mortgage Protection</a></li><li><a class="py-2 px-4 block p-[10px] body-20 hover:opacity-50 transition-all duration-250" href="/permanent-life">Permanent Life</a></li><li><a class="py-2 px-4 block p-[10px] body-20 hover:opacity-50 transition-all duration-250" href="/final-expense">Final Expense</a></li><li><a class="py-2 px-4 block p-[10px] body-20 hover:opacity-50 transition-all duration-250" href="/debt-free-life">Debt Free Life<sup>®</sup></a></li><li><a class="py-2 px-4 block p-[10px] body-20 hover:opacity-50 transition-all duration-250" href="/disability">Disability</a></li><li><a class="py-2 px-4 block p-[10px] body-20 hover:opacity-50 transition-all duration-250" href="/critical-illness">Critical Illness</a></li><li><a class="py-2 px-4 block p-[10px] body-20 hover:opacity-50 transition-all duration-250" href="/retirement">Retirement Solutions</a></li></ul>',2)]),2)],32),a("li",{onMouseover:l[5]||(l[5]=c=>o.value=!0),onMouseleave:l[6]||(l[6]=c=>o.value=!1),onFocusin:l[7]||(l[7]=c=>(o.value=!0)&&(n.value=!1)),class:"cursor-pointer"},[a("span",{"aria-haspopup":"true","aria-expanded":o.value?"true":"false",tabindex:"0",role:"button",onKeydown:[tt(He(s,["prevent"]),["enter"]),tt(He(s,["prevent"]),["space"]),l[4]||(l[4]=tt(c=>o.value=!1,["escape"]))],class:"nav-label pb-2 body-20 cursor-pointer border-b-[3px] border-white transition-all duration-250"},"About",40,_6),a("div",{class:xe(["sub-nav-section w-[100vw] fixed left-0 z-[-1] px-[10vw] pt-[3rem] pb-[4rem] bg-white flex",o.value?"block":"hidden"])},l[9]||(l[9]=[js('<div class="sub-nav-content max-w-[266px]"><h3 class="body-25 bold mb-[0.75rem]">About</h3><p class="body-17 light">Meet the team and discover career opportunities with Symmetry Financial Group.</p></div><ul class="sub-menu pl-[4vw] ml-[4vw] border-l-[1px] border-medgray"><li><a class="py-2 px-4 block p-[10px] body-20 hover:opacity-50 transition-all duration-250" href="/about-us">About Us</a></li><li><a class="py-2 px-4 block p-[10px] body-20 hover:opacity-50 transition-all duration-250" href="/symmetry-stories">Symmetry Stories</a></li><li><a class="py-2 px-4 block p-[10px] body-20 hover:opacity-50 transition-all duration-250" href="/working-with-symmetry">Working With Symmetry</a></li><li><a class="py-2 px-4 block p-[10px] body-20 hover:opacity-50 transition-all duration-250" href="/contact">Contact</a></li></ul>',2)]),2)],32),a("li",x6,[C(f(zt),{href:"/blog"},{default:$(()=>l[10]||(l[10]=[a("span",{class:"nav-label pb-2 border-b-[3px] border-white hover:border-primary body-20"},"Blog",-1)])),_:1,__:[10]})]),(u=f(t))!=null&&u.phone?(v(),x("li",S6,[a("a",{class:"body-20 bold text-primary curs
106or-pointer hover:opacity-50 transition-all duration-250",href:"tel:"+f(t).phone},V(f(Ei)(f(t).phone)),9,C6)])):D("",!0)])])],64)}}}),$6={class:"site-header relative z-10 bg-white w-full pt-[2rem] pb-[1rem] px-[10vw] border-b-[1px] border-[#d8d8d8]"},A6={class:"flex xl:mb-5 lg:mb-2 mx-auto flex-row items-center"},T6={class:"logo block w-[100%] max-w-[193px] relative"},Sx={__name:"Header",setup(e){return(t,n)=>(v(),x(de,null,[n[1]||(n[1]=a("div",{class:"skip-links"},[a("a",{href:"#main-content",class:"skip-link"},"Skip to Main Content"),a("a",{href:"#main-nav",class:"skip-link"},"Skip to Main Navigation"),a("a",{href:"#main-footer",class:"skip-link"},"Skip to Footer")],-1)),a("header",$6,[a("div",A6,[a("div",T6,[C(f(zt),{class:"block relative",href:"/"},{default:$(()=>n[0]||(n[0]=[a("img",{class:"block w-full",alt:"Symmetry Financial Group logo",src:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/03a99c8f-f285-46cf-e693-8439601ab100/public"},null,-1)])),_:1,__:[0]})]),C(k6)])])],64))}};/*! js-cookie v3.0.5 | MIT */function tc(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)e[o]=n[o]}return e}var E6={read:function(e){return e[0]==='"'&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function xm(e,t){function n(r,s,i){if(!(typeof document>"u")){i=tc({},t,i),typeof i.expires=="number"&&(i.expires=new Date(Date.now()+i.expires*864e5)),i.expires&&(i.expires=i.expires.toUTCString()),r=encodeURIComponent(r).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var l="";for(var u in i)i[u]&&(l+="; "+u,i[u]!==!0&&(l+="="+i[u].split(";")[0]));return document.cookie=r+"="+e.write(s,r)+l}}function o(r){if(!(typeof document>"u"||arguments.length&&!r)){for(var s=document.cookie?document.cookie.split("; "):[],i={},l=0;l<s.length;l++){var u=s[l].split("="),c=u.slice(1).join("=");try{var d=decodeURIComponent(u[0]);if(i[d]=e.read(c,d),r===d)break}catch{}}return r?i[r]:i}}return Object.create({set:n,get:o,remove:function(r,s){n(r,"",tc({},s,{expires:-1}))},withAttributes:function(r){return xm(this.converter,tc({},this.attributes,r))},withConverter:function(r){return xm(tc({},this.converter,r),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var ad=xm(E6,{path:"/"});const P6={key:0,class:"absolute top-[-8px] right-[-8px]",src:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/861eb1e3-0dcc-4ba4-48d7-739dec115300/public"},O6=["aria-hidden"],I6={class:"modal-content flex flex-col gap-y-[1em] absolute min-w-[350px] min-h-[343px] bottom-[calc(3em+40px)] left-[1em] p-[16px] rounded-[5px] border-[1px] border-lightgray bg-white"},D6={class:"flex flex-row w-full gap-x-[10px] justify-between"},M6={class:"button-container"},R6={class:"radio-buttons"},cb="accessibility_fontSize",Cx=$e({__name:"AccessibilityWidget",setup(e){const t=M(!1),n=M(null);rt(()=>{const r=ad.get(cb);r?["Default","Large","Extra Large"].includes(r)?n.value=r:n.value="Default":console.log("Cookie is empty or does not exist. Using default value.")});const o={Default:"text-default",Large:"text-large","Extra Large":"text-xlarge"};return we(n,(r,s)=>{const i=document.documentElement;s&&o[s]&&i.classList.remove(o[s]),r&&o[r]&&i.classList.add(o[r]),ad.set(cb,r,{expires:365})},{immediate:!1}),ps(()=>{const r=document.documentElement;n.value&&o[n.value]&&r.classList.remove(o[n.value])}),(r,s)=>{const i=he("VaButton"),l=he("VaRadio");return v(),x(de,null,[a("button",{"aria-label":"Open accessibility options",onFocusin:s[0]||(s[0]=u=>t.value=!0),class:"accessibility-widget-toggle md:block hidden p-[8px] cursor-pointer fixed bottom-[2em] left-[2em] rounded-full transition-all ease-in-out duration-250 bg-medblue hover:bg-royalblue focus:bg-royalblue active:bg-midnightblue"},[s[4]||(s[4]=a("img",{class:"w-[32px] h-[32px]",src:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/a59a6d16-badd-45cc-12fd-53c4eda06700/public"},null,-1)),n.value!="Default"?(v(),x("img",P6)):D("",!0)],32),a("div",{class:xe(["accessibility-modal fixed top-0 left-0",{"w-full h-[100vh]":t.value}]),"aria-label":"Accessibility adjustments","aria-modal":"true","aria-hidden":!t.value},[a("div",I6,[a("div",D6,[s[6]||(s[6]=a("p",{class:"body-20 bold"},"Accessibility Settings",-1)),a("div",{class:"close-button text-medgray text-[24px] curs
106or-pointer",onClick:s[1]||(s[1]=u=>t.value=!1)},s[5]||(s[5]=[a("i",{"aria-label":"close Accessibility Modal",focusable:"false",class:"icon-x-close-q"},null,-1)]))]),a("div",M6,[C(i,{preset:"whiteAlt",class:"py-[4px]","data-cta-id":"accessibility-reset",onClick:s[2]||(s[2]=u=>n.value="Default")},{default:$(()=>s[7]||(s[7]=[T("Reset Settings")])),_:1,__:[7]})]),a("div",{class:xe([n.value!="Default"?"border-royalblue":"border-lightgray","accessibility-options-form border-[1px] rounded-[5px] p-[16px]"])},[s[8]||(s[8]=a("img",{class:"w-[23px] h-[16px] mx-auto",src:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/b39f77c9-e009-4efd-042b-6dfc1347c400/public"},null,-1)),s[9]||(s[9]=a("p",{class:"body-16 bold mt-2 text-center"},"Font Size",-1)),a("div",R6,[C(l,{modelValue:n.value,"onUpdate:modelValue":s[3]||(s[3]=u=>n.value=u),options:["Default","Large","Extra Large"],color:"royalblue"},null,8,["modelValue"])])],2)])],10,O6)],64)}}}),db="cloudflare-turnstile",L6="https://challenges.cloudflare.com/turnstile/v0/api.js?render=explicit",V6=1e4,B6=15e3,F6={contact:"submit_contact",recruiting:"submit_recruiting",quote:"submit_quote"},fp="We encountered an issue while completing the security check. Please refresh the page to try again. If the issue persists, try submitting through another browser or disabling extensions for this site.";let dl=null;function N6(){return window.turnstile?Promise.resolve():dl||(dl=new Promise((e,t)=>{const n=()=>{window.clearTimeout(r),dl=null,t(new Error("turnstile_script_unavailable"))},o=()=>{if(!window.turnstile){n();return}window.clearTimeout(r),e()},r=window.setTimeout(n,V6),s=document.getElementById(db);if(s){if(window.turnstile){o();return}s.addEventListener("load",o,{once:!0}),s.addEventListener("error",n,{once:!0});return}const i=document.createElement("script");i.id=db,i.src=L6,i.async=!0,i.defer=!0,i.onload=o,i.onerror=n,document.head.appendChild(i)}),dl)}function z6(){try{return qn()}catch{return null}}function j6(e={}){const t=z6(),n=w(()=>((t==null?void 0:t.props)??{}).turnstile??{enabled:!1,siteKey:null}),o=w(()=>!!(n.value.enabled&&n.value.siteKey)),r=M(!1),s=M(null),i=M(null),l=w(()=>i.value!==null),u=M(null),c=It();let d,p=null,m=null,h,g=null;const b=O=>{const j=O||e.formType;return j?F6[j]??`submit_${j}`:void 0},y=O=>{r.value=!0,s.value=O??"turnstile_unavailable"},_=(O,j)=>{h!==void 0&&(window.clearTimeout(h),h=void 0),i.value=O,O===null&&y(j);const G=m;m=null,G==null||G(O)},A=()=>i.value?Promise.resolve(i.value):new Promise(O=>{m=O,h=window.setTimeout(()=>_(null,"timeout"),B6)}),k=()=>{var O;h!==void 0&&(window.clearTimeout(h),h=void 0),m=null,i.value=null,d!==void 0&&((O=window.turnstile)==null||O.remove(d),d=void 0),p=null},E=async O=>{const{enabled:j,siteKey:G}=n.value;if(!(!j||!G||!u.value)&&(await N6(),!(d!==void 0||!u.value)&&(d=window.turnstile.render(u.value,{sitekey:G,action:b(O),theme:"light",size:"flexible",appearance:"always",execution:"render",callback:Q=>_(Q),"error-callback":Q=>_(null,Q),"timeout-callback":()=>_(null,"timeout"),"expired-callback":()=>{var Q;i.value=null,(Q=window.turnstile)==null||Q.reset(d)}}),d===void 0)))throw new Error("turnstile_render_failed")},I=O=>(p||(p=E(O).catch(j=>{y(j.message)})),p),F=O=>{if(g==null||g.disconnect(),typeof IntersectionObserver>"u"){I();return}g=new IntersectionObserver(j=>{j.some(G=>G.isIntersecting)&&(g==null||g.disconnect(),g=null,I())},{threshold:.01}),g.observe(O)};return we(u,O=>{if(!O){g==null||g.disconnect(),g=null,k();return}F(O)},{flush:"post"}),rt(()=>{var G;const O=(G=c==null?void 0:c.proxy)==null?void 0:G.$el;if(!O||typeof O.addEventListener!="function")return;const j=()=>{I()};O.addEventListener("focusin",j,{once:!0,passive:!0}),O.addEventListener("keydown",j,{once:!0,passive:!0})}),Wn(()=>{g==null||g.disconnect(),g=null,k()}),{getToken:async O=>{const{enabled:j,siteKey:G}=n.value;if(!j||!G)return null;try{return await I(O),r.value||d===void 0?null:i.value?i.value:await A()}catch(Q){return y(Q instanceof Error?Q.message:void 0),null}},reset:()=>{var O;i.value=null,d!==void 0&&((O=window.turnstile)==null||O.reset(d))},primeChallenge:I,containerRef:u,isEnabled:o,hasToken:l,isUnavailable:r,unavailableCode:s}}const U6="Too many requests. Please wait a moment and try again.",H6="An error occurred while submitting the form. Please try again.",K
106d="/lead-depot/submit",W6="Please enter a valid email address",q6="Please enter a phone number with at least 10 digits",pp="This field is required";function Hh(e={}){const t=e.submitUrl||Kd,n=[{value:"",label:"State"},{value:"AL",label:"Alabama"},{value:"AK",label:"Alaska"},{value:"AZ",label:"Arizona"},{value:"AR",label:"Arkansas"},{value:"CA",label:"California"},{value:"CO",label:"Colorado"},{value:"CT",label:"Connecticut"},{value:"DE",label:"Delaware"},{value:"FL",label:"Florida"},{value:"GA",label:"Georgia"},{value:"HI",label:"Hawaii"},{value:"ID",label:"Idaho"},{value:"IL",label:"Illinois"},{value:"IN",label:"Indiana"},{value:"IA",label:"Iowa"},{value:"KS",label:"Kansas"},{value:"KY",label:"Kentucky"},{value:"LA",label:"Louisiana"},{value:"ME",label:"Maine"},{value:"MD",label:"Maryland"},{value:"MA",label:"Massachusetts"},{value:"MI",label:"Michigan"},{value:"MN",label:"Minnesota"},{value:"MS",label:"Mississippi"},{value:"MO",label:"Missouri"},{value:"MT",label:"Montana"},{value:"NE",label:"Nebraska"},{value:"NV",label:"Nevada"},{value:"NH",label:"New Hampshire"},{value:"NJ",label:"New Jersey"},{value:"NM",label:"New Mexico"},{value:"NY",label:"New York"},{value:"NC",label:"North Carolina"},{value:"ND",label:"North Dakota"},{value:"OH",label:"Ohio"},{value:"OK",label:"Oklahoma"},{value:"OR",label:"Oregon"},{value:"PA",label:"Pennsylvania"},{value:"RI",label:"Rhode Island"},{value:"SC",label:"South Carolina"},{value:"SD",label:"South Dakota"},{value:"TN",label:"Tennessee"},{value:"TX",label:"Texas"},{value:"UT",label:"Utah"},{value:"VT",label:"Vermont"},{value:"VA",label:"Virginia"},{value:"WA",label:"Washington"},{value:"WV",label:"West Virginia"},{value:"WI",label:"Wisconsin"},{value:"WY",label:"Wyoming"},{value:"DC",label:"District of Columbia"}],o=M(!1),r=M(!1),s=M(""),i=M({}),{getToken:l,reset:u,isUnavailable:c,unavailableCode:d,containerRef:p,isEnabled:m,hasToken:h}=j6({formType:e.formType}),g=w(()=>o.value||c.value||m.value&&!h.value);we(c,ne=>{ne&&(s.value=fp)});const b=ne=>{let z=ne.replace(/\D/g,"");return z.length>=11&&z.startsWith("1")&&(z=z.slice(1)),z.length>10&&(z=z.slice(0,10)),z.length>=7?`${z.slice(0,3)}-${z.slice(3,6)}-${z.slice(6)}`:z.length>=4?`${z.slice(0,3)}-${z.slice(3)}`:z},y=ne=>{let z=ne.replace(/\D/g,"");return z.length>5&&(z=z.slice(0,5)),z},_=ne=>{let z=ne.replace(/\D/g,"");return z.length>8&&(z=z.slice(0,8)),z.length>=5?`${z.slice(0,2)}/${z.slice(2,4)}/${z.slice(4)}`:z.length>=3?`${z.slice(0,2)}/${z.slice(2)}`:z},A=ne=>{if(!ne||ne.length!==10||!/^(0[1-9]|1[0-2])\/(0[1-9]|[12]\d|3[01])\/\d{4}$/.test(ne))return!1;const[N,ae,ee]=ne.split("/").map(Number),K=new Date(ee,N-1,ae);return K.getFullYear()===ee&&K.getMonth()===N-1&&K.getDate()===ae},k=ne=>{if(!ne||!A(ne))return"";const[z,N,ae]=ne.split("/");return`${ae}-${z}-${N}`},E=ne=>Array.isArray(ne)?ne.length?null:pp:typeof ne=="string"?ne.trim()?null:pp:ne?null:pp,I=ne=>{const z=E(ne);return z||(/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(ne.trim())?null:W6)},F=ne=>{const z=E(ne);return z||(ne.replace(/\D/g,"").length<10?q6:null)},P=ne=>{const z=E(ne);return z||(ne.replace(/\D/g,"").length!==5?"Please enter a 5-digit ZIP code":null)},B=ne=>{const z=E(ne);if(z)return z;if(!A(ne))return"Please enter a valid date (MM/DD/YYYY)";const[N,ae,ee]=ne.split("/").map(Number),K=new Date(ee,N-1,ae);K.setHours(0,0,0,0);const Ie=new Date;if(Ie.setHours(0,0,0,0),K>Ie)return"Date of birth cannot be in the future";const fe=new Date(Ie);return fe.setFullYear(fe.getFullYear()-120),K<fe?"Please enter a date of birth within the last 120 years":null},O=(ne,z)=>{if(z)i.value={...i.value,[ne]:z};else if(i.value[ne]){const N={...i.value};delete N[ne],i.value=N}},j=()=>{var z;const ne=(z=document.querySelector('meta[name="csrf-token"]'))==null?void 0:z.getAttribute("content");return ne?{"X-CSRF-TOKEN":ne}:{}},G=ne=>{if(!ne)return;const z=Array.from(ne.querySelectorAll("[data-field]"));for(const N of z){const ae=N.getAttribute("data-field");if(ae&&i.value[ae]){const ee=N.querySelector("input, select, textarea, button, [tabindex]");ee==null||ee.focus();return}}},Q=ne=>
106{ne==null||ne.focus()},Y=async ne=>{var z,N,ae;if(await Ct(),ne.hadClientErrors){G((z=ne.formEl)==null?void 0:z.value);return}if(r.value){Q((N=ne.successHeadingEl)==null?void 0:N.value);return}s.value&&Q((ae=ne.errorBannerEl)==null?void 0:ae.value)},W=async(ne,z)=>{const N=await l(z);return N?{...ne,turnstileToken:N}:c.value?{...ne,turnstileUnavailableReason:d.value??"turnstile_unavailable"}:ne};return{usStates:n,isSubmitting:o,isSubmitDisabled:g,isSubmitted:r,isTurnstileEnabled:m,turnstileContainer:p,errorMessage:s,formErrors:i,formatPhone:b,formatZip:y,formatDate:_,isValidDate:A,formatDateForApi:k,requiredError:E,prospectEmailError:I,prospectPhoneError:F,zipError:P,dobError:B,setFieldError:O,submitToLeadDepot:async ne=>{var z,N,ae,ee,K,Ie;if(c.value)return s.value=fp,!1;o.value=!0,s.value="";try{const fe=typeof ne.formType=="string"?ne.formType:"";try{await vt.post(t,await W(ne,fe),{headers:j()})}catch(ge){if(((z=ge.response)==null?void 0:z.status)!==422||!((ae=(N=ge.response)==null?void 0:N.data)!=null&&ae.retryable))throw ge;u(),await vt.post(t,await W(ne,fe),{headers:j()})}return r.value=!0,!0}catch(fe){return((ee=fe.response)==null?void 0:ee.status)===429?s.value=U6:c.value?s.value=fp:s.value=((Ie=(K=fe.response)==null?void 0:K.data)==null?void 0:Ie.message)||H6,!1}finally{o.value=!1}},announceSubmitResult:Y,resetFormState:()=>{o.value=!1,r.value=!1,s.value="",i.value={}}}}function G6(){try{return qn()}catch{return null}}function fb(e){const t=No(e);return!t||typeof t!="object"?null:t}function Wh(e={}
106){const t=Dn(Fa,null),n=G6(),o=w(()=>{const u=fb(t==null?void 0:t.oc_site);return u||(n?fb(n.props.oc_site):null)}),r=w(()=>{var u;return No(e.agentCode)||((u=o.value)==null?void 0:u.agent_code)||""}),s=w(()=>{var u;return No(e.agentEmail)||((u=o.value)==null?void 0:u.email)||""}),i=w(()=>{var u;return No(e.calendarUrl)||((u=o.value)==null?void 0:u.calendar_url)||""}),l=w(()=>{var u;return No(e.agentName)||((u=o.value)==null?void 0:u.agent_name)||""});return{ocSite:o,agentCode:r,agentEmail:s,calendarUrl:i,agentName:l}}function qh(){let e=null;try{e=qn()}catch{e=null}return{isFeathery:w(()=>{const n=e==null?void 0:e.props;return(n==null?void 0:n.formProvider)!=="native"})}}const Zn=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},Y6={class:"legal-disclaimer"},K6={__name:"LegalDisclaimer",setup(e){return(t,n)=>(v(),x("div",Y6,n[0]||(n[0]=[a("p",null,`*By submitting this form, you agree to receive calls and/or text messages from Quility Insurance Holdings LLC, its affiliate Symmetry Financial Group, LLC and their affiliated companies under common control and their insurance agents (collectively, "Quility"). You agree to recurring contact from Quility via text and live, automated, artificial intelligence, or prerecorded telephone calls, including for marketing purposes. Consent to communications isn't a condition of any purchase. Message & data rates may apply.`,-1)])))}},Gh=Zn(K6,[["__scopeId","data-v-332317b9"]]),Q6={class:"lead-depot-success-copy"},X6={class:"body-20 light"},J6={__name:"LeadDepotSuccessCopy",props:{leadFirstName:{type:String,default:""},agentName:{type:String,default:""},agentEmail:{type:String,default:""},headingClass:{type:String,default:"body-35 bold mb-4"}},setup(e,{expose:t}){const n=M(null);return t({focus:()=>{var o;return(o=n.value)==null?void 0:o.focus()}}),(o,r)=>(v(),x("div",Q6,[a("h3",{ref_key:"headingEl",ref:n,class:xe(e.headingClass),tabindex:"-1"},"Thank you, "+V(e.leadFirstName)+"!",3),a("p",X6,V(e.agentName)+" will be in touch soon to connect and share more information.",1)]))}},Sm=Zn(J6,[["__scopeId","data-v-6b35b263"]]);let pb=!1,mb=!1;function sd(e,t={}){if(!e||typeof e!="string")return!1;const n={...t,host:window.location.hostname,page_path:window.location.pathname};if(typeof window<"u"&&window.zaraz&&typeof window.zaraz.track=="function")try{return window.zaraz.track(e,n),!0}catch(o){pb||(pb=!0,console.debug("[track] zaraz.track threw (logging once per page load):",o))}if(typeof window<"u"&&window.amplitude&&typeof window.amplitude.track=="function")try{return window.amplitude.track(e,n),!0}catch(o){mb||(mb=!0,console.debug("[track] amplitude.track threw (logging once per page load):",o))}return!1}const hb="ocs_domain_event_sent";let mp=!1;function id(){let e=!1,t=!0;try{e=window.sessionStorage.getItem(hb)==="1"}catch(o){console.debug("[track] sessionStorage unavailable, using in-memory fallback:",o),t=!1,e=mp}if(e)return!1;const n=sd("domain",{});if(n)if(t)try{window.sessionStorage.setItem(hb,"1")}catch(o){console.debug("[track] sessionStorage.setItem failed:",o),mp=!0}else mp=!0;return n}typeof document<"u"&&typeof document.addEventListener=="function"&&(typeof window<"u"&&window.zaraz&&typeof window.zaraz.track=="function"&&id(),document.addEventListener("zarazReady",()=>id(),{once:!0}));const Z6=["id"],eP=400,Yh={__name:"FeatheryForm",props:{formId:String,fields:Object,redirectUrl:{type:String,default:""}},setup(e){const t=e,o=It().appContext.config.globalProperties.$feathery,r=M(null);let s=null,i=null;const l=[".feathery-y5fpn4-intro-text","#get-connected-modal-intro","#contact-rbwfPa-intro-text","#feathery-rbwfPa-intro-text"],u=()=>{const p=[document];window.top&&window.top!==window&&p.push(window.top.document),p.forEach(m=>{try{l.forEach(h=>{m.querySelectorAll(h).forEach(g=>{g.style.display="none"})})}catch{}})},c=p=>p&&(p.querySelector('[data-feathery-id="calendly_iframe"]')||p.querySelector('iframe[src*="calendly"]'))?(u(),!0):!1,d=p=>{var A;const h=(((A=window.top)==null?void 0:A.document)??document).getElementById(p);if(!h)return;const g=()=>{c(h)&&(s==null||s.disconnect(),s=null,i&&(clearInterval(i),i=null))};s=new MutationObserver(g),s.observe(h,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["src"]}),g();const b=400,y=6e4;let _=0;i=setInterval(()=>{_+=b,c(h)?(clearInterval(i),i=null,s==null||s.disconnect(),s=null):_>=y&&(clearInterval(i),i=null)},b)};return rt(async()=>{var p;if(!o){console.error("Feathery is not available.");return}try{await Ct();const m=`form_${t.formId}`;let h=document.getElementById(m);if(h||(await new Promise(b=>setTimeout(b,100)),h=document.getElementById(m)),!h){console.error("FeatheryForm: container not found:",m);return}await o.init("6936cc66-0966-4cf5-ac23-6641b3dcff80");const g=(p=t.fields)==null?void 0:p.agent_calendly_url;r.value=await o.renderAt(m,{formId:t.formId,initialValues:{...t.fields},loginEnabled:!1,onSubmit:b=>{var y;sd("FeatheryStepSubmit",{form_id:t.formId,step_key:((y=b==null?void 0:b.step)==null?void 0:y.key)??(b==null?void 0:b.stepKey)??null}),u(),requestAnimationFrame(u),setTimeout(u,100)},onFormComplete:b=>{if(!b){console.error("Feathery 'onFormComplete' callback did not provide a data object.");return}sd("FeatheryFormComplete",{form_id:t.formId});const y=b.fields.ocFirst.value||"",_=b.fields.ocLast.value||"",A=b.fields.ocEmail.value||"",k=b.fields.ocPhone.value||"",I=`${g||""}?name=${y}%20${_}&email=${A}&location=${k}&last_name=${_}&first_name=${y}`;I?r.value.setFieldValues({agent_calendly_url:I}):console.error("Could not set iframe URL: the setValues function is not available."),u(),requestAnimationFrame(u),setTimeout(u,100),t.redirectUrl&&setTimeout(()=>{window.location.assign(t.redirectUrl)},eP)}}),d(m)}catch(m){console.error("Feathery form failed to load:",m)}}),ps(()=>{var p,m;i&&(clearInterval(i),i=null),s==null||s.disconnect(),s=null,(m=(p=r.value)==null?void 0:p.destroy)==null||m.call(p)}),(p,m)=>(v(),x("div",{id:`form_${t.formId}`},null,8,Z6))}},tP={key:0,id:"feathery-rbwfPa-intro-text",class:"intro-text mb-3"},nP={key:0,class:"success-message","aria-live":"polite"},oP={key:0,class:"intro-text mb-3"},rP={class:"form-row pair-row"},aP={class:"form-item","data-field":"firstName"},sP={class:"form-item","data-field":"lastName"},iP={class:"form-row pair-row"},lP={class:"form-item","data-field":"email"},uP={class:"form-item","data-field":"phone"},cP={class:"form-row location-row"},dP={class:"form-item city-group","data-field":"city"},fP={class:"form-item state-group","data-field":"state"},pP={class:"form-item zip-group","data-field":"zip"},mP={class:"actions-container profile-tab-actions form-actions"},hP={__name:"ContactForm",props:{compact:{type:Boolean,default:!1},submitUrl:{type:String,default:Kd},agentCode:{type:String,default:""},agentName:{type:String,default:""},agentEmail:{type:String,default:""}},setup(e){const t=e,{isFeathery:n}=qh(),{agentCode:o,agentName:r,agentEmail:s}=Wh({agentCode:()=>t.agentCode,agentName:()=>t.agentName,agentEmail:()=>t.agentEmail}),{usStates:i,formatPhone:l,formatZip:u,isSubmitting:c,isSubmitDisabled:d,isSubmitted:p,isTurnstileEnabled:m,turnstileContainer:h,errorMessage:g,formErrors:b,requiredError:y,prospectEmailError:_,prospectPhoneError:A,zipError:k,setFieldError:E,submitToLeadDepot:I,announceSubmitResult:F}=Hh({submitUrl:t.submitUrl,formType:"contact"}),P=M(null),B=M(null),O=M(null),j=i.filter(ee=>ee.value),G=M(Oh()),Q=Ti(),Y=w(()=>({agentAgentCode:o.value,extPartnerID:G.value,dateReceived:Q,leadType:"Life Insurance",product_type:"Life Insurance"}
106)),W=M({firstName:"",lastName:"",email:"",phone:"",city:"",state:"",zip:""}),re=ee=>{var K;return typeof ee=="string"?ee:((K=ee==null?void 0:ee.target)==null?void 0:K.value)??""},oe=ee=>{W.value.phone=l(re(ee))},ne=ee=>{W.value.zip=u(re(ee))},z=ee=>{let K=null;switch(ee){case"firstName":case"lastName":case"city":case"state":K=y(W.value[ee]);break;case"email":K=_(W.value.email);break;case"phone":K=A(W.value.phone);break;case"zip":K=k(W.value.zip);break}return E(ee,K),!K},N=()=>(["firstName","lastName","email","phone","city","state","zip"].forEach(z),Object.keys(b.value).length===0),ae=async()=>{if(!N()){await F({formEl:P,hadClientErrors:!0});return}const K=`${W.value.firstName} ${W.value.lastName}`,Ie={formType:"contact",dnc:!1,zip:W.value.zip,city:W.value.city,email:W.value.email,phone:W.value.phone,state:W.value.state,last01:W.value.lastName,first01:W.value.firstName,leadName:K,agentCode:o.value,cellPhone:W.value.phone,fullName01:K,dateReceived:Ti(),extPartnerID:G.value};await I(Ie),await F({formEl:P,successHeadingEl:O,errorBannerEl:B})};return(ee,K)=>{const Ie=he("VaAlert"),fe=he("VaInput"),ge=he("VaSelect"),Fe=he("VaButton"),ye=he("VaForm");return f(n)?(v(),x("div",{key:0,class:xe(["contact-form-container ocs-form-wrapper",{compact:t.compact}])},[t.compact?(v(),x("div",tP,K[14]||(K[14]=[a("h3",{class:"body-17 bold mb-[5px]"},"How can we help you today?",-1),a("p",{class:"body-15 light"},"Please fill out this form and we will get back to you shortly.",-1)]))):D("",!0),C(Yh,{"form-id":"rbwfPa",fields:Y.value},null,8,["fields"])],2)):(v(),x("div",{key:1,class:xe(["contact-form-container ocs-form-wrapper",{compact:t.compact}])},[f(p)?(v(),x("div",nP,[K[15]||(K[15]=a("div",{class:"success-icon"},[a("svg",{xmlns:"http://www.w3.org/2000/svg",width:"64",height:"64",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[a("path",{d:"M22 11.08V12a10 10 0 1 1-5.93-9.14"}),a("polyline",{points:"22 4 12 14.01 9 11.01"})])],-1)),C(Sm,{ref_key:"successHeadingEl",ref:O,"lead-first-name":W.value.firstName,"agent-name":f(r),"agent-email":f(s)},null,8,["lead-first-name","agent-name","agent-email"])])):(v(),x("form",{key:1,ref_key:"formEl",ref:P,onSubmit:He(ae,["prevent"]),class:"contact-form"},[t.compact?(v(),x("div",oP,K[16]||(K[16]=[a("h3",{class:"body-17 bold mb-[5px]"},"How can we help you today?",-1),a("p",{class:"body-15 light"},"Please fill out this form and we will get back to you shortly.",-1)]))):D("",!0),f(g)?(v(),x("div",{key:1,ref_key:"errorBannerEl",ref:B,class:"error-banner",tabindex:"-1"},[C(Ie,{preset:"errors",class:"w-full",role:"alert","aria-live":"assertive"},{default:$(()=>[T(V(f(g)),1)]),_:1})],512)):D("",!0),C(ye,{tag:"div"},{default:$(()=>[a("div",rP,[a("div",aP,[C(fe,{modelValue:W.value.firstName,"onUpdate:modelValue":K[0]||(K[0]=ce=>W.value.firstName=ce),label:"First Name",placeholder:"First Name","required-mark":"",class:"w-full",disabled:f(c),error:!!f(b).firstName,"error-messages":f(b).firstName,onBlur:K[1]||(K[1]=ce=>z("firstName"))},null,8,["modelValue","disabled","error","error-messages"])]),a("div",sP,[C(fe,{modelValue:W.value.lastName,"onUpdate:modelValue":K[2]||(K[2]=ce=>W.value.lastName=ce),label:"Last Name",placeholder:"Last Name","required-mark":"",class:"w-full",disabled:f(c),error:!!f(b).lastName,"error-messages":f(b).lastName,onBlur:K[3]||(K[3]=ce=>z("lastName"))},null,8,["modelValue","disabled","error","error-messages"])])]),a("div",iP,[a("div",lP,[C(fe,{modelValue:W.value.email,"onUpdate:modelValue":K[4]||(K[4]=ce=>W.value.email=ce),label:"Email",placeholder:"Email",type:"email","required-mark":"",class:"w-full",disabled:f(c),error:!!f(b).email,"error-messages":f(b).email,onBlur:K[5]||(K[5]=ce=>z("email"))},null,8,["modelValue","disabled","error","error-messages"])]),a("div",uP,[C(fe,{modelValue:W.value.phone,"onUpdate:modelValue":K[6]||(K[6]=ce=>W.value.phone=ce),label:"Phone",placeholder:"000-000-0000","required-mark":"",class:"w-full",disabled:f(c),error:!!f(b).phone,"error-messages":f(b).phone,onInput:oe,onBlur:K[7]||(K[7]=ce=>z("phone"))},null,8,["modelValue","disabled","error","error-messages"])])]),a("div",cP,[a("div",dP,[C(fe,{modelValue:W.value.city,"onUpdate:modelValue":K[8]||(K[8]=ce=>W.value.city=ce),label:"City",placeholder:"City","required-mark":"",class:"w-full",disabled:f(c),error:!!f(b).city,"error-messages":f(b).city,onBlur:K[9]||(K[9]=ce=>z("city"))},null,8,["modelValue","disabled","error","error-messages"])]),a("div",fP,[C(ge,{modelValue:W.value.state,"onUpdate:modelValue":K[10]||(K[10]=ce=>W.value.state=ce),label:"State",options:f(j),"text-by":"label","value-by":"value",placeholder:"State","required-mark":"",class:"w-full",disabled:f(c),error:!!f(b).state,"error-messages":f(b).state,onBlur:K[11]||(K[11]=ce=>z("state"))},null,8,["modelValue","options","disabled","error","error-messages"])]),a("div",pP,[C(fe,{modelValue:W.value.zip,"onUpdate:modelValue":K[12]||(K[12]=ce=>W.value.zip=ce),label:"Zip",placeholder:"Zip",maxlength:5,"required-mark":"",class:"w-full",disabled:f(c),error:!!f(b).zip,"error-messages":f(b).zip,onInput:ne,onBlur:K[13]||(K[13]=ce=>z("zip"))},null,8,["modelValue","disabled","error","error-messages"])])]),C(Gh),f(m)?(v(),x("div",{key:0,ref_key:"turnstileContainer",ref:h,class:"turnstile-widget","aria-label":"Security check"},null,512)):D("",!0),a("div",mP,[C(Fe,{type:"submit",preset:"callToAction",color:"royalblue",class:"profile-tab-actions__save",disabled:f(d),loading:f(c)},{default:$(()=>K[17]||(K[17]=[T(" Submit ")])),_:1,__:[17]},8,["disabled","loading"])])]),_:1})],544))],2))}}}
106,kx=Zn(hP,[["__scopeId","data-v-c838a00f"]]),gP=["aria-hidden"],vP={class:"modal-content flex flex-col absolute max-w-[380px] bottom-0 right-[1em] rounded-[15px] overflow-hidden shadow-md bg-white"},yP={class:"modal-top bg-[#33C5FF] px-[15px] py-[19px] flex flex-row"},bP={class:"agent-image-holder"},wP=["alt"],_P={class:"agent-info"},xP={class:"body-20 bold text-white"},SP={class:"body-12 light"},CP={key:0},kP={class:"modal-content-container py-[20px] px-[15px]"},$x=$e({__name:"ChatWidget",setup(e){const t=M(!1),n=M(!1),{oc_site:o}=Dn(Fa,Qi()),r=()=>{n.value=!0,ad.set("helpWidgetClosed","true",{expires:365})};return rt(()=>{ad.get("helpWidgetClosed")==="true"&&(n.value=!0)}),(s,i)=>{var l,u,c,d,p,m;return v(),x(de,null,[a("button",{class:xe([{hidden:t.value||n.value,block:!t.value&&!n.value},"close-chat-help fixed bottom-[calc(3em+40px)] right-[calc(2em+150px)] w-[40px] h-[40px] rounded-full transition-all ease-in-out duration-250 p-[4px] bg-white"]),"aria-label":"Close help message",onClick:r},i[2]||(i[2]=[a("div",{class:"close-button text-[#222] text-[24px] cursor-pointer"},[a("i",{"aria-label":"close Accessibility Modal",focusable:"false",class:"icon-x-close-q"})],-1)]),2),a("div",{onClick:i[0]||(i[0]=h=>t.value=!t.value),class:xe([{hidden:t.value||n.value,block:!t.value&&!n.value},"help-message cursor-pointer fixed bottom-[calc(3em+51px)] right-[2em] body-15 light py-[8px] px-[15px] w-[150px] bg-white rounded-[20px]"])},"Need any help?",2),a("button",{"aria-label":"Toggle chat support modal",onClick:i[1]||(i[1]=h=>t.value=!t.value),class:"chat-widget-toggle z-60 cursor-pointer fixed bottom-[2em] right-[2em] transition-all ease-in-out duration-250"},[a("img",{class:xe(["w-[48px] h-[48px]",t.value?"hidden":"block"]),src:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/5e48ad05-b0f9-4f38-fcf6-ef56a0426a00/public"},null,2),a("img",{class:xe(["w-[48px] h-[48px]",t.value?"block":"hidden"]),src:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/afe8e993-81a6-4bf0-3c5a-ea86db43a300/public"},null,2)]),a("div",{class:xe(["chat-modal fixed bottom-[calc(3em+40px)] right-0 z-20",t.value?"w-full h-[calc(100vh-3em-40px)] block":"hidden"]),"aria-label":"Chat support","aria-modal":"true","aria-hidden":!t.value},[a("div",vP,[a("div",yP,[a("div",bP,[(l=f(o))!=null&&l.profile_image_url?(v(),x("div",{key:0,alt:(u=f(o))==null?void 0:u.agent_name,class:"agent-image mr-[15px] content-center rounded-full w-[50px] h-[50px] bg-cover bg-no-repeat bg-center border-primary border-[2px]",style:ze("background-image: url("+((c=f(o))==null?void 0:c.profile_image_url)+")")},null,12,wP)):D("",!0)]),a("div",_P,[a("h4",xP,V((d=f(o))==null?void 0:d.agent_name),1),a("p",SP,[(p=f(o))!=null&&p.title?(v(),x("span",CP,V((m=f(o))==null?void 0:m.title),1)):D("",!0)])])]),a("div",kP,[C(kx,{compact:""})])])],10,gP)],64)}}}),$P={id:"main-footer",class:"site-footer w-full bg-darkgray"},AP={class:"container w-[80vw] py-[4em]"},TP={class:"agent-info-container content-center bg-white px-[40px] py-[30px] rounded-[15px] flex flex-col lg:flex-row lg:gap-x-[3vw] xl:gap-x-[4vw] lg:items-center"},EP={class:"agent-data"},PP={class:"body-25 bold"},OP={key:0,class:"body-15 light lg:my-0 my-[0.5em]"},IP={key:0,class:"agent-info agent-location flex items-center my-[0.5em] :lg-my-0"},DP={class:"icon rounded-full bg-primary w-[40px] h-[40px] mr-4 inline-block relative"},MP={key:0},RP={key:1},LP={key:1,class:"agent-info agent-phone flex items-center my-[0.5em] :lg-my-0"},VP=["href"],BP={class:"icon rounded-full bg-primary w-[40px] h-[40px] mr-4 inline-block relative"},FP={class:"agent-info agent-email flex items-center my-[0.5em] :lg-my-0"},NP=["href"],zP={class:"icon rounded-full bg-primary w-[40px] h-[40px] mr-4 inline-block relative"},jP={class:"footer-bottom flex md:flex-row flex-col text-white md:gap-x-[4vw] md:gap-y-0 gap-y-[2em] py-[2rem]"},UP={class:"footer-bottom-left flex-none max-w-[266px] gap-y-[1em]"},HP={class:"footer-links mb-[1em]"},WP={class:"copyright"},qP={class:"body-12 bold"},GP={class:"footer-bottom-right"},YP={class:"body-12 mb-[1em]"},Ax={__name:"Footer",setup(e){var s;const t=M("");rt(()=>{const i=new Date;t.value=i.getFullYear()});const{oc_site:n}=Dn(Fa,Qi()),r=(((s=Mt.page)==null?void 0:s.url)||"/")!=="/contact";return(i,l)=>{var c,d,p,m,h,g;const u=he("font-awesome-icon");return v(),x(de,null,[a("footer",$P,[a("div",AP,[l[6]||(l[6]=a("h2",{class:"body-35 bold text-white mb-[1em]"},"Contact",-1)),a("div",TP,[a("div",EP,[a("h3",PP,V(f(n).agent_name),1),(c=f(n))!=null&&c.agency_name?(v(),x("p",OP,V(f(n).agency_name),1)):D("",!0)]),(d=f(n))!=null&&d.city||(p=f(n))!=null&&p.state?(v(),x("div",IP,[a("span",DP,[C(u,{"aria-hidden":"true",class:"text-white absolute top-[50%] left-[50%] translate-x-[-50%] translate-y-[-50%]",icon:["fas","location-dot"]})]),(m=f(n))!=null&&m.city?(v(),x("span",MP,V(f(n).city),1)):D("",!0),(h=f(n))!=null&&h.state?(v(),x("span",RP,", "+V(f(n).state),1)):D("",!0)])):D("",!0),(g=f(n))!=null&&g.phone?(v(),x("div",LP,[a("a",{tabindex:"0",class:"flex text-black items-center underline transition-all ease-in-out duration-250 hover:opacity-50",href:"tel:"+f(n).phone},[a("span",BP,[C(u,{"aria-hidden":"true",class:"text-white absolute top-[50%] left-[50%] translate-x-[-50%] translate-y-[-50%]",icon:["fas","phone"]})]),T(" "+V(f(Ei)(f(n).phone)),1)],8,VP)])):D("",!0),a("div",FP,[a("a",{tabindex:"0",class:"flex text-black items-center underline transition-all ease-in-out duration-250 hover:opacity-50",href:"mailto:"+f(n).email},[a("span",zP,[C(u,{"aria-hidden":"true",class:"text-white absolute top-[50%] left-[50%] translate-x-[-50%] translate-y-[-50%]",icon:["fas","envelope"]})]),T(" "+V(f(n).email),1)],8,NP)])]),a("div",jP,[a("div",UP,[a("div",HP,[C(f(zt),{tabindex:"0",class:"underline bold body-17",href:"/privacy"},{default:$(()=>l[0]||(l[0]=[T("Privacy Policy")])),_:1,__:[0]}),C(f(zt),{tabindex:"0",class:"underline bold body-17 pl-4 ml-4 border-l-[1px] border-color-white bold",href:"/lice
106nses"},{default:$(()=>l[1]||(l[1]=[T("Licenses")])),_:1,__:[1]})]),l[4]||(l[4]=a("div",{class:"bbb-accredited max-w-[182px] my-[20px]"},[a("img",{class:"w-full",src:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/5389d873-05d8-4ccc-40f2-29a6c3020900/public"})],-1)),a("div",WP,[a("p",qP,[T("Copyright © "+V(t.value)+" Symmetry Financial Group. ",1),l[2]||(l[2]=a("br",{class:"md:visible hidden"},null,-1)),l[3]||(l[3]=T("All Rights Reserved."))])])]),a("div",GP,[a("p",YP," “Quility” is a brand name used by the Quility family of companies. All insurance offers, solicitations, and recommendations made via this website are being made by Quility's licensed affiliated insurance producers, Symmetry Financial Group, LLC (d/b/a Symmetry Insurance Services in California) and "+V(f(n).agent_name)+". No offers, solicitations or recommendations are being made via this website in License Page for a list of all of Symmetry Financial Group, LLC's (d/b/a Symmetry Insurance Services in California) and "+V(f(n).agent_name)+"'s license numbers in each state. ",1),l[5]||(l[5]=a("p",{class:"body-12"}," No agent's success, earnings, or production results should be viewed as typical, average, or expected. Not all agents achieve the same or similar results, and no particular results are guaranteed. Your level of success will be determined by several factors, including the amount of work you put in, your ability to successfully follow and implement our training and sales system and engage with our lead system, and the insurance needs of the customers in the geographic areas in which you choose to work. ",-1))])])])]),C(Cx),r?(v(),X($x,{key:0})):D("",!0)],64)}}},gb={light:{primary:"#154EC1",secondary:"#767C88",success:"#3D9209",info:"#158DE3",danger:"#E42222",warning:"#FFD43A",backgroundPrimary:"#f6f6f6",backgroundSecondary:"#FFFFFF",backgroundElement:"#ECF0F1",backgroundBorder:"#DEE5F2",textPrimary:"#262824",textInverted:"#FFFFFF",shadow:"rgba(0, 0, 0, 0.12)",focus:"#49A8FF",transparent:"rgba(0, 0, 0, 0)"},dark:{primary:"#3472F0",secondary:"#767C88",success:"#66BE33",info:"#3EAAF8",danger:"#F34030",warning:"#FFD952",backgroundPrimary:"#050A10",backgroundSecondary:"#1F262F",backgroundElement:"#131A22",backgroundBorder:"#3D4C58",textPrimary:"#F1F1F1",textInverted:"#0B121A",shadow:"rgba(255, 255, 255, 0.12)",focus:"#49A8FF",transparent:"rgba(0, 0, 0, 0)"}},KP={xs:0,sm:640,md:1024,lg:1440,xl:1920},QP=()=>({enabled:!0,bodyClass:!0,thresholds:KP}),Cm=(e,t=null)=>$(()=>[e],t),vb=e=>typeof e=="string"?nn(Ta,e):zs(e)?e:X(e),XP=(e,t=null)=>Object.keys(e).reduce((n,o)=>{const r=e[o];return n[o]=typeof r=="function"?r:Cm(r,t),n},{}),JP=e=>{const t=e.render||e.ssrRender;if(!t)return;const n=t.name==="_sfc_render"||t.name==="_sfc_ssrRender";return function(...o){const r=o[0],s=r.$.slots,i=new Proxy(r,{get(u,c){return c==="$slots"?XP(s):u[c]}}),l=n?void 0:i;return t.call(l,i,...o.slice(1))}},Ia=(e,t)=>Object.keys(e).filter(n=>!t.includes(n)).reduce((n,o)=>(n[o]=e[o],n),{}),km="child:",Tx="$va:childComponents",Ex=e=>Object.keys(e).reduce((t,n)=>{const o=`${km}${n}`;return t[o]={type:Object,required:!1,default:void 0},t},{}),Px=e=>{const t=w(()=>Object.keys(e).reduce((o,r)=>{if(r.startsWith(km)){const s=r.slice(km.length);o[s]=e[r]}return o},{}));cr(Tx,t)},Kh=()=>{var e;const t=(e=It())==null?void 0:e.attrs["va-child"];if(!t)return null;const n=Dn(Tx);return n!=null&&n.value?w(()=>n.value[t]):null},ZP=/([a-z0-9])([A-Z])/g,e8=e=>e.replace(ZP,"$1-$2").toLowerCase(),t8=(e,t)=>t in e?e[t]:e[e8(t)],n8=(e,t)=>{const n=e.props,o=Kh();return new Proxy(n,{get:(r,s)=>{var i,l;if(typeof s!="string")return r[s];const u=(i=o==null?void 0:o.value)==null?void 0:i[s];if(u!==void 0)return u;const c=e.vnode.props||{},d=r[s];if(t8(c,s)!==void 0)return d;const m=(l=t.value)==null?void 0:l[s];return m!==void 0?m:d}})},o8=(e,t)=>{const n=e.attrs;return new Proxy(n,{get:(o,r)=>{var s;if(typeof r!="string")return o[r];if(r==="class")return xe([t.value.class,n.class]);if(r==="style")return ze([t.value.style,n.style]);const i=(s=t.value)==null?void 0:s[r];return i!==void 0?i:o[r]},ownKeys(o){return[...new Set([...Object.keys(n),...Object.keys(t.value)])]},getOwnPropertyDescriptor(o,r){return Reflect.getOwnPropertyDescriptor(t.value,r)??Reflect.getOwnPropertyDescriptor(n,r)}})},hp="slot:",r8=(e,t)=>
106{const n=e.slots,o=Kh(),r=w(()=>Object.keys(t.value).reduce((s,i)=>(i.startsWith(hp)&&(s[i.slice(hp.length)]=t.value[i]),s),{}));return new Proxy(n,{get:(s,i)=>{var l,u;if(typeof i!="string")return s[i];const c=`${hp}${i}`,d=(l=o==null?void 0:o.value)==null?void 0:l[c];if(d!==void 0)return Cm(vb(d));const p=s[i];if(p!==void 0)return p;const m=(u=r.value)==null?void 0:u[i];return m!==void 0?Cm(vb(m)):p},ownKeys(s){return[...new Set([...Object.keys(n),...Object.keys(r.value)])]},getOwnPropertyDescriptor(s,i){return Reflect.getOwnPropertyDescriptor(r.value,i)??Reflect.getOwnPropertyDescriptor(n,i)}})},Ox="VaLocalConfig",a8=w(()=>[]);function Qh(){return Dn(Ox,a8)}function Ix(e){cr(Ox,e)}function s8(e){const t=Qh(),n=w(()=>[...t.value,e.value]);Ix(n)}const i8=[null,void 0,""],l8=[null,void 0],la=e=>i8.includes(e),yb=e=>!la(e),gp=e=>l8.includes(e),u8=typeof process<"u"?process:{},c8=u8.env||{},d8=c8.NODE_ENV||"",Xh=typeof __DEV__<"u"?__DEV__:!["prod","production"].includes(d8),dr=(...e)=>(Xh&&console.warn(...e),!1),f8=e=>{throw new Error(`[Vuestic] ${e}`)};let $m=null,fl=null;const bb=e=>{(fl==null?void 0:fl._instance)===null&&(fl=null),!(e===null&&fl===null)&&(fl=$m,$m=e)},Jh=()=>$m,p8=(e,t=void 0)=>{var n;const o=(n=Jh())==null?void 0:n._context.provides[e];return It()?Dn(e,t):o??f8("You're using Vuestic composable outside Vue app. Since you registered Vuestic in multiple apps, composables can not be used outside setup function anymore.")},Vs=e=>e!==null&&typeof e=="object",Es=e=>e===null||typeof e!="object"?e:Array.isArray(e)?e.map(Es):e instanceof Date?new Date(e.getTime()):e instanceof RegExp?new RegExp(e.source,e.flags):e instanceof Map?new Map(Array.from(e.entries()).map(([t,n])=>[t,Es(n)])):e instanceof Set?new Set(Array.from(e.values()).map(Es)):Vs(e)?Object.keys(e).reduce((t,n)=>(t[n]=Es(e[n]),t),{}):e,vp=e=>e&&typeof e=="object"&&!Array.isArray(e),Hs=(e,t)=>(vp(e)||(e={}),Object.keys(t).forEach(n=>{const o=e[n],r=t[n];r instanceof RegExp||r instanceof Date?e[n]=r:vp(o)&&vp(r)?e[n]=Hs(Object.create(Object.getPrototypeOf(o),Object.getOwnPropertyDescriptors(o)),r):e[n]=r}),e),m8=(...e)=>e.reduce((t,n)=>Hs(t,n),{}),h8=[{prefix:"bg",property:"background-color"},{prefix:"text",property:["color","fill"]}],g8=()=>h8,Dx=e=>({...e,get variables(){return this.presets[this.currentPresetName]},set variables(t){this.presets[this.currentPresetName]=t}}),v8=()=>Dx({threshold:150,presets:{light:gb.light,dark:gb.dark},currentPresetName:"light"}),y8=e=>e,b8=y8([{name:"va-unsorted",to:"swap_vert"},{name:"va-sort-asc",to:"va-arrow-up"},{name:"va-sort-desc",to:"va-arrow-down"},{name:"va-arrow-first",to:"mi-first_page"},{name:"va-arrow-last",to:"mi-last_page"},{name:"va-arrow-right",to:"mi-chevron_right"},{name:"va-arrow-left",to:"mi-chevron_left"},{name:"va-arrow-down",to:"mi-expand_more"},{name:"va-arrow-up",to:"mi-expand_less"},{name:"va-calendar",to:"mi-calendar_today"},{name:"va-delete",to:"mi-delete_outline"},{name:"va-check",to:"mi-check"},{name:"va-check-circle",to:"mi-check_circle"},{name:"va-warning",to:"mi-warning"},{name:"va-clear",to:"mi-highlight_off"},{name:"va-close",to:"mi-close"},{name:"va-loading",to:"mi-loop"},{name:"va-plus",to:"mi-add"},{name:"va-minus",to:"mi-remove"}]),w8=[{name:"mi-{icon}",class:"material-icons",resolve:({icon:e})=>({content:e})},{name:"{icon}",class:"material-icons",resolve:({icon:e})=>({content:e})}],Mx=e=>(e.aliases=e.aliases||[],e.fonts=e.fonts||[],[...e.aliases,...b8,...e.fonts,...w8]),_8=()=>Mx({}),x8=()=>({VaIcon:{sizesConfig:{defaultSize:18,sizes:{small:14,medium:18,large:24}}},VaRating:{sizesConfig:{defaultSize:18,sizes:{small:14,medium:18,large:24}}},all:{},presets:{VaButton:{default:{backgroundOpacity:1,hoverBehavior:"mask",hoverOpacity:.15,pressedBehavior:"mask",pressedOpacity:.13},primary:{backgroundOpacity:.1,hoverBehavior:"opacity",hoverOpacity:.07,pressedBehavior:"opacity",pressedOpacity:.13},secondary:{backgroundOpacity:0,hoverBehavior:"opacity",hoverOpacity:.07,pressedBehavior:"opacity",pressedOpacity:.13},plain:{plain:!0,hoverBehavior:"mask",hoverOpacity:.15,pressedBehavior:"mask",pressedOpacity:.13},plainOpacity:{plain:!0,textOpacity:.6,hoverBehavior:"opacity",hoverOpacity:1,pressedBehavior:"opacity",pressedOpacity:.9}},VaInputWrapper:{solid:{background:"backgroundElement"},bordered:{class:"va-input-wrapper--bordered",background:"backgroundElement"}},VaCheckbox:{solid:{style:"--va-checkbox-background: var(--va-background-element)"}},VaRadio:{solid:{style:"--va-radio-background: var(--va-background-element)"}},VaMenu:{context:{cursor:!0,placement:"right-start",trigger:"right-click"}}}}),S8=()=>({search:"Search",noOptions:"Items not found",ok:"OK",cancel:"Cancel",uploadFile:"Upload file",undo:"Undo",dropzone:"Drop files here to upload",fileDeleted:"File deleted",closeAlert:"close alert",backToTop:"back to top",toggleDropdown:"toggle dropdown",carousel:"carousel",goPreviousSlide:"go previous slide",goNextSlide:"go next slide",goSlide:"go slide {index}",slideOf:"slide {index} of {length}",close:"close",openColorPicker:"open color picker",colorSelection:"color selection",colorName:"color {color}",decreaseCounter:"decrease counter",increaseCounter:"increase counter",selectAllRows:"select all rows",sortColumnBy:"sort column by {name}",selectRowByIndex:"select row {index}",resetDate:"reset date",nextPeriod:"next period",switchView:"switch view",previousPeriod:"previous period",removeFile:"remove file",reset:"reset",pagination:"pagination",goToTheFirstPage:"go to the first page",goToPreviousPage:"go to the previous page",goToSpecificPage:"go to the {page} page",goToSpecificPageInput:"enter the page number to go",goNextPage:"go next page",goLastPage:"go last page",currentRating:"current rating {value} of {max}",voteRating:"vote rating {value} of {max}",optionsFilter:"options filter",splitPanels:"split panels",movePaginationLeft:"move pagination left",movePaginationRight:"move pagination right",resetTime:"reset time",closeToast:"close toast",selectedOption:"Selected option",noSelectedOption:"Option is not selected",breadcrumbs:"breadcrumbs",counterValue:"counter value",selectedDate:"selected date",selectedTime:"selected time",progressState:"progress state",color:"color",next:"Next",back:"Previous",finish:"Finish",step:"step",progress:"progress",loading:"Loading",sliderValue:"Current slider value is {value}",sliderDot:"Slider dot",sliderMaxDot:"Maximum slider value",sliderMinDot:"Minimum slider value",switch:"Switch",inputField:"Input field",fileTypeIncorrect:"File type is incorrect",select:"Select an option"}),Qd=Symbol("GLOBAL_CONFIG"),C8=()=>({colors:v8(),icons:_8(),components:x8(),breakpoint:QP(),i18n:S8(),colorsClasses:g8(),routerComponent:void 0}),Rx=(e={})=>{const t=M(Hs(C8(),e));return{getGlobalConfig:()=>t.value,setGlobalConfig:s=>{const i=typeof s=="function"?s(t.value):s;t.value=Es(i)},mergeGlobalConfig:s=>{const i=typeof s=="function"?s(t.value):s;t.value=Hs(Es(t.value),i)},globalConfig:t}},k8=e=>{var t,n;const o=((t=It())==null?void 0:t.appContext.provides)||((n=Jh())==null?void 0:n._context.provides);if(!o)throw new Error("Vue app not found for provide");return o[Qd]=e,e};function hs(){let e=p8(Qd);return e||(e=Rx(),k8(e)),e}const $8=e=>"preset"in e,wb=e=>$8(e)?e.preset:void 0,A8=(e,t)=>
106{const n=Qh(),{globalConfig:o}=hs(),r=e.name,s=l=>(l instanceof Array?l:[l]).reduce((u,c)=>{var d,p,m;const h=(m=(p=(d=o.value.components)==null?void 0:d.presets)==null?void 0:p[r])==null?void 0:m[c];if(!h)return u;const g=wb(h);return{...u,...g?s(g):void 0,...h}},{}),i=Kh();return w(()=>{var l,u;const c={...(l=o.value.components)==null?void 0:l.all,...(u=o.value.components)==null?void 0:u[r]},d=n.value.reduce((h,g)=>{const b=g[r];return b?{...h,...b}:h},{}),p=[t,i==null?void 0:i.value,d,c].filter(yb).map(wb).filter(yb).at(0),m=p?s(p):void 0;return{...c,...d,...m}})},T8=e=>(t,n)=>{var o;const r=It(),s=A8(e,t),i=w(()=>Ia(s.value,Object.keys(t))),l=n8(r,s),u=o8(r,i),c=r8(r,s);r.props=l,r.attrs=u,r.slots=c;const d=(o=e.setup)==null?void 0:o.call(e,xs(l),{...n,attrs:u,slots:c});return typeof d=="object"&&!r.exposed&&n.expose(d),d},Am=e=>{const t=T8(e),n=JP(e);return new Proxy(e,{get(o,r){return r in e?r==="setup"?t:r==="render"||r==="ssrRender"?n:Reflect.get(o,r):Reflect.get(o,r)}})},Tm="__c",E8=e=>(e[Tm]=Am(e[Tm]),e),Xd=e=>"setup"in e?Am(e):Tm in e?E8(e):(e.setup=()=>({}),Am(e)),Je=Xd,P8={defaultSize:48,sizes:{small:32,medium:48,large:64}},O8={defaultSize:1,sizes:{small:.75,medium:1,large:1.25}},Jd={size:{type:[String,Number],default:"",validator:e=>typeof e=="string"||typeof e=="number"},sizesConfig:{type:Object,default:()=>P8},fontSizesConfig:{type:Object,default:()=>O8}},I8=/(?<fontSize>\d+)(?<extension>px|rem)/i,_b=e=>e/16-.5,xb=e=>typeof e=="number"?`${e}px`:String(e),D8=e=>"sizesConfig"in e,M8=e=>{const t="size";return w(()=>{let n=e[t];if(D8(e)){const{defaultSize:o,sizes:r}=e.sizesConfig;if(la(n)&&(n=o),r){const s=r[n];if(s)return xb(s)}}return xb(n)})},Zd=(e,t=(n=>(n=It())==null?void 0:n.type.name)())=>{const{getGlobalConfig:n}=hs(),o=w(()=>{var l,u;return t?(u=(l=n().components)==null?void 0:l[t])==null?void 0:u.sizesConfig:void 0}),r=w(()=>{var l,u,c;const{defaultSize:d,sizes:p}=e.sizesConfig??{},m=(l=o.value)==null?void 0:l.defaultSize;if(!e.size)return`${d||m}px`;if(typeof e.size=="string"){const h=(c=(u=o.value)==null?void 0:u.sizes)==null?void 0:c[e.size],g=p==null?void 0:p[e.size];return g?`${g}px`:h?`${h}px`:e.size}return`${e.size}px`}),s=w(()=>{const{defaultSize:l,sizes:u}=e.fontSizesConfig;if(!e.size)return l;if(typeof e.size=="string"){if(e.size in u)return u[e.size];const c=e.size.match(I8);if(!c||!c.groups)throw new Error("Size prop should be either valid string or number");const{extension:d,fontSize:p}=c.groups;return d==="rem"?+p:_b(+p)}return _b(e.size)}),i=w(()=>`${s.value}rem`);return{sizeComputed:r,fontSizeComputed:i,fontSizeInRem:s}},yt={preset:{type:[String,Array],default:void 0}},R8=(e,t)=>t.test(e),Lx=(e,t)=>{if(typeof t!="string"&&t.global)return[...e.matchAll(t)].map(o=>o.slice(1));const n=e.match(t)||[];return n?n.length>1?n.slice(1):n:[]},Vx=/{[^}]*}/g,Bx=e=>e.replace(Vx,"(.*)"),L8=e=>(e.match(Vx)||[]).map(t=>t.replace(/{|}/g,"")),V8=(e,t)=>Lx(e,Bx(t)),B8=(e,t)=>{const n=L8(t),o=V8(e,t);return n.reduce((r,s,i)=>({...r,[s]:o[i]}),{})},F8=(e,t)=>(e.match(t)||[])[0]===e,N8=(e,t)=>{const n=Bx(t);return F8(e,new RegExp(n))},Fx=e=>typeof e.name=="string",Nx=e=>e.name instanceof RegExp,z8=(e,t)=>Fx(t)?N8(e,t.name):Nx(t)?R8(e,t.name):!1,j8=(e,t)=>{const n=B8(e,t.name);return t.resolve&&t.resolve(n)},U8=(e,t)=>{if(t.name.global)throw new Error(`Bad icon config with name ${t.name}. Please, don't use global regex as name.`);const n=Lx(e,t.name);return t.resolveFromRegex&&t.resolveFromRegex(...n)},H8=(e,t)=>{if(Fx(t))return j8(e,t);if(Nx(t))return U8(e,t);throw Error("Unknown icon config")},W8=(e,t,n=[])=>{const o=t.find(r=>n.includes(r.name.toString())?!1:z8(e,r));if(!o)throw new Error(`Can not find icon config from ${e}. Please provide default config.`);return o},zx=(e,t,n=[])=>{if(!e)return;const o=W8(e,t,n),r=Hs(H8(e,o),o);return n=[...n,o.name.toString()],Hs(zx(r.to,t,n),r)},q8=e=>{const t=["name","to","resolve","resolveFromRegex"],n=e;return t.forEach(o=>{delete n[o]}),n},G8=(e,t)=>{const n=zx(e,t);return n===void 0?{}:q8(n)},Y8=()=>{const{globalConfig:e}=hs();return{getIcon:t=>G8(t,e.value.icons)}},K8=e=>{const t=w(e),n=new Proxy(t,{get(o,r,s){if(typeof t.value=="object")return f(Reflect.get(t.value,r,s))}
106,set(o,r,s){return mt(t.value[r])&&!mt(s)?t.value[r].value=s:t.value[r]=s,!0},deleteProperty(o,r){return Reflect.deleteProperty(t.value,r)},has(o,r){return typeof t.value!="object"?!1:Reflect.has(t.value,r)},ownKeys(){return typeof t.value!="object"?[]:Object.keys(t.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return Fo(n)},jx=e=>e.charAt(0).toUpperCase()+e.slice(1).toLowerCase(),Q8=/[A-Z0-9]*(?:[^\-_|A-Z|\s.])*/gm,Zh=e=>{var t;return((t=e.match(Q8))==null?void 0:t.map(n=>n.trim().split(/([0-9]+)|([a-zA-Z]+)/g)).flat().filter(Boolean))||[]},ld=e=>Zh(e).map(t=>t.toLowerCase()).join("-"),X8=e=>Zh(e).map((t,n)=>n===0?t.toLowerCase():jx(t)).join(""),Sb=e=>Zh(e).map(jx).join(" "),Ux=/^#([A-Fa-f0-9]{3,4}|[A-Fa-f0-9]{6,8})$/,Hx=/^rgba?\(([\d.]+, ?){2}[\d.]+(, ?[\d.]+)?\)$/,Wx=/hsla?\([\d.]+(deg|rad|turn|grad)?(,?\s?[\d.]+%?){2}(,?\s?(\/\s?)?[\d.]+%?)?\)/,Cb=e=>Ux.test(e)||Hx.test(e)||Wx.test(e),eg=e=>typeof e!="object"||e===null?!1:"h"in e&&"s"in e&&"l"in e,tg=e=>typeof e!="object"||e===null?!1:"r"in e&&"g"in e&&"b"in e,qx=e=>{if(!Ux.test(e))return null;const t=e.replace("#",""),n=t.length<6,[o,r,s,i]=n?t.split("").map(l=>parseInt(l+l,16)):t.match(/.{2}/g).map(l=>parseInt(l,16));return{r:o,g:r,b:s,a:i??1}},Gx=e=>{if(!Hx.test(e))return null;const[t,n,o,r=1]=e.match(/[\d.]+/g).map(Number);return{r:t,g:n,b:o,a:r}},Yx=e=>{if(!Wx.test(e))return null;const[t,n,o,r="1"]=e.match(/[\d.]+%?/g);return{h:Number(t),s:Number(n.replace("%","")),l:Number(o.replace("%","")),a:r.endsWith("%")?Number(r.replace("%",""))/100:Number(r)}},kb=e=>{const t=e.r/255,n=e.g/255,o=e.b/255,r=Math.max(t,n,o),s=Math.min(t,n,o);let i=0,l=0;const u=(r+s)/2;if(r!==s){const c=r-s;switch(l=u>.5?c/(2-r-s):c/(r+s),r){case t:i=(n-o)/c+(n<o?6:0);break;case n:i=(o-t)/c+2;break;case o:i=(t-n)/c+4;break}i*=60}return{h:Math.round(i),s:Math.round(l*100),l:Math.round(u*100),a:e.a}},yp=(e,t,n)=>(n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e),$b=e=>{const t=e.h/360,n=e.s/100,o=e.l/100,r=o<.5?o*(1+n):o+n-o*n,s=2*o-r,i=yp(s,r,t+1/3),l=yp(s,r,t),u=yp(s,r,t-1/3);return{r:Math.round(i*255),g:Math.round(l*255),b:Math.round(u*255),a:e.a}},ku=e=>{if(eg(e))return{...e};if(tg(e))return kb(e);const t=qx(e)??Gx(e);if(t)return kb(t);const n=Yx(e);if(n)return n;throw new Error(`Color ${e} is not valid. Please, provide valid color.`)},ng=({h:e,s:t,l:n,a:o})=>`hsla(${e},${t}%,${n}%,${o??1})`,og=e=>{if(tg(e))return{...e};if(eg(e))return $b(e);const t=Yx(e);if(t)return $b(t);const n=qx(e)??Gx(e);if(n)return n;throw new Error(`Color ${e} is not valid. Please, provide valid color.`)},Kx=({r:e,g:t,b:n,a:o})=>o===1?`rgb(${e},${t},${n})`:`rgba(${e},${t},${n},${o??1})`,J8=e=>{if(eg(e))return ng(e);
106if(tg(e))return Kx(e);if(typeof e=="string")return e;throw new Error(`Color ${e} is not valid. Please, provide valid color.`)},Z8=(e,{h:t,s:n,l:o,a:r})=>{const s=ku(e);return s.a=s.a??1,s.h=t??s.h,s.s=n??s.s,s.l=o??s.l,s.a=r??s.a,s.h<0&&(s.h=360+s.h),s.h>360&&(s.h=s.h-360),s.s=Math.max(0,Math.min(100,s.s)),s.l=Math.max(0,Math.min(100,s.l)),s.a=Math.max(0,Math.min(1,s.a)),s},eO=(e,{h:t,s:n,l:o,a:r})=>{const s=ku(e);return s.a=s.a??1,s.h+=t??0,s.s+=n??0,s.l+=o??0,s.a+=r??0,s.h<0&&(s.h=360+s.h),s.h>360&&(s.h=s.h-360),s.s=Math.max(0,Math.min(100,s.s)),s.l=Math.max(0,Math.min(100,s.l)),s.a=Math.max(0,Math.min(1,s.a)),s},tO=e=>/var\(--.+\)/.test(e),ud=e=>`--va-${ld(e)}`,Ab=e=>X8(e),Js=(e,t)=>{const{r:n,g:o,b:r}=og(e);return Kx({r:n,g:o,b:r,a:t})},Tb=e=>{const{r:t,g:n,b:o}=og(e);return Math.sqrt(t*t*.241+n*n*.691+o*o*.068)},nO=(e,t=.4)=>Js(e,t),oO=(e,t=.4)=>Js(e,t),rO=(e,t=.2)=>Js(e,t),aO=(e,t=.3)=>Js(e,t),Cs=(e,t)=>ng(eO(ku(e),t)),sO=(e,t)=>ng(Z8(ku(e),t)),iO=e=>{const t=ku(e);if(t.s<10)return Cs(t,{h:2,s:5,l:10});if(t.s<30)return Cs(t,{s:-14,l:11});if(t.h>=0&&t.h<44||t.h>=285)return Cs(t,{h:11,s:27,l:8});if(t.h>=44&&t.h<85)return Cs(t,{h:3,l:9});if(t.h>=85&&t.h<165)return Cs(t,{h:16,l:14});if(t.h>=165&&t.h<285)return Cs(t,{h:-15,s:3,l:2});throw new Error("This method should handle all colors. But it didn't for some reason.")},lO=e=>`linear-gradient(to right, ${iO(e)}, ${J8(e)})`,uO=(e,t,n)=>{const o=Js(t,n);return`linear-gradient(0deg, ${o}, ${o}), ${e}`},cO=e=>e?e==="transparent"?!0:og(e).a<=.1:!1,Qx=()=>{const e=It();return w(()=>{var t;return((t=Jh())==null?void 0:t._context)||(e==null?void 0:e.appContext)})},dO=()=>{const t=Qx().value.app,{globalProperties:n}=t.config;return"$vaGlobalVariable"in n||(n.$vaGlobalVariable=Fo({})),n.$vaGlobalVariable},rg=(e,t)=>{const n=dO();return e in n||(n[e]=t),w({get:()=>n[e],set:o=>{n[e]=o}})},Xx={color:{type:String,default:""}},Pt=()=>{const e=hs();if(!e)throw new Error("useColors must be used in setup function or Vuestic GlobalConfigPlugin is not registered!");const{globalConfig:t}=e,n=K8({get:()=>t.value.colors.presets[t.value.colors.currentPresetName],set:y=>{o(y)}}),o=y=>{t.value.colors.presets[t.value.colors.currentPresetName]={...t.value.colors.variables,...y}},r=()=>n,s=(y,_,A)=>{if(_||(_=n.primary),y==="transparent")return"#ffffff00";if(y==="currentColor")return y;y||(y=s(_));const k=n[y]||n[Ab(y)];if(k)return A?`var(${ud(y)})`:k;if(Cb(y)||A&&tO(y))return y;if(y!=null&&y.startsWith("on")){const E=y.slice(2);if(n[Ab(E)])return s(m(s(E)),void 0,A)}return dr(`'${y}' is not a proper color! Use HEX or default color themes
107      names (https://vuestic.dev/en/styles/colors#default-color-themes)`),s(_)},i=y=>w({get(){return s(y)},set(_){o({[y]:_})}}),l=(y,_="va")=>Object.keys(y).filter(A=>y[A]!==void 0).reduce((A,k)=>(A[`--${_}-${ld(k)}`]=s(y[k],void 0,!0),A[`--${_}-on-${ld(k)}`]=s(m(s(y[k])),void 0,!0),A),{}),u=rg("colorContrastCache",new Map),c=y=>typeof y!="string"?Tb(y):(u.value.has(y)||u.value.set(y,Tb(y)),u.value.get(y)),d=w(()=>c(s("textPrimary"))>255/2?"textInverted":"textPrimary"),p=w(()=>c(s("textPrimary"))>255/2?"textPrimary":"textInverted"),m=(y,_,A)=>{const k=`on${mu(String(y))}`;return n[k]?n[k]:(typeof y=="string"&&!Cb(y)&&(y=s(y)),_=_||d.value,A=A||p.value,c(y)>t.value.colors.threshold?_:A)},h=w({get:()=>t.value.colors.currentPresetName,set:y=>{b(y)}}),g=w(()=>t.value.colors.presets),b=y=>{if(t.value.colors.currentPresetName=y,!t.value.colors.presets[y])return dr(`Preset ${y} does not exist`)};return{colors:n,currentPresetName:h,presets:g,applyPreset:b,setColors:o,getColors:r,getColor:s,getComputedColor:i,getBoxShadowColor:nO,getBoxShadowColorFromBg:oO,getHoverColor:rO,getFocusColor:aO,getGradientBackground:lO,getTextColor:m,shiftHSLAColor:Cs,setHSLAColor:sO,colorsToCSSVariable:l,colorToRgba:Js,getStateMaskGradientBackground:uO}},Jx=$e({name:"VaIcon",__name:"VaIcon",props:{...Jd,...yt,name:{type:String,default:""},tag:{type:String},component:{type:Object},color:{type:String},rotation:{type:[String,Number]},spin:{type:[String,Boolean]},flip:{type:String,default:"off",validator:e=>["off","horizontal","vertical","both"].includes(e)}},setup(e){const t=e,{getColor:n}=Pt(),{sizeComputed:o}=Zd(t),{getIcon:r}=Y8(),s=w(()=>r(t.name)),i=w(()=>t.component||t.tag||s.value.component||s.value.tag||"i"),l=qi(),u=w(()=>({...s.value.attrs,...Ia(l,["class"])})),c=b=>{if(!(b===void 0||b===!1))return b==="counter-clockwise"?"va-icon--spin-reverse":"va-icon--spin"},d=w(()=>[s.value.class,c(t.spin??s.value.spin)]),p=w(()=>{const b=t.rotation?`rotate(${t.rotation}deg)`:"",y=t.flip==="vertical"||t.flip==="both"?-1:1,_=t.flip==="horizontal"||t.flip==="both"?-1:1;return`${t.flip==="off"?"":`scale(${y}, ${_})`} ${b}`.trim()}),m=w(()=>({transform:p.value,cursor:l.onClick?"pointer":null,color:t.color?n(t.color,void 0,!0):s.value.color,fontSize:o.value,height:o.value,lineHeight:o.value})),h=w(()=>l.tabindex??-1),g=w(()=>l.role!=="button"&&t.tag!=="button"||h.value<0);
107return(b,y)=>(v(),X($r(i.value),Me({translate:"no",class:["va-icon",d.value],style:m.value,"aria-hidden":g.value},u.value),{default:$(()=>[se(b.$slots,"default",{},()=>[s.value.content?(v(),x(de,{key:0},[T(V(s.value.content),1)],64)):D("",!0)])]),_:3},16,["class","style","aria-hidden"]))}}),rn=Je(Jx),Ur=()=>`va-${Rk()}`,fO=e=>{const n=`message-list-${Ur()}`,o=w(()=>({id:n,role:"alert"})),r=w(()=>!!(typeof e.modelValue=="string"&&e.modelValue.length>0||Array.isArray(e.modelValue)&&e.modelValue.length>0)),s=w(()=>({"aria-describedby":r.value?n:void 0,"aria-invalid":e.hasError}));return{messageListAttributes:o,childAttributes:s}},Un=(e={})=>(e.type=[String,Number],e),Kt=e=>{const t=It().props;return w(()=>{const o=t==null?void 0:t[e];return o===void 0?o:Number(o)})},pO={class:"va-message-list__list"},mO=$e({name:"VaMessageList",inheritAttrs:!1,__name:"VaMessageList",props:{modelValue:{type:[String,Array],default:""},limit:Un({default:1}),color:{type:String},hasError:{type:Boolean,default:!1}},setup(e,{expose:t}){const n=e,{getColor:o}=Pt(),{childAttributes:r,messageListAttributes:s}=fO(n),i=Kt("limit"),l=w(()=>n.modelValue?Array.isArray(n.modelValue)?n.modelValue.slice(0,i.value):[n.modelValue]:[]),u=w(()=>n.color?{color:o(n.color)}:{});return t({messages:l}),(c,d)=>(v(),x(de,null,[se(c.$slots,"default",nt(dt({ariaAttributes:f(r),messages:l.value,attrs:c.$attrs}))),se(c.$slots,"messages",nt(dt({ariaAttributes:f(s),messages:l.value})),()=>[l.value.length>0?(v(),x("div",Me({key:0,class:"va-message-list",style:u.value},f(s)),[a("ul",pO,[(v(!0),x(de,null,Be(l.value,(p,m)=>(v(),x("li",{key:m,class:"va-message-list__message"},[se(c.$slots,"message",Me({ref_for:!0},{messages:l.value,message:p}),()=>[e.hasError?(v(),X(f(rn),{key:0,class:"va-message-list__icon",name:"va-warning",size:16})):D("",!0),T(V(p),1)])]))),128))])],16)):D("",!0)])],64))}}),Zx=Je(mO),e2=(e,t)=>{let n;if("_setter"in e)n="_setter";else if("setter"in e)n="setter";else{dr("watchSetter","Ref does not have setter",e);return}const o=e[n];e[n]=r=>{t(r),o(r)}},tu=e=>typeof e=="function",Mi=e=>typeof e=="string",Eb=e=>e.replace(/ |-|_/g,"").toLowerCase(),hO=(e,t)=>Object.keys(e).find(n=>Eb(n)===Eb(t))!==void 0,t2=e=>{const t=It();return w(()=>t!=null&&t.vnode.props?hO(t.vnode.props,e):!1)},Ea=(e,t,n)=>{const o=M(e[t]),r=t2(t);return w({get(){return r.value?e[t]:o.value},set(i){o.value=i,n(`update:${t}`,i)}})},n2=Symbol("FormService"),ag=e=>{const t=Dn(n2,null);if(!t)return{forceDirty:M(!1),forceHideErrorMessages:M(!1),forceHideErrors:M(!1),forceHideLoading:M(!1),fields:w(()=>[]),registerField:()=>{},unregisterField:()=>{},immediate:w(()=>!1)};const n=Ur();return rt(()=>{t.registerField(n,e)}),Wn(()=>{t.unregisterField(n)}),t},Pb=(e=[],t=null)=>(Mi(e)&&(e=[e]),e.map(n=>tu(n)?n(t):n)),Zs={name:{type:String,default:void 0},rules:{type:Array,default:()=>[]},dirty:{type:Boolean,default:!1},error:{type:Boolean,default:!1},errorMessages:{type:[Array,String],default:()=>[]},errorCount:{type:[String,Number],default:1},success:{type:Boolean,default:!1},messages:{type:[Array,String],default:()=>[]},immediateValidation:{type:Boolean,default:!1},modelValue:{}},$u=["update:error","update:errorMessages","update:dirty","update:error","update:loading"],nc=e=>typeof e=="object"&&typeof e.then=="function",gO=(e,t,n)=>{const o=M(t.dirty||!1);return e2(e,()=>{o.value=!0,n("update:dirty",!0)}),we(e,(r,s)=>{r===s&&(o.value=!0)},{deep:!0}),we(()=>t.dirty,r=>{o.value!==r&&(o.value=r)}),{isDirty:o}},vO=()=>{const e=M(!1);return{isTouched:e,onBlur:()=>{e.value=!0}}},yO=e=>{let t=!0;return(...n)=>{if(!t)return;t=!1;const o=e(...n);return Ct(()=>{t=!0}),o}},ef=(e,t,n)=>{const{reset:o,focus:r}=n,s=Ea(e,"error",t),i=Ea(e,"errorMessages",t),l=M(!1),{isTouched:u,onBlur:c}=vO(),d=w(()=>({"aria-invalid":s.value,"aria-errormessage":typeof i.value=="string"?i.value:i.value.join(", ")})),p=()=>{i.value=[],s.value=!1,b.value=!1,u.value=!1,l.value=!1,e.immediateValidation&&Ct(()=>{g()})},m=B=>{let O=!1,j=[];return B.forEach(G=>{Mi(G)?(j=[...j,G],O=!0):G===!1&&(O=!0)}),i.value=j,s.value=O,!O},h=async()=>{if(!e.rules||!e.rules.length)return!0;const B=Pb(e.rules.flat(),n.value.value),O=B.filter(G=>nc(G)),j=B.filter(G=>!nc(G));return O.length?(l.value=!0,Promise.all(O).then(G=>m([...j,...G])).finally(()=>{l.value=!1})):m(j)},g=yO(()=>{if(!e.rules||!e.rules.length)return!0;const B=e.rules.flat(),O=Pb(B,n.value.value),j=O.filter(Y=>nc(Y)),G=O.filter(Y=>!nc(Y)),Q=G.some(Y=>Mi(Y)?Y:Y===!1);return j.length&&!Q?(l.value=!0,Promise.all(j).then(Y=>{m([...G,...Y]),l.value=!1}),Q):m(G)});Po(()=>g());const{isDirty:b}=gO(n.value,e,t),{forceHideErrors:y,forceHideLoading:_,forceHideErrorMessages:A,forceDirty:k,immediate:E}=ag({isTouched:u,isDirty:b,isValid:w(()=>!s.value),isLoading:l,errorMessages:i,validate:g,validateAsync:h,resetValidation:p,focus:r,reset:()=>{o(),p(),g()},value:w(()=>n.value||e.modelValue),name:go(e,"name")}),I=w(()=>e.immediateValidation||E.value);let F=!0;const P=B=>{F=!1,B(),Ct(()=>{F=!0})};return we(n.value,()=>{if(F)return g()},{immediate:I.value}),{isDirty:b,isValid:w(()=>!s.value),isError:s,isTouched:u,isLoading:w({get:()=>y.value?!1:I.value||u.value||b.value||k.value?l.value:!1,set(B){l.value=B}}),computedError:w(()=>y.value?!1:I.value||u.value||b.value||k.value?s.value:!1),computedErrorMessages:w(()=>A.value?[]:i.value),listeners:{onBlur:c},validate:g,resetValidation:p,withoutValidation:P,validationAriaAttributes:d}},bO={class:"va-message-list-wrapper"},o2=$e({name:"VaMessageListWrapper",__name:"VaMessageListWrapper",props:{...Zs},setup(e){const t=e,n=w(()=>t.error?"danger":t.success?"success":""),o=go(t,"error"),r=w(()=>t.error?t.errorMessages:t.messages),s=w(()=>t.error?Number(t.errorCount):99);return(i,l)=>(v(),x("div",bO,[C(f(Zx),{color:n.value,limit:s.value,"has-error":o.value,"model-value":r.value,"inherit-slots":["message"]},{default:$(u=>[se(i.$slots,"default",nt(dt(u)))]),_:3},8,["color","limit","has-error","model-value"])]))}}),wO=e=>{const{globalConfig:t,mergeGlobalConfig:n,setGlobalConfig:o,getGlobalConfig:r}=hs(),s=w(()=>{var i;const l=Es(t.value),u={...l,colors:Dx(l.colors)},c=Hs(u,e.value);return(i=e.value.colors)!=null&&i.variables&&Object.keys(e.value.colors.variables).forEac
107h(d=>{c.colors.variables[d]=e.value.colors.variables[d]}),c});return cr(Qd,{mergeGlobalConfig:n,setGlobalConfig:o,getGlobalConfig:r,globalConfig:s}),s},Dc=e=>e?e.type===de?Dc(e.children):Array.isArray(e)?e.length===1&&e[0].type===de?Dc(e[0].children):e:typeof e=="string"||typeof e=="number"?[nn("div",{},e)]:e.type===jn?[]:"children"in e?e.children.map(t=>Dc(t)).flat():[e]:[],Bl=(e,t)=>{if(!e)return null;if(!("type"in e)||e.type===Ta||typeof e=="string")return nn("div",t,e);if(e.type===jn)return e;if("$el"in e)return Bl(e.$el,t);if(e.type===b$)return nn(e.ssContent,t);if(e.type===qc){if(e.children===null)return e;const n=Bl(e.children[0],t);return n&&(e.children[0]=nn(n,t)),e}if(e.type===de)return e.children===null?e:e.children.length===1?nn(de,e.props,[Bl(e.children[0],t)]):nn("div",t,e);if(typeof e.type.render=="function"){const n=nn(e,t);if(Array.isArray(n.children)&&n.children.length>1)return nn("div",t,n.children)}return nn(e,t)},Ob=(e,t={},n={})=>{const o=e==null?void 0:e(t);if(!o)return null;const r=o.filter(s=>s.type!==jn);return r.length===0?null:r.length===1?Bl(r[0],n):nn("div",{...n,class:xe([n.class,"va-headless-wrapper"])},o)},_O=(e,t={},n={})=>{const o=e==null?void 0:e(t);return o?o.map(r=>Bl(r,n)):null},xO=$e({name:"VaCssVarsRenderer",inheritAttrs:!1,setup(e,{slots:t,attrs:n}){const{colorsToCSSVariable:o,colors:r}=Pt(),s=w(()=>o(r));return()=>nn(de,n,_O(t.default,{},{style:s.value})||void 0)}}),sg=$e({name:"VaConfig",inheritAttrs:!1,__name:"VaConfig",props:{...yt,components:{type:Object,default:()=>({})},colors:{type:Object},i18n:{type:Object}},setup(e){const t=e,n=Qh(),o=w(()=>[...n.value,t.components]);Ix(o),wO(w(()=>{const s={};return t.colors&&(s.colors=t.colors),t.i18n&&(s.i18n=t.i18n),s}));const r=w(()=>!!t.colors);return(s,i)=>r.value?(v(),X(f(xO),nt(Me({key:0},s.$attrs)),{default:$(()=>[se(s.$slots,"default")]),_:3},16)):se(s.$slots,"default",{key:1})}}),Vn=e=>{if(e&&typeof e=="object"&&(e=f(e),!!e))return typeof e.$el<"u"?e.$el:e},Au=()=>{const e=M(!1);return It()===null||(rt(()=>{e.value=!0}),Wn(()=>{e.value=!1})),e},Tu=()=>typeof window>"u",Ib=()=>!Tu(),SO={},ta=()=>Tu()?typeof globalThis>"u"?SO:globalThis:window,ig=e=>{const t=M(null);if(Ib())return t.value=e(),t;const n=Au();return Po(()=>{n.value&&Ib()&&(t.value=e())}),t},lg=()=>ig(()=>window),Em=(e,...t)=>{if(!(!e||typeof e!="object")){if("addEventListener"in e&&typeof e.addEventListener=="function"){e.addEventListener(...t);return}"parentElement"in e&&Em(e.parentElement,...t)}},Pm=(e,...t)=>{if(!(!e||typeof e!="object")){if("removeEventListener"in e&&typeof e.removeEventListener=="function"){e.removeEventListener(...t);return}"parentElement"in e&&Pm(e.parentElement,...t)}},Yt=(e,t,n,o)=>{const r=lg(),s=n&&typeof n!="boolean"?w(()=>{const l=f(n);return typeof Window>"u"?null:l instanceof Window?l:Vn(l)}):r,i=typeof n=="boolean"?n:!1;we(s,(l,u)=>{const c=l,d=u;Array.isArray(e)?e.forEach(p=>{Em(c,p,t,i),Pm(d,p,t,i)}):(Em(c,e,t,i),Pm(d,e,t,i))},{immediate:!0})},Db=e=>{if(Array.isArray(e))return e.map(f);const t=f(e);return Array.isArray(t)?t:[t]},Ri=(e,t)=>{let n;const o=r=>{r.forEach(s=>{const i=Vn(f(s));if(i){if(!(i instanceof Element))throw console.error("Vuestic: Trying to observe non-HTMLElement",{target:i,array:e}),new Error("Vuestic: Unable to observe non-HTMLElement");i&&(n==null||n.observe(i))}})};return we(e,r=>{n==null||n.disconnect(),o(Db(r))}),rt(()=>{n=new ResizeObserver(t),o(Db(e))}),Wn(()=>n==null?void 0:n.disconnect()),n},r2=e=>{if(mt(e))return e;const t=It();let n=()=>{};const o=rw((r,s)=>(n=s,{get(){var i;return r(),(i=t.proxy)==null?void 0:i.$refs[e]},set(i){}}));return rt(n),Wi(n),o},CO=e=>{const t=r2(e);return{formRef:t,isValid:w(()=>{var n;return((n=t.value)==null?void 0:n.isValid)||!1}),immediate:w(()=>{var n;return((n=t.value)==null?void 0:n.immediate)||!1}),isLoading:w(()=>{var n;return((n=t.value)==null?void 0:n.isLoading)||!1}),isDirty:w(()=>{var n;return((n=t.value)==null?void 0:n.isDirty)||!1}),isTouched:w(()=>{var n;return((n=t.value)==null?void 0:n.isTouched)||!1}),fields:w(()=>{var n;return((n=t.value)==null?void 0:n.fields)??[]}),fieldsNamed:w(()=>{var n;return((n=t.value)==null?void 0:n.fieldsNamed)??[]}),fieldNames:w(()=>{var n;return((n=t.value)==null?void 0:n.fieldNames)??[]}),formData:w(()=>{var n;return((n=t.value)==null?void 0:n.formData)??{}}),errorMessages:w(()=>{var n;return((n=t.value)==null?void 0:n.errorMessages)||[]}),errorMessagesNamed:w(()=>{var n;return((n=t.value)==null?void 0:n.errorMessagesNamed)||{}}
107),validate:()=>{var n;return(n=t.value)==null?void 0:n.validate()},validateAsync:()=>{var n;return(n=t.value)==null?void 0:n.validateAsync()},reset:()=>{var n;return(n=t.value)==null?void 0:n.reset()},resetValidation:()=>{var n;return(n=t.value)==null?void 0:n.resetValidation()},focus:()=>{var n;return(n=t.value)==null?void 0:n.focus()},focusInvalidField:()=>{var n;return(n=t.value)==null?void 0:n.focusInvalidField()}}},a2=e=>{let t;return e.startsWith("rgba")?t=e.substring(5,e.length-1).split(","):t=e.substring(4,e.length-1).split(","),t[0]=Number(t[0]),t[1]=Number(t[1]),t[2]=Number(t[2]),t[3]===void 0?t[3]=1:t[3]=Number(t[3]),t},Mb=e=>"#"+(e[0]|256).toString(16).slice(1)+(e[1]|256).toString(16).slice(1)+(e[2]|256).toString(16).slice(1)+(e[3]*255|256).toString(16).slice(1),kO=e=>{const t=[];let n=e;for(;n;){if(!(n instanceof HTMLElement)||!n)return t;const{backgroundColor:o,willChange:r}=window.getComputedStyle(n),s=r.includes("background"),i=a2(o);if(i[3]===1&&!s)return t.push(n),t;(i[3]!==0||s)&&t.push(n),n=n.parentElement}return t},Rb="va-background-watcher",$O=(e,t)=>(e.className=Rb+" "+e.className,e.addEventListener("transitionend",n=>{n.target===e&&t()}),()=>{e.className=e.className.replace(Rb,""),e.removeEventListener("transitionend",t)}),AO=(e,t)=>{const n=e.map(o=>$O(o,t));return()=>{n.forEach(o=>o())}},TO=(e,t)=>{const n=t[3];if(n===1)return t;if(n===0)return e;const o=Math.round(e[0]*(1-n)+t[0]*n),r=Math.round(e[1]*(1-n)+t[1]*n),s=Math.round(e[2]*(1-n)+t[2]*n);return[o,r,s,1]},Lb=e=>{let t=[0,0,0,0];for(let n=e.length-1;n>=0;n--)t=TO(t,a2(window.getComputedStyle(e[n]).backgroundColor));return t},s2=e=>{const t=M(void 0);let n=()=>{};return Po(()=>{if(n(),e.value){const o=kO(e.value);n=AO(o,()=>{t.value=Mb(Lb(o))}),t.value=Mb(Lb(o))}}),t},vo=(e,t=!1)=>{const{props:n}=It(),{getColor:o,getTextColor:r}=Pt();return w(()=>{if(n.textColor)return o(n.textColor);const i=e?f(e):n.color;if(!i)return"currentColor";const l=o(i);return cO(l)?"currentColor":f(t)?l:o(r(i))})},tf=e=>e,EO=e=>
107e.config.globalProperties,i2=(e,t,n)=>{const o=EO(e);o[t]=n},PO=tf((e={})=>({install(t){const n=Rx(e);e!=null&&e.componentsAll&&console.warn("Global config -> `componentsAll` was moved to Global config -> components.all. Please replace this to make it work. More info here: https://github.com/epicmaxco/vuestic-ui/issues/1967"),t.provide(Qd,n),i2(t,"$vaConfig",n)}})),OO=(e,t)=>{if(Tu())return;let n=document.getElementById(e);n?n.innerHTML=t():(n=document.createElement("style"),n.setAttribute("type","text/css"),n.setAttribute("id",e),n.innerHTML=t(),document.head.append(n))},IO=e=>{var t;(t=document.getElementById(e))==null||t.remove()},Vb=(e,t)=>`${ud(e)}: ${t};
108`,bp="data-va-app",Bb=e=>`va-color-variables-${e}`,DO=(e,t)=>{const{colors:n,getTextColor:o,getColor:r,currentPresetName:s}=Pt(),i=(h=n)=>{if(!h)return;const g=Object.keys(h),b=g.map(_=>`${ud(_)}: ${h[_]}`).join(";"),y=g.map(_=>`${ud(`on-${_}`)}: ${r(o(h[_]))}`).join(";");return`${b};${y}`},l=(h=n,g=":root, :host")=>{const b=Object.keys(h);let y=`${g} {
109`;return b.forEach(_=>{y+=Vb(_,h[_])}),b.forEach(_=>{y+=Vb(`on-${_}`,r(o(h[_])))}),y+=`}
110`,y},u=w(()=>e._uid),c=w(()=>":root, :host"),d=h=>{if(!h||Tu())return;const g=l(h,c.value);OO(Bb(u.value),()=>g)};function p(){return{[bp]:u.value}}const m=e.mount;return e.mount=function(...h){const g=m.apply(this,h),b=e._container,y=b.getAttribute(bp);return y&&y!==u.value.toString()&&IO(Bb(y)),b.setAttribute(bp,u.value.toString()),g},we(n,h=>{d(h)},{immediate:!0,deep:!0}),{colors:n,currentPresetName:s,getAppStylesRootAttribute:p,renderCSSVariables:i,updateColors:d,renderCSSVariablesStyleContent:l}},MO=tf(e=>({install(t){i2(t,"$vaColorConfig",DO(t))}})),ug=e=>{let t=0,n=null,o=null;const r=()=>{o&&--t<=0&&(o.stop(),n=o=null)};return(...s)=>(t++,n||(o=ek(!0),n=o.run(()=>e(...s))),kd()&&vh(r),n)},RO=5,_s=M([]),LO=e=>{var t;return((t=e.component)==null?void 0:t.props)||{}},VO=e=>e.el?e.el.offsetHeight+RO:0,BO=e=>{const t=It(),n=w(()=>{const o=_s.value.findIndex(r=>r===t.vnode);return o===-1?0:_s.value.slice(o+1).reduce((r,s)=>{const{position:i}=LO(s),{position:l}=e;return l===i?VO(s)+r:r},0)});return rt(()=>{_s.value.unshift(t.vnode)}),Wn(()=>{_s.value=_s.value.filter(o=>o!==t.vnode)}),{yOffset:n,updateYOffset:()=>{_s.value=_s.value.filter(o=>o!==t.vnode)}}},FO=e=>e.startsWith("$t:"),ct=e=>({type:String,default:e}),Fb=(e,t)=>
110(t&&Object.keys(t).forEach(n=>{e=e.replace(`{${n}}`,String(t[n]))}),e),Mn=()=>{const{globalConfig:e}=hs(),t=w(()=>e.value.i18n);function n(r,s){var i;const l=(i=It())==null?void 0:i.appContext.config.globalProperties.$t;if(typeof l=="function"){const c=l(`vuestic.${r}`,s);if(c)return c}const u=t.value[r];return u?Fb(u,s)||r:(dr(`${r} not found in VuesticUI i18n config`),r)}function o(r,s){return r?FO(r)?n(r.slice(3),s):Fb(r,s)||r:""}return{tp:o,t:n}},Om=(e,t)=>{let n=null;const o=function(...r){n&&clearTimeout(n),n=setTimeout(()=>{n=null,e.apply(this,r)},f(t))};return o.cancel=()=>{n&&clearTimeout(n),n=null},o},NO=["role","aria-live"],zO={class:"va-toast__group"},jO=["textContent"],UO={class:"va-toast__content"},HO=["innerHTML"],WO=["textContent"],qO={key:1,class:"va-toast__content"},GO=$e({name:"VaToast",__name:"VaToast",props:{...yt,title:{type:String,default:""},offsetY:Un({default:16}),offsetX:Un({default:16}),message:{type:[String,Function],default:""},dangerouslyUseHtmlString:{type:Boolean,default:!1},icon:{type:String,default:"close"},customClass:{type:String,default:""},duration:Un({default:5e3}),color:{type:String,default:"primary"},closeable:{type:Boolean,default:!0},onClose:{type:Function},onClick:{type:Function},multiLine:{type:Boolean,default:!1},position:{type:String,default:"top-right",validator:e=>["top-right","top-center","top-left","bottom-right","bottom-center","bottom-left"].includes(e)},render:{type:Function},ariaCloseLabel:ct("$t:close"),role:{type:String,default:void 0},inline:{type:Boolean,default:!1}},emits:["on-click","on-close"],setup(e,{emit:t}){const n=$e({name:"VaToastRenderer",props:{render:{type:Function,required:!0}},setup:j=>()=>j.render()}),{tp:o}=Mn(),r=e,s=t,i=At(),{getColor:l}=Pt(),u=vo(w(()=>l(r.color))),c=Kt("offsetY"),d=Kt("offsetX"),p=Kt("duration"),m=M(!1),{yOffset:h,updateYOffset:g}=BO(r),b=w(()=>({vertical:r.position.includes("top")?"top":"bottom",horizontal:r.position.includes("center")?"center":r.position.includes("right")?"right":"left"})),y=()=>{const j=b.value.vertical,G=b.value.horizontal;return G==="center"?{[j]:`${c.value+h.value}px`,left:"50%","--va-toast-x-shift":"-50%"}:{[j]:`${c.value+h.value}px`,[G]:`${d.value}px`}},_=w(()=>[r.customClass,r.multiLine?"va-toast--multiline":"",r.inline?"va-toast--inline":"",[`va-toast--${r.position}`]]),A=w(()=>({...y(),backgroundColor:l(r.color),color:u.value})),k=w(()=>r.role==="status"?"polite":"assertive"),E=w(()=>typeof r.message=="function"?r.message():r.message),I=()=>{var j,G;(j=i.value)==null||j.removeEventListener("transitionend",I),(G=i.value)==null||G.remove()},F=()=>{typeof r.onClick=="function"?r.onClick():s("on-click")},P=()=>{m.value=!1,g()},B=()=>{typeof r.onClose=="function"?r.onClose():s("on-close"),I()},O=Om(()=>m.value&&P(),p);return rt(()=>{m.value=!0,O()}),(j,G)=>(v(),X(Ld,{name:"va-toast-fade",onAfterLeave:B},{default:$(()=>[ca(a("div",{ref_key:"rootElement",ref:i,role:j.$props.role??j.$props.closeable?"alertdialog":"alert","aria-live":k.value,"aria-atomic":"true",class:xe(["va-toast",_.value]),style:ze(A.value),onMouseenter:G[0]||(G[0]=Q=>f(O).cancel()),onMouseleave:G[1]||(G[1]=Q=>f(O)()),onClick:F},[a("div",zO,[j.$props.title?(v(),x("h2",{key:0,class:"va-toast__title",textContent:V(j.$props.title)},null,8,jO)):D("",!0),ca(a("div",UO,[j.$props.dangerouslyUseHtmlString?(v(),x("div",{key:0,innerHTML:E.value},null,8,HO)):(v(),x("p",{key:1,textContent:V(E.value)},null,8,WO))],512),[[Jl,j.$props.message]]),j.$props.render?(v(),x("div",qO,[C(f(n),{render:j.$props.render},null,8,["render"])])):D("",!0),j.$props.closeable?(v(),X(Jx,{key:2,class:"va-toast__close-icon",role:"button","aria-label":f(o)(j.$props.ariaCloseLabel),tabindex:"0",size:"1rem",name:j.$props.icon,onClick:He(P,["stop"]),onKeydown:tt(He(P,["stop"]),["enter"])},null,8,["aria-label","name","onKeydown"])):D("",!0)])],46,NO),[[Jl,m.value]])]),_:1}))}}),YO=Xd(GO);let nu=1;ta().vaToastInstances=[];const cg=e=>{var t;return((t=e.component)==null?void 0:t.props)||{}},KO=(e,t)=>
110{if(!e)return;if(!ta().vaToastInstances.length){nu=1;return}ta().vaToastInstances.findIndex(o=>o===e)<0||(t(),ta().vaToastInstances=ta().vaToastInstances.reduce((o,r,s)=>r===e?o:[...o,r],[]),ta().vaToastInstances.length||(nu=1))},QO=(e,t)=>{e&&(im(null,e),e.remove()),e=null},XO=(e,{props:t,children:n,element:o,appContext:r}={})=>{let s=o,i;return i=C(e,{...t,onClose:()=>{KO(i,()=>QO(s)),t!=null&&t.onClose&&t.onClose()}},n),r&&(i.appContext=r),s?im(i,s):typeof document<"u"&&im(i,s=document.createElement("div")),{vNode:i,el:s}},JO=e=>{if(!ta().vaToastInstances.length){nu=1;return}ta().vaToastInstances.forEach(t=>{e&&t.appContext!==e||cg(t).onClose()})},Nb=e=>{const t=ta().vaToastInstances.find(n=>{var o;return((o=n.el)==null?void 0:o.id)===e});t&&cg(t).onClose()},ZO=e=>typeof e=="string"?{message:e}:e,eI=(e,t)=>{const{vNode:n,el:o}=XO(YO,{appContext:t,props:ZO(e)}),r=cg(n);return o&&n.el&&r?(document.body.appendChild(o.childNodes[0]),n.el.id="notification_"+nu,nu+=1,ta().vaToastInstances.push(n),n.el.id):null},tI=(e,t,n)=>{const o=It();if(!o)throw new Error("`useButtonBackground` hook must be used only inside of setup function!");const r=o.props,{getColor:s,getGradientBackground:i}=Pt(),l=w(()=>s(e.value)),u=w(()=>r.plain?"transparent":r.gradient?i(l.value):l.value),c=w(()=>!r.plain&&n.value),d=w(()=>!r.plain&&t.value),p=w(()=>d.value&&r.pressedBehavior==="opacity"?r.pressedOpacity:c.value&&r.hoverBehavior==="opacity"?Number(r.hoverOpacity):Number(r.backgroundOpacity)),m=w(()=>c.value&&r.hoverBehavior==="mask"),h=w(()=>d.value&&r.pressedBehavior==="mask"),g=w(()=>h.value?r.pressedOpacity:m.value?Number(r.hoverOpacity):0),b=w(()=>h.value?s(r.pressedMaskColor):m.value?s(r.hoverMaskColor):"transparent");return{backgroundColor:u,backgroundColorOpacity:p,backgroundMaskOpacity:g,backgroundMaskColor:b}},dg={tag:{type:String,default:"span"},to:{type:[String,Object],default:void 0},replace:{type:Boolean,default:void 0},append:{type:Boolean,default:void 0},exact:{type:Boolean,default:void 0},activeClass:{type:String,default:void 0},exactActiveClass:{type:String,default:void 0},href:{type:String,default:void 0},target:{type:String,default:void 0},disabled:{type:Boolean,default:!1}},nf=e=>{const t=It(),n=w(()=>t==null?void 0:t.appContext.config.globalProperties),o=w(()=>{var p;return(p=n.value)==null?void 0:p.$router}),r=w(()=>{var p;return(p=n.value)==null?void 0:p.$route}),{getGlobalConfig:s}=hs(),i=w(()=>{if(e.disabled)return e.tag;if(e.href&&!e.to)return"a";const p=s();return p.routerComponent&&e.to?p.routerComponent:e.to&&o.value!==void 0?"router-link":e.to&&o.value===void 0?"a":e.tag||"div"}),l=w(()=>e.disabled?!1:!!(e.href||e.to)),u=w(()=>l.value?i.value==="a"?{target:e.target,href:d.value}:{target:e.target,to:e.to,replace:e.replace,append:e.append,activeClass:e.activeClass,exact:e.exact,exactActiveClass:e.exactActiveClass}:{}),c=w(()=>{if(!o.value||!e.to)return!1;const p=o.value.resolve(e.to).href,m=o.value.currentRoute.value.path;return p.replace("#","")===m.replace("#","")}),d=w(()=>{var p;return e.href?e.href:r.value===void 0&&e.to?e.to:e.to?(p=o.value)==null?void 0:p.resolve(e.to,r.value).href:void 0});return{isLinkTag:l,tagComputed:i,hrefComputed:d,isActiveRouterLink:c,linkAttributesComputed:u}},nI=e=>{const{linkAttributesComputed:t,isLinkTag:n}=nf(e),o=w(()=>n.value?void 0:e.type),r=w(()=>{const s={"aria-disabled":!!e.disabled,disabled:!!e.disabled};return n.value?s:{type:o.value,tabindex:e.loading||e.disabled?-1:0,...s}});return w(()=>({...t.value,...r.value}))},oI=e=>{var t,n,o;if(Tu())return e;if(e>0){const r=(t=window==null?void 0:window.navigator)==null?void 0:t.userAgent,s=r&&/^((?!chrome|android).)*safari/i.test((n=window==null?void 0:window.navigator)==null?void 0:n.userAgent),i=r&&/(version.)15|16/i.test((o=window==null?void 0:window.navigator)==null?void 0:o.userAgent);if(s&&!i)return e<1?1-e:e}return e},rI=(e,t,n,o)=>{const r=It();if(!r)throw new Error("`useButtonTextColor` hook must be used only inside of setup function!");const s=r.props,{getColor:i,colorToRgba:l,getStateMaskGradientBackground:u}=Pt(),c=w(()=>({background:"transparent",color:e.value,"-webkit-background-clip":"text","background-clip":"text",opacity:h.value})),d=(g,b,y)=>{const _=i(g);let A;return y==="opacity"?A={color:l(e.value,b)}:A={background:u(t.value,_,b),color:b<1?l(e.value,oI(b)):_},{...c.value,...A}},p=w(()=>d(s.hoverMaskColor,Number(s.hoverOpacity),s.hoverBehavior)),m=w(()=>d(s.pressedMaskColor,s.pressedOpacity,s.pressedBehavior)),h=w(()=>
110{if(!s.disabled)return s.textOpacity===1||o.value&&!n.value?1:n.value?.9:s.textOpacity});return w(()=>{const g={color:e.value,background:"transparent"};return s.plain&&Object.assign(g,c.value,{background:e.value}),s.plain?n.value?m.value:o.value?p.value:g:g})},cd=(e,t,n)=>Math.min(Math.max(e,t),n),aI={class:"va-progress-circle__wrapper",viewBox:"0 0 40 40"},sI=["r","stroke","stroke-width","stroke-dasharray","stroke-dashoffset"],iI=$e({name:"VaProgressCircle",__name:"VaProgressCircle",props:{...Jd,...yt,modelValue:{type:[Number,String],default:0},indeterminate:{type:Boolean,default:!1},thickness:{type:[Number,String],default:.06},color:{type:String,default:"primary"},ariaLabel:ct("$t:progressState")},setup(e){const t=e,{getColor:n}=Pt(),{sizeComputed:o}=Zd(t),r=w(()=>cd(Number(t.thickness),0,1)/2*100),s=w(()=>20-20*r.value/100),i=w(()=>2*Math.PI*s.value),l=w(()=>i.value*(1-cd(Number(t.modelValue),0,100)/100)),u=w(()=>n(t.color,void 0,!0)),{tp:c}=Mn(),d=w(()=>({color:u.value})),p=w(()=>({width:o.value,height:o.value})),m=w(()=>({"va-progress-circle--indeterminate":t.indeterminate})),h=w(()=>({role:"progressbar","aria-label":c(t.ariaLabel),"aria-valuenow":t.indeterminate?void 0:t.modelValue}));return(g,b)=>(v(),x("div",Me({class:["va-progress-circle",m.value],style:p.value},h.value),[(v(),x("svg",aI,[a("circle",{class:"va-progress-circle__overlay",cx:"50%",cy:"50%",r:s.value,fill:"none",stroke:u.value,"stroke-width":r.value+"%","stroke-dasharray":i.value,"stroke-dashoffset":l.value},null,8,sI)])),g.$slots.default?(v(),x("div",{key:0,style:ze(d.value),
110class:"va-progress-circle__info"},[se(g.$slots,"default")],4)):D("",!0)],16))}}),l2=Je(iI),so=(e,t)=>Object.keys(e).filter(n=>t.includes(n)).reduce((n,o)=>(n[o]=e[o],n),{}),of={loading:{type:Boolean,default:!1}},u2=e=>e instanceof HTMLElement,ou=e=>{!e||!u2(e)||(e.focus(),e.dispatchEvent(new FocusEvent("focus",{bubbles:!0})))},fg=e=>{!e||!u2(e)||(e.blur(),e.dispatchEvent(new Event("blur",{bubbles:!0})))},zb=e=>{if(e.tabIndex!==-1){ou(e);return}const t=e.querySelector('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');t&&ou(t)},pg=(e,t={})=>{const n=M(!1);return Yt("focus",o=>{var r;n.value=!0,(r=t.onFocus)==null||r.call(t,o)},e),Yt("blur",o=>{var r;n.value=!1,(r=t.onBlur)==null||r.call(t,o)},e),w({get(){return n.value},set(o){o?ou(Vn(e.value)):fg(Vn(e.value))}})},mg={autofocus:{type:Boolean,default:!1}},hg=["focus","blur"],gg=(e,t,n)=>{const o=pg(e,{onBlur(i){n("blur",i)},onFocus(i){n("focus",i)}}),r=()=>{t.disabled||(o.value=!0)},s=()=>{t.disabled||(o.value=!1)};return rt(()=>{t.autofocus&&r()}),{focus:r,blur:s}},lI=e=>{const t=M(!1);return Yt("mouseover",()=>{t.value=!0},e),Yt("mouseout",()=>{t.value=!1},e),w(()=>t.value)},Fl=e=>{const t=r2(e);return w({get(){return Vn(t.value)},set(n){t.value=n}})};function c2(e){const t=M(!1),n=Fl(e??M());return Yt(["mousedown","touchstart","dragstart"],()=>{t.value=!0},n),Yt(["mouseup","mouseleave","touchend","touchcancel","drop","dragend"],()=>{t.value=!1},!0),t}const d2=(e,t=!0)=>{var n;if(zs(e))return!0;if(!e||t&&(!tu(e)||!((n=e())!=null&&n.length)))return!1;const o=t?e():e;return Array.isArray(o)?o.some(r=>Array.isArray(r.children)?d2(r.children,!1):r.children||r.props):!!o.children},uI=(e="default")=>{const{slots:t}=It();return w(()=>d2(t[e]))},yo=(e,t)=>{const n=w(()=>typeof t=="function"?t():f(t));return w(()=>Object.entries(f(n)).reduce((r,[s,i])=>(i&&(r[`${e}--${ld(s)}`]=!0),r),{}))},cI=$e({name:"VaButton",__name:"VaButton",props:{...yt,...Jd,...of,...dg,...mg,tag:{type:String,default:"button"},type:{type:String,default:"button"},block:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},color:{type:String,default:"primary"},textColor:{type:String,default:""},textOpacity:Un({default:1}),backgroundOpacity:Un({default:1}),borderColor:{type:String,default:""},gradient:{type:Boolean,default:!1},plain:{type:Boolean,default:!1},round:{type:Boolean,default:!1},size:{type:String,default:"medium",validator:e=>["small","medium","large"].includes(e)},icon:{type:String,default:""},iconRight:{type:String,default:""},iconColor:{type:String,default:""},hoverBehavior:{type:String,default:"mask",validator:e=>["opacity","mask"].includes(e)},hoverOpacity:{type:[Number,String],default:.15},hoverMaskColor:{type:String,default:"textInverted"},pressedBehavior:{type:String,default:"mask",validator:e=>["opacity","mask"].includes(e)},pressedOpacity:{type:Number,default:.13},pressedMaskColor:{type:String,default:"textPrimary"}},emits:[...hg],setup(e,{expose:t,emit:n}){const o=e,r=n,{getColor:s}=Pt(),{sizeComputed:i}=Zd(o),l=w(()=>{const ne=/([0-9]*)(px)/.exec(i.value);return ne?`${+ne[1]/2}${ne[2]}`:i.value}),{tagComputed:u}=nf(o),c=nI(o);Qs(o);const d=At(),{focus:p,blur:m}=gg(d,o,r),h=lI(d),g=c2(d),b=w(()=>o.iconColor?s(o.iconColor):j.value),y=w(()=>({color:b.value,size:o.size})),_=w(()=>({"va-button__content--loading":o.loading})),A=uI(),k=w(()=>!!(o.iconRight&&!o.icon||!o.iconRight&&o.icon)),E=w(()=>!A.value&&k.value),I=Kt("textOpacity"),F=Kt("backgroundOpacity"),P=yo("va-button",()=>({...so(o,["disabled","block","loading","round","plain"]),small:o.size==="small",normal:!o.size||o.size==="medium",large:o.size==="large",opacity:I.value<1,bordered:!!o.borderColor,iconOnly:E.value,leftIcon:!E.value&&!!o.icon&&!o.iconRight,rightIcon:!E.value&&!o.icon&&!!o.iconRight})),B=go(o,"color"),O=w(()=>o.plain||F.value<.5),j=vo(B,O),{backgroundColor:G,backgroundColorOpacity:Q,backgroundMaskOpacity:Y,backgroundMaskColor:W}=tI(B,g,h),re=rI(j,B,g,h),oe=w(()=>({borderColor:o.borderColor?s(o.borderColor):"transparent",...re.value}));return t({focus:p,blur:m}),(ne,z)=>(v(),X($r(f(u)),Me({ref_key:"button",ref:d,class:["va-button",f(P)],style:[oe.value,`--va-background-color: ${String(f(G))};--va-background-color-opacity: ${String(f(Q))};--va-background-mask-color: ${String(f(W))};--va-background-mask-opacity: ${String(f(Y))}`]},f(c)),{default:$(()=>[a("span",{class:xe(["va-button__content",_.value])},[se(ne.$slots,"prepend",nt(dt({icon:e.icon,iconAttributes:y.value})),()=>[e.icon?(v(),X(f(rn),Me({key:0,class:"va-button__left-icon",name:e.icon},y.value),null,16,["name"])):D("",!0)]),se(ne.$slots,"default"),se(ne.$slots,"append",nt(dt({icon:e.iconRight,iconAttributes:y.value})),()=>[e.iconRight?(v(),X(f(rn),Me({key:0,class:"va-button__right-icon",name:e.iconRight},y.value),null,16,["name"])):D("",!0)])],2),ne.loading?se(ne.$slots,"loading",nt(Me({key:0},{size:l.value,color:f(j)})),()=>[C(f(l2),{class:"va-button__loader",size:l.value,color:f(j),thickness:.15,indeterminate:""},null,8,["size","color"])]):D("",!0)]),_:3},16,["class","style"]))}}),bt=Je(cI),ei=()=>ig(()=>document),pl=[],dI=(e,t)=>{const n=Ur(),o=ei(),r=()=>{var i;pl.includes(n)||(pl.push(n),(i=o.value)==null||i.body.classList.add("va-modal-overlay-background--blurred"))},s=()=>{var i;const l=pl.indexOf(n);l!==-1&&(pl.splice(l,1),pl.length===0&&((i=o.value)==null||i.body.classList.remove("va-modal-overlay-background--blurred")))};Po(()=>{e.value&&(t.value?r():s())}),Wn(s)},f2=e=>{const t=Ur(),n=rg("zIndexStack",[]),o=()=>{n.value.includes(t)||n.value.push(t)},r=()=>{const u=n.value.findIndex(c=>c===t);u!==-1&&n.value.splice(u,1)},s=w(()=>{const u=n.value.findIndex(c=>c===t);return u===-1?-1:u+1}),i=w(()=>s.value===n.value.length-1),l=w(()=>s.value===0);return rt(()=>{e.value&&o()}),Wn(()=>{r()}),we(e,u=>{u?o():r()}),{zIndex:s,isTop:i,isLowest:l}},ml=ew([]),fI=()=>{const e=Ur(),t=w(()=>ml.findIndex(({id:l})=>l===String(e))),n=()=>{t.value===-1&&ml.push({id:String(e)})},o=()=>{t.value!==-1&&ml.splice(t.value,1)},r=w(()=>t.value!==-1&&t.value===ml.length-1),s=w(()=>t.value===0),i=w(()=>ml.length>1);return{modalId:e,modalLevel:t,registerModal:n,unregisterModal:o,isTopLevelModal:r,isLowestLevelModal:s,isMoreThenOneModalOpen:i}},Er={stateful:{type:Boolean,default:!1},modelValue:{type:void 0}},p2=(e=!1)=>({stateful:{type:Boolean,default:e}}),ma=["update:modelValue"],Uo=(e,t,n="modelValue",o={})=>{const{eventName:r,defaultValue:s}=o,i=r||`update:${n.toString()}`,l=t2(n),u="defaultValue"in o,c=M(l.value?e[n]:u?s:e[n]);let d;const p=()=>{d=we(()=>e[n],h=>{c.value=h})};we(()=>e.stateful,h=>{h?p():d==null||d()},{immediate:!0});const m=w({get:()=>e.stateful?c.value:e[n],set:h=>{e.stateful&&m.value!==h&&(c.value=h),t(i,h)}});return Object.defineProperty(m,"stateful",{get:()=>e.stateful}),Object.defineProperty(m,"userProvided",{get:()=>l.value}),m},pI=":where(a, button, input, textarea, select):not([disabled]), *[tabindex]",m2=()=>{const e=ei(),t=lg(),n=rg("trapInEl",null);let o=[],r=null,s=null;const i=h=>{var g;return((g=n.value)==null?void 0:g.contains(h.target))||!1},l=()=>{r==null||r.focus()},u=()=>{s==null||s.focus()},c=h=>{var g,b;const y=h.code==="Tab",_=h.shiftKey;if(y){if(!i(h)){h.preventDefault(),_?u():l();return}if(((g=e.value)==null?void 0:g.activeElement)===s&&!_){h.preventDefault(),l();return}((b=e.value)==null?void 0:b.activeElement)===r&&_&&(h.preventDefault(),u())}},d=h=>{n.value=h,m(),p()},p=()=>{var h;n.value&&(o=Array.from(n.value.querySelectorAll(pI)),r=o[0],s=o[o.length-1],(h=t.value)==null||h.addEventListener("keydown",c))},m=()=>{var h;o=[],r=null,s=null,(h=t.value)==null||h.removeEventListener("keydown",c)};return{trapFocus:p,freeFocus:m,trapFocusIn:d}},h2="data-va-teleported-from",g2="data-va-teleported",vg=e=>{if(!e)return null;const t=e.getAttribute(g2);return t===null?vg(e.parentElement):document.querySelector(`[${h2}="${t}"]`)},v2=()=>{var e,t;const n=Ur(),o=It(),r=o==null?void 0:o.vnode.scopeId;return{teleportFromAttrs:{[h2]:n},teleportedAttrs:{[g2]:n,...r?{[r]:""}:void 0,...(t=(e=o==null?void 0:o.appContext.config)==null?void 0:e.globalProperties)==null?void 0:t.$vaColorConfig.getAppStylesRootAttribute()},findTeleportedFrom:vg}},y2=e=>Array.isArray(e)?e:[e],Mc=(e,t)=>!t||t instanceof Window?!1:t.parentElement===e?!0:e.contains(t),b2=(e,t)=>
110{Yt("mousedown",n=>{const o=n.target;if(n.target.shadowRoot)return;const r=vg(o);y2(e).some(i=>{const l=Vn(f(i));return l?r?Mc(l,o)||Mc(l,r):Mc(l,o):!1})||t(o)},!0)},mI={key:2,class:"va-modal__inner"},hI={class:"va-modal__header"},gI={key:0,class:"va-modal__message"},vI={key:1,class:"va-modal__message"},yI={key:2,class:"va-modal__footer"},bI={key:3,class:"va-modal__footer"},wI=$e({name:"ModalElement",inheritAttrs:!1,props:{...yt,isTransition:{type:Boolean,default:!0}},setup:(e,{slots:t,attrs:n})=>()=>{var o;return e.isTransition?nn(Ld,{...n},t):(o=t.default)==null?void 0:o.call(t,n)}}),_I=$e({name:"VaModal",inheritAttrs:!1,__name:"VaModal",props:{...Ex({cancelButton:bt,okButton:bt,closeButton:rn}),...Er,modelValue:{type:Boolean,default:!1},attachElement:{type:String,default:"body"},allowBodyScroll:{type:Boolean,default:!1},disableAttachment:{type:Boolean,default:!1},title:{type:String,default:""},message:{type:String,default:""},okText:ct("$t:ok"),cancelText:ct("$t:cancel"),hideDefaultActions:{type:Boolean,default:!1},fullscreen:{type:Boolean,default:!1},closeButton:{type:Boolean,default:!1},mobileFullscreen:{type:Boolean,default:!0},noDismiss:{type:Boolean,default:!1},noOutsideDismiss:{type:Boolean,default:!1},noEscDismiss:{type:Boolean,default:!1},maxWidth:{type:String,default:""},maxHeight:{type:String,default:""},anchorClass:{type:String},size:{type:String,default:"medium"},sizesConfig:{type:Object,default:()=>({defaultSize:"medium",sizes:{small:576,medium:768,large:992,auto:"max-content"}})},fixedLayout:{type:Boolean,default:!1},withoutTransitions:{type:Boolean,default:!1},overlay:{type:Boolean,default:!0},overlayOpacity:{type:[Number,String],default:.6},showNestedOverlay:{type:Boolean,default:!1},blur:{type:Boolean,default:!1},zIndex:{type:[Number,String],default:void 0},backgroundColor:{type:String,default:"background-secondary"},noPadding:{type:Boolean,default:!1},beforeClose:{type:Function},beforeOk:{type:Function},beforeCancel:{type:Function},ariaCloseLabel:ct("$t:close")},emits:[...ma,"cancel","ok","before-open","open","before-close","close","click-outside"],setup(e,{expose:t,emit:n}){const o=e;Px(o);const r=n,s=At(),i=At(),{trapFocusIn:l,freeFocus:u}=m2(),{registerModal:c,unregisterModal:d,isTopLevelModal:p,isLowestLevelModal:m}=fI(),{getColor:h}=Pt(),g=vo(go(o,"backgroundColor")),b=Uo(o,r),y=w(()=>({"va-modal--fullscreen":o.fullscreen,"va-modal--mobile-fullscreen":o.mobileFullscreen,"va-modal--fixed-layout":o.fixedLayout,"va-modal--no-padding":o.noPadding})),{zIndex:_}=f2(b),A=w(()=>o.zIndex?Number(o.zIndex):_.value),k=M8(o),E=w(()=>({maxWidth:o.maxWidth||k.value,maxHeight:o.maxHeight,color:g.value,background:h(o.backgroundColor)})),I=w(()=>({"va-modal__overlay--lowest":m.value,"va-modal__overlay--top":p.value})),F=()=>o.showNestedOverlay&&!m.value?"var(--va-modal-overlay-nested-opacity)":"var(--va-modal-overlay-opacity)",P=w(()=>{if(o.overlay)return p.value||o.showNestedOverlay?{"background-color":"var(--va-modal-overlay-color)",opacity:F()}:""}),B=()=>{b.value=!0},O=ce=>{const Re=()=>{b.value=!1,ce==null||ce()};o.beforeClose?o.beforeClose(Re):Re()},j=()=>{b.value=!b.value},G=()=>{const ce=()=>{O(()=>r("cancel"))};o.beforeCancel?o.beforeCancel(ce):ce()},Q=()=>{const ce=()=>{O(()=>r("ok"))};o.beforeOk?o.beforeOk(ce):ce()},Y=()=>{Ct(()=>{i.value&&l(i.value)})},W=ce=>r("before-open",ce),re=ce=>r("open",ce),oe=ce=>r("before-close",ce),ne=ce=>r("close",ce),z=ce=>{setTimeout(()=>{ce.code==="Escape"&&!o.noEscDismiss&&!o.noDismiss&&p.value&&G()})};b2([i],()=>{!b.value||o.noOutsideDismiss||o.noDismiss||!p.value||(r("click-outside"),G())});const N=lg();Po(()=>{var ce,Re;b.value?(ce=N.value)==null||ce.addEventListener("keyup",z):(Re=N.value)==null||Re.removeEventListener("keyup",z)}),dI(go(o,"blur"),b);const ae=ei(),ee=ce=>{!ae.value||o.allowBodyScroll||(ce==="hidden"?ae.value.body.classList.add("va-modal-open"):ae.value.body.classList.remove("va-modal-open"))},K=()=>{c(),ee("hidden")},Ie=()=>{m.value&&(u(),ee("")),d()};we(b,ce=>{ce?K():Ie()}),rt(()=>{b.value&&K(),p.value&&Y()}),Wn(()=>{Ie()}),we(p,ce=>{ce&&Y()},{immediate:!0}),t({show:B,hide:O,toggle:j,cancel:G,ok:Q,onBeforeEnterTransition:W,onAfterEnterTransition:re,onBeforeLeaveTransition:oe,onAfterLeaveTransition:ne,listenKeyUp:z});const{tp:fe}=Mn(),{teleportFromAttrs:ge,teleportedAttrs:Fe}=v2(),ye={show:B,hide:O,toggle:j,cancel:G,ok:Q};return(ce,Re)=>(v(),x("div",{ref_key:"rootElement",ref:s,class:xe(["va-modal-entry",ce.$props.anchorClass])},[ce.$slots.anchor?(v(),x("div",Me({key:0,class:"va-modal__anchor"},f(ge)),[se(ce.$slots,"anchor",nt(dt(ye)))],16)):D("",!0),(v(),X(qc,{to:e.attachElement,disabled:ce.$props.disableAttachment},[C(f(wI),Me({name:"va-modal",isTransition:!ce.$props.withoutTransitions,duration:300,style:{zIndex:A.value},appear:""},{...ce.$attrs,...f(Fe)},{onBeforeEnter:W,onAfterEnter:re,onBeforeLeave:oe,onAfterLeave:ne}),{default:$(()=>[f(b)?(v(),x("div",{key:0,class:xe([y.value,"va-modal"]),role:"dialog","aria-modal":"true"},[ce.$props.overlay?(v(),x("div",{key:0,class:xe(["va-modal__overlay",I.value]),style:ze(P.value)},null,6)):D("",!0),a("div",{ref_key:"modalDialog",ref:i,class:"va-modal__dialog",style:ze([E.value])},[ce.$props.fullscreen||ce.$props.closeButton?(v(),X(f(rn),{key:0,"va-child":"closeButton",class:xe([{"va-modal__close--fullscreen":ce.$props.fullscreen},"va-modal__close"]),"aria-label":f(fe)(ce.$props.ariaCloseLabel),role:"button",tabindex:"0",name:"va-close",onClick:G,onKeydown:[tt(G,["space"]),tt(G,["enter"])]},null,8,["class","aria-label"])):D("",!0),ce.$slots.content?se(ce.$slots,"content",nt(Me({key:1},ye))):(v(),x("div",mI,[a("div",hI,[se(ce.$slots,"header",nt(dt(ye)),()=>[e.title?(v(),x("div",{key:0,class:"va-modal__title",style:ze({color:f(h)("primary")})},V(ce.$props.title),5)):D("",!0)])]),ce.$props.message?(v(),x("div",gI,V(ce.$props.message),1)):D("",!0),ce.$slots.default?(v(),x("div",vI,[se(ce.$slots,"default",nt(dt(ye)))])):D("",!0),(ce.$props.cancelText||ce.$props.okText)&&!ce.$props.hideDefaultActions?(v(),x("div",yI,[ce.$props.cancelText?(v(),X(f(bt),{key:0,"va-child":"cancelButton",preset:"secondary",color:"secondary",class:"va-modal__default-cancel-button va-modal__cancel-button",onClick:G},{default:$(()=>[T(V(f(fe)(ce.$props.cancelText)),1)]),_:1})):D("",!0),C(f(bt),{"va-child":"okButton",class:"va-modal_ok-button",onClick:Q},{default:$(()=>
110[T(V(f(fe)(ce.$props.okText)),1)]),_:1})])):D("",!0),ce.$slots.footer?(v(),x("div",bI,[se(ce.$slots,"footer",nt(dt(ye)))])):D("",!0)]))],4)],2)):D("",!0)]),_:3},16,["isTransition","style"])],8,["to","disabled"]))],2))}}),Li=Je(_I),xI=Symbol("VaAppCachePlugin"),SI=tf(()=>({install(e){const t={colorContrast:{}};e.provide(xI,t)}})),w2=Symbol("AccordionService"),CI=(e,t)=>{const n=M([]),o=()=>{const c=Math.max(n.value.length,t.value.length);return Array.from({length:c},(d,p)=>t.value[p]??!1)},r=c=>t.value[n.value.indexOf(c)]??!1,s=()=>{t.value=o()};return cr(w2,{registerItem:c=>{n.value.push(c),s()},unregisterItem:c=>{n.value=n.value.filter(d=>d!==c),Ct(s)},getItemValue:r,setItemValue:(c,d)=>{const p=n.value.indexOf(c);if(p===-1){dr("Accordion item is not registered yet");return}e.multiple?t.value[p]=d:t.value=o().map((m,h)=>h===p?d:!1)},props:w(()=>e)}),{items:n}},kI=()=>{const e=Dn(w2,void 0);if(!e)return{accordionProps:M({})};const t={};return e.registerItem(t),Wn(()=>e.unregisterItem(t)),{accordionItemValue:w({get:()=>e.getItemValue(t),set:o=>e.setItemValue(t,o)}),accordionProps:e.props}},$I={class:"va-accordion"},AI=$e({name:"VaAccordion",__name:"VaAccordion",props:{...Er,...yt,modelValue:{type:Array,default:()=>[]},multiple:{type:Boolean,default:!1},inset:{type:Boolean,default:!1},stateful:{type:Boolean,default:!0},popout:{type:Boolean,default:!1}},emits:[...ma],setup(e,{expose:t,emit:n}){const o=e,s=Uo(o,n,"modelValue"),{items:i}=CI(o,s);return t({collapses:i,value:s}),(c,d)=>(v(),x("div",$I,[se(c.$slots,"default")]))}}),Ws=Je(AI),yg=e=>{const t=It(),n=At();return rt(()=>{n.value=t.proxy.$el??void 0}),Wi(()=>{n.value=t.proxy.$el??void 0}),Wn(()=>{n.value=t.proxy.$el??void 0}),n},TI=e=>{const{getColor:t}=Pt(),n=w(()=>!!(e.outline||e.border)),o=vo(go(e,"color"),n),r=w(()=>t(e.color)),s=w(()=>{let d=r.value,p="none";return e.outline&&(d="transparent"),e.border&&(d="var(--va-background-primary)",p="var(--va-alert-box-shadow)"),{border:e.outline?`1px solid ${r.value}`:"",padding:e.dense?"var(--va-alert-padding-y-dense) var(--va-alert-padding-x)":"",backgroundColor:d,boxShadow:p}}),i=vo(s2(yg())),l=w(()=>({alignItems:e.center?"center":"",color:e.border||e.outline?i.value:o.value})),u=w(()=>({color:o.value})),c=w(()=>({backgroundColor:e.borderColor?t(e.borderColor):r.value}));return{alertStyle:s,contentStyle:l,titleStyle:u,borderStyle:c}},EI={key:1,class:"va-alert__close"},PI=["aria-label"],OI=$e({name:"VaAlert",__name:"VaAlert",props:{...Er,...yt,modelValue:{type:Boolean,default:!0},stateful:{type:Boolean,default:!0},color:{type:String,default:"primary"},textColor:{type:String,default:""},title:{type:String,default:""},description:{type:String,default:""},icon:{type:String,default:""},closeText:{type:String,default:""},closeIcon:{type:String,default:"close"},closeable:{type:Boolean,default:!1},dense:{type:Boolean,default:!1},outline:{type:Boolean,default:!1},center:{type:Boolean,default:!1},borderColor:{type:String,default:""},border:{type:String,default:"",validator:e=>["top","right","bottom","left",""].includes(e)}},emits:[...ma],setup(e,{expose:t,emit:n}){const o=e,r=n,{contentStyle:s,titleStyle:i,alertStyle:l,borderStyle:u}=TI(o),c=Uo(o,r),d=()=>{c.value=!1},p=()=>{c.value=!0},m=pa(),h=w(()=>o.icon||m.icon),g=w(()=>o.title||m.title),b=w(()=>`va-alert__border--${o.border}`),{t:y}=Mn();return t({hide:d,show:p}),(_,A)=>(v(),X(Ld,{name:"fade"},{default:$(()=>[f(c)?(v(),x("div",{key:0,class:"va-alert",style:ze(f(l)),role:"alert"},[a("div",{style:ze(f(u)),class:xe([b.value,"va-alert__border"])},null,6),h.value?(v(),x("div",{key:0,style:ze(f(s)),class:"va-alert__icon","aria-hidden":"true"},[se(_.$slots,"icon",{},()=>[C(f(rn),{name:e.icon},null,8,["name"])])],4)):D("",!0),a("div",{style:ze(f(s)),class:"va-alert__content"},[g.value?(v(),x("div",{key:0,style:ze(f(i)),class:"va-alert__title"},[se(_.$slots,"title",{},()=>[T(V(e.title),1)])],4)):D("",!0),a("span",null,[se(_.$slots,"default",{},()=>[T(V(_.$props.description),1)])])],4),e.closeable?(v(),x("div",EI,[a("div",{role:"button",class:"va-alert__close--closeable",tabindex:"0","aria-label":e.closeText||f(y)("closeAlert"),style:ze(f(s)),onClick:d,onKeydown:[tt(d,["space"]),tt(d,["enter"])]},[se(_.$slots,"close",{},()=>[e.closeText?D("",!0):(v(),X(f(rn),{key:0,name:e.closeIcon}
110,null,8,["name"])),T(" "+V(e.closeText),1)])],44,PI)])):D("",!0)],4)):D("",!0)]),_:3}))}}),II=Je(OI),wp=e=>{const t=Au(),n=ei();return w(()=>{var o,r,s;return typeof(e==null?void 0:e.value)=="string"?e.value===""?(o=n.value)==null?void 0:o.body:t.value?(r=n.value)==null?void 0:r.querySelector(e.value):(s=n.value)==null?void 0:s.querySelector(e.value):Vn(e==null?void 0:e.value)})},DI=$e({name:"VaAspectRatio",__name:"VaAspectRatio",props:{...yt,ratio:{type:[Number,String],default:"auto"},contentHeight:Un({default:1}),contentWidth:Un({default:1}),maxWidth:{type:[Number,String],default:0,validator:e=>Number(e)>=0}},setup(e){const t=e,n=Kt("contentHeight"),o=Kt("contentWidth"),r=w(()=>t.ratio==="auto"&&t.contentHeight===1&&t.contentWidth===1?0:isNaN(+t.ratio)?o.value/n.value:t.ratio),s=w(()=>{if(r.value)return{paddingBottom:`${1/r.value*100}%`}}),i=w(()=>t.maxWidth?`${t.maxWidth}px`:void 0);return(l,u)=>(v(),x("div",{class:"va-aspect-ratio",style:ze(`--va-max-width-computed: ${String(i.value)}`)},[s.value?(v(),x("div",{key:0,style:ze(s.value)},null,4)):D("",!0),se(l.$slots,"default")],4))}}),MI=Je(DI),RI=$e({name:"VaFallback",props:{fallbackSrc:{type:String},fallbackText:{type:String},fallbackIcon:{type:String},fallbackRender:{type:Function}},components:{VaIcon:rn},emits:["fallback"],setup(e,{emit:t}){return rt(()=>{t("fallback")}),e.fallbackIcon?()=>nn(rn,{name:e.fallbackIcon}):e.fallbackSrc?()=>nn("img",{src:e.fallbackSrc}):e.fallbackRender?()=>{var n;return nn((n=e.fallbackRender)==null?void 0:n.call(e))}:()=>nn("span",e.fallbackText)}}),ru=Je(RI);function _2(e){switch(!0){case Array.isArray(e):return e.reduce((t,n)=>({...t,[n]:null}),{});case(typeof e=="object"&&e!==null):return e;default:return{}}}function dd(e,t,n="props"){const{mixins:o,extends:r}=t;r&&dd(e,r,n),o&&o.forEach(i=>dd(e,i,n));const s=_2(t[n]);for(const i in s)e[i]=s[i]}function LI(e){return e.options?e.options:e.__vccOpts||e.__b?{...e.__vccOpts,...e.__b}:e}function VI(e,t="props"){const n=e.mixins??[],o=e.extends??[],r={};dd(r,o,t);for(let s=0;s<n.length;s++)dd(r,n[s],t);return Object.assign(r,_2(e[t])),r}const BI=e=>VI(LI(e));function ln(e,t){const n=BI(e);return t?Object.keys(n).reduce((o,r)=>(t.includes(r)||n[r]===void 0||(o[r]=typeof n[r]=="string"?{}:n[r]),o),{}):n}function xl(e){return[...new Set(e.emits)]}const Pn=e=>{const{props:t}=It();return w(()=>Object.keys(e).reduce((n,o)=>(n[o]=t[o],n),{}))},FI=["src","alt"],jb=ln(ru),NI=$e({name:"VaAvatar",__name:"VaAvatar",props:{...of,...Jd,...yt,...jb,color:{type:String,default:"primary"},textColor:{type:String},square:{type:Boolean,default:!1},fontSize:{type:String,default:""},src:{type:String,default:null},icon:{type:String,default:""},alt:{type:String,default:""}},emits:["error","fallback"],setup(e,{expose:t,emit:n}){const o=e,r=n,{getColor:s}=Pt(),i=w(()=>s(o.color)),l=w(()=>{if(!(o.loading||o.src&&!h.value))return i.value}),{sizeComputed:u,fontSizeComputed:c}=Zd(o,"VaAvatar"),d=vo(l),p=w(()=>({fontSize:o.fontSize||c.value})),m=yo("va-avatar",()=>({...so(o,["square"])})),h=M(!1),g=_=>{h.value=!0,r("error",_)};we(()=>o.src,()=>{h.value=!1});const b=w(()=>({hasError:h.value,onError:g})),y=Pn(jb);return t({hasLoadError:h}),(_,A)=>(v(),x("div",{class:xe(["va-avatar",f(m)]),style:ze([p.value,`--va-background-color-computed: ${String(l.value)};--va-text-color-computed: ${String(f(d))};--va-size-computed: ${String(f(u))}`])},[_.$props.loading?(v(),X(f(l2),{key:0,size:f(u),color:i.value,indeterminate:""},null,8,["size","color"])):se(_.$slots,"default",nt(Me({key:1},b.value)),()=>[_.$props.src&&!h.value?(v(),x("img",{key:0,src:_.$props.src,alt:_.$props.alt,onError:g},null,40,FI)):h.value&&_.$props.src?se(_.$slots,"fallback",{key:1},()=>[C(f(ru),Me(f(y),{onFallback:A[0]||(A[0]=k=>_.$emit("fallback"))}),null,16)]):_.$props.icon?(v(),X(f(rn),{key:2,name:_.$props.icon},null,8,["name"])):se(_.$slots,"fallback",{key:3},()=>[C(f(ru),Me(f(y),{onFallback:A[1]||(A[1]=k=>_.$emit("fallback"))}),null,16)])])],6))}}),zI=Je(NI),x2=["top","bottom"],S2=["left","right"],jI=[...x2,...S2],UI=["start","end","center"],HI=jI.reduce((e,t)=>
110(e.push(t),UI.forEach(n=>e.push(`${t}-${n}`)),e),["auto"]),WI=x2.reduce((e,t)=>(S2.forEach(n=>{e.push(`${t}-${n}`),e.push(`${n}-${t}`)}),e),[]),C2=[...HI,...WI],qI={"top-left":"top-start","left-top":"top-start","top-right":"top-end","right-top":"top-end","bottom-left":"bottom-start","left-bottom":"bottom-start","bottom-right":"bottom-end","right-bottom":"bottom-end"},k2={placement:{type:String,default:"auto",validator:e=>C2.includes(e)}},$2=e=>{const t=w(()=>(qI[e.placement]||e.placement).split("-")),n=w(()=>{const r=t.value[0];return r==="auto"?"bottom":r}),o=w(()=>t.value[1]||"center");return{position:n,align:o}},Im=e=>typeof e=="string"?!isNaN(+e)||e.endsWith("px")||e.endsWith("rem"):!1,GI=e=>typeof e=="number"?e>=0:Im(e)&&parseInt(e)>=0,Ub=e=>(e.type||(e.type=[String,Number]),e),A2=ug(()=>{const e=ei(),t=M(16);return we(e,()=>{e.value&&(t.value=parseFloat(getComputedStyle(e.value.documentElement).fontSize))},{immediate:!0}),Yt("resize",()=>{t.value=parseFloat(getComputedStyle(e.value.documentElement).fontSize)}),t}),Hb=(e,t)=>{const n=A2();return w(()=>{const r=e==null?void 0:e[t];if(typeof r=="number")return r;if(typeof r>"u")return;if(typeof r!="string")return r;const s=parseInt(r);return isNaN(s)?0:r.endsWith("rem")?s*f(n):s})},YI=()=>{const e=A2();return n=>{if(typeof n=="string"){const o=parseInt(n);return isNaN(o)?0:n.endsWith("rem")?o*f(e):o}return n}},KI={overlap:{type:Boolean,default:!1},placement:{type:String,default:"top-end",validator:e=>C2.includes(e)},offset:{type:[Number,String,Array],default:0,validator:e=>Array.isArray(e)?e.every(Im):typeof e=="string"?Im(e):!isNaN(e)}},QI=(e,t)=>{if(!t.value)return{};const{position:n,align:o}=$2(e),r=YI(),s=w(()=>({start:e.overlap?"-50%":"-100%",center:"-50%",end:e.overlap?"-50%":"0%"})[o.value]),i=w(()=>{if(!e.offset)return{};const c=["left","right"].includes(n.value)?"top":"left",d=c==="top"?"left":"top";if(Array.isArray(e.offset)){const[m,h]=e.offset.map(r);return{[`margin-${c}`]:`${m}px`,[`margin-${d}`]:`${h}px`}}const p=r(e.offset);return{[`margin-${d}`]:`${p}px`}}),l=w(()=>{const c=["left","right"].includes(n.value)?"top":"left",d=c==="top"?"left":"top";let p="0%";return d==="top"&&n.value==="bottom"&&(p="100%"),d==="left"&&n.value==="right"&&(p="100%"),{start:{[c]:"0%",[d]:p},center:{[c]:"50%",[d]:p},end:{[c]:"100%",[d]:p}}[o.value]}),u=w(()=>{const c={top:{x:s.value,y:e.overlap?"-50%":"-100%"},bottom:{x:s.value,y:e.overlap?"-50%":"0%"},left:{x:e.overlap?"-50%":"-100%",y:s.value},right:{x:e.overlap?"-50%":"0%",y:s.value}},{x:d,y:p}=c[n.value];return{transform:`translate(${d}, ${p})`}});return w(()=>({...l.value,...u.value,...i.value}))},XI={props:"prop",attrs:"prop",slots:"slot"},JI=(e,t=["props","attrs"])=>{if(!Xh)return;const n=It();if(!n)throw new Error("`useDeprecated` hook must be used only inside of setup function!");const o=n.type.name,r=f(e);t.every(s=>{var i;const l=XI[s],u=c=>console.warn(`The '${c}' ${l} (${o} component) is deprecated! Please, check the documentation.`);if(s==="props"){const c=((i=n.propsOptions)==null?void 0:i[0])||{},d=n.props||{};return r.forEach(p=>{c[p]&&d[p]!==c[p].default&&u(p)}),!0}return Object.keys({...n[s]}).forEach(c=>{r.includes(c)&&u(c)}),!0})},ZI=["aria-labelledby"],eD={class:"va-badge__text"},tD=$e({name:"VaBadge",__name:"VaBadge",props:{...yt,...KI,color:{type:String,default:"danger"},textColor:{type:String},text:{type:[String,Number],default:""},multiLine:{type:Boolean,default:!1},visibleEmpty:{type:Boolean,default:!1},dot:{type:Boolean,default:!1},transparent:{type:Boolean,default:!1}},setup(e){const t=e;JI(["transparent"]);const n=pa(),o=w(()=>!(t.text||t.visibleEmpty||t.dot||n.text)),r=w(()=>!!(n.default||t.dot)),s=yo("va-badge",()=>({...so(t,["visibleEmpty","dot","multiLine"]),empty:o.value,floating:r.value})),{getColor:i}=Pt(),l=w(()=>i(t.color)),u=vo(l),c=QI(t,r),d=w(()=>({color:u.value,borderColor:l.value,backgroundColor:l.value,opacity:t.transparent?.5:1,...f(c)})),p=w(()=>t.text?String(t.text):void 0);return(m,h)=>(v(),x("div",{class:xe(["va-badge",f(s)]),role:"status","aria-labelledby":p.value},[a("span",{class:"va-badge__text-wrapper",style:ze(d.value)},[a("span",eD,[se(m.$slots,"text",{},()=>[T(V(e.text),1)])])],4),se(m.$slots,"default")],10,ZI))}}),nD=Je(tD),Wb=Ia(ln(bt),["block","gradient"]),oD=$e({name:"VaButtonGroup",__name:"VaButtonGroup",props:{...Wb,...yt,grow:{type:Boolean,default:!1},gradient:{type:Boolean,default:!1}}
110,setup(e){const t=e,{getColor:n,getGradientBackground:o}=Pt(),r=w(()=>n(t.color)),s=vo(r),i=Pn(Wb),l=w(()=>({VaButton:{...i.value,...t.gradient&&{color:"#00000000",textColor:s.value}}})),u=yo("va-button-group",()=>({square:!t.round,grow:t.grow,small:t.size==="small",large:t.size==="large"})),c=w(()=>t.gradient?o(r.value):"transparent");return(d,p)=>(v(),x("div",{class:xe(["va-button-group",f(u)]),style:ze(`--va-background-color: ${String(c.value)}`)},[C(f(sg),{components:l.value},{default:$(()=>[se(d.$slots,"default")]),_:3},8,["components"])],6))}}),rD=Je(oD),qb=e=>{const t=e.target;return!(!(t.tagName==="INPUT"||t.tagName==="TEXTAREA")||t.attributes.getNamedItem("readonly"))},aD=e=>Array.isArray(e),sD=(e,t,n,o)=>{const r=c=>(c=c.replace(/-/g,"").toLowerCase(),c==="space"?" ":c==="rightclick"?"contextmenu":c),s=w(()=>aD(o.trigger)?o.trigger.map(c=>r(c)):[r(o.trigger)]);Yt("keydown",c=>{o.disabled||(c.key==="Escape"&&e.value&&(e.value=!1,c.preventDefault()),!qb(c)&&s.value.includes(r(c.key))&&(e.value=!e.value,c.preventDefault()))},t),Yt("keydown",c=>{o.disabled||c.key==="Escape"&&e.value&&(e.value=!1,c.preventDefault())},n),Yt(["click","contextmenu","dblclick"],c=>{o.disabled||qb(c)||s.value.includes(r(c.type))&&(c.preventDefault(),e.value&&o.closeOnAnchorClick?(e.value=!1,o.cursor&&setTimeout(()=>{e.value=!0},16)):e.value=!0)},t),Yt(["click","contextmenu","dblclick"],c=>{o.closeOnContentClick&&(e.value=!1)},n);const i=Om(()=>{e.value=!0},Kt("hoverOverTimeout")),l=Om(()=>{e.value=!1},Kt("hoverOutTimeout")),u=c=>{if(!o.disabled&&s.value.includes("hover"))if(c.type==="mouseleave"){if(i.cancel(),!o.isContentHoverable){e.value=!1;return}l()}else l.cancel(),i()};Yt(["mouseleave","mouseenter"],u,t),Yt(["mouseleave","mouseenter"],u,n)},iD=e=>{const t=M(),n=ei(),o=Au();return{anchorRef:w({set(s){t.value=Vn(s)},get(){var s,i,l;return o.value,typeof e.anchor=="string"?((s=n.value)==null?void 0:s.querySelector(e.anchor))??t.value:typeof e.anchor=="object"?Vn(e.anchor):e.anchorSelector?((i=n.value)==null?void 0:i.querySelector(e.anchorSelector))??t.value:e.innerAnchorSelector&&t.value?((l=t.value)==null?void 0:l.querySelector(e.innerAnchorSelector))??t.value:t.value}})}},lD=(e,t)=>{const n=Fo({x:0,y:0});return Yt(["mousemove","mousedown","mouseup"],o=>{var r;if(!t.value)return;const{x:s,y:i}=((r=e.value)==null?void 0:r.getBoundingClientRect())??{x:0,y:0};n.x=o.clientX-s,n.y=o.clientY-i},e),w(()=>({getBoundingClientRect(){var o;const{x:r,y:s}=((o=e.value)==null?void 0:o.getBoundingClientRect())??{x:0,y:0},i=n.x+r,l=n.y+s;return{width:0,height:0,x:i,y:l,top:l,right:i,bottom:l,left:i}},contextElement:e.value}))},Vi=Math.min,ar=Math.max,fd=Math.round,oc=Math.floor,ua=e=>({x:e,y:e}),uD={left:"right",right:"left",bottom:"top",top:"bottom"},cD={start:"end",end:"start"};function Gb(e,t,n){return ar(e,Vi(t,n))}function Eu(e,t){return typeof e=="function"?e(t):e}function ss(e){return e.split("-")[0]}function Pu(e){return e.split("-")[1]}function T2(e){return e==="x"?"y":"x"}function E2(e){return e==="y"?"height":"width"}function ns(e){return["top","bottom"].includes(ss(e))?"y":"x"}function P2(e){return T2(ns(e))}function dD(e,t,n){n===void 0&&(n=!1);const o=Pu(e),r=P2(e),s=E2(r);let i=r==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(i=pd(i)),[i,pd(i)]}function fD(e){const t=pd(e);return[Dm(e),t,Dm(t)]}function Dm(e){return e.replace(/start|end/g,t=>cD[t])}function pD(e,t,n){const o=["left","right"],r=["right","left"],s=["top","bottom"],i=["bottom","top"];switch(e){case"top":case"bottom":return n?t?r:o:t?o:r;case"left":case"right":return t?s:i;default:return[]}}function mD(e,t,n,o){const r=Pu(e);let s=pD(ss(e),n==="start",o);return r&&(s=s.map(i=>i+"-"+r),t&&(s=s.concat(s.map(Dm)))),s}function pd(e){return e.replace(/left|right|bottom|top/g,t=>uD[t])}function hD(e){return{top:0,right:0,bottom:0,left:0,...e}}function gD(e){return typeof e!="number"?hD(e):{top:e,right:e,bottom:e,left:e}}function md(e){const{x:t,y:n,width:o,height:r}=e;return{width:o,height:r,top:n,left:t,right:t+o,bottom:n+r,x:t,y:n}}function Yb(e,t,n){let{reference:o,floating:r}=e;const s=ns(t),i=P2(t),l=E2(i),u=ss(t),c=s==="y",d=o.x+o.width/2-r.width/2,p=o.y+o.height/2-r.height/2,m=o[l]/2-r[l]/2;let h;switch(u){case"top":h={x:d,y:o.y-r.height};break;case"bottom":h={x:d,y:o.y+o.height};break;case"right":h={x:o.x+o.width,y:p};break;case"left":h={x:o.x-r.width,y:p};break;default:h={x:o.x,y:o.y}}switch(Pu(t)){case"start":h[i]-=m*(n&&c?-1:1);break;case"end":h[i]+=m*(n&&c?-1:1);break}return h}const vD=async(e,t,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:s=[],platform:i}
vendor: 15,397 bytes, line 110
110=n,l=s.filter(Boolean),u=await(i.isRTL==null?void 0:i.isRTL(t));let c=await i.getElementRects({reference:e,floating:t,strategy:r}),{x:d,y:p}=Yb(c,o,u),m=o,h={},g=0;for(let b=0;b<l.length;b++){const{name:y,fn:_}=l[b],{x:A,y:k,data:E,reset:I}=await _({x:d,y:p,initialPlacement:o,placement:m,strategy:r,middlewareData:h,rects:c,platform:i,elements:{reference:e,floating:t}});d=A??d,p=k??p,h={...h,[y]:{...h[y],...E}},I&&g<=50&&(g++,typeof I=="object"&&(I.placement&&(m=I.placement),I.rects&&(c=I.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:r}):I.rects),{x:d,y:p}=Yb(c,m,u)),b=-1)}return{x:d,y:p,placement:m,strategy:r,middlewareData:h}};async function bg(e,t){var n;t===void 0&&(t={});const{x:o,y:r,platform:s,rects:i,elements:l,strategy:u}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:p="floating",altBoundary:m=!1,padding:h=0}=Eu(t,e),g=gD(h),y=l[m?p==="floating"?"reference":"floating":p],_=md(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(y)))==null||n?y:y.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(l.floating)),boundary:c,rootBoundary:d,strategy:u})),A=p==="floating"?{x:o,y:r,width:i.floating.width,height:i.floating.height}:i.reference,k=await(s.getOffsetParent==null?void 0:s.getOffsetParent(l.floating)),E=await(s.isElement==null?void 0:s.isElement(k))?await(s.getScale==null?void 0:s.getScale(k))||{x:1,y:1}:{x:1,y:1},I=md(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:A,offsetParent:k,strategy:u}):A);return{top:(_.top-I.top+g.top)/E.y,bottom:(I.bottom-_.bottom+g.bottom)/E.y,left:(_.left-I.left+g.left)/E.x,right:(I.right-_.right+g.right)/E.x}}const yD=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,o;const{placement:r,middlewareData:s,rects:i,initialPlacement:l,platform:u,elements:c}=t,{mainAxis:d=!0,crossAxis:p=!0,fallbackPlacements:m,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:b=!0,...y}=Eu(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const _=ss(r),A=ns(l),k=ss(l)===l,E=await(u.isRTL==null?void 0:u.isRTL(c.floating)),I=m||(k||!b?[pd(l)]:fD(l)),F=g!=="none";!m&&F&&I.push(...mD(l,b,g,E));const P=[l,...I],B=await bg(t,y),O=[];let j=((o=s.flip)==null?void 0:o.overflows)||[];if(d&&O.push(B[_]),p){const re=dD(r,i,E);O.push(B[re[0]],B[re[1]])}if(j=[...j,{placement:r,overflows:O}],!O.every(re=>re<=0)){var G,Q;const re=(((G=s.flip)==null?void 0:G.index)||0)+1,oe=P[re];if(oe){var Y;const z=p==="alignment"?A!==ns(oe):!1,N=((Y=j[0])==null?void 0:Y.overflows[0])>0;if(!z||N)return{data:{index:re,overflows:j},reset:{placement:oe}}}let ne=(Q=j.filter(z=>z.overflows[0]<=0).sort((z,N)=>z.overflows[1]-N.overflows[1])[0])==null?void 0:Q.placement;if(!ne)switch(h){case"bestFit":{var W;const z=(W=j.filter(N=>{if(F){const ae=ns(N.placement);return ae===A||ae==="y"}return!0}).map(N=>[N.placement,N.overflows.filter(ae=>ae>0).reduce((ae,ee)=>ae+ee,0)]).sort((N,ae)=>N[1]-ae[1])[0])==null?void 0:W[0];z&&(ne=z);break}case"initialPlacement":ne=l;break}if(r!==ne)return{reset:{placement:ne}}}return{}}}};async function bD(e,t){const{placement:n,platform:o,elements:r}=e,s=await(o.isRTL==null?void 0:o.isRTL(r.floating)),i=ss(n),l=Pu(n),u=ns(n)==="y",c=["left","top"].includes(i)?-1:1,d=s&&u?-1:1,p=Eu(t,e);let{mainAxis:m,crossAxis:h,alignmentAxis:g}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return l&&typeof g=="number"&&(h=l==="end"?g*-1:g),u?{x:h*d,y:m*c}:{x:m*c,y:h*d}}const wD=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,o;const{x:r,y:s,placement:i,middlewareData:l}=t,u=await bD(t,e);return i===((n=l.offset)==null?void 0:n.placement)&&(o=l.arrow)!=null&&o.alignmentOffset?{}:{x:r+u.x,y:s+u.y,data:{...u,placement:i}}}}},_D=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:o,placement:r}=t,{mainAxis:s=!0,crossAxis:i=!1,limiter:l={fn:y=>{let{x:_,y:A}=y;return{x:_,y:A}}},...u}=Eu(e,t),c={x:n,y:o},d=await bg(t,u),p=ns(ss(r)),m=T2(p);let h=c[m],g=c[p];if(s){const y=m==="y"?"top":"left",_=m==="y"?"bottom":"right",A=h+d[y],k=h-d[_];h=Gb(A,h,k)}if(i){const y=p==="y"?"top":"left",_=p==="y"?"bottom":"right",A=g+d[y],k=g-d[_];g=Gb(A,g,k)}const b=l.fn({...t,[m]:h,[p]:g});return{...b,data:{x:b.x-n,y:b.y-o,enabled:{[m]:s,[p]:i}}}}}},xD=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,o;const{placement:r,rects:s,platform:i,elements:l}=t,{apply:u=()=>{},...c}=Eu(e,t),d=await bg(t,c),p=ss(r),m=Pu(r),h=ns(r)==="y",{width:g,height:b}=s.floating;let y,_;p==="top"||p==="bottom"?(y=p,_=m===(await(i.isRTL==null?void 0:i.isRTL(l.floating))?"start":"end")?"left":"right"):(_=p,y=m==="end"?"top":"bottom");const A=b-d.top-d.bottom,k=g-d.left-d.right,E=Vi(b-d[y],A),I=Vi(g-d[_],k),F=!t.middlewareData.shift;let P=E,B=I;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(B=k),(o=t.middlewareData.shift)!=null&&o.enabled.y&&(P=A),F&&!m){const j=ar(d.left,0),G=ar(d.right,0),Q=ar(d.top,0),Y=ar(d.bottom,0);h?B=g-2*(j!==0||G!==0?j+G:ar(d.left,d.right)):P=b-2*(Q!==0||Y!==0?Q+Y:ar(d.top,d.bottom))}await u({...t,availableWidth:B,availableHeight:P});const O=await i.getDimensions(l.floating);return g!==O.width||b!==O.height?{reset:{rects:!0}}:{}}}};function rf(){return typeof window<"u"}function ti(e){return wg(e)?(e.nodeName||"").toLowerCase():"#document"}function ir(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ha(e){var t;return(t=(wg(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function wg(e){return rf()?e instanceof Node||e instanceof ir(e).Node:!1}function Nr(e){return rf()?e instanceof Element||e instanceof ir(e).Element:!1}function da(e){return rf()?e instanceof HTMLElement||e instanceof ir(e).HTMLElement:!1}function Kb(e){return!rf()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ir(e).ShadowRoot}function Ou(e){const{overflow:t,overflowX:n,overflowY:o,display:r}=zr(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!["inline","contents"].includes(r)}function SD(e){return["table","td","th"].includes(ti(e))}function af(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function _g(e){const t=xg(),n=Nr(e)?zr(e):e;return["transform","translate","scale","rotate","perspective"].some(o=>n[o]?n[o]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(o=>(n.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(n.contain||"").includes(o))}function CD(e){let t=is(e);for(;da(t)&&!Bi(t);){if(_g(t))return t;if(af(t))return null;t=is(t)}return null}function xg(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Bi(e){return["html","body","#document"].includes(ti(e))}function zr(e){return ir(e).getComputedStyle(e)}function sf(e){return Nr(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function is(e){if(ti(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Kb(e)&&e.host||ha(e);return Kb(t)?t.host:t}function O2(e){const t=is(e);return Bi(t)?e.ownerDocument?e.ownerDocument.body:e.body:da(t)&&Ou(t)?t:O2(t)}function au(e,t,n){var o;t===void 0&&(t=[]),n===void 0&&(n=!0);const r=O2(e),s=r===((o=e.ownerDocument)==null?void 0:o.body),i=ir(r);if(s){const l=Mm(i);return t.concat(i,i.visualViewport||[],Ou(r)?r:[],l&&n?au(l):[])}return t.concat(r,au(r,[],n))}function Mm(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function I2(e){const t=zr(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const r=da(e),s=r?e.offsetWidth:n,i=r?e.offsetHeight:o,l=fd(n)!==s||fd(o)!==i;return l&&(n=s,o=i),{width:n,height:o,$:l}}function Sg(e){return Nr(e)?e:e.contextElement}function Si(e){const t=Sg(e);if(!da(t))return ua(1);const n=t.getBoundingClientRect(),{width:o,height:r,$:s}=I2(t);let i=(s?fd(n.width):n.width)/o,l=(s?fd(n.height):n.height)/r;return(!i||!Number.isFinite(i))&&(i=1),(!l||!Number.isFinite(l))&&(l=1),{x:i,y:l}}const kD=ua(0);function D2(e){const t=ir(e);return!xg()||!t.visualViewport?kD:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function $D(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==ir(e)?!1:t}function qs(e,t,n,o){t===void 0&&(t=!1),n===void 0&&(n=!1);const r=e.getBoundingClientRect(),s=Sg(e);let i=ua(1);t&&(o?Nr(o)&&(i=Si(o)):i=Si(e));const l=$D(s,n,o)?D2(s):ua(0);let u=(r.left+l.x)/i.x,c=(r.top+l.y)/i.y,d=r.width/i.x,p=r.height/i.y;if(s){const m=ir(s),h=o&&Nr(o)?ir(o):o;let g=m,b=Mm(g);for(;b&&o&&h!==g;){const y=Si(b),_=b.getBoundingClientRect(),A=zr(b),k=_.left+(b.clientLeft+parseFloat(A.paddingLeft))*y.x,E=_.top+(b.clientTop+parseFloat(A.paddingTop))*y.y;u*=y.x,c*=y.y,d*=y.x,p*=y.y,u+=k,c+=E,g=ir(b),b=Mm(g)}}return md({width:d,height:p,x:u,y:c})}function Cg(e,t){const n=sf(e).scrollLeft;return t?t.left+n:qs(ha(e)).left+n}function M2(e,t,n){n===void 0&&(n=!1);const o=e.getBoundingClientRect(),r=o.left+t.scrollLeft-(n?0:Cg(e,o)),s=o.top+t.scrollTop;return{x:r,y:s}}function AD(e){let{elements:t,rect:n,offsetParent:o,strategy:r}=e;const s=r==="fixed",i=ha(o),l=t?af(t.floating):!1;if(o===i||l&&s)return n;let u={scrollLeft:0,scrollTop:0},c=ua(1);const d=ua(0),p=da(o);if((p||!p&&!s)&&((ti(o)!=="body"||Ou(i))&&(u=sf(o)),da(o))){const h=qs(o);c=Si(o),d.x=h.x+o.clientLeft,d.y=h.y+o.clientTop}const m=i&&!p&&!s?M2(i,u,!0):ua(0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-u.scrollLeft*c.x+d.x+m.x,y:n.y*c.y-u.scrollTop*c.y+d.y+m.y}}function TD(e){return Array.from(e.getClientRects())}function ED(e){const t=ha(e),n=sf(e),o=e.ownerDocument.body,r=ar(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),s=ar(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let i=-n.scrollLeft+Cg(e);const l=-n.scrollTop;return zr(o).direction==="rtl"&&(i+=ar(t.clientWidth,o.clientWidth)-r),{width:r,height:s,x:i,y:l}}function PD(e,t){const n=ir(e),o=ha(e),r=n.visualViewport;let s=o.clientWidth,i=o.clientHeight,l=0,u=0;if(r){s=r.width,i=r.height;const c=xg();(!c||c&&t==="fixed")&&(l=r.offsetLeft,u=r.offsetTop)}return{width:s,height:i,x:l,y:u}}function OD(e,t){const n=qs(e,!0,t==="fixed"),o=n.top+e.clientTop,r=n.left+e.clientLeft,s=da(e)?Si(e):ua(1),i=e.clientWidth*s.x,l=e.clientHeight*s.y,u=r*s.x,c=o*s.y;return{width:i,height:l,x:u,y:c}}function Qb(e,t,n){let o;if(t==="viewport")o=PD(e,n);else if(t==="document")o=ED(ha(e));else if(Nr(t))o=OD(t,n);else{const r=D2(e);o={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return md(o)}function R2(e,t){const n=is(e);return n===t||!Nr(n)||Bi(n)?!1:zr(n).position==="fixed"||R2(n,t)}function ID(e,t){const n=t.get(e);if(n)return n;let o=au(e,[],!1).filter(l=>Nr(l)&&ti(l)!=="body"),r=null;const s=zr(e).position==="fixed";let i=s?is(e):e;for(;Nr(i)&&!Bi(i);){const l=zr(i),u=_g(i);!u&&l.position==="fixed"&&(r=null),(s?!u&&!r:!u&&l.position==="static"&&!!r&&["absolute","fixed"].includes(r.position)||Ou(i)&&!u&&R2(e,i))?o=o.filter(d=>d!==i):r=l,i=is(i)}return t.set(e,o),o}function DD(e){let{element:t,boundary:n,rootBoundary:o,strategy:r}=e;const i=[...n==="clippingAncestors"?af(t)?[]:ID(t,this._c):[].concat(n),o],l=i[0],u=i.reduce((c,d)=>{const p=Qb(t,d,r);return c.top=ar(p.top,c.top),c.right=Vi(p.right,c.right),c.bottom=Vi(p.bottom,c.bottom),c.left=ar(p.left,c.left),c},Qb(t,l,r));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function MD(e){const{width:t,height:n}=I2(e);return{width:t,height:n}}function RD(e,t,n){const o=da(t),r=ha(t),s=n==="fixed",i=qs(e,!0,s,t);let l={scrollLeft:0,scrollTop:0};const u=ua(0);function c(){u.x=Cg(r)}if(o||!o&&!s)if((ti(t)!=="body"||Ou(r))&&(l=sf(t)),o){const h=qs(t,!0,s,t);u.x=h.x+t.clientLeft,u.y=h.y+t.clientTop}else r&&c();s&&!o&&r&&c();const d=r&&!o&&!s?M2(r,l):ua(0),p=i.left+l.scrollLeft-u.x-d.x,m=i.top+l.scrollTop-u.y-d.y;return{x:p,y:m,width:i.width,height:i.height}}function _p(e){return zr(e).position==="static"}function Xb(e,t){if(!da(e)||zr(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return ha(e)===n&&(n=n.ownerDocument.body),n}function L2(e,t){const n=ir(e);if(af(e))return n;if(!da(e)){let r=is(e);for(;r&&!Bi(r);){if(Nr(r)&&!_p(r))return r;r=is(r)}return n}let o=Xb(e,t);for(;o&&SD(o)&&_p(o);)o=Xb(o,t);return o&&Bi(o)&&_p(o)&&!_g(o)?n:o||CD(e)||n}const LD=async function(e){const t=this.getOffsetParent||L2,n=this.getDimensions,o=await n(e.floating);return{reference:RD(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function VD(e){return zr(e).direction==="rtl"}const BD={convertOffsetParentRelativeRectToViewportRelativeRect:AD,getDocumentElement:ha,getClippingRect:DD,getOffsetParent:L2,getElementRects:LD,getClientRects:TD,getDimensions:MD,getScale:Si,isElement:Nr,isRTL:VD};function V2(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function FD(e,t){let n=null,o;const r=ha(e);function s(){var l;clearTimeout(o),(l=n)==null||l.disconnect(),n=null}function i(l,u){l===void 0&&(l=!1),u===void 0&&(u=1),s();const c=e.getBoundingClientRect(),{left:d,top:p,width:m,height:h}=c;if(l||t(),!m||!h)return;const g=oc(p),b=oc(r.clientWidth-(d+m)),y=oc(r.clientHeight-(p+h)),_=oc(d),k={rootMargin:-g+"px "+-b+"px "+-y+"px "+-_+"px",threshold:ar(0,Vi(1,u))||1};let E=!0;function I(F){const P=F[0].intersectionRatio;if(P!==u){if(!E)return i();P?i(!1,P):o=setTimeout(()=>{i(!1,1e-7)},1e3)}P===1&&!V2(c,e.getBoundingClientRect())&&i(),E=!1}try{n=new IntersectionObserver(I,{...k,root:r.ownerDocument})}catch{n=new IntersectionObserver(I,k)}n.observe(e)}return i(!0),s}function ND(e,t,n,o){o===void 0&&(o={});const{ancestorScroll:r=!0,ancestorResize:s=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:u=!1}=o,c=Sg(e),d=r||s?[...c?au(c):[],...au(t)]:[];d.forEach(_=>{r&&_.addEventListener("scroll",n,{passive:!0}),s&&_.addEventListener("resize",n)});const p=c&&l?FD(c,n):null;let m=-1,h=null;i&&(h=new ResizeObserver(_=>{let[A]=_;A&&A.target===c&&h&&(h.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var k;(k=h)==null||k.observe(t)})),n()}),c&&!u&&h.observe(c),h.observe(t));let g,b=u?qs(e):null;u&&y();function y(){const _=qs(e);b&&!V2(b,_)&&n(),b=_,g=requestAnimationFrame(y)}return n(),()=>{var _;d.forEach(A=>{r&&A.removeEventListener("scroll",n),s&&A.removeEventListener("resize",n)}),p==null||p(),(_=h)==null||_.disconnect(),h=null,u&&cancelAnimationFrame(g)}}const zD=wD,jD=_D,UD=yD,HD=xD,WD=(e,t,n)=>{const o=new Map,r={platform:BD,...n},s={...r.platform,_c:o};return vD(e,t,{...r,platform:s})};function qD(e){return e!=null&&typeof e=="object"&&"$el"in e}function Jb(e){if(qD(e)){const t=e.$el;return wg(t)&&ti(t)==="#comment"?null:t}return e}function hl(e){return typeof e=="function"?e():f(e)}function B2(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Zb(e,t){const n=B2(e);return Math.round(t*n)/n}function GD(e,t,n){n===void 0&&(n={});const o=n.whileElementsMounted,r=w(()=>{var P;
110return(P=hl(n.open))!=null?P:!0}),s=w(()=>hl(n.middleware)),i=w(()=>{var P;return(P=hl(n.placement))!=null?P:"bottom"}),l=w(()=>{var P;return(P=hl(n.strategy))!=null?P:"absolute"}),u=w(()=>{var P;return(P=hl(n.transform))!=null?P:!0}),c=w(()=>Jb(e.value)),d=w(()=>Jb(t.value)),p=M(0),m=M(0),h=M(l.value),g=M(i.value),b=At({}),y=M(!1),_=w(()=>{const P={position:h.value,left:"0",top:"0"};if(!d.value)return P;const B=Zb(d.value,p.value),O=Zb(d.value,m.value);return u.value?{...P,transform:"translate("+B+"px, "+O+"px)",...B2(d.value)>=1.5&&{willChange:"transform"}}:{position:h.value,left:B+"px",top:O+"px"}});let A;function k(){if(c.value==null||d.value==null)return;const P=r.value;WD(c.value,d.value,{middleware:s.value,placement:i.value,strategy:l.value}).then(B=>{p.value=B.x,m.value=B.y,h.value=B.strategy,g.value=B.placement,b.value=B.middlewareData,y.value=P!==!1})}function E(){typeof A=="function"&&(A(),A=void 0)}function I(){if(E(),o===void 0){k();return}if(c.value!=null&&d.value!=null){A=o(c.value,d.value,k);return}}function F(){r.value||(y.value=!1)}return we([s,i,l,r],k,{flush:"sync"}),we([c,d],I,{flush:"sync"}),we(r,F,{flush:"sync"}),kd()&&vh(E),{x:xs(p),y:xs(m),strategy:xs(h),placement:xs(g),middlewareData:xs(b),isPositioned:xs(y),floatingStyles:_,update:k}}const YD=(e,t,n,o)=>{const r=w(()=>{const{position:c,align:d}=$2({placement:o.value.placement});return`${c.value}-${d.value}`}),s=w(()=>{const c=o.value.offset,d={mainAxis:0,crossAxis:0};return Array.isArray(c)&&(d.mainAxis=c[0],d.crossAxis=c[1]),typeof c=="number"&&(d.mainAxis=c),d}),i=w(()=>{const{autoPlacement:c,stickToEdges:d,keepAnchorWidth:p,verticalScrollOnOverflow:m}=o.value,h=[zD(s.value)];return c&&h.push(UD({boundary:n.value??"clippingAncestors"})),d&&h.push(jD()),(p||m)&&h.push(HD({apply({elements:g,availableHeight:b}){if(p){const _=g.reference.getBoundingClientRect().width;Object.assign(g.floating.style,{maxWidth:`${_}px`,minWidth:`${_}px`})}m&&Object.assign(g.floating.style,{maxHeight:`${b}px`})}})),h}),{floatingStyles:l,isPositioned:u}=typeof document>"u"?{floatingStyles:{},isPositioned:M(!1)}:GD(e,t,{placement:r,whileElementsMounted:ND,middleware:i,transform:!0});return{floatingStyles:w(()=>u.value?l.value:{position:"fixed"}),isPositioned:u}},KD=(e,t,n={})=>{let o=!1;n.onlyKeyboard&&Yt("mousedown",r=>{o=!0,setTimeout(()=>{o=!1},200)},!0),Yt("focus",r=>{if(n.onlyKeyboard&&o)return;const s=r.target;if(r.target.shadowRoot)return;y2(e).some(l=>{const u=Vn(f(l));return u&&Mc(u,s)})||t(s)},!0)},QD=$e({name:"VaDropdown",props:{...k2,...p2(!0),modelValue:{type:Boolean,default:!1},anchor:{type:[String,Object],default:void 0},anchorSelector:{type:String,default:""},innerAnchorSelector:{type:String,default:""},trigger:{type:[String,Array],default:()=>["click","space","enter","arrow-down","arrow-up"]},disabled:{type:Boolean},readonly:{type:Boolean},closeOnClickOutside:{type:Boolean,default:!0},closeOnFocusOutside:{type:Boolean,default:!0},closeOnAnchorClick:{type:Boolean,default:!0},closeOnContentClick:{type:Boolean,default:!0},hoverOverTimeout:{type:[Number,String],default:30},hoverOutTimeout:{type:[Number,String],default:200},isContentHoverable:{type:Boolean,default:!0},offset:{type:[Array,Number],default:0},keepAnchorWidth:{type:Boolean,default:!1},verticalScrollOnOverflow:{type:Boolean,default:!0},cursor:{type:[Boolean,Object],default:!1},autoPlacement:{type:Boolean,default:!0},stickToEdges:{type:Boolean,default:!1},target:{type:[String,Object],default:void 0},teleport:{type:[String,Object],default:void 0},keyboardNavigation:{type:Boolean,default:!0},ariaLabel:ct("$t:toggleDropdown"),role:{type:String,default:"button"},contentClass:{type:String,default:""}},emits:[...ma,"anchor-click","anchor-right-click","content-click","click-outside","focus-outside","close","open","anchor-dblclick"],setup(e,{emit:t}){const n=Uo(e,t,"modelValue");we(n,k=>{t(k?"open":"close")});const o=Au(),{anchorRef:r}=iD(e),s=lD(r,w(()=>!!e.cursor)),i=Fl("floating"),l=wp(M("body")),u=wp(go(e,"target")),c=wp(go(e,"teleport")),d=yo("va-dropdown",()=>so(e,["disabled"])),p=w(()=>{if(c.value)return c.value;if(u.value)return u.value;if(r.value){const k=r.value.getRootNode();if(k instanceof ShadowRoot){const E=[...k.children].find(I=>I.tagName!=="STYLE");if(E)return E}}return l.value}),m=w(()=>o.value&&n.value);sD(n,r,i,e);const h=(k,E,I)=>{t(k,I),E&&(n.value=!1)};b2([r,i],()=>{e.closeOnClickOutside&&n.value&&h("click-outside",e.closeOnClickOutside)}),KD([i],()=>{e.closeOnFocusOutside&&n.value&&h("focus-outside",e.closeOnFocusOutside)},{onlyKeyboard:!0});const g=w(()=>typeof e.cursor=="object"?e.cursor:e.cursor?s.value:r.value),{floatingStyles:b}=YD(g,i,u,w(()=>({placement:e.placement,offset:e.offset,autoPlacement:e.autoPlacement,stickToEdges:e.stickToEdges,keepAnchorWidth:e.keepAnchorWidth,verticalScrollOnOverflow:e.verticalScrollOnOverflow}))),y=()=>{n.value=!1},_=()=>{n.value=!0},{zIndex:A}=f2(n);return we(n,k=>{if(e.keyboardNavigation)if(k)Ct(()=>{const E=Vn(i.value);E&&zb(E)});else{if(!r.value)return;document.activeElement===document.body&&zb(r.value)}}),{...Mn(),...v2(),anchorRef:r,anchorClass:d,floating:i,floatingStyles:b,showFloating:m,teleportTarget:p,isMounted:o,valueComputed:n,hide:y,show:_,zIndex:A}},render(){const e={isOpened:this.valueComputed,hide:this.hide,show:this.show,toggle:()=>this.valueComputed?this.hide():this.show(),getAnchorWidth:()=>{var o;return((o=this.anchorRef)==null?void 0:o.offsetWidth)+"px"},getAnchorHeight:()=>{var o;return((o=this.anchorRef)==null?void 0:o.offsetHeight)+"px"}}
110,t=this.showFloating&&Ob(this.$slots.default,e,{ref:"floating",class:["va-dropdown__content-wrapper",this.$props.contentClass],style:[this.floatingStyles,{zIndex:this.zIndex}],...this.teleportedAttrs}),n=Ob(this.$slots.anchor,e,{ref:"anchorRef",role:this.$props.role,class:["va-dropdown",this.anchorClass],style:{position:"relative"},"aria-label":this.tp(this.$props.ariaLabel),"aria-disabled":this.$props.disabled,"aria-expanded":this.$props.role&&this.$props.role!=="none"?!!this.showFloating:void 0,...this.teleportFromAttrs,...this.$attrs});if(typeof this.$props.cursor=="object"&&t)return nn(qc,{to:this.teleportTarget,disabled:this.$props.disabled},[t]);if(!this.$props.anchorSelector&&!n){dr("VaDropdown: #anchor slot is missing");return}if(this.showFloating&&!t){dr("VaDropdown: default slot is missing");return}return nn(de,{},[n,t&&nn(qc,{to:this.teleportTarget,disabled:this.$props.disabled},[t])])}}),ls=Je(QD),XD=$e({name:"VaDropdownContent",__name:"VaDropdownContent",props:{noPadding:{type:Boolean,default:!1},background:{type:String,default:"background-secondary"},textColor:{type:String}},setup(e){const t=e,{getColor:n}=Pt(),o=vo(go(t,"background")),r=w(()=>({background:n(t.background,void 0,!0),color:o.value,padding:t.noPadding?0:void 0}));return(s,i)=>(v(),x("div",{class:"va-dropdown__content",style:ze(r.value),role:"listbox"},[se(s.$slots,"default")],4))}}),hd=Je(XD),e1=e=>typeof e=="object"?e.listen:e,xp=e=>typeof e=="object"?e.emit:e,Iu=e=>{const t=()=>e.map(xp),n=s=>`on${s.charAt(0).toUpperCase()+s.slice(1)}`;return{createListeners:s=>e.reduce((i,l)=>({...i,[n(e1(l))]:(...u)=>s(xp(l),...u)}),{}),createVOnListeners:s=>e.reduce((i,l)=>({...i,[e1(l)]:(...u)=>s(xp(l),...u)}),{}),createEmits:t}},{createEmits:JD,createVOnListeners:ZD}=Iu(["click"]),{createEmits:eM,createVOnListeners:tM}=Iu([{listen:"click",emit:"main-button-click"}]),Sp=Ia(ln(bt),["iconRight","block"]),t1=ln(ls),nM=$e({name:"VaButtonDropdown",__name:"VaButtonDropdown",props:{...yt,...Sp,...t1,...Er,...k2,modelValue:{type:Boolean,default:!1},stateful:{type:Boolean,default:!0},icon:{type:String,default:"va-arrow-down"},openedIcon:{type:String,default:"va-arrow-up"},hideIcon:{type:Boolean,default:!1},leftIcon:{type:Boolean,default:!1},iconColor:{type:String,default:""},disabled:{type:Boolean,default:!1},disableButton:{type:Boolean,default:!1},disableDropdown:{type:Boolean,default:!1},offset:{type:[Number,Array],default:2},keepAnchorWidth:{type:Boolean,default:!1},closeOnContentClick:{type:Boolean,default:!0},split:{type:Boolean},splitTo:{type:String,default:""},splitHref:{type:String,default:""},loading:{type:Boolean,default:!1},label:{type:String},ariaLabel:ct("$t:toggleDropdown")},emits:["update:modelValue",...JD(),...eM()],setup(e,{expose:t,emit:n}){const o=e,r=n,s=Uo(o,r),i=w(()=>s.value?o.openedIcon:o.icon),l=pa(),u=w(()=>o.hideIcon?{}:{[(o.label||l.label)&&!o.leftIcon?"icon-right":"icon"]:i.value}),c=w(()=>{const A=["to","href","loading","icon"],k=["plain","textOpacity","backgroundOpacity","hoverOpacity","hoverBehavior","hoverOpacity","pressedOpacity","pressedBehavior","pressedOpacity"];return o.preset?Object.keys(Ia(Sp,[...A,...k])):Object.keys(Ia(Sp,A))}),d=w(()=>Object.entries(o).filter(([A,k])=>c.value.includes(A)).reduce((A,[k,E])=>(Object.assign(A,{[k]:E}),A),{})),p=w(()=>({to:o.splitTo,href:o.splitHref,loading:o.loading})),m=()=>{s.value=!1},h=Pn(t1),g=ZD(r),b=tM(r),{t:y,tp:_}=Mn();return t({hideDropdown:m}),(A,k)=>A.$props.split?(v(),X(f(rD),Me({key:1},d.value,{class:["va-button-dropdown","va-button-dropdown--split"]}),{default:$(()=>[A.$props.leftIcon?D("",!0):(v(),X(f(bt),Me({key:0,disabled:A.$props.disabled||A.$props.disableButton},p.value,Yu(f(b))),{default:$(()=>[se(A.$slots,"label",{},()=>[T(V(e.label),1)])]),_:3},16,["disabled"])),C(f(ls),Me(f(h),{modelValue:f(s),"onUpdate:modelValue":k[1]||(k[1]=E=>mt(s)?s.value=E:null),disabled:A.$props.disabled||A.$props.disableDropdown}),{anchor:$(()=>[C(f(bt),Me({"aria-label":A.$props.ariaLabel||f(y)("toggleDropdown"),disabled:A.$props.disabled||A.$props.disableDropdown,icon:i.value,"icon-color":A.$props.iconColor},Yu(f(g)),{onKeydown:tt(He(m,["prevent"]),["esc"])}),null,16,["aria-label","disabled","icon","icon-color","onKeydown"])]),default:$(()=>[C(f(hd),null,{default:$(()=>[se(A.$slots,"default")]),_:3})]),_:3},16,["modelValue","disabled"]),A.$props.leftIcon?(v(),X(f(bt),Me({key:1,disabled:A.$props.disabled||A.$props.disableButton},p.value,Yu(f(b))),{default:$(()=>[se(A.$slots,"label",{},()=>[T(V(e.label),1)])]),_:3},16,["disabled"])):D("",!0)]),_:3},16)):(v(),X(f(ls),Me({key:0},f(h),{modelValue:f(s),"onUpdate:modelValue":k[0]||(k[0]=E=>mt(s)?s.value=E:null),disabled:A.$props.disabled||A.$props.disableDropdown,class:["va-button-dropdown"]}),{anchor:$(()=>[C(f(bt),Me({"aria-label":f(_)(A.$props.ariaLabel)},{...u.value,...d.value},Yu(f(g))),{default:$(()=>[se(A.$slots,"label",{},()=>[T(V(e.label),1)])]),_:3},16,["aria-label"])]),default:$(()=>[se(A.$slots,"content",{},()=>[C(f(hd),null,{default:$(()=>[se(A.$slots,"default")]),_:3})])]),_:3},16,["modelValue","disabled"]))}}),oM=Je(nM),F2=(e,t)=>
110{if(t.length===0)return e;const n=e[t[0]];return Vs(n)?F2(n,t.slice(1)):t.length===1?n:void 0},kg=(e,t)=>t in e?e[t]:(t=t.replace(/^\./,""),F2(e,t.split("."))),rM=(e,t)=>{if(!(la(e)||typeof e!="object"||Array.isArray(e)))return t?typeof t=="string"&&e!==null?kg(e,t):typeof t=="function"?t(e):e:e},$g={options:{type:Array,default:()=>[]},textBy:{type:[String,Function],default:"text"},valueBy:{type:[String,Function],default:""},trackBy:{type:[String,Function],default:""},disabledBy:{type:[String,Function],default:"disabled"},groupBy:{type:[String,Function],default:"group"}};function Ag(e){const t=u=>{const c=e.options;for(let d=0;d<c.length;d++)if(l(c[d])===u)return c[d];return u},n=(u,c)=>Vs(u)?rM(u,c):u,o=u=>e.trackBy?n(u,e.trackBy):l(u),r=u=>Vs(u)?n(u,e.disabledBy):!1,s=u=>{const c=n(u,e.textBy);return["number","boolean"].includes(typeof c)?String(c):c},i=u=>{if(Vs(u))return n(u,e.groupBy)},l=u=>n(u,e.valueBy);return{tryResolveByValue:t,getValue:l,getText:s,getDisabled:r,getTrackBy:o,getGroupBy:i}}const Tg=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},aM=(e,t)=>{const n=u=>{t.value=u},o=()=>{if(e.infinite&&t.value<=0){t.value=e.items.length-1;return}t.value-=1},r=()=>{if(e.infinite&&t.value>=e.items.length-1){t.value=0;return}t.value+=1},s=w(()=>e.items.length>1),i=w(()=>t.value>0||e.infinite),l=w(()=>t.value<e.items.length-1||e.infinite);return{doShowPrevButton:i,doShowNextButton:l,doShowDirectionButtons:s,goTo:n,prev:o,next:r}},sM=(e,t)=>{let n=-1;const o=()=>{e.autoscroll&&(clearInterval(n),n=setInterval(()=>{t.value+=1,t.value>=e.items.length&&(t.value=0)},e.autoscrollInterval))};let r;const s=()=>{e.autoscroll&&(clearInterval(n),r=setTimeout(()=>{o(),clearTimeout(r)},e.autoscrollPauseDuration))},i=()=>{clearInterval(n),clearTimeout(r)};rt(()=>o()),Wn(()=>i());const l=h=>(...g)=>{s(),h(...g)},u=M({transition:void 0}),c=M(0),d=w(()=>e.effect==="fade"?{...u.value,transition:"none"}:e.vertical?{...u.value,transform:`translateY(${c.value*-100}%)`}:{...u.value,transform:`translateX(${c.value*-100}%)`}),p={isAnimating:!1,speed:.3,order:[],move(h,g){const b=e.items.length-1,y=e.items.length;g===0&&h===b?(this.order.push({to:y}),this.order.push({to:0,animate:!1})):g===b&&h===0?(this.order.push({to:y,animate:!1}),this.order.push({to:g})):this.order.push({to:g}),this.isAnimating||this.runAnimation()},runAnimation(){this.isAnimating=!0;const h=this.order.shift();if(!h){this.isAnimating=!1;return}c.value=h==null?void 0:h.to,h.animate||h.animate===void 0?(u.value.transition=`all ${this.speed}s linear`,setTimeout(()=>{this.runAnimation()},this.speed*1e3)):(u.value.transition="none",setTimeout(()=>{this.runAnimation()},16))}};we(t,(h,g)=>{p.move(g,h)});const m=w(()=>e.effect==="fade"?[e.items[t.value]]:e.infinite||e.autoscroll?[...e.items,e.items[0]]:e.items);return{start:o,pause:s,stop:i,withPause:l,computedSlidesStyle:d,slides:m}},iM={src:{type:String,required:!0},alt:{type:String,default:""},title:{type:String,default:""},sizes:{type:String,default:""},srcset:{type:String,default:""},draggable:{type:Boolean,default:!0},loading:{type:String},crossorigin:{type:String},decoding:{type:String},fetchpriority:{type:String,default:"auto"},referrerpolicy:{type:String}},lM=e=>w(()=>so(e,["src","alt","title","sizes","srcset","loading","referrerpolicy","fetchpriority","decoding","crossorigin","draggable"])),N2=(e=M([]),t,n=M({}))=>{const o=ig(()=>typeof IntersectionObserver<"u"?new IntersectionObserver(t,n.value):null),r=i=>{var l;const u=Vn(f(i));if(!(u instanceof Element))throw console.error("Vuestic: Trying to observe non-HTMLElement",{target:u}),new Error("Vuestic: Unable to observe non-HTMLElement");u&&((l=o.value)==null||l.observe(u))},s=i=>{i.forEach(r)};we([e,n],([i])=>{var l;(l=o.value)==null||l.disconnect(),i&&(Array.isArray(i)?s(i):r(i))},{immediate:!0}),Wn(()=>{var i;return(i=o.value)==null?void 0:i.disconnect()})},uM=["aria-busy"],cM={key:0,class:"va-image__overlay"},dM={key:1,class:"va-image__error"},fM={key:2,class:"va-image__loader"},pM={key:3,class:"va-image__placeholder"},mM=["src"],n1=ln(ru),hM=$e({name:"VaImage",__name:"VaImage",props:{...yt,...iM,...n1,ratio:{type:[Number,String],default:"auto",validator:e=>typeof e=="number"?e>0:e==="auto"},fit:{type:String,default:"cover"},maxWidth:{type:[Number,String],default:0,validator:e=>Number(e)>=0},lazy:{type:Boolean,default:!1},placeholderSrc:{type:String,default:""}},emits:["loaded","error","fallback"],setup(e,{emit:t}){const n=e,o=t,r=M(),s=M(),i=M(),l=w(()=>i.value||n.src),u=M(1),c=M(1),d=M(!1),p=M(!1),m=()=>{var N;d.value=!0,y.value&&(d.value=!1,i.value=(N=s.value)==null?void 0:N.currentSrc,I(),o("loaded",l.value))},h=N=>{p.value=!0,d.value=!1,o("error",N||l.value)},g=M(!1);N2(r,(N,ae)=>
110{N.forEach(ee=>{ee.isIntersecting&&(g.value=!0,k(),ae.disconnect())})},void 0);const y=w(()=>!n.lazy||g.value),_=Au(),A=w(()=>!n.lazy||n.lazy&&_.value&&y.value),k=()=>{!n.src||d.value&&!n.lazy||!y.value||(d.value=!0,p.value=!1,Ct(()=>{var N;if((N=s.value)!=null&&N.complete){if(!s.value.naturalWidth){h();return}m()}}))};let E;const I=()=>{clearTimeout(E),d.value&&(E=window.setTimeout(I,100));const{naturalHeight:N,naturalWidth:ae}=s.value||{};N&&ae&&(u.value=N,c.value=ae)};Ch(k),Wn(()=>clearTimeout(E)),we(()=>n.src,k);const F=pa(),P=w(()=>{var N;return((N=F==null?void 0:F.placeholder)==null?void 0:N.call(F))||n.placeholderSrc}),B=w(()=>{var N;return d.value&&!((N=F==null?void 0:F.loader)!=null&&N.call(F))}),O=w(()=>{var N;return p.value&&!((N=F==null?void 0:F.error)!=null&&N.call(F))&&!ne.value}),j=w(()=>(B.value||O.value)&&P.value),G=w(()=>!(d.value||p.value)),Q=lM(n),Y=w(()=>({...so(n,["ratio","maxWidth"]),contentWidth:u.value,contentHeight:c.value})),W=Pn(n1),re=N=>!!Object.values(N||{}).filter(ae=>ae).length,oe=w(()=>{var N,ae,ee,K;return re((K=(ee=(ae=(N=hs())==null?void 0:N.globalConfig)==null?void 0:ae.value)==null?void 0:ee.components)==null?void 0:K.VaFallback)}),ne=w(()=>re(W.value)||oe.value),z=w(()=>n.fit);return(N,ae)=>(v(),X(f(MI),Me({ref_key:"root",ref:r,class:"va-image"},Y.value,{style:`--va-fit-computed: ${String(z.value)}`}),{default:$(()=>[ca(a("picture",{class:"va-image__content","aria-busy":d.value},[N.$slots.sources?se(N.$slots,"sources",{key:0}):D("",!0),A.value?(v(),x("img",Me({key:1,ref_key:"image",ref:s},f(Q),{onError:h,onLoad:m}),null,16)):D("",!0)],8,uM),[[Jl,G.value]]),N.$slots.default&&G.value?(v(),x("div",cM,[se(N.$slots,"default")])):D("",!0),p.value&&(N.$slots.error||ne.value)?(v(),x("div",dM,[se(N.$slots,"error",{},()=>[C(f(ru),Me(f(W),{onFallback:ae[0]||(ae[0]=ee=>N.$emit("fallback"))}),null,16)])])):D("",!0),d.value&&N.$slots.loader?(v(),x("div",fM,[se(N.$slots,"loader")])):D("",!0),j.value?(v(),x("div",pM,[se(N.$slots,"placeholder",{},()=>[N.$props.placeholderSrc?(v(),x("img",{key:0,src:N.$props.placeholderSrc,alt:""},null,8,mM)):D("",!0)])])):D("",!0)]),_:3},16,["style"]))}}),Eg=Je(hM),gM=$e({name:"VaHover",__name:"VaHover",props:{...p2(!0),...yt,disabled:{type:Boolean,default:!1},modelValue:{type:Boolean,default:!1}},emits:[...ma],setup(e,{emit:t}){const n=e,r=Uo(n,t),s=()=>{n.disabled||(r.value=!0)},i=()=>{n.disabled||(r.value=!1)};return(l,u)=>(v(),x("div",{class:"va-hover",onMouseenter:s,onMouseleave:i},[se(l.$slots,"default",nt(dt({hover:f(r)})))],32))}}),vM=Je(gM),Ci=$e({__name:"VaCarouselButton",props:{ariaLabel:{type:String},color:{type:String,default:"primary"},active:{type:Boolean,default:!1},round:{type:Boolean,default:!0},icon:{type:String,default:""}},setup(e){const{setHSLAColor:t,getColor:n}=Pt(),o=w(()=>t(n("background-element"),{a:.7})),r=w(()=>t(n("primary"),{a:.7})),s=w(()=>n("primary"));return(i,l)=>(v(),X(f(vM),{stateful:""},{default:$(({hover:u})=>[C(f(bt),{"aria-label":e.ariaLabel,color:e.active?s.value:u?r.value:o.value,icon:e.icon,round:e.round},{default:$(()=>[se(i.$slots,"default")]),_:2},1032,["aria-label","color","icon","round"])]),_:3}))}}),yM=["mousedown","mousemove"],bM=["touchstart","touchmove"],Pg={vertical:["","all","vertical"],horizontal:["","all","horizontal"]},wM=[...Pg.vertical,"up","down"],_M=[...Pg.horizontal,"left","right"],Og={swipable:{type:Boolean,default:!1},swipeDistance:{type:Number,default:75},swipeDirection:{type:String,default:"all"}},Ig=(e,t,n)=>{const o=M(!1),r=Fo({start:{x:0,y:0},end:{x:0,y:0}}),s=Fo({start:0,end:0}),i=(g,b)=>{let y;if(yM.includes(g.type)&&(y=g),bM.includes(g.type)){const _=g;y=_.changedTouches[_.changedTouches.length-1]}y&&(r[b].x=y.pageX,r[b].y=y.pageY,s[b]=new Date().getTime())},l=g=>{!e.swipable||o.value||(o.value=!0,i(g,"start"))},u=g=>{o.value&&i(g,"end")},c=()=>{["start","end"].forEach(g=>{r[g].x=0,r[g].y=0,s[g]=0}),o.value=!1},d=Fo({vertical:!1,horizontal:!1});Po(()=>{d.horizontal=_M.includes(e.swipeDirection),d.vertical=wM.includes(e.swipeDirection)});const p=g=>d[g==="x"?"horizontal":"vertical"]&&r.start[g]&&r.end[g]?Math.trunc(r.start[g]-r.end[g]):0,m=(g,b)=>b===e.swipeDirection||Pg[g].includes(e.swipeDirection)?b:"",h=Fo({direction:"",duration:0});return we(r,()=>{const g=p("x"),b=p("y");if((g||b)&&[g,b].some(y=>Math.abs(y)>=e.swipeDistance)){if(Math.abs(g)>=Math.abs(b)&&d.horizontal){const y=g>0?"left":"right";h.direction=m("horizontal",y)}else if(Math.abs(g)<Math.abs(b)&&d.vertical){const y=b>0?"down":"up";h.direction=m("vertical",y)}h.duration=s.end-s.start,c()}},{deep:!0}),we(h,()=>n(h),{deep:!0}),e.swipable&&(Yt(["touchstart","mousedown"],l,t),Yt(["touchmove","mousemove"],u,t),Yt(["touchcancel","mouseup","touchend","mouseleave"],c,t)),{swipeState:h}},xM=["aria-label"],SM={key:1,class:"va-carousel__indicators"},CM={class:"va-carousel__content"},kM=["aria-hidden","aria-current","aria-label"],o1=ln(Eg,["src","alt"]),$M=$e({name:"VaCarousel",__name:"VaCarousel",props:{...Og,...Er,...yt,...o1,stateful:{type:Boolean,default:!0},modelValue:{type:Number,default:0},items:{type:Array,required:!0},autoscroll:{type:Boolean,default:!1},autoscrollInterval:Un({default:5e3}),autoscrollPauseDuration:Un({default:2e3}),infinite:{type:Boolean,default:!0},fadeKeyframe:{type:String,default:"va-carousel-fade-appear 1s"},arrows:{type:Boolean,default:!0},indicators:{type:Boolean,default:!0},indicatorTrigger:{type:String,default:"click",validator:e=>["click","hover","none"].includes(e)},vertical:{type:Boolean,default:!1},height:{type:String,default:"300px"},effect:{type:String,default:"transition",validator:e=>["fade","transition"].includes(e)},color:{type:String,default:"primary"},ratio:{type:[Number,String]},ariaLabel:ct("$t:carousel"),ariaPreviousLabel:ct("$t:goPreviousSlide"),ariaNextLabel:ct("$t:goNextSlide"),ariaGoToSlideLabel:ct("$t:goSlide"),ariaSlideOfLabel:ct("$t:slideOf")},emits:[...ma],setup(e,{expose:t,emit:n}){const o=e,s=Uo(o,n,"modelValue"),i=Kt("autoscrollInterval"),l=Kt("autoscrollPauseDuration"),u=Kt("ratio"),{goTo:c,next:d,prev:p,doShowNextButton:m,doShowPrevButton:h,doShowDirectionButtons:g}=aM(o,s),{withPause:b,computedSlidesStyle:y,slides:_}=sM({items:o.items,autoscrollInterval:i.value,autoscrollPauseDuration:l.value,autoscroll:o.autoscroll,infinite:o.infinite,effect:o.effect,vertical:o.vertical,fadeKeyframe:o.fadeKeyframe},s),A=w(()=>o.items.length&&o.items.every(Y=>!!Y&&typeof Y=="object"&&!!(Y!=null&&Y.src))),k=Y=>Y===s.value,E=w(()=>({animation:o.effect==="fade"?"fadeKeyframe":void 0})),I=At();
110Ig(o,I,Y=>{switch(Y.direction){case"right":case"up":h.value&&p();break;case"left":case"down":m.value&&d()}});const P=Y=>o.indicatorTrigger==="hover"?{onmouseover:()=>c(Y)}:o.indicatorTrigger==="click"?{onclick:()=>c(Y)}:{},{tp:B}=Mn(),O=Pn(o1),j=b(c),G=b(p),Q=b(d);return t({currentSlide:s,goTo:c,next:d,prev:p,goToWithPause:j,prevWithPause:G,nextWithPause:Q}),(Y,W)=>(v(),x("div",{class:xe(["va-carousel",{"va-carousel--vertical":Y.$props.vertical,[`va-carousel--${Y.$props.effect}`]:!0}]),style:ze({height:f(u)?"auto":e.height,aspectRatio:f(u)?f(u):void 0}),role:"region","aria-label":f(B)(Y.$props.ariaLabel)},[Y.$props.arrows&&f(g)?(v(),x(de,{key:0},[f(h)?(v(),x("div",{key:0,class:"va-carousel__arrow va-carousel__arrow--left",onClick:W[0]||(W[0]=(...re)=>f(G)&&f(G)(...re)),onKeydown:W[1]||(W[1]=tt(He((...re)=>f(G)&&f(G)(...re),["stop"]),["enter"]))},[se(Y.$slots,"prev-arrow",{},()=>[C(Ci,{color:e.color,icon:e.vertical?"va-arrow-up":"va-arrow-left","aria-label":f(B)(Y.$props.ariaPreviousLabel)},null,8,["color","icon","aria-label"])])],32)):D("",!0),f(m)?(v(),x("div",{key:1,class:"va-carousel__arrow va-carousel__arrow--right",onClick:W[2]||(W[2]=(...re)=>f(Q)&&f(Q)(...re)),onKeydown:W[3]||(W[3]=tt(He((...re)=>f(Q)&&f(Q)(...re),["stop"]),["enter"]))},[se(Y.$slots,"next-arrow",{},()=>[C(Ci,{color:e.color,icon:e.vertical?"va-arrow-down":"va-arrow-right","aria-label":f(B)(Y.$props.ariaNextLabel)},null,8,["color","icon","aria-label"])])],32)):D("",!0)],64)):D("",!0),Y.$props.indicators?(v(),x("div",SM,[(v(!0),x(de,null,Be(Y.$props.items,(re,oe)=>(v(),x("div",Me({class:["va-carousel__indicator",{"va-carousel__indicator--active":k(oe)}],key:oe,ref_for:!0},P(oe)),[se(Y.$slots,"indicator",Me({ref_for:!0},{item:re,index:oe,goTo:f(j),isActive:k(oe)}),()=>[C(Ci,{color:e.color,active:k(oe),"aria-label":f(B)(Y.$props.ariaGoToSlideLabel,{index:oe+1}),round:""},{default:$(()=>[T(V(oe+1),1)]),_:2},1032,["color","active","aria-label"])])],16))),128))])):D("",!0),a("div",CM,[a("div",{ref_key:"slidesContainer",ref:I,class:"va-carousel__slides",style:ze(f(y)),role:"list"},[(v(!0),x(de,null,Be(f(_),(re,oe)=>(v(),x("div",{key:re,role:"listitem",class:"va-carousel__slide",style:ze(E.value),"aria-hidden":!k(oe),"aria-current":k(oe),"aria-label":f(B)(Y.$props.ariaSlideOfLabel,{index:oe+1,length:f(_).length})},[se(Y.$slots,"default",Me({ref_for:!0},{item:re,index:oe,goTo:f(j),isActive:k(oe)}),()=>[C(f(Eg),Me({ref_for:!0},f(O),{src:A.value?re.src:re,alt:A.value?re.alt:"",draggable:!1}),null,16,["src","alt"])])],12,kM))),128))],4)])],14,xM))}}),AM=e=>e.offsetLeft,z2=(e,t)=>{function n(){return t.value??[]}const o=p=>{e.value&&(e.value.style.transition="none",e.value.style.transform=`translateX(${-p}px)`,AM(e.value),e.value.style.transition="",e.value.style.transform="",u.value=p)},r=p=>{p!==u.value&&(u.value=p)},s=()=>{const p=n();let m=0;for(let h=0;h<p.length;h++){const g=p[h];if(!g)break;m+=g.offsetWidth}return m};function i(p){const m=n();let h=0;const g=Math.floor(p/m.length);g>0&&(h=g*s());for(let b=0;b<p%m.length;b++){const y=m[b];if(!y)break;h+=y.offsetWidth}return h}const l=()=>{var p;return s()-(((p=e.value)==null?void 0:p.offsetWidth)??0)},u=M(0);function c(p,m=1/2){const h=n(),g=s(),b=Math.floor(p/g)*h.length;p=p%g,p<0&&(p=g+p);let y=0;for(let _=0;_<h.length*2;_++){const A=h[_%h.length];if(p>=y){if(p<y+A.offsetWidth*m)return _+b}else return p<y-A.offsetWidth*(1-m)?_-1+b:_+b;y+=A.offsetWidth}return h.length-1+b}function d(){const m=window.getComputedStyle(e.value).transform;return new DOMMatrix(m).m41%s()}return{shiftX:u,getCurrentShiftDiff:d,getCurrentSlideShift:i,getLastSlideShift:l,findIndexOnShift:c,shiftWithoutAnimation:o,shiftAnimated:r,getSlides:n,getAllSlidesWidth:s}},TM=e=>{const t=[],n=M(!1);Yt("transitionstart",()=>{n.value=!0},e),Yt(["transitionend","transitioncancel"],l=>{n.value=!1,t.forEach(u=>{u(l)}),t.length=0},e);const o=l=>{t.push(l)},r=[];return{isTransitioning:n,onTransitionEnd:o,transitionEnd:()=>new Promise(l=>{t.push(u=>{l(u),r.push(l)})}),cancel:()=>{r.forEach(l=>{l(new Event("cancel"))}),r.length=0}}},EM=e=>{const t=M(0),n=M(0),o=M(0),r=M(0);
110return Yt("mousemove",s=>{const i=Vn(void 0);if(!i){t.value=s.clientX,n.value=s.clientX,o.value=s.movementX,r.value=s.movementY;return}const l=i.getBoundingClientRect();t.value=s.clientX-l.left,n.value=s.clientY-l.top,o.value=s.movementX,r.value=s.movementY},e),Yt("mouseleave",()=>{t.value=0,n.value=0},e),{mouseX:t,mouseY:n,mouseMoveX:o,mouseMoveY:r}},j2=(e,t={})=>{const n=c2(e),{mouseX:o}=EM(),r=M(0);let s=0;return we(o,i=>{var l;n.value&&(r.value=i-s,(l=t.onDragMove)==null||l.call(t,r.value))}),we(n,i=>{var l,u;i?(r.value=0,s=o.value,(l=t.onDragStart)==null||l.call(t)):(u=t.onDragEnd)==null||u.call(t,r.value)}),{isPressed:n,movementX:r,mouseX:o}},U2=e=>{const t=M(null);return Ri(e,([n])=>{t.value=n.contentRect.width??null}),rt(()=>{var n;t.value=((n=Vn(e.value))==null?void 0:n.getBoundingClientRect().width)??null}),t},PM={class:"va-carousel-effect-scroll-infinite__clone va-carousel-effect-scroll-infinite__clone--first"},OM={class:"va-carousel-effect-scroll-infinite__clone"},IM=$e({__name:"VaCarouselEffectScrollInfinite",props:Fr({swipable:{type:Boolean,default:!0}},{modelValue:{type:Number,default:0},modelModifiers:{}}),emits:Fr(["slidesCount"],["update:modelValue"]),setup(e,{emit:t}){const n=M(null),o=Gi(e,"modelValue"),r=e,s=t,i=M();Po(()=>{n.value&&(i.value=Array.from(n.value.children).slice(1,-1),s("slidesCount",i.value.length))});const{getSlides:l,getAllSlidesWidth:u,shiftAnimated:c,shiftWithoutAnimation:d,getCurrentSlideShift:p,getCurrentShiftDiff:m,findIndexOnShift:h,shiftX:g}=z2(n,i),b=U2(n),y=w(()=>{const I=u();if(I===0)return 1;const F=b.value;return F?Math.floor(F/I)+1:void 0}),_=M(0),{transitionEnd:A}=TM(n);let k=0;const{isPressed:E}=j2(n,{onDragStart(){r.swipable&&(k=g.value)},onDragMove(I){r.swipable&&(d(k-I),_.value=h(g.value),_.value<0&&(_.value=l().length+_.value),_.value>=l().length&&(_.value=_.value%l().length),o.value=_.value)},async onDragEnd(I){if(!r.swipable)return;let F=h(g.value,I>0?3/4:1/4);F<0&&(F=l().length+F),c(p(F)),F>=l().length&&(F=F%l().length,await A(),d(p(F))),_.value=F,o.value=_.value}});return we(o,async(I,F)=>{const P=l().length;if(I=I%P,I<0&&(I=P+I),I!==_.value)if(_.value=I%P,o.value=_.value,F===0&&I===P-1)d(p(P)-m()),c(p(I));else if(F===P-1&&I===0){c(p(P));const B=p(P)+m();d(-B)}else c(p(I))}),we(g,()=>{if(!E.value)return;const I=u();g.value<0?d(I+g.value):g.value>I&&d(g.value%I)}),rt(()=>{s("slidesCount",l().length)}),Wi(()=>{s("slidesCount",l().length)}),(I,F)=>I.$slots.default?(v(),x("div",{key:0,class:"va-carousel-effect-scroll-infinite",style:ze({transform:`translateX(-${f(g)}px)`}),ref_key:"shifter",ref:n},[a("div",PM,[(v(!0),x(de,null,Be(y.value,P=>se(I.$slots,"default",{key:P})),128))]),se(I.$slots,"default"),a("div",OM,[(v(!0),x(de,null,Be(y.value,P=>se(I.$slots,"default",{key:P})),128))])],4)):D("",!0)}}),DM=$e({__name:"VaCarouselEffectScroll",props:Fr({swipable:{type:Boolean,default:!0}},{modelValue:{type:Number,default:0},modelModifiers:{}}),emits:Fr(["slidesCount"],["update:modelValue"]),setup(e,{emit:t}){const n=M(null),o=Gi(e,"modelValue"),r=e,s=t,i=M();Po(()=>{n.value&&(i.value=n.value.children,s("slidesCount",i.value.length))});const{getSlides:l,shiftX:u,shiftAnimated:c,shiftWithoutAnimation:d,findIndexOnShift:p,getCurrentSlideShift:m,getLastSlideShift:h}=z2(n,i),g=M(0);let b=0;return j2(n,{onDragStart:()=>{r.swipable&&(b=u.value)},onDragMove(y){r.swipable&&(d(b-y),g.value=p(u.value),g.value<0&&(g.value=l().length+g.value),g.value>=l().length&&(g.value=g.value%l().length),o.value=g.value)},onDragEnd:y=>{if(!r.swipable)return;let _=p(u.value,y>0?3/4:1/4);_<0&&(_=l().length+_),c(m(_)),_>=l().length&&(_=_%l().length),g.value=_,o.value=g.value}}),we(o,async(y,_)=>{const A=l().length;y<0?(y=0,o.value=0):y>A-1&&(y=A-1,o.value=A-1),y!==g.value&&(g.value=y%A,o.value=g.value,c(m(y)))}),we(u,()=>{const y=h();u.value<0?u.value=0:u.value>=y&&(u.value=y)}),rt(()=>{s("slidesCount",l().length)}),Wi(()=>{s("slidesCount",l().length)}),(y,_)=>y.$slots.default?(v(),x("div",{key:0,class:"va-carousel-effect-scroll",style:ze({transform:`translateX(-${f(u)}px)`}),ref_key:"shifter",ref:n},[se(y.$slots,"default")],4)):D("",!0)}}),MM=$e({__name:"VaCarouselEffectFade",props:Fr({infinite:{type:Boolean,default:!0},...Og},{modelValue:{type:Number,default:0},modelModifiers:{}}),emits:Fr(["slidesCount"],["update:modelValue"]),setup(e,{emit:t}){const n=M(null),o=Gi(e,"modelValue"),r=e,s=t;return rt(()=>{var i;s("slidesCount",(i=n.value)==null?void 0:i.children.length)}),Po(()=>
110{if(!n.value)return;const i=n.value.children;for(let l=0;l<i.length;l++){if(o.value<0){r.infinite?o.value=i.length-1:o.value=0;return}if(o.value>=i.length){r.infinite?o.value=0:o.value=i.length-1;return}const u=i[l];l===o.value?u.classList.remove("va-carousel-effect-fade__slide--hidden"):(u.classList.add("va-carousel-effect-fade__slide--hidden"),u.classList.add("va-carousel-effect-fade__slide"))}}),Ig(r,n,i=>{switch(i.direction){case"right":case"up":o.value=o.value-1;break;case"left":case"down":o.value=o.value+1;break}}),(i,l)=>(v(),x("div",{ref_key:"container",ref:n,class:"va-carousel-effect-fade",role:"list",style:ze({"--active-slide":o.value})},[se(i.$slots,"default")],4))}}),RM=$e({__name:"VaCarouselEffectNone",props:Fr({infinite:{type:Boolean,default:!0},...Og},{modelValue:{type:Number,default:0},modelModifiers:{}}),emits:Fr(["slidesCount"],["update:modelValue"]),setup(e,{emit:t}){const n=M(null),o=Gi(e,"modelValue"),r=e,s=t;return rt(()=>{var i;s("slidesCount",(i=n.value)==null?void 0:i.children.length)}),Po(()=>{if(!n.value)return;const i=n.value.children;for(let l=0;l<i.length;l++){if(o.value<0){r.infinite?o.value=i.length-1:o.value=0;return}if(o.value>=i.length){r.infinite?o.value=0:o.value=i.length-1;return}const u=i[l];l===o.value?u.classList.remove("va-carousel-effect-none__slide--hidden"):(u.classList.add("va-carousel-effect-none__slide--hidden"),u.classList.add("va-carousel-effect-none__slide"))}}),Ig(r,n,i=>{switch(i.direction){case"right":case"up":o.value=o.value-1;break;case"left":case"down":o.value=o.value+1;break}}),(i,l)=>(v(),x("div",{ref_key:"container",ref:n,class:"va-carousel-effect-none",role:"list",style:ze({"--active-slide":o.value})},[se(i.$slots,"default")],4))}}),LM={ref:"slidesContainer",class:"va-carousel-scroll-container",role:"list"},H2=$e({__name:"VaCarouselScrollContainer",props:Fr({infinite:{type:Boolean,default:!0},effect:{type:String,default:"scroll"},swipable:{type:Boolean,default:!0}},{modelValue:{type:Number,default:0},modelModifiers:{}}),emits:Fr(["slidesCount"],["update:modelValue"]),setup(e,{emit:t}){const n=Gi(e,"modelValue"),o=t;return(r,s)=>(v(),x("div",LM,[e.effect==="fade"?(v(),X(MM,{key:0,modelValue:n.value,"onUpdate:modelValue":s[0]||(s[0]=i=>n.value=i),infinite:e.infinite,swipable:e.swipable,onSlidesCount:s[1]||(s[1]=i=>o("slidesCount",i))},{default:$(()=>[se(r.$slots,"default")]),_:3},8,["modelValue","infinite","swipable"])):e.effect==="scroll"?(v(),x(de,{key:1},[e.infinite?(v(),X(IM,{key:0,modelValue:n.value,"onUpdate:modelValue":s[2]||(s[2]=i=>n.value=i),swipable:e.swipable,onSlidesCount:s[3]||(s[3]=i=>o("slidesCount",i))},{default:$(()=>[se(r.$slots,"default")]),_:3},8,["modelValue","swipable"])):(v(),X(DM,{key:1,modelValue:n.value,"onUpdate:modelValue":s[4]||(s[4]=i=>n.value=i),swipable:e.swipable,onSlidesCount:s[5]||(s[5]=i=>o("slidesCount",i))},{default:$(()=>[se(r.$slots,"default")]),_:3},8,["modelValue","swipable"]))],64)):(v(),X(RM,{key:2,modelValue:n.value,"onUpdate:modelValue":s[6]||(s[6]=i=>n.value=i),swipable:e.swipable,infinite:e.infinite,onSlidesCount:s[7]||(s[7]=i=>o("slidesCount",i))},{default:$(()=>[se(r.$slots,"default")]),_:3},8,["modelValue","swipable","infinite"]))],512))}}),VM={class:"va-carousel__indicators"},BM=$e({__name:"VaCarouselIndicators",props:Fr({count:{type:Number,default:0},trigger:{type:String,default:"click",validator:e=>["click","hover","none"].includes(e)},ariaGoToSlideLabel:ct("$t:goSlide"),color:{type:String,default:"primary"}},{modelValue:{type:Number,default:0},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const t=e,n=Gi(e,"modelValue"),{tp:o}=Mn(),r=s=>t.trigger==="hover"?{onmouseover:()=>{n.value=s}}:t.trigger==="click"?{onclick:()=>{n.value=s}}:{};return(s,i)=>(v(),x("div",VM,[(v(!0),x(de,null,Be(e.count,l=>(v(),x("div",Me({class:["va-carousel__indicator",{"va-carousel__indicator--active":l-1===n.value}],key:l,ref_for:!0},r(l-1)),[se(s.$slots,"default",Me({ref_for:!0},{item:l,isActive:l-1===n.value,index:l-1}),()=>[C(Ci,{color:e.color,active:n.value===l-1,"aria-label":f(o)(s.$props.ariaGoToSlideLabel,{index:l}),round:""},{default:$(()=>[T(V(l),1)]),_:2},1032,["color","active","aria-label"])])],16))),128))]))}}),FM=(e,t)=>{let n=-1,o=-1,r=!1;const s=()=>{const{autoscroll:c,autoscrollInterval:d}=f(t);c&&(clearInterval(n),n=setInterval(()=>{r=!0,e.value+=1,e.value>=f(t).slidesCount&&(e.value=0)},d))};we(e,c=>{r&&i()});const i=()=>{const{autoscroll:c,autoscrollPauseDuration:d}=f(t);c&&(clearInterval(n),o=setTimeout(()=>{s(),clearTimeout(o)},d))},l=()=>{clearInterval(n),clearTimeout(o)};return rt(()=>s()),Wn(()=>l()),{start:s,pause:i,stop:l,withPause:c=>(...d)=>{i(),c(...d)}}},NM=["aria-label"],zM=["onKeydown"],jM=["onKeydown"],UM=$e({name:"VaCarouselV2",__name:"VaCarouselV2",props:{...Er,...yt,stateful:{type:Boolean,default:!0},modelValue:{type:Number,default:0},autoscroll:{type:Boolean,default:!1},autoscrollInterval:Un({default:5e3}),autoscrollPauseDuration:Un({default:2e3}),infinite:{type:Boolean,default:!0},effect:{type:String,default:"scroll",validator:e=>["scroll","fade","none"].includes(e)},arrows:{type:Boolean,default:!0},indicators:{type:Boolean,default:!0},indicatorTrigger:{type:String,default:"click",validator:e=>["click","hover","none"].includes(e)},vertical:{type:Boolean,default:!1},color:{type:String,default:"primary"},ariaLabel:ct("$t:carousel"),ariaPreviousLabel:ct("$t:goPreviousSlide"),ariaNextLabel:ct("$t:goNextSlide"),ariaGoToSlideLabel:ct("$t:goSlide"),ariaSlideOfLabel:ct("$t:slideOf")},emits:[...ma],setup(e,{emit:t}){const n=e,r=Uo(n,t,"modelValue");FM(r,w(()=>({...n,slidesCount:u.value})));const s=()=>{r.value+=1},i=()=>{r.value-=1},{tp:l}=Mn(),u=M(0);return(c,d)=>(v(),x("div",{class:"va-carousel-group",role:"region","aria-label":f(l)(c.$props.ariaLabel)},[c.$props.arrows?(v(),x(de,{key:0},[a("div",{class:"va-carousel__arrow va-carousel__arrow--left",onClick:i,onKeydown:tt(He(i,["stop"]),["enter"])},[se(c.$slots,"prev-arrow",{},()=>
110[C(Ci,{color:e.color,icon:e.vertical?"va-arrow-up":"va-arrow-left","aria-label":f(l)(c.$props.ariaPreviousLabel)},null,8,["color","icon","aria-label"])])],40,zM),a("div",{class:"va-carousel__arrow va-carousel__arrow--right",onClick:s,onKeydown:tt(He(s,["stop"]),["enter"])},[se(c.$slots,"next-arrow",{},()=>[C(Ci,{color:e.color,icon:e.vertical?"va-arrow-down":"va-arrow-right","aria-label":f(l)(c.$props.ariaNextLabel)},null,8,["color","icon","aria-label"])])],40,jM)],64)):D("",!0),e.indicators?(v(),X(BM,{key:1,modelValue:f(r),"onUpdate:modelValue":d[0]||(d[0]=p=>mt(r)?r.value=p:null),count:u.value,color:e.color,"aria-label":c.$props.ariaSlideOfLabel,trigger:e.indicatorTrigger},{default:$(p=>[se(c.$slots,"indicator",nt(dt(p)))]),_:3},8,["modelValue","count","color","aria-label","trigger"])):D("",!0),C(H2,{modelValue:f(r),"onUpdate:modelValue":d[1]||(d[1]=p=>mt(r)?r.value=p:null),infinite:e.infinite,effect:e.effect,onSlidesCount:d[2]||(d[2]=p=>u.value=p)},{default:$(()=>[se(c.$slots,"default")]),_:3},8,["modelValue","infinite","effect"])],8,NM))}}),HM=$e({__name:"VaCarouselGroup",props:{perGroup:{type:Number,default:2}},setup(e){const t=e,n=o=>o.reduce((r,s,i)=>(i%t.perGroup===0&&r.push([]),r[r.length-1].push(s),r),[]);return(o,r)=>{var s,i;return v(!0),x(de,null,Be(n(f(Dc)((i=(s=o.$slots).default)==null?void 0:i.call(s))),l=>(v(),x("div",Me({ref_for:!0},o.$attrs,{class:"va-carousel-group",key:l.map(u=>u.key).join("-")}),[(v(!0),x(de,null,Be(l,u=>(v(),X($r(u),{key:u.key}))),128))],16))),128)}}});Je($M);const WM=Je(UM),qM=Je(HM);Je(H2);const W2={...Er,...of,...Zs,arrayValue:{type:[String,Boolean,Object,Number],default:null},label:{type:String,default:""},leftLabel:{type:Boolean,default:!1},trueValue:{type:null,default:!0},falseValue:{type:null,default:!1},indeterminate:{type:Boolean,default:!1},indeterminateValue:{type:null,default:null},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1}},Dg=[...$u,"update:modelValue","focus","blur"],GM=e=>{const t=[e.falseValue,e.trueValue];if(e.indeterminate&&t.push(e.indeterminateValue),new Set(t).size!==t.length)throw new Error("falseValue, trueValue, indeterminateValue props should have strictly different values, which is not the case.")},q2=(e,t,{input:n,label:o,container:r})=>{GM(e);const s=()=>m(()=>{t("update:modelValue",!1),h()}),i=()=>{var O;(O=Vn(n.value))==null||O.focus()},l=Uo(e,t),{computedError:u,computedErrorMessages:c,validationAriaAttributes:d,listeners:p,withoutValidation:m,resetValidation:h,isDirty:g,isTouched:b,isError:y,isLoading:_,isValid:A}=ef(e,t,{reset:s,focus:i,value:l}),k=O=>{t("blur",O),p.onBlur()},E=O=>{t("focus",O)},I=w(()=>e.indeterminate&&l.value===e.indeterminateValue),F=w(()=>e.arrayValue!==void 0&&e.arrayValue!==null),P=w(()=>{var O;return F.value?(O=e.modelValue)==null?void 0:O.includes(e.arrayValue):l.value===e.trueValue});return{isDirty:g,isTouched:b,isError:y,isLoading:_,isValid:A,isChecked:P,isIndeterminate:I,onBlur:k,onFocus:E,toggleSelection:()=>{if(!(e.readonly||e.disabled||e.loading)){if(F.value){e.modelValue?Array.isArray(e.modelValue)?e.modelValue.includes(e.arrayValue)?t("update:modelValue",e.modelValue.filter(O=>O!==e.arrayValue)):t("update:modelValue",e.modelValue.concat(e.arrayValue)):t("update:modelValue",e.modelValue===e.arrayValue?[]:[e.modelValue,e.arrayValue]):t("update:modelValue",[e.arrayValue]);return}if(e.indeterminate){I.value?l.value=e.trueValue:P.value?l.value=e.falseValue:l.value=e.indeterminateValue;return}P.value?l.value=e.falseValue:l.value=e.trueValue}},reset:s,focus:i,computedError:u,computedErrorMessages:c,validationAriaAttributes:d}},YM=ug(()=>{const e=M(!1);return Yt("mousedown",()=>{e.value=!0,setTimeout(()=>{e.value=!1},100)}),e});function G2(e){const t=M(!1),n=YM();return Yt("focusin",()=>{n.value||(t.value=!0)},e),Yt("focusout",()=>{t.value=!1},e),t}const KM=["id","indeterminate","value","checked"],QM=["for"],r1=[Boolean,Array,String,Object],XM=$e({name:"VaCheckbox",__name:"VaCheckbox",props:{...W2,...yt,modelValue:{type:r1,default:!1},color:{type:String,default:"primary"},checkedIcon:{type:String,default:"va-check"},indeterminate:{type:Boolean,default:!1},indeterminateValue:{type:r1,default:null},indeterminateIcon:{type:String,default:"remove"},id:{type:String,default:""},name:{type:String,default:""},ariaLabel:{type:String,default:void 0},vertical:{type:Boolean,default:!1}},emits:Dg,setup(e,{expose:t,emit:n}
110){const o=e,r=n,s={container:At(),input:At(),label:At()},{isChecked:i,computedError:l,isIndeterminate:u,computedErrorMessages:c,validationAriaAttributes:d,toggleSelection:p,onBlur:m,onFocus:h,isDirty:g,isTouched:b,isError:y,isLoading:_,isValid:A}=q2(o,r,s),{getColor:k}=Pt(),E=s.input,I=G2(E),F=vo(w(()=>k(o.color))),P=w(()=>i.value||u.value),B=w(()=>({"va-checkbox--selected":i.value,"va-checkbox--readonly":o.readonly,"va-checkbox--disabled":o.disabled,"va-checkbox--indeterminate":o.indeterminate,"va-checkbox--error":l.value,"va-checkbox--left-label":o.leftLabel,"va-checkbox--on-keyboard-focus":I.value})),O=()=>{switch(!0){case!o.label:return"";case o.vertical:return"var(--va-checkbox-vertical-padding)";case!!o.arrayValue:return"var(--va-checkbox-horizontal-padding)";case o.leftLabel:return"var(--va-checkbox-right-padding)";default:return"var(--va-checkbox-left-padding)"}},j=w(()=>({color:l.value?k("danger"):o.success?k("success"):"",padding:O()})),G=w(()=>{const z={background:P.value?k(o.color):"",borderColor:P.value?k(o.color):""};return l.value&&(z.borderColor=k("danger")),o.success&&(z.borderColor=k("success")),z}),Q=w(()=>o.indeterminate&&u.value?o.indeterminateIcon:o.checkedIcon),Y=Ur(),W=w(()=>o.id||String(Y)),re=w(()=>o.name||String(Y)),oe=w(()=>({name:re.value,disabled:o.disabled,readonly:o.readonly,tabindex:o.disabled?-1:0,"aria-label":o.ariaLabel,"aria-disabled":o.disabled,"aria-readOnly":o.readonly,"aria-checked":P.value,...d.value})),ne=w(()=>o.vertical?"--va-checkbox-display-flex":"var(--va-checkbox-display)");return t({toggleSelection:p,isDirty:g,isTouched:b,isError:y,isLoading:_,isValid:A}),(z,N)=>(v(),X(f(o2),{class:xe(["va-checkbox",B.value]),disabled:z.disabled,success:z.success,messages:z.messages,error:f(l),"error-messages":f(c),"error-count":z.errorCount,style:ze(`--va-display-val: ${String(ne.value)}`)},{default:$(()=>[a("div",{ref:"container",class:"va-checkbox__input-container",onClick:N[6]||(N[6]=(...ae)=>f(p)&&f(p)(...ae)),onBlur:N[7]||(N[7]=(...ae)=>f(m)&&f(m)(...ae))},[a("div",{class:"va-checkbox__square",style:ze(G.value),onSelectstart:N[4]||(N[4]=He(()=>{},["prevent"]))},[a("input",Me({ref_key:"input",ref:E,type:"checkbox",class:"va-checkbox__input",id:W.value,indeterminate:e.indeterminate,value:z.label,checked:P.value},oe.value,{onFocus:N[0]||(N[0]=(...ae)=>f(h)&&f(h)(...ae)),onBlur:N[1]||(N[1]=(...ae)=>f(m)&&f(m)(...ae)),onClick:N[2]||(N[2]=He(()=>{},["stop","prevent"])),onKeypress:N[3]||(N[3]=He((...ae)=>f(p)&&f(p)(...ae),["prevent"]))}),null,16,KM),P.value?(v(),X(f(rn),{key:0,class:"va-checkbox__icon",name:Q.value,color:f(F)},null,8,["name","color"])):D("",!0)],36),z.label||z.$slots.label?(v(),x("label",{key:0,ref:"label",class:"va-checkbox__label",for:W.value,style:ze(j.value),onBlur:N[5]||(N[5]=(...ae)=>f(m)&&f(m)(...ae))},[se(z.$slots,"label",{},()=>[T(V(z.label),1)])],44,QM)):D("",!0)],544)]),_:3},8,["class","disabled","success","messages","error","error-messages","error-count","style"]))}}),Mg=Je(XM),JM={class:"va-collapse__header__text"},ZM=["id","aria-labelledby"],eR={class:"va-collapse__content"},tR=$e({name:"VaCollapse",__name:"VaCollapse",props:{...yt,...Er,modelValue:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},header:{type:String,default:""},icon:{type:String,default:""},color:{type:String,default:void 0},bodyColor:{type:String,default:void 0},textColor:{type:String,default:""},bodyTextColor:{type:String,default:""},iconColor:{type:String,default:"secondary"},colorAll:{type:Boolean,default:!1},stateful:{type:Boolean,default:!0}},emits:["update:modelValue",...Dg],setup(e,{expose:t,emit:n}){const o=e,r=n,s=At(),i=Uo(o,r,"modelValue"),{getColor:l,getTextColor:u,setHSLAColor:c}=Pt(),{accordionProps:d,accordionItemValue:p}=kI(),m=w({get(){return i.userProvided||la(p)?i.value:p.value},set(re){la(p)||(p.value=re),i.value=re}});i.userProvided&&!la(p)&&(p.value=i.value);const h=M();Ri(s,([re])=>{h.value=re.contentRect.height??0});const g=w(()=>m.value?h.value:0),b=()=>{const re=g.value/1e3*.2;return`${re>.2?re:.2}s`},y=w(()=>o.bodyColor?l(o.bodyColor):o.color&&o.colorAll?c(l(o.color),{a:.07}):void 0),_=w(()=>o.color?l(o.color):void 0),A=Ur(),k=w(()=>`header-${A}`),E=w(()=>`panel-${A}`),I=w(()=>o.disabled?-1:0),F=w(()=>({id:k.value,tabindex:I.value,"aria-controls":E.value,"aria-expanded":m.value,"aria-disabled":o.disabled,role:"button"})),P=M(!1);we(g,(re,oe)=>{oe!==void 0&&P.value!==!0&&(P.value=!0)});const B=re=>{re.propertyName==="height"&&re.target===re.currentTarget&&(P.value=!1)},O=yo("va-collapse",()=>({...so(o,["disabled"]),expanded:m.value,active:m.value,popout:!!(d.value.popout&&m.value),inset:!!(d.value.inset&&m.value),"height-changing":P.value,"colored-body":!!y.value,"colored-header":!!_.value})),j=()=>{o.disabled||(m.value=!m.value)},G=vo(_),Q=w(()=>({color:G.value,backgroundColor:_.value})),Y=w(()=>!!(m.value||P.value)),W=w(()=>({height:`${g.value}px`,transitionDuration:b(),background:m.value?y.value:"",color:o.bodyTextColor?l(o.bodyTextColor):y.value?l(u(y.value)):"currentColor"}));return t({toggle:j}),(re,oe)=>(v(),x("div",{class:xe(["va-collapse",f(O)])},[a("div",{class:"va-collapse__header-wrapper",onClick:j,onKeydown:[tt(j,["enter"]),tt(j,["space"])]},[se(re.$slots,"header",nt(dt({value:m.value,bind:F.value,attributes:F.value,attrs:F.value,iconAttrs:{class:["va-collapse__expand-icon",m.value?"a-collapse__expand-icon--expanded":"a-collapse__expand-icon--collapsed"]},text:e.header})),()=>[a("div",Me(F.value,{class:"va-collapse__header",style:Q.value}),[e.icon?(v(),X(f(rn),{key:0,class:"va-collapse__header__icon",name:e.icon},null,8,["name"])):D("",!0),se(re.$slots,"header-content",nt(dt({header:e.header})),()=>[a("div",JM,V(e.header),1)]),se(re.$slots,"expand-icon",{},()=>[C(f(rn),{class:xe(["va-collapse__expand-icon",m.value?"va-collapse__expand-icon--expanded":"va-collapse__expand-icon--collapsed"]),name:"va-arrow-down"},null,8,["class"])])],16)])],32),a("div",{class:xe(["va-collapse__body-wrapper",{"va-collapse__body-wrapper--bordered":!re.$slots.body&&!re.$slots.header}]),style:ze(W.value),onTransitionend:B},[Y.value?(v(),x("div",{key:0,class:"va-collapse__body",ref_key:"body",ref:s,role:"region",id:E.value,"aria-labelledby":k.value},[se(re.$slots,"body",{},()=>[a("div",eR,[se(re.$slots,"default",{},()=>[se(re.$slots,"content")])])])],8,ZM)):D("",!0)],38)],2))}}),Rg=Je(tR),nR={key:0,class:"va-input-label__required-mark"},Y2=$e({name:"VaInputLabel",__name:"VaInputLabel",props:{label:{type:String,default:""},requiredMark:{type:Boolean,default:!1},color:{type:String,default:"primary"}},setup(e){const{getColor:t}=Pt();return(n,o)=>(v(),x("label",{"aria-hidden":"true",class:"va-input-label",style:ze({color:f(t)(n.$props.color,void 0,!0)})},[se(n.$slots,"default",nt(dt({label:e.label,requiredMark:e.requiredMark,color:f(t)(n.$props.color)})),()=>[T(V(e.label)+" ",1),e.requiredMark?(v(),x("span",nR," * ")):D("",!0)])],4))}}),oR={label:{type:String,default:""},inputAriaLabel:ct("$t:inputField"),inputAriaLabelledby:{type:String},inputAriaDescribedby:{type:String}},rR=e=>{const t=Ur(),n=`input-label-${t}`,o=`input-character-count-${t}`,r=w(()=>({"aria-label":e.label!==""?e.label:e.inputAriaLabel,"aria-labelledby":e.inputAriaLabelledby?e.inputAriaLabelledby:n,"aria-describedby":e.inputAriaDescribedby?e.inputAriaDescribedby:o}));return{labelId:n,characterCountId:o,ariaAttributes:r}},aR=e=>$e({name:"ProxySlots",props:{inheritSlots:{type:Array,required:!0}},render(){var t;const n=((t=this.$parent)==null?void 0:t.$slots)||{},r=(this.$props.inheritSlots||Object.keys(n)).reduce((s,i)=>(n[i]&&(s[i]=n[i]),s),{});return nn(e,this.$attrs,{...r,...this.$slots})}}),Du={disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1}},sR=ug(()=>{const e=At(),t=()=>{e.value=document.activeElement};return rt(t),Yt("focus",t,!0),Yt("blur",t,!0),e}),Lg=e=>{const t=sR(),n=e?w(()=>Vn(e.value)):yg();let o=null;const r=w({get(){var s;if(!t.value)return!1;if(t.value===n.value)return!0;const i=(s=n.value)==null?void 0:s.contains(t.value);return i&&(o=t.value),i},set(s){var i;let l=o??n.value;(i=n.value)!=null&&i.contains(l)||(l=n.value),s?l==null||l.focus():l==null||l.blur()}});return Object.assign(r,{focusIfNothingIfFocused:()=>{t.value===document.body&&(r.value=!0)},focusPreviousElement:()=>{o?o.focus():document.body.focus()}})},a1=ln(Y2),iR=$e({name:"VaInputWrapper",components:{VaMessageList:aR(Zx),VaIcon:rn,VaInputLabel:Y2},props:{...yt,...oR,...Du,...Zs,...a1,modelValue:{type:null,default:""},counter:{type:Boolean},maxLength:Un(),label:{type:String,default:""},placeholder:{type:String,default:""},color:{type:String,default:"primary"},background:{type:String},success:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},requiredMark:{type:Boolean,default:!1}
110,innerLabel:{type:Boolean,default:!1}},emits:["click","click-prepend","click-append","click-prepend-inner","click-append-inner","click-field","update:modelValue"],setup(e,{emit:t,slots:n}){const{getColor:o}=Pt(),r=Ea(e,"modelValue",t),s=M(),i=Lg(),l=w(()=>e.counter&&typeof r.value=="string"?r.value.length:void 0),u=yo("va-input-wrapper",()=>({...so(e,["success","error","disabled","readonly"]),focused:!!i.value,labeled:!!(e.label||n.label),labeledInner:!!(e.label||n.label)&&e.innerLabel})),c=w(()=>o(e.color)),d=w(()=>e.background?o(e.background):"#ffffff00"),p=w(()=>e.error?e.errorMessages:e.messages),m=vo(d),h=Kt("maxLength"),g=w(()=>e.error?"danger":e.success?"success":""),b=w(()=>e.error?Number(e.errorCount):99),y=w(()=>l.value!==void 0),_=w(()=>h.value!==void 0?`${l.value}/${h.value}`:l.value),{labelId:A,characterCountId:k,ariaAttributes:E}=rR(e),I=Pn(a1);return{inputRef:s,focus:()=>{i.value=!0},blur:()=>{i.value=!1},labelId:A,characterCountId:k,ariaAttributes:E,vModel:r,counterValue:l,vaInputLabelProps:I,wrapperClass:u,textColorComputed:m,isCounterVisible:y,counterComputed:_,colorComputed:c,backgroundComputed:d,messagesColor:g,messagesComputed:p,errorLimit:b}}}),lR={class:"va-input-wrapper__fieldset va-input-wrapper__size-keeper"},uR={class:"va-input-wrapper__container"},cR={class:"va-input-wrapper__text"},dR=["placeholder","readonly","disabled"],fR=["id"],pR={class:"va-input-wrapper__counter"};function mR(e,t,n,o,r,s){const i=he("VaInputLabel"),l=he("va-icon"),u=he("va-message-list");return v(),x("div",{class:xe(["va-input-wrapper",e.wrapperClass]),onClick:t[6]||(t[6]=c=>e.$emit("click",c)),style:ze(`--va-background-computed: ${String(e.backgroundComputed)};--va-color-computed: ${String(e.colorComputed)};--va-text-color-computed: ${String(e.textColorComputed)}`)},[a("fieldset",lR,[C(u,{color:e.messagesColor,"model-value":e.messagesComputed,limit:e.errorLimit,"inherit-slots":["message","messages"]},{default:$(({ariaAttributes:c})=>[(e.$props.label||e.$slots.label)&&!e.$props.innerLabel?(v(),X(i,Me({key:0,class:"va-input-wrapper__label va-input-wrapper__label--outer"},e.vaInputLabelProps,{id:e.labelId}),{default:$(d=>[se(e.$slots,"label",nt(dt(d)))]),_:3},16,["id"])):D("",!0),a("div",uR,[e.$slots.prepend?(v(),x("div",{key:0,class:"va-input-wrapper__prepend-inner",onClick:t[0]||(t[0]=d=>e.$emit("click-prepend"))},[se(e.$slots,"prepend")])):D("",!0),a("div",{onClick:t[4]||(t[4]=d=>e.$emit("click-field",d)),class:"va-input-wrapper__field"},[e.$slots.prependInner?(v(),x("div",{key:0,class:"va-input-wrapper__prepend-inner",ref:"container",onClick:t[1]||(t[1]=d=>e.$emit("click-prepend-inner",d))},[se(e.$slots,"prependInner")],512)):D("",!0),a("div",cR,[(e.$props.label||e.$slots.label)&&e.$props.innerLabel?(v(),X(i,Me({key:0,class:"va-input-wrapper__label va-input-wrapper__label--inner"},e.vaInputLabelProps,{id:e.labelId}),{default:$(d=>[se(e.$slots,"label",nt(dt(d)))]),_:3},16,["id"])):D("",!0),se(e.$slots,"default",nt(dt({ariaAttributes:{...c,...e.ariaAttributes},value:e.vModel})),()=>[ca(a("input",Me({...c,...e.ariaAttributes},{"onUpdate:modelValue":t[2]||(t[2]=d=>e.vModel=d),ref:"inputRef",placeholder:e.$props.placeholder,readonly:e.$props.readonly,disabled:e.$props.disabled}),null,16,dR),[[Eh,e.vModel]])])]),e.success?(v(),X(l,{key:1,color:"success",name:"va-check-circle",class:"va-input-wrapper__icon va-input-wrapper__icon--success"})):D("",!0),e.error?(v(),X(l,{key:2,color:"danger",name:"va-warning",class:"va-input-wrapper__icon va-input-wrapper__icon--error"})):D("",!0),e.$props.loading?(v(),X(l,{key:3,color:e.$props.color,name:"va-loading",spin:"counter-clockwise",class:"va-input-wrapper__icon va-input-wrapper__icon--loading"},null,8,["color"])):D("",!0),se(e.$slots,"icon"),e.$slots.appendInner?(v(),x("div",{key:4,class:"va-input-wrapper__append-inner",onClick:t[3]||(t[3]=d=>e.$emit("click-append-inner",d))},[se(e.$slots,"appendInner")])):D("",!0)]),e.$slots.append?(v(),x("div",{key:1,class:"va-input-wrapper__append-inner",onClick:t[5]||(t[5]=d=>e.$emit("click-append"))},[se(e.$slots,"append")])):D("",!0)]),e.isCounterVisible?(v(),x("div",{key:1,class:"va-input-wrapper__counter-wrapper",id:e.characterCountId},[se(e.$slots,"counter",nt(dt({valueLength:e.counterValue,maxLength:e.$props.maxLength})),()=>[a("div",pR,V(e.counterComputed),1)])],8,fR)):D("",!0)]),_:3},8,["color","model-value","limit"])])],6)}const hR=Tg(iR,[["render",mR]]),Da=Je(hR),Bs=e=>Object.prototype.toString.call(e)==="[object Date]",Rm=(e,t)=>{if(e===t)return!0;
110if(e==null||t==null||typeof e!=typeof t)return!1;if(Bs(e)&&Bs(t))return e.getTime()===t.getTime();if(Array.isArray(e)){if(!Array.isArray(t)||e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(!Rm(e[n],t[n]))return!1;return!0}if(typeof e=="object"){const n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;for(const r of n)if(!o.includes(r)||!Rm(e[r],t[r]))return!1;return!0}return!1},Vg={clearable:{type:Boolean,default:!1},clearableIcon:{type:String,default:"va-clear"},clearValue:{type:String,default:""}},Bg=["clear"],Fg=(e,t,n)=>{const o=[null,void 0,e.clearValue],r=w(()=>!e.clearable||e.disabled||e.readonly?!1:Array.isArray(t.value)?t.value.length>0:!o.some(l=>Rm(t.value,l))),s=w(()=>n!=null&&n.value?"danger":e.success?"success":"secondary"),i=w(()=>({name:e.clearableIcon,color:s.value,size:"medium",tabindex:r.value?0:-1}));return{canBeCleared:r,clearIconProps:i}},gR=e=>{if(!Xh)return;const t=It();if(!t)throw new Error("`useDeprecated` hook must be used only inside of setup function!");e.forEach(n=>{const o=n();typeof o=="string"&&dr(`(${t.type.name} component) ${o}`)})},s1=ln(Da),{createEmits:vR,createListeners:yR}=Iu(["change","keyup","keypress","keydown","input"]),{createEmits:bR,createListeners:wR}=Iu(["click","click-prepend","click-append","click-prepend-inner","click-append-inner"]),_R=$e({name:"VaInput",__name:"VaInput",props:{...s1,...Du,...mg,...Zs,...Vg,...yt,...Er,placeholder:{type:String,default:""},tabindex:{type:[String,Number],default:0},modelValue:{type:[Number,String,null],default:""},type:{type:String,default:"text"},inputClass:{type:String,default:""},pattern:{type:String},inputmode:{type:String,default:"text"},counter:{type:Boolean,default:!1},autocomplete:{type:String},maxlength:{type:Number,default:void 0},ariaResetLabel:ct("$t:reset"),strictBindInputValue:{type:Boolean,default:!1}},emits:["update:modelValue",...$u,...Bg,...vR(),...bR(),...ma,...hg],setup(e,{expose:t,emit:n}){const o=e,r=n;gR([()=>o.type!=="textarea"||'Use VaTextarea component instead of VaInput with type="textarea"']);const s=At(),i=Uo(o,r,"modelValue"),l=()=>I(()=>{i.value=o.clearValue,r("clear"),F()}),{focus:u,blur:c}=gg(s,o,r),d=pa(),p=w(()=>{const ee=["icon"];return Object.keys(d).filter(K=>!ee.includes(K))}),{tp:m}=Mn(),{isValid:h,isTouched:g,isDirty:b,computedError:y,computedErrorMessages:_,listeners:{onBlur:A},validationAriaAttributes:k,isLoading:E,withoutValidation:I,resetValidation:F}=ef(o,r,{reset:l,focus:u,value:i}),{modelValue:P}=Qs(o),{canBeCleared:B,clearIconProps:O}=Fg(o,P,y),G={...yR(r),onBlur:A},Q=ee=>{if(!o.strictBindInputValue)return;const K=s.value;if(!K)return;const Ie=K.selectionStart||0,fe=K.selectionEnd||0;K.value!==ee&&(K.value=String(ee)),K.setSelectionRange(Ie,fe)};we(i,ee=>{Q(String(ee))},{immediate:!0}),Yt("input",()=>{Q(String(i.value))},s);const Y=w(()=>o.disabled?-1:o.tabindex),W=qi(),re=w(()=>({"aria-label":o.inputAriaLabel||o.label,"aria-labelledby":o.inputAriaLabelledby,"aria-required":o.requiredMark,tabindex:Y.value,class:o.inputClass,"aria-disabled":o.disabled,"aria-readonly":o.readonly,...k.value})),oe=w(()=>({...re.value,...so(o,["type","disabled","readonly","placeholder","pattern","inputmode","name","autocomplete","maxlength"]),...so(W,["minlength","maxlength","step","min","max"])})),ne=w(()=>o.counter&&typeof i.value=="string"?i.value.length:void 0),z=ee=>{!ee.target||!("tagName"in ee.target)||ee.target.tagName==="INPUT"||ee.target.tagName==="TEXTAREA"||u()},N=Pn(s1),ae=wR(r);return t({isValid:h,isDirty:b,isTouched:g,isLoading:E,computedError:y,computedErrorMessages:_,reset:l,focus:u,blur:c,value:i,withoutValidation:I,resetValidation:F}),(ee,K)=>(v(),X(f(Da),Me({...f(ae),...f(N),maxLength:o.maxlength},{class:["va-input",ee.$attrs.class],style:ee.$attrs.style,loading:ee.$props.loading||f(E),error:f(y),"error-messages":f(_),"error-count":ee.errorCount,"counter-value":ne.value,onClick:z}),Dr({icon:$(Ie=>[f(B)?(v(),X(f(rn),Me({key:0,role:"button","aria-label":f(m)(ee.$props.ariaResetLabel)},f(O),{onClick:He(l,["stop"]),onKeydown:[tt(He(l,["stop"]),["enter"]),tt(He(l,["stop"]),["space"])]}),null,16,["aria-label","onKeydown"])):D("",!0),se(ee.$slots,"icon",
110nt(dt(Ie)))]),default:$(()=>[ee.$slots.content?D("",!0):ca((v(),x("input",Me({key:0,ref_key:"input",ref:s,class:"va-input__content__input"},{...oe.value,...G},{"onUpdate:modelValue":K[0]||(K[0]=Ie=>mt(i)?i.value=Ie:null)}),null,16)),[[Eh,f(i)]])]),_:2},[Be(p.value,Ie=>({name:Ie,fn:$(fe=>[se(ee.$slots,Ie,nt(dt(fe)))])}))]),1040,["class","style","loading","error","error-messages","error-count","counter-value"]))}}),Nl=Je(_R),i1=e=>typeof e=="number"?`${e}px`:e,K2={currentPage:{type:Number}},Q2=()=>({items:{type:Array,default:()=>[]}}),X2={selectable:{type:Boolean,default:!1}},J2={itemsTrackBy:{type:[String,Function],default:""}},Z2=e=>{const t=e.length===2||e.length===3,n=e.every(r=>["asc","desc",null].includes(r)),o=e.length===new Set(e).size;return t&&n&&o},xR={...Q2(),columns:{type:Array,default:()=>[]},sortingOptions:{type:Array,default:()=>["asc","desc",null],validator:Z2}},eS=(e,t,n)=>{const o=typeof e=="string"?{key:e}:e,r=o.sortingOptions?Z2(o.sortingOptions):!0;return r||dr(`The "sortingOptions" array in the column with "${o.key}" key is invalid. For this column, the "sortingOptions" value is taken as for the table: ${JSON.stringify(n.sortingOptions)}.`),{source:e,initialIndex:t,key:o.key,name:o.name||o.key,label:o.label||Sb(o.key),thTitle:o.thTitle||o.headerTitle||o.label||Sb(o.key),sortable:o.sortable||!1,sortingFn:o.sortingFn,displayFormatFn:o.displayFormatFn,sortingOptions:r&&o.sortingOptions||n.sortingOptions,thAlign:o.thAlign||o.alignHead||"left",thVerticalAlign:o.thVerticalAlign||o.verticalAlignHead||"middle",tdAlign:o.tdAlign||o.align||"left",tdVerticalAlign:o.tdVerticalAlign||o.verticalAlign||"middle",width:o.width,tdClass:o.tdClass||o.classes,thClass:o.thClass||o.headerClasses,tdStyle:o.tdStyle||o.style,thStyle:o.thStyle||o.headerStyle}},SR=e=>Object.keys(m8({},...e.items)).map((t,n)=>eS(t,n,e)),CR=e=>e.columns.map((t,n)=>eS(t,n,e)),kR=e=>({columnsComputed:w(()=>e.columns.length===0?SR(e):CR(e))});function Ng(e,t){if(!f(t))return e;const n=M(!0),o=M(),r=M(),s=M();return we(e,()=>{o.value=e.value;const i=setTimeout(()=>{s.value=o.value},f(t));n.value?(n.value=!1,s.value=e.value,r.value=e.value,clearTimeout(i),setTimeout(()=>n.value=!0,f(t))):s.value=r.value},{immediate:!0}),s}const $R={...K2,perPage:{type:Number},delay:{type:[Number,String],default:0}},AR=(e,t)=>{const n=w(()=>{if(!t.perPage||t.perPage<0)return e.value;if(!t.currentPage||t.currentPage<0)return e.value.slice(0,t.perPage);const r=t.perPage*(t.currentPage-1);return e.value.slice(r,r+t.perPage)});return{paginatedRows:Ng(n,Kt("delay"))}},tS=(e,t)=>typeof t=="function"?t(e):kg(e,t)||e,TR=()=>({...Q2(),...J2}),ER=(e,t,n,o)=>{var r;const s=kg(n,o.key);return{rowIndex:e,rowKey:t,rowData:n,column:o,source:s,value:((r=s==null?void 0:s.toString)==null?void 0:r.call(s))||""}},PR=(e,t,n,o)=>{const r=tS(e,n);return{initialIndex:t,itemKey:r,source:e,cells:o.map(s=>ER(t,r,e,s)),rowData:e}},OR=(e,t)=>{const n=M({});return{rowsComputed:w(()=>t.items.map((r,s)=>({...PR(r,s,t.itemsTrackBy,e.value),toggleRowDetails:i=>{typeof i=="boolean"?n.value[s]=i:n.value[s]=!n.value[s]},isExpandableRowVisible:!!n.value[s]})))}},IR={...X2,...J2,modelValue:{type:Array},selectMode:{type:String,default:"multiple"}},DR=(e,t,n)=>{const o=M([]),r=w({get(){return t.modelValue===void 0?o.value:t.modelValue},set(P){t.modelValue===void 0&&(o.value=P),n("update:modelValue",P)}}),s=M(-1);we(()=>t.selectMode,(P,B)=>{P==="single"&&B==="multiple"&&(r.value=[],y(-1))}),we(e,()=>{y(-1)}),we(r,(P,B=[])=>{n("selectionChange",{currentSelectedItems:P,previousSelectedItems:B})},{immediate:!0});const i=P=>tS(P,t.itemsTrackBy),l=w(()=>!e.value.some(({source:P})=>r.value.includes(i(P)))),u=w(()=>e.value.length===0?!1:e.value.every(({source:P})=>r.value.includes(i(P)))),c=w(()=>!l.value&&!u.value);function d(P){return r.value.includes(i(P.source))}function p(){r.value=[...new Set([...r.value,...e.value.map(P=>i(P.source))])]}function m(){const P=e.value.map(B=>i(B.source));r.value=r.value.filter(B=>!P.includes(B))}function h(P){r.value=[...r.value,i(P.source)]}function g(P){r.value=[i(P.source)]}function b(P){const B=r.value.findIndex(O=>O===i(P.source));r.value=[...r.value.slice(0,B),...r.value.slice(B+1)]}function y(P){if(P===-1)s.value=-1;else{const B=e.value.find(O=>O.initialIndex===P);B?s.value=e.value.indexOf(B):s.value=-1}}function _(P){let B,O;return d(e.value[s.value])?(B=Math.min(s.value,P),O=Math.max(s.value,P)):(B=Math.min(s.value+1,P),O=Math.max(s.value-1,P)),e.value.slice(B,O+1)}function A(P){const B=P.map(j=>i(j.source));if(l.value){r.value=B;return}if(B.every(j=>r.value.includes(j))){r.value=r.value.filter(j=>!B.includes(j));return}r.value=[...new Set([...r.value,...B])]}function k(P){t.selectable&&(d(P)?(b(P),t.selectMode==="single"?y(-1):y(P.
110initialIndex)):(t.selectMode==="single"?g(P):h(P),y(P.initialIndex)))}function E(P){t.selectable&&k(P)}function I(P){if(!t.selectable)return;if(t.selectMode==="single"||s.value===-1)return k(P);const B=e.value.indexOf(P);A(_(B)),y(-1)}function F(){u.value?m():p(),y(-1)}return{ctrlSelectRow:E,shiftSelectRows:I,toggleRowSelection:k,toggleBulkSelection:F,isRowSelected:d,noRowsSelected:l,severalRowsSelected:c,allRowsSelected:u}},ba="--va-data-table",nS=e=>typeof e=="function",oS={...X2,selectedColor:{type:String,default:"primary"},allowFooterSorting:{type:Boolean,default:!1},stickyHeader:{type:Boolean,default:!1},stickyFooter:{type:Boolean,default:!1},height:{type:[String,Number]}},MR=e=>nS(e)?e():e,RR=e=>nS(e)?e():e,rS=e=>{const{getColor:t,getFocusColor:n,getHoverColor:o}=Pt(),r=w(()=>t(e.selectedColor));return{CSSVariables:w(()=>({hoverColor:o(r.value),selectedColor:e.selectable?n(r.value):void 0,tableHeight:e.height?i1(e.height):"var(--va-data-table-height)",theadBg:e.stickyHeader?"var(--va-data-table-thead-background, var(--va-data-table-header-background))":"var(--va-data-table-thead-background)",tfootBg:e.stickyFooter?"var(--va-data-table-tfoot-background, var(--va-data-table-header-background))":"var(--va-data-table-tfoot-background)"})),getHeaderCSSVariables:c=>({[`${ba}-width`]:c.width&&i1(c.width),[`${ba}-align`]:c.thAlign,[`${ba}-vertical-align`]:c.thVerticalAlign,[`${ba}-cursor`]:c.sortable?"pointer":"default"}),getCellCSSVariables:c=>({[`${ba}-align`]:c.column.tdAlign,[`${ba}-vertical-align`]:c.column.tdVerticalAlign}),getFooterCSSVariables:c=>({[`${ba}-align`]:c.thAlign,[`${ba}-vertical-align`]:c.thVerticalAlign,[`${ba}-cursor`]:e.allowFooterSorting&&c.sortable?"pointer":"default"}),getClass:MR,getStyle:RR}},l1=e=>typeof e=="function",u1=e=>e!==null&&typeof e=="object",LR={rowBind:{type:null},cellBind:{type:null}},VR=e=>({getRowBind:o=>l1(e.rowBind)?e.rowBind(o.source,o.initialIndex):u1(e.rowBind)?e.rowBind:{},getCellBind:(o,r)=>l1(e.cellBind)?e.cellBind(o.source,r.source,o.column,r.initialIndex):u1(e.cellBind)?e.cellBind:{}}),BR={...K2,animated:{type:Boolean,default:!0}},FR=(e,t)=>{const n=M("shuffle"),o=w(()=>e.animated?`table-transition-${n.value}`:""),r=M(t.value.length),s=w(()=>t.value.length!==r.value);return we(t,(i,l)=>{const u=!!(i.length&&l.length);n.value=i.length>50||s.value&&u?"fade":"shuffle",r.value=i.length}),we(()=>e.currentPage,()=>{s.value||(n.value="shuffle")}),o},NR={filter:{type:String,default:""},filterMethod:{type:Function},delay:{type:[Number,String],default:0}},zR=(e,t,n)=>{const o=w(()=>!e.value.length||t.filter===""&&!t.filterMethod?e.value:e.value.filter(s=>s.cells.some(i=>typeof t.filterMethod=="function"?t.filterMethod(i.source,i):new RegExp(t.filter,"i").test(i.value)))),r=Ng(o,Kt("delay"));return we(r,()=>{n("filtered",{items:r.value.map(s=>s.source),itemsIndexes:r.value.map(s=>s.initialIndex)})}),o.value.length!==e.value.length&&n("filtered",{items:o.value.map(s=>s.source),itemsIndexes:o.value.map(s=>s.initialIndex)}),{filteredRows:r}};function jR(e,t){let n=!0,o;return function(...r){const s=()=>e.apply(this,r);return f(t)?(n&&(n=!1,setTimeout(()=>n=!0,f(t)),o=s()),o):s()}}const UR={sortBy:{type:String},columnSorted:{type:Object},sortingOrder:{type:[String,null]},disableClientSideSorting:{type:Boolean,default:!1},delay:{type:[Number,String],default:0}},HR=(e,t,n,o)=>{const r=M(""),s=w({get(){return n.sortBy===void 0?r.value:n.sortBy},set(g){n.sortBy===void 0&&(r.value=g),o("update:sortBy",g)}}),i=M(null),l=w({get(){return n.sortingOrder===void 0?i.value:n.sortingOrder},set(g){n.sortingOrder===void 0&&(i.value=g),o("update:sortingOrder",g)}}),u=(g,b)=>{if(typeof g=="string"&&typeof b=="string")return g.localeCompare(b);if(typeof g=="number"&&typeof b=="number")return g-b;const y=parseFloat(g),_=parseFloat(b);return!isNaN(y)&&!isNaN(_)?y-_:isNaN(y)?isNaN(_)?0:1:-1},c=w(()=>{if(n.disableClientSideSorting||t.value.length<=1)return t.value;const g=e.value.findIndex(({name:_,sortable:A})=>s.value===_&&A),b=e.value[g];if(!b)return t.value;const y=l.value==="desc"?-1:1;return[...t.value].sort((_,A)=>{if(l.value===null)return _.initialIndex-A.initialIndex;
110{const k=_.cells[g].source,E=A.cells[g].source;return y*(typeof b.sortingFn=="function"?b.sortingFn(k,E):u(k,E))}})});we(c,()=>{o("sorted",{sortBy:s.value,sortingOrder:l.value,items:c.value.map(g=>g.source),itemsIndexes:c.value.map(g=>g.initialIndex)})});const d=(g,b)=>{const y=b.findIndex(_=>_===g);return y!==-1?b[(y+1)%b.length]:b[0]};function p(g){let b;g.name===s.value?b=d(l.value,g.sortingOptions):(s.value=g.name,b=g.sortingOptions[0]),l.value=b,o("columnSorted",{columnName:g.name,value:b,column:g})}const m=jR(p,Kt("delay")),h=w(()=>l.value==="asc"?"va-sort-asc":l.value==="desc"?"va-sort-desc":"va-unsorted");return{sortBySync:s,sortingOrderSync:l,toggleSorting:m,sortedRows:c,sortingOrderIconName:h}},WR={scrollTopMargin:{type:[Number,String],default:0},scrollBottomMargin:{type:[Number,String],default:0}},qR=["scroll:top","scroll:bottom"],GR=(e,t)=>{var n;const o=(n=It())==null?void 0:n.vnode.props,r=(o==null?void 0:o["onScroll:top"])!==void 0,s=(o==null?void 0:o["onScroll:bottom"])!==void 0,i=Fl(M()),l=Fl(M()),u=Fl(M()),c=Kt("scrollTopMargin"),d=Kt("scrollBottomMargin"),p=w(()=>!!i.value),m=b=>{b.forEach(y=>{y.isIntersecting&&(y.target===l.value?t("scroll:top"):t("scroll:bottom"))})},h=w(()=>{const b=[];return p.value&&(l.value&&b.push(l.value),u.value&&b.push(u.value)),b}),g=w(()=>({root:i.value,rootMargin:`${c.value??0}px 0px ${d.value??0}px 0px`}));return N2(h,m,g),{scrollContainer:i,topTrigger:l,bottomTrigger:u,doRenderTopTrigger:r,doRenderBottomTrigger:s}},YR={class:"va-data-table__table-tr"},KR={key:0,scope:"col",class:"va-data-table__table-th va-data-table__table-cell-select"},QR=["title","onClick","onKeydown"],XR={class:"va-data-table__table-th-wrapper"},JR={key:0},ZR=$e({name:"VaDataTableThRow",__name:"VaDataTableThRow",props:{...oS,selectMode:{type:String,default:"multiple"},allRowsSelected:{type:Boolean,default:!1},severalRowsSelected:{type:Boolean,default:!1},columns:{type:Array,required:!0},isFooter:{type:Boolean,default:!1},sortBySync:{type:String,required:!0},sortingOrderIconName:{type:String,required:!0},sortingOrderSync:{type:String,default:null},ariaSelectAllRowsLabel:ct("$t:selectAllRows"),ariaSortColumnByLabel:ct("$t:sortColumnBy")},emits:["toggleBulkSelection","toggleSorting"],setup(e,{emit:t}){const n=e,o=t,{tp:r}=Mn(),{getFooterCSSVariables:s,getHeaderCSSVariables:i,getClass:l,getStyle:u}=rS(n),c=b=>{const y=n.sortingOrderSync&&n.sortBySync===b.name?n.sortingOrderSync==="asc"?"ascending":"descending":"none",_=b.sortable?r(n.ariaSortColumnByLabel,{name:b.label}):void 0;return{"aria-sort":y,"aria-label":_}},d=b=>{n.isFooter&&!n.allowFooterSorting||!b.sortable||o("toggleSorting",b)},p=()=>o("toggleBulkSelection"),m=b=>[b.width?{minWidth:b.width,maxWidth:b.width}:{},n.isFooter?s(b):i(b),u(b.thStyle)],h=w(()=>n.isFooter?"footer":"header"),g=w(()=>n.selectMode==="multiple");return(b,y)=>(v(),x("tr",YR,[b.$props.selectable?(v(),x("th",KR,[g.value?(v(),X(f(Mg),{key:0,class:"va-data-table__table-cell-checkbox","model-value":b.$props.severalRowsSelected?"idl":b.$props.allRowsSelected,"aria-label":f(r)(b.$props.ariaSelectAllRowsLabel),"true-value":!0,"false-value":!1,color:b.$props.selectedColor,"indeterminate-value":"idl",indeterminate:"","onUpdate:modelValue":p},null,8,["model-value","aria-label","color"])):D("",!0)])):D("",!0),(v(!0),x(de,null,Be(e.columns,_=>(v(),x("th",Me({key:_.name,scope:"col",class:["va-data-table__table-th",f(l)(_.thClass)],title:_.thTitle,style:m(_),ref_for:!0},c(_),{onClick:He(A=>d(_),["exact"]),onKeydown:tt(He(A=>d(_),["stop"]),["enter"])}),[a("div",XR,[`${h.value}(${_.name})`in b.$slots?(v(),x("span",JR,[se(b.$slots,`${h.value}(${_.name})`,Me({ref_for:!0},{label:_.label,key:_.key}))])):se(b.$slots,h.value,Me({key:1,ref_for:!0},{label:_.label,key:_.key}),()=>[a("span",null,V(_.label),1)]),_.sortable?(v(),X(f(rn),{key:2,class:xe(["va-data-table__table-th-sorting-icon",{active:e.sortBySync===_.name&&e.sortingOrderSync!==null}]),size:"small",role:_.sortable?"button":void 0,tabindex:_.sortable?0:-1,name:e.sortingOrderIconName,onSelectstart:He(()=>{},["prevent"])}
110,null,8,["class","role","tabindex","name"])):D("",!0)])],16,QR))),128))]))}}),Lm=Je(ZR),c1=(e,t)=>{const n=GI(e);return!n&&dr(`[va-virtual-scroller] ${t} should be number or parsable int greater or equal to 0. Provided: ${e}.`),n},eL={horizontal:{type:Boolean,default:!1},itemSize:Ub({default:0,validator:e=>c1(e,"itemSize")}),wrapperSize:Ub({type:[Number,String],default:100,validator:e=>e==="auto"||c1(e,"wrapperSize")})},tL=(e,t)=>{const n=At(),o=At(),r=w(()=>e.horizontal?"clientWidth":"clientHeight"),s=Hb(e,"wrapperSize"),i=Hb(e,"itemSize"),l=w(()=>{var h;return s.value==="auto"?((h=o.value)==null?void 0:h[r.value])||0:s.value}),u=M(0),c=()=>{if(!n.value)return;const h=[],b=n.value.children.length;for(let y=0;y<b;y++){const _=n.value.children.item(y);_&&h.push(_[r.value])}u.value=b?Math.trunc(h.reduce((y,_)=>y+_,0)/(b-1)):0},d=It();rt(()=>{var h,g;n.value||(n.value=(g=(h=d==null?void 0:d.parent)==null?void 0:h.refs)==null?void 0:g.list),c()}),we(t,c),we(l,c);let p=0;const m=w(()=>{const h=i.value,g=Math.max(h,u.value,1);return Math.abs(p/g*100-100)>5||p===0?(p=g,g):p});return{list:n,wrapper:o,itemSize:m,wrapperSize:l}},nL={trackBy:{type:[String,Number,Function],default:""}},oL=e=>({getKey:(n,o,r)=>{if(e.trackBy&&n&&typeof n=="object"&&!tu(e.trackBy)){const s=Array.isArray(n);let i;if(s&&!isNaN(+e.trackBy)&&(i=n[+e.trackBy]),s||(i=n[e.trackBy]),i||i===0)return i;dr(`${s?"Index":"Key"} '${e.trackBy}' wasn't found in provided ${s?"array":"object"}: `,n)}return tu(e.trackBy)?e.trackBy(n):r}}),rL=$e({name:"VaVirtualScroller",__name:"VaVirtualScroller",props:{...nL,...eL,items:{type:Array,default:()=>[]},bench:Un({default:10,validator:e=>Number(e)>=0}),disabled:{type:Boolean,default:!1},table:{type:Boolean,default:!1}},emits:["scroll:bottom"],setup(e,{expose:t,emit:n}){const o=e,r=n,s=M(0),i=Kt("bench"),l=w(()=>o.horizontal?"scrollLeft":"scrollTop"),u=()=>{d.value&&(s.value=d.value[l.value])};o.disabled||Yt("scroll",u,!0);const{list:c,wrapper:d,itemSize:p,wrapperSize:m}=tL(o,s),{getKey:h}=oL(o),g=h;we(s,Y=>{Y+m.value===P.value&&r("scroll:bottom")});const b=w(()=>Math.max(0,Math.floor(s.value/p.value)-i.value)),y=w(()=>{var Y;return(Y=o.items)!=null&&Y.length?o.disabled?o.items.length:Math.min(o.items.length-b.value,Math.ceil(m.value/p.value)+i.value*2):0}),_=w(()=>b.value+y.value),A=w(()=>{var Y;return(Y=o.items)!=null&&Y.length?o.items.slice(b.value,_.value):[]}),k=w(()=>o.horizontal?"width":"height"),E=w(()=>o.table&&o.disabled),I=w(()=>({[k.value]:E.value||!m.value?void 0:`${m.value}px`})),F=yo("va-virtual-scroller",()=>({...so(o,["horizontal"])})),P=w(()=>{var Y;return(((Y=o.items)==null?void 0:Y.length)??0)*p.value}),B=w(()=>({[k.value]:E.value?void 0:`${P.value}px`})),O=w(()=>b.value*p.value),j=w(()=>({transform:`translate${o.horizontal?"X":"Y"}(${O.value}px)`})),G=w(()=>o.horizontal?"left":"top");return t({scrollToAttribute:G,virtualScrollTo:Y=>{var W;!Y&&Y!==0||(W=d.value)==null||W.scrollTo({[G.value]:Y*p.value})}}),(Y,W)=>(v(),x("div",{ref_key:"wrapper",ref:d,class:xe(["va-virtual-scroller",f(F)]),style:ze(I.value)},[se(Y.$slots,"content",nt(dt({containerStyleComputed:B.value,listStyleComputed:j.value,renderBuffer:A.value,uniqueKey:f(g),currentListOffset:O.value})),()=>[a("div",{class:"va-virtual-scroller__container",style:ze(B.value)},[a("div",{ref_key:"list",ref:c,role:"list",class:"va-virtual-scroller__list",style:ze(j.value)},[(v(!0),x(de,null,Be(A.value,(re,oe)=>se(Y.$slots,"default",Me({key:f(g)(re,oe),ref_for:!0},{item:re,index:b.value+oe}))),128))],4)],4)])],6))}}),zg=Je(rL),aL={key:0,class:"va-inner-loading__overlay","aria-hidden":"true"},sL=$e({name:"VaInnerLoading",__name:"VaInnerLoading",props:{...of,...yt,color:{type:String},icon:{type:String,default:"va-loading"},size:{type:[Number,String],default:30}},setup(e){const t=e,{getColor:n}=Pt(),o=w(()=>n(t.color)),r=w(()=>({"va-inner-loading--active":t.loading})),s=w(()=>({"aria-busy":t.loading}));return(i,l)=>(v(),x("div",Me({class:["va-inner-loading",r.value],"aria-live":"polite"},s.value),[se(i.$slots,"default"),i.$props.loading?(v(),x("div",aL,[se(i.$slots,"loading",{},()=>[C(f(rn),{class:"va-inner-loading__spinner",spin:"counter-clockwise",color:o.value,size:i.$props.size,name:i.$props.icon},null,8,["color","size","name"])])])):D("",!0)],16))}}),iL=Je(sL),lL={key:0},uL={ref:"list",class:"va-data-table__table-tbody"},cL={key:"showNoDataHtml",class:"va-data-table__table-tr"},dL={class:"va-data-table__table-td no-data",colspan:"99999"}
110,fL=["innerHTML"],pL={key:"showNoDataFilteredHtml",class:"va-data-table__table-tr"},mL={class:"va-data-table__table-td no-data",colspan:"99999"},hL=["innerHTML"],gL=["onClick","onDblclick","onContextmenu"],vL={key:0,class:"va-data-table__grid-column-header"},yL={class:"va-data-table__table-expanded-content",colspan:"100%"},d1=ln(zg,["items","trackBy","horizontal","disabled","table"]),f1=ln(Lm),bL=$e({name:"VaDataTable",inheritAttrs:!1,__name:"VaDataTable",props:{...yt,...d1,...BR,...LR,...WR,...UR,...oS,...xR,...NR,...$R,...TR(),...IR,...so(f1,["ariaSelectAllRowsLabel","ariaSortColumnByLabel"]),hoverable:{type:Boolean,default:!1},clickable:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},loadingColor:{type:String,default:"primary"},noDataHtml:{type:String,default:"No items"},noDataFilteredHtml:{type:String,default:"No items match the provided filtering condition"},hideDefaultHeader:{type:Boolean,default:!1},footerClone:{type:Boolean,default:!1},striped:{type:Boolean,default:!1},virtualScroller:{type:Boolean,default:!1},virtualTrackBy:{type:[String,Number],default:"initialIndex"},grid:{type:Boolean,default:!1},gridColumns:{type:[Number,String],default:0},wrapperSize:{type:[Number,String],default:"auto"},ariaSelectRowLabel:ct("$t:selectRowByIndex"),delay:{type:[Number,String],default:0}},emits:["update:modelValue","update:sortBy","update:sortingOrder","filtered","sorted","selectionChange","row:click","row:dblclick","row:contextmenu","columnSorted",...qR],setup(e,{emit:t}){const{tp:n}=Mn(),o=e,r=t,{columnsComputed:s}=kR(o),{rowsComputed:i}=OR(s,o),{filteredRows:l}=zR(i,o,r),{sortBySync:u,sortingOrderSync:c,toggleSorting:d,sortedRows:p,sortingOrderIconName:m}=HR(s,l,o,r),{paginatedRows:h}=AR(p,o),{ctrlSelectRow:g,shiftSelectRows:b,toggleBulkSelection:y,isRowSelected:_,severalRowsSelected:A,allRowsSelected:k,toggleRowSelection:E}=DR(h,o,r),{CSSVariables:I,getCellCSSVariables:F,getClass:P,getStyle:B}=rS(o),{getRowBind:O,getCellBind:j}=VR(o),G=FR(o,h),Q=w(()=>o.items.length===0),Y=w(()=>h.value.length===0),W=(Ce,De,ot)=>{r(Ce,{event:De,item:ot.source,itemIndex:ot.initialIndex,row:ot}),o.selectable&&o.grid&&E(ot)},re=w(()=>({...Ia(z,["class","style"]),class:so(o,["striped","selectable","hoverable","clickable"])})),oe=Pn(d1),ne=w(()=>({...oe.value,items:h.value,trackBy:o.virtualTrackBy,disabled:!o.virtualScroller,table:!0})),z=qi(),N=w(()=>({class:[{"va-data-table--sticky":o.stickyHeader||o.stickyFooter},{"va-data-table--scroll":!!o.height},{"va-data-table--virtual-scroller":ye.value},{"va-data-table--grid":o.grid},z.class],style:[z.style],...ne.value})),ae=Pn(f1),ee=w(()=>({...ae.value,columns:s.value,sortingOrderIconName:m.value,severalRowsSelected:A.value,sortingOrderSync:c.value,allRowsSelected:k.value,sortBySync:u.value})),{scrollContainer:K,topTrigger:Ie,bottomTrigger:fe,doRenderTopTrigger:ge,doRenderBottomTrigger:Fe}=GR(o,r),ye=w(()=>o.virtualScroller&&!o.grid),ce=w(()=>o.gridColumns||"var(--va-data-table-grid-tbody-columns)"),Re=(Ce,De)=>De.displayFormatFn?De.displayFormatFn(Ce.value):Ce.value;return(Ce,De)=>(v(),X(f(zg),Me({class:"va-data-table"},N.value,{ref_key:"scrollContainer",ref:K,style:`--va-css-variables-selected-color: ${String(f(I).selectedColor)};--va-css-variables-hover-color: ${String(f(I).hoverColor)};--va-css-variables-table-height: ${String(f(I).tableHeight)};--va-css-variables-thead-bg: ${String(f(I).theadBg)};--va-css-variables-tfoot-bg: ${String(f(I).tfootBg)};--va-grid-columns-count: ${String(ce.value)}`}),{content:$(({uniqueKey:ot,renderBuffer:U,currentListOffset:Z,listStyleComputed:pe,containerStyleComputed:le})=>[C(f(iL),{"aria-live":"polite",style:ze(le),loading:e.loading,color:e.loadingColor},{default:$(()=>[f(ge)?(v(),x("div",{key:0,ref_key:"topTrigger",ref:Ie,class:"va-data-table__scroll-trigger"},null,512)):D("",!0),a("table",Me({class:"va-data-table__table",style:pe},re.value),["colgroup"in Ce.$slots?(v(),x("colgroup",lL,[se(Ce.$slots,"colgroup",nt(dt(f(s))))])):D("",!0),a("thead",{class:xe(["va-data-table__table-thead",{"va-data-table__table-thead--sticky":Ce.$props.stickyHeader}]),style:ze({top:ye.value&&Ce.$props.stickyHeader?`-${Z}px`:void 0})},[se(Ce.$slots,"headerPrepend"),se(Ce.$slots,"header",{},()=>[e.hideDefaultHeader?D("",!0):(v(),X(f(Lm),Me({key:0},ee.value,{onToggleBulkSelection:f(y),onToggleSorting:f(d)}),Dr({_:2},[Be(Ce.$slots,(L,ie)=>({name:ie,fn:$(me=>[se(Ce.$slots,ie,nt(dt(me)))])}))]),1040,["onToggleBulkSelection","onToggleSorting"]))]),se(Ce.$slots,"headerAppend")],6),a("tbody",uL,[se(Ce.$slots,"bodyPrepend"),C(Z$,{name:ye.value?"":f(G),css:!Ce.$props.virtualScroller,appear:!Ce.$props.virtualScroller},{default:$(()=>[Q.value?(v(),x("tr",cL,[a("td",dL,[se(Ce.$slots,"no-data",{},()=>[a("div",{innerHTML:e.noDataHtml},null,8,fL)])])])):Y.value?(v(),x("tr",pL,[a("td",mL,[se(Ce.$slots,"no-filtered-data",{},()=>[se(Ce.$slots,"no-data",{},()=>[a("div",{innerHTML:e.noDataFilteredHtml},null,8,hL)])])])])):D("",!0),(v(!0),x(de,null,Be(U,(L,ie)=>(v(),x(de,{key:`table-row_${ot(L,ie)}`},[se(Ce.$slots,"row",Me({ref_for:!0},L),()=>[a("tr",Me({class:["va-data-table__table-tr",[{selected:f(_)(L),"va-data-table__table-tr--expanded":L.isExpandableRowVisible}]],ref_for:!0},f(O)(L),{onClick:me=>W("row:click",me,L),onDblclick:me=>W("row:dblclick",me,L),onContextmenu:me=>W("row:contextmenu",me,L)}),[Ce.selectable&&!Ce.$props.grid?(v(),x("td",{class:"va-data-table__table-td va-data-table__table-cell-select",key:`selectable_${ot(L,ie)}`,onSelectstart:De[0]||(De[0]=He(()=>{},["prevent"]))},[C(f(Mg),{class:"va-data-table__table-cell-checkbox","model-value":f(_)(L),color:Ce.selectedColor,"aria-label":f(n)(Ce.$props.ariaSelectRowLabel,{index:L.initialIndex}),onClick:[He(me=>f(b)(L),["shift","exact","stop"]),He(me=>f(g)(L),["ctrl","exact","stop"]),He(me=>f(g)(L),["exact","stop"])]},null,8,["model-value","color","aria-label","onClick"])],32)):D("",!0),(v(!0),x(de,null,Be(L.cells,(me,Te)=>(v(),x("td",Me({key:`table-cell_${me.column.name+me.rowIndex}`,class:["va-data-table__table-td",f(P)(me.column.tdClass)],style:[me.column.width?{minWidth:me.column.width,maxWidth:me.column.width}:{},f(F)(me),f(B)(me.column.tdStyle)],ref_for:!0},f(j)(me,L)),[`cell(${me.column.name})`in Ce.$slots?se(Ce.$slots,`cell(${me.column.name})`,Me({key:0,ref_for:!0},{...me,row:L,isExpanded:L.isExpandableRowVisible})):se(Ce.$slots,"cell",Me({key:1,ref_for:!0},{cell:me,row:L}),()=>[Ce.$props.grid?(v(),x("span",vL,V(f(s)[Te].label),1)):D("",!0),T(" "+V(Re(me,f(s)[Te])),1)])],16))),128))],16,gL)]),L.isExpandableRowVisible?(v(),x("tr",{class:"va-data-table__table-tr",key:`table-expandable-row_${ot(L,ie)}`},[a("td",yL,[se(Ce.$slots,"expandableRow",Me({ref_for:!0},L))])])):D("",!0)],64))),128))]),_:2},1032,["name","css","appear"]),se(Ce.$slots,"bodyAppend")],512),["footer","footerPrepend","footerAppend"].some(L=>Ce.$slots[L])||e.footerClone&&!Ce.$props.grid?(v(),x("tfoot",{key:1,class:xe(["va-data-table__table-tfoot",{"va-data-table__table-tfoot--sticky":Ce.$props.stickyFooter}]),style:ze({bottom:ye.value&&Ce.$props.stickyFooter?`${Z}px`:void 0})},[se(Ce.$slots,"footerPrepend"),se(Ce.$slots,"footer",{},()=>[e.hideDefaultHeader?D("",!0):(v(),X(f(Lm),Me({key:0},ee.value,{"is-footer":"",onToggleBulkSelection:f(y),onToggleSorting:f(d)}),Dr({_:2},[Be(Ce.$slots,(L,ie)=>({name:ie,fn:$(me=>[se(Ce.$slots,ie,nt(dt(me)))])}))]),1040,["onToggleBulkSelection","onToggleSorting"]))]),se(Ce.$slots,"footerAppend")],6)):D("",!0)],16),f(Fe)?(v(),x("div",{key:1,ref_key:"bottomTrigger",ref:fe,class:"va-data-table__scroll-tr
110igger"},null,512)):D("",!0)]),_:2},1032,["style","loading","color"])]),_:3},16,["style"]))}}),wL=Je(bL),p1=e=>e===null?!1:typeof e=="object"&&("start"in e||"end"in e),_L=(e,t)=>{const n=M(e.value),o=w({get:()=>n.value,set:s=>{if(t.value&&(e.value=s),!s){e.value=s;return}p1(s)?s.end!==null&&(e.value=s):e.value=s,n.value=s}});return we(e,s=>{n.value=s}),{valueComputed:o,reset:()=>{n.value&&p1(n.value)&&(n.value=e.value)}}},m1=e=>new Date(Date.parse(e)),h1=e=>Bs(e)&&!isNaN(e.getTime()),xL=e=>{const t=i=>{const l=i.split(e.delimiter);return l.length<2?!1:l.every(u=>{const c=(e.parseDate||m1)(u);return h1(c)})},n=i=>i.includes(e.rangeDelimiter),o=M(!0),r=i=>{const l=i.split("."),u=(l==null?void 0:l.length)===3?l.reverse().join("-"):i,c=(e.parseDate||m1)(u);return o.value=h1(c),c};return{parseDateInputValue:i=>{if(o.value=!0,e.parse)return e.parse(i,o);if(t(i))return i.split(e.delimiter).map(r);if(n(i)){const[l,u]=i.split(e.rangeDelimiter).map(r);return{start:l,end:u}}return r(i)},isValid:o}},SL=e=>{const t=Date.parse(e);return!isNaN(t)&&!e.includes(" ")},CL=e=>e.endsWith("GMT"),kL=e=>{const t=new Date(e);return!isNaN(t.getTime())},$L=(e,t)=>CL(t)?e.toUTCString():SL(t)?e.toISOString():kL(t)?e.toString():null,Cp=e=>e===null?!1:typeof e=="object"&&("start"in e||"end"in e),kp=e=>e===null?!1:Array.isArray(e),g1=e=>e===null?!1:typeof e=="string"||typeof e=="number"||e instanceof Date,AL=(e,t,n,o,r)=>{const s=(d,p)=>{if(r)return r(p);if(typeof d=="string"){const m=$L(p,d);return m||o(p)}return typeof d=="number"?p.getTime():p},i=d=>d instanceof Date?d:new Date(d),l=w(()=>e.value===null||e.value===void 0?null:typeof e.value=="string"?n(e.value):typeof e.value=="number"?new Date(e.value):e.value),u=w({get:()=>{if(l.value===null||l.value===void 0)return null;if(kp(l.value))return l.value.map(i);if(Cp(l.value)){const{start:d,end:p}=l.value;return{start:d?i(d):null,end:p?i(p):null}}return i(l.value)},set(d){var p,m;if(d==null){e.value=d;return}if(kp(d)&&(kp(e.value)||gp(e.value))){const h=e.value;e.value=d.map((g,b)=>s((h==null?void 0:h[b])||(h==null?void 0:h[0]),g));return}if(Cp(d)&&(Cp(e.value)||gp(e.value))){const{start:h,end:g}=d;e.value={start:h?s((p=e.value)==null?void 0:p.start,h):null,end:g?s((m=e.value)==null?void 0:m.start,g):null};return}if(g1(d)&&(g1(e.value)||gp(e.value))){e.value=s(e.value,d);return}throw new Error("Input date is not the same as date from props")}});return{text:w({get:()=>u.value===null||u.value===void 0?"":o(u.value),set:d=>{e.value=n(d)}}),normalized:u}},TL=(e,t)=>(e==null?void 0:e.toDateString())===(t==null?void 0:t.toDateString()),aS=(e,t)=>(e==null?void 0:e.getFullYear())===(t==null?void 0:t.getFullYear()),EL=(e,t)=>aS(e,t)&&(e==null?void 0:e.getMonth())===(t==null?void 0:t.getMonth()),PL=e=>{const t=new Date;return t.setFullYear(e),t},Fi=e=>e===null?!1:typeof e=="object"&&("start"in e||"end"in e),lf=e=>Bs(e),uf=e=>Array.isArray(e),sS=0,iS=11,OL=e=>e.month===iS?{...e,year:e.year+1,month:sS}:{...e,month:e.month+1},IL=e=>e.month===sS?{...e,year:e.year-1,month:iS}:{...e,month:e.month-1},DL=e=>Bs(e)?e:Bs(e==null?void 0:e.start)?e.start:Array.isArray(e)&&Bs(e[0])?e[0]:new Date,lS=(e,t,n)=>{const o=DL(e.modelValue),r={type:"day",year:o.getFullYear(),month:o.getMonth(),...n},s=M(r),i=w({get(){return{...s.value,...e.view}},set(c){s.value=c,t("update:view",c)}});return{syncView:i,next:()=>{i.value.type==="day"?i.value=OL(i.value):i.value.type==="month"&&(i.value={...i.value,year:i.value.year+1})},prev:()=>{i.value.type==="day"?i.value=IL(i.value):i.value.type==="month"&&(i.value={...i.value,year:i.value.year-1})}}},ML=["onKeypress"],jg=$e({name:"VaDatePickerCell",__name:"VaDatePickerCell",props:{otherMonth:{type:Boolean,default:!1},today:{type:Boolean,default:!1},inRange:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},selected:{type:Boolean,default:!1},weekend:{type:Boolean,default:!1},hidden:{type:Boolean,default:!1},focused:{type:Boolean,default:!1},highlightWeekend:{type:Boolean,default:!1},highlightToday:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},color:{type:String,default:"primary"}},emits:["click"],setup(e,{emit:t}){const n=e,o=t,r=()=>{n.disabled||o("click")},{getColor:s}=Pt(),i=w(()=>
110s(n.color)),l=vo(i);return(u,c)=>e.hidden?(v(),x("div",{key:0,class:"va-date-picker-cell va-date-picker-cell_clear",style:ze(`--va-bg: ${String(i.value)};--va-text-color-computed: ${String(f(l))}`)},null,4)):(v(),x("div",{key:1,class:xe(["va-date-picker-cell",{"va-date-picker-cell_other-month":e.otherMonth,"va-date-picker-cell_today":e.highlightToday&&e.today,"va-date-picker-cell_in-range":e.inRange,"va-date-picker-cell_disabled":e.disabled,"va-date-picker-cell_highlighted-weekend":e.highlightWeekend&&e.weekend,"va-date-picker-cell_selected":e.selected,"va-date-picker-cell_focused":e.focused,"va-date-picker-cell_readonly":e.readonly}]),onClick:r,onKeypress:tt(He(r,["prevent","stop"]),["space","enter"]),style:ze(`--va-bg: ${String(i.value)};--va-text-color-computed: ${String(f(l))}`)},[se(u.$slots,"default")],46,ML))}});function v1(e){return e===void 0}const Ug=({rowSize:e,start:t,end:n,onSelected:o,onFocusIndex:r})=>{const s=M(-1);let i=!1;return{focusedCellIndex:s,containerAttributes:{onFocus:()=>{if(i)return;i=!1;const m=r===void 0?f(t)||0:f(r);s.value=m},onKeydown:m=>{if(["ArrowRight","ArrowLeft","ArrowDown","ArrowUp","Enter","Space"].includes(m.key)&&(m.preventDefault(),m.stopPropagation()),m.key==="Enter"||m.key==="Space"){if(o===void 0)return;o(s.value);return}m.key==="ArrowRight"&&(s.value+=1),m.key==="ArrowLeft"&&(s.value-=1),m.key==="ArrowDown"&&(s.value+=e),m.key==="ArrowUp"&&(s.value-=e),!v1(t)&&s.value<f(t)&&(s.value=f(t)),!v1(n)&&s.value>f(n)-1&&(s.value=f(n)-1)},onBlur:()=>{i=!1,s.value=-1},onMousedown:()=>{i=!0},tabindex:0}}},RL=(e,t)=>{if(t==="single")return e;if(t==="range")return{start:e,end:null};if(t==="multiple")return[e];if(t==="auto")return e;throw new Error("Unknown mode")},Rc=(e,t)=>{throw Error(`Incorrect modelValue for mode ${t}. Got ${JSON.stringify(e)}`)},LL=e=>lf(e)?"single":Fi(e)?"range":uf(e)?"multiple":Rc(e,"auto"),y1=e=>e.start&&e.end&&e.start>e.end?{start:e.end,end:e.start}:e,VL=(e,t,n)=>({updateModelValue:r=>{if(!e.modelValue){t("update:modelValue",RL(r,e.mode));return}const s=e.mode==="auto"?LL(e.modelValue):e.mode;if(s==="single"){if(!lf(e.modelValue))return Rc(e.modelValue,s);t("update:modelValue",r);return}if(s==="range"){if(!Fi(e.modelValue))return Rc(e.modelValue,s);if(e.modelValue.end&&n(e.modelValue.end,r))return t("update:modelValue",{start:e.modelValue.start,end:null});if(e.modelValue.start&&n(e.modelValue.start,r))return t("update:modelValue",{start:e.modelValue.end,end:null});if(e.modelValue.start===null)return t("update:modelValue",y1({end:e.modelValue.end,start:r}));if(e.modelValue.end===null)return t("update:modelValue",y1({start:e.modelValue.start,end:r}));t("update:modelValue",{start:r,end:null});return}if(s==="multiple"){if(!uf(e.modelValue))return Rc(e.modelValue,s);!!e.modelValue.find(l=>n(l,r))?t("update:modelValue",e.modelValue.filter(l=>!n(l,r))):t("update:modelValue",[...e.modelValue,r].sort((l,u)=>l.getTime()-u.getTime()))}}}),BL=e=>({month:EL,day:TL,year:aS})[e],Hg=(e,t,n,o)=>{const r=BL(e),s=n.allowedDays||n.allowedMonths||n.allowedYears,i=g=>s===void 0?!1:!s(g),l=M(-1),u=w(()=>t.value[l.value]),{updateModelValue:c}=VL(n,o,r),d=g=>{n.readonly||i(g)||(c(g),o(`click:${e}`,g))},p=g=>r(new Date,g),m=g=>n.modelValue?lf(n.modelValue)?r(n.modelValue,g):uf(n.modelValue)?!!n.modelValue.find(b=>r(b,g)):Fi(n.modelValue)?r(n.modelValue.start,g)||r(n.modelValue.end,g):!1:!1,h=g=>{if(!n.modelValue||!Fi(n.modelValue))return!1;if(n.modelValue.start&&n.modelValue.end)return n.modelValue.start<g&&n.modelValue.end>g;const b=n.modelValue.start||n.modelValue.end;return b&&u.value?b<g?u.value>=g:u.value<=g:!1};return we(u,g=>{o(`hover:${e}`,g)}),{hoveredIndex:l,hoveredValue:u,onClick:d,isToday:p,isSelected:m,isInRange:h}},$p=(e,t)=>new Date(e,t+1,0).getDate(),FL=(e,t)=>new Date(e,t,1).getDay(),Ap=e=>Array.from(Array(e).keys()).map(t=>t+1),NL=(e,t)=>{const o=d=>{var p;return!t||!((p=t.firstWeekday)!=null&&p.value)?d:t.firstWeekday.value.toLowerCase()==="monday"?d===0?6:d-1:d},r=w(()=>o(FL(e.value.year,e.value.month))),s=()=>{if(r.value===0)return[];const d=$p(e.value.year,e.value.month-1);return Ap(d).slice(-r.value).map(m=>new Date(e.value.year,e.value.month-1,m))},i=()=>Ap($p(e.value.year,e.value.month)).map(p=>new Date(e.value.year,e.value.month,p)),l=w(()=>[...s(),...i()]),u=w(()=>l.value.length);return{calendarDates:w(()=>{const d=l.value,p=7*6-d.length,m=$p(e.value.year,e.value.month+1),h=Ap(m);return[...d,...h.slice(0,p).map(g=>new Date(e.value.year,e.value.month+1,g))]}),currentMonthStartIndex:r,currentMonthEndIndex:u}},zL=["onMouseenter"],jL={class:"va-date-picker-cell__day"},rc=$e({name:"VaDayPicker",__name:"VaDayPicker",props:{monthNames:{type:Array,required:!0},weekdayNames:{type:Array,required:!0},firstWeekday:{type:String,default:"Sunday"},hideWeekDays:{type:Boolean,default:!1},view:{type:Object,default:()=>({type:"day"})},modelValue:{type:[Date,Array,Object]},mode:{type:String,default:"auto"},showOtherMonths:{type:Boolean,default:!1},allowedDays:{type:Function},weekends:{type:Function},highlightWeekend:{type:Boolean,default:!1},highlightToday:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},color:{type:String,default:"primary"}},emits:["update:modelValue","hover:day","click:day"],setup(e,{emit:t}){const n=e,o=t,{firstWeekday:r,weekdayNames:s,view:i}=Qs(n),{calendarDates:l,currentMonthStartIndex:u,currentMonthEndIndex:c}=NL(i,{firstWeekday:r}),d=w(()=>r.value.toLowerCase()==="sunday"?s.value:[...s.value.slice(1),s.value[0]]),{hoveredIndex:p,onClick:m,isToday:h,isSelected:g,isInRange:b}=Hg("day",l,n,o),y=w(()=>n.showOtherMonths?0:u.value),_=w(()=>n.showOtherMonths?l.value.length:c.value),{focusedCellIndex:A,containerAttributes:k}=Ug({rowSize:7,start:y,end:_,onSelected:P=>m(l.value[P])});we(A,P=>{p.value=P}),we(p,P=>{A.value=P});const E=P=>n.view.month!==P.getMonth(),I=P=>n.allowedDays===void 0?!1:!n.allowedDays(P),F=P=>n.weekends===void 0?P.getDay()===6||P.getDay()===0:n.weekends(P);return(P,B)=>(v(),x("div",Me({class:"va-day-picker"},f(k)),[e.hideWeekDays?D("",!0):(v(!0),x(de,{key:0},Be(d.value,O=>(v(),x("div",{key:O,class:"va-day-picker__weekday"},[se(P.$slots,"weekday",{},()=>[T(V(O),1)])]))),128)),(v(!0),x(de,null,Be(f(l),(O,j)=>(v(),x("div",{class:"va-day-picker__calendar__day-wrapper",key:j,onMouseenter:G=>p.value=j,onMouseleave:B[0]||(B[0]=G=>p.value=-1)},[C(jg,{hidden:E(O)&&!e.showOtherMonths,today:f(h)(O),selected:f(g)(O),"in-range":f(b)(O),"other-month":E(O),weekend:F(O),disabled:I(O),focused:f(p)===j,"highlight-today":e.highlightToday,"highlight-weekend":e.highlightWeekend,readonly:P.$props.readonly,color:e.color,onClick:G=>{f(m)(O),A.value=j}},{default:$(()=>[a("span",jL,[se(P.$slots,"day",Me({ref_for:!0},{date:O}),()=>[T(V(O.getDate()),1)])])]),_:2},1032,["hidden","today","selected","in-range","other-month","weekend","disabled","focused","highlight-today","highlight-weekend","readonly","color","onClick"])],40,zL))),128))],16))}}),UL={key:0,class:"va-date-picker-header va-date-picker__header"},HL={class:"va-date-picker__header__text"},WL={class:"va-date-picker__header__month"},ac=$e({name:"VaDatePickerHeader",__name:"VaDatePickerHeader",props:{monthNames:{type:Array,required:!0},view:{type:Object},color:{type:String},disabled:{type:Boolean,default:!1},ariaNextPeriodLabel:ct("$t:nextPeriod"),ariaPreviousPeriodLabel:ct("$t:previousPeriod"),ariaSwitchViewLabel:ct("$t:switchView")},emits:["update:view"],setup(e,{emit:t}){const n=e,o=t,{syncView:r,prev:s,next:i}=lS(n,o),l=()=>{r.value.type==="day"?r.value={...r.value,type:"month"}:r.value.type==="month"&&(r.value={...r.value,type:"year"})},u=p=>{r.value=p},c=vo(s2(yg())),{tp:d}=Mn();return(p,m)=>
110f(r).type!=="year"?(v(),x("div",UL,[se(p.$slots,"buttonPrev",nt(dt({onClick:f(s)})),()=>[C(f(bt),{"va-child":"prevButton",disabled:p.$props.disabled,icon:"va-arrow-left",preset:"plain",size:"small",color:e.color,textColor:f(c),"aria-label":f(d)(p.$props.ariaPreviousPeriodLabel),round:"",onClick:f(s)},null,8,["disabled","color","textColor","aria-label","onClick"])]),a("div",HL,[se(p.$slots,"header",nt(dt({year:f(r).year,month:f(r).month,monthNames:e.monthNames,view:f(r),changeView:u,switchView:l})),()=>[C(f(bt),{"va-child":"middleButton",disabled:p.$props.disabled,preset:"plain",size:"small",color:e.color,textColor:f(c),"aria-label":f(d)(p.$props.ariaSwitchViewLabel),onClick:l},{default:$(()=>[se(p.$slots,"year",nt(dt({year:f(r).year})),()=>[T(V(f(r).year),1)]),f(r).type==="day"?se(p.$slots,"month",nt(Me({key:0},{month:f(r).month})),()=>[a("span",WL,V(e.monthNames[f(r).month]),1)]):D("",!0)]),_:3},8,["disabled","color","textColor","aria-label"])])]),se(p.$slots,"buttonNext",nt(dt({onClick:f(i)})),()=>[C(f(bt),{"va-child":"nextButton",disabled:p.$props.disabled,icon:"va-arrow-right",preset:"plain",size:"small",color:e.color,textColor:f(c),"aria-label":f(d)(p.$props.ariaNextPeriodLabel),onClick:f(i),round:""},null,8,["disabled","color","textColor","aria-label","onClick"])])])):D("",!0)}}),qL=["onMouseenter"],sc=$e({name:"VaMonthPicker",__name:"VaMonthPicker",props:{modelValue:{type:[Date,Array,Object]},monthNames:{type:Array,required:!0},view:{type:Object,default:()=>({type:"month"})},allowedMonths:{type:Function,default:void 0},highlightToday:{type:Boolean,default:!0},mode:{type:String,default:"auto"},readonly:{type:Boolean,default:!1},color:{type:String,default:"primary"}},emits:["update:modelValue","hover:month","click:month"],setup(e,{emit:t}){const n=e,o=t,{view:r}=Qs(n),s=w(()=>Array.from(Array(12).keys()).map(g=>new Date(r.value.year,g))),{hoveredIndex:i,onClick:l,isToday:u,isSelected:c,isInRange:d}=Hg("month",s,n,o),p=g=>n.allowedMonths===void 0?!1:!n.allowedMonths(g),{focusedCellIndex:m,containerAttributes:h}=Ug({rowSize:3,start:0,end:s.value.length,onSelected:g=>l(s.value[g])});return we(m,g=>{i.value=g}),we(i,g=>{m.value=g}),(g,b)=>(v(),x("div",Me({class:"va-month-picker"},f(h)),[(v(!0),x(de,null,Be(s.value,(y,_)=>(v(),x("div",{key:_,class:"va-month-picker__month-wrapper",onMouseenter:A=>i.value=_,onMouseleave:b[0]||(b[0]=A=>i.value=-1)},[C(jg,{"in-range":!!f(d)(y),selected:!!f(c)(y),disabled:!!p(y),today:!!f(u)(y),focused:f(i)===_,"highlight-today":e.highlightToday,readonly:g.$props.readonly,color:e.color,onClick:A=>{f(l)(y),m.value=_}},{default:$(()=>[se(g.$slots,"month",Me({ref_for:!0},{monthIndex:_,month:e.monthNames[_]}),()=>[T(V(e.monthNames[_]),1)])]),_:2},1032,["in-range","selected","disabled","today","focused","highlight-today","readonly","color","onClick"])],40,qL))),128))],16))}}),ic=$e({name:"VaYearPicker",__name:"VaYearPicker",props:{modelValue:{type:[Date,Array,Object]},allowedYears:{type:Function,default:void 0},highlightToday:{type:Boolean,default:!0},startYear:Un({default:1970}),mode:{type:String,default:"auto"},view:{type:Object,default:()=>({type:"year"})},endYear:Un({default:()=>new Date().getFullYear()+50}),readonly:{type:Boolean,default:!1},color:{type:String,default:"primary"}},emits:["update:modelValue","hover:year","click:year"],setup(e,{emit:t}){const n=e,o=t,r=At(),{view:s}=Qs(n),i=(E,I)=>{const F=I-E+1;return Array.from(Array(F).keys()).map(P=>PL(E+P))},l=Kt("startYear"),u=Kt("endYear"),c=w(()=>i(l.value,u.value)),d=E=>{if(!r.value)return;const I=r.value.scrollHeight,F=r.value.offsetHeight,P=I/c.value.length*E,B=I/c.value.length,O=P-r.value.scrollTop;O<0?r.value.scrollTo({top:P}):O>F&&r.value.scrollTo({top:P-F+B})},p=E=>{if(!r.value)return;const I=r.value.scrollHeight,F=r.value.offsetHeight,P=I/c.value.length*E;r.value.scrollTo({top:P-F/2})};rt(()=>{const E=c.value.findIndex(I=>I.getFullYear()===s.value.year);p(E)});const{hoveredIndex:m,onClick:h,isToday:g,isSelected:b,isInRange:y}=Hg("year",c,n,o),_=E=>n.allowedYears===void 0?!1:!n.allowedYears(E),{focusedCellIndex:A,containerAttributes:k}=Ug({rowSize:1,start:0,end:c.value.length,onFocusIndex:w(()=>c.value.findIndex(E=>E.getFullYear()===s.value.year)),onSelected:E=>h(c.value[E])});return we(A,E=>E!==-1&&d(E)),we(A,E=>{m.value=E}),we(m,E=>{A.value=E}),(E,I)=>(v(),x("div",Me({ref_key:"rootNode",ref:r,class:"va-year-picker"}
110,f(k),{onKeydown:I[1]||(I[1]=tt(He(()=>{},["prevent"]),["space"]))}),[(v(!0),x(de,null,Be(c.value,(F,P)=>(v(),X(jg,{key:F.toString(),"in-range":f(y)(F),selected:f(b)(F),disabled:_(F),today:f(g)(F),focused:f(A)===P,"highlight-today":e.highlightToday,readonly:E.$props.readonly,color:e.color,onClick:B=>{f(h)(F),A.value=P},onMouseenter:B=>m.value=P,onMouseleave:I[0]||(I[0]=B=>m.value=-1)},{default:$(()=>[T(V(F.getFullYear()),1)]),_:2},1032,["in-range","selected","disabled","today","focused","highlight-today","readonly","color","onClick","onMouseenter"]))),128))],16))}}),GL={class:"va-date-picker__picker-wrapper"},YL=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],KL=["SU","MO","TU","WE","TH","FR","SA"],gd=$e({name:"VaDatePicker",__name:"VaDatePicker",props:{...Ex({prevButton:bt,nextButton:bt,middleButton:bt}),...Er,...yt,...ln(ac),...ln(rc),...ln(sc),...ln(ic),modelValue:{type:[Date,Array,Object]},monthNames:{type:Array,default:YL},weekdayNames:{type:Array,default:KL},view:{type:Object},type:{type:String,default:"day"},readonly:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},color:{type:String,default:void 0},weekendsColor:{type:String,default:void 0}},emits:[...ma,...xl(ac),...xl(ic),...xl(rc),...xl(sc)],setup(e,{expose:t,emit:n}){const o=e;Px(o);const r=n,s=M(),i=Uo(o,r),{syncView:l}=lS(o,r,{type:o.type}),u=w(()=>({"va-date-picker_without-week-days":o.hideWeekDays,"va-date-picker_disabled":o.disabled})),c=F=>{o.readonly||o.type==="day"&&(i.value=F)},d=F=>{r("click:month",F);const P=F.getFullYear(),B=F.getMonth();o.type!=="month"&&(l.value={type:"day",year:P,month:B})},p=F=>{o.type==="month"&&(i.value=F)},m=F=>{r("click:year",F);const P=F.getFullYear();o.type!=="year"&&(l.value={type:"month",year:P,month:l.value.month})},h=F=>{o.type==="year"&&(i.value=F)},{colorsToCSSVariable:g}=Pt(),b=w(()=>({...g({color:o.color,"weekends-color":o.weekendsColor},"va-date-picker")})),y=()=>{var F;return(F=s.value)==null?void 0:F.$el.focus()};we(l,(F,P)=>{F.type!==P.type&&Ct(y)});const _=F=>o.readonly&&o.type===F,A=Pn(ln(rc)),k=Pn(ln(ac)),E=Pn(ln(sc)),I=Pn(ln(ic));return t({focus:y,focusCurrentPicker:y}),(F,P)=>(v(),x("div",{class:xe(["va-date-picker",u.value]),style:ze(b.value)},[C(ac,Me(f(k),{view:f(l),"onUpdate:view":P[0]||(P[0]=B=>mt(l)?l.value=B:null)}),Dr({_:2},[Be(F.$slots,(B,O)=>({name:O,fn:$(j=>[se(F.$slots,O,nt(dt(j)))])}))]),1040,["view"]),a("div",GL,[f(l).type==="day"?(v(),X(rc,Me({key:0,ref_key:"currentPicker",ref:s},f(A),{"model-value":f(i),view:f(l),readonly:F.$props.disabled||_("day"),"onUpdate:modelValue":c,"onHover:day":P[1]||(P[1]=B=>F.$emit("hover:day",B)),"onClick:day":P[2]||(P[2]=B=>F.$emit("click:day",B))}),Dr({_:2},[Be(F.$slots,(B,O)=>({name:O,fn:$(j=>[se(F.$slots,O,nt(dt(j)))])}))]),1040,["model-value","view","readonly"])):D("",!0),f(l).type==="month"?(v(),X(sc,Me({key:1,ref_key:"currentPicker",ref:s},f(E),{view:f(l),"model-value":f(i),readonly:F.$props.disabled||_("month"),"onUpdate:modelValue":p,"onHover:month":P[3]||(P[3]=B=>F.$emit("hover:month",B)),"onClick:month":d}),Dr({_:2},[Be(F.$slots,(B,O)=>({name:O,fn:$(j=>[se(F.$slots,O,nt(dt(j)))])}))]),1040,["view","model-value","readonly"])):D("",!0),f(l).type==="year"?(v(),X(ic,Me({key:2,ref_key:"currentPicker",ref:s},f(I),{view:f(l),"model-value":f(i),readonly:F.$props.disabled||_("year"),"onHover:year":P[4]||(P[4]=B=>F.$emit("hover:year",B)),"onUpdate:modelValue":h,"onClick:year":m}),Dr({_:2},[Be(F.$slots,(B,O)=>({name:O,fn:$(j=>[se(F.$slots,O,nt(dt(j)))])}))]),1040,["view","model-value","readonly"])):D("",!0)])],6))}}),uS=ln(ls,["innerAnchorSelector","stateful","keyboardNavigation","modelValue"]),Za={...uS,modelValue:{},closeOnChange:{type:Boolean,default:null},isOpen:{type:Boolean,default:!1}},cS=["update:isOpen"],dS=function(e,t,n={}){const o=Ea(e,"isOpen",t),r=w(()=>e.closeOnChange!==null?e.closeOnChange:f(n.defaultCloseOnValueUpdate||!1));return we(()=>e.modelValue,()=>{r.value&&(o.value=!1)}),{dropdownProps:Pn(uS),isOpenSync:o}},b1=ln(Da,["focused","maxLength","counterValue"]),w1=ln(gd),QL=$e({name:"VaDateInput",__name:"VaDateInput",props:{...Za,...Vg,...b1,...w1,...Zs,...yt,...mg,clearValue:{type:void 0,default:void 0},modelValue:{type:[Date,Array,Object,String,Number]},resetOnClose:{type:Boolean,default:!0},closeOnContentClick:{type:Boolean,default:!1},offset:{...Za.offset,default:()=>[2,0]},format:{type:Function},formatDate:{type:Function,default:e=>e.toLocaleDateString()},formatValue:{type:Function},parse:{type:Function},parseDate:{type:Function},delimiter:{type:String,default:", "},rangeDelimiter:{type:String,default:" ~ "},manualInput:{type:Boolean,default:!1},color:{type:String,default:"primary"},leftIcon:{type:Boolean,default:!1},icon:{type:String,default:"va-calendar"},ariaToggleDropdownLabel:ct("$t:toggleDropdown"),ariaResetLabel:ct("$t:resetDate"),ariaSelectedDateLabel:ct("$t:selectedDate")},emits:[...xl(gd),...Bg,...$u,...ma,...cS,...hg,"update:text"],setup(e,{expose:t,emit:n}){const o=e,r=n,s=At(),i=M(),{resetOnClose:l}=Qs(o),{trapFocusIn:u,freeFocus:c}=m2(),d=()=>{const _e=Vn(i.value);if(!_e){c();return}u(_e)};we([i],()=>{d()});const p=Uo(o,r),{isOpenSync:m,dropdownProps:h}=dS(o,r,{defaultCloseOnValueUpdate:w(()=>!(Array.isArray(b.value)||Fi(b.value)&&b.value.end===null))}),g=w(()=>!l.value),{valueComputed:b,reset:y}=_L(p,g);we(m,_e=>{!_e&&!g.value&&y()});const{focus:_,blur:A}=gg(s,o,r),k=Lg(i),E=_e=>_e?o.formatDate(_e):"...",{parseDateInputValue:I,isValid:F}=xL(o);we(b,()=>{F.value=!0});const P=_e=>o.format?o.format(b.value):uf(_e)?_e.map(Se=>o.formatDate(Se)).join(o.delimiter):lf(_e)?o.formatDate(_e):Fi(_e)?_e.start===null&&_e.end===null?"":E(_e.start)+o.rangeDelimiter+E(_e.end):(_e==null,""),{text:B,normalized:O}=AL(b,go(o,"mode"),I,P,o.formatValue),j=w(()=>F.value?b.value?B.value:o.clearValue?P(o.clearValue):"":""),G=({target:_e})=>{if(o.disabled)return;const Se=_e.value;F.value&&(b.value=Se===""?o.clearValue:I(Se))},Q=()=>ge(()=>{p.value=o.clearValue,r("clear"),Fe()}),Y=()=>{m.value=!1,_()},W=()=>{Ct(()=>{var _e;return(_e=i.value)==null?void 0:_e.focusCurrentPicker()})},re=()=>{m.value?W():_()},oe=_e=>m.value?!1:o.disabled||o.readonly?!0:_e===void 0?!1:o.manualInput&&(_e==null?void 0:_e.code)!=="Space",ne=_e=>{oe(_e instanceof KeyboardEvent?_e:void 0)||(m.value=!m.value,Ct(re))},z=()=>
110{o.disabled||o.readonly||(m.value=!0,Ct(W))},{isDirty:N,isTouched:ae,computedError:ee,computedErrorMessages:K,validationAriaAttributes:Ie,validate:fe,withoutValidation:ge,resetValidation:Fe}=ef(o,r,{reset:Q,focus:_,value:b});we(m,_e=>{_e||(ae.value=!0)});const ye=w(()=>!F.value&&b.value!==o.clearValue||ee.value),ce=pa(),Re=w(()=>{const _e=[o.leftIcon&&"prependInner",(!o.leftIcon||o.clearable)&&"icon"];return Object.keys(ce).filter(Se=>!_e.includes(Se))}),{canBeCleared:Ce,clearIconProps:De}=Fg(o,b),ot=w(()=>o.disabled?{}:o.manualInput?{cursor:"text"}:{cursor:"pointer"}),U=w(()=>o.manualInput?o.disabled||o.readonly?-1:0:-1),Z=w(()=>({role:U.value===0?"button":"none",ariaHidden:U.value===-1,name:o.icon,color:"secondary",tabindex:U.value})),pe=Pn(b1),le=w(()=>({...pe.value,focused:k.value,error:ye.value,errorMessages:K.value,readonly:o.readonly||!o.manualInput})),{tp:L}=Mn(),ie=qi(),me=w(()=>({readonly:o.readonly||!o.manualInput,disabled:o.disabled,tabindex:o.disabled?-1:0,placeholder:o.placeholder,value:j.value,ariaLabel:o.label||L(o.ariaSelectedDateLabel),ariaRequired:o.requiredMark,ariaDisabled:o.disabled,ariaReadOnly:o.readonly,...Ie.value,...Ia(ie,["class","style"])})),Te=w(()=>({...h.value,stateful:!1,innerAnchorSelector:".va-input-wrapper__field",trigger:["click","right-click","enter","space"]})),be=le,Ee=Pn(w1);return t({valueText:j,valueWithoutText:O,valueDate:O,focus:_,blur:A,reset:Q,validate:fe,showDropdown:z,hideAndFocus:Y,toggleDropdown:ne,focusDatePicker:W,isDirty:N,isTouched:ae}),(_e,Se)=>(v(),X(f(ls),Me({modelValue:f(m),"onUpdate:modelValue":Se[9]||(Se[9]=Oe=>mt(m)?m.value=Oe:null),class:["va-date-input",_e.$attrs.class],style:_e.$attrs.style},Te.value,{onOpen:W,role:"none"}),{anchor:$(()=>[se(_e.$slots,"input",nt(dt({valueText:j.value,inputAttributes:me.value,inputWrapperProps:f(be)})),()=>[C(f(Da),Me({class:"va-date-input__anchor",style:ot.value},f(be),{"model-value":j.value,onChange:G}),Dr({icon:$(()=>[f(Ce)?(v(),X(f(rn),Me({key:0,"aria-label":f(L)(_e.$props.ariaResetLabel)},{...Z.value,...f(De)},{onClick:He(Q,["stop"]),onKeydown:[tt(He(Q,["stop"]),["enter"]),tt(He(Q,["stop"]),["space"])]}),null,16,["aria-label","onKeydown"])):D("",!0),!_e.$props.leftIcon&&_e.$props.icon?(v(),X(f(rn),Me({key:1,"aria-label":f(L)(_e.$props.ariaToggleDropdownLabel)},Z.value),null,16,["aria-label"])):D("",!0)]),_:2},[Be(Re.value,Oe=>({name:Oe,fn:$(je=>[se(_e.$slots,Oe,nt(dt(je)))])})),_e.$slots.prependInner||_e.$props.leftIcon?{name:"prependInner",fn:$(Oe=>[se(_e.$slots,"prependInner",nt(dt(Oe))),_e.$props.leftIcon?(v(),X(f(rn),Me({key:0,"aria-label":f(L)(_e.$props.ariaToggleDropdownLabel)},Z.value),null,16,["aria-label"])):D("",!0)]),key:"0"}:void 0]),1040,["style","model-value"])])]),default:$(()=>[C(f(hd),{class:"va-date-input__dropdown-content",onKeydown:Se[8]||(Se[8]=tt(Oe=>f(_)(),["esc"])),role:"dialog"},{default:$(()=>[C(gd,Me({ref_key:"datePicker",ref:i},f(Ee),{modelValue:f(O),"onUpdate:modelValue":Se[0]||(Se[0]=Oe=>mt(O)?O.value=Oe:null),"onClick:day":Se[1]||(Se[1]=Oe=>_e.$emit("click:day",Oe)),"onClick:month":Se[2]||(Se[2]=Oe=>_e.$emit("click:month",Oe)),"onClick:year":Se[3]||(Se[3]=Oe=>_e.$emit("click:year",Oe)),"onHover:day":Se[4]||(Se[4]=Oe=>_e.$emit("hover:day",Oe)),"onHover:month":Se[5]||(Se[5]=Oe=>_e.$emit("hover:month",Oe)),"onHover:year":Se[6]||(Se[6]=Oe=>_e.$emit("hover:year",Oe)),"onUpdate:view":Se[7]||(Se[7]=Oe=>{_e.$nextTick(()=>d()),_e.$emit("update:view",Oe)})}),Dr({_:2},[Be(_e.$slots,(Oe,je)=>({name:je,fn:$(qe=>[se(_e.$slots,je,nt(dt(qe)))])}))]),1040,["modelValue"])]),_:3})]),_:3},16,["modelValue","class","style"]))}}),XL=Je(QL),JL=Je(gd),ZL=["aria-orientation"],eV={key:0,class:"va-divider__text"},lc="va-divider",tV=$e({name:"VaDivider",__name:"VaDivider",props:{...yt,vertical:{type:Boolean,default:!1},dashed:{type:Boolean,default:!1},inset:{type:Boolean,default:!1},orientation:{type:String,default:"center",validator:e=>["left","right","center"].includes(e)},color:{type:String,default:"backgroundBorder"}},setup(e){const t=e,{getColor:n}=Pt(),o=w(()=>n(t.color)),r=pa(),s=w(()=>!!r.default),i=w(()=>({[`${lc}--vertical`]:t.vertical,[`${lc}--inset`]:t.inset,[`${lc}--${t.orientation}`]:t.orientation&&!t.vertical,[`${lc}--dashed`]:t.dashed}));return(l,u)=>(v(),x("div",{role:"separator",class:xe(["va-divider",i.value]),"aria-orientation":e.vertical?"vertical":"horizontal","aria-hidden":!0,style:ze(`--va-color-computed: ${String(o.value)}`)},[s.value&&!e.vertical?(v(),x("div",eV,[se(l.$slots,"default")])):D("",!0)],14,ZL))}}),nV=Je(tV),Mu=Symbol("VaFileUpload"),oV=$e({name:"VaList",__name:"VaList",props:{...yt,fit:{type:Boolean,default:!1}},setup(e){const t=e,n=w(()=>({"va-list--fit":t.fit}));return(o,r)=>(v(),x("div",{class:xe(["va-list",n.value]),role:"list"},[se(o.$slots,"default")],2))}}),rV=$e({name:"VaListItem",__name:"VaListItem",props:{...dg,...yt,tag:{type:String,default:"div"},disabled:{type:Boolean,default:!1}},emits:["focus","click"],setup(e,{emit:t}){const n=e,o=w(()=>n.disabled?-1:0),r=yo("va-list-item",()=>({...so(n,["disabled"])})),{tagComputed:s,hrefComputed:i}=nf(n);return(l,u)=>
110(v(),X($r(f(s)),{class:xe(["va-list-item",f(r)]),role:"listitem",href:f(i),target:l.target,to:l.to,replace:l.replace,exact:l.exact,"active-class":l.activeClass,"exact-active-class":l.exactActiveClass,tabindex:o.value},{default:$(()=>[a("div",{class:"va-list-item__inner",onClick:u[0]||(u[0]=c=>l.$emit("click")),onFocus:u[1]||(u[1]=c=>l.$emit("focus"))},[se(l.$slots,"default")],32)]),_:3},8,["href","target","to","replace","exact","active-class","exact-active-class","class","tabindex"]))}}),aV=$e({name:"VaListLabel",__name:"VaListLabel",props:{...yt,color:{type:String,default:"primary"}},setup(e){const t=e,{getColor:n}=Pt(),o=w(()=>({color:n(t.color)}));return(r,s)=>(v(),x("div",{class:"va-list-label",style:ze(o.value)},[se(r.$slots,"default")],4))}}),sV=$e({name:"VaListItemLabel",__name:"VaListItemLabel",props:{...yt,caption:{type:Boolean,default:!1},lines:Un({default:1})},setup(e){const t=e,n=Kt("lines"),o=w(()=>({"va-list-item-label--caption":t.caption})),r=w(()=>({"-webkit-line-clamp":n.value}));return(s,i)=>(v(),x("div",{class:xe(["va-list-item-label",o.value]),style:ze(r.value)},[se(s.$slots,"default")],6))}}),iV=$e({name:"VaListItemSection",__name:"VaListItemSection",props:{...yt,icon:{type:Boolean,default:!1},avatar:{type:Boolean,default:!1}},setup(e){const t=e,n=w(()=>({"va-list-item-section--main":!t.icon&&!t.avatar,"va-list-item-section--icon":t.icon,"va-list-item-section--avatar":t.avatar}));return(o,r)=>(v(),x("div",{class:xe(["va-list-item-section",n.value])},[se(o.$slots,"default")],2))}}),lV=$e({name:"VaListSeparator",__name:"VaListSeparator",props:{...yt,fit:{type:Boolean,default:!1},spaced:{type:Boolean,default:!1}},setup(e){const t=e,n=w(()=>({"va-list-separator--offset":!t.fit,"va-list-separator--spaced":t.spaced}));return(o,r)=>(v(),x("div",{"aria-hidden":"true",class:xe(["va-list-separator",n.value])},null,2))}}),Wg=Je(rV);Je(aV);Je(sV);const su=Je(iV);Je(lV);const uV=Je(oV),cV={key:0,class:"va-progress-bar__info"},dV=$e({name:"VaProgressBar",__name:"VaProgressBar",props:{...yt,modelValue:{type:[Number,String],default:0},indeterminate:{type:Boolean,default:!1},color:{type:String,default:"primary"},size:{type:[Number,String],default:"medium"},buffer:{type:[Number,String],default:100},rounded:{type:Boolean,default:!0},reverse:{type:Boolean,default:!1},contentInside:{type:Boolean,default:!1},showPercent:{type:Boolean,default:!1},max:{type:[Number,String],default:100},ariaLabel:ct("$t:progressState")},setup(e){const t=e,{getColor:n,getHoverColor:o}=Pt(),r=w(()=>n(t.color)),s=vo(r),i=w(()=>typeof t.size=="string"&&["small","medium","large"].includes(t.size)),l=()=>{if(typeof t.size=="number")return`${t.size}px`;if(!i.value)return t.size},{tp:u}=Mn(),c=w(()=>100/Number(t.max)*Number(t.modelValue)),d=w(()=>({"va-progress-bar--square":!t.rounded,[`va-progress-bar--${t.size}`]:i.value})),p=w(()=>({"--va-progress-bar-color":r.value,"--va-progress-bar-background-color":o(r.value)})),m=w(()=>({height:l()})),h=w(()=>({width:`${t.indeterminate?100:cd(Number(t.buffer),0,100)}%`,color:s.value,[t.reverse?"right":"left"]:0})),g=w(()=>({marginLeft:t.reverse?"auto":void 0,width:`${cd(c.value,0,100)}%`})),b=w(()=>({animationDirection:t.reverse?"reverse":"normal"})),y=w(()=>({role:"progressbar","aria-label":u(t.ariaLabel),"aria-valuenow":t.indeterminate?void 0:t.modelValue}));return(_,A)=>(v(),x("div",Me({class:["va-progress-bar",d.value],style:p.value},y.value),[_.$props.contentInside?D("",!0):(v(),x("div",cV,[se(_.$slots,"default",nt(dt({value:_.$props.modelValue})),()=>[_.$props.showPercent?(v(),x(de,{key:0},[T(V(_.$props.modelValue)+"% ",1)],64)):D("",!0)])])),a("div",{class:"va-progress-bar__wrapper",style:ze(m.value)},[a("div",{class:"va-progress-bar__buffer",style:ze(h.value)},[_.$props.contentInside?se(_.$slots,"default",nt(Me({key:0},{value:_.$props.modelValue})),()=>[_.$props.showPercent?(v(),x(de,{key:0},[T(V(_.$props.modelValue)+"% ",1)],64)):D("",!0)]):D("",!0)],4),e.indeterminate?(v(),x(de,{key:0},[a("div",{class:"va-progress-bar__progress--indeterminate-start",style:ze(b.value)},null,4),a("div",{class:"va-progress-bar__progress--indeterminate-end",style:ze(b.value)},null,4)],64)):(v(),x("div",{key:1,class:"va-progress-bar__progress",style:ze(g.value)},null,4))],4)],16))}}),qg=Je(dV),cf=(e,t)=>
110{const n=Dn(e);if(!n)throw new Error(t);return n},fV={class:"va-file-upload-undo__text"},pV="The VaFileUploadUndo component should be used in the context of VaFileUpload component",mV=$e({name:"VaFileUploadUndo",__name:"VaFileUploadUndo",props:{vertical:{type:Boolean,default:!1}},emits:["recover"],setup(e,{emit:t}){const n=e,o=M(100),{undoDuration:r,undoButtonText:s,deletedFileMessage:i}=cf(Mu,pV),l=yo("va-file-upload-undo",()=>({vertical:n.vertical})),u=w(()=>`${r.value??0}ms`);return rt(()=>{const c=setTimeout(()=>{o.value=0,clearTimeout(c)},0)}),(c,d)=>(v(),x(de,null,[C(f(qg),{"model-value":o.value,rounded:!1,class:"va-file-upload-undo-progress-bar",style:ze(`--va-undo-duration-style: ${String(u.value)}`)},null,8,["model-value","style"]),a("div",{class:xe(["va-file-upload-undo",f(l)]),style:ze(`--va-undo-duration-style: ${String(u.value)}`)},[a("span",fV,V(f(i)),1),C(f(bt),{class:"va-file-upload-undo__button","aria-label":f(s),size:"small",outline:"",onClick:d[0]||(d[0]=p=>c.$emit("recover"))},{default:$(()=>[T(V(f(s)),1)]),_:1},8,["aria-label"])],6)],64))}}),fS=Je(mV),hV={class:"va-file-upload-list-item__content"},gV={key:0,class:"va-file-upload-list-item__name"},vV={class:"va-file-upload-list-item__size"},yV="The VaFileUploadListItem component should be used in the context of VaFileUpload component",bV=$e({name:"VaFileUploadListItem",__name:"VaFileUploadListItem",props:{file:{type:Object,default:null},color:{type:String,default:"success"},ariaRemoveFileLabel:ct("$t:removeFile")},emits:["remove"],setup(e,{emit:t}){const{tp:n}=Mn(),o=t,{undo:r,disabled:s,undoDuration:i}=cf(Mu,yV),l=M(!1),u=()=>{r.value?(l.value=!0,setTimeout(()=>{l.value&&(o("remove"),l.value=!1)},i.value??0)):(o("remove"),l.value=!1)},c=()=>{l.value=!1},d=yo("va-file-upload-list-item",()=>({undo:l.value}));return(p,m)=>(v(),X(f(Wg),{class:xe(["va-file-upload-list-item",f(d)]),tabindex:"-1",disabled:f(s),"aria-disabled":f(s)},{default:$(()=>[l.value&&f(r)?(v(),X(f(su),{key:0},{default:$(()=>[C(f(fS),{onRecover:c})]),_:1})):(v(),X(f(su),{key:1},{default:$(()=>[a("div",hV,[e.file&&e.file.name?(v(),x("div",gV,V(e.file&&e.file.name),1)):D("",!0),a("div",vV,V(e.file&&e.file.size),1),f(s)?D("",!0):(v(),X(f(bt),{key:1,flat:"",color:"danger",icon:"clear",class:"va-file-upload-list-item__delete","aria-label":f(n)(p.$props.ariaRemoveFileLabel),onClick:He(u,["stop"]),onKeydown:[tt(He(u,["stop"]),["enter"]),tt(He(u,["stop"]),["space"])]},null,8,["aria-label","onKeydown"]))])]),_:1}))]),_:1},8,["class","disabled","aria-disabled"]))}}),pS=Je(bV),wV=["src","alt"],_V={class:"va-file-upload-gallery-item__overlay"},xV=["title"],SV="The VaFileUploadGalleryItem component should be used in the context of VaFileUpload component",CV=$e({name:"VaFileUploadGalleryItem",__name:"VaFileUploadGalleryItem",props:{file:{type:Object,default:null},color:{type:String,default:"success"},ariaRemoveFileLabel:ct("$t:removeFile")},emits:["remove"],setup(e,{emit:t}){const n=e,o=t,{undo:r,disabled:s,undoDuration:i}=cf(Mu,SV),l=M(),u=pg(l),c=M(""),d=M(!1),p=w(()=>({backgroundColor:Js(n.color,.7)})),m=yo("va-file-upload-gallery-item",()=>({notImage:!c.value,focused:u.value,undo:d.value})),h=()=>{r.value?(d.value=!0,setTimeout(()=>{d.value&&(o("remove"),d.value=!1)},i.value??0)):(o("remove"),d.value=!1)},g=()=>{d.value=!1},b=()=>{if(!(!n.file.name||!n.file.image)){if(n.file.image.url)c.value=n.file.image.url;else if(n.file.image instanceof File){const A=new FileReader;A.readAsDataURL(n.file.image),A.onload=k=>{var E,I;((E=k.target)==null?void 0:E.result).includes("image")&&(c.value=(I=k.target)==null?void 0:I.result)}}}};rt(b),we(()=>n.file,b);const{tp:y}=Mn(),_=vo(go(n,"color"));return(A,k)=>(v(),X(f(Wg),{class:xe(["va-file-upload-gallery-item",f(m)]),tabindex:"-1",disabled:f(s),"aria-disabled":f(s),ref_key:"listItem",ref:l},{default:$(()=>[d.value&&f(r)?(v(),X(f(su),{key:0},{default:$(()=>[C(f(fS),{vertical:"",onRecover:g})]),_:1})):(v(),X(f(su),{key:1},{default:$(()=>[c.value?(v(),x("img",{key:0,src:c.value,alt:e.file.name||"",class:"va-file-upload-gallery-item__image"},null,8,wV)):D("",!0),a("div",_V,[a("div",{class:"va-file-upload-gallery-item__overlay-background",style:ze(p.value)},null,4),e.file&&e.file.name?(v(),x("div",{key:0,class:"va-file-upload-gallery-item__name",title:e.file.name,style:ze({color:f(_)})},V(e.file.name),13,xV)):D("",!0),f(s)?D("",!0):(v(),X(f(bt),{key:1,flat:"",color:"danger",icon:"va-delete",class:"va-file-upload-gallery-item__delete","aria-label":f(y)(A.$props.ariaRemoveFileLabel),onClick:h},null,8,["aria-label"]))])]),_:1}))]),_:1},8,["class","disabled","aria-disabled"]))}}),mS=Je(CV),kV={class:"va-file-upload-single-item__name"},$V="The VaFileUploadSingleItem component should be used in the context of VaFileUpload component",AV=$e({name:"VaFileUploadSingleItem",__name:"VaFileUploadSingleItem",props:{file:{type:Object,default:null},ariaRemoveFileLabel:ct("$t:removeFile")},emits:["remove"],setup(e,{emit:t}){const{tp:n}=Mn(),{disabled:o}=cf(Mu,$V);return(r,s)=>(v(),X(f(Wg),{disabled:f(o),"aria-disabled":f(o),class:"va-file-upload-single-item",tabindex:"-1"},{default:$(()=>[C(f(su),{class:"va-file-upload-single-item__content"},{default:$(()=>[a("div",kV,V(e.file&&e.file.name),1),f(o)?D("",!0):(v(),X(f(bt),{key:0,class:"va-file-upload-single-item__button","aria-label":f(n)(r.$props.ariaRemoveFileLabel),size:"small",color:"danger",preset:"secondary",onClick:s[0]||(s[0]=i=>r.$emit("remove"))},{default:$(()=>s[1]||(s[1]=[T(" Delete ")])),_:1},8,["aria-label"]))]),_:1})]),_:1},8,["disabled","aria-disabled"]))}}),hS=Je(AV),_1=ln(mS),x1=ln(pS),S1=ln(hS),TV=$e({name:"VaFileUploadList",__name:"VaFileUploadList",props:{type:{type:String,default:""},files:{type:Array,default:null},..._1,...x1,...S1},emits:["remove","removeSingle"],setup(e,{emit:t}){const n=e,o=w(()=>n.files.map(r)),r=d=>({name:d.name||d.url||"",size:s(d.size),date:i(new Date),image:d}),s=d=>
110{if(d===0)return"0 Bytes";if(!d)return"";const p=1024,m=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],h=Math.floor(Math.log(d)/Math.log(p));return parseFloat((d/Math.pow(p,h)).toFixed(2))+" "+m[h]},i=(d=new Date)=>d.toLocaleDateString("en-US",{hour:"2-digit",minute:"2-digit",month:"short",day:"numeric",year:"numeric"}),l=Pn(_1),u=Pn(x1),c=Pn(S1);return(d,p)=>(v(),X(f(uV),{class:xe(["va-file-upload-list",`va-file-upload-list--${e.type}`]),role:e.type!=="single"?"list":void 0},{default:$(()=>[e.type==="list"?(v(!0),x(de,{key:0},Be(o.value,(m,h)=>(v(),X(f(pS),Me({key:m.name,ref_for:!0},f(u),{file:m,role:"listitem",onRemove:g=>d.$emit("remove",h)}),null,16,["file","onRemove"]))),128)):D("",!0),e.type==="gallery"?(v(!0),x(de,{key:1},Be(o.value,(m,h)=>(v(),X(f(mS),Me({ref_for:!0},f(l),{key:m.name,file:m,role:"listitem",onRemove:g=>d.$emit("remove",h)}),null,16,["file","onRemove"]))),128)):D("",!0),e.type==="single"&&o.value.length?(v(),X(f(hS),Me({key:2},f(c),{file:o.value[o.value.length-1],onRemove:p[0]||(p[0]=m=>d.$emit("removeSingle"))}),null,16,["file"])):D("",!0)]),_:1},8,["role","class"]))}}),gS=Je(TV),EV={class:"va-file-upload__field"},PV={key:0,class:"va-file-upload__field__text"},OV=["accept","multiple","disabled"],C1=ln(gS),IV=$e({name:"VaFileUpload",__name:"VaFileUpload",props:{...yt,...C1,fileTypes:{type:String,default:""},dropzone:{type:Boolean,default:!1},hideFileList:{type:Boolean,default:!1},color:{type:String,default:"primary"},disabled:{type:Boolean,default:!1},undo:{type:Boolean,default:!1},undoDuration:Un({default:3e3}),undoButtonText:ct("$t:undo"),dropZoneText:ct("$t:dropzone"),uploadButtonText:ct("$t:uploadFile"),deletedFileMessage:ct("$t:fileDeleted"),fileIncorrectMessage:ct("$t:fileTypeIncorrect"),modelValue:{type:[Object,Array],default:()=>[]},type:{type:String,default:"list",validator:e=>["list","gallery","single"].includes(e)}},emits:["update:modelValue","file-removed","file-added"],setup(e,{emit:t}){const n=e,o=t,r=At(),s=M(!1),i=M(!1),{getColor:l,shiftHSLAColor:u}=Pt(),c=w(()=>l(n.color)),d=w(()=>({backgroundColor:n.dropzone?u(c.value,{a:i.value?-.82:-.92}):"transparent"})),p=yo("va-file-upload",()=>({dropzone:n.dropzone,disabled:n.disabled})),m=w({get(){return Array.isArray(n.modelValue)?n.modelValue:[n.modelValue]},set(I){n.type==="single"?o("update:modelValue",I[0]):o("update:modelValue",I)}}),h=I=>I.filter(F=>{const P=F.name||F.url;if(!P)return!1;if(F.url||["audio/*","video/*","image/*"].find(Q=>n.fileTypes.includes(Q)))return!0;const j=P.substring(P.lastIndexOf(".")+1).toLowerCase(),G=n.fileTypes.includes(j);return G||(s.value=!0),G}),g=I=>{var F,P;const B=((F=I.target)==null?void 0:F.files)||((P=I.dataTransfer)==null?void 0:P.files);if(!B)return;const O=n.fileTypes?h(Array.from(B)):B;m.value=n.type==="single"?O:[...m.value,...O],o("file-added",O)},b=I=>{g(I),r.value&&(r.value.value="")},y=I=>{if(I in m.value){const F=m.value[I];m.value=m.value.filter((P,B)=>B!==I),o("file-removed",F)}},_=()=>{if(m.value.length>0){const I=m.value[0];m.value=[],o("file-removed",I)}},A=()=>{r.value&&r.value.click()};rt(()=>{if(Array.isArray(m.value)){const I=h(m.value);I.length!==m.value.length&&(m.value=I)}});const{tp:k}=Mn();cr(Mu,{undo:go(n,"undo"),disabled:go(n,"disabled"),undoDuration:Kt("undoDuration"),undoButtonText:w(()=>k(n.undoButtonText)),deletedFileMessage:w(()=>k(n.deletedFileMessage))});const E=Pn(C1);return(I,F)=>(v(),x("div",{class:xe(["va-file-upload",f(p)]),style:ze(d.value)},[se(I.$slots,"default",{},()=>[a("div",EV,[e.dropzone?(v(),x("div",PV,V(f(k)(e.dropZoneText)),1)):D("",!0),C(f(bt),{class:"va-file-upload__field__button",disabled:e.disabled,"aria-disabled":e.disabled,color:c.value,style:ze({"pointer-events":i.value?"none":void 0}),onChange:b,onClick:A},{default:$(()=>[T(V(f(k)(e.uploadButtonText)),1)]),_:1},8,["disabled","aria-disabled","color","style"])])]),a("input",{ref_key:"fileInputRef",ref:r,type:"file",class:"va-file-upload__field__input",tabindex:-1,"aria-hidden":"true",accept:e.fileTypes,multiple:e.type!=="single",disabled:e.disabled,onChange:b,onDragenter:F[0]||(F[0]=P=>i.value=!0),onDragleave:F[1]||(F[1]=P=>i.value=!1)},null,40,OV),m.value.length&&!I.$props.hideFileList?(v(),X(f(gS),Me({key:0},f(E),{type:e.type,files:m.value,color:c.value,onRemove:y,onRemoveSingle:_}),null,16,["type","files","color"])):D("",!0),C(f(Li),{modelValue:s.value,"onUpdate:modelValue":F[2]||(F[2]=P=>s.value=P),"hide-default-actions":"",message:f(k)(e.fileIncorrectMessage)},null,8,["modelValue","message"])],6))}}),DV=Je(IV),MV=e=>{const t=M(new Map);return{immediate:w(()=>e.immediate),fields:w(()=>[...t.value.values()]),forceHideErrors:w(()=>e.hideErrors),forceHideErrorMessages:w(()=>e.hideErrorMessages),forceHideLoading:w(()=>e.hideLoading),forceDirty:M(!1),registerField:(n,o)=>{t.value.set(n,o)},unregisterField:n=>{t.value.delete(n)}}},RV=e=>{const t=MV(e);cr(n2,t);const{fields:n,forceDirty:o}=t,r=w(()=>n.value.map(k=>
110f(k.name)).filter(Boolean)),s=w(()=>n.value.reduce((k,E)=>(f(E.name)&&(k[f(E.name)]=E),k),{})),i=w(()=>n.value.reduce((k,E)=>(f(E.name)&&(k[f(E.name)]=f(E.value)),k),{})),l=w(()=>n.value.every(k=>f(k.isValid))),u=w(()=>n.value.some(k=>f(k.isLoading))),c=w(()=>n.value.map(k=>f(k.errorMessages)).flat()),d=w(()=>n.value.reduce((k,E)=>(f(E.name)&&(k[f(E.name)]=f(E.errorMessages)),k),{})),p=w({get(){return n.value.some(k=>f(k.isDirty))||o.value},set(k){o.value=k,n.value.forEach(E=>{E.isDirty=k})}}),m=w({get(){return n.value.some(k=>k.isTouched)},set(k){n.value.forEach(E=>{E.isTouched=k})}}),h=()=>(p.value=!0,n.value.reduce((k,E)=>E.validate()&&k,!0)),g=()=>(p.value=!0,Promise.all(n.value.map(k=>k.validateAsync())).then(k=>k.every(Boolean))),b=()=>{p.value=!1,n.value.forEach(k=>k.reset())},y=()=>{p.value=!1,n.value.forEach(k=>k.resetValidation())},_=()=>{var k;(k=n.value[0])==null||k.focus()},A=()=>{const k=n.value.find(E=>!E.isValid);k==null||k.focus()};return ag({name:go(e,"name"),isValid:l,isLoading:u,isDirty:p,isTouched:m,validate:h,validateAsync:g,reset:b,resetValidation:y,focus:_,errorMessages:c}),{immediate:w(()=>e.immediate),isDirty:p,isTouched:m,formData:i,fields:n,fieldsNamed:s,fieldNames:r,isValid:l,isLoading:u,errorMessages:c,errorMessagesNamed:d,validate:h,validateAsync:g,reset:b,resetValidation:y,focus:_,focusInvalidField:A}},rr={stateful:!0},LV={VaInput:rr,VaSelect:rr,VaCheckbox:rr,VaRadio:rr,VaDatePicker:rr,VaTimePicker:rr,VaColorPicker:rr,VaSlider:rr,VaSwitch:rr,VaFileUpload:rr,VaRating:rr,VaDateInput:rr,VaTimeInput:rr},VV=$e({name:"VaForm",__name:"VaForm",props:{...yt,autofocus:{type:Boolean,default:!1},immediate:{type:Boolean,default:!1},tag:{type:String,default:"form"},trigger:{type:String,default:"blur"},modelValue:{type:Boolean,default:!0},hideErrors:{type:Boolean,default:!1},hideErrorMessages:{type:Boolean,default:!1},hideLoading:{type:Boolean,default:!1},stateful:{type:Boolean,default:!1},name:{type:String,default:void 0}},emits:["update:modelValue"],setup(e,{expose:t,emit:n}){const o=e,r=n,s=RV(o);we(s.isValid,P=>{r("update:modelValue",P)}),we(()=>o.autofocus,P=>{P&&s.focus()}),rt(()=>{o.autofocus&&s.focus()}),we(s.fields,P=>
110{P.length&&o.immediate&&s.validate()},{immediate:!0}),s8(w(()=>o.stateful?LV:{}));const{immediate:i,isDirty:l,isTouched:u,formData:c,fields:d,fieldsNamed:p,fieldNames:m,isValid:h,isLoading:g,errorMessages:b,errorMessagesNamed:y,validate:_,validateAsync:A,reset:k,resetValidation:E,focus:I,focusInvalidField:F}=s;return t({immediate:i,isDirty:l,formData:c,fields:d,fieldsNamed:p,fieldNames:m,isValid:h,isTouched:u,isLoading:g,errorMessages:b,errorMessagesNamed:y,validate:_,validateAsync:A,reset:k,resetValidation:E,focus:I,focusInvalidField:F}),(P,B)=>(v(),X($r(e.tag),Me({class:"va-form",onSubmit:B[0]||(B[0]=O=>P.$attrs.action===void 0&&O.preventDefault())},P.$attrs),{default:$(()=>[se(P.$slots,"default",nt(dt({isValid:f(h),isDirty:f(l),isTouched:f(u),isLoading:f(g),errorMessages:f(b),errorMessagesNamed:f(y),formData:f(c),fields:f(d),fieldsNamed:f(p),fieldNames:f(m),validate:f(_),validateAsync:f(A),reset:f(k),resetValidation:f(E),focus:f(I),focusInvalidField:f(F)})))]),_:3},16))}}),BV=Je(VV),FV={top:[0,1,2],left:[0,3,6],right:[2,5,8],bottom:[6,7,8]},NV=["left","right","top","bottom"],zV=(e,t)=>{const n=()=>[...NV].filter(r=>t[r]).sort((r,s)=>(e[r].order??0)-(e[s].order??0)),o=(r,s,i)=>{s.forEach(l=>{r[l]=i})};return w(()=>{const r=n(),s=[".",".",".",".",".",".",".",".","."].map(()=>"content");return r.forEach(i=>{o(s,FV[i],i)}),['"'+s.slice(0,3).join(" ")+'"','"'+s.slice(3,6).join(" ")+'"','"'+s.slice(6,9).join(" ")+'"'].join(" ")})},jV={top:{type:Object,default:()=>({order:2})},right:{type:Object,default:()=>({order:1})},left:{type:Object,default:()=>({order:1})},bottom:{type:Object,default:()=>({order:2})}},vS="VaLayout",UV=e=>{const t=M({top:null,right:null,bottom:null,left:null}),n=w(()=>{const{top:r,right:s,bottom:i,left:l}=t.value,{top:u,right:c,bottom:d,left:p}=e;return{top:r&&!u.absolute?r.sizes.height:0,right:s&&!c.absolute?s.sizes.width:0,bottom:i&&!d.absolute?i.sizes.height:0,left:l&&!p.absolute?l.sizes.width:0}}),o=w(()=>({top:e.top.order||0,right:e.right.order||0,bottom:e.bottom.order||0,left:e.left.order||0}));return cr(vS,{items:t,paddings:n,orders:o}),{paddings:n,orders:o,items:t}},HV=(e,t)=>{const n=Dn(vS,null);if(!n)throw new Error("VaLayoutChild must be used inside VaLayout");return Po(()=>{t.value?n.items.value[e]={sizes:t.value}:n.items.value[e]=null}),Wn(()=>{n.items.value[e]=null}),{paddings:w(()=>Object.keys(n.paddings.value).reduce((o,r)=>(n.orders.value[r]>n.orders.value[e]&&(o[r]=n.paddings.value[r]),o),{}))}},WV={},qV={class:"va-layout__absolute-area-wrapper"};function GV(e,t){return v(),x("div",qV,[se(e.$slots,"default")])}const YV=Tg(WV,[["render",GV]]),KV=$e({name:"VaLayoutSizeKeeper",__name:"VaResizeObserver",emits:{resize:e=>!0},setup(e,{emit:t}){const n=t,o=M();return Ri(o,([r])=>{requestAnimationFrame(()=>n("resize",r.contentRect))}),(r,s)=>(v(),x("div",{class:"va-resize-observer",ref_key:"el",ref:o},[se(r.$slots,"default")],512))}}),k1=$e({name:"VaLayoutFixedWrapper",__name:"VaLayoutFixedWrapper",props:{area:{type:String,required:!0}},setup(e){const t=e,n=M(null),o=w(()=>t.area==="top"||t.area==="bottom"?"vertical":"horizontal"),r=l=>l?l+"px":"0px",s=w(()=>o.value==="vertical"?{width:`calc(100% - ${r(i.value.left)} - ${r(i.value.right)})`}:{height:`calc(100% - ${r(i.value.top)} - ${r(i.value.bottom)})`}),{paddings:i}=HV(t.area,n);return(l,u)=>(v(),x("div",{class:"va-layout-fixed-wrapper",style:ze([{height:n.value&&o.value==="vertical"?n.value.height+"px":"auto",width:n.value&&o.value==="horizontal"?n.value.width+"px":"auto"}])},[C(KV,{class:xe(["va-layout-fixed-wrapper__content",`va-layout-fixed-wrapper__content--${e.area}`]),style:ze(n.value?s.value:{position:"relative"}),onResize:u[0]||(u[0]=c=>n.value=c)},{default:$(()=>[se(l.$slots,"default")]),_:3},8,["class","style"])],4))}}),QV=$e({name:"VaLayoutArea",__name:"VaLayoutArea",props:{area:{type:String,required:!0},config:{type:Object,required:!0}},emits:["overlay-click"],setup(e,{emit:t}){const n=e,o=w(()=>n.config.absolute||!1),r=w(()=>n.config.fixed||!1),s=w(()=>n.config.overlay||!1),i=w(()=>(n.config.order||0)+1),l=w(()=>`va-layout-area va-layout__area va-layout__area--${n.area}`);return(u,c)=>(v(),x(de,null,[o.value?(v(),X(YV,{key:0,style:ze(`--va-props-area: ${String(u.$props.area)};--va-z-index: ${String(i.value)};--va-z-index-1: ${String(i.value-1)}`)},{default:$(()=>[r.value?(v(),X(k1,{key:0,area:e.area,class:xe(l.value)},{default:$(()=>[se(u.$slots,"default")]),_:3},8,["area","class"])):(v(),x("div",{key:1,class:xe(l.value)},[se(u.$slots,"default")],2))]),_:3},8,["style"])):r.value?(v(),X(k1,{key:1,area:e.area,class:xe(l.value),style:ze(`--va-props-area: ${String(u.$props.area)};--va-z-index: ${String(i.value)};--va-z-index-1: ${String(i.value-1)}`)},{default:$(()=>[se(u.$slots,"default")]),_:3},8,["area","class","style"])):(v(),x("div",{key:2,class:xe(l.value),style:ze(`--va-props-area: ${String(u.$props.area)};--va-z-index: ${String(i.value)};--va-z-index-1: ${String(i.value-1)}`)},[se(u.$slots,"default")],6)),C(Ld,{style:ze(`--va-props-area: ${String(u.$props.area)};--va-z-index: ${String(i.value)};--va-z-index-1: ${String(i.value-1)}`)},{default:$(()=>[s.value?(v(),x("div",{key:0,class:xe(["va-layout-area__overlay",{"va-layout-area__overlay--fixed":r.value}]),onClick:c[0]||(c[0]=d=>u.$emit("overlay-click"))},null,2)):D("",!0)]),_:1},8,["style"])],64))}}),XV={class:"va-layout__area va-layout__area--content"},$1=["top","left","right","bottom"],JV=$e({name:"VaLayout",__name:"VaLayout",props:{...jV,allowBodyScrollOnOverlay:{type:Boolean,default:!1}},emits:["top-overlay-click","left-overlay-click","right-overlay-click","bottom-overlay-click"],setup(e,{emit:t}){const n=e,{paddings:o}=UV(n),r=w(()=>!n.allowBodyScrollOnOverlay&&$1.some(d=>{var p;return(p=n[d])==null?void 0:p.overlay})),s=ei();Po(()=>{var d;const p=(d=s.value)==null?void 0:d.body;p&&(r.value?p.style.overflow="hidden":p.style.overflow="")});const i=pa(),l=zV(n,i),u=w(()=>[i.top?"min-content":"0fr","1fr",i.bottom?"min-content":"1fr"].filter(
110Boolean).join(" ")),c=w(()=>[i.left?"min-content":"0fr","1fr",i.right?"min-content":"1fr"].filter(Boolean).join(" "));return(d,p)=>(v(),x("div",{class:"va-layout",style:ze(`--va-horizontal-template: ${String(c.value)};--va-vertical-template: ${String(u.value)};--va-template-area: ${String(f(l))};--va-paddings-top-px: ${f(o).top+"px"};--va-paddings-bottom-px: ${f(o).bottom+"px"};--va-paddings-left-px: ${f(o).left+"px"};--va-paddings-right-px: ${f(o).right+"px"}`)},[(v(),x(de,null,Be($1,m=>(v(),x(de,{key:m},[d.$slots[m]?(v(),X(QV,{key:0,area:m,config:d.$props[m]||{},onOverlayClick:h=>d.$emit(`${m}-overlay-click`)},{default:$(()=>[se(d.$slots,m)]),_:2},1032,["area","config","onOverlayClick"])):D("",!0)],64))),64)),a("div",XV,[se(d.$slots,"default",{},()=>[se(d.$slots,"content")])])],4))}}),ZV=Xd(JV),eB=["role"],tB=["value","checked","aria-checked","onChange"],nB=$e({name:"VaRadio",__name:"VaRadio",props:{...W2,...yt,...$g,modelValue:{type:[Boolean,Array,String,Object,Number],default:null},options:{type:Array,default:()=>[]},name:{type:String,default:""},label:{type:String,default:void 0},leftLabel:{type:Boolean,default:!1},color:{type:String,default:"primary"},option:{type:[Object,String,Number],default:void 0},vertical:{type:Boolean,default:!1}},emits:Dg,setup(e,{emit:t}){const n=e,o=t,{getColor:r}
110=Pt(),s={container:At(),input:At(),label:At()},{computedError:i,computedErrorMessages:l,onBlur:u,onFocus:c}=q2(n,o,s),{getText:d,getDisabled:p,getValue:m}=Ag(n),h=Y=>n.options.length>0?d(Y):n.label??d(Y),g=Y=>p(Y)||n.disabled,b=w(()=>n.options.length===0&&!n.option),y=Y=>b.value?n.modelValue:n.modelValue===m(Y),_=w(()=>b.value?[{}]:n.option?[n.option]:n.options),A=Y=>({"va-radio--left-label":n.leftLabel,"va-radio--selected":y(Y),"va-radio--readonly":n.readonly,"va-radio--disabled":n.disabled,"va-radio--indeterminate":n.indeterminate,"va-radio--error":i.value,"va-radio--single-option":b.value}),k=(Y,W)=>{var re;if(b.value){o("update:modelValue",((re=W==null?void 0:W.target)==null?void 0:re.checked)||!1);return}o("update:modelValue",Y)},E=w(()=>({color:i.value?r("danger"):""}));w(()=>{const Y={background:r(n.color),borderColor:r(n.color)};return i.value&&(Y.borderColor=r("danger")),Y});const I=w(()=>({backgroundColor:r(n.color)})),F=w(()=>({borderColor:i.value?r("danger"):r(n.color),backgroundColor:r(n.color)})),P=w(()=>({borderColor:i.value?r("danger"):r(n.color)})),B=Ur(),O=w(()=>n.name||B),j=Y=>{const W=g(Y);return{name:O.value,disabled:W,readonly:n.readonly,tabindex:W?-1:0}},G=w(()=>n.vertical?"column":"row"),Q=w(()=>{var Y;return((Y=n.options)==null?void 0:Y.length)>0?"radiogroup":""});return(Y,W)=>(v(),X(f(o2),{disabled:Y.disabled,success:Y.success,messages:Y.messages,error:f(i),"error-messages":f(l),"error-count":Y.errorCount,onBlur:f(u),style:ze(`--va-flex-direction: ${String(G.value)};--va-label-style-color: ${String(E.value.color)};--va-icon-computed-styles-border-color: ${String(P.value.borderColor)};--va-icon-dot-computed-styles-border-color: ${String(F.value.borderColor)};--va-icon-dot-computed-styles-background-color: ${String(F.value.backgroundColor)};--va-icon-background-computed-styles-background-color: ${String(I.value.backgroundColor)}`)},{default:$(({ariaAttributes:re})=>[a("div",Me({ref:"container",class:"va-radio",role:Q.value},re),[(v(!0),x(de,null,Be(_.value,(oe,ne)=>(v(),x("label",{key:ne,class:xe([A(oe),"va-radio__square"])},[a("input",Me({ref_for:!0,ref:"input",class:"va-radio__input",type:"radio",role:"radio",value:y(oe),checked:y(oe),"aria-checked":y(oe)},{...j(oe),...re},{onChange:z=>k(f(m)(oe),z),onFocus:W[0]||(W[0]=(...z)=>f(c)&&f(c)(...z)),onBlur:W[1]||(W[1]=(...z)=>f(u)&&f(u)(...z))}),null,16,tB),se(Y.$slots,"icon",Me({ref_for:!0},{value:y(oe),text:h(oe),disabled:g(oe),index:ne}),()=>[W[2]||(W[2]=a("span",{"aria-hidden":"true",class:"va-radio__icon"},[a("span",{class:"va-radio__icon__background"}),a("span",{class:"va-radio__icon__dot"})],-1))]),h(oe)||Y.$slots.default?(v(),x("div",{key:0,ref_for:!0,ref:"label",class:"va-radio__text"},[se(Y.$slots,"default",Me({ref_for:!0},{value:y(oe),text:h(oe),disabled:g(oe),index:ne}),()=>[T(V(h(oe)),1)])],512)):D("",!0)],2))),128))],16,eB)]),_:3},8,["disabled","success","messages","error","error-messages","error-count","onBlur","style"]))}}),Vm=Je(nB),oB={key:0,"aria-hidden":"true",class:"va-popover__icon"},rB={key:1},aB={key:0,class:"va-popover__title"},sB={key:1,class:"va-popover__body"},Tp=ln(ls,["closeOnClickOutside"]),iB=$e({name:"VaPopover",__name:"VaPopover",props:{...Tp,...yt,trigger:{...Tp.trigger,default:["hover","enter","space","arrow-down","arrow-up"]},color:{type:String,default:"#1b1a1f"},textColor:{type:String},icon:{type:String,default:""},title:{type:String,default:""},message:{type:String,default:""},autoHide:{type:Boolean,default:!0},offset:{type:[Array,Number],default:4},contentClass:{type:String,default:""}},setup(e){const t=e,n=Pn(Tp),{getColor:o,getBoxShadowColor:r}=Pt(),s=pa(),i=vo(w(()=>o(t.color))),l=w(()=>t.icon||s.icon),u=w(()=>t.title||s.title),c=w(()=>t.message||s.body),d=w(()=>u.value||c.value),p=w(()=>({boxShadow:`var(--va-popover-content-box-shadow) ${r(o(t.color))}`,backgroundColor:o(t.color),color:i.value}));return(m,h)=>(v(),X(f(ls),Me(f(n),{"model-value":m.modelValue,"close-on-click-outside":e.autoHide,offset:m.$props.offset,"content-class":m.$props.contentClass,class:"va-popover"}),{default:$(()=>
110[a("div",{style:ze(p.value),class:"va-popover__content",role:"tooltip"},[l.value?(v(),x("div",oB,[se(m.$slots,"icon",{},()=>[C(f(rn),{name:m.$props.icon,color:f(i)},null,8,["name","color"])])])):D("",!0),d.value?(v(),x("div",rB,[u.value?(v(),x("div",aB,[se(m.$slots,"title",{},()=>[T(V(m.$props.title),1)])])):D("",!0),c.value?(v(),x("div",sB,[se(m.$slots,"body",{},()=>[T(V(m.$props.message),1)])])):D("",!0)])):D("",!0)],4)]),anchor:$(()=>[se(m.$slots,"default")]),_:3},16,["model-value","close-on-click-outside","offset","content-class"]))}}),yS=Je(iB),lB=e=>e.offsetTop,uB=e=>e.offsetTop+e.offsetHeight,cB=e=>e.offsetTop+e.offsetHeight/2,dB=(e,t,n)=>{const o=t.offsetHeight,r=t.scrollTop,s=lB(e)-t.offsetTop,i=cB(e)-t.offsetTop,l=uB(e)-t.offsetTop;if(n==="start")return s;if(n==="end")return l-o;if(n==="center")return i-o/2;if(n==="any"){if(s-r<0)return s;if(l-r>o)return l-o}},fB=(e,t={scrollTarget:e.parentElement,verticalAlignment:"any",smooth:!1})=>{const n=t.scrollTarget||e.parentElement,o=dB(e,n,t.verticalAlignment);o!==void 0&&n.scroll({top:o,behavior:t.smooth?"smooth":"auto"})},pB=["aria-selected"],mB={key:1,class:"va-select-option__highlighted"},hB=$e({name:"VaSelectOption",__name:"VaSelectOption",props:{...Xx,disabled:{type:Boolean,default:!1},option:{type:[Number,String,Boolean,Object],default:()=>({})},getText:{type:Function,required:!0},getTrackBy:{type:Function,required:!0},currentOption:{type:[String,Number,Boolean,Object],default:null},getSelectedState:{type:Function,required:!0},search:{type:String,default:""},highlightMatchedText:{type:Boolean,default:!0},inputFocused:{type:Boolean,default:!1},minSearchChars:{type:[Number,String],default:0}},setup(e,{expose:t}){const n=e,{getColor:o,getHoverColor:r}=Pt(),s=Kt("minSearchChars"),i=w(()=>Vs(n.option)?n.option.icon:void 0),l=w(()=>o(n.color)),u=w(()=>n.getText(n.option)),c=w(()=>{const g={start:u.value,searchedSubString:"",end:""};if(!u.value||!n.search||!n.highlightMatchedText||n.search.length<s.value)return g;const b=u.value.toLowerCase().indexOf(n.search.toLowerCase());if(b<0)return g;const y=u.value.slice(0,b),_=u.value.slice(b,b+n.search.length),A=u.value.slice(b+n.search.length);return{start:y,searchedSubString:_,end:A}}),d=w(()=>n.getSelectedState(n.option)),p=w(()=>typeof n.option=="string"?n.option===n.currentOption:n.getTrackBy(n.currentOption)===n.getTrackBy(n.option)),m=yo("va-select-option",()=>({selected:d.value})),h=w(()=>({color:d.value?o(n.color):"inherit",backgroundColor:p.value?r(o(n.color)):"transparent",cursor:n.disabled?"default":void 0,opacity:n.disabled?"var(--va-select-option-list-option-disabled-opacity)":void 0}));return t({isFocused:p,isSelected:d}),(g,b)=>(v(),x("div",{role:"option",class:xe(["va-select-option",f(m)]),style:ze(h.value),"aria-selected":d.value},[se(g.$slots,"option-content",{},()=>[i.value?(v(),X(f(rn),{key:0,size:"small",class:"va-select-option__icon",name:i.value},null,8,["name"])):D("",!0),T(" "+V(c.value.start)+" ",1),c.value.searchedSubString?(v(),x("span",mB,V(c.value.searchedSubString),1)):D("",!0),T(" "+V(c.value.end),1)]),d.value?(v(),X(f(rn),{key:0,class:"va-select-option__selected-icon",size:"small",name:"va-check",color:l.value},null,8,["color"])):D("",!0)],14,pB))}}),A1=Je(hB),gB=()=>{const e=At({}),t=n=>o=>{if(o)return e.value[n]=o,String(n)};return _w(()=>{e.value={}}),{itemRefs:e,setItemRef:t}},vB=["tabindex","onKeydown","aria-multiselectable"],yB={key:0,class:"va-select-option-list__group-name",role:"presentation"},bB={key:0,class:"va-select-option-list--empty"},wB=$e({name:"VaSelectOptionList",__name:"VaSelectOptionList",props:{...Xx,...yt,...$g,noOptionsText:{type:String,default:"Items not found"},getSelectedState:{type:Function,required:!0},multiple:{type:Boolean,default:!1},search:{type:String,default:""},tabindex:{type:[String,Number],default:0},hoveredOption:{type:[String,Number,Boolean,Object],default:null},virtualScroller:{type:Boolean,default:!0},highlightMatchedText:{type:Boolean,default:!0},minSearchChars:{type:[Number,String],default:0},autoSelectFirstOption:{type:Boolean,default:!1},selectedTopShown:{type:Boolean,default:!1},doShowAllOptions:{type:Boolean,default:!1},searchFn:{type:Function,default:void 0},delay:{type:[Number,String],default:0}},emits:["select-option","update:hoveredOption","no-previous-option-to-hover","scroll-bottom"],setup(e,{expose:t,emit:n}){const o=e,r=n,s=At(),i=()=>{var ye;
110(ye=s.value)==null||ye.focus({preventScroll:!0})},l=w(()=>{var ye;return((ye=s.value)==null?void 0:ye.clientHeight)??200}),u=()=>r("scroll-bottom"),c=ye=>{const ce=ye.target;ce&&ce.scrollTop+ce.clientHeight===ce.scrollHeight&&u()},d=M(""),p=w(()=>o.hoveredOption??null),m=(ye,ce)=>{r("update:hoveredOption",ye),d.value=ce},{getText:h,getGroupBy:g,getTrackBy:b,getDisabled:y}=Ag(o),_=Kt("minSearchChars"),A=w(()=>{var ye;const ce=o.getSelectedState,Re=(ye=o.options)==null?void 0:ye.find(Ce=>ce(Ce));return Re?h(Re):""}),k=w(()=>{var ye;return A.value.toLowerCase()===((ye=o.search)==null?void 0:ye.toLowerCase())}),E=w(()=>{if(o.doShowAllOptions&&k.value||!o.search||o.search.length<_.value)return o.options;if(o.searchFn)return o.options.filter(ce=>o.searchFn(o.search,ce));const ye=o.search.toUpperCase().trim();return o.options.filter(ce=>h(ce).toUpperCase().includes(ye))}),I=w(()=>o.groupBy?E.value.reduce((ye,ce)=>{const Re=g(ce);return Re?(ye[Re]||(ye[Re]=[]),ye[Re].push(ce)):ye._noGroup.push(ce),ye},{_noGroup:[]}):{_noGroup:E.value}),F=Ng(I,Kt("delay")),P=ye=>!la(ye),B=ye=>{ye===p.value||P(ye)&&y(ye)||m(ye??null,"mouse")},O=ye=>{m(ye??null,"keyboard")},j=()=>{const ye=oe.value&&typeof oe.value=="object"?{...oe.value}:oe.value;r("select-option"),o.selectedTopShown&&B(ye)},G=w(()=>Object.values(F.value).flat()),Q=w(()=>E.value.some(ye=>g(ye))?G.value:E.value),Y=w(()=>Q.value.findIndex(ye=>P(p.value)&&b(ye)===b(p.value))),W=w(()=>({...so(o,["getSelectedState","color","search","highlightMatchedText"]),minSearchChars:_.value,getText:h,getTrackBy:b})),re=(ye,ce=!1)=>{const Re=[...Q.value||[]],Ce=ce?Re.reverse():Re,De=ce?ye*-1-1:ye;return Ce.slice(De).find(ot=>!y(ot))},oe=w(()=>{const ye=Y.value-1,ce=Q.value[ye];if(P(ce)&&!(ye===0&&y(ce)))return re(Y.value-1,!0)}),ne=ye=>{B(ye),r("select-option")},z=ye=>{o.selectedTopShown||B(ye)},N=ye=>{o.selectedTopShown&&B(ye)},ae=()=>{if(!P(p.value)){O(re(0,!0));return}P(oe.value)?O(oe.value):r("no-previous-option-to-hover")},ee=()=>{if(!P(p.value)){K();return}const ye=Y.value+1,ce=Q.value[ye];P(ce)&&!(ye===Q.value.length-1&&y(ce))&&O(re(Y.value+1))},K=()=>O(re(0)),{itemRefs:Ie,setItemRef:fe}=gB(),ge=At(),Fe=ye=>{if(!P(ye))return;const ce=Vn(Ie.value[b(ye)]);ce&&fB(ce);const Re=ge.value;o.virtualScroller&&Re.virtualScrollTo(Y.value)};return we(()=>o.hoveredOption,ye=>{(!d.value||d.value==="keyboard")&&P(ye)&&Fe(ye)}),we(E,()=>{o.autoSelectFirstOption&&K()},{immediate:!0}),t({focusPreviousOption:ae,focusNextOption:ee,focusFirstOption:K,scrollToOption:Fe,focus:i}),(ye,ce)=>(v(),x("div",{ref_key:"root",ref:s,class:"va-select-option-list",tabindex:e.tabindex,onKeydown:[tt(He(ae,["stop","prevent"]),["up"]),tt(He(ae,["stop","prevent"]),["left"]),tt(He(ee,["stop","prevent"]),["down"]),tt(He(ee,["stop","prevent"]),["right"]),tt(He(j,["stop","prevent"]),["enter"]),tt(He(j,["stop","prevent"]),["space"])],onScrollPassive:c,role:"listbox","aria-multiselectable":ye.$props.multiple},[(v(!0),x(de,null,Be(f(F),(Re,Ce)=>(v(),x(de,{key:Ce},[Ce!=="_noGroup"?(v(),x("span",yB,V(Ce),1)):D("",!0),ye.$props.virtualScroller?(v(),X(f(zg),{key:1,ref_for:!0,ref_key:"virtualScrollerRef",ref:ge,items:Re,"track-by":f(b),"wrapper-size":l.value,"onScroll:bottom":u},{default:$(({item:De,index:ot})=>[se(ye.$slots,"default",Me({ref_for:!0},{option:De,index:ot,selectOption:(U=De)=>ne(U)}),()=>[C(f(A1),Me({option:De,"current-option":p.value,disabled:f(y)(De),ref_for:!0},W.value,{onClick:He(j,["stop"]),onMouseenter:U=>N(De),onMousemove:U=>z(De)}),null,16,["option","current-option","disabled","onMouseenter","onMousemove"])])]),_:2},1032,["items","track-by","wrapper-size"])):(v(!0),x(de,{key:2},Be(Re,(De,ot)=>se(ye.$slots,"default",Me({key:f(b)(De),ref_for:!0},{option:De,index:ot,selectOption:ne}),()=>[C(f(A1),Me({ref_for:!0,ref:f(fe)(f(b)(De)),"current-option":p.value,option:De,disabled:f(y)(De)},W.value,{onClick:He(j,["stop"]),onMouseenter:U=>N(De),onMousemove:U=>z(De)}),{"option-content":$(()=>[se(ye.$slots,"option-content",Me({ref_for:!0},{option:De,index:ot}))]),_:2},1040,["current-option","option","disabled","onMouseenter","onMousemove"])])),128))],64))),128)),E.value.length?D("",!0):(v(),x("div",bB,V(e.noOptionsText),1))],40,vB))}}),_B=Je(wB),xB={key:0,class:"va-select-content__placeholder"},SB=["placeholder"],CB={key:0,class:"va-select-content__option"},kB={key:1,class:"va-select-content__separator"},$B=["placeholder","disabled","readonly"],AB=$e({name:"VaSelectContent",__name:"VaSelectContent",props:{...Du,ariaAttributes:{type:Object},value:{type:Array,required:!0},valueString:{type:String},separator:{type:String,default:", "},placeholder:{type:String,default:""},tabindex:{type:[String,Number],default:0},hiddenSelectedOptionsAmount:{type:[Number,String],default:0},isAllOptionsShown:{type:Boolean,default:!1},autocomplete:{type:Boolean,default:!1},focused:{type:Boolean,default:!1},multiple:{type:Boolean,default:!1},getText:{type:Function,required:!0},autocompleteInputValue:{type:String,default:""}},emits:["toggle-hidden","autocomplete-input","focus-prev","focus-next","select-option","delete-last-selected"],setup(e,{emit:t}){const n=e,o=t,r=M(),s=w(()=>n.placeholder&&!n.valueString),i=()=>o("toggle-hidden"),{value:l,focused:u}=Qs(n),c=w({get:()=>n.autocompleteInputValue,set:b=>o("autocomplete-input",b)}),d=Kt("hiddenSelectedOptionsAmount");rt(()=>{n.multiple||n.autocomplete&&(c.value=n.valueString)}),we(u,b=>{var y,_;!n.autocomplete||!b||(c.value?(y=r.value)==null||y.setSelectionRange(0,c.value.length):(_=r.value)==null||_.focus())});const p=b=>{n.multiple&&l.value.length&&b.key==="Backspace"&&!c.value&&o("delete-last-selected")},m=b=>{var y;n.autocomplete&&((y=r.value)==null||y.focus(),b.stopPropagation())},h=b=>Vs(b)?b.icon:void 0,g=w(()=>n.multiple?l.value:l.value[0]);
110return(b,y)=>(v(),x("div",{class:"va-select-content",onClick:m},[s.value&&!b.$props.autocomplete?(v(),x("span",xB,[a("input",Me(e.ariaAttributes,{placeholder:b.$props.placeholder,readonly:""}),null,16,SB)])):n.autocomplete&&!n.multiple?D("",!0):se(b.$slots,"content",nt(Me({key:1},{value:g.value,valueString:b.$props.valueString,valueArray:b.$props.value,tabindex:b.$props.tabindex,ariaAttributes:e.ariaAttributes})),()=>[(v(!0),x(de,null,Be(b.$props.value,(_,A)=>(v(),x(de,{key:A},[_!==""?(v(),x("span",CB,[se(b.$slots,"option-content",Me({ref_for:!0},{option:_,index:A,selectOption:()=>{}}),()=>[h(_)?(v(),X(f(rn),{key:0,size:"small",class:"va-select-option__icon",name:h(_)},null,8,["name"])):D("",!0),T(" "+V(e.getText(_)),1)])])):D("",!0),A<b.$props.value.length-1?(v(),x("span",kB,V(b.$props.separator),1)):D("",!0)],64))),128))]),b.$props.autocomplete?ca((v(),x("input",Me({key:2},e.ariaAttributes,{"onUpdate:modelValue":y[0]||(y[0]=_=>c.value=_),class:"va-select-content__autocomplete",ref_key:"autocompleteInput",ref:r,autocomplete:"off","aria-autocomplete":"list",placeholder:b.$props.placeholder,disabled:b.$props.disabled,readonly:b.$props.readonly,onKeydown:[y[1]||(y[1]=tt(He(_=>b.$emit("focus-prev"),["stop","prevent"]),["up"])),y[2]||(y[2]=tt(He(_=>b.$emit("focus-next"),["stop","prevent"]),["down"])),y[3]||(y[3]=tt(He(_=>b.$emit("select-option"),["stop","prevent"]),["enter"])),p]}),null,16,$B)),[[Eh,c.value]]):D("",!0),se(b.$slots,"hiddenOptionsBadge",nt(dt({amount:e.hiddenSelectedOptionsAmount,isShown:b.$props.isAllOptionsShown,toggle:i})),()=>[f(d)&&!b.$props.isAllOptionsShown?(v(),X(f(nD),{key:0,class:"va-select-content__state-icon",color:"info",text:`+${f(d)}`,tabindex:b.$props.tabindex,onClick:He(i,["stop"])},null,8,["text","tabindex"])):D("",!0)]),se(b.$slots,"hideOptionsButton",nt(dt({isShown:b.$props.isAllOptionsShown,toggle:i})),()=>[b.$props.isAllOptionsShown?(v(),X(f(rn),{key:0,role:"button",class:"va-select-content__state-icon",size:"small",name:"reply",tabindex:b.$props.tabindex,onClick:He(i,["stop"])},null,8,["tabindex"])):D("",!0)])]))}}),TB=Je(AB),EB={maxVisibleOptions:{type:Number||String,default:0}},PB=(e,t)=>{const n=go(e,"modelValue"),o=M(!1),r=M([]),s=M([]),i=w(()=>s.value.length),l=w(()=>[...r.value,...s.value]),u=w(()=>!e.maxVisibleOptions||o.value?l.value:r.value);return we(n,()=>{if(!Array.isArray(n.value)){r.value=[t(n.value)],s.value=[];return}const d=n.value.filter(p=>!la(p)).map(t);e.maxVisibleOptions?(r.value=d.slice(0,e.maxVisibleOptions),s.value=d.slice(e.maxVisibleOptions)):(r.value=[...d],s.value=[])},{immediate:!0}),{toggleHiddenOptionsState:()=>o.value=!o.value,isAllOptionsShown:o,visibleSelectedOptions:u,hiddenSelectedOptionsAmount:i,allSelectedOptions:l}},OB={dropdownIcon:{type:[String,Object],default:()=>({open:"va-arrow-down",close:"va-arrow-up"}),validator:e=>typeof e=="string"?!0:Object.entries(e).every(([t,n])=>["open","close"].includes(t)&&typeof n=="string")}},IB=(e,t)=>{const n=w(()=>e.dropdownIcon?typeof e.dropdownIcon=="string"?e.dropdownIcon:t.value?e.dropdownIcon.close:e.dropdownIcon.open:""),{getHoverColor:o,getColor:r}=Pt(),s=w(()=>r("secondary")),i=w(()=>e.readonly?o(s.value):s.value);return{toggleIcon:n,toggleIconColor:i}},DB={separator:{type:String,default:", "}},MB=(e,t,n)=>w(()=>{var o;return(o=t.value)!=null&&o.length?t.value.map(n).join(e.separator)??"":""}),RB={autocomplete:{type:Boolean,default:!1}},LB=(e,t,n,o,r)=>{const s=l=>l!=null&&l.length?r(l.at(-1)):"";t.autocomplete&&!t.multiple&&(e.value=s(n.value)),we(n,(l,u)=>{if(!t.autocomplete)return;const c=s(l),d=s(u);c!==d&&(e.value=t.multiple?"":c,t.multiple||(o.value=!1))}),we(e,l=>{t.autocomplete&&l&&l!==s(n.value)&&(o.value=!0)});const i=()=>{e.value=t.multiple?"":s(n.value)};return we(o,(l,u)=>{t.autocomplete&&(!l||u)&&i()}),e},VB=()=>({popupId:`combobox-controls-${Ur()}`}),BB={maxSelections:{type:[Number,String],default:void 0}};function FB(e,t){return{exceedsMaxSelections:()=>t.value===void 0||isNaN(+t.value)?!1:e.value.length>=Number(t.value),addOption:r=>[...e.value,r]}}const uc=e=>typeof e=="object"&&typeof e.then=="function",NB=e=>{const t=M(!1);return we(e,n=>{n||(t.value=!0)}),t},zB=(e,t,n)=>{const o=Ea(t,"dirty",n);return e2(e,()=>{o.value=!0}),we(e,(r,s)=>{r===s&&(o.value=!0)},{deep:!0}),o},jB=e=>{let t=!0;return(...n)=>{if(!t)return;t=!1;const o=e(...n);return Ct(()=>{t=!0}),o}},T1=(e=[],t=null)=>(Mi(e)&&(e=[e]),e.map(n=>tu(n)?n(t):n)),UB=(e,t,n,o,r)=>{const s=pg(e),{reset:i}=r,l=Ea(n,"error",o),u=Ea(n,"errorMessages",o),c=Ea(n,"loading",o),d=NB(s),p=zB(t,n,o),m=w(()=>{var O;return{"aria-invalid":l.value,"aria-errormessage":typeof u.value=="string"?u.value:(O=u.value)==null?void 0:O.join(", ")}}),h=()=>{u.value=[],l.value=!1,p.value=!1,d.value=!1,c.value=!1},g=O=>{let j=!1,G=[];return O.forEach(Q=>{Mi(Q)?(G=[...G,Q],j=!0):Q===!1&&(j=!0)}),u.value=G,l.value=j,!j},b=async()=>
110{if(!n.rules||!n.rules.length)return!0;const O=T1(n.rules.flat(),t.value),j=O.filter(Q=>uc(Q)),G=O.filter(Q=>!uc(Q));return j.length?(c.value=!0,Promise.all(j).then(Q=>g([...G,...Q])).finally(()=>{c.value=!1})):g(G)},y=jB(()=>{if(!n.rules||!n.rules.length)return!0;const O=n.rules.flat(),j=T1(O,t.value),G=j.filter(W=>uc(W)),Q=j.filter(W=>!uc(W)),Y=Q.some(W=>Mi(W)?W:W===!1);return G.length&&!Y?(c.value=!0,Promise.all(G).then(W=>{g([...Q,...W]),c.value=!1}),Y):g(Q)});Po(()=>y());const{forceHideErrors:_,forceHideLoading:A,forceHideErrorMessages:k,forceDirty:E,immediate:I}=ag({isTouched:d,isDirty:p,isValid:w(()=>!l.value),isLoading:c,errorMessages:w(()=>u.value??[]),validate:y,validateAsync:b,resetValidation:h,focus:()=>{s.value=!0},reset:()=>{i(),h(),y()},value:w(()=>t.value),name:go(n,"name")}),F=w(()=>n.immediateValidation||I.value);let P=!0;const B=O=>{P=!1,O(),Ct(()=>{P=!0})};return we(t,()=>{if(P)return y()},{immediate:F.value}),{isDirty:p,isValid:w(()=>!l.value),isError:l,isTouched:d,isLoading:w({get:()=>A.value||_.value?!1:F.value||d.value||p.value||E.value?c.value:!1,set(O){c.value=O}}),computedError:w(()=>_.value?!1:F.value||d.value||p.value||E.value?l.value:!1),computedErrorMessages:w(()=>k.value?[]:u.value),validate:y,resetValidation:h,withoutValidation:B,validationAriaAttributes:m}},E1=ln(Da),HB=$e({name:"VaSelect",__name:"VaSelect",props:{...E1,...yt,...$g,...Zs,...BB,...Vg,...Du,...EB,...OB,...DB,...RB,...Za,modelValue:{type:[String,Number,Array,Object,Boolean],default:void 0},placement:{...Za.placement,default:"bottom"},keepAnchorWidth:{...Za.keepAnchorWidth,default:!0},offset:{...Za.offset,default:[1,0]},closeOnContentClick:{...Za.closeOnContentClick,default:!1},trigger:{...Za.trigger,default:()=>["click","right-click","space","enter"]},allowCreate:{type:[Boolean,String],default:!1,validator:e=>[!0,!1,"unique"].includes(e)},color:{type:String,default:"primary"},multiple:{type:Boolean,default:!1},searchable:{type:Boolean,default:!1},width:{type:String,default:"100%"},maxHeight:{type:String,default:"256px"},noOptionsText:ct("$t:noOptions"),hideSelected:{type:Boolean,default:!1},tabindex:{type:[String,Number],default:0},virtualScroller:{type:Boolean,default:!1},selectedTopShown:{type:Boolean,default:!1},highlightMatchedText:{type:Boolean,default:!0},minSearchChars:{type:[Number,String],default:0},autoSelectFirstOption:{type:Boolean,default:!1},placeholder:{type:String,default:""},searchPlaceholderText:ct("$t:search"),ariaLabel:ct("$t:select"),ariaSearchLabel:ct("$t:optionsFilter"),ariaClearLabel:ct("$t:reset"),searchFn:{type:Function,default:void 0},search:{type:String,default:""},clearValue:{type:[String,Number,Array,Object,Boolean],default:""},delay:{type:[Number,String],default:0}},emits:["update:modelValue","update-search","create-new","scroll-bottom","update:search",...cS,...$u,...Bg],setup(e,{expose:t,emit:n}){const o=e,r=n,{tp:s,t:i}=Mn(),l=At(),u=At(),c=At(),d=Lg(u),{getValue:p,getText:m,getTrackBy:h,tryResolveByValue:g}=Ag(o),b=Pe=>m(g(Pe)),y=()=>r("scroll-bottom"),_=Ea(o,"search",r),A=w(()=>o.searchable||o.allowCreate&&!o.autocomplete);we(_,Pe=>{r("update-search",Pe),o.autocomplete||(ae.value=null)});const k=Pe=>{if(la(Pe)||typeof Pe=="object")return Pe;const et=o.options.find(it=>Pe===p(it));return et===void 0?(dr(`[VaSelect]: can not find option in options list (${JSON.stringify(o.options)}) by provided value (${JSON.stringify(Pe)})!`),Pe):et},{toggleHiddenOptionsState:E,isAllOptionsShown:I,visibleSelectedOptions:F,hiddenSelectedOptionsAmount:P,allSelectedOptions:B}=PB(o,k),O=w({get(){if(o.multiple)return B.value;const Pe=k(o.modelValue);return Array.isArray(Pe)&&(dr("Model value should be a string, number, boolean or an object for a single Select."),Pe.length)?Pe.at(-1):Pe},set(Pe){Array.isArray(Pe)?r("update:modelValue",Pe.map(p)):r("update:modelValue",p(Pe))}}),j=MB(o,F,b),{canBeCleared:G,clearIconProps:Q}=Fg(o,O),Y=w(()=>o.options?o.selectedTopShown?o.options.slice().sort((Pe,et)=>{const it=re(Pe),_t=re(et);return it&&_t?0:it&&!_t?-1:1}):o.hideSelected?o.options.filter(Pe=>!re(Pe)):o.options:[]),W=w(()=>Array.isArray(O.value)?O.value.map(Pe=>g(Pe)):g(O.value)),re=Pe=>Array.isArray(W.value)?!la(W.value.find(et=>oe(et,Pe))):oe(W.value,Pe),oe=(Pe,et)=>{const it=p(Pe),_t=p(et);return it===_t?!0:typeof it=="string"&&typeof _t=="string"?it===_t:it===null||_t===null?!1:typeof it=="object"&&typeof _t=="object"?h(it)===h(_t):!1},ne=Pe=>Array.isArray(Pe.value),z=Pe=>{if(ae.value===null){De();return}if(A.value&&(_.value=""),o.multiple&&ne(O)){const{exceedsMaxSelections:et,addOption:it}=FB(O,M(o.maxSelections));if(re(Pe))O.value=O.value.filter(_n=>!oe(Pe,_n));else{if(et())return;O.value=it(Pe)}}else O.value=Pe,De();gn()},N=()=>{var Pe;const et=(Pe=o.options)==null?void 0:Pe.some(_t=>[_.value,jt.value].includes(m(_t)));!((o.allowCreate==="unique"||o.autocomplete)&&et)&&(r("create-new",_.value||jt.value),_.value="",jt.value="")},ae=M(null),ee=()=>{if(!ge.value){Re();return}z(ae.value)},K=()=>{const Pe=!!o.allowCreate&&(_.value||jt.value);ae.value!==null?ee():Pe&&N()},Ie=()=>{var Pe;return(Pe=l.value)==null?void 0:Pe.focusPreviousOption()},fe=()=>{var Pe;return(Pe=l.value)==null?void 0:Pe.focusNextOption()},{isOpenSync:ge,dropdownProps:Fe}=dS(o,r,{defaultCloseOnValueUpdate:w(()=>!o.multiple)}),ye=w(()=>({...Fe.value,stateful:!1,innerAnchorSelector:".va-input-wrapper__field"})),ce=w({get:()=>ge.value,set:Pe=>{Pe?Re():Ce()}}),Re=()=>
110{o.disabled||o.readonly||(ge.value=!0,L(),Z())},Ce=()=>{ge.value=!1,o.autocomplete||(_.value=""),Ct(()=>{Bn(),d.focusIfNothingIfFocused()})},De=()=>{Ce(),d.value=!0},ot=()=>{var Pe;(Pe=c.value)==null||Pe.focus()},U=()=>{var Pe,et;(Pe=l.value)==null||Pe.focus(),!o.modelValue&&((et=l.value)==null||et.focusFirstOption())},Z=async()=>{await Ct(),A.value?ot():U()},pe=w(()=>o.disabled?-1:o.tabindex),le=w(()=>o.disabled||o.autocomplete?-1:0),L=()=>{const Pe=O.value;if(typeof Pe!="object"&&Array.isArray(Pe)&&!Pe.length)return;const it=Array.isArray(Pe)?Pe[Pe.length-1]:Pe;ae.value=it,Ct(()=>{var _t;return(_t=l.value)==null?void 0:_t.scrollToOption(it)})};let ie="",me;const Te=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Enter"," "],be=Pe=>{if(Te.some(_t=>_t===Pe.key))return;const et=Pe.key.length===1,it=Pe.key==="Backspace"||Pe.key==="Delete";if(clearTimeout(me),it?ie=ie?ie.slice(0,-1):"":et&&(ie+=Pe.key),A.value){_.value=ie;return}if(ie){const _t=o.options.find(_n=>m(_n).toLowerCase().startsWith(ie.toLowerCase()));_t&&(ae.value=_t)}me=setTimeout(()=>{ie=""},1e3)},Ee=Kt("minSearchChars"),_e=w(()=>({...so(o,["textBy","trackBy","groupBy","valueBy","disabledBy","color","virtualScroller","highlightMatchedText","delay","selectedTopShown"]),autoSelectFirstOption:o.autoSelectFirstOption||o.autocomplete,search:_.value||jt.value,tabindex:pe.value,selectedValue:O.value,options:Y.value,getSelectedState:re,noOptionsText:s(o.noOptionsText),doShowAllOptions:cn.value,minSearchChars:Ee.value})),{toggleIcon:Se,toggleIconColor:Oe}=IB(o,ge),je=w(()=>d.value||ge.value),qe=pa(),ft=yo("va-select-anchor",()=>({nowrap:!!(o.maxVisibleOptions&&!qe.content)})),st=Pn(E1),wt=w(()=>({...st.value,error:Gn.value,errorMessages:Yn.value,focused:je.value,"aria-label":o.ariaLabel||(o.modelValue?`${i("selectedOption")}: ${o.modelValue}`:i("noSelectedOption"))})),Ot=w(()=>({...so(o,["placeholder","autocomplete","multiple","disabled","readonly"]),tabindex:pe.value,value:F.value,valueString:j.value,hiddenSelectedOptionsAmount:P.value,isAllOptionsShown:I.value,focused:d.value,autocompleteInputValue:jt.value,getText:b})),jt=LB(_,o,F,ge,m),Tt=Pe=>jt.value=Pe,cn=M(!0);we(ce,()=>{cn.value=!0}),we(_,()=>{cn.value=!1});const qt=()=>{o.disabled||ou(Vn(u.value))},pt=()=>{ce.value&&(ce.value=!1),Ct(()=>{o.disabled||fg(Vn(u.value))})},Dt=()=>io(()=>{o.multiple?O.value=Array.isArray(o.clearValue)?o.clearValue:[]:O.value=o.clearValue,_.value="",r("clear"),wo(),Ct(()=>{d.value=!0})}),gn=Pe=>{o.autocomplete&&!o.disabled&&!o.readonly&&(d.value=!0,ge.value=!0)},vn=Pe=>{if(o.disabled||o.readonly)return;const et=Pe.target&&"tagName"in Pe.target&&Pe.target.tagName==="INPUT";Pe.code==="Space"&&et||(Pe.preventDefault(),ce.value=!ce.value)},Cn=()=>{Array.isArray(O.value)&&(O.value=O.value.slice(0,-1))},{validate:Bn,computedError:Gn,computedErrorMessages:Yn,withoutValidation:io,resetValidation:wo,isTouched:Rt}=UB(u,O,o,r,{reset:Dt});we(ge,Pe=>{Pe||(Rt.value=!0)});const{popupId:kn}=VB(),Rn=_;return t({focus:qt,blur:pt,reset:Dt}),(Pe,et)=>(v(),X(f(ls),Me({ref:"dropdown",modelValue:ce.value,"onUpdate:modelValue":et[4]||(et[4]=it=>ce.value=it),class:"va-select va-select__dropdown va-select-dropdown"},ye.value,{role:"combobox","inner-anchor-selector":".va-input-wrapper__field","keyboard-navigation":!1}),{anchor:$(()=>[C(f(Da),Me(wt.value,{ref_key:"input",ref:u,class:["va-select__anchor va-select-anchor__input",f(ft)],"aria-haspopup":"listbox","model-value":f(j),readonly:!0,"aria-label":Pe.$props.ariaLabel,"aria-controls":f(kn),"aria-owns":f(kn)}),Dr({icon:$(()=>[f(G)?(v(),X(f(rn),Me({key:0,role:"button","aria-label":f(s)(Pe.$props.ariaClearLabel)},f(Q),{onClick:He(Dt,["stop"]),onKeydown:[tt(He(Dt,["stop"]),["enter"]),tt(He(Dt,["stop"]),["space"])]}),null,16,["aria-label","onKeydown"])):D("",!0)]),appendInner:$(()=>[C(f(rn),{color:f(Oe),name:f(Se),class:"va-select__toggle-icon",role:"button",tabindex:le.value,"aria-expanded":ce.value,onKeydown:tt(vn,["enter"])},null,8,["color","name","tabindex","aria-expanded"])]),default:$(({ariaAttributes:it})=>[C(f(TB),Me(Ot.value,{ariaAttributes:it,separator:Pe.$props.separator,onToggleHidden:f(E),onAutocompleteInput:Tt,onFocusPrev:Ie,onFocusNext:fe,onSelectOption:K,onDeleteLastSelected:Cn}),Dr({_:2},[Be(Pe.$slots,(_t,_n)=>({name:_n,fn:$(an=>[se(Pe.$slots,_n,nt(dt(an)))])}))]),1040,["ariaAttributes","separator","onToggleHidden"])]),_:2},[Be(Pe.$slots,(it,_t)=>({name:_t,fn:$(_n=>[se(Pe.$slots,_t,nt(dt(_n)))])}))]),1040,["class","model-value","aria-label","aria-controls","aria-owns"])]),default:$(()=>[C(f(hd),{class:"va-select-dropdown__content",style:ze({width:Pe.$props.width}),onKeydown:tt(De,["esc"]),role:"dialog"},{default:$(()=>[A.value?(v(),X(f(Da),{key:0,ref_key:"searchBar",ref:c,class:"va-select-dropdown__content-search-input",modelValue:f(Rn),"onUpdate:modelValue":et[0]||(et[0]=it=>mt(Rn)?Rn.value=it:null),"aria-label":f(s)(Pe.$props.ariaSearchLabel),tabindex:pe.value,placeholder:f(s)(Pe.$props.searchPlaceholderText),preset
110:"bordered",onKeydown:[tt(He(Ie,["stop","prevent"]),["up"]),tt(He(Ie,["stop","prevent"]),["left"]),tt(He(fe,["stop","prevent"]),["down"]),tt(He(fe,["stop","prevent"]),["right"]),tt(He(K,["prevent"]),["enter"])],onFocus:et[1]||(et[1]=it=>ae.value=null)},null,8,["modelValue","aria-label","tabindex","placeholder","onKeydown"])):D("",!0),C(f(_B),Me({ref_key:"optionList",ref:l,class:"va-select-dropdown__options-wrapper",hoveredOption:ae.value,"onUpdate:hoveredOption":et[2]||(et[2]=it=>ae.value=it),style:{maxHeight:Pe.$props.maxHeight},id:f(kn),"search-fn":Pe.$props.searchFn},_e.value,{onSelectOption:ee,onNoPreviousOptionToHover:ot,onKeydown:[et[3]||(et[3]=tt(He(it=>c.value&&c.value.focus(),["stop","prevent"]),["tab"])),be],onScrollBottom:y}),{default:$(it=>[se(Pe.$slots,"option",nt(dt(it)))]),"option-content":$(it=>[se(Pe.$slots,"option-content",nt(dt(it)))]),_:3},16,["hoveredOption","style","id","search-fn"])]),_:3},8,["style"])]),_:3},16,["modelValue"]))}}),WB=Je(HB),qB={key:0,class:"va-skeleton__wave"},GB=$e({name:"VaSkeleton",__name:"VaSkeleton",props:{color:{type:String,default:"backgroundElement"},delay:Un({default:100}),tag:{type:String,default:"div"},animation:{type:String,default:"pulse"},lines:{type:[String,Number],default:1},height:{type:[String],default:"5em"},width:{type:[String],default:"100%"},lineGap:{type:String,default:"8px"},lastLineWidth:{type:[String],default:"75%"},variant:{type:String,default:"squared"},ariaLabel:ct("$t:loading")},setup(e){const t=e,n=M(!1),o=Kt("delay");let r;rt(()=>{clearTimeout(r),setTimeout(()=>{n.value=!0},o.value)}),Wn(()=>{clearTimeout(r)});const s=w(()=>t.variant==="text"?`${t.lines}em`:t.height),i=w(()=>t.variant==="circle"?s.value:t.width),{getColor:l}=Pt(),u=w(()=>l(t.color));w(()=>`-${t.lineGap}`);const c=yo("va-skeleton",()=>({lines:Number(t.lines)>1,text:t.variant==="text",circle:t.variant==="circle",hidden:!n.value,pulse:t.animation==="pulse",wave:t.animation==="wave"})),d=w(()=>t.variant==="circle"?"50%":t.variant==="rounded"?`var(--va-skeleton-border-radius, calc(${s.value} / 5))`:"0px"),{tp:p}=Mn(),m=qi(),h=w(()=>[c.value,m.class]);return(g,b)=>(v(),X($r(e.tag),{class:xe(["va-skeleton",h.value]),role:"status","aria-live":"polite","aria-label":f(p)(g.$props.ariaLabel),"aria-atomic":"true",style:ze(`--va-color-computed: ${String(u.value)};--va-height-computed: ${String(s.value)};--va-width-computed: ${String(i.value)};--va-border-radius: ${String(d.value)};--va-line-gap: ${String(e.lineGap)};--va-last-line-width: ${String(e.lastLineWidth)}`)},{default:$(()=>[se(g.$slots,"default"),e.animation==="wave"?(v(),x("div",qB)):D("",!0)]),_:3},8,["aria-label","class","style"]))}}),YB=$e({name:"VaSkeletonGroup",__name:"VaSkeletonGroup",props:{color:{type:String,default:"backgroundElement"},delay:Un({default:100}),animation:{type:String,default:"pulse"},lines:{type:[Number,String],default:1},lineGap:{type:String,default:"8px"},lastLineWidth:{type:[String],default:"75%"}},setup(e){const t=e,n=M(!1),o=Kt("delay");let r;rt(()=>{r=setTimeout(()=>{n.value=!0},o.value)}),Ch(()=>{clearTimeout(r)});const s=yo("va-skeleton-group",()=>({hidden:n.value===!1})),i=w(()=>({...t,delay:0}));return(l,u)=>(v(),X(f(sg),{components:{VaSkeleton:i.value}},{default:$(()=>[a("div",Me({class:["va-skeleton-group",f(s)]},l.$attrs),[se(l.$slots,"default",{},void 0,!0)],16)]),_:3},8,["components"]))}}),KB=Tg(YB,[["__scopeId","data-v-fb2694c3"]]),QB=Je(GB),XB=Je(KB),bS=Symbol("TabsView"),JB=["aria-disabled"],ZB={class:"va-tabs__tabs-items"},eF={class:"va-tabs__content"},qa=e=>(e==null?void 0:e.clientWidth)||0,tF=$e({name:"VaTabs",__name:"VaTabs",props:{...Er,...yt,modelValue:{type:[String,Number],default:null},left:{type:Boolean,default:!0},right:{type:Boolean,default:!1},center:{type:Boolean,default:!1},grow:{type:Boolean,default:!1},hidePagination:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},hideSlider:{type:Boolean,default:!1},vertical:{type:Boolean,default:!1},color:{type:String,default:"primary"},prevIcon:{type:String,default:"va-arrow-left"},nextIcon:{type:String,default:"va-arrow-right"},ariaMoveRightLabel:ct("$t:movePaginationLeft"),ariaMoveLeftLabel:ct("$t:movePaginationRight")},emits:["update:modelValue","click:next","click:prev"],setup(e,{expose:t,emit:n}){const{tp:o}=Mn(),r=e,s=n,i=At(),l=At(),u=At(),c=M([]),d=M(null),p=M(null),m=M(0),h=M(0),g=M(!1),b=M(0),y=M(0),_=M(!1),A=Uo(r,s),k=Fo({VaTab:{color:r.color}}),E=w(()=>{const{left:fe,right:ge,center:Fe,grow:ye,disabled:ce}=r;return{"va-tabs__container--left":fe&&!ge&&!Fe&&!ye,"va-tabs__container--right":ge,"va-tabs__container--center":Fe,"va-tabs__container--grow":ye,"va-tabs__container--disabled":ce}}),I=w(()=>({"va-tabs--vertical":r.vertical})),{getColor:F}=Pt(),P=w(()=>F(r.color)),B=w(()=>r.hideSlider?{display:"none"}:{backgroundColor:P.value,height:r.vertical?`${d.value}px`:"",width:r.vertical?"":`${p.value}px`,transform:`translateY(-${h.value}px) translateX(${m.value}px)`,transition:_.value?"var(--va-tabs-slider-wrapper-transition)":""}),O=w(()=>r.vertical?{transform:"translateX(0px)"}:{transform:`translateX(${y.value-b.value}px)`,transition:_.value?"var(--va-tabs-slider-transition)":"",position:r.hidePagination?"unset":"absolute"}),j=w(()=>b.value===0),G=w(()=>{const fe=c.value[c.value.length-1],ge=f(fe.leftSidePosition),Fe=f(fe.rightSidePosition),ye=qa(l.value);return Fe<=b.value+ye||ge<=b.value}),Q=()=>{p.value=0,d.value=0},Y=fe=>{const ge=qa(l.value),Fe=f(fe.leftSidePosition),ye=f(fe.rightSidePosition);if(!g.value){b.value=0;return}if(!(Fe-b.value>=0&&ye-b.value<=ge)){if(Fe-b.value<0){b.value=Fe;return}if(ye-b.value>ge){b.value=ye-ge;return}b.value=0}},W=()=>{if(y.value=0,!g.value)return;const fe=qa(l.value),ge=qa(u.value);r.right?y.value=ge-fe:r.center&&(y.value=Math.floor((ge-fe)/2))},re=()=>{Q(),c.value.forEach(fe=>{var ge;fe.updateSidePositions();const Fe=(((ge=fe.name)==null?void 0:ge.value)||fe.id)===A.value;fe.isActive=fe.isActiveRouterLink||Fe,fe.isActive&&(Y(fe),N(fe))}),W()};Po(()=>{re()});const oe=()=>{const fe=qa(u.value),ge=qa(i.value);requestAnimationFrame(()=>{g.value=!!(u.value&&i.value&&fe>ge)})},ne=()=>{var fe,ge;const Fe=qa(l.value);let ye=b.value-Fe;for(let ce=0;ce<c.value.length-1;ce++){const Re=f((fe=c.value[ce])==null?void 0:fe.leftSidePosition),Ce=f((ge=c.value[ce+1])==null?void 0:ge.leftSidePosition);if(Re>ye&&Re<b.value||Ce>=b.value){ye=Re;break}}b.value=Math.max(0,ye),s("click:prev")},z=()=>{var fe;const ge=qa(l.value),Fe=b.value+ge;let ye=Fe;for(let Ce=0;Ce<c.value.length-1&&!(f(c.value[Ce].rightSidePosition)>Fe&&(ye=f(c.value[Ce].leftSidePosition),b.value<ye));Ce++);const Re=f((fe=c.value[c.value.length-1])==null?void 0:fe.rightSidePosition)-ge;ye=Math.min(Re,ye),b.value=Math.max(0,ye),s("click:next")},N=fe=>{var ge;const Fe=f(fe.tabElement),ye=(Fe==null?void 0:Fe.offsetTop)||0,ce=(Fe==null?void 0:Fe.offsetLeft)||0,Re=(Fe==null?void 0:Fe.clientHeight)||0,Ce=(Fe==null?void 0:Fe.clientWidth)||0;if(r.vertical){const ot=(((ge=l.value)==null?void 0:ge.clientHeight)||0)-ye-Re;h.value=Math.max(ot,0),d.value=Re,m.value=0,p.value=0}else m.value=ce,p.value=Ce,h.value=0,d.value=0},ae=()=>{_.value||requestAnimationFrame(()=>{_.value=!0})},ee=fe=>{var ge;fe&&(A.value=((ge=fe.name)==null?void 0:ge.value)||fe.id,r.stateful&&re())},K=fe=>{var ge;const Fe=c.value.push(fe)-1;fe.id=((ge=fe.name)==null?void 0:ge.value)||Fe},Ie=fe=>{c.value=c.value.filter(ge=>ge.id!==fe.id),c.value.forEach((ge,Fe)=>{var ye;ge.id=((ye=ge.name)==null?void 0:ye.value)||Fe})};return cr(bS,{parentDisabled:r.disabled,selectTab:ee,moveToTab:Y,registerTab:K,unregisterTab:Ie}),we(()=>r.modelValue,re),Ri(i,oe),Ri(l,re),rt(()=>{requestAnimationFrame(()=>{ae()})}),t({selectTab:ee,moveToTab:Y,movePaginationLeft:ne,movePaginationRight:z}),(fe,ge)=>(v(),x("div",{class:xe(["va-tabs",I.value])},[a("div",{ref_key:"wrapper",ref:i,class:"va-tabs__wrapper",role:"tablist","aria-disabled":fe.$props.disabled},[g.value&&!fe.$props.hidePagination?(v(),X(f(bt),{key:0,class:"va-tabs__pagination","aria-label":f(o)(fe.$props.ariaMoveLeftLabel),size:"medium",disabled:j.value,color:e.color,preset:"secondary",icon:fe.$props.prevIcon,onClick:ne},null,8,["aria-label","disabled","color","icon"])):D("",!0),a("div",{ref_key:"container",ref:l,class:xe(["va-tabs__container",E.value])},[a("div",{ref_key:"tabs",ref:u,class:"va-tabs__tabs",style:ze(O.value)},[a("div",{class:"va-tabs__slider-wrapper","aria-hidden":"true",style:ze(B.value)},ge[0]||(ge[0]=[a("div",{class:"va-tabs__slider"},null,-1)]),4),C(f(sg),{components:k},{default:$(()=>[a("div",ZB,[se(fe.$slots,"tabs")])]),_:3},8,["components"])],4)],2),g.value&&!fe.$props.hidePagination?(v(),X(f(bt),{key:1,class:"va-tabs__pagination","aria-label":f(o)(fe.$props.ariaMoveRightLabel),size:"medium",color:e.color,disabled:G.value,preset:"secondary",icon:fe.$props.nextIcon,onClick:z},null,8,["aria-label","color","disabled","icon"])):D("",!0)],8,JB),a("div",eF,[se(fe.$slots,"default")])],2))}}),Gg=Je(tF),nF={class:"va-tab__content"},oF=["textContent"],rF=$e({name:"VaTab",__name:"VaTab",props:{...dg,...yt,selected:{type:Boolean,default:!1},color:{type:String,default:""},icon:{type:String,default:""},label:{type:String,default:""},disabled:{type:Boolean},name:{type:[String,Number]},tag:{type:String,default:"div"}},emits:["click","keydown-enter","focus"],setup(e,{emit:t}){const n=e,o=t,r=At(),s=w(()=>Vn(r.value)),i=M(!1),l=M(!1),u=M(0),c=M(0),d=G2(r),{tagComputed:p,isActiveRouterLink:m,linkAttributesComputed:h}=nf(n),g=w(()=>({"va-tab--disabled":n.disabled})),{parentDisabled:b,selectTab:y,moveToTab:_,registerTab:A,unregisterTab:k}=Dn(bS,{parentDisabled:!1,tabsList:[],selectTab:re=>re,moveToTab:re=>re,registerTab:re=>re,unregisterTab:re=>re}),E=w(()=>n.disabled||b?-1:0),{getColor:I}=Pt(),F=w(()=>I(n.color)),P=w(()=>({color:l.value||i.value?F.value:"inherit"})),B=re=>{l.value=re},O=()=>{var re,oe;const ne=((re=s.value)==null?void 0:re.offsetLeft)||0,z=((oe=s.value)==null?void 0:oe.offsetWidth)||0;u.value=ne+z,c.value=ne},j=U2(r);we(j,()=>{O()});const G=async()=>{await Ct(),y(W),o("click")},Q=async()=>{await Ct(),y(W),o("keydown-enter")},Y=()=>{d.value&&_(W),o("focus")},W={name:w(()=>n.name),id:null,tabElement:s,isActive:i,tabIndexComputed:E,isActiveRouterLink:m,rightSidePosition:u,leftSidePosition:c,onTabClick:G,onTabKeydown:Q,onFocus:Y,updateSidePositions:O};return rt(()=>{A(W)}),Wn(()=>{k(W)}),(re,oe)=>(v(),X($r(f(p)),Me({ref_key:"rootElement",ref:r,class:["va-tab",g.value],role:"tab","aria-selected":i.value,"aria-disabled":re.$props.disabled||f(b),style:P.value,onMouseenter:oe[0]||(oe[0]=ne=>B(!0)),onMouseleave:oe[1]||(oe[1]=ne=>B(!1)),onFocus:Y,onClick:G,onKeydown:tt(Q,["enter"]),tabindex:E.value},f(h)),{default:$(()=>[a("div",nF,[se(re.$slots,"default",{},()=>[e.icon?(v(),X(f(rn),{key:0,class:"va-tab__icon",size:"small",name:e.icon},null,8,["name"])):D("",!0),a("span",{class:"va-tab__label",textContent:V(e.label)},null,8,oF)])])]),_:3},16,["aria-selected","aria-disabled","class","style","tabindex"]))}}),aF=Je(rF),sF=e=>{const t=document.createElement("div");t.style.position="absolute",t.style.top="0",t.style.left="0",t.style.width="auto";const{font:n}=window.getComputedStyle(e);return t.style.font=n,t.textContent="Vuestic",t.style.zIndex="-1",t.style.pointerEvents="none",t.style.opacity="0",t.ariaHidden="true",t.innerText=e.value,t},iF=(e,t)=>{const n=M(),o=M();return we(e,r=>{var s,i;r&&(n.value=sF(r),(i=(s=e.value)==null?void 0:s.parentElement)==null||i.appendChild(n.value))}),Ri(n,r=>{!r||!e.value||(o.value=r[0].contentRect.height)}),we(t,r=>{n.value&&(n.value.innerText=String(r),n.value.innerHTML+="&nbsp;;")}
110),o},lF=["rows","loading","ariaLabel"],P1=e=>{if(e>0)return!0;throw new Error(`\`minRows|maxRows\` must be a positive integer greater than 0, but ${e} is provided`)},{createEmits:uF,createListeners:cF}=Iu(["input","change","click","update:modelValue"]),O1=ln(Da),dF=$e({name:"VaTextarea",__name:"VaTextarea",props:{...Du,...O1,...Er,...Zs,modelValue:{type:[String,Number],default:""},placeholder:{type:String},autosize:{type:Boolean,default:!1},minRows:{type:[Number,String],default:1,validator:P1},maxRows:{type:[Number,String],validator:P1},resize:{type:Boolean,default:!0},clearValue:{type:[String],default:""}},emits:[...uF(),...$u],setup(e,{expose:t,emit:n}){const o=e,r=n,s=qi(),i=At(),l=Uo(o,r,"modelValue"),u=()=>{ou(i.value)},c=()=>{fg(i.value)},d=()=>k(()=>{r("update:modelValue",o.clearValue),r("clear"),A()}),{isDirty:p,isTouched:m,computedError:h,computedErrorMessages:g,listeners:b,validationAriaAttributes:y,isLoading:_,resetValidation:A,withoutValidation:k}=ef(o,r,{value:l,focus:u,reset:d}),E=w(()=>o.resize&&!o.autosize),I=M(o.minRows),F=iF(i,l);function P(){let Y=parseFloat(String(o.minRows)),W=parseFloat(String(o.maxRows));if(Y=isNaN(Y)?1:Y,W=isNaN(W)?1/0:W,!o.autosize){I.value=Math.max(W,Math.min(Y,W??0));return}if(!F.value||!i.value)return;const re=getComputedStyle(i.value),oe=F.value,ne=parseFloat(re.lineHeight),z=Math.max(Y*ne,Y+Math.round(ne)),N=W*ne||1/0,ae=Math.max(z,Math.min(N,oe??0));I.value=Math.round(ae/ne),i.value.style.height=`${ae+1}px`}Po(()=>{P()});const B=w(()=>({resize:E.value?void 0:"none"})),O=w(()=>({...so(o,["disabled","readonly","placeholder","name"])})),j=w(()=>({...y.value,...Ia(s,["class","style"])})),G=Pn(O1),Q=cF(r);return t({isDirty:p,isTouched:m,isLoading:_,computedError:h,computedErrorMessages:g,reset:d,focus:u,blur:c,value:l,withoutValidation:k,resetValidation:A}),(Y,W)=>(v(),X(f(Da),Me({class:"va-textarea"},f(G),{error:f(h),"error-messages":f(g)}),{default:$(()=>[a("div",{class:xe(["va-textarea__resize-wrapper",{"va-textarea__resize-wrapper--resizable":E.value}])},[ca(a("textarea",Me({"onUpdate:modelValue":W[0]||(W[0]=re=>mt(l)?l.value=re:null)},{...O.value,...f(Q),...j.value,...f(b)},{class:["va-textarea__textarea",{"va-textarea__textarea--autosize":e.autosize}],ref_key:"textarea",ref:i,rows:I.value,style:B.value,loading:f(_),ariaLabel:Y.$props.label}),null,16,lF),[[sm,f(l)]])],2)]),_:1},16,["error","error-messages"]))}}),fF=Xd(dF),pF=e=>typeof e=="function",cc=(e,t,...n)=>{pF(t)?e.use(t(...n)):e.use(t)},mF=["GlobalConfigPlugin","ColorConfigPlugin"],hF=tf((e={})=>({install(t){const{config:n,components:o,plugins:r}=e;bb(t),cc(t,(r==null?void 0:r.GlobalConfigPlugin)||PO,n),cc(t,(r==null?void 0:r.CachePlugin)||SI),cc(t,(r==null?void 0:r.ColorConfigPlugin)||MO,n),r&&Object.entries(r).forEach(([s,i])=>{mF.includes(s)||cc(t,i)}),o&&Object.entries(o).forEach(([s,i])=>{t.component(s,i)}),bb(null)}})),gF=()=>{const e=Qx(),t=[],n=l=>{const u=eI(l,e.value);return u&&t.push(u),u};return{init:l=>n(l),notify:n,close:l=>Nb(l),closeAll:(l=!1)=>JO(l?void 0:e.value),closeAllCreatedInThisHook:()=>{t.forEach(l=>Nb(l))}}},I1=Symbol("ocsNotifications"),vF={notify:e=>null,close:e=>{},closeAll:e=>{},showSuccess:e=>null,showError:e=>null,showInfo:e=>null,showWarning:e=>null,showNotification:e=>null},gl={position:"top-center",offsetY:100},Ru=()=>{const{notify:e,close:t,closeAll:n}=gF(),u={notify:e,close:t,closeAll:n,showSuccess:p=>{const m=typeof p=="string"?{message:p}:{...p};return e({color:"success",...gl,...m})},showError:p=>{const m=typeof p=="string"?{message:p}:{...p};return e({color:"danger",...gl,...m})},showInfo:p=>{const m=typeof p=="string"?{message:p}:{...p};return e({color:"info",...gl,...m})},showWarning:p=>{const m=typeof p=="string"?{message:p}:{...p};return e({color:"warning",...gl,...m})},showNotification:p=>{const m=typeof p=="string"?{message:p}:{...p};return e({...gl,...m})}};return{init:(p=!1)=>(p&&cr(I1,u),u),inject:()=>Dn(I1,vF)}},yF=["content"],bF={id:"main-content"},wF={__name:"Layout",setup(e){Ru().init(!0);const t=qn(),n=w(()=>t.props.oc_site||{}),o=w(()=>t.props.page);return cr(Fa,{oc_site:n}),(r,s)=>{const i=he("VaLayout");return v(),x(de,null,[C(f(Uh),null,{default:$(()=>
110[a("title",null,V(n.value.agency_name)+" - "+V(o.value.title),1),a("meta",{type:"description",content:o.value.description},null,8,yF)]),_:1}),C(i,Me(r.$attrs,{top:{fixed:!0,order:3},"allow-body-scroll-on-overlay":"",class:"min-h-screen bg-white"}),{top:$(()=>[C(Sx)]),content:$(()=>[a("main",bF,[a("article",null,[se(r.$slots,"default",{},void 0,!0)])])]),bottom:$(()=>[C(Ax)]),_:3},16)],64)}}},On=Zn(wF,[["__scopeId","data-v-f2cd30b5"]]),_F={class:"hero-content md:w-[56%]"},xF=["alt"],fr=$e({__name:"Hero",props:{imageUrl:{},imageAlt:{},imageVertAlign:{default:"bottom"},color:{default:"primary"}},setup(e){return(t,n)=>(v(),x("section",{class:xe(["hero 2xl:h-[28.35vw] lg:h-[35vw] md:h-[50vw]",`bg-${t.color}`])},[a("div",{class:xe(["container w-[80vw] 2xl:h-[28.35vw] lg:h-[35vw] md:h-[50vw] flex flex-col md:flex-row items-center md:gap-x-[4%]",{"py-[4em] justify-center":t.imageVertAlign!=="bottom","md:pt-0 pt-[4em] justify-end":t.imageVertAlign==="bottom"}])},[a("div",_F,[se(t.$slots,"default")]),a("div",{class:xe(["hero-image md:w-[40%] w-full 2xl:h-[28.35vw] lg:h-[35vw] h-[50v
110w] bg-contain bg-no-repeat md:mt-[0] mt-[2em]",`bg-${t.imageVertAlign}`]),style:ze({"background-image":`url(${t.imageUrl})`}),alt:t.imageAlt},null,14,xF)],2)],2))}}),SF={class:"container w-[80vw] flex flex-col gap-y-[2em] py-[4em] relative"},St=$e({__name:"FullWidthText",props:{color:{default:"primary"}},setup(e){return(t,n)=>(v(),x("section",{class:xe(["full-width-text",`bg-${t.color}`])},[a("div",SF,[se(t.$slots,"default")])],2))}}),CF={key:0,class:"form-header"},kF={key:1,class:"success-message","aria-live":"polite"},$F={class:"form-row pair-row"},AF={class:"form-item","data-field":"firstName"},TF={class:"form-item","data-field":"lastName"},EF={class:"form-row pair-row"},PF={class:"form-item","data-field":"email"},OF={class:"form-item","data-field":"phone"},IF={class:"form-row"},DF={class:"form-item","data-field":"address1"},MF={class:"form-item"},RF={class:"form-row location-row"},LF={class:"form-item city-group","data-field":"city"},VF={class:"form-item state-group","data-field":"state"},BF={class:"form-item zip-group","data-field":"zip"},FF={class:"form-row"},NF={class:"form-item licensed-group"},zF={class:"radio-options"},jF={class:"actions-container profile-tab-actions form-actions"},UF={__name:"RecruitingForm",props:{compact:{type:Boolean,default:!1},submitUrl:{type:String,default:Kd},agentCode:{type:String,default:""},agentEmail:{type:String,default:""}},setup(e){const t=e,{isFeathery:n}=qh(),{agentCode:o,agentEmail:r}=Wh({agentCode:()=>t.agentCode,agentEmail:()=>t.agentEmail}),{usStates:s,formatPhone:i,formatZip:l,isSubmitting:u,isSubmitDisabled:c,isSubmitted:d,isTurnstileEnabled:p,turnstileContainer:m,errorMessage:h,formErrors:g,requiredError:b,prospectEmailError:y,prospectPhoneError:_,zipError:A,setFieldError:k,submitToLeadDepot:E,announceSubmitResult:I}=Hh({submitUrl:t.submitUrl,formType:"recruiting"}),F=M(null),P=M(null),B=M(null),O=s.filter(ee=>ee.value),j=M(Oh()),G=Ti(),Q=w(()=>({agentAgentCode:o.value,agentEmail:r.value,leadType:"Recruiting",product_type:"Recruiting",extPartnerID:j.value,dateReceived:G})),Y=w(()=>hy(o.value)),W=M({firstName:"",lastName:"",email:"",phone:"",address1:"",address2:"",city:"",state:"",zip:"",isLicensed:null}),re=ee=>{var K;return typeof ee=="string"?ee:((K=ee==null?void 0:ee.target)==null?void 0:K.value)??""},oe=ee=>{W.value.phone=i(re(ee))},ne=ee=>{W.value.zip=l(re(ee))},z=ee=>{let K=null;switch(ee){case"firstName":case"lastName":case"address1":case"city":case"state":K=b(W.value[ee]);break;case"email":K=y(W.value.email);break;case"phone":K=_(W.value.phone);break;case"zip":K=A(W.value.zip);break}return k(ee,K),!K},N=()=>(["firstName","lastName","email","phone","address1","city","state","zip"].forEach(z),Object.keys(g.value).length===0),ae=async()=>{if(!N()){await I({formEl:F,hadClientErrors:!0});return}const K=`${W.value.firstName} ${W.value.lastName}`,Ie={formType:"recruiting",dnc:!1,zip:W.value.zip,city:W.value.city,email:W.value.email,phone:W.value.phone,state:W.value.state,last01:W.value.lastName,first01:W.value.firstName,street1:W.value.address1,street2:W.value.address2,leadName:K,agentCode:o.value,cellPhone:W.value.phone,agentEmail:r.value,attributes:{licensing:W.value.isLicensed||""},fullName01:K,dateReceived:Ti(),extPartnerID:j.value};if(await E(Ie)){window.location.assign(hy(o.value));return}await I({formEl:F,successHeadingEl:B,errorBannerEl:P})};return(ee,K)=>{const Ie=he("VaAlert"),fe=he("VaInput"),ge=he("VaSelect"),Fe=he("VaRadio"),ye=he("VaButton"),ce=he("VaForm");return f(n)?(v(),x("div",{key:0,class:xe(["recruiting-form-container ocs-form-wrapper",{compact:t.compact}])},[C(Yh,{"form-id":"ksW7YS","redirect-url":Y.value,fields:Q.value},null,8,["redirect-url","fields"])],2)):(v(),x("div",{key:1,class:xe(["recruiting-form-container ocs-form-wrapper",{compact:t.compact}])},[!f(d)&&!t.compact?(v(),x("div",CF,K[19]||(K[19]=[a("h2",{class:"form-title"},[T("Start Your Journey."),a("br"),T("Create Your Legacy.")],-1),a("p",{class:"form-subtitle"}
110,"Fill out this form and a member of our team will contact you on how to start your career with Symmetry Financial Group",-1)]))):D("",!0),f(d)?(v(),x("div",kF,[K[20]||(K[20]=a("div",{class:"success-icon"},[a("svg",{xmlns:"http://www.w3.org/2000/svg",width:"64",height:"64",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[a("path",{d:"M22 11.08V12a10 10 0 1 1-5.93-9.14"}),a("polyline",{points:"22 4 12 14.01 9 11.01"})])],-1)),a("h3",{ref_key:"successHeadingEl",ref:B,class:"body-35 bold mb-4",tabindex:"-1"},"Thank You!",512),K[21]||(K[21]=a("p",{class:"body-20 light"},"Your application has been submitted. We'll be in touch soon.",-1))])):(v(),x("form",{key:2,ref_key:"formEl",ref:F,onSubmit:He(ae,["prevent"]),class:"recruiting-form"},[f(h)?(v(),x("div",{key:0,ref_key:"errorBannerEl",ref:P,class:"error-banner",tabindex:"-1"},[C(Ie,{preset:"errors",class:"w-full",role:"alert","aria-live":"assertive"},{default:$(()=>[T(V(f(h)),1)]),_:1})],512)):D("",!0),C(ce,{tag:"div"},{default:$(()=>[a("div",$F,[a("div",AF,[C(fe,{modelValue:W.value.firstName,"onUpdate:modelValue":K[0]||(K[0]=Re=>W.value.firstName=Re),label:"First Name",placeholder:"First Name","required-mark":"",class:"w-full",disabled:f(u),error:!!f(g).firstName,"error-messages":f(g).firstName,onBlur:K[1]||(K[1]=Re=>z("firstName"))},null,8,["modelValue","disabled","error","error-messages"])]),a("div",TF,[C(fe,{modelValue:W.value.lastName,"onUpdate:modelValue":K[2]||(K[2]=Re=>W.value.lastName=Re),label:"Last Name",placeholder:"Last Name","required-mark":"",class:"w-full",disabled:f(u),error:!!f(g).lastName,"error-messages":f(g).lastName,onBlur:K[3]||(K[3]=Re=>z("lastName"))},null,8,["modelValue","disabled","error","error-messages"])])]),a("div",EF,[a("div",PF,[C(fe,{modelValue:W.value.email,"onUpdate:modelValue":K[4]||(K[4]=Re=>W.value.email=Re),label:"Email",placeholder:"Email",type:"email","required-mark":"",class:"w-full",disabled:f(u),error:!!f(g).email,"error-messages":f(g).email,onBlur:K[5]||(K[5]=Re=>z("email"))},null,8,["modelValue","disabled","error","error-messages"])]),a("div",OF,[C(fe,{modelValue:W.value.phone,"onUpdate:modelValue":K[6]||(K[6]=Re=>W.value.phone=Re),label:"Phone",placeholder:"000-000-0000","required-mark":"",class:"w-full",disabled:f(u),error:!!f(g).phone,"error-messages":f(g).phone,onInput:oe,onBlur:K[7]||(K[7]=Re=>z("phone"))},null,8,["modelValue","disabled","error","error-messages"])])]),a("div",IF,[a("div",DF,[C(fe,{modelValue:W.value.address1,"onUpdate:modelValue":K[8]||(K[8]=Re=>W.value.address1=Re),label:"Address",placeholder:"Address line 1","required-mark":"",class:"w-full",disabled:f(u),error:!!f(g).address1,"error-messages":f(g).address1,onBlur:K[9]||(K[9]=Re=>z("address1"))},null,8,["modelValue","disabled","error","error-messages"])]),a("div",MF,[C(fe,{modelValue:W.value.address2,"onUpdate:modelValue":K[10]||(K[10]=Re=>W.value.address2=Re),label:"Address line 2",placeholder:"Address line 2",class:"w-full",disabled:f(u)},null,8,["modelValue","disabled"])])]),a("div",RF,[a("div",LF,[C(fe,{modelValue:W.value.city,"onUpdate:modelValue":K[11]||(K[11]=Re=>W.value.city=Re),label:"City",placeholder:"City","required-mark":"",class:"w-full",disabled:f(u),error:!!f(g).city,"error-messages":f(g).city,onBlur:K[12]||(K[12]=Re=>z("city"))},null,8,["modelValue","disabled","error","error-messages"])]),a("div",VF,[C(ge,{modelValue:W.value.state,"onUpdate:modelValue":K[13]||(K[13]=Re=>W.value.state=Re),label:"State",options:f(O),"text-by":"label","value-by":"value",placeholder:"State","required-mark":"",class:"w-full",disabled:f(u),error:!!f(g).state,"error-messages":f(g).state,onBlur:K[14]||(K[14]=Re=>z("state"))},null,8,["modelValue","options","disabled","error","error-messages"])]),a("div",BF,[C(fe,{modelValue:W.value.zip,"onUpdate:modelValue":K[15]||(K[15]=Re=>W.value.zip=Re),label:"Zip",placeholder:"Zip",maxlength:5,"required-mark":"",class:"w-full",disabled:f(u),error:!!f(g).zip,"error-messages":f(g).zip,onInput:ne,onBlur:K[16]||(K[16]=Re=>z("zip"))},null,8,["modelValue","disabled","error","error-messages"])])]),a("div",FF,[a("div",NF,[K[22]||(K[22]=a("span",{class:"form-label va-input-label licensed-label"},"Are you currently licensed to sell life insurance?",-1)),a("div",zF,[C(Fe,{modelValue:W.value.isLicensed,"onUpdate:modelValue":K[17]||(K[17]=Re=>W.value.isLicensed=Re),option:"licensed",label:"Licensed",disabled:f(u)},null,8,["modelValue","disabled"]),C(Fe,{modelValue:W.value.isLicensed,"onUpdate:modelValue":K[18]||(K[18]=Re=>W.value.isLicensed=Re),option:"unlicensed",label:"Unlicensed",disabled:f(u)},null,8,["modelValue","disabled"])])])]),C(Gh),f(p)?(v(),x("div",{key:0,ref_key:"turnstileContainer",ref:m,class:"turnstile-widget","aria-label":"Security check"},null,512)):D("",!0),a("div",jF,[C(ye,{type:"submit",preset:"callToAction",color:"royalblue",class:"profile-tab-actions__save",disabled:f(c),loading:f(u)},{default:$(()=>K[23]||(K[23]=[T(" Send ")])),_:1,__:[23]},8,["disabled","loading"])])]),_:1})],544))],2))}}},Yg=Zn(UF,[["__scopeId","data-v-ffb2140d"]]),HF={class:"request-recruiting py-10 text-center"},WF={class:"container narrow w-[80%] md:py-10"},qF={class:"body-51 black md:mt-10 md:mb-5"},GF={key:0,class:"block-content"},YF={class:"body-20 light my-[1em]"},KF={__name:"RequestRecruiting",props:{title:{type:String,default:"Interested in a career at Symmetry Financial Group?"},content:{type:String,default:""},buttonText:{type:String,default:"Get Started"}},setup(e){const t=M(!1);return(n,o)=>{const r=he("VaButton"),s=he("VaModal");return v(),x(de,null,[a("section",HF,[a("div",WF,[a("h2",qF,V(e.title),
1101),e.content?(v(),x("div",GF,[a("p",YF,V(e.content),1)])):D("",!0),C(r,{onClick:o[0]||(o[0]=i=>t.value=!t.value),class:"my-5 mx-[30px] cta",preset:"alternative","data-cta-id":"request-recruiting-open"},{default:$(()=>[T(V(e.buttonText),1)]),_:1})])]),C(s,{modelValue:t.value,"onUpdate:modelValue":o[1]||(o[1]=i=>t.value=i),"max-width":"600px","hide-default-actions":"","close-button":""},{default:$(()=>[C(Yg)]),_:1},8,["modelValue"])],64)}}},QF={class:"container w-[80vw]"},bo=$e({__name:"HelpfulResources",props:{color:{default:"lightgray"}},setup(e){return(t,n)=>(v(),x("section",{class:xe(["helpful-resources lg:py-[4em] py-[3em]","bg-"+t.color])},[a("div",QF,[se(t.$slots,"heading"),se(t.$slots,"default")])],2))}}),XF={class:"bg-primary"},JF={class:"container w-[80vw] pt-[4em] xl:px-0 sm:px-[5%]"},ZF={class:"values flex flex-wrap pt-[3em] sm:justify-start justify-center"},eN={class:"value pb-[4em] flex gap-x-[20px] mr-[3vw]"},tN=["src"],nN={class:"value-content w-[calc(100%-70px)]"},oN={class:"body-20 bold text-white"},rN={class:"body-17"},wS=$e({__name:"Values",props:{values:Array},setup(e){return(t,n)=>(v(),x("div",XF,[a("div",JF,[se(t.$slots,"default"),a("div",ZF,[(v(!0),x(de,null,Be(e.values,o=>(v(),x("div",{key:o.id,class:"value-container column 2xl:basis-1/4 md:basis-1/2"},[a("div",eN,[a("img",{class:"max-h-[70px] max-w-[70px] sm:mx-0 mx-auto",src:o.icon},null,8,tN),a("div",nN,[a("h4",oN,V(o.title),1),a("p",rN,V(o.description),1)])])]))),128))])])]))}}),aN=Object.freeze(Object.defineProperty({__proto__:null,default:wS},Symbol.toStringTag,{value:"Module"})),sN=[{id:1,icon:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/633bcfec-935f-4b1b-9bd1-1ae2aacdc400/public",title:"Relationships",description:"Relationships matter, people come first"},{id:2,icon:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/da7f36ff-7f6a-445a-667e-64c00fe61400/public",title:"Growth",description:"Relentless pursuit of personal growth"},{id:3,icon:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/4f251da8-7a78-476d-c0df-46ea8a3d7b00/public",title:"Communication",description:"Open, honest, and productive communication"},{id:4,icon:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/36dd5e36-a82d-4590-d29d-a565a72e1b00/public",title:"Honesty",description:"We do the right thing even when no one is looking"},{id:5,icon:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/13e1e012-072a-408a-7747-7549eee7bb00/public",title:"Teamwork",description:"We work as a true team and strive to be a positive influence"},{id:6,icon:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/1f63000d-38cf-4495-eda4-00d2bb192700/public",title:"Ownership",description:"We act like owners because we own it"},{id:7,icon:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/a369517e-8e81-4cc9-c5d8-52431ea1ac00/public",title:"Service",description:"Being of service and doing good in the world"},{id:8,icon:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/1e23449e-39d9-49e5-9c0b-d5c11a15e100/public",title:"Fun",description:"We have fun and we get stuff done"}],iN={class:"posts-grid flex xl:flex-row flex-col flex-wrap xl:gap-x-[4%] pt-[3em]"},lN=["href"],uN=["src","alt"],cN=["innerHTML"],dN={class:"body-25 bold mb-3"},fN=["href"],pN={class:"post-meta flex flex-row mb-[1em] line-height-[1em]"},mN={key:0,class:"published-date body-15 light text-medgray pr-[15px] mr-[15px] border-r-[1px] border-medgray"},hN={key:1,class:"read-time body-15 light text-medgray"},gN={class:"body-17 light mb-10"},vN=["href"],yN={__name:"About",props:{oc_site:Object,posts:Object,page:Object},setup(e){const t=M(!1);return(n,o)=>{const r=he("VaButton"),s=he("VaDivider"),i=he("VaIcon"),l=he("VaModal");return v(),X(On,null,{default:$(()=>[C(fr,{class:"about",color:"white","image-url":"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/53f44b2f-b893-4b2c-5871-198e8aa3fb00/public","image-alt":"Insurance agent showing a policy to a client on a tablet","image-vert-align":"center"},{default:$(()=>[o[3]||(o[3]=a("h1",{class:"body-51 black text-primary mb-[40px] mr-[4vw]"},"About Symmetry",-1)),o[4]||(o[4]=a("p",{class:"body-20 mr-[4vw] light"},"As an agent with Symmetry Financial Group, I work with top insurance companies to help you find the right financial solutions to protect your family, your finances, and your future.",-1)),C(r,{class:"mt-[2.5rem]",preset:"standard","data-cta-id":"about-hero-get-connected",onClick:o[0]||(o[0]=u=>t.value=!t.value)},{default:$(()=>o[2]||(o[2]=[T("Get Connected")])),_:1,__:[2]})]),_:1,__:[3,4]}),C(s,{class:"w-[80%] mx-auto block h-[1px] bg-gray"}),C(St,{color:"white"},{default:$(()=>o[5]||(o[5]=[a("div",{class:"flex sm:flex-nowrap flex-wrap sm:gap-x-[10%] sm:gap-y-0 gap-y-10"},[a("div",{class:"column sm:basis-1/2"},[a("h2",{class:"body-35 bold"},"Life insurance that fits your budget"),a("div",{class:"divider-element bg-primary"}),a("p",{class:"body-20 light mt-10"},"At Symmetry, we realize how important it is to find the right policy for you and your family. We understand policy needs come in all shapes and sizes, so we take the time to fully understand your family's goals, budget, and concerns so that we can shop from top-rated carriers to find the perfect fit for you.")]),a("div",{class:"column sm:basis-1/2"},[a("div",{class:"container max-w-[522px] w-[100%] border-secondary border-[2px] rounded-[15p
110x] p-[50px]"},[a("img",{src:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/b19ba38e-b39e-4124-679f-6f33eec0c100/public"}),a("h3",{class:"body-25 bold mt-[30px] mb-[0.5em]"},"We Make Life Insurance Simple"),a("p",{class:"body-20 light"},"It's the simple solution for the complex questions surrounding insurance, and at Symmetry Financial Group, we are fully committed to protecting your life's journey.")])])],-1)])),_:1,__:[5]}),C(wS,{values:f(sN)},{default:$(()=>o[6]||(o[6]=[a("h2",{class:"section-heading body-35 bold"},"Our Core Values",-1),a("div",{class:"divider-element bg-white w-[10%] h-[5px]"},null,-1)])),_:1,__:[6]},8,["values"]),C(bo,null,{heading:$(()=>o[7]||(o[7]=[a("h2",{class:"section-heading body-35 bold"},"Featured Articles",-1),a("div",{class:"divider-element bg-primary"},null,-1)])),default:$(()=>[a("div",iN,[(v(!0),x(de,null,Be((e.posts||[]).slice(0,3),u=>(v(),x("div",{key:u.id,class:xe(["post column relative xl:w-[30.5%] w-[100%] mb-[2em] p-[25px] bg-white rounded-[15px]","post-"+u.id])},[a("a",{href:u.url_link},[a("img",{class:"mb-3",src:u.image,alt:u.image_alt},null,8,uN)],8,lN),a("div",{class:"category-links mb-2",innerHTML:f(on)(u.category_links)},null,8,cN),a("h3",dN,[a("a",{class:"text-black",href:u.url_link},V(u.title),9,fN)]),a("div",pN,[u.published_date?(v(),x("div",mN,V(u.published_date),1)):D("",!0),u.readtime?(v(),x("div",hN,V(u.readtime),1)):D("",!0)]),a("p",gN,V(u.description),1),a("a",{class:"body-15 bold underline hover:opacity-50 transition-all ease-in-out duration-250 absolute bottom-[30px]",href:u.url_link},[o[8]||(o[8]=T("Read More ")),C(i,{name:"icon-q-right-arrow",size:"large"})],8,vN)],2))),128))])]),_:1}),C(KF,{title:"Interested in a career at Symmetry Financial Group?",content:"Fill out the short form to learn more about part or full-time remote career opportunities.",buttonText:"Get Started"}),C(l,{modelValue:t.value,"onUpdate:modelValue":o[1]||(o[1]=u=>t.value=u),"max-width":"600px","hide-default-actions":"","close-button":""},{default:$(()=>[C(Yg)]),_:1},8,["modelValue"])]),_:1})}}},bN=Object.freeze(Object.defineProperty({__proto__:null,default:yN},Symbol.toStringTag,{value:"Module"})),wN={__name:"LogInButton",setup(e){const t=qn(),n=w(()=>t.props),o=w(()=>{var l;return!!((l=n.value)!=null&&l.user)}),r=w(()=>{var l;return((l=n.value)==null?void 0:l.user)||{}}),s=()=>{Mt.get("./login")},i=()=>{Mt.get("./logout")};return(l,u)=>{const c=he("VaAvatar"),d=he("VaButton"),p=he("VaButtonDropdown");return o.value?(v(),X(p,{key:0,round:"","hide-icon":"","disable-dropdown":"",color:"transparent",class:"w-10 h-10"},{label:$(()=>[C(c,{src:r.value.picture,"fallback-icon":"icon-user-q",alt:r.value.nickname,size:56},null,8,["src","alt"])]),default:$(()=>[C(d,{preset:"secondary",icon:"icon-q-logout",onClick:i},{default:$(()=>u[0]||(u[0]=[T(" Logout ")])),_:1,__:[0]})]),_:1})):(v(),X(d,{key:1,class:"h-10",disabled:"",onClick:s},{default:$(()=>u[1]||(u[1]=[T(" Login ")])),_:1,__:[1]}))}}},_N=["content"],xN={class:"w-full border-darkgray border-b-[1px] bg-white"},SN={class:"container pt-4 pb-4 px-4 flex justify-between gap-x-8 gap-y-4 min-h-[40px]"},CN={class:"max-w-[400px]"},kN={class:"min-w-16"},$N={id:"main-content"},AN={class:"w-full text-base text-white bg-darkgray"},TN={class:"container py-4 px-4"},EN={class:"flex items-stretch flex-wrap sm:flex-nowrap gap-x-8 gap-y-4"},PN={class:"grow"},ON={class:"mt-1"},df={__name:"AdminLayout",props:{title:{type:String,default:"Hatch Site Management"},disableTitle:{type:Boolean,default:!1}},setup(e){Ru().init(!0);const t=qn(),n=w(()=>t.props),o=w(()=>{var s,i;return((i=(s=n.value)==null?void 0:s.page)==null?void 0:i.description)||""}),r=w(()=>{var s;return!!((s=n.value)!=null&&s.user)});return(s,i)=>{const l=he("VaLayout");return v(),x(de,null,[C(f(Uh),null,{default:$(()=>[i[0]||(i[0]=a("title",null,"Hatch Site Management",-1)),o.value?(v(),x("meta",{key:0,type:"description",content:o.value},null,8,_N)):D("",!0)]),_:1,__:[0]}),C(l,{top:{fixed:!0},bottom:{fixed:!0},class:"admin-layout min-h-screen bg-white"},{top:$(()=>[i[2]||(i[2]=a("div",{class:"skip-links"},[a("a",{href:"#main-content",class:"skip-link"},"Skip to Main Content")],-1)),a("header",xN,[a("div",SN,[a("div",CN,[C(f(zt),{href:"/admin"},{default:$(()=>i[1]||(i[1]=[a("img",{src:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/7af6853f-9084-46af-c909-8169763a1000/public",class:"logo"},null,-1)])),_:1,__:[1]})]),a("div",kN,[r.value?(v(),X(wN,{key:0})):D("",!0)])])])]),content:$(()=>[a("main",$N,[a("article",null,[se(s.$slots,"default")])])]),bottom:$(()=>[a("footer",AN,[a("div",TN,[a("div",EN,[a("div",PN,[a("p",null,[T(" Copyright © "+V(new Date().getFullYear())+" Symmetry Financial Group. All Rights Reserved. ",1),i[4]||(i[4]=a("span",{class:"text-gray"}," | ",-1)),C(f(zt),{href:"/privacy",class:"hover:underline"},{default:$(()=>i[3]||(i[3]=[T("Privacy Policy")])),_:1,__:[3]})]),a("p",ON,[C(f(zt),{href:"/release-notes",class:"hover:underline text-sm text-gray-300"},{default:$(()=>i[5]||(i[5]=[T("Release Notes")])),_:1,__:[5]})])]),i[6]||(i[6]=a("div",{class:""},[a("img",{src:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/5781aad8-8d3a-48c7-e4fc-6de48c147100/public"})],-1))])])])]),_:3})],64)}}},IN={class:"container py-12 px-4"}
110,DN={key:0},MN={class:"flex gap-x-8 gap-y-4 p-8 border-neutral border-2 flex-wrap sm:flex-nowrap"},RN={__name:"Home",props:{user:Object},setup(e){const t=e,n=w(()=>!!t.user);return(o,r)=>{const s=he("VaButton"),i=he("VaAlert");return v(),X(df,null,{default:$(()=>[a("div",IN,[n.value?(v(),x("div",DN,[a("div",MN,[r[1]||(r[1]=a("div",{class:"grow"},[T(" Allows viewing, creating, editing and deleting Quility"),a("sup",null,"®"),T(" Hatch"),a("sup",null,"™"),T(" Sites ")],-1)),C(s,{preset:"callToAction"},{default:$(()=>[C(f(zt),{href:"/admin/hatchsites"},{default:$(()=>r[0]||(r[0]=[T("Manage Quility"),a("sup",null,"®",-1),T(" Hatch"),a("sup",null,"™",-1),T(" Sites")])),_:1,__:[0]})]),_:1})])])):(v(),X(i,{key:1,color:"warning",border:"left",class:"my-4"},{default:$(()=>r[2]||(r[2]=[T(" You don't have permissions. ")])),_:1,__:[2]}))])]),_:1})}}},LN=Object.freeze(Object.defineProperty({__proto__:null,default:RN},Symbol.toStringTag,{value:"Module"})),iu=[{label:"Term Life/Mortgage Protection",value:"Term Life/Mortgage Protection"},{label:"Advanced Markets",value:"Advanced Markets"},{label:"Recruiting",value:"Recruiting"}],vd={id:"new",site_domain:"",agency_name:"",agent_name:"",agent_code:"",phone:"",email:"",city:"",state:"",calendar_url:"",recruiting_calendar_url:"",about_agency:"",profile_image_url:"",dtc_eligible:!1,dtc_enabled:!1,dtc_tc_acknowledged_at:null,agent_approval:!1,home_page_version:iu[0].value,provisioning_status:"",lead_delivery:null,lead_delivery_last_checked:null,dns_status:"",dns_last_checked_at:null,cloudflare_zone_id:null,cloudflare_nameservers:null,site_domain_owner:null,domain_purchase_id:null,dns_check_next_run_at:null,dns_check_attempts:null},dn={site_domain:"Site Domain",agency_name:"Agency Name",agent_name:"Agent Name",agent_code:"Agent Code",phone:"Phone",email:"Email",city:"City",state:"State",calendar_url:"Client Calendar",recruiting_calendar_url:"Recruiting Calendar",about_agency:"About Agency",profile_image_url:"Profile Image URL",dtc_enabled:"Enable DTC",home_page_version:"Home Page Content"},Bm="We couldn't register this domain. Please try again.",_S='Your domain was registered, but website setup did not finish. Click Retry setup to continue. Do not use "I already have a registered domain."',mi="Your domain was registered, but website setup did not finish. Please try again.",yd="An error occurred while checking the domain.",Fm="Unable to validate this domain right now. Please try again.",Nm="Something went wrong while setting up this domain. Please try again.",bd="Subdomains are not supported. Please enter your root domain (e.g. yourdomain.com).",zm="Something went wrong while checking DNS. Please try again.",Sl="An unexpected error occurred during purchase.",VN=new Set([Bm,_S,mi,yd,Fm,Nm,zm,Sl,"This domain name contains a restricted term.","This domain is already in use and unavailable. Please try again with a different domain.","This domain was registered through Hatch. Please use Retry setup on the register-domain flow instead of Bring Your Own Domain.","A purchase for this domain is already in progress. Please wait for it to complete.","A registration for this domain is already in progress. Please wait for it to complete.","Unexpected error during domain config.","This domain is unavailable for purchase. Please try a different option.","The cost of this domain exceeds your subscription limit.","Please enter a domain name.","Your domain was verified.","No domain configured for this site","Your website isn't connected yet. Wait 15 minutes and click 'Verify Setup' again.","This domain appears to be unregistered. Please register it now in order to use it with your Hatch Site.",bd,"Could not determine which domain to finish setting up. Please try again or contact support.","No Hatch domain purchase is recorded for this site. Cannot resume setup.","We couldn't register this domain. Please try again.","Website setup did not finish. Please try again.","Your domain was registered, but activation is taking longer than expected. Please try Retry setup in a few minutes.","Site not found for the logged-in agent.","Your website is connected! Your site should be live within a few minutes.","Invalid extension. Please use one of the following: .com, .net, .org, .us, .web, .info, .site, .io, .agency.","Your nameservers still aren't resolving to Hatch. This can be normal even if you've already updated them at your registrar. Please continue to wait a few minutes before checking again."]),BN=[/^This domain name contains the restricted term '[A-Za-z0-9_-]+' and cannot be registered\.$/,/^This domain name contains a restricted term "[A-Za-z0-9_-]+" and cannot be registered\.$/,/^Only the following (?:domain )?extensions are supported: (?:\.[a-z0-9]+, )*\.[a-z0-9]+$/,/^Only the following (?:domain )?extensions are supported: (?:[a-z0-9]+, )*[a-z0-9]+$/,/^Please wait \d+ minute\(s\) before checking again\. Your site will be ready soon\.$/,/^Your site is still being set up\n\n(?:Provisioning is taking longer than usual, but this is normal for some configurations\.|DNS hasn't propagated yet\. This can take a few minutes after domain setup\.)\n\nWhat to do next:\n[•-] Wait \d+-\d+ minutes\n[•-] Refresh this page\n[•-] Click the 'Verify Setup' button(?:\n\nNeed help\? Contact [A-Za-z0-9._%+\-]+@[A-Za-z0-9.\-]+\.[A-Za-z]{2,} if this message persists after 10 minutes\.)?$/];function na(e,t){if(typeof e!="string")return t;const n=e.trim();if(!n)return t;if(VN.has(n))return n;for(const o of BN)if(o.test(n))return n;return t}function FN(){const e="https://admin.myhatchsite.io".replace(/\/$/,""),t=vt.create({baseURL:e,withCredentials:!0,withXSRFToken:!0,timeout:6e5}),n=async(c,d=null)=>{var p,m;
110try{return await s(c,"/my/godaddy/check-domain",d)}catch(h){return{error:!0,reason:na((m=(p=h.response)==null?void 0:p.data)==null?void 0:m.message,yd)}}},o=async(c,d=null)=>{try{return await i(c,"/my/godaddy/suggest-domain",d)}catch(p){return console.error("Suggestion fetch failed:",p),[]}},r=async(c,d=null)=>{var p;try{return await l(c,"/my/godaddy/purchase-domain",d)}catch(m){console.error("Purchase failed:",m);const h=(p=m.response)==null?void 0:p.data;return h&&typeof h=="object"?{...h,success:!1,message:na(h.message,Sl)}:{success:!1,message:Sl}}},s=async(c,d="/admin/godaddy/check-domain",p=null)=>{var m,h;try{const g={domain:c};return p&&(g.agent_code=p),(await t.post(d,g)).data}catch(g){return{error:!0,reason:na((h=(m=g.response)==null?void 0:m.data)==null?void 0:h.message,yd)}}},i=async(c,d="/admin/godaddy/suggest-domain",p=null)=>{try{const m={domain:c};return p&&(m.agent_code=p),(await t.post(d,m)).data}catch(m){return console.error("Suggestion fetch failed:",m),[]}},l=async(c,d="/admin/godaddy/purchase-domain",p=null)=>{var m;try{const h={domain:c};return p&&(h.agent_code=p),(await t.post(d,h)).data}catch(h){console.error("Purchase failed:",h);const g=(m=h.response)==null?void 0:m.data;return g&&typeof g=="object"?{...g,success:!1,message:na(g.message,Sl)}:{success:!1,message:Sl}}};return{logDomainActivity:async(c,d,p,m,h="failed")=>{var g;try{await vt.post("/api/log-domain-activity",{activity_type:c,domain_name:d,message:p,request_payload:m,status:h})}catch(b){console.error("Failed to log domain activity:",((g=b.response)==null?void 0:g.data)||b.message)}},checkDomain:s,suggestDomain:i,purchaseDomain:l,checkAgentDomain:n,suggestAgentDomain:o,purchaseAgentDomain:r}}const NN=/^[a-z0-9]+([\-\.][a-z0-9]+)*\.[a-z]{2,}$/i;function xS(e){let t=e.trim().toLowerCase();return t=t.replace(/^https?:\/\//i,""),t=t.split("/")[0],t=t.split("?")[0],t=t.replace(/\.+$/,""),t}function lu(e){return xS(e).split(".").filter(Boolean).length>2}function jm(e){return xS(e).replace(/^www\./i,"")}function SS(e){if(!e||e.trim()==="")return!1;const t=e.trim();return/^(https?:\/\/|www\.)/i.test(t)||t.includes("/")?!1:NN.test(t)&&!lu(t)}const zN={class:"domain-lookup-content flex flex-col gap-3"},jN={key:0,class:"domain-available-banner mb-[1em] rounded-[6px] border border-[#1849A9] py-2 px-4 flex flex-row items-center gap-4 bg-[#E8EDF6]",role:"status"},UN={key:1,class:"mb-[1em] flex flex-col items-start gap-3"},HN={key:0,class:"w-full rounded-[6px] border border-[#934802] py-2 px-4 flex flex-row items-start gap-4 bg-[#F8EFE6]",role:"alert"},WN={class:"body-15 text-[#934802] m-0 flex-1"},qN={class:"flex flex-col gap-[12px] w-full"},GN={class:"register-domain-btn-wrapper flex flex-col gap-3"},YN={class:"provisioning-stack mt-[1em] flex flex-col gap-3"},KN={class:"step-item__gutter w-6 h-6 shrink-0 inline-flex items-center justify-center","aria-hidden":"true"},QN={key:0,class:"icon icon-checkmark-q text-[#08623C] body-20","aria-hidden":"true"},XN={key:0,class:"domain-unavailable-alert mb-[1em] rounded-[6px] border border-[#B42318] py-2 px-4 flex flex-row items-start gap-4 bg-[#F8E9E8]",role:"alert"},JN={class:"body-15 text-[#B42318] m-0 flex-1"},ZN={key:1,class:"suggestions-list body-14 text-[#707070] mb-4"},e9={class:"list-disc pl-5 space-y-1"},t9={key:0,class:"domain-unavailable-alert mb-[1em] rounded-[6px] border border-[#B42318] py-2 px-4 flex flex-row items-start gap-4 bg-[#F8E9E8]",role:"alert"},n9={class:"body-15 text-[#B42318] m-0 flex-1"},o9={key:0,class:"domain-available-banner mb-[1em] rounded-[6px] border border-[#1849A9] py-2 px-4 flex flex-row items-center gap-4 bg-[#E8EDF6]",role:"status"},r9={key:1,class:"domain-available-banner mb-[1em] rounded-[6px] border border-[#08623C] py-2 px-4 flex flex-row items-center gap-4 bg-[#E6EFEC]",role:"status"},a9={class:"body-15 text-[#08623C] m-0"},s9={key:0,class:"domain-input-error-icon shrink-0","aria-hidden":"true"},i9={key:0,class:"tip-box body-15 bg-royalblue/10 rounded-[4px] p-[8px]"},l9={class:"flex flex-col gap-[12px] mb-4"},u9={key:0,id:"domainHelp",class:"body-12 text-[#707070]"},c9={key:1,class:"body-12 text-[#B42318]",role:"alert"},d9={class:"register-domain-btn__content"},f9={key:0,class:"register-domain-btn__spinner","aria-hidden":"true"},p9={key:1,class:"register-domain-btn-wrapper flex flex-col gap-3"},m9={class:"register-domain-btn__content"},h9={key:0,class:"register-domain-btn__spinner","aria-hidden":"true"},g9={key:2,class:"provisioning-stack mt-[1em] flex flex-col gap-3"},v9={key:0,class:"rounded-[6px] border border-[#1849A9] py-2 px-4 flex flex-row items-center gap-4 bg-[#E8EDF6]"},y9={class:"step-item__gutter w-6 h-6 shrink-0 inline-flex items-center justify-center","aria-hidden":"true"},b9={key:0,class:"icon icon-checkmark-q text-[#08623C] body-20","aria-hidden":"true"},w9={key:3,class:"purchase-result-display mt-[1em]"},_9={key:0,class:"steps-container mb-[1em]"},x9={class:"flex items-start"}
110,S9={class:"body-17 flex-1"},C9={key:1,class:"alert alert-danger text-[#B42318] p-[20px] rounded-[8px] border border-[#B42318] bg-[#F8E9E8] relative",role:"alert"},k9={class:"body-17 ml-[34px] pt-[0.125em] pr-8"},$9={key:2,class:"mt-3"},A9={class:"confirm-domain-modal__inner flex flex-col gap-4 rounded-[8px] bg-white"},T9={class:"body-17 text-[#707070] m-0"},E9={class:"body-17 text-[#707070] m-0"},P9={class:"flex items-center justify-end gap-3 mt-4"},O9="Invalid extension. Please use one of the following: .com, .net, .org, .us, .web, .info, .site, .io, .agency.",I9=$e({__name:"GodaddyLookup",props:{admin:Boolean,agentCode:{type:String,default:null},prefillDomain:{type:String,default:""},ocSite:{type:Object,default:null}},emits:["domain-configured","register-provisioning-started","register-provisioning-failed"],setup(e,{emit:t}){const n=t,o=M(""),r=M(""),s=M(null),i=M([]),l=M(null),u=M(!1),c=M(null),d=M(!1),p=M(!0);M(null);const m=M(0);let h=null;const g=M(""),b=M(!1);let y=null,_=!1;const A=M(0),k=M(""),E=M([]),I=M(!1),F=M(""),P=w(()=>u.value&&m.value>=60),B=w(()=>o.value.trim()!==""),{suggestDomain:O,suggestAgentDomain:j}=FN(),G=e,Q=w(()=>{const le=G.ocSite;if(!le)return!1;if(le.cloudflare_zone_id)return!0;const L=le.site_domain;return!!(L&&L!==""&&!String(L).toLowerCase().includes("domain_pending"))}),Y=M(!1),W=M(""),re=M(!1),oe=w(()=>{if(Y.value)return!0;const le=G.ocSite;if(!(le!=null&&le.domain_purchase_id)||(le.provisioning_status||"").toLowerCase()==="live")return!1;const L=le.site_domain,ie=!!(L&&L!==""&&!String(L).toLowerCase().includes("domain_pending"));return!le.cloudflare_zone_id||!ie}),ne=M(!1),z=M(!1),N=M(!1);we(oe,()=>{ne.value=!1}),we(s,()=>{z.value=!1}),we(c,()=>{N.value=!1});const ae=w(()=>{var L;const le=(L=G.ocSite)==null?void 0:L.site_domain;return le&&String(le).trim()!==""&&!String(le).toLowerCase().includes("domain_pending")?String(le).trim():o.value}),ee=["Securing your domain","Connecting your domain – this can take up to 48 hours","Preparing your site","Building your site's home","Ensuring your site is secure","Launching your site"],K=w(()=>{const le=G.ocSite,L=["inactive","inactive","inactive","inactive","inactive","inactive"];if(!le)return L[0]="active",L;const ie=le.cloudflare_zone_id,me=le.site_domain,Te=le.dns_status,be=(le.provisioning_status||"").toLowerCase();if(!!ie||!!me&&String(me).trim()!==""&&!String(me).toLowerCase().includes("domain_pending"))L[0]="complete";else return L[0]="active",L;if(Te==="verified")L[1]="complete";else return L[1]="active",L;const Se=["cloudflare_finalizing","forge_provisioning","complete","live"].includes(be),Oe=["forge_provisioning","complete","live"].includes(be),je=["complete","live"].includes(be);return L[2]=Se?"complete":"active",L[3]=Oe?"complete":"active",L[4]=je?"complete":"active",L[5]=be==="live"?"complete":"active",L}),Ie=["com","net","org","us","web","info","site","io","agency"],fe=["quility","quigley","sfg","sfglife","symmetry"];function ge(le){return`This domain name contains a restricted term "${le.charAt(0).toUpperCase()+le.slice(1)}" and cannot be registered.`}function Fe(le){return SS(le)}we(()=>{var le;return[(le=G.ocSite)==null?void 0:le.site_domain,Q.value]},([le,L])=>{if(!L||!le||String(le).toLowerCase().includes("domain_pending"))return;const ie=String(le).trim();ie!==""&&o.value!==ie&&(o.value=ie)},{immediate:!0}),we(()=>G.prefillDomain,le=>{const L=String(le||"").trim();!L||L===o.value||(o.value=L,p.value=!0,s.value=null,i.value=[],l.value=null)},{immediate:!0}),we(o,le=>{if(y&&clearTimeout(y),g.value&&!_&&(g.value=""),!le){b.value=!1,l.value=null;return}b.value=Fe(le),y=setTimeout(()=>{let L=le.trim(),ie=!1;const me=[];/^https?:\/\//i.test(L)&&(L=L.replace(/^https?:\/\//i,""),ie=!0,me.push("protocol prefix")),/^www\./i.test(L)&&(L=L.replace(/^www\./i,""),ie=!0,me.push("www prefix")),L.includes("/")&&(L=L.split("/")[0],ie=!0,me.push("paths/slashes")),/\.[a-z]{2,}\.+$/i.test(L)&&(L=L.replace(/\.+$/,""),ie=!0),ie&&L!==le&&(_=!0,o.value=L,g.value=`Domain automatically cleaned (removed: ${me.join(", ")})`,b.value=Fe(L),setTimeout(()=>{_=!1},100))},800)});const ye=()=>{p.value=!0,s.value=null,l.value=null},ce=async()=>
110{if(s.value=null,i.value=[],l.value=null,!o.value){l.value="Please enter a domain name.";return}const le=jm(o.value);if(le!==o.value&&(o.value=le),b.value=Fe(le),!b.value&&!lu(le)){l.value="Please enter a valid domain name (e.g., yourdomain.com).";return}g.value="",r.value=le;const L=le,ie=L.toLowerCase(),me=fe.find(be=>ie.includes(be));if(me){l.value=ge(me);return}if(lu(L)){l.value=bd;return}const Te=L.split(".").pop().toLowerCase();if(!Ie.includes(Te)){l.value=O9;return}try{d.value=!0;const be=G.admin?await O(L,"/admin/godaddy/suggest-domain",G.agentCode):await j(L,G.agentCode);be.error?(l.value=na(be.message||be.reason,yd),s.value=null):Array.isArray(be)?(s.value={available:!1,domain:L},i.value=be,l.value="This domain is unavailable for purchase. Please try a different option."):(s.value=be,i.value=[],be.available&&(be.price>25e6?(l.value="The cost of this domain exceeds your subscription limit.",p.value=!0):p.value=!1))}catch(be){console.error("Critical error in handleCheck:",be),l.value="An unexpected client-side error occurred."}finally{d.value=!1}},Re=()=>{m.value=0,h=setInterval(()=>{m.value++},1e3)},Ce=()=>{h&&(clearInterval(h),h=null)};ps(()=>{Ce()});const De=le=>{F.value=le,I.value=!0},ot=()=>{I.value=!1,F.value=""},U=async()=>{I.value=!1;const le=F.value;u.value=!0,c.value=null,E.value=[],A.value=0,i.value=[],n("register-provisioning-started"),Re();try{A.value=1,k.value="Registering your website...";const L=G.admin?"/admin/godaddy":"/my/godaddy",ie={domain:le};G.agentCode&&(ie.agent_code=G.agentCode);const me=await vt.post(`${L}/purchase-domain-step1`,ie);if(!me.data.success){c.value={success:!1,message:Bm},u.value=!1,Ce(),n("register-provisioning-failed");return}W.value=le,Y.value=!1,E.value.push({status:"success",message:"Website successfully registered"});const{orderId:Te}=me.data;A.value=2,k.value="Creating your website...";const be={domain:le,orderId:Te};G.agentCode&&(be.agent_code=G.agentCode);const Ee=await vt.post(`${L}/purchase-domain-step2`,be);if(!Ee.data.success){c.value={success:!1,message:mi,steps:E.value,canRetrySetup:!0},Y.value=!0,u.value=!1,Ce();return}E.value.push({status:"success",message:"Website created successfully"});const{zoneId:_e,nameServers:Se}=Ee.data;A.value=3,k.value="Configuring your website...";const Oe={domain:le,orderId:Te,zoneId:_e,nameServers:Se};if(G.agentCode&&(Oe.agent_code=G.agentCode),!(await vt.post(`${L}/purchase-domain-step3`,Oe)).data.success){c.value={success:!1,message:mi,steps:E.value,canRetrySetup:!0},Y.value=!0,u.value=!1,Ce();return}Y.value=!1,c.value={success:!0,message:"Provisioning has started. Status updates appear below.",orderId:Te,domain:le,zoneId:_e,nameServers:Se,steps:[]}}catch(L){console.error("Purchase failed:",L);const ie=E.value.some(me=>me.message==="Website successfully registered");c.value={success:!1,message:ie?mi:Bm,steps:E.value,canRetrySetup:ie},ie?Y.value=!0:n("register-provisioning-failed")}finally{Ce(),u.value=!1,F.value=""}},Z=async()=>{var me,Te;if(re.value||u.value)return;const le=G.admin?"/admin/godaddy":"/my/godaddy",L={},ie=W.value||((me=G.ocSite)!=null&&me.site_domain&&!String(G.ocSite.site_domain).toLowerCase().includes("domain_pending")?String(G.ocSite.site_domain):"");ie&&(L.domain=ie),G.agentCode&&(L.agent_code=G.agentCode),re.value=!0,u.value=!0,n("register-provisioning-started"),Re(),c.value=null;try{const be=await vt.post(`${le}/resume-incomplete-purchase`,L);if(!((Te=be.data)!=null&&Te.success)){c.value={success:!1,message:mi,canRetrySetup:!0},Y.value=!0;return}Y.value=!1,W.value=be.data.domain||ie,c.value={success:!0,message:"Provisioning has started. Status updates appear below.",domain:be.data.domain||ie,zoneId:be.data.zoneId,nameServers:be.data.nameServers,orderId:be.data.orderId,steps:[]},n("domain-configured",{domain:be.data.domain||ie})}catch(be){console.error("Resume purchase failed:",be),c.value={success:!1,message:mi,canRetrySetup:!0},Y.value=!0}finally{Ce(),re.value=!1,u.value=!1}},pe=w(()=>c.value&&c.value.success);return we(c,le=>{var L;le&&le.success&&n("domain-configured",{domain:((L=s.value)==null?void 0:L.domain)||o.value})}),(le,L)=>(v(),x(de,null,[a("div",zN,[oe.value&&!Q.value?(v(),x(de,{key:0},[u.value||re.value?(v(),x("div",jN,L[7]||(L[7]=[a("span",{class:"shrink-0 inline-flex w-5 h-5 items-center justify-center self-center","aria-hidden":"true"},[a("i",{class:"icon icon-info-circle-q text-[#1849A9] body-20"})],-1),a("p",{class:"body-15 text-[#1849A9] m-0"},"Finishing website setup. This may take a few minutes.",-1)]))):(v(),x("div",UN,[ne.value?D("",!0):(v(),x("div",HN,[L[9]||(L[9]=a("span",{class:"shrink-0 inline-flex w-5 h-5 items-center justify-center mt-0.5 text-[#934802]","aria-hidden":"true"},[a("i",{class:"icon icon-alert-triangle-q body-20"})],-1)),a("p",WN,V(f(_S)),1),a("button",{type:"button",class:"shrink-0 text-[#934802] hover:opacity-70","aria-label":"Dismiss alert",onClick:L[0]||(L[0]=ie=>ne.value=!0)},L[8]||(L[8]=[a("i",{class:"icon icon-close-q body-18"},null,-1)]))])),C(f(bt),{type:"button",preset:"royal",class:"body-16 py-[7px] inline-block w-fit",loading:re.value,disabled:re.value,onClick:Z},{default:$(()=>L[10]||(L[10]=[T(" Retry setup ")])),_:1,__:[10]},8,["loading","disabled"])]))],64)):Q.value?(v(),x(de,{key:1},[L[14]||(L[14]=a("div",{class:"domain-available-banner mb-[1em] rounded-[6px] border border-[#1849A9] py-2 px-4 flex flex-row items-center gap-4 bg-[#E8EDF6]",role:"status"},[a("span",{class:"shrink-0 inline-flex w-5 h-5 items-center justify-center self-center","aria-hidden":"true"},[a("i",{class:"icon icon-info-circle-q text-[#1849A9] body-20"})]),a("p",{class:"body-15 text-[#1849A9] m-0"},"Registration sequence in progress. This may take a few minutes.")],-1)),a("div",qN,[L[11]||(L[11]=a("label",{for:"domainInputProvisioning",class:"body-15 text-[#111827]"},[a("span",{class:"text-[#B42318] mr-[2px]","aria-hidden":"true"},"*"),T("Enter Your Domain")],-1)),C(f(Nl),{"model-value":ae.value,type:"text",placeholder:"MyAgency.com",class:"w-full domain-in
110put-with-clear",id:"domainInputProvisioning","aria-describedby":"domainHelpProvisioning",disabled:""},null,8,["model-value"]),L[12]||(L[12]=a("p",{id:"domainHelpProvisioning",class:"body-12 text-[#707070] m-0"}," Available top-level domains: .com, .net, .org, .us, .web, .info, .site, .io, .agency. Restricted terms Quility, Quigley, Symmetry, or SFG cannot be registered. ",-1))]),a("div",GN,[C(f(bt),{type:"button",class:"body-16 py-[7px] inline-block w-fit register-domain-btn register-domain-btn--inactive",disabled:""},{default:$(()=>L[13]||(L[13]=[a("span",{class:"register-domain-btn__content"},[T(" Registering... "),a("span",{class:"register-domain-btn__spinner","aria-hidden":"true"})],-1)])),_:1,__:[13]})]),a("div",YN,[(v(),x(de,null,Be(ee,(ie,me)=>a("div",{key:me,class:"step-item flex items-start gap-[10px]"},[a("span",KN,[K.value[me]==="complete"?(v(),x("i",QN)):D("",!0)]),a("p",{class:xe(["body-14 flex-1 m-0",K.value[me]==="complete"||K.value[me]==="active"?"text-[#111827]":"text-[#707070]"])},V(ie),3)])),64))])],64)):s.value&&!s.value.available?(v(),x(de,{key:2},[z.value?D("",!0):(v(),x("div",XN,[L[18]||(L[18]=a("span",{class:"domain-unavailable-alert__icon shrink-0 inline-flex w-5 h-5 mt-0.5","aria-hidden":"true"},[a("svg",{class:"w-5 h-5",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},[a("path",{d:"M10.0013 6.66797V10.0013M10.0013 13.3346H10.0096M1.66797 7.10359V12.899C1.66797 13.1028 1.66797 13.2048 1.69099 13.3007C1.71141 13.3857 1.74508 13.467 1.79077 13.5415C1.8423 13.6256 1.91437 13.6977 2.05849 13.8418L6.16078 17.9441C6.3049 18.0882 6.37697 18.1603 6.46106 18.2118C6.53562 18.2575 6.61691 18.2912 6.70194 18.3116C6.79785 18.3346 6.89976 18.3346 7.10359 18.3346H12.899C13.1028 18.3346 13.2048 18.3346 13.3007 18.3116C13.3857 18.2912 13.467 18.2575 13.5415 18.2118C13.6256 18.1603 13.6977 18.0882 13.8418 17.9441L17.9441 13.8418C18.0882 13.6977 18.1603 13.6256 18.2118 13.5415C18.2575 13.467 18.2912 13.3857 18.3116 13.3007C18.3346 13.2048 18.3346 13.1028 18.3346 12.899V7.10359C18.3346 6.89976 18.3346 6.79785 18.3116 6.70194C18.2912 6.61691 18.2575 6.53562 18.2118 6.46106C18.1603 6.37697 18.0882 6.3049 17.9441 6.16078L13.8418 2.05849C13.6977 1.91437 13.6256 1.8423 13.5415 1.79077C13.467 1.74508 13.3857 1.71141 13.3007 1.69099C13.2048 1.66797 13.1028 1.66797 12.899 1.66797H7.10359C6.89976 1.66797 6.79785 1.66797 6.70194 1.69099C6.61691 1.71141 6.53562 1.74508 6.46106 1.79077C6.37697 1.8423 6.3049 1.91437 6.16078 2.05849L2.05849 6.16078C1.91437 6.3049 1.8423 6.37697 1.79077 6.46106C1.74508 6.53562 1.71141 6.61691 1.69099 6.70194C1.66797 6.79785 1.66797 6.89976 1.66797 7.10359Z",stroke:"#B42318","stroke-width":"1.66667","stroke-linecap":"round","stroke-linejoin":"round"})])],-1)),a("p",JN,[L[15]||(L[15]=T("Sorry ")),a("strong",null,V(r.value),1),L[16]||(L[16]=T(" is unavailable."))]),a("button",{type:"button",class:"shrink-0 text-[#B42318] hover:opacity-70","aria-label":"Dismiss alert",onClick:L[1]||(L[1]=ie=>z.value=!0)},L[17]||(L[17]=[a("i",{class:"icon icon-close-q body-18"},null,-1)]))])),i.value.length>0?(v(),x("div",ZN,[L[19]||(L[19]=a("h4",{class:"mb-4 font-normal"},"Here are some alternatives:",-1)),a("ul",e9,[(v(!0),x(de,null,Be(i.value,ie=>(v(),x("li",{key:ie.domain},V(typeof ie=="string"?ie:ie.domain),1))),128))])])):D("",!0)],64)):s.value&&s.value.available&&s.value.price>25e6?(v(),x(de,{key:3},[z.value?D("",!0):(v(),x("div",t9,[L[23]||(L[23]=a("span",{class:"domain-unavailable-alert__icon shrink-0 inline-flex w-5 h-5 mt-0.5","aria-hidden":"true"},[a("svg",{class:"w-5 h-5",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},[a("path",{d:"M10.0013 6.66797V10.0013M10.0013 13.3346H10.0096M1.66797 7.10359V12.899C1.66797 13.1028 1.66797 13.2048 1.69099 13.3007C1.71141 13.3857 1.74508 13.467 1.79077 13.5415C1.8423 13.6256 1.91437 13.6977 2.05849 13.8418L6.16078 17.9441C6.3049 18.0882 6.37697 18.1603 6.46106 18.2118C6.53562 18.2575 6.61691 18.2912 6.70194 18.3116C6.79785 18.3346 6.89976 18.3346 7.10359 18.3346H12.899C13.1028 18.3346 13.2048 18.3346 13.3007 18.3116C13.3857 18.2912 13.467 18.2575 13.5415 18.2118C13.6256 18.1603 13.6977 18.0882 13.8418 17.9441L17.9441 13.8418C18.0882 13.6977 18.1603 13.6256 18.2118 13.5415C18.2575 13.467 18.2912 13.3857 18.3116 13.3007C18.3346 13.2048 18.3346 13.1028 18.3346 12.899V7.10359C18.3346 6.89976 18.3346 6.79785 18.3
110116 6.70194C18.2912 6.61691 18.2575 6.53562 18.2118 6.46106C18.1603 6.37697 18.0882 6.3049 17.9441 6.16078L13.8418 2.05849C13.6977 1.91437 13.6256 1.8423 13.5415 1.79077C13.467 1.74508 13.3857 1.71141 13.3007 1.69099C13.2048 1.66797 13.1028 1.66797 12.899 1.66797H7.10359C6.89976 1.66797 6.79785 1.66797 6.70194 1.69099C6.61691 1.71141 6.53562 1.74508 6.46106 1.79077C6.37697 1.8423 6.3049 1.91437 6.16078 2.05849L2.05849 6.16078C1.91437 6.3049 1.8423 6.37697 1.79077 6.46106C1.74508 6.53562 1.71141 6.61691 1.69099 6.70194C1.66797 6.79785 1.66797 6.89976 1.66797 7.10359Z",stroke:"#B42318","stroke-width":"1.66667","stroke-linecap":"round","stroke-linejoin":"round"})])],-1)),a("p",n9,[L[20]||(L[20]=T("Sorry, ")),a("strong",null,V(r.value),1),L[21]||(L[21]=T(" is not available for purchase through your subscription."))]),a("button",{type:"button",class:"shrink-0 text-[#B42318] hover:opacity-70","aria-label":"Dismiss alert",onClick:L[2]||(L[2]=ie=>z.value=!0)},L[22]||(L[22]=[a("i",{class:"icon icon-close-q body-18"},null,-1)]))])),L[24]||(L[24]=a("div",{class:"body-14 text-[#707070] mb-4"},[a("p",{class:"m-0"},[T("If you wish to purchase this domain, please do so on your own. Then return here once you own the domain and continue this signup process by selecting the "),a("strong",null,'"I already have a registered domain"'),T(" option above.")])],-1))],64)):s.value&&s.value.available&&s.value.price<=25e6&&!Q.value?(v(),x(de,{key:4},[u.value||pe.value?(v(),x("div",o9,L[25]||(L[25]=[a("span",{class:"shrink-0 inline-flex w-5 h-5 items-center justify-center self-center","aria-hidden":"true"},[a("i",{class:"icon icon-info-circle-q text-[#1849A9] body-20"})],-1),a("p",{class:"body-15 text-[#1849A9] m-0"},"Registration sequence in progress. This may take a few minutes.",-1)]))):(v(),x("div",r9,[L[27]||(L[27]=a("span",{class:"shrink-0 inline-flex w-5 h-5","aria-hidden":"true"},[a("i",{class:"icon icon-checkmark-q text-[#08623C] body-20"})],-1)),a("p",a9,[a("strong",null,V(s.value.domain),1),L[26]||(L[26]=T(" is available for registration."))])]))],64)):D("",!0),!pe.value&&!Q.value&&!oe.value?(v(),x("form",{key:5,id:"goDaddyDomain",onSubmit:He(ce,["prevent"]),class:"flex flex-col gap-[12px] w-full"},[L[30]||(L[30]=a("label",{for:"domainInput",class:"body-15 text-[#111827]"},[a("span",{class:"text-[#B42318] mr-[2px]","aria-hidden":"true"},"*"),T("Enter Your Domain")],-1)),C(f(Nl),{modelValue:o.value,"onUpdate:modelValue":L[3]||(L[3]=ie=>o.value=ie),type:"text",placeholder:"MyAgency.com",class:xe(["w-full domain-input-with-clear",{"domain-input--error":l.value}]),id:"domainInput","aria-describedby":"domainHelp","aria-required":"true",required:"",clearable:"","clearable-icon":"icon-x-close-q",onInput:ye},{appendInner:$(()=>[l.value?(v(),x("span",s9,L[28]||(L[28]=[a("svg",{class:"domain-input-error-icon__svg",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},[a("path",{d:"M10.0013 6.66797V10.0013M10.0013 13.3346H10.0096M1.66797 7.10359V12.899C1.66797 13.1028 1.66797 13.2048 1.69099 13.3007C1.71141 13.3857 1.74508 13.467 1.79077 13.5415C1.8423 13.6256 1.91437 13.6977 2.05849 13.8418L6.16078 17.9441C6.3049 18.0882 6.37697 18.1603 6.46106 18.2118C6.53562 18.2575 6.61691 18.2912 6.70194 18.3116C6.79785 18.3346 6.89976 18.3346 7.10359 18.3346H12.899C13.1028 18.3346 13.2048 18.3346 13.3007 18.3116C13.3857 18.2912 13.467 18.2575 13.5415 18.2118C13.6256 18.1603 13.6977 18.0882 13.8418 17.9441L17.9441 13.8418C18.0882 13.6977 18.1603 13.6256 18.2118 13.5415C18.2575 13.467 18.2912 13.3857 18.3116 13.3007C18.3346 13.2048 18.3346 13.1028 18.3346 12.899V7.10359C18.3346 6.89976 18.3346 6.79785 18.3116 6.70194C18.2912 6.61691 18.2575 6.53562 18.2118 6.46106C18.1603 6.37697 18.0882 6.3049 17.9441 6.16078L13.8418 2.05849C13.6977 1.91437 13.6256 1.8423 13.5415 1.79077C13.467 1.74508 13.3857 1.71141 13.3007 1.69099C13.2048 1.66797 13.1028 1.66797 12.899 1.66797H7.10359C6.89976 1.66797 6.79785 1.66797 6.70194 1.69099C6.61691 1.71141 6.53562 1.74508 6.46106 1.79077C6.37697 1.8423 6.3049 1.91437 6.16078 2.05849L2.05849 6.16078C1.91437 6.3049 1.8423 6.37697 1.79077 6.46106C1.74508 6.53562 1.71141 6.61691 1.69099 6.70194C1.66797 6.79785 1.66797 6.89976 1.66797 7.10359Z",stroke:"#B42318","stroke-width":"1.66667","stroke-linecap":"round","stroke-linejoin":"round"})],-1)]))):D("",!0)]),_:1},8,["modelValue","class"]),g.value?(v(),x("div",i9,[L[29]||(L[29]=a("i",{class:"icon icon-info-circle-q"},null,-1)),T(" "+V(g.value),1)])):D("",!0),a("div",l9,[l.value?D("",!0):(v(),x("p",u9," Available top-level domains: .com, .net, .org, .us, .web, .info, .site, .io, .agency. Restricted terms Quility, Quigley, Symmetry, or SFG cannot be registered. ")),l.value?(v(),x("p",c9,V(l.value),1)):D("",!0)]),p.value?(v(),X(f(bt),{key:1,type:"submit",preset:"royal",class:xe(["check-availability-btn py-[7px] inline-block w-fit",{"check-availability-btn--disabled":!B.value||d.value||!!l.value||s.value&&!s.value.available||s.value&&s.value.available&&s.value.price>25e6}]),disabled:!B.value||d.value||!!l.value||s.value&&!s.value.available||s.value&&s.value.available&&s.value.price>25e6},{default:$(()=>[T(V(d.value?"Searching...":"Check Availability"),1)]),_:1},8,["class","disabled"])):D("",!0)],32)):D("",!0),s.value&&s.value.available&&s.value.price<=25e6&&!Q.value&&!oe.value?(v(),x(de,{key:6}
110,[pe.value?u.value||c.value&&c.value.success?(v(),x("div",p9,[C(f(bt),{type:"button",class:"body-16 py-[7px] inline-block w-fit register-domain-btn register-domain-btn--inactive",disabled:""},{default:$(()=>[a("span",m9,[L[31]||(L[31]=T(" Registering... ")),u.value?(v(),x("span",h9)):D("",!0)])]),_:1})])):D("",!0):(v(),x("form",{key:0,id:"purchaseDomain",onSubmit:L[4]||(L[4]=He(ie=>De(s.value.domain),["prevent"])),class:"flex flex-col gap-3"},[C(f(Nl),{type:"hidden",name:"domain",class:"hidden",value:s.value.domain},null,8,["value"]),C(f(bt),{type:"submit",preset:"royal",class:xe(["body-16 py-[7px] inline-block w-fit register-domain-btn",{"register-domain-btn--inactive":u.value||pe.value}]),disabled:u.value},{default:$(()=>[a("span",d9,[T(V(u.value?"Registering...":"Register Domain")+" ",1),u.value?(v(),x("span",f9)):D("",!0)])]),_:1},8,["class","disabled"])],32)),u.value||c.value&&c.value.success?(v(),x("div",g9,[P.value?(v(),x("div",v9,L[32]||(L[32]=[a("span",{class:"shrink-0 inline-flex w-5 h-5 items-center justify-center self-center","aria-hidden":"true"},[a("i",{class:"icon icon-info-circle-q text-[#1849A9] body-20"})],-1),a("span",{class:"body-15 text-[#1849A9]"},"Website setup is taking longer than usual. This is normal for new websites. Please be patient.",-1)]))):D("",!0),(v(),x(de,null,Be(ee,(ie,me)=>a("div",{key:me,class:"step-item flex items-start gap-[10px]"},[a("span",y9,[K.value[me]==="complete"?(v(),x("i",b9)):D("",!0)]),a("p",{class:xe(["body-14 flex-1 m-0",K.value[me]==="complete"||K.value[me]==="active"?"text-[#111827]":"text-[#707070]"])},V(ie),3)])),64))])):D("",!0),c.value&&!c.value.success?(v(),x("div",w9,[c.value.steps&&c.value.steps.length>0?(v(),x("div",_9,[(v(!0),x(de,null,Be(c.value.steps,(ie,me)=>(v(),x("div",{key:me,class:"step-item mb-[1em] text-secondary"},[a("div",x9,[L[33]||(L[33]=a("i",{class:"icon icon-checkmark-q bold body-20 mr-[10px] mt-[2px]"},null,-1)),a("p",S9,V(ie.message),1)])]))),128))])):D("",!0),N.value?D("",!0):(v(),x("div",C9,[L[35]||(L[35]=a("i",{class:"icon icon-alert-triangle-q absolute body-20"},null,-1)),a("p",k9,V(c.value.message),1),a("button",{type:"button",class:"absolute top-[16px] right-[16px] text-[#B42318] hover:opacity-70","aria-label":"Dismiss alert",onClick:L[5]||(L[5]=ie=>N.value=!0)},L[34]||(L[34]=[a("i",{class:"icon icon-close-q body-18"},null,-1)]))])),c.value.canRetrySetup?(v(),x("div",$9,[C(f(bt),{type:"button",preset:"royal",class:"body-16 py-[7px] inline-block w-fit",loading:re.value,disabled:re.value,onClick:Z},{default:$(()=>L[36]||(L[36]=[T(" Retry setup ")])),_:1,__:[36]},8,["loading","disabled"])])):D("",!0)])):D("",!0)],64)):D("",!0)]),C(f(Li),{modelValue:I.value,"onUpdate:modelValue":L[6]||(L[6]=ie=>I.value=ie),"mobile-fullscreen":!1,"allow-body-scroll":"","close-button":"","hide-default-actions":"","max-width":"702px",class:"confirm-domain-registration-modal"},{default:$(()=>[a("div",A9,[L[43]||(L[43]=a("h3",{class:"font-bold text-[#111827] body-25 m-0"},"Confirm Domain Registration",-1)),a("p",T9,[L[37]||(L[37]=T(" Are you sure you want to register ")),a("strong",null,V(F.value),1),L[38]||(L[38]=T("? "))]),a("p",E9,[L[39]||(L[39]=T(" By clicking Register Domain, you agree to register this domain and assign it to your Hatch site. Once registered, ")),a("strong",null,V(F.value),1),L[40]||(L[40]=T(" is permanently tied to your site and can't be changed. "))]),a("div",P9,[C(f(bt),{preset:"whiteAlt",class:"px-[0.5rem] py-[7px] border-2",onClick:ot},{default:$(()=>L[41]||(L[41]=[T(" Cancel ")])),_:1,__:[41]}),C(f(bt),{preset:"royal",class:"px-[0.5rem] py-[7px]",onClick:U},{default:$(()=>L[42]||(L[42]=[T(" Register Domain ")])),_:1,__:[42]})])])]),_:1},8,["modelValue"])],64))}}),D9={class:"rounded-[6px] border border-[#E5E7EB] p-4 flex flex-col gap-3 mt-3 max-w-md"},M9={class:"w-full"},R9={class:"flex flex-col gap-[12px] w-full"},L9={key:0,class:"domain-input-error-icon shrink-0","aria-hidden":"true"},V9={key:0,id:"byod-domain-help",class:"body-12 text-[#707070] m-0"},B9={key:1,class:"body-12 text-[#B42318] m-0",role:"alert"},F9={key:0,class:"tip-box body-15 bg-royalblue/10 rounded-[4px] p-[8px]"},N9={class:"flex flex-col gap-3"},z9={key:0,class:"h-0.5 mt-3"},j9=$e({__name:"CloudflareConfig",props:{agentCode:{type:String,default:null},checkingDomain:{type:Boolean,default:!1}},emits:["nameservers-retrieved","request-toggle","domain-configured","byod-use-domain"],setup(e,{emit:t}){const n=t,o=M(""),r=M(""),s=M(!1),i=M(null),l=["quility","quigley","sfg","sfglife","symmetry"];let u=null,c=!1;function d(h){return SS(h)}function p(h){lu(jm(h))&&(i.value=bd,s.value=!1)}we(o,h=>{if(u&&clearTimeout(u),r.value&&!c&&(r.value=""),i.value=null,!h){s.value=!1;return}s.value=d(h),p(h),u=setTimeout(()=>{let g=h.trim(),b=!1;const y=[];/^https?:\/\//i.test(g)&&(g=g.replace(/^https?:\/\//i,""),b=!0,y.push("protocol prefix")),/^www\./i.test(g)&&(g=g.replace(/^www\./i,""),b=!0,y.push("www prefix")),g.includes("/")&&(g=g.split("/")[0],b=!0,y.push("paths/slashes")),/\.[a-z]{2,}\.+$/i.test(g)&&(g=g.replace(/\.+$/,""),b=!0),b&&g!==h&&(c=!0,o.value=g,r.value=`Domain automatically cleaned (removed: ${y.join(", ")})`,s.value=d(g),p(g),setTimeout(()=>{c=!1},100))},800)});const m=async()=>
110{if(console.log("handleSetupDomain function called"),console.log("Domain value is:",o.value),!o.value){alert("Please enter a domain name.");return}const h=jm(o.value);if(h!==o.value&&(o.value=h),s.value=d(h),lu(h)){i.value=bd,s.value=!1;return}if(!s.value){alert("Please enter a valid domain name (e.g., yourdomain.com).");return}const g=o.value.toLowerCase(),b=l.find(y=>g.includes(y));if(b){const y=b.charAt(0).toUpperCase()+b.slice(1);i.value=`This domain name contains a restricted term "${y}" and cannot be registered.`;return}r.value="",i.value=null,n("byod-use-domain",{domain:o.value.trim()})};return(h,g)=>(v(),x("div",D9,[a("div",M9,[a("form",{id:"bringYourOwnDomain",class:"flex flex-col gap-[12px] w-full",onSubmit:He(m,["prevent"])},[a("div",R9,[g[2]||(g[2]=a("label",{for:"byod-domain-input",class:"body-15 text-[#111827]"},[a("span",{class:"text-[#B42318] mr-[2px]","aria-hidden":"true"},"*"),T("Enter Your Domain")],-1)),C(f(Nl),{id:"byod-domain-input",modelValue:o.value,"onUpdate:modelValue":g[0]||(g[0]=b=>o.value=b),type:"text",placeholder:"yourdomain.com",class:xe(["w-full domain-input-with-clear max-w-none",{"domain-input--error":i.value}]),"aria-describedby":"byod-domain-help",clearable:"","clearable-icon":"icon-x-close-q"},{appendInner:$(()=>[i.value?(v(),x("span",L9,g[1]||(g[1]=[a("svg",{class:"domain-input-error-icon__svg",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},[a("path",{d:"M10.0013 6.66797V10.0013M10.0013 13.3346H10.0096M1.66797 7.10359V12.899C1.66797 13.1028 1.66797 13.2048 1.69099 13.3007C1.71141 13.3857 1.74508 13.467 1.79077 13.5415C1.8423 13.6256 1.91437 13.6977 2.05849 13.8418L6.16078 17.9441C6.3049 18.0882 6.37697 18.1603 6.46106 18.2118C6.53562 18.2575 6.61691 18.2912 6.70194 18.3116C6.79785 18.3346 6.89976 18.3346 7.10359 18.3346H12.899C13.1028 18.3346 13.2048 18.3346 13.3007 18.3116C13.3857 18.2912 13.467 18.2575 13.5415 18.2118C13.6256 18.1603 13.6977 18.0882 13.8418 17.9441L17.9441 13.8418C18.0882 13.6977 18.1603 13.6256 18.2118 13.5415C18.2575 13.467 18.2912 13.3857 18.3116 13.3007C18.3346 13.2048 18.3346 13.1028 18.3346 12.899V7.10359C18.3346 6.89976 18.3346 6.79785 18.3116 6.70194C18.2912 6.61691 18.2575 6.53562 18.2118 6.46106C18.1603 6.37697 18.0882 6.3049 17.9441 6.16078L13.8418 2.05849C13.6977 1.91437 13.6256 1.8423 13.5415 1.79077C13.467 1.74508 13.3857 1.71141 13.3007 1.69099C13.2048 1.66797 13.1028 1.66797 12.899 1.66797H7.10359C6.89976 1.66797 6.79785 1.66797 6.70194 1.69099C6.61691 1.71141 6.53562 1.74508 6.46106 1.79077C6.37697 1.8423 6.3049 1.91437 6.16078 2.05849L2.05849 6.16078C1.91437 6.3049 1.8423 6.37697 1.79077 6.46106C1.74508 6.53562 1.71141 6.61691 1.69099 6.70194C1.66797 6.79785 1.66797 6.89976 1.66797 7.10359Z",stroke:"#B42318","stroke-width":"1.66667","stroke-linecap":"round","stroke-linejoin":"round"})],-1)]))):D("",!0)]),_:1},8,["modelValue","class"]),i.value?D("",!0):(v(),x("p",V9,"We'll guide you through repointing your nameservers after you continue. Available top-level domains: .com, .net, .org, .us, .web, .info, .site, .io. Restricted terms (e.g. Quility, Quigley, SFG, SFGLife, Symmetry) cannot be used.")),i.value?(v(),x("p",B9,V(i.value),1)):D("",!0)]),r.value?(v(),x("div",F9,[g[3]||(g[3]=a("i",{class:"icon icon-info-circle-q"},null,-1)),T(" "+V(r.value),1)])):D("",!0),a("div",N9,[C(f(bt),{type:"button",preset:"royal",class:xe(["use-domain-btn body-16 py-[7px] inline-block w-fit border-2",{"use-domain-btn--inactive":!s.value||!!i.value}]),disabled:!s.value||!!i.value||e.checkingDomain,onClick:m},{default:$(()=>g[4]||(g[4]=[T(" Use Domain ")])),_:1,__:[4]},8,["class","disabled"]),e.checkingDomain?(v(),x("div",z9,[C(f(qg),{indeterminate:"",size:2})])):D("",!0)])],32)])]))}}),U9={class:"form-row mb-3"},H9={class:"basis-full pb-0"},W9={class:"form-label va-input-label","aria-required":"true"},q9={class:"body-15 mb-[1em]"},G9={class:"mb-2"},Y9={key:0,class:"rounded-[6px] border border-[#E5E7EB] pt-4 px-4 pb-2 flex flex-col gap-3 mt-3 max-w-md"},K9={class:"mt-3 mb-0"},Q9={key:0,class:"w-full mt-3"},vl="I want to register a new domain.",Ep="I already have a registered domain.",CS=$e({__name:"DomainChoiceSection",props:{admin:{type:Boolean},agentCode:{default:null},forcedSelectedOption:{default:null},registerDomainPrefill:{default:null},byodChecking:{type:Boolean,default:!1},ocSite:{default:null}},emits:["nameservers-retrieved","request-toggle","domain-configured","
110selected-option","byod-use-domain","register-provisioning-started","register-provisioning-failed"],setup(e,{emit:t}){const n=t,o=e,r=M(),s=M(!1);let i=!1;const l=M(!1),u=()=>{const A=o.ocSite;return A?A.cloudflare_zone_id?!0:!!(A.site_domain&&A.site_domain!==""&&!String(A.site_domain).toLowerCase().includes("domain_pending")):!1},c=()=>{const A=o.ocSite;return((A==null?void 0:A.site_domain_owner)||"").toLowerCase()==="agent"},d=()=>{const A=o.ocSite;return A?A.domain_purchase_id?!0:(A.site_domain_owner||"").toLowerCase()==="quility":!1},p=w(()=>l.value||d()?!0:u()?!c():!1);async function m(){s.value||!u()&&!d()||(i=!0,r.value=c()&&!d()?Ep:vl,await Ct(),i=!1)}rt(m),we(()=>o.ocSite,m,{deep:!0}),we(p,async A=>{A&&r.value!==vl&&(i=!0,r.value=vl,await Ct(),i=!1)},{immediate:!0}),we(r,(A,k)=>{n("selected-option",A),!i&&(k===void 0&&A===void 0||(s.value=!0))},{immediate:!0}),we(()=>o.forcedSelectedOption,async A=>{A&&(i=!0,r.value=A,await Ct(),i=!1)},{immediate:!0});function h(A){n("nameservers-retrieved",A)}function g(){n("request-toggle")}function b(A){n("domain-configured",{domain:A.domain,option:String(r.value)})}function y(){l.value=!0,n("register-provisioning-started")}function _(){d()||(l.value=!1),n("register-provisioning-failed")}return(A,k)=>(v(),x("div",U9,[a("div",H9,[a("label",W9,[a("p",q9,[k[4]||(k[4]=a("span",{class:"text-[#B42318] mr-[2px]","aria-hidden":"true"},"*",-1)),k[5]||(k[5]=T("Site Domain Setup ")),C(f(yS),{placement:"right","auto-placement":!0,message:"Once submitted, you cannot change your domain name. Double check for accuracy before continuing."},{default:$(()=>k[3]||(k[3]=[a("i",{class:"text-royalblue icon icon-info-circle-q ml-[2px]"},null,-1)])),_:1,__:[3]})])]),a("div",G9,[C(f(Vm),{modelValue:r.value,"onUpdate:modelValue":k[0]||(k[0]=E=>r.value=E),option:vl,class:"body-15 font-normal",name:"domain-choice-radio"},null,8,["modelValue"])]),r.value===vl?(v(),x("div",Y9,[C(I9,{admin:A.admin,"agent-code":A.agentCode,"prefill-domain":A.registerDomainPrefill||"","oc-site":A.ocSite,onDomainConfigured:b,onRegisterProvisioningStarted:y,onRegisterProvisioningFailed:_},null,8,["admin","agent-code","prefill-domain","oc-site"])])):D("",!0),p.value?D("",!0):(v(),x(de,{key:1},[a("div",K9,[C(f(Vm),{modelValue:r.value,"onUpdate:modelValue":k[1]||(k[1]=E=>r.value=E),option:Ep,class:"body-15 font-normal",name:"domain-choice-radio"},null,8,["modelValue"])]),r.value===Ep?(v(),x("div",Q9,[C(j9,{"agent-code":A.agentCode,"checking-domain":A.byodChecking,onNameserversRetrieved:h,onRequestToggle:g,onDomainConfigured:b,onByodUseDomain:k[2]||(k[2]=E=>n("byod-use-domain",E))},null,8,["agent-code","checking-domain"])])):D("",!0)],64))])]))}}),X9=["AL","AK","AZ","AR","CA","CO","CT","DE","DC","FL","GA","HI","ID","IL","IN","IA","KS","KY","LA","ME","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","PA","PR","RI","SC","SD","TN","TX","UT","VT","VA","WA","WV","WI","WY"].sort();function D1(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function Ht(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?D1(Object(n),!0).forEach(function(o){xr(e,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):D1(Object(n)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(n,o))})}return e}function xr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function J9(e,t){if(e==null)return{};var n,o,r=function(i,l){if(i==null)return{};var u,c,d={},p=Object.keys(i);for(c=0;c<p.length;c++)u=p[c],l.indexOf(u)>=0||(d[u]=i[u]);return d}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(o=0;o<s.length;o++)n=s[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Gs(e){return function(t){if(Array.isArray(t))return Pp(t)}(e)||function(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}(e)||function(t,n){if(t){if(typeof t=="string")return Pp(t,n);var o=Object.prototype.toString.call(t).slice(8,-1);if(o==="Object"&&t.constructor&&(o=t.constructor.name),o==="Map"||o==="Set")return Array.from(t);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return Pp(t,n)}}(e)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
111In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function Pp(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}var M1,Z9,dc,In=(M1=function(e){/*!
112  Copyright (c) 2018 Jed Watson.
113  Licensed under the MIT License (MIT), see
114  http://jedwatson.github.io/classnames
115*/(function(){var t={}.hasOwnProperty;function n(){for(var o=[],r=0;r<arguments.length;r++){var s=arguments[r];if(s){var i=typeof s;if(i==="string"||i==="number")o.push(s);else if(Array.isArray(s)){if(s.length){var l=n.apply(null,s);l&&o.push(l)}}else if(i==="object")if(s.toString===Object.prototype.toString)for(var u in s)t.call(s,u)&&s[u]&&o.push(u);else o.push(s.toString())}}return o.join(" ")}e.exports?(n.default=n,e.exports=n):window.classNames=n}
115)()},M1(dc={path:Z9,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(t==null&&dc.path)}},dc.exports),dc.exports),Pr=function(e){return function(t,n){if(!t)return e;var o;typeof t=="string"?o=t:n=t;var r=e;return o&&(r+="__"+o),r+(n?Object.keys(n).reduce(function(s,i){var l=n[i];return l&&(s+=" "+(typeof l=="boolean"?r+"--"+i:r+"--"+i+"_"+l)),s},""):"")}};function Um(e,t,n){var o,r,s,i,l;function u(){var d=Date.now()-i;d<t&&d>=0?o=setTimeout(u,t-d):(o=null,n||(l=e.apply(s,r),s=r=null))}t==null&&(t=100);var c=function(){s=this,r=arguments,i=Date.now();var d=n&&!o;return o||(o=setTimeout(u,t)),d&&(l=e.apply(s,r),s=r=null),l};return c.clear=function(){o&&(clearTimeout(o),o=null)},c.flush=function(){o&&(l=e.apply(s,r),s=r=null,clearTimeout(o),o=null)},c}Um.debounce=Um;var Hm=Um,Ze=function(){return Ze=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},Ze.apply(this,arguments)};/*! *****************************************************************************
116Copyright (c) Microsoft Corporation.
117
118Permission to use, copy, modify, and/or distribute this software for any
119purpose with or without fee is hereby granted.
120
121THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
122REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
123AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
124INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
125LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
126OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
127PERFORMANCE OF THIS SOFTWARE.
128***************************************************************************** */function kS(e,t){var n,o;return e&&t?(n=""+e+t[0].toUpperCase()+t.slice(1),o=e+"-"+t):(n=e||t,o=e||t),{name:n,classname:o}}function $S(e){return/^blob:/.test(e)}function R1(e){return $S(e)||function(t){return/^data:/.test(t)}(e)}function ci(e){return!!(e&&e.constructor&&e.call&&e.apply)}function oo(e){return e===void 0}function Lc(e){return typeof e=="object"&&e!==null}function Wm(e,t,n){var o={};return Lc(e)?(Object.keys(t).forEach(function(r){oo(e[r])?o[r]=t[r]:Lc(t[r])?Lc(e[r])?o[r]=Wm(e[r],t[r],n[r]):o[r]=e[r]?t[r]:n[r]:t[r]===!0||t[r]===!1?o[r]=!!e[r]:o[r]=e[r]}),o):e?t:n}function fc(e){var t=Number(e);return Number.isNaN(t)?e:t}function L1(e){return typeof(e=="number"||function(t){return typeof t=="object"&&t!==null}(e)&&toString.call(e)=="[object Number]")&&!AS(e)}function AS(e){return e!=e}function TS(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}var zl=function(e,t){e===void 0&&(e={}),t===void 0&&(t={}),this.type="manipulateImage",this.move=e,this.scale=t},e7=function(e,t){t===void 0&&(t={}),this.type="resize",this.directions=e,this.params=t},Kg=function(e){this.type="move",this.directions=e},t7=function(){function e(t,n,o,r,s){this.type="drag",this.nativeEvent=t,this.position=o,this.previousPosition=r,this.element=n,this.anchor=s}return e.prototype.shift=function(){var t=this,n=t.element,o=t.anchor,r=t.position;if(n){var s=n.getBoundingClientRect(),i=s.left,l=s.top;return{left:r.left-i-o.left,top:r.top-l-o.top}}return{left:0,top:0}},e}(),Qg={name:"DraggableElement",props:{classname:{type:String}},beforeMount:function(){window.addEventListener("mouseup",this.onMouseUp,{passive:!1}),window.addEventListener("mousemove",this.onMouseMove,{passive:!1}),window.addEventListener("touchmove",this.onTouchMove,{passive:!1}),window.addEventListener("touchend",this.onTouchEnd,{passive:!1})},beforeUnmount:function(){window.removeEventListener("mouseup",this.onMouseUp),window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("touchmove",this.onTouchMove),window.removeEventListener("touchend",this.onTouchEnd)},mounted:function(){if(!this.$refs.draggable)throw new Error('You should add ref "draggable" to your root element to use draggable mixin');this.touches=[],this.hovered=!1},methods:{onMouseOver:function(){this.hovered||(this.hovered=!0,this.$emit("enter"))},onMouseLeave:function(){this.hovered&&!this.touches.length&&(this.hovered=!1,this.$emit("leave"))},onTouchStart:function(e){e.cancelable&&!this.disabled&&e.touches.length===1&&(this.touches=Gs(e.touches),this.hovered||(this.$emit("enter"),this.hovered=!0),e.touches.length&&this.initAnchor(this.touches.reduce(function(t,n){return{clientX:t.clientX+n.clientX/e.touches.length,clientY:t.clientY+n.clientY/e.touches.length}},{clientX:0,clientY:0})),e.preventDefault&&e.preventDefault(),e.stopPropagation())},onTouchEnd:function(){this.processEnd()},onTouchMove:function(e){this.touches.length&&(this.processMove(e,e.touches),e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation())},onMouseDown:function(e){if(!this.disabled){var t={fake:!0,clientX:e.clientX,clientY:e.clientY};this.touches=[t],this.initAnchor(t),e.stopPropagation()}},onMouseMove:function(e){this.touches.length&&(this.processMove(e,[{fake:!0,clientX:e.clientX,clientY:e.clientY}]),e.preventDefault&&e.preventDefault())},onMouseUp:function(){this.processEnd()},initAnchor:function(e){var t=this.$refs.draggable.getBoundingClientRect(),n=t.left,o=t.right,r=t.bottom,s=t.top;this.anchor={left:e.clientX-n,top:e.clientY-s,bottom:r-e.clientY,right:o-e.clientX}},processMove:function(e,t){var n=Gs(t);if(this.touches.length){if(this.touches.length===1&&n.length===1){var o=this.$refs.draggable;this.$emit("drag",new t7(e,o,{left:n[0].clientX,top:n[0].clientY},{left:this.touches[0].clientX,top:this.touches[0].clientY},this.anchor))}this.touches=n}},processEnd:function(){this.touches.length&&this.$emit("drag-end"),this.hovered&&(this.$emit("leave"),this.hovered=!1),this.touches=[]}},emits:["drag","drag-end","leave","enter"]};Qg.render=function(e,t,n,o,r,s){return v(),X("div",{ref:"draggable",class:n.classname,onTouchstart:t[1]||(t[1]=function(){return s.onTouchStart&&s.onTouchStart.apply(s,arguments)}),onMousedown:t[2]||(t[2]=function(){return s.onMouseDown&&s.onMouseDown.apply(s,arguments)}),onMouseover:t[3]||(t[3]=function(){return s.onMouseOver&&s.onMouseOver.apply(s,arguments)}),onMouseleave:t[4]||(t[4]=function(){return s.onMouseLeave&&s.onMouseLeave.apply(s,arguments)})},[se(e.$slots,"default")],34)};var Op=Pr("vue-handler-wrapper"),ES={name:"HandlerWrapper",components:{DraggableElement:Qg},props:{horizontalPosition:{type:String},verticalPosition:{type:String},disabled:{type:Boolean,default:!1}},computed:{classes:function(){var e;if(this.horizontalPosition||this.verticalPosition){var t,n=kS(this.horizontalPosition,this.verticalPosition);e=Op((xr(t={},n.classname,!0),xr(t,"disabled",this.disabled),t))}else e=Op({disabled:this.disabled});return{root:e,draggable:Op("draggable")}}},emits:["leave","enter","drag","drag-end"]};ES.render=function(e,t,n,o,r,s){var i=he("DraggableElement");return v(),X("div",{class:s.classes.root},[C(i,{class:s.classes.draggable,onDrag:t[1]||(t[1]=function(l){return e.$emit("drag",l)}
128),onDragEnd:t[2]||(t[2]=function(l){return e.$emit("drag-end")}),onLeave:t[3]||(t[3]=function(l){return e.$emit("leave")}),onEnter:t[4]||(t[4]=function(l){return e.$emit("enter")})},{default:$(function(){return[se(e.$slots,"default")]}),_:3},8,["class"])],2)};var n7=Pr("vue-line-wrapper"),PS={name:"LineWrapper",components:{DraggableElement:Qg},props:{position:{type:String,required:!0},disabled:{type:Boolean,default:!1}},computed:{classname:function(){var e;return n7((xr(e={},this.position,!0),xr(e,"disabled",this.disabled),e))}},emits:["leave","enter","drag","drag-end"]};PS.render=function(e,t,n,o,r,s){var i=he("DraggableElement");return v(),X(i,{class:s.classname,onDrag:t[1]||(t[1]=function(l){return e.$emit("drag",l)}),onDragEnd:t[2]||(t[2]=function(l){return e.$emit("drag-end")}),onLeave:t[3]||(t[3]=function(l){return e.$emit("leave")}),onEnter:t[4]||(t[4]=function(l){return e.$emit("enter")})},{default:$(function(){return[se(e.$slots,"default")]}),_:3},8,["class"])};var oa=["left","right","top","bottom"],o7=["left","right"],r7=["top","bottom"],a7=["left","top"],s7=["fill-area","fit-area","stencil","none"],V1={left:0,top:0,width:0,height:0};function B1(e,t,n){return!(n=n||["width","height","left","top"]).some(function(o){return e[o]!==t[o]})}function fa(e){return{left:e.left,top:e.top,right:e.left+e.width,bottom:e.top+e.height}}function Ni(e,t){return{left:e.left-t.left,top:e.top-t.top}}function mo(e){return{left:e.left+e.width/2,top:e.top+e.height/2}}function uu(e,t){var n={left:0,top:0,right:0,bottom:0};
128return oa.forEach(function(o){var r=t[o],s=fa(e)[o];n[o]=r!==void 0&&s!==void 0?o==="left"||o==="top"?Math.max(0,r-s):Math.max(0,s-r):0}),n}function Zr(e,t){return{left:e.left-t.left,top:e.top-t.top,width:e.width+t.left+t.right,height:e.height+t.top+t.bottom}}function ff(e){return{left:-e.left,top:-e.top}}function Jo(e,t){return Ze(Ze({},e),{left:e.left+t.left,top:e.top+t.top})}function kr(e,t,n,o){if(t!==1){if(n){var r=mo(e);return{width:e.width*t,height:e.height*t,left:e.left+e.width*(1-t)/2+(n.left-r.left)*(1-t),top:e.top+e.height*(1-t)/2+(n.top-r.top)*(1-t)}}return{width:e.width*t,height:e.height*t,left:e.left+e.width*(1-t)/2,top:e.top+e.height*(1-t)/2}}return e}function Wt(e){return e.width/e.height}function zi(e,t){return Math.min(t.right!==void 0&&t.left!==void 0?(t.right-t.left)/e.width:1/0,t.bottom!==void 0&&t.top!==void 0?(t.bottom-t.top)/e.height:1/0)}function ji(e,t){var n={left:0,top:0},o=uu(e,t);return o.left&&o.left>0?n.left=o.left:o.right&&o.right>0&&(n.left=-o.right),o.top&&o.top>0?n.top=o.top:o.bottom&&o.bottom>0&&(n.top=-o.bottom),n}function Ip(e,t){var n;return t.minimum&&e<t.minimum?n=t.minimum:t.maximum&&e>t.maximum&&(n=t.maximum),n}function OS(e,t){var n=Wt(e),o=Wt(t);return t.width<1/0&&t.height<1/0?n>o?{width:t.width,height:t.width/n}:{width:t.height*n,height:t.height}:t.width<1/0?{width:t.width,height:t.width/n}:t.height<1/0?{width:t.height*n,height:t.height}:e}function IS(e,t){var n=t*Math.PI/180;return{width:Math.abs(e.width*Math.cos(n))+Math.abs(e.height*Math.sin(n)),height:Math.abs(e.width*Math.sin(n))+Math.abs(e.height*Math.cos(n))}}function es(e,t){var n=t*Math.PI/180;return{left:e.left*Math.cos(n)-e.top*Math.sin(n),top:e.left*Math.sin(n)+e.top*Math.cos(n)}}function pf(e,t){var n=uu(ho(e,t),t);return n.left+n.right+n.top+n.bottom?n.left+n.right>n.top+n.bottom?Math.min((e.width+n.left+n.right)/e.width,zi(e,t)):Math.min((e.height+n.top+n.bottom)/e.height,zi(e,t)):1}function ho(e,t,n){n===void 0&&(n=!1);var o=ji(e,t);return Jo(e,n?ff(o):o)}function qm(e){return{width:e.right!==void 0&&e.left!==void 0?e.right-e.left:1/0,height:e.bottom!==void 0&&e.top!==void 0?e.bottom-e.top:1/0}}function i7(e,t){return Ze(Ze({},e),{minWidth:Math.min(t.width,e.minWidth),minHeight:Math.min(t.height,e.minHeight),maxWidth:Math.min(t.width,e.maxWidth),maxHeight:Math.min(t.height,e.maxHeight)})}function DS(e,t,n){n===void 0&&(n=!0);var o={};
128return oa.forEach(function(r){var s=e[r],i=t[r];s!==void 0&&i!==void 0?o[r]=r==="left"||r==="top"?n?Math.max(s,i):Math.min(s,i):n?Math.min(s,i):Math.max(s,i):i!==void 0?o[r]=i:s!==void 0&&(o[r]=s)}),o}function mf(e,t){return DS(e,t,!0)}function F1(e){var t=e.size,n=e.aspectRatio,o=e.ignoreMinimum,r=e.sizeRestrictions;return!!((t.correctRatio||Wt(t)>=n.minimum&&Wt(t)<=n.maximum)&&t.height<=r.maxHeight&&t.width<=r.maxWidth&&t.width&&t.height&&(o||t.height>=r.minHeight&&t.width>=r.minWidth))}function N1(e,t){return Math.pow(e.width-t.width,2)+Math.pow(e.height-t.height,2)}function Aa(e){var t=e.width,n=e.height,o=e.sizeRestrictions,r={minimum:e.aspectRatio&&e.aspectRatio.minimum||0,maximum:e.aspectRatio&&e.aspectRatio.maximum||1/0},s={width:Math.max(o.minWidth,Math.min(o.maxWidth,t)),height:Math.max(o.minHeight,Math.min(o.maxHeight,n))};function i(c,d){return d===void 0&&(d=!1),c.reduce(function(p,m){return F1({size:m,aspectRatio:r,sizeRestrictions:o,ignoreMinimum:d})&&(!p||N1(m,{width:t,height:n})<N1(p,{width:t,height:n}))?m:p},null)}var l=[];r&&[r.minimum,r.maximum].forEach(function(c){c&&l.push({width:s.width,height:s.width/c,correctRatio:!0},{width:s.height*c,height:s.height,correctRatio:!0})}),F1({size:s,aspectRatio:r,sizeRestrictions:o})&&l.push(s);var u=i(l)||i(l,!0);return u&&{width:u.width,height:u.height}}function Gm(e){var t=e.event,n=e.coordinates,o=e.positionRestrictions,r=o===void 0?{}:o,s=Jo(n,t.directions);return Jo(s,ji(s,r))}function l7(e){var t=e.coordinates,n=e.transform,o=e.imageSize,r=e.sizeRestrictions,s=e.positionRestrictions,i=e.aspectRatio,l=e.visibleArea,u=function(d,p){return Gm({coordinates:d,positionRestrictions:s,event:new Kg({left:p.left-d.left,top:p.top-d.top})})},c=Ze({},t);return(Array.isArray(n)?n:[n]).forEach(function(d){var p={};oo((p=typeof d=="function"?d({coordinates:c,imageSize:o,visibleArea:l}):d).width)&&oo(p.height)||(c=function(m,h){var g=Ze(Ze(Ze({},m),Aa({width:h.width,height:h.height,sizeRestrictions:r,aspectRatio:i})),{left:0,top:0});return u(g,{left:m.left,top:m.top})}(c,Ze(Ze({},c),p))),oo(p.left)&&oo(p.top)||(c=u(c,Ze(Ze({},c),p)))}),c}function u7(e){e.event;var t=e.getAreaRestrictions,n=e.boundaries,o=e.coordinates,r=e.visibleArea;e.aspectRatio;var s=e.stencilSize,i=e.sizeRestrictions,l=e.positionRestrictions;e.stencilReference;var u,c,d,p=Ze({},o),m=Ze({},r),h=Ze({},s);u=Wt(h),c=Wt(p),d===void 0&&(d=.001),(u===0||c===0?Math.abs(c-u)<d:Math.abs(c/u)<1+d&&Math.abs(c/u)>1-d)||(p=Ze(Ze({},p),Aa({sizeRestrictions:i,width:p.width,height:p.height,aspectRatio:{minimum:Wt(h),maximum:Wt(h)}})));var g=pf(m=kr(m,p.width*n.width/(m.width*h.width)),t({visibleArea:m,type:"resize"}));return g!==1&&(m=kr(m,g),p=kr(p,g)),m=ho(m=Jo(m,Ni(mo(p),mo(m))),t({visibleArea:m,type:"move"}
vendor: 4,427 bytes, line 128
128)),{coordinates:p=ho(p,mf(fa(m),l)),visibleArea:m}}function c7(e){var t=e.event,n=e.getAreaRestrictions,o=e.boundaries,r=e.coordinates,s=e.visibleArea;e.aspectRatio,e.stencilSize,e.sizeRestrictions;var i=e.positionRestrictions;e.stencilReference;var l=Ze({},r),u=Ze({},s);if(r&&s&&t.type!=="manipulateImage"){var c={width:0,height:0};u.width,o.width,Wt(o)>Wt(l)?(c.height=.8*o.height,c.width=c.height*Wt(l)):(c.width=.8*o.width,c.height=c.width*Wt(l));var d=pf(u=kr(u,l.width*o.width/(u.width*c.width)),n({visibleArea:u,type:"resize"}));u=kr(u,d),d!==1&&(c.height/=d,c.width/=d),u=ho(u=Jo(u,Ni(mo(l),mo(u))),n({visibleArea:u,type:"move"})),l=ho(l,mf(fa(u),i))}return{coordinates:l,visibleArea:u}}function d7(e){var t=e.event,n=e.coordinates,o=e.visibleArea,r=e.getAreaRestrictions,s=Ze({},o),i=Ze({},n);if(t.type==="setCoordinates"){var l=Math.max(0,i.width-s.width),u=Math.max(0,i.height-s.height);l>u?s=kr(s,Math.min(i.width/s.width,zi(s,r({visibleArea:s,type:"resize"})))):u>l&&(s=kr(s,Math.min(i.height/s.height,zi(s,r({visibleArea:s,type:"resize"}))))),s=ho(s=Jo(s,ff(ji(i,fa(s)))),r({visibleArea:s,type:"move"}))}return{visibleArea:s,coordinates:i}}function f7(e){var t=e.imageSize,n=e.visibleArea,o=e.coordinates,r=n||t;return{left:(n?n.left:0)+r.width/2-o.width/2,top:(n?n.top:0)+r.height/2-o.height/2}}function p7(e){var t=e.imageSize,n=e.visibleArea,o=e.aspectRatio,r=e.sizeRestrictions,s=n||t,i=Math.min(o.maximum||1/0,Math.max(o.minimum||0,Wt(s))),l=s.width<s.height?{width:.8*s.width,height:.8*s.width/i}:{height:.8*s.height,width:.8*s.height*i};return Aa(Ze(Ze({},l),{aspectRatio:o,sizeRestrictions:r}))}function m7(e){var t,n,o=e.imageSize,r=e.visibleArea,s=e.boundaries,i=e.aspectRatio,l=e.sizeRestrictions,u=e.stencilSize,c=r||o;return Wt(c)>Wt(s)?n=(t=u.height*c.height/s.height)*Wt(u):t=(n=u.width*c.width/s.width)/Wt(u),Aa({width:n,height:t,aspectRatio:i,sizeRestrictions:l})}function h7(e){var t=e.getAreaRestrictions,n=e.coordinates,o=e.imageSize,r=Wt(e.boundaries);if(n){var s={height:Math.max(n.height,o.height),width:Math.max(n.width,o.width)},i=OS({width:Wt(s)>r?s.width:s.height*r,height:Wt(s)>r?s.width/r:s.height},qm(t())),l={left:n.left+n.width/2-i.width/2,top:n.top+n.height/2-i.height/2,width:i.width,height:i.height},u=uu(n,fa(Ze({left:0,top:0},o))),c={};return!u.left&&!u.right&&l.width<=o.width&&(c.left=0,c.right=o.width),!u.top&&!u.bottom&&l.height<=o.height&&(c.top=0,c.bottom=o.height),ho(l,c)}var d=Wt(o);return i={height:d>r?o.height:o.width/r,width:d>r?o.height*r:o.width},{left:o.width/2-i.width/2,top:o.height/2-i.height/2,width:i.width,height:i.height}}function pc(e,t){return DS(e,fa(t))}function g7(e){var t=e.event,n=e.coordinates,o=e.visibleArea,r=e.sizeRestrictions,s=e.getAreaRestrictions,i=e.positionRestrictions,l=e.adjustStencil,u=t.scale,c=t.move,d=Ze({},o),p=Ze({},n),m=1,h=1,g=u.factor&&Math.abs(u.factor-1)>.001;d=Jo(d,{left:c.left||0,top:c.top||0});var b={stencil:{minimum:Math.max(r.minWidth?r.minWidth/p.width:0,r.minHeight?r.minHeight/p.height:0),maximum:Math.min(r.maxWidth?r.maxWidth/p.width:1/0,r.maxHeight?r.maxHeight/p.height:1/0,zi(p,i))},area:{maximum:zi(d,s({visibleArea:d,type:"resize"}))}};u.factor&&g&&(u.factor<1?(h=Math.max(u.factor,b.stencil.minimum))>1&&(h=1):u.factor>1&&(h=Math.min(u.factor,Math.min(b.area.maximum,b.stencil.maximum)))<1&&(h=1)),h&&(d=kr(d,h,u.center));var y=n.left-o.left,_=o.width+o.left-(n.width+n.left),A=n.top-o.top,k=o.height+o.top-(n.height+n.top);return d=ho(d=Jo(d,ji(d,{left:i.left!==void 0?i.left-y*h:void 0,top:i.top!==void 0?i.top-A*h:void 0,bottom:i.bottom!==void 0?i.bottom+k*h:void 0,right:i.right!==void 0?i.right+_*h:void 0})),s({visibleArea:d,type:"move"})),p.width=p.width*h,p.height=p.height*h,p.left=d.left+y*h,p.top=d.top+A*h,p=ho(p,mf(fa(d),i)),u.factor&&g&&l&&(u.factor>1?m=Math.min(b.area.maximum,u.factor)/h:u.factor<1&&(m=Math.max(p.height/d.height,p.width/d.width,u.factor/h)),m!==1&&(d=Jo(d=ho(d=kr(d,m,u.factor>1?u.center:mo(p)),s({visibleArea:d,type:"move"})),ff(ji(p,fa(d)))))),{coordinates:p,visibleArea:d}}function v7(e){var t=e.aspectRatio,n=e.getAreaRestrictions,o=e.coordinates,r=e.visibleArea,s=e.sizeRestrictions,i=e.positionRestrictions,l=e.imageSize,u=e.previousImageSize,c=e.angle,d=Ze({},o),p=Ze({},r),m=es(mo(Ze({left:0,top:0},u)),c);return(d=Ze(Ze({},Aa({sizeRestrictions:s,aspectRatio:t,width:d.width,height:d.height})),es(mo(d),c))).left-=m.left-l.width/2+d.width/2,d.top-=m.top-l.he
128ight/2+d.height/2,p=kr(p,pf(p,n({visibleArea:p,type:"resize"}))),{coordinates:d=ho(d,i),visibleArea:p=ho(p=Jo(p,Ni(mo(d),mo(o))),n({visibleArea:p,type:"move"}))}}function y7(e){var t=e.flip,n=e.previousFlip,o=e.rotate,r=e.getAreaRestrictions,s=e.coordinates,i=e.visibleArea,l=e.imageSize,u=Ze({},s),c=Ze({},i),d=n.horizontal!==t.horizontal,p=n.vertical!==t.vertical;if(d||p){var m=es({left:l.width/2,top:l.height/2},-o),h=es(mo(u),-o),g=es({left:d?m.left-(h.left-m.left):h.left,top:p?m.top-(h.top-m.top):h.top},o);u=Jo(u,Ni(g,mo(u))),h=es(mo(c),-o),c=ho(c=Jo(c,Ni(g=es({left:d?m.left-(h.left-m.left):h.left,top:p?m.top-(h.top-m.top):h.top},o),mo(c))),r({visibleArea:c,type:"move"}))}return{coordinates:u,visibleArea:c}}function z1(e){var t=e.directions,n=e.coordinates,o=e.positionRestrictions,r=o===void 0?{}:o,s=e.sizeRestrictions,i=e.preserveRatio,l=e.compensate,u=Ze({},t),c=Zr(n,u).width,d=Zr(n,u).height;c<0&&(u.left<0&&u.right<0?(u.left=-(n.width-s.minWidth)/(u.left/u.right),u.right=-(n.width-s.minWidth)/(u.right/u.left)):u.left<0?u.left=-(n.width-s.minWidth):u.right<0&&(u.right=-(n.width-s.minWidth))),d<0&&(u.top<0&&u.bottom<0?(u.top=-(n.height-s.minHeight)/(u.top/u.bottom),u.bottom=-(n.height-s.minHeight)/(u.bottom/u.top)):u.top<0?u.top=-(n.height-s.minHeight):u.bottom<0&&(u.bottom=-(n.height-s.minHeight)));var p=uu(Zr(n,u),r);l&&(p.left&&p.left>0&&p.right===0?(u.right+=p.left,u.left-=p.left):p.right&&p.right>0&&p.left===0&&(u.left+=p.right,u.right-=p.right),p.top&&p.top>0&&p.bottom===0?(u.bottom+=p.top,u.top-=p.top):p.bottom&&p.bottom>0&&p.top===0&&(u.top+=p.bottom,u.bottom-=p.bottom),p=uu(Zr(n,u),r));var m={width:1/0,height:1/0,left:1/0,right:1/0,top:1/0,bottom:1/0};if(oa.forEach(function(b){var y=p[b];y&&u[b]&&(m[b]=Math.max(0,1-y/u[b]))}),i){var h=Math.min.apply(null,oa.map(function(b){return m[b]}));h!==1/0&&oa.forEach(function(b){u[b]*=h})}else oa.forEach(function(b){m[b]!==1/0&&(u[b]*=m[b])});if(c=Zr(n,u).width,d=Zr(n,u).height,u.right+u.left&&(c>s.maxWidth?m.width=(s.maxWidth-n.width)/(u.right+u.left):c<s.minWidth&&(m.width=(s.minWidth-n.width)/(u.right+u.left))),u.bottom+u.top&&(d>s.maxHeight?m.height=(s.maxHeight-n.height)/(u.bottom+u.top):d<s.minHeight&&(m.height=(s.minHeight-n.height)/(u.bottom+u.top))),i){var g=Math.min(m.width,m.height);g!==1/0&&oa.forEach(function(b){u[b]*=g})}else m.width!==1/0&&o7.forEach(function(b){u[b]*=m.width}),m.height!==1/0&&r7.forEach(function(b){u[b]*=m.height});return u}function mc(e,t,n){return t==0&&n==0?e/2:t==0?0:n==0?e:e*Math.abs(t/(t+n))}var b7=Pr("vue-simple-handler"),w7=Pr("vue-simple-handler-wrapper"),hf={name:"SimpleHandler",components:{HandlerWrapper:ES},props:{defaultClass:{type:String},hoverClass:{type:String},wrapperClass:{type:String},horizontalPosition:{type:String},verticalPosition:{type:String},disabled:{type:Boolean,default:!1}},data:function(){return{hover:!1}},computed:{classes:function(){var e,t=(xr(e={},this.horizontalPosition,!!this.horizontalPosition),xr(e,this.verticalPosition,!!this.verticalPosition),xr(e,"".concat(this.horizontalPosition,"-").concat(this.verticalPosition),!!(this.verticalPosition&&this.horizontalPosition)),xr(e,"hover",this.hover),e);return{default:In(b7(t),this.defaultClass,this.hover&&this.hoverClass),wrapper:In(w7(t),this.wrapperClass)}}},methods:{onDrag:function(e){this.$emit("drag",e)},onEnter:function(){this.hover=!0},onLeave:function(){this.hover=!1},onDragEnd:function(){this.$emit("drag-end")}},emits:["drag","drag-end"]};hf.render=function(e,t,n,o,r,s){var i=he("HandlerWrapper");return v(),X(i,{class:s.classes.wrapper,"vertical-position":n.verticalPosition,"horizontal-position":n.horizontalPosition,disabled:n.disabled,onDrag:s.onDrag,onDragEnd:s.onDragEnd,onEnter:s.onEnter,onLeave:s.onLeave},{default:$(function(){return[C("div",{class:s.classes.default},null,2)]}),_:1},8,["class","vertical-position","horizontal-position","disabled","onDrag","onDragEnd","onEnter","onLeave"])};var _7=Pr("vue-simple-line"),x7=Pr("vue-simple-line-wrapper"),gf={name:"SimpleLine",components:{LineWrapper:PS},props:{defaultClass:{type:String},hoverClass:{type:String},wrapperClass:{type:String},position:{type:String},disabled:{type:Boolean,default:!1}},data:function(){return{hover:!1}},computed:{classes:function(){return{root:In(_7(xr({},this.position,!0)),this.defaultClass,this.hover&&this.hoverClass),wrapper:In(x7(xr({},this.position,!0)),this.wrapperClass)}}},methods:{onDrag:function(e){this.$emit("drag",e)},onEnter:function(){this.hover=!0},onLeave:function(){this.hover=!1},onDragEnd:function(){this.$emit("drag-end")}},emits:["drag","drag-end"]};gf.render=function(e,t,n,o,r,s){var i=he("LineWrapper");return v(),X(i,{class:s.classes.wrapper,position:n.position,disabled:n.disabled,onDrag:s.onDrag,onDragEnd:s.onDragEnd,onEnter:s.onEnter,onLeave:s.onLeave},{default:$(function(){return[C("div",{class:s.classes.root},null,2)]}),_:1},8,["class","position","disabled","onDrag","onDragEnd","onEnter","onLeave"])};var Dp=Pr("vue-bounding-box"),S7=["east","west",null],C7=["south","north",null],Xg={name:"BoundingBox",props:{width:{type:Number},height:{type:Number},transitions:{type:Object},handlers:{type:Object,default:function(){return{eastNorth:!0,north:!0,westNorth:!0,west:!0,westSouth:!0,south:!0,eastSouth:!0,east:!0}}},handlersComponent:{type:[Object,String],default:function(){return hf}},handlersClasses:{type:Object,default:function(){return{}}},handlersWrappersClasses:{type:Object,default:function(){return{}}},lines:{type:Object,default:function(){return{west:!0,north:!0,east:!0,south:!0}}},linesComponent:{type:[Object,String],default:function(){return gf}},linesClasses:{type:Object,default:function(){return{}}},linesWrappersClasses:{type:Object,default:function(){return{}}},resizable:{type:Boolean,default:!0}},data:function(){var e=[];
128return S7.forEach(function(t){C7.forEach(function(n){if(t!==n){var o=kS(t,n),r=o.name,s=o.classname;e.push({name:r,classname:s,verticalDirection:n,horizontalDirection:t})}})}),{points:e}},computed:{style:function(){var e={};return this.width&&this.height&&(e.width="".concat(this.width,"px"),e.height="".concat(this.height,"px"),this.transitions&&this.transitions.enabled&&(e.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction))),e},classes:function(){var e=this.handlersClasses,t=this.handlersWrappersClasses,n=this.linesClasses,o=this.linesWrappersClasses;return{root:Dp(),handlers:e,handlersWrappers:t,lines:n,linesWrappers:o}},lineNodes:function(){var e=this,t=[];return this.points.forEach(function(n){n.horizontalDirection&&n.verticalDirection||!e.lines[n.name]||t.push({name:n.name,component:e.linesComponent,class:In(e.classes.lines.default,e.classes.lines[n.name],!e.resizable&&e.classes.lines.disabled),wrapperClass:In(e.classes.linesWrappers.default,e.classes.linesWrappers[n.name],!e.resizable&&e.classes.linesWrappers.disabled),hoverClass:e.classes.lines.hover,verticalDirection:n.verticalDirection,horizontalDirection:n.horizontalDirection,disabled:!e.resizable})}),t},handlerNodes:function(){var e=this,t=[],n=this.width,o=this.height;return this.points.forEach(function(r){if(e.handlers[r.name]){var s={name:r.name,component:e.handlersComponent,class:In(e.classes.handlers.default,e.classes.handlers[r.name]),wrapperClass:In(e.classes.handlersWrappers.default,e.classes.handlersWrappers[r.name]),hoverClass:e.classes.handlers.hover,verticalDirection:r.verticalDirection,horizontalDirection:r.horizontalDirection,disabled:!e.resizable};if(n&&o){var i=r.horizontalDirection,l=r.verticalDirection,u=i==="east"?n:i==="west"?0:n/2,c=l==="south"?o:l==="north"?0:o/2;s.wrapperClass=Dp("handler"),s.wrapperStyle={transform:"translate(".concat(u,"px, ").concat(c,"px)")},e.transitions&&e.transitions.enabled&&(s.wrapperStyle.transition="".concat(e.transitions.time,"ms ").concat(e.transitions.timingFunction))}else s.wrapperClass=Dp("handler",xr({},r.classname,!0));t.push(s)}}),t}},beforeMount:function(){window.addEventListener("mouseup",this.onMouseUp,{passive:!1}),window.addEventListener("mousemove",this.onMouseMove,{passive:!1}),window.addEventListener("touchmove",this.onTouchMove,{passive:!1}),window.addEventListener("touchend",this.onTouchEnd,{passive:!1})},beforeUnmount:function(){window.removeEventListener("mouseup",this.onMouseUp),window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("touchmove",this.onTouchMove),window.removeEventListener("touchend",this.onTouchEnd)},mounted:function(){this.touches=[]},methods:{onEnd:function(){this.$emit("resize-end")},onHandlerDrag:function(e,t,n){var o,r=e.shift(),s=r.left,i=r.top,l={left:0,right:0,top:0,bottom:0};t==="west"?l.left-=s:t==="east"&&(l.right+=s),n==="north"?l.top-=i:n==="south"&&(l.bottom+=i),!n&&t?o="width":n&&!t&&(o="height"),this.resizable&&this.$emit("resize",new e7(l,{allowedDirections:{left:t==="west"||!t,right:t==="east"||!t,bottom:n==="south"||!n,top:n==="north"||!n},preserveAspectRatio:e.nativeEvent&&e.nativeEvent.shiftKey,respectDirection:o}))}},emits:["resize","resize-end"]};Xg.render=function(e,t,n,o,r,s){return v(),X("div",{ref:"box",class:s.classes.root,style:s.style},[se(e.$slots,"default"),C("div",null,[(v(!0),X(de,null,Be(s.lineNodes,function(i){return v(),X($r(i.component),{key:i.name,"default-class":i.class,"hover-class":i.hoverClass,"wrapper-class":i.wrapperClass,position:i.name,disabled:i.disabled,onDrag:function(l){return s.onHandlerDrag(l,i.horizontalDirection,i.verticalDirection)},onDragEnd:t[1]||(t[1]=function(l){return s.onEnd()})},null,8,["default-class","hover-class","wrapper-class","position","disabled","onDrag"])}),128))]),(v(!0),X(de,null,Be(s.handlerNodes,function(i){return v(),X("div",{key:i.name,style:i.wrapperStyle,class:i.wrapperClass},[(v(),X($r(i.component),{"default-class":i.class,"hover-class":i.hoverClass,"wrapper-class":i.wrapperClass,"horizontal-position":i.horizontalDirection,"vertical-position":i.verticalDirection,disabled:i.disabled,onDrag:function(l){return s.onHandlerDrag(l,i.horizontalDirection,i.verticalDirection)},onDragEnd:t[2]||(t[2]=function(l){return s.onEnd()})},null,8,["default-class","hover-class","wrapper-class","horizontal-position","vertical-position","disabled","onDrag"]))],6)}),128))],6)};var k7=Pr("vue-draggable-area"),Jg={name:"DraggableArea",props:{movable:{type:Boolean,default:!0},activationDistance:{type:Number,default:20}},computed:{classnames:function(){return{default:k7()}}},beforeMount:function(){window.addEventListener("mouseup",this.onMouseUp,{passive:!1}),window.addEventListener("mousemove",this.onMouseMove,{passive:!1}),window.addEventListener("touchmove",this.onTouchMove,{passive:!1}),window.addEventListener("touchend",this.onTouchEnd,{passive:!1})},beforeUnmount:function(){window.removeEventListener("mouseup",this.onMouseUp),window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("touchmove",this.onTouchMove),window.removeEventListener("touchend",this.onTouchEnd)},mounted:function(){this.touches=[],this.touchStarted=!1},methods:{onTouchStart:function(e){if(e.cancelable){var t=this.movable&&e.touches.length===1;t&&(this.touches=Gs(e.touches)),(this.touchStarted||t)&&(e.preventDefault(),e.stopPropagation())}},onTouchEnd:function(){this.touchStarted=!1,this.processEnd()},onTouchMove:function(e){this.touches.length>=1&&(this.touchStarted?(this.processMove(e,e.touches),e.preventDefault(),e.stopPropagation()):TS({x:this.touches[0].clientX,y:this.touches[0].clientY},{x:e.touches[0].clientX,y:e.touches[0].clientY})>this.activationDistance&&(this.initAnchor({clientX:e.touches[0].clientX,clientY:e.touches[0].clientY}),this.touchStarted=!0))},onMouseDown:function(e){if(this.movable&&e.button===0){var t={fake:!0,clientX:e.clientX,clientY:e.clientY};this.touches=[t],this.initAnchor(t),e.stopPropagation()}},onMouseMove:function(e){this.touches.length&&(this.processMove(e,[{fake:!0,clientX:e.clientX,clientY:e.clientY}]),e.preventDefault&&e.cancelable&&e.preventDefault(),e.stopPropagation())},onMouseUp:function(){this.processEnd()},initAnchor:function(e){var t=this.$refs.container.getBoundingClientRect(),n=t.left,o=t.top;this.anchor={x:e.clientX-n,y:e.clientY-o}},processMove:function(e,t){var n=Gs(t);if(this.touches.length){var o=this.$refs.container.getBoundingClientRect(),r=o.left,s=o.top;
128this.touches.length===1&&n.length===1&&this.$emit("move",new Kg({left:n[0].clientX-(r+this.anchor.x),top:n[0].clientY-(s+this.anchor.y)}))}},processEnd:function(){this.touches.length&&this.$emit("move-end"),this.touches=[]}},emits:["move","move-end"]};Jg.render=function(e,t,n,o,r,s){return v(),X("div",{ref:"container",onTouchstart:t[1]||(t[1]=function(){return s.onTouchStart&&s.onTouchStart.apply(s,arguments)}),onMousedown:t[2]||(t[2]=function(){return s.onMouseDown&&s.onMouseDown.apply(s,arguments)})},[se(e.$slots,"default")],544)};function Mp(e){var t,n;return{rotate:e.rotate||0,flip:{horizontal:((t=e==null?void 0:e.flip)===null||t===void 0?void 0:t.horizontal)||!1,vertical:((n=e==null?void 0:e.flip)===null||n===void 0?void 0:n.vertical)||!1}}}function $7(e){return new Promise(function(t,n){try{if(e)if(/^data:/i.test(e))t(function(u){u=u.replace(/^data:([^;]+);base64,/gim,"");for(var c=atob(u),d=c.length,p=new ArrayBuffer(d),m=new Uint8Array(p),h=0;h<d;h++)m[h]=c.charCodeAt(h);return p}(e));else if(/^blob:/i.test(e)){var o=new FileReader;o.onload=function(u){t(u.target.result)},s=e,i=function(u){o.readAsArrayBuffer(u)},(l=new XMLHttpRequest).open("GET",s,!0),l.responseType="blob",l.onload=function(){this.status!=200&&this.status!==0||i(this.response)},l.send()}else{var r=new XMLHttpRequest;r.onreadystatechange=function(){r.readyState===4&&(r.status===200||r.status===0?t(r.response):n("Warning: could not load an image to parse its orientation"),r=null)},r.onprogress=function(){r.getResponseHeader("content-type")!=="image/jpeg"&&r.abort()},r.withCredentials=!1,r.open("GET",e,!0),r.responseType="arraybuffer",r.send(null)}else n("Error: the image is empty")}catch(u){n(u)}var s,i,l})}function MS(e){var t=e.rotate,n=e.flip,o=e.scaleX,r=e.scaleY,s="";return s+=" rotate("+t+"deg) ",s+=" scaleX("+o*(n.horizontal?-1:1)+") ",s+=" scaleY("+r*(n.vertical?-1:1)+") "}function A7(e){try{var t,n=new DataView(e),o=void 0,r=void 0,s=void 0,i=void 0;if(n.getUint8(0)===255&&n.getUint8(1)===216)for(var l=n.byteLength,u=2;u+1<l;){if(n.getUint8(u)===255&&n.getUint8(u+1)===225){s=u;break}u++}if(s&&(o=s+10,function(h,g,b){var y,_="";for(y=g,b+=g;y<b;y++)_+=String.fromCharCode(h.getUint8(y));return _}(n,s+4,4)==="Exif")){var c=n.getUint16(o);if(((r=c===18761)||c===19789)&&n.getUint16(o+2,r)===42){var d=n.getUint32(o+4,r);d>=8&&(i=o+d)}}if(i){for(var p=n.getUint16(i,r),m=0;m<p;m++)if(u=i+12*m+2,n.getUint16(u,r)===274){u+=8,t=n.getUint16(u,r),n.setUint16(u,1,r);break}}return t}catch{return null}}function j1(e,t){var n=t.getBoundingClientRect(),o=n.left,r=n.top,s={left:0,top:0},i=0;return e.forEach(function(l){s.left+=(l.clientX-o)/e.length,s.top+=(l.clientY-r)/e.length}),e.forEach(function(l){i+=TS({x:s.left,y:s.top},{x:l.clientX-o,y:l.clientY-r})}),{centerMass:s,spread:i,count:e.length}}var RS={props:{touchMove:{type:Boolean,required:!0},mouseMove:{type:Boolean,required:!0},touchResize:{type:Boolean,required:!0},wheelResize:{type:[Boolean,Object],required:!0},eventsFilter:{type:Function,required:!1}},beforeMount:function(){window.addEventListener("mouseup",this.onMouseUp,{passive:!1}),window.addEventListener("mousemove",this.onMouseMove,{passive:!1}),window.addEventListener("touchmove",this.onTouchMove,{passive:!1}),window.addEventListener("touchend",this.onTouchEnd,{passive:!1})},beforeUnmount:function(){window.removeEventListener("mouseup",this.onMouseUp),window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("touchmove",this.onTouchMove),window.removeEventListener("touchend",this.onTouchEnd)},created:function(){this.transforming=!1,this.debouncedProcessEnd=Hm(this.processEnd),this.touches=[]},methods:{processMove:function(e,t){if(this.touches.length){if(this.touches.length===1&&t.length===1)this.$emit("move",new zl({left:this.touches[0].clientX-t[0].clientX,top:this.touches[0].clientY-t[0].clientY}));else if(this.touches.length>1&&this.touchResize){var n=j1(t,this.$refs.container),o=this.oldGeometricProperties;o.count===n.count&&o.count>1&&this.$emit("resize",new zl({left:o.centerMass.left-n.centerMass.left,top:o.centerMass.top-n.centerMass.top},{factor:o.spread/n.spread,center:n.centerMass})),this.oldGeometricProperties=n}this.touches=t}},processEnd:function(){this.transforming&&(this.transforming=!1,this.$emit("transform-end"))},processStart:function(){this.transforming=!0,this.debouncedProcessEnd.clear()},processEvent:function(e){return this.eventsFilter?this.eventsFilter(e,this.transforming)!==!1:(e.preventDefault(),e.stopPropagation(),!0)},onTouchStart:function(e){if(e.cancelable&&(this.touchMove||this.touchResize&&e.touches.length>1)&&this.processEvent(e)){var t=this.$refs.container,n=t.getBoundingClientRect(),o=n.left,r=n.top,s=n.bottom,i=n.right;this.touches=Gs(e.touches).filter(function(l){return l.clientX>o&&l.clientX<i&&l.clientY>
vendor: 8,154 bytes, lines 128-129
128r&&l.clientY<s}),this.oldGeometricProperties=j1(this.touches,t)}},onTouchEnd:function(e){e.touches.length===0&&(this.touches=[],this.processEnd())},onTouchMove:function(e){var t=this;if(this.touches.length){var n=Gs(e.touches).filter(function(o){return!o.identifier||t.touches.find(function(r){return r.identifier===o.identifier})});this.processEvent(e)&&(this.processMove(e,n),this.processStart())}},onMouseDown:function(e){if(this.mouseMove&&"buttons"in e&&e.buttons===1&&this.processEvent(e)){var t={fake:!0,clientX:e.clientX,clientY:e.clientY};this.touches=[t],this.processStart()}},onMouseMove:function(e){this.touches.length&&this.processEvent(e)&&this.processMove(e,[{clientX:e.clientX,clientY:e.clientY}])},onMouseUp:function(){this.touches=[],this.processEnd()},onWheel:function(e){if(this.wheelResize&&this.processEvent(e)){var t=this.$refs.container.getBoundingClientRect(),n=t.left,o=t.top,r=1+this.wheelResize.ratio*(i=e.deltaY||e.detail||e.wheelDelta,(l=+i)==0||AS(l)?l:l>0?1:-1),s={left:e.clientX-n,top:e.clientY-o};this.$emit("resize",new zl({},{factor:r,center:s})),this.touches.length||this.debouncedProcessEnd()}var i,l}},emits:["resize","move","transform-end"]};RS.render=function(e,t,n,o,r,s){return v(),X("div",{ref:"container",onTouchstart:t[1]||(t[1]=function(){return s.onTouchStart&&s.onTouchStart.apply(s,arguments)}),onMousedown:t[2]||(t[2]=function(){return s.onMouseDown&&s.onMouseDown.apply(s,arguments)}),onWheel:t[3]||(t[3]=function(){return s.onWheel&&s.onWheel.apply(s,arguments)})},[se(e.$slots,"default")],544)};var Ym={components:{TransformableImage:RS},props:{touchMove:{type:Boolean,required:!0},mouseMove:{type:Boolean,required:!0},touchResize:{type:Boolean,required:!0},wheelResize:{type:[Boolean,Object],required:!0}},emits:["resize","move"]};Ym.render=function(e,t,n,o,r,s){var i=he("transformable-image");return v(),X(i,{"touch-move":n.touchMove,"touch-resize":n.touchResize,"mouse-move":n.mouseMove,"wheel-resize":n.wheelResize,onMove:t[1]||(t[1]=function(l){return e.$emit("move",l)}),onResize:t[2]||(t[2]=function(l){return e.$emit("resize",l)})},{default:$(function(){return[se(e.$slots,"default")]}),_:3},8,["touch-move","touch-resize","mouse-move","wheel-resize"])};var hc=Pr("vue-preview"),LS={props:{coordinates:{type:Object},transitions:{type:Object},image:{type:Object,default:function(){return{}}},imageClass:{type:String},width:{type:Number},height:{type:Number},fill:{type:Boolean}},data:function(){return{calculatedImageSize:{width:0,height:0},calculatedSize:{width:0,height:0}}},computed:{classes:function(){return{root:hc({fill:this.fill}),wrapper:hc("wrapper"),imageWrapper:hc("image-wrapper"),image:In(hc("image"),this.imageClass)}},style:function(){if(this.fill)return{};var e={};return this.width&&(e.width="".concat(this.size.width,"px")),this.height&&(e.height="".concat(this.size.height,"px")),this.transitions&&this.transitions.enabled&&(e.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction)),e},wrapperStyle:function(){var e={width:"".concat(this.size.width,"px"),height:"".concat(this.size.height,"px"),left:"calc(50% - ".concat(this.size.width/2,"px)"),top:"calc(50% - ".concat(this.size.height/2,"px)")};return this.transitions&&this.transitions.enabled&&(e.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction)),e},imageStyle:function(){if(this.coordinates&&this.image){var e=this.coordinates.width/this.size.width,t=Ht(Ht({rotate:0,flip:{horizontal:!1,vertical:!1}},this.image.transforms),{},{scaleX:1/e,scaleY:1/e}),n=this.imageSize.width,o=this.imageSize.height,r=IS({width:n,height:o},t.rotate),s={width:"".concat(n,"px"),height:"".concat(o,"px"),left:"0px",top:"0px"},i={rotate:{left:(n-r.width)*t.scaleX/2,top:(o-r.height)*t.scaleY/2},scale:{left:(1-t.scaleX)*n/2,top:(1-t.scaleY)*o/2}};return s.transform=`translate(
129				`.concat(-this.coordinates.left/e-i.rotate.left-i.scale.left,"px,").concat(-this.coordinates.top/e-i.rotate.top-i.scale.top,"px) ")+MS(t),this.transitions&&this.transitions.enabled&&(s.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction)),s}return{}},size:function(){return{width:this.width||this.calculatedSize.width,height:this.height||this.calculatedSize.height}},imageSize:function(){return{width:this.image.width||this.calculatedImageSize.width,height:this.image.height||this.calculatedImageSize.height}}},watch:{image:function(e){(e.width||e.height)&&this.onChangeImage()}},mounted:function(){var e=this;this.onChangeImage(),this.$refs.image.addEventListener("load",function(){e.refreshImage()}),window.addEventListener("resize",this.refresh),window.addEventListener("orientationchange",this.refresh)},unmounted:function(){window.removeEventListener("resize",this.refresh),window.removeEventListener("orientationchange",this.refresh)},methods:{refreshImage:function(){var e=this.$refs.image;this.calculatedImageSize.height=e.naturalHeight,this.calculatedImageSize.width=e.naturalWidth},refresh:function(){var e=this.$refs.root;this.width||(this.calculatedSize.width=e.clientWidth),this.height||(this.calculatedSize.height=e.clientHeight)},onChangeImage:function(){var e=this.$refs.image;e&&e.complete&&this.refreshImage(),this.refresh()}}};LS.render=function(e,t,n,o,r,s){return v(),X("div",{ref:"root",class:s.classes.root,style:s.style},[C("div",{ref:"wrapper",class:s.classes.wrapper,style:s.wrapperStyle},[ca(C("img",{ref:"image",src:n.image&&n.image.src,class:s.classes.image,style:s.imageStyle},null,14,["src"]),[[Jl,n.image&&n.image.src]])],6)],6)};var Zg={components:{Preview:LS},inheritAttrs:!1};Zg.render=function(e,t,n,o,r,s){var i=he("preview");return v(),X(i,Me(e.$attrs,{fill:!0}),null,16)};var Rp=Pr("vue-rectangle-stencil"),VS={name:"RectangleStencil",components:{StencilPreview:Zg,BoundingBox:Xg,DraggableArea:Jg},props:{image:{type:Object},coordinates:{type:Object},stencilCoordinates:{type:Object},handlers:{type:Object},handlersComponent:{type:[Object,String],default:function(){return hf}},lines:{type:Object},linesComponent:{type:[Object,String],default:function(){return gf}},aspectRatio:{type:[Number,String]},minAspectRatio:{type:[Number,String]},maxAspectRatio:{type:[Number,String]},movable:{type:Boolean,default:!0},resizable:{type:Boolean,default:!0},transitions:{type:Object},movingClass:{type:String},resizingClass:{type:String},previewClass:{type:String},boundingBoxClass:{type:String},linesClasses:{type:Object,default:function(){return{}}},linesWrappersClasses:{type:Object,default:function(){return{}}},handlersClasses:{type:Object,default:function(){return{}}},handlersWrappersClasses:{type:Object,default:function(){return{}}}},data:function(){return{moving:!1,resizing:!1}},computed:{classes:function(){return{stencil:In(Rp({movable:this.movable,moving:this.moving,resizing:this.resizing}),this.moving&&this.movingClass,this.resizing&&this.resizingClass),preview:In(Rp("preview"),this.previewClass),boundingBox:In(Rp("bounding-box"),this.boundingBoxClass)}},style:function(){var e=this.stencilCoordinates,t=e.height,n=e.width,o=e.left,r=e.top,s={width:"".concat(n,"px"),height:"".concat(t,"px"),transform:"translate(".concat(o,"px, ").concat(r,"px)")};return this.transitions&&this.transitions.enabled&&(s.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction)),s}},methods:{onMove:function(e){this.$emit("move",e),this.moving=!0},onMoveEnd:function(){this.$emit("move-end"),this.moving=!1},onResize:function(e){this.$emit("resize",e),this.resizing=!0},onResizeEnd:function(){this.$emit("resize-end"),this.resizing=!1},aspectRatios:function(){return{minimum:this.aspectRatio||this.minAspectRatio,maximum:this.aspectRatio||this.maxAspectRatio}}},emits:["resize","resize-end","move","move-end"]};VS.render=function(e,t,n,o,r,s){var i=he("stencil-preview"),l=he("draggable-area"),u=he("bounding-box");return v(),X("div",{class:s.classes.stencil,style:s.style},[C(u,{width:n.stencilCoordinates.width,height:n.stencilCoordinates.height,transitions:n.transitions,class:s.classes.boundingBox,handlers:n.handlers,"handlers-component":n.handlersComponent,"handlers-classe
129s":n.handlersClasses,"handlers-wrappers-classes":n.handlersWrappersClasses,lines:n.lines,"lines-component":n.linesComponent,"lines-classes":n.linesClasses,"lines-wrappers-classes":n.linesWrappersClasses,resizable:n.resizable,onResize:s.onResize,onResizeEnd:s.onResizeEnd},{default:$(function(){return[C(l,{movable:n.movable,onMove:s.onMove,onMoveEnd:s.onMoveEnd},{default:$(function(){return[C(i,{image:n.image,coordinates:n.coordinates,width:n.stencilCoordinates.width,height:n.stencilCoordinates.height,class:s.classes.preview,transitions:n.transitions},null,8,["image","coordinates","width","height","class","transitions"])]}),_:1},8,["movable","onMove","onMoveEnd"])]}),_:1},8,["width","height","transitions","class","handlers","handlers-component","handlers-classes","handlers-wrappers-classes","lines","lines-component","lines-classes","lines-wrappers-classes","resizable","onResize","onResizeEnd"])],6)};var Lp=Pr("vue-circle-stencil"),BS={components:{StencilPreview:Zg,BoundingBox:Xg,DraggableArea:Jg},props:{image:{type:Object},coordinates:{type:Object},stencilCoordinates:{type:Object},handlers:{type:Object,default:function(){return{eastNorth:!0,westNorth:!0,westSouth:!0,eastSouth:!0}}},handlersComponent:{type:[Object,String],default:function(){return hf}},handlersClasses:{type:Object,default:function(){return{}}},handlersWrappersClasses:{type:Object,default:function(){return{}}},lines:{type:Object},linesComponent:{type:[Object,String],default:function(){return gf}},linesClasses:{type:Object,default:function(){return{}}},linesWrappersClasses:{type:Object,default:function(){return{}}},movable:{type:Boolean,default:!0},resizable:{type:Boolean,default:!0},transitions:{type:Object},movingClass:{type:String},resizingClass:{type:String},previewClass:{type:String},boundingBoxClass:{type:String}},data:function(){return{moving:!1,resizing:!1}},computed:{classes:function(){return{stencil:In(Lp({movable:this.movable,moving:this.moving,resizing:this.resizing}),this.moving&&this.movingClass,this.resizing&&this.resizingClass),preview:In(Lp("preview"),this.previewClass),boundingBox:In(Lp("bounding-box"),this.boundingBoxClass)}},style:function(){var e=this.stencilCoordinates,t=e.height,n=e.width,o=e.left,r=e.top,s={width:"".concat(n,"px"),height:"".concat(t,"px"),transform:"translate(".concat(o,"px, ").concat(r,"px)")};return this.transitions&&this.transitions.enabled&&(s.transition="".concat(this.transitions.time,"ms ").concat(this.transitions.timingFunction)),s}},methods:{onMove:function(e){this.$emit("move",e),this.moving=!0},onMoveEnd:function(){this.$emit("move-end"),this.moving=!1},onResize:function(e){this.$emit("resize",e),this.resizing=!0},onResizeEnd:function(){this.$emit("resize-end"),this.resizing=!1},aspectRatios:function(){return{minimum:1,maximum:1}}},emits:["resize","resize-end","move","move-end"]};BS.render=function(e,t,n,o,r,s){var i=he("stencil-preview"),l=he("draggable-area"),u=he("bounding-box");return v(),X("div",{class:s.classes.stencil,style:s.style},[C(u,{width:n.stencilCoordinates.width,height:n.stencilCoordinates.height,transitions:n.transitions,class:s.classes.boundingBox,handlers:n.handlers,"handlers-component":n.handlersComponent,"handlers-classe
129s":n.handlersClasses,"handlers-wrappers-classes":n.handlersWrappersClasses,lines:n.lines,"lines-component":n.linesComponent,"lines-classes":n.linesClasses,"lines-wrappers-classes":n.linesWrappersClasses,resizable:n.resizable,onResize:s.onResize,onResizeEnd:s.onResizeEnd},{default:$(function(){return[C(l,{movable:n.movable,onMove:s.onMove,onMoveEnd:s.onMoveEnd},{default:$(function(){return[C(i,{image:n.image,coordinates:n.coordinates,width:n.stencilCoordinates.width,height:n.stencilCoordinates.height,class:s.classes.preview,transitions:n.transitions},null,8,["image","coordinates","width","height","class","transitions"])]}),_:1},8,["movable","onMove","onMoveEnd"])]}),_:1},8,["width","height","transitions","class","handlers","handlers-component","handlers-classes","handlers-wrappers-classes","lines","lines-component","lines-classes","lines-wrappers-classes","resizable","onResize","onResizeEnd"])],6)};var T7=["transitions"],wa=Pr("vue-advanced-cropper"),FS={name:"Cropper",components:{BackgroundWrapper:Ym},props:{src:{type:String,default:null},stencilComponent:{type:[Object,String],default:function(){return VS}},backgroundWrapperComponent:{type:[Object,String],default:function(){return Ym}},stencilProps:{type:Object,default:function(){return{}}},autoZoom:{type:Boolean,default:!1},imageClass:{type:String},boundariesClass:{type:String},backgroundClass:{type:String},foregroundClass:{type:String},minWidth:{type:[Number,String]},minHeight:{type:[Number,String]},maxWidth:{type:[Number,String]},maxHeight:{type:[Number,String]},debounce:{type:[Boolean,Number],default:500},transitions:{type:Boolean,default:!0},checkOrientation:{type:Boolean,default:!0},canvas:{type:[Object,Boolean],default:!0},crossOrigin:{type:[Boolean,String],default:void 0},transitionTime:{type:Number,default:300},imageRestriction:{type:String,default:"fit-area",validator:function(e){return s7.indexOf(e)!==-1}},roundResult:{type:Boolean,default:!0},defaultSize:{type:[Function,Object]},defaultPosition:{type:[Function,Object]},defaultVisibleArea:{type:[Function,Object]},defaultTransforms:{type:[Function,Object]},defaultBoundaries:{type:[Function,String],validator:function(e){return!(typeof e=="string"&&e!=="fill"&&e!=="fit")}},priority:{type:String,default:"coordinates"},stencilSize:{type:[Object,Function]},resizeImage:{type:[Boolean,Object],default:!0},moveImage:{type:[Boolean,Object],default:!0},autoZoomAlgorithm:{type:Function},resizeAlgorithm:{type:Function,default:function(e){var t=e.event,n=e.coordinates,o=e.aspectRatio,r=e.positionRestrictions,s=e.sizeRestrictions,i=Ze(Ze({},n),{right:n.left+n.width,bottom:n.top+n.height}),l=t.params||{},u=Ze({},t.directions),c=l.allowedDirections||{left:!0,right:!0,bottom:!0,top:!0};s.widthFrozen&&(u.left=0,u.right=0),s.heightFrozen&&(u.top=0,u.bottom=0),oa.forEach(function(E){c[E]||(u[E]=0)});var d=Zr(i,u=z1({coordinates:i,directions:u,sizeRestrictions:s,positionRestrictions:r})).width,p=Zr(i,u).height,m=l.preserveRatio?Wt(i):Ip(d/p,o);if(m){var h=l.respectDirection;if(h||(h=i.width>=i.height||m===1?"width":"height"),h==="width"){var g=d/m-i.height;if(c.top&&c.bottom){var b=u.top,y=u.bottom;u.bottom=mc(g,y,b),u.top=mc(g,b,y)}else c.bottom?u.bottom=g:c.top?u.top=g:c.right?u.right=0:c.left&&(u.left=0)}else if(h==="height"){var _=i.width-p*m;if(c.left&&c.right){var A=u.left,k=u.right;u.left=-mc(_,A,k),u.right=-mc(_,k,A)}else c.left?u.left=-_:c.right?u.right=-_:c.top?u.top=0:c.bottom&&(u.bottom=0)}u=z1({directions:u,coordinates:i,sizeRestrictions:s,positionRestrictions:r,preserveRatio:!0,compensate:l.compensate})}return d=Zr(i,u).width,p=Zr(i,u).height,(m=l.preserveRatio?Wt(i):Ip(d/p,o))&&Math.abs(m-d/p)>.001&&oa.forEach(function(E){c[E]||(u[E]=0)}),Gm({event:new Kg({left:-u.left,top:-u.top}),coordinates:{width:n.width+u.right+u.left,height:n.height+u.top+u.bottom,left:n.left,top:n.top},positionRestrictions:r})}},moveAlgorithm:{type:Function,default:Gm},initStretcher:{type:Function,default:function(e){var t=e.stretcher,n=e.imageSize,o=Wt(n);t.style.width=n.width+"px",t.style.height=t.clientWidth/o+"px",t.style.width=t.clientWidth+"px"}},fitCoordinates:{type:Function,default:function(e){var t=e.visibleArea,n=e.coordinates,o=e.aspectRatio,r=e.sizeRestrictions,s=e.positionRestrictions,i=Ze(Ze({},n),Aa({width:n.width,height:n.height,aspectRatio:o,sizeRestrictions:{maxWidth:t.width,maxHeight:t.height,minHeight:Math.min(t.height,r.minHeight),minWidth:Math.min(t.width,r.minWidth)}}));return i=ho(i=Jo(i,Ni(mo(n),mo(i))),mf(fa(t),s))}},fitVisibleArea:{type:Function,default:function(e){var t=e.visibleArea,n=e.boundaries,o=e.getAreaRestrictions,r=e.coordinates,s=Ze({},t);s.height=s.width/Wt(n),s.top+=(t.height-s.height)/2,(r.height-s.height>0||r.width-s.width>0)&&(s=kr(s,Math.max(r.height/s.height,r.width/s.width)));var i=ff(ji(r,fa(s=kr(s,pf(s,o({visibleArea:s,type:"resize"}))))));
129return s.width<r.width&&(i.left=0),s.height<r.height&&(i.top=0),s=ho(s=Jo(s,i),o({visibleArea:s,type:"move"}))}},areaRestrictionsAlgorithm:{type:Function,default:function(e){var t=e.visibleArea,n=e.boundaries,o=e.imageSize,r=e.imageRestriction,s=e.type,i={};return r==="fill-area"?i={left:0,top:0,right:o.width,bottom:o.height}:r==="fit-area"&&(Wt(n)>Wt(o)?(i={top:0,bottom:o.height},t&&s==="move"&&(t.width>o.width?(i.left=-(t.width-o.width)/2,i.right=o.width-i.left):(i.left=0,i.right=o.width))):(i={left:0,right:o.width},t&&s==="move"&&(t.height>o.height?(i.top=-(t.height-o.height)/2,i.bottom=o.height-i.top):(i.top=0,i.bottom=o.height)))),i}},sizeRestrictionsAlgorithm:{type:Function,default:function(e){return{minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight}}},positionRestrictionsAlgorithm:{type:Function,default:function(e){var t=e.imageSize,n={};return e.imageRestriction!=="none"&&(n={left:0,top:0,right:t.width,bottom:t.height}),n}}},data:function(){return{transitionsActive:!1,imageLoaded:!1,imageAttributes:{width:null,height:null,crossOrigin:null,src:null},defaultImageTransforms:{rotate:0,flip:{horizontal:!1,vertical:!1}},appliedImageTransforms:{rotate:0,flip:{horizontal:!1,vertical:!1}},boundaries:{width:0,height:0},visibleArea:null,coordinates:Ht({},V1)}},computed:{image:function(){return{src:this.imageAttributes.src,width:this.imageAttributes.width,height:this.imageAttributes.height,transforms:this.imageTransforms}},imageTransforms:function(){return{rotate:this.appliedImageTransforms.rotate,flip:{horizontal:this.appliedImageTransforms.flip.horizontal,vertical:this.appliedImageTransforms.flip.vertical},translateX:this.visibleArea?this.visibleArea.left/this.coefficient:0,translateY:this.visibleArea?this.visibleArea.top/this.coefficient:0,scaleX:1/this.coefficient,scaleY:1/this.coefficient}},imageSize:function(){var e=function(t){return t*Math.PI/180}(this.imageTransforms.rotate);return{width:Math.abs(this.imageAttributes.width*Math.cos(e))+Math.abs(this.imageAttributes.height*Math.sin(e)),height:Math.abs(this.imageAttributes.width*Math.sin(e))+Math.abs(this.imageAttributes.height*Math.cos(e))}},initialized:function(){return!!(this.visibleArea&&this.imageLoaded)},settings:function(){var e=Wm(this.resizeImage,{touch:!0,wheel:{ratio:.1},adjustStencil:!0},{touch:!1,wheel:!1,adjustStencil:!1});return{moveImage:Wm(this.moveImage,{touch:!0,mouse:!0},{touch:!1,mouse:!1}),resizeImage:e}},coefficient:function(){return this.visibleArea?this.visibleArea.width/this.boundaries.width:0},areaRestrictions:function(){return this.imageLoaded?this.areaRestrictionsAlgorithm({imageSize:this.imageSize,imageRestriction:this.imageRestriction,boundaries:this.boundaries}):{}},transitionsOptions:function(){return{enabled:this.transitionsActive,timingFunction:"ease-in-out",time:350}},sizeRestrictions:function(){if(this.boundaries.width&&this.boundaries.height&&this.imageSize.width&&this.imageSize.height){var e=this.sizeRestrictionsAlgorithm({imageSize:this.imageSize,minWidth:oo(this.minWidth)?0:fc(this.minWidth),minHeight:oo(this.minHeight)?0:fc(this.minHeight),maxWidth:oo(this.maxWidth)?1/0:fc(this.maxWidth),maxHeight:oo(this.maxHeight)?1/0:fc(this.maxHeight)});if(e=function(o){var r=o.areaRestrictions,s=o.sizeRestrictions,i=o.boundaries,l=o.positionRestrictions,u=Ze(Ze({},s),{minWidth:s.minWidth!==void 0?s.minWidth:0,minHeight:s.minHeight!==void 0?s.minHeight:0,maxWidth:s.maxWidth!==void 0?s.maxWidth:1/0,maxHeight:s.maxHeight!==void 0?s.maxHeight:1/0});l.left!==void 0&&l.right!==void 0&&(u.maxWidth=Math.min(u.maxWidth,l.right-l.left)),l.bottom!==void 0&&l.top!==void 0&&(u.maxHeight=Math.min(u.maxHeight,l.bottom-l.top));var c=qm(r),d=OS(i,c);return c.width<1/0&&(!u.maxWidth||u.maxWidth>d.width)&&(u.maxWidth=Math.min(u.maxWidth,d.width)),c.height<1/0&&(!u.maxHeight||u.maxHeight>d.height)&&(u.maxHeight=Math.min(u.maxHeight,d.height)),u.minWidth>u.maxWidth&&(u.minWidth=u.maxWidth,u.widthFrozen=!0),u.minHeight>u.maxHeight&&(u.minHeight=u.maxHeight,u.heightFrozen=!0),u}({sizeRestrictions:e,areaRestrictions:this.getAreaRestrictions({visibleArea:this.visibleArea,type:"resize"}
vendor: 5,225 bytes, line 129
129),imageSize:this.imageSize,boundaries:this.boundaries,positionRestrictions:this.positionRestrictions,imageRestriction:this.imageRestriction,visibleArea:this.visibleArea,stencilSize:this.getStencilSize()}),this.visibleArea&&this.stencilSize){var t=this.getStencilSize(),n=qm(this.getAreaRestrictions({visibleArea:this.visibleArea,type:"resize"}));e.maxWidth=Math.min(e.maxWidth,n.width*t.width/this.boundaries.width),e.maxHeight=Math.min(e.maxHeight,n.height*t.height/this.boundaries.height),e.maxWidth<e.minWidth&&(e.minWidth=e.maxWidth),e.maxHeight<e.minHeight&&(e.minHeight=e.maxHeight)}return e}return{minWidth:0,minHeight:0,maxWidth:0,maxHeight:0}},positionRestrictions:function(){return this.positionRestrictionsAlgorithm({imageSize:this.imageSize,imageRestriction:this.imageRestriction})},classes:function(){return{cropper:wa(),image:In(wa("image"),this.imageClass),stencil:wa("stencil"),boundaries:In(wa("boundaries"),this.boundariesClass),stretcher:In(wa("stretcher")),background:In(wa("background"),this.backgroundClass),foreground:In(wa("foreground"),this.foregroundClass),imageWrapper:In(wa("image-wrapper")),cropperWrapper:In(wa("cropper-wrapper"))}},stencilCoordinates:function(){if(this.initialized){var e=this.coordinates,t=e.width,n=e.height,o=e.left,r=e.top;return{width:t/this.coefficient,height:n/this.coefficient,left:(o-this.visibleArea.left)/this.coefficient,top:(r-this.visibleArea.top)/this.coefficient}}return this.defaultCoordinates()},boundariesStyle:function(){var e={width:this.boundaries.width?"".concat(Math.round(this.boundaries.width),"px"):"auto",height:this.boundaries.height?"".concat(Math.round(this.boundaries.height),"px"):"auto",transition:"opacity ".concat(this.transitionTime,"ms"),pointerEvents:this.imageLoaded?"all":"none"};return this.imageLoaded||(e.opacity="0"),e},imageStyle:function(){var e=this.imageAttributes.width>this.imageAttributes.height?{width:Math.min(1024,this.imageAttributes.width),height:Math.min(1024,this.imageAttributes.width)/(this.imageAttributes.width/this.imageAttributes.height)}:{height:Math.min(1024,this.imageAttributes.height),width:Math.min(1024,this.imageAttributes.height)*(this.imageAttributes.width/this.imageAttributes.height)},t={left:(e.width-this.imageSize.width)/(2*this.coefficient),top:(e.height-this.imageSize.height)/(2*this.coefficient)},n={left:(1-1/this.coefficient)*e.width/2,top:(1-1/this.coefficient)*e.height/2},o=Ht(Ht({},this.imageTransforms),{},{scaleX:this.imageTransforms.scaleX*(this.imageAttributes.width/e.width),scaleY:this.imageTransforms.scaleY*(this.imageAttributes.height/e.height)}),r={width:"".concat(e.width,"px"),height:"".concat(e.height,"px"),left:"0px",top:"0px",transform:"translate(".concat(-t.left-n.left-this.imageTransforms.translateX,"px, ").concat(-t.top-n.top-this.imageTransforms.translateY,"px)")+MS(o)};return this.transitionsOptions.enabled&&(r.transition="".concat(this.transitionsOptions.time,"ms ").concat(this.transitionsOptions.timingFunction)),r}},watch:{src:function(){this.onChangeImage()},stencilComponent:function(){var e=this;this.$nextTick(function(){e.resetCoordinates(),e.runAutoZoom("setCoordinates"),e.onChange()})},minWidth:function(){this.onPropsChange()},maxWidth:function(){this.onPropsChange()},minHeight:function(){this.onPropsChange()},maxHeight:function(){this.onPropsChange()},imageRestriction:function(){this.reset()},stencilProps:function(e,t){["aspectRatio","minAspectRatio","maxAspectRatio"].find(function(n){return e[n]!==t[n]})&&this.$nextTick(this.onPropsChange)}},created:function(){this.debouncedUpdate=Hm(this.update,this.debounce),this.debouncedDisableTransitions=Hm(this.disableTransitions,this.transitionsOptions.time),this.awaiting=!1},mounted:function(){this.$refs.image.addEventListener("load",this.onSuccessLoadImage),this.$refs.image.addEventListener("error",this.onFailLoadImage),this.onChangeImage(),window.addEventListener("resize",this.refresh),window.addEventListener("orientationchange",this.refresh)},unmounted:function(){window.removeEventListener("resize",this.refresh),window.removeEventListener("orientationchange",this.refresh),this.imageAttributes.revoke&&this.imageAttributes.src&&URL.revokeObjectURL(this.imageAttributes.src),this.debouncedUpdate.clear(),this.debouncedDisableTransitions.clear()},methods:{getResult:function(){var e=this.initialized?this.prepareResult(Ht({},this.coordinates)):this.defaultCoordinates(),t={rotate:this.imageTransforms.rotate%360,flip:Ht({},this.imageTransforms.flip)};if(this.src&&this.imageLoaded){var n=this;return{image:this.image,coordinates:e,visibleArea:this.visibleArea?Ht({},this.visibleArea):null,imageTransforms:t,get canvas(){return n.canvas?n.getCanvas():void 0}}}return{image:this.image,coordinates:e,visibleArea:this.visibleArea?Ht({},this.visibleArea):null,canvas:void 0,imageTransforms:t}},zoom:function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=n.transitions,r=o===void 0||o;this.onManipulateImage(new zl({},{factor:1/e,center:t}),{normalize:!1,transitions:r})},move:function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=n.transitions,r=o===void 0||o;this.onManipulateImage(new zl({left:e||0,top:t||0}),{normalize:!1,transitions:r})}
129,setCoordinates:function(e){var t=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=n.autoZoom,r=o===void 0||o,s=n.transitions,i=s===void 0||s;this.$nextTick(function(){t.imageLoaded?(t.transitionsActive||(i&&t.enableTransitions(),t.coordinates=t.applyTransform(e),r&&t.runAutoZoom("setCoordinates"),i&&t.debouncedDisableTransitions()),t.onChange()):t.delayedTransforms=e})},refresh:function(){var e=this,t=this.$refs.image;if(this.src&&t)return this.initialized?this.updateVisibleArea().then(function(){e.onChange()}):this.resetVisibleArea().then(function(){e.onChange()})},reset:function(){var e=this;return this.resetVisibleArea().then(function(){e.onChange(!1)})},awaitRender:function(e){var t=this;this.awaiting||(this.awaiting=!0,this.$nextTick(function(){e(),t.awaiting=!1}))},prepareResult:function(e){return this.roundResult?function(t){var n=t.coordinates,o=t.sizeRestrictions,r=t.positionRestrictions,s={width:Math.round(n.width),height:Math.round(n.height),left:Math.round(n.left),top:Math.round(n.top)};return s.width>o.maxWidth?s.width=Math.floor(n.width):s.width<o.minWidth&&(s.width=Math.ceil(n.width)),s.height>o.maxHeight?s.height=Math.floor(n.height):s.height<o.minHeight&&(s.height=Math.ceil(n.height)),ho(s,r)}(Ht(Ht({},this.getPublicProperties()),{},{positionRestrictions:pc(this.positionRestrictions,this.visibleArea),coordinates:e})):e},processAutoZoom:function(e,t,n,o){var r=this.autoZoomAlgorithm;r||(r=this.stencilSize?u7:this.autoZoom?c7:d7);var s=r({event:{type:e,params:o},visibleArea:t,coordinates:n,boundaries:this.boundaries,aspectRatio:this.getAspectRatio(),positionRestrictions:this.positionRestrictions,getAreaRestrictions:this.getAreaRestrictions,sizeRestrictions:this.sizeRestrictions,stencilSize:this.getStencilSize()});return Ht(Ht({},s),{},{changed:!B1(s.visibleArea,t)||!B1(s.coordinates,n)})},runAutoZoom:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.transitions,o=n!==void 0&&n,r=J9(t,T7),s=this.processAutoZoom(e,this.visibleArea,this.coordinates,r),i=s.visibleArea,l=s.coordinates,u=s.changed;o&&u&&this.enableTransitions(),this.visibleArea=i,this.coordinates=l,o&&u&&this.debouncedDisableTransitions()},normalizeEvent:function(e){return function(t){var n=t.event,o=t.visibleArea,r=t.coefficient;if(n.type==="manipulateImage")return Ze(Ze({},n),{move:{left:n.move&&n.move.left?r*n.move.left:0,top:n.move&&n.move.top?r*n.move.top:0},scale:{factor:n.scale&&n.scale.factor?n.scale.factor:1,center:n.scale&&n.scale.center?{left:n.scale.center.left*r+o.left,top:n.scale.center.top*r+o.top}:null}});if(n.type==="resize"){var s=Ze(Ze({},n),{directions:Ze({},n.directions)});
vendor: 4,193 bytes, line 129
129return oa.forEach(function(l){s.directions[l]*=r}),s}if(n.type==="move"){var i=Ze(Ze({},n),{directions:Ze({},n.directions)});return a7.forEach(function(l){i.directions[l]*=r}),i}return n}(Ht(Ht({},this.getPublicProperties()),{},{event:e}))},getCanvas:function(){if(this.$refs.canvas){var e=this.$refs.canvas,t=this.$refs.image,n=this.imageTransforms.rotate!==0||this.imageTransforms.flip.horizontal||this.imageTransforms.flip.vertical?function(l,u,c){var d=c.rotate,p=c.flip,m={width:u.naturalWidth,height:u.naturalHeight},h=IS(m,d),g=l.getContext("2d");l.height=h.height,l.width=h.width,g.save();var b=es(mo(Ze({left:0,top:0},m)),d);return g.translate(-(b.left-h.width/2),-(b.top-h.height/2)),g.rotate(d*Math.PI/180),g.translate(p.horizontal?m.width:0,p.vertical?m.height:0),g.scale(p.horizontal?-1:1,p.vertical?-1:1),g.drawImage(u,0,0,m.width,m.height),g.restore(),l}(this.$refs.sourceCanvas,t,this.imageTransforms):t,o=Ht({minWidth:0,minHeight:0,maxWidth:1/0,maxHeight:1/0,maxArea:this.maxCanvasSize,imageSmoothingEnabled:!0,imageSmoothingQuality:"high",fillColor:"transparent"},this.canvas),r=function(l){return l.find(function(u){return c=u,!Number.isNaN(parseFloat(c))&&isFinite(c);var c})},s=Aa({sizeRestrictions:{minWidth:r([o.width,o.minWidth])||0,minHeight:r([o.height,o.minHeight])||0,maxWidth:r([o.width,o.maxWidth])||1/0,maxHeight:r([o.height,o.maxHeight])||1/0},width:this.coordinates.width,height:this.coordinates.height,aspectRatio:{minimum:this.coordinates.width/this.coordinates.height,maximum:this.coordinates.width/this.coordinates.height}});if(o.maxArea&&s.width*s.height>o.maxArea){var i=Math.sqrt(o.maxArea/(s.width*s.height));s={width:Math.round(i*s.width),height:Math.round(i*s.height)}}return function(l,u,c,d,p){l.width=d?d.width:c.width,l.height=d?d.height:c.height;var m=l.getContext("2d");m.clearRect(0,0,l.width,l.height),p&&(p.imageSmoothingEnabled&&(m.imageSmoothingEnabled=p.imageSmoothingEnabled),p.imageSmoothingQuality&&(m.imageSmoothingQuality=p.imageSmoothingQuality),p.fillColor&&(m.fillStyle=p.fillColor,m.fillRect(0,0,l.width,l.height),m.save()));var h=c.left<0?-c.left:0,g=c.top<0?-c.top:0;m.drawImage(u,c.left+h,c.top+g,c.width,c.height,h*(l.width/c.width),g*(l.height/c.height),l.width,l.height)}(e,n,this.coordinates,s,o),e}},update:function(){this.$emit("change",this.getResult())},applyTransform:function(e){var t=arguments.length>1&&arguments[1]!==void 0&&arguments[1],n=this.visibleArea&&t?i7(this.sizeRestrictions,this.visibleArea):this.sizeRestrictions,o=this.visibleArea&&t?pc(this.positionRestrictions,this.visibleArea):this.positionRestrictions;return l7({transform:e,coordinates:this.coordinates,imageSize:this.imageSize,sizeRestrictions:n,positionRestrictions:o,aspectRatio:this.getAspectRatio(),visibleArea:this.visibleArea})},resetCoordinates:function(){var e=this;if(this.$refs.image){this.$refs.cropper,this.$refs.image;var t=this.defaultSize;t||(t=this.stencilSize?m7:p7);var n=this.sizeRestrictions;n.minWidth,n.minHeight,n.maxWidth,n.maxHeight;var o=ci(t)?t({boundaries:this.boundaries,imageSize:this.imageSize,aspectRatio:this.getAspectRatio(),sizeRestrictions:this.sizeRestrictions,stencilSize:this.getStencilSize(),visibleArea:this.visibleArea}):t,r=this.defaultPosition||f7,s=[o,function(i){var l=i.coordinates;return Ht({},ci(r)?r({coordinates:l,imageSize:e.imageSize,visibleArea:e.visibleArea}):e.defaultPosition)}];this.delayedTransforms&&s.push.apply(s,Gs(Array.isArray(this.delayedTransforms)?this.delayedTransforms:[this.delayedTransforms])),this.coordinates=this.applyTransform(s,!0),this.delayedTransforms=null}},clearImage:function(){var e=this;this.imageLoaded=!1,setTimeout(function(){var t=e.$refs.stretcher;t&&(t.style.height="auto",t.style.width="auto"),e.coordinates=e.defaultCoordinates(),e.boundaries={width:0,height:0}},this.transitionTime)},enableTransitions:function(){this.transitions&&(this.transitionsActive=!0)},disableTransitions:function(){this.transitionsActive=!1},updateBoundaries:function(){var e=this,t=this.$refs.stretcher,n=this.$refs.cropper;return this.initStretcher({cropper:n,stretcher:t,imageSize:this.imageSize}),this.$nextTick().then(function(){var o={cropper:n,imageSize:e.imageSize};
129if(ci(e.defaultBoundaries)?e.boundaries=e.defaultBoundaries(o):e.defaultBoundaries==="fit"?e.boundaries=function(r){var s=r.cropper,i=r.imageSize,l=s.clientHeight,u=s.clientWidth,c=l,d=i.width*l/i.height;return d>u&&(d=u,c=i.height*u/i.width),{width:d,height:c}}(o):e.boundaries=function(r){var s=r.cropper;return{width:s.clientWidth,height:s.clientHeight}}(o),!e.boundaries.width||!e.boundaries.height)throw new Error("It's impossible to fit the cropper in the current container")})},resetVisibleArea:function(){var e=this;return this.appliedImageTransforms=Ht(Ht({},this.defaultImageTransforms),{},{flip:Ht({},this.defaultImageTransforms.flip)}),this.updateBoundaries().then(function(){e.priority!=="visible-area"&&(e.visibleArea=null,e.resetCoordinates());var t,n,o,r,s,i,l=e.defaultVisibleArea||h7;e.visibleArea=ci(l)?l({imageSize:e.imageSize,boundaries:e.boundaries,coordinates:e.priority!=="visible-area"?e.coordinates:null,getAreaRestrictions:e.getAreaRestrictions,stencilSize:e.getStencilSize()}):e.defaultVisibleArea,e.visibleArea=(t={visibleArea:e.visibleArea,boundaries:e.boundaries,getAreaRestrictions:e.getAreaRestrictions},n=t.visibleArea,o=t.boundaries,r=t.getAreaRestrictions,s=Ze({},n),i=Wt(o),s.width/s.height!==i&&(s.height=s.width/i),ho(s,r({visibleArea:s,type:"move"}))),e.priority==="visible-area"?e.resetCoordinates():e.coordinates=e.fitCoordinates({visibleArea:e.visibleArea,coordinates:e.coordinates,aspectRatio:e.getAspectRatio(),positionRestrictions:e.positionRestrictions,sizeRestrictions:e.sizeRestrictions}),e.runAutoZoom("resetVisibleArea")}).catch(function(){e.visibleArea=null})},updateVisibleArea:function(){var e=this;return this.updateBoundaries().then(function(){e.visibleArea=e.fitVisibleArea({imageSize:e.imageSize,boundaries:e.boundaries,visibleArea:e.visibleArea,coordinates:e.coordinates,getAreaRestrictions:e.getAreaRestrictions}),e.coordinates=e.fitCoordinates({visibleArea:e.visibleArea,coordinates:e.coordinates,aspectRatio:e.getAspectRatio(),positionRestrictions:e.positionRestrictions,sizeRestrictions:e.sizeRestrictions}),e.runAutoZoom("updateVisibleArea")}).catch(function(){e.visibleArea=null})},onChange:function(){var e=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0];e&&this.debounce?this.debouncedUpdate():this.update()},onChangeImage:function(){var e,t=this;if(this.imageLoaded=!1,this.delayedTransforms=null,this.src){if(function(r){if(R1(r))return!1;var s=window.location,i=/(\w+:)?(?:\/\/)([\w.-]+)?(?::(\d+))?\/?/.exec(r)||[],l={protocol:i[1]||"",host:i[2]||"",port:i[3]||""},u=function(c){return c.port||((c.protocol||s.protocol)==="http"?80:433)};return!(!l.protocol&&!l.host&&!l.port||l.protocol&&l.protocol==s.protocol&&l.host&&l.host==s.host&&l.host&&u(l)==u(s))}(this.src)){var n=oo(this.crossOrigin)?this.canvas:this.crossOrigin;n===!0&&(n="anonymous"),this.imageAttributes.crossOrigin=n||null}if(this.checkOrientation){var o=(e=this.src,new Promise(function(r){$7(e).then(function(s){var i=A7(s);r(s?{source:e,arrayBuffer:s,orientation:i}:{source:e,arrayBuffer:null,orientation:null})}).catch(function(s){console.warn(s),r({source:e,arrayBuffer:null,orientation:null})})}));setTimeout(function(){o.then(t.onParseImage)},this.transitionTime)}else setTimeout(function(){t.onParseImage({source:t.src})},this.transitionTime)}else this.clearImage()},onFailLoadImage:function(){this.imageAttributes.src&&(this.clearImage(),this.$emit("error"))},onSuccessLoadImage:function(){var e=this,t=this.$refs.image;t&&!this.imageLoaded&&(this.imageAttributes.height=t.naturalHeight,this.imageAttributes.width=t.naturalWidth,this.imageLoaded=!0,this.resetVisibleArea().then(function(){e.$emit("ready"),e.onChange(!1)}))},onParseImage:function(e){var t=this,n=e.source,o=e.arrayBuffer,r=e.orientation;this.imageAttributes.revoke&&this.imageAttributes.src&&URL.revokeObjectURL(this.imageAttributes.src),this.imageAttributes.revoke=!1,o&&r&&r>1?$S(n)||!R1(n)?(this.imageAttributes.src=URL.createObjectURL(new Blob([o])),this.imageAttributes.revoke=!0):this.imageAttributes.src=function(s){for(var i=[],l=new Uint8Array(s);l.length>0;){var u=l.subarray(0,8192);i.push(String.fromCharCode.apply(null,Array.from?Array.from(u):u.slice())),l=l.subarray(8192)}return"data:image/jpeg;base64,"+btoa(i.join(""))}(o):this.imageAttributes.src=n,ci(this.defaultTransforms)?this.appliedImageTransforms=Mp(this.defaultTransforms()):Lc(this.defaultTransforms)?this.appliedImageTransforms=Mp(this.defaultTransforms):this.appliedImageTransforms=function(s){var i=Mp({});if(s)switch(s){case 2:i.flip.horizontal=!0;break;case 3:i.rotate=-180;break;case 4:i.flip.vertical=!0;break;case 5:i.rotate=90,i.flip.vertical=!0;break;case 6:i.rotate=90;break;case 7:i.rotate=90,i.flip.horizontal=!0;break;case 8:i.rotate=-90}return i}(r),this.defaultImageTransforms=Ht(Ht({},this.appliedImageTransforms),{},{flip:Ht({},this.appliedImageTransforms.flip)}),this.$nextTick(function(){var s=t.$refs.image;
vendor: 5,772 bytes, line 129
129s&&s.complete&&(function(i){return!!i.naturalWidth}(s)?t.onSuccessLoadImage():t.onFailLoadImage())})},onResizeEnd:function(){this.runAutoZoom("resize",{transitions:!0})},onMoveEnd:function(){this.runAutoZoom("move",{transitions:!0})},onMove:function(e){var t=this;this.transitionsOptions.enabled||this.awaitRender(function(){t.coordinates=t.moveAlgorithm(Ht(Ht({},t.getPublicProperties()),{},{positionRestrictions:pc(t.positionRestrictions,t.visibleArea),coordinates:t.coordinates,event:t.normalizeEvent(e)})),t.onChange()})},onResize:function(e){var t=this;this.transitionsOptions.enabled||this.stencilSize&&!this.autoZoom||this.awaitRender(function(){var n=t.sizeRestrictions,o=Math.min(t.coordinates.width,t.coordinates.height,20*t.coefficient);t.coordinates=t.resizeAlgorithm(Ht(Ht({},t.getPublicProperties()),{},{positionRestrictions:pc(t.positionRestrictions,t.visibleArea),sizeRestrictions:{maxWidth:Math.min(n.maxWidth,t.visibleArea.width),maxHeight:Math.min(n.maxHeight,t.visibleArea.height),minWidth:Math.max(n.minWidth,o),minHeight:Math.max(n.minHeight,o)},event:t.normalizeEvent(e)})),t.onChange(),t.ticking=!1})},onManipulateImage:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.transitionsOptions.enabled){var n=t.transitions,o=n!==void 0&&n,r=t.normalize,s=r===void 0||r;o&&this.enableTransitions();var i=g7(Ht(Ht({},this.getPublicProperties()),{},{event:s?this.normalizeEvent(e):e,getAreaRestrictions:this.getAreaRestrictions,imageRestriction:this.imageRestriction,adjustStencil:!this.stencilSize&&this.settings.resizeImage.adjustStencil})),l=i.visibleArea,u=i.coordinates;this.visibleArea=l,this.coordinates=u,this.runAutoZoom("manipulateImage"),this.onChange(),o&&this.debouncedDisableTransitions()}},onPropsChange:function(){this.coordinates=this.applyTransform(this.coordinates,!0),this.onChange(!1)},getAreaRestrictions:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.visibleArea,n=e.type,o=n===void 0?"move":n;return this.areaRestrictionsAlgorithm({boundaries:this.boundaries,imageSize:this.imageSize,imageRestriction:this.imageRestriction,visibleArea:t,type:o})},getAspectRatio:function(e){var t,n,o=this.stencilProps,r=o.aspectRatio,s=o.minAspectRatio,i=o.maxAspectRatio;if(this.$refs.stencil&&this.$refs.stencil.aspectRatios){var l=this.$refs.stencil.aspectRatios();t=l.minimum,n=l.maximum}if(oo(t)&&(t=oo(r)?s:r),oo(n)&&(n=oo(r)?i:r),!e&&(oo(t)||oo(n))){var u=this.getStencilSize(),c=u?Wt(u):null;oo(t)&&(t=L1(c)?c:void 0),oo(n)&&(n=L1(c)?c:void 0)}return{minimum:t,maximum:n}},getStencilSize:function(){if(this.stencilSize)return e={currentStencilSize:{width:this.stencilCoordinates.width,height:this.stencilCoordinates.height},stencilSize:this.stencilSize,boundaries:this.boundaries,coefficient:this.coefficient,coordinates:this.coordinates,aspectRatio:this.getAspectRatio(!0)},t=e.boundaries,n=e.stencilSize,o=e.aspectRatio,Ip(Wt(r=ci(n)?n({boundaries:t,aspectRatio:o}):n),o)&&(r=Aa({sizeRestrictions:{maxWidth:t.width,maxHeight:t.height,minWidth:0,minHeight:0},width:r.width,height:r.height,aspectRatio:{minimum:o.minimum,maximum:o.maximum}})),(r.width>t.width||r.height>t.height)&&(r=Aa({sizeRestrictions:{maxWidth:t.width,maxHeight:t.height,minWidth:0,minHeight:0},width:r.width,height:r.height,aspectRatio:{minimum:Wt(r),maximum:Wt(r)}})),r;var e,t,n,o,r},getPublicProperties:function(){return{coefficient:this.coefficient,visibleArea:this.visibleArea,coordinates:this.coordinates,boundaries:this.boundaries,sizeRestrictions:this.sizeRestrictions,positionRestrictions:this.positionRestrictions,aspectRatio:this.getAspectRatio(),imageRestriction:this.imageRestriction}},defaultCoordinates:function(){return Ht({},V1)},flip:function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=n.transitions,r=o===void 0||o;if(!this.transitionsActive){r&&this.enableTransitions();var s=Ht({},this.imageTransforms.flip),i=y7({flip:{horizontal:e?!s.horizontal:s.horizontal,vertical:t?!s.vertical:s.vertical},previousFlip:s,rotate:this.imageTransforms.rotate,visibleArea:this.visibleArea,coordinates:this.coordinates,imageSize:this.imageSize,positionRestrictions:this.positionRestrictions,sizeRestrictions:this.sizeRestrictions,getAreaRestrictions:this.getAreaRestrictions,aspectRatio:this.getAspectRatio()}),l=i.visibleArea,u=i.coordinates;e&&(this.appliedImageTransforms.flip.horizontal=!this.appliedImageTransforms.flip.horizontal),t&&(this.appliedImageTransforms.flip.vertical=!this.appliedImageTransforms.flip.vertical),this.visibleArea=l,this.coordinates=u,this.onChange(),r&&this.debouncedDisableTransitions()}},rotate:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.transitions,o=n===void 0||n;if(!this.transitionsActive){o&&this.enableTransitions();var r=Ht({},this.imageSize);this.appliedImageTransforms.rotate+=e;var s=v7({visibleArea:this.visibleArea,coordinates:this.coordinates,previousImageSize:r,imageSize:this.imageSize,angle:e,positionRestrictions:this.positionRestrictions,sizeRestrictions:this.sizeRestrictions,getAreaRestrictions:this.getAreaRestrictions,aspectRatio:this.getAspectRatio()}),i=s.visibleArea,l=s.coordinates,u=this.processAutoZoom("rotateImage",i,l);i=u.visibleArea,l=u.coordinates,this.visibleArea=i,this.coordinates=l,this.onChange(),o&&this.debouncedDisableTransitions()}}},emits:["change","error","ready"]},E7={key:0,ref:"canvas",style:{display:"none"}},P7={key:1,ref:"sourceCanvas",style:{display:"none"}};FS.render=function(e,t,n,o,r,s){return v(),X("div",{ref:"cropper",class:s.classes.cropper},[C("div",{ref:"stretcher",class:s.classes.stretcher},null,2),C("div",{class:s.classes.boundaries,style:s.boundariesStyle},[(v(),X($r(n.backgroundWrapperComponent),{class:s.classes.cropperWrapper,"
129wheel-resize":s.settings.resizeImage.wheel,"touch-resize":s.settings.resizeImage.touch,"touch-move":s.settings.moveImage.touch,"mouse-move":s.settings.moveImage.mouse,onMove:s.onManipulateImage,onResize:s.onManipulateImage},{default:$(function(){return[C("div",{class:s.classes.background,style:s.boundariesStyle},null,6),C("div",{class:s.classes.imageWrapper},[C("img",{ref:"image",crossorigin:r.imageAttributes.crossOrigin,src:r.imageAttributes.src,class:s.classes.image,style:s.imageStyle,onMousedown:t[1]||(t[1]=He(function(){},["prevent"]))},null,46,["crossorigin","src"])],2),C("div",{class:s.classes.foreground,style:s.boundariesStyle},null,6),ca((v(),X($r(n.stencilComponent),Me({ref:"stencil",image:s.image,coordinates:r.coordinates,"stencil-coordinates":s.stencilCoordinates,transitions:s.transitionsOptions},n.stencilProps,{onResize:s.onResize,onResizeEnd:s.onResizeEnd,onMove:s.onMove,onMoveEnd:s.onMoveEnd}),null,16,["image","coordinates","stencil-coordinates","transitions","onResize","onResizeEnd","onMove","onMoveEnd"])),[[Jl,r.imageLoaded]]),n.canvas?(v(),X("canvas",E7,null,512)):D("",!0),n.canvas?(v(),X("canvas",P7,null,512)):D("",!0)]}),_:1},8,["class","wheel-resize","touch-resize","touch-move","mouse-move","onMove","onResize"]))],6)],2)};const O7={class:"image-cropper-modal__stage rounded-[8px] overflow-hidden bg-[#1F1F1F]"},I7={key:0,class:"body-14 text-danger mt-3"},D7={class:"flex items-center justify-between w-full gap-3"},M7={class:"flex items-center gap-2"},R7={class:"flex items-center gap-3"},U1=1024,L7=$e({__name:"ImageCropperModal",props:{modelValue:{type:Boolean},src:{},fileName:{},mimeType:{},onApply:{type:Function}},emits:["update:modelValue","crop"],setup(e,{emit:t}){const n=e,o=t,r=M(null),s=M(!1),i=M(""),l=M(!1);rt(()=>{l.value=!0});const u=["image/jpeg","image/png","image/webp"],c=w({get:()=>n.modelValue,set:b=>o("update:modelValue",b)});function d(){i.value="",c.value=!1}function p(){const b=(n.mimeType||"").toLowerCase();return u.includes(b)?b:"image/jpeg"}function m(b){const y=b==="image/png"?"png":b==="image/webp"?"webp":"jpg";return`${(n.fileName||"profile-image").replace(/\.[^.]+$/,"")}.${y}`}function h(b){var y,_;(_=(y=r.value)==null?void 0:y.zoom)==null||_.call(y,b)}async function g(){var k;i.value="";const b=r.value;if(!b)return;const y=(k=b.getResult)==null?void 0:k.call(b),_=y==null?void 0:y.canvas;if(!_)return;s.value=!0;const A=p();try{const E=await new Promise(F=>{_.toBlob(P=>F(P),A,A==="image/jpeg"?.92:void 0)});if(!E){i.value="We couldn’t process this image. Please upload it again to crop it.";return}const I=new File([E],m(A),{type:A});if(n.onApply){const F=await n.onApply(I);F===!0?c.value=!1:i.value=typeof F=="string"?F:"We couldn’t save your photo. Please try again.";return}o("crop",I),c.value=!1}catch{i.value="We couldn’t process this image. Please upload it again to crop it."}finally{s.value=!1}}return(b,y)=>(v(),X(f(Li),{modelValue:c.value,"onUpdate:modelValue":y[2]||(y[2]=_=>c.value=_),"hide-default-actions":"",size:"small",class:"image-cropper-modal"},{header:$(()=>[a("div",{class:"flex items-center justify-between w-full mb-[1em]"},[y[4]||(y[4]=a("h3",{class:"body-20 bold text-black"},"Crop Your Photo",-1)),a("button",{type:"button","aria-label":"Close",class:"text-gray-400 hover:text-gray-600",onClick:d},y[3]||(y[3]=[a("i",{class:"icon-x-close-q body-20","aria-hidden":"true"},null,-1)]))])]),footer:$(()=>[a("div",D7,[a("div",M7,[C(f(bt),{preset:"whiteAlt",class:"border-2","aria-label":"Zoom out",onClick:y[0]||(y[0]=_=>h(.9))},{default:$(()=>y[5]||(y[5]=[a("i",{class:"icon icon-zoom-out-q","aria-hidden":"true"},null,-1)])),_:1,__:[5]}),C(f(bt),{preset:"whiteAlt",class:"border-2","aria-label":"Zoom in",onClick:y[1]||(y[1]=_=>h(1.1))},{default:$(()=>y[6]||(y[6]=[a("i",{class:"icon icon-zoom-in-q","aria-hidden":"true"},null,-1)])),_:1,__:[6]})]),a("div",R7,[C(f(bt),{preset:"whiteAlt",class:"border-2",onClick:d},{default:$(()=>y[7]||(y[7]=[T("Cancel")])),_:1,__:[7]}),C(f(bt),{preset:"royal",loading:s.value,disabled:s.value,onClick:g},{default:$(()=>y[8]||(y[8]=[T(" Apply ")])),_:1,__:[8]},8,["loading","disabled"])])])]),default:$(()=>[y[9]||(y[9]=a("p",{class:"body-15 text-black mb-4"}," Drag to reposition and resize the circle to center your photo. The area inside the circle will be saved. ",-1)),a("div",O7,[l.value&&c.value&&b.src?(v(),X(f(FS),{key:0,ref_key:"cropperRef",ref:r,class:"image-cropper-modal__cropper",src:b.src,"stencil-component":f(BS),"stencil-props":{aspectRatio:1},canvas:{maxWidth:U1,maxHeight:U1},"image-restriction":"fit-area","cross-origin":"anonymous"},null,8,["src","stencil-component","canvas"])):D("",!0)]),i.value?(v(),x("p",I7,V(i.value),1)):D("",!0)]),_:1,__:[9]},8,["modelValue"]))}}),V7=Zn(L7,[["__scopeId","data-v-a77b452d"]]),B7={class:"rounded-[10px] border border-[#
129E5E7EB] p-[25px] bg-white mb-6"},F7={class:"basis-full pb-6 flex flex-wrap gap-4"},N7={class:"bg-neutral h-[110px] w-[110px] mr-[10px] flex items-center justify-center rounded-lg overflow-hidden"},z7={class:"md:w-[calc(67%-110px)]"},j7={key:0,class:"body-14 text-danger mt-2"},U7={class:"form-item"},H7={class:"form-item"},W7={class:"form-item"},q7={class:"form-item"},G7={class:"form-item"},Y7={class:"form-item"},K7={class:"rounded-[10px] border border-[#E5E7EB] p-[25px] bg-white mb-6"},Q7={class:"form-row"},X7={class:"form-item"},J7={class:"basis-full mt-4 pb-6"},Z7={class:"flex items-center gap-0 mb-2"},ez={class:"va-input-label"},tz={class:"rounded-[10px] border border-[#E5E7EB] p-[25px] bg-white mb-6"},nz={class:"basis-full pb-6"},oz={class:"form-label va-input-label mb-[1.5em]"},rz={class:"basis-full flex flex-col gap-y-6 gap-x-12"},az={class:"form-item !min-h-0 !flex-1"},sz={class:"flex items-center"},iz={class:"form-label va-input-label ml-[12px]"},lz={class:"mt-2 ml-1"},uz={key:1,class:"body-14 text-gray-400"},cz={key:0,class:"mt-3 ml-1 rounded-lg border border-[#E5E7EB] bg-[#F9FAFB] p-5"},dz={key:0,class:"body-14 text-gray-500 mb-3"},fz={key:0,class:"body-14 text-danger mt-2"},H1=5*1024*1024,W1="Oops! That image is too large. Please upload a JPG, JPEG, PNG, or WEBP that is 5 MB or less.",NS=$e({__name:"ProfileTabForm",props:{form:{},rules:{},fileSrc:{},uploaded:{},profileImageError:{},dtcTcError:{},agentCodeDisabled:{type:Boolean},uploadButtonClass:{},saveProfileImage:{type:Function},profileImageLocalPreview:{}},emits:["update:uploaded","clearImage","trim","formatPhone"],setup(e,{expose:t,emit:n}){const o=e,r=n,s=M(!1),i=M(""),l=M(void 0),u=M(void 0),c=M(null),d=M(!1);function p(){c.value&&(URL.revokeObjectURL(c.value),c.value=null)}function m(P){const B=Array.isArray(P)?P[0]:P;if(!B){r("update:uploaded",void 0);return}if(B.size>H1){d.value=!0;return}p(),c.value=URL.createObjectURL(B),i.value=c.value,l.value=B.name,u.value=B.type,s.value=!0}function h(){var P,B;o.fileSrc&&(p(),i.value=o.fileSrc,l.value=(P=o.uploaded)==null?void 0:P.name,u.value=(B=o.uploaded)==null?void 0:B.type,s.value=!0)}const g=w(()=>o.uploaded?`file-${o.uploaded.name}-${o.uploaded.size}-${o.uploaded.lastModified}`:o.profileImageLocalPreview?o.profileImageLocalPreview:o.form.profile_image_url||"no-image");async function b(P){return o.saveProfileImage?await o.saveProfileImage(P):P.size>H1?W1:(r("update:uploaded",P),!0)}we(s,P=>{P||p()}),Wn(p);const y=M(null),_=M(!1),A=M(!1),k=w(()=>o.form.dtc_enabled&&!o.form.dtc_tc_acknowledged_at);w(()=>o.form.dtc_enabled&&!!o.form.dtc_tc_acknowledged_at);const E=w(()=>o.form.dtc_tc_acknowledged_at?new Date(o.form.dtc_tc_acknowledged_at).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"2-digit"}):null);we(k,P=>{P&&(A.value=!0)});const I=()=>{o.form.dtc_eligible&&(A.value=!A.value)},F=P=>{P&&!o.form.dtc_tc_acknowledged_at?A.value=!0:P||(A.value=!1)};return t({profileImageSectionRef:y,dtcTcAgreed:_}),(P,B)=>{const O=he("VaImage"),j=he("VaButton"),G=he("VaFileUpload"),Q=he("VaInput"),Y=he("VaSelect"),W=he("VaPopover"),re=he("VaTextarea"),oe=he("VaRadio"),ne=he("VaCheckbox"),z=he("VaModal");return v(),x("div",null,[a("div",B7,[B[20]||(B[20]=a("h3",{class:"body-25 bold mb-[1.5em]"},"Profile",-1)),a("div",{class:"form-row scroll-mt-20",ref_key:"profileImageSectionRef",ref:y},[a("div",F7,[a("div",N7,[(v(),X(O,{key:g.value,src:P.fileSrc,"fallback-icon":"icon-user-q",class:"h-[110px] w-[110px] border-royalblue border-[2px] rounded-full overflow-hidden"},null,8,["src"]))]),a("div",z7,[B[19]||(B[19]=a("p",{class:"body-14 mb-[1em] max-w-[500px]"},[a("span",{class:"va-input-label__required-mark ml-[-8px] mr-[2px]"},"*"),T("Upload a JPG, JPEG, PNG, or WEBP that is 5 MB or less. "),a("br",{class:"md:block hidden"}),T("We recommend a professional headshot that is in a square format.")],-1)),C(G,{"model-value":P.uploaded,"onUpdate:modelValue":m,"file-types":"jpg,jpeg,png,webp",type:"single",class:"mb-0 mt-2","hide-file-list":"","file-incorrect-message":"Oops! Hatch does not currently support that file type. Please try again using a JPG, JPEG, PNG, or WEBP."},{default:$(({open:N})=>
129[C(j,{preset:"whiteAlt",class:xe(P.uploadButtonClass??"border-2"),onClick:N},{default:$(()=>B[18]||(B[18]=[T("Upload New Image")])),_:2,__:[18]},1032,["class","onClick"]),P.uploaded||P.form.profile_image_url?(v(),x("a",{key:0,onClick:He(h,["prevent"]),class:"ml-[20px] body-16 semibold text-royalblue underline inline-block pt-[14px]",href:"#"},"Edit / Crop")):D("",!0),P.uploaded||P.form.profile_image_url?(v(),x("a",{key:1,onClick:B[0]||(B[0]=He(ae=>P.$emit("clearImage"),["prevent"])),class:"ml-[20px] body-16 semibold text-royalblue underline inline-block pt-[14px]",href:"#"},"Remove Image")):D("",!0)]),_:1},8,["model-value"]),P.profileImageError?(v(),x("p",j7,V(P.profileImageError),1)):D("",!0)])]),a("div",U7,[C(Q,{modelValue:P.form.agent_name,"onUpdate:modelValue":B[1]||(B[1]=N=>P.form.agent_name=N),rules:[P.rules.required("Agent Name is required"),P.rules.agentName()],label:f(dn).agent_name,placeholder:"Jane Doe-Cooper Jr.","required-mark":"",class:"w-full",onChange:B[2]||(B[2]=N=>P.$emit("trim",P.form.agent_name,"agent_name"))},null,8,["modelValue","rules","label"])]),a("div",H7,[C(Q,{modelValue:P.form.agent_code,"onUpdate:modelValue":B[3]||(B[3]=N=>P.form.agent_code=N),modelModifiers:{trim:!0},rules:[P.rules.required(),P.rules.agentCode()],label:f(dn).agent_code,disabled:P.agentCodeDisabled,placeholder:"SFG0000000","required-mark":"",class:"w-full"},null,8,["modelValue","rules","label","disabled"])]),a("div",W7,[C(Q,{modelValue:P.form.phone,"onUpdate:modelValue":B[4]||(B[4]=N=>P.form.phone=N),modelModifiers:{trim:!0},rules:[P.rules.phone()],label:f(dn).phone,placeholder:"000-000-0000",class:"w-full",onInput:B[5]||(B[5]=N=>P.$emit("formatPhone",N))},null,8,["modelValue","rules","label"])]),a("div",q7,[C(Q,{modelValue:P.form.email,"onUpdate:modelValue":B[6]||(B[6]=N=>P.form.email=N),modelModifiers:{trim:!0},rules:[P.rules.required("Email is required"),P.rules.email()],label:f(dn).email,"required-mark":"",class:"w-full"},null,8,["modelValue","rules","label"])]),a("div",G7,[C(Q,{modelValue:P.form.city,"onUpdate:modelValue":B[7]||(B[7]=N=>P.form.city=N),rules:[P.rules.city()],label:f(dn).city,class:"w-full",onChange:B[8]||(B[8]=N=>P.$emit("trim",P.form.city,"city"))},null,8,["modelValue","rules","label"])]),a("div",Y7,[C(Y,{modelValue:P.form.state,"onUpdate:modelValue":B[9]||(B[9]=N=>P.form.state=N),options:f(X9),label:f(dn).state,clearable:"",class:"w-full"},null,8,["modelValue","options","label"])])],512)]),a("div",K7,[B[23]||(B[23]=a("h3",{class:"body-25 bold mb-[1.5em]"},"Agency",-1)),a("div",Q7,[a("div",X7,[C(Q,{modelValue:P.form.agency_name,"onUpdate:modelValue":B[10]||(B[10]=N=>P.form.agency_name=N),rules:[P.rules.required("Agency Name is required"),P.rules.agencyName()],label:f(dn).agency_name,"required-mark":"",class:"w-full",onChange:B[11]||(B[11]=N=>P.$emit("trim",P.form.agency_name,"agency_name"))},null,8,["modelValue","rules","label"])]),a("div",J7,[a("div",Z7,[a("span",ez,[B[21]||(B[21]=a("span",{class:"va-input-label__required-mark ml-[-8px] mr-[2px]"},"*",-1)),T(V(f(dn).about_agency),1)]),C(W,{placement:"right","auto-placement":!0,message:"Provide a short summary of the services your agency provides, where you are located, or other helpful details about you and your team."},{default:$(()=>B[22]||(B[22]=[a("i",{class:"text-royalblue icon icon-info-circle-q ml-[2px] inline-flex shrink-0","aria-hidden":"true"},null,-1)])),_:1,__:[22]})]),C(re,{modelValue:P.form.about_agency,"onUpdate:modelValue":B[12]||(B[12]=N=>P.form.about_agency=N),modelModifiers:{trim:!0},rules:[P.rules.required("About Agency is required")],"required-mark":"",autosize:"","min-rows":3,class:"w-full"},null,8,["modelValue","rules"])])])]),a("div",tz,[B[30]||(B[30]=a("h3",{class:"body-25 bold mb-[1.5em]"},"Site Content",-1)),a("div",nz,[a("label",oz,[T(V(f(dn).home_page_version)+" ",1),C(W,{placement:"right","auto-placement":!0,message:'By selecting "Term Life/Mortgage Protection," your site will feature digital solutions for a direct-to-consumer application experience. By selecting "Advanced Markets," your site will feature retirement content and an Advanced Markets solution set. By selecting "Recruiting," your home page will feature the Working With Symmetry content.'},{default:$(()=>B[24]||(B[24]=[a("i",{class:"text-royalblue icon icon-info-circle-q ml-[2px]"},null,-1)])),_:1,__:[24]})]),C(oe,{modelValue:P.form.home_page_version,"onUpdate:modelValue":B[13]||(B[13]=N=>P.form.home_page_version=N),options:f(iu),"value-by":"value","text-by":"label",vertical:""},null,8,["modelValue","options"])]),B[31]||(B[31]=a("label",{class:"form-label va-input-label mb-[1.5em]"},"Additional Options",-1)),a("div",rz,[a("div",az,[C(ne,{modelValue:P.form.dtc_enabled,"onUpdate:modelValue":[B[14]||(B[14]=N=>P.form.dtc_enabled=N),F],disabled:!P.form.dtc_eligible},{label:$(()=>[a("div",sz,[a("span",iz,V(f(dn).dtc_enabled),1),C(W,{placement:"right","auto-placement":!0,message:"Click this box (if eligible) to make your site's call-to-action buttons redirect to our Direct-To-Consumer quote form, instead of opening your appointments calendar."},{default:$(()=>B[25]||(B[25]=[a("i",{class:"text-royalblue icon icon-info-circle-q ml-[2px]"},null,-1)])),_:1,__:[25]})])]),_:1},8,["modelValue","disabled"]),a("div",lz,[P.form.dtc_eligible?(v(),x("a",{key:0,href:"#",class:"body-14 semibold text-royalblue underline",onClick:He(I,["prevent"])}," DTC Terms & Conditions ")):(v(),x("span",uz," DTC Terms & Conditions "))]),A.value&&P.form.dtc_eligible?(v(),x("div",cz,[B[27]||(B[27]=a("h4",{class:"body-16 bold mb-2"},"Licensing & Commission Eligibility Acknowledgment",-1)),E.value?(v(),x("p",dz," Acknowledged on "+V(E.value),1)):D("",!0),B[28]||(B[28]=a("p",{class:"body-14 mb-3"}," Subject to applicable state insurance regulations, agents must be properly licensed (resident or non-resident) in the applicant's state at the time of application in order to be eligible to re
129ceive commissions. As such, commissions cannot be earned or paid on any policy issued in a state where the writing agent is not actively licensed at the time of the application. ",-1)),B[29]||(B[29]=a("p",{class:"body-14 mb-4"}," By proceeding, the agent acknowledges and agrees to these licensing and commission requirements and affirms responsibility for maintaining all necessary state licenses for the business they conduct. ",-1)),k.value?(v(),x(de,{key:1},[C(ne,{modelValue:_.value,"onUpdate:modelValue":B[15]||(B[15]=N=>_.value=N),class:"mt-1"},{label:$(()=>B[26]||(B[26]=[a("span",{class:"form-label va-input-label ml-[12px]"}," I acknowledge and agree to the above terms ",-1)])),_:1},8,["modelValue"]),P.dtcTcError?(v(),x("p",fz,V(P.dtcTcError),1)):D("",!0)],64)):D("",!0)])):D("",!0)])])]),C(V7,{modelValue:s.value,"onUpdate:modelValue":B[16]||(B[16]=N=>s.value=N),src:i.value,"file-name":l.value,"mime-type":u.value,"on-apply":b},null,8,["modelValue","src","file-name","mime-type"]),C(z,{modelValue:d.value,"onUpdate:modelValue":B[17]||(B[17]=N=>d.value=N),"hide-default-actions":"",message:W1},null,8,["modelValue"])])}}}),pz={class:"w-full"},mz={key:0,class:"mt-4"},hz={class:"text-red-600"},gz=$e({__name:"CalendlyConnect",props:{agentCode:{type:String,default:null}},setup(e){const t=e,n=M(!1),o=M(""),r=M([]),s=async()=>{var i,l;try{n.value=!0,o.value="";const u={};t.agentCode&&(u.agent_code=t.agentCode);const c=await vt.post("/my/calendar/connect",u);c.data.success&&c.data.authorization_url?window.location.href=c.data.authorization_url:o.value=c.data.message||"Failed to initiate connection"}catch(u){console.error("Failed to connect Calendly:",u),o.value=((l=(i=u.response)==null?void 0:i.data)==null?void 0:l.message)||"An error occurred while connecting",n.value=!1}};return(i,l)=>(v(),x("div",pz,[C(f(Ws),{modelValue:r.value,"onUpdate:modelValue":l[0]||(l[0]=u=>r.value=u),class:"w-full",multiple:""},{default:$(()=>[C(f(Rg),{header:"Connect Calendly to Enable Scheduling",class:"calendly-collapse"},{"header-content":$(()=>l[1]||(l[1]=[a("div",{class:"flex items-center justify-between w-full"},[a("p",{class:"va-collapse__header__text body-14 semibold px-[16px]"},"Connect Calendly to Enable Scheduling")],-1)])),content:$(()=>l[2]||(l[2]=[a("div",{class:"p-0 pt-[1em] px-[16px]"},[a("h4",{class:"body-14 semibold mb-2"},"What is Calendly?"),a("p",{class:"body-14 light mb-[1.5em]"}," Calendly is a third-party scheduling tool that offers a free basic plan. Integrating it with your Hatch site allows prospects to easily book appointments with you directly from your site. Once connected, prospects can select from your available time slots, and their appointments will automatically sync to your Calendly and Google Calendar accounts. "),a("h4",{class:"body-14 semibold mb-2"},"How to get Calendly connected"),a("p",{class:"body-14 light mb-[1.5em]"},"To set up your Calendly integration, choose the option that applies to you:"),a("h5",{class:"body-14 semibold mb-2"},"Already have a Calendly account?"),a("p",{class:"body-14 light mb-[1.5em]"},"If you've previously set up Calendly, simply connect your existing account by following the steps below:"),a("ol",{class:"body-14 light list-decimal list-outside pl-5 mb-[1.5em]"},[a("li",{class:"mb-1"},'Click the "Connect Calendly" button below'),a("li",{class:"mb-1"},"Authorize the connection when prompted"),a("li",{class:"mb-1"},"Calendly will redirect you back to this page to complete your integration set up")]),a("h5",{class:"body-14 semibold mb-2"},"New to Calendly?"),a("p",{class:"body-14 light mb-[1.5em]"},"If this is your first time using Calendly, you'll need to create an account and configure your scheduling settings. Here's what to expect:"),a("ol",{class:"body-14 light list-decimal list-outside pl-5 mb-[1.5em]"},[a("li",{class:"mb-1"},'Click the "Connect Calendly" button below and click "Sign Up" on the page'),a("li",{class:"mb-1"},"Set up your availability and create your meeting types through Calendly's settings"),a("li",{class:"mb-1"},"Calendly will redirect you back to this page to complete your integration set up")]
129),a("h4",{class:"body-14 semibold mb-2"},"What happens next?"),a("p",{class:"body-14 light mb-[1.5em]"}," This page will refresh once the connection to Calendly is complete. Once refreshed, additional fields will appear below for you to finalize your Hatch calendar settings. "),a("h4",{class:"body-14 semibold mb-2"},"How will this impact my calendars?"),a("p",{class:"body-14 light mb-0"}," If that same Google Calendar is connected to your Quility Switchboard Funnel™ account, all Hatch and Funnel appointments will appear in your Google Calendar and in your Funnel scheduled appointments. ")],-1)])),_:1})]),_:1},8,["modelValue"]),o.value?(v(),x("div",mz,[a("div",hz,V(o.value),1)])):D("",!0),C(f(bt),{onClick:s,loading:n.value,disabled:n.value,preset:"callToAction",color:"royalblue",class:"mt-[2em]"},{default:$(()=>l[3]||(l[3]=[T(" Connect Calendly ")])),_:1,__:[3]},8,["loading","disabled"])]))}}),zS=Zn(gz,[["__scopeId","data-v-d3b838be"]]),vz=new RegExp("^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$","i"),yz=new RegExp("^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*$","i"),bz=/^(?=[^.])(?!.*[.]{2})(?!.*[.]$)[A-Za-z0-9!#$%&'*+-/=?^_`{|}~.]+$/,wz=/^\d{3}-\d{3}-\d{4}$/,_z=/^SFG\d{7}$/,xz=/^[a-zA-Z\s]+$/,Sz=/^[a-zA-Z\d\s,-/&\.]*$/,Cz=/^[a-zA-Z\d]+(-[a-zA-Z]+)*[\.]{0,1}[,]{0,1}$/,q1=/^([a-zA-Z\d]+(-[a-zA-Z\d]+)*\.)+[a-z]{2,}$/,jS=["com","net","org","us","web","info","site","io","agency"],An={REQUIRED:"Field is Required",EMAIL:{default:"Email must be in the format: local-part@domain",localPartLength:"Local-part of the email can be up to 64 characters long",domainLength:"Domain of the email can be up to 253 characters long",localPart:"Local-part of the email must be valid",domain:"Domain of the email must be valid"},PHONE:"Phone must be in the format: 000-000-0000",AGENT_CODE:"Agent Code must be in the format: SFG0000000",URL:"URL must be valid",CALENDLY_URL:"URL must be a valid https Calendly link",PROFILE_IMAGE:"Profile image url must be valid",AGENCY_NAME:"Allowed: letters, numbers, spaces and some special characters: , . - / &",AGENT_NAME:{default:"Allowed: letters and some special characters: , . -",length:"The Agent Name must include both Firstname and Lastname",name:"Agent Name must be valid",lastName:"The Lastname should not end with a comma"},CITY:"Special characters and numbers are not allowed",DOMAIN:{default:"Letters, numbers and hyphens are allowed in the format: sub.domain.tld",length:"The length of Domain must not exceed 253 characters",labelLength:"The length of each Domain Label must not exceed 63 characters",TLD:`Allowed TLDs: ${jS.map(e=>"."+e).join(", ")}`}},di=(e,t,n)=>e?typeof e=="string"&&t.test(e)||n:!0,kz=()=>({messages:An,required:p=>m=>{const h=p||An.REQUIRED;return Array.isArray(m)?!!m.length||h:!!m||h},email:p=>m=>{const h=p||An.EMAIL.default;if(!m)return!0;if(typeof m=="string"){const g=m.split("@");if(g.length!==2||g.filter(Boolean).length!==2)return h;const[b,y]=g;return b.length>64?An.EMAIL.localPartLength:y.split(".").some(_=>_.length>63)?An.DOMAIN.labelLength:y.length>253?An.EMAIL.domainLength:bz.test(b)?q1.test(y)?!0:An.EMAIL.domain:An.EMAIL.localPart}return h},phone:p=>m=>{if(!m)return!0;const h=p||An.PHONE;return di(m,wz,h)},url:p=>m=>{const h=p||An.URL;return di(m,vz,h)},calendlyUrl:p=>m=>{const h=p||An.CALENDLY_URL;return!m||typeof m=="string"&&_i(m)?!0:h},city:p=>m=>{const h=p||An.CITY;return di(m,xz,h)},domain:p=>m=>{const h=p||An.DOMAIN.default;if(!m)return!0;if(typeof m=="string"){if(m==="localhost")return!0;if(m.length>253)return An.DOMAIN.length;if(m.split(".").some(b=>b.length>63))return An.DOMAIN.labelLength;if(!q1.test(m))return h;const g=m.split(".").at(-1)||"";return jS.includes(g)?!0:An.DOMAIN.TLD}return h},agencyName:p=>m=>{const h=p||An.AGENCY_NAME;return di(m,Sz,h)},agentCode:p=>m=>{const h=p||An.AGENT_CODE;return di(m,_z,h)},agentName:p=>m=>{var g;const h=p||An.AGENT_NAME.default;if(!m)return!0;
129if(typeof m=="string"){const b=m.split(" ").filter(Boolean);return b.length<2?An.AGENT_NAME.length:b.every(_=>Cz.test(_))?(g=b.at(-1))!=null&&g.endsWith(",")?An.AGENT_NAME.lastName:!0:An.AGENT_NAME.name}return h},profileImage:p=>m=>{const h=p||An.PROFILE_IMAGE;return di(m,yz,h)}});function $z(){const e="https://admin.myhatchsite.io".replace(/\/$/,""),t=vt.create({baseURL:e,withCredentials:!0,withXSRFToken:!0}),n=async(c,d=null)=>{var p;try{return await s(c,"/my/cloudflare/setup-existing-domain",d)}catch(m){return console.error("Existing domain setup failed:",m),((p=m.response)==null?void 0:p.data)||{success:!1,message:"An unknown error occurred during setup."}}},o=async c=>{var d;try{return await i(c,"/my/cloudflare/get-mx-records")}catch(p){return((d=p.response)==null?void 0:d.data)||{success:!1,message:"Failed to retrieve MX records."}}},r=async(c,d)=>{var p;try{return await l(c,d,"/my/cloudflare/update-mx-records")}catch(m){return((p=m.response)==null?void 0:p.data)||{success:!1,message:"Failed to update MX records."}}},s=async(c,d="/admin/cloudflare/setup-existing-domain",p=null)=>{var m;try{const h={domain:c};return p&&(h.agent_code=p),(await t.post(d,h)).data}catch(h){return console.error("Existing domain setup failed:",h),((m=h.response)==null?void 0:m.data)||{success:!1,message:"An unknown error occurred during setup."}}},i=async(c,d="/admin/cloudflare/get-mx-records")=>{var m;console.log("[useCloudflare] getMxRecords called with domain:",c);const p=c.replace(/^www\./i,"");console.log("[useCloudflare] Cleaned domain (www. stripped):",p),console.log("[useCloudflare] Backend API baseURL:",t.defaults.baseURL);try{console.log("[useCloudflare] Sending request to /get-mx-records");const h=await t.post(d,{domain:p});return console.log("[useCloudflare] getMxRecords response:",h.data),h.data}catch(h){return console.error("[useCloudflare] Failed to get MX records:",h),console.error("[useCloudflare] Error response:",h.response),console.error("[useCloudflare] Error config:",h.config),((m=h.response)==null?void 0:m.data)||{success:!1,message:"Failed to retrieve MX records."}}},l=async(c,d,p="/admin/cloudflare/update-mx-records")=>{var h;const m=c.replace(/^www\./i,"");try{return(await t.post(p,{domain:m,mxRecords:d})).data}catch(g){return console.error("Failed to update MX records:",g),((h=g.response)==null?void 0:h.data)||{success:!1,message:"Failed to update MX records."}}};return{setupExistingDomain:s,getMxRecords:i,updateMxRecords:l,setupAgentExistingDomain:n,getAgentMxRecords:o,updateAgentMxRecords:r,getAllDnsRecords:async(c,d="/admin/cloudflare/get-dns-records")=>{var m;console.log("[useCloudflare] getAllDnsRecords called with domain:",c);const p=c.replace(/^www\./i,"");console.log("[useCloudflare] Cleaned domain (www. stripped):",p),console.log("[useCloudflare] Backend API baseURL:",t.defaults.baseURL);try{console.log("[useCloudflare] Sending request to /get-dns-records");const h=await t.post(d,{domain:p});return console.log("[useCloudflare] getAllDnsRecords response:",h.data),h.data}catch(h){return console.error("[useCloudflare] Failed to get MX records:",h),console.error("[useCloudflare] Error response:",h.response),console.error("[useCloudflare] Error config:",h.config),((m=h.response)==null?void 0:m.data)||{success:!1,message:"Failed to retrieve MX records."}}}}}const US=["khloe.ns.cloudflare.com","nikon.ns.cloudflare.com"];function G1(e){if(!e||e.length===0)return!0;const t=[...US].map(o=>o.toLowerCase().trim()).sort(),n=[...e].map(o=>String(o??"").toLowerCase().trim()).filter(Boolean).sort();return t.length!==n.length?!1:t.every((o,r)=>o===n[r])}function Cl(e){if(!(e!=null&&e.site_domain))return!1;const t=String(e.site_domain).trim();return t!==""&&!t.toLowerCase().includes("domain_pending")}function Az(e){return!e||e.toLowerCase()==="complete"?"":e.replace(/[-_]/g," ").split(" ").map(t=>t.toLowerCase()==="ssl"?"SSL":t.charAt(0).toUpperCase()+t.slice(1).toLowerCase()).join(" ")}const Tz=2500;function Ez(e,t){var c;const n={...e??{},...t};!t.cloudflare_zone_id&&(e!=null&&e.cloudflare_zone_id)&&(n.cloudflare_zone_id=e.cloudflare_zone_id);const o=t.cloudflare_nameservers;!(Array.isArray(o)&&o.length>0)&&((c=e==null?void 0:e.cloudflare_nameservers)!=null&&c.length)&&(n.cloudflare_nameservers=e.cloudflare_nameservers),(!t.site_domain||String(t.site_domain).trim()==="")&&(e!=null&&e.site_domain)&&(n.site_domain=e.site_domain);const s=e==null?void 0:e.dns_status,i=t.dns_status,l=String(s??"").toLowerCase(),u=String(i??"").toLowerCase();return(l==="verified"&&u!=="verified"||(i==null||i==="")&&s)&&(n.dns_status=s),(t.provisioning_status===void 0||t.provisioning_status===null||String(t.provisioning_status).trim()==="")&&(e!=null&&e.provisioning_status)&&(n.provisioning_status=e.provisioning_status),(t.site_domain_owner===void 0||t.site_domain_owner===null||t.site_domain_owner==="")&&(e!=null&&e.site_domain_owner)&&(n.site_domain_owner=e.site_domain_owner),n}function Pz(e){const t=M(!1);let n=null;function o(){return typeof e.statusUrl=="function"?e.statusUrl():e.statusUrl}async function r(){const y=o();if(y)try{const{data:_}=await vt.get(y),A=(_==null?void 0:_.data)??_;if(A&&typeof A=="object"){const k=A;e.provisioningSiteRef.value=Ez(e.provisioningSiteRef.value,k),(k.provisioning_status||"").toLowerCase()==="live"&&(i(),e.byodInProgress.value=!1,t.value=!k.agent_approval)}}catch{}}
129function s(){n||(r(),n=setInterval(r,Tz))}function i(){n&&(clearInterval(n),n=null)}const l=w(()=>{const y=e.effectiveOcSite.value;if(!y||!Cl(y))return!1;const _=!!(y.cloudflare_nameservers&&y.cloudflare_nameservers.length>0),A=(y.provisioning_status||"").toLowerCase(),k=(y.site_domain_owner||"").toLowerCase()==="agent";return _&&A!=="live"&&k}),u=w(()=>(e.byodInProgress.value||l.value)&&e.byodSelected.value),c=w(()=>{if(!u.value)return!1;const y=e.effectiveOcSite.value;return y!=null&&y.cloudflare_zone_id?String(y.dns_status||"").toLowerCase()!=="verified":!1}),d=M(!1);we(()=>c.value,y=>{y&&(d.value=!0)}),we(()=>u.value,y=>{y||(d.value=!1)});const p=w(()=>{var y;return!u.value||(((y=e.effectiveOcSite.value)==null?void 0:y.dns_status)||"").toLowerCase()==="verified"?!1:c.value||d.value}),m=w(()=>{if(!u.value)return!1;const y=e.effectiveOcSite.value;return!y||String(y.dns_status||"").toLowerCase()!=="verified"?!1:String(y.provisioning_status||"").toLowerCase()!=="live"}),h=M(!1);we(()=>m.value,y=>{y&&(h.value=!0)},{immediate:!0}),we(()=>u.value,y=>{y||(h.value=!1)}),we(()=>{var y;return(((y=e.effectiveOcSite.value)==null?void 0:y.provisioning_status)||"").toLowerCase()},y=>{y==="live"&&(h.value=!1)});const g=w(()=>u.value?m.value||h.value:!1),b=w(()=>u.value?e.byodContinueLoading.value?!0:!(p.value||g.value):!1);return{showPostLiveModal:t,fetchProvisioningStatus:r,startProvisioningPoll:s,stopProvisioningPoll:i,byodProvisioningFromBackend:l,showByodSetupInProgress:u,byodPhaseAActiveRaw:c,byodPhaseAUiLatch:d,byodAwaitingDnsVerification:p,byodPhaseBActiveRaw:m,byodPhaseBUiLatch:h,byodDnsVerifiedNotLive:g,byodShowTopSetupProgressBar:b}}const Y1="I already have a registered domain.",Oz="This domain appears to be unregistered. Please register it now in order to use it with your Hatch Site.",Iz=5*60*1e3+250,Dz="Your nameservers still aren't resolving to Hatch. This can be normal even if you've already updated them at your registrar. Please continue to wait a few minutes before checking again.";function Mz(e){const t=M(""),n=M(!1),o=M(!1),r=M(null),s=M(""),i=M(""),l=M(null),u=M(!1),c=M(!1),d=M(!1),p=M(""),m=M(!1),h=M(!1),g=M(!1);function b(){i.value=""}function y(){m.value=!0,p.value="",d.value=!1}function _(){h.value=!0}let A=null;const k="I want to register a new domain.";
129function E(N){return Array.isArray(N)?N[0]??null:N??null}function I(N,ae){r.value=null,s.value="",Ct(()=>{r.value=k,ae&&(s.value=N)}),e.byodSelected.value=!1,o.value=!1}async function F(N){var ee,K,Ie,fe;const ae=(ee=N==null?void 0:N.domain)==null?void 0:ee.trim();if(!(!ae||n.value)){t.value=ae,i.value="",n.value=!0;try{const ge=await vt.post(e.godaddyCheckUrl,{domain:ae,agent_code:((K=e.propsItem.value)==null?void 0:K.agent_code)??void 0}),Fe=E(ge.data);if(!Fe){i.value=Fm;return}if(Fe.available===!0){i.value=Oz,I(ae,!0);return}o.value=!0}catch(ge){const Fe=(fe=(Ie=ge==null?void 0:ge.response)==null?void 0:Ie.data)==null?void 0:fe.message;i.value=na(Fe,Fm)}finally{n.value=!1}}}async function P(){var ae,ee;const N=(ae=t.value)==null?void 0:ae.trim();if(!(!N||e.byodContinueLoading.value)){o.value=!1,e.byodContinueLoading.value=!0,e.byodInProgress.value=!0,window.scrollTo({top:0,behavior:"smooth"});try{const K=await e.cloudflare.setupExistingDomain(N,e.cloudflareSetupUrl,((ee=e.propsItem.value)==null?void 0:ee.agent_code)??void 0);K!=null&&K.success&&K.nameServers?(e.storeCloudflareNameservers(K.nameServers),G1(K.nameServers)||(l.value=K.nameServers),e.handleDomainConfigured()):(e.byodInProgress.value=!1,i.value=na(K==null?void 0:K.message,Nm))}catch{e.byodInProgress.value=!1,i.value=Nm}finally{e.byodContinueLoading.value=!1}}}function B(N){const ae={};if(N.dns_status!=null&&(ae.dns_status=N.dns_status),"dns_last_checked_at"in N&&(ae.dns_last_checked_at=N.dns_last_checked_at??null),Object.keys(ae).length===0)return;const ee=e.provisioningSiteRef.value??e.propsItem.value;ee&&(e.provisioningSiteRef.value={...ee,...ae}),e.propsItem.value&&Object.assign(e.propsItem.value,ae)}function O(N){if(N==null||typeof N!="object")return;const ae=String(N.dns_status??"").toLowerCase();if(ae==="verified"){d.value=!1;return}(ae==="pending"||ae==="failed")&&(d.value=!0)}function j(){A!=null&&(clearTimeout(A),A=null)}function G(N){j(),c.value=!0;let ae=Iz;if(N&&typeof N=="object"){const ee=N.verify_dns_available_at;if(typeof ee=="string"){const K=new Date(ee).getTime();Number.isNaN(K)||(ae=Math.max(0,K-Date.now())+250)}}A=setTimeout(()=>{A=null,c.value=!1},ae)}function Q(N,ae){if(N==null||typeof N!="object")return ae;const ee=N,K=ee.message;if(typeof K=="string")return na(K,ae);const Ie=ee.errors;if(Ie&&typeof Ie=="object"&&!Array.isArray(Ie)){const fe=Object.values(Ie)[0];if(Array.isArray(fe)&&fe[0]!=null)return na(String(fe[0]),ae)}return ae}function Y(N,ae){var K;const ee=(K=N==null?void 0:N.response)==null?void 0:K.data;if(typeof ee=="string"){const Ie=ee.trim();return Ie&&!Ie.startsWith("<!")&&Ie.length<800?na(Ie,ae):ae}return Q(ee,ae)}const W=async()=>{var N,ae,ee;if(!((N=e.propsItem.value)!=null&&N.id)){m.value=!1,p.value=zm;return}g.value=!0,m.value=!1,p.value="";try{const K=await vt.post(e.triggerDnsCheckUrl,{site_id:e.propsItem.value.id});j(),c.value=!1;const Ie=K.data;B(Ie),O(Ie),Ie.success?(h.value=!1,await e.fetchProvisioningStatus()):await e.fetchProvisioningStatus()}catch(K){console.error("Error triggering DNS check:",K);const Ie=(ae=K==null?void 0:K.response)==null?void 0:ae.status,fe=(ee=K==null?void 0:K.response)==null?void 0:ee.data;Ie===429?G(fe):p.value=Y(K,zm),fe&&typeof fe=="object"&&B(fe),await e.fetchProvisioningStatus()}finally{g.value=!1}},re=w(()=>{var ae;const N=(ae=e.effectiveOcSite.value)==null?void 0:ae.dns_last_checked_at;if(!N)return"";try{const ee=new Date(N);return Number.isNaN(ee.getTime())?"":ee.toLocaleString("en-US",{dateStyle:"long",timeStyle:"short"})}catch{return""}}),oe=w(()=>{if(!e.showByodSetupInProgress.value)return{show:!1,list:[]};if(!e.byodAwaitingDnsVerification.value)return{show:!1,list:[]};const N=e.effectiveOcSite.value,ae=l.value??((N==null?void 0:N.cloudflare_nameservers)||[]);return!ae.length||G1(ae)?{show:!1,list:[]}:{show:!0,list:[...ae]}}),ne=w(()=>g.value||c.value);we(()=>{var N;return(((N=e.effectiveOcSite.value)==null?void 0:N.dns_status)||"").toLowerCase()},N=>{N==="verified"&&(e.byodPhaseAUiLatch.value=!1,j(),c.value=!1,d.value=!1,p.value="",m.value=!1)});function z(N){e.byodSelected.value=N===Y1,N===Y1&&(i.value="")}return{byodPendingDomain:t,byodPrecheckLoading:n,showByodConfirmModal:o,domainChoiceOverride:r,registerDomainPrefill:s,byodInlineAlertMessage:i,byodReturnedNameserversRef:l,byodDifferBannerDismissed:u,byodVerifyDnsThrottledThisSession:c,byodPhaseAShowPostVerifyDnsMessage:d,byodDnsBannerMessage:p,byodPhaseABannerDismissed:m,byodPhaseBBannerDismissed:h,dnsCheckLoading:g,byodDnsLastCheckedFormatted:re,byodDifferBanner:oe,byodVerifyDomainButtonDisabled:ne,onDomainOptionSelected:z,normalizeDomainCheckResponse:E,switchToRegisterNew:I,onByodUseDomain:F,handleByodConfirmAction:P,mergeDnsCheckResponseIntoSite:B,syncByodPhaseABannerAfterVerifyResponse:O,clearVerifyDnsThrottleTimer:j,armVerifyDnsThrottleAfter429:G,triggerDnsCheck:W,dismissByodInlineAlert:b,dismissByodPhaseABanner:y,dismissByodPhaseBBanner:_,BYOD_PHASE_A_POST_VERIFY_DNS_COPY:Dz}}function HS(e){const{form:t}=e,n=$z(),o=kz(),r=Ru().inject(),{isValid:s,validate:i,focusInvalidField:l}=CO("ocsFormRef"),u=M(),c=M([]),d=M(),p=M(!1),m=M(""),h=M(null),g=w(()=>{var ue;return((ue=h.value)==null?void 0:ue.profileImageSectionRef)??null}),b=5*1024*1024,y="Oops! That image is too large. Please upload a JPG, JPEG, PNG, or WEBP that is 5 MB or less.",_=M("");function A(){_.value=""}function k(){if(typeof window>"u")return;const ue=window.scrollX,Ne=window.scrollY,lt=()=>window.scrollTo(ue,Ne);lt(),Ct(lt),requestAnimationFrame(lt),setTimeout(lt,0)}function E(ue){return ue.size>b?(_.value=y,k(),!1):(_.value="",!0)}function I(ue){const Ne=Array.isArray(ue)?ue[0]:ue;return Ne&&!E(Ne)?(u.value=void 0,!1):(_.value="",O(),u.value=Ne,!0)}const F=M(!1),P=M(""),B=M(null);function O(){P.value&&(URL.revokeObjectURL(P.value),P.value="")}async function j(ue){var Bt,qo,Ua,oi;const Ne=typeof e.profileImageUrl=="function"?e.profileImageUrl():e.profileImageUrl;if(!Ne)return I(ue)?!0:y;if(!E(ue))return y;const lt=u.value;m.value="",_.value="",F.value=!0,u.value=ue;try{const nr=new FormData;nr.append("profile_image_url",ue);const{data:S}=await vt.post(Ne,nr,{headers:{"Content-Type":"multipart/form-data"}}),R=(S==null?void 0:S.profile_image_url)??((Bt=S==null?void 0:S.data)==null?void 0:Bt.profile_image_url);return R&&(t.profile_image_url=R,B.value=R,typeof t.defaults=="function"&&t.defaults("profile_image_url",R)),O(),P.value=URL.createObjectURL(ue),u.value=void 0,r.showSuccess("Your photo was updated successfully!"),!0}catch(nr){u.value=lt;const S=(qo=nr==null?void 0:nr.response)==null?void 0:qo.status,R=S===413||S===422?((oi=(Ua=nr==null?void 0:nr.response)==null?void 0:Ua.data)==null?void 0:oi.message)||y:"We couldn’t update your photo. Please try again.";return r.showError(R),!1}finally{F.value=!1}}const G=Mt.on("invalid",ue=>{var lt,Bt;((Bt=(lt=ue==null?void 0:ue.detail)==null?void 0:lt.response)==null?void 0:Bt.status)===413&&p.value&&(ue.preventDefault(),_.value=y,p.value=!1,k())});function Q(){G()}const Y=M(!1);function W(){Y.value=!1}function re(){Y.value=!0}const oe=M([]),ne=M(null),z=M(null),N=w(()=>z.value??e.propsItem.value),ae=w(()=>{const ue=z.value??e.propsItem.value;return ue!=null&&ue.cloudflare_nameservers&&Array.isArray(ue.cloudflare_nameservers)&&ue.cloudflare_nameservers.length>0?ue.cloudflare_nameservers:oe.value.length>0?oe.value:US}),ee=w(()=>{var ue;return!!((ue=N.value)!=null&&ue.cloudflare_nameservers&&N.value.cloudflare_nameservers.length>0)});function K(ue){oe.value=ue}function Ie(){e.propsItem.value&&(z.value={...e.propsItem.value}),pe()}function fe(){U.value=!1}function ge(){const ue=typeof e.persistApprovalUrl=="function"?e.persistApprovalUrl():e.persistApprovalUrl;if(!ue){Mt.reload({only:["oc_sites"]});return}Mt.post(ue,{},{preserveScroll:!0,preserveState:!1})}const Fe=M(!1),ye=M(!1),ce=M([]),Re=M(!1),Ce=M(!1),De=M(!1),ot=Pz({statusUrl:e.statusUrl,provisioningSiteRef:z,effectiveOcSite:N,byodContinueLoading:Ce,byodInProgress:Re,byodSelected:De}),{showPostLiveModal:U,fetchProvisioningStatus:Z,startProvisioningPoll:pe,stopProvisioningPoll:le,showByodSetupInProgress:L,byodPhaseAUiLatch:ie,byodAwaitingDnsVerification:me,byodPhaseBUiLatch:Te,byodDnsVerifiedNotLive:be,byodShowTopSetupProgressBar:Ee}=ot,_e=Mz({godaddyCheckUrl:e.godaddyCheckUrl,cloudflareSetupUrl:e.cloudflareSetupUrl,triggerDnsCheckUrl:e.triggerDnsCheckUrl,cloudflare:n,propsItem:e.propsItem,provisioningSiteRef:z,effectiveOcSite:N,storeCloudflareNameservers:K,handleDomainConfigured:Ie,fetchProvisioningStatus:Z,byodAwaitingDnsVerification:me,showByodSetupInProgress:L,byodPhaseAUiLatch:ie,byodInProgress:Re,byodContinueLoading:Ce,byodSelected:De}),{byodPendingDomain:Se,byodPrecheckLoading:Oe,showByodConfirmModal:je,domainChoiceOverride:qe,registerDomainPrefill:ft,byodInlineAlertMessage:st,byodReturnedNameserversRef:wt,byodDifferBannerDismissed:Ot,byodVerifyDnsThrottledThisSession:jt,byodPhaseAShowPostVerifyDnsMessage:Tt,byodDnsBannerMessage:cn,byodPhaseABannerDismissed:qt,byodPhaseBBannerDismissed:pt,dnsCheckLoading:Dt,byodDnsLastCheckedFormatted:gn,byodDifferBanner:vn,byodVerifyDomainButtonDisabled:Cn,onDomainOptionSelected:Bn,switchToRegisterNew:Gn,onByodUseDomain:Yn,handleByodConfirmAction:io,mergeDnsCheckResponseIntoSite:wo,syncByodPhaseABannerAfterVerifyResponse:Rt,clearVerifyDnsThrottleTimer:kn,armVerifyDnsThrottleAfter429:Rn,triggerDnsCheck:Pe,dismissByodInlineAlert:et,dismissByodPhaseABanner:it,dismissByodPhaseBBanner:_t,BYOD_PHASE_A_POST_VERIFY_DNS_COPY:_n}=_e,an=w(()=>u.value?URL.createObjectURL(u.value):P.value?P.value:t.profile_image_url||""),$n=w(()=>u.value?[]:[o.profileImage()]),Qt=w(()=>!String(t.agent_name??"").trim()||!String(t.email??"").trim()||!String(t.agency_name??"").trim()||!String(t.about_agency??"").trim()),_o=w(()=>{var Ne;const ue=t.dtc_enabled&&!t.dtc_tc_acknowledged_at&&!!((Ne=h.value)!=null&&Ne.dtcTcAgreed);return!t.isDirty&&!u.value&&!ue||p.value||Qt.value}),lo=w(()=>{const ue=e.propsItem.value;return ue?Cl(ue)&&(ue.provisioning_status||"").toLowerCase()==="live"&&!!ue.agent_approval:!1}),Zo=w(()=>{var ue;return Az((ue=e.propsItem.value)==null?void 0:ue.provisioning_status)}),Fn=w(()=>Object.keys(vd).reduce((ue,Ne)=>(Ne==="profile_image_url"?ue[Ne]=t.profile_image_url||an.value:ue[Ne]=t[Ne],ue),{})),mr="https://payments.oc-sites.com/p/login/eVa15Faeo6EL33GbII";function en(ue){if(!ue)return!1;const Ne=lt=>!!String(lt??"").trim();return Ne(ue.agent_name)&&Ne(ue.email)&&Ne(ue.agency_name)&&Ne(ue.about_agency)}function Oo(ue){if(!ue)return!1;const Ne=(ue.provisioning_status||"").toLowerCase();return!!ue.agent_approval&&Ne==="live"&&Cl(ue)}function Io(ue){return ue?Cl(ue)&&!(ue.agent_approval&&(ue.provisioning_status||"").toLowerCase()==="live"):!1}function Ho(ue){return!ue||Io(ue)?1:!en(ue)||Oo(ue)?0:1}function Ge(ue){ue&&(Io(ue)?J.value=1:en(ue)?Oo(ue)?J.value=0:J.value=1:J.value=0)}const J=M(e.openAdvancedTabFromCalendly?1:Ho(e.propsItem.value)),Ae=M([]),Ue=M([!1,!1]),kt=[!0],fn=M(!1),Lt=M(""),sn=(ue="",Ne)=>
129{const lt=ue.trim().split(" ").filter(Boolean).join(" ");t[Ne]=lt},pn=ue=>{const Bt=ue.target.value.replace(/\D/g,"").slice(0,10);let qo="";Bt.length>0&&(qo=Bt.slice(0,3),Bt.length>3&&(qo+="-"+Bt.slice(3,6)),Bt.length>6&&(qo+="-"+Bt.slice(6,10))),t.phone=qo},Kn=()=>{O(),u.value=void 0,t.profile_image_url=""};function Xt(){(!t.home_page_version||!iu.some(ue=>ue.value===t.home_page_version))&&(t.home_page_version=iu[0].value)}const H=()=>{O(),B.value=null,u.value=void 0,m.value="",_.value="",clearTimeout(d.value),c.value=[],d.value=void 0,t.defaults(e.getResetDefaults()),t.reset(),Xt()},yn=()=>{!t.isDirty&&!u.value||(O(),B.value=null,u.value=void 0,m.value="",_.value="",clearTimeout(d.value),c.value=[],d.value=void 0,t.defaults(e.getResetChangesDefaults()),t.reset(),Xt())},Nn=M("");function er(){var ue;if(m.value="",Nn.value="",i(),!s.value)return l(),null;if(!u.value&&!t.profile_image_url)return m.value="Profile Image is required",Ct(()=>{var Ne;(Ne=g.value)==null||Ne.scrollIntoView({behavior:"smooth",block:"start"})}),null;if(t.dtc_enabled&&!t.dtc_tc_acknowledged_at){if(!((ue=h.value)==null?void 0:ue.dtcTcAgreed))return Nn.value="You must acknowledge the Licensing & Commission Eligibility terms to enable DTC.",null;t.dtc_tc_acknowledged_at=new Date().toISOString()}return Object.keys(vd).reduce((Ne,lt)=>{if(lt==="profile_image_url"){const Bt=u.value,qo=Array.isArray(Bt)?Bt[0]:Bt;Ne[lt]=qo||t[lt]}else Ne[lt]=t[lt];return Ne},{})}function Wo(ue){c.value=v_(ue,dn),d.value=setTimeout(()=>{c.value=[]},5e3)}function mn(){p.value=!1}const hr=()=>{const ue=`hatchsite_preview_${Date.now()}`;localStorage.setItem(ue,JSON.stringify(Fn.value));const Ne=`${e.previewUrlBase}?key=${ue}`;window.open(Ne,"_blank","noopener,noreferrer")},Ln=async ue=>{if(ue)try{await navigator.clipboard.writeText(ue),Lt.value=ue,setTimeout(()=>{Lt.value=""},2e3)}catch(Ne){console.error("Failed to copy text: ",Ne)}};async function eo(){if(!ne.value)return;const ue=ne.value.querySelector(".va-collapse__expand-icon");ue&&(ue.click(),await new Promise(Ne=>setTimeout(Ne,300))),ne.value.scrollIntoView({behavior:"smooth",block:"start"})}const uo=M([]),gr=M(!1),co=M(!1),to=M(""),Do=M(!1),gt=M([{type:"MX",name:"@",content:"",priority:10}]),We=M(!1),q=["MX","TXT","CNAME"],Le=ue=>{const Ne=String(t.site_domain??"").trim().toLowerCase().replace(/^www\./,"").replace(/\.+$/,""),lt=String(ue??"").trim().replace(/\.+$/,"");if(!lt)return"@";const Bt=lt.toLowerCase();return!Ne||Bt===Ne?"@":Bt.endsWith("."+Ne)?lt.slice(0,lt.length-(Ne.length+1))||"@":lt},xt=async()=>{const ue=String(t.site_domain??"").trim();if(!ue||ue.toLowerCase().includes("domain_pending")){to.value="No domain configured for this site",co.value=!0;return}gr.value=!0,to.value="";try{const Ne=e.useAgentDnsEndpoints?await n.getAgentMxRecords(ue):await n.getAllDnsRecords(ue);Ne.success?(uo.value=Ne.records||[],co.value=!0,Ne.records&&Ne.records.length>0?gt.value=Ne.records.map(lt=>({type:lt.type,name:Le(lt.name),content:lt.content,priority:lt.priority||10})):gt.value=[{type:"MX",name:"@",content:"",priority:10}]):(to.value=Ne.message||"Failed to load DNS records",co.value=!0)}catch{to.value="An error occurred while loading DNS records",co.value=!0}finally{gr.value=!1}},Vt=()=>{gt.value.push({type:"MX",name:"@",content:"",priority:10})},no=ue=>{gt.value.length>1&&gt.value.splice(ue,1)},bn=()=>{for(const ue of gt.value){if(!ue.type)return r.showError("All records must have a type selected"),!1;if(!ue.content||!ue.content.trim())return r.showError(`All ${ue.type} records must have content specified`),!1;if(ue.type==="MX"&&(!ue.priority||ue.priority<0))return r.showError("All MX records must have a valid priority (0 or higher)"),!1;if(ue.type==="CNAME"){const Ne=String(ue.name??"").trim();if(!Ne||Ne==="@")return r.showError('All CNAME records must have a name (e.g. "autodiscover")'),!1;const lt=Le(Ne).toLowerCase();if(lt==="www"||lt==="*")return r.showError('CNAME records named "www" or "*" are reserved and cannot be modified'),!1}}return!0},tr=()=>{bn()&&(Do.value=!0)},ga=async()=>{We.value=!0,to.value="";try{const ue=e.useAgentDnsEndpoints?await n.updateAgentMxRecords(t.site_domain,gt.value):await n.updateMxRecords(t.site_domain,gt.value);ue.success?(r.showSuccess("DNS records updated successfully"),Do.value=!1,await xt()):to.value=ue.message||"Failed to update DNS records"}catch{to.value="An error occurred while updating DNS records"}finally{We.value=!1}},xo=()=>{Do.value=!1,uo.value&&uo.value.length>0?gt.value=uo.value.map(ue=>({type:ue.type,name:Le(ue.name),content:ue.content,priority:ue.priority||10})):gt.value=[{type:"MX",name:"@",content:"",priority:10}]},vr=M(""),xn=M(null),Hr=M(!1),So=M(""),Ye=w(()=>{var lt;const ue=((lt=vr.value)==null?void 0:lt.trim())||"";if(!ue)return"";const Ne=ue.toLowerCase();return Ne==="funnel"||Ne==="ninja"?"Funnel":Ne==="switchboard"?"Switchboard Activate":Ne==="email"||ue.includes("@")?"Email":ue.toLowerCase().split(" ").map(Bt=>
129Bt.charAt(0).toUpperCase()+Bt.slice(1)).join(" ")}),tn=w(()=>{var Ne;const ue=((Ne=vr.value)==null?void 0:Ne.trim())||"";return ue.includes("@")?ue:""}),gs=w(()=>{const ue=Ye.value;if(!ue)return"";const Ne=tn.value;return Ne?`${ue} (${Ne})`:ue}),ni=w(()=>{const ue=xn.value;if(!ue)return"";try{const Ne=new Date(ue);return isNaN(Ne.getTime())?"":Ne.toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"})}catch{return""}}),za=async()=>{const ue=typeof e.leadDeliveryUrl=="function"?e.leadDeliveryUrl():e.leadDeliveryUrl;if(ue){Hr.value=!0,So.value="";try{const lt=await(await fetch(ue)).json();lt.success?(vr.value=lt.lead_delivery||"",xn.value=lt.lead_delivery_last_synced??null):So.value=lt.message||"Failed to fetch lead delivery info"}catch(Ne){So.value=Ne.message||"An error occurred while fetching lead delivery info"}finally{Hr.value=!1}}};function vs(){ye.value=!0}function ja(){ye.value=!1}async function Ji(){if(!Fe.value)try{Fe.value=!0,ye.value=!1;const ue={};t.agent_code&&(ue.agent_code=t.agent_code),(await vt.post(e.calendlyDisconnectUrl,ue)).data.success&&e.onCalendlyDisconnectSuccess()}catch(ue){console.error("Failed to disconnect Calendly:",ue),r.showError({message:"Failed to disconnect Calendly. Please try again."}),Fe.value=!1}}return we(()=>N.value,ue=>{if(!ue)return;(ue.provisioning_status||"").toLowerCase()==="live"&&!ue.agent_approval&&Ct(()=>{U.value=!0})},{deep:!0,immediate:!0}),we(u,ue=>{t.profile_image_url=ue?"":B.value??e.getOriginalProfileImageUrl(),ue&&(m.value="",_.value="")}
129),we(()=>t.dtc_eligible,ue=>{ue!==!0&&(t.dtc_enabled=!1)}),we(()=>ee.value,ue=>{ue&&(Ue.value=[!1,!0],Ae.value=kt)}),we(()=>e.propsItem.value,ue=>{if(ue){if(e.openAdvancedTabFromCalendly){J.value=1;return}Io(ue)?J.value=1:en(ue)?Oo(ue)?J.value=0:J.value===0&&(J.value=1):J.value=0,(!Cl(ue)||(ue.provisioning_status||"").toLowerCase()!=="live"||!ue.agent_approval)&&(z.value=null)}},{immediate:!0,deep:!0}),{cloudflare:n,rules:o,toast:r,isValid:s,validate:i,focusInvalidField:l,uploaded:u,errors:c,errorsTimeout:d,formSaving:p,profileImageError:m,profileImageSizeError:_,dismissProfileImageSizeError:A,assertProfileImageSize:E,onProfileImageSelected:I,profileImageSaving:F,saveProfileImage:j,profileImageLocalPreview:P,clearProfileImage413Listener:Q,dtcTcError:Nn,profileTabFormRef:h,profileImageSectionRef:g,profileSaveSuccessVisible:Y,dismissProfileSaveSuccessAlert:W,showProfileSaveSuccessAlert:re,siteNameservers:oe,instructionsContainer:ne,provisioningSiteRef:z,effectiveOcSite:N,displayNameservers:ae,nameserversFromDb:ee,storeCloudflareNameservers:K,handleDomainConfigured:Ie,dismissPostLiveModal:fe,persistAgentApproval:ge,showPostLiveModal:U,fetchProvisioningStatus:Z,startProvisioningPoll:pe,stopProvisioningPoll:le,showByodSetupInProgress:L,byodPhaseAUiLatch:ie,byodAwaitingDnsVerification:me,byodPhaseBUiLatch:Te,byodDnsVerifiedNotLive:be,byodShowTopSetupProgressBar:Ee,byodInProgress:Re,byodContinueLoading:Ce,byodSelected:De,byodPendingDomain:Se,byodPrecheckLoading:Oe,showByodConfirmModal:je,domainChoiceOverride:qe,registerDomainPrefill:ft,byodInlineAlertMessage:st,byodReturnedNameserversRef:wt,byodDifferBannerDismissed:Ot,byodVerifyDnsThrottledThisSession:jt,byodPhaseAShowPostVerifyDnsMessage:Tt,byodDnsBannerMessage:cn,byodPhaseABannerDismissed:qt,byodPhaseBBannerDismissed:pt,dnsCheckLoading:Dt,byodDnsLastCheckedFormatted:gn,byodDifferBanner:vn,byodVerifyDomainButtonDisabled:Cn,onDomainOptionSelected:Bn,switchToRegisterNew:Gn,onByodUseDomain:Yn,handleByodConfirmAction:io,mergeDnsCheckResponseIntoSite:wo,syncByodPhaseABannerAfterVerifyResponse:Rt,clearVerifyDnsThrottleTimer:kn,armVerifyDnsThrottleAfter429:Rn,triggerDnsCheck:Pe,dismissByodInlineAlert:et,dismissByodPhaseABanner:it,dismissByodPhaseBBanner:_t,BYOD_PHASE_A_POST_VERIFY_DNS_COPY:_n,fileSrc:an,profileImageUrlRules:$n,missingRequiredFields:Qt,disableSave:_o,showSiteDomainCardAboveTabs:lo,formattedProvisioningStatus:Zo,previewData:Fn,stripePaymentUrl:mr,value:J,isProfileComplete:en,shouldShowProfileTab:Oo,mustShowAdvancedSettings:Io,getInitialTab:Ho,applyTabFromItem:Ge,collapseState:Ae,byodInProgressAccordionState:Ue,BYOD_NAMESERVER_ACCORDION_OPEN:kt,openForm:fn,copiedNameserver:Lt,calendlyDisconnecting:Fe,showDisconnectModal:ye,connectedAccordionState:ce,trim:sn,formatPhoneNumber:pn,clearImage:Kn,normalizeHomePageVersion:Xt,resetForm:H,handleResetChanges:yn,prepareSave:er,handleSaveError:Wo,handleSaveFinish:mn,handlePreview:hr,copyNameserver:Ln,handleToggle:eo,dnsRecords:uo,dnsRecordsLoading:gr,dnsRecordsLoaded:co,dnsRecordsError:to,showDnsConfirmation:Do,dnsFormData:gt,dnsSaving:We,recordTypes:q,loadDnsRecords:xt,addDnsRecord:Vt,removeDnsRecord:no,validateDnsForm:bn,handleDnsSave:tr,confirmDnsUpdate:ga,cancelDnsUpdate:xo,leadDeliveryValue:vr,leadDeliveryLastSynced:xn,leadDeliveryLoading:Hr,leadDeliveryError:So,leadDeliveryDestination:Ye,leadDeliveryDestinationEmail:tn,leadDeliveryDisplayValue:gs,leadDeliveryLastSyncedFormatted:ni,fetchLeadDelivery:za,showCalendlyDisconnectModal:vs,cancelCalendlyDisconnect:ja,handleCalendlyDisconnect:Ji}}const Rz={class:"ocs-form-wrapper"},Lz={key:0,class:"rounded-[10px] border border-[#E5E7EB] p-[25px] bg-white mb-[3em] site-domain-card-above-tabs"},Vz=["href"],Bz={key:0,class:"rounded-[6px] border border-[#B42318] py-2 px-4 flex flex-row items-start gap-3 bg-[#FEE4E2] mb-4 w-full",role:"alert"},Fz={class:"body-15 text-[#B42318] m-0 flex-1"},Nz={class:"h-0.5 mt-4"},zz={key:0},jz={class:"actions-container profile-tab-actions"},Uz=["disabled"],Hz={key:1,class:"tab-content pt-[60px] min-h-[70vh]"}
129,Wz={key:0,class:"rounded-[10px] border border-[#E5E7EB] p-[25px] bg-white mb-6 relative"},qz={key:0,class:"byod-setup-in-progress byod-setup-in-progress--top flex items-center gap-4 mb-[32px] w-full"},Gz={key:1,class:"rounded-[6px] border border-[#934802] py-2 px-4 flex flex-row items-start gap-4 bg-[#F8EFE6] mb-[32px] w-full",role:"alert"},Yz={key:0,class:"body-15 text-[#934802] m-0 flex-1"},Kz={key:1,class:"body-15 text-[#934802] m-0 flex-1"},Qz={key:2,class:"body-15 text-[#934802] m-0 flex-1"},Xz={key:3,class:"body-15 text-[#934802] m-0 flex-1"},Jz={key:2,class:"rounded-[6px] border border-[#1849A9] py-2 px-4 flex flex-row items-start gap-4 bg-[#E8EDF6] mb-[32px] w-full",role:"status"},Zz={key:3,class:"body-12 text-[#707070] mb-[32px] m-0"},ej={class:"italic"},tj={key:4,class:"mb-[32px]"},nj={key:5,class:"form-item mb-[32px]"},oj={key:6,class:"mb-[32px] w-full max-w-xl"},rj={key:7,class:"rounded-[6px] border border-[#1849A9] py-2 px-4 flex flex-row items-start gap-4 bg-[#E8EDF6] mb-4 w-full relative",role:"status"},aj={class:"flex-1 min-w-0"},sj={class:"list-disc list-inside body-15 text-[#1849A9] mb-2 font-mono"},ij={class:"accordion-content mt-[-0.75em] pb-[1em] px-[16px]"},lj={class:"code-snippet relative"},uj={class:"nameserver-list-copyable"},cj={class:"va-code-snippet body-14 text-left border-[1px] border-[#F8F8F8] rounded-[4px] py-[24px] pl-[24px] pr-[154px]"},dj={key:1,class:"body-14 light m-0"},fj={key:0,class:"rounded-[6px] border border-[#B42318] py-2 px-4 flex flex-row items-start gap-3 bg-[#FEE4E2] mb-4 w-full",role:"alert"},pj={class:"body-15 text-[#B42318] m-0 flex-1"},mj={class:"va-collapse__header__text pb-[0.33em] px-[16px]"},hj={class:"accordion-content mt-[-0.75em] pb-[1em] px-[16px]"},gj={class:"code-snippet relative"},vj={class:"nameserver-list-copyable"},yj={class:"va-code-snippet body-14 text-left border-[1px] border-[#F8F8F8] rounded-[4px] py-[24px] pl-[24px] pr-[154px]"},bj={key:1,class:"body-14 light mb-[1em]"},wj={class:"rounded-[10px] border border-[#E5E7EB] p-[25px] bg-white mb-6"},_j={key:0},xj={class:"form-item connected-calendar-field"},Sj={class:"rounded-[10px] border border-[#E5E7EB] p-[25px] bg-white lead-delivery-section mb-6 flex flex-col gap-[4px]"},Cj={key:0,class:"text-gray-500"},kj={key:1,class:"text-red-500"},$j={class:"form-item lead-delivery-field"},Aj={key:0,class:"body-12 italic mt-[2em]"},Tj={key:3,class:"text-gray-500"},Ej={key:2,class:"tab-content pt-[60px] min-h-[70vh]"},Pj={class:"log-section email-logs"},Oj={key:0,class:"mb-[4em]"},Ij={key:1,class:"mb-[4em]"},Dj={key:2,class:"w-full logs-table mb-[4em]"},Mj=["onKeydown","aria-sort"],Rj={class:"sort-icon","aria-hidden":"true"},Lj={key:3},Vj={class:"log-section stripe-logs mt-[3em]"},Bj={key:0,class:"w-full logs-table mb-[4em]"},Fj=["onKeydown","aria-sort"],Nj={class:"sort-icon","aria-hidden":"true"},zj={key:1,class:"mb-[4em]"},jj={key:3,class:"tab-content pt-[60px] min-h-[70vh]"},Uj={class:"dns-records-section"},Hj={class:"code-snippet relative pb-6"},Wj={class:"nameserver-list-copyable"},qj={class:"va-code-snippet body-15 text-left border-[1px] border-[#F8F8F8] rounded-[4px] py-[24px] pl-[24px] pr-[154px]"},Gj={key:4,class:"mb-[24px]"},Yj={class:"bg-[#f8f8f8] rounded-lg p-[16px]"},Kj={class:"flex gap-[16px] body-15"},Qj={class:"font-semibold"},Xj={key:0,class:"font-semibold"},Jj={class:"flex items-center justify-between w-full mb-[1em]"},Zj={class:"flex justify-end gap-3"},eU={class:"flex justify-end gap-3"},tU={class:"body-16 post-live-modal__body"},nU=["href"],oU={key:1,class:"font-semibold"},ev=$e({__name:"OCSiteForm",props:{modelValue:{type:Boolean,default:!1},mode:{type:String,default:"new"},item:{type:Object,default:null},pageMode:{type:Boolean,default:!1},openAdvancedTabFromCalendly:{type:Boolean,default:!1}},emits:["update:modelValue","saved"],setup(e,{emit:t}){const n=M(null),o=e,r=t,s=([We,q])=>We==="new"?{...vd}:q?{...q}:{...vd},i=jh(s([o.mode,o.item])),l=w(()=>{var We;return((We=o.item)==null?void 0:We.agent_code)||""}),u=HS({form:i,propsItem:w(()=>o.item),openAdvancedTabFromCalendly:o.openAdvancedTabFromCalendly,statusUrl:()=>{var q;const We=(q=o.item)==null?void 0:q.id;return We&&We!=="new"?`/admin/hatchsites/${We}/status`:""},godaddyCheckUrl:"/admin/godaddy/check-domain",cloudflareSetupUrl:"/admin/cloudflare/setup-existing-domain",triggerDnsCheckUrl:"/admin/hatchsite/trigger-dns-check",previewUrlBase:"/admin/hatchsites/preview",calendlyDisconnectUrl:"/my/calendar/disconnect",persistApprovalUrl:()=>{var q;const We=(q=o.item)==null?void 0:q.id;return We&&We!=="new"?`/admin/hatchsites/${We}/approve`:""},leadDeliveryUrl:()=>l.value?`/admin/hatchsites/lead-delivery/${l.value}
129`:"",profileImageUrl:()=>{var q;const We=(q=o.item)==null?void 0:q.id;return We&&We!=="new"?`/admin/hatchsites/${We}/profile-image`:""},useAgentDnsEndpoints:!1,getOriginalProfileImageUrl:()=>s([o.mode,o.item]).profile_image_url||"",getResetDefaults:()=>s(["new",null]),getResetChangesDefaults:()=>s([o.mode,o.item]),onCalendlyDisconnectSuccess:()=>{i.calendar_url="",u.toast.showSuccess({message:"Your Calendly has been successfully disconnected. You can now connect a new account to restore appointment scheduling.",dangerouslyUseHtmlString:!0}),u.calendlyDisconnecting.value=!1}}),{rules:c,toast:d,uploaded:p,errors:m,formSaving:h,profileImageError:g,dtcTcError:b,profileImageSizeError:y,dismissProfileImageSizeError:_,onProfileImageSelected:A,saveProfileImage:k,profileImageLocalPreview:E,clearProfileImage413Listener:I,profileTabFormRef:F,profileSaveSuccessVisible:P,dismissProfileSaveSuccessAlert:B,showProfileSaveSuccessAlert:O,instructionsContainer:j,effectiveOcSite:G,displayNameservers:Q,nameserversFromDb:Y,storeCloudflareNameservers:W,handleDomainConfigured:re,dismissPostLiveModal:oe,persistAgentApproval:ne,showPostLiveModal:z,startProvisioningPoll:N,stopProvisioningPoll:ae,showByodSetupInProgress:ee,byodAwaitingDnsVerification:K,byodDnsVerifiedNotLive:Ie,byodShowTopSetupProgressBar:fe,byodContinueLoading:ge,byodSelected:Fe,byodPendingDomain:ye,byodPrecheckLoading:ce,showByodConfirmModal:Re,domainChoiceOverride:Ce,registerDomainPrefill:De,byodInlineAlertMessage:ot,byodDifferBannerDismissed:U,byodVerifyDnsThrottledThisSession:Z,byodPhaseAShowPostVerifyDnsMessage:pe,byodDnsBannerMessage:le,byodPhaseABannerDismissed:L,byodPhaseBBannerDismissed:ie,dnsCheckLoading:me,byodDnsLastCheckedFormatted:Te,byodDifferBanner:be,byodVerifyDomainButtonDisabled:Ee,onDomainOptionSelected:_e,switchToRegisterNew:Se,onByodUseDomain:Oe,handleByodConfirmAction:je,clearVerifyDnsThrottleTimer:qe,triggerDnsCheck:ft,dismissByodInlineAlert:st,dismissByodPhaseABanner:wt,dismissByodPhaseBBanner:Ot,BYOD_PHASE_A_POST_VERIFY_DNS_COPY:jt,fileSrc:Tt,disableSave:cn,showSiteDomainCardAboveTabs:qt,value:pt,applyTabFromItem:Dt,collapseState:gn,byodInProgressAccordionState:vn,copiedNameserver:Cn,calendlyDisconnecting:Bn,showDisconnectModal:Gn,trim:Yn,formatPhoneNumber:io,clearImage:wo,normalizeHomePageVersion:Rt,resetForm:kn,handleResetChanges:Rn,prepareSave:Pe,handleSaveError:et,handleSaveFinish:it,handlePreview:_t,copyNameserver:_n,handleToggle:an,dnsRecords:$n,dnsRecordsLoading:Qt,dnsRecordsLoaded:_o,dnsRecordsError:lo,showDnsConfirmation:Zo,loadDnsRecords:Fn,leadDeliveryLoading:mr,leadDeliveryError:en,leadDeliveryDestination:Oo,leadDeliveryDisplayValue:Io,leadDeliveryLastSyncedFormatted:Ho,fetchLeadDelivery:Ge,showCalendlyDisconnectModal:J,cancelCalendlyDisconnect:Ae,handleCalendlyDisconnect:Ue}=u,kt=w({get(){return o.pageMode?!0:o.modelValue},set(We){o.pageMode||r("update:modelValue",We)}}),fn=w(()=>o.pageMode?"div":VaModal),Lt=w(()=>o.pageMode?{}:{modelValue:kt.value,"onUpdate:modelValue":We=>{kt.value=We},mobileFullscreen:!1,allowBodyScroll:!0,closeButton:!0,hideDefaultActions:!0,maxWidth:"1200px",beforeClose:Kn});we([()=>o.mode,()=>o.item,()=>o.modelValue,()=>o.pageMode],([We,q,Le,xt])=>{(Le||xt&&(q==null?void 0:q.id))&&(i.defaults({...s([We,q])}),i.reset(),Rt())},{immediate:!0}),w(()=>o.mode==="new"?"Create Hatch Site":"Edit Hatch Site");const sn=w(()=>o.mode==="new"?"post":"put"),pn=w(()=>{const We=o.mode==="new"?"/admin/hatchsites":`/admin/hatchsites/${i.id}`;return o.pageMode?`${We}?pageMode=true`:We}),Kn=We=>{h.value||(kn(),We())},Xt=()=>{const We=Pe();We&&(sn.value==="put"&&(We._method="put"),h.value=!0,Mt.post(pn.value,We,{preserveState:!0,preserveScroll:!0,forceFormData:!0,onSuccess:()=>{var q;sn.value==="post"?d.showSuccess({message:"The Hatch Site has been successfully created.",dangerouslyUseHtmlString:!0}):o.pageMode?O():d.showSuccess({message:"Your profile changes have been saved.",dangerouslyUseHtmlString:!0,closeable:!0,duration:999999999}),o.pageMode?(p.value=void 0,(!((q=o.item)!=null&&q.site_domain)||o.item.site_domain===""||String(o.item.site_domain||"").toLowerCase().includes("domain_pending"))&&(pt.value=1),sn.value==="put"&&Ct(()=>{window.scrollTo({top:0,behavior:"smooth"})})):(kt.value=!1,kn(),r("saved"))},onError:et,onFinish:it}))};w(()=>{const We=G.value;return We?We.cloudflare_zone_id?!0:!!(We.site_domain&&We.site_domain!==""&&!String(We.site_domain).toLowerCase().includes("domain_pending")):!1});const H=qn(),yn=()=>
129{if(!o.pageMode)return;if(o.openAdvancedTabFromCalendly){pt.value=1;return}const We=H.url;if(!We)return;const q=new URL(We,window.location.origin),Le=q.searchParams.get("tab");if(Le!==null){const xt=parseInt(Le,10);isNaN(xt)||(pt.value=xt,setTimeout(()=>{q.searchParams.delete("tab");const Vt=q.pathname+(q.searchParams.toString()?"?"+q.searchParams.toString():"");window.history.replaceState({},"",Vt),window.scrollTo({top:0,behavior:"smooth"})},100));return}Dt(o.item)};yn();const Nn=Mt.on("finish",()=>{yn()}),er=M([]),Wo=M([]),mn=M(!1),hr=M(null),Ln=M("desc"),eo=M("desc"),uo=async()=>{if(l.value){mn.value=!0,hr.value=null;try{const We=await fetch(`/admin/hatchsites/logs?type=email&agentCode=${l.value}`);if(!We.ok)throw new Error("Failed to fetch email logs");const q=await We.json();er.value=q.data||[];const Le=await fetch(`/admin/hatchsites/logs?type=stripe&agentCode=${l.value}`);if(!Le.ok)throw new Error("Failed to fetch stripe logs");const xt=await Le.json();Wo.value=xt.data||[]}catch(We){hr.value=We.message}finally{mn.value=!1}}},gr=We=>We?new Date(We).toLocaleDateString("en-US",{year:"numeric",month:"short",day:"numeric",hour:"2-digit",minute:"2-digit"}):"",co=w(()=>{const We=[...er.value];return We.sort((q,Le)=>{const xt=new Date(q.created_at).getTime(),Vt=new Date(Le.created_at).getTime();return Ln.value==="desc"?Vt-xt:xt-Vt}),We}),to=w(()=>{const We=[...Wo.value];return We.sort((q,Le)=>{const xt=new Date(q.created_at).getTime(),Vt=new Date(Le.created_at).getTime();return eo.value==="desc"?Vt-xt:xt-Vt}),We}),Do=()=>{Ln.value=Ln.value==="desc"?"asc":"desc"},gt=()=>{eo.value=eo.value==="desc"?"asc":"desc"};return rt(()=>{var q,Le,xt,Vt;(((q=o.item)==null?void 0:q.provisioning_status)||"").toLowerCase()==="live"&&!((Le=o.item)!=null&&Le.agent_approval)&&Ct(()=>{z.value=!0}),(xt=o.item)!=null&&xt.id&&o.item.id!=="new"&&!((Vt=o.item)!=null&&Vt.agent_approval)&&N(),Ct(()=>Dt(o.item)),uo(),Ge()}),ps(()=>{Nn(),ae(),qe(),I(),B()}),(We,q)=>{const Le=he("VaAlert"),xt=he("VaTab"),Vt=he("VaForm"),no=he("VaProgressBar"),bn=he("VaButton"),tr=he("VaPopover"),ga=he("VaInput"),xo=he("VaCollapse"),vr=he("VaModal");return v(),x(de,null,[(v(),X($r(fn.value),nt(dt(Lt.value)),{default:$(()=>{var xn,Hr;return[a("div",Rz,[f(qt)?(v(),x("div",Lz,[q[17]||(q[17]=a("h3",{class:"body-16 bold text-[#222222] mb-0"},"Site Domain",-1)),a("a",{href:"https://"+(((xn=f(G))==null?void 0:xn.site_domain)||""),target:"_blank",rel:"noopener noreferrer",class:"body-16 text-royalblue underline mt-[14px] inline-block"},V((Hr=f(G))==null?void 0:Hr.site_domain),9,Vz)])):D("",!0),f(P)?(v(),X(Le,{key:1,color:"success",class:"w-full mb-[2em] ocs-profile-save-success-alert",closeable:"",onClose:f(B)},{default:$(()=>q[18]||(q[18]=[a("div",{class:"flex items-center"},[a("i",{class:"icon icon-checkmark-q mr-3 text-[#08623C] body-25","aria-hidden":"true"}),a("span",{class:"body-15 text-[#08623C]"},"Your profile changes have been saved.")],-1)])),_:1,__:[18]},8,["onClose"])):D("",!0),C(f(Gg),{modelValue:f(pt),"onUpdate:modelValue":q[10]||(q[10]=So=>mt(pt)?pt.value=So:null)},{tabs:$(()=>[(v(),x(de,null,Be(["Profile","Advanced Settings","Logs","DNS"],So=>C(xt,{key:So},{default:$(()=>[T(V(So),1)]),_:2},1024)),64))]),default:$(()=>{var So;return[f(pt)==0?(v(),x("div",{key:0,ref_key:"modalContentRef",ref:n,class:"tab-content pt-[60px] min-h-[70vh]"},[f(y)?(v(),x("div",Bz,[q[20]||(q[20]=a("span",{class:"shrink-0 inline-flex w-5 h-5 items-center justify-center mt-0.5","aria-hidden":"true"},[a("svg",{class:"w-5 h-5",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[a("circle",{cx:"10",cy:"10",r:"8.333",stroke:"#B42318","stroke-width":"1.667"}),a("path",{d:"M10 6.67V10.42",stroke:"#B42318","stroke-width":"1.667","stroke-linecap":"round"}),a("circle",{cx:"10",cy:"13.33",r:"0.833",fill:"#B42318"})])],-1)),a("p",Fz,V(f(y)),1),a("button",{type:"button",class:"shrink-0 text-[#B42318] hover:opacity-70","aria-label":"Dismiss alert",onClick:q[0]||(q[0]=(...Ye)=>f(_)&&f(_)(...Ye))},q[19]||(q[19]=[a("i",{class:"icon icon-close-q body-18"},null,-1)]))])):D("",!0),C(Vt,{ref:"ocsFormRef"},{default:$(()=>[C(NS,{ref_key:"profileTabFormRef",ref:F,form:f(i),rules:f(c),"file-src":f(Tt),uploaded:f(p),"profile-image-error":f(g),"dtc-tc-error":f(b),"upload-button-class":"px-[0.5rem] py-[7px] border-2","save-profile-image":f(k),"profile-image-local-preview":f(E),"onUpdate:uploaded":f(A),onClearImage:f(wo),onTrim:f(Yn),onFormatPhone:f
129(io)},null,8,["form","rules","file-src","uploaded","profile-image-error","dtc-tc-error","save-profile-image","profile-image-local-preview","onUpdate:uploaded","onClearImage","onTrim","onFormatPhone"])]),_:1},512),a("div",Nz,[f(h)?(v(),X(no,{key:0,indeterminate:"",size:2})):D("",!0)]),f(m).length?(v(),X(Le,{key:1,preset:"errors",class:"w-full my-4"},{default:$(()=>[a("div",null,[(v(!0),x(de,null,Be(f(m),(Ye,tn)=>(v(),x(de,{key:Ye.label},[a("span",null,[a("strong",null,V(Ye.label),1),T(": "+V(Ye.value),1)]),tn<f(m).length-1?(v(),x("br",zz)):D("",!0)],64))),128))])]),_:1})):D("",!0),a("div",jz,[C(bn,{preset:"callToAction",color:"royalblue",class:"profile-tab-actions__save",disabled:f(cn),onClick:Xt},{default:$(()=>q[21]||(q[21]=[T(" Save Changes ")])),_:1,__:[21]},8,["disabled"]),C(tr,{placement:"right","auto-placement":!0,color:"info"},{body:$(()=>q[23]||(q[23]=[a("p",null,"Preview your unsaved changes in a new browser tab.",-1)])),default:$(()=>[C(bn,{preset:"whiteAlt",color:"royalblue",class:"profile-tab-actions__preview",disabled:f(cn),onClick:f(_t)},{default:$(()=>q[22]||(q[22]=[T(" Preview Changes ")])),_:1,__:[22]},8,["disabled","onClick"])]),_:1}),a("button",{type:"button",class:xe(["profile-tab-actions__reset body-16",{"profile-tab-actions__reset--active":f(i).isDirty||f(p)}]),disabled:!f(i).isDirty&&!f(p),onClick:q[1]||(q[1]=(...Ye)=>f(Rn)&&f(Rn)(...Ye))}," Reset Changes ",10,Uz)])],512)):D("",!0),f(pt)==1?(v(),x("div",Hz,[f(qt)?D("",!0):(v(),x("div",Wz,[q[70]||(q[70]=a("h3",{class:"body-25 bold mb-[1em]"},"Domain Setup",-1)),f(ee)?(v(),x(de,{key:0},[f(fe)?(v(),x("div",qz,[C(no,{indeterminate:"",size:4,class:"flex-1 min-w-0"}),q[24]||(q[24]=a("span",{class:"body-15 text-[#6B7280] shrink-0"},"Setup in Progress",-1))])):D("",!0),f(K)&&!f(L)?(v(),x("div",Gz,[q[27]||(q[27]=a("span",{class:"shrink-0 inline-flex w-5 h-5 items-center justify-center mt-0.5 text-[#934802]","aria-hidden":"true"},[a("i",{class:"icon icon-alert-triangle-q body-20"})],-1)),f(Z)?(v(),x("p",Yz," We just checked your nameservers. Verification is temporarily disabled — please try again after a few minutes. ")):f(le)?(v(),x("p",Kz,V(f(le)),1)):f(pe)?(v(),x("p",Qz,V(f(jt)),1)):(v(),x("p",Xz,q[25]||(q[25]=[T(" We're checking that your nameservers point to Hatch. This can take a little while after you update them at your registrar. Use "),a("strong",null,"Verify Domain",-1),T(" after you've saved your nameserver changes. ")]))),a("button",{type:"button",class:"shrink-0 text-[#934802] hover:opacity-70","aria-label":"Dismiss alert",onClick:q[2]||(q[2]=(...Ye)=>f(wt)&&f(wt)(...Ye))},q[26]||(q[26]=[a("i",{class:"icon icon-close-q body-18"},null,-1)]))])):f(Ie)&&!f(ie)?(v(),x("div",Jz,[q[29]||(q[29]=a("span",{class:"shrink-0 inline-flex w-5 h-5 items-center justify-center mt-0.5","aria-hidden":"true"},[a("i",{class:"icon icon-info-circle-q text-[#1849A9] body-20"})],-1)),q[30]||(q[30]=a("p",{class:"body-15 text-[#1849A9] m-0 flex-1"}," Great news! Your nameservers are updated. We're now setting up your Hatch website. Check back again soon to see your live site. ",-1)),a("button",{type:"button",class:"shrink-0 text-[#1849A9] hover:opacity-70","aria-label":"Dismiss alert",onClick:q[3]||(q[3]=(...Ye)=>f(Ot)&&f(Ot)(...Ye))},q[28]||(q[28]=[a("i",{class:"icon icon-close-q body-18"},null,-1)]))])):D("",!0),f(K)&&f(Te)?(v(),x("p",Zz,[q[31]||(q[31]=T(" Last checked: ")),a("span",ej,V(f(Te)),1)])):D("",!0),f(K)?(v(),x("div",tj,[C(bn,{preset:"royal",class:"body-16 py-[7px] inline-block w-fit border-2",disabled:f(Ee),onClick:f(ft)},{default:$(()=>q[32]||(q[32]=[T(" Verify Domain ")])),_:1,__:[32]},8,["disabled","onClick"])])):D("",!0),f(K)||f(Ie)?(v(),x("div",nj,[C(ga,{"model-value":((So=f(G))==null?void 0:So.site_domain)||"",label:f(dn).site_domain,disabled:!0,class:"w-full",readonly:""},null,8,["model-value","label"])])):D("",!0),f(K)&&f(me)?(v(),x("div",oj,[C(no,{indeterminate:"",size:4,class:"w-full"})])):D("",!0),f(be).show&&!f(U)?(v(),x("div",rj,[q[36]||(q[36]=a("span",{class:"shrink-0 inline-flex w-5 h-5 items-center justify-center mt-0.5","aria-hidden":"true"},[a("i",{class:"icon icon-info-circle-q text-[#1849A9] body-20"})],-1)),a("div",aj,[q[33]||(q[33]=a("p",{class:"body-15 text-[#1849A9] mb-2"},[a("strong",null,"Please update your nameservers at your registrar to these values:")],-1)),a("ul",sj,[(v(!0),x(de,null,Be(f(be).list,Ye=>(v(),x("li",{key:Ye},V(Ye),1))),128))]),q[34]||(q[34]=a("p",{class:"body-15 text-[#1849A9] m-0"},[T("See the "),a("strong",null,"How to Point Your Domain to Cloudflare Nameservers"),T(" accordion below for step-by-step instructions.")],-1))]),a("button",{type:"button",class:"shrink-0 p-1 text-[#1849A9] hover:opacity-70","aria-label":"Dismiss",onClick:q[4]||(q[4]=Ye=>U.value=!0)},q[35]||(q[35]=[a("i",{class:"icon icon-close-q body-18"},null,-1)]))])):D("",!0),C(f(Ws),{id:"byod-setup-accordion",modelValue:f(vn),"onUpdate:modelValue":q[5]||(q[5]=Ye=>mt(vn)?vn.value=Ye:null),class:"w-full mt-[32px]",multiple:""},{default:$(()=>[C(xo,{header:"Connect Your Domain to Hatch",class:"py-[0.33em]"},{"header-content":$(()=>q[37]||(q[37]=[a("p",{class:"va-collapse__header__text pb-[0.33em] px-[16px]"},"Connect Your Domain to Hatch",-1)])),content:$(()=>q[38]||(q[38]=[a("div",{class:"accordion-content mt-[-0.75em] pb-[1em] px-[16px]"},[a("p",{class:"body-14 light m-0 mb-[1em]"},"Because you already own this domain, you'll need to update your nameservers where your domain is registered. This lets Hatch launch your website at the address you own."),a("p",{class:"body-14 light m-0"},"Nameserver updates typically take 30 minutes to two days to complete. Hatch will automatically check for the update during the first 24 hours. After that, please manually verify the nameserver update on this page.")],-1)])),_:1}),C(xo,{header:"How to Point Your Domain to Cloudflare Nameservers",class:"py-[0.33em]"},{"header-content":$(()=>q[39]||(q[39]=[a("p",{class:"va-collapse__header__text pb-[0.33em] px-[16px]"},"How to Point Your Domain to Cloudflare Nameservers",-1)])),content:$(()=>[a("div",ij,[f(Y)?(v(),x(de,{key:0},[q[41]||(q[41]=a("p",{class:"body-14 light mb-[1em]"},"To connect your registered domain to your Hatch Site, you'll need to update your domain's nameservers so they point to the Hatch Cloudflare account. Follow the steps below to complete the connection, regardless of where your domain is registered.",-1)),q[42]||(q[42]=a("p",{class:"body-14 bold mb-[1em]"},"What You'll Need",-1)),q[43]||(q[43]=a("ul",{class:"body-14 light list-disc list-outside pl-[18px]"},[a("li",{class:"mb-[0.5rem]"},"Access to your domain registrar (the provider where you purchased your domain)"),a("li",{class:"mb-[0.5rem]"},"Your Hatch Site Cloudflare nameservers")],-1)),q[44]||(q[44]=a("p",{class:"body-14 light mb-[1em]"},"Your Cloudflare nameservers are listed below. Copy both values and replace your current nameservers at your registrar.",-1)),q[45]||(q[45]=a("p",{class:"body-14 bold mb-[1em]"},"IMPORTANT: You'll need to copy and replace both nameserver values at your registrar.",-1)),a("div",lj,[a("ul",uj,[(v(!0),x(de,null,Be(f(Q),Ye=>(v(),x("li",{key:Ye,class:"relative"}
129,[C(bn,{preset:"whiteAlt",class:"nameserver-copy-btn border-2 absolute right-[24px] top-[10px]",onClick:tn=>f(_n)(Ye)},{default:$(()=>[q[40]||(q[40]=a("i",{class:"icon icon-copy-q"},null,-1)),T(" "+V(f(Cn)===Ye?"Copied!":"Copy"),1)]),_:2,__:[40]},1032,["onClick"]),a("pre",cj,[a("span",null,V(Ye),1)])]))),128))])]),q[46]||(q[46]=a("p",{class:"body-14 bold mt-[1.5em] mb-[1em]"},"How to Update Your Nameservers",-1)),q[47]||(q[47]=a("ol",{class:"body-14 light list-decimal list-outside pl-[18px]"},[a("li",{class:"mb-[0.5rem]"},"Log in to your domain registrar. This is where you purchased your domain (e.g. GoDaddy, Namecheap, Google Domains)."),a("li",{class:"mb-[0.5rem]"},[T("Go to your DNS or domain management area. This may be labeled as: "),a("ul",{class:"mt-[0.5rem] body-14 light list-disc list-outside pl-[18px]"},[a("li",{class:"mb-[0.5rem]"},'"DNS Settings"'),a("li",{class:"mb-[0.5rem]"},'"Manage DNS"'),a("li",{class:"mb-[0.5rem]"},'"Domain Settings"'),a("li",{class:"mb-[0.5rem]"},'"Nameservers"')])]),a("li",{class:"mb-[0.5rem]"},[T("Replace both existing nameservers with your Cloudflare-provided values. "),a("ul",{class:"mt-[0.5rem] body-14 light list-disc list-outside pl-[18px]"},[a("li",{class:"mb-[0.5rem]"},"Enter each Cloudflare nameserver exactly as given. Make sure there are no extra spaces or characters."),a("li",{class:"mb-[0.5rem]"},"Delete all other nameservers.")])]),a("li",{class:"mb-[0.5rem]"},'Save your changes. Click "Save," "Confirm" or "Update" depending on your registrar.'),a("li",{class:"mb-[0.5rem]"},"Allow time for DNS propagation. Updates typically apply within minutes but may take up to 48 hours to fully propagate.")],-1)),q[48]||(q[48]=a("p",{class:"body-14 bold mt-[1.5em] mb-[1em]"},"How-To Guides for Common Registrars",-1)),q[49]||(q[49]=a("p",{class:"body-14 light mb-[1em]"},"Below are direct links to registrar-specific instructions for updating nameservers:",-1)),q[50]||(q[50]=a("p",{class:"body-14 light mb-[0.5rem]"},[a("a",{href:"https://www.godaddy.com/help/change-nameservers-for-my-domains-664",target:"_blank",rel:"noopener noreferrer",class:"text-royalblue underline"},"GoDaddy")],-1)),q[51]||(q[51]=a("p",{class:"body-14 light mb-[0.5rem]"},[a("a",{href:"https://www.namecheap.com/support/knowledgebase/article.aspx/767/10/how-to-change-dns-for-a-domain/",target:"_blank",rel:"noopener noreferrer",class:"text-royalblue underline"},"Namecheap")],-1)),q[52]||(q[52]=a("p",{class:"body-14 light mb-[0.5rem]"},[a("a",{href:"https://support.squarespace.com/hc/en-us/articles/4404183898125-Making-changes-to-nameservers",target:"_blank",rel:"noopener noreferrer",class:"text-royalblue underline"},"Squarespace")],-1)),q[53]||(q[53]=a("p",{class:"body-14 light mb-[0.5rem]"},[a("a",{href:"https://www.bluehost.com/help/article/custom-nameservers",target:"_blank",rel:"noopener noreferrer",class:"text-royalblue underline"},"Bluehost")],-1))],64)):(v(),x("p",dj,"Hatch is requesting your Cloudflare nameservers now. This section will unlock automatically once they are returned and saved."))])]),_:1})]),_:1},8,["modelValue"])],64)):(v(),x(de,{key:1},[f(ot)?(v(),x("div",fj,[q[55]||(q[55]=a("span",{class:"shrink-0 inline-flex w-5 h-5 items-center justify-center mt-0.5","aria-hidden":"true"},[a("svg",{class:"w-5 h-5",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[a("circle",{cx:"10",cy:"10",r:"8.333",stroke:"#B42318","stroke-width":"1.667"}),a("path",{d:"M10 6.67V10.42",stroke:"#B42318","stroke-width":"1.667","stroke-linecap":"round"}),a("circle",{cx:"10",cy:"13.33",r:"0.833",fill:"#B42318"})])],-1)),a("p",pj,V(f(ot)),1),a("button",{type:"button",class:"shrink-0 text-[#B42318] hover:opacity-70","aria-label":"Dismiss alert",onClick:q[6]||(q[6]=(...Ye)=>f(st)&&f(st)(...Ye))},q[54]||(q[54]=[a("i",{class:"icon icon-close-q body-18"},null,-1)]))])):D("",!0),C(CS,{admin:!0,"agent-code":o.item.agent_code,"forced-selected-option":f(Ce),"register-domain-prefill":f(De),"byod-checking":f(ce),"oc-site":f(G),onNameserversRetrieved:f(W),onRequestToggle:f(an),onDomainConfigured:f(re),onSelectedOption:f(_e),onByodUseDomain:f(Oe),onRegisterProvisioningStarted:q[7]||(q[7]=Ye=>ot.value="")},null,8,["agent-code","forced-selected-option","register-domain-prefill","byod-checking","oc-site","onNameserversRetrieved","onRequestToggle","onDomainConfigured","onSelectedOption","onByodUseDomain"]),f(Fe)?(v(),x("div",{key:1,id:"ns-instructions-byod-advanced",ref_key:"instructionsContainer",ref:j,class:"dns-instructions relative mt-[1.5em] border-t-[1px] border-[#
129E4E4E4]"},[C(f(Ws),{modelValue:f(gn),"onUpdate:modelValue":q[8]||(q[8]=Ye=>mt(gn)?gn.value=Ye:null),class:"w-full",multiple:""},{default:$(()=>[(v(),x(de,null,Be(["How to Point Your Domain to Cloudflare Nameservers"],Ye=>C(xo,{key:Ye,header:Ye,class:"py-[0.33em]"},{"header-content":$(()=>[a("p",mj,V(Ye),1)]),content:$(()=>[a("div",hj,[q[59]||(q[59]=a("p",{class:"body-14 light mb-[1em]"},"To connect your registered domain to your Hatch Site, you'll need to update your domain's nameservers so they point to the Hatch Cloudflare account. Follow the steps below to complete the connection, regardless of where your domain is registered.",-1)),q[60]||(q[60]=a("p",{class:"body-14 bold mb-[1em]"},"What You'll Need",-1)),q[61]||(q[61]=a("ul",{class:"body-14 light list-disc list-outside pl-[18px]"},[a("li",{class:"mb-[0.5rem]"},"Access to your domain registrar (the provider where you purchased your domain)"),a("li",{class:"mb-[0.5rem]"},"Your Hatch Site Cloudflare nameservers")],-1)),f(Y)?(v(),x(de,{key:0},[q[57]||(q[57]=a("p",{class:"body-14 light mb-[1em]"},"Your Cloudflare nameservers are listed below. Copy both values and replace your current nameservers at your registrar.",-1)),q[58]||(q[58]=a("p",{class:"body-14 bold mb-[1em]"},"IMPORTANT: You'll need to copy and replace both nameserver values at your registrar.",-1)),a("div",gj,[a("ul",vj,[(v(!0),x(de,null,Be(f(Q),tn=>(v(),x("li",{key:tn,class:"relative"},[C(bn,{preset:"whiteAlt",class:"nameserver-copy-btn border-2 absolute right-[24px] top-[10px]",onClick:gs=>f(_n)(tn)},{default:$(()=>[q[56]||(q[56]=a("i",{class:"icon icon-copy-q"},null,-1)),T(" "+V(f(Cn)===tn?"Copied!":"Copy"),1)]),_:2,__:[56]},1032,["onClick"]),a("pre",yj,[a("span",null,V(tn),1)])]))),128))])])],64)):(v(),x("p",bj,"Your Cloudflare nameserver values will appear here after you continue and Hatch finishes creating your Cloudflare zone.")),q[62]||(q[62]=a("p",{class:"body-14 bold mt-[1.5em] mb-[1em]"},"How to Update Your Nameservers",-1)),q[63]||(q[63]=a("ol",{class:"body-14 light list-decimal list-outside pl-[18px]"},[a("li",{class:"mb-[0.5rem]"},"Log in to your domain registrar. This is where you purchased your domain (e.g. GoDaddy, Namecheap, Google Domains)."),a("li",{class:"mb-[0.5rem]"},[T("Go to your DNS or domain management area. This may be labeled as: "),a("ul",{class:"mt-[0.5rem] body-14 light list-disc list-outside pl-[18px]"},[a("li",{class:"mb-[0.5rem]"},'"DNS Settings"'),a("li",{class:"mb-[0.5rem]"},'"Manage DNS"'),a("li",{class:"mb-[0.5rem]"},'"Domain Settings"'),a("li",{class:"mb-[0.5rem]"},'"Nameservers"')])]),a("li",{class:"mb-[0.5rem]"},[T("Replace both existing nameservers with your Cloudflare-provided values. "),a("ul",{class:"mt-[0.5rem] body-14 light list-disc list-outside pl-[18px]"},[a("li",{class:"mb-[0.5rem]"},"Enter each Cloudflare nameserver exactly as given. Make sure there are no extra spaces or characters."),a("li",{class:"mb-[0.5rem]"},"Delete all other nameservers.")])]),a("li",{class:"mb-[0.5rem]"},'Save your changes. Click "Save," "Confirm" or "Update" depending on your registrar.'),a("li",{class:"mb-[0.5rem]"},"Allow time for DNS propagation. Updates typically apply within minutes but may take up to 48 hours to fully propagate.")],-1)),q[64]||(q[64]=a("p",{class:"body-14 bold mt-[1.5em] mb-[1em]"},"How-To Guides for Common Registrars",-1)),q[65]||(q[65]=a("p",{class:"body-14 light mb-[1em]"},"Below are direct links to registrar-specific instructions for updating nameservers:",-1)),q[66]||(q[66]=a("p",{class:"body-14 light mb-[0.5rem]"},[a("a",{href:"https://www.godaddy.com/help/change-nameservers-for-my-domains-664",target:"_blank",rel:"noopener noreferrer",class:"text-royalblue underline"},"GoDaddy")],-1)),q[67]||(q[67]=a("p",{class:"body-14 light mb-[0.5rem]"},[a("a",{href:"https://www.namecheap.com/support/knowledgebase/article.aspx/767/10/how-to-change-dns-for-a-domain/",target:"_blank",rel:"noopener noreferrer",class:"text-royalblue underline"},"Namecheap")],-1)),q[68]||(q[68]=a("p",{class:"body-14 light mb-[0.5rem]"},[a("a",{href:"https://support.squarespace.com/hc/en-us/articles/4404183898125-Making-changes-to-nameservers",target:"_blank",rel:"noopener noreferrer",class:"text-royalblue underline"},"Squarespace")],-1)),q[69]||(q[69]=a("p",{class:"body-14 light mb-[0.5rem]"},[a("a",{href:"https://www.bluehost.com/help/article/custom-nameservers",target:"_blank",rel:"noopener noreferrer",class:"text-royalblue underline"},"Bluehost")],-1))])]),_:2},1032,["header"])),64))]),_:1},8,["modelValue"])],512)):D("",!0)],64))])),a("div",wj,[q[73]||(q[73]=a("h3",{class:"body-25 bold mb-[1.5em]"},"Scheduling Link",-1)),f(i).calendar_url?(v(),x("div",_j,[a("div",null,[a("div",xj,[C(ga,{"model-value":f(i).calendar_url,label:"Connected Calendar URL",disabled:!0,class:"w-full"},{appendInner:$(()=>q[71]||(q[71]=[a("i",{class:"icon icon-checkmark-q text-green-600"},null,-1)])),_:1},8,["model-value"])]),q[72]||(q[72]=a("p",{class:"body-12 light mt-[-1em]"}
129," To update your scheduling link you must disconnect Calendly and follow the connection process again. ",-1)),a("a",{href:"#",class:xe(["body-15 semibold underline cursor-pointer mt-[2em] inline-block disconnect-calendly-link",{"opacity-50 pointer-events-none":f(Bn)}]),onClick:q[9]||(q[9]=He((...Ye)=>f(J)&&f(J)(...Ye),["prevent"]))},V(f(Bn)?"Disconnecting...":"Disconnect Calendly"),3)])])):(v(),X(zS,{key:1,"agent-code":f(i).agent_code},null,8,["agent-code"]))]),a("div",Sj,[q[75]||(q[75]=a("h3",{class:"body-25 bold mb-[1.5em]"},"Lead Delivery Destination",-1)),f(mr)?(v(),x("div",Cj,"Loading lead delivery info...")):f(en)?(v(),x("div",kj,V(f(en)),1)):f(Oo)?(v(),x(de,{key:2},[a("div",$j,[C(ga,{"model-value":f(Io),label:"Delivery Destination",disabled:!0},null,8,["model-value"])]),f(Ho)?(v(),x("p",Aj,"Last synced: "+V(f(Ho)),1)):D("",!0),q[74]||(q[74]=a("p",{class:"body-15 mt-[2em]"},[T("Email "),a("a",{href:"mailto:[email protected]",class:"text-royalblue underline"},"[email protected]"),T(" to change delivery destination.")],-1))],64)):(v(),x("div",Tj,"No lead delivery information available."))])])):D("",!0),f(pt)==2?(v(),x("div",Ej,[a("section",Pj,[q[80]||(q[80]=a("h3",{class:"body-25 bold mb-[36px]"},"Email Logs",-1)),mn.value?(v(),x("div",Oj,"Loading...")):hr.value?(v(),x("div",Ij,V(hr.value),1)):co.value.length>0?(v(),x("table",Dj,[a("thead",null,[a("tr",null,[a("th",{class:"sortable",tabindex:"0",onClick:Do,onKeydown:[tt(He(Do,["prevent"]),["enter"]),tt(He(Do,["prevent"]),["space"])],"aria-sort":Ln.value==="desc"?"descending":"ascending"},[q[76]||(q[76]=T(" Date ")),a("span",Rj,V(Ln.value==="desc"?"▼":"▲"),1)],40,Mj),q[77]||(q[77]=a("th",null,"To",-1)),q[78]||(q[78]=a("th",null,"Subject",-1)),q[79]||(q[79]=a("th",null,"Status",-1))])]),a("tbody",null,[(v(!0),x(de,null,Be(co.value,Ye=>(v(),x("tr",{key:Ye.id},[a("td",null,V(gr(Ye.created_at)),1),a("td",null,V(Ye.recipient),1),a("td",null,V(Ye.subject),1),a("td",null,V(Ye.status),1)]))),128))])])):(v(),x("p",Lj,"No email logs found for this account."))]),a("section",Vj,[q[85]||(q[85]=a("h3",{class:"body-25 bold mb-[36px]"},"Stripe Event Logs",-1)),to.value.length>0?(v(),x("table",Bj,[a("thead",null,[a("tr",null,[a("th",{class:"sortable",tabindex:"0",onClick:gt,onKeydown:[tt(He(gt,["prevent"]),["enter"]),tt(He(gt,["prevent"]),["space"])],"aria-sort":eo.value==="desc"?"descending":"ascending"},[q[81]||(q[81]=T(" Date ")),a("span",Nj,V(eo.value==="desc"?"▼":"▲"),1)],40,Fj),q[82]||(q[82]=a("th",null,"Event Type",-1)),q[83]||(q[83]=a("th",null,"Status",-1)),q[84]||(q[84]=a("th",null,"Amount",-1))])]),a("tbody",null,[(v(!0),x(de,null,Be(to.value,Ye=>(v(),x("tr",{key:Ye.id},[a("td",null,V(gr(Ye.created_at)),1),a("td",null,V(Ye.event_type),1),a("td",null,V(Ye.status),1),a("td",null,V(Ye.amount),1)]))),128))])])):(v(),x("p",zj,"No Stripe logs found for this account."))])])):D("",!0),f(pt)==3?(v(),x("div",jj,[a("div",Uj,[q[90]||(q[90]=a("h3",{class:"body-25 bold mb-[36px]"},"DNS",-1)),q[91]||(q[91]=a("h4",{class:"body-20 bold mb-[12px]"},"Nameservers",-1)),a("div",Hj,[a("ul",Wj,[(v(!0),x(de,null,Be(f(Q),Ye=>(v(),x("li",{key:Ye,class:"relative"},[C(bn,{preset:"whiteAlt",class:"nameserver-copy-btn border-2 absolute right-[24px] top-[10px]",onClick:tn=>f(_n)(Ye)},{default:$(()=>[q[86]||(q[86]=a("i",{class:"icon icon-copy-q"},null,-1)),T(" "+V(f(Cn)===Ye?"Copied!":"Copy"),1)]),_:2,__:[86]},1032,["onClick"]),a("pre",qj,[a("span",null,V(Ye),1)])]))),128))])]),f(_o)?D("",!0):(v(),X(bn,{key:0,preset:"royal",onClick:f(Fn),class:"mb-[24px]"},{default:$(()=>q[87]||(q[87]=[T(" Fetch Current DNS Records ")])),_:1,__:[87]},8,["onClick"])),f(Qt)?(v(),X(no,{key:1,indeterminate:"",class:"mb-[24px]"})):D("",!0),f(lo)?(v(),X(Le,{key:2,color:"danger",class:"mb-[24px]"},{default:$(()=>[T(V(f(lo)),1)]),_:1})):D("",!0),f(_o)&&f($n).length===0&&!f(Qt)&&!f(lo)?(v(),X(Le,{key:3,color:"info",class:"mb-[24px]"},{default:$(()=>[T(" There are no current MX or TXT records for "+V(f(i).site_domain)+". ",1)]),_:1})):D("",!0),f(_o)&&f($n).length>0&&!f(Zo)?(v(),x("div",Gj,[q[89]||(q[89]=a("h4",{class:"body-20 bold mb-[12px]"},"Current DNS Records:",-1)),a("div",Yj,[(v(!0),x(de,null,Be(f($n),(Ye,tn)=>(v(),x("div",{key:tn,class:"mb-[8px] last:mb-0"},[a("div",Kj,[a("span",Qj,"Type: "+V(Ye.type),1),Ye.priority?(v(),x("span",Xj,"| Priority: "+V(Ye.priority),1)):D("",!0),q[88]||(q[88]=a("span",null,"→",-1)),a("span",null,V(Ye.content),1)])]))),128))])])):D("",!0)])])):D("",!0)]}),_:1},8,["modelValue"])])]}),_:1},16)),C(vr,{modelValue:f(Gn),"onUpdate:modelValue":q[12]||(q[12]=xn=>mt(Gn)?Gn.value=xn:null),"hide-default-actions":"",size:"small",class:"calendly-disconnect-modal"},{header:$(()=>[a("div",Jj,[q[93]||(q[93]=a("h3",{class:"body-20 bold text-black"},"Disconnect Calendly",-1)),a("button",{onClick:q[11]||(q[11]=(...xn)=>f(Ae)&&f(Ae)(...xn)),"aria-label":"Close",class:"text-gray-400 hover:text-gray-600"},q[92]||(q[92]=[a("i",{class:"icon-x-close-q body-20","aria-hidden":"true"},null,-1)]))])]),footer:$(()=>
129[a("div",Zj,[C(bn,{preset:"whiteAlt",class:"border-2",onClick:f(Ae)},{default:$(()=>q[94]||(q[94]=[T(" Cancel ")])),_:1,__:[94]},8,["onClick"]),C(bn,{color:"#B71C1C",onClick:f(Ue),loading:f(Bn)},{default:$(()=>q[95]||(q[95]=[T(" Yes, Disconnect ")])),_:1,__:[95]},8,["onClick","loading"])])]),default:$(()=>[q[96]||(q[96]=a("p",{class:"body-15 text-black mb-4"}," Disconnecting Calendly will remove scheduling from your site, but won't affect any appointments already booked or log you out of your Calendly account. ",-1)),q[97]||(q[97]=a("p",{class:"body-15 text-black"}," Prospects will not be able to book new appointments from your site until you reconnect. ",-1))]),_:1,__:[96,97]},8,["modelValue"]),C(vr,{modelValue:f(Re),"onUpdate:modelValue":q[14]||(q[14]=xn=>mt(Re)?Re.value=xn:null),"hide-default-actions":"",size:"small",class:"byod-confirm-modal"},{header:$(()=>q[98]||(q[98]=[a("h3",{class:"body-20 bold text-black"},"Before You Continue",-1)])),footer:$(()=>[a("div",eU,[C(bn,{preset:"whiteAlt",class:"border-2",onClick:q[13]||(q[13]=xn=>f(Se)(f(ye),!1))},{default:$(()=>q[99]||(q[99]=[T(" Cancel ")])),_:1,__:[99]}),C(bn,{preset:"royal",loading:f(ge),disabled:f(ge),onClick:f(je)},{default:$(()=>q[100]||(q[100]=[T(" Continue ")])),_:1,__:[100]},8,["loading","disabled","onClick"])])]),default:$(()=>[q[101]||(q[101]=a("ul",{class:"body-15 text-black list-disc list-outside pl-[18px] my-2"},[a("li",{class:"mb-2"},"You must copy and replace BOTH nameserver values when updating at your registrar."),a("li",{class:"mb-2"},"Nameserver updates can take between 30 minutes and 2 days."),a("li",null,"Hatch will listen for the update to take effect for the first 24 hours and will automatically complete the technical parts of configuring your new site on this domain.")],-1))]),_:1,__:[101]},8,["modelValue"]),C(vr,{modelValue:f(z),"onUpdate:modelValue":[q[15]||(q[15]=xn=>mt(z)?z.value=xn:null),q[16]||(q[16]=xn=>{xn||(f(oe)(),f(ne)())})],"hide-default-actions":"","close-button":"",class:"post-live-modal"},{header:$(()=>q[102]||(q[102]=[a("h3",{class:"body-20 bold text-black"},"Your Hatch website is live!",-1)])),footer:$(()=>[C(bn,{preset:"royal",class:"post-live-modal__btn",onClick:f(ne)},{default:$(()=>q[105]||(q[105]=[T(" Close ")])),_:1,__:[105]},8,["onClick"])]),default:$(()=>{var xn;return[a("p",tU,[q[103]||(q[103]=T(" Your Hatch website is now live at ")),(xn=f(G))!=null&&xn.site_domain&&!String(f(G).site_domain).toLowerCase().includes("domain_pending")?(v(),x("a",{key:0,href:"https://"+f(G).site_domain,target:"_blank",rel:"noopener noreferrer",class:"font-semibold text-royalblue underline"},V(f(G).site_domain),9,nU)):(v(),x("span",oU,"your site")),q[104]||(q[104]=T(" and ready to use. Start sharing your link right away to grow your presence and connect with more clients. "))])]}),_:1},8,["modelValue"])],64)}}}),rU={class:"ocs-wrapper"},aU={class:"flex justify-end items-start mb-10"},sU={class:"ocs-view"},iU={class:"ocs-data"},lU={class:"fields-row"},uU={class:"field-item"},cU={class:"field-item"},dU={class:"basis-full flex flex-wrap md:flex-nowrap gap-y-4 gap-x-12"},fU={class:"grow flex flex-wrap gap-x-12 gap-y-2"},pU={class:"field-item"},mU={class:"field-item"},hU={class:"field-item"},gU={class:"field-item"},vU={class:"shrink-0 bg-neutral h-72 w-full md:w-72 flex items-center justify-center rounded-lg overflow-hidden"},yU={class:"field-item"},bU={class:"field-item"},wU={class:"field-item"},_U={class:"basis-full pb-4"},xU={class:"basis-full pb-6"},SU={class:"form-label va-input-label"},CU={class:"basis-full flex flex-wrap gap-x-12 gap-y-6"},kU={class:"field-item !min-h-0"},$U={class:"field-item !min-h-0"},AU={class:"lead-delivery-section mt-[2em] border-t-[1px] border-[#E4E4E4] pt-[1.5em] flex flex-col gap-[4px] basis-full"},TU={class:"field-item lead-delivery-field",style:{width:"400px","max-width":"100%"}},EU={key:0,class:"body-12 italic mt-[2em]"},PU={key:1,class:"text-gray-500"},OU={class:"ocs-info"},IU={class:"align-top"},DU={class:"pl-4 max-w-60 align-top"},MU={__name:"OCSiteView",setup(e){const t=qn(),n=w(()=>t.props),o=w(()=>{var p;return((p=n.value.oc_sites)==null?void 0:p.data)||{}}),r=M(!1),s=[{key:"create_date",label:"Create Date:",type:"date"},{key:"last_change_by",label:"Last Changed By:"},{key:"last_change_date",label:"Last Changed Date:",type:"date"}],i=w(()=>s.map(p=>{let m=o.value[p.key]||"";return m&&p.type==="date"&&(m=y_.format(new Date(m))),{...p,value:m}}));function l(p){if(!(p!=null&&p.trim()))return"";const m=String(p).trim().toLowerCase();return m==="funnel"||m==="ninja"?"Funnel":m==="switchboard"?"Switchboard Activate":m==="email"||String(p).includes("@")?"Email":String(p).trim().toLowerCase().replace(/\b\w/g,h=>h.toUpperCase())}const u=w(()=>{var h,g;const p=((g=(h=o.value)==null?void 0:h.lead_delivery)==null?void 0:g.trim())||"";if(!p)return"";const m=l(p);return p.includes("@")?`${m} (${p})`:m}),c=w(()=>{var m;const p=(m=o.value)==null?void 0:m.lead_delivery_last_checked;if(!p)return"";try{const h=new Date(p);return isNaN(h.getTime())?"":h.toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"})}catch{return""}}),d=w(()=>{var p,m;return!!((m=(p=o.value)==null?void 0:p.lead_delivery)!=null&&m.trim())});return(p,m)=>{const h=he("VaButton"),g=he("VaInput"),b=he("VaImage"),y=he("VaTextarea"),_=he("VaRadio"),A=he("VaCheckbox");return v(),x(de,null,[a("div",rU,[a("div",aU,[C(f(zt),{href:"/admin/hatchsites",class:"inline-flex items-center gap-2 text-royalblue underline body-15 mb-8 mr-3"},{default:$(()=>m[3]||(m[3]=[a("i",{class:"icon icon-q-left-arrow"},null,-1),T(" Back to Manage Quility® Hatch™ ")])),_:1,__:[3]}),C(h,{icon:"icon-edit-q",preset:"callToAction",round:"","aria-label":"Edit",class:"ml-3",onClick:m[0]||(m[0]=k=>r.value=!0)})]),a("div",sU,[a("div",iU,[a("div",lU,[a("div",uU,[C(g,{"model-value":o.value.site_domain,label:f(dn).site_domain,readonly:"",class:"w-full"},null,8,["model-value","label"])]),a("div",cU,[C(g,{"model-value":o.value.agency_name,label:f(dn).agency_name,readonly:"",class:"w-full"},null,8,["model-value","label"])]),a("div",dU,[a("div",fU,[a("div",pU,[C(g,{"model-value":o.value.agent_name,label:f(dn).agent_name,readonly:"",class:"w-full"},null,8,["model-value","label"])]),a("div",mU,[C(g,{"model-value":o.value.agent_code,label:f(dn).agent_c
129ode,readonly:"",class:"w-full"},null,8,["model-value","label"])]),a("div",hU,[C(g,{"model-value":o.value.phone,label:f(dn).phone,readonly:"",class:"w-full"},null,8,["model-value","label"])]),a("div",gU,[C(g,{"model-value":o.value.email,label:f(dn).email,readonly:"",class:"w-full"},null,8,["model-value","label"])])]),a("div",vU,[C(b,{src:o.value.profile_image_url||"","fallback-icon":"icon-user-q",class:"h-64 w-64 md:h-72 md:w-72 border-primary border-[2px] rounded-full overflow-hidden"},null,8,["src"])])]),a("div",yU,[C(g,{"model-value":o.value.city,label:f(dn).city,readonly:"",class:"w-full"},null,8,["model-value","label"])]),a("div",bU,[C(g,{"model-value":o.value.state,label:f(dn).state,readonly:"",class:"w-full"},null,8,["model-value","label"])]),a("div",wU,[C(g,{"model-value":o.value.calendar_url,label:f(dn).calendar_url,readonly:"",class:"w-full"},null,8,["model-value","label"])]),a("div",_U,[C(y,{"model-value":o.value.about_agency,label:f(dn).about_agency,readonly:"",autosize:"","min-rows":2,class:"w-full"},null,8,["model-value","label"])]),a("div",xU,[a("label",SU,V(f(dn).home_page_version),1),C(_,{modelValue:o.value.home_page_version,"onUpdate:modelValue":m[1]||(m[1]=k=>o.value.home_page_version=k),options:f(iu),"value-by":"value","text-by":"label",vertical:"",readonly:""},null,8,["modelValue","options"])]),a("div",CU,[a("div",kU,[C(A,{"model-value":o.value.dtc_enabled,label:f(dn).dtc_enabled,readonly:""},null,8,["model-value","label"])]),a("div",$U,[C(A,{"model-value":o.value.enabled,label:"Site Live",readonly:""},null,8,["model-value"])])]),a("div",AU,[m[5]||(m[5]=a("h3",{class:"body-20 bold mb-[1em]"},"Lead Delivery Destination",-1)),d.value?(v(),x(de,{key:0},[a("div",TU,[C(g,{"model-value":u.value,label:"Delivery Destination",readonly:"",class:"w-full"},null,8,["model-value"])]),c.value?(v(),x("p",EU,"Last synced: "+V(c.value),1)):D("",!0),m[4]||(m[4]=a("p",{class:"body-15 mt-[2em]"},[T("Email "),a("a",{href:"mailto:[email protected]",class:"text-royalblue underline"},"[email protected]"),T(" to change delivery destination.")],-1))],64)):(v(),x("p",PU,"No lead delivery information available."))])])]),a("div",OU,[a("table",null,[a("tbody",null,[(v(!0),x(de,null,Be(i.value,k=>(v(),x("tr",{key:k.key},[a("td",IU,V(k.label),1),a("td",DU,V(k.value),1)]))),128))])])])])]),r.value?(v(),X(ev,{key:0,modelValue:r.value,"onUpdate:modelValue":m[2]||(m[2]=k=>r.value=k),mode:"edit",item:o.value},null,8,["modelValue","item"])):D("",!0)],64)}}},RU={class:"container max-w-6xl py-12 px-4"},LU={__name:"OCSite",setup(e){return(t,n)=>(v(),X(df,{"disable-title":""},{default:$(()=>[a("div",RU,[C(MU)])]),_:1}))}},VU=Object.freeze(Object.defineProperty({__proto__:null,default:LU},Symbol.toStringTag,{value:"Module"})),BU={class:"container max-w-6xl py-12 px-4"},FU={__name:"OCSiteEdit",setup(e){const t=qn(),n=w(()=>{var c,d,p;return((d=(c=t.props.oc_sites)==null?void 0:c.data)==null?void 0:d.data)||((p=t.props.oc_sites)==null?void 0:p.data)});w(()=>t.props.errors);const o=M(!!t.props.calendly_success),r=M(!!t.props.calendly_disconnected),s=M(t.props.calendly_error??""),i=w(()=>!!t.props.open_advanced),l=w(()=>!!t.props.calendly_select);function u(){const c=new URL(window.location.pathname+window.location.search,window.location.origin),d=c.searchParams,p=d.has("calendly_success"),m=d.has("calendly_disconnected"),h=d.has("calendly_error")?decodeURIComponent(d.get("calendly_error")||""):null;if(p&&(o.value=!0),m&&(r.value=!0),h&&(s.value=h),p||m||h){d.delete("calendly_success"),d.delete("calendly_disconnected"),d.delete("calendly_error");const g=c.pathname+(d.toString()?"?"+d.toString():"");window.history.replaceState({},"",g)}}return rt(u),we(()=>t.url,u,{immediate:!0}),(c,d)=>{const p=he("VaAlert");return v(),X(df,{"disable-title":""},{default:$(()=>[a("div",BU,[C(f(zt),{href:"/admin/hatchsites",class:"inline-flex items-center gap-2 text-royalblue underline body-15 mb-8"},{default:$(()=>d[3]||(d[3]=[a("i",{class:"icon icon-q-left-arrow"},null,-1),T(" Back to Manage Quility® Hatch™ ")])),_:1,__:[3]}),o.value?(v(),X(p,{key:0,color:"success",class:"w-full mb-[2em] calendly-success-alert",closeable:"",onClose:d[0]||(d[0]=m=>o.value=!1)},{default:$(()=>d[4]||(d[4]=[a("div",{class:"flex items-center"},[a("i",{class:"icon icon-checkmark-q mr-3 text-[#08623C] body-25"}),a("span",{class:"body-15 text-[#08623C]"},"Your Calendly account has been successfully connected. Appointments can now be booked through your site.")],-1)])),_:1,__:[4]})):D("",!0),r.value?(v(),X(p,{key:1,color:"success",class:"w-full mb-[2em] calendly-success-alert",closeable:"",onClose:d[1]||(d[1]=m=>r.value=!1)},{default:$(()=>d[5]||(d[5]=[a("div",{class:"flex items-center"},[a("i",{class:"icon icon-checkmark-q mr-3 text-[#08623C] body-25"}),a("span",{class:"body-15 text-[#08623C]"},"Your Calendly has been successfully disconnected. You can now connect a new account to restore appointment scheduling.")],-1)])),_:1,__:[5]})):D("",!0),s.value?(v(),X(p,{key:2,color:"danger",border:"left",class:"w-full mb-4",closeable:"",onClose:d[2]||(d[2]=m=>s.value="")},{default:$(()=>[T(V(s.value),1)]),_:1})):D("",!0),n.value?(v(),X(ev,{key:4,"page-mode":"",mode:"edit",item:n.value,"open-advanced-tab-from-calendly":o.value||r.value||i.value||l.value},null,8,["item","open-advanced-tab-from-calendly"])):(v(),X(p,{key:3,color:"warning",border:"left",icon:"icon-alert-triangle-q",class:"w-full"},{default:$(()=>d[6]||(d[6]=[T(" Hatch Site not found. ")])),_:1,__:[6]}))])]),_:1})}}},NU=Zn(FU,[["__scopeId","data-v-d1509e01"]]),zU=Object.freeze(Object.defineProperty({__proto__:null,default:NU},Symbol.toStringTag,{value:"Module"})),jU={__name:"PreviewLayout",setup(e){return(t,n)=>{const o=he("VaLayout");return v(),X(o,{"allow-body-scroll-on-overlay":"",class:"bg-white"},{top:$(()=>[C(Sx)]),content:$(()=>[a("main",null,[a("article",null,[se(t.$slots,"default")])])]),bottom:$(()=>[C(Ax)]),_:3})}}};function UU(e){return e===!1||e===0}function HU(e){return e===!0||e===1||e==="1"}function WU(e){let t=e.split("?")[0];if(t.startsWith("http"))try{t=new URL(t).pathname}catch{}return t.length>
1291&&t.endsWith("/")&&(t=t.slice(0,-1)),t||"/"}function qU(e,t,n,o){if(n.includes(e))return e;const r=WU(t);return r==="/term-life"&&n.includes("TermLife")?"TermLife":r==="/mortgage-protection"&&n.includes("MortgageProtection")?"MortgageProtection":r==="/"&&n.includes("Home/AdvancedMarkets")&&o==="Advanced Markets"?"Home/AdvancedMarkets":r==="/"&&n.includes("Home/Home")&&o!=="Advanced Markets"?"Home/Home":e}function vf(){const e=qn(),t=Dn(xx,void 0),n=w(()=>e.props.oc_site),o=w(()=>{var u;return!UU((u=n.value)==null?void 0:u.dtc_eligible)}),r=w(()=>{var u;return HU((u=n.value)==null?void 0:u.dtc_enabled)}),s=w(()=>Array.isArray(e.props.dtc_pages)?e.props.dtc_pages:[]),i=w(()=>{var u;if(t!=null){const c=f(t);if(typeof c=="string"&&c.length>0)return c}return qU(e.component,e.url,s.value,(u=n.value)==null?void 0:u.home_page_version)});return{dtcLogic:w(()=>!o.value||!r.value?!1:s.value.includes(i.value)),dtcEligible:o,dtcEnabled:r,dtcPages:s,currentPage:i}}const GU=["alt"],YU=["alt"],KU=["src","title"],Rr=$e({__name:"ImageAndContent",props:{imageUrl:{},videoUrl:{},videoTitle:{},contentLeft:{type:Boolean,default:!1},imageAlt:{},imageVertAlign:{default:"center"},color:{default:"primary"}},setup(e){return(t,n)=>(v(),x("section",{class:xe(["image-and-content",`bg-${t.color}`])},[a("div",{class:xe(["container w-[80vw] flex md:flex-row flex-col gap-y-[2em] items-center justify-between",[{"py-[4em]":t.imageVertAlign!=="bottom"},{"pt-[4em]":t.imageVertAlign==="bottom"}]])},[a("div",{class:xe(["block-content md:w-[55%] w-full",[t.contentLeft?"md:order-first":"md:order-last"]])},[se(t.$slots,"default")],2),t.imageUrl?(v(),x("div",{key:0,class:xe(["block-image overflow-hidden md:w-[40%] w-full bg-contain bg-no-repeat",[`content-${t.imageVertAlign}`,`md:bg-${t.imageVertAlign}-right`,`bg-${t.imageVertAlign}`,{"2xl:h-[24.35vw] lg:h-[31vw] h-[58vw]":t.imageVertAlign==="bottom"},{"2xl:h-[19.35vw] lg:h-[26vw] h-[58vw]":t.imageVertAlign!=="bottom"},{"rounded-[15px]":t.imageVertAlign!=="bottom"},{"md:order-first":!t.contentLeft},{"md:order-last":t.contentLeft}]]),style:ze({"background-image":`url(${t.imageUrl})`}),alt:t.imageAlt},null,14,GU)):t.videoUrl?(v(),x("div",{key:1,class:xe(["iframe-container rounded-[15px] overflow-hidden md:w-[40%] md:pb-[22.5%] w-full pb-[56.25%]",[{"md:order-first":!t.contentLeft},{"md:order-last":t.contentLeft}]]),alt:t.imageAlt,style:{position:"relative"}},[a("iframe",{style:{position:"absolute",top:"0",left:"0",width:"100%",height:"100%"},src:`${t.videoUrl}`,title:`${t.videoTitle}`,frameborder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerpolicy:"strict-origin-when-cross-origin",allowfullscreen:""},null,8,KU)],10,YU)):D("",!0)],2)],2))}}),QU={class:"accolades bg-white"},XU={class:"container w-[80%] gap-x-[2%] md:gap-x-0 gap-y-[1.25em] md:gap-y-0 flex md:py-[50px] py-[25px] flex-wrap flex-col md:flex-row justify-between items-center"},JU={key:0,class:"md:w-[36%] w-full",src:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/57554b2d-f0a5-4c13-170e-b261f0882200/public",alt:"Over 1M Clients Protected"},ZU={key:1,class:"md:w-[36%] w-full",src:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/10dff927-7826-4f44-bdbd-d5a53a816600/public",alt:"$1B+ in submitted annual premium"},eH={key:2,class:"md:w-[8%] w-[25%]",src:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/c265835f-7449-4edd-3ffc-a73ae0a08600/public",alt:"Est. 2009"},tH={key:3,class:"md:w-[8%] w-[25%]",src:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/58733eff-5662-4fdb-6e4f-61194036e500/public",alt:"Est. 2009"},tv=$e({__name:"Accolades",props:{oc_site:{type:Object,default:null}},setup(e){const t=e,n=qn(),o=w(()=>n.component),r=w(()=>t.oc_site?t.oc_site.home_page_version!=="Advanced Markets":o.value==="Home/Home"),s=w(()=>t.oc_site?t.oc_site.home_page_version==="Advanced Markets":o.value==="Home/AdvancedMarkets"),i=w(()=>o.value==="WorkingWithSymmetry/WorkingWithSymmetry");return(l,u)=>(v(),x("section",QU,[a("div",XU,[r.value||s.value?(v(),x("img",JU)):i.value?(v(),x("img",ZU)):D("",!0),r.value||s.value?(v(),x("img",eH)):i.value?(v(),x("img",tH)):D("",!0),u[0]||(u[0]=a("img",{class:"md:w-[50%] mt-[0.5em] md:mt-0 w-full",src:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/95261be0-79d8-431c-aef9-dd9d6ba76700/public",alt:"As seen in Forbes | Entreprenuer | Digital Insurance"},null,-1))])]))}});function nH(e){return kd()?(vh(e),!0):!1}const Vp=new WeakMap,oH=(...e)=>{var t;const n=e[0],o=(t=It())==null?void 0:t.proxy;if(o==null&&!Pw())throw new Error("injectLocal must be called in setup");return o&&Vp.has(o)&&n in Vp.get(o)?Vp.get(o)[n]:Dn(...e)},rH=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const aH=e=>typeof e<"u",sH=Object.prototype.toString,iH=e=>sH.call(e)==="[object Object]",K1=()=>{};function lH(e,t){function n(...o){return new Promise((r,s)=>{Promise.resolve(e(()=>t.apply(this,o),{fn:t,thisArg:this,args:o})).then(r).catch(s)})}return n}function uH(e,t={}){let n,o,r=K1;const s=u=>{clearTimeout(u),r(),r=K1};let i;return u=>{const c=No(e),d=No(t.maxWait);return n&&s(n),c<=0||d!==void 0&&d<=0?(o&&(s(o),o=null),Promise.resolve(u())):new Promise((p,m)=>
129{r=t.rejectOnCancel?m:p,i=u,d&&!o&&(o=setTimeout(()=>{n&&s(n),o=null,p(i())},d)),n=setTimeout(()=>{o&&s(o),o=null,p(u())},c)})}}function cH(e,t){var n;if(typeof e=="number")return e+t;const o=((n=e.match(/^-?\d+\.?\d*/))==null?void 0:n[0])||"",r=e.slice(o.length),s=Number.parseFloat(o)+t;return Number.isNaN(s)?e:s+r}function jl(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function dH(e){return It()}function Bp(e){return Array.isArray(e)?e:[e]}function fH(e,t=200,n={}){return lH(uH(t,n),e)}function pH(e,t=!0,n){dH()?rt(e,n):t?e():Ct(e)}function mH(e,t,n){return we(e,t,{...n,immediate:!0})}const nv=rH?window:void 0;function hH(e){var t;const n=No(e);return(t=n==null?void 0:n.$el)!=null?t:n}function gH(...e){const t=[],n=()=>{t.forEach(l=>l()),t.length=0},o=(l,u,c,d)=>(l.addEventListener(u,c,d),()=>l.removeEventListener(u,c,d)),r=w(()=>{const l=Bp(No(e[0])).filter(u=>u!=null);return l.every(u=>typeof u!="string")?l:void 0}),s=mH(()=>{var l,u;return[(u=(l=r.value)==null?void 0:l.map(c=>hH(c)))!=null?u:[nv].filter(c=>c!=null),Bp(No(r.value?e[1]:e[0])),Bp(f(r.value?e[2]:e[1])),No(r.value?e[3]:e[2])]},([l,u,c,d])=>{if(n(),!(l!=null&&l.length)||!(u!=null&&u.length)||!(c!=null&&c.length))return;const p=iH(d)?{...d}:d;t.push(...l.flatMap(m=>u.flatMap(h=>c.map(g=>o(m,h,g,p)))))},{flush:"post"}),i=()=>{s(),n()};return nH(n),i}function vH(){const e=At(!1),t=It();return t&&rt(()=>{e.value=!0},t),e}function yH(e){const t=vH();return w(()=>(t.value,!!e()))}const bH=Symbol("vueuse-ssr-width");function WS(){const e=Pw()?oH(bH,null):null;return typeof e=="number"?e:void 0}function yl(e,t={}){const{window:n=nv,ssrWidth:o=WS()}=t,r=yH(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),s=At(typeof o=="number"),i=At(),l=At(!1),u=c=>{l.value=c.matches};return Po(()=>{if(s.value){s.value=!r.value;const c=No(e).split(",");l.value=c.some(d=>{const p=d.includes("not all"),m=d.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),h=d.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let g=!!(m||h);return m&&g&&(g=o>=jl(m[1])),h&&g&&(g=o<=jl(h[1])),p?!g:g});return}r.value&&(i.value=n.matchMedia(No(e)),l.value=i.value.matches)}),gH(i,"change",u,{passive:!0}),w(()=>l.value)}const wH={sm:640,md:768,lg:1024,xl:1280,"2xl":1536};function _H(e,t={}){function n(h,g){let b=No(e[No(h)]);return g!=null&&(b=cH(b,g)),typeof b=="number"&&(b=`${b}px`),b}const{window:o=nv,strategy:r="min-width",ssrWidth:s=WS()}=t,i=typeof s=="number",l=i?At(!1):{value:!0};i&&pH(()=>l.value=!!o);function u(h,g){return!l.value&&i?h==="min"?s>=jl(g):s<=jl(g):o?o.matchMedia(`(${h}-width: ${g})`).matches:!1}const c=h=>yl(()=>`(min-width: ${n(h)})`,t),d=h=>yl(()=>`(max-width: ${n(h)})`,t),p=Object.keys(e).reduce((h,g)=>(Object.defineProperty(h,g,{get:()=>r==="min-width"?c(g):d(g),enumerable:!0,configurable:!0}),h),{});function m(){const h=Object.keys(e).map(g=>[g,p[g],jl(n(g))]).sort((g,b)=>g[2]-b[2]);return w(()=>h.filter(([,g])=>g.value).map(([g])=>g))}
129return Object.assign(p,{greaterOrEqual:c,smallerOrEqual:d,greater(h){return yl(()=>`(min-width: ${n(h,.1)})`,t)},smaller(h){return yl(()=>`(max-width: ${n(h,-.1)})`,t)},between(h,g){return yl(()=>`(min-width: ${n(h)}) and (max-width: ${n(g,-.1)})`,t)},isGreater(h){return u("min",n(h,.1))},isGreaterOrEqual(h){return u("min",n(h))},isSmaller(h){return u("max",n(h,-.1))},isSmallerOrEqual(h){return u("max",n(h))},isInBetween(h,g){return u("min",n(h))&&u("max",n(g,-.1))},current:m,active(){const h=m();return w(()=>h.value.length===0?"":h.value.at(r==="min-width"?-1:0))}})}function xH(e){return JSON.parse(JSON.stringify(e))}function Q1(e,t,n,o={}){var r,s,i;const{clone:l=!1,passive:u=!1,eventName:c,deep:d=!1,defaultValue:p,shouldEmit:m}=o,h=It(),g=n||(h==null?void 0:h.emit)||((r=h==null?void 0:h.$emit)==null?void 0:r.bind(h))||((i=(s=h==null?void 0:h.proxy)==null?void 0:s.$emit)==null?void 0:i.bind(h==null?void 0:h.proxy));let b=c;t||(t="modelValue"),b=b||`update:${t.toString()}`;const y=k=>l?typeof l=="function"?l(k):xH(k):k,_=()=>aH(e[t])?y(e[t]):p,A=k=>{m?m(k)&&g(b,k):g(b,k)};if(u){const k=_(),E=M(k);let I=!1;return we(()=>e[t],F=>{I||(I=!0,E.value=y(F),Ct(()=>I=!1))}),we(E,F=>{!I&&(F!==e[t]||d)&&A(F)},{deep:d}),E}else return w({get(){return _()},set(k){A(k)}})}const SH={class:"carriers bg-darkgray text-white"},CH={class:"container md:w-[80vw] w-[90vw] md:py-[50px] py-[35px] items-center"},kH={data(){return{value:0,items:["https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/b2ac75e6-6986-48b7-57e9-877c7af79900/public","https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/9bdf9e99-851f-4471-7c2e-712dda551100/public","https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/e14ba636-5176-4e17-1eb1-c66e2918ef00/public","https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/aa46edd2-162d-42c6-064b-1b3b54805800/public","https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/ff92b977-4e83-47bc-009d-b047b6be6f00/public","https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/97f9e37c-d88d-4fc1-12ab-c86cb4f73100/public","https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/2dd66f40-8c39-4577-907d-79c88ce26000/public"]}}},yf=$e({...kH,__name:"Carriers",props:{navArrows:{type:Boolean,default:!1},pager:{type:Boolean,default:!1},perGroup:{default:4},slideWidth:{default:"w-[25%]"}},setup(e){const t=_H(wH),n=t.smallerOrEqual("sm"),o=t.greater("sm"),r=e,s=w(()=>!!n.value),i=w(()=>o.value?"w-[14.285%]":r.slideWidth),l=w(()=>o.value?7:r.perGroup);return(u,c)=>{const d=he("VaImage"),p=he("VaCarouselGroup"),m=he("VaCarouselV2");return v(),x("section",SH,[a("div",CH,[c[1]||(c[1]=a("h3",{class:"body-25 normal text-center md:pb-[1em] xl:pt-[1em] mb-[0.5em]"},"A glimpse at our carriers",-1)),C(m,{modelValue:u.value,"onUpdate:modelValue":c[0]||(c[0]=h=>u.value=h),arrows:r.navArrows,indicators:r.pager,ratio:3/2,draggable:"",autoscroll:"",infinite:"",effect:"fade"},{default:$(()=>[C(p,{perGroup:l.value,class:"justify-center"},{default:$(()=>[(v(!0),x(de,null,Be(u.items,h=>(v(),x("div",{key:h,class:xe(["item",`${i.value}`])},[C(d,{fit:"contain",src:h,ratio:3/2,draggable:s.value},null,8,["src","draggable"])],2))),128))]),_:1},8,["perGroup"])]),_:1},8,["modelValue","arrows","indicators"])])])}}}),$H=Object.freeze(Object.defineProperty({__proto__:null,default:yf},Symbol.toStringTag,{value:"Module"})),AH={class:"agency-info-block md:py-15 py-10"},TH={class:"container w-[80vw]"},EH={key:0,class:"body-35 bold"},PH={key:1,class:"divider-element bg-primary w-[10%] h-[5px]"},OH={class:"agent-info-container flex flex-row items-center mt-[2.5em]"},IH={class:"agent-image-holder"},DH=["alt"],MH={class:"agent-info-holder flex flex-col"},RH={class:"body-25 bold"},LH={class:"body-15 light"},VH={key:0},BH={class:"agent-contact flex flex-row mt-10 gap-x-[4vw]"},FH={key:0,class:"agent-info agent-location flex items-center lg:inline-flex hidden"},NH={class:"icon rounded-full bg-primary w-[40px] h-[40px] lg:mr-4 inline-block relative"},zH={key:0},jH={key:0},UH={key:1},HH={key:1,class:"agent-info agent-phone flex items-center"},WH=["href"],qH={class:"icon rounded-full bg-primary w-[40px] h-[40px] lg:mr-4 inline-block relative"},GH={class:"lg:block hidden"},YH={class:"agent-info agent-email flex items-center"},KH=["href"],QH={class:"icon rounded-full bg-primary w-[40px] h-[40p
129x] lg:mr-4 inline-block relative"},XH={class:"lg:block hidden"},JH={class:"agency-info-container mt-[2em] flex flex-row gap-x-[3vw] lg:block hidden"},ZH={class:"agency-info"},eW={key:0,class:"body-15 light"},tW={key:0,class:"npn-info md:mt-[1em]"},nW={key:0,class:"body-15 bold"},oW={key:1,class:"body-15 light"},rW={class:"agency-info-container-mobile mt-[2em] flex flex-row gap-x-[3vw] lg:hidden block"},aW={class:"agency-info"},sW={key:0,class:"body-15 light"},iW={key:0,class:"npn-info"},lW={key:0,class:"body-15 bold"},uW={key:1,class:"body-15 light"},cW={key:2,class:"agent-bio-link mt-[2.5em] block body-20 mb-[2em] underline transition-all ease-in-out duration-250 hover:opacity-50",href:"/contact"},dW={key:3,id:"agency-about",class:"md:w-[60%] w-full mt-[3em]"},fW={key:0,class:"body-20 light"},pW={key:1,class:"body-20 light"},ov=$e({__name:"AgencyBlock",props:{showHeading:{type:Boolean,default:!0},showAbout:{type:Boolean,default:!1}},setup(e){const t=e,{oc_site:n}=Dn(Fa,Qi());return(o,r)=>{var l,u,c,d,p,m,h,g,b,y,_,A,k,E,I,F,P,B;const s=he("font-awesome-icon"),i=he("VaIcon");return v(),x("div",AH,[a("div",TH,[t.showHeading?(v(),x("h2",EH,"Let's Connect")):D("",!0),t.showHeading?(v(),x("div",PH)):D("",!0),a("div",OH,[a("div",IH,[(l=f(n))!=null&&l.profile_image_url?(v(),x("div",{key:0,alt:f(n).agent_name,class:"agent-image mr-[4vw] content-center rounded-full lg:w-[264px] lg:h-[264px] md:w-[200px] md:h-[200px] w-[120px] h-[120px] bg-cover bg-no-repeat bg-center border-primary border-[2px]",style:ze("background-image: url("+f(n).profile_image_url+")")},null,12,DH)):D("",!0)]),a("div",MH,[a("h3",RH,V(f(n).agent_name),1),a("p",LH,[(u=f(n))!=null&&u.title?(v(),x("span",VH,V(f(n).title),1)):D("",!0)]),a("div",BH,[(c=f(n))!=null&&c.city||(d=f(n))!=null&&d.state?(v(),x("div",FH,[a("span",NH,[C(s,{"aria-hidden":"true",class:"text-white absolute top-[50%] left-[50%] translate-x-[-50%] translate-y-[-50%]",icon:["fas","location-dot"]})]),(p=f(n))!=null&&p.city||(m=f(n))!=null&&m.state?(v(),x("div",zH,[(h=f(n))!=null&&h.city?(v(),x("span",jH,V(f(n).city),1)):D("",!0),(g=f(n))!=null&&g.state?(v(),x("span",UH,", "+V(f(n).state),1)):D("",!0)])):D("",!0)])):D("",!0),(b=f(n))!=null&&b.phone?(v(),x("div",HH,[a("a",{class:"flex lg:flex-row flex-col text-black items-center underline transition-all ease-in-out duration-250 hover:opacity-50",href:"tel:"+f(n).phone},[a("span",qH,[C(s,{"aria-hidden":"true",class:"text-white absolute top-[50%] left-[50%] translate-x-[-50%] translate-y-[-50%]",icon:["fas","phone"]})]),a("span",GH,V(f(Ei)(f(n).phone)),1),r[0]||(r[0]=a("span",{class:"lg:hidden block mt-2"},"Call",-1))],8,WH)])):D("",!0),a("div",YH,[a("a",{class:"flex lg:flex-row flex-col text-black items-center underline transition-all ease-in-out duration-250 hover:opacity-50",href:"mailto:"+f(n).email},[a("span",QH,[C(s,{"aria-hidden":"true",class:"text-white absolute top-[50%] left-[50%] translate-x-[-50%] translate-y-[-50%]",icon:["fas","envelope"]})]),a("span",XH,V(f(n).email),1),r[1]||(r[1]=a("span",{class:"lg:hidden block mt-2"},"Email",-1))],8,KH)])]),a("div",JH,[a("div",ZH,[r[2]||(r[2]=a("p",{class:"body-15 bold"},"AGENCY",-1)),(y=f(n))!=null&&y.agency_name?(v(),x("p",eW,V(f(n).agency_name),1)):D("",!0)]),(_=f(n))!=null&&_.npn?(v(),x("div",tW,[(A=f(n))!=null&&A.npn?(v(),x("p",nW,"NPN")):D("",!0),(k=f(n))!=null&&k.npn?(v(),x("p",oW,V(f(n).npn),1)):D("",!0)])):D("",!0)])])]),a("div",rW,[a("div",aW,[r[3]||(r[3]=a("p",{class:"body-15 bold"},"AGENCY",-1)),(E=f(n))!=null&&E.agency_name?(v(),x("p",sW,V(f(n).agency_name),1)):D("",!0)]),(I=f(n))!=null&&I.npn?(v(),x("div",iW,[(F=f(n))!=null&&F.npn?(v(),x("p",lW,"NPN")):D("",!0),(P=f(n))!=null&&P.npn?(v(),x("p",uW,V(f(n).npn),1)):D("",!0)])):D("",!0)]),e.showAbout?(v(),x("div",dW,[r[5]||(r[5]=a("h3",{class:"body-25 bold mb-[1em]"},"About",-1)),(B=f(n))!=null&&B.about_agency?(v(),x("p",fW,V(f(n).about_agency),1)):(v(),x("p",pW,"I am an agent with Symmetry Financial Group, the nation's leading independent IMO. I work with top insurance companies to help you find the right financial solutions to protect your family, your finances, and your future."))])):(v(),x("a",cW,[r[4]||(r[4]=T("Learn More ")),C(i,{name:"icon-q-right-arrow",size:"large"})]))])])}}}),mW={class:"product-selector mt-5 mb-10"},hW={class:"container w-[80vw]"},gW={class:"products-grid grid lg:grid-cols-4 grid-cols-2 gap-8 mt-10"},vW=["id"],yW={class:"product-icon mb-3"},bW=["src"],wW={class:"product-name body-20 bold text-white"},qS=$e({__name:"ProductSelector",props:{products:{}}
129,setup(e){return document.addEventListener("DOMContentLoaded",function(){const n=document.getElementById("product-7").querySelector("h4");n&&(n.innerHTML=n.innerHTML+'<sup class="light">&reg;</sup>')}),(t,n)=>(v(),x("section",mW,[a("div",hW,[n[0]||(n[0]=a("h2",{class:"section-heading body-35 bold"},"What We Offer",-1)),n[1]||(n[1]=a("div",{class:"divider-element bg-primary w-[10%] h-[5px] m"},null,-1)),n[2]||(n[2]=a("div",{class:"section-content mt-10 body-20 light md:w-[50%]"},[a("p",null,"Choosing the right plan doesn't need to be complicated. We provide a wide variety of insurance solutions to meet your needs and give you confidence in your financial future.")],-1)),a("div",gW,[(v(!0),x(de,null,Be(t.products,o=>(v(),x("div",{key:o.id,id:"product-"+o.id,class:"product md:p-[20px] p-[15px] rounded-[15px] bg-primary text-center hover:opacity-50 transition-all ease-in-out duration-250"},[C(f(zt),{href:o.route},{default:$(()=>[a("div",yW,[a("img",{style:{margin:"0 auto"},src:o.imageURL},null,8,bW)]),a("h4",wW,V(o.name),1)]),_:2},1032,["href"])],8,vW))),128))])])]))}}),_W=Object.freeze(Object.defineProperty({__proto__:null,default:qS},Symbol.toStringTag,{value:"Module"})),xW={class:"testimonials text-center py-[4em] bg-lightgray"},SW={class:"container narrow text center md:px-[5%] px-[10%]"},CW={key:0,class:"testimonials-carousel mt-10 mb-[3em]"},kW=["aria-label"],$W={class:"review-name body-25 mb-5 w-full whitespace-normal mt-[20px]"},AW={class:"review"},TW={class:"source body-17 bold text-primary"},EW={key:1,class:"testimonials-carousel mt-10 mb-[3em]"},PW={class:"review-name body-25 light mb-5 w-full whitespace-normal mt-[20px]"},OW={class:"review"},IW={class:"source body-17 bold text-gray"},rv=$e({__name:"Testimonials",props:{reviews:Array,symmetrystories:Array},setup(e){const t=qn(),n=w(()=>t.component),o=w(()=>n.value==="Home/Home"||n.value==="Admin/OCSitePreview"||n.value==="Agent/OCSitePreview"),r=w(()=>n.value==="Home/AdvancedMarkets"||n.value==="Admin/OCSitePreview"||n.value==="Agent/OCSitePreview"),s=w(()=>n.value==="WorkingWithSymmetry/WorkingWithSymmetry");return(i,l)=>{const u=he("font-awesome-icon"),c=he("VaCarouselGroup"),d=he("VaCarouselV2");return v(),x("section",xW,[a("div",SW,[se(i.$slots,"heading"),o.value||r.value?(v(),x("div",CW,[C(d,{class:"bg-white rounded-[15px] border border-[#D0D0D0]"},{default:$(()=>[C(c,{perGroup:1},{default:$(()=>[(v(!0),x(de,null,Be(e.reviews,p=>(v(),x("div",{key:p.id,class:"review py-[50px] w-full content-center px-[6vw]"},[a("div",{"aria-label":p.stars+" out of 5 stars",role:"img"},[(v(!0),x(de,null,Be(new Array(p.stars).fill(null),(m,h)=>(v(),X(u,{key:h,"aria-hidden":"true",icon:["fas","star"],class:"body-15 text-[#FFCC00]"}))),128))],8,kW),a("h3",$W,V(p.content),1),a("div",AW,[a("p",TW,V(p.source),1)])]))),128))]),_:1})]),_:1})])):D("",!0),s.value?(v(),x("div",EW,[C(d,{class:"bg-white rounded-[15px] border border-[#D0D0D0]"},{default:$(()=>[C(c,{perGroup:1},{default:$(()=>[(v(!0),x(de,null,Be(e.symmetrystories,p=>(v(),x("div",{key:p.id,class:"review py-[50px] w-full px-[6vw] bg-white rounded-[15px] content-center"},[l[0]||(l[0]=a("img",{class:"w-[50px] h-[50px] text-center mx-auto",src:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/1417c283-a4e9-4d65-2787-6f0d5c3f5f00/public"},null,-1)),a("h3",PW,V(p.content),1),a("div",OW,[a("p",IW,"— "+V(p.source),1)])]))),128))]),_:1})]),_:1})])):D("",!0),se(i.$slots,"button")])])}}}),DW={key:0,class:"quote-form-container ocs-form-wrapper"},MW={key:0,id:"get-connected-modal-intro",class:"feathery-y5fpn4-intro-text"},RW={key:0,class:"body-35 bold mb-[.5em] section-heading text-center"},LW={key:1,class:"body-15 mb-[1.5em] text-center"},VW={key:0,class:"quote-modal-intro"},BW={key:0,class:"body-35 bold mb-[.5em] section-heading text-center"},FW={key:1,class:"body-15 text-center"},NW={key:1,class:"calendly-success","aria-live":"polite"},zW=["href"],jW={class:"calendly-iframe-wrap"},UW=["src"],HW={key:2,class:"success-message","aria-live":"polite"},WW={class:"form-row pair-row"},qW={class:"form-item","data-field":"firstName"},GW={class:"form-item","data-field":"lastName"},YW={class:"form-row pair-row"},KW={class:"form-item","data-field":"dateOfBirth"},QW={class:"form-item","data-field":"email"},XW={class:"form-row"},JW={class:"form-item","data-field":"phone"},ZW={class:"form-row"},eq={class:"form-item","data-field":"city"},tq={class:"form-row pair-row"},nq={class:"form-item","data-field":"state"},oq={class:"form-item","data-field":"zip"},rq={class:"actions-container profile-tab-actions form-actions"},aq={__name:"QuoteForm",props:{compact:{type:Boolean,default:!1},productType:{type:String,default:"MP"},leadType:{type:String,default:"Life Insurance"},submitUrl:{type:String,default:Kd},agentCode:{type:String,default:""},agentName:{type:String,default:""},agentEmail:{type:String,default:""},calendarUrl:{type:String,default:""},heading:{type:String,default:"Get Connected"},intro:{type:String,default:"Please fill out your information below to speak with a licensed agent."}},setup(e){const t=e,{isFeathery:n}=qh(),{ocSite:o,agentCode:r,agentName:s,agentEmail:i,calendarUrl:l}=Wh({agentCode:()=>t.agentCode,agentName:()=>t.agentName,agentEmail:()=>t.agentEmail,calendarUrl:()=>t.calendarUrl}),{usStates:u,formatPhone:c,formatZip:d,formatDate:p,formatDateForApi:m,isSubmitting:h,isSubmitDisabled:g,isSubmitted:b,isTurnstileEnabled:y,turnstileContainer:_,errorMessage:A,formErrors:k,requiredError:E,prospectEmailError:I,prospectPhoneError:F,zipError:P,dobError:B,setFieldError:O,submitToLeadDepot:j,announceSubmitResult:G}=Hh({submitUrl:t.submitUrl,formType:"quote"}),Q=M(null),Y=M(null),W=M(null),re=M(!1),oe=u.filter(Ce=>Ce.value),ne=M(Oh()),z=Ti(),N=w(()=>{const Ce=o.value;
129return Ce!=null&&Ce.calendar_url||Ce!=null&&Ce.recruiting_calendar_url?"pnvzLK":"SNKagS"}),ae=w(()=>({agentAgentCode:r.value,product_type:t.productType,leadType:t.leadType,extPartnerID:ne.value,dateReceived:z,agent_calendly_url:l.value||""})),ee=M({firstName:"",lastName:"",dateOfBirth:"",email:"",phone:"",city:"",state:"",zip:""}),K=Ce=>{var De;return typeof Ce=="string"?Ce:((De=Ce==null?void 0:Ce.target)==null?void 0:De.value)??""},Ie=Ce=>{ee.value.phone=c(K(Ce))},fe=Ce=>{ee.value.zip=d(K(Ce))},ge=Ce=>{ee.value.dateOfBirth=p(K(Ce))},Fe=Ce=>{let De=null;switch(Ce){case"firstName":case"lastName":case"city":case"state":De=E(ee.value[Ce]);break;case"dateOfBirth":De=B(ee.value.dateOfBirth);break;case"email":De=I(ee.value.email);break;case"phone":De=F(ee.value.phone);break;case"zip":De=P(ee.value.zip);break}return O(Ce,De),!De},ye=()=>(["firstName","lastName","dateOfBirth","email","phone","city","state","zip"].forEach(Fe),Object.keys(k.value).length===0),ce=w(()=>{if(!_i(l.value))return"";try{const Ce=new URL(l.value);Ce.searchParams.set("name",`${ee.value.firstName} ${ee.value.lastName}`),Ce.searchParams.set("email",ee.value.email);const De=LA(ee.value.phone);return De&&Ce.searchParams.set("location",De),Ce.toString()}catch{return""}}),Re=async()=>{if(!ye()){await G({formEl:Q,hadClientErrors:!0});return}const De=`${ee.value.firstName} ${ee.value.lastName}`,ot={formType:"quote",dnc:!1,zip:ee.value.zip,city:ee.value.city,email:ee.value.email,phone:ee.value.phone,state:ee.value.state,last01:ee.value.lastName,first01:ee.value.firstName,leadName:De,leadType:t.leadType,agentCode:r.value,cellPhone:ee.value.phone,birthdate1:m(ee.value.dateOfBirth),fullName01:De,productType:t.productType,dateReceived:Ti(),extPartnerID:ne.value};await j(ot)&&_i(l.value)&&(re.value=!0),await G({formEl:Q,successHeadingEl:W,errorBannerEl:Y})};return(Ce,De)=>{const ot=he("VaAlert"),U=he("VaInput"),Z=he("VaSelect"),pe=he("VaButton"),le=he("VaForm");return f(n)?(v(),x("div",DW,[t.heading||t.intro?(v(),x("div",MW,[t.heading?(v(),x("h2",RW,V(t.heading),1)):D("",!0),t.intro?(v(),x("p",LW,V(t.intro),1)):D("",!0)])):D("",!0),C(Yh,{"form-id":N.value,fields:ae.value},null,8,["form-id","fields"])])):(v(),x("div",{key:1,class:xe(["quote-form-container ocs-form-wrapper",{compact:t.compact,"has-calendly":f(b)&&re.value}])},[!f(b)&&(t.heading||t.intro)?(v(),x("div",VW,[t.heading?(v(),x("h2",BW,V(t.heading),1)):D("",!0),t.intro?(v(),x("p",FW,V(t.intro),1)):D("",!0)])):D("",!0),f(b)&&re.value?(v(),x("div",NW,[C(Sm,{ref_key:"successHeadingEl",ref:W,class:"mb-4","heading-class":"body-35 bold mb-2","lead-first-name":ee.value.firstName,"agent-name":f(s),"agent-email":f(i)},null,8,["lead-first-name","agent-name","agent-email"]),a("a",{class:"calendly-fallback-link",href:ce.value,target:"_blank",rel:"noopener noreferrer"}," Open scheduler in a new tab ",8,zW),a("div",jW,[a("iframe",{src:ce.value,title:"Schedule an appointment",class:"calendly-iframe",loading:"lazy",referrerpolicy:"no-referrer-when-downgrade"},null,8,UW)])])):f(b)?(v(),x("div",HW,[De[16]||(De[16]=a("div",{class:"success-icon"},[a("svg",{xmlns:"http://www.w3.org/2000/svg",width:"64",height:"64",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[a("path",{d:"M22 11.08V12a10 10 0 1 1-5.93-9.14"}),a("polyline",{points:"22 4 12 14.01 9 11.01"})])],-1)),C(Sm,{ref_key:"successHeadingEl",ref:W,class:"mb-6","lead-first-name":ee.value.firstName,"agent-name":f(s),"agent-email":f(i)},null,8,["lead-first-name","agent-name","agent-email"])])):(v(),x("form",{key:3,ref_key:"formEl",ref:Q,onSubmit:He(Re,["prevent"]),class:"quote-form"},[f(A)?(v(),x("div",{key:0,ref_key:"errorBannerEl",ref:Y,class:"error-banner",tabindex:"-1"},[C(ot,{preset:"errors",class:"w-full",role:"alert","aria-live":"assertive"},{default:$(()=>[T(V(f(A)),1)]),_:1})],512)):D("",!0),C(le,{tag:"div"},{default:$(()=>[a("div",WW,[a("div",qW,[C(U,{modelValue:ee.value.firstName,"onUpdate:modelValue":De[0]||(De[0]=L=>ee.value.firstName=L),label:"First Name",placeholder:"First Name","required-mark":"",class:"w-full",disabled:f(h),error:!!f(k).firstName,"error-messages":f(k).firstName,onBlur:De[1]||(De[1]=L=>Fe("firstName"))},null,8,["modelValue","disabled","error","error-messages"])]),a("div",GW,[C(U,{modelValue:ee.value.lastName,"onUpdate:modelValue":De[2]||(De[2]=L=>ee.value.lastName=L),label:"Last Name",placeholder:"Last Name","required-mark":"",class:"w-full",disabled:f(h),error:!!f(k).lastName,"error-messages":f(k).lastName,onBlur:De[3]||(De[3]=L=>Fe("lastName"))},null,8,["modelValue","disabled","error","error-messages"])])]),a("div",YW,[a("div",KW,[C(U,{modelValue:ee.value.dateOfBirth,"onUpdate:modelValue":De[4]||(De[4]=L=>ee.value.dateOfBirth=L),label:"Date Of Birth",placeholder:"MM/DD/YYYY",maxlength:10,"required-mark":"",class:"w-full",disabled:f(h),error:!!f(k).dateOfBirth,"error-messages":f(k).dateOfBirth,onInput:ge,onBlur:De[5]||(De[5]=L=>Fe("dateOfBirth"))},null,8,["modelValue","disabled","error","error-messages"])]),a("div",QW,[C(U,{modelValue:ee.value.email,"onUpdate:modelValue":De[6]||(De[6]=L=>ee.value.email=L),label:"Email",placeholder:"Email",type:"email","required-mark":"",class:"w-full",disabled:f(h),error:!!f(k).email,"error-messages":f(k).email,onBlur:De[7]||
129(De[7]=L=>Fe("email"))},null,8,["modelValue","disabled","error","error-messages"])])]),a("div",XW,[a("div",JW,[C(U,{modelValue:ee.value.phone,"onUpdate:modelValue":De[8]||(De[8]=L=>ee.value.phone=L),label:"Phone",placeholder:"000-000-0000","required-mark":"",class:"w-full",disabled:f(h),error:!!f(k).phone,"error-messages":f(k).phone,onInput:Ie,onBlur:De[9]||(De[9]=L=>Fe("phone"))},null,8,["modelValue","disabled","error","error-messages"])])]),a("div",ZW,[a("div",eq,[C(U,{modelValue:ee.value.city,"onUpdate:modelValue":De[10]||(De[10]=L=>ee.value.city=L),label:"City",placeholder:"City","required-mark":"",class:"w-full",disabled:f(h),error:!!f(k).city,"error-messages":f(k).city,onBlur:De[11]||(De[11]=L=>Fe("city"))},null,8,["modelValue","disabled","error","error-messages"])])]),a("div",tq,[a("div",nq,[C(Z,{modelValue:ee.value.state,"onUpdate:modelValue":De[12]||(De[12]=L=>ee.value.state=L),label:"State",options:f(oe),"text-by":"label","value-by":"value",placeholder:"State","required-mark":"",class:"w-full",disabled:f(h),error:!!f(k).state,"error-messages":f(k).state,onBlur:De[13]||(De[13]=L=>Fe("state"))},null,8,["modelValue","options","disabled","error","error-messages"])]),a("div",oq,[C(U,{modelValue:ee.value.zip,"onUpdate:modelValue":De[14]||(De[14]=L=>ee.value.zip=L),label:"Zip",placeholder:"Zip",maxlength:5,"required-mark":"",class:"w-full",disabled:f(h),error:!!f(k).zip,"error-messages":f(k).zip,onInput:fe,onBlur:De[15]||(De[15]=L=>Fe("zip"))},null,8,["modelValue","disabled","error","error-messages"])])]),C(Gh),f(y)?(v(),x("div",{key:0,ref_key:"turnstileContainer",ref:_,class:"turnstile-widget","aria-label":"Security check"},null,512)):D("",!0),a("div",rq,[C(pe,{type:"submit",preset:"callToAction",color:"royalblue",class:"profile-tab-actions__save",disabled:f(g),loading:f(h)},{default:$(()=>[T(V((f(_i)(f(l)),"Submit")),1)]),_:1},8,["disabled","loading"])])]),_:1})],544))],2))}}},Tr=Zn(aq,[["__scopeId","data-v-bd1bde7d"]]),sq={class:"request-quote py-10 text-center"},iq={class:"container narrow w-[80%] md:py-10"},lq={class:"body-51 black md:mt-10 md:mb-5"},uq={key:0,class:"block-content"},cq={class:"body-20 light my-[1em]"},us={__name:"RequestQuote",props:{title:{type:String,default:"Ready to get started?"},productType:{type:String,default:"TL"},leadType:{type:String,default:""},dtcApplyLeadProduct:{type:String,default:""},link:{type:String,default:""},content:{type:String,default:""},buttonText:{type:String,default:"Get a Quote Today"}},setup(e){const t=e,n={TL:"Life Insurance",MP:"Mortgage Protection",CI:"Critical Illness",DI:"Disability",RI:"Retirement Solutions",FE:"Final Expense"},{oc_site:o}=Dn(Fa,Qi()),{dtcLogic:r}=vf(),s=M(!1),i="https://admin.myhatchsite.io",l="https://apply.quility.com/#/symmetry/raq/",u=w(()=>{var b,y;const m=((b=Mt.page)==null?void 0:b.url)||"/",h=((y=o.value)==null?void 0:y.site_domain)||"oc.sfglife";return`${h==="localhost"?i:`https://${h}`}${m}`}),c=w(()=>n[t.productType]??t.productType),d=w(()=>t.leadType||c.value),p=w(()=>{var g;const m=((g=o.value)==null?void 0:g.agent_code)||"",h=u.value;return t.dtcApplyLeadProduct?Vd(m,t.dtcApplyLeadProduct,h):VA(m,h)});return(m,h)=>{const g=he("VaButton"),b=he("VaModal");return v(),x(de,null,[a("section",sq,[a("div",iq,[a("h2",lq,V(e.title),1),e.content?(v(),x("div",uq,[a("p",cq,V(e.content),1)])):D("",!0),f(r)?(v(),X(g,{key:1,class:"my-5 mx-[30px]",preset:"alternative",href:f(l)+p.value,target:"_blank","aria-label":"Get a Quote (opens in new tab)","data-cta-id":"request-quote-get-quote-dtc"},{default:$(()=>h[2]||(h[2]=[T(" Get a Quote ")])),_:1,__:[2]},8,["href"])):(v(),X(g,{key:2,onClick:h[0]||(h[0]=y=>s.value=!s.value),class:"my-5 mx-[30px] cta",preset:"alternative","data-cta-id":"request-quote-get-connected"},{default:$(()=>h[3]||(h[3]=[T(" Get Connected ")])),_:1,__:[3]}))])]),C(b,{modelValue:s.value,"onUpdate:modelValue":h[1]||(h[1]=y=>s.value=y),"max-width":"600px","hide-default-actions":"","close-button":""},{default:$(()=>[C(Tr,{"product-type":c.value,"lead-type":d.value},null,8,["product-type","lead-type"])]),_:1},8,["modelValue"])],64)}}},GS=[{id:1,stars:5,content:"“Great experience and so happy to have wonderful people who genuinely care!”",source:"Google Review"},{id:2,stars:5,content:"“My agent did a wonderful job of making sure I was informed and kept in the loop. They answered all my questions and made sure I was given the absolute best product.”",source:"Google Review"},{id:3,stars:5,content:"“My agent was kind and patient while going through the application process with me. I felt like they really cared about my situation and needs.”",source:"Google Review"},{id:4,stars:5,content:"“Ease of doing business, all done online. Love having lots of options to choose from.”",source:"Google Review"},{id:5,stars:5,content:"“Super, caring people that help protect what is important to you.”",source:"Google Review"},{id:6,stars:5,content:"“My agent was professional, friendly, and a joy to talk to. Will be a pleasure to recommend them to my family and friends.”",source:"Customer Satisfaction Survey"}],dq=[{id:1,content:"“Of all the companies out there, I stick with Symmetry because of the leadership, culture, and the opportunity to get exactly what you came here for.”",source:"Amy F."}
129,{id:2,content:"“I wake up excited to work. I’ve got freedom, income, and time with my kids—Symmetry made it happen.”",source:"Sara R."},{id:3,content:"“No other business lets you earn a great income, grow wealth, and make a positive impact on people’s lives every day.”",source:"Tony C."},{id:4,content:"“The integrity here is unmatched. Symmetry always delivers.”",source:"Sieun K."},{id:5,content:"“Other companies talk a big game. Symmetry backs it up—with tech, support, and a culture I love.”",source:"Darin S."}],fq=[{id:1,route:"/mortgage-protection",imageURL:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/cb605c11-dc02-4bbc-a76c-0f3e86c52a00/public",name:"Mortgage Protection"},{id:2,route:"/term-life",imageURL:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/611a85f9-3332-4701-3ae3-91140bcff100/public",name:"Term Life"},{id:3,route:"/permanent-life",imageURL:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/5aecd1ac-6407-4662-5a96-71fa15ac9f00/public",name:"Permanent Life"},{id:4,route:"/final-expense",imageURL:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/52dde61e-5648-4951-0049-eefa7bf78400/public",name:"Final Expense"},{id:5,route:"/critical-illness",imageURL:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/611a85f9-3332-4701-3ae3-91140bcff100/public",name:"Critical Illness"},{id:6,route:"/disability",imageURL:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/9497e112-68e3-402b-1e48-c3a313fa6d00/public",name:"Disability Insurance"},{id:7,route:"/debt-free-life",imageURL:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/81eb1a5b-7daf-4534-14f8-12d4575ffc00/public",name:"Debt Free Life"},{id:8,route:"/retirement",imageURL:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/6ee814a6-cb9e-4713-e8ea-9b086d451900/public",name:"Retirement Solutions"}],pq={class:"posts-grid flex xl:flex-row flex-col flex-wrap xl:gap-x-[4%] pt-[3em]"},mq=["href"],hq=["src","alt"],gq=["innerHTML"],vq={class:"body-25 bold mb-3"},yq=["href"],bq={class:"post-meta flex flex-row mb-[1em] line-height-[1em]"},wq={key:0,class:"published-date body-15 light text-medgray pr-[15px] mr-[15px] border-r-[1px] border-medgray"},_q={key:1,class:"read-time body-15 light text-medgray"},xq={class:"body-17 light mb-10"},Sq=["href"],av={__name:"HomeContent",props:{oc_site:Object,posts:Object},setup(e){const t=e,{dtcLogic:n}=vf(),o="https://admin.myhatchsite.io",r="https://apply.quility.com/#/symmetry/raq/",s=w(()=>{var p,m;const u=((p=Mt.page)==null?void 0:p.url)||"/",c=((m=t.oc_site)==null?void 0:m.site_domain)||"oc.sfglife";return`${c==="localhost"?o:`https://${c}`}${u}`}),i=w(()=>{var u;return Vd(((u=t.oc_site)==null?void 0:u.agent_code)||"","Life Insurance",s.value)}),l=M(!1);return(u,c)=>{const d=he("VaButton"),p=he("VaDivider"),m=he("VaIcon"),h=he("VaModal");return v(),x(de,null,[C(fr,{color:"primary","image-url":"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/4231ff44-a5cb-467e-f39b-6e6d72ac2600/public","image-alt":"Mom and dad smiling while holding their child"},{default:$(()=>[c[5]||(c[5]=a("h1",{class:"body-51 black text-white mb-[2rem]"},"Provide financial security for the people you love",-1)),c[6]||(c[6]=a("p",{class:"body-35"},"See how easy it is to get $1 million in coverage at an affordable cost.",-1)),f(n)?(v(),X(d,{key:0,class:"mt-[2.5rem]",preset:"white",href:f(r)+i.value,target:"_blank","aria-label":"Get a Quote (opens in new tab)","data-cta-id":"home-hero-get-quote-dtc"},{default:$(()=>c[3]||(c[3]=[T(" Get a Quote ")])),_:1,__:[3]},8,["href"])):(v(),X(d,{key:1,class:"mt-[2.5rem] cta",preset:"white","data-cta-id":"home-hero-get-connected",onClick:c[0]||(c[0]=g=>l.value=!l.value)},{default:$(()=>c[4]||(c[4]=[T(" Get Connected ")])),_:1,__:[4]}))]),_:1,__:[5,6]}),C(tv,{oc_site:t.oc_site},null,8,["oc_site"]),C(yf),C(rv,{reviews:f(GS)},{heading:$(()=>c[7]||(c[7]=[a("h2",{class:"section-heading body-35 bold"},"What Our Clients Are Saying",-1)])),_:1},8,["reviews"]),C(ov),C(p,{class:"w-[80%] mx-auto block h-[1px] bg-gray"}),c[15]||(c[15]=js('<section class="two-column-block md:pt-[4em] pt-[2em]"><div class="container w-[80vw] flex md:flex-row flex-col items-center md:gap-x-[6vw] pb-[4em]"><div class="column left md:w-[50%] w-full"><h2 class="section-heading body-35 bold">What Do You Want To Protect?</h2><div class="divider-element bg-secondary w-[10%] h-[5px] m"></div><div class="section-content mt-10 body-20 light"><p>Whether you&#39;re looking to secure your family&#39;s future or protect your assets, we&#39;ve got you covered. No medical exams, no long waiting periods — just the insurance coverage you need, when you need it.</p></div></div><div class="column right md:w-[50%] w-full md:mt-0 mt-[2em]"><h4 class="body-20 bold mb-8">
129We can help you:</h4><div class="checklist-items flex md:flex-wrap xl:flex-row flex-col xl:gap-y-[1.5em] gap-y-[1em]"><div class="checklist-item xl:basis-1/2 basis-1/1 flex flex-row gap-x-[12px]"><img class="w-[25px] h-[25px]" src="https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/b4fddc09-87db-41f4-baf4-070dc517a000/public" alt="checkbox checked"><p class="body-17">Protect your loved ones</p></div><div class="checklist-item xl:basis-1/2 basis-1/1 flex flex-row gap-x-[12px]"><img class="w-[25px] h-[25px]" src="https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/b4fddc09-87db-41f4-baf4-070dc517a000/public" alt="checkbox checked"><p class="body-17">Protect your home</p></div><div class="checklist-item xl:basis-1/2 basis-1/1 flex flex-row gap-x-[12px]"><img class="w-[25px] h-[25px]" src="https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/b4fddc09-87db-41f4-baf4-070dc517a000/public" alt="checkbox checked"><p class="body-17">Pay off debt</p></div><div class="checklist-item xl:basis-1/2 basis-1/1 flex flex-row gap-x-[12px]"><img class="w-[25px] h-[25px]" src="https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/b4fddc09-87db-41f4-baf4-070dc517a000/public" alt="checkbox checked"><p class="body-17">Plan for retirement</p></div><div class="checklist-item basis-1/1 flex flex-row gap-x-[12px]"><img class="w-[25px] h-[25px]" src="https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/b4fddc09-87db-41f4-baf4-070dc517a000/public" alt="checkbox checked"><p class="body-17">Prepare for disability or critical illness</p></div></div></div></div></section>',1)),C(p,{class:"w-[80%] mx-auto mb-[4em] block h-[1px] bg-gray"}),C(qS,{products:f(fq)},null,8,["products"]),C(p,{class:"w-[80%] mx-auto mt-[6em] block h-[1px] bg-gray"}),C(Rr,{color:"white","content-left":"","image-url":"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/c89a1786-b9de-4443-e8bd-08ae7d509b00/public","image-alt":"Mom using a laptop while sitting with her daughter","image-vert-align":"bottom"},{default:$(()=>[c[10]||(c[10]=a("h2",{class:"body-35 bold"},"How It Works",-1)),c[11]||(c[11]=a("div",{class:"divider-element bg-secondary"},null,-1)),c[12]||(c[12]=a("p",{class:"body-20 light mt-[2rem]"},"Fill out the short form to get your free quote. We'll match you with the policy that best fits your budget and needs.",-1)),f(n)?(v(),X(d,{key:0,class:"mt-[2.5rem]",preset:"alternative",href:f(r)+i.value,target:"_blank","aria-label":"Get a Quote (opens in new tab)","data-cta-id":"home-how-it-works-get-quote-dtc"},{default:$(()=>c[8]||(c[8]=[T(" Get a Quote ")])),_:1,__:[8]},8,["href"])):(v(),X(d,{key:1,class:"mt-[2.5rem] cta",preset:"alternative","data-cta-id":"home-how-it-works-get-connected",onClick:c[1]||(c[1]=g=>l.value=!l.value)},{default:$(()=>c[9]||(c[9]=[T(" Get Connected ")])),_:1,__:[9]}))]),_:1,__:[10,11,12]}),C(bo,null,{heading:$(()=>c[13]||(c[13]=[a("h2",{class:"section-heading body-35 bold"},"Featured Articles",-1),a("div",{class:"divider-element bg-primary"},null,-1)])),default:$(()=>[a("div",pq,[(v(!0),x(de,null,Be((e.posts||[]).slice(0,3),g=>(v(),x("div",{key:g.id,class:xe(["post column relative xl:w-[30.5%] w-[100%] mb-[2em] p-[25px] bg-white rounded-[15px]","post-"+g.id])},[a("a",{href:g.url_link},[a("img",{class:"mb-3",src:g.image,alt:g.image_alt},null,8,hq)],8,mq),a("div",{class:"category-links mb-2",innerHTML:f(on)(g.category_links)},null,8,gq),a("h3",vq,[a("a",{class:"text-black",href:g.url_link},V(g.title),9,yq)]),a("div",bq,[g.published_date?(v(),x("div",wq,V(g.published_date),1)):D("",!0),g.readtime?(v(),x("div",_q,V(g.readtime),1)):D("",!0)]),a("p",xq,V(g.description),1),a("a",{class:"body-15 bold underline hover:opacity-50 transition-all ease-in-out duration-250 absolute bottom-[30px]",href:g.url_link},[c[14]||(c[14]=T("Read More ")),C(m,{name:"icon-q-right-arrow",size:"large"})],8,Sq)],2))),128))])]),_:1}),C(us,{title:"Ready to get started?","product-type":"MP","dtc-apply-lead-product":"Life Insurance"}),C(h,{modelValue:l.value,"onUpdate:modelValue":c[2]||(c[2]=g=>l.value=g),"max-width":"600px","hide-default-actions":"","close-button":""},{default:$(()=>[C(Tr,{"product-type":"Mortgage Protection","lead-type":"Mortgage Protection"})]),_:1},8,["modelValue"])],64)}}},Cq=Object.freeze(Object.defineProperty({__proto__:null,default:av},Symbol.toStringTag,{value:"Module"})),kq={class:"flex flex-row items-center mt-[55px] gap-x-6"},$q={class:"posts-grid flex xl:flex-row flex-col flex-wrap xl:gap-x-[4%] pt-[3em]"},Aq=["href"],Tq=["src","alt"],Eq=["innerHTML"],Pq={class:"body-25 bold mb-3"},Oq=["href"],Iq={class:"post-meta flex flex-row mb-[1em] line-height-[1em]"},Dq={key:0,class:"published-date body-15 light text-medgray pr-[15px] mr-[15px] border-r-[1px] border-medgray"},Mq={key:1,class:"read-time body-15 light text-medgray"},Rq={class:"body-17 light mb-10"},Lq=["href"],Vq=["src"],sv={__name:"AdvancedMarketsContent",props:{oc_site:Object,posts:Object},setup(e){const t=e,n="https://admin.myhatchsite.io";w(()=>{var u,c;const s=((u=Mt.page)==null?void 0:u.url)||"/",i=((c=t.oc_site)==null?void 0:c.site_domain)||"oc.sfglife";return`redirect_url=${i==="localhost"?n:`https://${i}`}${s}`});const o=M(!1),r=M(!1);return(s,i)=>{var p;const l=he("VaButton"),u=he("VaDivider"),c=he("VaIcon"),d=he("VaModal");return v(),x(de,null,[C(fr,{color:"primary","image-url":"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/34e88cc6-efbf-42c8-cd07-b73902773400/public","image-alt":"Happy couple standing together"},{default:$(()=>[i[5]||(i[5]=a("h1",{class:"body-51 black text-white mb-[40px]"},"Today's Protection. Tomorrow's Growth.",-1)),i[6]||(i[6]=a("h3",{class:"body-35"},"Coverage designed to protect what matters most and support a secure financial future",-1)),a("div",kq,[C(l,{class:"nowrap cta",preset:"white","data-cta-id":"advmarkets-hero-get-connected",onClick:i[0]||(i[0]=m=>o.value=!o.value)},{default:$(()=>i[4]||(i[4]=[T(" Get Connected ")])),_:1,__:[4]})])]),_:1,__:[5,6]}),C(tv,{oc_site:t.oc_site},null,8,["oc_site"]),C(yf),C(ov),C(u,{class:"w-[80%] mx-auto block h-[1px] bg-gray"}),C(Rr,{color:"white",contentLeft:"","image-url":"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/9a3e6d8b-3e82-4edd-ed24-57fd04e2bb00/public","image-alt":"Man and woman sitting on a couch reviewing paper bills and looking at a laptop","image-vert-align":"center"},{default:$(()=>[i[8]||(i[8]=a("h2",{class:"body-35 bold"},"Get Out of Debt",-1)),i[9]||(i[9]=a("div",{class:"divider-element bg-secondary"},null,-1)),i[10]||(i[10]=a("p",{class:"body-20 light mt-[2rem]"},"Get a custom Debt Free Life plan and see how your policy can make your money work for you, instead of the banks!",-1)),i[11]||(i[11]=a("ul",{class:"body-17 light list-disc pl-[
12918px] mt-[1em]"},[a("li",{class:"mb-[0.5em]"},"Pay off your debt in a fraction of the time"),a("li",{class:"mb-[0.5em]"},"Your money gains interest in the policy, even when you take it out!"),a("li",null,"Beat the system designed to profit from your payments and taxes")],-1)),C(l,{class:"mt-[2.25rem]",preset:"alternative",href:"/debt-free-life","data-cta-id":"advmarkets-debt-free-learn-more"},{default:$(()=>i[7]||(i[7]=[T(" Learn More ")])),_:1,__:[7]})]),_:1,__:[8,9,10,11]}),C(u,{class:"w-[80%] mx-auto block h-[1px] bg-gray"}),C(Rr,{color:"white","image-url":"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/7e43be02-f314-46ab-724a-243c0014af00/public","image-alt":"Two parents sitting next to their young child","image-vert-align":"center"},{default:$(()=>[i[13]||(i[13]=a("h2",{class:"body-35 bold"},"Build Wealth",-1)),i[14]||(i[14]=a("div",{class:"divider-element bg-primary"},null,-1)),i[15]||(i[15]=a("p",{class:"body-20 light mt-[2rem]"},"Use your life insurance policy as a wealth-building strategy designed for tax-advantaged growth.",-1)),i[16]||(i[16]=a("ul",{class:"body-17 light list-disc pl-[18px] mt-[1em]"},[a("li",{class:"mb-[0.5em]"},"Grow cash value over time, guaranteed or with the market"),a("li",{class:"mb-[0.5em]"},"Never lose a penny when the market goes down; your gains are locked in each year"),a("li",null,"Diversify beyond the stock market with a long-term solution with security")],-1)),C(l,{class:"mt-[2.25rem]",preset:"standard",href:"/retirement","data-cta-id":"advmarkets-build-wealth-learn-more"},{default:$(()=>i[12]||(i[12]=[T(" Learn More ")])),_:1,__:[12]})]),_:1,__:[13,14,15,16]}),C(u,{class:"w-[80%] mx-auto block h-[1px] bg-gray"}),C(Rr,{color:"white",contentLeft:"","image-url":"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/39d26197-3868-4235-a2fb-e12862ee3200/public","image-alt":"Happy couple reviewing a life insurance policy quote with their agent","image-vert-align":"center"},{default:$(()=>[i[18]||(i[18]=a("h2",{class:"body-35 bold"},"Protect Your Assets",-1)),i[19]||(i[19]=a("div",{class:"divider-element bg-secondary"},null,-1)),i[20]||(i[20]=a("p",{class:"body-20 light mt-[2rem]"},"Supercharge your retirement fund and protect your savings with powerful financial tools like fixed indexed annuities.",-1)),i[21]||(i[21]=a("ul",{class:"body-17 light list-disc pl-[18px] mt-[1em]"},[a("li",{class:"mb-[0.5em]"},"Safeguard your assets from market downturns, never lose a penny"),a("li",{class:"mb-[0.5em]"},"Create guaranteed lifetime income streams, even if you outlive the money "),a("li",null,"Preserve and pass on wealth with confidence")],-1)),C(l,{class:"mt-[2.25rem]",preset:"alternative",href:"/retirement","data-cta-id":"advmarkets-protect-assets-learn-more"},{default:$(()=>i[17]||(i[17]=[T(" Learn More ")])),_:1,__:[17]})]),_:1,__:[18,19,20,21]}),C(bo,null,{heading:$(()=>i[22]||(i[22]=[a("h2",{class:"section-heading body-35 bold"},"Featured Articles",-1),a("div",{class:"divider-element bg-primary"},null,-1)])),default:$(()=>[a("div",$q,[(v(!0),x(de,null,Be((e.posts||[]).slice(0,3),m=>(v(),x("div",{key:m.id,class:xe(["post column relative xl:w-[30.5%] w-[100%] mb-[2em] p-[25px] bg-white rounded-[15px]","post-"+m.id])},[a("a",{href:m.url_link},[a("img",{class:"mb-3",src:m.image,alt:m.image_alt},null,8,Tq)],8,Aq),a("div",{class:"category-links mb-2",innerHTML:f(on)(m.category_links)},null,8,Eq),a("h3",Pq,[a("a",{class:"text-black",href:m.url_link},V(m.title),9,Oq)]),a("div",Iq,[m.published_date?(v(),x("div",Dq,V(m.published_date),1)):D("",!0),m.readtime?(v(),x("div",Mq,V(m.readtime),1)):D("",!0)]),a("p",Rq,V(m.description),1),a("a",{class:"body-15 bold underline hover:opacity-50 transition-all ease-in-out duration-250 absolute bottom-[30px]",href:m.url_link},[i[23]||(i[23]=T("Read More ")),C(c,{name:"icon-q-right-arrow",size:"large"})],8,Lq)],2))),128))])]),_:1}),C(Rr,{color:"white","image-url":"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/ca1b0d31-5182-4d27-af0e-ee17f1b57700/public","image-vert-align":"bottom",contentLeft:""},{default:$(()=>[i[25]||(i[25]=a("h2",{class:"body-35 bold"},"Ready to get started?",-1)),i[26]||(i[26]=a("div",{class:"divider-element bg-secondary"},null,-1)),i[27]||(i[27]=a("p",{class:"body-20 light mt-10"}
129,"As your dedicated agent, I am here to support you throughout life's journey. Get in touch to set up an appointment to discuss your financial goals. ",-1)),C(l,{class:"mt-[55px] cta",preset:"alternative","data-cta-id":"advmarkets-ready-to-start-get-connected",onClick:i[1]||(i[1]=m=>o.value=!o.value)},{default:$(()=>i[24]||(i[24]=[T(" Get Connected ")])),_:1,__:[24]})]),_:1,__:[25,26,27]}),C(rv,{reviews:f(GS)},{heading:$(()=>i[28]||(i[28]=[a("h2",{class:"section-heading body-35 bold"},"What Our Clients are Saying",-1)])),_:1},8,["reviews"]),C(d,{modelValue:o.value,"onUpdate:modelValue":i[2]||(i[2]=m=>o.value=m),"max-width":"600px","hide-default-actions":"","close-button":""},{default:$(()=>[C(Tr,{"product-type":"Retirement Solutions","lead-type":"Retirement Solutions"})]),_:1},8,["modelValue"]),f(_i)((p=t.oc_site)==null?void 0:p.calendar_url)?(v(),X(d,{key:0,modelValue:r.value,"onUpdate:modelValue":i[3]||(i[3]=m=>r.value=m),"hide-default-actions":"","close-button":""},{default:$(()=>[a("iframe",{title:"Appointment calendar",style:{margin:"0 auto",width:"100%",height:"72.2vh","max-height":"780px","max-width":"1080px"},src:t.oc_site.calendar_url},null,8,Vq)]),_:1},8,["modelValue"])):D("",!0)],64)}}},Bq=Object.freeze(Object.defineProperty({__proto__:null,default:sv},Symbol.toStringTag,{value:"Module"})),YS={__name:"PreviewHome",props:{oc_site:Object,posts:Object},setup(e){const t=e;cr(Fa,{oc_site:M({...t.oc_site||{}})});const n=w(()=>{var r;return((r=t.oc_site)==null?void 0:r.home_page_version)==="Advanced Markets"?"Home/AdvancedMarkets":"Home/Home"});cr(xx,n);const o=w(()=>{var r;return((r=t.oc_site)==null?void 0:r.home_page_version)==="Advanced Markets"});return(r,s)=>(v(),X(jU,null,{default:$(()=>[o.value?(v(),X(sv,{key:0,oc_site:t.oc_site,posts:t.posts},null,8,["oc_site","posts"])):(v(),X(av,{key:1,oc_site:t.oc_site,posts:t.posts},null,8,["oc_site","posts"]))]),_:1}))}},Fq={key:0,class:"preview-container"},Nq={key:1,class:"no-preview"},zq={key:0,class:"error-detail"},jq=$e({__name:"OCSitePreview",setup(e){const t=qn(),n=M(null),o=M(""),r=w(()=>t.props.termLifePosts||[]),s=w(()=>t.props.advancedMarketsPosts||[]),i=w(()=>{var l;return((l=n.value)==null?void 0:l.home_page_version)==="Advanced Markets"?s.value:r.value});return rt(()=>{try{const u=new URLSearchParams(window.location.search).get("key");if(!u){o.value="No preview key found in URL",console.error("No preview key in URL");return}const c=localStorage.getItem(u);if(!c){o.value="No preview data found for this key",console.error("No preview data found for key:",u);return}try{n.value=JSON.parse(c),console.log("Preview data loaded:",n.value),localStorage.removeItem(u)}catch(d){o.value="Failed to parse preview data",console.error("Failed to parse preview data:",d)}}catch(l){o.value="An error occurred while loading preview",console.error("Error in preview setup:",l)}}),(l,u)=>n.value?(v(),x("div",Fq,[C(YS,{oc_site:n.value,posts:i.value},null,8,["oc_site","posts"])])):(v(),x("div",Nq,[u[0]||(u[0]=a("p",null,"No preview data available. Please try again from the edit form.",-1)),o.value?(v(),x("p",zq,V(o.value),1)):D("",!0)]))}}),Uq=Zn(jq,[["__scopeId","data-v-bdc8bdb1"]]),Hq=Object.freeze(Object.defineProperty({__proto__:null,default:Uq},Symbol.toStringTag,{value:"Module"})),Wq={class:"ocs-pagination"},qq={class:"ocs-pagination__items"},Gq=$e({__name:"Pagination",props:{page:{type:Number,default:1},itemsPerPage:{type:Number,default:10},itemsLength:{type:Number,default:0},itemsPerPageOptions:{type:Array,default:()=>[10,25,50,100]},disabled:{type:Boolean,default:!1}},emits:["update:page","update:itemsPerPage"],setup(e,{emit:t}){const n=e,o=t,r=Q1(n,"page",o),s=Q1(n,"itemsPerPage",o),i=w(()=>n.itemsLength>0),l=w(()=>r.value>1),u=w(()=>n.itemsLength-r.value*s.value>0),c=w(()=>s.value*(r.value-1)+1),d=w(()=>{const b=s.value*r.value;return Math.min(b,n.itemsLength)}),p=w(()=>i.value?`${c.value}-${d.value} of ${n.itemsLength}`:"0 of 0"),m=()=>{l.value&&(r.value-=1)},h=()=>{u.value&&(r.value+=1)};return we([()=>n.itemsLength,s],([b,y],[_,A])=>{if(b===_){const k=A*(r.value-1)+1;r.value=Math.ceil(k/y)}else r.value=1}),(b,y)=>{const _=he("VaSelect"),A=he("VaButton");return v(),x("div",Wq,[a("div",null,[y[1]||(y[1]=a("span",null,"Items per page",-1)),C(_,{modelValue:f(s),"onUpdate:modelValue":y[0]||(y[0]=k=>mt(s)?s.value=k:null),options:e.itemsPerPageOptions,disabled:e.disabled||!i.value,class:"ocs-pagination__select"},null,8,["modelValue","options","disabled"])]),a("div",null,[a("span",qq,V(p.value),1),C(A,{icon:"icon-q-previous",class:"ocs-pagination__prev-btn","aria-label":"Previous page",disabled:e.disabled||!l.value,round:"",onClick:m},null,8,["disabled"]),C(A,{icon:"icon-q-next",class:"ocs-pagination__next-btn","aria-label":"Next page",disabled:e.disabled||!u.value,round:"",onClick:h},null,8,["disabled"])])])}}}),Yq=["innerHTML"],Kq={class:"flex items-center justify-end mt-6"},Qq=$e({__name:"DeleteConfirmationDialog",props:{modelValue:{type:Boolean,default:!1},title:{type:String,default:"Are you sure?"}},emits:["update:modelValue","delete"],setup(e,{emit:t}){const n=e,o=t,r=w({get(){return n.modelValue},set(u){o("update:modelValue",u)}}),s=w(()=>on(n.title)),i=()=>{r.value=!1},l=()=>{o("delete"),r.value=!1};return(u,c)=>{const d=he("VaAlert"),p=he("VaButton"),m=he("VaModal");return v(),X(m,{modelValue:r.value,"onUpdate:modelValue":c[0]||(c[0]=h=>r.value=h),"mobile-fullscreen":!1,"allow-body-scroll":"","close-button":"","hide-default-actions":"","max-width":"640px"},{default:$(()=>[a("div",null,[se(u.$slots,"default",{},()=>[a("h3",{class:"font-bold text-danger",innerHTML:s.value},null,8,Yq)]),C(d,{color:"warning",outline:"",icon:"icon-alert-triangle-q",class:"w-full my-4"},{default:$(()=>c[1]||(c[1]=[T(" The data will be completely deleted and will be impossible to re
129cover. ")])),_:1,__:[1]}),a("div",Kq,[C(p,{preset:"primary",onClick:i},{default:$(()=>c[2]||(c[2]=[T(" Cancel ")])),_:1,__:[2]}),C(p,{color:"danger","text-color":"#fff",class:"ml-4",onClick:l},{default:$(()=>c[3]||(c[3]=[T(" Delete ")])),_:1,__:[3]})])])]),_:3},8,["modelValue"])}}}),Xq=["innerHTML"],Jq={class:"flex items-center justify-end mt-6"},Zq=$e({__name:"ResetConfirmationDialog",props:{modelValue:{type:Boolean,default:!1},title:{type:String,default:"Are you sure?"}},emits:["update:modelValue","reset"],setup(e,{emit:t}){const n=e,o=t,r=w({get(){return n.modelValue},set(u){o("update:modelValue",u)}}),s=w(()=>on(n.title)),i=()=>{r.value=!1},l=()=>{o("reset"),r.value=!1};return(u,c)=>{const d=he("VaAlert"),p=he("VaButton"),m=he("VaModal");return v(),X(m,{modelValue:r.value,"onUpdate:modelValue":c[0]||(c[0]=h=>r.value=h),"mobile-fullscreen":!1,"allow-body-scroll":"","close-button":"","hide-default-actions":"","max-width":"640px"},{default:$(()=>[a("div",null,[se(u.$slots,"default",{},()=>[a("h3",{class:"font-bold text-danger",innerHTML:s.value},null,8,Xq)]),C(d,{color:"warning",outline:"",icon:"icon-alert-triangle-q",class:"w-full my-4"},{default:$(()=>c[1]||(c[1]=[T(" This will reset the site to its default new state. This action cannot be undone. ")])),_:1,__:[1]}
129),a("div",Jq,[C(p,{preset:"primary",onClick:i},{default:$(()=>c[2]||(c[2]=[T(" Cancel ")])),_:1,__:[2]}),C(p,{color:"danger","text-color":"#fff",class:"ml-4",onClick:l},{default:$(()=>c[3]||(c[3]=[T(" Reset ")])),_:1,__:[3]})])])]),_:3},8,["modelValue"])}}}),eG={class:"flex justify-between bg-lightgray py-2 px-4 flex-wrap gap-x-8 gap-y-4"},tG={class:"ocs-data-table-scroll mt-2 overflow-x-auto"},nG={key:0,class:"text-darkgray"},oG={key:1,class:"inline-flex items-center gap-2 whitespace-nowrap"},rG={class:"flex items-center gap-3"},aG=["colspan"],sG={class:"flex justify-center mt-4"},iG={__name:"OCSitesDatatable",setup(e){const t=[{key:"agent_name",label:"Agent Name",sortable:!0},{key:"agency_name",label:"Agency Name",sortable:!0},{key:"site_domain",label:"Site Domain",sortable:!0},{key:"agent_code",label:"Agent Code",sortable:!0},{key:"provisioning_status",label:"Provisioning",sortable:!0},{key:"auth0_has_hatch_site_status",label:"Permission",sortable:!0},{key:"dtc_eligible",label:"DTC",sortable:!0},{key:"stripe_account",label:"Stripe Account",sortable:!0},{key:"subscription_status",label:"Sub Status",sortable:!0},{key:"create_date",label:"Create Date",sortable:!0},{key:"agent_approval",label:"Approved"},{key:"actions",label:"",thClass:"ocs-table-actions-th"}],n=Ru().inject(),o=qn(),r=w(()=>o.props),s=w(()=>o.url),i=w(()=>{const z="https://oc.sfglife.com",N=new URL(s.value,z).searchParams,ae=N.get("sortBy"),ee=N.get("sortDesc");return{sortBy:ae,sortingOrder:ee==="true"?"desc":ee==="false"?"asc":""}}),l=w(()=>{var z,N;return((N=(z=r.value)==null?void 0:z.oc_sites)==null?void 0:N.data)||[]}),u=w(()=>l.value.map(z=>({...z,create_date:z.create_date?y_.format(new Date(z.create_date)):z.create_date}))),c=w(()=>{var z,N;return((N=(z=r.value)==null?void 0:z.oc_sites)==null?void 0:N.meta)||{}}),d=w(()=>c.value.total||l.value.length),p=M(!1),m=M([]),h=M(!1),g=M(!1),b=M(!1),y=M("new"),_=M(null),A=M(""),k=Fo({sortBy:i.value.sortBy||"",sortingOrder:i.value.sortingOrder||"",page:c.value.current_page||1,itemsPerPage:c.value.per_page||10}),E=z=>{z.keyCode===13&&I()},I=()=>{k.page=1,P()},F=()=>{const{sortingOrder:z,...N}=k,ae=z?z==="desc":null;return{search:A.value,...N,sortDesc:ae}},P=fH(()=>{p.value=!0;const z=F();Mt.get("/admin/hatchsites",z,{preserveState:!0,preserveScroll:!0,onFinish:()=>{p.value=!1}})},200);we(k,P);const B=z=>{m.value.includes(z)||(m.value=[...m.value,z])},O=z=>{const N=m.value.indexOf(z);N<0||(m.value=[...m.value.slice(0,N),...m.value.slice(N+1)])};we(h,()=>{h.value||(y.value="new",_.value=null)});const j=z=>{_.value=z,g.value=!0},G=z=>{_.value=z,b.value=!0},Q=()=>{if(!_.value)return;const{id:z,site_domain:N}=_.value;B(z),Mt.delete(`/admin/hatchsites/${z}`,{onSuccess:()=>{n.showSuccess({message:`The Hatch Site with domain <strong>${Ja(N)}</strong> has been successfully deleted.`,dangerouslyUseHtmlString:!0})},onError:ae=>{n.showError({title:`An error occurred while deleting the Hatch site with domain ${Ja(N)}`,dangerouslyUseHtmlString:!0,message:my(ae,dn)})},onFinish:()=>{O(z),P()}})},Y=()=>{if(!_.value)return;const{id:z,site_domain:N}=_.value;B(z),Mt.post(`/admin/hatchsites/${z}/reset`,{},{onSuccess:()=>{n.showSuccess({message:`The Hatch Site with domain <strong>${Ja(N)}</strong> has been successfully reset.`,dangerouslyUseHtmlString:!0})},onError:ae=>{n.showError({title:`An error occurred while resetting the Hatch site with domain ${Ja(N)}`,dangerouslyUseHtmlString:!0,message:my(ae,dn)})},onFinish:()=>{O(z),P()}})},W=w(()=>g.value?`Delete Hatch Site with domain <strong>${Ja(_.value.site_domain)}</strong>?`:void 0),re=w(()=>b.value?`Reset Hatch Site with domain <strong>${Ja(_.value.site_domain)}</strong>?`:void 0);we(g,()=>{!g.value&&!b.value&&(_.value=null)}),we(b,()=>{!b.value&&!g.value&&(_.value=null)});const oe=z=>{Mt.get(`/admin/hatchsites/${z.id}/edit`)},ne=z=>z.site_domain==="localhost"?"https://admin.myhatchsite.io":`https://${z.site_domain}`;return(z,N)=>{const ae=he("VaIcon"),ee=he("VaInput"),K=he("VaButton"),Ie=he("VaDataTable");return v(),x(de,null,[a("div",eG,[N[8]||(N[8]=a("h3",{class:"text-2xl font-bold"},[T("Quility"),a("sup",null,"®"),T(" Hatch"),a("sup",null,"™"),T(" Management")],-1)),C(ee,{modelValue:A.value,"onUpdate:modelValue":N[0]||(N[0]=fe=>A.value=fe),placeholder:"Search Hatch Site","aria-label":"Search Hatch Site",clearable:"",class:"w-full sm:w-96 max-w-[600px]",onKeydown:E,onClear:I},{prependInner:$(()=>[C(ae,{name:"icon-q-search",color:"primary"})]),_:1},8,["modelValue"])]),a("div",tG,[C(Ie,{"sort-by":k.sortBy,"onUpdate:sortBy":N[3]||(N[3]=fe=>k.sortBy=fe),"sorting-order":k.sortingOrder,"onUpdate:sortingOrder":N[4]||(N[4]=fe=>k.sortingOrder=fe),items:u.value,columns:t,loading:p.value,"items-track-by":"id",hoverable:"",striped:"","disable-client-side-sorting":"",class:"ocs-data-table"},{"cell(site_domain)":$(({rowData:fe})=>
129[C(K,{preset:"plain",href:ne(fe),target:"_blank",class:"ocs-link-button"},{default:$(()=>[T(V(fe.site_domain),1)]),_:2},1032,["href"])]),"cell(auth0_has_hatch_site_status)":$(({rowData:fe})=>[T(V(fe.auth0_has_hatch_site_status??"not activated"),1)]),"cell(dtc_eligible)":$(({rowData:fe})=>[fe.dtc_eligible?(v(),x("span",oG,[N[9]||(N[9]=a("span",null,"eligible",-1)),N[10]||(N[10]=a("span",{"aria-hidden":"true"},"|",-1)),fe.dtc_enabled?(v(),X(ae,{key:0,name:"icon-checkmark-q",color:"success","aria-label":"DTC enabled"})):(v(),X(ae,{key:1,name:"icon-x-close-q",color:"danger","aria-label":"DTC not enabled"}))])):(v(),x("span",nG," not eligible "))]),"cell(agent_approval)":$(({rowData:fe})=>[fe.agent_approval?(v(),X(ae,{key:0,name:"icon-checkmark-q",color:"success"})):D("",!0)]),"cell(actions)":$(({rowData:fe})=>[a("div",rG,[C(K,{icon:"icon-edit-q",preset:"callToAction",round:"","aria-label":"Edit",disabled:m.value.includes(fe.id),onClick:ge=>oe(fe)},null,8,["disabled","onClick"]),C(K,{icon:"icon-trash-q",color:"danger",round:"","aria-label":"Delete",disabled:m.value.includes(fe.id),onClick:ge=>j(fe)},null,8,["disabled","onClick"]),C(K,{color:"primary","text-color":"#fff",class:"bg-primary ocs-reset-button","aria-label":"Reset",disabled:m.value.includes(fe.id),onClick:ge=>G(fe)},{default:$(()=>N[11]||(N[11]=[T(" Reset ")])),_:2,__:[11]},1032,["disabled","onClick"])])]),bodyAppend:$(()=>[a("tr",null,[a("td",{colspan:t.length,class:"border-solid border-0 border-t border-medgray"},[a("div",sG,[C(Gq,{page:k.page,"items-length":d.value,"items-per-page":k.itemsPerPage,"onUpdate:page":N[1]||(N[1]=fe=>k.page=fe),"onUpdate:itemsPerPage":N[2]||(N[2]=fe=>k.itemsPerPage=fe)},null,8,["page","items-length","items-per-page"])])],8,aG)])]),_:1},8,["sort-by","sorting-order","items","loading"])]),h.value?(v(),X(ev,{key:0,modelValue:h.value,"onUpdate:modelValue":N[5]||(N[5]=fe=>h.value=fe),mode:y.value,item:_.value,onSaved:f(P)},null,8,["modelValue","mode","item","onSaved"])):D("",!0),C(Qq,{modelValue:g.value,"onUpdate:modelValue":N[6]||(N[6]=fe=>g.value=fe),title:W.value,onDelete:Q},null,8,["modelValue","title"]),C(Zq,{modelValue:b.value,"onUpdate:modelValue":N[7]||(N[7]=fe=>b.value=fe),title:re.value,onReset:Y},null,8,["modelValue","title"])],64)}}},lG={class:"py-12 px-6"},uG={__name:"OCSites",setup(e){return(t,n)=>(v(),X(df,null,{default:$(()=>[a("div",lG,[C(iG)])]),_:1}))}},cG=Object.freeze(Object.defineProperty({__proto__:null,default:uG},Symbol.toStringTag,{value:"Module"})),dG={class:"zendesk-widget-container"},fG=["disabled","title"],pG={key:1,class:"zendesk-spinner","aria-hidden":"true"},mG={key:1,class:"fixed bottom-20 right-6 bg-red-100 border border-red-400 text-red-700 px-4 py-2 rounded text-sm max-w-xs z-[9999]"},hG="37445112626715",gG="34662830922395",vG="34662826684315",yG="37445164259739",bG="37445214917147",wG={__name:"ZendeskWidget",setup(e){const t=M(!1),n=M(!1),o=M(!1),r=M(null),s=qn();w(()=>s.props.user);const i="00367603-2e4d-44ab-9965-95e5e28a6fb6",l=!1,u=async()=>(await vt.get("/my/zendesk/token")).data,c=()=>new Promise((m,h)=>{const g=document.createElement("script");g.id="ze-snippet",g.src=`https://static.zdassets.com/ekr/snippet.js?key=${i}`,g.async=!0,g.onload=m,g.onerror=()=>h(new Error("Failed to load ZenDesk script")),document.head.appendChild(g)}),d=async()=>{var m,h;try{o.value=!0,r.value=null;const{token:g,user:b}=await u();if(!g)throw new Error("No token received from server");window.zE||await c(),window.zE("messenger","hide");const y=[{id:hG,value:b.agent_code??""},{id:gG,value:b.name??""},{id:vG,value:b.email??""},{id:yG,value:b.state??""},{id:bG,value:b.npn??""}];console.log("ZenDesk conversationFields:",y),window.zE("messenger:set","conversationFields",y),window.zE("messenger","loginUser",function(_){_(g)}),window.zE("messenger:on","open",()=>{t.value=!0}),window.zE("messenger:on","close",async()=>{t.value=!1;try{const _=await u();window.zE("messenger","loginUser",function(A){A(_.token)})}catch(_){console.error("Failed to refresh ZenDesk token:",_)}}),n.value=!0}catch(g){console.error("Failed to initialize ZenDesk:",g),r.value=((h=(m=g.response)==null?void 0:m.data)==null?void 0:h.error)||g.message||"Failed to load support widget"}finally{o.value=!1}},p=()=>
129{if(!(!n.value||!window.zE))try{t.value?(window.zE("messenger","close"),window.zE("messenger","hide")):(window.zE("messenger","show"),window.zE("messenger","open"))}catch(m){console.error("Error toggling messenger:",m)}};return rt(()=>{d()}),ps(()=>{if(window.zE)try{window.zE("messenger","hide"),window.zE("messenger","close")}catch{}}),(m,h)=>(v(),x("div",dG,[r.value?D("",!0):(v(),x("button",{key:0,onClick:p,disabled:o.value||!n.value,class:xe([{"opacity-50 cursor-not-allowed":o.value||!n.value,"hover:scale-105":!o.value&&n.value,"scale-95":t.value},"zendesk-trigger-button fixed bottom-6 right-6 w-14 h-14 rounded-full bg-[#00B7FF] hover:bg-[#2BA8D9] transition-all shadow-lg flex items-center justify-center z-[9999]"]),"aria-label":"Open support chat",title:o.value?"Loading support...":"Open support chat"},[o.value?(v(),x("div",pG)):(v(),x("i",{key:0,class:xe([t.value?"icon-x-close-q":"icon-q-support","text-white text-2xl"]),"aria-hidden":"true"},null,2))],10,fG)),r.value&&f(l)?(v(),x("div",mG,[h[0]||(h[0]=a("strong",null,"Support Widget Error:",-1)),h[1]||(h[1]=a("br",null,null,-1)),T(" "+V(r.value),1)])):D("",!0)]))}},_G=Zn(wG,[["__scopeId","data-v-3fccefd7"]]),xG=["content"],SG={class:"w-full border-darkgray border-b-[1px] bg-white"},CG={class:"container pt-4 pb-4 px-4 flex justify-between gap-x-8 gap-y-4 min-h-[40px]"},kG={class:"max-w-[400px]"},$G={id:"main-content"},AG={key:0,class:"container pt-8 pb-4 px-4"},TG={class:"w-full text-base text-white bg-darkgray"},EG={class:"container py-4 px-4"},PG={class:"flex items-stretch flex-wrap sm:flex-nowrap gap-x-8 gap-y-4"},OG={class:"grow"},IG={class:"mt-1"},KS={__name:"AgentLayout",props:{title:{type:String,default:"Hatch Site Management"},disableTitle:{type:Boolean,default:!1}},setup(e){Ru().init(!0);const t=qn(),n=w(()=>{var o,r;return((r=(o=t.props)==null?void 0:o.page)==null?void 0:r.description)||""});return(o,r)=>{const s=he("VaLayout");return v(),x(de,null,[C(f(Uh),null,{default:$(()=>[r[0]||(r[0]=a("title",null,"Hatch Site Management",-1)),n.value?(v(),x("meta",{key:0,type:"description",content:n.value},null,8,xG)):D("",!0)]),_:1,__:[0]}),C(s,{top:{fixed:!0},bottom:{fixed:!0},class:"agent-layout min-h-screen bg-white"},{top:$(()=>[r[2]||(r[2]=a("div",{class:"skip-links"},[a("a",{href:"#main-content",class:"skip-link"},"Skip to Main Content")],-1)),a("header",SG,[a("div",CG,[a("div",kG,[C(f(zt),{href:"/"},{default:$(()=>r[1]||(r[1]=[a("img",{src:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/7af6853f-9084-46af-c909-8169763a1000/public",class:"logo"},null,-1)])),_:1,__:[1]})])])])]),content:$(()=>[a("main",$G,[e.disableTitle?D("",!0):(v(),x("div",AG,[a("h3",null,V(e.title),1)])),a("article",null,[se(o.$slots,"default")])])]),bottom:$(()=>[a("footer",TG,[a("div",EG,[a("div",PG,[a("div",OG,[a("p",null,[T(" Copyright © "+V(new Date().getFullYear())+" Symmetry Financial Group. All Rights Reserved. ",1),r[4]||(r[4]=a("span",{class:"text-gray"}," | ",-1)),C(f(zt),{href:"/privacy",class:"hover:underline"},{default:$(()=>r[3]||(r[3]=[T("Privacy Policy")])),_:1,__:[3]})]),a("p",IG,[C(f(zt),{href:"/release-notes",class:"hover:underline text-sm text-gray-300"},{default:$(()=>r[5]||(r[5]=[T("Release Notes")])),_:1,__:[5]})])]),r[6]||(r[6]=a("div",{class:""},[a("img",{src:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/5781aad8-8d3a-48c7-e4fc-6de48c147100/public"})],-1))])])])]),_:3}),C(_G)],64)}}},DG={class:"w-full"},MG={class:"mt-4"},RG={class:"max-h-[400px] overflow-y-auto mb-4"},LG=["onClick"],VG={class:"flex items-start"},BG=["id","value"],FG=["for"],NG={class:"flex flex-col gap-1"},zG={class:"body-15 semibold"},jG={class:"body-15 light"},UG={class:"body-15 light"},HG={key:0,class:"mb-3"},WG={class:"text-red-600"},qG={key:2,type:"button",disabled:"",class:"py-[14px] px-[16px] rounded bg-[#E4E4E4] text-[#ADADAD] cursor-not-allowed body-15 semibold"},GG=$e({__name:"CalendlyEventTypeSelector",props:{eventTypes:{type:Array,required:!0},agentCode:{type:String,default:null}},setup(e){const t=e,n=M(null),o=M(!1),r=M(""),s=M([]),i=async()=>{var l,u;if(!n.value){r.value="Please select an event type";return}try{o.value=!0,r.value="";const c={event_type_uri:n.value.uri,scheduling_url:n.value.scheduling_url};
129t.agentCode&&(c.agent_code=t.agentCode);const d=await vt.post("/my/calendar/select-event-type",c);d.data.success?window.location.href="/my/hatchsite?calendly_success=1":r.value=d.data.message||"Failed to select event type"}catch(c){console.error("Failed to select event type:",c),r.value=((u=(l=c.response)==null?void 0:l.data)==null?void 0:u.message)||"An error occurred"}finally{o.value=!1}};return(l,u)=>(v(),x("div",DG,[C(f(Ws),{modelValue:s.value,"onUpdate:modelValue":u[0]||(u[0]=c=>s.value=c),class:"w-full border-t border-[#E4E4E4]",multiple:""},{default:$(()=>[C(f(Rg),{header:"Connect Calendly to Enable Scheduling",class:"calendly-collapse"},{"header-content":$(()=>u[2]||(u[2]=[a("div",{class:"flex items-center justify-between w-full"},[a("p",{class:"va-collapse__header__text body-14 semibold px-[16px]"},"Connect Calendly to Enable Scheduling")],-1)])),content:$(()=>u[3]||(u[3]=[a("div",{class:"pt-2 pb-4 px-[16px]"},null,-1)])),_:1})]),_:1},8,["modelValue"]),a("div",MG,[u[5]||(u[5]=a("p",{class:"body-15 light mb-4"}," Your Calendly account has multiple existing event types. Please select which one you'd like to use for scheduling on your Hatch site. ",-1)),a("div",RG,[(v(!0),x(de,null,Be(e.eventTypes,(c,d)=>{var p;return v(),x("div",{key:c.uri,class:xe(["py-4 px-4 border-b border-[#E4E4E4] cursor-pointer transition-colors duration-200 first:border-t hover:bg-gray-50",{"bg-blue-50":((p=n.value)==null?void 0:p.uri)===c.uri}]),onClick:m=>n.value=c},[a("div",VG,[ca(a("input",{type:"radio",id:`event-type-${d}`,value:c,"onUpdate:modelValue":u[1]||(u[1]=m=>n.value=m),class:"w-5 h-5 mr-3 mt-0.5 cursor-pointer accent-blue-600"},null,8,BG),[[i_,n.value]]),a("label",{for:`event-type-${d}`,class:"flex-1 cursor-pointer"},[a("div",NG,[a("div",zG,V(c.name),1),a("div",jG,V(c.duration)+" minutes ",1),a("div",UG,V(c.scheduling_url),1)])],8,FG)])],10,LG)}),128))]),r.value?(v(),x("div",HG,[a("div",WG,V(r.value),1)])):D("",!0),n.value?(v(),X(f(bt),{key:1,onClick:i,loading:o.value,disabled:o.value,preset:"callToAction",color:"royalblue"},{default:$(()=>u[4]||(u[4]=[T(" Confirm Selection ")])),_:1,__:[4]},8,["loading","disabled"])):(v(),x("button",qG," Confirm Selection "))])]))}}),YG=Zn(GG,[["__scopeId","data-v-3e78b175"]]),KG={class:"ocs-form-wrapper"},QG={key:0,class:"rounded-[10px] border border-[#E5E7EB] p-[25px] bg-white mb-[3em] site-domain-card-above-tabs"},XG=["href"],JG={key:0,ref:"modalContentRef",class:"tab-content pt-[60px] min-h-[70vh]"},ZG={key:0,class:"rounded-[6px] border border-[#B42318] py-2 px-4 flex flex-row items-start gap-3 bg-[#FEE4E2] mb-4 w-full",role:"alert"},eY={class:"body-15 text-[#B42318] m-0 flex-1"},tY={class:"h-0.5 mt-4"},nY={key:0},oY={class:"actions-container profile-tab-actions"},rY=["disabled"],aY={key:1,class:"tab-content pt-[60px]"},sY={key:0,class:"rounded-[10px] border border-[#E5E7EB] p-[25px] bg-white domain-section mb-6 relative"},iY={key:0,class:"byod-setup-in-progress byod-setup-in-progress--top flex items-center gap-4 mb-[32px] w-full"},lY={key:1,class:"rounded-[6px] border border-[#934802] py-2 px-4 flex flex-row items-start gap-4 bg-[#F8EFE6] mb-[32px] w-full",role:"alert"},uY={key:0,class:"body-15 text-[#934802] m-0 flex-1"},cY={key:1,class:"body-15 text-[#934802] m-0 flex-1"},dY={key:2,class:"body-15 text-[#934802] m-0 flex-1"},fY={key:3,class:"body-15 text-[#934802] m-0 flex-1"},pY={key:2,class:"rounded-[6px] border border-[#1849A9] py-2 px-4 flex flex-row items-start gap-4 bg-[#E8EDF6] mb-[32px] w-full",role:"status"},mY={key:3,class:"body-12 text-[#707070] mb-[32px] m-0"},hY={class:"italic"},gY={key:4,class:"mb-[32px]"},vY={key:5,class:"form-item mb-[32px]"},yY={key:6,class:"mb-[32px] w-full max-w-xl"},bY={key:7,class:"rounded-[6px] border border-[#1849A9] py-2 px-4 flex flex-row items-start gap-4 bg-[#E8EDF6] mb-4 w-full relative",role:"status"},wY={class:"flex-1 min-w-0"},_Y={class:"list-disc list-inside body-15 text-[#1849A9] mb-2 font-mono"},xY={class:"accordion-content mt-[-0.75em] pb-[1em] px-[16px]"},SY={class:"code-snippet relative"},CY={class:"nameserver-list-copyable"},kY={class:"va-code-snippet body-14 text-left border-[1px] border-[#F8F8F8] rounded-[4px] py-[24px] pl-[24px] pr-[154px]"},$Y={key:1,class:"body-14 light m-0"},AY={key:0,class:"body-20 bold mb-[1em]"},TY={key:1,class:"rounded-[6px] border border-[#B42318] py-2 px-4 flex flex-row items-start gap-3 bg-[#FEE4E2] mb-4 w-full",role:"alert"},EY={class:"body-15 text-[#B42318] m-0 flex-1"},PY={key:2},OY={class:"va-collapse__header__text pb-[0.33em] px-[16px]"},IY={class:"accordion-content mt-[-0.75em] pb-[1em] px-[16px]"},DY={class:"code-snippet relative"},MY={class:"nameserver-list-copyable"},RY={class:"va-code-snippet body-14 text-left border-[1px] border-[#F8F8F8] rounded-[4px] py-[24px] pl-[24px] pr-[154px]"},LY={key:1,class:"body-14 light mb-[1em]"}
129,VY={class:"rounded-[10px] border border-[#E5E7EB] p-[25px] bg-white mb-6"},BY={class:"calendar-integration-section"},FY={key:1,class:"w-full"},NY={class:"connected-calendar-disconnect-block"},zY={class:"form-item connected-calendar-field"},jY={class:"rounded-[10px] border border-[#E5E7EB] p-[25px] bg-white lead-delivery-section mb-6 flex flex-col gap-[4px]"},UY={key:0,class:"text-gray-500"},HY={key:1,class:"text-red-500"},WY={class:"form-item lead-delivery-field"},qY={key:0,class:"body-12 italic mt-[2em]"},GY={key:3,class:"text-gray-500"},YY={class:"rounded-[10px] border border-[#E5E7EB] p-[25px] bg-white email-section"},KY={class:"dns-records-section mt-[3em] pt-[3em] border-t-[1px] border-[#E4E4E4]"},QY={key:4,class:"mb-[24px]"},XY={class:"bg-[#f8f8f8] rounded-lg p-[16px]"},JY={class:"flex gap-[16px] body-15"},ZY={class:"font-semibold"},eK={key:0,class:"font-semibold"},tK={key:1,class:"font-semibold"},nK={key:5,class:"dns-form-wrapper"},oK={class:"form-item",style:{flex:"0 0 100px"}},rK={class:"form-item",style:{flex:"0 0 100px"}},aK={class:"va-input-label body-15"},sK={class:"form-item",style:{flex:"1 1 300px"}},iK={class:"va-input-label body-15"},lK={key:0,class:"form-item",style:{flex:"0 0 120px"}},uK={class:"form-item pt-[1.5em]",style:{flex:"0 0 auto",display:"flex","align-items":"center"}},cK={class:"flex items-center justify-between w-full"},dK={key:6,class:"confirmation-screen"},fK={class:"bg-[#f8f8f8] rounded-lg p-[16px] mb-[24px]"},pK={class:"flex gap-[16px] body-15"},mK={class:"font-semibold"},hK={key:0,class:"font-semibold"},gK={key:1,class:"font-semibold"},vK={class:"h-0.5 mb-4"},yK={class:"flex gap-[16px]"},bK={class:"dns-records-section mt-[48px] pt-[48px] border-t-[1px] border-[#E4E4E4]"},wK={class:"body-15 light"},_K=["href"];const xK={class:"flex items-center justify-between w-full mb-[1em]"},SK={class:"flex justify-end gap-3"},CK={class:"flex justify-end gap-3"},kK={class:"body-16 post-live-modal__body"},$K=["href"],AK={key:1,class:"font-semibold"},TK="ocsite_form_active_tab",EK=$e({__name:"OCSiteForm",props:{item:{type:Object,required:!0},errors:{type:Object,required:!0},calendlyEventTypes:{type:Array,default:null},calendlySelect:{type:Boolean,default:!1},openAdvancedTabFromCalendly:{type:Boolean,default:!1}},setup(e){const t=qn(),n=w(()=>String(t.props.hatch_support_email??"[email protected]")),o=e,r=jh({...o.item}),s=HS({form:r,propsItem:w(()=>o.item),openAdvancedTabFromCalendly:o.openAdvancedTabFromCalendly,statusUrl:"/my/hatchsite/status",godaddyCheckUrl:"/my/godaddy/check-domain",cloudflareSetupUrl:"/my/cloudflare/setup-existing-domain",triggerDnsCheckUrl:"/my/hatchsite/trigger-dns-check",previewUrlBase:"/my/hatchsite/preview",calendlyDisconnectUrl:"/my/calendar/disconnect",persistApprovalUrl:"/my/hatchsite/approve",leadDeliveryUrl:()=>{var Xt;return(Xt=o.item)!=null&&Xt.agent_code?"/my/hatchsite/lead-delivery":""},profileImageUrl:()=>{var Xt;return(Xt=o.item)!=null&&Xt.id?`/my/hatchsite/${o.item.id}/profile-image`:""},useAgentDnsEndpoints:!0,getOriginalProfileImageUrl:()=>o.item.profile_image_url,getResetDefaults:()=>({...o.item}),getResetChangesDefaults:()=>({...o.item}),onCalendlyDisconnectSuccess:()=>{window.location.href=window.location.pathname+"?calendly_disconnected=1"}}),{rules:i,uploaded:l,errors:u,formSaving:c,profileImageError:d,dtcTcError:p,profileImageSizeError:m,dismissProfileImageSizeError:h,onProfileImageSelected:g,saveProfileImage:b,profileImageLocalPreview:y,clearProfileImage413Listener:_,profileTabFormRef:A,profileSaveSuccessVisible:k,dismissProfileSaveSuccessAlert:E,showProfileSaveSuccessAlert:I,instructionsContainer:F,effectiveOcSite:P,displayNameservers:B,nameserversFromDb:O,storeCloudflareNameservers:j,handleDomainConfigured:G,dismissPostLiveModal:Q,persistAgentApproval:Y,showPostLiveModal:W,startProvisioningPoll:re,stopProvisioningPoll:oe,showByodSetupInProgress:ne,byodAwaitingDnsVerification:z,byodDnsVerifiedNotLive:N,byodShowTopSetupProgressBar:ae,byodContinueLoading:ee,byodSelected:K,byodPendingDomain:Ie,byodPrecheckLoading:fe,showByodConfirmModal:ge,domainChoiceOverride:Fe,registerDomainPrefill:ye,byodInlineAlertMessage:ce,byodDifferBannerDismissed:Re,byodVerifyDnsThrottledThisSession:Ce,byodPhaseAShowPostVerifyDnsMessage:De,byodDnsBannerMessage:ot,byodPhaseABannerDismissed:U,byodPhaseBBannerDismissed:Z,dnsCheckLoading:pe,byodDnsLastCheckedFormatted:le,byodDifferBanner:L,byodVerifyDomainButtonDisabled:ie,onDomainOptionSelected:me,switchToRegisterNew:Te,onByodUseDomain:be,handleByodConfirmAction:Ee,clearVerifyDnsThrottleTimer:_e,triggerDnsCheck:Se,dismissByodInlineAlert:Oe,dismissByodPhaseABanner:je,dismissByodPhaseBBanner:qe,BYOD_PHASE_A_POST_VERIFY_DNS_COPY:ft,f
129ileSrc:st,disableSave:wt,showSiteDomainCardAboveTabs:Ot,stripePaymentUrl:jt,value:Tt,applyTabFromItem:cn,collapseState:qt,byodInProgressAccordionState:pt,openForm:Dt,copiedNameserver:gn,calendlyDisconnecting:vn,showDisconnectModal:Cn,trim:Bn,formatPhoneNumber:Gn,clearImage:Yn,resetForm:io,handleResetChanges:wo,prepareSave:Rt,handleSaveError:kn,handleSaveFinish:Rn,handlePreview:Pe,copyNameserver:et,handleToggle:it,dnsRecords:_t,dnsRecordsLoading:_n,dnsRecordsLoaded:an,dnsRecordsError:$n,showDnsConfirmation:Qt,dnsFormData:_o,dnsSaving:lo,recordTypes:Zo,loadDnsRecords:Fn,addDnsRecord:mr,removeDnsRecord:en,handleDnsSave:Oo,confirmDnsUpdate:Io,cancelDnsUpdate:Ho,leadDeliveryLoading:Ge,leadDeliveryError:J,leadDeliveryDestination:Ae,leadDeliveryDisplayValue:Ue,leadDeliveryLastSyncedFormatted:kt,fetchLeadDelivery:fn,showCalendlyDisconnectModal:Lt,cancelCalendlyDisconnect:sn,handleCalendlyDisconnect:pn}=s;w(()=>"Edit My Hatch Site"),we(Tt,Xt=>{typeof sessionStorage<"u"&&sessionStorage.setItem(TK,String(Xt))},{immediate:!1}),we(()=>o.item,()=>{Object.keys(o.errors).length||io()});const Kn=()=>{const Xt=Rt();Xt&&(Xt._method="put",c.value=!0,Mt.post(`/my/hatchsite/${r.id}`,Xt,{preserveState:!0,preserveScroll:!0,forceFormData:!0,onSuccess:()=>{l.value=void 0;const H=Mt.reload({only:["oc_sites"]}),yn=()=>{var Nn;I(),(Nn=o.item)!=null&&Nn.agent_approval||(Tt.value=1),Ct(()=>{window.scrollTo({top:0,behavior:"smooth"})})};H!=null&&H.then?H.then(yn):yn()},onError:kn,onFinish:Rn}))};return rt(()=>{var H,yn,Nn,er;(((H=o.item)==null?void 0:H.provisioning_status)||"").toLowerCase()==="live"&&!((yn=o.item)!=null&&yn.agent_approval)&&Ct(()=>{W.value=!0}),(Nn=o.item)!=null&&Nn.id&&o.item.id!=="new"&&!((er=o.item)!=null&&er.agent_approval)&&re(),Ct(()=>{cn(o.item),o.openAdvancedTabFromCalendly&&(Tt.value=1)}),fn()}),ps(()=>{oe(),_e(),_(),E()}),(Xt,H)=>{var to,Do;const yn=he("VaAlert"),Nn=he("VaTab"),er=he("VaForm"),Wo=he("VaProgressBar"),mn=he("VaButton"),hr=he("VaPopover"),Ln=he("VaInput"),eo=he("VaCollapse"),uo=he("VaSelect"),gr=he("font-awesome-icon"),co=he("VaModal");return v(),x(de,null,[a("div",KG,[f(Ot)?(v(),x("div",QG,[H[17]||(H[17]=a("h3",{class:"body-16 bold text-[#222222] mb-0"},"Site Domain",-1)),a("a",{href:"https://"+(((to=f(P))==null?void 0:to.site_domain)||""),target:"_blank",rel:"noopener noreferrer",class:"body-16 text-royalblue underline mt-[14px] inline-block"},V((Do=f(P))==null?void 0:Do.site_domain),9,XG)])):D("",!0),f(k)?(v(),X(yn,{key:1,color:"success",class:"w-full mb-[2em] ocs-profile-save-success-alert",closeable:"",onClose:f(E)},{default:$(()=>H[18]||(H[18]=[a("div",{class:"flex items-center"},[a("i",{class:"icon icon-checkmark-q mr-3 text-[#08623C] body-25","aria-hidden":"true"}),a("span",{class:"body-15 text-[#08623C]"},"Your profile changes have been saved.")],-1)])),_:1,__:[18]},8,["onClose"])):D("",!0),C(f(Gg),{modelValue:f(Tt),"onUpdate:modelValue":H[10]||(H[10]=gt=>mt(Tt)?Tt.value=gt:null)},{tabs:$(()=>[(v(),x(de,null,Be(["Profile","Advanced Settings"],gt=>C(Nn,{key:gt},{default:$(()=>[T(V(gt),1)]),_:2},1024)),64))]),default:$(()=>{var gt,We,q;return[f(Tt)==0?(v(),x("div",JG,[f(m)?(v(),x("div",ZG,[H[20]||(H[20]=a("span",{class:"shrink-0 inline-flex w-5 h-5 items-center justify-center mt-0.5","aria-hidden":"true"},[a("svg",{class:"w-5 h-5",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[a("circle",{cx:"10",cy:"10",r:"8.333",stroke:"#B42318","stroke-width":"1.667"}),a("path",{d:"M10 6.67V10.42",stroke:"#B42318","stroke-width":"1.667","stroke-linecap":"round"}),a("circle",{cx:"10",cy:"13.33",r:"0.833",fill:"#B42318"})])],-1)),a("p",eY,V(f(m)),1),a("button",{type:"button",class:"shrink-0 text-[#B42318] hover:opacity-70","aria-label":"Dismiss alert",onClick:H[0]||(H[0]=(...Le)=>f(h)&&f(h)(...Le))},H[19]||(H[19]=[a("i",{class:"icon icon-close-q body-18"},null,-1)]))])):D("",!0),C(er,{ref:"ocsFormRef"},{default:$(()=>[C(NS,{ref_key:"profileTabFormRef",ref:A,form:f(r),rules:f(i),"file-src":f(st),uploaded:f(l),"profile-image-error":f(d),"dtc-tc-error":f(p),"agent-code-disabled":!0,"save-profile-image":f(b),"profile-image-local-preview":f(y),"onUpdate:uploaded":f(g),onClearImage:f(Yn),onTrim:f(Bn),onFormatPhone:f
129(Gn)},null,8,["form","rules","file-src","uploaded","profile-image-error","dtc-tc-error","save-profile-image","profile-image-local-preview","onUpdate:uploaded","onClearImage","onTrim","onFormatPhone"])]),_:1},512),a("div",tY,[f(c)?(v(),X(Wo,{key:0,indeterminate:"",size:2})):D("",!0)]),f(u).length?(v(),X(yn,{key:1,preset:"errors",class:"w-full my-4"},{default:$(()=>[a("div",null,[(v(!0),x(de,null,Be(f(u),(Le,xt)=>(v(),x(de,{key:Le.label},[a("span",null,[a("strong",null,V(Le.label),1),T(": "+V(Le.value),1)]),xt<f(u).length-1?(v(),x("br",nY)):D("",!0)],64))),128))])]),_:1})):D("",!0),a("div",oY,[C(mn,{preset:"callToAction",color:"royalblue",class:"profile-tab-actions__save",disabled:f(wt),onClick:Kn},{default:$(()=>H[21]||(H[21]=[T(" Save Changes ")])),_:1,__:[21]},8,["disabled"]),C(hr,{placement:"right","auto-placement":!0,color:"info"},{body:$(()=>H[23]||(H[23]=[a("p",null,"Preview your unsaved changes in a new browser tab.",-1)])),default:$(()=>[C(mn,{preset:"whiteAlt",color:"royalblue",class:"profile-tab-actions__preview",disabled:f(wt),onClick:f(Pe)},{default:$(()=>H[22]||(H[22]=[T(" Preview Changes ")])),_:1,__:[22]},8,["disabled","onClick"])]),_:1}),a("button",{type:"button",class:xe(["profile-tab-actions__reset body-16",{"profile-tab-actions__reset--active":f(r).isDirty||f(l)}]),disabled:!f(r).isDirty&&!f(l),onClick:H[1]||(H[1]=(...Le)=>f(wo)&&f(wo)(...Le))}," Reset Changes ",10,rY)])],512)):D("",!0),f(Tt)==1?(v(),x("div",aY,[f(Ot)?D("",!0):(v(),x("div",sY,[H[70]||(H[70]=a("h3",{class:"body-25 bold mb-[1em]"},"Domain Setup",-1)),f(ne)?(v(),x(de,{key:0},[f(ae)?(v(),x("div",iY,[C(Wo,{indeterminate:"",size:4,class:"flex-1 min-w-0"}),H[24]||(H[24]=a("span",{class:"body-15 text-[#6B7280] shrink-0"},"Setup in Progress",-1))])):D("",!0),f(z)&&!f(U)?(v(),x("div",lY,[H[27]||(H[27]=a("span",{class:"shrink-0 inline-flex w-5 h-5 items-center justify-center mt-0.5 text-[#934802]","aria-hidden":"true"},[a("i",{class:"icon icon-alert-triangle-q body-20"})],-1)),f(Ce)?(v(),x("p",uY," We just checked your nameservers. Verification is temporarily disabled — please try again after a few minutes. ")):f(ot)?(v(),x("p",cY,V(f(ot)),1)):f(De)?(v(),x("p",dY,V(f(ft)),1)):(v(),x("p",fY,H[25]||(H[25]=[T(" We're checking that your nameservers point to Hatch. This can take a little while after you update them at your registrar. Use "),a("strong",null,"Verify Domain",-1),T(" after you've saved your nameserver changes. ")]))),a("button",{type:"button",class:"shrink-0 text-[#934802] hover:opacity-70","aria-label":"Dismiss alert",onClick:H[2]||(H[2]=(...Le)=>f(je)&&f(je)(...Le))},H[26]||(H[26]=[a("i",{class:"icon icon-close-q body-18"},null,-1)]))])):f(N)&&!f(Z)?(v(),x("div",pY,[H[29]||(H[29]=a("span",{class:"shrink-0 inline-flex w-5 h-5 items-center justify-center mt-0.5","aria-hidden":"true"},[a("i",{class:"icon icon-info-circle-q text-[#1849A9] body-20"})],-1)),H[30]||(H[30]=a("p",{class:"body-15 text-[#1849A9] m-0 flex-1"}," Great news! Your nameservers are updated. We're now setting up your Hatch website. Check back again soon to see your live site. ",-1)),a("button",{type:"button",class:"shrink-0 text-[#1849A9] hover:opacity-70","aria-label":"Dismiss alert",onClick:H[3]||(H[3]=(...Le)=>f(qe)&&f(qe)(...Le))},H[28]||(H[28]=[a("i",{class:"icon icon-close-q body-18"},null,-1)]))])):D("",!0),f(z)&&f(le)?(v(),x("p",mY,[H[31]||(H[31]=T(" Last checked: ")),a("span",hY,V(f(le)),1)])):D("",!0),f(z)?(v(),x("div",gY,[C(mn,{preset
129:"royal",class:"body-16 py-[7px] inline-block w-fit border-2",disabled:f(ie),onClick:f(Se)},{default:$(()=>H[32]||(H[32]=[T(" Verify Domain ")])),_:1,__:[32]},8,["disabled","onClick"])])):D("",!0),f(z)||f(N)?(v(),x("div",vY,[C(Ln,{"model-value":((gt=f(P))==null?void 0:gt.site_domain)||"",label:f(dn).site_domain,disabled:!0,class:"w-full",readonly:""},null,8,["model-value","label"])])):D("",!0),f(z)&&f(pe)?(v(),x("div",yY,[C(Wo,{indeterminate:"",size:4,class:"w-full"})])):D("",!0),f(L).show&&!f(Re)?(v(),x("div",bY,[H[36]||(H[36]=a("span",{class:"shrink-0 inline-flex w-5 h-5 items-center justify-center mt-0.5","aria-hidden":"true"},[a("i",{class:"icon icon-info-circle-q text-[#1849A9] body-20"})],-1)),a("div",wY,[H[33]||(H[33]=a("p",{class:"body-15 text-[#1849A9] mb-2"},[a("strong",null,"Please update your nameservers at your registrar to these values:")],-1)),a("ul",_Y,[(v(!0),x(de,null,Be(f(L).list,Le=>(v(),x("li",{key:Le},V(Le),1))),128))]),H[34]||(H[34]=a("p",{class:"body-15 text-[#1849A9] m-0"},[T("See the "),a("strong",null,"How to Point Your Domain to Cloudflare Nameservers"),T(" accordion below for step-by-step instructions.")],-1))]),a("button",{type:"button",class:"shrink-0 p-1 text-[#1849A9] hover:opacity-70","aria-label":"Dismiss",onClick:H[4]||(H[4]=Le=>Re.value=!0)},H[35]||(H[35]=[a("i",{class:"icon icon-close-q body-18"},null,-1)]))])):D("",!0),C(f(Ws),{id:"byod-setup-accordion",modelValue:f(pt),"onUpdate:modelValue":H[5]||(H[5]=Le=>mt(pt)?pt.value=Le:null),class:"w-full mt-[32px]",multiple:""},{default:$(()=>[C(eo,{header:"Connect Your Domain to Hatch",class:"py-[0.33em]"},{"header-content":$(()=>H[37]||(H[37]=[a("p",{class:"va-collapse__header__text pb-[0.33em] px-[16px]"},"Connect Your Domain to Hatch",-1)])),content:$(()=>H[38]||(H[38]=[a("div",{class:"accordion-content mt-[-0.75em] pb-[1em] px-[16px]"},[a("p",{class:"body-14 light m-0 mb-[1em]"},"Because you already own this domain, you'll need to update your nameservers where your domain is registered. This lets Hatch launch your website at the address you own."),a("p",{class:"body-14 light m-0"},"Nameserver updates typically take 30 minutes to two days to complete. Hatch will automatically check for the update during the first 24 hours. After that, please manually verify the nameserver update on this page.")],-1)])),_:1}),C(eo,{header:"How to Point Your Domain to Cloudflare Nameservers",class:"py-[0.33em]"},{"header-content":$(()=>H[39]||(H[39]=[a("p",{class:"va-collapse__header__text pb-[0.33em] px-[16px]"},"How to Point Your Domain to Cloudflare Nameservers",-1)])),content:$(()=>[a("div",xY,[f(O)?(v(),x(de,{key:0},[H[41]||(H[41]=a("p",{class:"body-14 light mb-[1em]"},"To connect your registered domain to your Hatch Site, you'll need to update your domain's nameservers so they point to the Hatch Cloudflare account. Follow the steps below to complete the connection, regardless of where your domain is registered.",-1)),H[42]||(H[42]=a("p",{class:"body-14 bold mb-[1em]"},"What You'll Need",-1)),H[43]||(H[43]=a("ul",{class:"body-14 light list-disc list-outside pl-[18px]"},[a("li",{class:"mb-[0.5rem]"},"Access to your domain registrar (the provider where you purchased your domain)"),a("li",{class:"mb-[0.5rem]"},"Your Hatch Site Cloudflare nameservers")],-1)),H[44]||(H[44]=a("p",{class:"body-14 light mb-[1em]"},"Your Cloudflare nameservers are listed below. Copy both values and replace your current nameservers at your registrar.",-1)),H[45]||(H[45]=a("p",{class:"body-14 bold mb-[1em]"},"IMPORTANT: You'll need to copy and replace both nameserver values at your registrar.",-1)),a("div",SY,[a("ul",CY,[(v(!0),x(de,null,Be(f(B),Le=>(v(),x("li",{key:Le,class:"relative"}
129,[C(mn,{preset:"whiteAlt",class:"nameserver-copy-btn border-2 absolute right-[24px] top-[10px]",onClick:xt=>f(et)(Le)},{default:$(()=>[H[40]||(H[40]=a("i",{class:"icon icon-copy-q"},null,-1)),T(" "+V(f(gn)===Le?"Copied!":"Copy"),1)]),_:2,__:[40]},1032,["onClick"]),a("pre",kY,[a("span",null,V(Le),1)])]))),128))])]),H[46]||(H[46]=a("p",{class:"body-14 bold mt-[1.5em] mb-[1em]"},"How to Update Your Nameservers",-1)),H[47]||(H[47]=a("ol",{class:"body-14 light list-decimal list-outside pl-[18px]"},[a("li",{class:"mb-[0.5rem]"},"Log in to your domain registrar. This is where you purchased your domain (e.g. GoDaddy, Namecheap, Google Domains)."),a("li",{class:"mb-[0.5rem]"},[T("Go to your DNS or domain management area. This may be labeled as: "),a("ul",{class:"mt-[0.5rem] body-14 light list-disc list-outside pl-[18px]"},[a("li",{class:"mb-[0.5rem]"},'"DNS Settings"'),a("li",{class:"mb-[0.5rem]"},'"Manage DNS"'),a("li",{class:"mb-[0.5rem]"},'"Domain Settings"'),a("li",{class:"mb-[0.5rem]"},'"Nameservers"')])]),a("li",{class:"mb-[0.5rem]"},[T("Replace both existing nameservers with your Cloudflare-provided values. "),a("ul",{class:"mt-[0.5rem] body-14 light list-disc list-outside pl-[18px]"},[a("li",{class:"mb-[0.5rem]"},"Enter each Cloudflare nameserver exactly as given. Make sure there are no extra spaces or characters."),a("li",{class:"mb-[0.5rem]"},"Delete all other nameservers.")])]),a("li",{class:"mb-[0.5rem]"},'Save your changes. Click "Save," "Confirm" or "Update" depending on your registrar.'),a("li",{class:"mb-[0.5rem]"},"Allow time for DNS propagation. Updates typically apply within minutes but may take up to 48 hours to fully propagate.")],-1)),H[48]||(H[48]=a("p",{class:"body-14 bold mt-[1.5em] mb-[1em]"},"How-To Guides for Common Registrars",-1)),H[49]||(H[49]=a("p",{class:"body-14 light mb-[1em]"},"Below are direct links to registrar-specific instructions for updating nameservers:",-1)),H[50]||(H[50]=a("p",{class:"body-14 light mb-[0.5rem]"},[a("a",{href:"https://www.godaddy.com/help/change-nameservers-for-my-domains-664",target:"_blank",rel:"noopener noreferrer",class:"text-royalblue underline"},"GoDaddy")],-1)),H[51]||(H[51]=a("p",{class:"body-14 light mb-[0.5rem]"},[a("a",{href:"https://www.namecheap.com/support/knowledgebase/article.aspx/767/10/how-to-change-dns-for-a-domain/",target:"_blank",rel:"noopener noreferrer",class:"text-royalblue underline"},"Namecheap")],-1)),H[52]||(H[52]=a("p",{class:"body-14 light mb-[0.5rem]"},[a("a",{href:"https://support.squarespace.com/hc/en-us/articles/4404183898125-Making-changes-to-nameservers",target:"_blank",rel:"noopener noreferrer",class:"text-royalblue underline"},"Squarespace")],-1)),H[53]||(H[53]=a("p",{class:"body-14 light mb-[0.5rem]"},[a("a",{href:"https://www.bluehost.com/help/article/custom-nameservers",target:"_blank",rel:"noopener noreferrer",class:"text-royalblue underline"},"Bluehost")],-1))],64)):(v(),x("p",$Y,"Hatch is requesting your Cloudflare nameservers now. This section will unlock automatically once they are returned and saved."))])]),_:1})]),_:1},8,["modelValue"])],64)):(v(),x(de,{key:1},[(We=o.item)!=null&&We.agent_approval?D("",!0):(v(),x("h4",AY,"Choose a Domain Name")),f(ce)?(v(),x("div",TY,[H[55]||(H[55]=a("span",{class:"shrink-0 inline-flex w-5 h-5 items-center justify-center mt-0.5","aria-hidden":"true"},[a("svg",{class:"w-5 h-5",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[a("circle",{cx:"10",cy:"10",r:"8.333",stroke:"#B42318","stroke-width":"1.667"}),a("path",{d:"M10 6.67V10.42",stroke:"#B42318","stroke-width":"1.667","stroke-linecap":"round"}),a("circle",{cx:"10",cy:"13.33",r:"0.833",fill:"#B42318"})])],-1)),a("p",EY,V(f(ce)),1),a("button",{type:"button",class:"shrink-0 text-[#B42318] hover:opacity-70","aria-label":"Dismiss alert",onClick:H[6]||(H[6]=(...Le)=>f(Oe)&&f(Oe)(...Le))},H[54]||(H[54]=[a("i",{class:"icon icon-close-q body-18"},null,-1)]))])):D("",!0),(q=o.item)!=null&&q.agent_approval?D("",!0):(v(),x("div",PY,[C(CS,{admin:!1,"agent-code":o.item.agent_code,"forced-selected-option":f(Fe),"register-domain-prefill":f(ye),"byod-checking":f(fe),"oc-site":f(P),onNameserversRetrieved:f(j),onRequestToggle:f(it),onDomainConfigured:f(G),onSelectedOption:f(me),onByodUseDomain:f(be),onRegisterProvisioningStarted:H[7]||(H[7]=Le=>ce.value="")},null,8,["agent-code","forced-selected-option","register-domain-prefill","byod-checking","oc-site","onNameserversRetrieved","onRequestToggle","onDomainConfigured","onSelectedOption","onByodUseDomain"])])),f(K)?(v(),x("div",{key:3,id:"ns-instructions-byod",ref_key:"instructionsContainer",ref:F,class:"dns-instructions relative mt-[1.5em] border-t-[1px] border-[#
129E4E4E4]"},[C(f(Ws),{modelValue:f(qt),"onUpdate:modelValue":H[8]||(H[8]=Le=>mt(qt)?qt.value=Le:null),class:"w-full",multiple:""},{default:$(()=>[(v(),x(de,null,Be(["How to Point Your Domain to Cloudflare Nameservers"],Le=>C(eo,{key:Le,header:Le,class:"py-[0.33em]"},{"header-content":$(()=>[a("p",OY,V(Le),1)]),content:$(()=>[a("div",IY,[H[59]||(H[59]=a("p",{class:"body-14 light mb-[1em]"},"To connect your registered domain to your Hatch Site, you'll need to update your domain's nameservers so they point to the Hatch Cloudflare account. Follow the steps below to complete the connection, regardless of where your domain is registered.",-1)),H[60]||(H[60]=a("p",{class:"body-14 bold mb-[1em]"},"What You'll Need",-1)),H[61]||(H[61]=a("ul",{class:"body-14 light list-disc list-outside pl-[18px]"},[a("li",{class:"mb-[0.5rem]"},"Access to your domain registrar (the provider where you purchased your domain)"),a("li",{class:"mb-[0.5rem]"},"Your Hatch Site Cloudflare nameservers")],-1)),f(O)?(v(),x(de,{key:0},[H[57]||(H[57]=a("p",{class:"body-14 light mb-[1em]"},"Your Cloudflare nameservers are listed below. Copy both values and replace your current nameservers at your registrar.",-1)),H[58]||(H[58]=a("p",{class:"body-14 bold mb-[1em]"},"IMPORTANT: You'll need to copy and replace both nameserver values at your registrar.",-1)),a("div",DY,[a("ul",MY,[(v(!0),x(de,null,Be(f(B),xt=>(v(),x("li",{key:xt,class:"relative"}
129,[C(mn,{preset:"whiteAlt",class:"nameserver-copy-btn border-2 absolute right-[24px] top-[10px]",onClick:Vt=>f(et)(xt)},{default:$(()=>[H[56]||(H[56]=a("i",{class:"icon icon-copy-q"},null,-1)),T(" "+V(f(gn)===xt?"Copied!":"Copy"),1)]),_:2,__:[56]},1032,["onClick"]),a("pre",RY,[a("span",null,V(xt),1)])]))),128))])])],64)):(v(),x("p",LY,"Your Cloudflare nameserver values will appear here after you continue and Hatch finishes creating your Cloudflare zone.")),H[62]||(H[62]=a("p",{class:"body-14 bold mt-[1.5em] mb-[1em]"},"How to Update Your Nameservers",-1)),H[63]||(H[63]=a("ol",{class:"body-14 light list-decimal list-outside pl-[18px]"},[a("li",{class:"mb-[0.5rem]"},"Log in to your domain registrar. This is where you purchased your domain (e.g. GoDaddy, Namecheap, Google Domains)."),a("li",{class:"mb-[0.5rem]"},[T("Go to your DNS or domain management area. This may be labeled as: "),a("ul",{class:"mt-[0.5rem] body-14 light list-disc list-outside pl-[18px]"},[a("li",{class:"mb-[0.5rem]"},'"DNS Settings"'),a("li",{class:"mb-[0.5rem]"},'"Manage DNS"'),a("li",{class:"mb-[0.5rem]"},'"Domain Settings"'),a("li",{class:"mb-[0.5rem]"},'"Nameservers"')])]),a("li",{class:"mb-[0.5rem]"},[T("Replace both existing nameservers with your Cloudflare-provided values. "),a("ul",{class:"mt-[0.5rem] body-14 light list-disc list-outside pl-[18px]"},[a("li",{class:"mb-[0.5rem]"},"Enter each Cloudflare nameserver exactly as given. Make sure there are no extra spaces or characters."),a("li",{class:"mb-[0.5rem]"},"Delete all other nameservers.")])]),a("li",{class:"mb-[0.5rem]"},'Save your changes. Click "Save," "Confirm" or "Update" depending on your registrar.'),a("li",{class:"mb-[0.5rem]"},"Allow time for DNS propagation. Updates typically apply within minutes but may take up to 48 hours to fully propagate.")],-1)),H[64]||(H[64]=a("p",{class:"body-14 bold mt-[1.5em] mb-[1em]"},"How-To Guides for Common Registrars",-1)),H[65]||(H[65]=a("p",{class:"body-14 light mb-[1em]"},"Below are direct links to registrar-specific instructions for updating nameservers:",-1)),H[66]||(H[66]=a("p",{class:"body-14 light mb-[0.5rem]"},[a("a",{href:"https://www.godaddy.com/help/change-nameservers-for-my-domains-664",target:"_blank",rel:"noopener noreferrer",class:"text-royalblue underline"},"GoDaddy")],-1)),H[67]||(H[67]=a("p",{class:"body-14 light mb-[0.5rem]"},[a("a",{href:"https://www.namecheap.com/support/knowledgebase/article.aspx/767/10/how-to-change-dns-for-a-domain/",target:"_blank",rel:"noopener noreferrer",class:"text-royalblue underline"},"Namecheap")],-1)),H[68]||(H[68]=a("p",{class:"body-14 light mb-[0.5rem]"},[a("a",{href:"https://support.squarespace.com/hc/en-us/articles/4404183898125-Making-changes-to-nameservers",target:"_blank",rel:"noopener noreferrer",class:"text-royalblue underline"},"Squarespace")],-1)),H[69]||(H[69]=a("p",{class:"body-14 light mb-[0.5rem]"},[a("a",{href:"https://www.bluehost.com/help/article/custom-nameservers",target:"_blank",rel:"noopener noreferrer",class:"text-royalblue underline"},"Bluehost")],-1))])]),_:2},1032,["header"])),64))]),_:1},8,["modelValue"])],512)):D("",!0)],64))])),a("div",VY,[H[73]||(H[73]=a("h3",{class:"body-25 bold mb-[1.5em]"},"Scheduling Link",-1)),a("div",BY,[e.calendlySelect&&e.calendlyEventTypes?(v(),X(YG,{key:0,"event-types":e.calendlyEventTypes,"agent-code":f(r).agent_code},null,8,["event-types","agent-code"])):f(r).calendar_url?(v(),x("div",FY,[a("div",NY,[a("div",zY,[C(Ln,{"model-value":f(r).calendar_url,label:"Connected Calendar URL",disabled:!0,class:"w-full"},{appendInner:$(()=>H[71]||(H[71]=[a("i",{class:"icon icon-checkmark-q text-green-600"},null,-1)])),_:1},8,["model-value"])]),H[72]||(H[72]=a("p",{class:"body-12 light mt-[0.5em]"}," To update your scheduling link you must disconnect Calendly and follow the connection process again. ",-1)),a("a",{href:"#",class:xe(["body-15 semibold underline cursor-pointer mt-[1em] inline-block disconnect-calendly-link",{"opacity-50 pointer-events-none":f(vn)}]),onClick:H[9]||(H[9]=He((...Le)=>f(Lt)&&f(Lt)(...Le),["prevent"]))},V(f(vn)?"Disconnecting...":"Disconnect Calendly"),3)])])):(v(),X(zS,{key:2,"agent-code":f(r).agent_c
129ode},null,8,["agent-code"]))])]),a("div",jY,[H[75]||(H[75]=a("h3",{class:"body-25 bold mb-[1.5em]"},"Lead Delivery Destination",-1)),f(Ge)?(v(),x("div",UY,"Loading lead delivery info...")):f(J)?(v(),x("div",HY,V(f(J)),1)):f(Ae)?(v(),x(de,{key:2},[a("div",WY,[C(Ln,{"model-value":f(Ue),label:"Delivery Destination",disabled:!0},null,8,["model-value"])]),f(kt)?(v(),x("p",qY,"Last synced: "+V(f(kt)),1)):D("",!0),H[74]||(H[74]=a("p",{class:"body-15 mt-[2em]"},[T("Email "),a("a",{href:"mailto:[email protected]",class:"text-royalblue underline"},"[email protected]"),T(" to change delivery destination.")],-1))],64)):(v(),x("div",GY,"No lead delivery information available."))]),a("div",YY,[H[94]||(H[94]=a("h3",{class:"body-25 bold mb-[1em]"},"Email",-1)),H[95]||(H[95]=a("p",{class:"body-15 light mb-[1em]"},[a("span",{class:"bold"},"Please note:"),T(" Quility"),a("sup",null,"®"),T(" Hatch"),a("sup",null,"™"),T(" does not include email hosting.")],-1)),H[96]||(H[96]=a("p",{class:"body-15 light mb-[1em]"},"For professional communication, deliverability, security, and scalability, we recommend using an enterprise-level email provider such as Google Workspace or Microsoft 365. These services offer advanced spam filtering, mobile access, calendar integration, and reliable uptime that free or personal email services can't match. In addition, having email that matches your domain (like [email protected]) builds trust with your clients and helps ensure your messages are not flagged as spam.",-1)),H[97]||(H[97]=a("p",{class:"body-15 light mb-[1em] semibold"},"Suggested email providers:",-1)),H[98]||(H[98]=a("ul",null,[a("li",{class:"body-15 light mb-[1em] ml-[1em]"},[T("Google workspace: "),a("a",{href:"https://workspace.google.com/",target:"_blank",rel:"noopener noreferrer",class:"text-royalblue underline"},"https://workspace.google.com/")]),a("li",{class:"body-15 light mb-[1em] ml-[1em]"},[T("Microsoft 365: "),a("a",{href:"https://www.office.com/?omkt=en-001",target:"_blank",rel:"noopener noreferrer",class:"text-royalblue underline"},"https://www.office.com/")])],-1)),C(eo,{"model-value":f(Dt),class:"pt-[0.33em] email-support"},{content:$(()=>H[76]||(H[76]=[a("p",{class:"body-15 light mb-[1em]"},[T("For email setup assistance, please contact support at "),a("a",{href:"mailto:[email protected]",class:"text-primary"},"[email protected]")],-1)])),_:1},8,["model-value"]),a("div",KY,[H[90]||(H[90]=a("h3",{class:"body-25 bold mb-[24px]"},"DNS Record Management For Email",-1)),H[91]||(H[91]=a("p",{class:"body-15 light mb-[24px]"},"Configure MX (Mail Exchange), TXT, and CNAME records for your domain. MX records set up email routing, TXT records can be used for domain verification and email authentication (SPF, DKIM, DMARC), and CNAME records are often used for services like autodiscover or DKIM. Check with your email provider for your specific values. ",-1)),f(an)?D("",!0):(v(),X(mn,{key:0,preset:"secondary",onClick:f(Fn),class:"mb-[24px]"},{default:$(()=>H[77]||(H[77]=[T(" Check/Edit Current DNS Records ")])),_:1,__:[77]},8,["onClick"])),f(_n)?(v(),X(Wo,{key:1,indeterminate:"",class:"mb-[24px]"})):D("",!0),f($n)?(v(),X(yn,{key:2,color:"danger",class:"mb-[24px]"},{default:$(()=>[T(V(f($n)),1)]),_:1})):D("",!0),f(an)&&f(_t).length===0&&!f(_n)&&!f($n)?(v(),X(yn,{key:3,color:"info",class:"mb-[24px]"},{default:$(()=>[T(" There are no current MX, TXT, or CNAME records for "+V(f(r).site_domain)+". ",1)]),_:1})):D("",!0),f(an)&&f(_t).length>0&&!f(Qt)?(v(),x("div",QY,[H[79]||(H[79]=a("h4",{class:"body-20 bold mb-[12px]"},"Current MX, TXT, and CNAME Records:",-1)),a("div",XY,[(v(!0),x(de,null,Be(f(_t),(Le,xt)=>(v(),x("div",{key:xt,class:"mb-[8px] last:mb-0"},[a("div",JY,[a("span",ZY,"Type: "+V(Le.type),1),Le.type==="CNAME"&&Le.name?(v(),x("span",eK,"| Name: "+V(Le.name),1)):D("",!0),Le.priority?(v(),x("span",tK,"| Priority: "+V(Le.priority),1)):D("",!0),H[78]||(H[78]=a("span",null,"→",-1)),a("span",null,V(Le.content),1)])]))),128))])])):D("",!0),f(an)&&!f(_n)&&!f(Qt)?(v(),x("div",nK,[H[84]||(H[84]=a("h4",{class:"body-20 bold mb-[16px]"},"Update Records:",-1)),(v(!0),x(de,null,Be(f(_o),(Le,xt)=>(v(),x("div",{key:xt,class:"form-row mb-[16px] items-end"},[a("div",oK,[H[80]||(H[80]=a("label",{class:"va-input-label body-15"},"Type *",-1)),C(uo,{modelValue:Le.type,"onUpdate:modelValue":Vt=>Le.type=Vt,options:f(Zo),class:"w-full"},null,8,["modelValue","onUpdate:modelValue","options"])]),a("div",rK,[a("label",aK,"Name"+V(Le.type==="CNAME"?" *":""),1),C(Ln,{modelValue:Le.name,"onUpdate:modelValue":Vt=>Le.name=Vt,placeholder:Le.type==="CNAME"?"autodiscover":"@",class:"w-full"},null,8,["modelValue","onUpdate:modelValue","placeholder"])]),a("div",sK,[a("label",iK,V(Le.type==="MX"?"Mail Server":Le.type==="CNAME"?"Target":"Content")+" *",1),C(Ln,{modelValue:Le.content,"onUpdate:modelValue":Vt=>Le.content=Vt,placeholder:Le.type==="MX"?"mail.example.com":Le.type==="CNAME"?"target.example.com":"v=spf1 include:_spf.example.com ~all",class:"w-full"},null,8,["modelValue","onUpdate:modelValue","placeholder"])]),Le.type==="MX"?(v(),x("div",lK,[H[81]||(H[81]=a("label",{class:"va-input-label body-15"},"Priority *",-1)),C(Ln,{modelValue:Le.priority,"onUpdate:modelValue":Vt=>Le.priority=Vt,modelModifiers:{number:!0},type:"number",min:0,class:"w-full"},null,8,["modelValue","onUpdate:modelValue"])])):D("",!0),a("div",uK,[f(_o).length>
1291?(v(),X(mn,{key:0,preset:"plain",icon:"delete",color:"danger","aria-label":"Remove DNS record",onClick:Vt=>f(en)(xt)},null,8,["onClick"])):D("",!0)])]))),128)),a("div",cK,[C(mn,{preset:"secondary",icon:"add",onClick:f(mr)},{default:$(()=>H[82]||(H[82]=[T(" Add A Record ")])),_:1,__:[82]},8,["onClick"]),C(mn,{preset:"royal",onClick:f(Oo)},{default:$(()=>H[83]||(H[83]=[T(" Update Records ")])),_:1,__:[83]},8,["onClick"])])])):D("",!0),f(Qt)?(v(),x("div",dK,[C(yn,{color:"info",class:"mb-[24px]"},{default:$(()=>H[85]||(H[85]=[a("h4",{class:"body-20 bold mb-[12px]"},"Confirm DNS Record Changes",-1),a("p",{class:"body-15 mb-[16px]"},"Please review the changes before applying them. This will replace all existing DNS records with the new configuration.",-1)])),_:1,__:[85]}),a("div",fK,[H[87]||(H[87]=a("h5",{class:"body-17 bold mb-[12px]"},"New DNS Records:",-1)),(v(!0),x(de,null,Be(f(_o),(Le,xt)=>(v(),x("div",{key:xt,class:"mb-[8px] last:mb-0"},[a("div",pK,[a("span",mK,"Type: "+V(Le.type),1),Le.type==="CNAME"&&Le.name?(v(),x("span",hK,"| Name: "+V(Le.name),1)):D("",!0),Le.type==="MX"?(v(),x("span",gK,"| Priority: "+V(Le.priority),1)):D("",!0),H[86]||(H[86]=a("span",null,"→",-1)),a("span",null,V(Le.content),1)])]))),128))]),a("div",vK,[f(lo)?(v(),X(Wo,{key:0,indeterminate:"",size:2}
129)):D("",!0)]),a("div",yK,[C(mn,{preset:"secondary",onClick:f(Ho),disabled:f(lo)},{default:$(()=>H[88]||(H[88]=[T(" Cancel ")])),_:1,__:[88]},8,["onClick","disabled"]),C(mn,{preset:"royal",onClick:f(Io),disabled:f(lo)},{default:$(()=>H[89]||(H[89]=[T(" Confirm & Update ")])),_:1,__:[89]},8,["onClick","disabled"])])])):D("",!0)]),a("div",bK,[a("p",wK,[H[92]||(H[92]=T("For further assistance with updating DNS records, please contact our support team at ")),a("a",{href:`mailto:${n.value}`,class:"text-royalblue underline"},V(n.value),9,_K),H[93]||(H[93]=T("."))])])])])):D("",!0),D("",!0)]}),_:1},8,["modelValue"])]),C(co,{modelValue:f(Cn),"onUpdate:modelValue":H[12]||(H[12]=gt=>mt(Cn)?Cn.value=gt:null),"hide-default-actions":"",size:"small",class:"calendly-disconnect-modal"},{header:$(()=>[a("div",xK,[H[105]||(H[105]=a("h3",{class:"body-20 bold text-black"},"Disconnect Calendly",-1)),a("button",{onClick:H[11]||(H[11]=(...gt)=>f(sn)&&f(sn)(...gt)),"aria-label":"Close",class:"text-gray-400 hover:text-gray-600"},H[104]||(H[104]=[a("i",{class:"icon-x-close-q body-20","aria-hidden":"true"},null,-1)]))])]),footer:$(()=>
129[a("div",SK,[C(mn,{preset:"whiteAlt",class:"border-2",onClick:f(sn)},{default:$(()=>H[106]||(H[106]=[T(" Cancel ")])),_:1,__:[106]},8,["onClick"]),C(mn,{color:"#B71C1C",onClick:f(pn),loading:f(vn)},{default:$(()=>H[107]||(H[107]=[T(" Yes, Disconnect ")])),_:1,__:[107]},8,["onClick","loading"])])]),default:$(()=>[H[108]||(H[108]=a("p",{class:"body-15 text-black mb-4"}," Disconnecting Calendly will remove scheduling from your site, but won't affect any appointments already booked or log you out of your Calendly account. ",-1)),H[109]||(H[109]=a("p",{class:"body-15 text-black"}," Prospects will not be able to book new appointments from your site until you reconnect. ",-1))]),_:1,__:[108,109]},8,["modelValue"]),C(co,{modelValue:f(ge),"onUpdate:modelValue":H[14]||(H[14]=gt=>mt(ge)?ge.value=gt:null),"hide-default-actions":"",size:"small",class:"byod-confirm-modal"},{header:$(()=>H[110]||(H[110]=[a("h3",{class:"body-20 bold text-black"},"Before You Continue",-1)])),footer:$(()=>[a("div",CK,[C(mn,{preset:"whiteAlt",class:"border-2",onClick:H[13]||(H[13]=gt=>f(Te)(f(Ie),!1))},{default:$(()=>H[111]||(H[111]=[T(" Cancel ")])),_:1,__:[111]}
129),C(mn,{preset:"royal",loading:f(ee),disabled:f(ee),onClick:f(Ee)},{default:$(()=>H[112]||(H[112]=[T(" Continue ")])),_:1,__:[112]},8,["loading","disabled","onClick"])])]),default:$(()=>[H[113]||(H[113]=a("ul",{class:"body-15 text-black list-disc list-outside pl-[18px] my-2"},[a("li",{class:"mb-2"},"You must copy and replace BOTH nameserver values when updating at your registrar."),a("li",{class:"mb-2"},"Nameserver updates can take between 30 minutes and 2 days."),a("li",null,"Hatch will listen for the update to take effect for the first 24 hours and will automatically complete the technical parts of configuring your new site on this domain.")],-1))]),_:1,__:[113]},8,["modelValue"]),C(co,{modelValue:f(W),"onUpdate:modelValue":[H[15]||(H[15]=gt=>mt(W)?W.value=gt:null),H[16]||(H[16]=gt=>{gt||(f(Q)(),f(Y)())})],"hide-default-actions":"","close-button":"",class:"post-live-modal"},{header:$(()=>H[114]||(H[114]=[a("h3",{class:"body-20 bold text-black"},"Your Hatch website is live!",-1)])),footer:$(()=>[C(mn,{preset:"royal",class:"post-live-modal__btn",onClick:f(Y)},{default:$(()=>H[117]||(H[117]=[T(" Close ")])),_:1,__:[117]},8,["onClick"])]),default:$(()=>{var gt;return[a("p",kK,[H[115]||(H[115]=T(" Your Hatch website is now live at ")),(gt=f(P))!=null&&gt.site_domain&&!String(f(P).site_domain).toLowerCase().includes("domain_pending")?(v(),x("a",{key:0,href:"https://"+f(P).site_domain,target:"_blank",rel:"noopener noreferrer",class:"font-semibold text-royalblue underline"},V(f(P).site_domain),9,$K)):(v(),x("span",AK,"your site")),H[116]||(H[116]=T(" and ready to use. Start sharing your link right away to grow your presence and connect with more clients. "))])]}),_:1},8,["modelValue"])],64)}}}),PK={class:"container max-w-6xl py-12 px-4"},OK={__name:"OCSite",setup(e){const t=qn(),n=w(()=>{var p;return((p=t.props.oc_sites)==null?void 0:p.data)??t.props.oc_sites}),o=w(()=>t.props.errors),r=w(()=>t.props.calendly_event_types),s=w(()=>t.props.calendly_select),i=M(!!t.props.calendly_success),l=M(!!t.props.calendly_disconnected),u=M(t.props.calendly_error??""),c=w(()=>!!t.props.open_advanced);function d(){const p=new URL(window.location.pathname+window.location.search,window.location.origin),m=p.searchParams,h=m.has("calendly_success"),g=m.has("calendly_disconnected"),b=m.has("calendly_error")?decodeURIComponent(m.get("calendly_error")||""):null;if(h&&(i.value=!0),g&&(l.value=!0),b&&(u.value=b),h||g||b){m.delete("calendly_success"),m.delete("calendly_disconnected"),m.delete("calendly_error");const y=p.pathname+(m.toString()?"?"+m.toString():"");window.history.replaceState({},"",y)}}return rt(d),we(()=>t.url,d,{immediate:!0}),(p,m)=>{const h=he("VaAlert");return v(),X(KS,{"disable-title":""},{default:$(()=>[a("div",PK,[i.value?(v(),X(h,{key:0,color:"success",class:"w-full mb-[2em] calendly-success-alert",closeable:"",onClose:m[0]||(m[0]=g=>i.value=!1)},{default:$(()=>m[3]||(m[3]=[a("div",{class:"flex items-center"},[a("i",{class:"icon icon-checkmark-q mr-3 text-[#08623C] body-25"}),a("span",{class:"body-15 text-[#08623C]"},"Your Calendly account has been successfully connected. Appointments can now be booked through your site.")],-1)])),_:1,__:[3]})):D("",!0),l.value?(v(),X(h,{key:1,color:"success",class:"w-full mb-[2em] calendly-success-alert",closeable:"",onClose:m[1]||(m[1]=g=>l.value=!1)},{default:$(()=>m[4]||(m[4]=[a("div",{class:"flex items-center"},[a("i",{class:"icon icon-checkmark-q mr-3 text-[#08623C] body-25"}),a("span",{class:"body-15 text-[#08623C]"},"Your Calendly has been successfully disconnected. You can now connect a new account to restore appointment scheduling.")],-1)])),_:1,__:[4]})):D("",!0),u.value?(v(),X(h,{key:2,color:"danger",border:"left",class:"w-full mb-4",closeable:"",onClose:m[2]||(m[2]=g=>u.value="")},{default:$(()=>[T(V(u.value),1)]),_:1})):D("",!0),n.value?(v(),X(EK,{key:4,item:n.value,errors:o.value,"calendly-event-types":r.value,"calendly-select":s.value,"open-advanced-tab-from-calendly":i.value||l.value||c.value||s.value},null,8,["item","errors","calendly-event-types","calendly-select","open-advanced-tab-from-calendly"])):(v(),X(h,{key:3,color:"warning",border:"left",icon:"icon-alert-triangle-q",class:"w-full"},{default:$(()=>m[5]||(m[5]=[T(" You don't have OS Site for editing. ")])),_:1,__:[5]}))])]),_:1})}}},IK=Zn(OK,[["__scopeId","data-v-fc9afb83"]]),DK=Object.freeze(Object.defineProperty({__proto__:null,default:IK},Symbol.toStringTag,{value:"Module"})),MK={key:0,class:"preview-container"},RK={key:1,class:"no-preview"},LK={key:0,class:"error-detail"},VK=$e({__name:"OCSitePreview",setup(e){const t=qn(),n=M(null),o=M(""),r=w(()=>t.props.termLifePosts||[]),s=w(()=>t.props.advancedMarketsPosts||[]),i=w(()=>{var l;return((l=n.value)==null?void 0:l.home_page_version)==="Advanced Markets"?s.value:r.value});return rt(()=>{try{const u=new URLSearchParams(window.location.search).get("key");if(!u){o.value="No preview key found in URL",console.error("No preview key in URL");return}const c=localStorage.getItem(u);if(!c){o.value="No preview data found for this key",console.error("No preview data found for key:",u);return}try{n.value=JSON.parse(c),console.log("Preview data loaded:",n.value),localStorage.removeItem(u)}catch(d){o.value="Failed to parse preview data",console.error("Failed to parse preview data:",d)}}catch(l){o.value="An error occurred while loading preview",console.error("Error in preview setup:",l)}}),(l,u)=>n.value?(v(),x("div",MK,[C(YS,{oc_site:n.value,posts:i.value},null,8,["oc_site","posts"])])):(v(),x("div",RK,[u[0]||(u[0]=a("p",null,"No preview data available. Please try again from the edit form.",-1)),o.value?(v(),x("p",LK,V(o.value),1)):D("",!0)]))}}),BK=Zn(VK,[["__scopeId","data-v-5d983da4"]]),FK=Object.freeze(Object.defineProperty({__proto__:null,default:BK},Symbol.toStringTag,{value:"Module"})),NK={class:"archive-title text-black text-4xl font-black pb-20 text-center"},zK={key:0,class:"blog-main body-20 flex min-h-[50vh] w-full items-center justify-center text-center px-4"},jK={class:"blog-main posts-grid flex flex-wrap lg:mt-10 lg:pt-10"},UK={class:"post-image mb-4"},HK=["href"],WK=["src","alt"],qK={class:"post-content"},GK=["innerHTML"],YK={class:"text-[23px] mb-3"},KK=["href"],QK={key:0,class:"pagination-links"},XK=["innerHTML"],JK={mounted(){Ph()}},ZK=Object.assign(JK,{__name:"Archive",props:{oc_site:Object,page:Object,posts:Object,category:String,feedError:Boolean},setup(e){return(t,n)=>{const o=he("Link");return v(),X(On,null,{default:$(()=>[C(bo,{full:""},{default:$(()=>[a("h1",NK,V(e.page.title)+" Posts",1),e.feedError?(v(),x("div",zK,n[0]||(n[0]=[a("p",null,[T(" We’re having trouble loading blog content right now."),a("br"),T(" Please try again in a few minutes. ")],-1)]))):(v(),x(de,{key:1},[a("div",jK,[(v(!0),x(de,null,Be(e.posts.data,r=>(v(),x("div",{key:r.id,class:xe(["post column lg:basis-1/3 sm:basis-1/2 xl:px-[4%] px-[2%] mb-[2em]","post-"+r.id])},[a("div",UK,[a("a",{href:r.url_link},[a("img",{src:r.image,alt:r.image_alt},null,8,WK)],8,HK)]),a("div",qK,[a("div",{class:"category-links",innerHTML:f(on)(r.category_links)},null,8,GK),n[1]||(n[1]=a("div",{class:"divider-element-left bg-primary w-[10%] h-[3px] mt-3 mb-4"},null,-1)),a("h2",YK,[a("a",{class:"text-black",href:r.url_link},V(r.title),9,KK)]),a("p",null,V(r.description),1)])],2))),128))]),e.posts.meta.links.length>3?(v(),x("div",QK,[(v(!0),x(de,null,Be(e.posts.meta.links,r=>(v(),x(de,{key:r.label},[r.url?(v(),X(o,{key:1,href:r.url,innerHTML:f(on)(r.label),class:xe(["pagination-link",{active:r.active}])},null,8,["href","innerHTML","class"])):(v(),x("span",{key:0,innerHTML:f(on)(r.label),class:xe(["pagination-link disabled",r.class])},null,10,XK))],64))),128))])):D("",!0)],64))]),_:1})]),_:1})}}}),eQ=Object.freeze(Object.defineProperty({__proto__:null,default:ZK},Symbol.toStringTag,{value:"Module"})),tQ={class:"single-post container"},nQ={class:"post-image mb-10"},oQ=["src","alt"],rQ={class:"post-content"},aQ=["innerHTML"],sQ={class:"text-[36px] leading-[1.5em] my-10 font-black text-black"},iQ=["innerHTML"],lQ={mounted(){Ph()}},uQ=Object.assign(lQ,{__name:"Article",props:{oc_site:Object,page:Object,posts:Object},setup(e){const t=w(()=>on(e.posts.content)),n=w(()=>on(e.posts.category_links));return(o,r)=>(v(),X(On,null,{default:$(()=>[C(bo,{full:"",class:"single-article"},{default:$(()=>[C(f(zt),{class:"block mb-10",href:"/blog"},{default:$(()=>r[0]||(r[0]=[a("i",{class:"icon-q-previous"},null,-1),T(" Back to Blog")])),_:1,__:[0]}),a("div",tQ,[a("div",{class:xe("post-"+e.posts.id)},[a("div",nQ,[a("img",{src:e.posts.image,alt:e.posts.image_alt},null,8,oQ)]),a("div",rQ,[a("div",{class:"category-links",innerHTML:n.value},null,8,aQ),r[1]||(r[1]=a("div",{class:"divider-element-left bg-primary w-[10%] h-[3px] mt-10 mb-4"},null,-1)),a("h1",sQ,V(e.posts.title),1),a("div",{class:"post-content",innerHTML:t.value},null,8,iQ)])],2)])]),_:1})]),_:1}))}}),cQ=Object.freeze(Object.defineProperty({__proto__:null,default:uQ},Symbol.toStringTag,{value:"Module"})),dQ={key:0,class:"blog-main body-20 flex min-h-[50vh] w-full items-center justify-center text-center px-4"},fQ={class:"blog-main posts-grid flex flex-wrap lg:mt-10 lg:pt-10"},pQ={class:"post-image mb-4"},mQ=["href"],hQ=["src","alt"],gQ={class:"post-content"},vQ=["innerHTML"],yQ={class:"text-[23px] mb-3"},bQ=["href"],wQ={key:0,class:"pagination-links"},_Q=["innerHTML"],xQ={mounted(){Ph()}},SQ=Object.assign(xQ,{__name:"Blog",props:{oc_site:Object,page:Object,posts:Object,feedError:Boolean},setup(e){return(t,n)=>(v(),X(On,null,{default:$(()=>[C(bo,{full:""},{default:$(()=>[e.feedError?(v(),x("div",dQ,n[0]||(n[0]=[a("p",null,[T(" We’re having trouble loading blog content right now."),a("br"),T(" Please try again in a few minutes. ")],-1)]))):(v(),x(de,{key:1},[a("div",fQ,[(v(!0),x(de,null,Be(e.posts.data,o=>(v(),x("div",{key:o.id,class:xe(["post column lg:basis-1/3 sm:basis-1/2 xl:px-[4%] px-[2%] mb-[2em]","post-"+o.id])},[a("div",pQ,[a("a",{href:o.url_link},[a("img",{src:o.image,alt:o.image_alt},null,8,hQ)],8,mQ)]),a("div",gQ,[a("div",{class:"category-links",innerHTML:f(on)(o.category_links)},null,8,vQ),n[1]||(n[1]=a("div",{class:"divider-element-left bg-primary w-[10%] h-[3px] mt-3 mb-4"},null,-1)),a("h2",yQ,[a("a",{class:"text-black",href:o.url_link},V(o.title),9,bQ)]),a("p",null,V(o.description),1)])],2))),128))]),e.posts.meta.links.length>3?(v(),x("div",wQ,[(v(!0),x(de,null,Be(e.posts.meta.links,o=>(v(),x(de,{key:o.label}
129,[o.url?(v(),X(f(zt),{key:1,href:o.url,innerHTML:f(on)(o.label),class:xe(["pagination-link",{active:o.active}])},null,8,["href","innerHTML","class"])):(v(),x("span",{key:0,innerHTML:f(on)(o.label),class:xe(["pagination-link disabled",o.class])},null,10,_Q))],64))),128))])):D("",!0)],64))]),_:1})]),_:1}))}}),CQ=Object.freeze(Object.defineProperty({__proto__:null,default:SQ},Symbol.toStringTag,{value:"Module"})),kQ={class:"careers-page"},$Q={class:"site-header relative z-10 bg-white w-full pt-[2rem] pb-[1rem] px-[10vw] border-b-[1px] border-[#d8d8d8]"},AQ={class:"flex xl:mb-5 lg:mb-2 mx-auto flex-row items-center"},TQ={key:0,tabindex:"0",class:"agent-phone ml-auto"},EQ=["href"],PQ=["src"],OQ={id:"main-footer",class:"site-footer w-full bg-darkgray"},IQ={class:"container w-[80vw] py-[4em]"},DQ={class:"agent-info-container content-center bg-white px-[40px] py-[30px] rounded-[15px] flex flex-col lg:flex-row lg:gap-x-[3vw] xl:gap-x-[4vw] lg:items-center"},MQ={class:"agent-data"},RQ={class:"body-25 bold"},LQ={key:0,class:"body-15 light lg:my-0 my-[0.5em]"},VQ={key:0,class:"agent-info agent-location flex items-center my-[0.5em] :lg-my-0"},BQ={class:"icon rounded-full bg-primary w-[40px] h-[40px] mr-4 inline-block relative"},FQ={key:0},NQ={key:1},zQ={key:1,class:"agent-info agent-phone flex items-center my-[0.5em] :lg-my-0"},jQ=["href"],UQ={class:"icon rounded-full bg-primary w-[40px] h-[40px] mr-4 inline-block relative"},HQ={key:2,class:"agent-info agent-email flex items-center my-[0.5em] :lg-my-0"},WQ=["href"],qQ={class:"icon rounded-full bg-primary w-[40px] h-[40px] mr-4 inline-block relative"},GQ={class:"footer-bottom flex md:flex-row flex-col text-white md:gap-x-[4vw] md:gap-y-0 gap-y-[2em] py-[2rem]"},YQ={class:"footer-bottom-left flex-none max-w-[266px] gap-y-[1em]"},KQ={class:"footer-links mb-[1em]"},QQ={class:"copyright"},XQ={class:"body-12 bold"},JQ={class:"footer-bottom-right"},ZQ={class:"body-12 mb-[1em]"},eX={__name:"Careers",props:{oc_site:Object,page:Object},setup(e){var s;const t=window.location.search,n=new URLSearchParams(t);console.log("[Careers.vue] url params:",Object.fromEntries(n));const r=(((s=Mt.page)==null?void 0:s.url)||"/")!=="/contact";return(i,l)=>{var c,d,p,m,h,g,b,y,_;const u=he("font-awesome-icon");return v(),x("div",kQ,[l[13]||(l[13]=a("div",{class:"skip-links"},[a("a",{href:"#main-content",class:"skip-link"},"Skip to Main Content"),a("a",{href:"#main-nav",class:"skip-link"},"Skip to Main Navigation"),a("a",{href:"#main-footer",class:"skip-link"},"Skip to Footer")],-1)),a("header",$Q,[a("div",AQ,[l[0]||(l[0]=a("div",{class:"logo block w-[100%] max-w-[193px] relative"},[a("img",{class:"block w-full",alt:"Symmetry Financial Group logo",src:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/03a99c8f-f285-46cf-e693-8439601ab100/public"})],-1)),(c=e.oc_site)!=null&&c.phone?(v(),x("div",TQ,[a("a",{class:"body-20 bold text-primary cursor-pointer hover:opacity-50 transition-all duration-250",href:"tel:"+e.oc_site.phone},V(f(Ei)(e.oc_site.phone)),9,EQ)])):D("",!0)])]),l[14]||(l[14]=a("div",{id:"main-content"},null,-1)),C(Rr,{color:"white","content-left":"","video-url":"https://www.youtube.com/embed/Cav-evhiG9o","video-title":"Get to know Symmetry Financial Group","image-vert-align":"middle"},{default:$(()=>l[1]||(l[1]=[a("h1",{class:"page-title body-51 black text-primary mb-[1em] max-w-[580px]"},"Thanks for applying!",-1),a("h3",{class:"body-25 bold max-w-[580px]"},"Watch this video, and schedule your interview now!",-1)])),_:1,__:[1]}),f(_i)((d=e.oc_site)==null?void 0:d.recruiting_calendar_url)?(v(),X(St,{key:0,color:"lightgray"},{default:$(()=>[l[2]||(l[2]=a("h2",{class:"body-35 black text-center"},[T("Interview With Us? "),a("div",{class:"divider-element bg-primary mx-auto"})],-1)),l[3]||(l[3]=a("h3",{class:"body-25 bold text-center"},"Schedule a time to speak with a member of our team.",-1)),a("iframe",{title:"Embedded appointment calendar",style:{margin:"0 auto",width:"100%",height:"72.2vh","max-height":"780px","max-width":"1080px"},src:e.oc_site.recruiting_calendar_url},null,8,PQ)]),_:1,__:[2,3]})):D("",!0),C(Rr,{color:"black/5","content-left":"","video-url":" https://www.youtube.com/embed/rae3VATM1vM?si=vDzaFedM2DTCGH95&","video-title":"Before Symmetrey -- Tracking Agent Success","image-vert-align":"middle"},{default:$(()=>l[4]||(l[4]=[a("h2",{class:"body-35 black bold mb-[1em]"},[T("Experience the Symmetry Difference "),a("div",{class:"divider-element bg-primary"})],-1),a("h3",{class:"body-25 bold"},"Learn more about how a career at Symmetry can help you achieve your goals.",-1)])),_:1,__:[4]}),C(St,{color:"white"},{default:$(()=>l[5]||(l[5]=[a("div",{class:"container pt-[4em] mt-[-4em]"},[a("h2",{class:"body-35 black bold mb-[1em]"},[T("Agent Support + Growth "),a("div",{class:"divider-element bg-primary"})]),a("div",{class:"flex w-full xl:flex-row flex-col gap-x-[4vw] gap-y-[2em] lg:mt-0 mt-[2em]"},[a("div",{class:"icon-content flex-1"},[a("div",{class:"h-[60px] relative flex items-end"},[a("img",{class:"icon h-[41px] w-[50px] mb-[15px]",src:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/5933d638-8c0a-4dff-5a5d-e6056eba8900/public"})]),a("h4",{class:"body-20 bold mb-[1em]"},"A leads program for agents, by agents"),a("p",{class:"body-20 light"},"We offer lead types and prices that fit your needs.")]),a("div",{class:"icon-content flex-1"},[a("div",{class:"h-[60px] relative flex items-end"},[a("img",{class:"icon h-[46px] w-[50px] mb-[15px]",src:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/3b5e25db-5469-4bc3-2452-d7ca50ecf100/public"})]),a("h4",{class:"body-20 bold mb-[1em]"},"Training for every experience level"),a("p",{class:"body-20 light"},"Engage with in-person events, webinars and digital courses to help you build your business.s")]),a("div",{class:"icon-content flex-1"},[a("div",{class:"h-[60px] relative flex items-end"},[a("img",{class:"icon h-[60px] w-[60px] mb-[15px]",src:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/f7302371-9aa7-4185-04ef-37d8dd22be00/public"})]),a("h4",{class:"body-20 bold mb-[1em]"},"Powerful tools that fit your workflow"),a("p",{class:"body-20 light"},"From agency management to finding the best-fit policy for your clients, we have a solution.")]),a("div",{class:"icon-content flex-1"},[a("div",{class:"h-[60px] relative flex items-end"},[a("img",{class:"icon h-[60px] w-[60px] mb-[15px]",src:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/6151df7e-cbc6-4298-4226-9f345e207a00/public"})]),a("h4",{class:"body-20 bold mb-[1em]"},"A wide range of products and top-tier carriers"),a("p",{class:"body-20 light"},"Find the best-fit policy for every client with plenty of options to choose from.")])])],-1)])),_:1,__:[5]}),a("footer",OQ,[a("div",IQ,[l[12]||(l[12]=a("h2",{class:"body-35 bold text-white mb-[1em]"},"Contact",-1)),a("div",DQ,[a("div",MQ,[a("h3",RQ,V(e.oc_site.agent_name),1),(p=e.oc_site)!=null&&p.agency_name?(v(),x("p",LQ,V(e.oc_site.agency_name),1)):D("",!0)]),(m=e.oc_site)!=null&&m.city||(h=e.oc_site)!=null&&h.state?(v(),x("div",VQ,[a("span",BQ,[C(u,{"aria-hidden":"true",class:"text-white absolute top-[50%] left-[50%] translate-x-[-50%] translate-y-[-50%]",icon:["fas","location-dot"]})]),(g=e.oc_site)!=null&&g.city?(v(),x("span",FQ,V(e.oc_site.city),1)):D("",!0),(b=e.oc_site)!=null&&b.state?(v(),x("span",NQ,", "+V(e.oc_site.state),1)):D("",!0)])):D("",!0),(y=e.oc_site)!=null&&y.phone?(v(),x("div",zQ,[a("a",{tabindex:"0",class:"flex text-black items-center underline transition-all ease-in-out duration-250 hover:opacity-50",href:"tel:"+e.oc_site.phone},[a("span",UQ,[C(u,{"aria-hidden":"true",class:"text-white absolute top-[50%] left-[50%] translate-x-[-50%] translate-y-[-50%]",icon:["fas","phone"]})]),T(" "+V(f(Ei)(e.oc_site.phone)),1)],8,jQ)])):D("",!0),(_=e.oc_site)!=null&&_.email?(v(),x("div",HQ,[a("a",{tabindex:"0",class:"flex text-black items-center underline transition-all ease-in-out duration-250 hover:opacity-50",href:"mailto:"+e.oc_site.email},[a("span",qQ,[C(u,{"aria-hidden":"true",class:"text-white absolute top-[50%] left-[50%] translate-x-[-50%] translate-y-[-50%]",icon:["fas","envelope"]})]),T(" "+V(e.oc_site.email),1)],8,WQ)])):D("",!0)]),a("div",GQ,[a("div",YQ,[a("div",KQ,[C(f(zt),{tabindex:"0",class:"underline bold body-17",href:"/privacy"},{default:$(()=>l[6]||(l[6]=[T("Privacy Policy")])),_:1,__:[6]}),C(f(zt),{tabindex:"0",class:"underline bold body-17 pl-4 ml-4 border-l-[1px] border-color-white bold",href:"/lice
129nses"},{default:$(()=>l[7]||(l[7]=[T("Licenses")])),_:1,__:[7]})]),l[10]||(l[10]=a("div",{class:"bbb-accredited max-w-[182px] my-[20px]"},[a("img",{class:"w-full",src:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/5389d873-05d8-4ccc-40f2-29a6c3020900/public"})],-1)),a("div",QQ,[a("p",XQ,[T("Copyright © "+V(i.currentYear)+" Symmetry Financial Group. ",1),l[8]||(l[8]=a("br",{class:"md:visible hidden"},null,-1)),l[9]||(l[9]=T("All Rights Reserved."))])])]),a("div",JQ,[a("p",ZQ," “Quility” is a brand name used by the Quility family of companies. All insurance offers, solicitations, and recommendations made via this website are being made by Quility's licensed affiliated insurance producers, Symmetry Financial Group, LLC (d/b/a Symmetry Insurance Services in California) and "+V(e.oc_site.agent_name)+". No offers, solicitations or recommendations are being made via this website in License Page for a list of all of Symmetry Financial Group, LLC's (d/b/a Symmetry Insurance Services in California) and "+V(e.oc_site.agent_name)+"'s license numbers in each state. ",1),l[11]||(l[11]=a("p",{class:"body-12"}," No agent's success, earnings, or production results should be viewed as typical, average, or expected. Not all agents achieve the same or similar results, and no particular results are guaranteed. Your level of success will be determined by several factors, including the amount of work you put in, your ability to successfully follow and implement our training and sales system and engage with our lead system, and the insurance needs of the customers in the geographic areas in which you choose to work. ",-1))])])])]),C(Cx),r?(v(),X($x,{key:1})):D("",!0)])}}},tX=Object.freeze(Object.defineProperty({__proto__:null,default:eX},Symbol.toStringTag,{value:"Module"})),nX={class:"container w-[80vw] mt-[2em]"},oX={class:"max-w-[800px] pt-4 pb-[4em]"},rX={__name:"Contact",props:{oc_site:Object,page:Object,posts:Object},setup(e){return(t,n)=>(v(),X(On,null,{default:$(()=>[n[1]||(n[1]=a("div",{class:"container w-[80vw]"},[a("h1",{class:"page-title body-51 black text-primary mt-[1em] mb-[0.5em]"},"Contact"),a("div",{class:"page-content"},[a("p",{class:"body-20 light"},"Thank you for your interest. We are happy to answer any questions or provide additional information. ")])],-1)),C(ov,{showHeading:!1,showAbout:!0}),a("div",nX,[n[0]||(n[0]=a("div",{id:"contact-rbwfPa-intro-text"},[a("h2",{class:"section-heading body-35 bold"},"Get Connected"),a("div",{class:"divider-element bg-primary w-[10%] h-[5px]"})],-1)),a("div",oX,[C(kx)])])]),_:1,__:[1]}))}},aX=Object.freeze(Object.defineProperty({__proto__:null,default:rX},Symbol.toStringTag,{value:"Module"})),sX={class:"title-overlap-block"},iX={class:"container w-[80vw] mt-5 md:py-10"},lr=$e({__name:"TitleOverlapFull",props:{titleRight:{type:Boolean,default:!1},color:{default:"primary"}},setup(e){const t=e,n=w(()=>[t.titleRight?"sm:ml-[50%]":""]);return(o,r)=>(v(),x("section",sX,[a("div",iX,[a("div",{class:xe(["title-overlap relative z-2 px-[40px] py-[30px] text-white sm:w-[50%] w-[100%]",[n.value,`bg-${o.color}`]])},[se(o.$slots,"TitleOverlap")],2),a("div",{class:xe(["block-content w-[calc(100%-20px)] px-[20px] pt-[10px] pb-[40px] bg-lightgray mt-[-20px]",{"mr-[20px]":o.titleRight,"ml-[20px]":!o.titleRight}])},[se(o.$slots,"Content")],2)])]))}}),lX={class:"flex items-center py-5"},uX={class:"hero-content-container"},cX={class:"container narrow"},dX={class:"posts-grid flex xl:flex-row flex-col flex-wrap xl:gap-x-[4%] pt-[3em]"},fX=["href"],pX=["src","alt"],mX=["innerHTML"],hX={class:"body-25 bold mb-3"},gX=["href"],vX={class:"post-meta flex flex-row mb-[1em] line-height-[1em]"},yX={key:0,class:"published-date body-15 light text-medgray pr-[15px] mr-[15px] border-r-[1px] border-medgray"},bX={key:1,class:"read-time body-15 light text-medgray"},wX={class:"body-17 light mb-10"},_X=["href"],xX={__name:"CriticalIllness",props:{oc_site:Object,page:Object,posts:Object},setup(e){const t=M(!1);return(n,o)=>{const r=he("VaButton"),s=he("VaIcon"),i=he("VaModal");return v(),X(On,null,{default:$(()=>[C(fr,{full:"",color:"primary","image-url":"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/87f1027f-5fe8-4339-435d-29327e5de600/public","image-alt":"Mom holding her young child"},{default:$(()=>[a("div",lX,[a("div",uX,[o[4]||(o[4]=a("h1",{class:"body-51 black text-white mb-[2rem]"},"Critical illness protection when you need it most",-1)),o[5]||(o[5]=a("p",{class:"body-35"},"Support so finances never stand in the way of recovery.",-1)),C(r,{class:"mt-[2.5rem] cta",preset:"white","data-cta-id":"criticalillness-hero-talk-to-agent",onClick:o[0]||(o[0]=l=>t.value=!t.value)},{default:$(()=>o[3]||(o[3]=[T(" Talk to an Agent ")])),_:1,__:[3]})])])]),_:1}),C(St,{color:"white",class:"md:mb-10"},{default:$(()=>o[6]||(o[6]=[a("div",{class:"md:mt-10 flex sm:flex-nowrap flex-wrap sm:gap-x-[10%] sm:gap-y-0 gap-y-10 sm:justify-start justify-center"},[a("div",{class:"column sm:basis-1/2"},[a("h2",{class:"my-5 body-35 bold"},[T("Critical Illness Insurance "),a("div",{class:"divider-element bg-primary"})]),a("p",{class:"mb-5 body-20"},"A cancer diagnosis, heart attack or other unforeseen health crisis could leave you unable to earn an income, adding financial stress to an already emotionally stressful situation."),a("p",{class:"body-20"},[a("strong",null,"Critical illness insurance provides a lump-sum payment"),T(" if you're diagnosed with a covered condition, helping you stay afloat financially so you can focus on recovery.")])]),a("div",{class:"column content-center sm:basis-1/2"},[a("img",{alt:"49% of foreclosures are caused in part by a medical problem *Boston University",class:"mx-auto max-w-[320px] h-auto",src:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/4094202a-c39f-42e1-a168-372ad61bb300/public"})])],-1)])),_:1,__:[6]}),C(lr,null,{TitleOverlap:$(()=>o[7]||(o[7]=[a("h2",{class:"text-4xl"},"Why do I need critical illness insurance?",-1)])),Content:$(()=>o[8]||(o[8]=[a("div",{class:"mt-10 flex sm:flex-nowrap flex-wrap sm:gap-x-[4%]"},[a("div",{class:"column sm:w-[70%] w-[100%] sm:order-1 order-2"},[a("p",{class:"body-20"},"A serious illness can quickly take a toll on your health and your finances. Even with health insurance, out-of-pocket costs like deductibles, co-pays, and uncovered treatments can add up fast."),a("p",{class:"mt-5 body-20"},"Critical illness insurance provides a lump-sum payment if you're diagnosed with a covered condition, so you can use the money for medical expenses, your mortgage, or other bills, so you can focus on getting better.")]),a("div",{class:"column sm:w-[30%] w-[100%] content-center sm:order-2 order-1 
129sm:mb-0 mb-10"},[a("div",{class:"iframe-container rounded-[15px] overflow-hidden",style:{position:"relative",width:"100%",height:"0","padding-bottom":"56.25%"}},[a("iframe",{title:"Play Video Informational video about critical illness insurance",style:{position:"absolute",top:"0",left:"0",width:"100%",height:"100%"},src:"https://fast.wistia.net/embed/iframe/iub8sikao6?videoFoam=true&version=v1&controls=1",allowfullscreen:"",loading:"lazy"})])])],-1)])),_:1}),C(lr,{titleRight:!0},{TitleOverlap:$(()=>o[9]||(o[9]=[a("h2",{class:"text-4xl"},"How does critical illness insurance work?",-1)])),Content:$(()=>o[10]||(o[10]=[a("div",{class:"mt-10 flex sm:flex-nowrap flex-wrap sm:gap-x-[4%] sm:gap-y-0 gap-y-10"},[a("div",{class:"column sm:w-[30%] w-[100%] content-center"},[a("div",{class:"iframe-container rounded-[15px] overflow-hidden",style:{position:"relative",width:"100%",height:"0","padding-bottom":"56.25%"}},[a("iframe",{title:"Play Video Informational video about how critical illness insurance works",style:{position:"absolute",top:"0",left:"0",width:"100%",height:"100%"},src:"https://fast.wistia.net/embed/iframe/xudl62gji8?videoFoam=true&version=v1&controls=1",allowfullscreen:"",loading:"lazy"})])]),a("div",{class:"column sm:w-[70%] w-[100%]"},[a("p",{class:"body-20"},"Critical illness insurance pays you a lump sum if you're diagnosed with a condition that is covered in your policy, like cancer, a heart attack, or stroke."),a("p",{class:"mt-5 body-20"},"You will start by applying for coverage, answering a few simple health and lifestyle questions. When you are approved by the insurance company, you'll begin paying a regular premium to keep the policy active, and if you are diagnosed with a covered condition, you'll receive a tax-free cash payout anywhere from $10,000 to $1 million, depending on your coverage.")])],-1)])),_:1}),C(St,{color:"white"},{default:$(()=>[a("div",cX,[o[12]||(o[12]=a("h2",{class:"body-35 bold mb-5"},[T("Why choose Symmetry for critical illness insurance? "),a("div",{class:"divider-element bg-primary"})],-1)),o[13]||(o[13]=a("p",{class:"mb-5 body-20"},"At Symmetry Financial Group, we know there's no one-size-fits-all solution when it comes to insurance. That's why we take the time to understand your needs and help you find a policy that truly fits. We work with a range of trusted carriers to offer you the best policy options based on your unique needs.",-1)),C(r,{class:"my-3 cta",preset:"alternative","data-cta-id":"criticalillness-why-symmetry-get-connected",onClick:o[1]||(o[1]=l=>t.value=!t.value)},{default:$(()=>o[11]||(o[11]=[T("Get Connected")])),_:1,__:[11]})])]),_:1}),C(St,{color:"white",class:"md:mt-0 mt-[-4em]"},{default:$(()=>o[14]||(o[14]=[a("div",{class:"container pt-[4em] mb-10 border-t-[1px] border-[#9aa2aa]"},[a("h2",{class:"section-heading body-35 bold pb-[0.33em]"},[T("Frequently Asked Questions "),a("div",{class:"divider-element bg-primary"})]),a("div",{class:"flex sm:flex-nowrap flex-wrap sm:gap-x-[10%] sm:gap-y-0 gap-y-10 pt-10"},[a("div",{class:"column sm:basis-1/2"},[a("h3",{class:"mb-5 body-25 bold"},"Q: What are the advantages of critical illness insurance?"),a("p",{class:"body-20"},"The main advantage of a critical illness insurance policy is the peace of mind that comes with knowing you will be able to cover your expenses if you are unable to earn an income due to critical illness. You choose how the money is spent: use it to pay for treatment costs that aren't covered under your health insurance policy, to cover your mortgage or rent, or anything else to relieve your financial burden during a difficult time. The choice is yours."),a("h3",{class:"my-5 body-25 bold"},"Q: Can I afford critical illness insurance?"),a("p",{class:"body-20"},"Critical illness insurance can be surprisingly affordable, especially when you apply for coverage while you are young and relatively healthy. Your premium payment is based on your age, health and lifestyle when you apply for coverage with the insurance company.")]),a("div",{class:"column sm:basis-1/2"},[a("h3",{class:"mb-5 body-25 bold"},"Q: Do I qualify for critical illness insurance?"),a("p",{class:"body-20"},"In many cases, yes! Some applications only ask a few health questions and don't require a medical exam. For larger coverage amounts, you may 
129need a checkup from your medical provider to qualify."),a("p",{class:"mt-5 font-semibold body-20"},"Most healthy people will qualify for critical illness, but keep in mind that you can't get this coverage if you've already been diagnosed with a critical illness."),a("h3",{class:"my-5 body-25 bold"},"Q: When should I buy critical illness insurance?"),a("p",{class:"body-20"},"A critical illness or injury could happen at any time. Since policy premiums are based on your age and health at the time you apply for coverage, getting a policy while you're younger can save you money and lock in lower rates.")])])],-1)])),_:1,__:[14]}),C(bo,null,{heading:$(()=>o[15]||(o[15]=[a("h2",{class:"section-heading body-35 bold"},"Featured Articles",-1),a("div",{class:"divider-element bg-primary"},null,-1)])),default:$(()=>[a("div",dX,[(v(!0),x(de,null,Be((e.posts||[]).slice(0,3),l=>(v(),x("div",{key:l.id,class:xe(["post column relative xl:w-[30.5%] w-[100%] mb-[2em] p-[25px] bg-white rounded-[15px]","post-"+l.id])},[a("a",{href:l.url_link},[a("img",{class:"mb-3",src:l.image,alt:l.image_alt},null,8,pX)],8,fX),a("div",{class:"category-links mb-2",innerHTML:f(on)(l.category_links)},null,8,mX),a("h3",hX,[a("a",{class:"text-black",href:l.url_link},V(l.title),9,gX)]),a("div",vX,[l.published_date?(v(),x("div",yX,V(l.published_date),1)):D("",!0),l.readtime?(v(),x("div",bX,V(l.readtime),1)):D("",!0)]),a("p",wX,V(l.description),1),a("a",{class:"body-15 bold underline hover:opacity-50 transition-all ease-in-out duration-250 absolute bottom-[30px]",href:l.url_link},[o[16]||(o[16]=T("Read More ")),C(s,{name:"icon-q-right-arrow",size:"large"})],8,_X)],2))),128))])]),_:1}),C(us,{title:"Ready to get coverage?",content:"Schedule an appointment to get a critical illness insurance policy fit for your budget and needs.","button-text":"Get Connected","product-type":"CI"}),C(i,{modelValue:t.value,"onUpdate:modelValue":o[2]||(o[2]=l=>t.value=l),"max-width":"600px","hide-default-actions":"","close-button":""},{default:$(()=>[C(Tr,{"product-type":"Critical Illness","lead-type":"Critical Illness"})]),_:1},8,["modelValue"])]),_:1})}}},SX=Object.freeze(Object.defineProperty({__proto__:null,default:xX},Symbol.toStringTag,{value:"Module"})),CX={age:35,gender:"male",healthClass:"preferred",monthlyContribution:500,projectionYears:40},kX={monthlyIncome:5e3,monthlyExpenses:3500,discretionaryIncome:1500},$X={monthlyDiscretionaryIncome:1500,discretionaryAllocationPercentage:75,useIBCForDebtAcceleration:!0},AX=[{id:"1",name:"Credit Card Debt",balance:5e3,interestRate:18.99,minimumPayment:150,actualPayment:200},{id:"2",name:"Car Loan",balance:12e3,interestRate:4.5,minimumPayment:325,actualPayment:350}],Lo=Fo({ibcInfo:{...CX},incomeExpenses:{...kX},ibcDebtSettings:{...$X},debts:AX.map(e=>({...e}))}),TX=w(()=>Lo.debts.reduce((e,t)=>{const n=Number(t.actualPayment)||0,o=Number(t.minimumPayment)||0;return e+Math.max(0,n-o)},0));function bf(){function e(i,l){Lo.ibcInfo[i]=l}function t(i,l){const u=Number(l)||0;if(i==="monthlyIncome"||i==="monthlyExpenses"){Lo.incomeExpenses[i]=u;const c=Number(Lo.incomeExpenses.monthlyIncome)||0,d=Number(Lo.incomeExpenses.monthlyExpenses)||0;Lo.incomeExpenses.discretionaryIncome=Math.max(0,c-d)}else Lo.incomeExpenses[i]=u}function n(i,l){Lo.ibcDebtSettings[i]=l,i==="monthlyDiscretionaryIncome"&&(Lo.incomeExpenses.discretionaryIncome=Number(l)||0)}function o(i,l,u){const c=Lo.debts.find(d=>d.id===i);c&&(l==="name"?c.name=u:c[l]=typeof u=="string"?parseFloat(u)||0:Number(u)||0)}function r(){Lo.debts.push({id:Date.now().toString(),name:`Debt ${Lo.debts.length+1}`,balance:0,interestRate:0,minimumPayment:0,actualPayment:0})}function s(i){Lo.debts=Lo.debts.filter(l=>l.id!==i)}return{state:Lo,totalOverpayments:TX,updateIBCInfo:e,updateIncomeExpenses:t,updateIBCDebtSettings:n,updateDebt:o,addDebt:r,removeDebt:s}}function QS(){const e=bf(),{state:t}=e,n=go(t,"debts"),o=M("snowball"),r=M(0),s=M([]),i=M({totalDebt:0,averageInterestRate:0,totalCompoundedInterest:0,monthlyPayment:0,debtFreeDate:""}),l=M(0),u=w(()=>{const m=[...n.value];return o.value==="snowball"?m.sort((h,g)=>Number(h.balance)-Number(g.balance)):m.sort((h,g)=>Number(g.interestRate)-Number(h.interestRate))});function c(){if(n.value.length<2)return"snowball";const m=n.value.some(y=>y.interestRate>10),h=n.value.some(y=>y.balance<1e3),g=n.value.map(y=>Number(y.interestRate));return Math.max(...g)-Math.min(...g)>
1295&&m?"avalanche":h?"snowball":"avalanche"}we(n,()=>{n.value.length!==0&&(o.value=c())},{deep:!0,immediate:!0}),we([n,r,o,u],()=>{if(n.value.length===0){l.value=0,s.value=[],i.value={totalDebt:0,averageInterestRate:0,totalCompoundedInterest:0,monthlyPayment:0,debtFreeDate:""};return}const m=n.value.reduce((O,j)=>O+Number(j.balance),0),h=n.value.reduce((O,j)=>O+Number(j.balance)*Number(j.interestRate),0),g=m>0?h/m:0,b=n.value.reduce((O,j)=>O+Number(j.minimumPayment),0)+r.value,y=[],_=u.value.map(O=>({...O,balance:Number(O.balance),interestRate:Number(O.interestRate),minimumPayment:Number(O.minimumPayment),actualPayment:Number(O.actualPayment)})),A=new Date;let k=1,E=m,I=!1;for(;!I&&k<=360;){let O=0,j=0,G=0,Q;for(let W=0;W<_.length;W++){const re=_[W];if(re.balance<=0)continue;const oe=re.balance*(re.interestRate/100/12);G+=oe;let ne=re.minimumPayment;W===0&&(ne+=r.value),ne=Math.min(ne,re.balance+oe);const z=ne-oe;re.balance-=z,j+=z,O+=ne,re.balance<=0&&(Q=re.name)}E=_.reduce((W,re)=>W+re.balance,0);const Y=new Date(A.getFullYear(),A.getMonth()+k-1).toLocaleDateString("en-US",{year:"numeric",month:"short"});y.push({month:k,date:Y,paymentAmount:O,principalPaid:j,interestPaid:G,remainingTotal:E,completedDebt:Q}),I=E<=0,k++}const F=I&&y.length>0?y[y.length-1].date:"More than 30 years",P=m>0?Math.min(100,Math.round((m-E)/m*100)):0,B=y.reduce((O,j)=>O+j.interestPaid,0);l.value=P,s.value=y,i.value={totalDebt:m,averageInterestRate:g,totalCompoundedInterest:B,monthlyPayment:b,debtFreeDate:F}},{deep:!0,immediate:!0});function d(m,h){e.updateIncomeExpenses(m,Number(h)||0)}function p(m){e.updateIncomeExpenses("discretionaryIncome",Number(m)||0)}return{debts:n,sortedDebts:u,calculationMethod:o,additionalPayment:r,timelineData:s,debtSummary:i,payoffProgress:l,incomeExpenses:w(()=>t.incomeExpenses),totalOverpayments:e.totalOverpayments,setCalculationMethod:m=>{o.value=m},setAdditionalPayment:m=>{r.value=m},addDebt:e.addDebt,removeDebt:e.removeDebt,updateDebt:e.updateDebt,updateIncomeExpenses:d,updateDiscretionaryIncome:p}}function En(e){return Number.isFinite(e)?new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",minimumFractionDigits:0,maximumFractionDigits:0}).format(e):"$0"}function EX(e){return Number.isFinite(e)?`${e.toFixed(2)}%`:"0.00%"}function Fp(e){if(!Number.isFinite(e)||e<=0)return"0 months";const t=Math.floor(e/12),n=e%12;return t===0?`${n} month${n!==1?"s":""}`:n===0?`${t} year${t!==1?"s":""}`:`${t} year${t!==1?"s":""}, ${n} month${n!==1?"s":""}`}const PX={class:"mb-8"},OX={class:"dfl-card"},IX={class:"p-6 border-b border-zinc-100"},DX={class:"bg-[#DAF3F0] rounded-lg p-4 mb-6 border border-blue-100"},MX={class:"grid grid-cols-1 md:grid-cols-3 gap-4"},RX={class:"dfl-currency-wrap"},LX=["value"],VX={class:"dfl-currency-wrap"},BX=["value"],FX={class:"dfl-currency-wrap"},NX=["value"],zX={class:"bg-[#DAF3F0] rounded-lg p-4 border border-blue-100"},jX={class:"flex items-center mb-2"},UX={class:"font-medium"},HX={class:"text-sm text-zinc-600 mb-3"},WX={class:"text-xs text-zinc-500 mb-3"},qX={class:"bg-white p-3 rounded-lg border border-blue-100 text-xs"},GX={key:0,class:"list-disc pl-4 text-zinc-600 space-y-1"},YX={key:0},KX={key:1},QX={key:2},XX={key:3},JX={key:1,class:"list-disc pl-4 text-zinc-600 space-y-1"},ZX={key:0},eJ={key:1},tJ={key:2},nJ={class:"p-6 border-b border-zinc-100"},oJ={class:"flex justify-between items-center mb-3"},rJ={class:"font-medium text-zinc-800"},aJ=["onClick"],sJ={class:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-5 gap-4"},iJ=["value","onInput"],lJ=["value","onInput"],uJ=["value","onInput"],cJ=["value","onInput"],dJ=["min","value","onInput"],fJ={class:"p-6 border-b border-zinc-100"},pJ={class:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-5 gap-6 mb-4"},mJ={class:"bg-blue-50 rounded-lg p-4 border border-blue-100"},hJ={class:"text-2xl font-bold text-zinc-800"},gJ={class:"bg-blue-50 rounded-lg p-4 border border-blue-100"},vJ={class:"text-2xl font-bold text-red-600"},yJ={class:"bg-blue-50 rounded-lg p-4 border border-blue-100"},bJ={class:"text-2xl font-bold text-zinc-800"},wJ={class:"bg-purple-50 rounded-lg p-4 border border-purple-100"},_J={class:"text-2xl font-bold text-purple-600"},xJ={class:"bg-green-50 rounded-lg p-4 border border-green-100"},SJ={class:"text-2xl font-bold text-green-600"},CJ={class:"bg-white rounded-lg border border-zinc-200 overflow-x-auto"},kJ={class:"min-w-[900px] w-full text-sm"},$J={class:"bg-white divide-y divide-zinc-200"},AJ={class:"px-4 py-3 whitespace-nowrap text-sm font-medium text-zinc-800"},TJ={class:"px-4 py-3 whitespace-nowrap text-sm text-zinc-600"},EJ={class:"px-4 py-3 whitespace-nowrap text-sm text-zinc-600"},PJ={class:"px-4 py-3 whitespace-nowrap text-sm text-zinc-600"},OJ={class:"px-4 py-3 whitespace-nowrap text-sm text-zinc-600"},IJ={class:"px-4 py-3 whitespace-nowrap text-sm text-purple-600 font-medium"},DJ={class:"px-4 py-3 whitespace-nowrap"},MJ={class:"p-6"},RJ={class:"mb-6"},LJ={class:"w-full bg-zinc-200 rounded-full h-2.5 overflow-hidden"},VJ={class:"flex justify-between mt-2 text-xs text-zinc-500"},BJ={class:"bg-[#DAF3F0] p-4 rounded-lg border border-blue-100 mb-6"},FJ={class:"text-sm text-zinc-600 mb-2"},NJ={class:"flex justify-end mt-4"},zJ=$e({__name:"DebtCalculator",emits:["continue"],setup(e){const{debts:t,sortedDebts:n,calculationMethod:o,debtSummary:r,payoffProgress:s,incomeExpenses:i,totalOverpayments:l,timelineData:u,addDebt:c,removeDebt:d,updateDebt:p,updateIncomeExpenses:m,updateDiscretionaryIncome:h}=QS();function g(b){const y=["th","st","nd","rd"],_=b%100;return b+(y[(_-20)%10]||y[_]||y[0])}
129return(b,y)=>(v(),x("section",PX,[a("div",OX,[y[35]||(y[35]=a("div",{class:"dfl-card-header"},[a("h2",{class:"text-xl font-bold text-white"},"1. Determine Your Debt Strategy"),a("p",{class:"text-sm text-white mt-1"}," Let's analyze your debts and find the fastest path to financial freedom ")],-1)),a("div",IX,[y[12]||(y[12]=a("h3",{class:"text-lg font-medium text-zinc-800 mb-4"},"Monthly Income & Expenses",-1)),a("div",DX,[a("div",MX,[a("div",null,[y[5]||(y[5]=a("label",{class:"text-sm font-medium text-zinc-700 mb-1 block"},"Monthly Income",-1)),a("div",RX,[a("input",{type:"number",min:"0",value:f(i).monthlyIncome,class:"dfl-input",onInput:y[0]||(y[0]=_=>f(m)("monthlyIncome",parseFloat(_.target.value)||0))},null,40,LX)])]),a("div",null,[y[6]||(y[6]=a("label",{class:"text-sm font-medium text-zinc-700 mb-1 block"},"Monthly Expenses",-1)),a("div",VX,[a("input",{type:"number",min:"0",value:f(i).monthlyExpenses,class:"dfl-input",onInput:y[1]||(y[1]=_=>f(m)("monthlyExpenses",parseFloat(_.target.value)||0))},null,40,BX)])]),a("div",null,[y[7]||(y[7]=a("label",{class:"text-sm font-medium text-zinc-700 mb-1 block"},"Discretionary Income",-1)),a("div",FX,[a("input",{type:"number",min:"0",value:f(i).discretionaryIncome,class:"dfl-input",onInput:y[2]||(y[2]=_=>f(h)(parseFloat(_.target.value)||0))},null,40,NX)]),y[8]||(y[8]=a("p",{class:"text-xs text-zinc-500 mt-1"},"Money left after expenses (auto-calculated)",-1))])])]),y[13]||(y[13]=a("h3",{class:"text-lg font-medium text-zinc-800 mb-4"},"Recommended Payoff Strategy",-1)),a("div",zX,[a("div",jX,[a("div",{class:xe(["w-4 h-4 mr-2 rounded-full",f(o)==="snowball"?"bg-blue-500":"bg-green-500"])},null,2),a("span",UX,V(f(o)==="snowball"?"Debt Snowball":"Debt Avalanche"),1)]),a("p",HX,[f(o)==="snowball"?(v(),x(de,{key:0},[T(" We've automatically selected the Debt Snowball method for you, which focuses on paying off your smallest debts first to give you psychological wins and momentum. ")],64)):(v(),x(de,{key:1},[T(" We've automatically selected the Debt Avalanche method for you, which focuses on paying off your highest-interest debts first to save you the most money. ")],64))]),a("div",WX,[a("p",null,[y[9]||(y[9]=a("span",{class:"font-medium"},"How it works:",-1)),f(o)==="snowball"?(v(),x(de,{key:0},[T(" Your debts are ordered from smallest to largest balance. Each time you pay off a debt, you'll roll that payment into the next debt. ")],64)):(v(),x(de,{key:1},[T(" Your debts are ordered from highest to lowest interest rate. You'll target the highest-interest debts first to minimize interest costs. ")],64))])]),a("div",qX,[y[11]||(y[11]=a("p",{class:"font-medium text-zinc-700 mb-1"},"Why this strategy was selected for your debts:",-1)),f(o)==="snowball"?(v(),x("ul",GX,[f(t).some(_=>_.balance<1e3)?(v(),x("li",YX," You have small debts (under $1,000) that can give you quick wins and motivation ")):D("",!0),f(t).length<2?(v(),x("li",KX," With fewer than 2 debts, the Snowball method provides psychological benefits ")):D("",!0),f(t).some(_=>_.interestRate>10)?D("",!0):(v(),x("li",QX," None of your debts have extremely high interest rates (over 10%) ")),f(t).length>1&&Math.max(...f(t).map(_=>_.interestRate))-Math.min(...f(t).map(_=>_.interestRate))<=5?(v(),x("li",XX," The interest rate difference between your highest and lowest rate debt is small (≤5%) ")):D("",!0)])):(v(),x("ul",JX,[f(t).some(_=>_.interestRate>10)?(v(),x("li",ZX," You have high-interest debts (over 10%) that are costly to maintain ")):D("",!0),f(t).length>1&&Math.max(...f(t).map(_=>_.interestRate))-Math.min(...f(t).map(_=>_.interestRate))>5?(v(),x("li",eJ," There's a significant difference ("+V((Math.max(...f(t).map(_=>_.interestRate))-Math.min(...f(t).map(_=>_.interestRate))).toFixed(1))+"%) between your highest and lowest interest rates ",1)):D("",!0),f(t).some(_=>_.balance<1e3)?D("",!0):(v(),x("li",tJ," You don't have any small debts that would benefit from quick payoffs ")),y[10]||(y[10]=a("li",null,"This approach will save you more money in interest over time",-1))]))])])]),a("div",nJ,[y[21]||(y[21]=a("h3",{class:"text-lg font-medium text-zinc-800 mb
129-4"},"Enter Your Debts",-1)),(v(!0),x(de,null,Be(f(t),_=>(v(),x("div",{key:_.id,class:"bg-zinc-50 rounded-lg p-4 mb-4"},[a("div",oJ,[a("h4",rJ,V(_.name),1),a("button",{class:"text-zinc-400 hover:text-red-500 transition-colors p-1",title:"Remove debt",onClick:A=>f(d)(_.id)},y[14]||(y[14]=[a("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-5 w-5",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[a("path",{d:"M3 6h18"}),a("path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6"}),a("path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2"})],-1)]),8,aJ)]),a("div",sJ,[a("div",null,[y[15]||(y[15]=a("label",{class:"text-sm font-medium text-zinc-700 mb-1 block"},"Debt Name",-1)),a("input",{type:"text",value:_.name,class:"dfl-input",onInput:A=>f(p)(_.id,"name",A.target.value)},null,40,iJ)]),a("div",null,[y[16]||(y[16]=a("label",{class:"text-sm font-medium text-zinc-700 mb-1 block"},"Current Balance ($)",-1)),a("input",{type:"number",min:"0",step:"0.01",value:_.balance,class:"dfl-input",onInput:A=>f(p)(_.id,"balance",A.target.value)},null,40,lJ)]),a("div",null,[y[17]||(y[17]=a("label",{class:"text-sm font-medium text-zinc-700 mb-1 block"},"Interest Rate (%)",-1)),a("input",{type:"number",min:"0",step:"0.01",value:_.interestRate,class:"dfl-input",onInput:A=>f(p)(_.id,"interestRate",A.target.value)},null,40,uJ)]),a("div",null,[y[18]||(y[18]=a("label",{class:"text-sm font-medium text-zinc-700 mb-1 block"},"Min Payment ($)",-1)),a("input",{type:"number",min:"0",step:"0.01",value:_.minimumPayment,class:"dfl-input",onInput:A=>f(p)(_.id,"minimumPayment",A.target.value)},null,40,cJ)]),a("div",null,[y[19]||(y[19]=a("label",{class:"text-sm font-medium text-zinc-700 mb-1 block"},"Actual Payment ($)",-1)),a("input",{type:"number",min:_.minimumPayment,step:"0.01",value:_.actualPayment||_.minimumPayment,class:"dfl-input",onInput:A=>f(p)(_.id,"actualPayment",A.target.value)},null,40,dJ)])])]))),128)),a("button",{class:"flex items-center text-[#004641] hover:text-blue-700 font-medium text-sm",onClick:y[3]||(y[3]=(..._)=>f(c)&&f(c)(..._))},y[20]||(y[20]=[a("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-5 w-5 mr-1",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[a("circle",{cx:"12",cy:"12",r:"10"}),a("line",{x1:"12",y1:"8",x2:"12",y2:"16"}),a("line",{x1:"8",y1:"12",x2:"16",y2:"12"})],-1),T(" Add Another Debt ")]))]),a("div",fJ,[y[29]||(y[29]=a("h3",{class:"text-lg font-medium text-zinc-800 mb-4"},"Debt Summary",-1)),a("div",pJ,[a("div",mJ,[y[22]||(y[22]=a("p",{class:"text-sm text-zinc-500 mb-1"},"Total Debt",-1)),a("p",hJ,V(f(En)(f(r).totalDebt)),1)]),a("div",gJ,[y[23]||(y[23]=a("p",{class:"text-sm text-zinc-500 mb-1"},"Total Interest Over Loan Term",-1)),a("p",vJ,V(f(En)(f(r).totalCompoundedInterest)),1)]),a("div",yJ,[y[24]||(y[24]=a("p",{class:"text-sm text-zinc-500 mb-1"},"Monthly Loan Repayment",-1)),a("p",bJ,V(f(En)(f(r).monthlyPayment)),1)]),a("div",wJ,[y[25]||(y[25]=a("p",{class:"text-sm text-zinc-500 mb-1"},"Total Overpayments",-1)),a("p",_J,V(f(En)(f(l))),1),y[26]||(y[26]=a("p",{class:"text-xs text-zinc-500 mt-1"},"From actual vs minimum payments",-1))]),a("div",xJ,[y[27]||(y[27]=a("p",{class:"text-sm text-zinc-500 mb-1"},"Debt-Free Date",-1)),a("p",SJ,V(f(r).debtFreeDate),1)])]),a("div",CJ,[a("table",kJ,[y[28]||(y[28]=a("thead",{class:"bg-zinc-50"},[a("tr",null,[a("th",{class:"px-4 py-3 text-left text-xs font-medium text-zinc-500 uppercase tracking-wider whitespace-nowrap"},"Debt Name"),a("th",{class:"px-4 py-3 text-left text-xs font-medium text-zinc-500 uppercase tracking-wider whitespace-nowrap"},"Current Balance"),a("th",{class:"px-4 py-3 text-left text-xs font-medium text-zinc-500 uppercase tracking-wider whitespace-nowrap"},"Interest Rate"),a("th",{class:"px-4 py-3 text-left text-xs font-medium text-zinc-500 uppercase tracking-wider whitespace-nowrap"},"Min. Payment"),a("th",{class:"px-4 py-3 text-left text-xs font-medium text-zinc-500 uppercase tracking-wider whitespace-nowrap"},"Actual Payment"),a("th",{class:"px-4 py-3 text-left text-xs font-medium text-zinc-500 uppercase tracking-wider whitespace-nowrap"},"Overpayment"),a("th",{class:"px-4 py-3 text-left text-xs font-medium text-zinc-500 uppercase tracking-wider whitespace-nowrap"},"Payoff Order")])],-1)),a("tbody",$J,[(v(!0),x(de,null,Be(f(n),(_,A)=>(v(),x("tr",{key:_.id},[a("td",AJ,V(_.name),1),a("td",TJ,V(f(En)(_.balance)),1),a("td",EJ,V(f(EX)(_.interestRate)),1),a("td",PJ,V(f(En)(_.minimumPayment)),1),a("td",OJ,V(f(En)(_.actualPayment||_.minimumPayment)),1),a("td",IJ,V(f(En)(Math.max(0,(_.actualPayment||_.minimumPayment)-_.minimumPayment))),1),a("td",DJ,[a("span",{class:xe(["px-2 inline-flex text-xs leading-5 font-semibold rounded-full",A===0?"bg-green-100 text-green-800":"bg-blue-100 text-blue-800"])},V(g(A+1)),3)])]))),128))])])])]),a("div",MJ,[y[34]||(y[34]=a("h3",{class:"text-lg font-medium text-zinc-800 mb
129-4"},"Debt Payoff Progress",-1)),a("div",RJ,[a("div",LJ,[a("div",{class:"h-full rounded-full bg-[#0f172a] transition-all duration-500",style:ze({width:`${f(s)}%`})},null,4)]),a("div",VJ,[y[30]||(y[30]=a("span",null,"Start",-1)),a("span",null,"Projected Progress: "+V(Math.round(f(s)))+"%",1),a("span",null,"Debt-free: "+V(f(u).length)+" months",1)])]),a("div",BJ,[a("p",FJ,[y[31]||(y[31]=a("span",{class:"font-medium"},"Key Insight:",-1)),T(" By making the actual payments you've specified (including overpayments), you'll be debt-free in "+V(f(u).length)+" months. This is your baseline for comparison with the IBC strategy. ",1)]),y[32]||(y[32]=a("p",{class:"text-sm text-zinc-600"},[a("span",{class:"font-medium"},"What's Next:"),T(" Continue to Build Your Own Bank to see how your overpayments can be redirected to build wealth through an Infinite Banking policy while still becoming debt-free. ")],-1))]),a("div",NJ,[a("button",{class:"dfl-btn-primary",onClick:y[4]||(y[4]=_=>b.$emit("continue"))},y[33]||(y[33]=[a("span",null,"Continue to Build Your Own Bank",-1),a("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-5 w-5 ml-2",viewBox:"0 0 20 20",fill:"currentColor"},[a("path",{"fill-rule":"evenodd",d:"M10.293 5.293a1 1 0 011.414 0l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414-1.414L12.586 11H5a1 1 0 110-2h7.586l-2.293-2.293a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1)]))])])])]))}}),XS=Zn(zJ,[["__scopeId","data-v-6045ea17"]]),jJ=Object.freeze(Object.defineProperty({__proto__:null,default:XS},Symbol.toStringTag,{value:"Module"}));function JS(){const{state:e,updateIBCInfo:t}=bf(),n=M([]),o=M({totalContributions:0,finalCashValue:0,finalDeathBenefit:0}),r=M(!1);function s(){r.value=!r.value}function i(l,u){t(l,u)}return we(()=>e.ibcInfo,l=>{const u=Number(l.monthlyContribution)*12;let c=.04,d=.5,p=100;switch(l.healthClass){case"preferred_plus":c+=.01,d+=.1,p+=20;break;case"preferred":c+=.005,d+=.05,p+=10;break;case"standard_plus":break;case"standard":c-=.005,d-=.05,p-=10;break}l.gender==="female"&&(c+=.0025,p+=5),l.age>50?(d+=.1,c-=.005):l.age<30&&(d-=.05,c+=.0025);const m=[];let h=0,g=u*d,b=u*p;for(let A=1;A<=l.projectionYears;A++){let k=1;A>10&&(k=1.1),A>20&&(k=1.2);const E=A===1?null:g-h;h=g,m.push({year:A,age:l.age+A,annualPremium:u,cashValue:Math.round(g),deathBenefit:Math.round(b),cashValueGrowth:E!==null?Math.round(E):null}),g=g+u+g*c*k,b=Math.max(b,g*1.5)}const y=u*l.projectionYears,_=m[m.length-1];n.value=m,o.value={totalContributions:y,finalCashValue:(_==null?void 0:_.cashValue)??0,finalDeathBenefit:(_==null?void 0:_.deathBenefit)??0}},{deep:!0,immediate:!0}),{ibcInfo:e.ibcInfo,ibcProjection:n,ibcSummary:o,isIBCInfoVisible:r,updateIBCInfo:i,toggleIBCInfo:s}}const UJ={class:"mb-8"},HJ={class:"dfl-card"},WJ={class:"dfl-card-header"},qJ={class:"flex justify-between items-center mb-1"},GJ={key:0,class:"p-6 border-b border-zinc-100 bg-blue-50"},YJ={class:"flex justify-between items-start mb-3"},KJ={class:"p-6 border-b border-zinc-100"},QJ={class:"grid grid-cols-1 md:grid-cols-3 gap-6 mb-6"},XJ=["value"],JJ=["value"],ZJ=["value"],eZ={class:"bg-[#DAF3F0] p-4 rounded-lg border border-blue-100"},tZ={class:"flex items-center justify-between mb-2"},nZ={class:"flex items-center text-sm text-zinc-700 cursor-pointer"},oZ=["checked"],rZ={key:0,class:"mb-4 p-4 bg-blue-50 rounded-lg border border-blue-200"},aZ={class:"flex justify-between items-start mb-2"},sZ={class:"flex flex-col md:flex-row md:items-center md:space-x-4"},iZ={class:"flex-1 mb-4 md:mb-0"},lZ={class:"dfl-currency-wrap"},uZ=["value","disabled"],cZ={class:"bg-white p-3 rounded-lg border border-green-100 text-center flex-1"},dZ={class:"text-xl font-bold text-green-600"},fZ={class:"p-6"},pZ={class:"grid grid-cols-1 md:grid-cols-3 gap-6 mb-6"},mZ={class:"bg-gradient-to-br from-blue-50 to-indigo-50 rounded-lg p-4 border border-blue-100"},hZ={class:"text-2xl font-bold text-zinc-800"},gZ={class:"bg-gradient-to-br from-green-50 to-emerald-50 rounded-lg p-4 border border-green-100"},vZ={class:"text-2xl font-bold text-zinc-800"},yZ={class:"bg-gradient-to-br from-purple-50 to-violet-50 rounded-lg p-4 border border-purple-100"},bZ={class:"text-2xl font-bold text-zinc-800"},wZ={class:"flex justify-end mt-6"},_Z=$e({__name:"IbcCalculator",emits:["continue"],setup(e){const{ibcInfo:t,ibcProjection:n,isIBCInfoVisible:o,updateIBCInfo:r,toggleIBCInfo:s}=JS(),{state:i,totalOverpayments:l}=bf(),u=M(0),c=M(!0),d=M(!1);function p(b){r("monthlyContribution",Number(b)||0)}function m(){c.value=!c.value,c.value&&p(u.value)}we([()=>i.incomeExpenses.discretionaryIncome,l],([b,y])=>{const _=Number(b)||0,A=Number(y)||0,E=Math.round(_*.75)+A;u.value=E,c.value&&p(E)},{immediate:!0});const h=w(()=>
129{if(n.value.length===0)return 0;const b=n.value.find(y=>y.year===5);return b?b.cashValue:n.value.length>=5?n.value[4].cashValue:n.value[n.value.length-1].cashValue}),g=w(()=>{if(n.value.length===0)return 0;const b=n.value.find(y=>y.year===10);return(b==null?void 0:b.cashValue)??n.value[n.value.length-1].cashValue});return(b,y)=>(v(),x("section",UJ,[a("div",HJ,[a("div",WJ,[a("div",qJ,[y[10]||(y[10]=a("h2",{class:"text-xl font-bold text-white"},"2. Build Your Own Bank",-1)),a("button",{class:"text-white hover:text-blue-700 text-sm font-medium flex items-center",onClick:y[0]||(y[0]=(..._)=>f(s)&&f(s)(..._))},y[9]||(y[9]=[T(" What is IBC? "),a("svg",{xmlns:"http://www.w3.org/2000/svg",class:"ml-1 h-4 w-4",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[a("circle",{cx:"12",cy:"12",r:"10"}),a("path",{d:"M12 16v-4"}),a("path",{d:"M12 8h.01"})],-1)]))]),y[11]||(y[11]=a("p",{class:"text-sm text-white"}," Create your personal banking system that puts you in control of your money ",-1))]),f(o)?(v(),x("div",GJ,[a("div",YJ,[y[13]||(y[13]=a("h3",{class:"text-lg font-medium text-zinc-800"},"Understanding the Infinite Banking Concept",-1)),a("button",{class:"text-zinc-400 hover:text-zinc-600 p-1",onClick:y[1]||(y[1]=(..._)=>f(s)&&f(s)(..._))},y[12]||(y[12]=[a("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-5 w-5",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[a("path",{d:"M18 6 6 18"}),a("path",{d:"m6 6 12 12"})],-1)]))]),y[14]||(y[14]=a("p",{class:"text-zinc-600 mb-3"}," The Infinite Banking Concept (IBC) is a financial strategy that allows you to become your own banker by utilizing a specially designed dividend-paying whole life insurance policy. Here's how it works: ",-1)),y[15]||(y[15]=a("ol",{class:"list-decimal pl-5 space-y-2 text-zinc-600 mb-3"},[a("li",null,"You fund a high cash value whole life insurance policy that grows tax-free"),a("li",null,"You can borrow against the policy's cash value while it continues to grow"),a("li",null,"You control the lending terms when you borrow from your policy"),a("li",null,"Your policy continues earning dividends even on the amount you've borrowed"),a("li",null,"The death benefit provides a tax-free legacy for your beneficiaries")],-1)),y[16]||(y[16]=a("p",{class:"text-zinc-600"}," The IBC strategy can complement your debt payment plan by providing a growing pool of capital that you control, creating financial flexibility beyond debt freedom. ",-1))])):D("",!0),a("div",KJ,[y[30]||(y[30]=a("h3",{class:"text-lg font-medium text-zinc-800 mb-4"},"Enter Your Information",-1)),a("div",QJ,[a("div",null,[y[17]||(y[17]=a("label",{class:"block text-sm font-medium text-zinc-700 mb-1"},"Age",-1)),a("input",{type:"number",min:"18",max:"90",value:f(t).age,class:"dfl-input",onInput:y[2]||(y[2]=_=>f(r)("age",parseInt(_.target.value)||35))},null,40,XJ)]),a("div",null,[y[19]||(y[19]=a("label",{class:"block text-sm font-medium text-zinc-700 mb-1"},"Gender",-1)),a("select",{value:f(t).gender,class:"dfl-input",onChange:y[3]||(y[3]=_=>f(r)("gender",_.target.value))},y[18]||(y[18]=[a("option",{value:"male"},"Male",-1),a("option",{value:"female"},"Female",-1),a("option",{value:"other"},"Other/Prefer not to say",-1)]),40,JJ)]),a("div",null,[y[21]||(y[21]=a("label",{class:"block text-sm font-medium text-zinc-700 mb-1"},"Health Class",-1)),a("select",{value:f(t).healthClass,class:"dfl-input",onChange:y[4]||(y[4]=_=>f(r)("healthClass",_.target.value))},y[20]||(y[20]=[a("option",{value:"preferred_plus"},"Preferred Plus",-1),a("option",{value:"preferred"},"Preferred",-1),a("option",{value:"standard_plus"},"Standard Plus",-1),a("option",{value:"standard"},"Standard",-1)]),40,ZJ)])]),a("div",eZ,[y[29]||(y[29]=a("h4",{class:"font-medium text-zinc-800 mb-2"},"Monthly IBC Contribution",-1)),a("div",tZ,[a("label",nZ,[a("input",{type:"checkbox",checked:c.value,class:"h-4 w-4 mr-2 rounded border-zinc-300",onChange:m},null,40,oZ),y[22]||(y[22]=T(" Use recommended amount (75% of discretionary income + debt overpayments) "))]),a("button",{class:"text-[#004641] hover:text-blue-700 text-sm font-medium flex items-center",onClick:y[5]||(y[5]=_=>d.value=!d.value)},y[23]||(y[23]=[T(" Do I have to use 75%? "),a("svg",{xmlns:"http://www.w3.org/2000/svg",class:"ml-1 h-4 w-4",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[a("circle",{cx:"12",cy:"12",r:"10"}),a("path",{d:"M12 16v-4"}),a("path",{d:"M12 8h.01"})],-1)]))]),d.value?(v(),x("div",rZ,[a("div",aZ,[y[25]||(y[25]=a("h4",{class:"text-md font-medium text-zinc-800"},"Do I have to use 75%?",-1)),a("button",{class:"text-zinc-400 hover:text-zinc-600 p-1",onClick:y[6]||(y[6]=_=>d.value=!1)},y[24]||(y[24]=[a("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-5 w-5",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[a("path",{d:"M18 6 6 18"}),a("path",{d:"m6 6 12 12"})],-1)]))]),y[26]||(y[26]=js('<div class="text-sm text-zinc-600 space-y-3" data-v-a87fe716><p class="font-medium" data-v-a87fe716>Absolutely not. You&#39;re in control.</p><p data-v-a87fe716>But take a second and ask yourself: What does your regular bank do with the money you deposit?</p><p data-v-a87fe716>
129They lend it out, charge interest, and make profits off your dollars.</p><p data-v-a87fe716>Now imagine flipping that script.</p><p data-v-a87fe716>By funding your own personal bank (via your IBC policy), you become the one earning interest. And here&#39;s the best part: this isn&#39;t money you&#39;re taking from your necessities — this is made up of:</p><ul class="list-disc pl-5 space-y-1" data-v-a87fe716><li data-v-a87fe716>What&#39;s left after covering your expenses</li><li data-v-a87fe716>Any extra payments you were already sending to lenders</li></ul><p class="font-medium" data-v-a87fe716>So the real question is: how much control do you want to take back?</p><p data-v-a87fe716>You can adjust the amount anytime to what feels comfortable for you using the box provided.</p></div>',1))])):D("",!0),a("div",sZ,[a("div",iZ,[a("div",lZ,[a("input",{type:"number",min:"0",value:f(t).monthlyContribution,disabled:c.value,class:"dfl-input",onInput:y[7]||(y[7]=_=>{f(r)("monthlyContribution",parseFloat(_.target.value)||0),c.value=!1})},null,40,uZ)])]),a("div",cZ,[y[27]||(y[27]=a("p",{class:"text-sm text-zinc-600"},"Recommended Amount:",-1)),a("p",dZ,V(f(En)(u.value)),1),y[28]||(y[28]=a("p",{class:"text-xs text-zinc-500"},"75% of discretionary income + debt overpayments",-1))])])])]),a("div",fZ,[y[38]||(y[38]=a("h3",{class:"text-lg font-medium text-zinc-800 mb-4"},"Your IBC Policy Summary",-1)),a("div",pZ,[a("div",mZ,[y[31]||(y[31]=a("p",{class:"text-sm text-zinc-500 mb-1"},"Monthly Contribution",-1)),a("p",hZ,V(f(En)(f(t).monthlyContribution)),1),y[32]||(y[32]=a("p",{class:"text-xs text-zinc-500 mt-1"},"To your IBC policy",-1))]),a("div",gZ,[y[33]||(y[33]=a("p",{class:"text-sm text-zinc-500 mb-1"},"5-Year Cash Value",-1)),a("p",vZ,V(f(En)(h.value)),1),y[34]||(y[34]=a("p",{class:"text-xs text-zinc-500 mt-1"},"Available for policy loans",-1))]),a("div",yZ,[y[35]||(y[35]=a("p",{class:"text-sm text-zinc-500 mb-1"},"10-Year Cash Value",-1)),a("p",bZ,V(f(En)(g.value)),1),y[36]||(y[36]=a("p",{class:"text-xs text-zinc-500 mt-1"},"Growing wealth while paying off debt",-1))])]),y[39]||(y[39]=js('<div class="bg-[#DAF3F0] p-4 rounded-lg border border-blue-100" data-v-a87fe716><h4 class="text-md font-medium text-zinc-800 mb-2" data-v-a87fe716>Key Benefits</h4><ul class="list-disc pl-5 space-y-1 text-sm text-zinc-600" data-v-a87fe716><li data-v-a87fe716>Tax-free growth and tax-free access to your money</li><li data-v-a87fe716>Uninterrupted compound growth even when borrowing</li><li data-v-a87fe716>Protection from market volatility and creditors</li><li data-v-a87fe716>Legacy benefit for your family</li><li data-v-a87fe716>Financial control without dependence on banks</li></ul></div><div class="mt-6 bg-yellow-50 border-l-4 border-yellow-400 p-4" data-v-a87fe716><div class="flex" data-v-a87fe716><svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 text-yellow-400 flex-shrink-0" viewBox="0 0 20 20" fill="currentColor" data-v-a87fe716><path fill-rule="evenodd" d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a1 1 0 000 2v3a1 1 0 001 1h1a1 1 0 100-2v-3a1 1 0 00-1-1H9z" clip-rule="evenodd" data-v-a87fe716></path></svg><p class="ml-3 text-sm text-yellow-700" data-v-a87fe716> This is a simplified projection. For a personalized policy illustration tailored to your specific situation, please book a free strategy call with our team. </p></div></div>',2)),a("div",wZ,[a("button",{class:"dfl-btn-primary",onClick:y[8]||(y[8]=_=>b.$emit("continue"))},y[37]||(y[37]=[a("span",null,"Continue to See the Impact",-1),a("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-5 w-5 ml-2",viewBox:"0 0 20 20",fill:"currentColor"},[a("path",{"fill-rule":"evenodd",d:"M10.293 5.293a1 1 0 011.414 0l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414-1.414L12.586 11H5a1 1 0 110-2h7.586l-2.293-2.293a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1)]))])])])]))}}),ZS=Zn(_Z,[["__scopeId","data-v-a87fe716"]]),xZ=Object.freeze(Object.defineProperty({__proto__:null,default:ZS},Symbol.toStringTag,{value:"Module"}));function SZ(){const{state:e,updateIBCDebtSettings:t}=bf(),n=M({traditionalPayoffMonths:0,traditionalTotalInterestPaid:0,traditionalMonthlyPayment:0,traditionalDebtFreeDate:"",ibcPayoffMonths:0,ibcTotalInterestPaid:0,ibcMonthlyPayment:0,ibcDebtFreeDate:"",ibcPolicyValue:0,ibcTotalSavings:0,projectionAt20Years:0,projectionAt30Years:0,projectionAt40Years:0});function o(r,s,i,l,u,c,d,p){const m=l.length,h=u.debtFreeDate,g=u.monthlyPayment,b=l.reduce((W,re)=>
129W+re.interestPaid,0),y=c.length>0?c[0].annualPremium/12:0,_=.05,A=JSON.parse(JSON.stringify(r));s==="snowball"?A.sort((W,re)=>W.balance-re.balance):A.sort((W,re)=>re.interestRate-W.interestRate);let k=0,E=0,I=A.reduce((W,re)=>W+re.balance,0);const F=new Date;let P=0,B=0;const O=y,j=[];for(;I>0&&k<360;){if(k++,k<=12)P+=O;else{P=P*(1+.00375)+O;const ne=Math.max(0,P*.9-B);if(p.useIBCForDebtAcceleration&&ne>0){const z=A.find(N=>N.balance>0);if(z){const N=Math.min(z.balance,ne);z.balance-=N,B+=N}}}let W=0;for(const oe of A){if(oe.balance<=0)continue;const ne=oe.balance*(oe.interestRate/100/12);W+=ne;const z=oe.actualPayment||oe.minimumPayment,N=Math.min(z,oe.balance+ne);oe.balance=Math.max(0,oe.balance+ne-N)}for(const oe of A)if(oe.balance>0){const ne=Math.min(i,oe.balance);oe.balance-=ne;break}if(E+=W,B*=1+_/12,B>0){const oe=Math.min(O*.5,B);B-=oe}I=A.reduce((oe,ne)=>oe+ne.balance,0);const re=new Date(F.getFullYear(),F.getMonth()+k,F.getDate()).toLocaleDateString("en-US",{year:"numeric",month:"short"});j.push({month:k,date:re,remainingDebt:I,ibcPolicyValue:P,ibcLoanBalance:B})}const G=I<=0&&j.length>0?j[j.length-1].date:"More than 30 years",Q=Math.max(0,b-E);function Y(W){let re=P;const oe=.045/12,ne=W*12,z=Math.max(0,ne-k);for(let N=0;N<z;N++)re=re*(1+oe)+g;return re}n.value={traditionalPayoffMonths:m,traditionalTotalInterestPaid:b,traditionalMonthlyPayment:g,traditionalDebtFreeDate:h,ibcPayoffMonths:k,ibcTotalInterestPaid:E,ibcMonthlyPayment:g,ibcDebtFreeDate:G,ibcPolicyValue:P,ibcTotalSavings:Q,projectionAt20Years:Y(20),projectionAt30Years:Y(30),projectionAt40Years:Y(40)}}return{ibcDebtSettings:e.ibcDebtSettings,integratedSummary:n,calculateIntegratedResults:o,updateIBCDebtSettings:(r,s)=>{t(r,s)}}}const CZ={class:"mb-8"},kZ={class:"dfl-card"},$Z={class:"p-6 border-b border-zinc-100"},AZ={class:"bg-[#DAF3F0] rounded-lg p-4 mb-4"},TZ={class:"grid grid-cols-1 md:grid-cols-2 gap-6 mb-3"},EZ={class:"bg-white rounded-lg p-3 border border-blue-100"},PZ={class:"text-xl font-bold text-[#0f172a]"},OZ={class:"bg-white rounded-lg p-3 border border-blue-100"},IZ={class:"text-xl font-bold text-green-600"},DZ={class:"bg-white p-3 rounded-lg border border-blue-100"},MZ={class:"text-sm text-zinc-600"},RZ={class:"p-6"},LZ={class:"grid grid-cols-1 md:grid-cols-2 gap-6 mb-6"},VZ={class:"border border-zinc-200 rounded-lg shadow-sm overflow-hidden"},BZ={class:"p-4 space-y-4"},FZ={class:"text-2xl font-bold text-zinc-800"},NZ={class:"text-2xl font-bold text-red-600"},zZ={class:"text-2xl font-bold text-zinc-800"},jZ={class:"text-2xl font-bold text-zinc-800"},UZ={class:"border-2 border-[#0f172a] rounded-lg shadow-md overflow-hidden"},HZ={class:"bg-blue-50 p-4 border-b border-[#0f172a]"},WZ={class:"text-sm text-zinc-500"},qZ={class:"p-4 space-y-4"},GZ={class:"text-2xl font-bold text-[#0f172a]"},YZ={key:0,class:"text-xs text-green-600"},KZ={class:"text-2xl font-bold text-[#0f172a]"},QZ={class:"text-xs text-green-600"},XZ={class:"text-2xl font-bold text-zinc-800"},JZ={class:"text-2xl font-bold text-[#0f172a]"},ZZ={class:"text-2xl font-bold text-green-600"},eee={class:"mt-8"},tee={class:"grid grid-cols-1 md:grid-cols-3 gap-6 mb-6"},nee={class:"shadow-sm border border-zinc-200 rounded-lg overflow-hidden"},oee={class:"p-4 text-center"},ree={class:"text-3xl font-bold text-[#0f172a]"},aee={class:"shadow-sm border-2 border-[#0f172a] rounded-lg overflow-hidden"},see={class:"p-4 text-center"},iee={class:"text-3xl font-bold text-[#0f172a]"},lee={class:"shadow-sm border border-zinc-200 rounded-lg overflow-hidden"},uee={class:"p-4 text-center"},cee={class:"text-3xl font-bold text-[#0f172a]"},dee={class:"flex justify-end mt-6"},fee=$e({__name:"IntegratedCalculator",emits:["connect"],setup(e){const{debts:t,calculationMethod:n,additionalPayment:o,timelineData:r,debtSummary:s}=QS(),{ibcInfo:i,ibcProjection:l,ibcSummary:u}=JS(),{ibcDebtSettings:c,integratedSummary:d,calculateIntegratedResults:p}=SZ();return we([t,n,o,r,l,c,()=>i.monthlyContribution,s],()=>{t.value.length>0&&l.value.length>0&&p(t.value,n.value,o.value,r.value,s.value,l.value,u.value,c)},{deep:!0,immediate:!0}),(m,h)=>(v(),x("section",CZ,[a("div",kZ,[h[30]||(h[30]=a("div",{class:"dfl-card-header"},[a("h2",{class:"text-xl font-bold text-white"},"3. See the Impact"),a("p",{class:"text-sm text-blue-100"}," Compare strategies and see how IBC accelerates your path to financial freedom ")],-1)),a("div",$Z,[h[6]||(h[6]=a("h3",{class:"text-lg font-medium text-zinc-800 mb
129-4"},"Your Configured Strategy",-1)),a("div",AZ,[a("div",TZ,[a("div",null,[h[2]||(h[2]=a("div",{class:"flex items-center mb-1"},[a("div",{class:"w-4 h-4 rounded-full bg-blue-500 mr-2"}),a("span",{class:"font-medium text-zinc-800"},"IBC Monthly Contribution")],-1)),a("div",EZ,[a("p",PZ,V(f(En)(f(i).monthlyContribution)),1),h[1]||(h[1]=a("p",{class:"text-xs text-zinc-500 mt-1"},"From your IBC calculator settings",-1))])]),a("div",null,[h[4]||(h[4]=a("div",{class:"flex items-center mb-1"},[a("div",{class:"w-4 h-4 rounded-full bg-green-500 mr-2"}),a("span",{class:"font-medium text-zinc-800"},"Debt Payoff Strategy")],-1)),a("div",OZ,[a("p",IZ," IBC + "+V(f(n)==="snowball"?"Snowball":"Avalanche")+" Debt Strategy ",1),h[3]||(h[3]=a("p",{class:"text-xs text-zinc-500 mt-1"},"Using policy loans to accelerate debt freedom",-1))])])]),a("div",DZ,[a("p",MZ,[h[5]||(h[5]=a("span",{class:"font-medium"},"How it works:",-1)),T(" This strategy redirects a portion of your discretionary income and debt overpayments to a high cash value IBC policy funded with "+V(f(En)(f(i).monthlyContribution))+" per month. You'll be able to leverage your growing policy cash value to eliminate high-interest debts faster, while building wealth that continues growing even after you're debt-free. ",1)])])])]),a("div",RZ,[h[28]||(h[28]=a("h3",{class:"text-lg font-medium text-zinc-800 mb-4"},"Compare Strategies",-1)),a("div",LZ,[a("div",VZ,[h[12]||(h[12]=a("div",{class:"bg-zinc-50 p-4 border-b border-zinc-200"},[a("h3",{class:"text-lg font-medium text-zinc-800"},"Standard Approach"),a("p",{class:"text-sm text-zinc-500"},"Using Your Current Overpayments")],-1)),a("div",BZ,[a("div",null,[h[7]||(h[7]=a("p",{class:"text-sm text-zinc-500"},"Time to Debt Freedom",-1)),a("p",FZ,V(f(Fp)(f(d).traditionalPayoffMonths)),1)]),a("div",null,[h[8]||(h[8]=a("p",{class:"text-sm text-zinc-500"},"Total Interest Paid",-1)),a("p",NZ,V(f(En)(f(d).traditionalTotalInterestPaid)),1)]),a("div",null,[h[9]||(h[9]=a("p",{class:"text-sm text-zinc-500"},"Monthly Loan Repayment",-1)),a("p",zZ,V(f(En)(f(d).traditionalMonthlyPayment)),1)]),a("div",null,[h[10]||(h[10]=a("p",{class:"text-sm text-zinc-500"},"Debt-Free Date",-1)),a("p",jZ,V(f(d).traditionalDebtFreeDate),1)]),h[11]||(h[11]=a("div",null,[a("p",{class:"text-sm text-zinc-500"},"Assets After Debt Freedom"),a("p",{class:"text-2xl font-bold text-zinc-400"},"$0"),a("p",{class:"text-xs text-zinc-500"},"No wealth-building during debt payoff")],-1))])]),a("div",UZ,[a("div",HZ,[h[13]||(h[13]=a("h3",{class:"text-lg font-medium text-[#0f172a]"},"Debt Elimination Approach",-1)),a("p",WZ," Using IBC + "+V(f(n)==="snowball"?"Snowball":"Avalanche")+" Debt Strategy ",1)]),a("div",qZ,[a("div",null,[h[14]||(h[14]=a("p",{class:"text-sm text-zinc-500"},"Time to Debt Freedom",-1)),a("p",GZ,V(f(Fp)(f(d).ibcPayoffMonths)),1),f(d).traditionalPayoffMonths>f(d).ibcPayoffMonths?(v(),x("p",YZ,V(f(Fp)(f(d).traditionalPayoffMonths-f(d).ibcPayoffMonths))+" sooner! ",1)):D("",!0)]),a("div",null,[h[15]||(h[15]=a("p",{class:"text-sm text-zinc-500"},"Total Interest Paid",-1)),a("p",KZ,V(f(En)(f(d).ibcTotalInterestPaid)),1),a("p",QZ,"Save "+V(f(En)(f(d).ibcTotalSavings))+"!",1)]),a("div",null,[h[16]||(h[16]=a("p",{class:"text-sm text-zinc-500"},"Monthly Loan Repayment",-1)),a("p",XZ,V(f(En)(f(d).ibcMonthlyPayment)),1)]),a("div",null,[h[17]||(h[17]=a("p",{class:"text-sm text-zinc-500"},"Debt-Free Date",-1)),a("p",JZ,V(f(d).ibcDebtFreeDate),1)]),a("div",null,[h[18]||(h[18]=a("p",{class:"text-sm text-zinc-500"},"IBC Policy Value at Debt Freedom",-1)),a("p",ZZ,V(f(En)(f(d).ibcPolicyValue)),1),h[19]||(h[19]=a("p",{class:"text-xs text-green-600"},"Growing wealth while eliminating debt",-1))])])])]),a("div",eee,[h[26]||(h[26]=a("h3",{class:"text-lg font-medium text-zinc-800 mb-4"},"Long-Term Wealth Projections",-1)),a("div",tee,[a("div",nee,[h[21]||(h[21]=a("div",{class:"bg-zinc-50 p-4 border-b border-zinc-200 text-center"},[a("h4",{class:"text-lg font-medium text-zinc-800"},"20 Years")],-1)),a("div",oee,[a("p",ree,V(f(En)(f(d).projectionAt20Years)),1),h[20]||(h[20]=a("p",{class:"text-sm text-zinc-500 mt-2"},"Projected IBC Policy Value",-1))])]),a("div",aee,[h[23]||(h[23]=a("div",{class:"bg-blue-50 p-4 border-b border-[#0f172a] text-center"},[a("h4",{class:"text-lg font-medium text-[#0f172a]"},"30 Years")],-1)),a("div",see,[a("p",iee,V(f(En)(f(d).projectionAt30Years)),1),h[22]||(h[22]=a("p",{class:"text-sm text-zinc-500 mt-2"},"Projected IBC Policy Value",-1))])]),a("div",lee,[h[25]||(h[25]=a("div",{class:"bg-zinc-50 p-4 border-b border-zinc-200 text-center"},[a("h4",{class:"text-lg font-medium text-zinc-800"},"40 Years")],-1)),a("div",uee,[a("p",cee,V(f(En)(f(d).projectionAt40Years)),1),h[24]||(h[24]=a("p",{class:"text-sm text-zinc-500 mt-2"},"Projected IBC Policy Value",-1))])])])]),h[29]||(h[29]=js('<div class="mt-6 bg-[#DAF3F0] p-5 rounded-lg border border-blue-200" data-v-83ed4c2d><div class="text-sm text-zinc-600" data-v-83ed4c2d><p class="font-medium mb-2" data-v-83ed4c2d>How the Debt Elimination Approach Works:</p><ol class="list-decimal pl-5 space-y-1" data-v-83ed4c2d><li data-v-83ed4c2d>You establish an IBC policy using part of your discretionary income</li><li data-v-83ed4c2d>After a year, you leverage your growing policy cash value to eliminate high-interest debt</li><li data-v-83ed4c2d>You repay policy loans (to yourself) at a lower interest rate than your consumer debt</li><li data-v-83ed4c2d>Your policy continues to grow even while you&#39;re using it to eliminate debt</li><li data-v-83ed4c2d>When your debt is paid off, you own a valuable financial asset that keeps growing</li></ol></div></div><div class="mt-6 bg-[#DAF3F0] p-6 rounded-lg border border-blue-100" data-v-83ed4c2d>
129<h4 class="text-md font-medium text-zinc-800 mb-3" data-v-83ed4c2d>What You Can Do With Your IBC Policy</h4><div class="grid grid-cols-1 md:grid-cols-2 gap-4" data-v-83ed4c2d><div class="bg-white p-4 rounded-lg border border-blue-100" data-v-83ed4c2d><h5 class="font-medium text-[#0f172a] mb-2" data-v-83ed4c2d>During Working Years</h5><ul class="list-disc pl-5 space-y-1 text-sm text-zinc-600" data-v-83ed4c2d><li data-v-83ed4c2d>Finance major purchases without using banks</li><li data-v-83ed4c2d>Create an accessible emergency fund</li><li data-v-83ed4c2d>Invest in business opportunities</li><li data-v-83ed4c2d>Fund education for children/grandchildren</li><li data-v-83ed4c2d>Generate tax-advantaged passive income</li></ul></div><div class="bg-white p-4 rounded-lg border border-blue-100" data-v-83ed4c2d><h5 class="font-medium text-[#0f172a] mb-2" data-v-83ed4c2d>During Retirement</h5><ul class="list-disc pl-5 space-y-1 text-sm text-zinc-600" data-v-83ed4c2d><li data-v-83ed4c2d>Supplement retirement income tax-free</li><li data-v-83ed4c2d>Create a family banking system</li><li data-v-83ed4c2d>Leave a tax-free legacy for heirs</li><li data-v-83ed4c2d>Provide long-term care funding if needed</li><li data-v-83ed4c2d>Maintain control of your money throughout life</li></ul></div></div><div class="mt-4 text-sm text-zinc-600" data-v-83ed4c2d><p class="font-medium" data-v-83ed4c2d>The IBC Advantage:</p><p data-v-83ed4c2d> Unlike other financial products, an IBC policy gives you <span class="font-medium" data-v-83ed4c2d>uninterrupted compound growth</span> even when you&#39;re using your money. You maintain liquidity, use, and control of your capital while it continues to grow. </p></div></div>',2)),a("div",dee,[a("button",{class:"dfl-btn-primary",onClick:h[0]||(h[0]=g=>m.$emit("connect"))},h[27]||(h[27]=[a("span",null,"Connect with an agent",-1),a("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-5 w-5 ml-2",viewBox:"0 0 20 20",fill:"currentColor"},[a("path",{"fill-rule":"evenodd",d:"M10.293 5.293a1 1 0 011.414 0l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414-1.414L12.586 11H5a1 1 0 110-2h7.586l-2.293-2.293a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1)]))])])])]))}}),eC=Zn(fee,[["__scopeId","data-v-83ed4c2d"]]),pee=Object.freeze(Object.defineProperty({__proto__:null,default:eC},Symbol.toStringTag,{value:"Module"})),mee={class:"dfl-calculator-wrapper bg-zinc-50 p-4"},hee={class:"dfl-calculator-container"},gee={class:"dfl-tabs-bar"},vee={class:"dfl-tabs-list"},yee=["onClick"],bee={class:"dfl-tab-content"},wee=$e({__name:"DflCalculator",emits:["connect"],setup(e){const t=M(0),n=["1. Determine Your Debt Strategy","2. Build Your Own Bank","3. See the Impact"];function o(r){t.value=r;const s=document.querySelector(".dfl-tab-content");s&&(s.scrollTop=0)}return(r,s)=>(v(),x("div",mee,[a("div",hee,[a("div",gee,[a("div",vee,[(v(),x(de,null,Be(n,(i,l)=>a("button",{key:l,class:xe(["dfl-tab-trigger",{"dfl-tab-active":t.value===l}]),onClick:u=>o(l)},V(i),11,yee)),64))])]),a("div",bee,[t.value===0?(v(),X(XS,{key:0,onContinue:s[0]||(s[0]=i=>o(1))})):D("",!0),t.value===1?(v(),X(ZS,{key:1,onContinue:s[1]||(s[1]=i=>o(2))})):D("",!0),t.value===2?(v(),X(eC,{key:2,onConnect:s[2]||(s[2]=i=>r.$emit("connect"))})):D("",!0)])])]))}}),tC=Zn(wee,[["__scopeId","data-v-6c05d61b"]]),_ee=Object.freeze(Object.defineProperty({__proto__:null,default:tC},Symbol.toStringTag,{value:"Module"})),xee={class:"flex flex-col items-end pt-4 border-t border-gray-200 mt-4"},See={key:0,class:"text-xs text-gray-500 text-center w-full mt-2"},nC=$e({__name:"DisclaimerModal",props:{modelValue:{type:Boolean}},emits:["update:modelValue","accept"],setup(e,{emit:t}){const n=t,o=M(!1);function r(i){const l=i.target;l.scrollTop+l.clientHeight>=l.scrollHeight-10&&(o.value=!0)}function s(){n("accept"),n("update:modelValue",!1)}return(i,l)=>{const u=he("VaButton"),c=he("VaModal");return v(),X(c,{"model-value":i.modelValue,"hide-default-actions":"","no-outside-dismiss":"","no-esc-dismiss":"",size:"medium",class:"disclaimer-modal"},{default:$(()=>[l[2]||(l[2]=a("div",{class:"disclaimer-header flex items-center gap-2 mb-2"},[a("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-6 w-6 text-amber-500 shrink-0",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[a("path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z"}),a("path",{d:"M12 9v4"}),a("path",{d:"M12 17h.01"})]),a("h2",{class:"text-xl font-bold"},"Important Disclaimer")],-1)),l[3]||(l[3]=a("p",{class:"text-base text-gray-600 mb-4"}," Please read the following disclaimer carefully before using the debt elimination tools. ",-1)),a("div",{class:"disclaimer-scroll-area overflow-y-auto max-h-96 pr-4 space-y-4",onScroll:r},l[0]||(l[0]=[a("div",{class:"border border-amber-200 bg-amber-50 rounded-lg p-3 flex items-start gap-2"},[a("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-4 w-4 text-amber-600 mt-0.5 shrink-0",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[a("path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z"}),a("path",{d:"M12 9v4"}),a("path",{d:"M12 17h.01"})]),a("p",{class:"text-amber-800 text-sm"},[a("strong",null,"Educational Tool Only:"),T(" This calculator is for educational and illustrative purposes only. ")])],-1),a("div",{class:"space-y-3 text-sm text-gray-700"},[a("p",null," This calculator, including any estimates and amounts, provides only an example and is not a guarantee of future performance or results with respect to debt or any product. The calculator uses estimates based on the specific information you have provided regarding your current financial and debt situation. Variation to this information and/or changes in your financial situation may cause significant variations in the estimates. The calculator provides only broad, general estimates that may be helpful in informing decisions about your current debt situation. "),a("p",null," The results of this calculator are provided for illustrative purposes only and is not a solicitation or an offer to buy or sell a security or instrument or participate in any trading/investment strategy. Nothing produced by this calculator or any materials related hereto may be construed as tax, legal, financial or accounting advice. You should only make investment decisions after you discuss your personal financial situation with experienced tax, legal, financial and accounting advisors. "),a("p",null," Nothing contained in the results of the calculator are intended to be used for the purpose of avoiding penalties that may be imposed under the Internal Revenue Code. Payment of income taxes is not included in results of the calculator and does not reflect the impact of federal or state income taxes. You should seek the advice of an independent tax advisor with respect to all tax matters. "),a("p",null," Whole life insurance products primarily provide life insurance protection and are not a debt elimination or debt reduction product or plan. These life insurance products may build a cash value and may pay a death benefit upon the death of the insured person, subject to the specific terms of the insurance contract. "),a("p",null," The results of this calculator are not intended to provide or indicate any guarantee of premium amounts, values or benef
129its. Please consult the specific product illustration prepared for you by a licensed insurance agent for the applicable guaranteed and non-guaranteed values of any product. "),a("p",null," Depending on the terms of the life insurance contract, loans may be taken against the life insurance contract available cash value. The death benefit payable is reduced by the outstanding loan amount (inclusive of accrued interest). If the loan amount exceeds the cash value plus (if any) the present value of the paid-up additions (if any) and the amount of dividends on deposit (if any) the insurance contract may terminate or convert to reduced paid-up life insurance. Additionally, withdrawals of available cash (i.e. net of the loan amount) may require canceling some or all of the life insurance coverage. "),a("p",null," Debt Free Life is not associated with, offered, nor endorsed or sponsored by, any entity that underwrites or issues life insurance. "),a("p",{class:"font-medium text-gray-800"},' By clicking "I Understand and Accept" below, you acknowledge that you have read, understood, and agree to this disclaimer. ')],-1)]),32),a("div",xee,[C(u,{disabled:!o.value,"data-cta-id":"dfl-disclaimer-accept",onClick:s},{default:$(()=>l[1]||(l[1]=[T(" I Understand and Accept ")])),_:1,__:[1]},8,["disabled"]),o.value?D("",!0):(v(),x("p",See," Please scroll to the bottom to continue "))])]),_:1,__:[2,3]},8,["model-value"])}}}),Cee=Object.freeze(Object.defineProperty({__proto__:null,default:nC},Symbol.toStringTag,{value:"Module"})),kee={class:"testimonial"},$ee={class:"iframe-container mb-5 rounded-[15px] overflow-hidden",style:{position:"relative",width:"100%",height:"0","padding-bottom":"56.25%"}},Aee=["src","title"],Tee={class:"body-25 bold mb-4"},Eee={class:"body-20"},oC=$e({__name:"Testimonials",props:{testimonials:Array},setup(e){return(t,n)=>(v(!0),x(de,null,Be(e.testimonials,o=>(v(),x("div",{key:o.id,class:"testimonial-container column lg:basis-1/3 xl:px-[5%] lg:px-[2.5%] content-start pb-10 mb-10"},[a("div",kee,[a("div",$ee,[a("iframe",{style:{position:"absolute",top:"0",left:"0",width:"100%",height:"100%"},src:o.video,title:o.title+" testimonial video",allowfullscreen:"",loading:"lazy"},null,8,Aee)]),a("h3",Tee,V(o.title),1),a("p",Eee,V(o.description),1)])]))),128))}}),Pee=Object.freeze(Object.defineProperty({__proto__:null,default:oC},Symbol.toStringTag,{value:"Module"})),Np="pathfinder-disclaimer-accepted";function Oee(){const e=M(!1),t=M(!0);rt(()=>{e.value=localStorage.getItem(Np)==="true",t.value=!1});function n(){localStorage.setItem(Np,"true"),e.value=!0}function o(){localStorage.removeItem(Np),e.value=!1}return{hasAccepted:e,isLoading:t,accept:n,reset:o}}const Iee=[{id:1,video:"https://fast.wistia.net/embed/iframe/hi9xgsh7vd?version=v1&amp;controls=1&amp;autoplay=0",title:"Luke + Jennifer",description:"Before Debt Free Life, Luke and Jennifer were in debt for 22.5 years. Now they will be debt free in 7 years."},{id:2,video:"https://fast.wistia.net/embed/iframe/3mvr4bi136?version=v1&amp;controls=1&amp;autoplay=0",title:"Alejandra",description:"With Debt Free Life, Alejandra will save over $100,000 in interest and become debt free in 3.6 years."},{id:3,video:"https://fast.wistia.net/embed/iframe/ilmsvhrmle?version=v1&amp;controls=1&amp;autoplay=0",title:"The Dillworths",description:"Thanks to Debt Free Life, the Dillworths will eliminate their debt in 6.5 years and save over $108,000 in interest."}],Dee={class:"flex sm:flex-nowrap flex-wrap sm:gap-x-[10%] sm:gap-y-0 gap-y-10"},Mee={class:"column sm:basis-1/2 content-center"},Ree={class:"button-container text-center"},Lee={class:"flex flex-wrap xl:-mx-[5%] lg:-mx-[2.5%] mt-[-170px]"},Vee={class:"container border-[3px] border-secondary p-10 md:mb-[8em] md:mt-0 mt-[-4em]"},Bee={class:"button-container text-center"},Fee={class:"posts-grid flex xl:flex-row flex-col flex-wrap xl:gap-x-[4%] pt-[3em]"},Nee=["href"],zee=["src","alt"],jee=["innerHTML"],Uee={class:"body-25 bold mb-3"},Hee=["href"],Wee={class:"post-meta flex flex-row mb-[1em] line-height-[1em]"},qee={key:0,class:"published-date body-15 light text-medgray pr-[15px] mr-[15px] border-r-[1px] border-medgray"},Gee={key:1,class:"read-time body-15 light text-medgray"},Yee={class:"body-17 light mb-10"},Kee=["href"],Qee={class:"container border-[3px] border-secondary p-10 mt-10 mb-[4em]"},Xee={class:"button-container text-center pb-10"},Jee={__name:"DebtFreeLife",props:{oc_site:Object,page:Object,posts:Object},setup(e){M(0);const t=M(!1),n=M(!1),o=M(!1),r=M(!1),{hasAccepted:s,accept:i}=Oee();function l(){s.value?n.value=!0:o.value=!0}function u(){i(),o.value=!1,n.value=!0}return we(n,c=>{c||(r.value=!1)}),(c,d)=>{const p=he("VaButton"),m=he("VaIcon");return v(),X(On,null,{default:$(()=>[C(fr,{color:"white","image-url":"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/10c4d987-1566-4545-40ff-c1959e029800/public","image-alt":"Parents holding their young child"},{default:$(()=>[d[9]||(d[9]=a("img",{class:"xl:max-w-[26.25vw] md:max-w-[504px] max-w-[100%] h-auto mb-[1.5em]",src:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/8ee30ed1-9937-435c-de34-073dad97b900/public"},null,-1)),d[10]||(d[10]=a("h1",{class:"body-35 light"},[T("Pay off debt and achieve "),a("br",{class:"md:block hidden"}),T("your financial goals.")],-1)),C(p,{class:"mt-[2.5rem] cta",preset:"alternative","data-cta-id":"dfl-hero-get-connected",onClick:d[0]||(d[0]=h=>t.value=!t.value)},{default:$(()=>d[8]||(d[8]=[T(" Get Connected ")])),_:1,__:[8]})]),_:1,__:[9,10]}),C(St,{color:"lightgray",class:"py-5 md:mb-10"},{default:$(()=>[d[15]||(d[15]=a("h2",{class:"section-heading body-35 bold"},[T("What is Debt Free Life"),a("sup",null,"®"),T(" ? "),a("div",{class:"divider-element bg-secondary"})],-1)),a("div",Dee,[a("div",Mee,[d[12]||(d[12]=a("p",null,"Debt Free Life is a modern way to pay off your debt using the cash value of a specialized whole life insurance policy. As your cash value grows, you can eliminate all your debt incrementally and save the balance for retirement – without spending any additional money.",-1)),d[13]||(d[13]=a("p",{class:"mt-[1em]"},"With Debt Free Life, you can create a long-lasting legacy for your family by achieving financial freedom and retiring with tax-favored income.",-1)),C(p,{class:"mt-[2em]",preset:"alternative","data-cta-id":"dfl-open-calculator",onClick:l},{default:$(()=>d[11]||(d[11]=[T(" See your personal Debt Free Life plan ")])),_:1,__:[11]})]),d[14]||(d[14]=a("div",{class:"column sm:basis-1/2 pb-10"},[a("img",{src:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/00d35384-1d06-44e8-cb9e-1bb3078e8800/public",alt:'A smiling couple holding a sign that says "Debt Free in 7 years"'})],-1))])]),_:1,__:[15]}),C(St,{color:"white",class:"py-5 md:mb-10"},{default:$(()=>d[16]||(d[16]=[a("h2",{class:"section-heading body-35 bold"},[T("With Debt Free Life"),a("sup",null,"®"),T(", you can kick debt"),a("br"),T(" to the curb and rewrite your story. "),a("div",{class:"divider-element bg-secondary"})],-1),a("div",{class:"flex flex-col md:mt-10"}
129,[a("div",{class:"iframe-container rounded-[15px] overflow-hidden",style:{position:"relative",width:"100%",height:"0","padding-bottom":"56.25%"}},[a("iframe",{title:"Play video Debt Free Life: The Debt Monster",style:{position:"absolute",top:"0",left:"0",width:"100%",height:"100%"},src:"https://www.youtube.com/embed/ENxhHbKw1BE?autoplay=0&rel=0&controls=1",allowfullscreen:"",loading:"lazy"})])],-1)])),_:1,__:[16]}),C(St,{color:"lightgray",class:"bg-lightgray pt-5 pb-[110px]"},{default:$(()=>d[17]||(d[17]=[a("h2",{class:"section-heading body-35 bold text-center"},[T("The Debt Free Life"),a("sup",null,"®"),T(" Solution")],-1),a("p",{class:"text-center"},[T("Our proven method has helped thousands of families get on track to financial freedom while building a legacy with"),a("br"),T(" real retirement savings.")],-1),a("h3",{class:"body-25 bold text-center"},"How to Get Started",-1),a("div",{class:"divider-element bg-secondary mx-auto w-[10%] h-[5px]"},null,-1)])),_:1,__:[17]}),C(St,{color:"white"},{default:$(()=>[d[19]||(d[19]=a("div",{class:"flex flex-wrap lg:-mx-[5%] mt-[-170px]"},[a("div",{class:"column lg:basis-1/3 content-start lg:px-[5%] pb-10"},[a("img",{class:"max-w-[220px] mx-auto",src:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/b22caebc-d0c1-4684-5248-6925d082cf00/public"}),a("h3",{class:"body-20 text-center mb-5 bold"},"Step 1"),a("p",{class:"text-center"},"Schedule an appointment with a Debt Free Life consultant either in-person or over a video consultation.")]),a("div",{class:"column lg:basis-1/3 content-start lg:px-[5%] pb-10"},[a("img",{class:"max-w-[220px] mx-auto",src:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/2a4fb7fe-f9d5-4418-b507-5df8c91db700/public"}),a("h3",{class:"body-20 text-center mb-5 bold"},"Step 2"),a("p",{class:"text-center"},"Your consultant will guide you through a financial worksheet, highlighting areas of opportunity for increased cash flow.")]),a("div",{class:"column lg:basis-1/3 content-start lg:px-[5%] pb-10"},[a("img",{class:"max-w-[220px] mx-auto",src:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/37ccc6f3-07ee-42fc-de99-3b5132ed8100/public"}),a("h3",{class:"body-20 text-center mb-5 bold"},"Step 3"),a("p",{class:"text-center"},"Eliminate your debt with the guidance of your consultant using the proven Debt Free Life solution.")])],-1)),a("div",Ree,[C(p,{class:"my-3 cta",preset:"alternative","data-cta-id":"dfl-how-to-start-get-connected",onClick:d[1]||(d[1]=h=>t.value=!t.value)},{default:$(()=>d[18]||(d[18]=[T(" Get Connected ")])),_:1,__:[18]})])]),_:1,__:[19]}),C(St,{color:"white",class:"mb-[110px]"},{default:$(()=>d[20]||(d[20]=[a("h2",{class:"section-heading body-35 bold"},[T("The Debt Free Life"),a("sup",null,"®"),T(" Solution "),a("div",{class:"divider-element bg-secondary"})],-1),a("h3",{class:"body-25 mb-10"},[T("Debt Free Life helps you eliminate specific debts incrementally."),a("br"),T("Find out today what a Debt Free Life plan could do for you.")],-1),a("img",{class:"mb-10 rounded-[15px]",src:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/302664cf-12d6-435a-1422-7e1f22eb2100/public",alt:'Two people hugging, with a line of copy that reads "Debt free in 7.8 years"'},null,-1),a("img",{class:"mt-10 rounded-[15px]",src:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/0f08f835-40b6-4a53-b083-1522460e4f00/public",alt:'Happy couple smiling with a line of copy "Debt free in 9 years"'},null,-1),a("h2",{class:"section-heading body-35 bold md:mt-[3em] mt-[1em]"},[T("Debt Free Life"),a("sup",null,"®"),T(" Testimonials "),a("div",{class:"divider-element bg-secondary"})],-1)])),_:1,__:[20]}),C(St,{color:"lightgray",class:"md:pb-10"},{default:$(()=>[a("div",Lee,[C(oC,{testimonials:f(Iee)},null,8,["testimonials"])])]),_:1}),C(St,{color:"white",class:"pb-10"},{default:$(()=>d[21]||(d[21]=[a("h2",{class:"section-heading body-35 bold"},[T("Frequently Asked Questions "),a("div",{class:"divider-element bg-secondary"})],-1),a("div",{class:"flex sm:flex-nowrap flex-wrap sm:gap-x-[10%] sm:gap-y-0 gap-y-10 mt-10"},[a("div",{class:"column sm:basis-1/2 content-start"},[a("div",{class:"faq-container flex gap-x-5 mb-10"},[a("img",{class:"w-[60px] h-[60px]",src:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/b22caebc-d0c1-4684-5248-6925d082cf00/public"}),a("div",{class:"faq"},[a("div",{class:"question"},[a("h3",{class:"body-25 bold mb-5"},"What are the advantages of Debt Free Life?")]),a("div",{class:"answer"},[a("p",{class:"mb-[1em] body-20"}
129,"With Debt Free Life, you can pay off all your debt in less time by accessing the cash value of a life insurance policy. That means more peace of mind now and more savings for the future."),a("p",{class:"body-20"},"As you eliminate debt, you'll also reduce the interest you pay to lenders, lower your tax burden and start building a solid retirement fund.")])])]),a("div",{class:"faq-container flex gap-x-5"},[a("img",{class:"w-[60px] h-[60px]",src:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/2a4fb7fe-f9d5-4418-b507-5df8c91db700/public"}),a("div",{class:"faq"},[a("div",{class:"question"},[a("h3",{class:"body-25 bold mb-5"},"Can I afford Debt Free Life?")]),a("div",{class:"answer"},[a("p",{class:"body-20"},"Yes, you can! With a policy structured like Debt Free Life, you can use the money you’re already spending to achieve your goals, like paying off debt and saving for retirement.")])])])]),a("div",{class:"column sm:basis-1/2 content-start"},[a("div",{class:"faq-container flex gap-x-5 mb-10"},[a("img",{class:"w-[60px] h-[60px]",src:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/37ccc6f3-07ee-42fc-de99-3b5132ed8100/public"}),a("div",{class:"faq"},[a("div",{class:"question"},[a("h3",{class:"body-25 bold mb-5"},"When should I implement Debt Free Life?")]),a("div",{class:"answer"},[a("p",{class:"body-20"},"As soon as you can! The earlier you begin your journey to financial freedom, the greater results you will see.")])])]),a("div",{class:"faq-container flex gap-x-5"},[a("img",{class:"w-[60px] h-[60px]",src:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/eb889bfc-69a8-4e5e-80d6-95ada8fb4400/public"}),a("div",{class:"faq"},[a("div",{class:"question"},[a("h3",{class:"body-25 bold mb-5"},"I am a business owner. Can I get my business out of debt with Debt Free Life?")]),a("div",{class:"answer"},[a("p",{class:"body-20"},"Absolutely! Our consultants can apply Debt Free Life to your business and build cash value while eliminating debt and decreasing the amount of interest paid to lenders.")])])])])],-1)])),_:1,__:[21]}),C(St,{color:"white"},{default:$(()=>[a("div",Vee,[d[23]||(d[23]=a("h2",{class:"section-heading body-35 bold text-center text-secondary mb-4"},"Have More Questions?",-1)),d[24]||(d[24]=a("div",{class:"divider-element bg-secondary mx-auto w-[10%] h-[5px]"},null,-1)),d[25]||(d[25]=a("h3",{class:"body-25 my-[1em] text-center"},[a("span",{class:"font-normal"},"We are happy to answer any questions you might have."),a("br"),a("span",{class:"bold"},"Get in touch with us.")],-1)),a("div",Bee,[C(p,{class:"my-3 cta",preset:"alternative","data-cta-id":"dfl-have-questions-get-connected",onClick:d[2]||(d[2]=h=>t.value=!t.value)},{default:$(()=>d[22]||(d[22]=[T(" Get Connected ")])),_:1,__:[22]})])])]),_:1}),C(bo,{class:"lg:mt-[-110px]"},{heading:$(()=>d[26]||(d[26]=[a("h2",{class:"section-heading body-35 bold mb-5"},[T("Debt Free Life"),a("sup",null,"®"),T(" Resources")],-1),a("div",{class:"divider-element bg-secondary"},null,-1)])),default:$(()=>[a("div",Fee,[(v(!0),x(de,null,Be((e.posts||[]).slice(0,3),h=>(v(),x("div",{key:h.id,class:xe(["post column relative xl:w-[30.5%] w-[100%] mb-[2em] p-[25px] bg-white rounded-[15px]","post-"+h.id])},[a("a",{href:h.url_link},[a("img",{class:"mb-3",src:h.image,alt:h.image_alt},null,8,zee)],8,Nee),a("div",{class:"category-links mb-2",innerHTML:f(on)(h.category_links)},null,8,jee),a("h3",Uee,[a("a",{class:"text-black",href:h.url_link},V(h.title),9,Hee)]),a("div",Wee,[h.published_date?(v(),x("div",qee,V(h.published_date),1)):D("",!0),h.readtime?(v(),x("div",Gee,V(h.readtime),1)):D("",!0)]),a("p",Yee,V(h.description),1),a("a",{class:"body-15 bold underline hover:opacity-50 transition-all ease-in-out duration-250 absolute bottom-[30px]",href:h.url_link},[d[27]||(d[27]=T("Read More ")),C(m,{name:"icon-q-right-arrow",size:"large"})],8,Kee)],2))),128))])]),_:1}),C(St,{color:"white"},{default:$(()=>[a("div",Qee,[d[29]||(d[29]=a("h3",{class:"body-25 my-[1em] text-center"},[a("span",{class:"font-normal"},"Get out of debt and take control of your"),a("br"),a("span",{class:"bold"},[T("financial future. Connect with a Debt Free Life"),a("sup",null,"®"),T(" consultant today.")])],-1)),a("div",Xee,[C(p,{class:"my-3 cta",preset:"alternative","data-cta-id":"dfl-bottom-get-connected",onClick:d[3]||(d[3]=h=>t.value=!t.value)},{default:$(()=>d[28]||(d[28]=[T(" Get Connected ")])),_:1,__:[28]})])])]),_:1}),C(nC,{modelValue:o.value,"onUpdate:modelValue":d[4]||(d[4]=h=>o.value=h),onAccept:u},null,8,["modelValue"]),C(f(Li),{modelValue:t.value,"onUpdate:modelValue":d[5]||(d[5]=h=>t.value=h),"max-width":"600px","hide-default-actions":"","close-button":""},{default:$(()=>[C(Tr,{"product-type":"Debt Free Life","lead-type":"Debt Free Life"})]),_:1},8,["modelValue"]),C(f(Li),{modelValue:n.value,"onUpdate:modelValue":d[7]||(d[7]=h=>n.value=h),"hide-default-actions":"","close-button":"",size:"large",class:"dfl-plan-modal"},{default:$(()=>[d[30]||(d[30]=a("h3",{class:"body-35 bold mb-[.5em] section-heading text-center"},[T("Your Debt Free Life"),a("sup",null,"®"),T(" Plan")],-1)),r.value?(v(),X(Tr,{key:1,heading:"","product-type":"Debt Free Life","lead-type":"Debt Free Life"})):(v(),X(tC,{key:0,onConnect:d[6]||(d[6]=h=>r.value=!0)}))]),_:1,__:[30]},8,["modelValue"])]),_:1})}}},Zee=Object.freeze(Object.defineProperty({__proto__:null,default:Jee},Symbol.toStringTag,{value:"Module"})),ete={class:"flex items-center py-5"},tte={class:"hero-content-container"},nte={class:"container"},ote={class:"posts-grid flex xl:flex-row flex-col flex-wrap xl:gap-x-[4%] pt-[3em]"},rte=["href"],ate=["src","alt"],ste=["innerHTML"],ite={class:"body-25 bold mb-3"},lte=["href"],ute={class:"post-meta flex flex-row mb-[1em] line-height-[1em]"},cte={key:0,class:"published-date body-15 light text-medgray pr-[15px] mr-[15px] border-r-[1px] border-medgray"},dte={key:1,class:"read-time body-15 light text-medgray"},fte={class:"body-17 light mb-10"},pte=["href"],mte={__name:"DisabilityInsurance",props:{oc_site:Object,page:Object,posts:Object},setup(e){const t=M(!1);return(n,o)=>{const r=he("VaButton"),s=he("VaIcon"),i=he("VaModal");return v(),X(On,null,{default:$(()=>[C(fr,{color:"primary","image-url":"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/0da569f0-c2e8-4ec9-3954-4795c3f11f00/public","image-alt":"Man in wheelchair with his dog"},{default:$(()=>[a("div",ete,[a("div",tte,[o[4]||(o[4]=a("h1",{class:"body-51 black text-white mb-[2rem]"},"Disability coverage built to protect your paycheck",-1)),o[5]||(o[5]=a("p",{class:"body-35"},"Maintain financial stability while you rest and recover from an injury or disability.",-1)),C(r,{class:"mt-[2.5rem] cta",preset:"white","data-cta-id":"disability-hero-talk-to-agent",onClick:o[0]||(o[0]=l=>t.value=!t.value)},{default:$(()=>o[3]||(o[3]=[T(" Talk to an Agent ")])),_:1,__:[3]})])])]),_:1}),C(St,{color:"white"},{default:$(()=>o[6]||(o[6]=[a("div",{class:"flex sm:flex-nowrap flex-wrap sm:gap-x-[10%] sm:gap-y-0 gap-y-10 sm:justify-start justify-center"},[a("div",{class:"column sm:basis-1/2"},[a("h2",{class:"section-heading body-35 bold pb-[0.5em]"},[T("Disability Insurance "),a("div",{class:"divider-element bg-secondary"})]),a("p",{class:"font-semibold mb-5 body-20"},"If an illness or injury stopped you from working, how would you keep up with your bills?"),a("p",{class:"mb-5 body-20"},[T("That's where "),a("strong",null,"disability insurance"),T(" comes in. It helps replace a portion of your income if you can't work due to a serious illness or injury. Think of it as "),a("strong",null,"paycheck protection"),T(", a simple way to make sure you can stay on track, even if life takes an unexpected turn.")]),a("p",{class:"body-20"},"We're here to help you find the right disability insurance policy so you can focus on healing, instead of the bills.")]),a("div",{class:"column content-center sm:basis-1/2"},[a("img",{alt:"1 in 4 of today's 20-year-olds will be disabled before they reach retirement (Source: Social Security Administration, 2024)",class:"mx-auto max-w-[320px] h-auto",src:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/c1b6c1cd-da7b-4834-d55c-b3a1a7863400/public"})])],-1)])),_:1,__:[6]}),C(lr,null,{TitleOverlap:$(()=>o[7]||(o[7]=[a("h2",{class:"text-4xl"},"Why do I need disability insurance?",-1)])),Content:$(()=>o[8]||(o[8]=[a("div",{class:"mt-10 flex sm:flex-nowrap flex-wrap sm:gap-x-[4%]"},[a("div",{class:"column sm:w-[70%] sm:order-1 order-2"},[a("p",{class:"body-20"},[T("Disability is more common than you might expect. The Social Security Administration reports that "),a("strong",null,"1 in 4 of today's 20-year-olds"),T(" will face a disability before they reach retirement.")]),a("p",{class:"mt-5 body-20"},"If you rely on your monthly income to pay bills, a mortgage, or to supp
129ort your family, disability insurance is an affordable way to protect your paycheck. Social Security disability can be hard to qualify for and may not provide enough to cover your needs."),a("p",{class:"mt-5 body-20"},"With the right disability policy, you get coverage that's easier to access and designed to replace your income.")]),a("div",{class:"column sm:w-[30%] w-[100%] content-center sm:order-2 order-1 sm:mb-0 mb-10"},[a("div",{class:"iframe-container rounded-[15px] overflow-hidden",style:{position:"relative",width:"100%",height:"0","padding-bottom":"56.25%"}},[a("iframe",{title:"Play Video Informational video about disability insurance",style:{position:"absolute",top:"0",left:"0",width:"100%",height:"100%"},src:"https://fast.wistia.net/embed/iframe/gqsbdms0vn?videoFoam=true&version=v1&controls=1",allowfullscreen:"",loading:"lazy"})])])],-1)])),_:1}),C(lr,{titleRight:!0},{TitleOverlap:$(()=>o[9]||(o[9]=[a("h2",{class:"text-4xl"},"How does disability insurance work?",-1)])),Content:$(()=>o[10]||(o[10]=[a("div",{class:"mt-10 flex sm:flex-nowrap flex-wrap sm:gap-x-[4%] sm:gap-y-0 gap-y-10"},[a("div",{class:"column sm:w-[30%] w-[100%] content-center"},[a("div",{class:"iframe-container rounded-[15px] overflow-hidden",style:{position:"relative",width:"100%",height:"0","padding-bottom":"56.25%"}},[a("iframe",{title:"Play Video Informational video about how disability insurance works",style:{position:"absolute",top:"0",left:"0",width:"100%",height:"100%"},src:"https://fast.wistia.net/embed/iframe/5aystdajqi?videoFoam=true&version=v1&controls=1",allowfullscreen:"",loading:"lazy"})])]),a("div",{class:"column sm:w-[70%]"},[a("p",{class:"body-20"},"Just like other types of insurance, you apply for coverage by answering a few simple health and lifestyle questions. When approved, you'll pay a monthly or yearly premium to keep your policy active. You can get disability insurance on its own or add it to an existing life insurance policy."),a("p",{class:"mt-5 body-20"},"If you ever become too sick or injured to work, your policy has a waiting period (called an elimination period) before your benefits kick in. After that, your insurance company would begin sending you monthly payments to help replace lost income for the amount of time covered in your policy. A disability policy can ensure that you keep up with the bills and stay financially stable while you recover.")])],-1)])),_:1}),C(St,{color:"white"},{default:$(()=>[a("div",nte,[o[12]||(o[12]=a("h2",{class:"body-35 bold"},[T("Why choose Symmetry for disability insurance? "),a("div",{class:"divider-element bg-secondary"})],-1)),o[13]||(o[13]=a("p",{class:"my-5 body-20"},"At Symmetry Financial Group, we know there's no one-size-fits-all solution when it comes to insurance. That’s why we take the time to understand your needs and help you find a disability policy that truly fits. We work with a range of trusted carriers to offer you the best policy options based on your unique needs.",-1)),C(r,{class:"my-5 cta",preset:"alternative","data-cta-id":"disability-why-symmetry-get-connected",onClick:o[1]||(o[1]=l=>t.value=!t.value)},{default:$(()=>o[11]||(o[11]=[T(" Get Connected ")])),_:1,__:[11]})])]),_:1}),C(St,{color:"white",class:"md:mt-0 mt-[-4em]"},{default:$(()=>o[14]||(o[14]=[a("div",{class:"container pt-[4em] mb-10 border-t-[1px] border-[#9aa2aa]"},[a("h2",{class:"section-heading body-35 bold pb-[0.33em]"},[T("Frequently Asked Questions "),a("div",{class:"divider-element bg-primary"})]),a("div",{class:"flex sm:flex-nowrap flex-wrap sm:gap-x-[10%] sm:gap-y-0 gap-y-10 pt-10"},[a("div",{class:"column sm:basis-1/2"},[a("h3",{class:"mb-5 body-25 bold"},"Q: What are the advantages of having disability insurance?"),a("p",{class:"body-20"},"The biggest benefit of disability insurance is paycheck protection. Having this coverage means that you can keep paying your bills even if you can't work due to unforeseen health issues or injury."),a("p",{class:"mt-5 body-20"},"If you buy your own policy instead of getting coverage through your employer, your policy always stays with you—even if you change jobs. And unlike Social Security Disability, it's often easier and faster to qualify for benef
129its when you need them."),a("h3",{class:"my-5 body-25 bold"},"Q: Can I afford disability insurance?"),a("p",{class:"mb-5 body-20"},"Disability insurance is more affordable than you might think! You can customize your coverage to fit your budget by choosing how much protection you want and how long the benefits last."),a("p",{class:"body-20"},"Your monthly/annual payment will depend on your health, lifestyle, and income at the time you apply for coverage. With lots of options to choose from, we can easily find a plan that works for you.")]),a("div",{class:"column sm:basis-1/2"},[a("h3",{class:"mb-5 body-25 bold"},"Q: Would I qualify for disability insurance?"),a("p",{class:"body-20"},"Qualifying for disability insurance is simple and can often be done online. Many insurance companies don't require a medical exam to qualify for this coverage."),a("p",{class:"mt-5 body-20"},"Each policy defines “disability” a bit differently, but most disability policies cover you if you can't work your current job due to a health condition, illness or injury."),a("h3",{class:"my-5 body-25 bold"},"Q: When should I buy disability insurance?"),a("p",{class:"body-20"},"The best time to apply for disability insurance is now! Securing coverage earlier in life can help you lock in a lower monthly premium. You can even choose a policy that grows with your income over time.")])])],-1)])),_:1,__:[14]}),C(bo,null,{heading:$(()=>o[15]||(o[15]=[a("h2",{class:"section-heading body-35 bold"},"Featured Articles",-1),a("div",{class:"divider-element bg-primary"},null,-1)])),default:$(()=>[a("div",ote,[(v(!0),x(de,null,Be((e.posts||[]).slice(0,3),l=>(v(),x("div",{key:l.id,class:xe(["post column relative xl:w-[30.5%] w-[100%] mb-[2em] p-[25px] bg-white rounded-[15px]","post-"+l.id])},[a("a",{href:l.url_link},[a("img",{class:"mb-3",src:l.image,alt:l.image_alt},null,8,ate)],8,rte),a("div",{class:"category-links mb-2",innerHTML:f(on)(l.category_links)},null,8,ste),a("h3",ite,[a("a",{class:"text-black",href:l.url_link},V(l.title),9,lte)]),a("div",ute,[l.published_date?(v(),x("div",cte,V(l.published_date),1)):D("",!0),l.readtime?(v(),x("div",dte,V(l.readtime),1)):D("",!0)]),a("p",fte,V(l.description),1),a("a",{class:"body-15 bold underline hover:opacity-50 transition-all ease-in-out duration-250 absolute bottom-[30px]",href:l.url_link},[o[16]||(o[16]=T("Read More ")),C(s,{name:"icon-q-right-arrow",size:"large"})],8,pte)],2))),128))])]),_:1}),C(us,{title:"Ready to get coverage?",content:"Schedule an appointment to get a disability insurance policy fit for your budget and needs.","button-text":"Get Connected","product-type":"DI"}),C(i,{modelValue:t.value,"onUpdate:modelValue":o[2]||(o[2]=l=>t.value=l),"max-width":"600px","hide-default-actions":"","close-button":""},{default:$(()=>[C(Tr,{"product-type":"Disability","lead-type":"Disability"})]),_:1},8,["modelValue"])]),_:1})}}},hte=Object.freeze(Object.defineProperty({__proto__:null,default:mte},Symbol.toStringTag,{value:"Module"})),gte={class:"dunning bg-[#79858D] w-full h-[100vh] flex items-center justify-center text-center"},wf={__name:"Dunning",props:{oc_site:Object,posts:Object},setup(e){return(t,n)=>(v(),x("section",gte,n[0]||(n[0]=[js('<div class="dunning-modal bg-white px-[70px] py-[80px] rounded-[15px] lg:max-w-[800px] max-w-[90vw] max-h-[626px]"><img class="w-full max-w-[662px] h-auto" src="https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/220f8336-12e1-4687-e6b9-bff4ae9c3700/public"><div class="dunning-content mt-[50px]"><h1 class="text-primary body-51 black">This Website<br>Is Temporarily<br>Unavailable</h1><p class="body-20 mt-[40px] light">If this is your site, take a quick look at your account status or drop us a line. Our support team is happy to help get things sorted out.</p></div></div>',1)])))}},vte=Object.freeze(Object.defineProperty({__proto__:null,default:wf},Symbol.toStringTag,{value:"Module"})),yte={__name:"404",props:{oc_site:Object,posts:Object},setup(e){const t=e;return(n,o)=>{var r;return(r=t.oc_site)!=null&&r.enabled?(v(),X(On,{key:0},{default:$(()=>o[0]||(o[0]=[a("div",{class:"centerer flex h-[calc(100vh-103px)] w-[100vw] justify-center items-center"},[a("div",{class:"404-headings text-center"},[a("h1",{class:"text-[250px] black drop-shadow-[0_1.5px_1.5px_rgba(0,0,0,0.6)] text-lightgray mt-[-0.25em]",style:{"line-height":"1em"}},"404"),a("h2",{class:"body-51 bold"},"Page not found")])],-1)])),_:1,__:[0]})):(v(),X(wf,{key:1,oc_site:t.oc_site},null,8,["oc_site"]))}}},bte=Object.freeze(Object.defineProperty({__proto__:null,default:yte},Symbol.toStringTag,{value:"Module"})),wte={class:"flex items-center pl-5 py-5"},_te={class:"hero-content-container"},xte={class:"container"},Ste={class:"posts-grid flex xl:flex-row flex-col flex-wrap xl:gap-x-[4%] pt-[3em]"},Cte=["href"],kte=["src","alt"],$te=["innerHTML"],Ate={class:"body-25 bold mb-3"},Tte=["href"],Ete={class:"post-meta flex flex-row mb-[1em] line-height-[1em]"},Pte={key:0,class:"published-date body-15 light text-medgray pr-[15px] mr-[15px] border-r-[1px] border-medgray"},Ote={key:1,class:"read-time body-15 light text-medgray"},Ite={class:"body-17 light mb-10"},Dte=["href"],Mte={__name:"FinalExpense",props:{oc_site:Object,page:Object,posts:Object},setup(e){const t=M(!1);return(n,o)=>{const r=he("VaButton"),s=he("VaIcon"),i=he("VaModal");return v(),X(On,null,{default:$(()=>[C(fr,{full:"",color:"primary","image-url":"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/d3dc2a2a-aaed-442c-b920-34ebb19b6c00/public","image-alt":"Older couple hugging and smiling"},{default:$(()=>[a("div",wte,[a("div",_te,[o[4]||(o[4]=a("h1",{class:"body-51 black text-white mb-[2rem]"}
129,"Final expense insurance puts your loved ones first",-1)),o[5]||(o[5]=a("p",{class:"body-35"},"Cover end-of-life expenses so your family doesn't have to.",-1)),C(r,{class:"mt-[2.5rem] cta",preset:"white","data-cta-id":"finalexpense-hero-talk-to-agent",onClick:o[0]||(o[0]=l=>t.value=!t.value)},{default:$(()=>o[3]||(o[3]=[T(" Talk to an Agent ")])),_:1,__:[3]})])])]),_:1}),C(St,{color:"white",class:"py-5"},{default:$(()=>o[6]||(o[6]=[a("h2",{class:"body-35 bold"},[T("Final Expense Insurance "),a("div",{class:"divider-element bg-primary"})],-1),a("p",{class:"body-20"},"Final expense insurance—also known as burial insurance—is a simple, affordable whole life policy designed to cover the costs that come after you pass away.",-1),a("p",{class:"font-semibold body-20"},"Final expenses can include funeral or memorial services, burial or cremation, or outstanding medical bills. With final expense insurance, you can ensure your loved ones aren't left with unexpected financial burdens during a difficult time.",-1)])),_:1,__:[6]}),C(lr,null,{TitleOverlap:$(()=>o[7]||(o[7]=[a("h2",{class:"text-4xl"},"Why do I need final expense insurance?",-1)])),Content:$(()=>o[8]||(o[8]=[a("div",{class:"mt-10 flex md:flex-row flex-col-reverse gap-x-[4%] gap-y-[2em]"},[a("div",{class:"column md:w-[70%] w-full"},[a("p",{class:"body-20"},"Funerals and end-of-life costs (cremation, medical bills, or outstanding debts) can be expensive—and if you don't have money set aside, your family might have a hard time covering them. "),a("p",{class:"mt-5 body-20"},"Final expense insurance covers these costs, so your loved ones aren't left with a financial burden. It's an affordable way to plan ahead and protect the people who matter most.")]),a("div",{class:"column md:w-[30%] w-full content-center"},[a("div",{class:"iframe-container rounded-[15px] overflow-hidden",style:{position:"relative",width:"100%",height:"0","padding-bottom":"56.25%"}},[a("iframe",{title:"Play Video Informational video about final expense insurance",style:{position:"absolute",top:"0",left:"0",width:"100%",height:"100%"},src:"https://fast.wistia.net/embed/iframe/y48k2i2spb?videoFoam=true&version=v1&controls=1",allowfullscreen:"",loading:"lazy"})])])],-1)])),_:1}),C(lr,{titleRight:!0},{TitleOverlap:$(()=>o[9]||(o[9]=[a("h2",{class:"text-4xl"},"How does final expense insurance work?",-1)])),Content:$(()=>o[10]||(o[10]=[a("div",{class:"mt-10 flex md:flex-row flex-col gap-x-[4%] gap-y-[2em]"},[a("div",{class:"column md:w-[30%] w-full content-center"},[a("div",{class:"iframe-container rounded-[15px] overflow-hidden",style:{position:"relative",width:"100%",height:"0","padding-bottom":"56.25%"}},[a("iframe",{title:"Play Video Informational video about how final expense insurance works",style:{position:"absolute",top:"0",left:"0",width:"100%",height:"100%"},src:"https://fast.wistia.net/embed/iframe/g4o43qcp6u?videoFoam=true&version=v1&controls=1",allowfullscreen:"",loading:"lazy"})])]),a("div",{class:"column md:w-[70%] w-full"},[a("p",{class:"body-20"},"With final expense insurance, you choose a coverage amount that fits your needs and pay a premium to keep the policy in-force. When you pass, the money goes to your chosen beneficiary, helping cover funeral and final costs and easing the burden on your loved ones.")])],-1)])),_:1}),C(St,{color:"white"},{default:$(()=>[a("div",xte,[o[12]||(o[12]=a("h2",{class:"body-35 bold mb-5"},[T("Why choose Symmetry for final expense insurance? "),a("div",{class:"divider-element bg-primary"})],-1)),o[13]||(o[13]=a("p",{class:"mb-5 body-20"},"At Symmetry Financial Group, we know there's no one-size-fits-all solution when it comes to insurance. That's why we take the time to understand your needs and help you find a final expense policy that truly fits.",-1)),o[14]||(o[14]=a("p",{class:"font-semibold body-20"},"We work with a range of trusted carriers to offer you the best policy options based on your unique needs.",-1)),C(r,{preset:"alternative",class:"my-10 cta","data-cta-id":"finalexpense-why-symmetry-get-connected",onClick:o[1]||(o[1]=l=>t.value=!t.value)},{default:$(()=>o[11]||(o[11]=[T(" Get Connected ")])),_:1,__:[11]})])]),_:1}),C(St,{color:"white"},{default:$(()=>o[15]||(o[15]=[a("div",{class:"container py-[4em] border-t-[1px] border-[#9aa2aa]"},[a("h2",{class:"section-heading body-35 bold pb-[0.33em]"},"Frequently Asked Questions"),a("div",{class:"divider-element bg-primary"}),a("div",{class:"flex gap-x-[10%] gap-y-[2em] md:flex-row flex-col pt-10"},[a("div",{class:"column basis-1/2"},[a("h3",{class:"mb-5 body-25 bold"},"Q: What are the advantages of final expense coverage?"),a("p",{class:"mb-5 body-20"},"There are many advantages to final expense insurance coverage:"),a("ul",{class:"list-outside list-disc my-5 pl-4"},[a("li",{class:"body-20 mb-[0.5em]"},[a("strong",null,"Permanent coverage:"),T(" Your policy stays active for a lifetime, as long as you keep up with premium payments.")]),a("li",{class:"body-20 mb-[0.5em]"},[a("strong",null,"Locked-in premiums:"),T(" Your premium is based on your age and health at the time you apply for coverage, so costs won't go up as you get older.")]),a("li",{class:"body-20 mb-[0.5em]"},[a("strong",null,"Financial protection for your family:"),T(" Final expense insurance helps cover funeral, burial, or cremation costs so your loved one
129s don't have to.")]),a("li",{class:"body-20 mb-[0.5em]"},[a("strong",null,"Builds cash value:"),T(" In addition to offering a fixed death benefit (the “face amount” of the policy), some final expense policies offer the potential to accumulate cash value over time.")]),a("li",{class:"body-20"},[a("strong",null,"Fits your budget:"),T(" Choose a policy type and payment option that works for you.")])])]),a("div",{class:"column basis-1/2"},[a("h3",{class:"mb-5 body-25 bold"},"Q: Can I afford final expense coverage?"),a("p",{class:"body-20 my-5"},"Final expense insurance is an affordable type of coverage, and your premiums can be adjusted to fit your specific budget and needs. We have access to insurance products offered by dozens of insurance carriers to help you find the best-fit policy."),a("h3",{class:"mb-5 body-25 bold"},"Q: Do I qualify for final expense insurance?"),a("p",{class:"body-20"},"Many insurance carriers offer simplified underwriting for final expense policies. This means you may not have to undergo a medical exam to qualify for coverage."),a("h3",{class:"my-5 body-25 bold"},"Q: When should I buy final expense insurance?"),a("p",{class:"body-20"},"Because the cost of life insurance (including final expense) is based on your age and health at the time you apply for coverage, it makes sense to purchase coverage sooner rather than later. Purchasing a policy early in life can help you secure lower premium payments and will give you and your loved ones valuable peace of mind knowing that your death will not create a financial burden.")])])],-1)])),_:1,__:[15]}),C(bo,null,{heading:$(()=>o[16]||(o[16]=[a("h2",{class:"section-heading body-35 bold"},"Featured Articles",-1),a("div",{class:"divider-element bg-primary"},null,-1)])),default:$(()=>[a("div",Ste,[(v(!0),x(de,null,Be((e.posts||[]).slice(0,3),l=>(v(),x("div",{key:l.id,class:xe(["post column relative xl:w-[30.5%] w-[100%] mb-[2em] p-[25px] bg-white rounded-[15px]","post-"+l.id])},[a("a",{href:l.url_link},[a("img",{class:"mb-3",src:l.image,alt:l.image_alt},null,8,kte)],8,Cte),a("div",{class:"category-links mb-2",innerHTML:f(on)(l.category_links)},null,8,$te),a("h3",Ate,[a("a",{class:"text-black",href:l.url_link},V(l.title),9,Tte)]),a("div",Ete,[l.published_date?(v(),x("div",Pte,V(l.published_date),1)):D("",!0),l.readtime?(v(),x("div",Ote,V(l.readtime),1)):D("",!0)]),a("p",Ite,V(l.description),1),a("a",{class:"body-15 bold underline hover:opacity-50 transition-all ease-in-out duration-250 absolute bottom-[30px]",href:l.url_link},[o[17]||(o[17]=T("Read More ")),C(s,{name:"icon-q-right-arrow",size:"large"})],8,Dte)],2))),128))])]),_:1}),C(us,{title:"Ready to get coverage?",content:"Schedule an appointment to learn more about final expense insurance that fits your budget.","button-text":"Get Connected","product-type":"FE"}),C(i,{modelValue:t.value,"onUpdate:modelValue":o[2]||(o[2]=l=>t.value=l),"max-width":"600px","hide-default-actions":"","close-button":""},{default:$(()=>[C(Tr,{"product-type":"Final Expense","lead-type":"Final Expense"})]),_:1},8,["modelValue"])]),_:1})}}},Rte=Object.freeze(Object.defineProperty({__proto__:null,default:Mte},Symbol.toStringTag,{value:"Module"})),Lte={__name:"AdvancedMarkets",props:{oc_site:Object,posts:Object},setup(e){const t=e;return(n,o)=>{var r;return(r=t.oc_site)!=null&&r.enabled?(v(),X(On,{key:0},{default:$(()=>[C(sv,{oc_site:t.oc_site,posts:t.posts},null,8,["oc_site","posts"])]),_:1})):(v(),X(wf,{key:1,oc_site:t.oc_site},null,8,["oc_site"]))}}},Vte=Object.freeze(Object.defineProperty({__proto__:null,default:Lte},Symbol.toStringTag,{value:"Module"})),Bte={class:"faqs-section py-10 mb-10"},Fte={class:"container narrow flex lg:flex-row flex-col gap-y-10 px-[5%]"},Nte={class:"faqs-icon-section flex-1 content-center justify-items-center"},zte=["src"],jte={class:"faqs flex-1 content-center"},Ute=$e({__name:"FAQ",props:{faqs:{},iconUrl:{default:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/484019b4-cbd0-4cf4-4734-92726a21a400/public"}},setup(e){const t=e,n=M([!0,...new Array(t.faqs.length-1).fill(!1)]);return(o,r)=>{const s=he("VaCollapse"),i=he("VaAccordion");return v(),x("section",Bte,[a("div",Fte,[a("div",Nte,[a("img",{class:"faqs-icon mb-5",src:o.iconUrl},null,8,zte),r[1]||(r[1]=a("h2",{class:"section-heading"},"FAQs",-1)),r[2]||(r[2]=a("div",{class:"divider-element short bg-secondary w-[10%] h-[5px]"},null,-1)),r[3]||(r[3]=a("div",{class:"divider-element bg-primary w-[10%] h-[5px]"},null,-1))]),a("div",jte,[r[4]||(r[4]=a("h2",{class:"section-heading mb-8"},"Mortgage Protection Basics",-1)),C(i,{modelValue:n.value,"onUpdate:modelValue":r[0]||(r[0]=l=>n.value=l),multiple:""},{default:$(()=>[(v(!0),x(de,null,Be(o.faqs,l=>(v(),X(s,{class:"faq",key:l.id,header:l.question},{default:$(()=>[T(V(l.answer),1)]),_:2},1032,["header"]))),128))]),_:1},8,["modelValue"])])])])}}}),Hte=Object.freeze(Object.defineProperty({__proto__:null,default:Ute},Symbol.toStringTag,{value:"Module"})),Wte={__name:"Home",props:{oc_site:Object,posts:Object},setup(e){const t=e;return(n,o)=>{var r;return(r=t.oc_site)!=null&&r.enabled?(v(),X(On,{key:0},{default:$(()=>[C(av,{oc_site:t.oc_site,posts:t.posts},null,8,["oc_site","posts"])]),_:1})):(v(),X(wf,{key:1,oc_site:t.oc_site},null,8,["oc_site"]))}}},qte=Object.freeze(Object.defineProperty({__proto__:null,default:Wte},Symbol.toStringTag,{value:"Module"})),Gte={class:"agent-licenses max-w-[1140px] mx-auto px-[8vw] lg:px-0"},Yte={class:"container narrow border-b-[1px] border-medgray py-10 mb-10"},Kte={class:"section-heading mb-4 body-35 black"},Qte={__name:"Licenses",props:{oc_site:Object,page:Object,licenses:Object},setup(e){return(t,n)=>(v(),X(On,null,{default:$(()=>[a("div",Gte,[a("div",Yte,[a("h2",Kte,V(e.oc_site.agent_name),1),n[0]||(n[0]=a("h3",{class:"my-4 body-20 bold"},"License Numbers:",-1)),a("ul",null,[(v(!0),x(de,null,Be(e.licenses,(o,r)=>(v(),x("li",{key:r},V(r)+": "+V(o),1))),128))])])]),n[1]||(n[1]=a("div",{class:"iframe-holder xl:overflow-hidden overflow-scroll",style:{position:"relative",height:"4542px",width:"100%"}},[a("iframe",{id:"quility-licenses-page",class:"h-[8120px] md:h-[4850px] lg:h-[4550px]",src:"https://quility.com/licenses/",scrolling:"no",style:{display:"block",position:"absolute",top:"-117px",left:"0",width:"100%",overflow:"hidden"},title:"Licenses"})],-1))]),_:1,__:[1]}))}},Xte=Object.freeze(Object.defineProperty({__proto__:null,default:Qte},Symbol.toStringTag,{value:"Module"})),Jte={class:"flex sm:flex-nowrap flex-wrap sm:gap-x-[10%] sm:gap-y-0 gap-y-0"},Zte={class:"column sm:basis-1/2"},ene={class:"md:pb-10 flex sm:flex-nowrap flex-wrap sm:gap-x-[10%] sm:gap-y-0 gap-y-10"},tne={class:"column sm:basis-1/2 content-container content-center"},nne={class:"posts-grid flex xl:flex-row flex-col flex-wrap xl:gap-x-[4%] pt-[3em]"},one=["href"],rne=["src","alt"],ane=["innerHTML"],sne={class:"body-25 bold mb-3"},ine=["href"],lne={class:"post-meta flex flex-row mb-[1em] line-height-[1em]"},une={key:0,class:"published-date body-15 light text-medgray pr-[15px] mr-[15px] border-r-[1px] border-medgray"},cne={key:1,class:"read-time body-15 light text-medgray"},dne={class:"body-17 light mb-10"},fne=["href"],pne={class:"text-center"},mne={__name:"MortgageProtection",props:{oc_site:Object,page:Object,posts:Object},setup(e){const{dtcLogic:t}=vf(),n="https://admin.myhatchsite.io",o="https://apply.quility.com/#/symmetry/raq/",r=w(()=>{var d,p;const l=((d=Mt.page)==null?void 0:d.url)||"/",u=((p=e.oc_site)==null?void 0:p.site_domain)||"oc.sfglife";return`${u==="localhost"?n:`https://${u}`}${l}`}),s=w(()=>{var l;return Vd(((l=e.oc_site)==null?void 0:l.agent_code)||"","Mortgage Protection",r.value)}),i=M(!1);return(l,u)=>{const c=he("VaButton"),d=he("VaIcon"),p=he("VaModal");return v(),X(On,null,{default:$(()=>[C(fr,{color:"primary","image-url":"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/1ef37e9a-e0c5-4ba8-48b1-4435ae6f1e00/public","image-alt":"Smiling dad holding his young daughter, standing next to mom who's holding a new house key"},{default:$(()=>[u[7]||(u[7]=a("h1",{class:"body-51 black text-white mb-[2rem]"},"Keep your family in their home",-1)),u[8]||(u[8]=a("p",{class:"body-35"}
129,"Make sure your loved ones are secure with reliable financial support.",-1)),f(t)?(v(),X(c,{key:0,class:"mt-[2.5rem]",preset:"white",href:f(o)+s.value,target:"_blank","aria-label":"Get a Quote (opens in new tab)","data-cta-id":"mortgage-hero-get-quote-dtc"},{default:$(()=>u[5]||(u[5]=[T(" Get a Quote ")])),_:1,__:[5]},8,["href"])):(v(),X(c,{key:1,class:"mt-[2.5rem] cta",preset:"white","data-cta-id":"mortgage-hero-get-connected",onClick:u[0]||(u[0]=m=>i.value=!i.value)},{default:$(()=>u[6]||(u[6]=[T(" Get Connected ")])),_:1,__:[6]}))]),_:1,__:[7,8]}),C(St,{color:"white"},{default:$(()=>[u[14]||(u[14]=a("h2",{class:"section-heading body-35 bold"},[T("What is mortgage protection insurance? "),a("div",{class:"divider-element bg-primary"})],-1)),u[15]||(u[15]=a("h3",{class:"body-25 light mt-[0.5em]"},"As a homeowner, you want to protect your home with affordable, comprehensive coverage.",-1)),a("div",Jte,[u[13]||(u[13]=a("div",{class:"column sm:basis-1/2"},[a("p",{class:"body-20"},"Mortgage protection insurance is a type of term life insurance that is designed to pay off your mortgage in the event of your death. It functions like a standard term life policy: You purchase a policy for a set period, make monthly payments, and if you pass away while the policy is in force, your chosen beneficiary receives funds to pay off your mortgage. This coverage ensures that your family could stay in their home if you were no longer able to contribute to mortgage payments. ")],-1)),a("div",Zte,[u[11]||(u[11]=a("h3",{class:"body-25 bold"},"Mortgage protection insurance is right for you if you want to:",-1)),u[12]||(u[12]=a("ul",{class:"list-outside list-disc mt-5 pl-4"},[a("li",{class:"body-20 mb-[0.5em]"},"Protect your most valuable asset"),a("li",{class:"body-20 mb-[0.5em]"},"Ensure your loved ones never have to deal with the fear of losing their home"),a("li",{class:"body-20"},"Provide financial security if the unthinkable happens")],-1)),f(t)?(v(),X(c,{key:0,class:"my-10",preset:"standard",href:f(o)+s.value,target:"_blank","aria-label":"Get a Quote (opens in new tab)","data-cta-id":"mortgage-what-is-get-quote-dtc"},{default:$(()=>u[9]||(u[9]=[T(" Get a Quote ")])),_:1,__:[9]},8,["href"])):(v(),X(c,{key:1,class:"my-10 cta",preset:"standard","data-cta-id":"mortgage-what-is-get-connected",onClick:u[1]||(u[1]=m=>i.value=!i.value)},{default:$(()=>u[10]||(u[10]=[T(" Get Connected ")])),_:1,__:[10]}))])])]),_:1,__:[14,15]}),C(St,{color:"lightgray"},{default:$(()=>u[16]||(u[16]=[a("h2",{class:"section-heading body-35 bold"},[T("Why do I need mortgage protection insurance? "),a("div",{class:"divider-element bg-primary"})],-1),a("div",{class:"text-col sm:grid-cols-2 sm:gap-[5%] md:pb-10"},[a("div",{class:"column content-wrapper content-center"},[a("p",{class:"body-20"},"As a homeowner, being able to pay your mortgage on time every month is important. What would happen to your loved ones if you were to die prematurely, become disabled or critically ill, and your income suddenly disappeared? None of us know what the future will bring, but you can achieve peace of mind today with mortgage protection insurance.")]),a("div",{class:"column iframe-container sm:w-auto w-[100%] sm:mt-0 mt-10 rounded-[15px] overflow-hidden",style:{position:"relative",width:"100%","padding-bottom":"56.25%"}},[a("iframe",{title:"Play Video Informational video about mortgage protection insurance",style:{position:"absolute",top:"0",left:"0",width:"100%",height:"100%"},src:"https://fast.wistia.net/embed/iframe/qknb8mw6lf?videoFoam=true&version=v1&controls=1&autoplay=0&silentAutoPlay=allow",allowfullscreen:"",loading:"lazy"})])],-1)])),_:1,__:[16]}),C(St,{color:"white"},{default:$(()=>[u[21]||(u[21]=a("h2",{class:"section-heading body-35 bold"},[T("Advantages of mortgage protection insurance "),a("div",{class:"divider-element bg-primary"})],-1)),a("div",ene,[u[20]||(u[20]=a("div",{class:"column sm:basis-1/2"},[a("img",{class:"rounded-[15px]",src:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/21bdf246-4880-408f-d823-0f39d0940b00/public",alt:"Smiling dad and mom holding their young daughter"})],-1)),a("div",tne,[u[19]||(u[19]=a("ul",{class:"list-outside list-disc mt-5 pl-4"},[a("li",{class:"body-20 mb-[0.5em]"},"Provides a death benefit to pay off your mortgage in the event of your death"),a("li",{class:"body-20 mb-[0.5em]"},"Pays your mortgage payments if you become disabled"),a("li",{class:"body-20 mb-[0.5em]"},"Protects your mortgage payments in the event of critical illness"),a("li",{class:"body-20 mb-[0.5em]"},"Provides benefits from a life insurance policy with generally affordable premiums"),a("li",{class:"body-20 mb-[0.5em]"},"Achieves peace of mind for your home and family")],-1)),f(t)?(v(),X(c,{key:0,class:"my-10",preset:"standard",href:f(o)+s.value,target:"_blank","aria-label":"Get Started (opens in new tab)","data-cta-id":"mortgage-advantages-get-started-dtc"},{default:$(()=>u[17]||(u[17]=[T(" Get Started ")])),_:1,__:[17]},8,["href"])):(v(),X(c,{key:1,class:"my-10 cta",preset:"standard","data-cta-id":"mortgage-advantages-get-connected",onClick:u[2]||(u[2]=m=>i.value=!i.value)},{default:$(()=>u[18]||(u[18]=[T(" Get Connected ")])),_:1,__:[18]}))])])]),_:1,__:[21]}),C(St,{color:"lightgray"},{default:$(()=>u[22]||(u[22]=[a("h2",{class:"section-heading body-35 bold"},[T("How mortgage protection works "),a("div",{class:"divider-element bg-primary"})],-1),a("div",{class:"text-col sm:grid-cols-2 sm:gap-[5%] md:pb-10 flex"},[a("div",{class:"column iframe-container sm:w-auto w-[100%] sm:mb-0 mb-10 rounded-[15p
129x] overflow-hidden",style:{position:"relative",width:"100%","padding-bottom":"56.25%"}},[a("iframe",{title:"Play Video Informational video about how mortgage protection insurance works",style:{position:"absolute",top:"0",left:"0",width:"100%",height:"100%"},src:"https://fast.wistia.net/embed/iframe/iqlxhj9gw0?videoFoam=true&version=v1&controls=1&autoplay=0&silentAutoPlay=allow",allowfullscreen:"",loading:"lazy"})]),a("div",{class:"column content-wrapper content-center"},[a("p",{class:"body-20"},"Mortgage protection insurance functions much like other life insurance policies: You pay premiums to the insurance company to purchase a specific amount of mortgage protection coverage. Those premiums are based on your age and your health, as well as the value of your home and the payoff amount. If you die while the policy is in force, the insurance company provides funds to pay off your mortgage.")])],-1)])),_:1,__:[22]}),C(St,{color:"white"},{default:$(()=>u[23]||(u[23]=[a("h2",{class:"section-heading body-35 bold"},[T("Frequently Asked Questions "),a("div",{class:"divider-element bg-primary"})],-1),a("div",{class:"flex sm:flex-nowrap flex-wrap sm:gap-x-[10%] sm:gap-y-0 gap-y-10"},[a("div",{class:"column sm:basis-1/2"},[a("h3",{class:"body-25 bold mb-5"},"Q: What is the difference between mortgage protection insurance and homeowners insurance?"),a("strong",{class:"text-primary body-20"},"Mortgage Protection Insurance:"),a("ul",{class:"list-outside list-disc mt-4 pl-4"},[a("li",{class:"body-20 mb-[0.5em]"},"Makes your premiums in case of job loss*"),a("li",{class:"body-20 mb-[0.5em]"},"Money goes to your family"),a("li",{class:"body-20 mb-[0.5em]"},"Pays your mortgage if you become sick or injured"),a("li",{class:"body-20 mb-[0.5em]"},"Money your family receives is tax free"),a("li",{class:"body-20 mb-[0.5em]"},"Is portable — new home? It travels with you")]),a("p",{class:"text-xs text-medgray my-5"},"*Available in most states. Limitations may apply. Benefits and carriers will vary for coverages and are subject to underwriting approval, product limitations and availability."),a("strong",{class:"text-primary body-20"},"Homeowner's insurance covers:"),a("ul",{class:"list-outside list-disc mt-4 pl-4"},[a("li",{class:"body-20 mb-[0.5em]"},"Damage to your home in severe weather and water conditions"),a("li",{class:"body-20 mb-[0.5em]"},"Theft of your belongings"),a("li",{class:"body-20 mb-[0.5em]"},"Vandalism of your house and property"),a("li",{class:"body-20 mb-[0.5em]"},"Fire damage to your home"),a("li",{class:"body-20 mb-[0.5em]"},"Personal injury lawsuits if someone gets hurt on your property")])]),a("div",{class:"column sm:basis-1/2"},[a("h3",{class:"body-25 bold mb-5"},"Q: Do I qualify for mortgage protection insurance?"),a("p",{class:"body-20 mb-5"},"In most cases, yes! Mortgage protection insurance has a very high acceptance rate as most plans are offered with simplified underwriting (you won't have to take a medical exam to qualify)."),a("h3",{class:"body-25 bold mb-5"},"Q: When should I buy mortgage protection insurance?"),a("p",{class:"body-20 mb-5"},"If you have a mortgage on your home, or if you are in the process of obtaining a mortgage, you should consider buying mortgage protection insurance."),a("h3",{class:"body-25 bold mb-5"},"Q: Can I afford mortgage protection insurance?"),a("p",{class:"body-20 mb-5"},"Mortgage protection is one of the most inexpensive types of insurance, and it's often a more affordable option than purchasing a separate whole life policy to pay off your mortgage in the event of your death.")])],-1)])),_:1,__:[23]}),C(bo,null,{heading:$(()=>u[24]||(u[24]=[a("h2",{class:"section-heading body-35 bold"},"Featured Articles",-1),a("div",{class:"divider-element bg-primary"},null,-1)])),default:$(()=>[a("div",nne,[(v(!0),x(de,null,Be((e.posts||[]).slice(0,3),m=>(v(),x("div",{key:m.id,class:xe(["post column relative xl:w-[30.5%] w-[100%] mb-[2em] p-[25px] bg-white rounded-[15px]","post-"+m.id])},[a("a",{href:m.url_link},[a("img",{class:"mb-3",src:m.image,alt:m.image_alt},null,8,rne)],8,one),a("div",{class:"category-links mb-2",innerHTML:f(on)(m.category_links)},null,8,ane),a("h3",sne,[a("a",{class:"text-black",href:m.url_link},V(m.title),9,ine)]),a("div",lne,[m.published_date?(v(),x("div",une,V(m.published_date),1)):D("",!0),m.readtime?(v(),x("div",cne,V(m.readtime),1)):D("",!0)]),a("p",dne,V(m.description),1),a("a",{class:"body-15 bold underline hover:opacity-50 transition-all ease-in-out duration-250 absolute bottom-[30px]",href:m.url_link},[u[25]||(u[25]=T("Read More ")),C(d,{name:"icon-q-right-arrow",size:"large"})],8,fne)],2))),128))])]),_:1}),C(St,{color:"white"},{default:$(()=>[a("div",pne,[u[28]||(u[28]=a("h2",{class:"section-heading body-35 bold text-center"},"Get a Mortgage Protection Quote Today",-1)),u[29]||(u[29]=a("div",{class:"divider-element bg-primary mx-auto"},null,-1)),u[30]||(u[30]=a("h3",{class:"mt-5 mb-8 body-25 light"},[a("span",{class:"font-normal"}
129,"Protect your home, your loved ones, and your legacy."),a("br"),a("span",{class:"font-semibold"},"We'll show you how.")],-1)),f(t)?(v(),X(c,{key:0,preset:"standard",href:f(o)+s.value,target:"_blank","aria-label":"Get a Quote (opens in new tab)","data-cta-id":"mortgage-bottom-get-quote-dtc"},{default:$(()=>u[26]||(u[26]=[T(" Get a Quote ")])),_:1,__:[26]},8,["href"])):(v(),X(c,{key:1,class:"cta",preset:"standard","data-cta-id":"mortgage-bottom-get-connected",onClick:u[3]||(u[3]=m=>i.value=!i.value)},{default:$(()=>u[27]||(u[27]=[T(" Get Connected ")])),_:1,__:[27]}))])]),_:1}),C(p,{modelValue:i.value,"onUpdate:modelValue":u[4]||(u[4]=m=>i.value=m),"max-width":"600px","hide-default-actions":"","close-button":""},{default:$(()=>[C(Tr,{"product-type":"Mortgage Protection","lead-type":"Mortgage Protection"})]),_:1},8,["modelValue"])]),_:1})}}},hne=Object.freeze(Object.defineProperty({__proto__:null,default:mne},Symbol.toStringTag,{value:"Module"})),gne={class:"container"},vne={class:"items-center"},yne={class:"posts-grid flex xl:flex-row flex-col flex-wrap xl:gap-x-[4%] pt-[3em]"},bne=["href"],wne=["src","alt"],_ne=["innerHTML"],xne={class:"body-25 bold mb-3"},Sne=["href"],Cne={class:"post-meta flex flex-row mb-[1em] line-height-[1em]"},kne={key:0,class:"published-date body-15 light text-medgray pr-[15px] mr-[15px] border-r-[1px] border-medgray"},$ne={key:1,class:"read-time body-15 light text-medgray"},Ane={class:"body-17 light mb-10"},Tne=["href"],Ene={__name:"PermanentLife",props:{oc_site:Object,page:Object,posts:Object},setup(e){const t=e,n=M(!1),o="https://admin.myhatchsite.io";return w(()=>{var l,u;const r=((l=Mt.page)==null?void 0:l.url)||"/",s=((u=t.oc_site)==null?void 0:u.site_domain)||"oc.sfglife";return`redirect_url=${s==="localhost"?o:`https://${s}`}${r}`}),(r,s)=>{const i=he("VaButton"),l=he("VaIcon"),u=he("VaModal");return v(),X(On,null,{default:$(()=>[C(fr,{color:"primary","image-url":"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/7e4f7f0b-cb1c-40e8-6843-c4efcf00fb00/public","image-alt":"Smiling dad holding his daughter on his shoulders"},{default:$(()=>[s[4]||(s[4]=a("h1",{class:"body-51 black text-white mb-[2rem]"},"Permanent life insurance for lifetime protection",-1)),s[5]||(s[5]=a("p",{class:"body-35"},"Enjoy flexible coverage with benefits available when it matters most.",-1)),C(i,{class:"mt-[2.5rem] cta",preset:"white","data-cta-id":"permanentlife-hero-talk-to-agent",onClick:s[0]||(s[0]=c=>n.value=!n.value)},{default:$(()=>s[3]||(s[3]=[T(" Talk to an Agent ")])),_:1,__:[3]})]),_:1,__:[4,5]}),C(St,{color:"white"},{default:$(()=>s[6]||(s[6]=[a("div",{class:"md:mt-10 flex gap-x-[10%] gap-y-[2em] md:flex-row flex-col"},[a("div",{class:"column md:basis-1/2"},[a("h2",{class:"body-35 bold"},"What is permanent life insurance?"),a("div",{class:"divider-element bg-primary"}),a("p",{class:"mt-[1em] body-20"},"Permanent life insurance (also known as universal life) offers flexible, lifelong financial protection. Your policy stays in-force until you die (as long as premiums are paid).")]),a("div",{class:"column md:basis-1/2"},[a("h3",{class:"body-25 bold mb-5"},"Permanent life insurance provides: "),a("ul",{class:"list-disc pl-[18px]"},[a("li",{class:"mb-[0.5em] body-20"},[a("strong",null,"Lifelong coverage"),T(" that doesn't expire")]),a("li",{class:"mb-[0.5em] body-20"},[a("strong",null,"Flexible premiums"),T(" — pay more or less when it works for you")]),a("li",{class:"mb-[0.5em] body-20"},[a("strong",null,"Cash value"),T(" that grows tax-deferred and can be used for anything from emergencies to retirement income")])])])],-1)])),_:1,__:[6]}),C(lr,null,{TitleOverlap:$(()=>s[7]||(s[7]=[a("h2",{class:"text-4xl"},"Why do I need permanent life insurance?",-1)])),Content:$(()=>s[8]||(s[8]=[a("div",{class:"mt-10 flex gap-x-[4%] gap-y-[2em] md:flex-row flex-col-reverse"},[a("div",{class:"column md:w-[70%] w-full"},[a("p",{class:"body-20"},"Would your loved ones be able to cover final expenses, pay off debts, and keep up their way of life if you were to pass away unexpectedly, get diagnosed with a critical illness, or face a disability? If not, now’s a great time to look into your life insurance options. A permanent policy offers coverage for a lifetime, and is most affordable when purchased early in life.")]),a("div",{class:"column md:w-[30%] w-full"}
129,[a("div",{class:"iframe-container rounded-[15px] overflow-hidden",style:{position:"relative",width:"100%",height:"0","padding-bottom":"56.25%"}},[a("iframe",{title:"Play Video Callout informational video on why someone would need permanent life insurance",style:{position:"absolute",top:"0",left:"0",width:"100%",height:"100%"},src:"https://fast.wistia.net/embed/iframe/91do10fu9h?videoFoam=true&version=v1&controls=1",allowfullscreen:"",loading:"lazy"})])])],-1)])),_:1}),C(lr,{titleRight:!0},{TitleOverlap:$(()=>s[9]||(s[9]=[a("h2",{class:"text-4xl"},"How does permanent life insurance work?",-1)])),Content:$(()=>s[10]||(s[10]=[a("div",{class:"mt-10 flex gap-x-[4%] gap-y-[2em] md:flex-row flex-col"},[a("div",{class:"column md:w-[30%]"},[a("div",{class:"iframe-container rounded-[15px] overflow-hidden",style:{position:"relative",width:"100%",height:"0","padding-bottom":"56.25%"}},[a("iframe",{title:"Play Video Informational video on how Permanent Life insurance works",style:{position:"absolute",top:"0",left:"0",width:"100%",height:"100%"},src:"https://fast.wistia.net/embed/iframe/kkqoz1ncmq?videoFoam=true&version=v1&controls=1",allowfullscreen:"",loading:"lazy"})])]),a("div",{class:"column md:w-[70%]"},[a("p",{class:"body-20"},"Like any insurance, you'll need to apply and make your first payment to get started. After that, you'll need to keep up with your premium payments to keep your coverage active."),a("p",{class:"mt-5 body-20 font-semibold"},"One of the best parts of permanent life insurance is its flexibility. You can pay more when you're able to grow your policy's cash value, or lower your payments if money's tight for a while. It's built to adjust to your needs.")])],-1)])),_:1}),C(St,{color:"white"},{default:$(()=>[a("div",gne,[a("div",vne,[s[12]||(s[12]=a("h2",{class:"body-35 bold mb-5"},"Permanent life insurance made easy",-1)),s[13]||(s[13]=a("div",{class:"divider-element bg-primary"},null,-1)),s[14]||(s[14]=a("p",{class:"mt-[1em] mb-5 body-20"},"Instead of trying to sell you one type of insurance, one company's policy, or a specific death benefit amount, we get to know you first. We'll ask you a series of questions to help identify what your insurance needs are and what type of coverage will best help you meet those needs. From there, we have access to a variety of insurance providers and will work to find you a policy that meets both your goals and your budget.",-1)),C(i,{class:"mt-[2.5rem]",preset:"alternative","data-cta-id":"permanentlife-made-easy-get-connected",onClick:s[1]||(s[1]=c=>n.value=!n.value)},{default:$(()=>s[11]||(s[11]=[T(" Get Connected ")])),_:1,__:[11]})])])]),_:1}),C(St,{color:"white"},{default:$(()=>s[15]||(s[15]=[a("div",{class:"container md:pt-10 md:mb-10 border-t-[1px] border-[#9aa2aa]"},[a("h2",{class:"section-heading pt-10 body-35 bold"},"Frequently Asked Questions"),a("div",{class:"divider-element bg-primary"}),a("div",{class:"flex gap-x-[10%] gap-y-[2em] md:flex-row flex-col pt-10"},[a("div",{class:"column md:basis-1/2"},[a("h3",{class:"mb-5 body-25 bold"},"Q: Why choose permanent life insurance?"),a("h4",{class:"font-semibold mt-5"},"It's flexible, affordable, and offers more than just coverage:"),a("ul",{class:"list-outside list-disc mt-4 pl-4"},[a("li",{class:"body-20 mb-[0.5em]"},[a("strong",null,"Lower cost"),T(" than whole life insurance")]),a("li",{class:"body-20 mb-[0.5em]"},[a("strong",null,"Lapse protection"),T(" helps keep your policy active, even if you miss a payment")]),a("li",{class:"body-20 mb-[0.5em]"},[a("strong",null,"The cash value component"),T(" of the policy provides a guaranteed minimum interest rate and tax-deferred accumulation")]),a("li",{class:"body-20 mb-[0.5em]"},[a("strong",null,"Flexible payments"),T(" and adjustable coverage as your needs change")]),a("li",{class:"body-20 mb-[0.5em]"},[a("strong",null,"Access to cash"),T(" through policy loans or withdrawals when needed")])]),a("h3",{class:"my-5 body-25 bold"},"Q: Do I qualify for permanent life insurance?"),a("p",{class:"mb-[1em] body-20"},"When you apply, you'll answer a few questions about your health, job, and lifestyle. The insurance company uses this information to decide if you're approved."),a("p",null,"Many permanent life policies don't require a medical exam — just some basic health questions.")]),a("div",{class:"column md:basis-1/2"},[a("h3",{class:"mb-5 body-25 bold"},"Q: Can I afford permanent life insurance?"),a("p",{class:"mb-5"},"Permanent life insurance usually costs more than a term life policy, but less than whole life insurance. Your price depends on the coverage amount, your age, health, and whether you use tobacco. Non-smokers generally pay less."),a("p",{class:"body-20 font-semibold"}
129,"One of the biggest benefits of permanent life insurance is its flexibility towards premium payments. If you experience a temporary financial hardship and your policy has built up enough cash value, you may be able to use that to help cover your premiums for a while."),a("h3",{class:"my-5 body-25 bold"},"Q: When should I buy permanent life insurance?"),a("p",{class:"body-20 font-semibold"},"Since your age and health affect the cost, the best time to apply is now.")])])],-1)])),_:1,__:[15]}),C(bo,null,{heading:$(()=>s[16]||(s[16]=[a("h2",{class:"section-heading body-35 bold mb-5"},"Featured Articles",-1),a("div",{class:"divider-element bg-primary"},null,-1)])),default:$(()=>[a("div",yne,[(v(!0),x(de,null,Be((e.posts||[]).slice(0,3),c=>(v(),x("div",{key:c.id,class:xe(["post column relative xl:w-[30.5%] w-[100%] mb-[2em] p-[25px] bg-white rounded-[15px]","post-"+c.id])},[a("a",{href:c.url_link},[a("img",{class:"mb-3",src:c.image,alt:c.image_alt},null,8,wne)],8,bne),a("div",{class:"category-links mb-2",innerHTML:f(on)(c.category_links)},null,8,_ne),a("h3",xne,[a("a",{class:"text-black",href:c.url_link},V(c.title),9,Sne)]),a("div",Cne,[c.published_date?(v(),x("div",kne,V(c.published_date),1)):D("",!0),c.readtime?(v(),x("div",$ne,V(c.readtime),1)):D("",!0)]),a("p",Ane,V(c.description),1),a("a",{class:"body-15 bold underline hover:opacity-50 transition-all ease-in-out duration-250 absolute bottom-[30px]",href:c.url_link},[s[17]||(s[17]=T("Read More ")),C(l,{name:"icon-q-right-arrow",size:"large"})],8,Tne)],2))),128))])]),_:1}),C(u,{modelValue:n.value,"onUpdate:modelValue":s[2]||(s[2]=c=>n.value=c),"max-width":"600px","hide-default-actions":"","close-button":""},{default:$(()=>[C(Tr,{"product-type":"Life Insurance","lead-type":"Life Insurance"})]),_:1},8,["modelValue"])]),_:1})}}},Pne=Object.freeze(Object.defineProperty({__proto__:null,default:Ene},Symbol.toStringTag,{value:"Module"})),One={__name:"Privacy",props:{oc_site:Object,page:Object},setup(e){return(t,n)=>(v(),X(On,null,{default:$(()=>n[0]||(n[0]=[a("iframe",{src:"https://hq.quility.com/api/public/document/315241/view/privacy-policy-universalpdfl",style:{height:"100vh",width:"100%"},title:"Privacy Policy"},null,-1)])),_:1,__:[0]}))}},Ine=Object.freeze(Object.defineProperty({__proto__:null,default:One},Symbol.toStringTag,{value:"Module"})),Dne={class:"container py-8 px-4"},Mne={class:"max-w-4xl mx-auto"},Rne={class:"mb-12"},Lne={class:"mb-8"},Vne={class:"space-y-3"},Bne={class:"flex items-start"},Fne={class:"mb-12"},Nne={class:"mb-8"},zne={class:"space-y-3"},jne={class:"flex items-start"},Une={__name:"ReleaseNotes",props:{oc_site:Object,page:Object},setup(e){const t=qn(),n=w(()=>String(t.props.hatch_support_email??"[email protected]"));return(o,r)=>(v(),X(KS,{title:"Release Notes",disableTitle:!1},{default:$(()=>[a("div",Dne,[a("div",Mne,[r[27]||(r[27]=a("h1",{class:"text-3xl font-bold mb-8"},"Release Notes",-1)),r[28]||(r[28]=a("p",{class:"text-lg text-gray-600 mb-8"},[T(" Here's what's new in Quility"),a("sup",null,"®"),T(" Hatch"),a("sup",null,"™"),T(". ")],-1)),r[29]||(r[29]=a("section",{class:"mb-12"},[a("h2",{class:"text-2xl font-semibold mb-4 pb-2 border-b border-gray-200"},"Version 2.0.14"),a("p",{class:"text-sm text-gray-500 mb-6"},"October 2026"),a("div",{class:"mb-8"},[a("h3",{class:"text-lg font-semibold mb-4 text-blue-700"},"Improvements"),a("ul",{class:"space-y-3"},[a("li",{class:"flex items-start"},[a("span",{class:"text-blue-500 mr-2"},"•"),a("span",null,[a("strong",null,"Sign In"),T(" - After you sign in, Hatch opens the admin area that matches your account. If you saved a link to your admin page and come back later, Hatch remembers how you signed in so you get the right login.")])])])])],-1)),r[30]||(r[30]=a("section",{class:"mb-12"},[a("h2",{class:"text-2xl font-semibold mb-4 pb-2 border-b border-gray-200"},"Version 2.0.13"),a("p",{class:"text-sm text-gray-500 mb-6"},"October 2026"),a("div",{class:"mb-8"},[a("h3",{class:"text-lg font-semibold mb-4 text-green-700"},"New Features"),a("ul",{class:"space-y-3"},[a("li",{class:"flex items-start"},[a("span",{class:"text-green-500 mr-2"},"•"),a("span",null,[a("strong",null,"Domain Renewal"),T(" - Domain renew
129al is toggled off when you cancel your subscription.")])])])]),a("div",{class:"mb-8"},[a("h3",{class:"text-lg font-semibold mb-4 text-blue-700"},"Improvements"),a("ul",{class:"space-y-3"},[a("li",{class:"flex items-start"},[a("span",{class:"text-blue-500 mr-2"},"•"),a("span",null,[a("strong",null,"Domain Setup"),T(" - Messages while Hatch checks your nameservers are clearer, and you can close those notices when you are finished with them.")])]),a("li",{class:"flex items-start"},[a("span",{class:"text-blue-500 mr-2"},"•"),a("span",null,[a("strong",null,"Nameserver Help"),T(" - The Squarespace and Bluehost guides for updating nameservers now open the current instructions, including in Advanced Settings.")])]),a("li",{class:"flex items-start"},[a("span",{class:"text-blue-500 mr-2"},"•"),a("span",null,[a("strong",null,"Email Setup"),T(" - Email setup help now points you to Hatch support instead of a form on the page.")])]),a("li",{class:"flex items-start"},[a("span",{class:"text-blue-500 mr-2"},"•"),a("span",null,[a("strong",null,"Contact Page"),T(" - The contact page heading now reads Get Connected.")])])])]),a("div",{class:"mb-8"},[a("h3",{class:"text-lg font-semibold mb-4 text-orange-700"},"Bug Fixes"),a("ul",{class:"space-y-3"},[a("li",{class:"flex items-start"},[a("span",{class:"text-orange-500 mr-2"},"•"),a("span",null,[a("strong",null,"Subdomains"),T(" - Buying a new domain or connecting one you already own no longer accepts a subdomain. A www prefix is removed so Hatch uses the main domain.")])]),a("li",{class:"flex items-start"},[a("span",{class:"text-orange-500 mr-2"},"•"),a("span",null,[a("strong",null,"Trial Sites"),T(" - A site on a trial stays available and can finish going live, the same as an active subscription. A trial invoice no longer marks the subscription as paid.")])]),a("li",{class:"flex items-start"},[a("span",{class:"text-orange-500 mr-2"},"•"),a("span",null,[a("strong",null,"Live Sites"),T(" - An extra payment, or an old subscription left behind, no longer turns off a site that is already live.")])])])]),a("div",{class:"mb-8"},[a("h3",{class:"text-lg font-semibold mb-4 text-gray-700"},"Behind the Scenes"),a("ul",{class:"space-y-3"},[a("li",{class:"flex items-start"},[a("span",{class:"text-gray-500 mr-2"},"•"),a("span",null,[a("strong",null,"Native Lead Gen Forms"),T(" - Native lead gen forms are built but hidden until captcha at scale can be added. Feathery based forms are still shown. Turning them on and off is ENV based.")])]),a("li",{class:"flex items-start"},[a("span",{class:"text-gray-500 mr-2"},"•"),a("span",null,[a("strong",null,"Lead Delivery"),T(" - If a form request cannot be sent through right away, Hatch can hold it and try again.")])]),a("li",{class:"flex items-start"},[a("span",{class:"text-gray-500 mr-2"},"•"),a("span",null,[a("strong",null,"DTC Checks"),T(" - Each site is checked for DTC eligibility once a day.")])]),a("li",{class:"flex items-start"},[a("span",{class:"text-gray-500 mr-2"},"•"),a("span",null,[a("strong",null,"Sign-in"),T(" - Regular Hatch sign-in stays the same. A separate sign-in path is available for the agency portal.")])]),a("li",{class:"flex items-start"},[a("span",{class:"text-gray-500 mr-2"},"•"),a("span",null,[a("strong",null,"Notification Emails"),T(" - Hatch can send its notification emails through a new mail path when that option is turned on.")])])])])],-1)),r[31]||(r[31]=a("section",{class:"mb-12"},[a("h2",{class:"text-2xl font-semibold mb-4 pb-2 border-b border-gray-200"},"Version 2.0.12"),a("p",{class:"text-sm text-gray-500 mb-6"},"August 2026"),a("div",{class:"mb-8"},[a("h3",{class:"text-lg font-semibold mb-4 text-orange-700"},"Bug Fixes"),a("ul",{class:"space-y-3"},[a("li",{class:"flex items-start"},[a("span",{class:"text-orange-500 mr-2"},"•"),a("span",null,[a("strong",null,"www Website Access"),T(" - www version of domains were having SSL handshake failure due to changes in the V2 Forge API. We now set the Forge www redirect to the TLD.")])]),a("li",{class:"flex items-start"},[a("span",{class:"text-orange-500 mr-2"},"•"),a("span",null,[a("strong",null,"Domain Registration"),T(" - Fixed a problem that could block Hatch from completing a new domain purchase on the newer registration path, so buying a domain succeeds more reliably.")])])])]),a("div",{class:"mb-8"},[a("h3",{class:"text-lg font-semibold mb-4 text-gray-700"},"Behind the Scenes"),a("ul",{class:"space-y-3"},[a("li",{class:"flex items-start"},[a("span",{class:"text-gray-500 mr-2"},"•"),a("span",null,[a("strong",null,"Hosting Setup"),T(" - New sites are set up so the www address works with secure connections from the start, and existing affected sites can be repaired without a full re-provision.")])])])])],-1)),r[32]||(r[32]=a("section",{class:"mb-12"},[a("h2",{class:"text-2xl font-semibold mb-4 pb-2 border-b border-gray-200"},"Version 2.0.10"),a("p",{class:"text-sm text-gray-500 mb-6"},"July 2026"),a("div",{class:"mb-8"},[a("h3",{class:"text-lg font-semibold mb-4 text-blue-700"},"Improvements"),a("ul",{class:"space-y-3"},[a("li",{class:"flex items-start"},[a("span",{class:"text-blue-500 mr-2"},"•"),a("span",null,[a("strong",null,"Domain Setup Flow"),T(" - Registering a new domain is clearer and safer: once registration starts, the bring-your-own-domain option steps aside so the two paths don't collide mid-setup.")])]),a("li",{class:"flex items-start"},[a("span",{class:"text-blue-500 mr-2"},"•"),a("span",null,[a("strong",null,"Incomplete Domain Registration"),T(" - If a new domain purchase succeeds but the final website setup didn't finish, Hatch can pick up where it left off instead of leaving the site stuck halfway.")])]),a("li",{class:"flex items-start"},[a("span",{class:"text-blue-500 mr-2"},"•"),a("span",null,[a("strong",null,"Profile Photo Size Limits"),T(" - Uploading a profile photo now respects f
129ile size limits more reliably, with a clearer message when an image is too large.")])]),a("li",{class:"flex items-start"},[a("span",{class:"text-blue-500 mr-2"},"•"),a("span",null,[a("strong",null,"News & Stories Pages"),T(" - When Symmetry news or blog content can't load, you'll see a clearer message instead of an empty-looking page.")])]),a("li",{class:"flex items-start"},[a("span",{class:"text-blue-500 mr-2"},"•"),a("span",null,[a("strong",null,"Site Access & Subscription Status"),T(" - Your site's on/off state stays in step with your subscription status more reliably when billing changes.")])])])]),a("div",{class:"mb-8"},[a("h3",{class:"text-lg font-semibold mb-4 text-orange-700"},"Bug Fixes"),a("ul",{class:"space-y-3"},[a("li",{class:"flex items-start"},[a("span",{class:"text-orange-500 mr-2"},"•"),a("span",null,[a("strong",null,"Bring-Your-Own-Domain Race"),T(" - Fixed a case where starting a bring-your-own-domain setup could interrupt a Hatch domain purchase that was still finishing, leaving ownership and DNS in the wrong state.")])])])]),a("div",{class:"mb-8"},[a("h3",{class:"text-lg font-semibold mb-4 text-gray-700"},"Behind the Scenes"),a("ul",{class:"space-y-3"},[a("li",{class:"flex items-start"},[a("span",{class:"text-gray-500 mr-2"},"•"),a("span",null,[a("strong",null,"Domain Registration Platform"),T(" - API updated from GoDaddy v1 to v3 with v1 fall-back.")])]),a("li",{class:"flex items-start"},[a("span",{class:"text-gray-500 mr-2"},"•"),a("span",null,[a("strong",null,"Hosting Provisioning"),T(" - API updated to Forge v2.")])]),a("li",{class:"flex items-start"},[a("span",{class:"text-gray-500 mr-2"},"•"),a("span",null,[a("strong",null,"Support Chat Identity"),T(" - Aligned support chat user identity so the same person is recognized consistently across Hatch apps.")])]),a("li",{class:"flex items-start"},[a("span",{class:"text-gray-500 mr-2"},"•"),a("span",null,[a("strong",null,"Staff Hatchsites Tools"),T(" - Staff can see more site status at a glance (provisioning, DTC, subscription) and reset a site back to import defaults when needed.")])]),a("li",{class:"flex items-start"},[a("span",{class:"text-gray-500 mr-2"},"•"),a("span",null,[a("strong",null,"Site Access Grants"),T(" - Improved tools for granting Hatch site access permissions in bulk when something was missed during setup.")])])])])],-1)),r[33]||(r[33]=a("section",{class:"mb-12"},[a("h2",{class:"text-2xl font-semibold mb-4 pb-2 border-b border-gray-200"},"Version 2.0.9"),a("p",{class:"text-sm text-gray-500 mb-6"},"July 2026"),a("div",{class:"mb-8"},[a("h3",{class:"text-lg font-semibold mb-4 text-green-700"},"New Features"),a("ul",{class:"space-y-3"},[a("li",{class:"flex items-start"},[a("span",{class:"text-green-500 mr-2"},"•"),a("span",null,[a("strong",null,"Profile Photo Cropping"),T(" - You can now crop and adjust your profile photo directly in your site settings, giving you more control over how your image looks before saving.")])]),a("li",{class:"flex items-start"},[a("span",{class:"text-green-500 mr-2"},"•"),a("span",null,[a("strong",null,"Recruiting Home Page"),T(` - A new "Recruiting" option is available when choosing your site's home page layout, making it easier to highlight recruiting opportunities on your site.`)])]),a("li",{class:"flex items-start"},[a("span",{class:"text-green-500 mr-2"},"•"),a("span",null,[a("strong",null,"DNS Record Management"),T(" - You can now view and manage CNAME records from the DNS configuration section of your site settings.")])])])]),a("div",{class:"mb-8"},[a("h3",{class:"text-lg font-semibold mb-4 text-blue-700"},"Improvements"),a("ul",{class:"space-y-3"},[a("li",{class:"flex items-start"},[a("span",{class:"text-blue-500 mr-2"},"•"),a("span",null,[a("strong",null,"Email Notifications"),T(" - Updated the wording in site setup, site-ready, and DTC eligibility emails for clarity and to reflect the latest Funnel branding.")])])])]),a("div",{class:"mb-8"},[a("h3",{class:"text-lg font-semibold mb-4 text-orange-700"},"Bug Fixes"),a("ul",{class:"space-y-3"},[a("li",{class:"flex items-start"},[a("span",{class:"text-orange-500 mr-2"},"•"),a("span",null,[a("strong",null,"New Site Creation"),T(" - Fixed an issue that could prevent a new site from being created during subscription activation.")])]),a("li",{class:"flex items-start"},[a("span",{class:"text-orange-500 mr-2"},"•"),a("span",null,[a("strong",null,"Profile Photo Saving"),T(" - Fixed an issue where a newly uploaded profile photo could revert to the previous image after saving.")])])])]),a("div",{class:"mb-8"},[a("h3",{class:"text-lg font-semibold mb-4 text-gray-700"},"Behind the Scenes"),a("ul",{class:"space-y-3"},[a("li",{class:"flex items-start"},[a("span",{class:"text-gray-500 mr-2"},"•"),a("span",null,[a("strong",null,"Automatic Site Access"),T(" - Built a new system that automatically sets up your site access permissions when your subscription activates, removing the need for any manual steps.")])]),a("li",{class:"flex items-start"},[a("span",{class:"text-gray-500 mr-2"},"•"),a("span",null,[a("strong",null,"DNS Record Safety"),T(" - Improved error handling when updating DNS records so partial changes are properly rolled back if something goes wrong.")])]),a("li",{class:"flex items-start"},[a("span",{class:"text-gray-500 mr-2"},"•"),a("span",null,[a("strong",null,"Analytics Tracking"),T(" - Fixed the analytics configuration so site activity tracking works correctly.")])]),a("li",{class:"flex items-start"},[a("span",{class:"text-gray-500 mr-2"},"•"),a("span",null,[a("strong",null,"Subscription Processing"),T(" - Improved how we match customers during subscription processing for more reliable site setup.")])])])])],-1)),r[34]||(r[34]=a("section",{class:"mb-12"},[a("h2",{class:"text-2xl font-semibold mb-4 pb-2 border-b border-gray-200"},"Version 2.0.7"),a("p",{class:"text-sm text-gray-500 mb-6"},"May 2026"),a("div",{class:"mb-8"},[a("h3",{class:"text-lg font-semibold mb-4 text-blue-700"},"Improvements"),a("ul",{class:"space-y-3"},[a("li",{class:"flex items-start"},[a("span",{class:"text-blue-500 mr-2"},"•"),a("span",null,[a("strong",null,"DTC Eligibility"),T(" - The system now checks additional sources when determining your DTC eligibility, so agents who meet licensing requirements through a DBA are more likely to be recognized as eligible.")])]),a("li",{class:"flex items-start"},[a("span",{class:"text-blue-500 mr-2"},"•"),a("span",null,[a("strong",null,"Advanced Markets Page"),T(' - The Advanced Markets home page now consistently shows a "Get Connected" button for a simpler, more straightforward experience.')])])])]),a("div",{class:"mb-8"},[a("h3",{class:"text-lg font-semibold mb-4 text-orange-700"},"Bug Fixes"),a("ul",{class:"space-y-3"},[a("li",{class:"flex items-start"},[a("span",{class:"text-orange-500 mr-2"},"•"),a("span",null,[a("strong",null,"Profile Image Upload"),T(" - When uploading a profile image that exceeds the size limit, you now see a clear, helpful error message instead of a confusing technical error.")])]),a("li",{class:"flex items-start"},[a("span",{class:"text-orange-500 mr-2"},"•"),a("span",null,[a("strong",null,"Working with Symmetry Link"),T(' - The shortened "Working Symmetry" URL now correctly redirects to the full "Working with Symmetry" page.')])])])]),a("div",{class:"mb-8"},[a("h3",{class:"text-lg font-semibold mb-4 text-gray-700"},"Behind the Scenes"),a("ul",{class:"space-y-3"},[a("li",{class:"flex items-start"},[a("span",{class:"text-gray-500 mr-2"},"•"),a("span",null,[a("strong",null,"Security Certificates"),T(" - Moved security certificate management to a cloud-based provider, improving site loading speed and reducing setup time for new sites.")])]),a("li",{class:"flex items-start"},[a("span",{class:"text-gray-500 mr-2"},"•"),a("span",null,[a("strong",null,"DTC Case Tracking"),T(" - Added internal tracking for DTC case activity to support compliance and reporting needs.")])]),a("li",{class:"flex items-start"},[a("span",{class:"text-gray-500 mr-2"},"•"),a("span",null,[a("strong",null,"Database Safety"),T(" - Added safeguards to prevent accidental destructive changes during system updates.")])]),a("li",{class:"flex items-start"},[a("span",{class:"text-gray-500 mr-2"},"•"),a("span",null,[a("strong",null,"Site Migration Tools"),T(" - Added bulk subscriber import tooling and batch processing for safer onboarding of existing agent sites.")])])])])],-1)),r[35]||(r[35]=a("section",{class:"mb-12"},[a("h2",{class:"text-2xl font-semibold mb-4 pb-2 border-b border-gray-200"},"Version 2.0.6"),a("p",{class:"text-sm text-gray-500 mb-6"},"May 2026"),a("div",{class:"mb-8"},[a("h3",{class:"text-lg font-semibold mb-4 text-green-700"},"New Features"),a("ul",{class:"space-y-3"},[a("li",{class:"flex items-start"},[a("span",{class:"text-green-500 mr-2"},"•"),a("span",null,[a("strong",null,"DTC Terms & Conditions"),T(" - When you enable Direct-to-Consumer on your profile, you are now asked to review and acknowledge licensing and commission eligibility terms before saving. Once accepted, the acknowledgment date is recorded and displayed on your profile.")])])])]),a("div",{class:"mb-8"},[a("h3",{class:"text-lg font-semibold mb-4 text-blue-700"},"Improvements"),a("ul",{class:"space-y-3"},[a("li",{class:"flex items-start"},[a("span",{class:"text-blue-500 mr-2"},"•"),a("span",null,[a("strong",null,"Support Chat"),T(" - When you open the support chat, your agent details — including name, email, agent code, state, and NPN — are now automatically shared with the support team so they can assist you faster without asking for that information.")])]),a("li",{class:"flex items-start"},[a("span",{class:"text-blue-500 mr-2"},"•"),a("span",null,[a("strong",null,"Accessibility"),T(' - The site now includes a "Skip to Main Content" link for keyboard navigation, better screen reader labels on buttons, icons, navigation menus, and star ratings, and improved keyboard support for dropdown menus and sortable tables — all meeting current accessibility standards.')])]),a("li",{class:"flex items-start"},[a("span",{class:"text-blue-500 mr-2"},"•"),a("span",null,[a("strong",null,"What We Offer"),T(' - The "Retirement Insurance" tile on the home page has been renamed to "Retirement Solutions" to better reflect the range of services available.')])]),a("li",{class:"flex items-start"},[a("span",{class:"text-blue-500 mr-2"},"•"),a("span",null,[a("strong",null,"Term Life Page"),T(" - Updated the Term Life product image for a cleaner appearance.")])])])]),a("div",{class:"mb-8"},[a("h3",{class:"text-lg font-semibold mb-4 text-orange-700"},"Bug Fixes"),a("ul",{class:"space-y-3"},[a("li",{class:"flex items-start"},[a("span",{class:"text-orange-500 mr-2"},"•"),a("span",null,[a("strong",null,"Profile Save Button"),T(" - Fixed an issue where the Save button on your profile was not enabled when the DTC acknowledgment was the only change you made.")])])])]),a("div",{class:"mb-8"},[a("h3",{class:"text-lg font-semibold mb-4 text-gray-700"},"Behind the Scenes"),a("ul",{class:"space-y-3"},[a("li",{class:"flex items-start"},[a("span",{class:"text-gray-500 mr-2"},"•"),a("span",null,[a("strong",null,"Payment Processing"),T(" - Added supp
129ort for a second billing account so the platform can handle payments through multiple sources. Each payment event now tracks which account processed it.")])]),a("li",{class:"flex items-start"},[a("span",{class:"text-gray-500 mr-2"},"•"),a("span",null,[a("strong",null,"Site Migration Tools"),T(" - Added temporary tools to help onboard existing agent sites to the new platform, including automated DNS setup, server provisioning, and security certificate configuration.")])]),a("li",{class:"flex items-start"},[a("span",{class:"text-gray-500 mr-2"},"•"),a("span",null,[a("strong",null,"Accessibility Testing"),T(" - Integrated automated accessibility checking tools to help catch issues early during development.")])])])])],-1)),r[36]||(r[36]=a("section",{class:"mb-12"},[a("h2",{class:"text-2xl font-semibold mb-4 pb-2 border-b border-gray-200"},"Version 2.0.5"),a("p",{class:"text-sm text-gray-500 mb-6"},"April 2026"),a("div",{class:"mb-8"},[a("h3",{class:"text-lg font-semibold mb-4 text-green-700"},"New Features"),a("ul",{class:"space-y-3"},[a("li",{class:"flex items-start"},[a("span",{class:"text-green-500 mr-2"},"•"),a("span",null,[a("strong",null,"Debt Free Life Calculator"),T(' - The Debt Free Life page now features a built-in interactive calculator with three tabs: "Debt Strategy" lets you enter your debts and see a step-by-step payoff plan, "Build Your Own Bank" shows how overpayments can become savings, and "See the Impact" combines both views into a complete financial picture. A disclaimer and a "Connect with an Agent" button guide visitors toward booking a conversation.')])])])]),a("div",{class:"mb-8"},[a("h3",{class:"text-lg font-semibold mb-4 text-blue-700"},"Improvements"),a("ul",{class:"space-y-3"},[a("li",{class:"flex items-start"},[a("span",{class:"text-blue-500 mr-2"},"•"),a("span",null,[a("strong",null,"Button Styling"),T(" - Buttons across both the public-facing site and the Agent Portal now have consistent sizing and spacing for a more polished look.")])]),a("li",{class:"flex items-start"},[a("span",{class:"text-blue-500 mr-2"},"•"),a("span",null,[a("strong",null,"Calendly Booking"),T(" - Fixed a design mismatch in the Calendly appointment booking flow so the scheduling step displays as intended.")])]),a("li",{class:"flex items-start"},[a("span",{class:"text-blue-500 mr-2"},"•"),a("span",null,[a("strong",null,"Nameserver Instructions"),T(' - Corrected the styling of copy buttons inside the "How to update your nameservers" guide so they match the intended design.')])]),a("li",{class:"flex items-start"},[a("span",{class:"text-blue-500 mr-2"},"•"),a("span",null,[a("strong",null,"Bring Your Own Domain"),T(' - Additional polish to the domain setup experience: clearer confirmation dialog text, a better-positioned "Verify Domain" button, and smoother alert banners during the nameserver update process.')])]),a("li",{class:"flex items-start"},[a("span",{class:"text-blue-500 mr-2"},"•"),a("span",null,[a("strong",null,"Blog & Story Content"),T(" - Blog posts and Symmetry Stories now display paragraph spacing correctly instead of running text together.")])])])]),a("div",{class:"mb-8"},[a("h3",{class:"text-lg font-semibold mb-4 text-orange-700"},"Bug Fixes"),a("ul",{class:"space-y-3"},[a("li",{class:"flex items-start"},[a("span",{class:"text-orange-500 mr-2"},"•"),a("span",null,[a("strong",null,"Chat Popup Form"),T(" - Fixed an issue where the support chat popup was cut off or misaligned on smaller screens, so it now scrolls properly on shorter displays.")])])])]),a("div",{class:"mb-8"},[a("h3",{class:"text-lg font-semibold mb-4 text-gray-700"},"Behind the Scenes"),a("ul",{class:"space-y-3"},[a("li",{class:"flex items-start"},[a("span",{class:"text-gray-500 mr-2"},"•"),a("span",null,[a("strong",null,"Content Security"),T(" - Added stronger safeguards against potentially harmful content when displaying blog posts, category links, error messages, and other dynamic text across the site.")])]),a("li",{class:"flex items-start"},[a("span",{class:"text-gray-500 mr-2"},"•"),a("span",null,[a("strong",null,"Admin Site Search"),T(" - Improved how the admin site search works under the hood for better reliability and security.")])]),a("li",{class:"flex items-start"},[a("span",{class:"text-gray-500 mr-2"},"•"),a("span",null,[a("strong",null,"Database Security"),T(" - Hardened internal database tooling against injection risks.")])]),a("li",{class:"flex items-start"},[a("span",{class:"text-gray-500 mr-2"},"•"),a("span",null,[a("strong",null,"Agent Portal Code"),T(" - Streamlined the Agent Portal and Admin setup forms by consolidating shared code, reducing duplication and making future updates faster and more consistent.")])]),a("li",{class:"flex items-start"},[a("span",{class:"text-gray-500 mr-2"},"•"),a("span",null,[a("strong",null,"Content Feeds"),T(" - Configured blog and story content feeds to pull from the correct source for each environment, keeping test and live traffic separate.")])])])])],-1)),a("section",Rne,[r[11]||(r[11]=a("h2",{class:"text-2xl font-semibold mb-4 pb-2 border-b border-gray-200"},"Version 2.0.4",-1)),r[12]||(r[12]=a("p",{class:"text-sm text-gray-500 mb-6"},"April 2026",-1)),a("div",Lne,[r[10]||(r[10]=a("h3",{class:"text-lg font-semibold mb-4 text-blue-700"},"Improvements",-1)),a("ul",Vne,[r[4]||(r[4]=a("li",{class:"flex items-start"},[a("span",{class:"text-blue-500 mr-2"},"•"),a("span",null,[a("strong",null,"Bring Your Own Domain"),T(" - Additional fixes and polish so using a domain you already own is more reliable: clearer steps, DNS checks you can run again when needed, names that aren’t allowed are caught the same way as when you register a new domain, and setup is less likely to get stuck partway through. The “site live” flow can take you straight to Advanced Settings when that makes sense, and you stay on Advanced Settings when you return from Calendly or after the post-live steps.")])],-1)),r[5]||(r[5]=a("li",{class:"flex items-start"},[a("span",{class:"text-blue-500 mr-2"},"•"),a("span",null,[a("strong",null,"Calendly & Advanced Settings"),T(" - When you connect, disconnect, or come back from Calendly, you stay on the Advanced Settings tab instead of jumping away. The same idea applies after the “site live” experience so you don’t lose your place.")])],-1)),r[6]||(r[6]=a("li",{class:"flex items-start"},[a("span",{class:"text-blue-500 mr-2"},"•"),a("span",null,[a("strong",null,"Profile Saved"),T(" - When you save your profile on Advanced Settings, a clear message appears in a banner at the top of the tab so you know it worked—matching the intended design.")])],-1)),r[7]||(r[7]=a("li",{class:"flex items-start"},[a("span",{class:"text-blue-500 mr-2"},"•"),a("span",null,[a("strong",null,"Site On or Off"),T(" - Whether your site is live is no longer turned on or off by hand in the admin tools. It lines up with when your site actually finishes going live and when subscription billing changes turn it off.")])],-1)),r[8]||(r[8]=a("li",{class:"flex items-start"},[a("span",{class:"text-blue-500 mr-2"},"•"),a("span",null,[a("strong",null,"Direct-to-Consumer Links & Home Page"),T(" - Calls-to-action on your home page show when they should. Links through to apply work more reliably, including for tracking campaign details. Who qualifies for direct-to-consumer follows updated Banner Beyond Term rules.")])],-1)),a("li",Bne,[r[3]||(r[3]=a("span",{class:"text-blue-500 mr-2"},"•",-1)),a("span",null,[r[0]||(r[0]=a("strong",null,"Support Links",-1)),r[1]||(r[1]=T(" - Supp
129ort links across the experience use one consistent support email (")),a("strong",null,V(n.value),1),r[2]||(r[2]=T("), driven from a single setting so future updates stay in sync."))])]),r[9]||(r[9]=a("li",{class:"flex items-start"},[a("span",{class:"text-blue-500 mr-2"},"•"),a("span",null,[a("strong",null,"Help Chat Window"),T(" - The integrated support chat sits more comfortably on the page so it’s less likely to cover what you’re trying to read or click.")])],-1))])]),r[13]||(r[13]=a("div",{class:"mb-8"},[a("h3",{class:"text-lg font-semibold mb-4 text-orange-700"},"Bug Fixes"),a("ul",{class:"space-y-3"},[a("li",{class:"flex items-start"},[a("span",{class:"text-orange-500 mr-2"},"•"),a("span",null,[a("strong",null,"Public Hatch Site"),T(" - Fixed a layout issue where some content could overlap on the public-facing site.")])]),a("li",{class:"flex items-start"},[a("span",{class:"text-orange-500 mr-2"},"•"),a("span",null,[a("strong",null,"Direct-to-Consumer Links"),T(' - Fixed an issue where "Get a Quote" links were not directing visitors to the correct application page, which could cause the link to fail or redirect incorrectly.')])])])],-1)),r[14]||(r[14]=a("div",{class:"mb-8"},[a("h3",{class:"text-lg font-semibold mb-4 text-gray-700"},"Behind the Scenes"),a("ul",{class:"space-y-3"},[a("li",{class:"flex items-start"},[a("span",{class:"text-gray-500 mr-2"},"•"),a("span",null,[a("strong",null,"Site Setup Code"),T(" - Retired older, unused setup paths so the current flow is easier to maintain.")])]),a("li",{class:"flex items-start"},[a("span",{class:"text-gray-500 mr-2"},"•"),a("span",null,[a("strong",null,"Automated Security Checks"),T(" - Added stronger automated checks to catch issues earlier.")])])])],-1))]),r[37]||(r[37]=a("section",{class:"mb-12"},[a("h2",{class:"text-2xl font-semibold mb-4 pb-2 border-b border-gray-200"},"Version 2.0.3"),a("p",{class:"text-sm text-gray-500 mb-6"},"March 2026"),a("div",{class:"mb-8"},[a("h3",{class:"text-lg font-semibold mb-4 text-blue-700"},"Improvements"),a("ul",{class:"space-y-3"},[a("li",{class:"flex items-start"},[a("span",{class:"text-blue-500 mr-2"},"•"),a("span",null,[a("strong",null,"Calendly Calendar Embed"),T(" - After you submit the Get Connected form, the intro heading and text now hide automatically so the Calendly scheduling embed uses the full width of the modal for a better booking experience.")])]),a("li",{class:"flex items-start"},[a("span",{class:"text-blue-500 mr-2"},"•"),a("span",null,[a("strong",null,"Contact & Chat Forms"),T(" - Get Connected (modal), Contact page, and the Chat Widget now hide their intro text in the same way when you submit the form or when the Calendly step appears, so behavior is consistent everywhere.")])]),a("li",{class:"flex items-start"},[a("span",{class:"text-blue-500 mr-2"},"•"),a("span",null,[a("strong",null,"Register New Domain & Bring Your Own Domain"),T(" - Improved domain registration and site creation flow: clearer UI for choosing and entering your domain, support for domains that are still pending, and a loading spinner on the Register button so you know when your request is in progress.")])]),a("li",{class:"flex items-start"},[a("span",{class:"text-blue-500 mr-2"},"•"),a("span",null,[a("strong",null,"Calendly & Get Connected"),T(" - Calendly URL parameters no longer persist on reload, and the Calendly accordion hides when you're already connected for a cleaner experience. Register/Get Connected actions now show a loading state while processing.")])]),a("li",{class:"flex items-start"},[a("span",{class:"text-blue-500 mr-2"},"•"),a("span",null,[a("strong",null,"Profile & Licenses Pages"),T(" - Required asterisk added to the profile image description; mobile layout tweaks on the agent/admin profile and licenses pages for a better small-screen experience.")])])])]),a("div",{class:"mb-8"},[a("h3",{class:"text-lg font-semibold mb-4 text-gray-700"},"Behind the Scenes"),a("ul",{class:"space-y-3"},[a("li",{class:"flex items-start"},[a("span",{class:"text-gray-500 mr-2"},"•"),a("span",null,[a("strong",null,"Form Intro Logic"),T(" - Intro-hiding for Feathery forms is now handled in one place instead of per-page polling, for more reliable behavior and easier maintenance.")])]),a("li",{class:"flex items-start"},[a("span",{class:"text-gray-500 mr-2"},"•"),a("span",null,[a("strong",null,"Domain Configuration"),T(" - Fixed missing app URL that could cause auth errors during domain setup; improved handling of pending domains so they are not pre-filled in the domain field.")])]),a("li",{class:"flex items-start"},[a("span",{class:"text-gray-500 mr-2"},"•"),a("span",null,[a("strong",null,"DNS & LOR"),T(" - Removed deprecated DNS check dedupe job;
129 consolidated LOR integration to use a single environment configuration.")])])])])],-1)),a("section",Fne,[r[23]||(r[23]=a("h2",{class:"text-2xl font-semibold mb-4 pb-2 border-b border-gray-200"},"Version 2.0.1.1",-1)),r[24]||(r[24]=a("p",{class:"text-sm text-gray-500 mb-6"},"February 2026",-1)),a("div",Nne,[r[22]||(r[22]=a("h3",{class:"text-lg font-semibold mb-4 text-blue-700"},"Improvements",-1)),a("ul",zne,[r[19]||(r[19]=a("li",{class:"flex items-start"},[a("span",{class:"text-blue-500 mr-2"},"•"),a("span",null,[a("strong",null,"Billing Page"),T(" - Updated billing page content with an enhanced security indicator for a clearer experience.")])],-1)),r[20]||(r[20]=a("li",{class:"flex items-start"},[a("span",{class:"text-blue-500 mr-2"},"•"),a("span",null,[a("strong",null,"Product & Home Pages"),T(" - Refreshed page headlines across all product pages and the home page for a more consistent look and feel.")])],-1)),r[21]||(r[21]=a("li",{class:"flex items-start"},[a("span",{class:"text-blue-500 mr-2"},"•"),a("span",null,[a("strong",null,"Direct-to-Consumer Links"),T(" - Improved how DTC links appear across your site, making them easier to manage and more flexible for future updates.")])],-1)),a("li",jne,[r[18]||(r[18]=a("span",{class:"text-blue-500 mr-2"},"•",-1)),a("span",null,[r[15]||(r[15]=a("strong",null,"Support Email Updated",-1)),r[16]||(r[16]=T(" - The support contact email has been changed to ")),a("strong",null,V(n.value),1),r[17]||(r[17]=T(" across all pages and notifications."))])])])]),r[25]||(r[25]=a("div",{class:"mb-8"},[a("h3",{class:"text-lg font-semibold mb-4 text-orange-700"},"Bug Fixes"),a("ul",{class:"space-y-3"},[a("li",{class:"flex items-start"},[a("span",{class:"text-orange-500 mr-2"},"•"),a("span",null,[a("strong",null,"Payment Event Tracking"),T(" - Fixed Stripe events not being fully logged.")])])])],-1)),r[26]||(r[26]=a("div",{class:"mb-8"},[a("h3",{class:"text-lg font-semibold mb-4 text-gray-700"},"Behind the Scenes"),a("ul",{class:"space-y-3"},[a("li",{class:"flex items-start"},[a("span",{class:"text-gray-500 mr-2"},"•"),a("span",null,[a("strong",null,"System Monitoring"),T(" - Improved logging to help our team detect and resolve issues faster.")])]),a("li",{class:"flex items-start"},[a("span",{class:"text-gray-500 mr-2"},"•"),a("span",null,[a("strong",null,"Infrastructure Cleanup"),T(" - Removed outdated backend code that has been fully replaced by newer, more reliable services.")])]),a("li",{class:"flex items-start"},[a("span",{class:"text-gray-500 mr-2"},"•"),a("span",null,[a("strong",null,"Automated Health Checks"),T(" - Added automated checks to ensure site configurations stay in sync and running smoothly.")])]),a("li",{class:"flex items-start"},[a("span",{class:"text-gray-500 mr-2"},"•"),a("span",null,[a("strong",null,"Database Optimization"),T(" - Cleaned up unused data fields for improved performance.")])])])],-1))]),r[38]||(r[38]=a("section",{class:"mb-12"},[a("h2",{class:"text-2xl font-semibold mb-4 pb-2 border-b border-gray-200"},"Version 2.0.1"),a("p",{class:"text-sm text-gray-500 mb-6"},"January 2026"),a("div",{class:"mb-8"},[a("h3",{class:"text-lg font-semibold mb-4 text-green-700"},"New Features"),a("ul",{class:"space-y-3"},[a("li",{class:"flex items-start"},[a("span",{class:"text-green-500 mr-2"},"•"),a("span",null,[a("strong",null,"Zendesk Support Widget"),T(" - Get help directly from the Agent Portal with our new integrated support chat.")])]),a("li",{class:"flex items-start"},[a("span",{class:"text-green-500 mr-2"},"•"),a("span",null,[a("strong",null,"Lead Delivery Tracking"),T(" - Your lead delivery destination is now synced and displayed in your profile.")])]),a("li",{class:"flex items-start"},[a("span",{class:"text-green-500 mr-2"},"•"),a("span",null,[a("strong",null,"DTC Eligibility Notifications"),T(" - Receive email notifications when your DTC eligibility status changes.")])])])]),a("div",{class:"mb-8"},[a("h3",{class:"text-lg font-semibold mb-4 text-blue-700"},"Improvements"),a("ul",{class:"space-y-3"},[a("li",{class:"flex items-start"},[a("span",{class:"text-blue-500 mr-2"},"•"),a("span",null,[a("strong",null,"Session Handling"),T(" - Improved handling of session timeouts so you won't lose your work.")])]),a("li",{class:"flex items-start"},[a("span",{class:"text-blue-500 mr-2"},"•"),a("span",null,[a("strong",null,"Domain Purchase Flow"),T(" - Clearer confirmation dialogs when purchasing a new domain.")])]),a("li",{class:"flex items-start"},[a("span",{class:"text-blue-500 mr-2"},"•"),a("span",null,[a("strong",null,"Photo Upload"),T(" - Better error messages when uploading profile photos with unsupported file types.")])]),a("li",{class:"flex items-start"},[a("span",{class:"text-blue-500 mr-2"},"•"),a("span",null,[a("strong",null,"About Us Page"),T(" - Added recruiting call-to-action to help grow your team.")])]),a("li",{class:"flex items-start"},[a("span",{class:"text-blue-500 mr-2"},"•"),a("span",null,[a("strong",null,"Blog Links"),T(" - Fixed blog card links on the homepage so they work correctly.")])])])]),a("div",{class:"mb-8"},[a("h3",{class:"text-lg font-semibold mb-4 text-orange-700"},"Bug Fixes"),a("ul",{class:"space-y-3"},[a("li",{class:"flex items-start"},[a("span",{class:"text-orange-500 mr-2"},"•"),a("span",null,[a("strong",null,"Debt Free Life Calculator"),T(" - Fixed an issue where the wrong form version was loading.")])]),a("li",{class:"flex items-start"},[a("span",{class:"text-orange-500 mr-2"},"•"),a("span",null,[a("strong",null,"Critical Illness Page"),T(" - Fixed a form configuration issue.")])]),a("li",{class:"flex items-start"},[a("span",{class:"text-orange-500 mr-2"},"•"),a("span",null,[a("strong",null,"Contact Form"),T(" - Removed duplicate heading that appeared after form submission.")])]),a("li",{class:"flex items-start"},[a("span",{class:"text-orange-500 mr-2"},"•"),a("span",null,[a("strong",null,"Domain Setup"),T(" - Hidden unnecessary options for fully provisioned domains.")])])])])],-1))])])]),_:1}))}},Hne=Object.freeze(Object.defineProperty({__proto__:null,default:Une},Symbol.toStringTag,{value:"Module"})),Wne={class:"container"},qne={class:"flex gap-x-20 sm:flex-nowrap flex-wrap items-center sm:-mx-[2%] sm:gap-y-0 gap-y-10"},Gne={class:"column text-center sm:basis-2/5 sm-px-[2%] border-[2px] border-secondary rounded-[15p
129x]"},Yne={class:"posts-grid flex xl:flex-row flex-col flex-wrap xl:gap-x-[4%] pt-[3em]"},Kne=["href"],Qne=["src","alt"],Xne=["innerHTML"],Jne={class:"body-25 bold mb-3"},Zne=["href"],eoe={class:"post-meta flex flex-row mb-[1em] line-height-[1em]"},toe={key:0,class:"published-date body-15 light text-medgray pr-[15px] mr-[15px] border-r-[1px] border-medgray"},noe={key:1,class:"read-time body-15 light text-medgray"},ooe={class:"body-17 light mb-10"},roe=["href"],aoe={__name:"Retirement",props:{oc_site:Object,page:Object,posts:Object},setup(e){const t=M(!1);return(n,o)=>{const r=he("VaButton"),s=he("VaIcon"),i=he("VaModal");return v(),X(On,null,{default:$(()=>[C(fr,{color:"primary","image-url":"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/153728df-21c4-411d-4bf2-04d40aa1e000/public","image-alt":"Happy couple smiling"},{default:$(()=>[o[3]||(o[3]=a("h1",{class:"body-51 black text-white mb-[2rem]"},"Retirement income you can feel confident about",-1)),o[4]||(o[4]=a("p",{class:"body-35"},"Designed to protect your savings while supporting steady, long-term growth.",-1)),C(r,{class:"mt-[2.5rem] cta",preset:"white","data-cta-id":"retirement-hero-talk-to-agent",onClick:o[0]||(o[0]=l=>t.value=!t.value)},{default:$(()=>o[2]||(o[2]=[T(" Talk to an Agent ")])),_:1,__:[2]})]),_:1,__:[3,4]}),C(St,{color:"white"},{default:$(()=>o[5]||(o[5]=[a("div",{class:"flex flex-col"},[a("h2",{class:"mb-5 body-35 bold"},[T("Retirement solutions fit for every budget "),a("div",{class:"divider-element bg-primary"})]),a("p",{class:"mb-[1em] body-20"},"Whether retirement is near, or still years away, the right savings plan makes all the difference. If you're looking for financial protection, peace of mind, and guaranteed cash growth, an annuity or an indexed universal life insurance policy (IUL) could be the perfect fit."),a("p",{class:"mb-[1em] body-20"},"An annuity provides guaranteed income in retirement, giving you peace of mind you won't outlive your savings. An IUL offers lifelong coverage and also builds cash value over time. Both are designed to help you retire with confidence and protect what matters most.")],-1)])),_:1,__:[5]}),C(lr,null,{TitleOverlap:$(()=>o[6]||(o[6]=[a("h2",{class:"text-4xl"},"What is an annuity?",-1)])),Content:$(()=>o[7]||(o[7]=[a("div",{class:"mt-10 flex sm:flex-nowrap flex-wrap sm:gap-x-[4%]"},[a("div",{class:"column sm:w-[70%] w-[100%] sm:order-1 order-2"},[a("p",{class:"body-20"},'An annuity is an insurance product that is designed to help you grow tax-deferred savings for retirement. You can make a one-time deposit or contribute over time as your funds grow during the "accumulation phase."'),a("p",{class:"mt-5 font-semibold body-20"},"When you're ready, you can turn the annuity into reliable income—paid out to you monthly, quarterly, or yearly.")]),a("div",{class:"column sm:w-[30%] w-[100%] content-center sm:order-2 order-1 sm:mb-0 mb-10"},[a("div",{class:"iframe-container rounded-[15px] overflow-hidden",style:{position:"relative",width:"100%",height:"0","padding-bottom":"56.25%"}},[a("iframe",{title:"Play Video Informational video about annuities",style:{position:"absolute",top:"0",left:"0",width:"100%",height:"100%"},src:"https://fast.wistia.net/embed/iframe/vy233ut7ky?videoFoam=true&version=v1&controls=1",allowfullscreen:"",loading:"lazy"})])])],-1)])),_:1}),C(lr,{titleRight:!0},{TitleOverlap:$(()=>o[8]||(o[8]=[a("h2",{class:"text-4xl"},"What is an IUL?",-1)])),Content:$(()=>o[9]||(o[9]=[a("div",{class:"mt-10 flex sm:flex-nowrap flex-wrap sm:gap-x-[4%] sm:gap-y-0 gap-y-10"},[a("div",{class:"column sm:w-[30%] w-[100%] content-center"},[a("div",{class:"iframe-container rounded-[15px] overflow-hidden",style:{position:"relative",width:"100%",height:"0","padding-bottom":"56.25%"}},[a("iframe",{title:"Play Video Informational video about indexed universal life insurance",style:{position:"absolute",top:"0",left:"0",width:"100%",height:"100%"},src:"https://fast.wistia.net/embed/iframe/ofi8h1gy48?videoFoam=true&version=v1&controls=1",allowfullscreen:"",loading:"lazy"})])]),a("div",{class:"column sm:w-[70%]"},[a("p",{class:"body-20"},"An IUL is a type of permanent life insurance coverage with an insurance component and a cash value savings component. The cash value can be tied to a financial market index, offering policyholders the upside potential that c
129omes with investing in the markets while still retaining the protection of life insurance coverage.")])],-1)])),_:1}),C(lr,null,{TitleOverlap:$(()=>o[10]||(o[10]=[a("h2",{class:"text-4xl"},"What are the advantages of using these strategies for retirement?",-1)])),Content:$(()=>o[11]||(o[11]=[a("div",{class:"mt-10 flex sm:flex-nowrap flex-wrap sm:gap-x-[4%]"},[a("div",{class:"column sm:w-[70%] w-[100%] sm:order-1 order-2"},[a("p",{class:"body-20"},"Many people choose an annuity for its reliable stream of income—helping to supplement Social Security, pensions, or other savings. Once you begin receiving payments, you can use that money to cover everyday expenses, travel, outstanding debts or emergencies."),a("p",{class:"mt-5 body-20"},"An IUL offers life insurance coverage and builds tax-deferred cash value over time. That cash can be accessed while you're still living—for retirement income, unexpected costs, or anything else."),a("p",{class:"mt-5 font-semibold body-20"},"Annuities and IULs are both designed to add flexibility and financial security to your retirement plan.")]),a("div",{class:"column sm:w-[30%] w-[100%] content-center sm:order-2 order-1 sm:mb-0 mb-10"},[a("div",{class:"iframe-container rounded-[15px] overflow-hidden",style:{position:"relative",width:"100%",height:"0","padding-bottom":"56.25%"}},[a("iframe",{title:"Play Video Informational video about indexed universal life insurance and annuities for retirement",style:{position:"absolute",top:"0",left:"0",width:"100%",height:"100%"},src:"https://fast.wistia.net/embed/iframe/5q5zgb4y6c?videoFoam=true&version=v1&controls=1",allowfullscreen:"",loading:"lazy"})])])],-1)])),_:1}),C(St,{color:"white"},{default:$(()=>[a("div",Wne,[a("div",qne,[o[12]||(o[12]=a("div",{class:"column sm:basis-3/5 sm:px-[2%]"},[a("h2",{class:"body-35 bold mb-5"},[T("Why choose Symmetry for retirement protection? "),a("div",{class:"divider-element bg-primary"})]),a("p",{class:"mb-[1em] body-20"},"At Symmetry Financial Group, we know there's no one-size-fits-all solution when it comes to insurance. That's why we take the time to understand your needs and help you find a plan that truly fits."),a("p",{class:"font-semibold body-20"},"We work with a range of trusted carriers to offer you the best policy options based on your unique needs.")],-1)),a("div",Gne,[C(us,{title:"Ready to get started?",content:"Schedule an appointment to learn more about retirement solutions.","product-type":"RI","button-text":"Get Connected"})])])])]),_:1}),C(St,{color:"white",class:"md:mt-0 mt-[-4em]"},{default:$(()=>o[13]||(o[13]=[a("div",{class:"container md:py-10 md:mt-5 mb-10 border-t-[1px] border-[#9aa2aa]"},[a("h2",{class:"section-heading pt-10 body-35 bold"},[T("Frequently Asked Questions "),a("div",{class:"divider-element bg-primary"})]),a("div",{class:"flex sm:flex-nowrap flex-wrap sm:gap-x-[10%] sm:gap-y-0 gap-y-10 pt-10"},[a("div",{class:"column sm:basis-1/2"},[a("h3",{class:"mb-5 body-25 bold"},"Q: What are the advantages of choosing an annuity or IUL?"),a("p",{class:"body-20"},"Many annuities and IULs come with guarantees and tax-advantaged savings benefits. You can reach your retirement goals with the cash value component of some policies, drawing from tax-advantaged savings once you're retired."),a("h3",{class:"my-5 body-25 bold"},"Q: Can I afford retirement protection?"),a("p",{class:"body-20"},"Yes, you can! Working with an agent will allow you to find the most affordable and efficient policies on the market today. We explain the fee structure of various products and answer any questions you have to help you make an informed decision.")]),a("div",{class:"column sm:basis-1/2"},[a("h3",{class:"mb-5 body-25 bold"},"Q: Do I qualify for an annuity or IUL product?"),a("p",{class:"body-20"},'Most annuities used for retirement protection are "guaranteed issue" products that require no underwriting, so nearly everyone qualifies.'),a("p",{class:"my-5 font-semibold body-20"},"Since an IUL offers a life insurance component, you'll need to meet the insurance company's underwriting criteria to qualify. Most insurance carriers do not require a medical exam, just a series of health and lifestyle questions."),a("h3",{class:"mb-5 body-25 bold"},"Q: When should I buy an annuity or IUL?"),a("p",{class:"body-20"},"Buying an annuity or qualifying for an IUL early in life gives your money more time to grow. Annuities often work best when purchased before retirement, but keep in mind there may be limits to when you can pull out money or start receiving payments."),a("p",{class:"mt-[1em] body-20"},"With IULs, getting a policy in place when you are younger and healthier means lower premiums and more potential to build cash value for your future.")])])],-1)])),_:1,__:[13]}
129),C(bo,null,{heading:$(()=>o[14]||(o[14]=[a("h2",{class:"section-heading body-35 bold mb-5"},"Featured Articles",-1),a("div",{class:"divider-element bg-primary"},null,-1)])),default:$(()=>[a("div",Yne,[(v(!0),x(de,null,Be((e.posts||[]).slice(0,3),l=>(v(),x("div",{key:l.id,class:xe(["post column relative xl:w-[30.5%] w-[100%] mb-[2em] p-[25px] bg-white rounded-[15px]","post-"+l.id])},[a("a",{href:l.url_link},[a("img",{class:"mb-3",src:l.image,alt:l.image_alt},null,8,Qne)],8,Kne),a("div",{class:"category-links mb-2",innerHTML:f(on)(l.category_links)},null,8,Xne),a("h3",Jne,[a("a",{class:"text-black",href:l.url_link},V(l.title),9,Zne)]),a("div",eoe,[l.published_date?(v(),x("div",toe,V(l.published_date),1)):D("",!0),l.readtime?(v(),x("div",noe,V(l.readtime),1)):D("",!0)]),a("p",ooe,V(l.description),1),a("a",{class:"body-15 bold underline hover:opacity-50 transition-all ease-in-out duration-250 absolute bottom-[30px]",href:l.url_link},[o[15]||(o[15]=T("Read More ")),C(s,{name:"icon-q-right-arrow",size:"large"})],8,roe)],2))),128))])]),_:1}),C(us,{title:"Ready to get started?",content:"Schedule an appointment to learn more about your best-fit retirement solutions.","button-text":"Get Connected","product-type":"RI"}),C(i,{modelValue:t.value,"onUpdate:modelValue":o[1]||(o[1]=l=>t.value=l),"max-width":"600px","hide-default-actions":"","close-button":""},{default:$(()=>[C(Tr,{"product-type":"Retirement Solutions","lead-type":"Retirement Solutions"})]),_:1},8,["modelValue"])]),_:1})}}},soe=Zn(aoe,[["__scopeId","data-v-ed3d27e5"]]),ioe=Object.freeze(Object.defineProperty({__proto__:null,default:soe},Symbol.toStringTag,{value:"Module"})),loe={key:0,class:"blog-main body-20 flex min-h-[50vh] w-full items-center justify-center text-center px-4"},uoe={class:"blog-main posts-grid flex flex-wrap lg:mt-10 lg:pt-10"},coe={class:"post-image mb-4"},doe=["href"],foe=["src","alt"],poe={class:"post-content"},moe=["innerHTML"],hoe={class:"text-[23px] mb-3"},goe=["href"],voe={key:0,class:"pagination-links"},yoe=["innerHTML"],boe={__name:"SymmetryStories",props:{oc_site:Object,page:Object,posts:Object,feedError:Boolean},setup(e){return(t,n)=>(v(),X(On,null,{default:$(()=>[C(bo,{color:"white"},{default:$(()=>[e.feedError?(v(),x("div",loe,n[0]||(n[0]=[a("p",null,[T(" We’re having trouble loading Symmetry Stories right now."),a("br"),T(" Please try again in a few minutes. ")],-1)]))):(v(),x(de,{key:1},[a("div",uoe,[(v(!0),x(de,null,Be(e.posts.data,o=>(v(),x("div",{key:o.id,class:xe(["post column lg:basis-1/3 sm:basis-1/2 xl:px-[4%] px-[2%] mb-[2em]","post-"+o.id])},[a("div",coe,[a("a",{href:o.url_link},[a("img",{src:o.image,alt:o.image_alt},null,8,foe)],8,doe)]),a("div",poe,[a("div",{class:"category-links",innerHTML:f(on)(o.category_links)},null,8,moe),n[1]||(n[1]=a("div",{class:"divider-element-left bg-primary w-[10%] h-[3px] mt-3 mb-4"},null,-1)),a("h2",hoe,[a("a",{class:"text-black",href:o.url_link},V(o.title),9,goe)]),a("p",null,V(o.description),1)])],2))),128))]),e.posts.meta.links.length>3?(v(),x("div",voe,[(v(!0),x(de,null,Be(e.posts.meta.links,o=>(v(),x(de,{key:o.label},[o.url?(v(),X(f(zt),{key:1,href:o.url,innerHTML:f(on)(o.label),class:xe(["pagination-link",{active:o.active}])},null,8,["href","innerHTML","class"])):(v(),x("span",{key:0,innerHTML:f(on)(o.label),class:xe(["pagination-link disabled",o.class])},null,10,yoe))],64))),128))])):D("",!0)],64))]),_:1})]),_:1}))}},woe=Object.freeze(Object.defineProperty({__proto__:null,default:boe},Symbol.toStringTag,{value:"Module"})),_oe={class:"archive-title text-black text-4xl font-black pb-20 text-center"},xoe={key:0,class:"blog-main body-20 flex min-h-[50vh] w-full items-center justify-center text-center px-4"},Soe={class:"blog-main posts-grid flex flex-wrap lg:mt-10 lg:pt-10"},Coe={class:"post-image mb-4"},koe=["href"],$oe=["src","alt"],Aoe={class:"post-content"},Toe=["innerHTML"],Eoe={class:"text-[23px] mb-3"},Poe=["href"],Ooe={key:0,class:"pagination-links"},Ioe=["innerHTML"],Doe={__name:"SymmetryStoriesArchive",props:{oc_site:Object,page:Object,posts:Object,category:String,feedError:Boolean},setup(e){return(t,n)=>{const o=he("Link");return v(),X(On,null,{default:$(()=>[C(bo,{full:""},{default:$(()=>[a("h1",_oe,V(e.page.title)+" Posts",1),e.feedError?(v(),x("div",xoe,n[0]||(n[0]=[a("p",null,[T(" We’re having trouble loading Symmetry Stories right now."),a("br"),T(" Please try again in a few minutes. ")],-1)]))):(v(),x(de,{key:1},[a("div",Soe,[(v(!0),x(de,null,Be(e.posts.data,r=>(v(),x("div",{key:r.id,class:xe(["post column lg:basis-1/3 sm:basis-1/2 xl:px-[4%] px-[2%] mb-[2em]","post-"+r.id])},[a("div",Coe,[a("a",{href:r.url_link},[a("img",{src:r.image,alt:r.image_alt},null,8,$oe)],8,koe)]),a("div",Aoe,[a("div",{class:"category-links",innerHTML:f(on)(r.category_links)},null,8,Toe),n[1]||(n[1]=a("div",{class:"divider-element-left bg-primary w-[10%] h-[3px] mt-3 mb-4"},null,-1)),a("h2",Eoe,[a("a",{class:"text-black",href:r.url_link},V(r.title),9,Poe)]),a("p",null,V(r.description),1)])],2))),128))]),e.posts.meta.links.length>3?(v(),x("div",Ooe,[(v(!0),x(de,null,Be(e.posts.meta.links,r=>(v(),x(de,{key:r.label},[r.url?(v(),X(o,{key:1,href:r.url,innerHTML:f(on)(r.label),class:xe(["pagination-link",{active:r.active}])},null,8,["href","innerHTML","class"])):(v(),x("span",{key:0,innerHTML:f(on)(r.label),class:xe(["pagination-link disabled",r.class])},null,10,Ioe))],64))),128))])):D("",!0)],64))]),_:1})]),_:1})}}},Moe=Object.freeze(Object.defineProperty({__proto__:null,default:Doe},Symbol.toStringTag,{value:"Module"})),Roe={class:"single-post container"},Loe={class:"post-image mb-10"},Voe=["src","alt"],Boe={class:"post-content"},Foe=["innerHTML"],Noe={class:"text-[36px] leading-[1.5em] my-10 font-black text-black"},zoe=["innerHTML"],joe={key:0,class:"iframe-container mt-10",style:{position:"relative",width:"100%",height:"0","padding-bottom":"56.25%"}},Uoe=["src","title"],Hoe={__name:"SymmetryStory",props:{oc_site:Object,page:Object,posts:Object},setup(e){const t=w(()=>on(e.posts.content)),n=w(()=>on(e.posts.category_links));return(o,r)=>(v(),X(On,null,{default:$(()=>[C(bo,{full:"",class:"single-article"},{default:$(()=>[C(f(zt),{class:"block mb-10",href:"/symmetry-stories"},{default:$(()=>r[0]||(r[0]=[a("i",{class:"icon-q-previous"},null,-1),T(" Back to Symmetry Stories")])),_:1,__:[0]}),a("div",Roe,[a("div",{class:xe("post-"+e.posts.id)},[a("div",Loe,[a("img",{src:e.posts.image,alt:e.posts.image_alt},null,8,Voe)]),a("div",Boe,[a("div",{class:"category-links",innerHTML:n.value},null,8,Foe),r[1]||(r[1]=a("div",{class:"divider-element-left bg-primary w-[10%] h-[3px] mt-10 mb-4"},null,-1)),a("h1",Noe,V(e.posts.title),1),a("div",{class:"post-content",innerHTML:t.value},null,8,zoe),e.posts.embedded_video?(v(),x("div",joe,[a("iframe",{src:e.posts.embedded_video,style:{position:"absolute",top:"0",left:"0",width:"100%",height:"100%"},frameborder:"0",title:e.posts.title+" Video",allowfullscreen:""},null,8,Uoe)])):D("",!0)])],2)])]),_:1})]),_:1}))}},Woe=Object.freeze(Object.defineProperty({__proto__:null,default:Hoe},Symbol.toStringTag,{value:"Module"})),qoe={class:"container"},Goe={class:"flex gap-x-20 items-center md:flex-row flex-col"},Yoe={class:"column text-center md:basis-2/5 border-[2px] border-secondary rounded-[15p
129x]"},Koe={class:"posts-grid flex xl:flex-row flex-col flex-wrap xl:gap-x-[4%] pt-[3em]"},Qoe=["href"],Xoe=["src","alt"],Joe=["innerHTML"],Zoe={class:"body-25 bold mb-3"},ere=["href"],tre={class:"post-meta flex flex-row mb-[1em] line-height-[1em]"},nre={key:0,class:"published-date body-15 light text-medgray pr-[15px] mr-[15px] border-r-[1px] border-medgray"},ore={key:1,class:"read-time body-15 light text-medgray"},rre={class:"body-17 light mb-10"},are=["href"],sre={__name:"TermLife",props:{oc_site:Object,page:Object,posts:Object},setup(e){const t=e,{dtcLogic:n}=vf(),o="https://admin.myhatchsite.io",r="https://apply.quility.com/#/symmetry/raq/",s=w(()=>{var p,m;const u=((p=Mt.page)==null?void 0:p.url)||"/",c=((m=t.oc_site)==null?void 0:m.site_domain)||"oc.sfglife";return`${c==="localhost"?o:`https://${c}`}${u}`}),i=w(()=>{var u;return Vd(((u=t.oc_site)==null?void 0:u.agent_code)||"","Term Life",s.value)}),l=M(!1);return(u,c)=>{const d=he("VaButton"),p=he("VaIcon"),m=he("VaModal");return v(),X(On,null,{default:$(()=>[C(fr,{color:"primary","image-url":"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/bfaccd01-03a9-4948-c645-9387869f7a00/public","image-alt":"Smiling mom hugging her daughter"},{default:$(()=>[c[4]||(c[4]=a("h1",{class:"body-51 black text-white mb-[2rem]"},"Affordable coverage for when it matters most",-1)),c[5]||(c[5]=a("p",{class:"body-35"},"Protect your family's future with flexible coverage that fits your budget.",-1)),f(n)?(v(),X(d,{key:0,class:"mt-[2.5rem]",preset:"white",href:f(r)+i.value,target:"_blank","aria-label":"Get a Quote (opens in new tab)","data-cta-id":"termlife-hero-get-quote-dtc"},{default:$(()=>c[2]||(c[2]=[T(" Get a Quote ")])),_:1,__:[2]},8,["href"])):(v(),X(d,{key:1,class:"mt-[2.5rem] cta",preset:"white","data-cta-id":"termlife-hero-get-connected",onClick:c[0]||(c[0]=h=>l.value=!l.value)},{default:$(()=>c[3]||(c[3]=[T(" Get Connected ")])),_:1,__:[3]}))]),_:1,__:[4,5]}),C(St,{color:"white"},{default:$(()=>c[6]||(c[6]=[a("div",{class:"container pb-[4em] border-b-[1px] border-medgray"},[a("div",{class:"flex gap-x-[10%] gap-y-[2em] md:flex-row flex-col items-center"},[a("div",{class:"column md:basis-1/2"},[a("h2",{class:"mb-5 body-35 bold"},"What is term life insurance?"),a("div",{class:"divider-element bg-primary"}),a("p",{class:"body-20 mt-[1.5em]"},"Term life insurance is a life insurance policy that lasts for a certain period. The coverage is in effect for a term that you choose, usually 10 to 30 years. If you die while the policy is in force, the insurance company pays death benefits to your named beneficiaries.")]),a("div",{class:"column md:basis-1/2"},[a("img",{class:"mx-auto",src:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/babd450b-d510-414c-43cb-4bc046d64c00/public"})])])],-1)])),_:1,__:[6]}),C(lr,null,{TitleOverlap:$(()=>c[7]||(c[7]=[a("h2",{class:"text-4xl"},"Why do I need term life insurance?",-1)])),Content:$(()=>c[8]||(c[8]=[a("div",{class:"mt-10 flex md:flex-row flex-col-reverse gap-x-[4%] gap-y-[2em]"},[a("div",{class:"column md:w-[70%]"},[a("p",{class:"body-20"},"The number one reason for purchasing term life insurance is to provide peace of mind to your loved ones. If you were to die prematurely, would your loved ones be able to maintain their standard of living?"),a("p",{class:"mt-5 body-20"},"Term life insurance can provide a cash death benefit that could be used to pay your final expenses, including a funeral service, remaining mortgage balance, children's education or other daily living costs.")]),a("div",{class:"column md:w-[30%]"},[a("div",{class:"iframe-container rounded-[15px] overflow-hidden",style:{position:"relative",width:"100%",height:"0","padding-bottom":"56.25%"}},[a("iframe",{title:"Play Video Informational video on why someone would need Term Life insurance",style:{position:"absolute",top:"0",left:"0",width:"100%",height:"100%"},src:"https://fast.wistia.net/embed/iframe/p61qj2e7fw?videoFoam=true&version=v1&controls=1",allowfullscreen:"",loading:"lazy"})])])],-1)])),_:1}),C(lr,{titleRight:!0},{TitleOverlap:$(()=>c[9]||(c[9]=[a("h2",{class:"text-4xl"},"How does term life insurance work?",-1)])),Content:$(()=>c[10]||(c[10]=[a("div",{class:"mt-10 flex md:flex-row flex-col gap-x-[4%] gap-y-[2em]"},[a("div",{class:"column md:w-[30%] w-full"}
129,[a("div",{class:"iframe-container rounded-[15px] overflow-hidden",style:{position:"relative",width:"100%",height:"0","padding-bottom":"56.25%"}},[a("iframe",{title:"Play Video Callout informational video on how Term Life insurance works",style:{position:"absolute",top:"0",left:"0",width:"100%",height:"100%"},src:"https://fast.wistia.net/embed/iframe/kfq55yes1h?videoFoam=true&version=v1&controls=1",allowfullscreen:"",loading:"lazy"})])]),a("div",{class:"column md:w-[70%] w-full"},[a("p",{class:"body-20"},"It all starts with an application for coverage with an insurance company. Once your policy is in force, you pay monthly, quarterly or annual policy premiums to maintain coverage. If you die during the policy term, the insurance company pays the death benefit amount to your beneficiaries.")])],-1)])),_:1}),C(St,{color:"white"},{default:$(()=>[a("div",qoe,[a("div",Goe,[c[11]||(c[11]=a("div",{class:"column md:basis-3/5"},[a("h2",{class:"body-35 bold mb-5"},"Get Term Life Insurance Today"),a("div",{class:"divider-element bg-primary"}),a("p",{class:"body-20 mt-[1.5em] mb-5"},"At Symmetry Financial Group, our clients always come first. We take the time to get to know each of our clients and understand their needs and goals before recommending any insurance solutions. We believe that helps us better serve you, because we're able to offer a variety of coverage options and solutions to meet your specific needs.")],-1)),a("div",Yoe,[C(us,{"product-type":"TL","dtc-apply-lead-product":"Term Life"})])])])]),_:1}),C(St,{color:"white",class:"mt-[-4em] md:mt-0"},{default:$(()=>c[12]||(c[12]=[a("div",{class:"container border-t-[1px] border-[#9aa2aa]"},[a("h2",{class:"section-heading body-35 bold pt-[2em] pb-[0.33em]"},"Frequently Asked Questions"),a("div",{class:"divider-element bg-primary"}),a("div",{class:"flex gap-x-[10%] gap-y-[2em] mt-[2em] md:flex-row flex-col"},[a("div",{class:"column md:basis-1/2"},[a("h3",{class:"body-25 mb-5 bold"},"Q: What are the advantages of term life insurance?"),a("p",{class:"body-20 mb-5"},"One of the biggest advantages of term life insurance is its affordability. Insurance companies can offer lower premium rates for term insurance coverage than for permanent policies because the odds of death during the policy term favor the insurance company."),a("p",{class:"body-20"},"Term life insurance policies are also a great way to maintain flexibility: you can adjust the policy according to your changing needs. If you realize more permanent coverage is a better option for you, most in-force term life insurance policies can be converted to permanent life insurance."),a("h4",{class:"body-20 font-semibold mt-5"},"Other advantages of term life insurance:"),a("ul",{class:"list-outside list-disc mt-4 pl-4"},[a("li",{class:"body-20 mb-[0.5em]"},"It can be used to supplement life insurance coverage provided by your employer"),a("li",{class:"body-20 mb-[0.5em]"},"Policies provide a fixed death benefit for a time period that you choose up-front"),a("li",{class:"body-20 mb-[0.5em]"},'In addition to the specified "face amount" death benefit, your policy may include a return of premium option'),a("li",{class:"body-20 mb-[0.5em]"},"Some policies also offer other coverage options including critical illness and disability insurance protection")]),a("p",{class:"mt-5 body-20"},"Of course, there are a lot of policies and policy options to choose from. When you're considering purchasing a term life insurance policy, you'll want to keep your financial situation in mind and select coverage that best meets your needs.")]),a("div",{class:"column md:basis-1/2"},[a("h3",{class:"mb-5 body-25 bold"},"Q: Do I qualify for term life insurance?"),a("p",{class:"mb-5 body-20"},"When you apply for any type of life insurance, you need to answer some basic questions about your health and lifestyle. Most people who are generally healthy will qualify for coverage. You may still qualify for term life insurance if you have some existing health problems, although your premium will likely be higher."),a("p",{class:"font-semibold mb-5 body-20"},"For some policies, you do not need to submit evidence of insurability beyond the application questionnaire, meaning you shouldn't need a physical examination to qualify for coverage."),a("h3",{class:"mb-5 body-25 bold"},"Q: When should I buy term life insurance?"),a("p",{class:"mb-5 body-20"},"The best time to buy term life insurance is now. Life insurance is intended to provide a cash death benefit to your named beneficiary (or beneficiaries) after you die. Of course, none of us can know when we'll die, or when our health situation might change for the worse."),a("p",{class:"mb-5 body-20"},"Because qualifying for term life insurance is based on your health at the time of application, it just makes sense to buy coverage now. Hopefully, your term life insurance policy will never be needed. If it is, your loved one
129s will appreciate the fact that you took the time for insurance planning when you did."),a("h3",{class:"mb-5 body-25 bold"},"Q: Can I afford term life?"),a("p",{class:"mb-5 body-20"},"Because it is intended to provide coverage only for a specific amount of time, term life insurance is generally the least expensive type of life insurance you can buy. Your specific premium will be based on your age at the time you purchase the policy, as well as on your overall health. Non-smokers in good health will typically pay low premiums.")])])],-1)])),_:1,__:[12]}),C(bo,null,{heading:$(()=>c[13]||(c[13]=[a("h2",{class:"section-heading body-35 bold"},"Featured Articles",-1),a("div",{class:"divider-element bg-primary"},null,-1)])),default:$(()=>[a("div",Koe,[(v(!0),x(de,null,Be((e.posts||[]).slice(0,3),h=>(v(),x("div",{key:h.id,class:xe(["post column relative xl:w-[30.5%] w-[100%] mb-[2em] p-[25px] bg-white rounded-[15px]","post-"+h.id])},[a("a",{href:h.url_link},[a("img",{class:"mb-3",src:h.image,alt:h.image_alt},null,8,Xoe)],8,Qoe),a("div",{class:"category-links mb-2",innerHTML:f(on)(h.category_links)},null,8,Joe),a("h3",Zoe,[a("a",{class:"text-black",href:h.url_link},V(h.title),9,ere)]),a("div",tre,[h.published_date?(v(),x("div",nre,V(h.published_date),1)):D("",!0),h.readtime?(v(),x("div",ore,V(h.readtime),1)):D("",!0)]),a("p",rre,V(h.description),1),a("a",{class:"body-15 bold underline hover:opacity-50 transition-all ease-in-out duration-250 absolute bottom-[30px]",href:h.url_link},[c[14]||(c[14]=T("Read More ")),C(p,{name:"icon-q-right-arrow",size:"large"})],8,are)],2))),128))])]),_:1}),C(m,{modelValue:l.value,"onUpdate:modelValue":c[1]||(c[1]=h=>l.value=h),"max-width":"600px","hide-default-actions":"","close-button":""},{default:$(()=>[C(Tr,{"product-type":"Life Insurance","lead-type":"Life Insurance"})]),_:1},8,["modelValue"])]),_:1})}}},ire=Object.freeze(Object.defineProperty({__proto__:null,default:sre},Symbol.toStringTag,{value:"Module"})),lre={class:"mt-10 pt-5 pb-10 flex sm:flex-row flex-col sm:flex-nowrap flex-wrap text-center content-center"},ure={class:"column sm:basis-1/6 step-1"},cre={class:"timeline text-medgray sm:rotate-0 rotate-90"},dre={class:"column sm:basis-1/6 step-2"},fre={class:"timeline text-medgray sm:rotate-0 rotate-90"},pre={class:"column sm:basis-1/6 step-3"},mre={class:"timeline text-medgray sm:rotate-0 rotate-90"},hre={class:"column sm:basis-1/6 step-4"},gre={class:"timeline text-medgray sm:rotate-0 rotate-90"},vre={class:"column sm:basis-1/6 step-5"},yre={class:"timeline text-medgray sm:rotate-0 rotate-90"},bre={class:"column sm:basis-1/6 step-6"},wre={class:"timeline text-medgray sm:rotate-0 rotate-90"},_re={__name:"Timeline",props:{oc_site:Object,page:Object},setup(e){return(t,n)=>{const o=he("font-awesome-icon");return v(),X(On,null,{default:$(()=>[C(fr,{class:"timeline-page",full:"","image-url":"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/410a658d-e295-4696-87bc-b911b962df00/public",width:"0"}),C(St,{class:"py-10 my-10"},{default:$(()=>[a("div",lre,[a("div",ure,[n[0]||(n[0]=a("img",{class:"mx-auto mb-10 relative z-10",src:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/9d602191-e557-4658-c7a8-728708a36c00/public"},null,-1)),a("div",cre,[C(o,{"aria-hidden":"true",icon:["fas","circle"]})]),n[1]||(n[1]=a("p",{class:"sm:mt-10 sm:mb-0 my-5 relative z-10 bg-white"},"Start Your Career",-1))]),a("div",dre,[n[2]||(n[2]=a("img",{class:"mx-auto mb-10 relative z-10",src:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/de0b685b-f164-46cc-a661-53e75fe4a400/public"},null,-1)),a("div",fre,[C(o,{"aria-hidden":"true",icon:["fas","circle"]})]),n[3]||(n[3]=a("p",{class:"sm:mt-10 sm:mb-0 my-5 relative z-10 bg-white"},"Build Your Foundation",-1))]),a("div",pre,[n[4]||(n[4]=a("img",{class:"mx-auto mb-10 relative z-10",src:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/1dd8e368-266e-4ab9-551d-77fc2e1fda00/public"},null,-1)),a("div",mre,[C(o,{"aria-hidden":"true",icon:["fas","circle"]})]),n[5]||(n[5]=a("p",{class:"sm:mt-10 sm:mb-0 my-5 relative z-10 bg-white"},"Protect Your Foundation",-1))]),a("div",hre,[n[6]||(n[6]=a("img",{class:"mx-auto mb-10 relative z-10",src:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/f5d6cb1c-f9e0-4a99-69bb-ccd715851000/public"},null,-1)),a("div",gre,[C(o,{"aria-hidden":"true",icon:["fas","circle"]})]),n[7]||(n[7]=a("p",{class:"sm:mt-10 sm:mb-0 my-5 relative z-10 bg-white"},"Grow Your Family",-1))]),a("div",vre,[n[8]||(n[8]=a("img",{class:"mx-auto mb-10 relative z-10",src:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/99970065-dc2e-412e-f67d-67c9a15f2e00/public"},null,-1)),a("div",yre,[C(o,{"aria-hidden":"true",icon:["fas","circle"]})]),n[9]||(n[9]=a("p",{class:"sm:mt-10 sm:mb-0 my-5 relative z-10 bg-white"},"Build Your Legacy",-1))]),a("div",bre,[n[10]||(n[10]=a("img",{class:"mx-auto mb-10 relative z-10",src:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/fd5d1c8c-3296-4bf6-1ee8-9a73238cc200/public"},null,-1)),a("div",wre,[C(o,{"aria-hidden":"true",icon:["fas","circle"]})]),n[11]||(n[11]=a("p",{class:"sm:mt-10 sm:mb-0 my-5 relative z-10 bg-white"},"Enjoy Your Legacy",-1))])])]),_:1}),C(us,{"product-type":"TL"})]),_:1})}}},xre=Object.freeze(Object.defineProperty({__proto__:null,default:_re},Symbol.toStringTag,{value:"Module"})),Sre={class:"offerings bg-white"},Cre={class:"container w-[80vw] py-[4em] xl:px-0 sm:px-[5%]"},kre={class:"offerings flex flex-wrap gap-x-[6%] pt-[3em] sm:justify-start justify-center"},$re={class:"offering pb-[4em] flex flex-col"},Are={class:"offering-icon-heading flex flex-row items-center gap-x-[20px]"},Tre=["src"],Ere={class:"body-35 bold"},Pre={class:"offering-content"},Ore={class:"body-20 bold text-primary my-[1em]"},Ire={class:"body-17"},rC=$e({__name:"Offerings",props:{offerings:Array},setup(e){return(t,n)=>(v(),x("section",Sre,[a("div",Cre,[se(t.$slots,"default"),a("div",kre,[(v(!0),x(de,null,Be(e.offerings,o=>(v(),x("div",{key:o.id,class:"offering-container row md:w-[47%] w-full"},[a("div",$re,[a("div",Are,[a("img",{class:"max-h-[50px]",src:o.icon},null,8,Tre),a("h2",Ere,V(o.title),1)]),a("div",Pre,[a("h4",Ore,V(o.subtitle),
1291),a("p",Ire,V(o.description),1)])])]))),128))])])]))}}),Dre=Object.freeze(Object.defineProperty({__proto__:null,default:rC},Symbol.toStringTag,{value:"Module"})),Mre=[{id:1,icon:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/4dbfa3a8-4d2d-4c8a-112e-92159291c500/public",title:"Leads",subtitle:"A leads program for agents, by agents",description:"Our leads program is designed with you in mind! Whether you're an experienced agent or just getting started, Quility LeadStream has a lead type and price to fit your needs."},{id:2,icon:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/d0dd7402-756b-4b69-72df-74d55e3bc900/public",title:"Training + support",subtitle:"Training and support to transform your career",description:"With so many products to manage and applications to leverage, we've developed comprehensive training and support, so you don't miss a beat on your path to success."},{id:3,icon:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/8e47a1ec-dce9-49c0-b44e-7abe1c148000/public",title:"Carriers + products",subtitle:"A wide range of products through partnerships with top-tier carriers",description:"On top of a product portfolio spanning 80+ carriers, Symmetry agents have access to Quility's proprietary products. These proprietary products let you find the most customizable product for your client."},{id:4,icon:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/997e3822-0160-4065-48d4-b75ae4d8c500/public",title:"Tech platform",subtitle:"Powerful tools throughout your workflow",description:"Our parent company, Quility, empowers Symmetry agents with applications and services to make their lives easier and their workflow more efficient. From agency management to finding the best-fit policy for your clients, we have a solution for every part of the agent journey."}],Rre={class:"container narrow text-center"},Lre={__name:"WorkingWithSymmetry",props:{oc_site:Object,page:Object},setup(e){const t=M(!1);return(n,o)=>{const r=he("VaButton"),s=he("VaModal");return v(),X(On,null,{default:$(()=>[C(fr,{color:"primary","image-url":"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/6b309b96-b302-4d37-0124-3d0942e4e900/public","image-alt":"Insurance agent working remotely","image-vert-align":"center"},{default:$(()=>[o[6]||(o[6]=a("h1",{class:"body-51 black text-white mb-[2rem]"},"Solutions for the modern life insurance agent",-1)),o[7]||(o[7]=a("p",{class:"body-35 light"},"Work from anywhere, full or part-time",-1)),C(r,{class:"mt-[2.5rem]",preset:"white","data-cta-id":"wws-hero-lets-talk",onClick:o[0]||(o[0]=i=>t.value=!t.value)},{default:$(()=>o[5]||(o[5]=[T(" Let's Talk ")])),_:1,__:[5]})]),_:1,__:[6,7]}),C(tv),C(Rr,{color:"lightgray",videoUrl:"https://www.youtube.com/embed/Cav-evhiG9o",videoTitle:"Play video: Get to Know Symmetry Financial Group (2024)",contentLeft:!1},{default:$(()=>o[8]||(o[8]=[a("h2",{class:"body-35 bold"},"Working With Symmetry",-1),a("div",{class:"divider-element-left bg-primary my-4 w-[10%] h-[5px]"},null,-1),a("p",{class:"body-20 light mt-[1em]"},"At Symmetry, we give you the tools to build your own career and create your legacy. Whether you're looking for part or full-time work, we have a business model to fit your needs and support applications to make success easier than ever.",-1),a("p",{class:"body-20 light mt-[1em]"},"With opportunities to earn a passive income and work remotely, maintaining a healthy work-life balance is only a click away.",-1)])),_:1,__:[8]}),C(Rr,{color:"white",imageUrl:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/976b7e14-0fc7-479a-af89-de75d2d46a00/public","image-alt":"A group of insurance agents shaking hands at a networking event",contentLeft:!0},{default:$(()=>[o[10]||(o[10]=a("h2",{class:"body-35 bold"},"About Symmetry",-1)),o[11]||(o[11]=a("div",{class:"divider-element-left bg-primary my-4 w-[10%] h-[5px]"},null,-1)),o[12]||(o[12]=a("p",{class:"body-20 light mt-[1em]"},"Symmetry Financial Group (SFG) is the nation's leading independent IMO with access to a long list of insurance carriers and agents working in all fifty states. Symmetry, as a subsidiary of Quility Insurance, provides agents with exclusive digital insurance products, revolutionary insurtech, a robust leads program and an award-winning culture.",-1)),C(r,{class:"mt-[1.5em]",preset:"standard","data-cta-id":"wws-about-lets-talk",onClick:o[1]||(o[1]=i=>t.value=!t.value)},{default:$(()=>o[9]||(o[9]=[T(" Let's Talk ")])),_:1,__:[9]})]),_:1,__:[10,11,12]}),C(yf),C(rC,{offerings:f(Mre)},null,8,["offerings"]),C(St,{color:"medblue"},{default:$(()=>[o[14]||(o[14]=a("img",{class:"max-h-[50px] max-w-[150px]",src:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/59a1a0a6-76d8-49e0-6a65-b97831933700/public"},null,-1)),o[15]||(o[15]=a("h2",{class:"body-35 light text-white"},[a("span",{class:"bold"},"Don't have your license?"),T(" Don't worry! We make getting one easy.")],-1)),a("a",{onClick:o[2]||(o[2]=i=>t.value=!t.value),class:"text-gold underline hover:opacity-60 transition-all duration-250"},o[13]||(o[13]=[T("Get Started "),a("i",{class:"icon-q-right-arrow"},null,-1)]))]),_:1,__:[14,15]}),C(Rr,{color:"white",imageUrl:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/8e0d8122-5add-4696-692b-08dbeae78200/public","image-alt":"Two insurance agents laughing with each other at a conference",contentLeft:!0},{default:$(()=>o[16]||(o[16]=[a("h2",{class:"body-35 bold"},"Make connections at in-person events",-1),a("div",{class:"divider-element-left bg-primary my-4 w-[10%] h-[5px]"},null,-1),a("p",{class:"body-20 light mt-[1em]"},"Symmetry agents have several opportunities throughout the year to attend in-person events. From annual national conferences to agency-hosted events across the country, you'll have a chance to connect with other agents and industry experts on a regular basis.",-1)])),_:1,__:[16]}),C(Rr,{color:"white",imageUrl:"https://imagedelivery.net/_frWecfK9mup1e6B9lig6Q/4ac7baae-ba3a-423c-b10d-c1150bf83500/public","image-alt":"View of an oceanfront pool and palm trees on a tropical beach",contentLeft:!1},{default:$(()=>o[17]||(o[17]=[a("h2",{class:"body-35 bold"},"Create memories on trips across the world",-1),a("div",{class:"divider-element-left bg-primary my-4 w-[10%] h-[5px]"},null,-1),a("p",{class:"body-20 light mt-[1em]"},"Corporate and carrier incentive trips are held throughout the year and give our agents a chance to visit exclusive resorts, tropical beaches and relax alongside breathtaking views.",-1)])),_:1,__:[17]}),C(rv,{symmetrystories:f(dq)}
129,{heading:$(()=>o[18]||(o[18]=[a("h2",{class:"section-heading body-35 bold"},"Symmetry Success Stories",-1)])),button:$(()=>[C(r,{class:"mt-[2em]",preset:"standard",href:"/symmetry-stories","data-cta-id":"wws-stories-read-more"},{default:$(()=>o[19]||(o[19]=[T("Read More Symmetry Stories")])),_:1,__:[19]})]),_:1},8,["symmetrystories"]),C(St,{color:"white"},{default:$(()=>[a("div",Rre,[o[21]||(o[21]=a("h2",{class:"body-35 bold mb-[1em]"},"Interested in a career with Symmetry Financial Group?",-1)),C(r,{preset:"alternative","data-cta-id":"wws-bottom-lets-talk",onClick:o[3]||(o[3]=i=>t.value=!t.value)},{default:$(()=>o[20]||(o[20]=[T("Let's Talk")])),_:1,__:[20]})])]),_:1}),C(s,{modelValue:t.value,"onUpdate:modelValue":o[4]||(o[4]=i=>t.value=i),"max-width":"600px","hide-default-actions":"","close-button":""},{default:$(()=>[C(Yg)]),_:1},8,["modelValue"])]),_:1})}}},Vre=Object.freeze(Object.defineProperty({__proto__:null,default:Lre},Symbol.toStringTag,{value:"Module"})),Bre={breakpoint:{enable:!0,bodyClass:!0,thresholds:{xs:0,sm:640,md:768,lg:1024,xl:1280,"2xl":1536}},colors:{variables:{primary:"#00B7FF",secondary:"#6ECF93",success:"#40e583",info:"#2c82e0",danger:"#e34b4a",warning:"#ffc200",gray:"#babfc2",dark:"#34495e",medgray:"#DEDEDE",lightgray:"#EEE",darkgray:"#67727A",royalblue:"#005DFF",medblue:"#1004DD",midnightblue:"#011684",gold:"#FC0"}},icons:Mx({fonts:[{name:"icon-{code}",resolve:({code:e})=>({class:`icon-${e}`,tag:"i"})}]}),components:{VaModal:{beforeClose:e=>{typeof document<"u"&&document.querySelector(".react-datepicker__portal .react-datepicker")||e()}},presets:{VaButton:{standard:{color:"primary",textColor:"#fff"},alternative:{color:"secondary",textColor:"#fff"},royal:{color:"royalblue",textColor:"#fff"},white:{color:"#fff",textColor:"#000"},whiteAlt:{color:"#fff",textColor:"#005DFF",borderColor:"#005DFF",borderWidth:"1px"},callToAction:{color:"royalblue",textColor:"#fff"}},VaAlert:{errors:{color:"#f5d5d5",textColor:"danger"}}}}},Fre=hF({components:{VaButton:bt,VaModal:Li,VaAlert:II,VaButtonDropdown:oM,VaAvatar:zI,VaForm:BV,VaInput:Nl,VaImage:Eg,VaFileUpload:DV,VaSelect:WB,VaTextarea:fF,VaCheckbox:Mg,VaProgressBar:qg,VaIcon:rn,VaLayout:ZV,VaRadio:Vm,VaAccordion:Ws,VaCollapse:Rg,VaDataTable:wL,VaPopover:yS,VaCarouselV2:WM,VaCarouselGroup:qM,VaTabs:Gg,VaTab:aF,VaDivider:nV,VaSkeleton:QB,VaSkeletonGroup:XB,VaDateInput:XL,VaDatePicker:JL},config:Bre}),Nre={install(e){let t="";e.config.globalProperties.$feathery={init(n){if(t&&n&&t===n.email||t&&!n)return Promise.resolve(t);const o="6936cc66-0966-4cf5-ac23-6641b3dcff80",r={};n&&(r.userId=n.email);try{Feathery}catch{throw new Error("Feathery is not defined")}return Feathery.init(o,r).then(s=>(console.info("Feathery has been initialized:",s),t=s,s)).catch(s=>{console.log("Feathery initialization error:",s.message)})},renderAt(n,o,r=!1){try{Feathery}catch{throw new Error("Feathery is not defined")}return Feathery.renderAt(n,o,r)}}}};window.axios=vt;window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest";var E0;const X1=(E0=document.querySelector('meta[name="csrf-token"]'))==null?void 0:E0.getAttribute("content");X1&&(window.axios.defaults.headers.common["X-CSRF-TOKEN"]=X1);let gc=!1,zp=null;async function zre(){const t=(await vt.get("/api/csrf-token")).data.csrf_token;window.axios.defaults.headers.common["X-CSRF-TOKEN"]=t;const n=document.querySelector('meta[name="csrf-token"]');return n&&n.setAttribute("content",t),t}window.axios.interceptors.response.use(e=>e,async e=>{var n;const t=e.config;if(((n=e.response)==null?void 0:n.status)===419&&!t._retry){t._retry=!0;try{return gc?await zp:(gc=!0,zp=zre(),await zp,gc=!1),t.headers["X-CSRF-TOKEN"]=window.axios.defaults.headers.common["X-CSRF-TOKEN"],window.axios(t)}catch(o){return gc=!1,console.error("CSRF token refresh failed, reloading page:",o),window.location.reload(),Promise.reject(o)}}return Promise.reject(e)});/*!
130 * Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
131 * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
132 * Copyright 2024 Fonticons, Inc.
133 */function jre(e,t,n){return(t=Hre(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function J1(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function Ve(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};
vendor: 5,642 bytes, line 133
133t%2?J1(Object(n),!0).forEach(function(o){jre(e,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):J1(Object(n)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(n,o))})}return e}function Ure(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var o=n.call(e,t);if(typeof o!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Hre(e){var t=Ure(e,"string");return typeof t=="symbol"?t:t+""}const Z1=()=>{};let iv={},aC={},sC=null,iC={mark:Z1,measure:Z1};try{typeof window<"u"&&(iv=window),typeof document<"u"&&(aC=document),typeof MutationObserver<"u"&&(sC=MutationObserver),typeof performance<"u"&&(iC=performance)}catch{}const{userAgent:e0=""}=iv.navigator||{},cs=iv,wn=aC,t0=sC,vc=iC;cs.document;const Na=!!wn.documentElement&&!!wn.head&&typeof wn.addEventListener=="function"&&typeof wn.createElement=="function",lC=~e0.indexOf("MSIE")||~e0.indexOf("Trident/");var Wre=/fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/,qre=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i,uC={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fab:"brands","fa-brands":"brands"},duotone:{fa:"solid",fad:"solid","fa-solid":"solid","fa-duotone":"solid",fadr:"regular","fa-regular":"regular",fadl:"light","fa-light":"light",fadt:"thin","fa-thin":"thin"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid",fasdr:"regular","fa-regular":"regular",fasdl:"light","fa-light":"light",fasdt:"thin","fa-thin":"thin"}},Gre={GROUP:"duotone-group",PRIMARY:"primary",SECONDARY:"secondary"},cC=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],Eo="classic",_f="duotone",Yre="sharp",Kre="sharp-duotone",dC=[Eo,_f,Yre,Kre],Qre={classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},duotone:{900:"fad",400:"fadr",300:"fadl",100:"fadt"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds",400:"fasdr",300:"fasdl",100:"fasdt"}},Xre={"Font Awesome 6 Free":{900:"fas",400:"far"},"Font Awesome 6 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 6 Brands":{400:"fab",normal:"fab"},"Font Awesome 6 Duotone":{900:"fad",400:"fadr",normal:"fadr",300:"fadl",100:"fadt"},"Font Awesome 6 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 6 Sharp Duotone":{900:"fasds",400:"fasdr",normal:"fasdr",300:"fasdl",100:"fasdt"}},Jre=new Map([["classic",{defaultShortPrefixId:"fas",defaultStyleId:"solid",styleIds:["solid","regular","light","thin","brands"],futureStyleIds:[],defaultFontWeight:900}],["sharp",{defaultShortPrefixId:"fass",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["duotone",{defaultShortPrefixId:"fad",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp-duotone",{defaultShortPrefixId:"fasds",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}]]),Zre={classic:{solid:"fas",regular:"far",light:"fal",thin:"fat",brands:"fab"},duotone:{solid:"fad",regular:"fadr",light:"fadl",thin:"fadt"},sharp:{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"},"sharp-duotone":{solid:"fasds",regular:"fasdr",light:"fasdl",thin:"fasdt"}},eae=["fak","fa-kit","fakd","fa-kit-duotone"],n0={kit:{fak:"kit","fa-kit":"kit"},"kit-duotone":{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"}},tae=["kit"],nae={kit:{"fa-kit":"fak"}},oae=["fak","fakd"],rae={kit:{fak:"fa-kit"}},o0={kit:{kit:"fak"},"kit-duotone":{"kit-duotone":"fakd"}},yc={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},aae=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],sae=["fak","fa-kit","fakd","fa-kit-duotone"],iae={"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}},lae={classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},duotone:{"fa-regular":"fadr","fa-light":"fadl","fa-thin":"fadt"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds","fa-regular":"fasdr","fa-light":"fasdl","fa-thin":"fasdt"}},uae={classic:["fas","far","fal","fat","fad"],duotone:["fadr","fadl","fadt"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds","fasdr","fasdl","fasdt"]},Km={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},duotone:{fadr:"fa-regular",fadl:"fa-light",fadt:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid",fasdr:"fa-regular",fasdl:"fa-light",fasdt:"fa-thin"}},cae=["fa-solid","fa-regular","fa-light","fa-thin","fa-duotone","fa-brands"],Qm=["fa","fas","far","fal","fat","fad","fadr","fadl","fadt","fab","fass","fasr","fasl","fast","fasds","fasdr","fasdl","fasdt",...aae,...cae],dae=["solid","regular","light","thin","duotone","brands"],fC=[1,2,3,4,5,6,7,8,9,10],fae=fC.concat([11,12,13,14,15,16,17,18,19,20]),pae=[...Object.keys(uae),...dae,"2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vert
133ical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",yc.GROUP,yc.SWAP_OPACITY,yc.PRIMARY,yc.SECONDARY].concat(fC.map(e=>"".concat(e,"x"))).concat(fae.map(e=>"w-".concat(e))),mae={"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"}};const Ma="___FONT_AWESOME___",Xm=16,pC="fa",mC="svg-inline--fa",Ys="data-fa-i2svg",Jm="data-fa-pseudo-element",hae="data-fa-pseudo-element-pending",lv="data-prefix",uv="data-icon",r0="fontawesome-i2svg",gae="async",vae=["HTML","HEAD","STYLE","SCRIPT"],hC=(()=>{try{return!0}catch{return!1}})();function Lu(e){return new Proxy(e,{get(t,n){return n in t?t[n]:t[Eo]}})}const gC=Ve({},uC);gC[Eo]=Ve(Ve(Ve(Ve({},{"fa-duotone":"duotone"}),uC[Eo]),n0.kit),n0["kit-duotone"]);const yae=Lu(gC),Zm=Ve({},Zre);Zm[Eo]=Ve(Ve(Ve(Ve({},{duotone:"fad"}),Zm[Eo]),o0.kit),o0["kit-duotone"]);const a0=Lu(Zm),eh=Ve({},Km);eh[Eo]=Ve(Ve({},eh[Eo]),rae.kit);const cv=Lu(eh),th=Ve({},lae);th[Eo]=Ve(Ve({},th[Eo]),nae.kit);Lu(th);const bae=Wre,vC="fa-layers-text",wae=qre,_ae=Ve({},Qre);Lu(_ae);const xae=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],jp=Gre,Sae=[...tae,...pae],Ul=cs.FontAwesomeConfig||{};function Cae(e){var t=wn.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function kae(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}wn&&typeof wn.querySelector=="function"&&[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach(t=>{let[n,o]=t;const r=kae(Cae(n));r!=null&&(Ul[o]=r)});const yC={styleDefault:"solid",familyDefault:Eo,cssPrefix:pC,replacementClass:mC,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};Ul.familyPrefix&&(Ul.cssPrefix=Ul.familyPrefix);const Ui=Ve(Ve({},yC),Ul);Ui.autoReplaceSvg||(Ui.observeMutations=!1);const Qe={};Object.keys(yC).forEach(e=>{Object.defineProperty(Qe,e,{enumerable:!0,set:function(t){Ui[e]=t,Hl.forEach(n=>n(Qe))},get:function(){return Ui[e]}})});Object.defineProperty(Qe,"familyPrefix",{enumerable:!0,set:function(e){Ui.cssPrefix=e,Hl.forEach(t=>t(Qe))},get:function(){return Ui.cssPrefix}});cs.FontAwesomeConfig=Qe;const Hl=[];function $ae(e){return Hl.push(e),()=>{Hl.splice(Hl.indexOf(e),1)}}const Ga=Xm,ra={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function Aae(e){if(!e||!Na)return;const t=wn.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;const n=wn.head.childNodes;let o=null;for(let r=n.length-1;r>-1;r--){const s=n[r],i=(s.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(i)>-1&&(o=s)}return wn.head.insertBefore(t,o),e}const Tae="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function cu(){let e=12,t="";for(;e-- >0;)t+=Tae[Math.random()*62|0];return t}function Xi(e){const t=[];for(let n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function dv(e){return e.classList?Xi(e.classList):(e.getAttribute("class")||"").split(" ").filter(t=>t)}function bC(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Eae(e){return Object.keys(e||{}).reduce((t,n)=>t+"".concat(n,'="').concat(bC(e[n]),'" '),"").trim()}function xf(e){return Object.keys(e||{}).reduce((t,n)=>t+"".concat(n,": ").concat(e[n].trim(),";"),"")}function fv(e){return e.size!==ra.size||e.x!==ra.x||e.y!==ra.y||e.rotate!==ra.rotate||e.flipX||e.flipY}function Pae(e){let{transform:t,containerWidth:n,iconWidth:o}=e;const r={transform:"translate(".concat(n/2," 256)")},s="translate(".concat(t.x*32,", ").concat(t.y*32,") "),i="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),l="rotate(".concat(t.rotate," 0 0)"),u={transform:"".concat(s," ").concat(i," ").concat(l)},c={transform:"translate(".concat(o/2*-1," -256)")};return{outer:r,inner:u,path:c}}function Oae(e){let{transform:t,width:n=Xm,height:o=Xm,startCentered:r=!1}=e,s="";return r&&lC?s+="translate(".concat(t.x/Ga-n/2,"em, ").concat(t.y/Ga-o/2,"em) "):r?s+="translate(calc(-50% + ".concat(t.x/Ga,"em), calc(-50% + ").concat(t.y/Ga,"em)) "):s+="translate(".concat(t.x/Ga,"em, ").concat(t.y/Ga,"em) "),s+="scale(".concat(t.size/Ga*(t.flipX?-1:1),", ").concat(t.size/Ga*(t.flipY?-1:1),") "),s+="rotate(".concat(t.rotate,"deg) "),s}var Iae=
vendor: 12,335 bytes, lines 133-686
133`:root, :host {
134  --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free";
135  --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Free";
136  --fa-font-light: normal 300 1em/1 "Font Awesome 6 Pro";
137  --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Pro";
138  --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";
139  --fa-font-duotone-regular: normal 400 1em/1 "Font Awesome 6 Duotone";
140  --fa-font-duotone-light: normal 300 1em/1 "Font Awesome 6 Duotone";
141  --fa-font-duotone-thin: normal 100 1em/1 "Font Awesome 6 Duotone";
142  --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";
143  --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";
144  --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";
145  --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";
146  --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp";
147  --fa-font-sharp-duotone-solid: normal 900 1em/1 "Font Awesome 6 Sharp Duotone";
148  --fa-font-sharp-duotone-regular: normal 400 1em/1 "Font Awesome 6 Sharp Duotone";
149  --fa-font-sharp-duotone-light: normal 300 1em/1 "Font Awesome 6 Sharp Duotone";
150  --fa-font-sharp-duotone-thin: normal 100 1em/1 "Font Awesome 6 Sharp Duotone";
151}
152
153svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
154  overflow: visible;
155  box-sizing: content-box;
156}
157
158.svg-inline--fa {
159  display: var(--fa-display, inline-block);
160  height: 1em;
161  overflow: visible;
162  vertical-align: -0.125em;
163}
164.svg-inline--fa.fa-2xs {
165  vertical-align: 0.1em;
166}
167.svg-inline--fa.fa-xs {
168  vertical-align: 0em;
169}
170.svg-inline--fa.fa-sm {
171  vertical-align: -0.0714285705em;
172}
173.svg-inline--fa.fa-lg {
174  vertical-align: -0.2em;
175}
176.svg-inline--fa.fa-xl {
177  vertical-align: -0.25em;
178}
179.svg-inline--fa.fa-2xl {
180  vertical-align: -0.3125em;
181}
182.svg-inline--fa.fa-pull-left {
183  margin-right: var(--fa-pull-margin, 0.3em);
184  width: auto;
185}
186.svg-inline--fa.fa-pull-right {
187  margin-left: var(--fa-pull-margin, 0.3em);
188  width: auto;
189}
190.svg-inline--fa.fa-li {
191  width: var(--fa-li-width, 2em);
192  top: 0.25em;
193}
194.svg-inline--fa.fa-fw {
195  width: var(--fa-fw-width, 1.25em);
196}
197
198.fa-layers svg.svg-inline--fa {
199  bottom: 0;
200  left: 0;
201  margin: auto;
202  position: absolute;
203  right: 0;
204  top: 0;
205}
206
207.fa-layers-counter, .fa-layers-text {
208  display: inline-block;
209  position: absolute;
210  text-align: center;
211}
212
213.fa-layers {
214  display: inline-block;
215  height: 1em;
216  position: relative;
217  text-align: center;
218  vertical-align: -0.125em;
219  width: 1em;
220}
221.fa-layers svg.svg-inline--fa {
222  transform-origin: center center;
223}
224
225.fa-layers-text {
226  left: 50%;
227  top: 50%;
228  transform: translate(-50%, -50%);
229  transform-origin: center center;
230}
231
232.fa-layers-counter {
233  background-color: var(--fa-counter-background-color, #ff253a);
234  border-radius: var(--fa-counter-border-radius, 1em);
235  box-sizing: border-box;
236  color: var(--fa-inverse, #fff);
237  line-height: var(--fa-counter-line-height, 1);
238  max-width: var(--fa-counter-max-width, 5em);
239  min-width: var(--fa-counter-min-width, 1.5em);
240  overflow: hidden;
241  padding: var(--fa-counter-padding, 0.25em 0.5em);
242  right: var(--fa-right, 0);
243  text-overflow: ellipsis;
244  top: var(--fa-top, 0);
245  transform: scale(var(--fa-counter-scale, 0.25));
246  transform-origin: top right;
247}
248
249.fa-layers-bottom-right {
250  bottom: var(--fa-bottom, 0);
251  right: var(--fa-right, 0);
252  top: auto;
253  transform: scale(var(--fa-layers-scale, 0.25));
254  transform-origin: bottom right;
255}
256
257.fa-layers-bottom-left {
258  bottom: var(--fa-bottom, 0);
259  left: var(--fa-left, 0);
260  right: auto;
261  top: auto;
262  transform: scale(var(--fa-layers-scale, 0.25));
263  transform-origin: bottom left;
264}
265
266.fa-layers-top-right {
267  top: var(--fa-top, 0);
268  right: var(--fa-right, 0);
269  transform: scale(var(--fa-layers-scale, 0.25));
270  transform-origin: top right;
271}
272
273.fa-layers-top-left {
274  left: var(--fa-left, 0);
275  right: auto;
276  top: var(--fa-top, 0);
277  transform: scale(var(--fa-layers-scale, 0.25));
278  transform-origin: top left;
279}
280
281.fa-1x {
282  font-size: 1em;
283}
284
285.fa-2x {
286  font-size: 2em;
287}
288
289.fa-3x {
290  font-size: 3em;
291}
292
293.fa-4x {
294  font-size: 4em;
295}
296
297.fa-5x {
298  font-size: 5em;
299}
300
301.fa-6x {
302  font-size: 6em;
303}
304
305.fa-7x {
306  font-size: 7em;
307}
308
309.fa-8x {
310  font-size: 8em;
311}
312
313.fa-9x {
314  font-size: 9em;
315}
316
317.fa-10x {
318  font-size: 10em;
319}
320
321.fa-2xs {
322  font-size: 0.625em;
323  line-height: 0.1em;
324  vertical-align: 0.225em;
325}
326
327.fa-xs {
328  font-size: 0.75em;
329  line-height: 0.0833333337em;
330  vertical-align: 0.125em;
331}
332
333.fa-sm {
334  font-size: 0.875em;
335  line-height: 0.0714285718em;
336  vertical-align: 0.0535714295em;
337}
338
339.fa-lg {
340  font-size: 1.25em;
341  line-height: 0.05em;
342  vertical-align: -0.075em;
343}
344
345.fa-xl {
346  font-size: 1.5em;
347  line-height: 0.0416666682em;
348  vertical-align: -0.125em;
349}
350
351.fa-2xl {
352  font-size: 2em;
353  line-height: 0.03125em;
354  vertical-align: -0.1875em;
355}
356
357.fa-fw {
358  text-align: center;
359  width: 1.25em;
360}
361
362.fa-ul {
363  list-style-type: none;
364  margin-left: var(--fa-li-margin, 2.5em);
365  padding-left: 0;
366}
367.fa-ul > li {
368  position: relative;
369}
370
371.fa-li {
372  left: calc(-1 * var(--fa-li-width, 2em));
373  position: absolute;
374  text-align: center;
375  width: var(--fa-li-width, 2em);
376  line-height: inherit;
377}
378
379.fa-border {
380  border-color: var(--fa-border-color, #eee);
381  border-radius: var(--fa-border-radius, 0.1em);
382  border-style: var(--fa-border-style, solid);
383  border-width: var(--fa-border-width, 0.08em);
384  padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);
385}
386
387.fa-pull-left {
388  float: left;
389  margin-right: var(--fa-pull-margin, 0.3em);
390}
391
392.fa-pull-right {
393  float: right;
394  margin-left: var(--fa-pull-margin, 0.3em);
395}
396
397.fa-beat {
398  animation-name: fa-beat;
399  animation-delay: var(--fa-animation-delay, 0s);
400  animation-direction: var(--fa-animation-direction, normal);
401  animation-duration: var(--fa-animation-duration, 1s);
402  animation-iteration-count: var(--fa-animation-iteration-count, infinite);
403  animation-timing-function: var(--fa-animation-timing, ease-in-out);
404}
405
406.fa-bounce {
407  animation-name: fa-bounce;
408  animation-delay: var(--fa-animation-delay, 0s);
409  animation-direction: var(--fa-animation-direction, normal);
410  animation-duration: var(--fa-animation-duration, 1s);
411  animation-iteration-count: var(--fa-animation-iteration-count, infinite);
412  animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));
413}
414
415.fa-fade {
416  animation-name: fa-fade;
417  animation-delay: var(--fa-animation-delay, 0s);
418  animation-direction: var(--fa-animation-direction, normal);
419  animation-duration: var(--fa-animation-duration, 1s);
420  animation-iteration-count: var(--fa-animation-iteration-count, infinite);
421  animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
422}
423
424.fa-beat-fade {
425  animation-name: fa-beat-fade;
426  animation-delay: var(--fa-animation-delay, 0s);
427  animation-direction: var(--fa-animation-direction, normal);
428  animation-duration: var(--fa-animation-duration, 1s);
429  animation-iteration-count: var(--fa-animation-iteration-count, infinite);
430  animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
431}
432
433.fa-flip {
434  animation-name: fa-flip;
435  animation-delay: var(--fa-animation-delay, 0s);
436  animation-direction: var(--fa-animation-direction, normal);
437  animation-duration: var(--fa-animation-duration, 1s);
438  animation-iteration-count: var(--fa-animation-iteration-count, infinite);
439  animation-timing-function: var(--fa-animation-timing, ease-in-out);
440}
441
442.fa-shake {
443  animation-name: fa-shake;
444  animation-delay: var(--fa-animation-delay, 0s);
445  animation-direction: var(--fa-animation-direction, normal);
446  animation-duration: var(--fa-animation-duration, 1s);
447  animation-iteration-count: var(--fa-animation-iteration-count, infinite);
448  animation-timing-function: var(--fa-animation-timing, linear);
449}
450
451.fa-spin {
452  animation-name: fa-spin;
453  animation-delay: var(--fa-animation-delay, 0s);
454  animation-direction: var(--fa-animation-direction, normal);
455  animation-duration: var(--fa-animation-duration, 2s);
456  animation-iteration-count: var(--fa-animation-iteration-count, infinite);
457  animation-timing-function: var(--fa-animation-timing, linear);
458}
459
460.fa-spin-reverse {
461  --fa-animation-direction: reverse;
462}
463
464.fa-pulse,
465.fa-spin-pulse {
466  animation-name: fa-spin;
467  animation-direction: var(--fa-animation-direction, normal);
468  animation-duration: var(--fa-animation-duration, 1s);
469  animation-iteration-count: var(--fa-animation-iteration-count, infinite);
470  animation-timing-function: var(--fa-animation-timing, steps(8));
471}
472
473@media (prefers-reduced-motion: reduce) {
474  .fa-beat,
475.fa-bounce,
476.fa-fade,
477.fa-beat-fade,
478.fa-flip,
479.fa-pulse,
480.fa-shake,
481.fa-spin,
482.fa-spin-pulse {
483    animation-delay: -1ms;
484    animation-duration: 1ms;
485    animation-iteration-count: 1;
486    transition-delay: 0s;
487    transition-duration: 0s;
488  }
489}
490@keyframes fa-beat {
491  0%, 90% {
492    transform: scale(1);
493  }
494  45% {
495    transform: scale(var(--fa-beat-scale, 1.25));
496  }
497}
498@keyframes fa-bounce {
499  0% {
500    transform: scale(1, 1) translateY(0);
501  }
502  10% {
503    transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
504  }
505  30% {
506    transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
507  }
508  50% {
509    transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
510  }
511  57% {
512    transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
513  }
514  64% {
515    transform: scale(1, 1) translateY(0);
516  }
517  100% {
518    transform: scale(1, 1) translateY(0);
519  }
520}
521@keyframes fa-fade {
522  50% {
523    opacity: var(--fa-fade-opacity, 0.4);
524  }
525}
526@keyframes fa-beat-fade {
527  0%, 100% {
528    opacity: var(--fa-beat-fade-opacity, 0.4);
529    transform: scale(1);
530  }
531  50% {
532    opacity: 1;
533    transform: scale(var(--fa-beat-fade-scale, 1.125));
534  }
535}
536@keyframes fa-flip {
537  50% {
538    transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
539  }
540}
541@keyframes fa-shake {
542  0% {
543    transform: rotate(-15deg);
544  }
545  4% {
546    transform: rotate(15deg);
547  }
548  8%, 24% {
549    transform: rotate(-18deg);
550  }
551  12%, 28% {
552    transform: rotate(18deg);
553  }
554  16% {
555    transform: rotate(-22deg);
556  }
557  20% {
558    transform: rotate(22deg);
559  }
560  32% {
561    transform: rotate(-12deg);
562  }
563  36% {
564    transform: rotate(12deg);
565  }
566  40%, 100% {
567    transform: rotate(0deg);
568  }
569}
570@keyframes fa-spin {
571  0% {
572    transform: rotate(0deg);
573  }
574  100% {
575    transform: rotate(360deg);
576  }
577}
578.fa-rotate-90 {
579  transform: rotate(90deg);
580}
581
582.fa-rotate-180 {
583  transform: rotate(180deg);
584}
585
586.fa-rotate-270 {
587  transform: rotate(270deg);
588}
589
590.fa-flip-horizontal {
591  transform: scale(-1, 1);
592}
593
594.fa-flip-vertical {
595  transform: scale(1, -1);
596}
597
598.fa-flip-both,
599.fa-flip-horizontal.fa-flip-vertical {
600  transform: scale(-1, -1);
601}
602
603.fa-rotate-by {
604  transform: rotate(var(--fa-rotate-angle, 0));
605}
606
607.fa-stack {
608  display: inline-block;
609  vertical-align: middle;
610  height: 2em;
611  position: relative;
612  width: 2.5em;
613}
614
615.fa-stack-1x,
616.fa-stack-2x {
617  bottom: 0;
618  left: 0;
619  margin: auto;
620  position: absolute;
621  right: 0;
622  top: 0;
623  z-index: var(--fa-stack-z-index, auto);
624}
625
626.svg-inline--fa.fa-stack-1x {
627  height: 1em;
628  width: 1.25em;
629}
630.svg-inline--fa.fa-stack-2x {
631  height: 2em;
632  width: 2.5em;
633}
634
635.fa-inverse {
636  color: var(--fa-inverse, #fff);
637}
638
639.sr-only,
640.fa-sr-only {
641  position: absolute;
642  width: 1px;
643  height: 1px;
644  padding: 0;
645  margin: -1px;
646  overflow: hidden;
647  clip: rect(0, 0, 0, 0);
648  white-space: nowrap;
649  border-width: 0;
650}
651
652.sr-only-focusable:not(:focus),
653.fa-sr-only-focusable:not(:focus) {
654  position: absolute;
655  width: 1px;
656  height: 1px;
657  padding: 0;
658  margin: -1px;
659  overflow: hidden;
660  clip: rect(0, 0, 0, 0);
661  white-space: nowrap;
662  border-width: 0;
663}
664
665.svg-inline--fa .fa-primary {
666  fill: var(--fa-primary-color, currentColor);
667  opacity: var(--fa-primary-opacity, 1);
668}
669
670.svg-inline--fa .fa-secondary {
671  fill: var(--fa-secondary-color, currentColor);
672  opacity: var(--fa-secondary-opacity, 0.4);
673}
674
675.svg-inline--fa.fa-swap-opacity .fa-primary {
676  opacity: var(--fa-secondary-opacity, 0.4);
677}
678
679.svg-inline--fa.fa-swap-opacity .fa-secondary {
680  opacity: var(--fa-primary-opacity, 1);
681}
682
683.svg-inline--fa mask .fa-primary,
684.svg-inline--fa mask .fa-secondary {
685  fill: black;
686}`;
686function wC(){const e=pC,t=mC,n=Qe.cssPrefix,o=Qe.replacementClass;let r=Iae;if(n!==e||o!==t){const s=new RegExp("\\.".concat(e,"\\-"),"g"),i=new RegExp("\\--".concat(e,"\\-"),"g"),l=new RegExp("\\.".concat(t),"g");r=r.replace(s,".".concat(n,"-")).replace(i,"--".concat(n,"-")).replace(l,".".concat(o))}return r}let s0=!1;function Up(){Qe.autoAddCss&&!s0&&(Aae(wC()),s0=!0)}var Dae={mixout(){return{dom:{css:wC,insertCss:Up}}},hooks(){return{beforeDOMElementCreation(){Up()},beforeI2svg(){Up()}}}};const Ra=cs||{};Ra[Ma]||(Ra[Ma]={});Ra[Ma].styles||(Ra[Ma].styles={});Ra[Ma].hooks||(Ra[Ma].hooks={});Ra[Ma].shims||(Ra[Ma].shims=[]);var aa=Ra[Ma];const _C=[],xC=function(){wn.removeEventListener("DOMContentLoaded",xC),wd=1,_C.map(e=>e())};let wd=!1;Na&&(wd=(wn.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(wn.readyState),wd||wn.addEventListener("DOMContentLoaded",xC));function Mae(e){Na&&(wd?setTimeout(e,0):_C.push(e))}function Vu(e){const{tag:t,attributes:n={},children:o=[]}=e;return typeof e=="string"?bC(e):"<".concat(t," ").concat(Eae(n),">").concat(o.map(Vu).join(""),"</").concat(t,">")}function i0(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}var Hp=function(t,n,o,r){var s=Object.keys(t),i=s.length,l=n,u,c,d;for(o===void 0?(u=1,d=t[s[0]]):(u=0,d=o);u<i;u++)c=s[u],d=l(d,t[c],c,t);return d};function Rae(e){const t=[];let n=0;const o=e.length;for(;n<o;){const r=e.charCodeAt(n++);if(r>=55296&&r<=56319&&n<o){const s=e.charCodeAt(n++);(s&64512)==56320?t.push(((r&1023)<<10)+(s&1023)+65536):(t.push(r),n--)}else t.push(r)}return t}function nh(e){const t=Rae(e);return t.length===1?t[0].toString(16):null}function Lae(e,t){const n=e.length;let o=e.charCodeAt(t),r;return o>=55296&&o<=56319&&n>t+1&&(r=e.charCodeAt(t+1),r>=56320&&r<=57343)?(o-55296)*1024+r-56320+65536:o}function l0(e){return Object.keys(e).reduce((t,n)=>{const o=e[n];return!!o.icon?t[o.iconName]=o.icon:t[n]=o,t},{})}function oh(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{skipHooks:o=!1}=n,r=l0(t);typeof aa.hooks.addPack=="function"&&!o?aa.hooks.addPack(e,l0(t)):aa.styles[e]=Ve(Ve({},aa.styles[e]||{}),r),e==="fas"&&oh("fa",t)}const{styles:du,shims:Vae}=aa,SC=Object.keys(cv),Bae=SC.reduce((e,t)=>(e[t]=Object.keys(cv[t]),e),{});let pv=null,CC={},kC={},$C={},AC={},TC={};function Fae(e){return~Sae.indexOf(e)}function Nae(e,t){const n=t.split("-"),o=n[0],r=n.slice(1).join("-");return o===e&&r!==""&&!Fae(r)?r:null}const EC=()=>{const e=o=>Hp(du,(r,s,i)=>(r[i]=Hp(s,o,{}),r),{});CC=e((o,r,s)=>(r[3]&&(o[r[3]]=s),r[2]&&r[2].filter(l=>typeof l=="number").forEach(l=>{o[l.toString(16)]=s}),o)),kC=e((o,r,s)=>(o[s]=s,r[2]&&r[2].filter(l=>typeof l=="string").forEach(l=>{o[l]=s}),o)),TC=e((o,r,s)=>{const i=r[2];return o[s]=s,i.forEach(l=>{o[l]=s}),o});const t="far"in du||Qe.autoFetchSvg,n=Hp(Vae,(o,r)=>{const s=r[0];let i=r[1];const l=r[2];return i==="far"&&!t&&(i="fas"),typeof s=="string"&&(o.names[s]={prefix:i,iconName:l}),typeof s=="number"&&(o.unicodes[s.toString(16)]={prefix:i,iconName:l}),o},{names:{},unicodes:{}});$C=n.names,AC=n.unicodes,pv=Sf(Qe.styleDefault,{family:Qe.familyDefault})};$ae(e=>{pv=Sf(e.styleDefault,{family:Qe.familyDefault})});EC();function mv(e,t){return(CC[e]||{})[t]}function zae(e,t){return(kC[e]||{})[t]}function Ps(e,t){return(TC[e]||{})[t]}function PC(e){return $C[e]||{prefix:null,iconName:null}}function jae(e){const t=AC[e],n=mv("fas",e);return t||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}function ds(){return pv}const OC=()=>({prefix:null,iconName:null,rest:[]}
686);function Uae(e){let t=Eo;const n=SC.reduce((o,r)=>(o[r]="".concat(Qe.cssPrefix,"-").concat(r),o),{});return dC.forEach(o=>{(e.includes(n[o])||e.some(r=>Bae[o].includes(r)))&&(t=o)}),t}function Sf(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{family:n=Eo}=t,o=yae[n][e];if(n===_f&&!e)return"fad";const r=a0[n][e]||a0[n][o],s=e in aa.styles?e:null;return r||s||null}function Hae(e){let t=[],n=null;return e.forEach(o=>{const r=Nae(Qe.cssPrefix,o);r?n=r:o&&t.push(o)}),{iconName:n,rest:t}}function u0(e){return e.sort().filter((t,n,o)=>o.indexOf(t)===n)}function Cf(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{skipLookups:n=!1}=t;let o=null;const r=Qm.concat(sae),s=u0(e.filter(p=>r.includes(p))),i=u0(e.filter(p=>!Qm.includes(p))),l=s.filter(p=>(o=p,!cC.includes(p))),[u=null]=l,c=Uae(s),d=Ve(Ve({},Hae(i)),{},{prefix:Sf(u,{family:c})});return Ve(Ve(Ve({},d),Yae({values:e,family:c,styles:du,config:Qe,canonical:d,givenPrefix:o})),Wae(n,o,d))}function Wae(e,t,n){let{prefix:o,iconName:r}=n;if(e||!o||!r)return{prefix:o,iconName:r};const s=t==="fa"?PC(r):{},i=Ps(o,r);return r=s.iconName||i||r,o=s.prefix||o,o==="far"&&!du.far&&du.fas&&!Qe.autoFetchSvg&&(o="fas"),{prefix:o,iconName:r}}const qae=dC.filter(e=>e!==Eo||e!==_f),Gae=Object.keys(Km).filter(e=>e!==Eo).map(e=>Object.keys(Km[e])).flat();function Yae(e){const{values:t,family:n,canonical:o,givenPrefix:r="",styles:s={},config:i={}}=e,l=n===_f,u=t.includes("fa-duotone")||t.includes("fad"),c=i.familyDefault==="duotone",d=o.prefix==="fad"||o.prefix==="fa-duotone";if(!l&&(u||c||d)&&(o.prefix="fad"),(t.includes("fa-brands")||t.includes("fab"))&&(o.prefix="fab"),!o.prefix&&qae.includes(n)&&(Object.keys(s).find(m=>Gae.includes(m))||i.autoFetchSvg)){const m=Jre.get(n).defaultShortPrefixId;o.prefix=m,o.iconName=Ps(o.prefix,o.iconName)||o.iconName}return(o.prefix==="fa"||r==="fa")&&(o.prefix=ds()||"fas"),o}class Kae{constructor(){this.definitions={}}add(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];const r=n.reduce(this._pullDefinitions,{});Object.keys(r).forEach(s=>{this.definitions[s]=Ve(Ve({},this.definitions[s]||{}),r[s]),oh(s,r[s]);const i=cv[Eo][s];i&&oh(i,r[s]),EC()})}reset(){this.definitions={}}_pullDefinitions(t,n){const o=n.prefix&&n.iconName&&n.icon?{0:n}:n;return Object.keys(o).map(r=>{const{prefix:s,iconName:i,icon:l}=o[r],u=l[2];t[s]||(t[s]={}),u.length>0&&u.forEach(c=>{typeof c=="string"&&(t[s][c]=l)}),t[s][i]=l}),t}}let c0=[],gi={};const ki={},Qae=Object.keys(ki);function Xae(e,t){let{mixoutsTo:n}=t;return c0=e,gi={},Object.keys(ki).forEach(o=>{Qae.indexOf(o)===-1&&delete ki[o]}),c0.forEach(o=>{const r=o.mixout?o.mixout():{};if(Object.keys(r).forEach(s=>{typeof r[s]=="function"&&(n[s]=r[s]),typeof r[s]=="object"&&Object.keys(r[s]).forEach(i=>{n[s]||(n[s]={}),n[s][i]=r[s][i]})}),o.hooks){const s=o.hooks();Object.keys(s).forEach(i=>{gi[i]||(gi[i]=[]),gi[i].push(s[i])})}o.provides&&o.provides(ki)}),n}function rh(e,t){for(var n=arguments.length,o=new Array(n>2?n-2:0),r=2;r<n;r++)o[r-2]=arguments[r];
686return(gi[e]||[]).forEach(i=>{t=i.apply(null,[t,...o])}),t}function Ks(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];(gi[e]||[]).forEach(s=>{s.apply(null,n)})}function fs(){const e=arguments[0],t=Array.prototype.slice.call(arguments,1);return ki[e]?ki[e].apply(null,t):void 0}function ah(e){e.prefix==="fa"&&(e.prefix="fas");let{iconName:t}=e;const n=e.prefix||ds();if(t)return t=Ps(n,t)||t,i0(IC.definitions,n,t)||i0(aa.styles,n,t)}const IC=new Kae,Jae=()=>{Qe.autoReplaceSvg=!1,Qe.observeMutations=!1,Ks("noAuto")},Zae={i2svg:function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Na?(Ks("beforeI2svg",e),fs("pseudoElements2svg",e),fs("i2svg",e)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{autoReplaceSvgRoot:t}=e;Qe.autoReplaceSvg===!1&&(Qe.autoReplaceSvg=!0),Qe.observeMutations=!0,Mae(()=>{tse({autoReplaceSvgRoot:t}),Ks("watch",e)})}},ese={icon:e=>{if(e===null)return null;if(typeof e=="object"&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:Ps(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&e.length===2){const t=e[1].indexOf("fa-")===0?e[1].slice(3):e[1],n=Sf(e[0]);return{prefix:n,iconName:Ps(n,t)||t}}if(typeof e=="string"&&(e.indexOf("".concat(Qe.cssPrefix,"-"))>-1||e.match(bae))){const t=Cf(e.split(" "),{skipLookups:!0});return{prefix:t.prefix||ds(),iconName:Ps(t.prefix,t.iconName)||t.iconName}}if(typeof e=="string"){const t=ds();return{prefix:t,iconName:Ps(t,e)||e}}}},pr={noAuto:Jae,config:Qe,dom:Zae,parse:ese,library:IC,findIconDefinition:ah,toHtml:Vu},tse=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{autoReplaceSvgRoot:t=wn}=e;(Object.keys(aa.styles).length>0||Qe.autoFetchSvg)&&Na&&Qe.autoReplaceSvg&&pr.dom.i2svg({node:t})};function kf(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(n=>Vu(n))}}),Object.defineProperty(e,"node",{get:function(){if(!Na)return;const n=wn.createElement("div");return n.innerHTML=e.html,n.children}}),e}function nse(e){let{children:t,main:n,mask:o,attributes:r,styles:s,transform:i}=e;if(fv(i)&&n.found&&!o.found){const{width:l,height:u}=n,c={x:l/u/2,y:.5};r.style=xf(Ve(Ve({},s),{},{"transform-origin":"".concat(c.x+i.x/16,"em ").concat(c.y+i.y/16,"em")}))}return[{tag:"svg",attributes:r,children:t}]}function ose(e){let{prefix:t,iconName:n,children:o,attributes:r,symbol:s}=e;const i=s===!0?"".concat(t,"-").concat(Qe.cssPrefix,"-").concat(n):s;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:Ve(Ve({},r),{},{id:i}),children:o}]}]}function hv(e){const{icons:{main:t,mask:n},prefix:o,iconName:r,transform:s,symbol:i,title:l,maskId:u,titleId:c,extra:d,watchable:p=!1}=e,{width:m,height:h}=n.found?n:t,g=oae.includes(o),b=[Qe.replacementClass,r?"".concat(Qe.cssPrefix,"-").concat(r):""].filter(I=>d.classes.indexOf(I)===-1).filter(I=>I!==""||!!I).concat(d.classes).join(" ");let y={children:[],attributes:Ve(Ve({},d.attributes),{},{"data-prefix":o,"data-icon":r,class:b,role:d.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(m," ").concat(h)})};const _=g&&!~d.classes.indexOf("fa-fw")?{width:"".concat(m/h*16*.0625,"em")}:{};p&&(y.attributes[Ys]=""),l&&(y.children.push({tag:"title",attributes:{id:y.attributes["aria-labelledby"]||"title-".concat(c||cu())},children:[l]}),delete y.attributes.title);const A=Ve(Ve({},y),{},{prefix:o,iconName:r,main:t,mask:n,maskId:u,transform:s,symbol:i,styles:Ve(Ve({},_),d.styles)}),{children:k,attributes:E}=n.found&&t.found?fs("generateAbstractMask",A)||{children:[],attributes:{}}:fs("generateAbstractIcon",A)||{children:[],attributes:{}};return A.children=k,A.attributes=E,i?ose(A):nse(A)}function d0(e){const{content:t,width:n,height:o,transform:r,title:s,extra:i,watchable:l=!1}=e,u=Ve(Ve(Ve({},i.attributes),s?{title:s}:{}),{},{class:i.classes.join(" ")});l&&(u[Ys]="");const c=Ve({},i.styles);fv(r)&&(c.transform=Oae({transform:r,startCentered:!0,width:n,height:o}),c["-webkit-transform"]=c.transform);const d=xf(c);d.length>0&&(u.style=d);const p=[];return p.push({tag:"span",attributes:u,children:[t]}),s&&p.push({tag:"span",attributes:{class:"sr-only"},children:[s]}),p}function rse(e){const{content:t,title:n,extra:o}=e,r=Ve(Ve(Ve({},o.attributes),n?{title:n}:{}),{},{class:o.classes.join(" ")}),s=xf(o.styles);s.length>0&&(r.style=s);const i=[];return i.push({tag:"span",attributes:r,children:[t]}),n&&i.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),i}const{styles:Wp}=aa;function sh(e){const t=e[0],n=e[1],[o]=e.slice(4);let r=null;return Array.isArray(o)?r={tag:"g",attributes:{class:"".concat(Qe.cssPrefix,"-").concat(jp.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Qe.cssPrefix,"-").concat(jp.SECONDARY),fill:"currentColor",d:o[0]}},{tag:"path",attributes:{class:"".concat(Qe.cssPrefix,"-").concat(jp.PRIMARY),fill:"currentColor",d:o[1]}}]}
686:r={tag:"path",attributes:{fill:"currentColor",d:o}},{found:!0,width:t,height:n,icon:r}}const ase={found:!1,width:512,height:512};function sse(e,t){!hC&&!Qe.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function ih(e,t){let n=t;return t==="fa"&&Qe.styleDefault!==null&&(t=ds()),new Promise((o,r)=>{if(n==="fa"){const s=PC(e)||{};e=s.iconName||e,t=s.prefix||t}if(e&&t&&Wp[t]&&Wp[t][e]){const s=Wp[t][e];return o(sh(s))}sse(e,t),o(Ve(Ve({},ase),{},{icon:Qe.showMissingIcons&&e?fs("missingIconAbstract")||{}:{}}))})}const f0=()=>{},lh=Qe.measurePerformance&&vc&&vc.mark&&vc.measure?vc:{mark:f0,measure:f0},kl='FA "6.7.2"',ise=e=>(lh.mark("".concat(kl," ").concat(e," begins")),()=>DC(e)),DC=e=>{lh.mark("".concat(kl," ").concat(e," ends")),lh.measure("".concat(kl," ").concat(e),"".concat(kl," ").concat(e," begins"),"".concat(kl," ").concat(e," ends"))};var gv={begin:ise,end:DC};const Vc=()=>{};function p0(e){return typeof(e.getAttribute?e.getAttribute(Ys):null)=="string"}function lse(e){const t=e.getAttribute?e.getAttribute(lv):null,n=e.getAttribute?e.getAttribute(uv):null;return t&&n}function use(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(Qe.replacementClass)}function cse(){return Qe.autoReplaceSvg===!0?Bc.replace:Bc[Qe.autoReplaceSvg]||Bc.replace}function dse(e){return wn.createElementNS("http://www.w3.org/2000/svg",e)}function fse(e){return wn.createElement(e)}function MC(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{ceFn:n=e.tag==="svg"?dse:fse}=t;if(typeof e=="string")return wn.createTextNode(e);const o=n(e.tag);return Object.keys(e.attributes||[]).forEach(function(s){o.setAttribute(s,e.attributes[s])}),(e.children||[]).forEach(function(s){o.appendChild(MC(s,{ceFn:n}))}),o}function pse(e){let t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}const Bc={replace:function(e){const t=e[0];if(t.parentNode)if(e[1].forEach(n=>{t.parentNode.insertBefore(MC(n),t)}),t.getAttribute(Ys)===null&&Qe.keepOriginalSource){let n=wn.createComment(pse(t));t.parentNode.replaceChild(n,t)}else t.remove()},nest:function(e){const t=e[0],n=e[1];if(~dv(t).indexOf(Qe.replacementClass))return Bc.replace(e);const o=new RegExp("".concat(Qe.cssPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){const s=n[0].attributes.class.split(" ").reduce((i,l)=>(l===Qe.replacementClass||l.match(o)?i.toSvg.push(l):i.toNode.push(l),i),{toNode:[],toSvg:[]});n[0].attributes.class=s.toSvg.join(" "),s.toNode.length===0?t.removeAttribute("class"):t.setAttribute("class",s.toNode.join(" "))}const r=n.map(s=>Vu(s)).join(`
687`);t.setAttribute(Ys,""),t.innerHTML=r}};function m0(e){e()}function RC(e,t){const n=typeof t=="function"?t:Vc;if(e.length===0)n();else{let o=m0;Qe.mutateApproach===gae&&(o=cs.requestAnimationFrame||m0),o(()=>{const r=cse(),s=gv.begin("mutate");e.map(r),s(),n()})}}let vv=!1;function LC(){vv=!0}function uh(){vv=!1}let _d=null;function h0(e){if(!t0||!Qe.observeMutations)return;const{treeCallback:t=Vc,nodeCallback:n=Vc,pseudoElementsCallback:o=Vc,observeMutationsRoot:r=wn}=e;_d=new t0(s=>{if(vv)return;const i=ds();Xi(s).forEach(l=>{if(l.type==="childList"&&l.addedNodes.length>0&&!p0(l.addedNodes[0])&&(Qe.searchPseudoElements&&o(l.target),t(l.target)),l.type==="attributes"&&l.target.parentNode&&Qe.searchPseudoElements&&o(l.target.parentNode),l.type==="attributes"&&p0(l.target)&&~xae.indexOf(l.attributeName))if(l.attributeName==="class"&&lse(l.target)){const{prefix:u,iconName:c}=Cf(dv(l.target));l.target.setAttribute(lv,u||i),c&&l.target.setAttribute(uv,c)}else use(l.target)&&n(l.target)})}),Na&&_d.observe(r,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}function mse(){_d&&_d.disconnect()}function hse(e){const t=e.getAttribute("style");let n=[];return t&&(n=t.split(";").reduce((o,r)=>{const s=r.split(":"),i=s[0],l=s.slice(1);return i&&l.length>0&&(o[i]=l.join(":").trim()),o},{})),n}function gse(e){const t=e.getAttribute("data-prefix"),n=e.getAttribute("data-icon"),o=e.innerText!==void 0?e.innerText.trim():"";let r=Cf(dv(e));return r.prefix||(r.prefix=ds()),t&&n&&(r.prefix=t,r.iconName=n),r.iconName&&r.prefix||(r.prefix&&o.length>0&&(r.iconName=zae(r.prefix,e.innerText)||mv(r.prefix,nh(e.innerText))),!r.iconName&&Qe.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(r.iconName=e.firstChild.data)),r}function vse(e){const t=Xi(e.attributes).reduce((r,s)=>(r.name!=="class"&&r.name!=="style"&&(r[s.name]=s.value),r),{}),n=e.getAttribute("title"),o=e.getAttribute("data-fa-title-id");return Qe.autoA11y&&(n?t["aria-labelledby"]="".concat(Qe.replacementClass,"-title-").concat(o||cu()):(t["aria-hidden"]="true",t.focusable="false")),t}function yse(){return{iconName:null,title:null,titleId:null,prefix:null,transform:ra,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function g0(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0};const{iconName:n,prefix:o,rest:r}=gse(e),s=vse(e),i=rh("parseNodeAttributes",{},e);let l=t.styleParser?hse(e):[];return Ve({iconName:n,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:o,transform:ra,mask:{iconName:null,prefix:null,rest:[]}
687,maskId:null,symbol:!1,extra:{classes:r,styles:l,attributes:s}},i)}const{styles:bse}=aa;function VC(e){const t=Qe.autoReplaceSvg==="nest"?g0(e,{styleParser:!1}):g0(e);return~t.extra.classes.indexOf(vC)?fs("generateLayersText",e,t):fs("generateSvgReplacementMutation",e,t)}function wse(){return[...eae,...Qm]}function v0(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!Na)return Promise.resolve();const n=wn.documentElement.classList,o=d=>n.add("".concat(r0,"-").concat(d)),r=d=>n.remove("".concat(r0,"-").concat(d)),s=Qe.autoFetchSvg?wse():cC.concat(Object.keys(bse));s.includes("fa")||s.push("fa");const i=[".".concat(vC,":not([").concat(Ys,"])")].concat(s.map(d=>".".concat(d,":not([").concat(Ys,"])"))).join(", ");if(i.length===0)return Promise.resolve();let l=[];try{l=Xi(e.querySelectorAll(i))}catch{}if(l.length>0)o("pending"),r("complete");else return Promise.resolve();const u=gv.begin("onTree"),c=l.reduce((d,p)=>{try{const m=VC(p);m&&d.push(m)}catch(m){hC||m.name==="MissingIcon"&&console.error(m)}return d},[]);return new Promise((d,p)=>{Promise.all(c).then(m=>{RC(m,()=>{o("active"),o("complete"),r("pending"),typeof t=="function"&&t(),u(),d()})}).catch(m=>{u(),p(m)})})}function _se(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;VC(e).then(n=>{n&&RC([n],t)})}function xse(e){return function(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const o=(t||{}).icon?t:ah(t||{});let{mask:r}=n;return r&&(r=(r||{}).icon?r:ah(r||{})),e(o,Ve(Ve({},n),{},{mask:r}))}}const Sse=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{transform:n=ra,symbol:o=!1,mask:r=null,maskId:s=null,title:i=null,titleId:l=null,classes:u=[],attributes:c={},styles:d={}}=t;if(!e)return;const{prefix:p,iconName:m,icon:h}=e;return kf(Ve({type:"icon"},e),()=>(Ks("beforeDOMElementCreation",{iconDefinition:e,params:t}),Qe.autoA11y&&(i?c["aria-labelledby"]="".concat(Qe.replacementClass,"-title-").concat(l||cu()):(c["aria-hidden"]="true",c.focusable="false")),hv({icons:{main:sh(h),mask:r?sh(r.icon):{found:!1,width:null,height:null,icon:{}}},prefix:p,iconName:m,transform:Ve(Ve({},ra),n),symbol:o,title:i,maskId:s,titleId:l,extra:{attributes:c,styles:d,classes:u}})))};var Cse={mixout(){return{icon:xse(Sse)}},hooks(){return{mutationObserverCallbacks(e){return e.treeCallback=v0,e.nodeCallback=_se,e}}},provides(e){e.i2svg=function(t){const{node:n=wn,callback:o=()=>{}}=t;return v0(n,o)},e.generateSvgReplacementMutation=function(t,n){const{iconName:o,title:r,titleId:s,prefix:i,transform:l,symbol:u,mask:c,maskId:d,extra:p}=n;return new Promise((m,h)=>{Promise.all([ih(o,i),c.iconName?ih(c.iconName,c.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(g=>{let[b,y]=g;
687m([t,hv({icons:{main:b,mask:y},prefix:i,iconName:o,transform:l,symbol:u,maskId:d,title:r,titleId:s,extra:p,watchable:!0})])}).catch(h)})},e.generateAbstractIcon=function(t){let{children:n,attributes:o,main:r,transform:s,styles:i}=t;const l=xf(i);l.length>0&&(o.style=l);let u;return fv(s)&&(u=fs("generateAbstractTransformGrouping",{main:r,transform:s,containerWidth:r.width,iconWidth:r.width})),n.push(u||r.icon),{children:n,attributes:o}}}},kse={mixout(){return{layer(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{classes:n=[]}=t;return kf({type:"layer"},()=>{Ks("beforeDOMElementCreation",{assembler:e,params:t});let o=[];return e(r=>{Array.isArray(r)?r.map(s=>{o=o.concat(s.abstract)}):o=o.concat(r.abstract)}),[{tag:"span",attributes:{class:["".concat(Qe.cssPrefix,"-layers"),...n].join(" ")},children:o}]})}}}},$se={mixout(){return{counter(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{title:n=null,classes:o=[],attributes:r={},styles:s={}}=t;return kf({type:"counter",content:e},()=>(Ks("beforeDOMElementCreation",{content:e,params:t}),rse({content:e.toString(),title:n,extra:{attributes:r,styles:s,classes:["".concat(Qe.cssPrefix,"-layers-counter"),...o]}})))}}}},Ase={mixout(){return{text(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{transform:n=ra,title:o=null,classes:r=[],attributes:s={},styles:i={}}=t;return kf({type:"text",content:e},()=>(Ks("beforeDOMElementCreation",{content:e,params:t}),d0({content:e,transform:Ve(Ve({},ra),n),title:o,extra:{attributes:s,styles:i,classes:["".concat(Qe.cssPrefix,"-layers-text"),...r]}})))}}},provides(e){e.generateLayersText=function(t,n){const{title:o,transform:r,extra:s}=n;let i=null,l=null;if(lC){const u=parseInt(getComputedStyle(t).fontSize,10),c=t.getBoundingClientRect();i=c.width/u,l=c.height/u}return Qe.autoA11y&&!o&&(s.attributes["aria-hidden"]="true"),Promise.resolve([t,d0({content:t.innerHTML,width:i,height:l,transform:r,title:o,extra:s,watchable:!0})])}}};const Tse=new RegExp('"',"ug"),y0=[1105920,1112319],b0=Ve(Ve(Ve(Ve({},{FontAwesome:{normal:"fas",400:"fas"}}),Xre),mae),iae),ch=Object.keys(b0).reduce((e,t)=>(e[t.toLowerCase()]=b0[t],e),{}),Ese=Object.keys(ch).reduce((e,t)=>{const n=ch[t];return e[t]=n[900]||[...Object.entries(n)][0][1],e},{});function Pse(e){const t=e.replace(Tse,""),n=Lae(t,0),o=n>=y0[0]&&n<=y0[1],r=t.length===2?t[0]===t[1]:!1;return{value:nh(r?t[0]:t),isSecondary:o||r}}function Ose(e,t){const n=e.replace(/^['"]|['"]$/g,"").toLowerCase(),o=parseInt(t),r=isNaN(o)?"normal":o;return(ch[n]||{})[r]||Ese[n]}function w0(e,t){const n="".concat(hae).concat(t.replace(":","-"));return new Promise((o,r)=>{if(e.getAttribute(n)!==null)return o();const i=Xi(e.children).filter(m=>m.getAttribute(Jm)===t)[0],l=cs.getComputedStyle(e,t),u=l.getPropertyValue("font-family"),c=u.match(wae),d=l.getPropertyValue("font-weight"),p=l.getPropertyValue("content");if(i&&!c)return e.removeChild(i),o();if(c&&p!=="none"&&p!==""){const m=l.getPropertyValue("content");let h=Ose(u,d);const{value:g,isSecondary:b}=Pse(m),y=c[0].startsWith("FontAwesome");let _=mv(h,g),A=_;if(y){const k=jae(g);k.iconName&&k.prefix&&(_=k.iconName,h=k.prefix)}if(_&&!b&&(!i||i.getAttribute(lv)!==h||i.getAttribute(uv)!==A)){e.setAttribute(n,A),i&&e.removeChild(i);const k=yse(),{extra:E}=k;E.attributes[Jm]=t,ih(_,h).then(I=>{const F=hv(Ve(Ve({},k),{},{icons:{main:I,mask:OC()},prefix:h,iconName:A,extra:E,watchable:!0})),P=wn.createElementNS("http://www.w3.org/2000/svg","svg");t==="::before"?e.insertBefore(P,e.firstChild):e.appendChild(P),P.outerHTML=F.map(B=>Vu(B)).join(`
688`),e.removeAttribute(n),o()}).catch(r)}else o()}else o()})}function Ise(e){return Promise.all([w0(e,"::before"),w0(e,"::after")])}function Dse(e){return e.parentNode!==document.head&&!~vae.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(Jm)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function _0(e){if(Na)return new Promise((t,n)=>{const o=Xi(e.querySelectorAll("*")).filter(Dse).map(Ise),r=gv.begin("searchPseudoElements");LC(),Promise.all(o).then(()=>{r(),uh(),t()}).catch(()=>{r(),uh(),n()})})}var Mse={hooks(){return{mutationObserverCallbacks(e){return e.pseudoElementsCallback=_0,e}}},provides(e){e.pseudoElements2svg=function(t){const{node:n=wn}=t;Qe.searchPseudoElements&&_0(n)}}};let x0=!1;var Rse={mixout(){return{dom:{unwatch(){LC(),x0=!0}}}},hooks(){return{bootstrap(){h0(rh("mutationObserverCallbacks",{}))},noAuto(){mse()},watch(e){const{observeMutationsRoot:t}=e;x0?uh():h0(rh("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}};const S0=e=>{let t={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return e.toLowerCase().split(" ").reduce((n,o)=>{const r=o.toLowerCase().split("-"),s=r[0];let i=r.slice(1).join("-");if(s&&i==="h")return n.flipX=!0,n;if(s&&i==="v")return n.flipY=!0,n;if(i=parseFloat(i),isNaN(i))return n;switch(s){case"grow":n.size=n.size+i;break;case"shrink":n.size=n.size-i;break;case"left":n.x=n.x-i;break;case"right":n.x=n.x+i;break;case"up":n.y=n.y-i;break;case"down":n.y=n.y+i;break;case"rotate":n.rotate=n.rotate+i;break}return n},t)};var Lse={mixout(){return{parse:{transform:e=>S0(e)}}},hooks(){return{parseNodeAttributes(e,t){const n=t.getAttribute("data-fa-transform");return n&&(e.transform=S0(n)),e}}},provides(e){e.generateAbstractTransformGrouping=function(t){let{main:n,transform:o,containerWidth:r,iconWidth:s}=t;const i={transform:"translate(".concat(r/2," 256)")},l="translate(".concat(o.x*32,", ").concat(o.y*32,") "),u="scale(".concat(o.size/16*(o.flipX?-1:1),", ").concat(o.size/16*(o.flipY?-1:1),") "),c="rotate(".concat(o.rotate," 0 0)"),d={transform:"".concat(l," ").concat(u," ").concat(c)},p={transform:"translate(".concat(s/2*-1," -256)")},m={outer:i,inner:d,path:p};return{tag:"g",attributes:Ve({},m.outer),children:[{tag:"g",attributes:Ve({},m.inner),children:[{tag:n.icon.tag,children:n.icon.children,attributes:Ve(Ve({},n.icon.attributes),m.path)}]}]}}}};const qp={x:0,y:0,width:"100%",height:"100%"};function C0(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function Vse(e){return e.tag==="g"?e.children:[e]}var Bse={hooks(){return{parseNodeAttributes(e,t){const n=t.getAttribute("data-fa-mask"),o=n?Cf(n.split(" ").map(r=>r.trim())):OC();return o.prefix||(o.prefix=ds()),e.mask=o,e.maskId=t.getAttribute("data-fa-mask-id"),e}}},provides(e){e.generateAbstractMask=function(t){let{children:n,attributes:o,main:r,mask:s,maskId:i,transform:l}=t;const{width:u,icon:c}=r,{width:d,icon:p}=s,m=Pae({transform:l,containerWidth:d,iconWidth:u}),h={tag:"rect",attributes:Ve(Ve({},qp),{},{fill:"white"})},g=c.children?{children:c.children.map(C0)}:{},b={tag:"g",attributes:Ve({},m.inner),children:[C0(Ve({tag:c.tag,attributes:Ve(Ve({},c.attributes),m.path)},g))]},y={tag:"g",attributes:Ve({},m.outer),children:[b]},_="mask-".concat(i||cu()),A="clip-".concat(i||cu()),k={tag:"mask",attributes:Ve(Ve({},qp),{},{id:_,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[h,y]},E={tag:"defs",children:[{tag:"clipPath",attributes:{id:A}
688,children:Vse(p)},k]};return n.push(E,{tag:"rect",attributes:Ve({fill:"currentColor","clip-path":"url(#".concat(A,")"),mask:"url(#".concat(_,")")},qp)}),{children:n,attributes:o}}}},Fse={provides(e){let t=!1;cs.matchMedia&&(t=cs.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){const n=[],o={fill:"currentColor"},r={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};n.push({tag:"path",attributes:Ve(Ve({},o),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});const s=Ve(Ve({},r),{},{attributeName:"opacity"}),i={tag:"circle",attributes:Ve(Ve({},o),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||i.children.push({tag:"animate",attributes:Ve(Ve({},r),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:Ve(Ve({},s),{},{values:"1;0;1;1;0;1;"})}),n.push(i),n.push({tag:"path",attributes:Ve(Ve({},o),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:t?[]:[{tag:"animate",attributes:Ve(Ve({},s),{},{values:"1;0;0;0;0;1;"})}]}),t||n.push({tag:"path",attributes:Ve(Ve({},o),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:Ve(Ve({},s),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:n}}}},Nse={hooks(){return{parseNodeAttributes(e,t){const n=t.getAttribute("data-fa-symbol"),o=n===null?!1:n===""?!0:n;return e.symbol=o,e}}}},zse=[Dae,Cse,kse,$se,Ase,Mse,Rse,Lse,Bse,Fse,Nse];Xae(zse,{mixoutsTo:pr});pr.noAuto;pr.config;const jse=pr.library;pr.dom;const dh=pr.parse;pr.findIconDefinition;pr.toHtml;const Use=pr.icon;pr.layer;pr.text;pr.counter;function k0(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function $a(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?k0(Object(n),!0).forEach(function(o){Yo(e,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):k0(Object(n)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(n,o))})}return e}function Hse(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var o=n.call(e,t);if(typeof o!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Wse(e){var t=Hse(e,"string");return typeof t=="symbol"?t:t+""}function xd(e){"@babel/helpers - typeof";return xd=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},xd(e)}function Yo(e,t,n){return t=Wse(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qse(e,t){if(e==null)return{};var n={};for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){if(t.indexOf(o)>=0)continue;n[o]=e[o]}return n}function Gse(e,t){if(e==null)return{};var n=qse(e,t),o,r;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(r=0;r<s.length;r++)o=s[r],!(t.indexOf(o)>=0)&&Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}var Yse=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},BC={exports:{}};
688(function(e){(function(t){var n=function(_,A,k){if(!c(A)||p(A)||m(A)||h(A)||u(A))return A;var E,I=0,F=0;if(d(A))for(E=[],F=A.length;I<F;I++)E.push(n(_,A[I],k));else{E={};for(var P in A)Object.prototype.hasOwnProperty.call(A,P)&&(E[_(P,k)]=n(_,A[P],k))}return E},o=function(_,A){A=A||{};var k=A.separator||"_",E=A.split||/(?=[A-Z])/;return _.split(E).join(k)},r=function(_){return g(_)?_:(_=_.replace(/[\-_\s]+(.)?/g,function(A,k){return k?k.toUpperCase():""}),_.substr(0,1).toLowerCase()+_.substr(1))},s=function(_){var A=r(_);return A.substr(0,1).toUpperCase()+A.substr(1)},i=function(_,A){return o(_,A).toLowerCase()},l=Object.prototype.toString,u=function(_){return typeof _=="function"},c=function(_){return _===Object(_)},d=function(_){return l.call(_)=="[object Array]"},p=function(_){return l.call(_)=="[object Date]"},m=function(_){return l.call(_)=="[object RegExp]"},h=function(_){return l.call(_)=="[object Boolean]"},g=function(_){return _=_-0,_===_},b=function(_,A){var k=A&&"process"in A?A.process:A;return typeof k!="function"?_:function(E,I){return k(E,_,I)}},y={camelize:r,decamelize:i,pascalize:s,depascalize:i,camelizeKeys:function(_,A){return n(b(r,A),_)},decamelizeKeys:function(_,A){return n(b(i,A),_,A)},pascalizeKeys:function(_,A){return n(b(s,A),_)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=y:t.humps=y})(Yse)})(BC);var Kse=BC.exports,Qse=["class","style"];function Xse(e){return e.split(";").map(function(t){return t.trim()}).filter(function(t){return t}).reduce(function(t,n){var o=n.indexOf(":"),r=Kse.camelize(n.slice(0,o)),s=n.slice(o+1).trim();return t[r]=s,t},{})}function Jse(e){return e.split(/\s+/).reduce(function(t,n){return t[n]=!0,t},{})}function FC(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof e=="string")return e;var o=(e.children||[]).map(function(u){return FC(u)}),r=Object.keys(e.attributes||{}).reduce(function(u,c){var d=e.attributes[c];switch(c){case"class":u.class=Jse(d);break;case"style":u.style=Xse(d);break;default:u.attrs[c]=d}return u},{attrs:{},class:{},style:{}});n.class;var s=n.style,i=s===void 0?{}:s,l=Gse(n,Qse);return nn(e.tag,$a($a($a({},t),{},{class:r.class,style:$a($a({},r.style),i)},r.attrs),l),o)}var NC=!1;try{NC=!0}catch{}function Zse(){if(!NC&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function Gp(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?Yo({},e,t):{}}function eie(e){var t,n=(t={"fa-spin":e.spin,"fa-pulse":e.pulse,"fa-fw":e.fixedWidth,"fa-border":e.border,"fa-li":e.listItem,"fa-inverse":e.inverse,"fa-flip":e.flip===!0,"fa-flip-horizontal":e.flip==="horizontal"||e.flip==="both","fa-flip-vertical":e.flip==="vertical"||e.flip==="both"},Yo(Yo(Yo(Yo(Yo(Yo(Yo(Yo(Yo(Yo(t,"fa-".concat(e.size),e.size!==null),"fa-rotate-".concat(e.rotation),e.rotation!==null),"fa-pull-".concat(e.pull),e.pull!==null),"fa-swap-opacity",e.swapOpacity),"fa-bounce",e.bounce),"fa-shake",e.shake),"fa-beat",e.beat),"fa-fade",e.fade),"fa-beat-fade",e.beatFade),"fa-flash",e.flash),Yo(Yo(t,"fa-spin-pulse",e.spinPulse),"fa-spin-reverse",e.spinReverse));return Object.keys(n).map(function(o){return n[o]?o:null}).filter(function(o){return o})}function $0(e){if(e&&xd(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(dh.icon)return dh.icon(e);if(e===null)return null;if(xd(e)==="object"&&e.prefix&&e.iconName)return e;if(Array.isArray(e)&&e.length===2)return{prefix:e[0],iconName:e[1]};if(typeof e=="string")return{prefix:"fas",iconName:e}}var tie=$e({name:"FontAwesomeIcon",props:{border:{type:Boolean,default:!1},fixedWidth:{type:Boolean,default:!1},flip:{type:[Boolean,String],default:!1,validator:function(t){return[!0,!1,"horizontal","vertical","both"].indexOf(t)>-1}},icon:{type:[Object,Array,String],required:!0},mask:{type:[Object,Array,String],default:null},maskId:{type:String,default:null},listItem:{type:Boolean,default:!1},pull:{type:String,default:null,validator:function(t){return["right","left"].indexOf(t)>-1}},pulse:{type:Boolean,default:!1},rotation:{type:[String,Number],default:null,validator:function(t){return[90,180,270].indexOf(Number.parseInt(t,10))>-1}},swapOpacity:{type:Boolean,default:!1},size:{type:String,default:null,validator:function(t){return["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"].indexOf(t)>-1}},spin:{type:Boolean,default:!1},transform:{type:[String,Object],default:null},symbol:{type:[Boolean,String],default:!1},title:{type:String,default:null},titleId:{type:String,default:null},inverse:{type:Boolean,default:!1},bounce:{type:Boolean,default:!1},shake:{type:Boolean,default:!1},beat:{type:Boolean,default:!1},fade:{type:Boolean,default:!1},beatFade:{type:Boolean,default:!1},flash:{type:Boolean,default:!1},spinPulse:{type:Boolean,default:!1},spinReverse:{type:Boolean,default:!1}},setup:function(t,n){var o=n.attrs,r=w(function(){return $0(t.icon)}),s=w(function(){return Gp("classes",eie(t))}),i=w(function(){return Gp("transform",typeof t.transform=="string"?dh.transform(t.transform):t.transform)}),l=w(function(){return Gp("mask",$0(t.mask))}),u=w(function(){return Use(r.value,$a($a($a($a({},s.value),i.value),l.value),{}
688,{symbol:t.symbol,title:t.title,titleId:t.titleId,maskId:t.maskId}))});we(u,function(d){if(!d)return Zse("Could not find one or more icon(s)",r.value,l.value)},{immediate:!0});var c=w(function(){return u.value?FC(u.value.abstract[0],{},o):null});return function(){return c.value}}});/*!
689 * Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
690 * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
691 * Copyright 2024 Fonticons, Inc.
692 */const nie={prefix:"fas",iconName:"lock",icon:[448,512,[128274],"f023","M144 144l0 48 160 0 0-48c0-44.2-35.8-80-80-80s-80 35.8-80 80zM80 192l0-48C80 64.5 144.5 0 224 0s144 64.5 144 144l0 48 16 0c35.3 0 64 28.7 64 64l0 192c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 256c0-35.3 28.7-64 64-64l16 0z"]},oie={prefix:"fas",iconName:"star",icon:[576,512,[11088,61446],"f005","M316.9 18C311.6 7 300.4 0 288.1 0s-23.4 7-28.8 18L195 150.3 51.4 171.5c-12 1.8-22 10.2-25.7 21.7s-.7 24.2 7.9 32.7L137.8 329 113.2 474.7c-2 12 3 24.2 12.9 31.3s23 8 33.8 2.3l128.3-68.5 128.3 68.5c10.8 5.7 23.9 4.9 33.8-2.3s14.9-19.3 12.9-31.3L438.5 329 542.7 225.9c8.6-8.5 11.7-21.2 7.9-32.7s-13.7-19.9-25.7-21.7L381.2 150.3 316.9 18z"]},rie={prefix:"fas",iconName:"circle",icon:[512,512,[128308,128309,128992,128993,128994,128995,128996,9679,9898,9899,11044,61708,61915],"f111","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512z"]},aie={prefix:"fas",iconName:"phone",icon:[512,512,[128222,128379],"f095","M164.9 24.6c-7.7-18.6-28-28.5-47.4-23.2l-88 24C12.1 30.2 0 46 0 64C0 311.4 200.6 512 448 512c18 0 33.8-12.1 38.6-29.5l24-88c5.3-19.4-4.6-39.7-23.2-47.4l-96-40c-16.3-6.8-35.2-2.1-46.3 11.6L304.7 368C234.3 334.7 177.3 277.7 144 207.3L193.3 167c13.7-11.2 18.4-30 11.6-46.3l-40-96z"]},sie={prefix:"fas",iconName:"envelope",icon:[512,512,[128386,9993,61443],"f0e0","M48 64C21.5 64 0 85.5 0 112c0 15.1 7.1 29.3 19.2 38.4L236.8 313.6c11.4 8.5 27 8.5 38.4 0L492.8 150.4c12.1-9.1 19.2-23.3 19.2-38.4c0-26.5-21.5-48-48-48L48 64zM0 176L0 384c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-208L294.4 339.2c-22.8 17.1-54 17.1-76.8 0L0 176z"]},iie={prefix:"fas",iconName:"location-dot",icon:[384,512,["map-marker-alt"],"f3c5","M215.7 499.2C267 435 384 279.4 384 192C384 86 298 0 192 0S0 86 0 192c0 87.4 117 243 168.3 307.2c12.3 15.3 35.1 15.3 47.4 0zM192 128a64 64 0 1 1 0 128 64 64 0 1 1 0-128z"]},A0=120;let T0=!1;function lie(){typeof window>"u"||typeof document>"u"||typeof location<"u"&&/\.myhatchsite\.io$/i.test(location.hostname)||T0||(T0=!0,document.addEventListener("click",e=>{var u,c;const t=e.target;if(!(t instanceof Element))return;const n=t.closest('[data-cta-id]:not([disabled]):not([aria-disabled="true"])');if(!n)return;const o=((u=n.dataset)==null?void 0:u.ctaId)||null,r=((c=n.dataset)==null?void 0:c.ctaLabel)||o||"",s=[...r],i=s.length>A0?s.slice(0,A0).join(""):r,l=n.getAttribute("href")||null;sd("cta_click",{label:i,href:l,cta_id:o})},{capture:!0,passive:!0}))}jse.add(oie,iie,aie,sie,rie,nie);lie();id();Mt.on("navigate",()=>{id()});Mt.on("invalid",async e=>{if(e.detail.response.status===419){e.preventDefault();try{const n=(await window.axios.get("/api/csrf-token")).data.csrf_token,o=document.querySelector('meta[name="csrf-token"]');o&&o.setAttribute("content",n),window.location.reload()}catch(t){console.error("CSRF token refresh failed:",t),window.location.reload()}}});a6({resolve:e=>Object.assign({"./Pages/About/About.vue":bN,"./Pages/About/Components/Values.vue":aN,"./Pages/Admin/Home.vue":LN,"./Pages/Admin/OCSite.vue":VU,"./Pages/Admin/OCSiteEdit.vue":zU,"./Pages/Admin/OCSitePreview.vue":Hq,"./Pages/Admin/OCSites.vue":cG,"./Pages/Agent/OCSite.vue":DK,"./Pages/Agent/OCSitePreview.vue":FK,"./Pages/Archive.vue":eQ,"./Pages/Article.vue":cQ,"./Pages/Blog.vue":CQ,"./Pages/Careers.vue":tX,"./Pages/Contact.vue":aX,"./Pages/CriticalIllness.vue":SX,"./Pages/DebtFreeLife/Calculator/DebtCalculator.vue":jJ,"./Pages/DebtFreeLife/Calculator/DflCalculator.vue":_ee,"./Pages/DebtFreeLife/Calculator/IbcCalculator.vue":xZ,"./Pages/DebtFreeLife/Calculator/IntegratedCalculator.vue":pee,"./Pages/DebtFreeLife/Components/DisclaimerModal.vue":Cee,"./Pages/DebtFreeLife/Components/Testimonials.vue":Pee,"./Pages/DebtFreeLife/DebtFreeLife.vue":Zee,"./Pages/DisabilityInsurance.vue":hte,"./Pages/Dunning.vue":vte,"./Pages/Errors/404.vue":bte,"./Pages/FinalExpense.vue":Rte,"./Pages/Home/AdvancedMarkets.vue":Vte,"./Pages/Home/Components/AdvancedMarketsContent.vue":Bq,"./Pages/Home/Components/Carriers.vue":$H,"./Pages/Home/Components/FAQ.vue":Hte,"./Pages/Home/Components/HomeContent.vue":Cq,"./Pages/Home/Components/ProductSelector.vue":_W,"./Pages/Home/Home.vue":qte,"./Pages/Licenses.vue":Xte,"./Pages/MortgageProtection.vue":hne,"./Pages/PermanentLife.vue":Pne,"./Pages/Privacy.vue":Ine,"./Pages/ReleaseNotes.vue":Hne,"./Pages/Retirement.vue":ioe,"./Pages/SymmetryStories.vue":woe,"./Pages/SymmetryStoriesArchive.vue":Moe,"./Pages/SymmetryStory.vue":Woe,"./Pages/TermLife.vue":ire,"./Pages/Timeline.vue":xre,"./Pages/WorkingWithSymmetry/Components/Offerings.vue":Dre,"./Pages/WorkingWithSymmetry/WorkingWithSymmetry.vue":Vre})[`./Pages/${e}.vue`],setup({el:e,App:t,props:n,plugin:o}){fA({render:()=>nn(t,n)}).use(o).use(Fre).use(Nre).component("font-awesome-icon",tie).mount(e)}});

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.