@thatix.io/credit-ui 0.0.20 → 0.0.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,10 +1,10 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),F=require("./themes.cjs.js"),Ze=["aria-label"],Re=["src","alt"],qe={key:1,class:"avatar__initials"},Oe=e.defineComponent({__name:"Avatar",props:{src:{},name:{},size:{default:"md"}},emits:["click"],setup(a,{emit:t}){const n=a,l=t,o=e.ref(!1),i=e.computed(()=>{if(!n.name||n.name.trim()==="")return"";const d=n.name.trim().split(/\s+/);if(d.length===1)return d[0].charAt(0).toUpperCase();const h=d[0].charAt(0).toUpperCase(),f=d[d.length-1].charAt(0).toUpperCase();return`${h}${f}`}),r=e.computed(()=>n.src&&!o.value),s=()=>{o.value=!0},c=()=>{l("click")};return(d,h)=>(e.openBlock(),e.createElementBlock("button",{type:"button",role:"button","aria-label":`Avatar de ${a.name}`,class:e.normalizeClass(["avatar",`avatar--${a.size}`]),onClick:c},[r.value?(e.openBlock(),e.createElementBlock("img",{key:0,src:a.src,alt:`Foto de ${a.name}`,loading:"lazy",class:"avatar__image",onError:s},null,40,Re)):(e.openBlock(),e.createElementBlock("span",qe,e.toDisplayString(i.value),1))],10,Ze))}}),x=(a,t)=>{const n=a.__vccOpts||a;for(const[l,o]of t)n[l]=o;return n},H=x(Oe,[["__scopeId","data-v-64758d8e"]]),Ue=["role","tabindex"],je={key:0},He=["aria-label"],Ge=e.defineComponent({__name:"Badge",props:{variant:{default:"neutral"},size:{default:"md"},label:{default:""},dismissible:{type:Boolean,default:!1},dot:{type:Boolean,default:!1}},emits:["dismiss"],setup(a,{emit:t}){const n=a,l=t,o=e.computed(()=>n.dismissible?"button":"status"),i=e.computed(()=>{if(n.dot&&n.label)return n.label});function r(){l("dismiss")}function s(c){n.dismissible&&(c.key==="Enter"||c.key===" ")&&(c.preventDefault(),r())}return(c,d)=>a.dot?(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(["badge-dot",`badge-dot--${a.variant}`,`badge-dot--${a.size}`]),role:"status","aria-label":i.value},null,10,He)):(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["badge",`badge--${a.variant}`,`badge--${a.size}`]),role:o.value,tabindex:a.dismissible?0:void 0,onKeydown:s},[e.renderSlot(c.$slots,"leading-icon",{},void 0,!0),a.label?(e.openBlock(),e.createElementBlock("span",je,e.toDisplayString(a.label),1)):e.createCommentVNode("",!0),e.renderSlot(c.$slots,"trailing-icon",{},void 0,!0),a.dismissible?(e.openBlock(),e.createElementBlock("button",{key:1,type:"button",class:"badge__dismiss","aria-label":"Remover",onClick:e.withModifiers(r,["stop"])},[...d[0]||(d[0]=[e.createElementVNode("svg",{class:"badge__dismiss-icon",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"})],-1)])])):e.createCommentVNode("",!0)],42,Ue))}}),K=x(Ge,[["__scopeId","data-v-129b6666"]]),We=["disabled","aria-disabled","aria-busy"],Xe={key:0,class:"btn__spinner","aria-hidden":"true"},Ye=e.defineComponent({__name:"Button",props:{variant:{default:"primary"},size:{default:"md"},rounded:{default:"md"},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},block:{type:Boolean,default:!1}},emits:["click"],setup(a,{emit:t}){const n=a,l=t,o=e.computed(()=>{const d=["btn",`btn--${n.variant}`,`btn--${n.size}`,`btn--rounded-${n.rounded}`];return n.block&&d.push("btn--block"),(n.disabled||n.loading)&&d.push("btn--disabled"),d.join(" ")}),i=e.computed(()=>n.disabled||n.loading),r=e.computed(()=>n.loading);function s(d){if(n.disabled||n.loading){d.preventDefault(),d.stopPropagation();return}l("click",d)}function c(d){(d.key==="Enter"||d.key===" ")&&(d.preventDefault(),!n.disabled&&!n.loading&&l("click",d))}return(d,h)=>(e.openBlock(),e.createElementBlock("button",{class:e.normalizeClass(o.value),disabled:i.value,"aria-disabled":i.value,"aria-busy":r.value,role:"button",onClick:s,onKeydown:c},[e.renderSlot(d.$slots,"leading-icon",{},void 0,!0),a.loading?(e.openBlock(),e.createElementBlock("span",Xe)):e.createCommentVNode("",!0),e.renderSlot(d.$slots,"default",{},void 0,!0),e.renderSlot(d.$slots,"trailing-icon",{},void 0,!0)],42,We))}}),C=x(Ye,[["__scopeId","data-v-754b9160"]]),Ke=["role","tabindex"],Qe=e.defineComponent({__name:"Card",props:{variant:{default:"default"},padding:{default:"md"},clickable:{type:Boolean,default:!1}},emits:["click"],setup(a,{emit:t}){const n=a,l=t;function o(r){n.clickable&&l("click",r)}function i(r){n.clickable&&(r.key==="Enter"||r.key===" ")&&(r.preventDefault(),l("click",r))}return(r,s)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["card",`card--${a.variant}`,`card--padding-${a.padding}`,{"card--clickable":a.clickable}]),role:a.clickable?"button":void 0,tabindex:a.clickable?0:void 0,onClick:o,onKeydown:i},[e.renderSlot(r.$slots,"default",{},void 0,!0)],42,Ke))}}),I=x(Qe,[["__scopeId","data-v-9b9aaab2"]]),Je=["id","name","checked","disabled","aria-checked","aria-required","aria-disabled","aria-label"],et=["for"],tt={key:0,class:"checkbox-label__required","aria-label":"obrigatório"},at=e.defineComponent({__name:"Checkbox",props:{modelValue:{type:Boolean,default:!1},label:{},required:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},id:{},name:{},ariaLabel:{}},emits:["update:modelValue","change"],setup(a,{emit:t}){const n=a,l=t,o=e.computed(()=>n.id||`checkbox-${Math.random().toString(36).substr(2,9)}`);function i(s){if(n.disabled){s.preventDefault();return}const d=s.target.checked;l("update:modelValue",d),l("change",s)}function r(s){if((s.key===" "||s.key==="Enter")&&(s.preventDefault(),!n.disabled)){const c=!n.modelValue;l("update:modelValue",c);const d=new Event("change",{bubbles:!0});l("change",d)}}return(s,c)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["checkbox-wrapper",{"checkbox-wrapper--disabled":a.disabled}])},[e.createElementVNode("input",{id:o.value,name:a.name,type:"checkbox",checked:a.modelValue,disabled:a.disabled,class:e.normalizeClass(["checkbox",{"checkbox--checked":a.modelValue}]),"aria-checked":a.modelValue,"aria-required":a.required,"aria-disabled":a.disabled,"aria-label":a.ariaLabel||a.label||void 0,role:"checkbox",onChange:i,onKeydown:r},null,42,Je),a.label?(e.openBlock(),e.createElementBlock("label",{key:0,for:o.value,class:e.normalizeClass(["checkbox-label",{"checkbox-label--disabled":a.disabled}])},[e.createTextVNode(e.toDisplayString(a.label)+" ",1),a.required?(e.openBlock(),e.createElementBlock("span",tt,"*")):e.createCommentVNode("",!0)],10,et)):e.createCommentVNode("",!0)],2))}}),Be=x(at,[["__scopeId","data-v-e10f299a"]]),nt=e.defineComponent({__name:"CurrencyDisplay",props:{value:{},animated:{type:Boolean,default:!1},duration:{default:1e3},size:{default:"md"},colorize:{type:Boolean,default:!1}},setup(a){const t=a,n=e.ref(t.animated?0:t.value),l=e.ref(null),o=e.ref(!1),i=e.ref(null);let r=null;function s(f){const p=f/100;return new Intl.NumberFormat("pt-BR",{style:"currency",currency:"BRL"}).format(p)}function c(f){return f===1?1:1-Math.pow(2,-10*f)}function d(f=0,p=t.value){l.value&&cancelAnimationFrame(l.value);const g=performance.now(),_=t.duration;function m(u){const v=u-g,V=Math.min(v/_,1),b=c(V);n.value=Math.round(f+(p-f)*b),V<1?l.value=requestAnimationFrame(m):(n.value=p,l.value=null)}l.value=requestAnimationFrame(m)}const h=e.computed(()=>s(n.value));return e.onMounted(()=>{t.animated&&i.value?(r=new IntersectionObserver(f=>{f.forEach(p=>{p.isIntersecting&&!o.value&&(d(0,t.value),o.value=!0)})},{threshold:.1}),r.observe(i.value)):n.value=t.value}),e.onUnmounted(()=>{l.value&&cancelAnimationFrame(l.value),r&&r.disconnect()}),e.watch(()=>t.value,f=>{t.animated&&o.value?d(n.value,f):t.animated||(n.value=f)}),(f,p)=>(e.openBlock(),e.createElementBlock("span",{ref_key:"elementRef",ref:i,class:e.normalizeClass(["currency-display",`currency-display--${a.size}`,{"currency-display--positive":a.colorize&&a.value>0,"currency-display--negative":a.colorize&&a.value<0,"currency-display--neutral":a.colorize&&a.value===0}]),"data-testid":"currency-display"},e.toDisplayString(h.value),3))}}),L=x(nt,[["__scopeId","data-v-e385c289"]]),lt=["aria-orientation"],ot=e.defineComponent({__name:"Divider",props:{orientation:{default:"horizontal"},spacing:{default:"md"}},setup(a){return(t,n)=>(e.openBlock(),e.createElementBlock("hr",{class:e.normalizeClass(["divider",`divider--${a.orientation}`,`divider--spacing-${a.spacing}`]),role:"separator","aria-orientation":a.orientation},null,10,lt))}}),rt=x(ot,[["__scopeId","data-v-50f6835c"]]);function W(a){let t=a[0],n=a[1],l=a[2];return Math.sqrt(t*t+n*n+l*l)}function ae(a,t){return a[0]=t[0],a[1]=t[1],a[2]=t[2],a}function it(a,t,n,l){return a[0]=t,a[1]=n,a[2]=l,a}function re(a,t,n){return a[0]=t[0]+n[0],a[1]=t[1]+n[1],a[2]=t[2]+n[2],a}function ie(a,t,n){return a[0]=t[0]-n[0],a[1]=t[1]-n[1],a[2]=t[2]-n[2],a}function st(a,t,n){return a[0]=t[0]*n[0],a[1]=t[1]*n[1],a[2]=t[2]*n[2],a}function ct(a,t,n){return a[0]=t[0]/n[0],a[1]=t[1]/n[1],a[2]=t[2]/n[2],a}function Q(a,t,n){return a[0]=t[0]*n,a[1]=t[1]*n,a[2]=t[2]*n,a}function dt(a,t){let n=t[0]-a[0],l=t[1]-a[1],o=t[2]-a[2];return Math.sqrt(n*n+l*l+o*o)}function ut(a,t){let n=t[0]-a[0],l=t[1]-a[1],o=t[2]-a[2];return n*n+l*l+o*o}function se(a){let t=a[0],n=a[1],l=a[2];return t*t+n*n+l*l}function mt(a,t){return a[0]=-t[0],a[1]=-t[1],a[2]=-t[2],a}function ht(a,t){return a[0]=1/t[0],a[1]=1/t[1],a[2]=1/t[2],a}function ne(a,t){let n=t[0],l=t[1],o=t[2],i=n*n+l*l+o*o;return i>0&&(i=1/Math.sqrt(i)),a[0]=t[0]*i,a[1]=t[1]*i,a[2]=t[2]*i,a}function Ce(a,t){return a[0]*t[0]+a[1]*t[1]+a[2]*t[2]}function ce(a,t,n){let l=t[0],o=t[1],i=t[2],r=n[0],s=n[1],c=n[2];return a[0]=o*c-i*s,a[1]=i*r-l*c,a[2]=l*s-o*r,a}function ft(a,t,n,l){let o=t[0],i=t[1],r=t[2];return a[0]=o+l*(n[0]-o),a[1]=i+l*(n[1]-i),a[2]=r+l*(n[2]-r),a}function pt(a,t,n,l,o){const i=Math.exp(-l*o);let r=t[0],s=t[1],c=t[2];return a[0]=n[0]+(r-n[0])*i,a[1]=n[1]+(s-n[1])*i,a[2]=n[2]+(c-n[2])*i,a}function vt(a,t,n){let l=t[0],o=t[1],i=t[2],r=n[3]*l+n[7]*o+n[11]*i+n[15];return r=r||1,a[0]=(n[0]*l+n[4]*o+n[8]*i+n[12])/r,a[1]=(n[1]*l+n[5]*o+n[9]*i+n[13])/r,a[2]=(n[2]*l+n[6]*o+n[10]*i+n[14])/r,a}function gt(a,t,n){let l=t[0],o=t[1],i=t[2],r=n[3]*l+n[7]*o+n[11]*i+n[15];return r=r||1,a[0]=(n[0]*l+n[4]*o+n[8]*i)/r,a[1]=(n[1]*l+n[5]*o+n[9]*i)/r,a[2]=(n[2]*l+n[6]*o+n[10]*i)/r,a}function _t(a,t,n){let l=t[0],o=t[1],i=t[2];return a[0]=l*n[0]+o*n[3]+i*n[6],a[1]=l*n[1]+o*n[4]+i*n[7],a[2]=l*n[2]+o*n[5]+i*n[8],a}function kt(a,t,n){let l=t[0],o=t[1],i=t[2],r=n[0],s=n[1],c=n[2],d=n[3],h=s*i-c*o,f=c*l-r*i,p=r*o-s*l,g=s*p-c*f,_=c*h-r*p,m=r*f-s*h,u=d*2;return h*=u,f*=u,p*=u,g*=2,_*=2,m*=2,a[0]=l+h+g,a[1]=o+f+_,a[2]=i+p+m,a}const Vt=(function(){const a=[0,0,0],t=[0,0,0];return function(n,l){ae(a,n),ae(t,l),ne(a,a),ne(t,t);let o=Ce(a,t);return o>1?0:o<-1?Math.PI:Math.acos(o)}})();function wt(a,t){return a[0]===t[0]&&a[1]===t[1]&&a[2]===t[2]}class P extends Array{constructor(t=0,n=t,l=t){return super(t,n,l),this}get x(){return this[0]}get y(){return this[1]}get z(){return this[2]}set x(t){this[0]=t}set y(t){this[1]=t}set z(t){this[2]=t}set(t,n=t,l=t){return t.length?this.copy(t):(it(this,t,n,l),this)}copy(t){return ae(this,t),this}add(t,n){return n?re(this,t,n):re(this,this,t),this}sub(t,n){return n?ie(this,t,n):ie(this,this,t),this}multiply(t){return t.length?st(this,this,t):Q(this,this,t),this}divide(t){return t.length?ct(this,this,t):Q(this,this,1/t),this}inverse(t=this){return ht(this,t),this}len(){return W(this)}distance(t){return t?dt(this,t):W(this)}squaredLen(){return se(this)}squaredDistance(t){return t?ut(this,t):se(this)}negate(t=this){return mt(this,t),this}cross(t,n){return n?ce(this,t,n):ce(this,this,t),this}scale(t){return Q(this,this,t),this}normalize(){return ne(this,this),this}dot(t){return Ce(this,t)}equals(t){return wt(this,t)}applyMatrix3(t){return _t(this,this,t),this}applyMatrix4(t){return vt(this,this,t),this}scaleRotateMatrix4(t){return gt(this,this,t),this}applyQuaternion(t){return kt(this,this,t),this}angle(t){return Vt(this,t)}lerp(t,n){return ft(this,this,t,n),this}smoothLerp(t,n,l){return pt(this,this,t,n,l),this}clone(){return new P(this[0],this[1],this[2])}fromArray(t,n=0){return this[0]=t[n],this[1]=t[n+1],this[2]=t[n+2],this}toArray(t=[],n=0){return t[n]=this[0],t[n+1]=this[1],t[n+2]=this[2],t}transformDirection(t){const n=this[0],l=this[1],o=this[2];return this[0]=t[0]*n+t[4]*l+t[8]*o,this[1]=t[1]*n+t[5]*l+t[9]*o,this[2]=t[2]*n+t[6]*l+t[10]*o,this.normalize()}}const de=new P;let bt=1,Et=1,ue=!1;class yt{constructor(t,n={}){t.canvas||console.error("gl not passed as first argument to Geometry"),this.gl=t,this.attributes=n,this.id=bt++,this.VAOs={},this.drawRange={start:0,count:0},this.instancedCount=0,this.gl.renderer.bindVertexArray(null),this.gl.renderer.currentGeometry=null,this.glState=this.gl.renderer.state;for(let l in n)this.addAttribute(l,n[l])}addAttribute(t,n){if(this.attributes[t]=n,n.id=Et++,n.size=n.size||1,n.type=n.type||(n.data.constructor===Float32Array?this.gl.FLOAT:n.data.constructor===Uint16Array?this.gl.UNSIGNED_SHORT:this.gl.UNSIGNED_INT),n.target=t==="index"?this.gl.ELEMENT_ARRAY_BUFFER:this.gl.ARRAY_BUFFER,n.normalized=n.normalized||!1,n.stride=n.stride||0,n.offset=n.offset||0,n.count=n.count||(n.stride?n.data.byteLength/n.stride:n.data.length/n.size),n.divisor=n.instanced||0,n.needsUpdate=!1,n.usage=n.usage||this.gl.STATIC_DRAW,n.buffer||this.updateAttribute(n),n.divisor){if(this.isInstanced=!0,this.instancedCount&&this.instancedCount!==n.count*n.divisor)return console.warn("geometry has multiple instanced buffers of different length"),this.instancedCount=Math.min(this.instancedCount,n.count*n.divisor);this.instancedCount=n.count*n.divisor}else t==="index"?this.drawRange.count=n.count:this.attributes.index||(this.drawRange.count=Math.max(this.drawRange.count,n.count))}updateAttribute(t){const n=!t.buffer;n&&(t.buffer=this.gl.createBuffer()),this.glState.boundBuffer!==t.buffer&&(this.gl.bindBuffer(t.target,t.buffer),this.glState.boundBuffer=t.buffer),n?this.gl.bufferData(t.target,t.data,t.usage):this.gl.bufferSubData(t.target,0,t.data),t.needsUpdate=!1}setIndex(t){this.addAttribute("index",t)}setDrawRange(t,n){this.drawRange.start=t,this.drawRange.count=n}setInstancedCount(t){this.instancedCount=t}createVAO(t){this.VAOs[t.attributeOrder]=this.gl.renderer.createVertexArray(),this.gl.renderer.bindVertexArray(this.VAOs[t.attributeOrder]),this.bindAttributes(t)}bindAttributes(t){t.attributeLocations.forEach((n,{name:l,type:o})=>{if(!this.attributes[l]){console.warn(`active attribute ${l} not being supplied`);return}const i=this.attributes[l];this.gl.bindBuffer(i.target,i.buffer),this.glState.boundBuffer=i.buffer;let r=1;o===35674&&(r=2),o===35675&&(r=3),o===35676&&(r=4);const s=i.size/r,c=r===1?0:r*r*4,d=r===1?0:r*4;for(let h=0;h<r;h++)this.gl.vertexAttribPointer(n+h,s,i.type,i.normalized,i.stride+c,i.offset+h*d),this.gl.enableVertexAttribArray(n+h),this.gl.renderer.vertexAttribDivisor(n+h,i.divisor)}),this.attributes.index&&this.gl.bindBuffer(this.gl.ELEMENT_ARRAY_BUFFER,this.attributes.index.buffer)}draw({program:t,mode:n=this.gl.TRIANGLES}){this.gl.renderer.currentGeometry!==`${this.id}_${t.attributeOrder}`&&(this.VAOs[t.attributeOrder]||this.createVAO(t),this.gl.renderer.bindVertexArray(this.VAOs[t.attributeOrder]),this.gl.renderer.currentGeometry=`${this.id}_${t.attributeOrder}`),t.attributeLocations.forEach((o,{name:i})=>{const r=this.attributes[i];r.needsUpdate&&this.updateAttribute(r)});let l=2;this.attributes.index?.type===this.gl.UNSIGNED_INT&&(l=4),this.isInstanced?this.attributes.index?this.gl.renderer.drawElementsInstanced(n,this.drawRange.count,this.attributes.index.type,this.attributes.index.offset+this.drawRange.start*l,this.instancedCount):this.gl.renderer.drawArraysInstanced(n,this.drawRange.start,this.drawRange.count,this.instancedCount):this.attributes.index?this.gl.drawElements(n,this.drawRange.count,this.attributes.index.type,this.attributes.index.offset+this.drawRange.start*l):this.gl.drawArrays(n,this.drawRange.start,this.drawRange.count)}getPosition(){const t=this.attributes.position;if(t.data)return t;if(!ue)return console.warn("No position buffer data found to compute bounds"),ue=!0}computeBoundingBox(t){t||(t=this.getPosition());const n=t.data,l=t.size;this.bounds||(this.bounds={min:new P,max:new P,center:new P,scale:new P,radius:1/0});const o=this.bounds.min,i=this.bounds.max,r=this.bounds.center,s=this.bounds.scale;o.set(1/0),i.set(-1/0);for(let c=0,d=n.length;c<d;c+=l){const h=n[c],f=n[c+1],p=n[c+2];o.x=Math.min(h,o.x),o.y=Math.min(f,o.y),o.z=Math.min(p,o.z),i.x=Math.max(h,i.x),i.y=Math.max(f,i.y),i.z=Math.max(p,i.z)}s.sub(i,o),r.add(o,i).divide(2)}computeBoundingSphere(t){t||(t=this.getPosition());const n=t.data,l=t.size;this.bounds||this.computeBoundingBox(t);let o=0;for(let i=0,r=n.length;i<r;i+=l)de.fromArray(n,i),o=Math.max(o,this.bounds.center.squaredDistance(de));this.bounds.radius=Math.sqrt(o)}remove(){for(let t in this.VAOs)this.gl.renderer.deleteVertexArray(this.VAOs[t]),delete this.VAOs[t];for(let t in this.attributes)this.gl.deleteBuffer(this.attributes[t].buffer),delete this.attributes[t]}}let Nt=1;const me={};class xt{constructor(t,{vertex:n,fragment:l,uniforms:o={},transparent:i=!1,cullFace:r=t.BACK,frontFace:s=t.CCW,depthTest:c=!0,depthWrite:d=!0,depthFunc:h=t.LEQUAL}={}){t.canvas||console.error("gl not passed as first argument to Program"),this.gl=t,this.uniforms=o,this.id=Nt++,n||console.warn("vertex shader not supplied"),l||console.warn("fragment shader not supplied"),this.transparent=i,this.cullFace=r,this.frontFace=s,this.depthTest=c,this.depthWrite=d,this.depthFunc=h,this.blendFunc={},this.blendEquation={},this.stencilFunc={},this.stencilOp={},this.transparent&&!this.blendFunc.src&&(this.gl.renderer.premultipliedAlpha?this.setBlendFunc(this.gl.ONE,this.gl.ONE_MINUS_SRC_ALPHA):this.setBlendFunc(this.gl.SRC_ALPHA,this.gl.ONE_MINUS_SRC_ALPHA)),this.vertexShader=t.createShader(t.VERTEX_SHADER),this.fragmentShader=t.createShader(t.FRAGMENT_SHADER),this.program=t.createProgram(),t.attachShader(this.program,this.vertexShader),t.attachShader(this.program,this.fragmentShader),this.setShaders({vertex:n,fragment:l})}setShaders({vertex:t,fragment:n}){if(t&&(this.gl.shaderSource(this.vertexShader,t),this.gl.compileShader(this.vertexShader),this.gl.getShaderInfoLog(this.vertexShader)!==""&&console.warn(`${this.gl.getShaderInfoLog(this.vertexShader)}
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),P=require("./themes.cjs.js"),Ze=["aria-label"],Re=["src","alt"],qe={key:1,class:"avatar__initials"},Oe=e.defineComponent({__name:"Avatar",props:{src:{},name:{},size:{default:"md"}},emits:["click"],setup(a,{emit:t}){const n=a,l=t,o=e.ref(!1),i=e.computed(()=>{if(!n.name||n.name.trim()==="")return"";const d=n.name.trim().split(/\s+/);if(d.length===1)return d[0].charAt(0).toUpperCase();const h=d[0].charAt(0).toUpperCase(),f=d[d.length-1].charAt(0).toUpperCase();return`${h}${f}`}),r=e.computed(()=>n.src&&!o.value),s=()=>{o.value=!0},c=()=>{l("click")};return(d,h)=>(e.openBlock(),e.createElementBlock("button",{type:"button",role:"button","aria-label":`Avatar de ${a.name}`,class:e.normalizeClass(["avatar",`avatar--${a.size}`]),onClick:c},[r.value?(e.openBlock(),e.createElementBlock("img",{key:0,src:a.src,alt:`Foto de ${a.name}`,loading:"lazy",class:"avatar__image",onError:s},null,40,Re)):(e.openBlock(),e.createElementBlock("span",qe,e.toDisplayString(i.value),1))],10,Ze))}}),x=(a,t)=>{const n=a.__vccOpts||a;for(const[l,o]of t)n[l]=o;return n},H=x(Oe,[["__scopeId","data-v-64758d8e"]]),Ue=["role","tabindex"],je={key:0},He=["aria-label"],Ge=e.defineComponent({__name:"Badge",props:{variant:{default:"neutral"},size:{default:"md"},label:{default:""},dismissible:{type:Boolean,default:!1},dot:{type:Boolean,default:!1}},emits:["dismiss"],setup(a,{emit:t}){const n=a,l=t,o=e.computed(()=>n.dismissible?"button":"status"),i=e.computed(()=>{if(n.dot&&n.label)return n.label});function r(){l("dismiss")}function s(c){n.dismissible&&(c.key==="Enter"||c.key===" ")&&(c.preventDefault(),r())}return(c,d)=>a.dot?(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(["badge-dot",`badge-dot--${a.variant}`,`badge-dot--${a.size}`]),role:"status","aria-label":i.value},null,10,He)):(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["badge",`badge--${a.variant}`,`badge--${a.size}`]),role:o.value,tabindex:a.dismissible?0:void 0,onKeydown:s},[e.renderSlot(c.$slots,"leading-icon",{},void 0,!0),a.label?(e.openBlock(),e.createElementBlock("span",je,e.toDisplayString(a.label),1)):e.createCommentVNode("",!0),e.renderSlot(c.$slots,"trailing-icon",{},void 0,!0),a.dismissible?(e.openBlock(),e.createElementBlock("button",{key:1,type:"button",class:"badge__dismiss","aria-label":"Remover",onClick:e.withModifiers(r,["stop"])},[...d[0]||(d[0]=[e.createElementVNode("svg",{class:"badge__dismiss-icon",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"})],-1)])])):e.createCommentVNode("",!0)],42,Ue))}}),K=x(Ge,[["__scopeId","data-v-129b6666"]]),We=["disabled","aria-disabled","aria-busy"],Qe={key:0,class:"btn__spinner","aria-hidden":"true"},Ye=e.defineComponent({__name:"Button",props:{variant:{default:"primary"},size:{default:"md"},rounded:{default:"md"},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},block:{type:Boolean,default:!1}},emits:["click"],setup(a,{emit:t}){const n=a,l=t,o=e.computed(()=>{const d=["btn",`btn--${n.variant}`,`btn--${n.size}`,`btn--rounded-${n.rounded}`];return n.block&&d.push("btn--block"),(n.disabled||n.loading)&&d.push("btn--disabled"),d.join(" ")}),i=e.computed(()=>n.disabled||n.loading),r=e.computed(()=>n.loading);function s(d){if(n.disabled||n.loading){d.preventDefault(),d.stopPropagation();return}l("click",d)}function c(d){(d.key==="Enter"||d.key===" ")&&(d.preventDefault(),!n.disabled&&!n.loading&&l("click",d))}return(d,h)=>(e.openBlock(),e.createElementBlock("button",{class:e.normalizeClass(o.value),disabled:i.value,"aria-disabled":i.value,"aria-busy":r.value,role:"button",onClick:s,onKeydown:c},[e.renderSlot(d.$slots,"leading-icon",{},void 0,!0),a.loading?(e.openBlock(),e.createElementBlock("span",Qe)):e.createCommentVNode("",!0),e.renderSlot(d.$slots,"default",{},void 0,!0),e.renderSlot(d.$slots,"trailing-icon",{},void 0,!0)],42,We))}}),C=x(Ye,[["__scopeId","data-v-754b9160"]]),Ke=["role","tabindex"],Je=e.defineComponent({__name:"Card",props:{variant:{default:"default"},padding:{default:"md"},clickable:{type:Boolean,default:!1}},emits:["click"],setup(a,{emit:t}){const n=a,l=t;function o(r){n.clickable&&l("click",r)}function i(r){n.clickable&&(r.key==="Enter"||r.key===" ")&&(r.preventDefault(),l("click",r))}return(r,s)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["card",`card--${a.variant}`,`card--padding-${a.padding}`,{"card--clickable":a.clickable}]),role:a.clickable?"button":void 0,tabindex:a.clickable?0:void 0,onClick:o,onKeydown:i},[e.renderSlot(r.$slots,"default",{},void 0,!0)],42,Ke))}}),I=x(Je,[["__scopeId","data-v-9b9aaab2"]]),Xe=["id","name","checked","disabled","aria-checked","aria-required","aria-disabled","aria-label"],et=["for"],tt={key:0,class:"checkbox-label__required","aria-label":"obrigatório"},at=e.defineComponent({__name:"Checkbox",props:{modelValue:{type:Boolean,default:!1},label:{},required:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},id:{},name:{},ariaLabel:{}},emits:["update:modelValue","change"],setup(a,{emit:t}){const n=a,l=t,o=e.computed(()=>n.id||`checkbox-${Math.random().toString(36).substr(2,9)}`);function i(s){if(n.disabled){s.preventDefault();return}const d=s.target.checked;l("update:modelValue",d),l("change",s)}function r(s){if((s.key===" "||s.key==="Enter")&&(s.preventDefault(),!n.disabled)){const c=!n.modelValue;l("update:modelValue",c);const d=new Event("change",{bubbles:!0});l("change",d)}}return(s,c)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["checkbox-wrapper",{"checkbox-wrapper--disabled":a.disabled}])},[e.createElementVNode("input",{id:o.value,name:a.name,type:"checkbox",checked:a.modelValue,disabled:a.disabled,class:e.normalizeClass(["checkbox",{"checkbox--checked":a.modelValue}]),"aria-checked":a.modelValue,"aria-required":a.required,"aria-disabled":a.disabled,"aria-label":a.ariaLabel||a.label||void 0,role:"checkbox",onChange:i,onKeydown:r},null,42,Xe),a.label?(e.openBlock(),e.createElementBlock("label",{key:0,for:o.value,class:e.normalizeClass(["checkbox-label",{"checkbox-label--disabled":a.disabled}])},[e.createTextVNode(e.toDisplayString(a.label)+" ",1),a.required?(e.openBlock(),e.createElementBlock("span",tt,"*")):e.createCommentVNode("",!0)],10,et)):e.createCommentVNode("",!0)],2))}}),Be=x(at,[["__scopeId","data-v-e10f299a"]]),nt=e.defineComponent({__name:"CurrencyDisplay",props:{value:{},animated:{type:Boolean,default:!1},duration:{default:1e3},size:{default:"md"},colorize:{type:Boolean,default:!1}},setup(a){const t=a,n=e.ref(t.animated?0:t.value),l=e.ref(null),o=e.ref(!1),i=e.ref(null);let r=null;function s(f){const p=f/100;return new Intl.NumberFormat("pt-BR",{style:"currency",currency:"BRL"}).format(p)}function c(f){return f===1?1:1-Math.pow(2,-10*f)}function d(f=0,p=t.value){l.value&&cancelAnimationFrame(l.value);const g=performance.now(),_=t.duration;function m(u){const v=u-g,V=Math.min(v/_,1),b=c(V);n.value=Math.round(f+(p-f)*b),V<1?l.value=requestAnimationFrame(m):(n.value=p,l.value=null)}l.value=requestAnimationFrame(m)}const h=e.computed(()=>s(n.value));return e.onMounted(()=>{t.animated&&i.value?(r=new IntersectionObserver(f=>{f.forEach(p=>{p.isIntersecting&&!o.value&&(d(0,t.value),o.value=!0)})},{threshold:.1}),r.observe(i.value)):n.value=t.value}),e.onUnmounted(()=>{l.value&&cancelAnimationFrame(l.value),r&&r.disconnect()}),e.watch(()=>t.value,f=>{t.animated&&o.value?d(n.value,f):t.animated||(n.value=f)}),(f,p)=>(e.openBlock(),e.createElementBlock("span",{ref_key:"elementRef",ref:i,class:e.normalizeClass(["currency-display",`currency-display--${a.size}`,{"currency-display--positive":a.colorize&&a.value>0,"currency-display--negative":a.colorize&&a.value<0,"currency-display--neutral":a.colorize&&a.value===0}]),"data-testid":"currency-display"},e.toDisplayString(h.value),3))}}),L=x(nt,[["__scopeId","data-v-e385c289"]]),lt=["aria-orientation"],ot=e.defineComponent({__name:"Divider",props:{orientation:{default:"horizontal"},spacing:{default:"md"}},setup(a){return(t,n)=>(e.openBlock(),e.createElementBlock("hr",{class:e.normalizeClass(["divider",`divider--${a.orientation}`,`divider--spacing-${a.spacing}`]),role:"separator","aria-orientation":a.orientation},null,10,lt))}}),rt=x(ot,[["__scopeId","data-v-50f6835c"]]);function W(a){let t=a[0],n=a[1],l=a[2];return Math.sqrt(t*t+n*n+l*l)}function ae(a,t){return a[0]=t[0],a[1]=t[1],a[2]=t[2],a}function it(a,t,n,l){return a[0]=t,a[1]=n,a[2]=l,a}function re(a,t,n){return a[0]=t[0]+n[0],a[1]=t[1]+n[1],a[2]=t[2]+n[2],a}function ie(a,t,n){return a[0]=t[0]-n[0],a[1]=t[1]-n[1],a[2]=t[2]-n[2],a}function st(a,t,n){return a[0]=t[0]*n[0],a[1]=t[1]*n[1],a[2]=t[2]*n[2],a}function ct(a,t,n){return a[0]=t[0]/n[0],a[1]=t[1]/n[1],a[2]=t[2]/n[2],a}function J(a,t,n){return a[0]=t[0]*n,a[1]=t[1]*n,a[2]=t[2]*n,a}function dt(a,t){let n=t[0]-a[0],l=t[1]-a[1],o=t[2]-a[2];return Math.sqrt(n*n+l*l+o*o)}function ut(a,t){let n=t[0]-a[0],l=t[1]-a[1],o=t[2]-a[2];return n*n+l*l+o*o}function se(a){let t=a[0],n=a[1],l=a[2];return t*t+n*n+l*l}function mt(a,t){return a[0]=-t[0],a[1]=-t[1],a[2]=-t[2],a}function ht(a,t){return a[0]=1/t[0],a[1]=1/t[1],a[2]=1/t[2],a}function ne(a,t){let n=t[0],l=t[1],o=t[2],i=n*n+l*l+o*o;return i>0&&(i=1/Math.sqrt(i)),a[0]=t[0]*i,a[1]=t[1]*i,a[2]=t[2]*i,a}function Ce(a,t){return a[0]*t[0]+a[1]*t[1]+a[2]*t[2]}function ce(a,t,n){let l=t[0],o=t[1],i=t[2],r=n[0],s=n[1],c=n[2];return a[0]=o*c-i*s,a[1]=i*r-l*c,a[2]=l*s-o*r,a}function ft(a,t,n,l){let o=t[0],i=t[1],r=t[2];return a[0]=o+l*(n[0]-o),a[1]=i+l*(n[1]-i),a[2]=r+l*(n[2]-r),a}function pt(a,t,n,l,o){const i=Math.exp(-l*o);let r=t[0],s=t[1],c=t[2];return a[0]=n[0]+(r-n[0])*i,a[1]=n[1]+(s-n[1])*i,a[2]=n[2]+(c-n[2])*i,a}function vt(a,t,n){let l=t[0],o=t[1],i=t[2],r=n[3]*l+n[7]*o+n[11]*i+n[15];return r=r||1,a[0]=(n[0]*l+n[4]*o+n[8]*i+n[12])/r,a[1]=(n[1]*l+n[5]*o+n[9]*i+n[13])/r,a[2]=(n[2]*l+n[6]*o+n[10]*i+n[14])/r,a}function gt(a,t,n){let l=t[0],o=t[1],i=t[2],r=n[3]*l+n[7]*o+n[11]*i+n[15];return r=r||1,a[0]=(n[0]*l+n[4]*o+n[8]*i)/r,a[1]=(n[1]*l+n[5]*o+n[9]*i)/r,a[2]=(n[2]*l+n[6]*o+n[10]*i)/r,a}function _t(a,t,n){let l=t[0],o=t[1],i=t[2];return a[0]=l*n[0]+o*n[3]+i*n[6],a[1]=l*n[1]+o*n[4]+i*n[7],a[2]=l*n[2]+o*n[5]+i*n[8],a}function kt(a,t,n){let l=t[0],o=t[1],i=t[2],r=n[0],s=n[1],c=n[2],d=n[3],h=s*i-c*o,f=c*l-r*i,p=r*o-s*l,g=s*p-c*f,_=c*h-r*p,m=r*f-s*h,u=d*2;return h*=u,f*=u,p*=u,g*=2,_*=2,m*=2,a[0]=l+h+g,a[1]=o+f+_,a[2]=i+p+m,a}const Vt=(function(){const a=[0,0,0],t=[0,0,0];return function(n,l){ae(a,n),ae(t,l),ne(a,a),ne(t,t);let o=Ce(a,t);return o>1?0:o<-1?Math.PI:Math.acos(o)}})();function wt(a,t){return a[0]===t[0]&&a[1]===t[1]&&a[2]===t[2]}class F extends Array{constructor(t=0,n=t,l=t){return super(t,n,l),this}get x(){return this[0]}get y(){return this[1]}get z(){return this[2]}set x(t){this[0]=t}set y(t){this[1]=t}set z(t){this[2]=t}set(t,n=t,l=t){return t.length?this.copy(t):(it(this,t,n,l),this)}copy(t){return ae(this,t),this}add(t,n){return n?re(this,t,n):re(this,this,t),this}sub(t,n){return n?ie(this,t,n):ie(this,this,t),this}multiply(t){return t.length?st(this,this,t):J(this,this,t),this}divide(t){return t.length?ct(this,this,t):J(this,this,1/t),this}inverse(t=this){return ht(this,t),this}len(){return W(this)}distance(t){return t?dt(this,t):W(this)}squaredLen(){return se(this)}squaredDistance(t){return t?ut(this,t):se(this)}negate(t=this){return mt(this,t),this}cross(t,n){return n?ce(this,t,n):ce(this,this,t),this}scale(t){return J(this,this,t),this}normalize(){return ne(this,this),this}dot(t){return Ce(this,t)}equals(t){return wt(this,t)}applyMatrix3(t){return _t(this,this,t),this}applyMatrix4(t){return vt(this,this,t),this}scaleRotateMatrix4(t){return gt(this,this,t),this}applyQuaternion(t){return kt(this,this,t),this}angle(t){return Vt(this,t)}lerp(t,n){return ft(this,this,t,n),this}smoothLerp(t,n,l){return pt(this,this,t,n,l),this}clone(){return new F(this[0],this[1],this[2])}fromArray(t,n=0){return this[0]=t[n],this[1]=t[n+1],this[2]=t[n+2],this}toArray(t=[],n=0){return t[n]=this[0],t[n+1]=this[1],t[n+2]=this[2],t}transformDirection(t){const n=this[0],l=this[1],o=this[2];return this[0]=t[0]*n+t[4]*l+t[8]*o,this[1]=t[1]*n+t[5]*l+t[9]*o,this[2]=t[2]*n+t[6]*l+t[10]*o,this.normalize()}}const de=new F;let bt=1,Et=1,ue=!1;class yt{constructor(t,n={}){t.canvas||console.error("gl not passed as first argument to Geometry"),this.gl=t,this.attributes=n,this.id=bt++,this.VAOs={},this.drawRange={start:0,count:0},this.instancedCount=0,this.gl.renderer.bindVertexArray(null),this.gl.renderer.currentGeometry=null,this.glState=this.gl.renderer.state;for(let l in n)this.addAttribute(l,n[l])}addAttribute(t,n){if(this.attributes[t]=n,n.id=Et++,n.size=n.size||1,n.type=n.type||(n.data.constructor===Float32Array?this.gl.FLOAT:n.data.constructor===Uint16Array?this.gl.UNSIGNED_SHORT:this.gl.UNSIGNED_INT),n.target=t==="index"?this.gl.ELEMENT_ARRAY_BUFFER:this.gl.ARRAY_BUFFER,n.normalized=n.normalized||!1,n.stride=n.stride||0,n.offset=n.offset||0,n.count=n.count||(n.stride?n.data.byteLength/n.stride:n.data.length/n.size),n.divisor=n.instanced||0,n.needsUpdate=!1,n.usage=n.usage||this.gl.STATIC_DRAW,n.buffer||this.updateAttribute(n),n.divisor){if(this.isInstanced=!0,this.instancedCount&&this.instancedCount!==n.count*n.divisor)return console.warn("geometry has multiple instanced buffers of different length"),this.instancedCount=Math.min(this.instancedCount,n.count*n.divisor);this.instancedCount=n.count*n.divisor}else t==="index"?this.drawRange.count=n.count:this.attributes.index||(this.drawRange.count=Math.max(this.drawRange.count,n.count))}updateAttribute(t){const n=!t.buffer;n&&(t.buffer=this.gl.createBuffer()),this.glState.boundBuffer!==t.buffer&&(this.gl.bindBuffer(t.target,t.buffer),this.glState.boundBuffer=t.buffer),n?this.gl.bufferData(t.target,t.data,t.usage):this.gl.bufferSubData(t.target,0,t.data),t.needsUpdate=!1}setIndex(t){this.addAttribute("index",t)}setDrawRange(t,n){this.drawRange.start=t,this.drawRange.count=n}setInstancedCount(t){this.instancedCount=t}createVAO(t){this.VAOs[t.attributeOrder]=this.gl.renderer.createVertexArray(),this.gl.renderer.bindVertexArray(this.VAOs[t.attributeOrder]),this.bindAttributes(t)}bindAttributes(t){t.attributeLocations.forEach((n,{name:l,type:o})=>{if(!this.attributes[l]){console.warn(`active attribute ${l} not being supplied`);return}const i=this.attributes[l];this.gl.bindBuffer(i.target,i.buffer),this.glState.boundBuffer=i.buffer;let r=1;o===35674&&(r=2),o===35675&&(r=3),o===35676&&(r=4);const s=i.size/r,c=r===1?0:r*r*4,d=r===1?0:r*4;for(let h=0;h<r;h++)this.gl.vertexAttribPointer(n+h,s,i.type,i.normalized,i.stride+c,i.offset+h*d),this.gl.enableVertexAttribArray(n+h),this.gl.renderer.vertexAttribDivisor(n+h,i.divisor)}),this.attributes.index&&this.gl.bindBuffer(this.gl.ELEMENT_ARRAY_BUFFER,this.attributes.index.buffer)}draw({program:t,mode:n=this.gl.TRIANGLES}){this.gl.renderer.currentGeometry!==`${this.id}_${t.attributeOrder}`&&(this.VAOs[t.attributeOrder]||this.createVAO(t),this.gl.renderer.bindVertexArray(this.VAOs[t.attributeOrder]),this.gl.renderer.currentGeometry=`${this.id}_${t.attributeOrder}`),t.attributeLocations.forEach((o,{name:i})=>{const r=this.attributes[i];r.needsUpdate&&this.updateAttribute(r)});let l=2;this.attributes.index?.type===this.gl.UNSIGNED_INT&&(l=4),this.isInstanced?this.attributes.index?this.gl.renderer.drawElementsInstanced(n,this.drawRange.count,this.attributes.index.type,this.attributes.index.offset+this.drawRange.start*l,this.instancedCount):this.gl.renderer.drawArraysInstanced(n,this.drawRange.start,this.drawRange.count,this.instancedCount):this.attributes.index?this.gl.drawElements(n,this.drawRange.count,this.attributes.index.type,this.attributes.index.offset+this.drawRange.start*l):this.gl.drawArrays(n,this.drawRange.start,this.drawRange.count)}getPosition(){const t=this.attributes.position;if(t.data)return t;if(!ue)return console.warn("No position buffer data found to compute bounds"),ue=!0}computeBoundingBox(t){t||(t=this.getPosition());const n=t.data,l=t.size;this.bounds||(this.bounds={min:new F,max:new F,center:new F,scale:new F,radius:1/0});const o=this.bounds.min,i=this.bounds.max,r=this.bounds.center,s=this.bounds.scale;o.set(1/0),i.set(-1/0);for(let c=0,d=n.length;c<d;c+=l){const h=n[c],f=n[c+1],p=n[c+2];o.x=Math.min(h,o.x),o.y=Math.min(f,o.y),o.z=Math.min(p,o.z),i.x=Math.max(h,i.x),i.y=Math.max(f,i.y),i.z=Math.max(p,i.z)}s.sub(i,o),r.add(o,i).divide(2)}computeBoundingSphere(t){t||(t=this.getPosition());const n=t.data,l=t.size;this.bounds||this.computeBoundingBox(t);let o=0;for(let i=0,r=n.length;i<r;i+=l)de.fromArray(n,i),o=Math.max(o,this.bounds.center.squaredDistance(de));this.bounds.radius=Math.sqrt(o)}remove(){for(let t in this.VAOs)this.gl.renderer.deleteVertexArray(this.VAOs[t]),delete this.VAOs[t];for(let t in this.attributes)this.gl.deleteBuffer(this.attributes[t].buffer),delete this.attributes[t]}}let Nt=1;const me={};class xt{constructor(t,{vertex:n,fragment:l,uniforms:o={},transparent:i=!1,cullFace:r=t.BACK,frontFace:s=t.CCW,depthTest:c=!0,depthWrite:d=!0,depthFunc:h=t.LEQUAL}={}){t.canvas||console.error("gl not passed as first argument to Program"),this.gl=t,this.uniforms=o,this.id=Nt++,n||console.warn("vertex shader not supplied"),l||console.warn("fragment shader not supplied"),this.transparent=i,this.cullFace=r,this.frontFace=s,this.depthTest=c,this.depthWrite=d,this.depthFunc=h,this.blendFunc={},this.blendEquation={},this.stencilFunc={},this.stencilOp={},this.transparent&&!this.blendFunc.src&&(this.gl.renderer.premultipliedAlpha?this.setBlendFunc(this.gl.ONE,this.gl.ONE_MINUS_SRC_ALPHA):this.setBlendFunc(this.gl.SRC_ALPHA,this.gl.ONE_MINUS_SRC_ALPHA)),this.vertexShader=t.createShader(t.VERTEX_SHADER),this.fragmentShader=t.createShader(t.FRAGMENT_SHADER),this.program=t.createProgram(),t.attachShader(this.program,this.vertexShader),t.attachShader(this.program,this.fragmentShader),this.setShaders({vertex:n,fragment:l})}setShaders({vertex:t,fragment:n}){if(t&&(this.gl.shaderSource(this.vertexShader,t),this.gl.compileShader(this.vertexShader),this.gl.getShaderInfoLog(this.vertexShader)!==""&&console.warn(`${this.gl.getShaderInfoLog(this.vertexShader)}
2
2
  Vertex Shader
3
3
  ${he(t)}`)),n&&(this.gl.shaderSource(this.fragmentShader,n),this.gl.compileShader(this.fragmentShader),this.gl.getShaderInfoLog(this.fragmentShader)!==""&&console.warn(`${this.gl.getShaderInfoLog(this.fragmentShader)}
4
4
  Fragment Shader
5
- ${he(n)}`)),this.gl.linkProgram(this.program),!this.gl.getProgramParameter(this.program,this.gl.LINK_STATUS))return console.warn(this.gl.getProgramInfoLog(this.program));this.uniformLocations=new Map;let l=this.gl.getProgramParameter(this.program,this.gl.ACTIVE_UNIFORMS);for(let r=0;r<l;r++){let s=this.gl.getActiveUniform(this.program,r);this.uniformLocations.set(s,this.gl.getUniformLocation(this.program,s.name));const c=s.name.match(/(\w+)/g);s.uniformName=c[0],s.nameComponents=c.slice(1)}this.attributeLocations=new Map;const o=[],i=this.gl.getProgramParameter(this.program,this.gl.ACTIVE_ATTRIBUTES);for(let r=0;r<i;r++){const s=this.gl.getActiveAttrib(this.program,r),c=this.gl.getAttribLocation(this.program,s.name);c!==-1&&(o[c]=s.name,this.attributeLocations.set(s,c))}this.attributeOrder=o.join("")}setBlendFunc(t,n,l,o){this.blendFunc.src=t,this.blendFunc.dst=n,this.blendFunc.srcAlpha=l,this.blendFunc.dstAlpha=o,t&&(this.transparent=!0)}setBlendEquation(t,n){this.blendEquation.modeRGB=t,this.blendEquation.modeAlpha=n}setStencilFunc(t,n,l){this.stencilRef=n,this.stencilFunc.func=t,this.stencilFunc.ref=n,this.stencilFunc.mask=l}setStencilOp(t,n,l){this.stencilOp.stencilFail=t,this.stencilOp.depthFail=n,this.stencilOp.depthPass=l}applyState(){this.depthTest?this.gl.renderer.enable(this.gl.DEPTH_TEST):this.gl.renderer.disable(this.gl.DEPTH_TEST),this.cullFace?this.gl.renderer.enable(this.gl.CULL_FACE):this.gl.renderer.disable(this.gl.CULL_FACE),this.blendFunc.src?this.gl.renderer.enable(this.gl.BLEND):this.gl.renderer.disable(this.gl.BLEND),this.cullFace&&this.gl.renderer.setCullFace(this.cullFace),this.gl.renderer.setFrontFace(this.frontFace),this.gl.renderer.setDepthMask(this.depthWrite),this.gl.renderer.setDepthFunc(this.depthFunc),this.blendFunc.src&&this.gl.renderer.setBlendFunc(this.blendFunc.src,this.blendFunc.dst,this.blendFunc.srcAlpha,this.blendFunc.dstAlpha),this.gl.renderer.setBlendEquation(this.blendEquation.modeRGB,this.blendEquation.modeAlpha),this.stencilFunc.func||this.stencilOp.stencilFail?this.gl.renderer.enable(this.gl.STENCIL_TEST):this.gl.renderer.disable(this.gl.STENCIL_TEST),this.gl.renderer.setStencilFunc(this.stencilFunc.func,this.stencilFunc.ref,this.stencilFunc.mask),this.gl.renderer.setStencilOp(this.stencilOp.stencilFail,this.stencilOp.depthFail,this.stencilOp.depthPass)}use({flipFaces:t=!1}={}){let n=-1;this.gl.renderer.state.currentProgram===this.id||(this.gl.useProgram(this.program),this.gl.renderer.state.currentProgram=this.id),this.uniformLocations.forEach((o,i)=>{let r=this.uniforms[i.uniformName];for(const s of i.nameComponents){if(!r)break;if(s in r)r=r[s];else{if(Array.isArray(r.value))break;r=void 0;break}}if(!r)return fe(`Active uniform ${i.name} has not been supplied`);if(r&&r.value===void 0)return fe(`${i.name} uniform is missing a value parameter`);if(r.value.texture)return n=n+1,r.value.update(n),J(this.gl,i.type,o,n);if(r.value.length&&r.value[0].texture){const s=[];return r.value.forEach(c=>{n=n+1,c.update(n),s.push(n)}),J(this.gl,i.type,o,s)}J(this.gl,i.type,o,r.value)}),this.applyState(),t&&this.gl.renderer.setFrontFace(this.frontFace===this.gl.CCW?this.gl.CW:this.gl.CCW)}remove(){this.gl.deleteProgram(this.program)}}function J(a,t,n,l){l=l.length?Bt(l):l;const o=a.renderer.state.uniformLocations.get(n);if(l.length)if(o===void 0||o.length!==l.length)a.renderer.state.uniformLocations.set(n,l.slice(0));else{if(Ct(o,l))return;o.set?o.set(l):$t(o,l),a.renderer.state.uniformLocations.set(n,o)}else{if(o===l)return;a.renderer.state.uniformLocations.set(n,l)}switch(t){case 5126:return l.length?a.uniform1fv(n,l):a.uniform1f(n,l);case 35664:return a.uniform2fv(n,l);case 35665:return a.uniform3fv(n,l);case 35666:return a.uniform4fv(n,l);case 35670:case 5124:case 35678:case 36306:case 35680:case 36289:return l.length?a.uniform1iv(n,l):a.uniform1i(n,l);case 35671:case 35667:return a.uniform2iv(n,l);case 35672:case 35668:return a.uniform3iv(n,l);case 35673:case 35669:return a.uniform4iv(n,l);case 35674:return a.uniformMatrix2fv(n,!1,l);case 35675:return a.uniformMatrix3fv(n,!1,l);case 35676:return a.uniformMatrix4fv(n,!1,l)}}function he(a){let t=a.split(`
5
+ ${he(n)}`)),this.gl.linkProgram(this.program),!this.gl.getProgramParameter(this.program,this.gl.LINK_STATUS))return console.warn(this.gl.getProgramInfoLog(this.program));this.uniformLocations=new Map;let l=this.gl.getProgramParameter(this.program,this.gl.ACTIVE_UNIFORMS);for(let r=0;r<l;r++){let s=this.gl.getActiveUniform(this.program,r);this.uniformLocations.set(s,this.gl.getUniformLocation(this.program,s.name));const c=s.name.match(/(\w+)/g);s.uniformName=c[0],s.nameComponents=c.slice(1)}this.attributeLocations=new Map;const o=[],i=this.gl.getProgramParameter(this.program,this.gl.ACTIVE_ATTRIBUTES);for(let r=0;r<i;r++){const s=this.gl.getActiveAttrib(this.program,r),c=this.gl.getAttribLocation(this.program,s.name);c!==-1&&(o[c]=s.name,this.attributeLocations.set(s,c))}this.attributeOrder=o.join("")}setBlendFunc(t,n,l,o){this.blendFunc.src=t,this.blendFunc.dst=n,this.blendFunc.srcAlpha=l,this.blendFunc.dstAlpha=o,t&&(this.transparent=!0)}setBlendEquation(t,n){this.blendEquation.modeRGB=t,this.blendEquation.modeAlpha=n}setStencilFunc(t,n,l){this.stencilRef=n,this.stencilFunc.func=t,this.stencilFunc.ref=n,this.stencilFunc.mask=l}setStencilOp(t,n,l){this.stencilOp.stencilFail=t,this.stencilOp.depthFail=n,this.stencilOp.depthPass=l}applyState(){this.depthTest?this.gl.renderer.enable(this.gl.DEPTH_TEST):this.gl.renderer.disable(this.gl.DEPTH_TEST),this.cullFace?this.gl.renderer.enable(this.gl.CULL_FACE):this.gl.renderer.disable(this.gl.CULL_FACE),this.blendFunc.src?this.gl.renderer.enable(this.gl.BLEND):this.gl.renderer.disable(this.gl.BLEND),this.cullFace&&this.gl.renderer.setCullFace(this.cullFace),this.gl.renderer.setFrontFace(this.frontFace),this.gl.renderer.setDepthMask(this.depthWrite),this.gl.renderer.setDepthFunc(this.depthFunc),this.blendFunc.src&&this.gl.renderer.setBlendFunc(this.blendFunc.src,this.blendFunc.dst,this.blendFunc.srcAlpha,this.blendFunc.dstAlpha),this.gl.renderer.setBlendEquation(this.blendEquation.modeRGB,this.blendEquation.modeAlpha),this.stencilFunc.func||this.stencilOp.stencilFail?this.gl.renderer.enable(this.gl.STENCIL_TEST):this.gl.renderer.disable(this.gl.STENCIL_TEST),this.gl.renderer.setStencilFunc(this.stencilFunc.func,this.stencilFunc.ref,this.stencilFunc.mask),this.gl.renderer.setStencilOp(this.stencilOp.stencilFail,this.stencilOp.depthFail,this.stencilOp.depthPass)}use({flipFaces:t=!1}={}){let n=-1;this.gl.renderer.state.currentProgram===this.id||(this.gl.useProgram(this.program),this.gl.renderer.state.currentProgram=this.id),this.uniformLocations.forEach((o,i)=>{let r=this.uniforms[i.uniformName];for(const s of i.nameComponents){if(!r)break;if(s in r)r=r[s];else{if(Array.isArray(r.value))break;r=void 0;break}}if(!r)return fe(`Active uniform ${i.name} has not been supplied`);if(r&&r.value===void 0)return fe(`${i.name} uniform is missing a value parameter`);if(r.value.texture)return n=n+1,r.value.update(n),X(this.gl,i.type,o,n);if(r.value.length&&r.value[0].texture){const s=[];return r.value.forEach(c=>{n=n+1,c.update(n),s.push(n)}),X(this.gl,i.type,o,s)}X(this.gl,i.type,o,r.value)}),this.applyState(),t&&this.gl.renderer.setFrontFace(this.frontFace===this.gl.CCW?this.gl.CW:this.gl.CCW)}remove(){this.gl.deleteProgram(this.program)}}function X(a,t,n,l){l=l.length?Bt(l):l;const o=a.renderer.state.uniformLocations.get(n);if(l.length)if(o===void 0||o.length!==l.length)a.renderer.state.uniformLocations.set(n,l.slice(0));else{if(Ct(o,l))return;o.set?o.set(l):$t(o,l),a.renderer.state.uniformLocations.set(n,o)}else{if(o===l)return;a.renderer.state.uniformLocations.set(n,l)}switch(t){case 5126:return l.length?a.uniform1fv(n,l):a.uniform1f(n,l);case 35664:return a.uniform2fv(n,l);case 35665:return a.uniform3fv(n,l);case 35666:return a.uniform4fv(n,l);case 35670:case 5124:case 35678:case 36306:case 35680:case 36289:return l.length?a.uniform1iv(n,l):a.uniform1i(n,l);case 35671:case 35667:return a.uniform2iv(n,l);case 35672:case 35668:return a.uniform3iv(n,l);case 35673:case 35669:return a.uniform4iv(n,l);case 35674:return a.uniformMatrix2fv(n,!1,l);case 35675:return a.uniformMatrix3fv(n,!1,l);case 35676:return a.uniformMatrix4fv(n,!1,l)}}function he(a){let t=a.split(`
6
6
  `);for(let n=0;n<t.length;n++)t[n]=n+1+": "+t[n];return t.join(`
7
- `)}function Bt(a){const t=a.length,n=a[0].length;if(n===void 0)return a;const l=t*n;let o=me[l];o||(me[l]=o=new Float32Array(l));for(let i=0;i<t;i++)o.set(a[i],i*n);return o}function Ct(a,t){if(a.length!==t.length)return!1;for(let n=0,l=a.length;n<l;n++)if(a[n]!==t[n])return!1;return!0}function $t(a,t){for(let n=0,l=a.length;n<l;n++)a[n]=t[n]}let ee=0;function fe(a){ee>100||(console.warn(a),ee++,ee>100&&console.warn("More than 100 program warnings - stopping logs."))}const te=new P;let St=1;class Mt{constructor({canvas:t=document.createElement("canvas"),width:n=300,height:l=150,dpr:o=1,alpha:i=!1,depth:r=!0,stencil:s=!1,antialias:c=!1,premultipliedAlpha:d=!1,preserveDrawingBuffer:h=!1,powerPreference:f="default",autoClear:p=!0,webgl:g=2}={}){const _={alpha:i,depth:r,stencil:s,antialias:c,premultipliedAlpha:d,preserveDrawingBuffer:h,powerPreference:f};this.dpr=o,this.alpha=i,this.color=!0,this.depth=r,this.stencil=s,this.premultipliedAlpha=d,this.autoClear=p,this.id=St++,g===2&&(this.gl=t.getContext("webgl2",_)),this.isWebgl2=!!this.gl,this.gl||(this.gl=t.getContext("webgl",_)),this.gl||console.error("unable to create webgl context"),this.gl.renderer=this,this.setSize(n,l),this.state={},this.state.blendFunc={src:this.gl.ONE,dst:this.gl.ZERO},this.state.blendEquation={modeRGB:this.gl.FUNC_ADD},this.state.cullFace=!1,this.state.frontFace=this.gl.CCW,this.state.depthMask=!0,this.state.depthFunc=this.gl.LEQUAL,this.state.premultiplyAlpha=!1,this.state.flipY=!1,this.state.unpackAlignment=4,this.state.framebuffer=null,this.state.viewport={x:0,y:0,width:null,height:null},this.state.textureUnits=[],this.state.activeTextureUnit=0,this.state.boundBuffer=null,this.state.uniformLocations=new Map,this.state.currentProgram=null,this.extensions={},this.isWebgl2?(this.getExtension("EXT_color_buffer_float"),this.getExtension("OES_texture_float_linear")):(this.getExtension("OES_texture_float"),this.getExtension("OES_texture_float_linear"),this.getExtension("OES_texture_half_float"),this.getExtension("OES_texture_half_float_linear"),this.getExtension("OES_element_index_uint"),this.getExtension("OES_standard_derivatives"),this.getExtension("EXT_sRGB"),this.getExtension("WEBGL_depth_texture"),this.getExtension("WEBGL_draw_buffers")),this.getExtension("WEBGL_compressed_texture_astc"),this.getExtension("EXT_texture_compression_bptc"),this.getExtension("WEBGL_compressed_texture_s3tc"),this.getExtension("WEBGL_compressed_texture_etc1"),this.getExtension("WEBGL_compressed_texture_pvrtc"),this.getExtension("WEBKIT_WEBGL_compressed_texture_pvrtc"),this.vertexAttribDivisor=this.getExtension("ANGLE_instanced_arrays","vertexAttribDivisor","vertexAttribDivisorANGLE"),this.drawArraysInstanced=this.getExtension("ANGLE_instanced_arrays","drawArraysInstanced","drawArraysInstancedANGLE"),this.drawElementsInstanced=this.getExtension("ANGLE_instanced_arrays","drawElementsInstanced","drawElementsInstancedANGLE"),this.createVertexArray=this.getExtension("OES_vertex_array_object","createVertexArray","createVertexArrayOES"),this.bindVertexArray=this.getExtension("OES_vertex_array_object","bindVertexArray","bindVertexArrayOES"),this.deleteVertexArray=this.getExtension("OES_vertex_array_object","deleteVertexArray","deleteVertexArrayOES"),this.drawBuffers=this.getExtension("WEBGL_draw_buffers","drawBuffers","drawBuffersWEBGL"),this.parameters={},this.parameters.maxTextureUnits=this.gl.getParameter(this.gl.MAX_COMBINED_TEXTURE_IMAGE_UNITS),this.parameters.maxAnisotropy=this.getExtension("EXT_texture_filter_anisotropic")?this.gl.getParameter(this.getExtension("EXT_texture_filter_anisotropic").MAX_TEXTURE_MAX_ANISOTROPY_EXT):0}setSize(t,n){this.width=t,this.height=n,this.gl.canvas.width=t*this.dpr,this.gl.canvas.height=n*this.dpr,this.gl.canvas.style&&Object.assign(this.gl.canvas.style,{width:t+"px",height:n+"px"})}setViewport(t,n,l=0,o=0){this.state.viewport.width===t&&this.state.viewport.height===n||(this.state.viewport.width=t,this.state.viewport.height=n,this.state.viewport.x=l,this.state.viewport.y=o,this.gl.viewport(l,o,t,n))}setScissor(t,n,l=0,o=0){this.gl.scissor(l,o,t,n)}enable(t){this.state[t]!==!0&&(this.gl.enable(t),this.state[t]=!0)}disable(t){this.state[t]!==!1&&(this.gl.disable(t),this.state[t]=!1)}setBlendFunc(t,n,l,o){this.state.blendFunc.src===t&&this.state.blendFunc.dst===n&&this.state.blendFunc.srcAlpha===l&&this.state.blendFunc.dstAlpha===o||(this.state.blendFunc.src=t,this.state.blendFunc.dst=n,this.state.blendFunc.srcAlpha=l,this.state.blendFunc.dstAlpha=o,l!==void 0?this.gl.blendFuncSeparate(t,n,l,o):this.gl.blendFunc(t,n))}setBlendEquation(t,n){t=t||this.gl.FUNC_ADD,!(this.state.blendEquation.modeRGB===t&&this.state.blendEquation.modeAlpha===n)&&(this.state.blendEquation.modeRGB=t,this.state.blendEquation.modeAlpha=n,n!==void 0?this.gl.blendEquationSeparate(t,n):this.gl.blendEquation(t))}setCullFace(t){this.state.cullFace!==t&&(this.state.cullFace=t,this.gl.cullFace(t))}setFrontFace(t){this.state.frontFace!==t&&(this.state.frontFace=t,this.gl.frontFace(t))}setDepthMask(t){this.state.depthMask!==t&&(this.state.depthMask=t,this.gl.depthMask(t))}setDepthFunc(t){this.state.depthFunc!==t&&(this.state.depthFunc=t,this.gl.depthFunc(t))}setStencilMask(t){this.state.stencilMask!==t&&(this.state.stencilMask=t,this.gl.stencilMask(t))}setStencilFunc(t,n,l){this.state.stencilFunc===t&&this.state.stencilRef===n&&this.state.stencilFuncMask===l||(this.state.stencilFunc=t||this.gl.ALWAYS,this.state.stencilRef=n||0,this.state.stencilFuncMask=l||0,this.gl.stencilFunc(t||this.gl.ALWAYS,n||0,l||0))}setStencilOp(t,n,l){this.state.stencilFail===t&&this.state.stencilDepthFail===n&&this.state.stencilDepthPass===l||(this.state.stencilFail=t,this.state.stencilDepthFail=n,this.state.stencilDepthPass=l,this.gl.stencilOp(t,n,l))}activeTexture(t){this.state.activeTextureUnit!==t&&(this.state.activeTextureUnit=t,this.gl.activeTexture(this.gl.TEXTURE0+t))}bindFramebuffer({target:t=this.gl.FRAMEBUFFER,buffer:n=null}={}){this.state.framebuffer!==n&&(this.state.framebuffer=n,this.gl.bindFramebuffer(t,n))}getExtension(t,n,l){return n&&this.gl[n]?this.gl[n].bind(this.gl):(this.extensions[t]||(this.extensions[t]=this.gl.getExtension(t)),n?this.extensions[t]?this.extensions[t][l].bind(this.extensions[t]):null:this.extensions[t])}sortOpaque(t,n){return t.renderOrder!==n.renderOrder?t.renderOrder-n.renderOrder:t.program.id!==n.program.id?t.program.id-n.program.id:t.zDepth!==n.zDepth?t.zDepth-n.zDepth:n.id-t.id}sortTransparent(t,n){return t.renderOrder!==n.renderOrder?t.renderOrder-n.renderOrder:t.zDepth!==n.zDepth?n.zDepth-t.zDepth:n.id-t.id}sortUI(t,n){return t.renderOrder!==n.renderOrder?t.renderOrder-n.renderOrder:t.program.id!==n.program.id?t.program.id-n.program.id:n.id-t.id}getRenderList({scene:t,camera:n,frustumCull:l,sort:o}){let i=[];if(n&&l&&n.updateFrustum(),t.traverse(r=>{if(!r.visible)return!0;r.draw&&(l&&r.frustumCulled&&n&&!n.frustumIntersectsMesh(r)||i.push(r))}),o){const r=[],s=[],c=[];i.forEach(d=>{d.program.transparent?d.program.depthTest?s.push(d):c.push(d):r.push(d),d.zDepth=0,!(d.renderOrder!==0||!d.program.depthTest||!n)&&(d.worldMatrix.getTranslation(te),te.applyMatrix4(n.projectionViewMatrix),d.zDepth=te.z)}),r.sort(this.sortOpaque),s.sort(this.sortTransparent),c.sort(this.sortUI),i=r.concat(s,c)}return i}render({scene:t,camera:n,target:l=null,update:o=!0,sort:i=!0,frustumCull:r=!0,clear:s}){l===null?(this.bindFramebuffer(),this.setViewport(this.width*this.dpr,this.height*this.dpr)):(this.bindFramebuffer(l),this.setViewport(l.width,l.height)),(s||this.autoClear&&s!==!1)&&(this.depth&&(!l||l.depth)&&(this.enable(this.gl.DEPTH_TEST),this.setDepthMask(!0)),(this.stencil||!l||l.stencil)&&(this.enable(this.gl.STENCIL_TEST),this.setStencilMask(255)),this.gl.clear((this.color?this.gl.COLOR_BUFFER_BIT:0)|(this.depth?this.gl.DEPTH_BUFFER_BIT:0)|(this.stencil?this.gl.STENCIL_BUFFER_BIT:0))),o&&t.updateMatrixWorld(),n&&n.updateMatrixWorld(),this.getRenderList({scene:t,camera:n,frustumCull:r,sort:i}).forEach(d=>{d.draw({camera:n})})}}function Dt(a,t){return a[0]=t[0],a[1]=t[1],a[2]=t[2],a[3]=t[3],a}function zt(a,t,n,l,o){return a[0]=t,a[1]=n,a[2]=l,a[3]=o,a}function At(a,t){let n=t[0],l=t[1],o=t[2],i=t[3],r=n*n+l*l+o*o+i*i;return r>0&&(r=1/Math.sqrt(r)),a[0]=n*r,a[1]=l*r,a[2]=o*r,a[3]=i*r,a}function It(a,t){return a[0]*t[0]+a[1]*t[1]+a[2]*t[2]+a[3]*t[3]}function Tt(a){return a[0]=0,a[1]=0,a[2]=0,a[3]=1,a}function Lt(a,t,n){n=n*.5;let l=Math.sin(n);return a[0]=l*t[0],a[1]=l*t[1],a[2]=l*t[2],a[3]=Math.cos(n),a}function pe(a,t,n){let l=t[0],o=t[1],i=t[2],r=t[3],s=n[0],c=n[1],d=n[2],h=n[3];return a[0]=l*h+r*s+o*d-i*c,a[1]=o*h+r*c+i*s-l*d,a[2]=i*h+r*d+l*c-o*s,a[3]=r*h-l*s-o*c-i*d,a}function Ft(a,t,n){n*=.5;let l=t[0],o=t[1],i=t[2],r=t[3],s=Math.sin(n),c=Math.cos(n);return a[0]=l*c+r*s,a[1]=o*c+i*s,a[2]=i*c-o*s,a[3]=r*c-l*s,a}function Pt(a,t,n){n*=.5;let l=t[0],o=t[1],i=t[2],r=t[3],s=Math.sin(n),c=Math.cos(n);return a[0]=l*c-i*s,a[1]=o*c+r*s,a[2]=i*c+l*s,a[3]=r*c-o*s,a}function Zt(a,t,n){n*=.5;let l=t[0],o=t[1],i=t[2],r=t[3],s=Math.sin(n),c=Math.cos(n);return a[0]=l*c+o*s,a[1]=o*c-l*s,a[2]=i*c+r*s,a[3]=r*c-i*s,a}function Rt(a,t,n,l){let o=t[0],i=t[1],r=t[2],s=t[3],c=n[0],d=n[1],h=n[2],f=n[3],p,g,_,m,u;return g=o*c+i*d+r*h+s*f,g<0&&(g=-g,c=-c,d=-d,h=-h,f=-f),1-g>1e-6?(p=Math.acos(g),_=Math.sin(p),m=Math.sin((1-l)*p)/_,u=Math.sin(l*p)/_):(m=1-l,u=l),a[0]=m*o+u*c,a[1]=m*i+u*d,a[2]=m*r+u*h,a[3]=m*s+u*f,a}function qt(a,t){let n=t[0],l=t[1],o=t[2],i=t[3],r=n*n+l*l+o*o+i*i,s=r?1/r:0;return a[0]=-n*s,a[1]=-l*s,a[2]=-o*s,a[3]=i*s,a}function Ot(a,t){return a[0]=-t[0],a[1]=-t[1],a[2]=-t[2],a[3]=t[3],a}function Ut(a,t){let n=t[0]+t[4]+t[8],l;if(n>0)l=Math.sqrt(n+1),a[3]=.5*l,l=.5/l,a[0]=(t[5]-t[7])*l,a[1]=(t[6]-t[2])*l,a[2]=(t[1]-t[3])*l;else{let o=0;t[4]>t[0]&&(o=1),t[8]>t[o*3+o]&&(o=2);let i=(o+1)%3,r=(o+2)%3;l=Math.sqrt(t[o*3+o]-t[i*3+i]-t[r*3+r]+1),a[o]=.5*l,l=.5/l,a[3]=(t[i*3+r]-t[r*3+i])*l,a[i]=(t[i*3+o]+t[o*3+i])*l,a[r]=(t[r*3+o]+t[o*3+r])*l}return a}function jt(a,t,n="YXZ"){let l=Math.sin(t[0]*.5),o=Math.cos(t[0]*.5),i=Math.sin(t[1]*.5),r=Math.cos(t[1]*.5),s=Math.sin(t[2]*.5),c=Math.cos(t[2]*.5);return n==="XYZ"?(a[0]=l*r*c+o*i*s,a[1]=o*i*c-l*r*s,a[2]=o*r*s+l*i*c,a[3]=o*r*c-l*i*s):n==="YXZ"?(a[0]=l*r*c+o*i*s,a[1]=o*i*c-l*r*s,a[2]=o*r*s-l*i*c,a[3]=o*r*c+l*i*s):n==="ZXY"?(a[0]=l*r*c-o*i*s,a[1]=o*i*c+l*r*s,a[2]=o*r*s+l*i*c,a[3]=o*r*c-l*i*s):n==="ZYX"?(a[0]=l*r*c-o*i*s,a[1]=o*i*c+l*r*s,a[2]=o*r*s-l*i*c,a[3]=o*r*c+l*i*s):n==="YZX"?(a[0]=l*r*c+o*i*s,a[1]=o*i*c+l*r*s,a[2]=o*r*s-l*i*c,a[3]=o*r*c-l*i*s):n==="XZY"&&(a[0]=l*r*c-o*i*s,a[1]=o*i*c-l*r*s,a[2]=o*r*s+l*i*c,a[3]=o*r*c+l*i*s),a}const Ht=Dt,Gt=zt,Wt=It,Xt=At;class Yt extends Array{constructor(t=0,n=0,l=0,o=1){super(t,n,l,o),this.onChange=()=>{},this._target=this;const i=["0","1","2","3"];return new Proxy(this,{set(r,s){const c=Reflect.set(...arguments);return c&&i.includes(s)&&r.onChange(),c}})}get x(){return this[0]}get y(){return this[1]}get z(){return this[2]}get w(){return this[3]}set x(t){this._target[0]=t,this.onChange()}set y(t){this._target[1]=t,this.onChange()}set z(t){this._target[2]=t,this.onChange()}set w(t){this._target[3]=t,this.onChange()}identity(){return Tt(this._target),this.onChange(),this}set(t,n,l,o){return t.length?this.copy(t):(Gt(this._target,t,n,l,o),this.onChange(),this)}rotateX(t){return Ft(this._target,this._target,t),this.onChange(),this}rotateY(t){return Pt(this._target,this._target,t),this.onChange(),this}rotateZ(t){return Zt(this._target,this._target,t),this.onChange(),this}inverse(t=this._target){return qt(this._target,t),this.onChange(),this}conjugate(t=this._target){return Ot(this._target,t),this.onChange(),this}copy(t){return Ht(this._target,t),this.onChange(),this}normalize(t=this._target){return Xt(this._target,t),this.onChange(),this}multiply(t,n){return n?pe(this._target,t,n):pe(this._target,this._target,t),this.onChange(),this}dot(t){return Wt(this._target,t)}fromMatrix3(t){return Ut(this._target,t),this.onChange(),this}fromEuler(t,n){return jt(this._target,t,t.order),n||this.onChange(),this}fromAxisAngle(t,n){return Lt(this._target,t,n),this.onChange(),this}slerp(t,n){return Rt(this._target,this._target,t,n),this.onChange(),this}fromArray(t,n=0){return this._target[0]=t[n],this._target[1]=t[n+1],this._target[2]=t[n+2],this._target[3]=t[n+3],this.onChange(),this}toArray(t=[],n=0){return t[n]=this[0],t[n+1]=this[1],t[n+2]=this[2],t[n+3]=this[3],t}}const Kt=1e-6;function Qt(a,t){return a[0]=t[0],a[1]=t[1],a[2]=t[2],a[3]=t[3],a[4]=t[4],a[5]=t[5],a[6]=t[6],a[7]=t[7],a[8]=t[8],a[9]=t[9],a[10]=t[10],a[11]=t[11],a[12]=t[12],a[13]=t[13],a[14]=t[14],a[15]=t[15],a}function Jt(a,t,n,l,o,i,r,s,c,d,h,f,p,g,_,m,u){return a[0]=t,a[1]=n,a[2]=l,a[3]=o,a[4]=i,a[5]=r,a[6]=s,a[7]=c,a[8]=d,a[9]=h,a[10]=f,a[11]=p,a[12]=g,a[13]=_,a[14]=m,a[15]=u,a}function ea(a){return a[0]=1,a[1]=0,a[2]=0,a[3]=0,a[4]=0,a[5]=1,a[6]=0,a[7]=0,a[8]=0,a[9]=0,a[10]=1,a[11]=0,a[12]=0,a[13]=0,a[14]=0,a[15]=1,a}function ta(a,t){let n=t[0],l=t[1],o=t[2],i=t[3],r=t[4],s=t[5],c=t[6],d=t[7],h=t[8],f=t[9],p=t[10],g=t[11],_=t[12],m=t[13],u=t[14],v=t[15],V=n*s-l*r,b=n*c-o*r,k=n*d-i*r,w=l*c-o*s,E=l*d-i*s,S=o*d-i*c,z=h*m-f*_,N=h*u-p*_,$=h*v-g*_,D=f*u-p*m,M=f*v-g*m,A=p*v-g*u,B=V*A-b*M+k*D+w*$-E*N+S*z;return B?(B=1/B,a[0]=(s*A-c*M+d*D)*B,a[1]=(o*M-l*A-i*D)*B,a[2]=(m*S-u*E+v*w)*B,a[3]=(p*E-f*S-g*w)*B,a[4]=(c*$-r*A-d*N)*B,a[5]=(n*A-o*$+i*N)*B,a[6]=(u*k-_*S-v*b)*B,a[7]=(h*S-p*k+g*b)*B,a[8]=(r*M-s*$+d*z)*B,a[9]=(l*$-n*M-i*z)*B,a[10]=(_*E-m*k+v*V)*B,a[11]=(f*k-h*E-g*V)*B,a[12]=(s*N-r*D-c*z)*B,a[13]=(n*D-l*N+o*z)*B,a[14]=(m*b-_*w-u*V)*B,a[15]=(h*w-f*b+p*V)*B,a):null}function $e(a){let t=a[0],n=a[1],l=a[2],o=a[3],i=a[4],r=a[5],s=a[6],c=a[7],d=a[8],h=a[9],f=a[10],p=a[11],g=a[12],_=a[13],m=a[14],u=a[15],v=t*r-n*i,V=t*s-l*i,b=t*c-o*i,k=n*s-l*r,w=n*c-o*r,E=l*c-o*s,S=d*_-h*g,z=d*m-f*g,N=d*u-p*g,$=h*m-f*_,D=h*u-p*_,M=f*u-p*m;return v*M-V*D+b*$+k*N-w*z+E*S}function ve(a,t,n){let l=t[0],o=t[1],i=t[2],r=t[3],s=t[4],c=t[5],d=t[6],h=t[7],f=t[8],p=t[9],g=t[10],_=t[11],m=t[12],u=t[13],v=t[14],V=t[15],b=n[0],k=n[1],w=n[2],E=n[3];return a[0]=b*l+k*s+w*f+E*m,a[1]=b*o+k*c+w*p+E*u,a[2]=b*i+k*d+w*g+E*v,a[3]=b*r+k*h+w*_+E*V,b=n[4],k=n[5],w=n[6],E=n[7],a[4]=b*l+k*s+w*f+E*m,a[5]=b*o+k*c+w*p+E*u,a[6]=b*i+k*d+w*g+E*v,a[7]=b*r+k*h+w*_+E*V,b=n[8],k=n[9],w=n[10],E=n[11],a[8]=b*l+k*s+w*f+E*m,a[9]=b*o+k*c+w*p+E*u,a[10]=b*i+k*d+w*g+E*v,a[11]=b*r+k*h+w*_+E*V,b=n[12],k=n[13],w=n[14],E=n[15],a[12]=b*l+k*s+w*f+E*m,a[13]=b*o+k*c+w*p+E*u,a[14]=b*i+k*d+w*g+E*v,a[15]=b*r+k*h+w*_+E*V,a}function aa(a,t,n){let l=n[0],o=n[1],i=n[2],r,s,c,d,h,f,p,g,_,m,u,v;return t===a?(a[12]=t[0]*l+t[4]*o+t[8]*i+t[12],a[13]=t[1]*l+t[5]*o+t[9]*i+t[13],a[14]=t[2]*l+t[6]*o+t[10]*i+t[14],a[15]=t[3]*l+t[7]*o+t[11]*i+t[15]):(r=t[0],s=t[1],c=t[2],d=t[3],h=t[4],f=t[5],p=t[6],g=t[7],_=t[8],m=t[9],u=t[10],v=t[11],a[0]=r,a[1]=s,a[2]=c,a[3]=d,a[4]=h,a[5]=f,a[6]=p,a[7]=g,a[8]=_,a[9]=m,a[10]=u,a[11]=v,a[12]=r*l+h*o+_*i+t[12],a[13]=s*l+f*o+m*i+t[13],a[14]=c*l+p*o+u*i+t[14],a[15]=d*l+g*o+v*i+t[15]),a}function na(a,t,n){let l=n[0],o=n[1],i=n[2];return a[0]=t[0]*l,a[1]=t[1]*l,a[2]=t[2]*l,a[3]=t[3]*l,a[4]=t[4]*o,a[5]=t[5]*o,a[6]=t[6]*o,a[7]=t[7]*o,a[8]=t[8]*i,a[9]=t[9]*i,a[10]=t[10]*i,a[11]=t[11]*i,a[12]=t[12],a[13]=t[13],a[14]=t[14],a[15]=t[15],a}function la(a,t,n,l){let o=l[0],i=l[1],r=l[2],s=Math.hypot(o,i,r),c,d,h,f,p,g,_,m,u,v,V,b,k,w,E,S,z,N,$,D,M,A,B,R;return Math.abs(s)<Kt?null:(s=1/s,o*=s,i*=s,r*=s,c=Math.sin(n),d=Math.cos(n),h=1-d,f=t[0],p=t[1],g=t[2],_=t[3],m=t[4],u=t[5],v=t[6],V=t[7],b=t[8],k=t[9],w=t[10],E=t[11],S=o*o*h+d,z=i*o*h+r*c,N=r*o*h-i*c,$=o*i*h-r*c,D=i*i*h+d,M=r*i*h+o*c,A=o*r*h+i*c,B=i*r*h-o*c,R=r*r*h+d,a[0]=f*S+m*z+b*N,a[1]=p*S+u*z+k*N,a[2]=g*S+v*z+w*N,a[3]=_*S+V*z+E*N,a[4]=f*$+m*D+b*M,a[5]=p*$+u*D+k*M,a[6]=g*$+v*D+w*M,a[7]=_*$+V*D+E*M,a[8]=f*A+m*B+b*R,a[9]=p*A+u*B+k*R,a[10]=g*A+v*B+w*R,a[11]=_*A+V*B+E*R,t!==a&&(a[12]=t[12],a[13]=t[13],a[14]=t[14],a[15]=t[15]),a)}function oa(a,t){return a[0]=t[12],a[1]=t[13],a[2]=t[14],a}function Se(a,t){let n=t[0],l=t[1],o=t[2],i=t[4],r=t[5],s=t[6],c=t[8],d=t[9],h=t[10];return a[0]=Math.hypot(n,l,o),a[1]=Math.hypot(i,r,s),a[2]=Math.hypot(c,d,h),a}function ra(a){let t=a[0],n=a[1],l=a[2],o=a[4],i=a[5],r=a[6],s=a[8],c=a[9],d=a[10];const h=t*t+n*n+l*l,f=o*o+i*i+r*r,p=s*s+c*c+d*d;return Math.sqrt(Math.max(h,f,p))}const Me=(function(){const a=[1,1,1];return function(t,n){let l=a;Se(l,n);let o=1/l[0],i=1/l[1],r=1/l[2],s=n[0]*o,c=n[1]*i,d=n[2]*r,h=n[4]*o,f=n[5]*i,p=n[6]*r,g=n[8]*o,_=n[9]*i,m=n[10]*r,u=s+f+m,v=0;return u>0?(v=Math.sqrt(u+1)*2,t[3]=.25*v,t[0]=(p-_)/v,t[1]=(g-d)/v,t[2]=(c-h)/v):s>f&&s>m?(v=Math.sqrt(1+s-f-m)*2,t[3]=(p-_)/v,t[0]=.25*v,t[1]=(c+h)/v,t[2]=(g+d)/v):f>m?(v=Math.sqrt(1+f-s-m)*2,t[3]=(g-d)/v,t[0]=(c+h)/v,t[1]=.25*v,t[2]=(p+_)/v):(v=Math.sqrt(1+m-s-f)*2,t[3]=(c-h)/v,t[0]=(g+d)/v,t[1]=(p+_)/v,t[2]=.25*v),t}})();function ia(a,t,n,l){let o=W([a[0],a[1],a[2]]);const i=W([a[4],a[5],a[6]]),r=W([a[8],a[9],a[10]]);$e(a)<0&&(o=-o),n[0]=a[12],n[1]=a[13],n[2]=a[14];const c=a.slice(),d=1/o,h=1/i,f=1/r;c[0]*=d,c[1]*=d,c[2]*=d,c[4]*=h,c[5]*=h,c[6]*=h,c[8]*=f,c[9]*=f,c[10]*=f,Me(t,c),l[0]=o,l[1]=i,l[2]=r}function sa(a,t,n,l){const o=a,i=t[0],r=t[1],s=t[2],c=t[3],d=i+i,h=r+r,f=s+s,p=i*d,g=i*h,_=i*f,m=r*h,u=r*f,v=s*f,V=c*d,b=c*h,k=c*f,w=l[0],E=l[1],S=l[2];return o[0]=(1-(m+v))*w,o[1]=(g+k)*w,o[2]=(_-b)*w,o[3]=0,o[4]=(g-k)*E,o[5]=(1-(p+v))*E,o[6]=(u+V)*E,o[7]=0,o[8]=(_+b)*S,o[9]=(u-V)*S,o[10]=(1-(p+m))*S,o[11]=0,o[12]=n[0],o[13]=n[1],o[14]=n[2],o[15]=1,o}function ca(a,t){let n=t[0],l=t[1],o=t[2],i=t[3],r=n+n,s=l+l,c=o+o,d=n*r,h=l*r,f=l*s,p=o*r,g=o*s,_=o*c,m=i*r,u=i*s,v=i*c;return a[0]=1-f-_,a[1]=h+v,a[2]=p-u,a[3]=0,a[4]=h-v,a[5]=1-d-_,a[6]=g+m,a[7]=0,a[8]=p+u,a[9]=g-m,a[10]=1-d-f,a[11]=0,a[12]=0,a[13]=0,a[14]=0,a[15]=1,a}function da(a,t,n,l,o){let i=1/Math.tan(t/2),r=1/(l-o);return a[0]=i/n,a[1]=0,a[2]=0,a[3]=0,a[4]=0,a[5]=i,a[6]=0,a[7]=0,a[8]=0,a[9]=0,a[10]=(o+l)*r,a[11]=-1,a[12]=0,a[13]=0,a[14]=2*o*l*r,a[15]=0,a}function ua(a,t,n,l,o,i,r){let s=1/(t-n),c=1/(l-o),d=1/(i-r);return a[0]=-2*s,a[1]=0,a[2]=0,a[3]=0,a[4]=0,a[5]=-2*c,a[6]=0,a[7]=0,a[8]=0,a[9]=0,a[10]=2*d,a[11]=0,a[12]=(t+n)*s,a[13]=(o+l)*c,a[14]=(r+i)*d,a[15]=1,a}function ma(a,t,n,l){let o=t[0],i=t[1],r=t[2],s=l[0],c=l[1],d=l[2],h=o-n[0],f=i-n[1],p=r-n[2],g=h*h+f*f+p*p;g===0?p=1:(g=1/Math.sqrt(g),h*=g,f*=g,p*=g);let _=c*p-d*f,m=d*h-s*p,u=s*f-c*h;return g=_*_+m*m+u*u,g===0&&(d?s+=1e-6:c?d+=1e-6:c+=1e-6,_=c*p-d*f,m=d*h-s*p,u=s*f-c*h,g=_*_+m*m+u*u),g=1/Math.sqrt(g),_*=g,m*=g,u*=g,a[0]=_,a[1]=m,a[2]=u,a[3]=0,a[4]=f*u-p*m,a[5]=p*_-h*u,a[6]=h*m-f*_,a[7]=0,a[8]=h,a[9]=f,a[10]=p,a[11]=0,a[12]=o,a[13]=i,a[14]=r,a[15]=1,a}function ge(a,t,n){return a[0]=t[0]+n[0],a[1]=t[1]+n[1],a[2]=t[2]+n[2],a[3]=t[3]+n[3],a[4]=t[4]+n[4],a[5]=t[5]+n[5],a[6]=t[6]+n[6],a[7]=t[7]+n[7],a[8]=t[8]+n[8],a[9]=t[9]+n[9],a[10]=t[10]+n[10],a[11]=t[11]+n[11],a[12]=t[12]+n[12],a[13]=t[13]+n[13],a[14]=t[14]+n[14],a[15]=t[15]+n[15],a}function _e(a,t,n){return a[0]=t[0]-n[0],a[1]=t[1]-n[1],a[2]=t[2]-n[2],a[3]=t[3]-n[3],a[4]=t[4]-n[4],a[5]=t[5]-n[5],a[6]=t[6]-n[6],a[7]=t[7]-n[7],a[8]=t[8]-n[8],a[9]=t[9]-n[9],a[10]=t[10]-n[10],a[11]=t[11]-n[11],a[12]=t[12]-n[12],a[13]=t[13]-n[13],a[14]=t[14]-n[14],a[15]=t[15]-n[15],a}function ha(a,t,n){return a[0]=t[0]*n,a[1]=t[1]*n,a[2]=t[2]*n,a[3]=t[3]*n,a[4]=t[4]*n,a[5]=t[5]*n,a[6]=t[6]*n,a[7]=t[7]*n,a[8]=t[8]*n,a[9]=t[9]*n,a[10]=t[10]*n,a[11]=t[11]*n,a[12]=t[12]*n,a[13]=t[13]*n,a[14]=t[14]*n,a[15]=t[15]*n,a}class Y extends Array{constructor(t=1,n=0,l=0,o=0,i=0,r=1,s=0,c=0,d=0,h=0,f=1,p=0,g=0,_=0,m=0,u=1){return super(t,n,l,o,i,r,s,c,d,h,f,p,g,_,m,u),this}get x(){return this[12]}get y(){return this[13]}get z(){return this[14]}get w(){return this[15]}set x(t){this[12]=t}set y(t){this[13]=t}set z(t){this[14]=t}set w(t){this[15]=t}set(t,n,l,o,i,r,s,c,d,h,f,p,g,_,m,u){return t.length?this.copy(t):(Jt(this,t,n,l,o,i,r,s,c,d,h,f,p,g,_,m,u),this)}translate(t,n=this){return aa(this,n,t),this}rotate(t,n,l=this){return la(this,l,t,n),this}scale(t,n=this){return na(this,n,typeof t=="number"?[t,t,t]:t),this}add(t,n){return n?ge(this,t,n):ge(this,this,t),this}sub(t,n){return n?_e(this,t,n):_e(this,this,t),this}multiply(t,n){return t.length?n?ve(this,t,n):ve(this,this,t):ha(this,this,t),this}identity(){return ea(this),this}copy(t){return Qt(this,t),this}fromPerspective({fov:t,aspect:n,near:l,far:o}={}){return da(this,t,n,l,o),this}fromOrthogonal({left:t,right:n,bottom:l,top:o,near:i,far:r}){return ua(this,t,n,l,o,i,r),this}fromQuaternion(t){return ca(this,t),this}setPosition(t){return this.x=t[0],this.y=t[1],this.z=t[2],this}inverse(t=this){return ta(this,t),this}compose(t,n,l){return sa(this,t,n,l),this}decompose(t,n,l){return ia(this,t,n,l),this}getRotation(t){return Me(t,this),this}getTranslation(t){return oa(t,this),this}getScaling(t){return Se(t,this),this}getMaxScaleOnAxis(){return ra(this)}lookAt(t,n,l){return ma(this,t,n,l),this}determinant(){return $e(this)}fromArray(t,n=0){return this[0]=t[n],this[1]=t[n+1],this[2]=t[n+2],this[3]=t[n+3],this[4]=t[n+4],this[5]=t[n+5],this[6]=t[n+6],this[7]=t[n+7],this[8]=t[n+8],this[9]=t[n+9],this[10]=t[n+10],this[11]=t[n+11],this[12]=t[n+12],this[13]=t[n+13],this[14]=t[n+14],this[15]=t[n+15],this}toArray(t=[],n=0){return t[n]=this[0],t[n+1]=this[1],t[n+2]=this[2],t[n+3]=this[3],t[n+4]=this[4],t[n+5]=this[5],t[n+6]=this[6],t[n+7]=this[7],t[n+8]=this[8],t[n+9]=this[9],t[n+10]=this[10],t[n+11]=this[11],t[n+12]=this[12],t[n+13]=this[13],t[n+14]=this[14],t[n+15]=this[15],t}}function fa(a,t,n="YXZ"){return n==="XYZ"?(a[1]=Math.asin(Math.min(Math.max(t[8],-1),1)),Math.abs(t[8])<.99999?(a[0]=Math.atan2(-t[9],t[10]),a[2]=Math.atan2(-t[4],t[0])):(a[0]=Math.atan2(t[6],t[5]),a[2]=0)):n==="YXZ"?(a[0]=Math.asin(-Math.min(Math.max(t[9],-1),1)),Math.abs(t[9])<.99999?(a[1]=Math.atan2(t[8],t[10]),a[2]=Math.atan2(t[1],t[5])):(a[1]=Math.atan2(-t[2],t[0]),a[2]=0)):n==="ZXY"?(a[0]=Math.asin(Math.min(Math.max(t[6],-1),1)),Math.abs(t[6])<.99999?(a[1]=Math.atan2(-t[2],t[10]),a[2]=Math.atan2(-t[4],t[5])):(a[1]=0,a[2]=Math.atan2(t[1],t[0]))):n==="ZYX"?(a[1]=Math.asin(-Math.min(Math.max(t[2],-1),1)),Math.abs(t[2])<.99999?(a[0]=Math.atan2(t[6],t[10]),a[2]=Math.atan2(t[1],t[0])):(a[0]=0,a[2]=Math.atan2(-t[4],t[5]))):n==="YZX"?(a[2]=Math.asin(Math.min(Math.max(t[1],-1),1)),Math.abs(t[1])<.99999?(a[0]=Math.atan2(-t[9],t[5]),a[1]=Math.atan2(-t[2],t[0])):(a[0]=0,a[1]=Math.atan2(t[8],t[10]))):n==="XZY"&&(a[2]=Math.asin(-Math.min(Math.max(t[4],-1),1)),Math.abs(t[4])<.99999?(a[0]=Math.atan2(t[6],t[5]),a[1]=Math.atan2(t[8],t[0])):(a[0]=Math.atan2(-t[9],t[10]),a[1]=0)),a}const ke=new Y;class pa extends Array{constructor(t=0,n=t,l=t,o="YXZ"){super(t,n,l),this.order=o,this.onChange=()=>{},this._target=this;const i=["0","1","2"];return new Proxy(this,{set(r,s){const c=Reflect.set(...arguments);return c&&i.includes(s)&&r.onChange(),c}})}get x(){return this[0]}get y(){return this[1]}get z(){return this[2]}set x(t){this._target[0]=t,this.onChange()}set y(t){this._target[1]=t,this.onChange()}set z(t){this._target[2]=t,this.onChange()}set(t,n=t,l=t){return t.length?this.copy(t):(this._target[0]=t,this._target[1]=n,this._target[2]=l,this.onChange(),this)}copy(t){return this._target[0]=t[0],this._target[1]=t[1],this._target[2]=t[2],this.onChange(),this}reorder(t){return this._target.order=t,this.onChange(),this}fromRotationMatrix(t,n=this.order){return fa(this._target,t,n),this.onChange(),this}fromQuaternion(t,n=this.order,l){return ke.fromQuaternion(t),this._target.fromRotationMatrix(ke,n),l||this.onChange(),this}fromArray(t,n=0){return this._target[0]=t[n],this._target[1]=t[n+1],this._target[2]=t[n+2],this}toArray(t=[],n=0){return t[n]=this[0],t[n+1]=this[1],t[n+2]=this[2],t}}class va{constructor(){this.parent=null,this.children=[],this.visible=!0,this.matrix=new Y,this.worldMatrix=new Y,this.matrixAutoUpdate=!0,this.worldMatrixNeedsUpdate=!1,this.position=new P,this.quaternion=new Yt,this.scale=new P(1),this.rotation=new pa,this.up=new P(0,1,0),this.rotation._target.onChange=()=>this.quaternion.fromEuler(this.rotation,!0),this.quaternion._target.onChange=()=>this.rotation.fromQuaternion(this.quaternion,void 0,!0)}setParent(t,n=!0){this.parent&&t!==this.parent&&this.parent.removeChild(this,!1),this.parent=t,n&&t&&t.addChild(this,!1)}addChild(t,n=!0){~this.children.indexOf(t)||this.children.push(t),n&&t.setParent(this,!1)}removeChild(t,n=!0){~this.children.indexOf(t)&&this.children.splice(this.children.indexOf(t),1),n&&t.setParent(null,!1)}updateMatrixWorld(t){this.matrixAutoUpdate&&this.updateMatrix(),(this.worldMatrixNeedsUpdate||t)&&(this.parent===null?this.worldMatrix.copy(this.matrix):this.worldMatrix.multiply(this.parent.worldMatrix,this.matrix),this.worldMatrixNeedsUpdate=!1,t=!0);for(let n=0,l=this.children.length;n<l;n++)this.children[n].updateMatrixWorld(t)}updateMatrix(){this.matrix.compose(this.quaternion,this.position,this.scale),this.worldMatrixNeedsUpdate=!0}traverse(t){if(!t(this))for(let n=0,l=this.children.length;n<l;n++)this.children[n].traverse(t)}decompose(){this.matrix.decompose(this.quaternion._target,this.position,this.scale),this.rotation.fromQuaternion(this.quaternion)}lookAt(t,n=!1){n?this.matrix.lookAt(this.position,t,this.up):this.matrix.lookAt(t,this.position,this.up),this.matrix.getRotation(this.quaternion._target),this.rotation.fromQuaternion(this.quaternion)}}function ga(a,t){return a[0]=t[0],a[1]=t[1],a[2]=t[2],a[3]=t[4],a[4]=t[5],a[5]=t[6],a[6]=t[8],a[7]=t[9],a[8]=t[10],a}function _a(a,t){let n=t[0],l=t[1],o=t[2],i=t[3],r=n+n,s=l+l,c=o+o,d=n*r,h=l*r,f=l*s,p=o*r,g=o*s,_=o*c,m=i*r,u=i*s,v=i*c;return a[0]=1-f-_,a[3]=h-v,a[6]=p+u,a[1]=h+v,a[4]=1-d-_,a[7]=g-m,a[2]=p-u,a[5]=g+m,a[8]=1-d-f,a}function ka(a,t){return a[0]=t[0],a[1]=t[1],a[2]=t[2],a[3]=t[3],a[4]=t[4],a[5]=t[5],a[6]=t[6],a[7]=t[7],a[8]=t[8],a}function Va(a,t,n,l,o,i,r,s,c,d){return a[0]=t,a[1]=n,a[2]=l,a[3]=o,a[4]=i,a[5]=r,a[6]=s,a[7]=c,a[8]=d,a}function wa(a){return a[0]=1,a[1]=0,a[2]=0,a[3]=0,a[4]=1,a[5]=0,a[6]=0,a[7]=0,a[8]=1,a}function ba(a,t){let n=t[0],l=t[1],o=t[2],i=t[3],r=t[4],s=t[5],c=t[6],d=t[7],h=t[8],f=h*r-s*d,p=-h*i+s*c,g=d*i-r*c,_=n*f+l*p+o*g;return _?(_=1/_,a[0]=f*_,a[1]=(-h*l+o*d)*_,a[2]=(s*l-o*r)*_,a[3]=p*_,a[4]=(h*n-o*c)*_,a[5]=(-s*n+o*i)*_,a[6]=g*_,a[7]=(-d*n+l*c)*_,a[8]=(r*n-l*i)*_,a):null}function Ve(a,t,n){let l=t[0],o=t[1],i=t[2],r=t[3],s=t[4],c=t[5],d=t[6],h=t[7],f=t[8],p=n[0],g=n[1],_=n[2],m=n[3],u=n[4],v=n[5],V=n[6],b=n[7],k=n[8];return a[0]=p*l+g*r+_*d,a[1]=p*o+g*s+_*h,a[2]=p*i+g*c+_*f,a[3]=m*l+u*r+v*d,a[4]=m*o+u*s+v*h,a[5]=m*i+u*c+v*f,a[6]=V*l+b*r+k*d,a[7]=V*o+b*s+k*h,a[8]=V*i+b*c+k*f,a}function Ea(a,t,n){let l=t[0],o=t[1],i=t[2],r=t[3],s=t[4],c=t[5],d=t[6],h=t[7],f=t[8],p=n[0],g=n[1];return a[0]=l,a[1]=o,a[2]=i,a[3]=r,a[4]=s,a[5]=c,a[6]=p*l+g*r+d,a[7]=p*o+g*s+h,a[8]=p*i+g*c+f,a}function ya(a,t,n){let l=t[0],o=t[1],i=t[2],r=t[3],s=t[4],c=t[5],d=t[6],h=t[7],f=t[8],p=Math.sin(n),g=Math.cos(n);return a[0]=g*l+p*r,a[1]=g*o+p*s,a[2]=g*i+p*c,a[3]=g*r-p*l,a[4]=g*s-p*o,a[5]=g*c-p*i,a[6]=d,a[7]=h,a[8]=f,a}function Na(a,t,n){let l=n[0],o=n[1];return a[0]=l*t[0],a[1]=l*t[1],a[2]=l*t[2],a[3]=o*t[3],a[4]=o*t[4],a[5]=o*t[5],a[6]=t[6],a[7]=t[7],a[8]=t[8],a}function xa(a,t){let n=t[0],l=t[1],o=t[2],i=t[3],r=t[4],s=t[5],c=t[6],d=t[7],h=t[8],f=t[9],p=t[10],g=t[11],_=t[12],m=t[13],u=t[14],v=t[15],V=n*s-l*r,b=n*c-o*r,k=n*d-i*r,w=l*c-o*s,E=l*d-i*s,S=o*d-i*c,z=h*m-f*_,N=h*u-p*_,$=h*v-g*_,D=f*u-p*m,M=f*v-g*m,A=p*v-g*u,B=V*A-b*M+k*D+w*$-E*N+S*z;return B?(B=1/B,a[0]=(s*A-c*M+d*D)*B,a[1]=(c*$-r*A-d*N)*B,a[2]=(r*M-s*$+d*z)*B,a[3]=(o*M-l*A-i*D)*B,a[4]=(n*A-o*$+i*N)*B,a[5]=(l*$-n*M-i*z)*B,a[6]=(m*S-u*E+v*w)*B,a[7]=(u*k-_*S-v*b)*B,a[8]=(_*E-m*k+v*V)*B,a):null}class Ba extends Array{constructor(t=1,n=0,l=0,o=0,i=1,r=0,s=0,c=0,d=1){return super(t,n,l,o,i,r,s,c,d),this}set(t,n,l,o,i,r,s,c,d){return t.length?this.copy(t):(Va(this,t,n,l,o,i,r,s,c,d),this)}translate(t,n=this){return Ea(this,n,t),this}rotate(t,n=this){return ya(this,n,t),this}scale(t,n=this){return Na(this,n,t),this}multiply(t,n){return n?Ve(this,t,n):Ve(this,this,t),this}identity(){return wa(this),this}copy(t){return ka(this,t),this}fromMatrix4(t){return ga(this,t),this}fromQuaternion(t){return _a(this,t),this}fromBasis(t,n,l){return this.set(t[0],t[1],t[2],n[0],n[1],n[2],l[0],l[1],l[2]),this}inverse(t=this){return ba(this,t),this}getNormalMatrix(t){return xa(this,t),this}}let Ca=0;class $a extends va{constructor(t,{geometry:n,program:l,mode:o=t.TRIANGLES,frustumCulled:i=!0,renderOrder:r=0}={}){super(),t.canvas||console.error("gl not passed as first argument to Mesh"),this.gl=t,this.id=Ca++,this.geometry=n,this.program=l,this.mode=o,this.frustumCulled=i,this.renderOrder=r,this.modelViewMatrix=new Y,this.normalMatrix=new Ba,this.beforeRenderCallbacks=[],this.afterRenderCallbacks=[]}onBeforeRender(t){return this.beforeRenderCallbacks.push(t),this}onAfterRender(t){return this.afterRenderCallbacks.push(t),this}draw({camera:t}={}){t&&(this.program.uniforms.modelMatrix||Object.assign(this.program.uniforms,{modelMatrix:{value:null},viewMatrix:{value:null},modelViewMatrix:{value:null},normalMatrix:{value:null},projectionMatrix:{value:null},cameraPosition:{value:null}}),this.program.uniforms.projectionMatrix.value=t.projectionMatrix,this.program.uniforms.cameraPosition.value=t.worldPosition,this.program.uniforms.viewMatrix.value=t.viewMatrix,this.modelViewMatrix.multiply(t.viewMatrix,this.worldMatrix),this.normalMatrix.getNormalMatrix(this.modelViewMatrix),this.program.uniforms.modelMatrix.value=this.worldMatrix,this.program.uniforms.modelViewMatrix.value=this.modelViewMatrix,this.program.uniforms.normalMatrix.value=this.normalMatrix),this.beforeRenderCallbacks.forEach(l=>l&&l({mesh:this,camera:t}));let n=this.program.cullFace&&this.worldMatrix.determinant()<0;this.program.use({flipFaces:n}),this.geometry.draw({mode:this.mode,program:this.program}),this.afterRenderCallbacks.forEach(l=>l&&l({mesh:this,camera:t}))}}const we={black:"#000000",white:"#ffffff",red:"#ff0000",green:"#00ff00",blue:"#0000ff",fuchsia:"#ff00ff",cyan:"#00ffff",yellow:"#ffff00",orange:"#ff8000"};function be(a){a.length===4&&(a=a[0]+a[1]+a[1]+a[2]+a[2]+a[3]+a[3]);const t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(a);return t||console.warn(`Unable to convert hex string ${a} to rgb values`),[parseInt(t[1],16)/255,parseInt(t[2],16)/255,parseInt(t[3],16)/255]}function Sa(a){return a=parseInt(a),[(a>>16&255)/255,(a>>8&255)/255,(a&255)/255]}function Ee(a){return a===void 0?[0,0,0]:arguments.length===3?arguments:isNaN(a)?a[0]==="#"?be(a):we[a.toLowerCase()]?be(we[a.toLowerCase()]):(console.warn("Color format not recognised"),[0,0,0]):Sa(a)}class ye extends Array{constructor(t){return Array.isArray(t)?super(...t):super(...Ee(...arguments))}get r(){return this[0]}get g(){return this[1]}get b(){return this[2]}set r(t){this[0]=t}set g(t){this[1]=t}set b(t){this[2]=t}set(t){return Array.isArray(t)?this.copy(t):this.copy(Ee(...arguments))}copy(t){return this[0]=t[0],this[1]=t[1],this[2]=t[2],this}}class Ma extends yt{constructor(t,{attributes:n={}}={}){Object.assign(n,{position:{size:2,data:new Float32Array([-1,-1,3,-1,-1,3])},uv:{size:2,data:new Float32Array([0,0,2,0,0,2])}}),super(t,n)}}const Da=`
7
+ `)}function Bt(a){const t=a.length,n=a[0].length;if(n===void 0)return a;const l=t*n;let o=me[l];o||(me[l]=o=new Float32Array(l));for(let i=0;i<t;i++)o.set(a[i],i*n);return o}function Ct(a,t){if(a.length!==t.length)return!1;for(let n=0,l=a.length;n<l;n++)if(a[n]!==t[n])return!1;return!0}function $t(a,t){for(let n=0,l=a.length;n<l;n++)a[n]=t[n]}let ee=0;function fe(a){ee>100||(console.warn(a),ee++,ee>100&&console.warn("More than 100 program warnings - stopping logs."))}const te=new F;let At=1;class Mt{constructor({canvas:t=document.createElement("canvas"),width:n=300,height:l=150,dpr:o=1,alpha:i=!1,depth:r=!0,stencil:s=!1,antialias:c=!1,premultipliedAlpha:d=!1,preserveDrawingBuffer:h=!1,powerPreference:f="default",autoClear:p=!0,webgl:g=2}={}){const _={alpha:i,depth:r,stencil:s,antialias:c,premultipliedAlpha:d,preserveDrawingBuffer:h,powerPreference:f};this.dpr=o,this.alpha=i,this.color=!0,this.depth=r,this.stencil=s,this.premultipliedAlpha=d,this.autoClear=p,this.id=At++,g===2&&(this.gl=t.getContext("webgl2",_)),this.isWebgl2=!!this.gl,this.gl||(this.gl=t.getContext("webgl",_)),this.gl||console.error("unable to create webgl context"),this.gl.renderer=this,this.setSize(n,l),this.state={},this.state.blendFunc={src:this.gl.ONE,dst:this.gl.ZERO},this.state.blendEquation={modeRGB:this.gl.FUNC_ADD},this.state.cullFace=!1,this.state.frontFace=this.gl.CCW,this.state.depthMask=!0,this.state.depthFunc=this.gl.LEQUAL,this.state.premultiplyAlpha=!1,this.state.flipY=!1,this.state.unpackAlignment=4,this.state.framebuffer=null,this.state.viewport={x:0,y:0,width:null,height:null},this.state.textureUnits=[],this.state.activeTextureUnit=0,this.state.boundBuffer=null,this.state.uniformLocations=new Map,this.state.currentProgram=null,this.extensions={},this.isWebgl2?(this.getExtension("EXT_color_buffer_float"),this.getExtension("OES_texture_float_linear")):(this.getExtension("OES_texture_float"),this.getExtension("OES_texture_float_linear"),this.getExtension("OES_texture_half_float"),this.getExtension("OES_texture_half_float_linear"),this.getExtension("OES_element_index_uint"),this.getExtension("OES_standard_derivatives"),this.getExtension("EXT_sRGB"),this.getExtension("WEBGL_depth_texture"),this.getExtension("WEBGL_draw_buffers")),this.getExtension("WEBGL_compressed_texture_astc"),this.getExtension("EXT_texture_compression_bptc"),this.getExtension("WEBGL_compressed_texture_s3tc"),this.getExtension("WEBGL_compressed_texture_etc1"),this.getExtension("WEBGL_compressed_texture_pvrtc"),this.getExtension("WEBKIT_WEBGL_compressed_texture_pvrtc"),this.vertexAttribDivisor=this.getExtension("ANGLE_instanced_arrays","vertexAttribDivisor","vertexAttribDivisorANGLE"),this.drawArraysInstanced=this.getExtension("ANGLE_instanced_arrays","drawArraysInstanced","drawArraysInstancedANGLE"),this.drawElementsInstanced=this.getExtension("ANGLE_instanced_arrays","drawElementsInstanced","drawElementsInstancedANGLE"),this.createVertexArray=this.getExtension("OES_vertex_array_object","createVertexArray","createVertexArrayOES"),this.bindVertexArray=this.getExtension("OES_vertex_array_object","bindVertexArray","bindVertexArrayOES"),this.deleteVertexArray=this.getExtension("OES_vertex_array_object","deleteVertexArray","deleteVertexArrayOES"),this.drawBuffers=this.getExtension("WEBGL_draw_buffers","drawBuffers","drawBuffersWEBGL"),this.parameters={},this.parameters.maxTextureUnits=this.gl.getParameter(this.gl.MAX_COMBINED_TEXTURE_IMAGE_UNITS),this.parameters.maxAnisotropy=this.getExtension("EXT_texture_filter_anisotropic")?this.gl.getParameter(this.getExtension("EXT_texture_filter_anisotropic").MAX_TEXTURE_MAX_ANISOTROPY_EXT):0}setSize(t,n){this.width=t,this.height=n,this.gl.canvas.width=t*this.dpr,this.gl.canvas.height=n*this.dpr,this.gl.canvas.style&&Object.assign(this.gl.canvas.style,{width:t+"px",height:n+"px"})}setViewport(t,n,l=0,o=0){this.state.viewport.width===t&&this.state.viewport.height===n||(this.state.viewport.width=t,this.state.viewport.height=n,this.state.viewport.x=l,this.state.viewport.y=o,this.gl.viewport(l,o,t,n))}setScissor(t,n,l=0,o=0){this.gl.scissor(l,o,t,n)}enable(t){this.state[t]!==!0&&(this.gl.enable(t),this.state[t]=!0)}disable(t){this.state[t]!==!1&&(this.gl.disable(t),this.state[t]=!1)}setBlendFunc(t,n,l,o){this.state.blendFunc.src===t&&this.state.blendFunc.dst===n&&this.state.blendFunc.srcAlpha===l&&this.state.blendFunc.dstAlpha===o||(this.state.blendFunc.src=t,this.state.blendFunc.dst=n,this.state.blendFunc.srcAlpha=l,this.state.blendFunc.dstAlpha=o,l!==void 0?this.gl.blendFuncSeparate(t,n,l,o):this.gl.blendFunc(t,n))}setBlendEquation(t,n){t=t||this.gl.FUNC_ADD,!(this.state.blendEquation.modeRGB===t&&this.state.blendEquation.modeAlpha===n)&&(this.state.blendEquation.modeRGB=t,this.state.blendEquation.modeAlpha=n,n!==void 0?this.gl.blendEquationSeparate(t,n):this.gl.blendEquation(t))}setCullFace(t){this.state.cullFace!==t&&(this.state.cullFace=t,this.gl.cullFace(t))}setFrontFace(t){this.state.frontFace!==t&&(this.state.frontFace=t,this.gl.frontFace(t))}setDepthMask(t){this.state.depthMask!==t&&(this.state.depthMask=t,this.gl.depthMask(t))}setDepthFunc(t){this.state.depthFunc!==t&&(this.state.depthFunc=t,this.gl.depthFunc(t))}setStencilMask(t){this.state.stencilMask!==t&&(this.state.stencilMask=t,this.gl.stencilMask(t))}setStencilFunc(t,n,l){this.state.stencilFunc===t&&this.state.stencilRef===n&&this.state.stencilFuncMask===l||(this.state.stencilFunc=t||this.gl.ALWAYS,this.state.stencilRef=n||0,this.state.stencilFuncMask=l||0,this.gl.stencilFunc(t||this.gl.ALWAYS,n||0,l||0))}setStencilOp(t,n,l){this.state.stencilFail===t&&this.state.stencilDepthFail===n&&this.state.stencilDepthPass===l||(this.state.stencilFail=t,this.state.stencilDepthFail=n,this.state.stencilDepthPass=l,this.gl.stencilOp(t,n,l))}activeTexture(t){this.state.activeTextureUnit!==t&&(this.state.activeTextureUnit=t,this.gl.activeTexture(this.gl.TEXTURE0+t))}bindFramebuffer({target:t=this.gl.FRAMEBUFFER,buffer:n=null}={}){this.state.framebuffer!==n&&(this.state.framebuffer=n,this.gl.bindFramebuffer(t,n))}getExtension(t,n,l){return n&&this.gl[n]?this.gl[n].bind(this.gl):(this.extensions[t]||(this.extensions[t]=this.gl.getExtension(t)),n?this.extensions[t]?this.extensions[t][l].bind(this.extensions[t]):null:this.extensions[t])}sortOpaque(t,n){return t.renderOrder!==n.renderOrder?t.renderOrder-n.renderOrder:t.program.id!==n.program.id?t.program.id-n.program.id:t.zDepth!==n.zDepth?t.zDepth-n.zDepth:n.id-t.id}sortTransparent(t,n){return t.renderOrder!==n.renderOrder?t.renderOrder-n.renderOrder:t.zDepth!==n.zDepth?n.zDepth-t.zDepth:n.id-t.id}sortUI(t,n){return t.renderOrder!==n.renderOrder?t.renderOrder-n.renderOrder:t.program.id!==n.program.id?t.program.id-n.program.id:n.id-t.id}getRenderList({scene:t,camera:n,frustumCull:l,sort:o}){let i=[];if(n&&l&&n.updateFrustum(),t.traverse(r=>{if(!r.visible)return!0;r.draw&&(l&&r.frustumCulled&&n&&!n.frustumIntersectsMesh(r)||i.push(r))}),o){const r=[],s=[],c=[];i.forEach(d=>{d.program.transparent?d.program.depthTest?s.push(d):c.push(d):r.push(d),d.zDepth=0,!(d.renderOrder!==0||!d.program.depthTest||!n)&&(d.worldMatrix.getTranslation(te),te.applyMatrix4(n.projectionViewMatrix),d.zDepth=te.z)}),r.sort(this.sortOpaque),s.sort(this.sortTransparent),c.sort(this.sortUI),i=r.concat(s,c)}return i}render({scene:t,camera:n,target:l=null,update:o=!0,sort:i=!0,frustumCull:r=!0,clear:s}){l===null?(this.bindFramebuffer(),this.setViewport(this.width*this.dpr,this.height*this.dpr)):(this.bindFramebuffer(l),this.setViewport(l.width,l.height)),(s||this.autoClear&&s!==!1)&&(this.depth&&(!l||l.depth)&&(this.enable(this.gl.DEPTH_TEST),this.setDepthMask(!0)),(this.stencil||!l||l.stencil)&&(this.enable(this.gl.STENCIL_TEST),this.setStencilMask(255)),this.gl.clear((this.color?this.gl.COLOR_BUFFER_BIT:0)|(this.depth?this.gl.DEPTH_BUFFER_BIT:0)|(this.stencil?this.gl.STENCIL_BUFFER_BIT:0))),o&&t.updateMatrixWorld(),n&&n.updateMatrixWorld(),this.getRenderList({scene:t,camera:n,frustumCull:r,sort:i}).forEach(d=>{d.draw({camera:n})})}}function St(a,t){return a[0]=t[0],a[1]=t[1],a[2]=t[2],a[3]=t[3],a}function Dt(a,t,n,l,o){return a[0]=t,a[1]=n,a[2]=l,a[3]=o,a}function zt(a,t){let n=t[0],l=t[1],o=t[2],i=t[3],r=n*n+l*l+o*o+i*i;return r>0&&(r=1/Math.sqrt(r)),a[0]=n*r,a[1]=l*r,a[2]=o*r,a[3]=i*r,a}function It(a,t){return a[0]*t[0]+a[1]*t[1]+a[2]*t[2]+a[3]*t[3]}function Tt(a){return a[0]=0,a[1]=0,a[2]=0,a[3]=1,a}function Lt(a,t,n){n=n*.5;let l=Math.sin(n);return a[0]=l*t[0],a[1]=l*t[1],a[2]=l*t[2],a[3]=Math.cos(n),a}function pe(a,t,n){let l=t[0],o=t[1],i=t[2],r=t[3],s=n[0],c=n[1],d=n[2],h=n[3];return a[0]=l*h+r*s+o*d-i*c,a[1]=o*h+r*c+i*s-l*d,a[2]=i*h+r*d+l*c-o*s,a[3]=r*h-l*s-o*c-i*d,a}function Pt(a,t,n){n*=.5;let l=t[0],o=t[1],i=t[2],r=t[3],s=Math.sin(n),c=Math.cos(n);return a[0]=l*c+r*s,a[1]=o*c+i*s,a[2]=i*c-o*s,a[3]=r*c-l*s,a}function Ft(a,t,n){n*=.5;let l=t[0],o=t[1],i=t[2],r=t[3],s=Math.sin(n),c=Math.cos(n);return a[0]=l*c-i*s,a[1]=o*c+r*s,a[2]=i*c+l*s,a[3]=r*c-o*s,a}function Zt(a,t,n){n*=.5;let l=t[0],o=t[1],i=t[2],r=t[3],s=Math.sin(n),c=Math.cos(n);return a[0]=l*c+o*s,a[1]=o*c-l*s,a[2]=i*c+r*s,a[3]=r*c-i*s,a}function Rt(a,t,n,l){let o=t[0],i=t[1],r=t[2],s=t[3],c=n[0],d=n[1],h=n[2],f=n[3],p,g,_,m,u;return g=o*c+i*d+r*h+s*f,g<0&&(g=-g,c=-c,d=-d,h=-h,f=-f),1-g>1e-6?(p=Math.acos(g),_=Math.sin(p),m=Math.sin((1-l)*p)/_,u=Math.sin(l*p)/_):(m=1-l,u=l),a[0]=m*o+u*c,a[1]=m*i+u*d,a[2]=m*r+u*h,a[3]=m*s+u*f,a}function qt(a,t){let n=t[0],l=t[1],o=t[2],i=t[3],r=n*n+l*l+o*o+i*i,s=r?1/r:0;return a[0]=-n*s,a[1]=-l*s,a[2]=-o*s,a[3]=i*s,a}function Ot(a,t){return a[0]=-t[0],a[1]=-t[1],a[2]=-t[2],a[3]=t[3],a}function Ut(a,t){let n=t[0]+t[4]+t[8],l;if(n>0)l=Math.sqrt(n+1),a[3]=.5*l,l=.5/l,a[0]=(t[5]-t[7])*l,a[1]=(t[6]-t[2])*l,a[2]=(t[1]-t[3])*l;else{let o=0;t[4]>t[0]&&(o=1),t[8]>t[o*3+o]&&(o=2);let i=(o+1)%3,r=(o+2)%3;l=Math.sqrt(t[o*3+o]-t[i*3+i]-t[r*3+r]+1),a[o]=.5*l,l=.5/l,a[3]=(t[i*3+r]-t[r*3+i])*l,a[i]=(t[i*3+o]+t[o*3+i])*l,a[r]=(t[r*3+o]+t[o*3+r])*l}return a}function jt(a,t,n="YXZ"){let l=Math.sin(t[0]*.5),o=Math.cos(t[0]*.5),i=Math.sin(t[1]*.5),r=Math.cos(t[1]*.5),s=Math.sin(t[2]*.5),c=Math.cos(t[2]*.5);return n==="XYZ"?(a[0]=l*r*c+o*i*s,a[1]=o*i*c-l*r*s,a[2]=o*r*s+l*i*c,a[3]=o*r*c-l*i*s):n==="YXZ"?(a[0]=l*r*c+o*i*s,a[1]=o*i*c-l*r*s,a[2]=o*r*s-l*i*c,a[3]=o*r*c+l*i*s):n==="ZXY"?(a[0]=l*r*c-o*i*s,a[1]=o*i*c+l*r*s,a[2]=o*r*s+l*i*c,a[3]=o*r*c-l*i*s):n==="ZYX"?(a[0]=l*r*c-o*i*s,a[1]=o*i*c+l*r*s,a[2]=o*r*s-l*i*c,a[3]=o*r*c+l*i*s):n==="YZX"?(a[0]=l*r*c+o*i*s,a[1]=o*i*c+l*r*s,a[2]=o*r*s-l*i*c,a[3]=o*r*c-l*i*s):n==="XZY"&&(a[0]=l*r*c-o*i*s,a[1]=o*i*c-l*r*s,a[2]=o*r*s+l*i*c,a[3]=o*r*c+l*i*s),a}const Ht=St,Gt=Dt,Wt=It,Qt=zt;class Yt extends Array{constructor(t=0,n=0,l=0,o=1){super(t,n,l,o),this.onChange=()=>{},this._target=this;const i=["0","1","2","3"];return new Proxy(this,{set(r,s){const c=Reflect.set(...arguments);return c&&i.includes(s)&&r.onChange(),c}})}get x(){return this[0]}get y(){return this[1]}get z(){return this[2]}get w(){return this[3]}set x(t){this._target[0]=t,this.onChange()}set y(t){this._target[1]=t,this.onChange()}set z(t){this._target[2]=t,this.onChange()}set w(t){this._target[3]=t,this.onChange()}identity(){return Tt(this._target),this.onChange(),this}set(t,n,l,o){return t.length?this.copy(t):(Gt(this._target,t,n,l,o),this.onChange(),this)}rotateX(t){return Pt(this._target,this._target,t),this.onChange(),this}rotateY(t){return Ft(this._target,this._target,t),this.onChange(),this}rotateZ(t){return Zt(this._target,this._target,t),this.onChange(),this}inverse(t=this._target){return qt(this._target,t),this.onChange(),this}conjugate(t=this._target){return Ot(this._target,t),this.onChange(),this}copy(t){return Ht(this._target,t),this.onChange(),this}normalize(t=this._target){return Qt(this._target,t),this.onChange(),this}multiply(t,n){return n?pe(this._target,t,n):pe(this._target,this._target,t),this.onChange(),this}dot(t){return Wt(this._target,t)}fromMatrix3(t){return Ut(this._target,t),this.onChange(),this}fromEuler(t,n){return jt(this._target,t,t.order),n||this.onChange(),this}fromAxisAngle(t,n){return Lt(this._target,t,n),this.onChange(),this}slerp(t,n){return Rt(this._target,this._target,t,n),this.onChange(),this}fromArray(t,n=0){return this._target[0]=t[n],this._target[1]=t[n+1],this._target[2]=t[n+2],this._target[3]=t[n+3],this.onChange(),this}toArray(t=[],n=0){return t[n]=this[0],t[n+1]=this[1],t[n+2]=this[2],t[n+3]=this[3],t}}const Kt=1e-6;function Jt(a,t){return a[0]=t[0],a[1]=t[1],a[2]=t[2],a[3]=t[3],a[4]=t[4],a[5]=t[5],a[6]=t[6],a[7]=t[7],a[8]=t[8],a[9]=t[9],a[10]=t[10],a[11]=t[11],a[12]=t[12],a[13]=t[13],a[14]=t[14],a[15]=t[15],a}function Xt(a,t,n,l,o,i,r,s,c,d,h,f,p,g,_,m,u){return a[0]=t,a[1]=n,a[2]=l,a[3]=o,a[4]=i,a[5]=r,a[6]=s,a[7]=c,a[8]=d,a[9]=h,a[10]=f,a[11]=p,a[12]=g,a[13]=_,a[14]=m,a[15]=u,a}function ea(a){return a[0]=1,a[1]=0,a[2]=0,a[3]=0,a[4]=0,a[5]=1,a[6]=0,a[7]=0,a[8]=0,a[9]=0,a[10]=1,a[11]=0,a[12]=0,a[13]=0,a[14]=0,a[15]=1,a}function ta(a,t){let n=t[0],l=t[1],o=t[2],i=t[3],r=t[4],s=t[5],c=t[6],d=t[7],h=t[8],f=t[9],p=t[10],g=t[11],_=t[12],m=t[13],u=t[14],v=t[15],V=n*s-l*r,b=n*c-o*r,k=n*d-i*r,w=l*c-o*s,E=l*d-i*s,A=o*d-i*c,D=h*m-f*_,N=h*u-p*_,$=h*v-g*_,S=f*u-p*m,M=f*v-g*m,z=p*v-g*u,B=V*z-b*M+k*S+w*$-E*N+A*D;return B?(B=1/B,a[0]=(s*z-c*M+d*S)*B,a[1]=(o*M-l*z-i*S)*B,a[2]=(m*A-u*E+v*w)*B,a[3]=(p*E-f*A-g*w)*B,a[4]=(c*$-r*z-d*N)*B,a[5]=(n*z-o*$+i*N)*B,a[6]=(u*k-_*A-v*b)*B,a[7]=(h*A-p*k+g*b)*B,a[8]=(r*M-s*$+d*D)*B,a[9]=(l*$-n*M-i*D)*B,a[10]=(_*E-m*k+v*V)*B,a[11]=(f*k-h*E-g*V)*B,a[12]=(s*N-r*S-c*D)*B,a[13]=(n*S-l*N+o*D)*B,a[14]=(m*b-_*w-u*V)*B,a[15]=(h*w-f*b+p*V)*B,a):null}function $e(a){let t=a[0],n=a[1],l=a[2],o=a[3],i=a[4],r=a[5],s=a[6],c=a[7],d=a[8],h=a[9],f=a[10],p=a[11],g=a[12],_=a[13],m=a[14],u=a[15],v=t*r-n*i,V=t*s-l*i,b=t*c-o*i,k=n*s-l*r,w=n*c-o*r,E=l*c-o*s,A=d*_-h*g,D=d*m-f*g,N=d*u-p*g,$=h*m-f*_,S=h*u-p*_,M=f*u-p*m;return v*M-V*S+b*$+k*N-w*D+E*A}function ve(a,t,n){let l=t[0],o=t[1],i=t[2],r=t[3],s=t[4],c=t[5],d=t[6],h=t[7],f=t[8],p=t[9],g=t[10],_=t[11],m=t[12],u=t[13],v=t[14],V=t[15],b=n[0],k=n[1],w=n[2],E=n[3];return a[0]=b*l+k*s+w*f+E*m,a[1]=b*o+k*c+w*p+E*u,a[2]=b*i+k*d+w*g+E*v,a[3]=b*r+k*h+w*_+E*V,b=n[4],k=n[5],w=n[6],E=n[7],a[4]=b*l+k*s+w*f+E*m,a[5]=b*o+k*c+w*p+E*u,a[6]=b*i+k*d+w*g+E*v,a[7]=b*r+k*h+w*_+E*V,b=n[8],k=n[9],w=n[10],E=n[11],a[8]=b*l+k*s+w*f+E*m,a[9]=b*o+k*c+w*p+E*u,a[10]=b*i+k*d+w*g+E*v,a[11]=b*r+k*h+w*_+E*V,b=n[12],k=n[13],w=n[14],E=n[15],a[12]=b*l+k*s+w*f+E*m,a[13]=b*o+k*c+w*p+E*u,a[14]=b*i+k*d+w*g+E*v,a[15]=b*r+k*h+w*_+E*V,a}function aa(a,t,n){let l=n[0],o=n[1],i=n[2],r,s,c,d,h,f,p,g,_,m,u,v;return t===a?(a[12]=t[0]*l+t[4]*o+t[8]*i+t[12],a[13]=t[1]*l+t[5]*o+t[9]*i+t[13],a[14]=t[2]*l+t[6]*o+t[10]*i+t[14],a[15]=t[3]*l+t[7]*o+t[11]*i+t[15]):(r=t[0],s=t[1],c=t[2],d=t[3],h=t[4],f=t[5],p=t[6],g=t[7],_=t[8],m=t[9],u=t[10],v=t[11],a[0]=r,a[1]=s,a[2]=c,a[3]=d,a[4]=h,a[5]=f,a[6]=p,a[7]=g,a[8]=_,a[9]=m,a[10]=u,a[11]=v,a[12]=r*l+h*o+_*i+t[12],a[13]=s*l+f*o+m*i+t[13],a[14]=c*l+p*o+u*i+t[14],a[15]=d*l+g*o+v*i+t[15]),a}function na(a,t,n){let l=n[0],o=n[1],i=n[2];return a[0]=t[0]*l,a[1]=t[1]*l,a[2]=t[2]*l,a[3]=t[3]*l,a[4]=t[4]*o,a[5]=t[5]*o,a[6]=t[6]*o,a[7]=t[7]*o,a[8]=t[8]*i,a[9]=t[9]*i,a[10]=t[10]*i,a[11]=t[11]*i,a[12]=t[12],a[13]=t[13],a[14]=t[14],a[15]=t[15],a}function la(a,t,n,l){let o=l[0],i=l[1],r=l[2],s=Math.hypot(o,i,r),c,d,h,f,p,g,_,m,u,v,V,b,k,w,E,A,D,N,$,S,M,z,B,R;return Math.abs(s)<Kt?null:(s=1/s,o*=s,i*=s,r*=s,c=Math.sin(n),d=Math.cos(n),h=1-d,f=t[0],p=t[1],g=t[2],_=t[3],m=t[4],u=t[5],v=t[6],V=t[7],b=t[8],k=t[9],w=t[10],E=t[11],A=o*o*h+d,D=i*o*h+r*c,N=r*o*h-i*c,$=o*i*h-r*c,S=i*i*h+d,M=r*i*h+o*c,z=o*r*h+i*c,B=i*r*h-o*c,R=r*r*h+d,a[0]=f*A+m*D+b*N,a[1]=p*A+u*D+k*N,a[2]=g*A+v*D+w*N,a[3]=_*A+V*D+E*N,a[4]=f*$+m*S+b*M,a[5]=p*$+u*S+k*M,a[6]=g*$+v*S+w*M,a[7]=_*$+V*S+E*M,a[8]=f*z+m*B+b*R,a[9]=p*z+u*B+k*R,a[10]=g*z+v*B+w*R,a[11]=_*z+V*B+E*R,t!==a&&(a[12]=t[12],a[13]=t[13],a[14]=t[14],a[15]=t[15]),a)}function oa(a,t){return a[0]=t[12],a[1]=t[13],a[2]=t[14],a}function Ae(a,t){let n=t[0],l=t[1],o=t[2],i=t[4],r=t[5],s=t[6],c=t[8],d=t[9],h=t[10];return a[0]=Math.hypot(n,l,o),a[1]=Math.hypot(i,r,s),a[2]=Math.hypot(c,d,h),a}function ra(a){let t=a[0],n=a[1],l=a[2],o=a[4],i=a[5],r=a[6],s=a[8],c=a[9],d=a[10];const h=t*t+n*n+l*l,f=o*o+i*i+r*r,p=s*s+c*c+d*d;return Math.sqrt(Math.max(h,f,p))}const Me=(function(){const a=[1,1,1];return function(t,n){let l=a;Ae(l,n);let o=1/l[0],i=1/l[1],r=1/l[2],s=n[0]*o,c=n[1]*i,d=n[2]*r,h=n[4]*o,f=n[5]*i,p=n[6]*r,g=n[8]*o,_=n[9]*i,m=n[10]*r,u=s+f+m,v=0;return u>0?(v=Math.sqrt(u+1)*2,t[3]=.25*v,t[0]=(p-_)/v,t[1]=(g-d)/v,t[2]=(c-h)/v):s>f&&s>m?(v=Math.sqrt(1+s-f-m)*2,t[3]=(p-_)/v,t[0]=.25*v,t[1]=(c+h)/v,t[2]=(g+d)/v):f>m?(v=Math.sqrt(1+f-s-m)*2,t[3]=(g-d)/v,t[0]=(c+h)/v,t[1]=.25*v,t[2]=(p+_)/v):(v=Math.sqrt(1+m-s-f)*2,t[3]=(c-h)/v,t[0]=(g+d)/v,t[1]=(p+_)/v,t[2]=.25*v),t}})();function ia(a,t,n,l){let o=W([a[0],a[1],a[2]]);const i=W([a[4],a[5],a[6]]),r=W([a[8],a[9],a[10]]);$e(a)<0&&(o=-o),n[0]=a[12],n[1]=a[13],n[2]=a[14];const c=a.slice(),d=1/o,h=1/i,f=1/r;c[0]*=d,c[1]*=d,c[2]*=d,c[4]*=h,c[5]*=h,c[6]*=h,c[8]*=f,c[9]*=f,c[10]*=f,Me(t,c),l[0]=o,l[1]=i,l[2]=r}function sa(a,t,n,l){const o=a,i=t[0],r=t[1],s=t[2],c=t[3],d=i+i,h=r+r,f=s+s,p=i*d,g=i*h,_=i*f,m=r*h,u=r*f,v=s*f,V=c*d,b=c*h,k=c*f,w=l[0],E=l[1],A=l[2];return o[0]=(1-(m+v))*w,o[1]=(g+k)*w,o[2]=(_-b)*w,o[3]=0,o[4]=(g-k)*E,o[5]=(1-(p+v))*E,o[6]=(u+V)*E,o[7]=0,o[8]=(_+b)*A,o[9]=(u-V)*A,o[10]=(1-(p+m))*A,o[11]=0,o[12]=n[0],o[13]=n[1],o[14]=n[2],o[15]=1,o}function ca(a,t){let n=t[0],l=t[1],o=t[2],i=t[3],r=n+n,s=l+l,c=o+o,d=n*r,h=l*r,f=l*s,p=o*r,g=o*s,_=o*c,m=i*r,u=i*s,v=i*c;return a[0]=1-f-_,a[1]=h+v,a[2]=p-u,a[3]=0,a[4]=h-v,a[5]=1-d-_,a[6]=g+m,a[7]=0,a[8]=p+u,a[9]=g-m,a[10]=1-d-f,a[11]=0,a[12]=0,a[13]=0,a[14]=0,a[15]=1,a}function da(a,t,n,l,o){let i=1/Math.tan(t/2),r=1/(l-o);return a[0]=i/n,a[1]=0,a[2]=0,a[3]=0,a[4]=0,a[5]=i,a[6]=0,a[7]=0,a[8]=0,a[9]=0,a[10]=(o+l)*r,a[11]=-1,a[12]=0,a[13]=0,a[14]=2*o*l*r,a[15]=0,a}function ua(a,t,n,l,o,i,r){let s=1/(t-n),c=1/(l-o),d=1/(i-r);return a[0]=-2*s,a[1]=0,a[2]=0,a[3]=0,a[4]=0,a[5]=-2*c,a[6]=0,a[7]=0,a[8]=0,a[9]=0,a[10]=2*d,a[11]=0,a[12]=(t+n)*s,a[13]=(o+l)*c,a[14]=(r+i)*d,a[15]=1,a}function ma(a,t,n,l){let o=t[0],i=t[1],r=t[2],s=l[0],c=l[1],d=l[2],h=o-n[0],f=i-n[1],p=r-n[2],g=h*h+f*f+p*p;g===0?p=1:(g=1/Math.sqrt(g),h*=g,f*=g,p*=g);let _=c*p-d*f,m=d*h-s*p,u=s*f-c*h;return g=_*_+m*m+u*u,g===0&&(d?s+=1e-6:c?d+=1e-6:c+=1e-6,_=c*p-d*f,m=d*h-s*p,u=s*f-c*h,g=_*_+m*m+u*u),g=1/Math.sqrt(g),_*=g,m*=g,u*=g,a[0]=_,a[1]=m,a[2]=u,a[3]=0,a[4]=f*u-p*m,a[5]=p*_-h*u,a[6]=h*m-f*_,a[7]=0,a[8]=h,a[9]=f,a[10]=p,a[11]=0,a[12]=o,a[13]=i,a[14]=r,a[15]=1,a}function ge(a,t,n){return a[0]=t[0]+n[0],a[1]=t[1]+n[1],a[2]=t[2]+n[2],a[3]=t[3]+n[3],a[4]=t[4]+n[4],a[5]=t[5]+n[5],a[6]=t[6]+n[6],a[7]=t[7]+n[7],a[8]=t[8]+n[8],a[9]=t[9]+n[9],a[10]=t[10]+n[10],a[11]=t[11]+n[11],a[12]=t[12]+n[12],a[13]=t[13]+n[13],a[14]=t[14]+n[14],a[15]=t[15]+n[15],a}function _e(a,t,n){return a[0]=t[0]-n[0],a[1]=t[1]-n[1],a[2]=t[2]-n[2],a[3]=t[3]-n[3],a[4]=t[4]-n[4],a[5]=t[5]-n[5],a[6]=t[6]-n[6],a[7]=t[7]-n[7],a[8]=t[8]-n[8],a[9]=t[9]-n[9],a[10]=t[10]-n[10],a[11]=t[11]-n[11],a[12]=t[12]-n[12],a[13]=t[13]-n[13],a[14]=t[14]-n[14],a[15]=t[15]-n[15],a}function ha(a,t,n){return a[0]=t[0]*n,a[1]=t[1]*n,a[2]=t[2]*n,a[3]=t[3]*n,a[4]=t[4]*n,a[5]=t[5]*n,a[6]=t[6]*n,a[7]=t[7]*n,a[8]=t[8]*n,a[9]=t[9]*n,a[10]=t[10]*n,a[11]=t[11]*n,a[12]=t[12]*n,a[13]=t[13]*n,a[14]=t[14]*n,a[15]=t[15]*n,a}class Y extends Array{constructor(t=1,n=0,l=0,o=0,i=0,r=1,s=0,c=0,d=0,h=0,f=1,p=0,g=0,_=0,m=0,u=1){return super(t,n,l,o,i,r,s,c,d,h,f,p,g,_,m,u),this}get x(){return this[12]}get y(){return this[13]}get z(){return this[14]}get w(){return this[15]}set x(t){this[12]=t}set y(t){this[13]=t}set z(t){this[14]=t}set w(t){this[15]=t}set(t,n,l,o,i,r,s,c,d,h,f,p,g,_,m,u){return t.length?this.copy(t):(Xt(this,t,n,l,o,i,r,s,c,d,h,f,p,g,_,m,u),this)}translate(t,n=this){return aa(this,n,t),this}rotate(t,n,l=this){return la(this,l,t,n),this}scale(t,n=this){return na(this,n,typeof t=="number"?[t,t,t]:t),this}add(t,n){return n?ge(this,t,n):ge(this,this,t),this}sub(t,n){return n?_e(this,t,n):_e(this,this,t),this}multiply(t,n){return t.length?n?ve(this,t,n):ve(this,this,t):ha(this,this,t),this}identity(){return ea(this),this}copy(t){return Jt(this,t),this}fromPerspective({fov:t,aspect:n,near:l,far:o}={}){return da(this,t,n,l,o),this}fromOrthogonal({left:t,right:n,bottom:l,top:o,near:i,far:r}){return ua(this,t,n,l,o,i,r),this}fromQuaternion(t){return ca(this,t),this}setPosition(t){return this.x=t[0],this.y=t[1],this.z=t[2],this}inverse(t=this){return ta(this,t),this}compose(t,n,l){return sa(this,t,n,l),this}decompose(t,n,l){return ia(this,t,n,l),this}getRotation(t){return Me(t,this),this}getTranslation(t){return oa(t,this),this}getScaling(t){return Ae(t,this),this}getMaxScaleOnAxis(){return ra(this)}lookAt(t,n,l){return ma(this,t,n,l),this}determinant(){return $e(this)}fromArray(t,n=0){return this[0]=t[n],this[1]=t[n+1],this[2]=t[n+2],this[3]=t[n+3],this[4]=t[n+4],this[5]=t[n+5],this[6]=t[n+6],this[7]=t[n+7],this[8]=t[n+8],this[9]=t[n+9],this[10]=t[n+10],this[11]=t[n+11],this[12]=t[n+12],this[13]=t[n+13],this[14]=t[n+14],this[15]=t[n+15],this}toArray(t=[],n=0){return t[n]=this[0],t[n+1]=this[1],t[n+2]=this[2],t[n+3]=this[3],t[n+4]=this[4],t[n+5]=this[5],t[n+6]=this[6],t[n+7]=this[7],t[n+8]=this[8],t[n+9]=this[9],t[n+10]=this[10],t[n+11]=this[11],t[n+12]=this[12],t[n+13]=this[13],t[n+14]=this[14],t[n+15]=this[15],t}}function fa(a,t,n="YXZ"){return n==="XYZ"?(a[1]=Math.asin(Math.min(Math.max(t[8],-1),1)),Math.abs(t[8])<.99999?(a[0]=Math.atan2(-t[9],t[10]),a[2]=Math.atan2(-t[4],t[0])):(a[0]=Math.atan2(t[6],t[5]),a[2]=0)):n==="YXZ"?(a[0]=Math.asin(-Math.min(Math.max(t[9],-1),1)),Math.abs(t[9])<.99999?(a[1]=Math.atan2(t[8],t[10]),a[2]=Math.atan2(t[1],t[5])):(a[1]=Math.atan2(-t[2],t[0]),a[2]=0)):n==="ZXY"?(a[0]=Math.asin(Math.min(Math.max(t[6],-1),1)),Math.abs(t[6])<.99999?(a[1]=Math.atan2(-t[2],t[10]),a[2]=Math.atan2(-t[4],t[5])):(a[1]=0,a[2]=Math.atan2(t[1],t[0]))):n==="ZYX"?(a[1]=Math.asin(-Math.min(Math.max(t[2],-1),1)),Math.abs(t[2])<.99999?(a[0]=Math.atan2(t[6],t[10]),a[2]=Math.atan2(t[1],t[0])):(a[0]=0,a[2]=Math.atan2(-t[4],t[5]))):n==="YZX"?(a[2]=Math.asin(Math.min(Math.max(t[1],-1),1)),Math.abs(t[1])<.99999?(a[0]=Math.atan2(-t[9],t[5]),a[1]=Math.atan2(-t[2],t[0])):(a[0]=0,a[1]=Math.atan2(t[8],t[10]))):n==="XZY"&&(a[2]=Math.asin(-Math.min(Math.max(t[4],-1),1)),Math.abs(t[4])<.99999?(a[0]=Math.atan2(t[6],t[5]),a[1]=Math.atan2(t[8],t[0])):(a[0]=Math.atan2(-t[9],t[10]),a[1]=0)),a}const ke=new Y;class pa extends Array{constructor(t=0,n=t,l=t,o="YXZ"){super(t,n,l),this.order=o,this.onChange=()=>{},this._target=this;const i=["0","1","2"];return new Proxy(this,{set(r,s){const c=Reflect.set(...arguments);return c&&i.includes(s)&&r.onChange(),c}})}get x(){return this[0]}get y(){return this[1]}get z(){return this[2]}set x(t){this._target[0]=t,this.onChange()}set y(t){this._target[1]=t,this.onChange()}set z(t){this._target[2]=t,this.onChange()}set(t,n=t,l=t){return t.length?this.copy(t):(this._target[0]=t,this._target[1]=n,this._target[2]=l,this.onChange(),this)}copy(t){return this._target[0]=t[0],this._target[1]=t[1],this._target[2]=t[2],this.onChange(),this}reorder(t){return this._target.order=t,this.onChange(),this}fromRotationMatrix(t,n=this.order){return fa(this._target,t,n),this.onChange(),this}fromQuaternion(t,n=this.order,l){return ke.fromQuaternion(t),this._target.fromRotationMatrix(ke,n),l||this.onChange(),this}fromArray(t,n=0){return this._target[0]=t[n],this._target[1]=t[n+1],this._target[2]=t[n+2],this}toArray(t=[],n=0){return t[n]=this[0],t[n+1]=this[1],t[n+2]=this[2],t}}class va{constructor(){this.parent=null,this.children=[],this.visible=!0,this.matrix=new Y,this.worldMatrix=new Y,this.matrixAutoUpdate=!0,this.worldMatrixNeedsUpdate=!1,this.position=new F,this.quaternion=new Yt,this.scale=new F(1),this.rotation=new pa,this.up=new F(0,1,0),this.rotation._target.onChange=()=>this.quaternion.fromEuler(this.rotation,!0),this.quaternion._target.onChange=()=>this.rotation.fromQuaternion(this.quaternion,void 0,!0)}setParent(t,n=!0){this.parent&&t!==this.parent&&this.parent.removeChild(this,!1),this.parent=t,n&&t&&t.addChild(this,!1)}addChild(t,n=!0){~this.children.indexOf(t)||this.children.push(t),n&&t.setParent(this,!1)}removeChild(t,n=!0){~this.children.indexOf(t)&&this.children.splice(this.children.indexOf(t),1),n&&t.setParent(null,!1)}updateMatrixWorld(t){this.matrixAutoUpdate&&this.updateMatrix(),(this.worldMatrixNeedsUpdate||t)&&(this.parent===null?this.worldMatrix.copy(this.matrix):this.worldMatrix.multiply(this.parent.worldMatrix,this.matrix),this.worldMatrixNeedsUpdate=!1,t=!0);for(let n=0,l=this.children.length;n<l;n++)this.children[n].updateMatrixWorld(t)}updateMatrix(){this.matrix.compose(this.quaternion,this.position,this.scale),this.worldMatrixNeedsUpdate=!0}traverse(t){if(!t(this))for(let n=0,l=this.children.length;n<l;n++)this.children[n].traverse(t)}decompose(){this.matrix.decompose(this.quaternion._target,this.position,this.scale),this.rotation.fromQuaternion(this.quaternion)}lookAt(t,n=!1){n?this.matrix.lookAt(this.position,t,this.up):this.matrix.lookAt(t,this.position,this.up),this.matrix.getRotation(this.quaternion._target),this.rotation.fromQuaternion(this.quaternion)}}function ga(a,t){return a[0]=t[0],a[1]=t[1],a[2]=t[2],a[3]=t[4],a[4]=t[5],a[5]=t[6],a[6]=t[8],a[7]=t[9],a[8]=t[10],a}function _a(a,t){let n=t[0],l=t[1],o=t[2],i=t[3],r=n+n,s=l+l,c=o+o,d=n*r,h=l*r,f=l*s,p=o*r,g=o*s,_=o*c,m=i*r,u=i*s,v=i*c;return a[0]=1-f-_,a[3]=h-v,a[6]=p+u,a[1]=h+v,a[4]=1-d-_,a[7]=g-m,a[2]=p-u,a[5]=g+m,a[8]=1-d-f,a}function ka(a,t){return a[0]=t[0],a[1]=t[1],a[2]=t[2],a[3]=t[3],a[4]=t[4],a[5]=t[5],a[6]=t[6],a[7]=t[7],a[8]=t[8],a}function Va(a,t,n,l,o,i,r,s,c,d){return a[0]=t,a[1]=n,a[2]=l,a[3]=o,a[4]=i,a[5]=r,a[6]=s,a[7]=c,a[8]=d,a}function wa(a){return a[0]=1,a[1]=0,a[2]=0,a[3]=0,a[4]=1,a[5]=0,a[6]=0,a[7]=0,a[8]=1,a}function ba(a,t){let n=t[0],l=t[1],o=t[2],i=t[3],r=t[4],s=t[5],c=t[6],d=t[7],h=t[8],f=h*r-s*d,p=-h*i+s*c,g=d*i-r*c,_=n*f+l*p+o*g;return _?(_=1/_,a[0]=f*_,a[1]=(-h*l+o*d)*_,a[2]=(s*l-o*r)*_,a[3]=p*_,a[4]=(h*n-o*c)*_,a[5]=(-s*n+o*i)*_,a[6]=g*_,a[7]=(-d*n+l*c)*_,a[8]=(r*n-l*i)*_,a):null}function Ve(a,t,n){let l=t[0],o=t[1],i=t[2],r=t[3],s=t[4],c=t[5],d=t[6],h=t[7],f=t[8],p=n[0],g=n[1],_=n[2],m=n[3],u=n[4],v=n[5],V=n[6],b=n[7],k=n[8];return a[0]=p*l+g*r+_*d,a[1]=p*o+g*s+_*h,a[2]=p*i+g*c+_*f,a[3]=m*l+u*r+v*d,a[4]=m*o+u*s+v*h,a[5]=m*i+u*c+v*f,a[6]=V*l+b*r+k*d,a[7]=V*o+b*s+k*h,a[8]=V*i+b*c+k*f,a}function Ea(a,t,n){let l=t[0],o=t[1],i=t[2],r=t[3],s=t[4],c=t[5],d=t[6],h=t[7],f=t[8],p=n[0],g=n[1];return a[0]=l,a[1]=o,a[2]=i,a[3]=r,a[4]=s,a[5]=c,a[6]=p*l+g*r+d,a[7]=p*o+g*s+h,a[8]=p*i+g*c+f,a}function ya(a,t,n){let l=t[0],o=t[1],i=t[2],r=t[3],s=t[4],c=t[5],d=t[6],h=t[7],f=t[8],p=Math.sin(n),g=Math.cos(n);return a[0]=g*l+p*r,a[1]=g*o+p*s,a[2]=g*i+p*c,a[3]=g*r-p*l,a[4]=g*s-p*o,a[5]=g*c-p*i,a[6]=d,a[7]=h,a[8]=f,a}function Na(a,t,n){let l=n[0],o=n[1];return a[0]=l*t[0],a[1]=l*t[1],a[2]=l*t[2],a[3]=o*t[3],a[4]=o*t[4],a[5]=o*t[5],a[6]=t[6],a[7]=t[7],a[8]=t[8],a}function xa(a,t){let n=t[0],l=t[1],o=t[2],i=t[3],r=t[4],s=t[5],c=t[6],d=t[7],h=t[8],f=t[9],p=t[10],g=t[11],_=t[12],m=t[13],u=t[14],v=t[15],V=n*s-l*r,b=n*c-o*r,k=n*d-i*r,w=l*c-o*s,E=l*d-i*s,A=o*d-i*c,D=h*m-f*_,N=h*u-p*_,$=h*v-g*_,S=f*u-p*m,M=f*v-g*m,z=p*v-g*u,B=V*z-b*M+k*S+w*$-E*N+A*D;return B?(B=1/B,a[0]=(s*z-c*M+d*S)*B,a[1]=(c*$-r*z-d*N)*B,a[2]=(r*M-s*$+d*D)*B,a[3]=(o*M-l*z-i*S)*B,a[4]=(n*z-o*$+i*N)*B,a[5]=(l*$-n*M-i*D)*B,a[6]=(m*A-u*E+v*w)*B,a[7]=(u*k-_*A-v*b)*B,a[8]=(_*E-m*k+v*V)*B,a):null}class Ba extends Array{constructor(t=1,n=0,l=0,o=0,i=1,r=0,s=0,c=0,d=1){return super(t,n,l,o,i,r,s,c,d),this}set(t,n,l,o,i,r,s,c,d){return t.length?this.copy(t):(Va(this,t,n,l,o,i,r,s,c,d),this)}translate(t,n=this){return Ea(this,n,t),this}rotate(t,n=this){return ya(this,n,t),this}scale(t,n=this){return Na(this,n,t),this}multiply(t,n){return n?Ve(this,t,n):Ve(this,this,t),this}identity(){return wa(this),this}copy(t){return ka(this,t),this}fromMatrix4(t){return ga(this,t),this}fromQuaternion(t){return _a(this,t),this}fromBasis(t,n,l){return this.set(t[0],t[1],t[2],n[0],n[1],n[2],l[0],l[1],l[2]),this}inverse(t=this){return ba(this,t),this}getNormalMatrix(t){return xa(this,t),this}}let Ca=0;class $a extends va{constructor(t,{geometry:n,program:l,mode:o=t.TRIANGLES,frustumCulled:i=!0,renderOrder:r=0}={}){super(),t.canvas||console.error("gl not passed as first argument to Mesh"),this.gl=t,this.id=Ca++,this.geometry=n,this.program=l,this.mode=o,this.frustumCulled=i,this.renderOrder=r,this.modelViewMatrix=new Y,this.normalMatrix=new Ba,this.beforeRenderCallbacks=[],this.afterRenderCallbacks=[]}onBeforeRender(t){return this.beforeRenderCallbacks.push(t),this}onAfterRender(t){return this.afterRenderCallbacks.push(t),this}draw({camera:t}={}){t&&(this.program.uniforms.modelMatrix||Object.assign(this.program.uniforms,{modelMatrix:{value:null},viewMatrix:{value:null},modelViewMatrix:{value:null},normalMatrix:{value:null},projectionMatrix:{value:null},cameraPosition:{value:null}}),this.program.uniforms.projectionMatrix.value=t.projectionMatrix,this.program.uniforms.cameraPosition.value=t.worldPosition,this.program.uniforms.viewMatrix.value=t.viewMatrix,this.modelViewMatrix.multiply(t.viewMatrix,this.worldMatrix),this.normalMatrix.getNormalMatrix(this.modelViewMatrix),this.program.uniforms.modelMatrix.value=this.worldMatrix,this.program.uniforms.modelViewMatrix.value=this.modelViewMatrix,this.program.uniforms.normalMatrix.value=this.normalMatrix),this.beforeRenderCallbacks.forEach(l=>l&&l({mesh:this,camera:t}));let n=this.program.cullFace&&this.worldMatrix.determinant()<0;this.program.use({flipFaces:n}),this.geometry.draw({mode:this.mode,program:this.program}),this.afterRenderCallbacks.forEach(l=>l&&l({mesh:this,camera:t}))}}const we={black:"#000000",white:"#ffffff",red:"#ff0000",green:"#00ff00",blue:"#0000ff",fuchsia:"#ff00ff",cyan:"#00ffff",yellow:"#ffff00",orange:"#ff8000"};function be(a){a.length===4&&(a=a[0]+a[1]+a[1]+a[2]+a[2]+a[3]+a[3]);const t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(a);return t||console.warn(`Unable to convert hex string ${a} to rgb values`),[parseInt(t[1],16)/255,parseInt(t[2],16)/255,parseInt(t[3],16)/255]}function Aa(a){return a=parseInt(a),[(a>>16&255)/255,(a>>8&255)/255,(a&255)/255]}function Ee(a){return a===void 0?[0,0,0]:arguments.length===3?arguments:isNaN(a)?a[0]==="#"?be(a):we[a.toLowerCase()]?be(we[a.toLowerCase()]):(console.warn("Color format not recognised"),[0,0,0]):Aa(a)}class ye extends Array{constructor(t){return Array.isArray(t)?super(...t):super(...Ee(...arguments))}get r(){return this[0]}get g(){return this[1]}get b(){return this[2]}set r(t){this[0]=t}set g(t){this[1]=t}set b(t){this[2]=t}set(t){return Array.isArray(t)?this.copy(t):this.copy(Ee(...arguments))}copy(t){return this[0]=t[0],this[1]=t[1],this[2]=t[2],this}}class Ma extends yt{constructor(t,{attributes:n={}}={}){Object.assign(n,{position:{size:2,data:new Float32Array([-1,-1,3,-1,-1,3])},uv:{size:2,data:new Float32Array([0,0,2,0,0,2])}}),super(t,n)}}const Sa=`
8
8
  attribute vec2 uv;
9
9
  attribute vec2 position;
10
10
 
@@ -14,7 +14,7 @@ void main() {
14
14
  vUv = uv;
15
15
  gl_Position = vec4(position, 0, 1);
16
16
  }
17
- `,za=e.defineComponent({__name:"GradientMesh",props:{colors:{default:()=>["#667eea","#764ba2","#f093fb"]},distortion:{default:8},swirl:{default:.2},speed:{default:1},scale:{default:1},offsetX:{default:0},offsetY:{default:0},rotation:{default:90},waveAmp:{default:.2},waveFreq:{default:20},waveSpeed:{default:.2},grain:{default:.06}},setup(a){const t=a,n=e.ref(null),l=c=>`
17
+ `,Da=e.defineComponent({__name:"GradientMesh",props:{colors:{default:()=>["#667eea","#764ba2","#f093fb"]},distortion:{default:8},swirl:{default:.2},speed:{default:1},scale:{default:1},offsetX:{default:0},offsetY:{default:0},rotation:{default:90},waveAmp:{default:.2},waveFreq:{default:20},waveSpeed:{default:.2},grain:{default:.06}},setup(a){const t=a,n=e.ref(null),l=c=>`
18
18
  precision highp float;
19
19
 
20
20
  uniform float uTime;
@@ -87,4 +87,4 @@ void main() {
87
87
 
88
88
  gl_FragColor = vec4(col, 1.0);
89
89
  }
90
- `,o=c=>{const d=c.replace("#",""),h=parseInt(d.substring(0,2),16)/255,f=parseInt(d.substring(2,4),16)/255,p=parseInt(d.substring(4,6),16)/255;return[h,f,p]};let i=null,r=null;const s=()=>{if(!n.value)return;const c=n.value;r=new Mt;const d=r.gl;d.clearColor(0,0,0,1);const h=()=>{!r||!c||r.setSize(c.offsetWidth,c.offsetHeight)};window.addEventListener("resize",h,!1),h();const f=new Ma(d),p=t.colors.slice(0,3).map(o),g={uTime:{value:0},uSwirl:{value:t.swirl},uSpeed:{value:t.speed},uScale:{value:t.scale},uOffsetX:{value:t.offsetX},uOffsetY:{value:t.offsetY},uRotation:{value:t.rotation},uWaveAmp:{value:t.waveAmp},uWaveFreq:{value:t.waveFreq},uWaveSpeed:{value:t.waveSpeed},uResolution:{value:new ye(d.canvas.width,d.canvas.height,d.canvas.width/d.canvas.height)},uGrain:{value:t.grain}},_=["A","B","C"];p.forEach((V,b)=>{g[`uColor${_[b]}`]={value:new ye(...V)}});const m=new xt(d,{vertex:Da,fragment:l(t.distortion),uniforms:g}),u=new $a(d,{geometry:f,program:m}),v=V=>{i=requestAnimationFrame(v),m.uniforms.uTime.value=V*.001,r&&r.render({scene:u})};return i=requestAnimationFrame(v),c.appendChild(d.canvas),()=>{i!==null&&(cancelAnimationFrame(i),i=null),window.removeEventListener("resize",h),c&&d.canvas&&c.contains(d.canvas)&&c.removeChild(d.canvas),d.getExtension("WEBGL_lose_context")?.loseContext()}};return e.onMounted(()=>{const c=s();e.onBeforeUnmount(()=>{c&&c()})}),e.watch(()=>[t.colors,t.distortion,t.swirl,t.speed,t.scale,t.offsetX,t.offsetY,t.rotation,t.waveAmp,t.waveFreq,t.waveSpeed,t.grain],()=>{if(i!==null&&cancelAnimationFrame(i),n.value&&r){const c=r.gl;c.canvas&&n.value.contains(c.canvas)&&n.value.removeChild(c.canvas)}s()},{deep:!0}),(c,d)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"ctnDom",ref:n,class:"gradient-mesh"},null,512))}}),Aa=x(za,[["__scopeId","data-v-184f753a"]]);function Ia(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5M16.5 12 12 16.5m0 0L7.5 12m4.5 4.5V3"})])}function Ta(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M19.5 13.5 12 21m0 0-7.5-7.5M12 21V3"})])}function La(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M10.5 19.5 3 12m0 0 7.5-7.5M3 12h18"})])}function Fa(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0 3.181 3.183a8.25 8.25 0 0 0 13.803-3.7M4.031 9.865a8.25 8.25 0 0 1 13.803-3.7l3.181 3.182m0-4.991v4.99"})])}function Pa(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 9V5.25A2.25 2.25 0 0 0 13.5 3h-6a2.25 2.25 0 0 0-2.25 2.25v13.5A2.25 2.25 0 0 0 7.5 21h6a2.25 2.25 0 0 0 2.25-2.25V15m3 0 3-3m0 0-3-3m3 3H9"})])}function Za(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M13.5 4.5 21 12m0 0-7.5 7.5M21 12H3"})])}function Ra(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5m-13.5-9L12 3m0 0 4.5 4.5M12 3v13.5"})])}function qa(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M4.5 10.5 12 3m0 0 7.5 7.5M12 3v18"})])}function Oa(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M9 15 3 9m0 0 6-6M3 9h12a6 6 0 0 1 0 12h-3"})])}function Ua(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M2.25 18.75a60.07 60.07 0 0 1 15.797 2.101c.727.198 1.453-.342 1.453-1.096V18.75M3.75 4.5v.75A.75.75 0 0 1 3 6h-.75m0 0v-.375c0-.621.504-1.125 1.125-1.125H20.25M2.25 6v9m18-10.5v.75c0 .414.336.75.75.75h.75m-1.5-1.5h.375c.621 0 1.125.504 1.125 1.125v9.75c0 .621-.504 1.125-1.125 1.125h-.375m1.5-1.5H21a.75.75 0 0 0-.75.75v.75m0 0H3.75m0 0h-.375a1.125 1.125 0 0 1-1.125-1.125V15m1.5 1.5v-.75A.75.75 0 0 0 3 15h-.75M15 10.5a3 3 0 1 1-6 0 3 3 0 0 1 6 0Zm3 0h.008v.008H18V10.5Zm-12 0h.008v.008H6V10.5Z"})])}function ja(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"})])}function Ha(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M14.857 17.082a23.848 23.848 0 0 0 5.454-1.31A8.967 8.967 0 0 1 18 9.75V9A6 6 0 0 0 6 9v.75a8.967 8.967 0 0 1-2.312 6.022c1.733.64 3.56 1.085 5.455 1.31m5.714 0a24.255 24.255 0 0 1-5.714 0m5.714 0a3 3 0 1 1-5.714 0"})])}function Ga(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m3.75 13.5 10.5-11.25L12 10.5h8.25L9.75 21.75 12 13.5H3.75Z"})])}function Wa(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M3.75 21h16.5M4.5 3h15M5.25 3v18m13.5-18v18M9 6.75h1.5m-1.5 3h1.5m-1.5 3h1.5m3-6H15m-1.5 3H15m-1.5 3H15M9 21v-3.375c0-.621.504-1.125 1.125-1.125h3.75c.621 0 1.125.504 1.125 1.125V21"})])}function Xa(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 15.75V18m-7.5-6.75h.008v.008H8.25v-.008Zm0 2.25h.008v.008H8.25V13.5Zm0 2.25h.008v.008H8.25v-.008Zm0 2.25h.008v.008H8.25V18Zm2.498-6.75h.007v.008h-.007v-.008Zm0 2.25h.007v.008h-.007V13.5Zm0 2.25h.007v.008h-.007v-.008Zm0 2.25h.007v.008h-.007V18Zm2.504-6.75h.008v.008h-.008v-.008Zm0 2.25h.008v.008h-.008V13.5Zm0 2.25h.008v.008h-.008v-.008Zm0 2.25h.008v.008h-.008V18Zm2.498-6.75h.008v.008h-.008v-.008Zm0 2.25h.008v.008h-.008V13.5ZM8.25 6h7.5v2.25h-7.5V6ZM12 2.25c-1.892 0-3.758.11-5.593.322C5.307 2.7 4.5 3.65 4.5 4.757V19.5a2.25 2.25 0 0 0 2.25 2.25h10.5a2.25 2.25 0 0 0 2.25-2.25V4.757c0-1.108-.806-2.057-1.907-2.185A48.507 48.507 0 0 0 12 2.25Z"})])}function Ya(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6.75 3v2.25M17.25 3v2.25M3 18.75V7.5a2.25 2.25 0 0 1 2.25-2.25h13.5A2.25 2.25 0 0 1 21 7.5v11.25m-18 0A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75m-18 0v-7.5A2.25 2.25 0 0 1 5.25 9h13.5A2.25 2.25 0 0 1 21 11.25v7.5"})])}function Ka(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M3 13.125C3 12.504 3.504 12 4.125 12h2.25c.621 0 1.125.504 1.125 1.125v6.75C7.5 20.496 6.996 21 6.375 21h-2.25A1.125 1.125 0 0 1 3 19.875v-6.75ZM9.75 8.625c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125v11.25c0 .621-.504 1.125-1.125 1.125h-2.25a1.125 1.125 0 0 1-1.125-1.125V8.625ZM16.5 4.125c0-.621.504-1.125 1.125-1.125h2.25C20.496 3 21 3.504 21 4.125v15.75c0 .621-.504 1.125-1.125 1.125h-2.25a1.125 1.125 0 0 1-1.125-1.125V4.125Z"})])}function Qa(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M10.5 6a7.5 7.5 0 1 0 7.5 7.5h-7.5V6Z"}),e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M13.5 10.5H21A7.5 7.5 0 0 0 13.5 3v7.5Z"})])}function Ja(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M20.25 8.511c.884.284 1.5 1.128 1.5 2.097v4.286c0 1.136-.847 2.1-1.98 2.193-.34.027-.68.052-1.02.072v3.091l-3-3c-1.354 0-2.694-.055-4.02-.163a2.115 2.115 0 0 1-.825-.242m9.345-8.334a2.126 2.126 0 0 0-.476-.095 48.64 48.64 0 0 0-8.048 0c-1.131.094-1.976 1.057-1.976 2.192v4.286c0 .837.46 1.58 1.155 1.951m9.345-8.334V6.637c0-1.621-1.152-3.026-2.76-3.235A48.455 48.455 0 0 0 11.25 3c-2.115 0-4.198.137-6.24.402-1.608.209-2.76 1.614-2.76 3.235v6.226c0 1.621 1.152 3.026 2.76 3.235.577.075 1.157.14 1.74.194V21l4.155-4.155"})])}function en(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"})])}function tn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m4.5 12.75 6 6 9-13.5"})])}function an(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m19.5 8.25-7.5 7.5-7.5-7.5"})])}function nn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 19.5 8.25 12l7.5-7.5"})])}function ln(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m8.25 4.5 7.5 7.5-7.5 7.5"})])}function on(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m4.5 15.75 7.5-7.5 7.5 7.5"})])}function rn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 6v6h4.5m4.5 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"})])}function sn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M9.594 3.94c.09-.542.56-.94 1.11-.94h2.593c.55 0 1.02.398 1.11.94l.213 1.281c.063.374.313.686.645.87.074.04.147.083.22.127.325.196.72.257 1.075.124l1.217-.456a1.125 1.125 0 0 1 1.37.49l1.296 2.247a1.125 1.125 0 0 1-.26 1.431l-1.003.827c-.293.241-.438.613-.43.992a7.723 7.723 0 0 1 0 .255c-.008.378.137.75.43.991l1.004.827c.424.35.534.955.26 1.43l-1.298 2.247a1.125 1.125 0 0 1-1.369.491l-1.217-.456c-.355-.133-.75-.072-1.076.124a6.47 6.47 0 0 1-.22.128c-.331.183-.581.495-.644.869l-.213 1.281c-.09.543-.56.94-1.11.94h-2.594c-.55 0-1.019-.398-1.11-.94l-.213-1.281c-.062-.374-.312-.686-.644-.87a6.52 6.52 0 0 1-.22-.127c-.325-.196-.72-.257-1.076-.124l-1.217.456a1.125 1.125 0 0 1-1.369-.49l-1.297-2.247a1.125 1.125 0 0 1 .26-1.431l1.004-.827c.292-.24.437-.613.43-.991a6.932 6.932 0 0 1 0-.255c.007-.38-.138-.751-.43-.992l-1.004-.827a1.125 1.125 0 0 1-.26-1.43l1.297-2.247a1.125 1.125 0 0 1 1.37-.491l1.216.456c.356.133.751.072 1.076-.124.072-.044.146-.086.22-.128.332-.183.582-.495.644-.869l.214-1.28Z"}),e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"})])}function cn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M10.125 2.25h-4.5c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125v-9M10.125 2.25h.375a9 9 0 0 1 9 9v.375M10.125 2.25A3.375 3.375 0 0 1 13.5 5.625v1.5c0 .621.504 1.125 1.125 1.125h1.5a3.375 3.375 0 0 1 3.375 3.375M9 15l2.25 2.25L15 12"})])}function dn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m0 12.75h7.5m-7.5 3H12M10.5 2.25H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"})])}function un(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M21.75 6.75v10.5a2.25 2.25 0 0 1-2.25 2.25h-15a2.25 2.25 0 0 1-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0 0 19.5 4.5h-15a2.25 2.25 0 0 0-2.25 2.25m19.5 0v.243a2.25 2.25 0 0 1-1.07 1.916l-7.5 4.615a2.25 2.25 0 0 1-2.36 0L3.32 8.91a2.25 2.25 0 0 1-1.07-1.916V6.75"})])}function mn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 9v3.75m9-.75a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9 3.75h.008v.008H12v-.008Z"})])}function hn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126ZM12 15.75h.007v.008H12v-.008Z"})])}function fn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M3.98 8.223A10.477 10.477 0 0 0 1.934 12C3.226 16.338 7.244 19.5 12 19.5c.993 0 1.953-.138 2.863-.395M6.228 6.228A10.451 10.451 0 0 1 12 4.5c4.756 0 8.773 3.162 10.065 7.498a10.522 10.522 0 0 1-4.293 5.774M6.228 6.228 3 3m3.228 3.228 3.65 3.65m7.894 7.894L21 21m-3.228-3.228-3.65-3.65m0 0a3 3 0 1 0-4.243-4.243m4.242 4.242L9.88 9.88"})])}function pn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M2.036 12.322a1.012 1.012 0 0 1 0-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178Z"}),e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"})])}function vn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m2.25 12 8.954-8.955c.44-.439 1.152-.439 1.591 0L21.75 12M4.5 9.75v10.125c0 .621.504 1.125 1.125 1.125H9.75v-4.875c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125V21h4.125c.621 0 1.125-.504 1.125-1.125V9.75M8.25 21h8.25"})])}function gn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15 9h3.75M15 12h3.75M15 15h3.75M4.5 19.5h15a2.25 2.25 0 0 0 2.25-2.25V6.75A2.25 2.25 0 0 0 19.5 4.5h-15a2.25 2.25 0 0 0-2.25 2.25v10.5A2.25 2.25 0 0 0 4.5 19.5Zm6-10.125a1.875 1.875 0 1 1-3.75 0 1.875 1.875 0 0 1 3.75 0Zm1.294 6.336a6.721 6.721 0 0 1-3.17.789 6.721 6.721 0 0 1-3.168-.789 3.376 3.376 0 0 1 6.338 0Z"})])}function _n(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z"})])}function kn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M8.25 6.75h12M8.25 12h12m-12 5.25h12M3.75 6.75h.007v.008H3.75V6.75Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0ZM3.75 12h.007v.008H3.75V12Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm-.375 5.25h.007v.008H3.75v-.008Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z"})])}function Vn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z"})])}function wn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M5 12h14"})])}function bn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L6.832 19.82a4.5 4.5 0 0 1-1.897 1.13l-2.685.8.8-2.685a4.5 4.5 0 0 1 1.13-1.897L16.863 4.487Zm0 0L19.5 7.125"})])}function En(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M2.25 6.75c0 8.284 6.716 15 15 15h2.25a2.25 2.25 0 0 0 2.25-2.25v-1.372c0-.516-.351-.966-.852-1.091l-4.423-1.106c-.44-.11-.902.055-1.173.417l-.97 1.293c-.282.376-.769.542-1.21.38a12.035 12.035 0 0 1-7.143-7.143c-.162-.441.004-.928.38-1.21l1.293-.97c.363-.271.527-.734.417-1.173L6.963 3.102a1.125 1.125 0 0 0-1.091-.852H4.5A2.25 2.25 0 0 0 2.25 4.5v2.25Z"})])}function yn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m2.25 15.75 5.159-5.159a2.25 2.25 0 0 1 3.182 0l5.159 5.159m-1.5-1.5 1.409-1.409a2.25 2.25 0 0 1 3.182 0l2.909 2.909m-18 3.75h16.5a1.5 1.5 0 0 0 1.5-1.5V6a1.5 1.5 0 0 0-1.5-1.5H3.75A1.5 1.5 0 0 0 2.25 6v12a1.5 1.5 0 0 0 1.5 1.5Zm10.5-11.25h.008v.008h-.008V8.25Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z"})])}function Nn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 4.5v15m7.5-7.5h-15"})])}function Ne(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M9.879 7.519c1.171-1.025 3.071-1.025 4.242 0 1.172 1.025 1.172 2.687 0 3.712-.203.179-.43.326-.67.442-.745.361-1.45.999-1.45 1.827v.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9 5.25h.008v.008H12v-.008Z"})])}function xn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M9 12.75 11.25 15 15 9.75m-3-7.036A11.959 11.959 0 0 1 3.598 6 11.99 11.99 0 0 0 3 9.749c0 5.592 3.824 10.29 9 11.623 5.176-1.332 9-6.03 9-11.622 0-1.31-.21-2.571-.598-3.751h-.152c-3.196 0-6.1-1.248-8.25-3.285Z"})])}function Bn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 9v3.75m0-10.036A11.959 11.959 0 0 1 3.598 6 11.99 11.99 0 0 0 3 9.75c0 5.592 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.31-.21-2.57-.598-3.75h-.152c-3.196 0-6.1-1.25-8.25-3.286Zm0 13.036h.008v.008H12v-.008Z"})])}function Cn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M9.813 15.904 9 18.75l-.813-2.846a4.5 4.5 0 0 0-3.09-3.09L2.25 12l2.846-.813a4.5 4.5 0 0 0 3.09-3.09L9 5.25l.813 2.846a4.5 4.5 0 0 0 3.09 3.09L15.75 12l-2.846.813a4.5 4.5 0 0 0-3.09 3.09ZM18.259 8.715 18 9.75l-.259-1.035a3.375 3.375 0 0 0-2.455-2.456L14.25 6l1.036-.259a3.375 3.375 0 0 0 2.455-2.456L18 2.25l.259 1.035a3.375 3.375 0 0 0 2.456 2.456L21.75 6l-1.035.259a3.375 3.375 0 0 0-2.456 2.456ZM16.894 20.567 16.5 21.75l-.394-1.183a2.25 2.25 0 0 0-1.423-1.423L13.5 18.75l1.183-.394a2.25 2.25 0 0 0 1.423-1.423l.394-1.183.394 1.183a2.25 2.25 0 0 0 1.423 1.423l1.183.394-1.183.394a2.25 2.25 0 0 0-1.423 1.423Z"})])}function $n(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0"})])}function Sn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M17.982 18.725A7.488 7.488 0 0 0 12 15.75a7.488 7.488 0 0 0-5.982 2.975m11.963 0a9 9 0 1 0-11.963 0m11.963 0A8.966 8.966 0 0 1 12 21a8.966 8.966 0 0 1-5.982-2.275M15 9.75a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"})])}function Mn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z"})])}function Dn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 18 18 6M6 6l12 12"})])}function zn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M12 2.25a.75.75 0 0 1 .75.75v11.69l3.22-3.22a.75.75 0 1 1 1.06 1.06l-4.5 4.5a.75.75 0 0 1-1.06 0l-4.5-4.5a.75.75 0 1 1 1.06-1.06l3.22 3.22V3a.75.75 0 0 1 .75-.75Zm-9 13.5a.75.75 0 0 1 .75.75v2.25a1.5 1.5 0 0 0 1.5 1.5h13.5a1.5 1.5 0 0 0 1.5-1.5V16.5a.75.75 0 0 1 1.5 0v2.25a3 3 0 0 1-3 3H5.25a3 3 0 0 1-3-3V16.5a.75.75 0 0 1 .75-.75Z","clip-rule":"evenodd"})])}function An(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M12 2.25a.75.75 0 0 1 .75.75v16.19l6.22-6.22a.75.75 0 1 1 1.06 1.06l-7.5 7.5a.75.75 0 0 1-1.06 0l-7.5-7.5a.75.75 0 1 1 1.06-1.06l6.22 6.22V3a.75.75 0 0 1 .75-.75Z","clip-rule":"evenodd"})])}function In(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M11.03 3.97a.75.75 0 0 1 0 1.06l-6.22 6.22H21a.75.75 0 0 1 0 1.5H4.81l6.22 6.22a.75.75 0 1 1-1.06 1.06l-7.5-7.5a.75.75 0 0 1 0-1.06l7.5-7.5a.75.75 0 0 1 1.06 0Z","clip-rule":"evenodd"})])}function Tn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M4.755 10.059a7.5 7.5 0 0 1 12.548-3.364l1.903 1.903h-3.183a.75.75 0 1 0 0 1.5h4.992a.75.75 0 0 0 .75-.75V4.356a.75.75 0 0 0-1.5 0v3.18l-1.9-1.9A9 9 0 0 0 3.306 9.67a.75.75 0 1 0 1.45.388Zm15.408 3.352a.75.75 0 0 0-.919.53 7.5 7.5 0 0 1-12.548 3.364l-1.902-1.903h3.183a.75.75 0 0 0 0-1.5H2.984a.75.75 0 0 0-.75.75v4.992a.75.75 0 0 0 1.5 0v-3.18l1.9 1.9a9 9 0 0 0 15.059-4.035.75.75 0 0 0-.53-.918Z","clip-rule":"evenodd"})])}function Ln(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M7.5 3.75A1.5 1.5 0 0 0 6 5.25v13.5a1.5 1.5 0 0 0 1.5 1.5h6a1.5 1.5 0 0 0 1.5-1.5V15a.75.75 0 0 1 1.5 0v3.75a3 3 0 0 1-3 3h-6a3 3 0 0 1-3-3V5.25a3 3 0 0 1 3-3h6a3 3 0 0 1 3 3V9A.75.75 0 0 1 15 9V5.25a1.5 1.5 0 0 0-1.5-1.5h-6Zm10.72 4.72a.75.75 0 0 1 1.06 0l3 3a.75.75 0 0 1 0 1.06l-3 3a.75.75 0 1 1-1.06-1.06l1.72-1.72H9a.75.75 0 0 1 0-1.5h10.94l-1.72-1.72a.75.75 0 0 1 0-1.06Z","clip-rule":"evenodd"})])}function Fn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M12.97 3.97a.75.75 0 0 1 1.06 0l7.5 7.5a.75.75 0 0 1 0 1.06l-7.5 7.5a.75.75 0 1 1-1.06-1.06l6.22-6.22H3a.75.75 0 0 1 0-1.5h16.19l-6.22-6.22a.75.75 0 0 1 0-1.06Z","clip-rule":"evenodd"})])}function Pn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M11.47 2.47a.75.75 0 0 1 1.06 0l4.5 4.5a.75.75 0 0 1-1.06 1.06l-3.22-3.22V16.5a.75.75 0 0 1-1.5 0V4.81L8.03 8.03a.75.75 0 0 1-1.06-1.06l4.5-4.5ZM3 15.75a.75.75 0 0 1 .75.75v2.25a1.5 1.5 0 0 0 1.5 1.5h13.5a1.5 1.5 0 0 0 1.5-1.5V16.5a.75.75 0 0 1 1.5 0v2.25a3 3 0 0 1-3 3H5.25a3 3 0 0 1-3-3V16.5a.75.75 0 0 1 .75-.75Z","clip-rule":"evenodd"})])}function Zn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M11.47 2.47a.75.75 0 0 1 1.06 0l7.5 7.5a.75.75 0 1 1-1.06 1.06l-6.22-6.22V21a.75.75 0 0 1-1.5 0V4.81l-6.22 6.22a.75.75 0 1 1-1.06-1.06l7.5-7.5Z","clip-rule":"evenodd"})])}function Rn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M9.53 2.47a.75.75 0 0 1 0 1.06L4.81 8.25H15a6.75 6.75 0 0 1 0 13.5h-3a.75.75 0 0 1 0-1.5h3a5.25 5.25 0 1 0 0-10.5H4.81l4.72 4.72a.75.75 0 1 1-1.06 1.06l-6-6a.75.75 0 0 1 0-1.06l6-6a.75.75 0 0 1 1.06 0Z","clip-rule":"evenodd"})])}function qn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{d:"M12 7.5a2.25 2.25 0 1 0 0 4.5 2.25 2.25 0 0 0 0-4.5Z"}),e.createElementVNode("path",{"fill-rule":"evenodd",d:"M1.5 4.875C1.5 3.839 2.34 3 3.375 3h17.25c1.035 0 1.875.84 1.875 1.875v9.75c0 1.036-.84 1.875-1.875 1.875H3.375A1.875 1.875 0 0 1 1.5 14.625v-9.75ZM8.25 9.75a3.75 3.75 0 1 1 7.5 0 3.75 3.75 0 0 1-7.5 0ZM18.75 9a.75.75 0 0 0-.75.75v.008c0 .414.336.75.75.75h.008a.75.75 0 0 0 .75-.75V9.75a.75.75 0 0 0-.75-.75h-.008ZM4.5 9.75A.75.75 0 0 1 5.25 9h.008a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75H5.25a.75.75 0 0 1-.75-.75V9.75Z","clip-rule":"evenodd"}),e.createElementVNode("path",{d:"M2.25 18a.75.75 0 0 0 0 1.5c5.4 0 10.63.722 15.6 2.075 1.19.324 2.4-.558 2.4-1.82V18.75a.75.75 0 0 0-.75-.75H2.25Z"})])}function On(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M3 6.75A.75.75 0 0 1 3.75 6h16.5a.75.75 0 0 1 0 1.5H3.75A.75.75 0 0 1 3 6.75ZM3 12a.75.75 0 0 1 .75-.75h16.5a.75.75 0 0 1 0 1.5H3.75A.75.75 0 0 1 3 12Zm0 5.25a.75.75 0 0 1 .75-.75h16.5a.75.75 0 0 1 0 1.5H3.75a.75.75 0 0 1-.75-.75Z","clip-rule":"evenodd"})])}function Un(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M5.25 9a6.75 6.75 0 0 1 13.5 0v.75c0 2.123.8 4.057 2.118 5.52a.75.75 0 0 1-.297 1.206c-1.544.57-3.16.99-4.831 1.243a3.75 3.75 0 1 1-7.48 0 24.585 24.585 0 0 1-4.831-1.244.75.75 0 0 1-.298-1.205A8.217 8.217 0 0 0 5.25 9.75V9Zm4.502 8.9a2.25 2.25 0 1 0 4.496 0 25.057 25.057 0 0 1-4.496 0Z","clip-rule":"evenodd"})])}function jn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M14.615 1.595a.75.75 0 0 1 .359.852L12.982 9.75h7.268a.75.75 0 0 1 .548 1.262l-10.5 11.25a.75.75 0 0 1-1.272-.71l1.992-7.302H3.75a.75.75 0 0 1-.548-1.262l10.5-11.25a.75.75 0 0 1 .913-.143Z","clip-rule":"evenodd"})])}function Hn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M4.5 2.25a.75.75 0 0 0 0 1.5v16.5h-.75a.75.75 0 0 0 0 1.5h16.5a.75.75 0 0 0 0-1.5h-.75V3.75a.75.75 0 0 0 0-1.5h-15ZM9 6a.75.75 0 0 0 0 1.5h1.5a.75.75 0 0 0 0-1.5H9Zm-.75 3.75A.75.75 0 0 1 9 9h1.5a.75.75 0 0 1 0 1.5H9a.75.75 0 0 1-.75-.75ZM9 12a.75.75 0 0 0 0 1.5h1.5a.75.75 0 0 0 0-1.5H9Zm3.75-5.25A.75.75 0 0 1 13.5 6H15a.75.75 0 0 1 0 1.5h-1.5a.75.75 0 0 1-.75-.75ZM13.5 9a.75.75 0 0 0 0 1.5H15A.75.75 0 0 0 15 9h-1.5Zm-.75 3.75a.75.75 0 0 1 .75-.75H15a.75.75 0 0 1 0 1.5h-1.5a.75.75 0 0 1-.75-.75ZM9 19.5v-2.25a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 .75.75v2.25a.75.75 0 0 1-.75.75h-4.5A.75.75 0 0 1 9 19.5Z","clip-rule":"evenodd"})])}function Gn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M6.32 1.827a49.255 49.255 0 0 1 11.36 0c1.497.174 2.57 1.46 2.57 2.93V19.5a3 3 0 0 1-3 3H6.75a3 3 0 0 1-3-3V4.757c0-1.47 1.073-2.756 2.57-2.93ZM7.5 11.25a.75.75 0 0 1 .75-.75h.008a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75H8.25a.75.75 0 0 1-.75-.75v-.008Zm.75 1.5a.75.75 0 0 0-.75.75v.008c0 .414.336.75.75.75h.008a.75.75 0 0 0 .75-.75V13.5a.75.75 0 0 0-.75-.75H8.25Zm-.75 3a.75.75 0 0 1 .75-.75h.008a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75H8.25a.75.75 0 0 1-.75-.75v-.008Zm.75 1.5a.75.75 0 0 0-.75.75v.008c0 .414.336.75.75.75h.008a.75.75 0 0 0 .75-.75V18a.75.75 0 0 0-.75-.75H8.25Zm1.748-6a.75.75 0 0 1 .75-.75h.007a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75h-.007a.75.75 0 0 1-.75-.75v-.008Zm.75 1.5a.75.75 0 0 0-.75.75v.008c0 .414.335.75.75.75h.007a.75.75 0 0 0 .75-.75V13.5a.75.75 0 0 0-.75-.75h-.007Zm-.75 3a.75.75 0 0 1 .75-.75h.007a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75h-.007a.75.75 0 0 1-.75-.75v-.008Zm.75 1.5a.75.75 0 0 0-.75.75v.008c0 .414.335.75.75.75h.007a.75.75 0 0 0 .75-.75V18a.75.75 0 0 0-.75-.75h-.007Zm1.754-6a.75.75 0 0 1 .75-.75h.008a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75h-.008a.75.75 0 0 1-.75-.75v-.008Zm.75 1.5a.75.75 0 0 0-.75.75v.008c0 .414.336.75.75.75h.008a.75.75 0 0 0 .75-.75V13.5a.75.75 0 0 0-.75-.75h-.008Zm-.75 3a.75.75 0 0 1 .75-.75h.008a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75h-.008a.75.75 0 0 1-.75-.75v-.008Zm.75 1.5a.75.75 0 0 0-.75.75v.008c0 .414.336.75.75.75h.008a.75.75 0 0 0 .75-.75V18a.75.75 0 0 0-.75-.75h-.008Zm1.748-6a.75.75 0 0 1 .75-.75h.008a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75h-.008a.75.75 0 0 1-.75-.75v-.008Zm.75 1.5a.75.75 0 0 0-.75.75v.008c0 .414.336.75.75.75h.008a.75.75 0 0 0 .75-.75V13.5a.75.75 0 0 0-.75-.75h-.008Zm-8.25-6A.75.75 0 0 1 8.25 6h7.5a.75.75 0 0 1 .75.75v.75a.75.75 0 0 1-.75.75h-7.5a.75.75 0 0 1-.75-.75v-.75Zm9 9a.75.75 0 0 0-1.5 0V18a.75.75 0 0 0 1.5 0v-2.25Z","clip-rule":"evenodd"})])}function Wn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M6.75 2.25A.75.75 0 0 1 7.5 3v1.5h9V3A.75.75 0 0 1 18 3v1.5h.75a3 3 0 0 1 3 3v11.25a3 3 0 0 1-3 3H5.25a3 3 0 0 1-3-3V7.5a3 3 0 0 1 3-3H6V3a.75.75 0 0 1 .75-.75Zm13.5 9a1.5 1.5 0 0 0-1.5-1.5H5.25a1.5 1.5 0 0 0-1.5 1.5v7.5a1.5 1.5 0 0 0 1.5 1.5h13.5a1.5 1.5 0 0 0 1.5-1.5v-7.5Z","clip-rule":"evenodd"})])}function Xn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{d:"M18.375 2.25c-1.035 0-1.875.84-1.875 1.875v15.75c0 1.035.84 1.875 1.875 1.875h.75c1.035 0 1.875-.84 1.875-1.875V4.125c0-1.036-.84-1.875-1.875-1.875h-.75ZM9.75 8.625c0-1.036.84-1.875 1.875-1.875h.75c1.036 0 1.875.84 1.875 1.875v11.25c0 1.035-.84 1.875-1.875 1.875h-.75a1.875 1.875 0 0 1-1.875-1.875V8.625ZM3 13.125c0-1.036.84-1.875 1.875-1.875h.75c1.036 0 1.875.84 1.875 1.875v6.75c0 1.035-.84 1.875-1.875 1.875h-.75A1.875 1.875 0 0 1 3 19.875v-6.75Z"})])}function Yn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M2.25 13.5a8.25 8.25 0 0 1 8.25-8.25.75.75 0 0 1 .75.75v6.75H18a.75.75 0 0 1 .75.75 8.25 8.25 0 0 1-16.5 0Z","clip-rule":"evenodd"}),e.createElementVNode("path",{"fill-rule":"evenodd",d:"M12.75 3a.75.75 0 0 1 .75-.75 8.25 8.25 0 0 1 8.25 8.25.75.75 0 0 1-.75.75h-7.5a.75.75 0 0 1-.75-.75V3Z","clip-rule":"evenodd"})])}function Kn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{d:"M4.913 2.658c2.075-.27 4.19-.408 6.337-.408 2.147 0 4.262.139 6.337.408 1.922.25 3.291 1.861 3.405 3.727a4.403 4.403 0 0 0-1.032-.211 50.89 50.89 0 0 0-8.42 0c-2.358.196-4.04 2.19-4.04 4.434v4.286a4.47 4.47 0 0 0 2.433 3.984L7.28 21.53A.75.75 0 0 1 6 21v-4.03a48.527 48.527 0 0 1-1.087-.128C2.905 16.58 1.5 14.833 1.5 12.862V6.638c0-1.97 1.405-3.718 3.413-3.979Z"}),e.createElementVNode("path",{d:"M15.75 7.5c-1.376 0-2.739.057-4.086.169C10.124 7.797 9 9.103 9 10.609v4.285c0 1.507 1.128 2.814 2.67 2.94 1.243.102 2.5.157 3.768.165l2.782 2.781a.75.75 0 0 0 1.28-.53v-2.39l.33-.026c1.542-.125 2.67-1.433 2.67-2.94v-4.286c0-1.505-1.125-2.811-2.664-2.94A49.392 49.392 0 0 0 15.75 7.5Z"})])}function Qn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12Zm13.36-1.814a.75.75 0 1 0-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 0 0-1.06 1.06l2.25 2.25a.75.75 0 0 0 1.14-.094l3.75-5.25Z","clip-rule":"evenodd"})])}function Jn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M19.916 4.626a.75.75 0 0 1 .208 1.04l-9 13.5a.75.75 0 0 1-1.154.114l-6-6a.75.75 0 0 1 1.06-1.06l5.353 5.353 8.493-12.74a.75.75 0 0 1 1.04-.207Z","clip-rule":"evenodd"})])}function el(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M12.53 16.28a.75.75 0 0 1-1.06 0l-7.5-7.5a.75.75 0 0 1 1.06-1.06L12 14.69l6.97-6.97a.75.75 0 1 1 1.06 1.06l-7.5 7.5Z","clip-rule":"evenodd"})])}function tl(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M7.72 12.53a.75.75 0 0 1 0-1.06l7.5-7.5a.75.75 0 1 1 1.06 1.06L9.31 12l6.97 6.97a.75.75 0 1 1-1.06 1.06l-7.5-7.5Z","clip-rule":"evenodd"})])}function al(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M16.28 11.47a.75.75 0 0 1 0 1.06l-7.5 7.5a.75.75 0 0 1-1.06-1.06L14.69 12 7.72 5.03a.75.75 0 0 1 1.06-1.06l7.5 7.5Z","clip-rule":"evenodd"})])}function nl(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M11.47 7.72a.75.75 0 0 1 1.06 0l7.5 7.5a.75.75 0 1 1-1.06 1.06L12 9.31l-6.97 6.97a.75.75 0 0 1-1.06-1.06l7.5-7.5Z","clip-rule":"evenodd"})])}function ll(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25ZM12.75 6a.75.75 0 0 0-1.5 0v6c0 .414.336.75.75.75h4.5a.75.75 0 0 0 0-1.5h-3.75V6Z","clip-rule":"evenodd"})])}function ol(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M11.078 2.25c-.917 0-1.699.663-1.85 1.567L9.05 4.889c-.02.12-.115.26-.297.348a7.493 7.493 0 0 0-.986.57c-.166.115-.334.126-.45.083L6.3 5.508a1.875 1.875 0 0 0-2.282.819l-.922 1.597a1.875 1.875 0 0 0 .432 2.385l.84.692c.095.078.17.229.154.43a7.598 7.598 0 0 0 0 1.139c.015.2-.059.352-.153.43l-.841.692a1.875 1.875 0 0 0-.432 2.385l.922 1.597a1.875 1.875 0 0 0 2.282.818l1.019-.382c.115-.043.283-.031.45.082.312.214.641.405.985.57.182.088.277.228.297.35l.178 1.071c.151.904.933 1.567 1.85 1.567h1.844c.916 0 1.699-.663 1.85-1.567l.178-1.072c.02-.12.114-.26.297-.349.344-.165.673-.356.985-.57.167-.114.335-.125.45-.082l1.02.382a1.875 1.875 0 0 0 2.28-.819l.923-1.597a1.875 1.875 0 0 0-.432-2.385l-.84-.692c-.095-.078-.17-.229-.154-.43a7.614 7.614 0 0 0 0-1.139c-.016-.2.059-.352.153-.43l.84-.692c.708-.582.891-1.59.433-2.385l-.922-1.597a1.875 1.875 0 0 0-2.282-.818l-1.02.382c-.114.043-.282.031-.449-.083a7.49 7.49 0 0 0-.985-.57c-.183-.087-.277-.227-.297-.348l-.179-1.072a1.875 1.875 0 0 0-1.85-1.567h-1.843ZM12 15.75a3.75 3.75 0 1 0 0-7.5 3.75 3.75 0 0 0 0 7.5Z","clip-rule":"evenodd"})])}function rl(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M9 1.5H5.625c-1.036 0-1.875.84-1.875 1.875v17.25c0 1.035.84 1.875 1.875 1.875h12.75c1.035 0 1.875-.84 1.875-1.875V12.75A3.75 3.75 0 0 0 16.5 9h-1.875a1.875 1.875 0 0 1-1.875-1.875V5.25A3.75 3.75 0 0 0 9 1.5Zm6.61 10.936a.75.75 0 1 0-1.22-.872l-3.236 4.53L9.53 14.47a.75.75 0 0 0-1.06 1.06l2.25 2.25a.75.75 0 0 0 1.14-.094l3.75-5.25Z","clip-rule":"evenodd"}),e.createElementVNode("path",{d:"M12.971 1.816A5.23 5.23 0 0 1 14.25 5.25v1.875c0 .207.168.375.375.375H16.5a5.23 5.23 0 0 1 3.434 1.279 9.768 9.768 0 0 0-6.963-6.963Z"})])}function il(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M5.625 1.5c-1.036 0-1.875.84-1.875 1.875v17.25c0 1.035.84 1.875 1.875 1.875h12.75c1.035 0 1.875-.84 1.875-1.875V12.75A3.75 3.75 0 0 0 16.5 9h-1.875a1.875 1.875 0 0 1-1.875-1.875V5.25A3.75 3.75 0 0 0 9 1.5H5.625ZM7.5 15a.75.75 0 0 1 .75-.75h7.5a.75.75 0 0 1 0 1.5h-7.5A.75.75 0 0 1 7.5 15Zm.75 2.25a.75.75 0 0 0 0 1.5H12a.75.75 0 0 0 0-1.5H8.25Z","clip-rule":"evenodd"}),e.createElementVNode("path",{d:"M12.971 1.816A5.23 5.23 0 0 1 14.25 5.25v1.875c0 .207.168.375.375.375H16.5a5.23 5.23 0 0 1 3.434 1.279 9.768 9.768 0 0 0-6.963-6.963Z"})])}function sl(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{d:"M1.5 8.67v8.58a3 3 0 0 0 3 3h15a3 3 0 0 0 3-3V8.67l-8.928 5.493a3 3 0 0 1-3.144 0L1.5 8.67Z"}),e.createElementVNode("path",{d:"M22.5 6.908V6.75a3 3 0 0 0-3-3h-15a3 3 0 0 0-3 3v.158l9.714 5.978a1.5 1.5 0 0 0 1.572 0L22.5 6.908Z"})])}function cl(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12ZM12 8.25a.75.75 0 0 1 .75.75v3.75a.75.75 0 0 1-1.5 0V9a.75.75 0 0 1 .75-.75Zm0 8.25a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z","clip-rule":"evenodd"})])}function dl(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003ZM12 8.25a.75.75 0 0 1 .75.75v3.75a.75.75 0 0 1-1.5 0V9a.75.75 0 0 1 .75-.75Zm0 8.25a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z","clip-rule":"evenodd"})])}function ul(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{d:"M3.53 2.47a.75.75 0 0 0-1.06 1.06l18 18a.75.75 0 1 0 1.06-1.06l-18-18ZM22.676 12.553a11.249 11.249 0 0 1-2.631 4.31l-3.099-3.099a5.25 5.25 0 0 0-6.71-6.71L7.759 4.577a11.217 11.217 0 0 1 4.242-.827c4.97 0 9.185 3.223 10.675 7.69.12.362.12.752 0 1.113Z"}),e.createElementVNode("path",{d:"M15.75 12c0 .18-.013.357-.037.53l-4.244-4.243A3.75 3.75 0 0 1 15.75 12ZM12.53 15.713l-4.243-4.244a3.75 3.75 0 0 0 4.244 4.243Z"}),e.createElementVNode("path",{d:"M6.75 12c0-.619.107-1.213.304-1.764l-3.1-3.1a11.25 11.25 0 0 0-2.63 4.31c-.12.362-.12.752 0 1.114 1.489 4.467 5.704 7.69 10.675 7.69 1.5 0 2.933-.294 4.242-.827l-2.477-2.477A5.25 5.25 0 0 1 6.75 12Z"})])}function ml(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{d:"M12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z"}),e.createElementVNode("path",{"fill-rule":"evenodd",d:"M1.323 11.447C2.811 6.976 7.028 3.75 12.001 3.75c4.97 0 9.185 3.223 10.675 7.69.12.362.12.752 0 1.113-1.487 4.471-5.705 7.697-10.677 7.697-4.97 0-9.186-3.223-10.675-7.69a1.762 1.762 0 0 1 0-1.113ZM17.25 12a5.25 5.25 0 1 1-10.5 0 5.25 5.25 0 0 1 10.5 0Z","clip-rule":"evenodd"})])}function hl(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{d:"M11.47 3.841a.75.75 0 0 1 1.06 0l8.69 8.69a.75.75 0 1 0 1.06-1.061l-8.689-8.69a2.25 2.25 0 0 0-3.182 0l-8.69 8.69a.75.75 0 1 0 1.061 1.06l8.69-8.689Z"}),e.createElementVNode("path",{d:"m12 5.432 8.159 8.159c.03.03.06.058.091.086v6.198c0 1.035-.84 1.875-1.875 1.875H15a.75.75 0 0 1-.75-.75v-4.5a.75.75 0 0 0-.75-.75h-3a.75.75 0 0 0-.75.75V21a.75.75 0 0 1-.75.75H5.625a1.875 1.875 0 0 1-1.875-1.875v-6.198a2.29 2.29 0 0 0 .091-.086L12 5.432Z"})])}function fl(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M4.5 3.75a3 3 0 0 0-3 3v10.5a3 3 0 0 0 3 3h15a3 3 0 0 0 3-3V6.75a3 3 0 0 0-3-3h-15Zm4.125 3a2.25 2.25 0 1 0 0 4.5 2.25 2.25 0 0 0 0-4.5Zm-3.873 8.703a4.126 4.126 0 0 1 7.746 0 .75.75 0 0 1-.351.92 7.47 7.47 0 0 1-3.522.877 7.47 7.47 0 0 1-3.522-.877.75.75 0 0 1-.351-.92ZM15 8.25a.75.75 0 0 0 0 1.5h3.75a.75.75 0 0 0 0-1.5H15ZM14.25 12a.75.75 0 0 1 .75-.75h3.75a.75.75 0 0 1 0 1.5H15a.75.75 0 0 1-.75-.75Zm.75 2.25a.75.75 0 0 0 0 1.5h3.75a.75.75 0 0 0 0-1.5H15Z","clip-rule":"evenodd"})])}function pl(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12Zm8.706-1.442c1.146-.573 2.437.463 2.126 1.706l-.709 2.836.042-.02a.75.75 0 0 1 .67 1.34l-.04.022c-1.147.573-2.438-.463-2.127-1.706l.71-2.836-.042.02a.75.75 0 1 1-.671-1.34l.041-.022ZM12 9a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z","clip-rule":"evenodd"})])}function vl(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M2.625 6.75a1.125 1.125 0 1 1 2.25 0 1.125 1.125 0 0 1-2.25 0Zm4.875 0A.75.75 0 0 1 8.25 6h12a.75.75 0 0 1 0 1.5h-12a.75.75 0 0 1-.75-.75ZM2.625 12a1.125 1.125 0 1 1 2.25 0 1.125 1.125 0 0 1-2.25 0ZM7.5 12a.75.75 0 0 1 .75-.75h12a.75.75 0 0 1 0 1.5h-12A.75.75 0 0 1 7.5 12Zm-4.875 5.25a1.125 1.125 0 1 1 2.25 0 1.125 1.125 0 0 1-2.25 0Zm4.875 0a.75.75 0 0 1 .75-.75h12a.75.75 0 0 1 0 1.5h-12a.75.75 0 0 1-.75-.75Z","clip-rule":"evenodd"})])}function gl(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M10.5 3.75a6.75 6.75 0 1 0 0 13.5 6.75 6.75 0 0 0 0-13.5ZM2.25 10.5a8.25 8.25 0 1 1 14.59 5.28l4.69 4.69a.75.75 0 1 1-1.06 1.06l-4.69-4.69A8.25 8.25 0 0 1 2.25 10.5Z","clip-rule":"evenodd"})])}function _l(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M4.25 12a.75.75 0 0 1 .75-.75h14a.75.75 0 0 1 0 1.5H5a.75.75 0 0 1-.75-.75Z","clip-rule":"evenodd"})])}function kl(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{d:"M21.731 2.269a2.625 2.625 0 0 0-3.712 0l-1.157 1.157 3.712 3.712 1.157-1.157a2.625 2.625 0 0 0 0-3.712ZM19.513 8.199l-3.712-3.712-12.15 12.15a5.25 5.25 0 0 0-1.32 2.214l-.8 2.685a.75.75 0 0 0 .933.933l2.685-.8a5.25 5.25 0 0 0 2.214-1.32L19.513 8.2Z"})])}function Vl(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M1.5 4.5a3 3 0 0 1 3-3h1.372c.86 0 1.61.586 1.819 1.42l1.105 4.423a1.875 1.875 0 0 1-.694 1.955l-1.293.97c-.135.101-.164.249-.126.352a11.285 11.285 0 0 0 6.697 6.697c.103.038.25.009.352-.126l.97-1.293a1.875 1.875 0 0 1 1.955-.694l4.423 1.105c.834.209 1.42.959 1.42 1.82V19.5a3 3 0 0 1-3 3h-2.25C8.552 22.5 1.5 15.448 1.5 6.75V4.5Z","clip-rule":"evenodd"})])}function wl(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M1.5 6a2.25 2.25 0 0 1 2.25-2.25h16.5A2.25 2.25 0 0 1 22.5 6v12a2.25 2.25 0 0 1-2.25 2.25H3.75A2.25 2.25 0 0 1 1.5 18V6ZM3 16.06V18c0 .414.336.75.75.75h16.5A.75.75 0 0 0 21 18v-1.94l-2.69-2.689a1.5 1.5 0 0 0-2.12 0l-.88.879.97.97a.75.75 0 1 1-1.06 1.06l-5.16-5.159a1.5 1.5 0 0 0-2.12 0L3 16.061Zm10.125-7.81a1.125 1.125 0 1 1 2.25 0 1.125 1.125 0 0 1-2.25 0Z","clip-rule":"evenodd"})])}function bl(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M12 3.75a.75.75 0 0 1 .75.75v6.75h6.75a.75.75 0 0 1 0 1.5h-6.75v6.75a.75.75 0 0 1-1.5 0v-6.75H4.5a.75.75 0 0 1 0-1.5h6.75V4.5a.75.75 0 0 1 .75-.75Z","clip-rule":"evenodd"})])}function xe(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12Zm11.378-3.917c-.89-.777-2.366-.777-3.255 0a.75.75 0 0 1-.988-1.129c1.454-1.272 3.776-1.272 5.23 0 1.513 1.324 1.513 3.518 0 4.842a3.75 3.75 0 0 1-.837.552c-.676.328-1.028.774-1.028 1.152v.75a.75.75 0 0 1-1.5 0v-.75c0-1.279 1.06-2.107 1.875-2.502.182-.088.351-.199.503-.331.83-.727.83-1.857 0-2.584ZM12 18a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z","clip-rule":"evenodd"})])}function El(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M12.516 2.17a.75.75 0 0 0-1.032 0 11.209 11.209 0 0 1-7.877 3.08.75.75 0 0 0-.722.515A12.74 12.74 0 0 0 2.25 9.75c0 5.942 4.064 10.933 9.563 12.348a.749.749 0 0 0 .374 0c5.499-1.415 9.563-6.406 9.563-12.348 0-1.39-.223-2.73-.635-3.985a.75.75 0 0 0-.722-.516l-.143.001c-2.996 0-5.717-1.17-7.734-3.08Zm3.094 8.016a.75.75 0 1 0-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 0 0-1.06 1.06l2.25 2.25a.75.75 0 0 0 1.14-.094l3.75-5.25Z","clip-rule":"evenodd"})])}function yl(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M11.484 2.17a.75.75 0 0 1 1.032 0 11.209 11.209 0 0 0 7.877 3.08.75.75 0 0 1 .722.515 12.74 12.74 0 0 1 .635 3.985c0 5.942-4.064 10.933-9.563 12.348a.749.749 0 0 1-.374 0C6.314 20.683 2.25 15.692 2.25 9.75c0-1.39.223-2.73.635-3.985a.75.75 0 0 1 .722-.516l.143.001c2.996 0 5.718-1.17 7.734-3.08ZM12 8.25a.75.75 0 0 1 .75.75v3.75a.75.75 0 0 1-1.5 0V9a.75.75 0 0 1 .75-.75ZM12 15a.75.75 0 0 0-.75.75v.008c0 .414.336.75.75.75h.008a.75.75 0 0 0 .75-.75v-.008a.75.75 0 0 0-.75-.75H12Z","clip-rule":"evenodd"})])}function Nl(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M9 4.5a.75.75 0 0 1 .721.544l.813 2.846a3.75 3.75 0 0 0 2.576 2.576l2.846.813a.75.75 0 0 1 0 1.442l-2.846.813a3.75 3.75 0 0 0-2.576 2.576l-.813 2.846a.75.75 0 0 1-1.442 0l-.813-2.846a3.75 3.75 0 0 0-2.576-2.576l-2.846-.813a.75.75 0 0 1 0-1.442l2.846-.813A3.75 3.75 0 0 0 7.466 7.89l.813-2.846A.75.75 0 0 1 9 4.5ZM18 1.5a.75.75 0 0 1 .728.568l.258 1.036c.236.94.97 1.674 1.91 1.91l1.036.258a.75.75 0 0 1 0 1.456l-1.036.258c-.94.236-1.674.97-1.91 1.91l-.258 1.036a.75.75 0 0 1-1.456 0l-.258-1.036a2.625 2.625 0 0 0-1.91-1.91l-1.036-.258a.75.75 0 0 1 0-1.456l1.036-.258a2.625 2.625 0 0 0 1.91-1.91l.258-1.036A.75.75 0 0 1 18 1.5ZM16.5 15a.75.75 0 0 1 .712.513l.394 1.183c.15.447.5.799.948.948l1.183.395a.75.75 0 0 1 0 1.422l-1.183.395c-.447.15-.799.5-.948.948l-.395 1.183a.75.75 0 0 1-1.422 0l-.395-1.183a1.5 1.5 0 0 0-.948-.948l-1.183-.395a.75.75 0 0 1 0-1.422l1.183-.395c.447-.15.799-.5.948-.948l.395-1.183A.75.75 0 0 1 16.5 15Z","clip-rule":"evenodd"})])}function xl(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M16.5 4.478v.227a48.816 48.816 0 0 1 3.878.512.75.75 0 1 1-.256 1.478l-.209-.035-1.005 13.07a3 3 0 0 1-2.991 2.77H8.084a3 3 0 0 1-2.991-2.77L4.087 6.66l-.209.035a.75.75 0 0 1-.256-1.478A48.567 48.567 0 0 1 7.5 4.705v-.227c0-1.564 1.213-2.9 2.816-2.951a52.662 52.662 0 0 1 3.369 0c1.603.051 2.815 1.387 2.815 2.951Zm-6.136-1.452a51.196 51.196 0 0 1 3.273 0C14.39 3.05 15 3.684 15 4.478v.113a49.488 49.488 0 0 0-6 0v-.113c0-.794.609-1.428 1.364-1.452Zm-.355 5.945a.75.75 0 1 0-1.5.058l.347 9a.75.75 0 1 0 1.499-.058l-.346-9Zm5.48.058a.75.75 0 1 0-1.498-.058l-.347 9a.75.75 0 0 0 1.5.058l.345-9Z","clip-rule":"evenodd"})])}function Bl(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M18.685 19.097A9.723 9.723 0 0 0 21.75 12c0-5.385-4.365-9.75-9.75-9.75S2.25 6.615 2.25 12a9.723 9.723 0 0 0 3.065 7.097A9.716 9.716 0 0 0 12 21.75a9.716 9.716 0 0 0 6.685-2.653Zm-12.54-1.285A7.486 7.486 0 0 1 12 15a7.486 7.486 0 0 1 5.855 2.812A8.224 8.224 0 0 1 12 20.25a8.224 8.224 0 0 1-5.855-2.438ZM15.75 9a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0Z","clip-rule":"evenodd"})])}function Cl(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M7.5 6a4.5 4.5 0 1 1 9 0 4.5 4.5 0 0 1-9 0ZM3.751 20.105a8.25 8.25 0 0 1 16.498 0 .75.75 0 0 1-.437.695A18.683 18.683 0 0 1 12 22.5c-2.786 0-5.433-.608-7.812-1.7a.75.75 0 0 1-.437-.695Z","clip-rule":"evenodd"})])}function $l(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M5.47 5.47a.75.75 0 0 1 1.06 0L12 10.94l5.47-5.47a.75.75 0 1 1 1.06 1.06L13.06 12l5.47 5.47a.75.75 0 1 1-1.06 1.06L12 13.06l-5.47 5.47a.75.75 0 0 1-1.06-1.06L10.94 12 5.47 6.53a.75.75 0 0 1 0-1.06Z","clip-rule":"evenodd"})])}const Sl=["aria-label"],Ml=e.defineComponent({__name:"Icon",props:{name:{},size:{default:"md"},variant:{default:"outline"},color:{},ariaLabel:{},decorative:{type:Boolean,default:!0}},setup(a){const t=a,n={search:"magnifying-glass","alert-circle":"exclamation-circle","alert-triangle":"exclamation-triangle",info:"information-circle","eye-off":"eye-slash","file-check":"document-check","pie-chart":"chart-pie","bar-chart-2":"chart-bar",banknote:"banknotes",loader:"arrow-path","refresh-cw":"arrow-path","rotate-ccw":"arrow-uturn-left",upload:"arrow-up-tray",download:"arrow-down-tray",menu:"bars-3",logout:"arrow-right-on-rectangle","x-mark":"x",photograph:"photo"},l={home:{outline:vn,solid:hl},user:{outline:Mn,solid:Cl},"user-circle":{outline:Sn,solid:Bl},"chevron-down":{outline:an,solid:el},"chevron-right":{outline:ln,solid:al},"chevron-left":{outline:nn,solid:tl},"chevron-up":{outline:on,solid:nl},x:{outline:Dn,solid:$l},check:{outline:tn,solid:Jn},"exclamation-circle":{outline:mn,solid:cl},"exclamation-triangle":{outline:hn,solid:dl},"check-circle":{outline:en,solid:Qn},"information-circle":{outline:_n,solid:pl},"arrow-left":{outline:La,solid:In},"arrow-right":{outline:Za,solid:Fn},"arrow-up":{outline:qa,solid:Zn},"arrow-down":{outline:Ta,solid:An},"arrow-path":{outline:Fa,solid:Tn},"arrow-uturn-left":{outline:Oa,solid:Rn},"magnifying-glass":{outline:Vn,solid:gl},cog:{outline:sn,solid:ol},bell:{outline:Ha,solid:Un},"question-mark-circle":{outline:Ne,solid:xe},bolt:{outline:Ga,solid:jn},"document-text":{outline:dn,solid:il},"document-check":{outline:cn,solid:rl},"list-bullet":{outline:kn,solid:vl},"chat-bubble-left-right":{outline:Ja,solid:Kn},sparkles:{outline:Cn,solid:Nl},banknotes:{outline:Ua,solid:qn},"chart-pie":{outline:Qa,solid:Yn},"chart-bar":{outline:Ka,solid:Xn},eye:{outline:pn,solid:ml},"eye-slash":{outline:fn,solid:ul},"shield-check":{outline:xn,solid:El},clock:{outline:rn,solid:ll},calendar:{outline:Ya,solid:Wn},calculator:{outline:Xa,solid:Gn},identification:{outline:gn,solid:fl},"arrow-up-tray":{outline:Ra,solid:Pn},trash:{outline:$n,solid:xl},"bars-3":{outline:ja,solid:On},"arrow-right-on-rectangle":{outline:Pa,solid:Ln},pencil:{outline:bn,solid:kl},phone:{outline:En,solid:Vl},envelope:{outline:un,solid:sl},"building-office":{outline:Wa,solid:Hn},minus:{outline:wn,solid:_l},plus:{outline:Nn,solid:bl},photo:{outline:yn,solid:wl},"shield-exclamation":{outline:Bn,solid:yl},"arrow-down-tray":{outline:Ia,solid:zn}},o=e.computed(()=>{const h=t.name;return n[h]||h}),i=e.computed(()=>{const h=l[o.value];return h?t.variant==="outline"?h.outline:h.solid:(console.warn(`[Icon.vue] Ícone "${t.name}" não encontrado. Usando fallback.`),t.variant==="outline"?Ne:xe)}),r=e.computed(()=>!t.decorative&&!!t.ariaLabel),s=e.computed(()=>["xs","sm","md","lg","xl"].includes(t.size)),c=e.computed(()=>{const h=["icon"];return s.value&&h.push(`icon--${t.size}`),t.color&&h.push(t.color),h}),d=e.computed(()=>{if(s.value)return{};const h=typeof t.size=="number"?`${t.size}px`:t.size;return{width:h,height:h}});return(h,f)=>r.value?(e.openBlock(),e.createElementBlock("span",{key:0,role:"img","aria-label":a.ariaLabel,class:e.normalizeClass(c.value),style:e.normalizeStyle(d.value)},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(i.value),{"aria-hidden":"true",class:"icon__svg"}))],14,Sl)):a.decorative?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(i.value),{key:1,class:e.normalizeClass(c.value),style:e.normalizeStyle(d.value),"aria-hidden":"true"},null,8,["class","style"])):(e.openBlock(),e.createBlock(e.resolveDynamicComponent(i.value),{key:2,class:e.normalizeClass(c.value),style:e.normalizeStyle(d.value)},null,8,["class","style"]))}}),y=x(Ml,[["__scopeId","data-v-bee2070e"]]),Dl={class:"input-wrapper"},zl={key:0,class:"input-icon input-icon--leading"},Al=["id","name","value","type","placeholder","disabled","readonly","inputmode","maxlength","autocomplete","aria-invalid","aria-describedby","aria-required"],Il={key:1,class:"input-icon input-icon--trailing"},Tl=e.defineComponent({__name:"Input",props:{modelValue:{default:""},type:{default:"text"},placeholder:{},disabled:{type:Boolean,default:!1},hasError:{type:Boolean,default:!1},id:{},name:{},inputmode:{},maxlength:{},autocomplete:{},ariaInvalid:{type:Boolean},ariaDescribedby:{},ariaRequired:{type:Boolean},readonly:{type:Boolean,default:!1}},emits:["update:modelValue","blur","focus","input"],setup(a,{emit:t}){const n=t,l=r=>{const s=r.target;n("update:modelValue",s.value),n("input",r)},o=r=>{n("blur",r)},i=r=>{n("focus",r)};return(r,s)=>(e.openBlock(),e.createElementBlock("div",Dl,[r.$slots["leading-icon"]?(e.openBlock(),e.createElementBlock("div",zl,[e.renderSlot(r.$slots,"leading-icon",{},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("input",{id:a.id,name:a.name,value:a.modelValue,type:a.type,placeholder:a.placeholder,disabled:a.disabled,readonly:a.readonly,inputmode:a.inputmode,maxlength:a.maxlength,autocomplete:a.autocomplete,"aria-invalid":a.ariaInvalid?"true":void 0,"aria-describedby":a.ariaDescribedby,"aria-required":a.ariaRequired?"true":void 0,class:e.normalizeClass(["input",{"input--has-leading-icon":r.$slots["leading-icon"],"input--has-trailing-icon":r.$slots["trailing-icon"],"input--error":a.hasError,"input--disabled":a.disabled}]),onInput:l,onBlur:o,onFocus:i},null,42,Al),r.$slots["trailing-icon"]?(e.openBlock(),e.createElementBlock("div",Il,[e.renderSlot(r.$slots,"trailing-icon",{},void 0,!0)])):e.createCommentVNode("",!0)]))}}),Z=x(Tl,[["__scopeId","data-v-9ab35497"]]),Ll=["for"],Fl={key:0,class:"label__required","aria-label":"Required"},Pl=e.defineComponent({__name:"Label",props:{for:{},required:{type:Boolean,default:!1},error:{type:Boolean,default:!1}},setup(a){const t=a;return(n,l)=>(e.openBlock(),e.createElementBlock("label",{for:t.for,class:e.normalizeClass(["label",{"label--error":a.error}])},[e.renderSlot(n.$slots,"default",{},void 0,!0),a.required?(e.openBlock(),e.createElementBlock("span",Fl,"*")):e.createCommentVNode("",!0)],10,Ll))}}),De=x(Pl,[["__scopeId","data-v-4bc6b56d"]]),Zl=["src","alt","height"],Rl=e.defineComponent({__name:"Logo",props:{src:{},alt:{default:"Logo"},size:{default:"md"},to:{},href:{}},setup(a){const t=a,n={sm:32,md:48,lg:64},l=e.computed(()=>n[t.size]),o=e.computed(()=>t.to||t.href?"a":"div"),i=e.computed(()=>t.href?{href:t.href,target:"_blank",rel:"noopener noreferrer"}:t.to?{href:t.to}:{});return(r,s)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.value),e.mergeProps(i.value,{class:"logo"}),{default:e.withCtx(()=>[e.createElementVNode("img",{src:a.src,alt:a.alt,height:l.value,loading:"lazy",class:"logo__image",style:e.normalizeStyle({maxHeight:`${l.value}px`})},null,12,Zl)]),_:1},16))}}),X=x(Rl,[["__scopeId","data-v-31efeb08"]]),ql=e.defineComponent({__name:"Spinner",props:{size:{default:"md"},color:{default:"currentColor"}},setup(a){const t=a,n=e.computed(()=>({borderColor:t.color,borderRightColor:"transparent"}));return(l,o)=>(e.openBlock(),e.createElementBlock("span",{class:e.normalizeClass(["spinner",`spinner--${a.size}`]),style:e.normalizeStyle(n.value),role:"status","aria-label":"Loading","aria-live":"polite"},[...o[0]||(o[0]=[e.createElementVNode("span",{class:"sr-only"},"Loading...",-1)])],6))}}),q=x(ql,[["__scopeId","data-v-bd274b9d"]]),Ol=e.defineComponent({__name:"Typography",props:{variant:{default:"body"},weight:{default:"normal"},color:{default:"inherit"},align:{default:"left"}},setup(a){const t=a,n=e.computed(()=>({h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",body:"p",caption:"span",label:"span"})[t.variant]);return(l,o)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.value),{class:e.normalizeClass(["typography",`typography--${a.variant}`,`typography--${a.weight}`,`typography--${a.color}`,`typography--${a.align}`])},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default",{},void 0,!0)]),_:3},8,["class"]))}}),T=x(Ol,[["__scopeId","data-v-0225c24f"]]),Ul=["href","aria-label","aria-describedby"],jl={class:"action-button__icon-container"},Hl={class:"action-button__title"},Gl=["id"],Wl=["aria-label","aria-describedby","disabled"],Xl={class:"action-button__icon-container"},Yl={class:"action-button__title"},Kl=["id"],Ql=e.defineComponent({__name:"ActionButton",props:{icon:{},title:{},description:{default:void 0},href:{default:void 0},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1}},emits:["click"],setup(a,{emit:t}){const n=a,l=t,o=e.computed(()=>!n.disabled&&!n.loading),i=e.computed(()=>n.description?`action-button-desc-${n.title.toLowerCase().replace(/\s+/g,"-")}`:void 0);function r(s){if(!o.value){s.preventDefault();return}l("click",s)}return(s,c)=>(e.openBlock(),e.createBlock(e.unref(I),{variant:"outlined",clickable:o.value,padding:"none",class:e.normalizeClass(["action-button",{"action-button--disabled":!o.value}]),onClick:r},{default:e.withCtx(()=>[a.href&&o.value?(e.openBlock(),e.createElementBlock("a",{key:0,href:a.href,"aria-label":a.title,"aria-describedby":i.value,class:"action-button__content"},[e.createElementVNode("div",jl,[a.loading?(e.openBlock(),e.createBlock(e.unref(q),{key:0,size:"lg"})):(e.openBlock(),e.createBlock(e.unref(y),{key:1,name:a.icon,size:24,class:"action-button__icon"},null,8,["name"]))]),e.createElementVNode("span",Hl,e.toDisplayString(a.title),1),a.description?(e.openBlock(),e.createElementBlock("span",{key:0,id:i.value,class:"action-button__description"},e.toDisplayString(a.description),9,Gl)):e.createCommentVNode("",!0)],8,Ul)):(e.openBlock(),e.createElementBlock("button",{key:1,type:"button","aria-label":a.title,"aria-describedby":i.value,disabled:!o.value,class:"action-button__content",onClick:r},[e.createElementVNode("div",Xl,[a.loading?(e.openBlock(),e.createBlock(e.unref(q),{key:0,size:"lg"})):(e.openBlock(),e.createBlock(e.unref(y),{key:1,name:a.icon,size:24,class:"action-button__icon"},null,8,["name"]))]),e.createElementVNode("span",Yl,e.toDisplayString(a.title),1),a.description?(e.openBlock(),e.createElementBlock("span",{key:0,id:i.value,class:"action-button__description"},e.toDisplayString(a.description),9,Kl)):e.createCommentVNode("",!0)],8,Wl))]),_:1},8,["clickable","class"]))}}),Jl=x(Ql,[["__scopeId","data-v-2abfbcff"]]),eo={class:"alert__icon"},to={class:"alert__content"},ao={key:0,class:"alert__title"},no={class:"alert__message"},lo=e.defineComponent({__name:"Alert",props:{variant:{default:"info"},message:{},title:{},dismissible:{type:Boolean,default:!0}},emits:["dismiss"],setup(a,{emit:t}){const n=t,l=e.ref(!0),o=r=>{switch(r){case"success":return"check-circle";case"error":return"exclamation-circle";case"warning":return"exclamation-triangle";case"info":return"information-circle";default:return"information-circle"}},i=()=>{l.value=!1,n("dismiss")};return(r,s)=>l.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["alert",`alert--${a.variant}`]),role:"alert"},[e.createElementVNode("div",eo,[e.createVNode(e.unref(y),{name:o(a.variant),size:20},null,8,["name"])]),e.createElementVNode("div",to,[a.title?(e.openBlock(),e.createElementBlock("p",ao,e.toDisplayString(a.title),1)):e.createCommentVNode("",!0),e.createElementVNode("p",no,e.toDisplayString(a.message),1)]),a.dismissible?(e.openBlock(),e.createElementBlock("button",{key:0,type:"button",class:"alert__close","aria-label":"Fechar alerta",onClick:i},[e.createVNode(e.unref(y),{name:"x",size:20})])):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0)}}),O=x(lo,[["__scopeId","data-v-ac761ee4"]]),oo={key:0,class:"analysis-status analysis-status--compact"},ro={class:"analysis-status__icon-wrapper"},io={class:"analysis-status__content"},so={class:"analysis-status__label"},co={class:"analysis-status__message"},uo=e.defineComponent({__name:"AnalysisStatus",props:{status:{},message:{},compact:{type:Boolean,default:!1},animated:{type:Boolean,default:!0}},setup(a){const t=a,n={pending:{label:"Pendente",icon:"clock",variant:"warning",description:"Aguardando início da análise"},analyzing:{label:"Em análise",icon:"arrow-path",variant:"info",description:"Sua proposta está sendo analisada"},approved:{label:"Aprovado",icon:"check-circle",variant:"success",description:"Proposta aprovada com sucesso"},rejected:{label:"Recusado",icon:"x",variant:"error",description:"Proposta não aprovada"},expired:{label:"Expirado",icon:"clock",variant:"warning",description:"Proposta expirada"},cancelled:{label:"Cancelado",icon:"x",variant:"error",description:"Proposta cancelada"}},l=e.computed(()=>n[t.status]),o=e.computed(()=>t.message||l.value.description);return(i,r)=>a.compact?(e.openBlock(),e.createElementBlock("div",oo,[e.createVNode(e.unref(K),{variant:l.value.variant},{default:e.withCtx(()=>[e.createVNode(e.unref(y),{name:l.value.icon,size:"xs",class:e.normalizeClass({"analysis-status__icon--spinning":a.status==="analyzing"&&a.animated})},null,8,["name","class"]),e.createTextVNode(" "+e.toDisplayString(l.value.label),1)]),_:1},8,["variant"])])):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["analysis-status",`analysis-status--${l.value.variant}`])},[e.createElementVNode("div",ro,[e.createVNode(e.unref(y),{name:l.value.icon,size:"lg",class:e.normalizeClass({"analysis-status__icon--spinning":a.status==="analyzing"&&a.animated})},null,8,["name","class"])]),e.createElementVNode("div",io,[e.createElementVNode("span",so,e.toDisplayString(l.value.label),1),e.createElementVNode("span",co,e.toDisplayString(o.value),1)])],2))}}),mo=x(uo,[["__scopeId","data-v-f79ffdc3"]]),ho={class:"celebration__confetti"},fo={class:"celebration__icon"},po={class:"celebration__details"},vo={class:"celebration__detail"},go={class:"celebration__detail-value"},_o={class:"celebration__detail"},ko={class:"celebration__detail-value celebration__detail-value--highlight"},Vo={key:0,class:"celebration__detail"},wo={class:"celebration__detail-value"},bo={class:"celebration__actions"},Eo=e.defineComponent({__name:"ContractPaidCelebration",props:{contractNumber:{},totalPaid:{},paidAt:{},title:{default:"Parabéns!"},subtitle:{default:"Seu contrato foi quitado com sucesso"}},emits:["close","viewDetails","share"],setup(a,{emit:t}){const n=a,l=t,o=e.computed(()=>new Intl.NumberFormat("pt-BR",{style:"currency",currency:"BRL"}).format(n.totalPaid)),i=e.computed(()=>{if(!n.paidAt)return null;const r=typeof n.paidAt=="string"?new Date(n.paidAt):n.paidAt;return new Intl.DateTimeFormat("pt-BR",{day:"2-digit",month:"long",year:"numeric"}).format(r)});return(r,s)=>(e.openBlock(),e.createBlock(e.unref(I),{variant:"elevated",padding:"lg",class:"celebration"},{default:e.withCtx(()=>[e.createElementVNode("div",ho,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(12,c=>e.createElementVNode("span",{class:"celebration__confetti-piece",key:c})),64))]),e.createElementVNode("div",fo,[e.createVNode(e.unref(y),{name:"check-circle",size:"xl",variant:"solid"})]),e.createVNode(e.unref(T),{variant:"h2",class:"celebration__title"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.title),1)]),_:1}),e.createVNode(e.unref(T),{variant:"body",color:"muted",class:"celebration__subtitle"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.subtitle),1)]),_:1}),e.createElementVNode("div",po,[e.createElementVNode("div",vo,[s[2]||(s[2]=e.createElementVNode("span",{class:"celebration__detail-label"},"Contrato",-1)),e.createElementVNode("span",go,"#"+e.toDisplayString(a.contractNumber),1)]),e.createElementVNode("div",_o,[s[3]||(s[3]=e.createElementVNode("span",{class:"celebration__detail-label"},"Valor quitado",-1)),e.createElementVNode("span",ko,e.toDisplayString(o.value),1)]),i.value?(e.openBlock(),e.createElementBlock("div",Vo,[s[4]||(s[4]=e.createElementVNode("span",{class:"celebration__detail-label"},"Data de quitação",-1)),e.createElementVNode("span",wo,e.toDisplayString(i.value),1)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",bo,[e.createVNode(e.unref(C),{variant:"outline",size:"sm",onClick:s[0]||(s[0]=c=>l("viewDetails"))},{default:e.withCtx(()=>[...s[5]||(s[5]=[e.createTextVNode(" Ver detalhes ",-1)])]),_:1}),e.createVNode(e.unref(C),{variant:"primary",size:"sm",onClick:s[1]||(s[1]=c=>l("close"))},{default:e.withCtx(()=>[...s[6]||(s[6]=[e.createTextVNode(" Continuar ",-1)])]),_:1})])]),_:1}))}}),yo=x(Eo,[["__scopeId","data-v-a916351b"]]),No={class:"document-upload"},xo=["aria-disabled","aria-label"],Bo=["accept","multiple","disabled"],Co={class:"document-upload__label"},$o={class:"document-upload__hint"},So={key:0,class:"document-upload__list",role:"list","aria-label":"Arquivos selecionados"},Mo={class:"document-upload__file-info"},Do={class:"document-upload__file-details"},zo={class:"document-upload__file-name"},Ao={class:"document-upload__file-size"},Io=e.defineComponent({__name:"DocumentUpload",props:{accept:{default:"image/jpeg,image/png,application/pdf"},maxSize:{default:5*1024*1024},multiple:{type:Boolean,default:!1},maxFiles:{default:5},disabled:{type:Boolean,default:!1},label:{default:"Arraste arquivos ou clique para selecionar"},modelValue:{default:()=>[]}},emits:["update:modelValue","files-selected","error"],setup(a,{expose:t,emit:n}){const l=a,o=n,i=e.ref(!1),r=e.ref(0),s=e.ref([...l.modelValue]),c=e.ref(null);e.watch(()=>l.modelValue,N=>{s.value=[...N]},{deep:!0});function d(N){return N<1024?`${N} B`:N<1024*1024?`${(N/1024).toFixed(1)} KB`:`${(N/(1024*1024)).toFixed(1)} MB`}function h(N){const $={"image/jpeg":"JPEG","image/png":"PNG","application/pdf":"PDF","image/*":"Imagens"};return N.split(",").map(D=>$[D.trim()]||D.trim()).join(", ")}const f=e.computed(()=>h(l.accept)),p=e.computed(()=>d(l.maxSize));function g(N){return l.accept.split(",").map(M=>M.trim()).some(M=>M.endsWith("/*")?N.type.startsWith(M.replace("/*","")):N.type===M)?null:{type:"type",message:`Tipo não aceito: ${N.type||"desconhecido"}`,file:N}}function _(N){return N.size>l.maxSize?{type:"size",message:`"${N.name}" excede ${p.value}`,file:N}:null}function m(N){const $=s.value.length+N;return l.multiple&&$>l.maxFiles?{type:"count",message:`Limite de ${l.maxFiles} arquivos excedido`}:null}function u(N){if(l.disabled)return;const $=Array.from(N),D=l.multiple?$:$.slice(0,1),M=m(D.length);if(M){o("error",M);return}const A=[];for(const B of D){const R=g(B);if(R){o("error",R);continue}const oe=_(B);if(oe){o("error",oe);continue}A.push(B)}A.length>0&&(s.value=l.multiple?[...s.value,...A]:A,o("update:modelValue",s.value),o("files-selected",s.value))}function v(N){N.preventDefault(),N.stopPropagation(),!l.disabled&&(r.value++,i.value=!0)}function V(N){N.preventDefault(),N.stopPropagation(),!l.disabled&&(r.value--,r.value===0&&(i.value=!1))}function b(N){N.preventDefault(),N.stopPropagation()}function k(N){if(N.preventDefault(),N.stopPropagation(),r.value=0,i.value=!1,l.disabled)return;const $=N.dataTransfer?.files;$&&$.length>0&&u($)}function w(){l.disabled||c.value?.click()}function E(N){(N.key==="Enter"||N.key===" ")&&(N.preventDefault(),w())}function S(N){const $=N.target;$.files&&$.files.length>0&&u($.files),$.value=""}function z(N){s.value.splice(N,1),o("update:modelValue",s.value),o("files-selected",s.value)}return t({openFilePicker:w}),(N,$)=>(e.openBlock(),e.createElementBlock("div",No,[e.createElementVNode("div",{role:"button",tabindex:"0",class:e.normalizeClass(["document-upload__dropzone",{"document-upload__dropzone--disabled":a.disabled,"document-upload__dropzone--dragging":i.value}]),"aria-disabled":a.disabled,"aria-label":`${a.label}. Pressione Enter para abrir seletor.`,onClick:w,onKeydown:E,onDragenter:v,onDragleave:V,onDragover:b,onDrop:k},[e.createElementVNode("input",{ref_key:"fileInput",ref:c,type:"file",class:"document-upload__input",accept:a.accept,multiple:a.multiple,disabled:a.disabled,"aria-hidden":"true",onChange:S},null,40,Bo),e.createElementVNode("div",{class:e.normalizeClass(["document-upload__icon",{"document-upload__icon--active":i.value}])},[e.createVNode(e.unref(y),{name:"arrow-up-tray",size:32})],2),e.createElementVNode("p",Co,e.toDisplayString(a.label),1),e.createElementVNode("p",$o,"Formatos: "+e.toDisplayString(f.value)+" | Máx: "+e.toDisplayString(p.value),1)],42,xo),s.value.length>0?(e.openBlock(),e.createElementBlock("ul",So,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value,(D,M)=>(e.openBlock(),e.createElementBlock("li",{key:`${D.name}-${M}`,class:"document-upload__file"},[e.createElementVNode("div",Mo,[e.createVNode(e.unref(y),{name:"document-text",size:20,class:"document-upload__file-icon"}),e.createElementVNode("div",Do,[e.createElementVNode("p",zo,e.toDisplayString(D.name),1),e.createElementVNode("p",Ao,e.toDisplayString(d(D.size)),1)])]),e.createVNode(e.unref(C),{variant:"ghost",size:"sm",rounded:"full","aria-label":`Remover ${D.name}`,onClick:e.withModifiers(A=>z(M),["stop"])},{default:e.withCtx(()=>[e.createVNode(e.unref(y),{name:"x",size:16})]),_:1},8,["aria-label","onClick"])]))),128))])):e.createCommentVNode("",!0)]))}}),ze=x(Io,[["__scopeId","data-v-79ebc820"]]),To={key:0,class:"file-preview-compact",role:"listitem"},Lo=["title"],Fo={class:"file-preview-compact__size"},Po=["aria-label"],Zo={class:"file-preview__content"},Ro={key:0,class:"file-preview__loading"},qo={key:1,class:"file-preview__fallback"},Oo={key:0,class:"file-preview__fallback-label"},Uo=["src","alt"],jo={class:"file-preview__info"},Ho={class:"file-preview__details"},Go=["title"],Wo={class:"file-preview__size"},Xo={key:0,class:"file-preview__actions"},Yo=e.defineComponent({__name:"FilePreview",props:{file:{},showActions:{type:Boolean,default:!0},compact:{type:Boolean,default:!1},thumbnailSize:{default:80},maxFileNameLength:{default:25}},emits:["view","download","remove"],setup(a,{emit:t}){const n=a,l=t,o=e.ref(null),i=e.ref(!1),r=e.ref(!1);function s(k){return k.type.startsWith("image/")?"image":k.type==="application/pdf"?"pdf":"unknown"}function c(k){return k<1024?`${k} B`:k<1024*1024?`${(k/1024).toFixed(1)} KB`:`${(k/(1024*1024)).toFixed(1)} MB`}function d(k,w){if(k.length<=w)return k;const E=k.split(".").pop()||"",S=k.slice(0,k.length-E.length-1),z=w-E.length-4;return`${S.slice(0,z)}...${E?"."+E:""}`}function h(k){const w=URL.createObjectURL(k),E=document.createElement("a");E.href=w,E.download=k.name,document.body.appendChild(E),E.click(),document.body.removeChild(E),URL.revokeObjectURL(w)}const f=e.computed(()=>s(n.file)),p=e.computed(()=>d(n.file.name,n.maxFileNameLength)),g=e.computed(()=>c(n.file.size));function _(){if(f.value==="image"){r.value=!0,i.value=!1;try{o.value&&URL.revokeObjectURL(o.value),o.value=URL.createObjectURL(n.file)}catch{i.value=!0}finally{r.value=!1}}}function m(){i.value=!0}function u(){r.value=!1}function v(){l("view",n.file)}function V(){h(n.file),l("download",n.file)}function b(){l("remove",n.file)}return e.watch(()=>n.file,()=>{f.value==="image"&&_()},{immediate:!0}),e.onUnmounted(()=>{o.value&&URL.revokeObjectURL(o.value)}),(k,w)=>a.compact?(e.openBlock(),e.createElementBlock("div",To,[e.createVNode(e.unref(y),{name:f.value==="pdf"?"document-text":f.value==="image"?"photograph":"document-text",size:16,class:"file-preview-compact__icon"},null,8,["name"]),e.createElementVNode("span",{class:"file-preview-compact__name",title:a.file.name},e.toDisplayString(p.value),9,Lo),e.createElementVNode("span",Fo,e.toDisplayString(g.value),1),a.showActions?(e.openBlock(),e.createElementBlock("button",{key:0,type:"button",class:"file-preview-compact__remove","aria-label":`Remover ${a.file.name}`,onClick:b},[e.createVNode(e.unref(y),{name:"x",size:16})],8,Po)):e.createCommentVNode("",!0)])):(e.openBlock(),e.createBlock(e.unref(I),{key:1,variant:"outlined",padding:"sm",class:"file-preview"},{default:e.withCtx(()=>[e.createElementVNode("div",Zo,[e.createElementVNode("div",{class:"file-preview__thumbnail",style:e.normalizeStyle({width:`${a.thumbnailSize}px`,height:`${a.thumbnailSize}px`})},[r.value?(e.openBlock(),e.createElementBlock("div",Ro,[e.createVNode(e.unref(q),{size:"sm"})])):i.value||!o.value?(e.openBlock(),e.createElementBlock("div",qo,[e.createVNode(e.unref(y),{name:(f.value==="pdf","document-text"),size:24},null,8,["name"]),f.value==="pdf"?(e.openBlock(),e.createElementBlock("span",Oo,"PDF")):e.createCommentVNode("",!0)])):(e.openBlock(),e.createElementBlock("img",{key:2,src:o.value,alt:`Preview de ${a.file.name}`,class:"file-preview__image",onError:m,onLoad:u},null,40,Uo))],4),e.createElementVNode("div",jo,[e.createElementVNode("div",Ho,[e.createElementVNode("p",{class:"file-preview__name",title:a.file.name},e.toDisplayString(p.value),9,Go),e.createElementVNode("p",Wo,e.toDisplayString(g.value),1)]),a.showActions?(e.openBlock(),e.createElementBlock("div",Xo,[e.createVNode(e.unref(C),{variant:"ghost",size:"sm","aria-label":`Visualizar ${a.file.name}`,onClick:v},{"leading-icon":e.withCtx(()=>[e.createVNode(e.unref(y),{name:"eye",size:16})]),default:e.withCtx(()=>[w[0]||(w[0]=e.createElementVNode("span",{class:"file-preview__action-label"},"Visualizar",-1))]),_:1},8,["aria-label"]),e.createVNode(e.unref(C),{variant:"ghost",size:"sm","aria-label":`Baixar ${a.file.name}`,onClick:V},{"leading-icon":e.withCtx(()=>[e.createVNode(e.unref(y),{name:"arrow-down-tray",size:16})]),default:e.withCtx(()=>[w[1]||(w[1]=e.createElementVNode("span",{class:"file-preview__action-label"},"Baixar",-1))]),_:1},8,["aria-label"]),e.createVNode(e.unref(C),{variant:"ghost",size:"sm",class:"file-preview__remove-btn","aria-label":`Remover ${a.file.name}`,onClick:b},{"leading-icon":e.withCtx(()=>[e.createVNode(e.unref(y),{name:"x",size:16})]),default:e.withCtx(()=>[w[2]||(w[2]=e.createElementVNode("span",{class:"file-preview__action-label"},"Remover",-1))]),_:1},8,["aria-label"])])):e.createCommentVNode("",!0)])])]),_:1}))}}),Ae=x(Yo,[["__scopeId","data-v-14b8a564"]]),Ko={class:"form-field"},Qo=["id"],Jo=["id"],er=e.defineComponent({__name:"FormField",props:{label:{},error:{type:[String,Boolean]},hint:{},required:{type:Boolean,default:!1},inputId:{}},setup(a){const t=a,n=e.useId(),l=e.computed(()=>t.inputId||`input-${n}`),o=e.computed(()=>`helper-${l.value}`),i=e.computed(()=>!!t.error),r=e.computed(()=>typeof t.error=="string"?t.error:null),s=e.computed(()=>({id:l.value,ariaInvalid:i.value,ariaDescribedby:i.value||t.hint?o.value:void 0,ariaRequired:t.required}));return(c,d)=>(e.openBlock(),e.createElementBlock("div",Ko,[a.label?(e.openBlock(),e.createBlock(e.unref(De),{key:0,for:l.value,required:a.required,error:i.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.label),1)]),_:1},8,["for","required","error"])):e.createCommentVNode("",!0),e.renderSlot(c.$slots,"default",e.normalizeProps(e.guardReactiveProps(s.value)),void 0,!0),a.hint&&!i.value?(e.openBlock(),e.createElementBlock("p",{key:1,id:o.value,class:"form-field__hint"},e.toDisplayString(a.hint),9,Qo)):e.createCommentVNode("",!0),i.value&&r.value?(e.openBlock(),e.createElementBlock("p",{key:2,id:o.value,class:"form-field__error",role:"alert"},e.toDisplayString(r.value),9,Jo)):e.createCommentVNode("",!0)]))}}),j=x(er,[["__scopeId","data-v-9ffc624d"]]),tr=e.defineComponent({__name:"IdentifierInput",props:{modelValue:{default:""},label:{default:"Identificador"},placeholder:{default:"CPF, CNPJ, Email ou Celular"},disabled:{type:Boolean,default:!1},error:{type:[String,Boolean]},required:{type:Boolean,default:!1},id:{},name:{}},emits:["update:modelValue","typeDetected","blur","focus"],setup(a,{emit:t}){const n=a,l=t,o=e.ref(null),i=_=>{const m=_.replace(/\D/g,"").slice(0,11);return m.length<=3?m:m.length<=6?`${m.slice(0,3)}.${m.slice(3)}`:m.length<=9?`${m.slice(0,3)}.${m.slice(3,6)}.${m.slice(6)}`:`${m.slice(0,3)}.${m.slice(3,6)}.${m.slice(6,9)}-${m.slice(9)}`},r=_=>{const m=_.replace(/\D/g,"").slice(0,14);return m.length<=2?m:m.length<=5?`${m.slice(0,2)}.${m.slice(2)}`:m.length<=8?`${m.slice(0,2)}.${m.slice(2,5)}.${m.slice(5)}`:m.length<=12?`${m.slice(0,2)}.${m.slice(2,5)}.${m.slice(5,8)}/${m.slice(8)}`:`${m.slice(0,2)}.${m.slice(2,5)}.${m.slice(5,8)}/${m.slice(8,12)}-${m.slice(12)}`},s=_=>{const m=_.replace(/\D/g,"").slice(0,11);return m.length<=2?m:m.length<=6?`(${m.slice(0,2)}) ${m.slice(2)}`:m.length<=10?`(${m.slice(0,2)}) ${m.slice(2,6)}-${m.slice(6)}`:`(${m.slice(0,2)}) ${m.slice(2,7)}-${m.slice(7)}`},c=_=>_.replace(/\D/g,"").length<=11?i(_):r(_),d=_=>{if(!_)return null;const m=_.trim();if(m.includes("@"))return"email";const u=m.replace(/\D/g,"");if(u.length===14)return"cnpj";if(u.length===11){if(m.includes(".")&&m.includes("-")&&!m.includes("/"))return"cpf";if(m.includes("(")||m.includes(")"))return"phone";const v=parseInt(u.substring(0,2));return v>=11&&v<=99&&u[2]==="9"?"phone":"cpf"}return u.length>=10&&u.length<=11&&(m.includes("(")||m.includes(")"))?"phone":u.length>11&&u.length<=14?"cnpj":null},h=e.computed(()=>{switch(o.value){case"cpf":return"CPF detectado";case"cnpj":return"CNPJ detectado";case"email":return"Email detectado";case"phone":return"Celular detectado";default:return}}),f=e.computed(()=>{switch(o.value){case"cpf":return"identification";case"cnpj":return"building-office";case"email":return"envelope";case"phone":return"phone";default:return null}}),p=e.computed(()=>!!n.error),g=_=>{if(_.includes("@")){o.value="email",l("update:modelValue",_),l("typeDetected","email");return}const m=_.replace(/\D/g,"");if(!m){o.value=null,l("update:modelValue",_),l("typeDetected",null);return}if(_.startsWith("(")||_.includes(")")){const v=s(_);o.value="phone",l("update:modelValue",v),l("typeDetected","phone");return}const u=c(_);m.length===14?(o.value="cnpj",l("update:modelValue",u),l("typeDetected","cnpj")):m.length===11?(o.value="cpf",l("update:modelValue",u),l("typeDetected","cpf")):m.length>11?(o.value="cnpj",l("update:modelValue",u),l("typeDetected",null)):(o.value=null,l("update:modelValue",u),l("typeDetected",null))};return e.watch(()=>n.modelValue,_=>{if(_){const m=d(_);o.value=m,l("typeDetected",m)}},{immediate:!0}),(_,m)=>(e.openBlock(),e.createBlock(e.unref(j),{label:a.label,error:a.error,hint:h.value,required:a.required,"input-id":a.id},{default:e.withCtx(({id:u,ariaInvalid:v,ariaDescribedby:V,ariaRequired:b})=>[e.createVNode(e.unref(Z),{id:u,name:a.name,"model-value":a.modelValue,type:"text",placeholder:a.placeholder,disabled:a.disabled,"has-error":p.value,"aria-invalid":v,"aria-describedby":V,"aria-required":b,"onUpdate:modelValue":g,onBlur:m[0]||(m[0]=k=>l("blur",k)),onFocus:m[1]||(m[1]=k=>l("focus",k))},e.createSlots({_:2},[f.value?{name:"leading-icon",fn:e.withCtx(()=>[e.createVNode(e.unref(y),{name:f.value,size:20,class:"identifier-input__icon"},null,8,["name"])]),key:"0"}:void 0]),1032,["id","name","model-value","placeholder","disabled","has-error","aria-invalid","aria-describedby","aria-required"])]),_:1},8,["label","error","hint","required","input-id"]))}}),Ie=x(tr,[["__scopeId","data-v-ddaaf491"]]),ar={class:"info-card__content"},nr=["href"],lr=e.defineComponent({__name:"InfoCard",props:{icon:{},title:{},description:{default:""},buttonLabel:{default:""},buttonVariant:{default:"primary"},variant:{default:"default"},outlined:{type:Boolean,default:!1},href:{default:""}},emits:["click"],setup(a,{emit:t}){const n=a,l=t,o=e.computed(()=>!!n.buttonLabel),i=e.computed(()=>!!n.href);function r(){l("click")}return(s,c)=>(e.openBlock(),e.createBlock(e.unref(I),{variant:a.variant==="default"?"default":"outlined",padding:"md",class:e.normalizeClass(["info-card",`info-card--${a.variant}${a.outlined?"-outlined":""}`])},{default:e.withCtx(()=>[e.createElementVNode("div",ar,[e.createVNode(e.unref(y),{name:a.icon,size:32,class:e.normalizeClass(["info-card__icon",`info-card__icon--${a.variant}`])},null,8,["name","class"]),e.createElementVNode("h4",{class:e.normalizeClass(["info-card__title",`info-card__title--${a.variant}`])},e.toDisplayString(a.title),3),a.description?(e.openBlock(),e.createElementBlock("p",{key:0,class:e.normalizeClass(["info-card__description",`info-card__description--${a.variant}`])},e.toDisplayString(a.description),3)):e.createCommentVNode("",!0),e.renderSlot(s.$slots,"default",{},void 0,!0),o.value&&i.value?(e.openBlock(),e.createElementBlock("a",{key:1,href:a.href,target:"_blank",rel:"noopener noreferrer",class:"info-card__action"},[e.createVNode(e.unref(C),{variant:a.buttonVariant,onClick:r},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.buttonLabel),1)]),_:1},8,["variant"])],8,nr)):o.value?(e.openBlock(),e.createBlock(e.unref(C),{key:2,variant:a.buttonVariant,class:"info-card__action",onClick:r},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.buttonLabel),1)]),_:1},8,["variant"])):e.createCommentVNode("",!0),e.renderSlot(s.$slots,"action",{},void 0,!0)])]),_:3},8,["variant","class"]))}}),or=x(lr,[["__scopeId","data-v-1444b0f8"]]),rr={class:"input-range-money"},ir={class:"input-range-money__slider-container"},sr=["min","max","value","disabled"],cr={key:0,width:"18",height:"18",viewBox:"0 0 13 12",fill:"none",class:"input-range-money__edit-icon",xmlns:"http://www.w3.org/2000/svg"},dr=e.defineComponent({__name:"InputRangeMoney",props:{modelValue:{},min:{},max:{},isLoading:{type:Boolean,default:!1}},emits:["update:modelValue","open-modal"],setup(a,{emit:t}){const n=a,l=t,o=e.computed({get:()=>n.modelValue,set:s=>l("update:modelValue",s)});function i(s){const c=s.target;l("update:modelValue",parseInt(c.value))}function r(){n.isLoading||l("open-modal")}return(s,c)=>(e.openBlock(),e.createElementBlock("div",rr,[e.createElementVNode("div",ir,[e.createElementVNode("input",{type:"range",min:a.min,max:a.max,value:o.value,disabled:a.isLoading,class:e.normalizeClass(["input-range-money__slider",{"input-range-money__slider--disabled":a.isLoading}]),onInput:i},null,42,sr)]),e.createElementVNode("div",{class:e.normalizeClass(["input-range-money__display",{"input-range-money__display--clickable":!a.isLoading}]),onClick:r},[e.createVNode(e.unref(L),{value:a.modelValue,size:"lg",class:"input-range-money__value"},null,8,["value"]),a.isLoading?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("svg",cr,[...c[0]||(c[0]=[e.createElementVNode("path",{d:"M1.25 11.25H2.07356L10.0971 3.22644L9.27356 2.40289L1.25 10.4264V11.25ZM0.5 12V10.1106L10.3856 0.214894C10.4624 0.146381 10.5472 0.0934373 10.6401 0.0560623C10.7329 0.0186873 10.8297 0 10.9304 0C11.0312 0 11.1288 0.015863 11.2232 0.047588C11.3177 0.0793255 11.4048 0.136538 11.4846 0.219225L12.2851 1.02403C12.3678 1.10384 12.4243 1.19139 12.4546 1.28668C12.4849 1.38197 12.5 1.47726 12.5 1.57254C12.5 1.67418 12.4829 1.77142 12.4486 1.86426C12.4144 1.95709 12.3599 2.04192 12.2851 2.11875L2.38942 12H0.5ZM9.67811 2.82189L9.27356 2.40289L10.0971 3.22644L9.67811 2.82189Z"},null,-1)])]))],2)]))}}),ur=x(dr,[["__scopeId","data-v-8afb493a"]]),U=e.defineComponent({__name:"StatusBadge",props:{status:{},domain:{default:"contract"},size:{default:"md"},showIcon:{type:Boolean,default:!0},variant:{default:void 0},icon:{default:void 0},label:{default:void 0}},setup(a){const t=a,n={contract:{ATIVO:{variant:"success",icon:"check-circle",label:"Ativo"},INATIVO:{variant:"neutral",icon:"x",label:"Inativo"},PENDING:{variant:"warning",icon:"clock",label:"Pendente"},CANCELLED:{variant:"error",icon:"x",label:"Cancelado"}},loanRequest:{PENDING:{variant:"warning",icon:"clock",label:"Pendente"},PENDING_SIGNATURE:{variant:"info",icon:"pencil",label:"Aguardando Assinatura"},PROCESSING:{variant:"info",icon:"arrow-path",label:"Em Processamento"},ISSUED:{variant:"success",icon:"check-circle",label:"Emitido"},CANCELLED:{variant:"error",icon:"x",label:"Cancelado"},REJECTED:{variant:"error",icon:"x",label:"Rejeitado"}},lead:{NEW:{variant:"info",icon:"sparkles",label:"Novo"},CONTACTED:{variant:"primary",icon:"phone",label:"Contactado"},QUALIFIED:{variant:"success",icon:"check",label:"Qualificado"},LOST:{variant:"error",icon:"x",label:"Perdido"}},borrower:{ACTIVE:{variant:"success",icon:"check-circle",label:"Ativo"},INACTIVE:{variant:"neutral",icon:"x",label:"Inativo"},BLOCKED:{variant:"error",icon:"shield-exclamation",label:"Bloqueado"}},installment:{PENDING:{variant:"warning",icon:"clock",label:"Pendente"},PROCESSING:{variant:"info",icon:"arrow-path",label:"Processando"},PAID:{variant:"success",icon:"check-circle",label:"Pago"},OVERDUE:{variant:"error",icon:"exclamation-circle",label:"Vencida"},PAID_LATE:{variant:"warning",icon:"check",label:"Pago com Atraso"}}},l={variant:"neutral",icon:"information-circle",label:"Desconhecido"};function o(c,d){return n[c]?.[d]??{...l,label:d}}const i=e.computed(()=>{if(t.variant&&t.label)return{variant:t.variant,icon:t.icon??"information-circle",label:t.label};const c=o(t.domain,t.status);return{variant:t.variant??c.variant,icon:t.icon??c.icon,label:t.label??c.label}}),r=e.computed(()=>({sm:14,md:16,lg:18})[t.size]||16),s=e.computed(()=>`Status: ${i.value.label}`);return(c,d)=>(e.openBlock(),e.createBlock(e.unref(K),{variant:i.value.variant,size:a.size,label:i.value.label,role:"status","aria-label":s.value},e.createSlots({_:2},[a.showIcon&&i.value.icon?{name:"leading-icon",fn:e.withCtx(()=>[e.createVNode(e.unref(y),{name:i.value.icon,size:r.value,"aria-hidden":"true"},null,8,["name","size"])]),key:"0"}:void 0]),1032,["variant","size","label","aria-label"]))}}),mr=["aria-label"],hr={class:"installment-card__header"},fr={class:"installment-card__label installment-card__label--compact"},pr={class:"installment-card__content"},vr={class:"installment-card__amount installment-card__amount--compact"},gr={class:"installment-card__due"},_r={class:"installment-card__header"},kr={class:"installment-card__label"},Vr={class:"installment-card__amount"},wr={class:"installment-card__due installment-card__due--full"},br=e.defineComponent({__name:"InstallmentCard",props:{installment:{},totalInstallments:{default:void 0},variant:{default:"default"}},setup(a){const t=a;function n(r){return new Intl.NumberFormat("pt-BR",{style:"currency",currency:"BRL"}).format(r/100)}const l=e.computed(()=>{try{const r=new Date(t.installment.dueDate);return t.variant==="compact"?new Intl.DateTimeFormat("pt-BR",{day:"2-digit",month:"2-digit"}).format(r):new Intl.DateTimeFormat("pt-BR",{day:"2-digit",month:"2-digit",year:"numeric"}).format(r)}catch{return t.installment.dueDate}}),o=e.computed(()=>t.variant==="compact"&&t.totalInstallments?`Próxima Parcela (${t.installment.number}/${t.totalInstallments})`:`Parcela ${t.installment.number}`),i=e.computed(()=>n(t.installment.amount));return(r,s)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["installment-card",`installment-card--${a.variant} installment-card--${a.installment.status.toLowerCase()}`]),"data-testid":"installment-card",role:"article","aria-label":`${o.value}, valor ${i.value}, vencimento ${l.value}`},[a.variant==="compact"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",hr,[e.createElementVNode("p",fr,e.toDisplayString(o.value),1),e.createVNode(e.unref(U),{status:a.installment.status,domain:"installment",size:"sm"},null,8,["status"])]),e.createElementVNode("div",pr,[e.createElementVNode("span",vr,e.toDisplayString(i.value),1),e.createElementVNode("span",gr," • Venc: "+e.toDisplayString(l.value),1)])],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",_r,[e.createElementVNode("p",kr,e.toDisplayString(o.value),1),e.createVNode(e.unref(U),{status:a.installment.status,domain:"installment",size:"sm"},null,8,["status"])]),e.createElementVNode("p",Vr,e.toDisplayString(i.value),1),e.createElementVNode("p",wr," Vencimento: "+e.toDisplayString(l.value),1)],64))],10,mr))}}),Er=x(br,[["__scopeId","data-v-e068aeeb"]]),yr={class:"installment-selector"},Nr=["disabled"],xr={class:"installment-selector__display"},Br={key:1,class:"installment-selector__value"},Cr={class:"installment-selector__count"},$r={class:"installment-selector__amount"},Sr=["disabled"],Mr=e.defineComponent({__name:"InstallmentSelector",props:{installments:{},installmentValue:{},minInstallments:{},maxInstallments:{},step:{default:6},isLoading:{type:Boolean,default:!1}},emits:["update:installments"],setup(a,{emit:t}){const n=a,l=t,o=e.computed(()=>new Intl.NumberFormat("pt-BR",{style:"currency",currency:"BRL"}).format(n.installmentValue/100)),i=e.computed(()=>n.installments<=n.minInstallments||n.isLoading),r=e.computed(()=>n.installments>=n.maxInstallments||n.isLoading);function s(){if(i.value)return;const d=Math.max(n.installments-n.step,n.minInstallments);l("update:installments",d)}function c(){if(r.value)return;const d=Math.min(n.installments+n.step,n.maxInstallments);l("update:installments",d)}return(d,h)=>(e.openBlock(),e.createElementBlock("div",yr,[e.createElementVNode("button",{type:"button",class:"installment-selector__button",disabled:i.value,"aria-label":"Diminuir parcelas",onClick:s},[e.createVNode(e.unref(y),{name:"minus",size:20})],8,Nr),e.createElementVNode("div",xr,[a.isLoading?(e.openBlock(),e.createBlock(e.unref(q),{key:0,size:"md"})):(e.openBlock(),e.createElementBlock("div",Br,[e.createElementVNode("span",Cr,e.toDisplayString(a.installments)+"x de ",1),e.createElementVNode("span",$r,e.toDisplayString(o.value),1)]))]),e.createElementVNode("button",{type:"button",class:"installment-selector__button",disabled:r.value,"aria-label":"Aumentar parcelas",onClick:c},[e.createVNode(e.unref(y),{name:"plus",size:20})],8,Sr)]))}}),Dr=x(Mr,[["__scopeId","data-v-890f07eb"]]),zr={class:"margin-indicator"},Ar={class:"margin-indicator__header"},Ir={class:"margin-indicator__label"},Tr={key:0,class:"margin-indicator__percentage"},Lr={class:"margin-indicator__bar"},Fr={class:"margin-indicator__bar-track"},Pr={key:0,class:"margin-indicator__values"},Zr={class:"margin-indicator__value margin-indicator__value--used"},Rr={class:"margin-indicator__value-amount"},qr={class:"margin-indicator__value margin-indicator__value--available"},Or={class:"margin-indicator__value margin-indicator__value--total"},Ur={class:"margin-indicator__value-amount"},jr=e.defineComponent({__name:"MarginIndicator",props:{total:{},used:{},showValues:{type:Boolean,default:!0},showPercentage:{type:Boolean,default:!0},label:{default:"Margem consignável"}},setup(a){const t=a,n=e.computed(()=>Math.max(0,t.total-t.used)),l=e.computed(()=>t.total<=0?0:Math.min(100,t.used/t.total*100)),o=e.computed(()=>100-l.value),i=e.computed(()=>l.value>=100?"exhausted":l.value>=80?"warning":l.value>=50?"moderate":"available"),r=s=>new Intl.NumberFormat("pt-BR",{style:"currency",currency:"BRL"}).format(s);return(s,c)=>(e.openBlock(),e.createElementBlock("div",zr,[e.createElementVNode("div",Ar,[e.createElementVNode("span",Ir,e.toDisplayString(a.label),1),a.showPercentage?(e.openBlock(),e.createElementBlock("span",Tr,e.toDisplayString(o.value.toFixed(0))+"% disponível ",1)):e.createCommentVNode("",!0)]),e.createElementVNode("div",Lr,[e.createElementVNode("div",Fr,[e.createElementVNode("div",{class:e.normalizeClass(["margin-indicator__bar-used",`margin-indicator__bar-used--${i.value}`]),style:e.normalizeStyle({width:`${l.value}%`})},null,6)])]),a.showValues?(e.openBlock(),e.createElementBlock("div",Pr,[e.createElementVNode("div",Zr,[c[0]||(c[0]=e.createElementVNode("span",{class:"margin-indicator__value-label"},"Utilizado",-1)),e.createElementVNode("span",Rr,e.toDisplayString(r(a.used)),1)]),e.createElementVNode("div",qr,[c[1]||(c[1]=e.createElementVNode("span",{class:"margin-indicator__value-label"},"Disponível",-1)),e.createElementVNode("span",{class:e.normalizeClass(["margin-indicator__value-amount",`margin-indicator__value-amount--${i.value}`])},e.toDisplayString(r(n.value)),3)]),e.createElementVNode("div",Or,[c[2]||(c[2]=e.createElementVNode("span",{class:"margin-indicator__value-label"},"Total",-1)),e.createElementVNode("span",Ur,e.toDisplayString(r(a.total)),1)])])):e.createCommentVNode("",!0)]))}}),Hr=x(jr,[["__scopeId","data-v-4dcfbf3a"]]),Gr=["aria-labelledby","aria-describedby"],Wr=["id"],Xr={key:0,class:"modal__header"},Yr=["id"],Kr=["id"],Qr={key:1,class:"modal__footer"},Jr=e.defineComponent({__name:"Modal",props:{open:{type:Boolean,default:!1},title:{},closeOnOverlay:{type:Boolean,default:!0},modalId:{}},emits:["close"],setup(a,{emit:t}){const n=a,l=t,o=e.computed(()=>n.modalId||`modal-${Math.random().toString(36).substr(2,9)}`),i=e.computed(()=>`${o.value}-title`),r=e.computed(()=>`${o.value}-content`),s=e.ref(null),c=e.ref(null),d=()=>s.value?Array.from(s.value.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])')).filter(u=>!u.hasAttribute("disabled")&&!u.hasAttribute("aria-hidden")):[];function h(){if(!s.value)return;const m=d();if(m.length===0)return;m[0]?.focus();const u=v=>{if(v.key!=="Tab")return;const V=d();if(V.length===0)return;const b=V[0],k=V[V.length-1];!b||!k||(v.shiftKey?document.activeElement===b&&(v.preventDefault(),k.focus()):document.activeElement===k&&(v.preventDefault(),b.focus()))};s.value.addEventListener("keydown",u),s.value.__focusTrapHandler=u}function f(){if(!s.value)return;const m=s.value.__focusTrapHandler;m&&(s.value.removeEventListener("keydown",m),delete s.value.__focusTrapHandler)}e.watch(()=>n.open,m=>{m?(c.value=document.activeElement,document.body.style.overflow="hidden",e.nextTick(()=>h())):(f(),document.body.style.overflow="",e.nextTick(()=>{c.value&&(c.value.focus(),c.value=null)}))},{immediate:!0});function p(){l("close")}function g(m){m.key==="Escape"&&n.open&&p()}function _(m){n.closeOnOverlay&&m.target===m.currentTarget&&p()}return e.onMounted(()=>{document.addEventListener("keydown",g)}),e.onUnmounted(()=>{document.removeEventListener("keydown",g),document.body.style.overflow="",f()}),(m,u)=>(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[e.createVNode(e.Transition,{"enter-active-class":"modal-enter-active","enter-from-class":"modal-enter-from","enter-to-class":"modal-enter-to","leave-active-class":"modal-leave-active","leave-from-class":"modal-leave-from","leave-to-class":"modal-leave-to"},{default:e.withCtx(()=>[a.open?(e.openBlock(),e.createElementBlock("div",{key:0,class:"modal-overlay",role:"dialog","aria-modal":!0,"aria-labelledby":a.title?i.value:void 0,"aria-describedby":r.value,onClick:_},[e.createElementVNode("div",{ref_key:"modalRef",ref:s,class:"modal",id:o.value,onClick:u[0]||(u[0]=e.withModifiers(()=>{},["stop"]))},[a.title?(e.openBlock(),e.createElementBlock("div",Xr,[e.createElementVNode("h2",{id:i.value,class:"modal__title"},e.toDisplayString(a.title),9,Yr),e.createElementVNode("button",{type:"button",class:"modal__close","aria-label":"Fechar modal",onClick:p},[e.createVNode(e.unref(y),{name:"x",size:24})])])):e.createCommentVNode("",!0),e.createElementVNode("div",{id:r.value,class:"modal__content"},[e.renderSlot(m.$slots,"default",{},void 0,!0)],8,Kr),m.$slots.footer?(e.openBlock(),e.createElementBlock("div",Qr,[e.renderSlot(m.$slots,"footer",{},void 0,!0)])):e.createCommentVNode("",!0)],8,Wr)],8,Gr)):e.createCommentVNode("",!0)]),_:3})]))}}),le=x(Jr,[["__scopeId","data-v-32f840f3"]]),ei=["aria-label","disabled"],ti=e.defineComponent({__name:"PasswordInput",props:{modelValue:{default:""},label:{default:"Senha"},placeholder:{default:"Digite sua senha"},disabled:{type:Boolean,default:!1},error:{type:[String,Boolean]},helperText:{},required:{type:Boolean,default:!1},id:{},name:{}},emits:["update:modelValue","blur","focus"],setup(a,{emit:t}){const n=a,l=t,o=e.ref(!1),i=e.computed(()=>o.value?"text":"password"),r=e.computed(()=>!!n.error),s=()=>{n.disabled||(o.value=!o.value)},c=d=>{l("update:modelValue",d)};return(d,h)=>(e.openBlock(),e.createBlock(e.unref(j),{label:a.label,error:a.error,hint:a.helperText,required:a.required,"input-id":a.id},{default:e.withCtx(({id:f,ariaInvalid:p,ariaDescribedby:g,ariaRequired:_})=>[e.createVNode(e.unref(Z),{id:f,name:a.name,"model-value":a.modelValue,type:i.value,placeholder:a.placeholder,disabled:a.disabled,"has-error":r.value,"aria-invalid":p,"aria-describedby":g,"aria-required":_,autocomplete:"current-password","onUpdate:modelValue":c,onBlur:h[0]||(h[0]=m=>l("blur",m)),onFocus:h[1]||(h[1]=m=>l("focus",m))},{"trailing-icon":e.withCtx(()=>[e.createElementVNode("button",{type:"button",class:e.normalizeClass(["toggle-password",{"toggle-password--disabled":a.disabled}]),"aria-label":o.value?"Ocultar senha":"Mostrar senha",disabled:a.disabled,onClick:s},[o.value?(e.openBlock(),e.createBlock(e.unref(y),{key:0,name:"eye-off",size:20})):(e.openBlock(),e.createBlock(e.unref(y),{key:1,name:"eye",size:20}))],10,ei)]),_:1},8,["id","name","model-value","type","placeholder","disabled","has-error","aria-invalid","aria-describedby","aria-required"])]),_:1},8,["label","error","hint","required","input-id"]))}}),G=x(ti,[["__scopeId","data-v-4a29a539"]]),ai={class:"pending-proposal-banner__content"},ni={class:"pending-proposal-banner__icon"},li={class:"pending-proposal-banner__info"},oi={class:"pending-proposal-banner__details"},ri={class:"pending-proposal-banner__amount"},ii={class:"pending-proposal-banner__id"},si={class:"pending-proposal-banner__date"},ci={class:"pending-proposal-banner__actions"},di=e.defineComponent({__name:"PendingProposalBanner",props:{proposalId:{},amount:{},createdAt:{},currentStep:{},dismissible:{type:Boolean,default:!1}},emits:["continue","details","dismiss"],setup(a,{emit:t}){const n=a,l=t,o=e.computed(()=>new Intl.NumberFormat("pt-BR",{style:"currency",currency:"BRL"}).format(n.amount)),i=e.computed(()=>{if(!n.createdAt)return null;const r=typeof n.createdAt=="string"?new Date(n.createdAt):n.createdAt;return new Intl.DateTimeFormat("pt-BR",{day:"2-digit",month:"2-digit",year:"numeric"}).format(r)});return(r,s)=>(e.openBlock(),e.createBlock(e.unref(I),{variant:"outlined",padding:"md",class:"pending-proposal-banner"},{default:e.withCtx(()=>[e.createElementVNode("div",ai,[e.createElementVNode("div",ni,[e.createVNode(e.unref(y),{name:"clock",size:"lg"})]),e.createElementVNode("div",li,[e.createVNode(e.unref(T),{variant:"body",weight:"semibold",class:"pending-proposal-banner__title"},{default:e.withCtx(()=>[...s[3]||(s[3]=[e.createTextVNode(" Você tem uma proposta em andamento ",-1)])]),_:1}),e.createElementVNode("div",oi,[e.createElementVNode("span",ri,e.toDisplayString(o.value),1),s[5]||(s[5]=e.createElementVNode("span",{class:"pending-proposal-banner__separator"},"•",-1)),e.createElementVNode("span",ii,"Proposta #"+e.toDisplayString(a.proposalId),1),i.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[s[4]||(s[4]=e.createElementVNode("span",{class:"pending-proposal-banner__separator"},"•",-1)),e.createElementVNode("span",si,e.toDisplayString(i.value),1)],64)):e.createCommentVNode("",!0)]),a.currentStep?(e.openBlock(),e.createBlock(e.unref(T),{key:0,variant:"caption",color:"muted"},{default:e.withCtx(()=>[e.createTextVNode(" Etapa: "+e.toDisplayString(a.currentStep),1)]),_:1})):e.createCommentVNode("",!0)]),a.dismissible?(e.openBlock(),e.createElementBlock("button",{key:0,type:"button",class:"pending-proposal-banner__dismiss","aria-label":"Dispensar",onClick:s[0]||(s[0]=c=>l("dismiss"))},[e.createVNode(e.unref(y),{name:"x",size:"sm"})])):e.createCommentVNode("",!0)]),e.createElementVNode("div",ci,[e.createVNode(e.unref(C),{variant:"outline",size:"sm",onClick:s[1]||(s[1]=c=>l("details"))},{default:e.withCtx(()=>[...s[6]||(s[6]=[e.createTextVNode(" Ver detalhes ",-1)])]),_:1}),e.createVNode(e.unref(C),{variant:"primary",size:"sm",onClick:s[2]||(s[2]=c=>l("continue"))},{default:e.withCtx(()=>[...s[7]||(s[7]=[e.createTextVNode(" Continuar proposta ",-1)])]),_:1})])]),_:1}))}}),ui=x(di,[["__scopeId","data-v-75bb9d94"]]),mi={class:"pin-input"},hi={class:"pin-input__fields"},fi=["onUpdate:modelValue","disabled","onInput","onKeydown","onPaste"],pi=e.defineComponent({__name:"PinInput",props:{modelValue:{default:""},length:{default:6},disabled:{type:Boolean,default:!1},error:{type:Boolean,default:!1},autoSubmit:{type:Boolean,default:!1}},emits:["update:modelValue","complete","submit"],setup(a,{expose:t,emit:n}){const l=a,o=n,i=e.ref([]),r=e.ref(Array(l.length).fill(""));e.watch(()=>l.modelValue,g=>{const _=(g||"").split("").slice(0,l.length);for(let m=0;m<l.length;m++)r.value[m]=_[m]||""},{immediate:!0}),e.watch(()=>l.length,g=>{r.value=Array(g).fill("")});const s=e.computed(()=>r.value.join(""));e.watch(s,g=>{o("update:modelValue",g),g.length===l.length&&(o("complete",g),l.autoSubmit&&e.nextTick(()=>{o("submit",g)}))});const c=()=>{r.value=Array(l.length).fill(""),d(0)},d=g=>{e.nextTick(()=>{i.value[g]&&i.value[g].focus()})},h=(g,_)=>{let u=_.target.value;u=u.replace(/[^0-9]/g,""),u.length>1&&(u=u[u.length-1]),r.value[g]=u,u&&g<l.length-1&&d(g+1)},f=(g,_)=>{_.key==="Backspace"&&!r.value[g]&&g>0&&(_.preventDefault(),r.value[g-1]="",d(g-1)),_.key==="ArrowLeft"&&g>0&&(_.preventDefault(),d(g-1)),_.key==="ArrowRight"&&g<l.length-1&&(_.preventDefault(),d(g+1)),_.key==="Enter"&&(_.preventDefault(),s.value.length===l.length&&o("submit",s.value))},p=g=>{g.preventDefault();const m=(g.clipboardData?.getData("text")||"").replace(/[^0-9]/g,"").slice(0,l.length);for(let v=0;v<l.length;v++)r.value[v]=m[v]||"";const u=r.value.findIndex(v=>!v);d(u!==-1?u:l.length-1)};return e.onMounted(()=>{d(0)}),t({clear:c,focus:()=>d(0)}),(g,_)=>(e.openBlock(),e.createElementBlock("div",mi,[e.createElementVNode("div",hi,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.value,(m,u)=>e.withDirectives((e.openBlock(),e.createElementBlock("input",{key:u,ref_for:!0,ref:v=>i.value[u]=v,"onUpdate:modelValue":v=>r.value[u]=v,type:"text",inputmode:"numeric",maxlength:"1",autocomplete:"one-time-code",disabled:a.disabled,class:e.normalizeClass(["pin-input__field",{"pin-input__field--error":a.error,"pin-input__field--disabled":a.disabled,"pin-input__field--filled":!!m}]),onInput:v=>h(u,v),onKeydown:v=>f(u,v),onPaste:v=>u===0?p(v):null},null,42,fi)),[[e.vModelText,r.value[u]]])),128))])]))}}),vi=x(pi,[["__scopeId","data-v-dfcdac30"]]),gi={class:"progress-bar"},_i={key:0,class:"progress-bar__header"},ki={key:0,class:"progress-bar__label"},Vi={key:1,class:"progress-bar__percentage"},wi=["aria-valuenow","aria-label"],bi=e.defineComponent({__name:"ProgressBar",props:{value:{},label:{},color:{default:"primary"},showPercentage:{type:Boolean,default:!0},size:{default:"md"}},setup(a){const t=a,n=e.computed(()=>{const r=t.value??0;return Math.round(Math.max(0,Math.min(100,r)))}),l=e.computed(()=>`${n.value}%`),o=e.computed(()=>t.label||t.showPercentage),i=e.computed(()=>t.label||"Progress");return(r,s)=>(e.openBlock(),e.createElementBlock("div",gi,[o.value?(e.openBlock(),e.createElementBlock("div",_i,[a.label?(e.openBlock(),e.createElementBlock("span",ki,e.toDisplayString(a.label),1)):e.createCommentVNode("",!0),a.showPercentage?(e.openBlock(),e.createElementBlock("span",Vi,e.toDisplayString(n.value)+"% ",1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["progress-bar__track",`progress-bar__track--${a.size}`]),role:"progressbar","aria-valuenow":n.value,"aria-valuemin":"0","aria-valuemax":"100","aria-label":i.value},[e.createElementVNode("div",{class:e.normalizeClass(["progress-bar__fill",`progress-bar__fill--${a.color}`]),style:e.normalizeStyle({width:l.value})},null,6)],10,wi)]))}}),Te=x(bi,[["__scopeId","data-v-02590587"]]),Ei={class:"search-bar"},yi=["disabled"],Ni=e.defineComponent({__name:"SearchBar",props:{modelValue:{default:""},placeholder:{default:"Buscar..."},disabled:{type:Boolean,default:!1},debounce:{default:300},showClear:{type:Boolean,default:!0},id:{}},emits:["update:modelValue","search","clear"],setup(a,{emit:t}){const n=a,l=t,o=e.ref(n.modelValue);let i=null;e.watch(()=>n.modelValue,h=>{o.value=h});const r=e.computed(()=>o.value.length>0);function s(h){o.value=h,l("update:modelValue",h),n.debounce>0?(i&&clearTimeout(i),i=setTimeout(()=>{l("search",h)},n.debounce)):l("search",h)}function c(){o.value="",l("update:modelValue",""),l("search",""),l("clear")}function d(h){h.key==="Escape"&&r.value&&c()}return(h,f)=>(e.openBlock(),e.createElementBlock("div",Ei,[e.createVNode(e.unref(Z),{id:a.id,"model-value":o.value,placeholder:a.placeholder,disabled:a.disabled,type:"text",inputmode:"search",autocomplete:"off","onUpdate:modelValue":s,onKeydown:d},e.createSlots({"leading-icon":e.withCtx(()=>[e.createVNode(e.unref(y),{name:"magnifying-glass",size:"sm"})]),_:2},[a.showClear&&r.value?{name:"trailing-icon",fn:e.withCtx(()=>[e.createElementVNode("button",{type:"button",class:"search-bar__clear",disabled:a.disabled,"aria-label":"Limpar busca",onClick:c},[e.createVNode(e.unref(y),{name:"x",size:"sm"})],8,yi)]),key:"0"}:void 0]),1032,["id","model-value","placeholder","disabled"])]))}}),xi=x(Ni,[["__scopeId","data-v-ad3adeb9"]]),Bi={class:"simulation-loading"},Ci={class:"simulation-loading__spinner"},$i={class:"simulation-loading__message"},Si={key:0,class:"simulation-loading__progress"},Mi={class:"simulation-loading__progress-track"},Di=e.defineComponent({__name:"SimulationLoading",props:{title:{default:"Processando simulação"},messages:{default:()=>["Verificando sua elegibilidade...","Consultando melhores ofertas...","Calculando taxas e parcelas...","Preparando resultados..."]},messageInterval:{default:2500},showProgress:{type:Boolean,default:!0}},setup(a){const t=a,n=e.ref(0);let l=null;const o=e.computed(()=>t.messages[n.value]),i=e.computed(()=>(n.value+1)/t.messages.length*100);return e.onMounted(()=>{t.messages.length>1&&(l=setInterval(()=>{n.value=(n.value+1)%t.messages.length},t.messageInterval))}),e.onUnmounted(()=>{l&&clearInterval(l)}),(r,s)=>(e.openBlock(),e.createElementBlock("div",Bi,[e.createElementVNode("div",Ci,[e.createVNode(e.unref(q),{size:"lg"})]),e.createVNode(e.unref(T),{variant:"h3",class:"simulation-loading__title"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.title),1)]),_:1}),e.createElementVNode("div",$i,[e.createVNode(e.Transition,{name:"fade",mode:"out-in"},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.unref(T),{key:n.value,variant:"body",color:"muted"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.value),1)]),_:1}))]),_:1})]),a.showProgress?(e.openBlock(),e.createElementBlock("div",Si,[e.createElementVNode("div",Mi,[e.createElementVNode("div",{class:"simulation-loading__progress-bar",style:e.normalizeStyle({width:`${i.value}%`})},null,4)]),e.createVNode(e.unref(T),{variant:"caption",color:"muted",class:"simulation-loading__step"},{default:e.withCtx(()=>[e.createTextVNode(" Etapa "+e.toDisplayString(n.value+1)+" de "+e.toDisplayString(a.messages.length),1)]),_:1})])):e.createCommentVNode("",!0)]))}}),zi=x(Di,[["__scopeId","data-v-d06b3891"]]),Ai=["aria-valuenow","aria-valuemax"],Ii=["aria-label"],Ti=["aria-current"],Li={class:"sr-only"},Fi={key:0},Pi={key:1},Zi={key:2},Ri=e.defineComponent({__name:"StepperProgress",props:{currentStep:{},steps:{}},setup(a){const t=a;function n(r){return r<t.currentStep}function l(r){return r===t.currentStep}function o(r){return r>t.currentStep}const i=e.computed(()=>`Etapa ${t.currentStep} de ${t.steps.length}`);return(r,s)=>(e.openBlock(),e.createElementBlock("nav",{class:"stepper-progress","aria-label":"Progresso da simulação","aria-valuenow":a.currentStep,"aria-valuemin":1,"aria-valuemax":a.steps.length,role:"progressbar"},[e.createElementVNode("ol",{class:"stepper-progress__list","aria-label":i.value},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.steps,(c,d)=>(e.openBlock(),e.createElementBlock("li",{key:c.id,class:"stepper-progress__item"},[e.createElementVNode("div",{class:e.normalizeClass(["stepper-progress__circle",{"stepper-progress__circle--complete":n(c.id),"stepper-progress__circle--current":l(c.id),"stepper-progress__circle--future":o(c.id)}]),"aria-current":l(c.id)?"step":void 0},[n(c.id)?(e.openBlock(),e.createBlock(e.unref(y),{key:0,name:"check",size:20,class:"stepper-progress__icon"})):(e.openBlock(),e.createBlock(e.unref(y),{key:1,name:c.icon,size:l(c.id)?22:20,class:"stepper-progress__icon"},null,8,["name","size"]))],10,Ti),e.createElementVNode("span",{class:e.normalizeClass(["stepper-progress__label",{"stepper-progress__label--active":n(c.id)||l(c.id)}])},e.toDisplayString(c.label),3),d<a.steps.length-1?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["stepper-progress__line",{"stepper-progress__line--complete":d<a.currentStep-1}]),"aria-hidden":"true"},null,2)):e.createCommentVNode("",!0)]))),128))],8,Ii),e.createElementVNode("p",Li,[e.createTextVNode(e.toDisplayString(i.value)+": ",1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.steps,c=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:c.id},[n(c.id)?(e.openBlock(),e.createElementBlock("span",Fi,e.toDisplayString(c.label)+" completa. ",1)):l(c.id)?(e.openBlock(),e.createElementBlock("span",Pi,e.toDisplayString(c.label)+" atual. ",1)):(e.openBlock(),e.createElementBlock("span",Zi,e.toDisplayString(c.label)+" pendente. ",1))],64))),128))])],8,Ai))}}),Le=x(Ri,[["__scopeId","data-v-7e39c127"]]),qi={class:"welcome-card__content"},Oi={class:"welcome-card__text"},Ui={key:0,class:"welcome-card__actions"},ji=e.defineComponent({__name:"WelcomeCard",props:{userName:{},userFullName:{},avatarUrl:{},subtitle:{},greeting:{},showAvatar:{type:Boolean,default:!0}},setup(a){const t=a,n=e.computed(()=>{const r=new Date().getHours();return r>=5&&r<12?"Bom dia":r>=12&&r<18?"Boa tarde":"Boa noite"}),l=e.computed(()=>t.greeting||n.value),o=e.computed(()=>t.subtitle||"Bem-vindo(a) de volta!"),i=e.computed(()=>t.userFullName||t.userName);return(r,s)=>(e.openBlock(),e.createBlock(e.unref(I),{variant:"elevated",padding:"lg",class:"welcome-card"},{default:e.withCtx(()=>[e.createElementVNode("div",qi,[a.showAvatar?(e.openBlock(),e.createBlock(e.unref(H),{key:0,name:i.value,src:a.avatarUrl,size:"lg",class:"welcome-card__avatar"},null,8,["name","src"])):e.createCommentVNode("",!0),e.createElementVNode("div",Oi,[e.createVNode(e.unref(T),{variant:"h3",class:"welcome-card__greeting"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.value)+", "+e.toDisplayString(a.userName)+"! ",1)]),_:1}),e.createVNode(e.unref(T),{variant:"body",color:"muted",class:"welcome-card__subtitle"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.value),1)]),_:1})])]),r.$slots.actions?(e.openBlock(),e.createElementBlock("div",Ui,[e.renderSlot(r.$slots,"actions",{},void 0,!0)])):e.createCommentVNode("",!0)]),_:3}))}}),Hi=x(ji,[["__scopeId","data-v-d7f4b9ec"]]),Gi={key:0,class:"auth-layout__overlay"},Wi={key:0,class:"auth-layout__logo"},Xi={key:0,class:"auth-layout__header"},Yi={key:0,class:"auth-layout__title"},Ki={key:1,class:"auth-layout__subtitle"},Qi={class:"auth-layout__content"},Ji={class:"auth-layout__footer"},es={class:"auth-layout__footer-text"},ts=e.defineComponent({__name:"AuthLayout",props:{title:{default:""},subtitle:{default:""},showLogo:{type:Boolean,default:!0},logoSrc:{default:"/logo-white.svg"},logoAlt:{default:"Logo"},backgroundImage:{default:""},backgroundPosition:{default:"center"},size:{default:"sm"}},setup(a){const t=a,n=e.computed(()=>t.title||t.subtitle),l=e.computed(()=>t.backgroundImage?{backgroundImage:`url(${t.backgroundImage})`,backgroundPosition:t.backgroundPosition,backgroundSize:"cover",backgroundRepeat:"no-repeat"}:{});return(o,i)=>(e.openBlock(),e.createElementBlock("div",{class:"auth-layout",style:e.normalizeStyle(l.value)},[a.backgroundImage?(e.openBlock(),e.createElementBlock("div",Gi)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["auth-layout__container",{"auth-layout__container--lg":a.size==="lg"}])},[a.showLogo?(e.openBlock(),e.createElementBlock("div",Wi,[e.createVNode(e.unref(X),{size:"lg",src:a.logoSrc,alt:a.logoAlt},null,8,["src","alt"])])):e.createCommentVNode("",!0),e.createVNode(e.unref(I),{class:"auth-layout__card",variant:"elevated"},{default:e.withCtx(()=>[n.value?(e.openBlock(),e.createElementBlock("div",Xi,[a.title?(e.openBlock(),e.createElementBlock("h1",Yi,e.toDisplayString(a.title),1)):e.createCommentVNode("",!0),a.subtitle?(e.openBlock(),e.createElementBlock("p",Ki,e.toDisplayString(a.subtitle),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",Qi,[e.renderSlot(o.$slots,"default",{},void 0,!0)])]),_:3}),e.createElementVNode("div",Ji,[e.createElementVNode("p",es,[e.renderSlot(o.$slots,"footer",{},()=>[e.createTextVNode(" © "+e.toDisplayString(new Date().getFullYear())+" Todos os direitos reservados. ",1)],!0)])])],2)],4))}}),as=x(ts,[["__scopeId","data-v-50c51185"]]),ns=e.defineComponent({__name:"CreatePasswordForm",props:{loading:{type:Boolean,default:!1},errorMessage:{default:""},successMessage:{default:""},errors:{},submitText:{default:"Criar senha"},loadingText:{default:"Criando senha..."}},emits:["submit"],setup(a,{emit:t}){const n=a,l=t,o=e.ref(""),i=e.ref(""),r=e.computed(()=>!!(n.errors?.newPassword||n.errors?.confirmPassword)),s=e.computed(()=>n.loading||r.value||!o.value||!i.value),c=()=>{l("submit",{newPassword:o.value,confirmPassword:i.value})};return(d,h)=>(e.openBlock(),e.createElementBlock("form",{class:"create-password-form",onSubmit:e.withModifiers(c,["prevent"])},[a.successMessage?(e.openBlock(),e.createBlock(e.unref(O),{key:0,variant:"success",message:a.successMessage,dismissible:!1,class:"create-password-form__alert"},null,8,["message"])):e.createCommentVNode("",!0),a.errorMessage?(e.openBlock(),e.createBlock(e.unref(O),{key:1,variant:"error",message:a.errorMessage,dismissible:!1,class:"create-password-form__alert"},null,8,["message"])):e.createCommentVNode("",!0),h[2]||(h[2]=e.createElementVNode("div",{class:"create-password-form__instructions"},[e.createElementVNode("p",{class:"create-password-form__instructions-title"},"Sua senha deve conter:"),e.createElementVNode("ul",{class:"create-password-form__instructions-list"},[e.createElementVNode("li",null,"No mínimo 8 caracteres"),e.createElementVNode("li",null,"Pelo menos uma letra maiúscula"),e.createElementVNode("li",null,"Pelo menos uma letra minúscula"),e.createElementVNode("li",null,"Pelo menos um número"),e.createElementVNode("li",null,"Pelo menos um caractere especial (@$!%*?&#)")])],-1)),e.createVNode(e.unref(G),{id:"newPassword",modelValue:o.value,"onUpdate:modelValue":h[0]||(h[0]=f=>o.value=f),name:"newPassword",label:"Nova senha",placeholder:"Digite sua nova senha",error:a.errors?.newPassword,disabled:a.loading,required:""},null,8,["modelValue","error","disabled"]),e.createVNode(e.unref(G),{id:"confirmPassword",modelValue:i.value,"onUpdate:modelValue":h[1]||(h[1]=f=>i.value=f),name:"confirmPassword",label:"Confirmar senha",placeholder:"Digite sua senha novamente",error:a.errors?.confirmPassword,disabled:a.loading,required:""},null,8,["modelValue","error","disabled"]),e.createVNode(e.unref(C),{type:"submit",variant:"primary",loading:a.loading,disabled:s.value,block:""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.loading?a.loadingText:a.submitText),1)]),_:1},8,["loading","disabled"]),e.renderSlot(d.$slots,"default",{},void 0,!0)],32))}}),ls=x(ns,[["__scopeId","data-v-4bda9314"]]),os={class:"dashboard-header__content"},rs={class:"dashboard-header__info"},is={class:"dashboard-header__greeting"},ss={class:"dashboard-header__name"},cs={class:"dashboard-header__cpf"},ds={class:"dashboard-header__cpf-text"},us={key:0,class:"dashboard-header__avatar"},ms=e.defineComponent({__name:"DashboardHeader",props:{userName:{default:"Usuário"},userCpf:{default:""},showAvatar:{type:Boolean,default:!0}},setup(a){const t=a,n=e.computed(()=>t.userCpf?`***.***.***-${t.userCpf.replace(/\D/g,"").slice(-2)}`:"***.***.***-**");return(l,o)=>(e.openBlock(),e.createBlock(e.unref(I),{variant:"elevated",class:"dashboard-header"},{default:e.withCtx(()=>[e.createElementVNode("div",os,[e.createElementVNode("div",rs,[e.createElementVNode("div",is,[e.createElementVNode("p",ss," Olá, "+e.toDisplayString(a.userName)+"! ",1),e.createElementVNode("div",cs,[e.createVNode(e.unref(y),{name:"identification",size:16}),e.createElementVNode("p",ds," CPF: "+e.toDisplayString(n.value),1)])])]),a.showAvatar?(e.openBlock(),e.createElementBlock("div",us,[e.createVNode(e.unref(y),{name:"user-circle",size:32})])):e.createCommentVNode("",!0)])]),_:1}))}}),hs=x(ms,[["__scopeId","data-v-9a9debaf"]]),fs={class:"footer","aria-label":"Footer navigation"},ps={class:"footer__container"},vs={class:"footer__grid"},gs={key:0,class:"footer__nav","aria-label":"Primary navigation"},_s={class:"footer__nav-list"},ks=["href","onClick"],Vs=["href","onClick"],ws={key:1,class:"footer__nav","aria-label":"Legal navigation"},bs={class:"footer__nav-list"},Es=["href","onClick"],ys=["href","onClick"],Ns={class:"footer__brand"},xs={class:"footer__logo"},Bs=e.defineComponent({__name:"Footer",props:{primaryLinks:{default:()=>[]},secondaryLinks:{default:()=>[]},primaryTitle:{default:"Links Principais"},secondaryTitle:{default:"Links Legais"},copyrightText:{default:""},logoSrc:{default:"/logo.png"},logoAlt:{default:"Logo"}},emits:["link-click"],setup(a,{emit:t}){const n=a,l=t,o=e.computed(()=>{const s=new Date().getFullYear();return n.copyrightText?n.copyrightText.replace("{year}",s.toString()):`© ${s} Todos os direitos reservados.`}),i=s=>s.startsWith("/"),r=(s,c)=>{l("link-click",s)};return(s,c)=>(e.openBlock(),e.createElementBlock("footer",fs,[e.createElementVNode("div",ps,[e.createElementVNode("div",vs,[a.primaryLinks.length>0?(e.openBlock(),e.createElementBlock("nav",gs,[e.createVNode(e.unref(T),{variant:"body",weight:"semibold",class:"footer__nav-title"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.primaryTitle),1)]),_:1}),e.createElementVNode("ul",_s,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.primaryLinks,(d,h)=>(e.openBlock(),e.createElementBlock("li",{key:h},[!i(d.url)||d.external?(e.openBlock(),e.createElementBlock("a",{key:0,href:d.url,target:"_blank",rel:"noopener noreferrer",class:"footer__link",onClick:f=>r(d)},e.toDisplayString(d.label),9,ks)):(e.openBlock(),e.createElementBlock("a",{key:1,href:d.url,class:"footer__link",onClick:e.withModifiers(f=>r(d),["prevent"])},e.toDisplayString(d.label),9,Vs))]))),128))])])):e.createCommentVNode("",!0),a.secondaryLinks.length>0?(e.openBlock(),e.createElementBlock("nav",ws,[e.createVNode(e.unref(T),{variant:"body",weight:"semibold",class:"footer__nav-title"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.secondaryTitle),1)]),_:1}),e.createElementVNode("ul",bs,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.secondaryLinks,(d,h)=>(e.openBlock(),e.createElementBlock("li",{key:h},[!i(d.url)||d.external?(e.openBlock(),e.createElementBlock("a",{key:0,href:d.url,target:"_blank",rel:"noopener noreferrer",class:"footer__link",onClick:f=>r(d)},e.toDisplayString(d.label),9,Es)):(e.openBlock(),e.createElementBlock("a",{key:1,href:d.url,class:"footer__link",onClick:e.withModifiers(f=>r(d),["prevent"])},e.toDisplayString(d.label),9,ys))]))),128))])])):e.createCommentVNode("",!0),e.createElementVNode("div",Ns,[e.createElementVNode("div",xs,[e.createVNode(e.unref(X),{size:"sm",src:a.logoSrc,alt:a.logoAlt},null,8,["src","alt"])]),e.createVNode(e.unref(T),{variant:"caption",color:"muted"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.value),1)]),_:1})])]),e.renderSlot(s.$slots,"default",{},void 0,!0)])]))}}),Cs=x(Bs,[["__scopeId","data-v-fa4a9961"]]),$s={class:"forgot-password-form__instructions"},Ss={class:"forgot-password-form__back-to-login"},Ms=["href"],Ds=e.defineComponent({__name:"ForgotPasswordForm",props:{loading:{type:Boolean,default:!1},errorMessage:{default:""},successMessage:{default:""},errors:{},submitText:{default:"Enviar link de recuperação"},loadingText:{default:"Enviando..."},identifierLabel:{default:"CPF"},identifierPlaceholder:{default:"000.000.000-00"},instructionText:{default:"Informe seu CPF e enviaremos um link para redefinir sua senha no email cadastrado."},backToLoginUrl:{default:"/login"},backToLoginText:{default:"Voltar para o login"}},emits:["submit","back-to-login"],setup(a,{emit:t}){const n=a,l=t,o=e.ref(""),i=e.computed(()=>!!n.errors?.identifier),r=e.computed(()=>n.loading||i.value||!o.value),s=()=>{l("submit",{identifier:o.value})},c=()=>{l("back-to-login")};return(d,h)=>(e.openBlock(),e.createElementBlock("form",{class:"forgot-password-form",onSubmit:e.withModifiers(s,["prevent"])},[a.successMessage?(e.openBlock(),e.createBlock(e.unref(O),{key:0,variant:"success",message:a.successMessage,dismissible:!1,class:"forgot-password-form__alert"},null,8,["message"])):e.createCommentVNode("",!0),a.errorMessage?(e.openBlock(),e.createBlock(e.unref(O),{key:1,variant:"error",message:a.errorMessage,dismissible:!1,class:"forgot-password-form__alert"},null,8,["message"])):e.createCommentVNode("",!0),e.createElementVNode("div",$s,[e.createElementVNode("p",null,e.toDisplayString(a.instructionText),1)]),e.createVNode(e.unref(Z),{id:"identifier",modelValue:o.value,"onUpdate:modelValue":h[0]||(h[0]=f=>o.value=f),name:"identifier",type:"text",label:a.identifierLabel,placeholder:a.identifierPlaceholder,error:a.errors?.identifier,disabled:a.loading,required:""},null,8,["modelValue","label","placeholder","error","disabled"]),e.createVNode(e.unref(C),{type:"submit",variant:"primary",loading:a.loading,disabled:r.value,block:""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.loading?a.loadingText:a.submitText),1)]),_:1},8,["loading","disabled"]),e.createElementVNode("div",Ss,[e.createElementVNode("a",{href:a.backToLoginUrl,class:"forgot-password-form__back-link",onClick:e.withModifiers(c,["prevent"])},e.toDisplayString(a.backToLoginText),9,Ms)]),e.renderSlot(d.$slots,"default",{},void 0,!0)],32))}}),zs=x(Ds,[["__scopeId","data-v-4b197d8a"]]),As={class:"header__container"},Is={key:0,class:"header__desktop-menu"},Ts=["aria-expanded"],Ls={key:0,class:"header__dropdown"},Fs={class:"header__dropdown-header"},Ps={class:"header__dropdown-items"},Zs=["onClick"],Rs={key:1,class:"header__mobile-menu"},qs=["aria-expanded"],Os={key:0,class:"header__mobile-drawer"},Us={class:"header__mobile-content"},js={class:"header__mobile-header"},Hs={class:"header__mobile-items"},Gs=["onClick"],Ws={class:"header__mobile-footer"},Xs=e.defineComponent({__name:"Header",props:{sticky:{type:Boolean,default:!0},userName:{default:"Usuário"},logoSrc:{default:"/logo.png"},logoAlt:{default:"Logo"},showUserMenu:{type:Boolean,default:!0}},emits:["navigate","logout","menu-item-click"],setup(a,{emit:t}){const n=t,l=e.ref(!1),o=e.ref(!1),i=e.ref(null),r=[{label:"Meu Perfil",icon:"user",action:"profile"},{label:"Configurações",icon:"cog",action:"settings"}],s=()=>{l.value=!l.value},c=()=>{o.value=!o.value},d=()=>{l.value=!1},h=()=>{o.value=!1},f=m=>{n("menu-item-click",m),d(),h()},p=()=>{n("logout"),d(),h()},g=()=>{n("navigate","/dashboard")},_=m=>{l.value&&i.value&&!i.value.contains(m.target)&&d()};return e.onMounted(()=>{typeof document<"u"&&document.addEventListener("pointerdown",_)}),e.onUnmounted(()=>{typeof document<"u"&&document.removeEventListener("pointerdown",_)}),(m,u)=>(e.openBlock(),e.createElementBlock("header",{class:e.normalizeClass(["header",{"header--sticky":a.sticky}])},[e.createElementVNode("div",As,[e.createElementVNode("div",{class:"header__logo",onClick:g},[e.createVNode(e.unref(X),{size:"md",src:a.logoSrc,alt:a.logoAlt},null,8,["src","alt"])]),a.showUserMenu?(e.openBlock(),e.createElementBlock("div",Is,[e.createVNode(e.unref(T),{variant:"body",color:"secondary"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.userName),1)]),_:1}),e.createElementVNode("div",{ref_key:"dropdownRef",ref:i,class:"header__dropdown-container"},[e.createElementVNode("button",{type:"button","aria-expanded":l.value,"aria-haspopup":"true","aria-label":"Menu do usuário",class:"header__avatar-button",onClick:s},[e.createVNode(e.unref(H),{name:a.userName,size:"md"},null,8,["name"]),e.createVNode(e.unref(y),{name:"chevron-down",size:16,class:e.normalizeClass(["header__dropdown-icon",{"header__dropdown-icon--open":l.value}])},null,8,["class"])],8,Ts),e.createVNode(e.Transition,{name:"dropdown"},{default:e.withCtx(()=>[l.value?(e.openBlock(),e.createElementBlock("div",Ls,[e.createElementVNode("div",Fs,[e.createVNode(e.unref(T),{variant:"body",weight:"semibold"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.userName),1)]),_:1})]),u[1]||(u[1]=e.createElementVNode("div",{class:"header__dropdown-divider"},null,-1)),e.createElementVNode("div",Ps,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(r,v=>e.createElementVNode("button",{key:v.action,type:"button",class:"header__dropdown-item",onClick:V=>f(v.action)},[v.icon?(e.openBlock(),e.createBlock(e.unref(y),{key:0,name:v.icon,size:16},null,8,["name"])):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(v.label),1)],8,Zs)),64))]),u[2]||(u[2]=e.createElementVNode("div",{class:"header__dropdown-divider"},null,-1)),e.createElementVNode("button",{type:"button",class:"header__dropdown-item header__dropdown-item--danger",onClick:p},[e.createVNode(e.unref(y),{name:"arrow-right-on-rectangle",size:16}),u[0]||(u[0]=e.createElementVNode("span",null,"Sair",-1))])])):e.createCommentVNode("",!0)]),_:1})],512)])):e.createCommentVNode("",!0),a.showUserMenu?(e.openBlock(),e.createElementBlock("div",Rs,[e.createElementVNode("button",{type:"button","aria-label":"Abrir menu","aria-expanded":o.value,class:"header__hamburger",onClick:c},[e.createVNode(e.unref(y),{name:"bars-3",size:24})],8,qs),e.createVNode(e.unref(H),{name:a.userName,size:"sm",onClick:c},null,8,["name"])])):e.createCommentVNode("",!0)]),(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[e.createVNode(e.Transition,{name:"drawer"},{default:e.withCtx(()=>[o.value?(e.openBlock(),e.createElementBlock("div",Os,[e.createElementVNode("div",{class:"header__mobile-backdrop",onClick:h}),e.createElementVNode("div",Us,[e.createElementVNode("div",js,[e.createVNode(e.unref(H),{name:a.userName,size:"lg"},null,8,["name"]),e.createVNode(e.unref(T),{variant:"body",weight:"semibold"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.userName),1)]),_:1}),e.createElementVNode("button",{type:"button",class:"header__mobile-close",onClick:h},[e.createVNode(e.unref(y),{name:"x-mark",size:24})])]),e.createElementVNode("div",Hs,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(r,v=>e.createElementVNode("button",{key:v.action,type:"button",class:"header__mobile-item",onClick:V=>f(v.action)},[v.icon?(e.openBlock(),e.createBlock(e.unref(y),{key:0,name:v.icon,size:20},null,8,["name"])):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(v.label),1)],8,Gs)),64))]),e.createElementVNode("div",Ws,[e.createElementVNode("button",{type:"button",class:"header__mobile-item header__mobile-item--danger",onClick:p},[e.createVNode(e.unref(y),{name:"arrow-right-on-rectangle",size:20}),u[3]||(u[3]=e.createElementVNode("span",null,"Sair",-1))])])])])):e.createCommentVNode("",!0)]),_:1})]))],2))}}),Ys=x(Xs,[["__scopeId","data-v-7b22a99b"]]),Ks={class:"login-form__forgot"},Qs=["href"],Js=e.defineComponent({__name:"LoginForm",props:{loading:{type:Boolean,default:!1},errorMessage:{default:""},errors:{},forgotPasswordUrl:{default:"/auth/forgot-password"},submitText:{default:"Entrar"},loadingText:{default:"Entrando..."}},emits:["submit","forgot-password"],setup(a,{emit:t}){const n=a,l=t,o=e.ref(""),i=e.ref(""),r=e.ref(null),s=e.computed(()=>!!(n.errors?.identifier||n.errors?.password)),c=e.computed(()=>n.loading||s.value||!o.value||!i.value),d=p=>{r.value=p},h=()=>{l("submit",{identifier:o.value,password:i.value})},f=()=>{l("forgot-password")};return(p,g)=>(e.openBlock(),e.createElementBlock("form",{class:"login-form",onSubmit:e.withModifiers(h,["prevent"])},[a.errorMessage?(e.openBlock(),e.createBlock(e.unref(O),{key:0,variant:"error",message:a.errorMessage,dismissible:!1,class:"login-form__alert"},null,8,["message"])):e.createCommentVNode("",!0),e.createVNode(e.unref(Ie),{id:"identifier",modelValue:o.value,"onUpdate:modelValue":g[0]||(g[0]=_=>o.value=_),name:"identifier",label:"CNPJ",placeholder:"Digite o CNPJ da empresa",error:a.errors?.identifier,disabled:a.loading,required:"",onTypeDetected:d},null,8,["modelValue","error","disabled"]),e.createVNode(e.unref(G),{id:"password",modelValue:i.value,"onUpdate:modelValue":g[1]||(g[1]=_=>i.value=_),name:"password",label:"Senha",placeholder:"Digite sua senha",error:a.errors?.password,disabled:a.loading,required:""},null,8,["modelValue","error","disabled"]),e.createElementVNode("div",Ks,[e.createElementVNode("a",{href:a.forgotPasswordUrl,class:"login-form__forgot-link",onClick:e.withModifiers(f,["prevent"])}," Esqueci minha senha ",8,Qs)]),e.createVNode(e.unref(C),{type:"submit",variant:"primary",loading:a.loading,disabled:c.value,block:""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.loading?a.loadingText:a.submitText),1)]),_:1},8,["loading","disabled"]),e.renderSlot(p.$slots,"default",{},void 0,!0)],32))}}),ec=x(Js,[["__scopeId","data-v-c4fc5b2c"]]),tc=["aria-labelledby"],ac={class:"manual-input-modal__header"},nc=["id"],lc={key:0,class:"manual-input-modal__body"},oc={class:"manual-input-modal__description"},rc={class:"manual-input-modal__input-wrapper"},ic={key:0,class:"manual-input-modal__error"},sc={key:1,class:"manual-input-modal__body"},cc={class:"manual-input-modal__description"},dc={class:"manual-input-modal__options"},uc=["value"],mc={class:"manual-input-modal__option-text"},hc={class:"manual-input-modal__actions"},fc=e.defineComponent({__name:"ManualInputModal",props:{isOpen:{type:Boolean},minAmount:{default:5e4},maxAmount:{default:5e6},minInstallments:{default:6},maxInstallments:{default:84},monthlyInterestRate:{default:.0199}},emits:["close","confirm"],setup(a,{emit:t}){const n=a,l=t,o=e.ref(1),i=e.ref(""),r=e.ref(0),s=e.ref(24),c=e.ref(""),d=e.computed(()=>{const k=[];for(let w=n.minInstallments;w<=n.maxInstallments;w+=6){const E=h(r.value,w);k.push({installments:w,installmentValue:E})}return k});function h(k,w){const E=k/100,S=n.monthlyInterestRate,z=w;if(S===0)return Math.round(E/z*100);const N=E*(S*Math.pow(1+S,z))/(Math.pow(1+S,z)-1);return Math.round(N*100)}function f(k){const w=k/100;return new Intl.NumberFormat("pt-BR",{style:"currency",currency:"BRL"}).format(w)}function p(k){const w=k.replace(/\D/g,"");return w?parseInt(w,10):0}function g(k){const w=p(k);if(w===0)return"";const E=w/100;return new Intl.NumberFormat("pt-BR",{style:"currency",currency:"BRL",minimumFractionDigits:2}).format(E)}function _(k){const E=k.target.value;r.value=p(E),i.value=g(E),c.value&&(c.value="")}function m(){return r.value<n.minAmount?(c.value=`*O valor mínimo é de ${f(n.minAmount)}.`,!1):r.value>n.maxAmount?(c.value=`*O valor máximo é de ${f(n.maxAmount)}.`,!1):(c.value="",!0)}function u(){m()&&(o.value=2)}function v(){o.value=1,c.value=""}function V(){l("confirm",{amount:r.value,installments:s.value}),b()}function b(){l("close"),setTimeout(()=>{o.value=1,i.value="",r.value=0,s.value=24,c.value=""},300)}return e.watch(()=>n.isOpen,k=>{typeof document<"u"&&(k?document.body.style.overflow="hidden":document.body.style.overflow="")}),(k,w)=>(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[e.createVNode(e.Transition,{name:"modal-fade"},{default:e.withCtx(()=>[a.isOpen?(e.openBlock(),e.createElementBlock("div",{key:0,class:"manual-input-modal",onClick:e.withModifiers(b,["self"])},[e.createElementVNode("div",{class:"manual-input-modal__backdrop",onClick:b}),e.createVNode(e.Transition,{name:"modal-slide"},{default:e.withCtx(()=>[a.isOpen?(e.openBlock(),e.createElementBlock("div",{key:0,class:"manual-input-modal__content",role:"dialog","aria-modal":"true","aria-labelledby":o.value===1?"modal-title-1":"modal-title-2"},[e.createElementVNode("div",ac,[e.createElementVNode("h2",{id:o.value===1?"modal-title-1":"modal-title-2",class:"manual-input-modal__title"},e.toDisplayString(o.value===1?"Simule seu empréstimo":"Simulador de Empréstimos"),9,nc),e.createElementVNode("button",{type:"button",class:"manual-input-modal__close",onClick:b},[e.createVNode(e.unref(y),{name:"x-mark",size:24})])]),o.value===1?(e.openBlock(),e.createElementBlock("div",lc,[e.createElementVNode("p",oc," Informe um valor entre "+e.toDisplayString(f(a.minAmount))+" e "+e.toDisplayString(f(a.maxAmount)),1),e.createElementVNode("div",rc,[e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":w[0]||(w[0]=E=>i.value=E),type:"text",inputmode:"numeric",placeholder:"R$0,00",class:e.normalizeClass(["manual-input-modal__input",{"manual-input-modal__input--error":c.value}]),onInput:_},null,34),[[e.vModelText,i.value]])]),c.value?(e.openBlock(),e.createElementBlock("p",ic,e.toDisplayString(c.value),1)):e.createCommentVNode("",!0),e.createVNode(e.unref(C),{type:"button",variant:"primary",size:"lg",block:"",disabled:r.value===0,onClick:u},{default:e.withCtx(()=>[...w[2]||(w[2]=[e.createTextVNode(" Calcular parcelas ",-1)])]),_:1},8,["disabled"])])):e.createCommentVNode("",!0),o.value===2?(e.openBlock(),e.createElementBlock("div",sc,[e.createElementVNode("p",cc," Escolha entre "+e.toDisplayString(a.minInstallments)+" e "+e.toDisplayString(a.maxInstallments)+" parcelas: ",1),e.createElementVNode("div",dc,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.value,E=>(e.openBlock(),e.createElementBlock("label",{key:E.installments,class:e.normalizeClass(["manual-input-modal__option",{"manual-input-modal__option--selected":s.value===E.installments}])},[e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":w[1]||(w[1]=S=>s.value=S),type:"radio",value:E.installments,class:"manual-input-modal__radio"},null,8,uc),[[e.vModelRadio,s.value]]),e.createElementVNode("div",mc,e.toDisplayString(E.installments)+" parcelas de "+e.toDisplayString(f(E.installmentValue)),1)],2))),128))]),e.createElementVNode("div",hc,[e.createVNode(e.unref(C),{type:"button",variant:"outline",size:"md",onClick:v},{default:e.withCtx(()=>[...w[3]||(w[3]=[e.createTextVNode(" Simular outro valor ",-1)])]),_:1}),e.createVNode(e.unref(C),{type:"button",variant:"primary",size:"md",onClick:V},{default:e.withCtx(()=>[...w[4]||(w[4]=[e.createTextVNode(" Selecionar parcela ",-1)])]),_:1})])])):e.createCommentVNode("",!0)],8,tc)):e.createCommentVNode("",!0)]),_:1})])):e.createCommentVNode("",!0)]),_:1})]))}}),pc=x(fc,[["__scopeId","data-v-06494367"]]),vc={class:"offer-card__header"},gc={class:"offer-card__header-content"},_c={key:0,class:"offer-card__badge"},kc={class:"offer-card__cet-value"},Vc={class:"offer-card__body"},wc={class:"offer-card__amounts"},bc={class:"offer-card__amount"},Ec={class:"offer-card__amount-label"},yc={class:"offer-card__amount-value"},Nc={class:"offer-card__amount"},xc={class:"offer-card__amount-label offer-card__amount-label--success"},Bc={class:"offer-card__amount-value offer-card__amount-value--success"},Cc={class:"offer-card__installments"},$c={class:"offer-card__installments-icon"},Sc={class:"offer-card__installments-content"},Mc={class:"offer-card__installments-label"},Dc={class:"offer-card__installments-value"},zc={class:"offer-card__rates"},Ac={class:"offer-card__rate"},Ic={class:"offer-card__rate-value"},Tc={class:"offer-card__rate"},Lc={class:"offer-card__rate-value"},Fc={class:"offer-card__rate"},Pc={class:"offer-card__rate-value"},Zc={class:"offer-card__rate"},Rc={class:"offer-card__rate-value"},qc={class:"offer-card__total"},Oc={class:"offer-card__total-value"},Uc=e.defineComponent({__name:"OfferCard",props:{offer:{},showBadge:{type:Boolean,default:!1},badgeLabel:{default:""},badgeVariant:{default:"success"}},emits:["accept"],setup(a,{expose:t,emit:n}){const l=a,o=n;function i(h){return`${(h*100).toFixed(2)}%`}const r=e.computed(()=>i(l.offer.monthlyRate)),s=e.computed(()=>i(l.offer.annualRate)),c=e.computed(()=>i(l.offer.cet));function d(){o("accept",l.offer.id)}return t({handleAccept:d}),(h,f)=>(e.openBlock(),e.createBlock(e.unref(I),{variant:"elevated",padding:"none",class:"offer-card"},{default:e.withCtx(()=>[e.createElementVNode("div",vc,[e.createElementVNode("div",gc,[a.showBadge?(e.openBlock(),e.createElementBlock("div",_c,[e.createVNode(e.unref(K),{variant:a.badgeVariant,label:a.badgeLabel,size:"md"},null,8,["variant","label"])])):e.createCommentVNode("",!0),f[0]||(f[0]=e.createElementVNode("div",{class:"offer-card__cet-label"}," CET (Custo Efetivo Total) ",-1)),e.createElementVNode("div",kc,e.toDisplayString(c.value)+" a.a. ",1),f[1]||(f[1]=e.createElementVNode("div",{class:"offer-card__cet-description"}," Inclui todos os custos da operação ",-1))])]),e.createElementVNode("div",Vc,[e.createElementVNode("div",wc,[e.createElementVNode("div",bc,[e.createElementVNode("div",Ec,[e.createVNode(e.unref(y),{name:"arrow-up",size:16}),f[2]||(f[2]=e.createElementVNode("span",null,"Valor Solicitado",-1))]),e.createElementVNode("div",yc,[e.createVNode(e.unref(L),{value:a.offer.requestedAmount},null,8,["value"])])]),e.createElementVNode("div",Nc,[e.createElementVNode("div",xc,[e.createVNode(e.unref(y),{name:"check-circle",size:16}),f[3]||(f[3]=e.createElementVNode("span",null,"Valor Aprovado",-1))]),e.createElementVNode("div",Bc,[e.createVNode(e.unref(L),{value:a.offer.approvedAmount},null,8,["value"])])])]),e.createElementVNode("div",Cc,[e.createElementVNode("div",$c,[e.createVNode(e.unref(y),{name:"calendar",size:24})]),e.createElementVNode("div",Sc,[e.createElementVNode("div",Mc,e.toDisplayString(a.offer.installments)+"x de ",1),e.createElementVNode("div",Dc,[e.createVNode(e.unref(L),{value:a.offer.installmentValue,size:"lg"},null,8,["value"])])])]),e.createElementVNode("div",zc,[e.createElementVNode("div",Ac,[f[4]||(f[4]=e.createElementVNode("div",{class:"offer-card__rate-label"},"Taxa Mensal",-1)),e.createElementVNode("div",Ic,e.toDisplayString(r.value),1)]),e.createElementVNode("div",Tc,[f[5]||(f[5]=e.createElementVNode("div",{class:"offer-card__rate-label"},"Taxa Anual",-1)),e.createElementVNode("div",Lc,e.toDisplayString(s.value),1)]),e.createElementVNode("div",Fc,[f[6]||(f[6]=e.createElementVNode("div",{class:"offer-card__rate-label"},"IOF",-1)),e.createElementVNode("div",Pc,[e.createVNode(e.unref(L),{value:a.offer.iof,size:"sm"},null,8,["value"])])]),e.createElementVNode("div",Zc,[f[7]||(f[7]=e.createElementVNode("div",{class:"offer-card__rate-label"},"TAC",-1)),e.createElementVNode("div",Rc,[a.offer.tac>0?(e.openBlock(),e.createBlock(e.unref(L),{key:0,value:a.offer.tac,size:"sm"},null,8,["value"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode("Isento")],64))])])]),e.createElementVNode("div",qc,[f[8]||(f[8]=e.createElementVNode("div",{class:"offer-card__total-label"}," Total a Pagar ",-1)),e.createElementVNode("div",Oc,[e.createVNode(e.unref(L),{value:a.offer.totalAmount,size:"lg"},null,8,["value"])])])])]),_:1}))}}),jc=x(Uc,[["__scopeId","data-v-3775279f"]]),Hc={class:"quick-actions"},Gc={class:"quick-actions__title"},Wc={key:0,class:"quick-actions__grid"},Xc=["disabled"],Yc=e.defineComponent({__name:"QuickActions",props:{actions:{},title:{default:"Ações Rápidas"}},emits:["action-click"],setup(a,{emit:t}){const n=t;function l(r){r.disabled||n("action-click",r.id)}const o={document:"document-text",list:"list-bullet",chat:"chat-bubble-left-right",question:"question-mark-circle"};function i(r){return o[r]||"sparkles"}return(r,s)=>(e.openBlock(),e.createElementBlock("div",Hc,[e.createElementVNode("h2",Gc,[e.createVNode(e.unref(y),{name:"bolt",size:20,class:"quick-actions__title-icon"}),e.createTextVNode(" "+e.toDisplayString(a.title),1)]),a.actions&&a.actions.length>0?(e.openBlock(),e.createElementBlock("div",Wc,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.actions,c=>(e.openBlock(),e.createBlock(e.unref(I),{key:c.id,variant:c.disabled?"default":"outlined",clickable:!c.disabled,class:e.normalizeClass(["quick-actions__card",{"quick-actions__card--disabled":c.disabled}]),onClick:d=>l(c)},{default:e.withCtx(()=>[e.createElementVNode("button",{type:"button",disabled:c.disabled,class:"quick-actions__button"},[e.createElementVNode("div",{class:e.normalizeClass(["quick-actions__icon-container",{"quick-actions__icon-container--disabled":c.disabled}])},[e.createVNode(e.unref(y),{name:i(c.icon),size:24,class:e.normalizeClass(["quick-actions__icon",{"quick-actions__icon--disabled":c.disabled}])},null,8,["name","class"])],2),e.createElementVNode("span",{class:e.normalizeClass(["quick-actions__label",{"quick-actions__label--disabled":c.disabled}])},e.toDisplayString(c.label),3)],8,Xc)]),_:2},1032,["variant","clickable","class","onClick"]))),128))])):(e.openBlock(),e.createBlock(e.unref(I),{key:1,variant:"outlined",class:"quick-actions__empty"},{default:e.withCtx(()=>[e.createVNode(e.unref(y),{name:"exclamation-circle",size:24,class:"quick-actions__empty-icon"}),s[0]||(s[0]=e.createElementVNode("p",{class:"quick-actions__empty-text"},"Nenhuma ação rápida disponível no momento.",-1))]),_:1}))]))}}),Kc=x(Yc,[["__scopeId","data-v-3b23ed92"]]),Qc=e.defineComponent({__name:"ResetPasswordForm",props:{loading:{type:Boolean,default:!1},errorMessage:{default:""},successMessage:{default:""},errors:{},submitText:{default:"Redefinir senha"},loadingText:{default:"Redefinindo senha..."}},emits:["submit"],setup(a,{emit:t}){const n=a,l=t,o=e.ref(""),i=e.ref(""),r=e.computed(()=>!!(n.errors?.newPassword||n.errors?.confirmPassword)),s=e.computed(()=>n.loading||r.value||!o.value||!i.value),c=()=>{l("submit",{newPassword:o.value,confirmPassword:i.value})};return(d,h)=>(e.openBlock(),e.createElementBlock("form",{class:"reset-password-form",onSubmit:e.withModifiers(c,["prevent"])},[a.successMessage?(e.openBlock(),e.createBlock(e.unref(O),{key:0,variant:"success",message:a.successMessage,dismissible:!1,class:"reset-password-form__alert"},null,8,["message"])):e.createCommentVNode("",!0),a.errorMessage?(e.openBlock(),e.createBlock(e.unref(O),{key:1,variant:"error",message:a.errorMessage,dismissible:!1,class:"reset-password-form__alert"},null,8,["message"])):e.createCommentVNode("",!0),h[2]||(h[2]=e.createElementVNode("div",{class:"reset-password-form__instructions"},[e.createElementVNode("p",{class:"reset-password-form__instructions-title"},"Sua nova senha deve conter:"),e.createElementVNode("ul",{class:"reset-password-form__instructions-list"},[e.createElementVNode("li",null,"No mínimo 8 caracteres"),e.createElementVNode("li",null,"Pelo menos uma letra maiúscula"),e.createElementVNode("li",null,"Pelo menos uma letra minúscula"),e.createElementVNode("li",null,"Pelo menos um número"),e.createElementVNode("li",null,"Pelo menos um caractere especial (@$!%*?&#)")])],-1)),e.createVNode(e.unref(G),{id:"newPassword",modelValue:o.value,"onUpdate:modelValue":h[0]||(h[0]=f=>o.value=f),name:"newPassword",label:"Nova senha",placeholder:"Digite sua nova senha",error:a.errors?.newPassword,disabled:a.loading,required:""},null,8,["modelValue","error","disabled"]),e.createVNode(e.unref(G),{id:"confirmPassword",modelValue:i.value,"onUpdate:modelValue":h[1]||(h[1]=f=>i.value=f),name:"confirmPassword",label:"Confirmar senha",placeholder:"Digite sua senha novamente",error:a.errors?.confirmPassword,disabled:a.loading,required:""},null,8,["modelValue","error","disabled"]),e.createVNode(e.unref(C),{type:"submit",variant:"primary",loading:a.loading,disabled:s.value,block:""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.loading?a.loadingText:a.submitText),1)]),_:1},8,["loading","disabled"]),e.renderSlot(d.$slots,"default",{},void 0,!0)],32))}}),Jc=x(Qc,[["__scopeId","data-v-5e3a86bb"]]),ed={class:"scr-modal__content"},td={class:"scr-modal__text"},ad={class:"scr-modal__security-notice"},nd={class:"scr-modal__footer"},ld=e.defineComponent({__name:"SCRConsentModal",props:{isOpen:{type:Boolean},companyName:{default:"Finpass"}},emits:["close","accept","reject"],setup(a,{emit:t}){const n=t;function l(){n("accept"),n("close")}function o(){n("reject"),n("close")}function i(){n("close")}return(r,s)=>(e.openBlock(),e.createBlock(e.unref(le),{open:a.isOpen,title:"Termo de Consentimento SCR",onClose:i},{header:e.withCtx(()=>[...s[0]||(s[0]=[e.createElementVNode("div",{class:"scr-modal__header"},[e.createElementVNode("h2",{class:"scr-modal__title"}," Termo de Consentimento SCR "),e.createElementVNode("p",{class:"scr-modal__subtitle"}," Sistema de Informações de Crédito do Banco Central ")],-1)])]),footer:e.withCtx(()=>[e.createElementVNode("div",nd,[e.createVNode(e.unref(C),{variant:"outline",size:"lg",class:"scr-modal__button",onClick:o},{"leading-icon":e.withCtx(()=>[e.createVNode(e.unref(y),{name:"x",size:20})]),default:e.withCtx(()=>[s[18]||(s[18]=e.createTextVNode(" Recusar ",-1))]),_:1}),e.createVNode(e.unref(C),{variant:"primary",size:"lg",class:"scr-modal__button",onClick:l},{"leading-icon":e.withCtx(()=>[e.createVNode(e.unref(y),{name:"check",size:20})]),default:e.withCtx(()=>[s[19]||(s[19]=e.createTextVNode(" Aceitar Termo ",-1))]),_:1})])]),default:e.withCtx(()=>[e.createElementVNode("div",ed,[s[8]||(s[8]=e.createElementVNode("h3",{class:"scr-modal__section-title"}," Autorização para Consulta de Informações ",-1)),e.createElementVNode("p",td,[s[1]||(s[1]=e.createTextVNode(" Declaro estar ciente e autorizo expressamente a ",-1)),e.createElementVNode("strong",null,e.toDisplayString(a.companyName),1),s[2]||(s[2]=e.createTextVNode(" e seus parceiros a consultarem minhas informações junto ao ",-1)),s[3]||(s[3]=e.createElementVNode("strong",null,"Sistema de Informações de Crédito (SCR)",-1)),s[4]||(s[4]=e.createTextVNode(" do Banco Central do Brasil e ao ",-1)),s[5]||(s[5]=e.createElementVNode("strong",null,"Dataprev",-1)),s[6]||(s[6]=e.createTextVNode(", para fins de: ",-1))]),s[9]||(s[9]=e.createElementVNode("ul",{class:"scr-modal__list"},[e.createElementVNode("li",null,"Verificação da minha margem consignável disponível"),e.createElementVNode("li",null,"Análise de viabilidade de crédito consignado"),e.createElementVNode("li",null,"Simulação de condições de empréstimo"),e.createElementVNode("li",null,"Processamento da solicitação de crédito")],-1)),s[10]||(s[10]=e.createElementVNode("h3",{class:"scr-modal__section-title"}," Dados Consultados ",-1)),s[11]||(s[11]=e.createElementVNode("p",{class:"scr-modal__text"}," Serão consultados os seguintes dados junto ao Dataprev: ",-1)),s[12]||(s[12]=e.createElementVNode("ul",{class:"scr-modal__list"},[e.createElementVNode("li",null,"Margem consignável disponível (valor máximo de desconto em folha)"),e.createElementVNode("li",null,"Renda bruta mensal"),e.createElementVNode("li",null,"Comprometimento atual de margem consignável"),e.createElementVNode("li",null,"Situação cadastral junto ao INSS")],-1)),s[13]||(s[13]=e.createElementVNode("h3",{class:"scr-modal__section-title"}," Proteção de Dados e LGPD ",-1)),s[14]||(s[14]=e.createElementVNode("p",{class:"scr-modal__text"},[e.createTextVNode(" Esta autorização é concedida em conformidade com a "),e.createElementVNode("strong",null,"Lei Geral de Proteção de Dados (LGPD - Lei nº 13.709/2018)"),e.createTextVNode(" e garante que: ")],-1)),s[15]||(s[15]=e.createElementVNode("ul",{class:"scr-modal__list"},[e.createElementVNode("li",null,[e.createTextVNode("Seus dados serão utilizados "),e.createElementVNode("strong",null,"exclusivamente"),e.createTextVNode(" para a finalidade declarada")]),e.createElementVNode("li",null,[e.createTextVNode("As informações coletadas serão armazenadas com "),e.createElementVNode("strong",null,"segurança")]),e.createElementVNode("li",null,[e.createTextVNode("Você pode "),e.createElementVNode("strong",null,"revogar"),e.createTextVNode(" esta autorização a qualquer momento")]),e.createElementVNode("li",null,"Não compartilharemos seus dados com terceiros sem seu consentimento")],-1)),s[16]||(s[16]=e.createElementVNode("h3",{class:"scr-modal__section-title"}," Validade e Revogação ",-1)),s[17]||(s[17]=e.createElementVNode("p",{class:"scr-modal__text"},[e.createTextVNode(" Esta autorização é válida por "),e.createElementVNode("strong",null,"24 horas"),e.createTextVNode(" a partir da aceitação e pode ser revogada a qualquer momento através do nosso canal de atendimento ou diretamente na plataforma. ")],-1)),e.createElementVNode("div",ad,[e.createVNode(e.unref(y),{name:"shield-check",size:20,class:"scr-modal__security-icon"}),s[7]||(s[7]=e.createElementVNode("div",null,[e.createElementVNode("p",{class:"scr-modal__security-title"},"Segurança Garantida"),e.createElementVNode("p",{class:"scr-modal__security-text"}," Seus dados estão protegidos por criptografia de ponta a ponta e não serão armazenados permanentemente após o processamento. ")],-1))])])]),_:1},8,["open"]))}}),od=x(ld,[["__scopeId","data-v-5a7a14ad"]]),rd={class:"simulation-result","data-testid":"simulation-result"},id={class:"simulation-result__header","data-testid":"simulation-result-header"},sd={class:"simulation-result__header-content"},cd={key:0,class:"simulation-result__loading","data-testid":"simulation-loading"},dd={class:"simulation-result__loading-content"},ud={class:"simulation-result__error-content"},md={class:"simulation-result__error-icon"},hd={class:"simulation-result__error-message"},fd={class:"simulation-result__error-actions"},pd={key:2,class:"simulation-result__success","data-testid":"simulation-success"},vd={class:"simulation-result__success-banner"},gd={class:"simulation-result__success-banner-content"},_d={class:"simulation-result__success-text"},kd={class:"simulation-result__offers"},Vd={class:"simulation-result__offer"},wd={class:"simulation-result__offer-main"},bd={class:"simulation-result__offer-value"},Ed={class:"simulation-result__offer-amount"},yd={class:"simulation-result__offer-info"},Nd={class:"simulation-result__offer-total"},xd={class:"simulation-result__actions"},Bd={key:0,class:"simulation-result__warning"},Cd={class:"simulation-result__warning-text"},$d={class:"simulation-result__info-list"},Sd={class:"simulation-result__info-item"},Md={class:"simulation-result__info-item"},Dd={class:"simulation-result__info-item"},zd={class:"simulation-result__empty"},Ad=e.defineComponent({__name:"SimulationResult",props:{loading:{type:Boolean,default:!1},error:{default:""},offers:{},showAcceptButton:{type:Boolean,default:!0},acceptDisabled:{type:Boolean,default:!1},acceptWarningMessage:{default:""}},emits:["new-simulation","retry","accept-proposal"],setup(a,{emit:t}){const n=a,l=t,o=e.computed(()=>!!n.error),i=e.computed(()=>n.offers&&n.offers.length>0),r=e.computed(()=>n.offers?.length||0),s=f=>new Intl.NumberFormat("pt-BR",{style:"currency",currency:"BRL"}).format(f/100);function c(){l("new-simulation")}function d(){l("retry")}function h(f){l("accept-proposal",f)}return(f,p)=>(e.openBlock(),e.createElementBlock("div",rd,[e.createElementVNode("div",id,[e.createElementVNode("div",sd,[e.createVNode(e.unref(y),{name:"check-circle",size:32}),p[0]||(p[0]=e.createElementVNode("div",null,[e.createElementVNode("h2",{class:"simulation-result__title","data-testid":"simulation-result-title"}," Resultado da Simulação "),e.createElementVNode("p",{class:"simulation-result__subtitle"}," Confira as condições de crédito disponíveis para você ")],-1))])]),a.loading?(e.openBlock(),e.createElementBlock("div",cd,[e.createVNode(e.unref(I),{variant:"elevated",class:"simulation-result__loading-card"},{default:e.withCtx(()=>[e.createElementVNode("div",dd,[e.createVNode(e.unref(q),{size:"lg"}),p[1]||(p[1]=e.createElementVNode("p",{class:"simulation-result__loading-text"}," Buscando as melhores ofertas para você... ",-1))])]),_:1})])):o.value?(e.openBlock(),e.createBlock(e.unref(I),{key:1,variant:"elevated",class:"simulation-result__error","data-testid":"simulation-error"},{default:e.withCtx(()=>[e.createElementVNode("div",ud,[e.createElementVNode("div",md,[e.createVNode(e.unref(y),{name:"exclamation-circle",size:64})]),p[4]||(p[4]=e.createElementVNode("h3",{class:"simulation-result__error-title"}," Ops! Algo deu errado ",-1)),e.createElementVNode("p",hd,e.toDisplayString(a.error),1),e.createElementVNode("div",fd,[e.createVNode(e.unref(C),{variant:"outline",size:"lg",onClick:c},{"leading-icon":e.withCtx(()=>[e.createVNode(e.unref(y),{name:"arrow-path",size:20})]),default:e.withCtx(()=>[p[2]||(p[2]=e.createTextVNode(" Nova Simulação ",-1))]),_:1}),e.createVNode(e.unref(C),{variant:"primary",size:"lg",onClick:d},{"leading-icon":e.withCtx(()=>[e.createVNode(e.unref(y),{name:"arrow-path",size:20})]),default:e.withCtx(()=>[p[3]||(p[3]=e.createTextVNode(" Tentar Novamente ",-1))]),_:1})])])]),_:1})):i.value?(e.openBlock(),e.createElementBlock("div",pd,[e.createVNode(e.unref(I),{variant:"elevated"},{default:e.withCtx(()=>[e.createElementVNode("div",vd,[e.createElementVNode("div",gd,[e.createVNode(e.unref(y),{name:"check-circle",size:24,class:"simulation-result__success-icon"}),e.createElementVNode("div",null,[p[5]||(p[5]=e.createElementVNode("h4",{class:"simulation-result__success-title"}," Simulação realizada com sucesso! ",-1)),e.createElementVNode("p",_d," Encontramos "+e.toDisplayString(r.value)+" "+e.toDisplayString(r.value===1?"oferta disponível":"ofertas disponíveis")+" para você. ",1)])])])]),_:1}),e.createElementVNode("div",kd,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.offers,g=>(e.openBlock(),e.createBlock(e.unref(I),{key:g.id,variant:"outlined",class:"simulation-result__offer-card"},{default:e.withCtx(()=>[e.createElementVNode("div",Vd,[e.createElementVNode("div",wd,[e.createElementVNode("div",bd,[p[6]||(p[6]=e.createElementVNode("span",{class:"simulation-result__offer-label"},"Parcela",-1)),e.createElementVNode("span",Ed,e.toDisplayString(s(g.installmentValue)),1)]),e.createElementVNode("div",yd,[e.createElementVNode("span",null,e.toDisplayString(g.installments)+"x",1),e.createElementVNode("span",null,e.toDisplayString(g.monthlyRate.toFixed(2))+"% a.m.",1)])]),e.createElementVNode("div",Nd,[p[7]||(p[7]=e.createElementVNode("span",{class:"simulation-result__offer-label"},"Total",-1)),e.createElementVNode("span",null,e.toDisplayString(s(g.totalValue)),1)]),a.showAcceptButton?(e.openBlock(),e.createBlock(e.unref(C),{key:0,variant:"primary",size:"sm",disabled:a.acceptDisabled,onClick:_=>h(g.id)},{default:e.withCtx(()=>[...p[8]||(p[8]=[e.createTextVNode(" Aceitar ",-1)])]),_:1},8,["disabled","onClick"])):e.createCommentVNode("",!0)])]),_:2},1024))),128))]),e.createVNode(e.unref(I),{variant:"outlined"},{default:e.withCtx(()=>[e.createElementVNode("div",xd,[e.createVNode(e.unref(C),{variant:"outline",size:"lg",class:"simulation-result__action-button",onClick:c},{"leading-icon":e.withCtx(()=>[e.createVNode(e.unref(y),{name:"arrow-path",size:20})]),default:e.withCtx(()=>[p[9]||(p[9]=e.createTextVNode(" Nova Simulação ",-1))]),_:1})]),a.acceptWarningMessage?(e.openBlock(),e.createElementBlock("div",Bd,[e.createElementVNode("p",Cd,e.toDisplayString(a.acceptWarningMessage),1)])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.unref(I),{variant:"outlined"},{default:e.withCtx(()=>[e.createElementVNode("div",$d,[e.createElementVNode("p",Sd,[e.createVNode(e.unref(y),{name:"information-circle",size:16}),p[10]||(p[10]=e.createElementVNode("span",null,"As condições apresentadas são válidas por 24 horas.",-1))]),e.createElementVNode("p",Md,[e.createVNode(e.unref(y),{name:"information-circle",size:16}),p[11]||(p[11]=e.createElementVNode("span",null,"Valores sujeitos a confirmação após análise completa.",-1))]),e.createElementVNode("p",Dd,[e.createVNode(e.unref(y),{name:"shield-check",size:16}),p[12]||(p[12]=e.createElementVNode("span",null,"Seus dados estão protegidos e não serão compartilhados.",-1))])])]),_:1})])):(e.openBlock(),e.createBlock(e.unref(I),{key:3,variant:"elevated","data-testid":"simulation-empty"},{default:e.withCtx(()=>[e.createElementVNode("div",zd,[e.createVNode(e.unref(y),{name:"exclamation-triangle",size:64,class:"simulation-result__empty-icon"}),p[14]||(p[14]=e.createElementVNode("h3",{class:"simulation-result__empty-title"}," Nenhuma simulação encontrada ",-1)),p[15]||(p[15]=e.createElementVNode("p",{class:"simulation-result__empty-text"}," Não foi possível encontrar os dados da simulação. ",-1)),e.createVNode(e.unref(C),{variant:"primary",size:"lg",onClick:c},{"leading-icon":e.withCtx(()=>[e.createVNode(e.unref(y),{name:"arrow-path",size:20})]),default:e.withCtx(()=>[p[13]||(p[13]=e.createTextVNode(" Fazer Nova Simulação ",-1))]),_:1})])]),_:1}))]))}}),Id=x(Ad,[["__scopeId","data-v-e74419ff"]]),Td={class:"contract-card__header"},Ld={class:"contract-card__title-wrapper"},Fd={class:"contract-card__title"},Pd={class:"contract-card__summary"},Zd={class:"contract-card__summary-item"},Rd={class:"contract-card__summary-value"},qd={class:"contract-card__summary-item"},Od={class:"contract-card__summary-value"},Ud={class:"contract-card__summary-item"},jd={class:"contract-card__summary-value"},Hd={class:"contract-card__progress"},Gd={class:"contract-card__progress-header"},Wd={class:"contract-card__progress-value"},Xd={key:0,class:"contract-card__next-installment"},Yd={class:"contract-card__next-installment-grid"},Kd={class:"contract-card__next-installment-item"},Qd={class:"contract-card__next-installment-value"},Jd={class:"contract-card__next-installment-item"},eu={class:"contract-card__next-installment-value"},tu={class:"contract-card__next-installment-item"},au={class:"contract-card__actions"},nu=e.defineComponent({__name:"ContractCard",props:{contract:{}},emits:["view-details","view-installments"],setup(a,{emit:t}){const n=a,l=t,o=e.computed(()=>{const h=n.contract.installmentsPaid??0,f=n.contract.totalInstallments??0;if(!f||f===0||isNaN(h)||isNaN(f))return 0;const p=Math.round(h/f*100);return Math.max(0,Math.min(100,p))}),i=e.computed(()=>{if(!n.contract.nextInstallment?.dueDate)return null;try{const h=new Date(n.contract.nextInstallment.dueDate);return new Intl.DateTimeFormat("pt-BR",{day:"2-digit",month:"2-digit",year:"numeric"}).format(h)}catch{return null}}),r={ACTIVE:"ATIVO",PAID:"QUITADO",CANCELLED:"CANCELADO",DEFAULTED:"EM_ATRASO"},s=e.computed(()=>r[n.contract.status]||n.contract.status);function c(){l("view-details",n.contract.id)}function d(){l("view-installments",n.contract.id)}return(h,f)=>(e.openBlock(),e.createBlock(e.unref(I),{variant:"default",padding:"md",class:"contract-card"},{default:e.withCtx(()=>[e.createElementVNode("div",Td,[e.createElementVNode("div",Ld,[e.createElementVNode("h3",Fd," Contrato #"+e.toDisplayString(a.contract.contractNumber),1)]),e.createVNode(e.unref(U),{status:s.value,domain:"contract"},null,8,["status"])]),e.createElementVNode("div",Pd,[e.createElementVNode("div",Zd,[f[0]||(f[0]=e.createElementVNode("p",{class:"contract-card__summary-label"},"Valor Contratado",-1)),e.createElementVNode("p",Rd,[e.createVNode(e.unref(L),{value:a.contract.contractedAmount,size:"md"},null,8,["value"])])]),e.createElementVNode("div",qd,[f[1]||(f[1]=e.createElementVNode("p",{class:"contract-card__summary-label"},"Parcelas",-1)),e.createElementVNode("p",Od,e.toDisplayString(a.contract.installmentsPaid??0)+"/"+e.toDisplayString(a.contract.totalInstallments??0)+" pagas ",1)]),e.createElementVNode("div",Ud,[f[2]||(f[2]=e.createElementVNode("p",{class:"contract-card__summary-label"},"Saldo Devedor",-1)),e.createElementVNode("p",jd,[e.createVNode(e.unref(L),{value:a.contract.balanceDue??0,size:"md"},null,8,["value"])])])]),e.createElementVNode("div",Hd,[e.createElementVNode("div",Gd,[f[3]||(f[3]=e.createElementVNode("p",{class:"contract-card__progress-label"},"Progresso de Pagamento",-1)),e.createElementVNode("p",Wd,e.toDisplayString(o.value)+"%",1)]),e.createVNode(e.unref(Te),{value:o.value,max:100,size:"sm"},null,8,["value"])]),a.contract.nextInstallment?(e.openBlock(),e.createElementBlock("div",Xd,[f[7]||(f[7]=e.createElementVNode("h4",{class:"contract-card__next-installment-title"},"Próxima Parcela",-1)),e.createElementVNode("div",Yd,[e.createElementVNode("div",Kd,[f[4]||(f[4]=e.createElementVNode("p",{class:"contract-card__next-installment-label"},"Vencimento",-1)),e.createElementVNode("p",Qd,e.toDisplayString(i.value),1)]),e.createElementVNode("div",Jd,[f[5]||(f[5]=e.createElementVNode("p",{class:"contract-card__next-installment-label"},"Valor",-1)),e.createElementVNode("p",eu,[e.createVNode(e.unref(L),{value:a.contract.nextInstallment.amount,size:"md"},null,8,["value"])])]),e.createElementVNode("div",tu,[f[6]||(f[6]=e.createElementVNode("p",{class:"contract-card__next-installment-label"},"Status",-1)),e.createVNode(e.unref(U),{status:a.contract.nextInstallment.status,domain:"installment",size:"sm"},null,8,["status"])])])])):e.createCommentVNode("",!0),e.createElementVNode("div",au,[e.createVNode(e.unref(C),{variant:"primary",size:"md",block:"",onClick:c},{default:e.withCtx(()=>[...f[8]||(f[8]=[e.createTextVNode(" Ver Detalhes ",-1)])]),_:1}),e.createVNode(e.unref(C),{variant:"outline",size:"md",block:"",onClick:d},{default:e.withCtx(()=>[...f[9]||(f[9]=[e.createTextVNode(" Histórico de Parcelas ",-1)])]),_:1})])]),_:1}))}}),lu=x(nu,[["__scopeId","data-v-f987763a"]]),ou={class:"bottom-navigation","data-testid":"bottom-navigation","aria-label":"Navegação principal"},ru={class:"bottom-navigation__container"},iu={class:"bottom-navigation__links","data-testid":"bottom-navigation-links"},su=["data-testid","aria-current","onClick"],cu={class:"bottom-navigation__label"},du=e.defineComponent({__name:"BottomNavigation",props:{items:{},currentPath:{default:""}},emits:["navigate"],setup(a,{emit:t}){const n=a,l=t,o=i=>n.currentPath===i;return(i,r)=>(e.openBlock(),e.createElementBlock("nav",ou,[e.createElementVNode("div",ru,[e.createElementVNode("div",iu,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.items,s=>(e.openBlock(),e.createElementBlock("button",{key:s.to,type:"button",class:e.normalizeClass(["bottom-navigation__link",{"bottom-navigation__link--active":o(s.to)}]),"data-testid":`bottom-nav-link-${s.icon}`,"aria-current":o(s.to)?"page":void 0,onClick:c=>l("navigate",s.to)},[e.createVNode(e.unref(y),{name:s.icon,variant:"outline",size:"md"},null,8,["name"]),e.createElementVNode("span",cu,e.toDisplayString(s.label),1)],10,su))),128))])])]))}}),uu=x(du,[["__scopeId","data-v-eb6aafd0"]]),mu={class:"top-navigation__container"},hu={class:"top-navigation__content"},fu={class:"top-navigation__brand","data-testid":"top-navigation-brand"},pu={class:"top-navigation__logo"},vu=["src","alt"],gu={class:"top-navigation__brand-name"},_u={class:"top-navigation__links","data-testid":"top-navigation-links"},ku=["data-testid","aria-current","onClick"],Vu={class:"top-navigation__link-label"},wu=e.defineComponent({__name:"TopNavigation",props:{items:{},currentPath:{default:""},sticky:{type:Boolean,default:!0},brandName:{default:"Credit UI"},logoUrl:{}},emits:["navigate"],setup(a,{emit:t}){const n=a,l=t,o=i=>n.currentPath===i;return(i,r)=>(e.openBlock(),e.createElementBlock("nav",{class:e.normalizeClass(["top-navigation",{"top-navigation--sticky":a.sticky}]),"data-testid":"top-navigation","aria-label":"Navegação principal"},[e.createElementVNode("div",mu,[e.createElementVNode("div",hu,[e.createElementVNode("div",fu,[e.createElementVNode("div",pu,[a.logoUrl?(e.openBlock(),e.createElementBlock("img",{key:0,src:a.logoUrl,alt:a.brandName,class:"top-navigation__logo-img"},null,8,vu)):(e.openBlock(),e.createBlock(e.unref(y),{key:1,name:"banknotes",variant:"solid",size:"md",class:"top-navigation__logo-icon"}))]),e.createElementVNode("span",gu,e.toDisplayString(a.brandName),1)]),e.createElementVNode("div",_u,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.items,s=>(e.openBlock(),e.createElementBlock("button",{key:s.to,type:"button",class:e.normalizeClass(["top-navigation__link",{"top-navigation__link--active":o(s.to)}]),"data-testid":`top-nav-link-${s.icon}`,"aria-current":o(s.to)?"page":void 0,onClick:c=>l("navigate",s.to)},[e.createVNode(e.unref(y),{name:s.icon,variant:"outline",size:"sm"},null,8,["name"]),e.createElementVNode("span",Vu,e.toDisplayString(s.label),1)],10,ku))),128))])])])],2))}}),bu=x(wu,[["__scopeId","data-v-3bd0b471"]]),Eu=["aria-current"],yu=e.defineComponent({__name:"SidebarItem",props:{to:{},icon:{},label:{},active:{type:Boolean,default:!1},collapsed:{type:Boolean,default:!1}},emits:["click"],setup(a,{emit:t}){const n=t;return(l,o)=>(e.openBlock(),e.createElementBlock("button",{type:"button",class:e.normalizeClass(["sidebar-item",{"sidebar-item--active":a.active}]),"aria-current":a.active?"page":void 0,onClick:o[0]||(o[0]=i=>n("click",a.to))},[e.createVNode(e.unref(y),{name:a.icon,size:"md",class:e.normalizeClass(["sidebar-item__icon",{"sidebar-item__icon--active":a.active}])},null,8,["name","class"]),a.collapsed?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.unref(T),{key:0,variant:"body",size:"sm",weight:a.active?"medium":"normal",class:e.normalizeClass(["sidebar-item__label",{"sidebar-item__label--active":a.active}])},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.label),1)]),_:1},8,["weight","class"]))],10,Eu))}}),Fe=x(yu,[["__scopeId","data-v-e861f0d9"]]),Nu={class:"sidebar__header"},xu={key:0,class:"sidebar__brand"},Bu=["aria-expanded"],Cu={class:"sidebar__nav"},$u={class:"sidebar__menu"},Su=e.defineComponent({__name:"Sidebar",props:{items:{},currentPath:{default:""},collapsed:{type:Boolean,default:!1},persistState:{type:Boolean,default:!1},storageKey:{default:"sidebar-collapsed"},logoSrc:{}},emits:["update:collapsed","navigate"],setup(a,{emit:t}){const n=a,l=t,o=e.ref(n.collapsed),i=()=>{o.value=!o.value,l("update:collapsed",o.value),n.persistState&&r()},r=()=>{typeof window<"u"&&localStorage.setItem(n.storageKey,String(o.value))},s=()=>{if(typeof window<"u"){const h=localStorage.getItem(n.storageKey);h!==null&&(o.value=h==="true",l("update:collapsed",o.value))}},c=h=>n.currentPath===h,d=h=>{l("navigate",h)};return e.watch(()=>n.collapsed,h=>{o.value=h}),e.onMounted(()=>{n.persistState&&!n.collapsed&&s()}),(h,f)=>(e.openBlock(),e.createElementBlock("aside",{class:e.normalizeClass(["sidebar",{"sidebar--collapsed":o.value}]),"aria-label":"Menu de navegação"},[e.createElementVNode("div",Nu,[o.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",xu,[a.logoSrc?(e.openBlock(),e.createBlock(e.unref(X),{key:0,src:a.logoSrc,size:"sm"},null,8,["src"])):e.renderSlot(h.$slots,"logo",{key:1},void 0,!0)])),e.createElementVNode("button",{type:"button","aria-label":"Colapsar menu","aria-expanded":!o.value,class:"sidebar__toggle",onClick:i},[e.createVNode(e.unref(y),{name:o.value?"chevron-right":"chevron-left",size:"md"},null,8,["name"])],8,Bu)]),e.createElementVNode("nav",Cu,[e.createElementVNode("ul",$u,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.items,p=>(e.openBlock(),e.createElementBlock("li",{key:p.id},[e.createVNode(Fe,{to:p.to,icon:p.icon,label:p.label,active:c(p.to),collapsed:o.value,onClick:d},null,8,["to","icon","label","active","collapsed"])]))),128))])])],2))}}),Mu=x(Su,[["__scopeId","data-v-373729a2"]]),Du={class:"contract-details__section"},zu={class:"contract-details__header"},Au={class:"contract-details__title-group"},Iu={class:"contract-details__title"},Tu={class:"contract-details__subtitle"},Lu={class:"contract-details__section"},Fu={class:"contract-details__values-grid"},Pu={class:"contract-details__value-item"},Zu={class:"contract-details__value-amount"},Ru={class:"contract-details__value-item"},qu={class:"contract-details__value-amount"},Ou={class:"contract-details__value-item"},Uu={class:"contract-details__value-amount"},ju={key:0,class:"contract-details__section"},Hu={class:"contract-details__next-installment"},Gu={class:"contract-details__values-grid"},Wu={class:"contract-details__value-item"},Xu={class:"contract-details__value-text"},Yu={class:"contract-details__value-item"},Ku={class:"contract-details__value-text"},Qu={class:"contract-details__value-item"},Ju={class:"contract-details__value-text"},e1={class:"contract-details__installment-status"},t1={key:1,class:"contract-details__section"},a1={key:2,class:"contract-details__actions"},n1=e.defineComponent({__name:"ContractDetails",props:{contract:{},collapsible:{type:Boolean,default:!1},showActions:{type:Boolean,default:!0}},emits:["download-ccb","download-boleto","view-history"],setup(a,{emit:t}){const n=a,l=t,o={ACTIVE:"ATIVO",PAID:"QUITADO",CANCELLED:"CANCELADO",DEFAULTED:"EM_ATRASO"},i=e.computed(()=>o[n.contract.status]||n.contract.status),r=e.computed(()=>{if(!n.contract.nextInstallment?.dueDate)return null;try{const f=new Date(n.contract.nextInstallment.dueDate);return new Intl.DateTimeFormat("pt-BR",{day:"2-digit",month:"2-digit",year:"numeric"}).format(f)}catch{return null}}),s=e.computed(()=>n.contract.contractedAmount+(n.contract.balanceDue??0));function c(){l("download-ccb",n.contract.id)}function d(){l("download-boleto",n.contract.id)}function h(){l("view-history",n.contract.id)}return(f,p)=>(e.openBlock(),e.createBlock(e.unref(I),{variant:"default",padding:"md",class:"contract-details"},{default:e.withCtx(()=>[e.createElementVNode("div",Du,[e.createElementVNode("div",zu,[e.createElementVNode("div",Au,[e.createElementVNode("h3",Iu," Contrato #"+e.toDisplayString(a.contract.contractNumber),1)]),e.createVNode(e.unref(U),{status:i.value,domain:"contract"},null,8,["status"])]),e.createElementVNode("p",Tu,e.toDisplayString(a.contract.installmentsPaid??0)+" de "+e.toDisplayString(a.contract.totalInstallments??0)+" parcelas pagas ",1)]),e.createElementVNode("div",Lu,[p[3]||(p[3]=e.createElementVNode("h4",{class:"contract-details__section-title"},"Valores",-1)),e.createElementVNode("div",Fu,[e.createElementVNode("div",Pu,[p[0]||(p[0]=e.createElementVNode("p",{class:"contract-details__value-label"},"Valor Contratado",-1)),e.createElementVNode("p",Zu,[e.createVNode(e.unref(L),{value:a.contract.contractedAmount,size:"md"},null,8,["value"])])]),e.createElementVNode("div",Ru,[p[1]||(p[1]=e.createElementVNode("p",{class:"contract-details__value-label"},"Valor Total",-1)),e.createElementVNode("p",qu,[e.createVNode(e.unref(L),{value:s.value,size:"md"},null,8,["value"])])]),e.createElementVNode("div",Ou,[p[2]||(p[2]=e.createElementVNode("p",{class:"contract-details__value-label"},"Saldo Devedor",-1)),e.createElementVNode("p",Uu,[e.createVNode(e.unref(L),{value:a.contract.balanceDue??0,size:"md"},null,8,["value"])])])])]),a.contract.nextInstallment?(e.openBlock(),e.createElementBlock("div",ju,[p[8]||(p[8]=e.createElementVNode("h4",{class:"contract-details__section-title"},"Próxima Parcela",-1)),e.createElementVNode("div",Hu,[e.createElementVNode("div",Gu,[e.createElementVNode("div",Wu,[p[4]||(p[4]=e.createElementVNode("p",{class:"contract-details__value-label"},"Parcela",-1)),e.createElementVNode("p",Xu,e.toDisplayString(a.contract.nextInstallment.number)+"/"+e.toDisplayString(a.contract.totalInstallments??0),1)]),e.createElementVNode("div",Yu,[p[5]||(p[5]=e.createElementVNode("p",{class:"contract-details__value-label"},"Valor",-1)),e.createElementVNode("p",Ku,[e.createVNode(e.unref(L),{value:a.contract.nextInstallment.amount,size:"md"},null,8,["value"])])]),e.createElementVNode("div",Qu,[p[6]||(p[6]=e.createElementVNode("p",{class:"contract-details__value-label"},"Vencimento",-1)),e.createElementVNode("p",Ju,e.toDisplayString(r.value),1)])]),e.createElementVNode("div",e1,[p[7]||(p[7]=e.createElementVNode("p",{class:"contract-details__value-label"},"Status",-1)),e.createVNode(e.unref(U),{status:a.contract.nextInstallment.status,domain:"installment",size:"sm"},null,8,["status"])])])])):(e.openBlock(),e.createElementBlock("div",t1,[...p[9]||(p[9]=[e.createElementVNode("h4",{class:"contract-details__section-title"},"Próxima Parcela",-1),e.createElementVNode("p",{class:"contract-details__empty-text"},"Contrato quitado",-1)])])),a.showActions?(e.openBlock(),e.createElementBlock("div",a1,[e.createVNode(e.unref(C),{variant:"primary",size:"md",block:"",class:"contract-details__action-btn","aria-label":"Baixar CCB do contrato",onClick:c},{default:e.withCtx(()=>[...p[10]||(p[10]=[e.createTextVNode(" Baixar CCB ",-1)])]),_:1}),a.contract.nextInstallment?(e.openBlock(),e.createBlock(e.unref(C),{key:0,variant:"outline",size:"md",block:"",class:"contract-details__action-btn","aria-label":"Baixar boleto da próxima parcela",onClick:d},{default:e.withCtx(()=>[...p[11]||(p[11]=[e.createTextVNode(" Baixar Boleto ",-1)])]),_:1})):e.createCommentVNode("",!0),e.createVNode(e.unref(C),{variant:"outline",size:"md",block:"",class:"contract-details__action-btn","aria-label":"Ver histórico completo de parcelas",onClick:h},{default:e.withCtx(()=>[...p[12]||(p[12]=[e.createTextVNode(" Ver Histórico Completo ",-1)])]),_:1})])):e.createCommentVNode("",!0)]),_:1}))}}),l1=x(n1,[["__scopeId","data-v-28e784ca"]]),o1={class:"installment-history"},r1={key:0,class:"installment-history__state"},i1={key:1,class:"installment-history__state"},s1={class:"installment-history__error"},c1={class:"installment-history__error-message"},d1={key:2,class:"installment-history__state"},u1={key:3,class:"installment-history__content"},m1={class:"installment-history__filters"},h1={class:"installment-history__table-wrapper"},f1={class:"installment-history__table",role:"table","aria-label":"Histórico de Parcelas"},p1={class:"installment-history__table-body"},v1={class:"installment-history__table-cell"},g1={class:"installment-history__table-cell"},_1={class:"installment-history__table-cell"},k1={class:"installment-history__table-cell"},V1={key:0,class:"installment-history__pagination"},w1={class:"installment-history__pagination-text"},b1={class:"installment-history__pagination-controls"},E1={class:"installment-history__pagination-info"},y1=e.defineComponent({__name:"InstallmentHistory",props:{installments:{},loading:{type:Boolean,default:!1},error:{default:null},itemsPerPage:{default:10}},emits:["retry"],setup(a,{emit:t}){const n=a,l=t,o=e.ref("all"),i=e.ref(1);function r(){l("retry")}function s(u){try{const v=new Date(u);return new Intl.DateTimeFormat("pt-BR",{day:"2-digit",month:"2-digit",year:"numeric"}).format(v)}catch{return u}}const c=e.computed(()=>{let u=n.installments;return o.value!=="all"&&(u=u.filter(v=>{const V=v.status;switch(o.value){case"paid":return V==="PAID"||V==="PAID_LATE";case"pending":return V==="PENDING"||V==="PROCESSING";case"overdue":return V==="OVERDUE";default:return!0}})),u}),d=e.computed(()=>[...c.value].sort((u,v)=>{const V=new Date(u.dueDate).getTime(),b=new Date(v.dueDate).getTime();return V-b})),h=e.computed(()=>Math.ceil(d.value.length/n.itemsPerPage)),f=e.computed(()=>{const u=(i.value-1)*n.itemsPerPage,v=u+n.itemsPerPage;return d.value.slice(u,v)}),p=e.computed(()=>{const u=d.value.length;if(u===0)return"Nenhuma parcela encontrada";const v=(i.value-1)*n.itemsPerPage+1,V=Math.min(i.value*n.itemsPerPage,u);return`Mostrando ${v}-${V} de ${u}`});function g(u){o.value=u,i.value=1}function _(){i.value>1&&i.value--}function m(){i.value<h.value&&i.value++}return(u,v)=>(e.openBlock(),e.createElementBlock("div",o1,[v[15]||(v[15]=e.createElementVNode("div",{class:"installment-history__header"},[e.createElementVNode("h2",{class:"installment-history__title"},"Histórico de Parcelas"),e.createElementVNode("p",{class:"installment-history__subtitle"}," Visualize todas as parcelas do contrato ")],-1)),a.loading?(e.openBlock(),e.createElementBlock("div",r1,[e.createVNode(e.unref(q),{size:"lg"}),v[4]||(v[4]=e.createElementVNode("p",{class:"installment-history__state-text"},"Carregando parcelas...",-1))])):a.error?(e.openBlock(),e.createElementBlock("div",i1,[e.createElementVNode("div",s1,[v[6]||(v[6]=e.createElementVNode("p",{class:"installment-history__error-title"}," Erro ao carregar parcelas ",-1)),e.createElementVNode("p",c1,e.toDisplayString(a.error),1),e.createVNode(e.unref(C),{variant:"primary",size:"md",onClick:r},{default:e.withCtx(()=>[...v[5]||(v[5]=[e.createTextVNode(" Tentar novamente ",-1)])]),_:1})])])):!a.loading&&!a.error&&a.installments.length===0?(e.openBlock(),e.createElementBlock("div",d1,[...v[7]||(v[7]=[e.createElementVNode("div",{class:"installment-history__empty"},[e.createElementVNode("p",{class:"installment-history__empty-title"}," Nenhuma parcela encontrada "),e.createElementVNode("p",{class:"installment-history__empty-subtitle"}," Este contrato ainda não possui parcelas cadastradas ")],-1)])])):(e.openBlock(),e.createElementBlock("div",u1,[e.createElementVNode("div",m1,[e.createVNode(e.unref(C),{variant:o.value==="all"?"primary":"outline",size:"sm",onClick:v[0]||(v[0]=V=>g("all"))},{default:e.withCtx(()=>[...v[8]||(v[8]=[e.createTextVNode(" Todas ",-1)])]),_:1},8,["variant"]),e.createVNode(e.unref(C),{variant:o.value==="paid"?"primary":"outline",size:"sm",onClick:v[1]||(v[1]=V=>g("paid"))},{default:e.withCtx(()=>[...v[9]||(v[9]=[e.createTextVNode(" Pagas ",-1)])]),_:1},8,["variant"]),e.createVNode(e.unref(C),{variant:o.value==="pending"?"primary":"outline",size:"sm",onClick:v[2]||(v[2]=V=>g("pending"))},{default:e.withCtx(()=>[...v[10]||(v[10]=[e.createTextVNode(" Pendentes ",-1)])]),_:1},8,["variant"]),e.createVNode(e.unref(C),{variant:o.value==="overdue"?"primary":"outline",size:"sm",onClick:v[3]||(v[3]=V=>g("overdue"))},{default:e.withCtx(()=>[...v[11]||(v[11]=[e.createTextVNode(" Atrasadas ",-1)])]),_:1},8,["variant"])]),e.createElementVNode("div",h1,[e.createElementVNode("table",f1,[v[12]||(v[12]=e.createElementVNode("thead",null,[e.createElementVNode("tr",{class:"installment-history__table-header-row"},[e.createElementVNode("th",{class:"installment-history__table-header",scope:"col"}," Nº Parcela "),e.createElementVNode("th",{class:"installment-history__table-header",scope:"col"}," Vencimento "),e.createElementVNode("th",{class:"installment-history__table-header",scope:"col"}," Valor "),e.createElementVNode("th",{class:"installment-history__table-header",scope:"col"}," Status ")])],-1)),e.createElementVNode("tbody",p1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.value,V=>(e.openBlock(),e.createElementBlock("tr",{key:V.number,class:"installment-history__table-row"},[e.createElementVNode("td",v1,e.toDisplayString(V.number),1),e.createElementVNode("td",g1,e.toDisplayString(s(V.dueDate)),1),e.createElementVNode("td",_1,[e.createVNode(e.unref(L),{value:V.amount,size:"sm"},null,8,["value"])]),e.createElementVNode("td",k1,[e.createVNode(e.unref(U),{status:V.status,domain:"installment",size:"sm"},null,8,["status"])])]))),128))])])]),h.value>1?(e.openBlock(),e.createElementBlock("div",V1,[e.createElementVNode("p",w1,e.toDisplayString(p.value),1),e.createElementVNode("div",b1,[e.createVNode(e.unref(C),{variant:"outline",size:"sm",disabled:i.value===1,onClick:_},{default:e.withCtx(()=>[...v[13]||(v[13]=[e.createTextVNode(" Anterior ",-1)])]),_:1},8,["disabled"]),e.createElementVNode("span",E1," Página "+e.toDisplayString(i.value)+" de "+e.toDisplayString(h.value),1),e.createVNode(e.unref(C),{variant:"outline",size:"sm",disabled:i.value===h.value,onClick:m},{default:e.withCtx(()=>[...v[14]||(v[14]=[e.createTextVNode(" Próxima ",-1)])]),_:1},8,["disabled"])])])):e.createCommentVNode("",!0)]))]))}}),N1=x(y1,[["__scopeId","data-v-f21aaa33"]]),x1={class:"document-upload-section"},B1={class:"document-upload-section__uploads"},C1={class:"document-upload-section__status"},$1={role:"list","aria-label":"Lista de documentos e seus status",class:"document-upload-section__status-list"},S1={class:"document-upload-section__status-icon-group"},M1={class:"document-upload-section__status-info"},D1={class:"document-upload-section__status-label"},z1={key:0,class:"document-upload-section__required","aria-label":"Obrigatório"},A1={key:0,class:"document-upload-section__error",role:"alert"},I1={key:0,class:"document-upload-section__preview"},T1={class:"document-upload-section__preview-list"},L1={class:"document-upload-section__preview-label"},F1={class:"document-upload-section__preview-files"},P1={key:1,class:"document-upload-section__actions"},Z1=e.defineComponent({__name:"DocumentUploadSection",props:{documents:{},disabled:{type:Boolean,default:!1},showPreview:{type:Boolean,default:!1},hideContinueButton:{type:Boolean,default:!1}},emits:["complete","document-uploaded","document-removed","error"],setup(a,{emit:t}){const n=a,l=t,o=e.ref([]);function i(){o.value=n.documents.map(_=>({id:_.id,status:"pending",files:[]}))}e.watch(()=>n.documents,()=>{i()},{immediate:!0});const r=e.computed(()=>n.documents.filter(m=>m.required).every(m=>{const u=o.value.find(v=>v.id===m.id);return u?.status==="uploaded"||u?.status==="approved"})),s=e.computed(()=>n.documents.map(_=>{const m=o.value.find(u=>u.id===_.id);return{..._,status:m?.status??"pending",files:m?.files??[],error:m?.error}}));function c(_){let m=o.value.find(u=>u.id===_);return m||(m={id:_,status:"pending",files:[]},o.value.push(m)),m}function d(_,m){const u=o.value.findIndex(V=>V.id===_);if(u===-1)return;const v=r.value;o.value[u]={...o.value[u],status:m.length>0?"uploaded":"pending",files:[...m],error:void 0},m.length>0?l("document-uploaded",_,m):l("document-removed",_),r.value&&!v&&l("complete",o.value)}function h(_,m){const u=o.value.findIndex(v=>v.id===_);u!==-1&&(o.value[u]={...o.value[u],status:"rejected",error:m.message},l("error",{documentId:_,message:m.message}))}function f(_,m){const u=o.value.findIndex(b=>b.id===_);if(u===-1)return;const v=o.value[u],V=v.files.filter(b=>b!==m);o.value[u]={...v,status:V.length>0?"uploaded":"pending",files:V,error:void 0},V.length===0?l("document-removed",_):l("document-uploaded",_,V)}function p(){r.value&&l("complete",o.value)}const g={pending:"Pendente",uploaded:"Enviado",approved:"Aprovado",rejected:"Rejeitado"};return(_,m)=>(e.openBlock(),e.createElementBlock("div",x1,[e.createElementVNode("div",B1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value,u=>(e.openBlock(),e.createBlock(e.unref(ze),{key:u.id,"model-value":c(u.id).files,accept:u.accept,"max-size":u.maxSize,"max-files":u.maxFiles,multiple:(u.maxFiles??1)>1,disabled:n.disabled,label:u.label,"onUpdate:modelValue":v=>d(u.id,v),onFilesSelected:v=>d(u.id,v),onError:v=>h(u.id,v)},null,8,["model-value","accept","max-size","max-files","multiple","disabled","label","onUpdate:modelValue","onFilesSelected","onError"]))),128))]),e.createElementVNode("div",C1,[m[0]||(m[0]=e.createElementVNode("h3",{class:"document-upload-section__status-title"},"Status dos Documentos",-1)),e.createElementVNode("ul",$1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value,u=>(e.openBlock(),e.createElementBlock("li",{key:u.id,class:"document-upload-section__status-item"},[e.createElementVNode("div",S1,[e.createElementVNode("div",{class:e.normalizeClass(["document-upload-section__status-icon",`document-upload-section__status-icon--${u.status}`])},[u.status==="pending"?(e.openBlock(),e.createBlock(e.unref(y),{key:0,name:"clock",size:"sm"})):u.status==="uploaded"?(e.openBlock(),e.createBlock(e.unref(y),{key:1,name:"arrow-up",size:"sm"})):u.status==="approved"?(e.openBlock(),e.createBlock(e.unref(y),{key:2,name:"check-circle",size:"sm"})):u.status==="rejected"?(e.openBlock(),e.createBlock(e.unref(y),{key:3,name:"exclamation-circle",size:"sm"})):e.createCommentVNode("",!0)],2),e.createElementVNode("div",M1,[e.createElementVNode("p",D1,[e.createTextVNode(e.toDisplayString(u.label)+" ",1),u.required?(e.openBlock(),e.createElementBlock("span",z1," * ")):e.createCommentVNode("",!0)]),e.createElementVNode("p",{class:e.normalizeClass(["document-upload-section__status-text",`document-upload-section__status-text--${u.status}`])},e.toDisplayString(g[u.status]),3)])]),u.error?(e.openBlock(),e.createElementBlock("div",A1,e.toDisplayString(u.error),1)):e.createCommentVNode("",!0)]))),128))])]),a.showPreview?(e.openBlock(),e.createElementBlock("div",I1,[m[1]||(m[1]=e.createElementVNode("h3",{class:"document-upload-section__preview-title"},"Arquivos Enviados",-1)),e.createElementVNode("div",T1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value.filter(u=>u.files.length>0),u=>(e.openBlock(),e.createElementBlock("div",{key:`preview-${u.id}`,class:"document-upload-section__preview-group"},[e.createElementVNode("p",L1,e.toDisplayString(u.label),1),e.createElementVNode("div",F1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u.files,(v,V)=>(e.openBlock(),e.createBlock(e.unref(Ae),{key:`${u.id}-${V}`,file:v,"show-actions":!0,compact:!1,onRemove:()=>f(u.id,v)},null,8,["file","onRemove"]))),128))])]))),128))])])):e.createCommentVNode("",!0),a.hideContinueButton?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",P1,[e.createVNode(e.unref(C),{variant:"primary",size:"md",disabled:!r.value||n.disabled,onClick:p},{default:e.withCtx(()=>[...m[2]||(m[2]=[e.createTextVNode(" Continuar ",-1)])]),_:1},8,["disabled"])]))]))}}),R1=x(Z1,[["__scopeId","data-v-23d08488"]]),q1={key:0,class:"term-modal__content"},O1={class:"term-modal__info-box"},U1={key:1,class:"term-modal__content"},j1={key:2,class:"term-modal__content"},H1={key:3,class:"term-modal__content term-modal__content--empty"},G1={class:"term-modal__text"},W1=e.defineComponent({__name:"TermModal",props:{open:{type:Boolean},term:{}},emits:["close"],setup(a,{emit:t}){const n=a,l=t,o=e.computed(()=>n.term?.label||"Termo Legal");return(i,r)=>(e.openBlock(),e.createBlock(e.unref(le),{open:a.open,title:o.value,onClose:r[0]||(r[0]=s=>l("close"))},{default:e.withCtx(()=>[a.term?.type==="scr"?(e.openBlock(),e.createElementBlock("div",q1,[r[2]||(r[2]=e.createElementVNode("h3",{class:"term-modal__section-title"}," Autorização para Consulta de Informações ",-1)),r[3]||(r[3]=e.createElementVNode("p",{class:"term-modal__text"},[e.createTextVNode(" Declaro estar ciente e autorizo expressamente a consulta de minhas informações junto ao "),e.createElementVNode("strong",null,"Sistema de Informações de Crédito (SCR)"),e.createTextVNode(" do Banco Central do Brasil e ao "),e.createElementVNode("strong",null,"Dataprev"),e.createTextVNode(", para fins de: ")],-1)),r[4]||(r[4]=e.createElementVNode("ul",{class:"term-modal__list"},[e.createElementVNode("li",null,"Verificação da margem consignável disponível"),e.createElementVNode("li",null,"Análise de viabilidade de crédito consignado"),e.createElementVNode("li",null,"Simulação de condições de empréstimo"),e.createElementVNode("li",null,"Processamento da solicitação de crédito")],-1)),r[5]||(r[5]=e.createElementVNode("h3",{class:"term-modal__section-title"}," Dados Consultados ",-1)),r[6]||(r[6]=e.createElementVNode("p",{class:"term-modal__text"}," Serão consultados os seguintes dados junto ao Dataprev: ",-1)),r[7]||(r[7]=e.createElementVNode("ul",{class:"term-modal__list"},[e.createElementVNode("li",null,"Margem consignável disponível"),e.createElementVNode("li",null,"Renda bruta mensal"),e.createElementVNode("li",null,"Comprometimento atual de margem consignável"),e.createElementVNode("li",null,"Situação cadastral junto ao INSS")],-1)),r[8]||(r[8]=e.createElementVNode("h3",{class:"term-modal__section-title"}," Proteção de Dados e LGPD ",-1)),r[9]||(r[9]=e.createElementVNode("p",{class:"term-modal__text"},[e.createTextVNode(" Esta autorização é concedida em conformidade com a "),e.createElementVNode("strong",null,"Lei Geral de Proteção de Dados (LGPD - Lei nº 13.709/2018)"),e.createTextVNode(" e garante que: ")],-1)),r[10]||(r[10]=e.createElementVNode("ul",{class:"term-modal__list"},[e.createElementVNode("li",null,[e.createTextVNode("Seus dados serão utilizados "),e.createElementVNode("strong",null,"exclusivamente"),e.createTextVNode(" para a finalidade declarada")]),e.createElementVNode("li",null,[e.createTextVNode("As informações coletadas serão armazenadas com "),e.createElementVNode("strong",null,"segurança")]),e.createElementVNode("li",null,[e.createTextVNode("Você pode "),e.createElementVNode("strong",null,"revogar"),e.createTextVNode(" esta autorização a qualquer momento")]),e.createElementVNode("li",null,"Não compartilharemos seus dados com terceiros sem seu consentimento")],-1)),r[11]||(r[11]=e.createElementVNode("h3",{class:"term-modal__section-title"}," Validade e Revogação ",-1)),r[12]||(r[12]=e.createElementVNode("p",{class:"term-modal__text"},[e.createTextVNode(" Esta autorização é válida por "),e.createElementVNode("strong",null,"24 horas"),e.createTextVNode(" a partir da aceitação e pode ser revogada a qualquer momento. ")],-1)),e.createElementVNode("div",O1,[e.createVNode(e.unref(y),{name:"shield-check",size:"md",class:"term-modal__info-icon"}),r[1]||(r[1]=e.createElementVNode("div",null,[e.createElementVNode("p",{class:"term-modal__info-title"},"Segurança Garantida"),e.createElementVNode("p",{class:"term-modal__info-text"}," Seus dados estão protegidos por criptografia de ponta a ponta e não serão armazenados permanentemente após o processamento. ")],-1))])])):a.term?.type==="lgpd"?(e.openBlock(),e.createElementBlock("div",U1,[...r[13]||(r[13]=[e.createElementVNode("h3",{class:"term-modal__section-title"},"1. Introdução",-1),e.createElementVNode("p",{class:"term-modal__text"}," Respeitamos sua privacidade e estamos comprometidos em proteger seus dados pessoais de acordo com a Lei Geral de Proteção de Dados (LGPD - Lei nº 13.709/2018). ",-1),e.createElementVNode("h3",{class:"term-modal__section-title"},"2. Dados Coletados",-1),e.createElementVNode("ul",{class:"term-modal__list"},[e.createElementVNode("li",null,[e.createElementVNode("strong",null,"Dados de Identificação"),e.createTextVNode(": CPF, nome completo, data de nascimento")]),e.createElementVNode("li",null,[e.createElementVNode("strong",null,"Dados de Contato"),e.createTextVNode(": e-mail, telefone")]),e.createElementVNode("li",null,[e.createElementVNode("strong",null,"Dados Financeiros"),e.createTextVNode(": informações para análise de crédito")]),e.createElementVNode("li",null,[e.createElementVNode("strong",null,"Dados de Navegação"),e.createTextVNode(": IP, cookies, histórico de navegação")])],-1),e.createElementVNode("h3",{class:"term-modal__section-title"},"3. Finalidade do Uso",-1),e.createElementVNode("ul",{class:"term-modal__list"},[e.createElementVNode("li",null,"Processar sua solicitação de crédito"),e.createElementVNode("li",null,"Realizar análise de crédito e viabilidade"),e.createElementVNode("li",null,"Prestar serviços de crédito consignado"),e.createElementVNode("li",null,"Cumprir obrigações legais e regulatórias"),e.createElementVNode("li",null,"Melhorar nossos serviços")],-1),e.createElementVNode("h3",{class:"term-modal__section-title"},"4. Seus Direitos",-1),e.createElementVNode("ul",{class:"term-modal__list"},[e.createElementVNode("li",null,"Acessar seus dados pessoais"),e.createElementVNode("li",null,"Corrigir dados incompletos ou inexatos"),e.createElementVNode("li",null,"Solicitar anonimização ou exclusão de dados"),e.createElementVNode("li",null,"Revogar consentimento a qualquer momento"),e.createElementVNode("li",null,"Portabilidade de dados")],-1),e.createElementVNode("h3",{class:"term-modal__section-title"},"5. Segurança",-1),e.createElementVNode("p",{class:"term-modal__text"}," Implementamos medidas técnicas e organizacionais para proteger seus dados contra acesso não autorizado, alteração, divulgação ou destruição. ",-1)])])):a.term?.type==="termos-uso"?(e.openBlock(),e.createElementBlock("div",j1,[...r[14]||(r[14]=[e.createElementVNode("h3",{class:"term-modal__section-title"},"1. Aceitação dos Termos",-1),e.createElementVNode("p",{class:"term-modal__text"}," Ao acessar e utilizar os serviços, você concorda em cumprir e estar vinculado a estes Termos de Uso. ",-1),e.createElementVNode("h3",{class:"term-modal__section-title"},"2. Serviços Oferecidos",-1),e.createElementVNode("ul",{class:"term-modal__list"},[e.createElementVNode("li",null,"Simulação de crédito consignado"),e.createElementVNode("li",null,"Análise de viabilidade financeira"),e.createElementVNode("li",null,"Intermediação de crédito consignado"),e.createElementVNode("li",null,"Gestão de propostas de crédito")],-1),e.createElementVNode("h3",{class:"term-modal__section-title"},"3. Elegibilidade",-1),e.createElementVNode("ul",{class:"term-modal__list"},[e.createElementVNode("li",null,"Ser maior de 18 anos"),e.createElementVNode("li",null,"Possuir CPF válido"),e.createElementVNode("li",null,"Estar devidamente cadastrado no sistema"),e.createElementVNode("li",null,"Fornecer informações verdadeiras e atualizadas")],-1),e.createElementVNode("h3",{class:"term-modal__section-title"},"4. Responsabilidades do Usuário",-1),e.createElementVNode("ul",{class:"term-modal__list"},[e.createElementVNode("li",null,"Fornecer informações verdadeiras e precisas"),e.createElementVNode("li",null,"Manter a confidencialidade de suas credenciais"),e.createElementVNode("li",null,"Utilizar o serviço de forma legal e adequada"),e.createElementVNode("li",null,"Não tentar burlar ou fraudar o sistema")],-1),e.createElementVNode("h3",{class:"term-modal__section-title"},"5. Lei Aplicável",-1),e.createElementVNode("p",{class:"term-modal__text"}," Estes termos são regidos pela legislação brasileira. ",-1)])])):(e.openBlock(),e.createElementBlock("div",H1,[e.createElementVNode("p",G1," Este é o termo de "+e.toDisplayString(a.term?.label||"uso")+". ",1),r[15]||(r[15]=e.createElementVNode("p",{class:"term-modal__text"}," Por favor, leia atentamente todas as condições antes de aceitar. ",-1))]))]),_:1},8,["open","title"]))}}),Pe=x(W1,[["__scopeId","data-v-24fe7f2e"]]),X1={class:"consent-form"},Y1={class:"consent-form__terms"},K1=["disabled","onClick"],Q1=e.defineComponent({__name:"ConsentForm",props:{terms:{},loading:{type:Boolean,default:!1}},emits:["update:isValid"],setup(a,{expose:t,emit:n}){const l=a,o=n,i=e.ref(new Set),r=e.ref(null),s=e.computed(()=>r.value&&l.terms.find(g=>g.id===r.value)||null),c=e.computed(()=>{const g=l.terms.filter(_=>_.required!==!1);return g.length>0&&g.every(_=>i.value.has(_.id))});function d(g){i.value.has(g)?i.value.delete(g):i.value.add(g),o("update:isValid",c.value)}function h(g){r.value=g}function f(){r.value=null}function p(){return l.terms.filter(g=>i.value.has(g.id)).map(g=>({id:g.id,type:g.type,acceptedAt:new Date}))}return e.watch(c,g=>{o("update:isValid",g)},{immediate:!0}),t({get isFormValid(){return c.value},getAcceptedTerms:p}),(g,_)=>(e.openBlock(),e.createElementBlock("div",X1,[e.createElementVNode("div",Y1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.terms,m=>(e.openBlock(),e.createElementBlock("div",{key:m.id,class:"consent-form__term"},[e.createVNode(e.unref(Be),{"model-value":i.value.has(m.id),label:`Aceito ${m.label}`,required:m.required!==!1,disabled:a.loading,"onUpdate:modelValue":u=>d(m.id)},null,8,["model-value","label","required","disabled","onUpdate:modelValue"]),e.createElementVNode("button",{type:"button",class:"consent-form__read-link",disabled:a.loading,onClick:u=>h(m.id)}," Ler termo completo ",8,K1)]))),128))]),e.createVNode(Pe,{open:r.value!==null,term:s.value,onClose:f},null,8,["open","term"])]))}}),J1=x(Q1,[["__scopeId","data-v-8788e6e7"]]),e0={class:"profile-form__avatar-section"},t0={class:"profile-form__avatar-upload"},a0={for:"avatar-input",class:"profile-form__avatar-label"},n0=["disabled"],l0={key:0,class:"profile-form__avatar-error",role:"alert"},o0={class:"profile-form__fields"},r0={key:0,class:"profile-form__error",role:"alert"},i0={class:"profile-form__actions"},s0=e.defineComponent({__name:"ProfileForm",props:{initialData:{},loading:{type:Boolean,default:!1},errors:{},errorMessage:{default:""}},emits:["save","cancel","field-blur"],setup(a,{emit:t}){const n=a,l=t,o=e.ref(""),i=e.ref(""),r=e.ref(""),s=e.ref(""),c=e.ref(null),d=e.ref(null),h=e.computed(()=>d.value?d.value:n.initialData?.avatarUrl),f=e.computed(()=>o.value||n.initialData?.name||"Usuário");function p(u){const v=u==="name"?o.value:u==="email"?i.value:u==="phone"?r.value:s.value;l("field-blur",u,v)}function g(u){const V=u.target.files?.[0];if(!V||!["image/jpeg","image/png","image/jpg"].includes(V.type))return;const k=2*1024*1024;V.size>k||(c.value=V,d.value&&URL.revokeObjectURL(d.value),d.value=URL.createObjectURL(V))}function _(){l("save",{name:o.value,email:i.value,phone:r.value,address:s.value,avatarFile:c.value||void 0})}function m(){o.value=n.initialData?.name||"",i.value=n.initialData?.email||"",r.value=n.initialData?.phone||"",s.value=n.initialData?.address||"",c.value=null,d.value&&(URL.revokeObjectURL(d.value),d.value=null),l("cancel")}return e.watch(()=>n.initialData,u=>{u&&(o.value=u.name||"",i.value=u.email||"",r.value=u.phone||"",s.value=u.address||"")},{immediate:!0}),e.onUnmounted(()=>{d.value&&URL.revokeObjectURL(d.value)}),(u,v)=>(e.openBlock(),e.createElementBlock("form",{class:"profile-form",onSubmit:e.withModifiers(_,["prevent"])},[e.createElementVNode("div",e0,[e.createVNode(e.unref(H),{src:h.value,name:f.value,size:"lg",class:"profile-form__avatar"},null,8,["src","name"]),e.createElementVNode("div",t0,[e.createElementVNode("label",a0,[e.createElementVNode("input",{id:"avatar-input",type:"file",accept:"image/jpeg,image/png,image/jpg",class:"profile-form__avatar-input",disabled:a.loading,"aria-label":"Alterar foto de perfil","aria-describedby":"avatar-hint",onChange:g},null,40,n0),v[8]||(v[8]=e.createElementVNode("span",{class:"profile-form__avatar-button"}," Alterar foto ",-1))]),v[9]||(v[9]=e.createElementVNode("span",{id:"avatar-hint",class:"sr-only"}," Selecione uma imagem JPG ou PNG com no máximo 2MB ",-1)),a.errors?.avatar?(e.openBlock(),e.createElementBlock("p",l0,e.toDisplayString(a.errors.avatar),1)):e.createCommentVNode("",!0)])]),e.createElementVNode("div",o0,[e.createVNode(e.unref(j),{label:"Nome completo",error:a.errors?.name,required:""},{default:e.withCtx(({id:V,ariaInvalid:b,ariaDescribedby:k,ariaRequired:w})=>[e.createVNode(e.unref(Z),{id:V,modelValue:o.value,"onUpdate:modelValue":v[0]||(v[0]=E=>o.value=E),type:"text",placeholder:"Digite seu nome completo","has-error":!!a.errors?.name,disabled:a.loading,"aria-invalid":b,"aria-describedby":k,"aria-required":w,maxlength:100,autocomplete:"name",onBlur:v[1]||(v[1]=E=>p("name"))},null,8,["id","modelValue","has-error","disabled","aria-invalid","aria-describedby","aria-required"])]),_:1},8,["error"]),e.createVNode(e.unref(j),{label:"E-mail",error:a.errors?.email,required:""},{default:e.withCtx(({id:V,ariaInvalid:b,ariaDescribedby:k,ariaRequired:w})=>[e.createVNode(e.unref(Z),{id:V,modelValue:i.value,"onUpdate:modelValue":v[2]||(v[2]=E=>i.value=E),type:"email",placeholder:"Digite seu e-mail","has-error":!!a.errors?.email,disabled:a.loading,"aria-invalid":b,"aria-describedby":k,"aria-required":w,autocomplete:"email",onBlur:v[3]||(v[3]=E=>p("email"))},null,8,["id","modelValue","has-error","disabled","aria-invalid","aria-describedby","aria-required"])]),_:1},8,["error"]),e.createVNode(e.unref(j),{label:"Telefone",error:a.errors?.phone,hint:"Digite apenas números",required:""},{default:e.withCtx(({id:V,ariaInvalid:b,ariaDescribedby:k,ariaRequired:w})=>[e.createVNode(e.unref(Z),{id:V,modelValue:r.value,"onUpdate:modelValue":v[4]||(v[4]=E=>r.value=E),type:"tel",placeholder:"(00) 00000-0000","has-error":!!a.errors?.phone,disabled:a.loading,"aria-invalid":b,"aria-describedby":k,"aria-required":w,inputmode:"numeric",autocomplete:"tel",onBlur:v[5]||(v[5]=E=>p("phone"))},null,8,["id","modelValue","has-error","disabled","aria-invalid","aria-describedby","aria-required"])]),_:1},8,["error"]),e.createVNode(e.unref(j),{label:"Endereço",error:a.errors?.address,required:""},{default:e.withCtx(({id:V,ariaInvalid:b,ariaDescribedby:k,ariaRequired:w})=>[e.createVNode(e.unref(Z),{id:V,modelValue:s.value,"onUpdate:modelValue":v[6]||(v[6]=E=>s.value=E),type:"text",placeholder:"Digite seu endereço completo","has-error":!!a.errors?.address,disabled:a.loading,"aria-invalid":b,"aria-describedby":k,"aria-required":w,autocomplete:"street-address",onBlur:v[7]||(v[7]=E=>p("address"))},null,8,["id","modelValue","has-error","disabled","aria-invalid","aria-describedby","aria-required"])]),_:1},8,["error"])]),a.errorMessage?(e.openBlock(),e.createElementBlock("div",r0,e.toDisplayString(a.errorMessage),1)):e.createCommentVNode("",!0),e.createElementVNode("div",i0,[e.createVNode(e.unref(C),{type:"button",variant:"outline",disabled:a.loading,onClick:m},{default:e.withCtx(()=>[...v[10]||(v[10]=[e.createTextVNode(" Cancelar ",-1)])]),_:1},8,["disabled"]),e.createVNode(e.unref(C),{type:"submit",variant:"primary",loading:a.loading,disabled:a.loading},{default:e.withCtx(()=>[...v[11]||(v[11]=[e.createTextVNode(" Salvar ",-1)])]),_:1},8,["loading","disabled"])])],32))}}),c0=x(s0,[["__scopeId","data-v-80374650"]]),d0={class:"form-layout"},u0={class:"form-layout__container"},m0={class:"form-layout__header"},h0={class:"form-layout__title"},f0={key:0,class:"form-layout__subtitle"},p0={key:0,class:"form-layout__stepper"},v0={class:"form-layout__content"},g0={key:2,class:"form-layout__footer"},_0={class:"form-layout__security"},k0=e.defineComponent({__name:"FormLayout",props:{title:{},subtitle:{default:""},steps:{},currentStep:{},backLabel:{default:"Voltar"},nextLabel:{default:"Continuar"},loading:{type:Boolean,default:!1},nextDisabled:{type:Boolean,default:!1},hideBack:{type:Boolean,default:!1},showSecurityFooter:{type:Boolean,default:!0},hideButtons:{type:Boolean,default:!1}},emits:["back","next"],setup(a,{emit:t}){const n=t;function l(){n("back")}function o(){n("next")}return(i,r)=>(e.openBlock(),e.createElementBlock("div",d0,[e.createElementVNode("div",u0,[e.createElementVNode("div",m0,[e.createElementVNode("h1",h0,e.toDisplayString(a.title),1),a.subtitle?(e.openBlock(),e.createElementBlock("p",f0,e.toDisplayString(a.subtitle),1)):e.createCommentVNode("",!0)]),a.steps.length>0?(e.openBlock(),e.createElementBlock("div",p0,[e.createVNode(e.unref(Le),{"current-step":a.currentStep,steps:a.steps},null,8,["current-step","steps"])])):e.createCommentVNode("",!0),e.createElementVNode("div",v0,[e.renderSlot(i.$slots,"default",{},void 0,!0)]),a.hideButtons?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["form-layout__buttons",{"form-layout__buttons--end":a.hideBack}])},[a.hideBack?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.unref(C),{key:0,type:"button",variant:"outline",size:"lg",class:"form-layout__button","aria-label":"Voltar para etapa anterior",onClick:l},{"leading-icon":e.withCtx(()=>[e.createVNode(e.unref(y),{name:"arrow-left",size:20})]),default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(a.backLabel),1)]),_:1})),e.createVNode(e.unref(C),{type:"button",variant:"primary",size:"lg",class:"form-layout__button",loading:a.loading,disabled:a.nextDisabled||a.loading,"aria-label":"Avançar para próxima etapa",onClick:o},{"trailing-icon":e.withCtx(()=>[a.loading?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.unref(y),{key:0,name:"arrow-right",size:20}))]),default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(a.nextLabel),1)]),_:1},8,["loading","disabled"])],2)),a.showSecurityFooter?(e.openBlock(),e.createElementBlock("div",g0,[e.createElementVNode("div",_0,[e.createVNode(e.unref(y),{name:"shield-check",size:16,class:"form-layout__security-icon"}),r[0]||(r[0]=e.createElementVNode("p",{class:"form-layout__security-text"}," Seus dados estão protegidos e não serão compartilhados sem seu consentimento. ",-1))])])):e.createCommentVNode("",!0)])]))}}),V0=x(k0,[["__scopeId","data-v-0dc56d13"]]);function w0(a){const t=typeof window<"u",n=e.ref(a||{}),l=e.ref(!1),o=e.computed(()=>F.mergeTheme(n.value)),i=e.computed(()=>o.value.colors),r=e.computed(()=>o.value.fonts);function s(u){return o.value.colors[u]}function c(u){return o.value.fonts[u]}function d(u){if(!t)return"";const v=u.startsWith("--")?u:`--${u}`;return F.getCSSVariable(v)}function h(u){if(!t){const v=u.startsWith("--")?u.slice(2):u;return f(v)}return d(u)}function f(u){const v=u.split("-");if(v.length<2)return"";const V=v[0],b=v.slice(1).join("-");switch(V){case"color":{const k=b0(b);return o.value.colors[k]||""}case"font":if(v[1]==="family"){const k=v[2];return o.value.fonts[k]||""}return"";case"spacing":return b in o.value.spacing&&o.value.spacing[b]||"";case"radius":return b in o.value.radius&&o.value.radius[b]||"";default:return""}}function p(u){n.value=u,t&&F.injectThemeCSS(o.value)}function g(){n.value={},t&&F.injectThemeCSS(F.defaultTokens)}function _(u){return o.value.spacing[u]}function m(u){return o.value.radius[u]}return e.onMounted(()=>{a&&t&&F.injectThemeCSS(o.value),l.value=!0}),{tokens:o,colors:i,fonts:r,isReady:l,currentConfig:n,getColor:s,getFont:c,getToken:d,getCSSToken:h,getSpacing:_,getRadius:m,applyTheme:p,resetTheme:g}}function b0(a){return a.replace(/-([a-z])/g,(t,n)=>n.toUpperCase())}const E0="0.0.1-alpha";exports.defaultColors=F.defaultColors;exports.defaultFonts=F.defaultFonts;exports.defaultTokens=F.defaultTokens;exports.generateCSSString=F.generateCSSString;exports.injectThemeCSS=F.injectThemeCSS;exports.mergeTheme=F.mergeTheme;exports.ActionButton=Jl;exports.Alert=O;exports.AnalysisStatus=mo;exports.AuthLayout=as;exports.Avatar=H;exports.Badge=K;exports.BottomNavigation=uu;exports.Button=C;exports.Card=I;exports.Checkbox=Be;exports.ConsentForm=J1;exports.ContractCard=lu;exports.ContractDetails=l1;exports.ContractPaidCelebration=yo;exports.CreatePasswordForm=ls;exports.CurrencyDisplay=L;exports.DashboardHeader=hs;exports.Divider=rt;exports.DocumentUpload=ze;exports.DocumentUploadSection=R1;exports.FilePreview=Ae;exports.Footer=Cs;exports.ForgotPasswordForm=zs;exports.FormField=j;exports.FormLayout=V0;exports.GradientMesh=Aa;exports.Header=Ys;exports.Icon=y;exports.IdentifierInput=Ie;exports.InfoCard=or;exports.Input=Z;exports.InputRangeMoney=ur;exports.InstallmentCard=Er;exports.InstallmentHistory=N1;exports.InstallmentSelector=Dr;exports.Label=De;exports.LoginForm=ec;exports.Logo=X;exports.ManualInputModal=pc;exports.MarginIndicator=Hr;exports.Modal=le;exports.OfferCard=jc;exports.PasswordInput=G;exports.PendingProposalBanner=ui;exports.PinInput=vi;exports.ProfileForm=c0;exports.ProgressBar=Te;exports.QuickActions=Kc;exports.ResetPasswordForm=Jc;exports.SCRConsentModal=od;exports.SearchBar=xi;exports.Sidebar=Mu;exports.SidebarItem=Fe;exports.SimulationLoading=zi;exports.SimulationResult=Id;exports.Spinner=q;exports.StatusBadge=U;exports.StepperProgress=Le;exports.TermModal=Pe;exports.TopNavigation=bu;exports.Typography=T;exports.WelcomeCard=Hi;exports.useTheme=w0;exports.version=E0;
90
+ `,o=c=>{const d=c.replace("#",""),h=parseInt(d.substring(0,2),16)/255,f=parseInt(d.substring(2,4),16)/255,p=parseInt(d.substring(4,6),16)/255;return[h,f,p]};let i=null,r=null;const s=()=>{if(!n.value)return;const c=n.value;r=new Mt;const d=r.gl;d.clearColor(0,0,0,1);const h=()=>{!r||!c||r.setSize(c.offsetWidth,c.offsetHeight)};window.addEventListener("resize",h,!1),h();const f=new Ma(d),p=t.colors.slice(0,3).map(o),g={uTime:{value:0},uSwirl:{value:t.swirl},uSpeed:{value:t.speed},uScale:{value:t.scale},uOffsetX:{value:t.offsetX},uOffsetY:{value:t.offsetY},uRotation:{value:t.rotation},uWaveAmp:{value:t.waveAmp},uWaveFreq:{value:t.waveFreq},uWaveSpeed:{value:t.waveSpeed},uResolution:{value:new ye(d.canvas.width,d.canvas.height,d.canvas.width/d.canvas.height)},uGrain:{value:t.grain}},_=["A","B","C"];p.forEach((V,b)=>{g[`uColor${_[b]}`]={value:new ye(...V)}});const m=new xt(d,{vertex:Sa,fragment:l(t.distortion),uniforms:g}),u=new $a(d,{geometry:f,program:m}),v=V=>{i=requestAnimationFrame(v),m.uniforms.uTime.value=V*.001,r&&r.render({scene:u})};return i=requestAnimationFrame(v),c.appendChild(d.canvas),()=>{i!==null&&(cancelAnimationFrame(i),i=null),window.removeEventListener("resize",h),c&&d.canvas&&c.contains(d.canvas)&&c.removeChild(d.canvas),d.getExtension("WEBGL_lose_context")?.loseContext()}};return e.onMounted(()=>{const c=s();e.onBeforeUnmount(()=>{c&&c()})}),e.watch(()=>[t.colors,t.distortion,t.swirl,t.speed,t.scale,t.offsetX,t.offsetY,t.rotation,t.waveAmp,t.waveFreq,t.waveSpeed,t.grain],()=>{if(i!==null&&cancelAnimationFrame(i),n.value&&r){const c=r.gl;c.canvas&&n.value.contains(c.canvas)&&n.value.removeChild(c.canvas)}s()},{deep:!0}),(c,d)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"ctnDom",ref:n,class:"gradient-mesh"},null,512))}}),za=x(Da,[["__scopeId","data-v-184f753a"]]);function Ia(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5M16.5 12 12 16.5m0 0L7.5 12m4.5 4.5V3"})])}function Ta(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M19.5 13.5 12 21m0 0-7.5-7.5M12 21V3"})])}function La(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M10.5 19.5 3 12m0 0 7.5-7.5M3 12h18"})])}function Pa(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0 3.181 3.183a8.25 8.25 0 0 0 13.803-3.7M4.031 9.865a8.25 8.25 0 0 1 13.803-3.7l3.181 3.182m0-4.991v4.99"})])}function Fa(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 9V5.25A2.25 2.25 0 0 0 13.5 3h-6a2.25 2.25 0 0 0-2.25 2.25v13.5A2.25 2.25 0 0 0 7.5 21h6a2.25 2.25 0 0 0 2.25-2.25V15m3 0 3-3m0 0-3-3m3 3H9"})])}function Za(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M13.5 4.5 21 12m0 0-7.5 7.5M21 12H3"})])}function Ra(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5m-13.5-9L12 3m0 0 4.5 4.5M12 3v13.5"})])}function qa(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M4.5 10.5 12 3m0 0 7.5 7.5M12 3v18"})])}function Oa(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M9 15 3 9m0 0 6-6M3 9h12a6 6 0 0 1 0 12h-3"})])}function Ua(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M2.25 18.75a60.07 60.07 0 0 1 15.797 2.101c.727.198 1.453-.342 1.453-1.096V18.75M3.75 4.5v.75A.75.75 0 0 1 3 6h-.75m0 0v-.375c0-.621.504-1.125 1.125-1.125H20.25M2.25 6v9m18-10.5v.75c0 .414.336.75.75.75h.75m-1.5-1.5h.375c.621 0 1.125.504 1.125 1.125v9.75c0 .621-.504 1.125-1.125 1.125h-.375m1.5-1.5H21a.75.75 0 0 0-.75.75v.75m0 0H3.75m0 0h-.375a1.125 1.125 0 0 1-1.125-1.125V15m1.5 1.5v-.75A.75.75 0 0 0 3 15h-.75M15 10.5a3 3 0 1 1-6 0 3 3 0 0 1 6 0Zm3 0h.008v.008H18V10.5Zm-12 0h.008v.008H6V10.5Z"})])}function ja(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"})])}function Ha(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M14.857 17.082a23.848 23.848 0 0 0 5.454-1.31A8.967 8.967 0 0 1 18 9.75V9A6 6 0 0 0 6 9v.75a8.967 8.967 0 0 1-2.312 6.022c1.733.64 3.56 1.085 5.455 1.31m5.714 0a24.255 24.255 0 0 1-5.714 0m5.714 0a3 3 0 1 1-5.714 0"})])}function Ga(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m3.75 13.5 10.5-11.25L12 10.5h8.25L9.75 21.75 12 13.5H3.75Z"})])}function Wa(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M3.75 21h16.5M4.5 3h15M5.25 3v18m13.5-18v18M9 6.75h1.5m-1.5 3h1.5m-1.5 3h1.5m3-6H15m-1.5 3H15m-1.5 3H15M9 21v-3.375c0-.621.504-1.125 1.125-1.125h3.75c.621 0 1.125.504 1.125 1.125V21"})])}function Qa(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 15.75V18m-7.5-6.75h.008v.008H8.25v-.008Zm0 2.25h.008v.008H8.25V13.5Zm0 2.25h.008v.008H8.25v-.008Zm0 2.25h.008v.008H8.25V18Zm2.498-6.75h.007v.008h-.007v-.008Zm0 2.25h.007v.008h-.007V13.5Zm0 2.25h.007v.008h-.007v-.008Zm0 2.25h.007v.008h-.007V18Zm2.504-6.75h.008v.008h-.008v-.008Zm0 2.25h.008v.008h-.008V13.5Zm0 2.25h.008v.008h-.008v-.008Zm0 2.25h.008v.008h-.008V18Zm2.498-6.75h.008v.008h-.008v-.008Zm0 2.25h.008v.008h-.008V13.5ZM8.25 6h7.5v2.25h-7.5V6ZM12 2.25c-1.892 0-3.758.11-5.593.322C5.307 2.7 4.5 3.65 4.5 4.757V19.5a2.25 2.25 0 0 0 2.25 2.25h10.5a2.25 2.25 0 0 0 2.25-2.25V4.757c0-1.108-.806-2.057-1.907-2.185A48.507 48.507 0 0 0 12 2.25Z"})])}function Ya(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6.75 3v2.25M17.25 3v2.25M3 18.75V7.5a2.25 2.25 0 0 1 2.25-2.25h13.5A2.25 2.25 0 0 1 21 7.5v11.25m-18 0A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75m-18 0v-7.5A2.25 2.25 0 0 1 5.25 9h13.5A2.25 2.25 0 0 1 21 11.25v7.5"})])}function Ka(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M3 13.125C3 12.504 3.504 12 4.125 12h2.25c.621 0 1.125.504 1.125 1.125v6.75C7.5 20.496 6.996 21 6.375 21h-2.25A1.125 1.125 0 0 1 3 19.875v-6.75ZM9.75 8.625c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125v11.25c0 .621-.504 1.125-1.125 1.125h-2.25a1.125 1.125 0 0 1-1.125-1.125V8.625ZM16.5 4.125c0-.621.504-1.125 1.125-1.125h2.25C20.496 3 21 3.504 21 4.125v15.75c0 .621-.504 1.125-1.125 1.125h-2.25a1.125 1.125 0 0 1-1.125-1.125V4.125Z"})])}function Ja(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M10.5 6a7.5 7.5 0 1 0 7.5 7.5h-7.5V6Z"}),e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M13.5 10.5H21A7.5 7.5 0 0 0 13.5 3v7.5Z"})])}function Xa(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M20.25 8.511c.884.284 1.5 1.128 1.5 2.097v4.286c0 1.136-.847 2.1-1.98 2.193-.34.027-.68.052-1.02.072v3.091l-3-3c-1.354 0-2.694-.055-4.02-.163a2.115 2.115 0 0 1-.825-.242m9.345-8.334a2.126 2.126 0 0 0-.476-.095 48.64 48.64 0 0 0-8.048 0c-1.131.094-1.976 1.057-1.976 2.192v4.286c0 .837.46 1.58 1.155 1.951m9.345-8.334V6.637c0-1.621-1.152-3.026-2.76-3.235A48.455 48.455 0 0 0 11.25 3c-2.115 0-4.198.137-6.24.402-1.608.209-2.76 1.614-2.76 3.235v6.226c0 1.621 1.152 3.026 2.76 3.235.577.075 1.157.14 1.74.194V21l4.155-4.155"})])}function en(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"})])}function tn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m4.5 12.75 6 6 9-13.5"})])}function an(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m19.5 8.25-7.5 7.5-7.5-7.5"})])}function nn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 19.5 8.25 12l7.5-7.5"})])}function ln(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m8.25 4.5 7.5 7.5-7.5 7.5"})])}function on(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m4.5 15.75 7.5-7.5 7.5 7.5"})])}function rn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 6v6h4.5m4.5 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"})])}function sn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M9.594 3.94c.09-.542.56-.94 1.11-.94h2.593c.55 0 1.02.398 1.11.94l.213 1.281c.063.374.313.686.645.87.074.04.147.083.22.127.325.196.72.257 1.075.124l1.217-.456a1.125 1.125 0 0 1 1.37.49l1.296 2.247a1.125 1.125 0 0 1-.26 1.431l-1.003.827c-.293.241-.438.613-.43.992a7.723 7.723 0 0 1 0 .255c-.008.378.137.75.43.991l1.004.827c.424.35.534.955.26 1.43l-1.298 2.247a1.125 1.125 0 0 1-1.369.491l-1.217-.456c-.355-.133-.75-.072-1.076.124a6.47 6.47 0 0 1-.22.128c-.331.183-.581.495-.644.869l-.213 1.281c-.09.543-.56.94-1.11.94h-2.594c-.55 0-1.019-.398-1.11-.94l-.213-1.281c-.062-.374-.312-.686-.644-.87a6.52 6.52 0 0 1-.22-.127c-.325-.196-.72-.257-1.076-.124l-1.217.456a1.125 1.125 0 0 1-1.369-.49l-1.297-2.247a1.125 1.125 0 0 1 .26-1.431l1.004-.827c.292-.24.437-.613.43-.991a6.932 6.932 0 0 1 0-.255c.007-.38-.138-.751-.43-.992l-1.004-.827a1.125 1.125 0 0 1-.26-1.43l1.297-2.247a1.125 1.125 0 0 1 1.37-.491l1.216.456c.356.133.751.072 1.076-.124.072-.044.146-.086.22-.128.332-.183.582-.495.644-.869l.214-1.28Z"}),e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"})])}function cn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M10.125 2.25h-4.5c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125v-9M10.125 2.25h.375a9 9 0 0 1 9 9v.375M10.125 2.25A3.375 3.375 0 0 1 13.5 5.625v1.5c0 .621.504 1.125 1.125 1.125h1.5a3.375 3.375 0 0 1 3.375 3.375M9 15l2.25 2.25L15 12"})])}function dn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m0 12.75h7.5m-7.5 3H12M10.5 2.25H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"})])}function un(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M21.75 6.75v10.5a2.25 2.25 0 0 1-2.25 2.25h-15a2.25 2.25 0 0 1-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0 0 19.5 4.5h-15a2.25 2.25 0 0 0-2.25 2.25m19.5 0v.243a2.25 2.25 0 0 1-1.07 1.916l-7.5 4.615a2.25 2.25 0 0 1-2.36 0L3.32 8.91a2.25 2.25 0 0 1-1.07-1.916V6.75"})])}function mn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 9v3.75m9-.75a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9 3.75h.008v.008H12v-.008Z"})])}function hn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126ZM12 15.75h.007v.008H12v-.008Z"})])}function fn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M3.98 8.223A10.477 10.477 0 0 0 1.934 12C3.226 16.338 7.244 19.5 12 19.5c.993 0 1.953-.138 2.863-.395M6.228 6.228A10.451 10.451 0 0 1 12 4.5c4.756 0 8.773 3.162 10.065 7.498a10.522 10.522 0 0 1-4.293 5.774M6.228 6.228 3 3m3.228 3.228 3.65 3.65m7.894 7.894L21 21m-3.228-3.228-3.65-3.65m0 0a3 3 0 1 0-4.243-4.243m4.242 4.242L9.88 9.88"})])}function pn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M2.036 12.322a1.012 1.012 0 0 1 0-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178Z"}),e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"})])}function vn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m2.25 12 8.954-8.955c.44-.439 1.152-.439 1.591 0L21.75 12M4.5 9.75v10.125c0 .621.504 1.125 1.125 1.125H9.75v-4.875c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125V21h4.125c.621 0 1.125-.504 1.125-1.125V9.75M8.25 21h8.25"})])}function gn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15 9h3.75M15 12h3.75M15 15h3.75M4.5 19.5h15a2.25 2.25 0 0 0 2.25-2.25V6.75A2.25 2.25 0 0 0 19.5 4.5h-15a2.25 2.25 0 0 0-2.25 2.25v10.5A2.25 2.25 0 0 0 4.5 19.5Zm6-10.125a1.875 1.875 0 1 1-3.75 0 1.875 1.875 0 0 1 3.75 0Zm1.294 6.336a6.721 6.721 0 0 1-3.17.789 6.721 6.721 0 0 1-3.168-.789 3.376 3.376 0 0 1 6.338 0Z"})])}function _n(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z"})])}function kn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M8.25 6.75h12M8.25 12h12m-12 5.25h12M3.75 6.75h.007v.008H3.75V6.75Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0ZM3.75 12h.007v.008H3.75V12Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm-.375 5.25h.007v.008H3.75v-.008Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z"})])}function Vn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z"})])}function wn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M5 12h14"})])}function bn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L6.832 19.82a4.5 4.5 0 0 1-1.897 1.13l-2.685.8.8-2.685a4.5 4.5 0 0 1 1.13-1.897L16.863 4.487Zm0 0L19.5 7.125"})])}function En(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M2.25 6.75c0 8.284 6.716 15 15 15h2.25a2.25 2.25 0 0 0 2.25-2.25v-1.372c0-.516-.351-.966-.852-1.091l-4.423-1.106c-.44-.11-.902.055-1.173.417l-.97 1.293c-.282.376-.769.542-1.21.38a12.035 12.035 0 0 1-7.143-7.143c-.162-.441.004-.928.38-1.21l1.293-.97c.363-.271.527-.734.417-1.173L6.963 3.102a1.125 1.125 0 0 0-1.091-.852H4.5A2.25 2.25 0 0 0 2.25 4.5v2.25Z"})])}function yn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m2.25 15.75 5.159-5.159a2.25 2.25 0 0 1 3.182 0l5.159 5.159m-1.5-1.5 1.409-1.409a2.25 2.25 0 0 1 3.182 0l2.909 2.909m-18 3.75h16.5a1.5 1.5 0 0 0 1.5-1.5V6a1.5 1.5 0 0 0-1.5-1.5H3.75A1.5 1.5 0 0 0 2.25 6v12a1.5 1.5 0 0 0 1.5 1.5Zm10.5-11.25h.008v.008h-.008V8.25Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z"})])}function Nn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 4.5v15m7.5-7.5h-15"})])}function Ne(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M9.879 7.519c1.171-1.025 3.071-1.025 4.242 0 1.172 1.025 1.172 2.687 0 3.712-.203.179-.43.326-.67.442-.745.361-1.45.999-1.45 1.827v.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9 5.25h.008v.008H12v-.008Z"})])}function xn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M9 12.75 11.25 15 15 9.75m-3-7.036A11.959 11.959 0 0 1 3.598 6 11.99 11.99 0 0 0 3 9.749c0 5.592 3.824 10.29 9 11.623 5.176-1.332 9-6.03 9-11.622 0-1.31-.21-2.571-.598-3.751h-.152c-3.196 0-6.1-1.248-8.25-3.285Z"})])}function Bn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 9v3.75m0-10.036A11.959 11.959 0 0 1 3.598 6 11.99 11.99 0 0 0 3 9.75c0 5.592 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.31-.21-2.57-.598-3.75h-.152c-3.196 0-6.1-1.25-8.25-3.286Zm0 13.036h.008v.008H12v-.008Z"})])}function Cn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M9.813 15.904 9 18.75l-.813-2.846a4.5 4.5 0 0 0-3.09-3.09L2.25 12l2.846-.813a4.5 4.5 0 0 0 3.09-3.09L9 5.25l.813 2.846a4.5 4.5 0 0 0 3.09 3.09L15.75 12l-2.846.813a4.5 4.5 0 0 0-3.09 3.09ZM18.259 8.715 18 9.75l-.259-1.035a3.375 3.375 0 0 0-2.455-2.456L14.25 6l1.036-.259a3.375 3.375 0 0 0 2.455-2.456L18 2.25l.259 1.035a3.375 3.375 0 0 0 2.456 2.456L21.75 6l-1.035.259a3.375 3.375 0 0 0-2.456 2.456ZM16.894 20.567 16.5 21.75l-.394-1.183a2.25 2.25 0 0 0-1.423-1.423L13.5 18.75l1.183-.394a2.25 2.25 0 0 0 1.423-1.423l.394-1.183.394 1.183a2.25 2.25 0 0 0 1.423 1.423l1.183.394-1.183.394a2.25 2.25 0 0 0-1.423 1.423Z"})])}function $n(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0"})])}function An(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M17.982 18.725A7.488 7.488 0 0 0 12 15.75a7.488 7.488 0 0 0-5.982 2.975m11.963 0a9 9 0 1 0-11.963 0m11.963 0A8.966 8.966 0 0 1 12 21a8.966 8.966 0 0 1-5.982-2.275M15 9.75a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"})])}function Mn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z"})])}function Sn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 18 18 6M6 6l12 12"})])}function Dn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M12 2.25a.75.75 0 0 1 .75.75v11.69l3.22-3.22a.75.75 0 1 1 1.06 1.06l-4.5 4.5a.75.75 0 0 1-1.06 0l-4.5-4.5a.75.75 0 1 1 1.06-1.06l3.22 3.22V3a.75.75 0 0 1 .75-.75Zm-9 13.5a.75.75 0 0 1 .75.75v2.25a1.5 1.5 0 0 0 1.5 1.5h13.5a1.5 1.5 0 0 0 1.5-1.5V16.5a.75.75 0 0 1 1.5 0v2.25a3 3 0 0 1-3 3H5.25a3 3 0 0 1-3-3V16.5a.75.75 0 0 1 .75-.75Z","clip-rule":"evenodd"})])}function zn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M12 2.25a.75.75 0 0 1 .75.75v16.19l6.22-6.22a.75.75 0 1 1 1.06 1.06l-7.5 7.5a.75.75 0 0 1-1.06 0l-7.5-7.5a.75.75 0 1 1 1.06-1.06l6.22 6.22V3a.75.75 0 0 1 .75-.75Z","clip-rule":"evenodd"})])}function In(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M11.03 3.97a.75.75 0 0 1 0 1.06l-6.22 6.22H21a.75.75 0 0 1 0 1.5H4.81l6.22 6.22a.75.75 0 1 1-1.06 1.06l-7.5-7.5a.75.75 0 0 1 0-1.06l7.5-7.5a.75.75 0 0 1 1.06 0Z","clip-rule":"evenodd"})])}function Tn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M4.755 10.059a7.5 7.5 0 0 1 12.548-3.364l1.903 1.903h-3.183a.75.75 0 1 0 0 1.5h4.992a.75.75 0 0 0 .75-.75V4.356a.75.75 0 0 0-1.5 0v3.18l-1.9-1.9A9 9 0 0 0 3.306 9.67a.75.75 0 1 0 1.45.388Zm15.408 3.352a.75.75 0 0 0-.919.53 7.5 7.5 0 0 1-12.548 3.364l-1.902-1.903h3.183a.75.75 0 0 0 0-1.5H2.984a.75.75 0 0 0-.75.75v4.992a.75.75 0 0 0 1.5 0v-3.18l1.9 1.9a9 9 0 0 0 15.059-4.035.75.75 0 0 0-.53-.918Z","clip-rule":"evenodd"})])}function Ln(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M7.5 3.75A1.5 1.5 0 0 0 6 5.25v13.5a1.5 1.5 0 0 0 1.5 1.5h6a1.5 1.5 0 0 0 1.5-1.5V15a.75.75 0 0 1 1.5 0v3.75a3 3 0 0 1-3 3h-6a3 3 0 0 1-3-3V5.25a3 3 0 0 1 3-3h6a3 3 0 0 1 3 3V9A.75.75 0 0 1 15 9V5.25a1.5 1.5 0 0 0-1.5-1.5h-6Zm10.72 4.72a.75.75 0 0 1 1.06 0l3 3a.75.75 0 0 1 0 1.06l-3 3a.75.75 0 1 1-1.06-1.06l1.72-1.72H9a.75.75 0 0 1 0-1.5h10.94l-1.72-1.72a.75.75 0 0 1 0-1.06Z","clip-rule":"evenodd"})])}function Pn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M12.97 3.97a.75.75 0 0 1 1.06 0l7.5 7.5a.75.75 0 0 1 0 1.06l-7.5 7.5a.75.75 0 1 1-1.06-1.06l6.22-6.22H3a.75.75 0 0 1 0-1.5h16.19l-6.22-6.22a.75.75 0 0 1 0-1.06Z","clip-rule":"evenodd"})])}function Fn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M11.47 2.47a.75.75 0 0 1 1.06 0l4.5 4.5a.75.75 0 0 1-1.06 1.06l-3.22-3.22V16.5a.75.75 0 0 1-1.5 0V4.81L8.03 8.03a.75.75 0 0 1-1.06-1.06l4.5-4.5ZM3 15.75a.75.75 0 0 1 .75.75v2.25a1.5 1.5 0 0 0 1.5 1.5h13.5a1.5 1.5 0 0 0 1.5-1.5V16.5a.75.75 0 0 1 1.5 0v2.25a3 3 0 0 1-3 3H5.25a3 3 0 0 1-3-3V16.5a.75.75 0 0 1 .75-.75Z","clip-rule":"evenodd"})])}function Zn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M11.47 2.47a.75.75 0 0 1 1.06 0l7.5 7.5a.75.75 0 1 1-1.06 1.06l-6.22-6.22V21a.75.75 0 0 1-1.5 0V4.81l-6.22 6.22a.75.75 0 1 1-1.06-1.06l7.5-7.5Z","clip-rule":"evenodd"})])}function Rn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M9.53 2.47a.75.75 0 0 1 0 1.06L4.81 8.25H15a6.75 6.75 0 0 1 0 13.5h-3a.75.75 0 0 1 0-1.5h3a5.25 5.25 0 1 0 0-10.5H4.81l4.72 4.72a.75.75 0 1 1-1.06 1.06l-6-6a.75.75 0 0 1 0-1.06l6-6a.75.75 0 0 1 1.06 0Z","clip-rule":"evenodd"})])}function qn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{d:"M12 7.5a2.25 2.25 0 1 0 0 4.5 2.25 2.25 0 0 0 0-4.5Z"}),e.createElementVNode("path",{"fill-rule":"evenodd",d:"M1.5 4.875C1.5 3.839 2.34 3 3.375 3h17.25c1.035 0 1.875.84 1.875 1.875v9.75c0 1.036-.84 1.875-1.875 1.875H3.375A1.875 1.875 0 0 1 1.5 14.625v-9.75ZM8.25 9.75a3.75 3.75 0 1 1 7.5 0 3.75 3.75 0 0 1-7.5 0ZM18.75 9a.75.75 0 0 0-.75.75v.008c0 .414.336.75.75.75h.008a.75.75 0 0 0 .75-.75V9.75a.75.75 0 0 0-.75-.75h-.008ZM4.5 9.75A.75.75 0 0 1 5.25 9h.008a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75H5.25a.75.75 0 0 1-.75-.75V9.75Z","clip-rule":"evenodd"}),e.createElementVNode("path",{d:"M2.25 18a.75.75 0 0 0 0 1.5c5.4 0 10.63.722 15.6 2.075 1.19.324 2.4-.558 2.4-1.82V18.75a.75.75 0 0 0-.75-.75H2.25Z"})])}function On(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M3 6.75A.75.75 0 0 1 3.75 6h16.5a.75.75 0 0 1 0 1.5H3.75A.75.75 0 0 1 3 6.75ZM3 12a.75.75 0 0 1 .75-.75h16.5a.75.75 0 0 1 0 1.5H3.75A.75.75 0 0 1 3 12Zm0 5.25a.75.75 0 0 1 .75-.75h16.5a.75.75 0 0 1 0 1.5H3.75a.75.75 0 0 1-.75-.75Z","clip-rule":"evenodd"})])}function Un(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M5.25 9a6.75 6.75 0 0 1 13.5 0v.75c0 2.123.8 4.057 2.118 5.52a.75.75 0 0 1-.297 1.206c-1.544.57-3.16.99-4.831 1.243a3.75 3.75 0 1 1-7.48 0 24.585 24.585 0 0 1-4.831-1.244.75.75 0 0 1-.298-1.205A8.217 8.217 0 0 0 5.25 9.75V9Zm4.502 8.9a2.25 2.25 0 1 0 4.496 0 25.057 25.057 0 0 1-4.496 0Z","clip-rule":"evenodd"})])}function jn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M14.615 1.595a.75.75 0 0 1 .359.852L12.982 9.75h7.268a.75.75 0 0 1 .548 1.262l-10.5 11.25a.75.75 0 0 1-1.272-.71l1.992-7.302H3.75a.75.75 0 0 1-.548-1.262l10.5-11.25a.75.75 0 0 1 .913-.143Z","clip-rule":"evenodd"})])}function Hn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M4.5 2.25a.75.75 0 0 0 0 1.5v16.5h-.75a.75.75 0 0 0 0 1.5h16.5a.75.75 0 0 0 0-1.5h-.75V3.75a.75.75 0 0 0 0-1.5h-15ZM9 6a.75.75 0 0 0 0 1.5h1.5a.75.75 0 0 0 0-1.5H9Zm-.75 3.75A.75.75 0 0 1 9 9h1.5a.75.75 0 0 1 0 1.5H9a.75.75 0 0 1-.75-.75ZM9 12a.75.75 0 0 0 0 1.5h1.5a.75.75 0 0 0 0-1.5H9Zm3.75-5.25A.75.75 0 0 1 13.5 6H15a.75.75 0 0 1 0 1.5h-1.5a.75.75 0 0 1-.75-.75ZM13.5 9a.75.75 0 0 0 0 1.5H15A.75.75 0 0 0 15 9h-1.5Zm-.75 3.75a.75.75 0 0 1 .75-.75H15a.75.75 0 0 1 0 1.5h-1.5a.75.75 0 0 1-.75-.75ZM9 19.5v-2.25a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 .75.75v2.25a.75.75 0 0 1-.75.75h-4.5A.75.75 0 0 1 9 19.5Z","clip-rule":"evenodd"})])}function Gn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M6.32 1.827a49.255 49.255 0 0 1 11.36 0c1.497.174 2.57 1.46 2.57 2.93V19.5a3 3 0 0 1-3 3H6.75a3 3 0 0 1-3-3V4.757c0-1.47 1.073-2.756 2.57-2.93ZM7.5 11.25a.75.75 0 0 1 .75-.75h.008a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75H8.25a.75.75 0 0 1-.75-.75v-.008Zm.75 1.5a.75.75 0 0 0-.75.75v.008c0 .414.336.75.75.75h.008a.75.75 0 0 0 .75-.75V13.5a.75.75 0 0 0-.75-.75H8.25Zm-.75 3a.75.75 0 0 1 .75-.75h.008a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75H8.25a.75.75 0 0 1-.75-.75v-.008Zm.75 1.5a.75.75 0 0 0-.75.75v.008c0 .414.336.75.75.75h.008a.75.75 0 0 0 .75-.75V18a.75.75 0 0 0-.75-.75H8.25Zm1.748-6a.75.75 0 0 1 .75-.75h.007a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75h-.007a.75.75 0 0 1-.75-.75v-.008Zm.75 1.5a.75.75 0 0 0-.75.75v.008c0 .414.335.75.75.75h.007a.75.75 0 0 0 .75-.75V13.5a.75.75 0 0 0-.75-.75h-.007Zm-.75 3a.75.75 0 0 1 .75-.75h.007a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75h-.007a.75.75 0 0 1-.75-.75v-.008Zm.75 1.5a.75.75 0 0 0-.75.75v.008c0 .414.335.75.75.75h.007a.75.75 0 0 0 .75-.75V18a.75.75 0 0 0-.75-.75h-.007Zm1.754-6a.75.75 0 0 1 .75-.75h.008a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75h-.008a.75.75 0 0 1-.75-.75v-.008Zm.75 1.5a.75.75 0 0 0-.75.75v.008c0 .414.336.75.75.75h.008a.75.75 0 0 0 .75-.75V13.5a.75.75 0 0 0-.75-.75h-.008Zm-.75 3a.75.75 0 0 1 .75-.75h.008a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75h-.008a.75.75 0 0 1-.75-.75v-.008Zm.75 1.5a.75.75 0 0 0-.75.75v.008c0 .414.336.75.75.75h.008a.75.75 0 0 0 .75-.75V18a.75.75 0 0 0-.75-.75h-.008Zm1.748-6a.75.75 0 0 1 .75-.75h.008a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75h-.008a.75.75 0 0 1-.75-.75v-.008Zm.75 1.5a.75.75 0 0 0-.75.75v.008c0 .414.336.75.75.75h.008a.75.75 0 0 0 .75-.75V13.5a.75.75 0 0 0-.75-.75h-.008Zm-8.25-6A.75.75 0 0 1 8.25 6h7.5a.75.75 0 0 1 .75.75v.75a.75.75 0 0 1-.75.75h-7.5a.75.75 0 0 1-.75-.75v-.75Zm9 9a.75.75 0 0 0-1.5 0V18a.75.75 0 0 0 1.5 0v-2.25Z","clip-rule":"evenodd"})])}function Wn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M6.75 2.25A.75.75 0 0 1 7.5 3v1.5h9V3A.75.75 0 0 1 18 3v1.5h.75a3 3 0 0 1 3 3v11.25a3 3 0 0 1-3 3H5.25a3 3 0 0 1-3-3V7.5a3 3 0 0 1 3-3H6V3a.75.75 0 0 1 .75-.75Zm13.5 9a1.5 1.5 0 0 0-1.5-1.5H5.25a1.5 1.5 0 0 0-1.5 1.5v7.5a1.5 1.5 0 0 0 1.5 1.5h13.5a1.5 1.5 0 0 0 1.5-1.5v-7.5Z","clip-rule":"evenodd"})])}function Qn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{d:"M18.375 2.25c-1.035 0-1.875.84-1.875 1.875v15.75c0 1.035.84 1.875 1.875 1.875h.75c1.035 0 1.875-.84 1.875-1.875V4.125c0-1.036-.84-1.875-1.875-1.875h-.75ZM9.75 8.625c0-1.036.84-1.875 1.875-1.875h.75c1.036 0 1.875.84 1.875 1.875v11.25c0 1.035-.84 1.875-1.875 1.875h-.75a1.875 1.875 0 0 1-1.875-1.875V8.625ZM3 13.125c0-1.036.84-1.875 1.875-1.875h.75c1.036 0 1.875.84 1.875 1.875v6.75c0 1.035-.84 1.875-1.875 1.875h-.75A1.875 1.875 0 0 1 3 19.875v-6.75Z"})])}function Yn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M2.25 13.5a8.25 8.25 0 0 1 8.25-8.25.75.75 0 0 1 .75.75v6.75H18a.75.75 0 0 1 .75.75 8.25 8.25 0 0 1-16.5 0Z","clip-rule":"evenodd"}),e.createElementVNode("path",{"fill-rule":"evenodd",d:"M12.75 3a.75.75 0 0 1 .75-.75 8.25 8.25 0 0 1 8.25 8.25.75.75 0 0 1-.75.75h-7.5a.75.75 0 0 1-.75-.75V3Z","clip-rule":"evenodd"})])}function Kn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{d:"M4.913 2.658c2.075-.27 4.19-.408 6.337-.408 2.147 0 4.262.139 6.337.408 1.922.25 3.291 1.861 3.405 3.727a4.403 4.403 0 0 0-1.032-.211 50.89 50.89 0 0 0-8.42 0c-2.358.196-4.04 2.19-4.04 4.434v4.286a4.47 4.47 0 0 0 2.433 3.984L7.28 21.53A.75.75 0 0 1 6 21v-4.03a48.527 48.527 0 0 1-1.087-.128C2.905 16.58 1.5 14.833 1.5 12.862V6.638c0-1.97 1.405-3.718 3.413-3.979Z"}),e.createElementVNode("path",{d:"M15.75 7.5c-1.376 0-2.739.057-4.086.169C10.124 7.797 9 9.103 9 10.609v4.285c0 1.507 1.128 2.814 2.67 2.94 1.243.102 2.5.157 3.768.165l2.782 2.781a.75.75 0 0 0 1.28-.53v-2.39l.33-.026c1.542-.125 2.67-1.433 2.67-2.94v-4.286c0-1.505-1.125-2.811-2.664-2.94A49.392 49.392 0 0 0 15.75 7.5Z"})])}function Jn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12Zm13.36-1.814a.75.75 0 1 0-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 0 0-1.06 1.06l2.25 2.25a.75.75 0 0 0 1.14-.094l3.75-5.25Z","clip-rule":"evenodd"})])}function Xn(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M19.916 4.626a.75.75 0 0 1 .208 1.04l-9 13.5a.75.75 0 0 1-1.154.114l-6-6a.75.75 0 0 1 1.06-1.06l5.353 5.353 8.493-12.74a.75.75 0 0 1 1.04-.207Z","clip-rule":"evenodd"})])}function el(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M12.53 16.28a.75.75 0 0 1-1.06 0l-7.5-7.5a.75.75 0 0 1 1.06-1.06L12 14.69l6.97-6.97a.75.75 0 1 1 1.06 1.06l-7.5 7.5Z","clip-rule":"evenodd"})])}function tl(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M7.72 12.53a.75.75 0 0 1 0-1.06l7.5-7.5a.75.75 0 1 1 1.06 1.06L9.31 12l6.97 6.97a.75.75 0 1 1-1.06 1.06l-7.5-7.5Z","clip-rule":"evenodd"})])}function al(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M16.28 11.47a.75.75 0 0 1 0 1.06l-7.5 7.5a.75.75 0 0 1-1.06-1.06L14.69 12 7.72 5.03a.75.75 0 0 1 1.06-1.06l7.5 7.5Z","clip-rule":"evenodd"})])}function nl(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M11.47 7.72a.75.75 0 0 1 1.06 0l7.5 7.5a.75.75 0 1 1-1.06 1.06L12 9.31l-6.97 6.97a.75.75 0 0 1-1.06-1.06l7.5-7.5Z","clip-rule":"evenodd"})])}function ll(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25ZM12.75 6a.75.75 0 0 0-1.5 0v6c0 .414.336.75.75.75h4.5a.75.75 0 0 0 0-1.5h-3.75V6Z","clip-rule":"evenodd"})])}function ol(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M11.078 2.25c-.917 0-1.699.663-1.85 1.567L9.05 4.889c-.02.12-.115.26-.297.348a7.493 7.493 0 0 0-.986.57c-.166.115-.334.126-.45.083L6.3 5.508a1.875 1.875 0 0 0-2.282.819l-.922 1.597a1.875 1.875 0 0 0 .432 2.385l.84.692c.095.078.17.229.154.43a7.598 7.598 0 0 0 0 1.139c.015.2-.059.352-.153.43l-.841.692a1.875 1.875 0 0 0-.432 2.385l.922 1.597a1.875 1.875 0 0 0 2.282.818l1.019-.382c.115-.043.283-.031.45.082.312.214.641.405.985.57.182.088.277.228.297.35l.178 1.071c.151.904.933 1.567 1.85 1.567h1.844c.916 0 1.699-.663 1.85-1.567l.178-1.072c.02-.12.114-.26.297-.349.344-.165.673-.356.985-.57.167-.114.335-.125.45-.082l1.02.382a1.875 1.875 0 0 0 2.28-.819l.923-1.597a1.875 1.875 0 0 0-.432-2.385l-.84-.692c-.095-.078-.17-.229-.154-.43a7.614 7.614 0 0 0 0-1.139c-.016-.2.059-.352.153-.43l.84-.692c.708-.582.891-1.59.433-2.385l-.922-1.597a1.875 1.875 0 0 0-2.282-.818l-1.02.382c-.114.043-.282.031-.449-.083a7.49 7.49 0 0 0-.985-.57c-.183-.087-.277-.227-.297-.348l-.179-1.072a1.875 1.875 0 0 0-1.85-1.567h-1.843ZM12 15.75a3.75 3.75 0 1 0 0-7.5 3.75 3.75 0 0 0 0 7.5Z","clip-rule":"evenodd"})])}function rl(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M9 1.5H5.625c-1.036 0-1.875.84-1.875 1.875v17.25c0 1.035.84 1.875 1.875 1.875h12.75c1.035 0 1.875-.84 1.875-1.875V12.75A3.75 3.75 0 0 0 16.5 9h-1.875a1.875 1.875 0 0 1-1.875-1.875V5.25A3.75 3.75 0 0 0 9 1.5Zm6.61 10.936a.75.75 0 1 0-1.22-.872l-3.236 4.53L9.53 14.47a.75.75 0 0 0-1.06 1.06l2.25 2.25a.75.75 0 0 0 1.14-.094l3.75-5.25Z","clip-rule":"evenodd"}),e.createElementVNode("path",{d:"M12.971 1.816A5.23 5.23 0 0 1 14.25 5.25v1.875c0 .207.168.375.375.375H16.5a5.23 5.23 0 0 1 3.434 1.279 9.768 9.768 0 0 0-6.963-6.963Z"})])}function il(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M5.625 1.5c-1.036 0-1.875.84-1.875 1.875v17.25c0 1.035.84 1.875 1.875 1.875h12.75c1.035 0 1.875-.84 1.875-1.875V12.75A3.75 3.75 0 0 0 16.5 9h-1.875a1.875 1.875 0 0 1-1.875-1.875V5.25A3.75 3.75 0 0 0 9 1.5H5.625ZM7.5 15a.75.75 0 0 1 .75-.75h7.5a.75.75 0 0 1 0 1.5h-7.5A.75.75 0 0 1 7.5 15Zm.75 2.25a.75.75 0 0 0 0 1.5H12a.75.75 0 0 0 0-1.5H8.25Z","clip-rule":"evenodd"}),e.createElementVNode("path",{d:"M12.971 1.816A5.23 5.23 0 0 1 14.25 5.25v1.875c0 .207.168.375.375.375H16.5a5.23 5.23 0 0 1 3.434 1.279 9.768 9.768 0 0 0-6.963-6.963Z"})])}function sl(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{d:"M1.5 8.67v8.58a3 3 0 0 0 3 3h15a3 3 0 0 0 3-3V8.67l-8.928 5.493a3 3 0 0 1-3.144 0L1.5 8.67Z"}),e.createElementVNode("path",{d:"M22.5 6.908V6.75a3 3 0 0 0-3-3h-15a3 3 0 0 0-3 3v.158l9.714 5.978a1.5 1.5 0 0 0 1.572 0L22.5 6.908Z"})])}function cl(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12ZM12 8.25a.75.75 0 0 1 .75.75v3.75a.75.75 0 0 1-1.5 0V9a.75.75 0 0 1 .75-.75Zm0 8.25a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z","clip-rule":"evenodd"})])}function dl(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003ZM12 8.25a.75.75 0 0 1 .75.75v3.75a.75.75 0 0 1-1.5 0V9a.75.75 0 0 1 .75-.75Zm0 8.25a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z","clip-rule":"evenodd"})])}function ul(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{d:"M3.53 2.47a.75.75 0 0 0-1.06 1.06l18 18a.75.75 0 1 0 1.06-1.06l-18-18ZM22.676 12.553a11.249 11.249 0 0 1-2.631 4.31l-3.099-3.099a5.25 5.25 0 0 0-6.71-6.71L7.759 4.577a11.217 11.217 0 0 1 4.242-.827c4.97 0 9.185 3.223 10.675 7.69.12.362.12.752 0 1.113Z"}),e.createElementVNode("path",{d:"M15.75 12c0 .18-.013.357-.037.53l-4.244-4.243A3.75 3.75 0 0 1 15.75 12ZM12.53 15.713l-4.243-4.244a3.75 3.75 0 0 0 4.244 4.243Z"}),e.createElementVNode("path",{d:"M6.75 12c0-.619.107-1.213.304-1.764l-3.1-3.1a11.25 11.25 0 0 0-2.63 4.31c-.12.362-.12.752 0 1.114 1.489 4.467 5.704 7.69 10.675 7.69 1.5 0 2.933-.294 4.242-.827l-2.477-2.477A5.25 5.25 0 0 1 6.75 12Z"})])}function ml(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{d:"M12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z"}),e.createElementVNode("path",{"fill-rule":"evenodd",d:"M1.323 11.447C2.811 6.976 7.028 3.75 12.001 3.75c4.97 0 9.185 3.223 10.675 7.69.12.362.12.752 0 1.113-1.487 4.471-5.705 7.697-10.677 7.697-4.97 0-9.186-3.223-10.675-7.69a1.762 1.762 0 0 1 0-1.113ZM17.25 12a5.25 5.25 0 1 1-10.5 0 5.25 5.25 0 0 1 10.5 0Z","clip-rule":"evenodd"})])}function hl(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{d:"M11.47 3.841a.75.75 0 0 1 1.06 0l8.69 8.69a.75.75 0 1 0 1.06-1.061l-8.689-8.69a2.25 2.25 0 0 0-3.182 0l-8.69 8.69a.75.75 0 1 0 1.061 1.06l8.69-8.689Z"}),e.createElementVNode("path",{d:"m12 5.432 8.159 8.159c.03.03.06.058.091.086v6.198c0 1.035-.84 1.875-1.875 1.875H15a.75.75 0 0 1-.75-.75v-4.5a.75.75 0 0 0-.75-.75h-3a.75.75 0 0 0-.75.75V21a.75.75 0 0 1-.75.75H5.625a1.875 1.875 0 0 1-1.875-1.875v-6.198a2.29 2.29 0 0 0 .091-.086L12 5.432Z"})])}function fl(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M4.5 3.75a3 3 0 0 0-3 3v10.5a3 3 0 0 0 3 3h15a3 3 0 0 0 3-3V6.75a3 3 0 0 0-3-3h-15Zm4.125 3a2.25 2.25 0 1 0 0 4.5 2.25 2.25 0 0 0 0-4.5Zm-3.873 8.703a4.126 4.126 0 0 1 7.746 0 .75.75 0 0 1-.351.92 7.47 7.47 0 0 1-3.522.877 7.47 7.47 0 0 1-3.522-.877.75.75 0 0 1-.351-.92ZM15 8.25a.75.75 0 0 0 0 1.5h3.75a.75.75 0 0 0 0-1.5H15ZM14.25 12a.75.75 0 0 1 .75-.75h3.75a.75.75 0 0 1 0 1.5H15a.75.75 0 0 1-.75-.75Zm.75 2.25a.75.75 0 0 0 0 1.5h3.75a.75.75 0 0 0 0-1.5H15Z","clip-rule":"evenodd"})])}function pl(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12Zm8.706-1.442c1.146-.573 2.437.463 2.126 1.706l-.709 2.836.042-.02a.75.75 0 0 1 .67 1.34l-.04.022c-1.147.573-2.438-.463-2.127-1.706l.71-2.836-.042.02a.75.75 0 1 1-.671-1.34l.041-.022ZM12 9a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z","clip-rule":"evenodd"})])}function vl(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M2.625 6.75a1.125 1.125 0 1 1 2.25 0 1.125 1.125 0 0 1-2.25 0Zm4.875 0A.75.75 0 0 1 8.25 6h12a.75.75 0 0 1 0 1.5h-12a.75.75 0 0 1-.75-.75ZM2.625 12a1.125 1.125 0 1 1 2.25 0 1.125 1.125 0 0 1-2.25 0ZM7.5 12a.75.75 0 0 1 .75-.75h12a.75.75 0 0 1 0 1.5h-12A.75.75 0 0 1 7.5 12Zm-4.875 5.25a1.125 1.125 0 1 1 2.25 0 1.125 1.125 0 0 1-2.25 0Zm4.875 0a.75.75 0 0 1 .75-.75h12a.75.75 0 0 1 0 1.5h-12a.75.75 0 0 1-.75-.75Z","clip-rule":"evenodd"})])}function gl(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M10.5 3.75a6.75 6.75 0 1 0 0 13.5 6.75 6.75 0 0 0 0-13.5ZM2.25 10.5a8.25 8.25 0 1 1 14.59 5.28l4.69 4.69a.75.75 0 1 1-1.06 1.06l-4.69-4.69A8.25 8.25 0 0 1 2.25 10.5Z","clip-rule":"evenodd"})])}function _l(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M4.25 12a.75.75 0 0 1 .75-.75h14a.75.75 0 0 1 0 1.5H5a.75.75 0 0 1-.75-.75Z","clip-rule":"evenodd"})])}function kl(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{d:"M21.731 2.269a2.625 2.625 0 0 0-3.712 0l-1.157 1.157 3.712 3.712 1.157-1.157a2.625 2.625 0 0 0 0-3.712ZM19.513 8.199l-3.712-3.712-12.15 12.15a5.25 5.25 0 0 0-1.32 2.214l-.8 2.685a.75.75 0 0 0 .933.933l2.685-.8a5.25 5.25 0 0 0 2.214-1.32L19.513 8.2Z"})])}function Vl(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M1.5 4.5a3 3 0 0 1 3-3h1.372c.86 0 1.61.586 1.819 1.42l1.105 4.423a1.875 1.875 0 0 1-.694 1.955l-1.293.97c-.135.101-.164.249-.126.352a11.285 11.285 0 0 0 6.697 6.697c.103.038.25.009.352-.126l.97-1.293a1.875 1.875 0 0 1 1.955-.694l4.423 1.105c.834.209 1.42.959 1.42 1.82V19.5a3 3 0 0 1-3 3h-2.25C8.552 22.5 1.5 15.448 1.5 6.75V4.5Z","clip-rule":"evenodd"})])}function wl(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M1.5 6a2.25 2.25 0 0 1 2.25-2.25h16.5A2.25 2.25 0 0 1 22.5 6v12a2.25 2.25 0 0 1-2.25 2.25H3.75A2.25 2.25 0 0 1 1.5 18V6ZM3 16.06V18c0 .414.336.75.75.75h16.5A.75.75 0 0 0 21 18v-1.94l-2.69-2.689a1.5 1.5 0 0 0-2.12 0l-.88.879.97.97a.75.75 0 1 1-1.06 1.06l-5.16-5.159a1.5 1.5 0 0 0-2.12 0L3 16.061Zm10.125-7.81a1.125 1.125 0 1 1 2.25 0 1.125 1.125 0 0 1-2.25 0Z","clip-rule":"evenodd"})])}function bl(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M12 3.75a.75.75 0 0 1 .75.75v6.75h6.75a.75.75 0 0 1 0 1.5h-6.75v6.75a.75.75 0 0 1-1.5 0v-6.75H4.5a.75.75 0 0 1 0-1.5h6.75V4.5a.75.75 0 0 1 .75-.75Z","clip-rule":"evenodd"})])}function xe(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12Zm11.378-3.917c-.89-.777-2.366-.777-3.255 0a.75.75 0 0 1-.988-1.129c1.454-1.272 3.776-1.272 5.23 0 1.513 1.324 1.513 3.518 0 4.842a3.75 3.75 0 0 1-.837.552c-.676.328-1.028.774-1.028 1.152v.75a.75.75 0 0 1-1.5 0v-.75c0-1.279 1.06-2.107 1.875-2.502.182-.088.351-.199.503-.331.83-.727.83-1.857 0-2.584ZM12 18a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z","clip-rule":"evenodd"})])}function El(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M12.516 2.17a.75.75 0 0 0-1.032 0 11.209 11.209 0 0 1-7.877 3.08.75.75 0 0 0-.722.515A12.74 12.74 0 0 0 2.25 9.75c0 5.942 4.064 10.933 9.563 12.348a.749.749 0 0 0 .374 0c5.499-1.415 9.563-6.406 9.563-12.348 0-1.39-.223-2.73-.635-3.985a.75.75 0 0 0-.722-.516l-.143.001c-2.996 0-5.717-1.17-7.734-3.08Zm3.094 8.016a.75.75 0 1 0-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 0 0-1.06 1.06l2.25 2.25a.75.75 0 0 0 1.14-.094l3.75-5.25Z","clip-rule":"evenodd"})])}function yl(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M11.484 2.17a.75.75 0 0 1 1.032 0 11.209 11.209 0 0 0 7.877 3.08.75.75 0 0 1 .722.515 12.74 12.74 0 0 1 .635 3.985c0 5.942-4.064 10.933-9.563 12.348a.749.749 0 0 1-.374 0C6.314 20.683 2.25 15.692 2.25 9.75c0-1.39.223-2.73.635-3.985a.75.75 0 0 1 .722-.516l.143.001c2.996 0 5.718-1.17 7.734-3.08ZM12 8.25a.75.75 0 0 1 .75.75v3.75a.75.75 0 0 1-1.5 0V9a.75.75 0 0 1 .75-.75ZM12 15a.75.75 0 0 0-.75.75v.008c0 .414.336.75.75.75h.008a.75.75 0 0 0 .75-.75v-.008a.75.75 0 0 0-.75-.75H12Z","clip-rule":"evenodd"})])}function Nl(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M9 4.5a.75.75 0 0 1 .721.544l.813 2.846a3.75 3.75 0 0 0 2.576 2.576l2.846.813a.75.75 0 0 1 0 1.442l-2.846.813a3.75 3.75 0 0 0-2.576 2.576l-.813 2.846a.75.75 0 0 1-1.442 0l-.813-2.846a3.75 3.75 0 0 0-2.576-2.576l-2.846-.813a.75.75 0 0 1 0-1.442l2.846-.813A3.75 3.75 0 0 0 7.466 7.89l.813-2.846A.75.75 0 0 1 9 4.5ZM18 1.5a.75.75 0 0 1 .728.568l.258 1.036c.236.94.97 1.674 1.91 1.91l1.036.258a.75.75 0 0 1 0 1.456l-1.036.258c-.94.236-1.674.97-1.91 1.91l-.258 1.036a.75.75 0 0 1-1.456 0l-.258-1.036a2.625 2.625 0 0 0-1.91-1.91l-1.036-.258a.75.75 0 0 1 0-1.456l1.036-.258a2.625 2.625 0 0 0 1.91-1.91l.258-1.036A.75.75 0 0 1 18 1.5ZM16.5 15a.75.75 0 0 1 .712.513l.394 1.183c.15.447.5.799.948.948l1.183.395a.75.75 0 0 1 0 1.422l-1.183.395c-.447.15-.799.5-.948.948l-.395 1.183a.75.75 0 0 1-1.422 0l-.395-1.183a1.5 1.5 0 0 0-.948-.948l-1.183-.395a.75.75 0 0 1 0-1.422l1.183-.395c.447-.15.799-.5.948-.948l.395-1.183A.75.75 0 0 1 16.5 15Z","clip-rule":"evenodd"})])}function xl(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M16.5 4.478v.227a48.816 48.816 0 0 1 3.878.512.75.75 0 1 1-.256 1.478l-.209-.035-1.005 13.07a3 3 0 0 1-2.991 2.77H8.084a3 3 0 0 1-2.991-2.77L4.087 6.66l-.209.035a.75.75 0 0 1-.256-1.478A48.567 48.567 0 0 1 7.5 4.705v-.227c0-1.564 1.213-2.9 2.816-2.951a52.662 52.662 0 0 1 3.369 0c1.603.051 2.815 1.387 2.815 2.951Zm-6.136-1.452a51.196 51.196 0 0 1 3.273 0C14.39 3.05 15 3.684 15 4.478v.113a49.488 49.488 0 0 0-6 0v-.113c0-.794.609-1.428 1.364-1.452Zm-.355 5.945a.75.75 0 1 0-1.5.058l.347 9a.75.75 0 1 0 1.499-.058l-.346-9Zm5.48.058a.75.75 0 1 0-1.498-.058l-.347 9a.75.75 0 0 0 1.5.058l.345-9Z","clip-rule":"evenodd"})])}function Bl(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M18.685 19.097A9.723 9.723 0 0 0 21.75 12c0-5.385-4.365-9.75-9.75-9.75S2.25 6.615 2.25 12a9.723 9.723 0 0 0 3.065 7.097A9.716 9.716 0 0 0 12 21.75a9.716 9.716 0 0 0 6.685-2.653Zm-12.54-1.285A7.486 7.486 0 0 1 12 15a7.486 7.486 0 0 1 5.855 2.812A8.224 8.224 0 0 1 12 20.25a8.224 8.224 0 0 1-5.855-2.438ZM15.75 9a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0Z","clip-rule":"evenodd"})])}function Cl(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M7.5 6a4.5 4.5 0 1 1 9 0 4.5 4.5 0 0 1-9 0ZM3.751 20.105a8.25 8.25 0 0 1 16.498 0 .75.75 0 0 1-.437.695A18.683 18.683 0 0 1 12 22.5c-2.786 0-5.433-.608-7.812-1.7a.75.75 0 0 1-.437-.695Z","clip-rule":"evenodd"})])}function $l(a,t){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"fill-rule":"evenodd",d:"M5.47 5.47a.75.75 0 0 1 1.06 0L12 10.94l5.47-5.47a.75.75 0 1 1 1.06 1.06L13.06 12l5.47 5.47a.75.75 0 1 1-1.06 1.06L12 13.06l-5.47 5.47a.75.75 0 0 1-1.06-1.06L10.94 12 5.47 6.53a.75.75 0 0 1 0-1.06Z","clip-rule":"evenodd"})])}const Al=["aria-label"],Ml=e.defineComponent({__name:"Icon",props:{name:{},size:{default:"md"},variant:{default:"outline"},color:{},ariaLabel:{},decorative:{type:Boolean,default:!0}},setup(a){const t=a,n={search:"magnifying-glass","alert-circle":"exclamation-circle","alert-triangle":"exclamation-triangle",info:"information-circle","eye-off":"eye-slash","file-check":"document-check","pie-chart":"chart-pie","bar-chart-2":"chart-bar",banknote:"banknotes",loader:"arrow-path","refresh-cw":"arrow-path","rotate-ccw":"arrow-uturn-left",upload:"arrow-up-tray",download:"arrow-down-tray",menu:"bars-3",logout:"arrow-right-on-rectangle","x-mark":"x",photograph:"photo"},l={home:{outline:vn,solid:hl},user:{outline:Mn,solid:Cl},"user-circle":{outline:An,solid:Bl},"chevron-down":{outline:an,solid:el},"chevron-right":{outline:ln,solid:al},"chevron-left":{outline:nn,solid:tl},"chevron-up":{outline:on,solid:nl},x:{outline:Sn,solid:$l},check:{outline:tn,solid:Xn},"exclamation-circle":{outline:mn,solid:cl},"exclamation-triangle":{outline:hn,solid:dl},"check-circle":{outline:en,solid:Jn},"information-circle":{outline:_n,solid:pl},"arrow-left":{outline:La,solid:In},"arrow-right":{outline:Za,solid:Pn},"arrow-up":{outline:qa,solid:Zn},"arrow-down":{outline:Ta,solid:zn},"arrow-path":{outline:Pa,solid:Tn},"arrow-uturn-left":{outline:Oa,solid:Rn},"magnifying-glass":{outline:Vn,solid:gl},cog:{outline:sn,solid:ol},bell:{outline:Ha,solid:Un},"question-mark-circle":{outline:Ne,solid:xe},bolt:{outline:Ga,solid:jn},"document-text":{outline:dn,solid:il},"document-check":{outline:cn,solid:rl},"list-bullet":{outline:kn,solid:vl},"chat-bubble-left-right":{outline:Xa,solid:Kn},sparkles:{outline:Cn,solid:Nl},banknotes:{outline:Ua,solid:qn},"chart-pie":{outline:Ja,solid:Yn},"chart-bar":{outline:Ka,solid:Qn},eye:{outline:pn,solid:ml},"eye-slash":{outline:fn,solid:ul},"shield-check":{outline:xn,solid:El},clock:{outline:rn,solid:ll},calendar:{outline:Ya,solid:Wn},calculator:{outline:Qa,solid:Gn},identification:{outline:gn,solid:fl},"arrow-up-tray":{outline:Ra,solid:Fn},trash:{outline:$n,solid:xl},"bars-3":{outline:ja,solid:On},"arrow-right-on-rectangle":{outline:Fa,solid:Ln},pencil:{outline:bn,solid:kl},phone:{outline:En,solid:Vl},envelope:{outline:un,solid:sl},"building-office":{outline:Wa,solid:Hn},minus:{outline:wn,solid:_l},plus:{outline:Nn,solid:bl},photo:{outline:yn,solid:wl},"shield-exclamation":{outline:Bn,solid:yl},"arrow-down-tray":{outline:Ia,solid:Dn}},o=e.computed(()=>{const h=t.name;return n[h]||h}),i=e.computed(()=>{const h=l[o.value];return h?t.variant==="outline"?h.outline:h.solid:(console.warn(`[Icon.vue] Ícone "${t.name}" não encontrado. Usando fallback.`),t.variant==="outline"?Ne:xe)}),r=e.computed(()=>!t.decorative&&!!t.ariaLabel),s=e.computed(()=>["xs","sm","md","lg","xl"].includes(t.size)),c=e.computed(()=>{const h=["icon"];return s.value&&h.push(`icon--${t.size}`),t.color&&h.push(t.color),h}),d=e.computed(()=>{if(s.value)return{};const h=typeof t.size=="number"?`${t.size}px`:t.size;return{width:h,height:h}});return(h,f)=>r.value?(e.openBlock(),e.createElementBlock("span",{key:0,role:"img","aria-label":a.ariaLabel,class:e.normalizeClass(c.value),style:e.normalizeStyle(d.value)},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(i.value),{"aria-hidden":"true",class:"icon__svg"}))],14,Al)):a.decorative?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(i.value),{key:1,class:e.normalizeClass(c.value),style:e.normalizeStyle(d.value),"aria-hidden":"true"},null,8,["class","style"])):(e.openBlock(),e.createBlock(e.resolveDynamicComponent(i.value),{key:2,class:e.normalizeClass(c.value),style:e.normalizeStyle(d.value)},null,8,["class","style"]))}}),y=x(Ml,[["__scopeId","data-v-bee2070e"]]),Sl={class:"input-wrapper"},Dl={key:0,class:"input-icon input-icon--leading"},zl=["id","name","value","type","placeholder","disabled","readonly","inputmode","maxlength","autocomplete","aria-invalid","aria-describedby","aria-required"],Il={key:1,class:"input-icon input-icon--trailing"},Tl=e.defineComponent({__name:"Input",props:{modelValue:{default:""},type:{default:"text"},placeholder:{},disabled:{type:Boolean,default:!1},hasError:{type:Boolean,default:!1},id:{},name:{},inputmode:{},maxlength:{},autocomplete:{},ariaInvalid:{type:Boolean},ariaDescribedby:{},ariaRequired:{type:Boolean},readonly:{type:Boolean,default:!1}},emits:["update:modelValue","blur","focus","input"],setup(a,{emit:t}){const n=t,l=r=>{const s=r.target;n("update:modelValue",s.value),n("input",r)},o=r=>{n("blur",r)},i=r=>{n("focus",r)};return(r,s)=>(e.openBlock(),e.createElementBlock("div",Sl,[r.$slots["leading-icon"]?(e.openBlock(),e.createElementBlock("div",Dl,[e.renderSlot(r.$slots,"leading-icon",{},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("input",{id:a.id,name:a.name,value:a.modelValue,type:a.type,placeholder:a.placeholder,disabled:a.disabled,readonly:a.readonly,inputmode:a.inputmode,maxlength:a.maxlength,autocomplete:a.autocomplete,"aria-invalid":a.ariaInvalid?"true":void 0,"aria-describedby":a.ariaDescribedby,"aria-required":a.ariaRequired?"true":void 0,class:e.normalizeClass(["input",{"input--has-leading-icon":r.$slots["leading-icon"],"input--has-trailing-icon":r.$slots["trailing-icon"],"input--error":a.hasError,"input--disabled":a.disabled}]),onInput:l,onBlur:o,onFocus:i},null,42,zl),r.$slots["trailing-icon"]?(e.openBlock(),e.createElementBlock("div",Il,[e.renderSlot(r.$slots,"trailing-icon",{},void 0,!0)])):e.createCommentVNode("",!0)]))}}),Z=x(Tl,[["__scopeId","data-v-9ab35497"]]),Ll=["for"],Pl={key:0,class:"label__required","aria-label":"Required"},Fl=e.defineComponent({__name:"Label",props:{for:{},required:{type:Boolean,default:!1},error:{type:Boolean,default:!1}},setup(a){const t=a;return(n,l)=>(e.openBlock(),e.createElementBlock("label",{for:t.for,class:e.normalizeClass(["label",{"label--error":a.error}])},[e.renderSlot(n.$slots,"default",{},void 0,!0),a.required?(e.openBlock(),e.createElementBlock("span",Pl,"*")):e.createCommentVNode("",!0)],10,Ll))}}),Se=x(Fl,[["__scopeId","data-v-4bc6b56d"]]),Zl=["src","alt","height"],Rl=e.defineComponent({__name:"Logo",props:{src:{},alt:{default:"Logo"},size:{default:"md"},to:{},href:{}},setup(a){const t=a,n={sm:32,md:48,lg:64},l=e.computed(()=>n[t.size]),o=e.computed(()=>t.to||t.href?"a":"div"),i=e.computed(()=>t.href?{href:t.href,target:"_blank",rel:"noopener noreferrer"}:t.to?{href:t.to}:{});return(r,s)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.value),e.mergeProps(i.value,{class:"logo"}),{default:e.withCtx(()=>[e.createElementVNode("img",{src:a.src,alt:a.alt,height:l.value,loading:"lazy",class:"logo__image",style:e.normalizeStyle({maxHeight:`${l.value}px`})},null,12,Zl)]),_:1},16))}}),Q=x(Rl,[["__scopeId","data-v-31efeb08"]]),ql="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADkAAAA6CAYAAAAKjPErAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAOaADAAQAAAABAAAAOgAAAADwMfBwAAAUAklEQVRoBe1aC3RU1bne+7zmlXcCIQF5SMQSUFpjVQRk4qMKokVcE2+rtnrvEpfXwqr0qtdHm5lrbbtqV9tLb+Xiuqto7Wsl1lZRqIDOgBVf0FokQR7yEpKQZPIkmZnz2vf7z8zJm4CBdq2u5daTfeacvf/9f/v/9/86MPZZ+2wHPtuBz3bgH7wD/EzWE4JxzpkIh5mEyz6TOe6Yd5+7pjDLpwi9J2X7CnKs/U3CeuCp9db+/WtBp1EwVi4ikSpRXY1VMg2L9d27z86mPy1IIQSvquLSrFlMxGJMwmUOXFCIsMJ52Hn2px9PKpjz+QvmJnt6v5RTUDRTVb3nc8suYrawbcvCNJlpvtyU16M1GL3x/a0d7ccNT87GR3/40nu/2hDuPbDxXfmCxRtTRJOxapqABhZHwcxHe5kmQBRO3cLhsFRXF+YtLelxLkACzhojPl4a7hVihefD9bErzissvUPl8s248iEIVXCbSZLEpAyDkpAyC9mQUvreYproMgRXff79PfHW38fbmn9RHtr5sStJAltVFRY1ta72DBfwWYMkrkhVKyuZHAwyu7q6ButXOTssxHL14Ct/vSqQ7VuVE/AvVjkAmdzCroETLgluSbazhaNptySY4uGmYTlbYArWZtpW7eHGY0/OuXXXMYDEblQTPed/h/QQmZw1SAJINOk8AqQSja7ljTt3qns/fCtnTtl5Yb9X/jeZC5lZwobEIEBI2JZscAxk+ONwIMk2UchIT2IGCOKJsLGBjmQEE9gPScZqMhOyAireBFNyF3guWrPL0ZqzBJnWmyG7M/hnjbR6dZknGhUW5/ca3Y31l1wxe0bU71WXgy0mWWCR2xJxDDGalswtC1K1wLDFvMIUgaOGnfdR0h73YYoV7TNYVqstVAhNA1gVMAFQliB7yRK0UVB13dbWBRet2T+Yj7H/wgE/dSMJrl79qLJixR3O6sc2zQ0VFuQ+z4XuAUDsPwRAEoDMTEjU4io3bWlPb0Lf2t3V+kZnl75n3PllhyZt+mUqgmUuKyhTL7/scs/hfQcnFo/LW5CdFZgnK8oSyD1X9Soew7L0Ew1Nq6ff+IdVp+bq079x1HG0aTgX2PI66/jmhnuK8vOexikCdttED03lBpe4CuNpdiR7Y1268fNNtds33PsMM0Q0qLDgOEcfa2uxAv0JhfB/KHNPq4bY6z//Tl75zCmhQEHeQ/F4+/pp0698mE8LJ+mtiMLKBstBowr67TyhP4PamM4knUOS4EBKB1/+wp2lJROfhhJmwVgCILfTRpNDmFLD0RONj09buuTXcCV9VsZxA/U4iOUloJXf93wgXcbq8a4aV0SORMJk2OCOqnR3zODz6D4d3AP7IF4Hv03/Oq0kD706//KS8dmbZM798HeYhQOIDkZGS6SsjYGFmxaPRPjTPCMwdBjRJPTDNoSWS2PJsJuBNVQYp1pzVMPzQIj5iscXPKMwAYAWxAIrigVsJmtdurLGf9WSW05F+NM8J4CZ8W4/aDohJLVM97iHprkASfMGDR7hxzCQQtTI7rjHH1gcgcnHoYBjJ7uPxpml9aTMNbkLrnugctrK0y7g0jqjPs05Ie67TjfPBTvauGEg2YE3HYv70csXT1Mk4z7H5WUAYv+0RNJ8O3fBogfurlzJo4dEajTin/Zdn6QcyZH0Tn/eBq5xKqkOB1m2wIlDxxWVrFQkKYBNzZwRocGhJf5ad/Duw7EX+bqoSA1Qs4FrnfN7IULy/g2LPGlDxNiRjZeFm7bMe1J8EvJRVOQ+J6mOBHQ4SJj6D16cM0PVlLtkeHlnM2FRLaYmehJWZN6irx+ZGow6AF3i5xzVUILwPmWLNsDqRuTm2MIVhbn5j+cFAt/sPNL8DbLOtNn7N5R5aJoLNOyGWHg2HGRoFp9yXvGNqiTyTIpdEMUwBifPvUd+um7jf7Op4T6AkQiZxNMffFp8rC1K/jZ0rcTqqwLx7X++B3Hyj32aJBSJadle//fi2xY+Rpt9weIDKVETcuwJAa1GsAKXLMMry4MinnRA3Oszk4llkj/LUmTkEdgnE0RaOjueq16XVlEiSgDr6hh6h/0RreJYgYF+nyuprIxh+Shvjb94lyqxnyACUcjZYIAJ5bQCHl+kKbYgD48ehEQt4g3Nsb4QgE2Ah0iyju96/qUir+KfqSJJQqgNPjFGslPHmw69QJOJceqrq5mgHDOMfqxgTj2vyrHaxDBdLdGrH/EqYq3fo6kAR4wbsL/IhrjwarJVFAisikevepLOLvEWXTfVm6Zd4+AbJEnGZomSKa0AqCCywWbYNnyHrCWt1Btz7/j+IXZnVR9fkCCnbD6MFc9lSzNaC4mEidFU6+sLkcoFqhUFnhKig58GOACkZbG9QjclRZZZrs//YMsbjbbYv+IJVpayRKBdZrF6wIhCswe1auH1KDNlVXhAD2TI9TPW0RrfjjhzWCQyaOpZ/KioYEhH0lrFOQFcrrIDcdEcDd6Xne37kaIIFWpqIZ0jyw+QOHrI8PAH7hsvTNOUZKbk52Y91vzJXx51WAnV2Aw5MIttHWp4IvLJk10XQOSYj3wPsiTlLhw3/i9k2VwcQI4BYecn9P6s286dzMCadlo9EYzUt/PWo7u+luf3P6Uiv8Q7nD8ygK47yywJ48IhRbxHEmrDGClmrj/n282x+jRQiosBdIgkabJU3M+1EClDsM7W7kNUxyEm6B1nYafvH3f2d44VZbXgJ2R3trXfle33rcUB9CGUNBwVdewBLZu5SBA4oIinnXQP5RU7leiVkZqyguzc73RuvwZASTDVaRXpZ7HaUmWVnC41h6BAet/a1ZORVyQNLtw/41zc7dhRoQaDM0A7ZLdvu3a5T9V+5hxBIg4RQT1FoldnbfHOWJ+tdDac24lE4gPw2APEEqSOwNpkSGrNgOR5on1b7GFIeShI0lK7xzYsECbVcEzZyQFAqCTZL/00ZHrdfzdg8JneVlTchB0vtU5sXrgy4NHWIN+C75JSOGrwATIwcHa8oWWpzZQ/9tF0JAtosvK7traOpSRWSfZAZWUUJ4Qsc5bI8fufaNw6v7qfYZpdX4UDjoIGNUeWQlY1Wc3OzkICC6fMSvrBhJ1RNBBD3fux9TgKydYt0W8VZuV8FyeQ0hyEzJLqSAYkjzUcv6vsohmxRLL38xBsP8/QVI/XV1i46Evbuk92fYXsT7qkAo6E5SMHn+sJfLt/QoY/08AZgOghRPedWpCfez5z1Ak1AgQAKFUOQXN2KNu2XHV/QU7W92DrveSU4Z8hJ/hkm6eajjd9efJNO2tZ+SwzK0szTWHKhmVKMIsUpyg9Kb0DzNi51775u5OJ5K0AisKhhqMMOqoieYRkuUDSTJfXGLl5+btI9NjJFOk/2Ocd3Z0Xs500ZLk5a1YQdofunT+OopLe05OxtLbXg/+Z7fP/DwwHhGTDVEKUqpK0DTPRcKK5qvTmJa8ztlKjqkMgO6eUNBlyUgFGs6m2RtUKvIN/9OTlXLC+I5Fc0ptMGijJyMwwoc4yxDugEbOIV3cldZ2KIM478pSF+QUL+KXPoJYIW7XkK/0q68wd8nMAvVPdwtHD5IfkY9F5V3h9nltwjmIQ4Fs2t99lsvS2aZm7m0923j1x6fvrQUNitU3mB8/NmGjqYp6iaExRZK4pii1DUlDvhLOOXihYxVpz3NXRV7uSyVvhW3Ygt38T2rBjGIf1z88smV52/lFFwk5AYVCPY0mDNe/Ys/ey7C9cfaKCKFZca0c4vl/QgUQDkTFLkua7jcDjQEALa9N2AS/EDgQGFaVW/I1tX87JCvxGhUxTyV7Zo2owjELTdfsJbe7cML6p8EsvrZJ27KCAoQrOxYmaIKhhLoSxmXfc12Zx42+wOwidoA1oHk9W8YVTrrixAjtFAClccrWV3p/DBsbBOqoTJOkaZBEA6GygpLF/kRXusQxTqCh9WhayP5gOcjGkroy1S8kk9huZA1UB0606PTfza0C3QtdT+guoGcOsp50/syxRMmHC7ZWcI2cbx3fua6C4Fa8HTDvLW2wqHQ9cs8AkNhF96N/DtMn2gZdqP+eRpZtsCEnXdQpiJctCgGRB4BKcKM4jFb537xbG7FrShhDI1aCUCi3DESTCw1prvO0VTD+Bi0wPxElVjhPzX9tx+zK287ccsSZaLRjAJpwjoBGsQmVJukA8fQUpVQrbBQWFD2maoiqKlIJLkyl0VTXNk9QNlNesblZWaKSBIiupI47IEFZRqOhwB9RDW4SXLdu1u/vtia+jMHAbRw0f5gihRSuD/X5y++a3XmQLp5rB2D7OglQ3JTq04WNvFILif4ehoeoR3xK9zq+pX7csy7BNG9Jx0i/sP7dVVdH0lOFn9XWEw5kPJwBwg3kZUZI0pKWr6zkkbQoiJOwmPAqyLiTRk+cEp9c6IVgwyFgshvkRpDNUZzkbpC5XxGcEPxDDxu72vPbT8gl5RcVPI43E2rKsqPgogbfk2JA4km6TO0zAh9qsPD+zSXg4pA0D6fgcnI/zr39rc0K31iH4EKQU8CjwZBb3e7Ubj2/a9TCslsWCQahVHZYtx0U7PEagDnt0/ilAJ1ohO1L5rH794iXP6KnUZJw/HZE3qvWkxZRqObnWQFB40e68HILP+TkMZGYQBXW8pbFhpc3UIwrsNhYwFVW1FOhwfm7OfzVG538zPbY2Q7yW19aGqHJ2xlINQyg0PqNpOPz07TNkV07jnuq9978qEp8sUbipwXlrpIzoCRhOJKm2Mw+9q+YZzkfoRgSZPrC1Unlod09LW+f9ScMgO60hOZUl7KgmK3ZBdt7349vff4KxdbC4dDbr5RAS1VgsItFH24FSpXu6wmH8mwMAowITuYnymhBJDxdYzRiJvetvnhrdtGqbnYjfYKY6E1zg0NBxgceAwjpjMzgG3mcejdyNOpCkSYsfWH/JQxOLxv8A+KgkouNAqPgibEmKT+rsSrwT7zj5H5+75a13yAmnXQAtBnVm+MLAZmADgqRiTnPBuL+DU5k3dpglca61Y5s235mXO+4pJAlZstCxGMqFyPthTv3wYg3NLS2biksKbwfmTEMh2NAfCVy58Ed0bAYGEe4I6keUpDuAGKIdnz774tWJZPJRqCwsl6QpXDKQIch2qtco8MtXnFfkj7ZtveEX9b/fdzHmQn3rAIykcy/GV5pEx71c2m7frTOp828P3nBi2/tvFuRnrVGkZJbMe5FtmeSoUb/RPKZpJ1vj8aV+XyCGeSoo4xX1I7tAl7bbj+BC3Ffpns4JdlkUTHv2B/EtC7Rsf+BxGQkYt02hqbJtmjqMkap4LHGXr3TCTe2x2HuCK39obrp8K74vHpz9jbC0e3cNiNU7BPEPHaz//daKQFvLnksKx2XNzR83/jajt2GO4mXIfjgVnbAfFKVDTwXzJZJGSypl3jZhZtGurqMn52W4o2HYTOdc9sk1825YN+oAUleaQYtST7+bXwvekZPlX4MvwwHLTvXgU4KHWTixeA3W8NkZGQxXk8hzEt0W/nGHL7uhu6ej107FEzm+gDcQKC1mllTCjO5cbveqjKO+AgJIsfAf4aOyPWhAjqiIvttyrPGrk5dNPYJvnFLP1v0rfD7th8QL7LiMdNJO6snTqCtGORNO9QesE0ACt2NthUr3xTdsff6T5vYvtiZ6tvcyEUjB6KJKCH5wVmH/ABbpvKVyO5kX4MakLL39shLVDk7Kyl6UJ8uVSqK1XDVa8zTRw/FN3sRnQdTn4R6Y6IFuOk7CsCSz09J+8n+/ennh5GU3HmaxANZ+BomTnUgZFlULYGZlVO9oPO1vA6mvE/MOh1JFEe6pG0mH3h4+/KynYvlNTnWafs9Y9s6e4vm3BRtO9PyrLbL2SGoek9QcH5O9KCtwHSmTDsqmKtmUnluqlbJggi0JQYtHQtjCdZTBYYuQAyiSBnXRmBf/mMdA3NHW0bn5aNOJq4vnvrBq5c8onoQfLmlDyTIM0ypxTdMMlEZ0pGMpfO5GQ97biPN5YILC6uvTYEnOfW3WmR3cadPuTqYjfXIFrgrfa+SOL3t5w5E/XtQUZ/e3tvM/d+taj6V68c+uNI3qg/CYGspQmoIzbBE2JsNYyKqFRAImRbEtRdEtVdIt7XhHV+qXh440VJZet/36WUvfezOdiYQhBNRPL7wkgfVRlpQhcdRnbOFVNS+iMaagJNnDWhKc6U2ClTsxLyF0hEM4BVKtAYj7oI96Q1uH0AtKEnaCgBp8ZKmqotxNSLt/e9VsX451XVFx3nyRUsqhP5P8UFwEv8j7DO7xeKg4jMdqknv9H7fE2/cYKWPjxwc/ilbef7hp6MLkW6GMII1a7N4/+duamu/x+b2PweBlgx5sLD4RG/o92Z7CDSw/12CePD1SGk7WQZL4EOa4rTAL44CPoaUdveNDnYKwe27dnkh+7Xruf2T5raUzL8zv2rfngykne/SCKZMntxUW5Tbs3PtR94pVO/XtnwhoyPCIxdUWR+vAIUmGnu158ZrJJ1rav2imDMmLjyOaVzPzs3M+mrFsy57RYJzWhYw02dldLJ0G63DAWSwiizpSrwimlIjpV7JE79TCw2x2BZsxe1ILZehEayAo3I9Enkb1P8cswWroQw5py9GZschx9yWvDJu7Xvlqvvt7aE/ZTcQJ+Ie+GcNvAgtenItCN9p1usZAqm+KQzMTDg6klaYdRY2IqgfUR0cR1Nnx0MfMwBsX6GAG03HrSM8Gzh3p3qU39B1tJD0jmgN7575PDQjg3wGkuwgxR/fnop0JLfqa7K4VPk2o6o77Z+z7VHYAYJI2Kqp/J2n+g3eJtAb+N63C6F3ADkjixX1A9//MrU9dAaIPnAvo/wENQW6RzH3J7wAAAABJRU5ErkJggg==",Ol=["src"],Ul=e.defineComponent({__name:"Spinner",props:{size:{default:"md"}},setup(a){return(t,n)=>(e.openBlock(),e.createElementBlock("span",{class:e.normalizeClass(["spinner",`spinner--${a.size}`]),role:"status","aria-label":"Loading","aria-live":"polite"},[e.createElementVNode("img",{src:e.unref(ql),alt:"",class:"spinner__image"},null,8,Ol),n[0]||(n[0]=e.createElementVNode("span",{class:"sr-only"},"Loading...",-1))],2))}}),q=x(Ul,[["__scopeId","data-v-e7e57247"]]),jl=e.defineComponent({__name:"Typography",props:{variant:{default:"body"},weight:{default:"normal"},color:{default:"inherit"},align:{default:"left"}},setup(a){const t=a,n=e.computed(()=>({h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",body:"p",caption:"span",label:"span"})[t.variant]);return(l,o)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.value),{class:e.normalizeClass(["typography",`typography--${a.variant}`,`typography--${a.weight}`,`typography--${a.color}`,`typography--${a.align}`])},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default",{},void 0,!0)]),_:3},8,["class"]))}}),T=x(jl,[["__scopeId","data-v-0225c24f"]]),Hl=["href","aria-label","aria-describedby"],Gl={class:"action-button__icon-container"},Wl={class:"action-button__title"},Ql=["id"],Yl=["aria-label","aria-describedby","disabled"],Kl={class:"action-button__icon-container"},Jl={class:"action-button__title"},Xl=["id"],eo=e.defineComponent({__name:"ActionButton",props:{icon:{},title:{},description:{default:void 0},href:{default:void 0},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1}},emits:["click"],setup(a,{emit:t}){const n=a,l=t,o=e.computed(()=>!n.disabled&&!n.loading),i=e.computed(()=>n.description?`action-button-desc-${n.title.toLowerCase().replace(/\s+/g,"-")}`:void 0);function r(s){if(!o.value){s.preventDefault();return}l("click",s)}return(s,c)=>(e.openBlock(),e.createBlock(e.unref(I),{variant:"outlined",clickable:o.value,padding:"none",class:e.normalizeClass(["action-button",{"action-button--disabled":!o.value}]),onClick:r},{default:e.withCtx(()=>[a.href&&o.value?(e.openBlock(),e.createElementBlock("a",{key:0,href:a.href,"aria-label":a.title,"aria-describedby":i.value,class:"action-button__content"},[e.createElementVNode("div",Gl,[a.loading?(e.openBlock(),e.createBlock(e.unref(q),{key:0,size:"lg"})):(e.openBlock(),e.createBlock(e.unref(y),{key:1,name:a.icon,size:24,class:"action-button__icon"},null,8,["name"]))]),e.createElementVNode("span",Wl,e.toDisplayString(a.title),1),a.description?(e.openBlock(),e.createElementBlock("span",{key:0,id:i.value,class:"action-button__description"},e.toDisplayString(a.description),9,Ql)):e.createCommentVNode("",!0)],8,Hl)):(e.openBlock(),e.createElementBlock("button",{key:1,type:"button","aria-label":a.title,"aria-describedby":i.value,disabled:!o.value,class:"action-button__content",onClick:r},[e.createElementVNode("div",Kl,[a.loading?(e.openBlock(),e.createBlock(e.unref(q),{key:0,size:"lg"})):(e.openBlock(),e.createBlock(e.unref(y),{key:1,name:a.icon,size:24,class:"action-button__icon"},null,8,["name"]))]),e.createElementVNode("span",Jl,e.toDisplayString(a.title),1),a.description?(e.openBlock(),e.createElementBlock("span",{key:0,id:i.value,class:"action-button__description"},e.toDisplayString(a.description),9,Xl)):e.createCommentVNode("",!0)],8,Yl))]),_:1},8,["clickable","class"]))}}),to=x(eo,[["__scopeId","data-v-2abfbcff"]]),ao={class:"alert__icon"},no={class:"alert__content"},lo={key:0,class:"alert__title"},oo={class:"alert__message"},ro=e.defineComponent({__name:"Alert",props:{variant:{default:"info"},message:{},title:{},dismissible:{type:Boolean,default:!0}},emits:["dismiss"],setup(a,{emit:t}){const n=t,l=e.ref(!0),o=r=>{switch(r){case"success":return"check-circle";case"error":return"exclamation-circle";case"warning":return"exclamation-triangle";case"info":return"information-circle";default:return"information-circle"}},i=()=>{l.value=!1,n("dismiss")};return(r,s)=>l.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["alert",`alert--${a.variant}`]),role:"alert"},[e.createElementVNode("div",ao,[e.createVNode(e.unref(y),{name:o(a.variant),size:20},null,8,["name"])]),e.createElementVNode("div",no,[a.title?(e.openBlock(),e.createElementBlock("p",lo,e.toDisplayString(a.title),1)):e.createCommentVNode("",!0),e.createElementVNode("p",oo,e.toDisplayString(a.message),1)]),a.dismissible?(e.openBlock(),e.createElementBlock("button",{key:0,type:"button",class:"alert__close","aria-label":"Fechar alerta",onClick:i},[e.createVNode(e.unref(y),{name:"x",size:20})])):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0)}}),O=x(ro,[["__scopeId","data-v-ac761ee4"]]),io={key:0,class:"analysis-status analysis-status--compact"},so={class:"analysis-status__icon-wrapper"},co={class:"analysis-status__content"},uo={class:"analysis-status__label"},mo={class:"analysis-status__message"},ho=e.defineComponent({__name:"AnalysisStatus",props:{status:{},message:{},compact:{type:Boolean,default:!1},animated:{type:Boolean,default:!0}},setup(a){const t=a,n={pending:{label:"Pendente",icon:"clock",variant:"warning",description:"Aguardando início da análise"},analyzing:{label:"Em análise",icon:"arrow-path",variant:"info",description:"Sua proposta está sendo analisada"},approved:{label:"Aprovado",icon:"check-circle",variant:"success",description:"Proposta aprovada com sucesso"},rejected:{label:"Recusado",icon:"x",variant:"error",description:"Proposta não aprovada"},expired:{label:"Expirado",icon:"clock",variant:"warning",description:"Proposta expirada"},cancelled:{label:"Cancelado",icon:"x",variant:"error",description:"Proposta cancelada"}},l=e.computed(()=>n[t.status]),o=e.computed(()=>t.message||l.value.description);return(i,r)=>a.compact?(e.openBlock(),e.createElementBlock("div",io,[e.createVNode(e.unref(K),{variant:l.value.variant},{default:e.withCtx(()=>[e.createVNode(e.unref(y),{name:l.value.icon,size:"xs",class:e.normalizeClass({"analysis-status__icon--spinning":a.status==="analyzing"&&a.animated})},null,8,["name","class"]),e.createTextVNode(" "+e.toDisplayString(l.value.label),1)]),_:1},8,["variant"])])):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["analysis-status",`analysis-status--${l.value.variant}`])},[e.createElementVNode("div",so,[e.createVNode(e.unref(y),{name:l.value.icon,size:"lg",class:e.normalizeClass({"analysis-status__icon--spinning":a.status==="analyzing"&&a.animated})},null,8,["name","class"])]),e.createElementVNode("div",co,[e.createElementVNode("span",uo,e.toDisplayString(l.value.label),1),e.createElementVNode("span",mo,e.toDisplayString(o.value),1)])],2))}}),fo=x(ho,[["__scopeId","data-v-f79ffdc3"]]),po={class:"celebration__confetti"},vo={class:"celebration__icon"},go={class:"celebration__details"},_o={class:"celebration__detail"},ko={class:"celebration__detail-value"},Vo={class:"celebration__detail"},wo={class:"celebration__detail-value celebration__detail-value--highlight"},bo={key:0,class:"celebration__detail"},Eo={class:"celebration__detail-value"},yo={class:"celebration__actions"},No=e.defineComponent({__name:"ContractPaidCelebration",props:{contractNumber:{},totalPaid:{},paidAt:{},title:{default:"Parabéns!"},subtitle:{default:"Seu contrato foi quitado com sucesso"}},emits:["close","viewDetails","share"],setup(a,{emit:t}){const n=a,l=t,o=e.computed(()=>new Intl.NumberFormat("pt-BR",{style:"currency",currency:"BRL"}).format(n.totalPaid)),i=e.computed(()=>{if(!n.paidAt)return null;const r=typeof n.paidAt=="string"?new Date(n.paidAt):n.paidAt;return new Intl.DateTimeFormat("pt-BR",{day:"2-digit",month:"long",year:"numeric"}).format(r)});return(r,s)=>(e.openBlock(),e.createBlock(e.unref(I),{variant:"elevated",padding:"lg",class:"celebration"},{default:e.withCtx(()=>[e.createElementVNode("div",po,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(12,c=>e.createElementVNode("span",{class:"celebration__confetti-piece",key:c})),64))]),e.createElementVNode("div",vo,[e.createVNode(e.unref(y),{name:"check-circle",size:"xl",variant:"solid"})]),e.createVNode(e.unref(T),{variant:"h2",class:"celebration__title"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.title),1)]),_:1}),e.createVNode(e.unref(T),{variant:"body",color:"muted",class:"celebration__subtitle"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.subtitle),1)]),_:1}),e.createElementVNode("div",go,[e.createElementVNode("div",_o,[s[2]||(s[2]=e.createElementVNode("span",{class:"celebration__detail-label"},"Contrato",-1)),e.createElementVNode("span",ko,"#"+e.toDisplayString(a.contractNumber),1)]),e.createElementVNode("div",Vo,[s[3]||(s[3]=e.createElementVNode("span",{class:"celebration__detail-label"},"Valor quitado",-1)),e.createElementVNode("span",wo,e.toDisplayString(o.value),1)]),i.value?(e.openBlock(),e.createElementBlock("div",bo,[s[4]||(s[4]=e.createElementVNode("span",{class:"celebration__detail-label"},"Data de quitação",-1)),e.createElementVNode("span",Eo,e.toDisplayString(i.value),1)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",yo,[e.createVNode(e.unref(C),{variant:"outline",size:"sm",onClick:s[0]||(s[0]=c=>l("viewDetails"))},{default:e.withCtx(()=>[...s[5]||(s[5]=[e.createTextVNode(" Ver detalhes ",-1)])]),_:1}),e.createVNode(e.unref(C),{variant:"primary",size:"sm",onClick:s[1]||(s[1]=c=>l("close"))},{default:e.withCtx(()=>[...s[6]||(s[6]=[e.createTextVNode(" Continuar ",-1)])]),_:1})])]),_:1}))}}),xo=x(No,[["__scopeId","data-v-a916351b"]]),Bo={class:"document-upload"},Co=["aria-disabled","aria-label"],$o=["accept","multiple","disabled"],Ao={class:"document-upload__label"},Mo={class:"document-upload__hint"},So={key:0,class:"document-upload__list",role:"list","aria-label":"Arquivos selecionados"},Do={class:"document-upload__file-info"},zo={class:"document-upload__file-details"},Io={class:"document-upload__file-name"},To={class:"document-upload__file-size"},Lo=e.defineComponent({__name:"DocumentUpload",props:{accept:{default:"image/jpeg,image/png,application/pdf"},maxSize:{default:5*1024*1024},multiple:{type:Boolean,default:!1},maxFiles:{default:5},disabled:{type:Boolean,default:!1},label:{default:"Arraste arquivos ou clique para selecionar"},modelValue:{default:()=>[]}},emits:["update:modelValue","files-selected","error"],setup(a,{expose:t,emit:n}){const l=a,o=n,i=e.ref(!1),r=e.ref(0),s=e.ref([...l.modelValue]),c=e.ref(null);e.watch(()=>l.modelValue,N=>{s.value=[...N]},{deep:!0});function d(N){return N<1024?`${N} B`:N<1024*1024?`${(N/1024).toFixed(1)} KB`:`${(N/(1024*1024)).toFixed(1)} MB`}function h(N){const $={"image/jpeg":"JPEG","image/png":"PNG","application/pdf":"PDF","image/*":"Imagens"};return N.split(",").map(S=>$[S.trim()]||S.trim()).join(", ")}const f=e.computed(()=>h(l.accept)),p=e.computed(()=>d(l.maxSize));function g(N){return l.accept.split(",").map(M=>M.trim()).some(M=>M.endsWith("/*")?N.type.startsWith(M.replace("/*","")):N.type===M)?null:{type:"type",message:`Tipo não aceito: ${N.type||"desconhecido"}`,file:N}}function _(N){return N.size>l.maxSize?{type:"size",message:`"${N.name}" excede ${p.value}`,file:N}:null}function m(N){const $=s.value.length+N;return l.multiple&&$>l.maxFiles?{type:"count",message:`Limite de ${l.maxFiles} arquivos excedido`}:null}function u(N){if(l.disabled)return;const $=Array.from(N),S=l.multiple?$:$.slice(0,1),M=m(S.length);if(M){o("error",M);return}const z=[];for(const B of S){const R=g(B);if(R){o("error",R);continue}const oe=_(B);if(oe){o("error",oe);continue}z.push(B)}z.length>0&&(s.value=l.multiple?[...s.value,...z]:z,o("update:modelValue",s.value),o("files-selected",s.value))}function v(N){N.preventDefault(),N.stopPropagation(),!l.disabled&&(r.value++,i.value=!0)}function V(N){N.preventDefault(),N.stopPropagation(),!l.disabled&&(r.value--,r.value===0&&(i.value=!1))}function b(N){N.preventDefault(),N.stopPropagation()}function k(N){if(N.preventDefault(),N.stopPropagation(),r.value=0,i.value=!1,l.disabled)return;const $=N.dataTransfer?.files;$&&$.length>0&&u($)}function w(){l.disabled||c.value?.click()}function E(N){(N.key==="Enter"||N.key===" ")&&(N.preventDefault(),w())}function A(N){const $=N.target;$.files&&$.files.length>0&&u($.files),$.value=""}function D(N){s.value.splice(N,1),o("update:modelValue",s.value),o("files-selected",s.value)}return t({openFilePicker:w}),(N,$)=>(e.openBlock(),e.createElementBlock("div",Bo,[e.createElementVNode("div",{role:"button",tabindex:"0",class:e.normalizeClass(["document-upload__dropzone",{"document-upload__dropzone--disabled":a.disabled,"document-upload__dropzone--dragging":i.value}]),"aria-disabled":a.disabled,"aria-label":`${a.label}. Pressione Enter para abrir seletor.`,onClick:w,onKeydown:E,onDragenter:v,onDragleave:V,onDragover:b,onDrop:k},[e.createElementVNode("input",{ref_key:"fileInput",ref:c,type:"file",class:"document-upload__input",accept:a.accept,multiple:a.multiple,disabled:a.disabled,"aria-hidden":"true",onChange:A},null,40,$o),e.createElementVNode("div",{class:e.normalizeClass(["document-upload__icon",{"document-upload__icon--active":i.value}])},[e.createVNode(e.unref(y),{name:"arrow-up-tray",size:32})],2),e.createElementVNode("p",Ao,e.toDisplayString(a.label),1),e.createElementVNode("p",Mo,"Formatos: "+e.toDisplayString(f.value)+" | Máx: "+e.toDisplayString(p.value),1)],42,Co),s.value.length>0?(e.openBlock(),e.createElementBlock("ul",So,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value,(S,M)=>(e.openBlock(),e.createElementBlock("li",{key:`${S.name}-${M}`,class:"document-upload__file"},[e.createElementVNode("div",Do,[e.createVNode(e.unref(y),{name:"document-text",size:20,class:"document-upload__file-icon"}),e.createElementVNode("div",zo,[e.createElementVNode("p",Io,e.toDisplayString(S.name),1),e.createElementVNode("p",To,e.toDisplayString(d(S.size)),1)])]),e.createVNode(e.unref(C),{variant:"ghost",size:"sm",rounded:"full","aria-label":`Remover ${S.name}`,onClick:e.withModifiers(z=>D(M),["stop"])},{default:e.withCtx(()=>[e.createVNode(e.unref(y),{name:"x",size:16})]),_:1},8,["aria-label","onClick"])]))),128))])):e.createCommentVNode("",!0)]))}}),De=x(Lo,[["__scopeId","data-v-79ebc820"]]),Po={key:0,class:"file-preview-compact",role:"listitem"},Fo=["title"],Zo={class:"file-preview-compact__size"},Ro=["aria-label"],qo={class:"file-preview__content"},Oo={key:0,class:"file-preview__loading"},Uo={key:1,class:"file-preview__fallback"},jo={key:0,class:"file-preview__fallback-label"},Ho=["src","alt"],Go={class:"file-preview__info"},Wo={class:"file-preview__details"},Qo=["title"],Yo={class:"file-preview__size"},Ko={key:0,class:"file-preview__actions"},Jo=e.defineComponent({__name:"FilePreview",props:{file:{},showActions:{type:Boolean,default:!0},compact:{type:Boolean,default:!1},thumbnailSize:{default:80},maxFileNameLength:{default:25}},emits:["view","download","remove"],setup(a,{emit:t}){const n=a,l=t,o=e.ref(null),i=e.ref(!1),r=e.ref(!1);function s(k){return k.type.startsWith("image/")?"image":k.type==="application/pdf"?"pdf":"unknown"}function c(k){return k<1024?`${k} B`:k<1024*1024?`${(k/1024).toFixed(1)} KB`:`${(k/(1024*1024)).toFixed(1)} MB`}function d(k,w){if(k.length<=w)return k;const E=k.split(".").pop()||"",A=k.slice(0,k.length-E.length-1),D=w-E.length-4;return`${A.slice(0,D)}...${E?"."+E:""}`}function h(k){const w=URL.createObjectURL(k),E=document.createElement("a");E.href=w,E.download=k.name,document.body.appendChild(E),E.click(),document.body.removeChild(E),URL.revokeObjectURL(w)}const f=e.computed(()=>s(n.file)),p=e.computed(()=>d(n.file.name,n.maxFileNameLength)),g=e.computed(()=>c(n.file.size));function _(){if(f.value==="image"){r.value=!0,i.value=!1;try{o.value&&URL.revokeObjectURL(o.value),o.value=URL.createObjectURL(n.file)}catch{i.value=!0}finally{r.value=!1}}}function m(){i.value=!0}function u(){r.value=!1}function v(){l("view",n.file)}function V(){h(n.file),l("download",n.file)}function b(){l("remove",n.file)}return e.watch(()=>n.file,()=>{f.value==="image"&&_()},{immediate:!0}),e.onUnmounted(()=>{o.value&&URL.revokeObjectURL(o.value)}),(k,w)=>a.compact?(e.openBlock(),e.createElementBlock("div",Po,[e.createVNode(e.unref(y),{name:f.value==="pdf"?"document-text":f.value==="image"?"photograph":"document-text",size:16,class:"file-preview-compact__icon"},null,8,["name"]),e.createElementVNode("span",{class:"file-preview-compact__name",title:a.file.name},e.toDisplayString(p.value),9,Fo),e.createElementVNode("span",Zo,e.toDisplayString(g.value),1),a.showActions?(e.openBlock(),e.createElementBlock("button",{key:0,type:"button",class:"file-preview-compact__remove","aria-label":`Remover ${a.file.name}`,onClick:b},[e.createVNode(e.unref(y),{name:"x",size:16})],8,Ro)):e.createCommentVNode("",!0)])):(e.openBlock(),e.createBlock(e.unref(I),{key:1,variant:"outlined",padding:"sm",class:"file-preview"},{default:e.withCtx(()=>[e.createElementVNode("div",qo,[e.createElementVNode("div",{class:"file-preview__thumbnail",style:e.normalizeStyle({width:`${a.thumbnailSize}px`,height:`${a.thumbnailSize}px`})},[r.value?(e.openBlock(),e.createElementBlock("div",Oo,[e.createVNode(e.unref(q),{size:"sm"})])):i.value||!o.value?(e.openBlock(),e.createElementBlock("div",Uo,[e.createVNode(e.unref(y),{name:(f.value==="pdf","document-text"),size:24},null,8,["name"]),f.value==="pdf"?(e.openBlock(),e.createElementBlock("span",jo,"PDF")):e.createCommentVNode("",!0)])):(e.openBlock(),e.createElementBlock("img",{key:2,src:o.value,alt:`Preview de ${a.file.name}`,class:"file-preview__image",onError:m,onLoad:u},null,40,Ho))],4),e.createElementVNode("div",Go,[e.createElementVNode("div",Wo,[e.createElementVNode("p",{class:"file-preview__name",title:a.file.name},e.toDisplayString(p.value),9,Qo),e.createElementVNode("p",Yo,e.toDisplayString(g.value),1)]),a.showActions?(e.openBlock(),e.createElementBlock("div",Ko,[e.createVNode(e.unref(C),{variant:"ghost",size:"sm","aria-label":`Visualizar ${a.file.name}`,onClick:v},{"leading-icon":e.withCtx(()=>[e.createVNode(e.unref(y),{name:"eye",size:16})]),default:e.withCtx(()=>[w[0]||(w[0]=e.createElementVNode("span",{class:"file-preview__action-label"},"Visualizar",-1))]),_:1},8,["aria-label"]),e.createVNode(e.unref(C),{variant:"ghost",size:"sm","aria-label":`Baixar ${a.file.name}`,onClick:V},{"leading-icon":e.withCtx(()=>[e.createVNode(e.unref(y),{name:"arrow-down-tray",size:16})]),default:e.withCtx(()=>[w[1]||(w[1]=e.createElementVNode("span",{class:"file-preview__action-label"},"Baixar",-1))]),_:1},8,["aria-label"]),e.createVNode(e.unref(C),{variant:"ghost",size:"sm",class:"file-preview__remove-btn","aria-label":`Remover ${a.file.name}`,onClick:b},{"leading-icon":e.withCtx(()=>[e.createVNode(e.unref(y),{name:"x",size:16})]),default:e.withCtx(()=>[w[2]||(w[2]=e.createElementVNode("span",{class:"file-preview__action-label"},"Remover",-1))]),_:1},8,["aria-label"])])):e.createCommentVNode("",!0)])])]),_:1}))}}),ze=x(Jo,[["__scopeId","data-v-14b8a564"]]),Xo={class:"form-field"},er=["id"],tr=["id"],ar=e.defineComponent({__name:"FormField",props:{label:{},error:{type:[String,Boolean]},hint:{},required:{type:Boolean,default:!1},inputId:{}},setup(a){const t=a,n=e.useId(),l=e.computed(()=>t.inputId||`input-${n}`),o=e.computed(()=>`helper-${l.value}`),i=e.computed(()=>!!t.error),r=e.computed(()=>typeof t.error=="string"?t.error:null),s=e.computed(()=>({id:l.value,ariaInvalid:i.value,ariaDescribedby:i.value||t.hint?o.value:void 0,ariaRequired:t.required}));return(c,d)=>(e.openBlock(),e.createElementBlock("div",Xo,[a.label?(e.openBlock(),e.createBlock(e.unref(Se),{key:0,for:l.value,required:a.required,error:i.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.label),1)]),_:1},8,["for","required","error"])):e.createCommentVNode("",!0),e.renderSlot(c.$slots,"default",e.normalizeProps(e.guardReactiveProps(s.value)),void 0,!0),a.hint&&!i.value?(e.openBlock(),e.createElementBlock("p",{key:1,id:o.value,class:"form-field__hint"},e.toDisplayString(a.hint),9,er)):e.createCommentVNode("",!0),i.value&&r.value?(e.openBlock(),e.createElementBlock("p",{key:2,id:o.value,class:"form-field__error",role:"alert"},e.toDisplayString(r.value),9,tr)):e.createCommentVNode("",!0)]))}}),j=x(ar,[["__scopeId","data-v-9ffc624d"]]),nr=e.defineComponent({__name:"IdentifierInput",props:{modelValue:{default:""},label:{default:"Identificador"},placeholder:{default:"CPF, CNPJ, Email ou Celular"},disabled:{type:Boolean,default:!1},error:{type:[String,Boolean]},required:{type:Boolean,default:!1},id:{},name:{}},emits:["update:modelValue","typeDetected","blur","focus"],setup(a,{emit:t}){const n=a,l=t,o=e.ref(null),i=_=>{const m=_.replace(/\D/g,"").slice(0,11);return m.length<=3?m:m.length<=6?`${m.slice(0,3)}.${m.slice(3)}`:m.length<=9?`${m.slice(0,3)}.${m.slice(3,6)}.${m.slice(6)}`:`${m.slice(0,3)}.${m.slice(3,6)}.${m.slice(6,9)}-${m.slice(9)}`},r=_=>{const m=_.replace(/\D/g,"").slice(0,14);return m.length<=2?m:m.length<=5?`${m.slice(0,2)}.${m.slice(2)}`:m.length<=8?`${m.slice(0,2)}.${m.slice(2,5)}.${m.slice(5)}`:m.length<=12?`${m.slice(0,2)}.${m.slice(2,5)}.${m.slice(5,8)}/${m.slice(8)}`:`${m.slice(0,2)}.${m.slice(2,5)}.${m.slice(5,8)}/${m.slice(8,12)}-${m.slice(12)}`},s=_=>{const m=_.replace(/\D/g,"").slice(0,11);return m.length<=2?m:m.length<=6?`(${m.slice(0,2)}) ${m.slice(2)}`:m.length<=10?`(${m.slice(0,2)}) ${m.slice(2,6)}-${m.slice(6)}`:`(${m.slice(0,2)}) ${m.slice(2,7)}-${m.slice(7)}`},c=_=>_.replace(/\D/g,"").length<=11?i(_):r(_),d=_=>{if(!_)return null;const m=_.trim();if(m.includes("@"))return"email";const u=m.replace(/\D/g,"");if(u.length===14)return"cnpj";if(u.length===11){if(m.includes(".")&&m.includes("-")&&!m.includes("/"))return"cpf";if(m.includes("(")||m.includes(")"))return"phone";const v=parseInt(u.substring(0,2));return v>=11&&v<=99&&u[2]==="9"?"phone":"cpf"}return u.length>=10&&u.length<=11&&(m.includes("(")||m.includes(")"))?"phone":u.length>11&&u.length<=14?"cnpj":null},h=e.computed(()=>{switch(o.value){case"cpf":return"CPF detectado";case"cnpj":return"CNPJ detectado";case"email":return"Email detectado";case"phone":return"Celular detectado";default:return}}),f=e.computed(()=>{switch(o.value){case"cpf":return"identification";case"cnpj":return"building-office";case"email":return"envelope";case"phone":return"phone";default:return null}}),p=e.computed(()=>!!n.error),g=_=>{if(_.includes("@")){o.value="email",l("update:modelValue",_),l("typeDetected","email");return}const m=_.replace(/\D/g,"");if(!m){o.value=null,l("update:modelValue",_),l("typeDetected",null);return}if(_.startsWith("(")||_.includes(")")){const v=s(_);o.value="phone",l("update:modelValue",v),l("typeDetected","phone");return}const u=c(_);m.length===14?(o.value="cnpj",l("update:modelValue",u),l("typeDetected","cnpj")):m.length===11?(o.value="cpf",l("update:modelValue",u),l("typeDetected","cpf")):m.length>11?(o.value="cnpj",l("update:modelValue",u),l("typeDetected",null)):(o.value=null,l("update:modelValue",u),l("typeDetected",null))};return e.watch(()=>n.modelValue,_=>{if(_){const m=d(_);o.value=m,l("typeDetected",m)}},{immediate:!0}),(_,m)=>(e.openBlock(),e.createBlock(e.unref(j),{label:a.label,error:a.error,hint:h.value,required:a.required,"input-id":a.id},{default:e.withCtx(({id:u,ariaInvalid:v,ariaDescribedby:V,ariaRequired:b})=>[e.createVNode(e.unref(Z),{id:u,name:a.name,"model-value":a.modelValue,type:"text",placeholder:a.placeholder,disabled:a.disabled,"has-error":p.value,"aria-invalid":v,"aria-describedby":V,"aria-required":b,"onUpdate:modelValue":g,onBlur:m[0]||(m[0]=k=>l("blur",k)),onFocus:m[1]||(m[1]=k=>l("focus",k))},e.createSlots({_:2},[f.value?{name:"leading-icon",fn:e.withCtx(()=>[e.createVNode(e.unref(y),{name:f.value,size:20,class:"identifier-input__icon"},null,8,["name"])]),key:"0"}:void 0]),1032,["id","name","model-value","placeholder","disabled","has-error","aria-invalid","aria-describedby","aria-required"])]),_:1},8,["label","error","hint","required","input-id"]))}}),Ie=x(nr,[["__scopeId","data-v-ddaaf491"]]),lr={class:"info-card__content"},or=["href"],rr=e.defineComponent({__name:"InfoCard",props:{icon:{},title:{},description:{default:""},buttonLabel:{default:""},buttonVariant:{default:"primary"},variant:{default:"default"},outlined:{type:Boolean,default:!1},href:{default:""}},emits:["click"],setup(a,{emit:t}){const n=a,l=t,o=e.computed(()=>!!n.buttonLabel),i=e.computed(()=>!!n.href);function r(){l("click")}return(s,c)=>(e.openBlock(),e.createBlock(e.unref(I),{variant:a.variant==="default"?"default":"outlined",padding:"md",class:e.normalizeClass(["info-card",`info-card--${a.variant}${a.outlined?"-outlined":""}`])},{default:e.withCtx(()=>[e.createElementVNode("div",lr,[e.createVNode(e.unref(y),{name:a.icon,size:32,class:e.normalizeClass(["info-card__icon",`info-card__icon--${a.variant}`])},null,8,["name","class"]),e.createElementVNode("h4",{class:e.normalizeClass(["info-card__title",`info-card__title--${a.variant}`])},e.toDisplayString(a.title),3),a.description?(e.openBlock(),e.createElementBlock("p",{key:0,class:e.normalizeClass(["info-card__description",`info-card__description--${a.variant}`])},e.toDisplayString(a.description),3)):e.createCommentVNode("",!0),e.renderSlot(s.$slots,"default",{},void 0,!0),o.value&&i.value?(e.openBlock(),e.createElementBlock("a",{key:1,href:a.href,target:"_blank",rel:"noopener noreferrer",class:"info-card__action"},[e.createVNode(e.unref(C),{variant:a.buttonVariant,onClick:r},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.buttonLabel),1)]),_:1},8,["variant"])],8,or)):o.value?(e.openBlock(),e.createBlock(e.unref(C),{key:2,variant:a.buttonVariant,class:"info-card__action",onClick:r},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.buttonLabel),1)]),_:1},8,["variant"])):e.createCommentVNode("",!0),e.renderSlot(s.$slots,"action",{},void 0,!0)])]),_:3},8,["variant","class"]))}}),ir=x(rr,[["__scopeId","data-v-1444b0f8"]]),sr={class:"input-range-money"},cr={class:"input-range-money__slider-container"},dr=["min","max","value","disabled"],ur={key:0,width:"18",height:"18",viewBox:"0 0 13 12",fill:"none",class:"input-range-money__edit-icon",xmlns:"http://www.w3.org/2000/svg"},mr=e.defineComponent({__name:"InputRangeMoney",props:{modelValue:{},min:{},max:{},isLoading:{type:Boolean,default:!1}},emits:["update:modelValue","open-modal"],setup(a,{emit:t}){const n=a,l=t,o=e.computed({get:()=>n.modelValue,set:s=>l("update:modelValue",s)});function i(s){const c=s.target;l("update:modelValue",parseInt(c.value))}function r(){n.isLoading||l("open-modal")}return(s,c)=>(e.openBlock(),e.createElementBlock("div",sr,[e.createElementVNode("div",cr,[e.createElementVNode("input",{type:"range",min:a.min,max:a.max,value:o.value,disabled:a.isLoading,class:e.normalizeClass(["input-range-money__slider",{"input-range-money__slider--disabled":a.isLoading}]),onInput:i},null,42,dr)]),e.createElementVNode("div",{class:e.normalizeClass(["input-range-money__display",{"input-range-money__display--clickable":!a.isLoading}]),onClick:r},[e.createVNode(e.unref(L),{value:a.modelValue,size:"lg",class:"input-range-money__value"},null,8,["value"]),a.isLoading?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("svg",ur,[...c[0]||(c[0]=[e.createElementVNode("path",{d:"M1.25 11.25H2.07356L10.0971 3.22644L9.27356 2.40289L1.25 10.4264V11.25ZM0.5 12V10.1106L10.3856 0.214894C10.4624 0.146381 10.5472 0.0934373 10.6401 0.0560623C10.7329 0.0186873 10.8297 0 10.9304 0C11.0312 0 11.1288 0.015863 11.2232 0.047588C11.3177 0.0793255 11.4048 0.136538 11.4846 0.219225L12.2851 1.02403C12.3678 1.10384 12.4243 1.19139 12.4546 1.28668C12.4849 1.38197 12.5 1.47726 12.5 1.57254C12.5 1.67418 12.4829 1.77142 12.4486 1.86426C12.4144 1.95709 12.3599 2.04192 12.2851 2.11875L2.38942 12H0.5ZM9.67811 2.82189L9.27356 2.40289L10.0971 3.22644L9.67811 2.82189Z"},null,-1)])]))],2)]))}}),hr=x(mr,[["__scopeId","data-v-8afb493a"]]),U=e.defineComponent({__name:"StatusBadge",props:{status:{},domain:{default:"contract"},size:{default:"md"},showIcon:{type:Boolean,default:!0},variant:{default:void 0},icon:{default:void 0},label:{default:void 0}},setup(a){const t=a,n={contract:{ATIVO:{variant:"success",icon:"check-circle",label:"Ativo"},INATIVO:{variant:"neutral",icon:"x",label:"Inativo"},PENDING:{variant:"warning",icon:"clock",label:"Pendente"},CANCELLED:{variant:"error",icon:"x",label:"Cancelado"}},loanRequest:{PENDING:{variant:"warning",icon:"clock",label:"Pendente"},PENDING_SIGNATURE:{variant:"info",icon:"pencil",label:"Aguardando Assinatura"},PROCESSING:{variant:"info",icon:"arrow-path",label:"Em Processamento"},ISSUED:{variant:"success",icon:"check-circle",label:"Emitido"},CANCELLED:{variant:"error",icon:"x",label:"Cancelado"},REJECTED:{variant:"error",icon:"x",label:"Rejeitado"}},lead:{NEW:{variant:"info",icon:"sparkles",label:"Novo"},CONTACTED:{variant:"primary",icon:"phone",label:"Contactado"},QUALIFIED:{variant:"success",icon:"check",label:"Qualificado"},LOST:{variant:"error",icon:"x",label:"Perdido"}},borrower:{ACTIVE:{variant:"success",icon:"check-circle",label:"Ativo"},INACTIVE:{variant:"neutral",icon:"x",label:"Inativo"},BLOCKED:{variant:"error",icon:"shield-exclamation",label:"Bloqueado"}},installment:{PENDING:{variant:"warning",icon:"clock",label:"Pendente"},PROCESSING:{variant:"info",icon:"arrow-path",label:"Processando"},PAID:{variant:"success",icon:"check-circle",label:"Pago"},OVERDUE:{variant:"error",icon:"exclamation-circle",label:"Vencida"},PAID_LATE:{variant:"warning",icon:"check",label:"Pago com Atraso"}}},l={variant:"neutral",icon:"information-circle",label:"Desconhecido"};function o(c,d){return n[c]?.[d]??{...l,label:d}}const i=e.computed(()=>{if(t.variant&&t.label)return{variant:t.variant,icon:t.icon??"information-circle",label:t.label};const c=o(t.domain,t.status);return{variant:t.variant??c.variant,icon:t.icon??c.icon,label:t.label??c.label}}),r=e.computed(()=>({sm:14,md:16,lg:18})[t.size]||16),s=e.computed(()=>`Status: ${i.value.label}`);return(c,d)=>(e.openBlock(),e.createBlock(e.unref(K),{variant:i.value.variant,size:a.size,label:i.value.label,role:"status","aria-label":s.value},e.createSlots({_:2},[a.showIcon&&i.value.icon?{name:"leading-icon",fn:e.withCtx(()=>[e.createVNode(e.unref(y),{name:i.value.icon,size:r.value,"aria-hidden":"true"},null,8,["name","size"])]),key:"0"}:void 0]),1032,["variant","size","label","aria-label"]))}}),fr=["aria-label"],pr={class:"installment-card__header"},vr={class:"installment-card__label installment-card__label--compact"},gr={class:"installment-card__content"},_r={class:"installment-card__amount installment-card__amount--compact"},kr={class:"installment-card__due"},Vr={class:"installment-card__header"},wr={class:"installment-card__label"},br={class:"installment-card__amount"},Er={class:"installment-card__due installment-card__due--full"},yr=e.defineComponent({__name:"InstallmentCard",props:{installment:{},totalInstallments:{default:void 0},variant:{default:"default"}},setup(a){const t=a;function n(r){return new Intl.NumberFormat("pt-BR",{style:"currency",currency:"BRL"}).format(r/100)}const l=e.computed(()=>{try{const r=new Date(t.installment.dueDate);return t.variant==="compact"?new Intl.DateTimeFormat("pt-BR",{day:"2-digit",month:"2-digit"}).format(r):new Intl.DateTimeFormat("pt-BR",{day:"2-digit",month:"2-digit",year:"numeric"}).format(r)}catch{return t.installment.dueDate}}),o=e.computed(()=>t.variant==="compact"&&t.totalInstallments?`Próxima Parcela (${t.installment.number}/${t.totalInstallments})`:`Parcela ${t.installment.number}`),i=e.computed(()=>n(t.installment.amount));return(r,s)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["installment-card",`installment-card--${a.variant} installment-card--${a.installment.status.toLowerCase()}`]),"data-testid":"installment-card",role:"article","aria-label":`${o.value}, valor ${i.value}, vencimento ${l.value}`},[a.variant==="compact"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",pr,[e.createElementVNode("p",vr,e.toDisplayString(o.value),1),e.createVNode(e.unref(U),{status:a.installment.status,domain:"installment",size:"sm"},null,8,["status"])]),e.createElementVNode("div",gr,[e.createElementVNode("span",_r,e.toDisplayString(i.value),1),e.createElementVNode("span",kr," • Venc: "+e.toDisplayString(l.value),1)])],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",Vr,[e.createElementVNode("p",wr,e.toDisplayString(o.value),1),e.createVNode(e.unref(U),{status:a.installment.status,domain:"installment",size:"sm"},null,8,["status"])]),e.createElementVNode("p",br,e.toDisplayString(i.value),1),e.createElementVNode("p",Er," Vencimento: "+e.toDisplayString(l.value),1)],64))],10,fr))}}),Nr=x(yr,[["__scopeId","data-v-e068aeeb"]]),xr={class:"installment-selector"},Br=["disabled"],Cr={class:"installment-selector__display"},$r={key:1,class:"installment-selector__value"},Ar={class:"installment-selector__count"},Mr={class:"installment-selector__amount"},Sr=["disabled"],Dr=e.defineComponent({__name:"InstallmentSelector",props:{installments:{},installmentValue:{},minInstallments:{},maxInstallments:{},step:{default:6},isLoading:{type:Boolean,default:!1}},emits:["update:installments"],setup(a,{emit:t}){const n=a,l=t,o=e.computed(()=>new Intl.NumberFormat("pt-BR",{style:"currency",currency:"BRL"}).format(n.installmentValue/100)),i=e.computed(()=>n.installments<=n.minInstallments||n.isLoading),r=e.computed(()=>n.installments>=n.maxInstallments||n.isLoading);function s(){if(i.value)return;const d=Math.max(n.installments-n.step,n.minInstallments);l("update:installments",d)}function c(){if(r.value)return;const d=Math.min(n.installments+n.step,n.maxInstallments);l("update:installments",d)}return(d,h)=>(e.openBlock(),e.createElementBlock("div",xr,[e.createElementVNode("button",{type:"button",class:"installment-selector__button",disabled:i.value,"aria-label":"Diminuir parcelas",onClick:s},[e.createVNode(e.unref(y),{name:"minus",size:20})],8,Br),e.createElementVNode("div",Cr,[a.isLoading?(e.openBlock(),e.createBlock(e.unref(q),{key:0,size:"md"})):(e.openBlock(),e.createElementBlock("div",$r,[e.createElementVNode("span",Ar,e.toDisplayString(a.installments)+"x de ",1),e.createElementVNode("span",Mr,e.toDisplayString(o.value),1)]))]),e.createElementVNode("button",{type:"button",class:"installment-selector__button",disabled:r.value,"aria-label":"Aumentar parcelas",onClick:c},[e.createVNode(e.unref(y),{name:"plus",size:20})],8,Sr)]))}}),zr=x(Dr,[["__scopeId","data-v-890f07eb"]]),Ir={class:"margin-indicator"},Tr={class:"margin-indicator__header"},Lr={class:"margin-indicator__label"},Pr={key:0,class:"margin-indicator__percentage"},Fr={class:"margin-indicator__bar"},Zr={class:"margin-indicator__bar-track"},Rr={key:0,class:"margin-indicator__values"},qr={class:"margin-indicator__value margin-indicator__value--used"},Or={class:"margin-indicator__value-amount"},Ur={class:"margin-indicator__value margin-indicator__value--available"},jr={class:"margin-indicator__value margin-indicator__value--total"},Hr={class:"margin-indicator__value-amount"},Gr=e.defineComponent({__name:"MarginIndicator",props:{total:{},used:{},showValues:{type:Boolean,default:!0},showPercentage:{type:Boolean,default:!0},label:{default:"Margem consignável"}},setup(a){const t=a,n=e.computed(()=>Math.max(0,t.total-t.used)),l=e.computed(()=>t.total<=0?0:Math.min(100,t.used/t.total*100)),o=e.computed(()=>100-l.value),i=e.computed(()=>l.value>=100?"exhausted":l.value>=80?"warning":l.value>=50?"moderate":"available"),r=s=>new Intl.NumberFormat("pt-BR",{style:"currency",currency:"BRL"}).format(s);return(s,c)=>(e.openBlock(),e.createElementBlock("div",Ir,[e.createElementVNode("div",Tr,[e.createElementVNode("span",Lr,e.toDisplayString(a.label),1),a.showPercentage?(e.openBlock(),e.createElementBlock("span",Pr,e.toDisplayString(o.value.toFixed(0))+"% disponível ",1)):e.createCommentVNode("",!0)]),e.createElementVNode("div",Fr,[e.createElementVNode("div",Zr,[e.createElementVNode("div",{class:e.normalizeClass(["margin-indicator__bar-used",`margin-indicator__bar-used--${i.value}`]),style:e.normalizeStyle({width:`${l.value}%`})},null,6)])]),a.showValues?(e.openBlock(),e.createElementBlock("div",Rr,[e.createElementVNode("div",qr,[c[0]||(c[0]=e.createElementVNode("span",{class:"margin-indicator__value-label"},"Utilizado",-1)),e.createElementVNode("span",Or,e.toDisplayString(r(a.used)),1)]),e.createElementVNode("div",Ur,[c[1]||(c[1]=e.createElementVNode("span",{class:"margin-indicator__value-label"},"Disponível",-1)),e.createElementVNode("span",{class:e.normalizeClass(["margin-indicator__value-amount",`margin-indicator__value-amount--${i.value}`])},e.toDisplayString(r(n.value)),3)]),e.createElementVNode("div",jr,[c[2]||(c[2]=e.createElementVNode("span",{class:"margin-indicator__value-label"},"Total",-1)),e.createElementVNode("span",Hr,e.toDisplayString(r(a.total)),1)])])):e.createCommentVNode("",!0)]))}}),Wr=x(Gr,[["__scopeId","data-v-4dcfbf3a"]]),Qr=["aria-labelledby","aria-describedby"],Yr=["id"],Kr={key:0,class:"modal__header"},Jr=["id"],Xr=["id"],ei={key:1,class:"modal__footer"},ti=e.defineComponent({__name:"Modal",props:{open:{type:Boolean,default:!1},title:{},closeOnOverlay:{type:Boolean,default:!0},modalId:{}},emits:["close"],setup(a,{emit:t}){const n=a,l=t,o=e.computed(()=>n.modalId||`modal-${Math.random().toString(36).substr(2,9)}`),i=e.computed(()=>`${o.value}-title`),r=e.computed(()=>`${o.value}-content`),s=e.ref(null),c=e.ref(null),d=()=>s.value?Array.from(s.value.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])')).filter(u=>!u.hasAttribute("disabled")&&!u.hasAttribute("aria-hidden")):[];function h(){if(!s.value)return;const m=d();if(m.length===0)return;m[0]?.focus();const u=v=>{if(v.key!=="Tab")return;const V=d();if(V.length===0)return;const b=V[0],k=V[V.length-1];!b||!k||(v.shiftKey?document.activeElement===b&&(v.preventDefault(),k.focus()):document.activeElement===k&&(v.preventDefault(),b.focus()))};s.value.addEventListener("keydown",u),s.value.__focusTrapHandler=u}function f(){if(!s.value)return;const m=s.value.__focusTrapHandler;m&&(s.value.removeEventListener("keydown",m),delete s.value.__focusTrapHandler)}e.watch(()=>n.open,m=>{m?(c.value=document.activeElement,document.body.style.overflow="hidden",e.nextTick(()=>h())):(f(),document.body.style.overflow="",e.nextTick(()=>{c.value&&(c.value.focus(),c.value=null)}))},{immediate:!0});function p(){l("close")}function g(m){m.key==="Escape"&&n.open&&p()}function _(m){n.closeOnOverlay&&m.target===m.currentTarget&&p()}return e.onMounted(()=>{document.addEventListener("keydown",g)}),e.onUnmounted(()=>{document.removeEventListener("keydown",g),document.body.style.overflow="",f()}),(m,u)=>(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[e.createVNode(e.Transition,{"enter-active-class":"modal-enter-active","enter-from-class":"modal-enter-from","enter-to-class":"modal-enter-to","leave-active-class":"modal-leave-active","leave-from-class":"modal-leave-from","leave-to-class":"modal-leave-to"},{default:e.withCtx(()=>[a.open?(e.openBlock(),e.createElementBlock("div",{key:0,class:"modal-overlay",role:"dialog","aria-modal":!0,"aria-labelledby":a.title?i.value:void 0,"aria-describedby":r.value,onClick:_},[e.createElementVNode("div",{ref_key:"modalRef",ref:s,class:"modal",id:o.value,onClick:u[0]||(u[0]=e.withModifiers(()=>{},["stop"]))},[a.title?(e.openBlock(),e.createElementBlock("div",Kr,[e.createElementVNode("h2",{id:i.value,class:"modal__title"},e.toDisplayString(a.title),9,Jr),e.createElementVNode("button",{type:"button",class:"modal__close","aria-label":"Fechar modal",onClick:p},[e.createVNode(e.unref(y),{name:"x",size:24})])])):e.createCommentVNode("",!0),e.createElementVNode("div",{id:r.value,class:"modal__content"},[e.renderSlot(m.$slots,"default",{},void 0,!0)],8,Xr),m.$slots.footer?(e.openBlock(),e.createElementBlock("div",ei,[e.renderSlot(m.$slots,"footer",{},void 0,!0)])):e.createCommentVNode("",!0)],8,Yr)],8,Qr)):e.createCommentVNode("",!0)]),_:3})]))}}),le=x(ti,[["__scopeId","data-v-32f840f3"]]),ai=["aria-label","disabled"],ni=e.defineComponent({__name:"PasswordInput",props:{modelValue:{default:""},label:{default:"Senha"},placeholder:{default:"Digite sua senha"},disabled:{type:Boolean,default:!1},error:{type:[String,Boolean]},helperText:{},required:{type:Boolean,default:!1},id:{},name:{}},emits:["update:modelValue","blur","focus"],setup(a,{emit:t}){const n=a,l=t,o=e.ref(!1),i=e.computed(()=>o.value?"text":"password"),r=e.computed(()=>!!n.error),s=()=>{n.disabled||(o.value=!o.value)},c=d=>{l("update:modelValue",d)};return(d,h)=>(e.openBlock(),e.createBlock(e.unref(j),{label:a.label,error:a.error,hint:a.helperText,required:a.required,"input-id":a.id},{default:e.withCtx(({id:f,ariaInvalid:p,ariaDescribedby:g,ariaRequired:_})=>[e.createVNode(e.unref(Z),{id:f,name:a.name,"model-value":a.modelValue,type:i.value,placeholder:a.placeholder,disabled:a.disabled,"has-error":r.value,"aria-invalid":p,"aria-describedby":g,"aria-required":_,autocomplete:"current-password","onUpdate:modelValue":c,onBlur:h[0]||(h[0]=m=>l("blur",m)),onFocus:h[1]||(h[1]=m=>l("focus",m))},{"trailing-icon":e.withCtx(()=>[e.createElementVNode("button",{type:"button",class:e.normalizeClass(["toggle-password",{"toggle-password--disabled":a.disabled}]),"aria-label":o.value?"Ocultar senha":"Mostrar senha",disabled:a.disabled,onClick:s},[o.value?(e.openBlock(),e.createBlock(e.unref(y),{key:0,name:"eye-off",size:20})):(e.openBlock(),e.createBlock(e.unref(y),{key:1,name:"eye",size:20}))],10,ai)]),_:1},8,["id","name","model-value","type","placeholder","disabled","has-error","aria-invalid","aria-describedby","aria-required"])]),_:1},8,["label","error","hint","required","input-id"]))}}),G=x(ni,[["__scopeId","data-v-4a29a539"]]),li={class:"pending-proposal-banner__content"},oi={class:"pending-proposal-banner__icon"},ri={class:"pending-proposal-banner__info"},ii={class:"pending-proposal-banner__details"},si={class:"pending-proposal-banner__amount"},ci={class:"pending-proposal-banner__id"},di={class:"pending-proposal-banner__date"},ui={class:"pending-proposal-banner__actions"},mi=e.defineComponent({__name:"PendingProposalBanner",props:{proposalId:{},amount:{},createdAt:{},currentStep:{},dismissible:{type:Boolean,default:!1}},emits:["continue","details","dismiss"],setup(a,{emit:t}){const n=a,l=t,o=e.computed(()=>new Intl.NumberFormat("pt-BR",{style:"currency",currency:"BRL"}).format(n.amount)),i=e.computed(()=>{if(!n.createdAt)return null;const r=typeof n.createdAt=="string"?new Date(n.createdAt):n.createdAt;return new Intl.DateTimeFormat("pt-BR",{day:"2-digit",month:"2-digit",year:"numeric"}).format(r)});return(r,s)=>(e.openBlock(),e.createBlock(e.unref(I),{variant:"outlined",padding:"md",class:"pending-proposal-banner"},{default:e.withCtx(()=>[e.createElementVNode("div",li,[e.createElementVNode("div",oi,[e.createVNode(e.unref(y),{name:"clock",size:"lg"})]),e.createElementVNode("div",ri,[e.createVNode(e.unref(T),{variant:"body",weight:"semibold",class:"pending-proposal-banner__title"},{default:e.withCtx(()=>[...s[3]||(s[3]=[e.createTextVNode(" Você tem uma proposta em andamento ",-1)])]),_:1}),e.createElementVNode("div",ii,[e.createElementVNode("span",si,e.toDisplayString(o.value),1),s[5]||(s[5]=e.createElementVNode("span",{class:"pending-proposal-banner__separator"},"•",-1)),e.createElementVNode("span",ci,"Proposta #"+e.toDisplayString(a.proposalId),1),i.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[s[4]||(s[4]=e.createElementVNode("span",{class:"pending-proposal-banner__separator"},"•",-1)),e.createElementVNode("span",di,e.toDisplayString(i.value),1)],64)):e.createCommentVNode("",!0)]),a.currentStep?(e.openBlock(),e.createBlock(e.unref(T),{key:0,variant:"caption",color:"muted"},{default:e.withCtx(()=>[e.createTextVNode(" Etapa: "+e.toDisplayString(a.currentStep),1)]),_:1})):e.createCommentVNode("",!0)]),a.dismissible?(e.openBlock(),e.createElementBlock("button",{key:0,type:"button",class:"pending-proposal-banner__dismiss","aria-label":"Dispensar",onClick:s[0]||(s[0]=c=>l("dismiss"))},[e.createVNode(e.unref(y),{name:"x",size:"sm"})])):e.createCommentVNode("",!0)]),e.createElementVNode("div",ui,[e.createVNode(e.unref(C),{variant:"outline",size:"sm",onClick:s[1]||(s[1]=c=>l("details"))},{default:e.withCtx(()=>[...s[6]||(s[6]=[e.createTextVNode(" Ver detalhes ",-1)])]),_:1}),e.createVNode(e.unref(C),{variant:"primary",size:"sm",onClick:s[2]||(s[2]=c=>l("continue"))},{default:e.withCtx(()=>[...s[7]||(s[7]=[e.createTextVNode(" Continuar proposta ",-1)])]),_:1})])]),_:1}))}}),hi=x(mi,[["__scopeId","data-v-75bb9d94"]]),fi={class:"pin-input"},pi={class:"pin-input__fields"},vi=["onUpdate:modelValue","disabled","onInput","onKeydown","onPaste"],gi=e.defineComponent({__name:"PinInput",props:{modelValue:{default:""},length:{default:6},disabled:{type:Boolean,default:!1},error:{type:Boolean,default:!1},autoSubmit:{type:Boolean,default:!1}},emits:["update:modelValue","complete","submit"],setup(a,{expose:t,emit:n}){const l=a,o=n,i=e.ref([]),r=e.ref(Array(l.length).fill(""));e.watch(()=>l.modelValue,g=>{const _=(g||"").split("").slice(0,l.length);for(let m=0;m<l.length;m++)r.value[m]=_[m]||""},{immediate:!0}),e.watch(()=>l.length,g=>{r.value=Array(g).fill("")});const s=e.computed(()=>r.value.join(""));e.watch(s,g=>{o("update:modelValue",g),g.length===l.length&&(o("complete",g),l.autoSubmit&&e.nextTick(()=>{o("submit",g)}))});const c=()=>{r.value=Array(l.length).fill(""),d(0)},d=g=>{e.nextTick(()=>{i.value[g]&&i.value[g].focus()})},h=(g,_)=>{let u=_.target.value;u=u.replace(/[^0-9]/g,""),u.length>1&&(u=u[u.length-1]),r.value[g]=u,u&&g<l.length-1&&d(g+1)},f=(g,_)=>{_.key==="Backspace"&&!r.value[g]&&g>0&&(_.preventDefault(),r.value[g-1]="",d(g-1)),_.key==="ArrowLeft"&&g>0&&(_.preventDefault(),d(g-1)),_.key==="ArrowRight"&&g<l.length-1&&(_.preventDefault(),d(g+1)),_.key==="Enter"&&(_.preventDefault(),s.value.length===l.length&&o("submit",s.value))},p=g=>{g.preventDefault();const m=(g.clipboardData?.getData("text")||"").replace(/[^0-9]/g,"").slice(0,l.length);for(let v=0;v<l.length;v++)r.value[v]=m[v]||"";const u=r.value.findIndex(v=>!v);d(u!==-1?u:l.length-1)};return e.onMounted(()=>{d(0)}),t({clear:c,focus:()=>d(0)}),(g,_)=>(e.openBlock(),e.createElementBlock("div",fi,[e.createElementVNode("div",pi,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.value,(m,u)=>e.withDirectives((e.openBlock(),e.createElementBlock("input",{key:u,ref_for:!0,ref:v=>i.value[u]=v,"onUpdate:modelValue":v=>r.value[u]=v,type:"text",inputmode:"numeric",maxlength:"1",autocomplete:"one-time-code",disabled:a.disabled,class:e.normalizeClass(["pin-input__field",{"pin-input__field--error":a.error,"pin-input__field--disabled":a.disabled,"pin-input__field--filled":!!m}]),onInput:v=>h(u,v),onKeydown:v=>f(u,v),onPaste:v=>u===0?p(v):null},null,42,vi)),[[e.vModelText,r.value[u]]])),128))])]))}}),_i=x(gi,[["__scopeId","data-v-dfcdac30"]]),ki={class:"progress-bar"},Vi={key:0,class:"progress-bar__header"},wi={key:0,class:"progress-bar__label"},bi={key:1,class:"progress-bar__percentage"},Ei=["aria-valuenow","aria-label"],yi=e.defineComponent({__name:"ProgressBar",props:{value:{},label:{},color:{default:"primary"},showPercentage:{type:Boolean,default:!0},size:{default:"md"}},setup(a){const t=a,n=e.computed(()=>{const r=t.value??0;return Math.round(Math.max(0,Math.min(100,r)))}),l=e.computed(()=>`${n.value}%`),o=e.computed(()=>t.label||t.showPercentage),i=e.computed(()=>t.label||"Progress");return(r,s)=>(e.openBlock(),e.createElementBlock("div",ki,[o.value?(e.openBlock(),e.createElementBlock("div",Vi,[a.label?(e.openBlock(),e.createElementBlock("span",wi,e.toDisplayString(a.label),1)):e.createCommentVNode("",!0),a.showPercentage?(e.openBlock(),e.createElementBlock("span",bi,e.toDisplayString(n.value)+"% ",1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["progress-bar__track",`progress-bar__track--${a.size}`]),role:"progressbar","aria-valuenow":n.value,"aria-valuemin":"0","aria-valuemax":"100","aria-label":i.value},[e.createElementVNode("div",{class:e.normalizeClass(["progress-bar__fill",`progress-bar__fill--${a.color}`]),style:e.normalizeStyle({width:l.value})},null,6)],10,Ei)]))}}),Te=x(yi,[["__scopeId","data-v-02590587"]]),Ni={class:"search-bar"},xi=["disabled"],Bi=e.defineComponent({__name:"SearchBar",props:{modelValue:{default:""},placeholder:{default:"Buscar..."},disabled:{type:Boolean,default:!1},debounce:{default:300},showClear:{type:Boolean,default:!0},id:{}},emits:["update:modelValue","search","clear"],setup(a,{emit:t}){const n=a,l=t,o=e.ref(n.modelValue);let i=null;e.watch(()=>n.modelValue,h=>{o.value=h});const r=e.computed(()=>o.value.length>0);function s(h){o.value=h,l("update:modelValue",h),n.debounce>0?(i&&clearTimeout(i),i=setTimeout(()=>{l("search",h)},n.debounce)):l("search",h)}function c(){o.value="",l("update:modelValue",""),l("search",""),l("clear")}function d(h){h.key==="Escape"&&r.value&&c()}return(h,f)=>(e.openBlock(),e.createElementBlock("div",Ni,[e.createVNode(e.unref(Z),{id:a.id,"model-value":o.value,placeholder:a.placeholder,disabled:a.disabled,type:"text",inputmode:"search",autocomplete:"off","onUpdate:modelValue":s,onKeydown:d},e.createSlots({"leading-icon":e.withCtx(()=>[e.createVNode(e.unref(y),{name:"magnifying-glass",size:"sm"})]),_:2},[a.showClear&&r.value?{name:"trailing-icon",fn:e.withCtx(()=>[e.createElementVNode("button",{type:"button",class:"search-bar__clear",disabled:a.disabled,"aria-label":"Limpar busca",onClick:c},[e.createVNode(e.unref(y),{name:"x",size:"sm"})],8,xi)]),key:"0"}:void 0]),1032,["id","model-value","placeholder","disabled"])]))}}),Ci=x(Bi,[["__scopeId","data-v-ad3adeb9"]]),$i={class:"simulation-loading"},Ai={class:"simulation-loading__spinner"},Mi={class:"simulation-loading__message"},Si={key:0,class:"simulation-loading__progress"},Di={class:"simulation-loading__progress-track"},zi=e.defineComponent({__name:"SimulationLoading",props:{title:{default:"Processando simulação"},messages:{default:()=>["Verificando sua elegibilidade...","Consultando melhores ofertas...","Calculando taxas e parcelas...","Preparando resultados..."]},messageInterval:{default:2500},showProgress:{type:Boolean,default:!0}},setup(a){const t=a,n=e.ref(0);let l=null;const o=e.computed(()=>t.messages[n.value]),i=e.computed(()=>(n.value+1)/t.messages.length*100);return e.onMounted(()=>{t.messages.length>1&&(l=setInterval(()=>{n.value=(n.value+1)%t.messages.length},t.messageInterval))}),e.onUnmounted(()=>{l&&clearInterval(l)}),(r,s)=>(e.openBlock(),e.createElementBlock("div",$i,[e.createElementVNode("div",Ai,[e.createVNode(e.unref(q),{size:"lg"})]),e.createVNode(e.unref(T),{variant:"h3",class:"simulation-loading__title"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.title),1)]),_:1}),e.createElementVNode("div",Mi,[e.createVNode(e.Transition,{name:"fade",mode:"out-in"},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.unref(T),{key:n.value,variant:"body",color:"muted"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.value),1)]),_:1}))]),_:1})]),a.showProgress?(e.openBlock(),e.createElementBlock("div",Si,[e.createElementVNode("div",Di,[e.createElementVNode("div",{class:"simulation-loading__progress-bar",style:e.normalizeStyle({width:`${i.value}%`})},null,4)]),e.createVNode(e.unref(T),{variant:"caption",color:"muted",class:"simulation-loading__step"},{default:e.withCtx(()=>[e.createTextVNode(" Etapa "+e.toDisplayString(n.value+1)+" de "+e.toDisplayString(a.messages.length),1)]),_:1})])):e.createCommentVNode("",!0)]))}}),Ii=x(zi,[["__scopeId","data-v-d06b3891"]]),Ti=["aria-valuenow","aria-valuemax"],Li=["aria-label"],Pi=["aria-current"],Fi={class:"sr-only"},Zi={key:0},Ri={key:1},qi={key:2},Oi=e.defineComponent({__name:"StepperProgress",props:{currentStep:{},steps:{}},setup(a){const t=a;function n(r){return r<t.currentStep}function l(r){return r===t.currentStep}function o(r){return r>t.currentStep}const i=e.computed(()=>`Etapa ${t.currentStep} de ${t.steps.length}`);return(r,s)=>(e.openBlock(),e.createElementBlock("nav",{class:"stepper-progress","aria-label":"Progresso da simulação","aria-valuenow":a.currentStep,"aria-valuemin":1,"aria-valuemax":a.steps.length,role:"progressbar"},[e.createElementVNode("ol",{class:"stepper-progress__list","aria-label":i.value},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.steps,(c,d)=>(e.openBlock(),e.createElementBlock("li",{key:c.id,class:"stepper-progress__item"},[e.createElementVNode("div",{class:e.normalizeClass(["stepper-progress__circle",{"stepper-progress__circle--complete":n(c.id),"stepper-progress__circle--current":l(c.id),"stepper-progress__circle--future":o(c.id)}]),"aria-current":l(c.id)?"step":void 0},[n(c.id)?(e.openBlock(),e.createBlock(e.unref(y),{key:0,name:"check",size:20,class:"stepper-progress__icon"})):(e.openBlock(),e.createBlock(e.unref(y),{key:1,name:c.icon,size:l(c.id)?22:20,class:"stepper-progress__icon"},null,8,["name","size"]))],10,Pi),e.createElementVNode("span",{class:e.normalizeClass(["stepper-progress__label",{"stepper-progress__label--active":n(c.id)||l(c.id)}])},e.toDisplayString(c.label),3),d<a.steps.length-1?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["stepper-progress__line",{"stepper-progress__line--complete":d<a.currentStep-1}]),"aria-hidden":"true"},null,2)):e.createCommentVNode("",!0)]))),128))],8,Li),e.createElementVNode("p",Fi,[e.createTextVNode(e.toDisplayString(i.value)+": ",1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.steps,c=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:c.id},[n(c.id)?(e.openBlock(),e.createElementBlock("span",Zi,e.toDisplayString(c.label)+" completa. ",1)):l(c.id)?(e.openBlock(),e.createElementBlock("span",Ri,e.toDisplayString(c.label)+" atual. ",1)):(e.openBlock(),e.createElementBlock("span",qi,e.toDisplayString(c.label)+" pendente. ",1))],64))),128))])],8,Ti))}}),Le=x(Oi,[["__scopeId","data-v-7e39c127"]]),Ui={class:"welcome-card__content"},ji={class:"welcome-card__text"},Hi={key:0,class:"welcome-card__actions"},Gi=e.defineComponent({__name:"WelcomeCard",props:{userName:{},userFullName:{},avatarUrl:{},subtitle:{},greeting:{},showAvatar:{type:Boolean,default:!0}},setup(a){const t=a,n=e.computed(()=>{const r=new Date().getHours();return r>=5&&r<12?"Bom dia":r>=12&&r<18?"Boa tarde":"Boa noite"}),l=e.computed(()=>t.greeting||n.value),o=e.computed(()=>t.subtitle||"Bem-vindo(a) de volta!"),i=e.computed(()=>t.userFullName||t.userName);return(r,s)=>(e.openBlock(),e.createBlock(e.unref(I),{variant:"elevated",padding:"lg",class:"welcome-card"},{default:e.withCtx(()=>[e.createElementVNode("div",Ui,[a.showAvatar?(e.openBlock(),e.createBlock(e.unref(H),{key:0,name:i.value,src:a.avatarUrl,size:"lg",class:"welcome-card__avatar"},null,8,["name","src"])):e.createCommentVNode("",!0),e.createElementVNode("div",ji,[e.createVNode(e.unref(T),{variant:"h3",class:"welcome-card__greeting"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.value)+", "+e.toDisplayString(a.userName)+"! ",1)]),_:1}),e.createVNode(e.unref(T),{variant:"body",color:"muted",class:"welcome-card__subtitle"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.value),1)]),_:1})])]),r.$slots.actions?(e.openBlock(),e.createElementBlock("div",Hi,[e.renderSlot(r.$slots,"actions",{},void 0,!0)])):e.createCommentVNode("",!0)]),_:3}))}}),Wi=x(Gi,[["__scopeId","data-v-d7f4b9ec"]]),Qi={key:0,class:"auth-layout__overlay"},Yi={key:0,class:"auth-layout__logo"},Ki={key:0,class:"auth-layout__header"},Ji={key:0,class:"auth-layout__title"},Xi={key:1,class:"auth-layout__subtitle"},es={class:"auth-layout__content"},ts={class:"auth-layout__footer"},as={class:"auth-layout__footer-text"},ns=e.defineComponent({__name:"AuthLayout",props:{title:{default:""},subtitle:{default:""},showLogo:{type:Boolean,default:!0},logoSrc:{default:"/logo-white.svg"},logoAlt:{default:"Logo"},backgroundImage:{default:""},backgroundPosition:{default:"center"},size:{default:"sm"}},setup(a){const t=a,n=e.computed(()=>t.title||t.subtitle),l=e.computed(()=>t.backgroundImage?{backgroundImage:`url(${t.backgroundImage})`,backgroundPosition:t.backgroundPosition,backgroundSize:"cover",backgroundRepeat:"no-repeat"}:{});return(o,i)=>(e.openBlock(),e.createElementBlock("div",{class:"auth-layout",style:e.normalizeStyle(l.value)},[a.backgroundImage?(e.openBlock(),e.createElementBlock("div",Qi)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["auth-layout__container",{"auth-layout__container--lg":a.size==="lg"}])},[a.showLogo?(e.openBlock(),e.createElementBlock("div",Yi,[e.createVNode(e.unref(Q),{size:"lg",src:a.logoSrc,alt:a.logoAlt},null,8,["src","alt"])])):e.createCommentVNode("",!0),e.createVNode(e.unref(I),{class:"auth-layout__card",variant:"elevated"},{default:e.withCtx(()=>[n.value?(e.openBlock(),e.createElementBlock("div",Ki,[a.title?(e.openBlock(),e.createElementBlock("h1",Ji,e.toDisplayString(a.title),1)):e.createCommentVNode("",!0),a.subtitle?(e.openBlock(),e.createElementBlock("p",Xi,e.toDisplayString(a.subtitle),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",es,[e.renderSlot(o.$slots,"default",{},void 0,!0)])]),_:3}),e.createElementVNode("div",ts,[e.createElementVNode("p",as,[e.renderSlot(o.$slots,"footer",{},()=>[e.createTextVNode(" © "+e.toDisplayString(new Date().getFullYear())+" Todos os direitos reservados. ",1)],!0)])])],2)],4))}}),ls=x(ns,[["__scopeId","data-v-3c2f2c75"]]),os=e.defineComponent({__name:"CreatePasswordForm",props:{loading:{type:Boolean,default:!1},errorMessage:{default:""},successMessage:{default:""},errors:{},submitText:{default:"Criar senha"},loadingText:{default:"Criando senha..."}},emits:["submit"],setup(a,{emit:t}){const n=a,l=t,o=e.ref(""),i=e.ref(""),r=e.computed(()=>!!(n.errors?.newPassword||n.errors?.confirmPassword)),s=e.computed(()=>n.loading||r.value||!o.value||!i.value),c=()=>{l("submit",{newPassword:o.value,confirmPassword:i.value})};return(d,h)=>(e.openBlock(),e.createElementBlock("form",{class:"create-password-form",onSubmit:e.withModifiers(c,["prevent"])},[a.successMessage?(e.openBlock(),e.createBlock(e.unref(O),{key:0,variant:"success",message:a.successMessage,dismissible:!1,class:"create-password-form__alert"},null,8,["message"])):e.createCommentVNode("",!0),a.errorMessage?(e.openBlock(),e.createBlock(e.unref(O),{key:1,variant:"error",message:a.errorMessage,dismissible:!1,class:"create-password-form__alert"},null,8,["message"])):e.createCommentVNode("",!0),h[2]||(h[2]=e.createElementVNode("div",{class:"create-password-form__instructions"},[e.createElementVNode("p",{class:"create-password-form__instructions-title"},"Sua senha deve conter:"),e.createElementVNode("ul",{class:"create-password-form__instructions-list"},[e.createElementVNode("li",null,"No mínimo 8 caracteres"),e.createElementVNode("li",null,"Pelo menos uma letra maiúscula"),e.createElementVNode("li",null,"Pelo menos uma letra minúscula"),e.createElementVNode("li",null,"Pelo menos um número"),e.createElementVNode("li",null,"Pelo menos um caractere especial (@$!%*?&#)")])],-1)),e.createVNode(e.unref(G),{id:"newPassword",modelValue:o.value,"onUpdate:modelValue":h[0]||(h[0]=f=>o.value=f),name:"newPassword",label:"Nova senha",placeholder:"Digite sua nova senha",error:a.errors?.newPassword,disabled:a.loading,required:""},null,8,["modelValue","error","disabled"]),e.createVNode(e.unref(G),{id:"confirmPassword",modelValue:i.value,"onUpdate:modelValue":h[1]||(h[1]=f=>i.value=f),name:"confirmPassword",label:"Confirmar senha",placeholder:"Digite sua senha novamente",error:a.errors?.confirmPassword,disabled:a.loading,required:""},null,8,["modelValue","error","disabled"]),e.createVNode(e.unref(C),{type:"submit",variant:"primary",loading:a.loading,disabled:s.value,block:""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.loading?a.loadingText:a.submitText),1)]),_:1},8,["loading","disabled"]),e.renderSlot(d.$slots,"default",{},void 0,!0)],32))}}),rs=x(os,[["__scopeId","data-v-4bda9314"]]),is={class:"dashboard-header__content"},ss={class:"dashboard-header__info"},cs={class:"dashboard-header__greeting"},ds={class:"dashboard-header__name"},us={class:"dashboard-header__cpf"},ms={class:"dashboard-header__cpf-text"},hs={key:0,class:"dashboard-header__avatar"},fs=e.defineComponent({__name:"DashboardHeader",props:{userName:{default:"Usuário"},userCpf:{default:""},showAvatar:{type:Boolean,default:!0}},setup(a){const t=a,n=e.computed(()=>t.userCpf?`***.***.***-${t.userCpf.replace(/\D/g,"").slice(-2)}`:"***.***.***-**");return(l,o)=>(e.openBlock(),e.createBlock(e.unref(I),{variant:"elevated",class:"dashboard-header"},{default:e.withCtx(()=>[e.createElementVNode("div",is,[e.createElementVNode("div",ss,[e.createElementVNode("div",cs,[e.createElementVNode("p",ds," Olá, "+e.toDisplayString(a.userName)+"! ",1),e.createElementVNode("div",us,[e.createVNode(e.unref(y),{name:"identification",size:16}),e.createElementVNode("p",ms," CPF: "+e.toDisplayString(n.value),1)])])]),a.showAvatar?(e.openBlock(),e.createElementBlock("div",hs,[e.createVNode(e.unref(y),{name:"user-circle",size:32})])):e.createCommentVNode("",!0)])]),_:1}))}}),ps=x(fs,[["__scopeId","data-v-9a9debaf"]]),vs={class:"footer","aria-label":"Footer navigation"},gs={class:"footer__container"},_s={class:"footer__grid"},ks={key:0,class:"footer__nav","aria-label":"Primary navigation"},Vs={class:"footer__nav-list"},ws=["href","onClick"],bs=["href","onClick"],Es={key:1,class:"footer__nav","aria-label":"Legal navigation"},ys={class:"footer__nav-list"},Ns=["href","onClick"],xs=["href","onClick"],Bs={class:"footer__brand"},Cs={class:"footer__logo"},$s=e.defineComponent({__name:"Footer",props:{primaryLinks:{default:()=>[]},secondaryLinks:{default:()=>[]},primaryTitle:{default:"Links Principais"},secondaryTitle:{default:"Links Legais"},copyrightText:{default:""},logoSrc:{default:"/logo.png"},logoAlt:{default:"Logo"}},emits:["link-click"],setup(a,{emit:t}){const n=a,l=t,o=e.computed(()=>{const s=new Date().getFullYear();return n.copyrightText?n.copyrightText.replace("{year}",s.toString()):`© ${s} Todos os direitos reservados.`}),i=s=>s.startsWith("/"),r=(s,c)=>{l("link-click",s)};return(s,c)=>(e.openBlock(),e.createElementBlock("footer",vs,[e.createElementVNode("div",gs,[e.createElementVNode("div",_s,[a.primaryLinks.length>0?(e.openBlock(),e.createElementBlock("nav",ks,[e.createVNode(e.unref(T),{variant:"body",weight:"semibold",class:"footer__nav-title"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.primaryTitle),1)]),_:1}),e.createElementVNode("ul",Vs,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.primaryLinks,(d,h)=>(e.openBlock(),e.createElementBlock("li",{key:h},[!i(d.url)||d.external?(e.openBlock(),e.createElementBlock("a",{key:0,href:d.url,target:"_blank",rel:"noopener noreferrer",class:"footer__link",onClick:f=>r(d)},e.toDisplayString(d.label),9,ws)):(e.openBlock(),e.createElementBlock("a",{key:1,href:d.url,class:"footer__link",onClick:e.withModifiers(f=>r(d),["prevent"])},e.toDisplayString(d.label),9,bs))]))),128))])])):e.createCommentVNode("",!0),a.secondaryLinks.length>0?(e.openBlock(),e.createElementBlock("nav",Es,[e.createVNode(e.unref(T),{variant:"body",weight:"semibold",class:"footer__nav-title"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.secondaryTitle),1)]),_:1}),e.createElementVNode("ul",ys,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.secondaryLinks,(d,h)=>(e.openBlock(),e.createElementBlock("li",{key:h},[!i(d.url)||d.external?(e.openBlock(),e.createElementBlock("a",{key:0,href:d.url,target:"_blank",rel:"noopener noreferrer",class:"footer__link",onClick:f=>r(d)},e.toDisplayString(d.label),9,Ns)):(e.openBlock(),e.createElementBlock("a",{key:1,href:d.url,class:"footer__link",onClick:e.withModifiers(f=>r(d),["prevent"])},e.toDisplayString(d.label),9,xs))]))),128))])])):e.createCommentVNode("",!0),e.createElementVNode("div",Bs,[e.createElementVNode("div",Cs,[e.createVNode(e.unref(Q),{size:"sm",src:a.logoSrc,alt:a.logoAlt},null,8,["src","alt"])]),e.createVNode(e.unref(T),{variant:"caption",color:"muted"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.value),1)]),_:1})])]),e.renderSlot(s.$slots,"default",{},void 0,!0)])]))}}),As=x($s,[["__scopeId","data-v-fa4a9961"]]),Ms={class:"forgot-password-form__instructions"},Ss={class:"forgot-password-form__back-to-login"},Ds=["href"],zs=e.defineComponent({__name:"ForgotPasswordForm",props:{loading:{type:Boolean,default:!1},errorMessage:{default:""},successMessage:{default:""},errors:{},submitText:{default:"Enviar link de recuperação"},loadingText:{default:"Enviando..."},identifierLabel:{default:"CPF"},identifierPlaceholder:{default:"000.000.000-00"},instructionText:{default:"Informe seu CPF e enviaremos um link para redefinir sua senha no email cadastrado."},backToLoginUrl:{default:"/login"},backToLoginText:{default:"Voltar para o login"}},emits:["submit","back-to-login"],setup(a,{emit:t}){const n=a,l=t,o=e.ref(""),i=e.computed(()=>!!n.errors?.identifier),r=e.computed(()=>n.loading||i.value||!o.value),s=()=>{l("submit",{identifier:o.value})},c=()=>{l("back-to-login")};return(d,h)=>(e.openBlock(),e.createElementBlock("form",{class:"forgot-password-form",onSubmit:e.withModifiers(s,["prevent"])},[a.successMessage?(e.openBlock(),e.createBlock(e.unref(O),{key:0,variant:"success",message:a.successMessage,dismissible:!1,class:"forgot-password-form__alert"},null,8,["message"])):e.createCommentVNode("",!0),a.errorMessage?(e.openBlock(),e.createBlock(e.unref(O),{key:1,variant:"error",message:a.errorMessage,dismissible:!1,class:"forgot-password-form__alert"},null,8,["message"])):e.createCommentVNode("",!0),e.createElementVNode("div",Ms,[e.createElementVNode("p",null,e.toDisplayString(a.instructionText),1)]),e.createVNode(e.unref(Z),{id:"identifier",modelValue:o.value,"onUpdate:modelValue":h[0]||(h[0]=f=>o.value=f),name:"identifier",type:"text",label:a.identifierLabel,placeholder:a.identifierPlaceholder,error:a.errors?.identifier,disabled:a.loading,required:""},null,8,["modelValue","label","placeholder","error","disabled"]),e.createVNode(e.unref(C),{type:"submit",variant:"primary",loading:a.loading,disabled:r.value,block:""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.loading?a.loadingText:a.submitText),1)]),_:1},8,["loading","disabled"]),e.createElementVNode("div",Ss,[e.createElementVNode("a",{href:a.backToLoginUrl,class:"forgot-password-form__back-link",onClick:e.withModifiers(c,["prevent"])},e.toDisplayString(a.backToLoginText),9,Ds)]),e.renderSlot(d.$slots,"default",{},void 0,!0)],32))}}),Is=x(zs,[["__scopeId","data-v-4b197d8a"]]),Ts={class:"header__container"},Ls={key:0,class:"header__desktop-menu"},Ps=["aria-expanded"],Fs={key:0,class:"header__dropdown"},Zs={class:"header__dropdown-header"},Rs={class:"header__dropdown-items"},qs=["onClick"],Os={key:1,class:"header__mobile-menu"},Us=["aria-expanded"],js={key:0,class:"header__mobile-drawer"},Hs={class:"header__mobile-content"},Gs={class:"header__mobile-header"},Ws={class:"header__mobile-items"},Qs=["onClick"],Ys={class:"header__mobile-footer"},Ks=e.defineComponent({__name:"Header",props:{sticky:{type:Boolean,default:!0},userName:{default:"Usuário"},logoSrc:{default:"/logo.png"},logoAlt:{default:"Logo"},showUserMenu:{type:Boolean,default:!0}},emits:["navigate","logout","menu-item-click"],setup(a,{emit:t}){const n=t,l=e.ref(!1),o=e.ref(!1),i=e.ref(null),r=[{label:"Meu Perfil",icon:"user",action:"profile"},{label:"Configurações",icon:"cog",action:"settings"}],s=()=>{l.value=!l.value},c=()=>{o.value=!o.value},d=()=>{l.value=!1},h=()=>{o.value=!1},f=m=>{n("menu-item-click",m),d(),h()},p=()=>{n("logout"),d(),h()},g=()=>{n("navigate","/dashboard")},_=m=>{l.value&&i.value&&!i.value.contains(m.target)&&d()};return e.onMounted(()=>{typeof document<"u"&&document.addEventListener("pointerdown",_)}),e.onUnmounted(()=>{typeof document<"u"&&document.removeEventListener("pointerdown",_)}),(m,u)=>(e.openBlock(),e.createElementBlock("header",{class:e.normalizeClass(["header",{"header--sticky":a.sticky}])},[e.createElementVNode("div",Ts,[e.createElementVNode("div",{class:"header__logo",onClick:g},[e.createVNode(e.unref(Q),{size:"md",src:a.logoSrc,alt:a.logoAlt},null,8,["src","alt"])]),a.showUserMenu?(e.openBlock(),e.createElementBlock("div",Ls,[e.createVNode(e.unref(T),{variant:"body",color:"secondary"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.userName),1)]),_:1}),e.createElementVNode("div",{ref_key:"dropdownRef",ref:i,class:"header__dropdown-container"},[e.createElementVNode("button",{type:"button","aria-expanded":l.value,"aria-haspopup":"true","aria-label":"Menu do usuário",class:"header__avatar-button",onClick:s},[e.createVNode(e.unref(H),{name:a.userName,size:"md"},null,8,["name"]),e.createVNode(e.unref(y),{name:"chevron-down",size:16,class:e.normalizeClass(["header__dropdown-icon",{"header__dropdown-icon--open":l.value}])},null,8,["class"])],8,Ps),e.createVNode(e.Transition,{name:"dropdown"},{default:e.withCtx(()=>[l.value?(e.openBlock(),e.createElementBlock("div",Fs,[e.createElementVNode("div",Zs,[e.createVNode(e.unref(T),{variant:"body",weight:"semibold"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.userName),1)]),_:1})]),u[1]||(u[1]=e.createElementVNode("div",{class:"header__dropdown-divider"},null,-1)),e.createElementVNode("div",Rs,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(r,v=>e.createElementVNode("button",{key:v.action,type:"button",class:"header__dropdown-item",onClick:V=>f(v.action)},[v.icon?(e.openBlock(),e.createBlock(e.unref(y),{key:0,name:v.icon,size:16},null,8,["name"])):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(v.label),1)],8,qs)),64))]),u[2]||(u[2]=e.createElementVNode("div",{class:"header__dropdown-divider"},null,-1)),e.createElementVNode("button",{type:"button",class:"header__dropdown-item header__dropdown-item--danger",onClick:p},[e.createVNode(e.unref(y),{name:"arrow-right-on-rectangle",size:16}),u[0]||(u[0]=e.createElementVNode("span",null,"Sair",-1))])])):e.createCommentVNode("",!0)]),_:1})],512)])):e.createCommentVNode("",!0),a.showUserMenu?(e.openBlock(),e.createElementBlock("div",Os,[e.createElementVNode("button",{type:"button","aria-label":"Abrir menu","aria-expanded":o.value,class:"header__hamburger",onClick:c},[e.createVNode(e.unref(y),{name:"bars-3",size:24})],8,Us),e.createVNode(e.unref(H),{name:a.userName,size:"sm",onClick:c},null,8,["name"])])):e.createCommentVNode("",!0)]),(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[e.createVNode(e.Transition,{name:"drawer"},{default:e.withCtx(()=>[o.value?(e.openBlock(),e.createElementBlock("div",js,[e.createElementVNode("div",{class:"header__mobile-backdrop",onClick:h}),e.createElementVNode("div",Hs,[e.createElementVNode("div",Gs,[e.createVNode(e.unref(H),{name:a.userName,size:"lg"},null,8,["name"]),e.createVNode(e.unref(T),{variant:"body",weight:"semibold"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.userName),1)]),_:1}),e.createElementVNode("button",{type:"button",class:"header__mobile-close",onClick:h},[e.createVNode(e.unref(y),{name:"x-mark",size:24})])]),e.createElementVNode("div",Ws,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(r,v=>e.createElementVNode("button",{key:v.action,type:"button",class:"header__mobile-item",onClick:V=>f(v.action)},[v.icon?(e.openBlock(),e.createBlock(e.unref(y),{key:0,name:v.icon,size:20},null,8,["name"])):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(v.label),1)],8,Qs)),64))]),e.createElementVNode("div",Ys,[e.createElementVNode("button",{type:"button",class:"header__mobile-item header__mobile-item--danger",onClick:p},[e.createVNode(e.unref(y),{name:"arrow-right-on-rectangle",size:20}),u[3]||(u[3]=e.createElementVNode("span",null,"Sair",-1))])])])])):e.createCommentVNode("",!0)]),_:1})]))],2))}}),Js=x(Ks,[["__scopeId","data-v-7b22a99b"]]),Xs={class:"login-form__forgot"},ec=["href"],tc=e.defineComponent({__name:"LoginForm",props:{loading:{type:Boolean,default:!1},errorMessage:{default:""},errors:{},forgotPasswordUrl:{default:"/auth/forgot-password"},submitText:{default:"Entrar"},loadingText:{default:"Entrando..."}},emits:["submit","forgot-password"],setup(a,{emit:t}){const n=a,l=t,o=e.ref(""),i=e.ref(""),r=e.ref(null),s=e.computed(()=>!!(n.errors?.identifier||n.errors?.password)),c=e.computed(()=>n.loading||s.value||!o.value||!i.value),d=p=>{r.value=p},h=()=>{l("submit",{identifier:o.value,password:i.value})},f=()=>{l("forgot-password")};return(p,g)=>(e.openBlock(),e.createElementBlock("form",{class:"login-form",onSubmit:e.withModifiers(h,["prevent"])},[a.errorMessage?(e.openBlock(),e.createBlock(e.unref(O),{key:0,variant:"error",message:a.errorMessage,dismissible:!1,class:"login-form__alert"},null,8,["message"])):e.createCommentVNode("",!0),e.createVNode(e.unref(Ie),{id:"identifier",modelValue:o.value,"onUpdate:modelValue":g[0]||(g[0]=_=>o.value=_),name:"identifier",label:"CNPJ",placeholder:"Digite o CNPJ da empresa",error:a.errors?.identifier,disabled:a.loading,required:"",onTypeDetected:d},null,8,["modelValue","error","disabled"]),e.createVNode(e.unref(G),{id:"password",modelValue:i.value,"onUpdate:modelValue":g[1]||(g[1]=_=>i.value=_),name:"password",label:"Senha",placeholder:"Digite sua senha",error:a.errors?.password,disabled:a.loading,required:""},null,8,["modelValue","error","disabled"]),e.createElementVNode("div",Xs,[e.createElementVNode("a",{href:a.forgotPasswordUrl,class:"login-form__forgot-link",onClick:e.withModifiers(f,["prevent"])}," Esqueci minha senha ",8,ec)]),e.createVNode(e.unref(C),{type:"submit",variant:"primary",loading:a.loading,disabled:c.value,block:""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.loading?a.loadingText:a.submitText),1)]),_:1},8,["loading","disabled"]),e.renderSlot(p.$slots,"default",{},void 0,!0)],32))}}),ac=x(tc,[["__scopeId","data-v-c4fc5b2c"]]),nc=["aria-labelledby"],lc={class:"manual-input-modal__header"},oc=["id"],rc={key:0,class:"manual-input-modal__body"},ic={class:"manual-input-modal__description"},sc={class:"manual-input-modal__input-wrapper"},cc={key:0,class:"manual-input-modal__error"},dc={key:1,class:"manual-input-modal__body"},uc={class:"manual-input-modal__description"},mc={class:"manual-input-modal__options"},hc=["value"],fc={class:"manual-input-modal__option-text"},pc={class:"manual-input-modal__actions"},vc=e.defineComponent({__name:"ManualInputModal",props:{isOpen:{type:Boolean},minAmount:{default:5e4},maxAmount:{default:5e6},minInstallments:{default:6},maxInstallments:{default:84},monthlyInterestRate:{default:.0199}},emits:["close","confirm"],setup(a,{emit:t}){const n=a,l=t,o=e.ref(1),i=e.ref(""),r=e.ref(0),s=e.ref(24),c=e.ref(""),d=e.computed(()=>{const k=[];for(let w=n.minInstallments;w<=n.maxInstallments;w+=6){const E=h(r.value,w);k.push({installments:w,installmentValue:E})}return k});function h(k,w){const E=k/100,A=n.monthlyInterestRate,D=w;if(A===0)return Math.round(E/D*100);const N=E*(A*Math.pow(1+A,D))/(Math.pow(1+A,D)-1);return Math.round(N*100)}function f(k){const w=k/100;return new Intl.NumberFormat("pt-BR",{style:"currency",currency:"BRL"}).format(w)}function p(k){const w=k.replace(/\D/g,"");return w?parseInt(w,10):0}function g(k){const w=p(k);if(w===0)return"";const E=w/100;return new Intl.NumberFormat("pt-BR",{style:"currency",currency:"BRL",minimumFractionDigits:2}).format(E)}function _(k){const E=k.target.value;r.value=p(E),i.value=g(E),c.value&&(c.value="")}function m(){return r.value<n.minAmount?(c.value=`*O valor mínimo é de ${f(n.minAmount)}.`,!1):r.value>n.maxAmount?(c.value=`*O valor máximo é de ${f(n.maxAmount)}.`,!1):(c.value="",!0)}function u(){m()&&(o.value=2)}function v(){o.value=1,c.value=""}function V(){l("confirm",{amount:r.value,installments:s.value}),b()}function b(){l("close"),setTimeout(()=>{o.value=1,i.value="",r.value=0,s.value=24,c.value=""},300)}return e.watch(()=>n.isOpen,k=>{typeof document<"u"&&(k?document.body.style.overflow="hidden":document.body.style.overflow="")}),(k,w)=>(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[e.createVNode(e.Transition,{name:"modal-fade"},{default:e.withCtx(()=>[a.isOpen?(e.openBlock(),e.createElementBlock("div",{key:0,class:"manual-input-modal",onClick:e.withModifiers(b,["self"])},[e.createElementVNode("div",{class:"manual-input-modal__backdrop",onClick:b}),e.createVNode(e.Transition,{name:"modal-slide"},{default:e.withCtx(()=>[a.isOpen?(e.openBlock(),e.createElementBlock("div",{key:0,class:"manual-input-modal__content",role:"dialog","aria-modal":"true","aria-labelledby":o.value===1?"modal-title-1":"modal-title-2"},[e.createElementVNode("div",lc,[e.createElementVNode("h2",{id:o.value===1?"modal-title-1":"modal-title-2",class:"manual-input-modal__title"},e.toDisplayString(o.value===1?"Simule seu empréstimo":"Simulador de Empréstimos"),9,oc),e.createElementVNode("button",{type:"button",class:"manual-input-modal__close",onClick:b},[e.createVNode(e.unref(y),{name:"x-mark",size:24})])]),o.value===1?(e.openBlock(),e.createElementBlock("div",rc,[e.createElementVNode("p",ic," Informe um valor entre "+e.toDisplayString(f(a.minAmount))+" e "+e.toDisplayString(f(a.maxAmount)),1),e.createElementVNode("div",sc,[e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":w[0]||(w[0]=E=>i.value=E),type:"text",inputmode:"numeric",placeholder:"R$0,00",class:e.normalizeClass(["manual-input-modal__input",{"manual-input-modal__input--error":c.value}]),onInput:_},null,34),[[e.vModelText,i.value]])]),c.value?(e.openBlock(),e.createElementBlock("p",cc,e.toDisplayString(c.value),1)):e.createCommentVNode("",!0),e.createVNode(e.unref(C),{type:"button",variant:"primary",size:"lg",block:"",disabled:r.value===0,onClick:u},{default:e.withCtx(()=>[...w[2]||(w[2]=[e.createTextVNode(" Calcular parcelas ",-1)])]),_:1},8,["disabled"])])):e.createCommentVNode("",!0),o.value===2?(e.openBlock(),e.createElementBlock("div",dc,[e.createElementVNode("p",uc," Escolha entre "+e.toDisplayString(a.minInstallments)+" e "+e.toDisplayString(a.maxInstallments)+" parcelas: ",1),e.createElementVNode("div",mc,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.value,E=>(e.openBlock(),e.createElementBlock("label",{key:E.installments,class:e.normalizeClass(["manual-input-modal__option",{"manual-input-modal__option--selected":s.value===E.installments}])},[e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":w[1]||(w[1]=A=>s.value=A),type:"radio",value:E.installments,class:"manual-input-modal__radio"},null,8,hc),[[e.vModelRadio,s.value]]),e.createElementVNode("div",fc,e.toDisplayString(E.installments)+" parcelas de "+e.toDisplayString(f(E.installmentValue)),1)],2))),128))]),e.createElementVNode("div",pc,[e.createVNode(e.unref(C),{type:"button",variant:"outline",size:"md",onClick:v},{default:e.withCtx(()=>[...w[3]||(w[3]=[e.createTextVNode(" Simular outro valor ",-1)])]),_:1}),e.createVNode(e.unref(C),{type:"button",variant:"primary",size:"md",onClick:V},{default:e.withCtx(()=>[...w[4]||(w[4]=[e.createTextVNode(" Selecionar parcela ",-1)])]),_:1})])])):e.createCommentVNode("",!0)],8,nc)):e.createCommentVNode("",!0)]),_:1})])):e.createCommentVNode("",!0)]),_:1})]))}}),gc=x(vc,[["__scopeId","data-v-06494367"]]),_c={class:"offer-card__header"},kc={class:"offer-card__header-content"},Vc={key:0,class:"offer-card__badge"},wc={class:"offer-card__cet-value"},bc={class:"offer-card__body"},Ec={class:"offer-card__amounts"},yc={class:"offer-card__amount"},Nc={class:"offer-card__amount-label"},xc={class:"offer-card__amount-value"},Bc={class:"offer-card__amount"},Cc={class:"offer-card__amount-label offer-card__amount-label--success"},$c={class:"offer-card__amount-value offer-card__amount-value--success"},Ac={class:"offer-card__installments"},Mc={class:"offer-card__installments-icon"},Sc={class:"offer-card__installments-content"},Dc={class:"offer-card__installments-label"},zc={class:"offer-card__installments-value"},Ic={class:"offer-card__rates"},Tc={class:"offer-card__rate"},Lc={class:"offer-card__rate-value"},Pc={class:"offer-card__rate"},Fc={class:"offer-card__rate-value"},Zc={class:"offer-card__rate"},Rc={class:"offer-card__rate-value"},qc={class:"offer-card__rate"},Oc={class:"offer-card__rate-value"},Uc={class:"offer-card__total"},jc={class:"offer-card__total-value"},Hc=e.defineComponent({__name:"OfferCard",props:{offer:{},showBadge:{type:Boolean,default:!1},badgeLabel:{default:""},badgeVariant:{default:"success"}},emits:["accept"],setup(a,{expose:t,emit:n}){const l=a,o=n;function i(h){return`${(h*100).toFixed(2)}%`}const r=e.computed(()=>i(l.offer.monthlyRate)),s=e.computed(()=>i(l.offer.annualRate)),c=e.computed(()=>i(l.offer.cet));function d(){o("accept",l.offer.id)}return t({handleAccept:d}),(h,f)=>(e.openBlock(),e.createBlock(e.unref(I),{variant:"elevated",padding:"none",class:"offer-card"},{default:e.withCtx(()=>[e.createElementVNode("div",_c,[e.createElementVNode("div",kc,[a.showBadge?(e.openBlock(),e.createElementBlock("div",Vc,[e.createVNode(e.unref(K),{variant:a.badgeVariant,label:a.badgeLabel,size:"md"},null,8,["variant","label"])])):e.createCommentVNode("",!0),f[0]||(f[0]=e.createElementVNode("div",{class:"offer-card__cet-label"}," CET (Custo Efetivo Total) ",-1)),e.createElementVNode("div",wc,e.toDisplayString(c.value)+" a.a. ",1),f[1]||(f[1]=e.createElementVNode("div",{class:"offer-card__cet-description"}," Inclui todos os custos da operação ",-1))])]),e.createElementVNode("div",bc,[e.createElementVNode("div",Ec,[e.createElementVNode("div",yc,[e.createElementVNode("div",Nc,[e.createVNode(e.unref(y),{name:"arrow-up",size:16}),f[2]||(f[2]=e.createElementVNode("span",null,"Valor Solicitado",-1))]),e.createElementVNode("div",xc,[e.createVNode(e.unref(L),{value:a.offer.requestedAmount},null,8,["value"])])]),e.createElementVNode("div",Bc,[e.createElementVNode("div",Cc,[e.createVNode(e.unref(y),{name:"check-circle",size:16}),f[3]||(f[3]=e.createElementVNode("span",null,"Valor Aprovado",-1))]),e.createElementVNode("div",$c,[e.createVNode(e.unref(L),{value:a.offer.approvedAmount},null,8,["value"])])])]),e.createElementVNode("div",Ac,[e.createElementVNode("div",Mc,[e.createVNode(e.unref(y),{name:"calendar",size:24})]),e.createElementVNode("div",Sc,[e.createElementVNode("div",Dc,e.toDisplayString(a.offer.installments)+"x de ",1),e.createElementVNode("div",zc,[e.createVNode(e.unref(L),{value:a.offer.installmentValue,size:"lg"},null,8,["value"])])])]),e.createElementVNode("div",Ic,[e.createElementVNode("div",Tc,[f[4]||(f[4]=e.createElementVNode("div",{class:"offer-card__rate-label"},"Taxa Mensal",-1)),e.createElementVNode("div",Lc,e.toDisplayString(r.value),1)]),e.createElementVNode("div",Pc,[f[5]||(f[5]=e.createElementVNode("div",{class:"offer-card__rate-label"},"Taxa Anual",-1)),e.createElementVNode("div",Fc,e.toDisplayString(s.value),1)]),e.createElementVNode("div",Zc,[f[6]||(f[6]=e.createElementVNode("div",{class:"offer-card__rate-label"},"IOF",-1)),e.createElementVNode("div",Rc,[e.createVNode(e.unref(L),{value:a.offer.iof,size:"sm"},null,8,["value"])])]),e.createElementVNode("div",qc,[f[7]||(f[7]=e.createElementVNode("div",{class:"offer-card__rate-label"},"TAC",-1)),e.createElementVNode("div",Oc,[a.offer.tac>0?(e.openBlock(),e.createBlock(e.unref(L),{key:0,value:a.offer.tac,size:"sm"},null,8,["value"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode("Isento")],64))])])]),e.createElementVNode("div",Uc,[f[8]||(f[8]=e.createElementVNode("div",{class:"offer-card__total-label"}," Total a Pagar ",-1)),e.createElementVNode("div",jc,[e.createVNode(e.unref(L),{value:a.offer.totalAmount,size:"lg"},null,8,["value"])])])])]),_:1}))}}),Gc=x(Hc,[["__scopeId","data-v-3775279f"]]),Wc={class:"quick-actions"},Qc={class:"quick-actions__title"},Yc={key:0,class:"quick-actions__grid"},Kc=["disabled"],Jc=e.defineComponent({__name:"QuickActions",props:{actions:{},title:{default:"Ações Rápidas"}},emits:["action-click"],setup(a,{emit:t}){const n=t;function l(r){r.disabled||n("action-click",r.id)}const o={document:"document-text",list:"list-bullet",chat:"chat-bubble-left-right",question:"question-mark-circle"};function i(r){return o[r]||"sparkles"}return(r,s)=>(e.openBlock(),e.createElementBlock("div",Wc,[e.createElementVNode("h2",Qc,[e.createVNode(e.unref(y),{name:"bolt",size:20,class:"quick-actions__title-icon"}),e.createTextVNode(" "+e.toDisplayString(a.title),1)]),a.actions&&a.actions.length>0?(e.openBlock(),e.createElementBlock("div",Yc,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.actions,c=>(e.openBlock(),e.createBlock(e.unref(I),{key:c.id,variant:c.disabled?"default":"outlined",clickable:!c.disabled,class:e.normalizeClass(["quick-actions__card",{"quick-actions__card--disabled":c.disabled}]),onClick:d=>l(c)},{default:e.withCtx(()=>[e.createElementVNode("button",{type:"button",disabled:c.disabled,class:"quick-actions__button"},[e.createElementVNode("div",{class:e.normalizeClass(["quick-actions__icon-container",{"quick-actions__icon-container--disabled":c.disabled}])},[e.createVNode(e.unref(y),{name:i(c.icon),size:24,class:e.normalizeClass(["quick-actions__icon",{"quick-actions__icon--disabled":c.disabled}])},null,8,["name","class"])],2),e.createElementVNode("span",{class:e.normalizeClass(["quick-actions__label",{"quick-actions__label--disabled":c.disabled}])},e.toDisplayString(c.label),3)],8,Kc)]),_:2},1032,["variant","clickable","class","onClick"]))),128))])):(e.openBlock(),e.createBlock(e.unref(I),{key:1,variant:"outlined",class:"quick-actions__empty"},{default:e.withCtx(()=>[e.createVNode(e.unref(y),{name:"exclamation-circle",size:24,class:"quick-actions__empty-icon"}),s[0]||(s[0]=e.createElementVNode("p",{class:"quick-actions__empty-text"},"Nenhuma ação rápida disponível no momento.",-1))]),_:1}))]))}}),Xc=x(Jc,[["__scopeId","data-v-3b23ed92"]]),ed=e.defineComponent({__name:"ResetPasswordForm",props:{loading:{type:Boolean,default:!1},errorMessage:{default:""},successMessage:{default:""},errors:{},submitText:{default:"Redefinir senha"},loadingText:{default:"Redefinindo senha..."}},emits:["submit"],setup(a,{emit:t}){const n=a,l=t,o=e.ref(""),i=e.ref(""),r=e.computed(()=>!!(n.errors?.newPassword||n.errors?.confirmPassword)),s=e.computed(()=>n.loading||r.value||!o.value||!i.value),c=()=>{l("submit",{newPassword:o.value,confirmPassword:i.value})};return(d,h)=>(e.openBlock(),e.createElementBlock("form",{class:"reset-password-form",onSubmit:e.withModifiers(c,["prevent"])},[a.successMessage?(e.openBlock(),e.createBlock(e.unref(O),{key:0,variant:"success",message:a.successMessage,dismissible:!1,class:"reset-password-form__alert"},null,8,["message"])):e.createCommentVNode("",!0),a.errorMessage?(e.openBlock(),e.createBlock(e.unref(O),{key:1,variant:"error",message:a.errorMessage,dismissible:!1,class:"reset-password-form__alert"},null,8,["message"])):e.createCommentVNode("",!0),h[2]||(h[2]=e.createElementVNode("div",{class:"reset-password-form__instructions"},[e.createElementVNode("p",{class:"reset-password-form__instructions-title"},"Sua nova senha deve conter:"),e.createElementVNode("ul",{class:"reset-password-form__instructions-list"},[e.createElementVNode("li",null,"No mínimo 8 caracteres"),e.createElementVNode("li",null,"Pelo menos uma letra maiúscula"),e.createElementVNode("li",null,"Pelo menos uma letra minúscula"),e.createElementVNode("li",null,"Pelo menos um número"),e.createElementVNode("li",null,"Pelo menos um caractere especial (@$!%*?&#)")])],-1)),e.createVNode(e.unref(G),{id:"newPassword",modelValue:o.value,"onUpdate:modelValue":h[0]||(h[0]=f=>o.value=f),name:"newPassword",label:"Nova senha",placeholder:"Digite sua nova senha",error:a.errors?.newPassword,disabled:a.loading,required:""},null,8,["modelValue","error","disabled"]),e.createVNode(e.unref(G),{id:"confirmPassword",modelValue:i.value,"onUpdate:modelValue":h[1]||(h[1]=f=>i.value=f),name:"confirmPassword",label:"Confirmar senha",placeholder:"Digite sua senha novamente",error:a.errors?.confirmPassword,disabled:a.loading,required:""},null,8,["modelValue","error","disabled"]),e.createVNode(e.unref(C),{type:"submit",variant:"primary",loading:a.loading,disabled:s.value,block:""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.loading?a.loadingText:a.submitText),1)]),_:1},8,["loading","disabled"]),e.renderSlot(d.$slots,"default",{},void 0,!0)],32))}}),td=x(ed,[["__scopeId","data-v-5e3a86bb"]]),ad={class:"scr-modal__content"},nd={class:"scr-modal__text"},ld={class:"scr-modal__security-notice"},od={class:"scr-modal__footer"},rd=e.defineComponent({__name:"SCRConsentModal",props:{isOpen:{type:Boolean},companyName:{default:"Finpass"}},emits:["close","accept","reject"],setup(a,{emit:t}){const n=t;function l(){n("accept"),n("close")}function o(){n("reject"),n("close")}function i(){n("close")}return(r,s)=>(e.openBlock(),e.createBlock(e.unref(le),{open:a.isOpen,title:"Termo de Consentimento SCR",onClose:i},{header:e.withCtx(()=>[...s[0]||(s[0]=[e.createElementVNode("div",{class:"scr-modal__header"},[e.createElementVNode("h2",{class:"scr-modal__title"}," Termo de Consentimento SCR "),e.createElementVNode("p",{class:"scr-modal__subtitle"}," Sistema de Informações de Crédito do Banco Central ")],-1)])]),footer:e.withCtx(()=>[e.createElementVNode("div",od,[e.createVNode(e.unref(C),{variant:"outline",size:"lg",class:"scr-modal__button",onClick:o},{"leading-icon":e.withCtx(()=>[e.createVNode(e.unref(y),{name:"x",size:20})]),default:e.withCtx(()=>[s[18]||(s[18]=e.createTextVNode(" Recusar ",-1))]),_:1}),e.createVNode(e.unref(C),{variant:"primary",size:"lg",class:"scr-modal__button",onClick:l},{"leading-icon":e.withCtx(()=>[e.createVNode(e.unref(y),{name:"check",size:20})]),default:e.withCtx(()=>[s[19]||(s[19]=e.createTextVNode(" Aceitar Termo ",-1))]),_:1})])]),default:e.withCtx(()=>[e.createElementVNode("div",ad,[s[8]||(s[8]=e.createElementVNode("h3",{class:"scr-modal__section-title"}," Autorização para Consulta de Informações ",-1)),e.createElementVNode("p",nd,[s[1]||(s[1]=e.createTextVNode(" Declaro estar ciente e autorizo expressamente a ",-1)),e.createElementVNode("strong",null,e.toDisplayString(a.companyName),1),s[2]||(s[2]=e.createTextVNode(" e seus parceiros a consultarem minhas informações junto ao ",-1)),s[3]||(s[3]=e.createElementVNode("strong",null,"Sistema de Informações de Crédito (SCR)",-1)),s[4]||(s[4]=e.createTextVNode(" do Banco Central do Brasil e ao ",-1)),s[5]||(s[5]=e.createElementVNode("strong",null,"Dataprev",-1)),s[6]||(s[6]=e.createTextVNode(", para fins de: ",-1))]),s[9]||(s[9]=e.createElementVNode("ul",{class:"scr-modal__list"},[e.createElementVNode("li",null,"Verificação da minha margem consignável disponível"),e.createElementVNode("li",null,"Análise de viabilidade de crédito consignado"),e.createElementVNode("li",null,"Simulação de condições de empréstimo"),e.createElementVNode("li",null,"Processamento da solicitação de crédito")],-1)),s[10]||(s[10]=e.createElementVNode("h3",{class:"scr-modal__section-title"}," Dados Consultados ",-1)),s[11]||(s[11]=e.createElementVNode("p",{class:"scr-modal__text"}," Serão consultados os seguintes dados junto ao Dataprev: ",-1)),s[12]||(s[12]=e.createElementVNode("ul",{class:"scr-modal__list"},[e.createElementVNode("li",null,"Margem consignável disponível (valor máximo de desconto em folha)"),e.createElementVNode("li",null,"Renda bruta mensal"),e.createElementVNode("li",null,"Comprometimento atual de margem consignável"),e.createElementVNode("li",null,"Situação cadastral junto ao INSS")],-1)),s[13]||(s[13]=e.createElementVNode("h3",{class:"scr-modal__section-title"}," Proteção de Dados e LGPD ",-1)),s[14]||(s[14]=e.createElementVNode("p",{class:"scr-modal__text"},[e.createTextVNode(" Esta autorização é concedida em conformidade com a "),e.createElementVNode("strong",null,"Lei Geral de Proteção de Dados (LGPD - Lei nº 13.709/2018)"),e.createTextVNode(" e garante que: ")],-1)),s[15]||(s[15]=e.createElementVNode("ul",{class:"scr-modal__list"},[e.createElementVNode("li",null,[e.createTextVNode("Seus dados serão utilizados "),e.createElementVNode("strong",null,"exclusivamente"),e.createTextVNode(" para a finalidade declarada")]),e.createElementVNode("li",null,[e.createTextVNode("As informações coletadas serão armazenadas com "),e.createElementVNode("strong",null,"segurança")]),e.createElementVNode("li",null,[e.createTextVNode("Você pode "),e.createElementVNode("strong",null,"revogar"),e.createTextVNode(" esta autorização a qualquer momento")]),e.createElementVNode("li",null,"Não compartilharemos seus dados com terceiros sem seu consentimento")],-1)),s[16]||(s[16]=e.createElementVNode("h3",{class:"scr-modal__section-title"}," Validade e Revogação ",-1)),s[17]||(s[17]=e.createElementVNode("p",{class:"scr-modal__text"},[e.createTextVNode(" Esta autorização é válida por "),e.createElementVNode("strong",null,"24 horas"),e.createTextVNode(" a partir da aceitação e pode ser revogada a qualquer momento através do nosso canal de atendimento ou diretamente na plataforma. ")],-1)),e.createElementVNode("div",ld,[e.createVNode(e.unref(y),{name:"shield-check",size:20,class:"scr-modal__security-icon"}),s[7]||(s[7]=e.createElementVNode("div",null,[e.createElementVNode("p",{class:"scr-modal__security-title"},"Segurança Garantida"),e.createElementVNode("p",{class:"scr-modal__security-text"}," Seus dados estão protegidos por criptografia de ponta a ponta e não serão armazenados permanentemente após o processamento. ")],-1))])])]),_:1},8,["open"]))}}),id=x(rd,[["__scopeId","data-v-5a7a14ad"]]),sd={class:"simulation-result","data-testid":"simulation-result"},cd={class:"simulation-result__header","data-testid":"simulation-result-header"},dd={class:"simulation-result__header-content"},ud={key:0,class:"simulation-result__loading","data-testid":"simulation-loading"},md={class:"simulation-result__loading-content"},hd={class:"simulation-result__error-content"},fd={class:"simulation-result__error-icon"},pd={class:"simulation-result__error-message"},vd={class:"simulation-result__error-actions"},gd={key:2,class:"simulation-result__success","data-testid":"simulation-success"},_d={class:"simulation-result__success-banner"},kd={class:"simulation-result__success-banner-content"},Vd={class:"simulation-result__success-text"},wd={class:"simulation-result__offers"},bd={class:"simulation-result__offer"},Ed={class:"simulation-result__offer-main"},yd={class:"simulation-result__offer-value"},Nd={class:"simulation-result__offer-amount"},xd={class:"simulation-result__offer-info"},Bd={class:"simulation-result__offer-total"},Cd={class:"simulation-result__actions"},$d={key:0,class:"simulation-result__warning"},Ad={class:"simulation-result__warning-text"},Md={class:"simulation-result__info-list"},Sd={class:"simulation-result__info-item"},Dd={class:"simulation-result__info-item"},zd={class:"simulation-result__info-item"},Id={class:"simulation-result__empty"},Td=e.defineComponent({__name:"SimulationResult",props:{loading:{type:Boolean,default:!1},error:{default:""},offers:{},showAcceptButton:{type:Boolean,default:!0},acceptDisabled:{type:Boolean,default:!1},acceptWarningMessage:{default:""}},emits:["new-simulation","retry","accept-proposal"],setup(a,{emit:t}){const n=a,l=t,o=e.computed(()=>!!n.error),i=e.computed(()=>n.offers&&n.offers.length>0),r=e.computed(()=>n.offers?.length||0),s=f=>new Intl.NumberFormat("pt-BR",{style:"currency",currency:"BRL"}).format(f/100);function c(){l("new-simulation")}function d(){l("retry")}function h(f){l("accept-proposal",f)}return(f,p)=>(e.openBlock(),e.createElementBlock("div",sd,[e.createElementVNode("div",cd,[e.createElementVNode("div",dd,[e.createVNode(e.unref(y),{name:"check-circle",size:32}),p[0]||(p[0]=e.createElementVNode("div",null,[e.createElementVNode("h2",{class:"simulation-result__title","data-testid":"simulation-result-title"}," Resultado da Simulação "),e.createElementVNode("p",{class:"simulation-result__subtitle"}," Confira as condições de crédito disponíveis para você ")],-1))])]),a.loading?(e.openBlock(),e.createElementBlock("div",ud,[e.createVNode(e.unref(I),{variant:"elevated",class:"simulation-result__loading-card"},{default:e.withCtx(()=>[e.createElementVNode("div",md,[e.createVNode(e.unref(q),{size:"lg"}),p[1]||(p[1]=e.createElementVNode("p",{class:"simulation-result__loading-text"}," Buscando as melhores ofertas para você... ",-1))])]),_:1})])):o.value?(e.openBlock(),e.createBlock(e.unref(I),{key:1,variant:"elevated",class:"simulation-result__error","data-testid":"simulation-error"},{default:e.withCtx(()=>[e.createElementVNode("div",hd,[e.createElementVNode("div",fd,[e.createVNode(e.unref(y),{name:"exclamation-circle",size:64})]),p[4]||(p[4]=e.createElementVNode("h3",{class:"simulation-result__error-title"}," Ops! Algo deu errado ",-1)),e.createElementVNode("p",pd,e.toDisplayString(a.error),1),e.createElementVNode("div",vd,[e.createVNode(e.unref(C),{variant:"outline",size:"lg",onClick:c},{"leading-icon":e.withCtx(()=>[e.createVNode(e.unref(y),{name:"arrow-path",size:20})]),default:e.withCtx(()=>[p[2]||(p[2]=e.createTextVNode(" Nova Simulação ",-1))]),_:1}),e.createVNode(e.unref(C),{variant:"primary",size:"lg",onClick:d},{"leading-icon":e.withCtx(()=>[e.createVNode(e.unref(y),{name:"arrow-path",size:20})]),default:e.withCtx(()=>[p[3]||(p[3]=e.createTextVNode(" Tentar Novamente ",-1))]),_:1})])])]),_:1})):i.value?(e.openBlock(),e.createElementBlock("div",gd,[e.createVNode(e.unref(I),{variant:"elevated"},{default:e.withCtx(()=>[e.createElementVNode("div",_d,[e.createElementVNode("div",kd,[e.createVNode(e.unref(y),{name:"check-circle",size:24,class:"simulation-result__success-icon"}),e.createElementVNode("div",null,[p[5]||(p[5]=e.createElementVNode("h4",{class:"simulation-result__success-title"}," Simulação realizada com sucesso! ",-1)),e.createElementVNode("p",Vd," Encontramos "+e.toDisplayString(r.value)+" "+e.toDisplayString(r.value===1?"oferta disponível":"ofertas disponíveis")+" para você. ",1)])])])]),_:1}),e.createElementVNode("div",wd,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.offers,g=>(e.openBlock(),e.createBlock(e.unref(I),{key:g.id,variant:"outlined",class:"simulation-result__offer-card"},{default:e.withCtx(()=>[e.createElementVNode("div",bd,[e.createElementVNode("div",Ed,[e.createElementVNode("div",yd,[p[6]||(p[6]=e.createElementVNode("span",{class:"simulation-result__offer-label"},"Parcela",-1)),e.createElementVNode("span",Nd,e.toDisplayString(s(g.installmentValue)),1)]),e.createElementVNode("div",xd,[e.createElementVNode("span",null,e.toDisplayString(g.installments)+"x",1),e.createElementVNode("span",null,e.toDisplayString(g.monthlyRate.toFixed(2))+"% a.m.",1)])]),e.createElementVNode("div",Bd,[p[7]||(p[7]=e.createElementVNode("span",{class:"simulation-result__offer-label"},"Total",-1)),e.createElementVNode("span",null,e.toDisplayString(s(g.totalValue)),1)]),a.showAcceptButton?(e.openBlock(),e.createBlock(e.unref(C),{key:0,variant:"primary",size:"sm",disabled:a.acceptDisabled,onClick:_=>h(g.id)},{default:e.withCtx(()=>[...p[8]||(p[8]=[e.createTextVNode(" Aceitar ",-1)])]),_:1},8,["disabled","onClick"])):e.createCommentVNode("",!0)])]),_:2},1024))),128))]),e.createVNode(e.unref(I),{variant:"outlined"},{default:e.withCtx(()=>[e.createElementVNode("div",Cd,[e.createVNode(e.unref(C),{variant:"outline",size:"lg",class:"simulation-result__action-button",onClick:c},{"leading-icon":e.withCtx(()=>[e.createVNode(e.unref(y),{name:"arrow-path",size:20})]),default:e.withCtx(()=>[p[9]||(p[9]=e.createTextVNode(" Nova Simulação ",-1))]),_:1})]),a.acceptWarningMessage?(e.openBlock(),e.createElementBlock("div",$d,[e.createElementVNode("p",Ad,e.toDisplayString(a.acceptWarningMessage),1)])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.unref(I),{variant:"outlined"},{default:e.withCtx(()=>[e.createElementVNode("div",Md,[e.createElementVNode("p",Sd,[e.createVNode(e.unref(y),{name:"information-circle",size:16}),p[10]||(p[10]=e.createElementVNode("span",null,"As condições apresentadas são válidas por 24 horas.",-1))]),e.createElementVNode("p",Dd,[e.createVNode(e.unref(y),{name:"information-circle",size:16}),p[11]||(p[11]=e.createElementVNode("span",null,"Valores sujeitos a confirmação após análise completa.",-1))]),e.createElementVNode("p",zd,[e.createVNode(e.unref(y),{name:"shield-check",size:16}),p[12]||(p[12]=e.createElementVNode("span",null,"Seus dados estão protegidos e não serão compartilhados.",-1))])])]),_:1})])):(e.openBlock(),e.createBlock(e.unref(I),{key:3,variant:"elevated","data-testid":"simulation-empty"},{default:e.withCtx(()=>[e.createElementVNode("div",Id,[e.createVNode(e.unref(y),{name:"exclamation-triangle",size:64,class:"simulation-result__empty-icon"}),p[14]||(p[14]=e.createElementVNode("h3",{class:"simulation-result__empty-title"}," Nenhuma simulação encontrada ",-1)),p[15]||(p[15]=e.createElementVNode("p",{class:"simulation-result__empty-text"}," Não foi possível encontrar os dados da simulação. ",-1)),e.createVNode(e.unref(C),{variant:"primary",size:"lg",onClick:c},{"leading-icon":e.withCtx(()=>[e.createVNode(e.unref(y),{name:"arrow-path",size:20})]),default:e.withCtx(()=>[p[13]||(p[13]=e.createTextVNode(" Fazer Nova Simulação ",-1))]),_:1})])]),_:1}))]))}}),Ld=x(Td,[["__scopeId","data-v-e74419ff"]]),Pd={class:"contract-card__header"},Fd={class:"contract-card__title-wrapper"},Zd={class:"contract-card__title"},Rd={class:"contract-card__summary"},qd={class:"contract-card__summary-item"},Od={class:"contract-card__summary-value"},Ud={class:"contract-card__summary-item"},jd={class:"contract-card__summary-value"},Hd={class:"contract-card__summary-item"},Gd={class:"contract-card__summary-value"},Wd={class:"contract-card__progress"},Qd={class:"contract-card__progress-header"},Yd={class:"contract-card__progress-value"},Kd={key:0,class:"contract-card__next-installment"},Jd={class:"contract-card__next-installment-grid"},Xd={class:"contract-card__next-installment-item"},eu={class:"contract-card__next-installment-value"},tu={class:"contract-card__next-installment-item"},au={class:"contract-card__next-installment-value"},nu={class:"contract-card__next-installment-item"},lu={class:"contract-card__actions"},ou=e.defineComponent({__name:"ContractCard",props:{contract:{}},emits:["view-details","view-installments"],setup(a,{emit:t}){const n=a,l=t,o=e.computed(()=>{const h=n.contract.installmentsPaid??0,f=n.contract.totalInstallments??0;if(!f||f===0||isNaN(h)||isNaN(f))return 0;const p=Math.round(h/f*100);return Math.max(0,Math.min(100,p))}),i=e.computed(()=>{if(!n.contract.nextInstallment?.dueDate)return null;try{const h=new Date(n.contract.nextInstallment.dueDate);return new Intl.DateTimeFormat("pt-BR",{day:"2-digit",month:"2-digit",year:"numeric"}).format(h)}catch{return null}}),r={ACTIVE:"ATIVO",PAID:"QUITADO",CANCELLED:"CANCELADO",DEFAULTED:"EM_ATRASO"},s=e.computed(()=>r[n.contract.status]||n.contract.status);function c(){l("view-details",n.contract.id)}function d(){l("view-installments",n.contract.id)}return(h,f)=>(e.openBlock(),e.createBlock(e.unref(I),{variant:"default",padding:"md",class:"contract-card"},{default:e.withCtx(()=>[e.createElementVNode("div",Pd,[e.createElementVNode("div",Fd,[e.createElementVNode("h3",Zd," Contrato #"+e.toDisplayString(a.contract.contractNumber),1)]),e.createVNode(e.unref(U),{status:s.value,domain:"contract"},null,8,["status"])]),e.createElementVNode("div",Rd,[e.createElementVNode("div",qd,[f[0]||(f[0]=e.createElementVNode("p",{class:"contract-card__summary-label"},"Valor Contratado",-1)),e.createElementVNode("p",Od,[e.createVNode(e.unref(L),{value:a.contract.contractedAmount,size:"md"},null,8,["value"])])]),e.createElementVNode("div",Ud,[f[1]||(f[1]=e.createElementVNode("p",{class:"contract-card__summary-label"},"Parcelas",-1)),e.createElementVNode("p",jd,e.toDisplayString(a.contract.installmentsPaid??0)+"/"+e.toDisplayString(a.contract.totalInstallments??0)+" pagas ",1)]),e.createElementVNode("div",Hd,[f[2]||(f[2]=e.createElementVNode("p",{class:"contract-card__summary-label"},"Saldo Devedor",-1)),e.createElementVNode("p",Gd,[e.createVNode(e.unref(L),{value:a.contract.balanceDue??0,size:"md"},null,8,["value"])])])]),e.createElementVNode("div",Wd,[e.createElementVNode("div",Qd,[f[3]||(f[3]=e.createElementVNode("p",{class:"contract-card__progress-label"},"Progresso de Pagamento",-1)),e.createElementVNode("p",Yd,e.toDisplayString(o.value)+"%",1)]),e.createVNode(e.unref(Te),{value:o.value,max:100,size:"sm"},null,8,["value"])]),a.contract.nextInstallment?(e.openBlock(),e.createElementBlock("div",Kd,[f[7]||(f[7]=e.createElementVNode("h4",{class:"contract-card__next-installment-title"},"Próxima Parcela",-1)),e.createElementVNode("div",Jd,[e.createElementVNode("div",Xd,[f[4]||(f[4]=e.createElementVNode("p",{class:"contract-card__next-installment-label"},"Vencimento",-1)),e.createElementVNode("p",eu,e.toDisplayString(i.value),1)]),e.createElementVNode("div",tu,[f[5]||(f[5]=e.createElementVNode("p",{class:"contract-card__next-installment-label"},"Valor",-1)),e.createElementVNode("p",au,[e.createVNode(e.unref(L),{value:a.contract.nextInstallment.amount,size:"md"},null,8,["value"])])]),e.createElementVNode("div",nu,[f[6]||(f[6]=e.createElementVNode("p",{class:"contract-card__next-installment-label"},"Status",-1)),e.createVNode(e.unref(U),{status:a.contract.nextInstallment.status,domain:"installment",size:"sm"},null,8,["status"])])])])):e.createCommentVNode("",!0),e.createElementVNode("div",lu,[e.createVNode(e.unref(C),{variant:"primary",size:"md",block:"",onClick:c},{default:e.withCtx(()=>[...f[8]||(f[8]=[e.createTextVNode(" Ver Detalhes ",-1)])]),_:1}),e.createVNode(e.unref(C),{variant:"outline",size:"md",block:"",onClick:d},{default:e.withCtx(()=>[...f[9]||(f[9]=[e.createTextVNode(" Histórico de Parcelas ",-1)])]),_:1})])]),_:1}))}}),ru=x(ou,[["__scopeId","data-v-f987763a"]]),iu={class:"bottom-navigation","data-testid":"bottom-navigation","aria-label":"Navegação principal"},su={class:"bottom-navigation__container"},cu={class:"bottom-navigation__links","data-testid":"bottom-navigation-links"},du=["data-testid","aria-current","onClick"],uu={class:"bottom-navigation__label"},mu=e.defineComponent({__name:"BottomNavigation",props:{items:{},currentPath:{default:""}},emits:["navigate"],setup(a,{emit:t}){const n=a,l=t,o=i=>n.currentPath===i;return(i,r)=>(e.openBlock(),e.createElementBlock("nav",iu,[e.createElementVNode("div",su,[e.createElementVNode("div",cu,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.items,s=>(e.openBlock(),e.createElementBlock("button",{key:s.to,type:"button",class:e.normalizeClass(["bottom-navigation__link",{"bottom-navigation__link--active":o(s.to)}]),"data-testid":`bottom-nav-link-${s.icon}`,"aria-current":o(s.to)?"page":void 0,onClick:c=>l("navigate",s.to)},[e.createVNode(e.unref(y),{name:s.icon,variant:"outline",size:"md"},null,8,["name"]),e.createElementVNode("span",uu,e.toDisplayString(s.label),1)],10,du))),128))])])]))}}),hu=x(mu,[["__scopeId","data-v-eb6aafd0"]]),fu={class:"top-navigation__container"},pu={class:"top-navigation__content"},vu={class:"top-navigation__brand","data-testid":"top-navigation-brand"},gu={class:"top-navigation__logo"},_u=["src","alt"],ku={class:"top-navigation__brand-name"},Vu={class:"top-navigation__links","data-testid":"top-navigation-links"},wu=["data-testid","aria-current","onClick"],bu={class:"top-navigation__link-label"},Eu=e.defineComponent({__name:"TopNavigation",props:{items:{},currentPath:{default:""},sticky:{type:Boolean,default:!0},brandName:{default:"Credit UI"},logoUrl:{}},emits:["navigate"],setup(a,{emit:t}){const n=a,l=t,o=i=>n.currentPath===i;return(i,r)=>(e.openBlock(),e.createElementBlock("nav",{class:e.normalizeClass(["top-navigation",{"top-navigation--sticky":a.sticky}]),"data-testid":"top-navigation","aria-label":"Navegação principal"},[e.createElementVNode("div",fu,[e.createElementVNode("div",pu,[e.createElementVNode("div",vu,[e.createElementVNode("div",gu,[a.logoUrl?(e.openBlock(),e.createElementBlock("img",{key:0,src:a.logoUrl,alt:a.brandName,class:"top-navigation__logo-img"},null,8,_u)):(e.openBlock(),e.createBlock(e.unref(y),{key:1,name:"banknotes",variant:"solid",size:"md",class:"top-navigation__logo-icon"}))]),e.createElementVNode("span",ku,e.toDisplayString(a.brandName),1)]),e.createElementVNode("div",Vu,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.items,s=>(e.openBlock(),e.createElementBlock("button",{key:s.to,type:"button",class:e.normalizeClass(["top-navigation__link",{"top-navigation__link--active":o(s.to)}]),"data-testid":`top-nav-link-${s.icon}`,"aria-current":o(s.to)?"page":void 0,onClick:c=>l("navigate",s.to)},[e.createVNode(e.unref(y),{name:s.icon,variant:"outline",size:"sm"},null,8,["name"]),e.createElementVNode("span",bu,e.toDisplayString(s.label),1)],10,wu))),128))])])])],2))}}),yu=x(Eu,[["__scopeId","data-v-3bd0b471"]]),Nu=["aria-current"],xu=e.defineComponent({__name:"SidebarItem",props:{to:{},icon:{},label:{},active:{type:Boolean,default:!1},collapsed:{type:Boolean,default:!1}},emits:["click"],setup(a,{emit:t}){const n=t;return(l,o)=>(e.openBlock(),e.createElementBlock("button",{type:"button",class:e.normalizeClass(["sidebar-item",{"sidebar-item--active":a.active}]),"aria-current":a.active?"page":void 0,onClick:o[0]||(o[0]=i=>n("click",a.to))},[e.createVNode(e.unref(y),{name:a.icon,size:"md",class:e.normalizeClass(["sidebar-item__icon",{"sidebar-item__icon--active":a.active}])},null,8,["name","class"]),a.collapsed?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.unref(T),{key:0,variant:"body",size:"sm",weight:a.active?"medium":"normal",class:e.normalizeClass(["sidebar-item__label",{"sidebar-item__label--active":a.active}])},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.label),1)]),_:1},8,["weight","class"]))],10,Nu))}}),Pe=x(xu,[["__scopeId","data-v-e861f0d9"]]),Bu={class:"sidebar__header"},Cu={key:0,class:"sidebar__brand"},$u=["aria-expanded"],Au={class:"sidebar__nav"},Mu={class:"sidebar__menu"},Su=e.defineComponent({__name:"Sidebar",props:{items:{},currentPath:{default:""},collapsed:{type:Boolean,default:!1},persistState:{type:Boolean,default:!1},storageKey:{default:"sidebar-collapsed"},logoSrc:{}},emits:["update:collapsed","navigate"],setup(a,{emit:t}){const n=a,l=t,o=e.ref(n.collapsed),i=()=>{o.value=!o.value,l("update:collapsed",o.value),n.persistState&&r()},r=()=>{typeof window<"u"&&localStorage.setItem(n.storageKey,String(o.value))},s=()=>{if(typeof window<"u"){const h=localStorage.getItem(n.storageKey);h!==null&&(o.value=h==="true",l("update:collapsed",o.value))}},c=h=>n.currentPath===h,d=h=>{l("navigate",h)};return e.watch(()=>n.collapsed,h=>{o.value=h}),e.onMounted(()=>{n.persistState&&!n.collapsed&&s()}),(h,f)=>(e.openBlock(),e.createElementBlock("aside",{class:e.normalizeClass(["sidebar",{"sidebar--collapsed":o.value}]),"aria-label":"Menu de navegação"},[e.createElementVNode("div",Bu,[o.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",Cu,[a.logoSrc?(e.openBlock(),e.createBlock(e.unref(Q),{key:0,src:a.logoSrc,size:"sm"},null,8,["src"])):e.renderSlot(h.$slots,"logo",{key:1},void 0,!0)])),e.createElementVNode("button",{type:"button","aria-label":"Colapsar menu","aria-expanded":!o.value,class:"sidebar__toggle",onClick:i},[e.createVNode(e.unref(y),{name:o.value?"chevron-right":"chevron-left",size:"md"},null,8,["name"])],8,$u)]),e.createElementVNode("nav",Au,[e.createElementVNode("ul",Mu,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.items,p=>(e.openBlock(),e.createElementBlock("li",{key:p.id},[e.createVNode(Pe,{to:p.to,icon:p.icon,label:p.label,active:c(p.to),collapsed:o.value,onClick:d},null,8,["to","icon","label","active","collapsed"])]))),128))])])],2))}}),Du=x(Su,[["__scopeId","data-v-373729a2"]]),zu={class:"contract-details__section"},Iu={class:"contract-details__header"},Tu={class:"contract-details__title-group"},Lu={class:"contract-details__title"},Pu={class:"contract-details__subtitle"},Fu={class:"contract-details__section"},Zu={class:"contract-details__values-grid"},Ru={class:"contract-details__value-item"},qu={class:"contract-details__value-amount"},Ou={class:"contract-details__value-item"},Uu={class:"contract-details__value-amount"},ju={class:"contract-details__value-item"},Hu={class:"contract-details__value-amount"},Gu={key:0,class:"contract-details__section"},Wu={class:"contract-details__next-installment"},Qu={class:"contract-details__values-grid"},Yu={class:"contract-details__value-item"},Ku={class:"contract-details__value-text"},Ju={class:"contract-details__value-item"},Xu={class:"contract-details__value-text"},e1={class:"contract-details__value-item"},t1={class:"contract-details__value-text"},a1={class:"contract-details__installment-status"},n1={key:1,class:"contract-details__section"},l1={key:2,class:"contract-details__actions"},o1=e.defineComponent({__name:"ContractDetails",props:{contract:{},collapsible:{type:Boolean,default:!1},showActions:{type:Boolean,default:!0}},emits:["download-ccb","download-boleto","view-history"],setup(a,{emit:t}){const n=a,l=t,o={ACTIVE:"ATIVO",PAID:"QUITADO",CANCELLED:"CANCELADO",DEFAULTED:"EM_ATRASO"},i=e.computed(()=>o[n.contract.status]||n.contract.status),r=e.computed(()=>{if(!n.contract.nextInstallment?.dueDate)return null;try{const f=new Date(n.contract.nextInstallment.dueDate);return new Intl.DateTimeFormat("pt-BR",{day:"2-digit",month:"2-digit",year:"numeric"}).format(f)}catch{return null}}),s=e.computed(()=>n.contract.contractedAmount+(n.contract.balanceDue??0));function c(){l("download-ccb",n.contract.id)}function d(){l("download-boleto",n.contract.id)}function h(){l("view-history",n.contract.id)}return(f,p)=>(e.openBlock(),e.createBlock(e.unref(I),{variant:"default",padding:"md",class:"contract-details"},{default:e.withCtx(()=>[e.createElementVNode("div",zu,[e.createElementVNode("div",Iu,[e.createElementVNode("div",Tu,[e.createElementVNode("h3",Lu," Contrato #"+e.toDisplayString(a.contract.contractNumber),1)]),e.createVNode(e.unref(U),{status:i.value,domain:"contract"},null,8,["status"])]),e.createElementVNode("p",Pu,e.toDisplayString(a.contract.installmentsPaid??0)+" de "+e.toDisplayString(a.contract.totalInstallments??0)+" parcelas pagas ",1)]),e.createElementVNode("div",Fu,[p[3]||(p[3]=e.createElementVNode("h4",{class:"contract-details__section-title"},"Valores",-1)),e.createElementVNode("div",Zu,[e.createElementVNode("div",Ru,[p[0]||(p[0]=e.createElementVNode("p",{class:"contract-details__value-label"},"Valor Contratado",-1)),e.createElementVNode("p",qu,[e.createVNode(e.unref(L),{value:a.contract.contractedAmount,size:"md"},null,8,["value"])])]),e.createElementVNode("div",Ou,[p[1]||(p[1]=e.createElementVNode("p",{class:"contract-details__value-label"},"Valor Total",-1)),e.createElementVNode("p",Uu,[e.createVNode(e.unref(L),{value:s.value,size:"md"},null,8,["value"])])]),e.createElementVNode("div",ju,[p[2]||(p[2]=e.createElementVNode("p",{class:"contract-details__value-label"},"Saldo Devedor",-1)),e.createElementVNode("p",Hu,[e.createVNode(e.unref(L),{value:a.contract.balanceDue??0,size:"md"},null,8,["value"])])])])]),a.contract.nextInstallment?(e.openBlock(),e.createElementBlock("div",Gu,[p[8]||(p[8]=e.createElementVNode("h4",{class:"contract-details__section-title"},"Próxima Parcela",-1)),e.createElementVNode("div",Wu,[e.createElementVNode("div",Qu,[e.createElementVNode("div",Yu,[p[4]||(p[4]=e.createElementVNode("p",{class:"contract-details__value-label"},"Parcela",-1)),e.createElementVNode("p",Ku,e.toDisplayString(a.contract.nextInstallment.number)+"/"+e.toDisplayString(a.contract.totalInstallments??0),1)]),e.createElementVNode("div",Ju,[p[5]||(p[5]=e.createElementVNode("p",{class:"contract-details__value-label"},"Valor",-1)),e.createElementVNode("p",Xu,[e.createVNode(e.unref(L),{value:a.contract.nextInstallment.amount,size:"md"},null,8,["value"])])]),e.createElementVNode("div",e1,[p[6]||(p[6]=e.createElementVNode("p",{class:"contract-details__value-label"},"Vencimento",-1)),e.createElementVNode("p",t1,e.toDisplayString(r.value),1)])]),e.createElementVNode("div",a1,[p[7]||(p[7]=e.createElementVNode("p",{class:"contract-details__value-label"},"Status",-1)),e.createVNode(e.unref(U),{status:a.contract.nextInstallment.status,domain:"installment",size:"sm"},null,8,["status"])])])])):(e.openBlock(),e.createElementBlock("div",n1,[...p[9]||(p[9]=[e.createElementVNode("h4",{class:"contract-details__section-title"},"Próxima Parcela",-1),e.createElementVNode("p",{class:"contract-details__empty-text"},"Contrato quitado",-1)])])),a.showActions?(e.openBlock(),e.createElementBlock("div",l1,[e.createVNode(e.unref(C),{variant:"primary",size:"md",block:"",class:"contract-details__action-btn","aria-label":"Baixar CCB do contrato",onClick:c},{default:e.withCtx(()=>[...p[10]||(p[10]=[e.createTextVNode(" Baixar CCB ",-1)])]),_:1}),a.contract.nextInstallment?(e.openBlock(),e.createBlock(e.unref(C),{key:0,variant:"outline",size:"md",block:"",class:"contract-details__action-btn","aria-label":"Baixar boleto da próxima parcela",onClick:d},{default:e.withCtx(()=>[...p[11]||(p[11]=[e.createTextVNode(" Baixar Boleto ",-1)])]),_:1})):e.createCommentVNode("",!0),e.createVNode(e.unref(C),{variant:"outline",size:"md",block:"",class:"contract-details__action-btn","aria-label":"Ver histórico completo de parcelas",onClick:h},{default:e.withCtx(()=>[...p[12]||(p[12]=[e.createTextVNode(" Ver Histórico Completo ",-1)])]),_:1})])):e.createCommentVNode("",!0)]),_:1}))}}),r1=x(o1,[["__scopeId","data-v-28e784ca"]]),i1={class:"installment-history"},s1={key:0,class:"installment-history__state"},c1={key:1,class:"installment-history__state"},d1={class:"installment-history__error"},u1={class:"installment-history__error-message"},m1={key:2,class:"installment-history__state"},h1={key:3,class:"installment-history__content"},f1={class:"installment-history__filters"},p1={class:"installment-history__table-wrapper"},v1={class:"installment-history__table",role:"table","aria-label":"Histórico de Parcelas"},g1={class:"installment-history__table-body"},_1={class:"installment-history__table-cell"},k1={class:"installment-history__table-cell"},V1={class:"installment-history__table-cell"},w1={class:"installment-history__table-cell"},b1={key:0,class:"installment-history__pagination"},E1={class:"installment-history__pagination-text"},y1={class:"installment-history__pagination-controls"},N1={class:"installment-history__pagination-info"},x1=e.defineComponent({__name:"InstallmentHistory",props:{installments:{},loading:{type:Boolean,default:!1},error:{default:null},itemsPerPage:{default:10}},emits:["retry"],setup(a,{emit:t}){const n=a,l=t,o=e.ref("all"),i=e.ref(1);function r(){l("retry")}function s(u){try{const v=new Date(u);return new Intl.DateTimeFormat("pt-BR",{day:"2-digit",month:"2-digit",year:"numeric"}).format(v)}catch{return u}}const c=e.computed(()=>{let u=n.installments;return o.value!=="all"&&(u=u.filter(v=>{const V=v.status;switch(o.value){case"paid":return V==="PAID"||V==="PAID_LATE";case"pending":return V==="PENDING"||V==="PROCESSING";case"overdue":return V==="OVERDUE";default:return!0}})),u}),d=e.computed(()=>[...c.value].sort((u,v)=>{const V=new Date(u.dueDate).getTime(),b=new Date(v.dueDate).getTime();return V-b})),h=e.computed(()=>Math.ceil(d.value.length/n.itemsPerPage)),f=e.computed(()=>{const u=(i.value-1)*n.itemsPerPage,v=u+n.itemsPerPage;return d.value.slice(u,v)}),p=e.computed(()=>{const u=d.value.length;if(u===0)return"Nenhuma parcela encontrada";const v=(i.value-1)*n.itemsPerPage+1,V=Math.min(i.value*n.itemsPerPage,u);return`Mostrando ${v}-${V} de ${u}`});function g(u){o.value=u,i.value=1}function _(){i.value>1&&i.value--}function m(){i.value<h.value&&i.value++}return(u,v)=>(e.openBlock(),e.createElementBlock("div",i1,[v[15]||(v[15]=e.createElementVNode("div",{class:"installment-history__header"},[e.createElementVNode("h2",{class:"installment-history__title"},"Histórico de Parcelas"),e.createElementVNode("p",{class:"installment-history__subtitle"}," Visualize todas as parcelas do contrato ")],-1)),a.loading?(e.openBlock(),e.createElementBlock("div",s1,[e.createVNode(e.unref(q),{size:"lg"}),v[4]||(v[4]=e.createElementVNode("p",{class:"installment-history__state-text"},"Carregando parcelas...",-1))])):a.error?(e.openBlock(),e.createElementBlock("div",c1,[e.createElementVNode("div",d1,[v[6]||(v[6]=e.createElementVNode("p",{class:"installment-history__error-title"}," Erro ao carregar parcelas ",-1)),e.createElementVNode("p",u1,e.toDisplayString(a.error),1),e.createVNode(e.unref(C),{variant:"primary",size:"md",onClick:r},{default:e.withCtx(()=>[...v[5]||(v[5]=[e.createTextVNode(" Tentar novamente ",-1)])]),_:1})])])):!a.loading&&!a.error&&a.installments.length===0?(e.openBlock(),e.createElementBlock("div",m1,[...v[7]||(v[7]=[e.createElementVNode("div",{class:"installment-history__empty"},[e.createElementVNode("p",{class:"installment-history__empty-title"}," Nenhuma parcela encontrada "),e.createElementVNode("p",{class:"installment-history__empty-subtitle"}," Este contrato ainda não possui parcelas cadastradas ")],-1)])])):(e.openBlock(),e.createElementBlock("div",h1,[e.createElementVNode("div",f1,[e.createVNode(e.unref(C),{variant:o.value==="all"?"primary":"outline",size:"sm",onClick:v[0]||(v[0]=V=>g("all"))},{default:e.withCtx(()=>[...v[8]||(v[8]=[e.createTextVNode(" Todas ",-1)])]),_:1},8,["variant"]),e.createVNode(e.unref(C),{variant:o.value==="paid"?"primary":"outline",size:"sm",onClick:v[1]||(v[1]=V=>g("paid"))},{default:e.withCtx(()=>[...v[9]||(v[9]=[e.createTextVNode(" Pagas ",-1)])]),_:1},8,["variant"]),e.createVNode(e.unref(C),{variant:o.value==="pending"?"primary":"outline",size:"sm",onClick:v[2]||(v[2]=V=>g("pending"))},{default:e.withCtx(()=>[...v[10]||(v[10]=[e.createTextVNode(" Pendentes ",-1)])]),_:1},8,["variant"]),e.createVNode(e.unref(C),{variant:o.value==="overdue"?"primary":"outline",size:"sm",onClick:v[3]||(v[3]=V=>g("overdue"))},{default:e.withCtx(()=>[...v[11]||(v[11]=[e.createTextVNode(" Atrasadas ",-1)])]),_:1},8,["variant"])]),e.createElementVNode("div",p1,[e.createElementVNode("table",v1,[v[12]||(v[12]=e.createElementVNode("thead",null,[e.createElementVNode("tr",{class:"installment-history__table-header-row"},[e.createElementVNode("th",{class:"installment-history__table-header",scope:"col"}," Nº Parcela "),e.createElementVNode("th",{class:"installment-history__table-header",scope:"col"}," Vencimento "),e.createElementVNode("th",{class:"installment-history__table-header",scope:"col"}," Valor "),e.createElementVNode("th",{class:"installment-history__table-header",scope:"col"}," Status ")])],-1)),e.createElementVNode("tbody",g1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.value,V=>(e.openBlock(),e.createElementBlock("tr",{key:V.number,class:"installment-history__table-row"},[e.createElementVNode("td",_1,e.toDisplayString(V.number),1),e.createElementVNode("td",k1,e.toDisplayString(s(V.dueDate)),1),e.createElementVNode("td",V1,[e.createVNode(e.unref(L),{value:V.amount,size:"sm"},null,8,["value"])]),e.createElementVNode("td",w1,[e.createVNode(e.unref(U),{status:V.status,domain:"installment",size:"sm"},null,8,["status"])])]))),128))])])]),h.value>1?(e.openBlock(),e.createElementBlock("div",b1,[e.createElementVNode("p",E1,e.toDisplayString(p.value),1),e.createElementVNode("div",y1,[e.createVNode(e.unref(C),{variant:"outline",size:"sm",disabled:i.value===1,onClick:_},{default:e.withCtx(()=>[...v[13]||(v[13]=[e.createTextVNode(" Anterior ",-1)])]),_:1},8,["disabled"]),e.createElementVNode("span",N1," Página "+e.toDisplayString(i.value)+" de "+e.toDisplayString(h.value),1),e.createVNode(e.unref(C),{variant:"outline",size:"sm",disabled:i.value===h.value,onClick:m},{default:e.withCtx(()=>[...v[14]||(v[14]=[e.createTextVNode(" Próxima ",-1)])]),_:1},8,["disabled"])])])):e.createCommentVNode("",!0)]))]))}}),B1=x(x1,[["__scopeId","data-v-f21aaa33"]]),C1={class:"document-upload-section"},$1={class:"document-upload-section__uploads"},A1={class:"document-upload-section__status"},M1={role:"list","aria-label":"Lista de documentos e seus status",class:"document-upload-section__status-list"},S1={class:"document-upload-section__status-icon-group"},D1={class:"document-upload-section__status-info"},z1={class:"document-upload-section__status-label"},I1={key:0,class:"document-upload-section__required","aria-label":"Obrigatório"},T1={key:0,class:"document-upload-section__error",role:"alert"},L1={key:0,class:"document-upload-section__preview"},P1={class:"document-upload-section__preview-list"},F1={class:"document-upload-section__preview-label"},Z1={class:"document-upload-section__preview-files"},R1={key:1,class:"document-upload-section__actions"},q1=e.defineComponent({__name:"DocumentUploadSection",props:{documents:{},disabled:{type:Boolean,default:!1},showPreview:{type:Boolean,default:!1},hideContinueButton:{type:Boolean,default:!1}},emits:["complete","document-uploaded","document-removed","error"],setup(a,{emit:t}){const n=a,l=t,o=e.ref([]);function i(){o.value=n.documents.map(_=>({id:_.id,status:"pending",files:[]}))}e.watch(()=>n.documents,()=>{i()},{immediate:!0});const r=e.computed(()=>n.documents.filter(m=>m.required).every(m=>{const u=o.value.find(v=>v.id===m.id);return u?.status==="uploaded"||u?.status==="approved"})),s=e.computed(()=>n.documents.map(_=>{const m=o.value.find(u=>u.id===_.id);return{..._,status:m?.status??"pending",files:m?.files??[],error:m?.error}}));function c(_){let m=o.value.find(u=>u.id===_);return m||(m={id:_,status:"pending",files:[]},o.value.push(m)),m}function d(_,m){const u=o.value.findIndex(V=>V.id===_);if(u===-1)return;const v=r.value;o.value[u]={...o.value[u],status:m.length>0?"uploaded":"pending",files:[...m],error:void 0},m.length>0?l("document-uploaded",_,m):l("document-removed",_),r.value&&!v&&l("complete",o.value)}function h(_,m){const u=o.value.findIndex(v=>v.id===_);u!==-1&&(o.value[u]={...o.value[u],status:"rejected",error:m.message},l("error",{documentId:_,message:m.message}))}function f(_,m){const u=o.value.findIndex(b=>b.id===_);if(u===-1)return;const v=o.value[u],V=v.files.filter(b=>b!==m);o.value[u]={...v,status:V.length>0?"uploaded":"pending",files:V,error:void 0},V.length===0?l("document-removed",_):l("document-uploaded",_,V)}function p(){r.value&&l("complete",o.value)}const g={pending:"Pendente",uploaded:"Enviado",approved:"Aprovado",rejected:"Rejeitado"};return(_,m)=>(e.openBlock(),e.createElementBlock("div",C1,[e.createElementVNode("div",$1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value,u=>(e.openBlock(),e.createBlock(e.unref(De),{key:u.id,"model-value":c(u.id).files,accept:u.accept,"max-size":u.maxSize,"max-files":u.maxFiles,multiple:(u.maxFiles??1)>1,disabled:n.disabled,label:u.label,"onUpdate:modelValue":v=>d(u.id,v),onFilesSelected:v=>d(u.id,v),onError:v=>h(u.id,v)},null,8,["model-value","accept","max-size","max-files","multiple","disabled","label","onUpdate:modelValue","onFilesSelected","onError"]))),128))]),e.createElementVNode("div",A1,[m[0]||(m[0]=e.createElementVNode("h3",{class:"document-upload-section__status-title"},"Status dos Documentos",-1)),e.createElementVNode("ul",M1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value,u=>(e.openBlock(),e.createElementBlock("li",{key:u.id,class:"document-upload-section__status-item"},[e.createElementVNode("div",S1,[e.createElementVNode("div",{class:e.normalizeClass(["document-upload-section__status-icon",`document-upload-section__status-icon--${u.status}`])},[u.status==="pending"?(e.openBlock(),e.createBlock(e.unref(y),{key:0,name:"clock",size:"sm"})):u.status==="uploaded"?(e.openBlock(),e.createBlock(e.unref(y),{key:1,name:"arrow-up",size:"sm"})):u.status==="approved"?(e.openBlock(),e.createBlock(e.unref(y),{key:2,name:"check-circle",size:"sm"})):u.status==="rejected"?(e.openBlock(),e.createBlock(e.unref(y),{key:3,name:"exclamation-circle",size:"sm"})):e.createCommentVNode("",!0)],2),e.createElementVNode("div",D1,[e.createElementVNode("p",z1,[e.createTextVNode(e.toDisplayString(u.label)+" ",1),u.required?(e.openBlock(),e.createElementBlock("span",I1," * ")):e.createCommentVNode("",!0)]),e.createElementVNode("p",{class:e.normalizeClass(["document-upload-section__status-text",`document-upload-section__status-text--${u.status}`])},e.toDisplayString(g[u.status]),3)])]),u.error?(e.openBlock(),e.createElementBlock("div",T1,e.toDisplayString(u.error),1)):e.createCommentVNode("",!0)]))),128))])]),a.showPreview?(e.openBlock(),e.createElementBlock("div",L1,[m[1]||(m[1]=e.createElementVNode("h3",{class:"document-upload-section__preview-title"},"Arquivos Enviados",-1)),e.createElementVNode("div",P1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value.filter(u=>u.files.length>0),u=>(e.openBlock(),e.createElementBlock("div",{key:`preview-${u.id}`,class:"document-upload-section__preview-group"},[e.createElementVNode("p",F1,e.toDisplayString(u.label),1),e.createElementVNode("div",Z1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u.files,(v,V)=>(e.openBlock(),e.createBlock(e.unref(ze),{key:`${u.id}-${V}`,file:v,"show-actions":!0,compact:!1,onRemove:()=>f(u.id,v)},null,8,["file","onRemove"]))),128))])]))),128))])])):e.createCommentVNode("",!0),a.hideContinueButton?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",R1,[e.createVNode(e.unref(C),{variant:"primary",size:"md",disabled:!r.value||n.disabled,onClick:p},{default:e.withCtx(()=>[...m[2]||(m[2]=[e.createTextVNode(" Continuar ",-1)])]),_:1},8,["disabled"])]))]))}}),O1=x(q1,[["__scopeId","data-v-23d08488"]]),U1={key:0,class:"term-modal__content"},j1={class:"term-modal__info-box"},H1={key:1,class:"term-modal__content"},G1={key:2,class:"term-modal__content"},W1={key:3,class:"term-modal__content term-modal__content--empty"},Q1={class:"term-modal__text"},Y1=e.defineComponent({__name:"TermModal",props:{open:{type:Boolean},term:{}},emits:["close"],setup(a,{emit:t}){const n=a,l=t,o=e.computed(()=>n.term?.label||"Termo Legal");return(i,r)=>(e.openBlock(),e.createBlock(e.unref(le),{open:a.open,title:o.value,onClose:r[0]||(r[0]=s=>l("close"))},{default:e.withCtx(()=>[a.term?.type==="scr"?(e.openBlock(),e.createElementBlock("div",U1,[r[2]||(r[2]=e.createElementVNode("h3",{class:"term-modal__section-title"}," Autorização para Consulta de Informações ",-1)),r[3]||(r[3]=e.createElementVNode("p",{class:"term-modal__text"},[e.createTextVNode(" Declaro estar ciente e autorizo expressamente a consulta de minhas informações junto ao "),e.createElementVNode("strong",null,"Sistema de Informações de Crédito (SCR)"),e.createTextVNode(" do Banco Central do Brasil e ao "),e.createElementVNode("strong",null,"Dataprev"),e.createTextVNode(", para fins de: ")],-1)),r[4]||(r[4]=e.createElementVNode("ul",{class:"term-modal__list"},[e.createElementVNode("li",null,"Verificação da margem consignável disponível"),e.createElementVNode("li",null,"Análise de viabilidade de crédito consignado"),e.createElementVNode("li",null,"Simulação de condições de empréstimo"),e.createElementVNode("li",null,"Processamento da solicitação de crédito")],-1)),r[5]||(r[5]=e.createElementVNode("h3",{class:"term-modal__section-title"}," Dados Consultados ",-1)),r[6]||(r[6]=e.createElementVNode("p",{class:"term-modal__text"}," Serão consultados os seguintes dados junto ao Dataprev: ",-1)),r[7]||(r[7]=e.createElementVNode("ul",{class:"term-modal__list"},[e.createElementVNode("li",null,"Margem consignável disponível"),e.createElementVNode("li",null,"Renda bruta mensal"),e.createElementVNode("li",null,"Comprometimento atual de margem consignável"),e.createElementVNode("li",null,"Situação cadastral junto ao INSS")],-1)),r[8]||(r[8]=e.createElementVNode("h3",{class:"term-modal__section-title"}," Proteção de Dados e LGPD ",-1)),r[9]||(r[9]=e.createElementVNode("p",{class:"term-modal__text"},[e.createTextVNode(" Esta autorização é concedida em conformidade com a "),e.createElementVNode("strong",null,"Lei Geral de Proteção de Dados (LGPD - Lei nº 13.709/2018)"),e.createTextVNode(" e garante que: ")],-1)),r[10]||(r[10]=e.createElementVNode("ul",{class:"term-modal__list"},[e.createElementVNode("li",null,[e.createTextVNode("Seus dados serão utilizados "),e.createElementVNode("strong",null,"exclusivamente"),e.createTextVNode(" para a finalidade declarada")]),e.createElementVNode("li",null,[e.createTextVNode("As informações coletadas serão armazenadas com "),e.createElementVNode("strong",null,"segurança")]),e.createElementVNode("li",null,[e.createTextVNode("Você pode "),e.createElementVNode("strong",null,"revogar"),e.createTextVNode(" esta autorização a qualquer momento")]),e.createElementVNode("li",null,"Não compartilharemos seus dados com terceiros sem seu consentimento")],-1)),r[11]||(r[11]=e.createElementVNode("h3",{class:"term-modal__section-title"}," Validade e Revogação ",-1)),r[12]||(r[12]=e.createElementVNode("p",{class:"term-modal__text"},[e.createTextVNode(" Esta autorização é válida por "),e.createElementVNode("strong",null,"24 horas"),e.createTextVNode(" a partir da aceitação e pode ser revogada a qualquer momento. ")],-1)),e.createElementVNode("div",j1,[e.createVNode(e.unref(y),{name:"shield-check",size:"md",class:"term-modal__info-icon"}),r[1]||(r[1]=e.createElementVNode("div",null,[e.createElementVNode("p",{class:"term-modal__info-title"},"Segurança Garantida"),e.createElementVNode("p",{class:"term-modal__info-text"}," Seus dados estão protegidos por criptografia de ponta a ponta e não serão armazenados permanentemente após o processamento. ")],-1))])])):a.term?.type==="lgpd"?(e.openBlock(),e.createElementBlock("div",H1,[...r[13]||(r[13]=[e.createElementVNode("h3",{class:"term-modal__section-title"},"1. Introdução",-1),e.createElementVNode("p",{class:"term-modal__text"}," Respeitamos sua privacidade e estamos comprometidos em proteger seus dados pessoais de acordo com a Lei Geral de Proteção de Dados (LGPD - Lei nº 13.709/2018). ",-1),e.createElementVNode("h3",{class:"term-modal__section-title"},"2. Dados Coletados",-1),e.createElementVNode("ul",{class:"term-modal__list"},[e.createElementVNode("li",null,[e.createElementVNode("strong",null,"Dados de Identificação"),e.createTextVNode(": CPF, nome completo, data de nascimento")]),e.createElementVNode("li",null,[e.createElementVNode("strong",null,"Dados de Contato"),e.createTextVNode(": e-mail, telefone")]),e.createElementVNode("li",null,[e.createElementVNode("strong",null,"Dados Financeiros"),e.createTextVNode(": informações para análise de crédito")]),e.createElementVNode("li",null,[e.createElementVNode("strong",null,"Dados de Navegação"),e.createTextVNode(": IP, cookies, histórico de navegação")])],-1),e.createElementVNode("h3",{class:"term-modal__section-title"},"3. Finalidade do Uso",-1),e.createElementVNode("ul",{class:"term-modal__list"},[e.createElementVNode("li",null,"Processar sua solicitação de crédito"),e.createElementVNode("li",null,"Realizar análise de crédito e viabilidade"),e.createElementVNode("li",null,"Prestar serviços de crédito consignado"),e.createElementVNode("li",null,"Cumprir obrigações legais e regulatórias"),e.createElementVNode("li",null,"Melhorar nossos serviços")],-1),e.createElementVNode("h3",{class:"term-modal__section-title"},"4. Seus Direitos",-1),e.createElementVNode("ul",{class:"term-modal__list"},[e.createElementVNode("li",null,"Acessar seus dados pessoais"),e.createElementVNode("li",null,"Corrigir dados incompletos ou inexatos"),e.createElementVNode("li",null,"Solicitar anonimização ou exclusão de dados"),e.createElementVNode("li",null,"Revogar consentimento a qualquer momento"),e.createElementVNode("li",null,"Portabilidade de dados")],-1),e.createElementVNode("h3",{class:"term-modal__section-title"},"5. Segurança",-1),e.createElementVNode("p",{class:"term-modal__text"}," Implementamos medidas técnicas e organizacionais para proteger seus dados contra acesso não autorizado, alteração, divulgação ou destruição. ",-1)])])):a.term?.type==="termos-uso"?(e.openBlock(),e.createElementBlock("div",G1,[...r[14]||(r[14]=[e.createElementVNode("h3",{class:"term-modal__section-title"},"1. Aceitação dos Termos",-1),e.createElementVNode("p",{class:"term-modal__text"}," Ao acessar e utilizar os serviços, você concorda em cumprir e estar vinculado a estes Termos de Uso. ",-1),e.createElementVNode("h3",{class:"term-modal__section-title"},"2. Serviços Oferecidos",-1),e.createElementVNode("ul",{class:"term-modal__list"},[e.createElementVNode("li",null,"Simulação de crédito consignado"),e.createElementVNode("li",null,"Análise de viabilidade financeira"),e.createElementVNode("li",null,"Intermediação de crédito consignado"),e.createElementVNode("li",null,"Gestão de propostas de crédito")],-1),e.createElementVNode("h3",{class:"term-modal__section-title"},"3. Elegibilidade",-1),e.createElementVNode("ul",{class:"term-modal__list"},[e.createElementVNode("li",null,"Ser maior de 18 anos"),e.createElementVNode("li",null,"Possuir CPF válido"),e.createElementVNode("li",null,"Estar devidamente cadastrado no sistema"),e.createElementVNode("li",null,"Fornecer informações verdadeiras e atualizadas")],-1),e.createElementVNode("h3",{class:"term-modal__section-title"},"4. Responsabilidades do Usuário",-1),e.createElementVNode("ul",{class:"term-modal__list"},[e.createElementVNode("li",null,"Fornecer informações verdadeiras e precisas"),e.createElementVNode("li",null,"Manter a confidencialidade de suas credenciais"),e.createElementVNode("li",null,"Utilizar o serviço de forma legal e adequada"),e.createElementVNode("li",null,"Não tentar burlar ou fraudar o sistema")],-1),e.createElementVNode("h3",{class:"term-modal__section-title"},"5. Lei Aplicável",-1),e.createElementVNode("p",{class:"term-modal__text"}," Estes termos são regidos pela legislação brasileira. ",-1)])])):(e.openBlock(),e.createElementBlock("div",W1,[e.createElementVNode("p",Q1," Este é o termo de "+e.toDisplayString(a.term?.label||"uso")+". ",1),r[15]||(r[15]=e.createElementVNode("p",{class:"term-modal__text"}," Por favor, leia atentamente todas as condições antes de aceitar. ",-1))]))]),_:1},8,["open","title"]))}}),Fe=x(Y1,[["__scopeId","data-v-24fe7f2e"]]),K1={class:"consent-form"},J1={class:"consent-form__terms"},X1=["disabled","onClick"],e0=e.defineComponent({__name:"ConsentForm",props:{terms:{},loading:{type:Boolean,default:!1}},emits:["update:isValid"],setup(a,{expose:t,emit:n}){const l=a,o=n,i=e.ref(new Set),r=e.ref(null),s=e.computed(()=>r.value&&l.terms.find(g=>g.id===r.value)||null),c=e.computed(()=>{const g=l.terms.filter(_=>_.required!==!1);return g.length>0&&g.every(_=>i.value.has(_.id))});function d(g){i.value.has(g)?i.value.delete(g):i.value.add(g),o("update:isValid",c.value)}function h(g){r.value=g}function f(){r.value=null}function p(){return l.terms.filter(g=>i.value.has(g.id)).map(g=>({id:g.id,type:g.type,acceptedAt:new Date}))}return e.watch(c,g=>{o("update:isValid",g)},{immediate:!0}),t({get isFormValid(){return c.value},getAcceptedTerms:p}),(g,_)=>(e.openBlock(),e.createElementBlock("div",K1,[e.createElementVNode("div",J1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.terms,m=>(e.openBlock(),e.createElementBlock("div",{key:m.id,class:"consent-form__term"},[e.createVNode(e.unref(Be),{"model-value":i.value.has(m.id),label:`Aceito ${m.label}`,required:m.required!==!1,disabled:a.loading,"onUpdate:modelValue":u=>d(m.id)},null,8,["model-value","label","required","disabled","onUpdate:modelValue"]),e.createElementVNode("button",{type:"button",class:"consent-form__read-link",disabled:a.loading,onClick:u=>h(m.id)}," Ler termo completo ",8,X1)]))),128))]),e.createVNode(Fe,{open:r.value!==null,term:s.value,onClose:f},null,8,["open","term"])]))}}),t0=x(e0,[["__scopeId","data-v-8788e6e7"]]),a0={class:"profile-form__avatar-section"},n0={class:"profile-form__avatar-upload"},l0={for:"avatar-input",class:"profile-form__avatar-label"},o0=["disabled"],r0={key:0,class:"profile-form__avatar-error",role:"alert"},i0={class:"profile-form__fields"},s0={key:0,class:"profile-form__error",role:"alert"},c0={class:"profile-form__actions"},d0=e.defineComponent({__name:"ProfileForm",props:{initialData:{},loading:{type:Boolean,default:!1},errors:{},errorMessage:{default:""}},emits:["save","cancel","field-blur"],setup(a,{emit:t}){const n=a,l=t,o=e.ref(""),i=e.ref(""),r=e.ref(""),s=e.ref(""),c=e.ref(null),d=e.ref(null),h=e.computed(()=>d.value?d.value:n.initialData?.avatarUrl),f=e.computed(()=>o.value||n.initialData?.name||"Usuário");function p(u){const v=u==="name"?o.value:u==="email"?i.value:u==="phone"?r.value:s.value;l("field-blur",u,v)}function g(u){const V=u.target.files?.[0];if(!V||!["image/jpeg","image/png","image/jpg"].includes(V.type))return;const k=2*1024*1024;V.size>k||(c.value=V,d.value&&URL.revokeObjectURL(d.value),d.value=URL.createObjectURL(V))}function _(){l("save",{name:o.value,email:i.value,phone:r.value,address:s.value,avatarFile:c.value||void 0})}function m(){o.value=n.initialData?.name||"",i.value=n.initialData?.email||"",r.value=n.initialData?.phone||"",s.value=n.initialData?.address||"",c.value=null,d.value&&(URL.revokeObjectURL(d.value),d.value=null),l("cancel")}return e.watch(()=>n.initialData,u=>{u&&(o.value=u.name||"",i.value=u.email||"",r.value=u.phone||"",s.value=u.address||"")},{immediate:!0}),e.onUnmounted(()=>{d.value&&URL.revokeObjectURL(d.value)}),(u,v)=>(e.openBlock(),e.createElementBlock("form",{class:"profile-form",onSubmit:e.withModifiers(_,["prevent"])},[e.createElementVNode("div",a0,[e.createVNode(e.unref(H),{src:h.value,name:f.value,size:"lg",class:"profile-form__avatar"},null,8,["src","name"]),e.createElementVNode("div",n0,[e.createElementVNode("label",l0,[e.createElementVNode("input",{id:"avatar-input",type:"file",accept:"image/jpeg,image/png,image/jpg",class:"profile-form__avatar-input",disabled:a.loading,"aria-label":"Alterar foto de perfil","aria-describedby":"avatar-hint",onChange:g},null,40,o0),v[8]||(v[8]=e.createElementVNode("span",{class:"profile-form__avatar-button"}," Alterar foto ",-1))]),v[9]||(v[9]=e.createElementVNode("span",{id:"avatar-hint",class:"sr-only"}," Selecione uma imagem JPG ou PNG com no máximo 2MB ",-1)),a.errors?.avatar?(e.openBlock(),e.createElementBlock("p",r0,e.toDisplayString(a.errors.avatar),1)):e.createCommentVNode("",!0)])]),e.createElementVNode("div",i0,[e.createVNode(e.unref(j),{label:"Nome completo",error:a.errors?.name,required:""},{default:e.withCtx(({id:V,ariaInvalid:b,ariaDescribedby:k,ariaRequired:w})=>[e.createVNode(e.unref(Z),{id:V,modelValue:o.value,"onUpdate:modelValue":v[0]||(v[0]=E=>o.value=E),type:"text",placeholder:"Digite seu nome completo","has-error":!!a.errors?.name,disabled:a.loading,"aria-invalid":b,"aria-describedby":k,"aria-required":w,maxlength:100,autocomplete:"name",onBlur:v[1]||(v[1]=E=>p("name"))},null,8,["id","modelValue","has-error","disabled","aria-invalid","aria-describedby","aria-required"])]),_:1},8,["error"]),e.createVNode(e.unref(j),{label:"E-mail",error:a.errors?.email,required:""},{default:e.withCtx(({id:V,ariaInvalid:b,ariaDescribedby:k,ariaRequired:w})=>[e.createVNode(e.unref(Z),{id:V,modelValue:i.value,"onUpdate:modelValue":v[2]||(v[2]=E=>i.value=E),type:"email",placeholder:"Digite seu e-mail","has-error":!!a.errors?.email,disabled:a.loading,"aria-invalid":b,"aria-describedby":k,"aria-required":w,autocomplete:"email",onBlur:v[3]||(v[3]=E=>p("email"))},null,8,["id","modelValue","has-error","disabled","aria-invalid","aria-describedby","aria-required"])]),_:1},8,["error"]),e.createVNode(e.unref(j),{label:"Telefone",error:a.errors?.phone,hint:"Digite apenas números",required:""},{default:e.withCtx(({id:V,ariaInvalid:b,ariaDescribedby:k,ariaRequired:w})=>[e.createVNode(e.unref(Z),{id:V,modelValue:r.value,"onUpdate:modelValue":v[4]||(v[4]=E=>r.value=E),type:"tel",placeholder:"(00) 00000-0000","has-error":!!a.errors?.phone,disabled:a.loading,"aria-invalid":b,"aria-describedby":k,"aria-required":w,inputmode:"numeric",autocomplete:"tel",onBlur:v[5]||(v[5]=E=>p("phone"))},null,8,["id","modelValue","has-error","disabled","aria-invalid","aria-describedby","aria-required"])]),_:1},8,["error"]),e.createVNode(e.unref(j),{label:"Endereço",error:a.errors?.address,required:""},{default:e.withCtx(({id:V,ariaInvalid:b,ariaDescribedby:k,ariaRequired:w})=>[e.createVNode(e.unref(Z),{id:V,modelValue:s.value,"onUpdate:modelValue":v[6]||(v[6]=E=>s.value=E),type:"text",placeholder:"Digite seu endereço completo","has-error":!!a.errors?.address,disabled:a.loading,"aria-invalid":b,"aria-describedby":k,"aria-required":w,autocomplete:"street-address",onBlur:v[7]||(v[7]=E=>p("address"))},null,8,["id","modelValue","has-error","disabled","aria-invalid","aria-describedby","aria-required"])]),_:1},8,["error"])]),a.errorMessage?(e.openBlock(),e.createElementBlock("div",s0,e.toDisplayString(a.errorMessage),1)):e.createCommentVNode("",!0),e.createElementVNode("div",c0,[e.createVNode(e.unref(C),{type:"button",variant:"outline",disabled:a.loading,onClick:m},{default:e.withCtx(()=>[...v[10]||(v[10]=[e.createTextVNode(" Cancelar ",-1)])]),_:1},8,["disabled"]),e.createVNode(e.unref(C),{type:"submit",variant:"primary",loading:a.loading,disabled:a.loading},{default:e.withCtx(()=>[...v[11]||(v[11]=[e.createTextVNode(" Salvar ",-1)])]),_:1},8,["loading","disabled"])])],32))}}),u0=x(d0,[["__scopeId","data-v-80374650"]]),m0={class:"form-layout"},h0={class:"form-layout__container"},f0={class:"form-layout__header"},p0={class:"form-layout__title"},v0={key:0,class:"form-layout__subtitle"},g0={key:0,class:"form-layout__stepper"},_0={class:"form-layout__content"},k0={key:2,class:"form-layout__footer"},V0={class:"form-layout__security"},w0=e.defineComponent({__name:"FormLayout",props:{title:{},subtitle:{default:""},steps:{},currentStep:{},backLabel:{default:"Voltar"},nextLabel:{default:"Continuar"},loading:{type:Boolean,default:!1},nextDisabled:{type:Boolean,default:!1},hideBack:{type:Boolean,default:!1},showSecurityFooter:{type:Boolean,default:!0},hideButtons:{type:Boolean,default:!1}},emits:["back","next"],setup(a,{emit:t}){const n=t;function l(){n("back")}function o(){n("next")}return(i,r)=>(e.openBlock(),e.createElementBlock("div",m0,[e.createElementVNode("div",h0,[e.createElementVNode("div",f0,[e.createElementVNode("h1",p0,e.toDisplayString(a.title),1),a.subtitle?(e.openBlock(),e.createElementBlock("p",v0,e.toDisplayString(a.subtitle),1)):e.createCommentVNode("",!0)]),a.steps.length>0?(e.openBlock(),e.createElementBlock("div",g0,[e.createVNode(e.unref(Le),{"current-step":a.currentStep,steps:a.steps},null,8,["current-step","steps"])])):e.createCommentVNode("",!0),e.createElementVNode("div",_0,[e.renderSlot(i.$slots,"default",{},void 0,!0)]),a.hideButtons?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["form-layout__buttons",{"form-layout__buttons--end":a.hideBack}])},[a.hideBack?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.unref(C),{key:0,type:"button",variant:"outline",size:"lg",class:"form-layout__button","aria-label":"Voltar para etapa anterior",onClick:l},{"leading-icon":e.withCtx(()=>[e.createVNode(e.unref(y),{name:"arrow-left",size:20})]),default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(a.backLabel),1)]),_:1})),e.createVNode(e.unref(C),{type:"button",variant:"primary",size:"lg",class:"form-layout__button",loading:a.loading,disabled:a.nextDisabled||a.loading,"aria-label":"Avançar para próxima etapa",onClick:o},{"trailing-icon":e.withCtx(()=>[a.loading?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.unref(y),{key:0,name:"arrow-right",size:20}))]),default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(a.nextLabel),1)]),_:1},8,["loading","disabled"])],2)),a.showSecurityFooter?(e.openBlock(),e.createElementBlock("div",k0,[e.createElementVNode("div",V0,[e.createVNode(e.unref(y),{name:"shield-check",size:16,class:"form-layout__security-icon"}),r[0]||(r[0]=e.createElementVNode("p",{class:"form-layout__security-text"}," Seus dados estão protegidos e não serão compartilhados sem seu consentimento. ",-1))])])):e.createCommentVNode("",!0)])]))}}),b0=x(w0,[["__scopeId","data-v-0dc56d13"]]);function E0(a){const t=typeof window<"u",n=e.ref(a||{}),l=e.ref(!1),o=e.computed(()=>P.mergeTheme(n.value)),i=e.computed(()=>o.value.colors),r=e.computed(()=>o.value.fonts);function s(u){return o.value.colors[u]}function c(u){return o.value.fonts[u]}function d(u){if(!t)return"";const v=u.startsWith("--")?u:`--${u}`;return P.getCSSVariable(v)}function h(u){if(!t){const v=u.startsWith("--")?u.slice(2):u;return f(v)}return d(u)}function f(u){const v=u.split("-");if(v.length<2)return"";const V=v[0],b=v.slice(1).join("-");switch(V){case"color":{const k=y0(b);return o.value.colors[k]||""}case"font":if(v[1]==="family"){const k=v[2];return o.value.fonts[k]||""}return"";case"spacing":return b in o.value.spacing&&o.value.spacing[b]||"";case"radius":return b in o.value.radius&&o.value.radius[b]||"";default:return""}}function p(u){n.value=u,t&&P.injectThemeCSS(o.value)}function g(){n.value={},t&&P.injectThemeCSS(P.defaultTokens)}function _(u){return o.value.spacing[u]}function m(u){return o.value.radius[u]}return e.onMounted(()=>{a&&t&&P.injectThemeCSS(o.value),l.value=!0}),{tokens:o,colors:i,fonts:r,isReady:l,currentConfig:n,getColor:s,getFont:c,getToken:d,getCSSToken:h,getSpacing:_,getRadius:m,applyTheme:p,resetTheme:g}}function y0(a){return a.replace(/-([a-z])/g,(t,n)=>n.toUpperCase())}const N0="0.0.1-alpha";exports.defaultColors=P.defaultColors;exports.defaultFonts=P.defaultFonts;exports.defaultTokens=P.defaultTokens;exports.generateCSSString=P.generateCSSString;exports.injectThemeCSS=P.injectThemeCSS;exports.mergeTheme=P.mergeTheme;exports.ActionButton=to;exports.Alert=O;exports.AnalysisStatus=fo;exports.AuthLayout=ls;exports.Avatar=H;exports.Badge=K;exports.BottomNavigation=hu;exports.Button=C;exports.Card=I;exports.Checkbox=Be;exports.ConsentForm=t0;exports.ContractCard=ru;exports.ContractDetails=r1;exports.ContractPaidCelebration=xo;exports.CreatePasswordForm=rs;exports.CurrencyDisplay=L;exports.DashboardHeader=ps;exports.Divider=rt;exports.DocumentUpload=De;exports.DocumentUploadSection=O1;exports.FilePreview=ze;exports.Footer=As;exports.ForgotPasswordForm=Is;exports.FormField=j;exports.FormLayout=b0;exports.GradientMesh=za;exports.Header=Js;exports.Icon=y;exports.IdentifierInput=Ie;exports.InfoCard=ir;exports.Input=Z;exports.InputRangeMoney=hr;exports.InstallmentCard=Nr;exports.InstallmentHistory=B1;exports.InstallmentSelector=zr;exports.Label=Se;exports.LoginForm=ac;exports.Logo=Q;exports.ManualInputModal=gc;exports.MarginIndicator=Wr;exports.Modal=le;exports.OfferCard=Gc;exports.PasswordInput=G;exports.PendingProposalBanner=hi;exports.PinInput=_i;exports.ProfileForm=u0;exports.ProgressBar=Te;exports.QuickActions=Xc;exports.ResetPasswordForm=td;exports.SCRConsentModal=id;exports.SearchBar=Ci;exports.Sidebar=Du;exports.SidebarItem=Pe;exports.SimulationLoading=Ii;exports.SimulationResult=Ld;exports.Spinner=q;exports.StatusBadge=U;exports.StepperProgress=Le;exports.TermModal=Fe;exports.TopNavigation=yu;exports.Typography=T;exports.WelcomeCard=Wi;exports.useTheme=E0;exports.version=N0;